yc-design-vue 2.1.1 → 2.1.3
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/LICENSE +21 -201
- package/dist/index.umd.js +1 -1
- package/dist/lang-es/zh-cn.js +140 -142
- package/dist/style.css +1 -1
- package/es/Affix/index.vue.js +11 -2
- package/es/Alert/index.d.ts +3 -3
- package/es/Alert/index.vue.d.ts +1 -1
- package/es/Alert/index.vue.js +9 -0
- package/es/Anchor/Anchor.vue.js +9 -0
- package/es/Anchor/AnchorLink.vue.js +9 -0
- package/es/Anchor/hooks/useContext.js +10 -1
- package/es/AutoComplete/index.d.ts +74 -74
- package/es/AutoComplete/index.vue.d.ts +101 -101
- package/es/AutoComplete/index.vue.js +11 -1
- package/es/Avatar/Avatar.vue.js +10 -1
- package/es/Avatar/AvatarGroup.vue.js +13 -3
- package/es/BackTop/index.vue.js +11 -3
- package/es/Badge/index.vue.js +10 -1
- package/es/Breadcrumb/Breadcrumb.vue.js +14 -5
- package/es/Breadcrumb/BreadcrumbItem.vue.d.ts +1 -1
- package/es/Breadcrumb/BreadcrumbItem.vue.js +9 -0
- package/es/Breadcrumb/BreadcrumbMore.vue.js +9 -0
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +10 -1
- package/es/Breadcrumb/index.d.ts +3 -3
- package/es/Button/Button.vue.d.ts +2 -2
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/hooks/useContext.js +10 -0
- package/es/Button/index.d.ts +9 -9
- package/es/Calendar/Calendar.vue.js +9 -2
- package/es/Calendar/CalendarMonth.vue.d.ts +1 -1
- package/es/Calendar/CalendarMonth.vue.js +8 -1
- package/es/Calendar/CalendarYear.vue.d.ts +1 -1
- package/es/Calendar/CalendarYear.vue.js +8 -0
- package/es/Card/Card.vue.js +11 -1
- package/es/Card/CardMeta.vue.js +10 -0
- package/es/Carousel/Carousel.vue.js +10 -0
- package/es/Carousel/CarouselArrow.vue.js +9 -0
- package/es/Carousel/CarouselIndicator.vue.js +9 -0
- package/es/Carousel/hooks/useContext.js +10 -1
- package/es/Cascader/Cascader.vue.d.ts +27 -27
- package/es/Cascader/Cascader.vue.js +9 -0
- package/es/Cascader/CascaderIcon.vue.js +9 -0
- package/es/Cascader/CascaderOption.vue.d.ts +1 -1
- package/es/Cascader/CascaderOption.vue.js +10 -1
- package/es/Cascader/hooks/useContext.js +11 -1
- package/es/Cascader/index.d.ts +28 -28
- package/es/Checkbox/Checkbox.vue.js +11 -2
- package/es/Checkbox/hooks/useContext.js +11 -1
- package/es/Collapse/CollapseItem.vue.d.ts +1 -1
- package/es/Collapse/CollapseItem.vue.js +9 -0
- package/es/Collapse/hooks/useContext.js +11 -1
- package/es/Collapse/index.d.ts +3 -3
- package/es/Collapse/type.d.ts +1 -1
- package/es/ColorPicker/ColorControl.vue.js +9 -0
- package/es/ColorPicker/ColorInput.vue.js +10 -0
- package/es/ColorPicker/ColorList.vue.js +9 -0
- package/es/ColorPicker/ColorPalette.vue.js +9 -0
- package/es/ColorPicker/ColorPanel.vue.js +9 -0
- package/es/ColorPicker/hooks/useContext.js +11 -1
- package/es/Comment/hooks/useContext.js +10 -0
- package/es/Comment/index.vue.js +10 -0
- package/es/ConfigProvider/index.d.ts +3 -3
- package/es/ConfigProvider/index.vue.d.ts +1 -1
- package/es/ConfigProvider/index.vue.js +10 -0
- package/es/ConfigProvider/type.d.ts +1 -1
- package/es/Descriptions/Descriptions.vue.d.ts +2 -2
- package/es/Descriptions/DescriptionsItem.vue.d.ts +1 -1
- package/es/Descriptions/ReuseItem.vue.js +10 -0
- package/es/Descriptions/ReuseTd.vue.js +10 -0
- package/es/Descriptions/hooks/useContext.js +9 -0
- package/es/Descriptions/index.d.ts +9 -9
- package/es/Divider/index.vue.js +9 -0
- package/es/Divider/type.d.ts +1 -1
- package/es/Drawer/Drawer.vue.d.ts +4 -4
- package/es/Drawer/Drawer.vue.js +9 -1
- package/es/Drawer/DrawerService.vue.d.ts +4 -4
- package/es/Drawer/DrawerService.vue.js +10 -0
- package/es/Drawer/index.d.ts +12 -12
- package/es/Dropdown/Dropdown.vue.d.ts +3 -3
- package/es/Dropdown/Dropdown.vue.js +10 -1
- package/es/Dropdown/DropdownButton.vue.d.ts +5 -5
- package/es/Dropdown/DropdownButton.vue.js +9 -0
- package/es/Dropdown/Dsubmenu.vue.d.ts +11 -11
- package/es/Dropdown/Dsubmenu.vue.js +14 -6
- package/es/Dropdown/hooks/useContext.js +11 -1
- package/es/Dropdown/index.d.ts +27 -27
- package/es/Dropdown/type.d.ts +1 -1
- package/es/Empty/index.vue.js +9 -1
- package/es/Grid/Grid.vue.js +9 -0
- package/es/Grid/GridCol.vue.js +9 -0
- package/es/Grid/GridItem.vue.js +9 -0
- package/es/Grid/GridRow.vue.d.ts +1 -1
- package/es/Grid/GridRow.vue.js +9 -0
- package/es/Grid/hooks/useContext.js +10 -1
- package/es/Grid/index.d.ts +3 -3
- package/es/Image/Image.vue.js +9 -1
- package/es/Image/ImagePreview.vue.js +12 -3
- package/es/Image/ImagePreviewAction.vue.d.ts +1 -1
- package/es/Image/ImagePreviewArrow.vue.js +9 -0
- package/es/Image/ImagePreviewGroup.vue.js +10 -0
- package/es/Image/ImagePreviewToolbar.vue.js +9 -1
- package/es/Image/hooks/useContext.js +11 -1
- package/es/Image/index.d.ts +3 -3
- package/es/Input/Input.vue.d.ts +4 -4
- package/es/Input/Input.vue.js +11 -2
- package/es/Input/InputSuffix.vue.js +9 -0
- package/es/Input/hooks/useLimitedInput.js +11 -1
- package/es/Input/index.d.ts +10 -10
- package/es/Input/type.d.ts +1 -1
- package/es/InputNumber/InputNumber.vue.d.ts +25 -25
- package/es/InputNumber/InputNumber.vue.js +11 -2
- package/es/InputNumber/InputOperaBtn.vue.js +9 -0
- package/es/InputNumber/index.d.ts +23 -23
- package/es/InputNumber/type.d.ts +1 -1
- package/es/InputTag/index.d.ts +15 -15
- package/es/InputTag/index.vue.d.ts +6 -6
- package/es/InputTag/index.vue.js +13 -4
- package/es/InputTag/type.d.ts +1 -1
- package/es/Layout/Layout.vue.js +10 -0
- package/es/Layout/LayoutSider.vue.d.ts +3 -3
- package/es/Layout/LayoutSider.vue.js +9 -0
- package/es/Layout/hooks/useSiderContext.js +11 -1
- package/es/Layout/index.d.ts +9 -9
- package/es/Link/index.vue.js +9 -0
- package/es/List/List.vue.d.ts +7 -7
- package/es/List/List.vue.js +11 -2
- package/es/List/ListVirtual.vue.js +10 -0
- package/es/List/hooks/useScrollReach.js +11 -2
- package/es/List/index.d.ts +6 -6
- package/es/List/type.d.ts +1 -1
- package/es/Mention/index.d.ts +87 -87
- package/es/Mention/index.vue.d.ts +145 -145
- package/es/Mention/index.vue.js +11 -1
- package/es/Mention/type.d.ts +1 -1
- package/es/Menu/Menu.vue.d.ts +8 -8
- package/es/Menu/Menu.vue.js +9 -0
- package/es/Menu/MenuEllipsis.vue.js +9 -0
- package/es/Menu/MenuItem.vue.js +10 -1
- package/es/Menu/MenuItemGroup.vue.js +9 -0
- package/es/Menu/SubMenu.vue.js +10 -2
- package/es/Menu/hooks/useContext.d.ts +1 -1
- package/es/Menu/hooks/useContext.js +17 -6
- package/es/Menu/index.d.ts +24 -24
- package/es/Menu/type.d.ts +1 -1
- package/es/Message/Message.vue.d.ts +2 -2
- package/es/Message/Message.vue.js +11 -2
- package/es/Message/index.d.ts +7 -7
- package/es/Message/index.js +11 -1
- package/es/Message/type.d.ts +1 -1
- package/es/Modal/Modal.vue.d.ts +3 -3
- package/es/Modal/Modal.vue.js +9 -1
- package/es/Modal/ModalService.vue.d.ts +3 -3
- package/es/Modal/ModalService.vue.js +10 -0
- package/es/Modal/hooks/useModalClose.d.ts +1 -1
- package/es/Modal/hooks/useModalClose.js +11 -1
- package/es/Modal/hooks/useModalDraggable.js +10 -1
- package/es/Modal/hooks/useOnBeforeClose.js +11 -0
- package/es/Modal/index.d.ts +9 -9
- package/es/Notification/Notification.vue.d.ts +5 -5
- package/es/Notification/Notification.vue.js +10 -1
- package/es/Notification/index.d.ts +22 -21
- package/es/Notification/index.js +10 -0
- package/es/Notification/type.d.ts +1 -1
- package/es/OverflowList/index.vue.js +11 -2
- package/es/PageHeader/index.vue.js +9 -0
- package/es/Pagination/Pagination.vue.js +9 -1
- package/es/Pagination/PaginationItem.vue.js +9 -0
- package/es/Pagination/hooks/useContext.js +10 -1
- package/es/Popconfirm/index.d.ts +16 -16
- package/es/Popconfirm/index.vue.d.ts +14 -14
- package/es/Popconfirm/index.vue.js +10 -1
- package/es/Popover/index.d.ts +6 -6
- package/es/Popover/index.vue.d.ts +2 -2
- package/es/Popover/index.vue.js +11 -1
- package/es/Progress/Progress.vue.js +10 -0
- package/es/Progress/ProgressCircle.vue.js +11 -2
- package/es/Progress/ProgressLine.vue.js +9 -0
- package/es/Progress/ProgressSteps.vue.js +9 -0
- package/es/Radio/Radio.vue.d.ts +1 -1
- package/es/Radio/Radio.vue.js +11 -2
- package/es/Radio/RadioGroup.vue.d.ts +1 -1
- package/es/Radio/hooks/useContext.js +11 -1
- package/es/Radio/index.d.ts +6 -6
- package/es/Radio/type.d.ts +1 -1
- package/es/Rate/index.vue.js +11 -2
- package/es/ResizeBox/index.vue.d.ts +2 -1
- package/es/ResizeBox/index.vue.js +11 -2
- package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/es/Scrollbar/Scrollbar.vue.js +10 -1
- package/es/Scrollbar/ScrollbarTrack.vue.js +10 -1
- package/es/Scrollbar/index.d.ts +3 -3
- package/es/Select/Option.vue.d.ts +1 -1
- package/es/Select/Option.vue.js +10 -1
- package/es/Select/Select.vue.d.ts +47 -47
- package/es/Select/Select.vue.js +10 -1
- package/es/Select/SelectIcon.vue.js +9 -0
- package/es/Select/SelectRealList.vue.js +10 -0
- package/es/Select/SelectView.vue.js +10 -0
- package/es/Select/SelectVirtualList.vue.d.ts +1 -1
- package/es/Select/SelectVirtualList.vue.js +12 -3
- package/es/Select/hooks/useContext.js +11 -1
- package/es/Select/hooks/useSelectHotkeys.js +10 -0
- package/es/Select/hooks/useSelectOptions.d.ts +1 -1
- package/es/Select/hooks/useSelectOptions.js +10 -0
- package/es/Select/index.d.ts +45 -45
- package/es/Select/type.d.ts +1 -1
- package/es/Skeleton/SkeletonLine.vue.js +9 -0
- package/es/Skeleton/SkeletonShape.vue.js +10 -0
- package/es/Slider/SliderBtn.vue.js +11 -1
- package/es/Slider/hooks/useContext.js +11 -1
- package/es/Slider/hooks/useSliderDraggable.js +10 -1
- package/es/Space/index.vue.js +10 -1
- package/es/Space/type.d.ts +2 -2
- package/es/Spin/index.vue.js +9 -0
- package/es/Split/index.vue.js +12 -3
- package/es/Split/type.d.ts +1 -1
- package/es/Statistic/Countdown.vue.d.ts +1 -1
- package/es/Statistic/Countdown.vue.js +9 -1
- package/es/Statistic/Statistic.vue.d.ts +1 -1
- package/es/Statistic/Statistic.vue.js +9 -1
- package/es/Statistic/index.d.ts +6 -6
- package/es/Steps/Step.vue.d.ts +1 -1
- package/es/Steps/Step.vue.js +9 -0
- package/es/Steps/hooks/useContext.js +11 -1
- package/es/Steps/index.d.ts +3 -3
- package/es/Steps/type.d.ts +1 -1
- package/es/Switch/index.d.ts +8 -8
- package/es/Switch/index.vue.d.ts +3 -3
- package/es/Switch/index.vue.js +12 -2
- package/es/Tabs/TabButton.vue.js +9 -0
- package/es/Tabs/TabPane.vue.d.ts +1 -1
- package/es/Tabs/TabPane.vue.js +10 -0
- package/es/Tabs/Tabs.vue.d.ts +2 -2
- package/es/Tabs/Tabs.vue.js +9 -0
- package/es/Tabs/TabsNavInk.vue.js +10 -1
- package/es/Tabs/TabsTab.vue.js +10 -0
- package/es/Tabs/hooks/useContext.js +11 -1
- package/es/Tabs/hooks/useTabsScroll.js +10 -1
- package/es/Tabs/index.d.ts +6 -6
- package/es/Tabs/type.d.ts +1 -1
- package/es/Tag/index.vue.js +11 -2
- package/es/Textarea/hooks/useTextareaHeight.js +9 -0
- package/es/Textarea/index.d.ts +10 -10
- package/es/Textarea/index.vue.d.ts +4 -4
- package/es/Textarea/index.vue.js +9 -0
- package/es/TimePicker/TimePicker.vue.d.ts +6 -6
- package/es/TimePicker/TimePicker.vue.js +10 -2
- package/es/TimePicker/TimePickerPanel.vue.js +7 -1
- package/es/TimePicker/hooks/useContext.js +10 -1
- package/es/TimePicker/index.d.ts +16 -16
- package/es/TimePicker/type.d.ts +1 -1
- package/es/Timeline/TimelineItem.vue.d.ts +1 -1
- package/es/Timeline/TimelineItemPending.vue.js +11 -1
- package/es/Timeline/hooks/useContext.js +10 -0
- package/es/Timeline/index.d.ts +3 -3
- package/es/Timeline/type.d.ts +1 -1
- package/es/Tooltip/index.d.ts +3 -3
- package/es/Tooltip/index.vue.d.ts +1 -1
- package/es/Tooltip/index.vue.js +11 -1
- package/es/Transfer/Transfer.vue.d.ts +3 -3
- package/es/Transfer/Transfer.vue.js +9 -0
- package/es/Transfer/TransferPanel.vue.js +11 -2
- package/es/Transfer/hooks/useContext.js +11 -1
- package/es/Transfer/index.d.ts +8 -8
- package/es/Transfer/type.d.ts +1 -1
- package/es/Trigger/hooks/useContext.js +10 -1
- package/es/Trigger/hooks/useTriggerPosition.js +9 -0
- package/es/Trigger/hooks/useTriggerVisible.js +11 -2
- package/es/Trigger/index.d.ts +6 -6
- package/es/Trigger/index.vue.d.ts +2 -2
- package/es/Trigger/index.vue.js +11 -2
- package/es/Typography/TypographyBase.vue.d.ts +22 -22
- package/es/Typography/TypographyBase.vue.js +12 -4
- package/es/Typography/type.d.ts +1 -1
- package/es/Upload/Upload.vue.d.ts +1 -1
- package/es/Upload/UploadButton.vue.js +9 -1
- package/es/Upload/UploadDrag.vue.js +9 -1
- package/es/Upload/UploadFileList.vue2.js +10 -1
- package/es/Upload/UploadPictureCard.vue2.js +10 -1
- package/es/Upload/hooks/useContext.js +11 -1
- package/es/Upload/hooks/useUpload.d.ts +1 -1
- package/es/Upload/hooks/useUpload.js +11 -1
- package/es/Upload/index.d.ts +3 -3
- package/es/VerificationCode/index.d.ts +3 -3
- package/es/VerificationCode/index.vue.d.ts +1 -1
- package/es/VerificationCode/index.vue.js +12 -3
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/Watermark/index.vue.js +11 -1
- package/es/_shared/components/ExpandTransition/index.vue2.js +9 -0
- package/es/_shared/components/Icon/index.vue3.js +9 -0
- package/es/_shared/components/IconButton/index.vue.js +9 -0
- package/es/_shared/constants/index.js +9 -0
- package/es/_shared/icons/IconArrowDown.vue.js +9 -0
- package/es/_shared/icons/IconArrowRight.vue.js +9 -0
- package/es/_shared/icons/IconCheck.vue.js +9 -0
- package/es/_shared/icons/IconCheckboxChecked.vue.js +9 -0
- package/es/_shared/icons/IconClose.vue.js +9 -0
- package/es/_shared/icons/IconCopy.vue.js +28 -1
- package/es/_shared/icons/IconCopy.vue2.js +1 -19
- package/es/_shared/icons/IconDelete.vue.js +28 -1
- package/es/_shared/icons/IconDelete.vue2.js +1 -19
- package/es/_shared/icons/IconDragDot.vue.js +9 -0
- package/es/_shared/icons/IconEdit.vue.js +28 -1
- package/es/_shared/icons/IconEdit.vue2.js +1 -19
- package/es/_shared/icons/IconEmpty.vue.js +9 -0
- package/es/_shared/icons/IconError.vue.js +9 -0
- package/es/_shared/icons/IconExclamation.vue.js +39 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -30
- package/es/_shared/icons/IconEyeClose.vue2.js +9 -0
- package/es/_shared/icons/IconEyeOpen.vue2.js +9 -0
- package/es/_shared/icons/IconFaceSmile.vue.js +9 -0
- package/es/_shared/icons/IconFile.vue2.js +9 -0
- package/es/_shared/icons/IconFullScreen.vue2.js +9 -0
- package/es/_shared/icons/IconImageClose.vue.js +9 -0
- package/es/_shared/icons/IconInfo.vue.js +9 -0
- package/es/_shared/icons/IconInfoLine.vue.js +9 -0
- package/es/_shared/icons/IconLink.vue.js +9 -0
- package/es/_shared/icons/IconLoading.vue.js +9 -0
- package/es/_shared/icons/IconMenuFold.vue.js +9 -0
- package/es/_shared/icons/IconMenuUnfold.vue.js +9 -0
- package/es/_shared/icons/IconMinus.vue2.js +9 -0
- package/es/_shared/icons/IconMore.vue.js +9 -0
- package/es/_shared/icons/IconOriginSize.vue2.js +9 -0
- package/es/_shared/icons/IconPlus.vue.js +9 -0
- package/es/_shared/icons/IconRight.vue.js +9 -0
- package/es/_shared/icons/IconRotateLeft.vue2.js +9 -0
- package/es/_shared/icons/IconRotateRight.vue2.js +9 -0
- package/es/_shared/icons/IconSearch.vue.js +28 -1
- package/es/_shared/icons/IconSearch.vue2.js +1 -19
- package/es/_shared/icons/IconSeparator.vue2.js +9 -0
- package/es/_shared/icons/IconStar.vue.js +9 -0
- package/es/_shared/icons/IconSuccess.vue.js +9 -0
- package/es/_shared/icons/IconTime.vue.js +9 -0
- package/es/_shared/icons/IconToTop.vue.js +9 -0
- package/es/_shared/icons/IconUpload.vue2.js +9 -0
- package/es/_shared/icons/IconWarning.vue.js +9 -0
- package/es/_shared/icons/IconZoomIn.vue2.js +9 -0
- package/es/_shared/icons/IconZoomOut.vue2.js +9 -0
- package/es/_shared/utils/color.d.ts +1 -1
- package/es/_shared/utils/color.js +6 -0
- package/es/_shared/utils/dependencies.d.ts +11 -0
- package/es/_shared/utils/dom.js +8 -1
- package/es/_shared/utils/index.d.ts +12 -0
- package/es/_shared/utils/time.d.ts +1 -1
- package/es/_shared/utils/time.js +3 -1
- package/es/_shared/utils/vue-utils.d.ts +0 -1
- package/es/index.d.ts +64 -64
- package/es/lang-es/zh-cn.js +140 -142
- package/es/shared.css +1 -1
- package/es/style.css +1 -1
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Alert/index.d.ts +3 -3
- package/lib/Alert/index.vue.d.ts +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Anchor/Anchor.vue.js +1 -1
- package/lib/Anchor/AnchorLink.vue.js +1 -1
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/AutoComplete/index.d.ts +74 -74
- package/lib/AutoComplete/index.vue.d.ts +101 -101
- package/lib/AutoComplete/index.vue.js +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Badge/index.vue.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.d.ts +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Breadcrumb/index.d.ts +3 -3
- package/lib/Button/Button.vue.d.ts +2 -2
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Button/index.d.ts +9 -9
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/CalendarMonth.vue.d.ts +1 -1
- package/lib/Calendar/CalendarMonth.vue.js +1 -1
- package/lib/Calendar/CalendarYear.vue.d.ts +1 -1
- package/lib/Calendar/CalendarYear.vue.js +1 -1
- package/lib/Card/Card.vue.js +1 -1
- package/lib/Card/CardMeta.vue.js +1 -1
- package/lib/Carousel/Carousel.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue.js +1 -1
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +27 -27
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.d.ts +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.d.ts +28 -28
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Collapse/CollapseItem.vue.d.ts +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/Collapse/index.d.ts +3 -3
- package/lib/Collapse/type.d.ts +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorInput.vue.js +1 -1
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/ColorPicker/hooks/useContext.js +1 -1
- package/lib/Comment/hooks/useContext.js +1 -1
- package/lib/Comment/index.vue.js +1 -1
- package/lib/ConfigProvider/index.d.ts +3 -3
- package/lib/ConfigProvider/index.vue.d.ts +1 -1
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/ConfigProvider/type.d.ts +1 -1
- package/lib/Descriptions/Descriptions.vue.d.ts +2 -2
- package/lib/Descriptions/DescriptionsItem.vue.d.ts +1 -1
- package/lib/Descriptions/ReuseItem.vue.js +1 -1
- package/lib/Descriptions/ReuseTd.vue.js +1 -1
- package/lib/Descriptions/hooks/useContext.js +1 -1
- package/lib/Descriptions/index.d.ts +9 -9
- package/lib/Divider/index.vue.js +1 -1
- package/lib/Divider/type.d.ts +1 -1
- package/lib/Drawer/Drawer.vue.d.ts +4 -4
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +4 -4
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Drawer/index.d.ts +12 -12
- package/lib/Dropdown/Dropdown.vue.d.ts +3 -3
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.d.ts +5 -5
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.d.ts +11 -11
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.d.ts +27 -27
- package/lib/Dropdown/type.d.ts +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Grid/Grid.vue.js +1 -1
- package/lib/Grid/GridCol.vue.js +1 -1
- package/lib/Grid/GridItem.vue.js +1 -1
- package/lib/Grid/GridRow.vue.d.ts +1 -1
- package/lib/Grid/GridRow.vue.js +1 -1
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Grid/index.d.ts +3 -3
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewAction.vue.d.ts +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewGroup.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Image/index.d.ts +3 -3
- package/lib/Input/Input.vue.d.ts +4 -4
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/hooks/useLimitedInput.js +1 -1
- package/lib/Input/index.d.ts +10 -10
- package/lib/Input/type.d.ts +1 -1
- package/lib/InputNumber/InputNumber.vue.d.ts +25 -25
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputNumber/index.d.ts +23 -23
- package/lib/InputNumber/type.d.ts +1 -1
- package/lib/InputTag/index.d.ts +15 -15
- package/lib/InputTag/index.vue.d.ts +6 -6
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/InputTag/type.d.ts +1 -1
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.d.ts +3 -3
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/Layout/index.d.ts +9 -9
- package/lib/Link/index.vue.js +1 -1
- package/lib/List/List.vue.d.ts +7 -7
- package/lib/List/List.vue.js +1 -1
- package/lib/List/ListVirtual.vue.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/List/index.d.ts +6 -6
- package/lib/List/type.d.ts +1 -1
- package/lib/Mention/index.d.ts +87 -87
- package/lib/Mention/index.vue.d.ts +145 -145
- package/lib/Mention/index.vue.js +1 -1
- package/lib/Mention/type.d.ts +1 -1
- package/lib/Menu/Menu.vue.d.ts +8 -8
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/MenuItemGroup.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/hooks/useContext.d.ts +1 -1
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Menu/index.d.ts +24 -24
- package/lib/Menu/type.d.ts +1 -1
- package/lib/Message/Message.vue.d.ts +2 -2
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/index.d.ts +7 -7
- package/lib/Message/index.js +1 -1
- package/lib/Message/type.d.ts +1 -1
- package/lib/Modal/Modal.vue.d.ts +3 -3
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.d.ts +3 -3
- package/lib/Modal/ModalService.vue.js +1 -1
- package/lib/Modal/hooks/useModalClose.d.ts +1 -1
- package/lib/Modal/hooks/useModalClose.js +1 -1
- package/lib/Modal/hooks/useModalDraggable.js +1 -1
- package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
- package/lib/Modal/index.d.ts +9 -9
- package/lib/Notification/Notification.vue.d.ts +5 -5
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/index.d.ts +22 -21
- package/lib/Notification/index.js +1 -1
- package/lib/Notification/type.d.ts +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.d.ts +16 -16
- package/lib/Popconfirm/index.vue.d.ts +14 -14
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Popover/index.d.ts +6 -6
- package/lib/Popover/index.vue.d.ts +2 -2
- package/lib/Popover/index.vue.js +1 -1
- package/lib/Progress/Progress.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Progress/ProgressLine.vue.js +1 -1
- package/lib/Progress/ProgressSteps.vue.js +1 -1
- package/lib/Radio/Radio.vue.d.ts +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Radio/RadioGroup.vue.d.ts +1 -1
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Radio/index.d.ts +6 -6
- package/lib/Radio/type.d.ts +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.d.ts +2 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/lib/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/lib/Scrollbar/index.d.ts +3 -3
- package/lib/Select/Option.vue.d.ts +1 -1
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.d.ts +47 -47
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectRealList.vue.js +1 -1
- package/lib/Select/SelectView.vue.js +1 -1
- package/lib/Select/SelectVirtualList.vue.d.ts +1 -1
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/hooks/useSelectHotkeys.js +1 -1
- package/lib/Select/hooks/useSelectOptions.d.ts +1 -1
- package/lib/Select/hooks/useSelectOptions.js +1 -1
- package/lib/Select/index.d.ts +45 -45
- package/lib/Select/type.d.ts +1 -1
- package/lib/Skeleton/SkeletonLine.vue.js +1 -1
- package/lib/Skeleton/SkeletonShape.vue.js +1 -1
- package/lib/Slider/SliderBtn.vue.js +1 -1
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Slider/hooks/useSliderDraggable.js +1 -1
- package/lib/Space/index.vue.js +1 -1
- package/lib/Space/type.d.ts +2 -2
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Split/type.d.ts +1 -1
- package/lib/Statistic/Countdown.vue.d.ts +1 -1
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.d.ts +1 -1
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Statistic/index.d.ts +6 -6
- package/lib/Steps/Step.vue.d.ts +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Steps/index.d.ts +3 -3
- package/lib/Steps/type.d.ts +1 -1
- package/lib/Switch/index.d.ts +8 -8
- package/lib/Switch/index.vue.d.ts +3 -3
- package/lib/Switch/index.vue.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/TabPane.vue.d.ts +1 -1
- package/lib/Tabs/TabPane.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.d.ts +2 -2
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/TabsNavInk.vue.js +1 -1
- package/lib/Tabs/TabsTab.vue.js +1 -1
- package/lib/Tabs/hooks/useContext.js +1 -1
- package/lib/Tabs/hooks/useTabsScroll.js +1 -1
- package/lib/Tabs/index.d.ts +6 -6
- package/lib/Tabs/type.d.ts +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.d.ts +10 -10
- package/lib/Textarea/index.vue.d.ts +4 -4
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.d.ts +6 -6
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/TimePicker/index.d.ts +16 -16
- package/lib/TimePicker/type.d.ts +1 -1
- package/lib/Timeline/TimelineItem.vue.d.ts +1 -1
- package/lib/Timeline/TimelineItemPending.vue.js +1 -1
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Timeline/index.d.ts +3 -3
- package/lib/Timeline/type.d.ts +1 -1
- package/lib/Tooltip/index.d.ts +3 -3
- package/lib/Tooltip/index.vue.d.ts +1 -1
- package/lib/Tooltip/index.vue.js +1 -1
- package/lib/Transfer/Transfer.vue.d.ts +3 -3
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Transfer/index.d.ts +8 -8
- package/lib/Transfer/type.d.ts +1 -1
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Trigger/index.d.ts +6 -6
- package/lib/Trigger/index.vue.d.ts +2 -2
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +22 -22
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Typography/type.d.ts +1 -1
- package/lib/Upload/Upload.vue.d.ts +1 -1
- package/lib/Upload/UploadButton.vue.js +1 -1
- package/lib/Upload/UploadDrag.vue.js +1 -1
- package/lib/Upload/UploadFileList.vue2.js +1 -1
- package/lib/Upload/UploadPictureCard.vue2.js +1 -1
- package/lib/Upload/hooks/useContext.js +1 -1
- package/lib/Upload/hooks/useUpload.d.ts +1 -1
- package/lib/Upload/hooks/useUpload.js +1 -1
- package/lib/Upload/index.d.ts +3 -3
- package/lib/VerificationCode/index.d.ts +3 -3
- package/lib/VerificationCode/index.vue.d.ts +1 -1
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/Watermark/index.d.ts +3 -3
- package/lib/Watermark/index.vue.d.ts +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_shared/components/ExpandTransition/index.vue2.js +1 -1
- package/lib/_shared/components/Icon/index.vue3.js +1 -1
- package/lib/_shared/components/IconButton/index.vue.js +1 -1
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
- package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
- package/lib/_shared/icons/IconCheck.vue.js +1 -1
- package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/lib/_shared/icons/IconClose.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconDragDot.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEmpty.vue.js +1 -1
- package/lib/_shared/icons/IconError.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/lib/_shared/icons/IconFile.vue2.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconImageClose.vue.js +1 -1
- package/lib/_shared/icons/IconInfo.vue.js +1 -1
- package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
- package/lib/_shared/icons/IconLink.vue.js +1 -1
- package/lib/_shared/icons/IconLoading.vue.js +1 -1
- package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
- package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/icons/IconStar.vue.js +1 -1
- package/lib/_shared/icons/IconSuccess.vue.js +1 -1
- package/lib/_shared/icons/IconTime.vue.js +1 -1
- package/lib/_shared/icons/IconToTop.vue.js +1 -1
- package/lib/_shared/icons/IconUpload.vue2.js +1 -1
- package/lib/_shared/icons/IconWarning.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/utils/color.d.ts +1 -1
- package/lib/_shared/utils/color.js +1 -1
- package/lib/_shared/utils/dependencies.d.ts +11 -0
- package/lib/_shared/utils/dom.js +1 -1
- package/lib/_shared/utils/index.d.ts +12 -0
- package/lib/_shared/utils/time.d.ts +1 -1
- package/lib/_shared/utils/time.js +1 -1
- package/lib/_shared/utils/vue-utils.d.ts +0 -1
- package/lib/index.d.ts +64 -64
- package/lib/lang-es/zh-cn.js +140 -142
- package/lib/shared.css +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- /package/es/_shared/utils/{control.d.ts → hooks.d.ts} +0 -0
- /package/es/_shared/utils/{control.js → hooks.js} +0 -0
- /package/lib/_shared/utils/{control.d.ts → hooks.d.ts} +0 -0
- /package/lib/_shared/utils/{control.js → hooks.js} +0 -0
@@ -1,5 +1,15 @@
|
|
1
1
|
import { toRefs, useSlots, computed, provide, ref, inject } from "vue";
|
2
|
-
import
|
2
|
+
import "../../_shared/utils/dom.js";
|
3
|
+
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
|
+
import "../../node_modules/dayjs/dayjs.min.js";
|
5
|
+
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
+
import "../../node_modules/dayjs/plugin/duration.js";
|
7
|
+
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
|
+
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
+
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import { useControlValue } from "../../_shared/utils/hooks.js";
|
11
|
+
import "../../_shared/utils/locale.js";
|
12
|
+
import "../../_shared/utils/time.js";
|
3
13
|
import { findComponentsFromVnodes } from "../../_shared/utils/vue-utils.js";
|
4
14
|
import _sfc_main from "../Image.vue.js";
|
5
15
|
/* empty css */
|
package/es/Image/index.d.ts
CHANGED
@@ -243,8 +243,8 @@ declare const Image: {
|
|
243
243
|
contextmenu: (ev: MouseEvent) => any;
|
244
244
|
dblclick: (ev: MouseEvent) => any;
|
245
245
|
}, import('vue').PublicProps, {
|
246
|
-
name: string;
|
247
246
|
disabled: boolean;
|
247
|
+
name: string;
|
248
248
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
249
249
|
P: {};
|
250
250
|
B: {};
|
@@ -257,8 +257,8 @@ declare const Image: {
|
|
257
257
|
onContextmenu?: ((ev: MouseEvent) => any) | undefined;
|
258
258
|
onDblclick?: ((ev: MouseEvent) => any) | undefined;
|
259
259
|
}>, {}, {}, {}, {}, {
|
260
|
-
name: string;
|
261
260
|
disabled: boolean;
|
261
|
+
name: string;
|
262
262
|
}>;
|
263
263
|
__isFragment?: never;
|
264
264
|
__isTeleport?: never;
|
@@ -272,8 +272,8 @@ declare const Image: {
|
|
272
272
|
contextmenu: (ev: MouseEvent) => any;
|
273
273
|
dblclick: (ev: MouseEvent) => any;
|
274
274
|
}, string, {
|
275
|
-
name: string;
|
276
275
|
disabled: boolean;
|
276
|
+
name: string;
|
277
277
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
278
278
|
$slots: Readonly<import('./type').ImagePreviewActionSlots> & import('./type').ImagePreviewActionSlots;
|
279
279
|
});
|
package/es/Input/Input.vue.d.ts
CHANGED
@@ -14,10 +14,10 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
|
|
14
14
|
getInputRef(): HTMLInputElement;
|
15
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
16
16
|
change: (value: string, ev: Event) => any;
|
17
|
+
focus: (ev: FocusEvent) => any;
|
17
18
|
clear: (ev: MouseEvent) => any;
|
18
|
-
input: (value: string, ev: Event) => any;
|
19
19
|
blur: (ev: FocusEvent) => any;
|
20
|
-
|
20
|
+
input: (value: string, ev: Event) => any;
|
21
21
|
keydown: (ev: KeyboardEvent) => any;
|
22
22
|
"update:modelValue": (value: string) => any;
|
23
23
|
"update:visibility": (value: boolean) => any;
|
@@ -25,10 +25,10 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
|
|
25
25
|
pressEnter: (ev: KeyboardEvent) => any;
|
26
26
|
}, string, import('vue').PublicProps, Readonly<InputProps> & Readonly<{
|
27
27
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
28
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
28
29
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
29
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
30
30
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
31
|
-
|
31
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
32
32
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
33
33
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
34
34
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
package/es/Input/Input.vue.js
CHANGED
@@ -1,11 +1,20 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, ref, computed, createElementBlock, openBlock, normalizeClass, unref, createBlock, createCommentVNode, createElementVNode, withCtx, renderSlot, withDirectives, mergeProps, withKeys, vShow, createSlots } from "vue";
|
2
|
-
import
|
2
|
+
import "../_shared/utils/dom.js";
|
3
|
+
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
|
+
import "../node_modules/dayjs/dayjs.min.js";
|
5
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
+
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
+
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
+
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
+
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
3
10
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
11
|
+
import { useControlValue } from "../_shared/utils/hooks.js";
|
12
|
+
import "../_shared/utils/locale.js";
|
13
|
+
import "../_shared/utils/time.js";
|
4
14
|
import useLimitedInput from "./hooks/useLimitedInput.js";
|
5
15
|
import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
|
6
16
|
/* empty css */
|
7
17
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
8
|
-
import "../_shared/utils/dom.js";
|
9
18
|
/* empty css */
|
10
19
|
/* empty css */
|
11
20
|
import _sfc_main$3 from "./InputSuffix.vue.js";
|
@@ -3,6 +3,15 @@ import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
|
|
3
3
|
/* empty css */
|
4
4
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
5
5
|
import "../_shared/utils/dom.js";
|
6
|
+
import "../node_modules/b-tween/dist/b-tween.es.js";
|
7
|
+
import "../node_modules/dayjs/dayjs.min.js";
|
8
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
9
|
+
import "../node_modules/dayjs/plugin/duration.js";
|
10
|
+
import "../node_modules/dayjs/plugin/toObject.js";
|
11
|
+
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
12
|
+
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
13
|
+
import "../_shared/utils/locale.js";
|
14
|
+
import "../_shared/utils/time.js";
|
6
15
|
/* empty css */
|
7
16
|
/* empty css */
|
8
17
|
import _sfc_main$4 from "../_shared/icons/IconEyeClose.vue2.js";
|
@@ -1,6 +1,16 @@
|
|
1
1
|
import { toRefs, computed, ref, nextTick } from "vue";
|
2
|
+
import "../../_shared/utils/dom.js";
|
3
|
+
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
|
+
import "../../node_modules/dayjs/dayjs.min.js";
|
5
|
+
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
+
import "../../node_modules/dayjs/plugin/duration.js";
|
7
|
+
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
|
+
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
+
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
2
10
|
import { isNumber, isFunction, isUndefined } from "../../_shared/utils/is.js";
|
3
|
-
import { useControlValue } from "../../_shared/utils/
|
11
|
+
import { useControlValue } from "../../_shared/utils/hooks.js";
|
12
|
+
import "../../_shared/utils/locale.js";
|
13
|
+
import "../../_shared/utils/time.js";
|
4
14
|
import useCursor from "./useCursor.js";
|
5
15
|
const useLimitedInput = (params) => {
|
6
16
|
const { props, emits, inputRef } = params;
|
package/es/Input/index.d.ts
CHANGED
@@ -5,10 +5,10 @@ export * from './type';
|
|
5
5
|
declare const Input: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').InputProps> & Readonly<{
|
7
7
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
8
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
8
9
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
9
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
10
10
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
11
|
-
|
11
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
12
12
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
13
13
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
14
14
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -20,10 +20,10 @@ declare const Input: {
|
|
20
20
|
getInputRef(): HTMLInputElement;
|
21
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
22
22
|
change: (value: string, ev: Event) => any;
|
23
|
+
focus: (ev: FocusEvent) => any;
|
23
24
|
clear: (ev: MouseEvent) => any;
|
24
|
-
input: (value: string, ev: Event) => any;
|
25
25
|
blur: (ev: FocusEvent) => any;
|
26
|
-
|
26
|
+
input: (value: string, ev: Event) => any;
|
27
27
|
keydown: (ev: KeyboardEvent) => any;
|
28
28
|
"update:modelValue": (value: string) => any;
|
29
29
|
"update:visibility": (value: boolean) => any;
|
@@ -59,10 +59,10 @@ declare const Input: {
|
|
59
59
|
Defaults: {};
|
60
60
|
}, Readonly<import('./type').InputProps> & Readonly<{
|
61
61
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
62
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
62
63
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
63
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
64
64
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
65
|
-
|
65
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
66
66
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
67
67
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
68
68
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -97,10 +97,10 @@ declare const Input: {
|
|
97
97
|
__isSuspense?: never;
|
98
98
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').InputProps> & Readonly<{
|
99
99
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
100
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
100
101
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
101
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
102
102
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
103
|
-
|
103
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
104
104
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
105
105
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
106
106
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -112,10 +112,10 @@ declare const Input: {
|
|
112
112
|
getInputRef(): HTMLInputElement;
|
113
113
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
114
114
|
change: (value: string, ev: Event) => any;
|
115
|
+
focus: (ev: FocusEvent) => any;
|
115
116
|
clear: (ev: MouseEvent) => any;
|
116
|
-
input: (value: string, ev: Event) => any;
|
117
117
|
blur: (ev: FocusEvent) => any;
|
118
|
-
|
118
|
+
input: (value: string, ev: Event) => any;
|
119
119
|
keydown: (ev: KeyboardEvent) => any;
|
120
120
|
"update:modelValue": (value: string) => any;
|
121
121
|
"update:visibility": (value: boolean) => any;
|
package/es/Input/type.d.ts
CHANGED
@@ -26,10 +26,10 @@ declare function __VLS_template(): {
|
|
26
26
|
readonly invisibleButton?: boolean | undefined;
|
27
27
|
readonly showInput?: boolean | undefined;
|
28
28
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
29
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
29
30
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
30
|
-
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
31
31
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
32
|
-
readonly
|
32
|
+
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
33
33
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
34
34
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
35
35
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -50,14 +50,14 @@ declare function __VLS_template(): {
|
|
50
50
|
$root: import('vue').ComponentPublicInstance | null;
|
51
51
|
$parent: import('vue').ComponentPublicInstance | null;
|
52
52
|
$host: Element | null;
|
53
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
53
|
+
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
|
54
54
|
$el: HTMLDivElement;
|
55
55
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
|
56
56
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
57
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
57
58
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
58
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
59
59
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
60
|
-
|
60
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
61
61
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
62
62
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
63
63
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -69,10 +69,10 @@ declare function __VLS_template(): {
|
|
69
69
|
getInputRef(): HTMLInputElement;
|
70
70
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
71
71
|
change: (value: string, ev: Event) => any;
|
72
|
+
focus: (ev: FocusEvent) => any;
|
72
73
|
clear: (ev: MouseEvent) => any;
|
73
|
-
input: (value: string, ev: Event) => any;
|
74
74
|
blur: (ev: FocusEvent) => any;
|
75
|
-
|
75
|
+
input: (value: string, ev: Event) => any;
|
76
76
|
keydown: (ev: KeyboardEvent) => any;
|
77
77
|
"update:modelValue": (value: string) => any;
|
78
78
|
"update:visibility": (value: boolean) => any;
|
@@ -138,16 +138,16 @@ declare function __VLS_template(): {
|
|
138
138
|
showInput: boolean;
|
139
139
|
}> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
|
140
140
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
141
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
141
142
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
142
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
143
143
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
144
|
-
|
144
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
145
145
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
146
146
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
147
147
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
148
148
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
149
149
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
150
|
-
}>, "
|
150
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
151
151
|
focus(): void;
|
152
152
|
blur(): void;
|
153
153
|
getInputRef(): HTMLInputElement;
|
@@ -163,28 +163,28 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
163
163
|
blur(): void;
|
164
164
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
165
165
|
change: (value: InputNumberValue, ev: Event) => any;
|
166
|
+
focus: (ev: FocusEvent) => any;
|
166
167
|
clear: (ev: MouseEvent) => any;
|
167
|
-
input: (value: InputNumberValue, ev: Event) => any;
|
168
168
|
blur: (ev: FocusEvent) => any;
|
169
|
-
|
169
|
+
input: (value: InputNumberValue, ev: Event) => any;
|
170
170
|
keydown: (ev: KeyboardEvent) => any;
|
171
171
|
"update:modelValue": (value: InputNumberValue) => any;
|
172
172
|
pressEnter: (ev: KeyboardEvent) => any;
|
173
173
|
}, string, import('vue').PublicProps, Readonly<InputNumberProps> & Readonly<{
|
174
174
|
onChange?: ((value: InputNumberValue, ev: Event) => any) | undefined;
|
175
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
175
176
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
176
|
-
onInput?: ((value: InputNumberValue, ev: Event) => any) | undefined;
|
177
177
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
178
|
-
|
178
|
+
onInput?: ((value: InputNumberValue, ev: Event) => any) | undefined;
|
179
179
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
180
180
|
"onUpdate:modelValue"?: ((value: InputNumberValue) => any) | undefined;
|
181
181
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
182
182
|
}>, {
|
183
183
|
error: boolean;
|
184
184
|
size: import('..').Size;
|
185
|
-
mode: import('./type').ButtonMode;
|
186
185
|
disabled: boolean;
|
187
186
|
placeholder: string;
|
187
|
+
mode: import('./type').ButtonMode;
|
188
188
|
modelValue: InputNumberValue;
|
189
189
|
defaultValue: InputNumberValue;
|
190
190
|
allowClear: boolean;
|
@@ -219,10 +219,10 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
219
219
|
readonly invisibleButton?: boolean | undefined;
|
220
220
|
readonly showInput?: boolean | undefined;
|
221
221
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
222
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
222
223
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
223
|
-
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
224
224
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
225
|
-
readonly
|
225
|
+
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
226
226
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
227
227
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
228
228
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -243,14 +243,14 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
243
243
|
$root: import('vue').ComponentPublicInstance | null;
|
244
244
|
$parent: import('vue').ComponentPublicInstance | null;
|
245
245
|
$host: Element | null;
|
246
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
246
|
+
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
|
247
247
|
$el: HTMLDivElement;
|
248
248
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
|
249
249
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
250
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
250
251
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
251
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
252
252
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
253
|
-
|
253
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
254
254
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
255
255
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
256
256
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -262,10 +262,10 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
262
262
|
getInputRef(): HTMLInputElement;
|
263
263
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
264
264
|
change: (value: string, ev: Event) => any;
|
265
|
+
focus: (ev: FocusEvent) => any;
|
265
266
|
clear: (ev: MouseEvent) => any;
|
266
|
-
input: (value: string, ev: Event) => any;
|
267
267
|
blur: (ev: FocusEvent) => any;
|
268
|
-
|
268
|
+
input: (value: string, ev: Event) => any;
|
269
269
|
keydown: (ev: KeyboardEvent) => any;
|
270
270
|
"update:modelValue": (value: string) => any;
|
271
271
|
"update:visibility": (value: boolean) => any;
|
@@ -331,16 +331,16 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
331
331
|
showInput: boolean;
|
332
332
|
}> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
|
333
333
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
334
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
334
335
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
335
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
336
336
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
337
|
-
|
337
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
338
338
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
339
339
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
340
340
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
341
341
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
342
342
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
343
|
-
}>, "
|
343
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
344
344
|
focus(): void;
|
345
345
|
blur(): void;
|
346
346
|
getInputRef(): HTMLInputElement;
|
@@ -1,7 +1,16 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, ref, computed, createBlock, openBlock, unref, createSlots, withCtx, renderSlot, createElementVNode, createVNode } from "vue";
|
2
|
-
import { isString, isFunction, isNumber } from "../_shared/utils/is.js";
|
3
|
-
import { useControlValue } from "../_shared/utils/control.js";
|
4
2
|
import { sleep } from "../_shared/utils/dom.js";
|
3
|
+
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
|
+
import "../node_modules/dayjs/dayjs.min.js";
|
5
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
+
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
+
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
+
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
+
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import { isString, isFunction, isNumber } from "../_shared/utils/is.js";
|
11
|
+
import { useControlValue } from "../_shared/utils/hooks.js";
|
12
|
+
import "../_shared/utils/locale.js";
|
13
|
+
import "../_shared/utils/time.js";
|
5
14
|
import _sfc_main$1 from "./InputOperaBtn.vue.js";
|
6
15
|
/* empty css */
|
7
16
|
import Input from "../Input/index.js";
|
@@ -1,6 +1,15 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createBlock, openBlock, unref, normalizeClass, withCtx, renderSlot, createElementBlock, Fragment } from "vue";
|
2
2
|
import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
|
+
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
|
+
import "../node_modules/dayjs/dayjs.min.js";
|
6
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
7
|
+
import "../node_modules/dayjs/plugin/duration.js";
|
8
|
+
import "../node_modules/dayjs/plugin/toObject.js";
|
9
|
+
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
|
+
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
11
|
+
import "../_shared/utils/locale.js";
|
12
|
+
import "../_shared/utils/time.js";
|
4
13
|
/* empty css */
|
5
14
|
/* empty css */
|
6
15
|
/* empty css */
|
@@ -5,10 +5,10 @@ export * from './type';
|
|
5
5
|
declare const InputNumber: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').InputNumberProps> & Readonly<{
|
7
7
|
onChange?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
8
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
8
9
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
9
|
-
onInput?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
10
10
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
11
|
-
|
11
|
+
onInput?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
12
12
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
13
13
|
"onUpdate:modelValue"?: ((value: import('./type').InputNumberValue) => any) | undefined;
|
14
14
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
@@ -17,19 +17,19 @@ declare const InputNumber: {
|
|
17
17
|
blur(): void;
|
18
18
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
19
19
|
change: (value: import('./type').InputNumberValue, ev: Event) => any;
|
20
|
+
focus: (ev: FocusEvent) => any;
|
20
21
|
clear: (ev: MouseEvent) => any;
|
21
|
-
input: (value: import('./type').InputNumberValue, ev: Event) => any;
|
22
22
|
blur: (ev: FocusEvent) => any;
|
23
|
-
|
23
|
+
input: (value: import('./type').InputNumberValue, ev: Event) => any;
|
24
24
|
keydown: (ev: KeyboardEvent) => any;
|
25
25
|
"update:modelValue": (value: import('./type').InputNumberValue) => any;
|
26
26
|
pressEnter: (ev: KeyboardEvent) => any;
|
27
27
|
}, import('vue').PublicProps, {
|
28
28
|
error: boolean;
|
29
29
|
size: import('..').Size;
|
30
|
-
mode: import('./type').ButtonMode;
|
31
30
|
disabled: boolean;
|
32
31
|
placeholder: string;
|
32
|
+
mode: import('./type').ButtonMode;
|
33
33
|
modelValue: import('./type').InputNumberValue;
|
34
34
|
defaultValue: import('./type').InputNumberValue;
|
35
35
|
allowClear: boolean;
|
@@ -64,10 +64,10 @@ declare const InputNumber: {
|
|
64
64
|
readonly invisibleButton?: boolean | undefined;
|
65
65
|
readonly showInput?: boolean | undefined;
|
66
66
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
67
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
67
68
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
68
|
-
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
69
69
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
70
|
-
readonly
|
70
|
+
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
71
71
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
72
72
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
73
73
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -88,14 +88,14 @@ declare const InputNumber: {
|
|
88
88
|
$root: import('vue').ComponentPublicInstance | null;
|
89
89
|
$parent: import('vue').ComponentPublicInstance | null;
|
90
90
|
$host: Element | null;
|
91
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
91
|
+
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
|
92
92
|
$el: HTMLDivElement;
|
93
93
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputProps> & Readonly<{
|
94
94
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
95
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
95
96
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
96
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
97
97
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
98
|
-
|
98
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
99
99
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
100
100
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
101
101
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -107,10 +107,10 @@ declare const InputNumber: {
|
|
107
107
|
getInputRef(): HTMLInputElement;
|
108
108
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
109
109
|
change: (value: string, ev: Event) => any;
|
110
|
+
focus: (ev: FocusEvent) => any;
|
110
111
|
clear: (ev: MouseEvent) => any;
|
111
|
-
input: (value: string, ev: Event) => any;
|
112
112
|
blur: (ev: FocusEvent) => any;
|
113
|
-
|
113
|
+
input: (value: string, ev: Event) => any;
|
114
114
|
keydown: (ev: KeyboardEvent) => any;
|
115
115
|
"update:modelValue": (value: string) => any;
|
116
116
|
"update:visibility": (value: boolean) => any;
|
@@ -176,16 +176,16 @@ declare const InputNumber: {
|
|
176
176
|
showInput: boolean;
|
177
177
|
}> & Omit<Readonly<import('..').InputProps> & Readonly<{
|
178
178
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
179
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
179
180
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
180
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
181
181
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
182
|
-
|
182
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
183
183
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
184
184
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
185
185
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
186
186
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
187
187
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
188
|
-
}>, "
|
188
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
189
189
|
focus(): void;
|
190
190
|
blur(): void;
|
191
191
|
getInputRef(): HTMLInputElement;
|
@@ -201,10 +201,10 @@ declare const InputNumber: {
|
|
201
201
|
Defaults: {};
|
202
202
|
}, Readonly<import('./type').InputNumberProps> & Readonly<{
|
203
203
|
onChange?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
204
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
204
205
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
205
|
-
onInput?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
206
206
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
207
|
-
|
207
|
+
onInput?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
208
208
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
209
209
|
"onUpdate:modelValue"?: ((value: import('./type').InputNumberValue) => any) | undefined;
|
210
210
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
@@ -214,9 +214,9 @@ declare const InputNumber: {
|
|
214
214
|
}, {}, {}, {}, {
|
215
215
|
error: boolean;
|
216
216
|
size: import('..').Size;
|
217
|
-
mode: import('./type').ButtonMode;
|
218
217
|
disabled: boolean;
|
219
218
|
placeholder: string;
|
219
|
+
mode: import('./type').ButtonMode;
|
220
220
|
modelValue: import('./type').InputNumberValue;
|
221
221
|
defaultValue: import('./type').InputNumberValue;
|
222
222
|
allowClear: boolean;
|
@@ -233,10 +233,10 @@ declare const InputNumber: {
|
|
233
233
|
__isSuspense?: never;
|
234
234
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').InputNumberProps> & Readonly<{
|
235
235
|
onChange?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
236
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
236
237
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
237
|
-
onInput?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
238
238
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
239
|
-
|
239
|
+
onInput?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
240
240
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
241
241
|
"onUpdate:modelValue"?: ((value: import('./type').InputNumberValue) => any) | undefined;
|
242
242
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
@@ -245,19 +245,19 @@ declare const InputNumber: {
|
|
245
245
|
blur(): void;
|
246
246
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
247
247
|
change: (value: import('./type').InputNumberValue, ev: Event) => any;
|
248
|
+
focus: (ev: FocusEvent) => any;
|
248
249
|
clear: (ev: MouseEvent) => any;
|
249
|
-
input: (value: import('./type').InputNumberValue, ev: Event) => any;
|
250
250
|
blur: (ev: FocusEvent) => any;
|
251
|
-
|
251
|
+
input: (value: import('./type').InputNumberValue, ev: Event) => any;
|
252
252
|
keydown: (ev: KeyboardEvent) => any;
|
253
253
|
"update:modelValue": (value: import('./type').InputNumberValue) => any;
|
254
254
|
pressEnter: (ev: KeyboardEvent) => any;
|
255
255
|
}, string, {
|
256
256
|
error: boolean;
|
257
257
|
size: import('..').Size;
|
258
|
-
mode: import('./type').ButtonMode;
|
259
258
|
disabled: boolean;
|
260
259
|
placeholder: string;
|
260
|
+
mode: import('./type').ButtonMode;
|
261
261
|
modelValue: import('./type').InputNumberValue;
|
262
262
|
defaultValue: import('./type').InputNumberValue;
|
263
263
|
allowClear: boolean;
|
package/es/InputNumber/type.d.ts
CHANGED