@lowdefy/docs-content 0.0.0-experimental-20260928120643 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/content/actions/link.md +0 -17
- package/content/actions/login.md +5 -23
- package/content/actions/logout.md +5 -5
- package/content/actions/pdfmake.md +2 -2
- package/content/actions/setdarkmode.md +2 -2
- package/content/agents/agent-properties.md +2 -4
- package/content/agents/agentchat.md +6 -21
- package/content/agents/agentconversations.md +2 -2
- package/content/concepts/ai-agent-docs.md +101 -313
- package/content/concepts/cli.md +3 -34
- package/content/concepts/connections-and-requests.md +0 -402
- package/content/concepts/custom-html.md +0 -40
- package/content/concepts/custom-styling.md +5 -50
- package/content/concepts/events-and-actions.md +2 -64
- package/content/concepts/i18n.md +2 -7
- package/content/concepts/keyboard-shortcuts.md +2 -2
- package/content/concepts/layout-overview.md +1 -1
- package/content/concepts/logger.md +0 -81
- package/content/concepts/lowdefy-schema.md +1 -4
- package/content/concepts/menus.md +7 -7
- package/content/concepts/module-authoring.md +2 -2
- package/content/connections/anthropic.md +2 -162
- package/content/connections/awss3.md +0 -54
- package/content/connections/google.md +2 -162
- package/content/connections/mongodb.md +3 -121
- package/content/connections/openai-connection.md +2 -162
- package/content/container-blocks/affix.md +7 -47
- package/content/container-blocks/alert.md +24 -76
- package/content/container-blocks/badge.md +24 -100
- package/content/container-blocks/box.md +9 -9
- package/content/container-blocks/card.md +25 -80
- package/content/container-blocks/carousel.md +7 -60
- package/content/container-blocks/collapse.md +9 -87
- package/content/container-blocks/configprovider.md +13 -35
- package/content/container-blocks/confirmmodal.md +23 -69
- package/content/container-blocks/content.md +98 -62
- package/content/container-blocks/descriptions.md +4 -45
- package/content/container-blocks/drawer.md +28 -92
- package/content/container-blocks/dropdownmenu.md +31 -119
- package/content/container-blocks/flex.md +62 -40
- package/content/container-blocks/footer.md +11 -15
- package/content/container-blocks/googlemapsheatmap.md +1 -1
- package/content/container-blocks/googlemapsscript.md +2 -2
- package/content/container-blocks/header.md +36 -71
- package/content/container-blocks/label.md +7 -34
- package/content/container-blocks/layout.md +34 -52
- package/content/container-blocks/masonry.md +71 -17
- package/content/container-blocks/mobilemenu.md +88 -131
- package/content/container-blocks/modal.md +26 -114
- package/content/container-blocks/pageheadermenu.md +31 -81
- package/content/container-blocks/pagesidebarlayout.md +26 -169
- package/content/container-blocks/pagesidermenu.md +42 -95
- package/content/container-blocks/popover.md +31 -34
- package/content/container-blocks/result.md +21 -32
- package/content/container-blocks/sider.md +122 -85
- package/content/container-blocks/span.md +7 -7
- package/content/container-blocks/spinner.md +3 -3
- package/content/container-blocks/splitter.md +68 -150
- package/content/container-blocks/tabs.md +12 -64
- package/content/container-blocks/tooltip.md +46 -22
- package/content/container-blocks/watermark.md +4 -22
- package/content/controls/reject.md +2 -4
- package/content/controls/throw.md +0 -1
- package/content/controls/try.md +2 -3
- package/content/deployment/deployment-environments.md +6 -8
- package/content/deployment/docker.md +7 -22
- package/content/deployment/node-server.md +0 -4
- package/content/deployment/vercel.md +6 -13
- package/content/display-blocks/aggrid.md +11 -26
- package/content/display-blocks/anchor.md +15 -15
- package/content/display-blocks/avatar.md +37 -57
- package/content/display-blocks/breadcrumb.md +21 -70
- package/content/display-blocks/button.md +18 -92
- package/content/display-blocks/calendar.md +0 -12
- package/content/display-blocks/dangeroushtml.md +1 -1
- package/content/display-blocks/difflist.md +1 -1
- package/content/display-blocks/difftimeline.md +1 -1
- package/content/display-blocks/divider.md +3 -64
- package/content/display-blocks/dropdownbutton.md +28 -79
- package/content/display-blocks/echart.md +1 -35
- package/content/display-blocks/floatbutton.md +42 -129
- package/content/display-blocks/html.md +1 -61
- package/content/display-blocks/icon.md +67 -250
- package/content/display-blocks/menu.md +73 -145
- package/content/display-blocks/message.md +124 -38
- package/content/display-blocks/notification.md +222 -94
- package/content/display-blocks/paragraph.md +9 -59
- package/content/display-blocks/progress.md +17 -96
- package/content/display-blocks/qrcode.md +4 -19
- package/content/display-blocks/s3download.md +1 -1
- package/content/display-blocks/search.md +7 -17
- package/content/display-blocks/skeletonbutton.md +0 -1
- package/content/display-blocks/skeletoninput.md +0 -1
- package/content/display-blocks/statistic.md +17 -75
- package/content/display-blocks/steps.md +25 -58
- package/content/display-blocks/tag.md +17 -102
- package/content/display-blocks/title.md +11 -50
- package/content/display-blocks/tour.md +23 -33
- package/content/input-blocks/autocomplete.md +9 -81
- package/content/input-blocks/buttonselector.md +8 -45
- package/content/input-blocks/checkboxselector.md +7 -97
- package/content/input-blocks/checkboxswitch.md +3 -33
- package/content/input-blocks/colorselector.md +14 -63
- package/content/input-blocks/daterangeselector.md +45 -165
- package/content/input-blocks/dateselector.md +41 -139
- package/content/input-blocks/datetimeselector.md +49 -158
- package/content/input-blocks/inputgallery.md +3 -3
- package/content/input-blocks/monthselector.md +52 -120
- package/content/input-blocks/multipleselector.md +39 -150
- package/content/input-blocks/numberinput.md +12 -98
- package/content/input-blocks/pagination.md +14 -70
- package/content/input-blocks/paragraphinput.md +37 -51
- package/content/input-blocks/passwordinput.md +6 -60
- package/content/input-blocks/phonenumberinput.md +26 -59
- package/content/input-blocks/radioselector.md +7 -83
- package/content/input-blocks/ratingslider.md +26 -57
- package/content/input-blocks/s3uploadbutton.md +24 -24
- package/content/input-blocks/s3uploaddragger.md +3 -3
- package/content/input-blocks/s3uploadphoto.md +5 -5
- package/content/input-blocks/segmentedselector.md +32 -72
- package/content/input-blocks/selector.md +21 -109
- package/content/input-blocks/switch.md +17 -65
- package/content/input-blocks/textarea.md +3 -32
- package/content/input-blocks/textinput.md +28 -69
- package/content/input-blocks/tiptapmentioninput.md +1 -1
- package/content/input-blocks/titleinput.md +12 -39
- package/content/input-blocks/treeinput.md +25 -49
- package/content/input-blocks/treemultipleselector.md +10 -127
- package/content/input-blocks/treeselector.md +9 -97
- package/content/input-blocks/upload.md +15 -64
- package/content/input-blocks/uploaddragger.md +1 -17
- package/content/input-blocks/uploadphoto.md +1 -18
- package/content/input-blocks/weekselector.md +55 -120
- package/content/list-blocks/controlledlist.md +15 -24
- package/content/list-blocks/list.md +11 -11
- package/content/list-blocks/masonrylist.md +34 -7
- package/content/migration/upgrade-guide.md +0 -1
- package/content/operators/_app.md +1 -2
- package/content/operators/_error.md +1 -23
- package/content/operators/_get.md +6 -6
- package/content/operators/_operator.md +3 -17
- package/content/operators/_ref.md +0 -258
- package/content/operators/_type.md +3 -14
- package/content/operators/_user.md +3 -3
- package/content/other/introduction.md +1 -1
- package/content/plugins/plugins-dev.md +0 -66
- package/content/plugins/plugins-introduction.md +1 -27
- package/content/testing/e2e-configuration.md +1 -8
- package/content/testing/e2e-getting-started.md +1 -1
- package/content/testing/e2e-introduction.md +1 -1
- package/content/tutorial/tutorial-actions-operators.md +2 -2
- package/content/tutorial/tutorial-add-blocks.md +2 -2
- package/content/tutorial/tutorial-create-page.md +2 -48
- package/content/tutorial/tutorial-display-data-page.md +3 -3
- package/content/tutorial/tutorial-requests-sql.md +0 -153
- package/content/tutorial/tutorial-start.md +1 -66
- package/content/user-authentication/login-and-logout.md +8 -158
- package/content/user-authentication/users-introduction.md +0 -8
- package/index.json +2 -6065
- package/package.json +1 -7
- package/scripts/extractAgentDocs.js +4 -36
- package/content/actions/emailotpsend.md +0 -58
- package/content/actions/emailotpverify.md +0 -77
- package/content/actions/getlocalstorage.md +0 -41
- package/content/actions/magiclinkverify.md +0 -113
- package/content/actions/posthogalias.md +0 -29
- package/content/actions/posthogcapture.md +0 -49
- package/content/actions/posthogcapturepageleave.md +0 -38
- package/content/actions/posthogfeatureflag.md +0 -50
- package/content/actions/posthoggroup.md +0 -37
- package/content/actions/posthogidentify.md +0 -54
- package/content/actions/posthoginit.md +0 -66
- package/content/actions/posthogoptin.md +0 -29
- package/content/actions/posthogoptout.md +0 -29
- package/content/actions/posthogpageview.md +0 -37
- package/content/actions/posthogreloadfeatureflags.md +0 -47
- package/content/actions/posthogreset.md +0 -28
- package/content/actions/posthogsetpersonproperties.md +0 -36
- package/content/actions/removelocalstorage.md +0 -26
- package/content/actions/setlocalstorage.md +0 -32
- package/content/adapter-reference/mongodbauthadapter.md +0 -46
- package/content/agents/agents-introduction.md +0 -107
- package/content/callback-reference/auth0logoutcallback.md +0 -54
- package/content/concepts/blocks.md +0 -150
- package/content/concepts/dynamic-page-content.md +0 -304
- package/content/concepts/html-attributes.md +0 -285
- package/content/concepts/lowdefy-api.md +0 -1110
- package/content/concepts/notifications.md +0 -155
- package/content/concepts/page-and-app-state.md +0 -244
- package/content/concepts/theming.md +0 -582
- package/content/connections/aigateway.md +0 -368
- package/content/connections/axioshttp.md +0 -181
- package/content/controls/while.md +0 -46
- package/content/display-blocks/clickablehtml.md +0 -239
- package/content/display-blocks/eventlog.md +0 -363
- package/content/display-blocks/pollingtimer.md +0 -263
- package/content/input-blocks/captcha.md +0 -40
- package/content/input-blocks/placesautocomplete.md +0 -319
- package/content/input-blocks/tagmultipleselector.md +0 -114
- package/content/input-blocks/tagselector.md +0 -114
- package/content/migration/auth-upgrade.md +0 -327
- package/content/migration/v3-to-v4.md +0 -417
- package/content/migration/v6-to-v7.md +0 -222
- package/content/operators/_cron.md +0 -292
- package/content/other/mongodbadapter.md +0 -3
- package/content/plugins/plugins-icon-sets.md +0 -267
- package/content/plugins/posthog.md +0 -275
- package/content/provider-reference/auth-js-providers.md +0 -107
- package/content/provider-reference/openidconnectprovider.md +0 -44
- package/content/testing/config-tests.md +0 -278
- package/content/tutorial/tutorial-requests-api.md +0 -155
- package/content/user-authentication/auth-configuration.md +0 -266
- package/content/user-authentication/auth-steps.md +0 -138
- package/content/user-authentication/mcp-oauth.md +0 -292
- package/content/user-authentication/organizations.md +0 -221
- package/content/user-authentication/protected-pages-apis.md +0 -97
- package/content/user-authentication/roles.md +0 -49
- package/content/user-authentication/two-factor.md +0 -229
- package/content/user-authentication/user-object.md +0 -58
- package/content/websockets/websocket-publish.md +0 -108
- package/content/websockets/websocket-subscriptions.md +0 -100
- package/content/websockets/websockets-introduction.md +0 -97
- package/hazards.json +0 -44
- package/scripts/hashDocSources.js +0 -38
- package/scripts/recordSourceHashes.js +0 -88
|
@@ -328,7 +328,7 @@ Multiple algorithms can be combined by passing an array. Here dark and compact a
|
|
|
328
328
|
disabled: true
|
|
329
329
|
```
|
|
330
330
|
|
|
331
|
-
Setting componentDisabled to true disables all interactive child components at once, without needing to set disabled on each individual component.
|
|
331
|
+
Setting componentDisabled to true disables all interactive child components at once, without needing to set disabled on each individual component.
|
|
332
332
|
|
|
333
333
|
```yaml
|
|
334
334
|
- id: cp_disabled
|
|
@@ -370,30 +370,12 @@ Setting componentDisabled to true disables all interactive child components at o
|
|
|
370
370
|
label:
|
|
371
371
|
title: Disabled input
|
|
372
372
|
colon: false
|
|
373
|
-
- id: cp_disabled_selector
|
|
374
|
-
type: Selector
|
|
375
|
-
properties:
|
|
376
|
-
placeholder: Disabled selector
|
|
377
|
-
options:
|
|
378
|
-
- Option 1
|
|
379
|
-
- Option 2
|
|
380
|
-
label:
|
|
381
|
-
title: Disabled selector
|
|
382
|
-
colon: false
|
|
383
|
-
- id: cp_enabled_input
|
|
384
|
-
type: TextInput
|
|
385
|
-
properties:
|
|
386
|
-
placeholder: Still enabled
|
|
387
|
-
disabled: false
|
|
388
|
-
label:
|
|
389
|
-
title: "Re-enabled with disabled: false"
|
|
390
|
-
colon: false
|
|
391
373
|
- id: cp_disabled_text
|
|
392
374
|
type: Paragraph
|
|
393
375
|
properties:
|
|
394
376
|
content: Setting componentDisabled to true disables all interactive child
|
|
395
377
|
components at once, without needing to set disabled on each individual
|
|
396
|
-
component.
|
|
378
|
+
component.
|
|
397
379
|
```
|
|
398
380
|
|
|
399
381
|
Setting direction to rtl enables right-to-left layout for all child components. This is essential for languages like Arabic and Hebrew.
|
|
@@ -417,7 +399,7 @@ Setting direction to rtl enables right-to-left layout for all child components.
|
|
|
417
399
|
title: Right-to-Left
|
|
418
400
|
color: primary
|
|
419
401
|
variant: solid
|
|
420
|
-
icon:
|
|
402
|
+
icon: AiOutlineArrowLeft
|
|
421
403
|
- id: cp_rtl_input
|
|
422
404
|
type: TextInput
|
|
423
405
|
properties:
|
|
@@ -769,9 +751,10 @@ This demonstrates using ConfigProvider to apply a brand theme across an entire s
|
|
|
769
751
|
layout:
|
|
770
752
|
flex: 0 0 auto
|
|
771
753
|
properties:
|
|
772
|
-
icon:
|
|
754
|
+
icon: AiOutlineShop
|
|
773
755
|
size: 48
|
|
774
|
-
color: "#
|
|
756
|
+
color: "#fff"
|
|
757
|
+
backgroundColor: "#e11d48"
|
|
775
758
|
- id: cp_brand_title
|
|
776
759
|
type: Title
|
|
777
760
|
layout:
|
|
@@ -799,7 +782,7 @@ This demonstrates using ConfigProvider to apply a brand theme across an entire s
|
|
|
799
782
|
placeholder: Search products...
|
|
800
783
|
label:
|
|
801
784
|
disabled: true
|
|
802
|
-
suffixIcon:
|
|
785
|
+
suffixIcon: AiOutlineSearch
|
|
803
786
|
- id: cp_brand_search_btn
|
|
804
787
|
type: Button
|
|
805
788
|
layout:
|
|
@@ -814,7 +797,7 @@ This demonstrates using ConfigProvider to apply a brand theme across an entire s
|
|
|
814
797
|
flex: 0 0 auto
|
|
815
798
|
properties:
|
|
816
799
|
title: Cart
|
|
817
|
-
icon:
|
|
800
|
+
icon: AiOutlineShoppingCart
|
|
818
801
|
color: default
|
|
819
802
|
variant: outlined
|
|
820
803
|
- id: cp_brand_stats_row
|
|
@@ -956,7 +939,7 @@ System Metrics
|
|
|
956
939
|
flex: 0 0 auto
|
|
957
940
|
properties:
|
|
958
941
|
title: Refresh
|
|
959
|
-
icon:
|
|
942
|
+
icon: AiOutlineReload
|
|
960
943
|
color: primary
|
|
961
944
|
variant: solid
|
|
962
945
|
```
|
|
@@ -1053,7 +1036,7 @@ A dark-themed admin panel using ConfigProvider to apply the dark algorithm with
|
|
|
1053
1036
|
flex: 0 0 auto
|
|
1054
1037
|
properties:
|
|
1055
1038
|
title: Save User
|
|
1056
|
-
icon:
|
|
1039
|
+
icon: AiOutlineSave
|
|
1057
1040
|
color: primary
|
|
1058
1041
|
variant: solid
|
|
1059
1042
|
- id: cp_admin_cancel_btn
|
|
@@ -1069,19 +1052,14 @@ A dark-themed admin panel using ConfigProvider to apply the dark algorithm with
|
|
|
1069
1052
|
| Property | Type | Default | Description |
|
|
1070
1053
|
| --- | --- | --- | --- |
|
|
1071
1054
|
| `algorithm` | string \| array | - | Theme algorithm. Can be "default", "dark", "compact", or an array of these values. |
|
|
1072
|
-
| `componentDisabled` | boolean | `false` |
|
|
1073
|
-
| `componentSize` | string | - | Set size for all child components.
|
|
1055
|
+
| `componentDisabled` | boolean | `false` | Set disabled state for all child components. |
|
|
1056
|
+
| `componentSize` | string | - | Set size for all child components. Enum: `small`, `middle`, `large`. |
|
|
1074
1057
|
| `components` | object | - | Component-level token overrides. Keys are component names, values are token objects. |
|
|
1075
1058
|
| `direction` | string | `"ltr"` | Direction of layout. Enum: `ltr`, `rtl`. |
|
|
1076
1059
|
| `locale` | object | - | Antd locale object to localize built-in component strings (date pickers, pagination, modal, form validation). Pair with the _locale operator and config.i18n to keep the whole subtree in one language. |
|
|
1077
|
-
| `popupMatchSelectWidth` | boolean \| number | - | Whether dropdowns of select-like components match the width of their input. A number sets a minimum dropdown width in pixels. `false` also turns off virtual scrolling. |
|
|
1078
|
-
| `popupOverflow` | string | `"viewport"` | Keep dropdowns of select-like components inside the viewport, or let them follow the page scroll. Enum: `viewport`, `scroll`. |
|
|
1079
1060
|
| `token` | object | - | Theme token configuration. Customize design tokens like colorPrimary, fontSize, etc. |
|
|
1080
|
-
| `virtual` | boolean | `true` | Set to false to turn off virtual scrolling in selectors, trees and tables, so every option renders. |
|
|
1081
|
-
| `wave` | object | - | Click wave effect of buttons and other clickable components. |
|
|
1082
|
-
| `wave.disabled` | boolean | `false` | Turn off the click wave effect. |
|
|
1083
1061
|
| `variant` | string | - | Global input variant style for all child components. Enum: `outlined`, `filled`, `borderless`, `underlined`. |
|
|
1084
|
-
| `theme` | object | - | Antd design token overrides for this block
|
|
1062
|
+
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). |
|
|
1085
1063
|
|
|
1086
1064
|
No events defined.
|
|
1087
1065
|
|
|
@@ -275,14 +275,14 @@ Are you absolutely sure you want to delete this project and all its data?
|
|
|
275
275
|
properties:
|
|
276
276
|
title: Delete Item?
|
|
277
277
|
content: This item will be permanently removed from the system.
|
|
278
|
-
icon:
|
|
278
|
+
icon: AiOutlineDelete
|
|
279
279
|
- id: confirm_icon_colored
|
|
280
280
|
type: ConfirmModal
|
|
281
281
|
properties:
|
|
282
282
|
title: Danger Zone
|
|
283
283
|
content: Are you absolutely sure you want to delete this project and all its data?
|
|
284
284
|
icon:
|
|
285
|
-
name:
|
|
285
|
+
name: AiOutlineWarning
|
|
286
286
|
color: "#ff4d4f"
|
|
287
287
|
size: 22
|
|
288
288
|
```
|
|
@@ -513,11 +513,10 @@ Your data will be exported to a CSV file and downloaded.
|
|
|
513
513
|
status: confirm
|
|
514
514
|
okText: Export
|
|
515
515
|
okButton:
|
|
516
|
-
icon:
|
|
517
|
-
iconPlacement: end
|
|
516
|
+
icon: AiOutlineDownload
|
|
518
517
|
cancelText: Cancel
|
|
519
518
|
cancelButton:
|
|
520
|
-
icon:
|
|
519
|
+
icon: AiOutlineClose
|
|
521
520
|
```
|
|
522
521
|
|
|
523
522
|
This modal uses style to apply custom CSS directly to the modal element.
|
|
@@ -719,7 +718,7 @@ The body CSS key targets the modal body area. This modal uses bg-bg-layout and p
|
|
|
719
718
|
- id: confirm_css_element
|
|
720
719
|
type: ConfirmModal
|
|
721
720
|
class:
|
|
722
|
-
|
|
721
|
+
element: rounded-2xl shadow-2xl
|
|
723
722
|
properties:
|
|
724
723
|
title: Styled Element
|
|
725
724
|
content: The element CSS key applies Tailwind classes to the modal wrapper. This
|
|
@@ -727,7 +726,7 @@ The body CSS key targets the modal body area. This modal uses bg-bg-layout and p
|
|
|
727
726
|
- id: confirm_css_body
|
|
728
727
|
type: ConfirmModal
|
|
729
728
|
class:
|
|
730
|
-
|
|
729
|
+
body: bg-bg-layout p-6
|
|
731
730
|
properties:
|
|
732
731
|
title: Styled Body
|
|
733
732
|
content: The body CSS key targets the modal body area. This modal uses
|
|
@@ -840,9 +839,10 @@ James Park - Engineering Lead
|
|
|
840
839
|
layout:
|
|
841
840
|
flex: 0 0 auto
|
|
842
841
|
properties:
|
|
843
|
-
icon:
|
|
842
|
+
icon: AiOutlineUser
|
|
844
843
|
size: 32
|
|
845
|
-
color: "#
|
|
844
|
+
color: "#fff"
|
|
845
|
+
backgroundColor: "#1677ff"
|
|
846
846
|
- id: delete_flow_name_1
|
|
847
847
|
type: Paragraph
|
|
848
848
|
layout:
|
|
@@ -855,7 +855,7 @@ James Park - Engineering Lead
|
|
|
855
855
|
flex: 0 0 auto
|
|
856
856
|
properties:
|
|
857
857
|
title: Remove
|
|
858
|
-
icon:
|
|
858
|
+
icon: AiOutlineDelete
|
|
859
859
|
color: danger
|
|
860
860
|
variant: text
|
|
861
861
|
size: small
|
|
@@ -883,9 +883,10 @@ James Park - Engineering Lead
|
|
|
883
883
|
layout:
|
|
884
884
|
flex: 0 0 auto
|
|
885
885
|
properties:
|
|
886
|
-
icon:
|
|
886
|
+
icon: AiOutlineUser
|
|
887
887
|
size: 32
|
|
888
|
-
color: "#
|
|
888
|
+
color: "#fff"
|
|
889
|
+
backgroundColor: "#52c41a"
|
|
889
890
|
- id: delete_flow_name_2
|
|
890
891
|
type: Paragraph
|
|
891
892
|
layout:
|
|
@@ -898,7 +899,7 @@ James Park - Engineering Lead
|
|
|
898
899
|
flex: 0 0 auto
|
|
899
900
|
properties:
|
|
900
901
|
title: Remove
|
|
901
|
-
icon:
|
|
902
|
+
icon: AiOutlineDelete
|
|
902
903
|
color: danger
|
|
903
904
|
variant: text
|
|
904
905
|
size: small
|
|
@@ -919,7 +920,7 @@ James Park - Engineering Lead
|
|
|
919
920
|
title: Remove Team Member
|
|
920
921
|
status: error
|
|
921
922
|
icon:
|
|
922
|
-
name:
|
|
923
|
+
name: AiOutlineUserDelete
|
|
923
924
|
color: "#ff4d4f"
|
|
924
925
|
okText: Remove
|
|
925
926
|
okButton:
|
|
@@ -980,7 +981,7 @@ Please verify your ticket details before submitting. You will receive a confirma
|
|
|
980
981
|
flex: 0 0 auto
|
|
981
982
|
properties:
|
|
982
983
|
title: Submit Ticket
|
|
983
|
-
icon:
|
|
984
|
+
icon: AiOutlineSend
|
|
984
985
|
color: primary
|
|
985
986
|
variant: solid
|
|
986
987
|
events:
|
|
@@ -1001,7 +1002,7 @@ Please verify your ticket details before submitting. You will receive a confirma
|
|
|
1001
1002
|
cancelText: Review Again
|
|
1002
1003
|
centered: true
|
|
1003
1004
|
width: 480
|
|
1004
|
-
icon:
|
|
1005
|
+
icon: AiOutlineCheckCircle
|
|
1005
1006
|
events:
|
|
1006
1007
|
onOk:
|
|
1007
1008
|
- id: form_submit_ok_msg
|
|
@@ -1085,7 +1086,7 @@ You have unsaved changes that will be lost if you leave this page. Do you want t
|
|
|
1085
1086
|
content: You have unsaved changes that will be lost if you leave this page. Do
|
|
1086
1087
|
you want to save your changes before leaving?
|
|
1087
1088
|
status: warning
|
|
1088
|
-
icon:
|
|
1089
|
+
icon: AiOutlineWarning
|
|
1089
1090
|
okText: Save & Leave
|
|
1090
1091
|
cancelText: Discard Changes
|
|
1091
1092
|
closable: true
|
|
@@ -1111,62 +1112,15 @@ You have unsaved changes that will be lost if you leave this page. Do you want t
|
|
|
1111
1112
|
| --- | --- | --- | --- |
|
|
1112
1113
|
| `title` | string | - | Modal title - supports html. |
|
|
1113
1114
|
| `centered` | boolean | `false` | Centered Modal. |
|
|
1114
|
-
| `closable` | boolean
|
|
1115
|
-
| `closable.disabled` | boolean | `false` | Show the close button, but disabled. |
|
|
1115
|
+
| `closable` | boolean | `false` | Whether a close (x) button is visible on top right of the confirm dialog or not. |
|
|
1116
1116
|
| `content` | string | - | Modal content. Overridden by the "content" content area - supports html. |
|
|
1117
|
-
| `icon` | string \| object | - |
|
|
1118
|
-
| `
|
|
1119
|
-
| `
|
|
1120
|
-
| `icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1121
|
-
| `icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1122
|
-
| `icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1123
|
-
| `icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1124
|
-
| `icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1125
|
-
| `icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1126
|
-
| `icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1127
|
-
| `focusable` | object | - | Focus management of the dialog. |
|
|
1128
|
-
| `focusable.trap` | boolean | `true` | Keep keyboard focus inside the dialog while it is open. |
|
|
1129
|
-
| `focusable.focusTriggerAfterClose` | boolean | `true` | Return focus to the element that opened the dialog after it closes. |
|
|
1130
|
-
| `focusable.autoFocusButton` | string \| null | `"ok"` | The button that receives focus when the confirm modal opens. Set to null to focus neither. Enum: `ok`, `cancel`, `null`. |
|
|
1131
|
-
| `keyboard` | boolean | `true` | Whether pressing Esc closes the confirm modal. |
|
|
1132
|
-
| `mask` | boolean \| object | `true` | Whether to show the mask. Set an object to configure the mask with `enabled`, `blur` and `closable`. |
|
|
1133
|
-
| `mask.enabled` | boolean | `true` | Whether to show the mask. |
|
|
1134
|
-
| `mask.blur` | boolean | `false` | Blur the page behind the mask. |
|
|
1135
|
-
| `mask.closable` | boolean | - | Whether clicking the mask closes the dialog. Takes precedence over `maskClosable`. |
|
|
1136
|
-
| `maskClosable` | boolean | `false` | Whether to close the modal dialog when the mask (area outside the modal) is clicked. `mask.closable` takes precedence. |
|
|
1137
|
-
| `scrollLock` | boolean | `true` | Whether to lock page scrolling while the confirm modal is open. |
|
|
1117
|
+
| `icon` | string \| object | - | Name of an React-Icon (See all icons) or properties of an Icon block to customize modal icon. |
|
|
1118
|
+
| `mask` | boolean | `true` | Whether show mask or not. |
|
|
1119
|
+
| `maskClosable` | boolean | `false` | Whether to close the modal dialog when the mask (area outside the modal) is clicked. |
|
|
1138
1120
|
| `okText` | string | - | Text of the Ok button. When unset, antd uses the localized default from ConfigProvider locale. |
|
|
1139
1121
|
| `cancelText` | string | - | Text of the Cancel button. When unset, antd uses the localized default from ConfigProvider locale. |
|
|
1140
1122
|
| `okButton` | object | - | Ok button properties. |
|
|
1141
|
-
| `okButton.type` | string | - | The button type. Enum: `default`, `primary`, `dashed`, `text`, `link`. |
|
|
1142
|
-
| `okButton.danger` | boolean | `false` | Set the danger status of the button. |
|
|
1143
|
-
| `okButton.disabled` | boolean | `false` | Disable the button. |
|
|
1144
|
-
| `okButton.icon` | string \| object | - | Icon name (a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`) or properties of an Icon block to show in the button. |
|
|
1145
|
-
| `okButton.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1146
|
-
| `okButton.icon.color` | string | - | Icon color. |
|
|
1147
|
-
| `okButton.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1148
|
-
| `okButton.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1149
|
-
| `okButton.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1150
|
-
| `okButton.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1151
|
-
| `okButton.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1152
|
-
| `okButton.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1153
|
-
| `okButton.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1154
|
-
| `okButton.iconPlacement` | string | `"start"` | Place the icon before (`start`) or after (`end`) the button text. Enum: `start`, `end`. |
|
|
1155
1123
|
| `cancelButton` | object | - | Cancel button properties. |
|
|
1156
|
-
| `cancelButton.type` | string | - | The button type. Enum: `default`, `primary`, `dashed`, `text`, `link`. |
|
|
1157
|
-
| `cancelButton.danger` | boolean | `false` | Set the danger status of the button. |
|
|
1158
|
-
| `cancelButton.disabled` | boolean | `false` | Disable the button. |
|
|
1159
|
-
| `cancelButton.icon` | string \| object | - | Icon name (a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`) or properties of an Icon block to show in the button. |
|
|
1160
|
-
| `cancelButton.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1161
|
-
| `cancelButton.icon.color` | string | - | Icon color. |
|
|
1162
|
-
| `cancelButton.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1163
|
-
| `cancelButton.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1164
|
-
| `cancelButton.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1165
|
-
| `cancelButton.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1166
|
-
| `cancelButton.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1167
|
-
| `cancelButton.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1168
|
-
| `cancelButton.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1169
|
-
| `cancelButton.iconPlacement` | string | `"start"` | Place the icon before (`start`) or after (`end`) the button text. Enum: `start`, `end`. |
|
|
1170
1124
|
| `width` | number \| string | `416` | Width of the modal dialog. |
|
|
1171
1125
|
| `zIndex` | number | `1000` | The z-index of the Modal. |
|
|
1172
1126
|
| `status` | string | `"confirm"` | Modal status type. Enum: `success`, `error`, `info`, `warning`, `confirm`. |
|
|
@@ -1189,7 +1143,7 @@ You have unsaved changes that will be lost if you leave this page. Do you want t
|
|
|
1189
1143
|
| `onOk` | \- | Trigger actions when Ok button is clicked. |
|
|
1190
1144
|
| `onOpen` | \- | Trigger actions when confirm modal is opened. |
|
|
1191
1145
|
| `onCancel` | \- | Trigger actions when Cancel button is clicked. |
|
|
1192
|
-
| `onClose` | \- |
|
|
1146
|
+
| `onClose` | \- | Triggered after onOk or onCancel actions are completed. |
|
|
1193
1147
|
|
|
1194
1148
|
| Key | Target |
|
|
1195
1149
|
| --- | --- |
|
|
@@ -70,8 +70,7 @@ Content works within a Layout alongside Header and Footer blocks to form a compl
|
|
|
70
70
|
properties:
|
|
71
71
|
content: My Application
|
|
72
72
|
level: 4
|
|
73
|
-
|
|
74
|
-
.element:
|
|
73
|
+
style:
|
|
75
74
|
margin: 0
|
|
76
75
|
- id: content_full_page_main
|
|
77
76
|
type: Content
|
|
@@ -125,8 +124,7 @@ When used alongside a Sider block, Content fills the remaining horizontal space.
|
|
|
125
124
|
properties:
|
|
126
125
|
content: App with Sidebar
|
|
127
126
|
level: 4
|
|
128
|
-
|
|
129
|
-
.element:
|
|
127
|
+
style:
|
|
130
128
|
margin: 0
|
|
131
129
|
- id: content_sider_inner
|
|
132
130
|
type: Layout
|
|
@@ -147,22 +145,16 @@ When used alongside a Sider block, Content fills the remaining horizontal space.
|
|
|
147
145
|
type: Menu
|
|
148
146
|
properties:
|
|
149
147
|
mode: inline
|
|
150
|
-
|
|
151
|
-
- id:
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
icon: user
|
|
161
|
-
- id: cs_settings
|
|
162
|
-
type: MenuLink
|
|
163
|
-
properties:
|
|
164
|
-
title: Settings
|
|
165
|
-
icon: settings
|
|
148
|
+
options:
|
|
149
|
+
- id: dashboard
|
|
150
|
+
title: Dashboard
|
|
151
|
+
icon: AiOutlineDashboard
|
|
152
|
+
- id: users
|
|
153
|
+
title: Users
|
|
154
|
+
icon: AiOutlineUser
|
|
155
|
+
- id: settings
|
|
156
|
+
title: Settings
|
|
157
|
+
icon: AiOutlineSetting
|
|
166
158
|
- id: content_sider_main
|
|
167
159
|
type: Content
|
|
168
160
|
layout:
|
|
@@ -186,40 +178,94 @@ When used alongside a Sider block, Content fills the remaining horizontal space.
|
|
|
186
178
|
admin dashboards and applications with navigation sidebars.
|
|
187
179
|
```
|
|
188
180
|
|
|
181
|
+
Themed Content Area
|
|
182
|
+
|
|
183
|
+
Use the theme property to override antd design tokens. The colorBgLayout token changes the background of the Content block, and colorText adjusts the default text color within it.
|
|
184
|
+
|
|
185
|
+
Warm Color Scheme
|
|
186
|
+
|
|
187
|
+
A warm-toned content area using orange theme tokens. Theme tokens cascade through the antd design system and affect all child blocks within this Content.
|
|
188
|
+
|
|
189
|
+
Dark Content Area
|
|
190
|
+
|
|
191
|
+
Dark-themed content using colorBgLayout and colorText tokens. For app-wide dark themes, prefer using a global ConfigProvider rather than per-block overrides.
|
|
192
|
+
|
|
189
193
|
```yaml
|
|
190
194
|
- id: content_theme_layout
|
|
191
195
|
type: Layout
|
|
192
|
-
properties:
|
|
193
|
-
theme:
|
|
194
|
-
bodyBg: "#e6f4ff"
|
|
195
196
|
blocks:
|
|
196
197
|
- id: content_theme_custom
|
|
197
198
|
type: Content
|
|
198
199
|
style:
|
|
199
200
|
padding: 24px
|
|
200
201
|
minHeight: 150px
|
|
202
|
+
properties:
|
|
203
|
+
theme:
|
|
204
|
+
colorText: "#003a8c"
|
|
201
205
|
blocks:
|
|
206
|
+
- id: content_theme_title
|
|
207
|
+
type: Title
|
|
208
|
+
properties:
|
|
209
|
+
content: Themed Content Area
|
|
210
|
+
level: 4
|
|
202
211
|
- id: content_theme_text
|
|
203
|
-
type:
|
|
212
|
+
type: Paragraph
|
|
204
213
|
properties:
|
|
205
|
-
|
|
206
|
-
the
|
|
214
|
+
content: >
|
|
215
|
+
Use the theme property to override antd design tokens. The
|
|
216
|
+
colorBgLayout token changes the background of the Content block,
|
|
217
|
+
and colorText adjusts the default text color within it.
|
|
207
218
|
- id: content_theme_warm_layout
|
|
208
219
|
type: Layout
|
|
209
|
-
properties:
|
|
210
|
-
theme:
|
|
211
|
-
bodyBg: "#fff7e6"
|
|
212
220
|
blocks:
|
|
213
221
|
- id: content_theme_warm
|
|
214
222
|
type: Content
|
|
215
223
|
style:
|
|
216
224
|
padding: 24px
|
|
217
225
|
minHeight: 150px
|
|
226
|
+
properties:
|
|
227
|
+
theme:
|
|
228
|
+
colorText: "#874d00"
|
|
218
229
|
blocks:
|
|
230
|
+
- id: content_theme_warm_title
|
|
231
|
+
type: Title
|
|
232
|
+
properties:
|
|
233
|
+
content: Warm Color Scheme
|
|
234
|
+
level: 4
|
|
219
235
|
- id: content_theme_warm_text
|
|
220
|
-
type:
|
|
236
|
+
type: Paragraph
|
|
237
|
+
properties:
|
|
238
|
+
content: >
|
|
239
|
+
A warm-toned content area using orange theme tokens. Theme tokens
|
|
240
|
+
cascade through the antd design system and affect all child blocks
|
|
241
|
+
within this Content.
|
|
242
|
+
- id: content_theme_dark_layout
|
|
243
|
+
type: Layout
|
|
244
|
+
blocks:
|
|
245
|
+
- id: content_theme_dark
|
|
246
|
+
type: Content
|
|
247
|
+
style:
|
|
248
|
+
padding: 24px
|
|
249
|
+
minHeight: 150px
|
|
250
|
+
properties:
|
|
251
|
+
theme:
|
|
252
|
+
colorBgLayout: "#1f1f1f"
|
|
253
|
+
colorText: "#e0e0e0"
|
|
254
|
+
blocks:
|
|
255
|
+
- id: content_theme_dark_title
|
|
256
|
+
type: Title
|
|
257
|
+
class: text-text-secondary
|
|
221
258
|
properties:
|
|
222
|
-
|
|
259
|
+
content: Dark Content Area
|
|
260
|
+
level: 4
|
|
261
|
+
- id: content_theme_dark_text
|
|
262
|
+
type: Paragraph
|
|
263
|
+
class: text-text-secondary
|
|
264
|
+
properties:
|
|
265
|
+
content: >
|
|
266
|
+
Dark-themed content using colorBgLayout and colorText tokens. For
|
|
267
|
+
app-wide dark themes, prefer using a global ConfigProvider rather
|
|
268
|
+
than per-block overrides.
|
|
223
269
|
```
|
|
224
270
|
|
|
225
271
|
Rounded Content with Tailwind
|
|
@@ -241,7 +287,7 @@ A left accent border highlights the content area. Combine Tailwind border utilit
|
|
|
241
287
|
- id: content_css_rounded
|
|
242
288
|
type: Content
|
|
243
289
|
class:
|
|
244
|
-
|
|
290
|
+
element: bg-bg-layout rounded-xl p-6 m-4
|
|
245
291
|
style:
|
|
246
292
|
minHeight: 150px
|
|
247
293
|
blocks:
|
|
@@ -262,7 +308,7 @@ A left accent border highlights the content area. Combine Tailwind border utilit
|
|
|
262
308
|
- id: content_css_gradient
|
|
263
309
|
type: Content
|
|
264
310
|
class:
|
|
265
|
-
|
|
311
|
+
element: bg-gradient-to-br from-primary/10 to-primary/5 p-8 m-4 rounded-lg
|
|
266
312
|
shadow-inner
|
|
267
313
|
style:
|
|
268
314
|
minHeight: 150px
|
|
@@ -285,7 +331,7 @@ A left accent border highlights the content area. Combine Tailwind border utilit
|
|
|
285
331
|
- id: content_css_border
|
|
286
332
|
type: Content
|
|
287
333
|
class:
|
|
288
|
-
|
|
334
|
+
element: border-l-4 border-l-green-500 bg-bg-layout p-6 m-4
|
|
289
335
|
style:
|
|
290
336
|
minHeight: 150px
|
|
291
337
|
blocks:
|
|
@@ -331,8 +377,7 @@ New team member Sarah joined — 1 hour ago
|
|
|
331
377
|
properties:
|
|
332
378
|
content: Analytics Dashboard
|
|
333
379
|
level: 4
|
|
334
|
-
|
|
335
|
-
.element:
|
|
380
|
+
style:
|
|
336
381
|
margin: 0
|
|
337
382
|
- id: content_dashboard_header_btn
|
|
338
383
|
type: Button
|
|
@@ -340,7 +385,7 @@ New team member Sarah joined — 1 hour ago
|
|
|
340
385
|
flex: 0 0 auto
|
|
341
386
|
properties:
|
|
342
387
|
title: Export Report
|
|
343
|
-
icon:
|
|
388
|
+
icon: AiOutlineDownload
|
|
344
389
|
color: default
|
|
345
390
|
variant: outlined
|
|
346
391
|
size: small
|
|
@@ -363,27 +408,19 @@ New team member Sarah joined — 1 hour ago
|
|
|
363
408
|
type: Menu
|
|
364
409
|
properties:
|
|
365
410
|
mode: inline
|
|
366
|
-
|
|
367
|
-
- id:
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
properties:
|
|
380
|
-
title: Reports
|
|
381
|
-
icon: document
|
|
382
|
-
- id: cd_team
|
|
383
|
-
type: MenuLink
|
|
384
|
-
properties:
|
|
385
|
-
title: Team
|
|
386
|
-
icon: users
|
|
411
|
+
options:
|
|
412
|
+
- id: overview
|
|
413
|
+
title: Overview
|
|
414
|
+
icon: AiOutlineHome
|
|
415
|
+
- id: analytics
|
|
416
|
+
title: Analytics
|
|
417
|
+
icon: AiOutlineBarChart
|
|
418
|
+
- id: reports
|
|
419
|
+
title: Reports
|
|
420
|
+
icon: AiOutlineFileText
|
|
421
|
+
- id: team
|
|
422
|
+
title: Team
|
|
423
|
+
icon: AiOutlineTeam
|
|
387
424
|
- id: content_dashboard_main
|
|
388
425
|
type: Content
|
|
389
426
|
layout:
|
|
@@ -477,8 +514,7 @@ Update your personal details and preferences below.
|
|
|
477
514
|
properties:
|
|
478
515
|
content: Account Settings
|
|
479
516
|
level: 4
|
|
480
|
-
|
|
481
|
-
.element:
|
|
517
|
+
style:
|
|
482
518
|
margin: 0
|
|
483
519
|
- id: content_settings_main
|
|
484
520
|
type: Content
|
|
@@ -535,7 +571,7 @@ Update your personal details and preferences below.
|
|
|
535
571
|
title: Save Changes
|
|
536
572
|
color: primary
|
|
537
573
|
variant: solid
|
|
538
|
-
icon:
|
|
574
|
+
icon: AiOutlineSave
|
|
539
575
|
events:
|
|
540
576
|
onClick:
|
|
541
577
|
- id: content_settings_save_msg
|
|
@@ -547,7 +583,7 @@ Update your personal details and preferences below.
|
|
|
547
583
|
|
|
548
584
|
| Property | Type | Default | Description |
|
|
549
585
|
| --- | --- | --- | --- |
|
|
550
|
-
| `theme` | object | - |
|
|
586
|
+
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). |
|
|
551
587
|
|
|
552
588
|
No events defined.
|
|
553
589
|
|