@lowdefy/blocks-antd 5.5.1 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/dist/TagPillRow.js +88 -0
  2. package/dist/blocks/Affix/gallery.yaml +399 -0
  3. package/dist/blocks/Affix/tests/Affix.e2e.yaml +72 -0
  4. package/dist/blocks/Affix/tests.yaml +29 -0
  5. package/dist/blocks/Alert/gallery.yaml +701 -0
  6. package/dist/blocks/Alert/tests/Alert.e2e.yaml +161 -0
  7. package/dist/blocks/Alert/tests.yaml +261 -0
  8. package/dist/blocks/AutoComplete/gallery.yaml +713 -0
  9. package/dist/blocks/AutoComplete/tests/AutoComplete.e2e.yaml +330 -0
  10. package/dist/blocks/AutoComplete/tests.yaml +178 -0
  11. package/dist/blocks/Avatar/gallery.yaml +1037 -0
  12. package/dist/blocks/Avatar/tests/Avatar.e2e.yaml +125 -0
  13. package/dist/blocks/Avatar/tests.yaml +76 -0
  14. package/dist/blocks/Badge/gallery.yaml +1090 -0
  15. package/dist/blocks/Badge/tests/Badge.e2e.yaml +195 -0
  16. package/dist/blocks/Badge/tests.yaml +91 -0
  17. package/dist/blocks/Breadcrumb/gallery.yaml +484 -0
  18. package/dist/blocks/Breadcrumb/tests/Breadcrumb.e2e.yaml +165 -0
  19. package/dist/blocks/Breadcrumb/tests.yaml +106 -0
  20. package/dist/blocks/Button/gallery.yaml +718 -0
  21. package/dist/blocks/Button/tests/Button.e2e.yaml +246 -0
  22. package/dist/blocks/Button/tests.yaml +104 -0
  23. package/dist/blocks/ButtonSelector/gallery.yaml +891 -0
  24. package/dist/blocks/ButtonSelector/tests/ButtonSelector.e2e.yaml +188 -0
  25. package/dist/blocks/ButtonSelector/tests.yaml +167 -0
  26. package/dist/blocks/Calendar/gallery.yaml +128 -0
  27. package/dist/blocks/Calendar/tests/Calendar.e2e.yaml +136 -0
  28. package/dist/blocks/Calendar/tests.yaml +50 -0
  29. package/dist/blocks/Card/gallery.yaml +1035 -0
  30. package/dist/blocks/Card/tests/Card.e2e.yaml +209 -0
  31. package/dist/blocks/Card/tests.yaml +75 -0
  32. package/dist/blocks/Carousel/gallery.yaml +1971 -0
  33. package/dist/blocks/Carousel/tests/Carousel.e2e.yaml +211 -0
  34. package/dist/blocks/Carousel/tests.yaml +117 -0
  35. package/dist/blocks/CheckboxSelector/CheckboxSelector.js +54 -29
  36. package/dist/blocks/CheckboxSelector/gallery.yaml +781 -0
  37. package/dist/blocks/CheckboxSelector/meta.js +24 -4
  38. package/dist/blocks/CheckboxSelector/tests/CheckboxSelector.e2e.yaml +272 -0
  39. package/dist/blocks/CheckboxSelector/tests.yaml +325 -0
  40. package/dist/blocks/CheckboxSwitch/gallery.yaml +457 -0
  41. package/dist/blocks/CheckboxSwitch/tests/CheckboxSwitch.e2e.yaml +126 -0
  42. package/dist/blocks/CheckboxSwitch/tests.yaml +96 -0
  43. package/dist/blocks/Collapse/gallery.yaml +1079 -0
  44. package/dist/blocks/Collapse/tests/Collapse.e2e.yaml +206 -0
  45. package/dist/blocks/Collapse/tests.yaml +265 -0
  46. package/dist/blocks/ColorSelector/gallery.yaml +807 -0
  47. package/dist/blocks/ColorSelector/tests/ColorSelector.e2e.yaml +77 -0
  48. package/dist/blocks/ColorSelector/tests.yaml +84 -0
  49. package/dist/blocks/ConfigProvider/gallery.yaml +1003 -0
  50. package/dist/blocks/ConfigProvider/tests.yaml +62 -0
  51. package/dist/blocks/ConfirmModal/gallery.yaml +1043 -0
  52. package/dist/blocks/ConfirmModal/tests/ConfirmModal.e2e.yaml +410 -0
  53. package/dist/blocks/ConfirmModal/tests.yaml +95 -0
  54. package/dist/blocks/Content/gallery.yaml +528 -0
  55. package/dist/blocks/Content/tests/Content.e2e.yaml +71 -0
  56. package/dist/blocks/Content/tests.yaml +42 -0
  57. package/dist/blocks/ControlledList/ControlledList.js +1 -1
  58. package/dist/blocks/ControlledList/gallery.yaml +481 -0
  59. package/dist/blocks/ControlledList/{style.module.css → style.css} +3 -3
  60. package/dist/blocks/ControlledList/tests/ControlledList.e2e.yaml +161 -0
  61. package/dist/blocks/ControlledList/tests.yaml +57 -0
  62. package/dist/blocks/DateRangeSelector/DateRangeSelector.js +7 -0
  63. package/dist/blocks/DateRangeSelector/e2e.js +28 -2
  64. package/dist/blocks/DateRangeSelector/gallery.yaml +858 -0
  65. package/dist/blocks/DateRangeSelector/meta.js +2 -0
  66. package/dist/blocks/DateRangeSelector/tests/DateRangeSelector.e2e.yaml +204 -0
  67. package/dist/blocks/DateRangeSelector/tests.yaml +129 -0
  68. package/dist/blocks/DateSelector/DateSelector.js +6 -0
  69. package/dist/blocks/DateSelector/e2e.js +28 -2
  70. package/dist/blocks/DateSelector/gallery.yaml +691 -0
  71. package/dist/blocks/DateSelector/meta.js +6 -0
  72. package/dist/blocks/DateSelector/tests/DateSelector.e2e.yaml +229 -0
  73. package/dist/blocks/DateSelector/tests.yaml +117 -0
  74. package/dist/blocks/DateTimeSelector/DateTimeSelector.js +7 -0
  75. package/dist/blocks/DateTimeSelector/e2e.js +26 -2
  76. package/dist/blocks/DateTimeSelector/gallery.yaml +770 -0
  77. package/dist/blocks/DateTimeSelector/meta.js +2 -0
  78. package/dist/blocks/DateTimeSelector/tests/DateTimeSelector.e2e.yaml +163 -0
  79. package/dist/blocks/DateTimeSelector/tests.yaml +140 -0
  80. package/dist/blocks/Descriptions/gallery.yaml +839 -0
  81. package/dist/blocks/Descriptions/tests/Descriptions.e2e.yaml +143 -0
  82. package/dist/blocks/Descriptions/tests.yaml +256 -0
  83. package/dist/blocks/Divider/gallery.yaml +375 -0
  84. package/dist/blocks/Divider/tests/Divider.e2e.yaml +107 -0
  85. package/dist/blocks/Divider/tests.yaml +58 -0
  86. package/dist/blocks/Drawer/gallery.yaml +1257 -0
  87. package/dist/blocks/Drawer/tests/Drawer.e2e.yaml +562 -0
  88. package/dist/blocks/Drawer/tests.yaml +80 -0
  89. package/dist/blocks/DropdownButton/gallery.yaml +606 -0
  90. package/dist/blocks/DropdownButton/tests/DropdownButton.e2e.yaml +243 -0
  91. package/dist/blocks/DropdownMenu/gallery.yaml +578 -0
  92. package/dist/blocks/DropdownMenu/tests/DropdownMenu.e2e.yaml +267 -0
  93. package/dist/blocks/Flex/gallery.yaml +1416 -0
  94. package/dist/blocks/Flex/tests/Flex.e2e.yaml +95 -0
  95. package/dist/blocks/Flex/tests.yaml +92 -0
  96. package/dist/blocks/FloatButton/gallery.yaml +518 -0
  97. package/dist/blocks/FloatButton/tests/FloatButton.e2e.yaml +73 -0
  98. package/dist/blocks/FloatButton/tests.yaml +59 -0
  99. package/dist/blocks/Footer/gallery.yaml +355 -0
  100. package/dist/blocks/Footer/tests/Footer.e2e.yaml +70 -0
  101. package/dist/blocks/Footer/tests.yaml +28 -0
  102. package/dist/blocks/Header/gallery.yaml +249 -0
  103. package/dist/blocks/Header/tests/Header.e2e.yaml +77 -0
  104. package/dist/blocks/Header/tests.yaml +36 -0
  105. package/dist/blocks/Label/Label.js +4 -4
  106. package/dist/blocks/Label/gallery.yaml +762 -0
  107. package/dist/blocks/Label/labelLogic.js +4 -1
  108. package/dist/blocks/Label/{style.module.css → style.css} +28 -28
  109. package/dist/blocks/Label/tests/Label.e2e.yaml +247 -0
  110. package/dist/blocks/Label/tests.yaml +212 -0
  111. package/dist/blocks/Layout/gallery.yaml +548 -0
  112. package/dist/blocks/Layout/tests/Layout.e2e.yaml +86 -0
  113. package/dist/blocks/Layout/tests.yaml +28 -0
  114. package/dist/blocks/ListSelector/gallery.yaml +223 -0
  115. package/dist/blocks/Masonry/gallery.yaml +989 -0
  116. package/dist/blocks/Masonry/tests/Masonry.e2e.yaml +128 -0
  117. package/dist/blocks/Masonry/tests.yaml +42 -0
  118. package/dist/blocks/MasonryList/gallery.yaml +224 -0
  119. package/dist/blocks/MasonryList/tests/MasonryList.e2e.yaml +55 -0
  120. package/dist/blocks/MasonryList/tests.yaml +42 -0
  121. package/dist/blocks/Menu/gallery.yaml +974 -0
  122. package/dist/blocks/Menu/tests/Menu.e2e.yaml +484 -0
  123. package/dist/blocks/Menu/tests.yaml +1053 -0
  124. package/dist/blocks/Message/gallery.yaml +860 -0
  125. package/dist/blocks/Message/tests/Message.e2e.yaml +246 -0
  126. package/dist/blocks/Message/tests.yaml +54 -0
  127. package/dist/blocks/MobileMenu/gallery.yaml +1172 -0
  128. package/dist/blocks/MobileMenu/tests/MobileMenu.e2e.yaml +314 -0
  129. package/dist/blocks/MobileMenu/tests.yaml +359 -0
  130. package/dist/blocks/Modal/gallery.yaml +1039 -0
  131. package/dist/blocks/Modal/tests/Modal.e2e.yaml +493 -0
  132. package/dist/blocks/Modal/tests.yaml +75 -0
  133. package/dist/blocks/MonthSelector/MonthSelector.js +6 -0
  134. package/dist/blocks/MonthSelector/e2e.js +26 -2
  135. package/dist/blocks/MonthSelector/gallery.yaml +687 -0
  136. package/dist/blocks/MonthSelector/meta.js +6 -0
  137. package/dist/blocks/MonthSelector/tests/MonthSelector.e2e.yaml +167 -0
  138. package/dist/blocks/MonthSelector/tests.yaml +124 -0
  139. package/dist/blocks/MultipleSelector/gallery.yaml +1245 -0
  140. package/dist/blocks/MultipleSelector/tests/MultipleSelector.e2e.yaml +445 -0
  141. package/dist/blocks/MultipleSelector/tests.yaml +201 -0
  142. package/dist/blocks/Notification/gallery.yaml +1376 -0
  143. package/dist/blocks/Notification/tests/Notification.e2e.yaml +362 -0
  144. package/dist/blocks/Notification/tests.yaml +97 -0
  145. package/dist/blocks/NumberInput/gallery.yaml +753 -0
  146. package/dist/blocks/NumberInput/tests/NumberInput.e2e.yaml +228 -0
  147. package/dist/blocks/NumberInput/tests.yaml +116 -0
  148. package/dist/blocks/PageHeaderMenu/PageHeaderMenu.js +1 -1
  149. package/dist/blocks/PageHeaderMenu/gallery.yaml +480 -0
  150. package/dist/blocks/PageHeaderMenu/tests/PageHeaderMenu.e2e.yaml +110 -0
  151. package/dist/blocks/PageHeaderMenu/tests.yaml +173 -0
  152. package/dist/blocks/PageSidebarLayout/PageSidebarLayout.js +10 -1
  153. package/dist/blocks/PageSidebarLayout/gallery.yaml +302 -0
  154. package/dist/blocks/PageSidebarLayout/meta.js +1 -0
  155. package/dist/blocks/PageSidebarLayout/tests/PageSidebarLayout.e2e.yaml +216 -0
  156. package/dist/blocks/PageSidebarLayout/tests.yaml +174 -0
  157. package/dist/blocks/PageSiderMenu/PageSiderMenu.js +1 -1
  158. package/dist/blocks/PageSiderMenu/gallery.yaml +516 -0
  159. package/dist/blocks/PageSiderMenu/tests/PageSiderMenu.e2e.yaml +175 -0
  160. package/dist/blocks/PageSiderMenu/tests.yaml +211 -0
  161. package/dist/blocks/Pagination/gallery.yaml +503 -0
  162. package/dist/blocks/Pagination/tests/Pagination.e2e.yaml +159 -0
  163. package/dist/blocks/Pagination/tests.yaml +80 -0
  164. package/dist/blocks/Paragraph/gallery.yaml +458 -0
  165. package/dist/blocks/Paragraph/tests/Paragraph.e2e.yaml +153 -0
  166. package/dist/blocks/Paragraph/tests.yaml +176 -0
  167. package/dist/blocks/ParagraphInput/gallery.yaml +1483 -0
  168. package/dist/blocks/ParagraphInput/tests/ParagraphInput.e2e.yaml +189 -0
  169. package/dist/blocks/ParagraphInput/tests.yaml +163 -0
  170. package/dist/blocks/PasswordInput/gallery.yaml +420 -0
  171. package/dist/blocks/PasswordInput/tests/PasswordInput.e2e.yaml +188 -0
  172. package/dist/blocks/PasswordInput/tests.yaml +78 -0
  173. package/dist/blocks/PhoneNumberInput/gallery.yaml +677 -0
  174. package/dist/blocks/PhoneNumberInput/tests/PhoneNumberInput.e2e.yaml +279 -0
  175. package/dist/blocks/PhoneNumberInput/tests.yaml +25 -0
  176. package/dist/blocks/Popover/gallery.yaml +1301 -0
  177. package/dist/blocks/Popover/tests/Popover.e2e.yaml +249 -0
  178. package/dist/blocks/Popover/tests.yaml +105 -0
  179. package/dist/blocks/Progress/gallery.yaml +772 -0
  180. package/dist/blocks/Progress/tests/Progress.e2e.yaml +167 -0
  181. package/dist/blocks/Progress/tests.yaml +114 -0
  182. package/dist/blocks/QRCode/gallery.yaml +492 -0
  183. package/dist/blocks/QRCode/tests/QRCode.e2e.yaml +66 -0
  184. package/dist/blocks/QRCode/tests.yaml +113 -0
  185. package/dist/blocks/RadioSelector/RadioSelector.js +50 -25
  186. package/dist/blocks/RadioSelector/gallery.yaml +816 -0
  187. package/dist/blocks/RadioSelector/meta.js +23 -3
  188. package/dist/blocks/RadioSelector/tests/RadioSelector.e2e.yaml +269 -0
  189. package/dist/blocks/RadioSelector/tests.yaml +339 -0
  190. package/dist/blocks/RatingSlider/gallery.yaml +627 -0
  191. package/dist/blocks/RatingSlider/tests/RatingSlider.e2e.yaml +188 -0
  192. package/dist/blocks/RatingSlider/tests.yaml +116 -0
  193. package/dist/blocks/Result/gallery.yaml +925 -0
  194. package/dist/blocks/Result/tests/Result.e2e.yaml +126 -0
  195. package/dist/blocks/Result/tests.yaml +75 -0
  196. package/dist/blocks/Search/Search.js +1 -1
  197. package/dist/blocks/Search/SearchModal.js +18 -9
  198. package/dist/blocks/Search/gallery.yaml +170 -0
  199. package/dist/blocks/Search/meta.js +2 -1
  200. package/dist/blocks/Search/{style.module.css → style.css} +19 -12
  201. package/dist/blocks/Search/tests/Search.e2e.yaml +125 -0
  202. package/dist/blocks/Search/useSearchIndex.js +24 -2
  203. package/dist/blocks/SegmentedSelector/gallery.yaml +725 -0
  204. package/dist/blocks/SegmentedSelector/tests/SegmentedSelector.e2e.yaml +115 -0
  205. package/dist/blocks/SegmentedSelector/tests.yaml +141 -0
  206. package/dist/blocks/Selector/gallery.yaml +1055 -0
  207. package/dist/blocks/Selector/tests/Selector.e2e.yaml +427 -0
  208. package/dist/blocks/Selector/tests.yaml +196 -0
  209. package/dist/blocks/Sider/gallery.yaml +994 -0
  210. package/dist/blocks/Sider/tests/Sider.e2e.yaml +162 -0
  211. package/dist/blocks/Sider/tests.yaml +20 -0
  212. package/dist/blocks/Slider/gallery.yaml +600 -0
  213. package/dist/blocks/Slider/tests/Slider.e2e.yaml +190 -0
  214. package/dist/blocks/Slider/tests.yaml +68 -0
  215. package/dist/blocks/Splitter/gallery.yaml +1511 -0
  216. package/dist/blocks/Splitter/tests/Splitter.e2e.yaml +114 -0
  217. package/dist/blocks/Splitter/tests.yaml +79 -0
  218. package/dist/blocks/Statistic/gallery.yaml +460 -0
  219. package/dist/blocks/Statistic/tests/Statistic.e2e.yaml +137 -0
  220. package/dist/blocks/Statistic/tests.yaml +77 -0
  221. package/dist/blocks/Steps/gallery.yaml +550 -0
  222. package/dist/blocks/Switch/gallery.yaml +502 -0
  223. package/dist/blocks/Switch/tests/Switch.e2e.yaml +132 -0
  224. package/dist/blocks/Switch/tests.yaml +87 -0
  225. package/dist/blocks/Tabs/gallery.yaml +1353 -0
  226. package/dist/blocks/Tabs/tests/Tabs.e2e.yaml +370 -0
  227. package/dist/blocks/Tabs/tests.yaml +349 -0
  228. package/dist/blocks/Tag/gallery.yaml +598 -0
  229. package/dist/blocks/Tag/tests/Tag.e2e.yaml +173 -0
  230. package/dist/blocks/Tag/tests.yaml +51 -0
  231. package/dist/blocks/TagMultipleSelector/TagMultipleSelector.js +53 -0
  232. package/dist/blocks/TagMultipleSelector/e2e.js +36 -0
  233. package/dist/blocks/TagMultipleSelector/gallery.yaml +70 -0
  234. package/dist/blocks/TagMultipleSelector/meta.js +91 -0
  235. package/dist/blocks/TagMultipleSelector/tests/TagMultipleSelector.e2e.yaml +93 -0
  236. package/dist/blocks/TagSelector/TagSelector.js +49 -0
  237. package/dist/blocks/TagSelector/e2e.js +36 -0
  238. package/dist/blocks/TagSelector/gallery.yaml +70 -0
  239. package/dist/blocks/TagSelector/meta.js +91 -0
  240. package/dist/blocks/TagSelector/tests/TagSelector.e2e.yaml +93 -0
  241. package/dist/blocks/TextArea/gallery.yaml +618 -0
  242. package/dist/blocks/TextArea/tests/TextArea.e2e.yaml +218 -0
  243. package/dist/blocks/TextArea/tests.yaml +100 -0
  244. package/dist/blocks/TextInput/gallery.yaml +560 -0
  245. package/dist/blocks/TextInput/tests/TextInput.e2e.yaml +287 -0
  246. package/dist/blocks/TextInput/tests.yaml +114 -0
  247. package/dist/blocks/TimelineList/gallery.yaml +431 -0
  248. package/dist/blocks/TimelineList/tests/TimelineList.e2e.yaml +244 -0
  249. package/dist/blocks/TimelineList/tests.yaml +251 -0
  250. package/dist/blocks/Title/gallery.yaml +483 -0
  251. package/dist/blocks/Title/tests/Title.e2e.yaml +180 -0
  252. package/dist/blocks/Title/tests.yaml +175 -0
  253. package/dist/blocks/TitleInput/gallery.yaml +1006 -0
  254. package/dist/blocks/TitleInput/tests/TitleInput.e2e.yaml +195 -0
  255. package/dist/blocks/TitleInput/tests.yaml +181 -0
  256. package/dist/blocks/Tooltip/gallery.yaml +1214 -0
  257. package/dist/blocks/Tooltip/tests/Tooltip.e2e.yaml +195 -0
  258. package/dist/blocks/Tooltip/tests.yaml +92 -0
  259. package/dist/blocks/Tour/gallery.yaml +2305 -0
  260. package/dist/blocks/Tour/tests/Tour.e2e.yaml +90 -0
  261. package/dist/blocks/Tour/tests.yaml +151 -0
  262. package/dist/blocks/TreeInput/gallery.yaml +78 -0
  263. package/dist/blocks/TreeInput/tests/TreeInput.e2e.yaml +139 -0
  264. package/dist/blocks/TreeInput/tests.yaml +140 -0
  265. package/dist/blocks/TreeMultipleSelector/gallery.yaml +67 -0
  266. package/dist/blocks/TreeSelector/gallery.yaml +81 -0
  267. package/dist/blocks/Watermark/gallery.yaml +479 -0
  268. package/dist/blocks/Watermark/tests/Watermark.e2e.yaml +62 -0
  269. package/dist/blocks/Watermark/tests.yaml +86 -0
  270. package/dist/blocks/WeekSelector/WeekSelector.js +6 -0
  271. package/dist/blocks/WeekSelector/e2e.js +26 -2
  272. package/dist/blocks/WeekSelector/gallery.yaml +589 -0
  273. package/dist/blocks/WeekSelector/meta.js +6 -0
  274. package/dist/blocks/WeekSelector/tests/WeekSelector.e2e.yaml +154 -0
  275. package/dist/blocks/WeekSelector/tests.yaml +122 -0
  276. package/dist/blocks.js +2 -0
  277. package/dist/disabledDate.js +91 -19
  278. package/dist/e2e.js +2 -0
  279. package/dist/getPresets.js +151 -0
  280. package/dist/getTagColor.js +44 -0
  281. package/dist/getTagSelectorOptions.js +30 -0
  282. package/dist/metas.js +2 -0
  283. package/dist/pickerPresetsStyle.css +26 -0
  284. package/dist/schemas/disabledDates.js +6 -2
  285. package/dist/schemas/index.js +1 -0
  286. package/dist/schemas/presets.js +111 -0
  287. package/dist/tagSelectorStyle.css +68 -0
  288. package/package.json +13 -13
@@ -0,0 +1,1172 @@
1
+ # Copyright 2020-2026 Lowdefy, Inc
2
+
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ - title: Basic Links
16
+ blocks:
17
+ - id: basic_simple
18
+ type: MobileMenu
19
+ layout:
20
+ flex: 0 0 auto
21
+ properties:
22
+ links:
23
+ - id: bs_home
24
+ type: MenuLink
25
+ properties:
26
+ title: Home
27
+ - id: bs_about
28
+ type: MenuLink
29
+ properties:
30
+ title: About
31
+ - id: bs_contact
32
+ type: MenuLink
33
+ properties:
34
+ title: Contact
35
+ - id: basic_icons
36
+ type: MobileMenu
37
+ layout:
38
+ flex: 0 0 auto
39
+ properties:
40
+ links:
41
+ - id: bi_dashboard
42
+ type: MenuLink
43
+ properties:
44
+ title: Dashboard
45
+ icon: AiOutlineDashboard
46
+ - id: bi_users
47
+ type: MenuLink
48
+ properties:
49
+ title: Users
50
+ icon: AiOutlineUser
51
+ - id: bi_settings
52
+ type: MenuLink
53
+ properties:
54
+ title: Settings
55
+ icon: AiOutlineSetting
56
+ - id: basic_page_links
57
+ type: MobileMenu
58
+ layout:
59
+ flex: 0 0 auto
60
+ properties:
61
+ links:
62
+ - id: bpl_docs
63
+ type: MenuLink
64
+ pageId: docs
65
+ properties:
66
+ title: Documentation
67
+ icon: AiOutlineFileText
68
+ - id: bpl_api
69
+ type: MenuLink
70
+ pageId: api-reference
71
+ properties:
72
+ title: API Reference
73
+ icon: AiOutlineApi
74
+ - id: bpl_changelog
75
+ type: MenuLink
76
+ pageId: changelog
77
+ properties:
78
+ title: Changelog
79
+ icon: AiOutlineHistory
80
+
81
+ - title: Menu Groups
82
+ blocks:
83
+ - id: groups_single
84
+ type: MobileMenu
85
+ layout:
86
+ flex: 0 0 auto
87
+ properties:
88
+ links:
89
+ - id: gs_overview
90
+ type: MenuLink
91
+ properties:
92
+ title: Overview
93
+ icon: AiOutlineHome
94
+ - id: gs_management
95
+ type: MenuGroup
96
+ properties:
97
+ title: Management
98
+ icon: AiOutlineAppstore
99
+ links:
100
+ - id: gs_projects
101
+ type: MenuLink
102
+ properties:
103
+ title: Projects
104
+ - id: gs_tasks
105
+ type: MenuLink
106
+ properties:
107
+ title: Tasks
108
+ - id: groups_nested
109
+ type: MobileMenu
110
+ layout:
111
+ flex: 0 0 auto
112
+ properties:
113
+ links:
114
+ - id: gn_content
115
+ type: MenuGroup
116
+ properties:
117
+ title: Content
118
+ icon: AiOutlineFileText
119
+ links:
120
+ - id: gn_posts
121
+ type: MenuLink
122
+ properties:
123
+ title: Posts
124
+ - id: gn_pages
125
+ type: MenuLink
126
+ properties:
127
+ title: Pages
128
+ - id: gn_users
129
+ type: MenuGroup
130
+ properties:
131
+ title: Users
132
+ icon: AiOutlineTeam
133
+ links:
134
+ - id: gn_all
135
+ type: MenuLink
136
+ properties:
137
+ title: All Users
138
+ - id: gn_roles
139
+ type: MenuLink
140
+ properties:
141
+ title: Roles
142
+ - id: groups_deep
143
+ type: MobileMenu
144
+ layout:
145
+ flex: 0 0 auto
146
+ properties:
147
+ links:
148
+ - id: gd_products
149
+ type: MenuGroup
150
+ properties:
151
+ title: Products
152
+ icon: AiOutlineShop
153
+ links:
154
+ - id: gd_electronics
155
+ type: MenuGroup
156
+ properties:
157
+ title: Electronics
158
+ links:
159
+ - id: gd_phones
160
+ type: MenuLink
161
+ properties:
162
+ title: Phones
163
+ - id: gd_laptops
164
+ type: MenuLink
165
+ properties:
166
+ title: Laptops
167
+
168
+ - title: Dividers and Danger Items
169
+ blocks:
170
+ - id: divider_basic
171
+ type: MobileMenu
172
+ layout:
173
+ flex: 0 0 auto
174
+ properties:
175
+ links:
176
+ - id: db_home
177
+ type: MenuLink
178
+ properties:
179
+ title: Home
180
+ icon: AiOutlineHome
181
+ - id: db_divider
182
+ type: MenuDivider
183
+ - id: db_settings
184
+ type: MenuLink
185
+ properties:
186
+ title: Settings
187
+ icon: AiOutlineSetting
188
+ - id: divider_dashed
189
+ type: MobileMenu
190
+ layout:
191
+ flex: 0 0 auto
192
+ properties:
193
+ links:
194
+ - id: dd_profile
195
+ type: MenuLink
196
+ properties:
197
+ title: Profile
198
+ icon: AiOutlineUser
199
+ - id: dd_divider
200
+ type: MenuDivider
201
+ properties:
202
+ dashed: true
203
+ - id: dd_help
204
+ type: MenuLink
205
+ properties:
206
+ title: Help Center
207
+ icon: AiOutlineQuestionCircle
208
+ - id: divider_danger
209
+ type: MobileMenu
210
+ layout:
211
+ flex: 0 0 auto
212
+ properties:
213
+ links:
214
+ - id: dg_account
215
+ type: MenuLink
216
+ properties:
217
+ title: Account
218
+ icon: AiOutlineUser
219
+ - id: dg_divider
220
+ type: MenuDivider
221
+ - id: dg_delete
222
+ type: MenuLink
223
+ properties:
224
+ title: Delete Account
225
+ icon: AiOutlineDelete
226
+ danger: true
227
+ - id: dg_logout
228
+ type: MenuLink
229
+ properties:
230
+ title: Sign Out
231
+ icon: AiOutlineLogout
232
+ danger: true
233
+
234
+ - title: Theme (Light and Dark)
235
+ blocks:
236
+ - id: theme_light
237
+ type: MobileMenu
238
+ layout:
239
+ flex: 0 0 auto
240
+ properties:
241
+ theme: light
242
+ links:
243
+ - id: tl_home
244
+ type: MenuLink
245
+ properties:
246
+ title: Home
247
+ icon: AiOutlineHome
248
+ - id: tl_explore
249
+ type: MenuLink
250
+ properties:
251
+ title: Explore
252
+ icon: AiOutlineCompass
253
+ - id: tl_settings
254
+ type: MenuLink
255
+ properties:
256
+ title: Settings
257
+ icon: AiOutlineSetting
258
+ - id: theme_dark
259
+ type: MobileMenu
260
+ layout:
261
+ flex: 0 0 auto
262
+ properties:
263
+ theme: dark
264
+ links:
265
+ - id: td_home
266
+ type: MenuLink
267
+ properties:
268
+ title: Home
269
+ icon: AiOutlineHome
270
+ - id: td_explore
271
+ type: MenuLink
272
+ properties:
273
+ title: Explore
274
+ icon: AiOutlineCompass
275
+ - id: td_settings
276
+ type: MenuLink
277
+ properties:
278
+ title: Settings
279
+ icon: AiOutlineSetting
280
+
281
+ - title: Selected Keys
282
+ blocks:
283
+ - id: selected_single
284
+ type: MobileMenu
285
+ layout:
286
+ flex: 0 0 auto
287
+ properties:
288
+ selectedKeys:
289
+ - sk_users
290
+ links:
291
+ - id: sk_dashboard
292
+ type: MenuLink
293
+ properties:
294
+ title: Dashboard
295
+ icon: AiOutlineDashboard
296
+ - id: sk_users
297
+ type: MenuLink
298
+ properties:
299
+ title: Users
300
+ icon: AiOutlineUser
301
+ - id: sk_reports
302
+ type: MenuLink
303
+ properties:
304
+ title: Reports
305
+ icon: AiOutlineBarChart
306
+ - id: selected_multiple
307
+ type: MobileMenu
308
+ layout:
309
+ flex: 0 0 auto
310
+ properties:
311
+ selectedKeys:
312
+ - sm_inbox
313
+ - sm_sent
314
+ links:
315
+ - id: sm_inbox
316
+ type: MenuLink
317
+ properties:
318
+ title: Inbox
319
+ icon: AiOutlineInbox
320
+ - id: sm_sent
321
+ type: MenuLink
322
+ properties:
323
+ title: Sent
324
+ icon: AiOutlineSend
325
+ - id: sm_drafts
326
+ type: MenuLink
327
+ properties:
328
+ title: Drafts
329
+ icon: AiOutlineEdit
330
+ - id: selected_in_group
331
+ type: MobileMenu
332
+ layout:
333
+ flex: 0 0 auto
334
+ properties:
335
+ selectedKeys:
336
+ - sig_tasks
337
+ links:
338
+ - id: sig_overview
339
+ type: MenuLink
340
+ properties:
341
+ title: Overview
342
+ icon: AiOutlineHome
343
+ - id: sig_project
344
+ type: MenuGroup
345
+ properties:
346
+ title: Project
347
+ icon: AiOutlineProject
348
+ links:
349
+ - id: sig_tasks
350
+ type: MenuLink
351
+ properties:
352
+ title: Tasks
353
+ - id: sig_timeline
354
+ type: MenuLink
355
+ properties:
356
+ title: Timeline
357
+
358
+ - title: Toggle Menu Button
359
+ blocks:
360
+ - id: toggle_default_type
361
+ type: MobileMenu
362
+ layout:
363
+ flex: 0 0 auto
364
+ properties:
365
+ toggleMenuButton:
366
+ type: default
367
+ icon: AiOutlineMenu
368
+ links:
369
+ - id: tdt_home
370
+ type: MenuLink
371
+ properties:
372
+ title: Home
373
+ - id: tdt_about
374
+ type: MenuLink
375
+ properties:
376
+ title: About
377
+ - id: toggle_text_variant
378
+ type: MobileMenu
379
+ layout:
380
+ flex: 0 0 auto
381
+ properties:
382
+ toggleMenuButton:
383
+ type: text
384
+ icon: AiOutlineUnorderedList
385
+ links:
386
+ - id: ttv_home
387
+ type: MenuLink
388
+ properties:
389
+ title: Home
390
+ - id: ttv_about
391
+ type: MenuLink
392
+ properties:
393
+ title: About
394
+ - id: toggle_danger_style
395
+ type: MobileMenu
396
+ layout:
397
+ flex: 0 0 auto
398
+ properties:
399
+ toggleMenuButton:
400
+ type: primary
401
+ icon: AiOutlineBars
402
+ danger: true
403
+ links:
404
+ - id: tds_home
405
+ type: MenuLink
406
+ properties:
407
+ title: Home
408
+ - id: tds_about
409
+ type: MenuLink
410
+ properties:
411
+ title: About
412
+
413
+ - title: Drawer Properties
414
+ blocks:
415
+ - id: drawer_titled
416
+ type: MobileMenu
417
+ layout:
418
+ flex: 0 0 auto
419
+ properties:
420
+ drawer:
421
+ title: Navigation
422
+ width: 280
423
+ links:
424
+ - id: dt_home
425
+ type: MenuLink
426
+ properties:
427
+ title: Home
428
+ icon: AiOutlineHome
429
+ - id: dt_profile
430
+ type: MenuLink
431
+ properties:
432
+ title: Profile
433
+ icon: AiOutlineUser
434
+ - id: drawer_left
435
+ type: MobileMenu
436
+ layout:
437
+ flex: 0 0 auto
438
+ properties:
439
+ drawer:
440
+ title: Menu
441
+ placement: left
442
+ width: 240
443
+ links:
444
+ - id: dl_home
445
+ type: MenuLink
446
+ properties:
447
+ title: Home
448
+ icon: AiOutlineHome
449
+ - id: dl_search
450
+ type: MenuLink
451
+ properties:
452
+ title: Search
453
+ icon: AiOutlineSearch
454
+ - id: drawer_wide
455
+ type: MobileMenu
456
+ layout:
457
+ flex: 0 0 auto
458
+ properties:
459
+ drawer:
460
+ title: Browse
461
+ width: 360
462
+ closable: true
463
+ mask: true
464
+ maskClosable: true
465
+ links:
466
+ - id: dw_categories
467
+ type: MenuGroup
468
+ properties:
469
+ title: Categories
470
+ icon: AiOutlineAppstore
471
+ links:
472
+ - id: dw_electronics
473
+ type: MenuLink
474
+ properties:
475
+ title: Electronics
476
+ - id: dw_clothing
477
+ type: MenuLink
478
+ properties:
479
+ title: Clothing
480
+
481
+ - title: Submenu Delays
482
+ blocks:
483
+ - id: delay_fast
484
+ type: MobileMenu
485
+ layout:
486
+ flex: 0 0 auto
487
+ properties:
488
+ subMenuOpenDelay: 0
489
+ subMenuCloseDelay: 0
490
+ links:
491
+ - id: df_tools
492
+ type: MenuGroup
493
+ properties:
494
+ title: Tools
495
+ icon: AiOutlineTool
496
+ links:
497
+ - id: df_editor
498
+ type: MenuLink
499
+ properties:
500
+ title: Editor
501
+ - id: df_terminal
502
+ type: MenuLink
503
+ properties:
504
+ title: Terminal
505
+ - id: delay_slow
506
+ type: MobileMenu
507
+ layout:
508
+ flex: 0 0 auto
509
+ properties:
510
+ subMenuOpenDelay: 0.5
511
+ subMenuCloseDelay: 1
512
+ links:
513
+ - id: ds_tools
514
+ type: MenuGroup
515
+ properties:
516
+ title: Tools
517
+ icon: AiOutlineTool
518
+ links:
519
+ - id: ds_editor
520
+ type: MenuLink
521
+ properties:
522
+ title: Editor
523
+ - id: ds_terminal
524
+ type: MenuLink
525
+ properties:
526
+ title: Terminal
527
+
528
+ - title: Events
529
+ blocks:
530
+ - id: events_toggle
531
+ type: MobileMenu
532
+ layout:
533
+ flex: 0 0 auto
534
+ properties:
535
+ links:
536
+ - id: et_home
537
+ type: MenuLink
538
+ properties:
539
+ title: Home
540
+ icon: AiOutlineHome
541
+ - id: et_about
542
+ type: MenuLink
543
+ properties:
544
+ title: About
545
+ icon: AiOutlineInfoCircle
546
+ events:
547
+ onToggleDrawer:
548
+ - id: toggle_msg
549
+ type: DisplayMessage
550
+ params:
551
+ content: Drawer toggled
552
+ status: info
553
+ - id: events_open_close
554
+ type: MobileMenu
555
+ layout:
556
+ flex: 0 0 auto
557
+ properties:
558
+ links:
559
+ - id: eoc_home
560
+ type: MenuLink
561
+ properties:
562
+ title: Home
563
+ icon: AiOutlineHome
564
+ - id: eoc_profile
565
+ type: MenuLink
566
+ properties:
567
+ title: Profile
568
+ icon: AiOutlineUser
569
+ events:
570
+ onOpen:
571
+ - id: open_msg
572
+ type: DisplayMessage
573
+ params:
574
+ content: Menu opened
575
+ status: success
576
+ onClose:
577
+ - id: close_msg
578
+ type: DisplayMessage
579
+ params:
580
+ content: Menu closed
581
+ status: warning
582
+ - id: events_item_click
583
+ type: MobileMenu
584
+ layout:
585
+ flex: 0 0 auto
586
+ properties:
587
+ links:
588
+ - id: eic_dashboard
589
+ type: MenuLink
590
+ properties:
591
+ title: Dashboard
592
+ icon: AiOutlineDashboard
593
+ - id: eic_reports
594
+ type: MenuLink
595
+ properties:
596
+ title: Reports
597
+ icon: AiOutlineBarChart
598
+ events:
599
+ onMenuItemClick:
600
+ - id: click_msg
601
+ type: DisplayMessage
602
+ params:
603
+ content: Menu item clicked
604
+ status: info
605
+ onMenuItemSelect:
606
+ - id: select_msg
607
+ type: DisplayMessage
608
+ params:
609
+ content: Menu item selected
610
+ status: success
611
+ - id: events_group_toggle
612
+ type: MobileMenu
613
+ layout:
614
+ flex: 0 0 auto
615
+ properties:
616
+ links:
617
+ - id: egt_tools
618
+ type: MenuGroup
619
+ properties:
620
+ title: Tools
621
+ icon: AiOutlineTool
622
+ links:
623
+ - id: egt_editor
624
+ type: MenuLink
625
+ properties:
626
+ title: Editor
627
+ - id: egt_terminal
628
+ type: MenuLink
629
+ properties:
630
+ title: Terminal
631
+ events:
632
+ onToggleMenuGroup:
633
+ - id: group_toggle_msg
634
+ type: DisplayMessage
635
+ params:
636
+ content: Menu group toggled
637
+ status: info
638
+
639
+ - title: Link Styles
640
+ blocks:
641
+ - id: link_style_custom
642
+ type: MobileMenu
643
+ layout:
644
+ flex: 0 0 auto
645
+ properties:
646
+ links:
647
+ - id: lsc_featured
648
+ type: MenuLink
649
+ style:
650
+ fontWeight: bold
651
+ color: '#1677ff'
652
+ properties:
653
+ title: Featured
654
+ icon: AiOutlineStar
655
+ - id: lsc_regular
656
+ type: MenuLink
657
+ properties:
658
+ title: Regular Item
659
+ icon: AiOutlineFile
660
+ - id: lsc_muted
661
+ type: MenuLink
662
+ style:
663
+ opacity: 0.6
664
+ fontStyle: italic
665
+ properties:
666
+ title: Archived
667
+ icon: AiOutlineFolder
668
+ - id: link_style_icon_object
669
+ type: MobileMenu
670
+ layout:
671
+ flex: 0 0 auto
672
+ properties:
673
+ links:
674
+ - id: lsi_alert
675
+ type: MenuLink
676
+ properties:
677
+ title: Alerts
678
+ icon:
679
+ name: AiOutlineBell
680
+ color: '#faad14'
681
+ - id: lsi_success
682
+ type: MenuLink
683
+ properties:
684
+ title: Completed
685
+ icon:
686
+ name: AiOutlineCheckCircle
687
+ color: '#52c41a'
688
+ - id: lsi_error
689
+ type: MenuLink
690
+ properties:
691
+ title: Errors
692
+ icon:
693
+ name: AiOutlineCloseCircle
694
+ color: '#ff4d4f'
695
+
696
+ - title: Style and CSS
697
+ blocks:
698
+ - id: css_tailwind_shadow
699
+ type: MobileMenu
700
+ layout:
701
+ flex: 0 0 auto
702
+ class: shadow-md rounded-lg
703
+ properties:
704
+ links:
705
+ - id: cts_home
706
+ type: MenuLink
707
+ properties:
708
+ title: Home
709
+ icon: AiOutlineHome
710
+ - id: cts_settings
711
+ type: MenuLink
712
+ properties:
713
+ title: Settings
714
+ icon: AiOutlineSetting
715
+ - id: css_tailwind_bg
716
+ type: MobileMenu
717
+ layout:
718
+ flex: 0 0 auto
719
+ class: bg-bg-layout p-1 rounded-md
720
+ properties:
721
+ links:
722
+ - id: ctb_home
723
+ type: MenuLink
724
+ properties:
725
+ title: Home
726
+ icon: AiOutlineHome
727
+ - id: ctb_explore
728
+ type: MenuLink
729
+ properties:
730
+ title: Explore
731
+ icon: AiOutlineCompass
732
+ - id: css_inline_style
733
+ type: MobileMenu
734
+ layout:
735
+ flex: 0 0 auto
736
+ style:
737
+ .element:
738
+ padding: 4px
739
+ borderRadius: 8
740
+ border: '1px solid #d6e4ff'
741
+ properties:
742
+ links:
743
+ - id: cis_home
744
+ type: MenuLink
745
+ properties:
746
+ title: Home
747
+ icon: AiOutlineHome
748
+ - id: cis_help
749
+ type: MenuLink
750
+ properties:
751
+ title: Help
752
+ icon: AiOutlineQuestionCircle
753
+ - id: css_dark_context
754
+ type: Box
755
+ class: bg-gradient-to-r from-slate-900 to-slate-700 p-4 rounded-lg
756
+ layout:
757
+ gap: 8
758
+ blocks:
759
+ - id: css_on_dark
760
+ type: MobileMenu
761
+ layout:
762
+ flex: 0 0 auto
763
+ properties:
764
+ theme: dark
765
+ toggleMenuButton:
766
+ type: primary
767
+ ghost: true
768
+ icon: AiOutlineMenu
769
+ links:
770
+ - id: cod_home
771
+ type: MenuLink
772
+ properties:
773
+ title: Home
774
+ icon: AiOutlineHome
775
+ - id: cod_settings
776
+ type: MenuLink
777
+ properties:
778
+ title: Settings
779
+ icon: AiOutlineSetting
780
+
781
+ - title: Keyboard Shortcuts
782
+ blocks:
783
+ - id: mobile_shortcut
784
+ type: MobileMenu
785
+ layout:
786
+ flex: 0 0 auto
787
+ properties:
788
+ drawer:
789
+ title: Navigation
790
+ links:
791
+ - id: ms_home
792
+ type: MenuLink
793
+ properties:
794
+ title: Home
795
+ icon: AiOutlineHome
796
+ shortcut: mod+1
797
+ - id: ms_search
798
+ type: MenuLink
799
+ properties:
800
+ title: Search
801
+ icon: AiOutlineSearch
802
+ shortcut: mod+k
803
+ - id: ms_settings
804
+ type: MenuLink
805
+ properties:
806
+ title: Settings
807
+ icon: AiOutlineSetting
808
+ shortcut: mod+,
809
+
810
+ - title: Logo in Drawer Header
811
+ blocks:
812
+ - id: mm_logo_example
813
+ type: MobileMenu
814
+ layout:
815
+ flex: 0 0 auto
816
+ properties:
817
+ logo:
818
+ src: logo-square-dark-theme.png
819
+ alt: Lowdefy
820
+ style:
821
+ width: 60
822
+ links:
823
+ - id: ml_home
824
+ type: MenuLink
825
+ properties:
826
+ title: Home
827
+ icon: AiOutlineHome
828
+ - id: ml_settings
829
+ type: MenuLink
830
+ properties:
831
+ title: Settings
832
+ icon: AiOutlineSetting
833
+
834
+ - title: Drawer Content Slot
835
+ blocks:
836
+ - id: mm_drawer_content_example
837
+ type: MobileMenu
838
+ layout:
839
+ flex: 0 0 auto
840
+ properties:
841
+ links:
842
+ - id: mdc_home
843
+ type: MenuLink
844
+ properties:
845
+ title: Home
846
+ - id: mdc_about
847
+ type: MenuLink
848
+ properties:
849
+ title: About
850
+ slots:
851
+ drawerContent:
852
+ blocks:
853
+ - id: mdc_extra
854
+ type: Paragraph
855
+ properties:
856
+ content: Additional content below the menu items.
857
+ style:
858
+ padding: 16px
859
+ color: '#999'
860
+
861
+ - title: Drawer Footer Slot
862
+ blocks:
863
+ - id: mm_drawer_footer_example
864
+ type: MobileMenu
865
+ layout:
866
+ flex: 0 0 auto
867
+ properties:
868
+ links:
869
+ - id: mdf_home
870
+ type: MenuLink
871
+ properties:
872
+ title: Home
873
+ slots:
874
+ drawerFooter:
875
+ blocks:
876
+ - id: mdf_footer
877
+ type: Paragraph
878
+ properties:
879
+ content: App v2.1.0
880
+ style:
881
+ textAlign: center
882
+ margin: 0
883
+ color: '#aaa'
884
+ fontSize: 12
885
+
886
+ - title: MobileMenu in Admin Dashboard
887
+ blocks:
888
+ - id: admin_header
889
+ type: Box
890
+ class: bg-bg-container border-b border-border px-4 py-3
891
+ layout:
892
+ direction: row
893
+ align: center
894
+ justify: space-between
895
+ blocks:
896
+ - id: admin_left
897
+ type: Box
898
+ layout:
899
+ direction: row
900
+ align: center
901
+ gap: 12
902
+ flex: 0 0 auto
903
+ blocks:
904
+ - id: admin_nav
905
+ type: MobileMenu
906
+ layout:
907
+ flex: 0 0 auto
908
+ properties:
909
+ toggleMenuButton:
910
+ type: text
911
+ icon: AiOutlineMenu
912
+ drawer:
913
+ title: Admin Panel
914
+ width: 280
915
+ links:
916
+ - id: an_dashboard
917
+ type: MenuLink
918
+ properties:
919
+ title: Dashboard
920
+ icon: AiOutlineDashboard
921
+ - id: an_content
922
+ type: MenuGroup
923
+ properties:
924
+ title: Content
925
+ icon: AiOutlineFileText
926
+ links:
927
+ - id: an_posts
928
+ type: MenuLink
929
+ properties:
930
+ title: Posts
931
+ - id: an_media
932
+ type: MenuLink
933
+ properties:
934
+ title: Media Library
935
+ - id: an_users
936
+ type: MenuGroup
937
+ properties:
938
+ title: Users
939
+ icon: AiOutlineTeam
940
+ links:
941
+ - id: an_all_users
942
+ type: MenuLink
943
+ properties:
944
+ title: All Users
945
+ - id: an_roles
946
+ type: MenuLink
947
+ properties:
948
+ title: Roles
949
+ - id: an_divider
950
+ type: MenuDivider
951
+ - id: an_settings
952
+ type: MenuLink
953
+ properties:
954
+ title: Settings
955
+ icon: AiOutlineSetting
956
+ - id: an_divider2
957
+ type: MenuDivider
958
+ properties:
959
+ dashed: true
960
+ - id: an_logout
961
+ type: MenuLink
962
+ properties:
963
+ title: Sign Out
964
+ icon: AiOutlineLogout
965
+ danger: true
966
+ events:
967
+ onMenuItemClick:
968
+ - id: admin_click_msg
969
+ type: DisplayMessage
970
+ params:
971
+ content: Navigating...
972
+ status: info
973
+ - id: admin_title
974
+ type: Markdown
975
+ layout:
976
+ flex: 0 0 auto
977
+ properties:
978
+ content: '**Admin Panel**'
979
+ - id: admin_actions
980
+ type: Box
981
+ layout:
982
+ direction: row
983
+ align: center
984
+ gap: 8
985
+ flex: 0 0 auto
986
+ blocks:
987
+ - id: admin_bell
988
+ type: Button
989
+ layout:
990
+ flex: 0 0 auto
991
+ properties:
992
+ icon: AiOutlineBell
993
+ hideTitle: true
994
+ variant: text
995
+ color: default
996
+ - id: admin_avatar
997
+ type: Button
998
+ layout:
999
+ flex: 0 0 auto
1000
+ properties:
1001
+ icon: AiOutlineUser
1002
+ hideTitle: true
1003
+ shape: circle
1004
+ variant: filled
1005
+ color: primary
1006
+ - id: admin_body
1007
+ type: Card
1008
+ properties:
1009
+ title: Welcome Back
1010
+ size: small
1011
+ blocks:
1012
+ - id: admin_stats
1013
+ type: Markdown
1014
+ properties:
1015
+ content: |
1016
+ You have **12** new orders, **3** pending reviews, and **5** unread messages.
1017
+
1018
+ Use the navigation menu to manage your application.
1019
+
1020
+ - title: MobileMenu in E-Commerce App
1021
+ blocks:
1022
+ - id: shop_header
1023
+ type: Box
1024
+ class: bg-gradient-to-r from-indigo-600 to-purple-600 px-4 py-3
1025
+ layout:
1026
+ direction: row
1027
+ align: center
1028
+ justify: space-between
1029
+ blocks:
1030
+ - id: shop_left
1031
+ type: Box
1032
+ layout:
1033
+ direction: row
1034
+ align: center
1035
+ gap: 12
1036
+ flex: 0 0 auto
1037
+ blocks:
1038
+ - id: shop_nav
1039
+ type: MobileMenu
1040
+ layout:
1041
+ flex: 0 0 auto
1042
+ properties:
1043
+ toggleMenuButton:
1044
+ type: primary
1045
+ ghost: true
1046
+ icon: AiOutlineMenu
1047
+ drawer:
1048
+ title: Shop Categories
1049
+ width: 300
1050
+ theme: light
1051
+ selectedKeys:
1052
+ - sn_clothing
1053
+ links:
1054
+ - id: sn_home
1055
+ type: MenuLink
1056
+ url: /
1057
+ properties:
1058
+ title: Home
1059
+ icon: AiOutlineHome
1060
+ - id: sn_divider_top
1061
+ type: MenuDivider
1062
+ - id: sn_clothing
1063
+ type: MenuGroup
1064
+ properties:
1065
+ title: Clothing
1066
+ icon: AiOutlineSkin
1067
+ links:
1068
+ - id: sn_mens
1069
+ type: MenuLink
1070
+ properties:
1071
+ title: Men's Wear
1072
+ - id: sn_womens
1073
+ type: MenuLink
1074
+ properties:
1075
+ title: Women's Wear
1076
+ - id: sn_kids
1077
+ type: MenuLink
1078
+ properties:
1079
+ title: Kids
1080
+ - id: sn_electronics
1081
+ type: MenuGroup
1082
+ properties:
1083
+ title: Electronics
1084
+ icon: AiOutlineLaptop
1085
+ links:
1086
+ - id: sn_phones
1087
+ type: MenuLink
1088
+ properties:
1089
+ title: Phones & Tablets
1090
+ - id: sn_computers
1091
+ type: MenuLink
1092
+ properties:
1093
+ title: Computers
1094
+ - id: sn_divider_bottom
1095
+ type: MenuDivider
1096
+ properties:
1097
+ dashed: true
1098
+ - id: sn_deals
1099
+ type: MenuLink
1100
+ properties:
1101
+ title: Today's Deals
1102
+ icon: AiOutlineThunderbolt
1103
+ - id: sn_orders
1104
+ type: MenuLink
1105
+ pageId: orders
1106
+ properties:
1107
+ title: My Orders
1108
+ icon: AiOutlineShoppingCart
1109
+ events:
1110
+ onMenuItemSelect:
1111
+ - id: shop_select_msg
1112
+ type: DisplayMessage
1113
+ params:
1114
+ content: Loading category...
1115
+ status: info
1116
+ onToggleDrawer:
1117
+ - id: shop_toggle_state
1118
+ type: SetState
1119
+ params:
1120
+ menuOpen:
1121
+ _not:
1122
+ _state: menuOpen
1123
+ - id: shop_brand
1124
+ type: Markdown
1125
+ layout:
1126
+ flex: 0 0 auto
1127
+ style:
1128
+ .element:
1129
+ color: white
1130
+ properties:
1131
+ content: '**ShopNow**'
1132
+ - id: shop_right
1133
+ type: Box
1134
+ layout:
1135
+ direction: row
1136
+ align: center
1137
+ gap: 8
1138
+ flex: 0 0 auto
1139
+ blocks:
1140
+ - id: shop_search
1141
+ type: Button
1142
+ layout:
1143
+ flex: 0 0 auto
1144
+ properties:
1145
+ icon: AiOutlineSearch
1146
+ hideTitle: true
1147
+ variant: text
1148
+ ghost: true
1149
+ color: default
1150
+ - id: shop_cart
1151
+ type: Button
1152
+ layout:
1153
+ flex: 0 0 auto
1154
+ properties:
1155
+ icon: AiOutlineShoppingCart
1156
+ hideTitle: true
1157
+ variant: text
1158
+ ghost: true
1159
+ color: default
1160
+ - id: shop_content
1161
+ type: Card
1162
+ properties:
1163
+ title: Featured Products
1164
+ size: small
1165
+ blocks:
1166
+ - id: shop_desc
1167
+ type: Markdown
1168
+ properties:
1169
+ content: |
1170
+ Browse our latest collection across all categories.
1171
+
1172
+ **Free shipping** on orders over $50. Use the menu to explore departments.