@halo-dev/components 2.17.0 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/alert/Alert.stories.d.ts +0 -1
- package/dist/components/alert/Alert.vue.d.ts +28 -26
- package/dist/components/avatar/Avatar.stories.d.ts +0 -1
- package/dist/components/avatar/Avatar.vue.d.ts +11 -12
- package/dist/components/avatar/AvatarGroup.stories.d.ts +0 -1
- package/dist/components/avatar/AvatarGroup.vue.d.ts +16 -15
- package/dist/components/avatar/interface.d.ts +0 -1
- package/dist/components/button/Button.stories.d.ts +0 -1
- package/dist/components/button/Button.vue.d.ts +29 -28
- package/dist/components/card/Card.stories.d.ts +0 -1
- package/dist/components/card/Card.vue.d.ts +16 -14
- package/dist/components/description/Description.vue.d.ts +4 -2
- package/dist/components/description/DescriptionItem.vue.d.ts +20 -18
- package/dist/components/dialog/Dialog.stories.d.ts +0 -1
- package/dist/components/dialog/Dialog.vue.d.ts +31 -32
- package/dist/components/dialog/dialog-manager.d.ts +0 -1
- package/dist/components/dropdown/Draopdown.stories.d.ts +0 -1
- package/dist/components/dropdown/Dropdown.vue.d.ts +23 -22
- package/dist/components/dropdown/DropdownItem.vue.d.ts +22 -20
- package/dist/components/dropdown/symbols.d.ts +0 -1
- package/dist/components/empty/Empty.stories.d.ts +0 -1
- package/dist/components/empty/Empty.vue.d.ts +18 -16
- package/dist/components/entity/Entity.vue.d.ts +23 -21
- package/dist/components/entity/EntityField.vue.d.ts +26 -25
- package/dist/components/header/PageHeader.vue.d.ts +14 -12
- package/dist/components/loading/Loading.stories.d.ts +0 -1
- package/dist/components/menu/Menu.stories.d.ts +0 -1
- package/dist/components/menu/Menu.vue.d.ts +14 -12
- package/dist/components/menu/MenuItem.vue.d.ts +23 -21
- package/dist/components/menu/MenuLabel.vue.d.ts +4 -2
- package/dist/components/modal/Modal.stories.d.ts +0 -1
- package/dist/components/modal/Modal.vue.d.ts +38 -36
- package/dist/components/pagination/Pagination.stories.d.ts +0 -1
- package/dist/components/pagination/Pagination.vue.d.ts +27 -27
- package/dist/components/space/Space.stories.d.ts +0 -1
- package/dist/components/space/Space.vue.d.ts +23 -22
- package/dist/components/status/StatusDot.stories.d.ts +0 -1
- package/dist/components/status/StatusDot.vue.d.ts +22 -21
- package/dist/components/switch/Switch.stories.d.ts +0 -1
- package/dist/components/switch/Switch.vue.d.ts +22 -20
- package/dist/components/tabs/TabItem.vue.d.ts +16 -14
- package/dist/components/tabs/Tabbar.stories.d.ts +0 -1
- package/dist/components/tabs/Tabbar.vue.d.ts +23 -24
- package/dist/components/tabs/Tabs.stories.d.ts +0 -1
- package/dist/components/tabs/Tabs.vue.d.ts +27 -26
- package/dist/components/tag/Tag.stories.d.ts +0 -1
- package/dist/components/tag/Tag.vue.d.ts +24 -23
- package/dist/components/toast/Toast.vue.d.ts +30 -29
- package/dist/components/toast/toast-manager.d.ts +0 -1
- package/dist/halo-components.es.js +17 -32
- package/dist/halo-components.es.js.map +1 -1
- package/dist/halo-components.iife.js.map +1 -1
- package/dist/icons/icons.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/package.json +2 -2
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { State } from './interface';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
text?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
6
|
+
state?: State;
|
|
7
|
+
animate?: boolean;
|
|
8
|
+
text?: string;
|
|
7
9
|
}>, {
|
|
8
10
|
state: string;
|
|
9
11
|
animate: boolean;
|
|
10
12
|
text: undefined;
|
|
11
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
12
|
-
state?: State
|
|
13
|
-
animate?: boolean
|
|
14
|
-
text?: string
|
|
13
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
14
|
+
state?: State;
|
|
15
|
+
animate?: boolean;
|
|
16
|
+
text?: string;
|
|
15
17
|
}>, {
|
|
16
18
|
state: string;
|
|
17
19
|
animate: boolean;
|
|
@@ -20,19 +22,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
20
22
|
animate: boolean;
|
|
21
23
|
text: string;
|
|
22
24
|
state: State;
|
|
23
|
-
}, {}
|
|
24
|
-
|
|
25
|
-
}>;
|
|
25
|
+
}, {}>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
27
|
export default _default;
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
28
|
type __VLS_WithDefaults<P, D> = {
|
|
37
29
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
38
30
|
default: D[K];
|
|
@@ -46,3 +38,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
46
38
|
$slots: S;
|
|
47
39
|
};
|
|
48
40
|
};
|
|
41
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
+
type __VLS_TypePropsToOption<T> = {
|
|
43
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
+
} : {
|
|
46
|
+
type: import('vue').PropType<T[K]>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
icon?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
|
+
modelValue?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
5
8
|
}>, {
|
|
6
9
|
modelValue: boolean;
|
|
7
10
|
disabled: boolean;
|
|
@@ -9,10 +12,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
9
12
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
13
|
"update:modelValue": (value: boolean) => void;
|
|
11
14
|
change: (value: boolean) => void;
|
|
12
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
13
|
-
modelValue?: boolean
|
|
14
|
-
disabled?: boolean
|
|
15
|
-
loading?: boolean
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
|
+
modelValue?: boolean;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
loading?: boolean;
|
|
16
19
|
}>, {
|
|
17
20
|
modelValue: boolean;
|
|
18
21
|
disabled: boolean;
|
|
@@ -24,19 +27,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
24
27
|
disabled: boolean;
|
|
25
28
|
loading: boolean;
|
|
26
29
|
modelValue: boolean;
|
|
27
|
-
}, {}
|
|
28
|
-
|
|
29
|
-
}>;
|
|
30
|
+
}, {}>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
30
32
|
export default _default;
|
|
31
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
-
} : {
|
|
36
|
-
type: import('vue').PropType<T[K]>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
33
|
type __VLS_WithDefaults<P, D> = {
|
|
41
34
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
35
|
default: D[K];
|
|
@@ -50,3 +43,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
50
43
|
$slots: S;
|
|
51
44
|
};
|
|
52
45
|
};
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToOption<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
declare
|
|
2
|
-
id?: string | undefined;
|
|
3
|
-
label?: string | undefined;
|
|
4
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
id?: string | undefined;
|
|
6
|
-
label?: string | undefined;
|
|
7
|
-
}>>>, {}, {}>, {
|
|
1
|
+
declare function __VLS_template(): {
|
|
8
2
|
default?(_: {}): any;
|
|
9
|
-
}
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
5
|
+
id?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
8
|
+
id?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
}>>>, {}, {}>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
10
12
|
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
11
18
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type
|
|
19
|
+
type __VLS_TypePropsToOption<T> = {
|
|
13
20
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
21
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
22
|
} : {
|
|
@@ -17,8 +24,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
17
24
|
required: true;
|
|
18
25
|
};
|
|
19
26
|
};
|
|
20
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
-
new (): {
|
|
22
|
-
$slots: S;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Direction, Type } from './interface';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
labelKey?: string | undefined;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
+
activeId?: number | string;
|
|
4
|
+
items?: Array<Record<string, string>>;
|
|
5
|
+
type?: Type;
|
|
6
|
+
direction?: Direction;
|
|
7
|
+
idKey?: string;
|
|
8
|
+
labelKey?: string;
|
|
10
9
|
}>, {
|
|
11
10
|
activeId: undefined;
|
|
12
11
|
items: undefined;
|
|
@@ -17,13 +16,13 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
17
16
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
17
|
"update:activeId": (value: string | number) => void;
|
|
19
18
|
change: (value: string | number) => void;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
21
|
-
activeId?:
|
|
22
|
-
items?: Record<string, string
|
|
23
|
-
type?: Type
|
|
24
|
-
direction?: Direction
|
|
25
|
-
idKey?: string
|
|
26
|
-
labelKey?: string
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
20
|
+
activeId?: number | string;
|
|
21
|
+
items?: Array<Record<string, string>>;
|
|
22
|
+
type?: Type;
|
|
23
|
+
direction?: Direction;
|
|
24
|
+
idKey?: string;
|
|
25
|
+
labelKey?: string;
|
|
27
26
|
}>, {
|
|
28
27
|
activeId: undefined;
|
|
29
28
|
items: undefined;
|
|
@@ -43,15 +42,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
43
42
|
labelKey: string;
|
|
44
43
|
}, {}>;
|
|
45
44
|
export default _default;
|
|
46
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
-
} : {
|
|
51
|
-
type: import('vue').PropType<T[K]>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
45
|
type __VLS_WithDefaults<P, D> = {
|
|
56
46
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
47
|
default: D[K];
|
|
@@ -60,3 +50,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
60
50
|
type __VLS_Prettify<T> = {
|
|
61
51
|
[K in keyof T]: T[K];
|
|
62
52
|
} & {};
|
|
53
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
+
type __VLS_TypePropsToOption<T> = {
|
|
55
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
57
|
+
} : {
|
|
58
|
+
type: import('vue').PropType<T[K]>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Direction, Type } from './interface';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
6
|
+
activeId?: number | string;
|
|
7
|
+
type?: Type;
|
|
8
|
+
direction?: Direction;
|
|
9
|
+
idKey?: string;
|
|
10
|
+
labelKey?: string;
|
|
9
11
|
}>, {
|
|
10
12
|
activeId: undefined;
|
|
11
13
|
type: string;
|
|
@@ -15,12 +17,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
15
17
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
18
|
"update:activeId": (value: string | number) => void;
|
|
17
19
|
change: (value: string | number) => void;
|
|
18
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
19
|
-
activeId?:
|
|
20
|
-
type?: Type
|
|
21
|
-
direction?: Direction
|
|
22
|
-
idKey?: string
|
|
23
|
-
labelKey?: string
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
21
|
+
activeId?: number | string;
|
|
22
|
+
type?: Type;
|
|
23
|
+
direction?: Direction;
|
|
24
|
+
idKey?: string;
|
|
25
|
+
labelKey?: string;
|
|
24
26
|
}>, {
|
|
25
27
|
activeId: undefined;
|
|
26
28
|
type: string;
|
|
@@ -33,22 +35,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
33
35
|
}, {
|
|
34
36
|
type: Type;
|
|
35
37
|
direction: Direction;
|
|
36
|
-
activeId:
|
|
38
|
+
activeId: number | string;
|
|
37
39
|
idKey: string;
|
|
38
40
|
labelKey: string;
|
|
39
|
-
}, {}
|
|
40
|
-
|
|
41
|
-
}>;
|
|
41
|
+
}, {}>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
42
43
|
export default _default;
|
|
43
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
45
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
-
} : {
|
|
48
|
-
type: import('vue').PropType<T[K]>;
|
|
49
|
-
required: true;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
44
|
type __VLS_WithDefaults<P, D> = {
|
|
53
45
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
46
|
default: D[K];
|
|
@@ -62,3 +54,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
62
54
|
$slots: S;
|
|
63
55
|
};
|
|
64
56
|
};
|
|
57
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
58
|
+
type __VLS_TypePropsToOption<T> = {
|
|
59
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
60
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
61
|
+
} : {
|
|
62
|
+
type: import('vue').PropType<T[K]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
2
|
import { Theme } from './interface';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
leftIcon?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
rightIcon?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
+
theme?: Theme;
|
|
10
|
+
rounded?: boolean;
|
|
11
|
+
styles?: CSSProperties;
|
|
8
12
|
}>, {
|
|
9
13
|
theme: string;
|
|
10
14
|
rounded: boolean;
|
|
11
15
|
styles: () => {};
|
|
12
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
13
|
-
theme?: Theme
|
|
14
|
-
rounded?: boolean
|
|
15
|
-
styles?: CSSProperties
|
|
16
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
17
|
+
theme?: Theme;
|
|
18
|
+
rounded?: boolean;
|
|
19
|
+
styles?: CSSProperties;
|
|
16
20
|
}>, {
|
|
17
21
|
theme: string;
|
|
18
22
|
rounded: boolean;
|
|
@@ -21,21 +25,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
21
25
|
styles: CSSProperties;
|
|
22
26
|
theme: Theme;
|
|
23
27
|
rounded: boolean;
|
|
24
|
-
}, {}
|
|
25
|
-
|
|
26
|
-
default?(_: {}): any;
|
|
27
|
-
rightIcon?(_: {}): any;
|
|
28
|
-
}>;
|
|
28
|
+
}, {}>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
29
30
|
export default _default;
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
-
} : {
|
|
35
|
-
type: import('vue').PropType<T[K]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
31
|
type __VLS_WithDefaults<P, D> = {
|
|
40
32
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
33
|
default: D[K];
|
|
@@ -49,3 +41,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
49
41
|
$slots: S;
|
|
50
42
|
};
|
|
51
43
|
};
|
|
44
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
+
type __VLS_TypePropsToOption<T> = {
|
|
46
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
+
} : {
|
|
49
|
+
type: import('vue').PropType<T[K]>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Type } from './interface';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
6
|
+
type?: Type;
|
|
7
|
+
content?: string;
|
|
8
|
+
duration?: number;
|
|
9
|
+
closable?: boolean;
|
|
10
|
+
frozenOnHover?: boolean;
|
|
11
|
+
count?: 0;
|
|
12
|
+
onClose?: () => void;
|
|
11
13
|
}>, {
|
|
12
14
|
type: string;
|
|
13
15
|
content: string;
|
|
@@ -20,14 +22,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
20
22
|
close: () => void;
|
|
21
23
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
24
|
close: () => void;
|
|
23
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
24
|
-
type?: Type
|
|
25
|
-
content?: string
|
|
26
|
-
duration?: number
|
|
27
|
-
closable?: boolean
|
|
28
|
-
frozenOnHover?: boolean
|
|
29
|
-
count?: 0
|
|
30
|
-
onClose?: (
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
26
|
+
type?: Type;
|
|
27
|
+
content?: string;
|
|
28
|
+
duration?: number;
|
|
29
|
+
closable?: boolean;
|
|
30
|
+
frozenOnHover?: boolean;
|
|
31
|
+
count?: 0;
|
|
32
|
+
onClose?: () => void;
|
|
31
33
|
}>, {
|
|
32
34
|
type: string;
|
|
33
35
|
content: string;
|
|
@@ -46,19 +48,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
46
48
|
duration: number;
|
|
47
49
|
frozenOnHover: boolean;
|
|
48
50
|
count: 0;
|
|
49
|
-
}, {}
|
|
50
|
-
|
|
51
|
-
}>;
|
|
51
|
+
}, {}>;
|
|
52
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
52
53
|
export default _default;
|
|
53
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
55
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
57
|
-
} : {
|
|
58
|
-
type: import('vue').PropType<T[K]>;
|
|
59
|
-
required: true;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
54
|
type __VLS_WithDefaults<P, D> = {
|
|
63
55
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
64
56
|
default: D[K];
|
|
@@ -72,3 +64,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
72
64
|
$slots: S;
|
|
73
65
|
};
|
|
74
66
|
};
|
|
67
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
68
|
+
type __VLS_TypePropsToOption<T> = {
|
|
69
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
70
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
71
|
+
} : {
|
|
72
|
+
type: import('vue').PropType<T[K]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
@@ -1409,8 +1409,7 @@ function J(e, t) {
|
|
|
1409
1409
|
if (qo(e))
|
|
1410
1410
|
for (let o = 0; o < e.length && t(e[o], o, e) !== !1; o++)
|
|
1411
1411
|
;
|
|
1412
|
-
else
|
|
1413
|
-
e && J(Object.keys(e), (o) => t(e[o], o, e));
|
|
1412
|
+
else e && J(Object.keys(e), (o) => t(e[o], o, e));
|
|
1414
1413
|
return e;
|
|
1415
1414
|
}
|
|
1416
1415
|
const Ko = (e, t) => e.indexOf(t) >= 0, Qe = (e, t) => e.concat(t), re = (e, t, o) => (!Uo(t) && qo(t) ? Array.prototype.push.apply(e, t) : e.push(t), e), At = (e) => Array.from(e || []), li = (e) => We(e) ? e : [e], Zo = (e) => !!e && !e.length, ls = (e) => At(new Set(e)), Ve = (e, t, o) => {
|
|
@@ -1875,8 +1874,7 @@ const y2 = () => {
|
|
|
1875
1874
|
if (x) {
|
|
1876
1875
|
const [S, , Z] = c(y.contentRect), P = Tn(S), O = Zi(S, Z);
|
|
1877
1876
|
$ = !Z || O, m = !$ && !P, b = !m;
|
|
1878
|
-
} else
|
|
1879
|
-
w ? [, b] = y : $ = y === !0;
|
|
1877
|
+
} else w ? [, b] = y : $ = y === !0;
|
|
1880
1878
|
if (s && b) {
|
|
1881
1879
|
const S = w ? y[0] : at(p);
|
|
1882
1880
|
vt(p, {
|
|
@@ -2050,8 +2048,7 @@ const y2 = () => {
|
|
|
2050
2048
|
if (I.m(), We(me)) {
|
|
2051
2049
|
const K = me[0], _e = me[1];
|
|
2052
2050
|
s = qe(K) && K, i = qe(_e) && _e;
|
|
2053
|
-
} else
|
|
2054
|
-
qe(me) ? (s = me, i = !1) : (s = !1, i = !1);
|
|
2051
|
+
} else qe(me) ? (s = me, i = !1) : (s = !1, i = !1);
|
|
2055
2052
|
if (ge) {
|
|
2056
2053
|
const K = fe(), _e = ce && ce(), $e = r && r();
|
|
2057
2054
|
K && X(B, ee(K[0], K[1], ge)), _e && X(B, q(_e[0], ge)), $e && X(B, G($e[0], ge));
|
|
@@ -3625,8 +3622,7 @@ function gt(e) {
|
|
|
3625
3622
|
}
|
|
3626
3623
|
let _o;
|
|
3627
3624
|
function ji() {
|
|
3628
|
-
if (_o)
|
|
3629
|
-
return _o;
|
|
3625
|
+
if (_o) return _o;
|
|
3630
3626
|
const e = navigator.userAgentData;
|
|
3631
3627
|
return e && Array.isArray(e.brands) ? (_o = e.brands.map((t) => t.brand + "/" + t.version).join(" "), _o) : navigator.userAgent;
|
|
3632
3628
|
}
|
|
@@ -3668,8 +3664,7 @@ function Gi(e) {
|
|
|
3668
3664
|
const Ki = { x: 1, y: 1 };
|
|
3669
3665
|
function Vt(e) {
|
|
3670
3666
|
const t = Gi(e);
|
|
3671
|
-
if (!Ke(t))
|
|
3672
|
-
return Ki;
|
|
3667
|
+
if (!Ke(t)) return Ki;
|
|
3673
3668
|
const o = t.getBoundingClientRect(), { width: n, height: s, fallback: i } = Wi(t);
|
|
3674
3669
|
let r = (i ? Po(o.width) : o.width) / n, l = (i ? Po(o.height) : o.height) / s;
|
|
3675
3670
|
return r && Number.isFinite(r) || (r = 1), l && Number.isFinite(l) || (l = 1), { x: r, y: l };
|
|
@@ -3702,8 +3697,7 @@ function Yi(e) {
|
|
|
3702
3697
|
return so(ht(e)).left + nn(e).scrollLeft;
|
|
3703
3698
|
}
|
|
3704
3699
|
function io(e) {
|
|
3705
|
-
if (gt(e) === "html")
|
|
3706
|
-
return e;
|
|
3700
|
+
if (gt(e) === "html") return e;
|
|
3707
3701
|
const t = e.assignedSlot || e.parentNode || Bs(e) && e.host || ht(e);
|
|
3708
3702
|
return Bs(t) ? t.host : t;
|
|
3709
3703
|
}
|
|
@@ -3743,13 +3737,11 @@ function Vs(e) {
|
|
|
3743
3737
|
function Is(e) {
|
|
3744
3738
|
const t = Be(e);
|
|
3745
3739
|
let o = Vs(e);
|
|
3746
|
-
for (; o && gh(o) && Ge(o).position === "static"; )
|
|
3747
|
-
o = Vs(o);
|
|
3740
|
+
for (; o && gh(o) && Ge(o).position === "static"; ) o = Vs(o);
|
|
3748
3741
|
return o && (gt(o) === "html" || gt(o) === "body" && Ge(o).position === "static" && !On(o)) ? t : o || function(n) {
|
|
3749
3742
|
let s = io(n);
|
|
3750
3743
|
for (; Ke(s) && !os(s); ) {
|
|
3751
|
-
if (On(s))
|
|
3752
|
-
return s;
|
|
3744
|
+
if (On(s)) return s;
|
|
3753
3745
|
s = io(s);
|
|
3754
3746
|
}
|
|
3755
3747
|
return null;
|
|
@@ -3759,20 +3751,17 @@ function $h(e, t, o) {
|
|
|
3759
3751
|
const n = Ke(t), s = ht(t), i = so(e, !0, o === "fixed", t);
|
|
3760
3752
|
let r = { scrollLeft: 0, scrollTop: 0 };
|
|
3761
3753
|
const l = { x: 0, y: 0 };
|
|
3762
|
-
if (n || !n && o !== "fixed")
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
} else
|
|
3767
|
-
s && (l.x = Yi(s));
|
|
3754
|
+
if (n || !n && o !== "fixed") if ((gt(t) !== "body" || on(s)) && (r = nn(t)), Ke(t)) {
|
|
3755
|
+
const a = so(t, !0);
|
|
3756
|
+
l.x = a.x + t.clientLeft, l.y = a.y + t.clientTop;
|
|
3757
|
+
} else s && (l.x = Yi(s));
|
|
3768
3758
|
return { x: i.left + r.scrollLeft - l.x, y: i.top + r.scrollTop - l.y, width: i.width, height: i.height };
|
|
3769
3759
|
}
|
|
3770
3760
|
const wh = { getClippingRect: function(e) {
|
|
3771
3761
|
let { element: t, boundary: o, rootBoundary: n, strategy: s } = e;
|
|
3772
3762
|
const i = o === "clippingAncestors" ? function(c, d) {
|
|
3773
3763
|
const f = d.get(c);
|
|
3774
|
-
if (f)
|
|
3775
|
-
return f;
|
|
3764
|
+
if (f) return f;
|
|
3776
3765
|
let p = Vo(c).filter((x) => dt(x) && gt(x) !== "body"), g = null;
|
|
3777
3766
|
const _ = Ge(c).position === "fixed";
|
|
3778
3767
|
let y = _ ? io(c) : c;
|
|
@@ -3789,8 +3778,7 @@ const wh = { getClippingRect: function(e) {
|
|
|
3789
3778
|
}, convertOffsetParentRelativeRectToViewportRelativeRect: function(e) {
|
|
3790
3779
|
let { rect: t, offsetParent: o, strategy: n } = e;
|
|
3791
3780
|
const s = Ke(o), i = ht(o);
|
|
3792
|
-
if (o === i)
|
|
3793
|
-
return t;
|
|
3781
|
+
if (o === i) return t;
|
|
3794
3782
|
let r = { scrollLeft: 0, scrollTop: 0 }, l = { x: 1, y: 1 };
|
|
3795
3783
|
const a = { x: 0, y: 0 };
|
|
3796
3784
|
if ((s || !s && n !== "fixed") && ((gt(o) !== "body" || on(i)) && (r = nn(o)), Ke(o))) {
|
|
@@ -5941,8 +5929,7 @@ var fp = /* @__PURE__ */ se({
|
|
|
5941
5929
|
y($), n("update:activeId", m), n("change", m);
|
|
5942
5930
|
}, r = ye(), l = ye(), a = ye([]), c = ye(), d = ye(!1), { width: f } = Cr(r), p = ie(() => {
|
|
5943
5931
|
const m = { left: !1, right: !1 };
|
|
5944
|
-
if (!r.value)
|
|
5945
|
-
return m;
|
|
5932
|
+
if (!r.value) return m;
|
|
5946
5933
|
d.value, f.value;
|
|
5947
5934
|
const { scrollWidth: $, scrollLeft: b, clientWidth: S } = r.value;
|
|
5948
5935
|
return $ > S && (b < $ - S && (m.right = !0), b > 20 && (m.left = !0)), m;
|
|
@@ -5962,8 +5949,7 @@ var fp = /* @__PURE__ */ se({
|
|
|
5962
5949
|
}
|
|
5963
5950
|
}
|
|
5964
5951
|
function y(m) {
|
|
5965
|
-
if (!r.value || !c.value)
|
|
5966
|
-
return;
|
|
5952
|
+
if (!r.value || !c.value) return;
|
|
5967
5953
|
const { scrollWidth: $, clientWidth: b } = r.value;
|
|
5968
5954
|
if (!($ <= b)) {
|
|
5969
5955
|
if (m === 0) {
|
|
@@ -5983,8 +5969,7 @@ var fp = /* @__PURE__ */ se({
|
|
|
5983
5969
|
if (!r.value || !c.value || !l.value)
|
|
5984
5970
|
return;
|
|
5985
5971
|
const { scrollWidth: $, scrollLeft: b, clientWidth: S } = r.value;
|
|
5986
|
-
if ($ <= S)
|
|
5987
|
-
return;
|
|
5972
|
+
if ($ <= S) return;
|
|
5988
5973
|
if (!a.value[0]) {
|
|
5989
5974
|
a.value = [];
|
|
5990
5975
|
for (const A of l.value)
|