@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,480 @@
|
|
|
1
|
+
# PasswordInput
|
|
2
|
+
|
|
3
|
+
Password input with visibility toggle.
|
|
4
|
+
|
|
5
|
+
```yaml
|
|
6
|
+
- id: size_small
|
|
7
|
+
type: PasswordInput
|
|
8
|
+
properties:
|
|
9
|
+
title: Small
|
|
10
|
+
size: small
|
|
11
|
+
placeholder: Enter password
|
|
12
|
+
- id: size_default
|
|
13
|
+
type: PasswordInput
|
|
14
|
+
properties:
|
|
15
|
+
title: Default
|
|
16
|
+
placeholder: Enter password
|
|
17
|
+
- id: size_large
|
|
18
|
+
type: PasswordInput
|
|
19
|
+
properties:
|
|
20
|
+
title: Large
|
|
21
|
+
size: large
|
|
22
|
+
placeholder: Enter password
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
```yaml
|
|
26
|
+
- id: toggle_on
|
|
27
|
+
type: PasswordInput
|
|
28
|
+
properties:
|
|
29
|
+
title: With Visibility Toggle (default)
|
|
30
|
+
visibilityToggle: true
|
|
31
|
+
placeholder: Click the eye icon to reveal
|
|
32
|
+
- id: toggle_off
|
|
33
|
+
type: PasswordInput
|
|
34
|
+
properties:
|
|
35
|
+
title: Without Visibility Toggle
|
|
36
|
+
visibilityToggle: false
|
|
37
|
+
placeholder: Password cannot be revealed
|
|
38
|
+
- id: toggle_disabled
|
|
39
|
+
type: PasswordInput
|
|
40
|
+
properties:
|
|
41
|
+
title: Disabled With Toggle
|
|
42
|
+
disabled: true
|
|
43
|
+
visibilityToggle: true
|
|
44
|
+
placeholder: Toggle also disabled
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
```yaml
|
|
48
|
+
- id: placeholder_default
|
|
49
|
+
type: PasswordInput
|
|
50
|
+
properties:
|
|
51
|
+
title: Default Placeholder
|
|
52
|
+
placeholder: Enter your password
|
|
53
|
+
- id: placeholder_hint
|
|
54
|
+
type: PasswordInput
|
|
55
|
+
properties:
|
|
56
|
+
title: Descriptive Placeholder
|
|
57
|
+
placeholder: Must be at least 8 characters
|
|
58
|
+
- id: placeholder_none
|
|
59
|
+
type: PasswordInput
|
|
60
|
+
properties:
|
|
61
|
+
title: No Placeholder
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
```yaml
|
|
65
|
+
- id: disabled_empty
|
|
66
|
+
type: PasswordInput
|
|
67
|
+
properties:
|
|
68
|
+
title: Disabled (empty)
|
|
69
|
+
disabled: true
|
|
70
|
+
placeholder: Cannot edit
|
|
71
|
+
- id: disabled_no_toggle
|
|
72
|
+
type: PasswordInput
|
|
73
|
+
properties:
|
|
74
|
+
title: Disabled Without Toggle
|
|
75
|
+
disabled: true
|
|
76
|
+
visibilityToggle: false
|
|
77
|
+
placeholder: No toggle, no edit
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
```yaml
|
|
81
|
+
- id: borderless_default
|
|
82
|
+
type: PasswordInput
|
|
83
|
+
properties:
|
|
84
|
+
title: Borderless
|
|
85
|
+
bordered: false
|
|
86
|
+
placeholder: No border style
|
|
87
|
+
- id: borderless_disabled
|
|
88
|
+
type: PasswordInput
|
|
89
|
+
properties:
|
|
90
|
+
title: Disabled + Borderless
|
|
91
|
+
disabled: true
|
|
92
|
+
bordered: false
|
|
93
|
+
placeholder: Disabled and borderless
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
```yaml
|
|
97
|
+
- id: autofocus_on
|
|
98
|
+
type: PasswordInput
|
|
99
|
+
properties:
|
|
100
|
+
title: AutoFocus Enabled
|
|
101
|
+
autoFocus: true
|
|
102
|
+
placeholder: This input is focused on load
|
|
103
|
+
- id: autofocus_off
|
|
104
|
+
type: PasswordInput
|
|
105
|
+
properties:
|
|
106
|
+
title: AutoFocus Disabled (default)
|
|
107
|
+
autoFocus: false
|
|
108
|
+
placeholder: Normal focus behavior
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
```yaml
|
|
112
|
+
- id: label_default
|
|
113
|
+
type: PasswordInput
|
|
114
|
+
properties:
|
|
115
|
+
title: Default Label
|
|
116
|
+
placeholder: Default label above
|
|
117
|
+
- id: label_custom_title
|
|
118
|
+
type: PasswordInput
|
|
119
|
+
properties:
|
|
120
|
+
title: <b>Bold</b> Label Title
|
|
121
|
+
placeholder: Label supports html
|
|
122
|
+
- id: label_no_colon
|
|
123
|
+
type: PasswordInput
|
|
124
|
+
properties:
|
|
125
|
+
title: No Colon
|
|
126
|
+
label:
|
|
127
|
+
colon: false
|
|
128
|
+
placeholder: Label without colon
|
|
129
|
+
- id: label_right_align
|
|
130
|
+
type: PasswordInput
|
|
131
|
+
properties:
|
|
132
|
+
title: Right Aligned
|
|
133
|
+
label:
|
|
134
|
+
align: right
|
|
135
|
+
inline: true
|
|
136
|
+
span: 8
|
|
137
|
+
placeholder: Label aligned right
|
|
138
|
+
- id: label_disabled
|
|
139
|
+
type: PasswordInput
|
|
140
|
+
properties:
|
|
141
|
+
title: Hidden Label
|
|
142
|
+
label:
|
|
143
|
+
disabled: true
|
|
144
|
+
placeholder: Label is hidden
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
```yaml
|
|
148
|
+
- id: inline_default
|
|
149
|
+
type: PasswordInput
|
|
150
|
+
properties:
|
|
151
|
+
title: Inline Label
|
|
152
|
+
label:
|
|
153
|
+
inline: true
|
|
154
|
+
span: 6
|
|
155
|
+
placeholder: Inline layout
|
|
156
|
+
- id: inline_right
|
|
157
|
+
type: PasswordInput
|
|
158
|
+
properties:
|
|
159
|
+
title: Inline Right
|
|
160
|
+
label:
|
|
161
|
+
inline: true
|
|
162
|
+
span: 6
|
|
163
|
+
align: right
|
|
164
|
+
placeholder: Label aligned right
|
|
165
|
+
- id: inline_wide
|
|
166
|
+
type: PasswordInput
|
|
167
|
+
properties:
|
|
168
|
+
title: Wide Label Span
|
|
169
|
+
label:
|
|
170
|
+
inline: true
|
|
171
|
+
span: 10
|
|
172
|
+
placeholder: Wider label column
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
```yaml
|
|
176
|
+
- id: label_extra
|
|
177
|
+
type: PasswordInput
|
|
178
|
+
properties:
|
|
179
|
+
title: With Extra Text
|
|
180
|
+
label:
|
|
181
|
+
extra: Use at least 8 characters with a mix of letters, numbers & symbols.
|
|
182
|
+
placeholder: Enter a strong password
|
|
183
|
+
- id: label_extra_html
|
|
184
|
+
type: PasswordInput
|
|
185
|
+
properties:
|
|
186
|
+
title: Extra With HTML
|
|
187
|
+
label:
|
|
188
|
+
extra: '<span style="color: #888;">Tip: avoid using personal
|
|
189
|
+
information.</span>'
|
|
190
|
+
placeholder: Choose wisely
|
|
191
|
+
- id: label_no_feedback
|
|
192
|
+
type: PasswordInput
|
|
193
|
+
properties:
|
|
194
|
+
title: No Validation Feedback
|
|
195
|
+
label:
|
|
196
|
+
hasFeedback: false
|
|
197
|
+
placeholder: Feedback text hidden
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
```yaml
|
|
201
|
+
- id: style_element
|
|
202
|
+
type: PasswordInput
|
|
203
|
+
properties:
|
|
204
|
+
title: Custom Element Style
|
|
205
|
+
placeholder: Custom border and background
|
|
206
|
+
style:
|
|
207
|
+
.element:
|
|
208
|
+
borderColor: "#722ed1"
|
|
209
|
+
- id: style_label
|
|
210
|
+
type: PasswordInput
|
|
211
|
+
properties:
|
|
212
|
+
title: Custom Label Style
|
|
213
|
+
placeholder: Styled label above
|
|
214
|
+
style:
|
|
215
|
+
.label:
|
|
216
|
+
color: "#1677ff"
|
|
217
|
+
fontWeight: bold
|
|
218
|
+
fontSize: 16
|
|
219
|
+
- id: style_extra
|
|
220
|
+
type: PasswordInput
|
|
221
|
+
properties:
|
|
222
|
+
title: Styled Extra
|
|
223
|
+
label:
|
|
224
|
+
extra: This extra text is styled.
|
|
225
|
+
placeholder: Enter password
|
|
226
|
+
style:
|
|
227
|
+
.extra:
|
|
228
|
+
color: "#fa8c16"
|
|
229
|
+
fontStyle: italic
|
|
230
|
+
- id: style_feedback
|
|
231
|
+
type: PasswordInput
|
|
232
|
+
properties:
|
|
233
|
+
title: Styled Feedback
|
|
234
|
+
label:
|
|
235
|
+
hasFeedback: true
|
|
236
|
+
placeholder: Enter password
|
|
237
|
+
style:
|
|
238
|
+
.feedback:
|
|
239
|
+
color: "#52c41a"
|
|
240
|
+
fontWeight: bold
|
|
241
|
+
- id: class_element
|
|
242
|
+
type: PasswordInput
|
|
243
|
+
class: rounded-lg shadow-md
|
|
244
|
+
properties:
|
|
245
|
+
title: With Tailwind Classes
|
|
246
|
+
placeholder: Rounded shadow input
|
|
247
|
+
- id: class_custom
|
|
248
|
+
type: PasswordInput
|
|
249
|
+
class: border-2 border-blue-400
|
|
250
|
+
properties:
|
|
251
|
+
title: Custom Border Class
|
|
252
|
+
placeholder: Blue border class
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
```yaml
|
|
256
|
+
- id: combo_large_no_toggle
|
|
257
|
+
type: PasswordInput
|
|
258
|
+
properties:
|
|
259
|
+
title: Large + No Toggle + Borderless
|
|
260
|
+
size: large
|
|
261
|
+
visibilityToggle: false
|
|
262
|
+
bordered: false
|
|
263
|
+
placeholder: Large borderless no toggle
|
|
264
|
+
- id: combo_small_disabled_toggle
|
|
265
|
+
type: PasswordInput
|
|
266
|
+
properties:
|
|
267
|
+
title: Small + Disabled + Toggle
|
|
268
|
+
size: small
|
|
269
|
+
disabled: true
|
|
270
|
+
visibilityToggle: true
|
|
271
|
+
placeholder: Small disabled with toggle
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
```yaml
|
|
275
|
+
- id: theme_large_radius
|
|
276
|
+
type: PasswordInput
|
|
277
|
+
properties:
|
|
278
|
+
title: Large Border Radius
|
|
279
|
+
placeholder: Rounded corners
|
|
280
|
+
theme:
|
|
281
|
+
borderRadius: 16
|
|
282
|
+
- id: theme_purple
|
|
283
|
+
type: PasswordInput
|
|
284
|
+
properties:
|
|
285
|
+
title: Purple Theme
|
|
286
|
+
placeholder: Purple accented input
|
|
287
|
+
theme:
|
|
288
|
+
activeBorderColor: "#722ed1"
|
|
289
|
+
hoverBorderColor: "#9254de"
|
|
290
|
+
activeShadow: 0 0 0 2px rgba(114, 46, 209, 0.2)
|
|
291
|
+
- id: theme_large_pill
|
|
292
|
+
type: PasswordInput
|
|
293
|
+
properties:
|
|
294
|
+
title: Pill Input
|
|
295
|
+
size: large
|
|
296
|
+
placeholder: Pill shaped password input
|
|
297
|
+
theme:
|
|
298
|
+
borderRadius: 32
|
|
299
|
+
borderRadiusLG: 32
|
|
300
|
+
paddingInlineLG: 20
|
|
301
|
+
- id: theme_font_padding
|
|
302
|
+
type: PasswordInput
|
|
303
|
+
properties:
|
|
304
|
+
title: Large Font & Extra Padding
|
|
305
|
+
placeholder: More spacious input
|
|
306
|
+
theme:
|
|
307
|
+
fontSize: 18
|
|
308
|
+
paddingBlock: 8
|
|
309
|
+
paddingInline: 16
|
|
310
|
+
- id: theme_inline_pink
|
|
311
|
+
type: PasswordInput
|
|
312
|
+
properties:
|
|
313
|
+
title: Themed Inline
|
|
314
|
+
label:
|
|
315
|
+
inline: true
|
|
316
|
+
span: 6
|
|
317
|
+
placeholder: Themed inline input
|
|
318
|
+
theme:
|
|
319
|
+
activeBorderColor: "#eb2f96"
|
|
320
|
+
activeShadow: 0 0 0 2px rgba(235, 47, 150, 0.2)
|
|
321
|
+
borderRadius: 12
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
```yaml
|
|
325
|
+
- id: login_card
|
|
326
|
+
type: Card
|
|
327
|
+
properties:
|
|
328
|
+
title: Login
|
|
329
|
+
blocks:
|
|
330
|
+
- id: login_username
|
|
331
|
+
type: TextInput
|
|
332
|
+
required: true
|
|
333
|
+
properties:
|
|
334
|
+
title: Username
|
|
335
|
+
placeholder: Enter your username
|
|
336
|
+
prefixIcon: AiOutlineUser
|
|
337
|
+
- id: login_password
|
|
338
|
+
type: PasswordInput
|
|
339
|
+
required: true
|
|
340
|
+
properties:
|
|
341
|
+
title: Password
|
|
342
|
+
placeholder: Enter your password
|
|
343
|
+
visibilityToggle: true
|
|
344
|
+
label:
|
|
345
|
+
extra: Must be at least 8 characters.
|
|
346
|
+
- id: login_submit_btn
|
|
347
|
+
type: Button
|
|
348
|
+
properties:
|
|
349
|
+
title: Sign In
|
|
350
|
+
icon: AiOutlineLogin
|
|
351
|
+
type: primary
|
|
352
|
+
size: large
|
|
353
|
+
block: true
|
|
354
|
+
events:
|
|
355
|
+
onClick:
|
|
356
|
+
- id: login_validate
|
|
357
|
+
type: Validate
|
|
358
|
+
params:
|
|
359
|
+
- login_username
|
|
360
|
+
- login_password
|
|
361
|
+
- id: login_success_message
|
|
362
|
+
type: DisplayMessage
|
|
363
|
+
params:
|
|
364
|
+
content: Login successful!
|
|
365
|
+
duration: 3
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
```yaml
|
|
369
|
+
- id: applied2_security_card
|
|
370
|
+
type: Card
|
|
371
|
+
properties:
|
|
372
|
+
title: Change Password
|
|
373
|
+
blocks:
|
|
374
|
+
- id: applied2_current_password
|
|
375
|
+
type: PasswordInput
|
|
376
|
+
properties:
|
|
377
|
+
title: Current Password
|
|
378
|
+
placeholder: Enter your current password
|
|
379
|
+
visibilityToggle: true
|
|
380
|
+
- id: applied2_new_password
|
|
381
|
+
type: PasswordInput
|
|
382
|
+
properties:
|
|
383
|
+
title: New Password
|
|
384
|
+
placeholder: Enter a new password
|
|
385
|
+
visibilityToggle: true
|
|
386
|
+
label:
|
|
387
|
+
extra: Use at least 8 characters with a mix of letters, numbers, and symbols.
|
|
388
|
+
- id: applied2_confirm_password
|
|
389
|
+
type: PasswordInput
|
|
390
|
+
properties:
|
|
391
|
+
title: Confirm New Password
|
|
392
|
+
placeholder: Re-enter your new password
|
|
393
|
+
visibilityToggle: true
|
|
394
|
+
label:
|
|
395
|
+
extra: Must match the new password above.
|
|
396
|
+
- id: applied2_save_password_btn
|
|
397
|
+
type: Button
|
|
398
|
+
properties:
|
|
399
|
+
title: Update Password
|
|
400
|
+
icon: AiOutlineLock
|
|
401
|
+
type: primary
|
|
402
|
+
size: large
|
|
403
|
+
block: true
|
|
404
|
+
events:
|
|
405
|
+
onClick:
|
|
406
|
+
- id: save_password_action
|
|
407
|
+
type: DisplayMessage
|
|
408
|
+
params:
|
|
409
|
+
content: Your password has been updated successfully.
|
|
410
|
+
duration: 3
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
| Property | Type | Default | Description |
|
|
414
|
+
| --- | --- | --- | --- |
|
|
415
|
+
| `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
|
|
416
|
+
| `bordered` | boolean | `true` | Whether or not the input has a border style. Deprecated, use variant instead. |
|
|
417
|
+
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
418
|
+
| `placeholder` | string | - | Placeholder text inside the block before user types input. |
|
|
419
|
+
| `label` | object | - | Label properties. |
|
|
420
|
+
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
421
|
+
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
422
|
+
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
423
|
+
| `label.title` | string | - | Label title - supports html. |
|
|
424
|
+
| `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. |
|
|
425
|
+
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
426
|
+
| `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
427
|
+
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
428
|
+
| `label.span` | number | - | Label inline span. |
|
|
429
|
+
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
430
|
+
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
431
|
+
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
432
|
+
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
433
|
+
| `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
|
|
434
|
+
| `variant` | string | - | Input visual variant. When set, takes precedence over bordered. Enum: `outlined`, `filled`, `borderless`. |
|
|
435
|
+
| `visibilityToggle` | boolean | `true` | Show password visibility toggle button. |
|
|
436
|
+
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design input tokens](https://ant.design/components/input#design-token). |
|
|
437
|
+
| `theme.activeBorderColor` | string | `"#1677ff"` | Border color when the input is active (focused). |
|
|
438
|
+
| `theme.activeShadow` | string | `"0 0 0 2px rgba(5, 145, 255, 0.1)"` | Shadow effect when the input is active (focused). |
|
|
439
|
+
| `theme.addonBg` | string | `"rgba(0, 0, 0, 0.02)"` | Background color for input addon elements. |
|
|
440
|
+
| `theme.borderRadius` | number | `6` | Border radius of the input. |
|
|
441
|
+
| `theme.borderRadiusLG` | number | `8` | Border radius for large inputs. |
|
|
442
|
+
| `theme.borderRadiusSM` | number | `4` | Border radius for small inputs. |
|
|
443
|
+
| `theme.colorBgContainer` | string | `"#ffffff"` | Background color of the input. |
|
|
444
|
+
| `theme.colorBorder` | string | - | Border color of the input. |
|
|
445
|
+
| `theme.colorText` | string | - | Text color inside the input. |
|
|
446
|
+
| `theme.colorTextPlaceholder` | string | - | Placeholder text color. |
|
|
447
|
+
| `theme.colorTextDisabled` | string | - | Text color when the input is disabled. |
|
|
448
|
+
| `theme.colorBgContainerDisabled` | string | - | Background color when the input is disabled. |
|
|
449
|
+
| `theme.errorActiveShadow` | string | `"0 0 0 2px rgba(255, 38, 5, 0.06)"` | Shadow effect for error state when the input is active. |
|
|
450
|
+
| `theme.fontSize` | number | `14` | Font size of the input text. |
|
|
451
|
+
| `theme.fontSizeLG` | number | `16` | Font size for large inputs. |
|
|
452
|
+
| `theme.fontSizeSM` | number | `14` | Font size for small inputs. |
|
|
453
|
+
| `theme.hoverBorderColor` | string | `"#4096ff"` | Border color when hovering over the input. |
|
|
454
|
+
| `theme.hoverBg` | string | `"#ffffff"` | Background color when hovering over the input. |
|
|
455
|
+
| `theme.activeBg` | string | `"#ffffff"` | Background color when the input is active (focused). |
|
|
456
|
+
| `theme.paddingBlock` | number | `4` | Vertical padding of the input. |
|
|
457
|
+
| `theme.paddingBlockLG` | number | `7` | Vertical padding for large inputs. |
|
|
458
|
+
| `theme.paddingBlockSM` | number | `0` | Vertical padding for small inputs. |
|
|
459
|
+
| `theme.paddingInline` | number | `11` | Horizontal padding of the input. |
|
|
460
|
+
| `theme.paddingInlineLG` | number | `11` | Horizontal padding for large inputs. |
|
|
461
|
+
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for small inputs. |
|
|
462
|
+
| `theme.warningActiveShadow` | string | `"0 0 0 2px rgba(255, 215, 5, 0.1)"` | Shadow effect for warning state when the input is active. |
|
|
463
|
+
|
|
464
|
+
| Event | Event Data | Description |
|
|
465
|
+
| --- | --- | --- |
|
|
466
|
+
| `onBlur` | \- | Trigger action event occurs when text input loses focus. |
|
|
467
|
+
| `onChange` | `{ value }` | Trigger action when text input is changed. |
|
|
468
|
+
| `onFocus` | \- | Trigger action when text input gets focus. |
|
|
469
|
+
| `onPressEnter` | \- | Trigger action when enter is pressed while text input is focused. |
|
|
470
|
+
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
471
|
+
|
|
472
|
+
| Key | Target |
|
|
473
|
+
| --- | --- |
|
|
474
|
+
| `/block` | Outer block wrapper (always available). |
|
|
475
|
+
| `/element` | The PasswordInput element. |
|
|
476
|
+
| `/label` | The PasswordInput label. |
|
|
477
|
+
| `/extra` | The PasswordInput extra content. |
|
|
478
|
+
| `/feedback` | The PasswordInput validation feedback. |
|
|
479
|
+
|
|
480
|
+
No slots defined.
|