@genesislcap/foundation-utils 14.409.0-FUI-2495.9 → 14.409.0-FUI-2495.11
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 +153 -153
- package/package.json +11 -11
|
@@ -211,112 +211,83 @@
|
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
"kind": "javascript-module",
|
|
214
|
-
"path": "src/
|
|
215
|
-
"declarations": [
|
|
216
|
-
|
|
217
|
-
"kind": "function",
|
|
218
|
-
"name": "assureDesignSystem",
|
|
219
|
-
"return": {
|
|
220
|
-
"type": {
|
|
221
|
-
"text": "DesignSystemModule"
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
"parameters": [
|
|
225
|
-
{
|
|
226
|
-
"name": "module",
|
|
227
|
-
"type": {
|
|
228
|
-
"text": "DesignSystemModule"
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
],
|
|
232
|
-
"description": "assureDesignSystem.",
|
|
233
|
-
"privacy": "public"
|
|
234
|
-
},
|
|
214
|
+
"path": "src/decorators/index.ts",
|
|
215
|
+
"declarations": [],
|
|
216
|
+
"exports": [
|
|
235
217
|
{
|
|
236
|
-
"kind": "
|
|
237
|
-
"name": "
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
"description": "The starting HTML element"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"name": "fallbackPrefix",
|
|
253
|
-
"type": {
|
|
254
|
-
"text": "string"
|
|
255
|
-
},
|
|
256
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
257
|
-
}
|
|
258
|
-
],
|
|
259
|
-
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
260
|
-
"privacy": "public"
|
|
261
|
-
},
|
|
218
|
+
"kind": "js",
|
|
219
|
+
"name": "*",
|
|
220
|
+
"declaration": {
|
|
221
|
+
"name": "*",
|
|
222
|
+
"package": "./renderOnChange"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"kind": "javascript-module",
|
|
229
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
230
|
+
"declarations": [
|
|
262
231
|
{
|
|
263
232
|
"kind": "function",
|
|
264
|
-
"name": "
|
|
265
|
-
"return": {
|
|
266
|
-
"type": {
|
|
267
|
-
"text": ""
|
|
268
|
-
}
|
|
269
|
-
},
|
|
233
|
+
"name": "renderOnChange",
|
|
270
234
|
"parameters": [
|
|
271
235
|
{
|
|
272
|
-
"name": "
|
|
236
|
+
"name": "target",
|
|
273
237
|
"type": {
|
|
274
|
-
"text": "
|
|
238
|
+
"text": "FASTElement & { render(): void }"
|
|
275
239
|
},
|
|
276
|
-
"description": "The
|
|
240
|
+
"description": "The target to define the property change handler on."
|
|
277
241
|
},
|
|
278
242
|
{
|
|
279
|
-
"name": "
|
|
243
|
+
"name": "name",
|
|
280
244
|
"type": {
|
|
281
245
|
"text": "string"
|
|
282
246
|
},
|
|
283
|
-
"description": "The
|
|
247
|
+
"description": "The property name."
|
|
284
248
|
}
|
|
285
249
|
],
|
|
286
|
-
"description": "
|
|
250
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
287
251
|
"privacy": "public"
|
|
288
252
|
}
|
|
289
253
|
],
|
|
290
254
|
"exports": [
|
|
291
255
|
{
|
|
292
256
|
"kind": "js",
|
|
293
|
-
"name": "
|
|
257
|
+
"name": "renderOnChange",
|
|
294
258
|
"declaration": {
|
|
295
|
-
"name": "
|
|
296
|
-
"module": "src/
|
|
259
|
+
"name": "renderOnChange",
|
|
260
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
297
261
|
}
|
|
298
|
-
}
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"kind": "javascript-module",
|
|
267
|
+
"path": "src/directives/index.ts",
|
|
268
|
+
"declarations": [],
|
|
269
|
+
"exports": [
|
|
299
270
|
{
|
|
300
271
|
"kind": "js",
|
|
301
|
-
"name": "
|
|
272
|
+
"name": "*",
|
|
302
273
|
"declaration": {
|
|
303
|
-
"name": "
|
|
304
|
-
"
|
|
274
|
+
"name": "*",
|
|
275
|
+
"package": "./sync"
|
|
305
276
|
}
|
|
306
277
|
},
|
|
307
278
|
{
|
|
308
279
|
"kind": "js",
|
|
309
|
-
"name": "
|
|
280
|
+
"name": "*",
|
|
310
281
|
"declaration": {
|
|
311
|
-
"name": "
|
|
312
|
-
"
|
|
282
|
+
"name": "*",
|
|
283
|
+
"package": "./when-else"
|
|
313
284
|
}
|
|
314
285
|
}
|
|
315
286
|
]
|
|
316
287
|
},
|
|
317
288
|
{
|
|
318
289
|
"kind": "javascript-module",
|
|
319
|
-
"path": "src/
|
|
290
|
+
"path": "src/encoding/index.ts",
|
|
320
291
|
"declarations": [],
|
|
321
292
|
"exports": [
|
|
322
293
|
{
|
|
@@ -324,14 +295,14 @@
|
|
|
324
295
|
"name": "*",
|
|
325
296
|
"declaration": {
|
|
326
297
|
"name": "*",
|
|
327
|
-
"package": "./
|
|
298
|
+
"package": "./base64"
|
|
328
299
|
}
|
|
329
300
|
}
|
|
330
301
|
]
|
|
331
302
|
},
|
|
332
303
|
{
|
|
333
304
|
"kind": "javascript-module",
|
|
334
|
-
"path": "src/
|
|
305
|
+
"path": "src/converters/index.ts",
|
|
335
306
|
"declarations": [],
|
|
336
307
|
"exports": [
|
|
337
308
|
{
|
|
@@ -339,30 +310,33 @@
|
|
|
339
310
|
"name": "*",
|
|
340
311
|
"declaration": {
|
|
341
312
|
"name": "*",
|
|
342
|
-
"package": "./
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"kind": "js",
|
|
347
|
-
"name": "*",
|
|
348
|
-
"declaration": {
|
|
349
|
-
"name": "*",
|
|
350
|
-
"package": "./when-else"
|
|
313
|
+
"package": "./string-array-converter"
|
|
351
314
|
}
|
|
352
315
|
}
|
|
353
316
|
]
|
|
354
317
|
},
|
|
355
318
|
{
|
|
356
319
|
"kind": "javascript-module",
|
|
357
|
-
"path": "src/
|
|
358
|
-
"declarations": [
|
|
320
|
+
"path": "src/converters/string-array-converter.ts",
|
|
321
|
+
"declarations": [
|
|
322
|
+
{
|
|
323
|
+
"kind": "variable",
|
|
324
|
+
"name": "stringArrayConverter",
|
|
325
|
+
"type": {
|
|
326
|
+
"text": "ValueConverter"
|
|
327
|
+
},
|
|
328
|
+
"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}",
|
|
329
|
+
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
330
|
+
"privacy": "public"
|
|
331
|
+
}
|
|
332
|
+
],
|
|
359
333
|
"exports": [
|
|
360
334
|
{
|
|
361
335
|
"kind": "js",
|
|
362
|
-
"name": "
|
|
336
|
+
"name": "stringArrayConverter",
|
|
363
337
|
"declaration": {
|
|
364
|
-
"name": "
|
|
365
|
-
"
|
|
338
|
+
"name": "stringArrayConverter",
|
|
339
|
+
"module": "src/converters/string-array-converter.ts"
|
|
366
340
|
}
|
|
367
341
|
}
|
|
368
342
|
]
|
|
@@ -842,47 +816,6 @@
|
|
|
842
816
|
}
|
|
843
817
|
]
|
|
844
818
|
},
|
|
845
|
-
{
|
|
846
|
-
"kind": "javascript-module",
|
|
847
|
-
"path": "src/converters/index.ts",
|
|
848
|
-
"declarations": [],
|
|
849
|
-
"exports": [
|
|
850
|
-
{
|
|
851
|
-
"kind": "js",
|
|
852
|
-
"name": "*",
|
|
853
|
-
"declaration": {
|
|
854
|
-
"name": "*",
|
|
855
|
-
"package": "./string-array-converter"
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
]
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
"kind": "javascript-module",
|
|
862
|
-
"path": "src/converters/string-array-converter.ts",
|
|
863
|
-
"declarations": [
|
|
864
|
-
{
|
|
865
|
-
"kind": "variable",
|
|
866
|
-
"name": "stringArrayConverter",
|
|
867
|
-
"type": {
|
|
868
|
-
"text": "ValueConverter"
|
|
869
|
-
},
|
|
870
|
-
"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}",
|
|
871
|
-
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
872
|
-
"privacy": "public"
|
|
873
|
-
}
|
|
874
|
-
],
|
|
875
|
-
"exports": [
|
|
876
|
-
{
|
|
877
|
-
"kind": "js",
|
|
878
|
-
"name": "stringArrayConverter",
|
|
879
|
-
"declaration": {
|
|
880
|
-
"name": "stringArrayConverter",
|
|
881
|
-
"module": "src/converters/string-array-converter.ts"
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
]
|
|
885
|
-
},
|
|
886
819
|
{
|
|
887
820
|
"kind": "javascript-module",
|
|
888
821
|
"path": "src/data/inMemoryDatabase.ts",
|
|
@@ -1083,53 +1016,120 @@
|
|
|
1083
1016
|
},
|
|
1084
1017
|
{
|
|
1085
1018
|
"kind": "javascript-module",
|
|
1086
|
-
"path": "src/
|
|
1087
|
-
"declarations": [],
|
|
1088
|
-
"exports": [
|
|
1089
|
-
{
|
|
1090
|
-
"kind": "js",
|
|
1091
|
-
"name": "*",
|
|
1092
|
-
"declaration": {
|
|
1093
|
-
"name": "*",
|
|
1094
|
-
"package": "./renderOnChange"
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
]
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
"kind": "javascript-module",
|
|
1101
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
1019
|
+
"path": "src/design-system/design-system.ts",
|
|
1102
1020
|
"declarations": [
|
|
1103
1021
|
{
|
|
1104
1022
|
"kind": "function",
|
|
1105
|
-
"name": "
|
|
1023
|
+
"name": "assureDesignSystem",
|
|
1024
|
+
"return": {
|
|
1025
|
+
"type": {
|
|
1026
|
+
"text": "DesignSystemModule"
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1106
1029
|
"parameters": [
|
|
1107
1030
|
{
|
|
1108
|
-
"name": "
|
|
1031
|
+
"name": "module",
|
|
1109
1032
|
"type": {
|
|
1110
|
-
"text": "
|
|
1033
|
+
"text": "DesignSystemModule"
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
],
|
|
1037
|
+
"description": "assureDesignSystem.",
|
|
1038
|
+
"privacy": "public"
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"kind": "function",
|
|
1042
|
+
"name": "getCurrentDesignSystem",
|
|
1043
|
+
"return": {
|
|
1044
|
+
"type": {
|
|
1045
|
+
"text": ""
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
"parameters": [
|
|
1049
|
+
{
|
|
1050
|
+
"name": "element",
|
|
1051
|
+
"type": {
|
|
1052
|
+
"text": "HTMLElement"
|
|
1111
1053
|
},
|
|
1112
|
-
"description": "The
|
|
1054
|
+
"description": "The starting HTML element"
|
|
1113
1055
|
},
|
|
1114
1056
|
{
|
|
1115
|
-
"name": "
|
|
1057
|
+
"name": "fallbackPrefix",
|
|
1116
1058
|
"type": {
|
|
1117
1059
|
"text": "string"
|
|
1118
1060
|
},
|
|
1119
|
-
"description": "The
|
|
1061
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
1120
1062
|
}
|
|
1121
1063
|
],
|
|
1122
|
-
"description": "
|
|
1064
|
+
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
1065
|
+
"privacy": "public"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"kind": "function",
|
|
1069
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
1070
|
+
"return": {
|
|
1071
|
+
"type": {
|
|
1072
|
+
"text": ""
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"parameters": [
|
|
1076
|
+
{
|
|
1077
|
+
"name": "element",
|
|
1078
|
+
"type": {
|
|
1079
|
+
"text": "HTMLElement"
|
|
1080
|
+
},
|
|
1081
|
+
"description": "The starting HTML element"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"name": "fallbackPrefix",
|
|
1085
|
+
"type": {
|
|
1086
|
+
"text": "string"
|
|
1087
|
+
},
|
|
1088
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
1089
|
+
}
|
|
1090
|
+
],
|
|
1091
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
1123
1092
|
"privacy": "public"
|
|
1124
1093
|
}
|
|
1125
1094
|
],
|
|
1126
1095
|
"exports": [
|
|
1127
1096
|
{
|
|
1128
1097
|
"kind": "js",
|
|
1129
|
-
"name": "
|
|
1098
|
+
"name": "assureDesignSystem",
|
|
1130
1099
|
"declaration": {
|
|
1131
|
-
"name": "
|
|
1132
|
-
"module": "src/
|
|
1100
|
+
"name": "assureDesignSystem",
|
|
1101
|
+
"module": "src/design-system/design-system.ts"
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"kind": "js",
|
|
1106
|
+
"name": "getCurrentDesignSystem",
|
|
1107
|
+
"declaration": {
|
|
1108
|
+
"name": "getCurrentDesignSystem",
|
|
1109
|
+
"module": "src/design-system/design-system.ts"
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"kind": "js",
|
|
1114
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
1115
|
+
"declaration": {
|
|
1116
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
1117
|
+
"module": "src/design-system/design-system.ts"
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
]
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"kind": "javascript-module",
|
|
1124
|
+
"path": "src/design-system/index.ts",
|
|
1125
|
+
"declarations": [],
|
|
1126
|
+
"exports": [
|
|
1127
|
+
{
|
|
1128
|
+
"kind": "js",
|
|
1129
|
+
"name": "*",
|
|
1130
|
+
"declaration": {
|
|
1131
|
+
"name": "*",
|
|
1132
|
+
"package": "./design-system"
|
|
1133
1133
|
}
|
|
1134
1134
|
}
|
|
1135
1135
|
]
|
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.409.0-FUI-2495.
|
|
4
|
+
"version": "14.409.0-FUI-2495.11",
|
|
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.409.0-FUI-2495.
|
|
33
|
-
"@genesislcap/genx": "14.409.0-FUI-2495.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.409.0-FUI-2495.
|
|
35
|
-
"@genesislcap/ts-builder": "14.409.0-FUI-2495.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.409.0-FUI-2495.
|
|
37
|
-
"@genesislcap/vite-builder": "14.409.0-FUI-2495.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.409.0-FUI-2495.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.409.0-FUI-2495.11",
|
|
33
|
+
"@genesislcap/genx": "14.409.0-FUI-2495.11",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.409.0-FUI-2495.11",
|
|
35
|
+
"@genesislcap/ts-builder": "14.409.0-FUI-2495.11",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.409.0-FUI-2495.11",
|
|
37
|
+
"@genesislcap/vite-builder": "14.409.0-FUI-2495.11",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.409.0-FUI-2495.11",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.409.0-FUI-2495.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.409.0-FUI-2495.
|
|
42
|
+
"@genesislcap/expression-builder": "14.409.0-FUI-2495.11",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.409.0-FUI-2495.11",
|
|
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": "048f44c21def4653d2f76b0373f4cd443ca68f2c"
|
|
62
62
|
}
|