morya-ui 0.2.9 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +76 -0
- package/dist/{Button-DO5oukfg.js → Button-smoDleh0.js} +2 -2
- package/dist/{Card-BQfmv5Iw.js → Card-Dsmnzong.js} +1 -1
- package/dist/{Checkbox-CL05RRUD.js → Checkbox-BzbAUfyZ.js} +2 -2
- package/dist/FlyoutSubmenu-BrUPmJa1.js +45 -0
- package/dist/Icon-od9Ob-Ay.js +393 -0
- package/dist/Loading-BSsRs6v9.js +420 -0
- package/dist/{Pagination-CUwCtWhz.js → Pagination-DrXmzcEy.js} +3 -3
- package/dist/Popover-BQ07q4VV.js +179 -0
- package/dist/{Radio-DsaKvbhk.js → Radio-rF6zdR5Y.js} +2 -2
- package/dist/{ScrollBody-D2IHKP6U.js → ScrollBody-5hUnHj_M.js} +1 -1
- package/dist/{Scrollbar-BYnCO8fv.js → Scrollbar-DTeJ8P5b.js} +2 -2
- package/dist/Tooltip-D5DO0B3z.js +105 -0
- package/dist/VirtualScroller-CHoFCmpP.js +75 -0
- package/dist/accordion/index.js +42 -39
- package/dist/accordion/style.css +271 -17
- package/dist/auto-complete/index.js +185 -124
- package/dist/auto-complete/style.css +445 -56
- package/dist/auto-complete/style.js +2 -0
- package/dist/avatar/index.js +2 -2
- package/dist/avatar/style.css +233 -22
- package/dist/badge/index.js +25 -20
- package/dist/badge/style.css +253 -24
- package/dist/block-ui/index.js +26 -13
- package/dist/block-ui/style.css +228 -17
- package/dist/breadcrumb/index.js +2 -2
- package/dist/breadcrumb/style.css +228 -17
- package/dist/button/index.js +2 -2
- package/dist/button/style.css +229 -18
- package/dist/card/index.js +1 -1
- package/dist/card/style.css +228 -17
- package/dist/carousel/index.js +74 -66
- package/dist/carousel/style.css +256 -28
- package/dist/cascade-select/index.js +172 -143
- package/dist/cascade-select/style.css +460 -61
- package/dist/cascade-select/style.js +1 -0
- package/dist/checkbox/index.js +2 -2
- package/dist/checkbox/style.css +228 -17
- package/dist/chip/index.js +2 -2
- package/dist/chip/style.css +236 -19
- package/dist/command-menu/index.js +58 -45
- package/dist/command-menu/style.css +234 -21
- package/dist/components/Accordion/Accordion.vue.d.ts +2 -2
- package/dist/components/Accordion/Accordion.vue.d.ts.map +1 -1
- package/dist/components/Accordion/styles.css +43 -0
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts +11 -4
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/styles.css +9 -35
- package/dist/components/AutoComplete/types.d.ts +8 -0
- package/dist/components/AutoComplete/types.d.ts.map +1 -1
- package/dist/components/Avatar/styles.css +4 -4
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Badge/styles.css +25 -7
- package/dist/components/BlockUI/BlockUI.vue.d.ts +2 -0
- package/dist/components/BlockUI/BlockUI.vue.d.ts.map +1 -1
- package/dist/components/BlockUI/types.d.ts +3 -0
- package/dist/components/BlockUI/types.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css +27 -10
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +2 -0
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/styles.css +39 -38
- package/dist/components/CascadeSelect/types.d.ts +3 -0
- package/dist/components/CascadeSelect/types.d.ts.map +1 -1
- package/dist/components/Chip/styles.css +7 -1
- package/dist/components/CommandMenu/CommandMenu.vue.d.ts +2 -0
- package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
- package/dist/components/CommandMenu/styles.css +2 -0
- package/dist/components/CommandMenu/types.d.ts +3 -0
- package/dist/components/CommandMenu/types.d.ts.map +1 -1
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts +2 -0
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
- package/dist/components/ConfigProvider/types.d.ts +1 -1
- package/dist/components/ConfigProvider/types.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +2 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/types.d.ts +3 -0
- package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts +2 -0
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/types.d.ts +3 -0
- package/dist/components/ConfirmPopup/types.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts +2 -0
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/styles.css +2 -0
- package/dist/components/ContextMenu/types.d.ts +3 -0
- package/dist/components/ContextMenu/types.d.ts.map +1 -1
- package/dist/components/DataView/DataView.vue.d.ts +7 -7
- package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
- package/dist/components/DataView/styles.css +0 -20
- package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/types.d.ts +3 -0
- package/dist/components/DatePicker/types.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts +2 -0
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Dialog/styles.css +190 -4
- package/dist/components/Dialog/types.d.ts +3 -0
- package/dist/components/Dialog/types.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts +2 -0
- package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/Drawer/styles.css +189 -4
- package/dist/components/Drawer/types.d.ts +3 -0
- package/dist/components/Drawer/types.d.ts.map +1 -1
- package/dist/components/Dropdown/Dropdown.vue.d.ts +4 -2
- package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts +8 -9
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/styles.css +27 -4
- package/dist/components/Dropdown/types.d.ts +3 -0
- package/dist/components/Dropdown/types.d.ts.map +1 -1
- package/dist/components/Empty/index.d.ts.map +1 -1
- package/dist/components/Empty/styles.css +6 -6
- package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
- package/dist/components/Fieldset/styles.css +17 -6
- package/dist/components/FileUpload/FileUpload.vue.d.ts +1 -1
- package/dist/components/FloatLabel/styles.css +19 -7
- package/dist/components/Form/styles.css +21 -0
- package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
- package/dist/components/Icon/icon-categories.d.ts.map +1 -1
- package/dist/components/Icon/icons-types.d.ts +4 -2
- package/dist/components/Icon/icons-types.d.ts.map +1 -1
- package/dist/components/Icon/icons.d.ts +250 -561
- package/dist/components/Icon/icons.d.ts.map +1 -1
- package/dist/components/Icon/index.d.ts +2 -2
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/styles.css +1 -1
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/Input/styles.css +19 -2
- package/dist/components/InputTags/styles.css +3 -1
- package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
- package/dist/components/Layout/styles.css +29 -16
- package/dist/components/Layout/types.d.ts +4 -2
- package/dist/components/Layout/types.d.ts.map +1 -1
- package/dist/components/Listbox/Listbox.vue.d.ts +7 -2
- package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
- package/dist/components/Listbox/styles.css +10 -0
- package/dist/components/Listbox/types.d.ts +5 -0
- package/dist/components/Listbox/types.d.ts.map +1 -1
- package/dist/components/Loading/Loading.vue.d.ts +2 -0
- package/dist/components/Loading/Loading.vue.d.ts.map +1 -1
- package/dist/components/Loading/LoadingIndicator.vue.d.ts.map +1 -1
- package/dist/components/Loading/loading.d.ts.map +1 -1
- package/dist/components/Loading/styles.css +25 -17
- package/dist/components/Loading/types.d.ts +3 -0
- package/dist/components/Loading/types.d.ts.map +1 -1
- package/dist/components/MegaMenu/MegaMenu.vue.d.ts +2 -0
- package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
- package/dist/components/MegaMenu/styles.css +1 -0
- package/dist/components/MegaMenu/types.d.ts +3 -0
- package/dist/components/MegaMenu/types.d.ts.map +1 -1
- package/dist/components/Menu/Menu.vue.d.ts +3 -1
- package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
- package/dist/components/Menu/styles.css +16 -9
- package/dist/components/Menu/types.d.ts +3 -0
- package/dist/components/Menu/types.d.ts.map +1 -1
- package/dist/components/Menubar/Menubar.vue.d.ts +2 -0
- package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
- package/dist/components/Menubar/styles.css +8 -0
- package/dist/components/Menubar/types.d.ts +3 -0
- package/dist/components/Menubar/types.d.ts.map +1 -1
- package/dist/components/Message/Message.vue.d.ts +2 -0
- package/dist/components/Message/Message.vue.d.ts.map +1 -1
- package/dist/components/Message/types.d.ts +3 -0
- package/dist/components/Message/types.d.ts.map +1 -1
- package/dist/components/MeterGroup/styles.css +2 -2
- package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
- package/dist/components/Panel/styles.css +21 -6
- package/dist/components/Popover/Popover.vue.d.ts +2 -0
- package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
- package/dist/components/Popover/types.d.ts +3 -0
- package/dist/components/Popover/types.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/ProgressBar/styles.css +30 -8
- package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts.map +1 -1
- package/dist/components/ProgressSpinner/styles.css +3 -3
- package/dist/components/Result/index.d.ts.map +1 -1
- package/dist/components/Result/styles.css +17 -17
- package/dist/components/ScrollTop/ScrollTop.vue.d.ts +1 -1
- package/dist/components/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/dist/components/Scrollbar/Scrollbar.vue.d.ts.map +1 -1
- package/dist/components/Scrollbar/styles.css +3 -3
- package/dist/components/Select/Select.vue.d.ts +15 -4
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/styles.css +42 -91
- package/dist/components/Select/types.d.ts +19 -1
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/Sidebar/styles.css +8 -10
- package/dist/components/Skeleton/Skeleton.vue.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Slider/Slider.vue.d.ts +1 -1
- package/dist/components/Slider/styles.css +9 -0
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts +2 -0
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
- package/dist/components/SpeedDial/types.d.ts +3 -0
- package/dist/components/SpeedDial/types.d.ts.map +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts +2 -0
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/styles.css +5 -0
- package/dist/components/SplitButton/types.d.ts +3 -0
- package/dist/components/SplitButton/types.d.ts.map +1 -1
- package/dist/components/Splitter/Splitter.vue.d.ts +5 -3
- package/dist/components/Splitter/Splitter.vue.d.ts.map +1 -1
- package/dist/components/Splitter/index.d.ts +1 -1
- package/dist/components/Splitter/index.d.ts.map +1 -1
- package/dist/components/Splitter/styles.css +12 -0
- package/dist/components/Splitter/types.d.ts +9 -3
- package/dist/components/Splitter/types.d.ts.map +1 -1
- package/dist/components/Status/Status.vue.d.ts.map +1 -1
- package/dist/components/Status/index.d.ts.map +1 -1
- package/dist/components/Status/styles.css +18 -16
- package/dist/components/Switch/Switch.vue.d.ts +1 -1
- package/dist/components/Table/Table.vue.d.ts +26 -26
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Table/TableLoadingLine.vue.d.ts.map +1 -1
- package/dist/components/Table/hooks/useTotalItems.d.ts.map +1 -1
- package/dist/components/Table/styles.css +60 -40
- package/dist/components/Tag/styles.css +4 -2
- package/dist/components/TieredMenu/TieredMenu.vue.d.ts +3 -1
- package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
- package/dist/components/TieredMenu/styles.css +2 -0
- package/dist/components/TieredMenu/types.d.ts +3 -0
- package/dist/components/TieredMenu/types.d.ts.map +1 -1
- package/dist/components/Toast/Toast.vue.d.ts +2 -0
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toast/types.d.ts +3 -0
- package/dist/components/Toast/types.d.ts.map +1 -1
- package/dist/components/Toolbar/styles.css +1 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +2 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/types.d.ts +3 -0
- package/dist/components/Tooltip/types.d.ts.map +1 -1
- package/dist/components/Tree/styles.css +1 -1
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts +2 -0
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts +2 -0
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/styles.css +5 -57
- package/dist/components/TreeSelect/types.d.ts +3 -0
- package/dist/components/TreeSelect/types.d.ts.map +1 -1
- package/dist/components/TreeTable/styles.css +1 -1
- package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts +7 -3
- package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts.map +1 -1
- package/dist/components/VirtualScroller/index.d.ts +1 -1
- package/dist/components/VirtualScroller/index.d.ts.map +1 -1
- package/dist/components/VirtualScroller/types.d.ts +5 -0
- package/dist/components/VirtualScroller/types.d.ts.map +1 -1
- package/dist/{config-BdK5ccNT.js → config-CapALqt3.js} +10 -2
- package/dist/config-provider/index.js +5 -3
- package/dist/config-provider/style.css +247 -19
- package/dist/confirm-dialog/index.js +87 -74
- package/dist/confirm-dialog/style.css +419 -22
- package/dist/confirm-popup/index.js +82 -68
- package/dist/confirm-popup/style.css +229 -18
- package/dist/context-menu/index.js +112 -99
- package/dist/context-menu/style.css +234 -21
- package/dist/data-view/index.js +49 -49
- package/dist/data-view/style.css +623 -123
- package/dist/data-view/style.js +1 -1
- package/dist/date-picker/index.js +166 -152
- package/dist/date-picker/style.css +229 -18
- package/dist/dialog/index.js +76 -63
- package/dist/dialog/style.css +419 -22
- package/dist/divider/style.css +228 -17
- package/dist/dock/index.js +3 -3
- package/dist/dock/style.css +229 -18
- package/dist/drawer/index.js +72 -61
- package/dist/drawer/style.css +418 -22
- package/dist/dropdown/index.js +157 -124
- package/dist/dropdown/style.css +259 -25
- package/dist/empty/index.js +3 -3
- package/dist/empty/style.css +235 -24
- package/dist/fieldset/index.js +19 -19
- package/dist/fieldset/style.css +246 -24
- package/dist/file-upload/index.js +3 -3
- package/dist/file-upload/style.css +229 -18
- package/dist/flex/index.js +2 -2
- package/dist/flex/style.css +228 -17
- package/dist/float-label/index.js +1 -1
- package/dist/float-label/style.css +247 -24
- package/dist/fluid/index.js +1 -1
- package/dist/fluid/style.css +228 -17
- package/dist/form/index.js +2 -2
- package/dist/form/style.css +249 -17
- package/dist/gallery/index.js +4 -4
- package/dist/gallery/style.css +232 -21
- package/dist/grid/index.js +1 -1
- package/dist/grid/style.css +228 -17
- package/dist/icon/index.js +93 -39
- package/dist/icon/style.css +229 -18
- package/dist/icon-COrt_N8A.js +18 -0
- package/dist/icon-field/index.js +2 -2
- package/dist/icon-field/style.css +247 -19
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5964 -5327
- package/dist/inplace/index.js +1 -1
- package/dist/inplace/style.css +228 -17
- package/dist/input/index.js +4 -4
- package/dist/input/style.css +248 -20
- package/dist/input-color/index.js +3 -3
- package/dist/input-color/style.css +228 -17
- package/dist/input-group/index.js +1 -1
- package/dist/input-group/style.css +228 -17
- package/dist/input-number/index.js +4 -4
- package/dist/input-number/style.css +229 -18
- package/dist/input-otp/index.js +3 -3
- package/dist/input-otp/style.css +228 -17
- package/dist/input-password/index.js +4 -4
- package/dist/input-password/style.css +229 -18
- package/dist/input-tags/index.js +4 -4
- package/dist/input-tags/style.css +232 -19
- package/dist/knob/index.js +1 -1
- package/dist/knob/style.css +228 -17
- package/dist/label/index.js +1 -1
- package/dist/label/style.css +228 -17
- package/dist/layout/index.js +7 -7
- package/dist/layout/style.css +261 -37
- package/dist/listbox/index.js +142 -87
- package/dist/listbox/style.css +269 -20
- package/dist/listbox/style.js +1 -0
- package/dist/loading/index.js +32 -407
- package/dist/loading/style.css +253 -34
- package/dist/{locale-B36KH7c3.js → locale-Bzm2nbEp.js} +1 -1
- package/dist/mega-menu/index.js +131 -119
- package/dist/mega-menu/style.css +230 -18
- package/dist/menu/index.js +278 -261
- package/dist/menu/style.css +248 -30
- package/dist/menubar/index.js +148 -133
- package/dist/menubar/style.css +240 -21
- package/dist/message/index.js +120 -107
- package/dist/message/style.css +229 -18
- package/dist/meter-group/index.js +1 -1
- package/dist/meter-group/style.css +230 -19
- package/dist/order-list/index.js +4 -4
- package/dist/order-list/style.css +229 -18
- package/dist/page/index.js +3 -3
- package/dist/page/style.css +229 -18
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +229 -18
- package/dist/panel/index.js +31 -31
- package/dist/panel/style.css +250 -24
- package/dist/pick-list/index.js +4 -4
- package/dist/pick-list/style.css +229 -18
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +228 -17
- package/dist/progress-bar/index.js +5 -2
- package/dist/progress-bar/style.css +258 -25
- package/dist/progress-spinner/index.js +105 -2
- package/dist/progress-spinner/style.css +231 -20
- package/dist/radio/index.js +2 -2
- package/dist/radio/style.css +228 -17
- package/dist/rating/index.js +4 -4
- package/dist/rating/style.css +229 -18
- package/dist/result/index.js +3 -3
- package/dist/result/style.css +246 -35
- package/dist/scroll-top/index.js +4 -4
- package/dist/scroll-top/style.css +232 -21
- package/dist/scrollbar/index.js +1 -1
- package/dist/scrollbar/style.css +231 -20
- package/dist/select/index.js +343 -181
- package/dist/select/style.css +491 -114
- package/dist/select/style.js +2 -0
- package/dist/select-button/index.js +2 -2
- package/dist/select-button/style.css +228 -17
- package/dist/shared/FlyoutSubmenu.vue.d.ts.map +1 -1
- package/dist/shared/componentDefaults.d.ts +62 -0
- package/dist/shared/componentDefaults.d.ts.map +1 -1
- package/dist/shared/config.d.ts +13 -2
- package/dist/shared/config.d.ts.map +1 -1
- package/dist/shared/menu/icon.d.ts.map +1 -1
- package/dist/shared/styles/control-suffix.css +13 -2
- package/dist/shared/styles/select-overlay.css +175 -0
- package/dist/shared/useFloatingViewportSync.d.ts +10 -0
- package/dist/shared/useFloatingViewportSync.d.ts.map +1 -0
- package/dist/shared/usePauseOffscreen.d.ts +14 -0
- package/dist/shared/usePauseOffscreen.d.ts.map +1 -0
- package/dist/sidebar/index.js +4 -4
- package/dist/sidebar/style.css +237 -28
- package/dist/skeleton/index.js +34 -19
- package/dist/skeleton/style.css +228 -17
- package/dist/slider/index.js +3 -3
- package/dist/slider/style.css +237 -17
- package/dist/space/index.js +2 -2
- package/dist/space/style.css +228 -17
- package/dist/speed-dial/index.js +112 -98
- package/dist/speed-dial/style.css +229 -18
- package/dist/split-button/index.js +106 -92
- package/dist/split-button/style.css +234 -18
- package/dist/splitter/index.js +94 -80
- package/dist/splitter/style.css +240 -17
- package/dist/status/index.js +30 -26
- package/dist/status/style.css +247 -34
- package/dist/stepper/index.js +2 -2
- package/dist/stepper/style.css +229 -18
- package/dist/styles/base.css +132 -5
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +2 -2
- package/dist/switch/style.css +228 -17
- package/dist/table/index.js +351 -349
- package/dist/table/style.css +687 -147
- package/dist/table/style.js +1 -1
- package/dist/tabs/index.js +4 -4
- package/dist/tabs/style.css +232 -21
- package/dist/tag/index.js +3 -3
- package/dist/tag/style.css +233 -20
- package/dist/terminal/index.js +3 -3
- package/dist/terminal/style.css +228 -17
- package/dist/textarea/index.js +4 -4
- package/dist/textarea/style.css +229 -18
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/motionPresets.d.ts +30 -0
- package/dist/theme/motionPresets.d.ts.map +1 -0
- package/dist/theme/styles.css +96 -12
- package/dist/theme/tokens.d.ts +17 -0
- package/dist/theme/tokens.d.ts.map +1 -1
- package/dist/theme/useMotion.d.ts.map +1 -1
- package/dist/theme/useMotionTransition.d.ts +19 -0
- package/dist/theme/useMotionTransition.d.ts.map +1 -0
- package/dist/tiered-menu/index.js +81 -67
- package/dist/tiered-menu/style.css +234 -21
- package/dist/timeline/index.js +3 -3
- package/dist/timeline/style.css +232 -21
- package/dist/toast/index.js +49 -36
- package/dist/toast/style.css +229 -18
- package/dist/toggle-button/index.js +3 -3
- package/dist/toggle-button/style.css +229 -18
- package/dist/toolbar/index.js +1 -1
- package/dist/toolbar/style.css +229 -17
- package/dist/tooltip/index.js +1 -1
- package/dist/tooltip/style.css +228 -17
- package/dist/tree/index.js +5 -8
- package/dist/tree/style.css +230 -19
- package/dist/tree-select/index.js +228 -203
- package/dist/tree-select/style.css +427 -81
- package/dist/tree-select/style.js +1 -0
- package/dist/tree-table/index.js +4 -4
- package/dist/tree-table/style.css +230 -19
- package/dist/{useComponentAttrs-BTYEe61P.js → useComponentAttrs-e-5QAjdw.js} +1 -1
- package/dist/useFloatingViewportSync-DZdJ7W8n.js +19 -0
- package/dist/useMotionTransition-Bxnnb_9u.js +49 -0
- package/dist/usePauseOffscreen-BIikV_gj.js +25 -0
- package/dist/virtual-scroller/index.js +2 -56
- package/dist/virtual-scroller/style.css +231 -20
- package/package.json +2 -1
- package/dist/FlyoutSubmenu-B_bkgKag.js +0 -49
- package/dist/Icon-B6IBrJ5S.js +0 -606
- package/dist/Popover-Dq_p0vib.js +0 -166
- package/dist/ProgressSpinner-DuBpPkna.js +0 -90
- package/dist/Tooltip-CU1xFt_N.js +0 -93
- package/dist/components/Icon/icons-tabler.d.ts +0 -77
- package/dist/components/Icon/icons-tabler.d.ts.map +0 -1
- package/dist/icon-iOBeyIRp.js +0 -27
package/dist/menu/index.js
CHANGED
|
@@ -1,91 +1,93 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "../Icon-
|
|
3
|
-
import {
|
|
4
|
-
import { t as i } from "../
|
|
5
|
-
import { t as a } from "../
|
|
6
|
-
import { t as o } from "../
|
|
7
|
-
import { t as s } from "../
|
|
8
|
-
import { t as c } from "../
|
|
9
|
-
import { t as ee } from "../
|
|
10
|
-
import { t as l } from "../
|
|
11
|
-
import { t as
|
|
12
|
-
import {
|
|
1
|
+
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
+
import { t } from "../Icon-od9Ob-Ay.js";
|
|
3
|
+
import { t as n } from "../useMotionTransition-Bxnnb_9u.js";
|
|
4
|
+
import { n as r, t as i } from "../overlay-oR-5MDuE.js";
|
|
5
|
+
import { t as a } from "../overlayPlacement-Cd20JTD_.js";
|
|
6
|
+
import { t as o } from "../useFloatingViewportSync-DZdJ7W8n.js";
|
|
7
|
+
import { t as s } from "../useMenuKeyboard-BedmYE4W.js";
|
|
8
|
+
import { t as c } from "../Scrollbar-DTeJ8P5b.js";
|
|
9
|
+
import { t as ee } from "../icon-COrt_N8A.js";
|
|
10
|
+
import { t as l } from "../key-CaQYVkjh.js";
|
|
11
|
+
import { t as u } from "../lastPointer-CRxcUqdd.js";
|
|
12
|
+
import { t as d } from "../Popover-BQ07q4VV.js";
|
|
13
|
+
import { t as f } from "../Tooltip-D5DO0B3z.js";
|
|
14
|
+
import { c as te } from "../config-CapALqt3.js";
|
|
13
15
|
import "./style.js";
|
|
14
|
-
import { Fragment as
|
|
16
|
+
import { Fragment as p, Teleport as ne, Transition as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createVNode as b, defineComponent as x, getCurrentInstance as S, inject as C, mergeProps as w, nextTick as T, normalizeClass as E, normalizeStyle as D, onBeforeUnmount as re, openBlock as O, provide as k, reactive as ie, ref as A, renderList as ae, renderSlot as j, resolveDynamicComponent as M, toDisplayString as N, unref as P, useAttrs as oe, useSlots as se, watch as ce, withCtx as F } from "vue";
|
|
15
17
|
//#region src/shared/menu/tree.ts
|
|
16
|
-
function
|
|
17
|
-
return
|
|
18
|
+
function I(e, t, n = "item") {
|
|
19
|
+
return l(e, t, n);
|
|
18
20
|
}
|
|
19
|
-
function
|
|
21
|
+
function L(e, t, n = "item") {
|
|
20
22
|
for (let r = 0; r < e.length; r++) {
|
|
21
23
|
let i = e[r];
|
|
22
24
|
if (i.separator) continue;
|
|
23
|
-
let a =
|
|
25
|
+
let a = I(i, r, n);
|
|
24
26
|
if (a === t) return [];
|
|
25
27
|
if (i.items?.length) {
|
|
26
|
-
let e =
|
|
28
|
+
let e = L(i.items, t, `${n}-${r}`);
|
|
27
29
|
if (e !== null) return [a, ...e];
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
return null;
|
|
31
33
|
}
|
|
32
|
-
function
|
|
33
|
-
return e.items?.length ?
|
|
34
|
+
function le(e, t, n, r = "item") {
|
|
35
|
+
return e.items?.length ? I(e, n, r) === t || L(e.items, t, `${r}-${n}`) !== null : !1;
|
|
34
36
|
}
|
|
35
|
-
function
|
|
37
|
+
function ue(e, t = "item") {
|
|
36
38
|
let n = [];
|
|
37
39
|
for (let r = 0; r < e.length; r++) {
|
|
38
40
|
let i = e[r];
|
|
39
41
|
if (i.separator || !i.items?.length) continue;
|
|
40
|
-
let a =
|
|
41
|
-
n.push(a), n.push(...
|
|
42
|
+
let a = I(i, r, t);
|
|
43
|
+
n.push(a), n.push(...ue(i.items, `${t}-${r}`));
|
|
42
44
|
}
|
|
43
45
|
return n;
|
|
44
46
|
}
|
|
45
|
-
function
|
|
47
|
+
function de(e, t = "item") {
|
|
46
48
|
let n = [];
|
|
47
49
|
for (let r = 0; r < e.length; r++) {
|
|
48
50
|
let i = e[r];
|
|
49
|
-
i.separator || !i.items?.length || n.push(
|
|
51
|
+
i.separator || !i.items?.length || n.push(I(i, r, t));
|
|
50
52
|
}
|
|
51
53
|
return n;
|
|
52
54
|
}
|
|
53
55
|
//#endregion
|
|
54
56
|
//#region src/components/Menu/context.ts
|
|
55
|
-
var
|
|
57
|
+
var fe = Symbol("muMenu");
|
|
56
58
|
//#endregion
|
|
57
59
|
//#region src/shared/optionalRouter.ts
|
|
58
|
-
function
|
|
60
|
+
function R(e) {
|
|
59
61
|
return !!(e && typeof e == "object" && "resolve" in e && "push" in e);
|
|
60
62
|
}
|
|
61
|
-
function
|
|
62
|
-
let e =
|
|
63
|
+
function pe() {
|
|
64
|
+
let e = S();
|
|
63
65
|
if (!e) return !1;
|
|
64
66
|
let t = e.appContext.provides;
|
|
65
|
-
for (let e of Reflect.ownKeys(t)) if (
|
|
67
|
+
for (let e of Reflect.ownKeys(t)) if (R(t[e])) return !0;
|
|
66
68
|
let n = e;
|
|
67
69
|
for (; n;) {
|
|
68
70
|
let e = n.provides;
|
|
69
71
|
if (e) {
|
|
70
|
-
for (let t of Reflect.ownKeys(e)) if (
|
|
72
|
+
for (let t of Reflect.ownKeys(e)) if (R(e[t])) return !0;
|
|
71
73
|
}
|
|
72
74
|
n = n.parent;
|
|
73
75
|
}
|
|
74
76
|
return !!e.appContext.components.RouterLink;
|
|
75
77
|
}
|
|
76
|
-
function
|
|
77
|
-
let e =
|
|
78
|
-
return !e || !
|
|
78
|
+
function z() {
|
|
79
|
+
let e = S();
|
|
80
|
+
return !e || !pe() ? null : e.appContext.components.RouterLink ?? null;
|
|
79
81
|
}
|
|
80
|
-
function
|
|
82
|
+
function B(e) {
|
|
81
83
|
return typeof e == "string" ? e : typeof e.path == "string" ? e.path : typeof e.href == "string" ? e.href : "#";
|
|
82
84
|
}
|
|
83
|
-
function
|
|
85
|
+
function me(e) {
|
|
84
86
|
return typeof e == "string" ? /^(?:[a-z][a-z\d+\-.]*:)?\/\//i.test(e) || e.startsWith("mailto:") || e.startsWith("tel:") : !1;
|
|
85
87
|
}
|
|
86
88
|
//#endregion
|
|
87
89
|
//#region src/components/Menu/MenuCollapsedTooltip.vue
|
|
88
|
-
var
|
|
90
|
+
var V = /* @__PURE__ */ x({
|
|
89
91
|
__name: "MenuCollapsedTooltip",
|
|
90
92
|
props: {
|
|
91
93
|
label: {},
|
|
@@ -99,57 +101,57 @@ var H = /* @__PURE__ */ y({
|
|
|
99
101
|
}
|
|
100
102
|
},
|
|
101
103
|
setup(e) {
|
|
102
|
-
let t = e, n =
|
|
103
|
-
return (t, r) => n.value ? (
|
|
104
|
+
let t = e, n = h(() => t.active && !!t.label && !t.suspended);
|
|
105
|
+
return (t, r) => n.value ? (O(), g(f, {
|
|
104
106
|
key: 0,
|
|
105
107
|
content: e.label,
|
|
106
108
|
placement: "right",
|
|
107
109
|
"show-delay": 200,
|
|
108
110
|
"hide-delay": 0
|
|
109
111
|
}, {
|
|
110
|
-
default:
|
|
112
|
+
default: F(() => [j(t.$slots, "default")]),
|
|
111
113
|
_: 3
|
|
112
114
|
}, 8, ["content"])) : j(t.$slots, "default", {}, void 0, void 0, 1);
|
|
113
115
|
}
|
|
114
|
-
}),
|
|
116
|
+
}), H = {
|
|
115
117
|
key: 0,
|
|
116
118
|
class: "m-menu__separator",
|
|
117
119
|
role: "separator"
|
|
118
|
-
},
|
|
120
|
+
}, U = [
|
|
119
121
|
"tabindex",
|
|
120
122
|
"data-m-menu-key",
|
|
121
123
|
"aria-label",
|
|
122
124
|
"aria-expanded"
|
|
123
|
-
],
|
|
125
|
+
], W = {
|
|
124
126
|
key: 0,
|
|
125
127
|
class: "m-menu__icon",
|
|
126
128
|
"aria-hidden": "true"
|
|
127
|
-
},
|
|
129
|
+
}, G = { class: "m-menu__label" }, he = {
|
|
128
130
|
key: 1,
|
|
129
131
|
class: "m-menu__arrow",
|
|
130
132
|
"aria-hidden": "true"
|
|
131
|
-
},
|
|
133
|
+
}, ge = {
|
|
132
134
|
class: "m-menu m-menu--flyout",
|
|
133
135
|
role: "menu"
|
|
134
|
-
},
|
|
136
|
+
}, _e = [
|
|
135
137
|
"tabindex",
|
|
136
138
|
"data-m-menu-key",
|
|
137
139
|
"aria-expanded",
|
|
138
140
|
"aria-disabled",
|
|
139
141
|
"onClick"
|
|
140
|
-
],
|
|
142
|
+
], ve = {
|
|
141
143
|
key: 0,
|
|
142
144
|
class: "m-menu__icon",
|
|
143
145
|
"aria-hidden": "true"
|
|
144
|
-
},
|
|
146
|
+
}, K = { class: "m-menu__label" }, q = {
|
|
145
147
|
key: 0,
|
|
146
148
|
class: "m-menu__submenu",
|
|
147
149
|
role: "group"
|
|
148
|
-
},
|
|
150
|
+
}, J = { class: "m-menu__submenu-inner" }, Y = {
|
|
149
151
|
key: 0,
|
|
150
152
|
class: "m-menu__icon",
|
|
151
153
|
"aria-hidden": "true"
|
|
152
|
-
},
|
|
154
|
+
}, ye = { class: "m-menu__label" }, X = /* @__PURE__ */ x({
|
|
153
155
|
__name: "MenuNodes",
|
|
154
156
|
props: {
|
|
155
157
|
items: {},
|
|
@@ -158,32 +160,32 @@ var H = /* @__PURE__ */ y({
|
|
|
158
160
|
flyout: { type: Boolean }
|
|
159
161
|
},
|
|
160
162
|
setup(e) {
|
|
161
|
-
let n = e, r =
|
|
163
|
+
let n = e, r = C(fe);
|
|
162
164
|
if (!r) throw Error("MenuNodes must be used inside MMenu");
|
|
163
|
-
let i = r, a =
|
|
164
|
-
function
|
|
165
|
+
let i = r, a = z(), o = h(() => i.collapsed.value && !n.flyout), s = h(() => i.mode === "horizontal"), c = h(() => (o.value || s.value) && !n.flyout);
|
|
166
|
+
function l(e, t) {
|
|
165
167
|
i.setFlyoutOpen(e, t);
|
|
166
168
|
}
|
|
167
169
|
function u(e, t) {
|
|
168
170
|
return i.resolveKey(e, t, n.prefix);
|
|
169
171
|
}
|
|
170
172
|
function f(e) {
|
|
171
|
-
return
|
|
173
|
+
return ee(e.icon);
|
|
172
174
|
}
|
|
173
|
-
function
|
|
175
|
+
function te(e, t) {
|
|
174
176
|
if (e.disabled) {
|
|
175
177
|
t.preventDefault();
|
|
176
178
|
return;
|
|
177
179
|
}
|
|
178
180
|
i.activate(e), e.to || t.preventDefault();
|
|
179
181
|
}
|
|
180
|
-
function
|
|
181
|
-
e.disabled ||
|
|
182
|
+
function ne(e, t) {
|
|
183
|
+
e.disabled || c.value || i.toggleExpand(u(e, t));
|
|
182
184
|
}
|
|
183
|
-
function
|
|
185
|
+
function x(e, t) {
|
|
184
186
|
return i.isExpanded(u(e, t));
|
|
185
187
|
}
|
|
186
|
-
function
|
|
188
|
+
function S(e, t) {
|
|
187
189
|
let r = f(e);
|
|
188
190
|
return {
|
|
189
191
|
"m-menu__item-content--selected": i.isSelected(e, t, n.prefix),
|
|
@@ -194,76 +196,76 @@ var H = /* @__PURE__ */ y({
|
|
|
194
196
|
"m-menu__item-content--active": i.activeKey.value === u(e, t)
|
|
195
197
|
};
|
|
196
198
|
}
|
|
197
|
-
function
|
|
199
|
+
function w(e, t) {
|
|
198
200
|
return n.flyout ? 0 : i.tabindexForKey(u(e, t));
|
|
199
201
|
}
|
|
200
|
-
function
|
|
201
|
-
if (!(
|
|
202
|
+
function T(e) {
|
|
203
|
+
if (!(s.value || n.flyout)) return i.paddingStyle(e);
|
|
202
204
|
}
|
|
203
205
|
function re(e, t) {
|
|
204
|
-
return
|
|
206
|
+
return x(e, t);
|
|
205
207
|
}
|
|
206
208
|
function k(e) {
|
|
207
|
-
return !!(e.to && a && !
|
|
208
|
-
}
|
|
209
|
-
function j(e) {
|
|
210
|
-
if (!(!e.to || k(e))) return de(e.to);
|
|
209
|
+
return !!(e.to && a && !me(e.to));
|
|
211
210
|
}
|
|
212
211
|
function ie(e) {
|
|
212
|
+
if (!(!e.to || k(e))) return B(e.to);
|
|
213
|
+
}
|
|
214
|
+
function A(e) {
|
|
213
215
|
if (!(!k(e) || !e.to)) return e.to;
|
|
214
216
|
}
|
|
215
|
-
function
|
|
217
|
+
function j(e) {
|
|
216
218
|
return o.value && !!e.label;
|
|
217
219
|
}
|
|
218
|
-
function
|
|
220
|
+
function oe(e, t) {
|
|
219
221
|
return !!i.flyoutOpen[u(e, t)];
|
|
220
222
|
}
|
|
221
|
-
return (n, r) => (
|
|
223
|
+
return (n, r) => (O(!0), v(p, null, ae(e.items, (n, r) => (O(), v(p, { key: u(n, r) }, [n.separator ? (O(), v("div", H)) : n.items?.length ? (O(), v("div", {
|
|
222
224
|
key: 1,
|
|
223
|
-
class:
|
|
225
|
+
class: E(["m-menu__item m-menu__item--submenu", { "m-menu__item--horizontal": s.value }]),
|
|
224
226
|
role: "none"
|
|
225
|
-
}, [
|
|
227
|
+
}, [c.value ? (O(), g(d, {
|
|
226
228
|
key: 0,
|
|
227
229
|
class: "m-menu__collapsed-popover",
|
|
228
230
|
"model-value": !!P(i).flyoutOpen[u(n, r)],
|
|
229
|
-
trigger:
|
|
230
|
-
placement:
|
|
231
|
-
"show-delay":
|
|
232
|
-
"hide-delay":
|
|
233
|
-
"onUpdate:modelValue": (e) =>
|
|
231
|
+
trigger: s.value ? "click" : "hover",
|
|
232
|
+
placement: s.value ? "bottom-start" : "right-start",
|
|
233
|
+
"show-delay": s.value ? 0 : 50,
|
|
234
|
+
"hide-delay": s.value ? 0 : 80,
|
|
235
|
+
"onUpdate:modelValue": (e) => l(u(n, r), e)
|
|
234
236
|
}, {
|
|
235
|
-
default:
|
|
237
|
+
default: F(() => [b(V, {
|
|
236
238
|
label: n.label,
|
|
237
|
-
active:
|
|
238
|
-
suspended:
|
|
239
|
+
active: j(n),
|
|
240
|
+
suspended: oe(n, r)
|
|
239
241
|
}, {
|
|
240
|
-
default:
|
|
241
|
-
class:
|
|
242
|
-
style: T(
|
|
242
|
+
default: F(() => [y("div", {
|
|
243
|
+
class: E(["m-menu__item-content", S(n, r)]),
|
|
244
|
+
style: D(T(e.depth)),
|
|
243
245
|
role: "menuitem",
|
|
244
|
-
tabindex:
|
|
246
|
+
tabindex: w(n, r),
|
|
245
247
|
"data-m-menu-key": e.flyout ? void 0 : u(n, r),
|
|
246
248
|
"aria-label": n.label,
|
|
247
249
|
"aria-haspopup": "menu",
|
|
248
|
-
"aria-expanded":
|
|
250
|
+
"aria-expanded": s.value ? !!P(i).flyoutOpen[u(n, r)] : void 0
|
|
249
251
|
}, [
|
|
250
|
-
f(n) ? (
|
|
252
|
+
f(n) ? (O(), v("span", W, [b(t, {
|
|
251
253
|
name: f(n),
|
|
252
254
|
size: "sm"
|
|
253
|
-
}, null, 8, ["name"])])) :
|
|
254
|
-
|
|
255
|
-
|
|
255
|
+
}, null, 8, ["name"])])) : _("", !0),
|
|
256
|
+
y("span", G, N(n.label), 1),
|
|
257
|
+
s.value ? (O(), v("span", he, [b(t, {
|
|
256
258
|
name: "chevron-down",
|
|
257
259
|
size: "sm"
|
|
258
|
-
})])) :
|
|
259
|
-
], 14,
|
|
260
|
+
})])) : _("", !0)
|
|
261
|
+
], 14, U)]),
|
|
260
262
|
_: 2
|
|
261
263
|
}, 1032, [
|
|
262
264
|
"label",
|
|
263
265
|
"active",
|
|
264
266
|
"suspended"
|
|
265
267
|
])]),
|
|
266
|
-
content:
|
|
268
|
+
content: F(() => [y("div", ge, [b(X, {
|
|
267
269
|
items: n.items,
|
|
268
270
|
depth: 0,
|
|
269
271
|
prefix: `${e.prefix}-${r}`,
|
|
@@ -277,31 +279,31 @@ var H = /* @__PURE__ */ y({
|
|
|
277
279
|
"show-delay",
|
|
278
280
|
"hide-delay",
|
|
279
281
|
"onUpdate:modelValue"
|
|
280
|
-
])) : (
|
|
281
|
-
class:
|
|
282
|
-
style: T(
|
|
282
|
+
])) : (O(), v(p, { key: 1 }, [y("div", {
|
|
283
|
+
class: E(["m-menu__item-content", S(n, r)]),
|
|
284
|
+
style: D(T(e.depth)),
|
|
283
285
|
role: "menuitem",
|
|
284
|
-
tabindex:
|
|
286
|
+
tabindex: w(n, r),
|
|
285
287
|
"data-m-menu-key": e.flyout ? void 0 : u(n, r),
|
|
286
288
|
"aria-haspopup": "menu",
|
|
287
|
-
"aria-expanded":
|
|
289
|
+
"aria-expanded": x(n, r),
|
|
288
290
|
"aria-disabled": n.disabled || void 0,
|
|
289
|
-
onClick: (e) =>
|
|
291
|
+
onClick: (e) => ne(n, r)
|
|
290
292
|
}, [
|
|
291
|
-
f(n) ? (
|
|
293
|
+
f(n) ? (O(), v("span", ve, [b(t, {
|
|
292
294
|
name: f(n),
|
|
293
295
|
size: "sm"
|
|
294
|
-
}, null, 8, ["name"])])) :
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
class:
|
|
296
|
+
}, null, 8, ["name"])])) : _("", !0),
|
|
297
|
+
y("span", K, N(n.label), 1),
|
|
298
|
+
y("span", {
|
|
299
|
+
class: E(["m-menu__arrow", { "m-menu__arrow--expanded": re(n, r) }]),
|
|
298
300
|
"aria-hidden": "true"
|
|
299
|
-
}, [
|
|
301
|
+
}, [b(t, {
|
|
300
302
|
name: "chevron-right",
|
|
301
303
|
size: "sm"
|
|
302
304
|
})], 2)
|
|
303
|
-
], 14,
|
|
304
|
-
default:
|
|
305
|
+
], 14, _e), b(m, { name: "m-menu-expand" }, {
|
|
306
|
+
default: F(() => [x(n, r) ? (O(), v("div", q, [y("div", J, [b(X, {
|
|
305
307
|
items: n.items,
|
|
306
308
|
depth: e.depth + 1,
|
|
307
309
|
prefix: `${e.prefix}-${r}`
|
|
@@ -309,32 +311,32 @@ var H = /* @__PURE__ */ y({
|
|
|
309
311
|
"items",
|
|
310
312
|
"depth",
|
|
311
313
|
"prefix"
|
|
312
|
-
])])])) :
|
|
314
|
+
])])])) : _("", !0)]),
|
|
313
315
|
_: 2
|
|
314
|
-
}, 1024)], 64))], 2)) : (
|
|
316
|
+
}, 1024)], 64))], 2)) : (O(), v("div", {
|
|
315
317
|
key: 2,
|
|
316
|
-
class:
|
|
318
|
+
class: E(["m-menu__item", { "m-menu__item--horizontal": s.value }]),
|
|
317
319
|
role: "none"
|
|
318
|
-
}, [
|
|
320
|
+
}, [b(V, {
|
|
319
321
|
label: n.label,
|
|
320
|
-
active:
|
|
322
|
+
active: j(n)
|
|
321
323
|
}, {
|
|
322
|
-
default:
|
|
323
|
-
class:
|
|
324
|
-
style: T(
|
|
324
|
+
default: F(() => [(O(), g(M(k(n) ? P(a) : ie(n) ? "a" : "div"), {
|
|
325
|
+
class: E(["m-menu__item-content", S(n, r)]),
|
|
326
|
+
style: D(T(e.depth)),
|
|
325
327
|
role: "menuitem",
|
|
326
|
-
tabindex:
|
|
328
|
+
tabindex: w(n, r),
|
|
327
329
|
"data-m-menu-key": e.flyout ? void 0 : u(n, r),
|
|
328
330
|
"aria-disabled": n.disabled || void 0,
|
|
329
331
|
"aria-current": P(i).isSelected(n, r, e.prefix) ? "page" : void 0,
|
|
330
|
-
href:
|
|
331
|
-
to:
|
|
332
|
-
onClick: (e) =>
|
|
332
|
+
href: ie(n),
|
|
333
|
+
to: A(n),
|
|
334
|
+
onClick: (e) => te(n, e)
|
|
333
335
|
}, {
|
|
334
|
-
default:
|
|
336
|
+
default: F(() => [f(n) ? (O(), v("span", Y, [b(t, {
|
|
335
337
|
name: f(n),
|
|
336
338
|
size: "sm"
|
|
337
|
-
}, null, 8, ["name"])])) :
|
|
339
|
+
}, null, 8, ["name"])])) : _("", !0), y("span", ye, N(n.label), 1)]),
|
|
338
340
|
_: 2
|
|
339
341
|
}, 1032, [
|
|
340
342
|
"class",
|
|
@@ -350,7 +352,7 @@ var H = /* @__PURE__ */ y({
|
|
|
350
352
|
_: 2
|
|
351
353
|
}, 1032, ["label", "active"])], 2))], 64))), 128));
|
|
352
354
|
}
|
|
353
|
-
}),
|
|
355
|
+
}), be = /* @__PURE__ */ x({
|
|
354
356
|
inheritAttrs: !1,
|
|
355
357
|
__name: "Menu",
|
|
356
358
|
props: {
|
|
@@ -396,7 +398,11 @@ var H = /* @__PURE__ */ y({
|
|
|
396
398
|
type: Boolean,
|
|
397
399
|
default: !0
|
|
398
400
|
},
|
|
399
|
-
appendTo: {}
|
|
401
|
+
appendTo: {},
|
|
402
|
+
transition: {
|
|
403
|
+
type: [String, Boolean],
|
|
404
|
+
default: void 0
|
|
405
|
+
}
|
|
400
406
|
},
|
|
401
407
|
emits: [
|
|
402
408
|
"update:modelValue",
|
|
@@ -404,18 +410,23 @@ var H = /* @__PURE__ */ y({
|
|
|
404
410
|
"update:expandedKeys",
|
|
405
411
|
"select"
|
|
406
412
|
],
|
|
407
|
-
setup(t, { emit:
|
|
408
|
-
let
|
|
409
|
-
|
|
410
|
-
|
|
413
|
+
setup(t, { emit: ee }) {
|
|
414
|
+
let l = t, d = ee, f = oe(), { rootAttrs: p } = e(f, () => l.pt), x = se(), S = te(), { transitionName: C, transitionCss: ae } = n({
|
|
415
|
+
role: "popup",
|
|
416
|
+
local: () => l.transition,
|
|
417
|
+
componentName: "Menu",
|
|
418
|
+
fallback: "scale-fade"
|
|
419
|
+
}), M = A(null), N = A(null), R = A({}), pe = h(() => !!x.default?.()?.length), z = h(() => r(l.popup ? l : { teleport: !1 }, S.value.appendTo)), B = h(() => l.popup && i(l, S.value.appendTo)), me = h(() => l.embedded ?? !l.popup), V = h(() => l.selectedKey), H = A([]), U = ie({});
|
|
420
|
+
function W(e, t) {
|
|
421
|
+
U[e] = t;
|
|
411
422
|
}
|
|
412
|
-
function
|
|
413
|
-
for (let e of Object.keys(
|
|
423
|
+
function G() {
|
|
424
|
+
for (let e of Object.keys(U)) U[e] = !1;
|
|
414
425
|
}
|
|
415
|
-
function
|
|
416
|
-
let e =
|
|
426
|
+
function he() {
|
|
427
|
+
let e = N.value?.getBoundingClientRect();
|
|
417
428
|
if (e && (e.width > 0 || e.height > 0)) return e;
|
|
418
|
-
let { x: t, y: n } =
|
|
429
|
+
let { x: t, y: n } = u();
|
|
419
430
|
return {
|
|
420
431
|
left: t,
|
|
421
432
|
top: n,
|
|
@@ -425,35 +436,35 @@ var H = /* @__PURE__ */ y({
|
|
|
425
436
|
height: 0
|
|
426
437
|
};
|
|
427
438
|
}
|
|
428
|
-
function
|
|
429
|
-
!
|
|
439
|
+
function ge() {
|
|
440
|
+
!l.popup || !l.modelValue || !B.value || (R.value = a(he(), l.placement, { minWidth: "10rem" }));
|
|
430
441
|
}
|
|
431
|
-
function
|
|
432
|
-
|
|
442
|
+
function _e() {
|
|
443
|
+
l.modelValue && ge();
|
|
433
444
|
}
|
|
434
|
-
function
|
|
435
|
-
if (
|
|
436
|
-
|
|
445
|
+
function ve() {
|
|
446
|
+
if (l.defaultExpandAll) {
|
|
447
|
+
H.value = ue(l.model);
|
|
437
448
|
return;
|
|
438
449
|
}
|
|
439
|
-
if (
|
|
440
|
-
|
|
450
|
+
if (l.defaultExpandedKeys.length) {
|
|
451
|
+
H.value = [...l.defaultExpandedKeys];
|
|
441
452
|
return;
|
|
442
453
|
}
|
|
443
|
-
if (
|
|
444
|
-
let e =
|
|
445
|
-
|
|
454
|
+
if (l.selectedKey) {
|
|
455
|
+
let e = L(l.model, l.selectedKey);
|
|
456
|
+
H.value = e ?? [];
|
|
446
457
|
return;
|
|
447
458
|
}
|
|
448
|
-
|
|
459
|
+
H.value = [];
|
|
449
460
|
}
|
|
450
|
-
|
|
451
|
-
let K =
|
|
452
|
-
get: () =>
|
|
461
|
+
ve();
|
|
462
|
+
let K = h({
|
|
463
|
+
get: () => l.expandedKeys ?? H.value,
|
|
453
464
|
set: (e) => {
|
|
454
|
-
|
|
465
|
+
H.value = e, d("update:expandedKeys", e);
|
|
455
466
|
}
|
|
456
|
-
}), q =
|
|
467
|
+
}), q = h(() => de(l.model));
|
|
457
468
|
function J(e) {
|
|
458
469
|
return K.value.includes(e);
|
|
459
470
|
}
|
|
@@ -461,7 +472,7 @@ var H = /* @__PURE__ */ y({
|
|
|
461
472
|
let t = [...K.value], n = t.indexOf(e);
|
|
462
473
|
if (n >= 0) t.splice(n, 1);
|
|
463
474
|
else {
|
|
464
|
-
if (
|
|
475
|
+
if (l.accordion && q.value.includes(e)) {
|
|
465
476
|
for (let n of [...t]) if (q.value.includes(n) && n !== e) {
|
|
466
477
|
let e = t.indexOf(n);
|
|
467
478
|
e >= 0 && t.splice(e, 1);
|
|
@@ -471,50 +482,50 @@ var H = /* @__PURE__ */ y({
|
|
|
471
482
|
}
|
|
472
483
|
K.value = t;
|
|
473
484
|
}
|
|
474
|
-
function
|
|
485
|
+
function ye(e) {
|
|
475
486
|
if (!e) return;
|
|
476
|
-
let t =
|
|
487
|
+
let t = L(l.model, e);
|
|
477
488
|
if (!t?.length) return;
|
|
478
489
|
let n = /* @__PURE__ */ new Set([...K.value, ...t]);
|
|
479
|
-
if (
|
|
490
|
+
if (l.accordion) for (let e of q.value) n.has(e) && !t.includes(e) && n.delete(e);
|
|
480
491
|
K.value = Array.from(n);
|
|
481
492
|
}
|
|
482
|
-
|
|
483
|
-
function
|
|
484
|
-
return
|
|
493
|
+
ce(() => l.selectedKey, ye);
|
|
494
|
+
function be(e, t, n) {
|
|
495
|
+
return I(e, t, n);
|
|
485
496
|
}
|
|
486
|
-
function
|
|
487
|
-
let r =
|
|
488
|
-
return !!(
|
|
497
|
+
function xe(e, t, n) {
|
|
498
|
+
let r = be(e, t, n);
|
|
499
|
+
return !!(l.selectedKey && r === l.selectedKey);
|
|
489
500
|
}
|
|
490
|
-
function
|
|
491
|
-
return
|
|
501
|
+
function Se(e, t, n) {
|
|
502
|
+
return l.selectedKey ? le(e, l.selectedKey, t, n) : !1;
|
|
492
503
|
}
|
|
493
|
-
function
|
|
494
|
-
if (
|
|
504
|
+
function Ce(e) {
|
|
505
|
+
if (l.mode !== "horizontal" && l.collapsed) return Math.max(0, l.collapsedWidth / 2 - 10);
|
|
495
506
|
}
|
|
496
|
-
function
|
|
497
|
-
if (
|
|
498
|
-
if (
|
|
499
|
-
let t =
|
|
507
|
+
function we(e) {
|
|
508
|
+
if (l.mode === "horizontal") return { paddingInlineStart: `${l.rootIndent}px` };
|
|
509
|
+
if (l.collapsed) {
|
|
510
|
+
let t = Ce(e);
|
|
500
511
|
return t == null ? void 0 : { paddingInlineStart: `${t}px` };
|
|
501
512
|
}
|
|
502
513
|
return { paddingInlineStart: `calc(var(--m-menu-root-indent) + ${e} * var(--m-menu-indent))` };
|
|
503
514
|
}
|
|
504
|
-
function
|
|
515
|
+
function Te(e) {
|
|
505
516
|
if (e.disabled || e.separator) return;
|
|
506
517
|
e.command?.();
|
|
507
518
|
let t = e.key ?? e.label ?? null;
|
|
508
|
-
|
|
519
|
+
d("update:selectedKey", t), d("select", e), l.popup && (d("update:modelValue", !1), Ee()), l.mode === "horizontal" && G();
|
|
509
520
|
}
|
|
510
|
-
function
|
|
511
|
-
(
|
|
521
|
+
function Ee() {
|
|
522
|
+
(N.value?.querySelector("button, [tabindex]") ?? N.value)?.focus({ preventScroll: !0 });
|
|
512
523
|
}
|
|
513
|
-
let Z =
|
|
514
|
-
let e =
|
|
524
|
+
let Z = h(() => {
|
|
525
|
+
let e = l.collapsed || l.mode === "horizontal", t = [], n = (r, i, a) => {
|
|
515
526
|
r.forEach((r, o) => {
|
|
516
527
|
if (r.separator) return;
|
|
517
|
-
let s =
|
|
528
|
+
let s = I(r, o, i), c = !!r.items?.length;
|
|
518
529
|
t.push({
|
|
519
530
|
item: r,
|
|
520
531
|
key: s,
|
|
@@ -523,47 +534,47 @@ var H = /* @__PURE__ */ y({
|
|
|
523
534
|
}), c && !e && J(s) && n(r.items, `${i}-${o}`, s);
|
|
524
535
|
});
|
|
525
536
|
};
|
|
526
|
-
return n(
|
|
527
|
-
}), Q =
|
|
537
|
+
return n(l.model, "item", null), t;
|
|
538
|
+
}), Q = s({
|
|
528
539
|
itemCount: () => Z.value.length,
|
|
529
540
|
isItemDisabled: (e) => !!Z.value[e]?.item.disabled,
|
|
530
|
-
orientation: () =>
|
|
541
|
+
orientation: () => l.mode === "horizontal" ? "horizontal" : "vertical",
|
|
531
542
|
onActivate: (e) => {
|
|
532
543
|
let t = Z.value[e];
|
|
533
544
|
if (t) {
|
|
534
545
|
if (t.hasChildren) {
|
|
535
|
-
if (
|
|
536
|
-
let e = !
|
|
537
|
-
|
|
546
|
+
if (l.collapsed || l.mode === "horizontal") {
|
|
547
|
+
let e = !U[t.key];
|
|
548
|
+
G(), W(t.key, e);
|
|
538
549
|
} else Y(t.key);
|
|
539
550
|
return;
|
|
540
551
|
}
|
|
541
|
-
|
|
552
|
+
Te(t.item);
|
|
542
553
|
}
|
|
543
554
|
},
|
|
544
555
|
onEscape: () => {
|
|
545
|
-
|
|
556
|
+
l.popup ? d("update:modelValue", !1) : G();
|
|
546
557
|
},
|
|
547
|
-
returnFocusTo: () =>
|
|
548
|
-
}),
|
|
549
|
-
function
|
|
550
|
-
let t =
|
|
558
|
+
returnFocusTo: () => l.popup ? N.value?.querySelector("button, [tabindex]") ?? N.value : null
|
|
559
|
+
}), De = h(() => Z.value[Q.activeIndex.value]?.key ?? null);
|
|
560
|
+
function Oe(e) {
|
|
561
|
+
let t = De.value;
|
|
551
562
|
return t == null ? Z.value.find((e) => !e.item.disabled)?.key === e ? 0 : -1 : e === t ? 0 : -1;
|
|
552
563
|
}
|
|
553
|
-
function
|
|
554
|
-
if (e == null || !
|
|
555
|
-
let t =
|
|
564
|
+
function ke(e) {
|
|
565
|
+
if (e == null || !M.value) return;
|
|
566
|
+
let t = M.value.querySelectorAll("[data-m-menu-key]");
|
|
556
567
|
for (let n of t) if (n.dataset.mMenuKey === e) {
|
|
557
568
|
n.focus({ preventScroll: !0 });
|
|
558
569
|
return;
|
|
559
570
|
}
|
|
560
571
|
}
|
|
561
|
-
function
|
|
572
|
+
function Ae(e) {
|
|
562
573
|
let t = Z.value[Q.activeIndex.value];
|
|
563
|
-
if (
|
|
574
|
+
if (l.mode !== "horizontal") {
|
|
564
575
|
if (e.key === "ArrowRight") {
|
|
565
576
|
if (e.preventDefault(), !t) return;
|
|
566
|
-
if (t.hasChildren && !
|
|
577
|
+
if (t.hasChildren && !l.collapsed) {
|
|
567
578
|
if (!J(t.key)) Y(t.key);
|
|
568
579
|
else {
|
|
569
580
|
let e = Z.value.findIndex((e) => e.parentKey === t.key);
|
|
@@ -574,7 +585,7 @@ var H = /* @__PURE__ */ y({
|
|
|
574
585
|
}
|
|
575
586
|
if (e.key === "ArrowLeft") {
|
|
576
587
|
if (e.preventDefault(), !t) return;
|
|
577
|
-
if (t.hasChildren && !
|
|
588
|
+
if (t.hasChildren && !l.collapsed && J(t.key)) Y(t.key);
|
|
578
589
|
else if (t.parentKey != null) {
|
|
579
590
|
let e = Z.value.findIndex((e) => e.key === t.parentKey);
|
|
580
591
|
e >= 0 && Q.setActive(e);
|
|
@@ -582,129 +593,135 @@ var H = /* @__PURE__ */ y({
|
|
|
582
593
|
return;
|
|
583
594
|
}
|
|
584
595
|
} else if (e.key === "ArrowDown") {
|
|
585
|
-
e.preventDefault(), t?.hasChildren && (
|
|
596
|
+
e.preventDefault(), t?.hasChildren && (G(), W(t.key, !0));
|
|
586
597
|
return;
|
|
587
598
|
}
|
|
588
599
|
Q.onKeydown(e);
|
|
589
600
|
}
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
}),
|
|
593
|
-
collapsed:
|
|
594
|
-
selectedKey:
|
|
601
|
+
ce(Q.activeIndex, () => {
|
|
602
|
+
T(() => ke(De.value));
|
|
603
|
+
}), k(fe, {
|
|
604
|
+
collapsed: h(() => l.collapsed),
|
|
605
|
+
selectedKey: V,
|
|
595
606
|
expandedKeys: K,
|
|
596
|
-
accordion:
|
|
597
|
-
indent:
|
|
598
|
-
rootIndent:
|
|
599
|
-
mode:
|
|
600
|
-
inverted:
|
|
601
|
-
flyoutOpen:
|
|
602
|
-
setFlyoutOpen:
|
|
607
|
+
accordion: l.accordion,
|
|
608
|
+
indent: l.indent,
|
|
609
|
+
rootIndent: l.rootIndent,
|
|
610
|
+
mode: l.mode,
|
|
611
|
+
inverted: l.inverted,
|
|
612
|
+
flyoutOpen: U,
|
|
613
|
+
setFlyoutOpen: W,
|
|
603
614
|
toggleExpand: Y,
|
|
604
615
|
isExpanded: J,
|
|
605
|
-
activate:
|
|
606
|
-
resolveKey:
|
|
607
|
-
isSelected:
|
|
608
|
-
isChildActive:
|
|
609
|
-
paddingStyle:
|
|
610
|
-
activeKey:
|
|
611
|
-
tabindexForKey:
|
|
616
|
+
activate: Te,
|
|
617
|
+
resolveKey: be,
|
|
618
|
+
isSelected: xe,
|
|
619
|
+
isChildActive: Se,
|
|
620
|
+
paddingStyle: we,
|
|
621
|
+
activeKey: De,
|
|
622
|
+
tabindexForKey: Oe
|
|
612
623
|
});
|
|
613
|
-
function
|
|
614
|
-
if (!
|
|
624
|
+
function je(e) {
|
|
625
|
+
if (!l.popup || !l.modelValue) return;
|
|
615
626
|
let t = e.target;
|
|
616
|
-
|
|
627
|
+
M.value?.contains(t) || N.value?.contains(t) || d("update:modelValue", !1);
|
|
617
628
|
}
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
}, { immediate: !0 }),
|
|
621
|
-
document.removeEventListener("click",
|
|
629
|
+
ce(() => l.modelValue, (e) => {
|
|
630
|
+
l.popup && (e ? (T(ge), document.addEventListener("click", je)) : document.removeEventListener("click", je));
|
|
631
|
+
}, { immediate: !0 }), o(() => !!(l.popup && l.modelValue && B.value), _e), re(() => {
|
|
632
|
+
document.removeEventListener("click", je);
|
|
622
633
|
});
|
|
623
|
-
let
|
|
624
|
-
"m-menu--popup":
|
|
634
|
+
let Me = h(() => ["m-menu", {
|
|
635
|
+
"m-menu--popup": l.popup,
|
|
625
636
|
"m-menu--teleported": B.value,
|
|
626
|
-
"m-menu--collapsed":
|
|
627
|
-
"m-menu--embedded":
|
|
628
|
-
"m-menu--horizontal":
|
|
629
|
-
"m-menu--inverted":
|
|
630
|
-
}]), $ =
|
|
631
|
-
"--m-menu-indent": `${
|
|
632
|
-
"--m-menu-root-indent": `${
|
|
633
|
-
})),
|
|
637
|
+
"m-menu--collapsed": l.collapsed,
|
|
638
|
+
"m-menu--embedded": me.value,
|
|
639
|
+
"m-menu--horizontal": l.mode === "horizontal",
|
|
640
|
+
"m-menu--inverted": l.inverted
|
|
641
|
+
}]), $ = h(() => ({
|
|
642
|
+
"--m-menu-indent": `${l.indent / 16}rem`,
|
|
643
|
+
"--m-menu-root-indent": `${l.rootIndent / 16}rem`
|
|
644
|
+
})), Ne = h(() => B.value ? {
|
|
634
645
|
...$.value,
|
|
635
|
-
...
|
|
646
|
+
...R.value
|
|
636
647
|
} : $.value);
|
|
637
|
-
return (e, n) => t.popup ?
|
|
648
|
+
return (e, n) => t.popup ? pe.value ? (O(), v("div", w({ key: 1 }, P(p), { class: "m-menu-popup" }), [y("div", {
|
|
638
649
|
ref_key: "triggerEl",
|
|
639
|
-
ref:
|
|
650
|
+
ref: N,
|
|
640
651
|
class: "m-menu-popup__anchor"
|
|
641
|
-
}, [j(e.$slots, "default")], 512), (
|
|
652
|
+
}, [j(e.$slots, "default")], 512), (O(), g(ne, {
|
|
642
653
|
to: z.value.to,
|
|
643
654
|
disabled: z.value.disabled
|
|
644
|
-
}, [
|
|
645
|
-
|
|
655
|
+
}, [b(m, {
|
|
656
|
+
name: P(C),
|
|
657
|
+
css: P(ae)
|
|
658
|
+
}, {
|
|
659
|
+
default: F(() => [t.modelValue ? (O(), v("div", {
|
|
646
660
|
key: 0,
|
|
647
661
|
ref_key: "root",
|
|
648
|
-
ref:
|
|
649
|
-
class:
|
|
650
|
-
style:
|
|
662
|
+
ref: M,
|
|
663
|
+
class: E(Me.value),
|
|
664
|
+
style: D(B.value ? Ne.value : $.value),
|
|
651
665
|
role: "menu",
|
|
652
|
-
onKeydown:
|
|
653
|
-
}, [
|
|
666
|
+
onKeydown: Ae
|
|
667
|
+
}, [b(c, {
|
|
654
668
|
class: "m-menu__scroll",
|
|
655
669
|
"fit-content": "",
|
|
656
670
|
"wrap-class": "m-menu__scroll-wrap",
|
|
657
671
|
"view-class": "m-menu__scroll-view"
|
|
658
672
|
}, {
|
|
659
|
-
default:
|
|
673
|
+
default: F(() => [b(X, {
|
|
660
674
|
items: t.model,
|
|
661
675
|
depth: 0,
|
|
662
676
|
prefix: "item"
|
|
663
677
|
}, null, 8, ["items"])]),
|
|
664
678
|
_: 1
|
|
665
|
-
})], 38)) :
|
|
679
|
+
})], 38)) : _("", !0)]),
|
|
666
680
|
_: 1
|
|
667
|
-
})], 8, ["to", "disabled"]))], 16)) : (
|
|
681
|
+
}, 8, ["name", "css"])], 8, ["to", "disabled"]))], 16)) : (O(), g(ne, {
|
|
668
682
|
key: 2,
|
|
669
683
|
to: z.value.to,
|
|
670
684
|
disabled: z.value.disabled
|
|
671
|
-
}, [
|
|
672
|
-
|
|
685
|
+
}, [b(m, {
|
|
686
|
+
name: P(C),
|
|
687
|
+
css: P(ae)
|
|
688
|
+
}, {
|
|
689
|
+
default: F(() => [t.modelValue ? (O(), v("div", w({
|
|
673
690
|
key: 0,
|
|
674
691
|
ref_key: "root",
|
|
675
|
-
ref:
|
|
676
|
-
}, P(
|
|
677
|
-
class:
|
|
692
|
+
ref: M
|
|
693
|
+
}, P(p), {
|
|
694
|
+
class: Me.value,
|
|
678
695
|
style: B.value ? {
|
|
679
696
|
...$.value,
|
|
680
|
-
...
|
|
697
|
+
...R.value
|
|
681
698
|
} : $.value,
|
|
682
699
|
role: "menu",
|
|
683
|
-
onKeydown:
|
|
684
|
-
}), [
|
|
700
|
+
onKeydown: Ae
|
|
701
|
+
}), [b(c, {
|
|
685
702
|
class: "m-menu__scroll",
|
|
686
703
|
"fit-content": "",
|
|
687
704
|
"wrap-class": "m-menu__scroll-wrap",
|
|
688
705
|
"view-class": "m-menu__scroll-view"
|
|
689
706
|
}, {
|
|
690
|
-
default:
|
|
707
|
+
default: F(() => [b(X, {
|
|
691
708
|
items: t.model,
|
|
692
709
|
depth: 0,
|
|
693
710
|
prefix: "item"
|
|
694
711
|
}, null, 8, ["items"])]),
|
|
695
712
|
_: 1
|
|
696
|
-
})], 16)) :
|
|
713
|
+
})], 16)) : _("", !0)]),
|
|
697
714
|
_: 1
|
|
698
|
-
})], 8, ["to", "disabled"])) : (
|
|
715
|
+
}, 8, ["name", "css"])], 8, ["to", "disabled"])) : (O(), v("div", w({
|
|
699
716
|
key: 0,
|
|
700
717
|
ref_key: "root",
|
|
701
|
-
ref:
|
|
702
|
-
}, P(
|
|
703
|
-
class:
|
|
718
|
+
ref: M
|
|
719
|
+
}, P(p), {
|
|
720
|
+
class: Me.value,
|
|
704
721
|
style: $.value,
|
|
705
722
|
role: "menu",
|
|
706
|
-
onKeydown:
|
|
707
|
-
}), [
|
|
723
|
+
onKeydown: Ae
|
|
724
|
+
}), [b(X, {
|
|
708
725
|
items: t.model,
|
|
709
726
|
depth: 0,
|
|
710
727
|
prefix: "item"
|
|
@@ -712,4 +729,4 @@ var H = /* @__PURE__ */ y({
|
|
|
712
729
|
}
|
|
713
730
|
});
|
|
714
731
|
//#endregion
|
|
715
|
-
export {
|
|
732
|
+
export { be as MMenu };
|