@genesislcap/foundation-utils 14.204.0 → 14.205.0-jsdom.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +182 -182
- package/package.json +10 -10
@@ -365,56 +365,6 @@
|
|
365
365
|
}
|
366
366
|
]
|
367
367
|
},
|
368
|
-
{
|
369
|
-
"kind": "javascript-module",
|
370
|
-
"path": "src/design-system/design-system.ts",
|
371
|
-
"declarations": [
|
372
|
-
{
|
373
|
-
"kind": "function",
|
374
|
-
"name": "assureDesignSystem",
|
375
|
-
"return": {
|
376
|
-
"type": {
|
377
|
-
"text": "DesignSystemModule"
|
378
|
-
}
|
379
|
-
},
|
380
|
-
"parameters": [
|
381
|
-
{
|
382
|
-
"name": "module",
|
383
|
-
"type": {
|
384
|
-
"text": "DesignSystemModule"
|
385
|
-
}
|
386
|
-
}
|
387
|
-
],
|
388
|
-
"description": "assureDesignSystem.",
|
389
|
-
"privacy": "public"
|
390
|
-
}
|
391
|
-
],
|
392
|
-
"exports": [
|
393
|
-
{
|
394
|
-
"kind": "js",
|
395
|
-
"name": "assureDesignSystem",
|
396
|
-
"declaration": {
|
397
|
-
"name": "assureDesignSystem",
|
398
|
-
"module": "src/design-system/design-system.ts"
|
399
|
-
}
|
400
|
-
}
|
401
|
-
]
|
402
|
-
},
|
403
|
-
{
|
404
|
-
"kind": "javascript-module",
|
405
|
-
"path": "src/design-system/index.ts",
|
406
|
-
"declarations": [],
|
407
|
-
"exports": [
|
408
|
-
{
|
409
|
-
"kind": "js",
|
410
|
-
"name": "*",
|
411
|
-
"declaration": {
|
412
|
-
"name": "*",
|
413
|
-
"package": "./design-system"
|
414
|
-
}
|
415
|
-
}
|
416
|
-
]
|
417
|
-
},
|
418
368
|
{
|
419
369
|
"kind": "javascript-module",
|
420
370
|
"path": "src/decorators/index.ts",
|
@@ -468,6 +418,56 @@
|
|
468
418
|
}
|
469
419
|
]
|
470
420
|
},
|
421
|
+
{
|
422
|
+
"kind": "javascript-module",
|
423
|
+
"path": "src/design-system/design-system.ts",
|
424
|
+
"declarations": [
|
425
|
+
{
|
426
|
+
"kind": "function",
|
427
|
+
"name": "assureDesignSystem",
|
428
|
+
"return": {
|
429
|
+
"type": {
|
430
|
+
"text": "DesignSystemModule"
|
431
|
+
}
|
432
|
+
},
|
433
|
+
"parameters": [
|
434
|
+
{
|
435
|
+
"name": "module",
|
436
|
+
"type": {
|
437
|
+
"text": "DesignSystemModule"
|
438
|
+
}
|
439
|
+
}
|
440
|
+
],
|
441
|
+
"description": "assureDesignSystem.",
|
442
|
+
"privacy": "public"
|
443
|
+
}
|
444
|
+
],
|
445
|
+
"exports": [
|
446
|
+
{
|
447
|
+
"kind": "js",
|
448
|
+
"name": "assureDesignSystem",
|
449
|
+
"declaration": {
|
450
|
+
"name": "assureDesignSystem",
|
451
|
+
"module": "src/design-system/design-system.ts"
|
452
|
+
}
|
453
|
+
}
|
454
|
+
]
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"kind": "javascript-module",
|
458
|
+
"path": "src/design-system/index.ts",
|
459
|
+
"declarations": [],
|
460
|
+
"exports": [
|
461
|
+
{
|
462
|
+
"kind": "js",
|
463
|
+
"name": "*",
|
464
|
+
"declaration": {
|
465
|
+
"name": "*",
|
466
|
+
"package": "./design-system"
|
467
|
+
}
|
468
|
+
}
|
469
|
+
]
|
470
|
+
},
|
471
471
|
{
|
472
472
|
"kind": "javascript-module",
|
473
473
|
"path": "src/directives/index.ts",
|
@@ -1337,6 +1337,78 @@
|
|
1337
1337
|
}
|
1338
1338
|
]
|
1339
1339
|
},
|
1340
|
+
{
|
1341
|
+
"kind": "javascript-module",
|
1342
|
+
"path": "src/observer/index.ts",
|
1343
|
+
"declarations": [],
|
1344
|
+
"exports": [
|
1345
|
+
{
|
1346
|
+
"kind": "js",
|
1347
|
+
"name": "*",
|
1348
|
+
"declaration": {
|
1349
|
+
"name": "*",
|
1350
|
+
"package": "./observer"
|
1351
|
+
}
|
1352
|
+
}
|
1353
|
+
]
|
1354
|
+
},
|
1355
|
+
{
|
1356
|
+
"kind": "javascript-module",
|
1357
|
+
"path": "src/observer/observer.ts",
|
1358
|
+
"declarations": [
|
1359
|
+
{
|
1360
|
+
"kind": "function",
|
1361
|
+
"name": "createObserver",
|
1362
|
+
"return": {
|
1363
|
+
"type": {
|
1364
|
+
"text": "Observer<EventType>"
|
1365
|
+
}
|
1366
|
+
},
|
1367
|
+
"description": "Creates a new event observer instance.",
|
1368
|
+
"privacy": "public"
|
1369
|
+
},
|
1370
|
+
{
|
1371
|
+
"kind": "function",
|
1372
|
+
"name": "respondToVisibility",
|
1373
|
+
"parameters": [
|
1374
|
+
{
|
1375
|
+
"name": "element",
|
1376
|
+
"type": {
|
1377
|
+
"text": "HTMLElement"
|
1378
|
+
},
|
1379
|
+
"description": "HTMLElement to observe"
|
1380
|
+
},
|
1381
|
+
{
|
1382
|
+
"name": "callback",
|
1383
|
+
"type": {
|
1384
|
+
"text": "(arg0: boolean) => any"
|
1385
|
+
},
|
1386
|
+
"description": "any function called when the visibility changes"
|
1387
|
+
}
|
1388
|
+
],
|
1389
|
+
"description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
|
1390
|
+
"privacy": "public"
|
1391
|
+
}
|
1392
|
+
],
|
1393
|
+
"exports": [
|
1394
|
+
{
|
1395
|
+
"kind": "js",
|
1396
|
+
"name": "createObserver",
|
1397
|
+
"declaration": {
|
1398
|
+
"name": "createObserver",
|
1399
|
+
"module": "src/observer/observer.ts"
|
1400
|
+
}
|
1401
|
+
},
|
1402
|
+
{
|
1403
|
+
"kind": "js",
|
1404
|
+
"name": "respondToVisibility",
|
1405
|
+
"declaration": {
|
1406
|
+
"name": "respondToVisibility",
|
1407
|
+
"module": "src/observer/observer.ts"
|
1408
|
+
}
|
1409
|
+
}
|
1410
|
+
]
|
1411
|
+
},
|
1340
1412
|
{
|
1341
1413
|
"kind": "javascript-module",
|
1342
1414
|
"path": "src/promise/index.ts",
|
@@ -1575,78 +1647,6 @@
|
|
1575
1647
|
}
|
1576
1648
|
]
|
1577
1649
|
},
|
1578
|
-
{
|
1579
|
-
"kind": "javascript-module",
|
1580
|
-
"path": "src/observer/index.ts",
|
1581
|
-
"declarations": [],
|
1582
|
-
"exports": [
|
1583
|
-
{
|
1584
|
-
"kind": "js",
|
1585
|
-
"name": "*",
|
1586
|
-
"declaration": {
|
1587
|
-
"name": "*",
|
1588
|
-
"package": "./observer"
|
1589
|
-
}
|
1590
|
-
}
|
1591
|
-
]
|
1592
|
-
},
|
1593
|
-
{
|
1594
|
-
"kind": "javascript-module",
|
1595
|
-
"path": "src/observer/observer.ts",
|
1596
|
-
"declarations": [
|
1597
|
-
{
|
1598
|
-
"kind": "function",
|
1599
|
-
"name": "createObserver",
|
1600
|
-
"return": {
|
1601
|
-
"type": {
|
1602
|
-
"text": "Observer<EventType>"
|
1603
|
-
}
|
1604
|
-
},
|
1605
|
-
"description": "Creates a new event observer instance.",
|
1606
|
-
"privacy": "public"
|
1607
|
-
},
|
1608
|
-
{
|
1609
|
-
"kind": "function",
|
1610
|
-
"name": "respondToVisibility",
|
1611
|
-
"parameters": [
|
1612
|
-
{
|
1613
|
-
"name": "element",
|
1614
|
-
"type": {
|
1615
|
-
"text": "HTMLElement"
|
1616
|
-
},
|
1617
|
-
"description": "HTMLElement to observe"
|
1618
|
-
},
|
1619
|
-
{
|
1620
|
-
"name": "callback",
|
1621
|
-
"type": {
|
1622
|
-
"text": "(arg0: boolean) => any"
|
1623
|
-
},
|
1624
|
-
"description": "any function called when the visibility changes"
|
1625
|
-
}
|
1626
|
-
],
|
1627
|
-
"description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
|
1628
|
-
"privacy": "public"
|
1629
|
-
}
|
1630
|
-
],
|
1631
|
-
"exports": [
|
1632
|
-
{
|
1633
|
-
"kind": "js",
|
1634
|
-
"name": "createObserver",
|
1635
|
-
"declaration": {
|
1636
|
-
"name": "createObserver",
|
1637
|
-
"module": "src/observer/observer.ts"
|
1638
|
-
}
|
1639
|
-
},
|
1640
|
-
{
|
1641
|
-
"kind": "js",
|
1642
|
-
"name": "respondToVisibility",
|
1643
|
-
"declaration": {
|
1644
|
-
"name": "respondToVisibility",
|
1645
|
-
"module": "src/observer/observer.ts"
|
1646
|
-
}
|
1647
|
-
}
|
1648
|
-
]
|
1649
|
-
},
|
1650
1650
|
{
|
1651
1651
|
"kind": "javascript-module",
|
1652
1652
|
"path": "src/styles/color.ts",
|
@@ -2218,7 +2218,7 @@
|
|
2218
2218
|
},
|
2219
2219
|
{
|
2220
2220
|
"kind": "javascript-module",
|
2221
|
-
"path": "src/directives/
|
2221
|
+
"path": "src/directives/sync/index.ts",
|
2222
2222
|
"declarations": [],
|
2223
2223
|
"exports": [
|
2224
2224
|
{
|
@@ -2226,18 +2226,28 @@
|
|
2226
2226
|
"name": "*",
|
2227
2227
|
"declaration": {
|
2228
2228
|
"name": "*",
|
2229
|
-
"package": "./
|
2229
|
+
"package": "./sync"
|
2230
2230
|
}
|
2231
2231
|
}
|
2232
2232
|
]
|
2233
2233
|
},
|
2234
2234
|
{
|
2235
2235
|
"kind": "javascript-module",
|
2236
|
-
"path": "src/directives/
|
2236
|
+
"path": "src/directives/sync/sync.ts",
|
2237
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
|
+
},
|
2238
2248
|
{
|
2239
2249
|
"kind": "function",
|
2240
|
-
"name": "
|
2250
|
+
"name": "sync",
|
2241
2251
|
"return": {
|
2242
2252
|
"type": {
|
2243
2253
|
"text": "CaptureType<TSource>"
|
@@ -2248,42 +2258,56 @@
|
|
2248
2258
|
"name": "binding",
|
2249
2259
|
"type": {
|
2250
2260
|
"text": "Binding<TSource, TReturn>"
|
2251
|
-
}
|
2252
|
-
"description": "The condition to test for rendering."
|
2261
|
+
}
|
2253
2262
|
},
|
2254
2263
|
{
|
2255
|
-
"name": "
|
2264
|
+
"name": "conversionType",
|
2265
|
+
"default": "'string'",
|
2256
2266
|
"type": {
|
2257
|
-
"text": "
|
2258
|
-
}
|
2259
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
2267
|
+
"text": "ConversionType"
|
2268
|
+
}
|
2260
2269
|
},
|
2261
2270
|
{
|
2262
|
-
"name": "
|
2271
|
+
"name": "eventName",
|
2272
|
+
"default": "'default'",
|
2263
2273
|
"type": {
|
2264
|
-
"text": "
|
2265
|
-
}
|
2266
|
-
|
2274
|
+
"text": "EventName"
|
2275
|
+
}
|
2276
|
+
},
|
2277
|
+
{
|
2278
|
+
"name": "keyAttr",
|
2279
|
+
"optional": true,
|
2280
|
+
"type": {
|
2281
|
+
"text": "string"
|
2282
|
+
}
|
2267
2283
|
}
|
2268
2284
|
],
|
2269
|
-
"description": "
|
2285
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
2270
2286
|
"privacy": "public"
|
2271
2287
|
}
|
2272
2288
|
],
|
2273
2289
|
"exports": [
|
2274
2290
|
{
|
2275
2291
|
"kind": "js",
|
2276
|
-
"name": "
|
2292
|
+
"name": "defaultEventMap",
|
2277
2293
|
"declaration": {
|
2278
|
-
"name": "
|
2279
|
-
"module": "src/directives/
|
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"
|
2280
2304
|
}
|
2281
2305
|
}
|
2282
2306
|
]
|
2283
2307
|
},
|
2284
2308
|
{
|
2285
2309
|
"kind": "javascript-module",
|
2286
|
-
"path": "src/directives/
|
2310
|
+
"path": "src/directives/when-else/index.ts",
|
2287
2311
|
"declarations": [],
|
2288
2312
|
"exports": [
|
2289
2313
|
{
|
@@ -2291,28 +2315,18 @@
|
|
2291
2315
|
"name": "*",
|
2292
2316
|
"declaration": {
|
2293
2317
|
"name": "*",
|
2294
|
-
"package": "./
|
2318
|
+
"package": "./when-else"
|
2295
2319
|
}
|
2296
2320
|
}
|
2297
2321
|
]
|
2298
2322
|
},
|
2299
2323
|
{
|
2300
2324
|
"kind": "javascript-module",
|
2301
|
-
"path": "src/directives/
|
2325
|
+
"path": "src/directives/when-else/when-else.ts",
|
2302
2326
|
"declarations": [
|
2303
|
-
{
|
2304
|
-
"kind": "variable",
|
2305
|
-
"name": "defaultEventMap",
|
2306
|
-
"type": {
|
2307
|
-
"text": "Map<string, EventName>"
|
2308
|
-
},
|
2309
|
-
"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])",
|
2310
|
-
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
2311
|
-
"privacy": "public"
|
2312
|
-
},
|
2313
2327
|
{
|
2314
2328
|
"kind": "function",
|
2315
|
-
"name": "
|
2329
|
+
"name": "whenElse",
|
2316
2330
|
"return": {
|
2317
2331
|
"type": {
|
2318
2332
|
"text": "CaptureType<TSource>"
|
@@ -2323,49 +2337,35 @@
|
|
2323
2337
|
"name": "binding",
|
2324
2338
|
"type": {
|
2325
2339
|
"text": "Binding<TSource, TReturn>"
|
2326
|
-
}
|
2327
|
-
|
2328
|
-
{
|
2329
|
-
"name": "conversionType",
|
2330
|
-
"default": "'string'",
|
2331
|
-
"type": {
|
2332
|
-
"text": "ConversionType"
|
2333
|
-
}
|
2340
|
+
},
|
2341
|
+
"description": "The condition to test for rendering."
|
2334
2342
|
},
|
2335
2343
|
{
|
2336
|
-
"name": "
|
2337
|
-
"default": "'default'",
|
2344
|
+
"name": "trueTemplateOrTemplateBinding",
|
2338
2345
|
"type": {
|
2339
|
-
"text": "
|
2340
|
-
}
|
2346
|
+
"text": "WhenTemplate<TSource>"
|
2347
|
+
},
|
2348
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
2341
2349
|
},
|
2342
2350
|
{
|
2343
|
-
"name": "
|
2344
|
-
"optional": true,
|
2351
|
+
"name": "falseTemplateOrTemplateBinding",
|
2345
2352
|
"type": {
|
2346
|
-
"text": "
|
2347
|
-
}
|
2353
|
+
"text": "WhenTemplate<TSource>"
|
2354
|
+
},
|
2355
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
2348
2356
|
}
|
2349
2357
|
],
|
2350
|
-
"description": "
|
2358
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
2351
2359
|
"privacy": "public"
|
2352
2360
|
}
|
2353
2361
|
],
|
2354
2362
|
"exports": [
|
2355
2363
|
{
|
2356
2364
|
"kind": "js",
|
2357
|
-
"name": "
|
2358
|
-
"declaration": {
|
2359
|
-
"name": "defaultEventMap",
|
2360
|
-
"module": "src/directives/sync/sync.ts"
|
2361
|
-
}
|
2362
|
-
},
|
2363
|
-
{
|
2364
|
-
"kind": "js",
|
2365
|
-
"name": "sync",
|
2365
|
+
"name": "whenElse",
|
2366
2366
|
"declaration": {
|
2367
|
-
"name": "
|
2368
|
-
"module": "src/directives/
|
2367
|
+
"name": "whenElse",
|
2368
|
+
"module": "src/directives/when-else/when-else.ts"
|
2369
2369
|
}
|
2370
2370
|
}
|
2371
2371
|
]
|
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.
|
4
|
+
"version": "14.205.0-jsdom.1",
|
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.
|
31
|
-
"@genesislcap/genx": "14.
|
32
|
-
"@genesislcap/rollup-builder": "14.
|
33
|
-
"@genesislcap/ts-builder": "14.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
35
|
-
"@genesislcap/vite-builder": "14.
|
36
|
-
"@genesislcap/webpack-builder": "14.
|
30
|
+
"@genesislcap/foundation-testing": "14.205.0-jsdom.1",
|
31
|
+
"@genesislcap/genx": "14.205.0-jsdom.1",
|
32
|
+
"@genesislcap/rollup-builder": "14.205.0-jsdom.1",
|
33
|
+
"@genesislcap/ts-builder": "14.205.0-jsdom.1",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.205.0-jsdom.1",
|
35
|
+
"@genesislcap/vite-builder": "14.205.0-jsdom.1",
|
36
|
+
"@genesislcap/webpack-builder": "14.205.0-jsdom.1",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.
|
40
|
+
"@genesislcap/foundation-logger": "14.205.0-jsdom.1",
|
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": "
|
58
|
+
"gitHead": "c4ac00d38f64b7a9827d2b8a6ac030d2d4f35aab"
|
59
59
|
}
|