@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,643 @@
|
|
|
1
|
+
# Paragraph
|
|
2
|
+
|
|
3
|
+
Text paragraph with copyable, ellipsis, and text style options.
|
|
4
|
+
|
|
5
|
+
Lowdefy is a config-driven web framework. Build internal tools, client portals, and web apps with YAML or JSON.
|
|
6
|
+
|
|
7
|
+
This paragraph supports <b>bold</b>, <i>italic</i>, and <a href="https://lowdefy.com">links</a> via HTML.
|
|
8
|
+
|
|
9
|
+
A longer paragraph showing how body text renders at its default size. Lowdefy makes it easy to build internal tools, client portals, and web applications using YAML or JSON configuration files. No need to learn complex frontend frameworks or manage build tooling.
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
- id: basic_plain
|
|
13
|
+
type: Paragraph
|
|
14
|
+
properties:
|
|
15
|
+
content: Lowdefy is a config-driven web framework. Build internal tools, client
|
|
16
|
+
portals, and web apps with YAML or JSON.
|
|
17
|
+
- id: basic_html
|
|
18
|
+
type: Paragraph
|
|
19
|
+
properties:
|
|
20
|
+
content: This paragraph supports <b>bold</b>, <i>italic</i>, and <a
|
|
21
|
+
href="https://lowdefy.com">links</a> via HTML.
|
|
22
|
+
- id: basic_long
|
|
23
|
+
type: Paragraph
|
|
24
|
+
properties:
|
|
25
|
+
content: A longer paragraph showing how body text renders at its default size.
|
|
26
|
+
Lowdefy makes it easy to build internal tools, client portals, and web
|
|
27
|
+
applications using YAML or JSON configuration files. No need to learn
|
|
28
|
+
complex frontend frameworks or manage build tooling.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Default paragraph text with the standard color.
|
|
32
|
+
|
|
33
|
+
Secondary paragraph text with a muted appearance.
|
|
34
|
+
|
|
35
|
+
Success paragraph indicating a positive outcome.
|
|
36
|
+
|
|
37
|
+
Warning paragraph to alert the user about something.
|
|
38
|
+
|
|
39
|
+
Danger paragraph highlighting a critical issue.
|
|
40
|
+
|
|
41
|
+
```yaml
|
|
42
|
+
- id: type_default
|
|
43
|
+
type: Paragraph
|
|
44
|
+
properties:
|
|
45
|
+
content: Default paragraph text with the standard color.
|
|
46
|
+
- id: type_secondary
|
|
47
|
+
type: Paragraph
|
|
48
|
+
properties:
|
|
49
|
+
content: Secondary paragraph text with a muted appearance.
|
|
50
|
+
type: secondary
|
|
51
|
+
- id: type_success
|
|
52
|
+
type: Paragraph
|
|
53
|
+
properties:
|
|
54
|
+
content: Success paragraph indicating a positive outcome.
|
|
55
|
+
type: success
|
|
56
|
+
- id: type_warning
|
|
57
|
+
type: Paragraph
|
|
58
|
+
properties:
|
|
59
|
+
content: Warning paragraph to alert the user about something.
|
|
60
|
+
type: warning
|
|
61
|
+
- id: type_danger
|
|
62
|
+
type: Paragraph
|
|
63
|
+
properties:
|
|
64
|
+
content: Danger paragraph highlighting a critical issue.
|
|
65
|
+
type: danger
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Strong (bold) paragraph text for emphasis.
|
|
69
|
+
|
|
70
|
+
Italic paragraph text often used for citations or side notes.
|
|
71
|
+
|
|
72
|
+
Underlined paragraph text to draw attention.
|
|
73
|
+
|
|
74
|
+
Deleted (strikethrough) text indicating removed content.
|
|
75
|
+
|
|
76
|
+
Marked (highlighted) text to call out key information.
|
|
77
|
+
|
|
78
|
+
```yaml
|
|
79
|
+
- id: deco_strong
|
|
80
|
+
type: Paragraph
|
|
81
|
+
properties:
|
|
82
|
+
content: Strong (bold) paragraph text for emphasis.
|
|
83
|
+
strong: true
|
|
84
|
+
- id: deco_italic
|
|
85
|
+
type: Paragraph
|
|
86
|
+
properties:
|
|
87
|
+
content: Italic paragraph text often used for citations or side notes.
|
|
88
|
+
italic: true
|
|
89
|
+
- id: deco_underline
|
|
90
|
+
type: Paragraph
|
|
91
|
+
properties:
|
|
92
|
+
content: Underlined paragraph text to draw attention.
|
|
93
|
+
underline: true
|
|
94
|
+
- id: deco_delete
|
|
95
|
+
type: Paragraph
|
|
96
|
+
properties:
|
|
97
|
+
content: Deleted (strikethrough) text indicating removed content.
|
|
98
|
+
delete: true
|
|
99
|
+
- id: deco_mark
|
|
100
|
+
type: Paragraph
|
|
101
|
+
properties:
|
|
102
|
+
content: Marked (highlighted) text to call out key information.
|
|
103
|
+
mark: true
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Bold and italic text for maximum emphasis.
|
|
107
|
+
|
|
108
|
+
Underlined and highlighted to draw strong attention.
|
|
109
|
+
|
|
110
|
+
This feature is deprecated and will be removed in a future version.
|
|
111
|
+
|
|
112
|
+
Critical security vulnerability detected.
|
|
113
|
+
|
|
114
|
+
```yaml
|
|
115
|
+
- id: combined_strong_italic
|
|
116
|
+
type: Paragraph
|
|
117
|
+
properties:
|
|
118
|
+
content: Bold and italic text for maximum emphasis.
|
|
119
|
+
strong: true
|
|
120
|
+
italic: true
|
|
121
|
+
- id: combined_underline_mark
|
|
122
|
+
type: Paragraph
|
|
123
|
+
properties:
|
|
124
|
+
content: Underlined and highlighted to draw strong attention.
|
|
125
|
+
underline: true
|
|
126
|
+
mark: true
|
|
127
|
+
- id: combined_warning_italic
|
|
128
|
+
type: Paragraph
|
|
129
|
+
properties:
|
|
130
|
+
content: This feature is deprecated and will be removed in a future version.
|
|
131
|
+
type: warning
|
|
132
|
+
italic: true
|
|
133
|
+
underline: true
|
|
134
|
+
- id: combined_danger_strong
|
|
135
|
+
type: Paragraph
|
|
136
|
+
properties:
|
|
137
|
+
content: Critical security vulnerability detected.
|
|
138
|
+
type: danger
|
|
139
|
+
strong: true
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Disabled paragraph text appears faded.
|
|
143
|
+
|
|
144
|
+
This section is currently unavailable. The content will be accessible once the feature has been enabled by your administrator.
|
|
145
|
+
|
|
146
|
+
Disabled bold text still shows the faded style.
|
|
147
|
+
|
|
148
|
+
```yaml
|
|
149
|
+
- id: disabled_default
|
|
150
|
+
type: Paragraph
|
|
151
|
+
properties:
|
|
152
|
+
content: Disabled paragraph text appears faded.
|
|
153
|
+
disabled: true
|
|
154
|
+
- id: disabled_long
|
|
155
|
+
type: Paragraph
|
|
156
|
+
properties:
|
|
157
|
+
content: This section is currently unavailable. The content will be accessible
|
|
158
|
+
once the feature has been enabled by your administrator.
|
|
159
|
+
disabled: true
|
|
160
|
+
- id: disabled_strong
|
|
161
|
+
type: Paragraph
|
|
162
|
+
properties:
|
|
163
|
+
content: Disabled bold text still shows the faded style.
|
|
164
|
+
disabled: true
|
|
165
|
+
strong: true
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
const app = lowdefy.init({ config })
|
|
169
|
+
|
|
170
|
+
npx lowdefy@latest dev
|
|
171
|
+
|
|
172
|
+
{ "type": "TextInput", "properties": { "label": "Name" } }
|
|
173
|
+
|
|
174
|
+
```yaml
|
|
175
|
+
- id: code_inline
|
|
176
|
+
type: Paragraph
|
|
177
|
+
properties:
|
|
178
|
+
content: const app = lowdefy.init({ config })
|
|
179
|
+
code: true
|
|
180
|
+
- id: code_command
|
|
181
|
+
type: Paragraph
|
|
182
|
+
properties:
|
|
183
|
+
content: npx lowdefy@latest dev
|
|
184
|
+
code: true
|
|
185
|
+
- id: code_json
|
|
186
|
+
type: Paragraph
|
|
187
|
+
properties:
|
|
188
|
+
content: '{ "type": "TextInput", "properties": { "label": "Name" } }'
|
|
189
|
+
code: true
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
Click the copy icon to copy this text.
|
|
193
|
+
|
|
194
|
+
Copy this paragraph (custom text is copied instead)
|
|
195
|
+
|
|
196
|
+
Hover the copy icon to see custom tooltips
|
|
197
|
+
|
|
198
|
+
Two-state copy icons that change after clicking
|
|
199
|
+
|
|
200
|
+
npm install lowdefy
|
|
201
|
+
|
|
202
|
+
```yaml
|
|
203
|
+
- id: copyable_simple
|
|
204
|
+
type: Paragraph
|
|
205
|
+
properties:
|
|
206
|
+
content: Click the copy icon to copy this text.
|
|
207
|
+
copyable: true
|
|
208
|
+
- id: copyable_custom_text
|
|
209
|
+
type: Paragraph
|
|
210
|
+
properties:
|
|
211
|
+
content: Copy this paragraph (custom text is copied instead)
|
|
212
|
+
copyable:
|
|
213
|
+
text: This is the custom text that gets copied to clipboard instead of the
|
|
214
|
+
visible content.
|
|
215
|
+
- id: copyable_tooltips
|
|
216
|
+
type: Paragraph
|
|
217
|
+
properties:
|
|
218
|
+
content: Hover the copy icon to see custom tooltips
|
|
219
|
+
copyable:
|
|
220
|
+
tooltips:
|
|
221
|
+
- Click to copy text
|
|
222
|
+
- Text copied!
|
|
223
|
+
- id: copyable_icons
|
|
224
|
+
type: Paragraph
|
|
225
|
+
properties:
|
|
226
|
+
content: Two-state copy icons that change after clicking
|
|
227
|
+
copyable:
|
|
228
|
+
icon:
|
|
229
|
+
- AiOutlineCopy
|
|
230
|
+
- AiOutlineCheck
|
|
231
|
+
- id: copyable_code
|
|
232
|
+
type: Paragraph
|
|
233
|
+
properties:
|
|
234
|
+
content: npm install lowdefy
|
|
235
|
+
code: true
|
|
236
|
+
copyable: true
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
Copy this text and a message will appear.
|
|
240
|
+
|
|
241
|
+
API Key shown here (actual key copied)
|
|
242
|
+
|
|
243
|
+
Copy this and state will track it.
|
|
244
|
+
|
|
245
|
+
```yaml
|
|
246
|
+
- id: copyable_event
|
|
247
|
+
type: Paragraph
|
|
248
|
+
properties:
|
|
249
|
+
content: Copy this text and a message will appear.
|
|
250
|
+
copyable: true
|
|
251
|
+
events:
|
|
252
|
+
onCopy:
|
|
253
|
+
- id: copyable_event_msg
|
|
254
|
+
type: DisplayMessage
|
|
255
|
+
params:
|
|
256
|
+
content: Text copied to clipboard!
|
|
257
|
+
status: success
|
|
258
|
+
- id: copyable_event_custom
|
|
259
|
+
type: Paragraph
|
|
260
|
+
properties:
|
|
261
|
+
content: API Key shown here (actual key copied)
|
|
262
|
+
copyable:
|
|
263
|
+
text: sk-abc123def456
|
|
264
|
+
tooltips:
|
|
265
|
+
- Copy API key
|
|
266
|
+
- API key copied!
|
|
267
|
+
events:
|
|
268
|
+
onCopy:
|
|
269
|
+
- id: copyable_event_custom_msg
|
|
270
|
+
type: DisplayMessage
|
|
271
|
+
params:
|
|
272
|
+
content: API key copied to clipboard.
|
|
273
|
+
status: info
|
|
274
|
+
- id: copyable_event_set_state
|
|
275
|
+
type: Paragraph
|
|
276
|
+
properties:
|
|
277
|
+
content: Copy this and state will track it.
|
|
278
|
+
copyable: true
|
|
279
|
+
events:
|
|
280
|
+
onCopy:
|
|
281
|
+
- id: copyable_event_set
|
|
282
|
+
type: SetState
|
|
283
|
+
params:
|
|
284
|
+
lastCopied: Copied text tracked via onCopy event.
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
This is a very long paragraph that will be truncated when it exceeds the width of its container. The overflow text is replaced with an ellipsis to indicate there is more content available beyond what is currently visible.
|
|
288
|
+
|
|
289
|
+
This paragraph demonstrates multi-line ellipsis with two rows. It contains enough text to span several lines, and after reaching the specified row limit, the remaining content will be hidden behind an ellipsis. Users can click the expand button to reveal the full text. This is useful for previews of long-form content.
|
|
290
|
+
|
|
291
|
+
Three-line ellipsis with a custom suffix. Lowdefy makes it easy to build internal tools, client portals, and web applications using YAML or JSON configuration files. No need to learn complex frontend frameworks, manage build tooling, or write boilerplate code. Just define your UI in config and Lowdefy takes care of the rest.
|
|
292
|
+
|
|
293
|
+
```yaml
|
|
294
|
+
- id: ellipsis_single
|
|
295
|
+
type: Paragraph
|
|
296
|
+
properties:
|
|
297
|
+
content: This is a very long paragraph that will be truncated when it exceeds
|
|
298
|
+
the width of its container. The overflow text is replaced with an ellipsis
|
|
299
|
+
to indicate there is more content available beyond what is currently
|
|
300
|
+
visible.
|
|
301
|
+
ellipsis: true
|
|
302
|
+
- id: ellipsis_rows_2
|
|
303
|
+
type: Paragraph
|
|
304
|
+
properties:
|
|
305
|
+
content: This paragraph demonstrates multi-line ellipsis with two rows. It
|
|
306
|
+
contains enough text to span several lines, and after reaching the
|
|
307
|
+
specified row limit, the remaining content will be hidden behind an
|
|
308
|
+
ellipsis. Users can click the expand button to reveal the full text. This
|
|
309
|
+
is useful for previews of long-form content.
|
|
310
|
+
ellipsis:
|
|
311
|
+
rows: 2
|
|
312
|
+
expandable: true
|
|
313
|
+
- id: ellipsis_rows_3_suffix
|
|
314
|
+
type: Paragraph
|
|
315
|
+
properties:
|
|
316
|
+
content: Three-line ellipsis with a custom suffix. Lowdefy makes it easy to
|
|
317
|
+
build internal tools, client portals, and web applications using YAML or
|
|
318
|
+
JSON configuration files. No need to learn complex frontend frameworks,
|
|
319
|
+
manage build tooling, or write boilerplate code. Just define your UI in
|
|
320
|
+
config and Lowdefy takes care of the rest.
|
|
321
|
+
ellipsis:
|
|
322
|
+
rows: 3
|
|
323
|
+
expandable: true
|
|
324
|
+
suffix: " /Read More"
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
Click expand to trigger an event. Lowdefy makes it easy to build internal tools, client portals, and web applications using YAML or JSON configuration files. No need to learn complex frontend frameworks, manage build tooling, or write boilerplate code.
|
|
328
|
+
|
|
329
|
+
Expanding this paragraph will update state. This is useful for tracking which sections the user has read or interacted with. You can use the ellipsis state to drive conditional logic elsewhere in the app.
|
|
330
|
+
|
|
331
|
+
Expandable paragraph with a suffix and event. Lowdefy apps are defined in YAML with blocks, operators, actions, and connections. The framework handles rendering, state management, and server-side logic so you can focus on building features.
|
|
332
|
+
|
|
333
|
+
```yaml
|
|
334
|
+
- id: ellipsis_event
|
|
335
|
+
type: Paragraph
|
|
336
|
+
properties:
|
|
337
|
+
content: Click expand to trigger an event. Lowdefy makes it easy to build
|
|
338
|
+
internal tools, client portals, and web applications using YAML or JSON
|
|
339
|
+
configuration files. No need to learn complex frontend frameworks, manage
|
|
340
|
+
build tooling, or write boilerplate code.
|
|
341
|
+
ellipsis:
|
|
342
|
+
rows: 2
|
|
343
|
+
expandable: true
|
|
344
|
+
events:
|
|
345
|
+
onExpand:
|
|
346
|
+
- id: ellipsis_event_msg
|
|
347
|
+
type: DisplayMessage
|
|
348
|
+
params:
|
|
349
|
+
content: Content expanded!
|
|
350
|
+
status: info
|
|
351
|
+
- id: ellipsis_event_set_state
|
|
352
|
+
type: Paragraph
|
|
353
|
+
properties:
|
|
354
|
+
content: Expanding this paragraph will update state. This is useful for tracking
|
|
355
|
+
which sections the user has read or interacted with. You can use the
|
|
356
|
+
ellipsis state to drive conditional logic elsewhere in the app.
|
|
357
|
+
ellipsis:
|
|
358
|
+
rows: 2
|
|
359
|
+
expandable: true
|
|
360
|
+
events:
|
|
361
|
+
onExpand:
|
|
362
|
+
- id: ellipsis_event_set
|
|
363
|
+
type: SetState
|
|
364
|
+
params:
|
|
365
|
+
sectionExpanded: true
|
|
366
|
+
- id: ellipsis_event_set_msg
|
|
367
|
+
type: DisplayMessage
|
|
368
|
+
params:
|
|
369
|
+
content: State updated - sectionExpanded is now true.
|
|
370
|
+
status: success
|
|
371
|
+
- id: ellipsis_event_suffix
|
|
372
|
+
type: Paragraph
|
|
373
|
+
properties:
|
|
374
|
+
content: Expandable paragraph with a suffix and event. Lowdefy apps are defined
|
|
375
|
+
in YAML with blocks, operators, actions, and connections. The framework
|
|
376
|
+
handles rendering, state management, and server-side logic so you can
|
|
377
|
+
focus on building features.
|
|
378
|
+
ellipsis:
|
|
379
|
+
rows: 1
|
|
380
|
+
expandable: true
|
|
381
|
+
suffix: " [...]"
|
|
382
|
+
events:
|
|
383
|
+
onExpand:
|
|
384
|
+
- id: ellipsis_event_suffix_msg
|
|
385
|
+
type: DisplayMessage
|
|
386
|
+
params:
|
|
387
|
+
content: Full text revealed.
|
|
388
|
+
status: info
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
Paragraph styled with Tailwind classes for background, padding, and border radius.
|
|
392
|
+
|
|
393
|
+
Paragraph with a left border accent using Tailwind utility classes.
|
|
394
|
+
|
|
395
|
+
PARAGRAPH WITH WIDE LETTER SPACING
|
|
396
|
+
|
|
397
|
+
This paragraph has increased line height for better readability. When you have dense text content, increasing the line height makes it easier for users to follow lines of text across the page.
|
|
398
|
+
|
|
399
|
+
A blockquote-style paragraph using inline styles with a left border and padding.
|
|
400
|
+
|
|
401
|
+
```yaml
|
|
402
|
+
- id: css_tailwind_bg
|
|
403
|
+
type: Paragraph
|
|
404
|
+
class: bg-bg-layout p-3 rounded-lg
|
|
405
|
+
properties:
|
|
406
|
+
content: Paragraph styled with Tailwind classes for background, padding, and
|
|
407
|
+
border radius.
|
|
408
|
+
- id: css_tailwind_border
|
|
409
|
+
type: Paragraph
|
|
410
|
+
class: border-l-4 border-blue-500 pl-3
|
|
411
|
+
properties:
|
|
412
|
+
content: Paragraph with a left border accent using Tailwind utility classes.
|
|
413
|
+
type: secondary
|
|
414
|
+
italic: true
|
|
415
|
+
- id: css_inline_spacing
|
|
416
|
+
type: Paragraph
|
|
417
|
+
properties:
|
|
418
|
+
content: PARAGRAPH WITH WIDE LETTER SPACING
|
|
419
|
+
style:
|
|
420
|
+
.element:
|
|
421
|
+
letterSpacing: 3px
|
|
422
|
+
textTransform: uppercase
|
|
423
|
+
fontSize: 12px
|
|
424
|
+
- id: css_inline_line_height
|
|
425
|
+
type: Paragraph
|
|
426
|
+
properties:
|
|
427
|
+
content: This paragraph has increased line height for better readability. When
|
|
428
|
+
you have dense text content, increasing the line height makes it easier
|
|
429
|
+
for users to follow lines of text across the page.
|
|
430
|
+
style:
|
|
431
|
+
.element:
|
|
432
|
+
lineHeight: 2
|
|
433
|
+
- id: css_inline_blockquote
|
|
434
|
+
type: Paragraph
|
|
435
|
+
properties:
|
|
436
|
+
content: A blockquote-style paragraph using inline styles with a left border and
|
|
437
|
+
padding.
|
|
438
|
+
italic: true
|
|
439
|
+
style:
|
|
440
|
+
.element:
|
|
441
|
+
borderLeft: 3px solid
|
|
442
|
+
paddingLeft: 12px
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
Custom heavy font weight for strong text (fontWeightStrong 900).
|
|
446
|
+
|
|
447
|
+
Custom teal success color applied via theme tokens.
|
|
448
|
+
|
|
449
|
+
Custom orange warning color via theme override.
|
|
450
|
+
|
|
451
|
+
console.log("custom monospace font")
|
|
452
|
+
|
|
453
|
+
```yaml
|
|
454
|
+
- id: theme_bold_weight
|
|
455
|
+
type: Paragraph
|
|
456
|
+
properties:
|
|
457
|
+
content: Custom heavy font weight for strong text (fontWeightStrong 900).
|
|
458
|
+
strong: true
|
|
459
|
+
theme:
|
|
460
|
+
fontWeightStrong: 900
|
|
461
|
+
- id: theme_custom_colors
|
|
462
|
+
type: Paragraph
|
|
463
|
+
properties:
|
|
464
|
+
content: Custom teal success color applied via theme tokens.
|
|
465
|
+
type: success
|
|
466
|
+
theme:
|
|
467
|
+
colorSuccess: "#13c2c2"
|
|
468
|
+
- id: theme_warning_color
|
|
469
|
+
type: Paragraph
|
|
470
|
+
properties:
|
|
471
|
+
content: Custom orange warning color via theme override.
|
|
472
|
+
type: warning
|
|
473
|
+
theme:
|
|
474
|
+
colorWarning: "#fa541c"
|
|
475
|
+
- id: theme_code_font
|
|
476
|
+
type: Paragraph
|
|
477
|
+
properties:
|
|
478
|
+
content: console.log("custom monospace font")
|
|
479
|
+
code: true
|
|
480
|
+
theme:
|
|
481
|
+
fontFamilyCode: '"JetBrains Mono", "Fira Code", monospace'
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
Lowdefy is a config-driven web framework that lets you build internal tools, client portals, and web apps using YAML. No frontend expertise required.
|
|
485
|
+
|
|
486
|
+
Over 50 pre-built blocks are available out of the box, including form inputs, charts, tables, and layout components.
|
|
487
|
+
|
|
488
|
+
Install the CLI to get started.
|
|
489
|
+
|
|
490
|
+
npx lowdefy@latest dev
|
|
491
|
+
|
|
492
|
+
Note: Lowdefy requires Node.js 18 or later. Check your version with node /version.
|
|
493
|
+
|
|
494
|
+
```yaml
|
|
495
|
+
- id: article_card
|
|
496
|
+
type: Card
|
|
497
|
+
properties:
|
|
498
|
+
title: Getting Started with Lowdefy
|
|
499
|
+
size: small
|
|
500
|
+
blocks:
|
|
501
|
+
- id: article_intro
|
|
502
|
+
type: Paragraph
|
|
503
|
+
properties:
|
|
504
|
+
content: Lowdefy is a config-driven web framework that lets you build internal
|
|
505
|
+
tools, client portals, and web apps using YAML. No frontend expertise
|
|
506
|
+
required.
|
|
507
|
+
- id: article_highlight
|
|
508
|
+
type: Paragraph
|
|
509
|
+
properties:
|
|
510
|
+
content: Over 50 pre-built blocks are available out of the box, including form
|
|
511
|
+
inputs, charts, tables, and layout components.
|
|
512
|
+
mark: true
|
|
513
|
+
strong: true
|
|
514
|
+
- id: article_code_label
|
|
515
|
+
type: Paragraph
|
|
516
|
+
properties:
|
|
517
|
+
content: Install the CLI to get started.
|
|
518
|
+
type: secondary
|
|
519
|
+
- id: article_code_snippet
|
|
520
|
+
type: Paragraph
|
|
521
|
+
properties:
|
|
522
|
+
content: npx lowdefy@latest dev
|
|
523
|
+
code: true
|
|
524
|
+
copyable: true
|
|
525
|
+
events:
|
|
526
|
+
onCopy:
|
|
527
|
+
- id: article_copy_msg
|
|
528
|
+
type: DisplayMessage
|
|
529
|
+
params:
|
|
530
|
+
content: Command copied! Paste it into your terminal.
|
|
531
|
+
status: success
|
|
532
|
+
- id: article_note
|
|
533
|
+
type: Paragraph
|
|
534
|
+
properties:
|
|
535
|
+
content: "Note: Lowdefy requires Node.js 18 or later. Check your version with
|
|
536
|
+
node /version."
|
|
537
|
+
type: warning
|
|
538
|
+
italic: true
|
|
539
|
+
```
|
|
540
|
+
|
|
541
|
+
All services are operational. Last checked 2 minutes ago.
|
|
542
|
+
|
|
543
|
+
API response times are elevated. The team is investigating the root cause.
|
|
544
|
+
|
|
545
|
+
Database cluster is unreachable. Automatic failover has been triggered.
|
|
546
|
+
|
|
547
|
+
For real-time updates, subscribe to the status page or contact support. Incident reports are published within 30 minutes of detection. Historical uptime data is available in the admin dashboard.
|
|
548
|
+
|
|
549
|
+
Maintenance window scheduled for Sunday 02:00-04:00 UTC.
|
|
550
|
+
|
|
551
|
+
```yaml
|
|
552
|
+
- id: status_card
|
|
553
|
+
type: Card
|
|
554
|
+
properties:
|
|
555
|
+
title: System Status
|
|
556
|
+
size: small
|
|
557
|
+
blocks:
|
|
558
|
+
- id: status_ok
|
|
559
|
+
type: Paragraph
|
|
560
|
+
properties:
|
|
561
|
+
content: All services are operational. Last checked 2 minutes ago.
|
|
562
|
+
type: success
|
|
563
|
+
strong: true
|
|
564
|
+
- id: status_degraded
|
|
565
|
+
type: Paragraph
|
|
566
|
+
properties:
|
|
567
|
+
content: API response times are elevated. The team is investigating the root
|
|
568
|
+
cause.
|
|
569
|
+
type: warning
|
|
570
|
+
- id: status_outage
|
|
571
|
+
type: Paragraph
|
|
572
|
+
properties:
|
|
573
|
+
content: Database cluster is unreachable. Automatic failover has been triggered.
|
|
574
|
+
type: danger
|
|
575
|
+
strong: true
|
|
576
|
+
- id: status_detail
|
|
577
|
+
type: Paragraph
|
|
578
|
+
properties:
|
|
579
|
+
content: For real-time updates, subscribe to the status page or contact support.
|
|
580
|
+
Incident reports are published within 30 minutes of detection.
|
|
581
|
+
Historical uptime data is available in the admin dashboard.
|
|
582
|
+
ellipsis:
|
|
583
|
+
rows: 2
|
|
584
|
+
expandable: true
|
|
585
|
+
events:
|
|
586
|
+
onExpand:
|
|
587
|
+
- id: status_expand_msg
|
|
588
|
+
type: DisplayMessage
|
|
589
|
+
params:
|
|
590
|
+
content: Showing full status details.
|
|
591
|
+
status: info
|
|
592
|
+
- id: status_disabled
|
|
593
|
+
type: Paragraph
|
|
594
|
+
properties:
|
|
595
|
+
content: Maintenance window scheduled for Sunday 02:00-04:00 UTC.
|
|
596
|
+
disabled: true
|
|
597
|
+
```
|
|
598
|
+
|
|
599
|
+
| Property | Type | Default | Description |
|
|
600
|
+
| --- | --- | --- | --- |
|
|
601
|
+
| `code` | boolean | `false` | Apply code style. |
|
|
602
|
+
| `content` | string | - | Paragraph text content - supports html. |
|
|
603
|
+
| `copyable` | boolean \| object | `false` | Provide copy text button. |
|
|
604
|
+
| `copyable.text` | string | - | Paragraph text to copy when clicked. |
|
|
605
|
+
| `copyable.icon` | string \| object \| array | - | Copy icon, can be an array or two icons for before and after clicked. |
|
|
606
|
+
| `copyable.tooltips` | string \| array | - | Tooltip text, can be an array or two strings for before and after clicked. |
|
|
607
|
+
| `delete` | boolean | `false` | Apply deleted (strikethrough) style. |
|
|
608
|
+
| `disabled` | boolean | `false` | Apply disabled style. |
|
|
609
|
+
| `ellipsis` | boolean \| object | `false` | Display ellipsis when text overflows a single line. |
|
|
610
|
+
| `ellipsis.rows` | number | - | Max rows of content. |
|
|
611
|
+
| `ellipsis.expandable` | boolean | - | Expand hidden content when clicked. |
|
|
612
|
+
| `ellipsis.suffix` | string | - | Suffix of ellipses content. |
|
|
613
|
+
| `italic` | boolean | `false` | Apply italic style. |
|
|
614
|
+
| `mark` | boolean | `false` | Apply marked (highlighted) style. |
|
|
615
|
+
| `strong` | boolean | `false` | Apply strong (bold) style. |
|
|
616
|
+
| `type` | string | `"default"` | Additional types. Don't specify for default. Enum: `success`, `default`, `secondary`, `warning`, `danger`. |
|
|
617
|
+
| `underline` | boolean | `false` | Apply underline style. |
|
|
618
|
+
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design typography tokens](https://ant.design/components/typography#design-token). |
|
|
619
|
+
| `theme.titleMarginBottom` | string | `"0.5em"` | Margin bottom of title. |
|
|
620
|
+
| `theme.titleMarginTop` | string | `"1.2em"` | Margin top of title. |
|
|
621
|
+
| `theme.fontWeightStrong` | number | `600` | Font weight for strong text. |
|
|
622
|
+
| `theme.fontFamilyCode` | string | - | Font family for code style text. |
|
|
623
|
+
| `theme.colorText` | string | - | Default text color. |
|
|
624
|
+
| `theme.colorTextSecondary` | string | - | Secondary text color. |
|
|
625
|
+
| `theme.colorSuccess` | string | - | Success text color. |
|
|
626
|
+
| `theme.colorWarning` | string | - | Warning text color. |
|
|
627
|
+
| `theme.colorError` | string | - | Danger/error text color. |
|
|
628
|
+
| `theme.colorTextDisabled` | string | - | Disabled text color. |
|
|
629
|
+
| `theme.colorLink` | string | - | Link color. |
|
|
630
|
+
|
|
631
|
+
| Event | Event Data | Description |
|
|
632
|
+
| --- | --- | --- |
|
|
633
|
+
| `onExpand` | \- | Trigger action when ellipse expand is clicked. |
|
|
634
|
+
| `onCopy` | \- | Trigger action when copy text is clicked. |
|
|
635
|
+
| `onTextSelection` | \- | Trigger action when text is selected and pass selected text to the event object. |
|
|
636
|
+
|
|
637
|
+
| Key | Target |
|
|
638
|
+
| --- | --- |
|
|
639
|
+
| `/block` | Outer block wrapper (always available). |
|
|
640
|
+
| `/element` | The Paragraph element. |
|
|
641
|
+
| `/copyableIcon` | The copyable icon in the Paragraph. |
|
|
642
|
+
|
|
643
|
+
No slots defined.
|