@lowdefy/docs-content 0.0.0-experimental-20260710073520

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 (304) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +20 -0
  3. package/content/actions/callapi.md +66 -0
  4. package/content/actions/callmethod.md +41 -0
  5. package/content/actions/copytoclipboard.md +32 -0
  6. package/content/actions/displaymessage.md +53 -0
  7. package/content/actions/downloadcsv.md +89 -0
  8. package/content/actions/fetch.md +50 -0
  9. package/content/actions/geolocationcurrentposition.md +56 -0
  10. package/content/actions/link.md +104 -0
  11. package/content/actions/login.md +85 -0
  12. package/content/actions/logout.md +56 -0
  13. package/content/actions/pdfmake.md +304 -0
  14. package/content/actions/request.md +67 -0
  15. package/content/actions/reset.md +27 -0
  16. package/content/actions/resetvalidation.md +85 -0
  17. package/content/actions/scrollto.md +85 -0
  18. package/content/actions/setdarkmode.md +62 -0
  19. package/content/actions/setfocus.md +33 -0
  20. package/content/actions/setglobal.md +63 -0
  21. package/content/actions/setlocale.md +69 -0
  22. package/content/actions/setstate.md +70 -0
  23. package/content/actions/throw.md +72 -0
  24. package/content/actions/validate.md +87 -0
  25. package/content/actions/wait.md +24 -0
  26. package/content/agents/agent-endpoint-tools.md +190 -0
  27. package/content/agents/agent-mcp-tools.md +124 -0
  28. package/content/agents/agent-multi-agent.md +136 -0
  29. package/content/agents/agent-properties.md +174 -0
  30. package/content/agents/agent-server-hooks.md +336 -0
  31. package/content/agents/agentchat.md +515 -0
  32. package/content/agents/agentconversations.md +148 -0
  33. package/content/concepts/ai-agent-docs.md +190 -0
  34. package/content/concepts/cli.md +213 -0
  35. package/content/concepts/connections-and-requests.md +7 -0
  36. package/content/concepts/custom-html.md +3 -0
  37. package/content/concepts/custom-styling.md +161 -0
  38. package/content/concepts/events-and-actions.md +271 -0
  39. package/content/concepts/hosting-files.md +18 -0
  40. package/content/concepts/i18n.md +320 -0
  41. package/content/concepts/keyboard-shortcuts.md +218 -0
  42. package/content/concepts/layout-overview.md +478 -0
  43. package/content/concepts/lists.md +144 -0
  44. package/content/concepts/logger.md +43 -0
  45. package/content/concepts/lowdefy-schema.md +365 -0
  46. package/content/concepts/menus.md +144 -0
  47. package/content/concepts/module-authoring.md +564 -0
  48. package/content/concepts/modules.md +338 -0
  49. package/content/concepts/operators.md +45 -0
  50. package/content/concepts/overview.md +19 -0
  51. package/content/concepts/references-and-templates.md +207 -0
  52. package/content/concepts/secrets.md +24 -0
  53. package/content/concepts/selectors.md +143 -0
  54. package/content/connections/amazonredshift.md +176 -0
  55. package/content/connections/anthropic.md +232 -0
  56. package/content/connections/awss3.md +313 -0
  57. package/content/connections/azureblobstorage.md +133 -0
  58. package/content/connections/elasticsearch.md +371 -0
  59. package/content/connections/google.md +228 -0
  60. package/content/connections/googlecloudstorage.md +139 -0
  61. package/content/connections/googlesheet.md +313 -0
  62. package/content/connections/knex.md +206 -0
  63. package/content/connections/mariadb.md +177 -0
  64. package/content/connections/mcp.md +134 -0
  65. package/content/connections/mongodb.md +739 -0
  66. package/content/connections/mssql.md +191 -0
  67. package/content/connections/mysql.md +192 -0
  68. package/content/connections/openai-connection.md +228 -0
  69. package/content/connections/postgresql.md +200 -0
  70. package/content/connections/redis.md +116 -0
  71. package/content/connections/sendgridmail.md +94 -0
  72. package/content/connections/smtp.md +149 -0
  73. package/content/connections/sqlite.md +187 -0
  74. package/content/connections/stripe.md +115 -0
  75. package/content/container-blocks/affix.md +413 -0
  76. package/content/container-blocks/alert.md +937 -0
  77. package/content/container-blocks/badge.md +1222 -0
  78. package/content/container-blocks/box.md +1453 -0
  79. package/content/container-blocks/card.md +1200 -0
  80. package/content/container-blocks/carousel.md +2247 -0
  81. package/content/container-blocks/collapse.md +1335 -0
  82. package/content/container-blocks/configprovider.md +1070 -0
  83. package/content/container-blocks/confirmmodal.md +1159 -0
  84. package/content/container-blocks/content.md +597 -0
  85. package/content/container-blocks/descriptions.md +870 -0
  86. package/content/container-blocks/drawer.md +1379 -0
  87. package/content/container-blocks/dropdownmenu.md +643 -0
  88. package/content/container-blocks/flex.md +1510 -0
  89. package/content/container-blocks/footer.md +380 -0
  90. package/content/container-blocks/googlemaps.md +546 -0
  91. package/content/container-blocks/googlemapsheatmap.md +607 -0
  92. package/content/container-blocks/googlemapsscript.md +61 -0
  93. package/content/container-blocks/header.md +302 -0
  94. package/content/container-blocks/label.md +739 -0
  95. package/content/container-blocks/layout.md +604 -0
  96. package/content/container-blocks/masonry.md +1090 -0
  97. package/content/container-blocks/mobilemenu.md +1244 -0
  98. package/content/container-blocks/modal.md +1180 -0
  99. package/content/container-blocks/pageheadermenu.md +614 -0
  100. package/content/container-blocks/pagesidebarlayout.md +438 -0
  101. package/content/container-blocks/pagesidermenu.md +651 -0
  102. package/content/container-blocks/popover.md +1421 -0
  103. package/content/container-blocks/result.md +972 -0
  104. package/content/container-blocks/sider.md +1064 -0
  105. package/content/container-blocks/span.md +747 -0
  106. package/content/container-blocks/spinner.md +267 -0
  107. package/content/container-blocks/splitter.md +1735 -0
  108. package/content/container-blocks/tabs.md +1718 -0
  109. package/content/container-blocks/tooltip.md +1274 -0
  110. package/content/container-blocks/watermark.md +515 -0
  111. package/content/controls/for.md +103 -0
  112. package/content/controls/if.md +107 -0
  113. package/content/controls/log.md +50 -0
  114. package/content/controls/parallel.md +71 -0
  115. package/content/controls/parallel_for.md +36 -0
  116. package/content/controls/reject.md +56 -0
  117. package/content/controls/return.md +66 -0
  118. package/content/controls/set_state.md +98 -0
  119. package/content/controls/switch.md +90 -0
  120. package/content/controls/throw.md +79 -0
  121. package/content/controls/try.md +88 -0
  122. package/content/deployment/docker.md +149 -0
  123. package/content/deployment/node-server.md +27 -0
  124. package/content/deployment/vercel.md +101 -0
  125. package/content/display-blocks/aggrid.md +1459 -0
  126. package/content/display-blocks/anchor.md +336 -0
  127. package/content/display-blocks/avatar.md +1154 -0
  128. package/content/display-blocks/breadcrumb.md +517 -0
  129. package/content/display-blocks/button.md +758 -0
  130. package/content/display-blocks/calendar.md +156 -0
  131. package/content/display-blocks/dangeroushtml.md +314 -0
  132. package/content/display-blocks/dangerousmarkdown.md +423 -0
  133. package/content/display-blocks/diffgit.md +44 -0
  134. package/content/display-blocks/difflist.md +225 -0
  135. package/content/display-blocks/diffsidebyside.md +56 -0
  136. package/content/display-blocks/difftimeline.md +94 -0
  137. package/content/display-blocks/divider.md +406 -0
  138. package/content/display-blocks/download.md +60 -0
  139. package/content/display-blocks/dropdownbutton.md +661 -0
  140. package/content/display-blocks/echart.md +418 -0
  141. package/content/display-blocks/floatbutton.md +545 -0
  142. package/content/display-blocks/html.md +311 -0
  143. package/content/display-blocks/icon.md +717 -0
  144. package/content/display-blocks/img.md +479 -0
  145. package/content/display-blocks/markdown.md +520 -0
  146. package/content/display-blocks/markdownwithcode.md +730 -0
  147. package/content/display-blocks/menu.md +1123 -0
  148. package/content/display-blocks/message.md +941 -0
  149. package/content/display-blocks/notification.md +1410 -0
  150. package/content/display-blocks/paragraph.md +643 -0
  151. package/content/display-blocks/progress.md +818 -0
  152. package/content/display-blocks/qrcode.md +519 -0
  153. package/content/display-blocks/s3download.md +240 -0
  154. package/content/display-blocks/search.md +360 -0
  155. package/content/display-blocks/skeleton.md +272 -0
  156. package/content/display-blocks/skeletonavatar.md +222 -0
  157. package/content/display-blocks/skeletonbutton.md +245 -0
  158. package/content/display-blocks/skeletoninput.md +223 -0
  159. package/content/display-blocks/skeletonparagraph.md +201 -0
  160. package/content/display-blocks/statistic.md +485 -0
  161. package/content/display-blocks/steps.md +585 -0
  162. package/content/display-blocks/tag.md +620 -0
  163. package/content/display-blocks/title.md +654 -0
  164. package/content/display-blocks/tour.md +2359 -0
  165. package/content/input-blocks/autocomplete.md +786 -0
  166. package/content/input-blocks/buttonselector.md +964 -0
  167. package/content/input-blocks/checkboxselector.md +765 -0
  168. package/content/input-blocks/checkboxswitch.md +497 -0
  169. package/content/input-blocks/colorselector.md +884 -0
  170. package/content/input-blocks/daterangeselector.md +777 -0
  171. package/content/input-blocks/dateselector.md +693 -0
  172. package/content/input-blocks/datetimeselector.md +791 -0
  173. package/content/input-blocks/inputgallery.md +528 -0
  174. package/content/input-blocks/monthselector.md +717 -0
  175. package/content/input-blocks/multipleselector.md +1337 -0
  176. package/content/input-blocks/numberinput.md +855 -0
  177. package/content/input-blocks/pagination.md +679 -0
  178. package/content/input-blocks/paragraphinput.md +1664 -0
  179. package/content/input-blocks/passwordinput.md +480 -0
  180. package/content/input-blocks/phonenumberinput.md +688 -0
  181. package/content/input-blocks/radioselector.md +820 -0
  182. package/content/input-blocks/ratingslider.md +684 -0
  183. package/content/input-blocks/s3uploadbutton.md +384 -0
  184. package/content/input-blocks/s3uploaddragger.md +305 -0
  185. package/content/input-blocks/s3uploadphoto.md +288 -0
  186. package/content/input-blocks/segmentedselector.md +782 -0
  187. package/content/input-blocks/selector.md +1162 -0
  188. package/content/input-blocks/switch.md +552 -0
  189. package/content/input-blocks/textarea.md +714 -0
  190. package/content/input-blocks/textinput.md +639 -0
  191. package/content/input-blocks/tiptapinput.md +226 -0
  192. package/content/input-blocks/tiptapmentioninput.md +471 -0
  193. package/content/input-blocks/titleinput.md +1094 -0
  194. package/content/input-blocks/treeinput.md +144 -0
  195. package/content/input-blocks/treemultipleselector.md +162 -0
  196. package/content/input-blocks/treeselector.md +185 -0
  197. package/content/input-blocks/upload.md +149 -0
  198. package/content/input-blocks/uploaddragger.md +85 -0
  199. package/content/input-blocks/uploadphoto.md +84 -0
  200. package/content/input-blocks/weekselector.md +630 -0
  201. package/content/list-blocks/controlledlist.md +498 -0
  202. package/content/list-blocks/list.md +529 -0
  203. package/content/list-blocks/listselector.md +301 -0
  204. package/content/list-blocks/masonrylist.md +230 -0
  205. package/content/migration/upgrade-guide.md +106 -0
  206. package/content/migration/v4-to-v5.md +589 -0
  207. package/content/migration/v5-to-v6.md +36 -0
  208. package/content/operators/_actions.md +58 -0
  209. package/content/operators/_and.md +76 -0
  210. package/content/operators/_api.md +254 -0
  211. package/content/operators/_app.md +114 -0
  212. package/content/operators/_args.md +65 -0
  213. package/content/operators/_array.md +331 -0
  214. package/content/operators/_base64.md +49 -0
  215. package/content/operators/_boolean.md +33 -0
  216. package/content/operators/_build.md +166 -0
  217. package/content/operators/_change_case.md +357 -0
  218. package/content/operators/_date.md +415 -0
  219. package/content/operators/_dayjs.md +128 -0
  220. package/content/operators/_diff.md +61 -0
  221. package/content/operators/_divide.md +32 -0
  222. package/content/operators/_eq.md +52 -0
  223. package/content/operators/_event.md +86 -0
  224. package/content/operators/_function.md +52 -0
  225. package/content/operators/_get.md +92 -0
  226. package/content/operators/_global.md +86 -0
  227. package/content/operators/_gt.md +50 -0
  228. package/content/operators/_gte.md +50 -0
  229. package/content/operators/_hash.md +112 -0
  230. package/content/operators/_if.md +30 -0
  231. package/content/operators/_if_none.md +47 -0
  232. package/content/operators/_index.md +48 -0
  233. package/content/operators/_input.md +86 -0
  234. package/content/operators/_intl.md +135 -0
  235. package/content/operators/_item.md +166 -0
  236. package/content/operators/_js.md +113 -0
  237. package/content/operators/_json.md +120 -0
  238. package/content/operators/_jsonata.md +152 -0
  239. package/content/operators/_locale.md +65 -0
  240. package/content/operators/_location.md +40 -0
  241. package/content/operators/_log.md +22 -0
  242. package/content/operators/_lt.md +50 -0
  243. package/content/operators/_lte.md +50 -0
  244. package/content/operators/_math.md +407 -0
  245. package/content/operators/_media.md +83 -0
  246. package/content/operators/_menu.md +62 -0
  247. package/content/operators/_module.md +340 -0
  248. package/content/operators/_mql.md +95 -0
  249. package/content/operators/_ne.md +62 -0
  250. package/content/operators/_not.md +33 -0
  251. package/content/operators/_number.md +159 -0
  252. package/content/operators/_nunjucks.md +117 -0
  253. package/content/operators/_object.md +253 -0
  254. package/content/operators/_operator.md +33 -0
  255. package/content/operators/_or.md +67 -0
  256. package/content/operators/_product.md +45 -0
  257. package/content/operators/_random.md +90 -0
  258. package/content/operators/_ref.md +80 -0
  259. package/content/operators/_regex.md +69 -0
  260. package/content/operators/_request.md +35 -0
  261. package/content/operators/_request_details.md +29 -0
  262. package/content/operators/_secret.md +56 -0
  263. package/content/operators/_state.md +134 -0
  264. package/content/operators/_step.md +98 -0
  265. package/content/operators/_string.md +327 -0
  266. package/content/operators/_subtract.md +24 -0
  267. package/content/operators/_sum.md +45 -0
  268. package/content/operators/_switch.md +37 -0
  269. package/content/operators/_t.md +96 -0
  270. package/content/operators/_theme.md +65 -0
  271. package/content/operators/_type.md +78 -0
  272. package/content/operators/_uri.md +49 -0
  273. package/content/operators/_url_query.md +92 -0
  274. package/content/operators/_user.md +154 -0
  275. package/content/operators/_uuid.md +118 -0
  276. package/content/operators/_var.md +88 -0
  277. package/content/operators/_yaml.md +96 -0
  278. package/content/other/introduction.md +39 -0
  279. package/content/other/next-auth-providers.md +3 -0
  280. package/content/other/updatesession.md +26 -0
  281. package/content/plugins/plugins-actions.md +80 -0
  282. package/content/plugins/plugins-connections.md +98 -0
  283. package/content/plugins/plugins-dev.md +138 -0
  284. package/content/plugins/plugins-introduction.md +29 -0
  285. package/content/plugins/plugins-operators.md +71 -0
  286. package/content/testing/e2e-auth.md +108 -0
  287. package/content/testing/e2e-configuration.md +107 -0
  288. package/content/testing/e2e-getting-started.md +96 -0
  289. package/content/testing/e2e-introduction.md +53 -0
  290. package/content/testing/e2e-mocking.md +155 -0
  291. package/content/testing/e2e-writing-tests.md +214 -0
  292. package/content/tutorial/tutorial-actions-operators.md +222 -0
  293. package/content/tutorial/tutorial-add-blocks.md +86 -0
  294. package/content/tutorial/tutorial-create-page.md +57 -0
  295. package/content/tutorial/tutorial-display-data-page.md +181 -0
  296. package/content/tutorial/tutorial-next-steps.md +53 -0
  297. package/content/tutorial/tutorial-requests-sql.md +22 -0
  298. package/content/tutorial/tutorial-start.md +71 -0
  299. package/content/user-authentication/auth-providers.md +15 -0
  300. package/content/user-authentication/login-and-logout.md +122 -0
  301. package/content/user-authentication/users-introduction.md +31 -0
  302. package/index.json +2281 -0
  303. package/package.json +34 -0
  304. package/scripts/extractAgentDocs.js +130 -0
@@ -0,0 +1,941 @@
1
+ # Message
2
+
3
+ Global message notification displayed at the top of the page.
4
+
5
+ Operation completed successfully
6
+
7
+ Something went wrong
8
+
9
+ Please check your input
10
+
11
+ Here is some useful information
12
+
13
+ Loading data...
14
+
15
+ ```yaml
16
+ - id: status_success_msg
17
+ type: Message
18
+ properties:
19
+ status: success
20
+ content: Operation completed successfully
21
+ - id: status_error_msg
22
+ type: Message
23
+ properties:
24
+ status: error
25
+ content: Something went wrong
26
+ - id: status_warning_msg
27
+ type: Message
28
+ properties:
29
+ status: warning
30
+ content: Please check your input
31
+ - id: status_info_msg
32
+ type: Message
33
+ properties:
34
+ status: info
35
+ content: Here is some useful information
36
+ - id: status_loading_msg
37
+ type: Message
38
+ properties:
39
+ status: loading
40
+ content: Loading data...
41
+ duration: 3
42
+ - id: btn_status_success
43
+ type: Button
44
+ layout:
45
+ flex: 0 0 auto
46
+ properties:
47
+ title: Success
48
+ color: primary
49
+ variant: outlined
50
+ icon: AiOutlineCheckCircle
51
+ events:
52
+ onClick:
53
+ - id: call_status_success
54
+ type: CallMethod
55
+ params:
56
+ blockId: status_success_msg
57
+ method: open
58
+ - id: btn_status_error
59
+ type: Button
60
+ layout:
61
+ flex: 0 0 auto
62
+ properties:
63
+ title: Error
64
+ color: danger
65
+ variant: outlined
66
+ icon: AiOutlineCloseCircle
67
+ events:
68
+ onClick:
69
+ - id: call_status_error
70
+ type: CallMethod
71
+ params:
72
+ blockId: status_error_msg
73
+ method: open
74
+ - id: btn_status_warning
75
+ type: Button
76
+ layout:
77
+ flex: 0 0 auto
78
+ properties:
79
+ title: Warning
80
+ color: default
81
+ variant: outlined
82
+ icon: AiOutlineWarning
83
+ events:
84
+ onClick:
85
+ - id: call_status_warning
86
+ type: CallMethod
87
+ params:
88
+ blockId: status_warning_msg
89
+ method: open
90
+ - id: btn_status_info
91
+ type: Button
92
+ layout:
93
+ flex: 0 0 auto
94
+ properties:
95
+ title: Info
96
+ color: primary
97
+ variant: text
98
+ icon: AiOutlineInfoCircle
99
+ events:
100
+ onClick:
101
+ - id: call_status_info
102
+ type: CallMethod
103
+ params:
104
+ blockId: status_info_msg
105
+ method: open
106
+ - id: btn_status_loading
107
+ type: Button
108
+ layout:
109
+ flex: 0 0 auto
110
+ properties:
111
+ title: Loading
112
+ color: default
113
+ variant: outlined
114
+ icon: AiOutlineLoading
115
+ events:
116
+ onClick:
117
+ - id: call_status_loading
118
+ type: CallMethod
119
+ params:
120
+ blockId: status_loading_msg
121
+ method: open
122
+ ```
123
+
124
+ Gone in 1 second
125
+
126
+ Default duration (4.5s)
127
+
128
+ Stays for 10 seconds
129
+
130
+ Will not auto-close (duration 0)
131
+
132
+ ```yaml
133
+ - id: dur_short_msg
134
+ type: Message
135
+ properties:
136
+ status: info
137
+ content: Gone in 1 second
138
+ duration: 1
139
+ - id: dur_default_msg
140
+ type: Message
141
+ properties:
142
+ status: info
143
+ content: Default duration (4.5s)
144
+ - id: dur_long_msg
145
+ type: Message
146
+ properties:
147
+ status: info
148
+ content: Stays for 10 seconds
149
+ duration: 10
150
+ - id: dur_sticky_msg
151
+ type: Message
152
+ properties:
153
+ status: warning
154
+ content: Will not auto-close (duration 0)
155
+ duration: 0
156
+ - id: btn_dur_short
157
+ type: Button
158
+ layout:
159
+ flex: 0 0 auto
160
+ properties:
161
+ title: 1 second
162
+ color: default
163
+ variant: outlined
164
+ events:
165
+ onClick:
166
+ - id: call_dur_short
167
+ type: CallMethod
168
+ params:
169
+ blockId: dur_short_msg
170
+ method: open
171
+ - id: btn_dur_default
172
+ type: Button
173
+ layout:
174
+ flex: 0 0 auto
175
+ properties:
176
+ title: Default (4.5s)
177
+ color: default
178
+ variant: outlined
179
+ events:
180
+ onClick:
181
+ - id: call_dur_default
182
+ type: CallMethod
183
+ params:
184
+ blockId: dur_default_msg
185
+ method: open
186
+ - id: btn_dur_long
187
+ type: Button
188
+ layout:
189
+ flex: 0 0 auto
190
+ properties:
191
+ title: 10 seconds
192
+ color: default
193
+ variant: outlined
194
+ events:
195
+ onClick:
196
+ - id: call_dur_long
197
+ type: CallMethod
198
+ params:
199
+ blockId: dur_long_msg
200
+ method: open
201
+ - id: btn_dur_sticky
202
+ type: Button
203
+ layout:
204
+ flex: 0 0 auto
205
+ properties:
206
+ title: Sticky (duration 0)
207
+ color: default
208
+ variant: outlined
209
+ events:
210
+ onClick:
211
+ - id: call_dur_sticky
212
+ type: CallMethod
213
+ params:
214
+ blockId: dur_sticky_msg
215
+ method: open
216
+ ```
217
+
218
+ File saved
219
+
220
+ Notification sent
221
+
222
+ Custom colored star icon
223
+
224
+ ```yaml
225
+ - id: icon_save_msg
226
+ type: Message
227
+ properties:
228
+ status: success
229
+ content: File saved
230
+ icon: AiOutlineSave
231
+ - id: icon_bell_msg
232
+ type: Message
233
+ properties:
234
+ status: info
235
+ content: Notification sent
236
+ icon: AiOutlineBell
237
+ - id: icon_star_msg
238
+ type: Message
239
+ properties:
240
+ status: info
241
+ content: Custom colored star icon
242
+ icon:
243
+ name: AiOutlineStar
244
+ color: "#faad14"
245
+ - id: btn_icon_save
246
+ type: Button
247
+ layout:
248
+ flex: 0 0 auto
249
+ properties:
250
+ title: Save Icon
251
+ color: primary
252
+ variant: outlined
253
+ icon: AiOutlineSave
254
+ events:
255
+ onClick:
256
+ - id: call_icon_save
257
+ type: CallMethod
258
+ params:
259
+ blockId: icon_save_msg
260
+ method: open
261
+ - id: btn_icon_bell
262
+ type: Button
263
+ layout:
264
+ flex: 0 0 auto
265
+ properties:
266
+ title: Bell Icon
267
+ color: primary
268
+ variant: outlined
269
+ icon: AiOutlineBell
270
+ events:
271
+ onClick:
272
+ - id: call_icon_bell
273
+ type: CallMethod
274
+ params:
275
+ blockId: icon_bell_msg
276
+ method: open
277
+ - id: btn_icon_star
278
+ type: Button
279
+ layout:
280
+ flex: 0 0 auto
281
+ properties:
282
+ title: Star Icon (colored)
283
+ color: default
284
+ variant: outlined
285
+ icon: AiOutlineStar
286
+ events:
287
+ onClick:
288
+ - id: call_icon_star
289
+ type: CallMethod
290
+ params:
291
+ blockId: icon_star_msg
292
+ method: open
293
+ ```
294
+
295
+ <b>Bold</b> content in message
296
+
297
+ Visit <a href="https://lowdefy.com">Lowdefy</a> for more info
298
+
299
+ <span style="color: #fa8c16; font-weight: bold;">Important:</span> Please review
300
+
301
+ ```yaml
302
+ - id: html_bold_msg
303
+ type: Message
304
+ properties:
305
+ status: success
306
+ content: <b>Bold</b> content in message
307
+ - id: html_link_msg
308
+ type: Message
309
+ properties:
310
+ status: info
311
+ content: Visit <a href="https://lowdefy.com">Lowdefy</a> for more info
312
+ - id: html_styled_msg
313
+ type: Message
314
+ properties:
315
+ status: warning
316
+ content: '<span style="color: #fa8c16; font-weight: bold;">Important:</span>
317
+ Please review'
318
+ - id: btn_html_bold
319
+ type: Button
320
+ layout:
321
+ flex: 0 0 auto
322
+ properties:
323
+ title: Bold HTML
324
+ color: default
325
+ variant: outlined
326
+ events:
327
+ onClick:
328
+ - id: call_html_bold
329
+ type: CallMethod
330
+ params:
331
+ blockId: html_bold_msg
332
+ method: open
333
+ - id: btn_html_link
334
+ type: Button
335
+ layout:
336
+ flex: 0 0 auto
337
+ properties:
338
+ title: HTML Link
339
+ color: default
340
+ variant: outlined
341
+ events:
342
+ onClick:
343
+ - id: call_html_link
344
+ type: CallMethod
345
+ params:
346
+ blockId: html_link_msg
347
+ method: open
348
+ - id: btn_html_styled
349
+ type: Button
350
+ layout:
351
+ flex: 0 0 auto
352
+ properties:
353
+ title: Styled HTML
354
+ color: default
355
+ variant: outlined
356
+ events:
357
+ onClick:
358
+ - id: call_html_styled
359
+ type: CallMethod
360
+ params:
361
+ blockId: html_styled_msg
362
+ method: open
363
+ ```
364
+
365
+ Custom background color
366
+
367
+ Larger font with custom padding
368
+
369
+ Shadow and rounded corners
370
+
371
+ ```yaml
372
+ - id: mstyle_bg_msg
373
+ type: Message
374
+ properties:
375
+ status: success
376
+ content: Custom background color
377
+ style:
378
+ .element:
379
+ border: "1px solid #b7eb8f"
380
+ - id: mstyle_font_msg
381
+ type: Message
382
+ properties:
383
+ status: info
384
+ content: Larger font with custom padding
385
+ style:
386
+ .element:
387
+ fontSize: 16
388
+ padding: 12px 24px
389
+ - id: mstyle_shadow_msg
390
+ type: Message
391
+ properties:
392
+ status: warning
393
+ content: Shadow and rounded corners
394
+ style:
395
+ .element:
396
+ boxShadow: 0 4px 12px rgba(0, 0, 0, 0.15)
397
+ borderRadius: 12
398
+ - id: btn_mstyle_bg
399
+ type: Button
400
+ layout:
401
+ flex: 0 0 auto
402
+ properties:
403
+ title: Custom Background
404
+ color: primary
405
+ variant: outlined
406
+ events:
407
+ onClick:
408
+ - id: call_mstyle_bg
409
+ type: CallMethod
410
+ params:
411
+ blockId: mstyle_bg_msg
412
+ method: open
413
+ - id: btn_mstyle_font
414
+ type: Button
415
+ layout:
416
+ flex: 0 0 auto
417
+ properties:
418
+ title: Large Font
419
+ color: primary
420
+ variant: outlined
421
+ events:
422
+ onClick:
423
+ - id: call_mstyle_font
424
+ type: CallMethod
425
+ params:
426
+ blockId: mstyle_font_msg
427
+ method: open
428
+ - id: btn_mstyle_shadow
429
+ type: Button
430
+ layout:
431
+ flex: 0 0 auto
432
+ properties:
433
+ title: Shadow + Rounded
434
+ color: primary
435
+ variant: outlined
436
+ events:
437
+ onClick:
438
+ - id: call_mstyle_shadow
439
+ type: CallMethod
440
+ params:
441
+ blockId: mstyle_shadow_msg
442
+ method: open
443
+ ```
444
+
445
+ Default message
446
+
447
+ ```yaml
448
+ - id: override_msg
449
+ type: Message
450
+ properties:
451
+ status: info
452
+ content: Default message
453
+ - id: btn_override_success
454
+ type: Button
455
+ layout:
456
+ flex: 0 0 auto
457
+ properties:
458
+ title: Open as Success
459
+ color: primary
460
+ variant: solid
461
+ icon: AiOutlineCheckCircle
462
+ events:
463
+ onClick:
464
+ - id: call_override_success
465
+ type: CallMethod
466
+ params:
467
+ blockId: override_msg
468
+ method: open
469
+ args:
470
+ - status: success
471
+ content: Overridden to success at call time!
472
+ duration: 3
473
+ - id: btn_override_error
474
+ type: Button
475
+ layout:
476
+ flex: 0 0 auto
477
+ properties:
478
+ title: Open as Error
479
+ color: danger
480
+ variant: solid
481
+ icon: AiOutlineCloseCircle
482
+ events:
483
+ onClick:
484
+ - id: call_override_error
485
+ type: CallMethod
486
+ params:
487
+ blockId: override_msg
488
+ method: open
489
+ args:
490
+ - status: error
491
+ content: Overridden to error at call time!
492
+ duration: 3
493
+ - id: btn_override_icon
494
+ type: Button
495
+ layout:
496
+ flex: 0 0 auto
497
+ properties:
498
+ title: Open with Custom Icon
499
+ color: default
500
+ variant: solid
501
+ icon: AiOutlineRocket
502
+ events:
503
+ onClick:
504
+ - id: call_override_icon
505
+ type: CallMethod
506
+ params:
507
+ blockId: override_msg
508
+ method: open
509
+ args:
510
+ - status: info
511
+ content: Launched with a rocket icon!
512
+ icon: AiOutlineRocket
513
+ duration: 3
514
+ ```
515
+
516
+ Close me to trigger the onClose event
517
+
518
+ ```yaml
519
+ - id: onclose_msg
520
+ type: Message
521
+ properties:
522
+ status: info
523
+ content: Close me to trigger the onClose event
524
+ duration: 3
525
+ events:
526
+ onClose:
527
+ - id: onclose_set_state
528
+ type: SetState
529
+ params:
530
+ messageClosed: true
531
+ - id: onclose_display
532
+ type: DisplayMessage
533
+ params:
534
+ content: onClose event fired!
535
+ status: success
536
+ - id: btn_onclose
537
+ type: Button
538
+ layout:
539
+ flex: 0 0 auto
540
+ properties:
541
+ title: Open Message with onClose
542
+ color: primary
543
+ variant: outlined
544
+ icon: AiOutlineNotification
545
+ events:
546
+ onClick:
547
+ - id: call_onclose
548
+ type: CallMethod
549
+ params:
550
+ blockId: onclose_msg
551
+ method: open
552
+ ```
553
+
554
+ Message with shadow via Tailwind class
555
+
556
+ Message with rounded corners via Tailwind class
557
+
558
+ Message with inline border style
559
+
560
+ ```yaml
561
+ - id: css_shadow_msg
562
+ type: Message
563
+ class:
564
+ element: shadow-lg
565
+ properties:
566
+ status: success
567
+ content: Message with shadow via Tailwind class
568
+ - id: css_rounded_msg
569
+ type: Message
570
+ class:
571
+ element: rounded-full
572
+ properties:
573
+ status: info
574
+ content: Message with rounded corners via Tailwind class
575
+ - id: css_custom_msg
576
+ type: Message
577
+ style:
578
+ .element:
579
+ border: "2px solid #1677ff"
580
+ borderRadius: 8
581
+ properties:
582
+ status: info
583
+ content: Message with inline border style
584
+ - id: btn_css_shadow
585
+ type: Button
586
+ layout:
587
+ flex: 0 0 auto
588
+ properties:
589
+ title: Shadow Class
590
+ color: default
591
+ variant: outlined
592
+ events:
593
+ onClick:
594
+ - id: call_css_shadow
595
+ type: CallMethod
596
+ params:
597
+ blockId: css_shadow_msg
598
+ method: open
599
+ - id: btn_css_rounded
600
+ type: Button
601
+ layout:
602
+ flex: 0 0 auto
603
+ properties:
604
+ title: Rounded Class
605
+ color: default
606
+ variant: outlined
607
+ events:
608
+ onClick:
609
+ - id: call_css_rounded
610
+ type: CallMethod
611
+ params:
612
+ blockId: css_rounded_msg
613
+ method: open
614
+ - id: btn_css_custom
615
+ type: Button
616
+ layout:
617
+ flex: 0 0 auto
618
+ properties:
619
+ title: Inline Border Style
620
+ color: default
621
+ variant: outlined
622
+ events:
623
+ onClick:
624
+ - id: call_css_custom
625
+ type: CallMethod
626
+ params:
627
+ blockId: css_custom_msg
628
+ method: open
629
+ ```
630
+
631
+ Custom background via theme token
632
+
633
+ Extra padding via theme token
634
+
635
+ Custom z-index via theme token
636
+
637
+ Combined theme overrides
638
+
639
+ ```yaml
640
+ - id: theme_bg_msg
641
+ type: Message
642
+ properties:
643
+ status: success
644
+ content: Custom background via theme token
645
+ - id: theme_padding_msg
646
+ type: Message
647
+ properties:
648
+ status: info
649
+ content: Extra padding via theme token
650
+ theme:
651
+ contentPadding: 14px 20px
652
+ - id: theme_zindex_msg
653
+ type: Message
654
+ properties:
655
+ status: warning
656
+ content: Custom z-index via theme token
657
+ theme:
658
+ zIndexPopup: 2000
659
+ - id: theme_combined_msg
660
+ type: Message
661
+ properties:
662
+ status: info
663
+ content: Combined theme overrides
664
+ theme:
665
+ contentPadding: 16px 24px
666
+ - id: btn_theme_bg
667
+ type: Button
668
+ layout:
669
+ flex: 0 0 auto
670
+ properties:
671
+ title: Custom Background
672
+ color: primary
673
+ variant: outlined
674
+ events:
675
+ onClick:
676
+ - id: call_theme_bg
677
+ type: CallMethod
678
+ params:
679
+ blockId: theme_bg_msg
680
+ method: open
681
+ - id: btn_theme_padding
682
+ type: Button
683
+ layout:
684
+ flex: 0 0 auto
685
+ properties:
686
+ title: Extra Padding
687
+ color: primary
688
+ variant: outlined
689
+ events:
690
+ onClick:
691
+ - id: call_theme_padding
692
+ type: CallMethod
693
+ params:
694
+ blockId: theme_padding_msg
695
+ method: open
696
+ - id: btn_theme_zindex
697
+ type: Button
698
+ layout:
699
+ flex: 0 0 auto
700
+ properties:
701
+ title: Custom Z-Index
702
+ color: primary
703
+ variant: outlined
704
+ events:
705
+ onClick:
706
+ - id: call_theme_zindex
707
+ type: CallMethod
708
+ params:
709
+ blockId: theme_zindex_msg
710
+ method: open
711
+ - id: btn_theme_combined
712
+ type: Button
713
+ layout:
714
+ flex: 0 0 auto
715
+ properties:
716
+ title: Combined Tokens
717
+ color: primary
718
+ variant: outlined
719
+ events:
720
+ onClick:
721
+ - id: call_theme_combined
722
+ type: CallMethod
723
+ params:
724
+ blockId: theme_combined_msg
725
+ method: open
726
+ ```
727
+
728
+ Thank you for your feedback!
729
+
730
+ Please fill in all required fields.
731
+
732
+ ```yaml
733
+ - id: form_card
734
+ type: Card
735
+ properties:
736
+ title: Submit Feedback
737
+ size: small
738
+ blocks:
739
+ - id: form_name
740
+ type: TextInput
741
+ required: true
742
+ properties:
743
+ label:
744
+ title: Name
745
+ placeholder: Your name
746
+ - id: form_rating
747
+ type: RatingSlider
748
+ required: true
749
+ properties:
750
+ label:
751
+ title: Rating
752
+ - id: form_comments
753
+ type: TextArea
754
+ properties:
755
+ label:
756
+ title: Comments
757
+ placeholder: Tell us what you think
758
+ rows: 3
759
+ - id: form_submit_msg
760
+ type: Message
761
+ properties:
762
+ status: success
763
+ content: Thank you for your feedback!
764
+ duration: 3
765
+ events:
766
+ onClose:
767
+ - id: form_close_set
768
+ type: SetState
769
+ params:
770
+ feedbackSubmitted: true
771
+ - id: form_error_msg
772
+ type: Message
773
+ properties:
774
+ status: error
775
+ content: Please fill in all required fields.
776
+ duration: 4
777
+ - id: form_actions
778
+ type: Box
779
+ layout:
780
+ gap: 8
781
+ justify: flex-end
782
+ blocks:
783
+ - id: form_cancel
784
+ type: Button
785
+ layout:
786
+ flex: 0 0 auto
787
+ properties:
788
+ title: Cancel
789
+ color: default
790
+ variant: outlined
791
+ events:
792
+ onClick:
793
+ - id: form_cancel_reset
794
+ type: ResetValidation
795
+ - id: form_cancel_msg
796
+ type: DisplayMessage
797
+ params:
798
+ content: Form cleared
799
+ status: info
800
+ - id: form_submit
801
+ type: Button
802
+ layout:
803
+ flex: 0 0 auto
804
+ properties:
805
+ title: Submit Feedback
806
+ color: primary
807
+ variant: solid
808
+ icon: AiOutlineSend
809
+ events:
810
+ onClick:
811
+ - id: form_validate
812
+ type: Validate
813
+ params:
814
+ - form_name
815
+ - form_rating
816
+ - id: form_open_success
817
+ type: CallMethod
818
+ params:
819
+ blockId: form_submit_msg
820
+ method: open
821
+ ```
822
+
823
+ Upload your project files below. Supported formats: PDF, DOCX, XLSX.
824
+ Maximum file size: 10 MB.
825
+
826
+ Uploading file...
827
+
828
+ File uploaded successfully!
829
+
830
+ Upload failed. Please try again.
831
+
832
+ ```yaml
833
+ - id: upload_card
834
+ type: Card
835
+ properties:
836
+ title: Upload Documents
837
+ size: small
838
+ blocks:
839
+ - id: upload_description
840
+ type: Markdown
841
+ properties:
842
+ content: |
843
+ Upload your project files below. Supported formats: PDF, DOCX, XLSX.
844
+ Maximum file size: 10 MB.
845
+ - id: upload_progress_msg
846
+ type: Message
847
+ properties:
848
+ status: loading
849
+ content: Uploading file...
850
+ duration: 0
851
+ - id: upload_success_msg
852
+ type: Message
853
+ properties:
854
+ status: success
855
+ content: File uploaded successfully!
856
+ icon: AiOutlineCloudUpload
857
+ duration: 3
858
+ - id: upload_fail_msg
859
+ type: Message
860
+ properties:
861
+ status: error
862
+ content: Upload failed. Please try again.
863
+ duration: 5
864
+ - id: upload_actions
865
+ type: Box
866
+ layout:
867
+ gap: 8
868
+ justify: flex-start
869
+ blocks:
870
+ - id: upload_start
871
+ type: Button
872
+ layout:
873
+ flex: 0 0 auto
874
+ properties:
875
+ title: Start Upload
876
+ color: primary
877
+ variant: solid
878
+ icon: AiOutlineUpload
879
+ events:
880
+ onClick:
881
+ - id: upload_show_progress
882
+ type: CallMethod
883
+ params:
884
+ blockId: upload_progress_msg
885
+ method: open
886
+ - id: upload_complete
887
+ type: Button
888
+ layout:
889
+ flex: 0 0 auto
890
+ properties:
891
+ title: Simulate Success
892
+ color: green
893
+ variant: outlined
894
+ icon: AiOutlineCheckCircle
895
+ events:
896
+ onClick:
897
+ - id: upload_show_success
898
+ type: CallMethod
899
+ params:
900
+ blockId: upload_success_msg
901
+ method: open
902
+ - id: upload_fail
903
+ type: Button
904
+ layout:
905
+ flex: 0 0 auto
906
+ properties:
907
+ title: Simulate Failure
908
+ color: danger
909
+ variant: outlined
910
+ icon: AiOutlineCloseCircle
911
+ events:
912
+ onClick:
913
+ - id: upload_show_fail
914
+ type: CallMethod
915
+ params:
916
+ blockId: upload_fail_msg
917
+ method: open
918
+ ```
919
+
920
+ | Property | Type | Default | Description |
921
+ | --- | --- | --- | --- |
922
+ | `content` | string | - | The content of the message - supports html. |
923
+ | `duration` | number | `4.5` | Time(seconds) before auto-dismiss, don't dismiss if set to 0. |
924
+ | `icon` | string \| object | - | Name of an React-Icon (See all icons) or properties of an Icon block to customize message icon. |
925
+ | `status` | string | `"info"` | Message status type. Enum: `success`, `error`, `info`, `warning`, `loading`. |
926
+ | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design message tokens](https://ant.design/components/message#design-token). |
927
+ | `theme.zIndexPopup` | number | `1080` | Z-index of the message popup. |
928
+ | `theme.contentBg` | string | - | Background color of the message content. |
929
+ | `theme.contentPadding` | string | - | Padding of the message content. Calculated from controlHeightLG, fontSize, lineHeight, and paddingSM. |
930
+
931
+ | Event | Event Data | Description |
932
+ | --- | --- | --- |
933
+ | `onClose` | \- | Trigger actions when message is closed. |
934
+
935
+ | Key | Target |
936
+ | --- | --- |
937
+ | `/block` | Outer block wrapper (always available). |
938
+ | `/element` | The Message element. |
939
+ | `/icon` | The icon in the Message. |
940
+
941
+ No slots defined.