@genesislcap/foundation-utils 15.32.1 → 15.33.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.
- package/dist/custom-elements.json +94 -94
- package/package.json +10 -10
|
@@ -209,6 +209,47 @@
|
|
|
209
209
|
}
|
|
210
210
|
]
|
|
211
211
|
},
|
|
212
|
+
{
|
|
213
|
+
"kind": "javascript-module",
|
|
214
|
+
"path": "src/converters/index.ts",
|
|
215
|
+
"declarations": [],
|
|
216
|
+
"exports": [
|
|
217
|
+
{
|
|
218
|
+
"kind": "js",
|
|
219
|
+
"name": "*",
|
|
220
|
+
"declaration": {
|
|
221
|
+
"name": "*",
|
|
222
|
+
"package": "./string-array-converter"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"kind": "javascript-module",
|
|
229
|
+
"path": "src/converters/string-array-converter.ts",
|
|
230
|
+
"declarations": [
|
|
231
|
+
{
|
|
232
|
+
"kind": "variable",
|
|
233
|
+
"name": "stringArrayConverter",
|
|
234
|
+
"type": {
|
|
235
|
+
"text": "ValueConverter"
|
|
236
|
+
},
|
|
237
|
+
"default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
|
|
238
|
+
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
239
|
+
"privacy": "public"
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"exports": [
|
|
243
|
+
{
|
|
244
|
+
"kind": "js",
|
|
245
|
+
"name": "stringArrayConverter",
|
|
246
|
+
"declaration": {
|
|
247
|
+
"name": "stringArrayConverter",
|
|
248
|
+
"module": "src/converters/string-array-converter.ts"
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
},
|
|
212
253
|
{
|
|
213
254
|
"kind": "javascript-module",
|
|
214
255
|
"path": "src/data/inMemoryDatabase.ts",
|
|
@@ -407,100 +448,6 @@
|
|
|
407
448
|
}
|
|
408
449
|
]
|
|
409
450
|
},
|
|
410
|
-
{
|
|
411
|
-
"kind": "javascript-module",
|
|
412
|
-
"path": "src/converters/index.ts",
|
|
413
|
-
"declarations": [],
|
|
414
|
-
"exports": [
|
|
415
|
-
{
|
|
416
|
-
"kind": "js",
|
|
417
|
-
"name": "*",
|
|
418
|
-
"declaration": {
|
|
419
|
-
"name": "*",
|
|
420
|
-
"package": "./string-array-converter"
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
]
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"kind": "javascript-module",
|
|
427
|
-
"path": "src/converters/string-array-converter.ts",
|
|
428
|
-
"declarations": [
|
|
429
|
-
{
|
|
430
|
-
"kind": "variable",
|
|
431
|
-
"name": "stringArrayConverter",
|
|
432
|
-
"type": {
|
|
433
|
-
"text": "ValueConverter"
|
|
434
|
-
},
|
|
435
|
-
"default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
|
|
436
|
-
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
437
|
-
"privacy": "public"
|
|
438
|
-
}
|
|
439
|
-
],
|
|
440
|
-
"exports": [
|
|
441
|
-
{
|
|
442
|
-
"kind": "js",
|
|
443
|
-
"name": "stringArrayConverter",
|
|
444
|
-
"declaration": {
|
|
445
|
-
"name": "stringArrayConverter",
|
|
446
|
-
"module": "src/converters/string-array-converter.ts"
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
]
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"kind": "javascript-module",
|
|
453
|
-
"path": "src/decorators/index.ts",
|
|
454
|
-
"declarations": [],
|
|
455
|
-
"exports": [
|
|
456
|
-
{
|
|
457
|
-
"kind": "js",
|
|
458
|
-
"name": "*",
|
|
459
|
-
"declaration": {
|
|
460
|
-
"name": "*",
|
|
461
|
-
"package": "./renderOnChange"
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
]
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
"kind": "javascript-module",
|
|
468
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
469
|
-
"declarations": [
|
|
470
|
-
{
|
|
471
|
-
"kind": "function",
|
|
472
|
-
"name": "renderOnChange",
|
|
473
|
-
"parameters": [
|
|
474
|
-
{
|
|
475
|
-
"name": "target",
|
|
476
|
-
"type": {
|
|
477
|
-
"text": "FASTElement & { render(): void }"
|
|
478
|
-
},
|
|
479
|
-
"description": "The target to define the property change handler on."
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"name": "name",
|
|
483
|
-
"type": {
|
|
484
|
-
"text": "string"
|
|
485
|
-
},
|
|
486
|
-
"description": "The property name."
|
|
487
|
-
}
|
|
488
|
-
],
|
|
489
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
490
|
-
"privacy": "public"
|
|
491
|
-
}
|
|
492
|
-
],
|
|
493
|
-
"exports": [
|
|
494
|
-
{
|
|
495
|
-
"kind": "js",
|
|
496
|
-
"name": "renderOnChange",
|
|
497
|
-
"declaration": {
|
|
498
|
-
"name": "renderOnChange",
|
|
499
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
]
|
|
503
|
-
},
|
|
504
451
|
{
|
|
505
452
|
"kind": "javascript-module",
|
|
506
453
|
"path": "src/design-system/design-system.ts",
|
|
@@ -741,6 +688,59 @@
|
|
|
741
688
|
}
|
|
742
689
|
]
|
|
743
690
|
},
|
|
691
|
+
{
|
|
692
|
+
"kind": "javascript-module",
|
|
693
|
+
"path": "src/decorators/index.ts",
|
|
694
|
+
"declarations": [],
|
|
695
|
+
"exports": [
|
|
696
|
+
{
|
|
697
|
+
"kind": "js",
|
|
698
|
+
"name": "*",
|
|
699
|
+
"declaration": {
|
|
700
|
+
"name": "*",
|
|
701
|
+
"package": "./renderOnChange"
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
]
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"kind": "javascript-module",
|
|
708
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
709
|
+
"declarations": [
|
|
710
|
+
{
|
|
711
|
+
"kind": "function",
|
|
712
|
+
"name": "renderOnChange",
|
|
713
|
+
"parameters": [
|
|
714
|
+
{
|
|
715
|
+
"name": "target",
|
|
716
|
+
"type": {
|
|
717
|
+
"text": "FASTElement & { render(): void }"
|
|
718
|
+
},
|
|
719
|
+
"description": "The target to define the property change handler on."
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"name": "name",
|
|
723
|
+
"type": {
|
|
724
|
+
"text": "string"
|
|
725
|
+
},
|
|
726
|
+
"description": "The property name."
|
|
727
|
+
}
|
|
728
|
+
],
|
|
729
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
730
|
+
"privacy": "public"
|
|
731
|
+
}
|
|
732
|
+
],
|
|
733
|
+
"exports": [
|
|
734
|
+
{
|
|
735
|
+
"kind": "js",
|
|
736
|
+
"name": "renderOnChange",
|
|
737
|
+
"declaration": {
|
|
738
|
+
"name": "renderOnChange",
|
|
739
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
]
|
|
743
|
+
},
|
|
744
744
|
{
|
|
745
745
|
"kind": "javascript-module",
|
|
746
746
|
"path": "src/env/index.ts",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-utils",
|
|
3
3
|
"description": "Genesis Foundation Utils",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.33.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@genesislcap/foundation-testing": "15.
|
|
33
|
-
"@genesislcap/genx": "15.
|
|
34
|
-
"@genesislcap/rollup-builder": "15.
|
|
35
|
-
"@genesislcap/ts-builder": "15.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
37
|
-
"@genesislcap/vite-builder": "15.
|
|
38
|
-
"@genesislcap/webpack-builder": "15.
|
|
32
|
+
"@genesislcap/foundation-testing": "15.33.0",
|
|
33
|
+
"@genesislcap/genx": "15.33.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "15.33.0",
|
|
35
|
+
"@genesislcap/ts-builder": "15.33.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "15.33.0",
|
|
37
|
+
"@genesislcap/vite-builder": "15.33.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "15.33.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "15.
|
|
43
|
-
"@genesislcap/foundation-logger": "15.
|
|
42
|
+
"@genesislcap/expression-builder": "15.33.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "15.33.0",
|
|
44
44
|
"@microsoft/fast-components": "2.30.6",
|
|
45
45
|
"@microsoft/fast-element": "1.14.0",
|
|
46
46
|
"@microsoft/fast-foundation": "2.50.0",
|