@emuanalytics/flow-rdf-ui 4.1.20 → 4.1.21
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.
|
@@ -452,12 +452,12 @@
|
|
|
452
452
|
},
|
|
453
453
|
{
|
|
454
454
|
"kind": "javascript-module",
|
|
455
|
-
"path": "components/
|
|
455
|
+
"path": "components/base-control/base-control.component.js",
|
|
456
456
|
"declarations": [
|
|
457
457
|
{
|
|
458
458
|
"kind": "class",
|
|
459
459
|
"description": "",
|
|
460
|
-
"name": "
|
|
460
|
+
"name": "FlowUiBaseControl",
|
|
461
461
|
"cssParts": [
|
|
462
462
|
{
|
|
463
463
|
"description": "The form control that wraps the label, input, and help text.",
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
"name": "form-control-label"
|
|
469
469
|
},
|
|
470
470
|
{
|
|
471
|
-
"description": "The
|
|
471
|
+
"description": "The input's wrapper.",
|
|
472
472
|
"name": "form-control-input"
|
|
473
473
|
},
|
|
474
474
|
{
|
|
@@ -476,51 +476,55 @@
|
|
|
476
476
|
"name": "form-control-help-text"
|
|
477
477
|
},
|
|
478
478
|
{
|
|
479
|
-
"description": "The
|
|
480
|
-
"name": "
|
|
479
|
+
"description": "The component's base wrapper.",
|
|
480
|
+
"name": "base"
|
|
481
481
|
},
|
|
482
482
|
{
|
|
483
|
-
"description": "The
|
|
484
|
-
"name": "
|
|
483
|
+
"description": "The internal `<input>` control.",
|
|
484
|
+
"name": "input"
|
|
485
485
|
},
|
|
486
486
|
{
|
|
487
|
-
"description": "The container that wraps the
|
|
488
|
-
"name": "
|
|
487
|
+
"description": "The container that wraps the prefix.",
|
|
488
|
+
"name": "prefix"
|
|
489
489
|
},
|
|
490
490
|
{
|
|
491
|
-
"description": "The
|
|
492
|
-
"name": "
|
|
491
|
+
"description": "The clear button.",
|
|
492
|
+
"name": "clear-button"
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
|
-
"description": "The
|
|
496
|
-
"name": "
|
|
495
|
+
"description": "The password toggle button.",
|
|
496
|
+
"name": "password-toggle-button"
|
|
497
497
|
},
|
|
498
498
|
{
|
|
499
|
-
"description": "The
|
|
500
|
-
"name": "
|
|
499
|
+
"description": "The container that wraps the suffix.",
|
|
500
|
+
"name": "suffix"
|
|
501
501
|
}
|
|
502
502
|
],
|
|
503
503
|
"slots": [
|
|
504
|
-
{
|
|
505
|
-
"description": "The listbox options. Must be `<flow-option>` elements. You can use `<flow-divider>` to group items visually.",
|
|
506
|
-
"name": ""
|
|
507
|
-
},
|
|
508
504
|
{
|
|
509
505
|
"description": "The input's label. Alternatively, you can use the `label` attribute.",
|
|
510
506
|
"name": "label"
|
|
511
507
|
},
|
|
512
508
|
{
|
|
513
|
-
"description": "Used to prepend a presentational icon or similar element to the
|
|
509
|
+
"description": "Used to prepend a presentational icon or similar element to the input.",
|
|
514
510
|
"name": "prefix"
|
|
515
511
|
},
|
|
516
512
|
{
|
|
517
|
-
"description": "Used to append a presentational icon or similar element to the
|
|
513
|
+
"description": "Used to append a presentational icon or similar element to the input.",
|
|
518
514
|
"name": "suffix"
|
|
519
515
|
},
|
|
520
516
|
{
|
|
521
517
|
"description": "An icon to use in lieu of the default clear icon.",
|
|
522
518
|
"name": "clear-icon"
|
|
523
519
|
},
|
|
520
|
+
{
|
|
521
|
+
"description": "An icon to use in lieu of the default show password icon.",
|
|
522
|
+
"name": "show-password-icon"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"description": "An icon to use in lieu of the default hide password icon.",
|
|
526
|
+
"name": "hide-password-icon"
|
|
527
|
+
},
|
|
524
528
|
{
|
|
525
529
|
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
526
530
|
"name": "help-text"
|
|
@@ -529,69 +533,27 @@
|
|
|
529
533
|
"members": [
|
|
530
534
|
{
|
|
531
535
|
"kind": "field",
|
|
532
|
-
"name": "
|
|
533
|
-
"type": {
|
|
534
|
-
"text": "object"
|
|
535
|
-
},
|
|
536
|
-
"static": true,
|
|
537
|
-
"default": "{\n 'flow-ui-popup': FlowPopup,\n 'flow-ui-icon': FlowIcon\n }"
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
"kind": "field",
|
|
541
|
-
"name": "hasSlotController",
|
|
536
|
+
"name": "formControlController",
|
|
542
537
|
"privacy": "private",
|
|
543
538
|
"readonly": true,
|
|
544
|
-
"default": "new
|
|
539
|
+
"default": "new FormControlController(this, {\n assumeInteractionOn: ['flow-ui-blur', 'flow-ui-input']\n })"
|
|
545
540
|
},
|
|
546
541
|
{
|
|
547
542
|
"kind": "field",
|
|
548
|
-
"name": "
|
|
543
|
+
"name": "hasSlotController",
|
|
549
544
|
"privacy": "private",
|
|
550
545
|
"readonly": true,
|
|
551
|
-
"default": "new
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
"kind": "field",
|
|
555
|
-
"name": "debouncedInput",
|
|
556
|
-
"type": {
|
|
557
|
-
"text": "(displayValue: string) => void"
|
|
558
|
-
},
|
|
559
|
-
"privacy": "private"
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"kind": "field",
|
|
563
|
-
"name": "pendingChangeEvent",
|
|
564
|
-
"type": {
|
|
565
|
-
"text": "boolean"
|
|
566
|
-
},
|
|
567
|
-
"privacy": "private",
|
|
568
|
-
"default": "false"
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"kind": "field",
|
|
572
|
-
"name": "pendingInputEvent",
|
|
573
|
-
"type": {
|
|
574
|
-
"text": "boolean"
|
|
575
|
-
},
|
|
576
|
-
"privacy": "private",
|
|
577
|
-
"default": "false"
|
|
546
|
+
"default": "new HasSlotController(this, 'help-text', 'label')"
|
|
578
547
|
},
|
|
579
548
|
{
|
|
580
549
|
"kind": "field",
|
|
581
|
-
"name": "
|
|
550
|
+
"name": "hasFocus",
|
|
582
551
|
"type": {
|
|
583
552
|
"text": "boolean"
|
|
584
553
|
},
|
|
585
554
|
"privacy": "private",
|
|
586
555
|
"default": "false"
|
|
587
556
|
},
|
|
588
|
-
{
|
|
589
|
-
"kind": "field",
|
|
590
|
-
"name": "formControlController",
|
|
591
|
-
"privacy": "private",
|
|
592
|
-
"readonly": true,
|
|
593
|
-
"default": "new FormControlController(this, {\n assumeInteractionOn: ['flow-ui-blur', 'flow-ui-input']\n })"
|
|
594
|
-
},
|
|
595
557
|
{
|
|
596
558
|
"kind": "field",
|
|
597
559
|
"name": "size",
|
|
@@ -599,7 +561,7 @@
|
|
|
599
561
|
"text": "'small' | 'medium' | 'large'"
|
|
600
562
|
},
|
|
601
563
|
"default": "'medium'",
|
|
602
|
-
"description": "The
|
|
564
|
+
"description": "The input's size.",
|
|
603
565
|
"attribute": "size",
|
|
604
566
|
"reflects": true
|
|
605
567
|
},
|
|
@@ -610,7 +572,7 @@
|
|
|
610
572
|
"text": "boolean"
|
|
611
573
|
},
|
|
612
574
|
"default": "false",
|
|
613
|
-
"description": "Draws a filled
|
|
575
|
+
"description": "Draws a filled input.",
|
|
614
576
|
"attribute": "filled",
|
|
615
577
|
"reflects": true
|
|
616
578
|
},
|
|
@@ -621,7 +583,7 @@
|
|
|
621
583
|
"text": "boolean"
|
|
622
584
|
},
|
|
623
585
|
"default": "false",
|
|
624
|
-
"description": "Draws a pill-style
|
|
586
|
+
"description": "Draws a pill-style input with rounded edges.",
|
|
625
587
|
"attribute": "pill",
|
|
626
588
|
"reflects": true
|
|
627
589
|
},
|
|
@@ -632,7 +594,7 @@
|
|
|
632
594
|
"text": "string"
|
|
633
595
|
},
|
|
634
596
|
"default": "''",
|
|
635
|
-
"description": "The
|
|
597
|
+
"description": "The input's label. If you need to display HTML, use the `label` slot instead.",
|
|
636
598
|
"attribute": "label"
|
|
637
599
|
},
|
|
638
600
|
{
|
|
@@ -642,19 +604,9 @@
|
|
|
642
604
|
"text": "string"
|
|
643
605
|
},
|
|
644
606
|
"default": "''",
|
|
645
|
-
"description": "The
|
|
607
|
+
"description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
646
608
|
"attribute": "help-text"
|
|
647
609
|
},
|
|
648
|
-
{
|
|
649
|
-
"kind": "field",
|
|
650
|
-
"name": "placeholder",
|
|
651
|
-
"type": {
|
|
652
|
-
"text": "string"
|
|
653
|
-
},
|
|
654
|
-
"default": "''",
|
|
655
|
-
"description": "The autocomplete input's placeholder text",
|
|
656
|
-
"attribute": "placeholder"
|
|
657
|
-
},
|
|
658
610
|
{
|
|
659
611
|
"kind": "field",
|
|
660
612
|
"name": "disabled",
|
|
@@ -662,7 +614,7 @@
|
|
|
662
614
|
"text": "boolean"
|
|
663
615
|
},
|
|
664
616
|
"default": "false",
|
|
665
|
-
"description": "Disables the
|
|
617
|
+
"description": "Disables the input.",
|
|
666
618
|
"attribute": "disabled",
|
|
667
619
|
"reflects": true
|
|
668
620
|
},
|
|
@@ -672,8 +624,10 @@
|
|
|
672
624
|
"type": {
|
|
673
625
|
"text": "string"
|
|
674
626
|
},
|
|
675
|
-
"
|
|
676
|
-
"
|
|
627
|
+
"default": "''",
|
|
628
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
629
|
+
"attribute": "form",
|
|
630
|
+
"reflects": true
|
|
677
631
|
},
|
|
678
632
|
{
|
|
679
633
|
"kind": "field",
|
|
@@ -682,7 +636,7 @@
|
|
|
682
636
|
"text": "boolean"
|
|
683
637
|
},
|
|
684
638
|
"default": "false",
|
|
685
|
-
"description": "Makes the
|
|
639
|
+
"description": "Makes the input a required field.",
|
|
686
640
|
"attribute": "required",
|
|
687
641
|
"reflects": true
|
|
688
642
|
},
|
|
@@ -693,7 +647,7 @@
|
|
|
693
647
|
"text": "boolean"
|
|
694
648
|
},
|
|
695
649
|
"default": "false",
|
|
696
|
-
"description": "Display the
|
|
650
|
+
"description": "Display the input in the 'inline' form control style.",
|
|
697
651
|
"attribute": "inline",
|
|
698
652
|
"reflects": true
|
|
699
653
|
},
|
|
@@ -710,284 +664,109 @@
|
|
|
710
664
|
},
|
|
711
665
|
{
|
|
712
666
|
"kind": "field",
|
|
713
|
-
"name": "
|
|
714
|
-
"
|
|
715
|
-
|
|
716
|
-
},
|
|
717
|
-
"default": "false",
|
|
718
|
-
"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.",
|
|
719
|
-
"attribute": "hoist"
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
"kind": "field",
|
|
723
|
-
"name": "placement",
|
|
724
|
-
"type": {
|
|
725
|
-
"text": "'top' | 'bottom'"
|
|
726
|
-
},
|
|
727
|
-
"default": "'bottom'",
|
|
728
|
-
"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.",
|
|
729
|
-
"attribute": "placement",
|
|
730
|
-
"reflects": true
|
|
667
|
+
"name": "validity",
|
|
668
|
+
"description": "Gets the validity state object",
|
|
669
|
+
"readonly": true
|
|
731
670
|
},
|
|
732
671
|
{
|
|
733
672
|
"kind": "field",
|
|
734
|
-
"name": "
|
|
735
|
-
"
|
|
736
|
-
|
|
737
|
-
},
|
|
738
|
-
"default": "''",
|
|
739
|
-
"description": "Current value of the control, selected from one of the valid options available",
|
|
740
|
-
"attribute": "value"
|
|
673
|
+
"name": "validationMessage",
|
|
674
|
+
"description": "Gets the validation message",
|
|
675
|
+
"readonly": true
|
|
741
676
|
},
|
|
742
677
|
{
|
|
743
|
-
"kind": "
|
|
744
|
-
"name": "
|
|
745
|
-
"
|
|
746
|
-
"text": "((value: string) => string) | ((value: string) => Promise<string>)"
|
|
747
|
-
},
|
|
748
|
-
"description": "Function for determining the `displayValue` for a given `value`.\nBy default, it will show the `value` itself.",
|
|
749
|
-
"attribute": "displayWith"
|
|
678
|
+
"kind": "method",
|
|
679
|
+
"name": "handleBlur",
|
|
680
|
+
"privacy": "private"
|
|
750
681
|
},
|
|
751
682
|
{
|
|
752
|
-
"kind": "
|
|
753
|
-
"name": "
|
|
754
|
-
"
|
|
755
|
-
"text": "number"
|
|
756
|
-
},
|
|
757
|
-
"default": "0",
|
|
758
|
-
"description": "Debounce delay",
|
|
759
|
-
"attribute": "debounce-delay",
|
|
760
|
-
"reflects": true
|
|
683
|
+
"kind": "method",
|
|
684
|
+
"name": "handleFocus",
|
|
685
|
+
"privacy": "private"
|
|
761
686
|
},
|
|
762
687
|
{
|
|
763
|
-
"kind": "
|
|
764
|
-
"name": "
|
|
765
|
-
"
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
688
|
+
"kind": "method",
|
|
689
|
+
"name": "focus",
|
|
690
|
+
"parameters": [
|
|
691
|
+
{
|
|
692
|
+
"name": "options",
|
|
693
|
+
"optional": true,
|
|
694
|
+
"type": {
|
|
695
|
+
"text": "FocusOptions"
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
],
|
|
699
|
+
"description": "Sets focus on the input."
|
|
772
700
|
},
|
|
773
701
|
{
|
|
774
|
-
"kind": "
|
|
775
|
-
"name": "
|
|
776
|
-
"
|
|
777
|
-
"text": "boolean"
|
|
778
|
-
},
|
|
779
|
-
"default": "false",
|
|
780
|
-
"description": "Clear the value when the autocomplete is focused on",
|
|
781
|
-
"attribute": "clear-on-focus",
|
|
782
|
-
"reflects": true
|
|
702
|
+
"kind": "method",
|
|
703
|
+
"name": "blur",
|
|
704
|
+
"description": "Removes focus from the input."
|
|
783
705
|
},
|
|
784
706
|
{
|
|
785
|
-
"kind": "
|
|
786
|
-
"name": "
|
|
787
|
-
"
|
|
788
|
-
"text": "string"
|
|
789
|
-
},
|
|
790
|
-
"privacy": "private",
|
|
791
|
-
"default": "''",
|
|
792
|
-
"description": "Current value displayed by the control; this can be what the user is typing or the label of the selected option"
|
|
707
|
+
"kind": "method",
|
|
708
|
+
"name": "checkValidity",
|
|
709
|
+
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
793
710
|
},
|
|
794
711
|
{
|
|
795
|
-
"kind": "
|
|
796
|
-
"name": "
|
|
797
|
-
"
|
|
798
|
-
"
|
|
712
|
+
"kind": "method",
|
|
713
|
+
"name": "getForm",
|
|
714
|
+
"return": {
|
|
715
|
+
"type": {
|
|
716
|
+
"text": "HTMLFormElement | null"
|
|
717
|
+
}
|
|
799
718
|
},
|
|
800
|
-
"
|
|
801
|
-
"default": "null"
|
|
719
|
+
"description": "Gets the associated form, if one exists."
|
|
802
720
|
},
|
|
803
721
|
{
|
|
804
|
-
"kind": "
|
|
805
|
-
"name": "
|
|
806
|
-
"
|
|
807
|
-
"text": "FlowOption | null"
|
|
808
|
-
},
|
|
809
|
-
"privacy": "private",
|
|
810
|
-
"default": "null"
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
"kind": "field",
|
|
814
|
-
"name": "input",
|
|
815
|
-
"type": {
|
|
816
|
-
"text": "HTMLInputElement"
|
|
817
|
-
},
|
|
818
|
-
"privacy": "private"
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
"kind": "field",
|
|
822
|
-
"name": "popup",
|
|
823
|
-
"type": {
|
|
824
|
-
"text": "FlowPopup"
|
|
825
|
-
},
|
|
826
|
-
"privacy": "private"
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
"kind": "method",
|
|
830
|
-
"name": "getForm",
|
|
831
|
-
"return": {
|
|
832
|
-
"type": {
|
|
833
|
-
"text": "HTMLFormElement | null"
|
|
834
|
-
}
|
|
835
|
-
},
|
|
836
|
-
"description": "Gets the associated form, if one exists."
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
"kind": "field",
|
|
840
|
-
"name": "validity",
|
|
841
|
-
"description": "Gets the validity state object.",
|
|
842
|
-
"readonly": true
|
|
843
|
-
},
|
|
844
|
-
{
|
|
845
|
-
"kind": "field",
|
|
846
|
-
"name": "validationMessage",
|
|
847
|
-
"description": "Gets the validation message.",
|
|
848
|
-
"readonly": true
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
"kind": "method",
|
|
852
|
-
"name": "checkValidity",
|
|
853
|
-
"return": {
|
|
854
|
-
"type": {
|
|
855
|
-
"text": "boolean"
|
|
856
|
-
}
|
|
857
|
-
},
|
|
858
|
-
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
"kind": "method",
|
|
862
|
-
"name": "reportValidity",
|
|
863
|
-
"return": {
|
|
864
|
-
"type": {
|
|
865
|
-
"text": "boolean"
|
|
866
|
-
}
|
|
867
|
-
},
|
|
868
|
-
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
722
|
+
"kind": "method",
|
|
723
|
+
"name": "reportValidity",
|
|
724
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
869
725
|
},
|
|
870
726
|
{
|
|
871
727
|
"kind": "method",
|
|
872
728
|
"name": "setCustomValidity",
|
|
873
729
|
"parameters": [
|
|
874
730
|
{
|
|
875
|
-
"name": "
|
|
731
|
+
"name": "message",
|
|
876
732
|
"type": {
|
|
877
733
|
"text": "string"
|
|
878
734
|
}
|
|
879
735
|
}
|
|
880
736
|
],
|
|
881
737
|
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
882
|
-
},
|
|
883
|
-
{
|
|
884
|
-
"kind": "method",
|
|
885
|
-
"name": "handleClearClick",
|
|
886
|
-
"parameters": [
|
|
887
|
-
{
|
|
888
|
-
"name": "event",
|
|
889
|
-
"type": {
|
|
890
|
-
"text": "MouseEvent"
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
]
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
"kind": "method",
|
|
897
|
-
"name": "focus",
|
|
898
|
-
"description": "Focuses on the control"
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
"kind": "method",
|
|
902
|
-
"name": "blur",
|
|
903
|
-
"description": "Blurs from the control."
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
"kind": "method",
|
|
907
|
-
"name": "show",
|
|
908
|
-
"description": "Shows the listbox."
|
|
909
|
-
},
|
|
910
|
-
{
|
|
911
|
-
"kind": "method",
|
|
912
|
-
"name": "hide",
|
|
913
|
-
"description": "Hides the listbox."
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
"kind": "method",
|
|
917
|
-
"name": "getInputText",
|
|
918
|
-
"description": "Gets the current value of the text input"
|
|
919
738
|
}
|
|
920
739
|
],
|
|
921
740
|
"events": [
|
|
922
741
|
{
|
|
923
|
-
"description": "Emitted when the
|
|
924
|
-
"name": "flow-ui-input",
|
|
925
|
-
"reactName": "onFlowUiInput"
|
|
926
|
-
},
|
|
927
|
-
{
|
|
928
|
-
"description": "Emitted when the input value changes.",
|
|
929
|
-
"name": "flow-ui-change",
|
|
930
|
-
"reactName": "onFlowUiChange"
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
"description": "Emitted when the input is focused.",
|
|
934
|
-
"name": "flow-ui-focus",
|
|
935
|
-
"reactName": "onFlowUiFocus"
|
|
936
|
-
},
|
|
937
|
-
{
|
|
938
|
-
"description": "Emitted when the input is blurred.",
|
|
742
|
+
"description": "Emitted when the control loses focus.",
|
|
939
743
|
"name": "flow-ui-blur",
|
|
940
744
|
"reactName": "onFlowUiBlur"
|
|
941
745
|
},
|
|
942
746
|
{
|
|
943
|
-
"description": "Emitted when the
|
|
944
|
-
"name": "flow-ui-
|
|
945
|
-
"reactName": "
|
|
747
|
+
"description": "Emitted when an alteration to the control's value is committed by the user.",
|
|
748
|
+
"name": "flow-ui-change",
|
|
749
|
+
"reactName": "onFlowUiChange"
|
|
946
750
|
},
|
|
947
751
|
{
|
|
948
|
-
"description": "Emitted when the
|
|
949
|
-
"name": "flow-ui-
|
|
950
|
-
"reactName": "
|
|
752
|
+
"description": "Emitted when the clear button is activated.",
|
|
753
|
+
"name": "flow-ui-clear",
|
|
754
|
+
"reactName": "onFlowUiClear"
|
|
951
755
|
},
|
|
952
756
|
{
|
|
953
|
-
"description": "Emitted when the
|
|
954
|
-
"name": "flow-ui-
|
|
955
|
-
"reactName": "
|
|
757
|
+
"description": "Emitted when the control gains focus.",
|
|
758
|
+
"name": "flow-ui-focus",
|
|
759
|
+
"reactName": "onFlowUiFocus"
|
|
956
760
|
},
|
|
957
761
|
{
|
|
958
|
-
"description": "Emitted when the
|
|
959
|
-
"name": "flow-ui-
|
|
960
|
-
"reactName": "
|
|
762
|
+
"description": "Emitted when the control receives input.",
|
|
763
|
+
"name": "flow-ui-input",
|
|
764
|
+
"reactName": "onFlowUiInput"
|
|
961
765
|
},
|
|
962
766
|
{
|
|
963
|
-
"description": "Emitted when the
|
|
767
|
+
"description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
|
|
964
768
|
"name": "flow-ui-invalid",
|
|
965
769
|
"reactName": "onFlowUiInvalid"
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
"description": "Emitted when the input is valid.",
|
|
969
|
-
"name": "flow-ui-valid",
|
|
970
|
-
"reactName": "onFlowUiValid"
|
|
971
|
-
},
|
|
972
|
-
{
|
|
973
|
-
"description": "Emitted when the input is validated.",
|
|
974
|
-
"name": "flow-ui-validate",
|
|
975
|
-
"reactName": "onFlowUiValidate"
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
"description": "Emitted when the input is validated and the validity state is updated.",
|
|
979
|
-
"name": "flow-ui-validate-complete",
|
|
980
|
-
"reactName": "onFlowUiValidateComplete"
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
"description": "Emitted when the input is validated and an error occurs.",
|
|
984
|
-
"name": "flow-ui-validate-error",
|
|
985
|
-
"reactName": "onFlowUiValidateError"
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
"description": "Emitted when the input is validated and no errors occur.",
|
|
989
|
-
"name": "flow-ui-validate-success",
|
|
990
|
-
"reactName": "onFlowUiValidateSuccess"
|
|
991
770
|
}
|
|
992
771
|
],
|
|
993
772
|
"attributes": [
|
|
@@ -997,7 +776,7 @@
|
|
|
997
776
|
"text": "'small' | 'medium' | 'large'"
|
|
998
777
|
},
|
|
999
778
|
"default": "'medium'",
|
|
1000
|
-
"description": "The
|
|
779
|
+
"description": "The input's size.",
|
|
1001
780
|
"fieldName": "size"
|
|
1002
781
|
},
|
|
1003
782
|
{
|
|
@@ -1006,7 +785,7 @@
|
|
|
1006
785
|
"text": "boolean"
|
|
1007
786
|
},
|
|
1008
787
|
"default": "false",
|
|
1009
|
-
"description": "Draws a filled
|
|
788
|
+
"description": "Draws a filled input.",
|
|
1010
789
|
"fieldName": "filled"
|
|
1011
790
|
},
|
|
1012
791
|
{
|
|
@@ -1015,7 +794,7 @@
|
|
|
1015
794
|
"text": "boolean"
|
|
1016
795
|
},
|
|
1017
796
|
"default": "false",
|
|
1018
|
-
"description": "Draws a pill-style
|
|
797
|
+
"description": "Draws a pill-style input with rounded edges.",
|
|
1019
798
|
"fieldName": "pill"
|
|
1020
799
|
},
|
|
1021
800
|
{
|
|
@@ -1024,7 +803,7 @@
|
|
|
1024
803
|
"text": "string"
|
|
1025
804
|
},
|
|
1026
805
|
"default": "''",
|
|
1027
|
-
"description": "The
|
|
806
|
+
"description": "The input's label. If you need to display HTML, use the `label` slot instead.",
|
|
1028
807
|
"fieldName": "label"
|
|
1029
808
|
},
|
|
1030
809
|
{
|
|
@@ -1033,25 +812,16 @@
|
|
|
1033
812
|
"text": "string"
|
|
1034
813
|
},
|
|
1035
814
|
"default": "''",
|
|
1036
|
-
"description": "The
|
|
815
|
+
"description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1037
816
|
"fieldName": "helpText"
|
|
1038
817
|
},
|
|
1039
|
-
{
|
|
1040
|
-
"name": "placeholder",
|
|
1041
|
-
"type": {
|
|
1042
|
-
"text": "string"
|
|
1043
|
-
},
|
|
1044
|
-
"default": "''",
|
|
1045
|
-
"description": "The autocomplete input's placeholder text",
|
|
1046
|
-
"fieldName": "placeholder"
|
|
1047
|
-
},
|
|
1048
818
|
{
|
|
1049
819
|
"name": "disabled",
|
|
1050
820
|
"type": {
|
|
1051
821
|
"text": "boolean"
|
|
1052
822
|
},
|
|
1053
823
|
"default": "false",
|
|
1054
|
-
"description": "Disables the
|
|
824
|
+
"description": "Disables the input.",
|
|
1055
825
|
"fieldName": "disabled"
|
|
1056
826
|
},
|
|
1057
827
|
{
|
|
@@ -1059,7 +829,8 @@
|
|
|
1059
829
|
"type": {
|
|
1060
830
|
"text": "string"
|
|
1061
831
|
},
|
|
1062
|
-
"
|
|
832
|
+
"default": "''",
|
|
833
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
1063
834
|
"fieldName": "form"
|
|
1064
835
|
},
|
|
1065
836
|
{
|
|
@@ -1068,7 +839,7 @@
|
|
|
1068
839
|
"text": "boolean"
|
|
1069
840
|
},
|
|
1070
841
|
"default": "false",
|
|
1071
|
-
"description": "Makes the
|
|
842
|
+
"description": "Makes the input a required field.",
|
|
1072
843
|
"fieldName": "required"
|
|
1073
844
|
},
|
|
1074
845
|
{
|
|
@@ -1077,7 +848,7 @@
|
|
|
1077
848
|
"text": "boolean"
|
|
1078
849
|
},
|
|
1079
850
|
"default": "false",
|
|
1080
|
-
"description": "Display the
|
|
851
|
+
"description": "Display the input in the 'inline' form control style.",
|
|
1081
852
|
"fieldName": "inline"
|
|
1082
853
|
},
|
|
1083
854
|
{
|
|
@@ -1088,79 +859,20 @@
|
|
|
1088
859
|
"default": "false",
|
|
1089
860
|
"description": "Indicates that the control should display a divider",
|
|
1090
861
|
"fieldName": "divider"
|
|
1091
|
-
},
|
|
1092
|
-
{
|
|
1093
|
-
"name": "hoist",
|
|
1094
|
-
"type": {
|
|
1095
|
-
"text": "boolean"
|
|
1096
|
-
},
|
|
1097
|
-
"default": "false",
|
|
1098
|
-
"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.",
|
|
1099
|
-
"fieldName": "hoist"
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"name": "placement",
|
|
1103
|
-
"type": {
|
|
1104
|
-
"text": "'top' | 'bottom'"
|
|
1105
|
-
},
|
|
1106
|
-
"default": "'bottom'",
|
|
1107
|
-
"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.",
|
|
1108
|
-
"fieldName": "placement"
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"name": "value",
|
|
1112
|
-
"type": {
|
|
1113
|
-
"text": "string"
|
|
1114
|
-
},
|
|
1115
|
-
"default": "''",
|
|
1116
|
-
"description": "Current value of the control, selected from one of the valid options available",
|
|
1117
|
-
"fieldName": "value"
|
|
1118
|
-
},
|
|
1119
|
-
{
|
|
1120
|
-
"name": "displayWith",
|
|
1121
|
-
"type": {
|
|
1122
|
-
"text": "((value: string) => string) | ((value: string) => Promise<string>)"
|
|
1123
|
-
},
|
|
1124
|
-
"description": "Function for determining the `displayValue` for a given `value`.\nBy default, it will show the `value` itself.",
|
|
1125
|
-
"fieldName": "displayWith"
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"name": "debounce-delay",
|
|
1129
|
-
"type": {
|
|
1130
|
-
"text": "number"
|
|
1131
|
-
},
|
|
1132
|
-
"default": "0",
|
|
1133
|
-
"description": "Debounce delay",
|
|
1134
|
-
"fieldName": "debounceDelay"
|
|
1135
|
-
},
|
|
1136
|
-
{
|
|
1137
|
-
"name": "clearable",
|
|
1138
|
-
"type": {
|
|
1139
|
-
"text": "boolean"
|
|
1140
|
-
},
|
|
1141
|
-
"default": "false",
|
|
1142
|
-
"description": "Show the option to clear input",
|
|
1143
|
-
"fieldName": "clearable"
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
"name": "clear-on-focus",
|
|
1147
|
-
"type": {
|
|
1148
|
-
"text": "boolean"
|
|
1149
|
-
},
|
|
1150
|
-
"default": "false",
|
|
1151
|
-
"description": "Clear the value when the autocomplete is focused on",
|
|
1152
|
-
"fieldName": "clearOnFocus"
|
|
1153
862
|
}
|
|
1154
863
|
],
|
|
1155
864
|
"superclass": {
|
|
1156
865
|
"name": "FlowRdfFormControl",
|
|
1157
866
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
1158
867
|
},
|
|
1159
|
-
"tagName": "flow-ui-
|
|
1160
|
-
"summary": "
|
|
868
|
+
"tagName": "flow-ui-base-control",
|
|
869
|
+
"summary": "Inputs collect data from the user.",
|
|
870
|
+
"documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/input",
|
|
871
|
+
"status": "stable",
|
|
872
|
+
"since": "2.0",
|
|
1161
873
|
"dependencies": [
|
|
1162
|
-
"flow-ui-
|
|
1163
|
-
"flow-ui-icon"
|
|
874
|
+
"flow-ui-icon",
|
|
875
|
+
"flow-ui-icon-button"
|
|
1164
876
|
],
|
|
1165
877
|
"customElement": true
|
|
1166
878
|
}
|
|
@@ -1170,15 +882,15 @@
|
|
|
1170
882
|
"kind": "js",
|
|
1171
883
|
"name": "default",
|
|
1172
884
|
"declaration": {
|
|
1173
|
-
"name": "
|
|
1174
|
-
"module": "components/
|
|
885
|
+
"name": "FlowUiBaseControl",
|
|
886
|
+
"module": "components/base-control/base-control.component.js"
|
|
1175
887
|
}
|
|
1176
888
|
}
|
|
1177
889
|
]
|
|
1178
890
|
},
|
|
1179
891
|
{
|
|
1180
892
|
"kind": "javascript-module",
|
|
1181
|
-
"path": "components/
|
|
893
|
+
"path": "components/base-control/base-control.js",
|
|
1182
894
|
"declarations": [],
|
|
1183
895
|
"exports": [
|
|
1184
896
|
{
|
|
@@ -1186,482 +898,731 @@
|
|
|
1186
898
|
"name": "*",
|
|
1187
899
|
"declaration": {
|
|
1188
900
|
"name": "*",
|
|
1189
|
-
"package": "./
|
|
901
|
+
"package": "./base-control.component"
|
|
1190
902
|
}
|
|
1191
903
|
},
|
|
1192
904
|
{
|
|
1193
905
|
"kind": "js",
|
|
1194
906
|
"name": "default",
|
|
1195
907
|
"declaration": {
|
|
1196
|
-
"name": "
|
|
1197
|
-
"module": "components/
|
|
908
|
+
"name": "FlowUiBaseControl",
|
|
909
|
+
"module": "components/base-control/base-control.js"
|
|
1198
910
|
}
|
|
1199
911
|
}
|
|
1200
912
|
]
|
|
1201
913
|
},
|
|
1202
914
|
{
|
|
1203
915
|
"kind": "javascript-module",
|
|
1204
|
-
"path": "components/
|
|
916
|
+
"path": "components/autocomplete/autocomplete.component.js",
|
|
1205
917
|
"declarations": [
|
|
1206
918
|
{
|
|
1207
919
|
"kind": "class",
|
|
1208
920
|
"description": "",
|
|
1209
|
-
"name": "
|
|
921
|
+
"name": "FlowUiAutocomplete",
|
|
1210
922
|
"cssParts": [
|
|
1211
923
|
{
|
|
1212
|
-
"description": "The
|
|
1213
|
-
"name": "
|
|
924
|
+
"description": "The form control that wraps the label, input, and help text.",
|
|
925
|
+
"name": "form-control"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"description": "The label's wrapper.",
|
|
929
|
+
"name": "form-control-label"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"description": "The select's wrapper.",
|
|
933
|
+
"name": "form-control-input"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"description": "The help text's wrapper.",
|
|
937
|
+
"name": "form-control-help-text"
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"description": "The container the wraps the prefix, suffix, combobox, clear icon, and expand button.",
|
|
941
|
+
"name": "combobox"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"description": "The container that wraps the prefix slot.",
|
|
945
|
+
"name": "prefix"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"description": "The container that wraps the suffix slot.",
|
|
949
|
+
"name": "suffix"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"description": "The element that displays the selected option's label, an `<input>` element.",
|
|
953
|
+
"name": "display-input"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"description": "The listbox container where options are slotted.",
|
|
957
|
+
"name": "listbox"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"description": "The clear button.",
|
|
961
|
+
"name": "clear-button"
|
|
1214
962
|
}
|
|
1215
963
|
],
|
|
1216
964
|
"slots": [
|
|
1217
965
|
{
|
|
1218
|
-
"description": "The
|
|
966
|
+
"description": "The listbox options. Must be `<flow-option>` elements. You can use `<flow-divider>` to group items visually.",
|
|
1219
967
|
"name": ""
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"description": "The input's label. Alternatively, you can use the `label` attribute.",
|
|
971
|
+
"name": "label"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"description": "Used to prepend a presentational icon or similar element to the combobox.",
|
|
975
|
+
"name": "prefix"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"description": "Used to append a presentational icon or similar element to the combobox.",
|
|
979
|
+
"name": "suffix"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"description": "An icon to use in lieu of the default clear icon.",
|
|
983
|
+
"name": "clear-icon"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
987
|
+
"name": "help-text"
|
|
1220
988
|
}
|
|
1221
989
|
],
|
|
1222
990
|
"members": [
|
|
1223
991
|
{
|
|
1224
992
|
"kind": "field",
|
|
1225
|
-
"name": "
|
|
993
|
+
"name": "dependencies",
|
|
1226
994
|
"type": {
|
|
1227
|
-
"text": "
|
|
995
|
+
"text": "object"
|
|
1228
996
|
},
|
|
1229
|
-
"
|
|
1230
|
-
"
|
|
1231
|
-
"attribute": "variant",
|
|
1232
|
-
"reflects": true
|
|
997
|
+
"static": true,
|
|
998
|
+
"default": "{\n 'flow-ui-popup': FlowPopup,\n 'flow-ui-icon': FlowIcon\n }"
|
|
1233
999
|
},
|
|
1234
1000
|
{
|
|
1235
1001
|
"kind": "field",
|
|
1236
|
-
"name": "
|
|
1002
|
+
"name": "hasSlotController",
|
|
1003
|
+
"privacy": "private",
|
|
1004
|
+
"readonly": true,
|
|
1005
|
+
"default": "new HasSlotController(this, 'help-text', 'label')"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"kind": "field",
|
|
1009
|
+
"name": "localize",
|
|
1010
|
+
"privacy": "private",
|
|
1011
|
+
"readonly": true,
|
|
1012
|
+
"default": "new LocalizeController(this)"
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"kind": "field",
|
|
1016
|
+
"name": "debouncedInput",
|
|
1237
1017
|
"type": {
|
|
1238
|
-
"text": "
|
|
1018
|
+
"text": "(displayValue: string) => void"
|
|
1239
1019
|
},
|
|
1240
|
-
"
|
|
1241
|
-
"description": "The badge size.",
|
|
1242
|
-
"attribute": "size",
|
|
1243
|
-
"reflects": true
|
|
1020
|
+
"privacy": "private"
|
|
1244
1021
|
},
|
|
1245
1022
|
{
|
|
1246
1023
|
"kind": "field",
|
|
1247
|
-
"name": "
|
|
1024
|
+
"name": "pendingChangeEvent",
|
|
1248
1025
|
"type": {
|
|
1249
1026
|
"text": "boolean"
|
|
1250
1027
|
},
|
|
1251
|
-
"
|
|
1252
|
-
"
|
|
1253
|
-
"attribute": "pill",
|
|
1254
|
-
"reflects": true
|
|
1028
|
+
"privacy": "private",
|
|
1029
|
+
"default": "false"
|
|
1255
1030
|
},
|
|
1256
1031
|
{
|
|
1257
1032
|
"kind": "field",
|
|
1258
|
-
"name": "
|
|
1033
|
+
"name": "pendingInputEvent",
|
|
1259
1034
|
"type": {
|
|
1260
1035
|
"text": "boolean"
|
|
1261
1036
|
},
|
|
1262
|
-
"
|
|
1263
|
-
"
|
|
1264
|
-
|
|
1265
|
-
"reflects": true
|
|
1266
|
-
}
|
|
1267
|
-
],
|
|
1268
|
-
"attributes": [
|
|
1037
|
+
"privacy": "private",
|
|
1038
|
+
"default": "false"
|
|
1039
|
+
},
|
|
1269
1040
|
{
|
|
1270
|
-
"
|
|
1041
|
+
"kind": "field",
|
|
1042
|
+
"name": "hasOptions",
|
|
1271
1043
|
"type": {
|
|
1272
|
-
"text": "
|
|
1044
|
+
"text": "boolean"
|
|
1273
1045
|
},
|
|
1274
|
-
"
|
|
1275
|
-
"
|
|
1276
|
-
|
|
1046
|
+
"privacy": "private",
|
|
1047
|
+
"default": "false"
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"kind": "field",
|
|
1051
|
+
"name": "formControlController",
|
|
1052
|
+
"privacy": "private",
|
|
1053
|
+
"readonly": true,
|
|
1054
|
+
"default": "new FormControlController(this, {\n assumeInteractionOn: ['flow-ui-blur', 'flow-ui-input']\n })"
|
|
1277
1055
|
},
|
|
1278
1056
|
{
|
|
1057
|
+
"kind": "field",
|
|
1279
1058
|
"name": "size",
|
|
1280
1059
|
"type": {
|
|
1281
1060
|
"text": "'small' | 'medium' | 'large'"
|
|
1282
1061
|
},
|
|
1283
1062
|
"default": "'medium'",
|
|
1284
|
-
"description": "The
|
|
1285
|
-
"
|
|
1063
|
+
"description": "The autocomplete's size",
|
|
1064
|
+
"attribute": "size",
|
|
1065
|
+
"reflects": true
|
|
1286
1066
|
},
|
|
1287
1067
|
{
|
|
1288
|
-
"
|
|
1068
|
+
"kind": "field",
|
|
1069
|
+
"name": "filled",
|
|
1289
1070
|
"type": {
|
|
1290
1071
|
"text": "boolean"
|
|
1291
1072
|
},
|
|
1292
1073
|
"default": "false",
|
|
1293
|
-
"description": "Draws a
|
|
1294
|
-
"
|
|
1074
|
+
"description": "Draws a filled autocomplete input",
|
|
1075
|
+
"attribute": "filled",
|
|
1076
|
+
"reflects": true
|
|
1295
1077
|
},
|
|
1296
1078
|
{
|
|
1297
|
-
"
|
|
1079
|
+
"kind": "field",
|
|
1080
|
+
"name": "pill",
|
|
1298
1081
|
"type": {
|
|
1299
1082
|
"text": "boolean"
|
|
1300
1083
|
},
|
|
1301
1084
|
"default": "false",
|
|
1302
|
-
"description": "
|
|
1303
|
-
"
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
"superclass": {
|
|
1307
|
-
"name": "FlowRdfElement",
|
|
1308
|
-
"module": "/src/internal/flow-ui-rdf-element"
|
|
1309
|
-
},
|
|
1310
|
-
"tagName": "flow-ui-badge",
|
|
1311
|
-
"summary": "Badges are used to draw attention and display statuses or counts.",
|
|
1312
|
-
"customElement": true
|
|
1313
|
-
}
|
|
1314
|
-
],
|
|
1315
|
-
"exports": [
|
|
1316
|
-
{
|
|
1317
|
-
"kind": "js",
|
|
1318
|
-
"name": "default",
|
|
1319
|
-
"declaration": {
|
|
1320
|
-
"name": "FlowUiBadge",
|
|
1321
|
-
"module": "components/badge/badge.component.js"
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
]
|
|
1325
|
-
},
|
|
1326
|
-
{
|
|
1327
|
-
"kind": "javascript-module",
|
|
1328
|
-
"path": "components/badge/badge.js",
|
|
1329
|
-
"declarations": [],
|
|
1330
|
-
"exports": [
|
|
1331
|
-
{
|
|
1332
|
-
"kind": "js",
|
|
1333
|
-
"name": "default",
|
|
1334
|
-
"declaration": {
|
|
1335
|
-
"name": "FlowUiBadge",
|
|
1336
|
-
"module": "components/badge/badge.js"
|
|
1337
|
-
}
|
|
1338
|
-
}
|
|
1339
|
-
]
|
|
1340
|
-
},
|
|
1341
|
-
{
|
|
1342
|
-
"kind": "javascript-module",
|
|
1343
|
-
"path": "components/animation/animation.component.js",
|
|
1344
|
-
"declarations": [
|
|
1345
|
-
{
|
|
1346
|
-
"kind": "class",
|
|
1347
|
-
"description": "",
|
|
1348
|
-
"name": "FlowUiAnimation",
|
|
1349
|
-
"slots": [
|
|
1350
|
-
{
|
|
1351
|
-
"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.",
|
|
1352
|
-
"name": ""
|
|
1353
|
-
}
|
|
1354
|
-
],
|
|
1355
|
-
"members": [
|
|
1085
|
+
"description": "Draws a pill-style autocomplete input with rounded edges",
|
|
1086
|
+
"attribute": "pill",
|
|
1087
|
+
"reflects": true
|
|
1088
|
+
},
|
|
1356
1089
|
{
|
|
1357
1090
|
"kind": "field",
|
|
1358
|
-
"name": "
|
|
1091
|
+
"name": "label",
|
|
1359
1092
|
"type": {
|
|
1360
|
-
"text": "
|
|
1093
|
+
"text": "string"
|
|
1361
1094
|
},
|
|
1362
|
-
"
|
|
1095
|
+
"default": "''",
|
|
1096
|
+
"description": "The autocomplete input's label. If you need to display HTML, use the `help-text` slot instead",
|
|
1097
|
+
"attribute": "label"
|
|
1363
1098
|
},
|
|
1364
1099
|
{
|
|
1365
1100
|
"kind": "field",
|
|
1366
|
-
"name": "
|
|
1101
|
+
"name": "helpText",
|
|
1367
1102
|
"type": {
|
|
1368
|
-
"text": "
|
|
1103
|
+
"text": "string"
|
|
1369
1104
|
},
|
|
1370
|
-
"
|
|
1371
|
-
"
|
|
1105
|
+
"default": "''",
|
|
1106
|
+
"description": "The autocomplete input's help text. If you need to display HTML, use the `help-text` slot instead",
|
|
1107
|
+
"attribute": "help-text"
|
|
1372
1108
|
},
|
|
1373
1109
|
{
|
|
1374
1110
|
"kind": "field",
|
|
1375
|
-
"name": "
|
|
1111
|
+
"name": "placeholder",
|
|
1376
1112
|
"type": {
|
|
1377
|
-
"text": "
|
|
1113
|
+
"text": "string"
|
|
1378
1114
|
},
|
|
1379
|
-
"
|
|
1115
|
+
"default": "''",
|
|
1116
|
+
"description": "The autocomplete input's placeholder text",
|
|
1117
|
+
"attribute": "placeholder"
|
|
1380
1118
|
},
|
|
1381
1119
|
{
|
|
1382
1120
|
"kind": "field",
|
|
1383
|
-
"name": "
|
|
1121
|
+
"name": "disabled",
|
|
1384
1122
|
"type": {
|
|
1385
|
-
"text": "
|
|
1123
|
+
"text": "boolean"
|
|
1386
1124
|
},
|
|
1387
|
-
"default": "
|
|
1388
|
-
"description": "
|
|
1389
|
-
"attribute": "
|
|
1125
|
+
"default": "false",
|
|
1126
|
+
"description": "Disables the autocomplete",
|
|
1127
|
+
"attribute": "disabled",
|
|
1128
|
+
"reflects": true
|
|
1390
1129
|
},
|
|
1391
1130
|
{
|
|
1392
1131
|
"kind": "field",
|
|
1393
|
-
"name": "
|
|
1132
|
+
"name": "form",
|
|
1133
|
+
"type": {
|
|
1134
|
+
"text": "string"
|
|
1135
|
+
},
|
|
1136
|
+
"description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
|
|
1137
|
+
"attribute": "form"
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
"kind": "field",
|
|
1141
|
+
"name": "required",
|
|
1394
1142
|
"type": {
|
|
1395
1143
|
"text": "boolean"
|
|
1396
1144
|
},
|
|
1397
1145
|
"default": "false",
|
|
1398
|
-
"description": "
|
|
1399
|
-
"attribute": "
|
|
1146
|
+
"description": "Makes the autocomplete a required field",
|
|
1147
|
+
"attribute": "required",
|
|
1400
1148
|
"reflects": true
|
|
1401
1149
|
},
|
|
1402
1150
|
{
|
|
1403
1151
|
"kind": "field",
|
|
1404
|
-
"name": "
|
|
1152
|
+
"name": "inline",
|
|
1405
1153
|
"type": {
|
|
1406
|
-
"text": "
|
|
1154
|
+
"text": "boolean"
|
|
1407
1155
|
},
|
|
1408
|
-
"default": "
|
|
1409
|
-
"description": "
|
|
1410
|
-
"attribute": "
|
|
1156
|
+
"default": "false",
|
|
1157
|
+
"description": "Display the autocomplete in the 'inline' form control style",
|
|
1158
|
+
"attribute": "inline",
|
|
1159
|
+
"reflects": true
|
|
1411
1160
|
},
|
|
1412
1161
|
{
|
|
1413
1162
|
"kind": "field",
|
|
1414
|
-
"name": "
|
|
1163
|
+
"name": "divider",
|
|
1415
1164
|
"type": {
|
|
1416
|
-
"text": "
|
|
1165
|
+
"text": "boolean"
|
|
1417
1166
|
},
|
|
1418
|
-
"default": "
|
|
1419
|
-
"description": "
|
|
1420
|
-
"attribute": "
|
|
1167
|
+
"default": "false",
|
|
1168
|
+
"description": "Indicates that the control should display a divider",
|
|
1169
|
+
"attribute": "divider",
|
|
1170
|
+
"reflects": true
|
|
1421
1171
|
},
|
|
1422
1172
|
{
|
|
1423
1173
|
"kind": "field",
|
|
1424
|
-
"name": "
|
|
1174
|
+
"name": "hoist",
|
|
1425
1175
|
"type": {
|
|
1426
|
-
"text": "
|
|
1176
|
+
"text": "boolean"
|
|
1427
1177
|
},
|
|
1428
|
-
"default": "
|
|
1429
|
-
"description": "
|
|
1430
|
-
"attribute": "
|
|
1178
|
+
"default": "false",
|
|
1179
|
+
"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.",
|
|
1180
|
+
"attribute": "hoist"
|
|
1431
1181
|
},
|
|
1432
1182
|
{
|
|
1433
1183
|
"kind": "field",
|
|
1434
|
-
"name": "
|
|
1184
|
+
"name": "placement",
|
|
1185
|
+
"type": {
|
|
1186
|
+
"text": "'top' | 'bottom'"
|
|
1187
|
+
},
|
|
1188
|
+
"default": "'bottom'",
|
|
1189
|
+
"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.",
|
|
1190
|
+
"attribute": "placement",
|
|
1191
|
+
"reflects": true
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"kind": "field",
|
|
1195
|
+
"name": "value",
|
|
1435
1196
|
"type": {
|
|
1436
1197
|
"text": "string"
|
|
1437
1198
|
},
|
|
1438
|
-
"default": "'
|
|
1439
|
-
"description": "
|
|
1440
|
-
"attribute": "
|
|
1199
|
+
"default": "''",
|
|
1200
|
+
"description": "Current value of the control, selected from one of the valid options available",
|
|
1201
|
+
"attribute": "value"
|
|
1441
1202
|
},
|
|
1442
1203
|
{
|
|
1443
1204
|
"kind": "field",
|
|
1444
|
-
"name": "
|
|
1205
|
+
"name": "displayWith",
|
|
1206
|
+
"type": {
|
|
1207
|
+
"text": "((value: string) => string) | ((value: string) => Promise<string>)"
|
|
1208
|
+
},
|
|
1209
|
+
"description": "Function for determining the `displayValue` for a given `value`.\nBy default, it will show the `value` itself.",
|
|
1210
|
+
"attribute": "displayWith"
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"kind": "field",
|
|
1214
|
+
"name": "debounceDelay",
|
|
1445
1215
|
"type": {
|
|
1446
1216
|
"text": "number"
|
|
1447
1217
|
},
|
|
1448
1218
|
"default": "0",
|
|
1449
|
-
"description": "
|
|
1450
|
-
"attribute": "
|
|
1219
|
+
"description": "Debounce delay",
|
|
1220
|
+
"attribute": "debounce-delay",
|
|
1221
|
+
"reflects": true
|
|
1451
1222
|
},
|
|
1452
1223
|
{
|
|
1453
1224
|
"kind": "field",
|
|
1454
|
-
"name": "
|
|
1225
|
+
"name": "clearable",
|
|
1455
1226
|
"type": {
|
|
1456
|
-
"text": "
|
|
1227
|
+
"text": "boolean"
|
|
1457
1228
|
},
|
|
1458
|
-
"default": "
|
|
1459
|
-
"description": "
|
|
1460
|
-
"attribute": "
|
|
1229
|
+
"default": "false",
|
|
1230
|
+
"description": "Show the option to clear input",
|
|
1231
|
+
"attribute": "clearable",
|
|
1232
|
+
"reflects": true
|
|
1461
1233
|
},
|
|
1462
1234
|
{
|
|
1463
1235
|
"kind": "field",
|
|
1464
|
-
"name": "
|
|
1465
|
-
"
|
|
1466
|
-
|
|
1467
|
-
|
|
1236
|
+
"name": "clearOnFocus",
|
|
1237
|
+
"type": {
|
|
1238
|
+
"text": "boolean"
|
|
1239
|
+
},
|
|
1240
|
+
"default": "false",
|
|
1241
|
+
"description": "Clear the value when the autocomplete is focused on",
|
|
1242
|
+
"attribute": "clear-on-focus",
|
|
1243
|
+
"reflects": true
|
|
1468
1244
|
},
|
|
1469
1245
|
{
|
|
1470
1246
|
"kind": "field",
|
|
1471
|
-
"name": "
|
|
1247
|
+
"name": "inputText",
|
|
1472
1248
|
"type": {
|
|
1473
|
-
"text": "
|
|
1249
|
+
"text": "string"
|
|
1474
1250
|
},
|
|
1475
|
-
"
|
|
1476
|
-
"
|
|
1477
|
-
"
|
|
1251
|
+
"privacy": "private",
|
|
1252
|
+
"default": "''",
|
|
1253
|
+
"description": "Current value displayed by the control; this can be what the user is typing or the label of the selected option"
|
|
1478
1254
|
},
|
|
1479
1255
|
{
|
|
1480
1256
|
"kind": "field",
|
|
1481
|
-
"name": "
|
|
1257
|
+
"name": "selectedOption",
|
|
1482
1258
|
"type": {
|
|
1483
|
-
"text": "
|
|
1259
|
+
"text": "FlowOption | null"
|
|
1484
1260
|
},
|
|
1485
|
-
"
|
|
1261
|
+
"privacy": "private",
|
|
1262
|
+
"default": "null"
|
|
1486
1263
|
},
|
|
1487
1264
|
{
|
|
1488
1265
|
"kind": "field",
|
|
1489
|
-
"name": "
|
|
1266
|
+
"name": "currentOption",
|
|
1490
1267
|
"type": {
|
|
1491
|
-
"text": "
|
|
1268
|
+
"text": "FlowOption | null"
|
|
1492
1269
|
},
|
|
1493
|
-
"
|
|
1494
|
-
"
|
|
1495
|
-
"attribute": "playback-rate"
|
|
1270
|
+
"privacy": "private",
|
|
1271
|
+
"default": "null"
|
|
1496
1272
|
},
|
|
1497
1273
|
{
|
|
1498
1274
|
"kind": "field",
|
|
1499
|
-
"name": "
|
|
1275
|
+
"name": "input",
|
|
1500
1276
|
"type": {
|
|
1501
|
-
"text": "
|
|
1277
|
+
"text": "HTMLInputElement"
|
|
1502
1278
|
},
|
|
1503
|
-
"
|
|
1279
|
+
"privacy": "private"
|
|
1504
1280
|
},
|
|
1505
1281
|
{
|
|
1506
1282
|
"kind": "field",
|
|
1507
|
-
"name": "
|
|
1283
|
+
"name": "popup",
|
|
1284
|
+
"type": {
|
|
1285
|
+
"text": "FlowPopup"
|
|
1286
|
+
},
|
|
1508
1287
|
"privacy": "private"
|
|
1509
1288
|
},
|
|
1289
|
+
{
|
|
1290
|
+
"kind": "method",
|
|
1291
|
+
"name": "getForm",
|
|
1292
|
+
"return": {
|
|
1293
|
+
"type": {
|
|
1294
|
+
"text": "HTMLFormElement | null"
|
|
1295
|
+
}
|
|
1296
|
+
},
|
|
1297
|
+
"description": "Gets the associated form, if one exists."
|
|
1298
|
+
},
|
|
1510
1299
|
{
|
|
1511
1300
|
"kind": "field",
|
|
1512
|
-
"name": "
|
|
1513
|
-
"
|
|
1301
|
+
"name": "validity",
|
|
1302
|
+
"description": "Gets the validity state object.",
|
|
1303
|
+
"readonly": true
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"kind": "field",
|
|
1307
|
+
"name": "validationMessage",
|
|
1308
|
+
"description": "Gets the validation message.",
|
|
1309
|
+
"readonly": true
|
|
1514
1310
|
},
|
|
1515
1311
|
{
|
|
1516
1312
|
"kind": "method",
|
|
1517
|
-
"name": "
|
|
1518
|
-
"
|
|
1313
|
+
"name": "checkValidity",
|
|
1314
|
+
"return": {
|
|
1315
|
+
"type": {
|
|
1316
|
+
"text": "boolean"
|
|
1317
|
+
}
|
|
1318
|
+
},
|
|
1319
|
+
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
1519
1320
|
},
|
|
1520
1321
|
{
|
|
1521
1322
|
"kind": "method",
|
|
1522
|
-
"name": "
|
|
1523
|
-
"
|
|
1323
|
+
"name": "reportValidity",
|
|
1324
|
+
"return": {
|
|
1325
|
+
"type": {
|
|
1326
|
+
"text": "boolean"
|
|
1327
|
+
}
|
|
1328
|
+
},
|
|
1329
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
1524
1330
|
},
|
|
1525
1331
|
{
|
|
1526
1332
|
"kind": "method",
|
|
1527
|
-
"name": "
|
|
1528
|
-
"
|
|
1333
|
+
"name": "setCustomValidity",
|
|
1334
|
+
"parameters": [
|
|
1335
|
+
{
|
|
1336
|
+
"name": "_",
|
|
1337
|
+
"type": {
|
|
1338
|
+
"text": "string"
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
],
|
|
1342
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
1529
1343
|
},
|
|
1530
1344
|
{
|
|
1531
1345
|
"kind": "method",
|
|
1532
|
-
"name": "
|
|
1533
|
-
"
|
|
1346
|
+
"name": "handleClearClick",
|
|
1347
|
+
"parameters": [
|
|
1348
|
+
{
|
|
1349
|
+
"name": "event",
|
|
1350
|
+
"type": {
|
|
1351
|
+
"text": "MouseEvent"
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
]
|
|
1534
1355
|
},
|
|
1535
1356
|
{
|
|
1536
1357
|
"kind": "method",
|
|
1537
|
-
"name": "
|
|
1538
|
-
"description": "
|
|
1539
|
-
}
|
|
1540
|
-
],
|
|
1541
|
-
"events": [
|
|
1358
|
+
"name": "focus",
|
|
1359
|
+
"description": "Focuses on the control"
|
|
1360
|
+
},
|
|
1542
1361
|
{
|
|
1543
|
-
"
|
|
1544
|
-
"name": "
|
|
1545
|
-
"
|
|
1362
|
+
"kind": "method",
|
|
1363
|
+
"name": "blur",
|
|
1364
|
+
"description": "Blurs from the control."
|
|
1546
1365
|
},
|
|
1547
1366
|
{
|
|
1548
|
-
"
|
|
1549
|
-
"name": "
|
|
1550
|
-
"
|
|
1367
|
+
"kind": "method",
|
|
1368
|
+
"name": "show",
|
|
1369
|
+
"description": "Shows the listbox."
|
|
1551
1370
|
},
|
|
1552
1371
|
{
|
|
1553
|
-
"
|
|
1554
|
-
"name": "
|
|
1555
|
-
"
|
|
1372
|
+
"kind": "method",
|
|
1373
|
+
"name": "hide",
|
|
1374
|
+
"description": "Hides the listbox."
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"kind": "method",
|
|
1378
|
+
"name": "getInputText",
|
|
1379
|
+
"description": "Gets the current value of the text input"
|
|
1556
1380
|
}
|
|
1557
1381
|
],
|
|
1558
|
-
"
|
|
1382
|
+
"events": [
|
|
1559
1383
|
{
|
|
1560
|
-
"
|
|
1561
|
-
"
|
|
1562
|
-
|
|
1563
|
-
},
|
|
1564
|
-
"default": "'none'",
|
|
1565
|
-
"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.",
|
|
1566
|
-
"fieldName": "name"
|
|
1384
|
+
"description": "Emitted when the display value changes.",
|
|
1385
|
+
"name": "flow-ui-input",
|
|
1386
|
+
"reactName": "onFlowUiInput"
|
|
1567
1387
|
},
|
|
1568
1388
|
{
|
|
1569
|
-
"
|
|
1570
|
-
"
|
|
1389
|
+
"description": "Emitted when the input value changes.",
|
|
1390
|
+
"name": "flow-ui-change",
|
|
1391
|
+
"reactName": "onFlowUiChange"
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"description": "Emitted when the input is focused.",
|
|
1395
|
+
"name": "flow-ui-focus",
|
|
1396
|
+
"reactName": "onFlowUiFocus"
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"description": "Emitted when the input is blurred.",
|
|
1400
|
+
"name": "flow-ui-blur",
|
|
1401
|
+
"reactName": "onFlowUiBlur"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"description": "Emitted when the dropdown is shown.",
|
|
1405
|
+
"name": "flow-ui-show",
|
|
1406
|
+
"reactName": "onFlowUiShow"
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"description": "Emitted when the dropdown is shown.",
|
|
1410
|
+
"name": "flow-ui-after-show",
|
|
1411
|
+
"reactName": "onFlowUiAfterShow"
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"description": "Emitted when the dropdown is hidden.",
|
|
1415
|
+
"name": "flow-ui-hide",
|
|
1416
|
+
"reactName": "onFlowUiHide"
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"description": "Emitted when the dropdown is hidden.",
|
|
1420
|
+
"name": "flow-ui-after-hide",
|
|
1421
|
+
"reactName": "onFlowUiAfterHide"
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"description": "Emitted when the input is invalid.",
|
|
1425
|
+
"name": "flow-ui-invalid",
|
|
1426
|
+
"reactName": "onFlowUiInvalid"
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"description": "Emitted when the input is valid.",
|
|
1430
|
+
"name": "flow-ui-valid",
|
|
1431
|
+
"reactName": "onFlowUiValid"
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"description": "Emitted when the input is validated.",
|
|
1435
|
+
"name": "flow-ui-validate",
|
|
1436
|
+
"reactName": "onFlowUiValidate"
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"description": "Emitted when the input is validated and the validity state is updated.",
|
|
1440
|
+
"name": "flow-ui-validate-complete",
|
|
1441
|
+
"reactName": "onFlowUiValidateComplete"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"description": "Emitted when the input is validated and an error occurs.",
|
|
1445
|
+
"name": "flow-ui-validate-error",
|
|
1446
|
+
"reactName": "onFlowUiValidateError"
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"description": "Emitted when the input is validated and no errors occur.",
|
|
1450
|
+
"name": "flow-ui-validate-success",
|
|
1451
|
+
"reactName": "onFlowUiValidateSuccess"
|
|
1452
|
+
}
|
|
1453
|
+
],
|
|
1454
|
+
"attributes": [
|
|
1455
|
+
{
|
|
1456
|
+
"name": "size",
|
|
1457
|
+
"type": {
|
|
1458
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1459
|
+
},
|
|
1460
|
+
"default": "'medium'",
|
|
1461
|
+
"description": "The autocomplete's size",
|
|
1462
|
+
"fieldName": "size"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"name": "filled",
|
|
1466
|
+
"type": {
|
|
1571
1467
|
"text": "boolean"
|
|
1572
1468
|
},
|
|
1573
1469
|
"default": "false",
|
|
1574
|
-
"description": "
|
|
1575
|
-
"fieldName": "
|
|
1470
|
+
"description": "Draws a filled autocomplete input",
|
|
1471
|
+
"fieldName": "filled"
|
|
1576
1472
|
},
|
|
1577
1473
|
{
|
|
1578
|
-
"name": "
|
|
1474
|
+
"name": "pill",
|
|
1579
1475
|
"type": {
|
|
1580
|
-
"text": "
|
|
1476
|
+
"text": "boolean"
|
|
1581
1477
|
},
|
|
1582
|
-
"default": "
|
|
1583
|
-
"description": "
|
|
1584
|
-
"fieldName": "
|
|
1478
|
+
"default": "false",
|
|
1479
|
+
"description": "Draws a pill-style autocomplete input with rounded edges",
|
|
1480
|
+
"fieldName": "pill"
|
|
1585
1481
|
},
|
|
1586
1482
|
{
|
|
1587
|
-
"name": "
|
|
1483
|
+
"name": "label",
|
|
1588
1484
|
"type": {
|
|
1589
|
-
"text": "
|
|
1485
|
+
"text": "string"
|
|
1590
1486
|
},
|
|
1591
|
-
"default": "'
|
|
1592
|
-
"description": "
|
|
1593
|
-
"fieldName": "
|
|
1487
|
+
"default": "''",
|
|
1488
|
+
"description": "The autocomplete input's label. If you need to display HTML, use the `help-text` slot instead",
|
|
1489
|
+
"fieldName": "label"
|
|
1594
1490
|
},
|
|
1595
1491
|
{
|
|
1596
|
-
"name": "
|
|
1492
|
+
"name": "help-text",
|
|
1597
1493
|
"type": {
|
|
1598
|
-
"text": "
|
|
1494
|
+
"text": "string"
|
|
1599
1495
|
},
|
|
1600
|
-
"default": "
|
|
1601
|
-
"description": "The
|
|
1602
|
-
"fieldName": "
|
|
1496
|
+
"default": "''",
|
|
1497
|
+
"description": "The autocomplete input's help text. If you need to display HTML, use the `help-text` slot instead",
|
|
1498
|
+
"fieldName": "helpText"
|
|
1603
1499
|
},
|
|
1604
1500
|
{
|
|
1605
|
-
"name": "
|
|
1501
|
+
"name": "placeholder",
|
|
1606
1502
|
"type": {
|
|
1607
1503
|
"text": "string"
|
|
1608
1504
|
},
|
|
1609
|
-
"default": "'
|
|
1610
|
-
"description": "The
|
|
1611
|
-
"fieldName": "
|
|
1505
|
+
"default": "''",
|
|
1506
|
+
"description": "The autocomplete input's placeholder text",
|
|
1507
|
+
"fieldName": "placeholder"
|
|
1612
1508
|
},
|
|
1613
1509
|
{
|
|
1614
|
-
"name": "
|
|
1510
|
+
"name": "disabled",
|
|
1615
1511
|
"type": {
|
|
1616
|
-
"text": "
|
|
1512
|
+
"text": "boolean"
|
|
1617
1513
|
},
|
|
1618
|
-
"default": "
|
|
1619
|
-
"description": "
|
|
1620
|
-
"fieldName": "
|
|
1514
|
+
"default": "false",
|
|
1515
|
+
"description": "Disables the autocomplete",
|
|
1516
|
+
"fieldName": "disabled"
|
|
1621
1517
|
},
|
|
1622
1518
|
{
|
|
1623
|
-
"name": "
|
|
1519
|
+
"name": "form",
|
|
1624
1520
|
"type": {
|
|
1625
|
-
"text": "
|
|
1521
|
+
"text": "string"
|
|
1626
1522
|
},
|
|
1627
|
-
"
|
|
1628
|
-
"
|
|
1629
|
-
"fieldName": "fill"
|
|
1523
|
+
"description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
|
|
1524
|
+
"fieldName": "form"
|
|
1630
1525
|
},
|
|
1631
1526
|
{
|
|
1632
|
-
"name": "
|
|
1633
|
-
"
|
|
1634
|
-
|
|
1635
|
-
"resolveInitializer": {
|
|
1636
|
-
"module": "src/components/animation/animation.component.ts"
|
|
1527
|
+
"name": "required",
|
|
1528
|
+
"type": {
|
|
1529
|
+
"text": "boolean"
|
|
1637
1530
|
},
|
|
1638
|
-
"
|
|
1531
|
+
"default": "false",
|
|
1532
|
+
"description": "Makes the autocomplete a required field",
|
|
1533
|
+
"fieldName": "required"
|
|
1639
1534
|
},
|
|
1640
1535
|
{
|
|
1641
|
-
"name": "
|
|
1536
|
+
"name": "inline",
|
|
1537
|
+
"type": {
|
|
1538
|
+
"text": "boolean"
|
|
1539
|
+
},
|
|
1540
|
+
"default": "false",
|
|
1541
|
+
"description": "Display the autocomplete in the 'inline' form control style",
|
|
1542
|
+
"fieldName": "inline"
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"name": "divider",
|
|
1546
|
+
"type": {
|
|
1547
|
+
"text": "boolean"
|
|
1548
|
+
},
|
|
1549
|
+
"default": "false",
|
|
1550
|
+
"description": "Indicates that the control should display a divider",
|
|
1551
|
+
"fieldName": "divider"
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
"name": "hoist",
|
|
1555
|
+
"type": {
|
|
1556
|
+
"text": "boolean"
|
|
1557
|
+
},
|
|
1558
|
+
"default": "false",
|
|
1559
|
+
"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.",
|
|
1560
|
+
"fieldName": "hoist"
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"name": "placement",
|
|
1564
|
+
"type": {
|
|
1565
|
+
"text": "'top' | 'bottom'"
|
|
1566
|
+
},
|
|
1567
|
+
"default": "'bottom'",
|
|
1568
|
+
"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.",
|
|
1569
|
+
"fieldName": "placement"
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"name": "value",
|
|
1573
|
+
"type": {
|
|
1574
|
+
"text": "string"
|
|
1575
|
+
},
|
|
1576
|
+
"default": "''",
|
|
1577
|
+
"description": "Current value of the control, selected from one of the valid options available",
|
|
1578
|
+
"fieldName": "value"
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"name": "displayWith",
|
|
1582
|
+
"type": {
|
|
1583
|
+
"text": "((value: string) => string) | ((value: string) => Promise<string>)"
|
|
1584
|
+
},
|
|
1585
|
+
"description": "Function for determining the `displayValue` for a given `value`.\nBy default, it will show the `value` itself.",
|
|
1586
|
+
"fieldName": "displayWith"
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"name": "debounce-delay",
|
|
1642
1590
|
"type": {
|
|
1643
1591
|
"text": "number"
|
|
1644
1592
|
},
|
|
1645
1593
|
"default": "0",
|
|
1646
|
-
"description": "
|
|
1647
|
-
"fieldName": "
|
|
1594
|
+
"description": "Debounce delay",
|
|
1595
|
+
"fieldName": "debounceDelay"
|
|
1648
1596
|
},
|
|
1649
1597
|
{
|
|
1650
|
-
"name": "
|
|
1598
|
+
"name": "clearable",
|
|
1651
1599
|
"type": {
|
|
1652
|
-
"text": "
|
|
1600
|
+
"text": "boolean"
|
|
1653
1601
|
},
|
|
1654
|
-
"default": "
|
|
1655
|
-
"description": "
|
|
1656
|
-
"fieldName": "
|
|
1602
|
+
"default": "false",
|
|
1603
|
+
"description": "Show the option to clear input",
|
|
1604
|
+
"fieldName": "clearable"
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
"name": "clear-on-focus",
|
|
1608
|
+
"type": {
|
|
1609
|
+
"text": "boolean"
|
|
1610
|
+
},
|
|
1611
|
+
"default": "false",
|
|
1612
|
+
"description": "Clear the value when the autocomplete is focused on",
|
|
1613
|
+
"fieldName": "clearOnFocus"
|
|
1657
1614
|
}
|
|
1658
1615
|
],
|
|
1659
1616
|
"superclass": {
|
|
1660
|
-
"name": "
|
|
1617
|
+
"name": "FlowRdfFormControl",
|
|
1661
1618
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
1662
1619
|
},
|
|
1663
|
-
"tagName": "flow-ui-
|
|
1664
|
-
"summary": "
|
|
1620
|
+
"tagName": "flow-ui-autocomplete",
|
|
1621
|
+
"summary": "The Autocomplete is a Text input enhanced by a panel of suggested options.",
|
|
1622
|
+
"dependencies": [
|
|
1623
|
+
"flow-ui-popup",
|
|
1624
|
+
"flow-ui-icon"
|
|
1625
|
+
],
|
|
1665
1626
|
"customElement": true
|
|
1666
1627
|
}
|
|
1667
1628
|
],
|
|
@@ -1670,15 +1631,15 @@
|
|
|
1670
1631
|
"kind": "js",
|
|
1671
1632
|
"name": "default",
|
|
1672
1633
|
"declaration": {
|
|
1673
|
-
"name": "
|
|
1674
|
-
"module": "components/
|
|
1634
|
+
"name": "FlowUiAutocomplete",
|
|
1635
|
+
"module": "components/autocomplete/autocomplete.component.js"
|
|
1675
1636
|
}
|
|
1676
1637
|
}
|
|
1677
1638
|
]
|
|
1678
1639
|
},
|
|
1679
1640
|
{
|
|
1680
1641
|
"kind": "javascript-module",
|
|
1681
|
-
"path": "components/
|
|
1642
|
+
"path": "components/autocomplete/autocomplete.js",
|
|
1682
1643
|
"declarations": [],
|
|
1683
1644
|
"exports": [
|
|
1684
1645
|
{
|
|
@@ -1686,69 +1647,27 @@
|
|
|
1686
1647
|
"name": "*",
|
|
1687
1648
|
"declaration": {
|
|
1688
1649
|
"name": "*",
|
|
1689
|
-
"package": "./
|
|
1650
|
+
"package": "./autocomplete.component"
|
|
1690
1651
|
}
|
|
1691
1652
|
},
|
|
1692
1653
|
{
|
|
1693
1654
|
"kind": "js",
|
|
1694
1655
|
"name": "default",
|
|
1695
1656
|
"declaration": {
|
|
1696
|
-
"name": "
|
|
1697
|
-
"module": "components/
|
|
1657
|
+
"name": "FlowUiAutocomplete",
|
|
1658
|
+
"module": "components/autocomplete/autocomplete.js"
|
|
1698
1659
|
}
|
|
1699
1660
|
}
|
|
1700
1661
|
]
|
|
1701
1662
|
},
|
|
1702
1663
|
{
|
|
1703
1664
|
"kind": "javascript-module",
|
|
1704
|
-
"path": "components/
|
|
1705
|
-
"declarations": [
|
|
1706
|
-
{
|
|
1707
|
-
"kind": "function",
|
|
1708
|
-
"name": "getAnimationNames",
|
|
1709
|
-
"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."
|
|
1710
|
-
},
|
|
1711
|
-
{
|
|
1712
|
-
"kind": "function",
|
|
1713
|
-
"name": "getEasingNames",
|
|
1714
|
-
"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."
|
|
1715
|
-
}
|
|
1716
|
-
],
|
|
1717
|
-
"exports": [
|
|
1718
|
-
{
|
|
1719
|
-
"kind": "js",
|
|
1720
|
-
"name": "animations",
|
|
1721
|
-
"declaration": {
|
|
1722
|
-
"name": "animations",
|
|
1723
|
-
"module": "components/animation/animations.js"
|
|
1724
|
-
}
|
|
1725
|
-
},
|
|
1726
|
-
{
|
|
1727
|
-
"kind": "js",
|
|
1728
|
-
"name": "getAnimationNames",
|
|
1729
|
-
"declaration": {
|
|
1730
|
-
"name": "getAnimationNames",
|
|
1731
|
-
"module": "components/animation/animations.js"
|
|
1732
|
-
}
|
|
1733
|
-
},
|
|
1734
|
-
{
|
|
1735
|
-
"kind": "js",
|
|
1736
|
-
"name": "getEasingNames",
|
|
1737
|
-
"declaration": {
|
|
1738
|
-
"name": "getEasingNames",
|
|
1739
|
-
"module": "components/animation/animations.js"
|
|
1740
|
-
}
|
|
1741
|
-
}
|
|
1742
|
-
]
|
|
1743
|
-
},
|
|
1744
|
-
{
|
|
1745
|
-
"kind": "javascript-module",
|
|
1746
|
-
"path": "components/breadcrumb/breadcrumb.component.js",
|
|
1665
|
+
"path": "components/badge/badge.component.js",
|
|
1747
1666
|
"declarations": [
|
|
1748
1667
|
{
|
|
1749
1668
|
"kind": "class",
|
|
1750
1669
|
"description": "",
|
|
1751
|
-
"name": "
|
|
1670
|
+
"name": "FlowUiBadge",
|
|
1752
1671
|
"cssParts": [
|
|
1753
1672
|
{
|
|
1754
1673
|
"description": "The component's base wrapper.",
|
|
@@ -1757,84 +1676,100 @@
|
|
|
1757
1676
|
],
|
|
1758
1677
|
"slots": [
|
|
1759
1678
|
{
|
|
1760
|
-
"description": "
|
|
1679
|
+
"description": "The badge's content.",
|
|
1761
1680
|
"name": ""
|
|
1762
|
-
},
|
|
1763
|
-
{
|
|
1764
|
-
"description": "The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.",
|
|
1765
|
-
"name": "separator"
|
|
1766
1681
|
}
|
|
1767
1682
|
],
|
|
1768
1683
|
"members": [
|
|
1769
1684
|
{
|
|
1770
1685
|
"kind": "field",
|
|
1771
|
-
"name": "
|
|
1772
|
-
"
|
|
1773
|
-
|
|
1774
|
-
|
|
1686
|
+
"name": "variant",
|
|
1687
|
+
"type": {
|
|
1688
|
+
"text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
|
|
1689
|
+
},
|
|
1690
|
+
"default": "'primary'",
|
|
1691
|
+
"description": "The badge's theme variant.",
|
|
1692
|
+
"attribute": "variant",
|
|
1693
|
+
"reflects": true
|
|
1775
1694
|
},
|
|
1776
1695
|
{
|
|
1777
1696
|
"kind": "field",
|
|
1778
|
-
"name": "
|
|
1779
|
-
"
|
|
1697
|
+
"name": "size",
|
|
1698
|
+
"type": {
|
|
1699
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1700
|
+
},
|
|
1701
|
+
"default": "'medium'",
|
|
1702
|
+
"description": "The badge size.",
|
|
1703
|
+
"attribute": "size",
|
|
1704
|
+
"reflects": true
|
|
1780
1705
|
},
|
|
1781
1706
|
{
|
|
1782
1707
|
"kind": "field",
|
|
1783
|
-
"name": "
|
|
1708
|
+
"name": "pill",
|
|
1784
1709
|
"type": {
|
|
1785
|
-
"text": "
|
|
1710
|
+
"text": "boolean"
|
|
1786
1711
|
},
|
|
1787
|
-
"
|
|
1712
|
+
"default": "false",
|
|
1713
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
1714
|
+
"attribute": "pill",
|
|
1715
|
+
"reflects": true
|
|
1788
1716
|
},
|
|
1789
1717
|
{
|
|
1790
1718
|
"kind": "field",
|
|
1791
|
-
"name": "
|
|
1719
|
+
"name": "pulse",
|
|
1792
1720
|
"type": {
|
|
1793
|
-
"text": "
|
|
1721
|
+
"text": "boolean"
|
|
1794
1722
|
},
|
|
1795
|
-
"
|
|
1796
|
-
|
|
1723
|
+
"default": "false",
|
|
1724
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
1725
|
+
"attribute": "pulse",
|
|
1726
|
+
"reflects": true
|
|
1727
|
+
}
|
|
1728
|
+
],
|
|
1729
|
+
"attributes": [
|
|
1797
1730
|
{
|
|
1798
|
-
"
|
|
1799
|
-
"name": "label",
|
|
1731
|
+
"name": "variant",
|
|
1800
1732
|
"type": {
|
|
1801
|
-
"text": "
|
|
1733
|
+
"text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
|
|
1802
1734
|
},
|
|
1803
|
-
"default": "''",
|
|
1804
|
-
"description": "The
|
|
1805
|
-
"
|
|
1735
|
+
"default": "'primary'",
|
|
1736
|
+
"description": "The badge's theme variant.",
|
|
1737
|
+
"fieldName": "variant"
|
|
1806
1738
|
},
|
|
1807
1739
|
{
|
|
1808
|
-
"
|
|
1809
|
-
"
|
|
1810
|
-
|
|
1740
|
+
"name": "size",
|
|
1741
|
+
"type": {
|
|
1742
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1743
|
+
},
|
|
1744
|
+
"default": "'medium'",
|
|
1745
|
+
"description": "The badge size.",
|
|
1746
|
+
"fieldName": "size"
|
|
1811
1747
|
},
|
|
1812
1748
|
{
|
|
1813
|
-
"
|
|
1814
|
-
"
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1749
|
+
"name": "pill",
|
|
1750
|
+
"type": {
|
|
1751
|
+
"text": "boolean"
|
|
1752
|
+
},
|
|
1753
|
+
"default": "false",
|
|
1754
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
1755
|
+
"fieldName": "pill"
|
|
1756
|
+
},
|
|
1819
1757
|
{
|
|
1820
|
-
"name": "
|
|
1758
|
+
"name": "pulse",
|
|
1821
1759
|
"type": {
|
|
1822
|
-
"text": "
|
|
1760
|
+
"text": "boolean"
|
|
1823
1761
|
},
|
|
1824
|
-
"default": "
|
|
1825
|
-
"description": "
|
|
1826
|
-
"fieldName": "
|
|
1762
|
+
"default": "false",
|
|
1763
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
1764
|
+
"fieldName": "pulse"
|
|
1827
1765
|
}
|
|
1828
1766
|
],
|
|
1829
1767
|
"superclass": {
|
|
1830
1768
|
"name": "FlowRdfElement",
|
|
1831
1769
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
1832
1770
|
},
|
|
1833
|
-
"tagName": "flow-ui-
|
|
1834
|
-
"summary": "
|
|
1835
|
-
"dependencies": [
|
|
1836
|
-
"flow-ui-icon"
|
|
1837
|
-
],
|
|
1771
|
+
"tagName": "flow-ui-badge",
|
|
1772
|
+
"summary": "Badges are used to draw attention and display statuses or counts.",
|
|
1838
1773
|
"customElement": true
|
|
1839
1774
|
}
|
|
1840
1775
|
],
|
|
@@ -1843,125 +1778,53 @@
|
|
|
1843
1778
|
"kind": "js",
|
|
1844
1779
|
"name": "default",
|
|
1845
1780
|
"declaration": {
|
|
1846
|
-
"name": "
|
|
1847
|
-
"module": "components/
|
|
1781
|
+
"name": "FlowUiBadge",
|
|
1782
|
+
"module": "components/badge/badge.component.js"
|
|
1848
1783
|
}
|
|
1849
1784
|
}
|
|
1850
1785
|
]
|
|
1851
1786
|
},
|
|
1852
1787
|
{
|
|
1853
1788
|
"kind": "javascript-module",
|
|
1854
|
-
"path": "components/
|
|
1789
|
+
"path": "components/badge/badge.js",
|
|
1855
1790
|
"declarations": [],
|
|
1856
1791
|
"exports": [
|
|
1857
1792
|
{
|
|
1858
1793
|
"kind": "js",
|
|
1859
1794
|
"name": "default",
|
|
1860
1795
|
"declaration": {
|
|
1861
|
-
"name": "
|
|
1862
|
-
"module": "components/
|
|
1796
|
+
"name": "FlowUiBadge",
|
|
1797
|
+
"module": "components/badge/badge.js"
|
|
1863
1798
|
}
|
|
1864
1799
|
}
|
|
1865
1800
|
]
|
|
1866
1801
|
},
|
|
1867
1802
|
{
|
|
1868
1803
|
"kind": "javascript-module",
|
|
1869
|
-
"path": "components/
|
|
1804
|
+
"path": "components/animation/animation.component.js",
|
|
1870
1805
|
"declarations": [
|
|
1871
1806
|
{
|
|
1872
1807
|
"kind": "class",
|
|
1873
1808
|
"description": "",
|
|
1874
|
-
"name": "
|
|
1875
|
-
"cssParts": [
|
|
1876
|
-
{
|
|
1877
|
-
"description": "The form control that wraps the label, input, and help text.",
|
|
1878
|
-
"name": "form-control"
|
|
1879
|
-
},
|
|
1880
|
-
{
|
|
1881
|
-
"description": "The label's wrapper.",
|
|
1882
|
-
"name": "form-control-label"
|
|
1883
|
-
},
|
|
1884
|
-
{
|
|
1885
|
-
"description": "The input's wrapper.",
|
|
1886
|
-
"name": "form-control-input"
|
|
1887
|
-
},
|
|
1888
|
-
{
|
|
1889
|
-
"description": "The help text's wrapper.",
|
|
1890
|
-
"name": "form-control-help-text"
|
|
1891
|
-
},
|
|
1892
|
-
{
|
|
1893
|
-
"description": "The component's base wrapper.",
|
|
1894
|
-
"name": "base"
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"description": "The internal `<input>` control.",
|
|
1898
|
-
"name": "input"
|
|
1899
|
-
},
|
|
1900
|
-
{
|
|
1901
|
-
"description": "The container that wraps the prefix.",
|
|
1902
|
-
"name": "prefix"
|
|
1903
|
-
},
|
|
1904
|
-
{
|
|
1905
|
-
"description": "The clear button.",
|
|
1906
|
-
"name": "clear-button"
|
|
1907
|
-
},
|
|
1908
|
-
{
|
|
1909
|
-
"description": "The password toggle button.",
|
|
1910
|
-
"name": "password-toggle-button"
|
|
1911
|
-
},
|
|
1912
|
-
{
|
|
1913
|
-
"description": "The container that wraps the suffix.",
|
|
1914
|
-
"name": "suffix"
|
|
1915
|
-
}
|
|
1916
|
-
],
|
|
1809
|
+
"name": "FlowUiAnimation",
|
|
1917
1810
|
"slots": [
|
|
1918
1811
|
{
|
|
1919
|
-
"description": "The
|
|
1920
|
-
"name": "
|
|
1921
|
-
},
|
|
1922
|
-
{
|
|
1923
|
-
"description": "Used to prepend a presentational icon or similar element to the input.",
|
|
1924
|
-
"name": "prefix"
|
|
1925
|
-
},
|
|
1926
|
-
{
|
|
1927
|
-
"description": "Used to append a presentational icon or similar element to the input.",
|
|
1928
|
-
"name": "suffix"
|
|
1929
|
-
},
|
|
1930
|
-
{
|
|
1931
|
-
"description": "An icon to use in lieu of the default clear icon.",
|
|
1932
|
-
"name": "clear-icon"
|
|
1933
|
-
},
|
|
1934
|
-
{
|
|
1935
|
-
"description": "An icon to use in lieu of the default show password icon.",
|
|
1936
|
-
"name": "show-password-icon"
|
|
1937
|
-
},
|
|
1938
|
-
{
|
|
1939
|
-
"description": "An icon to use in lieu of the default hide password icon.",
|
|
1940
|
-
"name": "hide-password-icon"
|
|
1941
|
-
},
|
|
1942
|
-
{
|
|
1943
|
-
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1944
|
-
"name": "help-text"
|
|
1812
|
+
"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.",
|
|
1813
|
+
"name": ""
|
|
1945
1814
|
}
|
|
1946
1815
|
],
|
|
1947
1816
|
"members": [
|
|
1948
1817
|
{
|
|
1949
1818
|
"kind": "field",
|
|
1950
|
-
"name": "
|
|
1951
|
-
"
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
{
|
|
1956
|
-
"kind": "field",
|
|
1957
|
-
"name": "hasSlotController",
|
|
1958
|
-
"privacy": "private",
|
|
1959
|
-
"readonly": true,
|
|
1960
|
-
"default": "new HasSlotController(this, 'help-text', 'label')"
|
|
1819
|
+
"name": "animation",
|
|
1820
|
+
"type": {
|
|
1821
|
+
"text": "Animation | undefined"
|
|
1822
|
+
},
|
|
1823
|
+
"privacy": "private"
|
|
1961
1824
|
},
|
|
1962
1825
|
{
|
|
1963
1826
|
"kind": "field",
|
|
1964
|
-
"name": "
|
|
1827
|
+
"name": "hasStarted",
|
|
1965
1828
|
"type": {
|
|
1966
1829
|
"text": "boolean"
|
|
1967
1830
|
},
|
|
@@ -1970,324 +1833,296 @@
|
|
|
1970
1833
|
},
|
|
1971
1834
|
{
|
|
1972
1835
|
"kind": "field",
|
|
1973
|
-
"name": "
|
|
1836
|
+
"name": "defaultSlot",
|
|
1974
1837
|
"type": {
|
|
1975
|
-
"text": "
|
|
1838
|
+
"text": "Promise<HTMLSlotElement>"
|
|
1976
1839
|
},
|
|
1977
|
-
"
|
|
1978
|
-
"description": "The input's size.",
|
|
1979
|
-
"attribute": "size",
|
|
1980
|
-
"reflects": true
|
|
1840
|
+
"privacy": "private"
|
|
1981
1841
|
},
|
|
1982
1842
|
{
|
|
1983
1843
|
"kind": "field",
|
|
1984
|
-
"name": "
|
|
1844
|
+
"name": "name",
|
|
1985
1845
|
"type": {
|
|
1986
|
-
"text": "
|
|
1846
|
+
"text": "string"
|
|
1987
1847
|
},
|
|
1988
|
-
"default": "
|
|
1989
|
-
"description": "
|
|
1990
|
-
"attribute": "
|
|
1991
|
-
"reflects": true
|
|
1848
|
+
"default": "'none'",
|
|
1849
|
+
"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.",
|
|
1850
|
+
"attribute": "name"
|
|
1992
1851
|
},
|
|
1993
1852
|
{
|
|
1994
1853
|
"kind": "field",
|
|
1995
|
-
"name": "
|
|
1854
|
+
"name": "play",
|
|
1996
1855
|
"type": {
|
|
1997
1856
|
"text": "boolean"
|
|
1998
1857
|
},
|
|
1999
1858
|
"default": "false",
|
|
2000
|
-
"description": "
|
|
2001
|
-
"attribute": "
|
|
1859
|
+
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
|
|
1860
|
+
"attribute": "play",
|
|
2002
1861
|
"reflects": true
|
|
2003
1862
|
},
|
|
2004
1863
|
{
|
|
2005
1864
|
"kind": "field",
|
|
2006
|
-
"name": "
|
|
1865
|
+
"name": "delay",
|
|
2007
1866
|
"type": {
|
|
2008
|
-
"text": "
|
|
1867
|
+
"text": "number"
|
|
2009
1868
|
},
|
|
2010
|
-
"default": "
|
|
2011
|
-
"description": "The
|
|
2012
|
-
"attribute": "
|
|
1869
|
+
"default": "0",
|
|
1870
|
+
"description": "The number of milliseconds to delay the start of the animation.",
|
|
1871
|
+
"attribute": "delay"
|
|
2013
1872
|
},
|
|
2014
1873
|
{
|
|
2015
1874
|
"kind": "field",
|
|
2016
|
-
"name": "
|
|
1875
|
+
"name": "direction",
|
|
2017
1876
|
"type": {
|
|
2018
|
-
"text": "
|
|
1877
|
+
"text": "PlaybackDirection"
|
|
2019
1878
|
},
|
|
2020
|
-
"default": "''",
|
|
2021
|
-
"description": "
|
|
2022
|
-
"attribute": "
|
|
1879
|
+
"default": "'normal'",
|
|
1880
|
+
"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)",
|
|
1881
|
+
"attribute": "direction"
|
|
2023
1882
|
},
|
|
2024
1883
|
{
|
|
2025
1884
|
"kind": "field",
|
|
2026
|
-
"name": "
|
|
1885
|
+
"name": "duration",
|
|
2027
1886
|
"type": {
|
|
2028
|
-
"text": "
|
|
1887
|
+
"text": "number"
|
|
2029
1888
|
},
|
|
2030
|
-
"default": "
|
|
2031
|
-
"description": "
|
|
2032
|
-
"attribute": "
|
|
2033
|
-
"reflects": true
|
|
1889
|
+
"default": "1000",
|
|
1890
|
+
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
1891
|
+
"attribute": "duration"
|
|
2034
1892
|
},
|
|
2035
1893
|
{
|
|
2036
1894
|
"kind": "field",
|
|
2037
|
-
"name": "
|
|
1895
|
+
"name": "easing",
|
|
2038
1896
|
"type": {
|
|
2039
1897
|
"text": "string"
|
|
2040
1898
|
},
|
|
2041
|
-
"default": "''",
|
|
2042
|
-
"description": "
|
|
2043
|
-
"attribute": "
|
|
2044
|
-
"reflects": true
|
|
1899
|
+
"default": "'linear'",
|
|
1900
|
+
"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)`.",
|
|
1901
|
+
"attribute": "easing"
|
|
2045
1902
|
},
|
|
2046
1903
|
{
|
|
2047
1904
|
"kind": "field",
|
|
2048
|
-
"name": "
|
|
1905
|
+
"name": "endDelay",
|
|
2049
1906
|
"type": {
|
|
2050
|
-
"text": "
|
|
1907
|
+
"text": "number"
|
|
2051
1908
|
},
|
|
2052
|
-
"default": "
|
|
2053
|
-
"description": "
|
|
2054
|
-
"attribute": "
|
|
2055
|
-
"reflects": true
|
|
1909
|
+
"default": "0",
|
|
1910
|
+
"description": "The number of milliseconds to delay after the active period of an animation sequence.",
|
|
1911
|
+
"attribute": "end-delay"
|
|
2056
1912
|
},
|
|
2057
1913
|
{
|
|
2058
1914
|
"kind": "field",
|
|
2059
|
-
"name": "
|
|
1915
|
+
"name": "fill",
|
|
2060
1916
|
"type": {
|
|
2061
|
-
"text": "
|
|
1917
|
+
"text": "FillMode"
|
|
2062
1918
|
},
|
|
2063
|
-
"default": "
|
|
2064
|
-
"description": "
|
|
2065
|
-
"attribute": "
|
|
2066
|
-
"reflects": true
|
|
1919
|
+
"default": "'auto'",
|
|
1920
|
+
"description": "Sets how the animation applies styles to its target before and after its execution.",
|
|
1921
|
+
"attribute": "fill"
|
|
2067
1922
|
},
|
|
2068
1923
|
{
|
|
2069
1924
|
"kind": "field",
|
|
2070
|
-
"name": "
|
|
1925
|
+
"name": "iterations",
|
|
1926
|
+
"default": "Infinity",
|
|
1927
|
+
"description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
|
|
1928
|
+
"attribute": "iterations"
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"kind": "field",
|
|
1932
|
+
"name": "iterationStart",
|
|
2071
1933
|
"type": {
|
|
2072
|
-
"text": "
|
|
1934
|
+
"text": "number"
|
|
2073
1935
|
},
|
|
2074
|
-
"default": "
|
|
2075
|
-
"description": "
|
|
2076
|
-
"attribute": "
|
|
2077
|
-
"reflects": true
|
|
1936
|
+
"default": "0",
|
|
1937
|
+
"description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
|
|
1938
|
+
"attribute": "iteration-start"
|
|
2078
1939
|
},
|
|
2079
1940
|
{
|
|
2080
1941
|
"kind": "field",
|
|
2081
|
-
"name": "
|
|
2082
|
-
"
|
|
2083
|
-
|
|
1942
|
+
"name": "keyframes",
|
|
1943
|
+
"type": {
|
|
1944
|
+
"text": "Keyframe[] | undefined"
|
|
1945
|
+
},
|
|
1946
|
+
"description": "The keyframes to use for the animation. If this is set, `name` will be ignored."
|
|
2084
1947
|
},
|
|
2085
1948
|
{
|
|
2086
1949
|
"kind": "field",
|
|
2087
|
-
"name": "
|
|
2088
|
-
"
|
|
2089
|
-
|
|
1950
|
+
"name": "playbackRate",
|
|
1951
|
+
"type": {
|
|
1952
|
+
"text": "number"
|
|
1953
|
+
},
|
|
1954
|
+
"default": "1",
|
|
1955
|
+
"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.",
|
|
1956
|
+
"attribute": "playback-rate"
|
|
2090
1957
|
},
|
|
2091
1958
|
{
|
|
2092
|
-
"kind": "
|
|
2093
|
-
"name": "
|
|
2094
|
-
"
|
|
1959
|
+
"kind": "field",
|
|
1960
|
+
"name": "currentTime",
|
|
1961
|
+
"type": {
|
|
1962
|
+
"text": "CSSNumberish"
|
|
1963
|
+
},
|
|
1964
|
+
"description": "Gets and sets the current animation time."
|
|
2095
1965
|
},
|
|
2096
1966
|
{
|
|
2097
|
-
"kind": "
|
|
2098
|
-
"name": "
|
|
1967
|
+
"kind": "field",
|
|
1968
|
+
"name": "handleAnimationFinish",
|
|
2099
1969
|
"privacy": "private"
|
|
2100
1970
|
},
|
|
2101
1971
|
{
|
|
2102
|
-
"kind": "
|
|
2103
|
-
"name": "
|
|
2104
|
-
"
|
|
2105
|
-
{
|
|
2106
|
-
"name": "options",
|
|
2107
|
-
"optional": true,
|
|
2108
|
-
"type": {
|
|
2109
|
-
"text": "FocusOptions"
|
|
2110
|
-
}
|
|
2111
|
-
}
|
|
2112
|
-
],
|
|
2113
|
-
"description": "Sets focus on the input."
|
|
1972
|
+
"kind": "field",
|
|
1973
|
+
"name": "handleAnimationCancel",
|
|
1974
|
+
"privacy": "private"
|
|
2114
1975
|
},
|
|
2115
1976
|
{
|
|
2116
1977
|
"kind": "method",
|
|
2117
|
-
"name": "
|
|
2118
|
-
"
|
|
1978
|
+
"name": "handleSlotChange",
|
|
1979
|
+
"privacy": "private"
|
|
2119
1980
|
},
|
|
2120
1981
|
{
|
|
2121
1982
|
"kind": "method",
|
|
2122
|
-
"name": "
|
|
2123
|
-
"
|
|
1983
|
+
"name": "createAnimation",
|
|
1984
|
+
"privacy": "private"
|
|
2124
1985
|
},
|
|
2125
1986
|
{
|
|
2126
1987
|
"kind": "method",
|
|
2127
|
-
"name": "
|
|
2128
|
-
"
|
|
2129
|
-
"type": {
|
|
2130
|
-
"text": "HTMLFormElement | null"
|
|
2131
|
-
}
|
|
2132
|
-
},
|
|
2133
|
-
"description": "Gets the associated form, if one exists."
|
|
1988
|
+
"name": "destroyAnimation",
|
|
1989
|
+
"privacy": "private"
|
|
2134
1990
|
},
|
|
2135
1991
|
{
|
|
2136
1992
|
"kind": "method",
|
|
2137
|
-
"name": "
|
|
2138
|
-
"description": "
|
|
1993
|
+
"name": "cancel",
|
|
1994
|
+
"description": "Clears all keyframe effects caused by this animation and aborts its playback."
|
|
2139
1995
|
},
|
|
2140
1996
|
{
|
|
2141
1997
|
"kind": "method",
|
|
2142
|
-
"name": "
|
|
2143
|
-
"
|
|
2144
|
-
{
|
|
2145
|
-
"name": "message",
|
|
2146
|
-
"type": {
|
|
2147
|
-
"text": "string"
|
|
2148
|
-
}
|
|
2149
|
-
}
|
|
2150
|
-
],
|
|
2151
|
-
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
1998
|
+
"name": "finish",
|
|
1999
|
+
"description": "Sets the playback time to the end of the animation corresponding to the current playback direction."
|
|
2152
2000
|
}
|
|
2153
2001
|
],
|
|
2154
2002
|
"events": [
|
|
2155
2003
|
{
|
|
2156
|
-
"description": "Emitted when the
|
|
2157
|
-
"name": "flow-ui-
|
|
2158
|
-
"reactName": "
|
|
2159
|
-
},
|
|
2160
|
-
{
|
|
2161
|
-
"description": "Emitted when an alteration to the control's value is committed by the user.",
|
|
2162
|
-
"name": "flow-ui-change",
|
|
2163
|
-
"reactName": "onFlowUiChange"
|
|
2164
|
-
},
|
|
2165
|
-
{
|
|
2166
|
-
"description": "Emitted when the clear button is activated.",
|
|
2167
|
-
"name": "flow-ui-clear",
|
|
2168
|
-
"reactName": "onFlowUiClear"
|
|
2169
|
-
},
|
|
2170
|
-
{
|
|
2171
|
-
"description": "Emitted when the control gains focus.",
|
|
2172
|
-
"name": "flow-ui-focus",
|
|
2173
|
-
"reactName": "onFlowUiFocus"
|
|
2004
|
+
"description": "Emitted when the animation is canceled.",
|
|
2005
|
+
"name": "flow-ui-cancel",
|
|
2006
|
+
"reactName": "onFlowUiCancel"
|
|
2174
2007
|
},
|
|
2175
2008
|
{
|
|
2176
|
-
"description": "Emitted when the
|
|
2177
|
-
"name": "flow-ui-
|
|
2178
|
-
"reactName": "
|
|
2009
|
+
"description": "Emitted when the animation finishes.",
|
|
2010
|
+
"name": "flow-ui-finish",
|
|
2011
|
+
"reactName": "onFlowUiFinish"
|
|
2179
2012
|
},
|
|
2180
2013
|
{
|
|
2181
|
-
"description": "Emitted when the
|
|
2182
|
-
"name": "flow-ui-
|
|
2183
|
-
"reactName": "
|
|
2014
|
+
"description": "Emitted when the animation starts or restarts.",
|
|
2015
|
+
"name": "flow-ui-start",
|
|
2016
|
+
"reactName": "onFlowUiStart"
|
|
2184
2017
|
}
|
|
2185
2018
|
],
|
|
2186
2019
|
"attributes": [
|
|
2187
2020
|
{
|
|
2188
|
-
"name": "
|
|
2021
|
+
"name": "name",
|
|
2189
2022
|
"type": {
|
|
2190
|
-
"text": "
|
|
2023
|
+
"text": "string"
|
|
2191
2024
|
},
|
|
2192
|
-
"default": "'
|
|
2193
|
-
"description": "The
|
|
2194
|
-
"fieldName": "
|
|
2025
|
+
"default": "'none'",
|
|
2026
|
+
"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.",
|
|
2027
|
+
"fieldName": "name"
|
|
2195
2028
|
},
|
|
2196
2029
|
{
|
|
2197
|
-
"name": "
|
|
2030
|
+
"name": "play",
|
|
2198
2031
|
"type": {
|
|
2199
2032
|
"text": "boolean"
|
|
2200
2033
|
},
|
|
2201
2034
|
"default": "false",
|
|
2202
|
-
"description": "
|
|
2203
|
-
"fieldName": "
|
|
2035
|
+
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
|
|
2036
|
+
"fieldName": "play"
|
|
2204
2037
|
},
|
|
2205
2038
|
{
|
|
2206
|
-
"name": "
|
|
2039
|
+
"name": "delay",
|
|
2207
2040
|
"type": {
|
|
2208
|
-
"text": "
|
|
2041
|
+
"text": "number"
|
|
2209
2042
|
},
|
|
2210
|
-
"default": "
|
|
2211
|
-
"description": "
|
|
2212
|
-
"fieldName": "
|
|
2043
|
+
"default": "0",
|
|
2044
|
+
"description": "The number of milliseconds to delay the start of the animation.",
|
|
2045
|
+
"fieldName": "delay"
|
|
2213
2046
|
},
|
|
2214
2047
|
{
|
|
2215
|
-
"name": "
|
|
2048
|
+
"name": "direction",
|
|
2216
2049
|
"type": {
|
|
2217
|
-
"text": "
|
|
2050
|
+
"text": "PlaybackDirection"
|
|
2218
2051
|
},
|
|
2219
|
-
"default": "''",
|
|
2220
|
-
"description": "
|
|
2221
|
-
"fieldName": "
|
|
2052
|
+
"default": "'normal'",
|
|
2053
|
+
"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)",
|
|
2054
|
+
"fieldName": "direction"
|
|
2222
2055
|
},
|
|
2223
2056
|
{
|
|
2224
|
-
"name": "
|
|
2057
|
+
"name": "duration",
|
|
2225
2058
|
"type": {
|
|
2226
|
-
"text": "
|
|
2059
|
+
"text": "number"
|
|
2227
2060
|
},
|
|
2228
|
-
"default": "
|
|
2229
|
-
"description": "The
|
|
2230
|
-
"fieldName": "
|
|
2061
|
+
"default": "1000",
|
|
2062
|
+
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
2063
|
+
"fieldName": "duration"
|
|
2231
2064
|
},
|
|
2232
2065
|
{
|
|
2233
|
-
"name": "
|
|
2066
|
+
"name": "easing",
|
|
2234
2067
|
"type": {
|
|
2235
|
-
"text": "
|
|
2068
|
+
"text": "string"
|
|
2236
2069
|
},
|
|
2237
|
-
"default": "
|
|
2238
|
-
"description": "
|
|
2239
|
-
"fieldName": "
|
|
2070
|
+
"default": "'linear'",
|
|
2071
|
+
"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)`.",
|
|
2072
|
+
"fieldName": "easing"
|
|
2240
2073
|
},
|
|
2241
2074
|
{
|
|
2242
|
-
"name": "
|
|
2075
|
+
"name": "end-delay",
|
|
2243
2076
|
"type": {
|
|
2244
|
-
"text": "
|
|
2077
|
+
"text": "number"
|
|
2245
2078
|
},
|
|
2246
|
-
"default": "
|
|
2247
|
-
"description": "
|
|
2248
|
-
"fieldName": "
|
|
2079
|
+
"default": "0",
|
|
2080
|
+
"description": "The number of milliseconds to delay after the active period of an animation sequence.",
|
|
2081
|
+
"fieldName": "endDelay"
|
|
2249
2082
|
},
|
|
2250
2083
|
{
|
|
2251
|
-
"name": "
|
|
2084
|
+
"name": "fill",
|
|
2252
2085
|
"type": {
|
|
2253
|
-
"text": "
|
|
2086
|
+
"text": "FillMode"
|
|
2254
2087
|
},
|
|
2255
|
-
"default": "
|
|
2256
|
-
"description": "
|
|
2257
|
-
"fieldName": "
|
|
2088
|
+
"default": "'auto'",
|
|
2089
|
+
"description": "Sets how the animation applies styles to its target before and after its execution.",
|
|
2090
|
+
"fieldName": "fill"
|
|
2258
2091
|
},
|
|
2259
2092
|
{
|
|
2260
|
-
"name": "
|
|
2093
|
+
"name": "iterations",
|
|
2094
|
+
"default": "Infinity",
|
|
2095
|
+
"description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
|
|
2096
|
+
"resolveInitializer": {
|
|
2097
|
+
"module": "src/components/animation/animation.component.ts"
|
|
2098
|
+
},
|
|
2099
|
+
"fieldName": "iterations"
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
"name": "iteration-start",
|
|
2261
2103
|
"type": {
|
|
2262
|
-
"text": "
|
|
2104
|
+
"text": "number"
|
|
2263
2105
|
},
|
|
2264
|
-
"default": "
|
|
2265
|
-
"description": "
|
|
2266
|
-
"fieldName": "
|
|
2106
|
+
"default": "0",
|
|
2107
|
+
"description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
|
|
2108
|
+
"fieldName": "iterationStart"
|
|
2267
2109
|
},
|
|
2268
2110
|
{
|
|
2269
|
-
"name": "
|
|
2111
|
+
"name": "playback-rate",
|
|
2270
2112
|
"type": {
|
|
2271
|
-
"text": "
|
|
2113
|
+
"text": "number"
|
|
2272
2114
|
},
|
|
2273
|
-
"default": "
|
|
2274
|
-
"description": "
|
|
2275
|
-
"fieldName": "
|
|
2115
|
+
"default": "1",
|
|
2116
|
+
"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.",
|
|
2117
|
+
"fieldName": "playbackRate"
|
|
2276
2118
|
}
|
|
2277
2119
|
],
|
|
2278
2120
|
"superclass": {
|
|
2279
|
-
"name": "
|
|
2121
|
+
"name": "FlowRdfElement",
|
|
2280
2122
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
2281
2123
|
},
|
|
2282
|
-
"tagName": "flow-ui-
|
|
2283
|
-
"summary": "
|
|
2284
|
-
"documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/input",
|
|
2285
|
-
"status": "stable",
|
|
2286
|
-
"since": "2.0",
|
|
2287
|
-
"dependencies": [
|
|
2288
|
-
"flow-ui-icon",
|
|
2289
|
-
"flow-ui-icon-button"
|
|
2290
|
-
],
|
|
2124
|
+
"tagName": "flow-ui-animation",
|
|
2125
|
+
"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).",
|
|
2291
2126
|
"customElement": true
|
|
2292
2127
|
}
|
|
2293
2128
|
],
|
|
@@ -2296,15 +2131,15 @@
|
|
|
2296
2131
|
"kind": "js",
|
|
2297
2132
|
"name": "default",
|
|
2298
2133
|
"declaration": {
|
|
2299
|
-
"name": "
|
|
2300
|
-
"module": "components/
|
|
2134
|
+
"name": "FlowUiAnimation",
|
|
2135
|
+
"module": "components/animation/animation.component.js"
|
|
2301
2136
|
}
|
|
2302
2137
|
}
|
|
2303
2138
|
]
|
|
2304
2139
|
},
|
|
2305
2140
|
{
|
|
2306
2141
|
"kind": "javascript-module",
|
|
2307
|
-
"path": "components/
|
|
2142
|
+
"path": "components/animation/animation.js",
|
|
2308
2143
|
"declarations": [],
|
|
2309
2144
|
"exports": [
|
|
2310
2145
|
{
|
|
@@ -2312,15 +2147,180 @@
|
|
|
2312
2147
|
"name": "*",
|
|
2313
2148
|
"declaration": {
|
|
2314
2149
|
"name": "*",
|
|
2315
|
-
"package": "./
|
|
2150
|
+
"package": "./animation.component"
|
|
2316
2151
|
}
|
|
2317
2152
|
},
|
|
2318
2153
|
{
|
|
2319
2154
|
"kind": "js",
|
|
2320
2155
|
"name": "default",
|
|
2321
2156
|
"declaration": {
|
|
2322
|
-
"name": "
|
|
2323
|
-
"module": "components/
|
|
2157
|
+
"name": "FlowUiAnimation",
|
|
2158
|
+
"module": "components/animation/animation.js"
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
]
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
"kind": "javascript-module",
|
|
2165
|
+
"path": "components/animation/animations.js",
|
|
2166
|
+
"declarations": [
|
|
2167
|
+
{
|
|
2168
|
+
"kind": "function",
|
|
2169
|
+
"name": "getAnimationNames",
|
|
2170
|
+
"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."
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"kind": "function",
|
|
2174
|
+
"name": "getEasingNames",
|
|
2175
|
+
"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."
|
|
2176
|
+
}
|
|
2177
|
+
],
|
|
2178
|
+
"exports": [
|
|
2179
|
+
{
|
|
2180
|
+
"kind": "js",
|
|
2181
|
+
"name": "animations",
|
|
2182
|
+
"declaration": {
|
|
2183
|
+
"name": "animations",
|
|
2184
|
+
"module": "components/animation/animations.js"
|
|
2185
|
+
}
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"kind": "js",
|
|
2189
|
+
"name": "getAnimationNames",
|
|
2190
|
+
"declaration": {
|
|
2191
|
+
"name": "getAnimationNames",
|
|
2192
|
+
"module": "components/animation/animations.js"
|
|
2193
|
+
}
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
"kind": "js",
|
|
2197
|
+
"name": "getEasingNames",
|
|
2198
|
+
"declaration": {
|
|
2199
|
+
"name": "getEasingNames",
|
|
2200
|
+
"module": "components/animation/animations.js"
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
]
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
"kind": "javascript-module",
|
|
2207
|
+
"path": "components/breadcrumb/breadcrumb.component.js",
|
|
2208
|
+
"declarations": [
|
|
2209
|
+
{
|
|
2210
|
+
"kind": "class",
|
|
2211
|
+
"description": "",
|
|
2212
|
+
"name": "FlowUiBreadcrumb",
|
|
2213
|
+
"cssParts": [
|
|
2214
|
+
{
|
|
2215
|
+
"description": "The component's base wrapper.",
|
|
2216
|
+
"name": "base"
|
|
2217
|
+
}
|
|
2218
|
+
],
|
|
2219
|
+
"slots": [
|
|
2220
|
+
{
|
|
2221
|
+
"description": "One or more breadcrumb items to display.",
|
|
2222
|
+
"name": ""
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
"description": "The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.",
|
|
2226
|
+
"name": "separator"
|
|
2227
|
+
}
|
|
2228
|
+
],
|
|
2229
|
+
"members": [
|
|
2230
|
+
{
|
|
2231
|
+
"kind": "field",
|
|
2232
|
+
"name": "localize",
|
|
2233
|
+
"privacy": "private",
|
|
2234
|
+
"readonly": true,
|
|
2235
|
+
"default": "new LocalizeController(this)"
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"kind": "field",
|
|
2239
|
+
"name": "separatorDir",
|
|
2240
|
+
"privacy": "private"
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"kind": "field",
|
|
2244
|
+
"name": "defaultSlot",
|
|
2245
|
+
"type": {
|
|
2246
|
+
"text": "HTMLSlotElement"
|
|
2247
|
+
},
|
|
2248
|
+
"privacy": "private"
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"kind": "field",
|
|
2252
|
+
"name": "separatorSlot",
|
|
2253
|
+
"type": {
|
|
2254
|
+
"text": "HTMLSlotElement"
|
|
2255
|
+
},
|
|
2256
|
+
"privacy": "private"
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"kind": "field",
|
|
2260
|
+
"name": "label",
|
|
2261
|
+
"type": {
|
|
2262
|
+
"text": "string"
|
|
2263
|
+
},
|
|
2264
|
+
"default": "''",
|
|
2265
|
+
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
2266
|
+
"attribute": "label"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"kind": "method",
|
|
2270
|
+
"name": "getSeparator",
|
|
2271
|
+
"privacy": "private"
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"kind": "method",
|
|
2275
|
+
"name": "handleSlotChange",
|
|
2276
|
+
"privacy": "private"
|
|
2277
|
+
}
|
|
2278
|
+
],
|
|
2279
|
+
"attributes": [
|
|
2280
|
+
{
|
|
2281
|
+
"name": "label",
|
|
2282
|
+
"type": {
|
|
2283
|
+
"text": "string"
|
|
2284
|
+
},
|
|
2285
|
+
"default": "''",
|
|
2286
|
+
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
2287
|
+
"fieldName": "label"
|
|
2288
|
+
}
|
|
2289
|
+
],
|
|
2290
|
+
"superclass": {
|
|
2291
|
+
"name": "FlowRdfElement",
|
|
2292
|
+
"module": "/src/internal/flow-ui-rdf-element"
|
|
2293
|
+
},
|
|
2294
|
+
"tagName": "flow-ui-breadcrumb",
|
|
2295
|
+
"summary": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.",
|
|
2296
|
+
"dependencies": [
|
|
2297
|
+
"flow-ui-icon"
|
|
2298
|
+
],
|
|
2299
|
+
"customElement": true
|
|
2300
|
+
}
|
|
2301
|
+
],
|
|
2302
|
+
"exports": [
|
|
2303
|
+
{
|
|
2304
|
+
"kind": "js",
|
|
2305
|
+
"name": "default",
|
|
2306
|
+
"declaration": {
|
|
2307
|
+
"name": "FlowUiBreadcrumb",
|
|
2308
|
+
"module": "components/breadcrumb/breadcrumb.component.js"
|
|
2309
|
+
}
|
|
2310
|
+
}
|
|
2311
|
+
]
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
"kind": "javascript-module",
|
|
2315
|
+
"path": "components/breadcrumb/breadcrumb.js",
|
|
2316
|
+
"declarations": [],
|
|
2317
|
+
"exports": [
|
|
2318
|
+
{
|
|
2319
|
+
"kind": "js",
|
|
2320
|
+
"name": "default",
|
|
2321
|
+
"declaration": {
|
|
2322
|
+
"name": "FlowUiBreadcrumb",
|
|
2323
|
+
"module": "components/breadcrumb/breadcrumb.js"
|
|
2324
2324
|
}
|
|
2325
2325
|
}
|
|
2326
2326
|
]
|
|
@@ -10529,49 +10529,47 @@
|
|
|
10529
10529
|
},
|
|
10530
10530
|
{
|
|
10531
10531
|
"kind": "javascript-module",
|
|
10532
|
-
"path": "components/icon
|
|
10532
|
+
"path": "components/icon/icon.component.js",
|
|
10533
10533
|
"declarations": [
|
|
10534
10534
|
{
|
|
10535
10535
|
"kind": "class",
|
|
10536
10536
|
"description": "",
|
|
10537
|
-
"name": "
|
|
10537
|
+
"name": "FlowUiIcon",
|
|
10538
10538
|
"cssParts": [
|
|
10539
10539
|
{
|
|
10540
|
-
"description": "The
|
|
10541
|
-
"name": "
|
|
10540
|
+
"description": "The internal SVG element.",
|
|
10541
|
+
"name": "svg"
|
|
10542
10542
|
}
|
|
10543
10543
|
],
|
|
10544
|
-
"
|
|
10544
|
+
"members": [
|
|
10545
10545
|
{
|
|
10546
|
-
"
|
|
10547
|
-
"name": "
|
|
10548
|
-
}
|
|
10549
|
-
],
|
|
10550
|
-
"members": [
|
|
10551
|
-
{
|
|
10552
|
-
"kind": "field",
|
|
10553
|
-
"name": "hasSlotController",
|
|
10546
|
+
"kind": "method",
|
|
10547
|
+
"name": "resolveIcon",
|
|
10554
10548
|
"privacy": "private",
|
|
10555
|
-
"
|
|
10556
|
-
"
|
|
10557
|
-
|
|
10558
|
-
|
|
10559
|
-
|
|
10560
|
-
"name": "tooltipAnimating",
|
|
10561
|
-
"type": {
|
|
10562
|
-
"text": "boolean"
|
|
10549
|
+
"static": true,
|
|
10550
|
+
"return": {
|
|
10551
|
+
"type": {
|
|
10552
|
+
"text": "Promise<SVGResult>"
|
|
10553
|
+
}
|
|
10563
10554
|
},
|
|
10564
|
-
"
|
|
10565
|
-
|
|
10555
|
+
"parameters": [
|
|
10556
|
+
{
|
|
10557
|
+
"name": "url",
|
|
10558
|
+
"type": {
|
|
10559
|
+
"text": "string"
|
|
10560
|
+
}
|
|
10561
|
+
}
|
|
10562
|
+
],
|
|
10563
|
+
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
10566
10564
|
},
|
|
10567
10565
|
{
|
|
10568
10566
|
"kind": "field",
|
|
10569
|
-
"name": "
|
|
10567
|
+
"name": "svg",
|
|
10570
10568
|
"type": {
|
|
10571
|
-
"text": "
|
|
10569
|
+
"text": "SVGElement | null"
|
|
10572
10570
|
},
|
|
10573
10571
|
"privacy": "private",
|
|
10574
|
-
"default": "
|
|
10572
|
+
"default": "null"
|
|
10575
10573
|
},
|
|
10576
10574
|
{
|
|
10577
10575
|
"kind": "field",
|
|
@@ -10580,16 +10578,8 @@
|
|
|
10580
10578
|
"text": "string | undefined"
|
|
10581
10579
|
},
|
|
10582
10580
|
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
10583
|
-
"attribute": "name"
|
|
10584
|
-
|
|
10585
|
-
{
|
|
10586
|
-
"kind": "field",
|
|
10587
|
-
"name": "library",
|
|
10588
|
-
"type": {
|
|
10589
|
-
"text": "string | undefined"
|
|
10590
|
-
},
|
|
10591
|
-
"description": "The name of a registered custom icon library.",
|
|
10592
|
-
"attribute": "library"
|
|
10581
|
+
"attribute": "name",
|
|
10582
|
+
"reflects": true
|
|
10593
10583
|
},
|
|
10594
10584
|
{
|
|
10595
10585
|
"kind": "field",
|
|
@@ -10600,33 +10590,6 @@
|
|
|
10600
10590
|
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
10601
10591
|
"attribute": "src"
|
|
10602
10592
|
},
|
|
10603
|
-
{
|
|
10604
|
-
"kind": "field",
|
|
10605
|
-
"name": "href",
|
|
10606
|
-
"type": {
|
|
10607
|
-
"text": "string | undefined"
|
|
10608
|
-
},
|
|
10609
|
-
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
10610
|
-
"attribute": "href"
|
|
10611
|
-
},
|
|
10612
|
-
{
|
|
10613
|
-
"kind": "field",
|
|
10614
|
-
"name": "target",
|
|
10615
|
-
"type": {
|
|
10616
|
-
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
10617
|
-
},
|
|
10618
|
-
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
10619
|
-
"attribute": "target"
|
|
10620
|
-
},
|
|
10621
|
-
{
|
|
10622
|
-
"kind": "field",
|
|
10623
|
-
"name": "download",
|
|
10624
|
-
"type": {
|
|
10625
|
-
"text": "string | undefined"
|
|
10626
|
-
},
|
|
10627
|
-
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
10628
|
-
"attribute": "download"
|
|
10629
|
-
},
|
|
10630
10593
|
{
|
|
10631
10594
|
"kind": "field",
|
|
10632
10595
|
"name": "label",
|
|
@@ -10634,169 +10597,36 @@
|
|
|
10634
10597
|
"text": "string"
|
|
10635
10598
|
},
|
|
10636
10599
|
"default": "''",
|
|
10637
|
-
"description": "
|
|
10600
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
10638
10601
|
"attribute": "label"
|
|
10639
10602
|
},
|
|
10640
10603
|
{
|
|
10641
10604
|
"kind": "field",
|
|
10642
|
-
"name": "
|
|
10605
|
+
"name": "library",
|
|
10643
10606
|
"type": {
|
|
10644
10607
|
"text": "string"
|
|
10645
10608
|
},
|
|
10646
|
-
"default": "''",
|
|
10647
|
-
"description": "
|
|
10648
|
-
"attribute": "
|
|
10649
|
-
},
|
|
10650
|
-
{
|
|
10651
|
-
"kind": "field",
|
|
10652
|
-
"name": "tooltipPlacement",
|
|
10653
|
-
"type": {
|
|
10654
|
-
"text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
|
|
10655
|
-
},
|
|
10656
|
-
"default": "'top'",
|
|
10657
|
-
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
10658
|
-
"attribute": "tooltip-placement"
|
|
10659
|
-
},
|
|
10660
|
-
{
|
|
10661
|
-
"kind": "field",
|
|
10662
|
-
"name": "tooltipDistance",
|
|
10663
|
-
"type": {
|
|
10664
|
-
"text": "number"
|
|
10665
|
-
},
|
|
10666
|
-
"default": "8",
|
|
10667
|
-
"description": "The distance in pixels from which to offset the tooltip away from the icon button.",
|
|
10668
|
-
"attribute": "tooltip-distance"
|
|
10669
|
-
},
|
|
10670
|
-
{
|
|
10671
|
-
"kind": "field",
|
|
10672
|
-
"name": "tooltipSkidding",
|
|
10673
|
-
"type": {
|
|
10674
|
-
"text": "number"
|
|
10675
|
-
},
|
|
10676
|
-
"default": "0",
|
|
10677
|
-
"description": "The distance in pixels from which to offset the tooltip along the icon button.",
|
|
10678
|
-
"attribute": "tooltip-skidding"
|
|
10679
|
-
},
|
|
10680
|
-
{
|
|
10681
|
-
"kind": "field",
|
|
10682
|
-
"name": "disabled",
|
|
10683
|
-
"type": {
|
|
10684
|
-
"text": "boolean"
|
|
10685
|
-
},
|
|
10686
|
-
"default": "false",
|
|
10687
|
-
"description": "Disables the button.",
|
|
10688
|
-
"attribute": "disabled",
|
|
10609
|
+
"default": "'default'",
|
|
10610
|
+
"description": "The name of a registered custom icon library.",
|
|
10611
|
+
"attribute": "library",
|
|
10689
10612
|
"reflects": true
|
|
10690
10613
|
},
|
|
10691
|
-
{
|
|
10692
|
-
"kind": "field",
|
|
10693
|
-
"name": "confirm",
|
|
10694
|
-
"type": {
|
|
10695
|
-
"text": "string"
|
|
10696
|
-
},
|
|
10697
|
-
"default": "''",
|
|
10698
|
-
"description": "Confirmation text that gets displayed in a tooltip when the user clicks the icon button.\n If you need to display HTML, use the `confirm` slot instead.",
|
|
10699
|
-
"attribute": "confirm"
|
|
10700
|
-
},
|
|
10701
|
-
{
|
|
10702
|
-
"kind": "method",
|
|
10703
|
-
"name": "handleBlur",
|
|
10704
|
-
"privacy": "private"
|
|
10705
|
-
},
|
|
10706
|
-
{
|
|
10707
|
-
"kind": "method",
|
|
10708
|
-
"name": "handleFocus",
|
|
10709
|
-
"privacy": "private"
|
|
10710
|
-
},
|
|
10711
|
-
{
|
|
10712
|
-
"kind": "method",
|
|
10713
|
-
"name": "handleClick",
|
|
10714
|
-
"privacy": "protected",
|
|
10715
|
-
"parameters": [
|
|
10716
|
-
{
|
|
10717
|
-
"name": "event",
|
|
10718
|
-
"type": {
|
|
10719
|
-
"text": "MouseEvent"
|
|
10720
|
-
}
|
|
10721
|
-
}
|
|
10722
|
-
]
|
|
10723
|
-
},
|
|
10724
|
-
{
|
|
10725
|
-
"kind": "method",
|
|
10726
|
-
"name": "click",
|
|
10727
|
-
"description": "Simulates a click on the icon button."
|
|
10728
|
-
},
|
|
10729
|
-
{
|
|
10730
|
-
"kind": "method",
|
|
10731
|
-
"name": "focus",
|
|
10732
|
-
"parameters": [
|
|
10733
|
-
{
|
|
10734
|
-
"name": "options",
|
|
10735
|
-
"optional": true,
|
|
10736
|
-
"type": {
|
|
10737
|
-
"text": "FocusOptions"
|
|
10738
|
-
}
|
|
10739
|
-
}
|
|
10740
|
-
],
|
|
10741
|
-
"description": "Sets focus on the icon button."
|
|
10742
|
-
},
|
|
10743
|
-
{
|
|
10744
|
-
"kind": "method",
|
|
10745
|
-
"name": "blur",
|
|
10746
|
-
"description": "Removes focus from the icon button."
|
|
10747
|
-
},
|
|
10748
|
-
{
|
|
10749
|
-
"kind": "method",
|
|
10750
|
-
"name": "hideConfirm",
|
|
10751
|
-
"description": "Hide the confirmation tooltip if it is showing"
|
|
10752
|
-
},
|
|
10753
|
-
{
|
|
10754
|
-
"kind": "method",
|
|
10755
|
-
"name": "showConfirm",
|
|
10756
|
-
"description": "Show the confirmation tooltip"
|
|
10757
|
-
},
|
|
10758
10614
|
{
|
|
10759
10615
|
"kind": "method",
|
|
10760
|
-
"name": "
|
|
10616
|
+
"name": "getUrl",
|
|
10761
10617
|
"privacy": "private"
|
|
10762
|
-
},
|
|
10763
|
-
{
|
|
10764
|
-
"kind": "method",
|
|
10765
|
-
"name": "renderWithTooltip",
|
|
10766
|
-
"privacy": "private",
|
|
10767
|
-
"parameters": [
|
|
10768
|
-
{
|
|
10769
|
-
"name": "contents",
|
|
10770
|
-
"type": {
|
|
10771
|
-
"text": "TemplateResult"
|
|
10772
|
-
}
|
|
10773
|
-
}
|
|
10774
|
-
]
|
|
10775
|
-
},
|
|
10776
|
-
{
|
|
10777
|
-
"kind": "method",
|
|
10778
|
-
"name": "renderWithConfirmation",
|
|
10779
|
-
"privacy": "private",
|
|
10780
|
-
"parameters": [
|
|
10781
|
-
{
|
|
10782
|
-
"name": "contents",
|
|
10783
|
-
"type": {
|
|
10784
|
-
"text": "TemplateResult"
|
|
10785
|
-
}
|
|
10786
|
-
}
|
|
10787
|
-
]
|
|
10788
10618
|
}
|
|
10789
10619
|
],
|
|
10790
10620
|
"events": [
|
|
10791
10621
|
{
|
|
10792
|
-
"description": "Emitted when the icon
|
|
10793
|
-
"name": "flow-ui-
|
|
10794
|
-
"reactName": "
|
|
10622
|
+
"description": "Emitted when the icon has loaded.",
|
|
10623
|
+
"name": "flow-ui-load",
|
|
10624
|
+
"reactName": "onFlowUiLoad"
|
|
10795
10625
|
},
|
|
10796
10626
|
{
|
|
10797
|
-
"description": "Emitted when the icon
|
|
10798
|
-
"name": "flow-ui-
|
|
10799
|
-
"reactName": "
|
|
10627
|
+
"description": "Emitted when the icon fails to load due to an error.",
|
|
10628
|
+
"name": "flow-ui-error",
|
|
10629
|
+
"reactName": "onFlowUiError"
|
|
10800
10630
|
}
|
|
10801
10631
|
],
|
|
10802
10632
|
"attributes": [
|
|
@@ -10808,14 +10638,6 @@
|
|
|
10808
10638
|
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
10809
10639
|
"fieldName": "name"
|
|
10810
10640
|
},
|
|
10811
|
-
{
|
|
10812
|
-
"name": "library",
|
|
10813
|
-
"type": {
|
|
10814
|
-
"text": "string | undefined"
|
|
10815
|
-
},
|
|
10816
|
-
"description": "The name of a registered custom icon library.",
|
|
10817
|
-
"fieldName": "library"
|
|
10818
|
-
},
|
|
10819
10641
|
{
|
|
10820
10642
|
"name": "src",
|
|
10821
10643
|
"type": {
|
|
@@ -10825,106 +10647,33 @@
|
|
|
10825
10647
|
"fieldName": "src"
|
|
10826
10648
|
},
|
|
10827
10649
|
{
|
|
10828
|
-
"name": "
|
|
10650
|
+
"name": "label",
|
|
10829
10651
|
"type": {
|
|
10830
|
-
"text": "string
|
|
10652
|
+
"text": "string"
|
|
10831
10653
|
},
|
|
10832
|
-
"
|
|
10833
|
-
"
|
|
10654
|
+
"default": "''",
|
|
10655
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
10656
|
+
"fieldName": "label"
|
|
10834
10657
|
},
|
|
10835
10658
|
{
|
|
10836
|
-
"name": "
|
|
10837
|
-
"type": {
|
|
10838
|
-
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
10839
|
-
},
|
|
10840
|
-
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
10841
|
-
"fieldName": "target"
|
|
10842
|
-
},
|
|
10843
|
-
{
|
|
10844
|
-
"name": "download",
|
|
10845
|
-
"type": {
|
|
10846
|
-
"text": "string | undefined"
|
|
10847
|
-
},
|
|
10848
|
-
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
10849
|
-
"fieldName": "download"
|
|
10850
|
-
},
|
|
10851
|
-
{
|
|
10852
|
-
"name": "label",
|
|
10853
|
-
"type": {
|
|
10854
|
-
"text": "string"
|
|
10855
|
-
},
|
|
10856
|
-
"default": "''",
|
|
10857
|
-
"description": "A description that gets read by assistive devices. For optimal accessibility, you should always include a label\nthat describes what the icon button does.",
|
|
10858
|
-
"fieldName": "label"
|
|
10859
|
-
},
|
|
10860
|
-
{
|
|
10861
|
-
"name": "tooltip",
|
|
10862
|
-
"type": {
|
|
10863
|
-
"text": "string"
|
|
10864
|
-
},
|
|
10865
|
-
"default": "''",
|
|
10866
|
-
"description": "Tooltip text that gets displayed when the user hovers over the icon button. If you need to display HTML, use the\n`tooltip` slot instead.",
|
|
10867
|
-
"fieldName": "tooltip"
|
|
10868
|
-
},
|
|
10869
|
-
{
|
|
10870
|
-
"name": "tooltip-placement",
|
|
10871
|
-
"type": {
|
|
10872
|
-
"text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
|
|
10873
|
-
},
|
|
10874
|
-
"default": "'top'",
|
|
10875
|
-
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
10876
|
-
"fieldName": "tooltipPlacement"
|
|
10877
|
-
},
|
|
10878
|
-
{
|
|
10879
|
-
"name": "tooltip-distance",
|
|
10880
|
-
"type": {
|
|
10881
|
-
"text": "number"
|
|
10882
|
-
},
|
|
10883
|
-
"default": "8",
|
|
10884
|
-
"description": "The distance in pixels from which to offset the tooltip away from the icon button.",
|
|
10885
|
-
"fieldName": "tooltipDistance"
|
|
10886
|
-
},
|
|
10887
|
-
{
|
|
10888
|
-
"name": "tooltip-skidding",
|
|
10889
|
-
"type": {
|
|
10890
|
-
"text": "number"
|
|
10891
|
-
},
|
|
10892
|
-
"default": "0",
|
|
10893
|
-
"description": "The distance in pixels from which to offset the tooltip along the icon button.",
|
|
10894
|
-
"fieldName": "tooltipSkidding"
|
|
10895
|
-
},
|
|
10896
|
-
{
|
|
10897
|
-
"name": "disabled",
|
|
10898
|
-
"type": {
|
|
10899
|
-
"text": "boolean"
|
|
10900
|
-
},
|
|
10901
|
-
"default": "false",
|
|
10902
|
-
"description": "Disables the button.",
|
|
10903
|
-
"fieldName": "disabled"
|
|
10904
|
-
},
|
|
10905
|
-
{
|
|
10906
|
-
"name": "confirm",
|
|
10659
|
+
"name": "library",
|
|
10907
10660
|
"type": {
|
|
10908
10661
|
"text": "string"
|
|
10909
10662
|
},
|
|
10910
|
-
"default": "''",
|
|
10911
|
-
"description": "
|
|
10912
|
-
"fieldName": "
|
|
10663
|
+
"default": "'default'",
|
|
10664
|
+
"description": "The name of a registered custom icon library.",
|
|
10665
|
+
"fieldName": "library"
|
|
10913
10666
|
}
|
|
10914
10667
|
],
|
|
10915
10668
|
"superclass": {
|
|
10916
10669
|
"name": "FlowRdfElement",
|
|
10917
10670
|
"module": "/src/internal/flow-ui-rdf-element"
|
|
10918
10671
|
},
|
|
10919
|
-
"tagName": "flow-ui-icon
|
|
10920
|
-
"summary": "Icons
|
|
10921
|
-
"documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/icon
|
|
10672
|
+
"tagName": "flow-ui-icon",
|
|
10673
|
+
"summary": "Icons are symbols that can be used to represent various options within an application.",
|
|
10674
|
+
"documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/icon",
|
|
10922
10675
|
"status": "stable",
|
|
10923
10676
|
"since": "2.0",
|
|
10924
|
-
"dependencies": [
|
|
10925
|
-
"flow-ui-icon",
|
|
10926
|
-
"flow-ui-tooltip"
|
|
10927
|
-
],
|
|
10928
10677
|
"customElement": true
|
|
10929
10678
|
}
|
|
10930
10679
|
],
|
|
@@ -10933,15 +10682,15 @@
|
|
|
10933
10682
|
"kind": "js",
|
|
10934
10683
|
"name": "default",
|
|
10935
10684
|
"declaration": {
|
|
10936
|
-
"name": "
|
|
10937
|
-
"module": "components/icon
|
|
10685
|
+
"name": "FlowUiIcon",
|
|
10686
|
+
"module": "components/icon/icon.component.js"
|
|
10938
10687
|
}
|
|
10939
10688
|
}
|
|
10940
10689
|
]
|
|
10941
10690
|
},
|
|
10942
10691
|
{
|
|
10943
10692
|
"kind": "javascript-module",
|
|
10944
|
-
"path": "components/icon
|
|
10693
|
+
"path": "components/icon/icon.js",
|
|
10945
10694
|
"declarations": [],
|
|
10946
10695
|
"exports": [
|
|
10947
10696
|
{
|
|
@@ -10949,430 +10698,681 @@
|
|
|
10949
10698
|
"name": "*",
|
|
10950
10699
|
"declaration": {
|
|
10951
10700
|
"name": "*",
|
|
10952
|
-
"package": "./icon
|
|
10701
|
+
"package": "./icon.component"
|
|
10953
10702
|
}
|
|
10954
10703
|
},
|
|
10955
10704
|
{
|
|
10956
10705
|
"kind": "js",
|
|
10957
10706
|
"name": "default",
|
|
10958
10707
|
"declaration": {
|
|
10959
|
-
"name": "
|
|
10960
|
-
"module": "components/icon
|
|
10708
|
+
"name": "FlowUiIcon",
|
|
10709
|
+
"module": "components/icon/icon.js"
|
|
10961
10710
|
}
|
|
10962
10711
|
}
|
|
10963
10712
|
]
|
|
10964
10713
|
},
|
|
10965
10714
|
{
|
|
10966
10715
|
"kind": "javascript-module",
|
|
10967
|
-
"path": "components/icon/
|
|
10716
|
+
"path": "components/icon/library.default.js",
|
|
10968
10717
|
"declarations": [
|
|
10969
10718
|
{
|
|
10970
|
-
"kind": "
|
|
10971
|
-
"
|
|
10972
|
-
"
|
|
10973
|
-
"cssParts": [
|
|
10719
|
+
"kind": "function",
|
|
10720
|
+
"name": "addIcons",
|
|
10721
|
+
"parameters": [
|
|
10974
10722
|
{
|
|
10975
|
-
"
|
|
10976
|
-
"
|
|
10723
|
+
"name": "icons",
|
|
10724
|
+
"type": {
|
|
10725
|
+
"text": "{ [name: string]: string }"
|
|
10726
|
+
}
|
|
10977
10727
|
}
|
|
10978
10728
|
],
|
|
10979
|
-
"
|
|
10729
|
+
"description": "\nThe following code shows how to import FontAwesome SVG icons from the `flow-rdf-ui/icons` package and add them to the\ndefault icon library.\n```js\n// Import and register icons\nimport {fasHouse, fasGear, fasUser} from '@emuanalytics/flow-rdf-ui/icons';\nimport {addIcons} from '@emuanalytics/flow-rdf-ui';\naddIcons({fasHouse, fasGear, fasUser});\n```\n\nIcons are registered under their camelCase name **and** kebab-case name.\nOnce registered, they can be used in the following way:\n\n```html\n<flow-ui-icon name=\"fas-house\"></flow-ui-icon>\n```\n\nNote that missing or mis-spelled icons will be displayed as <flow-ui-icon name=\"unknown\"></flow-ui-icon>.\n\nFor a list of available icons, see the [FontAwesome icon gallery](https://fontawesome.com/search?o=r&m=free)."
|
|
10730
|
+
},
|
|
10731
|
+
{
|
|
10732
|
+
"kind": "function",
|
|
10733
|
+
"name": "getIconMap"
|
|
10734
|
+
},
|
|
10735
|
+
{
|
|
10736
|
+
"kind": "variable",
|
|
10737
|
+
"name": "library",
|
|
10738
|
+
"type": {
|
|
10739
|
+
"text": "IconLibrary"
|
|
10740
|
+
},
|
|
10741
|
+
"default": "{\n name: 'default',\n resolver: (name) => {\n const map = getIconMap();\n const icon = map.get(name);\n\n return icon ?? notDefined;\n }\n}"
|
|
10742
|
+
}
|
|
10743
|
+
],
|
|
10744
|
+
"exports": [
|
|
10745
|
+
{
|
|
10746
|
+
"kind": "js",
|
|
10747
|
+
"name": "getIconMap",
|
|
10748
|
+
"declaration": {
|
|
10749
|
+
"name": "getIconMap",
|
|
10750
|
+
"module": "components/icon/library.default.js"
|
|
10751
|
+
}
|
|
10752
|
+
},
|
|
10753
|
+
{
|
|
10754
|
+
"kind": "js",
|
|
10755
|
+
"name": "addIcons",
|
|
10756
|
+
"declaration": {
|
|
10757
|
+
"name": "addIcons",
|
|
10758
|
+
"module": "components/icon/library.default.js"
|
|
10759
|
+
}
|
|
10760
|
+
},
|
|
10761
|
+
{
|
|
10762
|
+
"kind": "js",
|
|
10763
|
+
"name": "library",
|
|
10764
|
+
"declaration": {
|
|
10765
|
+
"name": "library",
|
|
10766
|
+
"module": "components/icon/library.default.js"
|
|
10767
|
+
}
|
|
10768
|
+
}
|
|
10769
|
+
]
|
|
10770
|
+
},
|
|
10771
|
+
{
|
|
10772
|
+
"kind": "javascript-module",
|
|
10773
|
+
"path": "components/icon/library.system.js",
|
|
10774
|
+
"declarations": [
|
|
10775
|
+
{
|
|
10776
|
+
"kind": "variable",
|
|
10777
|
+
"name": "systemLibrary",
|
|
10778
|
+
"type": {
|
|
10779
|
+
"text": "IconLibrary"
|
|
10780
|
+
},
|
|
10781
|
+
"default": "{\n name: 'system',\n resolver: (name: keyof typeof icons) => {\n if (name in icons) {\n return `data:image/svg+xml,${encodeURIComponent(icons[name])}`;\n }\n return '';\n }\n}"
|
|
10782
|
+
}
|
|
10783
|
+
],
|
|
10784
|
+
"exports": [
|
|
10785
|
+
{
|
|
10786
|
+
"kind": "js",
|
|
10787
|
+
"name": "default",
|
|
10788
|
+
"declaration": {
|
|
10789
|
+
"name": "systemLibrary",
|
|
10790
|
+
"module": "components/icon/library.system.js"
|
|
10791
|
+
}
|
|
10792
|
+
}
|
|
10793
|
+
]
|
|
10794
|
+
},
|
|
10795
|
+
{
|
|
10796
|
+
"kind": "javascript-module",
|
|
10797
|
+
"path": "components/icon/library.js",
|
|
10798
|
+
"declarations": [
|
|
10799
|
+
{
|
|
10800
|
+
"kind": "function",
|
|
10801
|
+
"name": "watchIcon",
|
|
10802
|
+
"parameters": [
|
|
10980
10803
|
{
|
|
10981
|
-
"
|
|
10982
|
-
"
|
|
10983
|
-
|
|
10984
|
-
|
|
10985
|
-
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
|
|
10804
|
+
"name": "icon",
|
|
10805
|
+
"type": {
|
|
10806
|
+
"text": "FlowIcon"
|
|
10807
|
+
}
|
|
10808
|
+
}
|
|
10809
|
+
],
|
|
10810
|
+
"description": "Adds an icon to the list of watched icons."
|
|
10811
|
+
},
|
|
10812
|
+
{
|
|
10813
|
+
"kind": "function",
|
|
10814
|
+
"name": "unwatchIcon",
|
|
10815
|
+
"parameters": [
|
|
10816
|
+
{
|
|
10817
|
+
"name": "icon",
|
|
10818
|
+
"type": {
|
|
10819
|
+
"text": "FlowIcon"
|
|
10820
|
+
}
|
|
10821
|
+
}
|
|
10822
|
+
],
|
|
10823
|
+
"description": "Removes an icon from the list of watched icons."
|
|
10824
|
+
},
|
|
10825
|
+
{
|
|
10826
|
+
"kind": "function",
|
|
10827
|
+
"name": "getIconLibrary",
|
|
10828
|
+
"parameters": [
|
|
10829
|
+
{
|
|
10830
|
+
"name": "name",
|
|
10831
|
+
"optional": true,
|
|
10832
|
+
"type": {
|
|
10833
|
+
"text": "string"
|
|
10834
|
+
}
|
|
10835
|
+
}
|
|
10836
|
+
],
|
|
10837
|
+
"description": "Returns a library from the registry."
|
|
10838
|
+
},
|
|
10839
|
+
{
|
|
10840
|
+
"kind": "function",
|
|
10841
|
+
"name": "registerIconLibrary",
|
|
10842
|
+
"parameters": [
|
|
10843
|
+
{
|
|
10844
|
+
"name": "name",
|
|
10845
|
+
"type": {
|
|
10846
|
+
"text": "string"
|
|
10989
10847
|
},
|
|
10990
|
-
"
|
|
10991
|
-
{
|
|
10992
|
-
"name": "url",
|
|
10993
|
-
"type": {
|
|
10994
|
-
"text": "string"
|
|
10995
|
-
}
|
|
10996
|
-
}
|
|
10997
|
-
],
|
|
10998
|
-
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
10848
|
+
"description": "The name of the custom icon library."
|
|
10999
10849
|
},
|
|
11000
10850
|
{
|
|
11001
|
-
"
|
|
11002
|
-
"name": "svg",
|
|
10851
|
+
"name": "options",
|
|
11003
10852
|
"type": {
|
|
11004
|
-
"text": "
|
|
10853
|
+
"text": "{ resolver: IconLibraryResolver; mutator?: IconLibraryMutator }"
|
|
11005
10854
|
},
|
|
11006
|
-
"
|
|
11007
|
-
"default": "null"
|
|
10855
|
+
"description": "The icon library resolver and optional mutator."
|
|
11008
10856
|
},
|
|
11009
10857
|
{
|
|
11010
|
-
"
|
|
11011
|
-
"name": "
|
|
11012
|
-
"type": {
|
|
11013
|
-
"text": "string | undefined"
|
|
11014
|
-
},
|
|
11015
|
-
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
11016
|
-
"attribute": "name",
|
|
11017
|
-
"reflects": true
|
|
11018
|
-
},
|
|
11019
|
-
{
|
|
11020
|
-
"kind": "field",
|
|
11021
|
-
"name": "src",
|
|
11022
|
-
"type": {
|
|
11023
|
-
"text": "string | undefined"
|
|
11024
|
-
},
|
|
11025
|
-
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
11026
|
-
"attribute": "src"
|
|
11027
|
-
},
|
|
11028
|
-
{
|
|
11029
|
-
"kind": "field",
|
|
11030
|
-
"name": "label",
|
|
11031
|
-
"type": {
|
|
11032
|
-
"text": "string"
|
|
11033
|
-
},
|
|
11034
|
-
"default": "''",
|
|
11035
|
-
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
11036
|
-
"attribute": "label"
|
|
11037
|
-
},
|
|
11038
|
-
{
|
|
11039
|
-
"kind": "field",
|
|
11040
|
-
"name": "library",
|
|
11041
|
-
"type": {
|
|
11042
|
-
"text": "string"
|
|
11043
|
-
},
|
|
11044
|
-
"default": "'default'",
|
|
11045
|
-
"description": "The name of a registered custom icon library.",
|
|
11046
|
-
"attribute": "library",
|
|
11047
|
-
"reflects": true
|
|
11048
|
-
},
|
|
11049
|
-
{
|
|
11050
|
-
"kind": "method",
|
|
11051
|
-
"name": "getUrl",
|
|
11052
|
-
"privacy": "private"
|
|
11053
|
-
}
|
|
11054
|
-
],
|
|
11055
|
-
"events": [
|
|
11056
|
-
{
|
|
11057
|
-
"description": "Emitted when the icon has loaded.",
|
|
11058
|
-
"name": "flow-ui-load",
|
|
11059
|
-
"reactName": "onFlowUiLoad"
|
|
10858
|
+
"description": "A function that returns the URL of given icon.",
|
|
10859
|
+
"name": "options.resolver"
|
|
11060
10860
|
},
|
|
11061
10861
|
{
|
|
11062
|
-
"description": "
|
|
11063
|
-
"name": "
|
|
11064
|
-
"reactName": "onFlowUiError"
|
|
10862
|
+
"description": "An optional function that mutates the SVG element of the icon.",
|
|
10863
|
+
"name": "options.mutator"
|
|
11065
10864
|
}
|
|
11066
10865
|
],
|
|
11067
|
-
"
|
|
10866
|
+
"description": "\nUse this function to add a custom icon library to the registry or override an existing one.\nProvide a resolver function that returns the URL of the icon based on its name.\nOptionally, provide a mutator function that modifies the SVG element of the icon.\n\nTwo icon libraries are included by default:\n- `system` (System icons used by `flow-rdf-ui` components)\n- `default` (FontAwesome 6.4.2)\n\nTo use a custom icon library, set the `library` property of the `<flow-ui-icon>` component\nto the registered name of the library. If omitted, the `default` library is used.\n\n```typescript\n// Register FontAwesome icon library using SVGs from Flo.w CDN\nregisterIconLibrary('fa', {\n resolver: (name) => {\n const filename = name.replace(/^fa[rbs]-/, '');\n let folder = 'regular';\n if (name.substring(0, 4) === 'fas-') folder = 'solid';\n if (name.substring(0, 4) === 'fab-') folder = 'brands';\n return `https://flow-cdn.emu-analytics.net/icons/fontawesome-6.4.2/${folder}/${filename}.svg`;\n },\n mutator: (svg) => svg.setAttribute('fill', 'currentColor')\n});\n```\n\n```html\n<flow-ui-icon library=\"fa\" name=\"fas-house\"></flow-ui-icon>\n```"
|
|
10867
|
+
},
|
|
10868
|
+
{
|
|
10869
|
+
"kind": "function",
|
|
10870
|
+
"name": "redrawWatchedIcons"
|
|
10871
|
+
},
|
|
10872
|
+
{
|
|
10873
|
+
"kind": "function",
|
|
10874
|
+
"name": "unregisterIconLibrary",
|
|
10875
|
+
"parameters": [
|
|
11068
10876
|
{
|
|
11069
10877
|
"name": "name",
|
|
11070
|
-
"type": {
|
|
11071
|
-
"text": "string | undefined"
|
|
11072
|
-
},
|
|
11073
|
-
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
11074
|
-
"fieldName": "name"
|
|
11075
|
-
},
|
|
11076
|
-
{
|
|
11077
|
-
"name": "src",
|
|
11078
|
-
"type": {
|
|
11079
|
-
"text": "string | undefined"
|
|
11080
|
-
},
|
|
11081
|
-
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
11082
|
-
"fieldName": "src"
|
|
11083
|
-
},
|
|
11084
|
-
{
|
|
11085
|
-
"name": "label",
|
|
11086
|
-
"type": {
|
|
11087
|
-
"text": "string"
|
|
11088
|
-
},
|
|
11089
|
-
"default": "''",
|
|
11090
|
-
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
11091
|
-
"fieldName": "label"
|
|
11092
|
-
},
|
|
11093
|
-
{
|
|
11094
|
-
"name": "library",
|
|
11095
10878
|
"type": {
|
|
11096
10879
|
"text": "string"
|
|
11097
|
-
}
|
|
11098
|
-
"default": "'default'",
|
|
11099
|
-
"description": "The name of a registered custom icon library.",
|
|
11100
|
-
"fieldName": "library"
|
|
10880
|
+
}
|
|
11101
10881
|
}
|
|
11102
10882
|
],
|
|
11103
|
-
"
|
|
11104
|
-
"name": "FlowRdfElement",
|
|
11105
|
-
"module": "/src/internal/flow-ui-rdf-element"
|
|
11106
|
-
},
|
|
11107
|
-
"tagName": "flow-ui-icon",
|
|
11108
|
-
"summary": "Icons are symbols that can be used to represent various options within an application.",
|
|
11109
|
-
"documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/icon",
|
|
11110
|
-
"status": "stable",
|
|
11111
|
-
"since": "2.0",
|
|
11112
|
-
"customElement": true
|
|
10883
|
+
"description": "Removes a custom icon library from the registry."
|
|
11113
10884
|
}
|
|
11114
10885
|
],
|
|
11115
10886
|
"exports": [
|
|
11116
10887
|
{
|
|
11117
10888
|
"kind": "js",
|
|
11118
|
-
"name": "
|
|
10889
|
+
"name": "addIcons",
|
|
11119
10890
|
"declaration": {
|
|
11120
|
-
"name": "
|
|
11121
|
-
"module": "
|
|
10891
|
+
"name": "addIcons",
|
|
10892
|
+
"module": "./library.default"
|
|
11122
10893
|
}
|
|
11123
|
-
}
|
|
11124
|
-
]
|
|
11125
|
-
},
|
|
11126
|
-
{
|
|
11127
|
-
"kind": "javascript-module",
|
|
11128
|
-
"path": "components/icon/icon.js",
|
|
11129
|
-
"declarations": [],
|
|
11130
|
-
"exports": [
|
|
10894
|
+
},
|
|
11131
10895
|
{
|
|
11132
10896
|
"kind": "js",
|
|
11133
|
-
"name": "
|
|
10897
|
+
"name": "watchIcon",
|
|
11134
10898
|
"declaration": {
|
|
11135
|
-
"name": "
|
|
11136
|
-
"
|
|
10899
|
+
"name": "watchIcon",
|
|
10900
|
+
"module": "components/icon/library.js"
|
|
11137
10901
|
}
|
|
11138
10902
|
},
|
|
11139
10903
|
{
|
|
11140
10904
|
"kind": "js",
|
|
11141
|
-
"name": "
|
|
10905
|
+
"name": "unwatchIcon",
|
|
11142
10906
|
"declaration": {
|
|
11143
|
-
"name": "
|
|
11144
|
-
"module": "components/icon/
|
|
10907
|
+
"name": "unwatchIcon",
|
|
10908
|
+
"module": "components/icon/library.js"
|
|
11145
10909
|
}
|
|
11146
|
-
}
|
|
11147
|
-
]
|
|
11148
|
-
},
|
|
11149
|
-
{
|
|
11150
|
-
"kind": "javascript-module",
|
|
11151
|
-
"path": "components/icon/library.default.js",
|
|
11152
|
-
"declarations": [
|
|
11153
|
-
{
|
|
11154
|
-
"kind": "function",
|
|
11155
|
-
"name": "addIcons",
|
|
11156
|
-
"parameters": [
|
|
11157
|
-
{
|
|
11158
|
-
"name": "icons",
|
|
11159
|
-
"type": {
|
|
11160
|
-
"text": "{ [name: string]: string }"
|
|
11161
|
-
}
|
|
11162
|
-
}
|
|
11163
|
-
],
|
|
11164
|
-
"description": "\nThe following code shows how to import FontAwesome SVG icons from the `flow-rdf-ui/icons` package and add them to the\ndefault icon library.\n```js\n// Import and register icons\nimport {fasHouse, fasGear, fasUser} from '@emuanalytics/flow-rdf-ui/icons';\nimport {addIcons} from '@emuanalytics/flow-rdf-ui';\naddIcons({fasHouse, fasGear, fasUser});\n```\n\nIcons are registered under their camelCase name **and** kebab-case name.\nOnce registered, they can be used in the following way:\n\n```html\n<flow-ui-icon name=\"fas-house\"></flow-ui-icon>\n```\n\nNote that missing or mis-spelled icons will be displayed as <flow-ui-icon name=\"unknown\"></flow-ui-icon>.\n\nFor a list of available icons, see the [FontAwesome icon gallery](https://fontawesome.com/search?o=r&m=free)."
|
|
11165
|
-
},
|
|
11166
|
-
{
|
|
11167
|
-
"kind": "function",
|
|
11168
|
-
"name": "getIconMap"
|
|
11169
10910
|
},
|
|
11170
|
-
{
|
|
11171
|
-
"kind": "variable",
|
|
11172
|
-
"name": "library",
|
|
11173
|
-
"type": {
|
|
11174
|
-
"text": "IconLibrary"
|
|
11175
|
-
},
|
|
11176
|
-
"default": "{\n name: 'default',\n resolver: (name) => {\n const map = getIconMap();\n const icon = map.get(name);\n\n return icon ?? notDefined;\n }\n}"
|
|
11177
|
-
}
|
|
11178
|
-
],
|
|
11179
|
-
"exports": [
|
|
11180
10911
|
{
|
|
11181
10912
|
"kind": "js",
|
|
11182
|
-
"name": "
|
|
10913
|
+
"name": "getIconLibrary",
|
|
11183
10914
|
"declaration": {
|
|
11184
|
-
"name": "
|
|
11185
|
-
"module": "components/icon/library.
|
|
10915
|
+
"name": "getIconLibrary",
|
|
10916
|
+
"module": "components/icon/library.js"
|
|
11186
10917
|
}
|
|
11187
10918
|
},
|
|
11188
10919
|
{
|
|
11189
10920
|
"kind": "js",
|
|
11190
|
-
"name": "
|
|
10921
|
+
"name": "registerIconLibrary",
|
|
11191
10922
|
"declaration": {
|
|
11192
|
-
"name": "
|
|
11193
|
-
"module": "components/icon/library.
|
|
10923
|
+
"name": "registerIconLibrary",
|
|
10924
|
+
"module": "components/icon/library.js"
|
|
11194
10925
|
}
|
|
11195
10926
|
},
|
|
11196
10927
|
{
|
|
11197
10928
|
"kind": "js",
|
|
11198
|
-
"name": "
|
|
10929
|
+
"name": "redrawWatchedIcons",
|
|
11199
10930
|
"declaration": {
|
|
11200
|
-
"name": "
|
|
11201
|
-
"module": "components/icon/library.
|
|
10931
|
+
"name": "redrawWatchedIcons",
|
|
10932
|
+
"module": "components/icon/library.js"
|
|
11202
10933
|
}
|
|
11203
|
-
}
|
|
11204
|
-
]
|
|
11205
|
-
},
|
|
11206
|
-
{
|
|
11207
|
-
"kind": "javascript-module",
|
|
11208
|
-
"path": "components/icon/library.system.js",
|
|
11209
|
-
"declarations": [
|
|
11210
|
-
{
|
|
11211
|
-
"kind": "variable",
|
|
11212
|
-
"name": "systemLibrary",
|
|
11213
|
-
"type": {
|
|
11214
|
-
"text": "IconLibrary"
|
|
11215
|
-
},
|
|
11216
|
-
"default": "{\n name: 'system',\n resolver: (name: keyof typeof icons) => {\n if (name in icons) {\n return `data:image/svg+xml,${encodeURIComponent(icons[name])}`;\n }\n return '';\n }\n}"
|
|
11217
|
-
}
|
|
11218
|
-
],
|
|
11219
|
-
"exports": [
|
|
10934
|
+
},
|
|
11220
10935
|
{
|
|
11221
10936
|
"kind": "js",
|
|
11222
|
-
"name": "
|
|
10937
|
+
"name": "unregisterIconLibrary",
|
|
11223
10938
|
"declaration": {
|
|
11224
|
-
"name": "
|
|
11225
|
-
"module": "components/icon/library.
|
|
10939
|
+
"name": "unregisterIconLibrary",
|
|
10940
|
+
"module": "components/icon/library.js"
|
|
11226
10941
|
}
|
|
11227
10942
|
}
|
|
11228
10943
|
]
|
|
11229
10944
|
},
|
|
11230
10945
|
{
|
|
11231
10946
|
"kind": "javascript-module",
|
|
11232
|
-
"path": "components/icon/
|
|
10947
|
+
"path": "components/icon-button/icon-button.component.js",
|
|
11233
10948
|
"declarations": [
|
|
11234
10949
|
{
|
|
11235
|
-
"kind": "
|
|
11236
|
-
"
|
|
11237
|
-
"
|
|
10950
|
+
"kind": "class",
|
|
10951
|
+
"description": "",
|
|
10952
|
+
"name": "FlowUiIconButton",
|
|
10953
|
+
"cssParts": [
|
|
11238
10954
|
{
|
|
11239
|
-
"
|
|
11240
|
-
"
|
|
11241
|
-
"text": "FlowIcon"
|
|
11242
|
-
}
|
|
10955
|
+
"description": "The component's base wrapper.",
|
|
10956
|
+
"name": "base"
|
|
11243
10957
|
}
|
|
11244
10958
|
],
|
|
11245
|
-
"
|
|
11246
|
-
},
|
|
11247
|
-
{
|
|
11248
|
-
"kind": "function",
|
|
11249
|
-
"name": "unwatchIcon",
|
|
11250
|
-
"parameters": [
|
|
10959
|
+
"slots": [
|
|
11251
10960
|
{
|
|
11252
|
-
"
|
|
11253
|
-
"
|
|
11254
|
-
"text": "FlowIcon"
|
|
11255
|
-
}
|
|
10961
|
+
"description": "The tooltip content to display when the user hovers over the icon button. Alternatively, you can use the `tooltip` attribute.",
|
|
10962
|
+
"name": "tooltip"
|
|
11256
10963
|
}
|
|
11257
10964
|
],
|
|
11258
|
-
"
|
|
11259
|
-
},
|
|
11260
|
-
{
|
|
11261
|
-
"kind": "function",
|
|
11262
|
-
"name": "getIconLibrary",
|
|
11263
|
-
"parameters": [
|
|
10965
|
+
"members": [
|
|
11264
10966
|
{
|
|
11265
|
-
"
|
|
11266
|
-
"
|
|
11267
|
-
"
|
|
11268
|
-
|
|
11269
|
-
|
|
11270
|
-
}
|
|
11271
|
-
|
|
11272
|
-
|
|
11273
|
-
|
|
11274
|
-
|
|
11275
|
-
|
|
11276
|
-
|
|
11277
|
-
|
|
10967
|
+
"kind": "field",
|
|
10968
|
+
"name": "hasSlotController",
|
|
10969
|
+
"privacy": "private",
|
|
10970
|
+
"readonly": true,
|
|
10971
|
+
"default": "new HasSlotController(this, 'tooltip')"
|
|
10972
|
+
},
|
|
10973
|
+
{
|
|
10974
|
+
"kind": "field",
|
|
10975
|
+
"name": "tooltipAnimating",
|
|
10976
|
+
"type": {
|
|
10977
|
+
"text": "boolean"
|
|
10978
|
+
},
|
|
10979
|
+
"privacy": "private",
|
|
10980
|
+
"default": "false"
|
|
10981
|
+
},
|
|
10982
|
+
{
|
|
10983
|
+
"kind": "field",
|
|
10984
|
+
"name": "hasFocus",
|
|
10985
|
+
"type": {
|
|
10986
|
+
"text": "boolean"
|
|
10987
|
+
},
|
|
10988
|
+
"privacy": "private",
|
|
10989
|
+
"default": "false"
|
|
10990
|
+
},
|
|
11278
10991
|
{
|
|
10992
|
+
"kind": "field",
|
|
11279
10993
|
"name": "name",
|
|
10994
|
+
"type": {
|
|
10995
|
+
"text": "string | undefined"
|
|
10996
|
+
},
|
|
10997
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
10998
|
+
"attribute": "name"
|
|
10999
|
+
},
|
|
11000
|
+
{
|
|
11001
|
+
"kind": "field",
|
|
11002
|
+
"name": "library",
|
|
11003
|
+
"type": {
|
|
11004
|
+
"text": "string | undefined"
|
|
11005
|
+
},
|
|
11006
|
+
"description": "The name of a registered custom icon library.",
|
|
11007
|
+
"attribute": "library"
|
|
11008
|
+
},
|
|
11009
|
+
{
|
|
11010
|
+
"kind": "field",
|
|
11011
|
+
"name": "src",
|
|
11012
|
+
"type": {
|
|
11013
|
+
"text": "string | undefined"
|
|
11014
|
+
},
|
|
11015
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
11016
|
+
"attribute": "src"
|
|
11017
|
+
},
|
|
11018
|
+
{
|
|
11019
|
+
"kind": "field",
|
|
11020
|
+
"name": "href",
|
|
11021
|
+
"type": {
|
|
11022
|
+
"text": "string | undefined"
|
|
11023
|
+
},
|
|
11024
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
11025
|
+
"attribute": "href"
|
|
11026
|
+
},
|
|
11027
|
+
{
|
|
11028
|
+
"kind": "field",
|
|
11029
|
+
"name": "target",
|
|
11030
|
+
"type": {
|
|
11031
|
+
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
11032
|
+
},
|
|
11033
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
11034
|
+
"attribute": "target"
|
|
11035
|
+
},
|
|
11036
|
+
{
|
|
11037
|
+
"kind": "field",
|
|
11038
|
+
"name": "download",
|
|
11039
|
+
"type": {
|
|
11040
|
+
"text": "string | undefined"
|
|
11041
|
+
},
|
|
11042
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
11043
|
+
"attribute": "download"
|
|
11044
|
+
},
|
|
11045
|
+
{
|
|
11046
|
+
"kind": "field",
|
|
11047
|
+
"name": "label",
|
|
11280
11048
|
"type": {
|
|
11281
11049
|
"text": "string"
|
|
11282
11050
|
},
|
|
11283
|
-
"
|
|
11051
|
+
"default": "''",
|
|
11052
|
+
"description": "A description that gets read by assistive devices. For optimal accessibility, you should always include a label\nthat describes what the icon button does.",
|
|
11053
|
+
"attribute": "label"
|
|
11284
11054
|
},
|
|
11285
11055
|
{
|
|
11286
|
-
"
|
|
11056
|
+
"kind": "field",
|
|
11057
|
+
"name": "tooltip",
|
|
11287
11058
|
"type": {
|
|
11288
|
-
"text": "
|
|
11059
|
+
"text": "string"
|
|
11289
11060
|
},
|
|
11290
|
-
"
|
|
11061
|
+
"default": "''",
|
|
11062
|
+
"description": "Tooltip text that gets displayed when the user hovers over the icon button. If you need to display HTML, use the\n`tooltip` slot instead.",
|
|
11063
|
+
"attribute": "tooltip"
|
|
11291
11064
|
},
|
|
11292
11065
|
{
|
|
11293
|
-
"
|
|
11294
|
-
"name": "
|
|
11066
|
+
"kind": "field",
|
|
11067
|
+
"name": "tooltipPlacement",
|
|
11068
|
+
"type": {
|
|
11069
|
+
"text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
|
|
11070
|
+
},
|
|
11071
|
+
"default": "'top'",
|
|
11072
|
+
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
11073
|
+
"attribute": "tooltip-placement"
|
|
11295
11074
|
},
|
|
11296
11075
|
{
|
|
11297
|
-
"
|
|
11298
|
-
"name": "
|
|
11076
|
+
"kind": "field",
|
|
11077
|
+
"name": "tooltipDistance",
|
|
11078
|
+
"type": {
|
|
11079
|
+
"text": "number"
|
|
11080
|
+
},
|
|
11081
|
+
"default": "8",
|
|
11082
|
+
"description": "The distance in pixels from which to offset the tooltip away from the icon button.",
|
|
11083
|
+
"attribute": "tooltip-distance"
|
|
11084
|
+
},
|
|
11085
|
+
{
|
|
11086
|
+
"kind": "field",
|
|
11087
|
+
"name": "tooltipSkidding",
|
|
11088
|
+
"type": {
|
|
11089
|
+
"text": "number"
|
|
11090
|
+
},
|
|
11091
|
+
"default": "0",
|
|
11092
|
+
"description": "The distance in pixels from which to offset the tooltip along the icon button.",
|
|
11093
|
+
"attribute": "tooltip-skidding"
|
|
11094
|
+
},
|
|
11095
|
+
{
|
|
11096
|
+
"kind": "field",
|
|
11097
|
+
"name": "disabled",
|
|
11098
|
+
"type": {
|
|
11099
|
+
"text": "boolean"
|
|
11100
|
+
},
|
|
11101
|
+
"default": "false",
|
|
11102
|
+
"description": "Disables the button.",
|
|
11103
|
+
"attribute": "disabled",
|
|
11104
|
+
"reflects": true
|
|
11105
|
+
},
|
|
11106
|
+
{
|
|
11107
|
+
"kind": "field",
|
|
11108
|
+
"name": "confirm",
|
|
11109
|
+
"type": {
|
|
11110
|
+
"text": "string"
|
|
11111
|
+
},
|
|
11112
|
+
"default": "''",
|
|
11113
|
+
"description": "Confirmation text that gets displayed in a tooltip when the user clicks the icon button.\n If you need to display HTML, use the `confirm` slot instead.",
|
|
11114
|
+
"attribute": "confirm"
|
|
11115
|
+
},
|
|
11116
|
+
{
|
|
11117
|
+
"kind": "method",
|
|
11118
|
+
"name": "handleBlur",
|
|
11119
|
+
"privacy": "private"
|
|
11120
|
+
},
|
|
11121
|
+
{
|
|
11122
|
+
"kind": "method",
|
|
11123
|
+
"name": "handleFocus",
|
|
11124
|
+
"privacy": "private"
|
|
11125
|
+
},
|
|
11126
|
+
{
|
|
11127
|
+
"kind": "method",
|
|
11128
|
+
"name": "handleClick",
|
|
11129
|
+
"privacy": "protected",
|
|
11130
|
+
"parameters": [
|
|
11131
|
+
{
|
|
11132
|
+
"name": "event",
|
|
11133
|
+
"type": {
|
|
11134
|
+
"text": "MouseEvent"
|
|
11135
|
+
}
|
|
11136
|
+
}
|
|
11137
|
+
]
|
|
11138
|
+
},
|
|
11139
|
+
{
|
|
11140
|
+
"kind": "method",
|
|
11141
|
+
"name": "click",
|
|
11142
|
+
"description": "Simulates a click on the icon button."
|
|
11143
|
+
},
|
|
11144
|
+
{
|
|
11145
|
+
"kind": "method",
|
|
11146
|
+
"name": "focus",
|
|
11147
|
+
"parameters": [
|
|
11148
|
+
{
|
|
11149
|
+
"name": "options",
|
|
11150
|
+
"optional": true,
|
|
11151
|
+
"type": {
|
|
11152
|
+
"text": "FocusOptions"
|
|
11153
|
+
}
|
|
11154
|
+
}
|
|
11155
|
+
],
|
|
11156
|
+
"description": "Sets focus on the icon button."
|
|
11157
|
+
},
|
|
11158
|
+
{
|
|
11159
|
+
"kind": "method",
|
|
11160
|
+
"name": "blur",
|
|
11161
|
+
"description": "Removes focus from the icon button."
|
|
11162
|
+
},
|
|
11163
|
+
{
|
|
11164
|
+
"kind": "method",
|
|
11165
|
+
"name": "hideConfirm",
|
|
11166
|
+
"description": "Hide the confirmation tooltip if it is showing"
|
|
11167
|
+
},
|
|
11168
|
+
{
|
|
11169
|
+
"kind": "method",
|
|
11170
|
+
"name": "showConfirm",
|
|
11171
|
+
"description": "Show the confirmation tooltip"
|
|
11172
|
+
},
|
|
11173
|
+
{
|
|
11174
|
+
"kind": "method",
|
|
11175
|
+
"name": "handleConfirmClick",
|
|
11176
|
+
"privacy": "private"
|
|
11177
|
+
},
|
|
11178
|
+
{
|
|
11179
|
+
"kind": "method",
|
|
11180
|
+
"name": "renderWithTooltip",
|
|
11181
|
+
"privacy": "private",
|
|
11182
|
+
"parameters": [
|
|
11183
|
+
{
|
|
11184
|
+
"name": "contents",
|
|
11185
|
+
"type": {
|
|
11186
|
+
"text": "TemplateResult"
|
|
11187
|
+
}
|
|
11188
|
+
}
|
|
11189
|
+
]
|
|
11190
|
+
},
|
|
11191
|
+
{
|
|
11192
|
+
"kind": "method",
|
|
11193
|
+
"name": "renderWithConfirmation",
|
|
11194
|
+
"privacy": "private",
|
|
11195
|
+
"parameters": [
|
|
11196
|
+
{
|
|
11197
|
+
"name": "contents",
|
|
11198
|
+
"type": {
|
|
11199
|
+
"text": "TemplateResult"
|
|
11200
|
+
}
|
|
11201
|
+
}
|
|
11202
|
+
]
|
|
11299
11203
|
}
|
|
11300
11204
|
],
|
|
11301
|
-
"
|
|
11302
|
-
|
|
11303
|
-
|
|
11304
|
-
|
|
11305
|
-
|
|
11306
|
-
|
|
11307
|
-
|
|
11308
|
-
|
|
11309
|
-
|
|
11310
|
-
|
|
11205
|
+
"events": [
|
|
11206
|
+
{
|
|
11207
|
+
"description": "Emitted when the icon button loses focus.",
|
|
11208
|
+
"name": "flow-ui-blur",
|
|
11209
|
+
"reactName": "onFlowUiBlur"
|
|
11210
|
+
},
|
|
11211
|
+
{
|
|
11212
|
+
"description": "Emitted when the icon button gains focus.",
|
|
11213
|
+
"name": "flow-ui-focus",
|
|
11214
|
+
"reactName": "onFlowUiFocus"
|
|
11215
|
+
}
|
|
11216
|
+
],
|
|
11217
|
+
"attributes": [
|
|
11311
11218
|
{
|
|
11312
11219
|
"name": "name",
|
|
11220
|
+
"type": {
|
|
11221
|
+
"text": "string | undefined"
|
|
11222
|
+
},
|
|
11223
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
11224
|
+
"fieldName": "name"
|
|
11225
|
+
},
|
|
11226
|
+
{
|
|
11227
|
+
"name": "library",
|
|
11228
|
+
"type": {
|
|
11229
|
+
"text": "string | undefined"
|
|
11230
|
+
},
|
|
11231
|
+
"description": "The name of a registered custom icon library.",
|
|
11232
|
+
"fieldName": "library"
|
|
11233
|
+
},
|
|
11234
|
+
{
|
|
11235
|
+
"name": "src",
|
|
11236
|
+
"type": {
|
|
11237
|
+
"text": "string | undefined"
|
|
11238
|
+
},
|
|
11239
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
11240
|
+
"fieldName": "src"
|
|
11241
|
+
},
|
|
11242
|
+
{
|
|
11243
|
+
"name": "href",
|
|
11244
|
+
"type": {
|
|
11245
|
+
"text": "string | undefined"
|
|
11246
|
+
},
|
|
11247
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
11248
|
+
"fieldName": "href"
|
|
11249
|
+
},
|
|
11250
|
+
{
|
|
11251
|
+
"name": "target",
|
|
11252
|
+
"type": {
|
|
11253
|
+
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
11254
|
+
},
|
|
11255
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
11256
|
+
"fieldName": "target"
|
|
11257
|
+
},
|
|
11258
|
+
{
|
|
11259
|
+
"name": "download",
|
|
11260
|
+
"type": {
|
|
11261
|
+
"text": "string | undefined"
|
|
11262
|
+
},
|
|
11263
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
11264
|
+
"fieldName": "download"
|
|
11265
|
+
},
|
|
11266
|
+
{
|
|
11267
|
+
"name": "label",
|
|
11313
11268
|
"type": {
|
|
11314
11269
|
"text": "string"
|
|
11315
|
-
}
|
|
11270
|
+
},
|
|
11271
|
+
"default": "''",
|
|
11272
|
+
"description": "A description that gets read by assistive devices. For optimal accessibility, you should always include a label\nthat describes what the icon button does.",
|
|
11273
|
+
"fieldName": "label"
|
|
11274
|
+
},
|
|
11275
|
+
{
|
|
11276
|
+
"name": "tooltip",
|
|
11277
|
+
"type": {
|
|
11278
|
+
"text": "string"
|
|
11279
|
+
},
|
|
11280
|
+
"default": "''",
|
|
11281
|
+
"description": "Tooltip text that gets displayed when the user hovers over the icon button. If you need to display HTML, use the\n`tooltip` slot instead.",
|
|
11282
|
+
"fieldName": "tooltip"
|
|
11283
|
+
},
|
|
11284
|
+
{
|
|
11285
|
+
"name": "tooltip-placement",
|
|
11286
|
+
"type": {
|
|
11287
|
+
"text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
|
|
11288
|
+
},
|
|
11289
|
+
"default": "'top'",
|
|
11290
|
+
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
11291
|
+
"fieldName": "tooltipPlacement"
|
|
11292
|
+
},
|
|
11293
|
+
{
|
|
11294
|
+
"name": "tooltip-distance",
|
|
11295
|
+
"type": {
|
|
11296
|
+
"text": "number"
|
|
11297
|
+
},
|
|
11298
|
+
"default": "8",
|
|
11299
|
+
"description": "The distance in pixels from which to offset the tooltip away from the icon button.",
|
|
11300
|
+
"fieldName": "tooltipDistance"
|
|
11301
|
+
},
|
|
11302
|
+
{
|
|
11303
|
+
"name": "tooltip-skidding",
|
|
11304
|
+
"type": {
|
|
11305
|
+
"text": "number"
|
|
11306
|
+
},
|
|
11307
|
+
"default": "0",
|
|
11308
|
+
"description": "The distance in pixels from which to offset the tooltip along the icon button.",
|
|
11309
|
+
"fieldName": "tooltipSkidding"
|
|
11310
|
+
},
|
|
11311
|
+
{
|
|
11312
|
+
"name": "disabled",
|
|
11313
|
+
"type": {
|
|
11314
|
+
"text": "boolean"
|
|
11315
|
+
},
|
|
11316
|
+
"default": "false",
|
|
11317
|
+
"description": "Disables the button.",
|
|
11318
|
+
"fieldName": "disabled"
|
|
11319
|
+
},
|
|
11320
|
+
{
|
|
11321
|
+
"name": "confirm",
|
|
11322
|
+
"type": {
|
|
11323
|
+
"text": "string"
|
|
11324
|
+
},
|
|
11325
|
+
"default": "''",
|
|
11326
|
+
"description": "Confirmation text that gets displayed in a tooltip when the user clicks the icon button.\n If you need to display HTML, use the `confirm` slot instead.",
|
|
11327
|
+
"fieldName": "confirm"
|
|
11316
11328
|
}
|
|
11317
11329
|
],
|
|
11318
|
-
"
|
|
11330
|
+
"superclass": {
|
|
11331
|
+
"name": "FlowRdfElement",
|
|
11332
|
+
"module": "/src/internal/flow-ui-rdf-element"
|
|
11333
|
+
},
|
|
11334
|
+
"tagName": "flow-ui-icon-button",
|
|
11335
|
+
"summary": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.",
|
|
11336
|
+
"documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/icon-button",
|
|
11337
|
+
"status": "stable",
|
|
11338
|
+
"since": "2.0",
|
|
11339
|
+
"dependencies": [
|
|
11340
|
+
"flow-ui-icon",
|
|
11341
|
+
"flow-ui-tooltip"
|
|
11342
|
+
],
|
|
11343
|
+
"customElement": true
|
|
11319
11344
|
}
|
|
11320
11345
|
],
|
|
11321
11346
|
"exports": [
|
|
11322
11347
|
{
|
|
11323
11348
|
"kind": "js",
|
|
11324
|
-
"name": "
|
|
11325
|
-
"declaration": {
|
|
11326
|
-
"name": "addIcons",
|
|
11327
|
-
"module": "./library.default"
|
|
11328
|
-
}
|
|
11329
|
-
},
|
|
11330
|
-
{
|
|
11331
|
-
"kind": "js",
|
|
11332
|
-
"name": "watchIcon",
|
|
11333
|
-
"declaration": {
|
|
11334
|
-
"name": "watchIcon",
|
|
11335
|
-
"module": "components/icon/library.js"
|
|
11336
|
-
}
|
|
11337
|
-
},
|
|
11338
|
-
{
|
|
11339
|
-
"kind": "js",
|
|
11340
|
-
"name": "unwatchIcon",
|
|
11341
|
-
"declaration": {
|
|
11342
|
-
"name": "unwatchIcon",
|
|
11343
|
-
"module": "components/icon/library.js"
|
|
11344
|
-
}
|
|
11345
|
-
},
|
|
11346
|
-
{
|
|
11347
|
-
"kind": "js",
|
|
11348
|
-
"name": "getIconLibrary",
|
|
11349
|
-
"declaration": {
|
|
11350
|
-
"name": "getIconLibrary",
|
|
11351
|
-
"module": "components/icon/library.js"
|
|
11352
|
-
}
|
|
11353
|
-
},
|
|
11354
|
-
{
|
|
11355
|
-
"kind": "js",
|
|
11356
|
-
"name": "registerIconLibrary",
|
|
11349
|
+
"name": "default",
|
|
11357
11350
|
"declaration": {
|
|
11358
|
-
"name": "
|
|
11359
|
-
"module": "components/icon/
|
|
11351
|
+
"name": "FlowUiIconButton",
|
|
11352
|
+
"module": "components/icon-button/icon-button.component.js"
|
|
11360
11353
|
}
|
|
11361
|
-
}
|
|
11354
|
+
}
|
|
11355
|
+
]
|
|
11356
|
+
},
|
|
11357
|
+
{
|
|
11358
|
+
"kind": "javascript-module",
|
|
11359
|
+
"path": "components/icon-button/icon-button.js",
|
|
11360
|
+
"declarations": [],
|
|
11361
|
+
"exports": [
|
|
11362
11362
|
{
|
|
11363
11363
|
"kind": "js",
|
|
11364
|
-
"name": "
|
|
11364
|
+
"name": "*",
|
|
11365
11365
|
"declaration": {
|
|
11366
|
-
"name": "
|
|
11367
|
-
"
|
|
11366
|
+
"name": "*",
|
|
11367
|
+
"package": "./icon-button.component"
|
|
11368
11368
|
}
|
|
11369
11369
|
},
|
|
11370
11370
|
{
|
|
11371
11371
|
"kind": "js",
|
|
11372
|
-
"name": "
|
|
11372
|
+
"name": "default",
|
|
11373
11373
|
"declaration": {
|
|
11374
|
-
"name": "
|
|
11375
|
-
"module": "components/icon/
|
|
11374
|
+
"name": "FlowUiIconButton",
|
|
11375
|
+
"module": "components/icon-button/icon-button.js"
|
|
11376
11376
|
}
|
|
11377
11377
|
}
|
|
11378
11378
|
]
|
|
@@ -25895,6 +25895,6 @@
|
|
|
25895
25895
|
],
|
|
25896
25896
|
"package": {
|
|
25897
25897
|
"name": "@emuanalytics/flow-rdf-ui",
|
|
25898
|
-
"version": "4.1.
|
|
25898
|
+
"version": "4.1.21"
|
|
25899
25899
|
}
|
|
25900
25900
|
}
|