yc-design-vue 1.0.2 → 1.0.3
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/type.d.ts +3 -2
- package/es/Alert/type.d.ts +6 -5
- package/es/Anchor/type.d.ts +4 -3
- package/es/AutoComplete/index.d.ts +65 -2
- package/es/AutoComplete/index.vue.d.ts +130 -4
- package/es/AutoComplete/type.d.ts +5 -4
- package/es/Avatar/AvatarGroup.vue.js +1 -1
- package/es/Avatar/AvatarGroup.vue2.js +2 -2
- package/es/Avatar/type.d.ts +4 -4
- package/es/BackTop/type.d.ts +2 -1
- package/es/Badge/index.vue.js +1 -1
- package/es/Badge/index.vue2.js +2 -2
- package/es/Badge/type.d.ts +3 -3
- package/es/Breadcrumb/type.d.ts +9 -8
- package/es/Button/Button.vue.js +1 -1
- package/es/Button/Button.vue2.js +2 -2
- package/es/Button/type.d.ts +4 -3
- package/es/Calendar/type.d.ts +5 -4
- package/es/Card/type.d.ts +10 -10
- package/es/Carousel/type.d.ts +3 -2
- package/es/Cascader/type.d.ts +10 -10
- package/es/Checkbox/hooks/useContext.d.ts +2 -5
- package/es/Checkbox/type.d.ts +9 -8
- package/es/Collapse/type.d.ts +9 -8
- package/es/Comment/type.d.ts +7 -6
- package/es/ConfigProvider/index.vue.js +2 -2
- package/es/ConfigProvider/type.d.ts +5 -4
- package/es/Descriptions/type.d.ts +9 -9
- package/es/Divider/type.d.ts +2 -1
- package/es/Drawer/type.d.ts +5 -5
- package/es/Dropdown/Dsubmenu.vue.d.ts +130 -4
- package/es/Dropdown/index.d.ts +65 -2
- package/es/Dropdown/type.d.ts +15 -14
- package/es/Empty/type.d.ts +2 -1
- package/es/Grid/type.d.ts +6 -5
- package/es/Icon/type.d.ts +2 -1
- package/es/Image/type.d.ts +11 -10
- package/es/Input/hooks/useCursor.d.ts +2 -1
- package/es/Input/hooks/useCursor.js +2 -2
- package/es/Input/type.d.ts +6 -5
- package/es/InputNumber/type.d.ts +8 -8
- package/es/InputTag/type.d.ts +5 -4
- package/es/Layout/Layout.vue.js +1 -1
- package/es/Layout/Layout.vue2.js +2 -2
- package/es/Layout/type.d.ts +8 -7
- package/es/Link/type.d.ts +3 -2
- package/es/List/type.d.ts +15 -14
- package/es/Mention/index.d.ts +65 -2
- package/es/Mention/index.vue.d.ts +130 -4
- package/es/Mention/type.d.ts +3 -2
- package/es/Menu/type.d.ts +11 -10
- package/es/Message/type.d.ts +1 -1
- package/es/Modal/type.d.ts +5 -5
- package/es/Notification/type.d.ts +1 -1
- package/es/OverflowList/index.vue.js +1 -1
- package/es/OverflowList/index.vue2.js +2 -2
- package/es/OverflowList/type.d.ts +3 -2
- package/es/PageHeader/type.d.ts +7 -6
- package/es/Pagination/type.d.ts +8 -8
- package/es/Popconfirm/index.d.ts +65 -2
- package/es/Popconfirm/index.vue.d.ts +130 -4
- package/es/Popconfirm/type.d.ts +4 -4
- package/es/Popover/type.d.ts +4 -4
- package/es/Radio/hooks/useContext.d.ts +3 -6
- package/es/Radio/type.d.ts +9 -8
- package/es/Rate/type.d.ts +3 -2
- package/es/ResizeBox/type.d.ts +6 -5
- package/es/Result/type.d.ts +6 -5
- package/es/Scrollbar/type.d.ts +2 -2
- package/es/Select/Select.vue.d.ts +130 -4
- package/es/Select/index.d.ts +65 -2
- package/es/Select/type.d.ts +19 -18
- package/es/Skeleton/type.d.ts +3 -2
- package/es/Space/index.vue.js +1 -1
- package/es/Space/index.vue2.js +2 -2
- package/es/Space/type.d.ts +3 -2
- package/es/Spin/type.d.ts +4 -3
- package/es/Split/type.d.ts +5 -4
- package/es/Statistic/type.d.ts +7 -7
- package/es/Steps/type.d.ts +8 -7
- package/es/Switch/index.vue.js +1 -1
- package/es/Switch/index.vue2.js +3 -3
- package/es/Switch/type.d.ts +5 -4
- package/es/Tabs/Tabs.vue.js +1 -1
- package/es/Tabs/Tabs.vue2.js +2 -2
- package/es/Tabs/type.d.ts +5 -4
- package/es/Tag/type.d.ts +4 -3
- package/es/TimePicker/type.d.ts +4 -3
- package/es/Timeline/type.d.ts +6 -5
- package/es/Tooltip/type.d.ts +3 -3
- package/es/Transfer/TransferPanel.vue2.js +2 -2
- package/es/Transfer/type.d.ts +13 -12
- package/es/Trigger/hooks/useTriggerPosition.d.ts +2 -2
- package/es/Trigger/hooks/useTriggerPosition.js +11 -20
- package/es/Trigger/index.d.ts +63 -2
- package/es/Trigger/index.vue.d.ts +130 -3
- package/es/Trigger/index.vue.js +1 -1
- package/es/Trigger/index.vue2.js +2 -2
- package/es/Trigger/type.d.ts +3 -3
- package/es/Typography/TypographyBase.vue2.js +2 -2
- package/es/Typography/type.d.ts +8 -7
- package/es/Watermark/type.d.ts +2 -1
- package/es/_shared/icons/IconCopy.vue.js +16 -1
- package/es/_shared/icons/IconCopy.vue2.js +1 -16
- package/es/_shared/icons/IconDelete.vue.js +1 -16
- package/es/_shared/icons/IconDelete.vue2.js +16 -1
- package/es/_shared/icons/IconEdit.vue.js +16 -1
- package/es/_shared/icons/IconEdit.vue2.js +1 -16
- package/es/_shared/icons/IconSearch.vue.js +1 -16
- package/es/_shared/icons/IconSearch.vue2.js +16 -1
- package/es/_shared/utils/dom.d.ts +4 -4
- package/es/_shared/utils/dom.js +6 -6
- package/es/_shared/utils/fn.d.ts +3 -3
- package/es/_shared/utils/fn.js +6 -6
- package/es/_shared/utils/global-config.d.ts +4 -2
- package/es/index.d.ts +65 -2
- package/es/style.css +1 -1
- package/lib/Affix/type.d.ts +3 -2
- package/lib/Alert/type.d.ts +6 -5
- package/lib/Anchor/type.d.ts +4 -3
- package/lib/AutoComplete/index.d.ts +65 -2
- package/lib/AutoComplete/index.vue.d.ts +130 -4
- package/lib/AutoComplete/type.d.ts +5 -4
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue2.js +1 -1
- package/lib/Avatar/type.d.ts +4 -4
- package/lib/BackTop/type.d.ts +2 -1
- package/lib/Badge/index.vue.js +1 -1
- package/lib/Badge/index.vue2.js +1 -1
- package/lib/Badge/type.d.ts +3 -3
- package/lib/Breadcrumb/type.d.ts +9 -8
- package/lib/Button/Button.vue.js +1 -1
- package/lib/Button/Button.vue2.js +1 -1
- package/lib/Button/type.d.ts +4 -3
- package/lib/Calendar/type.d.ts +5 -4
- package/lib/Card/type.d.ts +10 -10
- package/lib/Carousel/type.d.ts +3 -2
- package/lib/Cascader/type.d.ts +10 -10
- package/lib/Checkbox/hooks/useContext.d.ts +2 -5
- package/lib/Checkbox/type.d.ts +9 -8
- package/lib/Collapse/type.d.ts +9 -8
- package/lib/Comment/type.d.ts +7 -6
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/ConfigProvider/type.d.ts +5 -4
- package/lib/Descriptions/type.d.ts +9 -9
- package/lib/Divider/type.d.ts +2 -1
- package/lib/Drawer/type.d.ts +5 -5
- package/lib/Dropdown/Dsubmenu.vue.d.ts +130 -4
- package/lib/Dropdown/index.d.ts +65 -2
- package/lib/Dropdown/type.d.ts +15 -14
- package/lib/Empty/type.d.ts +2 -1
- package/lib/Grid/type.d.ts +6 -5
- package/lib/Icon/type.d.ts +2 -1
- package/lib/Image/type.d.ts +11 -10
- package/lib/Input/hooks/useCursor.d.ts +2 -1
- package/lib/Input/hooks/useCursor.js +1 -1
- package/lib/Input/type.d.ts +6 -5
- package/lib/InputNumber/type.d.ts +8 -8
- package/lib/InputTag/type.d.ts +5 -4
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/Layout.vue2.js +1 -1
- package/lib/Layout/type.d.ts +8 -7
- package/lib/Link/type.d.ts +3 -2
- package/lib/List/type.d.ts +15 -14
- package/lib/Mention/index.d.ts +65 -2
- package/lib/Mention/index.vue.d.ts +130 -4
- package/lib/Mention/type.d.ts +3 -2
- package/lib/Menu/type.d.ts +11 -10
- package/lib/Message/type.d.ts +1 -1
- package/lib/Modal/type.d.ts +5 -5
- package/lib/Notification/type.d.ts +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/OverflowList/index.vue2.js +1 -1
- package/lib/OverflowList/type.d.ts +3 -2
- package/lib/PageHeader/type.d.ts +7 -6
- package/lib/Pagination/type.d.ts +8 -8
- package/lib/Popconfirm/index.d.ts +65 -2
- package/lib/Popconfirm/index.vue.d.ts +130 -4
- package/lib/Popconfirm/type.d.ts +4 -4
- package/lib/Popover/type.d.ts +4 -4
- package/lib/Radio/hooks/useContext.d.ts +3 -6
- package/lib/Radio/type.d.ts +9 -8
- package/lib/Rate/type.d.ts +3 -2
- package/lib/ResizeBox/type.d.ts +6 -5
- package/lib/Result/type.d.ts +6 -5
- package/lib/Scrollbar/type.d.ts +2 -2
- package/lib/Select/Select.vue.d.ts +130 -4
- package/lib/Select/index.d.ts +65 -2
- package/lib/Select/type.d.ts +19 -18
- package/lib/Skeleton/type.d.ts +3 -2
- package/lib/Space/index.vue.js +1 -1
- package/lib/Space/index.vue2.js +1 -1
- package/lib/Space/type.d.ts +3 -2
- package/lib/Spin/type.d.ts +4 -3
- package/lib/Split/type.d.ts +5 -4
- package/lib/Statistic/type.d.ts +7 -7
- package/lib/Steps/type.d.ts +8 -7
- package/lib/Switch/index.vue.js +1 -1
- package/lib/Switch/index.vue2.js +1 -1
- package/lib/Switch/type.d.ts +5 -4
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/Tabs.vue2.js +1 -1
- package/lib/Tabs/type.d.ts +5 -4
- package/lib/Tag/type.d.ts +4 -3
- package/lib/TimePicker/type.d.ts +4 -3
- package/lib/Timeline/type.d.ts +6 -5
- package/lib/Tooltip/type.d.ts +3 -3
- package/lib/Transfer/TransferPanel.vue2.js +1 -1
- package/lib/Transfer/type.d.ts +13 -12
- package/lib/Trigger/hooks/useTriggerPosition.d.ts +2 -2
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/index.d.ts +63 -2
- package/lib/Trigger/index.vue.d.ts +130 -3
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Trigger/index.vue2.js +1 -1
- package/lib/Trigger/type.d.ts +3 -3
- package/lib/Typography/TypographyBase.vue2.js +1 -1
- package/lib/Typography/type.d.ts +8 -7
- package/lib/Watermark/type.d.ts +2 -1
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.js +1 -1
- package/lib/_shared/utils/dom.d.ts +4 -4
- package/lib/_shared/utils/dom.js +1 -1
- package/lib/_shared/utils/fn.d.ts +3 -3
- package/lib/_shared/utils/fn.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +4 -2
- package/lib/index.d.ts +65 -2
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/es/Tooltip/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CSSProperties } from 'vue';
|
1
|
+
import { CSSProperties, VNode } from 'vue';
|
2
2
|
import { ClassName, PopupContainer } from '../_shared/type';
|
3
3
|
import { TriggerPostion, TriggerProps } from '../Trigger/type';
|
4
4
|
export interface TooltipProps {
|
@@ -20,8 +20,8 @@ export interface TooltipEmits {
|
|
20
20
|
(e: 'popup-visible-change', value: boolean): void;
|
21
21
|
}
|
22
22
|
export interface TooltipSlots {
|
23
|
-
default()
|
24
|
-
content()
|
23
|
+
default?: () => VNode[];
|
24
|
+
content?: () => VNode[];
|
25
25
|
}
|
26
26
|
export interface TooltipExpose {
|
27
27
|
hide(): void;
|
@@ -5,8 +5,8 @@ import "../_shared/utils/time.js";
|
|
5
5
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
6
6
|
/* empty css */
|
7
7
|
import _sfc_main$3 from "../_shared/icons/IconClose.vue.js";
|
8
|
-
import _sfc_main$1 from "../_shared/icons/IconDelete.
|
9
|
-
import _sfc_main$2 from "../_shared/icons/IconSearch.
|
8
|
+
import _sfc_main$1 from "../_shared/icons/IconDelete.vue2.js";
|
9
|
+
import _sfc_main$2 from "../_shared/icons/IconSearch.vue2.js";
|
10
10
|
import useContext from "./hooks/useContext.js";
|
11
11
|
import Checkbox from "../Checkbox/index.js";
|
12
12
|
import Scrollbar from "../Scrollbar/index.js";
|
package/es/Transfer/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { InputProps } from '../Input';
|
2
|
+
import { VNode } from 'vue';
|
2
3
|
export interface TransferProps {
|
3
4
|
data?: TransferItem[];
|
4
5
|
modelValue?: string[];
|
@@ -22,24 +23,24 @@ export interface TransferEmits {
|
|
22
23
|
(e: 'search', value: string, type: 'target' | 'source'): void;
|
23
24
|
}
|
24
25
|
export interface TransferSlots {
|
25
|
-
source(scope: DefaultSlots)
|
26
|
-
target(scope: DefaultSlots)
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
item(scope: {
|
26
|
+
source?: (scope: DefaultSlots) => VNode[];
|
27
|
+
target?: (scope: DefaultSlots) => VNode[];
|
28
|
+
'source-title'?: (scope: TitleSlots) => VNode[];
|
29
|
+
'target-title'?: (scope: TitleSlots) => VNode[];
|
30
|
+
'to-source-icon'?: () => VNode[];
|
31
|
+
'to-target-icon'?: () => VNode[];
|
32
|
+
item?: (scope: {
|
32
33
|
value: string;
|
33
34
|
label: string;
|
34
|
-
})
|
35
|
+
}) => VNode[];
|
35
36
|
}
|
36
37
|
export interface TransferPanelSlots {
|
37
|
-
default(scope: DefaultSlots)
|
38
|
-
|
39
|
-
item(scope: {
|
38
|
+
default: (scope: DefaultSlots) => VNode[];
|
39
|
+
title: (scope: TitleSlots) => VNode[];
|
40
|
+
item: (scope: {
|
40
41
|
value: string;
|
41
42
|
label: string;
|
42
|
-
})
|
43
|
+
}) => VNode[];
|
43
44
|
}
|
44
45
|
export interface TransferItem {
|
45
46
|
label?: string;
|
@@ -19,8 +19,8 @@ declare const _default: (params: {
|
|
19
19
|
popupHeight: import('vue').ShallowRef<number, number>;
|
20
20
|
triggerWidth: import('vue').ShallowRef<number, number>;
|
21
21
|
triggerHeight: import('vue').ShallowRef<number, number>;
|
22
|
-
arrowWidth:
|
23
|
-
arrowHeight:
|
22
|
+
arrowWidth: import('vue').ShallowRef<number, number>;
|
23
|
+
arrowHeight: import('vue').ShallowRef<number, number>;
|
24
24
|
popupStyle: import('vue').ComputedRef<{
|
25
25
|
top: string;
|
26
26
|
left: string;
|
@@ -38,7 +38,13 @@ const useTriggerPosition = (params) => {
|
|
38
38
|
box: "border-box"
|
39
39
|
}
|
40
40
|
);
|
41
|
-
const { arrowWidth, arrowHeight } =
|
41
|
+
const { width: arrowWidth, height: arrowHeight } = useElementSize(
|
42
|
+
arrowRef,
|
43
|
+
void 0,
|
44
|
+
{
|
45
|
+
box: "border-box"
|
46
|
+
}
|
47
|
+
);
|
42
48
|
const {
|
43
49
|
left,
|
44
50
|
top,
|
@@ -131,7 +137,7 @@ const useTriggerPosition = (params) => {
|
|
131
137
|
})
|
132
138
|
};
|
133
139
|
});
|
134
|
-
|
140
|
+
const calcPopupOffset = () => {
|
135
141
|
const [translateX, translateY] = popupTranslate.value;
|
136
142
|
let offsetX = translateX;
|
137
143
|
let offsetY = translateY;
|
@@ -145,7 +151,7 @@ const useTriggerPosition = (params) => {
|
|
145
151
|
offsetX = popupOffset.value;
|
146
152
|
}
|
147
153
|
return [offsetX, offsetY];
|
148
|
-
}
|
154
|
+
};
|
149
155
|
const calcPopupPosition = (params2) => {
|
150
156
|
let offsetTop = 0;
|
151
157
|
let offsetLeft = 0;
|
@@ -220,21 +226,6 @@ const useTriggerPosition = (params) => {
|
|
220
226
|
}
|
221
227
|
return [newLeft, newTop];
|
222
228
|
};
|
223
|
-
function getArrowSize() {
|
224
|
-
if (!showArrow.value) {
|
225
|
-
return {
|
226
|
-
arrowWidth: ref(0),
|
227
|
-
arrowHeight: ref(0)
|
228
|
-
};
|
229
|
-
}
|
230
|
-
const { width, height } = useElementSize(arrowRef, void 0, {
|
231
|
-
box: "border-box"
|
232
|
-
});
|
233
|
-
return {
|
234
|
-
arrowWidth: width,
|
235
|
-
arrowHeight: height
|
236
|
-
};
|
237
|
-
}
|
238
229
|
const calcArrowPosition = (params2) => {
|
239
230
|
const {
|
240
231
|
position: position2,
|
@@ -281,7 +272,7 @@ const useTriggerPosition = (params) => {
|
|
281
272
|
}
|
282
273
|
return inset;
|
283
274
|
};
|
284
|
-
|
275
|
+
const calcPositionRef = (params2) => {
|
285
276
|
const {
|
286
277
|
offsetLeft,
|
287
278
|
offsetTop,
|
@@ -313,7 +304,7 @@ const useTriggerPosition = (params) => {
|
|
313
304
|
return Math.abs(finalLeft - offsetLeft) < epsilon && Math.abs(finalTop - offsetTop) < epsilon;
|
314
305
|
});
|
315
306
|
return (target == null ? void 0 : target[2]) ?? position.value;
|
316
|
-
}
|
307
|
+
};
|
317
308
|
watch(
|
318
309
|
() => computedVisible.value,
|
319
310
|
async (val) => {
|
package/es/Trigger/index.d.ts
CHANGED
@@ -51,7 +51,68 @@ declare const Trigger: {
|
|
51
51
|
preventFocus: boolean;
|
52
52
|
scrollToClose: boolean;
|
53
53
|
needTransformOrigin: boolean;
|
54
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string,
|
54
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
55
|
+
triggerRef: unknown;
|
56
|
+
popupRef: ({
|
57
|
+
$: import('vue').ComponentInternalInstance;
|
58
|
+
$data: {};
|
59
|
+
$props: {
|
60
|
+
readonly preventFocus?: boolean | undefined;
|
61
|
+
readonly tag?: string | undefined;
|
62
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
63
|
+
$attrs: {
|
64
|
+
[x: string]: unknown;
|
65
|
+
};
|
66
|
+
$refs: {
|
67
|
+
[x: string]: unknown;
|
68
|
+
};
|
69
|
+
$slots: Readonly<{
|
70
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
71
|
+
}>;
|
72
|
+
$root: import('vue').ComponentPublicInstance | null;
|
73
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
74
|
+
$host: Element | null;
|
75
|
+
$emit: (event: string, ...args: any[]) => void;
|
76
|
+
$el: any;
|
77
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
78
|
+
preventFocus?: boolean;
|
79
|
+
tag?: string;
|
80
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
81
|
+
preventFocus: boolean;
|
82
|
+
tag: string;
|
83
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
84
|
+
beforeCreate?: (() => void) | (() => void)[];
|
85
|
+
created?: (() => void) | (() => void)[];
|
86
|
+
beforeMount?: (() => void) | (() => void)[];
|
87
|
+
mounted?: (() => void) | (() => void)[];
|
88
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
89
|
+
updated?: (() => void) | (() => void)[];
|
90
|
+
activated?: (() => void) | (() => void)[];
|
91
|
+
deactivated?: (() => void) | (() => void)[];
|
92
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
93
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
94
|
+
destroyed?: (() => void) | (() => void)[];
|
95
|
+
unmounted?: (() => void) | (() => void)[];
|
96
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
97
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
98
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
99
|
+
};
|
100
|
+
$forceUpdate: () => void;
|
101
|
+
$nextTick: typeof import('vue').nextTick;
|
102
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
103
|
+
} & Readonly<{
|
104
|
+
preventFocus: boolean;
|
105
|
+
tag: string;
|
106
|
+
}> & Omit<Readonly<{
|
107
|
+
preventFocus?: boolean;
|
108
|
+
tag?: string;
|
109
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
110
|
+
$slots: {
|
111
|
+
default?(_: {}): any;
|
112
|
+
};
|
113
|
+
}) | null;
|
114
|
+
arrowRef: HTMLDivElement;
|
115
|
+
}, any, import('vue').ComponentProvideOptions, {
|
55
116
|
P: {};
|
56
117
|
B: {};
|
57
118
|
D: {};
|
@@ -154,7 +215,7 @@ declare const Trigger: {
|
|
154
215
|
scrollToClose: boolean;
|
155
216
|
needTransformOrigin: boolean;
|
156
217
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
157
|
-
$slots:
|
218
|
+
$slots: Readonly<import('./type').TriggerSlots> & import('./type').TriggerSlots;
|
158
219
|
}) & {
|
159
220
|
install: (app: App) => void;
|
160
221
|
};
|
@@ -1,5 +1,71 @@
|
|
1
|
-
import { TriggerProps } from './type';
|
2
|
-
declare function __VLS_template():
|
1
|
+
import { TriggerProps, TriggerSlots } from './type';
|
2
|
+
declare function __VLS_template(): {
|
3
|
+
attrs: Partial<{}>;
|
4
|
+
slots: Readonly<TriggerSlots> & TriggerSlots;
|
5
|
+
refs: {
|
6
|
+
triggerRef: unknown;
|
7
|
+
popupRef: ({
|
8
|
+
$: import('vue').ComponentInternalInstance;
|
9
|
+
$data: {};
|
10
|
+
$props: {
|
11
|
+
readonly preventFocus?: boolean | undefined;
|
12
|
+
readonly tag?: string | undefined;
|
13
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
14
|
+
$attrs: {
|
15
|
+
[x: string]: unknown;
|
16
|
+
};
|
17
|
+
$refs: {
|
18
|
+
[x: string]: unknown;
|
19
|
+
};
|
20
|
+
$slots: Readonly<{
|
21
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
22
|
+
}>;
|
23
|
+
$root: import('vue').ComponentPublicInstance | null;
|
24
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
25
|
+
$host: Element | null;
|
26
|
+
$emit: (event: string, ...args: any[]) => void;
|
27
|
+
$el: any;
|
28
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
29
|
+
preventFocus?: boolean;
|
30
|
+
tag?: string;
|
31
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
32
|
+
preventFocus: boolean;
|
33
|
+
tag: string;
|
34
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
35
|
+
beforeCreate?: (() => void) | (() => void)[];
|
36
|
+
created?: (() => void) | (() => void)[];
|
37
|
+
beforeMount?: (() => void) | (() => void)[];
|
38
|
+
mounted?: (() => void) | (() => void)[];
|
39
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
40
|
+
updated?: (() => void) | (() => void)[];
|
41
|
+
activated?: (() => void) | (() => void)[];
|
42
|
+
deactivated?: (() => void) | (() => void)[];
|
43
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
44
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
45
|
+
destroyed?: (() => void) | (() => void)[];
|
46
|
+
unmounted?: (() => void) | (() => void)[];
|
47
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
48
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
49
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
50
|
+
};
|
51
|
+
$forceUpdate: () => void;
|
52
|
+
$nextTick: typeof import('vue').nextTick;
|
53
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
54
|
+
} & Readonly<{
|
55
|
+
preventFocus: boolean;
|
56
|
+
tag: string;
|
57
|
+
}> & Omit<Readonly<{
|
58
|
+
preventFocus?: boolean;
|
59
|
+
tag?: string;
|
60
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
61
|
+
$slots: {
|
62
|
+
default?(_: {}): any;
|
63
|
+
};
|
64
|
+
}) | null;
|
65
|
+
arrowRef: HTMLDivElement;
|
66
|
+
};
|
67
|
+
rootEl: any;
|
68
|
+
};
|
3
69
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
4
70
|
declare const __VLS_component: import('vue').DefineComponent<TriggerProps, {
|
5
71
|
hide(): void;
|
@@ -49,7 +115,68 @@ declare const __VLS_component: import('vue').DefineComponent<TriggerProps, {
|
|
49
115
|
preventFocus: boolean;
|
50
116
|
scrollToClose: boolean;
|
51
117
|
needTransformOrigin: boolean;
|
52
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false,
|
118
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
119
|
+
triggerRef: unknown;
|
120
|
+
popupRef: ({
|
121
|
+
$: import('vue').ComponentInternalInstance;
|
122
|
+
$data: {};
|
123
|
+
$props: {
|
124
|
+
readonly preventFocus?: boolean | undefined;
|
125
|
+
readonly tag?: string | undefined;
|
126
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
127
|
+
$attrs: {
|
128
|
+
[x: string]: unknown;
|
129
|
+
};
|
130
|
+
$refs: {
|
131
|
+
[x: string]: unknown;
|
132
|
+
};
|
133
|
+
$slots: Readonly<{
|
134
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
135
|
+
}>;
|
136
|
+
$root: import('vue').ComponentPublicInstance | null;
|
137
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
138
|
+
$host: Element | null;
|
139
|
+
$emit: (event: string, ...args: any[]) => void;
|
140
|
+
$el: any;
|
141
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
142
|
+
preventFocus?: boolean;
|
143
|
+
tag?: string;
|
144
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
145
|
+
preventFocus: boolean;
|
146
|
+
tag: string;
|
147
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
148
|
+
beforeCreate?: (() => void) | (() => void)[];
|
149
|
+
created?: (() => void) | (() => void)[];
|
150
|
+
beforeMount?: (() => void) | (() => void)[];
|
151
|
+
mounted?: (() => void) | (() => void)[];
|
152
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
153
|
+
updated?: (() => void) | (() => void)[];
|
154
|
+
activated?: (() => void) | (() => void)[];
|
155
|
+
deactivated?: (() => void) | (() => void)[];
|
156
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
157
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
158
|
+
destroyed?: (() => void) | (() => void)[];
|
159
|
+
unmounted?: (() => void) | (() => void)[];
|
160
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
161
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
162
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
163
|
+
};
|
164
|
+
$forceUpdate: () => void;
|
165
|
+
$nextTick: typeof import('vue').nextTick;
|
166
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
167
|
+
} & Readonly<{
|
168
|
+
preventFocus: boolean;
|
169
|
+
tag: string;
|
170
|
+
}> & Omit<Readonly<{
|
171
|
+
preventFocus?: boolean;
|
172
|
+
tag?: string;
|
173
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
174
|
+
$slots: {
|
175
|
+
default?(_: {}): any;
|
176
|
+
};
|
177
|
+
}) | null;
|
178
|
+
arrowRef: HTMLDivElement;
|
179
|
+
}, any>;
|
53
180
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
54
181
|
export default _default;
|
55
182
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/es/Trigger/index.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _Trigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Trigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-37d87bda"]]);
|
5
5
|
export {
|
6
6
|
_Trigger as default
|
7
7
|
};
|
package/es/Trigger/index.vue2.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent,
|
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";
|
@@ -64,13 +64,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
64
64
|
},
|
65
65
|
emits: ["update:popupVisible", "popup-visible-change", "show", "hide"],
|
66
66
|
setup(__props, { expose: __expose, emit: __emit }) {
|
67
|
+
const slots = useSlots();
|
67
68
|
const props = __props;
|
68
69
|
const emits = __emit;
|
69
70
|
const { popupContainer } = getGlobalConfig(props);
|
70
71
|
const popupRef = ref();
|
71
72
|
const triggerRef = ref();
|
72
73
|
const arrowRef = ref();
|
73
|
-
const slots = useSlots();
|
74
74
|
const vNode = computed(() => {
|
75
75
|
var _a;
|
76
76
|
return findFirstLegitChild(((_a = slots.default) == null ? void 0 : _a.call(slots)) || []);
|
package/es/Trigger/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CSSProperties } from 'vue';
|
1
|
+
import { CSSProperties, VNode } from 'vue';
|
2
2
|
import { ClassName, PopupContainer } from '../_shared/type';
|
3
3
|
export interface TriggerProps {
|
4
4
|
popupVisible?: boolean;
|
@@ -49,8 +49,8 @@ export interface TriggerEmits {
|
|
49
49
|
(e: 'hide'): void;
|
50
50
|
}
|
51
51
|
export interface TriggerSlots {
|
52
|
-
default()
|
53
|
-
content()
|
52
|
+
default?: () => VNode[];
|
53
|
+
content?: () => VNode[];
|
54
54
|
}
|
55
55
|
export interface TriggerExpose {
|
56
56
|
hide(): void;
|
@@ -6,8 +6,8 @@ import { sleep } from "../_shared/utils/fn.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
8
|
/* empty css */
|
9
|
-
import _sfc_main$3 from "../_shared/icons/IconCopy.
|
10
|
-
import _sfc_main$1 from "../_shared/icons/IconEdit.
|
9
|
+
import _sfc_main$3 from "../_shared/icons/IconCopy.vue.js";
|
10
|
+
import _sfc_main$1 from "../_shared/icons/IconEdit.vue.js";
|
11
11
|
import _sfc_main$2 from "../_shared/icons/IconInfo.vue.js";
|
12
12
|
import useControlValue from "../_shared/utils/control.js";
|
13
13
|
import Input from "../Input/index.js";
|
package/es/Typography/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { TooltipProps } from '../Tooltip';
|
2
|
+
import { VNode } from 'vue';
|
2
3
|
export interface TypographyBaseProps {
|
3
4
|
tag?: string;
|
4
5
|
type?: TypographyType;
|
@@ -30,16 +31,16 @@ export interface TypographyBaseEmits {
|
|
30
31
|
(e: 'expand', expanded: boolean): void;
|
31
32
|
}
|
32
33
|
export interface TypographyBaseSlots {
|
33
|
-
default()
|
34
|
-
|
34
|
+
default?: () => VNode[];
|
35
|
+
'expand-node': (scope: {
|
35
36
|
expanded: boolean;
|
36
|
-
})
|
37
|
-
|
37
|
+
}) => VNode[];
|
38
|
+
'copy-icon': (scope: {
|
38
39
|
copied: boolean;
|
39
|
-
})
|
40
|
-
|
40
|
+
}) => VNode[];
|
41
|
+
'copy-tooltip': (scope: {
|
41
42
|
copied: boolean;
|
42
|
-
})
|
43
|
+
}) => VNode[];
|
43
44
|
}
|
44
45
|
export interface TypographyParagraphProps {
|
45
46
|
blockquote?: boolean;
|
package/es/Watermark/type.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { VNode } from 'vue';
|
1
2
|
export interface WatermarkProps {
|
2
3
|
content?: string | string[];
|
3
4
|
image?: string;
|
@@ -23,5 +24,5 @@ export interface WatermarkFont {
|
|
23
24
|
fontWeight?: 'normal' | 'bold' | 'bolder' | 'lighter' | number;
|
24
25
|
}
|
25
26
|
export interface WatermarkSlots {
|
26
|
-
default()
|
27
|
+
default?: () => VNode[];
|
27
28
|
}
|
@@ -1,4 +1,19 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import YcIcon from "./_Icon.vue2.js";
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
__name: "IconCopy",
|
5
|
+
setup(__props) {
|
6
|
+
return (_ctx, _cache) => {
|
7
|
+
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
+
createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
|
10
|
+
])),
|
11
|
+
_: 1,
|
12
|
+
__: [0]
|
13
|
+
}, 16);
|
14
|
+
};
|
15
|
+
}
|
16
|
+
});
|
2
17
|
export {
|
3
18
|
_sfc_main as default
|
4
19
|
};
|
@@ -1,19 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "./_Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconCopy",
|
5
|
-
setup(__props) {
|
6
|
-
return (_ctx, _cache) => {
|
7
|
-
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
-
createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconCopy.vue.js";
|
17
2
|
export {
|
18
3
|
_sfc_main as default
|
19
4
|
};
|
@@ -1,19 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "./_Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconDelete",
|
5
|
-
setup(__props) {
|
6
|
-
return (_ctx, _cache) => {
|
7
|
-
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
-
createElementVNode("path", { d: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconDelete.vue2.js";
|
17
2
|
export {
|
18
3
|
_sfc_main as default
|
19
4
|
};
|
@@ -1,4 +1,19 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import YcIcon from "./_Icon.vue2.js";
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
__name: "IconDelete",
|
5
|
+
setup(__props) {
|
6
|
+
return (_ctx, _cache) => {
|
7
|
+
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
+
createElementVNode("path", { d: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, null, -1)
|
10
|
+
])),
|
11
|
+
_: 1,
|
12
|
+
__: [0]
|
13
|
+
}, 16);
|
14
|
+
};
|
15
|
+
}
|
16
|
+
});
|
2
17
|
export {
|
3
18
|
_sfc_main as default
|
4
19
|
};
|
@@ -1,4 +1,19 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import YcIcon from "./_Icon.vue2.js";
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
__name: "IconEdit",
|
5
|
+
setup(__props) {
|
6
|
+
return (_ctx, _cache) => {
|
7
|
+
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
+
createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
|
10
|
+
])),
|
11
|
+
_: 1,
|
12
|
+
__: [0]
|
13
|
+
}, 16);
|
14
|
+
};
|
15
|
+
}
|
16
|
+
});
|
2
17
|
export {
|
3
18
|
_sfc_main as default
|
4
19
|
};
|
@@ -1,19 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "./_Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconEdit",
|
5
|
-
setup(__props) {
|
6
|
-
return (_ctx, _cache) => {
|
7
|
-
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
-
createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconEdit.vue.js";
|
17
2
|
export {
|
18
3
|
_sfc_main as default
|
19
4
|
};
|
@@ -1,19 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "./_Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconSearch",
|
5
|
-
setup(__props) {
|
6
|
-
return (_ctx, _cache) => {
|
7
|
-
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
-
createElementVNode("path", { d: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconSearch.vue2.js";
|
17
2
|
export {
|
18
3
|
_sfc_main as default
|
19
4
|
};
|