@genesislcap/expression-builder 14.408.0 → 14.409.0

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.
Files changed (41) hide show
  1. package/README.md +24 -2
  2. package/package.json +10 -10
  3. package/docs/api/expression-builder.config.base_logical_combinators.md +0 -16
  4. package/docs/api/expression-builder.config.base_operators.md +0 -16
  5. package/docs/api/expression-builder.config.logical_combinators.md +0 -16
  6. package/docs/api/expression-builder.config.md +0 -67
  7. package/docs/api/expression-builder.config.null_combinator.md +0 -18
  8. package/docs/api/expression-builder.expressionbuilder.config.md +0 -61
  9. package/docs/api/expression-builder.expressionbuilder.dispatchchangeevent.md +0 -59
  10. package/docs/api/expression-builder.expressionbuilder.md +0 -152
  11. package/docs/api/expression-builder.expressionbuilder.model.md +0 -35
  12. package/docs/api/expression-builder.expressionbuilder.styles.md +0 -39
  13. package/docs/api/expression-builder.formatdatestring.md +0 -57
  14. package/docs/api/expression-builder.formatdatetimestring.md +0 -57
  15. package/docs/api/expression-builder.md +0 -149
  16. package/docs/api/expression-builder.styles.md +0 -16
  17. package/docs/api/expression-builder.template.md +0 -16
  18. package/docs/api/expression-builder.types._operator.md +0 -25
  19. package/docs/api/expression-builder.types.binaryoperator.md +0 -20
  20. package/docs/api/expression-builder.types.checkboxinput.md +0 -19
  21. package/docs/api/expression-builder.types.combinator.md +0 -29
  22. package/docs/api/expression-builder.types.config.md +0 -25
  23. package/docs/api/expression-builder.types.customelements.md +0 -48
  24. package/docs/api/expression-builder.types.customstyles.md +0 -32
  25. package/docs/api/expression-builder.types.dateinput.md +0 -20
  26. package/docs/api/expression-builder.types.datetimeinput.md +0 -20
  27. package/docs/api/expression-builder.types.field.md +0 -24
  28. package/docs/api/expression-builder.types.fieldtypes.md +0 -18
  29. package/docs/api/expression-builder.types.group.md +0 -49
  30. package/docs/api/expression-builder.types.md +0 -286
  31. package/docs/api/expression-builder.types.numberinput.md +0 -20
  32. package/docs/api/expression-builder.types.operator.md +0 -18
  33. package/docs/api/expression-builder.types.rule.md +0 -45
  34. package/docs/api/expression-builder.types.selectinput.md +0 -23
  35. package/docs/api/expression-builder.types.styles.md +0 -25
  36. package/docs/api/expression-builder.types.ternararyoperator.md +0 -20
  37. package/docs/api/expression-builder.types.textinput.md +0 -20
  38. package/docs/api/expression-builder.types.uniraryoperator.md +0 -22
  39. package/docs/api/expression-builder.types.variadicoperator.md +0 -20
  40. package/docs/api/index.md +0 -30
  41. package/docs/api-report.md.api.md +0 -268
@@ -1,286 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Types](./expression-builder.types.md)
4
-
5
- ## Types namespace
6
-
7
- ## Type Aliases
8
-
9
- <table><thead><tr><th>
10
-
11
- Type Alias
12
-
13
-
14
- </th><th>
15
-
16
- Description
17
-
18
-
19
- </th></tr></thead>
20
- <tbody><tr><td>
21
-
22
- [\_Operator](./expression-builder.types._operator.md)
23
-
24
-
25
- </td><td>
26
-
27
- **_(BETA)_** \*
28
-
29
-
30
- </td></tr>
31
- <tr><td>
32
-
33
- [BinaryOperator](./expression-builder.types.binaryoperator.md)
34
-
35
-
36
- </td><td>
37
-
38
- **_(BETA)_** An operator which has one value. Example `greater_than` \*
39
-
40
-
41
- </td></tr>
42
- <tr><td>
43
-
44
- [CheckboxInput](./expression-builder.types.checkboxinput.md)
45
-
46
-
47
- </td><td>
48
-
49
- **_(BETA)_** Configuration for a boolean-type input, which has a boolean value and a checkbox. \*
50
-
51
-
52
- </td></tr>
53
- <tr><td>
54
-
55
- [Combinator](./expression-builder.types.combinator.md)
56
-
57
-
58
- </td><td>
59
-
60
- **_(BETA)_** \*
61
-
62
-
63
- </td></tr>
64
- <tr><td>
65
-
66
- [Config](./expression-builder.types.config.md)
67
-
68
-
69
- </td><td>
70
-
71
- **_(BETA)_** \*
72
-
73
-
74
- </td></tr>
75
- <tr><td>
76
-
77
- [CustomElements](./expression-builder.types.customelements.md)
78
-
79
-
80
- </td><td>
81
-
82
- **_(BETA)_** By default the expression builder uses the basic html components such as buttons and inputs. If you want to integrate your own components from a design system or otherwise you can add the tag names for your elements here. For your custom components to work they must expose the same API as the underlying HTML element they're overriding.
83
-
84
- `checkbox`<!-- -->: Custom element tag for checkbox inputs
85
-
86
- `text`<!-- -->: Custom element tag for text inputs
87
-
88
- `number`<!-- -->: Custom element tag for number inputs
89
-
90
- `date`<!-- -->: Custom element tag for date inputs
91
-
92
- `datetimeLocal`<!-- -->: Custom element tag for datetime-local inputs
93
-
94
- `select`<!-- -->: Custom element tag for select inputs
95
-
96
- `option`<!-- -->: Custom element tag for option elements
97
-
98
- `button`<!-- -->: Custom element tag for button elements
99
-
100
- `radio`<!-- -->: Custom element tag for radio and radio group elements. When using a custom element for a radio you require a parent radio group component to semantically link the radios into a group. The parent radio group must expose the `change` event and `value` attribute.
101
-
102
-
103
- </td></tr>
104
- <tr><td>
105
-
106
- [CustomStyles](./expression-builder.types.customstyles.md)
107
-
108
-
109
- </td><td>
110
-
111
- **_(BETA)_** Optional strings for configuring css to be applied inside of each constituent element's shadow DOM. To apply styles to components which are used inside of multiple different components (such as buttons which are used in groups, rules, and values) you must ensure the styling is set in each block. If your styling isn't showing the ensure that you're using more specific css rules to override the precedence of your rule.
112
-
113
- `rule`<!-- -->: Additional CSS for expression rule component
114
-
115
- `value`<!-- -->: Additional CSS for rule value component
116
-
117
- `field`<!-- -->: Additional CSS for rule field component
118
-
119
- `operator`<!-- -->: Additional CSS for rule operator component
120
-
121
- `group`<!-- -->: Additional CSS for expression group component
122
-
123
-
124
- </td></tr>
125
- <tr><td>
126
-
127
- [DateInput](./expression-builder.types.dateinput.md)
128
-
129
-
130
- </td><td>
131
-
132
- **_(BETA)_** Configuration for a date input, which has s string value and a date field input \*
133
-
134
-
135
- </td></tr>
136
- <tr><td>
137
-
138
- [DateTimeInput](./expression-builder.types.datetimeinput.md)
139
-
140
-
141
- </td><td>
142
-
143
- **_(BETA)_** Configuration for a datetime input, which has s string value and a datetime field input \*
144
-
145
-
146
- </td></tr>
147
- <tr><td>
148
-
149
- [Field](./expression-builder.types.field.md)
150
-
151
-
152
- </td><td>
153
-
154
- **_(BETA)_** \*
155
-
156
-
157
- </td></tr>
158
- <tr><td>
159
-
160
- [FieldTypes](./expression-builder.types.fieldtypes.md)
161
-
162
-
163
- </td><td>
164
-
165
- **_(BETA)_** Union of all input types \*
166
-
167
-
168
- </td></tr>
169
- <tr><td>
170
-
171
- [Group](./expression-builder.types.group.md)
172
-
173
-
174
- </td><td>
175
-
176
- **_(BETA)_** A group forms the overall model of the expression builder, and is recursive to itself allowing for a nested tree.
177
-
178
-
179
- </td></tr>
180
- <tr><td>
181
-
182
- [NumberInput](./expression-builder.types.numberinput.md)
183
-
184
-
185
- </td><td>
186
-
187
- **_(BETA)_** Configuration for a number-type input, which has a number value and a number input. \*
188
-
189
-
190
- </td></tr>
191
- <tr><td>
192
-
193
- [Operator](./expression-builder.types.operator.md)
194
-
195
-
196
- </td><td>
197
-
198
- **_(BETA)_** \*
199
-
200
-
201
- </td></tr>
202
- <tr><td>
203
-
204
- [Rule](./expression-builder.types.rule.md)
205
-
206
-
207
- </td><td>
208
-
209
- **_(BETA)_** A rule is a single constituent element of a larger expression, and is the smallest whole part of an expression.
210
-
211
-
212
- </td></tr>
213
- <tr><td>
214
-
215
- [SelectInput](./expression-builder.types.selectinput.md)
216
-
217
-
218
- </td><td>
219
-
220
- **_(BETA)_** Configuration for an enum-type input, which as a string or number value, and uses a select input. \*
221
-
222
-
223
- </td></tr>
224
- <tr><td>
225
-
226
- [Styles](./expression-builder.types.styles.md)
227
-
228
-
229
- </td><td>
230
-
231
- **_(BETA)_** Configuration items for the expression builder styles.
232
-
233
- `customElements`<!-- -->: optional `Types.CustomElements` block for overriding the html tags used in the expression builder
234
-
235
- `customStyles`<!-- -->: optional `Types.CustomStyles` block to configure custom css for components.
236
-
237
-
238
- </td></tr>
239
- <tr><td>
240
-
241
- [TernararyOperator](./expression-builder.types.ternararyoperator.md)
242
-
243
-
244
- </td><td>
245
-
246
- **_(BETA)_** An operator which has two values. Example `between_inclusive` \*
247
-
248
-
249
- </td></tr>
250
- <tr><td>
251
-
252
- [TextInput](./expression-builder.types.textinput.md)
253
-
254
-
255
- </td><td>
256
-
257
- **_(BETA)_** Configuration for a text-type input, which has a string value and a text input. \*
258
-
259
-
260
- </td></tr>
261
- <tr><td>
262
-
263
- [UniraryOperator](./expression-builder.types.uniraryoperator.md)
264
-
265
-
266
- </td><td>
267
-
268
- **_(BETA)_** An operator which doesn't have any value. Example `is_null`
269
-
270
- \*
271
-
272
-
273
- </td></tr>
274
- <tr><td>
275
-
276
- [VariadicOperator](./expression-builder.types.variadicoperator.md)
277
-
278
-
279
- </td><td>
280
-
281
- **_(BETA)_** An operator which can have any number of values where `NumVals >= 1`<!-- -->, defaulting to 1. Example `one_of`<!-- -->. \*
282
-
283
-
284
- </td></tr>
285
- </tbody></table>
286
-
@@ -1,20 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Types](./expression-builder.types.md) &gt; [NumberInput](./expression-builder.types.numberinput.md)
4
-
5
- ## Types.NumberInput type
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Configuration for a number-type input, which has a number value and a number input. \*
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- export type NumberInput = {
16
- input: 'number';
17
- type: 'int' | 'short' | 'double' | 'long' | 'bigdecimal';
18
- validation?: (x: unknown) => string | null;
19
- };
20
- ```
@@ -1,18 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Types](./expression-builder.types.md) &gt; [Operator](./expression-builder.types.operator.md)
4
-
5
- ## Types.Operator type
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- \*
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- export type Operator = UniraryOperator | BinaryOperator | TernararyOperator | VariadicOperator;
16
- ```
17
- **References:** [UniraryOperator](./expression-builder.types.uniraryoperator.md)<!-- -->, [BinaryOperator](./expression-builder.types.binaryoperator.md)<!-- -->, [TernararyOperator](./expression-builder.types.ternararyoperator.md)<!-- -->, [VariadicOperator](./expression-builder.types.variadicoperator.md)
18
-
@@ -1,45 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Types](./expression-builder.types.md) &gt; [Rule](./expression-builder.types.rule.md)
4
-
5
- ## Types.Rule type
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- A rule is a single constituent element of a larger expression, and is the smallest whole part of an expression.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- export type Rule = {
16
- field: Field | null;
17
- } & ({
18
- operator: null;
19
- } | {
20
- operator: UniraryOperator;
21
- } | {
22
- operator: BinaryOperator;
23
- value: any;
24
- } | {
25
- operator: TernararyOperator;
26
- value: [any, any];
27
- } | {
28
- operator: VariadicOperator;
29
- value: any[];
30
- });
31
- ```
32
- **References:** [Field](./expression-builder.types.field.md)<!-- -->, [UniraryOperator](./expression-builder.types.uniraryoperator.md)<!-- -->, [BinaryOperator](./expression-builder.types.binaryoperator.md)<!-- -->, [TernararyOperator](./expression-builder.types.ternararyoperator.md)<!-- -->, [VariadicOperator](./expression-builder.types.variadicoperator.md)
33
-
34
- ## Example
35
-
36
-
37
- ```
38
- FIELD : PROFILE_AGE
39
- OPERATOR : GREATER_THAN
40
- VALUE : 18
41
-
42
- If you're constructing a boolean expression then this rule could be used to restrict users who are 17 or younger.
43
- ```
44
- \*
45
-
@@ -1,23 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Types](./expression-builder.types.md) &gt; [SelectInput](./expression-builder.types.selectinput.md)
4
-
5
- ## Types.SelectInput type
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Configuration for an enum-type input, which as a string or number value, and uses a select input. \*
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- export type SelectInput = {
16
- input: 'select';
17
- type: 'enum';
18
- values: Record<string, string | number | {
19
- label: string;
20
- tooltip?: string;
21
- }>;
22
- };
23
- ```
@@ -1,25 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Types](./expression-builder.types.md) &gt; [Styles](./expression-builder.types.styles.md)
4
-
5
- ## Types.Styles type
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Configuration items for the expression builder styles.
11
-
12
- `customElements`<!-- -->: optional `Types.CustomElements` block for overriding the html tags used in the expression builder
13
-
14
- `customStyles`<!-- -->: optional `Types.CustomStyles` block to configure custom css for components.
15
-
16
- **Signature:**
17
-
18
- ```typescript
19
- export type Styles = {
20
- customElements?: CustomElements;
21
- customStyles?: CustomStyles;
22
- };
23
- ```
24
- **References:** [CustomElements](./expression-builder.types.customelements.md)<!-- -->, [CustomStyles](./expression-builder.types.customstyles.md)
25
-
@@ -1,20 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Types](./expression-builder.types.md) &gt; [TernararyOperator](./expression-builder.types.ternararyoperator.md)
4
-
5
- ## Types.TernararyOperator type
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- An operator which has two values. Example `between_inclusive` \*
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- export type TernararyOperator = {
16
- nbInputs: 2;
17
- } & _Operator;
18
- ```
19
- **References:** [\_Operator](./expression-builder.types._operator.md)
20
-
@@ -1,20 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Types](./expression-builder.types.md) &gt; [TextInput](./expression-builder.types.textinput.md)
4
-
5
- ## Types.TextInput type
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Configuration for a text-type input, which has a string value and a text input. \*
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- export type TextInput = {
16
- type: 'string';
17
- input: 'text';
18
- validation?: (x: unknown) => string | null;
19
- };
20
- ```
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Types](./expression-builder.types.md) &gt; [UniraryOperator](./expression-builder.types.uniraryoperator.md)
4
-
5
- ## Types.UniraryOperator type
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- An operator which doesn't have any value. Example `is_null`
11
-
12
- \*
13
-
14
- **Signature:**
15
-
16
- ```typescript
17
- export type UniraryOperator = {
18
- nbInputs: 0;
19
- } & _Operator;
20
- ```
21
- **References:** [\_Operator](./expression-builder.types._operator.md)
22
-
@@ -1,20 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/expression-builder](./expression-builder.md) &gt; [Types](./expression-builder.types.md) &gt; [VariadicOperator](./expression-builder.types.variadicoperator.md)
4
-
5
- ## Types.VariadicOperator type
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- An operator which can have any number of values where `NumVals >= 1`<!-- -->, defaulting to 1. Example `one_of`<!-- -->. \*
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- export type VariadicOperator = {
16
- nbInputs: 'many';
17
- } & _Operator;
18
- ```
19
- **References:** [\_Operator](./expression-builder.types._operator.md)
20
-
package/docs/api/index.md DELETED
@@ -1,30 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md)
4
-
5
- ## API Reference
6
-
7
- ## Packages
8
-
9
- <table><thead><tr><th>
10
-
11
- Package
12
-
13
-
14
- </th><th>
15
-
16
- Description
17
-
18
-
19
- </th></tr></thead>
20
- <tbody><tr><td>
21
-
22
- [@genesislcap/expression-builder](./expression-builder.md)
23
-
24
-
25
- </td><td>
26
-
27
-
28
- </td></tr>
29
- </tbody></table>
30
-