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
@@ -144,8 +144,6 @@ declare function __VLS_template(): {
|
|
144
144
|
show: () => any;
|
145
145
|
hide: () => any;
|
146
146
|
}, string, {
|
147
|
-
popupContainer: import('..').PopupContainer;
|
148
|
-
renderToBody: boolean;
|
149
147
|
trigger: import('../Trigger').TriggerType;
|
150
148
|
mouseEnterDelay: number;
|
151
149
|
popupVisible: boolean;
|
@@ -173,6 +171,8 @@ declare function __VLS_template(): {
|
|
173
171
|
duration: number;
|
174
172
|
autoFitPopupWidth: boolean;
|
175
173
|
autoFitPopupMinWidth: boolean;
|
174
|
+
popupContainer: import('..').PopupContainer;
|
175
|
+
renderToBody: boolean;
|
176
176
|
autoFitPosition: boolean;
|
177
177
|
updateAtScroll: boolean;
|
178
178
|
preventFocus: boolean;
|
@@ -198,8 +198,6 @@ declare function __VLS_template(): {
|
|
198
198
|
$nextTick: typeof import('vue').nextTick;
|
199
199
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
200
200
|
} & Readonly<{
|
201
|
-
popupContainer: import('..').PopupContainer;
|
202
|
-
renderToBody: boolean;
|
203
201
|
trigger: import('../Trigger').TriggerType;
|
204
202
|
mouseEnterDelay: number;
|
205
203
|
popupVisible: boolean;
|
@@ -227,6 +225,8 @@ declare function __VLS_template(): {
|
|
227
225
|
duration: number;
|
228
226
|
autoFitPopupWidth: boolean;
|
229
227
|
autoFitPopupMinWidth: boolean;
|
228
|
+
popupContainer: import('..').PopupContainer;
|
229
|
+
renderToBody: boolean;
|
230
230
|
autoFitPosition: boolean;
|
231
231
|
updateAtScroll: boolean;
|
232
232
|
preventFocus: boolean;
|
@@ -236,7 +236,7 @@ declare function __VLS_template(): {
|
|
236
236
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
237
237
|
onShow?: (() => any) | undefined;
|
238
238
|
onHide?: (() => any) | undefined;
|
239
|
-
}>, "show" | "hide" | ("
|
239
|
+
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
240
240
|
hide(): void;
|
241
241
|
show(): void;
|
242
242
|
updatePosition(x: number, y: number): void;
|
@@ -267,14 +267,14 @@ declare function __VLS_template(): {
|
|
267
267
|
readonly tagNowrap?: boolean | undefined;
|
268
268
|
readonly fieldNames?: Record<string, string> | undefined;
|
269
269
|
readonly allowCreate?: boolean | undefined;
|
270
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
270
271
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
271
|
-
readonly onInput?: ((value: string) => any) | undefined;
|
272
272
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
273
|
-
readonly
|
274
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
273
|
+
readonly onInput?: ((value: string) => any) | undefined;
|
275
274
|
readonly "onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
276
275
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
277
276
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
277
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
278
278
|
readonly "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
279
279
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
280
280
|
$attrs: {
|
@@ -292,30 +292,30 @@ declare function __VLS_template(): {
|
|
292
292
|
$root: import('vue').ComponentPublicInstance | null;
|
293
293
|
$parent: import('vue').ComponentPublicInstance | null;
|
294
294
|
$host: Element | null;
|
295
|
-
$emit: ((event: "
|
295
|
+
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
|
296
296
|
$el: HTMLDivElement;
|
297
297
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../InputTag').InputTagProps> & Readonly<{
|
298
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
298
299
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
299
|
-
onInput?: ((value: string) => any) | undefined;
|
300
300
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
301
|
-
|
302
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
301
|
+
onInput?: ((value: string) => any) | undefined;
|
303
302
|
"onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
304
303
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
305
304
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
305
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
306
306
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
307
307
|
}>, {
|
308
308
|
focus(): void;
|
309
309
|
blur(): void;
|
310
310
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
311
|
+
focus: (ev: FocusEvent) => any;
|
311
312
|
clear: (ev: MouseEvent) => any;
|
312
|
-
input: (value: string) => any;
|
313
313
|
blur: (ev: FocusEvent) => any;
|
314
|
-
|
315
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
314
|
+
input: (value: string) => any;
|
316
315
|
"update:modelValue": (value: InputTagValue) => any;
|
317
316
|
"update:inputValue": (value: string) => any;
|
318
317
|
"input-value-change": (value: string, ev: Event) => any;
|
318
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
319
319
|
"press-enter": (ev: KeyboardEvent) => any;
|
320
320
|
}, string, {
|
321
321
|
error: boolean;
|
@@ -378,16 +378,16 @@ declare function __VLS_template(): {
|
|
378
378
|
};
|
379
379
|
uniqueValue: boolean;
|
380
380
|
}> & Omit<Readonly<import('../InputTag').InputTagProps> & Readonly<{
|
381
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
381
382
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
382
|
-
onInput?: ((value: string) => any) | undefined;
|
383
383
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
384
|
-
|
385
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
384
|
+
onInput?: ((value: string) => any) | undefined;
|
386
385
|
"onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
387
386
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
388
387
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
388
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
389
389
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
390
|
-
}>, "
|
390
|
+
}>, "focus" | "blur" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
391
391
|
focus(): void;
|
392
392
|
blur(): void;
|
393
393
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -403,39 +403,39 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
403
403
|
getPopupRef(): TriggerInstance;
|
404
404
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
405
405
|
change: (value: import('./type').SelectValue) => any;
|
406
|
-
clear: () => any;
|
407
|
-
search: (value: string) => any;
|
408
|
-
select: (value: SelectOptionValue) => any;
|
409
|
-
remove: (index: string | number, ev: Event) => any;
|
410
406
|
"update:popupVisible": (value: boolean) => any;
|
411
407
|
"popup-visible-change": (value: boolean) => any;
|
408
|
+
clear: () => any;
|
409
|
+
select: (value: SelectOptionValue) => any;
|
410
|
+
search: (value: string) => any;
|
412
411
|
"update:modelValue": (value: import('./type').SelectValue) => any;
|
413
412
|
"update:inputValue": (value: string) => any;
|
414
413
|
"input-value-change": (value: string) => any;
|
414
|
+
remove: (index: string | number, ev: Event) => any;
|
415
415
|
exceedLimit: (value: SelectOptionValue, ev?: MouseEvent | undefined) => any;
|
416
416
|
"dropdown-scroll": (ev: Event) => any;
|
417
417
|
"dropdown-reach-bottom": (ev: Event) => any;
|
418
418
|
}, string, import('vue').PublicProps, Readonly<SelectProps> & Readonly<{
|
419
419
|
onChange?: ((value: import('./type').SelectValue) => any) | undefined;
|
420
|
-
onClear?: (() => any) | undefined;
|
421
|
-
onSearch?: ((value: string) => any) | undefined;
|
422
|
-
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
423
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
424
420
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
425
421
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
422
|
+
onClear?: (() => any) | undefined;
|
423
|
+
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
424
|
+
onSearch?: ((value: string) => any) | undefined;
|
426
425
|
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
427
426
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
428
427
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
428
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
429
429
|
onExceedLimit?: ((value: SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
430
430
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
431
431
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
432
432
|
}>, {
|
433
433
|
error: boolean;
|
434
434
|
size: import('..').Size;
|
435
|
-
popupContainer: import('..').PopupContainer;
|
436
435
|
popupVisible: boolean;
|
437
436
|
defaultPopupVisible: boolean;
|
438
437
|
disabled: boolean;
|
438
|
+
popupContainer: import('..').PopupContainer;
|
439
439
|
scrollbar: boolean;
|
440
440
|
multiple: boolean;
|
441
441
|
placeholder: string;
|
@@ -602,8 +602,6 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
602
602
|
show: () => any;
|
603
603
|
hide: () => any;
|
604
604
|
}, string, {
|
605
|
-
popupContainer: import('..').PopupContainer;
|
606
|
-
renderToBody: boolean;
|
607
605
|
trigger: import('../Trigger').TriggerType;
|
608
606
|
mouseEnterDelay: number;
|
609
607
|
popupVisible: boolean;
|
@@ -631,6 +629,8 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
631
629
|
duration: number;
|
632
630
|
autoFitPopupWidth: boolean;
|
633
631
|
autoFitPopupMinWidth: boolean;
|
632
|
+
popupContainer: import('..').PopupContainer;
|
633
|
+
renderToBody: boolean;
|
634
634
|
autoFitPosition: boolean;
|
635
635
|
updateAtScroll: boolean;
|
636
636
|
preventFocus: boolean;
|
@@ -656,8 +656,6 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
656
656
|
$nextTick: typeof import('vue').nextTick;
|
657
657
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
658
658
|
} & Readonly<{
|
659
|
-
popupContainer: import('..').PopupContainer;
|
660
|
-
renderToBody: boolean;
|
661
659
|
trigger: import('../Trigger').TriggerType;
|
662
660
|
mouseEnterDelay: number;
|
663
661
|
popupVisible: boolean;
|
@@ -685,6 +683,8 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
685
683
|
duration: number;
|
686
684
|
autoFitPopupWidth: boolean;
|
687
685
|
autoFitPopupMinWidth: boolean;
|
686
|
+
popupContainer: import('..').PopupContainer;
|
687
|
+
renderToBody: boolean;
|
688
688
|
autoFitPosition: boolean;
|
689
689
|
updateAtScroll: boolean;
|
690
690
|
preventFocus: boolean;
|
@@ -694,7 +694,7 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
694
694
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
695
695
|
onShow?: (() => any) | undefined;
|
696
696
|
onHide?: (() => any) | undefined;
|
697
|
-
}>, "show" | "hide" | ("
|
697
|
+
}>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
698
698
|
hide(): void;
|
699
699
|
show(): void;
|
700
700
|
updatePosition(x: number, y: number): void;
|
@@ -725,14 +725,14 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
725
725
|
readonly tagNowrap?: boolean | undefined;
|
726
726
|
readonly fieldNames?: Record<string, string> | undefined;
|
727
727
|
readonly allowCreate?: boolean | undefined;
|
728
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
728
729
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
729
|
-
readonly onInput?: ((value: string) => any) | undefined;
|
730
730
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
731
|
-
readonly
|
732
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
731
|
+
readonly onInput?: ((value: string) => any) | undefined;
|
733
732
|
readonly "onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
734
733
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
735
734
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
735
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
736
736
|
readonly "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
737
737
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
738
738
|
$attrs: {
|
@@ -750,30 +750,30 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
750
750
|
$root: import('vue').ComponentPublicInstance | null;
|
751
751
|
$parent: import('vue').ComponentPublicInstance | null;
|
752
752
|
$host: Element | null;
|
753
|
-
$emit: ((event: "
|
753
|
+
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
|
754
754
|
$el: HTMLDivElement;
|
755
755
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../InputTag').InputTagProps> & Readonly<{
|
756
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
756
757
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
757
|
-
onInput?: ((value: string) => any) | undefined;
|
758
758
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
759
|
-
|
760
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
759
|
+
onInput?: ((value: string) => any) | undefined;
|
761
760
|
"onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
762
761
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
763
762
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
763
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
764
764
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
765
765
|
}>, {
|
766
766
|
focus(): void;
|
767
767
|
blur(): void;
|
768
768
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
769
|
+
focus: (ev: FocusEvent) => any;
|
769
770
|
clear: (ev: MouseEvent) => any;
|
770
|
-
input: (value: string) => any;
|
771
771
|
blur: (ev: FocusEvent) => any;
|
772
|
-
|
773
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
772
|
+
input: (value: string) => any;
|
774
773
|
"update:modelValue": (value: InputTagValue) => any;
|
775
774
|
"update:inputValue": (value: string) => any;
|
776
775
|
"input-value-change": (value: string, ev: Event) => any;
|
776
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
777
777
|
"press-enter": (ev: KeyboardEvent) => any;
|
778
778
|
}, string, {
|
779
779
|
error: boolean;
|
@@ -836,16 +836,16 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
836
836
|
};
|
837
837
|
uniqueValue: boolean;
|
838
838
|
}> & Omit<Readonly<import('../InputTag').InputTagProps> & Readonly<{
|
839
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
839
840
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
840
|
-
onInput?: ((value: string) => any) | undefined;
|
841
841
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
842
|
-
|
843
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
842
|
+
onInput?: ((value: string) => any) | undefined;
|
844
843
|
"onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
845
844
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
846
845
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
846
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
847
847
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
848
|
-
}>, "
|
848
|
+
}>, "focus" | "blur" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
849
849
|
focus(): void;
|
850
850
|
blur(): void;
|
851
851
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
package/es/Select/Select.vue.js
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, ref, computed, createBlock, openBlock, unref, mergeProps, isRef, withCtx, createElementVNode, normalizeStyle, normalizeClass, renderSlot, createVNode, toDisplayString, createCommentVNode } from "vue";
|
2
|
-
import { isUndefined } from "../_shared/utils/is.js";
|
3
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 { isUndefined } from "../_shared/utils/is.js";
|
11
|
+
import "../_shared/utils/locale.js";
|
12
|
+
import "../_shared/utils/time.js";
|
4
13
|
import useSelectContext from "./hooks/useContext.js";
|
5
14
|
import _sfc_main$1 from "./SelectIcon.vue.js";
|
6
15
|
/* empty css */
|
@@ -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 useSelectContext 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,4 +1,14 @@
|
|
1
1
|
import { defineComponent, ref, createBlock, openBlock, unref, withCtx, createElementVNode, createElementBlock, resolveDynamicComponent, Fragment, renderList } 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";
|
10
|
+
import "../_shared/utils/locale.js";
|
11
|
+
import "../_shared/utils/time.js";
|
2
12
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
3
13
|
import useSelectContext from "./hooks/useContext.js";
|
4
14
|
import _sfc_main$2 from "./Option.vue.js";
|
@@ -1,5 +1,15 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createElementBlock, openBlock, createBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createCommentVNode } from "vue";
|
2
|
+
import "../_shared/utils/dom.js";
|
2
3
|
import { unrefElement } 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 "../_shared/utils/locale.js";
|
12
|
+
import "../_shared/utils/time.js";
|
3
13
|
import useSelectContext from "./hooks/useContext.js";
|
4
14
|
import useScrollReach from "../List/hooks/useScrollReach.js";
|
5
15
|
import _sfc_main$1 from "./SelectVirtualList.vue.js";
|
@@ -1,8 +1,17 @@
|
|
1
1
|
import { defineComponent, toRefs, createElementBlock, openBlock, mergeProps, unref, createElementVNode, Fragment, renderList, createBlock, withCtx, resolveDynamicComponent } from "vue";
|
2
|
+
import "../_shared/utils/dom.js";
|
3
|
+
import { useVirtualList } 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 "../_shared/utils/locale.js";
|
12
|
+
import "../_shared/utils/time.js";
|
2
13
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
3
14
|
import useSelectContext from "./hooks/useContext.js";
|
4
|
-
import "./index.js";
|
5
|
-
import { useVirtualList } from "../node_modules/@vueuse/core/index.js";
|
6
15
|
import _sfc_main$1 from "./Option.vue.js";
|
7
16
|
/* empty css */
|
8
17
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -35,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
35
44
|
return openBlock(), createElementBlock("div", mergeProps({ class: "yc-select-dropdown-virtual-list" }, unref(containerProps)), [
|
36
45
|
createElementVNode("div", mergeProps({ class: "yc-select-dropdown-list" }, unref(wrapperProps)), [
|
37
46
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(list), ({ data: v }) => {
|
38
|
-
return openBlock(), createBlock(
|
47
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
39
48
|
key: v[unref(fieldKey).value],
|
40
49
|
value: v[unref(fieldKey).value],
|
41
50
|
disabled: v[unref(fieldKey).disabled],
|
@@ -1,6 +1,16 @@
|
|
1
1
|
import { toRefs, computed, provide, useSlots, 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 { isBoolean, 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
|
import useSelectOptions from "./useSelectOptions.js";
|
5
15
|
import useSelectHotkeys from "./useSelectHotkeys.js";
|
6
16
|
const SELECT_CONTEXT_KEY = "select-context";
|
@@ -1,5 +1,15 @@
|
|
1
1
|
import { ref } from "vue";
|
2
|
+
import "../../_shared/utils/dom.js";
|
2
3
|
import { onKeyStroke } 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 "../../_shared/utils/locale.js";
|
12
|
+
import "../../_shared/utils/time.js";
|
3
13
|
const useSelectHotkeys = (params) => {
|
4
14
|
const {
|
5
15
|
computedValue,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
|
+
import { SelectProps, SelectValue, SelectOption, SelectOptionData, SelectOptionValue } from '../type';
|
2
3
|
import { RecordType } from '../../_shared/type';
|
3
|
-
import { SelectProps, SelectValue, SelectOption, SelectOptionData, SelectOptionValue } from '../index';
|
4
4
|
declare const _default: (params: {
|
5
5
|
multiple: Ref<boolean>;
|
6
6
|
computedValue: Ref<SelectValue>;
|
@@ -1,6 +1,16 @@
|
|
1
1
|
import { reactive, computed, ref, onMounted } from "vue";
|
2
|
+
import "../../_shared/utils/dom.js";
|
2
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";
|
3
11
|
import { isUndefined, isNull, isString, isObject } from "../../_shared/utils/is.js";
|
12
|
+
import "../../_shared/utils/locale.js";
|
13
|
+
import "../../_shared/utils/time.js";
|
4
14
|
const useSelectOptions = (params) => {
|
5
15
|
const {
|
6
16
|
computedValue,
|