@genesislcap/foundation-utils 14.217.2-alpha-53d4080.0 → 14.217.2-alpha-3d72397.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +99 -99
- package/package.json +10 -10
@@ -167,59 +167,6 @@
|
|
167
167
|
}
|
168
168
|
]
|
169
169
|
},
|
170
|
-
{
|
171
|
-
"kind": "javascript-module",
|
172
|
-
"path": "src/decorators/index.ts",
|
173
|
-
"declarations": [],
|
174
|
-
"exports": [
|
175
|
-
{
|
176
|
-
"kind": "js",
|
177
|
-
"name": "*",
|
178
|
-
"declaration": {
|
179
|
-
"name": "*",
|
180
|
-
"package": "./renderOnChange"
|
181
|
-
}
|
182
|
-
}
|
183
|
-
]
|
184
|
-
},
|
185
|
-
{
|
186
|
-
"kind": "javascript-module",
|
187
|
-
"path": "src/decorators/renderOnChange.ts",
|
188
|
-
"declarations": [
|
189
|
-
{
|
190
|
-
"kind": "function",
|
191
|
-
"name": "renderOnChange",
|
192
|
-
"parameters": [
|
193
|
-
{
|
194
|
-
"name": "target",
|
195
|
-
"type": {
|
196
|
-
"text": "FASTElement & { render(): void }"
|
197
|
-
},
|
198
|
-
"description": "The target to define the property change handler on."
|
199
|
-
},
|
200
|
-
{
|
201
|
-
"name": "name",
|
202
|
-
"type": {
|
203
|
-
"text": "string"
|
204
|
-
},
|
205
|
-
"description": "The property name."
|
206
|
-
}
|
207
|
-
],
|
208
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
209
|
-
"privacy": "public"
|
210
|
-
}
|
211
|
-
],
|
212
|
-
"exports": [
|
213
|
-
{
|
214
|
-
"kind": "js",
|
215
|
-
"name": "renderOnChange",
|
216
|
-
"declaration": {
|
217
|
-
"name": "renderOnChange",
|
218
|
-
"module": "src/decorators/renderOnChange.ts"
|
219
|
-
}
|
220
|
-
}
|
221
|
-
]
|
222
|
-
},
|
223
170
|
{
|
224
171
|
"kind": "javascript-module",
|
225
172
|
"path": "src/data/inMemoryDatabase.ts",
|
@@ -418,6 +365,59 @@
|
|
418
365
|
}
|
419
366
|
]
|
420
367
|
},
|
368
|
+
{
|
369
|
+
"kind": "javascript-module",
|
370
|
+
"path": "src/decorators/index.ts",
|
371
|
+
"declarations": [],
|
372
|
+
"exports": [
|
373
|
+
{
|
374
|
+
"kind": "js",
|
375
|
+
"name": "*",
|
376
|
+
"declaration": {
|
377
|
+
"name": "*",
|
378
|
+
"package": "./renderOnChange"
|
379
|
+
}
|
380
|
+
}
|
381
|
+
]
|
382
|
+
},
|
383
|
+
{
|
384
|
+
"kind": "javascript-module",
|
385
|
+
"path": "src/decorators/renderOnChange.ts",
|
386
|
+
"declarations": [
|
387
|
+
{
|
388
|
+
"kind": "function",
|
389
|
+
"name": "renderOnChange",
|
390
|
+
"parameters": [
|
391
|
+
{
|
392
|
+
"name": "target",
|
393
|
+
"type": {
|
394
|
+
"text": "FASTElement & { render(): void }"
|
395
|
+
},
|
396
|
+
"description": "The target to define the property change handler on."
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"name": "name",
|
400
|
+
"type": {
|
401
|
+
"text": "string"
|
402
|
+
},
|
403
|
+
"description": "The property name."
|
404
|
+
}
|
405
|
+
],
|
406
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
407
|
+
"privacy": "public"
|
408
|
+
}
|
409
|
+
],
|
410
|
+
"exports": [
|
411
|
+
{
|
412
|
+
"kind": "js",
|
413
|
+
"name": "renderOnChange",
|
414
|
+
"declaration": {
|
415
|
+
"name": "renderOnChange",
|
416
|
+
"module": "src/decorators/renderOnChange.ts"
|
417
|
+
}
|
418
|
+
}
|
419
|
+
]
|
420
|
+
},
|
421
421
|
{
|
422
422
|
"kind": "javascript-module",
|
423
423
|
"path": "src/design-system/design-system.ts",
|
@@ -1339,7 +1339,7 @@
|
|
1339
1339
|
},
|
1340
1340
|
{
|
1341
1341
|
"kind": "javascript-module",
|
1342
|
-
"path": "src/
|
1342
|
+
"path": "src/observer/index.ts",
|
1343
1343
|
"declarations": [],
|
1344
1344
|
"exports": [
|
1345
1345
|
{
|
@@ -1347,55 +1347,71 @@
|
|
1347
1347
|
"name": "*",
|
1348
1348
|
"declaration": {
|
1349
1349
|
"name": "*",
|
1350
|
-
"package": "./
|
1350
|
+
"package": "./observer"
|
1351
1351
|
}
|
1352
1352
|
}
|
1353
1353
|
]
|
1354
1354
|
},
|
1355
1355
|
{
|
1356
1356
|
"kind": "javascript-module",
|
1357
|
-
"path": "src/
|
1357
|
+
"path": "src/observer/observer.ts",
|
1358
1358
|
"declarations": [
|
1359
1359
|
{
|
1360
1360
|
"kind": "function",
|
1361
|
-
"name": "
|
1361
|
+
"name": "createObserver",
|
1362
1362
|
"return": {
|
1363
1363
|
"type": {
|
1364
|
-
"text": "
|
1364
|
+
"text": "Observer<EventType>"
|
1365
1365
|
}
|
1366
1366
|
},
|
1367
|
+
"description": "Creates a new event observer instance.",
|
1368
|
+
"privacy": "public"
|
1369
|
+
},
|
1370
|
+
{
|
1371
|
+
"kind": "function",
|
1372
|
+
"name": "respondToVisibility",
|
1367
1373
|
"parameters": [
|
1368
1374
|
{
|
1369
|
-
"name": "
|
1375
|
+
"name": "element",
|
1370
1376
|
"type": {
|
1371
|
-
"text": "
|
1372
|
-
}
|
1377
|
+
"text": "HTMLElement"
|
1378
|
+
},
|
1379
|
+
"description": "HTMLElement to observe"
|
1373
1380
|
},
|
1374
1381
|
{
|
1375
|
-
"name": "
|
1382
|
+
"name": "callback",
|
1376
1383
|
"type": {
|
1377
|
-
"text": "() =>
|
1378
|
-
}
|
1384
|
+
"text": "(arg0: boolean) => any"
|
1385
|
+
},
|
1386
|
+
"description": "any function called when the visibility changes"
|
1379
1387
|
}
|
1380
1388
|
],
|
1381
|
-
"description": "
|
1389
|
+
"description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
|
1382
1390
|
"privacy": "public"
|
1383
1391
|
}
|
1384
1392
|
],
|
1385
1393
|
"exports": [
|
1386
1394
|
{
|
1387
1395
|
"kind": "js",
|
1388
|
-
"name": "
|
1396
|
+
"name": "createObserver",
|
1389
1397
|
"declaration": {
|
1390
|
-
"name": "
|
1391
|
-
"module": "src/
|
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"
|
1392
1408
|
}
|
1393
1409
|
}
|
1394
1410
|
]
|
1395
1411
|
},
|
1396
1412
|
{
|
1397
1413
|
"kind": "javascript-module",
|
1398
|
-
"path": "src/
|
1414
|
+
"path": "src/promise/index.ts",
|
1399
1415
|
"declarations": [],
|
1400
1416
|
"exports": [
|
1401
1417
|
{
|
@@ -1403,64 +1419,48 @@
|
|
1403
1419
|
"name": "*",
|
1404
1420
|
"declaration": {
|
1405
1421
|
"name": "*",
|
1406
|
-
"package": "./
|
1422
|
+
"package": "./resolveAfter"
|
1407
1423
|
}
|
1408
1424
|
}
|
1409
1425
|
]
|
1410
1426
|
},
|
1411
1427
|
{
|
1412
1428
|
"kind": "javascript-module",
|
1413
|
-
"path": "src/
|
1429
|
+
"path": "src/promise/resolveAfter.ts",
|
1414
1430
|
"declarations": [
|
1415
1431
|
{
|
1416
1432
|
"kind": "function",
|
1417
|
-
"name": "
|
1433
|
+
"name": "resolveAfter",
|
1418
1434
|
"return": {
|
1419
1435
|
"type": {
|
1420
|
-
"text": "
|
1436
|
+
"text": "Promise<T>"
|
1421
1437
|
}
|
1422
1438
|
},
|
1423
|
-
"description": "Creates a new event observer instance.",
|
1424
|
-
"privacy": "public"
|
1425
|
-
},
|
1426
|
-
{
|
1427
|
-
"kind": "function",
|
1428
|
-
"name": "respondToVisibility",
|
1429
1439
|
"parameters": [
|
1430
1440
|
{
|
1431
|
-
"name": "
|
1441
|
+
"name": "ms",
|
1432
1442
|
"type": {
|
1433
|
-
"text": "
|
1434
|
-
}
|
1435
|
-
"description": "HTMLElement to observe"
|
1443
|
+
"text": "number"
|
1444
|
+
}
|
1436
1445
|
},
|
1437
1446
|
{
|
1438
|
-
"name": "
|
1447
|
+
"name": "valueCreator",
|
1439
1448
|
"type": {
|
1440
|
-
"text": "(
|
1441
|
-
}
|
1442
|
-
"description": "any function called when the visibility changes"
|
1449
|
+
"text": "() => T"
|
1450
|
+
}
|
1443
1451
|
}
|
1444
1452
|
],
|
1445
|
-
"description": "
|
1453
|
+
"description": "Resolve a promise after a timeout.",
|
1446
1454
|
"privacy": "public"
|
1447
1455
|
}
|
1448
1456
|
],
|
1449
1457
|
"exports": [
|
1450
1458
|
{
|
1451
1459
|
"kind": "js",
|
1452
|
-
"name": "
|
1453
|
-
"declaration": {
|
1454
|
-
"name": "createObserver",
|
1455
|
-
"module": "src/observer/observer.ts"
|
1456
|
-
}
|
1457
|
-
},
|
1458
|
-
{
|
1459
|
-
"kind": "js",
|
1460
|
-
"name": "respondToVisibility",
|
1460
|
+
"name": "resolveAfter",
|
1461
1461
|
"declaration": {
|
1462
|
-
"name": "
|
1463
|
-
"module": "src/
|
1462
|
+
"name": "resolveAfter",
|
1463
|
+
"module": "src/promise/resolveAfter.ts"
|
1464
1464
|
}
|
1465
1465
|
}
|
1466
1466
|
]
|
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.217.2-alpha-
|
4
|
+
"version": "14.217.2-alpha-3d72397.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.217.2-alpha-
|
31
|
-
"@genesislcap/genx": "14.217.2-alpha-
|
32
|
-
"@genesislcap/rollup-builder": "14.217.2-alpha-
|
33
|
-
"@genesislcap/ts-builder": "14.217.2-alpha-
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.217.2-alpha-
|
35
|
-
"@genesislcap/vite-builder": "14.217.2-alpha-
|
36
|
-
"@genesislcap/webpack-builder": "14.217.2-alpha-
|
30
|
+
"@genesislcap/foundation-testing": "14.217.2-alpha-3d72397.0",
|
31
|
+
"@genesislcap/genx": "14.217.2-alpha-3d72397.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.217.2-alpha-3d72397.0",
|
33
|
+
"@genesislcap/ts-builder": "14.217.2-alpha-3d72397.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.217.2-alpha-3d72397.0",
|
35
|
+
"@genesislcap/vite-builder": "14.217.2-alpha-3d72397.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.217.2-alpha-3d72397.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.217.2-alpha-
|
40
|
+
"@genesislcap/foundation-logger": "14.217.2-alpha-3d72397.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": "
|
58
|
+
"gitHead": "331c4d200da68827c07445b2caf7fd8856d550e8"
|
59
59
|
}
|