@genesislcap/foundation-utils 15.10.6-GENC-1480.11 → 15.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +368 -368
- package/package.json +11 -11
|
@@ -252,251 +252,202 @@
|
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
"kind": "javascript-module",
|
|
255
|
-
"path": "src/
|
|
255
|
+
"path": "src/design-system/design-system.ts",
|
|
256
256
|
"declarations": [
|
|
257
257
|
{
|
|
258
|
-
"kind": "
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
|
|
258
|
+
"kind": "function",
|
|
259
|
+
"name": "assureDesignSystem",
|
|
260
|
+
"return": {
|
|
261
|
+
"type": {
|
|
262
|
+
"text": "DesignSystemModule"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"parameters": [
|
|
262
266
|
{
|
|
263
|
-
"
|
|
264
|
-
"name": "isWorking",
|
|
267
|
+
"name": "module",
|
|
265
268
|
"type": {
|
|
266
|
-
"text": "
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
269
|
+
"text": "DesignSystemModule"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"description": "assureDesignSystem.",
|
|
274
|
+
"privacy": "public"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"kind": "function",
|
|
278
|
+
"name": "getCurrentDesignSystem",
|
|
279
|
+
"return": {
|
|
280
|
+
"type": {
|
|
281
|
+
"text": ""
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"parameters": [
|
|
271
285
|
{
|
|
272
|
-
"
|
|
273
|
-
"name": "records",
|
|
286
|
+
"name": "element",
|
|
274
287
|
"type": {
|
|
275
|
-
"text": "
|
|
276
|
-
},
|
|
277
|
-
"privacy": "private",
|
|
278
|
-
"default": "{}"
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"kind": "field",
|
|
282
|
-
"name": "beforeUpdateListeners",
|
|
283
|
-
"privacy": "private"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"kind": "field",
|
|
287
|
-
"name": "afterUpdateListeners",
|
|
288
|
-
"privacy": "private"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"kind": "method",
|
|
292
|
-
"name": "create",
|
|
293
|
-
"privacy": "public",
|
|
294
|
-
"return": {
|
|
295
|
-
"type": {
|
|
296
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
"parameters": [
|
|
300
|
-
{
|
|
301
|
-
"name": "newValue",
|
|
302
|
-
"type": {
|
|
303
|
-
"text": "Omit<T, 'id'>"
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
]
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"kind": "method",
|
|
310
|
-
"name": "read",
|
|
311
|
-
"privacy": "public",
|
|
312
|
-
"return": {
|
|
313
|
-
"type": {
|
|
314
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
"parameters": [
|
|
318
|
-
{
|
|
319
|
-
"name": "id",
|
|
320
|
-
"type": {
|
|
321
|
-
"text": "string"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
]
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"kind": "method",
|
|
328
|
-
"name": "update",
|
|
329
|
-
"privacy": "public",
|
|
330
|
-
"return": {
|
|
331
|
-
"type": {
|
|
332
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
"parameters": [
|
|
336
|
-
{
|
|
337
|
-
"name": "id",
|
|
338
|
-
"type": {
|
|
339
|
-
"text": "string"
|
|
340
|
-
}
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"name": "newValue",
|
|
344
|
-
"type": {
|
|
345
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
]
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"kind": "method",
|
|
352
|
-
"name": "delete",
|
|
353
|
-
"privacy": "public",
|
|
354
|
-
"return": {
|
|
355
|
-
"type": {
|
|
356
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
357
|
-
}
|
|
288
|
+
"text": "HTMLElement"
|
|
358
289
|
},
|
|
359
|
-
"
|
|
360
|
-
{
|
|
361
|
-
"name": "id",
|
|
362
|
-
"type": {
|
|
363
|
-
"text": "string"
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
]
|
|
290
|
+
"description": "The starting HTML element"
|
|
367
291
|
},
|
|
368
292
|
{
|
|
369
|
-
"
|
|
370
|
-
"
|
|
371
|
-
|
|
372
|
-
"return": {
|
|
373
|
-
"type": {
|
|
374
|
-
"text": "Promise<void>"
|
|
375
|
-
}
|
|
293
|
+
"name": "fallbackPrefix",
|
|
294
|
+
"type": {
|
|
295
|
+
"text": "string"
|
|
376
296
|
},
|
|
377
|
-
"
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
297
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
301
|
+
"privacy": "public"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"kind": "function",
|
|
305
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
306
|
+
"return": {
|
|
307
|
+
"type": {
|
|
308
|
+
"text": ""
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"parameters": [
|
|
386
312
|
{
|
|
387
|
-
"
|
|
388
|
-
"
|
|
389
|
-
|
|
390
|
-
"return": {
|
|
391
|
-
"type": {
|
|
392
|
-
"text": "() => void"
|
|
393
|
-
}
|
|
313
|
+
"name": "element",
|
|
314
|
+
"type": {
|
|
315
|
+
"text": "HTMLElement"
|
|
394
316
|
},
|
|
395
|
-
"
|
|
396
|
-
{
|
|
397
|
-
"name": "listener",
|
|
398
|
-
"type": {
|
|
399
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
]
|
|
317
|
+
"description": "The starting HTML element"
|
|
403
318
|
},
|
|
404
319
|
{
|
|
405
|
-
"
|
|
406
|
-
"
|
|
407
|
-
|
|
408
|
-
"return": {
|
|
409
|
-
"type": {
|
|
410
|
-
"text": "() => void"
|
|
411
|
-
}
|
|
320
|
+
"name": "fallbackPrefix",
|
|
321
|
+
"type": {
|
|
322
|
+
"text": "string"
|
|
412
323
|
},
|
|
413
|
-
"
|
|
414
|
-
{
|
|
415
|
-
"name": "listener",
|
|
416
|
-
"type": {
|
|
417
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
]
|
|
324
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
421
325
|
}
|
|
422
|
-
]
|
|
326
|
+
],
|
|
327
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
328
|
+
"privacy": "public"
|
|
423
329
|
}
|
|
424
330
|
],
|
|
425
331
|
"exports": [
|
|
426
332
|
{
|
|
427
333
|
"kind": "js",
|
|
428
|
-
"name": "
|
|
334
|
+
"name": "assureDesignSystem",
|
|
429
335
|
"declaration": {
|
|
430
|
-
"name": "
|
|
431
|
-
"module": "src/
|
|
336
|
+
"name": "assureDesignSystem",
|
|
337
|
+
"module": "src/design-system/design-system.ts"
|
|
432
338
|
}
|
|
433
|
-
}
|
|
434
|
-
]
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
"kind": "javascript-module",
|
|
438
|
-
"path": "src/data/index.ts",
|
|
439
|
-
"declarations": [],
|
|
440
|
-
"exports": [
|
|
339
|
+
},
|
|
441
340
|
{
|
|
442
341
|
"kind": "js",
|
|
443
|
-
"name": "
|
|
342
|
+
"name": "getCurrentDesignSystem",
|
|
444
343
|
"declaration": {
|
|
445
|
-
"name": "
|
|
446
|
-
"
|
|
344
|
+
"name": "getCurrentDesignSystem",
|
|
345
|
+
"module": "src/design-system/design-system.ts"
|
|
447
346
|
}
|
|
448
|
-
}
|
|
449
|
-
]
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"kind": "javascript-module",
|
|
453
|
-
"path": "src/decorators/index.ts",
|
|
454
|
-
"declarations": [],
|
|
455
|
-
"exports": [
|
|
347
|
+
},
|
|
456
348
|
{
|
|
457
349
|
"kind": "js",
|
|
458
|
-
"name": "
|
|
350
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
459
351
|
"declaration": {
|
|
460
|
-
"name": "
|
|
461
|
-
"
|
|
352
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
353
|
+
"module": "src/design-system/design-system.ts"
|
|
462
354
|
}
|
|
463
355
|
}
|
|
464
356
|
]
|
|
465
357
|
},
|
|
466
358
|
{
|
|
467
359
|
"kind": "javascript-module",
|
|
468
|
-
"path": "src/
|
|
360
|
+
"path": "src/design-system/editable-elements.ts",
|
|
469
361
|
"declarations": [
|
|
362
|
+
{
|
|
363
|
+
"kind": "variable",
|
|
364
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
365
|
+
"type": {
|
|
366
|
+
"text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
|
|
367
|
+
},
|
|
368
|
+
"default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
|
|
369
|
+
"description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"kind": "variable",
|
|
373
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
374
|
+
"type": {
|
|
375
|
+
"text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
|
|
376
|
+
},
|
|
377
|
+
"default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
|
|
378
|
+
"description": "Design-system specific editable host selectors."
|
|
379
|
+
},
|
|
470
380
|
{
|
|
471
381
|
"kind": "function",
|
|
472
|
-
"name": "
|
|
382
|
+
"name": "buildEditableElementSelector",
|
|
383
|
+
"return": {
|
|
384
|
+
"type": {
|
|
385
|
+
"text": "string"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
473
388
|
"parameters": [
|
|
474
389
|
{
|
|
475
|
-
"name": "
|
|
390
|
+
"name": "designSystems",
|
|
476
391
|
"type": {
|
|
477
|
-
"text": "
|
|
478
|
-
}
|
|
479
|
-
"description": "The target to define the property change handler on."
|
|
392
|
+
"text": "readonly EditableDesignSystemPrefix[]"
|
|
393
|
+
}
|
|
480
394
|
},
|
|
481
395
|
{
|
|
482
|
-
"name": "
|
|
396
|
+
"name": "customEditableSelectors",
|
|
397
|
+
"default": "[]",
|
|
483
398
|
"type": {
|
|
484
|
-
"text": "string"
|
|
485
|
-
}
|
|
486
|
-
"description": "The property name."
|
|
399
|
+
"text": "readonly string[]"
|
|
400
|
+
}
|
|
487
401
|
}
|
|
488
|
-
]
|
|
489
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
490
|
-
"privacy": "public"
|
|
402
|
+
]
|
|
491
403
|
}
|
|
492
404
|
],
|
|
493
405
|
"exports": [
|
|
494
406
|
{
|
|
495
407
|
"kind": "js",
|
|
496
|
-
"name": "
|
|
408
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
497
409
|
"declaration": {
|
|
498
|
-
"name": "
|
|
499
|
-
"module": "src/
|
|
410
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
411
|
+
"module": "src/design-system/editable-elements.ts"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"kind": "js",
|
|
416
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
417
|
+
"declaration": {
|
|
418
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
419
|
+
"module": "src/design-system/editable-elements.ts"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"kind": "js",
|
|
424
|
+
"name": "buildEditableElementSelector",
|
|
425
|
+
"declaration": {
|
|
426
|
+
"name": "buildEditableElementSelector",
|
|
427
|
+
"module": "src/design-system/editable-elements.ts"
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
]
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"kind": "javascript-module",
|
|
434
|
+
"path": "src/design-system/index.ts",
|
|
435
|
+
"declarations": [],
|
|
436
|
+
"exports": [
|
|
437
|
+
{
|
|
438
|
+
"kind": "js",
|
|
439
|
+
"name": "*",
|
|
440
|
+
"declaration": {
|
|
441
|
+
"name": "*",
|
|
442
|
+
"package": "./design-system"
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"kind": "js",
|
|
447
|
+
"name": "*",
|
|
448
|
+
"declaration": {
|
|
449
|
+
"name": "*",
|
|
450
|
+
"package": "./editable-elements"
|
|
500
451
|
}
|
|
501
452
|
}
|
|
502
453
|
]
|
|
@@ -1015,17 +966,215 @@
|
|
|
1015
966
|
},
|
|
1016
967
|
{
|
|
1017
968
|
"kind": "js",
|
|
1018
|
-
"name": "ACCEPT_TERMS_URL",
|
|
969
|
+
"name": "ACCEPT_TERMS_URL",
|
|
970
|
+
"declaration": {
|
|
971
|
+
"name": "ACCEPT_TERMS_URL",
|
|
972
|
+
"module": "src/env/variables.ts"
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
]
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"kind": "javascript-module",
|
|
979
|
+
"path": "src/encoding/index.ts",
|
|
980
|
+
"declarations": [],
|
|
981
|
+
"exports": [
|
|
982
|
+
{
|
|
983
|
+
"kind": "js",
|
|
984
|
+
"name": "*",
|
|
985
|
+
"declaration": {
|
|
986
|
+
"name": "*",
|
|
987
|
+
"package": "./base64"
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
]
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"kind": "javascript-module",
|
|
994
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
995
|
+
"declarations": [
|
|
996
|
+
{
|
|
997
|
+
"kind": "class",
|
|
998
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
999
|
+
"name": "InMemoryDatabase",
|
|
1000
|
+
"members": [
|
|
1001
|
+
{
|
|
1002
|
+
"kind": "field",
|
|
1003
|
+
"name": "isWorking",
|
|
1004
|
+
"type": {
|
|
1005
|
+
"text": "boolean"
|
|
1006
|
+
},
|
|
1007
|
+
"privacy": "public",
|
|
1008
|
+
"default": "false"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"kind": "field",
|
|
1012
|
+
"name": "records",
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "Record<string, T>"
|
|
1015
|
+
},
|
|
1016
|
+
"privacy": "private",
|
|
1017
|
+
"default": "{}"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"kind": "field",
|
|
1021
|
+
"name": "beforeUpdateListeners",
|
|
1022
|
+
"privacy": "private"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"kind": "field",
|
|
1026
|
+
"name": "afterUpdateListeners",
|
|
1027
|
+
"privacy": "private"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"kind": "method",
|
|
1031
|
+
"name": "create",
|
|
1032
|
+
"privacy": "public",
|
|
1033
|
+
"return": {
|
|
1034
|
+
"type": {
|
|
1035
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
"parameters": [
|
|
1039
|
+
{
|
|
1040
|
+
"name": "newValue",
|
|
1041
|
+
"type": {
|
|
1042
|
+
"text": "Omit<T, 'id'>"
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
]
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"kind": "method",
|
|
1049
|
+
"name": "read",
|
|
1050
|
+
"privacy": "public",
|
|
1051
|
+
"return": {
|
|
1052
|
+
"type": {
|
|
1053
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
"parameters": [
|
|
1057
|
+
{
|
|
1058
|
+
"name": "id",
|
|
1059
|
+
"type": {
|
|
1060
|
+
"text": "string"
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
]
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"kind": "method",
|
|
1067
|
+
"name": "update",
|
|
1068
|
+
"privacy": "public",
|
|
1069
|
+
"return": {
|
|
1070
|
+
"type": {
|
|
1071
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
"parameters": [
|
|
1075
|
+
{
|
|
1076
|
+
"name": "id",
|
|
1077
|
+
"type": {
|
|
1078
|
+
"text": "string"
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"name": "newValue",
|
|
1083
|
+
"type": {
|
|
1084
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
]
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"kind": "method",
|
|
1091
|
+
"name": "delete",
|
|
1092
|
+
"privacy": "public",
|
|
1093
|
+
"return": {
|
|
1094
|
+
"type": {
|
|
1095
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
1096
|
+
}
|
|
1097
|
+
},
|
|
1098
|
+
"parameters": [
|
|
1099
|
+
{
|
|
1100
|
+
"name": "id",
|
|
1101
|
+
"type": {
|
|
1102
|
+
"text": "string"
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
]
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"kind": "method",
|
|
1109
|
+
"name": "visit",
|
|
1110
|
+
"privacy": "public",
|
|
1111
|
+
"return": {
|
|
1112
|
+
"type": {
|
|
1113
|
+
"text": "Promise<void>"
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
"parameters": [
|
|
1117
|
+
{
|
|
1118
|
+
"name": "visitor",
|
|
1119
|
+
"type": {
|
|
1120
|
+
"text": "(record: T) => void"
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
]
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"kind": "method",
|
|
1127
|
+
"name": "onBeforeUpdate",
|
|
1128
|
+
"privacy": "public",
|
|
1129
|
+
"return": {
|
|
1130
|
+
"type": {
|
|
1131
|
+
"text": "() => void"
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
"parameters": [
|
|
1135
|
+
{
|
|
1136
|
+
"name": "listener",
|
|
1137
|
+
"type": {
|
|
1138
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
]
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"kind": "method",
|
|
1145
|
+
"name": "onAfterUpdate",
|
|
1146
|
+
"privacy": "public",
|
|
1147
|
+
"return": {
|
|
1148
|
+
"type": {
|
|
1149
|
+
"text": "() => void"
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
"parameters": [
|
|
1153
|
+
{
|
|
1154
|
+
"name": "listener",
|
|
1155
|
+
"type": {
|
|
1156
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
]
|
|
1160
|
+
}
|
|
1161
|
+
]
|
|
1162
|
+
}
|
|
1163
|
+
],
|
|
1164
|
+
"exports": [
|
|
1165
|
+
{
|
|
1166
|
+
"kind": "js",
|
|
1167
|
+
"name": "InMemoryDatabase",
|
|
1019
1168
|
"declaration": {
|
|
1020
|
-
"name": "
|
|
1021
|
-
"module": "src/
|
|
1169
|
+
"name": "InMemoryDatabase",
|
|
1170
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
1022
1171
|
}
|
|
1023
1172
|
}
|
|
1024
1173
|
]
|
|
1025
1174
|
},
|
|
1026
1175
|
{
|
|
1027
1176
|
"kind": "javascript-module",
|
|
1028
|
-
"path": "src/
|
|
1177
|
+
"path": "src/data/index.ts",
|
|
1029
1178
|
"declarations": [],
|
|
1030
1179
|
"exports": [
|
|
1031
1180
|
{
|
|
@@ -1033,209 +1182,60 @@
|
|
|
1033
1182
|
"name": "*",
|
|
1034
1183
|
"declaration": {
|
|
1035
1184
|
"name": "*",
|
|
1036
|
-
"package": "./
|
|
1185
|
+
"package": "./inMemoryDatabase"
|
|
1037
1186
|
}
|
|
1038
1187
|
}
|
|
1039
1188
|
]
|
|
1040
1189
|
},
|
|
1041
1190
|
{
|
|
1042
1191
|
"kind": "javascript-module",
|
|
1043
|
-
"path": "src/
|
|
1044
|
-
"declarations": [
|
|
1045
|
-
{
|
|
1046
|
-
"kind": "function",
|
|
1047
|
-
"name": "assureDesignSystem",
|
|
1048
|
-
"return": {
|
|
1049
|
-
"type": {
|
|
1050
|
-
"text": "DesignSystemModule"
|
|
1051
|
-
}
|
|
1052
|
-
},
|
|
1053
|
-
"parameters": [
|
|
1054
|
-
{
|
|
1055
|
-
"name": "module",
|
|
1056
|
-
"type": {
|
|
1057
|
-
"text": "DesignSystemModule"
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
],
|
|
1061
|
-
"description": "assureDesignSystem.",
|
|
1062
|
-
"privacy": "public"
|
|
1063
|
-
},
|
|
1064
|
-
{
|
|
1065
|
-
"kind": "function",
|
|
1066
|
-
"name": "getCurrentDesignSystem",
|
|
1067
|
-
"return": {
|
|
1068
|
-
"type": {
|
|
1069
|
-
"text": ""
|
|
1070
|
-
}
|
|
1071
|
-
},
|
|
1072
|
-
"parameters": [
|
|
1073
|
-
{
|
|
1074
|
-
"name": "element",
|
|
1075
|
-
"type": {
|
|
1076
|
-
"text": "HTMLElement"
|
|
1077
|
-
},
|
|
1078
|
-
"description": "The starting HTML element"
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"name": "fallbackPrefix",
|
|
1082
|
-
"type": {
|
|
1083
|
-
"text": "string"
|
|
1084
|
-
},
|
|
1085
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
1086
|
-
}
|
|
1087
|
-
],
|
|
1088
|
-
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
1089
|
-
"privacy": "public"
|
|
1090
|
-
},
|
|
1091
|
-
{
|
|
1092
|
-
"kind": "function",
|
|
1093
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
1094
|
-
"return": {
|
|
1095
|
-
"type": {
|
|
1096
|
-
"text": ""
|
|
1097
|
-
}
|
|
1098
|
-
},
|
|
1099
|
-
"parameters": [
|
|
1100
|
-
{
|
|
1101
|
-
"name": "element",
|
|
1102
|
-
"type": {
|
|
1103
|
-
"text": "HTMLElement"
|
|
1104
|
-
},
|
|
1105
|
-
"description": "The starting HTML element"
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"name": "fallbackPrefix",
|
|
1109
|
-
"type": {
|
|
1110
|
-
"text": "string"
|
|
1111
|
-
},
|
|
1112
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
1113
|
-
}
|
|
1114
|
-
],
|
|
1115
|
-
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
1116
|
-
"privacy": "public"
|
|
1117
|
-
}
|
|
1118
|
-
],
|
|
1192
|
+
"path": "src/decorators/index.ts",
|
|
1193
|
+
"declarations": [],
|
|
1119
1194
|
"exports": [
|
|
1120
1195
|
{
|
|
1121
1196
|
"kind": "js",
|
|
1122
|
-
"name": "
|
|
1123
|
-
"declaration": {
|
|
1124
|
-
"name": "assureDesignSystem",
|
|
1125
|
-
"module": "src/design-system/design-system.ts"
|
|
1126
|
-
}
|
|
1127
|
-
},
|
|
1128
|
-
{
|
|
1129
|
-
"kind": "js",
|
|
1130
|
-
"name": "getCurrentDesignSystem",
|
|
1131
|
-
"declaration": {
|
|
1132
|
-
"name": "getCurrentDesignSystem",
|
|
1133
|
-
"module": "src/design-system/design-system.ts"
|
|
1134
|
-
}
|
|
1135
|
-
},
|
|
1136
|
-
{
|
|
1137
|
-
"kind": "js",
|
|
1138
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
1197
|
+
"name": "*",
|
|
1139
1198
|
"declaration": {
|
|
1140
|
-
"name": "
|
|
1141
|
-
"
|
|
1199
|
+
"name": "*",
|
|
1200
|
+
"package": "./renderOnChange"
|
|
1142
1201
|
}
|
|
1143
1202
|
}
|
|
1144
1203
|
]
|
|
1145
1204
|
},
|
|
1146
1205
|
{
|
|
1147
1206
|
"kind": "javascript-module",
|
|
1148
|
-
"path": "src/
|
|
1207
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
1149
1208
|
"declarations": [
|
|
1150
|
-
{
|
|
1151
|
-
"kind": "variable",
|
|
1152
|
-
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
1153
|
-
"type": {
|
|
1154
|
-
"text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
|
|
1155
|
-
},
|
|
1156
|
-
"default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
|
|
1157
|
-
"description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
|
|
1158
|
-
},
|
|
1159
|
-
{
|
|
1160
|
-
"kind": "variable",
|
|
1161
|
-
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
1162
|
-
"type": {
|
|
1163
|
-
"text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
|
|
1164
|
-
},
|
|
1165
|
-
"default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
|
|
1166
|
-
"description": "Design-system specific editable host selectors."
|
|
1167
|
-
},
|
|
1168
1209
|
{
|
|
1169
1210
|
"kind": "function",
|
|
1170
|
-
"name": "
|
|
1171
|
-
"return": {
|
|
1172
|
-
"type": {
|
|
1173
|
-
"text": "string"
|
|
1174
|
-
}
|
|
1175
|
-
},
|
|
1211
|
+
"name": "renderOnChange",
|
|
1176
1212
|
"parameters": [
|
|
1177
1213
|
{
|
|
1178
|
-
"name": "
|
|
1214
|
+
"name": "target",
|
|
1179
1215
|
"type": {
|
|
1180
|
-
"text": "
|
|
1181
|
-
}
|
|
1216
|
+
"text": "FASTElement & { render(): void }"
|
|
1217
|
+
},
|
|
1218
|
+
"description": "The target to define the property change handler on."
|
|
1182
1219
|
},
|
|
1183
1220
|
{
|
|
1184
|
-
"name": "
|
|
1185
|
-
"default": "[]",
|
|
1221
|
+
"name": "name",
|
|
1186
1222
|
"type": {
|
|
1187
|
-
"text": "
|
|
1188
|
-
}
|
|
1223
|
+
"text": "string"
|
|
1224
|
+
},
|
|
1225
|
+
"description": "The property name."
|
|
1189
1226
|
}
|
|
1190
|
-
]
|
|
1227
|
+
],
|
|
1228
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
1229
|
+
"privacy": "public"
|
|
1191
1230
|
}
|
|
1192
1231
|
],
|
|
1193
1232
|
"exports": [
|
|
1194
1233
|
{
|
|
1195
1234
|
"kind": "js",
|
|
1196
|
-
"name": "
|
|
1197
|
-
"declaration": {
|
|
1198
|
-
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
1199
|
-
"module": "src/design-system/editable-elements.ts"
|
|
1200
|
-
}
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
"kind": "js",
|
|
1204
|
-
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
1205
|
-
"declaration": {
|
|
1206
|
-
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
1207
|
-
"module": "src/design-system/editable-elements.ts"
|
|
1208
|
-
}
|
|
1209
|
-
},
|
|
1210
|
-
{
|
|
1211
|
-
"kind": "js",
|
|
1212
|
-
"name": "buildEditableElementSelector",
|
|
1213
|
-
"declaration": {
|
|
1214
|
-
"name": "buildEditableElementSelector",
|
|
1215
|
-
"module": "src/design-system/editable-elements.ts"
|
|
1216
|
-
}
|
|
1217
|
-
}
|
|
1218
|
-
]
|
|
1219
|
-
},
|
|
1220
|
-
{
|
|
1221
|
-
"kind": "javascript-module",
|
|
1222
|
-
"path": "src/design-system/index.ts",
|
|
1223
|
-
"declarations": [],
|
|
1224
|
-
"exports": [
|
|
1225
|
-
{
|
|
1226
|
-
"kind": "js",
|
|
1227
|
-
"name": "*",
|
|
1228
|
-
"declaration": {
|
|
1229
|
-
"name": "*",
|
|
1230
|
-
"package": "./design-system"
|
|
1231
|
-
}
|
|
1232
|
-
},
|
|
1233
|
-
{
|
|
1234
|
-
"kind": "js",
|
|
1235
|
-
"name": "*",
|
|
1235
|
+
"name": "renderOnChange",
|
|
1236
1236
|
"declaration": {
|
|
1237
|
-
"name": "
|
|
1238
|
-
"
|
|
1237
|
+
"name": "renderOnChange",
|
|
1238
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
1239
1239
|
}
|
|
1240
1240
|
}
|
|
1241
1241
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-utils",
|
|
3
3
|
"description": "Genesis Foundation Utils",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.11.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@genesislcap/foundation-testing": "15.
|
|
33
|
-
"@genesislcap/genx": "15.
|
|
34
|
-
"@genesislcap/rollup-builder": "15.
|
|
35
|
-
"@genesislcap/ts-builder": "15.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
37
|
-
"@genesislcap/vite-builder": "15.
|
|
38
|
-
"@genesislcap/webpack-builder": "15.
|
|
32
|
+
"@genesislcap/foundation-testing": "15.11.0",
|
|
33
|
+
"@genesislcap/genx": "15.11.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "15.11.0",
|
|
35
|
+
"@genesislcap/ts-builder": "15.11.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "15.11.0",
|
|
37
|
+
"@genesislcap/vite-builder": "15.11.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "15.11.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "15.
|
|
43
|
-
"@genesislcap/foundation-logger": "15.
|
|
42
|
+
"@genesislcap/expression-builder": "15.11.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "15.11.0",
|
|
44
44
|
"@microsoft/fast-components": "2.30.6",
|
|
45
45
|
"@microsoft/fast-element": "1.14.0",
|
|
46
46
|
"@microsoft/fast-foundation": "2.50.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
},
|
|
71
71
|
"./package.json": "./package.json"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "261d900881ea1ca2b613033af497ffd449868eb0"
|
|
74
74
|
}
|