@lowdefy/docs 4.0.0-alpha.7 → 4.0.0-alpha.8
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/dist/operators/client/filter_default_value.js +55 -0
- package/{public/modules/connectDocsearch.js → dist/operatorsClient.js} +1 -19
- package/{templates/blocks/schemaTransformer.js → dist/types.js} +5 -10
- package/package.json +19 -3
- package/404.yaml +0 -26
- package/CHANGELOG.md +0 -697
- package/actions/CallMethod.yaml +0 -57
- package/actions/JsAction.yaml +0 -281
- package/actions/Link.yaml +0 -120
- package/actions/Login.yaml +0 -123
- package/actions/Logout.yaml +0 -44
- package/actions/Message.yaml +0 -68
- package/actions/Notification.yaml +0 -84
- package/actions/Request.yaml +0 -70
- package/actions/Reset.yaml +0 -42
- package/actions/ResetValidation.yaml +0 -102
- package/actions/ScrollTo.yaml +0 -100
- package/actions/SetGlobal.yaml +0 -78
- package/actions/SetState.yaml +0 -85
- package/actions/Throw.yaml +0 -89
- package/actions/Validate.yaml +0 -104
- package/actions/Wait.yaml +0 -40
- package/blocks/all_icons.yaml +0 -803
- package/blocks/container/Affix.yaml +0 -26
- package/blocks/container/Alert.yaml +0 -27
- package/blocks/container/Badge.yaml +0 -27
- package/blocks/container/Box.yaml +0 -27
- package/blocks/container/Card.yaml +0 -29
- package/blocks/container/Collapse.yaml +0 -38
- package/blocks/container/Comment.yaml +0 -43
- package/blocks/container/ConfirmModal.yaml +0 -36
- package/blocks/container/Descriptions.yaml +0 -51
- package/blocks/container/Drawer.yaml +0 -46
- package/blocks/container/Label.yaml +0 -28
- package/blocks/container/Modal.yaml +0 -46
- package/blocks/container/PageHCF.yaml +0 -28
- package/blocks/container/PageHCSF.yaml +0 -29
- package/blocks/container/PageHSCF.yaml +0 -29
- package/blocks/container/PageHeaderMenu.yaml +0 -52
- package/blocks/container/PageSHCF.yaml +0 -29
- package/blocks/container/PageSiderMenu.yaml +0 -53
- package/blocks/container/Result.yaml +0 -34
- package/blocks/container/Span.yaml +0 -27
- package/blocks/container/Spin.yaml +0 -27
- package/blocks/container/Tabs.yaml +0 -41
- package/blocks/container/Tooltip.yaml +0 -38
- package/blocks/display/Anchor.yaml +0 -25
- package/blocks/display/Avatar.yaml +0 -23
- package/blocks/display/Breadcrumb.yaml +0 -28
- package/blocks/display/Button.yaml +0 -43
- package/blocks/display/DangerousHtml.yaml +0 -62
- package/blocks/display/DangerousMarkdown.yaml +0 -46
- package/blocks/display/Divider.yaml +0 -23
- package/blocks/display/EChart.yaml +0 -53
- package/blocks/display/Html.yaml +0 -50
- package/blocks/display/Icon.yaml +0 -23
- package/blocks/display/Img.yaml +0 -40
- package/blocks/display/Markdown.yaml +0 -31
- package/blocks/display/MarkdownWithCode.yaml +0 -46
- package/blocks/display/Menu.yaml +0 -48
- package/blocks/display/Message.yaml +0 -34
- package/blocks/display/MobileMenu.yaml +0 -47
- package/blocks/display/Notification.yaml +0 -34
- package/blocks/display/Paragraph.yaml +0 -30
- package/blocks/display/Progress.yaml +0 -52
- package/blocks/display/Skeleton.yaml +0 -27
- package/blocks/display/Statistic.yaml +0 -35
- package/blocks/display/Title.yaml +0 -32
- package/blocks/input/AutoComplete.yaml +0 -30
- package/blocks/input/ButtonSelector.yaml +0 -36
- package/blocks/input/CheckboxSelector.yaml +0 -36
- package/blocks/input/CheckboxSwitch.yaml +0 -56
- package/blocks/input/ChromeColorSelector.yaml +0 -24
- package/blocks/input/CircleColorSelector.yaml +0 -24
- package/blocks/input/ColorSelector.yaml +0 -24
- package/blocks/input/CompactColorSelector.yaml +0 -24
- package/blocks/input/DateRangeSelector.yaml +0 -26
- package/blocks/input/DateSelector.yaml +0 -26
- package/blocks/input/DateTimeSelector.yaml +0 -28
- package/blocks/input/GithubColorSelector.yaml +0 -24
- package/blocks/input/MonthSelector.yaml +0 -26
- package/blocks/input/MultipleSelector.yaml +0 -117
- package/blocks/input/NumberInput.yaml +0 -24
- package/blocks/input/Pagination.yaml +0 -33
- package/blocks/input/ParagraphInput.yaml +0 -32
- package/blocks/input/PasswordInput.yaml +0 -48
- package/blocks/input/RadioSelector.yaml +0 -36
- package/blocks/input/RatingSlider.yaml +0 -24
- package/blocks/input/S3UploadButton.yaml +0 -28
- package/blocks/input/Selector.yaml +0 -98
- package/blocks/input/SliderColorSelector.yaml +0 -24
- package/blocks/input/SwatchesColorSelector.yaml +0 -24
- package/blocks/input/Switch.yaml +0 -24
- package/blocks/input/TextArea.yaml +0 -27
- package/blocks/input/TextInput.yaml +0 -59
- package/blocks/input/TitleInput.yaml +0 -32
- package/blocks/input/TwitterColorSelector.yaml +0 -24
- package/blocks/input/WeekSelector.yaml +0 -26
- package/blocks/list/ControlledList.yaml +0 -191
- package/blocks/list/List.yaml +0 -157
- package/blocks/list/TimelineList.yaml +0 -136
- package/body.html +0 -1
- package/concepts/blocks.yaml +0 -249
- package/concepts/cli.yaml +0 -173
- package/concepts/connections-and-requests.yaml +0 -114
- package/concepts/context-and-state.yaml +0 -82
- package/concepts/custom-blocks.yaml +0 -190
- package/concepts/custom-code.yaml +0 -197
- package/concepts/events-and-actions.yaml +0 -224
- package/concepts/hosting-files.yaml +0 -50
- package/concepts/layout.yaml +0 -1464
- package/concepts/lists.yaml +0 -162
- package/concepts/lowdefy-schema.yaml +0 -245
- package/concepts/operators.yaml +0 -66
- package/concepts/overview.yaml +0 -48
- package/concepts/secrets.yaml +0 -56
- package/connections/AWSS3.yaml +0 -228
- package/connections/AmazonRedshift.yaml +0 -75
- package/connections/AxiosHttp.yaml +0 -194
- package/connections/Elasticsearch.yaml +0 -378
- package/connections/GoogleSheet.yaml +0 -332
- package/connections/Knex.yaml +0 -181
- package/connections/KnexRequests.md +0 -121
- package/connections/MSSQL.yaml +0 -90
- package/connections/MariaDB.yaml +0 -77
- package/connections/MongoDB.yaml +0 -581
- package/connections/MySQL.yaml +0 -92
- package/connections/OracleDB.yaml +0 -73
- package/connections/PostgreSQL.yaml +0 -99
- package/connections/Redis.yaml +0 -147
- package/connections/SQLite.yaml +0 -94
- package/connections/SendGridMail.yaml +0 -113
- package/connections/Stripe.yaml +0 -139
- package/deployment/aws-lambda.yaml +0 -128
- package/deployment/docker.yaml +0 -118
- package/deployment/netlify.yaml +0 -69
- package/deployment/node-server.yaml +0 -111
- package/head.html +0 -7
- package/howto/generate-csv.yaml.njk +0 -252
- package/howto/generate-pdf.yaml.njk +0 -651
- package/howto/generateCsv/lowdefy.yaml +0 -64
- package/howto/generateCsv/public/csvMake.js +0 -27
- package/howto/generatePdf/inv_template.yaml +0 -200
- package/howto/generatePdf/lowdefy.yaml +0 -117
- package/howto/generatePdf/my_header.html +0 -1
- package/howto/generatePdf/public/logo_example.png +0 -0
- package/howto/generatePdf/public/modules/importUmd.js +0 -7
- package/howto/generatePdf/public/modules/pdfMake.js +0 -7
- package/howto/generatePdf/public/modules/vfs_fonts.js +0 -12
- package/howto/use-refrences.md +0 -5
- package/introduction.yaml +0 -100
- package/lowdefy.yaml +0 -66
- package/menus.yaml +0 -832
- package/operators/_actions.yaml +0 -123
- package/operators/_and.yaml +0 -90
- package/operators/_args.yaml +0 -79
- package/operators/_array.yaml +0 -326
- package/operators/_base64.yaml +0 -56
- package/operators/_change_case.yaml +0 -347
- package/operators/_date.yaml +0 -71
- package/operators/_diff.yaml +0 -75
- package/operators/_divide.yaml +0 -46
- package/operators/_eq.yaml +0 -67
- package/operators/_event.yaml +0 -103
- package/operators/_format.yaml +0 -209
- package/operators/_function.yaml +0 -66
- package/operators/_get.yaml +0 -108
- package/operators/_global.yaml +0 -107
- package/operators/_gt.yaml +0 -65
- package/operators/_gte.yaml +0 -65
- package/operators/_hash.yaml +0 -109
- package/operators/_if.yaml +0 -44
- package/operators/_if_none.yaml +0 -61
- package/operators/_index.yaml +0 -65
- package/operators/_input.yaml +0 -114
- package/operators/_js.yaml +0 -189
- package/operators/_json.yaml +0 -128
- package/operators/_list_contexts.yaml +0 -37
- package/operators/_location.yaml +0 -59
- package/operators/_log.yaml +0 -36
- package/operators/_lt.yaml +0 -65
- package/operators/_lte.yaml +0 -65
- package/operators/_math.yaml +0 -374
- package/operators/_media.yaml +0 -86
- package/operators/_menu.yaml +0 -81
- package/operators/_mql.yaml +0 -101
- package/operators/_ne.yaml +0 -77
- package/operators/_not.yaml +0 -47
- package/operators/_number.yaml +0 -157
- package/operators/_nunjucks.yaml +0 -73
- package/operators/_object.yaml +0 -193
- package/operators/_operator.yaml +0 -47
- package/operators/_or.yaml +0 -81
- package/operators/_product.yaml +0 -59
- package/operators/_random.yaml +0 -104
- package/operators/_ref.yaml +0 -266
- package/operators/_regex.yaml +0 -83
- package/operators/_request.yaml +0 -50
- package/operators/_secret.yaml +0 -74
- package/operators/_state.yaml +0 -114
- package/operators/_string.yaml +0 -283
- package/operators/_subtract.yaml +0 -38
- package/operators/_sum.yaml +0 -59
- package/operators/_switch.yaml +0 -51
- package/operators/_type.yaml +0 -92
- package/operators/_uri.yaml +0 -56
- package/operators/_url_query.yaml +0 -120
- package/operators/_user.yaml +0 -107
- package/operators/_uuid.yaml +0 -114
- package/operators/_var.yaml +0 -105
- package/operators/_yaml.yaml +0 -107
- package/pages.yaml +0 -227
- package/public/images/authors/gervwyk.jpeg +0 -0
- package/public/images/authors/sandile.jpeg +0 -0
- package/public/images/howto/header_generate_csv.jpg +0 -0
- package/public/images/howto/header_generate_pdf.jpg +0 -0
- package/public/logo_example.png +0 -0
- package/public/lowdefy_app_schema.png +0 -0
- package/public/modules/csvMake.js +0 -27
- package/public/modules/filterDefaultValue.js +0 -48
- package/public/modules/importUmd.js +0 -7
- package/public/modules/index.js +0 -5
- package/public/modules/pdfMake.js +0 -7
- package/public/modules/test/filterDefaultValue.test.js +0 -91
- package/public/modules/vfs_fonts.js +0 -12
- package/public/sitemap.xml +0 -1024
- package/templates/actions.yaml.njk +0 -68
- package/templates/blocks/defaultValueTransformer.js +0 -53
- package/templates/blocks/exampleTransformer.js +0 -81
- package/templates/blocks/layout.yaml +0 -114
- package/templates/blocks/propertiesFormTransformer.js +0 -419
- package/templates/blocks/propertiesGetterTransformer.js +0 -132
- package/templates/blocks/schema.yaml.njk +0 -42
- package/templates/blocks/style.yaml +0 -26
- package/templates/blocks/template.yaml.njk +0 -495
- package/templates/blog.yaml.njk +0 -221
- package/templates/cli_command.yaml.njk +0 -37
- package/templates/footer.yaml.njk +0 -604
- package/templates/general.yaml.njk +0 -124
- package/templates/generateSitemap.js +0 -41
- package/templates/header.yaml +0 -138
- package/templates/navigation_buttons.yaml +0 -68
- package/templates/operators.yaml.njk +0 -82
- package/templates/operatorsMethodTransformer.js +0 -119
- package/templates/test/array.test.js +0 -1335
- package/templates/test/boolean.test.js +0 -98
- package/templates/test/button.test.js +0 -166
- package/templates/test/color.test.js +0 -126
- package/templates/test/enum.test.js +0 -105
- package/templates/test/icon.test.js +0 -109
- package/templates/test/integer.test.js +0 -99
- package/templates/test/manual.test.js +0 -238
- package/templates/test/number.test.js +0 -99
- package/templates/test/object.test.js +0 -434
- package/templates/test/oneOf.test.js +0 -794
- package/templates/test/string.test.js +0 -98
- package/templates/test/yaml.test.js +0 -605
- package/tutorial/next-steps.yaml +0 -83
- package/tutorial/tutorial-actions-operators-config.yaml +0 -142
- package/tutorial/tutorial-actions-operators.yaml +0 -436
- package/tutorial/tutorial-add-blocks-config.yaml +0 -109
- package/tutorial/tutorial-add-blocks.yaml +0 -195
- package/tutorial/tutorial-create-page-config.yaml +0 -77
- package/tutorial/tutorial-create-page.yaml +0 -196
- package/tutorial/tutorial-deploy.yaml +0 -146
- package/tutorial/tutorial-requests-config.yaml +0 -186
- package/tutorial/tutorial-requests.yaml +0 -338
- package/tutorial/tutorial-start.yaml +0 -282
- package/users/login-and-logout.yaml +0 -164
- package/users/openid-connect.yaml +0 -84
- package/users/protected-pages.yaml +0 -67
- package/users/roles.yaml +0 -70
- package/users/user-object.yaml +0 -73
- package/users/users-introduction.yaml +0 -80
- package/version.yaml +0 -1
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: DateRangeSelector
|
|
19
|
-
value_type: date[]
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/DateRangeSelector/schema.json
|
|
22
|
-
filePath: blocks/input/DateRangeSelector.yaml
|
|
23
|
-
description_content: |
|
|
24
|
-
The `DateRangeSelector` block allows the user to choose a start date and an end date for a date range. The selected range is saved as an array with two date elements, the start and end dates.
|
|
25
|
-
|
|
26
|
-
> Other date type blocks are `DateSelector`, `DateTimeSelector`, `MonthSelector` and `WeekSelector`.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: DateSelector
|
|
19
|
-
value_type: date
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/DateSelector/schema.json
|
|
22
|
-
filePath: blocks/input/DateSelector.yaml
|
|
23
|
-
description_content: |
|
|
24
|
-
The `DateSelector` block allows a user to select a date from a calender.
|
|
25
|
-
|
|
26
|
-
> Other date type blocks are `DateRangeSelector`, `DateTimeSelector`, `MonthSelector` and `WeekSelector`.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: DateTimeSelector
|
|
19
|
-
value_type: date
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/DateTimeSelector/schema.json
|
|
22
|
-
filePath: blocks/input/DateTimeSelector.yaml
|
|
23
|
-
description_content: |
|
|
24
|
-
The `DateTimeSelector` block allows a user to select a date and a time from a calender.
|
|
25
|
-
|
|
26
|
-
By default, the time selected by the user is converted to GMT time, based on the timezone of the user. The selector will also display the selected time in the correct timezone for that user. If the `selectGMT` property is set to true, the value of the selector will be the time selected by the user as GMT time, and not in the timezone of the user.
|
|
27
|
-
|
|
28
|
-
> Other date type blocks are `DateRangeSelector`, `DateTimeSelector`, `MonthSelector` and `WeekSelector`.
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: GithubColorSelector
|
|
19
|
-
value_type: string
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-color-selectors/src/blocks/GithubColorSelector/schema.json
|
|
22
|
-
filePath: blocks/input/GithubColorSelector.yaml
|
|
23
|
-
description_content: |
|
|
24
|
-
A color selector component similar to the Github color selector.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: MonthSelector
|
|
19
|
-
value_type: date
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/MonthSelector/schema.json
|
|
22
|
-
filePath: blocks/input/MonthSelector.yaml
|
|
23
|
-
description_content: |
|
|
24
|
-
The `MonthSelector` block allows a user to select a month. The value is a date object, with day and time values of midnight on the first day of the month GMT.
|
|
25
|
-
|
|
26
|
-
> Other date type blocks are `DateRangeSelector`, `DateSelector`, `DateTimeSelector` and `WeekSelector`.
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: MultipleSelector
|
|
19
|
-
value_type: any[]
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/MultipleSelector/schema.json
|
|
22
|
-
filePath: blocks/input/MultipleSelector.yaml
|
|
23
|
-
init_state_values:
|
|
24
|
-
__type_block.properties.options: object[]
|
|
25
|
-
__object_arr_block.properties.options:
|
|
26
|
-
- label: First
|
|
27
|
-
value: '1'
|
|
28
|
-
- label: Second
|
|
29
|
-
value: '2'
|
|
30
|
-
|
|
31
|
-
description_content: |
|
|
32
|
-
The `MultipleSelector` block is a drop down selector that allows a user to select multiple values from a set of options.
|
|
33
|
-
|
|
34
|
-
The options for the selector can be provides as either an array of primitive values (Strings, numbers, booleans or dates), or as an array of label-value pairs, where the label is a string, and the value can be of any type, including objects like dates and arrays.
|
|
35
|
-
|
|
36
|
-
> Other selector blocks are `ButtonSelector`, `CheckboxSelector`, `RadioSelector` and `Selector`.
|
|
37
|
-
|
|
38
|
-
examples:
|
|
39
|
-
- title: Listing options from database search
|
|
40
|
-
block:
|
|
41
|
-
id: example_selector
|
|
42
|
-
type: MultipleSelector
|
|
43
|
-
requests:
|
|
44
|
-
- id: example_search
|
|
45
|
-
type: MongoDBAggregation
|
|
46
|
-
connectionId: companies
|
|
47
|
-
properties:
|
|
48
|
-
pipeline:
|
|
49
|
-
- $search:
|
|
50
|
-
compound:
|
|
51
|
-
should:
|
|
52
|
-
- wildcard:
|
|
53
|
-
query:
|
|
54
|
-
_string.concat:
|
|
55
|
-
- '*'
|
|
56
|
-
- _state: search_input
|
|
57
|
-
- '*'
|
|
58
|
-
path: # field names to search in the companies collection
|
|
59
|
-
- _id
|
|
60
|
-
- company_name
|
|
61
|
-
allowAnalyzedField: true
|
|
62
|
-
- $addFields:
|
|
63
|
-
score:
|
|
64
|
-
$meta: searchScore
|
|
65
|
-
- $sort:
|
|
66
|
-
score: -1
|
|
67
|
-
- $limit: 50
|
|
68
|
-
- $project:
|
|
69
|
-
_id: 0
|
|
70
|
-
value: $_id
|
|
71
|
-
label:
|
|
72
|
-
$concat:
|
|
73
|
-
- $_id
|
|
74
|
-
- ' - '
|
|
75
|
-
- $ifNull:
|
|
76
|
-
- $company_name
|
|
77
|
-
- ''
|
|
78
|
-
properties:
|
|
79
|
-
placeholder: Search
|
|
80
|
-
options: # search request results will be used as options
|
|
81
|
-
_array.concat:
|
|
82
|
-
- _if_none:
|
|
83
|
-
- _state: example_options
|
|
84
|
-
- []
|
|
85
|
-
- _if_none:
|
|
86
|
-
- _request: example_search
|
|
87
|
-
- []
|
|
88
|
-
label:
|
|
89
|
-
disabled: true
|
|
90
|
-
events:
|
|
91
|
-
onChange: # selector onChange actions - triggered when the value of the selector changes
|
|
92
|
-
- id: set_state
|
|
93
|
-
type: SetState
|
|
94
|
-
params:
|
|
95
|
-
example_options:
|
|
96
|
-
_mql.aggregate:
|
|
97
|
-
on:
|
|
98
|
-
_array.concat:
|
|
99
|
-
- _state: example_options
|
|
100
|
-
- _request: example_search
|
|
101
|
-
pipeline:
|
|
102
|
-
- $match:
|
|
103
|
-
value:
|
|
104
|
-
$in:
|
|
105
|
-
_state: example_selector
|
|
106
|
-
onSearch: # selector onSearch actions - triggered when the user types in the search input
|
|
107
|
-
debounce:
|
|
108
|
-
ms: 500
|
|
109
|
-
try:
|
|
110
|
-
- id: set_state
|
|
111
|
-
type: SetState
|
|
112
|
-
params:
|
|
113
|
-
search_input:
|
|
114
|
-
_event: value
|
|
115
|
-
- id: perform_search
|
|
116
|
-
type: Request
|
|
117
|
-
params: example_search
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: NumberInput
|
|
19
|
-
value_type: number
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/NumberInput/schema.json
|
|
22
|
-
filePath: blocks/input/NumberInput.yaml
|
|
23
|
-
description_content: |
|
|
24
|
-
The `NumberInput` allows a user to input a number.
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: Pagination
|
|
19
|
-
value_type: object
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/Pagination/schema.json
|
|
22
|
-
filePath: blocks/input/Pagination.yaml
|
|
23
|
-
init_property_values:
|
|
24
|
-
pageSizeOptions: [10, 20, 30, 40]
|
|
25
|
-
init_state_values:
|
|
26
|
-
block_id:
|
|
27
|
-
current: 0
|
|
28
|
-
pageSize: 10
|
|
29
|
-
skip: 0
|
|
30
|
-
description_content: |
|
|
31
|
-
The `Pagination` controls user input for pagination purposes.
|
|
32
|
-
|
|
33
|
-
> This block does not paginate requests, it only manage pagination parameters which can be used to control pagination requests.
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: ParagraphInput
|
|
19
|
-
value_type: string
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/ParagraphInput/schema.json
|
|
22
|
-
filePath: blocks/input/ParagraphInput.yaml
|
|
23
|
-
init_state_values:
|
|
24
|
-
__type_block.properties.copyable: boolean
|
|
25
|
-
__type_block.properties.ellipsis: boolean
|
|
26
|
-
__type_block.properties.editable: boolean
|
|
27
|
-
__boolean_block.properties.copyable: false
|
|
28
|
-
__boolean_block.properties.ellipsis: false
|
|
29
|
-
__boolean_block.properties.editable: true
|
|
30
|
-
block_id: Click edit to change the paragraph content.
|
|
31
|
-
description_content: |
|
|
32
|
-
The `ParagraphInput` block can display a paragraph, yet allow the user to click a edit icon and change the paragraph content. This is useful when the UI renders an existing document with a paragraph, which a user must be able to edit.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: PasswordInput
|
|
19
|
-
value_type: string
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/PasswordInput/schema.json
|
|
22
|
-
filePath: blocks/input/PasswordInput.yaml
|
|
23
|
-
description_content: |
|
|
24
|
-
The `PasswordInput` block is a single line password input.
|
|
25
|
-
|
|
26
|
-
examples:
|
|
27
|
-
- title: Required password input
|
|
28
|
-
block:
|
|
29
|
-
id: required_example
|
|
30
|
-
type: PasswordInput
|
|
31
|
-
required: true
|
|
32
|
-
properties:
|
|
33
|
-
title: Required password input
|
|
34
|
-
- title: Placeholder
|
|
35
|
-
block:
|
|
36
|
-
id: placeholder_example
|
|
37
|
-
type: PasswordInput
|
|
38
|
-
properties:
|
|
39
|
-
placeholder: Placeholder
|
|
40
|
-
- title: Password
|
|
41
|
-
block:
|
|
42
|
-
id: password
|
|
43
|
-
type: PasswordInput
|
|
44
|
-
properties:
|
|
45
|
-
title: Password
|
|
46
|
-
placeholder: Your password
|
|
47
|
-
label:
|
|
48
|
-
span: 6
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: RadioSelector
|
|
19
|
-
value_type: any
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/RadioSelector/schema.json
|
|
22
|
-
filePath: blocks/input/RadioSelector.yaml
|
|
23
|
-
init_state_values:
|
|
24
|
-
__type_block.properties.options: object[]
|
|
25
|
-
__object_arr_block.properties.options:
|
|
26
|
-
- label: First
|
|
27
|
-
value: '1'
|
|
28
|
-
- label: Second
|
|
29
|
-
value: '2'
|
|
30
|
-
|
|
31
|
-
description_content: |
|
|
32
|
-
The `RadioSelector` block is a set of radio buttons that allow a user to select a single value from a set of options.
|
|
33
|
-
|
|
34
|
-
The options for the selector can be provides as either an array of primitive values (Strings, numbers, booleans or dates), or as an array of label-value pairs, where the label is a string, and the value can be of any type, including objects like dates and arrays.
|
|
35
|
-
|
|
36
|
-
> Other selector blocks are `ButtonSelector`, `CheckboxSelector`, `MultipleSelector` and `Selector`.
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: RatingSlider
|
|
19
|
-
value_type: number
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/RatingSlider/schema.json
|
|
22
|
-
filePath: blocks/input/RatingSlider.yaml
|
|
23
|
-
description_content: |
|
|
24
|
-
The `RatingSlider` block allows a user to choose a numerical value on a slider input. It is typically used for scores or ratings. It has the option to have a "Not Applicable" checkbox, which leaves the value as null.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: S3UploadButton
|
|
19
|
-
value_type: object
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/plugins/plugin-aws/src/blocks/S3UploadButton/schema.json
|
|
22
|
-
filePath: blocks/input/S3UploadButton.yaml
|
|
23
|
-
description_content: |
|
|
24
|
-
The `S3UploadButton` block allows a user to to upload a file to AWS S3.
|
|
25
|
-
|
|
26
|
-
The `s3PostPolicyRequestId` property is required, and should be the `id` of a [`AwsS3PresignedPostPolicy`](/AWSS3) request. This request is called by the block when the user uploads a file, to create a policy that allows a file to be uploaded to AWS S3.
|
|
27
|
-
|
|
28
|
-
The block has an object value in state, with a `file` key, which has an object corresponding to the last uploaded file, and a `fileList` array with objects for each the files.
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: Selector
|
|
19
|
-
value_type: any
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/Selector/schema.json
|
|
22
|
-
filePath: blocks/input/Selector.yaml
|
|
23
|
-
init_state_values:
|
|
24
|
-
__type_block.properties.options: object[]
|
|
25
|
-
__object_arr_block.properties.options:
|
|
26
|
-
- label: First
|
|
27
|
-
value: '1'
|
|
28
|
-
- label: Second
|
|
29
|
-
value: '2'
|
|
30
|
-
|
|
31
|
-
description_content: |
|
|
32
|
-
The `Selector` block is a drop down selector that allows a user to select a single value from a set of options.
|
|
33
|
-
|
|
34
|
-
The options for the selector can be provides as either an array of primitive values (Strings, numbers, booleans or dates), or as an array of label-value pairs, where the label is a string, and the value can be of any type, including objects like dates and arrays.
|
|
35
|
-
|
|
36
|
-
> Other selector blocks are `ButtonSelector`, `CheckboxSelector`, `MultipleSelector` and `RadioSelector`.
|
|
37
|
-
|
|
38
|
-
examples:
|
|
39
|
-
- title: Listing options from database search
|
|
40
|
-
block:
|
|
41
|
-
id: example_selector
|
|
42
|
-
type: Selector
|
|
43
|
-
requests:
|
|
44
|
-
- id: example_search
|
|
45
|
-
type: MongoDBAggregation
|
|
46
|
-
connectionId: companies
|
|
47
|
-
properties:
|
|
48
|
-
pipeline:
|
|
49
|
-
- $search:
|
|
50
|
-
compound:
|
|
51
|
-
should:
|
|
52
|
-
- wildcard:
|
|
53
|
-
query:
|
|
54
|
-
_string.concat:
|
|
55
|
-
- '*'
|
|
56
|
-
- _state: search_input
|
|
57
|
-
- '*'
|
|
58
|
-
path: # field names to search in the companies collection
|
|
59
|
-
- _id
|
|
60
|
-
- company_name
|
|
61
|
-
allowAnalyzedField: true
|
|
62
|
-
- $addFields:
|
|
63
|
-
score:
|
|
64
|
-
$meta: searchScore
|
|
65
|
-
- $sort:
|
|
66
|
-
score: -1
|
|
67
|
-
- $limit: 50
|
|
68
|
-
- $project: # selector options value, label pairs
|
|
69
|
-
_id: 0
|
|
70
|
-
value: $_id
|
|
71
|
-
label:
|
|
72
|
-
$concat:
|
|
73
|
-
- $_id
|
|
74
|
-
- ' - '
|
|
75
|
-
- $ifNull:
|
|
76
|
-
- $company_name
|
|
77
|
-
- ''
|
|
78
|
-
properties:
|
|
79
|
-
placeholder: Search
|
|
80
|
-
options:
|
|
81
|
-
_if_none: # search request results will be used as options
|
|
82
|
-
- _request: example_search
|
|
83
|
-
- []
|
|
84
|
-
label:
|
|
85
|
-
disabled: true
|
|
86
|
-
events:
|
|
87
|
-
onSearch: # selector onSearch actions
|
|
88
|
-
debounce:
|
|
89
|
-
ms: 500
|
|
90
|
-
try:
|
|
91
|
-
- id: set_state
|
|
92
|
-
type: SetState
|
|
93
|
-
params:
|
|
94
|
-
search_input:
|
|
95
|
-
_event: value
|
|
96
|
-
- id: perform_search
|
|
97
|
-
type: Request
|
|
98
|
-
params: example_search
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: SliderColorSelector
|
|
19
|
-
value_type: string
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-color-selectors/src/blocks/SliderColorSelector/schema.json
|
|
22
|
-
filePath: blocks/input/SliderColorSelector.yaml
|
|
23
|
-
description_content: |
|
|
24
|
-
A slider color selector component.
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: SwatchesColorSelector
|
|
19
|
-
value_type: string
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-color-selectors/src/blocks/SwatchesColorSelector/schema.json
|
|
22
|
-
filePath: blocks/input/SwatchesColorSelector.yaml
|
|
23
|
-
description_content: |
|
|
24
|
-
A swatches color selector component.
|
package/blocks/input/Switch.yaml
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
-
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
_ref:
|
|
16
|
-
path: templates/blocks/template.yaml.njk
|
|
17
|
-
vars:
|
|
18
|
-
block_type: Switch
|
|
19
|
-
value_type: boolean
|
|
20
|
-
category: input
|
|
21
|
-
schema: ../plugins/blocks/blocks-antd/src/blocks/Switch/schema.json
|
|
22
|
-
filePath: blocks/input/Switch.yaml
|
|
23
|
-
description_content: |
|
|
24
|
-
The `Switch` block is an on/off input. It has a boolean value (true/false).
|