@well-insight/ui 0.1.6 → 0.1.7
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 +8 -0
- package/dist/component-registry.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.vue.d.ts +7 -3
- package/dist/components/Accordion/Accordion.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts +4 -2
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/index.d.ts +1 -1
- package/dist/components/AutoComplete/index.d.ts.map +1 -1
- package/dist/components/AutoComplete/types.d.ts +8 -1
- package/dist/components/AutoComplete/types.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.vue.d.ts +5 -1
- package/dist/components/Avatar/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Avatar/AvatarGroup.vue.d.ts +6 -0
- package/dist/components/Avatar/AvatarGroup.vue.d.ts.map +1 -0
- package/dist/components/Avatar/index.d.ts +2 -1
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Avatar/types.d.ts +9 -0
- package/dist/components/Avatar/types.d.ts.map +1 -1
- package/dist/components/Badge/Badge.vue.d.ts +12 -1
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/types.d.ts +7 -0
- package/dist/components/Badge/types.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +13 -1
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumb/types.d.ts +2 -0
- package/dist/components/Breadcrumb/types.d.ts.map +1 -1
- package/dist/components/Button/Button.vue.d.ts +2 -0
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/ButtonGroup.vue.d.ts +18 -0
- package/dist/components/Button/ButtonGroup.vue.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +2 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/types.d.ts +14 -2
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Card/Card.vue.d.ts +10 -5
- package/dist/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/components/Card/index.d.ts +1 -1
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/Card/types.d.ts +8 -0
- package/dist/components/Card/types.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts +4 -0
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/Carousel/types.d.ts +5 -0
- package/dist/components/Carousel/types.d.ts.map +1 -1
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.vue.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/CheckboxGroup.vue.d.ts +24 -0
- package/dist/components/Checkbox/CheckboxGroup.vue.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts +2 -1
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/types.d.ts +29 -2
- package/dist/components/Checkbox/types.d.ts.map +1 -1
- package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
- package/dist/components/Chip/index.d.ts +1 -1
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/Chip/types.d.ts +7 -0
- package/dist/components/Chip/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/index.d.ts +1 -1
- package/dist/components/ConfigProvider/index.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 +4 -3
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/types.d.ts +10 -0
- package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts +4 -3
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/index.d.ts +1 -1
- package/dist/components/ConfirmPopup/index.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/types.d.ts +9 -0
- package/dist/components/ConfirmPopup/types.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts +13 -0
- package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -0
- package/dist/components/ContextMenu/index.d.ts +1 -0
- package/dist/components/ContextMenu/index.d.ts.map +1 -1
- package/dist/components/ContextMenu/types.d.ts +3 -0
- package/dist/components/ContextMenu/types.d.ts.map +1 -1
- package/dist/components/ContextMenu/useContextMenu.d.ts +16 -0
- package/dist/components/ContextMenu/useContextMenu.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts +7 -3
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/index.d.ts +1 -1
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/DatePicker/types.d.ts +16 -4
- package/dist/components/DatePicker/types.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts +4 -4
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts +1 -1
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Dialog/types.d.ts +25 -0
- package/dist/components/Dialog/types.d.ts.map +1 -1
- package/dist/components/Divider/Divider.vue.d.ts.map +1 -1
- package/dist/components/Divider/types.d.ts +2 -0
- package/dist/components/Divider/types.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts +5 -3
- package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/Drawer/types.d.ts +5 -0
- package/dist/components/Drawer/types.d.ts.map +1 -1
- package/dist/components/Dropdown/Dropdown.vue.d.ts +6 -3
- package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts +32 -0
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -0
- package/dist/components/Dropdown/types.d.ts +14 -3
- package/dist/components/Dropdown/types.d.ts.map +1 -1
- package/dist/components/FileUpload/FileUpload.vue.d.ts +1 -0
- package/dist/components/FileUpload/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/FileUpload/types.d.ts +2 -0
- package/dist/components/FileUpload/types.d.ts.map +1 -1
- package/dist/components/Flex/Flex.vue.d.ts +12 -0
- package/dist/components/Flex/Flex.vue.d.ts.map +1 -0
- package/dist/components/Flex/index.d.ts +3 -0
- package/dist/components/Flex/index.d.ts.map +1 -0
- package/dist/components/Flex/types.d.ts +21 -0
- package/dist/components/Flex/types.d.ts.map +1 -0
- package/dist/components/Form/Form.vue.d.ts +4 -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/context.d.ts +8 -3
- package/dist/components/Form/context.d.ts.map +1 -1
- package/dist/components/Form/index.d.ts +1 -1
- package/dist/components/Form/index.d.ts.map +1 -1
- package/dist/components/Form/rules.d.ts +8 -0
- package/dist/components/Form/rules.d.ts.map +1 -0
- package/dist/components/Form/types.d.ts +52 -11
- package/dist/components/Form/types.d.ts.map +1 -1
- package/dist/components/Grid/Grid.vue.d.ts +25 -0
- package/dist/components/Grid/Grid.vue.d.ts.map +1 -0
- package/dist/components/Grid/GridItem.vue.d.ts +22 -0
- package/dist/components/Grid/GridItem.vue.d.ts.map +1 -0
- package/dist/components/Grid/index.d.ts +6 -0
- package/dist/components/Grid/index.d.ts.map +1 -0
- package/dist/components/Grid/types.d.ts +51 -0
- package/dist/components/Grid/types.d.ts.map +1 -0
- package/dist/components/Input/Input.vue.d.ts +1 -1
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/InputColor/InputColor.vue.d.ts.map +1 -1
- package/dist/components/InputColor/types.d.ts +2 -0
- package/dist/components/InputColor/types.d.ts.map +1 -1
- package/dist/components/InputNumber/InputNumber.vue.d.ts +3 -1
- package/dist/components/InputNumber/InputNumber.vue.d.ts.map +1 -1
- package/dist/components/InputNumber/index.d.ts +1 -1
- package/dist/components/InputNumber/index.d.ts.map +1 -1
- package/dist/components/InputNumber/types.d.ts +6 -0
- package/dist/components/InputNumber/types.d.ts.map +1 -1
- package/dist/components/InputOtp/InputOtp.vue.d.ts +1 -0
- package/dist/components/InputOtp/InputOtp.vue.d.ts.map +1 -1
- package/dist/components/InputOtp/types.d.ts +6 -0
- package/dist/components/InputOtp/types.d.ts.map +1 -1
- package/dist/components/InputPassword/InputPassword.vue.d.ts +5 -0
- package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
- package/dist/components/InputPassword/index.d.ts +1 -1
- package/dist/components/InputPassword/index.d.ts.map +1 -1
- package/dist/components/InputPassword/types.d.ts +14 -1
- package/dist/components/InputPassword/types.d.ts.map +1 -1
- package/dist/components/InputTags/InputTags.vue.d.ts.map +1 -1
- package/dist/components/InputTags/types.d.ts +4 -0
- package/dist/components/InputTags/types.d.ts.map +1 -1
- package/dist/components/Knob/Knob.vue.d.ts +1 -1
- package/dist/components/Layout/Layout.vue.d.ts +28 -0
- package/dist/components/Layout/Layout.vue.d.ts.map +1 -0
- package/dist/components/Layout/LayoutContent.vue.d.ts +26 -0
- package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -0
- package/dist/components/Layout/LayoutFooter.vue.d.ts +20 -0
- package/dist/components/Layout/LayoutFooter.vue.d.ts.map +1 -0
- package/dist/components/Layout/LayoutHeader.vue.d.ts +20 -0
- package/dist/components/Layout/LayoutHeader.vue.d.ts.map +1 -0
- package/dist/components/Layout/LayoutSider.vue.d.ts +43 -0
- package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -0
- package/dist/components/Layout/context.d.ts +8 -0
- package/dist/components/Layout/context.d.ts.map +1 -0
- package/dist/components/Layout/index.d.ts +8 -0
- package/dist/components/Layout/index.d.ts.map +1 -0
- package/dist/components/Layout/types.d.ts +104 -0
- package/dist/components/Layout/types.d.ts.map +1 -0
- package/dist/components/Menu/Menu.vue.d.ts +8 -1
- package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
- package/dist/components/Menu/MenuNodes.vue.d.ts +17 -0
- package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -0
- package/dist/components/Menu/types.d.ts +10 -0
- package/dist/components/Menu/types.d.ts.map +1 -1
- package/dist/components/Menubar/Menubar.vue.d.ts +9 -2
- package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
- package/dist/components/Menubar/index.d.ts +1 -1
- package/dist/components/Menubar/index.d.ts.map +1 -1
- package/dist/components/Menubar/types.d.ts +7 -0
- package/dist/components/Menubar/types.d.ts.map +1 -1
- 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 +5 -1
- package/dist/components/Message/message.d.ts.map +1 -1
- package/dist/components/Message/messageState.d.ts +5 -1
- package/dist/components/Message/messageState.d.ts.map +1 -1
- package/dist/components/Message/types.d.ts +9 -0
- package/dist/components/Message/types.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts +8 -0
- package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Pagination/types.d.ts +12 -0
- package/dist/components/Pagination/types.d.ts.map +1 -1
- package/dist/components/Panel/Panel.vue.d.ts +3 -1
- package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
- package/dist/components/Panel/index.d.ts +1 -1
- package/dist/components/Panel/index.d.ts.map +1 -1
- package/dist/components/Panel/types.d.ts +3 -0
- package/dist/components/Panel/types.d.ts.map +1 -1
- package/dist/components/Popover/Popover.vue.d.ts +4 -1
- package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
- package/dist/components/Popover/index.d.ts +1 -1
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/types.d.ts +7 -0
- package/dist/components/Popover/types.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts +2 -1
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/ProgressBar/index.d.ts +1 -1
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/types.d.ts +8 -0
- package/dist/components/ProgressBar/types.d.ts.map +1 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts +13 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts.map +1 -1
- package/dist/components/ProgressSpinner/types.d.ts +9 -0
- package/dist/components/ProgressSpinner/types.d.ts.map +1 -1
- package/dist/components/Radio/Radio.vue.d.ts.map +1 -1
- package/dist/components/Radio/RadioGroup.vue.d.ts +23 -0
- package/dist/components/Radio/RadioGroup.vue.d.ts.map +1 -0
- package/dist/components/Radio/index.d.ts +2 -1
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/types.d.ts +27 -3
- package/dist/components/Radio/types.d.ts.map +1 -1
- package/dist/components/Rating/Rating.vue.d.ts +2 -0
- package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
- package/dist/components/Rating/types.d.ts +5 -0
- package/dist/components/Rating/types.d.ts.map +1 -1
- package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
- package/dist/components/ScrollTop/types.d.ts +4 -0
- package/dist/components/ScrollTop/types.d.ts.map +1 -1
- package/dist/components/Scrollbar/Scrollbar.vue.d.ts +5 -4
- package/dist/components/Scrollbar/Scrollbar.vue.d.ts.map +1 -1
- package/dist/components/Scrollbar/types.d.ts +5 -2
- package/dist/components/Scrollbar/types.d.ts.map +1 -1
- package/dist/components/Select/Select.vue.d.ts +15 -7
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/types.d.ts +25 -5
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/SelectButton/SelectButton.vue.d.ts.map +1 -1
- package/dist/components/Skeleton/Skeleton.vue.d.ts +2 -0
- package/dist/components/Skeleton/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Skeleton/types.d.ts +4 -0
- package/dist/components/Skeleton/types.d.ts.map +1 -1
- package/dist/components/Slider/Slider.vue.d.ts +3 -1
- package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/types.d.ts +7 -0
- package/dist/components/Slider/types.d.ts.map +1 -1
- package/dist/components/Space/Space.vue.d.ts +23 -0
- package/dist/components/Space/Space.vue.d.ts.map +1 -0
- package/dist/components/Space/index.d.ts +3 -0
- package/dist/components/Space/index.d.ts.map +1 -0
- package/dist/components/Space/types.d.ts +28 -0
- package/dist/components/Space/types.d.ts.map +1 -0
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/Splitter/Splitter.vue.d.ts +22 -11
- 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/size.d.ts +8 -0
- package/dist/components/Splitter/size.d.ts.map +1 -0
- package/dist/components/Splitter/types.d.ts +32 -8
- package/dist/components/Splitter/types.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.vue.d.ts +1 -0
- package/dist/components/Stepper/Stepper.vue.d.ts.map +1 -1
- package/dist/components/Stepper/index.d.ts +1 -1
- package/dist/components/Stepper/index.d.ts.map +1 -1
- package/dist/components/Stepper/types.d.ts +8 -0
- package/dist/components/Stepper/types.d.ts.map +1 -1
- package/dist/components/Switch/Switch.vue.d.ts +1 -0
- package/dist/components/Switch/Switch.vue.d.ts.map +1 -1
- package/dist/components/Switch/index.d.ts +1 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Switch/types.d.ts +9 -0
- package/dist/components/Switch/types.d.ts.map +1 -1
- package/dist/components/Table/Table.vue.d.ts +28 -7
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Table/layout.d.ts +3 -0
- package/dist/components/Table/layout.d.ts.map +1 -1
- package/dist/components/Table/types.d.ts +12 -0
- package/dist/components/Table/types.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.vue.d.ts +14 -4
- package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/index.d.ts +1 -1
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Tabs/types.d.ts +10 -0
- package/dist/components/Tabs/types.d.ts.map +1 -1
- package/dist/components/Tag/Tag.vue.d.ts +8 -1
- package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Tag/index.d.ts +1 -1
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/types.d.ts +14 -1
- package/dist/components/Tag/types.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.vue.d.ts +10 -2
- package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/components/Textarea/index.d.ts +1 -1
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/Textarea/types.d.ts +15 -1
- package/dist/components/Textarea/types.d.ts.map +1 -1
- package/dist/components/Timeline/Timeline.vue.d.ts +10 -5
- package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
- package/dist/components/Timeline/index.d.ts +1 -1
- package/dist/components/Timeline/index.d.ts.map +1 -1
- package/dist/components/Timeline/types.d.ts +2 -0
- 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/toast.d.ts +4 -0
- package/dist/components/Toast/toast.d.ts.map +1 -1
- package/dist/components/Toast/toastState.d.ts +3 -0
- package/dist/components/Toast/toastState.d.ts.map +1 -1
- package/dist/components/Toast/types.d.ts +2 -0
- 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 +1 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/types.d.ts +4 -0
- package/dist/components/Tooltip/types.d.ts.map +1 -1
- package/dist/components/Tree/Tree.vue.d.ts +2 -1
- package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
- package/dist/components/Tree/checkStrategy.d.ts +18 -0
- package/dist/components/Tree/checkStrategy.d.ts.map +1 -0
- package/dist/components/Tree/index.d.ts +1 -1
- package/dist/components/Tree/index.d.ts.map +1 -1
- package/dist/components/Tree/types.d.ts +4 -0
- package/dist/components/Tree/types.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts +15 -5
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts +5 -1
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/index.d.ts +1 -1
- package/dist/components/TreeSelect/index.d.ts.map +1 -1
- package/dist/components/TreeSelect/types.d.ts +19 -3
- package/dist/components/TreeSelect/types.d.ts.map +1 -1
- package/dist/index.d.ts +54 -32
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7223 -3965
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/types.d.ts +10 -0
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/shared/asyncGuard.d.ts +4 -0
- package/dist/shared/asyncGuard.d.ts.map +1 -0
- package/dist/shared/componentDefaults.d.ts +93 -0
- package/dist/shared/componentDefaults.d.ts.map +1 -0
- package/dist/shared/config.d.ts +19 -1
- package/dist/shared/config.d.ts.map +1 -1
- package/dist/shared/gap.d.ts +19 -0
- package/dist/shared/gap.d.ts.map +1 -0
- package/dist/shared/responsive.d.ts +17 -0
- package/dist/shared/responsive.d.ts.map +1 -0
- package/dist/shared/vnode.d.ts +4 -0
- package/dist/shared/vnode.d.ts.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, StyleValue, DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { ScrollbarDirection, ScrollbarProps, ScrollbarScrollPayload } from './types';
|
|
2
|
+
import { ScrollbarDirection, ScrollbarProps, ScrollbarScrollPayload, ScrollbarClassValue } from './types';
|
|
3
3
|
declare function handleScroll(): void;
|
|
4
4
|
declare function update(): void;
|
|
5
5
|
declare function scrollTo(xCord: number, yCord?: number): void;
|
|
@@ -25,13 +25,14 @@ declare const __VLS_base: DefineComponent<ScrollbarProps, {
|
|
|
25
25
|
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
height: string | number;
|
|
28
|
+
trigger: "hover" | "none";
|
|
28
29
|
tabindex: number | string;
|
|
29
|
-
tag: string;
|
|
30
30
|
maxHeight: string | number;
|
|
31
|
+
tag: string;
|
|
31
32
|
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
32
|
-
wrapClass:
|
|
33
|
+
wrapClass: ScrollbarClassValue;
|
|
33
34
|
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
34
|
-
viewClass:
|
|
35
|
+
viewClass: ScrollbarClassValue;
|
|
35
36
|
minSize: number;
|
|
36
37
|
distance: number;
|
|
37
38
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Scrollbar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Scrollbar/Scrollbar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Scrollbar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Scrollbar/Scrollbar.vue"],"names":[],"mappings":"AA+TA,OAAO,EAWL,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,KAAK,CAAA;AAGZ,OAAO,KAAK,EAAE,kBAAkB,EAAkB,cAAc,EAAE,MAAM,SAAS,CAAA;AAoIjF,iBAAS,YAAY,SAsCpB;AAED,iBAAS,MAAM,SAKd;AAED,iBAAS,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;AACtD,iBAAS,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI,CAAA;AAWjD,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,QAGlC;AAED,iBAAS,aAAa,CAAC,KAAK,EAAE,MAAM,QAGnC;AA4LD,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAS/C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -5,6 +5,7 @@ export interface ScrollbarScrollPayload {
|
|
|
5
5
|
scrollTop: number;
|
|
6
6
|
scrollLeft: number;
|
|
7
7
|
}
|
|
8
|
+
export type ScrollbarClassValue = string | string[] | Record<string, boolean> | Array<string | Record<string, boolean> | null | undefined | false>;
|
|
8
9
|
export interface ScrollbarProps {
|
|
9
10
|
/** Viewport height. */
|
|
10
11
|
height?: string | number;
|
|
@@ -15,17 +16,19 @@ export interface ScrollbarProps {
|
|
|
15
16
|
/** Style of the scroll wrap container. */
|
|
16
17
|
wrapStyle?: StyleValue;
|
|
17
18
|
/** Class of the scroll wrap container. */
|
|
18
|
-
wrapClass?:
|
|
19
|
+
wrapClass?: ScrollbarClassValue;
|
|
19
20
|
/** Style of the view (content) element. */
|
|
20
21
|
viewStyle?: StyleValue;
|
|
21
22
|
/** Class of the view (content) element. */
|
|
22
|
-
viewClass?:
|
|
23
|
+
viewClass?: ScrollbarClassValue;
|
|
23
24
|
/** Skip ResizeObserver updates when container size is static. */
|
|
24
25
|
noresize?: boolean;
|
|
25
26
|
/** HTML tag for the view element. */
|
|
26
27
|
tag?: string;
|
|
27
28
|
/** Always show scrollbar thumbs (otherwise hover / drag). */
|
|
28
29
|
always?: boolean;
|
|
30
|
+
/** `none` keeps thumbs visible; `hover` shows them on hover. `always` still wins. */
|
|
31
|
+
trigger?: 'hover' | 'none';
|
|
29
32
|
/** Minimum thumb size in pixels. */
|
|
30
33
|
minSize?: number;
|
|
31
34
|
/** Tabindex of the wrap container. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Scrollbar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAEpD,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAA;AAEpE,MAAM,MAAM,wBAAwB,GAAG,YAAY,GAAG,UAAU,CAAA;AAEhE,MAAM,WAAW,sBAAsB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,IAAI,CAAA;IACrC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB;AAED,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -1,28 +1,36 @@
|
|
|
1
|
-
import { SelectProps, SelectValue } from './types';
|
|
1
|
+
import { SelectModelValue, SelectOption, SelectProps, SelectValue } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const __VLS_export: DefineComponent<SelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
|
-
"update:modelValue": (value:
|
|
4
|
+
"update:modelValue": (value: SelectModelValue) => any;
|
|
5
|
+
search: (query: string) => any;
|
|
5
6
|
clear: () => any;
|
|
6
|
-
change: (value:
|
|
7
|
+
change: (value: SelectModelValue) => any;
|
|
7
8
|
show: () => any;
|
|
8
9
|
hide: () => any;
|
|
10
|
+
create: (option: SelectOption) => any;
|
|
9
11
|
}, string, PublicProps, Readonly<SelectProps> & Readonly<{
|
|
10
|
-
"onUpdate:modelValue"?: ((value:
|
|
12
|
+
"onUpdate:modelValue"?: ((value: SelectModelValue) => any) | undefined;
|
|
13
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
11
14
|
onClear?: (() => any) | undefined;
|
|
12
|
-
onChange?: ((value:
|
|
15
|
+
onChange?: ((value: SelectModelValue) => any) | undefined;
|
|
13
16
|
onShow?: (() => any) | undefined;
|
|
14
17
|
onHide?: (() => any) | undefined;
|
|
18
|
+
onCreate?: ((option: SelectOption) => any) | undefined;
|
|
15
19
|
}>, {
|
|
16
|
-
modelValue: SelectValue;
|
|
20
|
+
modelValue: SelectValue | SelectValue[];
|
|
21
|
+
multiple: boolean;
|
|
17
22
|
filter: boolean;
|
|
18
23
|
disabled: boolean;
|
|
19
24
|
required: boolean;
|
|
25
|
+
loading: boolean;
|
|
20
26
|
error: boolean;
|
|
21
27
|
teleport: boolean;
|
|
28
|
+
showClear: boolean;
|
|
22
29
|
invalid: boolean;
|
|
23
30
|
fluid: boolean;
|
|
24
31
|
placement: "bottom-start" | "bottom-end";
|
|
25
|
-
|
|
32
|
+
tag: boolean;
|
|
33
|
+
remote: boolean;
|
|
26
34
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
27
35
|
declare const _default: typeof __VLS_export;
|
|
28
36
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.vue"],"names":[],"mappings":";AAocA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAwoBvF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as WiSelect } from './Select.vue';
|
|
2
|
-
export type { SelectEmits, SelectOption, SelectProps, SelectSize, SelectValue } from './types';
|
|
2
|
+
export type { SelectEmits, SelectModelValue, SelectOption, SelectProps, SelectSize, SelectValue } from './types';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAClD,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAClD,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -2,13 +2,15 @@ import { WiAppendTo } from '../../shared/overlay';
|
|
|
2
2
|
import { WiSizeInput } from '../../shared/types';
|
|
3
3
|
export type SelectValue = string | number;
|
|
4
4
|
export type SelectSize = WiSizeInput;
|
|
5
|
+
/** Single-select uses a scalar; multiple uses an array. */
|
|
6
|
+
export type SelectModelValue = SelectValue | SelectValue[] | undefined;
|
|
5
7
|
export interface SelectOption {
|
|
6
8
|
label: string;
|
|
7
9
|
value: SelectValue;
|
|
8
10
|
disabled?: boolean;
|
|
9
11
|
}
|
|
10
12
|
export interface SelectProps {
|
|
11
|
-
modelValue?:
|
|
13
|
+
modelValue?: SelectModelValue;
|
|
12
14
|
options: SelectOption[];
|
|
13
15
|
label?: string;
|
|
14
16
|
helpText?: string;
|
|
@@ -23,11 +25,27 @@ export interface SelectProps {
|
|
|
23
25
|
required?: boolean;
|
|
24
26
|
size?: SelectSize;
|
|
25
27
|
fluid?: boolean;
|
|
28
|
+
/** Allow selecting more than one value. `v-model` is then `SelectValue[]`. */
|
|
29
|
+
multiple?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Create an option from the current filter query (Enter). Requires `filter`.
|
|
32
|
+
* Created values use the query string as both label and value.
|
|
33
|
+
*/
|
|
34
|
+
tag?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Skip local filtering and emit `search` as the query changes.
|
|
37
|
+
* Pair with `filter` so the user can type a query.
|
|
38
|
+
*/
|
|
39
|
+
remote?: boolean;
|
|
40
|
+
/** Show a loading state in the menu (async options). */
|
|
41
|
+
loading?: boolean;
|
|
42
|
+
/** Collapse extra selected tags after this count. Ignored unless `multiple`. */
|
|
43
|
+
maxTagCount?: number;
|
|
26
44
|
/** Show clear button when a value is selected. */
|
|
27
45
|
showClear?: boolean;
|
|
28
|
-
/** Empty / no-match message. Falls back to ConfigProvider `locale.
|
|
46
|
+
/** Empty / no-match message. Falls back to ConfigProvider `locale.emptyOptions`. */
|
|
29
47
|
emptyMessage?: string;
|
|
30
|
-
/** Show a filter input when the menu is open (matches option labels). */
|
|
48
|
+
/** Show a filter input when the menu is open (matches option labels unless `remote`). */
|
|
31
49
|
filter?: boolean;
|
|
32
50
|
/** Teleport overlay. Defaults to `true`. */
|
|
33
51
|
teleport?: boolean;
|
|
@@ -36,10 +54,12 @@ export interface SelectProps {
|
|
|
36
54
|
placement?: 'bottom-start' | 'bottom-end';
|
|
37
55
|
}
|
|
38
56
|
export interface SelectEmits {
|
|
39
|
-
(event: 'update:modelValue', value:
|
|
40
|
-
(event: 'change', value:
|
|
57
|
+
(event: 'update:modelValue', value: SelectModelValue): void;
|
|
58
|
+
(event: 'change', value: SelectModelValue): void;
|
|
41
59
|
(event: 'clear'): void;
|
|
42
60
|
(event: 'show'): void;
|
|
43
61
|
(event: 'hide'): void;
|
|
62
|
+
(event: 'search', query: string): void;
|
|
63
|
+
(event: 'create', option: SelectOption): void;
|
|
44
64
|
}
|
|
45
65
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,CAAA;AACzC,MAAM,MAAM,UAAU,GAAG,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/types.ts"],"names":[],"mappings":"AAAA,OAA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E,OAAO,CAAA;IACnB,oFAAoF;IACpF,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yFAAyF;IACzF,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB,SAAS,CAAC,EAAE,cAAc,GAAG,YAAY,CAAA;CAC1C;AAED,MAAM,WAAW,WAAW;IAC1B,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAC3D,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAChD,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAA;IACtB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,GAAG,IAAI,CAAA;CAC9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SelectButton/SelectButton.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SelectButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SelectButton/SelectButton.vue"],"names":[],"mappings":";AAoEA,OAAO,KAAK,EAAsB,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAmGvF,QAAA,MAAM,YAAY;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { SkeletonProps, SkeletonAnimation, SkeletonShape } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const __VLS_export: DefineComponent<SkeletonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
4
|
+
repeat: number;
|
|
5
|
+
text: boolean;
|
|
4
6
|
width: string;
|
|
5
7
|
animation: SkeletonAnimation;
|
|
6
8
|
shape: SkeletonShape;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Skeleton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.vue"],"names":[],"mappings":";AAwCA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAiF5C,QAAA,MAAM,YAAY;;;;;;6EAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -11,5 +11,9 @@ export interface SkeletonProps {
|
|
|
11
11
|
borderRadius?: string;
|
|
12
12
|
/** Loading animation. Defaults to `wave`. */
|
|
13
13
|
animation?: SkeletonAnimation;
|
|
14
|
+
/** Render as a text line (shorter height). */
|
|
15
|
+
text?: boolean;
|
|
16
|
+
/** Repeat the placeholder this many times. */
|
|
17
|
+
repeat?: number;
|
|
14
18
|
}
|
|
15
19
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,QAAQ,CAAA;AAClD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAA;AAE/C,MAAM,WAAW,aAAa;IAC5B,yDAAyD;IACzD,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,QAAQ,CAAA;AAClD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAA;AAE/C,MAAM,WAAW,aAAa;IAC5B,yDAAyD;IACzD,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAC7B,8CAA8C;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}
|
|
@@ -8,9 +8,11 @@ declare const __VLS_export: DefineComponent<SliderProps, {}, {}, {}, {}, Compone
|
|
|
8
8
|
modelValue: number | number[];
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
range: boolean;
|
|
11
|
+
max: number;
|
|
11
12
|
step: number;
|
|
12
13
|
min: number;
|
|
13
|
-
|
|
14
|
+
vertical: boolean;
|
|
15
|
+
tooltip: boolean;
|
|
14
16
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
17
|
declare const _default: typeof __VLS_export;
|
|
16
18
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Slider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.vue"],"names":[],"mappings":";AA+IA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AA4N1C,QAAA,MAAM,YAAY;;;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAClD,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAClD,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type SliderMarks = number[] | Record<number, string>;
|
|
1
2
|
export interface SliderProps {
|
|
2
3
|
modelValue?: number | number[];
|
|
3
4
|
min?: number;
|
|
@@ -5,6 +6,12 @@ export interface SliderProps {
|
|
|
5
6
|
step?: number;
|
|
6
7
|
range?: boolean;
|
|
7
8
|
disabled?: boolean;
|
|
9
|
+
/** Tick marks. Array of values, or a value-to-label map. */
|
|
10
|
+
marks?: SliderMarks;
|
|
11
|
+
/** Show the current value while interacting. */
|
|
12
|
+
tooltip?: boolean;
|
|
13
|
+
/** Render vertically. */
|
|
14
|
+
vertical?: boolean;
|
|
8
15
|
}
|
|
9
16
|
export interface SliderEmits {
|
|
10
17
|
(event: 'update:modelValue', value: number | number[]): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAA;CAC7D"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAE3D,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,gDAAgD;IAChD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAA;CAC7D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SpaceProps, SpaceJustify } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: DefineComponent<SpaceProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SpaceProps> & Readonly<{}>, {
|
|
8
|
+
reverse: boolean;
|
|
9
|
+
inline: boolean;
|
|
10
|
+
vertical: boolean;
|
|
11
|
+
justify: SpaceJustify;
|
|
12
|
+
wrap: boolean;
|
|
13
|
+
wrapItem: boolean;
|
|
14
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=Space.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Space.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Space/Space.vue"],"names":[],"mappings":";AAkEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAiGzC,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;;;6EAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Space/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AAChD,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { WiFlexAlign, WiFlexJustify, WiGapSize } from '../../shared/gap';
|
|
3
|
+
export type SpaceAlign = WiFlexAlign;
|
|
4
|
+
export type SpaceJustify = WiFlexJustify;
|
|
5
|
+
export type SpaceSize = WiGapSize;
|
|
6
|
+
export interface SpaceProps {
|
|
7
|
+
/** Cross-axis alignment. */
|
|
8
|
+
align?: SpaceAlign;
|
|
9
|
+
/** Main-axis alignment. */
|
|
10
|
+
justify?: SpaceJustify;
|
|
11
|
+
/** Use `inline-flex`. */
|
|
12
|
+
inline?: boolean;
|
|
13
|
+
/** Column direction. */
|
|
14
|
+
vertical?: boolean;
|
|
15
|
+
/** Reverse main axis. */
|
|
16
|
+
reverse?: boolean;
|
|
17
|
+
/** Gap between items. */
|
|
18
|
+
size?: SpaceSize;
|
|
19
|
+
/** Wrap each child in an item container. */
|
|
20
|
+
wrapItem?: boolean;
|
|
21
|
+
/** Class on wrapped items (when `wrapItem`). */
|
|
22
|
+
itemClass?: string;
|
|
23
|
+
/** Style on wrapped items (when `wrapItem`). */
|
|
24
|
+
itemStyle?: string | CSSProperties;
|
|
25
|
+
/** Allow wrapping (ignored when `vertical`). */
|
|
26
|
+
wrap?: boolean;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Space/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAA;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAE7E,MAAM,MAAM,UAAU,GAAG,WAAW,CAAA;AACpC,MAAM,MAAM,YAAY,GAAG,aAAa,CAAA;AACxC,MAAM,MAAM,SAAS,GAAG,SAAS,CAAA;AAEjC,MAAM,WAAW,UAAU;IACzB,4BAA4B;IAC5B,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,2BAA2B;IAC3B,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,yBAAyB;IACzB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yBAAyB;IACzB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,GAAG,aAAa,CAAA;IAClC,gDAAgD;IAChD,IAAI,CAAC,EAAE,OAAO,CAAA;CACf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SplitButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SplitButton/SplitButton.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SplitButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SplitButton/SplitButton.vue"],"names":[],"mappings":";AA2JA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAyOhE,QAAA,MAAM,YAAY;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,22 +1,33 @@
|
|
|
1
|
-
import { SplitterProps,
|
|
1
|
+
import { SplitterProps, SplitterSize } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare var __VLS_1: {},
|
|
3
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
panel1?: (props: typeof __VLS_1) => any;
|
|
6
6
|
} & {
|
|
7
|
-
|
|
7
|
+
'1'?: (props: typeof __VLS_3) => any;
|
|
8
|
+
} & {
|
|
9
|
+
'resize-trigger'?: (props: typeof __VLS_10) => any;
|
|
10
|
+
} & {
|
|
11
|
+
panel2?: (props: typeof __VLS_12) => any;
|
|
12
|
+
} & {
|
|
13
|
+
'2'?: (props: typeof __VLS_14) => any;
|
|
8
14
|
};
|
|
9
15
|
declare const __VLS_base: DefineComponent<SplitterProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
10
|
-
resize: (value:
|
|
11
|
-
"update:size": (value:
|
|
16
|
+
resize: (value: SplitterSize) => any;
|
|
17
|
+
"update:size": (value: SplitterSize) => any;
|
|
18
|
+
"drag-start": (eventPayload: Event) => any;
|
|
19
|
+
"drag-move": (eventPayload: Event) => any;
|
|
20
|
+
"drag-end": (eventPayload: Event) => any;
|
|
12
21
|
}, string, PublicProps, Readonly<SplitterProps> & Readonly<{
|
|
13
|
-
onResize?: ((value:
|
|
14
|
-
"onUpdate:size"?: ((value:
|
|
22
|
+
onResize?: ((value: SplitterSize) => any) | undefined;
|
|
23
|
+
"onUpdate:size"?: ((value: SplitterSize) => any) | undefined;
|
|
24
|
+
"onDrag-start"?: ((eventPayload: Event) => any) | undefined;
|
|
25
|
+
"onDrag-move"?: ((eventPayload: Event) => any) | undefined;
|
|
26
|
+
"onDrag-end"?: ((eventPayload: Event) => any) | undefined;
|
|
15
27
|
}>, {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
max: number;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
defaultSize: SplitterSize;
|
|
30
|
+
resizeTriggerSize: number;
|
|
20
31
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
21
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Splitter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Splitter/Splitter.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Splitter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Splitter/Splitter.vue"],"names":[],"mappings":";AA4RA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AA+U1D,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACzG,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,GAAG,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACxC;IAAE,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACtD;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,GAAG,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAO5C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Splitter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,gBAAgB,CAAA;AACtD,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Splitter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,gBAAgB,CAAA;AACtD,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SplitterSize } from './types';
|
|
2
|
+
export type SizeMode = 'percent' | 'ratio' | 'px';
|
|
3
|
+
export declare function detectSizeMode(value: SplitterSize | undefined, fallback?: SizeMode): SizeMode;
|
|
4
|
+
export declare function parseToPx(value: SplitterSize, containerPx: number, mode: SizeMode): number;
|
|
5
|
+
export declare function pxToSize(px: number, containerPx: number, mode: SizeMode): SplitterSize;
|
|
6
|
+
export declare function sizeToFlexBasis(value: SplitterSize, mode: SizeMode): string;
|
|
7
|
+
export declare function clampPx(px: number, minPx: number, maxPx: number, containerPx: number): number;
|
|
8
|
+
//# sourceMappingURL=size.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"size.d.ts","sourceRoot":"","sources":["../../../src/components/Splitter/size.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,IAAI,CAAA;AAEjD,wBAAgB,cAAc,CAAC,KAAK,EAAE,YAAY,GAAG,SAAS,EAAE,QAAQ,GAAE,QAAoB,GAAG,QAAQ,CAKxG;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,MAAM,CAO1F;AAED,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,YAAY,CAQtF;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,GAAG,MAAM,CAM3E;AAED,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAI7F"}
|
|
@@ -1,15 +1,39 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
1
2
|
export type SplitterLayout = 'horizontal' | 'vertical';
|
|
3
|
+
/** Size: percent `0–100`, ratio `0–1`, or pixel string like `'120px'`. */
|
|
4
|
+
export type SplitterSize = number | string;
|
|
2
5
|
export interface SplitterProps {
|
|
6
|
+
/** Split direction. Prefer this name; `direction` is a Naive-compatible alias. */
|
|
3
7
|
layout?: SplitterLayout;
|
|
4
|
-
/**
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
/** Alias of `layout` (Naive `n-split` naming). */
|
|
9
|
+
direction?: SplitterLayout;
|
|
10
|
+
/**
|
|
11
|
+
* Controlled primary pane size.
|
|
12
|
+
* - number `> 1` → percent (0–100), Wi legacy
|
|
13
|
+
* - number `≤ 1` → ratio (0–1), Naive-compatible
|
|
14
|
+
* - string → CSS length, e.g. `'120px'`
|
|
15
|
+
*/
|
|
16
|
+
size?: SplitterSize;
|
|
17
|
+
/** Uncontrolled initial size when `size` is omitted. Default `50` (%). */
|
|
18
|
+
defaultSize?: SplitterSize;
|
|
19
|
+
/** Minimum primary size (same unit family as `size`). */
|
|
20
|
+
min?: SplitterSize;
|
|
21
|
+
/** Maximum primary size (same unit family as `size`). */
|
|
22
|
+
max?: SplitterSize;
|
|
23
|
+
/** Disable drag and keyboard resize. */
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
/** Gutter thickness in px. */
|
|
26
|
+
resizeTriggerSize?: number;
|
|
27
|
+
pane1Class?: string;
|
|
28
|
+
pane1Style?: string | CSSProperties;
|
|
29
|
+
pane2Class?: string;
|
|
30
|
+
pane2Style?: string | CSSProperties;
|
|
10
31
|
}
|
|
11
32
|
export interface SplitterEmits {
|
|
12
|
-
(event: 'update:size', value:
|
|
13
|
-
(event: 'resize', value:
|
|
33
|
+
(event: 'update:size', value: SplitterSize): void;
|
|
34
|
+
(event: 'resize', value: SplitterSize): void;
|
|
35
|
+
(event: 'drag-start', eventPayload: Event): void;
|
|
36
|
+
(event: 'drag-move', eventPayload: Event): void;
|
|
37
|
+
(event: 'drag-end', eventPayload: Event): void;
|
|
14
38
|
}
|
|
15
39
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Splitter/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,CAAA;AAEtD,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Splitter/types.ts"],"names":[],"mappings":"AA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ponent<StepperProps, {}, {}, {}, {}, Componen
|
|
|
12
12
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
modelValue: number;
|
|
15
|
+
vertical: boolean;
|
|
15
16
|
linear: boolean;
|
|
16
17
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
17
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Stepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.vue"],"names":[],"mappings":";AA0EA,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,SAAS,CAAA;AAmI1D,QAAA,IAAI,OAAO;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG/C,QAAA,MAAM,UAAU;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as WiStepper } from './Stepper.vue';
|
|
2
|
-
export type { StepperEmits, StepperProps, StepperStep } from './types';
|
|
2
|
+
export type { StepperEmits, StepperOrientation, StepperProps, StepperStatus, StepperStep } from './types';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,eAAe,CAAA;AACpD,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,eAAe,CAAA;AACpD,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
export type StepperOrientation = 'horizontal' | 'vertical';
|
|
2
|
+
export type StepperStatus = 'wait' | 'process' | 'finish' | 'error';
|
|
1
3
|
export interface StepperStep {
|
|
2
4
|
label: string;
|
|
5
|
+
description?: string;
|
|
3
6
|
disabled?: boolean;
|
|
7
|
+
status?: StepperStatus;
|
|
4
8
|
}
|
|
5
9
|
export interface StepperProps {
|
|
6
10
|
/** Active step index (0-based). */
|
|
@@ -8,6 +12,10 @@ export interface StepperProps {
|
|
|
8
12
|
steps: StepperStep[];
|
|
9
13
|
/** When true, only the current and previous steps are clickable. */
|
|
10
14
|
linear?: boolean;
|
|
15
|
+
/** Vertical layout. */
|
|
16
|
+
vertical?: boolean;
|
|
17
|
+
/** Alias of `vertical` when set to `'vertical'`. */
|
|
18
|
+
orientation?: StepperOrientation;
|
|
11
19
|
}
|
|
12
20
|
export interface StepperEmits {
|
|
13
21
|
(event: 'update:modelValue', value: number): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,UAAU,CAAA;AAC1D,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEnE,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,aAAa,CAAA;CACvB;AAED,MAAM,WAAW,YAAY;IAC3B,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,oEAAoE;IACpE,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,uBAAuB;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,oDAAoD;IACpD,WAAW,CAAC,EAAE,kBAAkB,CAAA;CACjC;AAED,MAAM,WAAW,YAAY;IAC3B,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAClD"}
|
|
@@ -12,6 +12,7 @@ declare const __VLS_base: DefineComponent<SwitchProps, {}, {}, {}, {}, Component
|
|
|
12
12
|
modelValue: boolean;
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
required: boolean;
|
|
15
|
+
loading: boolean;
|
|
15
16
|
invalid: boolean;
|
|
16
17
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
17
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Switch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.vue"],"names":[],"mappings":";AAuEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAyH1C,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAClD,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAClD,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA"}
|