@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
|
@@ -41,13 +41,6 @@ Date picker with configurable format and disabled dates.
|
|
|
41
41
|
variant: borderless
|
|
42
42
|
label:
|
|
43
43
|
disabled: true
|
|
44
|
-
- id: variant_underlined
|
|
45
|
-
type: DateSelector
|
|
46
|
-
properties:
|
|
47
|
-
title: Underlined
|
|
48
|
-
variant: underlined
|
|
49
|
-
label:
|
|
50
|
-
disabled: true
|
|
51
44
|
```
|
|
52
45
|
|
|
53
46
|
```yaml
|
|
@@ -156,14 +149,14 @@ Date picker with configurable format and disabled dates.
|
|
|
156
149
|
type: DateSelector
|
|
157
150
|
properties:
|
|
158
151
|
title: Clock Icon
|
|
159
|
-
suffixIcon:
|
|
152
|
+
suffixIcon: AiOutlineClockCircle
|
|
160
153
|
label:
|
|
161
154
|
disabled: true
|
|
162
155
|
- id: icon_schedule
|
|
163
156
|
type: DateSelector
|
|
164
157
|
properties:
|
|
165
158
|
title: Schedule Icon
|
|
166
|
-
suffixIcon:
|
|
159
|
+
suffixIcon: AiOutlineSchedule
|
|
167
160
|
label:
|
|
168
161
|
disabled: true
|
|
169
162
|
- id: icon_custom_color
|
|
@@ -171,7 +164,7 @@ Date picker with configurable format and disabled dates.
|
|
|
171
164
|
properties:
|
|
172
165
|
title: Custom Color Icon
|
|
173
166
|
suffixIcon:
|
|
174
|
-
name:
|
|
167
|
+
name: AiOutlineCalendar
|
|
175
168
|
color: "#1677ff"
|
|
176
169
|
label:
|
|
177
170
|
disabled: true
|
|
@@ -180,48 +173,12 @@ Date picker with configurable format and disabled dates.
|
|
|
180
173
|
properties:
|
|
181
174
|
title: Heart Icon
|
|
182
175
|
suffixIcon:
|
|
183
|
-
name:
|
|
176
|
+
name: AiOutlineHeart
|
|
184
177
|
color: "#ff4d4f"
|
|
185
178
|
label:
|
|
186
179
|
disabled: true
|
|
187
180
|
```
|
|
188
181
|
|
|
189
|
-
```yaml
|
|
190
|
-
- id: ds_prefix_icon
|
|
191
|
-
type: DateSelector
|
|
192
|
-
properties:
|
|
193
|
-
title: Prefix Icon
|
|
194
|
-
prefixIcon: clock
|
|
195
|
-
suffixIcon:
|
|
196
|
-
name: calendar
|
|
197
|
-
color: "#8c8c8c"
|
|
198
|
-
- id: ds_prefix_text
|
|
199
|
-
type: DateSelector
|
|
200
|
-
properties:
|
|
201
|
-
title: Prefix Text
|
|
202
|
-
prefix: "From:"
|
|
203
|
-
- id: ds_placement
|
|
204
|
-
type: DateSelector
|
|
205
|
-
properties:
|
|
206
|
-
title: Popup Opens Top Right
|
|
207
|
-
placement: topRight
|
|
208
|
-
- id: ds_read_only
|
|
209
|
-
type: DateSelector
|
|
210
|
-
properties:
|
|
211
|
-
title: Pick From Calendar Only
|
|
212
|
-
inputReadOnly: true
|
|
213
|
-
label:
|
|
214
|
-
extra: The input is read-only, so touch devices do not open the keyboard.
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
```yaml
|
|
218
|
-
- id: ds_show_week
|
|
219
|
-
type: DateSelector
|
|
220
|
-
properties:
|
|
221
|
-
title: Show Week Numbers
|
|
222
|
-
showWeek: true
|
|
223
|
-
```
|
|
224
|
-
|
|
225
182
|
```yaml
|
|
226
183
|
- id: disabled_default
|
|
227
184
|
type: DateSelector
|
|
@@ -492,8 +449,7 @@ Date picker with configurable format and disabled dates.
|
|
|
492
449
|
- id: style_element
|
|
493
450
|
type: DateSelector
|
|
494
451
|
style:
|
|
495
|
-
.element:
|
|
496
|
-
backgroundColor: var(--ant-color-primary-bg)
|
|
452
|
+
.element: null
|
|
497
453
|
properties:
|
|
498
454
|
title: Custom Background
|
|
499
455
|
label:
|
|
@@ -578,7 +534,7 @@ Date picker with configurable format and disabled dates.
|
|
|
578
534
|
placeholder: Select appointment date
|
|
579
535
|
format: DD MMMM YYYY
|
|
580
536
|
size: large
|
|
581
|
-
suffixIcon:
|
|
537
|
+
suffixIcon: AiOutlineSchedule
|
|
582
538
|
showToday: true
|
|
583
539
|
allowClear: true
|
|
584
540
|
label:
|
|
@@ -603,7 +559,7 @@ Date picker with configurable format and disabled dates.
|
|
|
603
559
|
placeholder: Select event date
|
|
604
560
|
format: DD MMM YYYY
|
|
605
561
|
suffixIcon:
|
|
606
|
-
name:
|
|
562
|
+
name: AiOutlineCalendar
|
|
607
563
|
color: "#1677ff"
|
|
608
564
|
disabledDates:
|
|
609
565
|
min: 2026-01-01
|
|
@@ -619,7 +575,7 @@ Date picker with configurable format and disabled dates.
|
|
|
619
575
|
format: DD MMMM YYYY
|
|
620
576
|
placeholder: Choose a special date...
|
|
621
577
|
suffixIcon:
|
|
622
|
-
name:
|
|
578
|
+
name: AiOutlineHeart
|
|
623
579
|
color: "#eb2f96"
|
|
624
580
|
label:
|
|
625
581
|
disabled: true
|
|
@@ -643,7 +599,7 @@ Date picker with configurable format and disabled dates.
|
|
|
643
599
|
placeholder: Select event date
|
|
644
600
|
format: DD MMMM YYYY
|
|
645
601
|
size: large
|
|
646
|
-
suffixIcon:
|
|
602
|
+
suffixIcon: AiOutlineCalendar
|
|
647
603
|
label:
|
|
648
604
|
extra: Choose the date you would like to attend.
|
|
649
605
|
disabledDates:
|
|
@@ -654,20 +610,20 @@ Date picker with configurable format and disabled dates.
|
|
|
654
610
|
properties:
|
|
655
611
|
title: Full Name
|
|
656
612
|
placeholder: Enter your full name
|
|
657
|
-
prefixIcon:
|
|
613
|
+
prefixIcon: AiOutlineUser
|
|
658
614
|
- id: applied2_event_email
|
|
659
615
|
type: TextInput
|
|
660
616
|
properties:
|
|
661
617
|
title: Email Address
|
|
662
618
|
placeholder: you@example.com
|
|
663
|
-
prefixIcon:
|
|
619
|
+
prefixIcon: AiOutlineMail
|
|
664
620
|
label:
|
|
665
621
|
extra: We will send your confirmation to this address.
|
|
666
622
|
- id: applied2_event_register_btn
|
|
667
623
|
type: Button
|
|
668
624
|
properties:
|
|
669
625
|
title: Register
|
|
670
|
-
icon:
|
|
626
|
+
icon: AiOutlineCheck
|
|
671
627
|
type: primary
|
|
672
628
|
size: large
|
|
673
629
|
block: true
|
|
@@ -691,14 +647,14 @@ Date picker with configurable format and disabled dates.
|
|
|
691
647
|
properties:
|
|
692
648
|
title: Display Name
|
|
693
649
|
placeholder: Enter your display name
|
|
694
|
-
prefixIcon:
|
|
650
|
+
prefixIcon: AiOutlineUser
|
|
695
651
|
- id: applied3_date_of_birth
|
|
696
652
|
type: DateSelector
|
|
697
653
|
properties:
|
|
698
654
|
title: Date of Birth
|
|
699
655
|
placeholder: Select your date of birth
|
|
700
656
|
format: DD MMMM YYYY
|
|
701
|
-
suffixIcon:
|
|
657
|
+
suffixIcon: AiOutlineCalendar
|
|
702
658
|
label:
|
|
703
659
|
extra: Used to verify your age.
|
|
704
660
|
disabledDates:
|
|
@@ -714,12 +670,12 @@ Date picker with configurable format and disabled dates.
|
|
|
714
670
|
properties:
|
|
715
671
|
title: Email Address
|
|
716
672
|
placeholder: you@example.com
|
|
717
|
-
prefixIcon:
|
|
673
|
+
prefixIcon: AiOutlineMail
|
|
718
674
|
- id: applied3_save_btn
|
|
719
675
|
type: Button
|
|
720
676
|
properties:
|
|
721
677
|
title: Save Profile
|
|
722
|
-
icon:
|
|
678
|
+
icon: AiOutlineSave
|
|
723
679
|
type: primary
|
|
724
680
|
size: large
|
|
725
681
|
block: true
|
|
@@ -738,7 +694,7 @@ Date picker with configurable format and disabled dates.
|
|
|
738
694
|
| `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
|
|
739
695
|
| `bordered` | boolean | `true` | Deprecated - use variant: 'borderless'. Whether or not the input has a border style. |
|
|
740
696
|
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
741
|
-
| `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless
|
|
697
|
+
| `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless`. |
|
|
742
698
|
| `disabledDates` | object | - | Disable specific dates so that they can not be chosen. |
|
|
743
699
|
| `disabledDates.min` | string \| object | - | Disable all dates less than the minimum date. Can be a date string or a _date object. |
|
|
744
700
|
| `disabledDates.max` | string \| object | - | Disable all dates greater than the maximum date. Can be a date string or a _date object. |
|
|
@@ -747,113 +703,60 @@ Date picker with configurable format and disabled dates.
|
|
|
747
703
|
| `disabledDates.ranges.$.from` | string \| object | - | Start of the disabled range. |
|
|
748
704
|
| `disabledDates.ranges.$.to` | string \| object | - | End of the disabled range. |
|
|
749
705
|
| `label` | object | - | Label properties. |
|
|
750
|
-
| `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
|
|
751
|
-
| `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
752
|
-
| `label.sm` | object | - | Label width on small screens (576px and up) when the label is not inline. Also applies below 576px unless `xs` is set. |
|
|
753
|
-
| `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
754
|
-
| `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
|
|
755
|
-
| `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
756
|
-
| `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
|
|
757
|
-
| `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
758
|
-
| `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
|
|
759
|
-
| `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
760
|
-
| `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
|
|
761
|
-
| `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
762
706
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
763
707
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
764
708
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
765
709
|
| `label.title` | string | - | Label title - supports html. |
|
|
766
710
|
| `label.tooltip` | string \| object | - | Help tooltip shown via an icon beside the label. A string sets the tooltip text (supports html), or an object to also customize the icon and color. Use the block's onTooltipClick event to respond to clicks on the icon. |
|
|
767
711
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
768
|
-
| `label.tooltip.icon` | string | `"
|
|
712
|
+
| `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
769
713
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
770
|
-
| `label.span` | number | - | Label
|
|
714
|
+
| `label.span` | number | - | Label inline span. |
|
|
771
715
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
772
716
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
773
717
|
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
774
|
-
| `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
|
|
775
718
|
| `format` | string | - | Format in which to parse the date value, eg. "DD MMMM YYYY" will parse a date value of 1999-12-31 as "31 December 1999". The format has to conform to dayjs formats. Defaults to the active locale's date format, or "YYYY-MM-DD" when no locale is configured. |
|
|
776
|
-
| `inputReadOnly` | boolean | `false` | Make the text input read-only, so a date can only be chosen from the calendar. This also stops the on-screen keyboard opening on touch devices. |
|
|
777
719
|
| `placeholder` | string | - | Placeholder text inside the block before user types input. |
|
|
778
|
-
| `placement` | string | `"bottomLeft"` | Position of the calendar popup relative to the input. Enum: `bottomLeft`, `bottomRight`, `topLeft`, `topRight`. |
|
|
779
|
-
| `prefix` | string | - | Prefix text shown before the date in the input, priority over prefixIcon. |
|
|
780
|
-
| `prefixIcon` | 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 the left-hand side of the date picker. |
|
|
781
|
-
| `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
782
|
-
| `prefixIcon.color` | string | - | Icon color. |
|
|
783
|
-
| `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
784
|
-
| `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
785
|
-
| `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
786
|
-
| `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
787
|
-
| `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
788
|
-
| `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
789
|
-
| `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
790
720
|
| `presets` | array | - | Shortcuts listed next to the calendar to quickly select a date. Presets are re-evaluated every time the block config is evaluated, so operator based values like "_date: now" stay current. A preset is offered on the same terms as the calendar cells: a shortcut with nothing it may select is listed as disabled. |
|
|
791
721
|
| `presets.$.label` | string | - | Text shown for the shortcut - supports html. |
|
|
792
722
|
| `presets.$.value` | string \| number \| object | - | A date string, a timestamp, or a _date object. Dates are read as UTC, the same as the block value, so a fixed date like "2026-01-01" resolves to the same day in every timezone. A date relative to now is an instant, not a calendar date, so end a _dayjs chain with a format step to pin it to the local calendar: "_dayjs: [now, {format: YYYY-MM-DD}]". Without the format step the chain resolves to an instant, which can select the day before or after the current one, depending on the browser timezone and the time of day. |
|
|
793
723
|
| `showToday` | boolean | `true` | Shows a button to easily select the current date if true. |
|
|
794
|
-
| `showWeek` | boolean | `false` | Show the week number of each row in the calendar. |
|
|
795
724
|
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
796
|
-
| `suffixIcon` | string \| object | `"
|
|
797
|
-
| `suffixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
798
|
-
| `suffixIcon.color` | string | - | Icon color. |
|
|
799
|
-
| `suffixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
800
|
-
| `suffixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
801
|
-
| `suffixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
802
|
-
| `suffixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
803
|
-
| `suffixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
804
|
-
| `suffixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
805
|
-
| `suffixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
725
|
+
| `suffixIcon` | string \| object | `"AiOutlineCalendar"` | Name of an React-Icon (See all icons) or properties of an Icon block to customize icon on right-hand side of the date picker. |
|
|
806
726
|
| `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
|
|
807
727
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design date-picker tokens](https://ant.design/components/date-picker#design-token). |
|
|
808
|
-
| `theme.activeBg` | string | `"#ffffff"` | Background color of the input when the picker is active/focused. |
|
|
809
728
|
| `theme.activeBorderColor` | string | - | Border color when the picker is active/focused. |
|
|
810
|
-
| `theme.
|
|
729
|
+
| `theme.hoverBorderColor` | string | - | Border color when hovering over the picker. |
|
|
730
|
+
| `theme.cellHoverBg` | string | `"rgba(0, 0, 0, 0.04)"` | Background color of calendar cell on hover. |
|
|
731
|
+
| `theme.cellActiveWithRangeBg` | string | `"#e6f4ff"` | Background color of active cell within a range selection. |
|
|
732
|
+
| `theme.addonBg` | string | `"rgba(0, 0, 0, 0.02)"` | Background color of the footer addon area. |
|
|
733
|
+
| `theme.zIndexPopup` | number | `1050` | Z-index of the date picker popup layer. |
|
|
734
|
+
| `theme.timeColumnHeight` | number | `224` | Height of the time picker column. |
|
|
735
|
+
| `theme.timeCellHeight` | number | `28` | Height of each cell in the time picker column. |
|
|
736
|
+
| `theme.paddingBlock` | number | `4` | Vertical padding for the default size picker. |
|
|
737
|
+
| `theme.paddingBlockSM` | number | `0` | Vertical padding for the small size picker. |
|
|
738
|
+
| `theme.paddingBlockLG` | number | `7` | Vertical padding for the large size picker. |
|
|
739
|
+
| `theme.paddingInline` | number | `11` | Horizontal padding for the default size picker. |
|
|
740
|
+
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for the small size picker. |
|
|
741
|
+
| `theme.paddingInlineLG` | number | `11` | Horizontal padding for the large size picker. |
|
|
811
742
|
| `theme.borderRadius` | number | `6` | Border radius of the picker input. |
|
|
812
|
-
| `theme.borderRadiusLG` | number | `8` | Border radius for the large picker and popup panel. |
|
|
813
743
|
| `theme.borderRadiusSM` | number | `4` | Border radius for the small picker. |
|
|
814
|
-
| `theme.
|
|
815
|
-
| `theme.cellBgDisabled` | string | `"rgba(0,0,0,0.04)"` | Background color of disabled cells. |
|
|
816
|
-
| `theme.cellHeight` | number | `24` | Height of a calendar cell. |
|
|
817
|
-
| `theme.cellHoverBg` | string | `"rgba(0, 0, 0, 0.04)"` | Background color of a calendar cell on hover. |
|
|
818
|
-
| `theme.cellHoverWithRangeBg` | string | `"#cbe0fd"` | Background color of cells within range on hover. |
|
|
819
|
-
| `theme.cellRangeBorderColor` | string | `"#82b4f9"` | Border color of range selection cells. |
|
|
820
|
-
| `theme.cellWidth` | number | `36` | Width of a calendar cell. |
|
|
821
|
-
| `theme.colorBgContainer` | string | - | Background color of the picker input. |
|
|
822
|
-
| `theme.colorBorder` | string | - | Border color of the picker input. |
|
|
823
|
-
| `theme.colorPrimary` | string | - | Primary color used for the selected date and active states. |
|
|
824
|
-
| `theme.colorText` | string | - | Text color of the picker input and calendar cells. |
|
|
825
|
-
| `theme.colorTextPlaceholder` | string | - | Color of the placeholder text. |
|
|
744
|
+
| `theme.borderRadiusLG` | number | `8` | Border radius for the large picker and popup panel. |
|
|
826
745
|
| `theme.controlHeight` | number | `32` | Height of the picker input. |
|
|
827
|
-
| `theme.controlHeightLG` | number | `40` | Height of the large picker input. |
|
|
828
746
|
| `theme.controlHeightSM` | number | `24` | Height of the small picker input. |
|
|
829
|
-
| `theme.
|
|
747
|
+
| `theme.controlHeightLG` | number | `40` | Height of the large picker input. |
|
|
830
748
|
| `theme.fontSize` | number | `14` | Font size of the picker input. |
|
|
831
|
-
| `theme.fontSizeLG` | number | `16` | Font size for the large picker. |
|
|
832
749
|
| `theme.fontSizeSM` | number | `14` | Font size for the small picker. |
|
|
833
|
-
| `theme.
|
|
834
|
-
| `theme.hoverBorderColor` | string | - | Border color when hovering over the picker. |
|
|
750
|
+
| `theme.fontSizeLG` | number | `16` | Font size for the large picker. |
|
|
835
751
|
| `theme.lineWidth` | number | `1` | Border width of the picker input. |
|
|
836
|
-
| `theme.
|
|
837
|
-
| `theme.
|
|
838
|
-
| `theme.
|
|
839
|
-
| `theme.
|
|
840
|
-
| `theme.
|
|
841
|
-
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for the small size picker. |
|
|
842
|
-
| `theme.presetsMaxWidth` | number | `200` | Maximum width of the presets list next to the calendar. |
|
|
843
|
-
| `theme.presetsWidth` | number | `120` | Width of the presets list next to the calendar. |
|
|
844
|
-
| `theme.timeCellHeight` | number | `28` | Height of a time cell in the time panel. |
|
|
845
|
-
| `theme.timeColumnHeight` | number | `224` | Height of the time panel column. |
|
|
846
|
-
| `theme.timeColumnWidth` | number | `56` | Width of the time panel column. |
|
|
847
|
-
| `theme.warningActiveShadow` | string | `"0 0 0 2px rgba(255,215,5,0.1)"` | Shadow effect when the picker has warning status and is focused. |
|
|
848
|
-
| `theme.withoutTimeCellHeight` | number | `66` | Height of the cells of the month, week, quarter, year and decade panels. |
|
|
849
|
-
| `theme.zIndexPopup` | number | `1050` | Z-index of the picker popup layer. |
|
|
752
|
+
| `theme.colorPrimary` | string | - | Primary color used for selected date and active states. |
|
|
753
|
+
| `theme.colorBgContainer` | string | - | Background color of the picker input. |
|
|
754
|
+
| `theme.colorText` | string | - | Text color of the picker input and calendar cells. |
|
|
755
|
+
| `theme.colorBorder` | string | - | Border color of the picker input. |
|
|
756
|
+
| `theme.colorTextPlaceholder` | string | - | Color of the placeholder text. |
|
|
850
757
|
|
|
851
758
|
| Event | Event Data | Description |
|
|
852
759
|
| --- | --- | --- |
|
|
853
|
-
| `onBlur` | \- | Trigger actions when the picker loses focus. |
|
|
854
|
-
| `onClear` | \- | Trigger actions when the clear button is clicked. |
|
|
855
|
-
| `onFocus` | \- | Trigger actions when the picker gets focus. |
|
|
856
|
-
| `onOpenChange` | `{ open }` | Trigger actions when the calendar popup opens or closes. |
|
|
857
760
|
| `onChange` | `{ value }` | Trigger actions when selection is changed. |
|
|
858
761
|
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
859
762
|
|
|
@@ -865,7 +768,6 @@ Date picker with configurable format and disabled dates.
|
|
|
865
768
|
| `/extra` | The DateSelector extra content. |
|
|
866
769
|
| `/feedback` | The DateSelector validation feedback. |
|
|
867
770
|
| `/popup` | The DateSelector popup. |
|
|
868
|
-
| `/prefixIcon` | The prefix icon in the DateSelector. |
|
|
869
771
|
| `/suffixIcon` | The suffix icon in the DateSelector. |
|
|
870
772
|
|
|
871
773
|
No slots defined.
|