@genesislcap/foundation-utils 14.458.3-alpha-cdd1303e9.0 → 14.459.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 +132 -132
- package/package.json +11 -11
|
@@ -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/design-system/design-system.ts",
|
|
@@ -411,85 +452,6 @@
|
|
|
411
452
|
}
|
|
412
453
|
]
|
|
413
454
|
},
|
|
414
|
-
{
|
|
415
|
-
"kind": "javascript-module",
|
|
416
|
-
"path": "src/directives/index.ts",
|
|
417
|
-
"declarations": [],
|
|
418
|
-
"exports": [
|
|
419
|
-
{
|
|
420
|
-
"kind": "js",
|
|
421
|
-
"name": "*",
|
|
422
|
-
"declaration": {
|
|
423
|
-
"name": "*",
|
|
424
|
-
"package": "./sync"
|
|
425
|
-
}
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
"kind": "js",
|
|
429
|
-
"name": "*",
|
|
430
|
-
"declaration": {
|
|
431
|
-
"name": "*",
|
|
432
|
-
"package": "./when-else"
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
]
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
"kind": "javascript-module",
|
|
439
|
-
"path": "src/converters/index.ts",
|
|
440
|
-
"declarations": [],
|
|
441
|
-
"exports": [
|
|
442
|
-
{
|
|
443
|
-
"kind": "js",
|
|
444
|
-
"name": "*",
|
|
445
|
-
"declaration": {
|
|
446
|
-
"name": "*",
|
|
447
|
-
"package": "./string-array-converter"
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
]
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
"kind": "javascript-module",
|
|
454
|
-
"path": "src/converters/string-array-converter.ts",
|
|
455
|
-
"declarations": [
|
|
456
|
-
{
|
|
457
|
-
"kind": "variable",
|
|
458
|
-
"name": "stringArrayConverter",
|
|
459
|
-
"type": {
|
|
460
|
-
"text": "ValueConverter"
|
|
461
|
-
},
|
|
462
|
-
"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}",
|
|
463
|
-
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
464
|
-
"privacy": "public"
|
|
465
|
-
}
|
|
466
|
-
],
|
|
467
|
-
"exports": [
|
|
468
|
-
{
|
|
469
|
-
"kind": "js",
|
|
470
|
-
"name": "stringArrayConverter",
|
|
471
|
-
"declaration": {
|
|
472
|
-
"name": "stringArrayConverter",
|
|
473
|
-
"module": "src/converters/string-array-converter.ts"
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
]
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
"kind": "javascript-module",
|
|
480
|
-
"path": "src/encoding/index.ts",
|
|
481
|
-
"declarations": [],
|
|
482
|
-
"exports": [
|
|
483
|
-
{
|
|
484
|
-
"kind": "js",
|
|
485
|
-
"name": "*",
|
|
486
|
-
"declaration": {
|
|
487
|
-
"name": "*",
|
|
488
|
-
"package": "./base64"
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
]
|
|
492
|
-
},
|
|
493
455
|
{
|
|
494
456
|
"kind": "javascript-module",
|
|
495
457
|
"path": "src/data/inMemoryDatabase.ts",
|
|
@@ -688,6 +650,97 @@
|
|
|
688
650
|
}
|
|
689
651
|
]
|
|
690
652
|
},
|
|
653
|
+
{
|
|
654
|
+
"kind": "javascript-module",
|
|
655
|
+
"path": "src/directives/index.ts",
|
|
656
|
+
"declarations": [],
|
|
657
|
+
"exports": [
|
|
658
|
+
{
|
|
659
|
+
"kind": "js",
|
|
660
|
+
"name": "*",
|
|
661
|
+
"declaration": {
|
|
662
|
+
"name": "*",
|
|
663
|
+
"package": "./sync"
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"kind": "js",
|
|
668
|
+
"name": "*",
|
|
669
|
+
"declaration": {
|
|
670
|
+
"name": "*",
|
|
671
|
+
"package": "./when-else"
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
]
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"kind": "javascript-module",
|
|
678
|
+
"path": "src/encoding/index.ts",
|
|
679
|
+
"declarations": [],
|
|
680
|
+
"exports": [
|
|
681
|
+
{
|
|
682
|
+
"kind": "js",
|
|
683
|
+
"name": "*",
|
|
684
|
+
"declaration": {
|
|
685
|
+
"name": "*",
|
|
686
|
+
"package": "./base64"
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
]
|
|
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
|
+
},
|
|
691
744
|
{
|
|
692
745
|
"kind": "javascript-module",
|
|
693
746
|
"path": "src/env/index.ts",
|
|
@@ -1163,59 +1216,6 @@
|
|
|
1163
1216
|
}
|
|
1164
1217
|
]
|
|
1165
1218
|
},
|
|
1166
|
-
{
|
|
1167
|
-
"kind": "javascript-module",
|
|
1168
|
-
"path": "src/decorators/index.ts",
|
|
1169
|
-
"declarations": [],
|
|
1170
|
-
"exports": [
|
|
1171
|
-
{
|
|
1172
|
-
"kind": "js",
|
|
1173
|
-
"name": "*",
|
|
1174
|
-
"declaration": {
|
|
1175
|
-
"name": "*",
|
|
1176
|
-
"package": "./renderOnChange"
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
]
|
|
1180
|
-
},
|
|
1181
|
-
{
|
|
1182
|
-
"kind": "javascript-module",
|
|
1183
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
1184
|
-
"declarations": [
|
|
1185
|
-
{
|
|
1186
|
-
"kind": "function",
|
|
1187
|
-
"name": "renderOnChange",
|
|
1188
|
-
"parameters": [
|
|
1189
|
-
{
|
|
1190
|
-
"name": "target",
|
|
1191
|
-
"type": {
|
|
1192
|
-
"text": "FASTElement & { render(): void }"
|
|
1193
|
-
},
|
|
1194
|
-
"description": "The target to define the property change handler on."
|
|
1195
|
-
},
|
|
1196
|
-
{
|
|
1197
|
-
"name": "name",
|
|
1198
|
-
"type": {
|
|
1199
|
-
"text": "string"
|
|
1200
|
-
},
|
|
1201
|
-
"description": "The property name."
|
|
1202
|
-
}
|
|
1203
|
-
],
|
|
1204
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
1205
|
-
"privacy": "public"
|
|
1206
|
-
}
|
|
1207
|
-
],
|
|
1208
|
-
"exports": [
|
|
1209
|
-
{
|
|
1210
|
-
"kind": "js",
|
|
1211
|
-
"name": "renderOnChange",
|
|
1212
|
-
"declaration": {
|
|
1213
|
-
"name": "renderOnChange",
|
|
1214
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1217
|
-
]
|
|
1218
|
-
},
|
|
1219
1219
|
{
|
|
1220
1220
|
"kind": "javascript-module",
|
|
1221
1221
|
"path": "src/error/errorMap.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": "14.
|
|
4
|
+
"version": "14.459.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": "14.
|
|
33
|
-
"@genesislcap/genx": "14.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.
|
|
35
|
-
"@genesislcap/ts-builder": "14.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
37
|
-
"@genesislcap/vite-builder": "14.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.459.0",
|
|
33
|
+
"@genesislcap/genx": "14.459.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.459.0",
|
|
35
|
+
"@genesislcap/ts-builder": "14.459.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.459.0",
|
|
37
|
+
"@genesislcap/vite-builder": "14.459.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.459.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.
|
|
42
|
+
"@genesislcap/expression-builder": "14.459.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.459.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",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"customElements": "dist/custom-elements.json",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "b501804b11ff99945c7c6d2afbe7a101e1bb735a"
|
|
62
62
|
}
|