@genesislcap/foundation-utils 14.228.0 → 14.228.2-alpha-6b809f3.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 +263 -263
  2. package/package.json +10 -10
@@ -169,29 +169,6 @@
169
169
  }
170
170
  ]
171
171
  },
172
- {
173
- "kind": "javascript-module",
174
- "path": "src/directives/index.ts",
175
- "declarations": [],
176
- "exports": [
177
- {
178
- "kind": "js",
179
- "name": "*",
180
- "declaration": {
181
- "name": "*",
182
- "package": "./sync"
183
- }
184
- },
185
- {
186
- "kind": "js",
187
- "name": "*",
188
- "declaration": {
189
- "name": "*",
190
- "package": "./when-else"
191
- }
192
- }
193
- ]
194
- },
195
172
  {
196
173
  "kind": "javascript-module",
197
174
  "path": "src/data/inMemoryDatabase.ts",
@@ -390,6 +367,132 @@
390
367
  }
391
368
  ]
392
369
  },
370
+ {
371
+ "kind": "javascript-module",
372
+ "path": "src/decorators/index.ts",
373
+ "declarations": [],
374
+ "exports": [
375
+ {
376
+ "kind": "js",
377
+ "name": "*",
378
+ "declaration": {
379
+ "name": "*",
380
+ "package": "./renderOnChange"
381
+ }
382
+ }
383
+ ]
384
+ },
385
+ {
386
+ "kind": "javascript-module",
387
+ "path": "src/decorators/renderOnChange.ts",
388
+ "declarations": [
389
+ {
390
+ "kind": "function",
391
+ "name": "renderOnChange",
392
+ "parameters": [
393
+ {
394
+ "name": "target",
395
+ "type": {
396
+ "text": "FASTElement & { render(): void }"
397
+ },
398
+ "description": "The target to define the property change handler on."
399
+ },
400
+ {
401
+ "name": "name",
402
+ "type": {
403
+ "text": "string"
404
+ },
405
+ "description": "The property name."
406
+ }
407
+ ],
408
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
409
+ "privacy": "public"
410
+ }
411
+ ],
412
+ "exports": [
413
+ {
414
+ "kind": "js",
415
+ "name": "renderOnChange",
416
+ "declaration": {
417
+ "name": "renderOnChange",
418
+ "module": "src/decorators/renderOnChange.ts"
419
+ }
420
+ }
421
+ ]
422
+ },
423
+ {
424
+ "kind": "javascript-module",
425
+ "path": "src/design-system/design-system.ts",
426
+ "declarations": [
427
+ {
428
+ "kind": "function",
429
+ "name": "assureDesignSystem",
430
+ "return": {
431
+ "type": {
432
+ "text": "DesignSystemModule"
433
+ }
434
+ },
435
+ "parameters": [
436
+ {
437
+ "name": "module",
438
+ "type": {
439
+ "text": "DesignSystemModule"
440
+ }
441
+ }
442
+ ],
443
+ "description": "assureDesignSystem.",
444
+ "privacy": "public"
445
+ }
446
+ ],
447
+ "exports": [
448
+ {
449
+ "kind": "js",
450
+ "name": "assureDesignSystem",
451
+ "declaration": {
452
+ "name": "assureDesignSystem",
453
+ "module": "src/design-system/design-system.ts"
454
+ }
455
+ }
456
+ ]
457
+ },
458
+ {
459
+ "kind": "javascript-module",
460
+ "path": "src/design-system/index.ts",
461
+ "declarations": [],
462
+ "exports": [
463
+ {
464
+ "kind": "js",
465
+ "name": "*",
466
+ "declaration": {
467
+ "name": "*",
468
+ "package": "./design-system"
469
+ }
470
+ }
471
+ ]
472
+ },
473
+ {
474
+ "kind": "javascript-module",
475
+ "path": "src/directives/index.ts",
476
+ "declarations": [],
477
+ "exports": [
478
+ {
479
+ "kind": "js",
480
+ "name": "*",
481
+ "declaration": {
482
+ "name": "*",
483
+ "package": "./sync"
484
+ }
485
+ },
486
+ {
487
+ "kind": "js",
488
+ "name": "*",
489
+ "declaration": {
490
+ "name": "*",
491
+ "package": "./when-else"
492
+ }
493
+ }
494
+ ]
495
+ },
393
496
  {
394
497
  "kind": "javascript-module",
395
498
  "path": "src/encoding/index.ts",
@@ -693,59 +796,6 @@
693
796
  }
694
797
  ]
695
798
  },
696
- {
697
- "kind": "javascript-module",
698
- "path": "src/decorators/index.ts",
699
- "declarations": [],
700
- "exports": [
701
- {
702
- "kind": "js",
703
- "name": "*",
704
- "declaration": {
705
- "name": "*",
706
- "package": "./renderOnChange"
707
- }
708
- }
709
- ]
710
- },
711
- {
712
- "kind": "javascript-module",
713
- "path": "src/decorators/renderOnChange.ts",
714
- "declarations": [
715
- {
716
- "kind": "function",
717
- "name": "renderOnChange",
718
- "parameters": [
719
- {
720
- "name": "target",
721
- "type": {
722
- "text": "FASTElement & { render(): void }"
723
- },
724
- "description": "The target to define the property change handler on."
725
- },
726
- {
727
- "name": "name",
728
- "type": {
729
- "text": "string"
730
- },
731
- "description": "The property name."
732
- }
733
- ],
734
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
735
- "privacy": "public"
736
- }
737
- ],
738
- "exports": [
739
- {
740
- "kind": "js",
741
- "name": "renderOnChange",
742
- "declaration": {
743
- "name": "renderOnChange",
744
- "module": "src/decorators/renderOnChange.ts"
745
- }
746
- }
747
- ]
748
- },
749
799
  {
750
800
  "kind": "javascript-module",
751
801
  "path": "src/error/errorMap.ts",
@@ -945,56 +995,6 @@
945
995
  }
946
996
  ]
947
997
  },
948
- {
949
- "kind": "javascript-module",
950
- "path": "src/design-system/design-system.ts",
951
- "declarations": [
952
- {
953
- "kind": "function",
954
- "name": "assureDesignSystem",
955
- "return": {
956
- "type": {
957
- "text": "DesignSystemModule"
958
- }
959
- },
960
- "parameters": [
961
- {
962
- "name": "module",
963
- "type": {
964
- "text": "DesignSystemModule"
965
- }
966
- }
967
- ],
968
- "description": "assureDesignSystem.",
969
- "privacy": "public"
970
- }
971
- ],
972
- "exports": [
973
- {
974
- "kind": "js",
975
- "name": "assureDesignSystem",
976
- "declaration": {
977
- "name": "assureDesignSystem",
978
- "module": "src/design-system/design-system.ts"
979
- }
980
- }
981
- ]
982
- },
983
- {
984
- "kind": "javascript-module",
985
- "path": "src/design-system/index.ts",
986
- "declarations": [],
987
- "exports": [
988
- {
989
- "kind": "js",
990
- "name": "*",
991
- "declaration": {
992
- "name": "*",
993
- "package": "./design-system"
994
- }
995
- }
996
- ]
997
- },
998
998
  {
999
999
  "kind": "javascript-module",
1000
1000
  "path": "src/formatters/datetime.ts",
@@ -1368,7 +1368,7 @@
1368
1368
  },
1369
1369
  {
1370
1370
  "kind": "javascript-module",
1371
- "path": "src/mappers/index.ts",
1371
+ "path": "src/observer/index.ts",
1372
1372
  "declarations": [],
1373
1373
  "exports": [
1374
1374
  {
@@ -1376,45 +1376,7 @@
1376
1376
  "name": "*",
1377
1377
  "declaration": {
1378
1378
  "name": "*",
1379
- "package": "./dto"
1380
- }
1381
- }
1382
- ]
1383
- },
1384
- {
1385
- "kind": "javascript-module",
1386
- "path": "src/mixins/index.ts",
1387
- "declarations": [],
1388
- "exports": [
1389
- {
1390
- "kind": "js",
1391
- "name": "*",
1392
- "declaration": {
1393
- "name": "*",
1394
- "package": "./pendingState"
1395
- }
1396
- },
1397
- {
1398
- "kind": "js",
1399
- "name": "*",
1400
- "declaration": {
1401
- "name": "*",
1402
- "package": "./lifecycle"
1403
- }
1404
- }
1405
- ]
1406
- },
1407
- {
1408
- "kind": "javascript-module",
1409
- "path": "src/observer/index.ts",
1410
- "declarations": [],
1411
- "exports": [
1412
- {
1413
- "kind": "js",
1414
- "name": "*",
1415
- "declaration": {
1416
- "name": "*",
1417
- "package": "./observer"
1379
+ "package": "./observer"
1418
1380
  }
1419
1381
  }
1420
1382
  ]
@@ -1476,6 +1438,44 @@
1476
1438
  }
1477
1439
  ]
1478
1440
  },
1441
+ {
1442
+ "kind": "javascript-module",
1443
+ "path": "src/mappers/index.ts",
1444
+ "declarations": [],
1445
+ "exports": [
1446
+ {
1447
+ "kind": "js",
1448
+ "name": "*",
1449
+ "declaration": {
1450
+ "name": "*",
1451
+ "package": "./dto"
1452
+ }
1453
+ }
1454
+ ]
1455
+ },
1456
+ {
1457
+ "kind": "javascript-module",
1458
+ "path": "src/mixins/index.ts",
1459
+ "declarations": [],
1460
+ "exports": [
1461
+ {
1462
+ "kind": "js",
1463
+ "name": "*",
1464
+ "declaration": {
1465
+ "name": "*",
1466
+ "package": "./pendingState"
1467
+ }
1468
+ },
1469
+ {
1470
+ "kind": "js",
1471
+ "name": "*",
1472
+ "declaration": {
1473
+ "name": "*",
1474
+ "package": "./lifecycle"
1475
+ }
1476
+ }
1477
+ ]
1478
+ },
1479
1479
  {
1480
1480
  "kind": "javascript-module",
1481
1481
  "path": "src/promise/index.ts",
@@ -1714,43 +1714,6 @@
1714
1714
  }
1715
1715
  ]
1716
1716
  },
1717
- {
1718
- "kind": "javascript-module",
1719
- "path": "src/utils/index.ts",
1720
- "declarations": [],
1721
- "exports": [
1722
- {
1723
- "kind": "js",
1724
- "name": "*",
1725
- "declaration": {
1726
- "name": "*",
1727
- "package": "./logger"
1728
- }
1729
- }
1730
- ]
1731
- },
1732
- {
1733
- "kind": "javascript-module",
1734
- "path": "src/utils/logger.ts",
1735
- "declarations": [
1736
- {
1737
- "kind": "variable",
1738
- "name": "logger",
1739
- "description": "Logger for the foundation-utils package",
1740
- "privacy": "public"
1741
- }
1742
- ],
1743
- "exports": [
1744
- {
1745
- "kind": "js",
1746
- "name": "logger",
1747
- "declaration": {
1748
- "name": "logger",
1749
- "module": "src/utils/logger.ts"
1750
- }
1751
- }
1752
- ]
1753
- },
1754
1717
  {
1755
1718
  "kind": "javascript-module",
1756
1719
  "path": "src/styles/color.ts",
@@ -2098,6 +2061,43 @@
2098
2061
  }
2099
2062
  ]
2100
2063
  },
2064
+ {
2065
+ "kind": "javascript-module",
2066
+ "path": "src/utils/index.ts",
2067
+ "declarations": [],
2068
+ "exports": [
2069
+ {
2070
+ "kind": "js",
2071
+ "name": "*",
2072
+ "declaration": {
2073
+ "name": "*",
2074
+ "package": "./logger"
2075
+ }
2076
+ }
2077
+ ]
2078
+ },
2079
+ {
2080
+ "kind": "javascript-module",
2081
+ "path": "src/utils/logger.ts",
2082
+ "declarations": [
2083
+ {
2084
+ "kind": "variable",
2085
+ "name": "logger",
2086
+ "description": "Logger for the foundation-utils package",
2087
+ "privacy": "public"
2088
+ }
2089
+ ],
2090
+ "exports": [
2091
+ {
2092
+ "kind": "js",
2093
+ "name": "logger",
2094
+ "declaration": {
2095
+ "name": "logger",
2096
+ "module": "src/utils/logger.ts"
2097
+ }
2098
+ }
2099
+ ]
2100
+ },
2101
2101
  {
2102
2102
  "kind": "javascript-module",
2103
2103
  "path": "src/uuid/index.ts",
@@ -2285,7 +2285,7 @@
2285
2285
  },
2286
2286
  {
2287
2287
  "kind": "javascript-module",
2288
- "path": "src/directives/sync/index.ts",
2288
+ "path": "src/directives/when-else/index.ts",
2289
2289
  "declarations": [],
2290
2290
  "exports": [
2291
2291
  {
@@ -2293,28 +2293,18 @@
2293
2293
  "name": "*",
2294
2294
  "declaration": {
2295
2295
  "name": "*",
2296
- "package": "./sync"
2296
+ "package": "./when-else"
2297
2297
  }
2298
2298
  }
2299
2299
  ]
2300
2300
  },
2301
2301
  {
2302
2302
  "kind": "javascript-module",
2303
- "path": "src/directives/sync/sync.ts",
2303
+ "path": "src/directives/when-else/when-else.ts",
2304
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
2305
  {
2316
2306
  "kind": "function",
2317
- "name": "sync",
2307
+ "name": "whenElse",
2318
2308
  "return": {
2319
2309
  "type": {
2320
2310
  "text": "CaptureType<TSource>"
@@ -2325,56 +2315,42 @@
2325
2315
  "name": "binding",
2326
2316
  "type": {
2327
2317
  "text": "Binding<TSource, TReturn>"
2328
- }
2329
- },
2330
- {
2331
- "name": "conversionType",
2332
- "default": "'string'",
2333
- "type": {
2334
- "text": "ConversionType"
2335
- }
2318
+ },
2319
+ "description": "The condition to test for rendering."
2336
2320
  },
2337
2321
  {
2338
- "name": "eventName",
2339
- "default": "'default'",
2322
+ "name": "trueTemplateOrTemplateBinding",
2340
2323
  "type": {
2341
- "text": "EventName"
2342
- }
2324
+ "text": "WhenTemplate<TSource>"
2325
+ },
2326
+ "description": "The template or a binding that gets the template to render when the condition is true."
2343
2327
  },
2344
2328
  {
2345
- "name": "keyAttr",
2346
- "optional": true,
2329
+ "name": "falseTemplateOrTemplateBinding",
2347
2330
  "type": {
2348
- "text": "string"
2349
- }
2331
+ "text": "WhenTemplate<TSource>"
2332
+ },
2333
+ "description": "The template or a binding that gets the template to render when the condition is false."
2350
2334
  }
2351
2335
  ],
2352
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2336
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2353
2337
  "privacy": "public"
2354
2338
  }
2355
2339
  ],
2356
2340
  "exports": [
2357
2341
  {
2358
2342
  "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",
2343
+ "name": "whenElse",
2368
2344
  "declaration": {
2369
- "name": "sync",
2370
- "module": "src/directives/sync/sync.ts"
2345
+ "name": "whenElse",
2346
+ "module": "src/directives/when-else/when-else.ts"
2371
2347
  }
2372
2348
  }
2373
2349
  ]
2374
2350
  },
2375
2351
  {
2376
2352
  "kind": "javascript-module",
2377
- "path": "src/directives/when-else/index.ts",
2353
+ "path": "src/directives/sync/index.ts",
2378
2354
  "declarations": [],
2379
2355
  "exports": [
2380
2356
  {
@@ -2382,18 +2358,28 @@
2382
2358
  "name": "*",
2383
2359
  "declaration": {
2384
2360
  "name": "*",
2385
- "package": "./when-else"
2361
+ "package": "./sync"
2386
2362
  }
2387
2363
  }
2388
2364
  ]
2389
2365
  },
2390
2366
  {
2391
2367
  "kind": "javascript-module",
2392
- "path": "src/directives/when-else/when-else.ts",
2368
+ "path": "src/directives/sync/sync.ts",
2393
2369
  "declarations": [
2370
+ {
2371
+ "kind": "variable",
2372
+ "name": "defaultEventMap",
2373
+ "type": {
2374
+ "text": "Map<string, EventName>"
2375
+ },
2376
+ "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])",
2377
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2378
+ "privacy": "public"
2379
+ },
2394
2380
  {
2395
2381
  "kind": "function",
2396
- "name": "whenElse",
2382
+ "name": "sync",
2397
2383
  "return": {
2398
2384
  "type": {
2399
2385
  "text": "CaptureType<TSource>"
@@ -2404,35 +2390,49 @@
2404
2390
  "name": "binding",
2405
2391
  "type": {
2406
2392
  "text": "Binding<TSource, TReturn>"
2407
- },
2408
- "description": "The condition to test for rendering."
2393
+ }
2409
2394
  },
2410
2395
  {
2411
- "name": "trueTemplateOrTemplateBinding",
2396
+ "name": "conversionType",
2397
+ "default": "'string'",
2412
2398
  "type": {
2413
- "text": "WhenTemplate<TSource>"
2414
- },
2415
- "description": "The template or a binding that gets the template to render when the condition is true."
2399
+ "text": "ConversionType"
2400
+ }
2416
2401
  },
2417
2402
  {
2418
- "name": "falseTemplateOrTemplateBinding",
2403
+ "name": "eventName",
2404
+ "default": "'default'",
2419
2405
  "type": {
2420
- "text": "WhenTemplate<TSource>"
2421
- },
2422
- "description": "The template or a binding that gets the template to render when the condition is false."
2406
+ "text": "EventName"
2407
+ }
2408
+ },
2409
+ {
2410
+ "name": "keyAttr",
2411
+ "optional": true,
2412
+ "type": {
2413
+ "text": "string"
2414
+ }
2423
2415
  }
2424
2416
  ],
2425
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2417
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2426
2418
  "privacy": "public"
2427
2419
  }
2428
2420
  ],
2429
2421
  "exports": [
2430
2422
  {
2431
2423
  "kind": "js",
2432
- "name": "whenElse",
2424
+ "name": "defaultEventMap",
2433
2425
  "declaration": {
2434
- "name": "whenElse",
2435
- "module": "src/directives/when-else/when-else.ts"
2426
+ "name": "defaultEventMap",
2427
+ "module": "src/directives/sync/sync.ts"
2428
+ }
2429
+ },
2430
+ {
2431
+ "kind": "js",
2432
+ "name": "sync",
2433
+ "declaration": {
2434
+ "name": "sync",
2435
+ "module": "src/directives/sync/sync.ts"
2436
2436
  }
2437
2437
  }
2438
2438
  ]
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.0",
4
+ "version": "14.228.2-alpha-6b809f3.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.0",
31
- "@genesislcap/genx": "14.228.0",
32
- "@genesislcap/rollup-builder": "14.228.0",
33
- "@genesislcap/ts-builder": "14.228.0",
34
- "@genesislcap/uvu-playwright-builder": "14.228.0",
35
- "@genesislcap/vite-builder": "14.228.0",
36
- "@genesislcap/webpack-builder": "14.228.0",
30
+ "@genesislcap/foundation-testing": "14.228.2-alpha-6b809f3.0",
31
+ "@genesislcap/genx": "14.228.2-alpha-6b809f3.0",
32
+ "@genesislcap/rollup-builder": "14.228.2-alpha-6b809f3.0",
33
+ "@genesislcap/ts-builder": "14.228.2-alpha-6b809f3.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.228.2-alpha-6b809f3.0",
35
+ "@genesislcap/vite-builder": "14.228.2-alpha-6b809f3.0",
36
+ "@genesislcap/webpack-builder": "14.228.2-alpha-6b809f3.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.228.0",
40
+ "@genesislcap/foundation-logger": "14.228.2-alpha-6b809f3.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": "a8c87f80b2eab109ea129977bdbb803d6980da95"
58
+ "gitHead": "a48ab8ae199c8f7e0ba6b74d84bc12b044f8cc4c"
59
59
  }