@genesislcap/expression-builder 14.303.0 → 14.303.1

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 (2) hide show
  1. package/package.json +10 -10
  2. package/docs/api-report.md +0 -263
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/expression-builder",
3
3
  "description": "Genesis Foundation Expression Builder",
4
- "version": "14.303.0",
4
+ "version": "14.303.1",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/expression-builder.d.ts",
@@ -36,16 +36,16 @@
36
36
  }
37
37
  },
38
38
  "devDependencies": {
39
- "@genesislcap/foundation-testing": "14.303.0",
40
- "@genesislcap/genx": "14.303.0",
41
- "@genesislcap/rollup-builder": "14.303.0",
42
- "@genesislcap/ts-builder": "14.303.0",
43
- "@genesislcap/uvu-playwright-builder": "14.303.0",
44
- "@genesislcap/vite-builder": "14.303.0",
45
- "@genesislcap/webpack-builder": "14.303.0"
39
+ "@genesislcap/foundation-testing": "14.303.1",
40
+ "@genesislcap/genx": "14.303.1",
41
+ "@genesislcap/rollup-builder": "14.303.1",
42
+ "@genesislcap/ts-builder": "14.303.1",
43
+ "@genesislcap/uvu-playwright-builder": "14.303.1",
44
+ "@genesislcap/vite-builder": "14.303.1",
45
+ "@genesislcap/webpack-builder": "14.303.1"
46
46
  },
47
47
  "dependencies": {
48
- "@genesislcap/web-core": "14.303.0",
48
+ "@genesislcap/web-core": "14.303.1",
49
49
  "rfdc": "1.4.1"
50
50
  },
51
51
  "repository": {
@@ -57,5 +57,5 @@
57
57
  "access": "public"
58
58
  },
59
59
  "customElements": "dist/custom-elements.json",
60
- "gitHead": "1495670cf431019b7a29589f6ab7b80c0ec31945"
60
+ "gitHead": "f1685d21651cfe332605360143595a9bb603b129"
61
61
  }
@@ -1,263 +0,0 @@
1
- ## API Report File for "@genesislcap/expression-builder"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { ElementStyles } from '@microsoft/fast-element';
8
- import { GenesisElement } from '@genesislcap/web-core';
9
- import { ViewTemplate } from '@microsoft/fast-element';
10
-
11
- // @beta
12
- const BASE_LOGICAL_COMBINATORS: Combinator[];
13
-
14
- // @alpha (undocumented)
15
- const BASE_OPERATORS: Operator[];
16
-
17
- // @beta
18
- type BinaryOperator = {
19
- nbInputs: 1;
20
- } & _Operator;
21
-
22
- // @beta
23
- type CheckboxInput = {
24
- input: 'checkbox';
25
- type: 'boolean';
26
- };
27
-
28
- // @beta (undocumented)
29
- type Combinator = {
30
- type: string;
31
- maxRules: 1 | 2 | 'many';
32
- invisible?: boolean;
33
- label?: string;
34
- description?: string;
35
- allowedFields?: Field['fieldId'][];
36
- allowedOperators?: Operator['type'][];
37
- validator?: (group: Group) => string | null;
38
- allowLiterals?: boolean;
39
- forceFieldOnly?: boolean;
40
- };
41
-
42
- declare namespace Config {
43
- export {
44
- BASE_LOGICAL_COMBINATORS,
45
- LOGICAL_COMBINATORS,
46
- NULL_COMBINATOR,
47
- BASE_OPERATORS
48
- }
49
- }
50
- export { Config }
51
-
52
- // @beta (undocumented)
53
- type Config_2 = {
54
- operators: Operator[];
55
- fields: Field[];
56
- combinators: Combinator[];
57
- model?: Group;
58
- maxNesting?: number;
59
- partialRuleValidationWarning?: boolean;
60
- };
61
-
62
- // @beta
63
- type CustomElements = {
64
- checkbox?: string;
65
- text?: string;
66
- number?: string;
67
- date?: string;
68
- datetimeLocal?: string;
69
- select?: string;
70
- option?: string;
71
- button?: string;
72
- radio?: {
73
- input: string;
74
- group: string;
75
- };
76
- };
77
-
78
- // @beta
79
- type CustomStyles = {
80
- rule?: string;
81
- value?: string;
82
- field?: string;
83
- operator?: string;
84
- group?: string;
85
- };
86
-
87
- // @beta
88
- type DateInput = {
89
- input: 'date';
90
- type: 'date';
91
- validation?: (x: unknown) => string | null;
92
- };
93
-
94
- // @beta
95
- type DateTimeInput = {
96
- input: 'datetime-local';
97
- type: 'date-time';
98
- validation?: (x: unknown) => string | null;
99
- };
100
-
101
- // Warning: (ae-forgotten-export) The symbol "MetadataProvider" needs to be exported by the entry point index.d.ts
102
- //
103
- // @beta
104
- export class ExpressionBuilder extends GenesisElement implements MetadataProvider {
105
- config: Config_2;
106
- // @internal (undocumented)
107
- configChanged(_: Config_2, newConfig: Config_2): void;
108
- // @internal (undocumented)
109
- connectedCallback(): void;
110
- // @internal (undocumented)
111
- disconnectedCallback(): void;
112
- protected dispatchChangeEvent(group: Group): void;
113
- // @internal (undocumented)
114
- getConfig(): Config_2;
115
- // @internal (undocumented)
116
- getGroupId(): string;
117
- // @internal (undocumented)
118
- getRuleId(): string;
119
- // Warning: (ae-forgotten-export) The symbol "ModelGroup" needs to be exported by the entry point index.d.ts
120
- model: ModelGroup | null;
121
- // @internal (undocumented)
122
- modelChanged(_: Config_2, newModel: ModelGroup): void;
123
- styles?: Styles;
124
- }
125
-
126
- // @beta (undocumented)
127
- type Field = {
128
- optgroup?: string | null;
129
- defaultValue?: any;
130
- fieldId: string;
131
- label: string;
132
- operators?: string[];
133
- } & FieldTypes;
134
-
135
- // @beta
136
- type FieldTypes = TextInput | NumberInput | CheckboxInput | SelectInput | DateInput | DateTimeInput;
137
-
138
- // @beta
139
- export const formatDateString: (date: Date) => string;
140
-
141
- // @beta
142
- export const formatDateTimeString: (date: Date) => string;
143
-
144
- // @beta
145
- type Group = {
146
- combinator: Combinator;
147
- children: (Rule | Group)[];
148
- };
149
-
150
- // @beta
151
- const LOGICAL_COMBINATORS: Combinator[];
152
-
153
- // @beta
154
- const NULL_COMBINATOR: Combinator;
155
-
156
- // @beta
157
- type NumberInput = {
158
- input: 'number';
159
- type: 'int' | 'short' | 'double' | 'long' | 'bigdecimal';
160
- validation?: (x: unknown) => string | null;
161
- };
162
-
163
- // @beta (undocumented)
164
- type Operator = UniraryOperator | BinaryOperator | TernararyOperator | VariadicOperator;
165
-
166
- // @beta (undocumented)
167
- type _Operator = {
168
- applyTo: FieldTypes['type'][];
169
- optgroup?: string | null;
170
- type: string;
171
- tooltip?: string;
172
- valueType?: FieldTypes;
173
- };
174
-
175
- // @beta
176
- type Rule = {
177
- field: Field | null;
178
- } & ({
179
- operator: null;
180
- } | {
181
- operator: UniraryOperator;
182
- } | {
183
- operator: BinaryOperator;
184
- value: any;
185
- } | {
186
- operator: TernararyOperator;
187
- value: [any, any];
188
- } | {
189
- operator: VariadicOperator;
190
- value: any[];
191
- });
192
-
193
- // @beta
194
- type SelectInput = {
195
- input: 'select';
196
- type: 'enum';
197
- values: Record<string, string | number>;
198
- };
199
-
200
- // @beta
201
- type Styles = {
202
- customElements?: CustomElements;
203
- customStyles?: CustomStyles;
204
- };
205
-
206
- // @alpha (undocumented)
207
- export const styles: ElementStyles;
208
-
209
- // @alpha (undocumented)
210
- export const template: ViewTemplate<ExpressionBuilder, any>;
211
-
212
- // @beta
213
- type TernararyOperator = {
214
- nbInputs: 2;
215
- } & _Operator;
216
-
217
- // @beta
218
- type TextInput = {
219
- type: 'string';
220
- input: 'text';
221
- validation?: (x: unknown) => string | null;
222
- };
223
-
224
- declare namespace Types {
225
- export {
226
- CustomElements,
227
- CustomStyles,
228
- Styles,
229
- Config_2 as Config,
230
- _Operator,
231
- UniraryOperator,
232
- BinaryOperator,
233
- TernararyOperator,
234
- VariadicOperator,
235
- Operator,
236
- TextInput,
237
- NumberInput,
238
- CheckboxInput,
239
- SelectInput,
240
- DateInput,
241
- DateTimeInput,
242
- FieldTypes,
243
- Field,
244
- Combinator,
245
- Rule,
246
- Group
247
- }
248
- }
249
- export { Types }
250
-
251
- // @beta
252
- type UniraryOperator = {
253
- nbInputs: 0;
254
- } & _Operator;
255
-
256
- // @beta
257
- type VariadicOperator = {
258
- nbInputs: 'many';
259
- } & _Operator;
260
-
261
- // (No @packageDocumentation comment for this package)
262
-
263
- ```