@emuanalytics/flow-rdf-ui 4.4.1 → 5.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/components/icon/library.mjs +3 -3
- package/dist/components/tab/tab.styles.mjs +2 -0
- package/dist/components/tab-group/tab-group.styles.mjs +3 -2
- package/dist/components/tree/tree.component.mjs +887 -272
- package/dist/components/tree/tree.styles.mjs +126 -20
- package/dist/components/tree-item/tree-item.component.mjs +27 -289
- package/dist/custom-elements.json +1786 -1278
- package/dist/index.d.mts +464 -306
- package/dist/index.d.ts +464 -306
- package/dist/package.json.mjs +1 -1
- package/dist/vscode.html-custom-data.json +154 -142
- package/package.json +1 -1
- package/dist/components/tree-item/tree-item.styles.mjs +0 -182
- package/themes/dark-new.css +0 -723
- package/themes/dark-new.styles.js +0 -745
|
@@ -285,40 +285,22 @@
|
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
287
|
"kind": "javascript-module",
|
|
288
|
-
"path": "components/
|
|
288
|
+
"path": "components/badge/badge.component.js",
|
|
289
289
|
"declarations": [
|
|
290
290
|
{
|
|
291
291
|
"kind": "class",
|
|
292
292
|
"description": "",
|
|
293
|
-
"name": "
|
|
294
|
-
"cssProperties": [
|
|
295
|
-
{
|
|
296
|
-
"description": "The size of the avatar.",
|
|
297
|
-
"name": "--size"
|
|
298
|
-
}
|
|
299
|
-
],
|
|
293
|
+
"name": "FlowUiBadge",
|
|
300
294
|
"cssParts": [
|
|
301
295
|
{
|
|
302
296
|
"description": "The component's base wrapper.",
|
|
303
297
|
"name": "base"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"description": "The container that wraps the avatar's icon.",
|
|
307
|
-
"name": "icon"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"description": "The container that wraps the avatar's initials.",
|
|
311
|
-
"name": "initials"
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"description": "The avatar image. Only shown when the `image` attribute is set.",
|
|
315
|
-
"name": "image"
|
|
316
298
|
}
|
|
317
299
|
],
|
|
318
300
|
"slots": [
|
|
319
301
|
{
|
|
320
|
-
"description": "The
|
|
321
|
-
"name": "
|
|
302
|
+
"description": "The badge's content.",
|
|
303
|
+
"name": ""
|
|
322
304
|
}
|
|
323
305
|
],
|
|
324
306
|
"members": [
|
|
@@ -329,134 +311,97 @@
|
|
|
329
311
|
"text": "string"
|
|
330
312
|
},
|
|
331
313
|
"static": true,
|
|
332
|
-
"default": "'flow-ui-
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"kind": "field",
|
|
336
|
-
"name": "dependencies",
|
|
337
|
-
"type": {
|
|
338
|
-
"text": "array"
|
|
339
|
-
},
|
|
340
|
-
"static": true,
|
|
341
|
-
"default": "[FlowUiIcon]"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"kind": "field",
|
|
345
|
-
"name": "hasError",
|
|
346
|
-
"type": {
|
|
347
|
-
"text": "boolean"
|
|
348
|
-
},
|
|
349
|
-
"privacy": "private",
|
|
350
|
-
"default": "false"
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
"kind": "field",
|
|
354
|
-
"name": "image",
|
|
355
|
-
"type": {
|
|
356
|
-
"text": "string"
|
|
357
|
-
},
|
|
358
|
-
"default": "''",
|
|
359
|
-
"description": "The image source to use for the avatar.",
|
|
360
|
-
"attribute": "image"
|
|
314
|
+
"default": "'flow-ui-badge'"
|
|
361
315
|
},
|
|
362
316
|
{
|
|
363
317
|
"kind": "field",
|
|
364
|
-
"name": "
|
|
318
|
+
"name": "variant",
|
|
365
319
|
"type": {
|
|
366
|
-
"text": "
|
|
320
|
+
"text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
|
|
367
321
|
},
|
|
368
|
-
"default": "''",
|
|
369
|
-
"description": "
|
|
370
|
-
"attribute": "
|
|
322
|
+
"default": "'primary'",
|
|
323
|
+
"description": "The badge's theme variant.",
|
|
324
|
+
"attribute": "variant",
|
|
325
|
+
"reflects": true
|
|
371
326
|
},
|
|
372
327
|
{
|
|
373
328
|
"kind": "field",
|
|
374
|
-
"name": "
|
|
329
|
+
"name": "size",
|
|
375
330
|
"type": {
|
|
376
|
-
"text": "
|
|
331
|
+
"text": "'small' | 'medium' | 'large'"
|
|
377
332
|
},
|
|
378
|
-
"default": "''",
|
|
379
|
-
"description": "
|
|
380
|
-
"attribute": "
|
|
333
|
+
"default": "'medium'",
|
|
334
|
+
"description": "The badge size.",
|
|
335
|
+
"attribute": "size",
|
|
336
|
+
"reflects": true
|
|
381
337
|
},
|
|
382
338
|
{
|
|
383
339
|
"kind": "field",
|
|
384
|
-
"name": "
|
|
340
|
+
"name": "pill",
|
|
385
341
|
"type": {
|
|
386
|
-
"text": "
|
|
342
|
+
"text": "boolean"
|
|
387
343
|
},
|
|
388
|
-
"default": "
|
|
389
|
-
"description": "
|
|
390
|
-
"attribute": "
|
|
344
|
+
"default": "false",
|
|
345
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
346
|
+
"attribute": "pill",
|
|
347
|
+
"reflects": true
|
|
391
348
|
},
|
|
392
349
|
{
|
|
393
350
|
"kind": "field",
|
|
394
|
-
"name": "
|
|
351
|
+
"name": "pulse",
|
|
395
352
|
"type": {
|
|
396
|
-
"text": "
|
|
353
|
+
"text": "boolean"
|
|
397
354
|
},
|
|
398
|
-
"default": "
|
|
399
|
-
"description": "
|
|
400
|
-
"attribute": "
|
|
355
|
+
"default": "false",
|
|
356
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
357
|
+
"attribute": "pulse",
|
|
401
358
|
"reflects": true
|
|
402
359
|
}
|
|
403
360
|
],
|
|
404
361
|
"attributes": [
|
|
405
362
|
{
|
|
406
|
-
"name": "
|
|
407
|
-
"type": {
|
|
408
|
-
"text": "string"
|
|
409
|
-
},
|
|
410
|
-
"default": "''",
|
|
411
|
-
"description": "The image source to use for the avatar.",
|
|
412
|
-
"fieldName": "image"
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
"name": "label",
|
|
363
|
+
"name": "variant",
|
|
416
364
|
"type": {
|
|
417
|
-
"text": "
|
|
365
|
+
"text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
|
|
418
366
|
},
|
|
419
|
-
"default": "''",
|
|
420
|
-
"description": "
|
|
421
|
-
"fieldName": "
|
|
367
|
+
"default": "'primary'",
|
|
368
|
+
"description": "The badge's theme variant.",
|
|
369
|
+
"fieldName": "variant"
|
|
422
370
|
},
|
|
423
371
|
{
|
|
424
|
-
"name": "
|
|
372
|
+
"name": "size",
|
|
425
373
|
"type": {
|
|
426
|
-
"text": "
|
|
374
|
+
"text": "'small' | 'medium' | 'large'"
|
|
427
375
|
},
|
|
428
|
-
"default": "''",
|
|
429
|
-
"description": "
|
|
430
|
-
"fieldName": "
|
|
376
|
+
"default": "'medium'",
|
|
377
|
+
"description": "The badge size.",
|
|
378
|
+
"fieldName": "size"
|
|
431
379
|
},
|
|
432
380
|
{
|
|
433
|
-
"name": "
|
|
381
|
+
"name": "pill",
|
|
434
382
|
"type": {
|
|
435
|
-
"text": "
|
|
383
|
+
"text": "boolean"
|
|
436
384
|
},
|
|
437
|
-
"default": "
|
|
438
|
-
"description": "
|
|
439
|
-
"fieldName": "
|
|
385
|
+
"default": "false",
|
|
386
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
387
|
+
"fieldName": "pill"
|
|
440
388
|
},
|
|
441
389
|
{
|
|
442
|
-
"name": "
|
|
390
|
+
"name": "pulse",
|
|
443
391
|
"type": {
|
|
444
|
-
"text": "
|
|
392
|
+
"text": "boolean"
|
|
445
393
|
},
|
|
446
|
-
"default": "
|
|
447
|
-
"description": "
|
|
448
|
-
"fieldName": "
|
|
394
|
+
"default": "false",
|
|
395
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
396
|
+
"fieldName": "pulse"
|
|
449
397
|
}
|
|
450
398
|
],
|
|
451
399
|
"superclass": {
|
|
452
400
|
"name": "FlowRdfElement",
|
|
453
401
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
454
402
|
},
|
|
455
|
-
"tagName": "flow-ui-
|
|
456
|
-
"summary": "
|
|
457
|
-
"dependencies": [
|
|
458
|
-
"flow-ui-icon"
|
|
459
|
-
],
|
|
403
|
+
"tagName": "flow-ui-badge",
|
|
404
|
+
"summary": "Badges are used to draw attention and display statuses or counts.",
|
|
460
405
|
"customElement": true
|
|
461
406
|
}
|
|
462
407
|
],
|
|
@@ -465,101 +410,39 @@
|
|
|
465
410
|
"kind": "js",
|
|
466
411
|
"name": "default",
|
|
467
412
|
"declaration": {
|
|
468
|
-
"name": "
|
|
469
|
-
"module": "components/
|
|
413
|
+
"name": "FlowUiBadge",
|
|
414
|
+
"module": "components/badge/badge.component.js"
|
|
470
415
|
}
|
|
471
416
|
}
|
|
472
417
|
]
|
|
473
418
|
},
|
|
474
419
|
{
|
|
475
420
|
"kind": "javascript-module",
|
|
476
|
-
"path": "components/
|
|
421
|
+
"path": "components/badge/badge.js",
|
|
477
422
|
"declarations": [],
|
|
478
423
|
"exports": [
|
|
479
424
|
{
|
|
480
425
|
"kind": "js",
|
|
481
426
|
"name": "default",
|
|
482
427
|
"declaration": {
|
|
483
|
-
"name": "
|
|
484
|
-
"module": "components/
|
|
428
|
+
"name": "FlowUiBadge",
|
|
429
|
+
"module": "components/badge/badge.js"
|
|
485
430
|
}
|
|
486
431
|
}
|
|
487
432
|
]
|
|
488
433
|
},
|
|
489
434
|
{
|
|
490
435
|
"kind": "javascript-module",
|
|
491
|
-
"path": "components/
|
|
436
|
+
"path": "components/animation/animation.component.js",
|
|
492
437
|
"declarations": [
|
|
493
438
|
{
|
|
494
439
|
"kind": "class",
|
|
495
|
-
"description": "
|
|
496
|
-
"name": "
|
|
497
|
-
"cssParts": [
|
|
498
|
-
{
|
|
499
|
-
"description": "The form control that wraps the label, input, and help text.",
|
|
500
|
-
"name": "form-control"
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"description": "The label's wrapper.",
|
|
504
|
-
"name": "label"
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"description": "The help text's wrapper.",
|
|
508
|
-
"name": "help-text"
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"description": "The input's wrapper.",
|
|
512
|
-
"name": "control"
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"description": "The container that wraps the prefix, suffix, input and clear button.",
|
|
516
|
-
"name": "combobox"
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
"description": "The container that wraps the prefix.",
|
|
520
|
-
"name": "prefix"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"description": "The container that wraps the suffix.",
|
|
524
|
-
"name": "suffix"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"description": "The text input, an `<input>` element.",
|
|
528
|
-
"name": "display-input"
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"description": "The listbox container where options are slotted.",
|
|
532
|
-
"name": "listbox"
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
"description": "The clear button.",
|
|
536
|
-
"name": "clear-button"
|
|
537
|
-
}
|
|
538
|
-
],
|
|
440
|
+
"description": "",
|
|
441
|
+
"name": "FlowUiAnimation",
|
|
539
442
|
"slots": [
|
|
540
443
|
{
|
|
541
|
-
"description": "The
|
|
444
|
+
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<flow-ui-animation>` elements.",
|
|
542
445
|
"name": ""
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
"description": "The autocomplete's label. Alternatively, you can use the `label` attribute.",
|
|
546
|
-
"name": "label"
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
"description": "Used to prepend a presentational icon or similar element to the combobox.",
|
|
550
|
-
"name": "prefix"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"description": "Used to append a presentational icon or similar element to the combobox.",
|
|
554
|
-
"name": "suffix"
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
"description": "An icon to use in lieu of the default clear icon.",
|
|
558
|
-
"name": "clear-icon"
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
"description": "Text that describes how to use the autocomplete. Alternatively, you can use the `help-text` attribute.",
|
|
562
|
-
"name": "help-text"
|
|
563
446
|
}
|
|
564
447
|
],
|
|
565
448
|
"members": [
|
|
@@ -570,614 +453,317 @@
|
|
|
570
453
|
"text": "string"
|
|
571
454
|
},
|
|
572
455
|
"static": true,
|
|
573
|
-
"default": "'flow-ui-
|
|
456
|
+
"default": "'flow-ui-animation'"
|
|
574
457
|
},
|
|
575
458
|
{
|
|
576
459
|
"kind": "field",
|
|
577
|
-
"name": "
|
|
460
|
+
"name": "animation",
|
|
578
461
|
"type": {
|
|
579
|
-
"text": "
|
|
462
|
+
"text": "Animation | undefined"
|
|
580
463
|
},
|
|
581
|
-
"
|
|
582
|
-
"default": "[FlowUiDivider, FlowIcon, FlowPopup]"
|
|
464
|
+
"privacy": "private"
|
|
583
465
|
},
|
|
584
466
|
{
|
|
585
467
|
"kind": "field",
|
|
586
|
-
"name": "
|
|
468
|
+
"name": "hasStarted",
|
|
469
|
+
"type": {
|
|
470
|
+
"text": "boolean"
|
|
471
|
+
},
|
|
587
472
|
"privacy": "private",
|
|
588
|
-
"
|
|
589
|
-
"default": "new HasSlotController(this, 'help-text', 'label')"
|
|
473
|
+
"default": "false"
|
|
590
474
|
},
|
|
591
475
|
{
|
|
592
476
|
"kind": "field",
|
|
593
|
-
"name": "
|
|
594
|
-
"privacy": "private",
|
|
595
|
-
"readonly": true,
|
|
596
|
-
"default": "new LocalizeController(this)"
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"kind": "field",
|
|
600
|
-
"name": "pendingChangeEvent",
|
|
477
|
+
"name": "defaultSlot",
|
|
601
478
|
"type": {
|
|
602
|
-
"text": "
|
|
479
|
+
"text": "Promise<HTMLSlotElement>"
|
|
603
480
|
},
|
|
604
|
-
"privacy": "private"
|
|
605
|
-
"default": "false"
|
|
481
|
+
"privacy": "private"
|
|
606
482
|
},
|
|
607
483
|
{
|
|
608
484
|
"kind": "field",
|
|
609
|
-
"name": "
|
|
485
|
+
"name": "name",
|
|
610
486
|
"type": {
|
|
611
|
-
"text": "
|
|
487
|
+
"text": "string"
|
|
612
488
|
},
|
|
613
|
-
"
|
|
614
|
-
"
|
|
489
|
+
"default": "'none'",
|
|
490
|
+
"description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
|
|
491
|
+
"attribute": "name"
|
|
615
492
|
},
|
|
616
493
|
{
|
|
617
494
|
"kind": "field",
|
|
618
|
-
"name": "
|
|
495
|
+
"name": "play",
|
|
619
496
|
"type": {
|
|
620
497
|
"text": "boolean"
|
|
621
498
|
},
|
|
622
|
-
"
|
|
623
|
-
"
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
"kind": "field",
|
|
627
|
-
"name": "formControlController",
|
|
628
|
-
"privacy": "private",
|
|
629
|
-
"readonly": true,
|
|
630
|
-
"default": "new FormControlController(this, {\n assumeInteractionOn: ['flow-ui-blur', 'flow-ui-input']\n })"
|
|
499
|
+
"default": "false",
|
|
500
|
+
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
|
|
501
|
+
"attribute": "play",
|
|
502
|
+
"reflects": true
|
|
631
503
|
},
|
|
632
504
|
{
|
|
633
505
|
"kind": "field",
|
|
634
|
-
"name": "
|
|
506
|
+
"name": "delay",
|
|
635
507
|
"type": {
|
|
636
|
-
"text": "
|
|
508
|
+
"text": "number"
|
|
637
509
|
},
|
|
638
|
-
"default": "
|
|
639
|
-
"description": "The
|
|
640
|
-
"attribute": "
|
|
641
|
-
"reflects": true
|
|
510
|
+
"default": "0",
|
|
511
|
+
"description": "The number of milliseconds to delay the start of the animation.",
|
|
512
|
+
"attribute": "delay"
|
|
642
513
|
},
|
|
643
514
|
{
|
|
644
515
|
"kind": "field",
|
|
645
|
-
"name": "
|
|
516
|
+
"name": "direction",
|
|
646
517
|
"type": {
|
|
647
|
-
"text": "
|
|
518
|
+
"text": "PlaybackDirection"
|
|
648
519
|
},
|
|
649
|
-
"default": "
|
|
650
|
-
"description": "
|
|
651
|
-
"attribute": "
|
|
652
|
-
"reflects": true
|
|
520
|
+
"default": "'normal'",
|
|
521
|
+
"description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
|
|
522
|
+
"attribute": "direction"
|
|
653
523
|
},
|
|
654
524
|
{
|
|
655
525
|
"kind": "field",
|
|
656
|
-
"name": "
|
|
526
|
+
"name": "duration",
|
|
657
527
|
"type": {
|
|
658
|
-
"text": "
|
|
528
|
+
"text": "number"
|
|
659
529
|
},
|
|
660
|
-
"default": "
|
|
661
|
-
"description": "
|
|
662
|
-
"attribute": "
|
|
663
|
-
"reflects": true
|
|
530
|
+
"default": "1000",
|
|
531
|
+
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
532
|
+
"attribute": "duration"
|
|
664
533
|
},
|
|
665
534
|
{
|
|
666
535
|
"kind": "field",
|
|
667
|
-
"name": "
|
|
536
|
+
"name": "easing",
|
|
668
537
|
"type": {
|
|
669
538
|
"text": "string"
|
|
670
539
|
},
|
|
671
|
-
"default": "''",
|
|
672
|
-
"description": "The
|
|
673
|
-
"attribute": "
|
|
540
|
+
"default": "'linear'",
|
|
541
|
+
"description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
|
|
542
|
+
"attribute": "easing"
|
|
674
543
|
},
|
|
675
544
|
{
|
|
676
545
|
"kind": "field",
|
|
677
|
-
"name": "
|
|
546
|
+
"name": "endDelay",
|
|
678
547
|
"type": {
|
|
679
|
-
"text": "
|
|
548
|
+
"text": "number"
|
|
680
549
|
},
|
|
681
|
-
"default": "
|
|
682
|
-
"description": "The
|
|
683
|
-
"attribute": "
|
|
550
|
+
"default": "0",
|
|
551
|
+
"description": "The number of milliseconds to delay after the active period of an animation sequence.",
|
|
552
|
+
"attribute": "end-delay"
|
|
684
553
|
},
|
|
685
554
|
{
|
|
686
555
|
"kind": "field",
|
|
687
|
-
"name": "
|
|
556
|
+
"name": "fill",
|
|
688
557
|
"type": {
|
|
689
|
-
"text": "
|
|
558
|
+
"text": "FillMode"
|
|
690
559
|
},
|
|
691
|
-
"default": "''",
|
|
692
|
-
"description": "
|
|
693
|
-
"attribute": "
|
|
560
|
+
"default": "'auto'",
|
|
561
|
+
"description": "Sets how the animation applies styles to its target before and after its execution.",
|
|
562
|
+
"attribute": "fill"
|
|
694
563
|
},
|
|
695
564
|
{
|
|
696
565
|
"kind": "field",
|
|
697
|
-
"name": "
|
|
698
|
-
"
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
"default": "false",
|
|
702
|
-
"description": "Disables the autocomplete.",
|
|
703
|
-
"attribute": "disabled",
|
|
704
|
-
"reflects": true
|
|
566
|
+
"name": "iterations",
|
|
567
|
+
"default": "Infinity",
|
|
568
|
+
"description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
|
|
569
|
+
"attribute": "iterations"
|
|
705
570
|
},
|
|
706
571
|
{
|
|
707
572
|
"kind": "field",
|
|
708
|
-
"name": "
|
|
573
|
+
"name": "iterationStart",
|
|
709
574
|
"type": {
|
|
710
|
-
"text": "
|
|
575
|
+
"text": "number"
|
|
711
576
|
},
|
|
712
|
-
"
|
|
713
|
-
"
|
|
577
|
+
"default": "0",
|
|
578
|
+
"description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
|
|
579
|
+
"attribute": "iteration-start"
|
|
714
580
|
},
|
|
715
581
|
{
|
|
716
582
|
"kind": "field",
|
|
717
|
-
"name": "
|
|
583
|
+
"name": "keyframes",
|
|
718
584
|
"type": {
|
|
719
|
-
"text": "
|
|
585
|
+
"text": "Keyframe[] | undefined"
|
|
720
586
|
},
|
|
721
|
-
"
|
|
722
|
-
"description": "Makes the autocomplete a required field.",
|
|
723
|
-
"attribute": "required",
|
|
724
|
-
"reflects": true
|
|
587
|
+
"description": "The keyframes to use for the animation. If this is set, `name` will be ignored."
|
|
725
588
|
},
|
|
726
589
|
{
|
|
727
590
|
"kind": "field",
|
|
728
|
-
"name": "
|
|
591
|
+
"name": "playbackRate",
|
|
729
592
|
"type": {
|
|
730
|
-
"text": "
|
|
593
|
+
"text": "number"
|
|
731
594
|
},
|
|
732
|
-
"default": "
|
|
733
|
-
"description": "
|
|
734
|
-
"attribute": "
|
|
735
|
-
"reflects": true
|
|
595
|
+
"default": "1",
|
|
596
|
+
"description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
|
|
597
|
+
"attribute": "playback-rate"
|
|
736
598
|
},
|
|
737
599
|
{
|
|
738
600
|
"kind": "field",
|
|
739
|
-
"name": "
|
|
601
|
+
"name": "currentTime",
|
|
740
602
|
"type": {
|
|
741
|
-
"text": "
|
|
603
|
+
"text": "CSSNumberish"
|
|
742
604
|
},
|
|
743
|
-
"
|
|
744
|
-
"description": "Set to `true` to display a divider below the control.",
|
|
745
|
-
"attribute": "divider",
|
|
746
|
-
"reflects": true
|
|
605
|
+
"description": "Gets and sets the current animation time."
|
|
747
606
|
},
|
|
748
607
|
{
|
|
749
608
|
"kind": "field",
|
|
750
|
-
"name": "
|
|
751
|
-
"
|
|
752
|
-
"text": "boolean"
|
|
753
|
-
},
|
|
754
|
-
"default": "false",
|
|
755
|
-
"description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
756
|
-
"attribute": "hoist"
|
|
609
|
+
"name": "handleAnimationFinish",
|
|
610
|
+
"privacy": "private"
|
|
757
611
|
},
|
|
758
612
|
{
|
|
759
613
|
"kind": "field",
|
|
760
|
-
"name": "
|
|
761
|
-
"
|
|
762
|
-
"text": "'top' | 'bottom'"
|
|
763
|
-
},
|
|
764
|
-
"default": "'bottom'",
|
|
765
|
-
"description": "The preferred placement of the autocomplete's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
|
|
766
|
-
"attribute": "placement",
|
|
767
|
-
"reflects": true
|
|
614
|
+
"name": "handleAnimationCancel",
|
|
615
|
+
"privacy": "private"
|
|
768
616
|
},
|
|
769
617
|
{
|
|
770
|
-
"kind": "
|
|
771
|
-
"name": "
|
|
618
|
+
"kind": "method",
|
|
619
|
+
"name": "handleSlotChange",
|
|
620
|
+
"privacy": "private"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"kind": "method",
|
|
624
|
+
"name": "createAnimation",
|
|
625
|
+
"privacy": "private"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"kind": "method",
|
|
629
|
+
"name": "destroyAnimation",
|
|
630
|
+
"privacy": "private"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"kind": "method",
|
|
634
|
+
"name": "cancel",
|
|
635
|
+
"description": "Clears all keyframe effects caused by this animation and aborts its playback."
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"kind": "method",
|
|
639
|
+
"name": "finish",
|
|
640
|
+
"description": "Sets the playback time to the end of the animation corresponding to the current playback direction."
|
|
641
|
+
}
|
|
642
|
+
],
|
|
643
|
+
"events": [
|
|
644
|
+
{
|
|
645
|
+
"description": "Emitted when the animation is canceled.",
|
|
646
|
+
"name": "flow-ui-cancel",
|
|
647
|
+
"reactName": "onFlowUiCancel"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"description": "Emitted when the animation finishes.",
|
|
651
|
+
"name": "flow-ui-finish",
|
|
652
|
+
"reactName": "onFlowUiFinish"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"description": "Emitted when the animation starts or restarts.",
|
|
656
|
+
"name": "flow-ui-start",
|
|
657
|
+
"reactName": "onFlowUiStart"
|
|
658
|
+
}
|
|
659
|
+
],
|
|
660
|
+
"attributes": [
|
|
661
|
+
{
|
|
662
|
+
"name": "name",
|
|
772
663
|
"type": {
|
|
773
664
|
"text": "string"
|
|
774
665
|
},
|
|
775
|
-
"default": "''",
|
|
776
|
-
"description": "The
|
|
777
|
-
"
|
|
666
|
+
"default": "'none'",
|
|
667
|
+
"description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
|
|
668
|
+
"fieldName": "name"
|
|
778
669
|
},
|
|
779
670
|
{
|
|
780
|
-
"
|
|
781
|
-
"name": "displayWith",
|
|
671
|
+
"name": "play",
|
|
782
672
|
"type": {
|
|
783
|
-
"text": "
|
|
673
|
+
"text": "boolean"
|
|
784
674
|
},
|
|
785
|
-
"
|
|
786
|
-
"
|
|
675
|
+
"default": "false",
|
|
676
|
+
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
|
|
677
|
+
"fieldName": "play"
|
|
787
678
|
},
|
|
788
679
|
{
|
|
789
|
-
"
|
|
790
|
-
"name": "debounceDelay",
|
|
680
|
+
"name": "delay",
|
|
791
681
|
"type": {
|
|
792
682
|
"text": "number"
|
|
793
683
|
},
|
|
794
684
|
"default": "0",
|
|
795
|
-
"description": "The
|
|
796
|
-
"
|
|
797
|
-
"reflects": true
|
|
685
|
+
"description": "The number of milliseconds to delay the start of the animation.",
|
|
686
|
+
"fieldName": "delay"
|
|
798
687
|
},
|
|
799
688
|
{
|
|
800
|
-
"
|
|
801
|
-
"name": "clearable",
|
|
689
|
+
"name": "direction",
|
|
802
690
|
"type": {
|
|
803
|
-
"text": "
|
|
691
|
+
"text": "PlaybackDirection"
|
|
804
692
|
},
|
|
805
|
-
"default": "
|
|
806
|
-
"description": "
|
|
807
|
-
"
|
|
808
|
-
"reflects": true
|
|
693
|
+
"default": "'normal'",
|
|
694
|
+
"description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
|
|
695
|
+
"fieldName": "direction"
|
|
809
696
|
},
|
|
810
697
|
{
|
|
811
|
-
"
|
|
812
|
-
"name": "clearOnFocus",
|
|
698
|
+
"name": "duration",
|
|
813
699
|
"type": {
|
|
814
|
-
"text": "
|
|
700
|
+
"text": "number"
|
|
815
701
|
},
|
|
816
|
-
"default": "
|
|
817
|
-
"description": "
|
|
818
|
-
"
|
|
819
|
-
"reflects": true
|
|
820
|
-
},
|
|
821
|
-
{
|
|
822
|
-
"kind": "field",
|
|
823
|
-
"name": "inputText",
|
|
824
|
-
"type": {
|
|
825
|
-
"text": "string"
|
|
826
|
-
},
|
|
827
|
-
"privacy": "private",
|
|
828
|
-
"default": "''",
|
|
829
|
-
"description": "Current value displayed by the control; this can be what the user is typing or the label of the selected option"
|
|
830
|
-
},
|
|
831
|
-
{
|
|
832
|
-
"kind": "field",
|
|
833
|
-
"name": "selectedOption",
|
|
834
|
-
"type": {
|
|
835
|
-
"text": "FlowOption | null"
|
|
836
|
-
},
|
|
837
|
-
"privacy": "private",
|
|
838
|
-
"default": "null"
|
|
839
|
-
},
|
|
840
|
-
{
|
|
841
|
-
"kind": "field",
|
|
842
|
-
"name": "currentOption",
|
|
843
|
-
"type": {
|
|
844
|
-
"text": "FlowOption | null"
|
|
845
|
-
},
|
|
846
|
-
"privacy": "private",
|
|
847
|
-
"default": "null"
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
"kind": "field",
|
|
851
|
-
"name": "input",
|
|
852
|
-
"type": {
|
|
853
|
-
"text": "HTMLInputElement"
|
|
854
|
-
},
|
|
855
|
-
"privacy": "private"
|
|
856
|
-
},
|
|
857
|
-
{
|
|
858
|
-
"kind": "field",
|
|
859
|
-
"name": "popup",
|
|
860
|
-
"type": {
|
|
861
|
-
"text": "FlowPopup"
|
|
862
|
-
},
|
|
863
|
-
"privacy": "private"
|
|
864
|
-
},
|
|
865
|
-
{
|
|
866
|
-
"kind": "field",
|
|
867
|
-
"name": "listbox",
|
|
868
|
-
"type": {
|
|
869
|
-
"text": "HTMLElement"
|
|
870
|
-
},
|
|
871
|
-
"privacy": "private"
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
"kind": "method",
|
|
875
|
-
"name": "getForm",
|
|
876
|
-
"return": {
|
|
877
|
-
"type": {
|
|
878
|
-
"text": "HTMLFormElement | null"
|
|
879
|
-
}
|
|
880
|
-
},
|
|
881
|
-
"description": "Gets the associated form, if one exists."
|
|
882
|
-
},
|
|
883
|
-
{
|
|
884
|
-
"kind": "field",
|
|
885
|
-
"name": "validity",
|
|
886
|
-
"description": "Gets the validity state object.",
|
|
887
|
-
"readonly": true
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
"kind": "field",
|
|
891
|
-
"name": "validationMessage",
|
|
892
|
-
"description": "Gets the validation message.",
|
|
893
|
-
"readonly": true
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
"kind": "method",
|
|
897
|
-
"name": "checkValidity",
|
|
898
|
-
"return": {
|
|
899
|
-
"type": {
|
|
900
|
-
"text": "boolean"
|
|
901
|
-
}
|
|
902
|
-
},
|
|
903
|
-
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
"kind": "method",
|
|
907
|
-
"name": "reportValidity",
|
|
908
|
-
"return": {
|
|
909
|
-
"type": {
|
|
910
|
-
"text": "boolean"
|
|
911
|
-
}
|
|
912
|
-
},
|
|
913
|
-
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
"kind": "method",
|
|
917
|
-
"name": "setCustomValidity",
|
|
918
|
-
"parameters": [
|
|
919
|
-
{
|
|
920
|
-
"name": "_",
|
|
921
|
-
"type": {
|
|
922
|
-
"text": "string"
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
],
|
|
926
|
-
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
927
|
-
},
|
|
928
|
-
{
|
|
929
|
-
"kind": "method",
|
|
930
|
-
"name": "handleClearClick",
|
|
931
|
-
"parameters": [
|
|
932
|
-
{
|
|
933
|
-
"name": "event",
|
|
934
|
-
"type": {
|
|
935
|
-
"text": "MouseEvent"
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
]
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
"kind": "method",
|
|
942
|
-
"name": "focus",
|
|
943
|
-
"description": "Focuses on the control"
|
|
944
|
-
},
|
|
945
|
-
{
|
|
946
|
-
"kind": "method",
|
|
947
|
-
"name": "blur",
|
|
948
|
-
"description": "Blurs from the control."
|
|
949
|
-
},
|
|
950
|
-
{
|
|
951
|
-
"kind": "method",
|
|
952
|
-
"name": "show",
|
|
953
|
-
"description": "Shows the listbox."
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
"kind": "method",
|
|
957
|
-
"name": "hide",
|
|
958
|
-
"description": "Hides the listbox."
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
"kind": "method",
|
|
962
|
-
"name": "getInputText",
|
|
963
|
-
"description": "Gets the current value of the text input"
|
|
964
|
-
}
|
|
965
|
-
],
|
|
966
|
-
"events": [
|
|
967
|
-
{
|
|
968
|
-
"description": "Emitted when the input text changes. When the user types, the event is emitted after the `debounce-delay`. Call `getInputText()` to read the text, for example to update the options.",
|
|
969
|
-
"name": "flow-ui-input",
|
|
970
|
-
"reactName": "onFlowUiInput"
|
|
971
|
-
},
|
|
972
|
-
{
|
|
973
|
-
"description": "Emitted when the autocomplete's value changes.",
|
|
974
|
-
"name": "flow-ui-change",
|
|
975
|
-
"reactName": "onFlowUiChange"
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
"description": "Emitted when the autocomplete gains focus.",
|
|
979
|
-
"name": "flow-ui-focus",
|
|
980
|
-
"reactName": "onFlowUiFocus"
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
"description": "Emitted when the autocomplete loses focus.",
|
|
984
|
-
"name": "flow-ui-blur",
|
|
985
|
-
"reactName": "onFlowUiBlur"
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
"description": "Emitted when the listbox opens.",
|
|
989
|
-
"name": "flow-ui-show",
|
|
990
|
-
"reactName": "onFlowUiShow"
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
"description": "Emitted after the listbox opens and all animations are complete.",
|
|
994
|
-
"name": "flow-ui-after-show",
|
|
995
|
-
"reactName": "onFlowUiAfterShow"
|
|
996
|
-
},
|
|
997
|
-
{
|
|
998
|
-
"description": "Emitted when the listbox closes.",
|
|
999
|
-
"name": "flow-ui-hide",
|
|
1000
|
-
"reactName": "onFlowUiHide"
|
|
1001
|
-
},
|
|
1002
|
-
{
|
|
1003
|
-
"description": "Emitted after the listbox closes and all animations are complete.",
|
|
1004
|
-
"name": "flow-ui-after-hide",
|
|
1005
|
-
"reactName": "onFlowUiAfterHide"
|
|
1006
|
-
}
|
|
1007
|
-
],
|
|
1008
|
-
"attributes": [
|
|
1009
|
-
{
|
|
1010
|
-
"name": "size",
|
|
1011
|
-
"type": {
|
|
1012
|
-
"text": "'small' | 'medium' | 'large'"
|
|
1013
|
-
},
|
|
1014
|
-
"default": "'medium'",
|
|
1015
|
-
"description": "The autocomplete's size.",
|
|
1016
|
-
"fieldName": "size"
|
|
1017
|
-
},
|
|
1018
|
-
{
|
|
1019
|
-
"name": "filled",
|
|
1020
|
-
"type": {
|
|
1021
|
-
"text": "boolean"
|
|
1022
|
-
},
|
|
1023
|
-
"default": "false",
|
|
1024
|
-
"description": "Draws a filled autocomplete input.",
|
|
1025
|
-
"fieldName": "filled"
|
|
1026
|
-
},
|
|
1027
|
-
{
|
|
1028
|
-
"name": "pill",
|
|
1029
|
-
"type": {
|
|
1030
|
-
"text": "boolean"
|
|
1031
|
-
},
|
|
1032
|
-
"default": "false",
|
|
1033
|
-
"description": "Draws a pill-style autocomplete input with rounded edges.",
|
|
1034
|
-
"fieldName": "pill"
|
|
1035
|
-
},
|
|
1036
|
-
{
|
|
1037
|
-
"name": "label",
|
|
1038
|
-
"type": {
|
|
1039
|
-
"text": "string"
|
|
1040
|
-
},
|
|
1041
|
-
"default": "''",
|
|
1042
|
-
"description": "The autocomplete's label. If you need to display HTML, use the `label` slot instead.",
|
|
1043
|
-
"fieldName": "label"
|
|
1044
|
-
},
|
|
1045
|
-
{
|
|
1046
|
-
"name": "help-text",
|
|
1047
|
-
"type": {
|
|
1048
|
-
"text": "string"
|
|
1049
|
-
},
|
|
1050
|
-
"default": "''",
|
|
1051
|
-
"description": "The autocomplete's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1052
|
-
"fieldName": "helpText"
|
|
1053
|
-
},
|
|
1054
|
-
{
|
|
1055
|
-
"name": "placeholder",
|
|
1056
|
-
"type": {
|
|
1057
|
-
"text": "string"
|
|
1058
|
-
},
|
|
1059
|
-
"default": "''",
|
|
1060
|
-
"description": "The autocomplete's placeholder text.",
|
|
1061
|
-
"fieldName": "placeholder"
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
"name": "disabled",
|
|
1065
|
-
"type": {
|
|
1066
|
-
"text": "boolean"
|
|
1067
|
-
},
|
|
1068
|
-
"default": "false",
|
|
1069
|
-
"description": "Disables the autocomplete.",
|
|
1070
|
-
"fieldName": "disabled"
|
|
702
|
+
"default": "1000",
|
|
703
|
+
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
704
|
+
"fieldName": "duration"
|
|
1071
705
|
},
|
|
1072
706
|
{
|
|
1073
|
-
"name": "
|
|
707
|
+
"name": "easing",
|
|
1074
708
|
"type": {
|
|
1075
709
|
"text": "string"
|
|
1076
710
|
},
|
|
1077
|
-
"
|
|
1078
|
-
"
|
|
1079
|
-
|
|
1080
|
-
{
|
|
1081
|
-
"name": "required",
|
|
1082
|
-
"type": {
|
|
1083
|
-
"text": "boolean"
|
|
1084
|
-
},
|
|
1085
|
-
"default": "false",
|
|
1086
|
-
"description": "Makes the autocomplete a required field.",
|
|
1087
|
-
"fieldName": "required"
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
"name": "inline",
|
|
1091
|
-
"type": {
|
|
1092
|
-
"text": "boolean"
|
|
1093
|
-
},
|
|
1094
|
-
"default": "false",
|
|
1095
|
-
"description": "Set to `true` to display the autocomplete in the inline form control style.",
|
|
1096
|
-
"fieldName": "inline"
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
"name": "divider",
|
|
1100
|
-
"type": {
|
|
1101
|
-
"text": "boolean"
|
|
1102
|
-
},
|
|
1103
|
-
"default": "false",
|
|
1104
|
-
"description": "Set to `true` to display a divider below the control.",
|
|
1105
|
-
"fieldName": "divider"
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"name": "hoist",
|
|
1109
|
-
"type": {
|
|
1110
|
-
"text": "boolean"
|
|
1111
|
-
},
|
|
1112
|
-
"default": "false",
|
|
1113
|
-
"description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
1114
|
-
"fieldName": "hoist"
|
|
711
|
+
"default": "'linear'",
|
|
712
|
+
"description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
|
|
713
|
+
"fieldName": "easing"
|
|
1115
714
|
},
|
|
1116
715
|
{
|
|
1117
|
-
"name": "
|
|
716
|
+
"name": "end-delay",
|
|
1118
717
|
"type": {
|
|
1119
|
-
"text": "
|
|
718
|
+
"text": "number"
|
|
1120
719
|
},
|
|
1121
|
-
"default": "
|
|
1122
|
-
"description": "The
|
|
1123
|
-
"fieldName": "
|
|
720
|
+
"default": "0",
|
|
721
|
+
"description": "The number of milliseconds to delay after the active period of an animation sequence.",
|
|
722
|
+
"fieldName": "endDelay"
|
|
1124
723
|
},
|
|
1125
724
|
{
|
|
1126
|
-
"name": "
|
|
725
|
+
"name": "fill",
|
|
1127
726
|
"type": {
|
|
1128
|
-
"text": "
|
|
727
|
+
"text": "FillMode"
|
|
1129
728
|
},
|
|
1130
|
-
"default": "''",
|
|
1131
|
-
"description": "
|
|
1132
|
-
"fieldName": "
|
|
729
|
+
"default": "'auto'",
|
|
730
|
+
"description": "Sets how the animation applies styles to its target before and after its execution.",
|
|
731
|
+
"fieldName": "fill"
|
|
1133
732
|
},
|
|
1134
733
|
{
|
|
1135
|
-
"name": "
|
|
1136
|
-
"
|
|
1137
|
-
|
|
734
|
+
"name": "iterations",
|
|
735
|
+
"default": "Infinity",
|
|
736
|
+
"description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
|
|
737
|
+
"resolveInitializer": {
|
|
738
|
+
"module": "src/components/animation/animation.component.ts"
|
|
1138
739
|
},
|
|
1139
|
-
"
|
|
1140
|
-
"fieldName": "displayWith"
|
|
740
|
+
"fieldName": "iterations"
|
|
1141
741
|
},
|
|
1142
742
|
{
|
|
1143
|
-
"name": "
|
|
743
|
+
"name": "iteration-start",
|
|
1144
744
|
"type": {
|
|
1145
745
|
"text": "number"
|
|
1146
746
|
},
|
|
1147
747
|
"default": "0",
|
|
1148
|
-
"description": "The
|
|
1149
|
-
"fieldName": "
|
|
1150
|
-
},
|
|
1151
|
-
{
|
|
1152
|
-
"name": "clearable",
|
|
1153
|
-
"type": {
|
|
1154
|
-
"text": "boolean"
|
|
1155
|
-
},
|
|
1156
|
-
"default": "false",
|
|
1157
|
-
"description": "Set to `true` to show a clear button when the autocomplete has a value.",
|
|
1158
|
-
"fieldName": "clearable"
|
|
748
|
+
"description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
|
|
749
|
+
"fieldName": "iterationStart"
|
|
1159
750
|
},
|
|
1160
751
|
{
|
|
1161
|
-
"name": "
|
|
752
|
+
"name": "playback-rate",
|
|
1162
753
|
"type": {
|
|
1163
|
-
"text": "
|
|
754
|
+
"text": "number"
|
|
1164
755
|
},
|
|
1165
|
-
"default": "
|
|
1166
|
-
"description": "
|
|
1167
|
-
"fieldName": "
|
|
756
|
+
"default": "1",
|
|
757
|
+
"description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
|
|
758
|
+
"fieldName": "playbackRate"
|
|
1168
759
|
}
|
|
1169
760
|
],
|
|
1170
761
|
"superclass": {
|
|
1171
|
-
"name": "
|
|
762
|
+
"name": "FlowRdfElement",
|
|
1172
763
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
1173
764
|
},
|
|
1174
|
-
"tagName": "flow-ui-
|
|
1175
|
-
"summary": "
|
|
1176
|
-
"dependencies": [
|
|
1177
|
-
"flow-ui-divider",
|
|
1178
|
-
"flow-ui-icon",
|
|
1179
|
-
"flow-ui-popup"
|
|
1180
|
-
],
|
|
765
|
+
"tagName": "flow-ui-animation",
|
|
766
|
+
"summary": "Animate elements declaratively with over 100 animation presets. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).",
|
|
1181
767
|
"customElement": true
|
|
1182
768
|
}
|
|
1183
769
|
],
|
|
@@ -1186,53 +772,151 @@
|
|
|
1186
772
|
"kind": "js",
|
|
1187
773
|
"name": "default",
|
|
1188
774
|
"declaration": {
|
|
1189
|
-
"name": "
|
|
1190
|
-
"module": "components/
|
|
775
|
+
"name": "FlowUiAnimation",
|
|
776
|
+
"module": "components/animation/animation.component.js"
|
|
1191
777
|
}
|
|
1192
778
|
}
|
|
1193
779
|
]
|
|
1194
780
|
},
|
|
1195
781
|
{
|
|
1196
782
|
"kind": "javascript-module",
|
|
1197
|
-
"path": "components/
|
|
783
|
+
"path": "components/animation/animation.js",
|
|
1198
784
|
"declarations": [],
|
|
1199
785
|
"exports": [
|
|
1200
786
|
{
|
|
1201
787
|
"kind": "js",
|
|
1202
|
-
"name": "*",
|
|
788
|
+
"name": "*",
|
|
789
|
+
"declaration": {
|
|
790
|
+
"name": "*",
|
|
791
|
+
"package": "./animation.component"
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"kind": "js",
|
|
796
|
+
"name": "default",
|
|
797
|
+
"declaration": {
|
|
798
|
+
"name": "FlowUiAnimation",
|
|
799
|
+
"module": "components/animation/animation.js"
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
]
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"kind": "javascript-module",
|
|
806
|
+
"path": "components/animation/animations.js",
|
|
807
|
+
"declarations": [
|
|
808
|
+
{
|
|
809
|
+
"kind": "function",
|
|
810
|
+
"name": "getAnimationNames",
|
|
811
|
+
"description": "Returns a list of all supported animation names.\n\nSupply the required animation as the `name` property of the\n`<flow-ui-animation>` component."
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"kind": "function",
|
|
815
|
+
"name": "getEasingNames",
|
|
816
|
+
"description": "Returns a list of all supported easing method names.\n\nSupply the required easing method as the `easing` property of the\n`<flow-ui-animation>` component."
|
|
817
|
+
}
|
|
818
|
+
],
|
|
819
|
+
"exports": [
|
|
820
|
+
{
|
|
821
|
+
"kind": "js",
|
|
822
|
+
"name": "animations",
|
|
1203
823
|
"declaration": {
|
|
1204
|
-
"name": "
|
|
1205
|
-
"
|
|
824
|
+
"name": "animations",
|
|
825
|
+
"module": "components/animation/animations.js"
|
|
1206
826
|
}
|
|
1207
827
|
},
|
|
1208
828
|
{
|
|
1209
829
|
"kind": "js",
|
|
1210
|
-
"name": "
|
|
830
|
+
"name": "getAnimationNames",
|
|
1211
831
|
"declaration": {
|
|
1212
|
-
"name": "
|
|
1213
|
-
"module": "components/
|
|
832
|
+
"name": "getAnimationNames",
|
|
833
|
+
"module": "components/animation/animations.js"
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"kind": "js",
|
|
838
|
+
"name": "getEasingNames",
|
|
839
|
+
"declaration": {
|
|
840
|
+
"name": "getEasingNames",
|
|
841
|
+
"module": "components/animation/animations.js"
|
|
1214
842
|
}
|
|
1215
843
|
}
|
|
1216
844
|
]
|
|
1217
845
|
},
|
|
1218
846
|
{
|
|
1219
847
|
"kind": "javascript-module",
|
|
1220
|
-
"path": "components/
|
|
848
|
+
"path": "components/autocomplete/autocomplete.component.js",
|
|
1221
849
|
"declarations": [
|
|
1222
850
|
{
|
|
1223
851
|
"kind": "class",
|
|
1224
|
-
"description": "",
|
|
1225
|
-
"name": "
|
|
852
|
+
"description": "The autocomplete component does not filter its options itself. Listen for the `flow-ui-input` event, read the text\nthat the user has typed with `getInputText()`, and replace the slotted `<flow-ui-option>` elements with the options\nthat match. The autocomplete's value is the option value of the selected option. Use `displayWith` to show a label\nin the input instead of the option value.",
|
|
853
|
+
"name": "FlowUiAutocomplete",
|
|
1226
854
|
"cssParts": [
|
|
1227
855
|
{
|
|
1228
|
-
"description": "The
|
|
1229
|
-
"name": "
|
|
856
|
+
"description": "The form control that wraps the label, input, and help text.",
|
|
857
|
+
"name": "form-control"
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"description": "The label's wrapper.",
|
|
861
|
+
"name": "label"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"description": "The help text's wrapper.",
|
|
865
|
+
"name": "help-text"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"description": "The input's wrapper.",
|
|
869
|
+
"name": "control"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"description": "The container that wraps the prefix, suffix, input and clear button.",
|
|
873
|
+
"name": "combobox"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"description": "The container that wraps the prefix.",
|
|
877
|
+
"name": "prefix"
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"description": "The container that wraps the suffix.",
|
|
881
|
+
"name": "suffix"
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"description": "The text input, an `<input>` element.",
|
|
885
|
+
"name": "display-input"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"description": "The listbox container where options are slotted.",
|
|
889
|
+
"name": "listbox"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"description": "The clear button.",
|
|
893
|
+
"name": "clear-button"
|
|
1230
894
|
}
|
|
1231
895
|
],
|
|
1232
896
|
"slots": [
|
|
1233
897
|
{
|
|
1234
|
-
"description": "The
|
|
898
|
+
"description": "The listbox options. Must be `<flow-ui-option>` elements. You can use `<flow-ui-divider>` to group items visually.",
|
|
1235
899
|
"name": ""
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"description": "The autocomplete's label. Alternatively, you can use the `label` attribute.",
|
|
903
|
+
"name": "label"
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"description": "Used to prepend a presentational icon or similar element to the combobox.",
|
|
907
|
+
"name": "prefix"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"description": "Used to append a presentational icon or similar element to the combobox.",
|
|
911
|
+
"name": "suffix"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"description": "An icon to use in lieu of the default clear icon.",
|
|
915
|
+
"name": "clear-icon"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"description": "Text that describes how to use the autocomplete. Alternatively, you can use the `help-text` attribute.",
|
|
919
|
+
"name": "help-text"
|
|
1236
920
|
}
|
|
1237
921
|
],
|
|
1238
922
|
"members": [
|
|
@@ -1243,534 +927,647 @@
|
|
|
1243
927
|
"text": "string"
|
|
1244
928
|
},
|
|
1245
929
|
"static": true,
|
|
1246
|
-
"default": "'flow-ui-
|
|
930
|
+
"default": "'flow-ui-autocomplete'"
|
|
1247
931
|
},
|
|
1248
932
|
{
|
|
1249
933
|
"kind": "field",
|
|
1250
|
-
"name": "
|
|
934
|
+
"name": "dependencies",
|
|
1251
935
|
"type": {
|
|
1252
|
-
"text": "
|
|
936
|
+
"text": "array"
|
|
1253
937
|
},
|
|
1254
|
-
"
|
|
1255
|
-
"
|
|
1256
|
-
"attribute": "variant",
|
|
1257
|
-
"reflects": true
|
|
938
|
+
"static": true,
|
|
939
|
+
"default": "[FlowUiDivider, FlowIcon, FlowPopup]"
|
|
1258
940
|
},
|
|
1259
941
|
{
|
|
1260
942
|
"kind": "field",
|
|
1261
|
-
"name": "
|
|
1262
|
-
"
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
"default": "'medium'",
|
|
1266
|
-
"description": "The badge size.",
|
|
1267
|
-
"attribute": "size",
|
|
1268
|
-
"reflects": true
|
|
943
|
+
"name": "hasSlotController",
|
|
944
|
+
"privacy": "private",
|
|
945
|
+
"readonly": true,
|
|
946
|
+
"default": "new HasSlotController(this, 'help-text', 'label')"
|
|
1269
947
|
},
|
|
1270
948
|
{
|
|
1271
949
|
"kind": "field",
|
|
1272
|
-
"name": "
|
|
950
|
+
"name": "localize",
|
|
951
|
+
"privacy": "private",
|
|
952
|
+
"readonly": true,
|
|
953
|
+
"default": "new LocalizeController(this)"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"kind": "field",
|
|
957
|
+
"name": "pendingChangeEvent",
|
|
1273
958
|
"type": {
|
|
1274
959
|
"text": "boolean"
|
|
1275
960
|
},
|
|
1276
|
-
"
|
|
1277
|
-
"
|
|
1278
|
-
"attribute": "pill",
|
|
1279
|
-
"reflects": true
|
|
961
|
+
"privacy": "private",
|
|
962
|
+
"default": "false"
|
|
1280
963
|
},
|
|
1281
964
|
{
|
|
1282
965
|
"kind": "field",
|
|
1283
|
-
"name": "
|
|
966
|
+
"name": "pendingInputEvent",
|
|
1284
967
|
"type": {
|
|
1285
968
|
"text": "boolean"
|
|
1286
969
|
},
|
|
1287
|
-
"
|
|
1288
|
-
"
|
|
1289
|
-
|
|
1290
|
-
"reflects": true
|
|
1291
|
-
}
|
|
1292
|
-
],
|
|
1293
|
-
"attributes": [
|
|
970
|
+
"privacy": "private",
|
|
971
|
+
"default": "false"
|
|
972
|
+
},
|
|
1294
973
|
{
|
|
1295
|
-
"
|
|
974
|
+
"kind": "field",
|
|
975
|
+
"name": "hasOptions",
|
|
1296
976
|
"type": {
|
|
1297
|
-
"text": "
|
|
977
|
+
"text": "boolean"
|
|
1298
978
|
},
|
|
1299
|
-
"
|
|
1300
|
-
"
|
|
1301
|
-
|
|
979
|
+
"privacy": "private",
|
|
980
|
+
"default": "false"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"kind": "field",
|
|
984
|
+
"name": "formControlController",
|
|
985
|
+
"privacy": "private",
|
|
986
|
+
"readonly": true,
|
|
987
|
+
"default": "new FormControlController(this, {\n assumeInteractionOn: ['flow-ui-blur', 'flow-ui-input']\n })"
|
|
1302
988
|
},
|
|
1303
989
|
{
|
|
990
|
+
"kind": "field",
|
|
1304
991
|
"name": "size",
|
|
1305
992
|
"type": {
|
|
1306
993
|
"text": "'small' | 'medium' | 'large'"
|
|
1307
994
|
},
|
|
1308
995
|
"default": "'medium'",
|
|
1309
|
-
"description": "The
|
|
1310
|
-
"
|
|
996
|
+
"description": "The autocomplete's size.",
|
|
997
|
+
"attribute": "size",
|
|
998
|
+
"reflects": true
|
|
1311
999
|
},
|
|
1312
1000
|
{
|
|
1313
|
-
"
|
|
1001
|
+
"kind": "field",
|
|
1002
|
+
"name": "filled",
|
|
1314
1003
|
"type": {
|
|
1315
1004
|
"text": "boolean"
|
|
1316
1005
|
},
|
|
1317
1006
|
"default": "false",
|
|
1318
|
-
"description": "Draws a
|
|
1319
|
-
"
|
|
1007
|
+
"description": "Draws a filled autocomplete input.",
|
|
1008
|
+
"attribute": "filled",
|
|
1009
|
+
"reflects": true
|
|
1320
1010
|
},
|
|
1321
1011
|
{
|
|
1322
|
-
"
|
|
1012
|
+
"kind": "field",
|
|
1013
|
+
"name": "pill",
|
|
1323
1014
|
"type": {
|
|
1324
1015
|
"text": "boolean"
|
|
1325
1016
|
},
|
|
1326
1017
|
"default": "false",
|
|
1327
|
-
"description": "
|
|
1328
|
-
"
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
"superclass": {
|
|
1332
|
-
"name": "FlowRdfElement",
|
|
1333
|
-
"module": "/src/internal/flow-ui-rdf-element"
|
|
1334
|
-
},
|
|
1335
|
-
"tagName": "flow-ui-badge",
|
|
1336
|
-
"summary": "Badges are used to draw attention and display statuses or counts.",
|
|
1337
|
-
"customElement": true
|
|
1338
|
-
}
|
|
1339
|
-
],
|
|
1340
|
-
"exports": [
|
|
1341
|
-
{
|
|
1342
|
-
"kind": "js",
|
|
1343
|
-
"name": "default",
|
|
1344
|
-
"declaration": {
|
|
1345
|
-
"name": "FlowUiBadge",
|
|
1346
|
-
"module": "components/badge/badge.component.js"
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
1349
|
-
]
|
|
1350
|
-
},
|
|
1351
|
-
{
|
|
1352
|
-
"kind": "javascript-module",
|
|
1353
|
-
"path": "components/badge/badge.js",
|
|
1354
|
-
"declarations": [],
|
|
1355
|
-
"exports": [
|
|
1356
|
-
{
|
|
1357
|
-
"kind": "js",
|
|
1358
|
-
"name": "default",
|
|
1359
|
-
"declaration": {
|
|
1360
|
-
"name": "FlowUiBadge",
|
|
1361
|
-
"module": "components/badge/badge.js"
|
|
1362
|
-
}
|
|
1363
|
-
}
|
|
1364
|
-
]
|
|
1365
|
-
},
|
|
1366
|
-
{
|
|
1367
|
-
"kind": "javascript-module",
|
|
1368
|
-
"path": "components/animation/animation.component.js",
|
|
1369
|
-
"declarations": [
|
|
1370
|
-
{
|
|
1371
|
-
"kind": "class",
|
|
1372
|
-
"description": "",
|
|
1373
|
-
"name": "FlowUiAnimation",
|
|
1374
|
-
"slots": [
|
|
1018
|
+
"description": "Draws a pill-style autocomplete input with rounded edges.",
|
|
1019
|
+
"attribute": "pill",
|
|
1020
|
+
"reflects": true
|
|
1021
|
+
},
|
|
1375
1022
|
{
|
|
1376
|
-
"
|
|
1377
|
-
"name": ""
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1023
|
+
"kind": "field",
|
|
1024
|
+
"name": "label",
|
|
1025
|
+
"type": {
|
|
1026
|
+
"text": "string"
|
|
1027
|
+
},
|
|
1028
|
+
"default": "''",
|
|
1029
|
+
"description": "The autocomplete's label. If you need to display HTML, use the `label` slot instead.",
|
|
1030
|
+
"attribute": "label"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"kind": "field",
|
|
1034
|
+
"name": "helpText",
|
|
1035
|
+
"type": {
|
|
1036
|
+
"text": "string"
|
|
1037
|
+
},
|
|
1038
|
+
"default": "''",
|
|
1039
|
+
"description": "The autocomplete's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1040
|
+
"attribute": "help-text"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"kind": "field",
|
|
1044
|
+
"name": "placeholder",
|
|
1045
|
+
"type": {
|
|
1046
|
+
"text": "string"
|
|
1047
|
+
},
|
|
1048
|
+
"default": "''",
|
|
1049
|
+
"description": "The autocomplete's placeholder text.",
|
|
1050
|
+
"attribute": "placeholder"
|
|
1051
|
+
},
|
|
1381
1052
|
{
|
|
1382
1053
|
"kind": "field",
|
|
1383
|
-
"name": "
|
|
1054
|
+
"name": "disabled",
|
|
1384
1055
|
"type": {
|
|
1385
|
-
"text": "
|
|
1056
|
+
"text": "boolean"
|
|
1386
1057
|
},
|
|
1387
|
-
"
|
|
1388
|
-
"
|
|
1058
|
+
"default": "false",
|
|
1059
|
+
"description": "Disables the autocomplete.",
|
|
1060
|
+
"attribute": "disabled",
|
|
1061
|
+
"reflects": true
|
|
1389
1062
|
},
|
|
1390
1063
|
{
|
|
1391
1064
|
"kind": "field",
|
|
1392
|
-
"name": "
|
|
1065
|
+
"name": "form",
|
|
1393
1066
|
"type": {
|
|
1394
|
-
"text": "
|
|
1067
|
+
"text": "string"
|
|
1395
1068
|
},
|
|
1396
|
-
"
|
|
1069
|
+
"description": "The \"form owner\" to associate the autocomplete with. If omitted, the closest containing form will be used\ninstead. The value of this attribute must be an id of a form in the same document or shadow root as the\nautocomplete.",
|
|
1070
|
+
"attribute": "form"
|
|
1397
1071
|
},
|
|
1398
1072
|
{
|
|
1399
1073
|
"kind": "field",
|
|
1400
|
-
"name": "
|
|
1074
|
+
"name": "required",
|
|
1401
1075
|
"type": {
|
|
1402
1076
|
"text": "boolean"
|
|
1403
1077
|
},
|
|
1404
|
-
"
|
|
1405
|
-
"
|
|
1078
|
+
"default": "false",
|
|
1079
|
+
"description": "Makes the autocomplete a required field.",
|
|
1080
|
+
"attribute": "required",
|
|
1081
|
+
"reflects": true
|
|
1406
1082
|
},
|
|
1407
1083
|
{
|
|
1408
1084
|
"kind": "field",
|
|
1409
|
-
"name": "
|
|
1085
|
+
"name": "inline",
|
|
1410
1086
|
"type": {
|
|
1411
|
-
"text": "
|
|
1087
|
+
"text": "boolean"
|
|
1412
1088
|
},
|
|
1413
|
-
"
|
|
1089
|
+
"default": "false",
|
|
1090
|
+
"description": "Set to `true` to display the autocomplete in the inline form control style.",
|
|
1091
|
+
"attribute": "inline",
|
|
1092
|
+
"reflects": true
|
|
1414
1093
|
},
|
|
1415
1094
|
{
|
|
1416
1095
|
"kind": "field",
|
|
1417
|
-
"name": "
|
|
1096
|
+
"name": "divider",
|
|
1418
1097
|
"type": {
|
|
1419
|
-
"text": "
|
|
1098
|
+
"text": "boolean"
|
|
1420
1099
|
},
|
|
1421
|
-
"default": "
|
|
1422
|
-
"description": "
|
|
1423
|
-
"attribute": "
|
|
1100
|
+
"default": "false",
|
|
1101
|
+
"description": "Set to `true` to display a divider below the control.",
|
|
1102
|
+
"attribute": "divider",
|
|
1103
|
+
"reflects": true
|
|
1424
1104
|
},
|
|
1425
1105
|
{
|
|
1426
1106
|
"kind": "field",
|
|
1427
|
-
"name": "
|
|
1107
|
+
"name": "hoist",
|
|
1428
1108
|
"type": {
|
|
1429
1109
|
"text": "boolean"
|
|
1430
1110
|
},
|
|
1431
1111
|
"default": "false",
|
|
1432
|
-
"description": "
|
|
1433
|
-
"attribute": "
|
|
1112
|
+
"description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
1113
|
+
"attribute": "hoist"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"kind": "field",
|
|
1117
|
+
"name": "placement",
|
|
1118
|
+
"type": {
|
|
1119
|
+
"text": "'top' | 'bottom'"
|
|
1120
|
+
},
|
|
1121
|
+
"default": "'bottom'",
|
|
1122
|
+
"description": "The preferred placement of the autocomplete's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
|
|
1123
|
+
"attribute": "placement",
|
|
1434
1124
|
"reflects": true
|
|
1435
1125
|
},
|
|
1436
1126
|
{
|
|
1437
1127
|
"kind": "field",
|
|
1438
|
-
"name": "
|
|
1128
|
+
"name": "value",
|
|
1439
1129
|
"type": {
|
|
1440
|
-
"text": "
|
|
1130
|
+
"text": "string"
|
|
1441
1131
|
},
|
|
1442
|
-
"default": "
|
|
1443
|
-
"description": "The
|
|
1444
|
-
"attribute": "
|
|
1132
|
+
"default": "''",
|
|
1133
|
+
"description": "The option value of the selected option.",
|
|
1134
|
+
"attribute": "value"
|
|
1445
1135
|
},
|
|
1446
1136
|
{
|
|
1447
1137
|
"kind": "field",
|
|
1448
|
-
"name": "
|
|
1138
|
+
"name": "displayWith",
|
|
1449
1139
|
"type": {
|
|
1450
|
-
"text": "
|
|
1140
|
+
"text": "((value: string) => string) | ((value: string) => Promise<string>)"
|
|
1451
1141
|
},
|
|
1452
|
-
"
|
|
1453
|
-
"
|
|
1454
|
-
"attribute": "direction"
|
|
1142
|
+
"description": "The function that returns the text to show in the input for a given `value`. It can return a promise. If not set,\nthe input shows the value itself.",
|
|
1143
|
+
"attribute": "displayWith"
|
|
1455
1144
|
},
|
|
1456
1145
|
{
|
|
1457
1146
|
"kind": "field",
|
|
1458
|
-
"name": "
|
|
1147
|
+
"name": "debounceDelay",
|
|
1459
1148
|
"type": {
|
|
1460
1149
|
"text": "number"
|
|
1461
1150
|
},
|
|
1462
|
-
"default": "
|
|
1463
|
-
"description": "The
|
|
1464
|
-
"attribute": "
|
|
1151
|
+
"default": "0",
|
|
1152
|
+
"description": "The delay in milliseconds between the user's last keystroke and the `flow-ui-input` event.",
|
|
1153
|
+
"attribute": "debounce-delay",
|
|
1154
|
+
"reflects": true
|
|
1465
1155
|
},
|
|
1466
1156
|
{
|
|
1467
1157
|
"kind": "field",
|
|
1468
|
-
"name": "
|
|
1158
|
+
"name": "clearable",
|
|
1469
1159
|
"type": {
|
|
1470
|
-
"text": "
|
|
1160
|
+
"text": "boolean"
|
|
1471
1161
|
},
|
|
1472
|
-
"default": "
|
|
1473
|
-
"description": "
|
|
1474
|
-
"attribute": "
|
|
1162
|
+
"default": "false",
|
|
1163
|
+
"description": "Set to `true` to show a clear button when the autocomplete has a value.",
|
|
1164
|
+
"attribute": "clearable",
|
|
1165
|
+
"reflects": true
|
|
1475
1166
|
},
|
|
1476
1167
|
{
|
|
1477
1168
|
"kind": "field",
|
|
1478
|
-
"name": "
|
|
1169
|
+
"name": "clearOnFocus",
|
|
1479
1170
|
"type": {
|
|
1480
|
-
"text": "
|
|
1171
|
+
"text": "boolean"
|
|
1481
1172
|
},
|
|
1482
|
-
"default": "
|
|
1483
|
-
"description": "
|
|
1484
|
-
"attribute": "
|
|
1173
|
+
"default": "false",
|
|
1174
|
+
"description": "Set to `true` to clear the value when the autocomplete gains focus.",
|
|
1175
|
+
"attribute": "clear-on-focus",
|
|
1176
|
+
"reflects": true
|
|
1485
1177
|
},
|
|
1486
1178
|
{
|
|
1487
1179
|
"kind": "field",
|
|
1488
|
-
"name": "
|
|
1180
|
+
"name": "inputText",
|
|
1489
1181
|
"type": {
|
|
1490
|
-
"text": "
|
|
1182
|
+
"text": "string"
|
|
1491
1183
|
},
|
|
1492
|
-
"
|
|
1493
|
-
"
|
|
1494
|
-
"
|
|
1184
|
+
"privacy": "private",
|
|
1185
|
+
"default": "''",
|
|
1186
|
+
"description": "Current value displayed by the control; this can be what the user is typing or the label of the selected option"
|
|
1495
1187
|
},
|
|
1496
1188
|
{
|
|
1497
1189
|
"kind": "field",
|
|
1498
|
-
"name": "
|
|
1499
|
-
"
|
|
1500
|
-
|
|
1501
|
-
|
|
1190
|
+
"name": "selectedOption",
|
|
1191
|
+
"type": {
|
|
1192
|
+
"text": "FlowOption | null"
|
|
1193
|
+
},
|
|
1194
|
+
"privacy": "private",
|
|
1195
|
+
"default": "null"
|
|
1502
1196
|
},
|
|
1503
1197
|
{
|
|
1504
1198
|
"kind": "field",
|
|
1505
|
-
"name": "
|
|
1199
|
+
"name": "currentOption",
|
|
1506
1200
|
"type": {
|
|
1507
|
-
"text": "
|
|
1201
|
+
"text": "FlowOption | null"
|
|
1508
1202
|
},
|
|
1509
|
-
"
|
|
1510
|
-
"
|
|
1511
|
-
"attribute": "iteration-start"
|
|
1203
|
+
"privacy": "private",
|
|
1204
|
+
"default": "null"
|
|
1512
1205
|
},
|
|
1513
1206
|
{
|
|
1514
1207
|
"kind": "field",
|
|
1515
|
-
"name": "
|
|
1208
|
+
"name": "input",
|
|
1516
1209
|
"type": {
|
|
1517
|
-
"text": "
|
|
1210
|
+
"text": "HTMLInputElement"
|
|
1518
1211
|
},
|
|
1519
|
-
"
|
|
1212
|
+
"privacy": "private"
|
|
1520
1213
|
},
|
|
1521
1214
|
{
|
|
1522
1215
|
"kind": "field",
|
|
1523
|
-
"name": "
|
|
1216
|
+
"name": "popup",
|
|
1524
1217
|
"type": {
|
|
1525
|
-
"text": "
|
|
1218
|
+
"text": "FlowPopup"
|
|
1526
1219
|
},
|
|
1527
|
-
"
|
|
1528
|
-
"description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
|
|
1529
|
-
"attribute": "playback-rate"
|
|
1220
|
+
"privacy": "private"
|
|
1530
1221
|
},
|
|
1531
1222
|
{
|
|
1532
1223
|
"kind": "field",
|
|
1533
|
-
"name": "
|
|
1224
|
+
"name": "listbox",
|
|
1534
1225
|
"type": {
|
|
1535
|
-
"text": "
|
|
1226
|
+
"text": "HTMLElement"
|
|
1536
1227
|
},
|
|
1537
|
-
"
|
|
1228
|
+
"privacy": "private"
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
"kind": "method",
|
|
1232
|
+
"name": "getForm",
|
|
1233
|
+
"return": {
|
|
1234
|
+
"type": {
|
|
1235
|
+
"text": "HTMLFormElement | null"
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"description": "Gets the associated form, if one exists."
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
"kind": "field",
|
|
1242
|
+
"name": "validity",
|
|
1243
|
+
"description": "Gets the validity state object.",
|
|
1244
|
+
"readonly": true
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"kind": "field",
|
|
1248
|
+
"name": "validationMessage",
|
|
1249
|
+
"description": "Gets the validation message.",
|
|
1250
|
+
"readonly": true
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"kind": "method",
|
|
1254
|
+
"name": "checkValidity",
|
|
1255
|
+
"return": {
|
|
1256
|
+
"type": {
|
|
1257
|
+
"text": "boolean"
|
|
1258
|
+
}
|
|
1259
|
+
},
|
|
1260
|
+
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"kind": "method",
|
|
1264
|
+
"name": "reportValidity",
|
|
1265
|
+
"return": {
|
|
1266
|
+
"type": {
|
|
1267
|
+
"text": "boolean"
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1270
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"kind": "method",
|
|
1274
|
+
"name": "setCustomValidity",
|
|
1275
|
+
"parameters": [
|
|
1276
|
+
{
|
|
1277
|
+
"name": "_",
|
|
1278
|
+
"type": {
|
|
1279
|
+
"text": "string"
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
],
|
|
1283
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"kind": "method",
|
|
1287
|
+
"name": "handleClearClick",
|
|
1288
|
+
"parameters": [
|
|
1289
|
+
{
|
|
1290
|
+
"name": "event",
|
|
1291
|
+
"type": {
|
|
1292
|
+
"text": "MouseEvent"
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
]
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"kind": "method",
|
|
1299
|
+
"name": "focus",
|
|
1300
|
+
"description": "Focuses on the control"
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
"kind": "method",
|
|
1304
|
+
"name": "blur",
|
|
1305
|
+
"description": "Blurs from the control."
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"kind": "method",
|
|
1309
|
+
"name": "show",
|
|
1310
|
+
"description": "Shows the listbox."
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"kind": "method",
|
|
1314
|
+
"name": "hide",
|
|
1315
|
+
"description": "Hides the listbox."
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"kind": "method",
|
|
1319
|
+
"name": "getInputText",
|
|
1320
|
+
"description": "Gets the current value of the text input"
|
|
1321
|
+
}
|
|
1322
|
+
],
|
|
1323
|
+
"events": [
|
|
1324
|
+
{
|
|
1325
|
+
"description": "Emitted when the input text changes. When the user types, the event is emitted after the `debounce-delay`. Call `getInputText()` to read the text, for example to update the options.",
|
|
1326
|
+
"name": "flow-ui-input",
|
|
1327
|
+
"reactName": "onFlowUiInput"
|
|
1538
1328
|
},
|
|
1539
1329
|
{
|
|
1540
|
-
"
|
|
1541
|
-
"name": "
|
|
1542
|
-
"
|
|
1330
|
+
"description": "Emitted when the autocomplete's value changes.",
|
|
1331
|
+
"name": "flow-ui-change",
|
|
1332
|
+
"reactName": "onFlowUiChange"
|
|
1543
1333
|
},
|
|
1544
1334
|
{
|
|
1545
|
-
"
|
|
1546
|
-
"name": "
|
|
1547
|
-
"
|
|
1335
|
+
"description": "Emitted when the autocomplete gains focus.",
|
|
1336
|
+
"name": "flow-ui-focus",
|
|
1337
|
+
"reactName": "onFlowUiFocus"
|
|
1548
1338
|
},
|
|
1549
1339
|
{
|
|
1550
|
-
"
|
|
1551
|
-
"name": "
|
|
1552
|
-
"
|
|
1340
|
+
"description": "Emitted when the autocomplete loses focus.",
|
|
1341
|
+
"name": "flow-ui-blur",
|
|
1342
|
+
"reactName": "onFlowUiBlur"
|
|
1553
1343
|
},
|
|
1554
1344
|
{
|
|
1555
|
-
"
|
|
1556
|
-
"name": "
|
|
1557
|
-
"
|
|
1345
|
+
"description": "Emitted when the listbox opens.",
|
|
1346
|
+
"name": "flow-ui-show",
|
|
1347
|
+
"reactName": "onFlowUiShow"
|
|
1558
1348
|
},
|
|
1559
1349
|
{
|
|
1560
|
-
"
|
|
1561
|
-
"name": "
|
|
1562
|
-
"
|
|
1350
|
+
"description": "Emitted after the listbox opens and all animations are complete.",
|
|
1351
|
+
"name": "flow-ui-after-show",
|
|
1352
|
+
"reactName": "onFlowUiAfterShow"
|
|
1563
1353
|
},
|
|
1564
1354
|
{
|
|
1565
|
-
"
|
|
1566
|
-
"name": "
|
|
1567
|
-
"
|
|
1355
|
+
"description": "Emitted when the listbox closes.",
|
|
1356
|
+
"name": "flow-ui-hide",
|
|
1357
|
+
"reactName": "onFlowUiHide"
|
|
1568
1358
|
},
|
|
1569
1359
|
{
|
|
1570
|
-
"
|
|
1571
|
-
"name": "
|
|
1572
|
-
"
|
|
1360
|
+
"description": "Emitted after the listbox closes and all animations are complete.",
|
|
1361
|
+
"name": "flow-ui-after-hide",
|
|
1362
|
+
"reactName": "onFlowUiAfterHide"
|
|
1573
1363
|
}
|
|
1574
1364
|
],
|
|
1575
|
-
"
|
|
1365
|
+
"attributes": [
|
|
1576
1366
|
{
|
|
1577
|
-
"
|
|
1578
|
-
"
|
|
1579
|
-
|
|
1367
|
+
"name": "size",
|
|
1368
|
+
"type": {
|
|
1369
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1370
|
+
},
|
|
1371
|
+
"default": "'medium'",
|
|
1372
|
+
"description": "The autocomplete's size.",
|
|
1373
|
+
"fieldName": "size"
|
|
1580
1374
|
},
|
|
1581
1375
|
{
|
|
1582
|
-
"
|
|
1583
|
-
"
|
|
1584
|
-
|
|
1376
|
+
"name": "filled",
|
|
1377
|
+
"type": {
|
|
1378
|
+
"text": "boolean"
|
|
1379
|
+
},
|
|
1380
|
+
"default": "false",
|
|
1381
|
+
"description": "Draws a filled autocomplete input.",
|
|
1382
|
+
"fieldName": "filled"
|
|
1585
1383
|
},
|
|
1586
1384
|
{
|
|
1587
|
-
"
|
|
1588
|
-
"
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1385
|
+
"name": "pill",
|
|
1386
|
+
"type": {
|
|
1387
|
+
"text": "boolean"
|
|
1388
|
+
},
|
|
1389
|
+
"default": "false",
|
|
1390
|
+
"description": "Draws a pill-style autocomplete input with rounded edges.",
|
|
1391
|
+
"fieldName": "pill"
|
|
1392
|
+
},
|
|
1593
1393
|
{
|
|
1594
|
-
"name": "
|
|
1394
|
+
"name": "label",
|
|
1595
1395
|
"type": {
|
|
1596
1396
|
"text": "string"
|
|
1597
1397
|
},
|
|
1598
|
-
"default": "'
|
|
1599
|
-
"description": "The
|
|
1600
|
-
"fieldName": "
|
|
1398
|
+
"default": "''",
|
|
1399
|
+
"description": "The autocomplete's label. If you need to display HTML, use the `label` slot instead.",
|
|
1400
|
+
"fieldName": "label"
|
|
1601
1401
|
},
|
|
1602
1402
|
{
|
|
1603
|
-
"name": "
|
|
1403
|
+
"name": "help-text",
|
|
1404
|
+
"type": {
|
|
1405
|
+
"text": "string"
|
|
1406
|
+
},
|
|
1407
|
+
"default": "''",
|
|
1408
|
+
"description": "The autocomplete's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1409
|
+
"fieldName": "helpText"
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
"name": "placeholder",
|
|
1413
|
+
"type": {
|
|
1414
|
+
"text": "string"
|
|
1415
|
+
},
|
|
1416
|
+
"default": "''",
|
|
1417
|
+
"description": "The autocomplete's placeholder text.",
|
|
1418
|
+
"fieldName": "placeholder"
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"name": "disabled",
|
|
1604
1422
|
"type": {
|
|
1605
1423
|
"text": "boolean"
|
|
1606
1424
|
},
|
|
1607
1425
|
"default": "false",
|
|
1608
|
-
"description": "
|
|
1609
|
-
"fieldName": "
|
|
1426
|
+
"description": "Disables the autocomplete.",
|
|
1427
|
+
"fieldName": "disabled"
|
|
1610
1428
|
},
|
|
1611
1429
|
{
|
|
1612
|
-
"name": "
|
|
1430
|
+
"name": "form",
|
|
1613
1431
|
"type": {
|
|
1614
|
-
"text": "
|
|
1432
|
+
"text": "string"
|
|
1615
1433
|
},
|
|
1616
|
-
"
|
|
1617
|
-
"
|
|
1618
|
-
"fieldName": "delay"
|
|
1434
|
+
"description": "The \"form owner\" to associate the autocomplete with. If omitted, the closest containing form will be used\ninstead. The value of this attribute must be an id of a form in the same document or shadow root as the\nautocomplete.",
|
|
1435
|
+
"fieldName": "form"
|
|
1619
1436
|
},
|
|
1620
1437
|
{
|
|
1621
|
-
"name": "
|
|
1438
|
+
"name": "required",
|
|
1622
1439
|
"type": {
|
|
1623
|
-
"text": "
|
|
1440
|
+
"text": "boolean"
|
|
1624
1441
|
},
|
|
1625
|
-
"default": "
|
|
1626
|
-
"description": "
|
|
1627
|
-
"fieldName": "
|
|
1442
|
+
"default": "false",
|
|
1443
|
+
"description": "Makes the autocomplete a required field.",
|
|
1444
|
+
"fieldName": "required"
|
|
1628
1445
|
},
|
|
1629
1446
|
{
|
|
1630
|
-
"name": "
|
|
1447
|
+
"name": "inline",
|
|
1631
1448
|
"type": {
|
|
1632
|
-
"text": "
|
|
1449
|
+
"text": "boolean"
|
|
1633
1450
|
},
|
|
1634
|
-
"default": "
|
|
1635
|
-
"description": "
|
|
1636
|
-
"fieldName": "
|
|
1451
|
+
"default": "false",
|
|
1452
|
+
"description": "Set to `true` to display the autocomplete in the inline form control style.",
|
|
1453
|
+
"fieldName": "inline"
|
|
1637
1454
|
},
|
|
1638
1455
|
{
|
|
1639
|
-
"name": "
|
|
1456
|
+
"name": "divider",
|
|
1640
1457
|
"type": {
|
|
1641
|
-
"text": "
|
|
1458
|
+
"text": "boolean"
|
|
1642
1459
|
},
|
|
1643
|
-
"default": "
|
|
1644
|
-
"description": "
|
|
1645
|
-
"fieldName": "
|
|
1460
|
+
"default": "false",
|
|
1461
|
+
"description": "Set to `true` to display a divider below the control.",
|
|
1462
|
+
"fieldName": "divider"
|
|
1646
1463
|
},
|
|
1647
1464
|
{
|
|
1648
|
-
"name": "
|
|
1465
|
+
"name": "hoist",
|
|
1649
1466
|
"type": {
|
|
1650
|
-
"text": "
|
|
1467
|
+
"text": "boolean"
|
|
1651
1468
|
},
|
|
1652
|
-
"default": "
|
|
1653
|
-
"description": "
|
|
1654
|
-
"fieldName": "
|
|
1469
|
+
"default": "false",
|
|
1470
|
+
"description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
1471
|
+
"fieldName": "hoist"
|
|
1655
1472
|
},
|
|
1656
1473
|
{
|
|
1657
|
-
"name": "
|
|
1474
|
+
"name": "placement",
|
|
1658
1475
|
"type": {
|
|
1659
|
-
"text": "
|
|
1476
|
+
"text": "'top' | 'bottom'"
|
|
1660
1477
|
},
|
|
1661
|
-
"default": "'
|
|
1662
|
-
"description": "
|
|
1663
|
-
"fieldName": "
|
|
1478
|
+
"default": "'bottom'",
|
|
1479
|
+
"description": "The preferred placement of the autocomplete's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
|
|
1480
|
+
"fieldName": "placement"
|
|
1664
1481
|
},
|
|
1665
1482
|
{
|
|
1666
|
-
"name": "
|
|
1667
|
-
"
|
|
1668
|
-
|
|
1669
|
-
"resolveInitializer": {
|
|
1670
|
-
"module": "src/components/animation/animation.component.ts"
|
|
1483
|
+
"name": "value",
|
|
1484
|
+
"type": {
|
|
1485
|
+
"text": "string"
|
|
1671
1486
|
},
|
|
1672
|
-
"
|
|
1487
|
+
"default": "''",
|
|
1488
|
+
"description": "The option value of the selected option.",
|
|
1489
|
+
"fieldName": "value"
|
|
1673
1490
|
},
|
|
1674
1491
|
{
|
|
1675
|
-
"name": "
|
|
1492
|
+
"name": "displayWith",
|
|
1493
|
+
"type": {
|
|
1494
|
+
"text": "((value: string) => string) | ((value: string) => Promise<string>)"
|
|
1495
|
+
},
|
|
1496
|
+
"description": "The function that returns the text to show in the input for a given `value`. It can return a promise. If not set,\nthe input shows the value itself.",
|
|
1497
|
+
"fieldName": "displayWith"
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"name": "debounce-delay",
|
|
1676
1501
|
"type": {
|
|
1677
1502
|
"text": "number"
|
|
1678
1503
|
},
|
|
1679
1504
|
"default": "0",
|
|
1680
|
-
"description": "The
|
|
1681
|
-
"fieldName": "
|
|
1505
|
+
"description": "The delay in milliseconds between the user's last keystroke and the `flow-ui-input` event.",
|
|
1506
|
+
"fieldName": "debounceDelay"
|
|
1682
1507
|
},
|
|
1683
1508
|
{
|
|
1684
|
-
"name": "
|
|
1509
|
+
"name": "clearable",
|
|
1685
1510
|
"type": {
|
|
1686
|
-
"text": "
|
|
1511
|
+
"text": "boolean"
|
|
1687
1512
|
},
|
|
1688
|
-
"default": "
|
|
1689
|
-
"description": "
|
|
1690
|
-
"fieldName": "
|
|
1513
|
+
"default": "false",
|
|
1514
|
+
"description": "Set to `true` to show a clear button when the autocomplete has a value.",
|
|
1515
|
+
"fieldName": "clearable"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"name": "clear-on-focus",
|
|
1519
|
+
"type": {
|
|
1520
|
+
"text": "boolean"
|
|
1521
|
+
},
|
|
1522
|
+
"default": "false",
|
|
1523
|
+
"description": "Set to `true` to clear the value when the autocomplete gains focus.",
|
|
1524
|
+
"fieldName": "clearOnFocus"
|
|
1691
1525
|
}
|
|
1692
1526
|
],
|
|
1693
1527
|
"superclass": {
|
|
1694
|
-
"name": "
|
|
1528
|
+
"name": "FlowRdfFormControl",
|
|
1695
1529
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
1696
1530
|
},
|
|
1697
|
-
"tagName": "flow-ui-
|
|
1698
|
-
"summary": "
|
|
1699
|
-
"
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
"
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
"module": "components/animation/animation.component.js"
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
]
|
|
1712
|
-
},
|
|
1713
|
-
{
|
|
1714
|
-
"kind": "javascript-module",
|
|
1715
|
-
"path": "components/animation/animation.js",
|
|
1716
|
-
"declarations": [],
|
|
1717
|
-
"exports": [
|
|
1718
|
-
{
|
|
1719
|
-
"kind": "js",
|
|
1720
|
-
"name": "*",
|
|
1721
|
-
"declaration": {
|
|
1722
|
-
"name": "*",
|
|
1723
|
-
"package": "./animation.component"
|
|
1724
|
-
}
|
|
1725
|
-
},
|
|
1531
|
+
"tagName": "flow-ui-autocomplete",
|
|
1532
|
+
"summary": "Autocompletes allow users to type into a text input and choose a value from a list of suggested [options](./flow-ui-option).",
|
|
1533
|
+
"dependencies": [
|
|
1534
|
+
"flow-ui-divider",
|
|
1535
|
+
"flow-ui-icon",
|
|
1536
|
+
"flow-ui-popup"
|
|
1537
|
+
],
|
|
1538
|
+
"customElement": true
|
|
1539
|
+
}
|
|
1540
|
+
],
|
|
1541
|
+
"exports": [
|
|
1726
1542
|
{
|
|
1727
1543
|
"kind": "js",
|
|
1728
1544
|
"name": "default",
|
|
1729
1545
|
"declaration": {
|
|
1730
|
-
"name": "
|
|
1731
|
-
"module": "components/
|
|
1546
|
+
"name": "FlowUiAutocomplete",
|
|
1547
|
+
"module": "components/autocomplete/autocomplete.component.js"
|
|
1732
1548
|
}
|
|
1733
1549
|
}
|
|
1734
1550
|
]
|
|
1735
1551
|
},
|
|
1736
1552
|
{
|
|
1737
1553
|
"kind": "javascript-module",
|
|
1738
|
-
"path": "components/
|
|
1739
|
-
"declarations": [
|
|
1740
|
-
{
|
|
1741
|
-
"kind": "function",
|
|
1742
|
-
"name": "getAnimationNames",
|
|
1743
|
-
"description": "Returns a list of all supported animation names.\n\nSupply the required animation as the `name` property of the\n`<flow-ui-animation>` component."
|
|
1744
|
-
},
|
|
1745
|
-
{
|
|
1746
|
-
"kind": "function",
|
|
1747
|
-
"name": "getEasingNames",
|
|
1748
|
-
"description": "Returns a list of all supported easing method names.\n\nSupply the required easing method as the `easing` property of the\n`<flow-ui-animation>` component."
|
|
1749
|
-
}
|
|
1750
|
-
],
|
|
1554
|
+
"path": "components/autocomplete/autocomplete.js",
|
|
1555
|
+
"declarations": [],
|
|
1751
1556
|
"exports": [
|
|
1752
1557
|
{
|
|
1753
1558
|
"kind": "js",
|
|
1754
|
-
"name": "
|
|
1755
|
-
"declaration": {
|
|
1756
|
-
"name": "animations",
|
|
1757
|
-
"module": "components/animation/animations.js"
|
|
1758
|
-
}
|
|
1759
|
-
},
|
|
1760
|
-
{
|
|
1761
|
-
"kind": "js",
|
|
1762
|
-
"name": "getAnimationNames",
|
|
1559
|
+
"name": "*",
|
|
1763
1560
|
"declaration": {
|
|
1764
|
-
"name": "
|
|
1765
|
-
"
|
|
1561
|
+
"name": "*",
|
|
1562
|
+
"package": "./autocomplete.component"
|
|
1766
1563
|
}
|
|
1767
1564
|
},
|
|
1768
1565
|
{
|
|
1769
1566
|
"kind": "js",
|
|
1770
|
-
"name": "
|
|
1567
|
+
"name": "default",
|
|
1771
1568
|
"declaration": {
|
|
1772
|
-
"name": "
|
|
1773
|
-
"module": "components/
|
|
1569
|
+
"name": "FlowUiAutocomplete",
|
|
1570
|
+
"module": "components/autocomplete/autocomplete.js"
|
|
1774
1571
|
}
|
|
1775
1572
|
}
|
|
1776
1573
|
]
|
|
@@ -2235,20 +2032,223 @@
|
|
|
2235
2032
|
"path": "components/base-control/base-control.js",
|
|
2236
2033
|
"declarations": [],
|
|
2237
2034
|
"exports": [
|
|
2238
|
-
{
|
|
2239
|
-
"kind": "js",
|
|
2240
|
-
"name": "*",
|
|
2241
|
-
"declaration": {
|
|
2242
|
-
"name": "*",
|
|
2243
|
-
"package": "./base-control.component"
|
|
2244
|
-
}
|
|
2245
|
-
},
|
|
2035
|
+
{
|
|
2036
|
+
"kind": "js",
|
|
2037
|
+
"name": "*",
|
|
2038
|
+
"declaration": {
|
|
2039
|
+
"name": "*",
|
|
2040
|
+
"package": "./base-control.component"
|
|
2041
|
+
}
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
"kind": "js",
|
|
2045
|
+
"name": "default",
|
|
2046
|
+
"declaration": {
|
|
2047
|
+
"name": "FlowUiBaseControl",
|
|
2048
|
+
"module": "components/base-control/base-control.js"
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
]
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"kind": "javascript-module",
|
|
2055
|
+
"path": "components/avatar/avatar.component.js",
|
|
2056
|
+
"declarations": [
|
|
2057
|
+
{
|
|
2058
|
+
"kind": "class",
|
|
2059
|
+
"description": "",
|
|
2060
|
+
"name": "FlowUiAvatar",
|
|
2061
|
+
"cssProperties": [
|
|
2062
|
+
{
|
|
2063
|
+
"description": "The size of the avatar.",
|
|
2064
|
+
"name": "--size"
|
|
2065
|
+
}
|
|
2066
|
+
],
|
|
2067
|
+
"cssParts": [
|
|
2068
|
+
{
|
|
2069
|
+
"description": "The component's base wrapper.",
|
|
2070
|
+
"name": "base"
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
"description": "The container that wraps the avatar's icon.",
|
|
2074
|
+
"name": "icon"
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
"description": "The container that wraps the avatar's initials.",
|
|
2078
|
+
"name": "initials"
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"description": "The avatar image. Only shown when the `image` attribute is set.",
|
|
2082
|
+
"name": "image"
|
|
2083
|
+
}
|
|
2084
|
+
],
|
|
2085
|
+
"slots": [
|
|
2086
|
+
{
|
|
2087
|
+
"description": "The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.",
|
|
2088
|
+
"name": "icon"
|
|
2089
|
+
}
|
|
2090
|
+
],
|
|
2091
|
+
"members": [
|
|
2092
|
+
{
|
|
2093
|
+
"kind": "field",
|
|
2094
|
+
"name": "tagName",
|
|
2095
|
+
"type": {
|
|
2096
|
+
"text": "string"
|
|
2097
|
+
},
|
|
2098
|
+
"static": true,
|
|
2099
|
+
"default": "'flow-ui-avatar'"
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
"kind": "field",
|
|
2103
|
+
"name": "dependencies",
|
|
2104
|
+
"type": {
|
|
2105
|
+
"text": "array"
|
|
2106
|
+
},
|
|
2107
|
+
"static": true,
|
|
2108
|
+
"default": "[FlowUiIcon]"
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"kind": "field",
|
|
2112
|
+
"name": "hasError",
|
|
2113
|
+
"type": {
|
|
2114
|
+
"text": "boolean"
|
|
2115
|
+
},
|
|
2116
|
+
"privacy": "private",
|
|
2117
|
+
"default": "false"
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"kind": "field",
|
|
2121
|
+
"name": "image",
|
|
2122
|
+
"type": {
|
|
2123
|
+
"text": "string"
|
|
2124
|
+
},
|
|
2125
|
+
"default": "''",
|
|
2126
|
+
"description": "The image source to use for the avatar.",
|
|
2127
|
+
"attribute": "image"
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
"kind": "field",
|
|
2131
|
+
"name": "label",
|
|
2132
|
+
"type": {
|
|
2133
|
+
"text": "string"
|
|
2134
|
+
},
|
|
2135
|
+
"default": "''",
|
|
2136
|
+
"description": "A label to use to describe the avatar to assistive devices.",
|
|
2137
|
+
"attribute": "label"
|
|
2138
|
+
},
|
|
2139
|
+
{
|
|
2140
|
+
"kind": "field",
|
|
2141
|
+
"name": "initials",
|
|
2142
|
+
"type": {
|
|
2143
|
+
"text": "string"
|
|
2144
|
+
},
|
|
2145
|
+
"default": "''",
|
|
2146
|
+
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
2147
|
+
"attribute": "initials"
|
|
2148
|
+
},
|
|
2149
|
+
{
|
|
2150
|
+
"kind": "field",
|
|
2151
|
+
"name": "loading",
|
|
2152
|
+
"type": {
|
|
2153
|
+
"text": "'eager' | 'lazy'"
|
|
2154
|
+
},
|
|
2155
|
+
"default": "'eager'",
|
|
2156
|
+
"description": "Indicates how the browser should load the image.",
|
|
2157
|
+
"attribute": "loading"
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"kind": "field",
|
|
2161
|
+
"name": "shape",
|
|
2162
|
+
"type": {
|
|
2163
|
+
"text": "'circle' | 'square' | 'rounded'"
|
|
2164
|
+
},
|
|
2165
|
+
"default": "'circle'",
|
|
2166
|
+
"description": "The shape of the avatar.",
|
|
2167
|
+
"attribute": "shape",
|
|
2168
|
+
"reflects": true
|
|
2169
|
+
}
|
|
2170
|
+
],
|
|
2171
|
+
"attributes": [
|
|
2172
|
+
{
|
|
2173
|
+
"name": "image",
|
|
2174
|
+
"type": {
|
|
2175
|
+
"text": "string"
|
|
2176
|
+
},
|
|
2177
|
+
"default": "''",
|
|
2178
|
+
"description": "The image source to use for the avatar.",
|
|
2179
|
+
"fieldName": "image"
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
"name": "label",
|
|
2183
|
+
"type": {
|
|
2184
|
+
"text": "string"
|
|
2185
|
+
},
|
|
2186
|
+
"default": "''",
|
|
2187
|
+
"description": "A label to use to describe the avatar to assistive devices.",
|
|
2188
|
+
"fieldName": "label"
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"name": "initials",
|
|
2192
|
+
"type": {
|
|
2193
|
+
"text": "string"
|
|
2194
|
+
},
|
|
2195
|
+
"default": "''",
|
|
2196
|
+
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
2197
|
+
"fieldName": "initials"
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
"name": "loading",
|
|
2201
|
+
"type": {
|
|
2202
|
+
"text": "'eager' | 'lazy'"
|
|
2203
|
+
},
|
|
2204
|
+
"default": "'eager'",
|
|
2205
|
+
"description": "Indicates how the browser should load the image.",
|
|
2206
|
+
"fieldName": "loading"
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
"name": "shape",
|
|
2210
|
+
"type": {
|
|
2211
|
+
"text": "'circle' | 'square' | 'rounded'"
|
|
2212
|
+
},
|
|
2213
|
+
"default": "'circle'",
|
|
2214
|
+
"description": "The shape of the avatar.",
|
|
2215
|
+
"fieldName": "shape"
|
|
2216
|
+
}
|
|
2217
|
+
],
|
|
2218
|
+
"superclass": {
|
|
2219
|
+
"name": "FlowRdfElement",
|
|
2220
|
+
"module": "/src/internal/flow-ui-rdf-element"
|
|
2221
|
+
},
|
|
2222
|
+
"tagName": "flow-ui-avatar",
|
|
2223
|
+
"summary": "Avatars are used to represent a person or object.",
|
|
2224
|
+
"dependencies": [
|
|
2225
|
+
"flow-ui-icon"
|
|
2226
|
+
],
|
|
2227
|
+
"customElement": true
|
|
2228
|
+
}
|
|
2229
|
+
],
|
|
2230
|
+
"exports": [
|
|
2231
|
+
{
|
|
2232
|
+
"kind": "js",
|
|
2233
|
+
"name": "default",
|
|
2234
|
+
"declaration": {
|
|
2235
|
+
"name": "FlowUiAvatar",
|
|
2236
|
+
"module": "components/avatar/avatar.component.js"
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
]
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"kind": "javascript-module",
|
|
2243
|
+
"path": "components/avatar/avatar.js",
|
|
2244
|
+
"declarations": [],
|
|
2245
|
+
"exports": [
|
|
2246
2246
|
{
|
|
2247
2247
|
"kind": "js",
|
|
2248
2248
|
"name": "default",
|
|
2249
2249
|
"declaration": {
|
|
2250
|
-
"name": "
|
|
2251
|
-
"module": "components/
|
|
2250
|
+
"name": "FlowUiAvatar",
|
|
2251
|
+
"module": "components/avatar/avatar.js"
|
|
2252
2252
|
}
|
|
2253
2253
|
}
|
|
2254
2254
|
]
|
|
@@ -31563,230 +31563,769 @@
|
|
|
31563
31563
|
"declarations": [
|
|
31564
31564
|
{
|
|
31565
31565
|
"kind": "class",
|
|
31566
|
-
"description": "",
|
|
31566
|
+
"description": "The tree component shows a hierarchy of nodes that users can expand, collapse and select. Give it the nodes as data,\nin `nodes`, or write them as [tree item](./flow-ui-tree-item) markup, which the tree reads while `nodes` is not set.\nThe tree renders only the rows in view, so it stays fast with tens of thousands of nodes.\n\nWithout a height, the tree is as tall as its rows, and renders the ones in view of the elements that clip it, such as\na scrollable `flow-ui-panel`. Given a height or a max-height, it scrolls its rows itself.\n\nThe tree's width comes from its container: it fills a block container, and its labels end in an ellipsis when they\ndo not fit. Where the container sizes to its content, such as a flex row, the tree is `--default-width` wide, whatever\nits labels.\n\n`selection-mode` sets how nodes are selected:\n\n- `multiple` (the default): checkboxes. `value` holds the selected leaves, and a parent selects or deselects its\n leaves. A parent's check state is derived from its leaves.\n- `single`: one node, parent or leaf.\n- `leaf`: one leaf. A click on a parent expands or collapses it.\n- `none`: no selection. A click expands or collapses a parent, as in a navigation tree.\n\nBind `value` to application state like any form control: the tree emits `flow-ui-change` when the user changes the\nselection.",
|
|
31567
31567
|
"name": "FlowUiTree",
|
|
31568
31568
|
"cssProperties": [
|
|
31569
31569
|
{
|
|
31570
|
-
"description": "The
|
|
31571
|
-
"name": "--
|
|
31572
|
-
"default": "
|
|
31573
|
-
},
|
|
31574
|
-
{
|
|
31575
|
-
"description": "The color of the indentation line.",
|
|
31576
|
-
"name": "--indent-guide-color",
|
|
31577
|
-
"default": "var(--flow-ui-color-neutral-200)"
|
|
31570
|
+
"description": "The tree's width where its container sizes to its content, such as a flex row or an inline block. It does not depend on the tree's nodes.",
|
|
31571
|
+
"name": "--default-width",
|
|
31572
|
+
"default": "15rem"
|
|
31578
31573
|
},
|
|
31579
31574
|
{
|
|
31580
|
-
"description": "The
|
|
31581
|
-
"name": "--indent-
|
|
31582
|
-
"default": "
|
|
31575
|
+
"description": "The indentation of each level. Defaults to `--flow-ui-spacing-medium` when `size` is `small`.",
|
|
31576
|
+
"name": "--indent-size",
|
|
31577
|
+
"default": "var(--flow-ui-spacing-large)"
|
|
31583
31578
|
},
|
|
31584
31579
|
{
|
|
31585
|
-
"description": "The
|
|
31586
|
-
"name": "--
|
|
31587
|
-
"default": "
|
|
31580
|
+
"description": "The background color of the selected row in single and leaf selection.",
|
|
31581
|
+
"name": "--selected-background-color",
|
|
31582
|
+
"default": "var(--flow-ui-color-neutral-100)"
|
|
31588
31583
|
},
|
|
31589
31584
|
{
|
|
31590
|
-
"description": "The
|
|
31591
|
-
"name": "--
|
|
31592
|
-
"default": "
|
|
31585
|
+
"description": "The color of the selected row's marker, at its start, in single and leaf selection.",
|
|
31586
|
+
"name": "--selected-marker-color",
|
|
31587
|
+
"default": "var(--flow-ui-color-primary-500)"
|
|
31593
31588
|
}
|
|
31594
31589
|
],
|
|
31595
31590
|
"cssParts": [
|
|
31596
31591
|
{
|
|
31597
|
-
"description": "The component's base wrapper.",
|
|
31592
|
+
"description": "The component's base wrapper (`role=\"tree\"`).",
|
|
31598
31593
|
"name": "base"
|
|
31594
|
+
},
|
|
31595
|
+
{
|
|
31596
|
+
"description": "Each rendered row (`role=\"treeitem\"`).",
|
|
31597
|
+
"name": "row"
|
|
31598
|
+
},
|
|
31599
|
+
{
|
|
31600
|
+
"description": "The row's label.",
|
|
31601
|
+
"name": "label"
|
|
31599
31602
|
}
|
|
31600
31603
|
],
|
|
31601
31604
|
"slots": [
|
|
31602
31605
|
{
|
|
31603
|
-
"description": "The
|
|
31606
|
+
"description": "The tree's [tree items](./flow-ui-tree-item), read as its nodes while `nodes` is not set.",
|
|
31604
31607
|
"name": ""
|
|
31605
31608
|
},
|
|
31606
31609
|
{
|
|
31607
|
-
"description": "
|
|
31608
|
-
"name": "
|
|
31610
|
+
"description": "With `row-slots`, each rendered row has a slot named after its node ID, for content at the end of the row. The slot exists only while the row is rendered: listen to `flow-ui-visible-change`.",
|
|
31611
|
+
"name": "<node-id>"
|
|
31612
|
+
}
|
|
31613
|
+
],
|
|
31614
|
+
"members": [
|
|
31615
|
+
{
|
|
31616
|
+
"kind": "field",
|
|
31617
|
+
"name": "tagName",
|
|
31618
|
+
"type": {
|
|
31619
|
+
"text": "string"
|
|
31620
|
+
},
|
|
31621
|
+
"static": true,
|
|
31622
|
+
"default": "'flow-ui-tree'"
|
|
31623
|
+
},
|
|
31624
|
+
{
|
|
31625
|
+
"kind": "field",
|
|
31626
|
+
"name": "dependencies",
|
|
31627
|
+
"type": {
|
|
31628
|
+
"text": "array"
|
|
31629
|
+
},
|
|
31630
|
+
"static": true,
|
|
31631
|
+
"default": "[FlowUiCheckbox, FlowUiIcon, FlowUiProgressRing]"
|
|
31632
|
+
},
|
|
31633
|
+
{
|
|
31634
|
+
"kind": "field",
|
|
31635
|
+
"name": "nodes",
|
|
31636
|
+
"type": {
|
|
31637
|
+
"text": "FlowTreeNode[]"
|
|
31638
|
+
},
|
|
31639
|
+
"description": "The tree's nodes. See [FlowTreeNode](../public-api/interfaces/FlowTreeNode). Replace the array to update the\ntree: the tree does not see changes made inside it. If not set, the tree reads its nodes from its\n`flow-ui-tree-item` elements. Note that once you set it, the tree ignores its tree items."
|
|
31640
|
+
},
|
|
31641
|
+
{
|
|
31642
|
+
"kind": "field",
|
|
31643
|
+
"name": "_nodes",
|
|
31644
|
+
"type": {
|
|
31645
|
+
"text": "FlowTreeNode[]"
|
|
31646
|
+
},
|
|
31647
|
+
"privacy": "private",
|
|
31648
|
+
"default": "[]"
|
|
31649
|
+
},
|
|
31650
|
+
{
|
|
31651
|
+
"kind": "field",
|
|
31652
|
+
"name": "settingItemNodes",
|
|
31653
|
+
"type": {
|
|
31654
|
+
"text": "boolean"
|
|
31655
|
+
},
|
|
31656
|
+
"privacy": "private",
|
|
31657
|
+
"default": "false"
|
|
31658
|
+
},
|
|
31659
|
+
{
|
|
31660
|
+
"kind": "field",
|
|
31661
|
+
"name": "value",
|
|
31662
|
+
"type": {
|
|
31663
|
+
"text": "string[]"
|
|
31664
|
+
},
|
|
31665
|
+
"default": "[]",
|
|
31666
|
+
"description": "The selected node IDs, or tree item values. In multiple selection, these are the selected leaves: a parent ID set\nhere selects the parent's leaves. In single and leaf selection, it holds the one selected node. The attribute is\na space-separated list, so IDs used in it must not contain spaces. Note that tree items without a `value` can be\nselected but never appear here.",
|
|
31667
|
+
"attribute": "value"
|
|
31668
|
+
},
|
|
31669
|
+
{
|
|
31670
|
+
"kind": "field",
|
|
31671
|
+
"name": "expandedIds",
|
|
31672
|
+
"type": {
|
|
31673
|
+
"text": "string[]"
|
|
31674
|
+
},
|
|
31675
|
+
"default": "[]",
|
|
31676
|
+
"description": "The IDs of the expanded nodes. The tree updates it when the user expands or collapses a node."
|
|
31677
|
+
},
|
|
31678
|
+
{
|
|
31679
|
+
"kind": "field",
|
|
31680
|
+
"name": "selectionMode",
|
|
31681
|
+
"type": {
|
|
31682
|
+
"text": "FlowTreeSelectionMode"
|
|
31683
|
+
},
|
|
31684
|
+
"default": "'multiple'",
|
|
31685
|
+
"description": "The selection mode. See [FlowTreeSelectionMode](../public-api/type-aliases/FlowTreeSelectionMode).",
|
|
31686
|
+
"attribute": "selection-mode"
|
|
31687
|
+
},
|
|
31688
|
+
{
|
|
31689
|
+
"kind": "field",
|
|
31690
|
+
"name": "filter",
|
|
31691
|
+
"type": {
|
|
31692
|
+
"text": "string"
|
|
31693
|
+
},
|
|
31694
|
+
"default": "''",
|
|
31695
|
+
"description": "The text to filter by. The tree shows only the leaves whose label contains it (ignoring case), with their\nancestors, expanded. If not set, every node is shown.",
|
|
31696
|
+
"attribute": "filter"
|
|
31697
|
+
},
|
|
31698
|
+
{
|
|
31699
|
+
"kind": "field",
|
|
31700
|
+
"name": "filterFn",
|
|
31701
|
+
"type": {
|
|
31702
|
+
"text": "(node: FlowTreeNode, filter: string) => boolean | undefined"
|
|
31703
|
+
},
|
|
31704
|
+
"description": "The filter function, which replaces the label match of `filter`. Return `true` to show the leaf. Note that it is\ncalled only while `filter` is not empty."
|
|
31705
|
+
},
|
|
31706
|
+
{
|
|
31707
|
+
"kind": "field",
|
|
31708
|
+
"name": "rowHeight",
|
|
31709
|
+
"type": {
|
|
31710
|
+
"text": "number | undefined"
|
|
31711
|
+
},
|
|
31712
|
+
"description": "The height of every row, in pixels. If not set, it is 24, 28 or 36 pixels for the small, medium and large sizes.",
|
|
31713
|
+
"attribute": "row-height"
|
|
31714
|
+
},
|
|
31715
|
+
{
|
|
31716
|
+
"kind": "field",
|
|
31717
|
+
"name": "overscan",
|
|
31718
|
+
"type": {
|
|
31719
|
+
"text": "number"
|
|
31720
|
+
},
|
|
31721
|
+
"default": "10",
|
|
31722
|
+
"description": "The number of rows rendered above and below the rows in view.",
|
|
31723
|
+
"attribute": "overscan"
|
|
31724
|
+
},
|
|
31725
|
+
{
|
|
31726
|
+
"kind": "field",
|
|
31727
|
+
"name": "size",
|
|
31728
|
+
"type": {
|
|
31729
|
+
"text": "'small' | 'medium' | 'large'"
|
|
31730
|
+
},
|
|
31731
|
+
"default": "'medium'",
|
|
31732
|
+
"description": "The tree's size. It sets the font size, the indentation and the default `rowHeight`.",
|
|
31733
|
+
"attribute": "size",
|
|
31734
|
+
"reflects": true
|
|
31735
|
+
},
|
|
31736
|
+
{
|
|
31737
|
+
"kind": "field",
|
|
31738
|
+
"name": "rowSlots",
|
|
31739
|
+
"type": {
|
|
31740
|
+
"text": "boolean"
|
|
31741
|
+
},
|
|
31742
|
+
"default": "false",
|
|
31743
|
+
"description": "Set to `true` to render a `<slot name=\"<node id>\">` at the end of each rendered row, for content you supply. See\n`flow-ui-visible-change`.",
|
|
31744
|
+
"attribute": "row-slots"
|
|
31745
|
+
},
|
|
31746
|
+
{
|
|
31747
|
+
"kind": "field",
|
|
31748
|
+
"name": "renderRowEnd",
|
|
31749
|
+
"type": {
|
|
31750
|
+
"text": "(\n node: FlowTreeNode,\n row: FlowTreeRow\n ) => TemplateResult | typeof nothing | undefined"
|
|
31751
|
+
},
|
|
31752
|
+
"description": "The function that renders content at the end of each rendered row, as a Lit template. Return `nothing` to leave a\nrow's end empty. Note that clicks on the content do not select the row. Alternatively, use `row-slots`."
|
|
31753
|
+
},
|
|
31754
|
+
{
|
|
31755
|
+
"kind": "field",
|
|
31756
|
+
"name": "visibleTop",
|
|
31757
|
+
"type": {
|
|
31758
|
+
"text": "number"
|
|
31759
|
+
},
|
|
31760
|
+
"privacy": "private",
|
|
31761
|
+
"default": "0",
|
|
31762
|
+
"description": "The part of the rows' height in view, in pixels from the top of the first row (see `measure()`)."
|
|
31763
|
+
},
|
|
31764
|
+
{
|
|
31765
|
+
"kind": "field",
|
|
31766
|
+
"name": "visibleBottom",
|
|
31767
|
+
"type": {
|
|
31768
|
+
"text": "number"
|
|
31769
|
+
},
|
|
31770
|
+
"privacy": "private",
|
|
31771
|
+
"default": "600"
|
|
31772
|
+
},
|
|
31773
|
+
{
|
|
31774
|
+
"kind": "field",
|
|
31775
|
+
"name": "activeIndex",
|
|
31776
|
+
"type": {
|
|
31777
|
+
"text": "number"
|
|
31778
|
+
},
|
|
31779
|
+
"privacy": "private",
|
|
31780
|
+
"default": "-1"
|
|
31781
|
+
},
|
|
31782
|
+
{
|
|
31783
|
+
"kind": "field",
|
|
31784
|
+
"name": "base",
|
|
31785
|
+
"type": {
|
|
31786
|
+
"text": "HTMLDivElement"
|
|
31787
|
+
},
|
|
31788
|
+
"privacy": "private"
|
|
31789
|
+
},
|
|
31790
|
+
{
|
|
31791
|
+
"kind": "field",
|
|
31792
|
+
"name": "spacer",
|
|
31793
|
+
"type": {
|
|
31794
|
+
"text": "HTMLDivElement"
|
|
31795
|
+
},
|
|
31796
|
+
"privacy": "private"
|
|
31797
|
+
},
|
|
31798
|
+
{
|
|
31799
|
+
"kind": "field",
|
|
31800
|
+
"name": "localize",
|
|
31801
|
+
"privacy": "private",
|
|
31802
|
+
"readonly": true,
|
|
31803
|
+
"default": "new LocalizeController(this)"
|
|
31804
|
+
},
|
|
31805
|
+
{
|
|
31806
|
+
"kind": "field",
|
|
31807
|
+
"name": "info",
|
|
31808
|
+
"privacy": "private",
|
|
31809
|
+
"default": "new Map<string, NodeInfo>()"
|
|
31810
|
+
},
|
|
31811
|
+
{
|
|
31812
|
+
"kind": "field",
|
|
31813
|
+
"name": "expanded",
|
|
31814
|
+
"privacy": "private",
|
|
31815
|
+
"default": "new Set<string>()"
|
|
31816
|
+
},
|
|
31817
|
+
{
|
|
31818
|
+
"kind": "field",
|
|
31819
|
+
"name": "selected",
|
|
31820
|
+
"privacy": "private",
|
|
31821
|
+
"default": "new Set<string>()",
|
|
31822
|
+
"description": "The selection: leaf ids in multiple selection, plus ids the tree doesn't know (so a reload keeps them)."
|
|
31823
|
+
},
|
|
31824
|
+
{
|
|
31825
|
+
"kind": "field",
|
|
31826
|
+
"name": "selectedCounts",
|
|
31827
|
+
"privacy": "private",
|
|
31828
|
+
"default": "new Map<string, number>()",
|
|
31829
|
+
"description": "Selected-leaf counts per parent, derived from `selected`."
|
|
31830
|
+
},
|
|
31831
|
+
{
|
|
31832
|
+
"kind": "field",
|
|
31833
|
+
"name": "matching",
|
|
31834
|
+
"type": {
|
|
31835
|
+
"text": "Set<string> | null"
|
|
31836
|
+
},
|
|
31837
|
+
"privacy": "private",
|
|
31838
|
+
"default": "null",
|
|
31839
|
+
"description": "Nodes with a match below them while filtering (null when not filtering)."
|
|
31840
|
+
},
|
|
31841
|
+
{
|
|
31842
|
+
"kind": "field",
|
|
31843
|
+
"name": "filterCollapsed",
|
|
31844
|
+
"privacy": "private",
|
|
31845
|
+
"default": "new Set<string>()",
|
|
31846
|
+
"description": "Nodes the user collapsed while filtering (filtering otherwise expands every match)."
|
|
31847
|
+
},
|
|
31848
|
+
{
|
|
31849
|
+
"kind": "field",
|
|
31850
|
+
"name": "rows",
|
|
31851
|
+
"type": {
|
|
31852
|
+
"text": "FlowTreeRow[]"
|
|
31853
|
+
},
|
|
31854
|
+
"privacy": "private",
|
|
31855
|
+
"default": "[]"
|
|
31856
|
+
},
|
|
31857
|
+
{
|
|
31858
|
+
"kind": "field",
|
|
31859
|
+
"name": "lastVisibleKey",
|
|
31860
|
+
"type": {
|
|
31861
|
+
"text": "string"
|
|
31862
|
+
},
|
|
31863
|
+
"privacy": "private",
|
|
31864
|
+
"default": "''"
|
|
31865
|
+
},
|
|
31866
|
+
{
|
|
31867
|
+
"kind": "field",
|
|
31868
|
+
"name": "rowNodeIds",
|
|
31869
|
+
"type": {
|
|
31870
|
+
"text": "string[]"
|
|
31871
|
+
},
|
|
31872
|
+
"privacy": "private",
|
|
31873
|
+
"default": "[]",
|
|
31874
|
+
"description": "The node id each rendered row showed last time. Rows are rendered by position in the window, so scrolling,\nexpanding or collapsing gives a row another node, and its checkbox would fade from the old node's state."
|
|
31875
|
+
},
|
|
31876
|
+
{
|
|
31877
|
+
"kind": "field",
|
|
31878
|
+
"name": "hasReusedRows",
|
|
31879
|
+
"type": {
|
|
31880
|
+
"text": "boolean"
|
|
31881
|
+
},
|
|
31882
|
+
"privacy": "private",
|
|
31883
|
+
"default": "false"
|
|
31884
|
+
},
|
|
31885
|
+
{
|
|
31886
|
+
"kind": "field",
|
|
31887
|
+
"name": "restoringTransitions",
|
|
31888
|
+
"type": {
|
|
31889
|
+
"text": "boolean"
|
|
31890
|
+
},
|
|
31891
|
+
"privacy": "private",
|
|
31892
|
+
"default": "false"
|
|
31893
|
+
},
|
|
31894
|
+
{
|
|
31895
|
+
"kind": "field",
|
|
31896
|
+
"name": "pinnedIndex",
|
|
31897
|
+
"type": {
|
|
31898
|
+
"text": "number"
|
|
31899
|
+
},
|
|
31900
|
+
"privacy": "private",
|
|
31901
|
+
"default": "-1",
|
|
31902
|
+
"description": "A row to render whatever is in view, so that it can be scrolled to."
|
|
31903
|
+
},
|
|
31904
|
+
{
|
|
31905
|
+
"kind": "field",
|
|
31906
|
+
"name": "scrollParents",
|
|
31907
|
+
"type": {
|
|
31908
|
+
"text": "Element[]"
|
|
31909
|
+
},
|
|
31910
|
+
"privacy": "private",
|
|
31911
|
+
"default": "[]"
|
|
31609
31912
|
},
|
|
31610
|
-
{
|
|
31611
|
-
"description": "The icon to show when the tree item is collapsed. Works best with `<flow-ui-icon>`.",
|
|
31612
|
-
"name": "collapse-icon"
|
|
31613
|
-
}
|
|
31614
|
-
],
|
|
31615
|
-
"members": [
|
|
31616
31913
|
{
|
|
31617
31914
|
"kind": "field",
|
|
31618
|
-
"name": "
|
|
31915
|
+
"name": "resizeObserver",
|
|
31619
31916
|
"type": {
|
|
31620
|
-
"text": "
|
|
31917
|
+
"text": "ResizeObserver | undefined"
|
|
31621
31918
|
},
|
|
31622
|
-
"
|
|
31623
|
-
"default": "'flow-ui-tree'"
|
|
31919
|
+
"privacy": "private"
|
|
31624
31920
|
},
|
|
31625
31921
|
{
|
|
31626
31922
|
"kind": "field",
|
|
31627
|
-
"name": "
|
|
31923
|
+
"name": "gapObserver",
|
|
31628
31924
|
"type": {
|
|
31629
|
-
"text": "
|
|
31925
|
+
"text": "IntersectionObserver | undefined"
|
|
31630
31926
|
},
|
|
31631
|
-
"privacy": "private"
|
|
31927
|
+
"privacy": "private",
|
|
31928
|
+
"description": "Watches the space above and below the rendered rows, which comes into view when the tree moves without a scroll or\na resize: a drawer sliding in, an animated transform, or an element scrolling that the walk didn't find."
|
|
31632
31929
|
},
|
|
31633
31930
|
{
|
|
31634
31931
|
"kind": "field",
|
|
31635
|
-
"name": "
|
|
31932
|
+
"name": "followFrame",
|
|
31636
31933
|
"type": {
|
|
31637
|
-
"text": "
|
|
31934
|
+
"text": "number | undefined"
|
|
31638
31935
|
},
|
|
31639
31936
|
"privacy": "private"
|
|
31640
31937
|
},
|
|
31641
31938
|
{
|
|
31642
31939
|
"kind": "field",
|
|
31643
|
-
"name": "
|
|
31940
|
+
"name": "source",
|
|
31644
31941
|
"type": {
|
|
31645
|
-
"text": "
|
|
31942
|
+
"text": "'items' | 'data'"
|
|
31646
31943
|
},
|
|
31647
|
-
"
|
|
31648
|
-
"
|
|
31649
|
-
"
|
|
31944
|
+
"privacy": "private",
|
|
31945
|
+
"default": "'items'",
|
|
31946
|
+
"description": "Where the nodes come from: the tree items until the application sets `nodes`."
|
|
31650
31947
|
},
|
|
31651
31948
|
{
|
|
31652
31949
|
"kind": "field",
|
|
31653
|
-
"name": "
|
|
31950
|
+
"name": "itemObserver",
|
|
31654
31951
|
"type": {
|
|
31655
|
-
"text": "
|
|
31952
|
+
"text": "MutationObserver | undefined"
|
|
31656
31953
|
},
|
|
31657
|
-
"
|
|
31658
|
-
"description": "The selection behavior of the tree. Single selection allows only one node to be selected at a time. Multiple\ndisplays checkboxes and allows more than one node to be selected. Leaf allows only leaf nodes to be selected.",
|
|
31659
|
-
"attribute": "selection-mode"
|
|
31954
|
+
"privacy": "private"
|
|
31660
31955
|
},
|
|
31661
31956
|
{
|
|
31662
31957
|
"kind": "field",
|
|
31663
|
-
"name": "
|
|
31958
|
+
"name": "itemSyncScheduled",
|
|
31664
31959
|
"type": {
|
|
31665
|
-
"text": "
|
|
31960
|
+
"text": "boolean"
|
|
31666
31961
|
},
|
|
31667
|
-
"
|
|
31668
|
-
"
|
|
31669
|
-
|
|
31670
|
-
|
|
31962
|
+
"privacy": "private",
|
|
31963
|
+
"default": "false"
|
|
31964
|
+
},
|
|
31965
|
+
{
|
|
31966
|
+
"kind": "field",
|
|
31967
|
+
"name": "itemIds",
|
|
31968
|
+
"privacy": "private",
|
|
31969
|
+
"default": "new WeakMap<Element, string>()"
|
|
31970
|
+
},
|
|
31971
|
+
{
|
|
31972
|
+
"kind": "field",
|
|
31973
|
+
"name": "generatedIds",
|
|
31974
|
+
"privacy": "private",
|
|
31975
|
+
"default": "new Set<string>()",
|
|
31976
|
+
"description": "Ids the tree made for items without a value. They never appear in `value`."
|
|
31977
|
+
},
|
|
31978
|
+
{
|
|
31979
|
+
"kind": "field",
|
|
31980
|
+
"name": "itemsById",
|
|
31981
|
+
"privacy": "private",
|
|
31982
|
+
"default": "new Map<string, Element>()"
|
|
31983
|
+
},
|
|
31984
|
+
{
|
|
31985
|
+
"kind": "field",
|
|
31986
|
+
"name": "itemsSeen",
|
|
31987
|
+
"privacy": "private",
|
|
31988
|
+
"default": "new WeakMap<Element, ItemSeen>()",
|
|
31989
|
+
"description": "Each item's node, and its `expanded` and `selected` as the tree last read or wrote them."
|
|
31671
31990
|
},
|
|
31672
31991
|
{
|
|
31673
31992
|
"kind": "field",
|
|
31674
|
-
"name": "
|
|
31993
|
+
"name": "itemReads",
|
|
31675
31994
|
"type": {
|
|
31676
|
-
"text": "
|
|
31995
|
+
"text": "number"
|
|
31677
31996
|
},
|
|
31678
|
-
"privacy": "private"
|
|
31997
|
+
"privacy": "private",
|
|
31998
|
+
"default": "0"
|
|
31679
31999
|
},
|
|
31680
32000
|
{
|
|
31681
32001
|
"kind": "field",
|
|
31682
|
-
"name": "
|
|
32002
|
+
"name": "pendingItemSelections",
|
|
31683
32003
|
"privacy": "private",
|
|
31684
|
-
"
|
|
31685
|
-
"
|
|
32004
|
+
"default": "new Map<Element, boolean>()",
|
|
32005
|
+
"description": "Selections the application made on items (`selected`), applied once the nodes are indexed."
|
|
31686
32006
|
},
|
|
31687
32007
|
{
|
|
31688
32008
|
"kind": "field",
|
|
31689
|
-
"name": "
|
|
32009
|
+
"name": "writtenValue",
|
|
31690
32010
|
"type": {
|
|
31691
|
-
"text": "
|
|
32011
|
+
"text": "string[] | undefined"
|
|
31692
32012
|
},
|
|
31693
|
-
"privacy": "private"
|
|
32013
|
+
"privacy": "private",
|
|
32014
|
+
"description": "The `value` the tree last wrote itself: any other `value` comes from the application."
|
|
31694
32015
|
},
|
|
31695
32016
|
{
|
|
31696
32017
|
"kind": "field",
|
|
31697
|
-
"name": "
|
|
32018
|
+
"name": "itemStatesDirty",
|
|
31698
32019
|
"type": {
|
|
31699
|
-
"text": "
|
|
32020
|
+
"text": "boolean"
|
|
31700
32021
|
},
|
|
31701
32022
|
"privacy": "private",
|
|
31702
|
-
"default": "
|
|
32023
|
+
"default": "false",
|
|
32024
|
+
"description": "The selection or expansion changed since the items were last updated."
|
|
32025
|
+
},
|
|
32026
|
+
{
|
|
32027
|
+
"kind": "method",
|
|
32028
|
+
"name": "indexNodes",
|
|
32029
|
+
"privacy": "private"
|
|
31703
32030
|
},
|
|
31704
32031
|
{
|
|
31705
32032
|
"kind": "method",
|
|
31706
|
-
"name": "
|
|
32033
|
+
"name": "normalizeSelection",
|
|
31707
32034
|
"privacy": "private",
|
|
31708
32035
|
"parameters": [
|
|
31709
32036
|
{
|
|
31710
|
-
"name": "
|
|
32037
|
+
"name": "ids",
|
|
31711
32038
|
"type": {
|
|
31712
|
-
"text": "
|
|
32039
|
+
"text": "string[]"
|
|
31713
32040
|
}
|
|
31714
32041
|
}
|
|
31715
|
-
]
|
|
32042
|
+
],
|
|
32043
|
+
"description": "Leaf ids only: a selected parent (for example a lazy node that has loaded) stands for its leaves."
|
|
31716
32044
|
},
|
|
31717
32045
|
{
|
|
31718
|
-
"kind": "
|
|
31719
|
-
"name": "
|
|
32046
|
+
"kind": "method",
|
|
32047
|
+
"name": "publishValue",
|
|
32048
|
+
"privacy": "private",
|
|
32049
|
+
"description": "Publishes the selection as `value`, without the ids the tree made for items without a value."
|
|
32050
|
+
},
|
|
32051
|
+
{
|
|
32052
|
+
"kind": "method",
|
|
32053
|
+
"name": "countSelected",
|
|
31720
32054
|
"privacy": "private"
|
|
31721
32055
|
},
|
|
31722
32056
|
{
|
|
31723
32057
|
"kind": "method",
|
|
31724
|
-
"name": "
|
|
32058
|
+
"name": "forEachLeaf",
|
|
31725
32059
|
"privacy": "private",
|
|
31726
32060
|
"parameters": [
|
|
31727
32061
|
{
|
|
31728
|
-
"name": "
|
|
32062
|
+
"name": "node",
|
|
31729
32063
|
"type": {
|
|
31730
|
-
"text": "
|
|
32064
|
+
"text": "FlowTreeNode"
|
|
32065
|
+
}
|
|
32066
|
+
},
|
|
32067
|
+
{
|
|
32068
|
+
"name": "callback",
|
|
32069
|
+
"type": {
|
|
32070
|
+
"text": "(leaf: FlowTreeNode) => void"
|
|
31731
32071
|
}
|
|
32072
|
+
},
|
|
32073
|
+
{
|
|
32074
|
+
"name": "onlyMatching",
|
|
32075
|
+
"default": "false"
|
|
31732
32076
|
}
|
|
31733
32077
|
]
|
|
31734
32078
|
},
|
|
31735
32079
|
{
|
|
31736
32080
|
"kind": "method",
|
|
31737
|
-
"name": "
|
|
32081
|
+
"name": "computeMatches",
|
|
32082
|
+
"privacy": "private"
|
|
32083
|
+
},
|
|
32084
|
+
{
|
|
32085
|
+
"kind": "method",
|
|
32086
|
+
"name": "isExpanded",
|
|
31738
32087
|
"privacy": "private",
|
|
31739
32088
|
"parameters": [
|
|
31740
32089
|
{
|
|
31741
|
-
"name": "
|
|
31742
|
-
"optional": true,
|
|
32090
|
+
"name": "node",
|
|
31743
32091
|
"type": {
|
|
31744
|
-
"text": "
|
|
32092
|
+
"text": "FlowTreeNode"
|
|
31745
32093
|
}
|
|
31746
32094
|
}
|
|
31747
32095
|
]
|
|
31748
32096
|
},
|
|
31749
32097
|
{
|
|
31750
32098
|
"kind": "method",
|
|
31751
|
-
"name": "
|
|
32099
|
+
"name": "flatten",
|
|
32100
|
+
"privacy": "private"
|
|
32101
|
+
},
|
|
32102
|
+
{
|
|
32103
|
+
"kind": "method",
|
|
32104
|
+
"name": "checkState",
|
|
32105
|
+
"return": {
|
|
32106
|
+
"type": {
|
|
32107
|
+
"text": "FlowTreeCheckState"
|
|
32108
|
+
}
|
|
32109
|
+
},
|
|
32110
|
+
"parameters": [
|
|
32111
|
+
{
|
|
32112
|
+
"name": "id",
|
|
32113
|
+
"type": {
|
|
32114
|
+
"text": "string"
|
|
32115
|
+
}
|
|
32116
|
+
}
|
|
32117
|
+
],
|
|
32118
|
+
"description": "Returns the check state of a node. In multiple selection, a parent's state is derived from its selected leaves;\nan unknown ID is `unchecked`."
|
|
32119
|
+
},
|
|
32120
|
+
{
|
|
32121
|
+
"kind": "field",
|
|
32122
|
+
"name": "handleItemMutations",
|
|
32123
|
+
"privacy": "private"
|
|
32124
|
+
},
|
|
32125
|
+
{
|
|
32126
|
+
"kind": "method",
|
|
32127
|
+
"name": "itemAttributeChanged",
|
|
31752
32128
|
"privacy": "private",
|
|
31753
32129
|
"parameters": [
|
|
31754
32130
|
{
|
|
31755
|
-
"name": "
|
|
32131
|
+
"name": "item",
|
|
32132
|
+
"type": {
|
|
32133
|
+
"text": "Element"
|
|
32134
|
+
}
|
|
32135
|
+
},
|
|
32136
|
+
{
|
|
32137
|
+
"name": "name",
|
|
31756
32138
|
"type": {
|
|
31757
|
-
"text": "
|
|
32139
|
+
"text": "string"
|
|
31758
32140
|
}
|
|
31759
32141
|
}
|
|
31760
|
-
]
|
|
32142
|
+
],
|
|
32143
|
+
"description": "Whether an item's attribute differs from what the tree last read from the item or wrote to it. Items reflect\ntheir properties to attributes in their own updates, which can come after the tree has read them (every item's\n`value`, when the items first render): reading every item again for those would double the work of a change."
|
|
31761
32144
|
},
|
|
31762
32145
|
{
|
|
31763
32146
|
"kind": "method",
|
|
31764
|
-
"name": "
|
|
32147
|
+
"name": "scheduleItemSync",
|
|
31765
32148
|
"privacy": "private"
|
|
31766
32149
|
},
|
|
31767
32150
|
{
|
|
31768
32151
|
"kind": "method",
|
|
31769
|
-
"name": "
|
|
32152
|
+
"name": "syncFromItems",
|
|
32153
|
+
"privacy": "private",
|
|
32154
|
+
"description": "Reads the tree items into `nodes` and `expandedIds`."
|
|
32155
|
+
},
|
|
32156
|
+
{
|
|
32157
|
+
"kind": "method",
|
|
32158
|
+
"name": "itemId",
|
|
31770
32159
|
"privacy": "private",
|
|
31771
32160
|
"parameters": [
|
|
31772
32161
|
{
|
|
31773
32162
|
"name": "item",
|
|
32163
|
+
"type": {
|
|
32164
|
+
"text": "Element"
|
|
32165
|
+
}
|
|
32166
|
+
}
|
|
32167
|
+
],
|
|
32168
|
+
"description": "The item's value, or an id the tree makes for it."
|
|
32169
|
+
},
|
|
32170
|
+
{
|
|
32171
|
+
"kind": "method",
|
|
32172
|
+
"name": "applyItemSelections",
|
|
32173
|
+
"privacy": "private",
|
|
32174
|
+
"description": "Applies the selections the application made on items, now that the nodes are indexed."
|
|
32175
|
+
},
|
|
32176
|
+
{
|
|
32177
|
+
"kind": "method",
|
|
32178
|
+
"name": "writeItemStates",
|
|
32179
|
+
"privacy": "private",
|
|
32180
|
+
"description": "Mirrors the selection and expansion onto the items, so their `selected` and `expanded` stay current."
|
|
32181
|
+
},
|
|
32182
|
+
{
|
|
32183
|
+
"kind": "field",
|
|
32184
|
+
"name": "stopItemEvent",
|
|
32185
|
+
"privacy": "private"
|
|
32186
|
+
},
|
|
32187
|
+
{
|
|
32188
|
+
"kind": "method",
|
|
32189
|
+
"name": "expandAll",
|
|
32190
|
+
"description": "Expands every parent node."
|
|
32191
|
+
},
|
|
32192
|
+
{
|
|
32193
|
+
"kind": "method",
|
|
32194
|
+
"name": "collapseAll",
|
|
32195
|
+
"description": "Collapses every parent node."
|
|
32196
|
+
},
|
|
32197
|
+
{
|
|
32198
|
+
"kind": "method",
|
|
32199
|
+
"name": "selectAll",
|
|
32200
|
+
"parameters": [
|
|
32201
|
+
{
|
|
32202
|
+
"name": "select",
|
|
32203
|
+
"default": "true"
|
|
32204
|
+
}
|
|
32205
|
+
],
|
|
32206
|
+
"description": "Selects every enabled leaf, or, with `select` set to `false`, deselects every leaf. While filtering, only the\nleaves the filter shows are selected or deselected."
|
|
32207
|
+
},
|
|
32208
|
+
{
|
|
32209
|
+
"kind": "method",
|
|
32210
|
+
"name": "scrollToNode",
|
|
32211
|
+
"parameters": [
|
|
32212
|
+
{
|
|
32213
|
+
"name": "id",
|
|
32214
|
+
"type": {
|
|
32215
|
+
"text": "string"
|
|
32216
|
+
}
|
|
32217
|
+
},
|
|
32218
|
+
{
|
|
32219
|
+
"name": "{ block = 'center' }",
|
|
32220
|
+
"default": "{}",
|
|
32221
|
+
"type": {
|
|
32222
|
+
"text": "{ block?: 'center' | 'nearest' }"
|
|
32223
|
+
}
|
|
32224
|
+
}
|
|
32225
|
+
],
|
|
32226
|
+
"description": "Expands the node's ancestors, scrolls its row into view (in the tree, or in the elements that scroll the tree) and\nmakes it the active row. Returns a promise that resolves to `true` when the row is in view, or to `false`, without\nscrolling, if the node is not in the tree or the filter hides it."
|
|
32227
|
+
},
|
|
32228
|
+
{
|
|
32229
|
+
"kind": "field",
|
|
32230
|
+
"name": "visibleRows",
|
|
32231
|
+
"type": {
|
|
32232
|
+
"text": "readonly FlowTreeRow[]"
|
|
32233
|
+
},
|
|
32234
|
+
"description": "The visible rows: every row that is not collapsed or filtered out, rendered or not. See\n[FlowTreeRow](../public-api/interfaces/FlowTreeRow).",
|
|
32235
|
+
"readonly": true
|
|
32236
|
+
},
|
|
32237
|
+
{
|
|
32238
|
+
"kind": "method",
|
|
32239
|
+
"name": "focus",
|
|
32240
|
+
"parameters": [
|
|
32241
|
+
{
|
|
32242
|
+
"name": "options",
|
|
31774
32243
|
"optional": true,
|
|
31775
32244
|
"type": {
|
|
31776
|
-
"text": "
|
|
32245
|
+
"text": "FocusOptions"
|
|
32246
|
+
}
|
|
32247
|
+
}
|
|
32248
|
+
],
|
|
32249
|
+
"description": "Sets focus on the tree."
|
|
32250
|
+
},
|
|
32251
|
+
{
|
|
32252
|
+
"kind": "method",
|
|
32253
|
+
"name": "dispatch",
|
|
32254
|
+
"privacy": "private",
|
|
32255
|
+
"parameters": [
|
|
32256
|
+
{
|
|
32257
|
+
"name": "name",
|
|
32258
|
+
"type": {
|
|
32259
|
+
"text": "string"
|
|
32260
|
+
}
|
|
32261
|
+
},
|
|
32262
|
+
{
|
|
32263
|
+
"name": "detail",
|
|
32264
|
+
"type": {
|
|
32265
|
+
"text": "unknown"
|
|
32266
|
+
}
|
|
32267
|
+
},
|
|
32268
|
+
{
|
|
32269
|
+
"name": "target",
|
|
32270
|
+
"default": "this",
|
|
32271
|
+
"type": {
|
|
32272
|
+
"text": "EventTarget"
|
|
32273
|
+
}
|
|
32274
|
+
}
|
|
32275
|
+
]
|
|
32276
|
+
},
|
|
32277
|
+
{
|
|
32278
|
+
"kind": "method",
|
|
32279
|
+
"name": "setSelection",
|
|
32280
|
+
"privacy": "private",
|
|
32281
|
+
"parameters": [
|
|
32282
|
+
{
|
|
32283
|
+
"name": "ids",
|
|
32284
|
+
"type": {
|
|
32285
|
+
"text": "Set<string>"
|
|
32286
|
+
}
|
|
32287
|
+
}
|
|
32288
|
+
]
|
|
32289
|
+
},
|
|
32290
|
+
{
|
|
32291
|
+
"kind": "method",
|
|
32292
|
+
"name": "toggleExpanded",
|
|
32293
|
+
"privacy": "private",
|
|
32294
|
+
"parameters": [
|
|
32295
|
+
{
|
|
32296
|
+
"name": "row",
|
|
32297
|
+
"type": {
|
|
32298
|
+
"text": "FlowTreeRow"
|
|
32299
|
+
}
|
|
32300
|
+
},
|
|
32301
|
+
{
|
|
32302
|
+
"name": "expanded",
|
|
32303
|
+
"default": "!this.isExpanded(row.node)"
|
|
32304
|
+
}
|
|
32305
|
+
]
|
|
32306
|
+
},
|
|
32307
|
+
{
|
|
32308
|
+
"kind": "method",
|
|
32309
|
+
"name": "toggleSelected",
|
|
32310
|
+
"privacy": "private",
|
|
32311
|
+
"parameters": [
|
|
32312
|
+
{
|
|
32313
|
+
"name": "row",
|
|
32314
|
+
"type": {
|
|
32315
|
+
"text": "FlowTreeRow"
|
|
31777
32316
|
}
|
|
31778
32317
|
}
|
|
31779
32318
|
]
|
|
31780
32319
|
},
|
|
31781
32320
|
{
|
|
31782
32321
|
"kind": "method",
|
|
31783
|
-
"name": "
|
|
32322
|
+
"name": "rowFromEvent",
|
|
31784
32323
|
"privacy": "private",
|
|
31785
32324
|
"parameters": [
|
|
31786
32325
|
{
|
|
31787
32326
|
"name": "event",
|
|
31788
32327
|
"type": {
|
|
31789
|
-
"text": "
|
|
32328
|
+
"text": "Event"
|
|
31790
32329
|
}
|
|
31791
32330
|
}
|
|
31792
32331
|
]
|
|
@@ -31799,79 +32338,164 @@
|
|
|
31799
32338
|
{
|
|
31800
32339
|
"name": "event",
|
|
31801
32340
|
"type": {
|
|
31802
|
-
"text": "
|
|
32341
|
+
"text": "MouseEvent"
|
|
31803
32342
|
}
|
|
31804
32343
|
}
|
|
31805
32344
|
]
|
|
31806
32345
|
},
|
|
31807
32346
|
{
|
|
31808
32347
|
"kind": "method",
|
|
31809
|
-
"name": "
|
|
32348
|
+
"name": "handleKeyDown",
|
|
31810
32349
|
"privacy": "private",
|
|
31811
32350
|
"parameters": [
|
|
31812
32351
|
{
|
|
31813
32352
|
"name": "event",
|
|
31814
32353
|
"type": {
|
|
31815
|
-
"text": "
|
|
32354
|
+
"text": "KeyboardEvent"
|
|
31816
32355
|
}
|
|
31817
32356
|
}
|
|
31818
32357
|
]
|
|
31819
32358
|
},
|
|
31820
32359
|
{
|
|
31821
32360
|
"kind": "method",
|
|
31822
|
-
"name": "
|
|
32361
|
+
"name": "handleFocus",
|
|
32362
|
+
"privacy": "private"
|
|
32363
|
+
},
|
|
32364
|
+
{
|
|
32365
|
+
"kind": "field",
|
|
32366
|
+
"name": "effectiveRowHeight",
|
|
32367
|
+
"privacy": "private",
|
|
32368
|
+
"readonly": true
|
|
32369
|
+
},
|
|
32370
|
+
{
|
|
32371
|
+
"kind": "method",
|
|
32372
|
+
"name": "watchLayout",
|
|
32373
|
+
"privacy": "private",
|
|
32374
|
+
"description": "Watches the tree and every element that clips it (the tree itself scrolls when it has a height)."
|
|
32375
|
+
},
|
|
32376
|
+
{
|
|
32377
|
+
"kind": "method",
|
|
32378
|
+
"name": "unwatchLayout",
|
|
32379
|
+
"privacy": "private"
|
|
32380
|
+
},
|
|
32381
|
+
{
|
|
32382
|
+
"kind": "field",
|
|
32383
|
+
"name": "measure",
|
|
32384
|
+
"privacy": "private",
|
|
32385
|
+
"description": "Finds the part of the rows in view: inside the viewport and every element that clips the tree."
|
|
32386
|
+
},
|
|
32387
|
+
{
|
|
32388
|
+
"kind": "field",
|
|
32389
|
+
"name": "handleGapIntersection",
|
|
32390
|
+
"privacy": "private"
|
|
32391
|
+
},
|
|
32392
|
+
{
|
|
32393
|
+
"kind": "method",
|
|
32394
|
+
"name": "followMotion",
|
|
32395
|
+
"privacy": "private"
|
|
32396
|
+
},
|
|
32397
|
+
{
|
|
32398
|
+
"kind": "method",
|
|
32399
|
+
"name": "scrollIndexIntoView",
|
|
31823
32400
|
"privacy": "private",
|
|
31824
32401
|
"parameters": [
|
|
31825
32402
|
{
|
|
31826
|
-
"name": "
|
|
32403
|
+
"name": "index",
|
|
31827
32404
|
"type": {
|
|
31828
|
-
"text": "
|
|
32405
|
+
"text": "number"
|
|
32406
|
+
}
|
|
32407
|
+
},
|
|
32408
|
+
{
|
|
32409
|
+
"name": "block",
|
|
32410
|
+
"type": {
|
|
32411
|
+
"text": "'center' | 'nearest'"
|
|
31829
32412
|
}
|
|
31830
32413
|
}
|
|
31831
32414
|
]
|
|
31832
32415
|
},
|
|
31833
32416
|
{
|
|
31834
32417
|
"kind": "method",
|
|
31835
|
-
"name": "
|
|
32418
|
+
"name": "windowRange",
|
|
32419
|
+
"privacy": "private",
|
|
32420
|
+
"return": {
|
|
32421
|
+
"type": {
|
|
32422
|
+
"text": "[number, number]"
|
|
32423
|
+
}
|
|
32424
|
+
}
|
|
32425
|
+
},
|
|
32426
|
+
{
|
|
32427
|
+
"kind": "method",
|
|
32428
|
+
"name": "rowId",
|
|
31836
32429
|
"privacy": "private",
|
|
31837
32430
|
"parameters": [
|
|
31838
32431
|
{
|
|
31839
|
-
"name": "
|
|
32432
|
+
"name": "index",
|
|
31840
32433
|
"type": {
|
|
31841
|
-
"text": "
|
|
32434
|
+
"text": "number"
|
|
31842
32435
|
}
|
|
31843
32436
|
}
|
|
31844
32437
|
]
|
|
31845
32438
|
},
|
|
31846
32439
|
{
|
|
31847
32440
|
"kind": "method",
|
|
31848
|
-
"name": "
|
|
32441
|
+
"name": "renderRow",
|
|
31849
32442
|
"privacy": "private",
|
|
31850
32443
|
"parameters": [
|
|
31851
32444
|
{
|
|
31852
|
-
"name": "
|
|
32445
|
+
"name": "row",
|
|
31853
32446
|
"type": {
|
|
31854
|
-
"text": "
|
|
32447
|
+
"text": "FlowTreeRow"
|
|
32448
|
+
}
|
|
32449
|
+
},
|
|
32450
|
+
{
|
|
32451
|
+
"name": "index",
|
|
32452
|
+
"type": {
|
|
32453
|
+
"text": "number"
|
|
32454
|
+
}
|
|
32455
|
+
},
|
|
32456
|
+
{
|
|
32457
|
+
"name": "reused",
|
|
32458
|
+
"type": {
|
|
32459
|
+
"text": "boolean"
|
|
31855
32460
|
}
|
|
31856
32461
|
}
|
|
31857
32462
|
]
|
|
31858
|
-
},
|
|
31859
|
-
{
|
|
31860
|
-
"kind": "method",
|
|
31861
|
-
"name": "handleSlotChange",
|
|
31862
|
-
"privacy": "private"
|
|
31863
32463
|
}
|
|
31864
32464
|
],
|
|
31865
32465
|
"events": [
|
|
31866
32466
|
{
|
|
31867
|
-
"description": "Emitted when
|
|
32467
|
+
"description": "Emitted when the selection changes by UI interaction or `selectAll()`.",
|
|
31868
32468
|
"name": "flow-ui-input",
|
|
31869
32469
|
"reactName": "onFlowUiInput"
|
|
31870
32470
|
},
|
|
31871
32471
|
{
|
|
31872
|
-
"description": "Emitted when
|
|
32472
|
+
"description": "Emitted when the selection changes by UI interaction or `selectAll()`.",
|
|
31873
32473
|
"name": "flow-ui-change",
|
|
31874
32474
|
"reactName": "onFlowUiChange"
|
|
32475
|
+
},
|
|
32476
|
+
{
|
|
32477
|
+
"type": {
|
|
32478
|
+
"text": "CustomEvent<{ id: string; expanded: boolean }>"
|
|
32479
|
+
},
|
|
32480
|
+
"description": "Emitted when the user expands or collapses a node. The node ID and its new state can be retrieved from the event `detail` property.",
|
|
32481
|
+
"name": "flow-ui-node-toggle",
|
|
32482
|
+
"reactName": "onFlowUiNodeToggle"
|
|
32483
|
+
},
|
|
32484
|
+
{
|
|
32485
|
+
"type": {
|
|
32486
|
+
"text": "CustomEvent<{ id: string }>"
|
|
32487
|
+
},
|
|
32488
|
+
"description": "Emitted when the user expands a lazy node. Replace the node in `nodes` with one that has its children and is not `lazy`: its row shows a spinner until then. With tree items, the item emits `flow-ui-lazy-load` too.",
|
|
32489
|
+
"name": "flow-ui-node-lazy-load",
|
|
32490
|
+
"reactName": "onFlowUiNodeLazyLoad"
|
|
32491
|
+
},
|
|
32492
|
+
{
|
|
32493
|
+
"type": {
|
|
32494
|
+
"text": "CustomEvent<{ ids: string[] }>"
|
|
32495
|
+
},
|
|
32496
|
+
"description": "Emitted when the rendered rows change. The IDs of their nodes can be retrieved from the event `detail` property: use them to supply the row slots' content with `row-slots`.",
|
|
32497
|
+
"name": "flow-ui-visible-change",
|
|
32498
|
+
"reactName": "onFlowUiVisibleChange"
|
|
31875
32499
|
}
|
|
31876
32500
|
],
|
|
31877
32501
|
"attributes": [
|
|
@@ -31881,26 +32505,61 @@
|
|
|
31881
32505
|
"text": "string[]"
|
|
31882
32506
|
},
|
|
31883
32507
|
"default": "[]",
|
|
31884
|
-
"description": "The
|
|
32508
|
+
"description": "The selected node IDs, or tree item values. In multiple selection, these are the selected leaves: a parent ID set\nhere selects the parent's leaves. In single and leaf selection, it holds the one selected node. The attribute is\na space-separated list, so IDs used in it must not contain spaces. Note that tree items without a `value` can be\nselected but never appear here.",
|
|
31885
32509
|
"fieldName": "value"
|
|
31886
32510
|
},
|
|
31887
32511
|
{
|
|
31888
32512
|
"name": "selection-mode",
|
|
31889
32513
|
"type": {
|
|
31890
|
-
"text": "
|
|
32514
|
+
"text": "FlowTreeSelectionMode"
|
|
31891
32515
|
},
|
|
31892
32516
|
"default": "'multiple'",
|
|
31893
|
-
"description": "The selection
|
|
32517
|
+
"description": "The selection mode. See [FlowTreeSelectionMode](../public-api/type-aliases/FlowTreeSelectionMode).",
|
|
31894
32518
|
"fieldName": "selectionMode"
|
|
31895
32519
|
},
|
|
32520
|
+
{
|
|
32521
|
+
"name": "filter",
|
|
32522
|
+
"type": {
|
|
32523
|
+
"text": "string"
|
|
32524
|
+
},
|
|
32525
|
+
"default": "''",
|
|
32526
|
+
"description": "The text to filter by. The tree shows only the leaves whose label contains it (ignoring case), with their\nancestors, expanded. If not set, every node is shown.",
|
|
32527
|
+
"fieldName": "filter"
|
|
32528
|
+
},
|
|
32529
|
+
{
|
|
32530
|
+
"name": "row-height",
|
|
32531
|
+
"type": {
|
|
32532
|
+
"text": "number | undefined"
|
|
32533
|
+
},
|
|
32534
|
+
"description": "The height of every row, in pixels. If not set, it is 24, 28 or 36 pixels for the small, medium and large sizes.",
|
|
32535
|
+
"fieldName": "rowHeight"
|
|
32536
|
+
},
|
|
32537
|
+
{
|
|
32538
|
+
"name": "overscan",
|
|
32539
|
+
"type": {
|
|
32540
|
+
"text": "number"
|
|
32541
|
+
},
|
|
32542
|
+
"default": "10",
|
|
32543
|
+
"description": "The number of rows rendered above and below the rows in view.",
|
|
32544
|
+
"fieldName": "overscan"
|
|
32545
|
+
},
|
|
31896
32546
|
{
|
|
31897
32547
|
"name": "size",
|
|
31898
32548
|
"type": {
|
|
31899
32549
|
"text": "'small' | 'medium' | 'large'"
|
|
31900
32550
|
},
|
|
31901
32551
|
"default": "'medium'",
|
|
31902
|
-
"description": "The
|
|
32552
|
+
"description": "The tree's size. It sets the font size, the indentation and the default `rowHeight`.",
|
|
31903
32553
|
"fieldName": "size"
|
|
32554
|
+
},
|
|
32555
|
+
{
|
|
32556
|
+
"name": "row-slots",
|
|
32557
|
+
"type": {
|
|
32558
|
+
"text": "boolean"
|
|
32559
|
+
},
|
|
32560
|
+
"default": "false",
|
|
32561
|
+
"description": "Set to `true` to render a `<slot name=\"<node id>\">` at the end of each rendered row, for content you supply. See\n`flow-ui-visible-change`.",
|
|
32562
|
+
"fieldName": "rowSlots"
|
|
31904
32563
|
}
|
|
31905
32564
|
],
|
|
31906
32565
|
"superclass": {
|
|
@@ -31908,8 +32567,13 @@
|
|
|
31908
32567
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
31909
32568
|
},
|
|
31910
32569
|
"tagName": "flow-ui-tree",
|
|
31911
|
-
"summary": "Trees allow
|
|
32570
|
+
"summary": "Trees allow users to expand, collapse and select a hierarchy of nodes, given as data or as\n[tree items](./flow-ui-tree-item).",
|
|
31912
32571
|
"docgroup": "tree",
|
|
32572
|
+
"dependencies": [
|
|
32573
|
+
"flow-ui-checkbox",
|
|
32574
|
+
"flow-ui-icon",
|
|
32575
|
+
"flow-ui-progress-ring"
|
|
32576
|
+
],
|
|
31913
32577
|
"customElement": true
|
|
31914
32578
|
}
|
|
31915
32579
|
],
|
|
@@ -31953,94 +32617,12 @@
|
|
|
31953
32617
|
"declarations": [
|
|
31954
32618
|
{
|
|
31955
32619
|
"kind": "class",
|
|
31956
|
-
"description": "",
|
|
32620
|
+
"description": "The tree item component writes a node of a [tree](./flow-ui-tree) as markup. Nest tree items for child nodes. The\ntree reads its items into its nodes and draws their rows, so a tree item draws nothing itself. The tree reads them\nagain when items are added, removed or relabeled, or their attributes change.\n\nAn item's label is its text, without its child items: markup inside an item is reduced to its text. An item with\nthe `hidden` attribute is left out of the tree. The tree reads the attributes of items that are not registered yet,\nso the tree items can be registered after the tree.",
|
|
31957
32621
|
"name": "FlowUiTreeItem",
|
|
31958
|
-
"cssParts": [
|
|
31959
|
-
{
|
|
31960
|
-
"description": "The component's base wrapper.",
|
|
31961
|
-
"name": "base"
|
|
31962
|
-
},
|
|
31963
|
-
{
|
|
31964
|
-
"description": "The tree item's container. This element wraps everything except slotted tree item children.",
|
|
31965
|
-
"name": "item"
|
|
31966
|
-
},
|
|
31967
|
-
{
|
|
31968
|
-
"description": "Applied when the tree item is disabled.",
|
|
31969
|
-
"name": "item--disabled"
|
|
31970
|
-
},
|
|
31971
|
-
{
|
|
31972
|
-
"description": "Applied when the tree item is expanded.",
|
|
31973
|
-
"name": "item--expanded"
|
|
31974
|
-
},
|
|
31975
|
-
{
|
|
31976
|
-
"description": "Applied when the selection is indeterminate.",
|
|
31977
|
-
"name": "item--indeterminate"
|
|
31978
|
-
},
|
|
31979
|
-
{
|
|
31980
|
-
"description": "Applied when the tree item is selected.",
|
|
31981
|
-
"name": "item--selected"
|
|
31982
|
-
},
|
|
31983
|
-
{
|
|
31984
|
-
"description": "The tree item's indentation container.",
|
|
31985
|
-
"name": "indentation"
|
|
31986
|
-
},
|
|
31987
|
-
{
|
|
31988
|
-
"description": "The container that wraps the tree item's expand button and spinner.",
|
|
31989
|
-
"name": "expand-button"
|
|
31990
|
-
},
|
|
31991
|
-
{
|
|
31992
|
-
"description": "The tree item's label.",
|
|
31993
|
-
"name": "label"
|
|
31994
|
-
},
|
|
31995
|
-
{
|
|
31996
|
-
"description": "The container that wraps the tree item's nested children.",
|
|
31997
|
-
"name": "children"
|
|
31998
|
-
},
|
|
31999
|
-
{
|
|
32000
|
-
"description": "The checkbox that shows when using multiselect.",
|
|
32001
|
-
"name": "checkbox"
|
|
32002
|
-
},
|
|
32003
|
-
{
|
|
32004
|
-
"description": "The checkbox's exported `base` part.",
|
|
32005
|
-
"name": "checkbox__base"
|
|
32006
|
-
},
|
|
32007
|
-
{
|
|
32008
|
-
"description": "The checkbox's exported `control` part.",
|
|
32009
|
-
"name": "checkbox__control"
|
|
32010
|
-
},
|
|
32011
|
-
{
|
|
32012
|
-
"description": "The checkbox's exported `control--checked` part.",
|
|
32013
|
-
"name": "checkbox__control--checked"
|
|
32014
|
-
},
|
|
32015
|
-
{
|
|
32016
|
-
"description": "The checkbox's exported `control--indeterminate` part.",
|
|
32017
|
-
"name": "checkbox__control--indeterminate"
|
|
32018
|
-
},
|
|
32019
|
-
{
|
|
32020
|
-
"description": "The checkbox's exported `checked-icon` part.",
|
|
32021
|
-
"name": "checkbox__checked-icon"
|
|
32022
|
-
},
|
|
32023
|
-
{
|
|
32024
|
-
"description": "The checkbox's exported `indeterminate-icon` part.",
|
|
32025
|
-
"name": "checkbox__indeterminate-icon"
|
|
32026
|
-
},
|
|
32027
|
-
{
|
|
32028
|
-
"description": "The checkbox's exported `label` part.",
|
|
32029
|
-
"name": "checkbox__label"
|
|
32030
|
-
}
|
|
32031
|
-
],
|
|
32032
32622
|
"slots": [
|
|
32033
32623
|
{
|
|
32034
|
-
"description": "The
|
|
32624
|
+
"description": "The tree item's label and its child items.",
|
|
32035
32625
|
"name": ""
|
|
32036
|
-
},
|
|
32037
|
-
{
|
|
32038
|
-
"description": "The icon to show when the tree item is expanded.",
|
|
32039
|
-
"name": "expand-icon"
|
|
32040
|
-
},
|
|
32041
|
-
{
|
|
32042
|
-
"description": "The icon to show when the tree item is collapsed.",
|
|
32043
|
-
"name": "collapse-icon"
|
|
32044
32626
|
}
|
|
32045
32627
|
],
|
|
32046
32628
|
"members": [
|
|
@@ -32053,22 +32635,6 @@
|
|
|
32053
32635
|
"static": true,
|
|
32054
32636
|
"default": "'flow-ui-tree-item'"
|
|
32055
32637
|
},
|
|
32056
|
-
{
|
|
32057
|
-
"kind": "field",
|
|
32058
|
-
"name": "dependencies",
|
|
32059
|
-
"type": {
|
|
32060
|
-
"text": "array"
|
|
32061
|
-
},
|
|
32062
|
-
"static": true,
|
|
32063
|
-
"default": "[FlowUiCheckbox, FlowUiIcon, FlowUiProgressRing]"
|
|
32064
|
-
},
|
|
32065
|
-
{
|
|
32066
|
-
"kind": "field",
|
|
32067
|
-
"name": "localize",
|
|
32068
|
-
"privacy": "private",
|
|
32069
|
-
"readonly": true,
|
|
32070
|
-
"default": "new LocalizeController(this)"
|
|
32071
|
-
},
|
|
32072
32638
|
{
|
|
32073
32639
|
"kind": "field",
|
|
32074
32640
|
"name": "value",
|
|
@@ -32076,7 +32642,7 @@
|
|
|
32076
32642
|
"text": "string"
|
|
32077
32643
|
},
|
|
32078
32644
|
"default": "''",
|
|
32079
|
-
"description": "The
|
|
32645
|
+
"description": "The item's value, which is its node ID. The tree's `value` holds it while the item is selected. It must be unique\nin the tree and must not contain spaces, which separate the values in the tree's `value` attribute. If not set,\nthe item can still be selected, but does not appear in the tree's `value`.",
|
|
32080
32646
|
"attribute": "value",
|
|
32081
32647
|
"reflects": true
|
|
32082
32648
|
},
|
|
@@ -32087,7 +32653,7 @@
|
|
|
32087
32653
|
"text": "boolean"
|
|
32088
32654
|
},
|
|
32089
32655
|
"default": "false",
|
|
32090
|
-
"description": "
|
|
32656
|
+
"description": "Indicates whether the item is expanded. Toggle this attribute to expand or collapse the item. The tree updates it\nwhen the user expands or collapses the item.",
|
|
32091
32657
|
"attribute": "expanded",
|
|
32092
32658
|
"reflects": true
|
|
32093
32659
|
},
|
|
@@ -32098,7 +32664,7 @@
|
|
|
32098
32664
|
"text": "boolean"
|
|
32099
32665
|
},
|
|
32100
32666
|
"default": "false",
|
|
32101
|
-
"description": "
|
|
32667
|
+
"description": "Indicates whether the item is selected. Toggle this attribute to select or deselect the item, or, in multiple\nselection, a parent's leaves. The tree updates it when the selection changes: in multiple selection, a parent is\nselected when all its enabled leaves are.",
|
|
32102
32668
|
"attribute": "selected",
|
|
32103
32669
|
"reflects": true
|
|
32104
32670
|
},
|
|
@@ -32109,7 +32675,7 @@
|
|
|
32109
32675
|
"text": "boolean"
|
|
32110
32676
|
},
|
|
32111
32677
|
"default": "false",
|
|
32112
|
-
"description": "Disables the
|
|
32678
|
+
"description": "Disables the item, so that it cannot be selected.",
|
|
32113
32679
|
"attribute": "disabled",
|
|
32114
32680
|
"reflects": true
|
|
32115
32681
|
},
|
|
@@ -32120,105 +32686,54 @@
|
|
|
32120
32686
|
"text": "boolean"
|
|
32121
32687
|
},
|
|
32122
32688
|
"default": "false",
|
|
32123
|
-
"description": "
|
|
32689
|
+
"description": "Set to `true` to mark the item as having child items that are not loaded yet. See `flow-ui-lazy-load`.",
|
|
32124
32690
|
"attribute": "lazy",
|
|
32125
32691
|
"reflects": true
|
|
32126
32692
|
},
|
|
32127
32693
|
{
|
|
32128
32694
|
"kind": "field",
|
|
32129
|
-
"name": "
|
|
32695
|
+
"name": "icon",
|
|
32130
32696
|
"type": {
|
|
32131
|
-
"text": "
|
|
32697
|
+
"text": "string | undefined"
|
|
32132
32698
|
},
|
|
32133
|
-
"
|
|
32134
|
-
"
|
|
32135
|
-
"attribute": "size",
|
|
32699
|
+
"description": "The name of a `flow-ui-icon` to show before the label.",
|
|
32700
|
+
"attribute": "icon",
|
|
32136
32701
|
"reflects": true
|
|
32137
32702
|
},
|
|
32138
32703
|
{
|
|
32139
32704
|
"kind": "field",
|
|
32140
|
-
"name": "
|
|
32705
|
+
"name": "iconLibrary",
|
|
32141
32706
|
"type": {
|
|
32142
|
-
"text": "
|
|
32707
|
+
"text": "string | undefined"
|
|
32143
32708
|
},
|
|
32144
|
-
"
|
|
32145
|
-
"
|
|
32146
|
-
"attribute": "hidden",
|
|
32709
|
+
"description": "The icon library of `icon`. If not set, the default library is used.",
|
|
32710
|
+
"attribute": "icon-library",
|
|
32147
32711
|
"reflects": true
|
|
32148
|
-
},
|
|
32149
|
-
{
|
|
32150
|
-
"kind": "method",
|
|
32151
|
-
"name": "animateCollapse",
|
|
32152
|
-
"privacy": "private"
|
|
32153
|
-
},
|
|
32154
|
-
{
|
|
32155
|
-
"kind": "method",
|
|
32156
|
-
"name": "isNestedItem",
|
|
32157
|
-
"privacy": "private",
|
|
32158
|
-
"return": {
|
|
32159
|
-
"type": {
|
|
32160
|
-
"text": "boolean"
|
|
32161
|
-
}
|
|
32162
|
-
}
|
|
32163
|
-
},
|
|
32164
|
-
{
|
|
32165
|
-
"kind": "method",
|
|
32166
|
-
"name": "handleChildrenSlotChange",
|
|
32167
|
-
"privacy": "private"
|
|
32168
|
-
},
|
|
32169
|
-
{
|
|
32170
|
-
"kind": "method",
|
|
32171
|
-
"name": "animateExpand",
|
|
32172
|
-
"privacy": "private"
|
|
32173
|
-
},
|
|
32174
|
-
{
|
|
32175
|
-
"kind": "method",
|
|
32176
|
-
"name": "getChildrenItems",
|
|
32177
|
-
"return": {
|
|
32178
|
-
"type": {
|
|
32179
|
-
"text": "FlowUiTreeItem[]"
|
|
32180
|
-
}
|
|
32181
|
-
},
|
|
32182
|
-
"parameters": [
|
|
32183
|
-
{
|
|
32184
|
-
"name": "{ includeDisabled = true }",
|
|
32185
|
-
"default": "{}",
|
|
32186
|
-
"type": {
|
|
32187
|
-
"text": "{ includeDisabled?: boolean }"
|
|
32188
|
-
}
|
|
32189
|
-
}
|
|
32190
|
-
],
|
|
32191
|
-
"description": "Gets all the nested tree items in this node."
|
|
32192
32712
|
}
|
|
32193
32713
|
],
|
|
32194
32714
|
"events": [
|
|
32195
32715
|
{
|
|
32196
|
-
"description": "Emitted when the
|
|
32716
|
+
"description": "Emitted when the user expands the item.",
|
|
32197
32717
|
"name": "flow-ui-expand",
|
|
32198
32718
|
"reactName": "onFlowUiExpand"
|
|
32199
32719
|
},
|
|
32200
32720
|
{
|
|
32201
|
-
"description": "Emitted after the
|
|
32721
|
+
"description": "Emitted after the item expands and the tree has drawn its child rows.",
|
|
32202
32722
|
"name": "flow-ui-after-expand",
|
|
32203
32723
|
"reactName": "onFlowUiAfterExpand"
|
|
32204
32724
|
},
|
|
32205
32725
|
{
|
|
32206
|
-
"description": "Emitted when the
|
|
32726
|
+
"description": "Emitted when the user collapses the item.",
|
|
32207
32727
|
"name": "flow-ui-collapse",
|
|
32208
32728
|
"reactName": "onFlowUiCollapse"
|
|
32209
32729
|
},
|
|
32210
32730
|
{
|
|
32211
|
-
"description": "Emitted after the
|
|
32731
|
+
"description": "Emitted after the item collapses and the tree has removed its child rows.",
|
|
32212
32732
|
"name": "flow-ui-after-collapse",
|
|
32213
32733
|
"reactName": "onFlowUiAfterCollapse"
|
|
32214
32734
|
},
|
|
32215
32735
|
{
|
|
32216
|
-
"description": "Emitted when the
|
|
32217
|
-
"name": "flow-ui-lazy-change",
|
|
32218
|
-
"reactName": "onFlowUiLazyChange"
|
|
32219
|
-
},
|
|
32220
|
-
{
|
|
32221
|
-
"description": "Emitted when a lazy item is selected. Use this event to asynchronously load data and append items to the tree before expanding. After appending new items, remove the `lazy` attribute to remove the loading state and update the tree.",
|
|
32736
|
+
"description": "Emitted when the user expands a lazy item. Use this event to load the item's children: append its child items, then remove the `lazy` attribute. The tree shows a spinner until then.",
|
|
32222
32737
|
"name": "flow-ui-lazy-load",
|
|
32223
32738
|
"reactName": "onFlowUiLazyLoad"
|
|
32224
32739
|
}
|
|
@@ -32230,7 +32745,7 @@
|
|
|
32230
32745
|
"text": "string"
|
|
32231
32746
|
},
|
|
32232
32747
|
"default": "''",
|
|
32233
|
-
"description": "The
|
|
32748
|
+
"description": "The item's value, which is its node ID. The tree's `value` holds it while the item is selected. It must be unique\nin the tree and must not contain spaces, which separate the values in the tree's `value` attribute. If not set,\nthe item can still be selected, but does not appear in the tree's `value`.",
|
|
32234
32749
|
"fieldName": "value"
|
|
32235
32750
|
},
|
|
32236
32751
|
{
|
|
@@ -32239,7 +32754,7 @@
|
|
|
32239
32754
|
"text": "boolean"
|
|
32240
32755
|
},
|
|
32241
32756
|
"default": "false",
|
|
32242
|
-
"description": "
|
|
32757
|
+
"description": "Indicates whether the item is expanded. Toggle this attribute to expand or collapse the item. The tree updates it\nwhen the user expands or collapses the item.",
|
|
32243
32758
|
"fieldName": "expanded"
|
|
32244
32759
|
},
|
|
32245
32760
|
{
|
|
@@ -32248,7 +32763,7 @@
|
|
|
32248
32763
|
"text": "boolean"
|
|
32249
32764
|
},
|
|
32250
32765
|
"default": "false",
|
|
32251
|
-
"description": "
|
|
32766
|
+
"description": "Indicates whether the item is selected. Toggle this attribute to select or deselect the item, or, in multiple\nselection, a parent's leaves. The tree updates it when the selection changes: in multiple selection, a parent is\nselected when all its enabled leaves are.",
|
|
32252
32767
|
"fieldName": "selected"
|
|
32253
32768
|
},
|
|
32254
32769
|
{
|
|
@@ -32257,7 +32772,7 @@
|
|
|
32257
32772
|
"text": "boolean"
|
|
32258
32773
|
},
|
|
32259
32774
|
"default": "false",
|
|
32260
|
-
"description": "Disables the
|
|
32775
|
+
"description": "Disables the item, so that it cannot be selected.",
|
|
32261
32776
|
"fieldName": "disabled"
|
|
32262
32777
|
},
|
|
32263
32778
|
{
|
|
@@ -32266,26 +32781,24 @@
|
|
|
32266
32781
|
"text": "boolean"
|
|
32267
32782
|
},
|
|
32268
32783
|
"default": "false",
|
|
32269
|
-
"description": "
|
|
32784
|
+
"description": "Set to `true` to mark the item as having child items that are not loaded yet. See `flow-ui-lazy-load`.",
|
|
32270
32785
|
"fieldName": "lazy"
|
|
32271
32786
|
},
|
|
32272
32787
|
{
|
|
32273
|
-
"name": "
|
|
32788
|
+
"name": "icon",
|
|
32274
32789
|
"type": {
|
|
32275
|
-
"text": "
|
|
32790
|
+
"text": "string | undefined"
|
|
32276
32791
|
},
|
|
32277
|
-
"
|
|
32278
|
-
"
|
|
32279
|
-
"fieldName": "size"
|
|
32792
|
+
"description": "The name of a `flow-ui-icon` to show before the label.",
|
|
32793
|
+
"fieldName": "icon"
|
|
32280
32794
|
},
|
|
32281
32795
|
{
|
|
32282
|
-
"name": "
|
|
32796
|
+
"name": "icon-library",
|
|
32283
32797
|
"type": {
|
|
32284
|
-
"text": "
|
|
32798
|
+
"text": "string | undefined"
|
|
32285
32799
|
},
|
|
32286
|
-
"
|
|
32287
|
-
"
|
|
32288
|
-
"fieldName": "hidden"
|
|
32800
|
+
"description": "The icon library of `icon`. If not set, the default library is used.",
|
|
32801
|
+
"fieldName": "iconLibrary"
|
|
32289
32802
|
}
|
|
32290
32803
|
],
|
|
32291
32804
|
"superclass": {
|
|
@@ -32293,13 +32806,8 @@
|
|
|
32293
32806
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
32294
32807
|
},
|
|
32295
32808
|
"tagName": "flow-ui-tree-item",
|
|
32296
|
-
"summary": "
|
|
32809
|
+
"summary": "Tree items are used with [trees](./flow-ui-tree) to write the tree's nodes as markup.",
|
|
32297
32810
|
"docgroup": "tree",
|
|
32298
|
-
"dependencies": [
|
|
32299
|
-
"flow-ui-checkbox",
|
|
32300
|
-
"flow-ui-icon",
|
|
32301
|
-
"flow-ui-progress-ring"
|
|
32302
|
-
],
|
|
32303
32811
|
"customElement": true
|
|
32304
32812
|
}
|
|
32305
32813
|
],
|
|
@@ -32845,6 +33353,6 @@
|
|
|
32845
33353
|
],
|
|
32846
33354
|
"package": {
|
|
32847
33355
|
"name": "@emuanalytics/flow-rdf-ui",
|
|
32848
|
-
"version": "
|
|
33356
|
+
"version": "5.0.0"
|
|
32849
33357
|
}
|
|
32850
33358
|
}
|