@genesislcap/foundation-utils 15.58.1 → 15.59.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 +689 -689
- package/package.json +9 -9
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
"kind": "javascript-module",
|
|
222
|
-
"path": "src/
|
|
222
|
+
"path": "src/converters/index.ts",
|
|
223
223
|
"declarations": [],
|
|
224
224
|
"exports": [
|
|
225
225
|
{
|
|
@@ -227,90 +227,223 @@
|
|
|
227
227
|
"name": "*",
|
|
228
228
|
"declaration": {
|
|
229
229
|
"name": "*",
|
|
230
|
-
"package": "./
|
|
230
|
+
"package": "./string-array-converter"
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
]
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
236
|
"kind": "javascript-module",
|
|
237
|
-
"path": "src/
|
|
237
|
+
"path": "src/converters/string-array-converter.ts",
|
|
238
238
|
"declarations": [
|
|
239
239
|
{
|
|
240
|
-
"kind": "
|
|
241
|
-
"name": "
|
|
242
|
-
"
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
},
|
|
248
|
-
"description": "The target to define the property change handler on."
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"name": "name",
|
|
252
|
-
"type": {
|
|
253
|
-
"text": "string"
|
|
254
|
-
},
|
|
255
|
-
"description": "The property name."
|
|
256
|
-
}
|
|
257
|
-
],
|
|
258
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
240
|
+
"kind": "variable",
|
|
241
|
+
"name": "stringArrayConverter",
|
|
242
|
+
"type": {
|
|
243
|
+
"text": "ValueConverter"
|
|
244
|
+
},
|
|
245
|
+
"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}",
|
|
246
|
+
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
259
247
|
"privacy": "public"
|
|
260
248
|
}
|
|
261
249
|
],
|
|
262
250
|
"exports": [
|
|
263
251
|
{
|
|
264
252
|
"kind": "js",
|
|
265
|
-
"name": "
|
|
253
|
+
"name": "stringArrayConverter",
|
|
266
254
|
"declaration": {
|
|
267
|
-
"name": "
|
|
268
|
-
"module": "src/
|
|
255
|
+
"name": "stringArrayConverter",
|
|
256
|
+
"module": "src/converters/string-array-converter.ts"
|
|
269
257
|
}
|
|
270
258
|
}
|
|
271
259
|
]
|
|
272
260
|
},
|
|
273
261
|
{
|
|
274
262
|
"kind": "javascript-module",
|
|
275
|
-
"path": "src/
|
|
276
|
-
"declarations": [
|
|
277
|
-
"exports": [
|
|
278
|
-
{
|
|
279
|
-
"kind": "js",
|
|
280
|
-
"name": "*",
|
|
281
|
-
"declaration": {
|
|
282
|
-
"name": "*",
|
|
283
|
-
"package": "./sync"
|
|
284
|
-
}
|
|
285
|
-
},
|
|
263
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
264
|
+
"declarations": [
|
|
286
265
|
{
|
|
287
|
-
"kind": "
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
266
|
+
"kind": "class",
|
|
267
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
268
|
+
"name": "InMemoryDatabase",
|
|
269
|
+
"members": [
|
|
270
|
+
{
|
|
271
|
+
"kind": "field",
|
|
272
|
+
"name": "isWorking",
|
|
273
|
+
"type": {
|
|
274
|
+
"text": "boolean"
|
|
275
|
+
},
|
|
276
|
+
"privacy": "public",
|
|
277
|
+
"default": "false"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"kind": "field",
|
|
281
|
+
"name": "records",
|
|
282
|
+
"type": {
|
|
283
|
+
"text": "Record<string, T>"
|
|
284
|
+
},
|
|
285
|
+
"privacy": "private",
|
|
286
|
+
"default": "{}"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"kind": "field",
|
|
290
|
+
"name": "beforeUpdateListeners",
|
|
291
|
+
"privacy": "private"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"kind": "field",
|
|
295
|
+
"name": "afterUpdateListeners",
|
|
296
|
+
"privacy": "private"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"kind": "method",
|
|
300
|
+
"name": "create",
|
|
301
|
+
"privacy": "public",
|
|
302
|
+
"return": {
|
|
303
|
+
"type": {
|
|
304
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"parameters": [
|
|
308
|
+
{
|
|
309
|
+
"name": "newValue",
|
|
310
|
+
"type": {
|
|
311
|
+
"text": "Omit<T, 'id'>"
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
]
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"kind": "method",
|
|
318
|
+
"name": "read",
|
|
319
|
+
"privacy": "public",
|
|
320
|
+
"return": {
|
|
321
|
+
"type": {
|
|
322
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"parameters": [
|
|
326
|
+
{
|
|
327
|
+
"name": "id",
|
|
328
|
+
"type": {
|
|
329
|
+
"text": "string"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
]
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"kind": "method",
|
|
336
|
+
"name": "update",
|
|
337
|
+
"privacy": "public",
|
|
338
|
+
"return": {
|
|
339
|
+
"type": {
|
|
340
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"parameters": [
|
|
344
|
+
{
|
|
345
|
+
"name": "id",
|
|
346
|
+
"type": {
|
|
347
|
+
"text": "string"
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "newValue",
|
|
352
|
+
"type": {
|
|
353
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"kind": "method",
|
|
360
|
+
"name": "delete",
|
|
361
|
+
"privacy": "public",
|
|
362
|
+
"return": {
|
|
363
|
+
"type": {
|
|
364
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"parameters": [
|
|
368
|
+
{
|
|
369
|
+
"name": "id",
|
|
370
|
+
"type": {
|
|
371
|
+
"text": "string"
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"kind": "method",
|
|
378
|
+
"name": "visit",
|
|
379
|
+
"privacy": "public",
|
|
380
|
+
"return": {
|
|
381
|
+
"type": {
|
|
382
|
+
"text": "Promise<void>"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"parameters": [
|
|
386
|
+
{
|
|
387
|
+
"name": "visitor",
|
|
388
|
+
"type": {
|
|
389
|
+
"text": "(record: T) => void"
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
]
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"kind": "method",
|
|
396
|
+
"name": "onBeforeUpdate",
|
|
397
|
+
"privacy": "public",
|
|
398
|
+
"return": {
|
|
399
|
+
"type": {
|
|
400
|
+
"text": "() => void"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"parameters": [
|
|
404
|
+
{
|
|
405
|
+
"name": "listener",
|
|
406
|
+
"type": {
|
|
407
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
]
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"kind": "method",
|
|
414
|
+
"name": "onAfterUpdate",
|
|
415
|
+
"privacy": "public",
|
|
416
|
+
"return": {
|
|
417
|
+
"type": {
|
|
418
|
+
"text": "() => void"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"parameters": [
|
|
422
|
+
{
|
|
423
|
+
"name": "listener",
|
|
424
|
+
"type": {
|
|
425
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
]
|
|
429
|
+
}
|
|
430
|
+
]
|
|
293
431
|
}
|
|
294
|
-
]
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"kind": "javascript-module",
|
|
298
|
-
"path": "src/encoding/index.ts",
|
|
299
|
-
"declarations": [],
|
|
432
|
+
],
|
|
300
433
|
"exports": [
|
|
301
434
|
{
|
|
302
435
|
"kind": "js",
|
|
303
|
-
"name": "
|
|
436
|
+
"name": "InMemoryDatabase",
|
|
304
437
|
"declaration": {
|
|
305
|
-
"name": "
|
|
306
|
-
"
|
|
438
|
+
"name": "InMemoryDatabase",
|
|
439
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
307
440
|
}
|
|
308
441
|
}
|
|
309
442
|
]
|
|
310
443
|
},
|
|
311
444
|
{
|
|
312
445
|
"kind": "javascript-module",
|
|
313
|
-
"path": "src/
|
|
446
|
+
"path": "src/data/index.ts",
|
|
314
447
|
"declarations": [],
|
|
315
448
|
"exports": [
|
|
316
449
|
{
|
|
@@ -318,329 +451,637 @@
|
|
|
318
451
|
"name": "*",
|
|
319
452
|
"declaration": {
|
|
320
453
|
"name": "*",
|
|
321
|
-
"package": "./
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"kind": "js",
|
|
326
|
-
"name": "*",
|
|
327
|
-
"declaration": {
|
|
328
|
-
"name": "*",
|
|
329
|
-
"package": "./variables"
|
|
454
|
+
"package": "./inMemoryDatabase"
|
|
330
455
|
}
|
|
331
456
|
}
|
|
332
457
|
]
|
|
333
458
|
},
|
|
334
459
|
{
|
|
335
460
|
"kind": "javascript-module",
|
|
336
|
-
"path": "src/
|
|
461
|
+
"path": "src/design-system/design-system.ts",
|
|
337
462
|
"declarations": [
|
|
338
463
|
{
|
|
339
464
|
"kind": "function",
|
|
340
|
-
"name": "
|
|
341
|
-
"
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
"exports": [
|
|
346
|
-
{
|
|
347
|
-
"kind": "js",
|
|
348
|
-
"name": "isDev",
|
|
349
|
-
"declaration": {
|
|
350
|
-
"name": "isDev",
|
|
351
|
-
"module": "src/env/is-dev.ts"
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
]
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
"kind": "javascript-module",
|
|
358
|
-
"path": "src/env/variables.ts",
|
|
359
|
-
"declarations": [
|
|
360
|
-
{
|
|
361
|
-
"kind": "variable",
|
|
362
|
-
"name": "BUILDER",
|
|
363
|
-
"type": {
|
|
364
|
-
"text": "string"
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"kind": "variable",
|
|
369
|
-
"name": "_BUILDER",
|
|
370
|
-
"type": {
|
|
371
|
-
"text": "string"
|
|
465
|
+
"name": "assureDesignSystem",
|
|
466
|
+
"return": {
|
|
467
|
+
"type": {
|
|
468
|
+
"text": "DesignSystemModule"
|
|
469
|
+
}
|
|
372
470
|
},
|
|
373
|
-
"
|
|
374
|
-
|
|
471
|
+
"parameters": [
|
|
472
|
+
{
|
|
473
|
+
"name": "module",
|
|
474
|
+
"type": {
|
|
475
|
+
"text": "DesignSystemModule"
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
],
|
|
479
|
+
"description": "assureDesignSystem.",
|
|
375
480
|
"privacy": "public"
|
|
376
481
|
},
|
|
377
482
|
{
|
|
378
|
-
"kind": "
|
|
379
|
-
"name": "
|
|
380
|
-
"
|
|
381
|
-
"
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
{
|
|
385
|
-
"kind": "variable",
|
|
386
|
-
"name": "_PUBLIC_PATH",
|
|
387
|
-
"type": {
|
|
388
|
-
"text": "string"
|
|
483
|
+
"kind": "function",
|
|
484
|
+
"name": "getCurrentDesignSystem",
|
|
485
|
+
"return": {
|
|
486
|
+
"type": {
|
|
487
|
+
"text": ""
|
|
488
|
+
}
|
|
389
489
|
},
|
|
390
|
-
"
|
|
391
|
-
|
|
490
|
+
"parameters": [
|
|
491
|
+
{
|
|
492
|
+
"name": "element",
|
|
493
|
+
"type": {
|
|
494
|
+
"text": "HTMLElement"
|
|
495
|
+
},
|
|
496
|
+
"description": "The starting HTML element"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"name": "fallbackPrefix",
|
|
500
|
+
"type": {
|
|
501
|
+
"text": "string"
|
|
502
|
+
},
|
|
503
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
"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.",
|
|
392
507
|
"privacy": "public"
|
|
393
508
|
},
|
|
394
509
|
{
|
|
395
|
-
"kind": "
|
|
396
|
-
"name": "
|
|
397
|
-
"
|
|
398
|
-
"
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
{
|
|
402
|
-
"kind": "variable",
|
|
403
|
-
"name": "_SOCKET_EXT",
|
|
404
|
-
"type": {
|
|
405
|
-
"text": "string"
|
|
510
|
+
"kind": "function",
|
|
511
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
512
|
+
"return": {
|
|
513
|
+
"type": {
|
|
514
|
+
"text": ""
|
|
515
|
+
}
|
|
406
516
|
},
|
|
407
|
-
"
|
|
408
|
-
|
|
517
|
+
"parameters": [
|
|
518
|
+
{
|
|
519
|
+
"name": "element",
|
|
520
|
+
"type": {
|
|
521
|
+
"text": "HTMLElement"
|
|
522
|
+
},
|
|
523
|
+
"description": "The starting HTML element"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "fallbackPrefix",
|
|
527
|
+
"type": {
|
|
528
|
+
"text": "string"
|
|
529
|
+
},
|
|
530
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
531
|
+
}
|
|
532
|
+
],
|
|
533
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
409
534
|
"privacy": "public"
|
|
410
|
-
}
|
|
535
|
+
}
|
|
536
|
+
],
|
|
537
|
+
"exports": [
|
|
411
538
|
{
|
|
412
|
-
"kind": "
|
|
413
|
-
"name": "
|
|
414
|
-
"
|
|
415
|
-
"
|
|
539
|
+
"kind": "js",
|
|
540
|
+
"name": "assureDesignSystem",
|
|
541
|
+
"declaration": {
|
|
542
|
+
"name": "assureDesignSystem",
|
|
543
|
+
"module": "src/design-system/design-system.ts"
|
|
416
544
|
}
|
|
417
545
|
},
|
|
418
546
|
{
|
|
419
|
-
"kind": "
|
|
420
|
-
"name": "
|
|
421
|
-
"
|
|
422
|
-
"
|
|
423
|
-
|
|
424
|
-
"description": "The path to a JSON config file for the HTTP mode.",
|
|
425
|
-
"privacy": "public"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
"kind": "variable",
|
|
429
|
-
"name": "FORCE_HTTP_REQREP",
|
|
430
|
-
"type": {
|
|
431
|
-
"text": "string"
|
|
547
|
+
"kind": "js",
|
|
548
|
+
"name": "getCurrentDesignSystem",
|
|
549
|
+
"declaration": {
|
|
550
|
+
"name": "getCurrentDesignSystem",
|
|
551
|
+
"module": "src/design-system/design-system.ts"
|
|
432
552
|
}
|
|
433
553
|
},
|
|
434
554
|
{
|
|
435
|
-
"kind": "
|
|
436
|
-
"name": "
|
|
437
|
-
"
|
|
438
|
-
"
|
|
439
|
-
|
|
440
|
-
"description": "When `'true'`, request/reply and event traffic (`request`, `commitEvent`, metadata, schema and\nresources lookups) is sent over HTTP even while the primary connection is a WebSocket.\nStreaming (`stream`/`snapshot`) stays on the socket.",
|
|
441
|
-
"privacy": "public"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"kind": "variable",
|
|
445
|
-
"name": "GENESIS_SOCKET_URL",
|
|
446
|
-
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}${_PUBLIC_PATH}/${_SOCKET_EXT}/`",
|
|
447
|
-
"description": "Genesis Socket URL",
|
|
448
|
-
"privacy": "public"
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"kind": "variable",
|
|
452
|
-
"name": "API_HOST",
|
|
453
|
-
"type": {
|
|
454
|
-
"text": "string"
|
|
555
|
+
"kind": "js",
|
|
556
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
557
|
+
"declaration": {
|
|
558
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
559
|
+
"module": "src/design-system/design-system.ts"
|
|
455
560
|
}
|
|
456
|
-
}
|
|
561
|
+
}
|
|
562
|
+
]
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"kind": "javascript-module",
|
|
566
|
+
"path": "src/design-system/editable-elements.ts",
|
|
567
|
+
"declarations": [
|
|
457
568
|
{
|
|
458
569
|
"kind": "variable",
|
|
459
|
-
"name": "
|
|
570
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
460
571
|
"type": {
|
|
461
|
-
"text": "
|
|
572
|
+
"text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
|
|
462
573
|
},
|
|
463
|
-
"default": "
|
|
464
|
-
"description": "
|
|
465
|
-
"privacy": "public"
|
|
574
|
+
"default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
|
|
575
|
+
"description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
|
|
466
576
|
},
|
|
467
577
|
{
|
|
468
578
|
"kind": "variable",
|
|
469
|
-
"name": "
|
|
579
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
470
580
|
"type": {
|
|
471
|
-
"text": "string"
|
|
472
|
-
}
|
|
581
|
+
"text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
|
|
582
|
+
},
|
|
583
|
+
"default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
|
|
584
|
+
"description": "Design-system specific editable host selectors."
|
|
473
585
|
},
|
|
474
586
|
{
|
|
475
|
-
"kind": "
|
|
476
|
-
"name": "
|
|
477
|
-
"
|
|
478
|
-
"
|
|
587
|
+
"kind": "function",
|
|
588
|
+
"name": "buildEditableElementSelector",
|
|
589
|
+
"return": {
|
|
590
|
+
"type": {
|
|
591
|
+
"text": "string"
|
|
592
|
+
}
|
|
479
593
|
},
|
|
480
|
-
"
|
|
481
|
-
|
|
482
|
-
|
|
594
|
+
"parameters": [
|
|
595
|
+
{
|
|
596
|
+
"name": "designSystems",
|
|
597
|
+
"type": {
|
|
598
|
+
"text": "readonly EditableDesignSystemPrefix[]"
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"name": "customEditableSelectors",
|
|
603
|
+
"default": "[]",
|
|
604
|
+
"type": {
|
|
605
|
+
"text": "readonly string[]"
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
]
|
|
609
|
+
}
|
|
610
|
+
],
|
|
611
|
+
"exports": [
|
|
483
612
|
{
|
|
484
|
-
"kind": "
|
|
485
|
-
"name": "
|
|
486
|
-
"
|
|
487
|
-
"
|
|
613
|
+
"kind": "js",
|
|
614
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
615
|
+
"declaration": {
|
|
616
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
617
|
+
"module": "src/design-system/editable-elements.ts"
|
|
488
618
|
}
|
|
489
619
|
},
|
|
490
620
|
{
|
|
491
|
-
"kind": "
|
|
492
|
-
"name": "
|
|
493
|
-
"
|
|
494
|
-
"
|
|
495
|
-
|
|
496
|
-
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
|
|
497
|
-
"privacy": "public"
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"kind": "variable",
|
|
501
|
-
"name": "DEFAULT_PASSWORD",
|
|
502
|
-
"type": {
|
|
503
|
-
"text": "string"
|
|
621
|
+
"kind": "js",
|
|
622
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
623
|
+
"declaration": {
|
|
624
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
625
|
+
"module": "src/design-system/editable-elements.ts"
|
|
504
626
|
}
|
|
505
627
|
},
|
|
506
628
|
{
|
|
507
|
-
"kind": "
|
|
508
|
-
"name": "
|
|
509
|
-
"
|
|
510
|
-
"
|
|
511
|
-
|
|
512
|
-
|
|
629
|
+
"kind": "js",
|
|
630
|
+
"name": "buildEditableElementSelector",
|
|
631
|
+
"declaration": {
|
|
632
|
+
"name": "buildEditableElementSelector",
|
|
633
|
+
"module": "src/design-system/editable-elements.ts"
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
]
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"kind": "javascript-module",
|
|
640
|
+
"path": "src/design-system/index.ts",
|
|
641
|
+
"declarations": [],
|
|
642
|
+
"exports": [
|
|
643
|
+
{
|
|
644
|
+
"kind": "js",
|
|
645
|
+
"name": "*",
|
|
646
|
+
"declaration": {
|
|
647
|
+
"name": "*",
|
|
648
|
+
"package": "./design-system"
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"kind": "js",
|
|
653
|
+
"name": "*",
|
|
654
|
+
"declaration": {
|
|
655
|
+
"name": "*",
|
|
656
|
+
"package": "./editable-elements"
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
]
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"kind": "javascript-module",
|
|
663
|
+
"path": "src/directives/index.ts",
|
|
664
|
+
"declarations": [],
|
|
665
|
+
"exports": [
|
|
666
|
+
{
|
|
667
|
+
"kind": "js",
|
|
668
|
+
"name": "*",
|
|
669
|
+
"declaration": {
|
|
670
|
+
"name": "*",
|
|
671
|
+
"package": "./sync"
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"kind": "js",
|
|
676
|
+
"name": "*",
|
|
677
|
+
"declaration": {
|
|
678
|
+
"name": "*",
|
|
679
|
+
"package": "./when-else"
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
]
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"kind": "javascript-module",
|
|
686
|
+
"path": "src/decorators/index.ts",
|
|
687
|
+
"declarations": [],
|
|
688
|
+
"exports": [
|
|
689
|
+
{
|
|
690
|
+
"kind": "js",
|
|
691
|
+
"name": "*",
|
|
692
|
+
"declaration": {
|
|
693
|
+
"name": "*",
|
|
694
|
+
"package": "./renderOnChange"
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
]
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"kind": "javascript-module",
|
|
701
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
702
|
+
"declarations": [
|
|
703
|
+
{
|
|
704
|
+
"kind": "function",
|
|
705
|
+
"name": "renderOnChange",
|
|
706
|
+
"parameters": [
|
|
707
|
+
{
|
|
708
|
+
"name": "target",
|
|
709
|
+
"type": {
|
|
710
|
+
"text": "FASTElement & { render(): void }"
|
|
711
|
+
},
|
|
712
|
+
"description": "The target to define the property change handler on."
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"name": "name",
|
|
716
|
+
"type": {
|
|
717
|
+
"text": "string"
|
|
718
|
+
},
|
|
719
|
+
"description": "The property name."
|
|
720
|
+
}
|
|
721
|
+
],
|
|
722
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
513
723
|
"privacy": "public"
|
|
724
|
+
}
|
|
725
|
+
],
|
|
726
|
+
"exports": [
|
|
727
|
+
{
|
|
728
|
+
"kind": "js",
|
|
729
|
+
"name": "renderOnChange",
|
|
730
|
+
"declaration": {
|
|
731
|
+
"name": "renderOnChange",
|
|
732
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
]
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"kind": "javascript-module",
|
|
739
|
+
"path": "src/encoding/index.ts",
|
|
740
|
+
"declarations": [],
|
|
741
|
+
"exports": [
|
|
742
|
+
{
|
|
743
|
+
"kind": "js",
|
|
744
|
+
"name": "*",
|
|
745
|
+
"declaration": {
|
|
746
|
+
"name": "*",
|
|
747
|
+
"package": "./base64"
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"kind": "javascript-module",
|
|
754
|
+
"path": "src/env/index.ts",
|
|
755
|
+
"declarations": [],
|
|
756
|
+
"exports": [
|
|
757
|
+
{
|
|
758
|
+
"kind": "js",
|
|
759
|
+
"name": "*",
|
|
760
|
+
"declaration": {
|
|
761
|
+
"name": "*",
|
|
762
|
+
"package": "./is-dev"
|
|
763
|
+
}
|
|
514
764
|
},
|
|
765
|
+
{
|
|
766
|
+
"kind": "js",
|
|
767
|
+
"name": "*",
|
|
768
|
+
"declaration": {
|
|
769
|
+
"name": "*",
|
|
770
|
+
"package": "./variables"
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
]
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"kind": "javascript-module",
|
|
777
|
+
"path": "src/env/is-dev.ts",
|
|
778
|
+
"declarations": [
|
|
779
|
+
{
|
|
780
|
+
"kind": "function",
|
|
781
|
+
"name": "isDev",
|
|
782
|
+
"description": "Determines if the current environment is a development environment.",
|
|
783
|
+
"privacy": "public"
|
|
784
|
+
}
|
|
785
|
+
],
|
|
786
|
+
"exports": [
|
|
787
|
+
{
|
|
788
|
+
"kind": "js",
|
|
789
|
+
"name": "isDev",
|
|
790
|
+
"declaration": {
|
|
791
|
+
"name": "isDev",
|
|
792
|
+
"module": "src/env/is-dev.ts"
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
]
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"kind": "javascript-module",
|
|
799
|
+
"path": "src/env/variables.ts",
|
|
800
|
+
"declarations": [
|
|
515
801
|
{
|
|
516
802
|
"kind": "variable",
|
|
517
|
-
"name": "
|
|
803
|
+
"name": "BUILDER",
|
|
518
804
|
"type": {
|
|
519
805
|
"text": "string"
|
|
520
806
|
}
|
|
521
807
|
},
|
|
522
808
|
{
|
|
523
809
|
"kind": "variable",
|
|
524
|
-
"name": "
|
|
810
|
+
"name": "_BUILDER",
|
|
525
811
|
"type": {
|
|
526
812
|
"text": "string"
|
|
527
813
|
},
|
|
528
|
-
"
|
|
814
|
+
"default": "'webpack'",
|
|
815
|
+
"description": "The builder aka file bundler.",
|
|
529
816
|
"privacy": "public"
|
|
530
817
|
},
|
|
531
818
|
{
|
|
532
819
|
"kind": "variable",
|
|
533
|
-
"name": "
|
|
820
|
+
"name": "PUBLIC_PATH",
|
|
534
821
|
"type": {
|
|
535
822
|
"text": "string"
|
|
536
|
-
}
|
|
537
|
-
"default": "'gwf/event-login-auth'",
|
|
538
|
-
"privacy": "public"
|
|
823
|
+
}
|
|
539
824
|
},
|
|
540
825
|
{
|
|
541
826
|
"kind": "variable",
|
|
542
|
-
"name": "
|
|
827
|
+
"name": "_PUBLIC_PATH",
|
|
543
828
|
"type": {
|
|
544
829
|
"text": "string"
|
|
545
830
|
},
|
|
546
|
-
"default": "'
|
|
831
|
+
"default": "'/'",
|
|
832
|
+
"description": "The public path.",
|
|
547
833
|
"privacy": "public"
|
|
548
834
|
},
|
|
549
835
|
{
|
|
550
836
|
"kind": "variable",
|
|
551
|
-
"name": "
|
|
837
|
+
"name": "SOCKET_EXT",
|
|
552
838
|
"type": {
|
|
553
839
|
"text": "string"
|
|
554
|
-
}
|
|
555
|
-
"default": "'gwf/event-login-details'",
|
|
556
|
-
"privacy": "public"
|
|
840
|
+
}
|
|
557
841
|
},
|
|
558
842
|
{
|
|
559
843
|
"kind": "variable",
|
|
560
|
-
"name": "
|
|
844
|
+
"name": "_SOCKET_EXT",
|
|
561
845
|
"type": {
|
|
562
846
|
"text": "string"
|
|
563
847
|
},
|
|
564
|
-
"default": "'gwf
|
|
848
|
+
"default": "'gwf'",
|
|
849
|
+
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
|
565
850
|
"privacy": "public"
|
|
566
851
|
},
|
|
567
852
|
{
|
|
568
853
|
"kind": "variable",
|
|
569
|
-
"name": "
|
|
854
|
+
"name": "FORCE_HTTP",
|
|
570
855
|
"type": {
|
|
571
856
|
"text": "string"
|
|
572
|
-
}
|
|
573
|
-
"default": "'gwf/event-change-user-password'",
|
|
574
|
-
"privacy": "public"
|
|
857
|
+
}
|
|
575
858
|
},
|
|
576
859
|
{
|
|
577
860
|
"kind": "variable",
|
|
578
|
-
"name": "
|
|
861
|
+
"name": "_FORCE_HTTP",
|
|
579
862
|
"type": {
|
|
580
863
|
"text": "string"
|
|
581
864
|
},
|
|
582
|
-
"
|
|
865
|
+
"description": "The path to a JSON config file for the HTTP mode.",
|
|
583
866
|
"privacy": "public"
|
|
584
867
|
},
|
|
585
868
|
{
|
|
586
869
|
"kind": "variable",
|
|
587
|
-
"name": "
|
|
870
|
+
"name": "FORCE_HTTP_REQREP",
|
|
588
871
|
"type": {
|
|
589
872
|
"text": "string"
|
|
590
|
-
}
|
|
591
|
-
"default": "'gwf/event-password-reset-action'",
|
|
592
|
-
"privacy": "public"
|
|
873
|
+
}
|
|
593
874
|
},
|
|
594
875
|
{
|
|
595
876
|
"kind": "variable",
|
|
596
|
-
"name": "
|
|
877
|
+
"name": "_FORCE_HTTP_REQREP",
|
|
597
878
|
"type": {
|
|
598
879
|
"text": "string"
|
|
599
880
|
},
|
|
600
|
-
"
|
|
881
|
+
"description": "When `'true'`, request/reply and event traffic (`request`, `commitEvent`, metadata, schema and\nresources lookups) is sent over HTTP even while the primary connection is a WebSocket.\nStreaming (`stream`/`snapshot`) stays on the socket.",
|
|
601
882
|
"privacy": "public"
|
|
602
883
|
},
|
|
603
884
|
{
|
|
604
885
|
"kind": "variable",
|
|
605
|
-
"name": "
|
|
606
|
-
"
|
|
607
|
-
|
|
608
|
-
},
|
|
609
|
-
"default": "'gwf/{type}/login?idp={id}'",
|
|
886
|
+
"name": "GENESIS_SOCKET_URL",
|
|
887
|
+
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}${_PUBLIC_PATH}/${_SOCKET_EXT}/`",
|
|
888
|
+
"description": "Genesis Socket URL",
|
|
610
889
|
"privacy": "public"
|
|
611
890
|
},
|
|
612
891
|
{
|
|
613
892
|
"kind": "variable",
|
|
614
|
-
"name": "
|
|
893
|
+
"name": "API_HOST",
|
|
615
894
|
"type": {
|
|
616
895
|
"text": "string"
|
|
617
|
-
}
|
|
618
|
-
"default": "'default'",
|
|
619
|
-
"privacy": "public"
|
|
896
|
+
}
|
|
620
897
|
},
|
|
621
898
|
{
|
|
622
899
|
"kind": "variable",
|
|
623
|
-
"name": "
|
|
900
|
+
"name": "_API_HOST",
|
|
624
901
|
"type": {
|
|
625
902
|
"text": "string"
|
|
626
903
|
},
|
|
627
|
-
"default": "
|
|
904
|
+
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
|
905
|
+
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
|
628
906
|
"privacy": "public"
|
|
629
|
-
}
|
|
630
|
-
],
|
|
631
|
-
"exports": [
|
|
907
|
+
},
|
|
632
908
|
{
|
|
633
|
-
"kind": "
|
|
634
|
-
"name": "
|
|
635
|
-
"
|
|
636
|
-
"
|
|
637
|
-
"module": "src/env/variables.ts"
|
|
909
|
+
"kind": "variable",
|
|
910
|
+
"name": "HTTP_CONFIG",
|
|
911
|
+
"type": {
|
|
912
|
+
"text": "string"
|
|
638
913
|
}
|
|
639
914
|
},
|
|
640
915
|
{
|
|
641
|
-
"kind": "
|
|
642
|
-
"name": "
|
|
643
|
-
"
|
|
916
|
+
"kind": "variable",
|
|
917
|
+
"name": "_HTTP_CONFIG",
|
|
918
|
+
"type": {
|
|
919
|
+
"text": "string"
|
|
920
|
+
},
|
|
921
|
+
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
|
922
|
+
"privacy": "public"
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"kind": "variable",
|
|
926
|
+
"name": "DEFAULT_ORGANISATION",
|
|
927
|
+
"type": {
|
|
928
|
+
"text": "string"
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"kind": "variable",
|
|
933
|
+
"name": "_DEFAULT_ORGANISATION",
|
|
934
|
+
"type": {
|
|
935
|
+
"text": "string"
|
|
936
|
+
},
|
|
937
|
+
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
|
|
938
|
+
"privacy": "public"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"kind": "variable",
|
|
942
|
+
"name": "DEFAULT_PASSWORD",
|
|
943
|
+
"type": {
|
|
944
|
+
"text": "string"
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"kind": "variable",
|
|
949
|
+
"name": "_DEFAULT_PASSWORD",
|
|
950
|
+
"type": {
|
|
951
|
+
"text": "string"
|
|
952
|
+
},
|
|
953
|
+
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
|
|
954
|
+
"privacy": "public"
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"kind": "variable",
|
|
958
|
+
"name": "DEFAULT_USER",
|
|
959
|
+
"type": {
|
|
960
|
+
"text": "string"
|
|
961
|
+
}
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"kind": "variable",
|
|
965
|
+
"name": "_DEFAULT_USER",
|
|
966
|
+
"type": {
|
|
967
|
+
"text": "string"
|
|
968
|
+
},
|
|
969
|
+
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
|
|
970
|
+
"privacy": "public"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"kind": "variable",
|
|
974
|
+
"name": "LOGIN_URL",
|
|
975
|
+
"type": {
|
|
976
|
+
"text": "string"
|
|
977
|
+
},
|
|
978
|
+
"default": "'gwf/event-login-auth'",
|
|
979
|
+
"privacy": "public"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"kind": "variable",
|
|
983
|
+
"name": "LOGIN_REFRESH_URL",
|
|
984
|
+
"type": {
|
|
985
|
+
"text": "string"
|
|
986
|
+
},
|
|
987
|
+
"default": "'gwf/event-login-auth'",
|
|
988
|
+
"privacy": "public"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"kind": "variable",
|
|
992
|
+
"name": "LOGIN_DETAILS_URL",
|
|
993
|
+
"type": {
|
|
994
|
+
"text": "string"
|
|
995
|
+
},
|
|
996
|
+
"default": "'gwf/event-login-details'",
|
|
997
|
+
"privacy": "public"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"kind": "variable",
|
|
1001
|
+
"name": "LOGOUT_URL",
|
|
1002
|
+
"type": {
|
|
1003
|
+
"text": "string"
|
|
1004
|
+
},
|
|
1005
|
+
"default": "'gwf/event-logout'",
|
|
1006
|
+
"privacy": "public"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"kind": "variable",
|
|
1010
|
+
"name": "CHANGE_PASSWORD_URL",
|
|
1011
|
+
"type": {
|
|
1012
|
+
"text": "string"
|
|
1013
|
+
},
|
|
1014
|
+
"default": "'gwf/event-change-user-password'",
|
|
1015
|
+
"privacy": "public"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"kind": "variable",
|
|
1019
|
+
"name": "FORGOT_PASSWORD_URL",
|
|
1020
|
+
"type": {
|
|
1021
|
+
"text": "string"
|
|
1022
|
+
},
|
|
1023
|
+
"default": "'gwf/event-self-service-password-reset'",
|
|
1024
|
+
"privacy": "public"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"kind": "variable",
|
|
1028
|
+
"name": "RESET_PASSWORD_URL",
|
|
1029
|
+
"type": {
|
|
1030
|
+
"text": "string"
|
|
1031
|
+
},
|
|
1032
|
+
"default": "'gwf/event-password-reset-action'",
|
|
1033
|
+
"privacy": "public"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"kind": "variable",
|
|
1037
|
+
"name": "SSO_LIST_URL",
|
|
1038
|
+
"type": {
|
|
1039
|
+
"text": "string"
|
|
1040
|
+
},
|
|
1041
|
+
"default": "'gwf/sso/list'",
|
|
1042
|
+
"privacy": "public"
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"kind": "variable",
|
|
1046
|
+
"name": "SSO_LOGIN_URL",
|
|
1047
|
+
"type": {
|
|
1048
|
+
"text": "string"
|
|
1049
|
+
},
|
|
1050
|
+
"default": "'gwf/{type}/login?idp={id}'",
|
|
1051
|
+
"privacy": "public"
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"kind": "variable",
|
|
1055
|
+
"name": "ENVIRONMENT_LEVEL",
|
|
1056
|
+
"type": {
|
|
1057
|
+
"text": "string"
|
|
1058
|
+
},
|
|
1059
|
+
"default": "'default'",
|
|
1060
|
+
"privacy": "public"
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"kind": "variable",
|
|
1064
|
+
"name": "ACCEPT_TERMS_URL",
|
|
1065
|
+
"type": {
|
|
1066
|
+
"text": "string"
|
|
1067
|
+
},
|
|
1068
|
+
"default": "'gwf/auth/accept-terms'",
|
|
1069
|
+
"privacy": "public"
|
|
1070
|
+
}
|
|
1071
|
+
],
|
|
1072
|
+
"exports": [
|
|
1073
|
+
{
|
|
1074
|
+
"kind": "js",
|
|
1075
|
+
"name": "BUILDER",
|
|
1076
|
+
"declaration": {
|
|
1077
|
+
"name": "_BUILDER",
|
|
1078
|
+
"module": "src/env/variables.ts"
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"kind": "js",
|
|
1083
|
+
"name": "PUBLIC_PATH",
|
|
1084
|
+
"declaration": {
|
|
644
1085
|
"name": "_PUBLIC_PATH",
|
|
645
1086
|
"module": "src/env/variables.ts"
|
|
646
1087
|
}
|
|
@@ -807,447 +1248,6 @@
|
|
|
807
1248
|
}
|
|
808
1249
|
]
|
|
809
1250
|
},
|
|
810
|
-
{
|
|
811
|
-
"kind": "javascript-module",
|
|
812
|
-
"path": "src/converters/index.ts",
|
|
813
|
-
"declarations": [],
|
|
814
|
-
"exports": [
|
|
815
|
-
{
|
|
816
|
-
"kind": "js",
|
|
817
|
-
"name": "*",
|
|
818
|
-
"declaration": {
|
|
819
|
-
"name": "*",
|
|
820
|
-
"package": "./string-array-converter"
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
]
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"kind": "javascript-module",
|
|
827
|
-
"path": "src/converters/string-array-converter.ts",
|
|
828
|
-
"declarations": [
|
|
829
|
-
{
|
|
830
|
-
"kind": "variable",
|
|
831
|
-
"name": "stringArrayConverter",
|
|
832
|
-
"type": {
|
|
833
|
-
"text": "ValueConverter"
|
|
834
|
-
},
|
|
835
|
-
"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}",
|
|
836
|
-
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
837
|
-
"privacy": "public"
|
|
838
|
-
}
|
|
839
|
-
],
|
|
840
|
-
"exports": [
|
|
841
|
-
{
|
|
842
|
-
"kind": "js",
|
|
843
|
-
"name": "stringArrayConverter",
|
|
844
|
-
"declaration": {
|
|
845
|
-
"name": "stringArrayConverter",
|
|
846
|
-
"module": "src/converters/string-array-converter.ts"
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
]
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
"kind": "javascript-module",
|
|
853
|
-
"path": "src/design-system/design-system.ts",
|
|
854
|
-
"declarations": [
|
|
855
|
-
{
|
|
856
|
-
"kind": "function",
|
|
857
|
-
"name": "assureDesignSystem",
|
|
858
|
-
"return": {
|
|
859
|
-
"type": {
|
|
860
|
-
"text": "DesignSystemModule"
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
"parameters": [
|
|
864
|
-
{
|
|
865
|
-
"name": "module",
|
|
866
|
-
"type": {
|
|
867
|
-
"text": "DesignSystemModule"
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
],
|
|
871
|
-
"description": "assureDesignSystem.",
|
|
872
|
-
"privacy": "public"
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
"kind": "function",
|
|
876
|
-
"name": "getCurrentDesignSystem",
|
|
877
|
-
"return": {
|
|
878
|
-
"type": {
|
|
879
|
-
"text": ""
|
|
880
|
-
}
|
|
881
|
-
},
|
|
882
|
-
"parameters": [
|
|
883
|
-
{
|
|
884
|
-
"name": "element",
|
|
885
|
-
"type": {
|
|
886
|
-
"text": "HTMLElement"
|
|
887
|
-
},
|
|
888
|
-
"description": "The starting HTML element"
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
"name": "fallbackPrefix",
|
|
892
|
-
"type": {
|
|
893
|
-
"text": "string"
|
|
894
|
-
},
|
|
895
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
896
|
-
}
|
|
897
|
-
],
|
|
898
|
-
"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.",
|
|
899
|
-
"privacy": "public"
|
|
900
|
-
},
|
|
901
|
-
{
|
|
902
|
-
"kind": "function",
|
|
903
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
904
|
-
"return": {
|
|
905
|
-
"type": {
|
|
906
|
-
"text": ""
|
|
907
|
-
}
|
|
908
|
-
},
|
|
909
|
-
"parameters": [
|
|
910
|
-
{
|
|
911
|
-
"name": "element",
|
|
912
|
-
"type": {
|
|
913
|
-
"text": "HTMLElement"
|
|
914
|
-
},
|
|
915
|
-
"description": "The starting HTML element"
|
|
916
|
-
},
|
|
917
|
-
{
|
|
918
|
-
"name": "fallbackPrefix",
|
|
919
|
-
"type": {
|
|
920
|
-
"text": "string"
|
|
921
|
-
},
|
|
922
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
923
|
-
}
|
|
924
|
-
],
|
|
925
|
-
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
926
|
-
"privacy": "public"
|
|
927
|
-
}
|
|
928
|
-
],
|
|
929
|
-
"exports": [
|
|
930
|
-
{
|
|
931
|
-
"kind": "js",
|
|
932
|
-
"name": "assureDesignSystem",
|
|
933
|
-
"declaration": {
|
|
934
|
-
"name": "assureDesignSystem",
|
|
935
|
-
"module": "src/design-system/design-system.ts"
|
|
936
|
-
}
|
|
937
|
-
},
|
|
938
|
-
{
|
|
939
|
-
"kind": "js",
|
|
940
|
-
"name": "getCurrentDesignSystem",
|
|
941
|
-
"declaration": {
|
|
942
|
-
"name": "getCurrentDesignSystem",
|
|
943
|
-
"module": "src/design-system/design-system.ts"
|
|
944
|
-
}
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
"kind": "js",
|
|
948
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
949
|
-
"declaration": {
|
|
950
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
951
|
-
"module": "src/design-system/design-system.ts"
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
]
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
"kind": "javascript-module",
|
|
958
|
-
"path": "src/design-system/editable-elements.ts",
|
|
959
|
-
"declarations": [
|
|
960
|
-
{
|
|
961
|
-
"kind": "variable",
|
|
962
|
-
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
963
|
-
"type": {
|
|
964
|
-
"text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
|
|
965
|
-
},
|
|
966
|
-
"default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
|
|
967
|
-
"description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
|
|
968
|
-
},
|
|
969
|
-
{
|
|
970
|
-
"kind": "variable",
|
|
971
|
-
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
972
|
-
"type": {
|
|
973
|
-
"text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
|
|
974
|
-
},
|
|
975
|
-
"default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
|
|
976
|
-
"description": "Design-system specific editable host selectors."
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
"kind": "function",
|
|
980
|
-
"name": "buildEditableElementSelector",
|
|
981
|
-
"return": {
|
|
982
|
-
"type": {
|
|
983
|
-
"text": "string"
|
|
984
|
-
}
|
|
985
|
-
},
|
|
986
|
-
"parameters": [
|
|
987
|
-
{
|
|
988
|
-
"name": "designSystems",
|
|
989
|
-
"type": {
|
|
990
|
-
"text": "readonly EditableDesignSystemPrefix[]"
|
|
991
|
-
}
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
"name": "customEditableSelectors",
|
|
995
|
-
"default": "[]",
|
|
996
|
-
"type": {
|
|
997
|
-
"text": "readonly string[]"
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
]
|
|
1001
|
-
}
|
|
1002
|
-
],
|
|
1003
|
-
"exports": [
|
|
1004
|
-
{
|
|
1005
|
-
"kind": "js",
|
|
1006
|
-
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
1007
|
-
"declaration": {
|
|
1008
|
-
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
1009
|
-
"module": "src/design-system/editable-elements.ts"
|
|
1010
|
-
}
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"kind": "js",
|
|
1014
|
-
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
1015
|
-
"declaration": {
|
|
1016
|
-
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
1017
|
-
"module": "src/design-system/editable-elements.ts"
|
|
1018
|
-
}
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
"kind": "js",
|
|
1022
|
-
"name": "buildEditableElementSelector",
|
|
1023
|
-
"declaration": {
|
|
1024
|
-
"name": "buildEditableElementSelector",
|
|
1025
|
-
"module": "src/design-system/editable-elements.ts"
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
]
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
"kind": "javascript-module",
|
|
1032
|
-
"path": "src/design-system/index.ts",
|
|
1033
|
-
"declarations": [],
|
|
1034
|
-
"exports": [
|
|
1035
|
-
{
|
|
1036
|
-
"kind": "js",
|
|
1037
|
-
"name": "*",
|
|
1038
|
-
"declaration": {
|
|
1039
|
-
"name": "*",
|
|
1040
|
-
"package": "./design-system"
|
|
1041
|
-
}
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
"kind": "js",
|
|
1045
|
-
"name": "*",
|
|
1046
|
-
"declaration": {
|
|
1047
|
-
"name": "*",
|
|
1048
|
-
"package": "./editable-elements"
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
]
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"kind": "javascript-module",
|
|
1055
|
-
"path": "src/data/inMemoryDatabase.ts",
|
|
1056
|
-
"declarations": [
|
|
1057
|
-
{
|
|
1058
|
-
"kind": "class",
|
|
1059
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
1060
|
-
"name": "InMemoryDatabase",
|
|
1061
|
-
"members": [
|
|
1062
|
-
{
|
|
1063
|
-
"kind": "field",
|
|
1064
|
-
"name": "isWorking",
|
|
1065
|
-
"type": {
|
|
1066
|
-
"text": "boolean"
|
|
1067
|
-
},
|
|
1068
|
-
"privacy": "public",
|
|
1069
|
-
"default": "false"
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
"kind": "field",
|
|
1073
|
-
"name": "records",
|
|
1074
|
-
"type": {
|
|
1075
|
-
"text": "Record<string, T>"
|
|
1076
|
-
},
|
|
1077
|
-
"privacy": "private",
|
|
1078
|
-
"default": "{}"
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"kind": "field",
|
|
1082
|
-
"name": "beforeUpdateListeners",
|
|
1083
|
-
"privacy": "private"
|
|
1084
|
-
},
|
|
1085
|
-
{
|
|
1086
|
-
"kind": "field",
|
|
1087
|
-
"name": "afterUpdateListeners",
|
|
1088
|
-
"privacy": "private"
|
|
1089
|
-
},
|
|
1090
|
-
{
|
|
1091
|
-
"kind": "method",
|
|
1092
|
-
"name": "create",
|
|
1093
|
-
"privacy": "public",
|
|
1094
|
-
"return": {
|
|
1095
|
-
"type": {
|
|
1096
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
1097
|
-
}
|
|
1098
|
-
},
|
|
1099
|
-
"parameters": [
|
|
1100
|
-
{
|
|
1101
|
-
"name": "newValue",
|
|
1102
|
-
"type": {
|
|
1103
|
-
"text": "Omit<T, 'id'>"
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
]
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
"kind": "method",
|
|
1110
|
-
"name": "read",
|
|
1111
|
-
"privacy": "public",
|
|
1112
|
-
"return": {
|
|
1113
|
-
"type": {
|
|
1114
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
1115
|
-
}
|
|
1116
|
-
},
|
|
1117
|
-
"parameters": [
|
|
1118
|
-
{
|
|
1119
|
-
"name": "id",
|
|
1120
|
-
"type": {
|
|
1121
|
-
"text": "string"
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
]
|
|
1125
|
-
},
|
|
1126
|
-
{
|
|
1127
|
-
"kind": "method",
|
|
1128
|
-
"name": "update",
|
|
1129
|
-
"privacy": "public",
|
|
1130
|
-
"return": {
|
|
1131
|
-
"type": {
|
|
1132
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
1133
|
-
}
|
|
1134
|
-
},
|
|
1135
|
-
"parameters": [
|
|
1136
|
-
{
|
|
1137
|
-
"name": "id",
|
|
1138
|
-
"type": {
|
|
1139
|
-
"text": "string"
|
|
1140
|
-
}
|
|
1141
|
-
},
|
|
1142
|
-
{
|
|
1143
|
-
"name": "newValue",
|
|
1144
|
-
"type": {
|
|
1145
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
|
-
]
|
|
1149
|
-
},
|
|
1150
|
-
{
|
|
1151
|
-
"kind": "method",
|
|
1152
|
-
"name": "delete",
|
|
1153
|
-
"privacy": "public",
|
|
1154
|
-
"return": {
|
|
1155
|
-
"type": {
|
|
1156
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
1157
|
-
}
|
|
1158
|
-
},
|
|
1159
|
-
"parameters": [
|
|
1160
|
-
{
|
|
1161
|
-
"name": "id",
|
|
1162
|
-
"type": {
|
|
1163
|
-
"text": "string"
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
]
|
|
1167
|
-
},
|
|
1168
|
-
{
|
|
1169
|
-
"kind": "method",
|
|
1170
|
-
"name": "visit",
|
|
1171
|
-
"privacy": "public",
|
|
1172
|
-
"return": {
|
|
1173
|
-
"type": {
|
|
1174
|
-
"text": "Promise<void>"
|
|
1175
|
-
}
|
|
1176
|
-
},
|
|
1177
|
-
"parameters": [
|
|
1178
|
-
{
|
|
1179
|
-
"name": "visitor",
|
|
1180
|
-
"type": {
|
|
1181
|
-
"text": "(record: T) => void"
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
]
|
|
1185
|
-
},
|
|
1186
|
-
{
|
|
1187
|
-
"kind": "method",
|
|
1188
|
-
"name": "onBeforeUpdate",
|
|
1189
|
-
"privacy": "public",
|
|
1190
|
-
"return": {
|
|
1191
|
-
"type": {
|
|
1192
|
-
"text": "() => void"
|
|
1193
|
-
}
|
|
1194
|
-
},
|
|
1195
|
-
"parameters": [
|
|
1196
|
-
{
|
|
1197
|
-
"name": "listener",
|
|
1198
|
-
"type": {
|
|
1199
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1202
|
-
]
|
|
1203
|
-
},
|
|
1204
|
-
{
|
|
1205
|
-
"kind": "method",
|
|
1206
|
-
"name": "onAfterUpdate",
|
|
1207
|
-
"privacy": "public",
|
|
1208
|
-
"return": {
|
|
1209
|
-
"type": {
|
|
1210
|
-
"text": "() => void"
|
|
1211
|
-
}
|
|
1212
|
-
},
|
|
1213
|
-
"parameters": [
|
|
1214
|
-
{
|
|
1215
|
-
"name": "listener",
|
|
1216
|
-
"type": {
|
|
1217
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
1218
|
-
}
|
|
1219
|
-
}
|
|
1220
|
-
]
|
|
1221
|
-
}
|
|
1222
|
-
]
|
|
1223
|
-
}
|
|
1224
|
-
],
|
|
1225
|
-
"exports": [
|
|
1226
|
-
{
|
|
1227
|
-
"kind": "js",
|
|
1228
|
-
"name": "InMemoryDatabase",
|
|
1229
|
-
"declaration": {
|
|
1230
|
-
"name": "InMemoryDatabase",
|
|
1231
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
1232
|
-
}
|
|
1233
|
-
}
|
|
1234
|
-
]
|
|
1235
|
-
},
|
|
1236
|
-
{
|
|
1237
|
-
"kind": "javascript-module",
|
|
1238
|
-
"path": "src/data/index.ts",
|
|
1239
|
-
"declarations": [],
|
|
1240
|
-
"exports": [
|
|
1241
|
-
{
|
|
1242
|
-
"kind": "js",
|
|
1243
|
-
"name": "*",
|
|
1244
|
-
"declaration": {
|
|
1245
|
-
"name": "*",
|
|
1246
|
-
"package": "./inMemoryDatabase"
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
]
|
|
1250
|
-
},
|
|
1251
1251
|
{
|
|
1252
1252
|
"kind": "javascript-module",
|
|
1253
1253
|
"path": "src/error/errorMap.ts",
|