@genesislcap/foundation-criteria 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 (44) hide show
  1. package/README.md +8 -12
  2. package/package.json +11 -11
  3. package/docs/api/foundation-criteria.createformcriteriabuilder.md +0 -51
  4. package/docs/api/foundation-criteria.criteriabuilder.and.md +0 -11
  5. package/docs/api/foundation-criteria.criteriabuilder.build.md +0 -52
  6. package/docs/api/foundation-criteria.criteriabuilder.md +0 -146
  7. package/docs/api/foundation-criteria.criteriabuilder.not.md +0 -11
  8. package/docs/api/foundation-criteria.criteriabuilder.or.md +0 -11
  9. package/docs/api/foundation-criteria.criteriabuilder.reset.md +0 -15
  10. package/docs/api/foundation-criteria.criteriabuilder.withexpression.md +0 -82
  11. package/docs/api/foundation-criteria.criteriasegmentedcontrol.criteriaoptions.md +0 -11
  12. package/docs/api/foundation-criteria.criteriasegmentedcontrol.itemclickhandler.md +0 -50
  13. package/docs/api/foundation-criteria.criteriasegmentedcontrol.md +0 -171
  14. package/docs/api/foundation-criteria.criteriasegmentedcontrol.selectedlabel.md +0 -11
  15. package/docs/api/foundation-criteria.criteriasegmentedcontrol.selectedlabelchanged.md +0 -15
  16. package/docs/api/foundation-criteria.criteriasegmentedcontrol.value.md +0 -11
  17. package/docs/api/foundation-criteria.criteriasegmentedcontrol.valuechanged.md +0 -15
  18. package/docs/api/foundation-criteria.expressionbuilder._constructor_.md +0 -57
  19. package/docs/api/foundation-criteria.expressionbuilder.build.md +0 -11
  20. package/docs/api/foundation-criteria.expressionbuilder.md +0 -181
  21. package/docs/api/foundation-criteria.expressionbuilder.withfield.md +0 -50
  22. package/docs/api/foundation-criteria.expressionbuilder.withgroup.md +0 -50
  23. package/docs/api/foundation-criteria.expressionbuilder.withparams.md +0 -50
  24. package/docs/api/foundation-criteria.expressionbuilder.withserialiser.md +0 -50
  25. package/docs/api/foundation-criteria.expressionbuilder.withvalue.md +0 -50
  26. package/docs/api/foundation-criteria.expressionbuilder.withvaluegetter.md +0 -50
  27. package/docs/api/foundation-criteria.expressionconfig.md +0 -15
  28. package/docs/api/foundation-criteria.expressionconfigmap.md +0 -17
  29. package/docs/api/foundation-criteria.join._constructor_.md +0 -48
  30. package/docs/api/foundation-criteria.join.and.md +0 -15
  31. package/docs/api/foundation-criteria.join.equal.md +0 -15
  32. package/docs/api/foundation-criteria.join.greaterthan.md +0 -15
  33. package/docs/api/foundation-criteria.join.greaterthanorequal.md +0 -15
  34. package/docs/api/foundation-criteria.join.lessthan.md +0 -15
  35. package/docs/api/foundation-criteria.join.lessthanorequal.md +0 -15
  36. package/docs/api/foundation-criteria.join.md +0 -238
  37. package/docs/api/foundation-criteria.join.not.md +0 -15
  38. package/docs/api/foundation-criteria.join.notequal.md +0 -15
  39. package/docs/api/foundation-criteria.join.operator.md +0 -11
  40. package/docs/api/foundation-criteria.join.or.md +0 -15
  41. package/docs/api/foundation-criteria.md +0 -152
  42. package/docs/api/foundation-criteria.serialisers.md +0 -36
  43. package/docs/api/index.md +0 -30
  44. package/docs/api-report.md.api.md +0 -244
@@ -1,244 +0,0 @@
1
- ## API Report File for "@genesislcap/foundation-criteria"
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 { FASTElement } from '@microsoft/fast-element';
8
-
9
- // @public (undocumented)
10
- export const createFormCriteriaBuilder: <T>(criteriaBuilder: CriteriaBuilder) => (config: ExpressionConfig, formValue: any, formData: T) => void;
11
-
12
- // @public
13
- export class CriteriaBuilder {
14
- // (undocumented)
15
- And: (expression: ValidExpressionType, options?: ExpressionOptions) => this;
16
- // Warning: (ae-forgotten-export) The symbol "GroupedExpressions" needs to be exported by the entry point index.d.ts
17
- //
18
- // (undocumented)
19
- build(outputFn?: (groups: GroupedExpressions) => string): string;
20
- // (undocumented)
21
- Not: (expression: ValidExpressionType, options?: ExpressionOptions) => this;
22
- // (undocumented)
23
- Or: (expression: ValidExpressionType, options?: ExpressionOptions) => this;
24
- // (undocumented)
25
- reset(): void;
26
- // Warning: (ae-forgotten-export) The symbol "ValidExpressionType" needs to be exported by the entry point index.d.ts
27
- // Warning: (ae-forgotten-export) The symbol "ExpressionOptions" needs to be exported by the entry point index.d.ts
28
- //
29
- // (undocumented)
30
- withExpression(expression: ValidExpressionType, options?: ExpressionOptions, groupJoin?: Join): this;
31
- }
32
-
33
- // @public
34
- export class CriteriaSegmentedControl extends FASTElement {
35
- // Warning: (ae-incompatible-release-tags) The symbol "criteriaOptions" is marked as @public, but its signature references "CriteriaSegmentedControlOption" which is marked as @internal
36
- //
37
- // (undocumented)
38
- criteriaOptions: CriteriaSegmentedControlOption[];
39
- // (undocumented)
40
- itemClickHandler(label: string): void;
41
- // @internal
42
- prefix: any;
43
- // (undocumented)
44
- selectedLabel: string;
45
- // (undocumented)
46
- selectedLabelChanged(): void;
47
- // (undocumented)
48
- value: string;
49
- // (undocumented)
50
- valueChanged(): void;
51
- }
52
-
53
- // Warning: (ae-internal-missing-underscore) The name "CriteriaSegmentedControlOption" should be prefixed with an underscore because the declaration is marked as @internal
54
- //
55
- // @internal (undocumented)
56
- export type CriteriaSegmentedControlOption = {
57
- field: string;
58
- value: unknown;
59
- serialiser: Serialiser;
60
- label: string;
61
- };
62
-
63
- // Warning: (ae-internal-missing-underscore) The name "Expression" should be prefixed with an underscore because the declaration is marked as @internal
64
- //
65
- // @internal (undocumented)
66
- export type Expression = {
67
- field: string;
68
- value: unknown;
69
- serialiser: Serialiser;
70
- params: any;
71
- valueGetter?: (value: unknown) => string;
72
- group: string;
73
- };
74
-
75
- // @public (undocumented)
76
- export class ExpressionBuilder {
77
- constructor(opts?: Partial<{
78
- field: string;
79
- value: unknown;
80
- serialiser: Serialiser;
81
- params: any;
82
- valueGetter: (value: unknown) => string;
83
- group: string;
84
- }>);
85
- // Warning: (ae-incompatible-release-tags) The symbol "build" is marked as @public, but its signature references "Expression" which is marked as @internal
86
- //
87
- // (undocumented)
88
- build: () => Expression;
89
- // (undocumented)
90
- withField(field: string): ExpressionBuilder;
91
- // (undocumented)
92
- withGroup(group: string): ExpressionBuilder;
93
- // (undocumented)
94
- withParams(params: any): ExpressionBuilder;
95
- // Warning: (ae-incompatible-release-tags) The symbol "withSerialiser" is marked as @public, but its signature references "Serialiser" which is marked as @internal
96
- //
97
- // (undocumented)
98
- withSerialiser(serialiser: Serialiser): ExpressionBuilder;
99
- // (undocumented)
100
- withValue(value: unknown): ExpressionBuilder;
101
- // (undocumented)
102
- withValueGetter(valueGetter: (value: unknown) => string): ExpressionBuilder;
103
- }
104
-
105
- // @public
106
- export type ExpressionConfig<T = unknown, V = unknown, Y = unknown> = {
107
- criteria: (value: V, filters: T) => ExpressionParams<Y> | Array<ExpressionParams<Y>>;
108
- };
109
-
110
- // @public
111
- export type ExpressionConfigMap<T, Y = unknown> = Partial<{
112
- [key in keyof T]: ExpressionConfig<T, T[key], Y>;
113
- }>;
114
-
115
- // Warning: (ae-internal-missing-underscore) The name "ExpressionList" should be prefixed with an underscore because the declaration is marked as @internal
116
- //
117
- // @internal (undocumented)
118
- export type ExpressionList = Array<Expression | Join | ExpressionList>;
119
-
120
- // Warning: (ae-forgotten-export) The symbol "ExpressionValueType" needs to be exported by the entry point index.d.ts
121
- // Warning: (ae-internal-missing-underscore) The name "ExpressionParams" should be prefixed with an underscore because the declaration is marked as @internal
122
- //
123
- // @internal (undocumented)
124
- export type ExpressionParams<GroupName = ''> = [
125
- string | string[],
126
- Serialiser,
127
- ExpressionValueType | ExpressionValueType[],
128
- boolean?,
129
- GroupName?
130
- ];
131
-
132
- // @public
133
- export class Join {
134
- // Warning: (ae-incompatible-release-tags) The symbol "__constructor" is marked as @public, but its signature references "Operator" which is marked as @internal
135
- constructor(type: Operator);
136
- // (undocumented)
137
- static And(): Join;
138
- // (undocumented)
139
- static Equal(): Join;
140
- // (undocumented)
141
- static GreaterThan(): Join;
142
- // (undocumented)
143
- static GreaterThanOrEqual(): Join;
144
- // (undocumented)
145
- static LessThan(): Join;
146
- // (undocumented)
147
- static LessThanOrEqual(): Join;
148
- // (undocumented)
149
- static Not(): Join;
150
- // (undocumented)
151
- static NotEqual(): Join;
152
- // Warning: (ae-incompatible-release-tags) The symbol "operator" is marked as @public, but its signature references "Operator" which is marked as @internal
153
- //
154
- // (undocumented)
155
- get operator(): Operator;
156
- // (undocumented)
157
- static Or(): Join;
158
- }
159
-
160
- // Warning: (ae-internal-missing-underscore) The name "Operator" should be prefixed with an underscore because the declaration is marked as @internal
161
- //
162
- // @internal (undocumented)
163
- export enum Operator {
164
- // (undocumented)
165
- AND = "&&",
166
- // (undocumented)
167
- EQ = "==",
168
- // (undocumented)
169
- GE = ">=",
170
- // (undocumented)
171
- GT = ">",
172
- // (undocumented)
173
- LE = "<=",
174
- // (undocumented)
175
- LT = "<",
176
- // (undocumented)
177
- NE = "!=",
178
- // (undocumented)
179
- NOT = "!",
180
- // (undocumented)
181
- OR = "||"
182
- }
183
-
184
- // Warning: (ae-internal-missing-underscore) The name "Serialiser" should be prefixed with an underscore because the declaration is marked as @internal
185
- //
186
- // @internal (undocumented)
187
- export type Serialiser = (e: Expression) => string;
188
-
189
- // @public
190
- export const Serialisers: {
191
- AND: (e: Expression) => string;
192
- OR: (e: Expression) => string;
193
- NOT: (e: Expression) => string;
194
- GT: (e: Expression) => string;
195
- GE: (e: Expression) => string;
196
- LT: (e: Expression) => string;
197
- LE: (e: Expression) => string;
198
- NE: (e: Expression) => string;
199
- EQ: (e: Expression) => string;
200
- equals: (e: Expression) => string;
201
- equalsIgnoreCase: (e: Expression) => string;
202
- contains: (e: Expression) => string;
203
- fieldContains: (e: Expression) => string;
204
- containsIgnoreCase: (e: Expression) => string;
205
- startsWith: (e: Expression) => string;
206
- endsWith: (e: Expression) => string;
207
- dateIsToday: (e: Expression) => string;
208
- dateIsEqual: (e: Expression) => string;
209
- dateIsGreaterEqual: (e: Expression) => string;
210
- dateIsLessEqual: (e: Expression) => string;
211
- dateTimeIsGreaterEqual: (e: Expression) => string;
212
- dateTimeIsLessEqual: (e: Expression) => string;
213
- };
214
-
215
- // Warnings were encountered during analysis:
216
- //
217
- // src/expression-builder.ts:19:7 - (ae-incompatible-release-tags) The symbol "serialiser" is marked as @public, but its signature references "Serialiser" which is marked as @internal
218
- // src/serialisers.ts:24:25 - (ae-incompatible-release-tags) The symbol "AND" is marked as @public, but its signature references "Expression" which is marked as @internal
219
- // src/serialisers.ts:26:3 - (ae-incompatible-release-tags) The symbol "OR" is marked as @public, but its signature references "Expression" which is marked as @internal
220
- // src/serialisers.ts:27:3 - (ae-incompatible-release-tags) The symbol "NOT" is marked as @public, but its signature references "Expression" which is marked as @internal
221
- // src/serialisers.ts:28:3 - (ae-incompatible-release-tags) The symbol "GT" is marked as @public, but its signature references "Expression" which is marked as @internal
222
- // src/serialisers.ts:29:3 - (ae-incompatible-release-tags) The symbol "GE" is marked as @public, but its signature references "Expression" which is marked as @internal
223
- // src/serialisers.ts:30:3 - (ae-incompatible-release-tags) The symbol "LT" is marked as @public, but its signature references "Expression" which is marked as @internal
224
- // src/serialisers.ts:31:3 - (ae-incompatible-release-tags) The symbol "LE" is marked as @public, but its signature references "Expression" which is marked as @internal
225
- // src/serialisers.ts:32:3 - (ae-incompatible-release-tags) The symbol "NE" is marked as @public, but its signature references "Expression" which is marked as @internal
226
- // src/serialisers.ts:33:3 - (ae-incompatible-release-tags) The symbol "EQ" is marked as @public, but its signature references "Expression" which is marked as @internal
227
- // src/serialisers.ts:34:3 - (ae-incompatible-release-tags) The symbol "equals" is marked as @public, but its signature references "Expression" which is marked as @internal
228
- // src/serialisers.ts:35:3 - (ae-incompatible-release-tags) The symbol "equalsIgnoreCase" is marked as @public, but its signature references "Expression" which is marked as @internal
229
- // src/serialisers.ts:36:3 - (ae-incompatible-release-tags) The symbol "contains" is marked as @public, but its signature references "Expression" which is marked as @internal
230
- // src/serialisers.ts:37:3 - (ae-incompatible-release-tags) The symbol "fieldContains" is marked as @public, but its signature references "Expression" which is marked as @internal
231
- // src/serialisers.ts:38:3 - (ae-incompatible-release-tags) The symbol "containsIgnoreCase" is marked as @public, but its signature references "Expression" which is marked as @internal
232
- // src/serialisers.ts:39:3 - (ae-incompatible-release-tags) The symbol "startsWith" is marked as @public, but its signature references "Expression" which is marked as @internal
233
- // src/serialisers.ts:40:3 - (ae-incompatible-release-tags) The symbol "endsWith" is marked as @public, but its signature references "Expression" which is marked as @internal
234
- // src/serialisers.ts:41:3 - (ae-incompatible-release-tags) The symbol "dateIsToday" is marked as @public, but its signature references "Expression" which is marked as @internal
235
- // src/serialisers.ts:42:3 - (ae-incompatible-release-tags) The symbol "dateIsEqual" is marked as @public, but its signature references "Expression" which is marked as @internal
236
- // src/serialisers.ts:43:3 - (ae-incompatible-release-tags) The symbol "dateIsGreaterEqual" is marked as @public, but its signature references "Expression" which is marked as @internal
237
- // src/serialisers.ts:44:3 - (ae-incompatible-release-tags) The symbol "dateIsLessEqual" is marked as @public, but its signature references "Expression" which is marked as @internal
238
- // src/serialisers.ts:45:3 - (ae-incompatible-release-tags) The symbol "dateTimeIsGreaterEqual" is marked as @public, but its signature references "Expression" which is marked as @internal
239
- // src/serialisers.ts:46:3 - (ae-incompatible-release-tags) The symbol "dateTimeIsLessEqual" is marked as @public, but its signature references "Expression" which is marked as @internal
240
- // src/types.ts:47:3 - (ae-incompatible-release-tags) The symbol "criteria" is marked as @public, but its signature references "ExpressionParams" which is marked as @internal
241
-
242
- // (No @packageDocumentation comment for this package)
243
-
244
- ```