This repository has been archived by the owner on Dec 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 96
/
Image.xml
106 lines (106 loc) · 7.05 KB
/
Image.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?xml version="1.0" encoding="utf-8" ?>
<widget id="com.mendix.widget.web.image.Image" needsEntityContext="false" offlineCapable="true" xmlns="http://www.mendix.com/widget/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mendix.com/widget/1.0/ ../../../node_modules/mendix/custom_widget.xsd" pluginWidget="true">
<name>Image viewer</name>
<description>Display an image and enlarge it on click.</description>
<icon>iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABnlBMVEUAAAD///+A//9V//+Av/9mzP9gv/9Vxv9Ns/9duf9Vv/9Osf9Jtv9Vu/9Qv/9LtP9RvP9Jtv9Osf9Ktf9Ms/9Puf9Ns/9Ktf9Ms/hKtfhOsfhNs/lLtPlLtPlKtflIsflMs/pJsfpNs/pIsvpKsPpLtPtKsftJsvtJsvdJs/hLtPhKsfhJsvhXV1dLsflKsvlKsvlKsvlKsvpKsvdKs/dJsfdIsvhKsPhJsfhKsPhJsvhKsfhIsPlKsflJsPlKsflIsflJsvdKsvdJsfhJsPhJsfhKsvhIsvhJsfhIsPhKsfhJsvlJsfdJsfdIsPdKsfdJsfdJsfdIsfdIsfhIsfhIsfhJsfhJsfhIsPhJsPhIsfhJsfdJsfdJsfdJsfdIsPdJsfdJsPhIsfhJsfhIsfhJsfhIsfhJsfhJsPhJsfhJsfhIsfhIsPhJsfdIsPdJsPdVVVVJsfdJsfdJsfdIsPdJsfdIsPdIsPdJsfhJsPhIsPhJsfhIsPhIsfhJsfhJsPhIsfhJsfhJsPhIsPhIsfhJsPhJsPhIsfhIsPdVVVU8lPiOAAAAiHRSTlMAAQIDBAUICQoLDA0ODxARExUXGBsdHh8lJicoKSwtLi8xMjU3PT4/QkZHSElJUlNWWV1gZGVqa2xucHV4eXt8f4SHiYuMjpGTm5yeoKGio6SnqaqtsbO2uLm+wMHEyMnLzM3O0NHU1dba3d7f4eLj4+Tn6Onr7O3u7/Dy8/T19vf4+fr7/P3+LOCsiQAAAeRJREFUeAHt1/lTEmEYwPHHhYyiLEjtPtLu0siOsLL7MLtNOjRLs8MyU7Q7K4hyv/7Xve/sLrAzArPvMFPT7Oen9wf4MsDz7OyKI9QxvWBgukM8Ru9XBfEsGKpvQAL6/wORY48+5ieu7zIN7HiG4+5yo0B7Hs/oMoNA4i0lN4IHkreA+Ssbmva/BOztAQP7nqL1iBJ7BfQGCxy30WYt0Q4C44ECbb9Qih+7BpgLFLgN2BOF0WbTQBboFEsUs6/wDXBnx+xHfAKcXuKcV5j8jZdwmQ7SqhlcpqO8e5Yi/zJt6ZvMTfXvrBWQRO+YOws/feucLqDZFwwvKJ02rrRRIPkBz/dmk8AAkDsU3/sJuGkQSKGcVIejgN1eM9DYfX/yx+uH3S3iSLwHHkfUyXoODNcKdGVx/L62VrR+IL9JtD0oqaoB6yIlubS7UpwSRwZ401gl0HAHn0xs9TtgJCKOdQWgp0rgPEr+3PrYxhMv0IYH9FBtFs9l4GuyYqALJeu83Dr8GdcZKWrSI9FXKdAyB0y1iqt1BI2xqJSkgfltFQL39Ki1SVF8CKWwVcpEx4HBxQMplCNSZukgcFZ8DqAsGojPAEMNUm5l5svVqPg9cAP/2D1SeJcWBsLA398F84euOj32hf4AR3v7uNFLZj0AAAAASUVORK5CYII=</icon>
<properties>
<propertyGroup caption="General">
<propertyGroup caption="Data source">
<property key="datasource" type="enumeration" defaultValue="image">
<caption>Data source</caption>
<description/>
<enumerationValues>
<enumerationValue key="image">Image</enumerationValue>
<enumerationValue key="imageUrl">Image URL</enumerationValue>
<enumerationValue key="icon">Icon</enumerationValue>
</enumerationValues>
</property>
<property key="imageObject" type="image" required="false">
<caption>Image</caption>
<description/>
</property>
<property key="defaultImageDynamic" type="image" required="false">
<caption>Default image</caption>
<description/>
</property>
<property key="imageUrl" type="textTemplate" required="false">
<caption>Image URL</caption>
<description>The link of the external image.</description>
</property>
<property key="imageIcon" type="icon" required="false">
<caption>Icon</caption>
<description>The icon image.</description>
</property>
</propertyGroup>
<propertyGroup caption="Events">
<property key="onClickType" type="enumeration" defaultValue="action">
<caption>On click type</caption>
<description/>
<enumerationValues>
<enumerationValue key="action">Action</enumerationValue>
<enumerationValue key="enlarge">Enlarge</enumerationValue>
</enumerationValues>
</property>
<property key="onClick" type="action" required="false">
<caption>On click</caption>
<description/>
</property>
</propertyGroup>
<propertyGroup caption="Accessibility">
<property key="alternativeText" type="textTemplate" required="false">
<caption>Alternative text</caption>
<description>Alternative text of the image for accessibility purposes.</description>
</property>
</propertyGroup>
<propertyGroup caption="Common">
<systemProperty key="Name"/>
<systemProperty key="Visibility"/>
</propertyGroup>
</propertyGroup>
<propertyGroup caption="Dimensions">
<propertyGroup caption="Dimensions">
<property key="widthUnit" type="enumeration" defaultValue="auto">
<caption>Width unit</caption>
<description/>
<enumerationValues>
<enumerationValue key="auto">Auto</enumerationValue>
<enumerationValue key="pixels">Pixels</enumerationValue>
<enumerationValue key="percentage">Percentage</enumerationValue>
</enumerationValues>
</property>
<property key="width" type="integer" defaultValue="100">
<caption>Width</caption>
<description/>
</property>
<property key="heightUnit" type="enumeration" defaultValue="auto">
<caption>Height unit</caption>
<description>Auto will keep the aspect ratio of the image.</description>
<enumerationValues>
<enumerationValue key="auto">Auto</enumerationValue>
<enumerationValue key="pixels">Pixels</enumerationValue>
</enumerationValues>
</property>
<property key="height" type="integer" defaultValue="100">
<caption>Height</caption>
<description/>
</property>
<property key="iconSize" type="integer" defaultValue="14">
<caption>Icon size</caption>
<description>The size of the icon in pixels.</description>
</property>
<property key="displayAs" type="enumeration" defaultValue="fullImage">
<caption>Show</caption>
<description/>
<enumerationValues>
<enumerationValue key="fullImage">Full image</enumerationValue>
<enumerationValue key="thumbnail">Thumbnail</enumerationValue>
</enumerationValues>
</property>
<property key="responsive" type="boolean" defaultValue="true">
<caption>Responsive</caption>
<description>Image will never get larger than its original size. It can become smaller.</description>
</property>
</propertyGroup>
</propertyGroup>
</properties>
</widget>