yc-design-vue 2.1.2 → 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/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 +11 -2
- 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 +11 -2
- package/es/Avatar/AvatarGroup.vue.js +13 -3
- package/es/BackTop/index.vue.js +12 -4
- 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 +10 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +10 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +11 -2
- 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 +11 -4
- 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 +10 -1
- 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 +11 -2
- package/es/Cascader/CascaderOption.vue.d.ts +1 -1
- package/es/Cascader/CascaderOption.vue.js +11 -2
- package/es/Cascader/hooks/useContext.js +11 -1
- package/es/Cascader/index.d.ts +28 -28
- package/es/Checkbox/Checkbox.vue.js +13 -4
- package/es/Checkbox/hooks/useContext.js +11 -1
- package/es/Collapse/CollapseItem.vue.d.ts +1 -1
- package/es/Collapse/CollapseItem.vue.js +11 -2
- 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 +11 -3
- 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 +10 -1
- package/es/Dropdown/Dsubmenu.vue.d.ts +11 -11
- package/es/Dropdown/Dsubmenu.vue.js +15 -7
- 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 +10 -2
- 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 +10 -2
- package/es/Image/ImagePreview.vue.js +13 -4
- package/es/Image/ImagePreviewAction.vue.d.ts +1 -1
- package/es/Image/ImagePreviewArrow.vue.js +10 -1
- package/es/Image/ImagePreviewGroup.vue.js +10 -0
- package/es/Image/ImagePreviewToolbar.vue.js +10 -2
- 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 +13 -4
- package/es/Input/InputSuffix.vue.js +12 -3
- 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 +10 -1
- 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 +15 -6
- 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 +10 -1
- package/es/Layout/hooks/useSiderContext.js +11 -1
- package/es/Layout/index.d.ts +9 -9
- package/es/Link/index.vue.js +10 -1
- 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 +10 -1
- package/es/Menu/MenuEllipsis.vue.js +10 -1
- package/es/Menu/MenuItem.vue.js +10 -1
- package/es/Menu/MenuItemGroup.vue.js +9 -0
- package/es/Menu/SubMenu.vue.js +11 -3
- 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 +12 -3
- 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 +11 -3
- 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 +12 -3
- 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 +11 -2
- package/es/Pagination/Pagination.vue.js +9 -1
- package/es/Pagination/PaginationItem.vue.js +10 -1
- 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 +12 -3
- 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 +12 -3
- 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 +12 -3
- package/es/ResizeBox/index.vue.d.ts +2 -1
- package/es/ResizeBox/index.vue.js +12 -3
- 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 +11 -2
- 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 +10 -1
- package/es/Split/index.vue.js +13 -4
- 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 +10 -1
- 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 +11 -2
- 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 +10 -1
- 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 +13 -4
- 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 +11 -2
- package/es/TimePicker/TimePicker.vue.d.ts +6 -6
- package/es/TimePicker/TimePicker.vue.js +12 -4
- 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 +10 -1
- package/es/Transfer/TransferPanel.vue.js +12 -3
- 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 +12 -3
- package/es/Typography/TypographyBase.vue.d.ts +22 -22
- package/es/Typography/TypographyBase.vue.js +13 -5
- package/es/Typography/type.d.ts +1 -1
- package/es/Upload/Upload.vue.d.ts +1 -1
- package/es/Upload/UploadButton.vue.js +11 -3
- package/es/Upload/UploadDrag.vue.js +10 -2
- package/es/Upload/UploadFileList.vue2.js +12 -3
- package/es/Upload/UploadPictureCard.vue2.js +11 -2
- 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.vue2.js → index.vue.js} +10 -1
- package/es/_shared/components/IconButton/index.vue3.js +2 -2
- package/es/_shared/constants/index.js +10 -1
- package/es/_shared/icons/IconArrowDown.vue.js +10 -1
- package/es/_shared/icons/IconArrowRight.vue.js +10 -1
- package/es/_shared/icons/IconCheck.vue.js +10 -1
- package/es/_shared/icons/IconCheckboxChecked.vue.js +10 -1
- package/es/_shared/icons/IconClose.vue.js +10 -1
- 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 +10 -1
- package/es/_shared/icons/IconDragDot.vue.js +10 -1
- 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 +10 -1
- package/es/_shared/icons/IconError.vue.js +10 -1
- package/es/_shared/icons/IconExclamation.vue.js +39 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -30
- package/es/_shared/icons/IconEyeClose.vue.js +1 -23
- package/es/_shared/icons/IconEyeClose.vue2.js +32 -1
- package/es/_shared/icons/IconEyeOpen.vue2.js +10 -1
- package/es/_shared/icons/IconFaceSmile.vue.js +10 -1
- package/es/_shared/icons/IconFile.vue.js +1 -19
- package/es/_shared/icons/IconFile.vue2.js +28 -1
- package/es/_shared/icons/IconFullScreen.vue2.js +10 -1
- package/es/_shared/icons/IconImageClose.vue.js +10 -1
- package/es/_shared/icons/IconInfo.vue.js +10 -1
- package/es/_shared/icons/IconInfoLine.vue.js +10 -1
- package/es/_shared/icons/IconLink.vue.js +10 -1
- package/es/_shared/icons/IconLoading.vue.js +10 -1
- package/es/_shared/icons/IconMenuFold.vue.js +10 -1
- package/es/_shared/icons/IconMenuUnfold.vue.js +10 -1
- package/es/_shared/icons/IconMinus.vue2.js +10 -1
- package/es/_shared/icons/IconMore.vue.js +10 -1
- package/es/_shared/icons/IconOriginSize.vue2.js +10 -1
- package/es/_shared/icons/IconPlus.vue.js +10 -1
- package/es/_shared/icons/IconRight.vue.js +10 -1
- package/es/_shared/icons/IconRotateLeft.vue2.js +10 -1
- package/es/_shared/icons/IconRotateRight.vue2.js +10 -1
- 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 +10 -1
- package/es/_shared/icons/IconStar.vue.js +10 -1
- package/es/_shared/icons/IconSuccess.vue.js +10 -1
- package/es/_shared/icons/IconTime.vue.js +10 -1
- package/es/_shared/icons/IconToTop.vue.js +10 -1
- package/es/_shared/icons/IconUpload.vue.js +1 -19
- package/es/_shared/icons/IconUpload.vue2.js +28 -1
- package/es/_shared/icons/IconWarning.vue.js +10 -1
- package/es/_shared/icons/IconZoomIn.vue2.js +10 -1
- package/es/_shared/icons/IconZoomOut.vue2.js +10 -1
- 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/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 -0
- package/lib/_shared/components/IconButton/index.vue3.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/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.vue.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.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.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/style.css +1 -1
- package/package.json +1 -1
- package/lib/_shared/components/IconButton/index.vue2.js +0 -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
@@ -27,10 +27,10 @@ declare function __VLS_template(): {
|
|
27
27
|
readonly invisibleButton?: boolean | undefined;
|
28
28
|
readonly showInput?: boolean | undefined;
|
29
29
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
30
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
30
31
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
31
|
-
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
32
32
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
33
|
-
readonly
|
33
|
+
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
34
34
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
35
35
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
36
36
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -51,14 +51,14 @@ declare function __VLS_template(): {
|
|
51
51
|
$root: import('vue').ComponentPublicInstance | null;
|
52
52
|
$parent: import('vue').ComponentPublicInstance | null;
|
53
53
|
$host: Element | null;
|
54
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
54
|
+
$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);
|
55
55
|
$el: HTMLDivElement;
|
56
56
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
|
57
57
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
58
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
58
59
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
59
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
60
60
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
61
|
-
|
61
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
62
62
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
63
63
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
64
64
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -70,10 +70,10 @@ declare function __VLS_template(): {
|
|
70
70
|
getInputRef(): HTMLInputElement;
|
71
71
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
72
72
|
change: (value: string, ev: Event) => any;
|
73
|
+
focus: (ev: FocusEvent) => any;
|
73
74
|
clear: (ev: MouseEvent) => any;
|
74
|
-
input: (value: string, ev: Event) => any;
|
75
75
|
blur: (ev: FocusEvent) => any;
|
76
|
-
|
76
|
+
input: (value: string, ev: Event) => any;
|
77
77
|
keydown: (ev: KeyboardEvent) => any;
|
78
78
|
"update:modelValue": (value: string) => any;
|
79
79
|
"update:visibility": (value: boolean) => any;
|
@@ -139,16 +139,16 @@ declare function __VLS_template(): {
|
|
139
139
|
showInput: boolean;
|
140
140
|
}> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
|
141
141
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
142
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
142
143
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
143
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
144
144
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
145
|
-
|
145
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
146
146
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
147
147
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
148
148
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
149
149
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
150
150
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
151
|
-
}>, "
|
151
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
152
152
|
focus(): void;
|
153
153
|
blur(): void;
|
154
154
|
getInputRef(): HTMLInputElement;
|
@@ -175,11 +175,11 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
175
175
|
"onEdit-end"?: (() => any) | undefined;
|
176
176
|
}>, {
|
177
177
|
delete: boolean;
|
178
|
+
bold: boolean;
|
179
|
+
underline: boolean;
|
178
180
|
type: "success" | "warning" | "danger" | "primary" | "secondary";
|
179
181
|
code: boolean;
|
180
182
|
mark: boolean;
|
181
|
-
bold: boolean;
|
182
|
-
underline: boolean;
|
183
183
|
tag: string;
|
184
184
|
editable: boolean;
|
185
185
|
editing: boolean;
|
@@ -215,10 +215,10 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
215
215
|
readonly invisibleButton?: boolean | undefined;
|
216
216
|
readonly showInput?: boolean | undefined;
|
217
217
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
218
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
218
219
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
219
|
-
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
220
220
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
221
|
-
readonly
|
221
|
+
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
222
222
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
223
223
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
224
224
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -239,14 +239,14 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
239
239
|
$root: import('vue').ComponentPublicInstance | null;
|
240
240
|
$parent: import('vue').ComponentPublicInstance | null;
|
241
241
|
$host: Element | null;
|
242
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
242
|
+
$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);
|
243
243
|
$el: HTMLDivElement;
|
244
244
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
|
245
245
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
246
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
246
247
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
247
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
248
248
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
249
|
-
|
249
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
250
250
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
251
251
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
252
252
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -258,10 +258,10 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
258
258
|
getInputRef(): HTMLInputElement;
|
259
259
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
260
260
|
change: (value: string, ev: Event) => any;
|
261
|
+
focus: (ev: FocusEvent) => any;
|
261
262
|
clear: (ev: MouseEvent) => any;
|
262
|
-
input: (value: string, ev: Event) => any;
|
263
263
|
blur: (ev: FocusEvent) => any;
|
264
|
-
|
264
|
+
input: (value: string, ev: Event) => any;
|
265
265
|
keydown: (ev: KeyboardEvent) => any;
|
266
266
|
"update:modelValue": (value: string) => any;
|
267
267
|
"update:visibility": (value: boolean) => any;
|
@@ -327,16 +327,16 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
327
327
|
showInput: boolean;
|
328
328
|
}> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
|
329
329
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
330
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
330
331
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
331
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
332
332
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
333
|
-
|
333
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
334
334
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
335
335
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
336
336
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
337
337
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
338
338
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
339
|
-
}>, "
|
339
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
340
340
|
focus(): void;
|
341
341
|
blur(): void;
|
342
342
|
getInputRef(): HTMLInputElement;
|
@@ -1,13 +1,21 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createBlock, openBlock, resolveDynamicComponent, normalizeClass, unref, withCtx, createElementBlock, createCommentVNode, isRef, renderSlot, createVNode, mergeProps, createElementVNode, createTextVNode, toDisplayString, h } from "vue";
|
2
2
|
import { getDomText, sleep } from "../_shared/utils/dom.js";
|
3
|
-
import { useI18n } from "../_shared/utils/locale.js";
|
4
|
-
import { useControlValue } from "../_shared/utils/control.js";
|
5
3
|
import { useClipboard } from "../node_modules/@vueuse/core/index.js";
|
6
|
-
|
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 { useControlValue } from "../_shared/utils/hooks.js";
|
12
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
13
|
+
import "../_shared/utils/time.js";
|
14
|
+
/* empty css */
|
7
15
|
/* empty css */
|
8
16
|
/* empty css */
|
9
|
-
import _sfc_main$3 from "../_shared/icons/IconCopy.
|
10
|
-
import _sfc_main$1 from "../_shared/icons/IconEdit.
|
17
|
+
import _sfc_main$3 from "../_shared/icons/IconCopy.vue.js";
|
18
|
+
import _sfc_main$1 from "../_shared/icons/IconEdit.vue.js";
|
11
19
|
import _sfc_main$2 from "../_shared/icons/IconInfo.vue.js";
|
12
20
|
import Input from "../Input/index.js";
|
13
21
|
import Tooltip from "../Tooltip/index.js";
|
package/es/Typography/type.d.ts
CHANGED
@@ -22,9 +22,9 @@ declare const __VLS_component: import('vue').DefineComponent<UploadProps, {
|
|
22
22
|
"onUpdate:fileList"?: ((value: import('./type').FileItem[]) => any) | undefined;
|
23
23
|
"onExceed-limit"?: ((fileList: import('./type').FileItem[], files: File[]) => any) | undefined;
|
24
24
|
}>, {
|
25
|
-
name: import('./type').FileName;
|
26
25
|
disabled: boolean;
|
27
26
|
multiple: boolean;
|
27
|
+
name: import('./type').FileName;
|
28
28
|
tip: string;
|
29
29
|
limit: number;
|
30
30
|
draggable: boolean;
|
@@ -1,11 +1,19 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createVNode, createCommentVNode, unref, withCtx, createTextVNode, toDisplayString } from "vue";
|
2
2
|
import useUploadContext from "./hooks/useContext.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
|
-
|
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 { useI18n } from "../_shared/utils/locale.js";
|
12
|
+
import "../_shared/utils/time.js";
|
13
|
+
/* empty css */
|
5
14
|
/* empty css */
|
6
15
|
/* empty css */
|
7
|
-
import _sfc_main$1 from "../_shared/icons/IconUpload.
|
8
|
-
import { useI18n } from "../_shared/utils/locale.js";
|
16
|
+
import _sfc_main$1 from "../_shared/icons/IconUpload.vue2.js";
|
9
17
|
import Button from "../Button/index.js";
|
10
18
|
const _hoisted_1 = { class: "yc-upload-button" };
|
11
19
|
const _hoisted_2 = {
|
@@ -1,11 +1,19 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, createVNode, toDisplayString } from "vue";
|
2
2
|
import useUploadContext from "./hooks/useContext.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
|
-
|
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 { useI18n } from "../_shared/utils/locale.js";
|
12
|
+
import "../_shared/utils/time.js";
|
13
|
+
/* empty css */
|
5
14
|
/* empty css */
|
6
15
|
/* empty css */
|
7
16
|
import _sfc_main$1 from "../_shared/icons/IconPlus.vue.js";
|
8
|
-
import { useI18n } from "../_shared/utils/locale.js";
|
9
17
|
const _hoisted_1 = { class: "yc-upload-drag-icon" };
|
10
18
|
const _hoisted_2 = { class: "yc-upload-drag-text" };
|
11
19
|
const _hoisted_3 = {
|
@@ -1,12 +1,21 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, renderSlot, createCommentVNode, createElementVNode, createBlock, resolveDynamicComponent, createVNode, withCtx } from "vue";
|
2
2
|
import useUploadContext from "./hooks/useContext.js";
|
3
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
4
|
-
/* empty css
|
3
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
4
|
+
/* empty css */
|
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$3 from "../_shared/icons/IconDelete.vue.js";
|
9
|
-
import _sfc_main$2 from "../_shared/icons/IconFile.
|
18
|
+
import _sfc_main$2 from "../_shared/icons/IconFile.vue2.js";
|
10
19
|
const _hoisted_1 = { class: "yc-upload-list-item-content" };
|
11
20
|
const _hoisted_2 = {
|
12
21
|
key: 0,
|
@@ -1,11 +1,20 @@
|
|
1
1
|
import { defineComponent, ref, createElementBlock, openBlock, normalizeClass, unref, createVNode, createCommentVNode, Fragment, renderList, createElementVNode, createBlock, resolveDynamicComponent, toDisplayString } from "vue";
|
2
2
|
import useUpload from "./hooks/useUpload.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
|
-
|
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";
|
13
|
+
/* empty css */
|
5
14
|
/* empty css */
|
6
15
|
/* empty css */
|
7
16
|
import _sfc_main$3 from "../_shared/icons/IconDelete.vue.js";
|
8
|
-
import _sfc_main$4 from "../_shared/icons/IconEyeClose.
|
17
|
+
import _sfc_main$4 from "../_shared/icons/IconEyeClose.vue2.js";
|
9
18
|
import _sfc_main$2 from "../_shared/icons/IconPlus.vue.js";
|
10
19
|
import "../Image/index.js";
|
11
20
|
import _sfc_main$1 from "../Image/ImagePreview.vue.js";
|
@@ -1,6 +1,16 @@
|
|
1
1
|
import { toRefs, useSlots, computed, onBeforeUnmount, provide, inject, ref } 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 { isFunction } 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";
|
4
14
|
const UPLOAD_CONTEXT_KEY = "upload-context";
|
5
15
|
function useUploadContext() {
|
6
16
|
const provide$1 = (props, emits) => {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { FileItem, UploadEmits, UploadProps } from '../type';
|
2
1
|
import { Ref } from 'vue';
|
2
|
+
import { FileItem, UploadEmits, UploadProps } from '../type';
|
3
3
|
export default function useUpload(uploadRef: Ref<HTMLDivElement | undefined>, _props?: UploadProps, _emits?: UploadEmits): {
|
4
4
|
isOverDropZone: import('vue').ShallowRef<boolean>;
|
5
5
|
handleUpload: (e: MouseEvent) => Promise<void>;
|
@@ -1,7 +1,17 @@
|
|
1
|
+
import "../../_shared/utils/dom.js";
|
2
|
+
import { useFileDialog, useDropZone } from "../../node_modules/@vueuse/core/index.js";
|
1
3
|
import { nanoid } from "../../node_modules/nanoid/index.browser.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";
|
2
11
|
import "vue";
|
3
12
|
import { isFunction, isString } from "../../_shared/utils/is.js";
|
4
|
-
import
|
13
|
+
import "../../_shared/utils/locale.js";
|
14
|
+
import "../../_shared/utils/time.js";
|
5
15
|
import useUploadContext from "./useContext.js";
|
6
16
|
function useUpload(uploadRef, _props, _emits) {
|
7
17
|
let context;
|
package/es/Upload/index.d.ts
CHANGED
@@ -17,9 +17,9 @@ declare const Upload: {
|
|
17
17
|
"update:fileList": (value: import('./type').FileItem[]) => any;
|
18
18
|
"exceed-limit": (fileList: import('./type').FileItem[], files: File[]) => any;
|
19
19
|
}, import('vue').PublicProps, {
|
20
|
-
name: import('./type').FileName;
|
21
20
|
disabled: boolean;
|
22
21
|
multiple: boolean;
|
22
|
+
name: import('./type').FileName;
|
23
23
|
tip: string;
|
24
24
|
limit: number;
|
25
25
|
draggable: boolean;
|
@@ -57,9 +57,9 @@ declare const Upload: {
|
|
57
57
|
updateFile: (id: string, File: File) => void;
|
58
58
|
upload: (files: File[]) => void;
|
59
59
|
}, {}, {}, {}, {
|
60
|
-
name: import('./type').FileName;
|
61
60
|
disabled: boolean;
|
62
61
|
multiple: boolean;
|
62
|
+
name: import('./type').FileName;
|
63
63
|
tip: string;
|
64
64
|
limit: number;
|
65
65
|
draggable: boolean;
|
@@ -97,9 +97,9 @@ declare const Upload: {
|
|
97
97
|
"update:fileList": (value: import('./type').FileItem[]) => any;
|
98
98
|
"exceed-limit": (fileList: import('./type').FileItem[], files: File[]) => any;
|
99
99
|
}, string, {
|
100
|
-
name: import('./type').FileName;
|
101
100
|
disabled: boolean;
|
102
101
|
multiple: boolean;
|
102
|
+
name: import('./type').FileName;
|
103
103
|
tip: string;
|
104
104
|
limit: number;
|
105
105
|
draggable: boolean;
|
@@ -15,8 +15,8 @@ declare const VerificationCode: {
|
|
15
15
|
finish: (value: string) => any;
|
16
16
|
}, import('vue').PublicProps, {
|
17
17
|
error: boolean;
|
18
|
-
length: number;
|
19
18
|
size: import('..').Size;
|
19
|
+
length: number;
|
20
20
|
disabled: boolean;
|
21
21
|
modelValue: string;
|
22
22
|
defaultValue: string;
|
@@ -35,8 +35,8 @@ declare const VerificationCode: {
|
|
35
35
|
onFinish?: ((value: string) => any) | undefined;
|
36
36
|
}>, {}, {}, {}, {}, {
|
37
37
|
error: boolean;
|
38
|
-
length: number;
|
39
38
|
size: import('..').Size;
|
39
|
+
length: number;
|
40
40
|
disabled: boolean;
|
41
41
|
modelValue: string;
|
42
42
|
defaultValue: string;
|
@@ -57,8 +57,8 @@ declare const VerificationCode: {
|
|
57
57
|
finish: (value: string) => any;
|
58
58
|
}, string, {
|
59
59
|
error: boolean;
|
60
|
-
length: number;
|
61
60
|
size: import('..').Size;
|
61
|
+
length: number;
|
62
62
|
disabled: boolean;
|
63
63
|
modelValue: string;
|
64
64
|
defaultValue: string;
|
@@ -11,8 +11,8 @@ declare const _default: import('vue').DefineComponent<VerificationCodeProps, {},
|
|
11
11
|
onFinish?: ((value: string) => any) | undefined;
|
12
12
|
}>, {
|
13
13
|
error: boolean;
|
14
|
-
length: number;
|
15
14
|
size: import('..').Size;
|
15
|
+
length: number;
|
16
16
|
disabled: boolean;
|
17
17
|
modelValue: string;
|
18
18
|
defaultValue: string;
|
@@ -1,10 +1,19 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, ref, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createVNode, createBlock, createCommentVNode, resolveDynamicComponent } from "vue";
|
2
|
-
import { nanoid } from "../node_modules/nanoid/index.browser.js";
|
3
2
|
import { sleep } from "../_shared/utils/dom.js";
|
3
|
+
import { nanoid } from "../node_modules/nanoid/index.browser.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 { getGlobalConfig } from "../_shared/utils/global-config.js";
|
12
|
+
import { useControlValue } from "../_shared/utils/hooks.js";
|
4
13
|
import { isNumber, isString, isFunction } from "../_shared/utils/is.js";
|
5
|
-
import
|
14
|
+
import "../_shared/utils/locale.js";
|
15
|
+
import "../_shared/utils/time.js";
|
6
16
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
7
|
-
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
8
17
|
import Input from "../Input/index.js";
|
9
18
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
10
19
|
...{
|
package/es/Watermark/index.d.ts
CHANGED
@@ -4,7 +4,6 @@ export type WatermarkInstance = InstanceType<typeof _Watermark>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const Watermark: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').WatermarkProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
|
-
zIndex: number;
|
8
7
|
width: number;
|
9
8
|
height: number;
|
10
9
|
repeat: boolean;
|
@@ -12,6 +11,7 @@ declare const Watermark: {
|
|
12
11
|
alpha: number;
|
13
12
|
rotate: number;
|
14
13
|
image: string;
|
14
|
+
zIndex: number;
|
15
15
|
offset: number[];
|
16
16
|
font: import('./type').WatermarkFont;
|
17
17
|
gap: number[];
|
@@ -28,7 +28,6 @@ declare const Watermark: {
|
|
28
28
|
M: {};
|
29
29
|
Defaults: {};
|
30
30
|
}, Readonly<import('./type').WatermarkProps> & Readonly<{}>, {}, {}, {}, {}, {
|
31
|
-
zIndex: number;
|
32
31
|
width: number;
|
33
32
|
height: number;
|
34
33
|
repeat: boolean;
|
@@ -36,6 +35,7 @@ declare const Watermark: {
|
|
36
35
|
alpha: number;
|
37
36
|
rotate: number;
|
38
37
|
image: string;
|
38
|
+
zIndex: number;
|
39
39
|
offset: number[];
|
40
40
|
font: import('./type').WatermarkFont;
|
41
41
|
gap: number[];
|
@@ -47,7 +47,6 @@ declare const Watermark: {
|
|
47
47
|
__isTeleport?: never;
|
48
48
|
__isSuspense?: never;
|
49
49
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').WatermarkProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
50
|
-
zIndex: number;
|
51
50
|
width: number;
|
52
51
|
height: number;
|
53
52
|
repeat: boolean;
|
@@ -55,6 +54,7 @@ declare const Watermark: {
|
|
55
54
|
alpha: number;
|
56
55
|
rotate: number;
|
57
56
|
image: string;
|
57
|
+
zIndex: number;
|
58
58
|
offset: number[];
|
59
59
|
font: import('./type').WatermarkFont;
|
60
60
|
gap: number[];
|
@@ -9,7 +9,6 @@ declare function __VLS_template(): {
|
|
9
9
|
};
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<WatermarkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<WatermarkProps> & Readonly<{}>, {
|
12
|
-
zIndex: number;
|
13
12
|
width: number;
|
14
13
|
height: number;
|
15
14
|
repeat: boolean;
|
@@ -17,6 +16,7 @@ declare const __VLS_component: import('vue').DefineComponent<WatermarkProps, {},
|
|
17
16
|
alpha: number;
|
18
17
|
rotate: number;
|
19
18
|
image: string;
|
19
|
+
zIndex: number;
|
20
20
|
offset: number[];
|
21
21
|
font: import('./type').WatermarkFont;
|
22
22
|
gap: number[];
|
@@ -1,6 +1,16 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, watch, onMounted, createElementBlock, openBlock, renderSlot } from "vue";
|
2
|
-
import
|
2
|
+
import "../_shared/utils/dom.js";
|
3
3
|
import { useMutationObserver } from "../node_modules/@vueuse/core/index.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 { isArray } from "../_shared/utils/is.js";
|
12
|
+
import "../_shared/utils/locale.js";
|
13
|
+
import "../_shared/utils/time.js";
|
4
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
15
|
...{
|
6
16
|
name: "Watermark"
|
@@ -1,5 +1,14 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, Transition, mergeProps, withCtx, renderSlot } from "vue";
|
2
2
|
import { valueToPx } from "../../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 "../../utils/locale.js";
|
11
|
+
import "../../utils/time.js";
|
3
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
13
|
__name: "index",
|
5
14
|
setup(__props) {
|
@@ -1,5 +1,14 @@
|
|
1
1
|
import { defineComponent, toRefs, useAttrs, computed, createElementBlock, openBlock, mergeProps, unref, renderSlot } from "vue";
|
2
2
|
import { valueToPx } from "../../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 "../../utils/locale.js";
|
11
|
+
import "../../utils/time.js";
|
3
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
13
|
__name: "index",
|
5
14
|
props: {
|
@@ -1,6 +1,15 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, renderSlot, createVNode, unref } from "vue";
|
2
2
|
import { valueToPx } from "../../utils/dom.js";
|
3
|
-
|
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 "../../utils/locale.js";
|
11
|
+
import "../../utils/time.js";
|
12
|
+
/* empty css */
|
4
13
|
/* empty css */
|
5
14
|
/* empty css */
|
6
15
|
import _sfc_main$1 from "../../icons/IconClose.vue.js";
|
@@ -3,7 +3,16 @@ import Icon404 from "../icons/Icon404.svg.js";
|
|
3
3
|
import Icon500 from "../icons/Icon500.svg.js";
|
4
4
|
import "vue";
|
5
5
|
import "../utils/dom.js";
|
6
|
-
|
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 "../utils/locale.js";
|
14
|
+
import "../utils/time.js";
|
15
|
+
/* empty css */
|
7
16
|
/* empty css */
|
8
17
|
/* empty css */
|
9
18
|
import _sfc_main from "../icons/IconCheck.vue.js";
|
@@ -1,6 +1,15 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
2
|
import "../utils/dom.js";
|
3
|
-
|
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 "../utils/locale.js";
|
11
|
+
import "../utils/time.js";
|
12
|
+
/* empty css */
|
4
13
|
/* empty css */
|
5
14
|
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
6
15
|
/* empty css */
|