@lowdefy/blocks-antd 5.6.0 → 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.
- 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/gallery.yaml +718 -0
- package/dist/blocks/Button/tests/Button.e2e.yaml +246 -0
- package/dist/blocks/Button/tests.yaml +104 -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,1376 @@
|
|
|
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: Status Types
|
|
16
|
+
blocks:
|
|
17
|
+
- id: notif_status_success
|
|
18
|
+
type: Notification
|
|
19
|
+
layout:
|
|
20
|
+
span: 0
|
|
21
|
+
properties:
|
|
22
|
+
status: success
|
|
23
|
+
title: Changes Saved
|
|
24
|
+
description: Your changes have been saved successfully.
|
|
25
|
+
- id: notif_status_error
|
|
26
|
+
type: Notification
|
|
27
|
+
layout:
|
|
28
|
+
span: 0
|
|
29
|
+
properties:
|
|
30
|
+
status: error
|
|
31
|
+
title: Save Failed
|
|
32
|
+
description: Failed to save your changes. Please try again.
|
|
33
|
+
- id: notif_status_warning
|
|
34
|
+
type: Notification
|
|
35
|
+
layout:
|
|
36
|
+
span: 0
|
|
37
|
+
properties:
|
|
38
|
+
status: warning
|
|
39
|
+
title: Disk Space Low
|
|
40
|
+
description: Server storage is running below 10% capacity.
|
|
41
|
+
- id: notif_status_info
|
|
42
|
+
type: Notification
|
|
43
|
+
layout:
|
|
44
|
+
span: 0
|
|
45
|
+
properties:
|
|
46
|
+
status: info
|
|
47
|
+
title: Update Available
|
|
48
|
+
description: A new version of the application is available.
|
|
49
|
+
- id: btn_status_success
|
|
50
|
+
type: Button
|
|
51
|
+
layout:
|
|
52
|
+
flex: 0 0 auto
|
|
53
|
+
properties:
|
|
54
|
+
title: Success
|
|
55
|
+
color: primary
|
|
56
|
+
variant: outlined
|
|
57
|
+
icon: AiOutlineCheckCircle
|
|
58
|
+
events:
|
|
59
|
+
onClick:
|
|
60
|
+
- id: open_status_success
|
|
61
|
+
type: CallMethod
|
|
62
|
+
params:
|
|
63
|
+
blockId: notif_status_success
|
|
64
|
+
method: open
|
|
65
|
+
- id: btn_status_error
|
|
66
|
+
type: Button
|
|
67
|
+
layout:
|
|
68
|
+
flex: 0 0 auto
|
|
69
|
+
properties:
|
|
70
|
+
title: Error
|
|
71
|
+
color: danger
|
|
72
|
+
variant: outlined
|
|
73
|
+
icon: AiOutlineCloseCircle
|
|
74
|
+
events:
|
|
75
|
+
onClick:
|
|
76
|
+
- id: open_status_error
|
|
77
|
+
type: CallMethod
|
|
78
|
+
params:
|
|
79
|
+
blockId: notif_status_error
|
|
80
|
+
method: open
|
|
81
|
+
- id: btn_status_warning
|
|
82
|
+
type: Button
|
|
83
|
+
layout:
|
|
84
|
+
flex: 0 0 auto
|
|
85
|
+
properties:
|
|
86
|
+
title: Warning
|
|
87
|
+
color: default
|
|
88
|
+
variant: outlined
|
|
89
|
+
icon: AiOutlineWarning
|
|
90
|
+
events:
|
|
91
|
+
onClick:
|
|
92
|
+
- id: open_status_warning
|
|
93
|
+
type: CallMethod
|
|
94
|
+
params:
|
|
95
|
+
blockId: notif_status_warning
|
|
96
|
+
method: open
|
|
97
|
+
- id: btn_status_info
|
|
98
|
+
type: Button
|
|
99
|
+
layout:
|
|
100
|
+
flex: 0 0 auto
|
|
101
|
+
properties:
|
|
102
|
+
title: Info
|
|
103
|
+
color: primary
|
|
104
|
+
variant: text
|
|
105
|
+
icon: AiOutlineInfoCircle
|
|
106
|
+
events:
|
|
107
|
+
onClick:
|
|
108
|
+
- id: open_status_info
|
|
109
|
+
type: CallMethod
|
|
110
|
+
params:
|
|
111
|
+
blockId: notif_status_info
|
|
112
|
+
method: open
|
|
113
|
+
|
|
114
|
+
- title: Placement
|
|
115
|
+
blocks:
|
|
116
|
+
- id: notif_place_top_right
|
|
117
|
+
type: Notification
|
|
118
|
+
layout:
|
|
119
|
+
span: 0
|
|
120
|
+
properties:
|
|
121
|
+
status: info
|
|
122
|
+
title: Top Right
|
|
123
|
+
description: Default placement position.
|
|
124
|
+
placement: topRight
|
|
125
|
+
- id: notif_place_top_left
|
|
126
|
+
type: Notification
|
|
127
|
+
layout:
|
|
128
|
+
span: 0
|
|
129
|
+
properties:
|
|
130
|
+
status: info
|
|
131
|
+
title: Top Left
|
|
132
|
+
description: Appears at the top left corner.
|
|
133
|
+
placement: topLeft
|
|
134
|
+
- id: notif_place_bottom_right
|
|
135
|
+
type: Notification
|
|
136
|
+
layout:
|
|
137
|
+
span: 0
|
|
138
|
+
properties:
|
|
139
|
+
status: info
|
|
140
|
+
title: Bottom Right
|
|
141
|
+
description: Appears at the bottom right corner.
|
|
142
|
+
placement: bottomRight
|
|
143
|
+
- id: notif_place_bottom_left
|
|
144
|
+
type: Notification
|
|
145
|
+
layout:
|
|
146
|
+
span: 0
|
|
147
|
+
properties:
|
|
148
|
+
status: info
|
|
149
|
+
title: Bottom Left
|
|
150
|
+
description: Appears at the bottom left corner.
|
|
151
|
+
placement: bottomLeft
|
|
152
|
+
- id: btn_place_top_right
|
|
153
|
+
type: Button
|
|
154
|
+
layout:
|
|
155
|
+
flex: 0 0 auto
|
|
156
|
+
properties:
|
|
157
|
+
title: Top Right
|
|
158
|
+
color: default
|
|
159
|
+
variant: outlined
|
|
160
|
+
events:
|
|
161
|
+
onClick:
|
|
162
|
+
- id: open_place_top_right
|
|
163
|
+
type: CallMethod
|
|
164
|
+
params:
|
|
165
|
+
blockId: notif_place_top_right
|
|
166
|
+
method: open
|
|
167
|
+
- id: btn_place_top_left
|
|
168
|
+
type: Button
|
|
169
|
+
layout:
|
|
170
|
+
flex: 0 0 auto
|
|
171
|
+
properties:
|
|
172
|
+
title: Top Left
|
|
173
|
+
color: default
|
|
174
|
+
variant: outlined
|
|
175
|
+
events:
|
|
176
|
+
onClick:
|
|
177
|
+
- id: open_place_top_left
|
|
178
|
+
type: CallMethod
|
|
179
|
+
params:
|
|
180
|
+
blockId: notif_place_top_left
|
|
181
|
+
method: open
|
|
182
|
+
- id: btn_place_bottom_right
|
|
183
|
+
type: Button
|
|
184
|
+
layout:
|
|
185
|
+
flex: 0 0 auto
|
|
186
|
+
properties:
|
|
187
|
+
title: Bottom Right
|
|
188
|
+
color: default
|
|
189
|
+
variant: outlined
|
|
190
|
+
events:
|
|
191
|
+
onClick:
|
|
192
|
+
- id: open_place_bottom_right
|
|
193
|
+
type: CallMethod
|
|
194
|
+
params:
|
|
195
|
+
blockId: notif_place_bottom_right
|
|
196
|
+
method: open
|
|
197
|
+
- id: btn_place_bottom_left
|
|
198
|
+
type: Button
|
|
199
|
+
layout:
|
|
200
|
+
flex: 0 0 auto
|
|
201
|
+
properties:
|
|
202
|
+
title: Bottom Left
|
|
203
|
+
color: default
|
|
204
|
+
variant: outlined
|
|
205
|
+
events:
|
|
206
|
+
onClick:
|
|
207
|
+
- id: open_place_bottom_left
|
|
208
|
+
type: CallMethod
|
|
209
|
+
params:
|
|
210
|
+
blockId: notif_place_bottom_left
|
|
211
|
+
method: open
|
|
212
|
+
|
|
213
|
+
- title: Duration
|
|
214
|
+
blocks:
|
|
215
|
+
- id: notif_dur_short
|
|
216
|
+
type: Notification
|
|
217
|
+
layout:
|
|
218
|
+
span: 0
|
|
219
|
+
properties:
|
|
220
|
+
status: info
|
|
221
|
+
title: Quick Notice
|
|
222
|
+
description: Disappears in 2 seconds.
|
|
223
|
+
duration: 2
|
|
224
|
+
- id: notif_dur_default
|
|
225
|
+
type: Notification
|
|
226
|
+
layout:
|
|
227
|
+
span: 0
|
|
228
|
+
properties:
|
|
229
|
+
status: info
|
|
230
|
+
title: Default Duration
|
|
231
|
+
description: Auto-closes after 4.5 seconds (default).
|
|
232
|
+
- id: notif_dur_long
|
|
233
|
+
type: Notification
|
|
234
|
+
layout:
|
|
235
|
+
span: 0
|
|
236
|
+
properties:
|
|
237
|
+
status: info
|
|
238
|
+
title: Extended Duration
|
|
239
|
+
description: Stays visible for 10 seconds.
|
|
240
|
+
duration: 10
|
|
241
|
+
- id: notif_dur_sticky
|
|
242
|
+
type: Notification
|
|
243
|
+
layout:
|
|
244
|
+
span: 0
|
|
245
|
+
properties:
|
|
246
|
+
status: warning
|
|
247
|
+
title: Persistent
|
|
248
|
+
description: Will not auto-close (duration 0). Must be dismissed manually.
|
|
249
|
+
duration: 0
|
|
250
|
+
- id: btn_dur_short
|
|
251
|
+
type: Button
|
|
252
|
+
layout:
|
|
253
|
+
flex: 0 0 auto
|
|
254
|
+
properties:
|
|
255
|
+
title: 2 seconds
|
|
256
|
+
color: default
|
|
257
|
+
variant: outlined
|
|
258
|
+
events:
|
|
259
|
+
onClick:
|
|
260
|
+
- id: open_dur_short
|
|
261
|
+
type: CallMethod
|
|
262
|
+
params:
|
|
263
|
+
blockId: notif_dur_short
|
|
264
|
+
method: open
|
|
265
|
+
- id: btn_dur_default
|
|
266
|
+
type: Button
|
|
267
|
+
layout:
|
|
268
|
+
flex: 0 0 auto
|
|
269
|
+
properties:
|
|
270
|
+
title: Default (4.5s)
|
|
271
|
+
color: default
|
|
272
|
+
variant: outlined
|
|
273
|
+
events:
|
|
274
|
+
onClick:
|
|
275
|
+
- id: open_dur_default
|
|
276
|
+
type: CallMethod
|
|
277
|
+
params:
|
|
278
|
+
blockId: notif_dur_default
|
|
279
|
+
method: open
|
|
280
|
+
- id: btn_dur_long
|
|
281
|
+
type: Button
|
|
282
|
+
layout:
|
|
283
|
+
flex: 0 0 auto
|
|
284
|
+
properties:
|
|
285
|
+
title: 10 seconds
|
|
286
|
+
color: default
|
|
287
|
+
variant: outlined
|
|
288
|
+
events:
|
|
289
|
+
onClick:
|
|
290
|
+
- id: open_dur_long
|
|
291
|
+
type: CallMethod
|
|
292
|
+
params:
|
|
293
|
+
blockId: notif_dur_long
|
|
294
|
+
method: open
|
|
295
|
+
- id: btn_dur_sticky
|
|
296
|
+
type: Button
|
|
297
|
+
layout:
|
|
298
|
+
flex: 0 0 auto
|
|
299
|
+
properties:
|
|
300
|
+
title: Sticky (duration 0)
|
|
301
|
+
color: default
|
|
302
|
+
variant: outlined
|
|
303
|
+
events:
|
|
304
|
+
onClick:
|
|
305
|
+
- id: open_dur_sticky
|
|
306
|
+
type: CallMethod
|
|
307
|
+
params:
|
|
308
|
+
blockId: notif_dur_sticky
|
|
309
|
+
method: open
|
|
310
|
+
|
|
311
|
+
- title: Custom Icon
|
|
312
|
+
blocks:
|
|
313
|
+
- id: notif_icon_string
|
|
314
|
+
type: Notification
|
|
315
|
+
layout:
|
|
316
|
+
span: 0
|
|
317
|
+
properties:
|
|
318
|
+
status: success
|
|
319
|
+
title: Download Complete
|
|
320
|
+
description: Your file has been downloaded successfully.
|
|
321
|
+
icon: AiOutlineDownload
|
|
322
|
+
- id: notif_icon_colored
|
|
323
|
+
type: Notification
|
|
324
|
+
layout:
|
|
325
|
+
span: 0
|
|
326
|
+
properties:
|
|
327
|
+
status: info
|
|
328
|
+
title: Starred Item
|
|
329
|
+
description: Item has been added to your favorites.
|
|
330
|
+
icon:
|
|
331
|
+
name: AiOutlineStar
|
|
332
|
+
color: '#faad14'
|
|
333
|
+
- id: notif_icon_sized
|
|
334
|
+
type: Notification
|
|
335
|
+
layout:
|
|
336
|
+
span: 0
|
|
337
|
+
properties:
|
|
338
|
+
status: warning
|
|
339
|
+
title: Session Expiring
|
|
340
|
+
description: Your session will expire in 5 minutes.
|
|
341
|
+
icon:
|
|
342
|
+
name: AiOutlineLock
|
|
343
|
+
color: '#fa8c16'
|
|
344
|
+
size: 28
|
|
345
|
+
- id: btn_icon_string
|
|
346
|
+
type: Button
|
|
347
|
+
layout:
|
|
348
|
+
flex: 0 0 auto
|
|
349
|
+
properties:
|
|
350
|
+
title: String Icon
|
|
351
|
+
color: primary
|
|
352
|
+
variant: outlined
|
|
353
|
+
icon: AiOutlineDownload
|
|
354
|
+
events:
|
|
355
|
+
onClick:
|
|
356
|
+
- id: open_icon_string
|
|
357
|
+
type: CallMethod
|
|
358
|
+
params:
|
|
359
|
+
blockId: notif_icon_string
|
|
360
|
+
method: open
|
|
361
|
+
- id: btn_icon_colored
|
|
362
|
+
type: Button
|
|
363
|
+
layout:
|
|
364
|
+
flex: 0 0 auto
|
|
365
|
+
properties:
|
|
366
|
+
title: Colored Icon
|
|
367
|
+
color: default
|
|
368
|
+
variant: outlined
|
|
369
|
+
icon: AiOutlineStar
|
|
370
|
+
events:
|
|
371
|
+
onClick:
|
|
372
|
+
- id: open_icon_colored
|
|
373
|
+
type: CallMethod
|
|
374
|
+
params:
|
|
375
|
+
blockId: notif_icon_colored
|
|
376
|
+
method: open
|
|
377
|
+
- id: btn_icon_sized
|
|
378
|
+
type: Button
|
|
379
|
+
layout:
|
|
380
|
+
flex: 0 0 auto
|
|
381
|
+
properties:
|
|
382
|
+
title: Sized Icon
|
|
383
|
+
color: default
|
|
384
|
+
variant: outlined
|
|
385
|
+
icon: AiOutlineLock
|
|
386
|
+
events:
|
|
387
|
+
onClick:
|
|
388
|
+
- id: open_icon_sized
|
|
389
|
+
type: CallMethod
|
|
390
|
+
params:
|
|
391
|
+
blockId: notif_icon_sized
|
|
392
|
+
method: open
|
|
393
|
+
|
|
394
|
+
- title: Close Icon
|
|
395
|
+
blocks:
|
|
396
|
+
- id: notif_close_icon_string
|
|
397
|
+
type: Notification
|
|
398
|
+
layout:
|
|
399
|
+
span: 0
|
|
400
|
+
properties:
|
|
401
|
+
status: info
|
|
402
|
+
title: Custom Close
|
|
403
|
+
description: This notification has a custom close icon.
|
|
404
|
+
closeIcon: AiOutlineCloseSquare
|
|
405
|
+
duration: 0
|
|
406
|
+
- id: notif_close_icon_styled
|
|
407
|
+
type: Notification
|
|
408
|
+
layout:
|
|
409
|
+
span: 0
|
|
410
|
+
properties:
|
|
411
|
+
status: warning
|
|
412
|
+
title: Styled Close
|
|
413
|
+
description: Close icon with custom color and size.
|
|
414
|
+
closeIcon:
|
|
415
|
+
name: AiOutlineCloseCircle
|
|
416
|
+
color: '#ff4d4f'
|
|
417
|
+
size: 18
|
|
418
|
+
duration: 0
|
|
419
|
+
- id: notif_close_icon_arrow
|
|
420
|
+
type: Notification
|
|
421
|
+
layout:
|
|
422
|
+
span: 0
|
|
423
|
+
properties:
|
|
424
|
+
status: success
|
|
425
|
+
title: Arrow Close
|
|
426
|
+
description: Uses an arrow icon instead of the default close.
|
|
427
|
+
closeIcon: AiOutlineArrowRight
|
|
428
|
+
duration: 0
|
|
429
|
+
- id: btn_close_icon_string
|
|
430
|
+
type: Button
|
|
431
|
+
layout:
|
|
432
|
+
flex: 0 0 auto
|
|
433
|
+
properties:
|
|
434
|
+
title: Square Close
|
|
435
|
+
color: default
|
|
436
|
+
variant: outlined
|
|
437
|
+
events:
|
|
438
|
+
onClick:
|
|
439
|
+
- id: open_close_icon_string
|
|
440
|
+
type: CallMethod
|
|
441
|
+
params:
|
|
442
|
+
blockId: notif_close_icon_string
|
|
443
|
+
method: open
|
|
444
|
+
- id: btn_close_icon_styled
|
|
445
|
+
type: Button
|
|
446
|
+
layout:
|
|
447
|
+
flex: 0 0 auto
|
|
448
|
+
properties:
|
|
449
|
+
title: Styled Close
|
|
450
|
+
color: default
|
|
451
|
+
variant: outlined
|
|
452
|
+
events:
|
|
453
|
+
onClick:
|
|
454
|
+
- id: open_close_icon_styled
|
|
455
|
+
type: CallMethod
|
|
456
|
+
params:
|
|
457
|
+
blockId: notif_close_icon_styled
|
|
458
|
+
method: open
|
|
459
|
+
- id: btn_close_icon_arrow
|
|
460
|
+
type: Button
|
|
461
|
+
layout:
|
|
462
|
+
flex: 0 0 auto
|
|
463
|
+
properties:
|
|
464
|
+
title: Arrow Close
|
|
465
|
+
color: default
|
|
466
|
+
variant: outlined
|
|
467
|
+
events:
|
|
468
|
+
onClick:
|
|
469
|
+
- id: open_close_icon_arrow
|
|
470
|
+
type: CallMethod
|
|
471
|
+
params:
|
|
472
|
+
blockId: notif_close_icon_arrow
|
|
473
|
+
method: open
|
|
474
|
+
|
|
475
|
+
- title: Action Button
|
|
476
|
+
blocks:
|
|
477
|
+
- id: notif_btn_confirm
|
|
478
|
+
type: Notification
|
|
479
|
+
layout:
|
|
480
|
+
span: 0
|
|
481
|
+
properties:
|
|
482
|
+
status: info
|
|
483
|
+
title: Action Required
|
|
484
|
+
description: Please review and confirm the pending changes.
|
|
485
|
+
duration: 0
|
|
486
|
+
button:
|
|
487
|
+
title: Confirm
|
|
488
|
+
icon: AiOutlineCheck
|
|
489
|
+
color: primary
|
|
490
|
+
variant: solid
|
|
491
|
+
size: small
|
|
492
|
+
- id: notif_btn_retry
|
|
493
|
+
type: Notification
|
|
494
|
+
layout:
|
|
495
|
+
span: 0
|
|
496
|
+
properties:
|
|
497
|
+
status: error
|
|
498
|
+
title: Upload Failed
|
|
499
|
+
description: The file could not be uploaded. Please try again.
|
|
500
|
+
duration: 0
|
|
501
|
+
button:
|
|
502
|
+
title: Retry
|
|
503
|
+
icon: AiOutlineReload
|
|
504
|
+
color: danger
|
|
505
|
+
variant: solid
|
|
506
|
+
size: small
|
|
507
|
+
- id: notif_btn_undo
|
|
508
|
+
type: Notification
|
|
509
|
+
layout:
|
|
510
|
+
span: 0
|
|
511
|
+
properties:
|
|
512
|
+
status: success
|
|
513
|
+
title: Item Deleted
|
|
514
|
+
description: The record has been removed from the database.
|
|
515
|
+
duration: 0
|
|
516
|
+
button:
|
|
517
|
+
title: Undo
|
|
518
|
+
color: default
|
|
519
|
+
variant: outlined
|
|
520
|
+
size: small
|
|
521
|
+
- id: btn_trigger_confirm
|
|
522
|
+
type: Button
|
|
523
|
+
layout:
|
|
524
|
+
flex: 0 0 auto
|
|
525
|
+
properties:
|
|
526
|
+
title: With Confirm
|
|
527
|
+
color: primary
|
|
528
|
+
variant: outlined
|
|
529
|
+
events:
|
|
530
|
+
onClick:
|
|
531
|
+
- id: open_btn_confirm
|
|
532
|
+
type: CallMethod
|
|
533
|
+
params:
|
|
534
|
+
blockId: notif_btn_confirm
|
|
535
|
+
method: open
|
|
536
|
+
- id: btn_trigger_retry
|
|
537
|
+
type: Button
|
|
538
|
+
layout:
|
|
539
|
+
flex: 0 0 auto
|
|
540
|
+
properties:
|
|
541
|
+
title: With Retry
|
|
542
|
+
color: danger
|
|
543
|
+
variant: outlined
|
|
544
|
+
events:
|
|
545
|
+
onClick:
|
|
546
|
+
- id: open_btn_retry
|
|
547
|
+
type: CallMethod
|
|
548
|
+
params:
|
|
549
|
+
blockId: notif_btn_retry
|
|
550
|
+
method: open
|
|
551
|
+
- id: btn_trigger_undo
|
|
552
|
+
type: Button
|
|
553
|
+
layout:
|
|
554
|
+
flex: 0 0 auto
|
|
555
|
+
properties:
|
|
556
|
+
title: With Undo
|
|
557
|
+
color: default
|
|
558
|
+
variant: outlined
|
|
559
|
+
events:
|
|
560
|
+
onClick:
|
|
561
|
+
- id: open_btn_undo
|
|
562
|
+
type: CallMethod
|
|
563
|
+
params:
|
|
564
|
+
blockId: notif_btn_undo
|
|
565
|
+
method: open
|
|
566
|
+
|
|
567
|
+
- title: Top and Bottom Offset
|
|
568
|
+
blocks:
|
|
569
|
+
- id: notif_top_offset
|
|
570
|
+
type: Notification
|
|
571
|
+
layout:
|
|
572
|
+
span: 0
|
|
573
|
+
properties:
|
|
574
|
+
status: info
|
|
575
|
+
title: Top Offset
|
|
576
|
+
description: Positioned 80px from the top of the viewport.
|
|
577
|
+
placement: topRight
|
|
578
|
+
top: 80
|
|
579
|
+
- id: notif_bottom_offset
|
|
580
|
+
type: Notification
|
|
581
|
+
layout:
|
|
582
|
+
span: 0
|
|
583
|
+
properties:
|
|
584
|
+
status: info
|
|
585
|
+
title: Bottom Offset
|
|
586
|
+
description: Positioned 80px from the bottom of the viewport.
|
|
587
|
+
placement: bottomRight
|
|
588
|
+
bottom: 80
|
|
589
|
+
- id: notif_default_offset
|
|
590
|
+
type: Notification
|
|
591
|
+
layout:
|
|
592
|
+
span: 0
|
|
593
|
+
properties:
|
|
594
|
+
status: info
|
|
595
|
+
title: Default Offset
|
|
596
|
+
description: Uses the default 24px offset.
|
|
597
|
+
placement: topRight
|
|
598
|
+
- id: btn_top_offset
|
|
599
|
+
type: Button
|
|
600
|
+
layout:
|
|
601
|
+
flex: 0 0 auto
|
|
602
|
+
properties:
|
|
603
|
+
title: Top 80px
|
|
604
|
+
color: default
|
|
605
|
+
variant: outlined
|
|
606
|
+
events:
|
|
607
|
+
onClick:
|
|
608
|
+
- id: open_top_offset
|
|
609
|
+
type: CallMethod
|
|
610
|
+
params:
|
|
611
|
+
blockId: notif_top_offset
|
|
612
|
+
method: open
|
|
613
|
+
- id: btn_bottom_offset
|
|
614
|
+
type: Button
|
|
615
|
+
layout:
|
|
616
|
+
flex: 0 0 auto
|
|
617
|
+
properties:
|
|
618
|
+
title: Bottom 80px
|
|
619
|
+
color: default
|
|
620
|
+
variant: outlined
|
|
621
|
+
events:
|
|
622
|
+
onClick:
|
|
623
|
+
- id: open_bottom_offset
|
|
624
|
+
type: CallMethod
|
|
625
|
+
params:
|
|
626
|
+
blockId: notif_bottom_offset
|
|
627
|
+
method: open
|
|
628
|
+
- id: btn_default_offset
|
|
629
|
+
type: Button
|
|
630
|
+
layout:
|
|
631
|
+
flex: 0 0 auto
|
|
632
|
+
properties:
|
|
633
|
+
title: Default (24px)
|
|
634
|
+
color: default
|
|
635
|
+
variant: outlined
|
|
636
|
+
events:
|
|
637
|
+
onClick:
|
|
638
|
+
- id: open_default_offset
|
|
639
|
+
type: CallMethod
|
|
640
|
+
params:
|
|
641
|
+
blockId: notif_default_offset
|
|
642
|
+
method: open
|
|
643
|
+
|
|
644
|
+
- title: HTML Content
|
|
645
|
+
blocks:
|
|
646
|
+
- id: notif_html_bold
|
|
647
|
+
type: Notification
|
|
648
|
+
layout:
|
|
649
|
+
span: 0
|
|
650
|
+
properties:
|
|
651
|
+
status: success
|
|
652
|
+
title: '<b>Deployment</b> Complete'
|
|
653
|
+
description: 'Deployed to <b>production</b>. Visit <a href="https://lowdefy.com">the site</a> to verify.'
|
|
654
|
+
- id: notif_html_styled
|
|
655
|
+
type: Notification
|
|
656
|
+
layout:
|
|
657
|
+
span: 0
|
|
658
|
+
properties:
|
|
659
|
+
status: warning
|
|
660
|
+
title: Maintenance Scheduled
|
|
661
|
+
description: '<span style="color: #fa8c16; font-weight: bold;">Downtime:</span> Saturday 2:00 AM - 6:00 AM UTC.'
|
|
662
|
+
- id: notif_html_list
|
|
663
|
+
type: Notification
|
|
664
|
+
layout:
|
|
665
|
+
span: 0
|
|
666
|
+
properties:
|
|
667
|
+
status: info
|
|
668
|
+
title: Release Notes
|
|
669
|
+
description: '<ul><li>Fixed login timeout issue</li><li>Added dark mode support</li><li>Improved dashboard performance</li></ul>'
|
|
670
|
+
duration: 0
|
|
671
|
+
- id: btn_html_bold
|
|
672
|
+
type: Button
|
|
673
|
+
layout:
|
|
674
|
+
flex: 0 0 auto
|
|
675
|
+
properties:
|
|
676
|
+
title: Bold and Link
|
|
677
|
+
color: default
|
|
678
|
+
variant: outlined
|
|
679
|
+
events:
|
|
680
|
+
onClick:
|
|
681
|
+
- id: open_html_bold
|
|
682
|
+
type: CallMethod
|
|
683
|
+
params:
|
|
684
|
+
blockId: notif_html_bold
|
|
685
|
+
method: open
|
|
686
|
+
- id: btn_html_styled
|
|
687
|
+
type: Button
|
|
688
|
+
layout:
|
|
689
|
+
flex: 0 0 auto
|
|
690
|
+
properties:
|
|
691
|
+
title: Styled HTML
|
|
692
|
+
color: default
|
|
693
|
+
variant: outlined
|
|
694
|
+
events:
|
|
695
|
+
onClick:
|
|
696
|
+
- id: open_html_styled
|
|
697
|
+
type: CallMethod
|
|
698
|
+
params:
|
|
699
|
+
blockId: notif_html_styled
|
|
700
|
+
method: open
|
|
701
|
+
- id: btn_html_list
|
|
702
|
+
type: Button
|
|
703
|
+
layout:
|
|
704
|
+
flex: 0 0 auto
|
|
705
|
+
properties:
|
|
706
|
+
title: HTML List
|
|
707
|
+
color: default
|
|
708
|
+
variant: outlined
|
|
709
|
+
events:
|
|
710
|
+
onClick:
|
|
711
|
+
- id: open_html_list
|
|
712
|
+
type: CallMethod
|
|
713
|
+
params:
|
|
714
|
+
blockId: notif_html_list
|
|
715
|
+
method: open
|
|
716
|
+
|
|
717
|
+
- title: Notification Style
|
|
718
|
+
blocks:
|
|
719
|
+
- id: notif_style_border
|
|
720
|
+
type: Notification
|
|
721
|
+
layout:
|
|
722
|
+
span: 0
|
|
723
|
+
properties:
|
|
724
|
+
status: success
|
|
725
|
+
title: Custom Border
|
|
726
|
+
description: This notification has a left green border.
|
|
727
|
+
style:
|
|
728
|
+
.element:
|
|
729
|
+
borderLeft: 4px solid #52c41a
|
|
730
|
+
- id: notif_style_bg
|
|
731
|
+
type: Notification
|
|
732
|
+
layout:
|
|
733
|
+
span: 0
|
|
734
|
+
properties:
|
|
735
|
+
status: warning
|
|
736
|
+
title: Custom Background
|
|
737
|
+
description: This notification has a custom background color.
|
|
738
|
+
style:
|
|
739
|
+
.element:
|
|
740
|
+
background: rgba(250, 173, 20, 0.1)
|
|
741
|
+
- id: notif_style_shadow
|
|
742
|
+
type: Notification
|
|
743
|
+
layout:
|
|
744
|
+
span: 0
|
|
745
|
+
properties:
|
|
746
|
+
status: info
|
|
747
|
+
title: Heavy Shadow
|
|
748
|
+
description: This notification has an elevated shadow.
|
|
749
|
+
style:
|
|
750
|
+
.element:
|
|
751
|
+
boxShadow: 0 6px 24px rgba(0, 0, 0, 0.2)
|
|
752
|
+
- id: btn_style_border
|
|
753
|
+
type: Button
|
|
754
|
+
layout:
|
|
755
|
+
flex: 0 0 auto
|
|
756
|
+
properties:
|
|
757
|
+
title: Left Border
|
|
758
|
+
color: default
|
|
759
|
+
variant: outlined
|
|
760
|
+
events:
|
|
761
|
+
onClick:
|
|
762
|
+
- id: open_style_border
|
|
763
|
+
type: CallMethod
|
|
764
|
+
params:
|
|
765
|
+
blockId: notif_style_border
|
|
766
|
+
method: open
|
|
767
|
+
- id: btn_style_bg
|
|
768
|
+
type: Button
|
|
769
|
+
layout:
|
|
770
|
+
flex: 0 0 auto
|
|
771
|
+
properties:
|
|
772
|
+
title: Custom Background
|
|
773
|
+
color: default
|
|
774
|
+
variant: outlined
|
|
775
|
+
events:
|
|
776
|
+
onClick:
|
|
777
|
+
- id: open_style_bg
|
|
778
|
+
type: CallMethod
|
|
779
|
+
params:
|
|
780
|
+
blockId: notif_style_bg
|
|
781
|
+
method: open
|
|
782
|
+
- id: btn_style_shadow
|
|
783
|
+
type: Button
|
|
784
|
+
layout:
|
|
785
|
+
flex: 0 0 auto
|
|
786
|
+
properties:
|
|
787
|
+
title: Heavy Shadow
|
|
788
|
+
color: default
|
|
789
|
+
variant: outlined
|
|
790
|
+
events:
|
|
791
|
+
onClick:
|
|
792
|
+
- id: open_style_shadow
|
|
793
|
+
type: CallMethod
|
|
794
|
+
params:
|
|
795
|
+
blockId: notif_style_shadow
|
|
796
|
+
method: open
|
|
797
|
+
|
|
798
|
+
- title: Override at Call Time
|
|
799
|
+
blocks:
|
|
800
|
+
- id: notif_override_base
|
|
801
|
+
type: Notification
|
|
802
|
+
layout:
|
|
803
|
+
span: 0
|
|
804
|
+
properties:
|
|
805
|
+
status: info
|
|
806
|
+
title: Default Title
|
|
807
|
+
description: Default notification description.
|
|
808
|
+
- id: btn_override_success
|
|
809
|
+
type: Button
|
|
810
|
+
layout:
|
|
811
|
+
flex: 0 0 auto
|
|
812
|
+
properties:
|
|
813
|
+
title: Override as Success
|
|
814
|
+
color: primary
|
|
815
|
+
variant: solid
|
|
816
|
+
icon: AiOutlineCheckCircle
|
|
817
|
+
events:
|
|
818
|
+
onClick:
|
|
819
|
+
- id: open_override_success
|
|
820
|
+
type: CallMethod
|
|
821
|
+
params:
|
|
822
|
+
blockId: notif_override_base
|
|
823
|
+
method: open
|
|
824
|
+
args:
|
|
825
|
+
- status: success
|
|
826
|
+
title: Overridden Title
|
|
827
|
+
description: Status, title, and description overridden at call time.
|
|
828
|
+
- id: btn_override_error
|
|
829
|
+
type: Button
|
|
830
|
+
layout:
|
|
831
|
+
flex: 0 0 auto
|
|
832
|
+
properties:
|
|
833
|
+
title: Override as Error
|
|
834
|
+
color: danger
|
|
835
|
+
variant: solid
|
|
836
|
+
icon: AiOutlineCloseCircle
|
|
837
|
+
events:
|
|
838
|
+
onClick:
|
|
839
|
+
- id: open_override_error
|
|
840
|
+
type: CallMethod
|
|
841
|
+
params:
|
|
842
|
+
blockId: notif_override_base
|
|
843
|
+
method: open
|
|
844
|
+
args:
|
|
845
|
+
- status: error
|
|
846
|
+
title: Error Override
|
|
847
|
+
description: This error notification was overridden at call time.
|
|
848
|
+
- id: btn_override_duration
|
|
849
|
+
type: Button
|
|
850
|
+
layout:
|
|
851
|
+
flex: 0 0 auto
|
|
852
|
+
properties:
|
|
853
|
+
title: Override Duration
|
|
854
|
+
color: default
|
|
855
|
+
variant: outlined
|
|
856
|
+
icon: AiOutlineClockCircle
|
|
857
|
+
events:
|
|
858
|
+
onClick:
|
|
859
|
+
- id: open_override_duration
|
|
860
|
+
type: CallMethod
|
|
861
|
+
params:
|
|
862
|
+
blockId: notif_override_base
|
|
863
|
+
method: open
|
|
864
|
+
args:
|
|
865
|
+
- duration: 1
|
|
866
|
+
title: Quick Flash
|
|
867
|
+
description: This closes after just 1 second.
|
|
868
|
+
|
|
869
|
+
- title: Events
|
|
870
|
+
blocks:
|
|
871
|
+
- id: notif_events_demo
|
|
872
|
+
type: Notification
|
|
873
|
+
layout:
|
|
874
|
+
span: 0
|
|
875
|
+
properties:
|
|
876
|
+
status: info
|
|
877
|
+
title: Interactive Notification
|
|
878
|
+
description: Click the notification body or close it to trigger events.
|
|
879
|
+
duration: 0
|
|
880
|
+
events:
|
|
881
|
+
onClick:
|
|
882
|
+
- id: events_click_msg
|
|
883
|
+
type: DisplayMessage
|
|
884
|
+
params:
|
|
885
|
+
content: Notification body clicked!
|
|
886
|
+
status: info
|
|
887
|
+
onClose:
|
|
888
|
+
- id: events_close_msg
|
|
889
|
+
type: DisplayMessage
|
|
890
|
+
params:
|
|
891
|
+
content: Notification was closed.
|
|
892
|
+
status: success
|
|
893
|
+
- id: notif_events_close_action
|
|
894
|
+
type: Notification
|
|
895
|
+
layout:
|
|
896
|
+
span: 0
|
|
897
|
+
properties:
|
|
898
|
+
status: warning
|
|
899
|
+
title: Session Timeout
|
|
900
|
+
description: Your session is about to expire. Close to extend.
|
|
901
|
+
duration: 0
|
|
902
|
+
button:
|
|
903
|
+
title: Extend Session
|
|
904
|
+
color: primary
|
|
905
|
+
variant: solid
|
|
906
|
+
size: small
|
|
907
|
+
events:
|
|
908
|
+
onClose:
|
|
909
|
+
- id: events_extend_msg
|
|
910
|
+
type: DisplayMessage
|
|
911
|
+
params:
|
|
912
|
+
content: Session extended for 30 minutes.
|
|
913
|
+
status: success
|
|
914
|
+
- id: notif_events_click_nav
|
|
915
|
+
type: Notification
|
|
916
|
+
layout:
|
|
917
|
+
span: 0
|
|
918
|
+
properties:
|
|
919
|
+
status: success
|
|
920
|
+
title: New Comment
|
|
921
|
+
description: Click this notification to view the comment.
|
|
922
|
+
duration: 8
|
|
923
|
+
events:
|
|
924
|
+
onClick:
|
|
925
|
+
- id: events_nav_msg
|
|
926
|
+
type: DisplayMessage
|
|
927
|
+
params:
|
|
928
|
+
content: Navigating to comments section...
|
|
929
|
+
status: info
|
|
930
|
+
- id: btn_events_demo
|
|
931
|
+
type: Button
|
|
932
|
+
layout:
|
|
933
|
+
flex: 0 0 auto
|
|
934
|
+
properties:
|
|
935
|
+
title: Open Interactive
|
|
936
|
+
color: primary
|
|
937
|
+
variant: solid
|
|
938
|
+
events:
|
|
939
|
+
onClick:
|
|
940
|
+
- id: open_events_demo
|
|
941
|
+
type: CallMethod
|
|
942
|
+
params:
|
|
943
|
+
blockId: notif_events_demo
|
|
944
|
+
method: open
|
|
945
|
+
- id: btn_events_close_action
|
|
946
|
+
type: Button
|
|
947
|
+
layout:
|
|
948
|
+
flex: 0 0 auto
|
|
949
|
+
properties:
|
|
950
|
+
title: Session Timeout
|
|
951
|
+
color: default
|
|
952
|
+
variant: outlined
|
|
953
|
+
events:
|
|
954
|
+
onClick:
|
|
955
|
+
- id: open_events_close
|
|
956
|
+
type: CallMethod
|
|
957
|
+
params:
|
|
958
|
+
blockId: notif_events_close_action
|
|
959
|
+
method: open
|
|
960
|
+
- id: btn_events_click_nav
|
|
961
|
+
type: Button
|
|
962
|
+
layout:
|
|
963
|
+
flex: 0 0 auto
|
|
964
|
+
properties:
|
|
965
|
+
title: Click to Navigate
|
|
966
|
+
color: default
|
|
967
|
+
variant: outlined
|
|
968
|
+
events:
|
|
969
|
+
onClick:
|
|
970
|
+
- id: open_events_click_nav
|
|
971
|
+
type: CallMethod
|
|
972
|
+
params:
|
|
973
|
+
blockId: notif_events_click_nav
|
|
974
|
+
method: open
|
|
975
|
+
|
|
976
|
+
- title: Style and CSS
|
|
977
|
+
blocks:
|
|
978
|
+
- id: notif_css_tailwind
|
|
979
|
+
type: Notification
|
|
980
|
+
layout:
|
|
981
|
+
span: 0
|
|
982
|
+
class: shadow-2xl
|
|
983
|
+
properties:
|
|
984
|
+
status: success
|
|
985
|
+
title: Tailwind Shadow
|
|
986
|
+
description: This notification uses a Tailwind shadow-2xl class.
|
|
987
|
+
- id: notif_css_rounded
|
|
988
|
+
type: Notification
|
|
989
|
+
layout:
|
|
990
|
+
span: 0
|
|
991
|
+
class: rounded-xl
|
|
992
|
+
properties:
|
|
993
|
+
status: info
|
|
994
|
+
title: Rounded Corners
|
|
995
|
+
description: Notification with extra-rounded corners via Tailwind.
|
|
996
|
+
- id: notif_css_inline
|
|
997
|
+
type: Notification
|
|
998
|
+
layout:
|
|
999
|
+
span: 0
|
|
1000
|
+
style:
|
|
1001
|
+
.element:
|
|
1002
|
+
borderRadius: 12
|
|
1003
|
+
border: 2px solid #1890ff
|
|
1004
|
+
properties:
|
|
1005
|
+
status: info
|
|
1006
|
+
title: Inline Style
|
|
1007
|
+
description: This notification uses inline style with a blue border.
|
|
1008
|
+
- id: btn_css_tailwind
|
|
1009
|
+
type: Button
|
|
1010
|
+
layout:
|
|
1011
|
+
flex: 0 0 auto
|
|
1012
|
+
properties:
|
|
1013
|
+
title: Tailwind Shadow
|
|
1014
|
+
color: default
|
|
1015
|
+
variant: outlined
|
|
1016
|
+
events:
|
|
1017
|
+
onClick:
|
|
1018
|
+
- id: open_css_tailwind
|
|
1019
|
+
type: CallMethod
|
|
1020
|
+
params:
|
|
1021
|
+
blockId: notif_css_tailwind
|
|
1022
|
+
method: open
|
|
1023
|
+
- id: btn_css_rounded
|
|
1024
|
+
type: Button
|
|
1025
|
+
layout:
|
|
1026
|
+
flex: 0 0 auto
|
|
1027
|
+
properties:
|
|
1028
|
+
title: Rounded Corners
|
|
1029
|
+
color: default
|
|
1030
|
+
variant: outlined
|
|
1031
|
+
events:
|
|
1032
|
+
onClick:
|
|
1033
|
+
- id: open_css_rounded
|
|
1034
|
+
type: CallMethod
|
|
1035
|
+
params:
|
|
1036
|
+
blockId: notif_css_rounded
|
|
1037
|
+
method: open
|
|
1038
|
+
- id: btn_css_inline
|
|
1039
|
+
type: Button
|
|
1040
|
+
layout:
|
|
1041
|
+
flex: 0 0 auto
|
|
1042
|
+
properties:
|
|
1043
|
+
title: Inline Style
|
|
1044
|
+
color: default
|
|
1045
|
+
variant: outlined
|
|
1046
|
+
events:
|
|
1047
|
+
onClick:
|
|
1048
|
+
- id: open_css_inline
|
|
1049
|
+
type: CallMethod
|
|
1050
|
+
params:
|
|
1051
|
+
blockId: notif_css_inline
|
|
1052
|
+
method: open
|
|
1053
|
+
|
|
1054
|
+
- title: Theme Token Overrides
|
|
1055
|
+
blocks:
|
|
1056
|
+
- id: notif_theme_wide
|
|
1057
|
+
type: Notification
|
|
1058
|
+
layout:
|
|
1059
|
+
span: 0
|
|
1060
|
+
properties:
|
|
1061
|
+
status: info
|
|
1062
|
+
title: Wide Notification
|
|
1063
|
+
description: This notification is wider than the default 384px.
|
|
1064
|
+
theme:
|
|
1065
|
+
width: 500
|
|
1066
|
+
- id: notif_theme_zindex
|
|
1067
|
+
type: Notification
|
|
1068
|
+
layout:
|
|
1069
|
+
span: 0
|
|
1070
|
+
properties:
|
|
1071
|
+
status: warning
|
|
1072
|
+
title: High Z-Index
|
|
1073
|
+
description: This notification has an elevated z-index of 2000.
|
|
1074
|
+
theme:
|
|
1075
|
+
zIndexPopup: 2000
|
|
1076
|
+
- id: notif_theme_progress
|
|
1077
|
+
type: Notification
|
|
1078
|
+
layout:
|
|
1079
|
+
span: 0
|
|
1080
|
+
properties:
|
|
1081
|
+
status: success
|
|
1082
|
+
title: Custom Progress Bar
|
|
1083
|
+
description: The auto-close progress bar has a custom gradient.
|
|
1084
|
+
duration: 8
|
|
1085
|
+
theme:
|
|
1086
|
+
progressBg: 'linear-gradient(to right, #52c41a, #1890ff)'
|
|
1087
|
+
- id: notif_theme_combined
|
|
1088
|
+
type: Notification
|
|
1089
|
+
layout:
|
|
1090
|
+
span: 0
|
|
1091
|
+
properties:
|
|
1092
|
+
status: info
|
|
1093
|
+
title: Combined Tokens
|
|
1094
|
+
description: Wide notification with custom progress bar.
|
|
1095
|
+
duration: 6
|
|
1096
|
+
theme:
|
|
1097
|
+
width: 450
|
|
1098
|
+
progressBg: 'linear-gradient(to right, #722ed1, #eb2f96)'
|
|
1099
|
+
- id: btn_theme_wide
|
|
1100
|
+
type: Button
|
|
1101
|
+
layout:
|
|
1102
|
+
flex: 0 0 auto
|
|
1103
|
+
properties:
|
|
1104
|
+
title: Wide (500px)
|
|
1105
|
+
color: default
|
|
1106
|
+
variant: outlined
|
|
1107
|
+
events:
|
|
1108
|
+
onClick:
|
|
1109
|
+
- id: open_theme_wide
|
|
1110
|
+
type: CallMethod
|
|
1111
|
+
params:
|
|
1112
|
+
blockId: notif_theme_wide
|
|
1113
|
+
method: open
|
|
1114
|
+
- id: btn_theme_zindex
|
|
1115
|
+
type: Button
|
|
1116
|
+
layout:
|
|
1117
|
+
flex: 0 0 auto
|
|
1118
|
+
properties:
|
|
1119
|
+
title: Z-Index 2000
|
|
1120
|
+
color: default
|
|
1121
|
+
variant: outlined
|
|
1122
|
+
events:
|
|
1123
|
+
onClick:
|
|
1124
|
+
- id: open_theme_zindex
|
|
1125
|
+
type: CallMethod
|
|
1126
|
+
params:
|
|
1127
|
+
blockId: notif_theme_zindex
|
|
1128
|
+
method: open
|
|
1129
|
+
- id: btn_theme_progress
|
|
1130
|
+
type: Button
|
|
1131
|
+
layout:
|
|
1132
|
+
flex: 0 0 auto
|
|
1133
|
+
properties:
|
|
1134
|
+
title: Custom Progress
|
|
1135
|
+
color: default
|
|
1136
|
+
variant: outlined
|
|
1137
|
+
events:
|
|
1138
|
+
onClick:
|
|
1139
|
+
- id: open_theme_progress
|
|
1140
|
+
type: CallMethod
|
|
1141
|
+
params:
|
|
1142
|
+
blockId: notif_theme_progress
|
|
1143
|
+
method: open
|
|
1144
|
+
- id: btn_theme_combined
|
|
1145
|
+
type: Button
|
|
1146
|
+
layout:
|
|
1147
|
+
flex: 0 0 auto
|
|
1148
|
+
properties:
|
|
1149
|
+
title: Combined Tokens
|
|
1150
|
+
color: default
|
|
1151
|
+
variant: outlined
|
|
1152
|
+
events:
|
|
1153
|
+
onClick:
|
|
1154
|
+
- id: open_theme_combined
|
|
1155
|
+
type: CallMethod
|
|
1156
|
+
params:
|
|
1157
|
+
blockId: notif_theme_combined
|
|
1158
|
+
method: open
|
|
1159
|
+
|
|
1160
|
+
- title: Notification in Order Processing
|
|
1161
|
+
blocks:
|
|
1162
|
+
- id: order_card
|
|
1163
|
+
type: Card
|
|
1164
|
+
properties:
|
|
1165
|
+
title: Order #12847
|
|
1166
|
+
size: small
|
|
1167
|
+
blocks:
|
|
1168
|
+
- id: order_status_text
|
|
1169
|
+
type: Markdown
|
|
1170
|
+
properties:
|
|
1171
|
+
content: |
|
|
1172
|
+
**Customer:** Sarah Johnson
|
|
1173
|
+
**Items:** 3 items totaling $247.50
|
|
1174
|
+
**Status:** Pending fulfillment
|
|
1175
|
+
- id: notif_order_shipped
|
|
1176
|
+
type: Notification
|
|
1177
|
+
layout:
|
|
1178
|
+
span: 0
|
|
1179
|
+
properties:
|
|
1180
|
+
status: success
|
|
1181
|
+
title: Order Shipped
|
|
1182
|
+
description: 'Order #12847 has been shipped. Tracking number: <b>1Z999AA10123456784</b>'
|
|
1183
|
+
icon: AiOutlineRocket
|
|
1184
|
+
duration: 0
|
|
1185
|
+
button:
|
|
1186
|
+
title: View Tracking
|
|
1187
|
+
color: primary
|
|
1188
|
+
variant: solid
|
|
1189
|
+
size: small
|
|
1190
|
+
events:
|
|
1191
|
+
onClose:
|
|
1192
|
+
- id: order_close_msg
|
|
1193
|
+
type: DisplayMessage
|
|
1194
|
+
params:
|
|
1195
|
+
content: Notification dismissed.
|
|
1196
|
+
status: info
|
|
1197
|
+
- id: notif_order_cancelled
|
|
1198
|
+
type: Notification
|
|
1199
|
+
layout:
|
|
1200
|
+
span: 0
|
|
1201
|
+
properties:
|
|
1202
|
+
status: error
|
|
1203
|
+
title: Order Cancelled
|
|
1204
|
+
description: 'Order #12847 has been cancelled. Refund of $247.50 initiated.'
|
|
1205
|
+
icon: AiOutlineStop
|
|
1206
|
+
duration: 0
|
|
1207
|
+
- id: order_actions
|
|
1208
|
+
type: Box
|
|
1209
|
+
layout:
|
|
1210
|
+
gap: 8
|
|
1211
|
+
justify: flex-end
|
|
1212
|
+
blocks:
|
|
1213
|
+
- id: btn_order_cancel
|
|
1214
|
+
type: Button
|
|
1215
|
+
layout:
|
|
1216
|
+
flex: 0 0 auto
|
|
1217
|
+
properties:
|
|
1218
|
+
title: Cancel Order
|
|
1219
|
+
color: danger
|
|
1220
|
+
variant: outlined
|
|
1221
|
+
icon: AiOutlineStop
|
|
1222
|
+
events:
|
|
1223
|
+
onClick:
|
|
1224
|
+
- id: order_cancel_notif
|
|
1225
|
+
type: CallMethod
|
|
1226
|
+
params:
|
|
1227
|
+
blockId: notif_order_cancelled
|
|
1228
|
+
method: open
|
|
1229
|
+
- id: btn_order_ship
|
|
1230
|
+
type: Button
|
|
1231
|
+
layout:
|
|
1232
|
+
flex: 0 0 auto
|
|
1233
|
+
properties:
|
|
1234
|
+
title: Mark as Shipped
|
|
1235
|
+
color: primary
|
|
1236
|
+
variant: solid
|
|
1237
|
+
icon: AiOutlineRocket
|
|
1238
|
+
events:
|
|
1239
|
+
onClick:
|
|
1240
|
+
- id: order_ship_notif
|
|
1241
|
+
type: CallMethod
|
|
1242
|
+
params:
|
|
1243
|
+
blockId: notif_order_shipped
|
|
1244
|
+
method: open
|
|
1245
|
+
|
|
1246
|
+
- title: Notification in System Alerts
|
|
1247
|
+
blocks:
|
|
1248
|
+
- id: alerts_card
|
|
1249
|
+
type: Card
|
|
1250
|
+
properties:
|
|
1251
|
+
title: System Monitor
|
|
1252
|
+
size: small
|
|
1253
|
+
blocks:
|
|
1254
|
+
- id: alerts_description
|
|
1255
|
+
type: Markdown
|
|
1256
|
+
properties:
|
|
1257
|
+
content: |
|
|
1258
|
+
Monitor system health and receive real-time alerts. Click a button below to simulate different alert types.
|
|
1259
|
+
- id: notif_alert_cpu
|
|
1260
|
+
type: Notification
|
|
1261
|
+
layout:
|
|
1262
|
+
span: 0
|
|
1263
|
+
properties:
|
|
1264
|
+
status: warning
|
|
1265
|
+
title: High CPU Usage
|
|
1266
|
+
description: 'CPU usage has exceeded <b>90%</b> on server <b>web-prod-03</b>. Consider scaling up or optimizing workloads.'
|
|
1267
|
+
icon:
|
|
1268
|
+
name: AiOutlineDashboard
|
|
1269
|
+
color: '#fa8c16'
|
|
1270
|
+
duration: 0
|
|
1271
|
+
placement: topRight
|
|
1272
|
+
button:
|
|
1273
|
+
title: View Details
|
|
1274
|
+
color: primary
|
|
1275
|
+
variant: outlined
|
|
1276
|
+
size: small
|
|
1277
|
+
events:
|
|
1278
|
+
onClick:
|
|
1279
|
+
- id: alert_cpu_click
|
|
1280
|
+
type: DisplayMessage
|
|
1281
|
+
params:
|
|
1282
|
+
content: Opening server dashboard...
|
|
1283
|
+
status: info
|
|
1284
|
+
- id: notif_alert_deploy
|
|
1285
|
+
type: Notification
|
|
1286
|
+
layout:
|
|
1287
|
+
span: 0
|
|
1288
|
+
properties:
|
|
1289
|
+
status: success
|
|
1290
|
+
title: Deployment Successful
|
|
1291
|
+
description: 'Version <b>2.4.1</b> deployed to production. All health checks passing.'
|
|
1292
|
+
icon: AiOutlineCheckCircle
|
|
1293
|
+
duration: 8
|
|
1294
|
+
events:
|
|
1295
|
+
onClose:
|
|
1296
|
+
- id: alert_deploy_close
|
|
1297
|
+
type: DisplayMessage
|
|
1298
|
+
params:
|
|
1299
|
+
content: Deployment alert acknowledged.
|
|
1300
|
+
status: success
|
|
1301
|
+
- id: notif_alert_security
|
|
1302
|
+
type: Notification
|
|
1303
|
+
layout:
|
|
1304
|
+
span: 0
|
|
1305
|
+
properties:
|
|
1306
|
+
status: error
|
|
1307
|
+
title: Security Alert
|
|
1308
|
+
description: 'Multiple failed login attempts detected from IP <b>192.168.1.42</b>. Account temporarily locked.'
|
|
1309
|
+
icon:
|
|
1310
|
+
name: AiOutlineLock
|
|
1311
|
+
color: '#ff4d4f'
|
|
1312
|
+
duration: 0
|
|
1313
|
+
button:
|
|
1314
|
+
title: Block IP
|
|
1315
|
+
color: danger
|
|
1316
|
+
variant: solid
|
|
1317
|
+
size: small
|
|
1318
|
+
events:
|
|
1319
|
+
onClose:
|
|
1320
|
+
- id: alert_security_close
|
|
1321
|
+
type: SetState
|
|
1322
|
+
params:
|
|
1323
|
+
securityAlertDismissed: true
|
|
1324
|
+
- id: alerts_actions
|
|
1325
|
+
type: Box
|
|
1326
|
+
layout:
|
|
1327
|
+
gap: 8
|
|
1328
|
+
blocks:
|
|
1329
|
+
- id: btn_alert_cpu
|
|
1330
|
+
type: Button
|
|
1331
|
+
layout:
|
|
1332
|
+
flex: 0 0 auto
|
|
1333
|
+
properties:
|
|
1334
|
+
title: CPU Warning
|
|
1335
|
+
color: default
|
|
1336
|
+
variant: outlined
|
|
1337
|
+
icon: AiOutlineDashboard
|
|
1338
|
+
events:
|
|
1339
|
+
onClick:
|
|
1340
|
+
- id: trigger_alert_cpu
|
|
1341
|
+
type: CallMethod
|
|
1342
|
+
params:
|
|
1343
|
+
blockId: notif_alert_cpu
|
|
1344
|
+
method: open
|
|
1345
|
+
- id: btn_alert_deploy
|
|
1346
|
+
type: Button
|
|
1347
|
+
layout:
|
|
1348
|
+
flex: 0 0 auto
|
|
1349
|
+
properties:
|
|
1350
|
+
title: Deploy Success
|
|
1351
|
+
color: primary
|
|
1352
|
+
variant: outlined
|
|
1353
|
+
icon: AiOutlineCheckCircle
|
|
1354
|
+
events:
|
|
1355
|
+
onClick:
|
|
1356
|
+
- id: trigger_alert_deploy
|
|
1357
|
+
type: CallMethod
|
|
1358
|
+
params:
|
|
1359
|
+
blockId: notif_alert_deploy
|
|
1360
|
+
method: open
|
|
1361
|
+
- id: btn_alert_security
|
|
1362
|
+
type: Button
|
|
1363
|
+
layout:
|
|
1364
|
+
flex: 0 0 auto
|
|
1365
|
+
properties:
|
|
1366
|
+
title: Security Alert
|
|
1367
|
+
color: danger
|
|
1368
|
+
variant: outlined
|
|
1369
|
+
icon: AiOutlineLock
|
|
1370
|
+
events:
|
|
1371
|
+
onClick:
|
|
1372
|
+
- id: trigger_alert_security
|
|
1373
|
+
type: CallMethod
|
|
1374
|
+
params:
|
|
1375
|
+
blockId: notif_alert_security
|
|
1376
|
+
method: open
|