@genesislcap/foundation-utils 14.416.1 → 14.417.0-FUI-0-react-renderers.1
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 +138 -138
- package/package.json +11 -11
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
"kind": "javascript-module",
|
|
214
|
-
"path": "src/
|
|
214
|
+
"path": "src/converters/index.ts",
|
|
215
215
|
"declarations": [],
|
|
216
216
|
"exports": [
|
|
217
217
|
{
|
|
@@ -219,75 +219,145 @@
|
|
|
219
219
|
"name": "*",
|
|
220
220
|
"declaration": {
|
|
221
221
|
"name": "*",
|
|
222
|
-
"package": "./
|
|
222
|
+
"package": "./string-array-converter"
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
]
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
"kind": "javascript-module",
|
|
229
|
-
"path": "src/
|
|
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
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"kind": "javascript-module",
|
|
255
|
+
"path": "src/design-system/design-system.ts",
|
|
230
256
|
"declarations": [
|
|
231
257
|
{
|
|
232
258
|
"kind": "function",
|
|
233
|
-
"name": "
|
|
259
|
+
"name": "assureDesignSystem",
|
|
260
|
+
"return": {
|
|
261
|
+
"type": {
|
|
262
|
+
"text": "DesignSystemModule"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
234
265
|
"parameters": [
|
|
235
266
|
{
|
|
236
|
-
"name": "
|
|
267
|
+
"name": "module",
|
|
237
268
|
"type": {
|
|
238
|
-
"text": "
|
|
269
|
+
"text": "DesignSystemModule"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"description": "assureDesignSystem.",
|
|
274
|
+
"privacy": "public"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"kind": "function",
|
|
278
|
+
"name": "getCurrentDesignSystem",
|
|
279
|
+
"return": {
|
|
280
|
+
"type": {
|
|
281
|
+
"text": ""
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"parameters": [
|
|
285
|
+
{
|
|
286
|
+
"name": "element",
|
|
287
|
+
"type": {
|
|
288
|
+
"text": "HTMLElement"
|
|
239
289
|
},
|
|
240
|
-
"description": "The
|
|
290
|
+
"description": "The starting HTML element"
|
|
241
291
|
},
|
|
242
292
|
{
|
|
243
|
-
"name": "
|
|
293
|
+
"name": "fallbackPrefix",
|
|
244
294
|
"type": {
|
|
245
295
|
"text": "string"
|
|
246
296
|
},
|
|
247
|
-
"description": "The
|
|
297
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
248
298
|
}
|
|
249
299
|
],
|
|
250
|
-
"description": "
|
|
300
|
+
"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.",
|
|
301
|
+
"privacy": "public"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"kind": "function",
|
|
305
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
306
|
+
"return": {
|
|
307
|
+
"type": {
|
|
308
|
+
"text": ""
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"parameters": [
|
|
312
|
+
{
|
|
313
|
+
"name": "element",
|
|
314
|
+
"type": {
|
|
315
|
+
"text": "HTMLElement"
|
|
316
|
+
},
|
|
317
|
+
"description": "The starting HTML element"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "fallbackPrefix",
|
|
321
|
+
"type": {
|
|
322
|
+
"text": "string"
|
|
323
|
+
},
|
|
324
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
251
328
|
"privacy": "public"
|
|
252
329
|
}
|
|
253
330
|
],
|
|
254
331
|
"exports": [
|
|
255
332
|
{
|
|
256
333
|
"kind": "js",
|
|
257
|
-
"name": "
|
|
334
|
+
"name": "assureDesignSystem",
|
|
258
335
|
"declaration": {
|
|
259
|
-
"name": "
|
|
260
|
-
"module": "src/
|
|
336
|
+
"name": "assureDesignSystem",
|
|
337
|
+
"module": "src/design-system/design-system.ts"
|
|
261
338
|
}
|
|
262
|
-
}
|
|
263
|
-
]
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"kind": "javascript-module",
|
|
267
|
-
"path": "src/directives/index.ts",
|
|
268
|
-
"declarations": [],
|
|
269
|
-
"exports": [
|
|
339
|
+
},
|
|
270
340
|
{
|
|
271
341
|
"kind": "js",
|
|
272
|
-
"name": "
|
|
342
|
+
"name": "getCurrentDesignSystem",
|
|
273
343
|
"declaration": {
|
|
274
|
-
"name": "
|
|
275
|
-
"
|
|
344
|
+
"name": "getCurrentDesignSystem",
|
|
345
|
+
"module": "src/design-system/design-system.ts"
|
|
276
346
|
}
|
|
277
347
|
},
|
|
278
348
|
{
|
|
279
349
|
"kind": "js",
|
|
280
|
-
"name": "
|
|
350
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
281
351
|
"declaration": {
|
|
282
|
-
"name": "
|
|
283
|
-
"
|
|
352
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
353
|
+
"module": "src/design-system/design-system.ts"
|
|
284
354
|
}
|
|
285
355
|
}
|
|
286
356
|
]
|
|
287
357
|
},
|
|
288
358
|
{
|
|
289
359
|
"kind": "javascript-module",
|
|
290
|
-
"path": "src/
|
|
360
|
+
"path": "src/design-system/index.ts",
|
|
291
361
|
"declarations": [],
|
|
292
362
|
"exports": [
|
|
293
363
|
{
|
|
@@ -295,33 +365,30 @@
|
|
|
295
365
|
"name": "*",
|
|
296
366
|
"declaration": {
|
|
297
367
|
"name": "*",
|
|
298
|
-
"package": "./
|
|
368
|
+
"package": "./design-system"
|
|
299
369
|
}
|
|
300
370
|
}
|
|
301
371
|
]
|
|
302
372
|
},
|
|
303
373
|
{
|
|
304
374
|
"kind": "javascript-module",
|
|
305
|
-
"path": "src/
|
|
306
|
-
"declarations": [
|
|
307
|
-
{
|
|
308
|
-
"kind": "variable",
|
|
309
|
-
"name": "stringArrayConverter",
|
|
310
|
-
"type": {
|
|
311
|
-
"text": "ValueConverter"
|
|
312
|
-
},
|
|
313
|
-
"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}",
|
|
314
|
-
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
315
|
-
"privacy": "public"
|
|
316
|
-
}
|
|
317
|
-
],
|
|
375
|
+
"path": "src/directives/index.ts",
|
|
376
|
+
"declarations": [],
|
|
318
377
|
"exports": [
|
|
319
378
|
{
|
|
320
379
|
"kind": "js",
|
|
321
|
-
"name": "
|
|
380
|
+
"name": "*",
|
|
322
381
|
"declaration": {
|
|
323
|
-
"name": "
|
|
324
|
-
"
|
|
382
|
+
"name": "*",
|
|
383
|
+
"package": "./sync"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"kind": "js",
|
|
388
|
+
"name": "*",
|
|
389
|
+
"declaration": {
|
|
390
|
+
"name": "*",
|
|
391
|
+
"package": "./when-else"
|
|
325
392
|
}
|
|
326
393
|
}
|
|
327
394
|
]
|
|
@@ -1016,120 +1083,53 @@
|
|
|
1016
1083
|
},
|
|
1017
1084
|
{
|
|
1018
1085
|
"kind": "javascript-module",
|
|
1019
|
-
"path": "src/
|
|
1020
|
-
"declarations": [
|
|
1021
|
-
|
|
1022
|
-
"kind": "function",
|
|
1023
|
-
"name": "assureDesignSystem",
|
|
1024
|
-
"return": {
|
|
1025
|
-
"type": {
|
|
1026
|
-
"text": "DesignSystemModule"
|
|
1027
|
-
}
|
|
1028
|
-
},
|
|
1029
|
-
"parameters": [
|
|
1030
|
-
{
|
|
1031
|
-
"name": "module",
|
|
1032
|
-
"type": {
|
|
1033
|
-
"text": "DesignSystemModule"
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
],
|
|
1037
|
-
"description": "assureDesignSystem.",
|
|
1038
|
-
"privacy": "public"
|
|
1039
|
-
},
|
|
1086
|
+
"path": "src/decorators/index.ts",
|
|
1087
|
+
"declarations": [],
|
|
1088
|
+
"exports": [
|
|
1040
1089
|
{
|
|
1041
|
-
"kind": "
|
|
1042
|
-
"name": "
|
|
1043
|
-
"
|
|
1044
|
-
"
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
"description": "The starting HTML element"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
"name": "fallbackPrefix",
|
|
1058
|
-
"type": {
|
|
1059
|
-
"text": "string"
|
|
1060
|
-
},
|
|
1061
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
1062
|
-
}
|
|
1063
|
-
],
|
|
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
|
-
},
|
|
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",
|
|
1102
|
+
"declarations": [
|
|
1067
1103
|
{
|
|
1068
1104
|
"kind": "function",
|
|
1069
|
-
"name": "
|
|
1070
|
-
"return": {
|
|
1071
|
-
"type": {
|
|
1072
|
-
"text": ""
|
|
1073
|
-
}
|
|
1074
|
-
},
|
|
1105
|
+
"name": "renderOnChange",
|
|
1075
1106
|
"parameters": [
|
|
1076
1107
|
{
|
|
1077
|
-
"name": "
|
|
1108
|
+
"name": "target",
|
|
1078
1109
|
"type": {
|
|
1079
|
-
"text": "
|
|
1110
|
+
"text": "FASTElement & { render(): void }"
|
|
1080
1111
|
},
|
|
1081
|
-
"description": "The
|
|
1112
|
+
"description": "The target to define the property change handler on."
|
|
1082
1113
|
},
|
|
1083
1114
|
{
|
|
1084
|
-
"name": "
|
|
1115
|
+
"name": "name",
|
|
1085
1116
|
"type": {
|
|
1086
1117
|
"text": "string"
|
|
1087
1118
|
},
|
|
1088
|
-
"description": "The
|
|
1119
|
+
"description": "The property name."
|
|
1089
1120
|
}
|
|
1090
1121
|
],
|
|
1091
|
-
"description": "
|
|
1122
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
1092
1123
|
"privacy": "public"
|
|
1093
1124
|
}
|
|
1094
1125
|
],
|
|
1095
1126
|
"exports": [
|
|
1096
1127
|
{
|
|
1097
1128
|
"kind": "js",
|
|
1098
|
-
"name": "
|
|
1099
|
-
"declaration": {
|
|
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": "*",
|
|
1129
|
+
"name": "renderOnChange",
|
|
1130
1130
|
"declaration": {
|
|
1131
|
-
"name": "
|
|
1132
|
-
"
|
|
1131
|
+
"name": "renderOnChange",
|
|
1132
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
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.
|
|
4
|
+
"version": "14.417.0-FUI-0-react-renderers.1",
|
|
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.417.0-FUI-0-react-renderers.1",
|
|
33
|
+
"@genesislcap/genx": "14.417.0-FUI-0-react-renderers.1",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.417.0-FUI-0-react-renderers.1",
|
|
35
|
+
"@genesislcap/ts-builder": "14.417.0-FUI-0-react-renderers.1",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.417.0-FUI-0-react-renderers.1",
|
|
37
|
+
"@genesislcap/vite-builder": "14.417.0-FUI-0-react-renderers.1",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.417.0-FUI-0-react-renderers.1",
|
|
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.417.0-FUI-0-react-renderers.1",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.417.0-FUI-0-react-renderers.1",
|
|
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": "41516c5593cc64a42b33da71ea45e3e3a8beab88"
|
|
62
62
|
}
|