@lowdefy/blocks-antd 5.5.1 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/dist/TagPillRow.js +88 -0
  2. package/dist/blocks/Affix/gallery.yaml +399 -0
  3. package/dist/blocks/Affix/tests/Affix.e2e.yaml +72 -0
  4. package/dist/blocks/Affix/tests.yaml +29 -0
  5. package/dist/blocks/Alert/gallery.yaml +701 -0
  6. package/dist/blocks/Alert/tests/Alert.e2e.yaml +161 -0
  7. package/dist/blocks/Alert/tests.yaml +261 -0
  8. package/dist/blocks/AutoComplete/gallery.yaml +713 -0
  9. package/dist/blocks/AutoComplete/tests/AutoComplete.e2e.yaml +330 -0
  10. package/dist/blocks/AutoComplete/tests.yaml +178 -0
  11. package/dist/blocks/Avatar/gallery.yaml +1037 -0
  12. package/dist/blocks/Avatar/tests/Avatar.e2e.yaml +125 -0
  13. package/dist/blocks/Avatar/tests.yaml +76 -0
  14. package/dist/blocks/Badge/gallery.yaml +1090 -0
  15. package/dist/blocks/Badge/tests/Badge.e2e.yaml +195 -0
  16. package/dist/blocks/Badge/tests.yaml +91 -0
  17. package/dist/blocks/Breadcrumb/gallery.yaml +484 -0
  18. package/dist/blocks/Breadcrumb/tests/Breadcrumb.e2e.yaml +165 -0
  19. package/dist/blocks/Breadcrumb/tests.yaml +106 -0
  20. package/dist/blocks/Button/gallery.yaml +718 -0
  21. package/dist/blocks/Button/tests/Button.e2e.yaml +246 -0
  22. package/dist/blocks/Button/tests.yaml +104 -0
  23. package/dist/blocks/ButtonSelector/gallery.yaml +891 -0
  24. package/dist/blocks/ButtonSelector/tests/ButtonSelector.e2e.yaml +188 -0
  25. package/dist/blocks/ButtonSelector/tests.yaml +167 -0
  26. package/dist/blocks/Calendar/gallery.yaml +128 -0
  27. package/dist/blocks/Calendar/tests/Calendar.e2e.yaml +136 -0
  28. package/dist/blocks/Calendar/tests.yaml +50 -0
  29. package/dist/blocks/Card/gallery.yaml +1035 -0
  30. package/dist/blocks/Card/tests/Card.e2e.yaml +209 -0
  31. package/dist/blocks/Card/tests.yaml +75 -0
  32. package/dist/blocks/Carousel/gallery.yaml +1971 -0
  33. package/dist/blocks/Carousel/tests/Carousel.e2e.yaml +211 -0
  34. package/dist/blocks/Carousel/tests.yaml +117 -0
  35. package/dist/blocks/CheckboxSelector/CheckboxSelector.js +54 -29
  36. package/dist/blocks/CheckboxSelector/gallery.yaml +781 -0
  37. package/dist/blocks/CheckboxSelector/meta.js +24 -4
  38. package/dist/blocks/CheckboxSelector/tests/CheckboxSelector.e2e.yaml +272 -0
  39. package/dist/blocks/CheckboxSelector/tests.yaml +325 -0
  40. package/dist/blocks/CheckboxSwitch/gallery.yaml +457 -0
  41. package/dist/blocks/CheckboxSwitch/tests/CheckboxSwitch.e2e.yaml +126 -0
  42. package/dist/blocks/CheckboxSwitch/tests.yaml +96 -0
  43. package/dist/blocks/Collapse/gallery.yaml +1079 -0
  44. package/dist/blocks/Collapse/tests/Collapse.e2e.yaml +206 -0
  45. package/dist/blocks/Collapse/tests.yaml +265 -0
  46. package/dist/blocks/ColorSelector/gallery.yaml +807 -0
  47. package/dist/blocks/ColorSelector/tests/ColorSelector.e2e.yaml +77 -0
  48. package/dist/blocks/ColorSelector/tests.yaml +84 -0
  49. package/dist/blocks/ConfigProvider/gallery.yaml +1003 -0
  50. package/dist/blocks/ConfigProvider/tests.yaml +62 -0
  51. package/dist/blocks/ConfirmModal/gallery.yaml +1043 -0
  52. package/dist/blocks/ConfirmModal/tests/ConfirmModal.e2e.yaml +410 -0
  53. package/dist/blocks/ConfirmModal/tests.yaml +95 -0
  54. package/dist/blocks/Content/gallery.yaml +528 -0
  55. package/dist/blocks/Content/tests/Content.e2e.yaml +71 -0
  56. package/dist/blocks/Content/tests.yaml +42 -0
  57. package/dist/blocks/ControlledList/ControlledList.js +1 -1
  58. package/dist/blocks/ControlledList/gallery.yaml +481 -0
  59. package/dist/blocks/ControlledList/{style.module.css → style.css} +3 -3
  60. package/dist/blocks/ControlledList/tests/ControlledList.e2e.yaml +161 -0
  61. package/dist/blocks/ControlledList/tests.yaml +57 -0
  62. package/dist/blocks/DateRangeSelector/DateRangeSelector.js +7 -0
  63. package/dist/blocks/DateRangeSelector/e2e.js +28 -2
  64. package/dist/blocks/DateRangeSelector/gallery.yaml +858 -0
  65. package/dist/blocks/DateRangeSelector/meta.js +2 -0
  66. package/dist/blocks/DateRangeSelector/tests/DateRangeSelector.e2e.yaml +204 -0
  67. package/dist/blocks/DateRangeSelector/tests.yaml +129 -0
  68. package/dist/blocks/DateSelector/DateSelector.js +6 -0
  69. package/dist/blocks/DateSelector/e2e.js +28 -2
  70. package/dist/blocks/DateSelector/gallery.yaml +691 -0
  71. package/dist/blocks/DateSelector/meta.js +6 -0
  72. package/dist/blocks/DateSelector/tests/DateSelector.e2e.yaml +229 -0
  73. package/dist/blocks/DateSelector/tests.yaml +117 -0
  74. package/dist/blocks/DateTimeSelector/DateTimeSelector.js +7 -0
  75. package/dist/blocks/DateTimeSelector/e2e.js +26 -2
  76. package/dist/blocks/DateTimeSelector/gallery.yaml +770 -0
  77. package/dist/blocks/DateTimeSelector/meta.js +2 -0
  78. package/dist/blocks/DateTimeSelector/tests/DateTimeSelector.e2e.yaml +163 -0
  79. package/dist/blocks/DateTimeSelector/tests.yaml +140 -0
  80. package/dist/blocks/Descriptions/gallery.yaml +839 -0
  81. package/dist/blocks/Descriptions/tests/Descriptions.e2e.yaml +143 -0
  82. package/dist/blocks/Descriptions/tests.yaml +256 -0
  83. package/dist/blocks/Divider/gallery.yaml +375 -0
  84. package/dist/blocks/Divider/tests/Divider.e2e.yaml +107 -0
  85. package/dist/blocks/Divider/tests.yaml +58 -0
  86. package/dist/blocks/Drawer/gallery.yaml +1257 -0
  87. package/dist/blocks/Drawer/tests/Drawer.e2e.yaml +562 -0
  88. package/dist/blocks/Drawer/tests.yaml +80 -0
  89. package/dist/blocks/DropdownButton/gallery.yaml +606 -0
  90. package/dist/blocks/DropdownButton/tests/DropdownButton.e2e.yaml +243 -0
  91. package/dist/blocks/DropdownMenu/gallery.yaml +578 -0
  92. package/dist/blocks/DropdownMenu/tests/DropdownMenu.e2e.yaml +267 -0
  93. package/dist/blocks/Flex/gallery.yaml +1416 -0
  94. package/dist/blocks/Flex/tests/Flex.e2e.yaml +95 -0
  95. package/dist/blocks/Flex/tests.yaml +92 -0
  96. package/dist/blocks/FloatButton/gallery.yaml +518 -0
  97. package/dist/blocks/FloatButton/tests/FloatButton.e2e.yaml +73 -0
  98. package/dist/blocks/FloatButton/tests.yaml +59 -0
  99. package/dist/blocks/Footer/gallery.yaml +355 -0
  100. package/dist/blocks/Footer/tests/Footer.e2e.yaml +70 -0
  101. package/dist/blocks/Footer/tests.yaml +28 -0
  102. package/dist/blocks/Header/gallery.yaml +249 -0
  103. package/dist/blocks/Header/tests/Header.e2e.yaml +77 -0
  104. package/dist/blocks/Header/tests.yaml +36 -0
  105. package/dist/blocks/Label/Label.js +4 -4
  106. package/dist/blocks/Label/gallery.yaml +762 -0
  107. package/dist/blocks/Label/labelLogic.js +4 -1
  108. package/dist/blocks/Label/{style.module.css → style.css} +28 -28
  109. package/dist/blocks/Label/tests/Label.e2e.yaml +247 -0
  110. package/dist/blocks/Label/tests.yaml +212 -0
  111. package/dist/blocks/Layout/gallery.yaml +548 -0
  112. package/dist/blocks/Layout/tests/Layout.e2e.yaml +86 -0
  113. package/dist/blocks/Layout/tests.yaml +28 -0
  114. package/dist/blocks/ListSelector/gallery.yaml +223 -0
  115. package/dist/blocks/Masonry/gallery.yaml +989 -0
  116. package/dist/blocks/Masonry/tests/Masonry.e2e.yaml +128 -0
  117. package/dist/blocks/Masonry/tests.yaml +42 -0
  118. package/dist/blocks/MasonryList/gallery.yaml +224 -0
  119. package/dist/blocks/MasonryList/tests/MasonryList.e2e.yaml +55 -0
  120. package/dist/blocks/MasonryList/tests.yaml +42 -0
  121. package/dist/blocks/Menu/gallery.yaml +974 -0
  122. package/dist/blocks/Menu/tests/Menu.e2e.yaml +484 -0
  123. package/dist/blocks/Menu/tests.yaml +1053 -0
  124. package/dist/blocks/Message/gallery.yaml +860 -0
  125. package/dist/blocks/Message/tests/Message.e2e.yaml +246 -0
  126. package/dist/blocks/Message/tests.yaml +54 -0
  127. package/dist/blocks/MobileMenu/gallery.yaml +1172 -0
  128. package/dist/blocks/MobileMenu/tests/MobileMenu.e2e.yaml +314 -0
  129. package/dist/blocks/MobileMenu/tests.yaml +359 -0
  130. package/dist/blocks/Modal/gallery.yaml +1039 -0
  131. package/dist/blocks/Modal/tests/Modal.e2e.yaml +493 -0
  132. package/dist/blocks/Modal/tests.yaml +75 -0
  133. package/dist/blocks/MonthSelector/MonthSelector.js +6 -0
  134. package/dist/blocks/MonthSelector/e2e.js +26 -2
  135. package/dist/blocks/MonthSelector/gallery.yaml +687 -0
  136. package/dist/blocks/MonthSelector/meta.js +6 -0
  137. package/dist/blocks/MonthSelector/tests/MonthSelector.e2e.yaml +167 -0
  138. package/dist/blocks/MonthSelector/tests.yaml +124 -0
  139. package/dist/blocks/MultipleSelector/gallery.yaml +1245 -0
  140. package/dist/blocks/MultipleSelector/tests/MultipleSelector.e2e.yaml +445 -0
  141. package/dist/blocks/MultipleSelector/tests.yaml +201 -0
  142. package/dist/blocks/Notification/gallery.yaml +1376 -0
  143. package/dist/blocks/Notification/tests/Notification.e2e.yaml +362 -0
  144. package/dist/blocks/Notification/tests.yaml +97 -0
  145. package/dist/blocks/NumberInput/gallery.yaml +753 -0
  146. package/dist/blocks/NumberInput/tests/NumberInput.e2e.yaml +228 -0
  147. package/dist/blocks/NumberInput/tests.yaml +116 -0
  148. package/dist/blocks/PageHeaderMenu/PageHeaderMenu.js +1 -1
  149. package/dist/blocks/PageHeaderMenu/gallery.yaml +480 -0
  150. package/dist/blocks/PageHeaderMenu/tests/PageHeaderMenu.e2e.yaml +110 -0
  151. package/dist/blocks/PageHeaderMenu/tests.yaml +173 -0
  152. package/dist/blocks/PageSidebarLayout/PageSidebarLayout.js +10 -1
  153. package/dist/blocks/PageSidebarLayout/gallery.yaml +302 -0
  154. package/dist/blocks/PageSidebarLayout/meta.js +1 -0
  155. package/dist/blocks/PageSidebarLayout/tests/PageSidebarLayout.e2e.yaml +216 -0
  156. package/dist/blocks/PageSidebarLayout/tests.yaml +174 -0
  157. package/dist/blocks/PageSiderMenu/PageSiderMenu.js +1 -1
  158. package/dist/blocks/PageSiderMenu/gallery.yaml +516 -0
  159. package/dist/blocks/PageSiderMenu/tests/PageSiderMenu.e2e.yaml +175 -0
  160. package/dist/blocks/PageSiderMenu/tests.yaml +211 -0
  161. package/dist/blocks/Pagination/gallery.yaml +503 -0
  162. package/dist/blocks/Pagination/tests/Pagination.e2e.yaml +159 -0
  163. package/dist/blocks/Pagination/tests.yaml +80 -0
  164. package/dist/blocks/Paragraph/gallery.yaml +458 -0
  165. package/dist/blocks/Paragraph/tests/Paragraph.e2e.yaml +153 -0
  166. package/dist/blocks/Paragraph/tests.yaml +176 -0
  167. package/dist/blocks/ParagraphInput/gallery.yaml +1483 -0
  168. package/dist/blocks/ParagraphInput/tests/ParagraphInput.e2e.yaml +189 -0
  169. package/dist/blocks/ParagraphInput/tests.yaml +163 -0
  170. package/dist/blocks/PasswordInput/gallery.yaml +420 -0
  171. package/dist/blocks/PasswordInput/tests/PasswordInput.e2e.yaml +188 -0
  172. package/dist/blocks/PasswordInput/tests.yaml +78 -0
  173. package/dist/blocks/PhoneNumberInput/gallery.yaml +677 -0
  174. package/dist/blocks/PhoneNumberInput/tests/PhoneNumberInput.e2e.yaml +279 -0
  175. package/dist/blocks/PhoneNumberInput/tests.yaml +25 -0
  176. package/dist/blocks/Popover/gallery.yaml +1301 -0
  177. package/dist/blocks/Popover/tests/Popover.e2e.yaml +249 -0
  178. package/dist/blocks/Popover/tests.yaml +105 -0
  179. package/dist/blocks/Progress/gallery.yaml +772 -0
  180. package/dist/blocks/Progress/tests/Progress.e2e.yaml +167 -0
  181. package/dist/blocks/Progress/tests.yaml +114 -0
  182. package/dist/blocks/QRCode/gallery.yaml +492 -0
  183. package/dist/blocks/QRCode/tests/QRCode.e2e.yaml +66 -0
  184. package/dist/blocks/QRCode/tests.yaml +113 -0
  185. package/dist/blocks/RadioSelector/RadioSelector.js +50 -25
  186. package/dist/blocks/RadioSelector/gallery.yaml +816 -0
  187. package/dist/blocks/RadioSelector/meta.js +23 -3
  188. package/dist/blocks/RadioSelector/tests/RadioSelector.e2e.yaml +269 -0
  189. package/dist/blocks/RadioSelector/tests.yaml +339 -0
  190. package/dist/blocks/RatingSlider/gallery.yaml +627 -0
  191. package/dist/blocks/RatingSlider/tests/RatingSlider.e2e.yaml +188 -0
  192. package/dist/blocks/RatingSlider/tests.yaml +116 -0
  193. package/dist/blocks/Result/gallery.yaml +925 -0
  194. package/dist/blocks/Result/tests/Result.e2e.yaml +126 -0
  195. package/dist/blocks/Result/tests.yaml +75 -0
  196. package/dist/blocks/Search/Search.js +1 -1
  197. package/dist/blocks/Search/SearchModal.js +18 -9
  198. package/dist/blocks/Search/gallery.yaml +170 -0
  199. package/dist/blocks/Search/meta.js +2 -1
  200. package/dist/blocks/Search/{style.module.css → style.css} +19 -12
  201. package/dist/blocks/Search/tests/Search.e2e.yaml +125 -0
  202. package/dist/blocks/Search/useSearchIndex.js +24 -2
  203. package/dist/blocks/SegmentedSelector/gallery.yaml +725 -0
  204. package/dist/blocks/SegmentedSelector/tests/SegmentedSelector.e2e.yaml +115 -0
  205. package/dist/blocks/SegmentedSelector/tests.yaml +141 -0
  206. package/dist/blocks/Selector/gallery.yaml +1055 -0
  207. package/dist/blocks/Selector/tests/Selector.e2e.yaml +427 -0
  208. package/dist/blocks/Selector/tests.yaml +196 -0
  209. package/dist/blocks/Sider/gallery.yaml +994 -0
  210. package/dist/blocks/Sider/tests/Sider.e2e.yaml +162 -0
  211. package/dist/blocks/Sider/tests.yaml +20 -0
  212. package/dist/blocks/Slider/gallery.yaml +600 -0
  213. package/dist/blocks/Slider/tests/Slider.e2e.yaml +190 -0
  214. package/dist/blocks/Slider/tests.yaml +68 -0
  215. package/dist/blocks/Splitter/gallery.yaml +1511 -0
  216. package/dist/blocks/Splitter/tests/Splitter.e2e.yaml +114 -0
  217. package/dist/blocks/Splitter/tests.yaml +79 -0
  218. package/dist/blocks/Statistic/gallery.yaml +460 -0
  219. package/dist/blocks/Statistic/tests/Statistic.e2e.yaml +137 -0
  220. package/dist/blocks/Statistic/tests.yaml +77 -0
  221. package/dist/blocks/Steps/gallery.yaml +550 -0
  222. package/dist/blocks/Switch/gallery.yaml +502 -0
  223. package/dist/blocks/Switch/tests/Switch.e2e.yaml +132 -0
  224. package/dist/blocks/Switch/tests.yaml +87 -0
  225. package/dist/blocks/Tabs/gallery.yaml +1353 -0
  226. package/dist/blocks/Tabs/tests/Tabs.e2e.yaml +370 -0
  227. package/dist/blocks/Tabs/tests.yaml +349 -0
  228. package/dist/blocks/Tag/gallery.yaml +598 -0
  229. package/dist/blocks/Tag/tests/Tag.e2e.yaml +173 -0
  230. package/dist/blocks/Tag/tests.yaml +51 -0
  231. package/dist/blocks/TagMultipleSelector/TagMultipleSelector.js +53 -0
  232. package/dist/blocks/TagMultipleSelector/e2e.js +36 -0
  233. package/dist/blocks/TagMultipleSelector/gallery.yaml +70 -0
  234. package/dist/blocks/TagMultipleSelector/meta.js +91 -0
  235. package/dist/blocks/TagMultipleSelector/tests/TagMultipleSelector.e2e.yaml +93 -0
  236. package/dist/blocks/TagSelector/TagSelector.js +49 -0
  237. package/dist/blocks/TagSelector/e2e.js +36 -0
  238. package/dist/blocks/TagSelector/gallery.yaml +70 -0
  239. package/dist/blocks/TagSelector/meta.js +91 -0
  240. package/dist/blocks/TagSelector/tests/TagSelector.e2e.yaml +93 -0
  241. package/dist/blocks/TextArea/gallery.yaml +618 -0
  242. package/dist/blocks/TextArea/tests/TextArea.e2e.yaml +218 -0
  243. package/dist/blocks/TextArea/tests.yaml +100 -0
  244. package/dist/blocks/TextInput/gallery.yaml +560 -0
  245. package/dist/blocks/TextInput/tests/TextInput.e2e.yaml +287 -0
  246. package/dist/blocks/TextInput/tests.yaml +114 -0
  247. package/dist/blocks/TimelineList/gallery.yaml +431 -0
  248. package/dist/blocks/TimelineList/tests/TimelineList.e2e.yaml +244 -0
  249. package/dist/blocks/TimelineList/tests.yaml +251 -0
  250. package/dist/blocks/Title/gallery.yaml +483 -0
  251. package/dist/blocks/Title/tests/Title.e2e.yaml +180 -0
  252. package/dist/blocks/Title/tests.yaml +175 -0
  253. package/dist/blocks/TitleInput/gallery.yaml +1006 -0
  254. package/dist/blocks/TitleInput/tests/TitleInput.e2e.yaml +195 -0
  255. package/dist/blocks/TitleInput/tests.yaml +181 -0
  256. package/dist/blocks/Tooltip/gallery.yaml +1214 -0
  257. package/dist/blocks/Tooltip/tests/Tooltip.e2e.yaml +195 -0
  258. package/dist/blocks/Tooltip/tests.yaml +92 -0
  259. package/dist/blocks/Tour/gallery.yaml +2305 -0
  260. package/dist/blocks/Tour/tests/Tour.e2e.yaml +90 -0
  261. package/dist/blocks/Tour/tests.yaml +151 -0
  262. package/dist/blocks/TreeInput/gallery.yaml +78 -0
  263. package/dist/blocks/TreeInput/tests/TreeInput.e2e.yaml +139 -0
  264. package/dist/blocks/TreeInput/tests.yaml +140 -0
  265. package/dist/blocks/TreeMultipleSelector/gallery.yaml +67 -0
  266. package/dist/blocks/TreeSelector/gallery.yaml +81 -0
  267. package/dist/blocks/Watermark/gallery.yaml +479 -0
  268. package/dist/blocks/Watermark/tests/Watermark.e2e.yaml +62 -0
  269. package/dist/blocks/Watermark/tests.yaml +86 -0
  270. package/dist/blocks/WeekSelector/WeekSelector.js +6 -0
  271. package/dist/blocks/WeekSelector/e2e.js +26 -2
  272. package/dist/blocks/WeekSelector/gallery.yaml +589 -0
  273. package/dist/blocks/WeekSelector/meta.js +6 -0
  274. package/dist/blocks/WeekSelector/tests/WeekSelector.e2e.yaml +154 -0
  275. package/dist/blocks/WeekSelector/tests.yaml +122 -0
  276. package/dist/blocks.js +2 -0
  277. package/dist/disabledDate.js +91 -19
  278. package/dist/e2e.js +2 -0
  279. package/dist/getPresets.js +151 -0
  280. package/dist/getTagColor.js +44 -0
  281. package/dist/getTagSelectorOptions.js +30 -0
  282. package/dist/metas.js +2 -0
  283. package/dist/pickerPresetsStyle.css +26 -0
  284. package/dist/schemas/disabledDates.js +6 -2
  285. package/dist/schemas/index.js +1 -0
  286. package/dist/schemas/presets.js +111 -0
  287. package/dist/tagSelectorStyle.css +68 -0
  288. package/package.json +13 -13
@@ -0,0 +1,1055 @@
1
+ # Copyright 2020-2026 Lowdefy, Inc
2
+
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ - title: Basic
16
+ blocks:
17
+ - id: basic_selector
18
+ type: Selector
19
+ properties:
20
+ title: Favorite Fruit
21
+ options:
22
+ - label: Apple
23
+ value: apple
24
+ - label: Banana
25
+ value: banana
26
+ - label: Cherry
27
+ value: cherry
28
+ - label: Dragonfruit
29
+ value: dragonfruit
30
+ - label: Elderberry
31
+ value: elderberry
32
+ - id: basic_placeholder
33
+ type: Selector
34
+ properties:
35
+ title: Country
36
+ placeholder: Choose a country...
37
+ options:
38
+ - label: United States
39
+ value: us
40
+ - label: United Kingdom
41
+ value: uk
42
+ - label: Canada
43
+ value: ca
44
+ - label: Australia
45
+ value: au
46
+ - label: Germany
47
+ value: de
48
+ - title: Options
49
+ blocks:
50
+ - id: string_options
51
+ type: Selector
52
+ properties:
53
+ title: Simple Strings
54
+ placeholder: Pick a color...
55
+ options:
56
+ - Red
57
+ - Orange
58
+ - Yellow
59
+ - Green
60
+ - Blue
61
+ - Indigo
62
+ - Violet
63
+ - id: number_options_mixed
64
+ type: Selector
65
+ properties:
66
+ title: Quantities
67
+ placeholder: Choose quantity...
68
+ options:
69
+ - label: One item
70
+ value: 1
71
+ - label: Five items
72
+ value: 5
73
+ - label: Ten items
74
+ value: 10
75
+ - label: Twenty-five items
76
+ value: 25
77
+ - label: One hundred items
78
+ value: 100
79
+ - id: html_labels
80
+ type: Selector
81
+ properties:
82
+ title: HTML Labels
83
+ placeholder: Select a priority...
84
+ options:
85
+ - label: '<span style="color: #f5222d; font-weight: bold;">Critical</span>'
86
+ value: critical
87
+ - label: '<span style="color: #fa8c16; font-weight: bold;">High</span>'
88
+ value: high
89
+ - label: '<span style="color: #fadb14; font-weight: bold;">Medium</span>'
90
+ value: medium
91
+ - label: '<span style="color: #52c41a; font-weight: bold;">Low</span>'
92
+ value: low
93
+ - label: '<span style="color: #8c8c8c;">None</span>'
94
+ value: none
95
+ - id: styled_options
96
+ type: Selector
97
+ properties:
98
+ title: Color Swatches
99
+ placeholder: Pick a theme color...
100
+ options:
101
+ - label: Ocean Blue
102
+ value: ocean
103
+ style:
104
+ color: '#1677ff'
105
+ fontWeight: bold
106
+ - label: Forest Green
107
+ value: forest
108
+ style:
109
+ color: '#52c41a'
110
+ fontWeight: bold
111
+ - label: Sunset Orange
112
+ value: sunset
113
+ style:
114
+ color: '#fa8c16'
115
+ fontWeight: bold
116
+ - label: Berry Purple
117
+ value: berry
118
+ style:
119
+ color: '#722ed1'
120
+ fontWeight: bold
121
+ - label: Coral Red
122
+ value: coral
123
+ style:
124
+ color: '#f5222d'
125
+ fontWeight: bold
126
+ - id: disabled_options
127
+ type: Selector
128
+ properties:
129
+ title: Product Availability
130
+ placeholder: Select a product...
131
+ options:
132
+ - label: Widget A - In Stock
133
+ value: widget_a
134
+ - label: Widget B - Sold Out
135
+ value: widget_b
136
+ disabled: true
137
+ - label: Widget C - In Stock
138
+ value: widget_c
139
+ - label: Widget D - Coming Soon
140
+ value: widget_d
141
+ disabled: true
142
+ - label: Widget E - In Stock
143
+ value: widget_e
144
+ - title: Search and Filter
145
+ blocks:
146
+ - id: filter_string
147
+ type: Selector
148
+ properties:
149
+ title: Country (Search by Name or Code)
150
+ showSearch: true
151
+ placeholder: Type name or country code...
152
+ options:
153
+ - label: United States
154
+ value: us
155
+ filterString: United States US USA America
156
+ - label: United Kingdom
157
+ value: uk
158
+ filterString: United Kingdom UK GB Britain England
159
+ - label: Canada
160
+ value: ca
161
+ filterString: Canada CA
162
+ - label: Australia
163
+ value: au
164
+ filterString: Australia AU Aussie
165
+ - label: Germany
166
+ value: de
167
+ filterString: Germany DE Deutschland
168
+ - label: France
169
+ value: fr
170
+ filterString: France FR
171
+ - label: Japan
172
+ value: jp
173
+ filterString: Japan JP Nippon
174
+ - label: Brazil
175
+ value: br
176
+ filterString: Brazil BR Brasil
177
+ - id: filter_string_html
178
+ type: Selector
179
+ properties:
180
+ title: Employee (Search by Name or Department)
181
+ showSearch: true
182
+ placeholder: Search employees...
183
+ options:
184
+ - label: <b>Alice Johnson</b> - <small>Engineering</small>
185
+ value: alice
186
+ filterString: Alice Johnson Engineering Frontend
187
+ - label: <b>Bob Smith</b> - <small>Design</small>
188
+ value: bob
189
+ filterString: Bob Smith Design UI UX
190
+ - label: <b>Carol Williams</b> - <small>Marketing</small>
191
+ value: carol
192
+ filterString: Carol Williams Marketing Content
193
+ - label: <b>Dave Brown</b> - <small>Sales</small>
194
+ value: dave
195
+ filterString: Dave Brown Sales Account
196
+ - id: search_disabled
197
+ type: Selector
198
+ properties:
199
+ title: Non-Searchable
200
+ showSearch: false
201
+ placeholder: Select without search...
202
+ options:
203
+ - label: Option A
204
+ value: a
205
+ - label: Option B
206
+ value: b
207
+ - label: Option C
208
+ value: c
209
+ - title: Toggle Properties
210
+ blocks:
211
+ - id: allow_clear_false
212
+ type: Selector
213
+ properties:
214
+ title: Not Clearable
215
+ allowClear: false
216
+ placeholder: Cannot be cleared once set...
217
+ options:
218
+ - label: Red
219
+ value: red
220
+ - label: Green
221
+ value: green
222
+ - label: Blue
223
+ value: blue
224
+ - id: bordered_false
225
+ type: Selector
226
+ properties:
227
+ title: Borderless
228
+ bordered: false
229
+ options:
230
+ - label: Option A
231
+ value: a
232
+ - label: Option B
233
+ value: b
234
+ - label: Option C
235
+ value: c
236
+ - id: arrow_hidden
237
+ type: Selector
238
+ properties:
239
+ title: Arrow Hidden
240
+ showArrow: false
241
+ options:
242
+ - label: Alpha
243
+ value: alpha
244
+ - label: Beta
245
+ value: beta
246
+ - label: Gamma
247
+ value: gamma
248
+ - id: disabled_selector
249
+ type: Selector
250
+ properties:
251
+ title: Fully Disabled
252
+ disabled: true
253
+ placeholder: This selector is disabled
254
+ options:
255
+ - label: Option A
256
+ value: a
257
+ - label: Option B
258
+ value: b
259
+ - label: Option C
260
+ value: c
261
+ - id: no_label_selector
262
+ type: Selector
263
+ properties:
264
+ label:
265
+ disabled: true
266
+ placeholder: Select a color...
267
+ options:
268
+ - label: Red
269
+ value: red
270
+ - label: Orange
271
+ value: orange
272
+ - label: Yellow
273
+ value: yellow
274
+ - label: Green
275
+ value: green
276
+ - label: Blue
277
+ value: blue
278
+ - title: Sizes
279
+ blocks:
280
+ - id: size_small
281
+ type: Selector
282
+ properties:
283
+ title: Small
284
+ size: small
285
+ placeholder: Small selector...
286
+ options:
287
+ - Apple
288
+ - Banana
289
+ - Cherry
290
+ - Date
291
+ - Elderberry
292
+ - id: size_default
293
+ type: Selector
294
+ properties:
295
+ title: Default
296
+ placeholder: Default selector...
297
+ options:
298
+ - Apple
299
+ - Banana
300
+ - Cherry
301
+ - Date
302
+ - Elderberry
303
+ - id: size_large
304
+ type: Selector
305
+ properties:
306
+ title: Large
307
+ size: large
308
+ placeholder: Large selector...
309
+ options:
310
+ - Apple
311
+ - Banana
312
+ - Cherry
313
+ - Date
314
+ - Elderberry
315
+ - title: Custom Icons
316
+ blocks:
317
+ - id: custom_suffix_icon
318
+ type: Selector
319
+ properties:
320
+ title: Custom Suffix Icon
321
+ suffixIcon: AiOutlineSearch
322
+ placeholder: Search items...
323
+ options:
324
+ - label: Database
325
+ value: database
326
+ - label: Server
327
+ value: server
328
+ - label: Cloud
329
+ value: cloud
330
+ - id: custom_suffix_icon_object
331
+ type: Selector
332
+ properties:
333
+ title: Styled Suffix Icon
334
+ suffixIcon:
335
+ name: AiOutlineFilter
336
+ color: '#722ed1'
337
+ placeholder: Filter options...
338
+ options:
339
+ - label: All Items
340
+ value: all
341
+ - label: Active Only
342
+ value: active
343
+ - label: Archived
344
+ value: archived
345
+ - id: custom_clear_icon
346
+ type: Selector
347
+ properties:
348
+ title: Custom Clear Icon
349
+ clearIcon: AiOutlineDelete
350
+ placeholder: Select to see custom clear icon...
351
+ options:
352
+ - label: Item One
353
+ value: one
354
+ - label: Item Two
355
+ value: two
356
+ - label: Item Three
357
+ value: three
358
+ - id: custom_clear_icon_object
359
+ type: Selector
360
+ properties:
361
+ title: Styled Clear Icon
362
+ clearIcon:
363
+ name: AiOutlineCloseCircle
364
+ color: '#f5222d'
365
+ placeholder: Select then hover to clear...
366
+ options:
367
+ - label: First
368
+ value: first
369
+ - label: Second
370
+ value: second
371
+ - label: Third
372
+ value: third
373
+ - title: Placeholders
374
+ blocks:
375
+ - id: placeholder_default
376
+ type: Selector
377
+ properties:
378
+ title: Default Placeholder
379
+ options:
380
+ - Apple
381
+ - Banana
382
+ - Cherry
383
+ - id: placeholder_custom
384
+ type: Selector
385
+ properties:
386
+ title: Custom Placeholder
387
+ placeholder: Please choose a fruit...
388
+ options:
389
+ - Apple
390
+ - Banana
391
+ - Cherry
392
+ - id: loading_placeholder
393
+ type: Selector
394
+ properties:
395
+ title: Loading Placeholder
396
+ loadingPlaceholder: Fetching results...
397
+ placeholder: Search with onSearch event...
398
+ showSearch: true
399
+ options:
400
+ - label: Result A
401
+ value: a
402
+ - label: Result B
403
+ value: b
404
+ - id: not_found_content
405
+ type: Selector
406
+ properties:
407
+ title: Custom Not Found
408
+ notFoundContent: No matching items found
409
+ showSearch: true
410
+ placeholder: Type something that does not match...
411
+ options:
412
+ - label: Alpha
413
+ value: alpha
414
+ - label: Beta
415
+ value: beta
416
+ - title: Label Configuration
417
+ blocks:
418
+ - id: label_default
419
+ type: Selector
420
+ properties:
421
+ title: Default Label
422
+ options:
423
+ - Apple
424
+ - Banana
425
+ - Cherry
426
+ - id: label_no_colon
427
+ type: Selector
428
+ properties:
429
+ title: No Colon
430
+ label:
431
+ colon: false
432
+ options:
433
+ - Apple
434
+ - Banana
435
+ - Cherry
436
+ - id: label_inline
437
+ type: Selector
438
+ properties:
439
+ title: Inline Label
440
+ label:
441
+ inline: true
442
+ span: 8
443
+ options:
444
+ - Apple
445
+ - Banana
446
+ - Cherry
447
+ - id: label_inline_right
448
+ type: Selector
449
+ properties:
450
+ title: Inline Right
451
+ label:
452
+ inline: true
453
+ span: 8
454
+ align: right
455
+ options:
456
+ - Apple
457
+ - Banana
458
+ - Cherry
459
+ - id: label_extra
460
+ type: Selector
461
+ properties:
462
+ title: With Extra Text
463
+ label:
464
+ extra: Select your preferred fruit from the list.
465
+ options:
466
+ - Apple
467
+ - Banana
468
+ - Cherry
469
+ - title: CSS Keys
470
+ blocks:
471
+ - id: css_element
472
+ type: Selector
473
+ properties:
474
+ title: Styled Element
475
+ placeholder: Custom styled selector...
476
+ options:
477
+ - label: Apple
478
+ value: apple
479
+ - label: Banana
480
+ value: banana
481
+ - label: Cherry
482
+ value: cherry
483
+ style:
484
+ .element:
485
+ borderColor: '#4096ff'
486
+ borderRadius: 8
487
+ - id: css_label
488
+ type: Selector
489
+ properties:
490
+ title: Styled Label
491
+ options:
492
+ - label: Alpha
493
+ value: alpha
494
+ - label: Beta
495
+ value: beta
496
+ style:
497
+ .label:
498
+ color: '#722ed1'
499
+ fontWeight: bold
500
+ fontSize: 16
501
+ - id: css_extra
502
+ type: Selector
503
+ properties:
504
+ title: Styled Extra
505
+ label:
506
+ extra: This extra text has custom styling.
507
+ options:
508
+ - Red
509
+ - Green
510
+ - Blue
511
+ style:
512
+ .extra:
513
+ color: '#8c8c8c'
514
+ fontStyle: italic
515
+ - id: css_options
516
+ type: Selector
517
+ properties:
518
+ title: Styled Options
519
+ placeholder: Options have custom padding...
520
+ options:
521
+ - label: Styled Option A
522
+ value: a
523
+ - label: Styled Option B
524
+ value: b
525
+ - label: Styled Option C
526
+ value: c
527
+ style:
528
+ .options:
529
+ padding: 8px 16px
530
+ fontSize: 15
531
+ - title: Class Names
532
+ blocks:
533
+ - id: class_element
534
+ type: Selector
535
+ properties:
536
+ title: Tailwind Classes
537
+ placeholder: Select with classes...
538
+ options:
539
+ - label: One
540
+ value: 1
541
+ - label: Two
542
+ value: 2
543
+ - label: Three
544
+ value: 3
545
+ class:
546
+ element: rounded-lg shadow-sm
547
+ - id: class_label
548
+ type: Selector
549
+ properties:
550
+ title: Styled Label Class
551
+ options:
552
+ - label: Alpha
553
+ value: alpha
554
+ - label: Beta
555
+ value: beta
556
+ class:
557
+ label: text-blue-600 font-semibold
558
+ - title: Many Options (Scrollable)
559
+ blocks:
560
+ - id: many_options
561
+ type: Selector
562
+ properties:
563
+ title: Long List
564
+ showSearch: true
565
+ placeholder: Scroll or search through many options...
566
+ options:
567
+ - label: Afghanistan
568
+ value: AF
569
+ - label: Albania
570
+ value: AL
571
+ - label: Algeria
572
+ value: DZ
573
+ - label: Argentina
574
+ value: AR
575
+ - label: Australia
576
+ value: AU
577
+ - label: Austria
578
+ value: AT
579
+ - label: Belgium
580
+ value: BE
581
+ - label: Brazil
582
+ value: BR
583
+ - label: Canada
584
+ value: CA
585
+ - label: Chile
586
+ value: CL
587
+ - label: China
588
+ value: CN
589
+ - label: Colombia
590
+ value: CO
591
+ - label: Czech Republic
592
+ value: CZ
593
+ - label: Denmark
594
+ value: DK
595
+ - label: Egypt
596
+ value: EG
597
+ - label: Finland
598
+ value: FI
599
+ - label: France
600
+ value: FR
601
+ - label: Germany
602
+ value: DE
603
+ - label: Greece
604
+ value: GR
605
+ - label: India
606
+ value: IN
607
+ - label: Indonesia
608
+ value: ID
609
+ - label: Ireland
610
+ value: IE
611
+ - label: Italy
612
+ value: IT
613
+ - label: Japan
614
+ value: JP
615
+ - label: Mexico
616
+ value: MX
617
+ - label: Netherlands
618
+ value: NL
619
+ - label: New Zealand
620
+ value: NZ
621
+ - label: Norway
622
+ value: 'NO'
623
+ - label: Poland
624
+ value: PL
625
+ - label: Portugal
626
+ value: PT
627
+ - label: Russia
628
+ value: RU
629
+ - label: South Africa
630
+ value: ZA
631
+ - label: South Korea
632
+ value: KR
633
+ - label: Spain
634
+ value: ES
635
+ - label: Sweden
636
+ value: SE
637
+ - label: Switzerland
638
+ value: CH
639
+ - label: Thailand
640
+ value: TH
641
+ - label: Turkey
642
+ value: TR
643
+ - label: United Kingdom
644
+ value: GB
645
+ - label: United States
646
+ value: US
647
+ - label: Vietnam
648
+ value: VN
649
+ - title: Theme Token Overrides
650
+ blocks:
651
+ - id: theme_custom_colors
652
+ type: Selector
653
+ properties:
654
+ title: Custom Selection Colors
655
+ placeholder: Select to see custom highlight...
656
+ options:
657
+ - label: Apple
658
+ value: apple
659
+ - label: Banana
660
+ value: banana
661
+ - label: Cherry
662
+ value: cherry
663
+ - label: Date
664
+ value: date
665
+ - label: Elderberry
666
+ value: elderberry
667
+ theme:
668
+ optionSelectedColor: '#722ed1'
669
+ optionSelectedFontWeight: 700
670
+ - id: theme_border_colors
671
+ type: Selector
672
+ properties:
673
+ title: Custom Border Colors
674
+ placeholder: Focus to see border color...
675
+ options:
676
+ - label: Red
677
+ value: red
678
+ - label: Green
679
+ value: green
680
+ - label: Blue
681
+ value: blue
682
+ theme:
683
+ hoverBorderColor: '#52c41a'
684
+ activeBorderColor: '#389e0d'
685
+ activeOutlineColor: rgba(82, 196, 26, 0.1)
686
+ - id: theme_option_size
687
+ type: Selector
688
+ properties:
689
+ title: Large Options
690
+ placeholder: Options have increased height...
691
+ options:
692
+ - label: Spacious Option A
693
+ value: a
694
+ - label: Spacious Option B
695
+ value: b
696
+ - label: Spacious Option C
697
+ value: c
698
+ theme:
699
+ optionHeight: 44
700
+ optionFontSize: 16
701
+ optionLineHeight: 1.8
702
+ optionPadding: 8px 16px
703
+ - id: theme_size_sm
704
+ type: Selector
705
+ properties:
706
+ title: Custom Small
707
+ size: small
708
+ placeholder: Custom small selector...
709
+ options:
710
+ - Alpha
711
+ - Beta
712
+ - Gamma
713
+ theme:
714
+ controlHeightSM: 20
715
+ borderRadiusSM: 2
716
+ fontSizeSM: 12
717
+ - id: theme_combined
718
+ type: Selector
719
+ properties:
720
+ title: Fully Customized
721
+ placeholder: Purple themed selector...
722
+ options:
723
+ - label: Dashboard
724
+ value: dashboard
725
+ - label: Analytics
726
+ value: analytics
727
+ - label: Reports
728
+ value: reports
729
+ - label: Settings
730
+ value: settings
731
+ theme:
732
+ colorPrimary: '#722ed1'
733
+ borderRadius: 12
734
+ fontSize: 15
735
+ optionSelectedColor: '#531dab'
736
+ hoverBorderColor: '#b37feb'
737
+ activeBorderColor: '#722ed1'
738
+ activeOutlineColor: rgba(114, 46, 209, 0.1)
739
+ optionHeight: 40
740
+ - title: Combined Features
741
+ blocks:
742
+ - id: combined_search_styled
743
+ type: Selector
744
+ properties:
745
+ title: Searchable Styled Options
746
+ showSearch: true
747
+ placeholder: Search and select a status...
748
+ suffixIcon: AiOutlineSearch
749
+ options:
750
+ - label: '<span style="color: #52c41a;">Active</span>'
751
+ value: active
752
+ filterString: Active Running Live
753
+ - label: '<span style="color: #faad14;">Pending</span>'
754
+ value: pending
755
+ filterString: Pending Waiting Queue
756
+ - label: '<span style="color: #f5222d;">Error</span>'
757
+ value: error
758
+ filterString: Error Failed Broken
759
+ - label: '<span style="color: #8c8c8c;">Archived</span>'
760
+ value: archived
761
+ filterString: Archived Old Removed
762
+ disabled: true
763
+ - id: combined_large_custom
764
+ type: Selector
765
+ properties:
766
+ title: Large Custom Selector
767
+ size: large
768
+ showSearch: true
769
+ placeholder: Choose a department...
770
+ suffixIcon:
771
+ name: AiOutlineTeam
772
+ color: '#1677ff'
773
+ clearIcon:
774
+ name: AiOutlineClose
775
+ color: '#ff4d4f'
776
+ options:
777
+ - label: <b>Engineering</b>
778
+ value: engineering
779
+ filterString: Engineering Dev Software
780
+ - label: <b>Design</b>
781
+ value: design
782
+ filterString: Design UI UX Creative
783
+ - label: <b>Marketing</b>
784
+ value: marketing
785
+ filterString: Marketing Growth Brand
786
+ - label: <b>Sales</b>
787
+ value: sales
788
+ filterString: Sales Revenue Business
789
+ - label: <b>Support</b>
790
+ value: support
791
+ filterString: Support Help Customer Service
792
+ theme:
793
+ borderRadius: 12
794
+ optionHeight: 40
795
+ - id: combined_borderless_small
796
+ type: Selector
797
+ properties:
798
+ title: Compact Borderless
799
+ size: small
800
+ bordered: false
801
+ showSearch: false
802
+ showArrow: true
803
+ placeholder: Quick pick...
804
+ options:
805
+ - label: Today
806
+ value: today
807
+ - label: This Week
808
+ value: week
809
+ - label: This Month
810
+ value: month
811
+ - label: This Year
812
+ value: year
813
+ - id: combined_inline_themed
814
+ type: Selector
815
+ properties:
816
+ title: Inline Themed
817
+ label:
818
+ inline: true
819
+ span: 6
820
+ colon: false
821
+ placeholder: Select role...
822
+ options:
823
+ - label: Admin
824
+ value: admin
825
+ - label: Editor
826
+ value: editor
827
+ - label: Viewer
828
+ value: viewer
829
+ theme:
830
+ colorPrimary: '#13c2c2'
831
+ borderRadius: 8
832
+ hoverBorderColor: '#13c2c2'
833
+ activeBorderColor: '#08979c'
834
+
835
+ - title: Selector in User Registration
836
+ blocks:
837
+ - id: applied2_registration_card
838
+ type: Card
839
+ properties:
840
+ title: User Preferences
841
+ blocks:
842
+ - id: applied2_reg_country
843
+ type: Selector
844
+ properties:
845
+ title: Country
846
+ showSearch: true
847
+ placeholder: Select your country...
848
+ suffixIcon: AiOutlineGlobal
849
+ options:
850
+ - label: United States
851
+ value: us
852
+ - label: United Kingdom
853
+ value: uk
854
+ - label: Canada
855
+ value: ca
856
+ - label: Australia
857
+ value: au
858
+ - label: Germany
859
+ value: de
860
+ - label: France
861
+ value: fr
862
+ - label: Japan
863
+ value: jp
864
+ - label: Brazil
865
+ value: br
866
+ - label: South Africa
867
+ value: za
868
+ - id: applied2_reg_language
869
+ type: Selector
870
+ properties:
871
+ title: Preferred Language
872
+ placeholder: Select language...
873
+ options:
874
+ - label: English
875
+ value: en
876
+ - label: Spanish
877
+ value: es
878
+ - label: French
879
+ value: fr
880
+ - label: German
881
+ value: de
882
+ - label: Japanese
883
+ value: ja
884
+ - label: Portuguese
885
+ value: pt
886
+ - id: applied2_reg_timezone
887
+ type: Selector
888
+ properties:
889
+ title: Timezone
890
+ showSearch: true
891
+ placeholder: Select your timezone...
892
+ suffixIcon: AiOutlineClockCircle
893
+ label:
894
+ extra: Used for scheduling and notifications.
895
+ options:
896
+ - label: UTC-8 Pacific Time
897
+ value: america_los_angeles
898
+ - label: UTC-5 Eastern Time
899
+ value: america_new_york
900
+ - label: UTC+0 London
901
+ value: europe_london
902
+ - label: UTC+1 Berlin
903
+ value: europe_berlin
904
+ - label: UTC+8 Singapore
905
+ value: asia_singapore
906
+ - label: UTC+9 Tokyo
907
+ value: asia_tokyo
908
+ - label: UTC+10 Sydney
909
+ value: australia_sydney
910
+ - id: applied2_reg_save_btn
911
+ type: Button
912
+ properties:
913
+ title: Save Preferences
914
+ icon: AiOutlineSave
915
+ type: primary
916
+ size: large
917
+ block: true
918
+ events:
919
+ onClick:
920
+ - id: save_prefs_action
921
+ type: DisplayMessage
922
+ params:
923
+ content: Your preferences have been saved.
924
+ duration: 3
925
+
926
+ - title: Selector in Order Form
927
+ blocks:
928
+ - id: applied3_order_card
929
+ type: Card
930
+ properties:
931
+ title: Place an Order
932
+ blocks:
933
+ - id: applied3_product
934
+ type: Selector
935
+ properties:
936
+ title: Product
937
+ showSearch: true
938
+ placeholder: Select a product...
939
+ suffixIcon: AiOutlineShopping
940
+ options:
941
+ - label: Laptop Pro 15"
942
+ value: laptop_pro
943
+ - label: Wireless Mouse
944
+ value: mouse
945
+ - label: Mechanical Keyboard
946
+ value: keyboard
947
+ - label: USB-C Hub
948
+ value: hub
949
+ - label: Monitor 27"
950
+ value: monitor
951
+ events:
952
+ onChange:
953
+ - id: set_product_state
954
+ type: SetState
955
+ params:
956
+ selected_product:
957
+ _state: applied3_product
958
+ - id: applied3_quantity
959
+ type: Selector
960
+ properties:
961
+ title: Quantity
962
+ allowClear: false
963
+ placeholder: Select quantity...
964
+ options:
965
+ - label: '1'
966
+ value: 1
967
+ - label: '2'
968
+ value: 2
969
+ - label: '5'
970
+ value: 5
971
+ - label: '10'
972
+ value: 10
973
+ events:
974
+ onChange:
975
+ - id: set_quantity_state
976
+ type: SetState
977
+ params:
978
+ selected_quantity:
979
+ _state: applied3_quantity
980
+ - id: applied3_shipping
981
+ type: Selector
982
+ properties:
983
+ title: Shipping Method
984
+ placeholder: Choose shipping...
985
+ options:
986
+ - label: Standard (5-7 days)
987
+ value: standard
988
+ - label: Express (2-3 days)
989
+ value: express
990
+ - label: Overnight
991
+ value: overnight
992
+ style:
993
+ color: '#1677ff'
994
+ fontWeight: bold
995
+ - id: applied3_place_order_btn
996
+ type: Button
997
+ properties:
998
+ title: Place Order
999
+ icon: AiOutlineCheckCircle
1000
+ type: primary
1001
+ size: large
1002
+ block: true
1003
+ events:
1004
+ onClick:
1005
+ - id: order_confirmation
1006
+ type: DisplayMessage
1007
+ params:
1008
+ content: Order placed successfully!
1009
+ duration: 3
1010
+
1011
+ - title: Per-option Color
1012
+ blocks:
1013
+ - id: selector_color_solid
1014
+ type: Selector
1015
+ properties:
1016
+ title: 'Solid — the whole input filled with the selected option color'
1017
+ variant: solid
1018
+ options:
1019
+ - label: Low
1020
+ value: low
1021
+ color: '#16a34a'
1022
+ - label: Medium
1023
+ value: medium
1024
+ color: '#d97706'
1025
+ - label: High
1026
+ value: high
1027
+ color: '#dc2626'
1028
+ - id: selector_color_outlined
1029
+ type: Selector
1030
+ properties:
1031
+ title: 'Outlined — input border + value colored'
1032
+ variant: outlined
1033
+ options:
1034
+ - label: Low
1035
+ value: low
1036
+ color: '#16a34a'
1037
+ - label: Medium
1038
+ value: medium
1039
+ color: '#d97706'
1040
+ - label: High
1041
+ value: high
1042
+ color: '#dc2626'
1043
+ - title: Data driven (valueKey)
1044
+ blocks:
1045
+ - id: data_selector
1046
+ type: Selector
1047
+ properties:
1048
+ title: Plan
1049
+ placeholder: Choose a plan...
1050
+ data:
1051
+ - { id: 1, name: Starter }
1052
+ - { id: 2, name: Pro }
1053
+ - { id: 3, name: Enterprise }
1054
+ html: '{{ item.name }}'
1055
+ valueKey: id