@genesislcap/foundation-utils 14.233.2-alpha-eddf1a1.0 → 14.234.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/custom-elements.json +224 -224
  2. package/package.json +10 -10
@@ -169,44 +169,6 @@
169
169
  }
170
170
  ]
171
171
  },
172
- {
173
- "kind": "javascript-module",
174
- "path": "src/directives/index.ts",
175
- "declarations": [],
176
- "exports": [
177
- {
178
- "kind": "js",
179
- "name": "*",
180
- "declaration": {
181
- "name": "*",
182
- "package": "./sync"
183
- }
184
- },
185
- {
186
- "kind": "js",
187
- "name": "*",
188
- "declaration": {
189
- "name": "*",
190
- "package": "./when-else"
191
- }
192
- }
193
- ]
194
- },
195
- {
196
- "kind": "javascript-module",
197
- "path": "src/encoding/index.ts",
198
- "declarations": [],
199
- "exports": [
200
- {
201
- "kind": "js",
202
- "name": "*",
203
- "declaration": {
204
- "name": "*",
205
- "package": "./base64"
206
- }
207
- }
208
- ]
209
- },
210
172
  {
211
173
  "kind": "javascript-module",
212
174
  "path": "src/data/inMemoryDatabase.ts",
@@ -405,6 +367,71 @@
405
367
  }
406
368
  ]
407
369
  },
370
+ {
371
+ "kind": "javascript-module",
372
+ "path": "src/design-system/design-system.ts",
373
+ "declarations": [
374
+ {
375
+ "kind": "function",
376
+ "name": "assureDesignSystem",
377
+ "return": {
378
+ "type": {
379
+ "text": "DesignSystemModule"
380
+ }
381
+ },
382
+ "parameters": [
383
+ {
384
+ "name": "module",
385
+ "type": {
386
+ "text": "DesignSystemModule"
387
+ }
388
+ }
389
+ ],
390
+ "description": "assureDesignSystem.",
391
+ "privacy": "public"
392
+ }
393
+ ],
394
+ "exports": [
395
+ {
396
+ "kind": "js",
397
+ "name": "assureDesignSystem",
398
+ "declaration": {
399
+ "name": "assureDesignSystem",
400
+ "module": "src/design-system/design-system.ts"
401
+ }
402
+ }
403
+ ]
404
+ },
405
+ {
406
+ "kind": "javascript-module",
407
+ "path": "src/design-system/index.ts",
408
+ "declarations": [],
409
+ "exports": [
410
+ {
411
+ "kind": "js",
412
+ "name": "*",
413
+ "declaration": {
414
+ "name": "*",
415
+ "package": "./design-system"
416
+ }
417
+ }
418
+ ]
419
+ },
420
+ {
421
+ "kind": "javascript-module",
422
+ "path": "src/encoding/index.ts",
423
+ "declarations": [],
424
+ "exports": [
425
+ {
426
+ "kind": "js",
427
+ "name": "*",
428
+ "declaration": {
429
+ "name": "*",
430
+ "package": "./base64"
431
+ }
432
+ }
433
+ ]
434
+ },
408
435
  {
409
436
  "kind": "javascript-module",
410
437
  "path": "src/env/index.ts",
@@ -693,6 +720,29 @@
693
720
  }
694
721
  ]
695
722
  },
723
+ {
724
+ "kind": "javascript-module",
725
+ "path": "src/directives/index.ts",
726
+ "declarations": [],
727
+ "exports": [
728
+ {
729
+ "kind": "js",
730
+ "name": "*",
731
+ "declaration": {
732
+ "name": "*",
733
+ "package": "./sync"
734
+ }
735
+ },
736
+ {
737
+ "kind": "js",
738
+ "name": "*",
739
+ "declaration": {
740
+ "name": "*",
741
+ "package": "./when-else"
742
+ }
743
+ }
744
+ ]
745
+ },
696
746
  {
697
747
  "kind": "javascript-module",
698
748
  "path": "src/decorators/index.ts",
@@ -746,56 +796,6 @@
746
796
  }
747
797
  ]
748
798
  },
749
- {
750
- "kind": "javascript-module",
751
- "path": "src/design-system/design-system.ts",
752
- "declarations": [
753
- {
754
- "kind": "function",
755
- "name": "assureDesignSystem",
756
- "return": {
757
- "type": {
758
- "text": "DesignSystemModule"
759
- }
760
- },
761
- "parameters": [
762
- {
763
- "name": "module",
764
- "type": {
765
- "text": "DesignSystemModule"
766
- }
767
- }
768
- ],
769
- "description": "assureDesignSystem.",
770
- "privacy": "public"
771
- }
772
- ],
773
- "exports": [
774
- {
775
- "kind": "js",
776
- "name": "assureDesignSystem",
777
- "declaration": {
778
- "name": "assureDesignSystem",
779
- "module": "src/design-system/design-system.ts"
780
- }
781
- }
782
- ]
783
- },
784
- {
785
- "kind": "javascript-module",
786
- "path": "src/design-system/index.ts",
787
- "declarations": [],
788
- "exports": [
789
- {
790
- "kind": "js",
791
- "name": "*",
792
- "declaration": {
793
- "name": "*",
794
- "package": "./design-system"
795
- }
796
- }
797
- ]
798
- },
799
799
  {
800
800
  "kind": "javascript-module",
801
801
  "path": "src/error/errorMap.ts",
@@ -2285,7 +2285,7 @@
2285
2285
  },
2286
2286
  {
2287
2287
  "kind": "javascript-module",
2288
- "path": "src/directives/sync/index.ts",
2288
+ "path": "src/directives/when-else/index.ts",
2289
2289
  "declarations": [],
2290
2290
  "exports": [
2291
2291
  {
@@ -2293,28 +2293,18 @@
2293
2293
  "name": "*",
2294
2294
  "declaration": {
2295
2295
  "name": "*",
2296
- "package": "./sync"
2296
+ "package": "./when-else"
2297
2297
  }
2298
2298
  }
2299
2299
  ]
2300
2300
  },
2301
2301
  {
2302
2302
  "kind": "javascript-module",
2303
- "path": "src/directives/sync/sync.ts",
2303
+ "path": "src/directives/when-else/when-else.ts",
2304
2304
  "declarations": [
2305
- {
2306
- "kind": "variable",
2307
- "name": "defaultEventMap",
2308
- "type": {
2309
- "text": "Map<string, EventName>"
2310
- },
2311
- "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
2312
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2313
- "privacy": "public"
2314
- },
2315
2305
  {
2316
2306
  "kind": "function",
2317
- "name": "sync",
2307
+ "name": "whenElse",
2318
2308
  "return": {
2319
2309
  "type": {
2320
2310
  "text": "CaptureType<TSource>"
@@ -2325,56 +2315,42 @@
2325
2315
  "name": "binding",
2326
2316
  "type": {
2327
2317
  "text": "Binding<TSource, TReturn>"
2328
- }
2329
- },
2330
- {
2331
- "name": "conversionType",
2332
- "default": "'string'",
2333
- "type": {
2334
- "text": "ConversionType"
2335
- }
2318
+ },
2319
+ "description": "The condition to test for rendering."
2336
2320
  },
2337
2321
  {
2338
- "name": "eventName",
2339
- "default": "'default'",
2322
+ "name": "trueTemplateOrTemplateBinding",
2340
2323
  "type": {
2341
- "text": "EventName"
2342
- }
2324
+ "text": "WhenTemplate<TSource>"
2325
+ },
2326
+ "description": "The template or a binding that gets the template to render when the condition is true."
2343
2327
  },
2344
2328
  {
2345
- "name": "keyAttr",
2346
- "optional": true,
2329
+ "name": "falseTemplateOrTemplateBinding",
2347
2330
  "type": {
2348
- "text": "string"
2349
- }
2331
+ "text": "WhenTemplate<TSource>"
2332
+ },
2333
+ "description": "The template or a binding that gets the template to render when the condition is false."
2350
2334
  }
2351
2335
  ],
2352
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2336
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2353
2337
  "privacy": "public"
2354
2338
  }
2355
2339
  ],
2356
2340
  "exports": [
2357
2341
  {
2358
2342
  "kind": "js",
2359
- "name": "defaultEventMap",
2360
- "declaration": {
2361
- "name": "defaultEventMap",
2362
- "module": "src/directives/sync/sync.ts"
2363
- }
2364
- },
2365
- {
2366
- "kind": "js",
2367
- "name": "sync",
2343
+ "name": "whenElse",
2368
2344
  "declaration": {
2369
- "name": "sync",
2370
- "module": "src/directives/sync/sync.ts"
2345
+ "name": "whenElse",
2346
+ "module": "src/directives/when-else/when-else.ts"
2371
2347
  }
2372
2348
  }
2373
2349
  ]
2374
2350
  },
2375
2351
  {
2376
2352
  "kind": "javascript-module",
2377
- "path": "src/directives/when-else/index.ts",
2353
+ "path": "src/mappers/dto/index.ts",
2378
2354
  "declarations": [],
2379
2355
  "exports": [
2380
2356
  {
@@ -2382,61 +2358,96 @@
2382
2358
  "name": "*",
2383
2359
  "declaration": {
2384
2360
  "name": "*",
2385
- "package": "./when-else"
2361
+ "package": "./serverRow"
2362
+ }
2363
+ },
2364
+ {
2365
+ "kind": "js",
2366
+ "name": "*",
2367
+ "declaration": {
2368
+ "name": "*",
2369
+ "package": "./types"
2386
2370
  }
2387
2371
  }
2388
2372
  ]
2389
2373
  },
2390
2374
  {
2391
2375
  "kind": "javascript-module",
2392
- "path": "src/directives/when-else/when-else.ts",
2376
+ "path": "src/mappers/dto/serverRow.ts",
2393
2377
  "declarations": [
2394
2378
  {
2395
- "kind": "function",
2396
- "name": "whenElse",
2397
- "return": {
2398
- "type": {
2399
- "text": "CaptureType<TSource>"
2400
- }
2401
- },
2402
- "parameters": [
2403
- {
2404
- "name": "binding",
2405
- "type": {
2406
- "text": "Binding<TSource, TReturn>"
2407
- },
2408
- "description": "The condition to test for rendering."
2409
- },
2379
+ "kind": "class",
2380
+ "description": "The default `ServerRowDTOMapper`.",
2381
+ "name": "DefaultServerRowDTOMapper",
2382
+ "members": [
2410
2383
  {
2411
- "name": "trueTemplateOrTemplateBinding",
2412
- "type": {
2413
- "text": "WhenTemplate<TSource>"
2384
+ "kind": "field",
2385
+ "name": "fromDTO",
2386
+ "description": "Converts a server row DTO to an entity.",
2387
+ "parameters": [
2388
+ {
2389
+ "description": "The DTO to convert.",
2390
+ "name": "dto"
2391
+ }
2392
+ ],
2393
+ "return": {
2394
+ "type": {
2395
+ "text": ""
2396
+ }
2414
2397
  },
2415
- "description": "The template or a binding that gets the template to render when the condition is true."
2398
+ "privacy": "public"
2416
2399
  },
2417
2400
  {
2418
- "name": "falseTemplateOrTemplateBinding",
2419
- "type": {
2420
- "text": "WhenTemplate<TSource>"
2401
+ "kind": "field",
2402
+ "name": "toDTO",
2403
+ "description": "Converts a server row entity to a DTO.",
2404
+ "parameters": [
2405
+ {
2406
+ "description": "The entity to convert.",
2407
+ "name": "entity"
2408
+ }
2409
+ ],
2410
+ "return": {
2411
+ "type": {
2412
+ "text": ""
2413
+ }
2421
2414
  },
2422
- "description": "The template or a binding that gets the template to render when the condition is false."
2415
+ "privacy": "public"
2423
2416
  }
2424
- ],
2425
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2417
+ ]
2418
+ },
2419
+ {
2420
+ "kind": "variable",
2421
+ "name": "ServerRowDTOMapper",
2422
+ "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2426
2423
  "privacy": "public"
2427
2424
  }
2428
2425
  ],
2429
2426
  "exports": [
2430
2427
  {
2431
2428
  "kind": "js",
2432
- "name": "whenElse",
2429
+ "name": "DefaultServerRowDTOMapper",
2433
2430
  "declaration": {
2434
- "name": "whenElse",
2435
- "module": "src/directives/when-else/when-else.ts"
2431
+ "name": "DefaultServerRowDTOMapper",
2432
+ "module": "src/mappers/dto/serverRow.ts"
2433
+ }
2434
+ },
2435
+ {
2436
+ "kind": "js",
2437
+ "name": "ServerRowDTOMapper",
2438
+ "declaration": {
2439
+ "name": "ServerRowDTOMapper",
2440
+ "module": "src/mappers/dto/serverRow.ts"
2436
2441
  }
2437
2442
  }
2438
2443
  ]
2439
2444
  },
2445
+ {
2446
+ "kind": "javascript-module",
2447
+ "path": "src/mappers/dto/types.ts",
2448
+ "declarations": [],
2449
+ "exports": []
2450
+ },
2440
2451
  {
2441
2452
  "kind": "javascript-module",
2442
2453
  "path": "src/encoding/base64/decode.ts",
@@ -2593,7 +2604,7 @@
2593
2604
  },
2594
2605
  {
2595
2606
  "kind": "javascript-module",
2596
- "path": "src/mappers/dto/index.ts",
2607
+ "path": "src/directives/sync/index.ts",
2597
2608
  "declarations": [],
2598
2609
  "exports": [
2599
2610
  {
@@ -2601,96 +2612,85 @@
2601
2612
  "name": "*",
2602
2613
  "declaration": {
2603
2614
  "name": "*",
2604
- "package": "./serverRow"
2605
- }
2606
- },
2607
- {
2608
- "kind": "js",
2609
- "name": "*",
2610
- "declaration": {
2611
- "name": "*",
2612
- "package": "./types"
2615
+ "package": "./sync"
2613
2616
  }
2614
2617
  }
2615
2618
  ]
2616
2619
  },
2617
2620
  {
2618
2621
  "kind": "javascript-module",
2619
- "path": "src/mappers/dto/serverRow.ts",
2622
+ "path": "src/directives/sync/sync.ts",
2620
2623
  "declarations": [
2621
2624
  {
2622
- "kind": "class",
2623
- "description": "The default `ServerRowDTOMapper`.",
2624
- "name": "DefaultServerRowDTOMapper",
2625
- "members": [
2625
+ "kind": "variable",
2626
+ "name": "defaultEventMap",
2627
+ "type": {
2628
+ "text": "Map<string, EventName>"
2629
+ },
2630
+ "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
2631
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2632
+ "privacy": "public"
2633
+ },
2634
+ {
2635
+ "kind": "function",
2636
+ "name": "sync",
2637
+ "return": {
2638
+ "type": {
2639
+ "text": "CaptureType<TSource>"
2640
+ }
2641
+ },
2642
+ "parameters": [
2626
2643
  {
2627
- "kind": "field",
2628
- "name": "fromDTO",
2629
- "description": "Converts a server row DTO to an entity.",
2630
- "parameters": [
2631
- {
2632
- "description": "The DTO to convert.",
2633
- "name": "dto"
2634
- }
2635
- ],
2636
- "return": {
2637
- "type": {
2638
- "text": ""
2639
- }
2640
- },
2641
- "privacy": "public"
2644
+ "name": "binding",
2645
+ "type": {
2646
+ "text": "Binding<TSource, TReturn>"
2647
+ }
2642
2648
  },
2643
2649
  {
2644
- "kind": "field",
2645
- "name": "toDTO",
2646
- "description": "Converts a server row entity to a DTO.",
2647
- "parameters": [
2648
- {
2649
- "description": "The entity to convert.",
2650
- "name": "entity"
2651
- }
2652
- ],
2653
- "return": {
2654
- "type": {
2655
- "text": ""
2656
- }
2657
- },
2658
- "privacy": "public"
2650
+ "name": "conversionType",
2651
+ "default": "'string'",
2652
+ "type": {
2653
+ "text": "ConversionType"
2654
+ }
2655
+ },
2656
+ {
2657
+ "name": "eventName",
2658
+ "default": "'default'",
2659
+ "type": {
2660
+ "text": "EventName"
2661
+ }
2662
+ },
2663
+ {
2664
+ "name": "keyAttr",
2665
+ "optional": true,
2666
+ "type": {
2667
+ "text": "string"
2668
+ }
2659
2669
  }
2660
- ]
2661
- },
2662
- {
2663
- "kind": "variable",
2664
- "name": "ServerRowDTOMapper",
2665
- "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2670
+ ],
2671
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2666
2672
  "privacy": "public"
2667
2673
  }
2668
2674
  ],
2669
2675
  "exports": [
2670
2676
  {
2671
2677
  "kind": "js",
2672
- "name": "DefaultServerRowDTOMapper",
2678
+ "name": "defaultEventMap",
2673
2679
  "declaration": {
2674
- "name": "DefaultServerRowDTOMapper",
2675
- "module": "src/mappers/dto/serverRow.ts"
2680
+ "name": "defaultEventMap",
2681
+ "module": "src/directives/sync/sync.ts"
2676
2682
  }
2677
2683
  },
2678
2684
  {
2679
2685
  "kind": "js",
2680
- "name": "ServerRowDTOMapper",
2686
+ "name": "sync",
2681
2687
  "declaration": {
2682
- "name": "ServerRowDTOMapper",
2683
- "module": "src/mappers/dto/serverRow.ts"
2688
+ "name": "sync",
2689
+ "module": "src/directives/sync/sync.ts"
2684
2690
  }
2685
2691
  }
2686
2692
  ]
2687
2693
  },
2688
- {
2689
- "kind": "javascript-module",
2690
- "path": "src/mappers/dto/types.ts",
2691
- "declarations": [],
2692
- "exports": []
2693
- },
2694
2694
  {
2695
2695
  "kind": "javascript-module",
2696
2696
  "path": "src/mixins/lifecycle/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": "14.233.2-alpha-eddf1a1.0",
4
+ "version": "14.234.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,17 +27,17 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.233.2-alpha-eddf1a1.0",
31
- "@genesislcap/genx": "14.233.2-alpha-eddf1a1.0",
32
- "@genesislcap/rollup-builder": "14.233.2-alpha-eddf1a1.0",
33
- "@genesislcap/ts-builder": "14.233.2-alpha-eddf1a1.0",
34
- "@genesislcap/uvu-playwright-builder": "14.233.2-alpha-eddf1a1.0",
35
- "@genesislcap/vite-builder": "14.233.2-alpha-eddf1a1.0",
36
- "@genesislcap/webpack-builder": "14.233.2-alpha-eddf1a1.0",
30
+ "@genesislcap/foundation-testing": "14.234.1",
31
+ "@genesislcap/genx": "14.234.1",
32
+ "@genesislcap/rollup-builder": "14.234.1",
33
+ "@genesislcap/ts-builder": "14.234.1",
34
+ "@genesislcap/uvu-playwright-builder": "14.234.1",
35
+ "@genesislcap/vite-builder": "14.234.1",
36
+ "@genesislcap/webpack-builder": "14.234.1",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.233.2-alpha-eddf1a1.0",
40
+ "@genesislcap/foundation-logger": "14.234.1",
41
41
  "@microsoft/fast-components": "2.30.6",
42
42
  "@microsoft/fast-element": "1.14.0",
43
43
  "@microsoft/fast-foundation": "2.49.6",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "2164f177418232818933668d0637e6d4ceae99ad"
58
+ "gitHead": "c3d0d51ddd1f3040ec3d9b75f9fdb016d25f6586"
59
59
  }