yc-design-vue 2.1.2 → 2.1.4
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 +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 +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 +12 -3
- 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 +15 -1
- package/es/TimePicker/hooks/useContext.js +10 -1
- package/es/TimePicker/index.css +1 -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 +14 -6
- 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 +13 -4
- package/es/Upload/UploadPictureCard.vue2.js +12 -3
- 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.vue2.js +10 -1
- package/es/_shared/icons/IconDelete.vue.js +1 -19
- package/es/_shared/icons/IconDelete.vue2.js +28 -1
- package/es/_shared/icons/IconDragDot.vue.js +10 -1
- package/es/_shared/icons/IconEdit.vue2.js +10 -1
- package/es/_shared/icons/IconEmpty.vue.js +10 -1
- package/es/_shared/icons/IconError.vue.js +10 -1
- package/es/_shared/icons/IconExclamation.vue2.js +10 -1
- 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.vue2.js +10 -1
- 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.d.ts +1 -1
- package/es/_shared/utils/dom.js +10 -3
- package/es/_shared/utils/index.d.ts +12 -0
- package/es/_shared/utils/time.d.ts +1 -1
- package/es/_shared/utils/time.js +4 -2
- 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.css +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.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.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.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.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.d.ts +1 -1
- 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
@@ -33,10 +33,10 @@ declare function __VLS_template(): {
|
|
33
33
|
readonly invisibleButton?: boolean | undefined;
|
34
34
|
readonly showInput?: boolean | undefined;
|
35
35
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
36
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
36
37
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
37
|
-
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
38
38
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
39
|
-
readonly
|
39
|
+
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
40
40
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
41
41
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
42
42
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -57,14 +57,14 @@ declare function __VLS_template(): {
|
|
57
57
|
$root: import('vue').ComponentPublicInstance | null;
|
58
58
|
$parent: import('vue').ComponentPublicInstance | null;
|
59
59
|
$host: Element | null;
|
60
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
60
|
+
$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);
|
61
61
|
$el: HTMLDivElement;
|
62
62
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
|
63
63
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
64
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
64
65
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
65
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
66
66
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
67
|
-
|
67
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
68
68
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
69
69
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
70
70
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -76,10 +76,10 @@ declare function __VLS_template(): {
|
|
76
76
|
getInputRef(): HTMLInputElement;
|
77
77
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
78
78
|
change: (value: string, ev: Event) => any;
|
79
|
+
focus: (ev: FocusEvent) => any;
|
79
80
|
clear: (ev: MouseEvent) => any;
|
80
|
-
input: (value: string, ev: Event) => any;
|
81
81
|
blur: (ev: FocusEvent) => any;
|
82
|
-
|
82
|
+
input: (value: string, ev: Event) => any;
|
83
83
|
keydown: (ev: KeyboardEvent) => any;
|
84
84
|
"update:modelValue": (value: string) => any;
|
85
85
|
"update:visibility": (value: boolean) => any;
|
@@ -145,16 +145,16 @@ declare function __VLS_template(): {
|
|
145
145
|
showInput: boolean;
|
146
146
|
}> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
|
147
147
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
148
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
148
149
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
149
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
150
150
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
151
|
-
|
151
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
152
152
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
153
153
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
154
154
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
155
155
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
156
156
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
157
|
-
}>, "
|
157
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
158
158
|
focus(): void;
|
159
159
|
blur(): void;
|
160
160
|
getInputRef(): HTMLInputElement;
|
@@ -167,33 +167,33 @@ declare function __VLS_template(): {
|
|
167
167
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
168
168
|
declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
169
169
|
change: (value: import('./type').CascaderValue) => any;
|
170
|
-
clear: () => any;
|
171
|
-
search: (value: string) => any;
|
172
|
-
blur: (ev: FocusEvent) => any;
|
173
170
|
focus: (ev: FocusEvent) => any;
|
174
171
|
"update:popupVisible": (value: boolean) => any;
|
175
172
|
"popup-visible-change": (value: boolean) => any;
|
173
|
+
clear: () => any;
|
174
|
+
blur: (ev: FocusEvent) => any;
|
175
|
+
search: (value: string) => any;
|
176
176
|
"update:modelValue": (value: import('./type').CascaderValue) => any;
|
177
177
|
"update:inputValue": (value: string) => any;
|
178
178
|
"input-value-change": (value: string) => any;
|
179
179
|
}, string, import('vue').PublicProps, Readonly<CascaderProps> & Readonly<{
|
180
180
|
onChange?: ((value: import('./type').CascaderValue) => any) | undefined;
|
181
|
-
onClear?: (() => any) | undefined;
|
182
|
-
onSearch?: ((value: string) => any) | undefined;
|
183
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
184
181
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
185
182
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
186
183
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
184
|
+
onClear?: (() => any) | undefined;
|
185
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
186
|
+
onSearch?: ((value: string) => any) | undefined;
|
187
187
|
"onUpdate:modelValue"?: ((value: import('./type').CascaderValue) => any) | undefined;
|
188
188
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
189
189
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
190
190
|
}>, {
|
191
191
|
error: boolean;
|
192
192
|
size: import('..').Size;
|
193
|
-
popupContainer: import('..').PopupContainer;
|
194
193
|
popupVisible: boolean;
|
195
194
|
defaultPopupVisible: boolean;
|
196
195
|
disabled: boolean;
|
196
|
+
popupContainer: import('..').PopupContainer;
|
197
197
|
multiple: boolean;
|
198
198
|
placeholder: string;
|
199
199
|
loading: boolean;
|
@@ -242,10 +242,10 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
|
|
242
242
|
readonly invisibleButton?: boolean | undefined;
|
243
243
|
readonly showInput?: boolean | undefined;
|
244
244
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
245
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
245
246
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
246
|
-
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
247
247
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
248
|
-
readonly
|
248
|
+
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
249
249
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
250
250
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
251
251
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -266,14 +266,14 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
|
|
266
266
|
$root: import('vue').ComponentPublicInstance | null;
|
267
267
|
$parent: import('vue').ComponentPublicInstance | null;
|
268
268
|
$host: Element | null;
|
269
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
269
|
+
$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);
|
270
270
|
$el: HTMLDivElement;
|
271
271
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
|
272
272
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
273
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
273
274
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
274
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
275
275
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
276
|
-
|
276
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
277
277
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
278
278
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
279
279
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -285,10 +285,10 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
|
|
285
285
|
getInputRef(): HTMLInputElement;
|
286
286
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
287
287
|
change: (value: string, ev: Event) => any;
|
288
|
+
focus: (ev: FocusEvent) => any;
|
288
289
|
clear: (ev: MouseEvent) => any;
|
289
|
-
input: (value: string, ev: Event) => any;
|
290
290
|
blur: (ev: FocusEvent) => any;
|
291
|
-
|
291
|
+
input: (value: string, ev: Event) => any;
|
292
292
|
keydown: (ev: KeyboardEvent) => any;
|
293
293
|
"update:modelValue": (value: string) => any;
|
294
294
|
"update:visibility": (value: boolean) => any;
|
@@ -354,16 +354,16 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
|
|
354
354
|
showInput: boolean;
|
355
355
|
}> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
|
356
356
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
357
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
357
358
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
358
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
359
359
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
360
|
-
|
360
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
361
361
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
362
362
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
363
363
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
364
364
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
365
365
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
366
|
-
}>, "
|
366
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
367
367
|
focus(): void;
|
368
368
|
blur(): void;
|
369
369
|
getInputRef(): HTMLInputElement;
|
@@ -1,5 +1,14 @@
|
|
1
1
|
import { defineComponent, ref, computed, createBlock, openBlock, unref, mergeProps, isRef, withCtx, createElementVNode, normalizeStyle, normalizeClass, createSlots, createVNode, renderSlot, normalizeProps, guardReactiveProps, toDisplayString } from "vue";
|
2
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 "../_shared/utils/locale.js";
|
11
|
+
import "../_shared/utils/time.js";
|
3
12
|
import useCascaderContext from "./hooks/useContext.js";
|
4
13
|
import Input from "../Input/index.js";
|
5
14
|
import InputTag from "../InputTag/index.js";
|
@@ -1,9 +1,18 @@
|
|
1
1
|
import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
|
2
2
|
import useCascaderContext from "./hooks/useContext.js";
|
3
3
|
import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
4
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
5
|
-
/* empty css
|
4
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
|
5
|
+
/* empty css */
|
6
6
|
import "../_shared/utils/dom.js";
|
7
|
+
import "../node_modules/b-tween/dist/b-tween.es.js";
|
8
|
+
import "../node_modules/dayjs/dayjs.min.js";
|
9
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
10
|
+
import "../node_modules/dayjs/plugin/duration.js";
|
11
|
+
import "../node_modules/dayjs/plugin/toObject.js";
|
12
|
+
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
13
|
+
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
14
|
+
import "../_shared/utils/locale.js";
|
15
|
+
import "../_shared/utils/time.js";
|
7
16
|
/* empty css */
|
8
17
|
/* empty css */
|
9
18
|
import Spin from "../Spin/index.js";
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { CascaderOptionProps, CascaderOptionValue } from './type';
|
2
2
|
declare const _default: import('vue').DefineComponent<CascaderOptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CascaderOptionProps> & Readonly<{}>, {
|
3
|
-
label: string;
|
4
3
|
disabled: boolean;
|
5
4
|
value: CascaderOptionValue;
|
6
5
|
children: import('./type').CascaderOption[];
|
6
|
+
label: string;
|
7
7
|
index: number;
|
8
8
|
render: import('vue').RenderFunction;
|
9
9
|
tagProps: import('..').TagProps;
|
@@ -1,11 +1,20 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createElementBlock, openBlock, normalizeClass, unref, createBlock, createCommentVNode, createElementVNode, resolveDynamicComponent } from "vue";
|
2
2
|
import { sleep } from "../_shared/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 { isFunction } from "../_shared/utils/is.js";
|
11
|
+
import "../_shared/utils/locale.js";
|
12
|
+
import "../_shared/utils/time.js";
|
13
|
+
/* empty css */
|
4
14
|
/* empty css */
|
5
15
|
/* empty css */
|
6
16
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
7
17
|
import _sfc_main$2 from "../_shared/icons/IconLoading.vue.js";
|
8
|
-
import { isFunction } from "../_shared/utils/is.js";
|
9
18
|
import Checkbox from "../Checkbox/index.js";
|
10
19
|
import useCascaderContext, { getLeafNodes, findOptionByValueAndLevel } from "./hooks/useContext.js";
|
11
20
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -1,6 +1,16 @@
|
|
1
1
|
import { toRefs, ref, computed, useSlots, watch, provide, inject } 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 { isBoolean, isFunction, isArray, isObject } 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
|
const CASCADER_CONTEXT_KEY = "cascader-context";
|
5
15
|
const transformOptions = (options, level = 1, nodePath = []) => {
|
6
16
|
return options.map((option, index) => {
|
package/es/Cascader/index.d.ts
CHANGED
@@ -5,33 +5,33 @@ export * from './type';
|
|
5
5
|
declare const Cascader: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').CascaderProps> & Readonly<{
|
7
7
|
onChange?: ((value: import('./type').CascaderValue) => any) | undefined;
|
8
|
-
onClear?: (() => any) | undefined;
|
9
|
-
onSearch?: ((value: string) => any) | undefined;
|
10
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
11
8
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
12
9
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
13
10
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
11
|
+
onClear?: (() => any) | undefined;
|
12
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
13
|
+
onSearch?: ((value: string) => any) | undefined;
|
14
14
|
"onUpdate:modelValue"?: ((value: import('./type').CascaderValue) => any) | undefined;
|
15
15
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
16
16
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
17
17
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
18
18
|
change: (value: import('./type').CascaderValue) => any;
|
19
|
-
clear: () => any;
|
20
|
-
search: (value: string) => any;
|
21
|
-
blur: (ev: FocusEvent) => any;
|
22
19
|
focus: (ev: FocusEvent) => any;
|
23
20
|
"update:popupVisible": (value: boolean) => any;
|
24
21
|
"popup-visible-change": (value: boolean) => any;
|
22
|
+
clear: () => any;
|
23
|
+
blur: (ev: FocusEvent) => any;
|
24
|
+
search: (value: string) => any;
|
25
25
|
"update:modelValue": (value: import('./type').CascaderValue) => any;
|
26
26
|
"update:inputValue": (value: string) => any;
|
27
27
|
"input-value-change": (value: string) => any;
|
28
28
|
}, import('vue').PublicProps, {
|
29
29
|
error: boolean;
|
30
30
|
size: import('..').Size;
|
31
|
-
popupContainer: import('..').PopupContainer;
|
32
31
|
popupVisible: boolean;
|
33
32
|
defaultPopupVisible: boolean;
|
34
33
|
disabled: boolean;
|
34
|
+
popupContainer: import('..').PopupContainer;
|
35
35
|
multiple: boolean;
|
36
36
|
placeholder: string;
|
37
37
|
loading: boolean;
|
@@ -80,10 +80,10 @@ declare const Cascader: {
|
|
80
80
|
readonly invisibleButton?: boolean | undefined;
|
81
81
|
readonly showInput?: boolean | undefined;
|
82
82
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
83
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
83
84
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
84
|
-
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
85
85
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
86
|
-
readonly
|
86
|
+
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
87
87
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
88
88
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
89
89
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -104,14 +104,14 @@ declare const Cascader: {
|
|
104
104
|
$root: import('vue').ComponentPublicInstance | null;
|
105
105
|
$parent: import('vue').ComponentPublicInstance | null;
|
106
106
|
$host: Element | null;
|
107
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
107
|
+
$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);
|
108
108
|
$el: HTMLDivElement;
|
109
109
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputProps> & Readonly<{
|
110
110
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
111
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
111
112
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
112
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
113
113
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
114
|
-
|
114
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
115
115
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
116
116
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
117
117
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -123,10 +123,10 @@ declare const Cascader: {
|
|
123
123
|
getInputRef(): HTMLInputElement;
|
124
124
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
125
125
|
change: (value: string, ev: Event) => any;
|
126
|
+
focus: (ev: FocusEvent) => any;
|
126
127
|
clear: (ev: MouseEvent) => any;
|
127
|
-
input: (value: string, ev: Event) => any;
|
128
128
|
blur: (ev: FocusEvent) => any;
|
129
|
-
|
129
|
+
input: (value: string, ev: Event) => any;
|
130
130
|
keydown: (ev: KeyboardEvent) => any;
|
131
131
|
"update:modelValue": (value: string) => any;
|
132
132
|
"update:visibility": (value: boolean) => any;
|
@@ -192,16 +192,16 @@ declare const Cascader: {
|
|
192
192
|
showInput: boolean;
|
193
193
|
}> & Omit<Readonly<import('..').InputProps> & Readonly<{
|
194
194
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
195
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
195
196
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
196
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
197
197
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
198
|
-
|
198
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
199
199
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
200
200
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
201
201
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
202
202
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
203
203
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
204
|
-
}>, "
|
204
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
205
205
|
focus(): void;
|
206
206
|
blur(): void;
|
207
207
|
getInputRef(): HTMLInputElement;
|
@@ -217,22 +217,22 @@ declare const Cascader: {
|
|
217
217
|
Defaults: {};
|
218
218
|
}, Readonly<import('./type').CascaderProps> & Readonly<{
|
219
219
|
onChange?: ((value: import('./type').CascaderValue) => any) | undefined;
|
220
|
-
onClear?: (() => any) | undefined;
|
221
|
-
onSearch?: ((value: string) => any) | undefined;
|
222
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
223
220
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
224
221
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
225
222
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
223
|
+
onClear?: (() => any) | undefined;
|
224
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
225
|
+
onSearch?: ((value: string) => any) | undefined;
|
226
226
|
"onUpdate:modelValue"?: ((value: import('./type').CascaderValue) => any) | undefined;
|
227
227
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
228
228
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
229
229
|
}>, {}, {}, {}, {}, {
|
230
230
|
error: boolean;
|
231
231
|
size: import('..').Size;
|
232
|
-
popupContainer: import('..').PopupContainer;
|
233
232
|
popupVisible: boolean;
|
234
233
|
defaultPopupVisible: boolean;
|
235
234
|
disabled: boolean;
|
235
|
+
popupContainer: import('..').PopupContainer;
|
236
236
|
multiple: boolean;
|
237
237
|
placeholder: string;
|
238
238
|
loading: boolean;
|
@@ -263,33 +263,33 @@ declare const Cascader: {
|
|
263
263
|
__isSuspense?: never;
|
264
264
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').CascaderProps> & Readonly<{
|
265
265
|
onChange?: ((value: import('./type').CascaderValue) => any) | undefined;
|
266
|
-
onClear?: (() => any) | undefined;
|
267
|
-
onSearch?: ((value: string) => any) | undefined;
|
268
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
269
266
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
270
267
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
271
268
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
269
|
+
onClear?: (() => any) | undefined;
|
270
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
271
|
+
onSearch?: ((value: string) => any) | undefined;
|
272
272
|
"onUpdate:modelValue"?: ((value: import('./type').CascaderValue) => any) | undefined;
|
273
273
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
274
274
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
275
275
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
276
276
|
change: (value: import('./type').CascaderValue) => any;
|
277
|
-
clear: () => any;
|
278
|
-
search: (value: string) => any;
|
279
|
-
blur: (ev: FocusEvent) => any;
|
280
277
|
focus: (ev: FocusEvent) => any;
|
281
278
|
"update:popupVisible": (value: boolean) => any;
|
282
279
|
"popup-visible-change": (value: boolean) => any;
|
280
|
+
clear: () => any;
|
281
|
+
blur: (ev: FocusEvent) => any;
|
282
|
+
search: (value: string) => any;
|
283
283
|
"update:modelValue": (value: import('./type').CascaderValue) => any;
|
284
284
|
"update:inputValue": (value: string) => any;
|
285
285
|
"input-value-change": (value: string) => any;
|
286
286
|
}, string, {
|
287
287
|
error: boolean;
|
288
288
|
size: import('..').Size;
|
289
|
-
popupContainer: import('..').PopupContainer;
|
290
289
|
popupVisible: boolean;
|
291
290
|
defaultPopupVisible: boolean;
|
292
291
|
disabled: boolean;
|
292
|
+
popupContainer: import('..').PopupContainer;
|
293
293
|
multiple: boolean;
|
294
294
|
placeholder: string;
|
295
295
|
loading: boolean;
|
@@ -1,10 +1,19 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, normalizeClass, createElementVNode, renderSlot, createVNode, createCommentVNode, unref, withCtx } 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 { 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 useCheckboxContext from "./hooks/useContext.js";
|
5
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
6
|
-
/* empty css
|
7
|
-
import "../_shared/utils/dom.js";
|
15
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
16
|
+
/* empty css */
|
8
17
|
/* empty css */
|
9
18
|
/* empty css */
|
10
19
|
import _sfc_main$2 from "../_shared/icons/IconCheckboxChecked.vue.js";
|
@@ -1,6 +1,16 @@
|
|
1
1
|
import { toRefs, computed, provide, ref, inject } 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 { isObject } 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
|
const CHECKBOX_GROUP_CONTEXT_KEY = "checkbox-group-context";
|
5
15
|
function useCheckboxContext() {
|
6
16
|
const provide$1 = (props, emits) => {
|
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<CollapseItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CollapseItemProps> & Readonly<{}>, {
|
10
|
-
header: string;
|
11
10
|
disabled: boolean;
|
11
|
+
header: string;
|
12
12
|
path: import('./type').CollapseValue;
|
13
13
|
showExpandIcon: boolean;
|
14
14
|
destroyOnHide: boolean;
|
@@ -1,10 +1,19 @@
|
|
1
1
|
import { defineComponent, toRefs, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createVNode, createBlock, createCommentVNode, withCtx, renderSlot, resolveDynamicComponent, createTextVNode, toDisplayString, withDirectives, vShow } from "vue";
|
2
2
|
import useCollapseContext 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 _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
|
6
6
|
/* empty css */
|
7
7
|
import "../_shared/utils/dom.js";
|
8
|
+
import "../node_modules/b-tween/dist/b-tween.es.js";
|
9
|
+
import "../node_modules/dayjs/dayjs.min.js";
|
10
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
11
|
+
import "../node_modules/dayjs/plugin/duration.js";
|
12
|
+
import "../node_modules/dayjs/plugin/toObject.js";
|
13
|
+
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
14
|
+
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
15
|
+
import "../_shared/utils/locale.js";
|
16
|
+
import "../_shared/utils/time.js";
|
8
17
|
/* empty css */
|
9
18
|
import _sfc_main$2 from "../_shared/icons/IconRight.vue.js";
|
10
19
|
const _hoisted_1 = { class: "yc-collapse-item-header-title text-ellipsis" };
|
@@ -1,5 +1,15 @@
|
|
1
1
|
import { toRefs, useSlots, provide, inject, ref, computed } 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
|
const COLLAPSE_CONTEXT_KEY = "collapse-context";
|
4
14
|
function useCollapseContext() {
|
5
15
|
const provide$1 = (props, emits) => {
|
package/es/Collapse/index.d.ts
CHANGED
@@ -60,8 +60,8 @@ declare const Collapse: {
|
|
60
60
|
}) & {
|
61
61
|
item: {
|
62
62
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').CollapseItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
63
|
-
header: string;
|
64
63
|
disabled: boolean;
|
64
|
+
header: string;
|
65
65
|
path: import('./type').CollapseValue;
|
66
66
|
showExpandIcon: boolean;
|
67
67
|
destroyOnHide: boolean;
|
@@ -73,8 +73,8 @@ declare const Collapse: {
|
|
73
73
|
M: {};
|
74
74
|
Defaults: {};
|
75
75
|
}, Readonly<import('./type').CollapseItemProps> & Readonly<{}>, {}, {}, {}, {}, {
|
76
|
-
header: string;
|
77
76
|
disabled: boolean;
|
77
|
+
header: string;
|
78
78
|
path: import('./type').CollapseValue;
|
79
79
|
showExpandIcon: boolean;
|
80
80
|
destroyOnHide: boolean;
|
@@ -83,8 +83,8 @@ declare const Collapse: {
|
|
83
83
|
__isTeleport?: never;
|
84
84
|
__isSuspense?: never;
|
85
85
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').CollapseItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
86
|
-
header: string;
|
87
86
|
disabled: boolean;
|
87
|
+
header: string;
|
88
88
|
path: import('./type').CollapseValue;
|
89
89
|
showExpandIcon: boolean;
|
90
90
|
destroyOnHide: boolean;
|
package/es/Collapse/type.d.ts
CHANGED
@@ -1,7 +1,16 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, watch, createElementBlock, openBlock, normalizeStyle, unref, createElementVNode } from "vue";
|
2
2
|
import { sleep, valueToPx } from "../_shared/utils/dom.js";
|
3
3
|
import { useDraggable } 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";
|
4
11
|
import { parseColor, GradientColorCalculator } from "../_shared/utils/color.js";
|
12
|
+
import "../_shared/utils/locale.js";
|
13
|
+
import "../_shared/utils/time.js";
|
5
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
6
15
|
__name: "ColorControl",
|
7
16
|
props: {
|
@@ -1,5 +1,15 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, watch, createElementBlock, openBlock, createElementVNode, createVNode, unref, createBlock, createCommentVNode, withCtx, createTextVNode, Fragment } 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 { parseColor } from "../_shared/utils/color.js";
|
11
|
+
import "../_shared/utils/locale.js";
|
12
|
+
import "../_shared/utils/time.js";
|
3
13
|
import { COLOR_PICKER_FORMAT_OPTIONS } from "../_shared/constants/index.js";
|
4
14
|
import Select from "../Select/index.js";
|
5
15
|
import Input from "../Input/index.js";
|