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
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
|
+
import { i as t } from "./types-DGuu4Eg4.js";
|
|
3
|
+
import { t as n } from "./usePauseOffscreen-BIikV_gj.js";
|
|
4
|
+
import { n as r, t as i } from "./useMotionTransition-Bxnnb_9u.js";
|
|
5
|
+
import { n as a } from "./overlay-oR-5MDuE.js";
|
|
6
|
+
import { i as o } from "./content-h8POj44-.js";
|
|
7
|
+
import { t as s } from "./overlayHost-78CGtMgR.js";
|
|
8
|
+
import { c, i as l, l as u, t as d } from "./config-CapALqt3.js";
|
|
9
|
+
import { n as f } from "./locale-Bzm2nbEp.js";
|
|
10
|
+
import { Fragment as p, Teleport as m, Transition as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createStaticVNode as x, createVNode as S, defineComponent as C, h as w, mergeProps as T, normalizeClass as E, normalizeStyle as D, onBeforeUnmount as O, openBlock as k, reactive as A, ref as j, render as M, renderList as N, renderSlot as P, toDisplayString as F, toValue as I, unref as L, useAttrs as ee, useSlots as te, watch as R, withCtx as z } from "vue";
|
|
11
|
+
//#region src/components/Loading/types.ts
|
|
12
|
+
var B = [
|
|
13
|
+
"circular",
|
|
14
|
+
"aurora",
|
|
15
|
+
"bounce",
|
|
16
|
+
"wave",
|
|
17
|
+
"pulse",
|
|
18
|
+
"stardust"
|
|
19
|
+
], V = new Set(B);
|
|
20
|
+
function H(e) {
|
|
21
|
+
return typeof e == "string" && V.has(e);
|
|
22
|
+
}
|
|
23
|
+
function U(e) {
|
|
24
|
+
return H(e) ? e : "circular";
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/components/Loading/LoadingIndicator.vue?vue&type=script&setup=true&lang.ts
|
|
28
|
+
var W = ["aria-label"], G = {
|
|
29
|
+
class: "m-loading-indicator__graphic",
|
|
30
|
+
"aria-hidden": "true"
|
|
31
|
+
}, ne = {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: "m-loading-aurora"
|
|
34
|
+
}, re = {
|
|
35
|
+
key: 1,
|
|
36
|
+
class: "m-loading-bounce"
|
|
37
|
+
}, ie = {
|
|
38
|
+
key: 2,
|
|
39
|
+
class: "m-loading-wave"
|
|
40
|
+
}, ae = {
|
|
41
|
+
key: 3,
|
|
42
|
+
class: "m-loading-pulse"
|
|
43
|
+
}, oe = {
|
|
44
|
+
key: 4,
|
|
45
|
+
class: "m-loading-stardust"
|
|
46
|
+
}, se = {
|
|
47
|
+
key: 5,
|
|
48
|
+
class: "m-loading-circular"
|
|
49
|
+
}, ce = {
|
|
50
|
+
key: 0,
|
|
51
|
+
class: "m-loading-indicator__tip"
|
|
52
|
+
}, K = /* @__PURE__ */ C({
|
|
53
|
+
name: "MLoadingIndicator",
|
|
54
|
+
__name: "LoadingIndicator",
|
|
55
|
+
props: {
|
|
56
|
+
effect: {},
|
|
57
|
+
text: {},
|
|
58
|
+
ariaLabel: {},
|
|
59
|
+
size: {}
|
|
60
|
+
},
|
|
61
|
+
setup(e) {
|
|
62
|
+
let r = e, i = f(), a = j(null), { pauseAttrs: o } = n(a, !0), s = l("Loading"), c = g(() => U(r.effect ?? s.value.effect)), u = g(() => r.size ?? s.value.size), d = g(() => {
|
|
63
|
+
let e = t(u.value);
|
|
64
|
+
return {
|
|
65
|
+
"m-loading-indicator--small": e === "small",
|
|
66
|
+
"m-loading-indicator--large": e === "large"
|
|
67
|
+
};
|
|
68
|
+
}), m = g(() => r.ariaLabel ?? (r.text ? void 0 : i.value.loading));
|
|
69
|
+
return (t, n) => (k(), y("div", T({
|
|
70
|
+
ref_key: "rootRef",
|
|
71
|
+
ref: a
|
|
72
|
+
}, L(o), {
|
|
73
|
+
class: ["m-loading-indicator", d.value],
|
|
74
|
+
role: "status",
|
|
75
|
+
"aria-live": "polite",
|
|
76
|
+
"aria-label": m.value
|
|
77
|
+
}), [b("div", G, [c.value === "aurora" ? (k(), y("div", ne, [...n[0] ||= [b("div", { class: "m-loading-aurora__ring" }, null, -1), b("div", { class: "m-loading-aurora__glow" }, null, -1)]])) : c.value === "bounce" ? (k(), y("div", re, [...n[1] ||= [
|
|
78
|
+
b("span", { class: "m-loading-bounce__ball" }, null, -1),
|
|
79
|
+
b("span", { class: "m-loading-bounce__ball" }, null, -1),
|
|
80
|
+
b("span", { class: "m-loading-bounce__ball" }, null, -1)
|
|
81
|
+
]])) : c.value === "wave" ? (k(), y("div", ie, [...n[2] ||= [x("<span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span>", 5)]])) : c.value === "pulse" ? (k(), y("div", ae, [...n[3] ||= [
|
|
82
|
+
b("span", { class: "m-loading-pulse__ring" }, null, -1),
|
|
83
|
+
b("span", { class: "m-loading-pulse__ring" }, null, -1),
|
|
84
|
+
b("span", { class: "m-loading-pulse__ring" }, null, -1),
|
|
85
|
+
b("span", { class: "m-loading-pulse__ring" }, null, -1)
|
|
86
|
+
]])) : c.value === "stardust" ? (k(), y("div", oe, [(k(), y(p, null, N(8, (e) => b("span", {
|
|
87
|
+
key: e,
|
|
88
|
+
class: "m-loading-stardust__dot",
|
|
89
|
+
style: D({ "--i": String(e - 1) })
|
|
90
|
+
}, null, 4)), 64))])) : (k(), y("div", se, [...n[4] ||= [b("svg", {
|
|
91
|
+
class: "m-loading-circular__svg",
|
|
92
|
+
viewBox: "0 0 50 50"
|
|
93
|
+
}, [b("circle", {
|
|
94
|
+
class: "m-loading-circular__path",
|
|
95
|
+
cx: "25",
|
|
96
|
+
cy: "25",
|
|
97
|
+
r: "20",
|
|
98
|
+
fill: "none"
|
|
99
|
+
})], -1)]]))]), e.text ? (k(), y("p", ce, F(e.text), 1)) : v("", !0)], 16, W));
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region src/components/Loading/loading.ts
|
|
104
|
+
function le(e) {
|
|
105
|
+
let t = e ?? s();
|
|
106
|
+
if (!t) return;
|
|
107
|
+
let n = t.provides?.[d];
|
|
108
|
+
return n == null ? t.config.globalProperties.$m : I(n);
|
|
109
|
+
}
|
|
110
|
+
function ue(e) {
|
|
111
|
+
let t = le(e);
|
|
112
|
+
return r({
|
|
113
|
+
rolePreset: t?.motion?.transitions?.overlay,
|
|
114
|
+
componentDefault: u(t?.componentDefaults, "Loading", "transition"),
|
|
115
|
+
fallback: "loading"
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
var q = /* @__PURE__ */ new Set(), J = null, Y = 0, X = "";
|
|
119
|
+
function Z() {
|
|
120
|
+
typeof document > "u" || (Y === 0 && (X = document.body.style.overflow), Y += 1, document.body.style.overflow = "hidden");
|
|
121
|
+
}
|
|
122
|
+
function Q() {
|
|
123
|
+
typeof document > "u" || (Y = Math.max(0, Y - 1), Y === 0 && (document.body.style.overflow = X));
|
|
124
|
+
}
|
|
125
|
+
function de(e) {
|
|
126
|
+
if (typeof document > "u") throw Error("[MLoading] service is only available in the browser");
|
|
127
|
+
if (!e || e === document.body) return document.body;
|
|
128
|
+
if (typeof e == "string") {
|
|
129
|
+
let t = document.querySelector(e);
|
|
130
|
+
if (!(t instanceof HTMLElement)) throw TypeError(`[MLoading] target not found: ${e}`);
|
|
131
|
+
return t;
|
|
132
|
+
}
|
|
133
|
+
return e;
|
|
134
|
+
}
|
|
135
|
+
function fe(e) {
|
|
136
|
+
let t = 0;
|
|
137
|
+
return () => {
|
|
138
|
+
t ||= requestAnimationFrame(() => {
|
|
139
|
+
t = 0, e();
|
|
140
|
+
});
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
function $(e) {
|
|
144
|
+
let t = A({
|
|
145
|
+
visible: !e.delay,
|
|
146
|
+
text: e.text ?? "",
|
|
147
|
+
effect: e.effect,
|
|
148
|
+
background: e.background,
|
|
149
|
+
customClass: e.customClass,
|
|
150
|
+
size: e.size,
|
|
151
|
+
fullscreen: !!e.fullscreen,
|
|
152
|
+
body: !!e.body && !e.fullscreen,
|
|
153
|
+
spinner: e.spinner,
|
|
154
|
+
top: 0,
|
|
155
|
+
left: 0,
|
|
156
|
+
width: 0,
|
|
157
|
+
height: 0
|
|
158
|
+
});
|
|
159
|
+
t.fullscreen && J && J.destroy();
|
|
160
|
+
let n = document.createElement("div");
|
|
161
|
+
(t.fullscreen || t.body ? document.body : e.target).appendChild(n);
|
|
162
|
+
let r = !1;
|
|
163
|
+
if (!t.fullscreen && !t.body) {
|
|
164
|
+
let t = getComputedStyle(e.target).position;
|
|
165
|
+
(!t || t === "static") && (e.target.classList.add("m-loading-parent--relative"), r = !0);
|
|
166
|
+
}
|
|
167
|
+
e.target.setAttribute("aria-busy", "true");
|
|
168
|
+
let i = !1;
|
|
169
|
+
function a(e) {
|
|
170
|
+
if (e && !i) {
|
|
171
|
+
Z(), i = !0;
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
!e && i && (Q(), i = !1);
|
|
175
|
+
}
|
|
176
|
+
t.visible && a(!!e.lock);
|
|
177
|
+
function c() {
|
|
178
|
+
if (!t.body) return;
|
|
179
|
+
let n = e.target.getBoundingClientRect();
|
|
180
|
+
t.top = n.top, t.left = n.left, t.width = n.width, t.height = n.height;
|
|
181
|
+
}
|
|
182
|
+
let l = fe(c), u = null;
|
|
183
|
+
t.body && (c(), window.addEventListener("scroll", l, !0), window.addEventListener("resize", l), typeof ResizeObserver < "u" && (u = new ResizeObserver(l), u.observe(e.target)));
|
|
184
|
+
let d = null;
|
|
185
|
+
e.delay && e.delay > 0 && (d = setTimeout(() => {
|
|
186
|
+
d = null, t.visible = !0, a(!!e.lock);
|
|
187
|
+
}, e.delay));
|
|
188
|
+
let f = null, p = !1, m = !1, g = null;
|
|
189
|
+
function _() {
|
|
190
|
+
m || (m = !0, p = !0, d !== null && (clearTimeout(d), d = null), f !== null && (clearTimeout(f), f = null), a(!1), t.body && (window.removeEventListener("scroll", l, !0), window.removeEventListener("resize", l), u?.disconnect(), u = null), r && e.target.classList.remove("m-loading-parent--relative"), e.target.getAttribute("aria-busy") === "true" && e.target.removeAttribute("aria-busy"), M(null, n), n.remove(), g && (q.delete(g), J === g && (J = null)));
|
|
191
|
+
}
|
|
192
|
+
let v = C({
|
|
193
|
+
name: "MLoadingMask",
|
|
194
|
+
setup() {
|
|
195
|
+
let n = ue(e.appContext);
|
|
196
|
+
return () => w(h, {
|
|
197
|
+
name: n,
|
|
198
|
+
css: n !== void 0,
|
|
199
|
+
appear: !0,
|
|
200
|
+
duration: {
|
|
201
|
+
enter: 180,
|
|
202
|
+
leave: 130
|
|
203
|
+
},
|
|
204
|
+
onAfterLeave: () => _()
|
|
205
|
+
}, { default: () => {
|
|
206
|
+
if (!t.visible) return null;
|
|
207
|
+
let e = [
|
|
208
|
+
"m-loading-mask",
|
|
209
|
+
t.fullscreen ? "m-loading-mask--fullscreen" : void 0,
|
|
210
|
+
t.body ? "m-loading-mask--body" : void 0,
|
|
211
|
+
t.customClass || void 0
|
|
212
|
+
].filter((e) => !!e), n = {};
|
|
213
|
+
t.background && (n.background = t.background), t.body && (n.top = `${t.top}px`, n.left = `${t.left}px`, n.width = `${t.width}px`, n.height = `${t.height}px`);
|
|
214
|
+
let r = t.spinner ? o(t.spinner) : w(K, {
|
|
215
|
+
effect: t.effect,
|
|
216
|
+
size: t.size,
|
|
217
|
+
text: t.text || void 0
|
|
218
|
+
});
|
|
219
|
+
return w("div", {
|
|
220
|
+
class: e,
|
|
221
|
+
style: n
|
|
222
|
+
}, [r]);
|
|
223
|
+
} });
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
g = {
|
|
227
|
+
fullscreen: t.fullscreen,
|
|
228
|
+
destroy: _,
|
|
229
|
+
close() {
|
|
230
|
+
if (!p) {
|
|
231
|
+
if (p = !0, d !== null) {
|
|
232
|
+
clearTimeout(d), d = null, _();
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
if (!t.visible) {
|
|
236
|
+
_();
|
|
237
|
+
return;
|
|
238
|
+
}
|
|
239
|
+
t.visible = !1, f = setTimeout(_, 200);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}, q.add(g), t.fullscreen && (J = g);
|
|
243
|
+
let y = w(v);
|
|
244
|
+
return y.appContext = e.appContext ?? s(), M(y, n), {
|
|
245
|
+
close: () => g.close(),
|
|
246
|
+
destroy: () => _(),
|
|
247
|
+
setText(e) {
|
|
248
|
+
m || (t.text = e);
|
|
249
|
+
},
|
|
250
|
+
update(e) {
|
|
251
|
+
m || (e.text !== void 0 && (t.text = e.text), e.effect !== void 0 && (t.effect = e.effect), e.background !== void 0 && (t.background = e.background), e.customClass !== void 0 && (t.customClass = e.customClass), e.size !== void 0 && (t.size = e.size), e.spinner !== void 0 && (t.spinner = e.spinner), e.lock !== void 0 && t.visible && a(e.lock));
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
function pe() {
|
|
256
|
+
return {
|
|
257
|
+
close() {},
|
|
258
|
+
setText() {},
|
|
259
|
+
destroy() {}
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
function me(e = {}) {
|
|
263
|
+
if (typeof document > "u") return pe();
|
|
264
|
+
let t = e.fullscreen ?? (e.target == null && !e.body), n = $({
|
|
265
|
+
target: t ? document.body : de(e.target ?? document.body),
|
|
266
|
+
fullscreen: t,
|
|
267
|
+
body: !!e.body && !t,
|
|
268
|
+
lock: e.lock,
|
|
269
|
+
text: e.text,
|
|
270
|
+
effect: e.effect,
|
|
271
|
+
background: e.background,
|
|
272
|
+
customClass: e.customClass,
|
|
273
|
+
size: e.size,
|
|
274
|
+
delay: e.delay,
|
|
275
|
+
spinner: e.spinner
|
|
276
|
+
});
|
|
277
|
+
return {
|
|
278
|
+
close: () => n.close(),
|
|
279
|
+
setText: (e) => n.setText(e),
|
|
280
|
+
destroy: () => n.destroy()
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
var he = { service: me }, ge = ["aria-busy"], _e = ["inert"], ve = /* @__PURE__ */ C({
|
|
284
|
+
name: "MLoading",
|
|
285
|
+
inheritAttrs: !1,
|
|
286
|
+
__name: "Loading",
|
|
287
|
+
props: {
|
|
288
|
+
pt: {},
|
|
289
|
+
loading: {
|
|
290
|
+
type: Boolean,
|
|
291
|
+
default: !0
|
|
292
|
+
},
|
|
293
|
+
effect: {},
|
|
294
|
+
text: {},
|
|
295
|
+
ariaLabel: {},
|
|
296
|
+
size: {},
|
|
297
|
+
background: {},
|
|
298
|
+
customClass: {},
|
|
299
|
+
fullscreen: {
|
|
300
|
+
type: Boolean,
|
|
301
|
+
default: !1
|
|
302
|
+
},
|
|
303
|
+
lock: {
|
|
304
|
+
type: Boolean,
|
|
305
|
+
default: !1
|
|
306
|
+
},
|
|
307
|
+
delay: { default: 0 },
|
|
308
|
+
transition: {
|
|
309
|
+
type: [String, Boolean],
|
|
310
|
+
default: void 0
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
setup(t) {
|
|
314
|
+
let n = t, r = ee(), o = te(), { rootAttrs: s } = e(r, () => n.pt), u = l("Loading"), d = c(), { transitionName: f, transitionCss: x } = i({
|
|
315
|
+
role: "overlay",
|
|
316
|
+
local: () => n.transition,
|
|
317
|
+
componentName: "Loading",
|
|
318
|
+
fallback: "loading"
|
|
319
|
+
}), C = g(() => !!o.default), w = g(() => C.value || n.fullscreen), A = g(() => U(n.effect ?? u.value.effect)), M = g(() => n.size ?? u.value.size), N = g(() => n.delay ?? u.value.delay ?? 0), F = g(() => n.background ? { background: n.background } : void 0), I = g(() => a(n.fullscreen ? {
|
|
320
|
+
teleport: !0,
|
|
321
|
+
appendTo: "body"
|
|
322
|
+
} : { teleport: !1 }, d.value.appendTo)), B = j(n.loading && N.value <= 0), V = null;
|
|
323
|
+
function H() {
|
|
324
|
+
V !== null && (clearTimeout(V), V = null);
|
|
325
|
+
}
|
|
326
|
+
R(() => [
|
|
327
|
+
n.loading,
|
|
328
|
+
N.value,
|
|
329
|
+
w.value
|
|
330
|
+
], ([e, t]) => {
|
|
331
|
+
if (H(), !e || !w.value) {
|
|
332
|
+
B.value = !1;
|
|
333
|
+
return;
|
|
334
|
+
}
|
|
335
|
+
if (!t) {
|
|
336
|
+
B.value = !0;
|
|
337
|
+
return;
|
|
338
|
+
}
|
|
339
|
+
B.value = !1, V = setTimeout(() => {
|
|
340
|
+
B.value = !0, V = null;
|
|
341
|
+
}, t);
|
|
342
|
+
}, { immediate: !0 });
|
|
343
|
+
let W = g(() => n.lock && B.value && w.value), G = !1;
|
|
344
|
+
return R(W, (e) => {
|
|
345
|
+
if (e && !G) {
|
|
346
|
+
Z(), G = !0;
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
!e && G && (Q(), G = !1);
|
|
350
|
+
}, { immediate: !0 }), O(() => {
|
|
351
|
+
H(), G &&= (Q(), !1);
|
|
352
|
+
}), (e, n) => w.value ? (k(), y(p, { key: 0 }, [C.value ? (k(), y("div", T({ key: 0 }, L(s), {
|
|
353
|
+
class: ["m-loading", { "m-loading--active": B.value }],
|
|
354
|
+
"aria-busy": B.value || void 0
|
|
355
|
+
}), [b("div", {
|
|
356
|
+
class: "m-loading__content",
|
|
357
|
+
inert: B.value || void 0
|
|
358
|
+
}, [P(e.$slots, "default")], 8, _e), (k(), _(m, {
|
|
359
|
+
to: I.value.to,
|
|
360
|
+
disabled: I.value.disabled
|
|
361
|
+
}, [S(h, {
|
|
362
|
+
name: L(f),
|
|
363
|
+
css: L(x)
|
|
364
|
+
}, {
|
|
365
|
+
default: z(() => [B.value ? (k(), y("div", {
|
|
366
|
+
key: 0,
|
|
367
|
+
class: E(["m-loading-mask", [{ "m-loading-mask--fullscreen": t.fullscreen }, t.customClass]]),
|
|
368
|
+
style: D(F.value)
|
|
369
|
+
}, [P(e.$slots, "indicator", {}, () => [S(K, {
|
|
370
|
+
effect: A.value,
|
|
371
|
+
size: M.value,
|
|
372
|
+
text: t.text,
|
|
373
|
+
"aria-label": t.ariaLabel
|
|
374
|
+
}, null, 8, [
|
|
375
|
+
"effect",
|
|
376
|
+
"size",
|
|
377
|
+
"text",
|
|
378
|
+
"aria-label"
|
|
379
|
+
])])], 6)) : v("", !0)]),
|
|
380
|
+
_: 3
|
|
381
|
+
}, 8, ["name", "css"])], 8, ["to", "disabled"]))], 16, ge)) : (k(), _(m, {
|
|
382
|
+
key: 1,
|
|
383
|
+
to: I.value.to,
|
|
384
|
+
disabled: I.value.disabled
|
|
385
|
+
}, [S(h, {
|
|
386
|
+
name: L(f),
|
|
387
|
+
css: L(x)
|
|
388
|
+
}, {
|
|
389
|
+
default: z(() => [B.value ? (k(), y("div", T({ key: 0 }, L(s), {
|
|
390
|
+
class: ["m-loading-mask m-loading-mask--fullscreen", t.customClass],
|
|
391
|
+
style: F.value,
|
|
392
|
+
role: "presentation",
|
|
393
|
+
"aria-busy": "true"
|
|
394
|
+
}), [P(e.$slots, "indicator", {}, () => [S(K, {
|
|
395
|
+
effect: A.value,
|
|
396
|
+
size: M.value,
|
|
397
|
+
text: t.text,
|
|
398
|
+
"aria-label": t.ariaLabel
|
|
399
|
+
}, null, 8, [
|
|
400
|
+
"effect",
|
|
401
|
+
"size",
|
|
402
|
+
"text",
|
|
403
|
+
"aria-label"
|
|
404
|
+
])])], 16)) : v("", !0)]),
|
|
405
|
+
_: 3
|
|
406
|
+
}, 8, ["name", "css"])], 8, ["to", "disabled"]))], 64)) : (k(), _(K, T({ key: 1 }, L(s), {
|
|
407
|
+
effect: A.value,
|
|
408
|
+
size: M.value,
|
|
409
|
+
text: t.text,
|
|
410
|
+
"aria-label": t.ariaLabel
|
|
411
|
+
}), null, 16, [
|
|
412
|
+
"effect",
|
|
413
|
+
"size",
|
|
414
|
+
"text",
|
|
415
|
+
"aria-label"
|
|
416
|
+
]));
|
|
417
|
+
}
|
|
418
|
+
});
|
|
419
|
+
//#endregion
|
|
420
|
+
export { H as a, B as i, he as n, U as o, $ as r, ve as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./Icon-
|
|
3
|
-
import { n, t as r } from "./locale-
|
|
1
|
+
import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
|
+
import { t } from "./Icon-od9Ob-Ay.js";
|
|
3
|
+
import { n, t as r } from "./locale-Bzm2nbEp.js";
|
|
4
4
|
import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, useAttrs as v, withKeys as y, withModifiers as b } from "vue";
|
|
5
5
|
//#region src/components/Pagination/Pagination.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var x = ["aria-label"], S = ["disabled", "aria-label"], C = {
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
|
+
import { t } from "./useMotionTransition-Bxnnb_9u.js";
|
|
3
|
+
import { n, t as r } from "./overlay-oR-5MDuE.js";
|
|
4
|
+
import { t as i } from "./overlayPlacement-Cd20JTD_.js";
|
|
5
|
+
import { t as a } from "./useMId-BXFYayPP.js";
|
|
6
|
+
import { c as o } from "./config-CapALqt3.js";
|
|
7
|
+
import { Teleport as s, Transition as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeStyle as y, onBeforeUnmount as ee, openBlock as b, ref as x, renderSlot as S, unref as C, useAttrs as te, watch as ne, withCtx as re } from "vue";
|
|
8
|
+
//#region src/components/Popover/Popover.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
+
var ie = ["aria-expanded", "aria-controls"], ae = ["id"], w = /* @__PURE__ */ h({
|
|
10
|
+
inheritAttrs: !1,
|
|
11
|
+
__name: "Popover",
|
|
12
|
+
props: {
|
|
13
|
+
pt: {},
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !1
|
|
17
|
+
},
|
|
18
|
+
disabled: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !1
|
|
21
|
+
},
|
|
22
|
+
placement: { default: "bottom" },
|
|
23
|
+
trigger: { default: "manual" },
|
|
24
|
+
showDelay: { default: 0 },
|
|
25
|
+
hideDelay: { default: 200 },
|
|
26
|
+
teleport: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: !0
|
|
29
|
+
},
|
|
30
|
+
appendTo: {},
|
|
31
|
+
transition: {
|
|
32
|
+
type: [String, Boolean],
|
|
33
|
+
default: void 0
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
emits: [
|
|
37
|
+
"update:modelValue",
|
|
38
|
+
"show",
|
|
39
|
+
"hide"
|
|
40
|
+
],
|
|
41
|
+
setup(h, { expose: w, emit: T }) {
|
|
42
|
+
let E = h, D = T, O = te(), { rootAttrs: k } = e(O, () => E.pt), A = o(), { transitionName: j, transitionCss: M } = t({
|
|
43
|
+
role: "popup",
|
|
44
|
+
local: () => E.transition,
|
|
45
|
+
componentName: "Popover",
|
|
46
|
+
fallback: "popover"
|
|
47
|
+
}), N = a(), P = x(null), F = x(null), I = x(null), L = x({}), R = l(() => n(E, A.value.appendTo)), z = l(() => r(E, A.value.appendTo)), B, V;
|
|
48
|
+
function H(e) {
|
|
49
|
+
e && E.disabled || D("update:modelValue", e);
|
|
50
|
+
}
|
|
51
|
+
function U() {
|
|
52
|
+
H(!0);
|
|
53
|
+
}
|
|
54
|
+
function W() {
|
|
55
|
+
H(!1);
|
|
56
|
+
}
|
|
57
|
+
function G() {
|
|
58
|
+
H(!E.modelValue);
|
|
59
|
+
}
|
|
60
|
+
function K() {
|
|
61
|
+
H(!1);
|
|
62
|
+
}
|
|
63
|
+
w({
|
|
64
|
+
show: U,
|
|
65
|
+
hide: W,
|
|
66
|
+
toggle: G
|
|
67
|
+
});
|
|
68
|
+
function q() {
|
|
69
|
+
B && clearTimeout(B), V && clearTimeout(V), B = void 0, V = void 0;
|
|
70
|
+
}
|
|
71
|
+
function J() {
|
|
72
|
+
E.disabled || E.trigger !== "click" || H(!E.modelValue);
|
|
73
|
+
}
|
|
74
|
+
function oe() {
|
|
75
|
+
if (!(E.disabled || E.trigger !== "hover")) {
|
|
76
|
+
if (q(), E.showDelay > 0) {
|
|
77
|
+
B = setTimeout(H, E.showDelay, !0);
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
H(!0);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
function se() {
|
|
84
|
+
if (E.trigger === "hover") {
|
|
85
|
+
if (q(), E.hideDelay > 0) {
|
|
86
|
+
V = setTimeout(H, E.hideDelay, !1);
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
H(!1);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
function ce() {
|
|
93
|
+
E.trigger === "hover" && q();
|
|
94
|
+
}
|
|
95
|
+
function le() {
|
|
96
|
+
if (E.trigger === "hover") {
|
|
97
|
+
if (q(), E.hideDelay > 0) {
|
|
98
|
+
V = setTimeout(H, E.hideDelay, !1);
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
H(!1);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
function ue() {
|
|
105
|
+
if (!(E.disabled || E.trigger !== "focus")) {
|
|
106
|
+
if (q(), E.showDelay > 0) {
|
|
107
|
+
B = setTimeout(H, E.showDelay, !0);
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
H(!0);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
function Y() {
|
|
114
|
+
if (E.trigger === "focus") {
|
|
115
|
+
if (q(), E.hideDelay > 0) {
|
|
116
|
+
V = setTimeout(H, E.hideDelay, !1);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
H(!1);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
function X() {
|
|
123
|
+
!z.value || !F.value || (L.value = i(F.value.getBoundingClientRect(), E.placement));
|
|
124
|
+
}
|
|
125
|
+
function Z(e) {
|
|
126
|
+
let t = e.target;
|
|
127
|
+
P.value?.contains(t) || I.value?.contains(t) || K();
|
|
128
|
+
}
|
|
129
|
+
function Q(e) {
|
|
130
|
+
e.key === "Escape" && K();
|
|
131
|
+
}
|
|
132
|
+
function $() {
|
|
133
|
+
E.modelValue && X();
|
|
134
|
+
}
|
|
135
|
+
return ne(() => E.modelValue, async (e, t) => {
|
|
136
|
+
e ? (document.addEventListener("click", Z), document.addEventListener("keydown", Q), z.value && (window.addEventListener("resize", $), window.addEventListener("scroll", $, !0)), D("show"), await _(), X()) : (document.removeEventListener("click", Z), document.removeEventListener("keydown", Q), window.removeEventListener("resize", $), window.removeEventListener("scroll", $, !0), t && D("hide"));
|
|
137
|
+
}, { immediate: !0 }), ee(() => {
|
|
138
|
+
q(), document.removeEventListener("click", Z), document.removeEventListener("keydown", Q), window.removeEventListener("resize", $), window.removeEventListener("scroll", $, !0);
|
|
139
|
+
}), (e, t) => (b(), f("span", g({
|
|
140
|
+
ref_key: "root",
|
|
141
|
+
ref: P
|
|
142
|
+
}, C(k), {
|
|
143
|
+
class: "m-popover",
|
|
144
|
+
onMouseenter: oe,
|
|
145
|
+
onMouseleave: se
|
|
146
|
+
}), [p("span", {
|
|
147
|
+
ref_key: "trigger",
|
|
148
|
+
ref: F,
|
|
149
|
+
class: "m-popover__trigger",
|
|
150
|
+
"aria-haspopup": "dialog",
|
|
151
|
+
"aria-expanded": h.modelValue,
|
|
152
|
+
"aria-controls": C(N),
|
|
153
|
+
onClick: J,
|
|
154
|
+
onFocusin: ue,
|
|
155
|
+
onFocusout: Y
|
|
156
|
+
}, [S(e.$slots, "default")], 40, ie), (b(), u(s, {
|
|
157
|
+
to: R.value.to,
|
|
158
|
+
disabled: R.value.disabled
|
|
159
|
+
}, [m(c, {
|
|
160
|
+
name: C(j),
|
|
161
|
+
css: C(M)
|
|
162
|
+
}, {
|
|
163
|
+
default: re(() => [h.modelValue ? (b(), f("div", {
|
|
164
|
+
key: 0,
|
|
165
|
+
id: C(N),
|
|
166
|
+
ref_key: "panel",
|
|
167
|
+
ref: I,
|
|
168
|
+
class: v(["m-popover__content", [`m-popover__content--${h.placement}`, { "m-popover__content--teleported": z.value }]]),
|
|
169
|
+
style: y(z.value ? L.value : void 0),
|
|
170
|
+
role: "dialog",
|
|
171
|
+
onMouseenter: ce,
|
|
172
|
+
onMouseleave: le
|
|
173
|
+
}, [S(e.$slots, "content")], 46, ae)) : d("", !0)]),
|
|
174
|
+
_: 3
|
|
175
|
+
}, 8, ["name", "css"])], 8, ["to", "disabled"]))], 16));
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
//#endregion
|
|
179
|
+
export { w as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "./useMId-BXFYayPP.js";
|
|
3
|
-
import { o as n } from "./config-
|
|
3
|
+
import { o as n } from "./config-CapALqt3.js";
|
|
4
4
|
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, inject as l, mergeProps as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useAttrs as h } from "vue";
|
|
5
5
|
//#region src/components/Radio/types.ts
|
|
6
6
|
var g = Symbol("muRadioGroup"), _ = ["for"], v = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./Scrollbar-
|
|
1
|
+
import { t as e } from "./Scrollbar-DTeJ8P5b.js";
|
|
2
2
|
import { createBlock as t, defineComponent as n, normalizeClass as r, openBlock as i, ref as a, renderSlot as o, withCtx as s } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/shared/ScrollBody.vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "./useMId-BXFYayPP.js";
|
|
3
3
|
import { Fragment as n, Transition as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, inject as ee, mergeProps as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onActivated as h, onBeforeUnmount as te, onMounted as g, onUpdated as _, openBlock as v, provide as y, reactive as b, ref as x, renderSlot as S, resolveDynamicComponent as C, unref as w, useAttrs as ne, vShow as T, watch as E, withCtx as re, withDirectives as D } from "vue";
|
|
4
4
|
//#region src/components/Scrollbar/constants.ts
|
|
@@ -337,7 +337,7 @@ var M = ["aria-orientation", "aria-controls"], N = /* @__PURE__ */ u({
|
|
|
337
337
|
Z(), we();
|
|
338
338
|
});
|
|
339
339
|
}), _(() => {
|
|
340
|
-
T.native || Q();
|
|
340
|
+
T.native || (T.noresize || typeof ResizeObserver > "u") && Q();
|
|
341
341
|
}), h(() => {
|
|
342
342
|
F.value && (F.value.scrollTop = W, F.value.scrollLeft = G);
|
|
343
343
|
}), te(() => {
|