@well-insight/ui 0.1.5 → 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 +14 -0
- package/README.md +21 -2
- package/README.zh-CN.md +22 -3
- package/dist/component-registry.d.ts +5 -0
- package/dist/component-registry.d.ts.map +1 -0
- 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 +7 -5
- 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 +5 -3
- 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 +2 -2
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.vue.d.ts +3 -2
- 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 +6 -5
- 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 +8 -7
- 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 +11 -7
- 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 +8 -8
- 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/Dock/Dock.vue.d.ts +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts +7 -5
- 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 +8 -5
- 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 +6 -5
- 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/Inplace/Inplace.vue.d.ts +1 -1
- package/dist/components/Input/Input.vue.d.ts +7 -7
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/InputColor/InputColor.vue.d.ts +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 +5 -3
- 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 +2 -1
- 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 +7 -2
- 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 +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 +3 -3
- 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/Listbox/Listbox.vue.d.ts +1 -1
- 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 +11 -3
- 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 +3 -2
- 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 +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 +3 -1
- 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 +19 -11
- 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 +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 +4 -2
- 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/SpeedDial/SpeedDial.vue.d.ts +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts +1 -1
- 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 +3 -2
- 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 +35 -14
- 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 +16 -6
- 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 +13 -5
- 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 +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 +6 -5
- 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 +16 -6
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts +7 -3
- 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 +57 -32
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10062 -6701
- 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 +52 -7
- 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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @well-insight/ui
|
|
2
2
|
|
|
3
|
+
## 0.1.7
|
|
4
|
+
|
|
5
|
+
### 新功能
|
|
6
|
+
|
|
7
|
+
- add extra slot and enhance components in Accordion and AutoComplete
|
|
8
|
+
- enhance component defaults and improve configuration management
|
|
9
|
+
- add component registry import to index for improved component management
|
|
10
|
+
|
|
11
|
+
## 0.1.6
|
|
12
|
+
|
|
13
|
+
### 新功能
|
|
14
|
+
|
|
15
|
+
- enhance documentation and component registration for WellInsight
|
|
16
|
+
|
|
3
17
|
## 0.1.5
|
|
4
18
|
|
|
5
19
|
### 新功能
|
package/README.md
CHANGED
|
@@ -26,7 +26,24 @@ pnpm add @well-insight/ui
|
|
|
26
26
|
|
|
27
27
|
## Quick start
|
|
28
28
|
|
|
29
|
-
Import styles once at your app entry
|
|
29
|
+
Import styles once at your app entry. Two ways to use components:
|
|
30
|
+
|
|
31
|
+
### Full registration
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
import { createApp } from 'vue'
|
|
35
|
+
import WellInsight from '@well-insight/ui'
|
|
36
|
+
import App from './App.vue'
|
|
37
|
+
import '@well-insight/ui/styles.css'
|
|
38
|
+
|
|
39
|
+
createApp(App).use(WellInsight).mount('#app')
|
|
40
|
+
// or with defaults:
|
|
41
|
+
// createApp(App).use(WellInsight, { size: 'small', density: 'compact' }).mount('#app')
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Templates can then use `<WiButton>` / `<WiInput>` without importing.
|
|
45
|
+
|
|
46
|
+
### On-demand import
|
|
30
47
|
|
|
31
48
|
```ts
|
|
32
49
|
import { createApp } from 'vue'
|
|
@@ -58,7 +75,7 @@ For a fuller walkthrough, see the docs site [Quick start](./playground/src/docs/
|
|
|
58
75
|
|
|
59
76
|
## App defaults
|
|
60
77
|
|
|
61
|
-
|
|
78
|
+
`createWellInsight` / `WellInsight` set global defaults and **register all components by default**:
|
|
62
79
|
|
|
63
80
|
```ts
|
|
64
81
|
import { createApp } from 'vue'
|
|
@@ -79,6 +96,8 @@ createApp(App)
|
|
|
79
96
|
.mount('#app')
|
|
80
97
|
```
|
|
81
98
|
|
|
99
|
+
Pass `components: false` for config-only install (no global components).
|
|
100
|
+
|
|
82
101
|
| Option | Role |
|
|
83
102
|
| --- | --- |
|
|
84
103
|
| `appendTo` | Default Teleport target for overlays (`'body'` by default) |
|
package/README.zh-CN.md
CHANGED
|
@@ -26,7 +26,24 @@ pnpm add @well-insight/ui
|
|
|
26
26
|
|
|
27
27
|
## 快速开始
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
在应用入口引入样式。两种用法:
|
|
30
|
+
|
|
31
|
+
### 全量注册
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
import { createApp } from 'vue'
|
|
35
|
+
import WellInsight from '@well-insight/ui'
|
|
36
|
+
import App from './App.vue'
|
|
37
|
+
import '@well-insight/ui/styles.css'
|
|
38
|
+
|
|
39
|
+
createApp(App).use(WellInsight).mount('#app')
|
|
40
|
+
// 或带全局默认:
|
|
41
|
+
// createApp(App).use(WellInsight, { size: 'small', density: 'compact' }).mount('#app')
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
之后模板里可直接写 `<WiButton>` / `<WiInput>`,无需再 import。
|
|
45
|
+
|
|
46
|
+
### 按需引入
|
|
30
47
|
|
|
31
48
|
```ts
|
|
32
49
|
import { createApp } from 'vue'
|
|
@@ -52,13 +69,13 @@ const name = ref('')
|
|
|
52
69
|
</template>
|
|
53
70
|
```
|
|
54
71
|
|
|
55
|
-
|
|
72
|
+
按需导入支持 Tree-shaking。样式需单独引入 `@well-insight/ui/styles.css`。
|
|
56
73
|
|
|
57
74
|
更完整的上手说明见文档站 [快速上手](./playground/src/docs/guide/quick-start.md)。
|
|
58
75
|
|
|
59
76
|
## 应用级默认配置
|
|
60
77
|
|
|
61
|
-
|
|
78
|
+
`createWellInsight` / `WellInsight` 会设置全局默认值,并**默认注册全部组件**:
|
|
62
79
|
|
|
63
80
|
```ts
|
|
64
81
|
import { createApp } from 'vue'
|
|
@@ -79,6 +96,8 @@ createApp(App)
|
|
|
79
96
|
.mount('#app')
|
|
80
97
|
```
|
|
81
98
|
|
|
99
|
+
只要配置、不注册组件时传 `components: false`。
|
|
100
|
+
|
|
82
101
|
| 选项 | 作用 |
|
|
83
102
|
| --- | --- |
|
|
84
103
|
| `appendTo` | 浮层默认 Teleport 目标(默认 `'body'`) |
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
/** Public components available for global registration (`app.use`). */
|
|
3
|
+
export declare const wiComponents: Record<string, Component>;
|
|
4
|
+
export declare const wiComponentNames: string[];
|
|
5
|
+
//# sourceMappingURL=component-registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-registry.d.ts","sourceRoot":"","sources":["../src/component-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAsGpC,uEAAuE;AACvE,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAqGlD,CAAA;AAED,eAAO,MAAM,gBAAgB,UAA4B,CAAA"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { AccordionProps } from './types';
|
|
1
|
+
import { AccordionProps, AccordionTab } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_1: {
|
|
4
|
+
tab: AccordionTab;
|
|
5
|
+
}, __VLS_4: string, __VLS_5: {};
|
|
4
6
|
type __VLS_Slots = {} & {
|
|
5
|
-
[K in NonNullable<typeof
|
|
7
|
+
[K in NonNullable<typeof __VLS_4>]?: (props: typeof __VLS_5) => any;
|
|
8
|
+
} & {
|
|
9
|
+
extra?: (props: typeof __VLS_1) => any;
|
|
6
10
|
};
|
|
7
11
|
declare const __VLS_base: DefineComponent<AccordionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
8
12
|
"update:modelValue": (value: string | string[]) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Accordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.vue"],"names":[],"mappings":";AA+EA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AA6H7C,QAAA,IAAI,OAAO;;CAAU,EAAE,OAAO,QAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG;CAAE,GACvE;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK7C,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,4 +1,4 @@
|
|
|
1
|
-
import { AutoCompleteProps } from './types';
|
|
1
|
+
import { AutoCompleteProps, AutoCompleteSuggestion } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const __VLS_export: DefineComponent<AutoCompleteProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
4
|
"update:modelValue": (value: string) => any;
|
|
@@ -7,12 +7,14 @@ declare const __VLS_export: DefineComponent<AutoCompleteProps, {}, {}, {}, {}, C
|
|
|
7
7
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
8
8
|
onComplete?: ((query: string) => any) | undefined;
|
|
9
9
|
}>, {
|
|
10
|
-
disabled: boolean;
|
|
11
10
|
modelValue: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
suggestions:
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
loading: boolean;
|
|
13
|
+
suggestions: AutoCompleteSuggestion[];
|
|
15
14
|
dropdown: boolean;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
clearable: boolean;
|
|
17
|
+
teleport: boolean;
|
|
16
18
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
17
19
|
declare const _default: typeof __VLS_export;
|
|
18
20
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutoComplete.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/AutoComplete.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"AutoComplete.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/AutoComplete.vue"],"names":[],"mappings":";AAsPA,OAAO,KAAK,EAAsB,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAgW5F,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as WiAutoComplete } from './AutoComplete.vue';
|
|
2
|
-
export type { AutoCompleteEmits, AutoCompleteProps } from './types';
|
|
2
|
+
export type { AutoCompleteEmits, AutoCompleteOption, AutoCompleteProps, AutoCompleteSuggestion, } from './types';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAC9D,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAC9D,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,SAAS,CAAA"}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { WiAppendTo } from '../../shared/overlay';
|
|
2
2
|
import { WiSizeInput } from '../../shared/types';
|
|
3
|
+
export interface AutoCompleteOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
7
|
+
export type AutoCompleteSuggestion = string | AutoCompleteOption;
|
|
3
8
|
export interface AutoCompleteProps {
|
|
4
9
|
modelValue?: string;
|
|
5
|
-
suggestions?:
|
|
10
|
+
suggestions?: AutoCompleteSuggestion[];
|
|
6
11
|
dropdown?: boolean;
|
|
7
12
|
disabled?: boolean;
|
|
8
13
|
placeholder?: string;
|
|
9
14
|
size?: WiSizeInput;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
clearable?: boolean;
|
|
10
17
|
/** Teleport overlay. Defaults to `true`. */
|
|
11
18
|
teleport?: boolean;
|
|
12
19
|
/** Teleport target. Defaults to `'body'` (or ConfigProvider `appendTo`). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,kBAAkB,CAAA;AAEhE,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,sBAAsB,EAAE,CAAA;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,UAAU,CAAA;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACjD,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACzC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { AvatarProps, AvatarSize, AvatarShape } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare const __VLS_export: DefineComponent<AvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}
|
|
3
|
+
declare const __VLS_export: DefineComponent<AvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
|
+
error: (value: Event) => any;
|
|
5
|
+
}, string, PublicProps, Readonly<AvatarProps> & Readonly<{
|
|
6
|
+
onError?: ((value: Event) => any) | undefined;
|
|
7
|
+
}>, {
|
|
4
8
|
size: AvatarSize | "sm" | "lg";
|
|
5
9
|
shape: AvatarShape;
|
|
6
10
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Avatar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.vue"],"names":[],"mappings":";AAkEA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AA+GtD,QAAA,MAAM,YAAY;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AvatarGroupProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const __VLS_export: DefineComponent<AvatarGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AvatarGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=AvatarGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/AvatarGroup.vue"],"names":[],"mappings":";AAuEA,OAAO,KAAK,EAAE,gBAAgB,EAAc,MAAM,SAAS,CAAA;AAwG3D,QAAA,MAAM,YAAY,4SAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { default as WiAvatar } from './Avatar.vue';
|
|
2
|
-
export
|
|
2
|
+
export { default as WiAvatarGroup } from './AvatarGroup.vue';
|
|
3
|
+
export type { AvatarEmits, AvatarGroupProps, AvatarProps, AvatarShape, AvatarSize } from './types';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/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"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAC5D,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -13,4 +13,13 @@ export interface AvatarProps {
|
|
|
13
13
|
/** Size. Also accepts legacy `sm` / `lg`. */
|
|
14
14
|
size?: AvatarSize | 'sm' | 'lg';
|
|
15
15
|
}
|
|
16
|
+
export interface AvatarEmits {
|
|
17
|
+
(event: 'error', value: Event): void;
|
|
18
|
+
}
|
|
19
|
+
export interface AvatarGroupProps {
|
|
20
|
+
/** Max avatars to show. Extra count is summarized as `+N`. */
|
|
21
|
+
max?: number;
|
|
22
|
+
/** Size applied to overflow rest marker. */
|
|
23
|
+
size?: AvatarSize | 'sm' | 'lg';
|
|
24
|
+
}
|
|
16
25
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAAA;AAE7C,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEtD,MAAM,WAAW,WAAW;IAC1B,4DAA4D;IAC5D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wDAAwD;IACxD,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,2BAA2B;IAC3B,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,IAAI,CAAA;CAChC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAAA;AAE7C,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEtD,MAAM,WAAW,WAAW;IAC1B,4DAA4D;IAC5D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wDAAwD;IACxD,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,2BAA2B;IAC3B,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,IAAI,CAAA;CAChC;AAED,MAAM,WAAW,WAAW;IAC1B,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;CACrC;AAED,MAAM,WAAW,gBAAgB;IAC/B,8DAA8D;IAC9D,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,4CAA4C;IAC5C,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,IAAI,CAAA;CAChC"}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { BadgeProps, BadgeSeverity } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: DefineComponent<BadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
4
8
|
severity: BadgeSeverity;
|
|
9
|
+
processing: boolean;
|
|
5
10
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
6
12
|
declare const _default: typeof __VLS_export;
|
|
7
13
|
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
8
19
|
//# sourceMappingURL=Badge.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Badge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.vue"],"names":[],"mappings":";AA0DA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAwFzC,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AAChD,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AAChD,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { WiSizeInput, WiTagSeverity } from '../../shared/types';
|
|
2
2
|
export type BadgeSeverity = WiTagSeverity | 'warning';
|
|
3
3
|
export type BadgeSize = WiSizeInput;
|
|
4
|
+
export type BadgeOffset = [number, number];
|
|
4
5
|
export interface BadgeProps {
|
|
5
6
|
/** Badge content. Omit for a status dot. */
|
|
6
7
|
value?: string | number;
|
|
@@ -11,5 +12,11 @@ export interface BadgeProps {
|
|
|
11
12
|
severity?: BadgeSeverity;
|
|
12
13
|
/** Size. Also accepts legacy `sm` / `lg`. */
|
|
13
14
|
size?: BadgeSize;
|
|
15
|
+
/** Cap numeric values; shows `{max}+` when exceeded. */
|
|
16
|
+
max?: number;
|
|
17
|
+
/** Position offset `[x, y]` in pixels when wrapping content. */
|
|
18
|
+
offset?: BadgeOffset;
|
|
19
|
+
/** Pulse animation. */
|
|
20
|
+
processing?: boolean;
|
|
14
21
|
}
|
|
15
22
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEpE,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,SAAS,CAAA;AAErD,MAAM,MAAM,SAAS,GAAG,WAAW,CAAA;AAEnC,MAAM,WAAW,UAAU;IACzB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEpE,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,SAAS,CAAA;AAErD,MAAM,MAAM,SAAS,GAAG,WAAW,CAAA;AAEnC,MAAM,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAE1C,MAAM,WAAW,UAAU;IACzB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,wDAAwD;IACxD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,gEAAgE;IAChE,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,uBAAuB;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB"}
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { BreadcrumbProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
separator?: (props: typeof __VLS_1) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: DefineComponent<BreadcrumbProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BreadcrumbProps> & Readonly<{}>, {
|
|
8
|
+
separator: string;
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
11
|
declare const _default: typeof __VLS_export;
|
|
5
12
|
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
6
18
|
//# sourceMappingURL=Breadcrumb.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumb/Breadcrumb.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Breadcrumb.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumb/Breadcrumb.vue"],"names":[],"mappings":";AAyDA,OAAO,KAAK,EAAkB,eAAe,EAAE,MAAM,SAAS,CAAA;AA4F9D,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAKjD,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumb/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,IAAI,CAAC,EAAE,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumb/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -19,10 +19,13 @@ declare const __VLS_base: DefineComponent<ButtonProps, {
|
|
|
19
19
|
}, string, PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
20
20
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
loading: boolean;
|
|
23
22
|
link: boolean;
|
|
24
|
-
outlined: boolean;
|
|
25
23
|
text: boolean;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
loading: boolean;
|
|
26
|
+
outlined: boolean;
|
|
27
|
+
ghost: boolean;
|
|
28
|
+
quaternary: boolean;
|
|
26
29
|
iconPos: ButtonIconPos;
|
|
27
30
|
iconOnly: boolean;
|
|
28
31
|
raised: boolean;
|
|
@@ -30,7 +33,6 @@ declare const __VLS_base: DefineComponent<ButtonProps, {
|
|
|
30
33
|
plain: boolean;
|
|
31
34
|
fluid: boolean;
|
|
32
35
|
block: boolean;
|
|
33
|
-
disabled: boolean;
|
|
34
36
|
badgeSeverity: ButtonBadgeSeverity;
|
|
35
37
|
autofocus: boolean;
|
|
36
38
|
nativeType: "button" | "submit" | "reset";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.vue"],"names":[],"mappings":";AAqJA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAgG1C,iBAAS,KAAK,SAEb;AAuHD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO;;CAAU,EAAE,QAAQ,IAAY,CAAE;AAChE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAChD;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ButtonGroupProps } 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<ButtonGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
|
8
|
+
fluid: boolean;
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=ButtonGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/ButtonGroup.vue"],"names":[],"mappings":";AAuBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAwC/C,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"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { default as WiButton } from './Button.vue';
|
|
2
|
-
export
|
|
2
|
+
export { default as WiButtonGroup } from './ButtonGroup.vue';
|
|
3
|
+
export type { ButtonBadgeSeverity, ButtonEmits, ButtonGroupProps, ButtonIconPos, ButtonInstance, ButtonProps, ButtonSeverity, ButtonSize, ButtonVariant, } from './types';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAClD,YAAY,EACV,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,cAAc,EACd,UAAU,EACV,aAAa,GACd,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAC5D,YAAY,EACV,mBAAmB,EACnB,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,WAAW,EACX,cAAc,EACd,UAAU,EACV,aAAa,GACd,MAAM,SAAS,CAAA"}
|
|
@@ -3,7 +3,7 @@ import { IconName } from '../Icon/types';
|
|
|
3
3
|
/** Color tone aligned with `severity`. Omit for primary. */
|
|
4
4
|
export type ButtonSeverity = 'secondary' | 'success' | 'info' | 'warn' | 'help' | 'danger' | 'contrast';
|
|
5
5
|
/** Visual variant aligned with `variant`. */
|
|
6
|
-
export type ButtonVariant = 'outlined' | 'text' | 'link';
|
|
6
|
+
export type ButtonVariant = 'outlined' | 'text' | 'link' | 'ghost' | 'quaternary';
|
|
7
7
|
export type ButtonSize = 'small' | 'large';
|
|
8
8
|
export type ButtonIconPos = 'left' | 'right' | 'top' | 'bottom';
|
|
9
9
|
export type ButtonBadgeSeverity = Exclude<ButtonSeverity, 'help'> | null;
|
|
@@ -18,6 +18,8 @@ export interface ButtonProps {
|
|
|
18
18
|
iconOnly?: boolean;
|
|
19
19
|
/** Semantic color. Omit for primary. */
|
|
20
20
|
severity?: ButtonSeverity;
|
|
21
|
+
/** Custom fill/text color. Overrides `severity` tones when set. */
|
|
22
|
+
color?: string;
|
|
21
23
|
/** Elevated shadow. */
|
|
22
24
|
raised?: boolean;
|
|
23
25
|
/** Fully rounded corners. */
|
|
@@ -28,9 +30,13 @@ export interface ButtonProps {
|
|
|
28
30
|
outlined?: boolean;
|
|
29
31
|
/** Link-styled button. */
|
|
30
32
|
link?: boolean;
|
|
33
|
+
/** Ghost (transparent fill, tinted hover). */
|
|
34
|
+
ghost?: boolean;
|
|
35
|
+
/** Extra-quiet text button. */
|
|
36
|
+
quaternary?: boolean;
|
|
31
37
|
/** Muted/plain treatment for text or outlined. */
|
|
32
38
|
plain?: boolean;
|
|
33
|
-
/** Shortcut for outlined / text / link. */
|
|
39
|
+
/** Shortcut for outlined / text / link / ghost / quaternary. */
|
|
34
40
|
variant?: ButtonVariant;
|
|
35
41
|
/** Size alternative to the default. Also accepts legacy `sm` / `md` / `lg`. */
|
|
36
42
|
size?: ButtonSize | 'sm' | 'md' | 'lg';
|
|
@@ -56,4 +62,10 @@ export interface ButtonInstance {
|
|
|
56
62
|
focus: () => void;
|
|
57
63
|
ref: HTMLButtonElement | null;
|
|
58
64
|
}
|
|
65
|
+
export interface ButtonGroupProps {
|
|
66
|
+
/** Stretch to full container width. */
|
|
67
|
+
fluid?: boolean;
|
|
68
|
+
/** Accessible name for the group. */
|
|
69
|
+
ariaLabel?: string;
|
|
70
|
+
}
|
|
59
71
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,4DAA4D;AAC5D,MAAM,MAAM,cAAc,GACtB,WAAW,GACX,SAAS,GACT,MAAM,GACN,MAAM,GACN,MAAM,GACN,QAAQ,GACR,UAAU,CAAA;AAEd,6CAA6C;AAC7C,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,4DAA4D;AAC5D,MAAM,MAAM,cAAc,GACtB,WAAW,GACX,SAAS,GACT,MAAM,GACN,MAAM,GACN,MAAM,GACN,QAAQ,GACR,UAAU,CAAA;AAEd,6CAA6C;AAC7C,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,YAAY,CAAA;AAEjF,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,OAAO,CAAA;AAE1C,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAA;AAE/D,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,GAAG,IAAI,CAAA;AAExE,MAAM,WAAW,WAAW;IAC1B,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6DAA6D;IAC7D,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC3B,2CAA2C;IAC3C,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uBAAuB;IACvB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yCAAyC;IACzC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,0BAA0B;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,8CAA8C;IAC9C,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,+BAA+B;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kDAAkD;IAClD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,gEAAgE;IAChE,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACtC,yBAAyB;IACzB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,kCAAkC;IAClC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,mBAAmB,CAAA;IACnC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,sCAAsC;IACtC,UAAU,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,CAAA;IACzC,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAAA;CAC9B;AAED,MAAM,WAAW,gBAAgB;IAC/B,uCAAuC;IACvC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import { CardProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
3
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
|
|
5
|
+
cover?: (props: typeof __VLS_1) => any;
|
|
6
6
|
} & {
|
|
7
|
-
|
|
7
|
+
header?: (props: typeof __VLS_3) => any;
|
|
8
8
|
} & {
|
|
9
|
-
|
|
9
|
+
default?: (props: typeof __VLS_5) => any;
|
|
10
|
+
} & {
|
|
11
|
+
footer?: (props: typeof __VLS_7) => any;
|
|
10
12
|
};
|
|
11
|
-
declare const __VLS_base: DefineComponent<CardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
|
13
|
+
declare const __VLS_base: DefineComponent<CardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
|
14
|
+
bordered: boolean;
|
|
15
|
+
hoverable: boolean;
|
|
16
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
12
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
18
|
declare const _default: typeof __VLS_export;
|
|
14
19
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.vue"],"names":[],"mappings":";AA4CA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AA2FxC,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AACjF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,YAAY,CAAA;AAC9C,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,YAAY,CAAA;AAC9C,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
+
import { WiSizeInput } from '../../shared/types';
|
|
2
|
+
export type CardSize = WiSizeInput;
|
|
1
3
|
export interface CardProps {
|
|
2
4
|
title?: string;
|
|
3
5
|
subtitle?: string;
|
|
4
6
|
ariaLabel?: string;
|
|
7
|
+
/** Size. Also accepts legacy `sm` / `lg`. */
|
|
8
|
+
size?: CardSize;
|
|
9
|
+
/** Draw a border. Defaults to `true`. */
|
|
10
|
+
bordered?: boolean;
|
|
11
|
+
/** Elevate on hover. */
|
|
12
|
+
hoverable?: boolean;
|
|
5
13
|
}
|
|
6
14
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Card/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAA;AAElC,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wBAAwB;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB"}
|
|
@@ -14,6 +14,10 @@ declare const __VLS_base: DefineComponent<CarouselProps, {}, {}, {}, {}, Compone
|
|
|
14
14
|
}>, {
|
|
15
15
|
numVisible: number;
|
|
16
16
|
circular: boolean;
|
|
17
|
+
autoplay: boolean;
|
|
18
|
+
interval: number;
|
|
19
|
+
showArrows: boolean;
|
|
20
|
+
showIndicators: boolean;
|
|
17
21
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
18
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Carousel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.vue"],"names":[],"mappings":";AAwIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AA6L5C,QAAA,IAAI,OAAO;;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK5C,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"}
|