@genesislcap/foundation-utils 14.228.2-alpha-880fa6b.0 → 14.228.2-alpha-e1c5cdb.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 +274 -274
  2. package/package.json +10 -10
@@ -420,79 +420,6 @@
420
420
  }
421
421
  ]
422
422
  },
423
- {
424
- "kind": "javascript-module",
425
- "path": "src/directives/index.ts",
426
- "declarations": [],
427
- "exports": [
428
- {
429
- "kind": "js",
430
- "name": "*",
431
- "declaration": {
432
- "name": "*",
433
- "package": "./sync"
434
- }
435
- },
436
- {
437
- "kind": "js",
438
- "name": "*",
439
- "declaration": {
440
- "name": "*",
441
- "package": "./when-else"
442
- }
443
- }
444
- ]
445
- },
446
- {
447
- "kind": "javascript-module",
448
- "path": "src/design-system/design-system.ts",
449
- "declarations": [
450
- {
451
- "kind": "function",
452
- "name": "assureDesignSystem",
453
- "return": {
454
- "type": {
455
- "text": "DesignSystemModule"
456
- }
457
- },
458
- "parameters": [
459
- {
460
- "name": "module",
461
- "type": {
462
- "text": "DesignSystemModule"
463
- }
464
- }
465
- ],
466
- "description": "assureDesignSystem.",
467
- "privacy": "public"
468
- }
469
- ],
470
- "exports": [
471
- {
472
- "kind": "js",
473
- "name": "assureDesignSystem",
474
- "declaration": {
475
- "name": "assureDesignSystem",
476
- "module": "src/design-system/design-system.ts"
477
- }
478
- }
479
- ]
480
- },
481
- {
482
- "kind": "javascript-module",
483
- "path": "src/design-system/index.ts",
484
- "declarations": [],
485
- "exports": [
486
- {
487
- "kind": "js",
488
- "name": "*",
489
- "declaration": {
490
- "name": "*",
491
- "package": "./design-system"
492
- }
493
- }
494
- ]
495
- },
496
423
  {
497
424
  "kind": "javascript-module",
498
425
  "path": "src/encoding/index.ts",
@@ -796,6 +723,79 @@
796
723
  }
797
724
  ]
798
725
  },
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/observer/index.ts",
1409
+ "path": "src/promise/index.ts",
1410
1410
  "declarations": [],
1411
1411
  "exports": [
1412
1412
  {
@@ -1414,71 +1414,55 @@
1414
1414
  "name": "*",
1415
1415
  "declaration": {
1416
1416
  "name": "*",
1417
- "package": "./observer"
1417
+ "package": "./resolveAfter"
1418
1418
  }
1419
1419
  }
1420
1420
  ]
1421
1421
  },
1422
1422
  {
1423
1423
  "kind": "javascript-module",
1424
- "path": "src/observer/observer.ts",
1424
+ "path": "src/promise/resolveAfter.ts",
1425
1425
  "declarations": [
1426
1426
  {
1427
1427
  "kind": "function",
1428
- "name": "createObserver",
1428
+ "name": "resolveAfter",
1429
1429
  "return": {
1430
1430
  "type": {
1431
- "text": "Observer<EventType>"
1431
+ "text": "Promise<T>"
1432
1432
  }
1433
1433
  },
1434
- "description": "Creates a new event observer instance.",
1435
- "privacy": "public"
1436
- },
1437
- {
1438
- "kind": "function",
1439
- "name": "respondToVisibility",
1440
1434
  "parameters": [
1441
1435
  {
1442
- "name": "element",
1436
+ "name": "ms",
1443
1437
  "type": {
1444
- "text": "HTMLElement"
1445
- },
1446
- "description": "HTMLElement to observe"
1438
+ "text": "number"
1439
+ }
1447
1440
  },
1448
1441
  {
1449
- "name": "callback",
1442
+ "name": "valueCreator",
1450
1443
  "type": {
1451
- "text": "(arg0: boolean) => any"
1452
- },
1453
- "description": "any function called when the visibility changes"
1444
+ "text": "() => T"
1445
+ }
1454
1446
  }
1455
1447
  ],
1456
- "description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
1448
+ "description": "Resolve a promise after a timeout.",
1457
1449
  "privacy": "public"
1458
1450
  }
1459
1451
  ],
1460
1452
  "exports": [
1461
1453
  {
1462
1454
  "kind": "js",
1463
- "name": "createObserver",
1464
- "declaration": {
1465
- "name": "createObserver",
1466
- "module": "src/observer/observer.ts"
1467
- }
1468
- },
1469
- {
1470
- "kind": "js",
1471
- "name": "respondToVisibility",
1455
+ "name": "resolveAfter",
1472
1456
  "declaration": {
1473
- "name": "respondToVisibility",
1474
- "module": "src/observer/observer.ts"
1457
+ "name": "resolveAfter",
1458
+ "module": "src/promise/resolveAfter.ts"
1475
1459
  }
1476
1460
  }
1477
1461
  ]
1478
1462
  },
1479
1463
  {
1480
1464
  "kind": "javascript-module",
1481
- "path": "src/promise/index.ts",
1465
+ "path": "src/observer/index.ts",
1482
1466
  "declarations": [],
1483
1467
  "exports": [
1484
1468
  {
@@ -1486,48 +1470,64 @@
1486
1470
  "name": "*",
1487
1471
  "declaration": {
1488
1472
  "name": "*",
1489
- "package": "./resolveAfter"
1473
+ "package": "./observer"
1490
1474
  }
1491
1475
  }
1492
1476
  ]
1493
1477
  },
1494
1478
  {
1495
1479
  "kind": "javascript-module",
1496
- "path": "src/promise/resolveAfter.ts",
1480
+ "path": "src/observer/observer.ts",
1497
1481
  "declarations": [
1498
1482
  {
1499
1483
  "kind": "function",
1500
- "name": "resolveAfter",
1484
+ "name": "createObserver",
1501
1485
  "return": {
1502
1486
  "type": {
1503
- "text": "Promise<T>"
1487
+ "text": "Observer<EventType>"
1504
1488
  }
1505
1489
  },
1490
+ "description": "Creates a new event observer instance.",
1491
+ "privacy": "public"
1492
+ },
1493
+ {
1494
+ "kind": "function",
1495
+ "name": "respondToVisibility",
1506
1496
  "parameters": [
1507
1497
  {
1508
- "name": "ms",
1498
+ "name": "element",
1509
1499
  "type": {
1510
- "text": "number"
1511
- }
1500
+ "text": "HTMLElement"
1501
+ },
1502
+ "description": "HTMLElement to observe"
1512
1503
  },
1513
1504
  {
1514
- "name": "valueCreator",
1505
+ "name": "callback",
1515
1506
  "type": {
1516
- "text": "() => T"
1517
- }
1507
+ "text": "(arg0: boolean) => any"
1508
+ },
1509
+ "description": "any function called when the visibility changes"
1518
1510
  }
1519
1511
  ],
1520
- "description": "Resolve a promise after a timeout.",
1512
+ "description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
1521
1513
  "privacy": "public"
1522
1514
  }
1523
1515
  ],
1524
1516
  "exports": [
1525
1517
  {
1526
1518
  "kind": "js",
1527
- "name": "resolveAfter",
1519
+ "name": "createObserver",
1528
1520
  "declaration": {
1529
- "name": "resolveAfter",
1530
- "module": "src/promise/resolveAfter.ts"
1521
+ "name": "createObserver",
1522
+ "module": "src/observer/observer.ts"
1523
+ }
1524
+ },
1525
+ {
1526
+ "kind": "js",
1527
+ "name": "respondToVisibility",
1528
+ "declaration": {
1529
+ "name": "respondToVisibility",
1530
+ "module": "src/observer/observer.ts"
1531
1531
  }
1532
1532
  }
1533
1533
  ]
@@ -2285,161 +2285,7 @@
2285
2285
  },
2286
2286
  {
2287
2287
  "kind": "javascript-module",
2288
- "path": "src/directives/sync/index.ts",
2289
- "declarations": [],
2290
- "exports": [
2291
- {
2292
- "kind": "js",
2293
- "name": "*",
2294
- "declaration": {
2295
- "name": "*",
2296
- "package": "./sync"
2297
- }
2298
- }
2299
- ]
2300
- },
2301
- {
2302
- "kind": "javascript-module",
2303
- "path": "src/directives/sync/sync.ts",
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
- {
2316
- "kind": "function",
2317
- "name": "sync",
2318
- "return": {
2319
- "type": {
2320
- "text": "CaptureType<TSource>"
2321
- }
2322
- },
2323
- "parameters": [
2324
- {
2325
- "name": "binding",
2326
- "type": {
2327
- "text": "Binding<TSource, TReturn>"
2328
- }
2329
- },
2330
- {
2331
- "name": "conversionType",
2332
- "default": "'string'",
2333
- "type": {
2334
- "text": "ConversionType"
2335
- }
2336
- },
2337
- {
2338
- "name": "eventName",
2339
- "default": "'default'",
2340
- "type": {
2341
- "text": "EventName"
2342
- }
2343
- },
2344
- {
2345
- "name": "keyAttr",
2346
- "optional": true,
2347
- "type": {
2348
- "text": "string"
2349
- }
2350
- }
2351
- ],
2352
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2353
- "privacy": "public"
2354
- }
2355
- ],
2356
- "exports": [
2357
- {
2358
- "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",
2368
- "declaration": {
2369
- "name": "sync",
2370
- "module": "src/directives/sync/sync.ts"
2371
- }
2372
- }
2373
- ]
2374
- },
2375
- {
2376
- "kind": "javascript-module",
2377
- "path": "src/directives/when-else/index.ts",
2378
- "declarations": [],
2379
- "exports": [
2380
- {
2381
- "kind": "js",
2382
- "name": "*",
2383
- "declaration": {
2384
- "name": "*",
2385
- "package": "./when-else"
2386
- }
2387
- }
2388
- ]
2389
- },
2390
- {
2391
- "kind": "javascript-module",
2392
- "path": "src/directives/when-else/when-else.ts",
2393
- "declarations": [
2394
- {
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
- },
2410
- {
2411
- "name": "trueTemplateOrTemplateBinding",
2412
- "type": {
2413
- "text": "WhenTemplate<TSource>"
2414
- },
2415
- "description": "The template or a binding that gets the template to render when the condition is true."
2416
- },
2417
- {
2418
- "name": "falseTemplateOrTemplateBinding",
2419
- "type": {
2420
- "text": "WhenTemplate<TSource>"
2421
- },
2422
- "description": "The template or a binding that gets the template to render when the condition is false."
2423
- }
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",
2426
- "privacy": "public"
2427
- }
2428
- ],
2429
- "exports": [
2430
- {
2431
- "kind": "js",
2432
- "name": "whenElse",
2433
- "declaration": {
2434
- "name": "whenElse",
2435
- "module": "src/directives/when-else/when-else.ts"
2436
- }
2437
- }
2438
- ]
2439
- },
2440
- {
2441
- "kind": "javascript-module",
2442
- "path": "src/encoding/base64/decode.ts",
2288
+ "path": "src/encoding/base64/decode.ts",
2443
2289
  "declarations": [
2444
2290
  {
2445
2291
  "kind": "function",
@@ -2591,6 +2437,160 @@
2591
2437
  }
2592
2438
  ]
2593
2439
  },
2440
+ {
2441
+ "kind": "javascript-module",
2442
+ "path": "src/directives/sync/index.ts",
2443
+ "declarations": [],
2444
+ "exports": [
2445
+ {
2446
+ "kind": "js",
2447
+ "name": "*",
2448
+ "declaration": {
2449
+ "name": "*",
2450
+ "package": "./sync"
2451
+ }
2452
+ }
2453
+ ]
2454
+ },
2455
+ {
2456
+ "kind": "javascript-module",
2457
+ "path": "src/directives/sync/sync.ts",
2458
+ "declarations": [
2459
+ {
2460
+ "kind": "variable",
2461
+ "name": "defaultEventMap",
2462
+ "type": {
2463
+ "text": "Map<string, EventName>"
2464
+ },
2465
+ "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])",
2466
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2467
+ "privacy": "public"
2468
+ },
2469
+ {
2470
+ "kind": "function",
2471
+ "name": "sync",
2472
+ "return": {
2473
+ "type": {
2474
+ "text": "CaptureType<TSource>"
2475
+ }
2476
+ },
2477
+ "parameters": [
2478
+ {
2479
+ "name": "binding",
2480
+ "type": {
2481
+ "text": "Binding<TSource, TReturn>"
2482
+ }
2483
+ },
2484
+ {
2485
+ "name": "conversionType",
2486
+ "default": "'string'",
2487
+ "type": {
2488
+ "text": "ConversionType"
2489
+ }
2490
+ },
2491
+ {
2492
+ "name": "eventName",
2493
+ "default": "'default'",
2494
+ "type": {
2495
+ "text": "EventName"
2496
+ }
2497
+ },
2498
+ {
2499
+ "name": "keyAttr",
2500
+ "optional": true,
2501
+ "type": {
2502
+ "text": "string"
2503
+ }
2504
+ }
2505
+ ],
2506
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2507
+ "privacy": "public"
2508
+ }
2509
+ ],
2510
+ "exports": [
2511
+ {
2512
+ "kind": "js",
2513
+ "name": "defaultEventMap",
2514
+ "declaration": {
2515
+ "name": "defaultEventMap",
2516
+ "module": "src/directives/sync/sync.ts"
2517
+ }
2518
+ },
2519
+ {
2520
+ "kind": "js",
2521
+ "name": "sync",
2522
+ "declaration": {
2523
+ "name": "sync",
2524
+ "module": "src/directives/sync/sync.ts"
2525
+ }
2526
+ }
2527
+ ]
2528
+ },
2529
+ {
2530
+ "kind": "javascript-module",
2531
+ "path": "src/directives/when-else/index.ts",
2532
+ "declarations": [],
2533
+ "exports": [
2534
+ {
2535
+ "kind": "js",
2536
+ "name": "*",
2537
+ "declaration": {
2538
+ "name": "*",
2539
+ "package": "./when-else"
2540
+ }
2541
+ }
2542
+ ]
2543
+ },
2544
+ {
2545
+ "kind": "javascript-module",
2546
+ "path": "src/directives/when-else/when-else.ts",
2547
+ "declarations": [
2548
+ {
2549
+ "kind": "function",
2550
+ "name": "whenElse",
2551
+ "return": {
2552
+ "type": {
2553
+ "text": "CaptureType<TSource>"
2554
+ }
2555
+ },
2556
+ "parameters": [
2557
+ {
2558
+ "name": "binding",
2559
+ "type": {
2560
+ "text": "Binding<TSource, TReturn>"
2561
+ },
2562
+ "description": "The condition to test for rendering."
2563
+ },
2564
+ {
2565
+ "name": "trueTemplateOrTemplateBinding",
2566
+ "type": {
2567
+ "text": "WhenTemplate<TSource>"
2568
+ },
2569
+ "description": "The template or a binding that gets the template to render when the condition is true."
2570
+ },
2571
+ {
2572
+ "name": "falseTemplateOrTemplateBinding",
2573
+ "type": {
2574
+ "text": "WhenTemplate<TSource>"
2575
+ },
2576
+ "description": "The template or a binding that gets the template to render when the condition is false."
2577
+ }
2578
+ ],
2579
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2580
+ "privacy": "public"
2581
+ }
2582
+ ],
2583
+ "exports": [
2584
+ {
2585
+ "kind": "js",
2586
+ "name": "whenElse",
2587
+ "declaration": {
2588
+ "name": "whenElse",
2589
+ "module": "src/directives/when-else/when-else.ts"
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-880fa6b.0",
4
+ "version": "14.228.2-alpha-e1c5cdb.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-880fa6b.0",
31
- "@genesislcap/genx": "14.228.2-alpha-880fa6b.0",
32
- "@genesislcap/rollup-builder": "14.228.2-alpha-880fa6b.0",
33
- "@genesislcap/ts-builder": "14.228.2-alpha-880fa6b.0",
34
- "@genesislcap/uvu-playwright-builder": "14.228.2-alpha-880fa6b.0",
35
- "@genesislcap/vite-builder": "14.228.2-alpha-880fa6b.0",
36
- "@genesislcap/webpack-builder": "14.228.2-alpha-880fa6b.0",
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",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.228.2-alpha-880fa6b.0",
40
+ "@genesislcap/foundation-logger": "14.228.2-alpha-e1c5cdb.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": "10593201db987394eb82c97419ad2ff9def62fbe"
58
+ "gitHead": "dadb4cc5a8eba712629793874b2b5a0e2256ea60"
59
59
  }