@genesislcap/foundation-utils 14.207.0 → 14.207.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 +277 -277
  2. package/package.json +10 -10
@@ -365,6 +365,109 @@
365
365
  }
366
366
  ]
367
367
  },
368
+ {
369
+ "kind": "javascript-module",
370
+ "path": "src/decorators/index.ts",
371
+ "declarations": [],
372
+ "exports": [
373
+ {
374
+ "kind": "js",
375
+ "name": "*",
376
+ "declaration": {
377
+ "name": "*",
378
+ "package": "./renderOnChange"
379
+ }
380
+ }
381
+ ]
382
+ },
383
+ {
384
+ "kind": "javascript-module",
385
+ "path": "src/decorators/renderOnChange.ts",
386
+ "declarations": [
387
+ {
388
+ "kind": "function",
389
+ "name": "renderOnChange",
390
+ "parameters": [
391
+ {
392
+ "name": "target",
393
+ "type": {
394
+ "text": "FASTElement & { render(): void }"
395
+ },
396
+ "description": "The target to define the property change handler on."
397
+ },
398
+ {
399
+ "name": "name",
400
+ "type": {
401
+ "text": "string"
402
+ },
403
+ "description": "The property name."
404
+ }
405
+ ],
406
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
407
+ "privacy": "public"
408
+ }
409
+ ],
410
+ "exports": [
411
+ {
412
+ "kind": "js",
413
+ "name": "renderOnChange",
414
+ "declaration": {
415
+ "name": "renderOnChange",
416
+ "module": "src/decorators/renderOnChange.ts"
417
+ }
418
+ }
419
+ ]
420
+ },
421
+ {
422
+ "kind": "javascript-module",
423
+ "path": "src/design-system/design-system.ts",
424
+ "declarations": [
425
+ {
426
+ "kind": "function",
427
+ "name": "assureDesignSystem",
428
+ "return": {
429
+ "type": {
430
+ "text": "DesignSystemModule"
431
+ }
432
+ },
433
+ "parameters": [
434
+ {
435
+ "name": "module",
436
+ "type": {
437
+ "text": "DesignSystemModule"
438
+ }
439
+ }
440
+ ],
441
+ "description": "assureDesignSystem.",
442
+ "privacy": "public"
443
+ }
444
+ ],
445
+ "exports": [
446
+ {
447
+ "kind": "js",
448
+ "name": "assureDesignSystem",
449
+ "declaration": {
450
+ "name": "assureDesignSystem",
451
+ "module": "src/design-system/design-system.ts"
452
+ }
453
+ }
454
+ ]
455
+ },
456
+ {
457
+ "kind": "javascript-module",
458
+ "path": "src/design-system/index.ts",
459
+ "declarations": [],
460
+ "exports": [
461
+ {
462
+ "kind": "js",
463
+ "name": "*",
464
+ "declaration": {
465
+ "name": "*",
466
+ "package": "./design-system"
467
+ }
468
+ }
469
+ ]
470
+ },
368
471
  {
369
472
  "kind": "javascript-module",
370
473
  "path": "src/directives/index.ts",
@@ -626,56 +729,6 @@
626
729
  }
627
730
  ]
628
731
  },
629
- {
630
- "kind": "javascript-module",
631
- "path": "src/design-system/design-system.ts",
632
- "declarations": [
633
- {
634
- "kind": "function",
635
- "name": "assureDesignSystem",
636
- "return": {
637
- "type": {
638
- "text": "DesignSystemModule"
639
- }
640
- },
641
- "parameters": [
642
- {
643
- "name": "module",
644
- "type": {
645
- "text": "DesignSystemModule"
646
- }
647
- }
648
- ],
649
- "description": "assureDesignSystem.",
650
- "privacy": "public"
651
- }
652
- ],
653
- "exports": [
654
- {
655
- "kind": "js",
656
- "name": "assureDesignSystem",
657
- "declaration": {
658
- "name": "assureDesignSystem",
659
- "module": "src/design-system/design-system.ts"
660
- }
661
- }
662
- ]
663
- },
664
- {
665
- "kind": "javascript-module",
666
- "path": "src/design-system/index.ts",
667
- "declarations": [],
668
- "exports": [
669
- {
670
- "kind": "js",
671
- "name": "*",
672
- "declaration": {
673
- "name": "*",
674
- "package": "./design-system"
675
- }
676
- }
677
- ]
678
- },
679
732
  {
680
733
  "kind": "javascript-module",
681
734
  "path": "src/error/errorMap.ts",
@@ -875,59 +928,6 @@
875
928
  }
876
929
  ]
877
930
  },
878
- {
879
- "kind": "javascript-module",
880
- "path": "src/decorators/index.ts",
881
- "declarations": [],
882
- "exports": [
883
- {
884
- "kind": "js",
885
- "name": "*",
886
- "declaration": {
887
- "name": "*",
888
- "package": "./renderOnChange"
889
- }
890
- }
891
- ]
892
- },
893
- {
894
- "kind": "javascript-module",
895
- "path": "src/decorators/renderOnChange.ts",
896
- "declarations": [
897
- {
898
- "kind": "function",
899
- "name": "renderOnChange",
900
- "parameters": [
901
- {
902
- "name": "target",
903
- "type": {
904
- "text": "FASTElement & { render(): void }"
905
- },
906
- "description": "The target to define the property change handler on."
907
- },
908
- {
909
- "name": "name",
910
- "type": {
911
- "text": "string"
912
- },
913
- "description": "The property name."
914
- }
915
- ],
916
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
917
- "privacy": "public"
918
- }
919
- ],
920
- "exports": [
921
- {
922
- "kind": "js",
923
- "name": "renderOnChange",
924
- "declaration": {
925
- "name": "renderOnChange",
926
- "module": "src/decorators/renderOnChange.ts"
927
- }
928
- }
929
- ]
930
- },
931
931
  {
932
932
  "kind": "javascript-module",
933
933
  "path": "src/formatters/datetime.ts",
@@ -1632,21 +1632,6 @@
1632
1632
  }
1633
1633
  ]
1634
1634
  },
1635
- {
1636
- "kind": "javascript-module",
1637
- "path": "src/serializers/index.ts",
1638
- "declarations": [],
1639
- "exports": [
1640
- {
1641
- "kind": "js",
1642
- "name": "*",
1643
- "declaration": {
1644
- "name": "*",
1645
- "package": "./json"
1646
- }
1647
- }
1648
- ]
1649
- },
1650
1635
  {
1651
1636
  "kind": "javascript-module",
1652
1637
  "path": "src/styles/color.ts",
@@ -2031,6 +2016,21 @@
2031
2016
  }
2032
2017
  ]
2033
2018
  },
2019
+ {
2020
+ "kind": "javascript-module",
2021
+ "path": "src/serializers/index.ts",
2022
+ "declarations": [],
2023
+ "exports": [
2024
+ {
2025
+ "kind": "js",
2026
+ "name": "*",
2027
+ "declaration": {
2028
+ "name": "*",
2029
+ "package": "./json"
2030
+ }
2031
+ }
2032
+ ]
2033
+ },
2034
2034
  {
2035
2035
  "kind": "javascript-module",
2036
2036
  "path": "src/uuid/index.ts",
@@ -2307,7 +2307,7 @@
2307
2307
  },
2308
2308
  {
2309
2309
  "kind": "javascript-module",
2310
- "path": "src/directives/when-else/index.ts",
2310
+ "path": "src/mappers/dto/index.ts",
2311
2311
  "declarations": [],
2312
2312
  "exports": [
2313
2313
  {
@@ -2315,22 +2315,122 @@
2315
2315
  "name": "*",
2316
2316
  "declaration": {
2317
2317
  "name": "*",
2318
- "package": "./when-else"
2318
+ "package": "./serverRow"
2319
+ }
2320
+ },
2321
+ {
2322
+ "kind": "js",
2323
+ "name": "*",
2324
+ "declaration": {
2325
+ "name": "*",
2326
+ "package": "./types"
2319
2327
  }
2320
2328
  }
2321
2329
  ]
2322
2330
  },
2323
2331
  {
2324
2332
  "kind": "javascript-module",
2325
- "path": "src/directives/when-else/when-else.ts",
2333
+ "path": "src/mappers/dto/serverRow.ts",
2326
2334
  "declarations": [
2327
2335
  {
2328
- "kind": "function",
2329
- "name": "whenElse",
2330
- "return": {
2331
- "type": {
2332
- "text": "CaptureType<TSource>"
2333
- }
2336
+ "kind": "class",
2337
+ "description": "The default `ServerRowDTOMapper`.",
2338
+ "name": "DefaultServerRowDTOMapper",
2339
+ "members": [
2340
+ {
2341
+ "kind": "field",
2342
+ "name": "fromDTO",
2343
+ "description": "Converts a server row DTO to an entity.",
2344
+ "parameters": [
2345
+ {
2346
+ "description": "The DTO to convert.",
2347
+ "name": "dto"
2348
+ }
2349
+ ],
2350
+ "return": {
2351
+ "type": {
2352
+ "text": ""
2353
+ }
2354
+ },
2355
+ "privacy": "public"
2356
+ },
2357
+ {
2358
+ "kind": "field",
2359
+ "name": "toDTO",
2360
+ "description": "Converts a server row entity to a DTO.",
2361
+ "parameters": [
2362
+ {
2363
+ "description": "The entity to convert.",
2364
+ "name": "entity"
2365
+ }
2366
+ ],
2367
+ "return": {
2368
+ "type": {
2369
+ "text": ""
2370
+ }
2371
+ },
2372
+ "privacy": "public"
2373
+ }
2374
+ ]
2375
+ },
2376
+ {
2377
+ "kind": "variable",
2378
+ "name": "ServerRowDTOMapper",
2379
+ "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2380
+ "privacy": "public"
2381
+ }
2382
+ ],
2383
+ "exports": [
2384
+ {
2385
+ "kind": "js",
2386
+ "name": "DefaultServerRowDTOMapper",
2387
+ "declaration": {
2388
+ "name": "DefaultServerRowDTOMapper",
2389
+ "module": "src/mappers/dto/serverRow.ts"
2390
+ }
2391
+ },
2392
+ {
2393
+ "kind": "js",
2394
+ "name": "ServerRowDTOMapper",
2395
+ "declaration": {
2396
+ "name": "ServerRowDTOMapper",
2397
+ "module": "src/mappers/dto/serverRow.ts"
2398
+ }
2399
+ }
2400
+ ]
2401
+ },
2402
+ {
2403
+ "kind": "javascript-module",
2404
+ "path": "src/mappers/dto/types.ts",
2405
+ "declarations": [],
2406
+ "exports": []
2407
+ },
2408
+ {
2409
+ "kind": "javascript-module",
2410
+ "path": "src/directives/when-else/index.ts",
2411
+ "declarations": [],
2412
+ "exports": [
2413
+ {
2414
+ "kind": "js",
2415
+ "name": "*",
2416
+ "declaration": {
2417
+ "name": "*",
2418
+ "package": "./when-else"
2419
+ }
2420
+ }
2421
+ ]
2422
+ },
2423
+ {
2424
+ "kind": "javascript-module",
2425
+ "path": "src/directives/when-else/when-else.ts",
2426
+ "declarations": [
2427
+ {
2428
+ "kind": "function",
2429
+ "name": "whenElse",
2430
+ "return": {
2431
+ "type": {
2432
+ "text": "CaptureType<TSource>"
2433
+ }
2334
2434
  },
2335
2435
  "parameters": [
2336
2436
  {
@@ -2372,7 +2472,7 @@
2372
2472
  },
2373
2473
  {
2374
2474
  "kind": "javascript-module",
2375
- "path": "src/mappers/dto/index.ts",
2475
+ "path": "src/mixins/pendingState/index.ts",
2376
2476
  "declarations": [],
2377
2477
  "exports": [
2378
2478
  {
@@ -2380,96 +2480,83 @@
2380
2480
  "name": "*",
2381
2481
  "declaration": {
2382
2482
  "name": "*",
2383
- "package": "./serverRow"
2384
- }
2385
- },
2386
- {
2387
- "kind": "js",
2388
- "name": "*",
2389
- "declaration": {
2390
- "name": "*",
2391
- "package": "./types"
2483
+ "package": "./pendingState"
2392
2484
  }
2393
2485
  }
2394
2486
  ]
2395
2487
  },
2396
2488
  {
2397
2489
  "kind": "javascript-module",
2398
- "path": "src/mappers/dto/serverRow.ts",
2490
+ "path": "src/mixins/pendingState/pendingState.ts",
2399
2491
  "declarations": [
2400
2492
  {
2401
- "kind": "class",
2402
- "description": "The default `ServerRowDTOMapper`.",
2403
- "name": "DefaultServerRowDTOMapper",
2493
+ "kind": "mixin",
2494
+ "description": "The `PendingState` mixin.",
2495
+ "name": "PendingState",
2404
2496
  "members": [
2405
2497
  {
2406
2498
  "kind": "field",
2407
- "name": "fromDTO",
2408
- "description": "Converts a server row DTO to an entity.",
2409
- "parameters": [
2410
- {
2411
- "description": "The DTO to convert.",
2412
- "name": "dto"
2413
- }
2414
- ],
2415
- "return": {
2416
- "type": {
2417
- "text": ""
2418
- }
2499
+ "name": "pendingCount",
2500
+ "type": {
2501
+ "text": "number"
2419
2502
  },
2420
- "privacy": "public"
2503
+ "privacy": "public",
2504
+ "default": "0",
2505
+ "description": "The number of promises that are currently pending."
2421
2506
  },
2422
2507
  {
2423
2508
  "kind": "field",
2424
- "name": "toDTO",
2425
- "description": "Converts a server row entity to a DTO.",
2426
- "parameters": [
2427
- {
2428
- "description": "The entity to convert.",
2429
- "name": "entity"
2430
- }
2431
- ],
2432
- "return": {
2433
- "type": {
2434
- "text": ""
2435
- }
2509
+ "name": "resolvedCount",
2510
+ "type": {
2511
+ "text": "number"
2436
2512
  },
2437
- "privacy": "public"
2513
+ "privacy": "public",
2514
+ "default": "0",
2515
+ "description": "The number of promises that have been resolved."
2516
+ },
2517
+ {
2518
+ "kind": "field",
2519
+ "name": "hasPendingChildren",
2520
+ "type": {
2521
+ "text": "boolean"
2522
+ },
2523
+ "privacy": "public",
2524
+ "default": "false",
2525
+ "description": "A boolean indicating whether there are any pending children."
2526
+ },
2527
+ {
2528
+ "kind": "field",
2529
+ "name": "progress",
2530
+ "type": {
2531
+ "text": "number"
2532
+ },
2533
+ "privacy": "public",
2534
+ "description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
2535
+ "readonly": true
2438
2536
  }
2439
- ]
2440
- },
2441
- {
2442
- "kind": "variable",
2443
- "name": "ServerRowDTOMapper",
2444
- "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2537
+ ],
2538
+ "parameters": [
2539
+ {
2540
+ "name": "Base",
2541
+ "type": {
2542
+ "text": "TBase"
2543
+ }
2544
+ }
2545
+ ],
2445
2546
  "privacy": "public"
2446
2547
  }
2447
2548
  ],
2448
2549
  "exports": [
2449
2550
  {
2450
2551
  "kind": "js",
2451
- "name": "DefaultServerRowDTOMapper",
2452
- "declaration": {
2453
- "name": "DefaultServerRowDTOMapper",
2454
- "module": "src/mappers/dto/serverRow.ts"
2455
- }
2456
- },
2457
- {
2458
- "kind": "js",
2459
- "name": "ServerRowDTOMapper",
2552
+ "name": "PendingState",
2460
2553
  "declaration": {
2461
- "name": "ServerRowDTOMapper",
2462
- "module": "src/mappers/dto/serverRow.ts"
2554
+ "name": "PendingState",
2555
+ "module": "src/mixins/pendingState/pendingState.ts"
2463
2556
  }
2464
2557
  }
2465
2558
  ]
2466
2559
  },
2467
- {
2468
- "kind": "javascript-module",
2469
- "path": "src/mappers/dto/types.ts",
2470
- "declarations": [],
2471
- "exports": []
2472
- },
2473
2560
  {
2474
2561
  "kind": "javascript-module",
2475
2562
  "path": "src/mixins/lifecycle/index.ts",
@@ -2594,93 +2681,6 @@
2594
2681
  }
2595
2682
  ]
2596
2683
  },
2597
- {
2598
- "kind": "javascript-module",
2599
- "path": "src/mixins/pendingState/index.ts",
2600
- "declarations": [],
2601
- "exports": [
2602
- {
2603
- "kind": "js",
2604
- "name": "*",
2605
- "declaration": {
2606
- "name": "*",
2607
- "package": "./pendingState"
2608
- }
2609
- }
2610
- ]
2611
- },
2612
- {
2613
- "kind": "javascript-module",
2614
- "path": "src/mixins/pendingState/pendingState.ts",
2615
- "declarations": [
2616
- {
2617
- "kind": "mixin",
2618
- "description": "The `PendingState` mixin.",
2619
- "name": "PendingState",
2620
- "members": [
2621
- {
2622
- "kind": "field",
2623
- "name": "pendingCount",
2624
- "type": {
2625
- "text": "number"
2626
- },
2627
- "privacy": "public",
2628
- "default": "0",
2629
- "description": "The number of promises that are currently pending."
2630
- },
2631
- {
2632
- "kind": "field",
2633
- "name": "resolvedCount",
2634
- "type": {
2635
- "text": "number"
2636
- },
2637
- "privacy": "public",
2638
- "default": "0",
2639
- "description": "The number of promises that have been resolved."
2640
- },
2641
- {
2642
- "kind": "field",
2643
- "name": "hasPendingChildren",
2644
- "type": {
2645
- "text": "boolean"
2646
- },
2647
- "privacy": "public",
2648
- "default": "false",
2649
- "description": "A boolean indicating whether there are any pending children."
2650
- },
2651
- {
2652
- "kind": "field",
2653
- "name": "progress",
2654
- "type": {
2655
- "text": "number"
2656
- },
2657
- "privacy": "public",
2658
- "description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
2659
- "readonly": true
2660
- }
2661
- ],
2662
- "parameters": [
2663
- {
2664
- "name": "Base",
2665
- "type": {
2666
- "text": "TBase"
2667
- }
2668
- }
2669
- ],
2670
- "privacy": "public"
2671
- }
2672
- ],
2673
- "exports": [
2674
- {
2675
- "kind": "js",
2676
- "name": "PendingState",
2677
- "declaration": {
2678
- "name": "PendingState",
2679
- "module": "src/mixins/pendingState/pendingState.ts"
2680
- }
2681
- }
2682
- ]
2683
- },
2684
2684
  {
2685
2685
  "kind": "javascript-module",
2686
2686
  "path": "src/serializers/json/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.207.0",
4
+ "version": "14.207.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.207.0",
31
- "@genesislcap/genx": "14.207.0",
32
- "@genesislcap/rollup-builder": "14.207.0",
33
- "@genesislcap/ts-builder": "14.207.0",
34
- "@genesislcap/uvu-playwright-builder": "14.207.0",
35
- "@genesislcap/vite-builder": "14.207.0",
36
- "@genesislcap/webpack-builder": "14.207.0",
30
+ "@genesislcap/foundation-testing": "14.207.1",
31
+ "@genesislcap/genx": "14.207.1",
32
+ "@genesislcap/rollup-builder": "14.207.1",
33
+ "@genesislcap/ts-builder": "14.207.1",
34
+ "@genesislcap/uvu-playwright-builder": "14.207.1",
35
+ "@genesislcap/vite-builder": "14.207.1",
36
+ "@genesislcap/webpack-builder": "14.207.1",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.207.0",
40
+ "@genesislcap/foundation-logger": "14.207.1",
41
41
  "@microsoft/fast-components": "^2.30.6",
42
42
  "@microsoft/fast-element": "^1.12.0",
43
43
  "@microsoft/fast-foundation": "^2.49.4",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "16758f027692f6e4a17639fa974850bb7501ca64"
58
+ "gitHead": "bb626dc9c7047e3b4a66679f05cbf715096b0f6d"
59
59
  }