@genesislcap/foundation-utils 15.35.1-GH-2547.1 → 16.0.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 +333 -333
- package/package.json +10 -10
|
@@ -211,48 +211,186 @@
|
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
"kind": "javascript-module",
|
|
214
|
-
"path": "src/
|
|
215
|
-
"declarations": [
|
|
214
|
+
"path": "src/design-system/design-system.ts",
|
|
215
|
+
"declarations": [
|
|
216
|
+
{
|
|
217
|
+
"kind": "function",
|
|
218
|
+
"name": "assureDesignSystem",
|
|
219
|
+
"return": {
|
|
220
|
+
"type": {
|
|
221
|
+
"text": "DesignSystemModule"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"parameters": [
|
|
225
|
+
{
|
|
226
|
+
"name": "module",
|
|
227
|
+
"type": {
|
|
228
|
+
"text": "DesignSystemModule"
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"description": "assureDesignSystem.",
|
|
233
|
+
"privacy": "public"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"kind": "function",
|
|
237
|
+
"name": "getCurrentDesignSystem",
|
|
238
|
+
"return": {
|
|
239
|
+
"type": {
|
|
240
|
+
"text": ""
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"parameters": [
|
|
244
|
+
{
|
|
245
|
+
"name": "element",
|
|
246
|
+
"type": {
|
|
247
|
+
"text": "HTMLElement"
|
|
248
|
+
},
|
|
249
|
+
"description": "The starting HTML element"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "fallbackPrefix",
|
|
253
|
+
"type": {
|
|
254
|
+
"text": "string"
|
|
255
|
+
},
|
|
256
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"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.",
|
|
260
|
+
"privacy": "public"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"kind": "function",
|
|
264
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
265
|
+
"return": {
|
|
266
|
+
"type": {
|
|
267
|
+
"text": ""
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"parameters": [
|
|
271
|
+
{
|
|
272
|
+
"name": "element",
|
|
273
|
+
"type": {
|
|
274
|
+
"text": "HTMLElement"
|
|
275
|
+
},
|
|
276
|
+
"description": "The starting HTML element"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "fallbackPrefix",
|
|
280
|
+
"type": {
|
|
281
|
+
"text": "string"
|
|
282
|
+
},
|
|
283
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
287
|
+
"privacy": "public"
|
|
288
|
+
}
|
|
289
|
+
],
|
|
216
290
|
"exports": [
|
|
217
291
|
{
|
|
218
292
|
"kind": "js",
|
|
219
|
-
"name": "
|
|
293
|
+
"name": "assureDesignSystem",
|
|
220
294
|
"declaration": {
|
|
221
|
-
"name": "
|
|
222
|
-
"
|
|
295
|
+
"name": "assureDesignSystem",
|
|
296
|
+
"module": "src/design-system/design-system.ts"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"kind": "js",
|
|
301
|
+
"name": "getCurrentDesignSystem",
|
|
302
|
+
"declaration": {
|
|
303
|
+
"name": "getCurrentDesignSystem",
|
|
304
|
+
"module": "src/design-system/design-system.ts"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"kind": "js",
|
|
309
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
310
|
+
"declaration": {
|
|
311
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
312
|
+
"module": "src/design-system/design-system.ts"
|
|
223
313
|
}
|
|
224
314
|
}
|
|
225
315
|
]
|
|
226
316
|
},
|
|
227
317
|
{
|
|
228
318
|
"kind": "javascript-module",
|
|
229
|
-
"path": "src/
|
|
319
|
+
"path": "src/design-system/editable-elements.ts",
|
|
230
320
|
"declarations": [
|
|
231
321
|
{
|
|
232
322
|
"kind": "variable",
|
|
233
|
-
"name": "
|
|
323
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
234
324
|
"type": {
|
|
235
|
-
"text": "
|
|
325
|
+
"text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
|
|
236
326
|
},
|
|
237
|
-
"default": "
|
|
238
|
-
"description": "
|
|
239
|
-
|
|
327
|
+
"default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
|
|
328
|
+
"description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"kind": "variable",
|
|
332
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
333
|
+
"type": {
|
|
334
|
+
"text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
|
|
335
|
+
},
|
|
336
|
+
"default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
|
|
337
|
+
"description": "Design-system specific editable host selectors."
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"kind": "function",
|
|
341
|
+
"name": "buildEditableElementSelector",
|
|
342
|
+
"return": {
|
|
343
|
+
"type": {
|
|
344
|
+
"text": "string"
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
"parameters": [
|
|
348
|
+
{
|
|
349
|
+
"name": "designSystems",
|
|
350
|
+
"type": {
|
|
351
|
+
"text": "readonly EditableDesignSystemPrefix[]"
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "customEditableSelectors",
|
|
356
|
+
"default": "[]",
|
|
357
|
+
"type": {
|
|
358
|
+
"text": "readonly string[]"
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
]
|
|
240
362
|
}
|
|
241
363
|
],
|
|
242
364
|
"exports": [
|
|
243
365
|
{
|
|
244
366
|
"kind": "js",
|
|
245
|
-
"name": "
|
|
367
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
246
368
|
"declaration": {
|
|
247
|
-
"name": "
|
|
248
|
-
"module": "src/
|
|
369
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
370
|
+
"module": "src/design-system/editable-elements.ts"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"kind": "js",
|
|
375
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
376
|
+
"declaration": {
|
|
377
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
378
|
+
"module": "src/design-system/editable-elements.ts"
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"kind": "js",
|
|
383
|
+
"name": "buildEditableElementSelector",
|
|
384
|
+
"declaration": {
|
|
385
|
+
"name": "buildEditableElementSelector",
|
|
386
|
+
"module": "src/design-system/editable-elements.ts"
|
|
249
387
|
}
|
|
250
388
|
}
|
|
251
389
|
]
|
|
252
390
|
},
|
|
253
391
|
{
|
|
254
392
|
"kind": "javascript-module",
|
|
255
|
-
"path": "src/
|
|
393
|
+
"path": "src/design-system/index.ts",
|
|
256
394
|
"declarations": [],
|
|
257
395
|
"exports": [
|
|
258
396
|
{
|
|
@@ -260,45 +398,94 @@
|
|
|
260
398
|
"name": "*",
|
|
261
399
|
"declaration": {
|
|
262
400
|
"name": "*",
|
|
263
|
-
"package": "./
|
|
401
|
+
"package": "./design-system"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"kind": "js",
|
|
406
|
+
"name": "*",
|
|
407
|
+
"declaration": {
|
|
408
|
+
"name": "*",
|
|
409
|
+
"package": "./editable-elements"
|
|
264
410
|
}
|
|
265
411
|
}
|
|
266
412
|
]
|
|
267
413
|
},
|
|
268
414
|
{
|
|
269
415
|
"kind": "javascript-module",
|
|
270
|
-
"path": "src/
|
|
416
|
+
"path": "src/directives/index.ts",
|
|
417
|
+
"declarations": [],
|
|
418
|
+
"exports": [
|
|
419
|
+
{
|
|
420
|
+
"kind": "js",
|
|
421
|
+
"name": "*",
|
|
422
|
+
"declaration": {
|
|
423
|
+
"name": "*",
|
|
424
|
+
"package": "./sync"
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"kind": "js",
|
|
429
|
+
"name": "*",
|
|
430
|
+
"declaration": {
|
|
431
|
+
"name": "*",
|
|
432
|
+
"package": "./when-else"
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
]
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"kind": "javascript-module",
|
|
439
|
+
"path": "src/encoding/index.ts",
|
|
440
|
+
"declarations": [],
|
|
441
|
+
"exports": [
|
|
442
|
+
{
|
|
443
|
+
"kind": "js",
|
|
444
|
+
"name": "*",
|
|
445
|
+
"declaration": {
|
|
446
|
+
"name": "*",
|
|
447
|
+
"package": "./base64"
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
]
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"kind": "javascript-module",
|
|
454
|
+
"path": "src/converters/index.ts",
|
|
455
|
+
"declarations": [],
|
|
456
|
+
"exports": [
|
|
457
|
+
{
|
|
458
|
+
"kind": "js",
|
|
459
|
+
"name": "*",
|
|
460
|
+
"declaration": {
|
|
461
|
+
"name": "*",
|
|
462
|
+
"package": "./string-array-converter"
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
]
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"kind": "javascript-module",
|
|
469
|
+
"path": "src/converters/string-array-converter.ts",
|
|
271
470
|
"declarations": [
|
|
272
471
|
{
|
|
273
|
-
"kind": "
|
|
274
|
-
"name": "
|
|
275
|
-
"
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
},
|
|
281
|
-
"description": "The target to define the property change handler on."
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"name": "name",
|
|
285
|
-
"type": {
|
|
286
|
-
"text": "string"
|
|
287
|
-
},
|
|
288
|
-
"description": "The property name."
|
|
289
|
-
}
|
|
290
|
-
],
|
|
291
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
472
|
+
"kind": "variable",
|
|
473
|
+
"name": "stringArrayConverter",
|
|
474
|
+
"type": {
|
|
475
|
+
"text": "ValueConverter"
|
|
476
|
+
},
|
|
477
|
+
"default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
|
|
478
|
+
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
292
479
|
"privacy": "public"
|
|
293
480
|
}
|
|
294
481
|
],
|
|
295
482
|
"exports": [
|
|
296
483
|
{
|
|
297
484
|
"kind": "js",
|
|
298
|
-
"name": "
|
|
485
|
+
"name": "stringArrayConverter",
|
|
299
486
|
"declaration": {
|
|
300
|
-
"name": "
|
|
301
|
-
"module": "src/
|
|
487
|
+
"name": "stringArrayConverter",
|
|
488
|
+
"module": "src/converters/string-array-converter.ts"
|
|
302
489
|
}
|
|
303
490
|
}
|
|
304
491
|
]
|
|
@@ -415,240 +602,62 @@
|
|
|
415
602
|
"type": {
|
|
416
603
|
"text": "string"
|
|
417
604
|
}
|
|
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
|
-
]
|
|
474
|
-
}
|
|
475
|
-
]
|
|
476
|
-
}
|
|
477
|
-
],
|
|
478
|
-
"exports": [
|
|
479
|
-
{
|
|
480
|
-
"kind": "js",
|
|
481
|
-
"name": "InMemoryDatabase",
|
|
482
|
-
"declaration": {
|
|
483
|
-
"name": "InMemoryDatabase",
|
|
484
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
]
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"kind": "javascript-module",
|
|
491
|
-
"path": "src/data/index.ts",
|
|
492
|
-
"declarations": [],
|
|
493
|
-
"exports": [
|
|
494
|
-
{
|
|
495
|
-
"kind": "js",
|
|
496
|
-
"name": "*",
|
|
497
|
-
"declaration": {
|
|
498
|
-
"name": "*",
|
|
499
|
-
"package": "./inMemoryDatabase"
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
]
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
"kind": "javascript-module",
|
|
506
|
-
"path": "src/design-system/design-system.ts",
|
|
507
|
-
"declarations": [
|
|
508
|
-
{
|
|
509
|
-
"kind": "function",
|
|
510
|
-
"name": "assureDesignSystem",
|
|
511
|
-
"return": {
|
|
512
|
-
"type": {
|
|
513
|
-
"text": "DesignSystemModule"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
"parameters": [
|
|
517
|
-
{
|
|
518
|
-
"name": "module",
|
|
519
|
-
"type": {
|
|
520
|
-
"text": "DesignSystemModule"
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
],
|
|
524
|
-
"description": "assureDesignSystem.",
|
|
525
|
-
"privacy": "public"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"kind": "function",
|
|
529
|
-
"name": "getCurrentDesignSystem",
|
|
530
|
-
"return": {
|
|
531
|
-
"type": {
|
|
532
|
-
"text": ""
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"parameters": [
|
|
536
|
-
{
|
|
537
|
-
"name": "element",
|
|
538
|
-
"type": {
|
|
539
|
-
"text": "HTMLElement"
|
|
540
|
-
},
|
|
541
|
-
"description": "The starting HTML element"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"name": "fallbackPrefix",
|
|
545
|
-
"type": {
|
|
546
|
-
"text": "string"
|
|
547
|
-
},
|
|
548
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
549
|
-
}
|
|
550
|
-
],
|
|
551
|
-
"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.",
|
|
552
|
-
"privacy": "public"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"kind": "function",
|
|
556
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
557
|
-
"return": {
|
|
558
|
-
"type": {
|
|
559
|
-
"text": ""
|
|
560
|
-
}
|
|
561
|
-
},
|
|
562
|
-
"parameters": [
|
|
605
|
+
}
|
|
606
|
+
]
|
|
607
|
+
},
|
|
563
608
|
{
|
|
564
|
-
"
|
|
565
|
-
"
|
|
566
|
-
|
|
609
|
+
"kind": "method",
|
|
610
|
+
"name": "visit",
|
|
611
|
+
"privacy": "public",
|
|
612
|
+
"return": {
|
|
613
|
+
"type": {
|
|
614
|
+
"text": "Promise<void>"
|
|
615
|
+
}
|
|
567
616
|
},
|
|
568
|
-
"
|
|
617
|
+
"parameters": [
|
|
618
|
+
{
|
|
619
|
+
"name": "visitor",
|
|
620
|
+
"type": {
|
|
621
|
+
"text": "(record: T) => void"
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
]
|
|
569
625
|
},
|
|
570
626
|
{
|
|
571
|
-
"
|
|
572
|
-
"
|
|
573
|
-
|
|
627
|
+
"kind": "method",
|
|
628
|
+
"name": "onBeforeUpdate",
|
|
629
|
+
"privacy": "public",
|
|
630
|
+
"return": {
|
|
631
|
+
"type": {
|
|
632
|
+
"text": "() => void"
|
|
633
|
+
}
|
|
574
634
|
},
|
|
575
|
-
"
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
{
|
|
584
|
-
"kind": "js",
|
|
585
|
-
"name": "assureDesignSystem",
|
|
586
|
-
"declaration": {
|
|
587
|
-
"name": "assureDesignSystem",
|
|
588
|
-
"module": "src/design-system/design-system.ts"
|
|
589
|
-
}
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"kind": "js",
|
|
593
|
-
"name": "getCurrentDesignSystem",
|
|
594
|
-
"declaration": {
|
|
595
|
-
"name": "getCurrentDesignSystem",
|
|
596
|
-
"module": "src/design-system/design-system.ts"
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
"kind": "js",
|
|
601
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
602
|
-
"declaration": {
|
|
603
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
604
|
-
"module": "src/design-system/design-system.ts"
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
]
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
"kind": "javascript-module",
|
|
611
|
-
"path": "src/design-system/editable-elements.ts",
|
|
612
|
-
"declarations": [
|
|
613
|
-
{
|
|
614
|
-
"kind": "variable",
|
|
615
|
-
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
616
|
-
"type": {
|
|
617
|
-
"text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
|
|
618
|
-
},
|
|
619
|
-
"default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
|
|
620
|
-
"description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
"kind": "variable",
|
|
624
|
-
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
625
|
-
"type": {
|
|
626
|
-
"text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
|
|
627
|
-
},
|
|
628
|
-
"default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
|
|
629
|
-
"description": "Design-system specific editable host selectors."
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
"kind": "function",
|
|
633
|
-
"name": "buildEditableElementSelector",
|
|
634
|
-
"return": {
|
|
635
|
-
"type": {
|
|
636
|
-
"text": "string"
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
"parameters": [
|
|
640
|
-
{
|
|
641
|
-
"name": "designSystems",
|
|
642
|
-
"type": {
|
|
643
|
-
"text": "readonly EditableDesignSystemPrefix[]"
|
|
644
|
-
}
|
|
635
|
+
"parameters": [
|
|
636
|
+
{
|
|
637
|
+
"name": "listener",
|
|
638
|
+
"type": {
|
|
639
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
]
|
|
645
643
|
},
|
|
646
644
|
{
|
|
647
|
-
"
|
|
648
|
-
"
|
|
649
|
-
"
|
|
650
|
-
|
|
651
|
-
|
|
645
|
+
"kind": "method",
|
|
646
|
+
"name": "onAfterUpdate",
|
|
647
|
+
"privacy": "public",
|
|
648
|
+
"return": {
|
|
649
|
+
"type": {
|
|
650
|
+
"text": "() => void"
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
"parameters": [
|
|
654
|
+
{
|
|
655
|
+
"name": "listener",
|
|
656
|
+
"type": {
|
|
657
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
]
|
|
652
661
|
}
|
|
653
662
|
]
|
|
654
663
|
}
|
|
@@ -656,79 +665,17 @@
|
|
|
656
665
|
"exports": [
|
|
657
666
|
{
|
|
658
667
|
"kind": "js",
|
|
659
|
-
"name": "
|
|
660
|
-
"declaration": {
|
|
661
|
-
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
662
|
-
"module": "src/design-system/editable-elements.ts"
|
|
663
|
-
}
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
"kind": "js",
|
|
667
|
-
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
668
|
-
"declaration": {
|
|
669
|
-
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
670
|
-
"module": "src/design-system/editable-elements.ts"
|
|
671
|
-
}
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
"kind": "js",
|
|
675
|
-
"name": "buildEditableElementSelector",
|
|
676
|
-
"declaration": {
|
|
677
|
-
"name": "buildEditableElementSelector",
|
|
678
|
-
"module": "src/design-system/editable-elements.ts"
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
]
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
"kind": "javascript-module",
|
|
685
|
-
"path": "src/design-system/index.ts",
|
|
686
|
-
"declarations": [],
|
|
687
|
-
"exports": [
|
|
688
|
-
{
|
|
689
|
-
"kind": "js",
|
|
690
|
-
"name": "*",
|
|
691
|
-
"declaration": {
|
|
692
|
-
"name": "*",
|
|
693
|
-
"package": "./design-system"
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
{
|
|
697
|
-
"kind": "js",
|
|
698
|
-
"name": "*",
|
|
699
|
-
"declaration": {
|
|
700
|
-
"name": "*",
|
|
701
|
-
"package": "./editable-elements"
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
]
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"kind": "javascript-module",
|
|
708
|
-
"path": "src/directives/index.ts",
|
|
709
|
-
"declarations": [],
|
|
710
|
-
"exports": [
|
|
711
|
-
{
|
|
712
|
-
"kind": "js",
|
|
713
|
-
"name": "*",
|
|
714
|
-
"declaration": {
|
|
715
|
-
"name": "*",
|
|
716
|
-
"package": "./sync"
|
|
717
|
-
}
|
|
718
|
-
},
|
|
719
|
-
{
|
|
720
|
-
"kind": "js",
|
|
721
|
-
"name": "*",
|
|
668
|
+
"name": "InMemoryDatabase",
|
|
722
669
|
"declaration": {
|
|
723
|
-
"name": "
|
|
724
|
-
"
|
|
670
|
+
"name": "InMemoryDatabase",
|
|
671
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
725
672
|
}
|
|
726
673
|
}
|
|
727
674
|
]
|
|
728
675
|
},
|
|
729
676
|
{
|
|
730
677
|
"kind": "javascript-module",
|
|
731
|
-
"path": "src/
|
|
678
|
+
"path": "src/data/index.ts",
|
|
732
679
|
"declarations": [],
|
|
733
680
|
"exports": [
|
|
734
681
|
{
|
|
@@ -736,7 +683,7 @@
|
|
|
736
683
|
"name": "*",
|
|
737
684
|
"declaration": {
|
|
738
685
|
"name": "*",
|
|
739
|
-
"package": "./
|
|
686
|
+
"package": "./inMemoryDatabase"
|
|
740
687
|
}
|
|
741
688
|
}
|
|
742
689
|
]
|
|
@@ -1240,6 +1187,59 @@
|
|
|
1240
1187
|
}
|
|
1241
1188
|
]
|
|
1242
1189
|
},
|
|
1190
|
+
{
|
|
1191
|
+
"kind": "javascript-module",
|
|
1192
|
+
"path": "src/decorators/index.ts",
|
|
1193
|
+
"declarations": [],
|
|
1194
|
+
"exports": [
|
|
1195
|
+
{
|
|
1196
|
+
"kind": "js",
|
|
1197
|
+
"name": "*",
|
|
1198
|
+
"declaration": {
|
|
1199
|
+
"name": "*",
|
|
1200
|
+
"package": "./renderOnChange"
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
]
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"kind": "javascript-module",
|
|
1207
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
1208
|
+
"declarations": [
|
|
1209
|
+
{
|
|
1210
|
+
"kind": "function",
|
|
1211
|
+
"name": "renderOnChange",
|
|
1212
|
+
"parameters": [
|
|
1213
|
+
{
|
|
1214
|
+
"name": "target",
|
|
1215
|
+
"type": {
|
|
1216
|
+
"text": "FASTElement & { render(): void }"
|
|
1217
|
+
},
|
|
1218
|
+
"description": "The target to define the property change handler on."
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
"name": "name",
|
|
1222
|
+
"type": {
|
|
1223
|
+
"text": "string"
|
|
1224
|
+
},
|
|
1225
|
+
"description": "The property name."
|
|
1226
|
+
}
|
|
1227
|
+
],
|
|
1228
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
1229
|
+
"privacy": "public"
|
|
1230
|
+
}
|
|
1231
|
+
],
|
|
1232
|
+
"exports": [
|
|
1233
|
+
{
|
|
1234
|
+
"kind": "js",
|
|
1235
|
+
"name": "renderOnChange",
|
|
1236
|
+
"declaration": {
|
|
1237
|
+
"name": "renderOnChange",
|
|
1238
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
]
|
|
1242
|
+
},
|
|
1243
1243
|
{
|
|
1244
1244
|
"kind": "javascript-module",
|
|
1245
1245
|
"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": "
|
|
4
|
+
"version": "16.0.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": "
|
|
33
|
-
"@genesislcap/genx": "
|
|
34
|
-
"@genesislcap/rollup-builder": "
|
|
35
|
-
"@genesislcap/ts-builder": "
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "
|
|
37
|
-
"@genesislcap/vite-builder": "
|
|
38
|
-
"@genesislcap/webpack-builder": "
|
|
32
|
+
"@genesislcap/foundation-testing": "16.0.0",
|
|
33
|
+
"@genesislcap/genx": "16.0.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "16.0.0",
|
|
35
|
+
"@genesislcap/ts-builder": "16.0.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "16.0.0",
|
|
37
|
+
"@genesislcap/vite-builder": "16.0.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "16.0.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "
|
|
43
|
-
"@genesislcap/foundation-logger": "
|
|
42
|
+
"@genesislcap/expression-builder": "16.0.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "16.0.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",
|