@genesislcap/foundation-utils 14.211.5 → 14.212.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 +185 -185
  2. package/package.json +10 -10
@@ -1301,7 +1301,7 @@
1301
1301
  },
1302
1302
  {
1303
1303
  "kind": "javascript-module",
1304
- "path": "src/mappers/index.ts",
1304
+ "path": "src/mixins/index.ts",
1305
1305
  "declarations": [],
1306
1306
  "exports": [
1307
1307
  {
@@ -1309,14 +1309,22 @@
1309
1309
  "name": "*",
1310
1310
  "declaration": {
1311
1311
  "name": "*",
1312
- "package": "./dto"
1312
+ "package": "./pendingState"
1313
+ }
1314
+ },
1315
+ {
1316
+ "kind": "js",
1317
+ "name": "*",
1318
+ "declaration": {
1319
+ "name": "*",
1320
+ "package": "./lifecycle"
1313
1321
  }
1314
1322
  }
1315
1323
  ]
1316
1324
  },
1317
1325
  {
1318
1326
  "kind": "javascript-module",
1319
- "path": "src/mixins/index.ts",
1327
+ "path": "src/mappers/index.ts",
1320
1328
  "declarations": [],
1321
1329
  "exports": [
1322
1330
  {
@@ -1324,15 +1332,7 @@
1324
1332
  "name": "*",
1325
1333
  "declaration": {
1326
1334
  "name": "*",
1327
- "package": "./pendingState"
1328
- }
1329
- },
1330
- {
1331
- "kind": "js",
1332
- "name": "*",
1333
- "declaration": {
1334
- "name": "*",
1335
- "package": "./lifecycle"
1335
+ "package": "./dto"
1336
1336
  }
1337
1337
  }
1338
1338
  ]
@@ -2068,95 +2068,6 @@
2068
2068
  }
2069
2069
  ]
2070
2070
  },
2071
- {
2072
- "kind": "javascript-module",
2073
- "path": "src/directives/sync/index.ts",
2074
- "declarations": [],
2075
- "exports": [
2076
- {
2077
- "kind": "js",
2078
- "name": "*",
2079
- "declaration": {
2080
- "name": "*",
2081
- "package": "./sync"
2082
- }
2083
- }
2084
- ]
2085
- },
2086
- {
2087
- "kind": "javascript-module",
2088
- "path": "src/directives/sync/sync.ts",
2089
- "declarations": [
2090
- {
2091
- "kind": "variable",
2092
- "name": "defaultEventMap",
2093
- "type": {
2094
- "text": "Map<string, EventName>"
2095
- },
2096
- "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])",
2097
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2098
- "privacy": "public"
2099
- },
2100
- {
2101
- "kind": "function",
2102
- "name": "sync",
2103
- "return": {
2104
- "type": {
2105
- "text": "CaptureType<TSource>"
2106
- }
2107
- },
2108
- "parameters": [
2109
- {
2110
- "name": "binding",
2111
- "type": {
2112
- "text": "Binding<TSource, TReturn>"
2113
- }
2114
- },
2115
- {
2116
- "name": "conversionType",
2117
- "default": "'string'",
2118
- "type": {
2119
- "text": "ConversionType"
2120
- }
2121
- },
2122
- {
2123
- "name": "eventName",
2124
- "default": "'default'",
2125
- "type": {
2126
- "text": "EventName"
2127
- }
2128
- },
2129
- {
2130
- "name": "keyAttr",
2131
- "optional": true,
2132
- "type": {
2133
- "text": "string"
2134
- }
2135
- }
2136
- ],
2137
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2138
- "privacy": "public"
2139
- }
2140
- ],
2141
- "exports": [
2142
- {
2143
- "kind": "js",
2144
- "name": "defaultEventMap",
2145
- "declaration": {
2146
- "name": "defaultEventMap",
2147
- "module": "src/directives/sync/sync.ts"
2148
- }
2149
- },
2150
- {
2151
- "kind": "js",
2152
- "name": "sync",
2153
- "declaration": {
2154
- "name": "sync",
2155
- "module": "src/directives/sync/sync.ts"
2156
- }
2157
- }
2158
- ]
2159
- },
2160
2071
  {
2161
2072
  "kind": "javascript-module",
2162
2073
  "path": "src/window/index.ts",
@@ -2307,7 +2218,7 @@
2307
2218
  },
2308
2219
  {
2309
2220
  "kind": "javascript-module",
2310
- "path": "src/directives/when-else/index.ts",
2221
+ "path": "src/directives/sync/index.ts",
2311
2222
  "declarations": [],
2312
2223
  "exports": [
2313
2224
  {
@@ -2315,18 +2226,28 @@
2315
2226
  "name": "*",
2316
2227
  "declaration": {
2317
2228
  "name": "*",
2318
- "package": "./when-else"
2229
+ "package": "./sync"
2319
2230
  }
2320
2231
  }
2321
2232
  ]
2322
2233
  },
2323
2234
  {
2324
2235
  "kind": "javascript-module",
2325
- "path": "src/directives/when-else/when-else.ts",
2236
+ "path": "src/directives/sync/sync.ts",
2326
2237
  "declarations": [
2238
+ {
2239
+ "kind": "variable",
2240
+ "name": "defaultEventMap",
2241
+ "type": {
2242
+ "text": "Map<string, EventName>"
2243
+ },
2244
+ "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])",
2245
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2246
+ "privacy": "public"
2247
+ },
2327
2248
  {
2328
2249
  "kind": "function",
2329
- "name": "whenElse",
2250
+ "name": "sync",
2330
2251
  "return": {
2331
2252
  "type": {
2332
2253
  "text": "CaptureType<TSource>"
@@ -2337,42 +2258,56 @@
2337
2258
  "name": "binding",
2338
2259
  "type": {
2339
2260
  "text": "Binding<TSource, TReturn>"
2340
- },
2341
- "description": "The condition to test for rendering."
2261
+ }
2342
2262
  },
2343
2263
  {
2344
- "name": "trueTemplateOrTemplateBinding",
2264
+ "name": "conversionType",
2265
+ "default": "'string'",
2345
2266
  "type": {
2346
- "text": "WhenTemplate<TSource>"
2347
- },
2348
- "description": "The template or a binding that gets the template to render when the condition is true."
2267
+ "text": "ConversionType"
2268
+ }
2349
2269
  },
2350
2270
  {
2351
- "name": "falseTemplateOrTemplateBinding",
2271
+ "name": "eventName",
2272
+ "default": "'default'",
2352
2273
  "type": {
2353
- "text": "WhenTemplate<TSource>"
2354
- },
2355
- "description": "The template or a binding that gets the template to render when the condition is false."
2274
+ "text": "EventName"
2275
+ }
2276
+ },
2277
+ {
2278
+ "name": "keyAttr",
2279
+ "optional": true,
2280
+ "type": {
2281
+ "text": "string"
2282
+ }
2356
2283
  }
2357
2284
  ],
2358
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2285
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2359
2286
  "privacy": "public"
2360
2287
  }
2361
2288
  ],
2362
2289
  "exports": [
2363
2290
  {
2364
2291
  "kind": "js",
2365
- "name": "whenElse",
2292
+ "name": "defaultEventMap",
2366
2293
  "declaration": {
2367
- "name": "whenElse",
2368
- "module": "src/directives/when-else/when-else.ts"
2294
+ "name": "defaultEventMap",
2295
+ "module": "src/directives/sync/sync.ts"
2296
+ }
2297
+ },
2298
+ {
2299
+ "kind": "js",
2300
+ "name": "sync",
2301
+ "declaration": {
2302
+ "name": "sync",
2303
+ "module": "src/directives/sync/sync.ts"
2369
2304
  }
2370
2305
  }
2371
2306
  ]
2372
2307
  },
2373
2308
  {
2374
2309
  "kind": "javascript-module",
2375
- "path": "src/mappers/dto/index.ts",
2310
+ "path": "src/directives/when-else/index.ts",
2376
2311
  "declarations": [],
2377
2312
  "exports": [
2378
2313
  {
@@ -2380,96 +2315,61 @@
2380
2315
  "name": "*",
2381
2316
  "declaration": {
2382
2317
  "name": "*",
2383
- "package": "./serverRow"
2384
- }
2385
- },
2386
- {
2387
- "kind": "js",
2388
- "name": "*",
2389
- "declaration": {
2390
- "name": "*",
2391
- "package": "./types"
2318
+ "package": "./when-else"
2392
2319
  }
2393
2320
  }
2394
2321
  ]
2395
2322
  },
2396
2323
  {
2397
2324
  "kind": "javascript-module",
2398
- "path": "src/mappers/dto/serverRow.ts",
2325
+ "path": "src/directives/when-else/when-else.ts",
2399
2326
  "declarations": [
2400
2327
  {
2401
- "kind": "class",
2402
- "description": "The default `ServerRowDTOMapper`.",
2403
- "name": "DefaultServerRowDTOMapper",
2404
- "members": [
2328
+ "kind": "function",
2329
+ "name": "whenElse",
2330
+ "return": {
2331
+ "type": {
2332
+ "text": "CaptureType<TSource>"
2333
+ }
2334
+ },
2335
+ "parameters": [
2405
2336
  {
2406
- "kind": "field",
2407
- "name": "fromDTO",
2408
- "description": "Converts a server row DTO to an entity.",
2409
- "parameters": [
2410
- {
2411
- "description": "The DTO to convert.",
2412
- "name": "dto"
2413
- }
2414
- ],
2415
- "return": {
2416
- "type": {
2417
- "text": ""
2418
- }
2337
+ "name": "binding",
2338
+ "type": {
2339
+ "text": "Binding<TSource, TReturn>"
2419
2340
  },
2420
- "privacy": "public"
2341
+ "description": "The condition to test for rendering."
2421
2342
  },
2422
2343
  {
2423
- "kind": "field",
2424
- "name": "toDTO",
2425
- "description": "Converts a server row entity to a DTO.",
2426
- "parameters": [
2427
- {
2428
- "description": "The entity to convert.",
2429
- "name": "entity"
2430
- }
2431
- ],
2432
- "return": {
2433
- "type": {
2434
- "text": ""
2435
- }
2344
+ "name": "trueTemplateOrTemplateBinding",
2345
+ "type": {
2346
+ "text": "WhenTemplate<TSource>"
2436
2347
  },
2437
- "privacy": "public"
2348
+ "description": "The template or a binding that gets the template to render when the condition is true."
2349
+ },
2350
+ {
2351
+ "name": "falseTemplateOrTemplateBinding",
2352
+ "type": {
2353
+ "text": "WhenTemplate<TSource>"
2354
+ },
2355
+ "description": "The template or a binding that gets the template to render when the condition is false."
2438
2356
  }
2439
- ]
2440
- },
2441
- {
2442
- "kind": "variable",
2443
- "name": "ServerRowDTOMapper",
2444
- "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2357
+ ],
2358
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2445
2359
  "privacy": "public"
2446
2360
  }
2447
2361
  ],
2448
2362
  "exports": [
2449
2363
  {
2450
2364
  "kind": "js",
2451
- "name": "DefaultServerRowDTOMapper",
2452
- "declaration": {
2453
- "name": "DefaultServerRowDTOMapper",
2454
- "module": "src/mappers/dto/serverRow.ts"
2455
- }
2456
- },
2457
- {
2458
- "kind": "js",
2459
- "name": "ServerRowDTOMapper",
2365
+ "name": "whenElse",
2460
2366
  "declaration": {
2461
- "name": "ServerRowDTOMapper",
2462
- "module": "src/mappers/dto/serverRow.ts"
2367
+ "name": "whenElse",
2368
+ "module": "src/directives/when-else/when-else.ts"
2463
2369
  }
2464
2370
  }
2465
2371
  ]
2466
2372
  },
2467
- {
2468
- "kind": "javascript-module",
2469
- "path": "src/mappers/dto/types.ts",
2470
- "declarations": [],
2471
- "exports": []
2472
- },
2473
2373
  {
2474
2374
  "kind": "javascript-module",
2475
2375
  "path": "src/mixins/lifecycle/index.ts",
@@ -2681,6 +2581,106 @@
2681
2581
  }
2682
2582
  ]
2683
2583
  },
2584
+ {
2585
+ "kind": "javascript-module",
2586
+ "path": "src/mappers/dto/index.ts",
2587
+ "declarations": [],
2588
+ "exports": [
2589
+ {
2590
+ "kind": "js",
2591
+ "name": "*",
2592
+ "declaration": {
2593
+ "name": "*",
2594
+ "package": "./serverRow"
2595
+ }
2596
+ },
2597
+ {
2598
+ "kind": "js",
2599
+ "name": "*",
2600
+ "declaration": {
2601
+ "name": "*",
2602
+ "package": "./types"
2603
+ }
2604
+ }
2605
+ ]
2606
+ },
2607
+ {
2608
+ "kind": "javascript-module",
2609
+ "path": "src/mappers/dto/serverRow.ts",
2610
+ "declarations": [
2611
+ {
2612
+ "kind": "class",
2613
+ "description": "The default `ServerRowDTOMapper`.",
2614
+ "name": "DefaultServerRowDTOMapper",
2615
+ "members": [
2616
+ {
2617
+ "kind": "field",
2618
+ "name": "fromDTO",
2619
+ "description": "Converts a server row DTO to an entity.",
2620
+ "parameters": [
2621
+ {
2622
+ "description": "The DTO to convert.",
2623
+ "name": "dto"
2624
+ }
2625
+ ],
2626
+ "return": {
2627
+ "type": {
2628
+ "text": ""
2629
+ }
2630
+ },
2631
+ "privacy": "public"
2632
+ },
2633
+ {
2634
+ "kind": "field",
2635
+ "name": "toDTO",
2636
+ "description": "Converts a server row entity to a DTO.",
2637
+ "parameters": [
2638
+ {
2639
+ "description": "The entity to convert.",
2640
+ "name": "entity"
2641
+ }
2642
+ ],
2643
+ "return": {
2644
+ "type": {
2645
+ "text": ""
2646
+ }
2647
+ },
2648
+ "privacy": "public"
2649
+ }
2650
+ ]
2651
+ },
2652
+ {
2653
+ "kind": "variable",
2654
+ "name": "ServerRowDTOMapper",
2655
+ "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2656
+ "privacy": "public"
2657
+ }
2658
+ ],
2659
+ "exports": [
2660
+ {
2661
+ "kind": "js",
2662
+ "name": "DefaultServerRowDTOMapper",
2663
+ "declaration": {
2664
+ "name": "DefaultServerRowDTOMapper",
2665
+ "module": "src/mappers/dto/serverRow.ts"
2666
+ }
2667
+ },
2668
+ {
2669
+ "kind": "js",
2670
+ "name": "ServerRowDTOMapper",
2671
+ "declaration": {
2672
+ "name": "ServerRowDTOMapper",
2673
+ "module": "src/mappers/dto/serverRow.ts"
2674
+ }
2675
+ }
2676
+ ]
2677
+ },
2678
+ {
2679
+ "kind": "javascript-module",
2680
+ "path": "src/mappers/dto/types.ts",
2681
+ "declarations": [],
2682
+ "exports": []
2683
+ },
2684
2684
  {
2685
2685
  "kind": "javascript-module",
2686
2686
  "path": "src/serializers/json/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.211.5",
4
+ "version": "14.212.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.211.5",
31
- "@genesislcap/genx": "14.211.5",
32
- "@genesislcap/rollup-builder": "14.211.5",
33
- "@genesislcap/ts-builder": "14.211.5",
34
- "@genesislcap/uvu-playwright-builder": "14.211.5",
35
- "@genesislcap/vite-builder": "14.211.5",
36
- "@genesislcap/webpack-builder": "14.211.5",
30
+ "@genesislcap/foundation-testing": "14.212.0",
31
+ "@genesislcap/genx": "14.212.0",
32
+ "@genesislcap/rollup-builder": "14.212.0",
33
+ "@genesislcap/ts-builder": "14.212.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.212.0",
35
+ "@genesislcap/vite-builder": "14.212.0",
36
+ "@genesislcap/webpack-builder": "14.212.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.211.5",
40
+ "@genesislcap/foundation-logger": "14.212.0",
41
41
  "@microsoft/fast-components": "^2.30.6",
42
42
  "@microsoft/fast-element": "^1.12.0",
43
43
  "@microsoft/fast-foundation": "^2.49.4",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "6362f3dbcf2712680073a886eeaed5c58bb6ad35"
58
+ "gitHead": "880f74b1216de9f9b42035c3a44b69b936cd0686"
59
59
  }