yc-design-vue 1.9.4 → 1.9.6
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/es/Affix/index.vue.js +0 -2
- package/es/Alert/index.vue.js +2 -3
- package/es/Anchor/Anchor.vue.js +0 -2
- package/es/Anchor/AnchorLink.vue.js +0 -2
- package/es/Anchor/hooks/useContext.js +0 -2
- package/es/AutoComplete/index.d.ts +6 -6
- package/es/AutoComplete/index.vue.d.ts +12 -12
- package/es/AutoComplete/index.vue.js +0 -2
- package/es/Avatar/Avatar.vue.js +0 -1
- package/es/Avatar/AvatarGroup.vue.js +0 -2
- package/es/Badge/index.vue.js +0 -2
- package/es/Breadcrumb/Breadcrumb.vue.js +0 -2
- package/es/Breadcrumb/BreadcrumbItem.vue.js +0 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +0 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -2
- package/es/Button/Button.vue.d.ts +1 -1
- package/es/Button/index.d.ts +3 -3
- package/es/Calendar/Calendar.vue.js +3 -4
- package/es/Calendar/CalendarMonth.vue.js +0 -2
- package/es/Calendar/CalendarYear.vue.js +0 -2
- package/es/Card/Card.vue.d.ts +1 -1
- package/es/Card/CardMeta.vue.js +0 -2
- package/es/Card/index.d.ts +3 -3
- package/es/Carousel/Carousel.vue.js +0 -2
- package/es/Carousel/CarouselArrow.vue.js +0 -1
- package/es/Carousel/CarouselIndicator.vue.js +0 -2
- package/es/Carousel/hooks/useContext.js +0 -2
- package/es/Cascader/Cascader.vue.d.ts +1 -1
- package/es/Cascader/Cascader.vue.js +0 -2
- package/es/Cascader/CascaderIcon.vue.js +1 -2
- package/es/Cascader/CascaderOption.vue.js +0 -1
- package/es/Cascader/CascaderPanel.vue.js +2 -7
- package/es/Cascader/CascaderSearchPanel.vue.js +2 -7
- package/es/Cascader/hooks/useContext.js +0 -2
- package/es/Cascader/index.d.ts +3 -3
- package/es/Checkbox/Checkbox.vue.js +3 -4
- package/es/Checkbox/hooks/useContext.js +0 -2
- package/es/Collapse/CollapseItem.vue.js +2 -3
- package/es/Collapse/hooks/useContext.js +0 -2
- package/es/ColorPicker/ColorControl.vue.js +0 -2
- package/es/ColorPicker/ColorInput.vue.js +0 -2
- package/es/ColorPicker/ColorList.vue.js +0 -2
- package/es/ColorPicker/ColorPalette.vue.js +0 -2
- package/es/ColorPicker/ColorPanel.vue.js +0 -2
- package/es/Comment/index.vue.js +0 -2
- package/es/ConfigProvider/index.d.ts +0 -6
- package/es/ConfigProvider/index.vue.d.ts +0 -2
- package/es/ConfigProvider/index.vue.js +3 -8
- package/es/ConfigProvider/type.d.ts +0 -7
- package/es/Descriptions/ReuseItem.vue.js +0 -2
- package/es/Descriptions/ReuseTd.vue.js +0 -2
- package/es/Divider/index.vue.js +0 -2
- package/es/Drawer/Drawer.vue.js +4 -5
- package/es/Drawer/DrawerService.vue.js +0 -2
- package/es/Dropdown/Doption.vue.js +0 -3
- package/es/Dropdown/Dropdown.vue.js +1 -5
- package/es/Dropdown/DropdownButton.vue.js +0 -1
- package/es/Dropdown/Dsubmenu.vue.d.ts +6 -6
- package/es/Dropdown/Dsubmenu.vue.js +9 -13
- package/es/Dropdown/hooks/useContext.js +0 -2
- package/es/Dropdown/index.css +1 -1
- package/es/Dropdown/index.d.ts +3 -3
- package/es/Empty/index.vue.js +1 -2
- package/es/Grid/Grid.vue.js +0 -2
- package/es/Grid/GridCol.vue.js +0 -2
- package/es/Grid/GridItem.vue.js +0 -2
- package/es/Grid/GridRow.vue.js +0 -2
- package/es/Grid/hooks/useContext.js +0 -2
- package/es/Image/Image.vue.js +2 -3
- package/es/Image/ImagePreview.vue.js +3 -4
- package/es/Image/ImagePreviewArrow.vue.js +0 -1
- package/es/Image/ImagePreviewToolbar.vue.js +0 -1
- package/es/Image/hooks/useContext.js +0 -2
- package/es/Input/Input.vue.js +1 -1
- package/es/Input/InputSuffix.vue.js +1 -2
- package/es/Input/hooks/useLimitedInput.js +0 -2
- package/es/InputNumber/InputNumber.vue.js +0 -2
- package/es/InputNumber/InputOperaBtn.vue.js +0 -1
- package/es/InputTag/index.vue.js +1 -1
- package/es/Layout/Layout.vue.js +0 -2
- package/es/Layout/LayoutSider.vue.js +1 -2
- package/es/Layout/hooks/useSiderContext.js +0 -2
- package/es/Layout/index.css +1 -1
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/Link/index.vue.js +0 -1
- package/es/List/List.vue.d.ts +1 -1
- package/es/List/List.vue.js +4 -3
- package/es/List/hooks/useScrollReach.js +0 -2
- package/es/List/index.d.ts +3 -3
- package/es/Mention/index.d.ts +6 -6
- package/es/Mention/index.vue.d.ts +12 -12
- package/es/Mention/index.vue.js +0 -2
- package/es/Menu/Menu.vue.js +1 -2
- package/es/Menu/MenuEllipsis.vue.js +2 -2
- package/es/Menu/MenuItem.vue.js +2 -3
- package/es/Menu/MenuItemGroup.vue.js +0 -2
- package/es/Menu/SubMenu.vue.js +2 -3
- package/es/Menu/hooks/useContext.js +2 -6
- package/es/Menu/index.css +1 -1
- package/es/Message/Message.vue.js +2 -3
- package/es/Message/index.js +0 -2
- package/es/Modal/Modal.vue.js +4 -5
- package/es/Modal/ModalService.vue.js +0 -2
- package/es/Modal/hooks/useModalClose.js +0 -2
- package/es/Modal/hooks/useModalDraggable.js +0 -2
- package/es/Modal/hooks/useOnBeforeClose.js +0 -2
- package/es/Notification/Notification.vue.js +2 -3
- package/es/Notification/index.js +0 -2
- package/es/OverflowList/index.vue.js +0 -2
- package/es/PageHeader/index.vue.js +1 -2
- package/es/Pagination/Pagination.vue.js +0 -2
- package/es/Pagination/PaginationItem.vue.js +0 -1
- package/es/Popconfirm/index.d.ts +3 -3
- package/es/Popconfirm/index.vue.d.ts +6 -6
- package/es/Popconfirm/index.vue.js +0 -2
- package/es/Popover/index.vue.js +0 -2
- package/es/Progress/ProgressCircle.vue.js +2 -3
- package/es/Progress/ProgressLine.vue.js +0 -2
- package/es/Progress/ProgressSteps.vue.js +0 -2
- package/es/Radio/Radio.vue.js +2 -3
- package/es/Rate/index.vue.js +2 -3
- package/es/ResizeBox/index.vue.js +0 -1
- package/es/Scrollbar/Scrollbar.vue.js +0 -2
- package/es/Scrollbar/ScrollbarTrack.vue.js +0 -2
- package/es/Select/Option.vue.js +0 -2
- package/es/Select/Select.vue.d.ts +7 -7
- package/es/Select/Select.vue.js +0 -2
- package/es/Select/SelectIcon.vue.js +1 -2
- package/es/Select/SelectRealList.vue.js +0 -2
- package/es/Select/SelectView.vue.js +2 -7
- package/es/Select/SelectVirtualList.vue.js +0 -2
- package/es/Select/hooks/useContext.js +0 -2
- package/es/Select/hooks/useSelectOptions.js +0 -2
- package/es/Select/index.d.ts +6 -6
- package/es/Skeleton/Skeleton.vue.d.ts +1 -1
- package/es/Skeleton/SkeletonLine.vue.js +0 -2
- package/es/Skeleton/index.d.ts +3 -3
- package/es/Slider/SliderBtn.vue.js +0 -2
- package/es/Slider/hooks/useContext.js +0 -2
- package/es/Slider/hooks/useSliderDraggable.js +0 -2
- package/es/Space/index.vue.js +0 -2
- package/es/Spin/index.d.ts +3 -3
- package/es/Spin/index.vue.d.ts +1 -1
- package/es/Spin/index.vue.js +4 -4
- package/es/Split/index.vue.js +0 -1
- package/es/Statistic/Countdown.vue.js +0 -2
- package/es/Statistic/Statistic.vue.js +0 -2
- package/es/Steps/Step.vue.js +0 -1
- package/es/Steps/hooks/useContext.js +0 -2
- package/es/Switch/index.d.ts +3 -3
- package/es/Switch/index.vue.d.ts +1 -1
- package/es/Tabs/TabButton.vue.js +2 -3
- package/es/Tabs/TabPane.vue.js +0 -2
- package/es/Tabs/Tabs.vue.js +3 -4
- package/es/Tabs/TabsNavInk.vue.js +0 -2
- package/es/Tabs/TabsTab.vue.js +0 -2
- package/es/Tabs/hooks/useTabsScroll.js +0 -2
- package/es/Tag/index.d.ts +3 -3
- package/es/Tag/index.vue.d.ts +1 -1
- package/es/Tag/index.vue.js +1 -1
- package/es/Textarea/hooks/useTextareaHeight.js +0 -2
- package/es/Textarea/index.vue.js +2 -3
- package/es/TimePicker/TimePicker.vue.js +1 -1
- package/es/TimePicker/TimePickerPanel.vue.js +0 -2
- package/es/TimePicker/hooks/useContext.js +0 -2
- package/es/Timeline/TimelineItemPending.vue.js +0 -2
- package/es/Timeline/hooks/useContext.js +0 -2
- package/es/Tooltip/index.vue.js +0 -2
- package/es/Transfer/Transfer.vue.js +0 -1
- package/es/Transfer/TransferPanel.vue.js +3 -4
- package/es/Transfer/hooks/useContext.js +0 -2
- package/es/Trigger/hooks/useContext.js +0 -2
- package/es/Trigger/hooks/useTriggerPosition.js +2 -2
- package/es/Trigger/hooks/useTriggerVisible.js +1 -2
- package/es/Trigger/index.css +1 -1
- package/es/Trigger/index.d.ts +3 -3
- package/es/Trigger/index.vue.d.ts +1 -1
- package/es/Trigger/index.vue.js +6 -7
- package/es/Typography/TypographyBase.vue.js +2 -3
- package/es/VerificationCode/index.vue.js +3 -5
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/Watermark/index.vue.js +0 -2
- package/es/_shared/components/{ExpandTransition.vue2.js → ExpandTransition.vue.js} +0 -2
- package/es/_shared/components/ExpandTransition.vue3.js +2 -2
- package/es/_shared/components/Icon.vue3.js +0 -2
- package/es/_shared/components/IconButton.vue.js +0 -1
- package/es/_shared/constants/index.js +0 -1
- package/es/_shared/icons/IconExclamation.vue.js +1 -28
- package/es/_shared/icons/IconExclamation.vue2.js +28 -1
- package/es/_shared/icons/IconSeparator.vue.js +17 -1
- package/es/_shared/icons/IconSeparator.vue2.js +1 -17
- package/es/_shared/utils/control.js +0 -2
- package/es/_shared/utils/dom.js +1 -1
- package/es/_shared/utils/global-config.d.ts +2 -16
- package/es/_shared/utils/global-config.js +10 -29
- package/es/_shared/utils/locale.js +2 -2
- package/es/index.d.ts +3 -3
- 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.d.ts +6 -6
- package/lib/AutoComplete/index.vue.d.ts +12 -12
- 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/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/Button.vue.d.ts +1 -1
- package/lib/Button/index.d.ts +3 -3
- 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.d.ts +1 -1
- package/lib/Card/CardMeta.vue.js +1 -1
- package/lib/Card/index.d.ts +3 -3
- package/lib/Carousel/Carousel.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue.js +1 -1
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +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/CascaderPanel.vue.js +1 -1
- package/lib/Cascader/CascaderSearchPanel.vue.js +1 -1
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.d.ts +3 -3
- 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/Comment/index.vue.js +1 -1
- package/lib/ConfigProvider/index.d.ts +0 -6
- package/lib/ConfigProvider/index.vue.d.ts +0 -2
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/ConfigProvider/type.d.ts +0 -7
- package/lib/Descriptions/ReuseItem.vue.js +1 -1
- package/lib/Descriptions/ReuseTd.vue.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/Doption.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.d.ts +6 -6
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.css +1 -1
- package/lib/Dropdown/index.d.ts +3 -3
- 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/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/Layout/index.css +1 -1
- package/lib/Link/index.d.ts +3 -3
- package/lib/Link/index.vue.d.ts +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/List/List.vue.d.ts +1 -1
- package/lib/List/List.vue.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/List/index.d.ts +3 -3
- package/lib/Mention/index.d.ts +6 -6
- package/lib/Mention/index.vue.d.ts +12 -12
- 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/useContext.js +1 -1
- package/lib/Menu/index.css +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/Popconfirm/index.d.ts +3 -3
- package/lib/Popconfirm/index.vue.d.ts +6 -6
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Popover/index.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Progress/ProgressLine.vue.js +1 -1
- package/lib/Progress/ProgressSteps.vue.js +1 -1
- package/lib/Radio/Radio.vue.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.d.ts +7 -7
- 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/useSelectOptions.js +1 -1
- package/lib/Select/index.d.ts +6 -6
- package/lib/Skeleton/Skeleton.vue.d.ts +1 -1
- package/lib/Skeleton/SkeletonLine.vue.js +1 -1
- package/lib/Skeleton/index.d.ts +3 -3
- 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.d.ts +3 -3
- package/lib/Spin/index.vue.d.ts +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.d.ts +3 -3
- package/lib/Switch/index.vue.d.ts +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/useTabsScroll.js +1 -1
- package/lib/Tag/index.d.ts +3 -3
- package/lib/Tag/index.vue.d.ts +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/Timeline/TimelineItemPending.vue.js +1 -1
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Tooltip/index.vue.js +1 -1
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Trigger/index.css +1 -1
- package/lib/Trigger/index.d.ts +3 -3
- package/lib/Trigger/index.vue.d.ts +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/Watermark/index.d.ts +3 -3
- package/lib/Watermark/index.vue.d.ts +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_shared/components/ExpandTransition.vue.js +1 -0
- package/lib/_shared/components/ExpandTransition.vue3.js +1 -1
- package/lib/_shared/components/Icon.vue3.js +1 -1
- package/lib/_shared/components/IconButton.vue.js +1 -1
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/utils/control.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +2 -16
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/_shared/utils/locale.js +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/Layout/hooks/useTheme.d.ts +0 -4
- package/es/Layout/hooks/useTheme.js +0 -33
- package/lib/Layout/hooks/useTheme.d.ts +0 -4
- package/lib/Layout/hooks/useTheme.js +0 -1
- package/lib/_shared/components/ExpandTransition.vue2.js +0 -1
- /package/es/{public → src/lang}/lang-es/zh-cn.js +0 -0
- /package/lib/{public → src/lang}/lang-es/zh-cn.js +0 -0
package/es/Switch/index.d.ts
CHANGED
@@ -16,8 +16,8 @@ declare const Switch: {
|
|
16
16
|
}, import('vue').PublicProps, {
|
17
17
|
size: import('./type').SwitchSize;
|
18
18
|
disabled: boolean;
|
19
|
-
loading: boolean;
|
20
19
|
type: import('./type').SwitchType;
|
20
|
+
loading: boolean;
|
21
21
|
defaultChecked: import('./type').SwitchValue;
|
22
22
|
modelValue: import('./type').SwitchValue;
|
23
23
|
checkedValue: import('./type').SwitchValue;
|
@@ -42,8 +42,8 @@ declare const Switch: {
|
|
42
42
|
}>, {}, {}, {}, {}, {
|
43
43
|
size: import('./type').SwitchSize;
|
44
44
|
disabled: boolean;
|
45
|
-
loading: boolean;
|
46
45
|
type: import('./type').SwitchType;
|
46
|
+
loading: boolean;
|
47
47
|
defaultChecked: import('./type').SwitchValue;
|
48
48
|
modelValue: import('./type').SwitchValue;
|
49
49
|
checkedValue: import('./type').SwitchValue;
|
@@ -70,8 +70,8 @@ declare const Switch: {
|
|
70
70
|
}, string, {
|
71
71
|
size: import('./type').SwitchSize;
|
72
72
|
disabled: boolean;
|
73
|
-
loading: boolean;
|
74
73
|
type: import('./type').SwitchType;
|
74
|
+
loading: boolean;
|
75
75
|
defaultChecked: import('./type').SwitchValue;
|
76
76
|
modelValue: import('./type').SwitchValue;
|
77
77
|
checkedValue: import('./type').SwitchValue;
|
package/es/Switch/index.vue.d.ts
CHANGED
@@ -19,8 +19,8 @@ declare const __VLS_component: import('vue').DefineComponent<SwitchProps, {}, {}
|
|
19
19
|
}>, {
|
20
20
|
size: import('./type').SwitchSize;
|
21
21
|
disabled: boolean;
|
22
|
-
loading: boolean;
|
23
22
|
type: import('./type').SwitchType;
|
23
|
+
loading: boolean;
|
24
24
|
defaultChecked: SwitchValue;
|
25
25
|
modelValue: SwitchValue;
|
26
26
|
checkedValue: SwitchValue;
|
package/es/Tabs/TabButton.vue.js
CHANGED
@@ -4,10 +4,9 @@ import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
|
-
import "../Empty/index.js";
|
8
|
-
/* empty css */
|
9
7
|
import "../_shared/utils/locale.js";
|
10
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
11
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
12
11
|
__name: "TabButton",
|
13
12
|
props: {
|
package/es/Tabs/TabPane.vue.js
CHANGED
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import useContext from "./hooks/useContext.js";
|
10
8
|
const _hoisted_1 = { class: "yc-tabs-content-item" };
|
package/es/Tabs/Tabs.vue.js
CHANGED
@@ -3,13 +3,12 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { valueToPx } from "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
|
-
import _sfc_main$3 from "../_shared/icons/IconArrowRight.vue.js";
|
9
|
-
import _sfc_main$6 from "../_shared/icons/IconPlus.vue.js";
|
10
6
|
import "../_shared/utils/locale.js";
|
11
7
|
import useContext from "./hooks/useContext.js";
|
12
8
|
import useTabsScroll from "./hooks/useTabsScroll.js";
|
9
|
+
/* empty css */
|
10
|
+
import _sfc_main$3 from "../_shared/icons/IconArrowRight.vue.js";
|
11
|
+
import _sfc_main$6 from "../_shared/icons/IconPlus.vue.js";
|
13
12
|
import _sfc_main$1 from "./TabPane.vue.js";
|
14
13
|
/* empty css */
|
15
14
|
import _sfc_main$4 from "./TabsTab.vue.js";
|
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { valueToPx } from "../_shared/utils/dom.js";
|
4
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import useContext from "./hooks/useContext.js";
|
10
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Tabs/TabsTab.vue.js
CHANGED
@@ -4,8 +4,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import { isUndefined } from "../_shared/utils/is.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
|
-
import "../Empty/index.js";
|
8
|
-
/* empty css */
|
9
7
|
import "../_shared/utils/locale.js";
|
10
8
|
import _sfc_main$1 from "./TabButton.vue.js";
|
11
9
|
/* empty css */
|
@@ -3,8 +3,6 @@ import { useResizeObserver } from "../../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import { sleep } from "../../_shared/utils/dom.js";
|
5
5
|
import "../../_shared/utils/time.js";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../../_shared/utils/locale.js";
|
9
7
|
const useTabsScroll = (params) => {
|
10
8
|
const { direction, panes, listRef } = params;
|
package/es/Tag/index.d.ts
CHANGED
@@ -15,10 +15,10 @@ declare const Tag: {
|
|
15
15
|
check: (value: boolean, ev: MouseEvent) => any;
|
16
16
|
}, import('vue').PublicProps, {
|
17
17
|
size: import('./type').TagSize;
|
18
|
-
loading: boolean;
|
19
18
|
visible: boolean;
|
20
19
|
color: string;
|
21
20
|
nowrap: boolean;
|
21
|
+
loading: boolean;
|
22
22
|
bordered: boolean;
|
23
23
|
defaultVisible: boolean;
|
24
24
|
closable: boolean;
|
@@ -39,10 +39,10 @@ declare const Tag: {
|
|
39
39
|
onCheck?: ((value: boolean, ev: MouseEvent) => any) | undefined;
|
40
40
|
}>, {}, {}, {}, {}, {
|
41
41
|
size: import('./type').TagSize;
|
42
|
-
loading: boolean;
|
43
42
|
visible: boolean;
|
44
43
|
color: string;
|
45
44
|
nowrap: boolean;
|
45
|
+
loading: boolean;
|
46
46
|
bordered: boolean;
|
47
47
|
defaultVisible: boolean;
|
48
48
|
closable: boolean;
|
@@ -65,10 +65,10 @@ declare const Tag: {
|
|
65
65
|
check: (value: boolean, ev: MouseEvent) => any;
|
66
66
|
}, string, {
|
67
67
|
size: import('./type').TagSize;
|
68
|
-
loading: boolean;
|
69
68
|
visible: boolean;
|
70
69
|
color: string;
|
71
70
|
nowrap: boolean;
|
71
|
+
loading: boolean;
|
72
72
|
bordered: boolean;
|
73
73
|
defaultVisible: boolean;
|
74
74
|
closable: boolean;
|
package/es/Tag/index.vue.d.ts
CHANGED
@@ -18,10 +18,10 @@ declare const __VLS_component: import('vue').DefineComponent<TagProps, {}, {}, {
|
|
18
18
|
onCheck?: ((value: boolean, ev: MouseEvent) => any) | undefined;
|
19
19
|
}>, {
|
20
20
|
size: import('./type').TagSize;
|
21
|
-
loading: boolean;
|
22
21
|
visible: boolean;
|
23
22
|
color: string;
|
24
23
|
nowrap: boolean;
|
24
|
+
loading: boolean;
|
25
25
|
bordered: boolean;
|
26
26
|
defaultVisible: boolean;
|
27
27
|
closable: boolean;
|
package/es/Tag/index.vue.js
CHANGED
@@ -9,7 +9,7 @@ import useControlValue from "../_shared/utils/control.js";
|
|
9
9
|
import Spin from "../Spin/index.js";
|
10
10
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
const _hoisted_1 = {
|
15
15
|
key: 0,
|
@@ -3,8 +3,6 @@ import { useElementSize } from "../../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import { valueToPx } from "../../_shared/utils/dom.js";
|
5
5
|
import "../../_shared/utils/time.js";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../../_shared/utils/locale.js";
|
9
7
|
const useTextareaHeight = (mirrorRef, autoSize) => {
|
10
8
|
if (!autoSize) {
|
package/es/Textarea/index.vue.js
CHANGED
@@ -7,10 +7,9 @@ import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
|
7
7
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
8
8
|
import "../_shared/utils/dom.js";
|
9
9
|
import "../_shared/utils/time.js";
|
10
|
-
import "../Empty/index.js";
|
11
|
-
/* empty css */
|
12
10
|
import "../_shared/utils/locale.js";
|
13
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
|
+
/* empty css */
|
14
13
|
const _hoisted_1 = ["value", "disabled", "readonly", "placeholder"];
|
15
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
16
15
|
...{
|
@@ -8,7 +8,7 @@ import "../_shared/utils/locale.js";
|
|
8
8
|
import useContext from "./hooks/useContext.js";
|
9
9
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
10
10
|
/* empty css */
|
11
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
import _sfc_main$2 from "../_shared/icons/IconTime.vue.js";
|
14
14
|
import Trigger from "../Trigger/index.js";
|
@@ -5,8 +5,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
5
5
|
import { sleep } from "../_shared/utils/dom.js";
|
6
6
|
import { isUndefined, isArray } from "../_shared/utils/is.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
|
-
import "../Empty/index.js";
|
9
|
-
/* empty css */
|
10
8
|
import { useI18n } from "../_shared/utils/locale.js";
|
11
9
|
import useContext from "./hooks/useContext.js";
|
12
10
|
import Button from "../Button/index.js";
|
@@ -3,8 +3,6 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../../_shared/utils/dom.js";
|
4
4
|
import { isArray } from "../../_shared/utils/is.js";
|
5
5
|
import "../../_shared/utils/time.js";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import { useI18n } from "../../_shared/utils/locale.js";
|
9
7
|
import useControlValue from "../../_shared/utils/control.js";
|
10
8
|
const TIME_PICKER_CONTEXT_KEY = "time-picker-context";
|
@@ -5,8 +5,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import { isString } from "../_shared/utils/is.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
|
-
import "../Empty/index.js";
|
9
|
-
/* empty css */
|
10
8
|
import "../_shared/utils/locale.js";
|
11
9
|
import Spin from "../Spin/index.js";
|
12
10
|
const _hoisted_1 = { key: 0 };
|
@@ -3,8 +3,6 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../../_shared/utils/dom.js";
|
4
4
|
import "../../_shared/utils/time.js";
|
5
5
|
import { findComponentsFromVnodes } from "../../_shared/utils/vue-utils.js";
|
6
|
-
import "../../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../../_shared/utils/locale.js";
|
9
7
|
import _sfc_main$1 from "../TimelineItem.vue.js";
|
10
8
|
/* empty css */
|
package/es/Tooltip/index.vue.js
CHANGED
@@ -2,8 +2,6 @@ import { defineComponent, toRefs, computed, createBlock, openBlock, unref, merge
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
|
-
import "../Empty/index.js";
|
6
|
-
/* empty css */
|
7
5
|
import "../_shared/utils/locale.js";
|
8
6
|
import useControlValue from "../_shared/utils/control.js";
|
9
7
|
import Trigger from "../Trigger/index.js";
|
@@ -3,7 +3,6 @@ import useContext from "./hooks/useContext.js";
|
|
3
3
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
6
|
import "../_shared/utils/locale.js";
|
8
7
|
/* empty css */
|
9
8
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -2,7 +2,6 @@ import { defineComponent, toRefs, ref, computed, createElementBlock, openBlock,
|
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
|
-
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
6
5
|
import "../_shared/utils/locale.js";
|
7
6
|
/* empty css */
|
8
7
|
import _sfc_main$4 from "../_shared/icons/IconClose.vue.js";
|
@@ -12,9 +11,10 @@ import useContext from "./hooks/useContext.js";
|
|
12
11
|
import Checkbox from "../Checkbox/index.js";
|
13
12
|
import Scrollbar from "../Scrollbar/index.js";
|
14
13
|
import Input from "../Input/index.js";
|
14
|
+
import Empty from "../Empty/index.js";
|
15
15
|
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
16
16
|
/* empty css */
|
17
|
-
/* empty css
|
17
|
+
/* empty css */
|
18
18
|
const _hoisted_1 = { class: "yc-transfer-view" };
|
19
19
|
const _hoisted_2 = { class: "yc-transfer-view-header" };
|
20
20
|
const _hoisted_3 = { class: "yc-transfer-view-header-title" };
|
@@ -39,7 +39,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
39
39
|
setup(__props) {
|
40
40
|
const props = __props;
|
41
41
|
const { type } = toRefs(props);
|
42
|
-
const { renderEmpty } = getGlobalConfig();
|
43
42
|
const {
|
44
43
|
computedValue,
|
45
44
|
computedSelected,
|
@@ -243,7 +242,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
243
242
|
]),
|
244
243
|
_: 1
|
245
244
|
})) : createCommentVNode("", true),
|
246
|
-
(openBlock(), createBlock(resolveDynamicComponent(unref(
|
245
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(Empty))))
|
247
246
|
])
|
248
247
|
]);
|
249
248
|
};
|
@@ -2,8 +2,6 @@ import { toRefs, useSlots, computed, provide, inject, ref } from "vue";
|
|
2
2
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../../_shared/utils/dom.js";
|
4
4
|
import "../../_shared/utils/time.js";
|
5
|
-
import "../../Empty/index.js";
|
6
|
-
/* empty css */
|
7
5
|
import "../../_shared/utils/locale.js";
|
8
6
|
import useControlValue from "../../_shared/utils/control.js";
|
9
7
|
const TRANSFER_CONTEXT_KEY = "transfer-context";
|
@@ -4,8 +4,6 @@ import { unrefElement } from "../../node_modules/@vueuse/core/index.js";
|
|
4
4
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
5
5
|
import { sleep } from "../../_shared/utils/dom.js";
|
6
6
|
import "../../_shared/utils/time.js";
|
7
|
-
import "../../Empty/index.js";
|
8
|
-
/* empty css */
|
9
7
|
import "../../_shared/utils/locale.js";
|
10
8
|
const TRIGGER_CONTEXT_KEY = "trigger-context";
|
11
9
|
const useContext = (params) => {
|
@@ -24,12 +24,12 @@ const useTriggerPosition = (params) => {
|
|
24
24
|
autoFitPopupMinWidth,
|
25
25
|
autoFitPopupWidth,
|
26
26
|
autoSetPosition,
|
27
|
-
|
27
|
+
updateAtScroll,
|
28
28
|
position: _position,
|
29
29
|
arrowStyle: _arrowStyle,
|
30
30
|
contentStyle: _contentStyle
|
31
31
|
} = toRefs(props);
|
32
|
-
const {
|
32
|
+
const { zIndex } = getGlobalConfig(props);
|
33
33
|
const position = ref(_position.value);
|
34
34
|
const { width: popupWidth, height: popupHeight } = useElementSize(
|
35
35
|
popupRef,
|
@@ -4,7 +4,6 @@ import useContext from "./useContext.js";
|
|
4
4
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
5
5
|
import { findFirstScrollableParent } from "../../_shared/utils/dom.js";
|
6
6
|
import "../../_shared/utils/time.js";
|
7
|
-
import { getGlobalConfig } from "../../_shared/utils/global-config.js";
|
8
7
|
import "../../_shared/utils/locale.js";
|
9
8
|
import useControlValue from "../../_shared/utils/control.js";
|
10
9
|
const useTriggerVisible = (params) => {
|
@@ -21,10 +20,10 @@ const useTriggerVisible = (params) => {
|
|
21
20
|
focusDelay,
|
22
21
|
disabled,
|
23
22
|
scrollToCloseDistance,
|
23
|
+
scrollToClose,
|
24
24
|
autoSetPosition,
|
25
25
|
alignPoint
|
26
26
|
} = toRefs(props);
|
27
|
-
const { scrollToClose } = getGlobalConfig(props);
|
28
27
|
const {
|
29
28
|
onTriggerMouseclick,
|
30
29
|
onTriggerMouseenter,
|
package/es/Trigger/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-trigger{position:fixed}.yc-trigger .yc-trigger-
|
1
|
+
.yc-trigger{position:fixed}.yc-trigger .yc-trigger-arrow{position:absolute;transform:rotate(45deg);width:8px;height:8px}.yc-trigger-absolute{position:absolute}.yc-trigger.yc-trigger-position-top .yc-trigger-arrow,.yc-trigger.yc-trigger-position-tl .yc-trigger-arrow,.yc-trigger.yc-trigger-position-tr .yc-trigger-arrow{border-bottom-right-radius:2px;border-top:none;border-left:none}.yc-trigger.yc-trigger-position-bottom .yc-trigger-arrow,.yc-trigger.yc-trigger-position-bl .yc-trigger-arrow,.yc-trigger.yc-trigger-position-br .yc-trigger-arrow{border-top-left-radius:2px;border-bottom:none;border-right:none}.yc-trigger.yc-trigger-position-left .yc-trigger-arrow,.yc-trigger.yc-trigger-position-lt .yc-trigger-arrow,.yc-trigger.yc-trigger-position-lb .yc-trigger-arrow{border-top-right-radius:2px;border-bottom:none;border-left:none}.yc-trigger.yc-trigger-position-right .yc-trigger-arrow,.yc-trigger.yc-trigger-position-rt .yc-trigger-arrow,.yc-trigger.yc-trigger-position-rb .yc-trigger-arrow{border-bottom-left-radius:2px;border-top:none;border-right:none}.yc-trigger-transform-origin.yc-trigger-position-top .yc-trigger-content{transform-origin:50% 100%}.yc-trigger-transform-origin.yc-trigger-position-tl .yc-trigger-content{transform-origin:0 100%}.yc-trigger-transform-origin.yc-trigger-position-tr .yc-trigger-content{transform-origin:100% 100%}.yc-trigger-transform-origin.yc-trigger-position-bottom .yc-trigger-content{transform-origin:50% 0}.yc-trigger-transform-origin.yc-trigger-position-bl .yc-trigger-content{transform-origin:0 0}.yc-trigger-transform-origin.yc-trigger-position-br .yc-trigger-content{transform-origin:100% 0}.yc-trigger-transform-origin.yc-trigger-position-right .yc-trigger-content{transform-origin:0 50%}.yc-trigger-transform-origin.yc-trigger-position-rt .yc-trigger-content{transform-origin:0 50%}.yc-trigger-transform-origin.yc-trigger-position-rb .yc-trigger-content{transform-origin:0 100%}.yc-trigger-transform-origin.yc-trigger-position-left .yc-trigger-content{transform-origin:100% 50%}.yc-trigger-transform-origin.yc-trigger-position-lt .yc-trigger-content{transform-origin:100% 0}.yc-trigger-transform-origin.yc-trigger-position-lb .yc-trigger-content{transform-origin:100% 100%}
|
package/es/Trigger/index.d.ts
CHANGED
@@ -29,6 +29,7 @@ declare const Trigger: {
|
|
29
29
|
focusDelay: number;
|
30
30
|
disabled: boolean;
|
31
31
|
scrollToCloseDistance: number;
|
32
|
+
scrollToClose: boolean;
|
32
33
|
autoSetPosition: boolean;
|
33
34
|
alignPoint: boolean;
|
34
35
|
position: import('./type').TriggerPostion;
|
@@ -49,7 +50,6 @@ declare const Trigger: {
|
|
49
50
|
autoFitPosition: boolean;
|
50
51
|
updateAtScroll: boolean;
|
51
52
|
preventFocus: boolean;
|
52
|
-
scrollToClose: boolean;
|
53
53
|
needTransformOrigin: boolean;
|
54
54
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
55
55
|
triggerRef: unknown;
|
@@ -140,6 +140,7 @@ declare const Trigger: {
|
|
140
140
|
focusDelay: number;
|
141
141
|
disabled: boolean;
|
142
142
|
scrollToCloseDistance: number;
|
143
|
+
scrollToClose: boolean;
|
143
144
|
autoSetPosition: boolean;
|
144
145
|
alignPoint: boolean;
|
145
146
|
position: import('./type').TriggerPostion;
|
@@ -160,7 +161,6 @@ declare const Trigger: {
|
|
160
161
|
autoFitPosition: boolean;
|
161
162
|
updateAtScroll: boolean;
|
162
163
|
preventFocus: boolean;
|
163
|
-
scrollToClose: boolean;
|
164
164
|
needTransformOrigin: boolean;
|
165
165
|
}>;
|
166
166
|
__isFragment?: never;
|
@@ -192,6 +192,7 @@ declare const Trigger: {
|
|
192
192
|
focusDelay: number;
|
193
193
|
disabled: boolean;
|
194
194
|
scrollToCloseDistance: number;
|
195
|
+
scrollToClose: boolean;
|
195
196
|
autoSetPosition: boolean;
|
196
197
|
alignPoint: boolean;
|
197
198
|
position: import('./type').TriggerPostion;
|
@@ -212,7 +213,6 @@ declare const Trigger: {
|
|
212
213
|
autoFitPosition: boolean;
|
213
214
|
updateAtScroll: boolean;
|
214
215
|
preventFocus: boolean;
|
215
|
-
scrollToClose: boolean;
|
216
216
|
needTransformOrigin: boolean;
|
217
217
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
218
218
|
$slots: Readonly<import('./type').TriggerSlots> & import('./type').TriggerSlots;
|
@@ -93,6 +93,7 @@ declare const __VLS_component: import('vue').DefineComponent<TriggerProps, {
|
|
93
93
|
focusDelay: number;
|
94
94
|
disabled: boolean;
|
95
95
|
scrollToCloseDistance: number;
|
96
|
+
scrollToClose: boolean;
|
96
97
|
autoSetPosition: boolean;
|
97
98
|
alignPoint: boolean;
|
98
99
|
position: import('./type').TriggerPostion;
|
@@ -113,7 +114,6 @@ declare const __VLS_component: import('vue').DefineComponent<TriggerProps, {
|
|
113
114
|
autoFitPosition: boolean;
|
114
115
|
updateAtScroll: boolean;
|
115
116
|
preventFocus: boolean;
|
116
|
-
scrollToClose: boolean;
|
117
117
|
needTransformOrigin: boolean;
|
118
118
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
119
119
|
triggerRef: unknown;
|
package/es/Trigger/index.vue.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, useSlots,
|
1
|
+
import { defineComponent, useSlots, ref, computed, createElementBlock, openBlock, Fragment, createBlock, resolveDynamicComponent, unref, withModifiers, Teleport, createVNode, Transition, withCtx, withDirectives, createCommentVNode, normalizeStyle, normalizeClass, createElementVNode, renderSlot, vShow } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
@@ -10,7 +10,7 @@ import useTriggerPosition from "./hooks/useTriggerPosition.js";
|
|
10
10
|
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
13
|
-
/* empty css
|
13
|
+
/* empty css */
|
14
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
15
15
|
...{
|
16
16
|
name: "Trigger",
|
@@ -49,10 +49,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
49
49
|
popupContainer: { default: void 0 },
|
50
50
|
renderToBody: { type: Boolean, default: true },
|
51
51
|
autoFitPosition: { type: Boolean, default: true },
|
52
|
-
updateAtScroll: { type: Boolean, default:
|
52
|
+
updateAtScroll: { type: Boolean, default: true },
|
53
53
|
preventFocus: { type: Boolean, default: false },
|
54
54
|
alignPoint: { type: Boolean, default: false },
|
55
|
-
scrollToClose: { type: Boolean, default:
|
55
|
+
scrollToClose: { type: Boolean, default: false },
|
56
56
|
scrollToCloseDistance: { default: 1 },
|
57
57
|
needTransformOrigin: { type: Boolean, default: false },
|
58
58
|
autoSetPosition: { type: Boolean, default: false },
|
@@ -68,8 +68,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
68
68
|
const slots = useSlots();
|
69
69
|
const props = __props;
|
70
70
|
const emits = __emit;
|
71
|
-
const { popupContainer
|
72
|
-
const { popupContainer } = getGlobalConfig(props);
|
71
|
+
const { popupContainer, isAbsolute } = getGlobalConfig(props);
|
73
72
|
const popupRef = ref();
|
74
73
|
const triggerRef = ref();
|
75
74
|
const arrowRef = ref();
|
@@ -144,7 +143,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
144
143
|
`yc-trigger-position-${unref(position)}`,
|
145
144
|
{
|
146
145
|
"yc-trigger-transform-origin": _ctx.needTransformOrigin,
|
147
|
-
"yc-trigger-absolute": unref(
|
146
|
+
"yc-trigger-absolute": unref(isAbsolute)
|
148
147
|
},
|
149
148
|
_ctx.$attrs.class
|
150
149
|
]),
|
@@ -3,13 +3,12 @@ import { useClipboard } from "../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import { getDomText, sleep } from "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../
|
6
|
+
import { useI18n } from "../_shared/utils/locale.js";
|
7
|
+
import useControlValue from "../_shared/utils/control.js";
|
7
8
|
/* empty css */
|
8
9
|
import _sfc_main$3 from "../_shared/icons/IconCopy.vue2.js";
|
9
10
|
import _sfc_main$1 from "../_shared/icons/IconEdit.vue2.js";
|
10
11
|
import _sfc_main$2 from "../_shared/icons/IconInfo.vue.js";
|
11
|
-
import { useI18n } from "../_shared/utils/locale.js";
|
12
|
-
import useControlValue from "../_shared/utils/control.js";
|
13
12
|
import Input from "../Input/index.js";
|
14
13
|
import Tooltip from "../Tooltip/index.js";
|
15
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -1,10 +1,9 @@
|
|
1
|
-
import { defineComponent, toRefs, computed, ref, createElementBlock, openBlock, normalizeClass,
|
1
|
+
import { defineComponent, toRefs, computed, ref, createElementBlock, openBlock, normalizeClass, Fragment, renderList, createVNode, createBlock, createCommentVNode, unref, resolveDynamicComponent } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import { sleep } from "../_shared/utils/dom.js";
|
4
4
|
import { isNumber, isString, isFunction } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
7
|
-
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
8
7
|
import "../_shared/utils/locale.js";
|
9
8
|
import useControlValue from "../_shared/utils/control.js";
|
10
9
|
import { nanoid } from "../node_modules/nanoid/index.browser.js";
|
@@ -32,7 +31,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
32
31
|
const emits = __emit;
|
33
32
|
const { modelValue, defaultValue, length: _length } = toRefs(props);
|
34
33
|
const { formatter } = props;
|
35
|
-
const { size } = getGlobalConfig(props);
|
36
34
|
const computedValue = useControlValue(
|
37
35
|
modelValue,
|
38
36
|
defaultValue.value,
|
@@ -91,14 +89,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
91
89
|
};
|
92
90
|
return (_ctx, _cache) => {
|
93
91
|
return openBlock(), createElementBlock("div", {
|
94
|
-
class: normalizeClass(["yc-verification-code", `yc-verification-code-size-${
|
92
|
+
class: normalizeClass(["yc-verification-code", `yc-verification-code-size-${_ctx.size}`])
|
95
93
|
}, [
|
96
94
|
(openBlock(true), createElementBlock(Fragment, null, renderList(length.value, (v, i) => {
|
97
95
|
var _a;
|
98
96
|
return openBlock(), createElementBlock(Fragment, { key: v }, [
|
99
97
|
createVNode(unref(Input), {
|
100
98
|
"model-value": inputValue.value[i],
|
101
|
-
size:
|
99
|
+
size: _ctx.size,
|
102
100
|
disabled: _ctx.disabled,
|
103
101
|
error: _ctx.error,
|
104
102
|
"invisible-button": false,
|
package/es/Watermark/index.d.ts
CHANGED
@@ -4,9 +4,9 @@ export type WatermarkInstance = InstanceType<typeof _Watermark>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const Watermark: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').WatermarkProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
|
-
zIndex: number;
|
8
7
|
width: number;
|
9
8
|
height: number;
|
9
|
+
zIndex: number;
|
10
10
|
repeat: boolean;
|
11
11
|
content: string | string[];
|
12
12
|
alpha: number;
|
@@ -28,9 +28,9 @@ declare const Watermark: {
|
|
28
28
|
M: {};
|
29
29
|
Defaults: {};
|
30
30
|
}, Readonly<import('./type').WatermarkProps> & Readonly<{}>, {}, {}, {}, {}, {
|
31
|
-
zIndex: number;
|
32
31
|
width: number;
|
33
32
|
height: number;
|
33
|
+
zIndex: number;
|
34
34
|
repeat: boolean;
|
35
35
|
content: string | string[];
|
36
36
|
alpha: number;
|
@@ -47,9 +47,9 @@ declare const Watermark: {
|
|
47
47
|
__isTeleport?: never;
|
48
48
|
__isSuspense?: never;
|
49
49
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').WatermarkProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
50
|
-
zIndex: number;
|
51
50
|
width: number;
|
52
51
|
height: number;
|
52
|
+
zIndex: number;
|
53
53
|
repeat: boolean;
|
54
54
|
content: string | string[];
|
55
55
|
alpha: number;
|
@@ -9,9 +9,9 @@ declare function __VLS_template(): {
|
|
9
9
|
};
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<WatermarkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<WatermarkProps> & Readonly<{}>, {
|
12
|
-
zIndex: number;
|
13
12
|
width: number;
|
14
13
|
height: number;
|
14
|
+
zIndex: number;
|
15
15
|
repeat: boolean;
|
16
16
|
content: string | string[];
|
17
17
|
alpha: number;
|
@@ -4,8 +4,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import { isArray } from "../_shared/utils/is.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
|
-
import "../Empty/index.js";
|
8
|
-
/* empty css */
|
9
7
|
import "../_shared/utils/locale.js";
|
10
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
9
|
...{
|
@@ -2,8 +2,6 @@ import { defineComponent, createBlock, openBlock, Transition, mergeProps, withCt
|
|
2
2
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import { valueToPx } from "../utils/dom.js";
|
4
4
|
import "../utils/time.js";
|
5
|
-
import "../../Empty/index.js";
|
6
|
-
/* empty css */
|
7
5
|
import "../utils/locale.js";
|
8
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
7
|
__name: "ExpandTransition",
|
@@ -2,8 +2,6 @@ import { defineComponent, toRefs, useAttrs, computed, createElementBlock, openBl
|
|
2
2
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import { valueToPx } from "../utils/dom.js";
|
4
4
|
import "../utils/time.js";
|
5
|
-
import "../../Empty/index.js";
|
6
|
-
/* empty css */
|
7
5
|
import "../utils/locale.js";
|
8
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
7
|
__name: "Icon",
|
@@ -2,7 +2,6 @@ import { defineComponent, toRefs, computed, createElementBlock, openBlock, norma
|
|
2
2
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import { valueToPx } from "../utils/dom.js";
|
4
4
|
import "../utils/time.js";
|
5
|
-
import "../../Empty/index.js";
|
6
5
|
import "../utils/locale.js";
|
7
6
|
/* empty css */
|
8
7
|
import _sfc_main$1 from "../icons/IconClose.vue.js";
|