@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 range picker for selecting start and end dates.
|
|
|
41
41
|
variant: borderless
|
|
42
42
|
label:
|
|
43
43
|
disabled: true
|
|
44
|
-
- id: drs_variant_underlined
|
|
45
|
-
type: DateRangeSelector
|
|
46
|
-
properties:
|
|
47
|
-
title: Underlined
|
|
48
|
-
variant: underlined
|
|
49
|
-
label:
|
|
50
|
-
disabled: true
|
|
51
44
|
```
|
|
52
45
|
|
|
53
46
|
```yaml
|
|
@@ -182,14 +175,14 @@ Date range picker for selecting start and end dates.
|
|
|
182
175
|
type: DateRangeSelector
|
|
183
176
|
properties:
|
|
184
177
|
title: Clock Icon
|
|
185
|
-
suffixIcon:
|
|
178
|
+
suffixIcon: AiOutlineClockCircle
|
|
186
179
|
label:
|
|
187
180
|
disabled: true
|
|
188
181
|
- id: drs_icon_schedule
|
|
189
182
|
type: DateRangeSelector
|
|
190
183
|
properties:
|
|
191
184
|
title: Schedule Icon
|
|
192
|
-
suffixIcon:
|
|
185
|
+
suffixIcon: AiOutlineSchedule
|
|
193
186
|
label:
|
|
194
187
|
disabled: true
|
|
195
188
|
- id: drs_icon_custom_color
|
|
@@ -197,7 +190,7 @@ Date range picker for selecting start and end dates.
|
|
|
197
190
|
properties:
|
|
198
191
|
title: Custom Color Icon
|
|
199
192
|
suffixIcon:
|
|
200
|
-
name:
|
|
193
|
+
name: AiOutlineCalendar
|
|
201
194
|
color: "#1677ff"
|
|
202
195
|
label:
|
|
203
196
|
disabled: true
|
|
@@ -206,72 +199,12 @@ Date range picker for selecting start and end dates.
|
|
|
206
199
|
properties:
|
|
207
200
|
title: Heart Icon
|
|
208
201
|
suffixIcon:
|
|
209
|
-
name:
|
|
202
|
+
name: AiOutlineHeart
|
|
210
203
|
color: "#ff4d4f"
|
|
211
204
|
label:
|
|
212
205
|
disabled: true
|
|
213
206
|
```
|
|
214
207
|
|
|
215
|
-
```yaml
|
|
216
|
-
- id: drs_prefix_icon
|
|
217
|
-
type: DateRangeSelector
|
|
218
|
-
properties:
|
|
219
|
-
title: Prefix Icon
|
|
220
|
-
prefixIcon: clock
|
|
221
|
-
suffixIcon:
|
|
222
|
-
name: calendar
|
|
223
|
-
color: "#8c8c8c"
|
|
224
|
-
- id: drs_prefix_text
|
|
225
|
-
type: DateRangeSelector
|
|
226
|
-
properties:
|
|
227
|
-
title: Prefix Text
|
|
228
|
-
prefix: "From:"
|
|
229
|
-
- id: drs_placement
|
|
230
|
-
type: DateRangeSelector
|
|
231
|
-
properties:
|
|
232
|
-
title: Popup Opens Top Right
|
|
233
|
-
placement: topRight
|
|
234
|
-
- id: drs_read_only
|
|
235
|
-
type: DateRangeSelector
|
|
236
|
-
properties:
|
|
237
|
-
title: Pick From Calendar Only
|
|
238
|
-
inputReadOnly: true
|
|
239
|
-
label:
|
|
240
|
-
extra: The input is read-only, so touch devices do not open the keyboard.
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
```yaml
|
|
244
|
-
- id: drs_open_end
|
|
245
|
-
type: DateRangeSelector
|
|
246
|
-
properties:
|
|
247
|
-
title: Start Date, Optional End
|
|
248
|
-
allowEmpty:
|
|
249
|
-
- false
|
|
250
|
-
- true
|
|
251
|
-
label:
|
|
252
|
-
extra: Leave the end date empty for an ongoing range.
|
|
253
|
-
- id: drs_fixed_start
|
|
254
|
-
type: DateRangeSelector
|
|
255
|
-
properties:
|
|
256
|
-
title: Fixed Start Date
|
|
257
|
-
disabled:
|
|
258
|
-
- true
|
|
259
|
-
- false
|
|
260
|
-
events:
|
|
261
|
-
onMount:
|
|
262
|
-
- id: set_default
|
|
263
|
-
type: SetState
|
|
264
|
-
params:
|
|
265
|
-
drs_fixed_start:
|
|
266
|
-
- _date: 2026-01-01
|
|
267
|
-
- _date: 2026-01-31
|
|
268
|
-
- id: drs_show_week
|
|
269
|
-
type: DateRangeSelector
|
|
270
|
-
properties:
|
|
271
|
-
title: Show Week Numbers
|
|
272
|
-
showWeek: true
|
|
273
|
-
```
|
|
274
|
-
|
|
275
208
|
```yaml
|
|
276
209
|
- id: drs_dis_default
|
|
277
210
|
type: DateRangeSelector
|
|
@@ -651,8 +584,7 @@ Date range picker for selecting start and end dates.
|
|
|
651
584
|
- id: drs_style_element
|
|
652
585
|
type: DateRangeSelector
|
|
653
586
|
style:
|
|
654
|
-
.element:
|
|
655
|
-
backgroundColor: var(--ant-color-primary-bg)
|
|
587
|
+
.element: null
|
|
656
588
|
properties:
|
|
657
589
|
title: Custom Background
|
|
658
590
|
label:
|
|
@@ -745,7 +677,7 @@ Date range picker for selecting start and end dates.
|
|
|
745
677
|
format: DD MMMM YYYY
|
|
746
678
|
size: large
|
|
747
679
|
separator: →
|
|
748
|
-
suffixIcon:
|
|
680
|
+
suffixIcon: AiOutlineSchedule
|
|
749
681
|
allowClear: true
|
|
750
682
|
label:
|
|
751
683
|
extra: Select your check-in and check-out dates.
|
|
@@ -773,7 +705,7 @@ Date range picker for selecting start and end dates.
|
|
|
773
705
|
- Event end
|
|
774
706
|
format: DD MMM YYYY
|
|
775
707
|
suffixIcon:
|
|
776
|
-
name:
|
|
708
|
+
name: AiOutlineCalendar
|
|
777
709
|
color: "#1677ff"
|
|
778
710
|
disabledDates:
|
|
779
711
|
min: 2026-01-01
|
|
@@ -792,7 +724,7 @@ Date range picker for selecting start and end dates.
|
|
|
792
724
|
- Start date
|
|
793
725
|
- End date
|
|
794
726
|
suffixIcon:
|
|
795
|
-
name:
|
|
727
|
+
name: AiOutlineHeart
|
|
796
728
|
color: "#eb2f96"
|
|
797
729
|
label:
|
|
798
730
|
disabled: true
|
|
@@ -813,7 +745,7 @@ Date range picker for selecting start and end dates.
|
|
|
813
745
|
variant: outlined
|
|
814
746
|
size: large
|
|
815
747
|
suffixIcon:
|
|
816
|
-
name:
|
|
748
|
+
name: AiOutlineFlag
|
|
817
749
|
color: "#722ed1"
|
|
818
750
|
label:
|
|
819
751
|
extra: Specify the <b>full duration</b> of the contract.
|
|
@@ -873,7 +805,7 @@ Date range picker for selecting start and end dates.
|
|
|
873
805
|
type: Button
|
|
874
806
|
properties:
|
|
875
807
|
title: Generate Report
|
|
876
|
-
icon:
|
|
808
|
+
icon: AiOutlineFileText
|
|
877
809
|
type: primary
|
|
878
810
|
size: large
|
|
879
811
|
block: true
|
|
@@ -923,7 +855,7 @@ Date range picker for selecting start and end dates.
|
|
|
923
855
|
type: Button
|
|
924
856
|
properties:
|
|
925
857
|
title: Submit Request
|
|
926
|
-
icon:
|
|
858
|
+
icon: AiOutlineSend
|
|
927
859
|
type: primary
|
|
928
860
|
size: large
|
|
929
861
|
block: true
|
|
@@ -942,11 +874,10 @@ Date range picker for selecting start and end dates.
|
|
|
942
874
|
| Property | Type | Default | Description |
|
|
943
875
|
| --- | --- | --- | --- |
|
|
944
876
|
| `allowClear` | boolean | `true` | Allow the user to clear their input. |
|
|
945
|
-
| `allowEmpty` | array | `[false,false]` | Allow the start or the end date to be left empty, for an open-ended range. An empty date is null in the block value. |
|
|
946
877
|
| `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
|
|
947
878
|
| `bordered` | boolean | `true` | Deprecated - use variant: 'borderless'. Whether or not the input has a border style. |
|
|
948
|
-
| `disabled` | boolean
|
|
949
|
-
| `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless
|
|
879
|
+
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
880
|
+
| `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless`. |
|
|
950
881
|
| `disabledDates` | object | - | Disable specific dates so that they can not be chosen. |
|
|
951
882
|
| `disabledDates.min` | string \| object | - | Disable all dates less than the minimum date. Can be a date string or a _date object. |
|
|
952
883
|
| `disabledDates.max` | string \| object | - | Disable all dates greater than the maximum date. Can be a date string or a _date object. |
|
|
@@ -955,113 +886,63 @@ Date range picker for selecting start and end dates.
|
|
|
955
886
|
| `disabledDates.ranges.$.from` | string \| object | - | Start of the disabled range. |
|
|
956
887
|
| `disabledDates.ranges.$.to` | string \| object | - | End of the disabled range. |
|
|
957
888
|
| `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. |
|
|
958
|
-
| `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. |
|
|
959
889
|
| `label` | object | - | Label properties. |
|
|
960
|
-
| `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
|
|
961
|
-
| `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
962
|
-
| `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. |
|
|
963
|
-
| `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
964
|
-
| `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
|
|
965
|
-
| `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
966
|
-
| `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
|
|
967
|
-
| `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
968
|
-
| `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
|
|
969
|
-
| `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
970
|
-
| `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
|
|
971
|
-
| `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
972
890
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
973
891
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
974
892
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
975
893
|
| `label.title` | string | - | Label title - supports html. |
|
|
976
894
|
| `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. |
|
|
977
895
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
978
|
-
| `label.tooltip.icon` | string | `"
|
|
896
|
+
| `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
979
897
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
980
|
-
| `label.span` | number | - | Label
|
|
898
|
+
| `label.span` | number | - | Label inline span. |
|
|
981
899
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
982
900
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
983
901
|
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
984
|
-
| `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
|
|
985
902
|
| `placeholder` | array | - | Placeholder text inside the block before user types input. When unset, antd uses the localized default from ConfigProvider locale. |
|
|
986
|
-
| `placement` | string | `"bottomLeft"` | Position of the calendar popup relative to the input. Enum: `bottomLeft`, `bottomRight`, `topLeft`, `topRight`. |
|
|
987
|
-
| `prefix` | string | - | Prefix text shown before the date in the input, priority over prefixIcon. |
|
|
988
|
-
| `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. |
|
|
989
|
-
| `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
990
|
-
| `prefixIcon.color` | string | - | Icon color. |
|
|
991
|
-
| `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
992
|
-
| `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
993
|
-
| `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
994
|
-
| `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
995
|
-
| `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
996
|
-
| `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
997
|
-
| `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
998
903
|
| `presets` | array | - | Shortcuts listed next to the calendar to quickly select a date range. 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 range that starts or ends on a date disabledDates disables is narrowed to the dates it may select, so a "Last 7 days" shortcut still selects the allowed part of the last 7 days. A shortcut with nothing it may select is listed as disabled. |
|
|
999
904
|
| `presets.$.label` | string | - | Text shown for the shortcut - supports html. |
|
|
1000
905
|
| `presets.$.value` | array | - | The start and end date of the range. 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, {subtract: [7, days]}, {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. |
|
|
1001
906
|
| `separator` | string | `"~"` | Separator symbol shown between start and end date inputs. |
|
|
1002
|
-
| `showWeek` | boolean | `false` | Show the week number of each row in the calendar. |
|
|
1003
907
|
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
1004
|
-
| `suffixIcon` | string \| object | `"
|
|
1005
|
-
| `suffixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1006
|
-
| `suffixIcon.color` | string | - | Icon color. |
|
|
1007
|
-
| `suffixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1008
|
-
| `suffixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1009
|
-
| `suffixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1010
|
-
| `suffixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1011
|
-
| `suffixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1012
|
-
| `suffixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1013
|
-
| `suffixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
908
|
+
| `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. |
|
|
1014
909
|
| `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
|
|
1015
910
|
| `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). |
|
|
1016
|
-
| `theme.activeBg` | string | `"#ffffff"` | Background color of the input when the picker is active/focused. |
|
|
1017
|
-
| `theme.activeBorderColor` | string | - | Border color when the picker is active/focused. |
|
|
1018
|
-
| `theme.activeShadow` | string | `"0 0 0 2px rgba(5,145,255,0.1)"` | Shadow effect when the picker is active/focused. |
|
|
1019
|
-
| `theme.borderRadius` | number | `6` | Border radius of the picker input. |
|
|
1020
|
-
| `theme.borderRadiusLG` | number | `8` | Border radius for the large picker and popup panel. |
|
|
1021
|
-
| `theme.borderRadiusSM` | number | `4` | Border radius for the small picker. |
|
|
1022
|
-
| `theme.cellActiveWithRangeBg` | string | `"#e6f4ff"` | Background color of cells within the selected range. |
|
|
1023
|
-
| `theme.cellBgDisabled` | string | `"rgba(0,0,0,0.04)"` | Background color of disabled cells. |
|
|
1024
911
|
| `theme.cellHeight` | number | `24` | Height of a calendar cell. |
|
|
1025
|
-
| `theme.cellHoverBg` | string | `"rgba(0, 0, 0, 0.04)"` | Background color of a calendar cell on hover. |
|
|
1026
|
-
| `theme.cellHoverWithRangeBg` | string | `"#cbe0fd"` | Background color of cells within range on hover. |
|
|
1027
|
-
| `theme.cellRangeBorderColor` | string | `"#82b4f9"` | Border color of range selection cells. |
|
|
1028
912
|
| `theme.cellWidth` | number | `36` | Width of a calendar cell. |
|
|
1029
|
-
| `theme.
|
|
1030
|
-
| `theme.
|
|
1031
|
-
| `theme.
|
|
1032
|
-
| `theme.
|
|
1033
|
-
| `theme.
|
|
1034
|
-
| `theme.controlHeight` | number | `32` | Height of the picker input. |
|
|
1035
|
-
| `theme.controlHeightLG` | number | `40` | Height of the large picker input. |
|
|
1036
|
-
| `theme.controlHeightSM` | number | `24` | Height of the small picker input. |
|
|
1037
|
-
| `theme.errorActiveShadow` | string | `"0 0 0 2px rgba(255,38,5,0.06)"` | Shadow effect when the picker has error status and is focused. |
|
|
1038
|
-
| `theme.fontSize` | number | `14` | Font size of the picker input. |
|
|
1039
|
-
| `theme.fontSizeLG` | number | `16` | Font size for the large picker. |
|
|
1040
|
-
| `theme.fontSizeSM` | number | `14` | Font size for the small picker. |
|
|
1041
|
-
| `theme.hoverBg` | string | `"#ffffff"` | Background color of the input when hovering over the picker. |
|
|
1042
|
-
| `theme.hoverBorderColor` | string | - | Border color when hovering over the picker. |
|
|
1043
|
-
| `theme.lineWidth` | number | `1` | Border width of the picker input. |
|
|
1044
|
-
| `theme.paddingBlock` | number | `4` | Vertical padding for the default size picker. |
|
|
1045
|
-
| `theme.paddingBlockLG` | number | `7` | Vertical padding for the large size picker. |
|
|
1046
|
-
| `theme.paddingBlockSM` | number | `0` | Vertical padding for the small size picker. |
|
|
1047
|
-
| `theme.paddingInline` | number | `11` | Horizontal padding for the default size picker. |
|
|
1048
|
-
| `theme.paddingInlineLG` | number | `11` | Horizontal padding for the large size picker. |
|
|
1049
|
-
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for the small size picker. |
|
|
1050
|
-
| `theme.presetsMaxWidth` | number | `200` | Maximum width of the presets list next to the calendar. |
|
|
1051
|
-
| `theme.presetsWidth` | number | `120` | Width of the presets list next to the calendar. |
|
|
1052
|
-
| `theme.timeCellHeight` | number | `28` | Height of a time cell in the time panel. |
|
|
1053
|
-
| `theme.timeColumnHeight` | number | `224` | Height of the time panel column. |
|
|
913
|
+
| `theme.cellHoverBg` | string | - | Background color of a calendar cell on hover. |
|
|
914
|
+
| `theme.cellActiveWithRangeBg` | string | - | Background color of cells within the selected range. |
|
|
915
|
+
| `theme.cellHoverWithRangeBg` | string | - | Background color of cells within range on hover. |
|
|
916
|
+
| `theme.cellBgDisabled` | string | - | Background color of disabled cells. |
|
|
917
|
+
| `theme.cellRangeBorderColor` | string | - | Border color of range selection cells. |
|
|
1054
918
|
| `theme.timeColumnWidth` | number | `56` | Width of the time panel column. |
|
|
1055
|
-
| `theme.
|
|
1056
|
-
| `theme.
|
|
1057
|
-
| `theme.
|
|
919
|
+
| `theme.timeColumnHeight` | number | `224` | Height of the time panel column. |
|
|
920
|
+
| `theme.timeCellHeight` | number | `28` | Height of a time cell in the time panel. |
|
|
921
|
+
| `theme.addonBg` | string | - | Background color for the addon area. |
|
|
922
|
+
| `theme.hoverBorderColor` | string | - | Border color on hover. |
|
|
923
|
+
| `theme.activeBorderColor` | string | - | Border color when active. |
|
|
924
|
+
| `theme.activeShadow` | string | - | Shadow effect when active. |
|
|
925
|
+
| `theme.paddingBlock` | number | `4` | Vertical padding of the input. |
|
|
926
|
+
| `theme.paddingBlockSM` | number | `0` | Vertical padding for small size. |
|
|
927
|
+
| `theme.paddingBlockLG` | number | `7` | Vertical padding for large size. |
|
|
928
|
+
| `theme.paddingInline` | number | `11` | Horizontal padding of the input. |
|
|
929
|
+
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for small size. |
|
|
930
|
+
| `theme.paddingInlineLG` | number | `11` | Horizontal padding for large size. |
|
|
931
|
+
| `theme.zIndexPopup` | number | `1050` | Z-index of the picker popup. |
|
|
932
|
+
| `theme.borderRadius` | number | `6` | Border radius of the input. |
|
|
933
|
+
| `theme.controlHeight` | number | `32` | Height of the input. |
|
|
934
|
+
| `theme.controlHeightLG` | number | `40` | Height for large size. |
|
|
935
|
+
| `theme.controlHeightSM` | number | `24` | Height for small size. |
|
|
936
|
+
| `theme.fontSize` | number | `14` | Font size. |
|
|
937
|
+
| `theme.lineWidth` | number | `1` | Border width. |
|
|
938
|
+
| `theme.colorPrimary` | string | - | Primary color override. |
|
|
939
|
+
| `theme.colorBgContainer` | string | - | Background color of the input. |
|
|
940
|
+
| `theme.colorText` | string | - | Text color. |
|
|
941
|
+
| `theme.colorBorder` | string | - | Border color. |
|
|
942
|
+
| `theme.colorTextPlaceholder` | string | - | Placeholder text color. |
|
|
1058
943
|
|
|
1059
944
|
| Event | Event Data | Description |
|
|
1060
945
|
| --- | --- | --- |
|
|
1061
|
-
| `onBlur` | `{ range }` | Trigger actions when the picker loses focus. |
|
|
1062
|
-
| `onClear` | \- | Trigger actions when the clear button is clicked. |
|
|
1063
|
-
| `onFocus` | `{ range }` | Trigger actions when the picker gets focus. |
|
|
1064
|
-
| `onOpenChange` | `{ open }` | Trigger actions when the calendar popup opens or closes. |
|
|
1065
946
|
| `onChange` | `{ value }` | Trigger actions when selection is changed. |
|
|
1066
947
|
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
1067
948
|
|
|
@@ -1073,7 +954,6 @@ Date range picker for selecting start and end dates.
|
|
|
1073
954
|
| `/extra` | The DateRangeSelector extra content. |
|
|
1074
955
|
| `/feedback` | The DateRangeSelector validation feedback. |
|
|
1075
956
|
| `/popup` | The DateRangeSelector popup. |
|
|
1076
|
-
| `/prefixIcon` | The prefix icon in the DateRangeSelector. |
|
|
1077
957
|
| `/suffixIcon` | The suffix icon in the DateRangeSelector. |
|
|
1078
958
|
|
|
1079
959
|
No slots defined.
|