@genesislcap/foundation-utils 14.228.2-alpha-6b809f3.0 → 14.228.2-alpha-0224583.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 +239 -239
  2. package/package.json +10 -10
@@ -169,6 +169,147 @@
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
+ {
196
+ "kind": "javascript-module",
197
+ "path": "src/design-system/design-system.ts",
198
+ "declarations": [
199
+ {
200
+ "kind": "function",
201
+ "name": "assureDesignSystem",
202
+ "return": {
203
+ "type": {
204
+ "text": "DesignSystemModule"
205
+ }
206
+ },
207
+ "parameters": [
208
+ {
209
+ "name": "module",
210
+ "type": {
211
+ "text": "DesignSystemModule"
212
+ }
213
+ }
214
+ ],
215
+ "description": "assureDesignSystem.",
216
+ "privacy": "public"
217
+ }
218
+ ],
219
+ "exports": [
220
+ {
221
+ "kind": "js",
222
+ "name": "assureDesignSystem",
223
+ "declaration": {
224
+ "name": "assureDesignSystem",
225
+ "module": "src/design-system/design-system.ts"
226
+ }
227
+ }
228
+ ]
229
+ },
230
+ {
231
+ "kind": "javascript-module",
232
+ "path": "src/design-system/index.ts",
233
+ "declarations": [],
234
+ "exports": [
235
+ {
236
+ "kind": "js",
237
+ "name": "*",
238
+ "declaration": {
239
+ "name": "*",
240
+ "package": "./design-system"
241
+ }
242
+ }
243
+ ]
244
+ },
245
+ {
246
+ "kind": "javascript-module",
247
+ "path": "src/decorators/index.ts",
248
+ "declarations": [],
249
+ "exports": [
250
+ {
251
+ "kind": "js",
252
+ "name": "*",
253
+ "declaration": {
254
+ "name": "*",
255
+ "package": "./renderOnChange"
256
+ }
257
+ }
258
+ ]
259
+ },
260
+ {
261
+ "kind": "javascript-module",
262
+ "path": "src/decorators/renderOnChange.ts",
263
+ "declarations": [
264
+ {
265
+ "kind": "function",
266
+ "name": "renderOnChange",
267
+ "parameters": [
268
+ {
269
+ "name": "target",
270
+ "type": {
271
+ "text": "FASTElement & { render(): void }"
272
+ },
273
+ "description": "The target to define the property change handler on."
274
+ },
275
+ {
276
+ "name": "name",
277
+ "type": {
278
+ "text": "string"
279
+ },
280
+ "description": "The property name."
281
+ }
282
+ ],
283
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
284
+ "privacy": "public"
285
+ }
286
+ ],
287
+ "exports": [
288
+ {
289
+ "kind": "js",
290
+ "name": "renderOnChange",
291
+ "declaration": {
292
+ "name": "renderOnChange",
293
+ "module": "src/decorators/renderOnChange.ts"
294
+ }
295
+ }
296
+ ]
297
+ },
298
+ {
299
+ "kind": "javascript-module",
300
+ "path": "src/encoding/index.ts",
301
+ "declarations": [],
302
+ "exports": [
303
+ {
304
+ "kind": "js",
305
+ "name": "*",
306
+ "declaration": {
307
+ "name": "*",
308
+ "package": "./base64"
309
+ }
310
+ }
311
+ ]
312
+ },
172
313
  {
173
314
  "kind": "javascript-module",
174
315
  "path": "src/data/inMemoryDatabase.ts",
@@ -367,147 +508,6 @@
367
508
  }
368
509
  ]
369
510
  },
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
- },
496
- {
497
- "kind": "javascript-module",
498
- "path": "src/encoding/index.ts",
499
- "declarations": [],
500
- "exports": [
501
- {
502
- "kind": "js",
503
- "name": "*",
504
- "declaration": {
505
- "name": "*",
506
- "package": "./base64"
507
- }
508
- }
509
- ]
510
- },
511
511
  {
512
512
  "kind": "javascript-module",
513
513
  "path": "src/env/index.ts",
@@ -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-0224583.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-0224583.0",
31
+ "@genesislcap/genx": "14.228.2-alpha-0224583.0",
32
+ "@genesislcap/rollup-builder": "14.228.2-alpha-0224583.0",
33
+ "@genesislcap/ts-builder": "14.228.2-alpha-0224583.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.228.2-alpha-0224583.0",
35
+ "@genesislcap/vite-builder": "14.228.2-alpha-0224583.0",
36
+ "@genesislcap/webpack-builder": "14.228.2-alpha-0224583.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-0224583.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": "aa6b11ffeec9cf411f5385f780f948036c6f5524"
59
59
  }