@genesislcap/foundation-criteria 14.225.3 → 14.225.4-alpha-5f6eefd.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/form-criteria-builder.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/dts/utils.d.ts +1 -1
- package/dist/dts/utils.d.ts.map +1 -1
- package/dist/foundation-criteria.api.json +38 -15
- package/docs/api/foundation-criteria.createformcriteriabuilder.md +12 -1
- package/docs/api/foundation-criteria.md +6 -1
- package/package.json +12 -12
- /package/docs/{api-report.md → api-report.md.api.md} +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"form-criteria-builder.d.ts","sourceRoot":"","sources":["../../src/form-criteria-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,gBAAgB,EAAQ,MAAM,SAAS,CAAC;AAGjD;;GAEG;AACH,eAAO,MAAM,yBAAyB,uBACf,eAAe,cAC3B,gBAAgB,aAAa,GAAG,
|
1
|
+
{"version":3,"file":"form-criteria-builder.d.ts","sourceRoot":"","sources":["../../src/form-criteria-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,gBAAgB,EAAQ,MAAM,SAAS,CAAC;AAGjD;;GAEG;AACH,eAAO,MAAM,yBAAyB,uBACf,eAAe,cAC3B,gBAAgB,aAAa,GAAG,YAAY,CAAC,SAyCrD,CAAC"}
|
package/dist/dts/utils.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ExpressionParams } from './types';
|
2
2
|
export declare const interleave: <T extends unknown[]>(source: T, obj: unknown) => unknown[];
|
3
3
|
export declare const ensureArray: (value: any) => any[];
|
4
|
-
export declare const isExpressionParams: (value: any) => value is ExpressionParams
|
4
|
+
export declare const isExpressionParams: (value: any) => value is ExpressionParams;
|
5
5
|
//# sourceMappingURL=utils.d.ts.map
|
package/dist/dts/utils.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,UAAU,
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,UAAU,gCAAsC,CAAC,OAAO,OAAO,cAGc,CAAC;AAE3F,eAAO,MAAM,WAAW,UAAW,GAAG,UAA6C,CAAC;AAEpF,eAAO,MAAM,kBAAkB,UAAW,GAAG,8BAKE,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"metadata": {
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
4
|
-
"toolVersion": "7.
|
4
|
+
"toolVersion": "7.48.0",
|
5
5
|
"schemaVersion": 1011,
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
7
7
|
"tsdocConfig": {
|
@@ -173,17 +173,13 @@
|
|
173
173
|
"preserveMemberOrder": false,
|
174
174
|
"members": [
|
175
175
|
{
|
176
|
-
"kind": "
|
177
|
-
"canonicalReference": "@genesislcap/foundation-criteria!createFormCriteriaBuilder:
|
176
|
+
"kind": "Function",
|
177
|
+
"canonicalReference": "@genesislcap/foundation-criteria!createFormCriteriaBuilder:function(1)",
|
178
178
|
"docComment": "/**\n * @public\n */\n",
|
179
179
|
"excerptTokens": [
|
180
180
|
{
|
181
181
|
"kind": "Content",
|
182
|
-
"text": "createFormCriteriaBuilder: "
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"kind": "Content",
|
186
|
-
"text": "<T>(criteriaBuilder: "
|
182
|
+
"text": "createFormCriteriaBuilder: <T>(criteriaBuilder: "
|
187
183
|
},
|
188
184
|
{
|
189
185
|
"kind": "Reference",
|
@@ -192,7 +188,11 @@
|
|
192
188
|
},
|
193
189
|
{
|
194
190
|
"kind": "Content",
|
195
|
-
"text": ") =>
|
191
|
+
"text": ") => "
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"kind": "Content",
|
195
|
+
"text": "(config: "
|
196
196
|
},
|
197
197
|
{
|
198
198
|
"kind": "Reference",
|
@@ -205,13 +205,36 @@
|
|
205
205
|
}
|
206
206
|
],
|
207
207
|
"fileUrlPath": "src/form-criteria-builder.ts",
|
208
|
-
"
|
209
|
-
|
210
|
-
"name": "createFormCriteriaBuilder",
|
211
|
-
"variableTypeTokenRange": {
|
212
|
-
"startIndex": 1,
|
208
|
+
"returnTypeTokenRange": {
|
209
|
+
"startIndex": 3,
|
213
210
|
"endIndex": 6
|
214
|
-
}
|
211
|
+
},
|
212
|
+
"releaseTag": "Public",
|
213
|
+
"overloadIndex": 1,
|
214
|
+
"parameters": [
|
215
|
+
{
|
216
|
+
"parameterName": "criteriaBuilder",
|
217
|
+
"parameterTypeTokenRange": {
|
218
|
+
"startIndex": 1,
|
219
|
+
"endIndex": 2
|
220
|
+
},
|
221
|
+
"isOptional": false
|
222
|
+
}
|
223
|
+
],
|
224
|
+
"typeParameters": [
|
225
|
+
{
|
226
|
+
"typeParameterName": "T",
|
227
|
+
"constraintTokenRange": {
|
228
|
+
"startIndex": 0,
|
229
|
+
"endIndex": 0
|
230
|
+
},
|
231
|
+
"defaultTypeTokenRange": {
|
232
|
+
"startIndex": 0,
|
233
|
+
"endIndex": 0
|
234
|
+
}
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"name": "createFormCriteriaBuilder"
|
215
238
|
},
|
216
239
|
{
|
217
240
|
"kind": "Class",
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-criteria](./foundation-criteria.md) > [createFormCriteriaBuilder](./foundation-criteria.createformcriteriabuilder.md)
|
4
4
|
|
5
|
-
## createFormCriteriaBuilder
|
5
|
+
## createFormCriteriaBuilder() function
|
6
6
|
|
7
7
|
|
8
8
|
**Signature:**
|
@@ -10,3 +10,14 @@
|
|
10
10
|
```typescript
|
11
11
|
createFormCriteriaBuilder: <T>(criteriaBuilder: CriteriaBuilder) => (config: ExpressionConfig, formValue: any, formData: T) => void
|
12
12
|
```
|
13
|
+
|
14
|
+
## Parameters
|
15
|
+
|
16
|
+
| Parameter | Type | Description |
|
17
|
+
| --- | --- | --- |
|
18
|
+
| criteriaBuilder | [CriteriaBuilder](./foundation-criteria.criteriabuilder.md) | |
|
19
|
+
|
20
|
+
**Returns:**
|
21
|
+
|
22
|
+
(config: [ExpressionConfig](./foundation-criteria.expressionconfig.md)<!-- -->, formValue: any, formData: T) => void
|
23
|
+
|
@@ -13,11 +13,16 @@
|
|
13
13
|
| [ExpressionBuilder](./foundation-criteria.expressionbuilder.md) | |
|
14
14
|
| [Join](./foundation-criteria.join.md) | Used to describe how Expressions are joined |
|
15
15
|
|
16
|
+
## Functions
|
17
|
+
|
18
|
+
| Function | Description |
|
19
|
+
| --- | --- |
|
20
|
+
| [createFormCriteriaBuilder(criteriaBuilder)](./foundation-criteria.createformcriteriabuilder.md) | |
|
21
|
+
|
16
22
|
## Variables
|
17
23
|
|
18
24
|
| Variable | Description |
|
19
25
|
| --- | --- |
|
20
|
-
| [createFormCriteriaBuilder](./foundation-criteria.createformcriteriabuilder.md) | |
|
21
26
|
| [Serialisers](./foundation-criteria.serialisers.md) | Functions to to serialise an Expression to a string |
|
22
27
|
|
23
28
|
## Type Aliases
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@genesislcap/foundation-criteria",
|
3
3
|
"description": "Genesis Foundation UI Criteria Utils",
|
4
|
-
"version": "14.225.
|
4
|
+
"version": "14.225.4-alpha-5f6eefd.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -49,20 +49,20 @@
|
|
49
49
|
}
|
50
50
|
},
|
51
51
|
"devDependencies": {
|
52
|
-
"@genesislcap/foundation-testing": "14.225.
|
53
|
-
"@genesislcap/genx": "14.225.
|
54
|
-
"@genesislcap/rollup-builder": "14.225.
|
55
|
-
"@genesislcap/ts-builder": "14.225.
|
56
|
-
"@genesislcap/uvu-playwright-builder": "14.225.
|
57
|
-
"@genesislcap/vite-builder": "14.225.
|
58
|
-
"@genesislcap/webpack-builder": "14.225.
|
52
|
+
"@genesislcap/foundation-testing": "14.225.4-alpha-5f6eefd.0",
|
53
|
+
"@genesislcap/genx": "14.225.4-alpha-5f6eefd.0",
|
54
|
+
"@genesislcap/rollup-builder": "14.225.4-alpha-5f6eefd.0",
|
55
|
+
"@genesislcap/ts-builder": "14.225.4-alpha-5f6eefd.0",
|
56
|
+
"@genesislcap/uvu-playwright-builder": "14.225.4-alpha-5f6eefd.0",
|
57
|
+
"@genesislcap/vite-builder": "14.225.4-alpha-5f6eefd.0",
|
58
|
+
"@genesislcap/webpack-builder": "14.225.4-alpha-5f6eefd.0",
|
59
59
|
"rimraf": "^5.0.0"
|
60
60
|
},
|
61
61
|
"dependencies": {
|
62
|
-
"@genesislcap/foundation-logger": "14.225.
|
63
|
-
"@genesislcap/foundation-utils": "14.225.
|
62
|
+
"@genesislcap/foundation-logger": "14.225.4-alpha-5f6eefd.0",
|
63
|
+
"@genesislcap/foundation-utils": "14.225.4-alpha-5f6eefd.0",
|
64
64
|
"@microsoft/fast-element": "1.14.0",
|
65
|
-
"tslib": "
|
65
|
+
"tslib": "2.8.1"
|
66
66
|
},
|
67
67
|
"repository": {
|
68
68
|
"type": "git",
|
@@ -72,5 +72,5 @@
|
|
72
72
|
"publishConfig": {
|
73
73
|
"access": "public"
|
74
74
|
},
|
75
|
-
"gitHead": "
|
75
|
+
"gitHead": "232162ffe08f1239c9af3c85819c422c4a68db00"
|
76
76
|
}
|
File without changes
|