@genesislcap/foundation-utils 14.228.2-alpha-6b809f3.0 → 14.228.2-alpha-16265c5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1366,6 +1366,44 @@
1366
1366
  }
1367
1367
  ]
1368
1368
  },
1369
+ {
1370
+ "kind": "javascript-module",
1371
+ "path": "src/mappers/index.ts",
1372
+ "declarations": [],
1373
+ "exports": [
1374
+ {
1375
+ "kind": "js",
1376
+ "name": "*",
1377
+ "declaration": {
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
+ },
1369
1407
  {
1370
1408
  "kind": "javascript-module",
1371
1409
  "path": "src/observer/index.ts",
@@ -1438,44 +1476,6 @@
1438
1476
  }
1439
1477
  ]
1440
1478
  },
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",
@@ -2285,7 +2285,7 @@
2285
2285
  },
2286
2286
  {
2287
2287
  "kind": "javascript-module",
2288
- "path": "src/directives/when-else/index.ts",
2288
+ "path": "src/directives/sync/index.ts",
2289
2289
  "declarations": [],
2290
2290
  "exports": [
2291
2291
  {
@@ -2293,18 +2293,28 @@
2293
2293
  "name": "*",
2294
2294
  "declaration": {
2295
2295
  "name": "*",
2296
- "package": "./when-else"
2296
+ "package": "./sync"
2297
2297
  }
2298
2298
  }
2299
2299
  ]
2300
2300
  },
2301
2301
  {
2302
2302
  "kind": "javascript-module",
2303
- "path": "src/directives/when-else/when-else.ts",
2303
+ "path": "src/directives/sync/sync.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
+ },
2305
2315
  {
2306
2316
  "kind": "function",
2307
- "name": "whenElse",
2317
+ "name": "sync",
2308
2318
  "return": {
2309
2319
  "type": {
2310
2320
  "text": "CaptureType<TSource>"
@@ -2315,42 +2325,56 @@
2315
2325
  "name": "binding",
2316
2326
  "type": {
2317
2327
  "text": "Binding<TSource, TReturn>"
2318
- },
2319
- "description": "The condition to test for rendering."
2328
+ }
2320
2329
  },
2321
2330
  {
2322
- "name": "trueTemplateOrTemplateBinding",
2331
+ "name": "conversionType",
2332
+ "default": "'string'",
2323
2333
  "type": {
2324
- "text": "WhenTemplate<TSource>"
2325
- },
2326
- "description": "The template or a binding that gets the template to render when the condition is true."
2334
+ "text": "ConversionType"
2335
+ }
2327
2336
  },
2328
2337
  {
2329
- "name": "falseTemplateOrTemplateBinding",
2338
+ "name": "eventName",
2339
+ "default": "'default'",
2330
2340
  "type": {
2331
- "text": "WhenTemplate<TSource>"
2332
- },
2333
- "description": "The template or a binding that gets the template to render when the condition is false."
2341
+ "text": "EventName"
2342
+ }
2343
+ },
2344
+ {
2345
+ "name": "keyAttr",
2346
+ "optional": true,
2347
+ "type": {
2348
+ "text": "string"
2349
+ }
2334
2350
  }
2335
2351
  ],
2336
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2352
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2337
2353
  "privacy": "public"
2338
2354
  }
2339
2355
  ],
2340
2356
  "exports": [
2341
2357
  {
2342
2358
  "kind": "js",
2343
- "name": "whenElse",
2359
+ "name": "defaultEventMap",
2344
2360
  "declaration": {
2345
- "name": "whenElse",
2346
- "module": "src/directives/when-else/when-else.ts"
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"
2347
2371
  }
2348
2372
  }
2349
2373
  ]
2350
2374
  },
2351
2375
  {
2352
2376
  "kind": "javascript-module",
2353
- "path": "src/directives/sync/index.ts",
2377
+ "path": "src/directives/when-else/index.ts",
2354
2378
  "declarations": [],
2355
2379
  "exports": [
2356
2380
  {
@@ -2358,28 +2382,18 @@
2358
2382
  "name": "*",
2359
2383
  "declaration": {
2360
2384
  "name": "*",
2361
- "package": "./sync"
2385
+ "package": "./when-else"
2362
2386
  }
2363
2387
  }
2364
2388
  ]
2365
2389
  },
2366
2390
  {
2367
2391
  "kind": "javascript-module",
2368
- "path": "src/directives/sync/sync.ts",
2392
+ "path": "src/directives/when-else/when-else.ts",
2369
2393
  "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
- },
2380
2394
  {
2381
2395
  "kind": "function",
2382
- "name": "sync",
2396
+ "name": "whenElse",
2383
2397
  "return": {
2384
2398
  "type": {
2385
2399
  "text": "CaptureType<TSource>"
@@ -2390,49 +2404,35 @@
2390
2404
  "name": "binding",
2391
2405
  "type": {
2392
2406
  "text": "Binding<TSource, TReturn>"
2393
- }
2394
- },
2395
- {
2396
- "name": "conversionType",
2397
- "default": "'string'",
2398
- "type": {
2399
- "text": "ConversionType"
2400
- }
2407
+ },
2408
+ "description": "The condition to test for rendering."
2401
2409
  },
2402
2410
  {
2403
- "name": "eventName",
2404
- "default": "'default'",
2411
+ "name": "trueTemplateOrTemplateBinding",
2405
2412
  "type": {
2406
- "text": "EventName"
2407
- }
2413
+ "text": "WhenTemplate<TSource>"
2414
+ },
2415
+ "description": "The template or a binding that gets the template to render when the condition is true."
2408
2416
  },
2409
2417
  {
2410
- "name": "keyAttr",
2411
- "optional": true,
2418
+ "name": "falseTemplateOrTemplateBinding",
2412
2419
  "type": {
2413
- "text": "string"
2414
- }
2420
+ "text": "WhenTemplate<TSource>"
2421
+ },
2422
+ "description": "The template or a binding that gets the template to render when the condition is false."
2415
2423
  }
2416
2424
  ],
2417
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2425
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2418
2426
  "privacy": "public"
2419
2427
  }
2420
2428
  ],
2421
2429
  "exports": [
2422
2430
  {
2423
2431
  "kind": "js",
2424
- "name": "defaultEventMap",
2425
- "declaration": {
2426
- "name": "defaultEventMap",
2427
- "module": "src/directives/sync/sync.ts"
2428
- }
2429
- },
2430
- {
2431
- "kind": "js",
2432
- "name": "sync",
2432
+ "name": "whenElse",
2433
2433
  "declaration": {
2434
- "name": "sync",
2435
- "module": "src/directives/sync/sync.ts"
2434
+ "name": "whenElse",
2435
+ "module": "src/directives/when-else/when-else.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.2-alpha-6b809f3.0",
4
+ "version": "14.228.2-alpha-16265c5.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-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",
30
+ "@genesislcap/foundation-testing": "14.228.2-alpha-16265c5.0",
31
+ "@genesislcap/genx": "14.228.2-alpha-16265c5.0",
32
+ "@genesislcap/rollup-builder": "14.228.2-alpha-16265c5.0",
33
+ "@genesislcap/ts-builder": "14.228.2-alpha-16265c5.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.228.2-alpha-16265c5.0",
35
+ "@genesislcap/vite-builder": "14.228.2-alpha-16265c5.0",
36
+ "@genesislcap/webpack-builder": "14.228.2-alpha-16265c5.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.228.2-alpha-6b809f3.0",
40
+ "@genesislcap/foundation-logger": "14.228.2-alpha-16265c5.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": "a48ab8ae199c8f7e0ba6b74d84bc12b044f8cc4c"
58
+ "gitHead": "68ea2e550c2f3f561cb894538eceb490f7a950cf"
59
59
  }