@genesislcap/foundation-utils 14.229.0 → 14.230.0

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 +165 -165
  2. package/package.json +10 -10
@@ -1368,7 +1368,7 @@
1368
1368
  },
1369
1369
  {
1370
1370
  "kind": "javascript-module",
1371
- "path": "src/mixins/index.ts",
1371
+ "path": "src/mappers/index.ts",
1372
1372
  "declarations": [],
1373
1373
  "exports": [
1374
1374
  {
@@ -1376,22 +1376,14 @@
1376
1376
  "name": "*",
1377
1377
  "declaration": {
1378
1378
  "name": "*",
1379
- "package": "./pendingState"
1380
- }
1381
- },
1382
- {
1383
- "kind": "js",
1384
- "name": "*",
1385
- "declaration": {
1386
- "name": "*",
1387
- "package": "./lifecycle"
1379
+ "package": "./dto"
1388
1380
  }
1389
1381
  }
1390
1382
  ]
1391
1383
  },
1392
1384
  {
1393
1385
  "kind": "javascript-module",
1394
- "path": "src/mappers/index.ts",
1386
+ "path": "src/mixins/index.ts",
1395
1387
  "declarations": [],
1396
1388
  "exports": [
1397
1389
  {
@@ -1399,7 +1391,15 @@
1399
1391
  "name": "*",
1400
1392
  "declaration": {
1401
1393
  "name": "*",
1402
- "package": "./dto"
1394
+ "package": "./pendingState"
1395
+ }
1396
+ },
1397
+ {
1398
+ "kind": "js",
1399
+ "name": "*",
1400
+ "declaration": {
1401
+ "name": "*",
1402
+ "package": "./lifecycle"
1403
1403
  }
1404
1404
  }
1405
1405
  ]
@@ -1476,6 +1476,47 @@
1476
1476
  }
1477
1477
  ]
1478
1478
  },
1479
+ {
1480
+ "kind": "javascript-module",
1481
+ "path": "src/resource/index.ts",
1482
+ "declarations": [],
1483
+ "exports": [
1484
+ {
1485
+ "kind": "js",
1486
+ "name": "*",
1487
+ "declaration": {
1488
+ "name": "*",
1489
+ "package": "./types"
1490
+ }
1491
+ }
1492
+ ]
1493
+ },
1494
+ {
1495
+ "kind": "javascript-module",
1496
+ "path": "src/resource/types.ts",
1497
+ "declarations": [
1498
+ {
1499
+ "kind": "variable",
1500
+ "name": "ResourceType",
1501
+ "type": {
1502
+ "text": "{\n local: 'local',\n remote: 'remote',\n}"
1503
+ },
1504
+ "default": "{\n local: 'local',\n remote: 'remote',\n}",
1505
+ "description": "An object that defines two resource types: \"local\" and \"remote\".",
1506
+ "privacy": "public"
1507
+ }
1508
+ ],
1509
+ "exports": [
1510
+ {
1511
+ "kind": "js",
1512
+ "name": "ResourceType",
1513
+ "declaration": {
1514
+ "name": "ResourceType",
1515
+ "module": "src/resource/types.ts"
1516
+ }
1517
+ }
1518
+ ]
1519
+ },
1479
1520
  {
1480
1521
  "kind": "javascript-module",
1481
1522
  "path": "src/promise/index.ts",
@@ -1547,47 +1588,6 @@
1547
1588
  }
1548
1589
  ]
1549
1590
  },
1550
- {
1551
- "kind": "javascript-module",
1552
- "path": "src/resource/index.ts",
1553
- "declarations": [],
1554
- "exports": [
1555
- {
1556
- "kind": "js",
1557
- "name": "*",
1558
- "declaration": {
1559
- "name": "*",
1560
- "package": "./types"
1561
- }
1562
- }
1563
- ]
1564
- },
1565
- {
1566
- "kind": "javascript-module",
1567
- "path": "src/resource/types.ts",
1568
- "declarations": [
1569
- {
1570
- "kind": "variable",
1571
- "name": "ResourceType",
1572
- "type": {
1573
- "text": "{\n local: 'local',\n remote: 'remote',\n}"
1574
- },
1575
- "default": "{\n local: 'local',\n remote: 'remote',\n}",
1576
- "description": "An object that defines two resource types: \"local\" and \"remote\".",
1577
- "privacy": "public"
1578
- }
1579
- ],
1580
- "exports": [
1581
- {
1582
- "kind": "js",
1583
- "name": "ResourceType",
1584
- "declaration": {
1585
- "name": "ResourceType",
1586
- "module": "src/resource/types.ts"
1587
- }
1588
- }
1589
- ]
1590
- },
1591
1591
  {
1592
1592
  "kind": "javascript-module",
1593
1593
  "path": "src/state/index.ts",
@@ -2593,7 +2593,7 @@
2593
2593
  },
2594
2594
  {
2595
2595
  "kind": "javascript-module",
2596
- "path": "src/mixins/lifecycle/index.ts",
2596
+ "path": "src/mappers/dto/index.ts",
2597
2597
  "declarations": [],
2598
2598
  "exports": [
2599
2599
  {
@@ -2601,120 +2601,96 @@
2601
2601
  "name": "*",
2602
2602
  "declaration": {
2603
2603
  "name": "*",
2604
- "package": "./lifecycle"
2604
+ "package": "./serverRow"
2605
+ }
2606
+ },
2607
+ {
2608
+ "kind": "js",
2609
+ "name": "*",
2610
+ "declaration": {
2611
+ "name": "*",
2612
+ "package": "./types"
2605
2613
  }
2606
2614
  }
2607
2615
  ]
2608
2616
  },
2609
2617
  {
2610
2618
  "kind": "javascript-module",
2611
- "path": "src/mixins/lifecycle/lifecycle.ts",
2619
+ "path": "src/mappers/dto/serverRow.ts",
2612
2620
  "declarations": [
2613
2621
  {
2614
- "kind": "mixin",
2615
- "description": "",
2616
- "name": "LifecycleMixin",
2622
+ "kind": "class",
2623
+ "description": "The default `ServerRowDTOMapper`.",
2624
+ "name": "DefaultServerRowDTOMapper",
2617
2625
  "members": [
2618
2626
  {
2619
- "kind": "method",
2620
- "name": "cloneNode",
2621
- "return": {
2622
- "type": {
2623
- "text": "Node"
2624
- }
2625
- },
2627
+ "kind": "field",
2628
+ "name": "fromDTO",
2629
+ "description": "Converts a server row DTO to an entity.",
2626
2630
  "parameters": [
2627
2631
  {
2628
- "name": "deep",
2629
- "optional": true,
2630
- "type": {
2631
- "text": "boolean"
2632
- }
2633
- }
2634
- ]
2635
- },
2636
- {
2637
- "kind": "method",
2638
- "name": "deepClone",
2639
- "return": {
2640
- "type": {
2641
- "text": "Node"
2632
+ "description": "The DTO to convert.",
2633
+ "name": "dto"
2642
2634
  }
2643
- }
2644
- },
2645
- {
2646
- "kind": "field",
2647
- "name": "shouldRunDisconnect",
2635
+ ],
2648
2636
  "return": {
2649
2637
  "type": {
2650
2638
  "text": ""
2651
2639
  }
2652
2640
  },
2653
- "readonly": true
2641
+ "privacy": "public"
2654
2642
  },
2655
2643
  {
2656
2644
  "kind": "field",
2657
- "name": "shouldRunConnect",
2658
- "return": {
2659
- "type": {
2660
- "text": ""
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"
2661
2651
  }
2662
- },
2663
- "readonly": true
2664
- },
2665
- {
2666
- "kind": "method",
2667
- "name": "#_blockLifecycleDueToTokenChange",
2652
+ ],
2668
2653
  "return": {
2669
2654
  "type": {
2670
- "text": "boolean"
2655
+ "text": ""
2671
2656
  }
2672
2657
  },
2673
- "parameters": [
2674
- {
2675
- "name": "lifecycleType",
2676
- "type": {
2677
- "text": "Lifecycletype"
2678
- }
2679
- }
2680
- ]
2681
- }
2682
- ],
2683
- "parameters": [
2684
- {
2685
- "name": "Base",
2686
- "type": {
2687
- "text": "T"
2688
- }
2658
+ "privacy": "public"
2689
2659
  }
2690
2660
  ]
2691
2661
  },
2692
2662
  {
2693
2663
  "kind": "variable",
2694
- "name": "layoutCacheDocument",
2695
- "description": "Stored on the layout's internal cache to signify that the document is not part of the DOM",
2664
+ "name": "ServerRowDTOMapper",
2665
+ "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2696
2666
  "privacy": "public"
2697
2667
  }
2698
2668
  ],
2699
2669
  "exports": [
2700
2670
  {
2701
2671
  "kind": "js",
2702
- "name": "LifecycleMixin",
2672
+ "name": "DefaultServerRowDTOMapper",
2703
2673
  "declaration": {
2704
- "name": "LifecycleMixin",
2705
- "module": "src/mixins/lifecycle/lifecycle.ts"
2674
+ "name": "DefaultServerRowDTOMapper",
2675
+ "module": "src/mappers/dto/serverRow.ts"
2706
2676
  }
2707
2677
  },
2708
2678
  {
2709
2679
  "kind": "js",
2710
- "name": "layoutCacheDocument",
2680
+ "name": "ServerRowDTOMapper",
2711
2681
  "declaration": {
2712
- "name": "layoutCacheDocument",
2713
- "module": "src/mixins/lifecycle/lifecycle.ts"
2682
+ "name": "ServerRowDTOMapper",
2683
+ "module": "src/mappers/dto/serverRow.ts"
2714
2684
  }
2715
2685
  }
2716
2686
  ]
2717
2687
  },
2688
+ {
2689
+ "kind": "javascript-module",
2690
+ "path": "src/mappers/dto/types.ts",
2691
+ "declarations": [],
2692
+ "exports": []
2693
+ },
2718
2694
  {
2719
2695
  "kind": "javascript-module",
2720
2696
  "path": "src/mixins/pendingState/index.ts",
@@ -2804,7 +2780,7 @@
2804
2780
  },
2805
2781
  {
2806
2782
  "kind": "javascript-module",
2807
- "path": "src/mappers/dto/index.ts",
2783
+ "path": "src/mixins/lifecycle/index.ts",
2808
2784
  "declarations": [],
2809
2785
  "exports": [
2810
2786
  {
@@ -2812,96 +2788,120 @@
2812
2788
  "name": "*",
2813
2789
  "declaration": {
2814
2790
  "name": "*",
2815
- "package": "./serverRow"
2816
- }
2817
- },
2818
- {
2819
- "kind": "js",
2820
- "name": "*",
2821
- "declaration": {
2822
- "name": "*",
2823
- "package": "./types"
2791
+ "package": "./lifecycle"
2824
2792
  }
2825
2793
  }
2826
2794
  ]
2827
2795
  },
2828
2796
  {
2829
2797
  "kind": "javascript-module",
2830
- "path": "src/mappers/dto/serverRow.ts",
2798
+ "path": "src/mixins/lifecycle/lifecycle.ts",
2831
2799
  "declarations": [
2832
2800
  {
2833
- "kind": "class",
2834
- "description": "The default `ServerRowDTOMapper`.",
2835
- "name": "DefaultServerRowDTOMapper",
2801
+ "kind": "mixin",
2802
+ "description": "",
2803
+ "name": "LifecycleMixin",
2836
2804
  "members": [
2837
2805
  {
2838
- "kind": "field",
2839
- "name": "fromDTO",
2840
- "description": "Converts a server row DTO to an entity.",
2806
+ "kind": "method",
2807
+ "name": "cloneNode",
2808
+ "return": {
2809
+ "type": {
2810
+ "text": "Node"
2811
+ }
2812
+ },
2841
2813
  "parameters": [
2842
2814
  {
2843
- "description": "The DTO to convert.",
2844
- "name": "dto"
2815
+ "name": "deep",
2816
+ "optional": true,
2817
+ "type": {
2818
+ "text": "boolean"
2819
+ }
2845
2820
  }
2846
- ],
2821
+ ]
2822
+ },
2823
+ {
2824
+ "kind": "method",
2825
+ "name": "deepClone",
2826
+ "return": {
2827
+ "type": {
2828
+ "text": "Node"
2829
+ }
2830
+ }
2831
+ },
2832
+ {
2833
+ "kind": "field",
2834
+ "name": "shouldRunDisconnect",
2847
2835
  "return": {
2848
2836
  "type": {
2849
2837
  "text": ""
2850
2838
  }
2851
2839
  },
2852
- "privacy": "public"
2840
+ "readonly": true
2853
2841
  },
2854
2842
  {
2855
2843
  "kind": "field",
2856
- "name": "toDTO",
2857
- "description": "Converts a server row entity to a DTO.",
2858
- "parameters": [
2859
- {
2860
- "description": "The entity to convert.",
2861
- "name": "entity"
2862
- }
2863
- ],
2844
+ "name": "shouldRunConnect",
2864
2845
  "return": {
2865
2846
  "type": {
2866
2847
  "text": ""
2867
2848
  }
2868
2849
  },
2869
- "privacy": "public"
2850
+ "readonly": true
2851
+ },
2852
+ {
2853
+ "kind": "method",
2854
+ "name": "#_blockLifecycleDueToTokenChange",
2855
+ "return": {
2856
+ "type": {
2857
+ "text": "boolean"
2858
+ }
2859
+ },
2860
+ "parameters": [
2861
+ {
2862
+ "name": "lifecycleType",
2863
+ "type": {
2864
+ "text": "Lifecycletype"
2865
+ }
2866
+ }
2867
+ ]
2868
+ }
2869
+ ],
2870
+ "parameters": [
2871
+ {
2872
+ "name": "Base",
2873
+ "type": {
2874
+ "text": "T"
2875
+ }
2870
2876
  }
2871
2877
  ]
2872
2878
  },
2873
2879
  {
2874
2880
  "kind": "variable",
2875
- "name": "ServerRowDTOMapper",
2876
- "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2881
+ "name": "layoutCacheDocument",
2882
+ "description": "Stored on the layout's internal cache to signify that the document is not part of the DOM",
2877
2883
  "privacy": "public"
2878
2884
  }
2879
2885
  ],
2880
2886
  "exports": [
2881
2887
  {
2882
2888
  "kind": "js",
2883
- "name": "DefaultServerRowDTOMapper",
2889
+ "name": "LifecycleMixin",
2884
2890
  "declaration": {
2885
- "name": "DefaultServerRowDTOMapper",
2886
- "module": "src/mappers/dto/serverRow.ts"
2891
+ "name": "LifecycleMixin",
2892
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2887
2893
  }
2888
2894
  },
2889
2895
  {
2890
2896
  "kind": "js",
2891
- "name": "ServerRowDTOMapper",
2897
+ "name": "layoutCacheDocument",
2892
2898
  "declaration": {
2893
- "name": "ServerRowDTOMapper",
2894
- "module": "src/mappers/dto/serverRow.ts"
2899
+ "name": "layoutCacheDocument",
2900
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2895
2901
  }
2896
2902
  }
2897
2903
  ]
2898
2904
  },
2899
- {
2900
- "kind": "javascript-module",
2901
- "path": "src/mappers/dto/types.ts",
2902
- "declarations": [],
2903
- "exports": []
2904
- },
2905
2905
  {
2906
2906
  "kind": "javascript-module",
2907
2907
  "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.229.0",
4
+ "version": "14.230.0",
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.229.0",
31
- "@genesislcap/genx": "14.229.0",
32
- "@genesislcap/rollup-builder": "14.229.0",
33
- "@genesislcap/ts-builder": "14.229.0",
34
- "@genesislcap/uvu-playwright-builder": "14.229.0",
35
- "@genesislcap/vite-builder": "14.229.0",
36
- "@genesislcap/webpack-builder": "14.229.0",
30
+ "@genesislcap/foundation-testing": "14.230.0",
31
+ "@genesislcap/genx": "14.230.0",
32
+ "@genesislcap/rollup-builder": "14.230.0",
33
+ "@genesislcap/ts-builder": "14.230.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.230.0",
35
+ "@genesislcap/vite-builder": "14.230.0",
36
+ "@genesislcap/webpack-builder": "14.230.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.229.0",
40
+ "@genesislcap/foundation-logger": "14.230.0",
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": "ed5a13f2ec7e5ec6d44f412f4a9942574f2f4044"
58
+ "gitHead": "d11133b9c0aad37b85c8bf85973ffc59581534e5"
59
59
  }