@lowdefy/docs-content 6.1.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/content/actions/downloadcsv.md +1 -1
- package/content/actions/emailotpsend.md +58 -0
- package/content/actions/emailotpverify.md +79 -0
- package/content/actions/getlocalstorage.md +43 -0
- package/content/actions/link.md +47 -1
- package/content/actions/login.md +25 -5
- package/content/actions/logout.md +7 -5
- package/content/actions/magiclinkverify.md +117 -0
- package/content/actions/pdfmake.md +2 -2
- package/content/actions/posthogalias.md +29 -0
- package/content/actions/posthogcapture.md +49 -0
- package/content/actions/posthogcapturepageleave.md +38 -0
- package/content/actions/posthogfeatureflag.md +50 -0
- package/content/actions/posthoggroup.md +37 -0
- package/content/actions/posthogidentify.md +54 -0
- package/content/actions/posthoginit.md +96 -0
- package/content/actions/posthogoptin.md +29 -0
- package/content/actions/posthogoptout.md +29 -0
- package/content/actions/posthogpageview.md +37 -0
- package/content/actions/posthogreloadfeatureflags.md +47 -0
- package/content/actions/posthogreset.md +28 -0
- package/content/actions/posthogsetpersonproperties.md +36 -0
- package/content/actions/removelocalstorage.md +28 -0
- package/content/actions/resetvalidation.md +5 -3
- package/content/actions/setdarkmode.md +3 -3
- package/content/actions/setglobal.md +2 -0
- package/content/actions/setlocale.md +1 -1
- package/content/actions/setlocalstorage.md +34 -0
- package/content/actions/setstate.md +2 -0
- package/content/actions/validate.md +7 -4
- package/content/adapter-reference/mongodbauthadapter.md +46 -0
- package/content/agents/agent-endpoint-tools.md +24 -0
- package/content/agents/agent-properties.md +13 -3
- package/content/agents/agent-server-hooks.md +1 -1
- package/content/agents/agentchat.md +43 -7
- package/content/agents/agentconversations.md +42 -8
- package/content/agents/agents-introduction.md +107 -0
- package/content/callback-reference/auth0logoutcallback.md +54 -0
- package/content/concepts/ai-agent-docs.md +455 -106
- package/content/concepts/blocks.md +150 -0
- package/content/concepts/connections-and-requests.md +402 -0
- package/content/concepts/custom-html.md +42 -0
- package/content/concepts/custom-styling.md +50 -5
- package/content/concepts/dynamic-page-content.md +309 -0
- package/content/concepts/events-and-actions.md +154 -2
- package/content/concepts/four-primitives.md +31 -0
- package/content/concepts/html-attributes.md +293 -0
- package/content/concepts/i18n.md +8 -3
- package/content/concepts/keyboard-shortcuts.md +2 -2
- package/content/concepts/layout-overview.md +1 -1
- package/content/concepts/logger.md +99 -0
- package/content/concepts/lowdefy-api.md +1319 -0
- package/content/concepts/lowdefy-schema.md +136 -3
- package/content/concepts/menus.md +8 -7
- package/content/concepts/module-authoring.md +76 -5
- package/content/concepts/modules.md +3 -1
- package/content/concepts/notifications.md +180 -0
- package/content/concepts/operators.md +7 -0
- package/content/concepts/page-and-app-state.md +252 -0
- package/content/concepts/page-paths.md +209 -0
- package/content/concepts/theming.md +582 -0
- package/content/connections/aigateway.md +375 -0
- package/content/connections/anthropic.md +169 -2
- package/content/connections/awss3.md +178 -2
- package/content/connections/axioshttp.md +181 -0
- package/content/connections/google.md +169 -2
- package/content/connections/mongodb.md +1014 -3
- package/content/connections/openai-connection.md +169 -2
- package/content/connections/sendgridmail.md +2 -0
- package/content/connections/smtp.md +3 -1
- package/content/connections/treg.md +329 -0
- package/content/container-blocks/affix.md +47 -7
- package/content/container-blocks/alert.md +76 -24
- package/content/container-blocks/badge.md +100 -24
- package/content/container-blocks/box.md +9 -9
- package/content/container-blocks/card.md +132 -27
- package/content/container-blocks/carousel.md +60 -7
- package/content/container-blocks/collapse.md +153 -9
- package/content/container-blocks/configprovider.md +35 -13
- package/content/container-blocks/confirmmodal.md +69 -23
- package/content/container-blocks/content.md +62 -98
- package/content/container-blocks/descriptions.md +45 -4
- package/content/container-blocks/drawer.md +139 -28
- package/content/container-blocks/dropdownmenu.md +119 -31
- package/content/container-blocks/flex.md +40 -62
- package/content/container-blocks/footer.md +15 -11
- package/content/container-blocks/googlemapsheatmap.md +1 -1
- package/content/container-blocks/googlemapsscript.md +2 -2
- package/content/container-blocks/header.md +71 -36
- package/content/container-blocks/label.md +34 -7
- package/content/container-blocks/layout.md +52 -34
- package/content/container-blocks/masonry.md +17 -71
- package/content/container-blocks/mobilemenu.md +131 -88
- package/content/container-blocks/modal.md +161 -26
- package/content/container-blocks/pageheadermenu.md +138 -31
- package/content/container-blocks/pagesidebarlayout.md +230 -27
- package/content/container-blocks/pagesidermenu.md +153 -43
- package/content/container-blocks/popover.md +34 -31
- package/content/container-blocks/result.md +32 -21
- package/content/container-blocks/sider.md +85 -122
- package/content/container-blocks/span.md +7 -7
- package/content/container-blocks/spinner.md +3 -3
- package/content/container-blocks/splitter.md +150 -68
- package/content/container-blocks/tabs.md +64 -12
- package/content/container-blocks/tooltip.md +22 -46
- package/content/container-blocks/watermark.md +22 -4
- package/content/controls/parallel_for.md +21 -2
- package/content/controls/reject.md +24 -3
- package/content/controls/return.md +17 -1
- package/content/controls/throw.md +1 -0
- package/content/controls/try.md +4 -2
- package/content/controls/while.md +46 -0
- package/content/deployment/deployment-environments.md +10 -7
- package/content/deployment/docker.md +22 -7
- package/content/deployment/node-server.md +4 -0
- package/content/deployment/vercel.md +17 -6
- package/content/display-blocks/aggrid.md +33 -16
- package/content/display-blocks/anchor.md +16 -15
- package/content/display-blocks/avatar.md +57 -37
- package/content/display-blocks/breadcrumb.md +70 -21
- package/content/display-blocks/button.md +93 -19
- package/content/display-blocks/calendar.md +12 -0
- package/content/display-blocks/clickablehtml.md +239 -0
- 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 +64 -3
- package/content/display-blocks/dropdownbutton.md +81 -30
- package/content/display-blocks/echart.md +35 -1
- package/content/display-blocks/eventlog.md +363 -0
- package/content/display-blocks/floatbutton.md +129 -42
- package/content/display-blocks/html.md +61 -1
- package/content/display-blocks/icon.md +250 -67
- package/content/display-blocks/img.md +2 -2
- package/content/display-blocks/menu.md +146 -73
- package/content/display-blocks/message.md +38 -124
- package/content/display-blocks/notification.md +94 -222
- package/content/display-blocks/paragraph.md +59 -9
- package/content/display-blocks/pollingtimer.md +263 -0
- package/content/display-blocks/progress.md +96 -17
- package/content/display-blocks/qrcode.md +19 -4
- package/content/display-blocks/s3download.md +1 -1
- package/content/display-blocks/search.md +19 -9
- package/content/display-blocks/skeletonbutton.md +1 -0
- package/content/display-blocks/skeletoninput.md +1 -0
- package/content/display-blocks/statistic.md +75 -17
- package/content/display-blocks/steps.md +58 -25
- package/content/display-blocks/table.md +2527 -0
- package/content/display-blocks/tablelight.md +621 -0
- package/content/display-blocks/tag.md +102 -17
- package/content/display-blocks/title.md +50 -11
- package/content/display-blocks/tour.md +33 -23
- package/content/input-blocks/autocomplete.md +81 -9
- package/content/input-blocks/buttonselector.md +45 -8
- package/content/input-blocks/captcha.md +40 -0
- package/content/input-blocks/checkboxselector.md +97 -7
- package/content/input-blocks/checkboxswitch.md +33 -3
- package/content/input-blocks/colorselector.md +63 -14
- package/content/input-blocks/daterangeselector.md +165 -45
- package/content/input-blocks/dateselector.md +139 -41
- package/content/input-blocks/datetimeselector.md +158 -49
- package/content/input-blocks/inputgallery.md +3 -3
- package/content/input-blocks/intentinput.md +207 -0
- package/content/input-blocks/monthselector.md +120 -52
- package/content/input-blocks/multipleselector.md +150 -39
- package/content/input-blocks/numberinput.md +98 -12
- package/content/input-blocks/pagination.md +70 -14
- package/content/input-blocks/paragraphinput.md +51 -37
- package/content/input-blocks/passwordinput.md +60 -6
- package/content/input-blocks/phonenumberinput.md +59 -26
- package/content/input-blocks/placesautocomplete.md +319 -0
- package/content/input-blocks/radioselector.md +83 -7
- package/content/input-blocks/ratingslider.md +57 -26
- 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 +72 -32
- package/content/input-blocks/selector.md +109 -21
- package/content/input-blocks/switch.md +65 -17
- package/content/input-blocks/tableinput.md +445 -0
- package/content/input-blocks/tagmultipleselector.md +114 -0
- package/content/input-blocks/tagselector.md +114 -0
- package/content/input-blocks/textarea.md +32 -3
- package/content/input-blocks/textinput.md +70 -29
- package/content/input-blocks/tiptapinput.md +1 -1
- package/content/input-blocks/tiptapmentioninput.md +2 -2
- package/content/input-blocks/titleinput.md +39 -12
- package/content/input-blocks/treeinput.md +49 -25
- package/content/input-blocks/treemultipleselector.md +127 -10
- package/content/input-blocks/treeselector.md +97 -9
- package/content/input-blocks/upload.md +64 -15
- package/content/input-blocks/uploaddragger.md +17 -1
- package/content/input-blocks/uploadphoto.md +18 -1
- package/content/input-blocks/weekselector.md +120 -55
- package/content/learn/introduction.md +27 -0
- package/content/learn/quickstart.md +53 -0
- package/content/learn/showcase.md +8 -0
- package/content/list-blocks/controlledlist.md +24 -15
- package/content/list-blocks/list.md +11 -11
- package/content/list-blocks/masonrylist.md +7 -34
- package/content/migration/auth-upgrade.md +337 -0
- package/content/migration/upgrade-guide.md +1 -0
- package/content/migration/v3-to-v4.md +417 -0
- package/content/migration/v6-to-v7.md +620 -0
- package/content/operators/_agent.md +155 -0
- package/content/operators/_app.md +2 -1
- package/content/operators/_array.md +122 -1
- package/content/operators/_build.md +1 -0
- package/content/operators/_credential.md +57 -0
- package/content/operators/_cron.md +292 -0
- package/content/operators/_date.md +2 -0
- package/content/operators/_error.md +24 -1
- package/content/operators/_get.md +6 -6
- package/content/operators/_hmac.md +78 -0
- package/content/operators/_js.md +2 -1
- package/content/operators/_location.md +1 -1
- package/content/operators/_media.md +13 -0
- package/content/operators/_module.md +56 -2
- package/content/operators/_operator.md +17 -3
- package/content/operators/_path_params.md +82 -0
- package/content/operators/_ref.md +258 -0
- package/content/operators/_request.md +1 -1
- package/content/operators/_request_details.md +6 -0
- package/content/operators/_type.md +14 -3
- package/content/operators/_url_query.md +2 -0
- package/content/operators/_user.md +3 -3
- package/content/plugins/plugins-actions.md +10 -0
- package/content/plugins/plugins-connections.md +25 -0
- package/content/plugins/plugins-dev.md +66 -0
- package/content/plugins/plugins-icon-sets.md +267 -0
- package/content/plugins/plugins-introduction.md +27 -1
- package/content/plugins/plugins.md +19 -0
- package/content/plugins/posthog.md +359 -0
- package/content/provider-reference/auth-js-providers.md +107 -0
- package/content/provider-reference/openidconnectprovider.md +44 -0
- package/content/recipes/recipes.md +16 -0
- package/content/reference/actions-reference.md +31 -0
- package/content/reference/blocks-reference.md +35 -0
- package/content/reference/cli.md +403 -0
- package/content/reference/connections-reference.md +23 -0
- package/content/reference/operators-reference.md +47 -0
- package/content/reference/reference.md +16 -0
- package/content/reference/schema-reference.md +12 -0
- package/content/testing/config-tests.md +677 -0
- package/content/testing/e2e-configuration.md +31 -1
- package/content/testing/e2e-getting-started.md +1 -1
- package/content/testing/e2e-introduction.md +1 -1
- package/content/testing/e2e-writing-tests.md +12 -1
- package/content/testing/explore-pull-request.md +136 -0
- package/content/testing/journey-data-sets.md +326 -0
- 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 +48 -2
- package/content/tutorial/tutorial-display-data-page.md +3 -3
- package/content/tutorial/tutorial-requests-api.md +155 -0
- package/content/tutorial/tutorial-requests-sql.md +153 -0
- package/content/tutorial/tutorial-start.md +66 -1
- package/content/user-authentication/auth-configuration.md +267 -0
- package/content/user-authentication/auth-providers.md +24 -0
- package/content/user-authentication/auth-steps.md +141 -0
- package/content/user-authentication/login-and-logout.md +160 -8
- package/content/user-authentication/mcp-oauth.md +424 -0
- package/content/user-authentication/organizations.md +246 -0
- package/content/user-authentication/protected-pages-apis.md +97 -0
- package/content/user-authentication/roles.md +49 -0
- package/content/user-authentication/two-factor.md +229 -0
- package/content/user-authentication/user-object.md +58 -0
- package/content/user-authentication/users-introduction.md +8 -0
- package/content/websockets/websocket-publish.md +105 -0
- package/content/websockets/websocket-subscriptions.md +136 -0
- package/content/websockets/websockets-introduction.md +101 -0
- package/hazards.json +56 -0
- package/index.json +3458 -14
- package/package.json +10 -1
- package/scripts/extractAgentDocs.js +41 -30
- package/scripts/hashDocSources.js +38 -0
- package/scripts/isRedirectPage.js +26 -0
- package/scripts/recordSourceHashes.js +97 -0
- package/scripts/resolvePageSections.js +42 -0
- package/scripts/sectionKind.js +27 -0
- package/content/concepts/cli.md +0 -223
- package/content/other/introduction.md +0 -39
- package/content/other/next-auth-providers.md +0 -3
- /package/content/{other → actions}/updatesession.md +0 -0
|
@@ -17,22 +17,22 @@ Dashboard
|
|
|
17
17
|
type: MenuLink
|
|
18
18
|
properties:
|
|
19
19
|
title: Dashboard
|
|
20
|
-
icon:
|
|
20
|
+
icon: Gauge
|
|
21
21
|
- id: psm_basic_orders
|
|
22
22
|
type: MenuLink
|
|
23
23
|
properties:
|
|
24
24
|
title: Orders
|
|
25
|
-
icon:
|
|
25
|
+
icon: ShoppingCart
|
|
26
26
|
- id: psm_basic_products
|
|
27
27
|
type: MenuLink
|
|
28
28
|
properties:
|
|
29
29
|
title: Products
|
|
30
|
-
icon:
|
|
30
|
+
icon: grid
|
|
31
31
|
- id: psm_basic_settings
|
|
32
32
|
type: MenuLink
|
|
33
33
|
properties:
|
|
34
34
|
title: Settings
|
|
35
|
-
icon:
|
|
35
|
+
icon: settings
|
|
36
36
|
blocks:
|
|
37
37
|
- id: psm_basic_title
|
|
38
38
|
type: Title
|
|
@@ -71,6 +71,62 @@ Dashboard
|
|
|
71
71
|
prefix: $
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
+
padding: compact trims the content padding from 40px to 16px, so data-heavy pages show more.
|
|
75
|
+
|
|
76
|
+
```yaml
|
|
77
|
+
- id: psm_compact
|
|
78
|
+
type: PageSiderMenu
|
|
79
|
+
properties:
|
|
80
|
+
padding: compact
|
|
81
|
+
menu:
|
|
82
|
+
links:
|
|
83
|
+
- id: psm_compact_dashboard
|
|
84
|
+
type: MenuLink
|
|
85
|
+
properties:
|
|
86
|
+
title: Dashboard
|
|
87
|
+
- id: psm_compact_invoices
|
|
88
|
+
type: MenuLink
|
|
89
|
+
properties:
|
|
90
|
+
title: Invoices
|
|
91
|
+
blocks:
|
|
92
|
+
- id: psm_compact_text
|
|
93
|
+
type: Paragraph
|
|
94
|
+
properties:
|
|
95
|
+
content: "padding: compact trims the content padding from 40px to 16px, so
|
|
96
|
+
data-heavy pages show more."
|
|
97
|
+
- id: psm_compact_card
|
|
98
|
+
type: Card
|
|
99
|
+
properties:
|
|
100
|
+
title: Recent invoices
|
|
101
|
+
padding: none
|
|
102
|
+
blocks:
|
|
103
|
+
- id: psm_compact_card_rows
|
|
104
|
+
type: Html
|
|
105
|
+
properties:
|
|
106
|
+
html: >
|
|
107
|
+
<div style="display: flex; justify-content: space-between;
|
|
108
|
+
padding: 8px 24px; border-bottom: 1px solid
|
|
109
|
+
var(--ant-color-border-secondary);"><span>INV-1042</span><span
|
|
110
|
+
style="color:
|
|
111
|
+
var(--ant-color-text-secondary);">$1,280.00</span></div>
|
|
112
|
+
|
|
113
|
+
<div style="display: flex; justify-content: space-between;
|
|
114
|
+
padding: 8px 24px; border-bottom: 1px solid
|
|
115
|
+
var(--ant-color-border-secondary);"><span>INV-1041</span><span
|
|
116
|
+
style="color:
|
|
117
|
+
var(--ant-color-text-secondary);">$640.00</span></div>
|
|
118
|
+
|
|
119
|
+
<div style="display: flex; justify-content: space-between;
|
|
120
|
+
padding: 8px 24px; border-bottom: 1px solid
|
|
121
|
+
var(--ant-color-border-secondary);"><span>INV-1040</span><span
|
|
122
|
+
style="color:
|
|
123
|
+
var(--ant-color-text-secondary);">$2,115.50</span></div>
|
|
124
|
+
|
|
125
|
+
<div style="display: flex; justify-content: space-between;
|
|
126
|
+
padding: 8px 24px;"><span>INV-1039</span><span style="color:
|
|
127
|
+
var(--ant-color-text-secondary);">$96.00</span></div>
|
|
128
|
+
```
|
|
129
|
+
|
|
74
130
|
Website Redesign
|
|
75
131
|
|
|
76
132
|
Breadcrumb items support both simple strings and objects with label, icon, pageId, and url properties. Toggle dark mode to see the layout adapt automatically.
|
|
@@ -88,7 +144,7 @@ Breadcrumb items support both simple strings and objects with label, icon, pageI
|
|
|
88
144
|
breadcrumb:
|
|
89
145
|
list:
|
|
90
146
|
- label: Home
|
|
91
|
-
icon:
|
|
147
|
+
icon: home
|
|
92
148
|
- label: Projects
|
|
93
149
|
- label: Website Redesign
|
|
94
150
|
menu:
|
|
@@ -97,22 +153,22 @@ Breadcrumb items support both simple strings and objects with label, icon, pageI
|
|
|
97
153
|
type: MenuLink
|
|
98
154
|
properties:
|
|
99
155
|
title: Overview
|
|
100
|
-
icon:
|
|
156
|
+
icon: SquareKanban
|
|
101
157
|
- id: psm_light_tasks
|
|
102
158
|
type: MenuLink
|
|
103
159
|
properties:
|
|
104
160
|
title: Tasks
|
|
105
|
-
icon:
|
|
161
|
+
icon: SquareCheck
|
|
106
162
|
- id: psm_light_files
|
|
107
163
|
type: MenuLink
|
|
108
164
|
properties:
|
|
109
165
|
title: Files
|
|
110
|
-
icon:
|
|
166
|
+
icon: file
|
|
111
167
|
- id: psm_light_team
|
|
112
168
|
type: MenuLink
|
|
113
169
|
properties:
|
|
114
170
|
title: Team
|
|
115
|
-
icon:
|
|
171
|
+
icon: users
|
|
116
172
|
blocks:
|
|
117
173
|
- id: psm_light_title
|
|
118
174
|
type: Title
|
|
@@ -152,12 +208,12 @@ Tom Wilson
|
|
|
152
208
|
type: MenuLink
|
|
153
209
|
properties:
|
|
154
210
|
title: Dashboard
|
|
155
|
-
icon:
|
|
211
|
+
icon: Gauge
|
|
156
212
|
- id: psm_grp_users_group
|
|
157
213
|
type: MenuGroup
|
|
158
214
|
properties:
|
|
159
215
|
title: User Management
|
|
160
|
-
icon:
|
|
216
|
+
icon: users
|
|
161
217
|
links:
|
|
162
218
|
- id: psm_grp_all_users
|
|
163
219
|
type: MenuLink
|
|
@@ -171,7 +227,7 @@ Tom Wilson
|
|
|
171
227
|
type: MenuGroup
|
|
172
228
|
properties:
|
|
173
229
|
title: Content
|
|
174
|
-
icon:
|
|
230
|
+
icon: edit
|
|
175
231
|
links:
|
|
176
232
|
- id: psm_grp_articles
|
|
177
233
|
type: MenuLink
|
|
@@ -185,7 +241,7 @@ Tom Wilson
|
|
|
185
241
|
type: MenuLink
|
|
186
242
|
properties:
|
|
187
243
|
title: Settings
|
|
188
|
-
icon:
|
|
244
|
+
icon: settings
|
|
189
245
|
blocks:
|
|
190
246
|
- id: psm_grp_title
|
|
191
247
|
type: Title
|
|
@@ -212,16 +268,16 @@ Tom Wilson
|
|
|
212
268
|
flex: 0 0 auto
|
|
213
269
|
properties:
|
|
214
270
|
size: small
|
|
215
|
-
color: "#
|
|
216
|
-
|
|
217
|
-
icon: AiOutlineUser
|
|
271
|
+
color: "#1677ff"
|
|
272
|
+
icon: user
|
|
218
273
|
- id: psm_grp_name_1
|
|
219
274
|
type: Paragraph
|
|
220
275
|
layout:
|
|
221
276
|
flex: 1 1 0
|
|
222
277
|
properties:
|
|
223
278
|
content: Jane Cooper
|
|
224
|
-
|
|
279
|
+
style:
|
|
280
|
+
.element:
|
|
225
281
|
margin: 0
|
|
226
282
|
- id: psm_grp_tag_1
|
|
227
283
|
type: Tag
|
|
@@ -244,16 +300,16 @@ Tom Wilson
|
|
|
244
300
|
flex: 0 0 auto
|
|
245
301
|
properties:
|
|
246
302
|
size: small
|
|
247
|
-
color: "#
|
|
248
|
-
|
|
249
|
-
icon: AiOutlineUser
|
|
303
|
+
color: "#52c41a"
|
|
304
|
+
icon: user
|
|
250
305
|
- id: psm_grp_name_2
|
|
251
306
|
type: Paragraph
|
|
252
307
|
layout:
|
|
253
308
|
flex: 1 1 0
|
|
254
309
|
properties:
|
|
255
310
|
content: Tom Wilson
|
|
256
|
-
|
|
311
|
+
style:
|
|
312
|
+
.element:
|
|
257
313
|
margin: 0
|
|
258
314
|
- id: psm_grp_tag_2
|
|
259
315
|
type: Tag
|
|
@@ -285,19 +341,19 @@ Admin Dashboard
|
|
|
285
341
|
type: MenuLink
|
|
286
342
|
properties:
|
|
287
343
|
title: My Profile
|
|
288
|
-
icon:
|
|
344
|
+
icon: user
|
|
289
345
|
- id: psm_prof_settings
|
|
290
346
|
type: MenuLink
|
|
291
347
|
properties:
|
|
292
348
|
title: Account Settings
|
|
293
|
-
icon:
|
|
349
|
+
icon: settings
|
|
294
350
|
- id: psm_prof_divider
|
|
295
351
|
type: MenuDivider
|
|
296
352
|
- id: psm_prof_logout
|
|
297
353
|
type: MenuLink
|
|
298
354
|
properties:
|
|
299
355
|
title: Sign Out
|
|
300
|
-
icon:
|
|
356
|
+
icon: logout
|
|
301
357
|
danger: true
|
|
302
358
|
menu:
|
|
303
359
|
links:
|
|
@@ -305,17 +361,17 @@ Admin Dashboard
|
|
|
305
361
|
type: MenuLink
|
|
306
362
|
properties:
|
|
307
363
|
title: Dashboard
|
|
308
|
-
icon:
|
|
364
|
+
icon: Gauge
|
|
309
365
|
- id: psm_prof_users
|
|
310
366
|
type: MenuLink
|
|
311
367
|
properties:
|
|
312
368
|
title: Users
|
|
313
|
-
icon:
|
|
369
|
+
icon: users
|
|
314
370
|
- id: psm_prof_reports
|
|
315
371
|
type: MenuLink
|
|
316
372
|
properties:
|
|
317
373
|
title: Reports
|
|
318
|
-
icon:
|
|
374
|
+
icon: chart
|
|
319
375
|
blocks:
|
|
320
376
|
- id: psm_prof_title
|
|
321
377
|
type: Title
|
|
@@ -369,7 +425,7 @@ Sprint Progress
|
|
|
369
425
|
dot: true
|
|
370
426
|
profile:
|
|
371
427
|
avatar:
|
|
372
|
-
icon:
|
|
428
|
+
icon: user
|
|
373
429
|
color: "#1677ff"
|
|
374
430
|
breadcrumb:
|
|
375
431
|
separator: /
|
|
@@ -382,17 +438,17 @@ Sprint Progress
|
|
|
382
438
|
type: MenuLink
|
|
383
439
|
properties:
|
|
384
440
|
title: Dashboard
|
|
385
|
-
icon:
|
|
441
|
+
icon: Gauge
|
|
386
442
|
- id: psm_full_analytics
|
|
387
443
|
type: MenuLink
|
|
388
444
|
properties:
|
|
389
445
|
title: Analytics
|
|
390
|
-
icon:
|
|
446
|
+
icon: chart
|
|
391
447
|
- id: psm_full_settings
|
|
392
448
|
type: MenuLink
|
|
393
449
|
properties:
|
|
394
450
|
title: Settings
|
|
395
|
-
icon:
|
|
451
|
+
icon: settings
|
|
396
452
|
slots:
|
|
397
453
|
sider:
|
|
398
454
|
blocks:
|
|
@@ -405,7 +461,8 @@ Sprint Progress
|
|
|
405
461
|
type: Paragraph
|
|
406
462
|
properties:
|
|
407
463
|
content: Sprint Progress
|
|
408
|
-
|
|
464
|
+
style:
|
|
465
|
+
.element:
|
|
409
466
|
margin: 0 0 8px 0
|
|
410
467
|
fontSize: 12
|
|
411
468
|
color: "#999"
|
|
@@ -420,7 +477,8 @@ Sprint Progress
|
|
|
420
477
|
type: Paragraph
|
|
421
478
|
properties:
|
|
422
479
|
content: Admin Panel v2.4.1
|
|
423
|
-
|
|
480
|
+
style:
|
|
481
|
+
.element:
|
|
424
482
|
textAlign: center
|
|
425
483
|
margin: 0
|
|
426
484
|
color: "#999"
|
|
@@ -448,7 +506,7 @@ Sprint Progress
|
|
|
448
506
|
properties:
|
|
449
507
|
title: Total Users
|
|
450
508
|
value: 2847
|
|
451
|
-
prefixIcon:
|
|
509
|
+
prefixIcon: user
|
|
452
510
|
- id: psm_full_stat_revenue
|
|
453
511
|
type: Card
|
|
454
512
|
layout:
|
|
@@ -504,12 +562,12 @@ Profile from _menu
|
|
|
504
562
|
type: MenuLink
|
|
505
563
|
properties:
|
|
506
564
|
title: Dashboard
|
|
507
|
-
icon:
|
|
565
|
+
icon: Gauge
|
|
508
566
|
- id: psm_mo_users
|
|
509
567
|
type: MenuLink
|
|
510
568
|
properties:
|
|
511
569
|
title: Users
|
|
512
|
-
icon:
|
|
570
|
+
icon: users
|
|
513
571
|
blocks:
|
|
514
572
|
- id: psm_mo_title
|
|
515
573
|
type: Title
|
|
@@ -537,13 +595,15 @@ Profile from _menu
|
|
|
537
595
|
| `sider` | object | - | Sider properties. |
|
|
538
596
|
| `sider.breakpoint` | string | `"sm"` | Breakpoint of the responsive layout. Enum: `xs`, `sm`, `md`, `lg`, `xl`. |
|
|
539
597
|
| `sider.collapsedWidth` | integer | - | Width of the collapsed sidebar, by setting to 0 a special trigger will appear. |
|
|
598
|
+
| `sider.collapsible` | boolean | `false` | Show a trigger at the bottom of the sider that collapses and expands it, like the toggle button. |
|
|
540
599
|
| `sider.initialCollapsed` | boolean | `false` | Set the initial collapsed state. Used as the fallback when no persisted preference exists in localStorage. |
|
|
541
600
|
| `sider.reverseArrow` | boolean | `false` | Direction of arrow, for a sider that expands from the right. |
|
|
542
601
|
| `sider.width` | string \| number | - | Width of the sidebar. |
|
|
543
602
|
| `sider.hideToggleButton` | boolean | `false` | Hide toggle button in sider. |
|
|
544
|
-
| `siderStorageKey` | string | `"sider"` | localStorage key suffix for sider state persistence. Produces key 'lf-{siderStorageKey}-open'. |
|
|
603
|
+
| `siderStorageKey` | string | `"sider"` | localStorage key suffix for sider state persistence. Produces key 'lf-{siderStorageKey}-open', kept per app. |
|
|
545
604
|
| `toggleSiderButton` | object | - | Toggle sider button properties. |
|
|
546
605
|
| `footer` | object | - | Footer properties. |
|
|
606
|
+
| `padding` | string | `"default"` | Space around the page content. `compact` tightens it to 16px for dense, data-heavy pages. `none` removes it so content such as a table or grid runs edge to edge; the breadcrumb keeps its own inset. Enum: `default`, `compact`, `none`. |
|
|
547
607
|
| `content` | object | - | Content properties. |
|
|
548
608
|
| `breadcrumb` | object | - | Breadcrumb properties. |
|
|
549
609
|
| `breadcrumb.separator` | string | `"/"` | Use a custom separator string. |
|
|
@@ -552,14 +612,36 @@ Profile from _menu
|
|
|
552
612
|
| `breadcrumb.list.$.pageId` | string | - | Page id to link to when clicked. |
|
|
553
613
|
| `breadcrumb.list.$.url` | string | - | External url link. |
|
|
554
614
|
| `breadcrumb.list.$.style` | object | - | Css style to apply to link. |
|
|
555
|
-
| `breadcrumb.list.$.icon` | string \| object | - |
|
|
615
|
+
| `breadcrumb.list.$.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 use an icon in breadcrumb link. |
|
|
616
|
+
| `breadcrumb.list.$.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
617
|
+
| `breadcrumb.list.$.icon.color` | string | - | Icon color. |
|
|
618
|
+
| `breadcrumb.list.$.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
619
|
+
| `breadcrumb.list.$.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
620
|
+
| `breadcrumb.list.$.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
621
|
+
| `breadcrumb.list.$.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
622
|
+
| `breadcrumb.list.$.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
623
|
+
| `breadcrumb.list.$.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
624
|
+
| `breadcrumb.list.$.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
625
|
+
| `breadcrumb.list.$.links` | array | - | Links shown in a dropdown menu on the breadcrumb item. |
|
|
626
|
+
| `breadcrumb.list.$.links.$.label` | string | - | Label of the dropdown link. |
|
|
627
|
+
| `breadcrumb.list.$.links.$.pageId` | string | - | Page id to link to when clicked. |
|
|
628
|
+
| `breadcrumb.list.$.links.$.url` | string | - | External url link. |
|
|
556
629
|
| `menu` | object | - | Menu properties. |
|
|
557
630
|
| `menu.links` | array | - | |
|
|
558
631
|
| `menu.links.$.id` | string | - | Menu item id. |
|
|
559
632
|
| `menu.links.$.pageId` | string | - | Page to link to. |
|
|
560
633
|
| `menu.links.$.properties` | object | - | properties from menu item. |
|
|
561
634
|
| `menu.links.$.properties.title` | string | - | Menu item title. |
|
|
562
|
-
| `menu.links.$.properties.icon` | string \| object | - |
|
|
635
|
+
| `menu.links.$.properties.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 customize icon on menu item. |
|
|
636
|
+
| `menu.links.$.properties.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
637
|
+
| `menu.links.$.properties.icon.color` | string | - | Icon color. |
|
|
638
|
+
| `menu.links.$.properties.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
639
|
+
| `menu.links.$.properties.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
640
|
+
| `menu.links.$.properties.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
641
|
+
| `menu.links.$.properties.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
642
|
+
| `menu.links.$.properties.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
643
|
+
| `menu.links.$.properties.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
644
|
+
| `menu.links.$.properties.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
563
645
|
| `menuLg` | object | - | Menu large screen properties. Overwrites menu properties on desktop screen sizes. |
|
|
564
646
|
| `menuMd` | object | - | Mobile menu properties. Overwrites menu properties on mobile screen sizes. |
|
|
565
647
|
| `notifications` | object | - | Notification bell icon with badge in the header. Renders when configured. Use the link property to navigate when clicked. |
|
|
@@ -572,15 +654,33 @@ Profile from _menu
|
|
|
572
654
|
| `notifications.showZero` | boolean | `false` | Show badge when count is zero. |
|
|
573
655
|
| `notifications.overflowCount` | number | `99` | Max count to show. Values above this display as "N+". |
|
|
574
656
|
| `notifications.color` | string | - | Badge color. |
|
|
575
|
-
| `notifications.icon` | string \| object | - | Icon for the notification button. Defaults to
|
|
657
|
+
| `notifications.icon` | string \| object | - | Icon for the notification button. Defaults to `bell`. |
|
|
658
|
+
| `notifications.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
659
|
+
| `notifications.icon.color` | string | - | Icon color. |
|
|
660
|
+
| `notifications.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
661
|
+
| `notifications.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
662
|
+
| `notifications.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
663
|
+
| `notifications.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
664
|
+
| `notifications.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
665
|
+
| `notifications.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
666
|
+
| `notifications.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
576
667
|
| `notifications.size` | string | `"small"` | Size of the notification button. Enum: `small`, `default`, `large`. |
|
|
577
668
|
| `profile` | object | - | Profile avatar with optional dropdown menu in the header. Renders when configured. Use with the _user operator to populate from the authenticated user. |
|
|
578
669
|
| `profile.avatar` | object | - | Avatar display properties. |
|
|
579
670
|
| `profile.avatar.src` | string | - | Image URL for the avatar. Typically bound to _user: image. |
|
|
580
671
|
| `profile.avatar.content` | string | - | Text content inside the avatar (e.g. user initials). Shown when no src is provided. |
|
|
581
|
-
| `profile.avatar.icon` | string \| object | - | Icon to display in avatar when no src or content is set. Defaults to
|
|
672
|
+
| `profile.avatar.icon` | string \| object | - | Icon to display in avatar when no src or content is set. Defaults to `user`. |
|
|
673
|
+
| `profile.avatar.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
674
|
+
| `profile.avatar.icon.color` | string | - | Icon color. |
|
|
675
|
+
| `profile.avatar.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
676
|
+
| `profile.avatar.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
677
|
+
| `profile.avatar.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
678
|
+
| `profile.avatar.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
679
|
+
| `profile.avatar.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
680
|
+
| `profile.avatar.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
681
|
+
| `profile.avatar.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
582
682
|
| `profile.avatar.color` | string | - | Background color of the avatar when not using src. |
|
|
583
|
-
| `profile.avatar.size` | string \| number | `"small"` | Size of the avatar
|
|
683
|
+
| `profile.avatar.size` | string \| number | `"small"` | Size of the avatar: default, small, large or a pixel number. |
|
|
584
684
|
| `profile.avatar.shape` | string | `"circle"` | Shape of the avatar. Enum: `circle`, `square`. |
|
|
585
685
|
| `profile.links` | array | - | Dropdown menu items. Uses the same MenuLink/MenuGroup/MenuDivider schema as Menu. Compatible with _menu operator output for access-filtered menus. |
|
|
586
686
|
| `profile.links.$.id` | string | - | Menu item id. |
|
|
@@ -592,6 +692,15 @@ Profile from _menu
|
|
|
592
692
|
| `profile.links.$.properties` | object | - | Properties for the menu item. |
|
|
593
693
|
| `profile.links.$.properties.title` | string | - | Menu item title. |
|
|
594
694
|
| `profile.links.$.properties.icon` | string \| object | - | Icon for the menu item. |
|
|
695
|
+
| `profile.links.$.properties.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
696
|
+
| `profile.links.$.properties.icon.color` | string | - | Icon color. |
|
|
697
|
+
| `profile.links.$.properties.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
698
|
+
| `profile.links.$.properties.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
699
|
+
| `profile.links.$.properties.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
700
|
+
| `profile.links.$.properties.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
701
|
+
| `profile.links.$.properties.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
702
|
+
| `profile.links.$.properties.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
703
|
+
| `profile.links.$.properties.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
595
704
|
| `profile.links.$.properties.danger` | boolean | `false` | Apply danger style to menu item. |
|
|
596
705
|
| `profile.links.$.properties.disabled` | boolean | `false` | Disable the menu item. |
|
|
597
706
|
| `profile.links.$.properties.dashed` | boolean | `false` | Whether the divider line is dashed. |
|
|
@@ -603,7 +712,7 @@ Profile from _menu
|
|
|
603
712
|
| `profile.arrow.pointAtCenter` | boolean | - | |
|
|
604
713
|
| `darkModeToggle` | boolean | `false` | Show a dark mode toggle button in the header. Toggles the Ant Design dark theme for the entire page. Preference is persisted to localStorage. |
|
|
605
714
|
| `localeSelector` | boolean | `false` | Show a locale picker dropdown in the header. Lists locales declared in `config.i18n.locales` and dispatches `SetLocale` on selection. Renders nothing when `config.i18n` is not configured. |
|
|
606
|
-
| `theme` | object | - | Antd design token overrides
|
|
715
|
+
| `theme` | object | - | Antd global design token overrides, such as colorPrimary or borderRadius, applied to everything in the page layout. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design component tokens](https://ant.design/docs/react/customize-theme#seedtoken). |
|
|
607
716
|
|
|
608
717
|
| Event | Event Data | Description |
|
|
609
718
|
| --- | --- | --- |
|
|
@@ -638,6 +747,7 @@ Profile from _menu
|
|
|
638
747
|
| `/mobileMenu` | The PageSiderMenu mobile menu. |
|
|
639
748
|
| `/layout` | The PageSiderMenu inner layout. |
|
|
640
749
|
| `/sider` | The PageSiderMenu sider. |
|
|
750
|
+
| `/siderBody` | The box inside the sider that holds the menu, sider slot and toggle button. |
|
|
641
751
|
| `/menu` | The PageSiderMenu menu. |
|
|
642
752
|
| `/content` | The PageSiderMenu content. |
|
|
643
753
|
| `/breadcrumb` | The PageSiderMenu breadcrumb. |
|
|
@@ -669,7 +669,7 @@ This popover uses SetState to track that it was opened.
|
|
|
669
669
|
title: Click to toggle
|
|
670
670
|
color: primary
|
|
671
671
|
variant: solid
|
|
672
|
-
icon:
|
|
672
|
+
icon: bell
|
|
673
673
|
- id: popover_event_state
|
|
674
674
|
type: Popover
|
|
675
675
|
layout:
|
|
@@ -751,7 +751,7 @@ jane.doe@example.com
|
|
|
751
751
|
title: View Profile
|
|
752
752
|
color: primary
|
|
753
753
|
variant: solid
|
|
754
|
-
icon:
|
|
754
|
+
icon: user
|
|
755
755
|
- id: popover_rich_actions
|
|
756
756
|
type: Popover
|
|
757
757
|
layout:
|
|
@@ -772,7 +772,7 @@ jane.doe@example.com
|
|
|
772
772
|
type: Button
|
|
773
773
|
properties:
|
|
774
774
|
title: Edit
|
|
775
|
-
icon:
|
|
775
|
+
icon: edit
|
|
776
776
|
color: primary
|
|
777
777
|
variant: text
|
|
778
778
|
block: true
|
|
@@ -780,7 +780,7 @@ jane.doe@example.com
|
|
|
780
780
|
type: Button
|
|
781
781
|
properties:
|
|
782
782
|
title: Duplicate
|
|
783
|
-
icon:
|
|
783
|
+
icon: copy
|
|
784
784
|
color: default
|
|
785
785
|
variant: text
|
|
786
786
|
block: true
|
|
@@ -788,7 +788,7 @@ jane.doe@example.com
|
|
|
788
788
|
type: Button
|
|
789
789
|
properties:
|
|
790
790
|
title: Delete
|
|
791
|
-
icon:
|
|
791
|
+
icon: delete
|
|
792
792
|
color: danger
|
|
793
793
|
variant: text
|
|
794
794
|
block: true
|
|
@@ -799,7 +799,7 @@ jane.doe@example.com
|
|
|
799
799
|
flex: 0 0 auto
|
|
800
800
|
properties:
|
|
801
801
|
title: More
|
|
802
|
-
icon:
|
|
802
|
+
icon: more
|
|
803
803
|
color: default
|
|
804
804
|
variant: outlined
|
|
805
805
|
```
|
|
@@ -922,7 +922,7 @@ The zIndexPopup theme token sets the popover z-index at the theme level (default
|
|
|
922
922
|
properties:
|
|
923
923
|
title: Title Border
|
|
924
924
|
theme:
|
|
925
|
-
titleBorderBottom: 1px solid
|
|
925
|
+
titleBorderBottom: "1px solid #d9d9d9"
|
|
926
926
|
titleMarginBottom: 12
|
|
927
927
|
innerContentPadding: 8px 0
|
|
928
928
|
slots:
|
|
@@ -983,7 +983,7 @@ The content CSS key targets the popover content area. Here it adds a gray backgr
|
|
|
983
983
|
layout:
|
|
984
984
|
flex: 0 0 auto
|
|
985
985
|
class:
|
|
986
|
-
element: cursor-pointer
|
|
986
|
+
.element: cursor-pointer
|
|
987
987
|
properties:
|
|
988
988
|
title: Element CSS Key
|
|
989
989
|
trigger: click
|
|
@@ -1009,7 +1009,7 @@ The content CSS key targets the popover content area. Here it adds a gray backgr
|
|
|
1009
1009
|
layout:
|
|
1010
1010
|
flex: 0 0 auto
|
|
1011
1011
|
class:
|
|
1012
|
-
inner: shadow-xl rounded-xl
|
|
1012
|
+
.inner: shadow-xl rounded-xl
|
|
1013
1013
|
properties:
|
|
1014
1014
|
title: Inner CSS Key
|
|
1015
1015
|
slots:
|
|
@@ -1034,7 +1034,7 @@ The content CSS key targets the popover content area. Here it adds a gray backgr
|
|
|
1034
1034
|
layout:
|
|
1035
1035
|
flex: 0 0 auto
|
|
1036
1036
|
class:
|
|
1037
|
-
title: font-bold text-blue-600 border-b border-border pb-2
|
|
1037
|
+
.title: font-bold text-blue-600 border-b border-border pb-2
|
|
1038
1038
|
properties:
|
|
1039
1039
|
title: Title CSS Key
|
|
1040
1040
|
slots:
|
|
@@ -1059,7 +1059,7 @@ The content CSS key targets the popover content area. Here it adds a gray backgr
|
|
|
1059
1059
|
layout:
|
|
1060
1060
|
flex: 0 0 auto
|
|
1061
1061
|
class:
|
|
1062
|
-
content: bg-bg-layout p-4 rounded-md
|
|
1062
|
+
.content: bg-bg-layout p-4 rounded-md
|
|
1063
1063
|
properties:
|
|
1064
1064
|
title: Content CSS Key
|
|
1065
1065
|
slots:
|
|
@@ -1114,10 +1114,9 @@ Product Manager
|
|
|
1114
1114
|
layout:
|
|
1115
1115
|
flex: 0 0 auto
|
|
1116
1116
|
properties:
|
|
1117
|
-
icon:
|
|
1117
|
+
icon: user
|
|
1118
1118
|
size: 48
|
|
1119
|
-
color: "#
|
|
1120
|
-
backgroundColor: "#1677ff"
|
|
1119
|
+
color: "#1677ff"
|
|
1121
1120
|
- id: popover_usercard_info
|
|
1122
1121
|
type: Box
|
|
1123
1122
|
layout:
|
|
@@ -1158,7 +1157,7 @@ Product Manager
|
|
|
1158
1157
|
flex: 1 1 0
|
|
1159
1158
|
properties:
|
|
1160
1159
|
title: Message
|
|
1161
|
-
icon:
|
|
1160
|
+
icon: mail
|
|
1162
1161
|
color: primary
|
|
1163
1162
|
variant: solid
|
|
1164
1163
|
size: small
|
|
@@ -1175,7 +1174,7 @@ Product Manager
|
|
|
1175
1174
|
flex: 1 1 0
|
|
1176
1175
|
properties:
|
|
1177
1176
|
title: View Profile
|
|
1178
|
-
icon:
|
|
1177
|
+
icon: user
|
|
1179
1178
|
color: default
|
|
1180
1179
|
variant: outlined
|
|
1181
1180
|
size: small
|
|
@@ -1199,8 +1198,7 @@ Product Manager
|
|
|
1199
1198
|
flex: 0 0 auto
|
|
1200
1199
|
properties:
|
|
1201
1200
|
content: SC
|
|
1202
|
-
color: "#
|
|
1203
|
-
backgroundColor: "#1677ff"
|
|
1201
|
+
color: "#1677ff"
|
|
1204
1202
|
- id: popover_usercard_trigger_name
|
|
1205
1203
|
type: Paragraph
|
|
1206
1204
|
layout:
|
|
@@ -1239,7 +1237,7 @@ Product Manager
|
|
|
1239
1237
|
type: Button
|
|
1240
1238
|
properties:
|
|
1241
1239
|
title: New Document
|
|
1242
|
-
icon:
|
|
1240
|
+
icon: FilePlus
|
|
1243
1241
|
color: primary
|
|
1244
1242
|
variant: text
|
|
1245
1243
|
block: true
|
|
@@ -1254,7 +1252,7 @@ Product Manager
|
|
|
1254
1252
|
type: Button
|
|
1255
1253
|
properties:
|
|
1256
1254
|
title: Upload File
|
|
1257
|
-
icon:
|
|
1255
|
+
icon: upload
|
|
1258
1256
|
color: default
|
|
1259
1257
|
variant: text
|
|
1260
1258
|
block: true
|
|
@@ -1273,7 +1271,7 @@ Product Manager
|
|
|
1273
1271
|
type: Button
|
|
1274
1272
|
properties:
|
|
1275
1273
|
title: Import from URL
|
|
1276
|
-
icon:
|
|
1274
|
+
icon: link
|
|
1277
1275
|
color: default
|
|
1278
1276
|
variant: text
|
|
1279
1277
|
block: true
|
|
@@ -1288,7 +1286,7 @@ Product Manager
|
|
|
1288
1286
|
type: Button
|
|
1289
1287
|
properties:
|
|
1290
1288
|
title: Use Template
|
|
1291
|
-
icon:
|
|
1289
|
+
icon: grid
|
|
1292
1290
|
color: default
|
|
1293
1291
|
variant: text
|
|
1294
1292
|
block: true
|
|
@@ -1299,7 +1297,7 @@ Product Manager
|
|
|
1299
1297
|
flex: 0 0 auto
|
|
1300
1298
|
properties:
|
|
1301
1299
|
title: Create New
|
|
1302
|
-
icon:
|
|
1300
|
+
icon: add
|
|
1303
1301
|
color: primary
|
|
1304
1302
|
variant: solid
|
|
1305
1303
|
```
|
|
@@ -1367,7 +1365,7 @@ You will receive a warning notification when 80% of the budget is used.
|
|
|
1367
1365
|
layout:
|
|
1368
1366
|
flex: 0 0 auto
|
|
1369
1367
|
properties:
|
|
1370
|
-
name:
|
|
1368
|
+
name: help
|
|
1371
1369
|
color: "#8c8c8c"
|
|
1372
1370
|
size: 18
|
|
1373
1371
|
- id: popover_help_input
|
|
@@ -1382,17 +1380,22 @@ You will receive a warning notification when 80% of the budget is used.
|
|
|
1382
1380
|
|
|
1383
1381
|
| Property | Type | Default | Description |
|
|
1384
1382
|
| --- | --- | --- | --- |
|
|
1385
|
-
| `
|
|
1383
|
+
| `arrow` | boolean \| object | `true` | Whether to show the arrow. Set `{ pointAtCenter: true }` to point the arrow at the center of the target. |
|
|
1384
|
+
| `arrow.pointAtCenter` | boolean | `false` | Whether the arrow is pointed at the center of target. |
|
|
1385
|
+
| `destroyOnHidden` | boolean | `false` | Unmount the blocks inside the popover when it closes, so they mount again each time it opens. |
|
|
1386
|
+
| `title` | string | - | Title of the card - supports html. |
|
|
1386
1387
|
| `color` | string | - | Popover background color. |
|
|
1387
1388
|
| `defaultOpen` | boolean | `false` | Whether the popover is open by default. |
|
|
1388
1389
|
| `autoAdjustOverflow` | boolean | `true` | Whether to adjust popup placement automatically when popup is off screen |
|
|
1389
|
-
| `placement` | string | `"
|
|
1390
|
-
| `trigger` | string | `"hover"` | Trigger mode which executes the popover. Enum: `hover`, `click`, `focus`. |
|
|
1390
|
+
| `placement` | string | `"top"` | Placement of the popover. Enum: `top`, `topLeft`, `topRight`, `left`, `leftTop`, `leftBottom`, `right`, `rightTop`, `rightBottom`, `bottom`, `bottomLeft`, `bottomRight`. |
|
|
1391
|
+
| `trigger` | string | `"hover"` | Trigger mode which executes the popover. `contextMenu` opens the popover on right click. Enum: `hover`, `click`, `focus`, `contextMenu`. |
|
|
1391
1392
|
| `zIndex` | number | - | Z-index of the popover. |
|
|
1392
|
-
| `overlayInnerStyle` | object | - | Style of overlay inner div. |
|
|
1393
|
-
| `mouseEnterDelay` | number | `0.1` | Delay in
|
|
1394
|
-
| `mouseLeaveDelay` | number | `0.1` | Delay in
|
|
1393
|
+
| `overlayInnerStyle` | object | - | Style of overlay inner div. Prefer `style.inner`. |
|
|
1394
|
+
| `mouseEnterDelay` | number | `0.1` | Delay in seconds, before the popover is shown on mouse enter. |
|
|
1395
|
+
| `mouseLeaveDelay` | number | `0.1` | Delay in seconds, before the popover is hidden on mouse leave. |
|
|
1395
1396
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design popover tokens](https://ant.design/components/popover#design-token). |
|
|
1397
|
+
| `theme.width` | number \| string | - | Width of the popover. |
|
|
1398
|
+
| `theme.minWidth` | number \| string | - | Minimum width of the popover. |
|
|
1396
1399
|
| `theme.titleMinWidth` | number \| string | `177` | Minimum width of the popover when it has a title. |
|
|
1397
1400
|
| `theme.zIndexPopup` | number | `1030` | Z-index of the popover. |
|
|
1398
1401
|
| `theme.innerPadding` | number \| string | `12` | Padding inside the popover content area. |
|
|
@@ -1405,7 +1408,7 @@ You will receive a warning notification when 80% of the budget is used.
|
|
|
1405
1408
|
|
|
1406
1409
|
| Event | Event Data | Description |
|
|
1407
1410
|
| --- | --- | --- |
|
|
1408
|
-
| `onOpenChange` |
|
|
1411
|
+
| `onOpenChange` | `{ open }` | Trigger actions when visibility of the popover card is changed. |
|
|
1409
1412
|
|
|
1410
1413
|
| Key | Target |
|
|
1411
1414
|
| --- | --- |
|