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
@@ -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: "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
|
+
});
|
2
17
|
export {
|
3
18
|
_sfc_main as default
|
4
19
|
};
|
@@ -4,10 +4,10 @@ import { BreakpointName, ResponsiveValue } from '../../Grid';
|
|
4
4
|
export declare const isServerRendering: boolean;
|
5
5
|
export declare const querySelector: (selectors: string, container?: Document | HTMLElement) => HTMLElement | undefined;
|
6
6
|
export declare const getElement: (target: string | HTMLElement | undefined, container?: Document | HTMLElement) => HTMLElement | undefined;
|
7
|
-
export declare
|
8
|
-
export declare
|
7
|
+
export declare const getDomText: (dom: Ref<HTMLElement | undefined>) => string;
|
8
|
+
export declare const getBreakpointValue: (breakpoint: BreakpointName, value: string | number | ResponsiveValue, defaultValue?: number | string) => number | string | undefined;
|
9
9
|
export declare const mediaQueryHandler: (onBreakpoint: (breakpoint: BreakpointName, order: Record<string, number>, index: number) => void, queries?: Record<string, string>) => void;
|
10
|
-
export declare
|
10
|
+
export declare const findFirstScrollableParent: (element?: HTMLElement) => HTMLElement | undefined;
|
11
11
|
/**
|
12
12
|
* 计算文本是否需要省略并返回处理后的文本
|
13
13
|
* @param originElement 原始DOM元素,用于获取样式
|
@@ -16,7 +16,7 @@ export declare function findFirstScrollableParent(element?: HTMLElement): HTMLEl
|
|
16
16
|
* @param fullText 完整文本
|
17
17
|
* @returns 返回处理后的文本和是否省略的标志
|
18
18
|
*/
|
19
|
-
export declare
|
19
|
+
export declare const calculateEllipsis: (originElement: HTMLElement, ellipsisConfig: EllipsisConfig | undefined, operations: (HTMLElement | HTMLElement[] | null) | undefined, fullText: string) => {
|
20
20
|
tooltip?: {
|
21
21
|
type?: "tooltip" | "popover" | undefined;
|
22
22
|
props?: Record<string, any> | undefined;
|
package/es/_shared/utils/dom.js
CHANGED
@@ -21,10 +21,10 @@ const getElement = (target, container) => {
|
|
21
21
|
}
|
22
22
|
return target;
|
23
23
|
};
|
24
|
-
|
24
|
+
const getDomText = (dom) => {
|
25
25
|
var _a;
|
26
26
|
return ((_a = unrefElement(dom)) == null ? void 0 : _a.innerText) || "";
|
27
|
-
}
|
27
|
+
};
|
28
28
|
const getMedicaQueryQuerues = () => {
|
29
29
|
return {
|
30
30
|
xs: "(min-width: 0)",
|
@@ -35,7 +35,7 @@ const getMedicaQueryQuerues = () => {
|
|
35
35
|
xxl: "(min-width: 1600px)"
|
36
36
|
};
|
37
37
|
};
|
38
|
-
|
38
|
+
const getBreakpointValue = (breakpoint, value, defaultValue) => {
|
39
39
|
if (!isObject(value)) {
|
40
40
|
return value;
|
41
41
|
}
|
@@ -52,7 +52,7 @@ function getBreakpointValue(breakpoint, value, defaultValue) {
|
|
52
52
|
return value[bp];
|
53
53
|
}
|
54
54
|
return defaultValue;
|
55
|
-
}
|
55
|
+
};
|
56
56
|
const mediaQueryHandler = (onBreakpoint, queries = getMedicaQueryQuerues()) => {
|
57
57
|
const breakpoints = [];
|
58
58
|
const order = {};
|
@@ -73,7 +73,7 @@ const mediaQueryHandler = (onBreakpoint, queries = getMedicaQueryQuerues()) => {
|
|
73
73
|
}
|
74
74
|
);
|
75
75
|
};
|
76
|
-
|
76
|
+
const findFirstScrollableParent = (element) => {
|
77
77
|
if (!element || element === document.body) {
|
78
78
|
return;
|
79
79
|
}
|
@@ -88,7 +88,7 @@ function findFirstScrollableParent(element) {
|
|
88
88
|
}
|
89
89
|
currentElement = currentElement.parentElement;
|
90
90
|
}
|
91
|
-
}
|
91
|
+
};
|
92
92
|
export {
|
93
93
|
findFirstScrollableParent,
|
94
94
|
getBreakpointValue,
|
package/es/_shared/utils/fn.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
export declare const sleep: (ms: number) => Promise<unknown>;
|
2
|
-
export declare
|
2
|
+
export declare const throttleByRaf: (cb: (...args: any[]) => void) => {
|
3
3
|
(...args: any[]): void;
|
4
4
|
cancel(): void;
|
5
5
|
};
|
6
|
-
export declare
|
7
|
-
export declare
|
6
|
+
export declare const debounce: (func: (...args: any) => void, delay: number, immediate?: boolean) => (this: any, ...args: any) => void;
|
7
|
+
export declare const throttle: (fn: (...args: any) => void, delay: number) => (this: any, ...args: any) => void;
|
8
8
|
export declare const valueToPx: (value: string | number | undefined) => string;
|
package/es/_shared/utils/fn.js
CHANGED
@@ -6,7 +6,7 @@ const sleep = (ms) => {
|
|
6
6
|
}, ms);
|
7
7
|
});
|
8
8
|
};
|
9
|
-
|
9
|
+
const throttleByRaf = (cb) => {
|
10
10
|
let timer = 0;
|
11
11
|
const throttle2 = (...args) => {
|
12
12
|
if (timer) {
|
@@ -22,8 +22,8 @@ function throttleByRaf(cb) {
|
|
22
22
|
timer = 0;
|
23
23
|
};
|
24
24
|
return throttle2;
|
25
|
-
}
|
26
|
-
|
25
|
+
};
|
26
|
+
const debounce = (func, delay, immediate = false) => {
|
27
27
|
let timer = null;
|
28
28
|
let isInvoked = false;
|
29
29
|
return function(...args) {
|
@@ -40,8 +40,8 @@ function debounce(func, delay, immediate = false) {
|
|
40
40
|
isInvoked = false;
|
41
41
|
}, delay);
|
42
42
|
};
|
43
|
-
}
|
44
|
-
|
43
|
+
};
|
44
|
+
const throttle = (fn, delay) => {
|
45
45
|
let lastTime = 0;
|
46
46
|
let timeoutId = null;
|
47
47
|
return function(...args) {
|
@@ -62,7 +62,7 @@ function throttle(fn, delay) {
|
|
62
62
|
}, remaining);
|
63
63
|
}
|
64
64
|
};
|
65
|
-
}
|
65
|
+
};
|
66
66
|
const valueToPx = (value) => {
|
67
67
|
const numberReg = /^-?\d+(\.\d+)?$/;
|
68
68
|
if (isNumber(value) || isString(value) && numberReg.test(value)) {
|
@@ -21,8 +21,10 @@ export declare const getGlobalConfig: (props?: Props) => {
|
|
21
21
|
exchangeTime: Ref<any, any>;
|
22
22
|
renderEmpty: (name: EmptyComponent) => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
23
23
|
[key: string]: any;
|
24
|
-
}> | (() =>
|
24
|
+
}> | (() => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
25
|
+
[key: string]: any;
|
26
|
+
}>[] | undefined);
|
25
27
|
renderLoading: () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
26
28
|
[key: string]: any;
|
27
|
-
}> | (() =>
|
29
|
+
}> | (() => VNode[]);
|
28
30
|
};
|
package/es/index.d.ts
CHANGED
@@ -678,7 +678,70 @@ declare const _default: {
|
|
678
678
|
$attrs: {
|
679
679
|
[x: string]: unknown;
|
680
680
|
};
|
681
|
-
$refs:
|
681
|
+
$refs: {
|
682
|
+
[x: string]: unknown;
|
683
|
+
} & {
|
684
|
+
triggerRef: unknown;
|
685
|
+
popupRef: ({
|
686
|
+
$: import('vue').ComponentInternalInstance;
|
687
|
+
$data: {};
|
688
|
+
$props: {
|
689
|
+
readonly preventFocus?: boolean | undefined;
|
690
|
+
readonly tag?: string | undefined;
|
691
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
692
|
+
$attrs: {
|
693
|
+
[x: string]: unknown;
|
694
|
+
};
|
695
|
+
$refs: {
|
696
|
+
[x: string]: unknown;
|
697
|
+
};
|
698
|
+
$slots: Readonly<{
|
699
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
700
|
+
}>;
|
701
|
+
$root: import('vue').ComponentPublicInstance | null;
|
702
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
703
|
+
$host: Element | null;
|
704
|
+
$emit: (event: string, ...args: any[]) => void;
|
705
|
+
$el: any;
|
706
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
707
|
+
preventFocus?: boolean;
|
708
|
+
tag?: string;
|
709
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
710
|
+
preventFocus: boolean;
|
711
|
+
tag: string;
|
712
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
713
|
+
beforeCreate?: (() => void) | (() => void)[];
|
714
|
+
created?: (() => void) | (() => void)[];
|
715
|
+
beforeMount?: (() => void) | (() => void)[];
|
716
|
+
mounted?: (() => void) | (() => void)[];
|
717
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
718
|
+
updated?: (() => void) | (() => void)[];
|
719
|
+
activated?: (() => void) | (() => void)[];
|
720
|
+
deactivated?: (() => void) | (() => void)[];
|
721
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
722
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
723
|
+
destroyed?: (() => void) | (() => void)[];
|
724
|
+
unmounted?: (() => void) | (() => void)[];
|
725
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
726
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
727
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
728
|
+
};
|
729
|
+
$forceUpdate: () => void;
|
730
|
+
$nextTick: typeof import('vue').nextTick;
|
731
|
+
$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;
|
732
|
+
} & Readonly<{
|
733
|
+
preventFocus: boolean;
|
734
|
+
tag: string;
|
735
|
+
}> & Omit<Readonly<{
|
736
|
+
preventFocus?: boolean;
|
737
|
+
tag?: string;
|
738
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
739
|
+
$slots: {
|
740
|
+
default?(_: {}): any;
|
741
|
+
};
|
742
|
+
}) | null;
|
743
|
+
arrowRef: HTMLDivElement;
|
744
|
+
};
|
682
745
|
$slots: Readonly<{
|
683
746
|
[name: string]: import('vue').Slot<any> | undefined;
|
684
747
|
}>;
|
@@ -799,7 +862,7 @@ declare const _default: {
|
|
799
862
|
show(): void;
|
800
863
|
updatePosition(x: number, y: number): void;
|
801
864
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
802
|
-
$slots:
|
865
|
+
$slots: Readonly<import('./Trigger').TriggerSlots> & import('./Trigger').TriggerSlots;
|
803
866
|
}) | null;
|
804
867
|
optionRef: ({
|
805
868
|
$: import('vue').ComponentInternalInstance;
|