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