@lowdefy/docs-content 0.0.0-experimental-20260710073520
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +20 -0
- package/content/actions/callapi.md +66 -0
- package/content/actions/callmethod.md +41 -0
- package/content/actions/copytoclipboard.md +32 -0
- package/content/actions/displaymessage.md +53 -0
- package/content/actions/downloadcsv.md +89 -0
- package/content/actions/fetch.md +50 -0
- package/content/actions/geolocationcurrentposition.md +56 -0
- package/content/actions/link.md +104 -0
- package/content/actions/login.md +85 -0
- package/content/actions/logout.md +56 -0
- package/content/actions/pdfmake.md +304 -0
- package/content/actions/request.md +67 -0
- package/content/actions/reset.md +27 -0
- package/content/actions/resetvalidation.md +85 -0
- package/content/actions/scrollto.md +85 -0
- package/content/actions/setdarkmode.md +62 -0
- package/content/actions/setfocus.md +33 -0
- package/content/actions/setglobal.md +63 -0
- package/content/actions/setlocale.md +69 -0
- package/content/actions/setstate.md +70 -0
- package/content/actions/throw.md +72 -0
- package/content/actions/validate.md +87 -0
- package/content/actions/wait.md +24 -0
- package/content/agents/agent-endpoint-tools.md +190 -0
- package/content/agents/agent-mcp-tools.md +124 -0
- package/content/agents/agent-multi-agent.md +136 -0
- package/content/agents/agent-properties.md +174 -0
- package/content/agents/agent-server-hooks.md +336 -0
- package/content/agents/agentchat.md +515 -0
- package/content/agents/agentconversations.md +148 -0
- package/content/concepts/ai-agent-docs.md +190 -0
- package/content/concepts/cli.md +213 -0
- package/content/concepts/connections-and-requests.md +7 -0
- package/content/concepts/custom-html.md +3 -0
- package/content/concepts/custom-styling.md +161 -0
- package/content/concepts/events-and-actions.md +271 -0
- package/content/concepts/hosting-files.md +18 -0
- package/content/concepts/i18n.md +320 -0
- package/content/concepts/keyboard-shortcuts.md +218 -0
- package/content/concepts/layout-overview.md +478 -0
- package/content/concepts/lists.md +144 -0
- package/content/concepts/logger.md +43 -0
- package/content/concepts/lowdefy-schema.md +365 -0
- package/content/concepts/menus.md +144 -0
- package/content/concepts/module-authoring.md +564 -0
- package/content/concepts/modules.md +338 -0
- package/content/concepts/operators.md +45 -0
- package/content/concepts/overview.md +19 -0
- package/content/concepts/references-and-templates.md +207 -0
- package/content/concepts/secrets.md +24 -0
- package/content/concepts/selectors.md +143 -0
- package/content/connections/amazonredshift.md +176 -0
- package/content/connections/anthropic.md +232 -0
- package/content/connections/awss3.md +313 -0
- package/content/connections/azureblobstorage.md +133 -0
- package/content/connections/elasticsearch.md +371 -0
- package/content/connections/google.md +228 -0
- package/content/connections/googlecloudstorage.md +139 -0
- package/content/connections/googlesheet.md +313 -0
- package/content/connections/knex.md +206 -0
- package/content/connections/mariadb.md +177 -0
- package/content/connections/mcp.md +134 -0
- package/content/connections/mongodb.md +739 -0
- package/content/connections/mssql.md +191 -0
- package/content/connections/mysql.md +192 -0
- package/content/connections/openai-connection.md +228 -0
- package/content/connections/postgresql.md +200 -0
- package/content/connections/redis.md +116 -0
- package/content/connections/sendgridmail.md +94 -0
- package/content/connections/smtp.md +149 -0
- package/content/connections/sqlite.md +187 -0
- package/content/connections/stripe.md +115 -0
- package/content/container-blocks/affix.md +413 -0
- package/content/container-blocks/alert.md +937 -0
- package/content/container-blocks/badge.md +1222 -0
- package/content/container-blocks/box.md +1453 -0
- package/content/container-blocks/card.md +1200 -0
- package/content/container-blocks/carousel.md +2247 -0
- package/content/container-blocks/collapse.md +1335 -0
- package/content/container-blocks/configprovider.md +1070 -0
- package/content/container-blocks/confirmmodal.md +1159 -0
- package/content/container-blocks/content.md +597 -0
- package/content/container-blocks/descriptions.md +870 -0
- package/content/container-blocks/drawer.md +1379 -0
- package/content/container-blocks/dropdownmenu.md +643 -0
- package/content/container-blocks/flex.md +1510 -0
- package/content/container-blocks/footer.md +380 -0
- package/content/container-blocks/googlemaps.md +546 -0
- package/content/container-blocks/googlemapsheatmap.md +607 -0
- package/content/container-blocks/googlemapsscript.md +61 -0
- package/content/container-blocks/header.md +302 -0
- package/content/container-blocks/label.md +739 -0
- package/content/container-blocks/layout.md +604 -0
- package/content/container-blocks/masonry.md +1090 -0
- package/content/container-blocks/mobilemenu.md +1244 -0
- package/content/container-blocks/modal.md +1180 -0
- package/content/container-blocks/pageheadermenu.md +614 -0
- package/content/container-blocks/pagesidebarlayout.md +438 -0
- package/content/container-blocks/pagesidermenu.md +651 -0
- package/content/container-blocks/popover.md +1421 -0
- package/content/container-blocks/result.md +972 -0
- package/content/container-blocks/sider.md +1064 -0
- package/content/container-blocks/span.md +747 -0
- package/content/container-blocks/spinner.md +267 -0
- package/content/container-blocks/splitter.md +1735 -0
- package/content/container-blocks/tabs.md +1718 -0
- package/content/container-blocks/tooltip.md +1274 -0
- package/content/container-blocks/watermark.md +515 -0
- package/content/controls/for.md +103 -0
- package/content/controls/if.md +107 -0
- package/content/controls/log.md +50 -0
- package/content/controls/parallel.md +71 -0
- package/content/controls/parallel_for.md +36 -0
- package/content/controls/reject.md +56 -0
- package/content/controls/return.md +66 -0
- package/content/controls/set_state.md +98 -0
- package/content/controls/switch.md +90 -0
- package/content/controls/throw.md +79 -0
- package/content/controls/try.md +88 -0
- package/content/deployment/docker.md +149 -0
- package/content/deployment/node-server.md +27 -0
- package/content/deployment/vercel.md +101 -0
- package/content/display-blocks/aggrid.md +1459 -0
- package/content/display-blocks/anchor.md +336 -0
- package/content/display-blocks/avatar.md +1154 -0
- package/content/display-blocks/breadcrumb.md +517 -0
- package/content/display-blocks/button.md +758 -0
- package/content/display-blocks/calendar.md +156 -0
- package/content/display-blocks/dangeroushtml.md +314 -0
- package/content/display-blocks/dangerousmarkdown.md +423 -0
- package/content/display-blocks/diffgit.md +44 -0
- package/content/display-blocks/difflist.md +225 -0
- package/content/display-blocks/diffsidebyside.md +56 -0
- package/content/display-blocks/difftimeline.md +94 -0
- package/content/display-blocks/divider.md +406 -0
- package/content/display-blocks/download.md +60 -0
- package/content/display-blocks/dropdownbutton.md +661 -0
- package/content/display-blocks/echart.md +418 -0
- package/content/display-blocks/floatbutton.md +545 -0
- package/content/display-blocks/html.md +311 -0
- package/content/display-blocks/icon.md +717 -0
- package/content/display-blocks/img.md +479 -0
- package/content/display-blocks/markdown.md +520 -0
- package/content/display-blocks/markdownwithcode.md +730 -0
- package/content/display-blocks/menu.md +1123 -0
- package/content/display-blocks/message.md +941 -0
- package/content/display-blocks/notification.md +1410 -0
- package/content/display-blocks/paragraph.md +643 -0
- package/content/display-blocks/progress.md +818 -0
- package/content/display-blocks/qrcode.md +519 -0
- package/content/display-blocks/s3download.md +240 -0
- package/content/display-blocks/search.md +360 -0
- package/content/display-blocks/skeleton.md +272 -0
- package/content/display-blocks/skeletonavatar.md +222 -0
- package/content/display-blocks/skeletonbutton.md +245 -0
- package/content/display-blocks/skeletoninput.md +223 -0
- package/content/display-blocks/skeletonparagraph.md +201 -0
- package/content/display-blocks/statistic.md +485 -0
- package/content/display-blocks/steps.md +585 -0
- package/content/display-blocks/tag.md +620 -0
- package/content/display-blocks/title.md +654 -0
- package/content/display-blocks/tour.md +2359 -0
- package/content/input-blocks/autocomplete.md +786 -0
- package/content/input-blocks/buttonselector.md +964 -0
- package/content/input-blocks/checkboxselector.md +765 -0
- package/content/input-blocks/checkboxswitch.md +497 -0
- package/content/input-blocks/colorselector.md +884 -0
- package/content/input-blocks/daterangeselector.md +777 -0
- package/content/input-blocks/dateselector.md +693 -0
- package/content/input-blocks/datetimeselector.md +791 -0
- package/content/input-blocks/inputgallery.md +528 -0
- package/content/input-blocks/monthselector.md +717 -0
- package/content/input-blocks/multipleselector.md +1337 -0
- package/content/input-blocks/numberinput.md +855 -0
- package/content/input-blocks/pagination.md +679 -0
- package/content/input-blocks/paragraphinput.md +1664 -0
- package/content/input-blocks/passwordinput.md +480 -0
- package/content/input-blocks/phonenumberinput.md +688 -0
- package/content/input-blocks/radioselector.md +820 -0
- package/content/input-blocks/ratingslider.md +684 -0
- package/content/input-blocks/s3uploadbutton.md +384 -0
- package/content/input-blocks/s3uploaddragger.md +305 -0
- package/content/input-blocks/s3uploadphoto.md +288 -0
- package/content/input-blocks/segmentedselector.md +782 -0
- package/content/input-blocks/selector.md +1162 -0
- package/content/input-blocks/switch.md +552 -0
- package/content/input-blocks/textarea.md +714 -0
- package/content/input-blocks/textinput.md +639 -0
- package/content/input-blocks/tiptapinput.md +226 -0
- package/content/input-blocks/tiptapmentioninput.md +471 -0
- package/content/input-blocks/titleinput.md +1094 -0
- package/content/input-blocks/treeinput.md +144 -0
- package/content/input-blocks/treemultipleselector.md +162 -0
- package/content/input-blocks/treeselector.md +185 -0
- package/content/input-blocks/upload.md +149 -0
- package/content/input-blocks/uploaddragger.md +85 -0
- package/content/input-blocks/uploadphoto.md +84 -0
- package/content/input-blocks/weekselector.md +630 -0
- package/content/list-blocks/controlledlist.md +498 -0
- package/content/list-blocks/list.md +529 -0
- package/content/list-blocks/listselector.md +301 -0
- package/content/list-blocks/masonrylist.md +230 -0
- package/content/migration/upgrade-guide.md +106 -0
- package/content/migration/v4-to-v5.md +589 -0
- package/content/migration/v5-to-v6.md +36 -0
- package/content/operators/_actions.md +58 -0
- package/content/operators/_and.md +76 -0
- package/content/operators/_api.md +254 -0
- package/content/operators/_app.md +114 -0
- package/content/operators/_args.md +65 -0
- package/content/operators/_array.md +331 -0
- package/content/operators/_base64.md +49 -0
- package/content/operators/_boolean.md +33 -0
- package/content/operators/_build.md +166 -0
- package/content/operators/_change_case.md +357 -0
- package/content/operators/_date.md +415 -0
- package/content/operators/_dayjs.md +128 -0
- package/content/operators/_diff.md +61 -0
- package/content/operators/_divide.md +32 -0
- package/content/operators/_eq.md +52 -0
- package/content/operators/_event.md +86 -0
- package/content/operators/_function.md +52 -0
- package/content/operators/_get.md +92 -0
- package/content/operators/_global.md +86 -0
- package/content/operators/_gt.md +50 -0
- package/content/operators/_gte.md +50 -0
- package/content/operators/_hash.md +112 -0
- package/content/operators/_if.md +30 -0
- package/content/operators/_if_none.md +47 -0
- package/content/operators/_index.md +48 -0
- package/content/operators/_input.md +86 -0
- package/content/operators/_intl.md +135 -0
- package/content/operators/_item.md +166 -0
- package/content/operators/_js.md +113 -0
- package/content/operators/_json.md +120 -0
- package/content/operators/_jsonata.md +152 -0
- package/content/operators/_locale.md +65 -0
- package/content/operators/_location.md +40 -0
- package/content/operators/_log.md +22 -0
- package/content/operators/_lt.md +50 -0
- package/content/operators/_lte.md +50 -0
- package/content/operators/_math.md +407 -0
- package/content/operators/_media.md +83 -0
- package/content/operators/_menu.md +62 -0
- package/content/operators/_module.md +340 -0
- package/content/operators/_mql.md +95 -0
- package/content/operators/_ne.md +62 -0
- package/content/operators/_not.md +33 -0
- package/content/operators/_number.md +159 -0
- package/content/operators/_nunjucks.md +117 -0
- package/content/operators/_object.md +253 -0
- package/content/operators/_operator.md +33 -0
- package/content/operators/_or.md +67 -0
- package/content/operators/_product.md +45 -0
- package/content/operators/_random.md +90 -0
- package/content/operators/_ref.md +80 -0
- package/content/operators/_regex.md +69 -0
- package/content/operators/_request.md +35 -0
- package/content/operators/_request_details.md +29 -0
- package/content/operators/_secret.md +56 -0
- package/content/operators/_state.md +134 -0
- package/content/operators/_step.md +98 -0
- package/content/operators/_string.md +327 -0
- package/content/operators/_subtract.md +24 -0
- package/content/operators/_sum.md +45 -0
- package/content/operators/_switch.md +37 -0
- package/content/operators/_t.md +96 -0
- package/content/operators/_theme.md +65 -0
- package/content/operators/_type.md +78 -0
- package/content/operators/_uri.md +49 -0
- package/content/operators/_url_query.md +92 -0
- package/content/operators/_user.md +154 -0
- package/content/operators/_uuid.md +118 -0
- package/content/operators/_var.md +88 -0
- package/content/operators/_yaml.md +96 -0
- package/content/other/introduction.md +39 -0
- package/content/other/next-auth-providers.md +3 -0
- package/content/other/updatesession.md +26 -0
- package/content/plugins/plugins-actions.md +80 -0
- package/content/plugins/plugins-connections.md +98 -0
- package/content/plugins/plugins-dev.md +138 -0
- package/content/plugins/plugins-introduction.md +29 -0
- package/content/plugins/plugins-operators.md +71 -0
- package/content/testing/e2e-auth.md +108 -0
- package/content/testing/e2e-configuration.md +107 -0
- package/content/testing/e2e-getting-started.md +96 -0
- package/content/testing/e2e-introduction.md +53 -0
- package/content/testing/e2e-mocking.md +155 -0
- package/content/testing/e2e-writing-tests.md +214 -0
- package/content/tutorial/tutorial-actions-operators.md +222 -0
- package/content/tutorial/tutorial-add-blocks.md +86 -0
- package/content/tutorial/tutorial-create-page.md +57 -0
- package/content/tutorial/tutorial-display-data-page.md +181 -0
- package/content/tutorial/tutorial-next-steps.md +53 -0
- package/content/tutorial/tutorial-requests-sql.md +22 -0
- package/content/tutorial/tutorial-start.md +71 -0
- package/content/user-authentication/auth-providers.md +15 -0
- package/content/user-authentication/login-and-logout.md +122 -0
- package/content/user-authentication/users-introduction.md +31 -0
- package/index.json +2281 -0
- package/package.json +34 -0
- package/scripts/extractAgentDocs.js +130 -0
|
@@ -0,0 +1,782 @@
|
|
|
1
|
+
# SegmentedSelector
|
|
2
|
+
|
|
3
|
+
Segmented control for switching between options.
|
|
4
|
+
|
|
5
|
+
```yaml
|
|
6
|
+
- id: basic_strings
|
|
7
|
+
type: SegmentedSelector
|
|
8
|
+
properties:
|
|
9
|
+
title: View
|
|
10
|
+
options:
|
|
11
|
+
- Daily
|
|
12
|
+
- Weekly
|
|
13
|
+
- Monthly
|
|
14
|
+
- id: basic_numbers
|
|
15
|
+
type: SegmentedSelector
|
|
16
|
+
properties:
|
|
17
|
+
title: Rating
|
|
18
|
+
options:
|
|
19
|
+
- "1"
|
|
20
|
+
- "2"
|
|
21
|
+
- "3"
|
|
22
|
+
- "4"
|
|
23
|
+
- "5"
|
|
24
|
+
- id: basic_two
|
|
25
|
+
type: SegmentedSelector
|
|
26
|
+
properties:
|
|
27
|
+
title: Toggle
|
|
28
|
+
options:
|
|
29
|
+
- Yes
|
|
30
|
+
- No
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```yaml
|
|
34
|
+
- id: label_value_basic
|
|
35
|
+
type: SegmentedSelector
|
|
36
|
+
properties:
|
|
37
|
+
title: Status Filter
|
|
38
|
+
options:
|
|
39
|
+
- label: All
|
|
40
|
+
value: all
|
|
41
|
+
- label: Active
|
|
42
|
+
value: active
|
|
43
|
+
- label: Inactive
|
|
44
|
+
value: inactive
|
|
45
|
+
- label: Archived
|
|
46
|
+
value: archived
|
|
47
|
+
- id: label_value_roles
|
|
48
|
+
type: SegmentedSelector
|
|
49
|
+
properties:
|
|
50
|
+
title: User Role
|
|
51
|
+
options:
|
|
52
|
+
- label: Admin
|
|
53
|
+
value: admin
|
|
54
|
+
- label: Editor
|
|
55
|
+
value: editor
|
|
56
|
+
- label: Viewer
|
|
57
|
+
value: viewer
|
|
58
|
+
- id: label_value_many
|
|
59
|
+
type: SegmentedSelector
|
|
60
|
+
properties:
|
|
61
|
+
title: Time Range
|
|
62
|
+
options:
|
|
63
|
+
- label: 1H
|
|
64
|
+
value: 1h
|
|
65
|
+
- label: 6H
|
|
66
|
+
value: 6h
|
|
67
|
+
- label: 1D
|
|
68
|
+
value: 1d
|
|
69
|
+
- label: 1W
|
|
70
|
+
value: 1w
|
|
71
|
+
- label: 1M
|
|
72
|
+
value: 1m
|
|
73
|
+
- label: 1Y
|
|
74
|
+
value: 1y
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
```yaml
|
|
78
|
+
- id: size_small
|
|
79
|
+
type: SegmentedSelector
|
|
80
|
+
properties:
|
|
81
|
+
title: Small
|
|
82
|
+
size: small
|
|
83
|
+
options:
|
|
84
|
+
- S
|
|
85
|
+
- M
|
|
86
|
+
- L
|
|
87
|
+
- XL
|
|
88
|
+
- id: size_default
|
|
89
|
+
type: SegmentedSelector
|
|
90
|
+
properties:
|
|
91
|
+
title: Default
|
|
92
|
+
options:
|
|
93
|
+
- S
|
|
94
|
+
- M
|
|
95
|
+
- L
|
|
96
|
+
- XL
|
|
97
|
+
- id: size_large
|
|
98
|
+
type: SegmentedSelector
|
|
99
|
+
properties:
|
|
100
|
+
title: Large
|
|
101
|
+
size: large
|
|
102
|
+
options:
|
|
103
|
+
- S
|
|
104
|
+
- M
|
|
105
|
+
- L
|
|
106
|
+
- XL
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
```yaml
|
|
110
|
+
- id: size_small_lv
|
|
111
|
+
type: SegmentedSelector
|
|
112
|
+
properties:
|
|
113
|
+
title: Small Priority
|
|
114
|
+
size: small
|
|
115
|
+
options:
|
|
116
|
+
- label: Low
|
|
117
|
+
value: low
|
|
118
|
+
- label: Medium
|
|
119
|
+
value: medium
|
|
120
|
+
- label: High
|
|
121
|
+
value: high
|
|
122
|
+
- label: Critical
|
|
123
|
+
value: critical
|
|
124
|
+
- id: size_default_lv
|
|
125
|
+
type: SegmentedSelector
|
|
126
|
+
properties:
|
|
127
|
+
title: Default Priority
|
|
128
|
+
options:
|
|
129
|
+
- label: Low
|
|
130
|
+
value: low
|
|
131
|
+
- label: Medium
|
|
132
|
+
value: medium
|
|
133
|
+
- label: High
|
|
134
|
+
value: high
|
|
135
|
+
- label: Critical
|
|
136
|
+
value: critical
|
|
137
|
+
- id: size_large_lv
|
|
138
|
+
type: SegmentedSelector
|
|
139
|
+
properties:
|
|
140
|
+
title: Large Priority
|
|
141
|
+
size: large
|
|
142
|
+
options:
|
|
143
|
+
- label: Low
|
|
144
|
+
value: low
|
|
145
|
+
- label: Medium
|
|
146
|
+
value: medium
|
|
147
|
+
- label: High
|
|
148
|
+
value: high
|
|
149
|
+
- label: Critical
|
|
150
|
+
value: critical
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
```yaml
|
|
154
|
+
- id: shape_default
|
|
155
|
+
type: SegmentedSelector
|
|
156
|
+
properties:
|
|
157
|
+
title: Default Shape
|
|
158
|
+
shape: default
|
|
159
|
+
options:
|
|
160
|
+
- label: List
|
|
161
|
+
value: list
|
|
162
|
+
- label: Grid
|
|
163
|
+
value: grid
|
|
164
|
+
- label: Board
|
|
165
|
+
value: board
|
|
166
|
+
- id: shape_round
|
|
167
|
+
type: SegmentedSelector
|
|
168
|
+
properties:
|
|
169
|
+
title: Round Shape
|
|
170
|
+
shape: round
|
|
171
|
+
options:
|
|
172
|
+
- label: List
|
|
173
|
+
value: list
|
|
174
|
+
- label: Grid
|
|
175
|
+
value: grid
|
|
176
|
+
- label: Board
|
|
177
|
+
value: board
|
|
178
|
+
- id: block_segmented
|
|
179
|
+
type: SegmentedSelector
|
|
180
|
+
properties:
|
|
181
|
+
title: Full Width
|
|
182
|
+
block: true
|
|
183
|
+
options:
|
|
184
|
+
- label: List
|
|
185
|
+
value: list
|
|
186
|
+
- label: Grid
|
|
187
|
+
value: grid
|
|
188
|
+
- label: Board
|
|
189
|
+
value: board
|
|
190
|
+
- id: block_round
|
|
191
|
+
type: SegmentedSelector
|
|
192
|
+
properties:
|
|
193
|
+
title: Full Width Round
|
|
194
|
+
block: true
|
|
195
|
+
shape: round
|
|
196
|
+
options:
|
|
197
|
+
- label: Newest
|
|
198
|
+
value: newest
|
|
199
|
+
- label: Popular
|
|
200
|
+
value: popular
|
|
201
|
+
- label: Trending
|
|
202
|
+
value: trending
|
|
203
|
+
- id: block_round_large
|
|
204
|
+
type: SegmentedSelector
|
|
205
|
+
properties:
|
|
206
|
+
title: Full Width Round Large
|
|
207
|
+
block: true
|
|
208
|
+
shape: round
|
|
209
|
+
size: large
|
|
210
|
+
options:
|
|
211
|
+
- label: All
|
|
212
|
+
value: all
|
|
213
|
+
- label: Images
|
|
214
|
+
value: images
|
|
215
|
+
- label: Videos
|
|
216
|
+
value: videos
|
|
217
|
+
- label: Documents
|
|
218
|
+
value: documents
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
```yaml
|
|
222
|
+
- id: icon_view_mode
|
|
223
|
+
type: SegmentedSelector
|
|
224
|
+
properties:
|
|
225
|
+
title: View Mode
|
|
226
|
+
options:
|
|
227
|
+
- label: List
|
|
228
|
+
value: list
|
|
229
|
+
icon: AiOutlineUnorderedList
|
|
230
|
+
- label: Grid
|
|
231
|
+
value: grid
|
|
232
|
+
icon: AiOutlineAppstore
|
|
233
|
+
- label: Calendar
|
|
234
|
+
value: calendar
|
|
235
|
+
icon: AiOutlineCalendar
|
|
236
|
+
- id: icon_small
|
|
237
|
+
type: SegmentedSelector
|
|
238
|
+
properties:
|
|
239
|
+
title: Small Icons
|
|
240
|
+
size: small
|
|
241
|
+
options:
|
|
242
|
+
- label: Map
|
|
243
|
+
value: map
|
|
244
|
+
icon: AiOutlineEnvironment
|
|
245
|
+
- label: Satellite
|
|
246
|
+
value: satellite
|
|
247
|
+
icon: AiOutlineGlobal
|
|
248
|
+
- label: Terrain
|
|
249
|
+
value: terrain
|
|
250
|
+
icon: AiOutlineBlock
|
|
251
|
+
- id: icon_block
|
|
252
|
+
type: SegmentedSelector
|
|
253
|
+
properties:
|
|
254
|
+
title: Full Width with Icons
|
|
255
|
+
block: true
|
|
256
|
+
options:
|
|
257
|
+
- label: Home
|
|
258
|
+
value: home
|
|
259
|
+
icon: AiOutlineHome
|
|
260
|
+
- label: Search
|
|
261
|
+
value: search
|
|
262
|
+
icon: AiOutlineSearch
|
|
263
|
+
- label: Favorites
|
|
264
|
+
value: favorites
|
|
265
|
+
icon: AiOutlineHeart
|
|
266
|
+
- label: Profile
|
|
267
|
+
value: profile
|
|
268
|
+
icon: AiOutlineUser
|
|
269
|
+
- id: icon_round
|
|
270
|
+
type: SegmentedSelector
|
|
271
|
+
properties:
|
|
272
|
+
title: Round with Icons
|
|
273
|
+
shape: round
|
|
274
|
+
options:
|
|
275
|
+
- label: Code
|
|
276
|
+
value: code
|
|
277
|
+
icon: AiOutlineCode
|
|
278
|
+
- label: Preview
|
|
279
|
+
value: preview
|
|
280
|
+
icon: AiOutlineEye
|
|
281
|
+
- label: Split
|
|
282
|
+
value: split
|
|
283
|
+
icon: AiOutlineColumnWidth
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
```yaml
|
|
287
|
+
- id: vertical_basic
|
|
288
|
+
type: SegmentedSelector
|
|
289
|
+
properties:
|
|
290
|
+
title: Vertical
|
|
291
|
+
vertical: true
|
|
292
|
+
options:
|
|
293
|
+
- label: Overview
|
|
294
|
+
value: overview
|
|
295
|
+
- label: Details
|
|
296
|
+
value: details
|
|
297
|
+
- label: History
|
|
298
|
+
value: history
|
|
299
|
+
- id: vertical_icons
|
|
300
|
+
type: SegmentedSelector
|
|
301
|
+
properties:
|
|
302
|
+
title: Vertical with Icons
|
|
303
|
+
vertical: true
|
|
304
|
+
options:
|
|
305
|
+
- label: Dashboard
|
|
306
|
+
value: dashboard
|
|
307
|
+
icon: AiOutlineDashboard
|
|
308
|
+
- label: Analytics
|
|
309
|
+
value: analytics
|
|
310
|
+
icon: AiOutlineBarChart
|
|
311
|
+
- label: Reports
|
|
312
|
+
value: reports
|
|
313
|
+
icon: AiOutlineFileText
|
|
314
|
+
- label: Settings
|
|
315
|
+
value: settings
|
|
316
|
+
icon: AiOutlineSetting
|
|
317
|
+
- id: vertical_large
|
|
318
|
+
type: SegmentedSelector
|
|
319
|
+
properties:
|
|
320
|
+
title: Large Vertical
|
|
321
|
+
vertical: true
|
|
322
|
+
size: large
|
|
323
|
+
options:
|
|
324
|
+
- Tab 1
|
|
325
|
+
- Tab 2
|
|
326
|
+
- Tab 3
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
```yaml
|
|
330
|
+
- id: disabled_all
|
|
331
|
+
type: SegmentedSelector
|
|
332
|
+
properties:
|
|
333
|
+
title: Fully Disabled
|
|
334
|
+
disabled: true
|
|
335
|
+
options:
|
|
336
|
+
- Option A
|
|
337
|
+
- Option B
|
|
338
|
+
- Option C
|
|
339
|
+
- id: disabled_multiple
|
|
340
|
+
type: SegmentedSelector
|
|
341
|
+
properties:
|
|
342
|
+
title: Multiple Disabled Options
|
|
343
|
+
options:
|
|
344
|
+
- label: Free
|
|
345
|
+
value: free
|
|
346
|
+
- label: Basic
|
|
347
|
+
value: basic
|
|
348
|
+
- label: Pro (Coming Soon)
|
|
349
|
+
value: pro
|
|
350
|
+
disabled: true
|
|
351
|
+
- label: Enterprise (Coming Soon)
|
|
352
|
+
value: enterprise
|
|
353
|
+
disabled: true
|
|
354
|
+
- id: disabled_icons
|
|
355
|
+
type: SegmentedSelector
|
|
356
|
+
properties:
|
|
357
|
+
title: Disabled with Icons
|
|
358
|
+
disabled: true
|
|
359
|
+
options:
|
|
360
|
+
- label: Edit
|
|
361
|
+
value: edit
|
|
362
|
+
icon: AiOutlineEdit
|
|
363
|
+
- label: View
|
|
364
|
+
value: view
|
|
365
|
+
icon: AiOutlineEye
|
|
366
|
+
- label: Delete
|
|
367
|
+
value: delete
|
|
368
|
+
icon: AiOutlineDelete
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
```yaml
|
|
372
|
+
- id: label_default
|
|
373
|
+
type: SegmentedSelector
|
|
374
|
+
properties:
|
|
375
|
+
title: Default Label
|
|
376
|
+
options:
|
|
377
|
+
- Alpha
|
|
378
|
+
- Beta
|
|
379
|
+
- Gamma
|
|
380
|
+
- id: label_extra
|
|
381
|
+
type: SegmentedSelector
|
|
382
|
+
properties:
|
|
383
|
+
title: With Extra Text
|
|
384
|
+
label:
|
|
385
|
+
extra: Select the deployment environment
|
|
386
|
+
options:
|
|
387
|
+
- label: Dev
|
|
388
|
+
value: dev
|
|
389
|
+
- label: Staging
|
|
390
|
+
value: staging
|
|
391
|
+
- label: Prod
|
|
392
|
+
value: prod
|
|
393
|
+
- id: label_inline
|
|
394
|
+
type: SegmentedSelector
|
|
395
|
+
properties:
|
|
396
|
+
title: Inline Label
|
|
397
|
+
label:
|
|
398
|
+
inline: true
|
|
399
|
+
span: 6
|
|
400
|
+
options:
|
|
401
|
+
- label: Light
|
|
402
|
+
value: light
|
|
403
|
+
- label: Dark
|
|
404
|
+
value: dark
|
|
405
|
+
- label: Auto
|
|
406
|
+
value: auto
|
|
407
|
+
- id: label_inline_right
|
|
408
|
+
type: SegmentedSelector
|
|
409
|
+
properties:
|
|
410
|
+
title: Inline Right
|
|
411
|
+
label:
|
|
412
|
+
inline: true
|
|
413
|
+
span: 6
|
|
414
|
+
align: right
|
|
415
|
+
options:
|
|
416
|
+
- label: Light
|
|
417
|
+
value: light
|
|
418
|
+
- label: Dark
|
|
419
|
+
value: dark
|
|
420
|
+
- label: Auto
|
|
421
|
+
value: auto
|
|
422
|
+
- id: no_label_segmented
|
|
423
|
+
type: SegmentedSelector
|
|
424
|
+
properties:
|
|
425
|
+
label:
|
|
426
|
+
disabled: true
|
|
427
|
+
options:
|
|
428
|
+
- label: Day
|
|
429
|
+
value: day
|
|
430
|
+
- label: Week
|
|
431
|
+
value: week
|
|
432
|
+
- label: Month
|
|
433
|
+
value: month
|
|
434
|
+
- label: Year
|
|
435
|
+
value: year
|
|
436
|
+
```
|
|
437
|
+
|
|
438
|
+
```yaml
|
|
439
|
+
- id: style_background
|
|
440
|
+
type: SegmentedSelector
|
|
441
|
+
properties:
|
|
442
|
+
title: Custom Background
|
|
443
|
+
options:
|
|
444
|
+
- label: Tab A
|
|
445
|
+
value: a
|
|
446
|
+
- label: Tab B
|
|
447
|
+
value: b
|
|
448
|
+
- label: Tab C
|
|
449
|
+
value: c
|
|
450
|
+
style:
|
|
451
|
+
.element:
|
|
452
|
+
borderRadius: 12
|
|
453
|
+
- id: style_border
|
|
454
|
+
type: SegmentedSelector
|
|
455
|
+
properties:
|
|
456
|
+
title: Custom Border
|
|
457
|
+
options:
|
|
458
|
+
- label: Left
|
|
459
|
+
value: left
|
|
460
|
+
- label: Center
|
|
461
|
+
value: center
|
|
462
|
+
- label: Right
|
|
463
|
+
value: right
|
|
464
|
+
style:
|
|
465
|
+
.element:
|
|
466
|
+
border: "2px solid #91caff"
|
|
467
|
+
borderRadius: 8
|
|
468
|
+
- id: class_shadow
|
|
469
|
+
type: SegmentedSelector
|
|
470
|
+
class: shadow-md
|
|
471
|
+
properties:
|
|
472
|
+
title: With Shadow
|
|
473
|
+
options:
|
|
474
|
+
- label: Recent
|
|
475
|
+
value: recent
|
|
476
|
+
- label: Popular
|
|
477
|
+
value: popular
|
|
478
|
+
- label: Featured
|
|
479
|
+
value: featured
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
```yaml
|
|
483
|
+
- id: theme_dark_track
|
|
484
|
+
type: SegmentedSelector
|
|
485
|
+
properties:
|
|
486
|
+
title: Dark Track
|
|
487
|
+
options:
|
|
488
|
+
- label: Overview
|
|
489
|
+
value: overview
|
|
490
|
+
- label: Details
|
|
491
|
+
value: details
|
|
492
|
+
- label: Logs
|
|
493
|
+
value: logs
|
|
494
|
+
theme:
|
|
495
|
+
trackBg: "#1f1f1f"
|
|
496
|
+
itemColor: "#ffffffa6"
|
|
497
|
+
itemSelectedBg: "#177ddc"
|
|
498
|
+
itemSelectedColor: "#ffffff"
|
|
499
|
+
itemHoverColor: "#ffffffd9"
|
|
500
|
+
- id: theme_green
|
|
501
|
+
type: SegmentedSelector
|
|
502
|
+
properties:
|
|
503
|
+
title: Green Theme
|
|
504
|
+
options:
|
|
505
|
+
- label: Approved
|
|
506
|
+
value: approved
|
|
507
|
+
- label: Pending
|
|
508
|
+
value: pending
|
|
509
|
+
- label: Rejected
|
|
510
|
+
value: rejected
|
|
511
|
+
theme:
|
|
512
|
+
itemSelectedBg: "#52c41a"
|
|
513
|
+
itemSelectedColor: "#ffffff"
|
|
514
|
+
itemHoverBg: "#b7eb8f80"
|
|
515
|
+
- id: theme_purple
|
|
516
|
+
type: SegmentedSelector
|
|
517
|
+
properties:
|
|
518
|
+
title: Purple Theme
|
|
519
|
+
options:
|
|
520
|
+
- label: Basic
|
|
521
|
+
value: basic
|
|
522
|
+
- label: Premium
|
|
523
|
+
value: premium
|
|
524
|
+
- label: Enterprise
|
|
525
|
+
value: enterprise
|
|
526
|
+
theme:
|
|
527
|
+
itemSelectedBg: "#722ed1"
|
|
528
|
+
itemSelectedColor: "#ffffff"
|
|
529
|
+
- id: theme_round_dark
|
|
530
|
+
type: SegmentedSelector
|
|
531
|
+
properties:
|
|
532
|
+
title: Round Dark Pill
|
|
533
|
+
shape: round
|
|
534
|
+
size: large
|
|
535
|
+
options:
|
|
536
|
+
- label: Light
|
|
537
|
+
value: light
|
|
538
|
+
- label: Dark
|
|
539
|
+
value: dark
|
|
540
|
+
- label: System
|
|
541
|
+
value: system
|
|
542
|
+
theme:
|
|
543
|
+
trackBg: "#262626"
|
|
544
|
+
itemColor: "#ffffffa6"
|
|
545
|
+
itemSelectedBg: "#434343"
|
|
546
|
+
itemSelectedColor: "#ffffff"
|
|
547
|
+
itemHoverColor: "#ffffffd9"
|
|
548
|
+
borderRadius: 40
|
|
549
|
+
borderRadiusLG: 40
|
|
550
|
+
- id: theme_block_gradient
|
|
551
|
+
type: SegmentedSelector
|
|
552
|
+
properties:
|
|
553
|
+
title: Full Width Themed
|
|
554
|
+
block: true
|
|
555
|
+
options:
|
|
556
|
+
- label: Dashboard
|
|
557
|
+
value: dashboard
|
|
558
|
+
- label: Projects
|
|
559
|
+
value: projects
|
|
560
|
+
- label: Tasks
|
|
561
|
+
value: tasks
|
|
562
|
+
- label: Calendar
|
|
563
|
+
value: calendar
|
|
564
|
+
theme:
|
|
565
|
+
itemSelectedBg: "#2f54eb"
|
|
566
|
+
itemSelectedColor: "#ffffff"
|
|
567
|
+
trackPadding: 4
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
```yaml
|
|
571
|
+
- id: applied2_dashboard_card
|
|
572
|
+
type: Card
|
|
573
|
+
properties:
|
|
574
|
+
title: Sales Dashboard
|
|
575
|
+
blocks:
|
|
576
|
+
- id: applied2_dashboard_view_toggle
|
|
577
|
+
type: SegmentedSelector
|
|
578
|
+
properties:
|
|
579
|
+
title: View
|
|
580
|
+
block: true
|
|
581
|
+
size: large
|
|
582
|
+
label:
|
|
583
|
+
disabled: true
|
|
584
|
+
options:
|
|
585
|
+
- label: Overview
|
|
586
|
+
value: overview
|
|
587
|
+
icon: AiOutlineDashboard
|
|
588
|
+
- label: Charts
|
|
589
|
+
value: charts
|
|
590
|
+
icon: AiOutlineBarChart
|
|
591
|
+
- label: Table
|
|
592
|
+
value: table
|
|
593
|
+
icon: AiOutlineTable
|
|
594
|
+
events:
|
|
595
|
+
onChange:
|
|
596
|
+
- id: view_changed_action
|
|
597
|
+
type: SetState
|
|
598
|
+
params:
|
|
599
|
+
applied2_dashboard_view:
|
|
600
|
+
_state: applied2_dashboard_view_toggle
|
|
601
|
+
- id: applied2_dashboard_date_range
|
|
602
|
+
type: DateRangeSelector
|
|
603
|
+
properties:
|
|
604
|
+
title: Date Range
|
|
605
|
+
placeholder:
|
|
606
|
+
- From
|
|
607
|
+
- To
|
|
608
|
+
format: DD MMM YYYY
|
|
609
|
+
label:
|
|
610
|
+
disabled: true
|
|
611
|
+
- id: applied2_dashboard_refresh_btn
|
|
612
|
+
type: Button
|
|
613
|
+
properties:
|
|
614
|
+
title: Refresh Data
|
|
615
|
+
icon: AiOutlineReload
|
|
616
|
+
type: primary
|
|
617
|
+
events:
|
|
618
|
+
onClick:
|
|
619
|
+
- id: refresh_action
|
|
620
|
+
type: DisplayMessage
|
|
621
|
+
params:
|
|
622
|
+
content: Dashboard data refreshed.
|
|
623
|
+
duration: 2
|
|
624
|
+
```
|
|
625
|
+
|
|
626
|
+
```yaml
|
|
627
|
+
- id: applied3_settings_card
|
|
628
|
+
type: Card
|
|
629
|
+
properties:
|
|
630
|
+
title: Application Settings
|
|
631
|
+
blocks:
|
|
632
|
+
- id: applied3_theme_selector
|
|
633
|
+
type: SegmentedSelector
|
|
634
|
+
properties:
|
|
635
|
+
title: Theme
|
|
636
|
+
block: true
|
|
637
|
+
options:
|
|
638
|
+
- label: Light
|
|
639
|
+
value: light
|
|
640
|
+
icon: AiOutlineBulb
|
|
641
|
+
- label: Dark
|
|
642
|
+
value: dark
|
|
643
|
+
icon: AiOutlineEyeInvisible
|
|
644
|
+
- label: System
|
|
645
|
+
value: system
|
|
646
|
+
icon: AiOutlineLaptop
|
|
647
|
+
events:
|
|
648
|
+
onChange:
|
|
649
|
+
- id: theme_changed_action
|
|
650
|
+
type: SetState
|
|
651
|
+
params:
|
|
652
|
+
applied3_theme:
|
|
653
|
+
_state: applied3_theme_selector
|
|
654
|
+
- id: applied3_language_selector
|
|
655
|
+
type: SegmentedSelector
|
|
656
|
+
properties:
|
|
657
|
+
title: Language
|
|
658
|
+
options:
|
|
659
|
+
- label: English
|
|
660
|
+
value: en
|
|
661
|
+
- label: French
|
|
662
|
+
value: fr
|
|
663
|
+
- label: German
|
|
664
|
+
value: de
|
|
665
|
+
events:
|
|
666
|
+
onChange:
|
|
667
|
+
- id: language_changed_action
|
|
668
|
+
type: SetState
|
|
669
|
+
params:
|
|
670
|
+
applied3_language:
|
|
671
|
+
_state: applied3_language_selector
|
|
672
|
+
- id: applied3_notifications_toggle
|
|
673
|
+
type: SegmentedSelector
|
|
674
|
+
properties:
|
|
675
|
+
title: Notifications
|
|
676
|
+
options:
|
|
677
|
+
- label: All
|
|
678
|
+
value: all
|
|
679
|
+
- label: Important
|
|
680
|
+
value: important
|
|
681
|
+
- label: None
|
|
682
|
+
value: none
|
|
683
|
+
events:
|
|
684
|
+
onChange:
|
|
685
|
+
- id: notifications_changed_action
|
|
686
|
+
type: SetState
|
|
687
|
+
params:
|
|
688
|
+
applied3_notifications:
|
|
689
|
+
_state: applied3_notifications_toggle
|
|
690
|
+
- id: applied3_save_btn
|
|
691
|
+
type: Button
|
|
692
|
+
properties:
|
|
693
|
+
title: Save Settings
|
|
694
|
+
icon: AiOutlineSave
|
|
695
|
+
type: primary
|
|
696
|
+
events:
|
|
697
|
+
onClick:
|
|
698
|
+
- id: save_settings_action
|
|
699
|
+
type: DisplayMessage
|
|
700
|
+
params:
|
|
701
|
+
content: Settings saved successfully.
|
|
702
|
+
duration: 2
|
|
703
|
+
```
|
|
704
|
+
|
|
705
|
+
```yaml
|
|
706
|
+
- id: data_segmented_selector
|
|
707
|
+
type: SegmentedSelector
|
|
708
|
+
properties:
|
|
709
|
+
title: Range
|
|
710
|
+
data:
|
|
711
|
+
- id: 1
|
|
712
|
+
name: Day
|
|
713
|
+
- id: 2
|
|
714
|
+
name: Week
|
|
715
|
+
- id: 3
|
|
716
|
+
name: Month
|
|
717
|
+
html: "{{ item.name }}"
|
|
718
|
+
valueKey: id
|
|
719
|
+
```
|
|
720
|
+
|
|
721
|
+
| Property | Type | Default | Description |
|
|
722
|
+
| --- | --- | --- | --- |
|
|
723
|
+
| `block` | boolean | `false` | Option to fit width to its parent's width. |
|
|
724
|
+
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
725
|
+
| `data` | array | - | Alternative to `options`: an array of raw rows. Each row is rendered to a label with the `html` template, and `valueKey` selects which field becomes the value. Use this to drive a selector directly from data without building label/value pairs in your request. |
|
|
726
|
+
| `html` | string | - | Nunjucks template that renders each option label when using `data`. The context exposes `item` (the current row) and `index` (the zero-based row index). Ignored when `options` is used. |
|
|
727
|
+
| `valueKey` | string | - | Field used as the selected value. With `options` it names the value field (defaults to "value"). With `data` it names the field stored when an option is selected; omit it to store the whole row. Supports dotted paths (e.g. "user.id"). |
|
|
728
|
+
| `primaryKey` | string | - | Field used to match the current value (e.g. set with SetState) back to an option for highlighting. Defaults to `valueKey`. Set this when the stored value is the whole row but a single field (e.g. "id") uniquely identifies it. In the tree selectors it also serves as each node’s id, referenced by `parentKey`. Supports dotted paths. |
|
|
729
|
+
| `options` | array | `[]` | Options can either be an array of primitive values, or an array of label, value pairs - supports html. |
|
|
730
|
+
| `options.$.label` | string | - | Value label shown to user - supports html. |
|
|
731
|
+
| `options.$.value` | string \| number \| boolean \| object \| array | - | Value selected. Can be of any type. |
|
|
732
|
+
| `options.$.disabled` | boolean | `false` | Disable the option if true. |
|
|
733
|
+
| `options.$.icon` | string | - | Name of a React-Icon (See [all icons](https://react-icons.github.io/react-icons/)) to display in the segment option. |
|
|
734
|
+
| `shape` | string | `"default"` | Shape of the segmented control. Enum: `default`, `round`. |
|
|
735
|
+
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
736
|
+
| `vertical` | boolean | `false` | Display the segmented control vertically. |
|
|
737
|
+
| `label` | object | - | Label properties. |
|
|
738
|
+
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
739
|
+
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
740
|
+
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
741
|
+
| `label.title` | string | - | Label title - supports html. |
|
|
742
|
+
| `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. |
|
|
743
|
+
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
744
|
+
| `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
745
|
+
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
746
|
+
| `label.span` | number | - | Label inline span. |
|
|
747
|
+
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
748
|
+
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
749
|
+
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
750
|
+
| `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
|
|
751
|
+
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design segmented tokens](https://ant.design/components/segmented#design-token). |
|
|
752
|
+
| `theme.trackBg` | string | - | Background color of the segmented track container. |
|
|
753
|
+
| `theme.trackPadding` | number | - | Padding around the segmented track. |
|
|
754
|
+
| `theme.itemColor` | string | - | Default text color for segmented items. |
|
|
755
|
+
| `theme.itemHoverColor` | string | - | Text color when hovering over a segmented item. |
|
|
756
|
+
| `theme.itemHoverBg` | string | - | Background color when hovering over a segmented item. |
|
|
757
|
+
| `theme.itemActiveBg` | string | - | Background color when a segmented item is being pressed. |
|
|
758
|
+
| `theme.itemSelectedBg` | string | - | Background color of the selected segmented item. |
|
|
759
|
+
| `theme.itemSelectedColor` | string | - | Text color of the selected segmented item. |
|
|
760
|
+
| `theme.borderRadius` | number | `6` | Border radius of the segmented control. |
|
|
761
|
+
| `theme.borderRadiusLG` | number | `8` | Border radius for large segmented control. |
|
|
762
|
+
| `theme.borderRadiusSM` | number | `4` | Border radius for small segmented control. |
|
|
763
|
+
| `theme.controlHeight` | number | `32` | Height of the segmented control. |
|
|
764
|
+
| `theme.controlHeightLG` | number | `40` | Height for large segmented control. |
|
|
765
|
+
| `theme.controlHeightSM` | number | `24` | Height for small segmented control. |
|
|
766
|
+
| `theme.fontSize` | number | `14` | Font size of segmented item text. |
|
|
767
|
+
|
|
768
|
+
| Event | Event Data | Description |
|
|
769
|
+
| --- | --- | --- |
|
|
770
|
+
| `onChange` | `{ value }` | Trigger actions when selection is changed. |
|
|
771
|
+
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
772
|
+
|
|
773
|
+
| Key | Target |
|
|
774
|
+
| --- | --- |
|
|
775
|
+
| `/block` | Outer block wrapper (always available). |
|
|
776
|
+
| `/element` | The SegmentedSelector element. |
|
|
777
|
+
| `/icon` | The icon in the SegmentedSelector. |
|
|
778
|
+
| `/label` | The SegmentedSelector label. |
|
|
779
|
+
| `/extra` | The SegmentedSelector extra content. |
|
|
780
|
+
| `/feedback` | The SegmentedSelector validation feedback. |
|
|
781
|
+
|
|
782
|
+
No slots defined.
|