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
package/lib/Affix/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../_shared/utils/
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../_shared/utils/dom.js"),o=require("../node_modules/@vueuse/core/index.js");require("../node_modules/b-tween/dist/b-tween.es.js"),require("../node_modules/dayjs/dayjs.min.js"),require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../node_modules/dayjs/plugin/duration.js"),require("../node_modules/dayjs/plugin/toObject.js"),require("../node_modules/dayjs/plugin/isSameOrAfter.js"),require("../node_modules/dayjs/plugin/isSameOrBefore.js");const l=require("../_shared/utils/is.js");require("../_shared/utils/locale.js"),require("../_shared/utils/time.js");const r=e.defineComponent({name:"Affix",inheritAttrs:!1,__name:"index",props:{offsetTop:{default:0},offsetBottom:{default:void 0},target:{default:void 0},targetContainer:{default:void 0}},emits:["change"],setup(r,{expose:s,emit:u}){const a=r,i=u,{target:n,targetContainer:d,offsetTop:f,offsetBottom:v}=e.toRefs(a),m=e.ref(),c=e.ref(),p=e.computed(()=>l.isUndefined(n.value)?t.findFirstScrollableParent(m.value):t.getElement(n.value)),g=e.computed(()=>l.isUndefined(d.value)?t.findFirstScrollableParent(m.value):t.getElement(d.value)),j=e.ref(!1),y=e.ref({}),_=e.ref(0),x=e.ref(0);o.useResizeObserver(m,()=>{const{width:e,height:t}=m.value.getBoundingClientRect();_.value=e,x.value=t,h()},{box:"border-box"}),e.watch(()=>j.value,e=>{i("change",e)});const h=t.throttleByRaf(()=>{if(!p.value||!g.value||!c.value)return;const{top:e,bottom:o}=c.value.getBoundingClientRect(),{top:r,bottom:s}=g.value.getBoundingClientRect();j.value=l.isUndefined(v.value)?e-r<=f.value:s-o<=v.value,j.value?y.value=l.isUndefined(v.value)?{position:"fixed",top:t.valueToPx(r+f.value)}:{position:"fixed",bottom:t.valueToPx(v.value)}:y.value={}});return o.useEventListener(p,"scroll",h),s({updatePosition(){h()}}),(o,l)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:c},[j.value?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({width:e.unref(t.valueToPx)(_.value),height:e.unref(t.valueToPx)(x.value)})},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"yc-affix":j.value},o.$attrs.class]),style:e.normalizeStyle({...y.value,...o.$attrs.style||{}}),ref_key:"affixRef",ref:m},[e.renderSlot(o.$slots,"default")],6)],512))}});exports.default=r;
|
package/lib/Alert/index.d.ts
CHANGED
@@ -10,9 +10,9 @@ declare const Alert: {
|
|
10
10
|
close: (ev: MouseEvent) => any;
|
11
11
|
"after-close": () => any;
|
12
12
|
}, import('vue').PublicProps, {
|
13
|
+
center: boolean;
|
13
14
|
type: import('..').Type<"normal">;
|
14
15
|
title: string;
|
15
|
-
center: boolean;
|
16
16
|
closable: boolean;
|
17
17
|
showIcon: boolean;
|
18
18
|
banner: boolean;
|
@@ -27,9 +27,9 @@ declare const Alert: {
|
|
27
27
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
28
28
|
"onAfter-close"?: (() => any) | undefined;
|
29
29
|
}>, {}, {}, {}, {}, {
|
30
|
+
center: boolean;
|
30
31
|
type: import('..').Type<"normal">;
|
31
32
|
title: string;
|
32
|
-
center: boolean;
|
33
33
|
closable: boolean;
|
34
34
|
showIcon: boolean;
|
35
35
|
banner: boolean;
|
@@ -44,9 +44,9 @@ declare const Alert: {
|
|
44
44
|
close: (ev: MouseEvent) => any;
|
45
45
|
"after-close": () => any;
|
46
46
|
}, string, {
|
47
|
+
center: boolean;
|
47
48
|
type: import('..').Type<"normal">;
|
48
49
|
title: string;
|
49
|
-
center: boolean;
|
50
50
|
closable: boolean;
|
51
51
|
showIcon: boolean;
|
52
52
|
banner: boolean;
|
package/lib/Alert/index.vue.d.ts
CHANGED
@@ -13,9 +13,9 @@ declare const __VLS_component: import('vue').DefineComponent<AlertProps, {}, {},
|
|
13
13
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
14
14
|
"onAfter-close"?: (() => any) | undefined;
|
15
15
|
}>, {
|
16
|
+
center: boolean;
|
16
17
|
type: import('..').Type<"normal">;
|
17
18
|
title: string;
|
18
|
-
center: boolean;
|
19
19
|
closable: boolean;
|
20
20
|
showIcon: boolean;
|
21
21
|
banner: boolean;
|
package/lib/Alert/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../_shared/constants/index.js"),o=;/* empty css
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../_shared/constants/index.js"),o=;/* empty css */,/* empty css */require("../_shared/utils/dom.js"),require("../node_modules/b-tween/dist/b-tween.es.js"),require("../node_modules/dayjs/dayjs.min.js"),require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../node_modules/dayjs/plugin/duration.js"),require("../node_modules/dayjs/plugin/toObject.js"),require("../node_modules/dayjs/plugin/isSameOrAfter.js"),require("../node_modules/dayjs/plugin/isSameOrBefore.js"),require("../_shared/utils/locale.js"),require("../_shared/utils/time.js"),/* empty css */;/* empty css */const l={key:0,class:"yc-alert-icon"},n={class:"yc-alert-body"},r={key:0,class:"yc-alert-title"},s={class:"yc-alert-content"},a={key:1,class:"yc-alert-action"},c=e.defineComponent({name:"Alert",__name:"index",props:{type:{default:"info"},showIcon:{type:Boolean,default:!0},closable:{type:Boolean,default:!1},title:{default:""},banner:{type:Boolean,default:!1},center:{type:Boolean,default:!1}},emits:["close","after-close"],setup(c,{emit:i}){const d=e.useSlots(),u=i,m=e.ref(!0),y=e=>{m.value=!1,u("close",e)};return(c,i)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slide-dynamic-origin",onAfterLeave:i[0]||(i[0]=e=>c.$emit("after-close"))},{default:e.withCtx(()=>[m.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-alert",`yc-alert-${c.type}`,{"yc-alert-has-title":c.title||d.title,"yc-alert-center":c.center||c.banner,"yc-alert-banner":c.banner}])},[c.showIcon?(e.openBlock(),e.createElementBlock("div",l,[e.renderSlot(c.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(t.TYPE_ICON_MAP)[c.type])))])])):e.createCommentVNode("",!0),e.createElementVNode("div",n,[d.title||c.title?(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(c.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(c.title),1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",s,[e.renderSlot(c.$slots,"default")])]),d.action?(e.openBlock(),e.createElementBlock("div",a,[e.renderSlot(c.$slots,"action")])):e.createCommentVNode("",!0),c.closable?(e.openBlock(),e.createElementBlock("div",{key:2,class:"yc-alert-close-btn",role:"button","aria-label":"Close",onClick:y},[e.renderSlot(c.$slots,"close-element",{},()=>[e.createVNode(e.unref(o.default))])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)]),_:3}))}});exports.default=c;
|
package/lib/Anchor/Anchor.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../_shared/utils/dom.js");require("../node_modules/b-tween/dist/b-tween.es.js"),require("../node_modules/dayjs/dayjs.min.js"),require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../node_modules/dayjs/plugin/duration.js"),require("../node_modules/dayjs/plugin/toObject.js"),require("../node_modules/dayjs/plugin/isSameOrAfter.js"),require("../node_modules/dayjs/plugin/isSameOrBefore.js"),require("../_shared/utils/locale.js"),require("../_shared/utils/time.js");const l=require("./hooks/useContext.js"),r={class:"yc-anchor"},s={key:0,class:"yc-anchor-line-track"},t=e.defineComponent({name:"Anchor",__name:"Anchor",props:{boundary:{default:"start"},lineLess:{type:Boolean,default:!1},scrollContainer:{default:void 0},changeHash:{type:Boolean,default:!0},smooth:{type:Boolean,default:!0}},setup(t){const n=t,u=e.ref(),a=e.ref([]),{curHref:d,hrefs:i}=l.default().provide(n,u),c=e.computed(()=>{const e=i.value.findIndex(e=>e==d.value);return a.value.slice(0,e+1).map(e=>e.offsetHeight).reduce((o,l,r)=>r==e?o+(l-12)/2:o+l,0)+2*e});return e.onMounted(()=>{i.value.length&&(d.value=i.value[0],a.value=[...u.value.querySelectorAll(".yc-anchor-link")])}),(l,t)=>(e.openBlock(),e.createElementBlock("div",r,[l.lineLess?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",s,[e.createElementVNode("div",{class:"yc-anchor-line-slider",style:e.normalizeStyle({top:e.unref(o.valueToPx)(c.value)})},null,4)])),e.createElementVNode("div",{class:"yc-anchor-list",ref_key:"listRef",ref:u},[e.renderSlot(l.$slots,"default")],512)]))}});exports.default=t;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../_shared/utils/dom.js");require("../node_modules/b-tween/dist/b-tween.es.js"),require("../node_modules/dayjs/dayjs.min.js"),require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../node_modules/dayjs/plugin/duration.js"),require("../node_modules/dayjs/plugin/toObject.js"),require("../node_modules/dayjs/plugin/isSameOrAfter.js"),require("../node_modules/dayjs/plugin/isSameOrBefore.js");const s=require("../_shared/utils/is.js");require("../_shared/utils/locale.js"),require("../_shared/utils/time.js");const r=require("./hooks/useContext.js"),l=["href"],t={key:0,class:"yc-anchor-sublist"},n=e.defineComponent({name:"AnchorLink",__name:"AnchorLink",props:{title:{default:""},href:{default:""}},setup(n){const u=e.useSlots(),i=n,{href:a}=e.toRefs(i),{smooth:c,boundary:d,changeHash:m,curHref:f,lineLess:h,scrollContainer:v}=r.default().inject(),j=e=>{if(f.value=a.value,m.value)return;e.preventDefault();const r=o.getElement(a.value);if(r)if(s.isNumber(d.value)&&v.value){const{top:e}=r.getBoundingClientRect(),{top:o}=v.value.getBoundingClientRect(),{scrollTop:s}=v.value;v.value.scrollTo({top:e-o+s-d.value,behavior:c.value?"smooth":"auto"})}else r.scrollIntoView({block:d.value,behavior:c.value?"smooth":"auto"})};return(o,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-anchor-link-item",{"yc-anchor-link-active":e.unref(f)==e.unref(a)&&!e.unref(h),"yc-anchor-link-lineless-active":e.unref(f)==e.unref(a)&&e.unref(h)}])},[e.createElementVNode("a",{href:e.unref(a),class:"yc-anchor-link",onClick:j,ref:"linkRef"},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)])],8,l),u.sublist?(e.openBlock(),e.createElementBlock("div",t,[e.renderSlot(o.$slots,"sublist")])):e.createCommentVNode("",!0)],2))}});exports.default=n;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../_shared/utils/dom.js"),s=require("../../_shared/utils/
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../_shared/utils/dom.js");require("../../node_modules/b-tween/dist/b-tween.es.js"),require("../../node_modules/dayjs/dayjs.min.js"),require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("../../node_modules/dayjs/plugin/duration.js"),require("../../node_modules/dayjs/plugin/toObject.js"),require("../../node_modules/dayjs/plugin/isSameOrAfter.js"),require("../../node_modules/dayjs/plugin/isSameOrBefore.js");const s=require("../../_shared/utils/is.js");require("../../_shared/utils/locale.js"),require("../../_shared/utils/time.js");const o=require("../../_shared/utils/vue-utils.js"),n=require("../AnchorLink.vue.js");;/* empty css */const u="anchor-context";exports.default=function(){return{provide:(i,t)=>{const{changeHash:l,smooth:a,boundary:d,lineLess:c,scrollContainer:m}=e.toRefs(i),j=e.useSlots(),f=e.ref(""),h=e.computed(()=>{var e;return o.findComponentsFromVnodes((null==(e=j.default)?void 0:e.call(j))||[],n.default.name).map(e=>{var r;return null==(r=e.props)?void 0:r.href})}),p=e.computed(()=>s.isUndefined(m.value)?r.findFirstScrollableParent(t.value):r.getElement(m.value));return e.provide(u,{changeHash:l,smooth:a,boundary:d,lineLess:c,curHref:f,scrollContainer:p}),{hrefs:h,curHref:f,changeHash:l,smooth:a,boundary:d,lineLess:c,scrollContainer:p}},inject:()=>e.inject(u,{changeHash:e.ref(!0),smooth:e.ref(!0),boundary:e.ref("start"),curHref:e.ref(""),lineLess:e.ref(!1),scrollContainer:e.ref()})}};
|
@@ -5,13 +5,13 @@ export * from './type';
|
|
5
5
|
declare const AutoComplete: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').AutoCompleteProps> & Readonly<{
|
7
7
|
onChange?: ((value: string) => any) | undefined;
|
8
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
8
9
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
9
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
10
|
-
onSearch?: ((value: string) => any) | undefined;
|
11
|
-
onSelect?: ((value: string) => any) | undefined;
|
12
10
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
13
|
-
|
11
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
14
12
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
13
|
+
onSelect?: ((value: string) => any) | undefined;
|
14
|
+
onSearch?: ((value: string) => any) | undefined;
|
15
15
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
16
16
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
17
17
|
"onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -23,22 +23,22 @@ declare const AutoComplete: {
|
|
23
23
|
updatePosition(x: number, y: number): void;
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
25
25
|
change: (value: string) => any;
|
26
|
+
focus: (ev: FocusEvent) => any;
|
26
27
|
clear: (ev?: Event | undefined) => any;
|
27
|
-
input: (value: string, ev: Event) => any;
|
28
|
-
search: (value: string) => any;
|
29
|
-
select: (value: string) => any;
|
30
28
|
blur: (ev: FocusEvent) => any;
|
31
|
-
|
29
|
+
input: (value: string, ev: Event) => any;
|
32
30
|
keydown: (ev: KeyboardEvent) => any;
|
31
|
+
select: (value: string) => any;
|
32
|
+
search: (value: string) => any;
|
33
33
|
"update:modelValue": (value: string) => any;
|
34
34
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|
35
35
|
"dropdown-reach-bottom": (ev?: Event | undefined) => any;
|
36
36
|
}, import('vue').PublicProps, {
|
37
|
-
type: "textarea" | "input";
|
38
|
-
data: import('..').SelectOption[];
|
39
|
-
popupContainer: import('..').PopupContainer;
|
40
37
|
disabled: boolean;
|
38
|
+
popupContainer: import('..').PopupContainer;
|
41
39
|
strict: boolean;
|
40
|
+
type: "textarea" | "input";
|
41
|
+
data: import('..').SelectOption[];
|
42
42
|
modelValue: string;
|
43
43
|
defaultValue: string;
|
44
44
|
allowClear: boolean;
|
@@ -88,15 +88,15 @@ declare const AutoComplete: {
|
|
88
88
|
readonly hotkeys?: boolean | undefined;
|
89
89
|
readonly showEmpty?: boolean | undefined;
|
90
90
|
readonly onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
91
|
-
readonly onClear?: (() => any) | undefined;
|
92
|
-
readonly onSearch?: ((value: string) => any) | undefined;
|
93
|
-
readonly onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
94
|
-
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
95
91
|
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
96
92
|
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
93
|
+
readonly onClear?: (() => any) | undefined;
|
94
|
+
readonly onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
95
|
+
readonly onSearch?: ((value: string) => any) | undefined;
|
97
96
|
readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
98
97
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
99
98
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
99
|
+
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
100
100
|
readonly onExceedLimit?: ((value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
101
101
|
readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
102
102
|
readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
@@ -246,8 +246,6 @@ declare const AutoComplete: {
|
|
246
246
|
show: () => any;
|
247
247
|
hide: () => any;
|
248
248
|
}, string, {
|
249
|
-
popupContainer: import('..').PopupContainer;
|
250
|
-
renderToBody: boolean;
|
251
249
|
trigger: import('..').TriggerType;
|
252
250
|
mouseEnterDelay: number;
|
253
251
|
popupVisible: boolean;
|
@@ -275,6 +273,8 @@ declare const AutoComplete: {
|
|
275
273
|
duration: number;
|
276
274
|
autoFitPopupWidth: boolean;
|
277
275
|
autoFitPopupMinWidth: boolean;
|
276
|
+
popupContainer: import('..').PopupContainer;
|
277
|
+
renderToBody: boolean;
|
278
278
|
autoFitPosition: boolean;
|
279
279
|
updateAtScroll: boolean;
|
280
280
|
preventFocus: boolean;
|
@@ -300,8 +300,6 @@ declare const AutoComplete: {
|
|
300
300
|
$nextTick: typeof import('vue').nextTick;
|
301
301
|
$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;
|
302
302
|
} & Readonly<{
|
303
|
-
popupContainer: import('..').PopupContainer;
|
304
|
-
renderToBody: boolean;
|
305
303
|
trigger: import('..').TriggerType;
|
306
304
|
mouseEnterDelay: number;
|
307
305
|
popupVisible: boolean;
|
@@ -329,6 +327,8 @@ declare const AutoComplete: {
|
|
329
327
|
duration: number;
|
330
328
|
autoFitPopupWidth: boolean;
|
331
329
|
autoFitPopupMinWidth: boolean;
|
330
|
+
popupContainer: import('..').PopupContainer;
|
331
|
+
renderToBody: boolean;
|
332
332
|
autoFitPosition: boolean;
|
333
333
|
updateAtScroll: boolean;
|
334
334
|
preventFocus: boolean;
|
@@ -338,7 +338,7 @@ declare const AutoComplete: {
|
|
338
338
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
339
339
|
onShow?: (() => any) | undefined;
|
340
340
|
onHide?: (() => any) | undefined;
|
341
|
-
}>, "show" | "hide" | ("
|
341
|
+
}>, "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<{
|
342
342
|
hide(): void;
|
343
343
|
show(): void;
|
344
344
|
updatePosition(x: number, y: number): void;
|
@@ -369,14 +369,14 @@ declare const AutoComplete: {
|
|
369
369
|
readonly tagNowrap?: boolean | undefined;
|
370
370
|
readonly fieldNames?: Record<string, string> | undefined;
|
371
371
|
readonly allowCreate?: boolean | undefined;
|
372
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
372
373
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
373
|
-
readonly onInput?: ((value: string) => any) | undefined;
|
374
374
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
375
|
-
readonly
|
376
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
375
|
+
readonly onInput?: ((value: string) => any) | undefined;
|
377
376
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
378
377
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
379
378
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
379
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
380
380
|
readonly "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
381
381
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
382
382
|
$attrs: {
|
@@ -394,30 +394,30 @@ declare const AutoComplete: {
|
|
394
394
|
$root: import('vue').ComponentPublicInstance | null;
|
395
395
|
$parent: import('vue').ComponentPublicInstance | null;
|
396
396
|
$host: Element | null;
|
397
|
-
$emit: ((event: "
|
397
|
+
$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: import('..').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);
|
398
398
|
$el: HTMLDivElement;
|
399
399
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
400
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
400
401
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
401
|
-
onInput?: ((value: string) => any) | undefined;
|
402
402
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
403
|
-
|
404
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
403
|
+
onInput?: ((value: string) => any) | undefined;
|
405
404
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
406
405
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
407
406
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
407
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
408
408
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
409
409
|
}>, {
|
410
410
|
focus(): void;
|
411
411
|
blur(): void;
|
412
412
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
413
|
+
focus: (ev: FocusEvent) => any;
|
413
414
|
clear: (ev: MouseEvent) => any;
|
414
|
-
input: (value: string) => any;
|
415
415
|
blur: (ev: FocusEvent) => any;
|
416
|
-
|
417
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
416
|
+
input: (value: string) => any;
|
418
417
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
419
418
|
"update:inputValue": (value: string) => any;
|
420
419
|
"input-value-change": (value: string, ev: Event) => any;
|
420
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
421
421
|
"press-enter": (ev: KeyboardEvent) => any;
|
422
422
|
}, string, {
|
423
423
|
error: boolean;
|
@@ -480,16 +480,16 @@ declare const AutoComplete: {
|
|
480
480
|
};
|
481
481
|
uniqueValue: boolean;
|
482
482
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
483
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
483
484
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
484
|
-
onInput?: ((value: string) => any) | undefined;
|
485
485
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
486
|
-
|
487
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
486
|
+
onInput?: ((value: string) => any) | undefined;
|
488
487
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
489
488
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
490
489
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
490
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
491
491
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
492
|
-
}>, "
|
492
|
+
}>, "focus" | "blur" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
493
493
|
focus(): void;
|
494
494
|
blur(): void;
|
495
495
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -502,19 +502,19 @@ declare const AutoComplete: {
|
|
502
502
|
$root: import('vue').ComponentPublicInstance | null;
|
503
503
|
$parent: import('vue').ComponentPublicInstance | null;
|
504
504
|
$host: Element | null;
|
505
|
-
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "
|
505
|
+
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('..').SelectOptionValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('..').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "exceedLimit", value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
506
506
|
$el: any;
|
507
507
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
|
508
508
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
509
|
-
onClear?: (() => any) | undefined;
|
510
|
-
onSearch?: ((value: string) => any) | undefined;
|
511
|
-
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
512
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
513
509
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
514
510
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
511
|
+
onClear?: (() => any) | undefined;
|
512
|
+
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
513
|
+
onSearch?: ((value: string) => any) | undefined;
|
515
514
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
516
515
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
517
516
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
517
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
518
518
|
onExceedLimit?: ((value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
519
519
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
520
520
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
@@ -524,25 +524,25 @@ declare const AutoComplete: {
|
|
524
524
|
getPopupRef(): import('..').TriggerInstance;
|
525
525
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
526
526
|
change: (value: import('..').SelectValue) => any;
|
527
|
-
clear: () => any;
|
528
|
-
search: (value: string) => any;
|
529
|
-
select: (value: import('..').SelectOptionValue) => any;
|
530
|
-
remove: (index: string | number, ev: Event) => any;
|
531
527
|
"update:popupVisible": (value: boolean) => any;
|
532
528
|
"popup-visible-change": (value: boolean) => any;
|
529
|
+
clear: () => any;
|
530
|
+
select: (value: import('..').SelectOptionValue) => any;
|
531
|
+
search: (value: string) => any;
|
533
532
|
"update:modelValue": (value: import('..').SelectValue) => any;
|
534
533
|
"update:inputValue": (value: string) => any;
|
535
534
|
"input-value-change": (value: string) => any;
|
535
|
+
remove: (index: string | number, ev: Event) => any;
|
536
536
|
exceedLimit: (value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any;
|
537
537
|
"dropdown-scroll": (ev: Event) => any;
|
538
538
|
"dropdown-reach-bottom": (ev: Event) => any;
|
539
539
|
}, string, {
|
540
540
|
error: boolean;
|
541
541
|
size: import('..').Size;
|
542
|
-
popupContainer: import('..').PopupContainer;
|
543
542
|
popupVisible: boolean;
|
544
543
|
defaultPopupVisible: boolean;
|
545
544
|
disabled: boolean;
|
545
|
+
popupContainer: import('..').PopupContainer;
|
546
546
|
scrollbar: boolean;
|
547
547
|
multiple: boolean;
|
548
548
|
placeholder: string;
|
@@ -592,10 +592,10 @@ declare const AutoComplete: {
|
|
592
592
|
} & Readonly<{
|
593
593
|
error: boolean;
|
594
594
|
size: import('..').Size;
|
595
|
-
popupContainer: import('..').PopupContainer;
|
596
595
|
popupVisible: boolean;
|
597
596
|
defaultPopupVisible: boolean;
|
598
597
|
disabled: boolean;
|
598
|
+
popupContainer: import('..').PopupContainer;
|
599
599
|
scrollbar: boolean;
|
600
600
|
multiple: boolean;
|
601
601
|
placeholder: string;
|
@@ -624,19 +624,19 @@ declare const AutoComplete: {
|
|
624
624
|
tagNowrap: boolean;
|
625
625
|
}> & Omit<Readonly<import('..').SelectProps> & Readonly<{
|
626
626
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
627
|
-
onClear?: (() => any) | undefined;
|
628
|
-
onSearch?: ((value: string) => any) | undefined;
|
629
|
-
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
630
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
631
627
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
632
628
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
629
|
+
onClear?: (() => any) | undefined;
|
630
|
+
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
631
|
+
onSearch?: ((value: string) => any) | undefined;
|
633
632
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
634
633
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
635
634
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
635
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
636
636
|
onExceedLimit?: ((value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
637
637
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
638
638
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
639
|
-
}>, "
|
639
|
+
}>, "focus" | "blur" | ("error" | "size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
640
640
|
focus(): void;
|
641
641
|
blur(): void;
|
642
642
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -645,10 +645,10 @@ declare const AutoComplete: {
|
|
645
645
|
}) | null;
|
646
646
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').TextareaProps> & Readonly<{
|
647
647
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
648
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
648
649
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
649
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
650
650
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
651
|
-
|
651
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
652
652
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
653
653
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
654
654
|
}>, {
|
@@ -658,10 +658,10 @@ declare const AutoComplete: {
|
|
658
658
|
getMirrorRef(): HTMLDivElement;
|
659
659
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
660
660
|
change: (value: string, ev: Event) => any;
|
661
|
+
focus: (ev: FocusEvent) => any;
|
661
662
|
clear: (ev: MouseEvent) => any;
|
662
|
-
input: (value: string, ev: Event) => any;
|
663
663
|
blur: (ev: FocusEvent) => any;
|
664
|
-
|
664
|
+
input: (value: string, ev: Event) => any;
|
665
665
|
keydown: (ev: KeyboardEvent) => any;
|
666
666
|
"update:modelValue": (value: string) => any;
|
667
667
|
}, import('vue').PublicProps, {
|
@@ -691,10 +691,10 @@ declare const AutoComplete: {
|
|
691
691
|
Defaults: {};
|
692
692
|
}, Readonly<import('..').TextareaProps> & Readonly<{
|
693
693
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
694
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
694
695
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
695
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
696
696
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
697
|
-
|
697
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
698
698
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
699
699
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
700
700
|
}>, {
|
@@ -727,13 +727,13 @@ declare const AutoComplete: {
|
|
727
727
|
Defaults: {};
|
728
728
|
}, Readonly<import('./type').AutoCompleteProps> & Readonly<{
|
729
729
|
onChange?: ((value: string) => any) | undefined;
|
730
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
730
731
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
731
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
732
|
-
onSearch?: ((value: string) => any) | undefined;
|
733
|
-
onSelect?: ((value: string) => any) | undefined;
|
734
732
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
735
|
-
|
733
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
736
734
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
735
|
+
onSelect?: ((value: string) => any) | undefined;
|
736
|
+
onSearch?: ((value: string) => any) | undefined;
|
737
737
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
738
738
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
739
739
|
"onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -744,11 +744,11 @@ declare const AutoComplete: {
|
|
744
744
|
getMirrorRef(): HTMLDivElement | undefined;
|
745
745
|
updatePosition(x: number, y: number): void;
|
746
746
|
}, {}, {}, {}, {
|
747
|
-
type: "textarea" | "input";
|
748
|
-
data: import('..').SelectOption[];
|
749
|
-
popupContainer: import('..').PopupContainer;
|
750
747
|
disabled: boolean;
|
748
|
+
popupContainer: import('..').PopupContainer;
|
751
749
|
strict: boolean;
|
750
|
+
type: "textarea" | "input";
|
751
|
+
data: import('..').SelectOption[];
|
752
752
|
modelValue: string;
|
753
753
|
defaultValue: string;
|
754
754
|
allowClear: boolean;
|
@@ -762,13 +762,13 @@ declare const AutoComplete: {
|
|
762
762
|
__isSuspense?: never;
|
763
763
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').AutoCompleteProps> & Readonly<{
|
764
764
|
onChange?: ((value: string) => any) | undefined;
|
765
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
765
766
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
766
|
-
onInput?: ((value: string, ev: Event) => any) | undefined;
|
767
|
-
onSearch?: ((value: string) => any) | undefined;
|
768
|
-
onSelect?: ((value: string) => any) | undefined;
|
769
767
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
770
|
-
|
768
|
+
onInput?: ((value: string, ev: Event) => any) | undefined;
|
771
769
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
770
|
+
onSelect?: ((value: string) => any) | undefined;
|
771
|
+
onSearch?: ((value: string) => any) | undefined;
|
772
772
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
773
773
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
774
774
|
"onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -780,22 +780,22 @@ declare const AutoComplete: {
|
|
780
780
|
updatePosition(x: number, y: number): void;
|
781
781
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
782
782
|
change: (value: string) => any;
|
783
|
+
focus: (ev: FocusEvent) => any;
|
783
784
|
clear: (ev?: Event | undefined) => any;
|
784
|
-
input: (value: string, ev: Event) => any;
|
785
|
-
search: (value: string) => any;
|
786
|
-
select: (value: string) => any;
|
787
785
|
blur: (ev: FocusEvent) => any;
|
788
|
-
|
786
|
+
input: (value: string, ev: Event) => any;
|
789
787
|
keydown: (ev: KeyboardEvent) => any;
|
788
|
+
select: (value: string) => any;
|
789
|
+
search: (value: string) => any;
|
790
790
|
"update:modelValue": (value: string) => any;
|
791
791
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|
792
792
|
"dropdown-reach-bottom": (ev?: Event | undefined) => any;
|
793
793
|
}, string, {
|
794
|
-
type: "textarea" | "input";
|
795
|
-
data: import('..').SelectOption[];
|
796
|
-
popupContainer: import('..').PopupContainer;
|
797
794
|
disabled: boolean;
|
795
|
+
popupContainer: import('..').PopupContainer;
|
798
796
|
strict: boolean;
|
797
|
+
type: "textarea" | "input";
|
798
|
+
data: import('..').SelectOption[];
|
799
799
|
modelValue: string;
|
800
800
|
defaultValue: string;
|
801
801
|
allowClear: boolean;
|