@genesislcap/foundation-utils 14.228.2-alpha-e1c5cdb.0 → 14.228.2-alpha-f94d743.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 +278 -278
  2. package/package.json +10 -10
@@ -367,6 +367,44 @@
367
367
  }
368
368
  ]
369
369
  },
370
+ {
371
+ "kind": "javascript-module",
372
+ "path": "src/directives/index.ts",
373
+ "declarations": [],
374
+ "exports": [
375
+ {
376
+ "kind": "js",
377
+ "name": "*",
378
+ "declaration": {
379
+ "name": "*",
380
+ "package": "./sync"
381
+ }
382
+ },
383
+ {
384
+ "kind": "js",
385
+ "name": "*",
386
+ "declaration": {
387
+ "name": "*",
388
+ "package": "./when-else"
389
+ }
390
+ }
391
+ ]
392
+ },
393
+ {
394
+ "kind": "javascript-module",
395
+ "path": "src/encoding/index.ts",
396
+ "declarations": [],
397
+ "exports": [
398
+ {
399
+ "kind": "js",
400
+ "name": "*",
401
+ "declaration": {
402
+ "name": "*",
403
+ "package": "./base64"
404
+ }
405
+ }
406
+ ]
407
+ },
370
408
  {
371
409
  "kind": "javascript-module",
372
410
  "path": "src/decorators/index.ts",
@@ -422,7 +460,42 @@
422
460
  },
423
461
  {
424
462
  "kind": "javascript-module",
425
- "path": "src/encoding/index.ts",
463
+ "path": "src/design-system/design-system.ts",
464
+ "declarations": [
465
+ {
466
+ "kind": "function",
467
+ "name": "assureDesignSystem",
468
+ "return": {
469
+ "type": {
470
+ "text": "DesignSystemModule"
471
+ }
472
+ },
473
+ "parameters": [
474
+ {
475
+ "name": "module",
476
+ "type": {
477
+ "text": "DesignSystemModule"
478
+ }
479
+ }
480
+ ],
481
+ "description": "assureDesignSystem.",
482
+ "privacy": "public"
483
+ }
484
+ ],
485
+ "exports": [
486
+ {
487
+ "kind": "js",
488
+ "name": "assureDesignSystem",
489
+ "declaration": {
490
+ "name": "assureDesignSystem",
491
+ "module": "src/design-system/design-system.ts"
492
+ }
493
+ }
494
+ ]
495
+ },
496
+ {
497
+ "kind": "javascript-module",
498
+ "path": "src/design-system/index.ts",
426
499
  "declarations": [],
427
500
  "exports": [
428
501
  {
@@ -430,7 +503,7 @@
430
503
  "name": "*",
431
504
  "declaration": {
432
505
  "name": "*",
433
- "package": "./base64"
506
+ "package": "./design-system"
434
507
  }
435
508
  }
436
509
  ]
@@ -723,79 +796,6 @@
723
796
  }
724
797
  ]
725
798
  },
726
- {
727
- "kind": "javascript-module",
728
- "path": "src/design-system/design-system.ts",
729
- "declarations": [
730
- {
731
- "kind": "function",
732
- "name": "assureDesignSystem",
733
- "return": {
734
- "type": {
735
- "text": "DesignSystemModule"
736
- }
737
- },
738
- "parameters": [
739
- {
740
- "name": "module",
741
- "type": {
742
- "text": "DesignSystemModule"
743
- }
744
- }
745
- ],
746
- "description": "assureDesignSystem.",
747
- "privacy": "public"
748
- }
749
- ],
750
- "exports": [
751
- {
752
- "kind": "js",
753
- "name": "assureDesignSystem",
754
- "declaration": {
755
- "name": "assureDesignSystem",
756
- "module": "src/design-system/design-system.ts"
757
- }
758
- }
759
- ]
760
- },
761
- {
762
- "kind": "javascript-module",
763
- "path": "src/design-system/index.ts",
764
- "declarations": [],
765
- "exports": [
766
- {
767
- "kind": "js",
768
- "name": "*",
769
- "declaration": {
770
- "name": "*",
771
- "package": "./design-system"
772
- }
773
- }
774
- ]
775
- },
776
- {
777
- "kind": "javascript-module",
778
- "path": "src/directives/index.ts",
779
- "declarations": [],
780
- "exports": [
781
- {
782
- "kind": "js",
783
- "name": "*",
784
- "declaration": {
785
- "name": "*",
786
- "package": "./sync"
787
- }
788
- },
789
- {
790
- "kind": "js",
791
- "name": "*",
792
- "declaration": {
793
- "name": "*",
794
- "package": "./when-else"
795
- }
796
- }
797
- ]
798
- },
799
799
  {
800
800
  "kind": "javascript-module",
801
801
  "path": "src/error/errorMap.ts",
@@ -1406,7 +1406,7 @@
1406
1406
  },
1407
1407
  {
1408
1408
  "kind": "javascript-module",
1409
- "path": "src/promise/index.ts",
1409
+ "path": "src/observer/index.ts",
1410
1410
  "declarations": [],
1411
1411
  "exports": [
1412
1412
  {
@@ -1414,55 +1414,71 @@
1414
1414
  "name": "*",
1415
1415
  "declaration": {
1416
1416
  "name": "*",
1417
- "package": "./resolveAfter"
1417
+ "package": "./observer"
1418
1418
  }
1419
1419
  }
1420
1420
  ]
1421
1421
  },
1422
1422
  {
1423
1423
  "kind": "javascript-module",
1424
- "path": "src/promise/resolveAfter.ts",
1424
+ "path": "src/observer/observer.ts",
1425
1425
  "declarations": [
1426
1426
  {
1427
1427
  "kind": "function",
1428
- "name": "resolveAfter",
1428
+ "name": "createObserver",
1429
1429
  "return": {
1430
1430
  "type": {
1431
- "text": "Promise<T>"
1431
+ "text": "Observer<EventType>"
1432
1432
  }
1433
1433
  },
1434
+ "description": "Creates a new event observer instance.",
1435
+ "privacy": "public"
1436
+ },
1437
+ {
1438
+ "kind": "function",
1439
+ "name": "respondToVisibility",
1434
1440
  "parameters": [
1435
1441
  {
1436
- "name": "ms",
1442
+ "name": "element",
1437
1443
  "type": {
1438
- "text": "number"
1439
- }
1444
+ "text": "HTMLElement"
1445
+ },
1446
+ "description": "HTMLElement to observe"
1440
1447
  },
1441
1448
  {
1442
- "name": "valueCreator",
1449
+ "name": "callback",
1443
1450
  "type": {
1444
- "text": "() => T"
1445
- }
1451
+ "text": "(arg0: boolean) => any"
1452
+ },
1453
+ "description": "any function called when the visibility changes"
1446
1454
  }
1447
1455
  ],
1448
- "description": "Resolve a promise after a timeout.",
1456
+ "description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
1449
1457
  "privacy": "public"
1450
1458
  }
1451
1459
  ],
1452
1460
  "exports": [
1453
1461
  {
1454
1462
  "kind": "js",
1455
- "name": "resolveAfter",
1463
+ "name": "createObserver",
1456
1464
  "declaration": {
1457
- "name": "resolveAfter",
1458
- "module": "src/promise/resolveAfter.ts"
1465
+ "name": "createObserver",
1466
+ "module": "src/observer/observer.ts"
1467
+ }
1468
+ },
1469
+ {
1470
+ "kind": "js",
1471
+ "name": "respondToVisibility",
1472
+ "declaration": {
1473
+ "name": "respondToVisibility",
1474
+ "module": "src/observer/observer.ts"
1459
1475
  }
1460
1476
  }
1461
1477
  ]
1462
1478
  },
1463
1479
  {
1464
1480
  "kind": "javascript-module",
1465
- "path": "src/observer/index.ts",
1481
+ "path": "src/promise/index.ts",
1466
1482
  "declarations": [],
1467
1483
  "exports": [
1468
1484
  {
@@ -1470,64 +1486,48 @@
1470
1486
  "name": "*",
1471
1487
  "declaration": {
1472
1488
  "name": "*",
1473
- "package": "./observer"
1489
+ "package": "./resolveAfter"
1474
1490
  }
1475
1491
  }
1476
1492
  ]
1477
1493
  },
1478
1494
  {
1479
1495
  "kind": "javascript-module",
1480
- "path": "src/observer/observer.ts",
1496
+ "path": "src/promise/resolveAfter.ts",
1481
1497
  "declarations": [
1482
1498
  {
1483
1499
  "kind": "function",
1484
- "name": "createObserver",
1500
+ "name": "resolveAfter",
1485
1501
  "return": {
1486
1502
  "type": {
1487
- "text": "Observer<EventType>"
1503
+ "text": "Promise<T>"
1488
1504
  }
1489
1505
  },
1490
- "description": "Creates a new event observer instance.",
1491
- "privacy": "public"
1492
- },
1493
- {
1494
- "kind": "function",
1495
- "name": "respondToVisibility",
1496
1506
  "parameters": [
1497
1507
  {
1498
- "name": "element",
1508
+ "name": "ms",
1499
1509
  "type": {
1500
- "text": "HTMLElement"
1501
- },
1502
- "description": "HTMLElement to observe"
1510
+ "text": "number"
1511
+ }
1503
1512
  },
1504
1513
  {
1505
- "name": "callback",
1514
+ "name": "valueCreator",
1506
1515
  "type": {
1507
- "text": "(arg0: boolean) => any"
1508
- },
1509
- "description": "any function called when the visibility changes"
1516
+ "text": "() => T"
1517
+ }
1510
1518
  }
1511
1519
  ],
1512
- "description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
1520
+ "description": "Resolve a promise after a timeout.",
1513
1521
  "privacy": "public"
1514
1522
  }
1515
1523
  ],
1516
1524
  "exports": [
1517
1525
  {
1518
1526
  "kind": "js",
1519
- "name": "createObserver",
1520
- "declaration": {
1521
- "name": "createObserver",
1522
- "module": "src/observer/observer.ts"
1523
- }
1524
- },
1525
- {
1526
- "kind": "js",
1527
- "name": "respondToVisibility",
1527
+ "name": "resolveAfter",
1528
1528
  "declaration": {
1529
- "name": "respondToVisibility",
1530
- "module": "src/observer/observer.ts"
1529
+ "name": "resolveAfter",
1530
+ "module": "src/promise/resolveAfter.ts"
1531
1531
  }
1532
1532
  }
1533
1533
  ]
@@ -2285,163 +2285,9 @@
2285
2285
  },
2286
2286
  {
2287
2287
  "kind": "javascript-module",
2288
- "path": "src/encoding/base64/decode.ts",
2289
- "declarations": [
2290
- {
2291
- "kind": "function",
2292
- "name": "decodeFromBase64",
2293
- "return": {
2294
- "type": {
2295
- "text": ""
2296
- }
2297
- },
2298
- "parameters": [
2299
- {
2300
- "name": "base64Value",
2301
- "type": {
2302
- "text": "string"
2303
- }
2304
- },
2305
- {
2306
- "description": "The value to decode from base64.",
2307
- "name": "value"
2308
- }
2309
- ],
2310
- "description": "Decodes a value from base64.",
2311
- "privacy": "public"
2312
- },
2313
- {
2314
- "kind": "function",
2315
- "name": "decodeFromBase64WithPrefix",
2316
- "return": {
2317
- "type": {
2318
- "text": ""
2319
- }
2320
- },
2321
- "parameters": [
2322
- {
2323
- "name": "value",
2324
- "type": {
2325
- "text": "string"
2326
- },
2327
- "description": "The value to decode from base64."
2328
- }
2329
- ],
2330
- "description": "Decodes a value from base64 with a prefix.",
2331
- "privacy": "public"
2332
- }
2333
- ],
2334
- "exports": [
2335
- {
2336
- "kind": "js",
2337
- "name": "decodeFromBase64",
2338
- "declaration": {
2339
- "name": "decodeFromBase64",
2340
- "module": "src/encoding/base64/decode.ts"
2341
- }
2342
- },
2343
- {
2344
- "kind": "js",
2345
- "name": "decodeFromBase64WithPrefix",
2346
- "declaration": {
2347
- "name": "decodeFromBase64WithPrefix",
2348
- "module": "src/encoding/base64/decode.ts"
2349
- }
2350
- }
2351
- ]
2352
- },
2353
- {
2354
- "kind": "javascript-module",
2355
- "path": "src/encoding/base64/encode.ts",
2356
- "declarations": [
2357
- {
2358
- "kind": "function",
2359
- "name": "encodeToBase64",
2360
- "return": {
2361
- "type": {
2362
- "text": ""
2363
- }
2364
- },
2365
- "parameters": [
2366
- {
2367
- "name": "value",
2368
- "type": {
2369
- "text": "string | ArrayBuffer"
2370
- },
2371
- "description": "The value to encode to base64."
2372
- }
2373
- ],
2374
- "description": "Encodes the given value to base64.",
2375
- "privacy": "public"
2376
- },
2377
- {
2378
- "kind": "function",
2379
- "name": "encodeToBase64WithPrefix",
2380
- "return": {
2381
- "type": {
2382
- "text": ""
2383
- }
2384
- },
2385
- "parameters": [
2386
- {
2387
- "name": "value",
2388
- "type": {
2389
- "text": "string | ArrayBuffer"
2390
- },
2391
- "description": "The value to encode to base64."
2392
- }
2393
- ],
2394
- "description": "Encodes the given value with a prefix to base64.",
2395
- "privacy": "public"
2396
- }
2397
- ],
2398
- "exports": [
2399
- {
2400
- "kind": "js",
2401
- "name": "encodeToBase64",
2402
- "declaration": {
2403
- "name": "encodeToBase64",
2404
- "module": "src/encoding/base64/encode.ts"
2405
- }
2406
- },
2407
- {
2408
- "kind": "js",
2409
- "name": "encodeToBase64WithPrefix",
2410
- "declaration": {
2411
- "name": "encodeToBase64WithPrefix",
2412
- "module": "src/encoding/base64/encode.ts"
2413
- }
2414
- }
2415
- ]
2416
- },
2417
- {
2418
- "kind": "javascript-module",
2419
- "path": "src/encoding/base64/index.ts",
2420
- "declarations": [],
2421
- "exports": [
2422
- {
2423
- "kind": "js",
2424
- "name": "*",
2425
- "declaration": {
2426
- "name": "*",
2427
- "package": "./decode"
2428
- }
2429
- },
2430
- {
2431
- "kind": "js",
2432
- "name": "*",
2433
- "declaration": {
2434
- "name": "*",
2435
- "package": "./encode"
2436
- }
2437
- }
2438
- ]
2439
- },
2440
- {
2441
- "kind": "javascript-module",
2442
- "path": "src/directives/sync/index.ts",
2443
- "declarations": [],
2444
- "exports": [
2288
+ "path": "src/directives/sync/index.ts",
2289
+ "declarations": [],
2290
+ "exports": [
2445
2291
  {
2446
2292
  "kind": "js",
2447
2293
  "name": "*",
@@ -2591,6 +2437,160 @@
2591
2437
  }
2592
2438
  ]
2593
2439
  },
2440
+ {
2441
+ "kind": "javascript-module",
2442
+ "path": "src/encoding/base64/decode.ts",
2443
+ "declarations": [
2444
+ {
2445
+ "kind": "function",
2446
+ "name": "decodeFromBase64",
2447
+ "return": {
2448
+ "type": {
2449
+ "text": ""
2450
+ }
2451
+ },
2452
+ "parameters": [
2453
+ {
2454
+ "name": "base64Value",
2455
+ "type": {
2456
+ "text": "string"
2457
+ }
2458
+ },
2459
+ {
2460
+ "description": "The value to decode from base64.",
2461
+ "name": "value"
2462
+ }
2463
+ ],
2464
+ "description": "Decodes a value from base64.",
2465
+ "privacy": "public"
2466
+ },
2467
+ {
2468
+ "kind": "function",
2469
+ "name": "decodeFromBase64WithPrefix",
2470
+ "return": {
2471
+ "type": {
2472
+ "text": ""
2473
+ }
2474
+ },
2475
+ "parameters": [
2476
+ {
2477
+ "name": "value",
2478
+ "type": {
2479
+ "text": "string"
2480
+ },
2481
+ "description": "The value to decode from base64."
2482
+ }
2483
+ ],
2484
+ "description": "Decodes a value from base64 with a prefix.",
2485
+ "privacy": "public"
2486
+ }
2487
+ ],
2488
+ "exports": [
2489
+ {
2490
+ "kind": "js",
2491
+ "name": "decodeFromBase64",
2492
+ "declaration": {
2493
+ "name": "decodeFromBase64",
2494
+ "module": "src/encoding/base64/decode.ts"
2495
+ }
2496
+ },
2497
+ {
2498
+ "kind": "js",
2499
+ "name": "decodeFromBase64WithPrefix",
2500
+ "declaration": {
2501
+ "name": "decodeFromBase64WithPrefix",
2502
+ "module": "src/encoding/base64/decode.ts"
2503
+ }
2504
+ }
2505
+ ]
2506
+ },
2507
+ {
2508
+ "kind": "javascript-module",
2509
+ "path": "src/encoding/base64/encode.ts",
2510
+ "declarations": [
2511
+ {
2512
+ "kind": "function",
2513
+ "name": "encodeToBase64",
2514
+ "return": {
2515
+ "type": {
2516
+ "text": ""
2517
+ }
2518
+ },
2519
+ "parameters": [
2520
+ {
2521
+ "name": "value",
2522
+ "type": {
2523
+ "text": "string | ArrayBuffer"
2524
+ },
2525
+ "description": "The value to encode to base64."
2526
+ }
2527
+ ],
2528
+ "description": "Encodes the given value to base64.",
2529
+ "privacy": "public"
2530
+ },
2531
+ {
2532
+ "kind": "function",
2533
+ "name": "encodeToBase64WithPrefix",
2534
+ "return": {
2535
+ "type": {
2536
+ "text": ""
2537
+ }
2538
+ },
2539
+ "parameters": [
2540
+ {
2541
+ "name": "value",
2542
+ "type": {
2543
+ "text": "string | ArrayBuffer"
2544
+ },
2545
+ "description": "The value to encode to base64."
2546
+ }
2547
+ ],
2548
+ "description": "Encodes the given value with a prefix to base64.",
2549
+ "privacy": "public"
2550
+ }
2551
+ ],
2552
+ "exports": [
2553
+ {
2554
+ "kind": "js",
2555
+ "name": "encodeToBase64",
2556
+ "declaration": {
2557
+ "name": "encodeToBase64",
2558
+ "module": "src/encoding/base64/encode.ts"
2559
+ }
2560
+ },
2561
+ {
2562
+ "kind": "js",
2563
+ "name": "encodeToBase64WithPrefix",
2564
+ "declaration": {
2565
+ "name": "encodeToBase64WithPrefix",
2566
+ "module": "src/encoding/base64/encode.ts"
2567
+ }
2568
+ }
2569
+ ]
2570
+ },
2571
+ {
2572
+ "kind": "javascript-module",
2573
+ "path": "src/encoding/base64/index.ts",
2574
+ "declarations": [],
2575
+ "exports": [
2576
+ {
2577
+ "kind": "js",
2578
+ "name": "*",
2579
+ "declaration": {
2580
+ "name": "*",
2581
+ "package": "./decode"
2582
+ }
2583
+ },
2584
+ {
2585
+ "kind": "js",
2586
+ "name": "*",
2587
+ "declaration": {
2588
+ "name": "*",
2589
+ "package": "./encode"
2590
+ }
2591
+ }
2592
+ ]
2593
+ },
2594
2594
  {
2595
2595
  "kind": "javascript-module",
2596
2596
  "path": "src/mappers/dto/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.228.2-alpha-e1c5cdb.0",
4
+ "version": "14.228.2-alpha-f94d743.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.228.2-alpha-e1c5cdb.0",
31
- "@genesislcap/genx": "14.228.2-alpha-e1c5cdb.0",
32
- "@genesislcap/rollup-builder": "14.228.2-alpha-e1c5cdb.0",
33
- "@genesislcap/ts-builder": "14.228.2-alpha-e1c5cdb.0",
34
- "@genesislcap/uvu-playwright-builder": "14.228.2-alpha-e1c5cdb.0",
35
- "@genesislcap/vite-builder": "14.228.2-alpha-e1c5cdb.0",
36
- "@genesislcap/webpack-builder": "14.228.2-alpha-e1c5cdb.0",
30
+ "@genesislcap/foundation-testing": "14.228.2-alpha-f94d743.0",
31
+ "@genesislcap/genx": "14.228.2-alpha-f94d743.0",
32
+ "@genesislcap/rollup-builder": "14.228.2-alpha-f94d743.0",
33
+ "@genesislcap/ts-builder": "14.228.2-alpha-f94d743.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.228.2-alpha-f94d743.0",
35
+ "@genesislcap/vite-builder": "14.228.2-alpha-f94d743.0",
36
+ "@genesislcap/webpack-builder": "14.228.2-alpha-f94d743.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.228.2-alpha-e1c5cdb.0",
40
+ "@genesislcap/foundation-logger": "14.228.2-alpha-f94d743.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": "dadb4cc5a8eba712629793874b2b5a0e2256ea60"
58
+ "gitHead": "17aac4af0334ddbb539e95ecb3ae5a601a2e0233"
59
59
  }