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
@@ -1,15 +1,15 @@
|
|
1
1
|
import { NotificationProps } from './type';
|
2
2
|
declare const _default: import('vue').DefineComponent<NotificationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NotificationProps> & Readonly<{}>, {
|
3
|
+
duration: number;
|
4
|
+
content: import('..').RenderContent;
|
5
|
+
style: import('vue').CSSProperties;
|
6
|
+
icon: import('vue').RenderFunction;
|
3
7
|
type: import('..').Type;
|
4
8
|
footer: import('vue').RenderFunction;
|
5
|
-
style: import('vue').CSSProperties;
|
6
9
|
title: import('..').RenderContent;
|
7
|
-
onClose: (id: string | number) => void;
|
8
10
|
class: import('..').ClassName;
|
9
|
-
duration: number;
|
10
|
-
content: import('..').RenderContent;
|
11
|
-
icon: import('vue').RenderFunction;
|
12
11
|
closable: boolean;
|
12
|
+
onClose: (id: string | number) => void;
|
13
13
|
id: string;
|
14
14
|
showIcon: boolean;
|
15
15
|
isReset: boolean;
|
@@ -1,10 +1,19 @@
|
|
1
1
|
import { defineComponent, toRefs, watch, onMounted, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, resolveDynamicComponent, withCtx } from "vue";
|
2
2
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
3
|
+
import "../_shared/utils/dom.js";
|
4
|
+
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
|
+
import "../node_modules/dayjs/dayjs.min.js";
|
6
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
7
|
+
import "../node_modules/dayjs/plugin/duration.js";
|
8
|
+
import "../node_modules/dayjs/plugin/toObject.js";
|
9
|
+
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
|
+
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
3
11
|
import { isUndefined, isFunction } from "../_shared/utils/is.js";
|
12
|
+
import "../_shared/utils/locale.js";
|
13
|
+
import "../_shared/utils/time.js";
|
4
14
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
5
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
6
|
-
/* empty css
|
7
|
-
import "../_shared/utils/dom.js";
|
15
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
16
|
+
/* empty css */
|
8
17
|
/* empty css */
|
9
18
|
/* empty css */
|
10
19
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
@@ -1,21 +1,22 @@
|
|
1
1
|
import { App } from 'vue';
|
2
2
|
import { default as _Notification } from './Notification.vue';
|
3
3
|
import { NotificationMethod, NotificationConfig, NotificationProps, NotificationPosition } from './type';
|
4
|
+
import { Type } from '../_shared/type';
|
4
5
|
export type NotificationInstance = InstanceType<typeof _Notification>;
|
5
6
|
export * from './type';
|
6
7
|
declare const NotificationMethod: NotificationMethod;
|
7
8
|
declare const Notification: {
|
8
9
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
9
|
-
type: import('..').Type;
|
10
|
-
footer: import('vue').RenderFunction;
|
11
|
-
style: import('vue').CSSProperties;
|
12
|
-
title: import('..').RenderContent;
|
13
|
-
onClose: (id: string | number) => void;
|
14
|
-
class: import('..').ClassName;
|
15
10
|
duration: number;
|
16
|
-
content: import('
|
11
|
+
content: import('../_shared/type').RenderContent;
|
12
|
+
style: import('vue').CSSProperties;
|
17
13
|
icon: import('vue').RenderFunction;
|
14
|
+
type: Type;
|
15
|
+
footer: import('vue').RenderFunction;
|
16
|
+
title: import('../_shared/type').RenderContent;
|
17
|
+
class: import('../_shared/type').ClassName;
|
18
18
|
closable: boolean;
|
19
|
+
onClose: (id: string | number) => void;
|
19
20
|
id: string;
|
20
21
|
showIcon: boolean;
|
21
22
|
isReset: boolean;
|
@@ -29,16 +30,16 @@ declare const Notification: {
|
|
29
30
|
M: {};
|
30
31
|
Defaults: {};
|
31
32
|
}, Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, {
|
32
|
-
type: import('..').Type;
|
33
|
-
footer: import('vue').RenderFunction;
|
34
|
-
style: import('vue').CSSProperties;
|
35
|
-
title: import('..').RenderContent;
|
36
|
-
onClose: (id: string | number) => void;
|
37
|
-
class: import('..').ClassName;
|
38
33
|
duration: number;
|
39
|
-
content: import('
|
34
|
+
content: import('../_shared/type').RenderContent;
|
35
|
+
style: import('vue').CSSProperties;
|
40
36
|
icon: import('vue').RenderFunction;
|
37
|
+
type: Type;
|
38
|
+
footer: import('vue').RenderFunction;
|
39
|
+
title: import('../_shared/type').RenderContent;
|
40
|
+
class: import('../_shared/type').ClassName;
|
41
41
|
closable: boolean;
|
42
|
+
onClose: (id: string | number) => void;
|
42
43
|
id: string;
|
43
44
|
showIcon: boolean;
|
44
45
|
isReset: boolean;
|
@@ -49,16 +50,16 @@ declare const Notification: {
|
|
49
50
|
__isTeleport?: never;
|
50
51
|
__isSuspense?: never;
|
51
52
|
} & import('vue').ComponentOptionsBase<Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
52
|
-
type: import('..').Type;
|
53
|
-
footer: import('vue').RenderFunction;
|
54
|
-
style: import('vue').CSSProperties;
|
55
|
-
title: import('..').RenderContent;
|
56
|
-
onClose: (id: string | number) => void;
|
57
|
-
class: import('..').ClassName;
|
58
53
|
duration: number;
|
59
|
-
content: import('
|
54
|
+
content: import('../_shared/type').RenderContent;
|
55
|
+
style: import('vue').CSSProperties;
|
60
56
|
icon: import('vue').RenderFunction;
|
57
|
+
type: Type;
|
58
|
+
footer: import('vue').RenderFunction;
|
59
|
+
title: import('../_shared/type').RenderContent;
|
60
|
+
class: import('../_shared/type').ClassName;
|
61
61
|
closable: boolean;
|
62
|
+
onClose: (id: string | number) => void;
|
62
63
|
id: string;
|
63
64
|
showIcon: boolean;
|
64
65
|
isReset: boolean;
|
package/es/Notification/index.js
CHANGED
@@ -3,7 +3,17 @@ import _sfc_main from "./Notification.vue.js";
|
|
3
3
|
/* empty css */
|
4
4
|
import _sfc_main$1 from "./NotificationList.vue.js";
|
5
5
|
/* empty css */
|
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";
|
6
14
|
import { isString } from "../_shared/utils/is.js";
|
15
|
+
import "../_shared/utils/locale.js";
|
16
|
+
import "../_shared/utils/time.js";
|
7
17
|
const container = /* @__PURE__ */ new Map();
|
8
18
|
const notificationList = reactive({
|
9
19
|
topLeft: [],
|
@@ -1,8 +1,17 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, ref, computed, watch, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, Fragment, renderList, createBlock, resolveDynamicComponent, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
2
|
-
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
3
2
|
import { throttle, sleep, valueToPx } from "../_shared/utils/dom.js";
|
4
|
-
import Tag from "../Tag/index.js";
|
5
3
|
import { unrefElement, useResizeObserver } 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";
|
13
|
+
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
14
|
+
import Tag from "../Tag/index.js";
|
6
15
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
7
16
|
...{
|
8
17
|
name: "OverflowList"
|
@@ -1,7 +1,16 @@
|
|
1
1
|
import { defineComponent, useSlots, createElementBlock, openBlock, createElementVNode, createCommentVNode, renderSlot, createVNode, createBlock, unref, withCtx, createTextVNode, toDisplayString } from "vue";
|
2
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
3
|
-
/* empty css
|
2
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
3
|
+
/* empty css */
|
4
4
|
import "../_shared/utils/dom.js";
|
5
|
+
import "../node_modules/b-tween/dist/b-tween.es.js";
|
6
|
+
import "../node_modules/dayjs/dayjs.min.js";
|
7
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
8
|
+
import "../node_modules/dayjs/plugin/duration.js";
|
9
|
+
import "../node_modules/dayjs/plugin/toObject.js";
|
10
|
+
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
11
|
+
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
12
|
+
import "../_shared/utils/locale.js";
|
13
|
+
import "../_shared/utils/time.js";
|
5
14
|
/* empty css */
|
6
15
|
/* empty css */
|
7
16
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -1,7 +1,15 @@
|
|
1
1
|
import { defineComponent, useSlots, ref, watch, createElementBlock, createCommentVNode, unref, openBlock, normalizeClass, createElementVNode, renderSlot, createTextVNode, toDisplayString, createVNode, createBlock, withCtx, Fragment, renderList, isRef, mergeProps } from "vue";
|
2
|
-
import { isNumber } 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 { isNumber } from "../_shared/utils/is.js";
|
4
11
|
import { useI18n } from "../_shared/utils/locale.js";
|
12
|
+
import "../_shared/utils/time.js";
|
5
13
|
import usePaginationContext from "./hooks/useContext.js";
|
6
14
|
import _sfc_main$1 from "./PaginationItem.vue.js";
|
7
15
|
/* empty css */
|
@@ -1,6 +1,15 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, renderSlot, createBlock, createCommentVNode } from "vue";
|
2
2
|
import "../_shared/utils/dom.js";
|
3
|
-
|
3
|
+
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
|
+
import "../node_modules/dayjs/dayjs.min.js";
|
5
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
+
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
+
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
+
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
+
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import "../_shared/utils/locale.js";
|
11
|
+
import "../_shared/utils/time.js";
|
12
|
+
/* empty css */
|
4
13
|
/* empty css */
|
5
14
|
/* empty css */
|
6
15
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -1,7 +1,16 @@
|
|
1
1
|
import { toRefs, ref, computed, provide, inject } from "vue";
|
2
|
-
import
|
2
|
+
import "../../_shared/utils/dom.js";
|
3
|
+
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
|
+
import "../../node_modules/dayjs/dayjs.min.js";
|
5
|
+
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
+
import "../../node_modules/dayjs/plugin/duration.js";
|
7
|
+
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
|
+
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
+
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
3
10
|
import { getGlobalConfig } from "../../_shared/utils/global-config.js";
|
11
|
+
import { useControlValue } from "../../_shared/utils/hooks.js";
|
4
12
|
import { useI18n } from "../../_shared/utils/locale.js";
|
13
|
+
import "../../_shared/utils/time.js";
|
5
14
|
const PAGINATION_CONTEXT_KEY = "pagination-context";
|
6
15
|
function usePaginationContext() {
|
7
16
|
const provide$1 = (props, emits) => {
|
package/es/Popconfirm/index.d.ts
CHANGED
@@ -4,21 +4,19 @@ export type PopconfirmInstance = InstanceType<typeof _Popconfirm>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const Popconfirm: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').PopconfirmProps> & Readonly<{
|
7
|
-
onCancel?: (() => any) | undefined;
|
8
7
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
9
8
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
9
|
+
onCancel?: (() => any) | undefined;
|
10
10
|
onOk?: (() => any) | undefined;
|
11
11
|
}>, {
|
12
12
|
hide(): void;
|
13
13
|
show(): void;
|
14
14
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
15
|
-
cancel: () => any;
|
16
15
|
"update:popupVisible": (value: boolean) => any;
|
17
16
|
"popup-visible-change": (value: boolean) => any;
|
17
|
+
cancel: () => any;
|
18
18
|
ok: () => any;
|
19
19
|
}, import('vue').PublicProps, {
|
20
|
-
type: import('..').Type;
|
21
|
-
popupContainer: import('..').PopupContainer;
|
22
20
|
popupVisible: boolean;
|
23
21
|
defaultPopupVisible: boolean;
|
24
22
|
position: import('..').PopupPosition;
|
@@ -26,7 +24,9 @@ declare const Popconfirm: {
|
|
26
24
|
contentStyle: import('vue').CSSProperties;
|
27
25
|
arrowClass: import('..').ClassName;
|
28
26
|
arrowStyle: import('vue').CSSProperties;
|
27
|
+
popupContainer: import('..').PopupContainer;
|
29
28
|
content: string;
|
29
|
+
type: import('..').Type;
|
30
30
|
triggerProps: import('..').TriggerProps;
|
31
31
|
okText: string;
|
32
32
|
cancelText: string;
|
@@ -175,8 +175,6 @@ declare const Popconfirm: {
|
|
175
175
|
show: () => any;
|
176
176
|
hide: () => any;
|
177
177
|
}, string, {
|
178
|
-
popupContainer: import('..').PopupContainer;
|
179
|
-
renderToBody: boolean;
|
180
178
|
trigger: import('..').TriggerType;
|
181
179
|
mouseEnterDelay: number;
|
182
180
|
popupVisible: boolean;
|
@@ -204,6 +202,8 @@ declare const Popconfirm: {
|
|
204
202
|
duration: number;
|
205
203
|
autoFitPopupWidth: boolean;
|
206
204
|
autoFitPopupMinWidth: boolean;
|
205
|
+
popupContainer: import('..').PopupContainer;
|
206
|
+
renderToBody: boolean;
|
207
207
|
autoFitPosition: boolean;
|
208
208
|
updateAtScroll: boolean;
|
209
209
|
preventFocus: boolean;
|
@@ -229,8 +229,6 @@ declare const Popconfirm: {
|
|
229
229
|
$nextTick: typeof import('vue').nextTick;
|
230
230
|
$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;
|
231
231
|
} & Readonly<{
|
232
|
-
popupContainer: import('..').PopupContainer;
|
233
|
-
renderToBody: boolean;
|
234
232
|
trigger: import('..').TriggerType;
|
235
233
|
mouseEnterDelay: number;
|
236
234
|
popupVisible: boolean;
|
@@ -258,6 +256,8 @@ declare const Popconfirm: {
|
|
258
256
|
duration: number;
|
259
257
|
autoFitPopupWidth: boolean;
|
260
258
|
autoFitPopupMinWidth: boolean;
|
259
|
+
popupContainer: import('..').PopupContainer;
|
260
|
+
renderToBody: boolean;
|
261
261
|
autoFitPosition: boolean;
|
262
262
|
updateAtScroll: boolean;
|
263
263
|
preventFocus: boolean;
|
@@ -267,7 +267,7 @@ declare const Popconfirm: {
|
|
267
267
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
268
268
|
onShow?: (() => any) | undefined;
|
269
269
|
onHide?: (() => any) | undefined;
|
270
|
-
}>, "show" | "hide" | ("
|
270
|
+
}>, "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<{
|
271
271
|
hide(): void;
|
272
272
|
show(): void;
|
273
273
|
updatePosition(x: number, y: number): void;
|
@@ -282,16 +282,14 @@ declare const Popconfirm: {
|
|
282
282
|
M: {};
|
283
283
|
Defaults: {};
|
284
284
|
}, Readonly<import('./type').PopconfirmProps> & Readonly<{
|
285
|
-
onCancel?: (() => any) | undefined;
|
286
285
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
287
286
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
287
|
+
onCancel?: (() => any) | undefined;
|
288
288
|
onOk?: (() => any) | undefined;
|
289
289
|
}>, {
|
290
290
|
hide(): void;
|
291
291
|
show(): void;
|
292
292
|
}, {}, {}, {}, {
|
293
|
-
type: import('..').Type;
|
294
|
-
popupContainer: import('..').PopupContainer;
|
295
293
|
popupVisible: boolean;
|
296
294
|
defaultPopupVisible: boolean;
|
297
295
|
position: import('..').PopupPosition;
|
@@ -299,7 +297,9 @@ declare const Popconfirm: {
|
|
299
297
|
contentStyle: import('vue').CSSProperties;
|
300
298
|
arrowClass: import('..').ClassName;
|
301
299
|
arrowStyle: import('vue').CSSProperties;
|
300
|
+
popupContainer: import('..').PopupContainer;
|
302
301
|
content: string;
|
302
|
+
type: import('..').Type;
|
303
303
|
triggerProps: import('..').TriggerProps;
|
304
304
|
okText: string;
|
305
305
|
cancelText: string;
|
@@ -313,21 +313,19 @@ declare const Popconfirm: {
|
|
313
313
|
__isTeleport?: never;
|
314
314
|
__isSuspense?: never;
|
315
315
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').PopconfirmProps> & Readonly<{
|
316
|
-
onCancel?: (() => any) | undefined;
|
317
316
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
318
317
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
318
|
+
onCancel?: (() => any) | undefined;
|
319
319
|
onOk?: (() => any) | undefined;
|
320
320
|
}>, {
|
321
321
|
hide(): void;
|
322
322
|
show(): void;
|
323
323
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
324
|
-
cancel: () => any;
|
325
324
|
"update:popupVisible": (value: boolean) => any;
|
326
325
|
"popup-visible-change": (value: boolean) => any;
|
326
|
+
cancel: () => any;
|
327
327
|
ok: () => any;
|
328
328
|
}, string, {
|
329
|
-
type: import('..').Type;
|
330
|
-
popupContainer: import('..').PopupContainer;
|
331
329
|
popupVisible: boolean;
|
332
330
|
defaultPopupVisible: boolean;
|
333
331
|
position: import('..').PopupPosition;
|
@@ -335,7 +333,9 @@ declare const Popconfirm: {
|
|
335
333
|
contentStyle: import('vue').CSSProperties;
|
336
334
|
arrowClass: import('..').ClassName;
|
337
335
|
arrowStyle: import('vue').CSSProperties;
|
336
|
+
popupContainer: import('..').PopupContainer;
|
338
337
|
content: string;
|
338
|
+
type: import('..').Type;
|
339
339
|
triggerProps: import('..').TriggerProps;
|
340
340
|
okText: string;
|
341
341
|
cancelText: string;
|
@@ -142,8 +142,6 @@ declare function __VLS_template(): {
|
|
142
142
|
show: () => any;
|
143
143
|
hide: () => any;
|
144
144
|
}, string, {
|
145
|
-
popupContainer: import('..').PopupContainer;
|
146
|
-
renderToBody: boolean;
|
147
145
|
trigger: import('../Trigger').TriggerType;
|
148
146
|
mouseEnterDelay: number;
|
149
147
|
popupVisible: boolean;
|
@@ -171,6 +169,8 @@ declare function __VLS_template(): {
|
|
171
169
|
duration: number;
|
172
170
|
autoFitPopupWidth: boolean;
|
173
171
|
autoFitPopupMinWidth: boolean;
|
172
|
+
popupContainer: import('..').PopupContainer;
|
173
|
+
renderToBody: boolean;
|
174
174
|
autoFitPosition: boolean;
|
175
175
|
updateAtScroll: boolean;
|
176
176
|
preventFocus: boolean;
|
@@ -196,8 +196,6 @@ declare function __VLS_template(): {
|
|
196
196
|
$nextTick: typeof import('vue').nextTick;
|
197
197
|
$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;
|
198
198
|
} & Readonly<{
|
199
|
-
popupContainer: import('..').PopupContainer;
|
200
|
-
renderToBody: boolean;
|
201
199
|
trigger: import('../Trigger').TriggerType;
|
202
200
|
mouseEnterDelay: number;
|
203
201
|
popupVisible: boolean;
|
@@ -225,6 +223,8 @@ declare function __VLS_template(): {
|
|
225
223
|
duration: number;
|
226
224
|
autoFitPopupWidth: boolean;
|
227
225
|
autoFitPopupMinWidth: boolean;
|
226
|
+
popupContainer: import('..').PopupContainer;
|
227
|
+
renderToBody: boolean;
|
228
228
|
autoFitPosition: boolean;
|
229
229
|
updateAtScroll: boolean;
|
230
230
|
preventFocus: boolean;
|
@@ -234,7 +234,7 @@ declare function __VLS_template(): {
|
|
234
234
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
235
235
|
onShow?: (() => any) | undefined;
|
236
236
|
onHide?: (() => any) | undefined;
|
237
|
-
}>, "show" | "hide" | ("
|
237
|
+
}>, "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<{
|
238
238
|
hide(): void;
|
239
239
|
show(): void;
|
240
240
|
updatePosition(x: number, y: number): void;
|
@@ -249,18 +249,16 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
249
249
|
hide(): void;
|
250
250
|
show(): void;
|
251
251
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
252
|
-
cancel: () => any;
|
253
252
|
"update:popupVisible": (value: boolean) => any;
|
254
253
|
"popup-visible-change": (value: boolean) => any;
|
254
|
+
cancel: () => any;
|
255
255
|
ok: () => any;
|
256
256
|
}, string, import('vue').PublicProps, Readonly<PopconfirmProps> & Readonly<{
|
257
|
-
onCancel?: (() => any) | undefined;
|
258
257
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
259
258
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
259
|
+
onCancel?: (() => any) | undefined;
|
260
260
|
onOk?: (() => any) | undefined;
|
261
261
|
}>, {
|
262
|
-
type: import('..').Type;
|
263
|
-
popupContainer: import('..').PopupContainer;
|
264
262
|
popupVisible: boolean;
|
265
263
|
defaultPopupVisible: boolean;
|
266
264
|
position: import('..').PopupPosition;
|
@@ -268,7 +266,9 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
268
266
|
contentStyle: import('vue').CSSProperties;
|
269
267
|
arrowClass: import('..').ClassName;
|
270
268
|
arrowStyle: import('vue').CSSProperties;
|
269
|
+
popupContainer: import('..').PopupContainer;
|
271
270
|
content: string;
|
271
|
+
type: import('..').Type;
|
272
272
|
triggerProps: import('../Trigger').TriggerProps;
|
273
273
|
okText: string;
|
274
274
|
cancelText: string;
|
@@ -417,8 +417,6 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
417
417
|
show: () => any;
|
418
418
|
hide: () => any;
|
419
419
|
}, string, {
|
420
|
-
popupContainer: import('..').PopupContainer;
|
421
|
-
renderToBody: boolean;
|
422
420
|
trigger: import('../Trigger').TriggerType;
|
423
421
|
mouseEnterDelay: number;
|
424
422
|
popupVisible: boolean;
|
@@ -446,6 +444,8 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
446
444
|
duration: number;
|
447
445
|
autoFitPopupWidth: boolean;
|
448
446
|
autoFitPopupMinWidth: boolean;
|
447
|
+
popupContainer: import('..').PopupContainer;
|
448
|
+
renderToBody: boolean;
|
449
449
|
autoFitPosition: boolean;
|
450
450
|
updateAtScroll: boolean;
|
451
451
|
preventFocus: boolean;
|
@@ -471,8 +471,6 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
471
471
|
$nextTick: typeof import('vue').nextTick;
|
472
472
|
$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;
|
473
473
|
} & Readonly<{
|
474
|
-
popupContainer: import('..').PopupContainer;
|
475
|
-
renderToBody: boolean;
|
476
474
|
trigger: import('../Trigger').TriggerType;
|
477
475
|
mouseEnterDelay: number;
|
478
476
|
popupVisible: boolean;
|
@@ -500,6 +498,8 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
500
498
|
duration: number;
|
501
499
|
autoFitPopupWidth: boolean;
|
502
500
|
autoFitPopupMinWidth: boolean;
|
501
|
+
popupContainer: import('..').PopupContainer;
|
502
|
+
renderToBody: boolean;
|
503
503
|
autoFitPosition: boolean;
|
504
504
|
updateAtScroll: boolean;
|
505
505
|
preventFocus: boolean;
|
@@ -509,7 +509,7 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
509
509
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
510
510
|
onShow?: (() => any) | undefined;
|
511
511
|
onHide?: (() => any) | undefined;
|
512
|
-
}>, "show" | "hide" | ("
|
512
|
+
}>, "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<{
|
513
513
|
hide(): void;
|
514
514
|
show(): void;
|
515
515
|
updatePosition(x: number, y: number): void;
|
@@ -1,7 +1,16 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, createBlock, openBlock, unref, mergeProps, isRef, withCtx, renderSlot, createElementVNode, resolveDynamicComponent, createTextVNode, toDisplayString, createVNode } from "vue";
|
2
2
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
3
|
-
import
|
3
|
+
import "../_shared/utils/dom.js";
|
4
|
+
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
|
+
import "../node_modules/dayjs/dayjs.min.js";
|
6
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
7
|
+
import "../node_modules/dayjs/plugin/duration.js";
|
8
|
+
import "../node_modules/dayjs/plugin/toObject.js";
|
9
|
+
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
|
+
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
11
|
+
import { useControlValue } from "../_shared/utils/hooks.js";
|
4
12
|
import { useI18n } from "../_shared/utils/locale.js";
|
13
|
+
import "../_shared/utils/time.js";
|
5
14
|
import useOnBeforeClose from "../Modal/hooks/useOnBeforeClose.js";
|
6
15
|
import Trigger from "../Trigger/index.js";
|
7
16
|
import Button from "../Button/index.js";
|
package/es/Popover/index.d.ts
CHANGED
@@ -13,8 +13,6 @@ declare const Popover: {
|
|
13
13
|
"update:popupVisible": (value: boolean) => any;
|
14
14
|
"popup-visible-change": (value: boolean) => any;
|
15
15
|
}, import('vue').PublicProps, {
|
16
|
-
title: string;
|
17
|
-
popupContainer: import('..').PopupContainer;
|
18
16
|
trigger: import('..').TriggerType;
|
19
17
|
popupVisible: boolean;
|
20
18
|
defaultPopupVisible: boolean;
|
@@ -23,7 +21,9 @@ declare const Popover: {
|
|
23
21
|
contentStyle: import('vue').CSSProperties;
|
24
22
|
arrowClass: import('..').ClassName;
|
25
23
|
arrowStyle: import('vue').CSSProperties;
|
24
|
+
popupContainer: import('..').PopupContainer;
|
26
25
|
content: string;
|
26
|
+
title: string;
|
27
27
|
triggerProps: import('..').TriggerProps;
|
28
28
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
29
29
|
P: {};
|
@@ -39,8 +39,6 @@ declare const Popover: {
|
|
39
39
|
hide(): void;
|
40
40
|
show(): void;
|
41
41
|
}, {}, {}, {}, {
|
42
|
-
title: string;
|
43
|
-
popupContainer: import('..').PopupContainer;
|
44
42
|
trigger: import('..').TriggerType;
|
45
43
|
popupVisible: boolean;
|
46
44
|
defaultPopupVisible: boolean;
|
@@ -49,7 +47,9 @@ declare const Popover: {
|
|
49
47
|
contentStyle: import('vue').CSSProperties;
|
50
48
|
arrowClass: import('..').ClassName;
|
51
49
|
arrowStyle: import('vue').CSSProperties;
|
50
|
+
popupContainer: import('..').PopupContainer;
|
52
51
|
content: string;
|
52
|
+
title: string;
|
53
53
|
triggerProps: import('..').TriggerProps;
|
54
54
|
}>;
|
55
55
|
__isFragment?: never;
|
@@ -65,8 +65,6 @@ declare const Popover: {
|
|
65
65
|
"update:popupVisible": (value: boolean) => any;
|
66
66
|
"popup-visible-change": (value: boolean) => any;
|
67
67
|
}, string, {
|
68
|
-
title: string;
|
69
|
-
popupContainer: import('..').PopupContainer;
|
70
68
|
trigger: import('..').TriggerType;
|
71
69
|
popupVisible: boolean;
|
72
70
|
defaultPopupVisible: boolean;
|
@@ -75,7 +73,9 @@ declare const Popover: {
|
|
75
73
|
contentStyle: import('vue').CSSProperties;
|
76
74
|
arrowClass: import('..').ClassName;
|
77
75
|
arrowStyle: import('vue').CSSProperties;
|
76
|
+
popupContainer: import('..').PopupContainer;
|
78
77
|
content: string;
|
78
|
+
title: string;
|
79
79
|
triggerProps: import('..').TriggerProps;
|
80
80
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
81
81
|
$slots: any;
|
@@ -16,8 +16,6 @@ declare const __VLS_component: import('vue').DefineComponent<PopoverProps, {
|
|
16
16
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
17
17
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
18
18
|
}>, {
|
19
|
-
title: string;
|
20
|
-
popupContainer: import('..').PopupContainer;
|
21
19
|
trigger: import('../Trigger').TriggerType;
|
22
20
|
popupVisible: boolean;
|
23
21
|
defaultPopupVisible: boolean;
|
@@ -26,7 +24,9 @@ declare const __VLS_component: import('vue').DefineComponent<PopoverProps, {
|
|
26
24
|
contentStyle: import('vue').CSSProperties;
|
27
25
|
arrowClass: import('..').ClassName;
|
28
26
|
arrowStyle: import('vue').CSSProperties;
|
27
|
+
popupContainer: import('..').PopupContainer;
|
29
28
|
content: string;
|
29
|
+
title: string;
|
30
30
|
triggerProps: import('../Trigger').TriggerProps;
|
31
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
32
32
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
package/es/Popover/index.vue.js
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, createBlock, openBlock, unref, mergeProps, isRef, withCtx, renderSlot, createElementBlock, createCommentVNode, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
2
|
-
import
|
2
|
+
import "../_shared/utils/dom.js";
|
3
|
+
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
|
+
import "../node_modules/dayjs/dayjs.min.js";
|
5
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
+
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
+
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
+
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
+
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import { useControlValue } from "../_shared/utils/hooks.js";
|
11
|
+
import "../_shared/utils/locale.js";
|
12
|
+
import "../_shared/utils/time.js";
|
3
13
|
import Trigger from "../Trigger/index.js";
|
4
14
|
const _hoisted_1 = {
|
5
15
|
key: 0,
|
@@ -1,5 +1,15 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createElementBlock, openBlock, normalizeClass, unref, createBlock, createSlots, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
2
|
+
import "../_shared/utils/dom.js";
|
3
|
+
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
|
+
import "../node_modules/dayjs/dayjs.min.js";
|
5
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
+
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
+
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
+
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
+
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
2
10
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
11
|
+
import "../_shared/utils/locale.js";
|
12
|
+
import "../_shared/utils/time.js";
|
3
13
|
import _sfc_main$2 from "./ProgressLine.vue.js";
|
4
14
|
/* empty css */
|
5
15
|
import _sfc_main$1 from "./ProgressSteps.vue.js";
|