@lowdefy/blocks-antd 5.6.0 → 6.1.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.
- package/dist/TagPillRow.js +88 -0
- package/dist/blocks/Affix/gallery.yaml +399 -0
- package/dist/blocks/Affix/tests/Affix.e2e.yaml +72 -0
- package/dist/blocks/Affix/tests.yaml +29 -0
- package/dist/blocks/Alert/gallery.yaml +701 -0
- package/dist/blocks/Alert/tests/Alert.e2e.yaml +161 -0
- package/dist/blocks/Alert/tests.yaml +261 -0
- package/dist/blocks/AutoComplete/gallery.yaml +713 -0
- package/dist/blocks/AutoComplete/tests/AutoComplete.e2e.yaml +330 -0
- package/dist/blocks/AutoComplete/tests.yaml +178 -0
- package/dist/blocks/Avatar/gallery.yaml +1037 -0
- package/dist/blocks/Avatar/tests/Avatar.e2e.yaml +125 -0
- package/dist/blocks/Avatar/tests.yaml +76 -0
- package/dist/blocks/Badge/gallery.yaml +1090 -0
- package/dist/blocks/Badge/tests/Badge.e2e.yaml +195 -0
- package/dist/blocks/Badge/tests.yaml +91 -0
- package/dist/blocks/Breadcrumb/gallery.yaml +484 -0
- package/dist/blocks/Breadcrumb/tests/Breadcrumb.e2e.yaml +165 -0
- package/dist/blocks/Breadcrumb/tests.yaml +106 -0
- package/dist/blocks/Button/Button.js +11 -2
- package/dist/blocks/Button/gallery.yaml +718 -0
- package/dist/blocks/Button/meta.js +4 -0
- package/dist/blocks/Button/tests/Button.e2e.yaml +246 -0
- package/dist/blocks/Button/tests.yaml +109 -0
- package/dist/blocks/ButtonSelector/gallery.yaml +891 -0
- package/dist/blocks/ButtonSelector/tests/ButtonSelector.e2e.yaml +188 -0
- package/dist/blocks/ButtonSelector/tests.yaml +167 -0
- package/dist/blocks/Calendar/gallery.yaml +128 -0
- package/dist/blocks/Calendar/tests/Calendar.e2e.yaml +136 -0
- package/dist/blocks/Calendar/tests.yaml +50 -0
- package/dist/blocks/Card/gallery.yaml +1035 -0
- package/dist/blocks/Card/tests/Card.e2e.yaml +209 -0
- package/dist/blocks/Card/tests.yaml +75 -0
- package/dist/blocks/Carousel/gallery.yaml +1971 -0
- package/dist/blocks/Carousel/tests/Carousel.e2e.yaml +211 -0
- package/dist/blocks/Carousel/tests.yaml +117 -0
- package/dist/blocks/CheckboxSelector/gallery.yaml +781 -0
- package/dist/blocks/CheckboxSelector/tests/CheckboxSelector.e2e.yaml +272 -0
- package/dist/blocks/CheckboxSelector/tests.yaml +325 -0
- package/dist/blocks/CheckboxSwitch/gallery.yaml +457 -0
- package/dist/blocks/CheckboxSwitch/tests/CheckboxSwitch.e2e.yaml +126 -0
- package/dist/blocks/CheckboxSwitch/tests.yaml +96 -0
- package/dist/blocks/Collapse/gallery.yaml +1079 -0
- package/dist/blocks/Collapse/tests/Collapse.e2e.yaml +206 -0
- package/dist/blocks/Collapse/tests.yaml +265 -0
- package/dist/blocks/ColorSelector/gallery.yaml +807 -0
- package/dist/blocks/ColorSelector/tests/ColorSelector.e2e.yaml +77 -0
- package/dist/blocks/ColorSelector/tests.yaml +84 -0
- package/dist/blocks/ConfigProvider/gallery.yaml +1003 -0
- package/dist/blocks/ConfigProvider/tests.yaml +62 -0
- package/dist/blocks/ConfirmModal/gallery.yaml +1043 -0
- package/dist/blocks/ConfirmModal/tests/ConfirmModal.e2e.yaml +410 -0
- package/dist/blocks/ConfirmModal/tests.yaml +95 -0
- package/dist/blocks/Content/gallery.yaml +528 -0
- package/dist/blocks/Content/tests/Content.e2e.yaml +71 -0
- package/dist/blocks/Content/tests.yaml +42 -0
- package/dist/blocks/ControlledList/ControlledList.js +1 -1
- package/dist/blocks/ControlledList/gallery.yaml +481 -0
- package/dist/blocks/ControlledList/{style.module.css → style.css} +3 -3
- package/dist/blocks/ControlledList/tests/ControlledList.e2e.yaml +161 -0
- package/dist/blocks/ControlledList/tests.yaml +57 -0
- package/dist/blocks/DateRangeSelector/DateRangeSelector.js +7 -0
- package/dist/blocks/DateRangeSelector/e2e.js +28 -2
- package/dist/blocks/DateRangeSelector/gallery.yaml +858 -0
- package/dist/blocks/DateRangeSelector/meta.js +2 -0
- package/dist/blocks/DateRangeSelector/tests/DateRangeSelector.e2e.yaml +204 -0
- package/dist/blocks/DateRangeSelector/tests.yaml +129 -0
- package/dist/blocks/DateSelector/DateSelector.js +6 -0
- package/dist/blocks/DateSelector/e2e.js +28 -2
- package/dist/blocks/DateSelector/gallery.yaml +691 -0
- package/dist/blocks/DateSelector/meta.js +6 -0
- package/dist/blocks/DateSelector/tests/DateSelector.e2e.yaml +229 -0
- package/dist/blocks/DateSelector/tests.yaml +117 -0
- package/dist/blocks/DateTimeSelector/DateTimeSelector.js +7 -0
- package/dist/blocks/DateTimeSelector/e2e.js +26 -2
- package/dist/blocks/DateTimeSelector/gallery.yaml +770 -0
- package/dist/blocks/DateTimeSelector/meta.js +2 -0
- package/dist/blocks/DateTimeSelector/tests/DateTimeSelector.e2e.yaml +163 -0
- package/dist/blocks/DateTimeSelector/tests.yaml +140 -0
- package/dist/blocks/Descriptions/gallery.yaml +839 -0
- package/dist/blocks/Descriptions/tests/Descriptions.e2e.yaml +143 -0
- package/dist/blocks/Descriptions/tests.yaml +256 -0
- package/dist/blocks/Divider/gallery.yaml +375 -0
- package/dist/blocks/Divider/tests/Divider.e2e.yaml +107 -0
- package/dist/blocks/Divider/tests.yaml +58 -0
- package/dist/blocks/Drawer/gallery.yaml +1257 -0
- package/dist/blocks/Drawer/tests/Drawer.e2e.yaml +562 -0
- package/dist/blocks/Drawer/tests.yaml +80 -0
- package/dist/blocks/DropdownButton/gallery.yaml +606 -0
- package/dist/blocks/DropdownButton/tests/DropdownButton.e2e.yaml +243 -0
- package/dist/blocks/DropdownMenu/gallery.yaml +578 -0
- package/dist/blocks/DropdownMenu/tests/DropdownMenu.e2e.yaml +267 -0
- package/dist/blocks/Flex/gallery.yaml +1416 -0
- package/dist/blocks/Flex/tests/Flex.e2e.yaml +95 -0
- package/dist/blocks/Flex/tests.yaml +92 -0
- package/dist/blocks/FloatButton/gallery.yaml +518 -0
- package/dist/blocks/FloatButton/tests/FloatButton.e2e.yaml +73 -0
- package/dist/blocks/FloatButton/tests.yaml +59 -0
- package/dist/blocks/Footer/gallery.yaml +355 -0
- package/dist/blocks/Footer/tests/Footer.e2e.yaml +70 -0
- package/dist/blocks/Footer/tests.yaml +28 -0
- package/dist/blocks/Header/gallery.yaml +249 -0
- package/dist/blocks/Header/tests/Header.e2e.yaml +77 -0
- package/dist/blocks/Header/tests.yaml +36 -0
- package/dist/blocks/Label/Label.js +1 -1
- package/dist/blocks/Label/gallery.yaml +762 -0
- package/dist/blocks/Label/{style.module.css → style.css} +28 -28
- package/dist/blocks/Label/tests/Label.e2e.yaml +247 -0
- package/dist/blocks/Label/tests.yaml +212 -0
- package/dist/blocks/Layout/gallery.yaml +548 -0
- package/dist/blocks/Layout/tests/Layout.e2e.yaml +86 -0
- package/dist/blocks/Layout/tests.yaml +28 -0
- package/dist/blocks/ListSelector/gallery.yaml +223 -0
- package/dist/blocks/Masonry/gallery.yaml +989 -0
- package/dist/blocks/Masonry/tests/Masonry.e2e.yaml +128 -0
- package/dist/blocks/Masonry/tests.yaml +42 -0
- package/dist/blocks/MasonryList/gallery.yaml +224 -0
- package/dist/blocks/MasonryList/tests/MasonryList.e2e.yaml +55 -0
- package/dist/blocks/MasonryList/tests.yaml +42 -0
- package/dist/blocks/Menu/gallery.yaml +974 -0
- package/dist/blocks/Menu/tests/Menu.e2e.yaml +484 -0
- package/dist/blocks/Menu/tests.yaml +1053 -0
- package/dist/blocks/Message/gallery.yaml +860 -0
- package/dist/blocks/Message/tests/Message.e2e.yaml +246 -0
- package/dist/blocks/Message/tests.yaml +54 -0
- package/dist/blocks/MobileMenu/gallery.yaml +1172 -0
- package/dist/blocks/MobileMenu/tests/MobileMenu.e2e.yaml +314 -0
- package/dist/blocks/MobileMenu/tests.yaml +359 -0
- package/dist/blocks/Modal/gallery.yaml +1039 -0
- package/dist/blocks/Modal/tests/Modal.e2e.yaml +493 -0
- package/dist/blocks/Modal/tests.yaml +75 -0
- package/dist/blocks/MonthSelector/MonthSelector.js +6 -0
- package/dist/blocks/MonthSelector/e2e.js +26 -2
- package/dist/blocks/MonthSelector/gallery.yaml +687 -0
- package/dist/blocks/MonthSelector/meta.js +6 -0
- package/dist/blocks/MonthSelector/tests/MonthSelector.e2e.yaml +167 -0
- package/dist/blocks/MonthSelector/tests.yaml +124 -0
- package/dist/blocks/MultipleSelector/gallery.yaml +1245 -0
- package/dist/blocks/MultipleSelector/tests/MultipleSelector.e2e.yaml +445 -0
- package/dist/blocks/MultipleSelector/tests.yaml +201 -0
- package/dist/blocks/Notification/gallery.yaml +1376 -0
- package/dist/blocks/Notification/tests/Notification.e2e.yaml +362 -0
- package/dist/blocks/Notification/tests.yaml +97 -0
- package/dist/blocks/NumberInput/gallery.yaml +753 -0
- package/dist/blocks/NumberInput/tests/NumberInput.e2e.yaml +228 -0
- package/dist/blocks/NumberInput/tests.yaml +116 -0
- package/dist/blocks/PageHeaderMenu/PageHeaderMenu.js +1 -1
- package/dist/blocks/PageHeaderMenu/gallery.yaml +480 -0
- package/dist/blocks/PageHeaderMenu/tests/PageHeaderMenu.e2e.yaml +110 -0
- package/dist/blocks/PageHeaderMenu/tests.yaml +173 -0
- package/dist/blocks/PageSidebarLayout/PageSidebarLayout.js +10 -1
- package/dist/blocks/PageSidebarLayout/gallery.yaml +302 -0
- package/dist/blocks/PageSidebarLayout/meta.js +1 -0
- package/dist/blocks/PageSidebarLayout/tests/PageSidebarLayout.e2e.yaml +216 -0
- package/dist/blocks/PageSidebarLayout/tests.yaml +174 -0
- package/dist/blocks/PageSiderMenu/PageSiderMenu.js +1 -1
- package/dist/blocks/PageSiderMenu/gallery.yaml +516 -0
- package/dist/blocks/PageSiderMenu/tests/PageSiderMenu.e2e.yaml +175 -0
- package/dist/blocks/PageSiderMenu/tests.yaml +211 -0
- package/dist/blocks/Pagination/gallery.yaml +503 -0
- package/dist/blocks/Pagination/tests/Pagination.e2e.yaml +159 -0
- package/dist/blocks/Pagination/tests.yaml +80 -0
- package/dist/blocks/Paragraph/gallery.yaml +458 -0
- package/dist/blocks/Paragraph/tests/Paragraph.e2e.yaml +153 -0
- package/dist/blocks/Paragraph/tests.yaml +176 -0
- package/dist/blocks/ParagraphInput/gallery.yaml +1483 -0
- package/dist/blocks/ParagraphInput/tests/ParagraphInput.e2e.yaml +189 -0
- package/dist/blocks/ParagraphInput/tests.yaml +163 -0
- package/dist/blocks/PasswordInput/gallery.yaml +420 -0
- package/dist/blocks/PasswordInput/tests/PasswordInput.e2e.yaml +188 -0
- package/dist/blocks/PasswordInput/tests.yaml +78 -0
- package/dist/blocks/PhoneNumberInput/gallery.yaml +677 -0
- package/dist/blocks/PhoneNumberInput/tests/PhoneNumberInput.e2e.yaml +279 -0
- package/dist/blocks/PhoneNumberInput/tests.yaml +25 -0
- package/dist/blocks/Popover/gallery.yaml +1301 -0
- package/dist/blocks/Popover/tests/Popover.e2e.yaml +249 -0
- package/dist/blocks/Popover/tests.yaml +105 -0
- package/dist/blocks/Progress/gallery.yaml +772 -0
- package/dist/blocks/Progress/tests/Progress.e2e.yaml +167 -0
- package/dist/blocks/Progress/tests.yaml +114 -0
- package/dist/blocks/QRCode/gallery.yaml +492 -0
- package/dist/blocks/QRCode/tests/QRCode.e2e.yaml +66 -0
- package/dist/blocks/QRCode/tests.yaml +113 -0
- package/dist/blocks/RadioSelector/gallery.yaml +816 -0
- package/dist/blocks/RadioSelector/tests/RadioSelector.e2e.yaml +269 -0
- package/dist/blocks/RadioSelector/tests.yaml +339 -0
- package/dist/blocks/RatingSlider/gallery.yaml +627 -0
- package/dist/blocks/RatingSlider/tests/RatingSlider.e2e.yaml +188 -0
- package/dist/blocks/RatingSlider/tests.yaml +116 -0
- package/dist/blocks/Result/gallery.yaml +925 -0
- package/dist/blocks/Result/tests/Result.e2e.yaml +126 -0
- package/dist/blocks/Result/tests.yaml +75 -0
- package/dist/blocks/Search/Search.js +1 -1
- package/dist/blocks/Search/SearchModal.js +18 -9
- package/dist/blocks/Search/gallery.yaml +170 -0
- package/dist/blocks/Search/meta.js +2 -1
- package/dist/blocks/Search/{style.module.css → style.css} +19 -12
- package/dist/blocks/Search/tests/Search.e2e.yaml +125 -0
- package/dist/blocks/Search/useSearchIndex.js +24 -2
- package/dist/blocks/SegmentedSelector/gallery.yaml +725 -0
- package/dist/blocks/SegmentedSelector/tests/SegmentedSelector.e2e.yaml +115 -0
- package/dist/blocks/SegmentedSelector/tests.yaml +141 -0
- package/dist/blocks/Selector/gallery.yaml +1055 -0
- package/dist/blocks/Selector/tests/Selector.e2e.yaml +427 -0
- package/dist/blocks/Selector/tests.yaml +196 -0
- package/dist/blocks/Sider/gallery.yaml +994 -0
- package/dist/blocks/Sider/tests/Sider.e2e.yaml +162 -0
- package/dist/blocks/Sider/tests.yaml +20 -0
- package/dist/blocks/Slider/gallery.yaml +600 -0
- package/dist/blocks/Slider/tests/Slider.e2e.yaml +190 -0
- package/dist/blocks/Slider/tests.yaml +68 -0
- package/dist/blocks/Splitter/gallery.yaml +1511 -0
- package/dist/blocks/Splitter/tests/Splitter.e2e.yaml +114 -0
- package/dist/blocks/Splitter/tests.yaml +79 -0
- package/dist/blocks/Statistic/gallery.yaml +460 -0
- package/dist/blocks/Statistic/tests/Statistic.e2e.yaml +137 -0
- package/dist/blocks/Statistic/tests.yaml +77 -0
- package/dist/blocks/Steps/gallery.yaml +550 -0
- package/dist/blocks/Switch/gallery.yaml +502 -0
- package/dist/blocks/Switch/tests/Switch.e2e.yaml +132 -0
- package/dist/blocks/Switch/tests.yaml +87 -0
- package/dist/blocks/Tabs/gallery.yaml +1353 -0
- package/dist/blocks/Tabs/tests/Tabs.e2e.yaml +370 -0
- package/dist/blocks/Tabs/tests.yaml +349 -0
- package/dist/blocks/Tag/gallery.yaml +598 -0
- package/dist/blocks/Tag/tests/Tag.e2e.yaml +173 -0
- package/dist/blocks/Tag/tests.yaml +51 -0
- package/dist/blocks/TagMultipleSelector/TagMultipleSelector.js +53 -0
- package/dist/blocks/TagMultipleSelector/e2e.js +36 -0
- package/dist/blocks/TagMultipleSelector/gallery.yaml +70 -0
- package/dist/blocks/TagMultipleSelector/meta.js +91 -0
- package/dist/blocks/TagMultipleSelector/tests/TagMultipleSelector.e2e.yaml +93 -0
- package/dist/blocks/TagSelector/TagSelector.js +49 -0
- package/dist/blocks/TagSelector/e2e.js +36 -0
- package/dist/blocks/TagSelector/gallery.yaml +70 -0
- package/dist/blocks/TagSelector/meta.js +91 -0
- package/dist/blocks/TagSelector/tests/TagSelector.e2e.yaml +93 -0
- package/dist/blocks/TextArea/gallery.yaml +618 -0
- package/dist/blocks/TextArea/tests/TextArea.e2e.yaml +218 -0
- package/dist/blocks/TextArea/tests.yaml +100 -0
- package/dist/blocks/TextInput/gallery.yaml +560 -0
- package/dist/blocks/TextInput/tests/TextInput.e2e.yaml +287 -0
- package/dist/blocks/TextInput/tests.yaml +114 -0
- package/dist/blocks/TimelineList/gallery.yaml +431 -0
- package/dist/blocks/TimelineList/tests/TimelineList.e2e.yaml +244 -0
- package/dist/blocks/TimelineList/tests.yaml +251 -0
- package/dist/blocks/Title/gallery.yaml +483 -0
- package/dist/blocks/Title/tests/Title.e2e.yaml +180 -0
- package/dist/blocks/Title/tests.yaml +175 -0
- package/dist/blocks/TitleInput/gallery.yaml +1006 -0
- package/dist/blocks/TitleInput/tests/TitleInput.e2e.yaml +195 -0
- package/dist/blocks/TitleInput/tests.yaml +181 -0
- package/dist/blocks/Tooltip/gallery.yaml +1214 -0
- package/dist/blocks/Tooltip/tests/Tooltip.e2e.yaml +195 -0
- package/dist/blocks/Tooltip/tests.yaml +92 -0
- package/dist/blocks/Tour/gallery.yaml +2305 -0
- package/dist/blocks/Tour/tests/Tour.e2e.yaml +90 -0
- package/dist/blocks/Tour/tests.yaml +151 -0
- package/dist/blocks/TreeInput/gallery.yaml +78 -0
- package/dist/blocks/TreeInput/tests/TreeInput.e2e.yaml +139 -0
- package/dist/blocks/TreeInput/tests.yaml +140 -0
- package/dist/blocks/TreeMultipleSelector/gallery.yaml +67 -0
- package/dist/blocks/TreeSelector/gallery.yaml +81 -0
- package/dist/blocks/Watermark/gallery.yaml +479 -0
- package/dist/blocks/Watermark/tests/Watermark.e2e.yaml +62 -0
- package/dist/blocks/Watermark/tests.yaml +86 -0
- package/dist/blocks/WeekSelector/WeekSelector.js +6 -0
- package/dist/blocks/WeekSelector/e2e.js +26 -2
- package/dist/blocks/WeekSelector/gallery.yaml +589 -0
- package/dist/blocks/WeekSelector/meta.js +6 -0
- package/dist/blocks/WeekSelector/tests/WeekSelector.e2e.yaml +154 -0
- package/dist/blocks/WeekSelector/tests.yaml +122 -0
- package/dist/blocks.js +2 -0
- package/dist/disabledDate.js +91 -19
- package/dist/e2e.js +2 -0
- package/dist/getPresets.js +151 -0
- package/dist/getTagColor.js +44 -0
- package/dist/getTagSelectorOptions.js +30 -0
- package/dist/metas.js +2 -0
- package/dist/pickerPresetsStyle.css +26 -0
- package/dist/schemas/disabledDates.js +6 -2
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/presets.js +111 -0
- package/dist/tagSelectorStyle.css +68 -0
- package/package.json +13 -13
|
@@ -0,0 +1,858 @@
|
|
|
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: drs_size_small
|
|
18
|
+
type: DateRangeSelector
|
|
19
|
+
properties:
|
|
20
|
+
title: Small
|
|
21
|
+
size: small
|
|
22
|
+
- id: drs_size_default
|
|
23
|
+
type: DateRangeSelector
|
|
24
|
+
properties:
|
|
25
|
+
title: Default
|
|
26
|
+
- id: drs_size_large
|
|
27
|
+
type: DateRangeSelector
|
|
28
|
+
properties:
|
|
29
|
+
title: Large
|
|
30
|
+
size: large
|
|
31
|
+
|
|
32
|
+
- title: Variants
|
|
33
|
+
blocks:
|
|
34
|
+
- id: drs_variant_outlined
|
|
35
|
+
type: DateRangeSelector
|
|
36
|
+
properties:
|
|
37
|
+
title: Outlined (default)
|
|
38
|
+
variant: outlined
|
|
39
|
+
label:
|
|
40
|
+
disabled: true
|
|
41
|
+
- id: drs_variant_filled
|
|
42
|
+
type: DateRangeSelector
|
|
43
|
+
properties:
|
|
44
|
+
title: Filled
|
|
45
|
+
variant: filled
|
|
46
|
+
label:
|
|
47
|
+
disabled: true
|
|
48
|
+
- id: drs_variant_borderless
|
|
49
|
+
type: DateRangeSelector
|
|
50
|
+
properties:
|
|
51
|
+
title: Borderless
|
|
52
|
+
variant: borderless
|
|
53
|
+
label:
|
|
54
|
+
disabled: true
|
|
55
|
+
|
|
56
|
+
- title: Format Variations
|
|
57
|
+
blocks:
|
|
58
|
+
- id: drs_format_iso
|
|
59
|
+
type: DateRangeSelector
|
|
60
|
+
properties:
|
|
61
|
+
title: YYYY-MM-DD (ISO)
|
|
62
|
+
format: YYYY-MM-DD
|
|
63
|
+
label:
|
|
64
|
+
disabled: true
|
|
65
|
+
- id: drs_format_slash
|
|
66
|
+
type: DateRangeSelector
|
|
67
|
+
properties:
|
|
68
|
+
title: DD/MM/YYYY
|
|
69
|
+
format: DD/MM/YYYY
|
|
70
|
+
label:
|
|
71
|
+
disabled: true
|
|
72
|
+
- id: drs_format_us
|
|
73
|
+
type: DateRangeSelector
|
|
74
|
+
properties:
|
|
75
|
+
title: MM/DD/YYYY (US)
|
|
76
|
+
format: MM/DD/YYYY
|
|
77
|
+
label:
|
|
78
|
+
disabled: true
|
|
79
|
+
- id: drs_format_long
|
|
80
|
+
type: DateRangeSelector
|
|
81
|
+
properties:
|
|
82
|
+
title: DD MMMM YYYY
|
|
83
|
+
format: DD MMMM YYYY
|
|
84
|
+
label:
|
|
85
|
+
disabled: true
|
|
86
|
+
- id: drs_format_dot
|
|
87
|
+
type: DateRangeSelector
|
|
88
|
+
properties:
|
|
89
|
+
title: DD.MM.YYYY
|
|
90
|
+
format: DD.MM.YYYY
|
|
91
|
+
label:
|
|
92
|
+
disabled: true
|
|
93
|
+
|
|
94
|
+
- title: Placeholder Options
|
|
95
|
+
blocks:
|
|
96
|
+
- id: drs_ph_default
|
|
97
|
+
type: DateRangeSelector
|
|
98
|
+
properties:
|
|
99
|
+
title: Default Placeholders
|
|
100
|
+
label:
|
|
101
|
+
disabled: true
|
|
102
|
+
- id: drs_ph_custom
|
|
103
|
+
type: DateRangeSelector
|
|
104
|
+
properties:
|
|
105
|
+
title: Custom Placeholders
|
|
106
|
+
placeholder:
|
|
107
|
+
- From
|
|
108
|
+
- To
|
|
109
|
+
label:
|
|
110
|
+
disabled: true
|
|
111
|
+
- id: drs_ph_hotel
|
|
112
|
+
type: DateRangeSelector
|
|
113
|
+
properties:
|
|
114
|
+
title: Hotel Booking
|
|
115
|
+
placeholder:
|
|
116
|
+
- Check-in date
|
|
117
|
+
- Check-out date
|
|
118
|
+
label:
|
|
119
|
+
disabled: true
|
|
120
|
+
- id: drs_ph_project
|
|
121
|
+
type: DateRangeSelector
|
|
122
|
+
properties:
|
|
123
|
+
title: Project Timeline
|
|
124
|
+
placeholder:
|
|
125
|
+
- Start date
|
|
126
|
+
- End date
|
|
127
|
+
label:
|
|
128
|
+
disabled: true
|
|
129
|
+
- id: drs_ph_report
|
|
130
|
+
type: DateRangeSelector
|
|
131
|
+
properties:
|
|
132
|
+
title: Report Period
|
|
133
|
+
placeholder:
|
|
134
|
+
- Period start
|
|
135
|
+
- Period end
|
|
136
|
+
label:
|
|
137
|
+
disabled: true
|
|
138
|
+
|
|
139
|
+
- title: Custom Separator
|
|
140
|
+
blocks:
|
|
141
|
+
- id: drs_sep_tilde
|
|
142
|
+
type: DateRangeSelector
|
|
143
|
+
properties:
|
|
144
|
+
title: Tilde (default)
|
|
145
|
+
separator: '~'
|
|
146
|
+
label:
|
|
147
|
+
disabled: true
|
|
148
|
+
- id: drs_sep_dash
|
|
149
|
+
type: DateRangeSelector
|
|
150
|
+
properties:
|
|
151
|
+
title: Dash
|
|
152
|
+
separator: '-'
|
|
153
|
+
label:
|
|
154
|
+
disabled: true
|
|
155
|
+
- id: drs_sep_to
|
|
156
|
+
type: DateRangeSelector
|
|
157
|
+
properties:
|
|
158
|
+
title: Text "to"
|
|
159
|
+
separator: to
|
|
160
|
+
label:
|
|
161
|
+
disabled: true
|
|
162
|
+
- id: drs_sep_arrow
|
|
163
|
+
type: DateRangeSelector
|
|
164
|
+
properties:
|
|
165
|
+
title: Arrow
|
|
166
|
+
separator: '→'
|
|
167
|
+
label:
|
|
168
|
+
disabled: true
|
|
169
|
+
- id: drs_sep_pipe
|
|
170
|
+
type: DateRangeSelector
|
|
171
|
+
properties:
|
|
172
|
+
title: Pipe
|
|
173
|
+
separator: '|'
|
|
174
|
+
label:
|
|
175
|
+
disabled: true
|
|
176
|
+
|
|
177
|
+
- title: Suffix Icon
|
|
178
|
+
blocks:
|
|
179
|
+
- id: drs_icon_default
|
|
180
|
+
type: DateRangeSelector
|
|
181
|
+
properties:
|
|
182
|
+
title: Default Calendar Icon
|
|
183
|
+
label:
|
|
184
|
+
disabled: true
|
|
185
|
+
- id: drs_icon_clock
|
|
186
|
+
type: DateRangeSelector
|
|
187
|
+
properties:
|
|
188
|
+
title: Clock Icon
|
|
189
|
+
suffixIcon: AiOutlineClockCircle
|
|
190
|
+
label:
|
|
191
|
+
disabled: true
|
|
192
|
+
- id: drs_icon_schedule
|
|
193
|
+
type: DateRangeSelector
|
|
194
|
+
properties:
|
|
195
|
+
title: Schedule Icon
|
|
196
|
+
suffixIcon: AiOutlineSchedule
|
|
197
|
+
label:
|
|
198
|
+
disabled: true
|
|
199
|
+
- id: drs_icon_custom_color
|
|
200
|
+
type: DateRangeSelector
|
|
201
|
+
properties:
|
|
202
|
+
title: Custom Color Icon
|
|
203
|
+
suffixIcon:
|
|
204
|
+
name: AiOutlineCalendar
|
|
205
|
+
color: '#1677ff'
|
|
206
|
+
label:
|
|
207
|
+
disabled: true
|
|
208
|
+
- id: drs_icon_heart
|
|
209
|
+
type: DateRangeSelector
|
|
210
|
+
properties:
|
|
211
|
+
title: Heart Icon
|
|
212
|
+
suffixIcon:
|
|
213
|
+
name: AiOutlineHeart
|
|
214
|
+
color: '#ff4d4f'
|
|
215
|
+
label:
|
|
216
|
+
disabled: true
|
|
217
|
+
|
|
218
|
+
- title: Disabled State
|
|
219
|
+
blocks:
|
|
220
|
+
- id: drs_dis_default
|
|
221
|
+
type: DateRangeSelector
|
|
222
|
+
properties:
|
|
223
|
+
title: Disabled
|
|
224
|
+
disabled: true
|
|
225
|
+
label:
|
|
226
|
+
disabled: true
|
|
227
|
+
- id: drs_dis_outlined
|
|
228
|
+
type: DateRangeSelector
|
|
229
|
+
properties:
|
|
230
|
+
title: Disabled Outlined
|
|
231
|
+
disabled: true
|
|
232
|
+
variant: outlined
|
|
233
|
+
label:
|
|
234
|
+
disabled: true
|
|
235
|
+
- id: drs_dis_filled
|
|
236
|
+
type: DateRangeSelector
|
|
237
|
+
properties:
|
|
238
|
+
title: Disabled Filled
|
|
239
|
+
disabled: true
|
|
240
|
+
variant: filled
|
|
241
|
+
label:
|
|
242
|
+
disabled: true
|
|
243
|
+
- id: drs_dis_borderless
|
|
244
|
+
type: DateRangeSelector
|
|
245
|
+
properties:
|
|
246
|
+
title: Disabled Borderless
|
|
247
|
+
disabled: true
|
|
248
|
+
variant: borderless
|
|
249
|
+
label:
|
|
250
|
+
disabled: true
|
|
251
|
+
|
|
252
|
+
- title: Disabled Dates
|
|
253
|
+
blocks:
|
|
254
|
+
- id: drs_dd_min
|
|
255
|
+
type: DateRangeSelector
|
|
256
|
+
properties:
|
|
257
|
+
title: Min Date (2024-01-01)
|
|
258
|
+
disabledDates:
|
|
259
|
+
min: '2024-01-01'
|
|
260
|
+
label:
|
|
261
|
+
disabled: true
|
|
262
|
+
- id: drs_dd_range
|
|
263
|
+
type: DateRangeSelector
|
|
264
|
+
properties:
|
|
265
|
+
title: Min & Max (2024 only)
|
|
266
|
+
disabledDates:
|
|
267
|
+
min: '2024-01-01'
|
|
268
|
+
max: '2024-12-31'
|
|
269
|
+
label:
|
|
270
|
+
disabled: true
|
|
271
|
+
- id: drs_dd_specific
|
|
272
|
+
type: DateRangeSelector
|
|
273
|
+
properties:
|
|
274
|
+
title: Specific Dates Disabled
|
|
275
|
+
disabledDates:
|
|
276
|
+
dates:
|
|
277
|
+
- '2026-03-15'
|
|
278
|
+
- '2026-03-20'
|
|
279
|
+
- '2026-03-25'
|
|
280
|
+
label:
|
|
281
|
+
disabled: true
|
|
282
|
+
- id: drs_dd_ranges
|
|
283
|
+
type: DateRangeSelector
|
|
284
|
+
properties:
|
|
285
|
+
title: Date Ranges Disabled
|
|
286
|
+
disabledDates:
|
|
287
|
+
ranges:
|
|
288
|
+
- ['2026-03-10', '2026-03-14']
|
|
289
|
+
- ['2026-03-20', '2026-03-24']
|
|
290
|
+
label:
|
|
291
|
+
disabled: true
|
|
292
|
+
|
|
293
|
+
- title: Preset Ranges
|
|
294
|
+
# The popup is wider than a gallery column, and the card clips what overflows it.
|
|
295
|
+
overflowVisible: true
|
|
296
|
+
blocks:
|
|
297
|
+
- id: drs_presets_relative
|
|
298
|
+
type: DateRangeSelector
|
|
299
|
+
properties:
|
|
300
|
+
title: Relative Ranges
|
|
301
|
+
label:
|
|
302
|
+
extra: Shortcuts are listed to the left of the calendar.
|
|
303
|
+
presets:
|
|
304
|
+
- label: Last 7 Days
|
|
305
|
+
value:
|
|
306
|
+
- _dayjs:
|
|
307
|
+
- now
|
|
308
|
+
- subtract: [7, days]
|
|
309
|
+
- format: YYYY-MM-DD
|
|
310
|
+
- _dayjs:
|
|
311
|
+
- now
|
|
312
|
+
- format: YYYY-MM-DD
|
|
313
|
+
- label: Last 14 Days
|
|
314
|
+
value:
|
|
315
|
+
- _dayjs:
|
|
316
|
+
- now
|
|
317
|
+
- subtract: [14, days]
|
|
318
|
+
- format: YYYY-MM-DD
|
|
319
|
+
- _dayjs:
|
|
320
|
+
- now
|
|
321
|
+
- format: YYYY-MM-DD
|
|
322
|
+
- label: Last 30 Days
|
|
323
|
+
value:
|
|
324
|
+
- _dayjs:
|
|
325
|
+
- now
|
|
326
|
+
- subtract: [30, days]
|
|
327
|
+
- format: YYYY-MM-DD
|
|
328
|
+
- _dayjs:
|
|
329
|
+
- now
|
|
330
|
+
- format: YYYY-MM-DD
|
|
331
|
+
- label: Last 90 Days
|
|
332
|
+
value:
|
|
333
|
+
- _dayjs:
|
|
334
|
+
- now
|
|
335
|
+
- subtract: [90, days]
|
|
336
|
+
- format: YYYY-MM-DD
|
|
337
|
+
- _dayjs:
|
|
338
|
+
- now
|
|
339
|
+
- format: YYYY-MM-DD
|
|
340
|
+
- id: drs_presets_to_date
|
|
341
|
+
type: DateRangeSelector
|
|
342
|
+
properties:
|
|
343
|
+
title: Period To Date
|
|
344
|
+
label:
|
|
345
|
+
disabled: true
|
|
346
|
+
presets:
|
|
347
|
+
- label: Week to date
|
|
348
|
+
value:
|
|
349
|
+
- _dayjs:
|
|
350
|
+
- now
|
|
351
|
+
- startOf: week
|
|
352
|
+
- format: YYYY-MM-DD
|
|
353
|
+
- _dayjs:
|
|
354
|
+
- now
|
|
355
|
+
- format: YYYY-MM-DD
|
|
356
|
+
- label: Month to date
|
|
357
|
+
value:
|
|
358
|
+
- _dayjs:
|
|
359
|
+
- now
|
|
360
|
+
- startOf: month
|
|
361
|
+
- format: YYYY-MM-DD
|
|
362
|
+
- _dayjs:
|
|
363
|
+
- now
|
|
364
|
+
- format: YYYY-MM-DD
|
|
365
|
+
- label: Year to date
|
|
366
|
+
value:
|
|
367
|
+
- _dayjs:
|
|
368
|
+
- now
|
|
369
|
+
- startOf: year
|
|
370
|
+
- format: YYYY-MM-DD
|
|
371
|
+
- _dayjs:
|
|
372
|
+
- now
|
|
373
|
+
- format: YYYY-MM-DD
|
|
374
|
+
- id: drs_presets_fixed
|
|
375
|
+
type: DateRangeSelector
|
|
376
|
+
properties:
|
|
377
|
+
title: Fixed Ranges
|
|
378
|
+
label:
|
|
379
|
+
disabled: true
|
|
380
|
+
presets:
|
|
381
|
+
- label: 2026 Q1
|
|
382
|
+
value: ['2026-01-01', '2026-03-31']
|
|
383
|
+
- label: 2026 Q2
|
|
384
|
+
value: ['2026-04-01', '2026-06-30']
|
|
385
|
+
- label: 2026 Q3
|
|
386
|
+
value: ['2026-07-01', '2026-09-30']
|
|
387
|
+
- label: 2026 Q4
|
|
388
|
+
value: ['2026-10-01', '2026-12-31']
|
|
389
|
+
- id: drs_presets_html_label
|
|
390
|
+
type: DateRangeSelector
|
|
391
|
+
properties:
|
|
392
|
+
title: Html Labels
|
|
393
|
+
label:
|
|
394
|
+
disabled: true
|
|
395
|
+
presets:
|
|
396
|
+
- label: '<b>Today</b>'
|
|
397
|
+
value:
|
|
398
|
+
- _dayjs:
|
|
399
|
+
- now
|
|
400
|
+
- format: YYYY-MM-DD
|
|
401
|
+
- _dayjs:
|
|
402
|
+
- now
|
|
403
|
+
- format: YYYY-MM-DD
|
|
404
|
+
- label: '<span style="color: #1677ff">This month</span>'
|
|
405
|
+
value:
|
|
406
|
+
- _dayjs:
|
|
407
|
+
- now
|
|
408
|
+
- startOf: month
|
|
409
|
+
- format: YYYY-MM-DD
|
|
410
|
+
- _dayjs:
|
|
411
|
+
- now
|
|
412
|
+
- endOf: month
|
|
413
|
+
- format: YYYY-MM-DD
|
|
414
|
+
- id: drs_presets_disabled_dates
|
|
415
|
+
type: DateRangeSelector
|
|
416
|
+
properties:
|
|
417
|
+
title: Presets And Disabled Dates
|
|
418
|
+
label:
|
|
419
|
+
extra: >-
|
|
420
|
+
Future dates are disabled. "Last 7 days" selects the allowed part of the range, and
|
|
421
|
+
"Next 7 days" has nothing to select, so it is listed as disabled.
|
|
422
|
+
disabledDates:
|
|
423
|
+
min: '2026-01-01'
|
|
424
|
+
max:
|
|
425
|
+
_dayjs:
|
|
426
|
+
- now
|
|
427
|
+
- format: YYYY-MM-DD
|
|
428
|
+
presets:
|
|
429
|
+
- label: Last 7 days
|
|
430
|
+
value:
|
|
431
|
+
- _dayjs:
|
|
432
|
+
- now
|
|
433
|
+
- subtract: [7, days]
|
|
434
|
+
- format: YYYY-MM-DD
|
|
435
|
+
- _dayjs:
|
|
436
|
+
- now
|
|
437
|
+
- add: [7, days]
|
|
438
|
+
- format: YYYY-MM-DD
|
|
439
|
+
- label: Next 7 days
|
|
440
|
+
value:
|
|
441
|
+
- _dayjs:
|
|
442
|
+
- now
|
|
443
|
+
- add: [1, day]
|
|
444
|
+
- format: YYYY-MM-DD
|
|
445
|
+
- _dayjs:
|
|
446
|
+
- now
|
|
447
|
+
- add: [7, days]
|
|
448
|
+
- format: YYYY-MM-DD
|
|
449
|
+
|
|
450
|
+
- title: Label Options
|
|
451
|
+
blocks:
|
|
452
|
+
- id: drs_label_default
|
|
453
|
+
type: DateRangeSelector
|
|
454
|
+
properties:
|
|
455
|
+
title: Default Label
|
|
456
|
+
- id: drs_label_colon_off
|
|
457
|
+
type: DateRangeSelector
|
|
458
|
+
properties:
|
|
459
|
+
title: No Colon
|
|
460
|
+
label:
|
|
461
|
+
colon: false
|
|
462
|
+
- id: drs_label_right
|
|
463
|
+
type: DateRangeSelector
|
|
464
|
+
properties:
|
|
465
|
+
title: Align Right
|
|
466
|
+
label:
|
|
467
|
+
align: right
|
|
468
|
+
- id: drs_label_inline
|
|
469
|
+
type: DateRangeSelector
|
|
470
|
+
properties:
|
|
471
|
+
title: Inline Label
|
|
472
|
+
label:
|
|
473
|
+
inline: true
|
|
474
|
+
span: 8
|
|
475
|
+
- id: drs_label_extra
|
|
476
|
+
type: DateRangeSelector
|
|
477
|
+
properties:
|
|
478
|
+
title: Travel Dates
|
|
479
|
+
label:
|
|
480
|
+
extra: Select your departure and return dates.
|
|
481
|
+
placeholder:
|
|
482
|
+
- Departure
|
|
483
|
+
- Return
|
|
484
|
+
- id: drs_label_extra_html
|
|
485
|
+
type: DateRangeSelector
|
|
486
|
+
properties:
|
|
487
|
+
title: Contract Period
|
|
488
|
+
label:
|
|
489
|
+
extra: 'Choose the <b>start</b> and <b>end</b> dates for the contract.'
|
|
490
|
+
placeholder:
|
|
491
|
+
- Contract start
|
|
492
|
+
- Contract end
|
|
493
|
+
- id: drs_label_hidden
|
|
494
|
+
type: DateRangeSelector
|
|
495
|
+
properties:
|
|
496
|
+
title: Hidden Label
|
|
497
|
+
label:
|
|
498
|
+
disabled: true
|
|
499
|
+
placeholder:
|
|
500
|
+
- Start
|
|
501
|
+
- End
|
|
502
|
+
- id: drs_label_allow_clear
|
|
503
|
+
type: DateRangeSelector
|
|
504
|
+
properties:
|
|
505
|
+
title: No Clear Button
|
|
506
|
+
allowClear: false
|
|
507
|
+
|
|
508
|
+
- title: Label Inline with Span
|
|
509
|
+
blocks:
|
|
510
|
+
- id: drs_label_inline_4
|
|
511
|
+
type: DateRangeSelector
|
|
512
|
+
properties:
|
|
513
|
+
title: Span 4
|
|
514
|
+
label:
|
|
515
|
+
inline: true
|
|
516
|
+
span: 4
|
|
517
|
+
- id: drs_label_inline_8
|
|
518
|
+
type: DateRangeSelector
|
|
519
|
+
properties:
|
|
520
|
+
title: Span 8
|
|
521
|
+
label:
|
|
522
|
+
inline: true
|
|
523
|
+
span: 8
|
|
524
|
+
- id: drs_label_inline_12
|
|
525
|
+
type: DateRangeSelector
|
|
526
|
+
properties:
|
|
527
|
+
title: Span 12
|
|
528
|
+
label:
|
|
529
|
+
inline: true
|
|
530
|
+
span: 12
|
|
531
|
+
|
|
532
|
+
- title: HTML Title
|
|
533
|
+
blocks:
|
|
534
|
+
- id: drs_html_bold
|
|
535
|
+
type: DateRangeSelector
|
|
536
|
+
properties:
|
|
537
|
+
title: '<b>Bold</b> date range selector'
|
|
538
|
+
label:
|
|
539
|
+
disabled: true
|
|
540
|
+
- id: drs_html_color
|
|
541
|
+
type: DateRangeSelector
|
|
542
|
+
properties:
|
|
543
|
+
title: '<span style="color: #1677ff">Blue</span> date range selector'
|
|
544
|
+
label:
|
|
545
|
+
disabled: true
|
|
546
|
+
- id: drs_html_italic
|
|
547
|
+
type: DateRangeSelector
|
|
548
|
+
properties:
|
|
549
|
+
title: '<i>Italic</i> date range selector'
|
|
550
|
+
label:
|
|
551
|
+
disabled: true
|
|
552
|
+
|
|
553
|
+
- title: Custom Style
|
|
554
|
+
blocks:
|
|
555
|
+
- id: drs_style_width
|
|
556
|
+
type: DateRangeSelector
|
|
557
|
+
style:
|
|
558
|
+
width: 500
|
|
559
|
+
properties:
|
|
560
|
+
title: Fixed Width (500px)
|
|
561
|
+
label:
|
|
562
|
+
disabled: true
|
|
563
|
+
- id: drs_style_narrow
|
|
564
|
+
type: DateRangeSelector
|
|
565
|
+
style:
|
|
566
|
+
width: 350
|
|
567
|
+
properties:
|
|
568
|
+
title: Narrow Width (350px)
|
|
569
|
+
label:
|
|
570
|
+
disabled: true
|
|
571
|
+
- id: drs_style_element
|
|
572
|
+
type: DateRangeSelector
|
|
573
|
+
style:
|
|
574
|
+
.element:
|
|
575
|
+
properties:
|
|
576
|
+
title: Custom Background
|
|
577
|
+
label:
|
|
578
|
+
disabled: true
|
|
579
|
+
- id: drs_style_label
|
|
580
|
+
type: DateRangeSelector
|
|
581
|
+
style:
|
|
582
|
+
.label:
|
|
583
|
+
color: '#531dab'
|
|
584
|
+
fontWeight: bold
|
|
585
|
+
properties:
|
|
586
|
+
title: Styled Label
|
|
587
|
+
|
|
588
|
+
- title: Custom CSS Class
|
|
589
|
+
blocks:
|
|
590
|
+
- id: drs_class_rounded
|
|
591
|
+
type: DateRangeSelector
|
|
592
|
+
class: rounded-lg shadow-sm
|
|
593
|
+
properties:
|
|
594
|
+
title: Rounded with Shadow
|
|
595
|
+
label:
|
|
596
|
+
disabled: true
|
|
597
|
+
- id: drs_class_border
|
|
598
|
+
type: DateRangeSelector
|
|
599
|
+
class: border-2 border-border
|
|
600
|
+
properties:
|
|
601
|
+
title: Blue Border
|
|
602
|
+
label:
|
|
603
|
+
disabled: true
|
|
604
|
+
- id: drs_class_shadow
|
|
605
|
+
type: DateRangeSelector
|
|
606
|
+
class: shadow-md
|
|
607
|
+
properties:
|
|
608
|
+
title: Medium Shadow
|
|
609
|
+
label:
|
|
610
|
+
disabled: true
|
|
611
|
+
|
|
612
|
+
- title: Theme Token Overrides
|
|
613
|
+
blocks:
|
|
614
|
+
- id: drs_theme_primary
|
|
615
|
+
type: DateRangeSelector
|
|
616
|
+
properties:
|
|
617
|
+
title: Custom Primary Color
|
|
618
|
+
label:
|
|
619
|
+
disabled: true
|
|
620
|
+
theme:
|
|
621
|
+
colorPrimary: '#722ed1'
|
|
622
|
+
- id: drs_theme_radius
|
|
623
|
+
type: DateRangeSelector
|
|
624
|
+
properties:
|
|
625
|
+
title: Large Border Radius
|
|
626
|
+
label:
|
|
627
|
+
disabled: true
|
|
628
|
+
theme:
|
|
629
|
+
borderRadius: 16
|
|
630
|
+
- id: drs_theme_bg
|
|
631
|
+
type: DateRangeSelector
|
|
632
|
+
properties:
|
|
633
|
+
title: Custom Background
|
|
634
|
+
variant: filled
|
|
635
|
+
label:
|
|
636
|
+
disabled: true
|
|
637
|
+
- id: drs_theme_brand
|
|
638
|
+
type: DateRangeSelector
|
|
639
|
+
properties:
|
|
640
|
+
title: Brand Purple
|
|
641
|
+
label:
|
|
642
|
+
disabled: true
|
|
643
|
+
theme:
|
|
644
|
+
colorPrimary: '#722ed1'
|
|
645
|
+
colorBorder: '#d3adf7'
|
|
646
|
+
- id: drs_theme_cell_range
|
|
647
|
+
type: DateRangeSelector
|
|
648
|
+
properties:
|
|
649
|
+
title: Green Range Background
|
|
650
|
+
label:
|
|
651
|
+
disabled: true
|
|
652
|
+
theme:
|
|
653
|
+
colorPrimary: '#52c41a'
|
|
654
|
+
|
|
655
|
+
- title: Combined Features
|
|
656
|
+
blocks:
|
|
657
|
+
- id: drs_combo_hotel
|
|
658
|
+
type: DateRangeSelector
|
|
659
|
+
properties:
|
|
660
|
+
title: Hotel Booking
|
|
661
|
+
placeholder:
|
|
662
|
+
- Check-in date
|
|
663
|
+
- Check-out date
|
|
664
|
+
format: DD MMMM YYYY
|
|
665
|
+
size: large
|
|
666
|
+
separator: '→'
|
|
667
|
+
suffixIcon: AiOutlineSchedule
|
|
668
|
+
allowClear: true
|
|
669
|
+
label:
|
|
670
|
+
extra: Select your check-in and check-out dates.
|
|
671
|
+
colon: false
|
|
672
|
+
- id: drs_combo_minimal
|
|
673
|
+
type: DateRangeSelector
|
|
674
|
+
properties:
|
|
675
|
+
title: Date Range
|
|
676
|
+
variant: borderless
|
|
677
|
+
size: small
|
|
678
|
+
allowClear: false
|
|
679
|
+
format: DD/MM/YYYY
|
|
680
|
+
separator: '-'
|
|
681
|
+
placeholder:
|
|
682
|
+
- From
|
|
683
|
+
- To
|
|
684
|
+
label:
|
|
685
|
+
disabled: true
|
|
686
|
+
- id: drs_combo_restricted
|
|
687
|
+
type: DateRangeSelector
|
|
688
|
+
properties:
|
|
689
|
+
title: Event Registration
|
|
690
|
+
placeholder:
|
|
691
|
+
- Event start
|
|
692
|
+
- Event end
|
|
693
|
+
format: DD MMM YYYY
|
|
694
|
+
suffixIcon:
|
|
695
|
+
name: AiOutlineCalendar
|
|
696
|
+
color: '#1677ff'
|
|
697
|
+
disabledDates:
|
|
698
|
+
min: '2026-01-01'
|
|
699
|
+
max: '2026-12-31'
|
|
700
|
+
label:
|
|
701
|
+
extra: Only dates in 2026 are available.
|
|
702
|
+
- id: drs_combo_themed
|
|
703
|
+
type: DateRangeSelector
|
|
704
|
+
properties:
|
|
705
|
+
title: Themed Picker
|
|
706
|
+
variant: filled
|
|
707
|
+
size: large
|
|
708
|
+
format: DD MMMM YYYY
|
|
709
|
+
separator: '→'
|
|
710
|
+
placeholder:
|
|
711
|
+
- Start date
|
|
712
|
+
- End date
|
|
713
|
+
suffixIcon:
|
|
714
|
+
name: AiOutlineHeart
|
|
715
|
+
color: '#eb2f96'
|
|
716
|
+
label:
|
|
717
|
+
disabled: true
|
|
718
|
+
theme:
|
|
719
|
+
colorPrimary: '#eb2f96'
|
|
720
|
+
borderRadius: 20
|
|
721
|
+
controlHeightLG: 48
|
|
722
|
+
fontSize: 16
|
|
723
|
+
- id: drs_combo_contract
|
|
724
|
+
type: DateRangeSelector
|
|
725
|
+
properties:
|
|
726
|
+
title: Contract Period
|
|
727
|
+
placeholder:
|
|
728
|
+
- Contract start
|
|
729
|
+
- Contract end
|
|
730
|
+
format: DD MMM YYYY
|
|
731
|
+
separator: to
|
|
732
|
+
variant: outlined
|
|
733
|
+
size: large
|
|
734
|
+
suffixIcon:
|
|
735
|
+
name: AiOutlineFlag
|
|
736
|
+
color: '#722ed1'
|
|
737
|
+
label:
|
|
738
|
+
extra: 'Specify the <b>full duration</b> of the contract.'
|
|
739
|
+
inline: true
|
|
740
|
+
span: 6
|
|
741
|
+
theme:
|
|
742
|
+
colorPrimary: '#722ed1'
|
|
743
|
+
borderRadius: 8
|
|
744
|
+
activeShadow: '0 0 0 3px rgba(114, 46, 209, 0.12)'
|
|
745
|
+
|
|
746
|
+
- title: DateRangeSelector in Report Generator
|
|
747
|
+
blocks:
|
|
748
|
+
- id: applied2_report_card
|
|
749
|
+
type: Card
|
|
750
|
+
properties:
|
|
751
|
+
title: Generate Report
|
|
752
|
+
blocks:
|
|
753
|
+
- id: applied2_report_date_range
|
|
754
|
+
type: DateRangeSelector
|
|
755
|
+
properties:
|
|
756
|
+
title: Report Period
|
|
757
|
+
placeholder:
|
|
758
|
+
- Start date
|
|
759
|
+
- End date
|
|
760
|
+
format: DD MMM YYYY
|
|
761
|
+
separator: '→'
|
|
762
|
+
size: large
|
|
763
|
+
label:
|
|
764
|
+
extra: Select the date range for your report.
|
|
765
|
+
- id: applied2_report_type
|
|
766
|
+
type: Selector
|
|
767
|
+
properties:
|
|
768
|
+
title: Report Type
|
|
769
|
+
placeholder: Select report type...
|
|
770
|
+
options:
|
|
771
|
+
- label: Financial Summary
|
|
772
|
+
value: financial
|
|
773
|
+
- label: Sales Overview
|
|
774
|
+
value: sales
|
|
775
|
+
- label: Inventory Report
|
|
776
|
+
value: inventory
|
|
777
|
+
- label: Employee Performance
|
|
778
|
+
value: performance
|
|
779
|
+
- id: applied2_report_format
|
|
780
|
+
type: Selector
|
|
781
|
+
properties:
|
|
782
|
+
title: Output Format
|
|
783
|
+
placeholder: Select format...
|
|
784
|
+
options:
|
|
785
|
+
- label: PDF
|
|
786
|
+
value: pdf
|
|
787
|
+
- label: Excel
|
|
788
|
+
value: xlsx
|
|
789
|
+
- label: CSV
|
|
790
|
+
value: csv
|
|
791
|
+
- id: applied2_report_generate_btn
|
|
792
|
+
type: Button
|
|
793
|
+
properties:
|
|
794
|
+
title: Generate Report
|
|
795
|
+
icon: AiOutlineFileText
|
|
796
|
+
type: primary
|
|
797
|
+
size: large
|
|
798
|
+
block: true
|
|
799
|
+
events:
|
|
800
|
+
onClick:
|
|
801
|
+
- id: generate_report_action
|
|
802
|
+
type: DisplayMessage
|
|
803
|
+
params:
|
|
804
|
+
content: Report generation started. You will be notified when it is ready.
|
|
805
|
+
duration: 3
|
|
806
|
+
|
|
807
|
+
- title: DateRangeSelector in Vacation Request
|
|
808
|
+
blocks:
|
|
809
|
+
- id: applied3_vacation_card
|
|
810
|
+
type: Card
|
|
811
|
+
properties:
|
|
812
|
+
title: Request Vacation
|
|
813
|
+
blocks:
|
|
814
|
+
- id: applied3_vacation_dates
|
|
815
|
+
type: DateRangeSelector
|
|
816
|
+
properties:
|
|
817
|
+
title: Vacation Dates
|
|
818
|
+
placeholder:
|
|
819
|
+
- Leave date
|
|
820
|
+
- Return date
|
|
821
|
+
format: DD MMM YYYY
|
|
822
|
+
separator: '→'
|
|
823
|
+
size: large
|
|
824
|
+
disabledDates:
|
|
825
|
+
min: '2026-03-14'
|
|
826
|
+
label:
|
|
827
|
+
extra: Select the first and last day of your vacation.
|
|
828
|
+
events:
|
|
829
|
+
onChange:
|
|
830
|
+
- id: vacation_dates_changed
|
|
831
|
+
type: DisplayMessage
|
|
832
|
+
params:
|
|
833
|
+
content: Vacation dates updated.
|
|
834
|
+
duration: 2
|
|
835
|
+
- id: applied3_vacation_notes
|
|
836
|
+
type: TextArea
|
|
837
|
+
properties:
|
|
838
|
+
title: Notes
|
|
839
|
+
placeholder: Any additional details for your manager...
|
|
840
|
+
rows: 3
|
|
841
|
+
- id: applied3_vacation_submit_btn
|
|
842
|
+
type: Button
|
|
843
|
+
properties:
|
|
844
|
+
title: Submit Request
|
|
845
|
+
icon: AiOutlineSend
|
|
846
|
+
type: primary
|
|
847
|
+
size: large
|
|
848
|
+
block: true
|
|
849
|
+
events:
|
|
850
|
+
onClick:
|
|
851
|
+
- id: vacation_validate_action
|
|
852
|
+
type: Validate
|
|
853
|
+
params: applied3_vacation_dates
|
|
854
|
+
- id: vacation_submit_message
|
|
855
|
+
type: DisplayMessage
|
|
856
|
+
params:
|
|
857
|
+
content: Vacation request submitted for approval.
|
|
858
|
+
duration: 3
|