@genesislcap/foundation-utils 14.472.1 → 14.473.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 +307 -307
- package/package.json +11 -11
|
@@ -250,284 +250,6 @@
|
|
|
250
250
|
}
|
|
251
251
|
]
|
|
252
252
|
},
|
|
253
|
-
{
|
|
254
|
-
"kind": "javascript-module",
|
|
255
|
-
"path": "src/design-system/design-system.ts",
|
|
256
|
-
"declarations": [
|
|
257
|
-
{
|
|
258
|
-
"kind": "function",
|
|
259
|
-
"name": "assureDesignSystem",
|
|
260
|
-
"return": {
|
|
261
|
-
"type": {
|
|
262
|
-
"text": "DesignSystemModule"
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
"parameters": [
|
|
266
|
-
{
|
|
267
|
-
"name": "module",
|
|
268
|
-
"type": {
|
|
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": [
|
|
285
|
-
{
|
|
286
|
-
"name": "element",
|
|
287
|
-
"type": {
|
|
288
|
-
"text": "HTMLElement"
|
|
289
|
-
},
|
|
290
|
-
"description": "The starting HTML element"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"name": "fallbackPrefix",
|
|
294
|
-
"type": {
|
|
295
|
-
"text": "string"
|
|
296
|
-
},
|
|
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": [
|
|
312
|
-
{
|
|
313
|
-
"name": "element",
|
|
314
|
-
"type": {
|
|
315
|
-
"text": "HTMLElement"
|
|
316
|
-
},
|
|
317
|
-
"description": "The starting HTML element"
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"name": "fallbackPrefix",
|
|
321
|
-
"type": {
|
|
322
|
-
"text": "string"
|
|
323
|
-
},
|
|
324
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
325
|
-
}
|
|
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"
|
|
329
|
-
}
|
|
330
|
-
],
|
|
331
|
-
"exports": [
|
|
332
|
-
{
|
|
333
|
-
"kind": "js",
|
|
334
|
-
"name": "assureDesignSystem",
|
|
335
|
-
"declaration": {
|
|
336
|
-
"name": "assureDesignSystem",
|
|
337
|
-
"module": "src/design-system/design-system.ts"
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
"kind": "js",
|
|
342
|
-
"name": "getCurrentDesignSystem",
|
|
343
|
-
"declaration": {
|
|
344
|
-
"name": "getCurrentDesignSystem",
|
|
345
|
-
"module": "src/design-system/design-system.ts"
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"kind": "js",
|
|
350
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
351
|
-
"declaration": {
|
|
352
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
353
|
-
"module": "src/design-system/design-system.ts"
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
]
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"kind": "javascript-module",
|
|
360
|
-
"path": "src/design-system/editable-elements.ts",
|
|
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
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"kind": "function",
|
|
382
|
-
"name": "buildEditableElementSelector",
|
|
383
|
-
"return": {
|
|
384
|
-
"type": {
|
|
385
|
-
"text": "string"
|
|
386
|
-
}
|
|
387
|
-
},
|
|
388
|
-
"parameters": [
|
|
389
|
-
{
|
|
390
|
-
"name": "designSystems",
|
|
391
|
-
"type": {
|
|
392
|
-
"text": "readonly EditableDesignSystemPrefix[]"
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
"name": "customEditableSelectors",
|
|
397
|
-
"default": "[]",
|
|
398
|
-
"type": {
|
|
399
|
-
"text": "readonly string[]"
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
]
|
|
403
|
-
}
|
|
404
|
-
],
|
|
405
|
-
"exports": [
|
|
406
|
-
{
|
|
407
|
-
"kind": "js",
|
|
408
|
-
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
409
|
-
"declaration": {
|
|
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"
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
]
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"kind": "javascript-module",
|
|
457
|
-
"path": "src/decorators/index.ts",
|
|
458
|
-
"declarations": [],
|
|
459
|
-
"exports": [
|
|
460
|
-
{
|
|
461
|
-
"kind": "js",
|
|
462
|
-
"name": "*",
|
|
463
|
-
"declaration": {
|
|
464
|
-
"name": "*",
|
|
465
|
-
"package": "./renderOnChange"
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
]
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
"kind": "javascript-module",
|
|
472
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
473
|
-
"declarations": [
|
|
474
|
-
{
|
|
475
|
-
"kind": "function",
|
|
476
|
-
"name": "renderOnChange",
|
|
477
|
-
"parameters": [
|
|
478
|
-
{
|
|
479
|
-
"name": "target",
|
|
480
|
-
"type": {
|
|
481
|
-
"text": "FASTElement & { render(): void }"
|
|
482
|
-
},
|
|
483
|
-
"description": "The target to define the property change handler on."
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"name": "name",
|
|
487
|
-
"type": {
|
|
488
|
-
"text": "string"
|
|
489
|
-
},
|
|
490
|
-
"description": "The property name."
|
|
491
|
-
}
|
|
492
|
-
],
|
|
493
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
494
|
-
"privacy": "public"
|
|
495
|
-
}
|
|
496
|
-
],
|
|
497
|
-
"exports": [
|
|
498
|
-
{
|
|
499
|
-
"kind": "js",
|
|
500
|
-
"name": "renderOnChange",
|
|
501
|
-
"declaration": {
|
|
502
|
-
"name": "renderOnChange",
|
|
503
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
]
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
"kind": "javascript-module",
|
|
510
|
-
"path": "src/directives/index.ts",
|
|
511
|
-
"declarations": [],
|
|
512
|
-
"exports": [
|
|
513
|
-
{
|
|
514
|
-
"kind": "js",
|
|
515
|
-
"name": "*",
|
|
516
|
-
"declaration": {
|
|
517
|
-
"name": "*",
|
|
518
|
-
"package": "./sync"
|
|
519
|
-
}
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"kind": "js",
|
|
523
|
-
"name": "*",
|
|
524
|
-
"declaration": {
|
|
525
|
-
"name": "*",
|
|
526
|
-
"package": "./when-else"
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
]
|
|
530
|
-
},
|
|
531
253
|
{
|
|
532
254
|
"kind": "javascript-module",
|
|
533
255
|
"path": "src/data/inMemoryDatabase.ts",
|
|
@@ -670,50 +392,118 @@
|
|
|
670
392
|
"text": "() => void"
|
|
671
393
|
}
|
|
672
394
|
},
|
|
673
|
-
"parameters": [
|
|
674
|
-
{
|
|
675
|
-
"name": "listener",
|
|
676
|
-
"type": {
|
|
677
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
]
|
|
395
|
+
"parameters": [
|
|
396
|
+
{
|
|
397
|
+
"name": "listener",
|
|
398
|
+
"type": {
|
|
399
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
]
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"kind": "method",
|
|
406
|
+
"name": "onAfterUpdate",
|
|
407
|
+
"privacy": "public",
|
|
408
|
+
"return": {
|
|
409
|
+
"type": {
|
|
410
|
+
"text": "() => void"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"parameters": [
|
|
414
|
+
{
|
|
415
|
+
"name": "listener",
|
|
416
|
+
"type": {
|
|
417
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
}
|
|
422
|
+
]
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
"exports": [
|
|
426
|
+
{
|
|
427
|
+
"kind": "js",
|
|
428
|
+
"name": "InMemoryDatabase",
|
|
429
|
+
"declaration": {
|
|
430
|
+
"name": "InMemoryDatabase",
|
|
431
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"kind": "javascript-module",
|
|
438
|
+
"path": "src/data/index.ts",
|
|
439
|
+
"declarations": [],
|
|
440
|
+
"exports": [
|
|
441
|
+
{
|
|
442
|
+
"kind": "js",
|
|
443
|
+
"name": "*",
|
|
444
|
+
"declaration": {
|
|
445
|
+
"name": "*",
|
|
446
|
+
"package": "./inMemoryDatabase"
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
]
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"kind": "javascript-module",
|
|
453
|
+
"path": "src/decorators/index.ts",
|
|
454
|
+
"declarations": [],
|
|
455
|
+
"exports": [
|
|
456
|
+
{
|
|
457
|
+
"kind": "js",
|
|
458
|
+
"name": "*",
|
|
459
|
+
"declaration": {
|
|
460
|
+
"name": "*",
|
|
461
|
+
"package": "./renderOnChange"
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
]
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"kind": "javascript-module",
|
|
468
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
469
|
+
"declarations": [
|
|
470
|
+
{
|
|
471
|
+
"kind": "function",
|
|
472
|
+
"name": "renderOnChange",
|
|
473
|
+
"parameters": [
|
|
474
|
+
{
|
|
475
|
+
"name": "target",
|
|
476
|
+
"type": {
|
|
477
|
+
"text": "FASTElement & { render(): void }"
|
|
478
|
+
},
|
|
479
|
+
"description": "The target to define the property change handler on."
|
|
681
480
|
},
|
|
682
481
|
{
|
|
683
|
-
"
|
|
684
|
-
"
|
|
685
|
-
|
|
686
|
-
"return": {
|
|
687
|
-
"type": {
|
|
688
|
-
"text": "() => void"
|
|
689
|
-
}
|
|
482
|
+
"name": "name",
|
|
483
|
+
"type": {
|
|
484
|
+
"text": "string"
|
|
690
485
|
},
|
|
691
|
-
"
|
|
692
|
-
{
|
|
693
|
-
"name": "listener",
|
|
694
|
-
"type": {
|
|
695
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
]
|
|
486
|
+
"description": "The property name."
|
|
699
487
|
}
|
|
700
|
-
]
|
|
488
|
+
],
|
|
489
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
490
|
+
"privacy": "public"
|
|
701
491
|
}
|
|
702
492
|
],
|
|
703
493
|
"exports": [
|
|
704
494
|
{
|
|
705
495
|
"kind": "js",
|
|
706
|
-
"name": "
|
|
496
|
+
"name": "renderOnChange",
|
|
707
497
|
"declaration": {
|
|
708
|
-
"name": "
|
|
709
|
-
"module": "src/
|
|
498
|
+
"name": "renderOnChange",
|
|
499
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
710
500
|
}
|
|
711
501
|
}
|
|
712
502
|
]
|
|
713
503
|
},
|
|
714
504
|
{
|
|
715
505
|
"kind": "javascript-module",
|
|
716
|
-
"path": "src/
|
|
506
|
+
"path": "src/directives/index.ts",
|
|
717
507
|
"declarations": [],
|
|
718
508
|
"exports": [
|
|
719
509
|
{
|
|
@@ -721,7 +511,15 @@
|
|
|
721
511
|
"name": "*",
|
|
722
512
|
"declaration": {
|
|
723
513
|
"name": "*",
|
|
724
|
-
"package": "./
|
|
514
|
+
"package": "./sync"
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"kind": "js",
|
|
519
|
+
"name": "*",
|
|
520
|
+
"declaration": {
|
|
521
|
+
"name": "*",
|
|
522
|
+
"package": "./when-else"
|
|
725
523
|
}
|
|
726
524
|
}
|
|
727
525
|
]
|
|
@@ -1216,6 +1014,208 @@
|
|
|
1216
1014
|
}
|
|
1217
1015
|
]
|
|
1218
1016
|
},
|
|
1017
|
+
{
|
|
1018
|
+
"kind": "javascript-module",
|
|
1019
|
+
"path": "src/design-system/design-system.ts",
|
|
1020
|
+
"declarations": [
|
|
1021
|
+
{
|
|
1022
|
+
"kind": "function",
|
|
1023
|
+
"name": "assureDesignSystem",
|
|
1024
|
+
"return": {
|
|
1025
|
+
"type": {
|
|
1026
|
+
"text": "DesignSystemModule"
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
"parameters": [
|
|
1030
|
+
{
|
|
1031
|
+
"name": "module",
|
|
1032
|
+
"type": {
|
|
1033
|
+
"text": "DesignSystemModule"
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
],
|
|
1037
|
+
"description": "assureDesignSystem.",
|
|
1038
|
+
"privacy": "public"
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"kind": "function",
|
|
1042
|
+
"name": "getCurrentDesignSystem",
|
|
1043
|
+
"return": {
|
|
1044
|
+
"type": {
|
|
1045
|
+
"text": ""
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
"parameters": [
|
|
1049
|
+
{
|
|
1050
|
+
"name": "element",
|
|
1051
|
+
"type": {
|
|
1052
|
+
"text": "HTMLElement"
|
|
1053
|
+
},
|
|
1054
|
+
"description": "The starting HTML element"
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"name": "fallbackPrefix",
|
|
1058
|
+
"type": {
|
|
1059
|
+
"text": "string"
|
|
1060
|
+
},
|
|
1061
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
1062
|
+
}
|
|
1063
|
+
],
|
|
1064
|
+
"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.",
|
|
1065
|
+
"privacy": "public"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"kind": "function",
|
|
1069
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
1070
|
+
"return": {
|
|
1071
|
+
"type": {
|
|
1072
|
+
"text": ""
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"parameters": [
|
|
1076
|
+
{
|
|
1077
|
+
"name": "element",
|
|
1078
|
+
"type": {
|
|
1079
|
+
"text": "HTMLElement"
|
|
1080
|
+
},
|
|
1081
|
+
"description": "The starting HTML element"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"name": "fallbackPrefix",
|
|
1085
|
+
"type": {
|
|
1086
|
+
"text": "string"
|
|
1087
|
+
},
|
|
1088
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
1089
|
+
}
|
|
1090
|
+
],
|
|
1091
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
1092
|
+
"privacy": "public"
|
|
1093
|
+
}
|
|
1094
|
+
],
|
|
1095
|
+
"exports": [
|
|
1096
|
+
{
|
|
1097
|
+
"kind": "js",
|
|
1098
|
+
"name": "assureDesignSystem",
|
|
1099
|
+
"declaration": {
|
|
1100
|
+
"name": "assureDesignSystem",
|
|
1101
|
+
"module": "src/design-system/design-system.ts"
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"kind": "js",
|
|
1106
|
+
"name": "getCurrentDesignSystem",
|
|
1107
|
+
"declaration": {
|
|
1108
|
+
"name": "getCurrentDesignSystem",
|
|
1109
|
+
"module": "src/design-system/design-system.ts"
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"kind": "js",
|
|
1114
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
1115
|
+
"declaration": {
|
|
1116
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
1117
|
+
"module": "src/design-system/design-system.ts"
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
]
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"kind": "javascript-module",
|
|
1124
|
+
"path": "src/design-system/editable-elements.ts",
|
|
1125
|
+
"declarations": [
|
|
1126
|
+
{
|
|
1127
|
+
"kind": "variable",
|
|
1128
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
1129
|
+
"type": {
|
|
1130
|
+
"text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
|
|
1131
|
+
},
|
|
1132
|
+
"default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
|
|
1133
|
+
"description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"kind": "variable",
|
|
1137
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
1138
|
+
"type": {
|
|
1139
|
+
"text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
|
|
1140
|
+
},
|
|
1141
|
+
"default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
|
|
1142
|
+
"description": "Design-system specific editable host selectors."
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"kind": "function",
|
|
1146
|
+
"name": "buildEditableElementSelector",
|
|
1147
|
+
"return": {
|
|
1148
|
+
"type": {
|
|
1149
|
+
"text": "string"
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
"parameters": [
|
|
1153
|
+
{
|
|
1154
|
+
"name": "designSystems",
|
|
1155
|
+
"type": {
|
|
1156
|
+
"text": "readonly EditableDesignSystemPrefix[]"
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
"name": "customEditableSelectors",
|
|
1161
|
+
"default": "[]",
|
|
1162
|
+
"type": {
|
|
1163
|
+
"text": "readonly string[]"
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
]
|
|
1167
|
+
}
|
|
1168
|
+
],
|
|
1169
|
+
"exports": [
|
|
1170
|
+
{
|
|
1171
|
+
"kind": "js",
|
|
1172
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
1173
|
+
"declaration": {
|
|
1174
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
1175
|
+
"module": "src/design-system/editable-elements.ts"
|
|
1176
|
+
}
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"kind": "js",
|
|
1180
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
1181
|
+
"declaration": {
|
|
1182
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
1183
|
+
"module": "src/design-system/editable-elements.ts"
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"kind": "js",
|
|
1188
|
+
"name": "buildEditableElementSelector",
|
|
1189
|
+
"declaration": {
|
|
1190
|
+
"name": "buildEditableElementSelector",
|
|
1191
|
+
"module": "src/design-system/editable-elements.ts"
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
]
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"kind": "javascript-module",
|
|
1198
|
+
"path": "src/design-system/index.ts",
|
|
1199
|
+
"declarations": [],
|
|
1200
|
+
"exports": [
|
|
1201
|
+
{
|
|
1202
|
+
"kind": "js",
|
|
1203
|
+
"name": "*",
|
|
1204
|
+
"declaration": {
|
|
1205
|
+
"name": "*",
|
|
1206
|
+
"package": "./design-system"
|
|
1207
|
+
}
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"kind": "js",
|
|
1211
|
+
"name": "*",
|
|
1212
|
+
"declaration": {
|
|
1213
|
+
"name": "*",
|
|
1214
|
+
"package": "./editable-elements"
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
]
|
|
1218
|
+
},
|
|
1219
1219
|
{
|
|
1220
1220
|
"kind": "javascript-module",
|
|
1221
1221
|
"path": "src/error/errorMap.ts",
|
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.473.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": "14.
|
|
33
|
-
"@genesislcap/genx": "14.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.
|
|
35
|
-
"@genesislcap/ts-builder": "14.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
37
|
-
"@genesislcap/vite-builder": "14.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.473.0",
|
|
33
|
+
"@genesislcap/genx": "14.473.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.473.0",
|
|
35
|
+
"@genesislcap/ts-builder": "14.473.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.473.0",
|
|
37
|
+
"@genesislcap/vite-builder": "14.473.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.473.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.
|
|
42
|
+
"@genesislcap/expression-builder": "14.473.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.473.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",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"customElements": "dist/custom-elements.json",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "2408f54cd71e4fe715ab6cbb43b6fd16ec2b733e"
|
|
62
62
|
}
|