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,5 +1,4 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createElementBlock, openBlock, normalizeStyle, Fragment, renderList, unref } 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
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref } 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 "../_shared/utils/locale.js";
|
12
12
|
import "../_shared/utils/time.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, watch, createBlock, openBlock, unref, isRef, withCtx, createElementVNode, normalizeStyle } 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";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { toRefs, computed, ref, 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 { isArray } 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 { reactive, computed, watch, nextTick } from "vue";
|
2
|
-
import { valueToPx } 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 } from "../../_shared/utils/dom.js";
|
11
11
|
import "../../_shared/utils/locale.js";
|
12
12
|
import "../../_shared/utils/time.js";
|
13
13
|
const useSliderDraggable = (params) => {
|
package/es/Space/index.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, Fragment, Comment, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, renderSlot, createCommentVNode, renderList, createElementVNode, createBlock, resolveDynamicComponent } 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 { isNumber, isArray, isUndefined } from "../_shared/utils/is.js";
|
11
11
|
import "../_shared/utils/locale.js";
|
12
12
|
import "../_shared/utils/time.js";
|
package/es/Spin/index.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, createElementBlock, openBlock, createVNode, createBlock, renderSlot, unref, withCtx, createCommentVNode, normalizeStyle, normalizeClass, Fragment, renderList, createElementVNode, createTextVNode, toDisplayString, Transition } 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,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 { valueToPx } from "../_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/IconLoading.vue.js";
|
package/es/Split/index.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, ref, watch, createBlock, openBlock, resolveDynamicComponent, normalizeClass, unref, withCtx, createElementVNode, normalizeStyle, renderSlot, createVNode } from "vue";
|
2
|
-
import { sleep, valueToPx } 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,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 { sleep, valueToPx } from "../_shared/utils/dom.js";
|
11
11
|
import { isNumber } from "../_shared/utils/is.js";
|
12
12
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
13
13
|
import "../_shared/utils/locale.js";
|
14
14
|
import "../_shared/utils/time.js";
|
15
|
-
/* empty css
|
15
|
+
/* empty css */
|
16
16
|
/* empty css */
|
17
17
|
/* empty css */
|
18
18
|
import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, watch, createBlock, openBlock, unref, withCtx, createTextVNode, toDisplayString } 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 { isUndefined } from "../_shared/utils/is.js";
|
11
11
|
import "../_shared/utils/locale.js";
|
12
12
|
import { formatSeconds } from "../_shared/utils/time.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, ref, computed, watch, createElementBlock, openBlock, createCommentVNode, createElementVNode, renderSlot, createTextVNode, toDisplayString, normalizeStyle } from "vue";
|
2
|
-
import "../_shared/utils/dom.js";
|
3
2
|
import Tween from "../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, isNumber } from "../_shared/utils/is.js";
|
11
11
|
import "../_shared/utils/locale.js";
|
12
12
|
import { formatSeconds, formatDate } from "../_shared/utils/time.js";
|
package/es/Steps/Step.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, renderSlot, createElementVNode, createBlock, Fragment, createTextVNode, toDisplayString } 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/IconCheck.vue.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { toRefs, computed, reactive, ref, provide, inject, onBeforeUnmount } from "vue";
|
2
|
-
import "../../_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 "../../_shared/utils/dom.js";
|
11
11
|
import { isUndefined } from "../../_shared/utils/is.js";
|
12
12
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
13
13
|
import "../../_shared/utils/locale.js";
|
package/es/Switch/index.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, ref, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, renderSlot, createTextVNode, toDisplayString } 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 { isBoolean } from "../_shared/utils/is.js";
|
package/es/Tabs/TabButton.vue.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } 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 */
|
package/es/Tabs/TabPane.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, computed, createElementBlock, openBlock, createCommentVNode, unref, 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";
|
package/es/Tabs/Tabs.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, ref, computed, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, withCtx, createVNode, normalizeStyle, Fragment, renderList, renderSlot, resolveDynamicComponent, nextTick } 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,12 +6,13 @@ 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 { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
13
13
|
import useTabsContext from "./hooks/useContext.js";
|
14
14
|
import useTabsScroll from "./hooks/useTabsScroll.js";
|
15
|
-
/* empty css
|
15
|
+
/* empty css */
|
16
16
|
/* empty css */
|
17
17
|
/* empty css */
|
18
18
|
import _sfc_main$3 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createElementBlock, openBlock, 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 { isUndefined } from "../_shared/utils/is.js";
|
11
11
|
import "../_shared/utils/locale.js";
|
12
12
|
import "../_shared/utils/time.js";
|
package/es/Tabs/TabsTab.vue.js
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import { defineComponent, toRefs, onMounted, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createBlock, createCommentVNode, resolveDynamicComponent } from "vue";
|
2
2
|
import useTabsContext from "./hooks/useContext.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,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 { isUndefined } from "../_shared/utils/is.js";
|
12
12
|
import "../_shared/utils/locale.js";
|
13
13
|
import "../_shared/utils/time.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 "../../_shared/utils/locale.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { ref, computed, watch } from "vue";
|
2
|
-
import { sleep } from "../../_shared/utils/dom.js";
|
3
2
|
import { 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 { sleep } from "../../_shared/utils/dom.js";
|
11
11
|
import "../../_shared/utils/locale.js";
|
12
12
|
import "../../_shared/utils/time.js";
|
13
13
|
const useTabsScroll = (params) => {
|
package/es/Tag/index.vue.js
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, createElementBlock, createCommentVNode, unref, openBlock, normalizeStyle, normalizeClass, createElementVNode, createBlock, renderSlot, withCtx } from "vue";
|
2
2
|
import { TAG_PRESET_COLORS } 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,13 +7,14 @@ 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 { getGlobalConfig } from "../_shared/utils/global-config.js";
|
12
12
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
13
13
|
import "../_shared/utils/locale.js";
|
14
14
|
import "../_shared/utils/time.js";
|
15
15
|
import Spin from "../Spin/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 { computed } from "vue";
|
2
|
-
import { valueToPx } from "../../_shared/utils/dom.js";
|
3
2
|
import { useElementSize } 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 "../../_shared/utils/locale.js";
|
12
12
|
import "../../_shared/utils/time.js";
|
13
13
|
const useTextareaHeight = (mirrorRef, autoSize) => {
|
package/es/Textarea/index.vue.js
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, toDisplayString, normalizeStyle, withCtx, createTextVNode } from "vue";
|
2
2
|
import useTextareaHeight from "./hooks/useTextareaHeight.js";
|
3
3
|
import useLimitedInput from "../Input/hooks/useLimitedInput.js";
|
4
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
5
|
-
/* empty css
|
4
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
5
|
+
/* empty css */
|
6
6
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
7
|
-
import "../_shared/utils/dom.js";
|
8
7
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
9
8
|
import "../node_modules/dayjs/dayjs.min.js";
|
10
9
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -12,6 +11,7 @@ import "../node_modules/dayjs/plugin/duration.js";
|
|
12
11
|
import "../node_modules/dayjs/plugin/toObject.js";
|
13
12
|
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
14
13
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
14
|
+
import "../_shared/utils/dom.js";
|
15
15
|
import "../_shared/utils/locale.js";
|
16
16
|
import "../_shared/utils/time.js";
|
17
17
|
/* empty css */
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, useSlots, ref, createBlock, openBlock, unref, mergeProps, withCtx, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, createCommentVNode, renderSlot, withModifiers, Fragment, createVNode, createSlots } 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,13 +6,14 @@ 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 { isArray } from "../_shared/utils/is.js";
|
12
12
|
import "../_shared/utils/locale.js";
|
13
13
|
import { isValidTimeRange } from "../_shared/utils/time.js";
|
14
14
|
import useTimePickerContext from "./hooks/useContext.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 _sfc_main$2 from "../_shared/icons/IconTime.vue.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, ref, computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, Fragment, renderList, unref, createVNode, withCtx, withDirectives, normalizeClass, toDisplayString, vShow, renderSlot, createTextVNode } from "vue";
|
2
|
-
import { sleep } from "../_shared/utils/dom.js";
|
3
2
|
import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
|
4
3
|
import dayjs from "../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 { isUndefined, isArray } from "../_shared/utils/is.js";
|
11
11
|
import { useI18n } from "../_shared/utils/locale.js";
|
12
12
|
import { isValidTimeRange } from "../_shared/utils/time.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 { isArray } from "../../_shared/utils/is.js";
|
11
11
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
12
12
|
import { useI18n } from "../../_shared/utils/locale.js";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, withCtx, createElementBlock, createCommentVNode, unref, toDisplayString, renderSlot, createVNode } 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";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { toRefs, useSlots, computed, h, 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 "../../_shared/utils/locale.js";
|
11
11
|
import "../../_shared/utils/time.js";
|
12
12
|
import { findComponentsFromVnodes } from "../../_shared/utils/vue-utils.js";
|
package/es/Tooltip/index.vue.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createBlock, openBlock, unref, mergeProps, isRef, withCtx, renderSlot, createTextVNode, toDisplayString } 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";
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { defineComponent, useSlots, createElementBlock, openBlock, normalizeClass, createVNode, createCommentVNode, createSlots, withCtx, renderSlot, normalizeProps, guardReactiveProps, createBlock, unref } from "vue";
|
2
2
|
import useTransferContext from "./hooks/useContext.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/IconArrowRight.vue.js";
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, renderSlot, unref, normalizeProps, guardReactiveProps, createBlock, withCtx, createTextVNode, toDisplayString, Fragment, createVNode, mergeProps, renderList, normalizeClass } 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 */
|
@@ -58,7 +58,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
58
|
simple,
|
59
59
|
sourceInputSearchProps,
|
60
60
|
targetInputSearchProps,
|
61
|
-
slots,
|
62
61
|
title: _title,
|
63
62
|
emits
|
64
63
|
} = useTransferContext().inject();
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Ref
|
1
|
+
import { Ref } from 'vue';
|
2
2
|
import { TransferEmits, TransferItem, TransferItemValue } from '../type';
|
3
3
|
import { InputProps } from '../../Input';
|
4
4
|
import { RecordType } from '../../_shared/type';
|
@@ -17,7 +17,6 @@ type TransferContext = {
|
|
17
17
|
showSearch: Ref<boolean>;
|
18
18
|
oneWay: Ref<boolean>;
|
19
19
|
simple: Ref<boolean>;
|
20
|
-
slots: Slots;
|
21
20
|
emits: TransferEmits;
|
22
21
|
};
|
23
22
|
export default function useTransferContext(): {
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { toRefs,
|
2
|
-
import "../../_shared/utils/dom.js";
|
1
|
+
import { toRefs, computed, provide, inject, ref } from "vue";
|
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";
|
@@ -28,7 +28,6 @@ function useTransferContext() {
|
|
28
28
|
disabled,
|
29
29
|
title
|
30
30
|
} = toRefs(props);
|
31
|
-
const slots = useSlots();
|
32
31
|
const dataMap = computed(() => {
|
33
32
|
return Object.fromEntries(data.value.map((item) => [item.value, item]));
|
34
33
|
});
|
@@ -89,7 +88,6 @@ function useTransferContext() {
|
|
89
88
|
showSelectAll,
|
90
89
|
disabled,
|
91
90
|
title,
|
92
|
-
slots,
|
93
91
|
emits
|
94
92
|
});
|
95
93
|
return {
|
@@ -115,7 +113,6 @@ function useTransferContext() {
|
|
115
113
|
showSelectAll: ref(false),
|
116
114
|
sourceInputSearchProps: ref({}),
|
117
115
|
targetInputSearchProps: ref({}),
|
118
|
-
slots: {},
|
119
116
|
emits: () => {
|
120
117
|
}
|
121
118
|
});
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { inject, ref, provide, watch } from "vue";
|
2
|
-
import { sleep } from "../../_shared/utils/dom.js";
|
3
2
|
import { unrefElement } 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,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 { sleep } from "../../_shared/utils/dom.js";
|
12
12
|
import "../../_shared/utils/locale.js";
|
13
13
|
import "../../_shared/utils/time.js";
|
14
14
|
const TRIGGER_CONTEXT_KEY = "trigger-context";
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { toRefs, ref, computed, watch } from "vue";
|
2
|
-
import { valueToPx, sleep } from "../../_shared/utils/dom.js";
|
3
2
|
import { useElementSize, useElementBounding, 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, sleep } from "../../_shared/utils/dom.js";
|
11
11
|
import "../../_shared/utils/locale.js";
|
12
12
|
import "../../_shared/utils/time.js";
|
13
13
|
const useTriggerPosition = (params) => {
|