@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
package/operators/_math.yaml
DELETED
|
@@ -1,374 +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/operators.yaml.njk
|
|
17
|
-
transformer: templates/operatorsMethodTransformer.js
|
|
18
|
-
vars:
|
|
19
|
-
pageId: _math
|
|
20
|
-
pageTitle: _math
|
|
21
|
-
filePath: operators/_math.yaml
|
|
22
|
-
description: |
|
|
23
|
-
The `_math` operator can be used to run javascript [`Math`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math) methods.
|
|
24
|
-
|
|
25
|
-
The `_math` operator can take arguments in the following forms:
|
|
26
|
-
|
|
27
|
-
###### No Arguments
|
|
28
|
-
```text
|
|
29
|
-
(void): number
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
Some methods like `_math.PI` take no arguments:
|
|
33
|
-
```yaml
|
|
34
|
-
_math.PI: null
|
|
35
|
-
```
|
|
36
|
-
Returns: `pi`
|
|
37
|
-
|
|
38
|
-
###### Single argument
|
|
39
|
-
```text
|
|
40
|
-
(x: number): number
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
Some methods like `_math.round` take a single argument:
|
|
44
|
-
```yaml
|
|
45
|
-
_math.round: 3.14
|
|
46
|
-
```
|
|
47
|
-
Returns: `3`
|
|
48
|
-
|
|
49
|
-
###### Named arguments
|
|
50
|
-
```text
|
|
51
|
-
({x: number, y: number}): number
|
|
52
|
-
([x: number, y: number]): number
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
Some methods like `_math.pow` take an object with named arguments:
|
|
56
|
-
```yaml
|
|
57
|
-
_math.pow:
|
|
58
|
-
base: 2
|
|
59
|
-
exponent: 3
|
|
60
|
-
```
|
|
61
|
-
Returns: `8`
|
|
62
|
-
|
|
63
|
-
These methods also accept their arguments as an array:
|
|
64
|
-
```yaml
|
|
65
|
-
_math.pow:
|
|
66
|
-
- 2
|
|
67
|
-
- 3
|
|
68
|
-
```
|
|
69
|
-
Returns: `8`
|
|
70
|
-
|
|
71
|
-
###### Array arguments
|
|
72
|
-
```text
|
|
73
|
-
(values: number[]): number
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
Some methods like `_math.max` take an array of values as arguments:
|
|
77
|
-
```
|
|
78
|
-
_math.max:
|
|
79
|
-
- 42
|
|
80
|
-
- 99
|
|
81
|
-
- 0
|
|
82
|
-
```
|
|
83
|
-
Returns: `99`
|
|
84
|
-
methods:
|
|
85
|
-
- name: abs
|
|
86
|
-
types: |
|
|
87
|
-
```
|
|
88
|
-
(x: number): number
|
|
89
|
-
```
|
|
90
|
-
description: |
|
|
91
|
-
The `_math.abs` method returns the [absolute value](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/abs) of a number.
|
|
92
|
-
- name: acos
|
|
93
|
-
types: |
|
|
94
|
-
```
|
|
95
|
-
(x: number): number
|
|
96
|
-
```
|
|
97
|
-
description: |
|
|
98
|
-
The `_math.acos` method returns the [arccosine](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/acos) (in radians) of a number.
|
|
99
|
-
- name: acosh
|
|
100
|
-
types: |
|
|
101
|
-
```
|
|
102
|
-
(x: number): number
|
|
103
|
-
```
|
|
104
|
-
description: |
|
|
105
|
-
The `_math.acosh` method returns the [hyperbolic arc-cosine](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/acosh) of a number.
|
|
106
|
-
- name: asin
|
|
107
|
-
types: |
|
|
108
|
-
```
|
|
109
|
-
(x: number): number
|
|
110
|
-
```
|
|
111
|
-
description: |
|
|
112
|
-
The `_math.asin` method returns the [arcsine](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/asin) (in radians) of a number.
|
|
113
|
-
- name: atan
|
|
114
|
-
types: |
|
|
115
|
-
```
|
|
116
|
-
(x: number): number
|
|
117
|
-
```
|
|
118
|
-
description: |
|
|
119
|
-
The `_math.atan` method returns the [arctangent](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/atan) (in radians) of a number.
|
|
120
|
-
- name: atan2
|
|
121
|
-
types: |
|
|
122
|
-
```
|
|
123
|
-
({x: number, y: number}): number
|
|
124
|
-
([x: number, y: number]): number
|
|
125
|
-
```
|
|
126
|
-
description: |
|
|
127
|
-
The `_math.atan2` method returns the [angle in the plane (in radians) between the positive x-axis and the ray from (0,0) to the point (x,y)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/atan2).
|
|
128
|
-
- name: atanh
|
|
129
|
-
types: |
|
|
130
|
-
```
|
|
131
|
-
(x: number): number
|
|
132
|
-
```
|
|
133
|
-
description: |
|
|
134
|
-
The `_math.atanh` method returns the [hyperbolic arctangent](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/atanh) of a number.
|
|
135
|
-
- name: cbrt
|
|
136
|
-
types: |
|
|
137
|
-
```
|
|
138
|
-
(x: number): number
|
|
139
|
-
```
|
|
140
|
-
description: |
|
|
141
|
-
The `_math.cbrt` method returns the returns the [cube root](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cbrt) of a number.
|
|
142
|
-
- name: ceil
|
|
143
|
-
types: |
|
|
144
|
-
```
|
|
145
|
-
(x: number): number
|
|
146
|
-
```
|
|
147
|
-
description: |
|
|
148
|
-
The `_math.ceil` method [rounds a number up](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/ceil) to the next largest integer.
|
|
149
|
-
- name: clz32
|
|
150
|
-
types: |
|
|
151
|
-
```
|
|
152
|
-
(x: number): number
|
|
153
|
-
```
|
|
154
|
-
description: |
|
|
155
|
-
The `_math.clz32` method returns the [number of leading zero bits in the 32-bit binary representation of a number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/clz32).
|
|
156
|
-
- name: cos
|
|
157
|
-
types: |
|
|
158
|
-
```
|
|
159
|
-
(x: number): number
|
|
160
|
-
```
|
|
161
|
-
description: |
|
|
162
|
-
The `_math.cos` method returns the [cosine](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cos) of the specified angle, which must be specified in radians
|
|
163
|
-
- name: cosh
|
|
164
|
-
types: |
|
|
165
|
-
```
|
|
166
|
-
(x: number): number
|
|
167
|
-
```
|
|
168
|
-
description: |
|
|
169
|
-
The `_math.cosh` method returns the [hyperbolic cosine](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cosh) of a number.
|
|
170
|
-
- name: exp
|
|
171
|
-
types: |
|
|
172
|
-
```
|
|
173
|
-
(x: number): number
|
|
174
|
-
```
|
|
175
|
-
description: |
|
|
176
|
-
The `_math.exp` method returns [`e` (Euler's number) to the power `x`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/exp).
|
|
177
|
-
- name: expm1
|
|
178
|
-
types: |
|
|
179
|
-
```
|
|
180
|
-
(x: number): number
|
|
181
|
-
```
|
|
182
|
-
description: |
|
|
183
|
-
The `_math.expm1` method returns [`e` (Euler's number) to the power `x` minus `1`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/expm1).
|
|
184
|
-
- name: floor
|
|
185
|
-
types: |
|
|
186
|
-
```
|
|
187
|
-
(x: number): number
|
|
188
|
-
```
|
|
189
|
-
description: |
|
|
190
|
-
The `_math.floor` method returns the [largest integer less than or equal to a given number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/floor).
|
|
191
|
-
- name: fround
|
|
192
|
-
types: |
|
|
193
|
-
```
|
|
194
|
-
(x: number): number
|
|
195
|
-
```
|
|
196
|
-
description: |
|
|
197
|
-
The `_math.fround` method returns the [nearest 32-bit single precision float representation of a number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/fround).
|
|
198
|
-
- name: hypot
|
|
199
|
-
types: |
|
|
200
|
-
```
|
|
201
|
-
(values: number[]): number
|
|
202
|
-
```
|
|
203
|
-
description: |
|
|
204
|
-
The `_math.hypot` method returns the [square root of the sum of squares of its arguments](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/hypot).
|
|
205
|
-
- name: imul
|
|
206
|
-
types: |
|
|
207
|
-
```
|
|
208
|
-
({a: number, b: number}): number
|
|
209
|
-
([a: number, b: number]): number
|
|
210
|
-
```
|
|
211
|
-
description: |
|
|
212
|
-
The `_math.imul` method returns the [result of the C-like 32-bit multiplication of the two parameters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul).
|
|
213
|
-
- name: log
|
|
214
|
-
types: |
|
|
215
|
-
```
|
|
216
|
-
(x: number): number
|
|
217
|
-
```
|
|
218
|
-
description: |
|
|
219
|
-
The `_math.log` method returns the [natural logarithm](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log) (base `e`) of a number.
|
|
220
|
-
- name: log10
|
|
221
|
-
types: |
|
|
222
|
-
```
|
|
223
|
-
(x: number): number
|
|
224
|
-
```
|
|
225
|
-
description: |
|
|
226
|
-
The `_math.log10` method returns the [base `10` logarithm](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log10) of a number.
|
|
227
|
-
- name: log1p
|
|
228
|
-
types: |
|
|
229
|
-
```
|
|
230
|
-
(x: number): number
|
|
231
|
-
```
|
|
232
|
-
description: |
|
|
233
|
-
The `_math.log1p` method returns the [natural logarithm (base e) of `1 + a number`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log1p).
|
|
234
|
-
- name: log2
|
|
235
|
-
types: |
|
|
236
|
-
```
|
|
237
|
-
(x: number): number
|
|
238
|
-
```
|
|
239
|
-
description: |
|
|
240
|
-
The `_math.log2` method returns the [base `2` logarithm](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log2) of a number.
|
|
241
|
-
- name: max
|
|
242
|
-
types: |
|
|
243
|
-
```
|
|
244
|
-
(values: number[]): number
|
|
245
|
-
```
|
|
246
|
-
description: |
|
|
247
|
-
The `_math.max` method returns the [largest of the numbers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/max) given as input parameters.
|
|
248
|
-
- name: min
|
|
249
|
-
types: |
|
|
250
|
-
```
|
|
251
|
-
(values: number[]): number
|
|
252
|
-
```
|
|
253
|
-
description: |
|
|
254
|
-
The `_math.min` method returns the [smallest of the numbers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/max) given as input parameters.
|
|
255
|
-
- name: pow
|
|
256
|
-
types: |
|
|
257
|
-
```
|
|
258
|
-
({base: number, exponent: number}): number
|
|
259
|
-
([base: number, exponent: number]): number
|
|
260
|
-
```
|
|
261
|
-
description: |
|
|
262
|
-
The `_math.pow` method returns the [`base` to the `exponent` power](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/pow).
|
|
263
|
-
- name: random
|
|
264
|
-
types: |
|
|
265
|
-
```
|
|
266
|
-
(void): number
|
|
267
|
-
```
|
|
268
|
-
description: |
|
|
269
|
-
The `_math.random` method returns a floating-point, [pseudo-random number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random) in the range `0` to less than `1`.
|
|
270
|
-
- name: round
|
|
271
|
-
types: |
|
|
272
|
-
```
|
|
273
|
-
(x: number): number
|
|
274
|
-
```
|
|
275
|
-
description: |
|
|
276
|
-
The `_math.round` method returns the value of a number [rounded to the nearest integer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round).
|
|
277
|
-
- name: sign
|
|
278
|
-
types: |
|
|
279
|
-
```
|
|
280
|
-
(x: number): number
|
|
281
|
-
```
|
|
282
|
-
description: |
|
|
283
|
-
The `_math.sign` method returns either a [positive or negative 1 (`+/- 1`)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sign), indicating the sign of a number passed into the argument.
|
|
284
|
-
- name: sin
|
|
285
|
-
types: |
|
|
286
|
-
```
|
|
287
|
-
(x: number): number
|
|
288
|
-
```
|
|
289
|
-
description: |
|
|
290
|
-
The `_math.sin` method returns the [sine](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sin) of a number.
|
|
291
|
-
- name: sinh
|
|
292
|
-
types: |
|
|
293
|
-
```
|
|
294
|
-
(x: number): number
|
|
295
|
-
```
|
|
296
|
-
description: |
|
|
297
|
-
The `_math.sinh` method returns the [hyperbolic sine](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sinh) of a number.
|
|
298
|
-
- name: sqrt
|
|
299
|
-
types: |
|
|
300
|
-
```
|
|
301
|
-
(x: number): number
|
|
302
|
-
```
|
|
303
|
-
description: |
|
|
304
|
-
The `_math.sqrt` method returns the [square root](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sqrt) of a number.
|
|
305
|
-
- name: tan
|
|
306
|
-
types: |
|
|
307
|
-
```
|
|
308
|
-
(x: number): number
|
|
309
|
-
```
|
|
310
|
-
description: |
|
|
311
|
-
The `_math.tan` method returns the [tangent](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/tan) of a number.
|
|
312
|
-
- name: trunc
|
|
313
|
-
types: |
|
|
314
|
-
```
|
|
315
|
-
(x: number): number
|
|
316
|
-
```
|
|
317
|
-
description: |
|
|
318
|
-
The `_math.trunc` method returns the [integer part](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc) of a number by removing any fractional digits.
|
|
319
|
-
- name: E
|
|
320
|
-
types: |
|
|
321
|
-
```
|
|
322
|
-
(void): number
|
|
323
|
-
```
|
|
324
|
-
description: |
|
|
325
|
-
The `_math.E` method returns [Euler's number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/E), the base of natural logarithms, `e`, which is approximately 2.718.
|
|
326
|
-
- name: LN10
|
|
327
|
-
types: |
|
|
328
|
-
```
|
|
329
|
-
(void): number
|
|
330
|
-
```
|
|
331
|
-
description: |
|
|
332
|
-
The `_math.LN10` method returns the [natural logarithm of `10`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/LN10), which is approximately 2.302.
|
|
333
|
-
- name: LN2
|
|
334
|
-
types: |
|
|
335
|
-
```
|
|
336
|
-
(void): number
|
|
337
|
-
```
|
|
338
|
-
description: |
|
|
339
|
-
The `_math.LN2` method returns the [natural logarithm of `2`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/LN2), which is approximately 0.693.
|
|
340
|
-
- name: LOG10E
|
|
341
|
-
types: |
|
|
342
|
-
```
|
|
343
|
-
(void): number
|
|
344
|
-
```
|
|
345
|
-
description: |
|
|
346
|
-
The `_math.LOG10E` method returns the [base `10` logarithm of `e`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/LOG10E), which is approximately 0.434.
|
|
347
|
-
- name: LOG2E
|
|
348
|
-
types: |
|
|
349
|
-
```
|
|
350
|
-
(void): number
|
|
351
|
-
```
|
|
352
|
-
description: |
|
|
353
|
-
The `_math.LOG2E` method returns the [base `2` logarithm of `e`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/LOG2E), which is approximately 1.442.
|
|
354
|
-
- name: PI
|
|
355
|
-
types: |
|
|
356
|
-
```
|
|
357
|
-
(void): number
|
|
358
|
-
```
|
|
359
|
-
description: |
|
|
360
|
-
The `_math.PI` method returns the constant [`pi`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/PI), the ratio of the circumference of a circle to its diameter, which is approximately 3.14159.
|
|
361
|
-
- name: SQRT1_2
|
|
362
|
-
types: |
|
|
363
|
-
```
|
|
364
|
-
(void): number
|
|
365
|
-
```
|
|
366
|
-
description: |
|
|
367
|
-
The `_math.SQRT1_2` method returns the [square root of `1/2`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/SQRT1_2), which is approximately 0.707.
|
|
368
|
-
- name: SQRT2
|
|
369
|
-
types: |
|
|
370
|
-
```
|
|
371
|
-
(void): number
|
|
372
|
-
```
|
|
373
|
-
description: |
|
|
374
|
-
The `_math.SQRT2` method returns the [square root of `2`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/SQRT2), which is approximately 1.414.
|
package/operators/_media.yaml
DELETED
|
@@ -1,86 +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/operators.yaml.njk
|
|
17
|
-
transformer: templates/operatorsMethodTransformer.js
|
|
18
|
-
vars:
|
|
19
|
-
pageId: _media
|
|
20
|
-
pageTitle: _media
|
|
21
|
-
filePath: operators/_media.yaml
|
|
22
|
-
env: Client Only
|
|
23
|
-
types: |
|
|
24
|
-
```
|
|
25
|
-
(key: string): any
|
|
26
|
-
(all: boolean): any
|
|
27
|
-
(arguments: {
|
|
28
|
-
all?: boolean,
|
|
29
|
-
key?: string,
|
|
30
|
-
default?: any,
|
|
31
|
-
}): any
|
|
32
|
-
```
|
|
33
|
-
description: |
|
|
34
|
-
The `_media` operator gets a value from the [`media`](/context-and-state) object. It can only be used on the web-client (Not in `requests` or `connections`). `media` is a data object that contains information about the current screen size of a users browser window. It contains the following data:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- `width: number`: The width of the window in pixels.
|
|
38
|
-
- `height: number`: The height of the window in pixels.
|
|
39
|
-
- `size: enum`: One of `xs`, `sm`, `md`, `lg`, `xl`, `xxl`. The sizes are determined by comparing the window width to the following breakpoints (in pixels):
|
|
40
|
-
- `xs`: `width < 576px`
|
|
41
|
-
- `sm`: `576px <= width < 768px`
|
|
42
|
-
- `md`: `768px <= width < 992px`
|
|
43
|
-
- `lg`: `992px <= width < 1200px`
|
|
44
|
-
- `xl`: `1200px <= width < 1600px`
|
|
45
|
-
- `xxl`: `1600px <= width`
|
|
46
|
-
|
|
47
|
-
arguments: |
|
|
48
|
-
###### string
|
|
49
|
-
If the `_media` operator is called with a string argument, the value of the key in the `media` object is returned. If the value is not found, `null` is returned.
|
|
50
|
-
|
|
51
|
-
###### boolean
|
|
52
|
-
If the `_media` operator is called with boolean argument `true`, the entire `media` object is returned.
|
|
53
|
-
|
|
54
|
-
###### object
|
|
55
|
-
- `all: boolean`: If `all` is set to `true`, the entire `media` object is returned. One of `all` or `key` are required.
|
|
56
|
-
- `key: string`: The value of the key in the `media` object is returned. If the value is not found, `null`, or the specified default value is returned. One of `all` or `key` are required.
|
|
57
|
-
- `default: any`: A value to return if the `key` is not found in `media`. By default, `null` is returned if a value is not found.
|
|
58
|
-
|
|
59
|
-
examples: |
|
|
60
|
-
###### Get the value of `size` from `media`:
|
|
61
|
-
```yaml
|
|
62
|
-
_media: size
|
|
63
|
-
```
|
|
64
|
-
```yaml
|
|
65
|
-
_media:
|
|
66
|
-
key: size
|
|
67
|
-
```
|
|
68
|
-
Returns: The value of `size`.
|
|
69
|
-
|
|
70
|
-
###### Get the entire `media` object:
|
|
71
|
-
```yaml
|
|
72
|
-
_media: true
|
|
73
|
-
```
|
|
74
|
-
```yaml
|
|
75
|
-
_media:
|
|
76
|
-
all: true
|
|
77
|
-
```
|
|
78
|
-
Returns: The entire `media` object.
|
|
79
|
-
|
|
80
|
-
###### Return a default value if the value is not found:
|
|
81
|
-
```yaml
|
|
82
|
-
_media:
|
|
83
|
-
key: does_not_exist
|
|
84
|
-
default: Not there
|
|
85
|
-
```
|
|
86
|
-
Returns: `"Not there"`.
|
package/operators/_menu.yaml
DELETED
|
@@ -1,81 +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/operators.yaml.njk
|
|
17
|
-
transformer: templates/operatorsMethodTransformer.js
|
|
18
|
-
vars:
|
|
19
|
-
pageId: _menu
|
|
20
|
-
pageTitle: _menu
|
|
21
|
-
filePath: operators/_menu.yaml
|
|
22
|
-
env: Client Only
|
|
23
|
-
types: |
|
|
24
|
-
```
|
|
25
|
-
(menuId: string): object
|
|
26
|
-
(menuIndex: number): object
|
|
27
|
-
(all: boolean): object[]
|
|
28
|
-
(arguments: {
|
|
29
|
-
value?: string,
|
|
30
|
-
index?: number
|
|
31
|
-
all?: boolean,
|
|
32
|
-
}): object | object[]
|
|
33
|
-
```
|
|
34
|
-
description: |
|
|
35
|
-
The `_menu` operator can be used to access `menu` objects defined in the [`menus`](/lowdefy-schema) section of the Lowdefy configuration.
|
|
36
|
-
|
|
37
|
-
arguments: |
|
|
38
|
-
###### string
|
|
39
|
-
The `menuId` of the `menu` to return.
|
|
40
|
-
|
|
41
|
-
###### number
|
|
42
|
-
The index of the `menu` to return.
|
|
43
|
-
|
|
44
|
-
###### boolean
|
|
45
|
-
If the `_media` operator is called with boolean argument `true`, the entire `menus` object is returned.
|
|
46
|
-
|
|
47
|
-
###### object
|
|
48
|
-
- `value: string`: The `menuId` of the `menu` to return.
|
|
49
|
-
- `index: number`: The index of the `menu` to return.
|
|
50
|
-
- `all: boolean`: If the `_media` operator is called with boolean argument `true`, the entire `menus` object is returned.
|
|
51
|
-
|
|
52
|
-
examples: |
|
|
53
|
-
###### Get the `menus` object:
|
|
54
|
-
```yaml
|
|
55
|
-
_menu: true
|
|
56
|
-
```
|
|
57
|
-
```yaml
|
|
58
|
-
_menu:
|
|
59
|
-
all: true
|
|
60
|
-
```
|
|
61
|
-
Returns: An array of `menu` objects.
|
|
62
|
-
|
|
63
|
-
###### Get a `menu` by `id`:
|
|
64
|
-
```yaml
|
|
65
|
-
_menu: default
|
|
66
|
-
```
|
|
67
|
-
```yaml
|
|
68
|
-
_menu:
|
|
69
|
-
value: default
|
|
70
|
-
```
|
|
71
|
-
Returns: A `menu` object.
|
|
72
|
-
|
|
73
|
-
###### Get a `menu` by `index`:
|
|
74
|
-
```yaml
|
|
75
|
-
_menu: 0
|
|
76
|
-
```
|
|
77
|
-
```yaml
|
|
78
|
-
_menu:
|
|
79
|
-
value: 0
|
|
80
|
-
```
|
|
81
|
-
Returns: A `menu` object.
|
package/operators/_mql.yaml
DELETED
|
@@ -1,101 +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/operators.yaml.njk
|
|
17
|
-
transformer: templates/operatorsMethodTransformer.js
|
|
18
|
-
vars:
|
|
19
|
-
pageId: _mql
|
|
20
|
-
pageTitle: _mql
|
|
21
|
-
filePath: operators/_mql.yaml
|
|
22
|
-
description: |
|
|
23
|
-
The `_mql` operator uses the [`mingo`](https://www.npmjs.com/package/mingo) package to evaluate MongoDB query language statements as an operator.
|
|
24
|
-
methods:
|
|
25
|
-
- name: aggregate
|
|
26
|
-
types: |
|
|
27
|
-
```
|
|
28
|
-
({on: object[], pipeline: object[]}): object[]
|
|
29
|
-
([on: object[], pipeline: object[]]): object[]
|
|
30
|
-
```
|
|
31
|
-
description: |
|
|
32
|
-
The `_mql.aggregate` method runs a MongoDB aggregation pipeline on an input array.
|
|
33
|
-
arguments: |
|
|
34
|
-
###### object
|
|
35
|
-
- `on: object[]`: The data array on which to run the pipeline. It should be an array of objects.
|
|
36
|
-
- `pipeline: object[]`: A MongoDB aggregation pipeline definition.
|
|
37
|
-
examples: |
|
|
38
|
-
###### Transform request results:
|
|
39
|
-
```yaml
|
|
40
|
-
_mql.aggregate:
|
|
41
|
-
pipeline:
|
|
42
|
-
- $match:
|
|
43
|
-
age:
|
|
44
|
-
$gte: 18
|
|
45
|
-
- $addFields:
|
|
46
|
-
averageScore:
|
|
47
|
-
$avg:
|
|
48
|
-
- $score1
|
|
49
|
-
- $score2
|
|
50
|
-
on:
|
|
51
|
-
_request: my_request
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
- name: expr
|
|
55
|
-
types: |
|
|
56
|
-
```
|
|
57
|
-
({on: object, expr: any}): any
|
|
58
|
-
([on: object, expr: any]): any
|
|
59
|
-
```
|
|
60
|
-
description: |
|
|
61
|
-
The `_mql.expr` method evaluates a MongoDB aggregation pipeline operator expression. This is any statement that could be written in a `$project` stage.
|
|
62
|
-
arguments: |
|
|
63
|
-
###### object
|
|
64
|
-
- `on: object`: An object to take as input for the expression.
|
|
65
|
-
- `expr: object`: A MongoDB aggregation expression.
|
|
66
|
-
examples: |
|
|
67
|
-
###### Calculate an average of three inputs:
|
|
68
|
-
```yaml
|
|
69
|
-
_mql.expr:
|
|
70
|
-
expr:
|
|
71
|
-
$avg:
|
|
72
|
-
- $input1
|
|
73
|
-
- $input2
|
|
74
|
-
- $input3
|
|
75
|
-
on:
|
|
76
|
-
_state: true
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
- name: test
|
|
80
|
-
types: |
|
|
81
|
-
```
|
|
82
|
-
({on: object, test: object}): boolean
|
|
83
|
-
([on: object, test: object]): boolean
|
|
84
|
-
```
|
|
85
|
-
description: |
|
|
86
|
-
The `_mql.test` method tests if a object matches a MongoDB filter/query expression.
|
|
87
|
-
arguments: |
|
|
88
|
-
###### object
|
|
89
|
-
- `on: object`: The object to be tested.
|
|
90
|
-
- `test: object`: A MongoDB filter/query expression.
|
|
91
|
-
examples: |
|
|
92
|
-
###### Test if a number input is greater than 100:
|
|
93
|
-
```yaml
|
|
94
|
-
_mql.test:
|
|
95
|
-
test:
|
|
96
|
-
number_input:
|
|
97
|
-
$gte: 18
|
|
98
|
-
on:
|
|
99
|
-
number_input:
|
|
100
|
-
_state: number_input
|
|
101
|
-
```
|