@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
|
@@ -1,19 +1,57 @@
|
|
|
1
|
-
import { WiDensity } from '../../shared/config';
|
|
2
|
-
import { FormFieldValidator } from './context';
|
|
3
1
|
export type FormLabelPosition = 'top' | 'left';
|
|
4
|
-
export type
|
|
2
|
+
export type FormLabelAlign = 'left' | 'center' | 'right';
|
|
3
|
+
export type FormValidateTrigger = 'submit' | 'blur' | 'change' | 'input';
|
|
4
|
+
export type FormFieldValidator = (trigger?: FormValidateTrigger | 'all') => boolean | string | undefined | void | Promise<boolean | string | undefined | void>;
|
|
5
|
+
export type FormModel = Record<string, unknown>;
|
|
6
|
+
export interface FormItemRule {
|
|
7
|
+
required?: boolean;
|
|
8
|
+
message?: string;
|
|
9
|
+
min?: number;
|
|
10
|
+
max?: number;
|
|
11
|
+
pattern?: RegExp;
|
|
12
|
+
/**
|
|
13
|
+
* When this rule runs. Omit to inherit Form `validateOn`.
|
|
14
|
+
* Programmatic `validate()` / submit always runs every rule.
|
|
15
|
+
*/
|
|
16
|
+
trigger?: FormValidateTrigger | FormValidateTrigger[];
|
|
17
|
+
/**
|
|
18
|
+
* Return an error string, `false`, or a Promise of either when invalid.
|
|
19
|
+
* `undefined` / `true` / void means valid.
|
|
20
|
+
*/
|
|
21
|
+
validator?: (value: unknown) => boolean | string | undefined | void | Promise<boolean | string | undefined | void>;
|
|
22
|
+
}
|
|
23
|
+
export type FormRules = Record<string, FormItemRule | FormItemRule[]>;
|
|
24
|
+
export interface FormValidateResult {
|
|
25
|
+
valid: boolean;
|
|
26
|
+
errors: Record<string, string>;
|
|
27
|
+
}
|
|
28
|
+
export interface FormInstance {
|
|
29
|
+
validate: (name?: string) => Promise<FormValidateResult>;
|
|
30
|
+
clearValidate: (name?: string) => void;
|
|
31
|
+
errors: Record<string, string>;
|
|
32
|
+
}
|
|
5
33
|
export interface FormProps {
|
|
34
|
+
/** Bound values used by declarative `rules`. */
|
|
35
|
+
model?: FormModel;
|
|
36
|
+
/** Declarative rules keyed by FormItem `name`. */
|
|
37
|
+
rules?: FormRules;
|
|
6
38
|
/** Label placement for FormItem children. */
|
|
7
39
|
labelPosition?: FormLabelPosition;
|
|
8
|
-
/**
|
|
9
|
-
|
|
10
|
-
/**
|
|
40
|
+
/** Alias of `labelPosition` (Naive `label-placement`). `labelPosition` wins. */
|
|
41
|
+
labelPlacement?: FormLabelPosition;
|
|
42
|
+
/** Label text alignment. */
|
|
43
|
+
labelAlign?: FormLabelAlign;
|
|
44
|
+
/** Fixed label column width when labels are on the left. Number is px. */
|
|
45
|
+
labelWidth?: string | number;
|
|
46
|
+
/** Arrange items in a wrapping row. */
|
|
47
|
+
inline?: boolean;
|
|
48
|
+
/** Show required mark on FormItem with `required` or a required rule. */
|
|
11
49
|
requireMark?: boolean;
|
|
12
50
|
/** Disable all nested fields (informational; FormItem forwards via CSS). */
|
|
13
51
|
disabled?: boolean;
|
|
14
52
|
/**
|
|
15
|
-
* When to run field
|
|
16
|
-
*
|
|
53
|
+
* When to run field validation.
|
|
54
|
+
* Also the default `trigger` for rules that omit one.
|
|
17
55
|
*/
|
|
18
56
|
validateOn?: FormValidateTrigger | FormValidateTrigger[];
|
|
19
57
|
}
|
|
@@ -21,7 +59,7 @@ export interface FormItemProps {
|
|
|
21
59
|
label?: string;
|
|
22
60
|
/** Associates label with a control id. */
|
|
23
61
|
for?: string;
|
|
24
|
-
/** Field name used for Form.
|
|
62
|
+
/** Field name used for Form.validate / rules lookup. */
|
|
25
63
|
name?: string;
|
|
26
64
|
required?: boolean;
|
|
27
65
|
/** Explicit invalid state (also implied by non-empty `error`). */
|
|
@@ -32,10 +70,13 @@ export interface FormItemProps {
|
|
|
32
70
|
help?: string;
|
|
33
71
|
/** Consumer-provided validator; return a string message when invalid. */
|
|
34
72
|
validate?: FormFieldValidator;
|
|
73
|
+
/** Item-level rules; merged after Form `rules[name]`. */
|
|
74
|
+
rules?: FormItemRule | FormItemRule[];
|
|
35
75
|
/** Override Form `labelPosition`. */
|
|
36
76
|
labelPosition?: FormLabelPosition;
|
|
77
|
+
/** Override Form `labelAlign`. */
|
|
78
|
+
labelAlign?: FormLabelAlign;
|
|
37
79
|
/** Override Form `labelWidth`. */
|
|
38
|
-
labelWidth?: string;
|
|
80
|
+
labelWidth?: string | number;
|
|
39
81
|
}
|
|
40
|
-
export type { WiDensity };
|
|
41
82
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Form/types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Form/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,MAAM,CAAA;AAC9C,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;AACxD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;AAExE,MAAM,MAAM,kBAAkB,GAAG,CAC/B,OAAO,CAAC,EAAE,mBAAmB,GAAG,KAAK,KAClC,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,OAAO,CAAC,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC,CAAA;AAEvF,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAE/C,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,mBAAmB,GAAG,mBAAmB,EAAE,CAAA;IACrD;;;OAGG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,OAAO,CAAC,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC,CAAA;CACnH;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,YAAY,EAAE,CAAC,CAAA;AAErE,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,kBAAkB,CAAC,CAAA;IACxD,aAAa,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,SAAS;IACxB,gDAAgD;IAChD,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,kDAAkD;IAClD,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,6CAA6C;IAC7C,aAAa,CAAC,EAAE,iBAAiB,CAAA;IACjC,gFAAgF;IAChF,cAAc,CAAC,EAAE,iBAAiB,CAAA;IAClC,4BAA4B;IAC5B,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,0EAA0E;IAC1E,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,uCAAuC;IACvC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,yEAAyE;IACzE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,UAAU,CAAC,EAAE,mBAAmB,GAAG,mBAAmB,EAAE,CAAA;CACzD;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0CAA0C;IAC1C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,wDAAwD;IACxD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kEAAkE;IAClE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oEAAoE;IACpE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yEAAyE;IACzE,QAAQ,CAAC,EAAE,kBAAkB,CAAA;IAC7B,yDAAyD;IACzD,KAAK,CAAC,EAAE,YAAY,GAAG,YAAY,EAAE,CAAA;IACrC,qCAAqC;IACrC,aAAa,CAAC,EAAE,iBAAiB,CAAA;IACjC,kCAAkC;IAClC,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,kCAAkC;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAC7B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { GridProps, GridResponsive } 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<GridProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<GridProps> & Readonly<{}>, {
|
|
8
|
+
collapsed: boolean;
|
|
9
|
+
layoutShiftDisabled: boolean;
|
|
10
|
+
responsive: GridResponsive;
|
|
11
|
+
cols: number | string;
|
|
12
|
+
xGap: number | string;
|
|
13
|
+
yGap: number | string;
|
|
14
|
+
itemResponsive: boolean;
|
|
15
|
+
collapsedRows: number;
|
|
16
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=Grid.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.vue"],"names":[],"mappings":";AA+PA,OAAO,EAAkC,KAAK,SAAS,EAAE,MAAM,SAAS,CAAA;AAyQxE,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;AAO/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,22 @@
|
|
|
1
|
+
import { GridItemProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare var __VLS_1: {
|
|
4
|
+
overflow: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: DefineComponent<GridItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<GridItemProps> & Readonly<{}>, {
|
|
10
|
+
span: number | string;
|
|
11
|
+
offset: number | string;
|
|
12
|
+
suffix: boolean;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=GridItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GridItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/GridItem.vue"],"names":[],"mappings":";AAqEA,OAAO,EAAkC,KAAK,aAAa,EAAE,MAAM,SAAS,CAAA;AA0F5E,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;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,6 @@
|
|
|
1
|
+
export { default as WiGrid } from './Grid.vue';
|
|
2
|
+
export { default as WiGridItem } from './GridItem.vue';
|
|
3
|
+
export { default as WiGi } from './GridItem.vue';
|
|
4
|
+
export type { GridItemProps, GridProps, GridResponsive } from './types';
|
|
5
|
+
export { WI_GRID_KEY } from './types';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAChD,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { CSSProperties, InjectionKey, Ref } from 'vue';
|
|
2
|
+
export type GridResponsive = 'self' | 'screen';
|
|
3
|
+
export interface GridProps {
|
|
4
|
+
/** Disable layout shift / collapsed bookkeeping; plain CSS grid. */
|
|
5
|
+
layoutShiftDisabled?: boolean;
|
|
6
|
+
/** Responsive query source. */
|
|
7
|
+
responsive?: GridResponsive;
|
|
8
|
+
/** Column count: number or responsive string like `1 s:2 m:3`. */
|
|
9
|
+
cols?: number | string;
|
|
10
|
+
/** Horizontal gap (px number or responsive string). */
|
|
11
|
+
xGap?: number | string;
|
|
12
|
+
/** Vertical gap (px number or responsive string). */
|
|
13
|
+
yGap?: number | string;
|
|
14
|
+
/**
|
|
15
|
+
* Force width queries so item `span` / `offset` responsive strings resolve
|
|
16
|
+
* even when `cols` / gaps are plain numbers.
|
|
17
|
+
*/
|
|
18
|
+
itemResponsive?: boolean;
|
|
19
|
+
/** Collapse overflowing items past `collapsedRows`. */
|
|
20
|
+
collapsed?: boolean;
|
|
21
|
+
/** Visible rows when collapsed. */
|
|
22
|
+
collapsedRows?: number;
|
|
23
|
+
/** Style applied to each grid item. */
|
|
24
|
+
itemStyle?: string | CSSProperties;
|
|
25
|
+
}
|
|
26
|
+
export interface GridItemProps {
|
|
27
|
+
/** Column span: number or responsive string. */
|
|
28
|
+
span?: number | string;
|
|
29
|
+
/** Offset before this item: number or responsive string. */
|
|
30
|
+
offset?: number | string;
|
|
31
|
+
/** Stick to the end of the last visible row when collapsed. */
|
|
32
|
+
suffix?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface GridItemLayout {
|
|
35
|
+
span: number;
|
|
36
|
+
offset: number;
|
|
37
|
+
colStart?: number;
|
|
38
|
+
show: boolean;
|
|
39
|
+
}
|
|
40
|
+
export interface WiGridContext {
|
|
41
|
+
overflow: Ref<boolean>;
|
|
42
|
+
itemStyle: Ref<string | CSSProperties | undefined>;
|
|
43
|
+
xGap: Ref<string>;
|
|
44
|
+
layoutShiftDisabled: Ref<boolean>;
|
|
45
|
+
assignLayout: (uid: number, layout: GridItemLayout) => GridItemLayout | undefined;
|
|
46
|
+
register: (uid: number) => void;
|
|
47
|
+
unregister: (uid: number) => void;
|
|
48
|
+
}
|
|
49
|
+
export declare const WI_GRID_KEY: InjectionKey<WiGridContext>;
|
|
50
|
+
export declare const WI_GRID_ITEM_FLAG: "__WI_GRID_ITEM__";
|
|
51
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE3D,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,CAAA;AAE9C,MAAM,WAAW,SAAS;IACxB,oEAAoE;IACpE,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,+BAA+B;IAC/B,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,kEAAkE;IAClE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,qDAAqD;IACrD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,uDAAuD;IACvD,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,mCAAmC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,GAAG,aAAa,CAAA;CACnC;AAED,MAAM,WAAW,aAAa;IAC5B,gDAAgD;IAChD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;CACd;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACtB,SAAS,EAAE,GAAG,CAAC,MAAM,GAAG,aAAa,GAAG,SAAS,CAAC,CAAA;IAClD,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACjB,mBAAmB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACjC,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,KAAK,cAAc,GAAG,SAAS,CAAA;IACjF,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED,eAAO,MAAM,WAAW,EAAE,YAAY,CAAC,aAAa,CAAoB,CAAA;AACxE,eAAO,MAAM,iBAAiB,EAAG,kBAA2B,CAAA"}
|
|
@@ -18,8 +18,8 @@ declare const __VLS_base: DefineComponent<InplaceProps, {
|
|
|
18
18
|
}, string, PublicProps, Readonly<InplaceProps> & Readonly<{
|
|
19
19
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
|
-
disabled: boolean;
|
|
22
21
|
modelValue: boolean;
|
|
22
|
+
disabled: boolean;
|
|
23
23
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
@@ -10,20 +10,20 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
declare const __VLS_base: DefineComponent<InputProps, {
|
|
11
11
|
focus: typeof focus;
|
|
12
12
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
|
-
clear: () => any;
|
|
14
13
|
"update:modelValue": (value: string) => any;
|
|
14
|
+
clear: () => any;
|
|
15
15
|
}, string, PublicProps, Readonly<InputProps> & Readonly<{
|
|
16
|
-
onClear?: (() => any) | undefined;
|
|
17
16
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
|
+
onClear?: (() => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
|
|
20
|
-
type: "text" | "email" | "password" | "search" | "url" | "tel";
|
|
21
|
-
fluid: boolean;
|
|
19
|
+
modelValue: string;
|
|
22
20
|
disabled: boolean;
|
|
21
|
+
type: "text" | "email" | "password" | "search" | "url" | "tel";
|
|
22
|
+
error: boolean;
|
|
23
|
+
clearable: boolean;
|
|
23
24
|
invalid: boolean;
|
|
24
|
-
|
|
25
|
+
fluid: boolean;
|
|
25
26
|
readonly: boolean;
|
|
26
|
-
clearable: boolean;
|
|
27
27
|
showCount: boolean;
|
|
28
28
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.vue"],"names":[],"mappings":";AAqJA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAuEzC,iBAAS,KAAK,SAEb;AA+ID,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO9C,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,8 +5,8 @@ declare const __VLS_export: DefineComponent<InputColorProps, {}, {}, {}, {}, Com
|
|
|
5
5
|
}, string, PublicProps, Readonly<InputColorProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
disabled: boolean;
|
|
9
8
|
modelValue: string;
|
|
9
|
+
disabled: boolean;
|
|
10
10
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputColor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InputColor/InputColor.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"InputColor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InputColor/InputColor.vue"],"names":[],"mappings":";AA6EA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAwH9C,QAAA,MAAM,YAAY;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/InputColor/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/InputColor/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAClD"}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { InputNumberProps } from './types';
|
|
1
|
+
import { InputNumberProps, InputNumberButtonPlacement } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const __VLS_export: DefineComponent<InputNumberProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
4
|
"update:modelValue": (value: number | null) => any;
|
|
5
5
|
}, string, PublicProps, Readonly<InputNumberProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
|
|
8
|
+
modelValue: number | null;
|
|
9
9
|
disabled: boolean;
|
|
10
|
+
clearable: boolean;
|
|
10
11
|
invalid: boolean;
|
|
11
|
-
modelValue: number | null;
|
|
12
12
|
step: number;
|
|
13
|
+
fluid: boolean;
|
|
13
14
|
showButtons: boolean;
|
|
15
|
+
buttonPlacement: InputNumberButtonPlacement;
|
|
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":"InputNumber.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InputNumber/InputNumber.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"InputNumber.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InputNumber/InputNumber.vue"],"names":[],"mappings":";AAuJA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AA4N/C,QAAA,MAAM,YAAY;;;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InputNumber/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAC5D,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InputNumber/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAC5D,YAAY,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { WiSizeInput } from '../../shared/types';
|
|
2
|
+
export type InputNumberButtonPlacement = 'both' | 'right';
|
|
2
3
|
export interface InputNumberProps {
|
|
3
4
|
modelValue?: number | null;
|
|
4
5
|
label?: string;
|
|
5
6
|
min?: number;
|
|
6
7
|
max?: number;
|
|
7
8
|
step?: number;
|
|
9
|
+
/** Decimal places to round to. */
|
|
10
|
+
precision?: number;
|
|
8
11
|
disabled?: boolean;
|
|
9
12
|
invalid?: boolean;
|
|
10
13
|
fluid?: boolean;
|
|
11
14
|
size?: WiSizeInput;
|
|
12
15
|
showButtons?: boolean;
|
|
16
|
+
/** Where increment/decrement buttons sit. Defaults to `'both'`. */
|
|
17
|
+
buttonPlacement?: InputNumberButtonPlacement;
|
|
18
|
+
clearable?: boolean;
|
|
13
19
|
id?: string;
|
|
14
20
|
}
|
|
15
21
|
export interface InputNumberEmits {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/InputNumber/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,MAAM,WAAW,gBAAgB;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,gBAAgB;IAC/B,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;CACzD"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/InputNumber/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,MAAM,MAAM,0BAA0B,GAAG,MAAM,GAAG,OAAO,CAAA;AAEzD,MAAM,WAAW,gBAAgB;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,mEAAmE;IACnE,eAAe,CAAC,EAAE,0BAA0B,CAAA;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,gBAAgB;IAC/B,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;CACzD"}
|
|
@@ -5,9 +5,10 @@ declare const __VLS_export: DefineComponent<InputOtpProps, {}, {}, {}, {}, Compo
|
|
|
5
5
|
}, string, PublicProps, Readonly<InputOtpProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
+
modelValue: string;
|
|
8
9
|
length: number;
|
|
10
|
+
mask: boolean;
|
|
9
11
|
disabled: boolean;
|
|
10
|
-
modelValue: string;
|
|
11
12
|
integerOnly: boolean;
|
|
12
13
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
14
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputOtp.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InputOtp/InputOtp.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"InputOtp.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InputOtp/InputOtp.vue"],"names":[],"mappings":";AAsIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAiL5C,QAAA,MAAM,YAAY;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
import { WiSizeInput } from '../../shared/types';
|
|
1
2
|
export interface InputOtpProps {
|
|
2
3
|
modelValue?: string;
|
|
3
4
|
length?: number;
|
|
4
5
|
disabled?: boolean;
|
|
5
6
|
integerOnly?: boolean;
|
|
7
|
+
/** Mask each digit. */
|
|
8
|
+
mask?: boolean;
|
|
9
|
+
size?: WiSizeInput;
|
|
10
|
+
/** Gap between cells. Number is pixels. */
|
|
11
|
+
gap?: string | number;
|
|
6
12
|
}
|
|
7
13
|
export interface InputOtpEmits {
|
|
8
14
|
(event: 'update:modelValue', value: string): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/InputOtp/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAClD"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/InputOtp/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,uBAAuB;IACvB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,2CAA2C;IAC3C,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAClD"}
|
|
@@ -13,13 +13,18 @@ type __VLS_Slots = {} & {
|
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_base: DefineComponent<InputPasswordProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
15
15
|
"update:modelValue": (value: string) => any;
|
|
16
|
+
clear: () => any;
|
|
16
17
|
}, string, PublicProps, Readonly<InputPasswordProps> & Readonly<{
|
|
17
18
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
+
onClear?: (() => any) | undefined;
|
|
18
20
|
}>, {
|
|
19
|
-
|
|
21
|
+
modelValue: string;
|
|
20
22
|
disabled: boolean;
|
|
23
|
+
clearable: boolean;
|
|
21
24
|
invalid: boolean;
|
|
22
|
-
|
|
25
|
+
fluid: boolean;
|
|
26
|
+
readonly: boolean;
|
|
27
|
+
showCount: boolean;
|
|
23
28
|
feedback: boolean;
|
|
24
29
|
toggleMask: boolean;
|
|
25
30
|
showIcon: IconName | Component;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputPassword.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InputPassword/InputPassword.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputPassword.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InputPassword/InputPassword.vue"],"names":[],"mappings":"AAiPA,OAAO,EAA4C,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAS9E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAsVjD,QAAA,IAAI,OAAO;;CAAU,EAAE,QAAQ;;CAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOjD,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 WiInputPassword } from './InputPassword.vue';
|
|
2
|
-
export type { InputPasswordEmits, InputPasswordProps, InputPasswordSlots, PasswordStrength } from './types';
|
|
2
|
+
export type { InputPasswordEmits, InputPasswordProps, InputPasswordSlots, PasswordStrength, WiShowPasswordOn } from './types';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InputPassword/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAChE,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InputPassword/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAChE,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1,17 +1,29 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { WiShowPasswordOn } from '../../shared/componentDefaults';
|
|
3
|
+
import { WiInputVariant, WiSizeInput } from '../../shared/types';
|
|
3
4
|
import { IconName } from '../Icon/types';
|
|
5
|
+
export type { WiShowPasswordOn };
|
|
4
6
|
export interface InputPasswordProps {
|
|
5
7
|
modelValue?: string;
|
|
6
8
|
label?: string;
|
|
7
9
|
disabled?: boolean;
|
|
10
|
+
readonly?: boolean;
|
|
8
11
|
invalid?: boolean;
|
|
9
12
|
fluid?: boolean;
|
|
10
13
|
size?: WiSizeInput;
|
|
14
|
+
variant?: WiInputVariant;
|
|
11
15
|
/** Show password strength hint. */
|
|
12
16
|
feedback?: boolean;
|
|
13
17
|
/** Show toggle mask button. */
|
|
14
18
|
toggleMask?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* When to reveal the password.
|
|
21
|
+
* `click` toggles; `mousedown` is hold-to-peek (mouse or Space/Enter).
|
|
22
|
+
*/
|
|
23
|
+
showPasswordOn?: WiShowPasswordOn;
|
|
24
|
+
clearable?: boolean;
|
|
25
|
+
maxlength?: number;
|
|
26
|
+
showCount?: boolean;
|
|
15
27
|
/** Icon when the value is masked (click to reveal). Built-in `WiIcon` name or a Vue component. */
|
|
16
28
|
showIcon?: IconName | Component;
|
|
17
29
|
/** Icon when the value is visible (click to hide). Built-in `WiIcon` name or a Vue component. */
|
|
@@ -20,6 +32,7 @@ export interface InputPasswordProps {
|
|
|
20
32
|
}
|
|
21
33
|
export interface InputPasswordEmits {
|
|
22
34
|
(event: 'update:modelValue', value: string): void;
|
|
35
|
+
(event: 'clear'): void;
|
|
23
36
|
}
|
|
24
37
|
export interface InputPasswordSlots {
|
|
25
38
|
/** Replace the “show password” icon. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/InputPassword/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AACpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/InputPassword/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACrE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,YAAY,EAAE,gBAAgB,EAAE,CAAA;AAEhC,MAAM,WAAW,kBAAkB;IACjC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,+BAA+B;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;;OAGG;IACH,cAAc,CAAC,EAAE,gBAAgB,CAAA;IACjC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,kGAAkG;IAClG,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC/B,iGAAiG;IACjG,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,kBAAkB;IACjC,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACjD,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAA;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,wCAAwC;IACxC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAA;KAAE,KAAK,OAAO,CAAA;IACpD,wCAAwC;IACxC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAA;KAAE,KAAK,OAAO,CAAA;CACrD;AAED,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAA"}
|
|
@@ -5,8 +5,8 @@ declare const __VLS_export: DefineComponent<InputTagsProps, {}, {}, {}, {}, Comp
|
|
|
5
5
|
}, string, PublicProps, Readonly<InputTagsProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
disabled: boolean;
|
|
9
8
|
modelValue: string[];
|
|
9
|
+
disabled: boolean;
|
|
10
10
|
addOnBlur: boolean;
|
|
11
11
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputTags.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InputTags/InputTags.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"InputTags.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InputTags/InputTags.vue"],"names":[],"mappings":";AA2HA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAgK7C,QAAA,MAAM,YAAY;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -3,6 +3,10 @@ export interface InputTagsProps {
|
|
|
3
3
|
placeholder?: string;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
addOnBlur?: boolean;
|
|
6
|
+
/** Max number of tags. */
|
|
7
|
+
max?: number;
|
|
8
|
+
/** Extra separators besides Enter. Example: `','`. */
|
|
9
|
+
separator?: string | string[];
|
|
6
10
|
}
|
|
7
11
|
export interface InputTagsEmits {
|
|
8
12
|
(event: 'update:modelValue', value: string[]): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/InputTags/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/InputTags/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,0BAA0B;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC9B;AAED,MAAM,WAAW,cAAc;IAC7B,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,CAAA;CACpD"}
|
|
@@ -5,12 +5,12 @@ declare const __VLS_export: DefineComponent<KnobProps, {}, {}, {}, {}, Component
|
|
|
5
5
|
}, string, PublicProps, Readonly<KnobProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
size: number;
|
|
9
|
-
disabled: boolean;
|
|
10
8
|
modelValue: number;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
size: number;
|
|
11
|
+
max: number;
|
|
11
12
|
step: number;
|
|
12
13
|
min: number;
|
|
13
|
-
max: number;
|
|
14
14
|
valueTemplate: string;
|
|
15
15
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { LayoutExpose, LayoutProps, LayoutPosition, LayoutSiderPlacement } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare var __VLS_1: {}, __VLS_13: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
6
|
+
} & {
|
|
7
|
+
default?: (props: typeof __VLS_13) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: DefineComponent<LayoutProps, LayoutExpose, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
10
|
+
scroll: (eventPayload: Event) => any;
|
|
11
|
+
}, string, PublicProps, Readonly<LayoutProps> & Readonly<{
|
|
12
|
+
onScroll?: ((eventPayload: Event) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
position: LayoutPosition;
|
|
15
|
+
embedded: boolean;
|
|
16
|
+
hasSider: boolean;
|
|
17
|
+
siderPlacement: LayoutSiderPlacement;
|
|
18
|
+
nativeScrollbar: boolean;
|
|
19
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=Layout.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Layout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Layout.vue"],"names":[],"mappings":";AA4IA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AA2LxD,QAAA,IAAI,OAAO,IAAU,EAAsB,QAAQ,IAAY,CAAE;AACjE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAQhD,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,26 @@
|
|
|
1
|
+
import { LayoutContentProps, LayoutExpose, LayoutPosition } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare var __VLS_1: {}, __VLS_13: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
6
|
+
} & {
|
|
7
|
+
default?: (props: typeof __VLS_13) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: DefineComponent<LayoutContentProps, LayoutExpose, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
10
|
+
scroll: (eventPayload: Event) => any;
|
|
11
|
+
}, string, PublicProps, Readonly<LayoutContentProps> & Readonly<{
|
|
12
|
+
onScroll?: ((eventPayload: Event) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
position: LayoutPosition;
|
|
15
|
+
embedded: boolean;
|
|
16
|
+
nativeScrollbar: boolean;
|
|
17
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=LayoutContent.vue.d.ts.map
|