@genesislcap/foundation-utils 14.226.2-alpha-0c303f8.0 → 14.226.2-alpha-aea721e.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +115 -115
- package/package.json +10 -10
@@ -367,59 +367,6 @@
|
|
367
367
|
}
|
368
368
|
]
|
369
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
370
|
{
|
424
371
|
"kind": "javascript-module",
|
425
372
|
"path": "src/directives/index.ts",
|
@@ -746,6 +693,59 @@
|
|
746
693
|
}
|
747
694
|
]
|
748
695
|
},
|
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
749
|
{
|
750
750
|
"kind": "javascript-module",
|
751
751
|
"path": "src/error/errorMap.ts",
|
@@ -1356,7 +1356,7 @@
|
|
1356
1356
|
},
|
1357
1357
|
{
|
1358
1358
|
"kind": "javascript-module",
|
1359
|
-
"path": "src/
|
1359
|
+
"path": "src/promise/index.ts",
|
1360
1360
|
"declarations": [],
|
1361
1361
|
"exports": [
|
1362
1362
|
{
|
@@ -1364,71 +1364,55 @@
|
|
1364
1364
|
"name": "*",
|
1365
1365
|
"declaration": {
|
1366
1366
|
"name": "*",
|
1367
|
-
"package": "./
|
1367
|
+
"package": "./resolveAfter"
|
1368
1368
|
}
|
1369
1369
|
}
|
1370
1370
|
]
|
1371
1371
|
},
|
1372
1372
|
{
|
1373
1373
|
"kind": "javascript-module",
|
1374
|
-
"path": "src/
|
1374
|
+
"path": "src/promise/resolveAfter.ts",
|
1375
1375
|
"declarations": [
|
1376
1376
|
{
|
1377
1377
|
"kind": "function",
|
1378
|
-
"name": "
|
1378
|
+
"name": "resolveAfter",
|
1379
1379
|
"return": {
|
1380
1380
|
"type": {
|
1381
|
-
"text": "
|
1381
|
+
"text": "Promise<T>"
|
1382
1382
|
}
|
1383
1383
|
},
|
1384
|
-
"description": "Creates a new event observer instance.",
|
1385
|
-
"privacy": "public"
|
1386
|
-
},
|
1387
|
-
{
|
1388
|
-
"kind": "function",
|
1389
|
-
"name": "respondToVisibility",
|
1390
1384
|
"parameters": [
|
1391
1385
|
{
|
1392
|
-
"name": "
|
1386
|
+
"name": "ms",
|
1393
1387
|
"type": {
|
1394
|
-
"text": "
|
1395
|
-
}
|
1396
|
-
"description": "HTMLElement to observe"
|
1388
|
+
"text": "number"
|
1389
|
+
}
|
1397
1390
|
},
|
1398
1391
|
{
|
1399
|
-
"name": "
|
1392
|
+
"name": "valueCreator",
|
1400
1393
|
"type": {
|
1401
|
-
"text": "(
|
1402
|
-
}
|
1403
|
-
"description": "any function called when the visibility changes"
|
1394
|
+
"text": "() => T"
|
1395
|
+
}
|
1404
1396
|
}
|
1405
1397
|
],
|
1406
|
-
"description": "
|
1398
|
+
"description": "Resolve a promise after a timeout.",
|
1407
1399
|
"privacy": "public"
|
1408
1400
|
}
|
1409
1401
|
],
|
1410
1402
|
"exports": [
|
1411
1403
|
{
|
1412
1404
|
"kind": "js",
|
1413
|
-
"name": "
|
1414
|
-
"declaration": {
|
1415
|
-
"name": "createObserver",
|
1416
|
-
"module": "src/observer/observer.ts"
|
1417
|
-
}
|
1418
|
-
},
|
1419
|
-
{
|
1420
|
-
"kind": "js",
|
1421
|
-
"name": "respondToVisibility",
|
1405
|
+
"name": "resolveAfter",
|
1422
1406
|
"declaration": {
|
1423
|
-
"name": "
|
1424
|
-
"module": "src/
|
1407
|
+
"name": "resolveAfter",
|
1408
|
+
"module": "src/promise/resolveAfter.ts"
|
1425
1409
|
}
|
1426
1410
|
}
|
1427
1411
|
]
|
1428
1412
|
},
|
1429
1413
|
{
|
1430
1414
|
"kind": "javascript-module",
|
1431
|
-
"path": "src/
|
1415
|
+
"path": "src/observer/index.ts",
|
1432
1416
|
"declarations": [],
|
1433
1417
|
"exports": [
|
1434
1418
|
{
|
@@ -1436,48 +1420,64 @@
|
|
1436
1420
|
"name": "*",
|
1437
1421
|
"declaration": {
|
1438
1422
|
"name": "*",
|
1439
|
-
"package": "./
|
1423
|
+
"package": "./observer"
|
1440
1424
|
}
|
1441
1425
|
}
|
1442
1426
|
]
|
1443
1427
|
},
|
1444
1428
|
{
|
1445
1429
|
"kind": "javascript-module",
|
1446
|
-
"path": "src/
|
1430
|
+
"path": "src/observer/observer.ts",
|
1447
1431
|
"declarations": [
|
1448
1432
|
{
|
1449
1433
|
"kind": "function",
|
1450
|
-
"name": "
|
1434
|
+
"name": "createObserver",
|
1451
1435
|
"return": {
|
1452
1436
|
"type": {
|
1453
|
-
"text": "
|
1437
|
+
"text": "Observer<EventType>"
|
1454
1438
|
}
|
1455
1439
|
},
|
1440
|
+
"description": "Creates a new event observer instance.",
|
1441
|
+
"privacy": "public"
|
1442
|
+
},
|
1443
|
+
{
|
1444
|
+
"kind": "function",
|
1445
|
+
"name": "respondToVisibility",
|
1456
1446
|
"parameters": [
|
1457
1447
|
{
|
1458
|
-
"name": "
|
1448
|
+
"name": "element",
|
1459
1449
|
"type": {
|
1460
|
-
"text": "
|
1461
|
-
}
|
1450
|
+
"text": "HTMLElement"
|
1451
|
+
},
|
1452
|
+
"description": "HTMLElement to observe"
|
1462
1453
|
},
|
1463
1454
|
{
|
1464
|
-
"name": "
|
1455
|
+
"name": "callback",
|
1465
1456
|
"type": {
|
1466
|
-
"text": "() =>
|
1467
|
-
}
|
1457
|
+
"text": "(arg0: boolean) => any"
|
1458
|
+
},
|
1459
|
+
"description": "any function called when the visibility changes"
|
1468
1460
|
}
|
1469
1461
|
],
|
1470
|
-
"description": "
|
1462
|
+
"description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
|
1471
1463
|
"privacy": "public"
|
1472
1464
|
}
|
1473
1465
|
],
|
1474
1466
|
"exports": [
|
1475
1467
|
{
|
1476
1468
|
"kind": "js",
|
1477
|
-
"name": "
|
1469
|
+
"name": "createObserver",
|
1478
1470
|
"declaration": {
|
1479
|
-
"name": "
|
1480
|
-
"module": "src/
|
1471
|
+
"name": "createObserver",
|
1472
|
+
"module": "src/observer/observer.ts"
|
1473
|
+
}
|
1474
|
+
},
|
1475
|
+
{
|
1476
|
+
"kind": "js",
|
1477
|
+
"name": "respondToVisibility",
|
1478
|
+
"declaration": {
|
1479
|
+
"name": "respondToVisibility",
|
1480
|
+
"module": "src/observer/observer.ts"
|
1481
1481
|
}
|
1482
1482
|
}
|
1483
1483
|
]
|
@@ -2013,7 +2013,7 @@
|
|
2013
2013
|
},
|
2014
2014
|
{
|
2015
2015
|
"kind": "javascript-module",
|
2016
|
-
"path": "src/
|
2016
|
+
"path": "src/uuid/index.ts",
|
2017
2017
|
"declarations": [],
|
2018
2018
|
"exports": [
|
2019
2019
|
{
|
@@ -2021,36 +2021,36 @@
|
|
2021
2021
|
"name": "*",
|
2022
2022
|
"declaration": {
|
2023
2023
|
"name": "*",
|
2024
|
-
"package": "./
|
2024
|
+
"package": "./uuid"
|
2025
2025
|
}
|
2026
2026
|
}
|
2027
2027
|
]
|
2028
2028
|
},
|
2029
2029
|
{
|
2030
2030
|
"kind": "javascript-module",
|
2031
|
-
"path": "src/
|
2031
|
+
"path": "src/uuid/uuid.ts",
|
2032
2032
|
"declarations": [
|
2033
2033
|
{
|
2034
2034
|
"kind": "variable",
|
2035
|
-
"name": "
|
2036
|
-
"description": "
|
2035
|
+
"name": "UUID",
|
2036
|
+
"description": "A dependency injection token for the UUID interface.",
|
2037
2037
|
"privacy": "public"
|
2038
2038
|
}
|
2039
2039
|
],
|
2040
2040
|
"exports": [
|
2041
2041
|
{
|
2042
2042
|
"kind": "js",
|
2043
|
-
"name": "
|
2043
|
+
"name": "UUID",
|
2044
2044
|
"declaration": {
|
2045
|
-
"name": "
|
2046
|
-
"module": "src/
|
2045
|
+
"name": "UUID",
|
2046
|
+
"module": "src/uuid/uuid.ts"
|
2047
2047
|
}
|
2048
2048
|
}
|
2049
2049
|
]
|
2050
2050
|
},
|
2051
2051
|
{
|
2052
2052
|
"kind": "javascript-module",
|
2053
|
-
"path": "src/
|
2053
|
+
"path": "src/utils/index.ts",
|
2054
2054
|
"declarations": [],
|
2055
2055
|
"exports": [
|
2056
2056
|
{
|
@@ -2058,29 +2058,29 @@
|
|
2058
2058
|
"name": "*",
|
2059
2059
|
"declaration": {
|
2060
2060
|
"name": "*",
|
2061
|
-
"package": "./
|
2061
|
+
"package": "./logger"
|
2062
2062
|
}
|
2063
2063
|
}
|
2064
2064
|
]
|
2065
2065
|
},
|
2066
2066
|
{
|
2067
2067
|
"kind": "javascript-module",
|
2068
|
-
"path": "src/
|
2068
|
+
"path": "src/utils/logger.ts",
|
2069
2069
|
"declarations": [
|
2070
2070
|
{
|
2071
2071
|
"kind": "variable",
|
2072
|
-
"name": "
|
2073
|
-
"description": "
|
2072
|
+
"name": "logger",
|
2073
|
+
"description": "Logger for the foundation-utils package",
|
2074
2074
|
"privacy": "public"
|
2075
2075
|
}
|
2076
2076
|
],
|
2077
2077
|
"exports": [
|
2078
2078
|
{
|
2079
2079
|
"kind": "js",
|
2080
|
-
"name": "
|
2080
|
+
"name": "logger",
|
2081
2081
|
"declaration": {
|
2082
|
-
"name": "
|
2083
|
-
"module": "src/
|
2082
|
+
"name": "logger",
|
2083
|
+
"module": "src/utils/logger.ts"
|
2084
2084
|
}
|
2085
2085
|
}
|
2086
2086
|
]
|
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.226.2-alpha-
|
4
|
+
"version": "14.226.2-alpha-aea721e.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.226.2-alpha-
|
31
|
-
"@genesislcap/genx": "14.226.2-alpha-
|
32
|
-
"@genesislcap/rollup-builder": "14.226.2-alpha-
|
33
|
-
"@genesislcap/ts-builder": "14.226.2-alpha-
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.226.2-alpha-
|
35
|
-
"@genesislcap/vite-builder": "14.226.2-alpha-
|
36
|
-
"@genesislcap/webpack-builder": "14.226.2-alpha-
|
30
|
+
"@genesislcap/foundation-testing": "14.226.2-alpha-aea721e.0",
|
31
|
+
"@genesislcap/genx": "14.226.2-alpha-aea721e.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.226.2-alpha-aea721e.0",
|
33
|
+
"@genesislcap/ts-builder": "14.226.2-alpha-aea721e.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.226.2-alpha-aea721e.0",
|
35
|
+
"@genesislcap/vite-builder": "14.226.2-alpha-aea721e.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.226.2-alpha-aea721e.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.226.2-alpha-
|
40
|
+
"@genesislcap/foundation-logger": "14.226.2-alpha-aea721e.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": "
|
58
|
+
"gitHead": "a1e26db8cf0c95775e6b9fb7c8ebdaa146589c2a"
|
59
59
|
}
|