@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,770 @@
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: Sizes
16
+ blocks:
17
+ - id: dts_size_small
18
+ type: DateTimeSelector
19
+ properties:
20
+ title: Small
21
+ size: small
22
+ - id: dts_size_default
23
+ type: DateTimeSelector
24
+ properties:
25
+ title: Default
26
+ - id: dts_size_large
27
+ type: DateTimeSelector
28
+ properties:
29
+ title: Large
30
+ size: large
31
+
32
+ - title: Variants
33
+ blocks:
34
+ - id: dts_variant_outlined
35
+ type: DateTimeSelector
36
+ properties:
37
+ title: Outlined (default)
38
+ variant: outlined
39
+ label:
40
+ disabled: true
41
+ - id: dts_variant_filled
42
+ type: DateTimeSelector
43
+ properties:
44
+ title: Filled
45
+ variant: filled
46
+ label:
47
+ disabled: true
48
+ - id: dts_variant_borderless
49
+ type: DateTimeSelector
50
+ properties:
51
+ title: Borderless
52
+ variant: borderless
53
+ label:
54
+ disabled: true
55
+
56
+ - title: Time Format Options
57
+ blocks:
58
+ - id: dts_tf_hours_minutes
59
+ type: DateTimeSelector
60
+ properties:
61
+ title: Hours & Minutes (HH:mm)
62
+ timeFormat: HH:mm
63
+ format: YYYY-MM-DD HH:mm
64
+ label:
65
+ disabled: true
66
+ - id: dts_tf_with_seconds
67
+ type: DateTimeSelector
68
+ properties:
69
+ title: With Seconds (HH:mm:ss)
70
+ timeFormat: HH:mm:ss
71
+ format: YYYY-MM-DD HH:mm:ss
72
+ label:
73
+ disabled: true
74
+ - id: dts_tf_hours_only
75
+ type: DateTimeSelector
76
+ properties:
77
+ title: Hours Only (HH)
78
+ timeFormat: HH
79
+ format: YYYY-MM-DD HH
80
+ label:
81
+ disabled: true
82
+
83
+ - title: Time Step Intervals
84
+ blocks:
85
+ - id: dts_step_hour_2
86
+ type: DateTimeSelector
87
+ properties:
88
+ title: 2-Hour Steps
89
+ hourStep: 2
90
+ label:
91
+ disabled: true
92
+ - id: dts_step_minute_10
93
+ type: DateTimeSelector
94
+ properties:
95
+ title: 10-Minute Steps
96
+ minuteStep: 10
97
+ label:
98
+ disabled: true
99
+ - id: dts_step_minute_15
100
+ type: DateTimeSelector
101
+ properties:
102
+ title: 15-Minute Steps
103
+ minuteStep: 15
104
+ label:
105
+ disabled: true
106
+ - id: dts_step_minute_30
107
+ type: DateTimeSelector
108
+ properties:
109
+ title: 30-Minute Steps
110
+ minuteStep: 30
111
+ label:
112
+ disabled: true
113
+ - id: dts_step_second_10
114
+ type: DateTimeSelector
115
+ properties:
116
+ title: 10-Second Steps
117
+ timeFormat: HH:mm:ss
118
+ format: YYYY-MM-DD HH:mm:ss
119
+ secondStep: 10
120
+ label:
121
+ disabled: true
122
+
123
+ - title: Date Format Variations
124
+ blocks:
125
+ - id: dts_fmt_iso
126
+ type: DateTimeSelector
127
+ properties:
128
+ title: YYYY-MM-DD HH:mm (ISO)
129
+ format: YYYY-MM-DD HH:mm
130
+ label:
131
+ disabled: true
132
+ - id: dts_fmt_slash
133
+ type: DateTimeSelector
134
+ properties:
135
+ title: DD/MM/YYYY HH:mm
136
+ format: DD/MM/YYYY HH:mm
137
+ label:
138
+ disabled: true
139
+ - id: dts_fmt_us
140
+ type: DateTimeSelector
141
+ properties:
142
+ title: MM/DD/YYYY HH:mm (US)
143
+ format: MM/DD/YYYY HH:mm
144
+ label:
145
+ disabled: true
146
+ - id: dts_fmt_long
147
+ type: DateTimeSelector
148
+ properties:
149
+ title: DD MMMM YYYY HH:mm
150
+ format: DD MMMM YYYY HH:mm
151
+ label:
152
+ disabled: true
153
+ - id: dts_fmt_dot
154
+ type: DateTimeSelector
155
+ properties:
156
+ title: DD.MM.YYYY HH:mm
157
+ format: DD.MM.YYYY HH:mm
158
+ label:
159
+ disabled: true
160
+
161
+ - title: Placeholder
162
+ blocks:
163
+ - id: dts_ph_default
164
+ type: DateTimeSelector
165
+ properties:
166
+ title: Default Placeholder
167
+ label:
168
+ disabled: true
169
+ - id: dts_ph_custom
170
+ type: DateTimeSelector
171
+ properties:
172
+ title: Custom Placeholder
173
+ placeholder: Choose date and time...
174
+ label:
175
+ disabled: true
176
+ - id: dts_ph_descriptive
177
+ type: DateTimeSelector
178
+ properties:
179
+ title: Descriptive Placeholder
180
+ placeholder: When did this event occur?
181
+ label:
182
+ disabled: true
183
+ - id: dts_ph_appointment
184
+ type: DateTimeSelector
185
+ properties:
186
+ title: Appointment Placeholder
187
+ placeholder: Select appointment date & time
188
+ label:
189
+ disabled: true
190
+
191
+ - title: Allow Clear
192
+ blocks:
193
+ - id: dts_clear_enabled
194
+ type: DateTimeSelector
195
+ properties:
196
+ title: Allow Clear (default)
197
+ allowClear: true
198
+ label:
199
+ disabled: true
200
+ - id: dts_clear_disabled
201
+ type: DateTimeSelector
202
+ properties:
203
+ title: No Clear Button
204
+ allowClear: false
205
+ label:
206
+ disabled: true
207
+
208
+ - title: Show Today & Show Now
209
+ blocks:
210
+ - id: dts_today_enabled
211
+ type: DateTimeSelector
212
+ properties:
213
+ title: Show Today (default)
214
+ showToday: true
215
+ label:
216
+ disabled: true
217
+ - id: dts_today_disabled
218
+ type: DateTimeSelector
219
+ properties:
220
+ title: No Today Button
221
+ showToday: false
222
+ label:
223
+ disabled: true
224
+ - id: dts_now_enabled
225
+ type: DateTimeSelector
226
+ properties:
227
+ title: Show Now (default)
228
+ showNow: true
229
+ label:
230
+ disabled: true
231
+ - id: dts_now_disabled
232
+ type: DateTimeSelector
233
+ properties:
234
+ title: No Now Button
235
+ showNow: false
236
+ label:
237
+ disabled: true
238
+ - id: dts_both_disabled
239
+ type: DateTimeSelector
240
+ properties:
241
+ title: No Today & No Now
242
+ showToday: false
243
+ showNow: false
244
+ label:
245
+ disabled: true
246
+
247
+ - title: UTC Selection
248
+ blocks:
249
+ - id: dts_utc_off
250
+ type: DateTimeSelector
251
+ properties:
252
+ title: Local Time (default)
253
+ selectUTC: false
254
+ label:
255
+ disabled: true
256
+ - id: dts_utc_on
257
+ type: DateTimeSelector
258
+ properties:
259
+ title: UTC Mode
260
+ selectUTC: true
261
+ label:
262
+ disabled: true
263
+
264
+ - title: Disabled State
265
+ blocks:
266
+ - id: dts_dis_outlined
267
+ type: DateTimeSelector
268
+ properties:
269
+ title: Disabled Outlined
270
+ disabled: true
271
+ variant: outlined
272
+ label:
273
+ disabled: true
274
+ - id: dts_dis_filled
275
+ type: DateTimeSelector
276
+ properties:
277
+ title: Disabled Filled
278
+ disabled: true
279
+ variant: filled
280
+ label:
281
+ disabled: true
282
+ - id: dts_dis_borderless
283
+ type: DateTimeSelector
284
+ properties:
285
+ title: Disabled Borderless
286
+ disabled: true
287
+ variant: borderless
288
+ label:
289
+ disabled: true
290
+ - id: dts_dis_with_label
291
+ type: DateTimeSelector
292
+ properties:
293
+ title: Disabled with Label
294
+ disabled: true
295
+
296
+ - title: Suffix Icon
297
+ blocks:
298
+ - id: dts_icon_default
299
+ type: DateTimeSelector
300
+ properties:
301
+ title: Default Calendar Icon
302
+ label:
303
+ disabled: true
304
+ - id: dts_icon_clock
305
+ type: DateTimeSelector
306
+ properties:
307
+ title: Clock Icon
308
+ suffixIcon: AiOutlineClockCircle
309
+ label:
310
+ disabled: true
311
+ - id: dts_icon_schedule
312
+ type: DateTimeSelector
313
+ properties:
314
+ title: Schedule Icon
315
+ suffixIcon: AiOutlineSchedule
316
+ label:
317
+ disabled: true
318
+ - id: dts_icon_custom_color
319
+ type: DateTimeSelector
320
+ properties:
321
+ title: Custom Color Icon
322
+ suffixIcon:
323
+ name: AiOutlineCalendar
324
+ color: '#1677ff'
325
+ label:
326
+ disabled: true
327
+ - id: dts_icon_heart
328
+ type: DateTimeSelector
329
+ properties:
330
+ title: Heart Icon
331
+ suffixIcon:
332
+ name: AiOutlineHeart
333
+ color: '#ff4d4f'
334
+ label:
335
+ disabled: true
336
+
337
+ - title: Disabled Dates
338
+ blocks:
339
+ - id: dts_dd_min
340
+ type: DateTimeSelector
341
+ properties:
342
+ title: Min Date (2024-01-01)
343
+ disabledDates:
344
+ min: '2024-01-01'
345
+ label:
346
+ disabled: true
347
+ - id: dts_dd_range
348
+ type: DateTimeSelector
349
+ properties:
350
+ title: Min & Max (2024 only)
351
+ disabledDates:
352
+ min: '2024-01-01'
353
+ max: '2024-12-31'
354
+ label:
355
+ disabled: true
356
+ - id: dts_dd_specific
357
+ type: DateTimeSelector
358
+ properties:
359
+ title: Specific Dates Disabled
360
+ disabledDates:
361
+ dates:
362
+ - '2026-03-15'
363
+ - '2026-03-20'
364
+ - '2026-03-25'
365
+ label:
366
+ disabled: true
367
+ - id: dts_dd_ranges
368
+ type: DateTimeSelector
369
+ properties:
370
+ title: Date Ranges Disabled
371
+ disabledDates:
372
+ ranges:
373
+ - ['2026-03-10', '2026-03-14']
374
+ - ['2026-03-20', '2026-03-24']
375
+ label:
376
+ disabled: true
377
+
378
+ - title: Presets
379
+ # The popup is wider than a gallery column, and the card clips what overflows it.
380
+ overflowVisible: true
381
+ blocks:
382
+ - id: dts_presets_relative
383
+ type: DateTimeSelector
384
+ properties:
385
+ title: Relative Presets
386
+ label:
387
+ extra: Shortcuts are listed to the left of the calendar.
388
+ presets:
389
+ - label: Now
390
+ value:
391
+ _date: now
392
+ - label: An hour ago
393
+ value:
394
+ _dayjs:
395
+ - now
396
+ - subtract: [1, hour]
397
+ - label: Yesterday
398
+ value:
399
+ _dayjs:
400
+ - now
401
+ - subtract: [1, day]
402
+ - id: dts_presets_start_of_day
403
+ type: DateTimeSelector
404
+ properties:
405
+ title: Start of Day
406
+ label:
407
+ disabled: true
408
+ presets:
409
+ - label: Today 09:00
410
+ value:
411
+ _dayjs:
412
+ - now
413
+ - startOf: day
414
+ - add: [9, hours]
415
+ - label: Today 17:00
416
+ value:
417
+ _dayjs:
418
+ - now
419
+ - startOf: day
420
+ - add: [17, hours]
421
+ - id: dts_presets_utc
422
+ type: DateTimeSelector
423
+ properties:
424
+ title: UTC Presets
425
+ selectUTC: true
426
+ label:
427
+ extra: With selectUTC, preset dates are read as UTC.
428
+ presets:
429
+ - label: Now (UTC)
430
+ value:
431
+ _date: now
432
+ - label: Midnight UTC
433
+ value:
434
+ _dayjs:
435
+ - now
436
+ - utc
437
+ - startOf: day
438
+
439
+ - title: Label Options
440
+ blocks:
441
+ - id: dts_lbl_default
442
+ type: DateTimeSelector
443
+ properties:
444
+ title: Default Label
445
+ - id: dts_lbl_colon_off
446
+ type: DateTimeSelector
447
+ properties:
448
+ title: No Colon
449
+ label:
450
+ colon: false
451
+ - id: dts_lbl_right
452
+ type: DateTimeSelector
453
+ properties:
454
+ title: Align Right
455
+ label:
456
+ align: right
457
+ - id: dts_lbl_inline
458
+ type: DateTimeSelector
459
+ properties:
460
+ title: Inline Label
461
+ label:
462
+ inline: true
463
+ span: 8
464
+ - id: dts_lbl_extra
465
+ type: DateTimeSelector
466
+ properties:
467
+ title: Appointment Time
468
+ label:
469
+ extra: Select the date and time for your appointment.
470
+ placeholder: Select date & time
471
+ - id: dts_lbl_hidden
472
+ type: DateTimeSelector
473
+ properties:
474
+ title: Hidden Label
475
+ label:
476
+ disabled: true
477
+ placeholder: No label shown
478
+
479
+ - title: Label Inline with Span
480
+ blocks:
481
+ - id: dts_lbl_span_4
482
+ type: DateTimeSelector
483
+ properties:
484
+ title: Span 4
485
+ label:
486
+ inline: true
487
+ span: 4
488
+ - id: dts_lbl_span_8
489
+ type: DateTimeSelector
490
+ properties:
491
+ title: Span 8
492
+ label:
493
+ inline: true
494
+ span: 8
495
+ - id: dts_lbl_span_12
496
+ type: DateTimeSelector
497
+ properties:
498
+ title: Span 12
499
+ label:
500
+ inline: true
501
+ span: 12
502
+
503
+ - title: Custom Style
504
+ blocks:
505
+ - id: dts_style_width
506
+ type: DateTimeSelector
507
+ style:
508
+ width: 400
509
+ properties:
510
+ title: Fixed Width (400px)
511
+ label:
512
+ disabled: true
513
+ - id: dts_style_element
514
+ type: DateTimeSelector
515
+ style:
516
+ .element:
517
+ properties:
518
+ title: Custom Background
519
+ label:
520
+ disabled: true
521
+ - id: dts_style_label
522
+ type: DateTimeSelector
523
+ style:
524
+ .label:
525
+ color: '#531dab'
526
+ fontWeight: bold
527
+ properties:
528
+ title: Styled Label
529
+
530
+ - title: Custom CSS Class
531
+ blocks:
532
+ - id: dts_class_rounded
533
+ type: DateTimeSelector
534
+ class: rounded-lg shadow-sm
535
+ properties:
536
+ title: Rounded with Shadow
537
+ label:
538
+ disabled: true
539
+ - id: dts_class_border
540
+ type: DateTimeSelector
541
+ class: border-2 border-border
542
+ properties:
543
+ title: Blue Border
544
+ label:
545
+ disabled: true
546
+
547
+ - title: Theme Token Overrides
548
+ blocks:
549
+ - id: dts_theme_primary
550
+ type: DateTimeSelector
551
+ properties:
552
+ title: Custom Primary Color
553
+ label:
554
+ disabled: true
555
+ theme:
556
+ colorPrimary: '#722ed1'
557
+ - id: dts_theme_radius
558
+ type: DateTimeSelector
559
+ properties:
560
+ title: Large Border Radius
561
+ label:
562
+ disabled: true
563
+ theme:
564
+ borderRadius: 16
565
+ - id: dts_theme_bg
566
+ type: DateTimeSelector
567
+ properties:
568
+ title: Custom Background
569
+ variant: filled
570
+ label:
571
+ disabled: true
572
+ - id: dts_theme_tall
573
+ type: DateTimeSelector
574
+ properties:
575
+ title: Tall Input
576
+ label:
577
+ disabled: true
578
+ theme:
579
+ controlHeight: 48
580
+ fontSize: 18
581
+ borderRadius: 12
582
+ - id: dts_theme_active_border
583
+ type: DateTimeSelector
584
+ properties:
585
+ title: Custom Active Border
586
+ label:
587
+ disabled: true
588
+ theme:
589
+ activeBorderColor: '#fa8c16'
590
+ hoverBorderColor: '#ffc069'
591
+
592
+ - title: Combined Features
593
+ blocks:
594
+ - id: dts_combo_appointment
595
+ type: DateTimeSelector
596
+ properties:
597
+ title: Appointment Date & Time
598
+ placeholder: Select appointment date & time
599
+ format: DD MMMM YYYY HH:mm
600
+ size: large
601
+ suffixIcon: AiOutlineSchedule
602
+ showToday: true
603
+ showNow: true
604
+ allowClear: true
605
+ minuteStep: 15
606
+ label:
607
+ extra: Choose your preferred appointment date and time.
608
+ colon: false
609
+ - id: dts_combo_minimal
610
+ type: DateTimeSelector
611
+ properties:
612
+ title: Date & Time
613
+ variant: borderless
614
+ size: small
615
+ allowClear: false
616
+ showToday: false
617
+ showNow: false
618
+ format: DD/MM/YYYY HH:mm
619
+ placeholder: dd/mm/yyyy hh:mm
620
+ label:
621
+ disabled: true
622
+ - id: dts_combo_restricted
623
+ type: DateTimeSelector
624
+ properties:
625
+ title: Event Registration
626
+ placeholder: Select event date & time
627
+ format: DD MMM YYYY HH:mm
628
+ minuteStep: 30
629
+ hourStep: 1
630
+ suffixIcon:
631
+ name: AiOutlineCalendar
632
+ color: '#1677ff'
633
+ disabledDates:
634
+ min: '2026-01-01'
635
+ max: '2026-12-31'
636
+ label:
637
+ extra: Only dates in 2026 are available. Times in 30-minute slots.
638
+ - id: dts_combo_utc_large
639
+ type: DateTimeSelector
640
+ properties:
641
+ title: UTC Timestamp
642
+ format: YYYY-MM-DD HH:mm
643
+ selectUTC: true
644
+ size: large
645
+ variant: filled
646
+ suffixIcon: AiOutlineClockCircle
647
+ label:
648
+ extra: Time is recorded in UTC.
649
+ - id: dts_combo_themed
650
+ type: DateTimeSelector
651
+ properties:
652
+ title: Themed Picker
653
+ variant: filled
654
+ size: large
655
+ format: DD MMMM YYYY HH:mm
656
+ placeholder: Choose a special date & time...
657
+ minuteStep: 15
658
+ suffixIcon:
659
+ name: AiOutlineHeart
660
+ color: '#eb2f96'
661
+ label:
662
+ disabled: true
663
+ theme:
664
+ colorPrimary: '#eb2f96'
665
+ borderRadius: 20
666
+ controlHeightLG: 48
667
+ fontSize: 16
668
+
669
+ - title: DateTimeSelector in Appointment Booking
670
+ blocks:
671
+ - id: applied2_appt_card
672
+ type: Card
673
+ properties:
674
+ title: Book an Appointment
675
+ blocks:
676
+ - id: applied2_appt_datetime
677
+ type: DateTimeSelector
678
+ properties:
679
+ title: Appointment Date & Time
680
+ placeholder: Select date and time
681
+ format: DD MMMM YYYY HH:mm
682
+ minuteStep: 15
683
+ size: large
684
+ suffixIcon: AiOutlineSchedule
685
+ label:
686
+ extra: Appointments are available in 15-minute slots.
687
+ disabledDates:
688
+ min: '2026-03-15'
689
+ - id: applied2_appt_service
690
+ type: Selector
691
+ properties:
692
+ title: Service
693
+ placeholder: Select a service...
694
+ options:
695
+ - label: General Consultation
696
+ value: general
697
+ - label: Follow-Up Visit
698
+ value: followup
699
+ - label: Specialist Referral
700
+ value: specialist
701
+ - label: Annual Check-Up
702
+ value: annual
703
+ - id: applied2_appt_notes
704
+ type: TextArea
705
+ properties:
706
+ title: Additional Notes
707
+ placeholder: Any details the provider should know...
708
+ label:
709
+ extra: Optional. Share symptoms or questions in advance.
710
+ - id: applied2_appt_book_btn
711
+ type: Button
712
+ properties:
713
+ title: Book Appointment
714
+ icon: AiOutlineCalendar
715
+ type: primary
716
+ size: large
717
+ block: true
718
+ events:
719
+ onClick:
720
+ - id: book_appt_action
721
+ type: DisplayMessage
722
+ params:
723
+ content: Appointment booked successfully! A confirmation email has been sent.
724
+ duration: 3
725
+
726
+ - title: DateTimeSelector in Meeting Scheduler
727
+ blocks:
728
+ - id: applied3_meeting_card
729
+ type: Card
730
+ properties:
731
+ title: Schedule a Meeting
732
+ blocks:
733
+ - id: applied3_meeting_title
734
+ type: TextInput
735
+ properties:
736
+ title: Meeting Title
737
+ placeholder: Enter meeting subject...
738
+ - id: applied3_meeting_datetime
739
+ type: DateTimeSelector
740
+ properties:
741
+ title: Meeting Date & Time
742
+ placeholder: Select meeting date and time
743
+ format: DD MMMM YYYY HH:mm
744
+ minuteStep: 15
745
+ suffixIcon: AiOutlineClockCircle
746
+ label:
747
+ extra: Meetings are scheduled in 15-minute increments.
748
+ disabledDates:
749
+ min: '2026-03-13'
750
+ events:
751
+ onChange:
752
+ - id: meeting_datetime_change
753
+ type: SetState
754
+ params:
755
+ meetingDateSelected: true
756
+ - id: applied3_meeting_schedule_btn
757
+ type: Button
758
+ properties:
759
+ title: Schedule Meeting
760
+ icon: AiOutlineSchedule
761
+ type: primary
762
+ size: large
763
+ block: true
764
+ events:
765
+ onClick:
766
+ - id: schedule_meeting_action
767
+ type: DisplayMessage
768
+ params:
769
+ content: Meeting scheduled! Calendar invites will be sent to all participants.
770
+ duration: 3