@genesislcap/foundation-utils 14.138.1-beta.ce4b104.1 → 14.139.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.
@@ -452,6 +452,29 @@
452
452
  }
453
453
  ]
454
454
  },
455
+ {
456
+ "kind": "javascript-module",
457
+ "path": "src/directives/index.ts",
458
+ "declarations": [],
459
+ "exports": [
460
+ {
461
+ "kind": "js",
462
+ "name": "*",
463
+ "declaration": {
464
+ "name": "*",
465
+ "package": "./sync"
466
+ }
467
+ },
468
+ {
469
+ "kind": "js",
470
+ "name": "*",
471
+ "declaration": {
472
+ "name": "*",
473
+ "package": "./when-else"
474
+ }
475
+ }
476
+ ]
477
+ },
455
478
  {
456
479
  "kind": "javascript-module",
457
480
  "path": "src/env/index.ts",
@@ -1086,29 +1109,6 @@
1086
1109
  }
1087
1110
  ]
1088
1111
  },
1089
- {
1090
- "kind": "javascript-module",
1091
- "path": "src/directives/index.ts",
1092
- "declarations": [],
1093
- "exports": [
1094
- {
1095
- "kind": "js",
1096
- "name": "*",
1097
- "declaration": {
1098
- "name": "*",
1099
- "package": "./sync"
1100
- }
1101
- },
1102
- {
1103
- "kind": "js",
1104
- "name": "*",
1105
- "declaration": {
1106
- "name": "*",
1107
- "package": "./when-else"
1108
- }
1109
- }
1110
- ]
1111
- },
1112
1112
  {
1113
1113
  "kind": "javascript-module",
1114
1114
  "path": "src/logger/index.ts",
@@ -1487,6 +1487,41 @@
1487
1487
  }
1488
1488
  ]
1489
1489
  },
1490
+ {
1491
+ "kind": "javascript-module",
1492
+ "path": "src/utils/index.ts",
1493
+ "declarations": [],
1494
+ "exports": [
1495
+ {
1496
+ "kind": "js",
1497
+ "name": "*",
1498
+ "declaration": {
1499
+ "name": "*",
1500
+ "package": "./logger"
1501
+ }
1502
+ }
1503
+ ]
1504
+ },
1505
+ {
1506
+ "kind": "javascript-module",
1507
+ "path": "src/utils/logger.ts",
1508
+ "declarations": [
1509
+ {
1510
+ "kind": "variable",
1511
+ "name": "logger"
1512
+ }
1513
+ ],
1514
+ "exports": [
1515
+ {
1516
+ "kind": "js",
1517
+ "name": "logger",
1518
+ "declaration": {
1519
+ "name": "logger",
1520
+ "module": "src/utils/logger.ts"
1521
+ }
1522
+ }
1523
+ ]
1524
+ },
1490
1525
  {
1491
1526
  "kind": "javascript-module",
1492
1527
  "path": "src/styles/color.ts",
@@ -1834,41 +1869,6 @@
1834
1869
  }
1835
1870
  ]
1836
1871
  },
1837
- {
1838
- "kind": "javascript-module",
1839
- "path": "src/utils/index.ts",
1840
- "declarations": [],
1841
- "exports": [
1842
- {
1843
- "kind": "js",
1844
- "name": "*",
1845
- "declaration": {
1846
- "name": "*",
1847
- "package": "./logger"
1848
- }
1849
- }
1850
- ]
1851
- },
1852
- {
1853
- "kind": "javascript-module",
1854
- "path": "src/utils/logger.ts",
1855
- "declarations": [
1856
- {
1857
- "kind": "variable",
1858
- "name": "logger"
1859
- }
1860
- ],
1861
- "exports": [
1862
- {
1863
- "kind": "js",
1864
- "name": "logger",
1865
- "declaration": {
1866
- "name": "logger",
1867
- "module": "src/utils/logger.ts"
1868
- }
1869
- }
1870
- ]
1871
- },
1872
1872
  {
1873
1873
  "kind": "javascript-module",
1874
1874
  "path": "src/uuid/index.ts",
@@ -2310,7 +2310,7 @@
2310
2310
  },
2311
2311
  {
2312
2312
  "kind": "javascript-module",
2313
- "path": "src/serializers/json/index.ts",
2313
+ "path": "src/mixins/lifecycle/index.ts",
2314
2314
  "declarations": [],
2315
2315
  "exports": [
2316
2316
  {
@@ -2318,223 +2318,120 @@
2318
2318
  "name": "*",
2319
2319
  "declaration": {
2320
2320
  "name": "*",
2321
- "package": "./json"
2322
- }
2323
- },
2324
- {
2325
- "kind": "js",
2326
- "name": "*",
2327
- "declaration": {
2328
- "name": "*",
2329
- "package": "./json.types"
2330
- }
2331
- },
2332
- {
2333
- "kind": "js",
2334
- "name": "*",
2335
- "declaration": {
2336
- "name": "*",
2337
- "package": "./jsonReplacer"
2338
- }
2339
- },
2340
- {
2341
- "kind": "js",
2342
- "name": "*",
2343
- "declaration": {
2344
- "name": "*",
2345
- "package": "./jsonReviver"
2321
+ "package": "./lifecycle"
2346
2322
  }
2347
2323
  }
2348
2324
  ]
2349
2325
  },
2350
2326
  {
2351
2327
  "kind": "javascript-module",
2352
- "path": "src/serializers/json/json.ts",
2328
+ "path": "src/mixins/lifecycle/lifecycle.ts",
2353
2329
  "declarations": [
2354
2330
  {
2355
- "kind": "function",
2356
- "name": "customNumberParser",
2357
- "parameters": [
2358
- {
2359
- "name": "value"
2360
- }
2361
- ],
2362
- "description": "A Default Number Parser for deserializing objects.",
2363
- "privacy": "public"
2364
- },
2365
- {
2366
- "kind": "variable",
2367
- "name": "defaultJSONSerializerConfig",
2368
- "type": {
2369
- "text": "JSONSerializerConfig"
2370
- },
2371
- "default": "{\n parse: (input: any) => parse(input, null, customNumberParser),\n stringify: (object: any) => stringify(object),\n}",
2372
- "description": "A Default JSONSerializer Config for serializing and deserializing functions.",
2373
- "privacy": "public"
2374
- },
2375
- {
2376
- "kind": "class",
2331
+ "kind": "mixin",
2377
2332
  "description": "",
2378
- "name": "DefaultJSONSerializer",
2333
+ "name": "LifecycleMixin",
2379
2334
  "members": [
2335
+ {
2336
+ "kind": "method",
2337
+ "name": "cloneNode",
2338
+ "return": {
2339
+ "type": {
2340
+ "text": "Node"
2341
+ }
2342
+ },
2343
+ "parameters": [
2344
+ {
2345
+ "name": "deep",
2346
+ "optional": true,
2347
+ "type": {
2348
+ "text": "boolean"
2349
+ }
2350
+ }
2351
+ ]
2352
+ },
2353
+ {
2354
+ "kind": "method",
2355
+ "name": "deepClone",
2356
+ "return": {
2357
+ "type": {
2358
+ "text": "Node"
2359
+ }
2360
+ }
2361
+ },
2380
2362
  {
2381
2363
  "kind": "field",
2382
- "name": "serialize"
2364
+ "name": "shouldRunDisconnect",
2365
+ "return": {
2366
+ "type": {
2367
+ "text": ""
2368
+ }
2369
+ },
2370
+ "readonly": true
2371
+ },
2372
+ {
2373
+ "kind": "field",
2374
+ "name": "shouldRunConnect",
2375
+ "return": {
2376
+ "type": {
2377
+ "text": ""
2378
+ }
2379
+ },
2380
+ "readonly": true
2383
2381
  },
2384
2382
  {
2385
2383
  "kind": "method",
2386
- "name": "deserialize",
2384
+ "name": "#_blockLifecycleDueToTokenChange",
2385
+ "return": {
2386
+ "type": {
2387
+ "text": "boolean"
2388
+ }
2389
+ },
2387
2390
  "parameters": [
2388
2391
  {
2389
- "name": "input",
2392
+ "name": "lifecycleType",
2390
2393
  "type": {
2391
- "text": "any"
2394
+ "text": "Lifecycletype"
2392
2395
  }
2393
2396
  }
2394
2397
  ]
2395
2398
  }
2399
+ ],
2400
+ "parameters": [
2401
+ {
2402
+ "name": "Base",
2403
+ "type": {
2404
+ "text": "T"
2405
+ }
2406
+ }
2396
2407
  ]
2397
2408
  },
2398
2409
  {
2399
2410
  "kind": "variable",
2400
- "name": "JSONSerializer",
2401
- "description": "A DI token for the JSON serializer.",
2411
+ "name": "layoutCacheDocument",
2412
+ "description": "Stored on the layout's internal cache to signify that the document is not part of the DOM",
2402
2413
  "privacy": "public"
2403
2414
  }
2404
2415
  ],
2405
2416
  "exports": [
2406
2417
  {
2407
2418
  "kind": "js",
2408
- "name": "customNumberParser",
2419
+ "name": "LifecycleMixin",
2409
2420
  "declaration": {
2410
- "name": "customNumberParser",
2411
- "module": "src/serializers/json/json.ts"
2421
+ "name": "LifecycleMixin",
2422
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2412
2423
  }
2413
2424
  },
2414
2425
  {
2415
2426
  "kind": "js",
2416
- "name": "defaultJSONSerializerConfig",
2427
+ "name": "layoutCacheDocument",
2417
2428
  "declaration": {
2418
- "name": "defaultJSONSerializerConfig",
2419
- "module": "src/serializers/json/json.ts"
2420
- }
2421
- },
2422
- {
2423
- "kind": "js",
2424
- "name": "default",
2425
- "declaration": {
2426
- "name": "DefaultJSONSerializer",
2427
- "module": "src/serializers/json/json.ts"
2428
- }
2429
- },
2430
- {
2431
- "kind": "js",
2432
- "name": "JSONSerializer",
2433
- "declaration": {
2434
- "name": "JSONSerializer",
2435
- "module": "src/serializers/json/json.ts"
2436
- }
2437
- }
2438
- ]
2439
- },
2440
- {
2441
- "kind": "javascript-module",
2442
- "path": "src/serializers/json/json.types.ts",
2443
- "declarations": [],
2444
- "exports": []
2445
- },
2446
- {
2447
- "kind": "javascript-module",
2448
- "path": "src/serializers/json/jsonReplacer.ts",
2449
- "declarations": [
2450
- {
2451
- "kind": "function",
2452
- "name": "JSONReplacer",
2453
- "return": {
2454
- "type": {
2455
- "text": ""
2456
- }
2457
- },
2458
- "parameters": [
2459
- {
2460
- "name": "key",
2461
- "type": {
2462
- "text": "string"
2463
- },
2464
- "description": "The object key."
2465
- },
2466
- {
2467
- "name": "value",
2468
- "type": {
2469
- "text": "any"
2470
- },
2471
- "description": "The key value."
2472
- }
2473
- ],
2474
- "description": "JSON replacer function.",
2475
- "privacy": "public"
2476
- }
2477
- ],
2478
- "exports": [
2479
- {
2480
- "kind": "js",
2481
- "name": "JSONReplacer",
2482
- "declaration": {
2483
- "name": "JSONReplacer",
2484
- "module": "src/serializers/json/jsonReplacer.ts"
2429
+ "name": "layoutCacheDocument",
2430
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2485
2431
  }
2486
2432
  }
2487
2433
  ]
2488
2434
  },
2489
- {
2490
- "kind": "javascript-module",
2491
- "path": "src/serializers/json/jsonReviver.ts",
2492
- "declarations": [
2493
- {
2494
- "kind": "function",
2495
- "name": "JSONReviver",
2496
- "return": {
2497
- "type": {
2498
- "text": ""
2499
- }
2500
- },
2501
- "parameters": [
2502
- {
2503
- "name": "key",
2504
- "type": {
2505
- "text": "string"
2506
- },
2507
- "description": "The object key."
2508
- },
2509
- {
2510
- "name": "value",
2511
- "type": {
2512
- "text": "any"
2513
- },
2514
- "description": "The key value."
2515
- }
2516
- ],
2517
- "description": "JSON reviver function.",
2518
- "privacy": "public"
2519
- }
2520
- ],
2521
- "exports": [
2522
- {
2523
- "kind": "js",
2524
- "name": "JSONReviver",
2525
- "declaration": {
2526
- "name": "JSONReviver",
2527
- "module": "src/serializers/json/jsonReviver.ts"
2528
- }
2529
- }
2530
- ]
2531
- },
2532
- {
2533
- "kind": "javascript-module",
2534
- "path": "src/serializers/json/types.ts",
2535
- "declarations": [],
2536
- "exports": []
2537
- },
2538
2435
  {
2539
2436
  "kind": "javascript-module",
2540
2437
  "path": "src/mixins/pendingState/index.ts",
@@ -2624,7 +2521,7 @@
2624
2521
  },
2625
2522
  {
2626
2523
  "kind": "javascript-module",
2627
- "path": "src/mixins/lifecycle/index.ts",
2524
+ "path": "src/serializers/json/index.ts",
2628
2525
  "declarations": [],
2629
2526
  "exports": [
2630
2527
  {
@@ -2632,119 +2529,222 @@
2632
2529
  "name": "*",
2633
2530
  "declaration": {
2634
2531
  "name": "*",
2635
- "package": "./lifecycle"
2532
+ "package": "./json"
2533
+ }
2534
+ },
2535
+ {
2536
+ "kind": "js",
2537
+ "name": "*",
2538
+ "declaration": {
2539
+ "name": "*",
2540
+ "package": "./json.types"
2541
+ }
2542
+ },
2543
+ {
2544
+ "kind": "js",
2545
+ "name": "*",
2546
+ "declaration": {
2547
+ "name": "*",
2548
+ "package": "./jsonReplacer"
2549
+ }
2550
+ },
2551
+ {
2552
+ "kind": "js",
2553
+ "name": "*",
2554
+ "declaration": {
2555
+ "name": "*",
2556
+ "package": "./jsonReviver"
2636
2557
  }
2637
2558
  }
2638
2559
  ]
2639
2560
  },
2640
2561
  {
2641
2562
  "kind": "javascript-module",
2642
- "path": "src/mixins/lifecycle/lifecycle.ts",
2563
+ "path": "src/serializers/json/json.ts",
2643
2564
  "declarations": [
2644
2565
  {
2645
- "kind": "mixin",
2566
+ "kind": "function",
2567
+ "name": "customNumberParser",
2568
+ "parameters": [
2569
+ {
2570
+ "name": "value"
2571
+ }
2572
+ ],
2573
+ "description": "A Default Number Parser for deserializing objects.",
2574
+ "privacy": "public"
2575
+ },
2576
+ {
2577
+ "kind": "variable",
2578
+ "name": "defaultJSONSerializerConfig",
2579
+ "type": {
2580
+ "text": "JSONSerializerConfig"
2581
+ },
2582
+ "default": "{\n parse: (input: any) => parse(input, null, customNumberParser),\n stringify: (object: any) => stringify(object),\n}",
2583
+ "description": "A Default JSONSerializer Config for serializing and deserializing functions.",
2584
+ "privacy": "public"
2585
+ },
2586
+ {
2587
+ "kind": "class",
2646
2588
  "description": "",
2647
- "name": "LifecycleMixin",
2589
+ "name": "DefaultJSONSerializer",
2648
2590
  "members": [
2649
- {
2650
- "kind": "method",
2651
- "name": "cloneNode",
2652
- "return": {
2653
- "type": {
2654
- "text": "Node"
2655
- }
2656
- },
2657
- "parameters": [
2658
- {
2659
- "name": "deep",
2660
- "optional": true,
2661
- "type": {
2662
- "text": "boolean"
2663
- }
2664
- }
2665
- ]
2666
- },
2667
- {
2668
- "kind": "method",
2669
- "name": "deepClone",
2670
- "return": {
2671
- "type": {
2672
- "text": "Node"
2673
- }
2674
- }
2675
- },
2676
2591
  {
2677
2592
  "kind": "field",
2678
- "name": "shouldRunDisconnect",
2679
- "return": {
2680
- "type": {
2681
- "text": ""
2682
- }
2683
- },
2684
- "readonly": true
2685
- },
2686
- {
2687
- "kind": "field",
2688
- "name": "shouldRunConnect",
2689
- "return": {
2690
- "type": {
2691
- "text": ""
2692
- }
2693
- },
2694
- "readonly": true
2593
+ "name": "serialize"
2695
2594
  },
2696
2595
  {
2697
2596
  "kind": "method",
2698
- "name": "#_blockLifecycleDueToTokenChange",
2699
- "return": {
2700
- "type": {
2701
- "text": "boolean"
2702
- }
2703
- },
2597
+ "name": "deserialize",
2704
2598
  "parameters": [
2705
2599
  {
2706
- "name": "lifecycleType",
2600
+ "name": "input",
2707
2601
  "type": {
2708
- "text": "Lifecycletype"
2602
+ "text": "any"
2709
2603
  }
2710
2604
  }
2711
2605
  ]
2712
2606
  }
2713
- ],
2714
- "parameters": [
2715
- {
2716
- "name": "Base",
2717
- "type": {
2718
- "text": "T"
2719
- }
2720
- }
2721
2607
  ]
2722
2608
  },
2723
2609
  {
2724
2610
  "kind": "variable",
2725
- "name": "layoutCacheDocument",
2726
- "description": "Stored on the layout's internal cache to signify that the document is not part of the DOM",
2611
+ "name": "JSONSerializer",
2612
+ "description": "A DI token for the JSON serializer.",
2727
2613
  "privacy": "public"
2728
2614
  }
2729
2615
  ],
2730
2616
  "exports": [
2731
2617
  {
2732
2618
  "kind": "js",
2733
- "name": "LifecycleMixin",
2619
+ "name": "customNumberParser",
2734
2620
  "declaration": {
2735
- "name": "LifecycleMixin",
2736
- "module": "src/mixins/lifecycle/lifecycle.ts"
2621
+ "name": "customNumberParser",
2622
+ "module": "src/serializers/json/json.ts"
2737
2623
  }
2738
2624
  },
2739
2625
  {
2740
2626
  "kind": "js",
2741
- "name": "layoutCacheDocument",
2627
+ "name": "defaultJSONSerializerConfig",
2742
2628
  "declaration": {
2743
- "name": "layoutCacheDocument",
2744
- "module": "src/mixins/lifecycle/lifecycle.ts"
2629
+ "name": "defaultJSONSerializerConfig",
2630
+ "module": "src/serializers/json/json.ts"
2631
+ }
2632
+ },
2633
+ {
2634
+ "kind": "js",
2635
+ "name": "default",
2636
+ "declaration": {
2637
+ "name": "DefaultJSONSerializer",
2638
+ "module": "src/serializers/json/json.ts"
2639
+ }
2640
+ },
2641
+ {
2642
+ "kind": "js",
2643
+ "name": "JSONSerializer",
2644
+ "declaration": {
2645
+ "name": "JSONSerializer",
2646
+ "module": "src/serializers/json/json.ts"
2745
2647
  }
2746
2648
  }
2747
2649
  ]
2650
+ },
2651
+ {
2652
+ "kind": "javascript-module",
2653
+ "path": "src/serializers/json/json.types.ts",
2654
+ "declarations": [],
2655
+ "exports": []
2656
+ },
2657
+ {
2658
+ "kind": "javascript-module",
2659
+ "path": "src/serializers/json/jsonReplacer.ts",
2660
+ "declarations": [
2661
+ {
2662
+ "kind": "function",
2663
+ "name": "JSONReplacer",
2664
+ "return": {
2665
+ "type": {
2666
+ "text": ""
2667
+ }
2668
+ },
2669
+ "parameters": [
2670
+ {
2671
+ "name": "key",
2672
+ "type": {
2673
+ "text": "string"
2674
+ },
2675
+ "description": "The object key."
2676
+ },
2677
+ {
2678
+ "name": "value",
2679
+ "type": {
2680
+ "text": "any"
2681
+ },
2682
+ "description": "The key value."
2683
+ }
2684
+ ],
2685
+ "description": "JSON replacer function.",
2686
+ "privacy": "public"
2687
+ }
2688
+ ],
2689
+ "exports": [
2690
+ {
2691
+ "kind": "js",
2692
+ "name": "JSONReplacer",
2693
+ "declaration": {
2694
+ "name": "JSONReplacer",
2695
+ "module": "src/serializers/json/jsonReplacer.ts"
2696
+ }
2697
+ }
2698
+ ]
2699
+ },
2700
+ {
2701
+ "kind": "javascript-module",
2702
+ "path": "src/serializers/json/jsonReviver.ts",
2703
+ "declarations": [
2704
+ {
2705
+ "kind": "function",
2706
+ "name": "JSONReviver",
2707
+ "return": {
2708
+ "type": {
2709
+ "text": ""
2710
+ }
2711
+ },
2712
+ "parameters": [
2713
+ {
2714
+ "name": "key",
2715
+ "type": {
2716
+ "text": "string"
2717
+ },
2718
+ "description": "The object key."
2719
+ },
2720
+ {
2721
+ "name": "value",
2722
+ "type": {
2723
+ "text": "any"
2724
+ },
2725
+ "description": "The key value."
2726
+ }
2727
+ ],
2728
+ "description": "JSON reviver function.",
2729
+ "privacy": "public"
2730
+ }
2731
+ ],
2732
+ "exports": [
2733
+ {
2734
+ "kind": "js",
2735
+ "name": "JSONReviver",
2736
+ "declaration": {
2737
+ "name": "JSONReviver",
2738
+ "module": "src/serializers/json/jsonReviver.ts"
2739
+ }
2740
+ }
2741
+ ]
2742
+ },
2743
+ {
2744
+ "kind": "javascript-module",
2745
+ "path": "src/serializers/json/types.ts",
2746
+ "declarations": [],
2747
+ "exports": []
2748
2748
  }
2749
2749
  ]
2750
2750
  }
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.138.1-beta.ce4b104.1",
4
+ "version": "14.139.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -19,12 +19,12 @@
19
19
  "test": "genx test"
20
20
  },
21
21
  "devDependencies": {
22
- "@genesislcap/foundation-testing": "14.138.1-beta.ce4b104.1",
23
- "@genesislcap/genx": "14.138.1-beta.ce4b104.1",
22
+ "@genesislcap/foundation-testing": "14.139.0",
23
+ "@genesislcap/genx": "14.139.0",
24
24
  "rimraf": "^3.0.2"
25
25
  },
26
26
  "dependencies": {
27
- "@genesislcap/foundation-logger": "14.138.1-beta.ce4b104.1",
27
+ "@genesislcap/foundation-logger": "14.139.0",
28
28
  "@microsoft/fast-components": "^2.30.6",
29
29
  "@microsoft/fast-element": "^1.12.0",
30
30
  "@microsoft/fast-foundation": "^2.49.4",
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "customElements": "dist/custom-elements.json",
45
- "gitHead": "77ba0250b83ac3dd8e7f75570354d6f4954bd995"
45
+ "gitHead": "403107fcfb26a335c8db254a3327663e60e7af78"
46
46
  }