yc-design-vue 2.1.7 → 2.1.8
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/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/es/Affix/index.vue.js +1 -1
- package/es/Alert/index.vue.js +3 -3
- package/es/Anchor/Anchor.vue.js +1 -1
- package/es/Anchor/AnchorLink.vue.js +1 -1
- package/es/Anchor/hooks/useContext.js +1 -1
- package/es/AutoComplete/index.vue.js +1 -1
- package/es/Avatar/Avatar.vue.js +2 -2
- package/es/Avatar/AvatarGroup.vue.js +1 -1
- package/es/BackTop/index.vue.js +2 -2
- package/es/Badge/index.vue.js +1 -1
- package/es/Breadcrumb/Breadcrumb.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbItem.vue.js +2 -2
- package/es/Breadcrumb/BreadcrumbMore.vue.js +2 -2
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +2 -2
- package/es/Button/hooks/useContext.js +1 -1
- package/es/Calendar/Calendar.vue.js +3 -3
- package/es/Calendar/CalendarMonth.vue.js +1 -1
- package/es/Calendar/CalendarYear.vue.js +1 -1
- package/es/Card/Card.vue.js +1 -1
- package/es/Card/CardMeta.vue.js +1 -1
- package/es/Carousel/Carousel.vue.js +1 -1
- package/es/Carousel/CarouselArrow.vue.js +2 -2
- package/es/Carousel/CarouselIndicator.vue.js +1 -1
- package/es/Carousel/hooks/useContext.js +1 -1
- package/es/Cascader/Cascader.vue.js +1 -1
- package/es/Cascader/CascaderIcon.vue.js +3 -3
- package/es/Cascader/CascaderOption.vue.js +2 -2
- package/es/Cascader/hooks/useContext.js +1 -1
- package/es/Checkbox/Checkbox.vue.js +3 -3
- package/es/Checkbox/hooks/useContext.js +1 -1
- package/es/Collapse/CollapseItem.vue.js +3 -3
- package/es/Collapse/hooks/useContext.js +1 -1
- package/es/ColorPicker/ColorControl.vue.js +2 -2
- package/es/ColorPicker/ColorInput.vue.js +2 -2
- package/es/ColorPicker/ColorList.vue.js +1 -1
- package/es/ColorPicker/ColorPalette.vue.js +2 -2
- package/es/ColorPicker/ColorPanel.vue.js +1 -1
- package/es/ColorPicker/hooks/useContext.js +2 -2
- package/es/Comment/hooks/useContext.js +1 -1
- package/es/Comment/index.vue.js +1 -1
- package/es/ConfigProvider/index.vue.js +1 -1
- package/es/Descriptions/ReuseItem.vue.js +1 -1
- package/es/Descriptions/ReuseTd.vue.js +1 -1
- package/es/Descriptions/hooks/useContext.js +1 -1
- package/es/Divider/index.vue.js +1 -1
- package/es/Drawer/Drawer.vue.js +13 -19
- package/es/Drawer/DrawerService.vue.js +1 -1
- package/es/Dropdown/Dropdown.vue.js +1 -1
- package/es/Dropdown/DropdownButton.vue.js +2 -2
- package/es/Dropdown/Dsubmenu.vue.js +2 -2
- package/es/Dropdown/hooks/useContext.js +1 -1
- package/es/Empty/index.vue.js +2 -2
- package/es/Grid/Grid.vue.js +1 -1
- package/es/Grid/GridCol.vue.js +1 -1
- package/es/Grid/GridItem.vue.js +1 -1
- package/es/Grid/GridRow.vue.js +1 -1
- package/es/Grid/hooks/useContext.js +1 -1
- package/es/Image/Image.vue.js +2 -2
- package/es/Image/ImagePreview.vue.js +2 -2
- package/es/Image/ImagePreviewArrow.vue.js +2 -2
- package/es/Image/ImagePreviewGroup.vue.js +1 -1
- package/es/Image/ImagePreviewToolbar.vue.js +2 -2
- package/es/Image/hooks/useContext.js +1 -1
- package/es/Input/Input.vue.js +3 -3
- package/es/Input/InputSuffix.vue.js +3 -3
- package/es/Input/hooks/useLimitedInput.js +1 -1
- package/es/InputNumber/InputNumber.vue.js +1 -1
- package/es/InputNumber/InputOperaBtn.vue.js +2 -2
- package/es/InputTag/index.vue.js +3 -3
- package/es/Layout/Layout.vue.js +1 -1
- package/es/Layout/LayoutSider.vue.js +2 -2
- package/es/Layout/hooks/useSiderContext.js +1 -1
- package/es/Link/index.vue.js +2 -2
- package/es/List/List.vue.js +1 -1
- package/es/List/ListVirtual.vue.js +1 -1
- package/es/List/hooks/useScrollReach.js +1 -1
- package/es/Mention/index.vue.js +1 -1
- package/es/Menu/Menu.vue.js +2 -2
- package/es/Menu/MenuEllipsis.vue.js +2 -2
- package/es/Menu/MenuItem.vue.js +2 -2
- package/es/Menu/MenuItemGroup.vue.js +1 -1
- package/es/Menu/SubMenu.vue.js +2 -2
- package/es/Menu/hooks/useCalcMaxMenuItems.js +1 -1
- package/es/Menu/hooks/useContext.d.ts +1 -1
- package/es/Menu/hooks/useContext.js +5 -8
- package/es/Message/Message.vue.js +3 -3
- package/es/Message/index.js +1 -1
- package/es/Modal/Modal.vue.js +3 -3
- package/es/Modal/ModalService.vue.js +1 -1
- package/es/Modal/hooks/useModalClose.js +1 -1
- package/es/Modal/hooks/useModalDraggable.js +1 -1
- package/es/Modal/hooks/useOnBeforeClose.js +1 -1
- package/es/Notification/Notification.vue.js +3 -3
- package/es/Notification/index.js +1 -1
- package/es/OverflowList/index.vue.js +1 -1
- package/es/PageHeader/index.vue.js +3 -3
- package/es/Pagination/Pagination.vue.js +7 -4
- package/es/Pagination/PaginationItem.vue.js +2 -2
- package/es/Pagination/hooks/useContext.js +1 -1
- package/es/Popconfirm/index.vue.js +1 -1
- package/es/Popover/index.vue.js +1 -1
- package/es/Progress/Progress.vue.js +1 -1
- package/es/Progress/ProgressCircle.vue.js +9 -16
- package/es/Progress/ProgressLine.vue.js +2 -2
- package/es/Progress/ProgressSteps.vue.js +1 -1
- package/es/Progress/index.css +1 -1
- package/es/Radio/Radio.vue.js +3 -3
- package/es/Radio/hooks/useContext.js +1 -1
- package/es/Rate/index.vue.js +2 -2
- package/es/ResizeBox/index.vue.js +2 -3
- package/es/Scrollbar/Scrollbar.vue.js +1 -1
- package/es/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/es/Select/Option.vue.js +1 -1
- package/es/Select/Select.vue.js +1 -1
- package/es/Select/SelectIcon.vue.js +3 -3
- package/es/Select/SelectRealList.vue.js +1 -1
- package/es/Select/SelectView.vue.js +1 -1
- package/es/Select/SelectVirtualList.vue.js +1 -1
- package/es/Select/hooks/useContext.js +1 -1
- package/es/Select/hooks/useSelectHotkeys.js +1 -1
- package/es/Select/hooks/useSelectOptions.js +1 -1
- package/es/Skeleton/SkeletonLine.vue.js +1 -1
- package/es/Skeleton/SkeletonShape.vue.js +1 -1
- package/es/Slider/SliderBtn.vue.js +1 -1
- package/es/Slider/hooks/useContext.js +1 -1
- package/es/Slider/hooks/useSliderDraggable.js +1 -1
- package/es/Space/index.vue.js +1 -1
- package/es/Spin/index.vue.js +2 -2
- package/es/Split/index.vue.js +2 -2
- package/es/Statistic/Countdown.vue.js +1 -1
- package/es/Statistic/Statistic.vue.js +1 -1
- package/es/Steps/Step.vue.js +2 -2
- package/es/Steps/hooks/useContext.js +1 -1
- package/es/Switch/index.vue.js +1 -1
- package/es/Tabs/TabButton.vue.js +3 -3
- package/es/Tabs/TabPane.vue.js +1 -1
- package/es/Tabs/Tabs.vue.js +2 -2
- package/es/Tabs/TabsNavInk.vue.js +1 -1
- package/es/Tabs/TabsTab.vue.js +1 -1
- package/es/Tabs/hooks/useContext.js +1 -1
- package/es/Tabs/hooks/useTabsScroll.js +1 -1
- package/es/Tag/index.vue.js +3 -3
- package/es/Textarea/hooks/useTextareaHeight.js +1 -1
- package/es/Textarea/index.vue.js +3 -3
- package/es/TimePicker/TimePicker.vue.js +3 -3
- package/es/TimePicker/TimePickerPanel.vue.js +1 -1
- package/es/TimePicker/hooks/useContext.js +1 -1
- package/es/Timeline/TimelineItemPending.vue.js +1 -1
- package/es/Timeline/hooks/useContext.js +1 -1
- package/es/Tooltip/index.vue.js +1 -1
- package/es/Transfer/Transfer.vue.js +2 -2
- package/es/Transfer/TransferPanel.vue.js +3 -3
- package/es/Transfer/hooks/useContext.js +1 -1
- package/es/Trigger/hooks/useContext.js +1 -1
- package/es/Trigger/hooks/useTriggerPosition.js +1 -1
- package/es/Trigger/hooks/useTriggerVisible.js +1 -1
- package/es/Trigger/index.vue.js +2 -2
- package/es/Typography/TypographyBase.vue.js +2 -2
- package/es/Upload/UploadButton.vue.js +2 -2
- package/es/Upload/UploadDrag.vue.js +2 -2
- package/es/Upload/UploadFileList.vue2.js +3 -3
- package/es/Upload/UploadPictureCard.vue2.js +2 -2
- package/es/Upload/hooks/useContext.js +2 -2
- package/es/Upload/hooks/useUpload.js +1 -1
- package/es/VerificationCode/index.vue.js +1 -1
- package/es/Watermark/index.vue.js +1 -1
- package/es/_shared/components/ExpandTransition/index.vue2.js +1 -1
- package/es/_shared/components/Icon/index.vue3.js +1 -1
- package/es/_shared/components/IconButton/{index.vue.js → index.vue2.js} +2 -2
- package/es/_shared/components/IconButton/index.vue3.js +2 -2
- package/es/_shared/constants/index.js +2 -2
- package/es/_shared/icons/IconArrowDown.vue.js +2 -2
- package/es/_shared/icons/IconArrowRight.vue.js +2 -2
- package/es/_shared/icons/IconCheck.vue.js +2 -2
- package/es/_shared/icons/IconCheckboxChecked.vue.js +2 -2
- package/es/_shared/icons/IconClose.vue.js +2 -2
- package/es/_shared/icons/IconCopy.vue2.js +2 -2
- package/es/_shared/icons/IconDelete.vue2.js +2 -2
- package/es/_shared/icons/IconDragDot.vue.js +2 -2
- package/es/_shared/icons/IconEdit.vue2.js +2 -2
- package/es/_shared/icons/IconEmpty.vue.js +2 -2
- package/es/_shared/icons/IconError.vue.js +2 -2
- package/es/_shared/icons/IconExclamation.vue2.js +2 -2
- package/es/_shared/icons/IconEyeClose.vue2.js +2 -2
- package/es/_shared/icons/IconEyeOpen.vue2.js +2 -2
- package/es/_shared/icons/IconFaceSmile.vue.js +2 -2
- package/es/_shared/icons/IconFile.vue2.js +2 -2
- package/es/_shared/icons/IconFullScreen.vue2.js +2 -2
- package/es/_shared/icons/IconImageClose.vue.js +2 -2
- package/es/_shared/icons/IconInfo.vue.js +2 -2
- package/es/_shared/icons/IconInfoLine.vue.js +2 -2
- package/es/_shared/icons/IconLink.vue.js +2 -2
- package/es/_shared/icons/IconLoading.vue.js +2 -2
- package/es/_shared/icons/IconMenuFold.vue.js +2 -2
- package/es/_shared/icons/IconMenuUnfold.vue.js +2 -2
- package/es/_shared/icons/IconMinus.vue2.js +2 -2
- package/es/_shared/icons/IconMore.vue.js +2 -2
- package/es/_shared/icons/IconOriginSize.vue2.js +2 -2
- package/es/_shared/icons/IconPlus.vue.js +2 -2
- package/es/_shared/icons/IconRight.vue.js +2 -2
- package/es/_shared/icons/IconRotateLeft.vue2.js +2 -2
- package/es/_shared/icons/IconRotateRight.vue2.js +2 -2
- package/es/_shared/icons/IconSearch.vue2.js +2 -2
- package/es/_shared/icons/IconSeparator.vue2.js +2 -2
- package/es/_shared/icons/IconStar.vue.js +2 -2
- package/es/_shared/icons/IconSuccess.vue.js +2 -2
- package/es/_shared/icons/IconTime.vue.js +2 -2
- package/es/_shared/icons/IconToTop.vue.js +2 -2
- package/es/_shared/icons/IconUpload.vue2.js +2 -2
- package/es/_shared/icons/IconWarning.vue.js +2 -2
- package/es/_shared/icons/IconZoomIn.vue2.js +2 -2
- package/es/_shared/icons/IconZoomOut.vue2.js +2 -2
- package/es/_shared/utils/index.d.ts +9 -12
- package/es/style.css +1 -1
- package/lib/Affix/index.vue.js +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.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.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/CalendarMonth.vue.js +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.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/hooks/useContext.js +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.vue.js +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/Divider/index.vue.js +1 -1
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +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.js +1 -1
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +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/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/hooks/useLimitedInput.js +1 -1
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/Link/index.vue.js +1 -1
- 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/Mention/index.vue.js +1 -1
- 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/useCalcMaxMenuItems.js +1 -1
- package/lib/Menu/hooks/useContext.d.ts +1 -1
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/index.js +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.js +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/Notification/Notification.vue.js +1 -1
- package/lib/Notification/index.js +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.vue.js +1 -1
- 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/Progress/index.css +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/lib/Select/Option.vue.js +1 -1
- 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.js +1 -1
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/hooks/useSelectHotkeys.js +1 -1
- package/lib/Select/hooks/useSelectOptions.js +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/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Switch/index.vue.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/TabPane.vue.js +1 -1
- 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/Tag/index.vue.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- 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/Timeline/TimelineItemPending.vue.js +1 -1
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Tooltip/index.vue.js +1 -1
- 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/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.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.js +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.js +1 -1
- package/lib/VerificationCode/index.vue.js +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.vue2.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.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.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.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.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/index.d.ts +9 -12
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/lib/_shared/components/IconButton/index.vue.js +0 -1
package/es/InputTag/index.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, ref, computed, createElementBlock, openBlock, normalizeClass, unref, createBlock, createCommentVNode, createElementVNode, createVNode, withCtx, renderSlot, toDisplayString, TransitionGroup, withDirectives, Fragment, renderList, createTextVNode, withKeys, normalizeStyle, isRef, vModelText } from "vue";
|
2
|
-
import { valueToPx } from "../_shared/utils/dom.js";
|
3
2
|
import { useElementSize } from "../node_modules/@vueuse/core/index.js";
|
4
3
|
import { nanoid } from "../node_modules/nanoid/index.browser.js";
|
5
4
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
@@ -9,14 +8,15 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
9
8
|
import "../node_modules/dayjs/plugin/toObject.js";
|
10
9
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
11
10
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
11
|
+
import { valueToPx } from "../_shared/utils/dom.js";
|
12
12
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
13
13
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
14
14
|
import { isObject, isBoolean } from "../_shared/utils/is.js";
|
15
15
|
import "../_shared/utils/locale.js";
|
16
16
|
import "../_shared/utils/time.js";
|
17
17
|
import Tag from "../Tag/index.js";
|
18
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
19
|
-
/* empty css
|
18
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
19
|
+
/* empty css */
|
20
20
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
21
21
|
/* empty css */
|
22
22
|
/* empty css */
|
package/es/Layout/Layout.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, normalizeClass, renderSlot } from "vue";
|
2
|
-
import "../_shared/utils/dom.js";
|
3
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,6 +6,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import "../_shared/utils/dom.js";
|
10
10
|
import { isUndefined } from "../_shared/utils/is.js";
|
11
11
|
import "../_shared/utils/locale.js";
|
12
12
|
import "../_shared/utils/time.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createBlock, createElementBlock, openBlock, unref, normalizeClass, withCtx, createElementVNode, createCommentVNode, renderSlot, createVNode, normalizeStyle } from "vue";
|
2
|
-
import { mediaQueryHandler, valueToPx } from "../_shared/utils/dom.js";
|
3
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,9 +6,10 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import { mediaQueryHandler, valueToPx } from "../_shared/utils/dom.js";
|
10
10
|
import "../_shared/utils/locale.js";
|
11
11
|
import "../_shared/utils/time.js";
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { toRefs, computed, provide, inject, ref } from "vue";
|
2
|
-
import "../../_shared/utils/dom.js";
|
3
2
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,6 +6,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import "../../_shared/utils/dom.js";
|
10
10
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
11
11
|
import "../../_shared/utils/locale.js";
|
12
12
|
import "../../_shared/utils/time.js";
|
package/es/Link/index.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, renderSlot, createBlock } from "vue";
|
2
|
-
import "../_shared/utils/dom.js";
|
3
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,9 +6,10 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import "../_shared/utils/dom.js";
|
10
10
|
import "../_shared/utils/locale.js";
|
11
11
|
import "../_shared/utils/time.js";
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
import _sfc_main$1 from "../_shared/icons/IconLink.vue.js";
|
package/es/List/List.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, ref, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, createBlock, createCommentVNode, normalizeStyle, createElementVNode, renderSlot, createSlots, normalizeProps, guardReactiveProps, Fragment, renderList, resolveDynamicComponent, isRef } from "vue";
|
2
|
-
import { valueToPx } from "../_shared/utils/dom.js";
|
3
2
|
import { unrefElement } from "../node_modules/@vueuse/core/index.js";
|
4
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
@@ -8,6 +7,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
8
7
|
import "../node_modules/dayjs/plugin/toObject.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
9
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import { valueToPx } from "../_shared/utils/dom.js";
|
11
11
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
12
12
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
13
13
|
import "../_shared/utils/locale.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, toRefs, createElementBlock, openBlock, mergeProps, unref, createElementVNode, Fragment, renderList, renderSlot } from "vue";
|
2
|
-
import "../_shared/utils/dom.js";
|
3
2
|
import { useVirtualList } from "../node_modules/@vueuse/core/index.js";
|
4
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
@@ -8,6 +7,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
8
7
|
import "../node_modules/dayjs/plugin/toObject.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
9
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import "../_shared/utils/dom.js";
|
11
11
|
import "../_shared/utils/locale.js";
|
12
12
|
import "../_shared/utils/time.js";
|
13
13
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { debounce } from "../../_shared/utils/dom.js";
|
2
1
|
import { useScroll } from "../../node_modules/@vueuse/core/index.js";
|
3
2
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../../node_modules/dayjs/dayjs.min.js";
|
@@ -7,6 +6,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import { debounce } from "../../_shared/utils/dom.js";
|
10
10
|
import "vue";
|
11
11
|
import "../../_shared/utils/locale.js";
|
12
12
|
import "../../_shared/utils/time.js";
|
package/es/Mention/index.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, ref, computed, onMounted, createBlock, openBlock, unref, mergeProps, isRef, createSlots, withCtx, renderSlot, nextTick } from "vue";
|
2
|
-
import "../_shared/utils/dom.js";
|
3
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,6 +6,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import "../_shared/utils/dom.js";
|
10
10
|
import { isArray, isNull } from "../_shared/utils/is.js";
|
11
11
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
12
12
|
import "../_shared/utils/locale.js";
|
package/es/Menu/Menu.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, ref, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, createCommentVNode, renderSlot, createBlock } from "vue";
|
2
|
-
import { mediaQueryHandler } from "../_shared/utils/dom.js";
|
3
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,9 +6,10 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import { mediaQueryHandler } from "../_shared/utils/dom.js";
|
10
10
|
import "../_shared/utils/locale.js";
|
11
11
|
import "../_shared/utils/time.js";
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
import _sfc_main$2 from "../_shared/icons/IconMenuFold.vue.js";
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, createVNode, unref, withCtx, createElementVNode, Fragment, renderList, createBlock } from "vue";
|
2
2
|
import _sfc_main$2 from "../_shared/icons/IconArrowDown.vue.js";
|
3
|
-
import "../_shared/utils/dom.js";
|
4
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
6
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -8,9 +7,10 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
8
7
|
import "../node_modules/dayjs/plugin/toObject.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
9
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import "../_shared/utils/dom.js";
|
11
11
|
import "../_shared/utils/locale.js";
|
12
12
|
import "../_shared/utils/time.js";
|
13
|
-
/* empty css
|
13
|
+
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
/* empty css */
|
16
16
|
import _sfc_main$1 from "../_shared/icons/IconMore.vue.js";
|
package/es/Menu/MenuItem.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, useAttrs, computed, ref, onMounted, createElementBlock, createCommentVNode, unref, openBlock, normalizeClass, createVNode, createBlock, withCtx, createElementVNode, withDirectives, normalizeStyle, renderSlot, vShow, Fragment, renderList, resolveDynamicComponent } from "vue";
|
2
|
-
import { valueToPx } from "../_shared/utils/dom.js";
|
3
2
|
import { createReusableTemplate } from "../node_modules/@vueuse/core/index.js";
|
4
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
@@ -8,6 +7,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
8
7
|
import "../node_modules/dayjs/plugin/toObject.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
9
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import { valueToPx } from "../_shared/utils/dom.js";
|
11
11
|
import { isUndefined } from "../_shared/utils/is.js";
|
12
12
|
import "../_shared/utils/locale.js";
|
13
13
|
import "../_shared/utils/time.js";
|
@@ -171,7 +171,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
171
171
|
}, [
|
172
172
|
renderSlot(_ctx.$slots, "default")
|
173
173
|
], 2), [
|
174
|
-
[vShow, !unref(computedCollapsed)]
|
174
|
+
[vShow, !unref(computedCollapsed) || !$slots.icon]
|
175
175
|
]),
|
176
176
|
$slots.suffix ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2, [
|
177
177
|
renderSlot(_ctx.$slots, "suffix")
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, renderSlot, createTextVNode, toDisplayString, normalizeStyle } from "vue";
|
2
|
-
import { valueToPx } from "../_shared/utils/dom.js";
|
3
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,6 +6,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import { valueToPx } from "../_shared/utils/dom.js";
|
10
10
|
import "../_shared/utils/locale.js";
|
11
11
|
import "../_shared/utils/time.js";
|
12
12
|
import useMenuContext from "./hooks/useContext.js";
|
package/es/Menu/SubMenu.vue.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, useSlots, createElementBlock, openBlock, normalizeClass, unref, createVNode, createSlots, withCtx, renderSlot, createTextVNode, toDisplayString, withDirectives, createElementVNode, vShow } from "vue";
|
2
2
|
import useMenuContext from "./hooks/useContext.js";
|
3
3
|
import _sfc_main$2 from "../_shared/icons/IconArrowDown.vue.js";
|
4
|
-
import "../_shared/utils/dom.js";
|
5
4
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
6
5
|
import "../node_modules/dayjs/dayjs.min.js";
|
7
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -9,9 +8,10 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
9
8
|
import "../node_modules/dayjs/plugin/toObject.js";
|
10
9
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
11
10
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
11
|
+
import "../_shared/utils/dom.js";
|
12
12
|
import "../_shared/utils/locale.js";
|
13
13
|
import "../_shared/utils/time.js";
|
14
|
-
/* empty css
|
14
|
+
/* empty css */
|
15
15
|
import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
|
16
16
|
/* empty css */
|
17
17
|
/* empty css */
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { ref, computed, watchEffect, watch } from "vue";
|
2
|
-
import { throttle } from "../../_shared/utils/dom.js";
|
3
2
|
import { useResizeObserver, unrefElement } from "../../node_modules/@vueuse/core/index.js";
|
4
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
5
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
@@ -8,6 +7,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
|
|
8
7
|
import "../../node_modules/dayjs/plugin/toObject.js";
|
9
8
|
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
9
|
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import { throttle } from "../../_shared/utils/dom.js";
|
11
11
|
import "../../_shared/utils/locale.js";
|
12
12
|
import "../../_shared/utils/time.js";
|
13
13
|
function useCalcMaxMenuItem({
|
@@ -33,7 +33,7 @@ export type MenuTreeNode = {
|
|
33
33
|
label: () => any;
|
34
34
|
children?: MenuTreeNode[];
|
35
35
|
};
|
36
|
-
export declare function
|
36
|
+
export declare function flattenMenuTree(vnodes: VNode[], componentName: string[]): MenuTreeNode[];
|
37
37
|
export declare function buildMenuTree(flatData: MenuTreeNode[]): MenuTreeNode[];
|
38
38
|
export declare function isMenuItemActive(menuTree: MenuTreeNode[], currentPath: string, activePath: string): boolean;
|
39
39
|
export declare const getPopupMaxHeight: (popupMaxHeight: PopupMaxHeight) => number | undefined;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { toRefs, computed, useSlots, ref, provide, inject, isVNode } from "vue";
|
2
|
-
import { valueToPx } from "../../_shared/utils/dom.js";
|
3
2
|
import { nanoid } from "../../node_modules/nanoid/index.browser.js";
|
4
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
5
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
@@ -8,6 +7,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
|
|
8
7
|
import "../../node_modules/dayjs/plugin/toObject.js";
|
9
8
|
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
9
|
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import { valueToPx } from "../../_shared/utils/dom.js";
|
11
11
|
import { isUndefined, isBoolean, isNumber, isObject, isFunction } from "../../_shared/utils/is.js";
|
12
12
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
13
13
|
import "../../_shared/utils/locale.js";
|
@@ -19,7 +19,7 @@ import _sfc_main from "../SubMenu.vue.js";
|
|
19
19
|
import _sfc_main$1 from "../MenuItem.vue.js";
|
20
20
|
/* empty css */
|
21
21
|
const MENU_CONTEXT_KEY = "menu-context";
|
22
|
-
function
|
22
|
+
function flattenMenuTree(vnodes, componentName) {
|
23
23
|
const result = [];
|
24
24
|
const traverse = (nodes, parentId = null, depth = 0) => {
|
25
25
|
var _a, _b, _c;
|
@@ -176,14 +176,11 @@ function useMenuContext() {
|
|
176
176
|
});
|
177
177
|
const slots = useSlots();
|
178
178
|
const menuTreeNodes = computed(() => {
|
179
|
-
var _a
|
180
|
-
|
181
|
-
const result = FlattenMenuTree(((_b = slots.default) == null ? void 0 : _b.call(slots)) || [], [
|
179
|
+
var _a;
|
180
|
+
return flattenMenuTree(((_a = slots.default) == null ? void 0 : _a.call(slots)) || [], [
|
182
181
|
_sfc_main.name ?? "",
|
183
182
|
_sfc_main$1.name ?? ""
|
184
183
|
]);
|
185
|
-
console.log(result, "result");
|
186
|
-
return result;
|
187
184
|
});
|
188
185
|
const menuItemWidths = ref([]);
|
189
186
|
const menuTree = computed(() => buildMenuTree(menuTreeNodes.value));
|
@@ -256,9 +253,9 @@ function useMenuContext() {
|
|
256
253
|
};
|
257
254
|
}
|
258
255
|
export {
|
259
|
-
FlattenMenuTree,
|
260
256
|
buildMenuTree,
|
261
257
|
useMenuContext as default,
|
258
|
+
flattenMenuTree,
|
262
259
|
getPopupMaxHeight,
|
263
260
|
isMenuItemActive
|
264
261
|
};
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { defineComponent, toRefs, watch, onMounted, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, resolveDynamicComponent, toDisplayString, createVNode } from "vue";
|
2
2
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
3
|
-
import "../_shared/utils/dom.js";
|
4
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
6
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -8,11 +7,12 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
8
7
|
import "../node_modules/dayjs/plugin/toObject.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
9
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import "../_shared/utils/dom.js";
|
11
11
|
import { isUndefined } from "../_shared/utils/is.js";
|
12
12
|
import "../_shared/utils/locale.js";
|
13
13
|
import "../_shared/utils/time.js";
|
14
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
15
|
-
/* empty css
|
14
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
15
|
+
/* empty css */
|
16
16
|
/* empty css */
|
17
17
|
/* empty css */
|
18
18
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
package/es/Message/index.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { reactive, render, h, nextTick } from "vue";
|
2
|
-
import "../_shared/utils/dom.js";
|
3
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,6 +6,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import "../_shared/utils/dom.js";
|
10
10
|
import { isString } from "../_shared/utils/is.js";
|
11
11
|
import "../_shared/utils/locale.js";
|
12
12
|
import "../_shared/utils/time.js";
|
package/es/Modal/Modal.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createBlock, openBlock, Teleport, unref, withDirectives, createCommentVNode, createElementBlock, normalizeStyle, normalizeClass, createVNode, createElementVNode, Transition, withCtx, vShow, withModifiers, renderSlot, createTextVNode, toDisplayString, mergeProps } from "vue";
|
2
|
-
import { valueToPx } from "../_shared/utils/dom.js";
|
3
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,14 +6,15 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import { valueToPx } from "../_shared/utils/dom.js";
|
10
10
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
11
11
|
import { useI18n } from "../_shared/utils/locale.js";
|
12
12
|
import "../_shared/utils/time.js";
|
13
13
|
import useModalClose from "./hooks/useModalClose.js";
|
14
14
|
import useModalDraggable from "./hooks/useModalDraggable.js";
|
15
15
|
import Button from "../Button/index.js";
|
16
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
17
|
-
/* empty css
|
16
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
17
|
+
/* empty css */
|
18
18
|
/* empty css */
|
19
19
|
/* empty css */
|
20
20
|
const _hoisted_1 = {
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, ref, onMounted, createBlock, openBlock, mergeProps, withCtx, createElementVNode, resolveDynamicComponent, unref, createElementBlock, createCommentVNode } from "vue";
|
2
|
-
import "../_shared/utils/dom.js";
|
3
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,6 +6,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import "../_shared/utils/dom.js";
|
10
10
|
import "../_shared/utils/locale.js";
|
11
11
|
import "../_shared/utils/time.js";
|
12
12
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { ref, watch, nextTick } from "vue";
|
2
|
-
import "../../_shared/utils/dom.js";
|
3
2
|
import { onKeyStroke } from "../../node_modules/@vueuse/core/index.js";
|
4
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
5
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
@@ -8,6 +7,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
|
|
8
7
|
import "../../node_modules/dayjs/plugin/toObject.js";
|
9
8
|
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
9
|
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import "../../_shared/utils/dom.js";
|
11
11
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
12
12
|
import "../../_shared/utils/locale.js";
|
13
13
|
import "../../_shared/utils/time.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { ref, computed, watch } from "vue";
|
2
|
-
import { valueToPx, sleep } from "../../_shared/utils/dom.js";
|
3
2
|
import { useDraggable } from "../../node_modules/@vueuse/core/index.js";
|
4
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
5
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
@@ -8,6 +7,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
|
|
8
7
|
import "../../node_modules/dayjs/plugin/toObject.js";
|
9
8
|
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
9
|
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import { valueToPx, sleep } from "../../_shared/utils/dom.js";
|
11
11
|
import "../../_shared/utils/locale.js";
|
12
12
|
import "../../_shared/utils/time.js";
|
13
13
|
const useModalDraggable = (params) => {
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import "../../_shared/utils/dom.js";
|
2
1
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
3
2
|
import "../../node_modules/dayjs/dayjs.min.js";
|
4
3
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -6,6 +5,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
|
|
6
5
|
import "../../node_modules/dayjs/plugin/toObject.js";
|
7
6
|
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
7
|
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
8
|
+
import "../../_shared/utils/dom.js";
|
9
9
|
import "vue";
|
10
10
|
import { isBoolean } from "../../_shared/utils/is.js";
|
11
11
|
import "../../_shared/utils/locale.js";
|
@@ -1,6 +1,5 @@
|
|
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
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
6
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -8,12 +7,13 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
8
7
|
import "../node_modules/dayjs/plugin/toObject.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
9
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import "../_shared/utils/dom.js";
|
11
11
|
import { isUndefined, isFunction } from "../_shared/utils/is.js";
|
12
12
|
import "../_shared/utils/locale.js";
|
13
13
|
import "../_shared/utils/time.js";
|
14
14
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
15
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
16
|
-
/* empty css
|
15
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
16
|
+
/* empty css */
|
17
17
|
/* empty css */
|
18
18
|
/* empty css */
|
19
19
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
package/es/Notification/index.js
CHANGED
@@ -3,7 +3,6 @@ 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
6
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
8
7
|
import "../node_modules/dayjs/dayjs.min.js";
|
9
8
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -11,6 +10,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
11
10
|
import "../node_modules/dayjs/plugin/toObject.js";
|
12
11
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
13
12
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
13
|
+
import "../_shared/utils/dom.js";
|
14
14
|
import { isString } from "../_shared/utils/is.js";
|
15
15
|
import "../_shared/utils/locale.js";
|
16
16
|
import "../_shared/utils/time.js";
|
@@ -1,5 +1,4 @@
|
|
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 { throttle, sleep, valueToPx } from "../_shared/utils/dom.js";
|
3
2
|
import { unrefElement, useResizeObserver } from "../node_modules/@vueuse/core/index.js";
|
4
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
@@ -8,6 +7,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
8
7
|
import "../node_modules/dayjs/plugin/toObject.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
9
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import { throttle, sleep, valueToPx } from "../_shared/utils/dom.js";
|
11
11
|
import "../_shared/utils/locale.js";
|
12
12
|
import "../_shared/utils/time.js";
|
13
13
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
@@ -1,7 +1,6 @@
|
|
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
|
4
|
-
import "../_shared/utils/dom.js";
|
2
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
3
|
+
/* empty css */
|
5
4
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
6
5
|
import "../node_modules/dayjs/dayjs.min.js";
|
7
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -9,6 +8,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
9
8
|
import "../node_modules/dayjs/plugin/toObject.js";
|
10
9
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
11
10
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
11
|
+
import "../_shared/utils/dom.js";
|
12
12
|
import "../_shared/utils/locale.js";
|
13
13
|
import "../_shared/utils/time.js";
|
14
14
|
/* empty css */
|
@@ -1,5 +1,4 @@
|
|
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 { sleep } from "../_shared/utils/dom.js";
|
3
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,6 +6,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import { sleep } from "../_shared/utils/dom.js";
|
10
10
|
import { isNumber } from "../_shared/utils/is.js";
|
11
11
|
import { useI18n } from "../_shared/utils/locale.js";
|
12
12
|
import "../_shared/utils/time.js";
|
@@ -90,6 +90,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
90
90
|
}
|
91
91
|
);
|
92
92
|
const handleBlur = async (e) => {
|
93
|
+
await sleep(0);
|
93
94
|
if (`${tempCurrent.value}`.length) {
|
94
95
|
computedCurrent.value = tempCurrent.value;
|
95
96
|
}
|
@@ -146,8 +147,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
146
147
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(computedCurrent) ? computedCurrent.value = $event : null),
|
147
148
|
"hide-button": "",
|
148
149
|
size: unref(size),
|
149
|
-
disabled: _ctx.disabled
|
150
|
-
|
150
|
+
disabled: _ctx.disabled,
|
151
|
+
min: 1,
|
152
|
+
max: unref(pages)
|
153
|
+
}, null, 8, ["modelValue", "size", "disabled", "max"]),
|
151
154
|
_cache[4] || (_cache[4] = createElementVNode("span", { class: "yc-pagination-jumper-separator" }, "/", -1)),
|
152
155
|
createElementVNode("span", _hoisted_3, toDisplayString(unref(pages)), 1)
|
153
156
|
])),
|
@@ -185,11 +188,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
185
188
|
createVNode(unref(InputNumber), {
|
186
189
|
modelValue: tempCurrent.value,
|
187
190
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => tempCurrent.value = $event),
|
188
|
-
"hide-button": "",
|
189
191
|
size: unref(size),
|
190
192
|
disabled: _ctx.disabled,
|
191
193
|
min: 1,
|
192
194
|
max: unref(pages),
|
195
|
+
"hide-button": "",
|
193
196
|
onFocus: _cache[3] || (_cache[3] = ($event) => tempCurrent.value = unref(computedCurrent)),
|
194
197
|
onBlur: handleBlur
|
195
198
|
}, null, 8, ["modelValue", "size", "disabled", "max"])
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, renderSlot, createBlock, createCommentVNode } from "vue";
|
2
|
-
import "../_shared/utils/dom.js";
|
3
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,9 +6,10 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import "../_shared/utils/dom.js";
|
10
10
|
import "../_shared/utils/locale.js";
|
11
11
|
import "../_shared/utils/time.js";
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { toRefs, ref, computed, provide, inject } from "vue";
|
2
|
-
import "../../_shared/utils/dom.js";
|
3
2
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import "../../node_modules/dayjs/dayjs.min.js";
|
5
4
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -7,6 +6,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
|
|
7
6
|
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
7
|
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
8
|
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
|
+
import "../../_shared/utils/dom.js";
|
10
10
|
import { getGlobalConfig } from "../../_shared/utils/global-config.js";
|
11
11
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
12
12
|
import { useI18n } from "../../_shared/utils/locale.js";
|