@well-insight/ui 0.1.9 → 0.1.11
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 +59 -0
- package/README.md +3 -3
- package/README.zh-CN.md +3 -3
- package/dist/{Button-BZzV1X-d.js → Button-tnrMSwNg.js} +4 -8
- package/dist/{Checkbox-BtgWgkHI.js → Checkbox-CoovLjt_.js} +6 -6
- package/dist/{Icon-B6gOD07E.js → Icon-DHGs8l-M.js} +27 -1
- package/dist/Pagination-UvgyUKB1.js +155 -0
- package/dist/{ProgressSpinner-YThgaSzb.js → ProgressSpinner-BTijCc7l.js} +1 -1
- package/dist/accordion/style.css +42 -28
- package/dist/auto-complete/index.js +106 -99
- package/dist/auto-complete/style.css +184 -162
- package/dist/avatar/index.js +1 -1
- package/dist/avatar/style.css +106 -79
- package/dist/badge/style.css +150 -115
- package/dist/block-ui/style.css +42 -28
- package/dist/breadcrumb/index.js +1 -1
- package/dist/breadcrumb/style.css +42 -28
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +609 -452
- package/dist/card/style.css +42 -28
- package/dist/carousel/index.js +61 -54
- package/dist/carousel/style.css +116 -62
- package/dist/carousel/style.js +1 -0
- package/dist/cascade-select/index.js +143 -76
- package/dist/cascade-select/style.css +193 -110
- package/dist/cascade-select/style.js +1 -0
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox/style.css +42 -28
- package/dist/chip/index.js +32 -29
- package/dist/chip/style.css +121 -100
- package/dist/command-menu/index.js +2 -2
- package/dist/command-menu/style.css +101 -85
- package/dist/components/Accordion/Accordion.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts +2 -0
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/styles.css +142 -134
- package/dist/components/AutoComplete/types.d.ts +1 -0
- package/dist/components/AutoComplete/types.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Avatar/AvatarGroup.vue.d.ts.map +1 -1
- package/dist/components/Avatar/styles.css +64 -51
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Badge/styles.css +108 -87
- package/dist/components/BlockUI/BlockUI.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts.map +1 -1
- package/dist/components/Button/Button.vue.d.ts +1 -2
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/ButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/styles.css +567 -424
- package/dist/components/Button/types.d.ts +0 -2
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts +2 -2
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css +36 -35
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +6 -0
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/styles.css +137 -107
- package/dist/components/CascadeSelect/types.d.ts +11 -0
- package/dist/components/CascadeSelect/types.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/CheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
- package/dist/components/Chip/styles.css +79 -72
- package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
- package/dist/components/CommandMenu/styles.css +59 -57
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/styles.css +17 -16
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/styles.css +27 -26
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/index.d.ts +1 -1
- package/dist/components/ContextMenu/index.d.ts.map +1 -1
- package/dist/components/ContextMenu/styles.css +43 -37
- package/dist/components/ContextMenu/useContextMenu.d.ts.map +1 -1
- package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
- 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/styles.css +200 -151
- package/dist/components/DatePicker/types.d.ts +1 -0
- package/dist/components/DatePicker/types.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts +3 -3
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Dialog/styles.css +155 -150
- package/dist/components/Divider/Divider.vue.d.ts.map +1 -1
- package/dist/components/Divider/types.d.ts +0 -5
- package/dist/components/Divider/types.d.ts.map +1 -1
- package/dist/components/Dock/Dock.vue.d.ts.map +1 -1
- package/dist/components/Dock/styles.css +37 -32
- package/dist/components/Drawer/Drawer.vue.d.ts +2 -2
- package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/Drawer/styles.css +82 -80
- package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts +2 -2
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/styles.css +58 -57
- package/dist/components/Fieldset/Fieldset.vue.d.ts +4 -4
- package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
- package/dist/components/FileUpload/FileUpload.vue.d.ts +2 -2
- package/dist/components/FileUpload/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/FileUpload/styles.css +238 -221
- package/dist/components/Flex/Flex.vue.d.ts.map +1 -1
- package/dist/components/FloatLabel/FloatLabel.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/FormItem.vue.d.ts.map +1 -1
- package/dist/components/Form/index.d.ts +2 -2
- package/dist/components/Form/index.d.ts.map +1 -1
- package/dist/components/Form/styles.css +46 -44
- package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
- package/dist/components/Gallery/styles.css +42 -39
- package/dist/components/Grid/Grid.vue.d.ts.map +1 -1
- package/dist/components/Grid/GridItem.vue.d.ts.map +1 -1
- package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
- package/dist/components/Icon/icons.d.ts +32 -0
- package/dist/components/Icon/icons.d.ts.map +1 -1
- package/dist/components/IconField/IconField.vue.d.ts.map +1 -1
- package/dist/components/Inplace/Inplace.vue.d.ts.map +1 -1
- package/dist/components/Input/Input.vue.d.ts +0 -1
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/styles.css +196 -191
- package/dist/components/Input/types.d.ts +1 -3
- package/dist/components/Input/types.d.ts.map +1 -1
- package/dist/components/InputColor/InputColor.vue.d.ts.map +1 -1
- package/dist/components/InputColor/styles.css +50 -48
- package/dist/components/InputNumber/InputNumber.vue.d.ts.map +1 -1
- package/dist/components/InputNumber/styles.css +90 -80
- package/dist/components/InputOtp/InputOtp.vue.d.ts.map +1 -1
- package/dist/components/InputPassword/InputPassword.vue.d.ts +4 -4
- package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
- package/dist/components/InputPassword/styles.css +130 -117
- package/dist/components/InputTags/InputTags.vue.d.ts.map +1 -1
- package/dist/components/InputTags/styles.css +51 -43
- package/dist/components/Knob/Knob.vue.d.ts.map +1 -1
- package/dist/components/Label/Label.vue.d.ts.map +1 -1
- package/dist/components/Layout/Layout.vue.d.ts +1 -4
- package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutContent.vue.d.ts +1 -4
- package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutFooter.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutHeader.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutSider.vue.d.ts +2 -5
- package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +9 -0
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -0
- package/dist/components/Layout/composables/useLayoutScroll.d.ts +6 -0
- package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -0
- package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts +16 -0
- package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts.map +1 -0
- package/dist/components/Layout/index.d.ts +2 -2
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/Layout/styles.css +293 -271
- package/dist/components/Layout/types.d.ts +30 -34
- package/dist/components/Layout/types.d.ts.map +1 -1
- package/dist/components/Layout/utils.d.ts +3 -0
- package/dist/components/Layout/utils.d.ts.map +1 -0
- package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
- package/dist/components/Listbox/styles.css +61 -51
- package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
- package/dist/components/MegaMenu/styles.css +60 -58
- package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
- package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
- package/dist/components/Menu/styles.css +53 -47
- package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
- package/dist/components/Menubar/styles.css +80 -70
- package/dist/components/Message/Message.vue.d.ts.map +1 -1
- package/dist/components/Message/index.d.ts +1 -1
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/Message/message.d.ts +2 -2
- package/dist/components/Message/message.d.ts.map +1 -1
- package/dist/components/Message/messageState.d.ts.map +1 -1
- package/dist/components/Message/styles.css +193 -143
- package/dist/components/Message/types.d.ts +1 -1
- package/dist/components/Message/types.d.ts.map +1 -1
- package/dist/components/MeterGroup/MeterGroup.vue.d.ts.map +1 -1
- package/dist/components/MeterGroup/styles.css +36 -34
- package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css +59 -57
- package/dist/components/Panel/Panel.vue.d.ts +3 -3
- package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
- package/dist/components/PickList/PickList.vue.d.ts.map +1 -1
- package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
- package/dist/components/Popover/styles.css +87 -45
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts.map +1 -1
- package/dist/components/Radio/Radio.vue.d.ts.map +1 -1
- package/dist/components/Radio/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
- package/dist/components/Rating/styles.css +28 -23
- package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
- package/dist/components/Scrollbar/Scrollbar.vue.d.ts.map +1 -1
- package/dist/components/Scrollbar/Thumb.vue.d.ts.map +1 -1
- package/dist/components/Scrollbar/constants.d.ts +2 -2
- package/dist/components/Scrollbar/constants.d.ts.map +1 -1
- package/dist/components/Scrollbar/styles.css +68 -59
- package/dist/components/Select/Select.vue.d.ts +1 -1
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/styles.css +184 -271
- package/dist/components/Select/types.d.ts +3 -3
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/SelectButton/SelectButton.vue.d.ts.map +1 -1
- package/dist/components/SelectButton/styles.css +64 -51
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/styles.css +40 -38
- package/dist/components/Skeleton/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
- package/dist/components/Slider/styles.css +111 -95
- package/dist/components/Slider/types.d.ts +2 -0
- package/dist/components/Slider/types.d.ts.map +1 -1
- package/dist/components/Space/Space.vue.d.ts.map +1 -1
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/styles.css +105 -89
- package/dist/components/Splitter/Splitter.vue.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.vue.d.ts.map +1 -1
- package/dist/components/Stepper/styles.css +63 -58
- package/dist/components/Switch/Switch.vue.d.ts.map +1 -1
- package/dist/components/Switch/styles.css +82 -53
- package/dist/components/Table/Table.vue.d.ts +9 -9
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.vue.d.ts +3 -3
- package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
- package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Terminal/Terminal.vue.d.ts.map +1 -1
- package/dist/components/Terminal/styles.css +46 -34
- package/dist/components/Textarea/Textarea.vue.d.ts +0 -2
- package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/components/Textarea/styles.css +68 -62
- package/dist/components/Textarea/types.d.ts +2 -6
- package/dist/components/Textarea/types.d.ts.map +1 -1
- package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
- package/dist/components/TieredMenu/styles.css +69 -62
- package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
- package/dist/components/Timeline/types.d.ts +1 -1
- package/dist/components/Timeline/types.d.ts.map +1 -1
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/toast.d.ts +2 -2
- package/dist/components/Toast/toast.d.ts.map +1 -1
- package/dist/components/Toast/toastState.d.ts.map +1 -1
- package/dist/components/Toast/types.d.ts +1 -1
- package/dist/components/Toast/types.d.ts.map +1 -1
- package/dist/components/ToggleButton/ToggleButton.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
- package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
- package/dist/components/Tree/TreeNodeItem.vue.d.ts.map +1 -1
- package/dist/components/Tree/context.d.ts +2 -2
- package/dist/components/Tree/context.d.ts.map +1 -1
- package/dist/components/Tree/index.d.ts +1 -1
- package/dist/components/Tree/index.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/styles.css +149 -138
- package/dist/components/TreeTable/TreeTable.vue.d.ts.map +1 -1
- package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
- 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/{config-DWwce9jA.js → config-CTLkobga.js} +1 -0
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +767 -605
- package/dist/confirm-dialog/index.js +4 -4
- package/dist/confirm-dialog/style.css +781 -618
- package/dist/confirm-popup/index.js +62 -77
- package/dist/confirm-popup/style.css +636 -478
- package/dist/context-menu/index.js +69 -61
- package/dist/context-menu/style.css +85 -65
- package/dist/data-view/index.js +1 -1
- package/dist/data-view/style.css +101 -85
- package/dist/date-picker/index.js +144 -137
- package/dist/date-picker/style.css +266 -164
- package/dist/date-picker/style.js +1 -0
- package/dist/dialog/index.js +76 -70
- package/dist/dialog/style.css +764 -602
- package/dist/divider/index.js +1 -2
- package/dist/divider/style.css +42 -28
- package/dist/dock/style.css +79 -60
- package/dist/drawer/index.js +49 -45
- package/dist/drawer/style.css +163 -108
- package/dist/drawer/style.js +1 -0
- package/dist/dropdown/index.js +98 -97
- package/dist/dropdown/style.css +100 -85
- package/dist/fieldset/index.js +16 -12
- package/dist/fieldset/style.css +81 -28
- package/dist/fieldset/style.js +1 -0
- package/dist/file-upload/index.js +2 -2
- package/dist/file-upload/style.css +274 -243
- package/dist/flex/index.js +1 -1
- package/dist/flex/style.css +42 -28
- package/dist/float-label/index.js +15 -4
- package/dist/float-label/style.css +42 -28
- package/dist/fluid/style.css +42 -28
- package/dist/form/index.js +1 -1
- package/dist/form/style.css +88 -72
- package/dist/gallery/index.js +41 -34
- package/dist/gallery/style.css +122 -66
- package/dist/gallery/style.js +1 -0
- package/dist/grid/index.js +39 -39
- package/dist/grid/style.css +42 -28
- package/dist/icon/index.js +1 -1
- package/dist/icon/style.css +42 -28
- package/dist/icon-Cg5TeFqe.js +7 -0
- package/dist/icon-field/style.css +42 -28
- package/dist/index.d.ts +174 -174
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3433 -3241
- package/dist/inplace/style.css +42 -28
- package/dist/input/index.js +64 -66
- package/dist/input/style.css +275 -217
- package/dist/input/style.js +1 -0
- package/dist/input-color/index.js +3 -3
- package/dist/input-color/style.css +92 -76
- package/dist/input-group/style.css +42 -28
- package/dist/input-number/index.js +82 -66
- package/dist/input-number/style.css +170 -107
- package/dist/input-number/style.js +1 -0
- package/dist/input-otp/index.js +3 -3
- package/dist/input-otp/style.css +42 -28
- package/dist/input-password/index.js +59 -57
- package/dist/input-password/style.css +172 -145
- package/dist/input-tags/index.js +50 -46
- package/dist/input-tags/style.css +131 -70
- package/dist/input-tags/style.js +1 -0
- package/dist/key-CaQYVkjh.js +6 -0
- package/dist/knob/style.css +42 -28
- package/dist/label/style.css +42 -28
- package/dist/layout/index.js +196 -229
- package/dist/layout/style.css +348 -364
- package/dist/layout/style.js +1 -1
- package/dist/listbox/index.js +1 -1
- package/dist/listbox/style.css +103 -79
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.d.ts.map +1 -1
- package/dist/locale/types.d.ts +1 -0
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/{locale-CYkJyRd1.js → locale-DxAvgqgB.js} +1 -1
- package/dist/mega-menu/index.js +47 -49
- package/dist/mega-menu/style.css +102 -86
- package/dist/menu/index.js +81 -76
- package/dist/menu/style.css +95 -75
- package/dist/menubar/index.js +75 -73
- package/dist/menubar/style.css +122 -98
- package/dist/message/index.js +3 -3
- package/dist/message/style.css +235 -171
- package/dist/meter-group/style.css +78 -62
- package/dist/order-list/index.js +2 -2
- package/dist/order-list/style.css +42 -28
- package/dist/overlayPlacement-CN1tuC95.js +51 -0
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +140 -85
- package/dist/pagination/style.js +1 -0
- package/dist/panel/index.js +27 -23
- package/dist/panel/style.css +81 -28
- package/dist/panel/style.js +1 -0
- package/dist/pick-list/index.js +2 -2
- package/dist/pick-list/style.css +42 -28
- package/dist/popover/index.js +79 -100
- package/dist/popover/style.css +129 -73
- package/dist/progress-bar/style.css +42 -28
- package/dist/progress-spinner/index.js +1 -1
- package/dist/progress-spinner/style.css +42 -28
- package/dist/radio/index.js +5 -5
- package/dist/radio/style.css +42 -28
- package/dist/rating/index.js +54 -44
- package/dist/rating/style.css +109 -51
- package/dist/rating/style.js +1 -0
- package/dist/scroll-top/index.js +45 -41
- package/dist/scroll-top/style.css +81 -28
- package/dist/scroll-top/style.js +1 -0
- package/dist/scrollbar/index.js +382 -2
- package/dist/scrollbar/style.css +110 -87
- package/dist/select/index.js +149 -141
- package/dist/select/style.css +238 -272
- package/dist/select/style.js +1 -0
- package/dist/select-button/index.js +1 -1
- package/dist/select-button/style.css +106 -79
- package/dist/shared/Renderable.d.ts.map +1 -1
- package/dist/shared/componentDefaults.d.ts +5 -1
- package/dist/shared/componentDefaults.d.ts.map +1 -1
- package/dist/shared/config.d.ts.map +1 -1
- package/dist/shared/content.d.ts.map +1 -1
- package/dist/shared/menu/icon.d.ts +4 -0
- package/dist/shared/menu/icon.d.ts.map +1 -0
- package/dist/shared/menu/index.d.ts +4 -0
- package/dist/shared/menu/index.d.ts.map +1 -0
- package/dist/shared/menu/key.d.ts +4 -0
- package/dist/shared/menu/key.d.ts.map +1 -0
- package/dist/shared/menu/types.d.ts +11 -0
- package/dist/shared/menu/types.d.ts.map +1 -0
- package/dist/shared/overlayHost.d.ts.map +1 -1
- package/dist/shared/overlayPlacement.d.ts +12 -0
- package/dist/shared/overlayPlacement.d.ts.map +1 -0
- package/dist/shared/useModalOverlay.d.ts.map +1 -1
- package/dist/shared/vnode.d.ts.map +1 -1
- package/dist/sidebar/index.js +1 -1
- package/dist/sidebar/style.css +82 -66
- package/dist/skeleton/style.css +42 -28
- package/dist/slider/index.js +6 -3
- package/dist/slider/style.css +153 -123
- package/dist/space/index.js +1 -1
- package/dist/space/style.css +42 -28
- package/dist/speed-dial/index.js +55 -66
- package/dist/speed-dial/style.css +81 -28
- package/dist/speed-dial/style.js +1 -0
- package/dist/split-button/index.js +66 -63
- package/dist/split-button/style.css +763 -551
- package/dist/split-button/style.js +1 -0
- package/dist/splitter/index.js +1 -1
- package/dist/splitter/style.css +42 -28
- package/dist/stepper/style.css +105 -86
- package/dist/styles/base.css +4 -5
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +6 -6
- package/dist/switch/style.css +124 -81
- package/dist/table/index.js +42 -36
- package/dist/table/style.css +101 -85
- package/dist/tabs/index.js +78 -65
- package/dist/tabs/style.css +81 -28
- package/dist/tabs/style.js +1 -0
- package/dist/tag/index.js +31 -28
- package/dist/tag/style.css +42 -28
- package/dist/terminal/index.js +1 -1
- package/dist/terminal/style.css +88 -62
- package/dist/textarea/index.js +69 -76
- package/dist/textarea/style.css +149 -90
- package/dist/textarea/style.js +1 -0
- package/dist/theme/index.d.ts +5 -5
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/styles.css +38 -23
- package/dist/theme/tokens.d.ts +11 -0
- package/dist/theme/tokens.d.ts.map +1 -1
- package/dist/theme/useTheme.d.ts.map +1 -1
- package/dist/tiered-menu/index.js +66 -59
- package/dist/tiered-menu/style.css +150 -90
- package/dist/tiered-menu/style.js +1 -0
- package/dist/timeline/index.js +1 -1
- package/dist/timeline/style.css +42 -28
- package/dist/toast/index.js +93 -89
- package/dist/toast/style.css +81 -28
- package/dist/toast/style.js +1 -0
- package/dist/toggle-button/index.js +1 -1
- package/dist/toggle-button/style.css +42 -28
- package/dist/toolbar/style.css +42 -28
- package/dist/tooltip/index.js +47 -71
- package/dist/tooltip/style.css +42 -28
- package/dist/tree/index.js +13 -13
- package/dist/tree/style.css +42 -28
- package/dist/tree-select/index.js +164 -155
- package/dist/tree-select/style.css +202 -138
- package/dist/tree-select/style.js +1 -0
- package/dist/tree-table/index.js +34 -30
- package/dist/tree-table/style.css +81 -28
- package/dist/tree-table/style.js +1 -0
- package/dist/virtual-scroller/style.css +42 -28
- package/package.json +18 -11
- package/dist/Pagination-C-F_ZDXr.js +0 -148
- package/dist/Scrollbar-D-bR2noX.js +0 -382
package/dist/switch/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e } from "../config-
|
|
1
|
+
import { o as e } from "../config-CTLkobga.js";
|
|
2
2
|
import "./style.js";
|
|
3
3
|
import { computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, defineComponent as o, mergeProps as s, normalizeClass as c, openBlock as l, renderSlot as u, toDisplayString as d, unref as f, useAttrs as p } from "vue";
|
|
4
4
|
//#region src/components/Switch/Switch.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -59,23 +59,23 @@ var m = ["for"], h = [
|
|
|
59
59
|
},
|
|
60
60
|
emits: ["update:modelValue"],
|
|
61
61
|
setup(o, { emit: x }) {
|
|
62
|
-
let S =
|
|
62
|
+
let S = o, C = x, w = p(), T = t(() => S.inputId ?? S.id ?? `wi-switch-${Math.random().toString(36).slice(2, 8)}`), E = e("Switch", () => S.size), D = t(() => S.disabled || S.loading), O = t(() => S.modelValue ? S.checkedText : S.uncheckedText), k = t(() => [
|
|
63
63
|
"wi-switch",
|
|
64
64
|
`wi-switch--${E.value}`,
|
|
65
65
|
{
|
|
66
66
|
"wi-switch--disabled": D.value,
|
|
67
|
-
"wi-switch--invalid":
|
|
68
|
-
"wi-switch--loading":
|
|
67
|
+
"wi-switch--invalid": S.invalid,
|
|
68
|
+
"wi-switch--loading": S.loading
|
|
69
69
|
}
|
|
70
70
|
]);
|
|
71
71
|
function A(e) {
|
|
72
|
-
D.value ||
|
|
72
|
+
D.value || C("update:modelValue", e.target.checked);
|
|
73
73
|
}
|
|
74
74
|
return (e, t) => (l(), r("label", {
|
|
75
75
|
class: c(k.value),
|
|
76
76
|
for: T.value
|
|
77
77
|
}, [
|
|
78
|
-
i("input", s(f(
|
|
78
|
+
i("input", s(f(w), {
|
|
79
79
|
id: T.value,
|
|
80
80
|
class: "wi-switch__input",
|
|
81
81
|
type: "checkbox",
|
package/dist/switch/style.css
CHANGED
|
@@ -16,12 +16,13 @@
|
|
|
16
16
|
--wi-control-padding-x-small: 10px;
|
|
17
17
|
--wi-control-padding-x-medium: 12px;
|
|
18
18
|
--wi-control-padding-x-large: 14px;
|
|
19
|
-
|
|
20
|
-
--wi-button-padding-x-medium: 14px;
|
|
21
|
-
--wi-button-padding-x-large: 18px;
|
|
19
|
+
|
|
22
20
|
--wi-radius-control: 3px;
|
|
23
|
-
--wi-
|
|
24
|
-
--wi-focus-shadow
|
|
21
|
+
--wi-border-width: 1px;
|
|
22
|
+
--wi-focus-shadow: 0 0 0 2px
|
|
23
|
+
color-mix(in srgb, var(--wi-color-primary) 20%, transparent);
|
|
24
|
+
--wi-focus-shadow-danger: 0 0 0 2px
|
|
25
|
+
color-mix(in srgb, var(--wi-color-danger) 20%, transparent);
|
|
25
26
|
--wi-color-success: #159570;
|
|
26
27
|
--wi-color-info: #2563eb;
|
|
27
28
|
--wi-color-warning: #d97706;
|
|
@@ -39,10 +40,7 @@
|
|
|
39
40
|
--wi-shadow-lg: 0 1rem 3rem rgb(15 23 42 / 0.25);
|
|
40
41
|
--wi-shadow-sticky: 4px 0 8px color-mix(in srgb, #000 6%, transparent);
|
|
41
42
|
--wi-shadow-sticky-end: -4px 0 8px color-mix(in srgb, #000 6%, transparent);
|
|
42
|
-
|
|
43
|
-
--wi-terminal-fg: #e5e7eb;
|
|
44
|
-
--wi-terminal-prompt: #34d399;
|
|
45
|
-
--wi-terminal-border: color-mix(in srgb, #fff 12%, transparent);
|
|
43
|
+
|
|
46
44
|
/* Typography scale (component text, not control-height fonts) */
|
|
47
45
|
--wi-font-size-xs: 0.75rem;
|
|
48
46
|
--wi-font-size-sm: 0.8125rem;
|
|
@@ -56,8 +54,7 @@
|
|
|
56
54
|
--wi-z-dropdown: calc(var(--wi-z-base) + 50);
|
|
57
55
|
--wi-z-toast: calc(var(--wi-z-base) + 100);
|
|
58
56
|
--wi-z-popper: 40;
|
|
59
|
-
|
|
60
|
-
--wi-menu-min-width-lg: 12rem;
|
|
57
|
+
|
|
61
58
|
--wi-control-affix-size: 2rem;
|
|
62
59
|
--wi-control-affix-gap: 2.35rem;
|
|
63
60
|
--wi-control-affix-padding: 2.5rem;
|
|
@@ -118,9 +115,6 @@
|
|
|
118
115
|
--wi-control-padding-x-small: 8px;
|
|
119
116
|
--wi-control-padding-x-medium: 10px;
|
|
120
117
|
--wi-control-padding-x-large: 12px;
|
|
121
|
-
--wi-button-padding-x-small: 8px;
|
|
122
|
-
--wi-button-padding-x-medium: 12px;
|
|
123
|
-
--wi-button-padding-x-large: 16px;
|
|
124
118
|
}
|
|
125
119
|
|
|
126
120
|
[data-wi-density="spacious"] {
|
|
@@ -139,9 +133,32 @@
|
|
|
139
133
|
--wi-control-padding-x-small: 12px;
|
|
140
134
|
--wi-control-padding-x-medium: 14px;
|
|
141
135
|
--wi-control-padding-x-large: 16px;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
[data-wi-density="compact"] .wi-layout-header {
|
|
139
|
+
--wi-layout-header-height: 48px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
[data-wi-density="compact"] .wi-layout-footer {
|
|
143
|
+
--wi-layout-footer-height: 40px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
[data-wi-density="compact"] .wi-layout-sider {
|
|
147
|
+
--wi-layout-sider-width: 240px;
|
|
148
|
+
--wi-layout-sider-collapsed-width: 44px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
[data-wi-density="spacious"] .wi-layout-header {
|
|
152
|
+
--wi-layout-header-height: 64px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
[data-wi-density="spacious"] .wi-layout-footer {
|
|
156
|
+
--wi-layout-footer-height: 56px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
[data-wi-density="spacious"] .wi-layout-sider {
|
|
160
|
+
--wi-layout-sider-width: 288px;
|
|
161
|
+
--wi-layout-sider-collapsed-width: 52px;
|
|
145
162
|
}
|
|
146
163
|
|
|
147
164
|
[data-theme="dark"] {
|
|
@@ -152,8 +169,10 @@
|
|
|
152
169
|
--wi-color-text-muted: #94a3b8;
|
|
153
170
|
--wi-color-border: #334155;
|
|
154
171
|
--wi-color-focus-ring: #93c5fd;
|
|
155
|
-
--wi-focus-shadow: 0 0 0 2px
|
|
156
|
-
|
|
172
|
+
--wi-focus-shadow: 0 0 0 2px
|
|
173
|
+
color-mix(in srgb, var(--wi-color-primary) 28%, transparent);
|
|
174
|
+
--wi-focus-shadow-danger: 0 0 0 2px
|
|
175
|
+
color-mix(in srgb, var(--wi-color-danger) 28%, transparent);
|
|
157
176
|
--wi-color-success: #5eead4;
|
|
158
177
|
--wi-color-info: #93c5fd;
|
|
159
178
|
--wi-color-warning: #fbbf24;
|
|
@@ -170,10 +189,6 @@
|
|
|
170
189
|
--wi-shadow-lg: 0 1rem 3rem rgb(0 0 0 / 0.55);
|
|
171
190
|
--wi-shadow-sticky: 4px 0 8px color-mix(in srgb, #000 35%, transparent);
|
|
172
191
|
--wi-shadow-sticky-end: -4px 0 8px color-mix(in srgb, #000 35%, transparent);
|
|
173
|
-
--wi-terminal-bg: #020617;
|
|
174
|
-
--wi-terminal-fg: #e2e8f0;
|
|
175
|
-
--wi-terminal-prompt: #5eead4;
|
|
176
|
-
--wi-terminal-border: color-mix(in srgb, #fff 14%, transparent);
|
|
177
192
|
}
|
|
178
193
|
|
|
179
194
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -465,8 +480,8 @@
|
|
|
465
480
|
font-size: var(--wi-font-size-xs);
|
|
466
481
|
}
|
|
467
482
|
|
|
468
|
-
.wi-textarea-field__help--
|
|
469
|
-
.wi-select-field__help--
|
|
483
|
+
.wi-textarea-field__help--invalid,
|
|
484
|
+
.wi-select-field__help--invalid {
|
|
470
485
|
color: var(--wi-color-danger);
|
|
471
486
|
}
|
|
472
487
|
|
|
@@ -485,9 +500,8 @@
|
|
|
485
500
|
}
|
|
486
501
|
|
|
487
502
|
.wi-textarea--invalid:focus-visible,
|
|
488
|
-
.wi-
|
|
489
|
-
.wi-select--
|
|
490
|
-
.wi-select--error:focus-visible {
|
|
503
|
+
.wi-select--invalid.wi-select--open,
|
|
504
|
+
.wi-select--invalid:focus-visible {
|
|
491
505
|
border-color: var(--wi-color-danger);
|
|
492
506
|
box-shadow: var(--wi-focus-shadow-danger);
|
|
493
507
|
}
|
|
@@ -735,81 +749,110 @@
|
|
|
735
749
|
line-height: 1;
|
|
736
750
|
}
|
|
737
751
|
|
|
738
|
-
.wi-switch--invalid .wi-switch__track {
|
|
739
|
-
box-shadow: 0 0 0 1px var(--wi-color-danger);
|
|
752
|
+
.wi-switch--invalid .wi-switch__track {
|
|
753
|
+
box-shadow: 0 0 0 1px var(--wi-color-danger);
|
|
740
754
|
}
|
|
741
755
|
|
|
742
|
-
.wi-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
height: 1.25rem;
|
|
749
|
-
padding: 0.125rem;
|
|
750
|
-
transition: background-color var(--wi-motion-fast) var(--wi-motion-ease);
|
|
751
|
-
width: 2.25rem;
|
|
756
|
+
.wi-switch {
|
|
757
|
+
--wi-switch-track-height: 1.25rem;
|
|
758
|
+
--wi-switch-track-width: 2.25rem;
|
|
759
|
+
--wi-switch-thumb-size: 1rem;
|
|
760
|
+
--wi-switch-checked-offset: 1rem;
|
|
761
|
+
--wi-switch-spinner-size: 0.55rem;
|
|
752
762
|
}
|
|
753
763
|
|
|
754
|
-
.wi-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
764
|
+
.wi-switch__track {
|
|
765
|
+
align-items: center;
|
|
766
|
+
background: var(--wi-color-border);
|
|
767
|
+
border-radius: var(--wi-radius-full);
|
|
768
|
+
display: inline-flex;
|
|
769
|
+
flex: 0 0 auto;
|
|
770
|
+
height: var(--wi-switch-track-height);
|
|
771
|
+
padding: var(--wi-space-1);
|
|
772
|
+
transition: background-color var(--wi-motion-fast) var(--wi-motion-ease);
|
|
773
|
+
width: var(--wi-switch-track-width);
|
|
762
774
|
}
|
|
763
775
|
|
|
764
|
-
.wi-
|
|
765
|
-
background: var(--wi-color-
|
|
776
|
+
.wi-switch__thumb {
|
|
777
|
+
background: var(--wi-color-surface);
|
|
778
|
+
border-radius: var(--wi-radius-full);
|
|
779
|
+
box-shadow: var(--wi-shadow-sm);
|
|
780
|
+
height: var(--wi-switch-thumb-size);
|
|
781
|
+
transform: translateX(0);
|
|
782
|
+
transition: transform var(--wi-motion-fast) var(--wi-motion-ease);
|
|
783
|
+
width: var(--wi-switch-thumb-size);
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.wi-switch__input:checked + .wi-switch__track {
|
|
787
|
+
background: var(--wi-color-primary);
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
.wi-switch__input:checked + .wi-switch__track .wi-switch__thumb {
|
|
791
|
+
transform: translateX(var(--wi-switch-checked-offset));
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.wi-switch--small {
|
|
795
|
+
--wi-switch-track-height: 1rem;
|
|
796
|
+
--wi-switch-track-width: 1.75rem;
|
|
797
|
+
--wi-switch-thumb-size: 0.75rem;
|
|
798
|
+
--wi-switch-checked-offset: 0.75rem;
|
|
766
799
|
}
|
|
767
800
|
|
|
768
|
-
.wi-
|
|
769
|
-
|
|
801
|
+
.wi-switch--small .wi-switch__track {
|
|
802
|
+
height: var(--wi-switch-track-height);
|
|
803
|
+
width: var(--wi-switch-track-width);
|
|
770
804
|
}
|
|
771
805
|
|
|
772
|
-
.wi-switch--small .wi-
|
|
773
|
-
height:
|
|
774
|
-
width:
|
|
806
|
+
.wi-switch--small .wi-switch__thumb {
|
|
807
|
+
height: var(--wi-switch-thumb-size);
|
|
808
|
+
width: var(--wi-switch-thumb-size);
|
|
775
809
|
}
|
|
776
810
|
|
|
777
|
-
.wi-switch--small
|
|
778
|
-
|
|
779
|
-
|
|
811
|
+
.wi-switch--small
|
|
812
|
+
.wi-switch__input:checked
|
|
813
|
+
+ .wi-switch__track
|
|
814
|
+
.wi-switch__thumb {
|
|
815
|
+
transform: translateX(var(--wi-switch-checked-offset));
|
|
780
816
|
}
|
|
781
817
|
|
|
782
|
-
.wi-switch--
|
|
783
|
-
|
|
818
|
+
.wi-switch--large {
|
|
819
|
+
--wi-switch-track-height: 1.5rem;
|
|
820
|
+
--wi-switch-track-width: 2.75rem;
|
|
821
|
+
--wi-switch-thumb-size: 1.2rem;
|
|
822
|
+
--wi-switch-checked-offset: 1.25rem;
|
|
784
823
|
}
|
|
785
824
|
|
|
786
|
-
.wi-switch--large .wi-switch__track {
|
|
787
|
-
height:
|
|
788
|
-
width:
|
|
825
|
+
.wi-switch--large .wi-switch__track {
|
|
826
|
+
height: var(--wi-switch-track-height);
|
|
827
|
+
width: var(--wi-switch-track-width);
|
|
789
828
|
}
|
|
790
829
|
|
|
791
|
-
.wi-switch--large .wi-switch__thumb {
|
|
792
|
-
height:
|
|
793
|
-
width:
|
|
830
|
+
.wi-switch--large .wi-switch__thumb {
|
|
831
|
+
height: var(--wi-switch-thumb-size);
|
|
832
|
+
width: var(--wi-switch-thumb-size);
|
|
794
833
|
}
|
|
795
834
|
|
|
796
|
-
.wi-switch--large
|
|
797
|
-
|
|
835
|
+
.wi-switch--large
|
|
836
|
+
.wi-switch__input:checked
|
|
837
|
+
+ .wi-switch__track
|
|
838
|
+
.wi-switch__thumb {
|
|
839
|
+
transform: translateX(var(--wi-switch-checked-offset));
|
|
798
840
|
}
|
|
799
841
|
|
|
800
|
-
.wi-switch__text {
|
|
801
|
-
color: var(--wi-color-on-emphasis);
|
|
802
|
-
font-size: 0.65rem;
|
|
803
|
-
padding: 0 0.35rem;
|
|
804
|
-
pointer-events: none;
|
|
842
|
+
.wi-switch__text {
|
|
843
|
+
color: var(--wi-color-on-emphasis);
|
|
844
|
+
font-size: 0.65rem;
|
|
845
|
+
padding: 0 0.35rem;
|
|
846
|
+
pointer-events: none;
|
|
805
847
|
}
|
|
806
848
|
|
|
807
|
-
.wi-switch__spinner {
|
|
808
|
-
animation: wi-progress-spinner-rotate 0.8s linear infinite;
|
|
809
|
-
border: 1.5px solid
|
|
810
|
-
|
|
811
|
-
border-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
849
|
+
.wi-switch__spinner {
|
|
850
|
+
animation: wi-progress-spinner-rotate 0.8s linear infinite;
|
|
851
|
+
border: 1.5px solid
|
|
852
|
+
color-mix(in srgb, var(--wi-color-primary) 40%, transparent);
|
|
853
|
+
border-radius: 50%;
|
|
854
|
+
border-top-color: var(--wi-color-primary);
|
|
855
|
+
display: block;
|
|
856
|
+
height: var(--wi-switch-spinner-size);
|
|
857
|
+
width: var(--wi-switch-spinner-size);
|
|
815
858
|
}
|
package/dist/table/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "../Icon-
|
|
2
|
-
import { t } from "../Checkbox-
|
|
3
|
-
import { t as n } from "../Pagination-
|
|
1
|
+
import { t as e } from "../Icon-DHGs8l-M.js";
|
|
2
|
+
import { t } from "../Checkbox-CoovLjt_.js";
|
|
3
|
+
import { t as n } from "../Pagination-UvgyUKB1.js";
|
|
4
4
|
import { t as r } from "../Renderable-IhqISc5E.js";
|
|
5
|
-
import { t as i } from "../ProgressSpinner-
|
|
6
|
-
import { o as a } from "../config-
|
|
7
|
-
import { n as o, t as s } from "../locale-
|
|
5
|
+
import { t as i } from "../ProgressSpinner-BTijCc7l.js";
|
|
6
|
+
import { o as a } from "../config-CTLkobga.js";
|
|
7
|
+
import { n as o, t as s } from "../locale-DxAvgqgB.js";
|
|
8
8
|
import "./style.js";
|
|
9
9
|
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as ee, createVNode as m, defineComponent as h, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as te, onMounted as ne, openBlock as v, ref as y, renderList as b, renderSlot as x, toDisplayString as S, unref as C, watch as w, withModifiers as T } from "vue";
|
|
10
10
|
function E(e) {
|
|
@@ -305,7 +305,7 @@ var ae = ["aria-sort"], oe = { class: "wi-table__th-inner" }, se = ["onClick"],
|
|
|
305
305
|
});
|
|
306
306
|
}
|
|
307
307
|
function Ve(e) {
|
|
308
|
-
return j.value === e ? M.value === "asc" ? "
|
|
308
|
+
return j.value === e ? M.value === "asc" ? "arrow-up" : M.value === "desc" ? "arrow-down" : "sort" : "sort";
|
|
309
309
|
}
|
|
310
310
|
function He(e, t) {
|
|
311
311
|
let n = {
|
|
@@ -391,7 +391,10 @@ var ae = ["aria-sort"], oe = { class: "wi-table__th-inner" }, se = ["onClick"],
|
|
|
391
391
|
type: "button",
|
|
392
392
|
class: "wi-table__sort",
|
|
393
393
|
onClick: (e) => Be(t.key, !0)
|
|
394
|
-
}, [p("span", null, S(t.label), 1), p("span", ce,
|
|
394
|
+
}, [p("span", null, S(t.label), 1), p("span", ce, [m(e, {
|
|
395
|
+
name: Ve(t.key),
|
|
396
|
+
size: "sm"
|
|
397
|
+
}, null, 8, ["name"])])], 8, se)) : (v(), f("span", le, S(t.label), 1)), t.filterable ? (v(), f("div", ue, [p("button", {
|
|
395
398
|
type: "button",
|
|
396
399
|
class: "wi-table__filter-btn",
|
|
397
400
|
"aria-expanded": L.value === t.key,
|
|
@@ -421,12 +424,12 @@ var ae = ["aria-sort"], oe = { class: "wi-table__th-inner" }, se = ["onClick"],
|
|
|
421
424
|
onInput: (e) => He(t.key, e.target.value)
|
|
422
425
|
}, null, 40, he))])) : d("", !0)])) : d("", !0)])], 14, ae))), 128))
|
|
423
426
|
])]),
|
|
424
|
-
p("tbody", null, [(v(!0), f(c, null, b(J.value, (
|
|
427
|
+
p("tbody", null, [(v(!0), f(c, null, b(J.value, (n, i) => (v(), f(c, { key: String(z(n, i)) }, [p("tr", {
|
|
425
428
|
class: g({
|
|
426
|
-
"wi-table__row--selected": Z(
|
|
427
|
-
"wi-table__row--current": h.highlightCurrent && I.value === z(
|
|
429
|
+
"wi-table__row--selected": Z(n, i),
|
|
430
|
+
"wi-table__row--current": h.highlightCurrent && I.value === z(n, i)
|
|
428
431
|
}),
|
|
429
|
-
onClick: (
|
|
432
|
+
onClick: (e) => We(n, i)
|
|
430
433
|
}, [
|
|
431
434
|
h.selectionMode ? (v(), f("td", {
|
|
432
435
|
key: 0,
|
|
@@ -434,9 +437,9 @@ var ae = ["aria-sort"], oe = { class: "wi-table__th-inner" }, se = ["onClick"],
|
|
|
434
437
|
style: _(K()),
|
|
435
438
|
onClick: o[1] ||= T(() => {}, ["stop"])
|
|
436
439
|
}, [m(t, {
|
|
437
|
-
"model-value": Z(
|
|
438
|
-
"aria-label": C(s)(C(k).selectRow, { index:
|
|
439
|
-
"onUpdate:modelValue": (
|
|
440
|
+
"model-value": Z(n, i),
|
|
441
|
+
"aria-label": C(s)(C(k).selectRow, { index: i + 1 }),
|
|
442
|
+
"onUpdate:modelValue": (e) => Re(n, i)
|
|
440
443
|
}, null, 8, [
|
|
441
444
|
"model-value",
|
|
442
445
|
"aria-label",
|
|
@@ -447,40 +450,43 @@ var ae = ["aria-sort"], oe = { class: "wi-table__th-inner" }, se = ["onClick"],
|
|
|
447
450
|
class: "wi-table__expand wi-table__cell--fixed-left",
|
|
448
451
|
style: _(Ne()),
|
|
449
452
|
onClick: o[2] ||= T(() => {}, ["stop"])
|
|
450
|
-
}, [Ge(
|
|
453
|
+
}, [Ge(n) ? (v(), f("button", {
|
|
451
454
|
key: 0,
|
|
452
455
|
type: "button",
|
|
453
456
|
class: "wi-table__expand-btn",
|
|
454
|
-
"aria-expanded": Q(
|
|
455
|
-
"aria-label": Q(
|
|
456
|
-
onClick: (
|
|
457
|
-
},
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
457
|
+
"aria-expanded": Q(n, i),
|
|
458
|
+
"aria-label": Q(n, i) ? C(k).collapse : C(k).expand,
|
|
459
|
+
onClick: (e) => Ke(n, i)
|
|
460
|
+
}, [m(e, {
|
|
461
|
+
name: Q(n, i) ? "chevron-down" : "chevron-right",
|
|
462
|
+
size: "sm"
|
|
463
|
+
}, null, 8, ["name"])], 8, _e)) : d("", !0)], 4)) : d("", !0),
|
|
464
|
+
(v(!0), f(c, null, b(h.columns, (e) => (v(), f("td", {
|
|
465
|
+
key: e.key,
|
|
466
|
+
class: g([`wi-table__cell--${e.align ?? "start"}`, $(e)]),
|
|
467
|
+
style: _(G(e))
|
|
462
468
|
}, [x(a.$slots, "body-cell", {
|
|
463
|
-
row:
|
|
464
|
-
column:
|
|
465
|
-
value: e
|
|
466
|
-
}, () => [x(a.$slots, `cell-${
|
|
467
|
-
row:
|
|
468
|
-
value: e
|
|
469
|
-
}, () => [
|
|
469
|
+
row: n,
|
|
470
|
+
column: e,
|
|
471
|
+
value: n[e.key]
|
|
472
|
+
}, () => [x(a.$slots, `cell-${e.key}`, {
|
|
473
|
+
row: n,
|
|
474
|
+
value: n[e.key]
|
|
475
|
+
}, () => [e.render ? (v(), u(C(r), {
|
|
470
476
|
key: 0,
|
|
471
|
-
value:
|
|
472
|
-
}, null, 8, ["value"])) : (v(), f(c, { key: 1 }, [ee(S(e
|
|
473
|
-
], 10, ge), h.expandable && Q(
|
|
477
|
+
value: e.render(n, e)
|
|
478
|
+
}, null, 8, ["value"])) : (v(), f(c, { key: 1 }, [ee(S(n[e.key]), 1)], 64))])])], 6))), 128))
|
|
479
|
+
], 10, ge), h.expandable && Q(n, i) ? (v(), f("tr", ve, [p("td", {
|
|
474
480
|
class: "wi-table__expansion",
|
|
475
481
|
colspan: Le.value
|
|
476
|
-
}, [x(a.$slots, "expansion", { row:
|
|
482
|
+
}, [x(a.$slots, "expansion", { row: n })], 8, ye)])) : d("", !0)], 64))), 128)), Ie.value ? (v(), f("tr", be, [p("td", {
|
|
477
483
|
class: "wi-table__empty",
|
|
478
484
|
colspan: Le.value
|
|
479
485
|
}, [x(a.$slots, "empty", {}, () => [p("div", Se, [
|
|
480
486
|
o[3] ||= p("div", {
|
|
481
487
|
class: "wi-table__empty-glyph",
|
|
482
488
|
"aria-hidden": "true"
|
|
483
|
-
}, "∅", -1),
|
|
489
|
+
}, " ∅ ", -1),
|
|
484
490
|
p("p", Ce, S(ke.value), 1),
|
|
485
491
|
h.emptyDescription ? (v(), f("p", we, S(h.emptyDescription), 1)) : d("", !0)
|
|
486
492
|
])])], 8, xe)])) : d("", !0)])
|