@well-insight/ui 0.1.7 → 0.1.9
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 +12 -0
- package/README.md +31 -23
- package/README.zh-CN.md +64 -42
- package/dist/Button-BZzV1X-d.js +156 -0
- package/dist/Checkbox-BtgWgkHI.js +107 -0
- package/dist/Icon-B6gOD07E.js +452 -0
- package/dist/Pagination-C-F_ZDXr.js +148 -0
- package/dist/ProgressSpinner-YThgaSzb.js +85 -0
- package/dist/Renderable-IhqISc5E.js +45 -0
- package/dist/Scrollbar-D-bR2noX.js +382 -0
- package/dist/accordion/index.js +66 -0
- package/dist/accordion/style.css +797 -0
- package/dist/accordion/style.js +3 -0
- package/dist/asyncGuard-CPGT_TKu.js +6 -0
- package/dist/auto-complete/index.js +206 -0
- package/dist/auto-complete/style.css +911 -0
- package/dist/auto-complete/style.js +4 -0
- package/dist/avatar/index.js +93 -0
- package/dist/avatar/style.css +852 -0
- package/dist/avatar/style.js +4 -0
- package/dist/badge/index.js +49 -0
- package/dist/badge/style.css +859 -0
- package/dist/badge/style.js +3 -0
- package/dist/block-ui/index.js +24 -0
- package/dist/block-ui/style.css +757 -0
- package/dist/block-ui/style.js +3 -0
- package/dist/breadcrumb/index.js +45 -0
- package/dist/breadcrumb/style.css +782 -0
- package/dist/breadcrumb/style.js +3 -0
- package/dist/button/index.js +24 -0
- package/dist/button/style.css +1268 -0
- package/dist/button/style.js +4 -0
- package/dist/card/index.js +56 -0
- package/dist/card/style.css +805 -0
- package/dist/card/style.js +3 -0
- package/dist/carousel/index.js +111 -0
- package/dist/carousel/style.css +785 -0
- package/dist/carousel/style.js +3 -0
- package/dist/cascade-select/index.js +129 -0
- package/dist/cascade-select/style.css +845 -0
- package/dist/cascade-select/style.js +3 -0
- package/dist/checkStrategy-CZzuUKDI.js +63 -0
- package/dist/checkbox/index.js +51 -0
- package/dist/checkbox/style.css +755 -0
- package/dist/checkbox/style.js +3 -0
- package/dist/chip/index.js +67 -0
- package/dist/chip/style.css +879 -0
- package/dist/chip/style.js +4 -0
- package/dist/command-menu/index.js +118 -0
- package/dist/command-menu/style.css +811 -0
- package/dist/command-menu/style.js +3 -0
- package/dist/components/Accordion/index.d.ts.map +1 -1
- package/dist/components/Accordion/styles.css +60 -0
- package/dist/components/AutoComplete/index.d.ts.map +1 -1
- package/dist/components/AutoComplete/styles.css +135 -0
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Avatar/styles.css +76 -0
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/styles.css +122 -0
- package/dist/components/BlockUI/index.d.ts.map +1 -1
- package/dist/components/BlockUI/styles.css +20 -0
- package/dist/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/components/Breadcrumb/styles.css +45 -0
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/styles.css +492 -0
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/Card/styles.css +68 -0
- package/dist/components/Carousel/index.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css +48 -0
- package/dist/components/CascadeSelect/index.d.ts.map +1 -1
- package/dist/components/CascadeSelect/styles.css +108 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/styles.css +18 -0
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/Chip/styles.css +103 -0
- package/dist/components/CommandMenu/index.d.ts.map +1 -1
- package/dist/components/CommandMenu/styles.css +74 -0
- package/dist/components/ConfigProvider/index.d.ts.map +1 -1
- package/dist/components/ConfigProvider/styles.css +1 -0
- package/dist/components/ConfirmDialog/index.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/styles.css +23 -0
- package/dist/components/ConfirmPopup/index.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/styles.css +37 -0
- package/dist/components/ContextMenu/index.d.ts.map +1 -1
- package/dist/components/ContextMenu/styles.css +50 -0
- package/dist/components/DataView/index.d.ts.map +1 -1
- package/dist/components/DataView/styles.css +33 -0
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/DatePicker/styles.css +197 -0
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Dialog/styles.css +225 -0
- package/dist/components/Divider/index.d.ts.map +1 -1
- package/dist/components/Divider/styles.css +79 -0
- package/dist/components/Dock/index.d.ts.map +1 -1
- package/dist/components/Dock/styles.css +41 -0
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/Drawer/styles.css +121 -0
- package/dist/components/Dropdown/index.d.ts.map +1 -1
- package/dist/components/Dropdown/styles.css +78 -0
- package/dist/components/Fieldset/index.d.ts.map +1 -1
- package/dist/components/Fieldset/styles.css +37 -0
- package/dist/components/FileUpload/index.d.ts.map +1 -1
- package/dist/components/FileUpload/styles.css +300 -0
- package/dist/components/Flex/index.d.ts.map +1 -1
- package/dist/components/Flex/styles.css +5 -0
- package/dist/components/FloatLabel/index.d.ts.map +1 -1
- package/dist/components/FloatLabel/styles.css +32 -0
- package/dist/components/Fluid/index.d.ts.map +1 -1
- package/dist/components/Fluid/styles.css +7 -0
- package/dist/components/Form/index.d.ts.map +1 -1
- package/dist/components/Form/styles.css +69 -0
- package/dist/components/Gallery/index.d.ts.map +1 -1
- package/dist/components/Gallery/styles.css +52 -0
- package/dist/components/Grid/index.d.ts.map +1 -1
- package/dist/components/Grid/styles.css +9 -0
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/styles.css +38 -0
- package/dist/components/IconField/index.d.ts.map +1 -1
- package/dist/components/IconField/styles.css +27 -0
- package/dist/components/Inplace/index.d.ts.map +1 -1
- package/dist/components/Inplace/styles.css +26 -0
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/Input/styles.css +191 -0
- package/dist/components/InputColor/index.d.ts.map +1 -1
- package/dist/components/InputColor/styles.css +65 -0
- package/dist/components/InputGroup/index.d.ts.map +1 -1
- package/dist/components/InputGroup/styles.css +20 -0
- package/dist/components/InputNumber/index.d.ts.map +1 -1
- package/dist/components/InputNumber/styles.css +117 -0
- package/dist/components/InputOtp/index.d.ts.map +1 -1
- package/dist/components/InputOtp/styles.css +43 -0
- package/dist/components/InputPassword/index.d.ts.map +1 -1
- package/dist/components/InputPassword/styles.css +178 -0
- package/dist/components/InputTags/index.d.ts.map +1 -1
- package/dist/components/InputTags/styles.css +54 -0
- package/dist/components/Knob/index.d.ts.map +1 -1
- package/dist/components/Knob/styles.css +45 -0
- package/dist/components/Label/index.d.ts.map +1 -1
- package/dist/components/Label/styles.css +8 -0
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/Layout/styles.css +349 -0
- package/dist/components/Listbox/index.d.ts.map +1 -1
- package/dist/components/Listbox/styles.css +68 -0
- package/dist/components/MegaMenu/index.d.ts.map +1 -1
- package/dist/components/MegaMenu/styles.css +75 -0
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/styles.css +68 -0
- package/dist/components/Menubar/index.d.ts.map +1 -1
- package/dist/components/Menubar/styles.css +93 -0
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/Message/styles.css +169 -0
- package/dist/components/MeterGroup/index.d.ts.map +1 -1
- package/dist/components/MeterGroup/styles.css +47 -0
- package/dist/components/OrderList/index.d.ts.map +1 -1
- package/dist/components/OrderList/styles.css +41 -0
- package/dist/components/Pagination/index.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css +76 -0
- package/dist/components/Panel/index.d.ts.map +1 -1
- package/dist/components/Panel/styles.css +59 -0
- package/dist/components/PickList/index.d.ts.map +1 -1
- package/dist/components/PickList/styles.css +38 -0
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/styles.css +64 -0
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/styles.css +105 -0
- package/dist/components/ProgressSpinner/index.d.ts.map +1 -1
- package/dist/components/ProgressSpinner/styles.css +72 -0
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/styles.css +11 -0
- package/dist/components/Rating/index.d.ts.map +1 -1
- package/dist/components/Rating/styles.css +70 -0
- package/dist/components/ScrollTop/index.d.ts.map +1 -1
- package/dist/components/ScrollTop/styles.css +42 -0
- package/dist/components/Scrollbar/index.d.ts.map +1 -1
- package/dist/components/Scrollbar/styles.css +90 -0
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/styles.css +315 -0
- package/dist/components/SelectButton/index.d.ts.map +1 -1
- package/dist/components/SelectButton/styles.css +76 -0
- package/dist/components/Sidebar/index.d.ts.map +1 -1
- package/dist/components/Sidebar/styles.css +53 -0
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Skeleton/styles.css +42 -0
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/styles.css +136 -0
- package/dist/components/Space/index.d.ts.map +1 -1
- package/dist/components/Space/styles.css +10 -0
- package/dist/components/SpeedDial/index.d.ts.map +1 -1
- package/dist/components/SpeedDial/styles.css +109 -0
- package/dist/components/SplitButton/index.d.ts.map +1 -1
- package/dist/components/SplitButton/styles.css +120 -0
- package/dist/components/Splitter/index.d.ts.map +1 -1
- package/dist/components/Splitter/styles.css +69 -0
- package/dist/components/Stepper/index.d.ts.map +1 -1
- package/dist/components/Stepper/styles.css +83 -0
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Switch/styles.css +78 -0
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/styles.css +296 -0
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Tabs/styles.css +108 -0
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/styles.css +103 -0
- package/dist/components/Terminal/index.d.ts.map +1 -1
- package/dist/components/Terminal/styles.css +45 -0
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/Textarea/styles.css +93 -0
- package/dist/components/TieredMenu/index.d.ts.map +1 -1
- package/dist/components/TieredMenu/styles.css +83 -0
- package/dist/components/Timeline/index.d.ts.map +1 -1
- package/dist/components/Timeline/styles.css +155 -0
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/styles.css +97 -0
- package/dist/components/ToggleButton/index.d.ts.map +1 -1
- package/dist/components/ToggleButton/styles.css +45 -0
- package/dist/components/Toolbar/index.d.ts.map +1 -1
- package/dist/components/Toolbar/styles.css +30 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -1
- package/dist/components/Tooltip/styles.css +50 -0
- package/dist/components/Tree/index.d.ts.map +1 -1
- package/dist/components/Tree/styles.css +98 -0
- package/dist/components/TreeSelect/index.d.ts.map +1 -1
- package/dist/components/TreeSelect/styles.css +145 -0
- package/dist/components/TreeTable/index.d.ts.map +1 -1
- package/dist/components/TreeTable/styles.css +41 -0
- package/dist/components/VirtualScroller/index.d.ts.map +1 -1
- package/dist/components/VirtualScroller/styles.css +24 -0
- package/dist/config-DWwce9jA.js +224 -0
- package/dist/config-provider/index.js +52 -0
- package/dist/config-provider/style.css +1434 -0
- package/dist/config-provider/style.js +6 -0
- package/dist/confirm-dialog/index.js +149 -0
- package/dist/confirm-dialog/style.css +1518 -0
- package/dist/confirm-dialog/style.js +6 -0
- package/dist/confirm-popup/index.js +142 -0
- package/dist/confirm-popup/style.css +1306 -0
- package/dist/confirm-popup/style.js +5 -0
- package/dist/context-menu/index.js +174 -0
- package/dist/context-menu/style.css +826 -0
- package/dist/context-menu/style.js +4 -0
- package/dist/data-view/index.js +49 -0
- package/dist/data-view/style.css +847 -0
- package/dist/data-view/style.js +4 -0
- package/dist/date-picker/index.js +316 -0
- package/dist/date-picker/style.css +934 -0
- package/dist/date-picker/style.js +3 -0
- package/dist/dialog/index.js +232 -0
- package/dist/dialog/style.css +1494 -0
- package/dist/dialog/style.js +5 -0
- package/dist/divider/index.js +39 -0
- package/dist/divider/style.css +816 -0
- package/dist/divider/style.js +3 -0
- package/dist/dock/index.js +40 -0
- package/dist/dock/style.css +778 -0
- package/dist/dock/style.js +3 -0
- package/dist/drawer/index.js +112 -0
- package/dist/drawer/style.css +858 -0
- package/dist/drawer/style.js +3 -0
- package/dist/dropdown/index.js +245 -0
- package/dist/dropdown/style.css +854 -0
- package/dist/dropdown/style.js +4 -0
- package/dist/fieldset/index.js +36 -0
- package/dist/fieldset/style.css +774 -0
- package/dist/fieldset/style.js +3 -0
- package/dist/file-upload/index.js +492 -0
- package/dist/file-upload/style.css +1076 -0
- package/dist/file-upload/style.js +4 -0
- package/dist/flex/index.js +53 -0
- package/dist/flex/style.css +742 -0
- package/dist/flex/style.js +3 -0
- package/dist/float-label/index.js +12 -0
- package/dist/float-label/style.css +769 -0
- package/dist/float-label/style.js +3 -0
- package/dist/fluid/index.js +16 -0
- package/dist/fluid/style.css +744 -0
- package/dist/fluid/style.js +3 -0
- package/dist/form/index.js +270 -0
- package/dist/form/style.css +806 -0
- package/dist/form/style.js +3 -0
- package/dist/gallery/index.js +61 -0
- package/dist/gallery/style.css +789 -0
- package/dist/gallery/style.js +3 -0
- package/dist/gap-rHurpwNv.js +41 -0
- package/dist/grid/index.js +178 -0
- package/dist/grid/style.css +746 -0
- package/dist/grid/style.js +3 -0
- package/dist/icon/index.js +3 -0
- package/dist/icon/style.css +775 -0
- package/dist/icon/style.js +3 -0
- package/dist/icon-field/index.js +17 -0
- package/dist/icon-field/style.css +764 -0
- package/dist/icon-field/style.js +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/inplace/index.js +45 -0
- package/dist/inplace/style.css +763 -0
- package/dist/inplace/style.js +3 -0
- package/dist/input/index.js +145 -0
- package/dist/input/style.css +928 -0
- package/dist/input/style.js +3 -0
- package/dist/input-color/index.js +73 -0
- package/dist/input-color/style.css +802 -0
- package/dist/input-color/style.js +3 -0
- package/dist/input-group/index.js +16 -0
- package/dist/input-group/style.css +757 -0
- package/dist/input-group/style.js +3 -0
- package/dist/input-number/index.js +146 -0
- package/dist/input-number/style.css +854 -0
- package/dist/input-number/style.js +3 -0
- package/dist/input-otp/index.js +110 -0
- package/dist/input-otp/style.css +780 -0
- package/dist/input-otp/style.js +3 -0
- package/dist/input-password/index.js +185 -0
- package/dist/input-password/style.css +954 -0
- package/dist/input-password/style.js +4 -0
- package/dist/input-tags/index.js +103 -0
- package/dist/input-tags/style.css +791 -0
- package/dist/input-tags/style.js +3 -0
- package/dist/knob/index.js +110 -0
- package/dist/knob/style.css +782 -0
- package/dist/knob/style.js +3 -0
- package/dist/label/index.js +20 -0
- package/dist/label/style.css +745 -0
- package/dist/label/style.js +3 -0
- package/dist/lastPointer-CRxcUqdd.js +20 -0
- package/dist/layout/index.js +398 -0
- package/dist/layout/style.css +1177 -0
- package/dist/layout/style.js +4 -0
- package/dist/listbox/index.js +84 -0
- package/dist/listbox/style.css +805 -0
- package/dist/listbox/style.js +3 -0
- package/dist/locale-CYkJyRd1.js +21 -0
- package/dist/mega-menu/index.js +104 -0
- package/dist/mega-menu/style.css +812 -0
- package/dist/mega-menu/style.js +3 -0
- package/dist/menu/index.js +210 -0
- package/dist/menu/style.css +844 -0
- package/dist/menu/style.js +4 -0
- package/dist/menubar/index.js +141 -0
- package/dist/menubar/style.css +869 -0
- package/dist/menubar/style.js +4 -0
- package/dist/message/index.js +181 -0
- package/dist/message/style.css +945 -0
- package/dist/message/style.js +4 -0
- package/dist/meter-group/index.js +47 -0
- package/dist/meter-group/style.css +784 -0
- package/dist/meter-group/style.js +3 -0
- package/dist/order-list/index.js +125 -0
- package/dist/order-list/style.css +817 -0
- package/dist/order-list/style.js +4 -0
- package/dist/overlay-oR-5MDuE.js +16 -0
- package/dist/overlayHost-Bdc0ZDhU.js +16 -0
- package/dist/pagination/index.js +3 -0
- package/dist/pagination/style.css +813 -0
- package/dist/pagination/style.js +3 -0
- package/dist/panel/index.js +51 -0
- package/dist/panel/style.css +796 -0
- package/dist/panel/style.js +3 -0
- package/dist/pick-list/index.js +132 -0
- package/dist/pick-list/style.css +814 -0
- package/dist/pick-list/style.js +4 -0
- package/dist/popover/index.js +165 -0
- package/dist/popover/style.css +801 -0
- package/dist/popover/style.js +3 -0
- package/dist/progress-bar/index.js +77 -0
- package/dist/progress-bar/style.css +842 -0
- package/dist/progress-bar/style.js +3 -0
- package/dist/progress-spinner/index.js +3 -0
- package/dist/progress-spinner/style.css +809 -0
- package/dist/progress-spinner/style.js +3 -0
- package/dist/radio/index.js +131 -0
- package/dist/radio/style.css +748 -0
- package/dist/radio/style.js +3 -0
- package/dist/rating/index.js +93 -0
- package/dist/rating/style.css +807 -0
- package/dist/rating/style.js +3 -0
- package/dist/resolver-map.d.ts +2 -0
- package/dist/resolver-map.d.ts.map +1 -0
- package/dist/resolver.d.ts +20 -0
- package/dist/resolver.d.ts.map +1 -0
- package/dist/resolver.js +121 -0
- package/dist/responsive-BLgfEhDG.js +43 -0
- package/dist/scroll-top/index.js +86 -0
- package/dist/scroll-top/style.css +779 -0
- package/dist/scroll-top/style.js +3 -0
- package/dist/scrollbar/index.js +3 -0
- package/dist/scrollbar/style.css +827 -0
- package/dist/scrollbar/style.js +3 -0
- package/dist/select/index.js +362 -0
- package/dist/select/style.css +1052 -0
- package/dist/select/style.js +3 -0
- package/dist/select-button/index.js +70 -0
- package/dist/select-button/style.css +813 -0
- package/dist/select-button/style.js +3 -0
- package/dist/sidebar/index.js +58 -0
- package/dist/sidebar/style.css +790 -0
- package/dist/sidebar/style.js +3 -0
- package/dist/skeleton/index.js +45 -0
- package/dist/skeleton/style.css +779 -0
- package/dist/skeleton/style.js +3 -0
- package/dist/slider/index.js +142 -0
- package/dist/slider/style.css +873 -0
- package/dist/slider/style.js +3 -0
- package/dist/space/index.js +60 -0
- package/dist/space/style.css +747 -0
- package/dist/space/style.js +3 -0
- package/dist/speed-dial/index.js +124 -0
- package/dist/speed-dial/style.css +846 -0
- package/dist/speed-dial/style.js +3 -0
- package/dist/split-button/index.js +126 -0
- package/dist/split-button/style.css +1350 -0
- package/dist/split-button/style.js +4 -0
- package/dist/splitter/index.js +185 -0
- package/dist/splitter/style.css +806 -0
- package/dist/splitter/style.js +3 -0
- package/dist/stepper/index.js +65 -0
- package/dist/stepper/style.css +820 -0
- package/dist/stepper/style.js +3 -0
- package/dist/styles/base.css +548 -0
- package/dist/styles.css +1 -1
- package/dist/styles.d.ts +1 -0
- package/dist/switch/index.js +99 -0
- package/dist/switch/style.css +815 -0
- package/dist/switch/style.js +3 -0
- package/dist/table/index.js +508 -0
- package/dist/table/style.css +1241 -0
- package/dist/table/style.js +7 -0
- package/dist/tabs/index.js +136 -0
- package/dist/tabs/style.css +845 -0
- package/dist/tabs/style.js +3 -0
- package/dist/tag/index.js +73 -0
- package/dist/tag/style.css +879 -0
- package/dist/tag/style.js +4 -0
- package/dist/terminal/index.js +52 -0
- package/dist/terminal/style.css +782 -0
- package/dist/terminal/style.js +3 -0
- package/dist/textarea/index.js +163 -0
- package/dist/textarea/style.css +830 -0
- package/dist/textarea/style.js +3 -0
- package/dist/theme/styles.css +187 -0
- package/dist/tiered-menu/index.js +150 -0
- package/dist/tiered-menu/style.css +820 -0
- package/dist/tiered-menu/style.js +3 -0
- package/dist/timeline/index.js +86 -0
- package/dist/timeline/style.css +931 -0
- package/dist/timeline/style.js +4 -0
- package/dist/toast/index.js +165 -0
- package/dist/toast/style.css +834 -0
- package/dist/toast/style.js +3 -0
- package/dist/toggle-button/index.js +49 -0
- package/dist/toggle-button/style.css +782 -0
- package/dist/toggle-button/style.js +3 -0
- package/dist/toolbar/index.js +30 -0
- package/dist/toolbar/style.css +767 -0
- package/dist/toolbar/style.js +3 -0
- package/dist/tooltip/index.js +116 -0
- package/dist/tooltip/style.css +787 -0
- package/dist/tooltip/style.js +3 -0
- package/dist/tree/index.js +296 -0
- package/dist/tree/style.css +893 -0
- package/dist/tree/style.js +5 -0
- package/dist/tree-select/index.js +317 -0
- package/dist/tree-select/style.css +1000 -0
- package/dist/tree-select/style.js +5 -0
- package/dist/tree-table/index.js +79 -0
- package/dist/tree-table/style.css +778 -0
- package/dist/tree-table/style.js +3 -0
- package/dist/types-tV3SEv3Q.js +9 -0
- package/dist/useModalOverlay-Beo3CEAt.js +50 -0
- package/dist/virtual-scroller/index.js +50 -0
- package/dist/virtual-scroller/style.css +761 -0
- package/dist/virtual-scroller/style.js +3 -0
- package/dist/vnode-PJWBO7_h.js +16 -0
- package/package.json +624 -3
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
import { n as e } from "./types-tV3SEv3Q.js";
|
|
2
|
+
import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, defineComponent as a, normalizeClass as o, openBlock as s, renderList as c, renderSlot as l, useSlots as u } from "vue";
|
|
3
|
+
//#region src/components/Icon/icons.ts
|
|
4
|
+
var d = {
|
|
5
|
+
check: { primitives: [{
|
|
6
|
+
tag: "path",
|
|
7
|
+
d: "m3 8 3 3 7-7"
|
|
8
|
+
}] },
|
|
9
|
+
"check-circle": { primitives: [{
|
|
10
|
+
tag: "circle",
|
|
11
|
+
cx: 8,
|
|
12
|
+
cy: 8,
|
|
13
|
+
r: 5.5
|
|
14
|
+
}, {
|
|
15
|
+
tag: "path",
|
|
16
|
+
d: "m5.5 8.25 1.75 1.75 3.5-3.75"
|
|
17
|
+
}] },
|
|
18
|
+
close: { primitives: [{
|
|
19
|
+
tag: "path",
|
|
20
|
+
d: "m4 4 8 8M12 4l-8 8"
|
|
21
|
+
}] },
|
|
22
|
+
"x-circle": { primitives: [{
|
|
23
|
+
tag: "circle",
|
|
24
|
+
cx: 8,
|
|
25
|
+
cy: 8,
|
|
26
|
+
r: 5.5
|
|
27
|
+
}, {
|
|
28
|
+
tag: "path",
|
|
29
|
+
d: "m6 6 4 4M10 6l-4 4"
|
|
30
|
+
}] },
|
|
31
|
+
info: { primitives: [{
|
|
32
|
+
tag: "circle",
|
|
33
|
+
cx: 8,
|
|
34
|
+
cy: 8,
|
|
35
|
+
r: 5.5
|
|
36
|
+
}, {
|
|
37
|
+
tag: "path",
|
|
38
|
+
d: "M8 7v4M8 5.25h.01"
|
|
39
|
+
}] },
|
|
40
|
+
warning: { primitives: [{
|
|
41
|
+
tag: "path",
|
|
42
|
+
d: "M8 2.75 14.25 13.5H1.75L8 2.75Z"
|
|
43
|
+
}, {
|
|
44
|
+
tag: "path",
|
|
45
|
+
d: "M8 6.5v3.25M8 11.5h.01"
|
|
46
|
+
}] },
|
|
47
|
+
"alert-circle": { primitives: [{
|
|
48
|
+
tag: "circle",
|
|
49
|
+
cx: 8,
|
|
50
|
+
cy: 8,
|
|
51
|
+
r: 5.5
|
|
52
|
+
}, {
|
|
53
|
+
tag: "path",
|
|
54
|
+
d: "M8 5.25v4M8 11.25h.01"
|
|
55
|
+
}] },
|
|
56
|
+
"chevron-up": { primitives: [{
|
|
57
|
+
tag: "path",
|
|
58
|
+
d: "m4 10 4-4 4 4"
|
|
59
|
+
}] },
|
|
60
|
+
"chevron-down": { primitives: [{
|
|
61
|
+
tag: "path",
|
|
62
|
+
d: "m4 6 4 4 4-4"
|
|
63
|
+
}] },
|
|
64
|
+
"chevron-left": { primitives: [{
|
|
65
|
+
tag: "path",
|
|
66
|
+
d: "m10 4-4 4 4 4"
|
|
67
|
+
}] },
|
|
68
|
+
"chevron-right": { primitives: [{
|
|
69
|
+
tag: "path",
|
|
70
|
+
d: "m6 4 4 4-4 4"
|
|
71
|
+
}] },
|
|
72
|
+
"arrow-up": { primitives: [{
|
|
73
|
+
tag: "path",
|
|
74
|
+
d: "M8 12.5V3.5M4.5 7 8 3.5 11.5 7"
|
|
75
|
+
}] },
|
|
76
|
+
"arrow-down": { primitives: [{
|
|
77
|
+
tag: "path",
|
|
78
|
+
d: "M8 3.5v9M4.5 9 8 12.5 11.5 9"
|
|
79
|
+
}] },
|
|
80
|
+
"arrow-left": { primitives: [{
|
|
81
|
+
tag: "path",
|
|
82
|
+
d: "M12.5 8H3.5M7 4.5 3.5 8 7 11.5"
|
|
83
|
+
}] },
|
|
84
|
+
"arrow-right": { primitives: [{
|
|
85
|
+
tag: "path",
|
|
86
|
+
d: "M3.5 8h9M9 4.5 12.5 8 9 11.5"
|
|
87
|
+
}] },
|
|
88
|
+
plus: { primitives: [{
|
|
89
|
+
tag: "path",
|
|
90
|
+
d: "M8 3v10M3 8h10"
|
|
91
|
+
}] },
|
|
92
|
+
minus: { primitives: [{
|
|
93
|
+
tag: "path",
|
|
94
|
+
d: "M3 8h10"
|
|
95
|
+
}] },
|
|
96
|
+
search: { primitives: [{
|
|
97
|
+
tag: "circle",
|
|
98
|
+
cx: 7,
|
|
99
|
+
cy: 7,
|
|
100
|
+
r: 3.75
|
|
101
|
+
}, {
|
|
102
|
+
tag: "path",
|
|
103
|
+
d: "m10 10 3 3"
|
|
104
|
+
}] },
|
|
105
|
+
menu: { primitives: [{
|
|
106
|
+
tag: "path",
|
|
107
|
+
d: "M3 5h10M3 8h10M3 11h10"
|
|
108
|
+
}] },
|
|
109
|
+
more: { primitives: [
|
|
110
|
+
{
|
|
111
|
+
tag: "circle",
|
|
112
|
+
cx: 4,
|
|
113
|
+
cy: 8,
|
|
114
|
+
r: 1,
|
|
115
|
+
fill: "currentColor"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
tag: "circle",
|
|
119
|
+
cx: 8,
|
|
120
|
+
cy: 8,
|
|
121
|
+
r: 1,
|
|
122
|
+
fill: "currentColor"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
tag: "circle",
|
|
126
|
+
cx: 12,
|
|
127
|
+
cy: 8,
|
|
128
|
+
r: 1,
|
|
129
|
+
fill: "currentColor"
|
|
130
|
+
}
|
|
131
|
+
] },
|
|
132
|
+
"more-vertical": { primitives: [
|
|
133
|
+
{
|
|
134
|
+
tag: "circle",
|
|
135
|
+
cx: 8,
|
|
136
|
+
cy: 4,
|
|
137
|
+
r: 1,
|
|
138
|
+
fill: "currentColor"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
tag: "circle",
|
|
142
|
+
cx: 8,
|
|
143
|
+
cy: 8,
|
|
144
|
+
r: 1,
|
|
145
|
+
fill: "currentColor"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
tag: "circle",
|
|
149
|
+
cx: 8,
|
|
150
|
+
cy: 12,
|
|
151
|
+
r: 1,
|
|
152
|
+
fill: "currentColor"
|
|
153
|
+
}
|
|
154
|
+
] },
|
|
155
|
+
edit: { primitives: [{
|
|
156
|
+
tag: "path",
|
|
157
|
+
d: "m3 11.75-.5 2.75 2.75-.5L13 6.25 9.75 3 3 9.75v2Z"
|
|
158
|
+
}, {
|
|
159
|
+
tag: "path",
|
|
160
|
+
d: "m8.75 4 3.25 3.25"
|
|
161
|
+
}] },
|
|
162
|
+
trash: { primitives: [{
|
|
163
|
+
tag: "path",
|
|
164
|
+
d: "M3.5 5h9M6 5V3.5h4V5M5 5l.5 8h5l.5-8M6.75 7v4M9.25 7v4"
|
|
165
|
+
}] },
|
|
166
|
+
copy: { primitives: [{
|
|
167
|
+
tag: "rect",
|
|
168
|
+
x: 5.5,
|
|
169
|
+
y: 5.5,
|
|
170
|
+
width: 7,
|
|
171
|
+
height: 7,
|
|
172
|
+
rx: 1
|
|
173
|
+
}, {
|
|
174
|
+
tag: "path",
|
|
175
|
+
d: "M10.5 5.5V4.5a1 1 0 0 0-1-1h-5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1"
|
|
176
|
+
}] },
|
|
177
|
+
"external-link": { primitives: [{
|
|
178
|
+
tag: "path",
|
|
179
|
+
d: "M9 3.5h3.5V7M12.5 3.5 8 8"
|
|
180
|
+
}, {
|
|
181
|
+
tag: "path",
|
|
182
|
+
d: "M7 4.5H4.5a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V9"
|
|
183
|
+
}] },
|
|
184
|
+
download: { primitives: [{
|
|
185
|
+
tag: "path",
|
|
186
|
+
d: "M8 3v7.5M5 8l3 3 3-3"
|
|
187
|
+
}, {
|
|
188
|
+
tag: "path",
|
|
189
|
+
d: "M3.5 12.5h9"
|
|
190
|
+
}] },
|
|
191
|
+
upload: { primitives: [{
|
|
192
|
+
tag: "path",
|
|
193
|
+
d: "M8 13V5.5M5 8l3-3 3 3"
|
|
194
|
+
}, {
|
|
195
|
+
tag: "path",
|
|
196
|
+
d: "M3.5 12.5h9"
|
|
197
|
+
}] },
|
|
198
|
+
filter: { primitives: [{
|
|
199
|
+
tag: "path",
|
|
200
|
+
d: "M2.5 3.5h11l-4 5v4l-3 1.5v-5.5l-4-5Z"
|
|
201
|
+
}] },
|
|
202
|
+
settings: { primitives: [{
|
|
203
|
+
tag: "circle",
|
|
204
|
+
cx: 8,
|
|
205
|
+
cy: 8,
|
|
206
|
+
r: 2
|
|
207
|
+
}, {
|
|
208
|
+
tag: "path",
|
|
209
|
+
d: "M8 2.5v1.2M8 12.3v1.2M2.5 8h1.2M12.3 8h1.2M4.1 4.1l.85.85M11.05 11.05l.85.85M4.1 11.9l.85-.85M11.05 4.95l.85-.85"
|
|
210
|
+
}] },
|
|
211
|
+
home: { primitives: [{
|
|
212
|
+
tag: "path",
|
|
213
|
+
d: "M2.5 7.5 8 3l5.5 4.5V13a.75.75 0 0 1-.75.75H3.25A.75.75 0 0 1 2.5 13V7.5Z"
|
|
214
|
+
}] },
|
|
215
|
+
user: { primitives: [{
|
|
216
|
+
tag: "circle",
|
|
217
|
+
cx: 8,
|
|
218
|
+
cy: 5.5,
|
|
219
|
+
r: 2.25
|
|
220
|
+
}, {
|
|
221
|
+
tag: "path",
|
|
222
|
+
d: "M3.5 13.25c0-2.35 2-4.25 4.5-4.25s4.5 1.9 4.5 4.25"
|
|
223
|
+
}] },
|
|
224
|
+
calendar: { primitives: [{
|
|
225
|
+
tag: "rect",
|
|
226
|
+
x: 2.5,
|
|
227
|
+
y: 3.5,
|
|
228
|
+
width: 11,
|
|
229
|
+
height: 10,
|
|
230
|
+
rx: 1
|
|
231
|
+
}, {
|
|
232
|
+
tag: "path",
|
|
233
|
+
d: "M5 2.5v2M11 2.5v2M2.5 6.5h11"
|
|
234
|
+
}] },
|
|
235
|
+
clock: { primitives: [{
|
|
236
|
+
tag: "circle",
|
|
237
|
+
cx: 8,
|
|
238
|
+
cy: 8,
|
|
239
|
+
r: 5.5
|
|
240
|
+
}, {
|
|
241
|
+
tag: "path",
|
|
242
|
+
d: "M8 5.25V8l2 1.5"
|
|
243
|
+
}] },
|
|
244
|
+
eye: { primitives: [{
|
|
245
|
+
tag: "path",
|
|
246
|
+
d: "M1.75 8S3.75 3.75 8 3.75 14.25 8 14.25 8 12.25 12.25 8 12.25 1.75 8 1.75 8Z"
|
|
247
|
+
}, {
|
|
248
|
+
tag: "circle",
|
|
249
|
+
cx: 8,
|
|
250
|
+
cy: 8,
|
|
251
|
+
r: 1.75
|
|
252
|
+
}] },
|
|
253
|
+
"eye-off": { primitives: [
|
|
254
|
+
{
|
|
255
|
+
tag: "path",
|
|
256
|
+
d: "m2.5 2.5 11 11M6.2 6.35A2.25 2.25 0 0 0 9.65 9.8"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
tag: "path",
|
|
260
|
+
d: "M4.1 4.45C2.7 5.5 1.75 8 1.75 8S3.75 12.25 8 12.25c1.15 0 2.15-.3 3-.75"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
tag: "path",
|
|
264
|
+
d: "M11.35 9.4C12.95 8.35 14.25 8 14.25 8S12.25 3.75 8 3.75c-.55 0-1.05.05-1.5.15"
|
|
265
|
+
}
|
|
266
|
+
] },
|
|
267
|
+
lock: { primitives: [{
|
|
268
|
+
tag: "rect",
|
|
269
|
+
x: 3.5,
|
|
270
|
+
y: 7,
|
|
271
|
+
width: 9,
|
|
272
|
+
height: 6.5,
|
|
273
|
+
rx: 1
|
|
274
|
+
}, {
|
|
275
|
+
tag: "path",
|
|
276
|
+
d: "M5.5 7V5.25a2.5 2.5 0 0 1 5 0V7"
|
|
277
|
+
}] },
|
|
278
|
+
unlock: { primitives: [{
|
|
279
|
+
tag: "rect",
|
|
280
|
+
x: 3.5,
|
|
281
|
+
y: 7,
|
|
282
|
+
width: 9,
|
|
283
|
+
height: 6.5,
|
|
284
|
+
rx: 1
|
|
285
|
+
}, {
|
|
286
|
+
tag: "path",
|
|
287
|
+
d: "M5.5 7V5.25a2.5 2.5 0 0 1 4.85-.75"
|
|
288
|
+
}] },
|
|
289
|
+
link: { primitives: [
|
|
290
|
+
{
|
|
291
|
+
tag: "path",
|
|
292
|
+
d: "M6.5 9.5 5.25 10.75a2.25 2.25 0 0 1-3.18-3.18L3.75 6"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
tag: "path",
|
|
296
|
+
d: "M9.5 6.5 10.75 5.25a2.25 2.25 0 1 1 3.18 3.18L12.25 10"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
tag: "path",
|
|
300
|
+
d: "m6.5 9.5 3-3"
|
|
301
|
+
}
|
|
302
|
+
] },
|
|
303
|
+
refresh: { primitives: [{
|
|
304
|
+
tag: "path",
|
|
305
|
+
d: "M13 8a5 5 0 1 1-1.4-3.4"
|
|
306
|
+
}, {
|
|
307
|
+
tag: "path",
|
|
308
|
+
d: "M13 3.5V6.5H10"
|
|
309
|
+
}] },
|
|
310
|
+
loader: {
|
|
311
|
+
spin: !0,
|
|
312
|
+
primitives: [{
|
|
313
|
+
tag: "path",
|
|
314
|
+
d: "M8 2.75a5.25 5.25 0 1 1-4.55 2.63"
|
|
315
|
+
}]
|
|
316
|
+
},
|
|
317
|
+
star: { primitives: [{
|
|
318
|
+
tag: "path",
|
|
319
|
+
d: "m8 2.5 1.55 3.15 3.45.5-2.5 2.45.6 3.45L8 10.4l-3.1 1.65.6-3.45-2.5-2.45 3.45-.5L8 2.5Z"
|
|
320
|
+
}] },
|
|
321
|
+
heart: { primitives: [{
|
|
322
|
+
tag: "path",
|
|
323
|
+
d: "M8 13.25S2.75 9.75 2.75 6.4A2.65 2.65 0 0 1 8 5.1a2.65 2.65 0 0 1 5.25 1.3c0 3.35-5.25 6.85-5.25 6.85Z"
|
|
324
|
+
}] },
|
|
325
|
+
grip: { primitives: [
|
|
326
|
+
{
|
|
327
|
+
tag: "circle",
|
|
328
|
+
cx: 5.5,
|
|
329
|
+
cy: 4.5,
|
|
330
|
+
r: 1,
|
|
331
|
+
fill: "currentColor"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
tag: "circle",
|
|
335
|
+
cx: 10.5,
|
|
336
|
+
cy: 4.5,
|
|
337
|
+
r: 1,
|
|
338
|
+
fill: "currentColor"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
tag: "circle",
|
|
342
|
+
cx: 5.5,
|
|
343
|
+
cy: 8,
|
|
344
|
+
r: 1,
|
|
345
|
+
fill: "currentColor"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
tag: "circle",
|
|
349
|
+
cx: 10.5,
|
|
350
|
+
cy: 8,
|
|
351
|
+
r: 1,
|
|
352
|
+
fill: "currentColor"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
tag: "circle",
|
|
356
|
+
cx: 5.5,
|
|
357
|
+
cy: 11.5,
|
|
358
|
+
r: 1,
|
|
359
|
+
fill: "currentColor"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
tag: "circle",
|
|
363
|
+
cx: 10.5,
|
|
364
|
+
cy: 11.5,
|
|
365
|
+
r: 1,
|
|
366
|
+
fill: "currentColor"
|
|
367
|
+
}
|
|
368
|
+
] }
|
|
369
|
+
}, f = Object.keys(d);
|
|
370
|
+
function p(e) {
|
|
371
|
+
return e in d;
|
|
372
|
+
}
|
|
373
|
+
function m(e) {
|
|
374
|
+
return d[e];
|
|
375
|
+
}
|
|
376
|
+
//#endregion
|
|
377
|
+
//#region src/components/Icon/Icon.vue?vue&type=script&setup=true&lang.ts
|
|
378
|
+
var h = ["aria-label", "aria-hidden"], g = {
|
|
379
|
+
key: 1,
|
|
380
|
+
viewBox: "0 0 16 16",
|
|
381
|
+
fill: "none",
|
|
382
|
+
stroke: "currentColor",
|
|
383
|
+
"stroke-width": "1.8",
|
|
384
|
+
"stroke-linecap": "round",
|
|
385
|
+
"stroke-linejoin": "round"
|
|
386
|
+
}, _ = ["d"], v = [
|
|
387
|
+
"cx",
|
|
388
|
+
"cy",
|
|
389
|
+
"r",
|
|
390
|
+
"fill"
|
|
391
|
+
], y = [
|
|
392
|
+
"x1",
|
|
393
|
+
"y1",
|
|
394
|
+
"x2",
|
|
395
|
+
"y2"
|
|
396
|
+
], b = ["points"], x = [
|
|
397
|
+
"x",
|
|
398
|
+
"y",
|
|
399
|
+
"width",
|
|
400
|
+
"height",
|
|
401
|
+
"rx"
|
|
402
|
+
], S = /* @__PURE__ */ a({
|
|
403
|
+
__name: "Icon",
|
|
404
|
+
props: {
|
|
405
|
+
name: {},
|
|
406
|
+
label: {},
|
|
407
|
+
size: { default: "md" }
|
|
408
|
+
},
|
|
409
|
+
setup(a) {
|
|
410
|
+
let d = a, f = u(), S = n(() => e(d.size)), C = n(() => {
|
|
411
|
+
if (!(!d.name || !p(d.name))) return m(d.name);
|
|
412
|
+
}), w = n(() => !!f.default), T = n(() => w.value || !!C.value), E = n(() => [
|
|
413
|
+
"wi-icon",
|
|
414
|
+
`wi-icon--${S.value}`,
|
|
415
|
+
{ "wi-icon--spin": C.value?.spin }
|
|
416
|
+
]);
|
|
417
|
+
return (e, n) => T.value ? (s(), i("span", {
|
|
418
|
+
key: 0,
|
|
419
|
+
class: o(E.value),
|
|
420
|
+
"aria-label": a.label,
|
|
421
|
+
"aria-hidden": a.label ? void 0 : "true",
|
|
422
|
+
role: "img"
|
|
423
|
+
}, [w.value ? l(e.$slots, "default", {}, void 0, void 0, 0) : C.value ? (s(), i("svg", g, [(s(!0), i(t, null, c(C.value.primitives, (e, n) => (s(), i(t, { key: n }, [e.tag === "path" ? (s(), i("path", {
|
|
424
|
+
key: 0,
|
|
425
|
+
d: e.d
|
|
426
|
+
}, null, 8, _)) : e.tag === "circle" ? (s(), i("circle", {
|
|
427
|
+
key: 1,
|
|
428
|
+
cx: e.cx,
|
|
429
|
+
cy: e.cy,
|
|
430
|
+
r: e.r,
|
|
431
|
+
fill: e.fill ?? "none"
|
|
432
|
+
}, null, 8, v)) : e.tag === "line" ? (s(), i("line", {
|
|
433
|
+
key: 2,
|
|
434
|
+
x1: e.x1,
|
|
435
|
+
y1: e.y1,
|
|
436
|
+
x2: e.x2,
|
|
437
|
+
y2: e.y2
|
|
438
|
+
}, null, 8, y)) : e.tag === "polyline" ? (s(), i("polyline", {
|
|
439
|
+
key: 3,
|
|
440
|
+
points: e.points
|
|
441
|
+
}, null, 8, b)) : e.tag === "rect" ? (s(), i("rect", {
|
|
442
|
+
key: 4,
|
|
443
|
+
x: e.x,
|
|
444
|
+
y: e.y,
|
|
445
|
+
width: e.width,
|
|
446
|
+
height: e.height,
|
|
447
|
+
rx: e.rx
|
|
448
|
+
}, null, 8, x)) : r("", !0)], 64))), 128))])) : r("", !0)], 10, h)) : r("", !0);
|
|
449
|
+
}
|
|
450
|
+
});
|
|
451
|
+
//#endregion
|
|
452
|
+
export { p as a, d as i, m as n, f as r, S as t };
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { n as e, t } from "./locale-CYkJyRd1.js";
|
|
2
|
+
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, unref as p, withKeys as m, withModifiers as h } from "vue";
|
|
3
|
+
//#region src/components/Pagination/Pagination.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var g = ["aria-label"], _ = ["disabled", "aria-label"], v = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "wi-pagination__simple",
|
|
7
|
+
"aria-current": "page"
|
|
8
|
+
}, y = [
|
|
9
|
+
"disabled",
|
|
10
|
+
"aria-label",
|
|
11
|
+
"aria-current",
|
|
12
|
+
"onClick"
|
|
13
|
+
], b = ["disabled", "aria-label"], x = {
|
|
14
|
+
key: 2,
|
|
15
|
+
class: "wi-pagination__sizer"
|
|
16
|
+
}, S = { class: "wi-pagination__sizer-label" }, C = ["disabled", "value"], w = ["value"], T = {
|
|
17
|
+
key: 3,
|
|
18
|
+
class: "wi-pagination__jumper"
|
|
19
|
+
}, E = [
|
|
20
|
+
"max",
|
|
21
|
+
"disabled",
|
|
22
|
+
"value",
|
|
23
|
+
"onKeydown"
|
|
24
|
+
], D = { key: 0 }, O = /* @__PURE__ */ s({
|
|
25
|
+
__name: "Pagination",
|
|
26
|
+
props: {
|
|
27
|
+
modelValue: { default: 1 },
|
|
28
|
+
totalRecords: {},
|
|
29
|
+
rows: { default: 10 },
|
|
30
|
+
pageSize: {},
|
|
31
|
+
pageLinkSize: { default: 5 },
|
|
32
|
+
disabled: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: !1
|
|
35
|
+
},
|
|
36
|
+
showSizePicker: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: !1
|
|
39
|
+
},
|
|
40
|
+
pageSizes: { default: () => [
|
|
41
|
+
10,
|
|
42
|
+
20,
|
|
43
|
+
50,
|
|
44
|
+
100
|
|
45
|
+
] },
|
|
46
|
+
showQuickJumper: {
|
|
47
|
+
type: Boolean,
|
|
48
|
+
default: !1
|
|
49
|
+
},
|
|
50
|
+
simple: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
default: !1
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
emits: [
|
|
56
|
+
"update:modelValue",
|
|
57
|
+
"page",
|
|
58
|
+
"update:rows",
|
|
59
|
+
"update:pageSize"
|
|
60
|
+
],
|
|
61
|
+
setup(s, { expose: O, emit: k }) {
|
|
62
|
+
let A = s, j = k, M = e(), N = u(""), P = r(() => Math.max(1, A.pageSize ?? A.rows)), F = r(() => Math.max(1, Math.ceil(A.totalRecords / P.value))), I = r(() => Math.min(Math.max(1, A.modelValue), F.value)), L = r(() => (I.value - 1) * P.value), R = r(() => {
|
|
63
|
+
let e = Math.min(A.pageLinkSize, F.value), t = Math.min(Math.max(1, I.value - Math.floor(e / 2)), F.value - e + 1);
|
|
64
|
+
return Array.from({ length: e }, (e, n) => t + n);
|
|
65
|
+
}), z = r(() => {
|
|
66
|
+
let e = [...A.pageSizes];
|
|
67
|
+
return e.includes(P.value) || e.unshift(P.value), e;
|
|
68
|
+
});
|
|
69
|
+
function B(e) {
|
|
70
|
+
let t = Math.min(Math.max(1, e), F.value);
|
|
71
|
+
A.disabled || t === I.value || (j("update:modelValue", t), j("page", t));
|
|
72
|
+
}
|
|
73
|
+
function V(e) {
|
|
74
|
+
if (A.disabled || e === P.value) return;
|
|
75
|
+
j("update:rows", e), j("update:pageSize", e);
|
|
76
|
+
let t = Math.max(1, Math.ceil(A.totalRecords / e)), n = Math.min(I.value, t);
|
|
77
|
+
n !== I.value && (j("update:modelValue", n), j("page", n));
|
|
78
|
+
}
|
|
79
|
+
function H(e) {
|
|
80
|
+
let t = Number(e.target.value);
|
|
81
|
+
Number.isFinite(t) && V(t);
|
|
82
|
+
}
|
|
83
|
+
function U() {
|
|
84
|
+
let e = Number.parseInt(N.value, 10);
|
|
85
|
+
N.value = "", Number.isFinite(e) && B(e);
|
|
86
|
+
}
|
|
87
|
+
function W(e) {
|
|
88
|
+
return t(M.value.page, { page: e });
|
|
89
|
+
}
|
|
90
|
+
return O({
|
|
91
|
+
first: L,
|
|
92
|
+
pageCount: F
|
|
93
|
+
}), (e, t) => (l(), a("nav", {
|
|
94
|
+
class: c(["wi-pagination", { "wi-pagination--simple": s.simple }]),
|
|
95
|
+
"aria-label": p(M).pagination
|
|
96
|
+
}, [
|
|
97
|
+
o("button", {
|
|
98
|
+
type: "button",
|
|
99
|
+
class: "wi-pagination__button",
|
|
100
|
+
disabled: s.disabled || I.value === 1,
|
|
101
|
+
"aria-label": p(M).prevPage,
|
|
102
|
+
onClick: t[0] ||= (e) => B(I.value - 1)
|
|
103
|
+
}, "‹", 8, _),
|
|
104
|
+
s.simple ? (l(), a("span", v, f(I.value) + " / " + f(F.value), 1)) : (l(!0), a(n, { key: 1 }, d(R.value, (e) => (l(), a("button", {
|
|
105
|
+
key: e,
|
|
106
|
+
type: "button",
|
|
107
|
+
class: c(["wi-pagination__button", { "wi-pagination__button--active": e === I.value }]),
|
|
108
|
+
disabled: s.disabled,
|
|
109
|
+
"aria-label": W(e),
|
|
110
|
+
"aria-current": e === I.value ? "page" : void 0,
|
|
111
|
+
onClick: (t) => B(e)
|
|
112
|
+
}, f(e), 11, y))), 128)),
|
|
113
|
+
o("button", {
|
|
114
|
+
type: "button",
|
|
115
|
+
class: "wi-pagination__button",
|
|
116
|
+
disabled: s.disabled || I.value === F.value,
|
|
117
|
+
"aria-label": p(M).nextPage,
|
|
118
|
+
onClick: t[1] ||= (e) => B(I.value + 1)
|
|
119
|
+
}, "›", 8, b),
|
|
120
|
+
s.showSizePicker && !s.simple ? (l(), a("label", x, [o("span", S, f(p(M).itemsPerPage), 1), o("select", {
|
|
121
|
+
class: "wi-pagination__select",
|
|
122
|
+
disabled: s.disabled,
|
|
123
|
+
value: P.value,
|
|
124
|
+
onChange: H
|
|
125
|
+
}, [(l(!0), a(n, null, d(z.value, (e) => (l(), a("option", {
|
|
126
|
+
key: e,
|
|
127
|
+
value: e
|
|
128
|
+
}, f(e), 9, w))), 128))], 40, C)])) : i("", !0),
|
|
129
|
+
s.showQuickJumper && !s.simple ? (l(), a("label", T, [
|
|
130
|
+
o("span", null, f(p(M).jumpToPage), 1),
|
|
131
|
+
o("input", {
|
|
132
|
+
class: "wi-pagination__input",
|
|
133
|
+
type: "number",
|
|
134
|
+
min: "1",
|
|
135
|
+
max: F.value,
|
|
136
|
+
disabled: s.disabled,
|
|
137
|
+
value: N.value,
|
|
138
|
+
onInput: t[2] ||= (e) => N.value = e.target.value,
|
|
139
|
+
onKeydown: m(h(U, ["prevent"]), ["enter"]),
|
|
140
|
+
onBlur: U
|
|
141
|
+
}, null, 40, E),
|
|
142
|
+
p(M).pageClassifier ? (l(), a("span", D, f(p(M).pageClassifier), 1)) : i("", !0)
|
|
143
|
+
])) : i("", !0)
|
|
144
|
+
], 10, g));
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
//#endregion
|
|
148
|
+
export { O as t };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { n as e } from "./types-tV3SEv3Q.js";
|
|
2
|
+
import { n as t } from "./locale-CYkJyRd1.js";
|
|
3
|
+
import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, normalizeClass as s, normalizeStyle as c, onBeforeUnmount as l, openBlock as u, ref as d, renderSlot as f, toDisplayString as p, useSlots as m, watch as h } from "vue";
|
|
4
|
+
//#region src/components/ProgressSpinner/ProgressSpinner.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var g = { class: "wi-progress-spinner-wrap__content" }, _ = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "wi-progress-spinner-wrap__overlay"
|
|
8
|
+
}, v = ["aria-label"], y = ["stroke-width"], b = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "wi-progress-spinner__description"
|
|
11
|
+
}, x = ["aria-label"], S = ["stroke-width"], C = /* @__PURE__ */ o({
|
|
12
|
+
__name: "ProgressSpinner",
|
|
13
|
+
props: {
|
|
14
|
+
strokeWidth: { default: "2" },
|
|
15
|
+
animationDuration: { default: "1s" },
|
|
16
|
+
ariaLabel: {},
|
|
17
|
+
show: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !0
|
|
20
|
+
},
|
|
21
|
+
delay: { default: 0 },
|
|
22
|
+
size: {},
|
|
23
|
+
description: {}
|
|
24
|
+
},
|
|
25
|
+
setup(o) {
|
|
26
|
+
let C = o, w = m(), T = t(), E = n(() => C.ariaLabel ?? T.value.loading), D = n(() => !!w.default), O = n(() => e(C.size)), k = d(C.show && C.delay <= 0), A = null;
|
|
27
|
+
function j() {
|
|
28
|
+
A !== null && (clearTimeout(A), A = null);
|
|
29
|
+
}
|
|
30
|
+
h(() => [
|
|
31
|
+
C.show,
|
|
32
|
+
C.delay,
|
|
33
|
+
D.value
|
|
34
|
+
], ([e, t]) => {
|
|
35
|
+
if (j(), !e) {
|
|
36
|
+
k.value = !1;
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
if (!t) {
|
|
40
|
+
k.value = !0;
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
k.value = !1, A = setTimeout(() => {
|
|
44
|
+
k.value = !0, A = null;
|
|
45
|
+
}, t);
|
|
46
|
+
}, { immediate: !0 }), l(j);
|
|
47
|
+
let M = n(() => ({ animationDuration: C.animationDuration })), N = n(() => ({
|
|
48
|
+
"wi-progress-spinner--small": O.value === "small",
|
|
49
|
+
"wi-progress-spinner--large": O.value === "large"
|
|
50
|
+
}));
|
|
51
|
+
return (e, t) => D.value ? (u(), i("div", {
|
|
52
|
+
key: 0,
|
|
53
|
+
class: s(["wi-progress-spinner-wrap", { "wi-progress-spinner-wrap--active": k.value }])
|
|
54
|
+
}, [a("div", g, [f(e.$slots, "default")]), k.value ? (u(), i("div", _, [(u(), i("svg", {
|
|
55
|
+
class: s(["wi-progress-spinner", N.value]),
|
|
56
|
+
viewBox: "0 0 50 50",
|
|
57
|
+
role: "status",
|
|
58
|
+
"aria-label": E.value,
|
|
59
|
+
style: c(M.value)
|
|
60
|
+
}, [a("circle", {
|
|
61
|
+
class: "wi-progress-spinner__circle",
|
|
62
|
+
cx: "25",
|
|
63
|
+
cy: "25",
|
|
64
|
+
r: "20",
|
|
65
|
+
fill: "none",
|
|
66
|
+
"stroke-width": o.strokeWidth
|
|
67
|
+
}, null, 8, y)], 14, v)), o.description ? (u(), i("p", b, p(o.description), 1)) : r("", !0)])) : r("", !0)], 2)) : (u(), i("svg", {
|
|
68
|
+
key: 1,
|
|
69
|
+
class: s(["wi-progress-spinner", N.value]),
|
|
70
|
+
viewBox: "0 0 50 50",
|
|
71
|
+
role: "status",
|
|
72
|
+
"aria-label": E.value,
|
|
73
|
+
style: c(M.value)
|
|
74
|
+
}, [a("circle", {
|
|
75
|
+
class: "wi-progress-spinner__circle",
|
|
76
|
+
cx: "25",
|
|
77
|
+
cy: "25",
|
|
78
|
+
r: "20",
|
|
79
|
+
fill: "none",
|
|
80
|
+
"stroke-width": o.strokeWidth
|
|
81
|
+
}, null, 8, S)], 14, x));
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
//#endregion
|
|
85
|
+
export { C as t };
|