yc-design-vue 1.9.3 → 1.9.5
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 +3 -3
- package/es/AutoComplete/index.vue.d.ts +6 -6
- 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 +0 -1
- 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/type.d.ts +0 -5
- 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 +1 -1
- package/es/Drawer/DrawerService.vue.js +0 -2
- package/es/Dropdown/Dropdown.vue.js +0 -2
- package/es/Dropdown/DropdownButton.vue.js +0 -1
- package/es/Dropdown/Dsubmenu.vue.js +2 -3
- package/es/Dropdown/hooks/useContext.js +0 -2
- 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/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/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 +3 -3
- package/es/Mention/index.vue.d.ts +6 -6
- package/es/Mention/index.vue.js +0 -2
- package/es/Menu/Menu.vue.js +1 -2
- package/es/Menu/MenuEllipsis.vue.js +0 -1
- package/es/Menu/MenuItem.vue.js +0 -2
- package/es/Menu/MenuItemGroup.vue.js +0 -2
- package/es/Menu/SubMenu.vue.js +2 -3
- package/es/Menu/hooks/useContext.js +0 -2
- package/es/Message/Message.vue.js +2 -3
- package/es/Message/index.js +0 -2
- package/es/Modal/Modal.vue.js +1 -1
- 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.vue.js +0 -2
- package/es/Popover/index.vue.js +0 -2
- package/es/Progress/ProgressCircle.vue.js +1 -2
- 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 +1 -1
- 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 +3 -3
- 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 +0 -1
- package/es/Trigger/index.vue.js +1 -1
- package/es/Typography/TypographyBase.vue.js +2 -3
- package/es/VerificationCode/index.vue.js +3 -5
- package/es/Watermark/index.vue.js +0 -2
- package/es/_shared/components/{ExpandTransition.vue.js → ExpandTransition.vue2.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/utils/control.js +0 -2
- package/es/_shared/utils/dom.js +1 -1
- package/es/_shared/utils/global-config.d.ts +2 -11
- package/es/_shared/utils/global-config.js +4 -20
- package/es/_shared/utils/locale.js +1 -1
- 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 +3 -3
- package/lib/AutoComplete/index.vue.d.ts +6 -6
- 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/type.d.ts +0 -5
- 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/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/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/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 +3 -3
- package/lib/Mention/index.vue.d.ts +6 -6
- 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/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.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 +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/useSelectOptions.js +1 -1
- package/lib/Select/index.d.ts +3 -3
- 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/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.vue.js +1 -1
- package/lib/_shared/components/ExpandTransition.vue2.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/utils/control.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +2 -11
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +5 -7
- package/lib/_shared/components/ExpandTransition.vue.js +0 -1
package/es/Skeleton/index.d.ts
CHANGED
@@ -8,8 +8,8 @@ export type SkeletonLineInstance = InstanceType<typeof _SkeletonLine>;
|
|
8
8
|
export * from './type';
|
9
9
|
declare const Skeleton: {
|
10
10
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').SkeletonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
11
|
-
loading: boolean;
|
12
11
|
animation: boolean;
|
12
|
+
loading: boolean;
|
13
13
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
14
14
|
P: {};
|
15
15
|
B: {};
|
@@ -18,15 +18,15 @@ declare const Skeleton: {
|
|
18
18
|
M: {};
|
19
19
|
Defaults: {};
|
20
20
|
}, Readonly<import('./type').SkeletonProps> & Readonly<{}>, {}, {}, {}, {}, {
|
21
|
-
loading: boolean;
|
22
21
|
animation: boolean;
|
22
|
+
loading: boolean;
|
23
23
|
}>;
|
24
24
|
__isFragment?: never;
|
25
25
|
__isTeleport?: never;
|
26
26
|
__isSuspense?: never;
|
27
27
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').SkeletonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
28
|
-
loading: boolean;
|
29
28
|
animation: boolean;
|
29
|
+
loading: boolean;
|
30
30
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
31
31
|
$slots: Readonly<import('./type').SkeletonSlots> & import('./type').SkeletonSlots;
|
32
32
|
}) & {
|
@@ -5,8 +5,6 @@ import Tooltip from "../Tooltip/index.js";
|
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
6
|
import "../_shared/utils/dom.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 useControlValue from "../_shared/utils/control.js";
|
12
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -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 "../../_shared/utils/locale.js";
|
9
7
|
import useControlValue from "../../_shared/utils/control.js";
|
10
8
|
const SLIDER_CONTEXT_KEY = "slider-context";
|
@@ -3,8 +3,6 @@ import { useDraggable } 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 useSliderDraggable = (params) => {
|
10
8
|
const {
|
package/es/Space/index.vue.js
CHANGED
@@ -4,8 +4,6 @@ import { valueToPx } from "../_shared/utils/dom.js";
|
|
4
4
|
import { isNumber, isArray, isUndefined } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
7
|
-
import "../Empty/index.js";
|
8
|
-
/* empty css */
|
9
7
|
import "../_shared/utils/locale.js";
|
10
8
|
const _hoisted_1 = { class: "yc-space-item" };
|
11
9
|
const _hoisted_2 = {
|
package/es/Spin/index.d.ts
CHANGED
@@ -5,8 +5,8 @@ export * from './type';
|
|
5
5
|
declare const Spin: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').SpinProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
7
|
size: number;
|
8
|
-
loading: boolean;
|
9
8
|
dot: boolean;
|
9
|
+
loading: boolean;
|
10
10
|
tip: string;
|
11
11
|
hideIcon: boolean;
|
12
12
|
isSizeInherit: boolean;
|
@@ -19,8 +19,8 @@ declare const Spin: {
|
|
19
19
|
Defaults: {};
|
20
20
|
}, Readonly<import('./type').SpinProps> & Readonly<{}>, {}, {}, {}, {}, {
|
21
21
|
size: number;
|
22
|
-
loading: boolean;
|
23
22
|
dot: boolean;
|
23
|
+
loading: boolean;
|
24
24
|
tip: string;
|
25
25
|
hideIcon: boolean;
|
26
26
|
isSizeInherit: boolean;
|
@@ -30,8 +30,8 @@ declare const Spin: {
|
|
30
30
|
__isSuspense?: never;
|
31
31
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').SpinProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
32
32
|
size: number;
|
33
|
-
loading: boolean;
|
34
33
|
dot: boolean;
|
34
|
+
loading: boolean;
|
35
35
|
tip: string;
|
36
36
|
hideIcon: boolean;
|
37
37
|
isSizeInherit: boolean;
|
package/es/Spin/index.vue.d.ts
CHANGED
@@ -8,8 +8,8 @@ declare function __VLS_template(): {
|
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<SpinProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SpinProps> & Readonly<{}>, {
|
10
10
|
size: number;
|
11
|
-
loading: boolean;
|
12
11
|
dot: boolean;
|
12
|
+
loading: boolean;
|
13
13
|
tip: string;
|
14
14
|
hideIcon: boolean;
|
15
15
|
isSizeInherit: boolean;
|
package/es/Spin/index.vue.js
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, createVNode, createBlock, renderSlot, unref, withCtx, createCommentVNode, normalizeStyle, normalizeClass, Fragment, renderList, createElementVNode,
|
1
|
+
import { defineComponent, createElementBlock, openBlock, createVNode, createBlock, renderSlot, unref, withCtx, createCommentVNode, normalizeStyle, normalizeClass, Fragment, renderList, createElementVNode, createTextVNode, toDisplayString, Transition } from "vue";
|
2
2
|
import { createReusableTemplate } 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 { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
6
|
import "../_shared/utils/locale.js";
|
7
|
+
/* empty css */
|
8
|
+
import _sfc_main$1 from "../_shared/icons/IconLoading.vue.js";
|
8
9
|
const _hoisted_1 = { class: "yc-spin" };
|
9
10
|
const _hoisted_2 = {
|
10
11
|
key: 0,
|
@@ -33,7 +34,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
33
34
|
},
|
34
35
|
setup(__props) {
|
35
36
|
const { define: DefineTemplate, reuse: ReuseTemplate } = createReusableTemplate();
|
36
|
-
const { renderLoading } = getGlobalConfig();
|
37
37
|
return (_ctx, _cache) => {
|
38
38
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
39
39
|
createVNode(unref(DefineTemplate), null, {
|
@@ -58,7 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
58
|
class: "yc-dot-loading-item"
|
59
59
|
});
|
60
60
|
}), 64))
|
61
|
-
])) : (openBlock(), createBlock(
|
61
|
+
])) : (openBlock(), createBlock(unref(_sfc_main$1), { key: 1 }))
|
62
62
|
])
|
63
63
|
], 6)) : createCommentVNode("", true),
|
64
64
|
_ctx.tip ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
package/es/Split/index.vue.js
CHANGED
@@ -3,7 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { sleep, valueToPx } from "../_shared/utils/dom.js";
|
4
4
|
import { isNumber } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
6
|
import "../_shared/utils/locale.js";
|
8
7
|
import useControlValue from "../_shared/utils/control.js";
|
9
8
|
/* empty css */
|
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { sleep } from "../_shared/utils/dom.js";
|
4
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
5
5
|
import { formatSeconds } from "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import _sfc_main$1 from "./Statistic.vue.js";
|
10
8
|
/* empty css */
|
@@ -3,8 +3,6 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { isUndefined, isNumber } from "../_shared/utils/is.js";
|
5
5
|
import { formatSeconds, formatDate } from "../_shared/utils/time.js";
|
6
|
-
import "../Empty/index.js";
|
7
|
-
/* empty css */
|
8
6
|
import "../_shared/utils/locale.js";
|
9
7
|
import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
|
10
8
|
const _hoisted_1 = { class: "yc-statistic yc-statistic-countdown" };
|
package/es/Steps/Step.vue.js
CHANGED
@@ -2,7 +2,6 @@ import { defineComponent, toRefs, computed, createElementBlock, openBlock, norma
|
|
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
5
|
import "../_shared/utils/locale.js";
|
7
6
|
/* empty css */
|
8
7
|
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
@@ -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 useControlValue from "../../_shared/utils/control.js";
|
11
9
|
const STEPS_CONTEXT_KEY = "card-context";
|
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) => {
|
package/es/Trigger/index.vue.js
CHANGED
@@ -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",
|
@@ -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,
|
@@ -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",
|