@mc-markets/ui 1.0.63 → 1.0.67
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.vue.d.ts +8 -0
- package/dist/components/Alert/Alert.vue.d.ts.map +1 -0
- package/dist/components/Banner/Banner.vue.d.ts +38 -0
- package/dist/components/Banner/Banner.vue.d.ts.map +1 -0
- package/dist/components/Button/Button.vue.d.ts +8 -0
- package/dist/components/Button/Button.vue.d.ts.map +1 -0
- package/dist/components/Card/Card.vue.d.ts +8 -0
- package/dist/components/Card/Card.vue.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts +13 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.vue.d.ts +30 -0
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -0
- package/dist/components/Empty/Empty.vue.d.ts +11 -0
- package/dist/components/Empty/Empty.vue.d.ts.map +1 -0
- package/dist/components/Form/Form.vue.d.ts +8 -0
- package/dist/components/Form/Form.vue.d.ts.map +1 -0
- package/dist/components/FormItem/FormItem.vue.d.ts +8 -0
- package/dist/components/FormItem/FormItem.vue.d.ts.map +1 -0
- package/dist/components/Icon/Icon.vue.d.ts +30 -0
- package/dist/components/Icon/Icon.vue.d.ts.map +1 -0
- package/dist/components/Input/Input.vue.d.ts +8 -0
- package/dist/components/Input/Input.vue.d.ts.map +1 -0
- package/dist/components/Notification/Notification.vue.d.ts +8 -0
- package/dist/components/Notification/Notification.vue.d.ts.map +1 -0
- package/dist/components/Option/Option.vue.d.ts +8 -0
- package/dist/components/Option/Option.vue.d.ts.map +1 -0
- package/dist/components/OptionGroup/OptionGroup.vue.d.ts +8 -0
- package/dist/components/OptionGroup/OptionGroup.vue.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +8 -0
- package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -0
- package/dist/components/Radio/Radio.vue.d.ts +13 -0
- package/dist/components/Radio/Radio.vue.d.ts.map +1 -0
- package/dist/components/RadioButton/RadioButton.vue.d.ts +13 -0
- package/dist/components/RadioButton/RadioButton.vue.d.ts.map +1 -0
- package/dist/components/RadioGroup/RadioGroup.vue.d.ts +13 -0
- package/dist/components/RadioGroup/RadioGroup.vue.d.ts.map +1 -0
- package/dist/components/Select/Select.vue.d.ts +8 -0
- package/dist/components/Select/Select.vue.d.ts.map +1 -0
- package/dist/components/Switch/Switch.vue.d.ts +13 -0
- package/dist/components/Switch/Switch.vue.d.ts.map +1 -0
- package/dist/components/Table/Table.vue.d.ts +8 -0
- package/dist/components/Table/Table.vue.d.ts.map +1 -0
- package/dist/components/Table/TableColumn.vue.d.ts +8 -0
- package/dist/components/Table/TableColumn.vue.d.ts.map +1 -0
- package/dist/components/Tabs/TabPane.vue.d.ts +23 -0
- package/dist/components/Tabs/TabPane.vue.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +31 -0
- package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -0
- package/dist/components/Tag/Tag.vue.d.ts +8 -0
- package/dist/components/Tag/Tag.vue.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +13 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -0
- package/dist/hooks/useClassName.d.ts +8 -0
- package/dist/hooks/useClassName.d.ts.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +76 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +1136 -0
- package/dist/index.mjs.map +1 -0
- package/dist/style.css +1 -0
- package/dist/styles/font/iconfont.d.ts +1 -0
- package/dist/styles/font/iconfont.d.ts.map +1 -0
- package/dist/utils/classNames.d.ts +3 -0
- package/dist/utils/classNames.d.ts.map +1 -0
- package/dist/utils/styleUtils.d.ts +31 -0
- package/dist/utils/styleUtils.d.ts.map +1 -0
- package/package.json +19 -18
- package/packages/components/Alert/Alert.vue +13 -0
- package/packages/components/Banner/Banner.vue +299 -0
- package/packages/components/Button/Button.vue +18 -0
- package/packages/components/Card/Card.vue +20 -0
- package/packages/components/DatePicker/DatePicker.vue +71 -0
- package/packages/components/Dialog/Dialog.vue +102 -0
- package/packages/components/Empty/Empty.vue +74 -0
- package/packages/components/Form/Form.vue +17 -0
- package/packages/components/FormItem/FormItem.vue +20 -0
- package/packages/components/Icon/Icon.vue +210 -0
- package/packages/components/Input/Input.vue +25 -0
- package/packages/components/Notification/Notification.vue +13 -0
- package/packages/components/Option/Option.vue +13 -0
- package/packages/components/OptionGroup/OptionGroup.vue +13 -0
- package/packages/components/Pagination/Pagination.vue +23 -0
- package/packages/components/Radio/Radio.vue +130 -0
- package/packages/components/RadioButton/RadioButton.vue +110 -0
- package/packages/components/RadioGroup/RadioGroup.vue +155 -0
- package/packages/components/Select/Select.vue +22 -0
- package/packages/components/Switch/Switch.vue +134 -0
- package/packages/components/Table/Table.vue +17 -0
- package/packages/components/Table/TableColumn.vue +20 -0
- package/packages/components/Tabs/TabPane.vue +98 -0
- package/packages/components/Tabs/Tabs.vue +414 -0
- package/packages/components/Tag/Tag.vue +61 -0
- package/packages/components/Tooltip/Tooltip.vue +58 -0
- package/packages/hooks/useClassName.js +23 -0
- package/packages/styles/README.md +129 -0
- package/packages/styles/components/override.scss +234 -0
- package/packages/styles/index.scss +76 -124
- package/packages/utils/classNames.js +23 -0
- package/packages/utils/styleUtils.js +105 -0
- package/dist/index.js +0 -19254
- package/dist/index.js.css +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=Alert.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Alert/Alert.vue.js"],"names":[],"mappings":"AAOA;wBAmFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAvEH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
close: () => void;
|
|
8
|
+
$emit: (event: "close" | "update:visible", ...args: any[]) => void;
|
|
9
|
+
type: string;
|
|
10
|
+
icon: string;
|
|
11
|
+
content: string;
|
|
12
|
+
closable: boolean;
|
|
13
|
+
visible: boolean;
|
|
14
|
+
iconSize: string | number;
|
|
15
|
+
closeIconSize: string | number;
|
|
16
|
+
backgroundColor: string;
|
|
17
|
+
textColor: string;
|
|
18
|
+
borderColor: string;
|
|
19
|
+
duration: number;
|
|
20
|
+
$props: {
|
|
21
|
+
readonly type?: string;
|
|
22
|
+
readonly icon?: string;
|
|
23
|
+
readonly content?: string;
|
|
24
|
+
readonly closable?: boolean;
|
|
25
|
+
readonly visible?: boolean;
|
|
26
|
+
readonly iconSize?: string | number;
|
|
27
|
+
readonly closeIconSize?: string | number;
|
|
28
|
+
readonly backgroundColor?: string;
|
|
29
|
+
readonly textColor?: string;
|
|
30
|
+
readonly borderColor?: string;
|
|
31
|
+
readonly duration?: number;
|
|
32
|
+
};
|
|
33
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
declare function __VLS_template(): {
|
|
35
|
+
icon?(_: {}): any;
|
|
36
|
+
default?(_: {}): any;
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=Banner.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Banner.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Banner/Banner.vue.js"],"names":[],"mappings":"AAiCA;wBA0TqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;;;;;;;;;;;;;;;;;;;2OASG;AA1KH;kBA+I2B,GAAG;qBACA,GAAG;EAGhC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=Button.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Button/Button.vue.js"],"names":[],"mappings":"AAOA;wBAoFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAxEH,2FAwDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=Card.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Card/Card.vue.js"],"names":[],"mappings":"AAOA;wBAmFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAvEH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
popperClass: string;
|
|
8
|
+
$props: {
|
|
9
|
+
readonly popperClass?: string;
|
|
10
|
+
};
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
13
|
+
//# sourceMappingURL=DatePicker.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/DatePicker/DatePicker.vue.js"],"names":[],"mappings":"AAOA;wBAyGqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AATjC;;;;;2OAOG;AA7EH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
$emit: (event: "close", ...args: any[]) => void;
|
|
8
|
+
width: string;
|
|
9
|
+
center: boolean;
|
|
10
|
+
draggable: boolean;
|
|
11
|
+
closeOnClickModal: boolean;
|
|
12
|
+
title: string;
|
|
13
|
+
$props: {
|
|
14
|
+
readonly width?: string;
|
|
15
|
+
readonly center?: boolean;
|
|
16
|
+
readonly draggable?: boolean;
|
|
17
|
+
readonly closeOnClickModal?: boolean;
|
|
18
|
+
readonly title?: string;
|
|
19
|
+
};
|
|
20
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
declare function __VLS_template(): {
|
|
22
|
+
header?(_: {
|
|
23
|
+
close: any;
|
|
24
|
+
titleId: any;
|
|
25
|
+
titleClass: any;
|
|
26
|
+
}): any;
|
|
27
|
+
default?(_: {}): any;
|
|
28
|
+
footer?(_: {}): any;
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=Dialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Dialog/Dialog.vue.js"],"names":[],"mappings":"AAuBA;wBAqKqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAVjC;;;;;;;;;;;;;;2OAQG;AA7HH;;;;;QAqG6B,GAAG;qBACF,GAAG;oBACJ,GAAG;EAG/B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {
|
|
2
|
+
image: string;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly image?: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<NonNullable<string | number>, (_: {}) => any>>>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
9
|
+
$slots: S;
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=Empty.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Empty.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Empty/Empty.vue.js"],"names":[],"mappings":"AAOA;;;;;;oSA2HsF,GAAG;;6BA4BxD,CAAC,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=Form.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Form/Form.vue.js"],"names":[],"mappings":"AAOA;wBAmFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAvEH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=FormItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormItem.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/FormItem/FormItem.vue.js"],"names":[],"mappings":"AAOA;wBAmFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAvEH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
8
|
+
name: string;
|
|
9
|
+
size: string | number;
|
|
10
|
+
color: string;
|
|
11
|
+
spin: boolean;
|
|
12
|
+
pulse: boolean;
|
|
13
|
+
rotate: number;
|
|
14
|
+
prefix: string;
|
|
15
|
+
flip?: string;
|
|
16
|
+
$props: {
|
|
17
|
+
readonly name?: string;
|
|
18
|
+
readonly size?: string | number;
|
|
19
|
+
readonly color?: string;
|
|
20
|
+
readonly spin?: boolean;
|
|
21
|
+
readonly pulse?: boolean;
|
|
22
|
+
readonly rotate?: number;
|
|
23
|
+
readonly prefix?: string;
|
|
24
|
+
readonly flip?: string;
|
|
25
|
+
};
|
|
26
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
declare function __VLS_template(): {
|
|
28
|
+
default?(_: {}): any;
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=Icon.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Icon/Icon.vue.js"],"names":[],"mappings":"AAUA;wBA2LqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAVjC;;;;;;;;;;;;;;;;;;;;2OAQG;AA/EH;qBAqD6B,GAAG;EAK/B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=Input.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Input/Input.vue.js"],"names":[],"mappings":"AAOA;wBAoFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAxEH,2FAwDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=Notification.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Notification.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Notification/Notification.vue.js"],"names":[],"mappings":"AAOA;wBAmFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAvEH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=Option.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Option.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Option/Option.vue.js"],"names":[],"mappings":"AAOA;wBAmFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAvEH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=OptionGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionGroup.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/OptionGroup/OptionGroup.vue.js"],"names":[],"mappings":"AAOA;wBAmFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAvEH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=Pagination.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pagination.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Pagination/Pagination.vue.js"],"names":[],"mappings":"AAQA;wBAmFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAvEH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
popperClass: string;
|
|
8
|
+
$props: {
|
|
9
|
+
readonly popperClass?: string;
|
|
10
|
+
};
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
13
|
+
//# sourceMappingURL=Radio.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Radio.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Radio/Radio.vue.js"],"names":[],"mappings":"AAOA;wBAqGqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AATjC;;;;;2OAOG;AA5EH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
popperClass: string;
|
|
8
|
+
$props: {
|
|
9
|
+
readonly popperClass?: string;
|
|
10
|
+
};
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
13
|
+
//# sourceMappingURL=RadioButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/RadioButton/RadioButton.vue.js"],"names":[],"mappings":"AAOA;wBAqGqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AATjC;;;;;2OAOG;AA5EH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
popperClass: string;
|
|
8
|
+
$props: {
|
|
9
|
+
readonly popperClass?: string;
|
|
10
|
+
};
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
13
|
+
//# sourceMappingURL=RadioGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/RadioGroup/RadioGroup.vue.js"],"names":[],"mappings":"AAOA;wBAuHqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AATjC;;;;;2OAOG;AA7EH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=Select.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Select/Select.vue.js"],"names":[],"mappings":"AAYA;wBAsFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AA1EH,2FA0DsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
popperClass: string;
|
|
8
|
+
$props: {
|
|
9
|
+
readonly popperClass?: string;
|
|
10
|
+
};
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
13
|
+
//# sourceMappingURL=Switch.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Switch.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Switch/Switch.vue.js"],"names":[],"mappings":"AAOA;wBAsGqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AATjC;;;;;2OAOG;AA7EH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=Table.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Table/Table.vue.js"],"names":[],"mappings":"AAOA;wBAmFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAvEH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=TableColumn.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableColumn.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Table/TableColumn.vue.js"],"names":[],"mappings":"AAOA;wBAmFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAvEH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
name: string | number;
|
|
8
|
+
closable: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
label: string;
|
|
11
|
+
lazy: boolean;
|
|
12
|
+
$props: {
|
|
13
|
+
readonly name?: string | number;
|
|
14
|
+
readonly closable?: boolean;
|
|
15
|
+
readonly disabled?: boolean;
|
|
16
|
+
readonly label?: string;
|
|
17
|
+
readonly lazy?: boolean;
|
|
18
|
+
};
|
|
19
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=TabPane.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabPane.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Tabs/TabPane.vue.js"],"names":[],"mappings":"AAYA;wBAkJqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AATjC;;;;;;;;;;;;;2OAOG;AArEH;qBA+C6B,GAAG;EAK/B"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
activeName: import('vue').ComputedRef<string | number>;
|
|
8
|
+
$emit: (event: "update:modelValue" | "tab-click" | "tab-change" | "tab-remove" | "tab-add" | "edit", ...args: any[]) => void;
|
|
9
|
+
type: string;
|
|
10
|
+
closable: boolean;
|
|
11
|
+
modelValue: string | number;
|
|
12
|
+
tabPosition: string;
|
|
13
|
+
addable: boolean;
|
|
14
|
+
editable: boolean;
|
|
15
|
+
stretch: boolean;
|
|
16
|
+
beforeLeave?: Function;
|
|
17
|
+
$props: {
|
|
18
|
+
readonly type?: string;
|
|
19
|
+
readonly closable?: boolean;
|
|
20
|
+
readonly modelValue?: string | number;
|
|
21
|
+
readonly tabPosition?: string;
|
|
22
|
+
readonly addable?: boolean;
|
|
23
|
+
readonly editable?: boolean;
|
|
24
|
+
readonly stretch?: boolean;
|
|
25
|
+
readonly beforeLeave?: Function;
|
|
26
|
+
};
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
declare function __VLS_template(): Partial<Record<`tab-${any}`, (_: {}) => any>> & {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=Tabs.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Tabs/Tabs.vue.js"],"names":[],"mappings":"AA8CA;wBA2YqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;;;;;;;;;;;;;2OASG;AA1PH,2EA4NsF,GAAG;qBAE3D,GAAG;EAGhC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
8
|
+
//# sourceMappingURL=Tag.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Tag/Tag.vue.js"],"names":[],"mappings":"AAOA;wBAmFqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AAPjC,6SAKG;AAvEH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
popperClass: string;
|
|
8
|
+
$props: {
|
|
9
|
+
readonly popperClass?: string;
|
|
10
|
+
};
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
13
|
+
//# sourceMappingURL=Tooltip.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/Tooltip/Tooltip.vue.js"],"names":[],"mappings":"AAOA;wBAsGqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;;6BAC1E,CAAC,EAAE,CAAC;;;AATjC;;;;;2OAOG;AA7EH,2FAuDsF,GAAG,GAIxF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 类名 Hook
|
|
3
|
+
* @param {string} defaultClass - 默认的类名
|
|
4
|
+
* @param {string} excludeKey - 要排除的属性名,默认为 'popperClass'
|
|
5
|
+
* @returns {Object} 包含 mergedAttrs 和 className 的对象
|
|
6
|
+
*/
|
|
7
|
+
export function useClassName(defaultClass: string, excludeKey?: string): any;
|
|
8
|
+
//# sourceMappingURL=useClassName.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useClassName.d.ts","sourceRoot":"","sources":["../../packages/hooks/useClassName.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,2CAJW,MAAM,eACN,MAAM,OAgBhB"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var ae=Object.defineProperty,le=Object.defineProperties;var ce=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var y=(o,t,n)=>t in o?ae(o,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[t]=n,C=(o,t)=>{for(var n in t||(t={}))P.call(t,n)&&y(o,n,t[n]);if(S)for(var n of S(t))w.call(t,n)&&y(o,n,t[n]);return o},T=(o,t)=>le(o,ce(t));var v=(o,t)=>{var n={};for(var r in o)P.call(o,r)&&t.indexOf(r)<0&&(n[r]=o[r]);if(o!=null&&S)for(var r of S(o))t.indexOf(r)<0&&w.call(o,r)&&(n[r]=o[r]);return n};var E=(o,t,n)=>new Promise((r,a)=>{var s=p=>{try{c(n.next(p))}catch(f){a(f)}},l=p=>{try{c(n.throw(p))}catch(f){a(f)}},c=p=>p.done?r(p.value):Promise.resolve(p.value).then(s,l);c((n=n.apply(o,t)).next())});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const ie=require("element-plus"),e=require("vue"),m=require("element-plus/es");require("element-plus/es/components/base/style/index");require("element-plus/es/components/button/style/index");require("element-plus/es/components/card/style/index");require("element-plus/es/components/input/style/index");require("element-plus/es/components/form/style/index");require("element-plus/es/components/form-item/style/index");require("element-plus/es/components/tooltip/style/index");require("element-plus/es/components/select/style/index");require("element-plus/es/components/option/style/index");require("element-plus/es/components/option-group/style/index");require("element-plus/es/components/pagination/style/index");require("element-plus/es/components/radio/style/index");require("element-plus/es/components/radio-group/style/index");require("element-plus/es/components/radio-button/style/index");require("element-plus/es/components/switch/style/index");require("element-plus/es/components/tag/style/index");require("element-plus/es/components/alert/style/index");require("element-plus/es/components/dialog/style/index");require("element-plus/es/components/notification/style/index");require("element-plus/es/components/date-picker/style/index");require("element-plus/es/components/empty/style/index");require("element-plus/es/components/table/style/index");require("element-plus/es/components/table-column/style/index");function ue(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const n in o)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(o,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>o[n]})}}return t.default=o,Object.freeze(t)}const $=ue(ie),M=(o,t)=>{const n=o.__vccOpts||o;for(const[r,a]of t)n[r]=a;return n},de=Object.assign({name:"MIcon"},{__name:"Icon",props:{name:{type:String,required:!0},size:{type:[String,Number],default:"16px"},color:{type:String,default:"inherit"},spin:{type:Boolean,default:!1},pulse:{type:Boolean,default:!1},rotate:{type:Number,default:0},flip:{type:String,default:void 0},prefix:{type:String,default:"icon"}},emits:["click"],setup(o,{emit:t}){const n=o,r=t,a=e.computed(()=>{const c=["iconfont"];return n.name&&c.push(`${n.prefix}-${n.name}`),n.spin&&c.push("icon-spin"),n.pulse&&c.push("icon-pulse"),n.flip&&c.push(`icon-flip-${n.flip}`),c}),s=e.computed(()=>{const c={};return n.size&&(typeof n.size=="number"?c.fontSize=`${n.size}px`:c.fontSize=n.size),n.color&&(c.color=n.color),n.rotate!==0&&(c.transform=`rotate(${n.rotate}deg)`),c}),l=c=>{r("click",c)};return(c,p)=>(e.openBlock(),e.createElementBlock("i",e.mergeProps({class:a.value,style:s.value},c.$attrs,{onClick:l}),[e.renderSlot(c.$slots,"default",{},void 0,!0)],16))}}),b=M(de,[["__scopeId","data-v-90f84c9e"]]),me=Object.assign({name:"MButton"},{__name:"Button",setup(o){return(t,n)=>{const r=m.ElButton;return e.openBlock(),e.createBlock(r,e.mergeProps(t.$attrs,{class:"m-button"}),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s,{},void 0,!0)])}))]),1040)}}}),O=M(me,[["__scopeId","data-v-9c99add1"]]),N=Object.assign({name:"MCard"},{__name:"Card",setup(o){return(t,n)=>{const r=m.ElCard;return e.openBlock(),e.createBlock(r,e.mergeProps(t.$attrs,{class:"m-card"}),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040)}}}),L=Object.assign({name:"MInput"},{__name:"Input",setup(o){return(t,n)=>{const r=m.ElInput;return e.openBlock(),e.createBlock(r,e.mergeProps(t.$attrs,{class:["m-input",{solid:t.$attrs.styleType==="solid"}]}),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040,["class"])}}}),I=Object.assign({name:"MForm"},{__name:"Form",setup(o){return(t,n)=>{const r=m.ElForm;return e.openBlock(),e.createBlock(r,e.mergeProps(t.$attrs,{class:"m-form"}),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040)}}}),j=Object.assign({name:"MFormItem"},{__name:"FormItem",setup(o){return(t,n)=>{const r=m.ElFormItem;return e.openBlock(),e.createBlock(r,e.mergeProps(t.$attrs,{class:"m-form-item"}),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040)}}}),pe=(...o)=>o.filter(Boolean).join(" "),fe=(o,...t)=>{const n=C({},o);return t.forEach(r=>{delete n[r]}),n};function k(o,t="popperClass"){const n=e.useAttrs(),r=e.computed(()=>fe(n,t)),a=e.computed(()=>pe(o,n[t]));return{mergedAttrs:r,className:a}}const V=Object.assign({name:"MTooltip"},{__name:"Tooltip",props:{popperClass:{type:String,default:""}},setup(o){const{mergedAttrs:t,className:n}=k("mc-tooltip-popper");return(r,a)=>{const s=m.ElTooltip;return e.openBlock(),e.createBlock(s,e.mergeProps(e.unref(t),{"popper-class":e.unref(n)}),e.createSlots({_:2},[e.renderList(r.$slots,(l,c)=>({name:c,fn:e.withCtx(()=>[e.renderSlot(r.$slots,c)])}))]),1040,["popper-class"])}}}),z=Object.assign({name:"MSelect"},{__name:"Select",setup(o){return(t,n)=>{const r=m.ElSelect;return e.openBlock(),e.createBlock(r,e.mergeProps({class:["m-select2",{solid:t.$attrs.styleType==="solid"}],"show-arrow":!1},t.$attrs),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040,["class"])}}}),_e=Object.assign({name:"MOption"},{__name:"Option",setup(o){return(t,n)=>{const r=m.ElOption;return e.openBlock(),e.createBlock(r,e.normalizeProps(e.guardReactiveProps(t.$attrs)),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040)}}}),ge=Object.assign({name:"MOptionGroup"},{__name:"OptionGroup",setup(o){return(t,n)=>{const r=m.ElOptionGroup;return e.openBlock(),e.createBlock(r,e.normalizeProps(e.guardReactiveProps(t.$attrs)),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040)}}}),q=Object.assign({name:"MPagination"},{__name:"Pagination",setup(o){return(t,n)=>{const r=m.ElPagination;return e.openBlock(),e.createBlock(r,e.mergeProps(t.$attrs,{class:"m-pagination"}),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040)}}}),A=Object.assign({name:"MRadio"},{__name:"Radio",props:{popperClass:{type:String,default:""}},setup(o){const{mergedAttrs:t}=k("mc-radio-popper");return(n,r)=>{const a=m.ElRadio;return e.openBlock(),e.createBlock(a,e.mergeProps(e.unref(t),{class:"m-radio"}),e.createSlots({_:2},[e.renderList(n.$slots,(s,l)=>({name:l,fn:e.withCtx(()=>[e.renderSlot(n.$slots,l)])}))]),1040)}}}),R=Object.assign({name:"MRadioGroup"},{__name:"RadioGroup",props:{popperClass:{type:String,default:""}},setup(o){const t=e.useAttrs(),n=e.computed(()=>{const a="mc-radio-group-popper";return t.popperClass?`${a} ${t.popperClass}`.trim():a}),r=e.computed(()=>{const l=t,{popperClass:a}=l;return v(l,["popperClass"])});return(a,s)=>{const l=m.ElRadioGroup;return e.openBlock(),e.createBlock(l,e.mergeProps(r.value,{"popper-class":n.value,class:"m-radio-group"}),e.createSlots({_:2},[e.renderList(a.$slots,(c,p)=>({name:p,fn:e.withCtx(()=>[e.renderSlot(a.$slots,p)])}))]),1040,["popper-class"])}}}),D=Object.assign({name:"MRadioButton"},{__name:"RadioButton",props:{popperClass:{type:String,default:""}},setup(o){const{mergedAttrs:t}=k("mc-radio-button-popper");return(n,r)=>{const a=m.ElRadioButton;return e.openBlock(),e.createBlock(a,e.mergeProps(e.unref(t),{class:"m-radio-button"}),e.createSlots({_:2},[e.renderList(n.$slots,(s,l)=>({name:l,fn:e.withCtx(()=>[e.renderSlot(n.$slots,l)])}))]),1040)}}}),G=Object.assign({name:"MSwitch"},{__name:"Switch",props:{popperClass:{type:String,default:""}},setup(o){const{mergedAttrs:t,className:n}=k("mc-switch-popper");return(r,a)=>{const s=m.ElSwitch;return e.openBlock(),e.createBlock(s,e.mergeProps(e.unref(t),{"popper-class":e.unref(n),class:"m-switch"}),e.createSlots({_:2},[e.renderList(r.$slots,(l,c)=>({name:c,fn:e.withCtx(()=>[e.renderSlot(r.$slots,c)])}))]),1040,["popper-class"])}}}),x=Object.assign({name:"MTag"},{__name:"Tag",setup(o){return(t,n)=>{const r=m.ElTag;return e.openBlock(),e.createBlock(r,e.mergeProps(t.$attrs,{class:"m-tag"}),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040)}}}),F=Object.assign({name:"MAlert"},{__name:"Alert",setup(o){return(t,n)=>{const r=m.ElAlert;return e.openBlock(),e.createBlock(r,e.normalizeProps(e.guardReactiveProps(t.$attrs)),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040)}}}),be={__name:"Dialog",props:e.mergeModels({width:{type:String,default:"440px"},center:{type:Boolean,default:!0},draggable:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!1},title:{type:String,default:""}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:e.mergeModels(["close"],["update:modelValue"]),setup(o,{emit:t}){const n=e.useModel(o,"modelValue");return(r,a)=>{const s=m.ElDialog;return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(s,e.mergeProps({modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=l=>n.value=l),width:o.width,title:o.title,draggable:o.draggable,"close-on-click-modal":o.closeOnClickModal,center:o.center},r.$attrs,{class:"m-dialog","header-class":"m-header"}),e.createSlots({default:e.withCtx(()=>[a[1]||(a[1]=e.createTextVNode("测试组 ",-1)),e.renderSlot(r.$slots,"default",{},void 0,!0)]),_:2},[r.$slots.header?{name:"header",fn:e.withCtx(({close:l,titleId:c,titleClass:p})=>[e.renderSlot(r.$slots,"header",e.normalizeProps(e.guardReactiveProps({close:l,titleId:c,titleClass:p})),void 0,!0)]),key:"0"}:void 0,r.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(r.$slots,"footer",{},void 0,!0)]),key:"1"}:void 0]),1040,["modelValue","width","title","draggable","close-on-click-modal","center"])])}}},U=M(be,[["__scopeId","data-v-a9d393b9"]]),W=Object.assign({name:"MNotification"},{__name:"Notification",setup(o){return(t,n)=>{const r=m.ElNotification;return e.openBlock(),e.createBlock(r,e.normalizeProps(e.guardReactiveProps(t.$attrs)),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040)}}}),Z=Object.assign({name:"MDatePicker"},{__name:"DatePicker",props:{popperClass:{type:String,default:""}},setup(o){const{mergedAttrs:t,className:n}=k("mc-datepicker-popper","popperClass");return(r,a)=>{const s=m.ElDatePicker;return e.openBlock(),e.createBlock(s,e.mergeProps(e.unref(t),{"popper-class":e.unref(n)}),e.createSlots({_:2},[e.renderList(r.$slots,(l,c)=>({name:c,fn:e.withCtx(()=>[e.renderSlot(r.$slots,c)])}))]),1040,["popper-class"])}}}),Me=["404","billing","cart","comments","dashboard","files","inbox","location","network","notifications","orders","records","session","subscription","todo","wishlist"],he={name:"MEmpty"},H=Object.assign(he,{props:{image:{type:String,default:"orders",validator:o=>o.includes("/")||o.includes("http")?!0:Me.includes(o)}},setup(o){const t=o,n=e.useAttrs(),r=e.computed(()=>{const c=n,{image:s}=c;return v(c,["image"])}),a=e.computed(()=>{const{image:s}=t;return s.includes("/")||s.includes("http")?s:`/images/empty/${s}.png`});return(s,l)=>{const c=m.ElEmpty;return e.openBlock(),e.createBlock(c,e.mergeProps(r.value,{image:a.value}),e.createSlots({_:2},[e.renderList(s.$slots,(p,f)=>({name:f,fn:e.withCtx(()=>[e.renderSlot(s.$slots,f)])}))]),1040,["image"])}}}),J=Object.assign({name:"MTable"},{__name:"Table",setup(o){return(t,n)=>{const r=m.ElTable;return e.openBlock(),e.createBlock(r,e.normalizeProps(e.guardReactiveProps(t.$attrs)),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040)}}}),Q=Object.assign({name:"MTableColumn"},{__name:"TableColumn",setup(o){return(t,n)=>{const r=m.ElTableColumn;return e.openBlock(),e.createBlock(r,e.mergeProps(t.$attrs,{class:"m-table-column"}),e.createSlots({_:2},[e.renderList(t.$slots,(a,s)=>({name:s,fn:e.withCtx(()=>[e.renderSlot(t.$slots,s)])}))]),1040)}}}),ke={class:"m-banner__content"},Se={key:0,class:"m-banner__icon"},Ce={class:"m-banner__text"},ve=Object.assign({name:"MBanner"},{__name:"Banner",props:{content:{type:String,default:""},type:{type:String,default:"info",validator:o=>["info","success","warning","error"].includes(o)},closable:{type:Boolean,default:!0},visible:{type:Boolean,default:!0},icon:{type:String,default:""},iconSize:{type:[String,Number],default:"16px"},closeIconSize:{type:[String,Number],default:"16px"},backgroundColor:{type:String,default:""},textColor:{type:String,default:""},borderColor:{type:String,default:""},duration:{type:Number,default:0}},emits:["close","update:visible"],setup(o,{expose:t,emit:n}){const r=e.useSlots(),a=o,s=n,l=e.ref(a.visible);e.watch(()=>a.visible,u=>{l.value=u});const c=e.computed(()=>{const u={};return a.backgroundColor&&(u.backgroundColor=a.backgroundColor),a.textColor&&(u.color=a.textColor),a.borderColor&&(u.borderColor=a.borderColor),u}),p={info:"info",success:"check-circle",warning:"warning",error:"close-circle"};e.computed(()=>a.icon||p[a.type]);const f=()=>{l.value=!1,s("update:visible",!1),s("close")};return e.watch(l,u=>{u&&a.duration>0&&setTimeout(()=>{f()},a.duration)}),t({close:f}),(u,_)=>o.visible?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["m-banner",[`m-banner--${o.type}`,{"m-banner--closable":o.closable,"m-banner--with-icon":o.icon||e.unref(r).icon}]]),style:e.normalizeStyle(c.value)},[e.createElementVNode("div",ke,[o.icon||e.unref(r).icon?(e.openBlock(),e.createElementBlock("div",Se,[e.renderSlot(u.$slots,"icon",{},()=>[e.createVNode(b,{name:o.icon,size:o.iconSize},null,8,["name","size"])],!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Ce,[e.renderSlot(u.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.content),1)],!0)]),o.closable?(e.openBlock(),e.createElementBlock("div",{key:1,class:"m-banner__close",onClick:f},[e.createVNode(b,{name:"lucide-x",size:o.closeIconSize},null,8,["size"])])):e.createCommentVNode("",!0)])],6)):e.createCommentVNode("",!0)}}),X=M(ve,[["__scopeId","data-v-00c80323"]]),$e={class:"m-tabs__header"},Be={class:"m-tabs__nav"},ye=["onClick"],Pe={class:"m-tabs__item-text"},we={key:1},Te=["onClick"],Ee={class:"m-tabs__content"},Oe={__name:"Tabs",props:{modelValue:{type:[String,Number],default:""},type:{type:String,default:"",validator:o=>["","card","border-card"].includes(o)},tabPosition:{type:String,default:"top",validator:o=>["top","right","bottom","left"].includes(o)},closable:{type:Boolean,default:!1},addable:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},stretch:{type:Boolean,default:!1},beforeLeave:{type:Function,default:null}},emits:["update:modelValue","tab-click","tab-change","tab-remove","tab-add","edit"],setup(o,{expose:t,emit:n}){const r=o,a=n;e.useSlots();const s=e.ref([]),l=e.ref(r.modelValue);e.watch(()=>r.modelValue,u=>{l.value=u}),e.watch(l,u=>{a("update:modelValue",u),a("tab-change",u)}),e.provide("tabsContext",{registerTab:u=>{const _=s.value.findIndex(d=>d.name===u.name);_>=0?s.value[_]=u:s.value.push(u),!l.value&&s.value.length>0&&(l.value=s.value[0].name||0)},unregisterTab:u=>{const _=s.value.findIndex(d=>d.name===u);_>=0&&s.value.splice(_,1)}});const c=(u,_)=>E(this,null,function*(){if(u.disabled)return;const d=u.name||_;if(l.value!==d){if(r.beforeLeave)try{if((yield r.beforeLeave(l.value,d))===!1)return}catch(g){return}l.value=d,a("tab-click",{name:d,index:_,disabled:u.disabled})}}),p=(u,_)=>{const d=u.name||_;a("tab-remove",d),a("edit",d,"remove")},f=()=>{a("tab-add"),a("edit","","add")};return t({activeName:e.computed(()=>l.value)}),(u,_)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["m-tabs",[`m-tabs--${o.type}`,`m-tabs--${o.tabPosition}`]])},[e.createElementVNode("div",$e,[e.createElementVNode("div",Be,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(d,g)=>{var B;return e.openBlock(),e.createElementBlock("div",{key:d.name||g,class:e.normalizeClass(["m-tabs__item",{"m-tabs__item--active":l.value===(d.name||g),"m-tabs__item--disabled":d.disabled,"m-tabs__item--closable":d.closable}]),onClick:se=>c(d,g)},[e.createElementVNode("span",Pe,[(B=d.$slots)!=null&&B.label?e.renderSlot(u.$slots,`tab-${d.name||g}`,{key:0},void 0,!0):(e.openBlock(),e.createElementBlock("span",we,e.toDisplayString(d.label),1))]),d.closable?(e.openBlock(),e.createElementBlock("span",{key:0,class:"m-tabs__item-close",onClick:e.withModifiers(se=>p(d,g),["stop"])},[e.createVNode(b,{name:"lucide-x",size:12})],8,Te)):e.createCommentVNode("",!0)],10,ye)}),128)),o.addable||o.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"m-tabs__item m-tabs__item--add",onClick:f},[e.createVNode(b,{name:"plus",size:12})])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Ee,[e.renderSlot(u.$slots,"default",{},void 0,!0)])],2))}},Y=M(Oe,[["__scopeId","data-v-23508d30"]]),Ne=Object.assign({name:"MTabPane"},{__name:"TabPane",props:{label:{type:String,default:""},disabled:{type:Boolean,default:!1},name:{type:[String,Number],default:""},closable:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1}},setup(o){const t=o,n=e.useSlots(),r=e.inject("tabsContext"),a=e.computed(()=>r?r.activeName===(t.name||r.tabIndex):!1);return e.onMounted(()=>{if(r){const s={name:t.name,label:t.label,disabled:t.disabled,closable:t.closable,$slots:n};r.registerTab(s)}}),e.onUnmounted(()=>{r&&r.unregisterTab(t.name)}),(s,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["m-tab-pane",{"m-tab-pane--active":a.value,"m-tab-pane--disabled":o.disabled}])},[e.renderSlot(s.$slots,"default",{},void 0,!0)],2)),[[e.vShow,a.value]])}}),K=M(Ne,[["__scopeId","data-v-722bb248"]]);function h(o){o&&o.classList&&o.classList.add("mc-ui-override")}function ee(o){o&&o.$el&&h(o.$el)}function te(){typeof document!="undefined"&&(document.body.classList.add("mc-ui-override"),new MutationObserver(t=>{t.forEach(n=>{n.addedNodes.forEach(r=>{if(r.nodeType===1&&r.classList){if(r.className&&r.className.includes("el-")){const s=r.closest(".mc-ui-override")||r.parentElement;s&&!s.classList.contains("mc-ui-override")&&s.classList.add("mc-ui-override")}r.querySelectorAll('[class*="el-"]').forEach(s=>{const l=s.closest(".mc-ui-override")||s.parentElement;l&&!l.classList.contains("mc-ui-override")&&l.classList.add("mc-ui-override")})}})})}).observe(document.body,{childList:!0,subtree:!0}))}function oe(o='[class*="el-"]'){typeof document!="undefined"&&document.querySelectorAll(o).forEach(n=>{const r=n.closest(".mc-ui-override")||n.parentElement;r&&!r.classList.contains("mc-ui-override")&&r.classList.add("mc-ui-override")})}function re(o){return T(C({},o),{mounted(){h(this.$el),o.mounted&&o.mounted.call(this)},updated(){h(this.$el),o.updated&&o.updated.call(this)}})}const Le=Object.freeze(Object.defineProperty({__proto__:null,addComponentOverride:ee,addOverrideClass:h,applyGlobalOverride:te,createOverrideComponent:re,forceRefreshStyles:oe},Symbol.toStringTag,{value:"Module"})),ne=[b,O,N,L,I,j,V,z,_e,ge,q,A,R,D,G,x,F,U,W,Z,H,J,Q,X,Y,K],i={};function Ie(o){const t=ne.map(n=>{if(n&&n.name&&typeof n.name=="string"){let r=n.name.toLowerCase();return{mradiogroup:"m-radio-group",mradiobutton:"m-radio-button",mformitem:"m-form-item",moptiongroup:"m-option-group"}[r]||r.replace(/^m/,"m-")}return null}).filter(Boolean);Object.entries($).forEach(([n,r])=>{if(r&&r.name&&typeof r.name=="string"&&r.name.startsWith("El")){const a="m-"+r.name.slice(2).replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,"");t.includes(a)||o._context.components[a]||o.component(a,r);const s="M"+r.name.slice(2);i[s]=r}})}const je=o=>{typeof window!="undefined"&&Promise.resolve().then(()=>Le).then(({applyGlobalOverride:t})=>{t()}),ne.forEach(t=>{if(t&&t.name&&typeof t.name=="string"){let n=t.name.toLowerCase();n={mradiogroup:"m-radio-group",mradiobutton:"m-radio-button",mformitem:"m-form-item",moptiongroup:"m-option-group"}[n]||n.replace(/^m/,"m-"),o.component(n,t)}}),Ie(o)},Ve={install:je},ze=$.ElMessage,qe=$.ElMessageBox,Ae=C({},i),Re=i.MButtonGroup,De=i.MBreadcrumb,Ge=i.MBreadcrumbItem,xe=i.MCarousel,Fe=i.MCarouselItem,Ue=i.MCascader,We=i.MCascaderPanel,Ze=i.MCheckTag,He=i.MCalendar,Je=i.MTimePicker,Qe=i.MDateTimePicker,Xe=i.MColorPicker,Ye=i.MTransfer,Ke=i.MTree,et=i.MTreeSelect,tt=i.MUpload,ot=i.MImage,rt=i.MImageViewer,nt=i.MBacktop,st=i.MInfiniteScroll,at=i.MAffix,lt=i.MScrollbar,ct=i.MResult,it=i.MSkeleton,ut=i.MLoading,dt=i.MSpinner,mt=i.MProgress,pt=i.MBadge,ft=i.MAvatar,_t=i.MImagePreview,gt=i.MTeleport,bt=i.MConfigProvider;exports.MAffix=at;exports.MAlert=F;exports.MAvatar=ft;exports.MBacktop=nt;exports.MBadge=pt;exports.MBanner=X;exports.MBreadcrumb=De;exports.MBreadcrumbItem=Ge;exports.MButton=O;exports.MButtonGroup=Re;exports.MCalendar=He;exports.MCard=N;exports.MCarousel=xe;exports.MCarouselItem=Fe;exports.MCascader=Ue;exports.MCascaderPanel=We;exports.MCheckTag=Ze;exports.MColorPicker=Xe;exports.MConfigProvider=bt;exports.MDatePicker=Z;exports.MDateTimePicker=Qe;exports.MDialog=U;exports.MEmpty=H;exports.MForm=I;exports.MFormItem=j;exports.MIcon=b;exports.MImage=ot;exports.MImagePreview=_t;exports.MImageViewer=rt;exports.MInfiniteScroll=st;exports.MInput=L;exports.MLoading=ut;exports.MMessage=ze;exports.MMessageBox=qe;exports.MNotification=W;exports.MPagination=q;exports.MProgress=mt;exports.MRadio=A;exports.MRadioButton=D;exports.MRadioGroup=R;exports.MResult=ct;exports.MScrollbar=lt;exports.MSelect=z;exports.MSkeleton=it;exports.MSpinner=dt;exports.MSwitch=G;exports.MTabPane=K;exports.MTable=J;exports.MTableColumn=Q;exports.MTabs=Y;exports.MTag=x;exports.MTeleport=gt;exports.MTimePicker=Je;exports.MTooltip=V;exports.MTransfer=Ye;exports.MTree=Ke;exports.MTreeSelect=et;exports.MUpload=tt;exports.addComponentOverride=ee;exports.addOverrideClass=h;exports.applyGlobalOverride=te;exports.createOverrideComponent=re;exports.default=Ve;exports.forceRefreshStyles=oe;exports.mComponents=Ae;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|