yc-design-vue 2.1.6 → 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/Button/index.css +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.css +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.d.ts +13 -0
- package/es/Menu/hooks/useCalcMaxMenuItems.js +84 -0
- package/es/Menu/hooks/useContext.d.ts +1 -1
- package/es/Menu/hooks/useContext.js +12 -30
- 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 -4
- package/es/Transfer/hooks/useContext.d.ts +1 -2
- package/es/Transfer/hooks/useContext.js +2 -5
- 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/Button/index.css +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.css +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.d.ts +13 -0
- package/lib/Menu/hooks/useCalcMaxMenuItems.js +1 -0
- 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.d.ts +1 -2
- 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
@@ -1,8 +1,7 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, unref, withCtx, createElementBlock, createCommentVNode, renderSlot, toDisplayString } from "vue";
|
2
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
3
|
-
/* empty css
|
2
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
3
|
+
/* empty css */
|
4
4
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
5
|
-
import "../_shared/utils/dom.js";
|
6
5
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
7
6
|
import "../node_modules/dayjs/dayjs.min.js";
|
8
7
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -10,6 +9,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
10
9
|
import "../node_modules/dayjs/plugin/toObject.js";
|
11
10
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
12
11
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
12
|
+
import "../_shared/utils/dom.js";
|
13
13
|
import "../_shared/utils/locale.js";
|
14
14
|
import "../_shared/utils/time.js";
|
15
15
|
/* empty css */
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { toRefs, computed, ref, 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 { isNumber, isFunction, isUndefined } from "../../_shared/utils/is.js";
|
11
11
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
12
12
|
import "../../_shared/utils/locale.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, ref, computed, createBlock, openBlock, unref, createSlots, withCtx, renderSlot, createElementVNode, createVNode } 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 { isString, isFunction, isNumber } from "../_shared/utils/is.js";
|
11
11
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
12
12
|
import "../_shared/utils/locale.js";
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createBlock, openBlock, unref, normalizeClass, withCtx, renderSlot, createElementBlock, Fragment } from "vue";
|
2
2
|
import _sfc_main$1 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$2 from "../_shared/icons/IconMinus.vue2.js";
|
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.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-link{cursor:pointer;padding:1px 4px;line-height:1.5715;background-color:transparent;border:none;border-radius:var(--border-radius-small);font-size:14px;font-weight:400;transition:all .1s cubic-bezier(0, 0, 1, 1);display:inline-flex;justify-content:center;align-items:center;gap:6px}.yc-link .yc-link-icon{flex-shrink:0;color:inherit;font-size:12px;display:flex;justify-content:center;align-items:center}.yc-link .yc-link-icon .yc-spin{font-size:inherit;color:inherit}.yc-link-hoverable:hover{background-color:var(--color-fill-2)}.yc-link-hoverable:active{background-color:var(--color-fill-3)}.yc-link-disabled{cursor:not-allowed}.yc-link-loading{cursor:default;position:relative}.yc-link-status-normal{color:rgb(var(--primary-6))}.yc-link-status-normal.yc-link-loading,.yc-link-status-normal.yc-link-disabled{color:var(--color-link-light-3)}.yc-link-status-warning{color:rgb(var(--warning-6))}.yc-link-status-warning.yc-link-loading,.yc-link-status-warning.yc-link-disabled{color:var(--color-warning-light-3)}.yc-link-status-success{color:rgb(var(--success-6))}.yc-link-status-success.yc-link-loading,.yc-link-status-success.yc-link-disabled{color:var(--color-success-light-3)}.yc-link-status-danger{color:rgb(var(--danger-6))}.yc-link-status-danger.yc-link-loading,.yc-link-status-danger.yc-link-disabled{color:var(--color-danger-light-3)}
|
1
|
+
.yc-link{cursor:pointer;padding:1px 4px;line-height:1.5715;background-color:transparent;border:none;border-radius:var(--border-radius-small);font-size:14px;font-weight:400;transition:all .1s cubic-bezier(0, 0, 1, 1);display:inline-flex;justify-content:center;align-items:center;gap:6px}.yc-link .yc-link-icon{flex-shrink:0;color:inherit;font-size:12px;display:flex;justify-content:center;align-items:center}.yc-link .yc-link-icon .yc-spin{font-size:inherit;color:inherit}.yc-link-hoverable:not(.yc-link-disabled):not(.yc-link-loading):hover{background-color:var(--color-fill-2)}.yc-link-hoverable:not(.yc-link-disabled):not(.yc-link-loading):active{background-color:var(--color-fill-3)}.yc-link-disabled{cursor:not-allowed}.yc-link-loading{cursor:default;position:relative}.yc-link-status-normal{color:rgb(var(--primary-6))}.yc-link-status-normal.yc-link-loading,.yc-link-status-normal.yc-link-disabled{color:var(--color-link-light-3)}.yc-link-status-warning{color:rgb(var(--warning-6))}.yc-link-status-warning.yc-link-loading,.yc-link-status-warning.yc-link-disabled{color:var(--color-warning-light-3)}.yc-link-status-success{color:rgb(var(--success-6))}.yc-link-status-success.yc-link-loading,.yc-link-status-success.yc-link-disabled{color:var(--color-success-light-3)}.yc-link-status-danger{color:rgb(var(--danger-6))}.yc-link-status-danger.yc-link-loading,.yc-link-status-danger.yc-link-disabled{color:var(--color-danger-light-3)}
|
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 */
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Ref } from 'vue';
|
2
|
+
import { Direction } from '../../_shared/type';
|
3
|
+
import { MenuTreeNode } from './useContext';
|
4
|
+
interface UseCalcMaxMenuItemProps {
|
5
|
+
menuRef: Ref<HTMLDivElement | undefined>;
|
6
|
+
menuTree: Ref<MenuTreeNode[]>;
|
7
|
+
menuItemWidths: Ref<number[]>;
|
8
|
+
mode: Ref<Direction>;
|
9
|
+
}
|
10
|
+
export default function useCalcMaxMenuItem({ menuRef, menuTree, menuItemWidths, mode, }: UseCalcMaxMenuItemProps): {
|
11
|
+
max: Ref<number, number>;
|
12
|
+
};
|
13
|
+
export {};
|
@@ -0,0 +1,84 @@
|
|
1
|
+
import { ref, computed, watchEffect, watch } from "vue";
|
2
|
+
import { useResizeObserver, unrefElement } from "../../node_modules/@vueuse/core/index.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 { throttle } from "../../_shared/utils/dom.js";
|
11
|
+
import "../../_shared/utils/locale.js";
|
12
|
+
import "../../_shared/utils/time.js";
|
13
|
+
function useCalcMaxMenuItem({
|
14
|
+
menuRef,
|
15
|
+
menuTree,
|
16
|
+
menuItemWidths,
|
17
|
+
mode
|
18
|
+
}) {
|
19
|
+
const max = ref(1e6);
|
20
|
+
const totalItems = computed(() => menuTree.value.length);
|
21
|
+
const ellipsisWidth = 58;
|
22
|
+
const ITEM_HORIZONTAL_GAP = 12;
|
23
|
+
const calculateMaxFitItems = (availableSpace) => {
|
24
|
+
let currentWidth = 0;
|
25
|
+
let count = 0;
|
26
|
+
for (let i = 0; i < totalItems.value; i++) {
|
27
|
+
const itemWidth = menuItemWidths.value[i];
|
28
|
+
if (itemWidth === void 0) {
|
29
|
+
return count;
|
30
|
+
}
|
31
|
+
const gap = i > 0 ? ITEM_HORIZONTAL_GAP : 0;
|
32
|
+
const itemTotalOccupiedWidth = itemWidth + gap;
|
33
|
+
if (currentWidth + itemTotalOccupiedWidth <= availableSpace) {
|
34
|
+
currentWidth += itemTotalOccupiedWidth;
|
35
|
+
count++;
|
36
|
+
} else {
|
37
|
+
break;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
return count;
|
41
|
+
};
|
42
|
+
const updateMaxItems = () => {
|
43
|
+
const menuElement = unrefElement(menuRef);
|
44
|
+
if (!menuElement || mode.value !== "horizontal") {
|
45
|
+
max.value = menuTree.value.length;
|
46
|
+
return;
|
47
|
+
}
|
48
|
+
const style = window.getComputedStyle(menuElement);
|
49
|
+
const paddingLeft = parseFloat(style.paddingLeft) || 0;
|
50
|
+
const paddingRight = parseFloat(style.paddingRight) || 0;
|
51
|
+
const menuContentWidth = menuElement.clientWidth - paddingLeft - paddingRight;
|
52
|
+
let maxCount = calculateMaxFitItems(menuContentWidth);
|
53
|
+
if (maxCount < totalItems.value) {
|
54
|
+
const availableSpaceWithEllipsis = menuContentWidth - ellipsisWidth;
|
55
|
+
maxCount = calculateMaxFitItems(availableSpaceWithEllipsis);
|
56
|
+
}
|
57
|
+
max.value = Math.max(0, Math.min(maxCount, totalItems.value));
|
58
|
+
};
|
59
|
+
watchEffect((onCleanup) => {
|
60
|
+
if (mode.value === "horizontal") {
|
61
|
+
const { stop: stopResizeObserver } = useResizeObserver(
|
62
|
+
menuRef,
|
63
|
+
throttle(updateMaxItems, 200)
|
64
|
+
);
|
65
|
+
const unwatchWidths = watch(menuItemWidths, updateMaxItems, {
|
66
|
+
deep: true
|
67
|
+
});
|
68
|
+
const unwatchTree = watch(() => menuTree.value.length, updateMaxItems);
|
69
|
+
onCleanup(() => {
|
70
|
+
stopResizeObserver();
|
71
|
+
unwatchWidths();
|
72
|
+
unwatchTree();
|
73
|
+
});
|
74
|
+
} else {
|
75
|
+
updateMaxItems();
|
76
|
+
}
|
77
|
+
});
|
78
|
+
return {
|
79
|
+
max
|
80
|
+
};
|
81
|
+
}
|
82
|
+
export {
|
83
|
+
useCalcMaxMenuItem as default
|
84
|
+
};
|
@@ -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,6 +1,4 @@
|
|
1
1
|
import { toRefs, computed, useSlots, ref, provide, inject, isVNode } from "vue";
|
2
|
-
import { throttle, valueToPx } from "../../_shared/utils/dom.js";
|
3
|
-
import { useResizeObserver } from "../../node_modules/@vueuse/core/index.js";
|
4
2
|
import { nanoid } from "../../node_modules/nanoid/index.browser.js";
|
5
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
6
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
@@ -9,17 +7,19 @@ import "../../node_modules/dayjs/plugin/duration.js";
|
|
9
7
|
import "../../node_modules/dayjs/plugin/toObject.js";
|
10
8
|
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
11
9
|
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
|
+
import { valueToPx } from "../../_shared/utils/dom.js";
|
12
11
|
import { isUndefined, isBoolean, isNumber, isObject, isFunction } from "../../_shared/utils/is.js";
|
13
12
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
14
13
|
import "../../_shared/utils/locale.js";
|
15
14
|
import "../../_shared/utils/time.js";
|
15
|
+
import useCalcMaxMenuItem from "./useCalcMaxMenuItems.js";
|
16
16
|
import useLayoutContext from "../../Layout/hooks/useSiderContext.js";
|
17
17
|
import _sfc_main from "../SubMenu.vue.js";
|
18
18
|
/* empty css */
|
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,41 +176,23 @@ 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));
|
190
|
-
const max = ref(1e6);
|
191
187
|
const theme = computed(() => {
|
192
188
|
return _theme.value || siderTheme.value || "light";
|
193
189
|
});
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
let totalWidth = 0;
|
201
|
-
for (let i = 0; i < menuTree.value.length; i++) {
|
202
|
-
const gap = i > 0 ? 4 : 0;
|
203
|
-
const curWidth = totalWidth + gap + menuItemWidths.value[i];
|
204
|
-
if (curWidth > menuWidth) {
|
205
|
-
break;
|
206
|
-
}
|
207
|
-
totalWidth = curWidth;
|
208
|
-
maxCount++;
|
209
|
-
}
|
210
|
-
max.value = maxCount;
|
211
|
-
}, 200)
|
212
|
-
);
|
213
|
-
}
|
190
|
+
const { max } = useCalcMaxMenuItem({
|
191
|
+
menuRef,
|
192
|
+
menuItemWidths,
|
193
|
+
menuTree,
|
194
|
+
mode
|
195
|
+
});
|
214
196
|
provide(MENU_CONTEXT_KEY, {
|
215
197
|
computedSelectedKeys,
|
216
198
|
computedOpenKeys,
|
@@ -271,9 +253,9 @@ function useMenuContext() {
|
|
271
253
|
};
|
272
254
|
}
|
273
255
|
export {
|
274
|
-
FlattenMenuTree,
|
275
256
|
buildMenuTree,
|
276
257
|
useMenuContext as default,
|
258
|
+
flattenMenuTree,
|
277
259
|
getPopupMaxHeight,
|
278
260
|
isMenuItemActive
|
279
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";
|