@genesislcap/foundation-utils 14.489.0-GENC-1351.10 → 14.489.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +276 -276
  2. package/package.json +11 -11
@@ -209,59 +209,6 @@
209
209
  }
210
210
  ]
211
211
  },
212
- {
213
- "kind": "javascript-module",
214
- "path": "src/decorators/index.ts",
215
- "declarations": [],
216
- "exports": [
217
- {
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": [
231
- {
232
- "kind": "function",
233
- "name": "renderOnChange",
234
- "parameters": [
235
- {
236
- "name": "target",
237
- "type": {
238
- "text": "FASTElement & { render(): void }"
239
- },
240
- "description": "The target to define the property change handler on."
241
- },
242
- {
243
- "name": "name",
244
- "type": {
245
- "text": "string"
246
- },
247
- "description": "The property name."
248
- }
249
- ],
250
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
251
- "privacy": "public"
252
- }
253
- ],
254
- "exports": [
255
- {
256
- "kind": "js",
257
- "name": "renderOnChange",
258
- "declaration": {
259
- "name": "renderOnChange",
260
- "module": "src/decorators/renderOnChange.ts"
261
- }
262
- }
263
- ]
264
- },
265
212
  {
266
213
  "kind": "javascript-module",
267
214
  "path": "src/converters/index.ts",
@@ -305,7 +252,7 @@
305
252
  },
306
253
  {
307
254
  "kind": "javascript-module",
308
- "path": "src/directives/index.ts",
255
+ "path": "src/decorators/index.ts",
309
256
  "declarations": [],
310
257
  "exports": [
311
258
  {
@@ -313,30 +260,45 @@
313
260
  "name": "*",
314
261
  "declaration": {
315
262
  "name": "*",
316
- "package": "./sync"
317
- }
318
- },
319
- {
320
- "kind": "js",
321
- "name": "*",
322
- "declaration": {
323
- "name": "*",
324
- "package": "./when-else"
263
+ "package": "./renderOnChange"
325
264
  }
326
265
  }
327
266
  ]
328
267
  },
329
268
  {
330
269
  "kind": "javascript-module",
331
- "path": "src/encoding/index.ts",
332
- "declarations": [],
270
+ "path": "src/decorators/renderOnChange.ts",
271
+ "declarations": [
272
+ {
273
+ "kind": "function",
274
+ "name": "renderOnChange",
275
+ "parameters": [
276
+ {
277
+ "name": "target",
278
+ "type": {
279
+ "text": "FASTElement & { render(): void }"
280
+ },
281
+ "description": "The target to define the property change handler on."
282
+ },
283
+ {
284
+ "name": "name",
285
+ "type": {
286
+ "text": "string"
287
+ },
288
+ "description": "The property name."
289
+ }
290
+ ],
291
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
292
+ "privacy": "public"
293
+ }
294
+ ],
333
295
  "exports": [
334
296
  {
335
297
  "kind": "js",
336
- "name": "*",
298
+ "name": "renderOnChange",
337
299
  "declaration": {
338
- "name": "*",
339
- "package": "./base64"
300
+ "name": "renderOnChange",
301
+ "module": "src/decorators/renderOnChange.ts"
340
302
  }
341
303
  }
342
304
  ]
@@ -512,21 +474,238 @@
512
474
  }
513
475
  ]
514
476
  }
515
- ],
477
+ ],
478
+ "exports": [
479
+ {
480
+ "kind": "js",
481
+ "name": "InMemoryDatabase",
482
+ "declaration": {
483
+ "name": "InMemoryDatabase",
484
+ "module": "src/data/inMemoryDatabase.ts"
485
+ }
486
+ }
487
+ ]
488
+ },
489
+ {
490
+ "kind": "javascript-module",
491
+ "path": "src/data/index.ts",
492
+ "declarations": [],
493
+ "exports": [
494
+ {
495
+ "kind": "js",
496
+ "name": "*",
497
+ "declaration": {
498
+ "name": "*",
499
+ "package": "./inMemoryDatabase"
500
+ }
501
+ }
502
+ ]
503
+ },
504
+ {
505
+ "kind": "javascript-module",
506
+ "path": "src/design-system/design-system.ts",
507
+ "declarations": [
508
+ {
509
+ "kind": "function",
510
+ "name": "assureDesignSystem",
511
+ "return": {
512
+ "type": {
513
+ "text": "DesignSystemModule"
514
+ }
515
+ },
516
+ "parameters": [
517
+ {
518
+ "name": "module",
519
+ "type": {
520
+ "text": "DesignSystemModule"
521
+ }
522
+ }
523
+ ],
524
+ "description": "assureDesignSystem.",
525
+ "privacy": "public"
526
+ },
527
+ {
528
+ "kind": "function",
529
+ "name": "getCurrentDesignSystem",
530
+ "return": {
531
+ "type": {
532
+ "text": ""
533
+ }
534
+ },
535
+ "parameters": [
536
+ {
537
+ "name": "element",
538
+ "type": {
539
+ "text": "HTMLElement"
540
+ },
541
+ "description": "The starting HTML element"
542
+ },
543
+ {
544
+ "name": "fallbackPrefix",
545
+ "type": {
546
+ "text": "string"
547
+ },
548
+ "description": "The prefix to fallback to if the provider is not available"
549
+ }
550
+ ],
551
+ "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.",
552
+ "privacy": "public"
553
+ },
554
+ {
555
+ "kind": "function",
556
+ "name": "getCurrentDesignSystemPrefix",
557
+ "return": {
558
+ "type": {
559
+ "text": ""
560
+ }
561
+ },
562
+ "parameters": [
563
+ {
564
+ "name": "element",
565
+ "type": {
566
+ "text": "HTMLElement"
567
+ },
568
+ "description": "The starting HTML element"
569
+ },
570
+ {
571
+ "name": "fallbackPrefix",
572
+ "type": {
573
+ "text": "string"
574
+ },
575
+ "description": "The prefix to fallback to if the provider is not available"
576
+ }
577
+ ],
578
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
579
+ "privacy": "public"
580
+ }
581
+ ],
582
+ "exports": [
583
+ {
584
+ "kind": "js",
585
+ "name": "assureDesignSystem",
586
+ "declaration": {
587
+ "name": "assureDesignSystem",
588
+ "module": "src/design-system/design-system.ts"
589
+ }
590
+ },
591
+ {
592
+ "kind": "js",
593
+ "name": "getCurrentDesignSystem",
594
+ "declaration": {
595
+ "name": "getCurrentDesignSystem",
596
+ "module": "src/design-system/design-system.ts"
597
+ }
598
+ },
599
+ {
600
+ "kind": "js",
601
+ "name": "getCurrentDesignSystemPrefix",
602
+ "declaration": {
603
+ "name": "getCurrentDesignSystemPrefix",
604
+ "module": "src/design-system/design-system.ts"
605
+ }
606
+ }
607
+ ]
608
+ },
609
+ {
610
+ "kind": "javascript-module",
611
+ "path": "src/design-system/editable-elements.ts",
612
+ "declarations": [
613
+ {
614
+ "kind": "variable",
615
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
616
+ "type": {
617
+ "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
618
+ },
619
+ "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
620
+ "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
621
+ },
622
+ {
623
+ "kind": "variable",
624
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
625
+ "type": {
626
+ "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
627
+ },
628
+ "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
629
+ "description": "Design-system specific editable host selectors."
630
+ },
631
+ {
632
+ "kind": "function",
633
+ "name": "buildEditableElementSelector",
634
+ "return": {
635
+ "type": {
636
+ "text": "string"
637
+ }
638
+ },
639
+ "parameters": [
640
+ {
641
+ "name": "designSystems",
642
+ "type": {
643
+ "text": "readonly EditableDesignSystemPrefix[]"
644
+ }
645
+ },
646
+ {
647
+ "name": "customEditableSelectors",
648
+ "default": "[]",
649
+ "type": {
650
+ "text": "readonly string[]"
651
+ }
652
+ }
653
+ ]
654
+ }
655
+ ],
656
+ "exports": [
657
+ {
658
+ "kind": "js",
659
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
660
+ "declaration": {
661
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
662
+ "module": "src/design-system/editable-elements.ts"
663
+ }
664
+ },
665
+ {
666
+ "kind": "js",
667
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
668
+ "declaration": {
669
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
670
+ "module": "src/design-system/editable-elements.ts"
671
+ }
672
+ },
673
+ {
674
+ "kind": "js",
675
+ "name": "buildEditableElementSelector",
676
+ "declaration": {
677
+ "name": "buildEditableElementSelector",
678
+ "module": "src/design-system/editable-elements.ts"
679
+ }
680
+ }
681
+ ]
682
+ },
683
+ {
684
+ "kind": "javascript-module",
685
+ "path": "src/design-system/index.ts",
686
+ "declarations": [],
516
687
  "exports": [
517
688
  {
518
689
  "kind": "js",
519
- "name": "InMemoryDatabase",
690
+ "name": "*",
520
691
  "declaration": {
521
- "name": "InMemoryDatabase",
522
- "module": "src/data/inMemoryDatabase.ts"
692
+ "name": "*",
693
+ "package": "./design-system"
694
+ }
695
+ },
696
+ {
697
+ "kind": "js",
698
+ "name": "*",
699
+ "declaration": {
700
+ "name": "*",
701
+ "package": "./editable-elements"
523
702
  }
524
703
  }
525
704
  ]
526
705
  },
527
706
  {
528
707
  "kind": "javascript-module",
529
- "path": "src/data/index.ts",
708
+ "path": "src/directives/index.ts",
530
709
  "declarations": [],
531
710
  "exports": [
532
711
  {
@@ -534,7 +713,30 @@
534
713
  "name": "*",
535
714
  "declaration": {
536
715
  "name": "*",
537
- "package": "./inMemoryDatabase"
716
+ "package": "./sync"
717
+ }
718
+ },
719
+ {
720
+ "kind": "js",
721
+ "name": "*",
722
+ "declaration": {
723
+ "name": "*",
724
+ "package": "./when-else"
725
+ }
726
+ }
727
+ ]
728
+ },
729
+ {
730
+ "kind": "javascript-module",
731
+ "path": "src/encoding/index.ts",
732
+ "declarations": [],
733
+ "exports": [
734
+ {
735
+ "kind": "js",
736
+ "name": "*",
737
+ "declaration": {
738
+ "name": "*",
739
+ "package": "./base64"
538
740
  }
539
741
  }
540
742
  ]
@@ -1014,208 +1216,6 @@
1014
1216
  }
1015
1217
  ]
1016
1218
  },
1017
- {
1018
- "kind": "javascript-module",
1019
- "path": "src/design-system/design-system.ts",
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
- },
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"
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
- },
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.",
1092
- "privacy": "public"
1093
- }
1094
- ],
1095
- "exports": [
1096
- {
1097
- "kind": "js",
1098
- "name": "assureDesignSystem",
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/editable-elements.ts",
1125
- "declarations": [
1126
- {
1127
- "kind": "variable",
1128
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
1129
- "type": {
1130
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
1131
- },
1132
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
1133
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
1134
- },
1135
- {
1136
- "kind": "variable",
1137
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
1138
- "type": {
1139
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
1140
- },
1141
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
1142
- "description": "Design-system specific editable host selectors."
1143
- },
1144
- {
1145
- "kind": "function",
1146
- "name": "buildEditableElementSelector",
1147
- "return": {
1148
- "type": {
1149
- "text": "string"
1150
- }
1151
- },
1152
- "parameters": [
1153
- {
1154
- "name": "designSystems",
1155
- "type": {
1156
- "text": "readonly EditableDesignSystemPrefix[]"
1157
- }
1158
- },
1159
- {
1160
- "name": "customEditableSelectors",
1161
- "default": "[]",
1162
- "type": {
1163
- "text": "readonly string[]"
1164
- }
1165
- }
1166
- ]
1167
- }
1168
- ],
1169
- "exports": [
1170
- {
1171
- "kind": "js",
1172
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
1173
- "declaration": {
1174
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
1175
- "module": "src/design-system/editable-elements.ts"
1176
- }
1177
- },
1178
- {
1179
- "kind": "js",
1180
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
1181
- "declaration": {
1182
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
1183
- "module": "src/design-system/editable-elements.ts"
1184
- }
1185
- },
1186
- {
1187
- "kind": "js",
1188
- "name": "buildEditableElementSelector",
1189
- "declaration": {
1190
- "name": "buildEditableElementSelector",
1191
- "module": "src/design-system/editable-elements.ts"
1192
- }
1193
- }
1194
- ]
1195
- },
1196
- {
1197
- "kind": "javascript-module",
1198
- "path": "src/design-system/index.ts",
1199
- "declarations": [],
1200
- "exports": [
1201
- {
1202
- "kind": "js",
1203
- "name": "*",
1204
- "declaration": {
1205
- "name": "*",
1206
- "package": "./design-system"
1207
- }
1208
- },
1209
- {
1210
- "kind": "js",
1211
- "name": "*",
1212
- "declaration": {
1213
- "name": "*",
1214
- "package": "./editable-elements"
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.489.0-GENC-1351.10",
4
+ "version": "14.489.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.489.0-GENC-1351.10",
33
- "@genesislcap/genx": "14.489.0-GENC-1351.10",
34
- "@genesislcap/rollup-builder": "14.489.0-GENC-1351.10",
35
- "@genesislcap/ts-builder": "14.489.0-GENC-1351.10",
36
- "@genesislcap/uvu-playwright-builder": "14.489.0-GENC-1351.10",
37
- "@genesislcap/vite-builder": "14.489.0-GENC-1351.10",
38
- "@genesislcap/webpack-builder": "14.489.0-GENC-1351.10",
32
+ "@genesislcap/foundation-testing": "14.489.0",
33
+ "@genesislcap/genx": "14.489.0",
34
+ "@genesislcap/rollup-builder": "14.489.0",
35
+ "@genesislcap/ts-builder": "14.489.0",
36
+ "@genesislcap/uvu-playwright-builder": "14.489.0",
37
+ "@genesislcap/vite-builder": "14.489.0",
38
+ "@genesislcap/webpack-builder": "14.489.0",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.489.0-GENC-1351.10",
43
- "@genesislcap/foundation-logger": "14.489.0-GENC-1351.10",
42
+ "@genesislcap/expression-builder": "14.489.0",
43
+ "@genesislcap/foundation-logger": "14.489.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": "3a274a433b5f216481f035a4fa38fa726103d694"
61
+ "gitHead": "6c2cd6192531517879d0cf306d86e84a194fe961"
62
62
  }