@skedulo/breeze-ui 0.10.3 → 0.10.4
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.
|
@@ -30741,390 +30741,504 @@
|
|
|
30741
30741
|
},
|
|
30742
30742
|
{
|
|
30743
30743
|
"kind": "javascript-module",
|
|
30744
|
-
"path": "src/components/
|
|
30745
|
-
"declarations": [],
|
|
30746
|
-
"exports": [
|
|
30747
|
-
{
|
|
30748
|
-
"kind": "js",
|
|
30749
|
-
"name": "*",
|
|
30750
|
-
"declaration": {
|
|
30751
|
-
"name": "*",
|
|
30752
|
-
"package": "./modal"
|
|
30753
|
-
}
|
|
30754
|
-
},
|
|
30755
|
-
{
|
|
30756
|
-
"kind": "js",
|
|
30757
|
-
"name": "*",
|
|
30758
|
-
"declaration": {
|
|
30759
|
-
"name": "*",
|
|
30760
|
-
"package": "./layout"
|
|
30761
|
-
}
|
|
30762
|
-
}
|
|
30763
|
-
]
|
|
30764
|
-
},
|
|
30765
|
-
{
|
|
30766
|
-
"kind": "javascript-module",
|
|
30767
|
-
"path": "src/components/modal/layout.ts",
|
|
30744
|
+
"path": "src/components/menu/dropdown-menu.ts",
|
|
30768
30745
|
"declarations": [
|
|
30769
30746
|
{
|
|
30770
30747
|
"kind": "variable",
|
|
30771
|
-
"name": "
|
|
30772
|
-
},
|
|
30773
|
-
{
|
|
30774
|
-
"kind": "variable",
|
|
30775
|
-
"name": "MODAL_BODY"
|
|
30748
|
+
"name": "DROPDOWN_MENU"
|
|
30776
30749
|
},
|
|
30777
30750
|
{
|
|
30778
30751
|
"kind": "variable",
|
|
30779
|
-
"name": "
|
|
30752
|
+
"name": "dropdownMenuSizes",
|
|
30753
|
+
"type": {
|
|
30754
|
+
"text": "[...menuSizes, 'fluid']"
|
|
30755
|
+
},
|
|
30756
|
+
"default": "[...menuSizes, 'fluid']"
|
|
30780
30757
|
},
|
|
30781
30758
|
{
|
|
30782
30759
|
"kind": "class",
|
|
30783
|
-
"description": "
|
|
30784
|
-
"name": "
|
|
30785
|
-
"
|
|
30760
|
+
"description": "Attaches a dropdown menu to interactive elements.\n\nThis component places a `Menu` within a `Popover`, which is triggered by the\nelement in the default slot - this should be an interactive element, such as\na `button`.\n\nTo populate the `Menu`, assign `MenuItems` to the `options` slot. Also\nsupports `VirtualList`.",
|
|
30761
|
+
"name": "DropdownMenu",
|
|
30762
|
+
"slots": [
|
|
30786
30763
|
{
|
|
30787
|
-
"
|
|
30788
|
-
"name": "
|
|
30789
|
-
"privacy": "private"
|
|
30764
|
+
"description": "Requires an interactive element",
|
|
30765
|
+
"name": "default"
|
|
30790
30766
|
},
|
|
30791
30767
|
{
|
|
30792
|
-
"
|
|
30793
|
-
"name": "
|
|
30794
|
-
"privacy": "private"
|
|
30768
|
+
"description": "A list of MenuItems",
|
|
30769
|
+
"name": "options"
|
|
30795
30770
|
}
|
|
30796
30771
|
],
|
|
30797
|
-
"
|
|
30772
|
+
"members": [
|
|
30798
30773
|
{
|
|
30774
|
+
"kind": "field",
|
|
30775
|
+
"name": "multiselect",
|
|
30799
30776
|
"type": {
|
|
30800
|
-
"text": "
|
|
30801
|
-
}
|
|
30802
|
-
|
|
30803
|
-
|
|
30804
|
-
|
|
30805
|
-
|
|
30806
|
-
"package": "lit"
|
|
30807
|
-
},
|
|
30808
|
-
"tagName": "brz-modal-header",
|
|
30809
|
-
"customElement": true
|
|
30810
|
-
},
|
|
30811
|
-
{
|
|
30812
|
-
"kind": "class",
|
|
30813
|
-
"description": "Modal body component.\nBody component adds border-bottom if the content becomes scrollable.",
|
|
30814
|
-
"name": "ModalBody",
|
|
30815
|
-
"members": [
|
|
30777
|
+
"text": "boolean"
|
|
30778
|
+
},
|
|
30779
|
+
"default": "false",
|
|
30780
|
+
"description": "Allows multiple items to be selected.",
|
|
30781
|
+
"attribute": "multiselect"
|
|
30782
|
+
},
|
|
30816
30783
|
{
|
|
30817
30784
|
"kind": "field",
|
|
30818
|
-
"name": "
|
|
30785
|
+
"name": "selectable",
|
|
30819
30786
|
"type": {
|
|
30820
30787
|
"text": "boolean"
|
|
30821
30788
|
},
|
|
30822
30789
|
"default": "false",
|
|
30823
|
-
"
|
|
30824
|
-
"
|
|
30790
|
+
"description": "Enables a selected state to be written to and emitted from the menu.",
|
|
30791
|
+
"attribute": "selectable"
|
|
30825
30792
|
},
|
|
30826
30793
|
{
|
|
30827
30794
|
"kind": "field",
|
|
30828
|
-
"name": "
|
|
30795
|
+
"name": "selected",
|
|
30796
|
+
"type": {
|
|
30797
|
+
"text": "ItemValue[]"
|
|
30798
|
+
},
|
|
30799
|
+
"default": "[]",
|
|
30800
|
+
"description": "A list of currently selected values. Value collection requires the Menu to\nbe `selectable`.",
|
|
30801
|
+
"attribute": "selected"
|
|
30802
|
+
},
|
|
30803
|
+
{
|
|
30804
|
+
"kind": "field",
|
|
30805
|
+
"name": "size",
|
|
30806
|
+
"type": {
|
|
30807
|
+
"text": "DropdownMenuSize | undefined"
|
|
30808
|
+
},
|
|
30809
|
+
"description": "Sets a preset menu width.\n\nTo match the menu width to that of the reference element, use `fluid`.\n\nFor fine-grained customization, leave unset and use CSS to override the\nvariable `--brz-menu-width`.",
|
|
30810
|
+
"attribute": "size"
|
|
30811
|
+
},
|
|
30812
|
+
{
|
|
30813
|
+
"kind": "method",
|
|
30814
|
+
"name": "applyFluidWidth",
|
|
30829
30815
|
"privacy": "private",
|
|
30830
|
-
"
|
|
30816
|
+
"description": "Calculates the fluid menu width based on the reference element."
|
|
30817
|
+
},
|
|
30818
|
+
{
|
|
30819
|
+
"kind": "method",
|
|
30820
|
+
"name": "handleOpen",
|
|
30821
|
+
"privacy": "private",
|
|
30822
|
+
"description": "Focuses the dropdown menu when it is opened. Also re-calculates the fluid\nmenu width if needed, as it loads too late in some cases."
|
|
30823
|
+
},
|
|
30824
|
+
{
|
|
30825
|
+
"kind": "method",
|
|
30826
|
+
"name": "handleClose",
|
|
30827
|
+
"privacy": "private",
|
|
30828
|
+
"description": "Restores focus to the reference element when the dropdown is closed"
|
|
30829
|
+
},
|
|
30830
|
+
{
|
|
30831
|
+
"kind": "method",
|
|
30832
|
+
"name": "handleSelect",
|
|
30833
|
+
"privacy": "private",
|
|
30834
|
+
"description": "Handles the MenuSelectEvent. The dropdown remains open if `multiselect` is\nenabled, otherwise we handle it closing."
|
|
30835
|
+
},
|
|
30836
|
+
{
|
|
30837
|
+
"kind": "method",
|
|
30838
|
+
"name": "handleBlur",
|
|
30839
|
+
"privacy": "private",
|
|
30840
|
+
"description": "Closes the dropdown when the menu loses focus"
|
|
30841
|
+
},
|
|
30842
|
+
{
|
|
30843
|
+
"kind": "method",
|
|
30844
|
+
"name": "handleSlotChange",
|
|
30845
|
+
"privacy": "private",
|
|
30846
|
+
"description": "Sets the disabled state based on presence of the same attribute on the\nreference element. This is passed to the Popover so that it cannot open."
|
|
30847
|
+
},
|
|
30848
|
+
{
|
|
30849
|
+
"kind": "method",
|
|
30850
|
+
"name": "open",
|
|
30851
|
+
"description": "Opens the dropdown"
|
|
30852
|
+
},
|
|
30853
|
+
{
|
|
30854
|
+
"kind": "method",
|
|
30855
|
+
"name": "close",
|
|
30856
|
+
"description": "Closes the dropdown"
|
|
30857
|
+
},
|
|
30858
|
+
{
|
|
30859
|
+
"kind": "method",
|
|
30860
|
+
"name": "updatePosition",
|
|
30861
|
+
"description": "Updates the dropdown position. Useful if a re-render has caused the layout\nto change but the dropdown hasn't caught up yet."
|
|
30862
|
+
}
|
|
30863
|
+
],
|
|
30864
|
+
"events": [
|
|
30865
|
+
{
|
|
30866
|
+
"type": {
|
|
30867
|
+
"text": "MenuSelectEvent"
|
|
30868
|
+
},
|
|
30869
|
+
"description": "Contains the Menu's selected values",
|
|
30870
|
+
"name": "brz-menu-select"
|
|
30871
|
+
},
|
|
30872
|
+
{
|
|
30873
|
+
"type": {
|
|
30874
|
+
"text": "MenuItemSelectEvent"
|
|
30875
|
+
},
|
|
30876
|
+
"description": "Contains the MenuItem element that was selected",
|
|
30877
|
+
"name": "brz-menu-item-select"
|
|
30831
30878
|
}
|
|
30832
30879
|
],
|
|
30833
30880
|
"attributes": [
|
|
30834
30881
|
{
|
|
30835
|
-
"name": "
|
|
30882
|
+
"name": "multiselect",
|
|
30836
30883
|
"type": {
|
|
30837
30884
|
"text": "boolean"
|
|
30838
30885
|
},
|
|
30839
30886
|
"default": "false",
|
|
30840
|
-
"
|
|
30887
|
+
"description": "Allows multiple items to be selected.",
|
|
30888
|
+
"fieldName": "multiselect"
|
|
30889
|
+
},
|
|
30890
|
+
{
|
|
30891
|
+
"name": "selectable",
|
|
30892
|
+
"type": {
|
|
30893
|
+
"text": "boolean"
|
|
30894
|
+
},
|
|
30895
|
+
"default": "false",
|
|
30896
|
+
"description": "Enables a selected state to be written to and emitted from the menu.",
|
|
30897
|
+
"fieldName": "selectable"
|
|
30898
|
+
},
|
|
30899
|
+
{
|
|
30900
|
+
"name": "selected",
|
|
30901
|
+
"type": {
|
|
30902
|
+
"text": "ItemValue[]"
|
|
30903
|
+
},
|
|
30904
|
+
"default": "[]",
|
|
30905
|
+
"description": "A list of currently selected values. Value collection requires the Menu to\nbe `selectable`.",
|
|
30906
|
+
"fieldName": "selected"
|
|
30907
|
+
},
|
|
30908
|
+
{
|
|
30909
|
+
"name": "size",
|
|
30910
|
+
"type": {
|
|
30911
|
+
"text": "DropdownMenuSize | undefined"
|
|
30912
|
+
},
|
|
30913
|
+
"description": "Sets a preset menu width.\n\nTo match the menu width to that of the reference element, use `fluid`.\n\nFor fine-grained customization, leave unset and use CSS to override the\nvariable `--brz-menu-width`.",
|
|
30914
|
+
"fieldName": "size"
|
|
30841
30915
|
}
|
|
30842
30916
|
],
|
|
30843
30917
|
"superclass": {
|
|
30844
30918
|
"name": "LitElement",
|
|
30845
30919
|
"package": "lit"
|
|
30846
30920
|
},
|
|
30847
|
-
"tagName": "brz-
|
|
30848
|
-
"customElement": true
|
|
30849
|
-
},
|
|
30850
|
-
{
|
|
30851
|
-
"kind": "class",
|
|
30852
|
-
"description": "Modal footer component.",
|
|
30853
|
-
"name": "ModalFooter",
|
|
30854
|
-
"members": [],
|
|
30855
|
-
"superclass": {
|
|
30856
|
-
"name": "LitElement",
|
|
30857
|
-
"package": "lit"
|
|
30858
|
-
},
|
|
30859
|
-
"tagName": "brz-modal-footer",
|
|
30921
|
+
"tagName": "brz-dropdown-menu",
|
|
30860
30922
|
"customElement": true
|
|
30861
30923
|
}
|
|
30862
30924
|
],
|
|
30863
30925
|
"exports": [
|
|
30864
30926
|
{
|
|
30865
30927
|
"kind": "js",
|
|
30866
|
-
"name": "
|
|
30928
|
+
"name": "DROPDOWN_MENU",
|
|
30867
30929
|
"declaration": {
|
|
30868
|
-
"name": "
|
|
30869
|
-
"module": "src/components/
|
|
30930
|
+
"name": "DROPDOWN_MENU",
|
|
30931
|
+
"module": "src/components/menu/dropdown-menu.ts"
|
|
30870
30932
|
}
|
|
30871
30933
|
},
|
|
30872
30934
|
{
|
|
30873
30935
|
"kind": "js",
|
|
30874
|
-
"name": "
|
|
30936
|
+
"name": "dropdownMenuSizes",
|
|
30875
30937
|
"declaration": {
|
|
30876
|
-
"name": "
|
|
30877
|
-
"module": "src/components/
|
|
30938
|
+
"name": "dropdownMenuSizes",
|
|
30939
|
+
"module": "src/components/menu/dropdown-menu.ts"
|
|
30878
30940
|
}
|
|
30879
30941
|
},
|
|
30880
30942
|
{
|
|
30881
30943
|
"kind": "js",
|
|
30882
|
-
"name": "
|
|
30944
|
+
"name": "DropdownMenu",
|
|
30883
30945
|
"declaration": {
|
|
30884
|
-
"name": "
|
|
30885
|
-
"module": "src/components/
|
|
30946
|
+
"name": "DropdownMenu",
|
|
30947
|
+
"module": "src/components/menu/dropdown-menu.ts"
|
|
30886
30948
|
}
|
|
30887
30949
|
},
|
|
30888
30950
|
{
|
|
30889
|
-
"kind": "
|
|
30890
|
-
"name": "ModalHeader",
|
|
30951
|
+
"kind": "custom-element-definition",
|
|
30891
30952
|
"declaration": {
|
|
30892
|
-
"name": "
|
|
30893
|
-
"module": "src/components/
|
|
30953
|
+
"name": "DropdownMenu",
|
|
30954
|
+
"module": "src/components/menu/dropdown-menu.ts"
|
|
30894
30955
|
}
|
|
30895
|
-
}
|
|
30956
|
+
}
|
|
30957
|
+
]
|
|
30958
|
+
},
|
|
30959
|
+
{
|
|
30960
|
+
"kind": "javascript-module",
|
|
30961
|
+
"path": "src/components/menu/index.ts",
|
|
30962
|
+
"declarations": [],
|
|
30963
|
+
"exports": [
|
|
30896
30964
|
{
|
|
30897
|
-
"kind": "
|
|
30965
|
+
"kind": "js",
|
|
30966
|
+
"name": "*",
|
|
30898
30967
|
"declaration": {
|
|
30899
|
-
"name": "
|
|
30900
|
-
"
|
|
30968
|
+
"name": "*",
|
|
30969
|
+
"package": "./dropdown-menu"
|
|
30901
30970
|
}
|
|
30902
30971
|
},
|
|
30903
30972
|
{
|
|
30904
30973
|
"kind": "js",
|
|
30905
|
-
"name": "
|
|
30906
|
-
"declaration": {
|
|
30907
|
-
"name": "ModalBody",
|
|
30908
|
-
"module": "src/components/modal/layout.ts"
|
|
30909
|
-
}
|
|
30910
|
-
},
|
|
30911
|
-
{
|
|
30912
|
-
"kind": "custom-element-definition",
|
|
30974
|
+
"name": "*",
|
|
30913
30975
|
"declaration": {
|
|
30914
|
-
"name": "
|
|
30915
|
-
"
|
|
30976
|
+
"name": "*",
|
|
30977
|
+
"package": "./menu"
|
|
30916
30978
|
}
|
|
30917
30979
|
},
|
|
30918
30980
|
{
|
|
30919
30981
|
"kind": "js",
|
|
30920
|
-
"name": "
|
|
30921
|
-
"declaration": {
|
|
30922
|
-
"name": "ModalFooter",
|
|
30923
|
-
"module": "src/components/modal/layout.ts"
|
|
30924
|
-
}
|
|
30925
|
-
},
|
|
30926
|
-
{
|
|
30927
|
-
"kind": "custom-element-definition",
|
|
30982
|
+
"name": "*",
|
|
30928
30983
|
"declaration": {
|
|
30929
|
-
"name": "
|
|
30930
|
-
"
|
|
30984
|
+
"name": "*",
|
|
30985
|
+
"package": "./menu-item"
|
|
30931
30986
|
}
|
|
30932
30987
|
}
|
|
30933
30988
|
]
|
|
30934
30989
|
},
|
|
30935
30990
|
{
|
|
30936
30991
|
"kind": "javascript-module",
|
|
30937
|
-
"path": "src/components/
|
|
30992
|
+
"path": "src/components/menu/menu-item.ts",
|
|
30938
30993
|
"declarations": [
|
|
30939
30994
|
{
|
|
30940
30995
|
"kind": "variable",
|
|
30941
|
-
"name": "
|
|
30942
|
-
},
|
|
30943
|
-
{
|
|
30944
|
-
"kind": "variable",
|
|
30945
|
-
"name": "modalSizes",
|
|
30946
|
-
"type": {
|
|
30947
|
-
"text": "['small', 'medium', 'large', 'x-large']"
|
|
30948
|
-
},
|
|
30949
|
-
"default": "['small', 'medium', 'large', 'x-large']"
|
|
30950
|
-
},
|
|
30951
|
-
{
|
|
30952
|
-
"kind": "class",
|
|
30953
|
-
"description": "",
|
|
30954
|
-
"name": "ModalCloseEvent",
|
|
30955
|
-
"superclass": {
|
|
30956
|
-
"name": "CustomEvent",
|
|
30957
|
-
"module": "src/components/modal/modal.ts"
|
|
30958
|
-
}
|
|
30996
|
+
"name": "MENU_ITEM"
|
|
30959
30997
|
},
|
|
30960
30998
|
{
|
|
30961
30999
|
"kind": "class",
|
|
30962
|
-
"description": "
|
|
30963
|
-
"name": "
|
|
31000
|
+
"description": "Menu item component.",
|
|
31001
|
+
"name": "MenuItem",
|
|
30964
31002
|
"members": [
|
|
30965
31003
|
{
|
|
30966
31004
|
"kind": "field",
|
|
30967
|
-
"name": "
|
|
31005
|
+
"name": "disabled",
|
|
30968
31006
|
"type": {
|
|
30969
|
-
"text": "
|
|
31007
|
+
"text": "boolean"
|
|
30970
31008
|
},
|
|
30971
|
-
"default": "
|
|
30972
|
-
"description": "
|
|
30973
|
-
"attribute": "
|
|
31009
|
+
"default": "false",
|
|
31010
|
+
"description": "Disables the menu item so it cannot be selected.",
|
|
31011
|
+
"attribute": "disabled",
|
|
31012
|
+
"reflects": true
|
|
30974
31013
|
},
|
|
30975
31014
|
{
|
|
30976
31015
|
"kind": "field",
|
|
30977
|
-
"name": "
|
|
31016
|
+
"name": "highlighted",
|
|
30978
31017
|
"type": {
|
|
30979
31018
|
"text": "boolean"
|
|
30980
31019
|
},
|
|
30981
31020
|
"default": "false",
|
|
30982
|
-
"description": "
|
|
30983
|
-
"attribute": "
|
|
31021
|
+
"description": "Highlights the menu item in a list, usually from keyboard selection.",
|
|
31022
|
+
"attribute": "highlighted",
|
|
31023
|
+
"reflects": true
|
|
30984
31024
|
},
|
|
30985
31025
|
{
|
|
30986
31026
|
"kind": "field",
|
|
30987
|
-
"name": "
|
|
31027
|
+
"name": "selectable",
|
|
30988
31028
|
"type": {
|
|
30989
31029
|
"text": "boolean"
|
|
30990
31030
|
},
|
|
30991
31031
|
"default": "false",
|
|
30992
|
-
"description": "
|
|
30993
|
-
"attribute": "no-close"
|
|
31032
|
+
"description": "Renders a check mark against selected items. Unselected items are padded\nto align label texts."
|
|
30994
31033
|
},
|
|
30995
31034
|
{
|
|
30996
31035
|
"kind": "field",
|
|
30997
|
-
"name": "
|
|
31036
|
+
"name": "selected",
|
|
31037
|
+
"type": {
|
|
31038
|
+
"text": "boolean"
|
|
31039
|
+
},
|
|
31040
|
+
"default": "false",
|
|
31041
|
+
"description": "Marks the menu item as selected",
|
|
31042
|
+
"attribute": "selected",
|
|
31043
|
+
"reflects": true
|
|
31044
|
+
},
|
|
31045
|
+
{
|
|
31046
|
+
"kind": "field",
|
|
31047
|
+
"name": "toggleable",
|
|
31048
|
+
"type": {
|
|
31049
|
+
"text": "boolean | undefined"
|
|
31050
|
+
},
|
|
31051
|
+
"description": "Renders the menu item with a checkbox, usually for multiselect menus."
|
|
31052
|
+
},
|
|
31053
|
+
{
|
|
31054
|
+
"kind": "field",
|
|
31055
|
+
"name": "value",
|
|
31056
|
+
"type": {
|
|
31057
|
+
"text": "ValueType | undefined"
|
|
31058
|
+
},
|
|
31059
|
+
"description": "The item value. Essential for selectable menus. Even for action-based menus\nthat only use the item events, it is often useful to provide each menu item\nwith a unique value.",
|
|
31060
|
+
"attribute": "value"
|
|
30998
31061
|
},
|
|
30999
31062
|
{
|
|
31000
31063
|
"kind": "method",
|
|
31001
|
-
"name": "
|
|
31064
|
+
"name": "deselect",
|
|
31065
|
+
"description": "Deselects the item"
|
|
31066
|
+
},
|
|
31067
|
+
{
|
|
31068
|
+
"kind": "method",
|
|
31069
|
+
"name": "select",
|
|
31070
|
+
"description": "Selects the item"
|
|
31071
|
+
},
|
|
31072
|
+
{
|
|
31073
|
+
"kind": "method",
|
|
31074
|
+
"name": "toggle",
|
|
31075
|
+
"description": "Toggles the item selected state"
|
|
31076
|
+
},
|
|
31077
|
+
{
|
|
31078
|
+
"kind": "method",
|
|
31079
|
+
"name": "emitSelect",
|
|
31080
|
+
"description": "Emits a MenuItemSelectEvent externally. This contains a reference to the\nMenuItem element."
|
|
31081
|
+
},
|
|
31082
|
+
{
|
|
31083
|
+
"kind": "method",
|
|
31084
|
+
"name": "handleClick",
|
|
31002
31085
|
"privacy": "private",
|
|
31003
31086
|
"parameters": [
|
|
31004
31087
|
{
|
|
31005
31088
|
"name": "event",
|
|
31006
31089
|
"type": {
|
|
31007
|
-
"text": "
|
|
31090
|
+
"text": "MouseEvent"
|
|
31008
31091
|
}
|
|
31009
31092
|
}
|
|
31010
|
-
]
|
|
31093
|
+
],
|
|
31094
|
+
"description": "Handles the item being clicked, which emits a select event."
|
|
31095
|
+
},
|
|
31096
|
+
{
|
|
31097
|
+
"kind": "method",
|
|
31098
|
+
"name": "handleKeyDown",
|
|
31099
|
+
"privacy": "private",
|
|
31100
|
+
"description": "Empty keyboard binding at this level. MenuItem is expected to be used\ninside a Menu, which already handles keyboard events."
|
|
31011
31101
|
}
|
|
31012
31102
|
],
|
|
31013
31103
|
"events": [
|
|
31014
31104
|
{
|
|
31015
|
-
"
|
|
31016
|
-
|
|
31105
|
+
"type": {
|
|
31106
|
+
"text": "MenuItemSelectEvent"
|
|
31107
|
+
}
|
|
31017
31108
|
}
|
|
31018
31109
|
],
|
|
31019
31110
|
"attributes": [
|
|
31020
31111
|
{
|
|
31021
|
-
"name": "
|
|
31112
|
+
"name": "disabled",
|
|
31022
31113
|
"type": {
|
|
31023
|
-
"text": "
|
|
31114
|
+
"text": "boolean"
|
|
31024
31115
|
},
|
|
31025
|
-
"default": "
|
|
31026
|
-
"description": "
|
|
31027
|
-
"fieldName": "
|
|
31116
|
+
"default": "false",
|
|
31117
|
+
"description": "Disables the menu item so it cannot be selected.",
|
|
31118
|
+
"fieldName": "disabled"
|
|
31028
31119
|
},
|
|
31029
31120
|
{
|
|
31030
|
-
"name": "
|
|
31121
|
+
"name": "highlighted",
|
|
31031
31122
|
"type": {
|
|
31032
31123
|
"text": "boolean"
|
|
31033
31124
|
},
|
|
31034
31125
|
"default": "false",
|
|
31035
|
-
"description": "
|
|
31036
|
-
"fieldName": "
|
|
31126
|
+
"description": "Highlights the menu item in a list, usually from keyboard selection.",
|
|
31127
|
+
"fieldName": "highlighted"
|
|
31037
31128
|
},
|
|
31038
31129
|
{
|
|
31039
|
-
"name": "
|
|
31130
|
+
"name": "selected",
|
|
31040
31131
|
"type": {
|
|
31041
31132
|
"text": "boolean"
|
|
31042
31133
|
},
|
|
31043
31134
|
"default": "false",
|
|
31044
|
-
"description": "
|
|
31045
|
-
"fieldName": "
|
|
31135
|
+
"description": "Marks the menu item as selected",
|
|
31136
|
+
"fieldName": "selected"
|
|
31137
|
+
},
|
|
31138
|
+
{
|
|
31139
|
+
"name": "value",
|
|
31140
|
+
"type": {
|
|
31141
|
+
"text": "ValueType | undefined"
|
|
31142
|
+
},
|
|
31143
|
+
"description": "The item value. Essential for selectable menus. Even for action-based menus\nthat only use the item events, it is often useful to provide each menu item\nwith a unique value.",
|
|
31144
|
+
"fieldName": "value"
|
|
31046
31145
|
}
|
|
31047
31146
|
],
|
|
31048
31147
|
"superclass": {
|
|
31049
31148
|
"name": "LitElement",
|
|
31050
31149
|
"package": "lit"
|
|
31051
31150
|
},
|
|
31052
|
-
"tagName": "brz-
|
|
31151
|
+
"tagName": "brz-menu-item",
|
|
31053
31152
|
"customElement": true
|
|
31153
|
+
},
|
|
31154
|
+
{
|
|
31155
|
+
"kind": "class",
|
|
31156
|
+
"description": "An event carrying a reference to a MenuItem element which has just been\nselected.",
|
|
31157
|
+
"name": "MenuItemSelectEvent",
|
|
31158
|
+
"superclass": {
|
|
31159
|
+
"name": "CustomEvent",
|
|
31160
|
+
"module": "src/components/menu/menu-item.ts"
|
|
31161
|
+
}
|
|
31054
31162
|
}
|
|
31055
31163
|
],
|
|
31056
31164
|
"exports": [
|
|
31057
31165
|
{
|
|
31058
31166
|
"kind": "js",
|
|
31059
|
-
"name": "
|
|
31167
|
+
"name": "MENU_ITEM",
|
|
31060
31168
|
"declaration": {
|
|
31061
|
-
"name": "
|
|
31062
|
-
"module": "src/components/
|
|
31169
|
+
"name": "MENU_ITEM",
|
|
31170
|
+
"module": "src/components/menu/menu-item.ts"
|
|
31063
31171
|
}
|
|
31064
31172
|
},
|
|
31065
31173
|
{
|
|
31066
31174
|
"kind": "js",
|
|
31067
|
-
"name": "
|
|
31175
|
+
"name": "MenuItem",
|
|
31068
31176
|
"declaration": {
|
|
31069
|
-
"name": "
|
|
31070
|
-
"module": "src/components/
|
|
31177
|
+
"name": "MenuItem",
|
|
31178
|
+
"module": "src/components/menu/menu-item.ts"
|
|
31071
31179
|
}
|
|
31072
31180
|
},
|
|
31073
31181
|
{
|
|
31074
|
-
"kind": "
|
|
31075
|
-
"name": "ModalCloseEvent",
|
|
31182
|
+
"kind": "custom-element-definition",
|
|
31076
31183
|
"declaration": {
|
|
31077
|
-
"name": "
|
|
31078
|
-
"module": "src/components/
|
|
31184
|
+
"name": "MenuItem",
|
|
31185
|
+
"module": "src/components/menu/menu-item.ts"
|
|
31079
31186
|
}
|
|
31080
31187
|
},
|
|
31081
31188
|
{
|
|
31082
31189
|
"kind": "js",
|
|
31083
|
-
"name": "
|
|
31190
|
+
"name": "MenuItemSelectEvent",
|
|
31084
31191
|
"declaration": {
|
|
31085
|
-
"name": "
|
|
31086
|
-
"module": "src/components/
|
|
31192
|
+
"name": "MenuItemSelectEvent",
|
|
31193
|
+
"module": "src/components/menu/menu-item.ts"
|
|
31087
31194
|
}
|
|
31088
|
-
}
|
|
31195
|
+
}
|
|
31196
|
+
]
|
|
31197
|
+
},
|
|
31198
|
+
{
|
|
31199
|
+
"kind": "javascript-module",
|
|
31200
|
+
"path": "src/components/menu/menu.const.ts",
|
|
31201
|
+
"declarations": [
|
|
31089
31202
|
{
|
|
31090
|
-
"kind": "
|
|
31203
|
+
"kind": "variable",
|
|
31204
|
+
"name": "menuSizes",
|
|
31205
|
+
"type": {
|
|
31206
|
+
"text": "['small', 'medium', 'large']"
|
|
31207
|
+
},
|
|
31208
|
+
"default": "['small', 'medium', 'large']"
|
|
31209
|
+
}
|
|
31210
|
+
],
|
|
31211
|
+
"exports": [
|
|
31212
|
+
{
|
|
31213
|
+
"kind": "js",
|
|
31214
|
+
"name": "menuSizes",
|
|
31091
31215
|
"declaration": {
|
|
31092
|
-
"name": "
|
|
31093
|
-
"module": "src/components/
|
|
31216
|
+
"name": "menuSizes",
|
|
31217
|
+
"module": "src/components/menu/menu.const.ts"
|
|
31094
31218
|
}
|
|
31095
31219
|
}
|
|
31096
31220
|
]
|
|
31097
31221
|
},
|
|
31098
31222
|
{
|
|
31099
31223
|
"kind": "javascript-module",
|
|
31100
|
-
"path": "src/components/menu/
|
|
31224
|
+
"path": "src/components/menu/menu.ts",
|
|
31101
31225
|
"declarations": [
|
|
31102
31226
|
{
|
|
31103
31227
|
"kind": "variable",
|
|
31104
|
-
"name": "
|
|
31228
|
+
"name": "MENU"
|
|
31105
31229
|
},
|
|
31106
31230
|
{
|
|
31107
31231
|
"kind": "variable",
|
|
31108
|
-
"name": "
|
|
31232
|
+
"name": "SELECT_ALL_ID",
|
|
31109
31233
|
"type": {
|
|
31110
|
-
"text": "
|
|
31234
|
+
"text": "string"
|
|
31111
31235
|
},
|
|
31112
|
-
"default": "
|
|
31236
|
+
"default": "'selectAll'"
|
|
31113
31237
|
},
|
|
31114
31238
|
{
|
|
31115
31239
|
"kind": "class",
|
|
31116
|
-
"description": "
|
|
31117
|
-
"name": "
|
|
31118
|
-
"slots": [
|
|
31119
|
-
{
|
|
31120
|
-
"description": "Requires an interactive element",
|
|
31121
|
-
"name": "default"
|
|
31122
|
-
},
|
|
31123
|
-
{
|
|
31124
|
-
"description": "A list of MenuItems",
|
|
31125
|
-
"name": "options"
|
|
31126
|
-
}
|
|
31127
|
-
],
|
|
31240
|
+
"description": "Menu component.",
|
|
31241
|
+
"name": "Menu",
|
|
31128
31242
|
"members": [
|
|
31129
31243
|
{
|
|
31130
31244
|
"kind": "field",
|
|
@@ -31160,77 +31274,220 @@
|
|
|
31160
31274
|
"kind": "field",
|
|
31161
31275
|
"name": "size",
|
|
31162
31276
|
"type": {
|
|
31163
|
-
"text": "
|
|
31277
|
+
"text": "MenuSize | undefined"
|
|
31164
31278
|
},
|
|
31165
|
-
"description": "Sets a preset menu width
|
|
31166
|
-
"attribute": "size"
|
|
31279
|
+
"description": "Sets a preset menu width. For fine-grained customization, leave unset and\nuse CSS to override the variable `--brz-menu-width`.",
|
|
31280
|
+
"attribute": "size",
|
|
31281
|
+
"reflects": true
|
|
31167
31282
|
},
|
|
31168
31283
|
{
|
|
31169
31284
|
"kind": "method",
|
|
31170
|
-
"name": "
|
|
31285
|
+
"name": "getMenuItems",
|
|
31171
31286
|
"privacy": "private",
|
|
31172
|
-
"description": "
|
|
31287
|
+
"description": "Gets menu items. Handles implementations using a Virtual List."
|
|
31173
31288
|
},
|
|
31174
31289
|
{
|
|
31175
31290
|
"kind": "method",
|
|
31176
|
-
"name": "
|
|
31291
|
+
"name": "handleUpOrDownKey",
|
|
31177
31292
|
"privacy": "private",
|
|
31178
|
-
"
|
|
31293
|
+
"parameters": [
|
|
31294
|
+
{
|
|
31295
|
+
"name": "event",
|
|
31296
|
+
"type": {
|
|
31297
|
+
"text": "KeyboardEvent"
|
|
31298
|
+
}
|
|
31299
|
+
}
|
|
31300
|
+
],
|
|
31301
|
+
"description": "Navigates to the next/previous item in the list. Wraps back around from the\nstart/end of the list. The current item is highlighted."
|
|
31179
31302
|
},
|
|
31180
31303
|
{
|
|
31181
31304
|
"kind": "method",
|
|
31182
|
-
"name": "
|
|
31305
|
+
"name": "handleEnterOrSpaceKey",
|
|
31183
31306
|
"privacy": "private",
|
|
31184
|
-
"
|
|
31307
|
+
"parameters": [
|
|
31308
|
+
{
|
|
31309
|
+
"name": "event",
|
|
31310
|
+
"type": {
|
|
31311
|
+
"text": "KeyboardEvent"
|
|
31312
|
+
}
|
|
31313
|
+
}
|
|
31314
|
+
],
|
|
31315
|
+
"description": "Enter/Space keys should select (or toggle) the currently highlighted item.\nCalls a method on the MenuItem to dispatch a select event back to the Menu,\nwhich is picked up in `handleMenuItemSelect`."
|
|
31185
31316
|
},
|
|
31186
31317
|
{
|
|
31187
31318
|
"kind": "method",
|
|
31188
|
-
"name": "
|
|
31319
|
+
"name": "getActiveMenuItem",
|
|
31189
31320
|
"privacy": "private",
|
|
31190
|
-
"
|
|
31321
|
+
"parameters": [
|
|
31322
|
+
{
|
|
31323
|
+
"name": "event",
|
|
31324
|
+
"optional": true,
|
|
31325
|
+
"type": {
|
|
31326
|
+
"text": "MenuItemSelectEvent<ItemValue>"
|
|
31327
|
+
}
|
|
31328
|
+
}
|
|
31329
|
+
],
|
|
31330
|
+
"description": "Returns the MenuItem element passed via a select event, or the item\ncurrently highlighted by keyboard."
|
|
31191
31331
|
},
|
|
31192
31332
|
{
|
|
31193
31333
|
"kind": "method",
|
|
31194
|
-
"name": "
|
|
31334
|
+
"name": "bypassSelectedState",
|
|
31195
31335
|
"privacy": "private",
|
|
31196
|
-
"description": "
|
|
31336
|
+
"description": "When not `selectable` the there is no need to store selected values but the\n\"selection\" should still behave the same way. Multiselect retains focus."
|
|
31197
31337
|
},
|
|
31198
31338
|
{
|
|
31199
31339
|
"kind": "method",
|
|
31200
|
-
"name": "
|
|
31340
|
+
"name": "handleSelectItem",
|
|
31201
31341
|
"privacy": "private",
|
|
31202
|
-
"
|
|
31342
|
+
"parameters": [
|
|
31343
|
+
{
|
|
31344
|
+
"name": "item",
|
|
31345
|
+
"type": {
|
|
31346
|
+
"text": "MenuItem<ItemValue>"
|
|
31347
|
+
}
|
|
31348
|
+
}
|
|
31349
|
+
],
|
|
31350
|
+
"description": "Handles a MenuItem being selected and stores the value if relevant. Calls\nmethods on the MenuItem to sync its public properties with the Menu's\n`selected` list."
|
|
31203
31351
|
},
|
|
31204
31352
|
{
|
|
31205
31353
|
"kind": "method",
|
|
31206
|
-
"name": "
|
|
31207
|
-
"
|
|
31354
|
+
"name": "updateSelected",
|
|
31355
|
+
"privacy": "private",
|
|
31356
|
+
"parameters": [
|
|
31357
|
+
{
|
|
31358
|
+
"name": "value",
|
|
31359
|
+
"type": {
|
|
31360
|
+
"text": "ItemValue"
|
|
31361
|
+
}
|
|
31362
|
+
}
|
|
31363
|
+
],
|
|
31364
|
+
"description": "Applies changes to the Menu's `selected` state"
|
|
31208
31365
|
},
|
|
31209
31366
|
{
|
|
31210
31367
|
"kind": "method",
|
|
31211
|
-
"name": "
|
|
31212
|
-
"
|
|
31368
|
+
"name": "handleMenuItemSelect",
|
|
31369
|
+
"privacy": "private",
|
|
31370
|
+
"parameters": [
|
|
31371
|
+
{
|
|
31372
|
+
"name": "event",
|
|
31373
|
+
"type": {
|
|
31374
|
+
"text": "MenuItemSelectEvent<ItemValue>"
|
|
31375
|
+
}
|
|
31376
|
+
}
|
|
31377
|
+
],
|
|
31378
|
+
"description": "Handles a MenuItemSelectEvent. This is fired when clicking a menu item, or\nselecting via keyboard."
|
|
31213
31379
|
},
|
|
31214
31380
|
{
|
|
31215
31381
|
"kind": "method",
|
|
31216
|
-
"name": "
|
|
31217
|
-
"
|
|
31382
|
+
"name": "emitSelection",
|
|
31383
|
+
"privacy": "private",
|
|
31384
|
+
"description": "Emits currently selected values externally"
|
|
31385
|
+
},
|
|
31386
|
+
{
|
|
31387
|
+
"kind": "method",
|
|
31388
|
+
"name": "clearHighlightedItem",
|
|
31389
|
+
"privacy": "private",
|
|
31390
|
+
"description": "Clears the item highlighted by keyboard"
|
|
31391
|
+
},
|
|
31392
|
+
{
|
|
31393
|
+
"kind": "method",
|
|
31394
|
+
"name": "handleKeyDown",
|
|
31395
|
+
"privacy": "private",
|
|
31396
|
+
"parameters": [
|
|
31397
|
+
{
|
|
31398
|
+
"name": "event",
|
|
31399
|
+
"type": {
|
|
31400
|
+
"text": "KeyboardEvent"
|
|
31401
|
+
}
|
|
31402
|
+
}
|
|
31403
|
+
],
|
|
31404
|
+
"description": "Calls the handler for the current key if there is one."
|
|
31405
|
+
},
|
|
31406
|
+
{
|
|
31407
|
+
"kind": "method",
|
|
31408
|
+
"name": "resetHighlightedIndex",
|
|
31409
|
+
"privacy": "private",
|
|
31410
|
+
"description": "Restores keyboard selection to its initial state (top of the list)."
|
|
31411
|
+
},
|
|
31412
|
+
{
|
|
31413
|
+
"kind": "method",
|
|
31414
|
+
"name": "resetScrollPosition",
|
|
31415
|
+
"privacy": "private",
|
|
31416
|
+
"description": "Resets the scroll position to the top of the list."
|
|
31417
|
+
},
|
|
31418
|
+
{
|
|
31419
|
+
"kind": "method",
|
|
31420
|
+
"name": "reset",
|
|
31421
|
+
"description": "Resets the menu to its initial state."
|
|
31422
|
+
},
|
|
31423
|
+
{
|
|
31424
|
+
"kind": "method",
|
|
31425
|
+
"name": "emitBlur",
|
|
31426
|
+
"privacy": "private",
|
|
31427
|
+
"description": "Emits the menu blur event externally"
|
|
31428
|
+
},
|
|
31429
|
+
{
|
|
31430
|
+
"kind": "method",
|
|
31431
|
+
"name": "handleTabKey",
|
|
31432
|
+
"privacy": "private",
|
|
31433
|
+
"parameters": [
|
|
31434
|
+
{
|
|
31435
|
+
"name": "event",
|
|
31436
|
+
"type": {
|
|
31437
|
+
"text": "KeyboardEvent"
|
|
31438
|
+
}
|
|
31439
|
+
}
|
|
31440
|
+
],
|
|
31441
|
+
"description": "Forces the menu to lose focus on tab key"
|
|
31442
|
+
},
|
|
31443
|
+
{
|
|
31444
|
+
"kind": "method",
|
|
31445
|
+
"name": "applyPropsToChildren",
|
|
31446
|
+
"privacy": "private",
|
|
31447
|
+
"parameters": [
|
|
31448
|
+
{
|
|
31449
|
+
"name": "items",
|
|
31450
|
+
"type": {
|
|
31451
|
+
"text": "Element[] | MenuItem<ItemValue>[]"
|
|
31452
|
+
}
|
|
31453
|
+
}
|
|
31454
|
+
],
|
|
31455
|
+
"description": "Applies the `toggleable` property to all MenuItems if `multiselect` is\nenabled, and `selectable` if enabled on the parent Menu."
|
|
31456
|
+
},
|
|
31457
|
+
{
|
|
31458
|
+
"kind": "method",
|
|
31459
|
+
"name": "handleSlotChange",
|
|
31460
|
+
"privacy": "private",
|
|
31461
|
+
"parameters": [
|
|
31462
|
+
{
|
|
31463
|
+
"name": "event",
|
|
31464
|
+
"type": {
|
|
31465
|
+
"text": "Event"
|
|
31466
|
+
}
|
|
31467
|
+
}
|
|
31468
|
+
],
|
|
31469
|
+
"description": "Handles applying props to slotted MenuItems"
|
|
31470
|
+
},
|
|
31471
|
+
{
|
|
31472
|
+
"kind": "method",
|
|
31473
|
+
"name": "handleVirtualListUpdate",
|
|
31474
|
+
"privacy": "private",
|
|
31475
|
+
"parameters": [
|
|
31476
|
+
{
|
|
31477
|
+
"name": "{\n detail: { itemElements },\n }",
|
|
31478
|
+
"type": {
|
|
31479
|
+
"text": "VirtualListUpdateEvent<MenuItem<ItemValue>>"
|
|
31480
|
+
}
|
|
31481
|
+
}
|
|
31482
|
+
],
|
|
31483
|
+
"description": "Handles applying props to MenuItems that have been rendered by a Virtual\nList and persists them in state."
|
|
31218
31484
|
}
|
|
31219
31485
|
],
|
|
31220
31486
|
"events": [
|
|
31221
31487
|
{
|
|
31222
31488
|
"type": {
|
|
31223
31489
|
"text": "MenuSelectEvent"
|
|
31224
|
-
}
|
|
31225
|
-
"description": "Contains the Menu's selected values",
|
|
31226
|
-
"name": "brz-menu-select"
|
|
31227
|
-
},
|
|
31228
|
-
{
|
|
31229
|
-
"type": {
|
|
31230
|
-
"text": "MenuItemSelectEvent"
|
|
31231
|
-
},
|
|
31232
|
-
"description": "Contains the MenuItem element that was selected",
|
|
31233
|
-
"name": "brz-menu-item-select"
|
|
31490
|
+
}
|
|
31234
31491
|
}
|
|
31235
31492
|
],
|
|
31236
31493
|
"attributes": [
|
|
@@ -31264,9 +31521,9 @@
|
|
|
31264
31521
|
{
|
|
31265
31522
|
"name": "size",
|
|
31266
31523
|
"type": {
|
|
31267
|
-
"text": "
|
|
31524
|
+
"text": "MenuSize | undefined"
|
|
31268
31525
|
},
|
|
31269
|
-
"description": "Sets a preset menu width
|
|
31526
|
+
"description": "Sets a preset menu width. For fine-grained customization, leave unset and\nuse CSS to override the variable `--brz-menu-width`.",
|
|
31270
31527
|
"fieldName": "size"
|
|
31271
31528
|
}
|
|
31272
31529
|
],
|
|
@@ -31274,63 +31531,89 @@
|
|
|
31274
31531
|
"name": "LitElement",
|
|
31275
31532
|
"package": "lit"
|
|
31276
31533
|
},
|
|
31277
|
-
"tagName": "brz-
|
|
31534
|
+
"tagName": "brz-menu",
|
|
31278
31535
|
"customElement": true
|
|
31536
|
+
},
|
|
31537
|
+
{
|
|
31538
|
+
"kind": "class",
|
|
31539
|
+
"description": "Custom blur event to conditionally emit from the Menu.",
|
|
31540
|
+
"name": "MenuBlurEvent",
|
|
31541
|
+
"superclass": {
|
|
31542
|
+
"name": "CustomEvent",
|
|
31543
|
+
"module": "src/components/menu/menu.ts"
|
|
31544
|
+
}
|
|
31545
|
+
},
|
|
31546
|
+
{
|
|
31547
|
+
"kind": "class",
|
|
31548
|
+
"description": "An event carrying a Menu's selected values to be read by parent components.",
|
|
31549
|
+
"name": "MenuSelectEvent",
|
|
31550
|
+
"superclass": {
|
|
31551
|
+
"name": "CustomEvent",
|
|
31552
|
+
"module": "src/components/menu/menu.ts"
|
|
31553
|
+
}
|
|
31279
31554
|
}
|
|
31280
31555
|
],
|
|
31281
31556
|
"exports": [
|
|
31282
31557
|
{
|
|
31283
31558
|
"kind": "js",
|
|
31284
|
-
"name": "
|
|
31559
|
+
"name": "MENU",
|
|
31285
31560
|
"declaration": {
|
|
31286
|
-
"name": "
|
|
31287
|
-
"module": "src/components/menu/
|
|
31561
|
+
"name": "MENU",
|
|
31562
|
+
"module": "src/components/menu/menu.ts"
|
|
31288
31563
|
}
|
|
31289
31564
|
},
|
|
31290
31565
|
{
|
|
31291
31566
|
"kind": "js",
|
|
31292
|
-
"name": "
|
|
31567
|
+
"name": "SELECT_ALL_ID",
|
|
31293
31568
|
"declaration": {
|
|
31294
|
-
"name": "
|
|
31295
|
-
"module": "src/components/menu/
|
|
31569
|
+
"name": "SELECT_ALL_ID",
|
|
31570
|
+
"module": "src/components/menu/menu.ts"
|
|
31296
31571
|
}
|
|
31297
31572
|
},
|
|
31298
31573
|
{
|
|
31299
31574
|
"kind": "js",
|
|
31300
|
-
"name": "
|
|
31575
|
+
"name": "Menu",
|
|
31301
31576
|
"declaration": {
|
|
31302
|
-
"name": "
|
|
31303
|
-
"module": "src/components/menu/
|
|
31577
|
+
"name": "Menu",
|
|
31578
|
+
"module": "src/components/menu/menu.ts"
|
|
31304
31579
|
}
|
|
31305
31580
|
},
|
|
31306
31581
|
{
|
|
31307
31582
|
"kind": "custom-element-definition",
|
|
31308
31583
|
"declaration": {
|
|
31309
|
-
"name": "
|
|
31310
|
-
"module": "src/components/menu/
|
|
31584
|
+
"name": "Menu",
|
|
31585
|
+
"module": "src/components/menu/menu.ts"
|
|
31311
31586
|
}
|
|
31312
|
-
}
|
|
31313
|
-
]
|
|
31314
|
-
},
|
|
31315
|
-
{
|
|
31316
|
-
"kind": "javascript-module",
|
|
31317
|
-
"path": "src/components/menu/index.ts",
|
|
31318
|
-
"declarations": [],
|
|
31319
|
-
"exports": [
|
|
31587
|
+
},
|
|
31320
31588
|
{
|
|
31321
31589
|
"kind": "js",
|
|
31322
|
-
"name": "
|
|
31590
|
+
"name": "MenuBlurEvent",
|
|
31323
31591
|
"declaration": {
|
|
31324
|
-
"name": "
|
|
31325
|
-
"
|
|
31592
|
+
"name": "MenuBlurEvent",
|
|
31593
|
+
"module": "src/components/menu/menu.ts"
|
|
31326
31594
|
}
|
|
31327
31595
|
},
|
|
31596
|
+
{
|
|
31597
|
+
"kind": "js",
|
|
31598
|
+
"name": "MenuSelectEvent",
|
|
31599
|
+
"declaration": {
|
|
31600
|
+
"name": "MenuSelectEvent",
|
|
31601
|
+
"module": "src/components/menu/menu.ts"
|
|
31602
|
+
}
|
|
31603
|
+
}
|
|
31604
|
+
]
|
|
31605
|
+
},
|
|
31606
|
+
{
|
|
31607
|
+
"kind": "javascript-module",
|
|
31608
|
+
"path": "src/components/modal/index.ts",
|
|
31609
|
+
"declarations": [],
|
|
31610
|
+
"exports": [
|
|
31328
31611
|
{
|
|
31329
31612
|
"kind": "js",
|
|
31330
31613
|
"name": "*",
|
|
31331
31614
|
"declaration": {
|
|
31332
31615
|
"name": "*",
|
|
31333
|
-
"package": "./
|
|
31616
|
+
"package": "./modal"
|
|
31334
31617
|
}
|
|
31335
31618
|
},
|
|
31336
31619
|
{
|
|
@@ -31338,481 +31621,248 @@
|
|
|
31338
31621
|
"name": "*",
|
|
31339
31622
|
"declaration": {
|
|
31340
31623
|
"name": "*",
|
|
31341
|
-
"package": "./
|
|
31624
|
+
"package": "./layout"
|
|
31342
31625
|
}
|
|
31343
31626
|
}
|
|
31344
31627
|
]
|
|
31345
31628
|
},
|
|
31346
31629
|
{
|
|
31347
31630
|
"kind": "javascript-module",
|
|
31348
|
-
"path": "src/components/
|
|
31631
|
+
"path": "src/components/modal/layout.ts",
|
|
31349
31632
|
"declarations": [
|
|
31350
31633
|
{
|
|
31351
31634
|
"kind": "variable",
|
|
31352
|
-
"name": "
|
|
31635
|
+
"name": "MODAL_HEADER"
|
|
31636
|
+
},
|
|
31637
|
+
{
|
|
31638
|
+
"kind": "variable",
|
|
31639
|
+
"name": "MODAL_BODY"
|
|
31640
|
+
},
|
|
31641
|
+
{
|
|
31642
|
+
"kind": "variable",
|
|
31643
|
+
"name": "MODAL_FOOTER"
|
|
31353
31644
|
},
|
|
31354
31645
|
{
|
|
31355
31646
|
"kind": "class",
|
|
31356
|
-
"description": "
|
|
31357
|
-
"name": "
|
|
31647
|
+
"description": "Modal header component.",
|
|
31648
|
+
"name": "ModalHeader",
|
|
31358
31649
|
"members": [
|
|
31359
31650
|
{
|
|
31360
31651
|
"kind": "field",
|
|
31361
|
-
"name": "
|
|
31362
|
-
"
|
|
31363
|
-
"text": "boolean"
|
|
31364
|
-
},
|
|
31365
|
-
"default": "false",
|
|
31366
|
-
"description": "Disables the menu item so it cannot be selected.",
|
|
31367
|
-
"attribute": "disabled",
|
|
31368
|
-
"reflects": true
|
|
31369
|
-
},
|
|
31370
|
-
{
|
|
31371
|
-
"kind": "field",
|
|
31372
|
-
"name": "highlighted",
|
|
31373
|
-
"type": {
|
|
31374
|
-
"text": "boolean"
|
|
31375
|
-
},
|
|
31376
|
-
"default": "false",
|
|
31377
|
-
"description": "Highlights the menu item in a list, usually from keyboard selection.",
|
|
31378
|
-
"attribute": "highlighted",
|
|
31379
|
-
"reflects": true
|
|
31380
|
-
},
|
|
31381
|
-
{
|
|
31382
|
-
"kind": "field",
|
|
31383
|
-
"name": "selectable",
|
|
31384
|
-
"type": {
|
|
31385
|
-
"text": "boolean"
|
|
31386
|
-
},
|
|
31387
|
-
"default": "false",
|
|
31388
|
-
"description": "Renders a check mark against selected items. Unselected items are padded\nto align label texts."
|
|
31389
|
-
},
|
|
31390
|
-
{
|
|
31391
|
-
"kind": "field",
|
|
31392
|
-
"name": "selected",
|
|
31393
|
-
"type": {
|
|
31394
|
-
"text": "boolean"
|
|
31395
|
-
},
|
|
31396
|
-
"default": "false",
|
|
31397
|
-
"description": "Marks the menu item as selected",
|
|
31398
|
-
"attribute": "selected",
|
|
31399
|
-
"reflects": true
|
|
31400
|
-
},
|
|
31401
|
-
{
|
|
31402
|
-
"kind": "field",
|
|
31403
|
-
"name": "toggleable",
|
|
31404
|
-
"type": {
|
|
31405
|
-
"text": "boolean | undefined"
|
|
31406
|
-
},
|
|
31407
|
-
"description": "Renders the menu item with a checkbox, usually for multiselect menus."
|
|
31408
|
-
},
|
|
31409
|
-
{
|
|
31410
|
-
"kind": "field",
|
|
31411
|
-
"name": "value",
|
|
31412
|
-
"type": {
|
|
31413
|
-
"text": "ValueType | undefined"
|
|
31414
|
-
},
|
|
31415
|
-
"description": "The item value. Essential for selectable menus. Even for action-based menus\nthat only use the item events, it is often useful to provide each menu item\nwith a unique value.",
|
|
31416
|
-
"attribute": "value"
|
|
31417
|
-
},
|
|
31418
|
-
{
|
|
31419
|
-
"kind": "method",
|
|
31420
|
-
"name": "deselect",
|
|
31421
|
-
"description": "Deselects the item"
|
|
31422
|
-
},
|
|
31423
|
-
{
|
|
31424
|
-
"kind": "method",
|
|
31425
|
-
"name": "select",
|
|
31426
|
-
"description": "Selects the item"
|
|
31427
|
-
},
|
|
31428
|
-
{
|
|
31429
|
-
"kind": "method",
|
|
31430
|
-
"name": "toggle",
|
|
31431
|
-
"description": "Toggles the item selected state"
|
|
31432
|
-
},
|
|
31433
|
-
{
|
|
31434
|
-
"kind": "method",
|
|
31435
|
-
"name": "emitSelect",
|
|
31436
|
-
"description": "Emits a MenuItemSelectEvent externally. This contains a reference to the\nMenuItem element."
|
|
31437
|
-
},
|
|
31438
|
-
{
|
|
31439
|
-
"kind": "method",
|
|
31440
|
-
"name": "handleClick",
|
|
31441
|
-
"privacy": "private",
|
|
31442
|
-
"parameters": [
|
|
31443
|
-
{
|
|
31444
|
-
"name": "event",
|
|
31445
|
-
"type": {
|
|
31446
|
-
"text": "MouseEvent"
|
|
31447
|
-
}
|
|
31448
|
-
}
|
|
31449
|
-
],
|
|
31450
|
-
"description": "Handles the item being clicked, which emits a select event."
|
|
31652
|
+
"name": "_noClose",
|
|
31653
|
+
"privacy": "private"
|
|
31451
31654
|
},
|
|
31452
31655
|
{
|
|
31453
31656
|
"kind": "method",
|
|
31454
|
-
"name": "
|
|
31455
|
-
"privacy": "private"
|
|
31456
|
-
"description": "Empty keyboard binding at this level. MenuItem is expected to be used\ninside a Menu, which already handles keyboard events."
|
|
31657
|
+
"name": "_handleClickClose",
|
|
31658
|
+
"privacy": "private"
|
|
31457
31659
|
}
|
|
31458
31660
|
],
|
|
31459
31661
|
"events": [
|
|
31460
31662
|
{
|
|
31461
31663
|
"type": {
|
|
31462
|
-
"text": "
|
|
31664
|
+
"text": "ModalCloseEvent"
|
|
31463
31665
|
}
|
|
31464
31666
|
}
|
|
31465
31667
|
],
|
|
31466
|
-
"
|
|
31668
|
+
"superclass": {
|
|
31669
|
+
"name": "LitElement",
|
|
31670
|
+
"package": "lit"
|
|
31671
|
+
},
|
|
31672
|
+
"tagName": "brz-modal-header",
|
|
31673
|
+
"customElement": true
|
|
31674
|
+
},
|
|
31675
|
+
{
|
|
31676
|
+
"kind": "class",
|
|
31677
|
+
"description": "Modal body component.\nBody component adds border-bottom if the content becomes scrollable.",
|
|
31678
|
+
"name": "ModalBody",
|
|
31679
|
+
"members": [
|
|
31467
31680
|
{
|
|
31468
|
-
"
|
|
31681
|
+
"kind": "field",
|
|
31682
|
+
"name": "scrollable",
|
|
31469
31683
|
"type": {
|
|
31470
31684
|
"text": "boolean"
|
|
31471
31685
|
},
|
|
31472
31686
|
"default": "false",
|
|
31473
|
-
"
|
|
31474
|
-
"
|
|
31687
|
+
"attribute": "scrollable",
|
|
31688
|
+
"reflects": true
|
|
31475
31689
|
},
|
|
31476
31690
|
{
|
|
31477
|
-
"
|
|
31478
|
-
"
|
|
31479
|
-
|
|
31480
|
-
}
|
|
31481
|
-
|
|
31482
|
-
|
|
31483
|
-
|
|
31484
|
-
},
|
|
31691
|
+
"kind": "field",
|
|
31692
|
+
"name": "_resizeObserver",
|
|
31693
|
+
"privacy": "private",
|
|
31694
|
+
"default": "new ResizeObserver(() => {\n this.scrollable = this.scrollHeight > this.clientHeight\n })"
|
|
31695
|
+
}
|
|
31696
|
+
],
|
|
31697
|
+
"attributes": [
|
|
31485
31698
|
{
|
|
31486
|
-
"name": "
|
|
31699
|
+
"name": "scrollable",
|
|
31487
31700
|
"type": {
|
|
31488
31701
|
"text": "boolean"
|
|
31489
31702
|
},
|
|
31490
31703
|
"default": "false",
|
|
31491
|
-
"
|
|
31492
|
-
"fieldName": "selected"
|
|
31493
|
-
},
|
|
31494
|
-
{
|
|
31495
|
-
"name": "value",
|
|
31496
|
-
"type": {
|
|
31497
|
-
"text": "ValueType | undefined"
|
|
31498
|
-
},
|
|
31499
|
-
"description": "The item value. Essential for selectable menus. Even for action-based menus\nthat only use the item events, it is often useful to provide each menu item\nwith a unique value.",
|
|
31500
|
-
"fieldName": "value"
|
|
31704
|
+
"fieldName": "scrollable"
|
|
31501
31705
|
}
|
|
31502
31706
|
],
|
|
31503
31707
|
"superclass": {
|
|
31504
31708
|
"name": "LitElement",
|
|
31505
31709
|
"package": "lit"
|
|
31506
31710
|
},
|
|
31507
|
-
"tagName": "brz-
|
|
31711
|
+
"tagName": "brz-modal-body",
|
|
31508
31712
|
"customElement": true
|
|
31509
31713
|
},
|
|
31510
31714
|
{
|
|
31511
31715
|
"kind": "class",
|
|
31512
|
-
"description": "
|
|
31513
|
-
"name": "
|
|
31716
|
+
"description": "Modal footer component.",
|
|
31717
|
+
"name": "ModalFooter",
|
|
31718
|
+
"members": [],
|
|
31514
31719
|
"superclass": {
|
|
31515
|
-
"name": "
|
|
31516
|
-
"
|
|
31517
|
-
}
|
|
31720
|
+
"name": "LitElement",
|
|
31721
|
+
"package": "lit"
|
|
31722
|
+
},
|
|
31723
|
+
"tagName": "brz-modal-footer",
|
|
31724
|
+
"customElement": true
|
|
31518
31725
|
}
|
|
31519
31726
|
],
|
|
31520
31727
|
"exports": [
|
|
31521
31728
|
{
|
|
31522
31729
|
"kind": "js",
|
|
31523
|
-
"name": "
|
|
31730
|
+
"name": "MODAL_HEADER",
|
|
31524
31731
|
"declaration": {
|
|
31525
|
-
"name": "
|
|
31526
|
-
"module": "src/components/
|
|
31732
|
+
"name": "MODAL_HEADER",
|
|
31733
|
+
"module": "src/components/modal/layout.ts"
|
|
31527
31734
|
}
|
|
31528
31735
|
},
|
|
31529
31736
|
{
|
|
31530
31737
|
"kind": "js",
|
|
31531
|
-
"name": "
|
|
31532
|
-
"declaration": {
|
|
31533
|
-
"name": "MenuItem",
|
|
31534
|
-
"module": "src/components/menu/menu-item.ts"
|
|
31535
|
-
}
|
|
31536
|
-
},
|
|
31537
|
-
{
|
|
31538
|
-
"kind": "custom-element-definition",
|
|
31738
|
+
"name": "MODAL_BODY",
|
|
31539
31739
|
"declaration": {
|
|
31540
|
-
"name": "
|
|
31541
|
-
"module": "src/components/
|
|
31740
|
+
"name": "MODAL_BODY",
|
|
31741
|
+
"module": "src/components/modal/layout.ts"
|
|
31542
31742
|
}
|
|
31543
31743
|
},
|
|
31544
31744
|
{
|
|
31545
31745
|
"kind": "js",
|
|
31546
|
-
"name": "
|
|
31547
|
-
"declaration": {
|
|
31548
|
-
"name": "
|
|
31549
|
-
"module": "src/components/
|
|
31550
|
-
}
|
|
31551
|
-
}
|
|
31552
|
-
|
|
31553
|
-
|
|
31554
|
-
|
|
31555
|
-
|
|
31556
|
-
|
|
31557
|
-
|
|
31558
|
-
|
|
31559
|
-
|
|
31560
|
-
|
|
31561
|
-
"
|
|
31562
|
-
|
|
31563
|
-
|
|
31564
|
-
|
|
31565
|
-
|
|
31566
|
-
|
|
31567
|
-
|
|
31568
|
-
|
|
31569
|
-
"
|
|
31570
|
-
"
|
|
31571
|
-
|
|
31572
|
-
"
|
|
31573
|
-
|
|
31574
|
-
|
|
31575
|
-
|
|
31576
|
-
|
|
31577
|
-
|
|
31578
|
-
|
|
31579
|
-
|
|
31580
|
-
|
|
31581
|
-
|
|
31582
|
-
{
|
|
31583
|
-
"kind": "
|
|
31584
|
-
"name": "
|
|
31585
|
-
|
|
31586
|
-
|
|
31587
|
-
|
|
31588
|
-
|
|
31589
|
-
|
|
31590
|
-
|
|
31591
|
-
|
|
31592
|
-
"
|
|
31593
|
-
|
|
31594
|
-
|
|
31595
|
-
|
|
31596
|
-
|
|
31597
|
-
|
|
31598
|
-
|
|
31599
|
-
|
|
31600
|
-
|
|
31601
|
-
|
|
31602
|
-
|
|
31603
|
-
|
|
31604
|
-
|
|
31605
|
-
|
|
31606
|
-
|
|
31607
|
-
|
|
31608
|
-
|
|
31609
|
-
|
|
31610
|
-
|
|
31611
|
-
|
|
31612
|
-
|
|
31613
|
-
|
|
31614
|
-
|
|
31615
|
-
|
|
31616
|
-
|
|
31617
|
-
|
|
31618
|
-
|
|
31619
|
-
|
|
31620
|
-
|
|
31621
|
-
|
|
31622
|
-
|
|
31623
|
-
|
|
31624
|
-
|
|
31625
|
-
|
|
31626
|
-
|
|
31627
|
-
|
|
31628
|
-
|
|
31629
|
-
{
|
|
31630
|
-
"kind": "field",
|
|
31631
|
-
"name": "size",
|
|
31632
|
-
"type": {
|
|
31633
|
-
"text": "MenuSize | undefined"
|
|
31634
|
-
},
|
|
31635
|
-
"description": "Sets a preset menu width. For fine-grained customization, leave unset and\nuse CSS to override the variable `--brz-menu-width`.",
|
|
31636
|
-
"attribute": "size",
|
|
31637
|
-
"reflects": true
|
|
31638
|
-
},
|
|
31639
|
-
{
|
|
31640
|
-
"kind": "method",
|
|
31641
|
-
"name": "getMenuItems",
|
|
31642
|
-
"privacy": "private",
|
|
31643
|
-
"description": "Gets menu items. Handles implementations using a Virtual List."
|
|
31644
|
-
},
|
|
31645
|
-
{
|
|
31646
|
-
"kind": "method",
|
|
31647
|
-
"name": "handleUpOrDownKey",
|
|
31648
|
-
"privacy": "private",
|
|
31649
|
-
"parameters": [
|
|
31650
|
-
{
|
|
31651
|
-
"name": "event",
|
|
31652
|
-
"type": {
|
|
31653
|
-
"text": "KeyboardEvent"
|
|
31654
|
-
}
|
|
31655
|
-
}
|
|
31656
|
-
],
|
|
31657
|
-
"description": "Navigates to the next/previous item in the list. Wraps back around from the\nstart/end of the list. The current item is highlighted."
|
|
31658
|
-
},
|
|
31659
|
-
{
|
|
31660
|
-
"kind": "method",
|
|
31661
|
-
"name": "handleEnterOrSpaceKey",
|
|
31662
|
-
"privacy": "private",
|
|
31663
|
-
"parameters": [
|
|
31664
|
-
{
|
|
31665
|
-
"name": "event",
|
|
31666
|
-
"type": {
|
|
31667
|
-
"text": "KeyboardEvent"
|
|
31668
|
-
}
|
|
31669
|
-
}
|
|
31670
|
-
],
|
|
31671
|
-
"description": "Enter/Space keys should select (or toggle) the currently highlighted item.\nCalls a method on the MenuItem to dispatch a select event back to the Menu,\nwhich is picked up in `handleMenuItemSelect`."
|
|
31672
|
-
},
|
|
31673
|
-
{
|
|
31674
|
-
"kind": "method",
|
|
31675
|
-
"name": "getActiveMenuItem",
|
|
31676
|
-
"privacy": "private",
|
|
31677
|
-
"parameters": [
|
|
31678
|
-
{
|
|
31679
|
-
"name": "event",
|
|
31680
|
-
"optional": true,
|
|
31681
|
-
"type": {
|
|
31682
|
-
"text": "MenuItemSelectEvent<ItemValue>"
|
|
31683
|
-
}
|
|
31684
|
-
}
|
|
31685
|
-
],
|
|
31686
|
-
"description": "Returns the MenuItem element passed via a select event, or the item\ncurrently highlighted by keyboard."
|
|
31687
|
-
},
|
|
31688
|
-
{
|
|
31689
|
-
"kind": "method",
|
|
31690
|
-
"name": "bypassSelectedState",
|
|
31691
|
-
"privacy": "private",
|
|
31692
|
-
"description": "When not `selectable` the there is no need to store selected values but the\n\"selection\" should still behave the same way. Multiselect retains focus."
|
|
31693
|
-
},
|
|
31694
|
-
{
|
|
31695
|
-
"kind": "method",
|
|
31696
|
-
"name": "handleSelectItem",
|
|
31697
|
-
"privacy": "private",
|
|
31698
|
-
"parameters": [
|
|
31699
|
-
{
|
|
31700
|
-
"name": "item",
|
|
31701
|
-
"type": {
|
|
31702
|
-
"text": "MenuItem<ItemValue>"
|
|
31703
|
-
}
|
|
31704
|
-
}
|
|
31705
|
-
],
|
|
31706
|
-
"description": "Handles a MenuItem being selected and stores the value if relevant. Calls\nmethods on the MenuItem to sync its public properties with the Menu's\n`selected` list."
|
|
31707
|
-
},
|
|
31708
|
-
{
|
|
31709
|
-
"kind": "method",
|
|
31710
|
-
"name": "updateSelected",
|
|
31711
|
-
"privacy": "private",
|
|
31712
|
-
"parameters": [
|
|
31713
|
-
{
|
|
31714
|
-
"name": "value",
|
|
31715
|
-
"type": {
|
|
31716
|
-
"text": "ItemValue"
|
|
31717
|
-
}
|
|
31718
|
-
}
|
|
31719
|
-
],
|
|
31720
|
-
"description": "Applies changes to the Menu's `selected` state"
|
|
31721
|
-
},
|
|
31722
|
-
{
|
|
31723
|
-
"kind": "method",
|
|
31724
|
-
"name": "handleMenuItemSelect",
|
|
31725
|
-
"privacy": "private",
|
|
31726
|
-
"parameters": [
|
|
31727
|
-
{
|
|
31728
|
-
"name": "event",
|
|
31729
|
-
"type": {
|
|
31730
|
-
"text": "MenuItemSelectEvent<ItemValue>"
|
|
31731
|
-
}
|
|
31732
|
-
}
|
|
31733
|
-
],
|
|
31734
|
-
"description": "Handles a MenuItemSelectEvent. This is fired when clicking a menu item, or\nselecting via keyboard."
|
|
31735
|
-
},
|
|
31736
|
-
{
|
|
31737
|
-
"kind": "method",
|
|
31738
|
-
"name": "emitSelection",
|
|
31739
|
-
"privacy": "private",
|
|
31740
|
-
"description": "Emits currently selected values externally"
|
|
31741
|
-
},
|
|
31742
|
-
{
|
|
31743
|
-
"kind": "method",
|
|
31744
|
-
"name": "clearHighlightedItem",
|
|
31745
|
-
"privacy": "private",
|
|
31746
|
-
"description": "Clears the item highlighted by keyboard"
|
|
31747
|
-
},
|
|
31748
|
-
{
|
|
31749
|
-
"kind": "method",
|
|
31750
|
-
"name": "handleKeyDown",
|
|
31751
|
-
"privacy": "private",
|
|
31752
|
-
"parameters": [
|
|
31753
|
-
{
|
|
31754
|
-
"name": "event",
|
|
31755
|
-
"type": {
|
|
31756
|
-
"text": "KeyboardEvent"
|
|
31757
|
-
}
|
|
31758
|
-
}
|
|
31759
|
-
],
|
|
31760
|
-
"description": "Calls the handler for the current key if there is one."
|
|
31761
|
-
},
|
|
31762
|
-
{
|
|
31763
|
-
"kind": "method",
|
|
31764
|
-
"name": "resetHighlightedIndex",
|
|
31765
|
-
"privacy": "private",
|
|
31766
|
-
"description": "Restores keyboard selection to its initial state (top of the list)."
|
|
31767
|
-
},
|
|
31768
|
-
{
|
|
31769
|
-
"kind": "method",
|
|
31770
|
-
"name": "resetScrollPosition",
|
|
31771
|
-
"privacy": "private",
|
|
31772
|
-
"description": "Resets the scroll position to the top of the list."
|
|
31773
|
-
},
|
|
31746
|
+
"name": "MODAL_FOOTER",
|
|
31747
|
+
"declaration": {
|
|
31748
|
+
"name": "MODAL_FOOTER",
|
|
31749
|
+
"module": "src/components/modal/layout.ts"
|
|
31750
|
+
}
|
|
31751
|
+
},
|
|
31752
|
+
{
|
|
31753
|
+
"kind": "js",
|
|
31754
|
+
"name": "ModalHeader",
|
|
31755
|
+
"declaration": {
|
|
31756
|
+
"name": "ModalHeader",
|
|
31757
|
+
"module": "src/components/modal/layout.ts"
|
|
31758
|
+
}
|
|
31759
|
+
},
|
|
31760
|
+
{
|
|
31761
|
+
"kind": "custom-element-definition",
|
|
31762
|
+
"declaration": {
|
|
31763
|
+
"name": "ModalHeader",
|
|
31764
|
+
"module": "src/components/modal/layout.ts"
|
|
31765
|
+
}
|
|
31766
|
+
},
|
|
31767
|
+
{
|
|
31768
|
+
"kind": "js",
|
|
31769
|
+
"name": "ModalBody",
|
|
31770
|
+
"declaration": {
|
|
31771
|
+
"name": "ModalBody",
|
|
31772
|
+
"module": "src/components/modal/layout.ts"
|
|
31773
|
+
}
|
|
31774
|
+
},
|
|
31775
|
+
{
|
|
31776
|
+
"kind": "custom-element-definition",
|
|
31777
|
+
"declaration": {
|
|
31778
|
+
"name": "ModalBody",
|
|
31779
|
+
"module": "src/components/modal/layout.ts"
|
|
31780
|
+
}
|
|
31781
|
+
},
|
|
31782
|
+
{
|
|
31783
|
+
"kind": "js",
|
|
31784
|
+
"name": "ModalFooter",
|
|
31785
|
+
"declaration": {
|
|
31786
|
+
"name": "ModalFooter",
|
|
31787
|
+
"module": "src/components/modal/layout.ts"
|
|
31788
|
+
}
|
|
31789
|
+
},
|
|
31790
|
+
{
|
|
31791
|
+
"kind": "custom-element-definition",
|
|
31792
|
+
"declaration": {
|
|
31793
|
+
"name": "ModalFooter",
|
|
31794
|
+
"module": "src/components/modal/layout.ts"
|
|
31795
|
+
}
|
|
31796
|
+
}
|
|
31797
|
+
]
|
|
31798
|
+
},
|
|
31799
|
+
{
|
|
31800
|
+
"kind": "javascript-module",
|
|
31801
|
+
"path": "src/components/modal/modal.ts",
|
|
31802
|
+
"declarations": [
|
|
31803
|
+
{
|
|
31804
|
+
"kind": "variable",
|
|
31805
|
+
"name": "MODAL"
|
|
31806
|
+
},
|
|
31807
|
+
{
|
|
31808
|
+
"kind": "variable",
|
|
31809
|
+
"name": "modalSizes",
|
|
31810
|
+
"type": {
|
|
31811
|
+
"text": "['small', 'medium', 'large', 'x-large']"
|
|
31812
|
+
},
|
|
31813
|
+
"default": "['small', 'medium', 'large', 'x-large']"
|
|
31814
|
+
},
|
|
31815
|
+
{
|
|
31816
|
+
"kind": "class",
|
|
31817
|
+
"description": "",
|
|
31818
|
+
"name": "ModalCloseEvent",
|
|
31819
|
+
"superclass": {
|
|
31820
|
+
"name": "CustomEvent",
|
|
31821
|
+
"module": "src/components/modal/modal.ts"
|
|
31822
|
+
}
|
|
31823
|
+
},
|
|
31824
|
+
{
|
|
31825
|
+
"kind": "class",
|
|
31826
|
+
"description": "Modal component.",
|
|
31827
|
+
"name": "Modal",
|
|
31828
|
+
"members": [
|
|
31774
31829
|
{
|
|
31775
|
-
"kind": "
|
|
31776
|
-
"name": "
|
|
31777
|
-
"
|
|
31830
|
+
"kind": "field",
|
|
31831
|
+
"name": "size",
|
|
31832
|
+
"type": {
|
|
31833
|
+
"text": "ModalSize"
|
|
31834
|
+
},
|
|
31835
|
+
"default": "'small'",
|
|
31836
|
+
"description": "The size of the modal",
|
|
31837
|
+
"attribute": "size"
|
|
31778
31838
|
},
|
|
31779
31839
|
{
|
|
31780
|
-
"kind": "
|
|
31781
|
-
"name": "
|
|
31782
|
-
"
|
|
31783
|
-
|
|
31840
|
+
"kind": "field",
|
|
31841
|
+
"name": "open",
|
|
31842
|
+
"type": {
|
|
31843
|
+
"text": "boolean"
|
|
31844
|
+
},
|
|
31845
|
+
"default": "false",
|
|
31846
|
+
"description": "Show/hides the modal",
|
|
31847
|
+
"attribute": "open"
|
|
31784
31848
|
},
|
|
31785
31849
|
{
|
|
31786
|
-
"kind": "
|
|
31787
|
-
"name": "
|
|
31788
|
-
"
|
|
31789
|
-
|
|
31790
|
-
|
|
31791
|
-
|
|
31792
|
-
|
|
31793
|
-
|
|
31794
|
-
}
|
|
31795
|
-
}
|
|
31796
|
-
],
|
|
31797
|
-
"description": "Forces the menu to lose focus on tab key"
|
|
31850
|
+
"kind": "field",
|
|
31851
|
+
"name": "noClose",
|
|
31852
|
+
"type": {
|
|
31853
|
+
"text": "boolean"
|
|
31854
|
+
},
|
|
31855
|
+
"default": "false",
|
|
31856
|
+
"description": "Hides the close button in header",
|
|
31857
|
+
"attribute": "no-close"
|
|
31798
31858
|
},
|
|
31799
31859
|
{
|
|
31800
|
-
"kind": "
|
|
31801
|
-
"name": "
|
|
31802
|
-
"privacy": "private",
|
|
31803
|
-
"parameters": [
|
|
31804
|
-
{
|
|
31805
|
-
"name": "items",
|
|
31806
|
-
"type": {
|
|
31807
|
-
"text": "Element[] | MenuItem<ItemValue>[]"
|
|
31808
|
-
}
|
|
31809
|
-
}
|
|
31810
|
-
],
|
|
31811
|
-
"description": "Applies the `toggleable` property to all MenuItems if `multiselect` is\nenabled, and `selectable` if enabled on the parent Menu."
|
|
31860
|
+
"kind": "field",
|
|
31861
|
+
"name": "shown"
|
|
31812
31862
|
},
|
|
31813
31863
|
{
|
|
31814
31864
|
"kind": "method",
|
|
31815
|
-
"name": "
|
|
31865
|
+
"name": "handleTransitionEnd",
|
|
31816
31866
|
"privacy": "private",
|
|
31817
31867
|
"parameters": [
|
|
31818
31868
|
{
|
|
@@ -31821,140 +31871,90 @@
|
|
|
31821
31871
|
"text": "Event"
|
|
31822
31872
|
}
|
|
31823
31873
|
}
|
|
31824
|
-
]
|
|
31825
|
-
"description": "Handles applying props to slotted MenuItems"
|
|
31826
|
-
},
|
|
31827
|
-
{
|
|
31828
|
-
"kind": "method",
|
|
31829
|
-
"name": "handleVirtualListUpdate",
|
|
31830
|
-
"privacy": "private",
|
|
31831
|
-
"parameters": [
|
|
31832
|
-
{
|
|
31833
|
-
"name": "{\n detail: { itemElements },\n }",
|
|
31834
|
-
"type": {
|
|
31835
|
-
"text": "VirtualListUpdateEvent<MenuItem<ItemValue>>"
|
|
31836
|
-
}
|
|
31837
|
-
}
|
|
31838
|
-
],
|
|
31839
|
-
"description": "Handles applying props to MenuItems that have been rendered by a Virtual\nList and persists them in state."
|
|
31874
|
+
]
|
|
31840
31875
|
}
|
|
31841
31876
|
],
|
|
31842
31877
|
"events": [
|
|
31843
31878
|
{
|
|
31844
|
-
"
|
|
31845
|
-
|
|
31846
|
-
}
|
|
31879
|
+
"description": "Fired when the modal is closed",
|
|
31880
|
+
"name": "brz-modal-close"
|
|
31847
31881
|
}
|
|
31848
31882
|
],
|
|
31849
31883
|
"attributes": [
|
|
31850
31884
|
{
|
|
31851
|
-
"name": "
|
|
31885
|
+
"name": "size",
|
|
31852
31886
|
"type": {
|
|
31853
|
-
"text": "
|
|
31887
|
+
"text": "ModalSize"
|
|
31854
31888
|
},
|
|
31855
|
-
"default": "
|
|
31856
|
-
"description": "
|
|
31857
|
-
"fieldName": "
|
|
31889
|
+
"default": "'small'",
|
|
31890
|
+
"description": "The size of the modal",
|
|
31891
|
+
"fieldName": "size"
|
|
31858
31892
|
},
|
|
31859
31893
|
{
|
|
31860
|
-
"name": "
|
|
31894
|
+
"name": "open",
|
|
31861
31895
|
"type": {
|
|
31862
31896
|
"text": "boolean"
|
|
31863
31897
|
},
|
|
31864
31898
|
"default": "false",
|
|
31865
|
-
"description": "
|
|
31866
|
-
"fieldName": "
|
|
31867
|
-
},
|
|
31868
|
-
{
|
|
31869
|
-
"name": "selected",
|
|
31870
|
-
"type": {
|
|
31871
|
-
"text": "ItemValue[]"
|
|
31872
|
-
},
|
|
31873
|
-
"default": "[]",
|
|
31874
|
-
"description": "A list of currently selected values. Value collection requires the Menu to\nbe `selectable`.",
|
|
31875
|
-
"fieldName": "selected"
|
|
31899
|
+
"description": "Show/hides the modal",
|
|
31900
|
+
"fieldName": "open"
|
|
31876
31901
|
},
|
|
31877
31902
|
{
|
|
31878
|
-
"name": "
|
|
31903
|
+
"name": "no-close",
|
|
31879
31904
|
"type": {
|
|
31880
|
-
"text": "
|
|
31905
|
+
"text": "boolean"
|
|
31881
31906
|
},
|
|
31882
|
-
"
|
|
31883
|
-
"
|
|
31907
|
+
"default": "false",
|
|
31908
|
+
"description": "Hides the close button in header",
|
|
31909
|
+
"fieldName": "noClose"
|
|
31884
31910
|
}
|
|
31885
31911
|
],
|
|
31886
31912
|
"superclass": {
|
|
31887
31913
|
"name": "LitElement",
|
|
31888
31914
|
"package": "lit"
|
|
31889
31915
|
},
|
|
31890
|
-
"tagName": "brz-
|
|
31916
|
+
"tagName": "brz-modal",
|
|
31891
31917
|
"customElement": true
|
|
31892
|
-
},
|
|
31893
|
-
{
|
|
31894
|
-
"kind": "class",
|
|
31895
|
-
"description": "Custom blur event to conditionally emit from the Menu.",
|
|
31896
|
-
"name": "MenuBlurEvent",
|
|
31897
|
-
"superclass": {
|
|
31898
|
-
"name": "CustomEvent",
|
|
31899
|
-
"module": "src/components/menu/menu.ts"
|
|
31900
|
-
}
|
|
31901
|
-
},
|
|
31902
|
-
{
|
|
31903
|
-
"kind": "class",
|
|
31904
|
-
"description": "An event carrying a Menu's selected values to be read by parent components.",
|
|
31905
|
-
"name": "MenuSelectEvent",
|
|
31906
|
-
"superclass": {
|
|
31907
|
-
"name": "CustomEvent",
|
|
31908
|
-
"module": "src/components/menu/menu.ts"
|
|
31909
|
-
}
|
|
31910
31918
|
}
|
|
31911
31919
|
],
|
|
31912
31920
|
"exports": [
|
|
31913
31921
|
{
|
|
31914
31922
|
"kind": "js",
|
|
31915
|
-
"name": "
|
|
31923
|
+
"name": "MODAL",
|
|
31916
31924
|
"declaration": {
|
|
31917
|
-
"name": "
|
|
31918
|
-
"module": "src/components/
|
|
31925
|
+
"name": "MODAL",
|
|
31926
|
+
"module": "src/components/modal/modal.ts"
|
|
31919
31927
|
}
|
|
31920
31928
|
},
|
|
31921
31929
|
{
|
|
31922
31930
|
"kind": "js",
|
|
31923
|
-
"name": "
|
|
31931
|
+
"name": "modalSizes",
|
|
31924
31932
|
"declaration": {
|
|
31925
|
-
"name": "
|
|
31926
|
-
"module": "src/components/
|
|
31933
|
+
"name": "modalSizes",
|
|
31934
|
+
"module": "src/components/modal/modal.ts"
|
|
31927
31935
|
}
|
|
31928
31936
|
},
|
|
31929
31937
|
{
|
|
31930
31938
|
"kind": "js",
|
|
31931
|
-
"name": "
|
|
31932
|
-
"declaration": {
|
|
31933
|
-
"name": "Menu",
|
|
31934
|
-
"module": "src/components/menu/menu.ts"
|
|
31935
|
-
}
|
|
31936
|
-
},
|
|
31937
|
-
{
|
|
31938
|
-
"kind": "custom-element-definition",
|
|
31939
|
+
"name": "ModalCloseEvent",
|
|
31939
31940
|
"declaration": {
|
|
31940
|
-
"name": "
|
|
31941
|
-
"module": "src/components/
|
|
31941
|
+
"name": "ModalCloseEvent",
|
|
31942
|
+
"module": "src/components/modal/modal.ts"
|
|
31942
31943
|
}
|
|
31943
31944
|
},
|
|
31944
31945
|
{
|
|
31945
31946
|
"kind": "js",
|
|
31946
|
-
"name": "
|
|
31947
|
+
"name": "Modal",
|
|
31947
31948
|
"declaration": {
|
|
31948
|
-
"name": "
|
|
31949
|
-
"module": "src/components/
|
|
31949
|
+
"name": "Modal",
|
|
31950
|
+
"module": "src/components/modal/modal.ts"
|
|
31950
31951
|
}
|
|
31951
31952
|
},
|
|
31952
31953
|
{
|
|
31953
|
-
"kind": "
|
|
31954
|
-
"name": "MenuSelectEvent",
|
|
31954
|
+
"kind": "custom-element-definition",
|
|
31955
31955
|
"declaration": {
|
|
31956
|
-
"name": "
|
|
31957
|
-
"module": "src/components/
|
|
31956
|
+
"name": "Modal",
|
|
31957
|
+
"module": "src/components/modal/modal.ts"
|
|
31958
31958
|
}
|
|
31959
31959
|
}
|
|
31960
31960
|
]
|