ninemoon-ui 0.0.27 → 0.1.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/assets/dialog-a1b585e9.css +9 -0
- package/dist/assets/index-6d2c28a9.css +1210 -0
- package/dist/{tabs.css → assets/tabs-d2c8965f.css} +3 -3
- package/dist/components/alert/alert.d.ts +3 -11
- package/dist/components/alert/alertcomponent.vue.d.ts +22 -11
- package/dist/components/badge/badge.vue.d.ts +2 -0
- package/dist/components/carousel/carousel.vue.d.ts +29 -3
- package/dist/components/{tree/tree.vue.d.ts → carousel/clickbutton.vue.d.ts} +6 -19
- package/dist/components/check/checkbox.vue.d.ts +24 -16
- package/dist/components/check/checkgroup.vue.d.ts +15 -3
- package/dist/components/date/datepicker.vue.d.ts +28 -6
- package/dist/components/date/datepickerRange.vue.d.ts +15 -4
- package/dist/components/form/form.vue.d.ts +7 -20
- package/dist/components/form/formlabel.vue.d.ts +3 -3
- package/dist/components/form/type.d.ts +11 -0
- package/dist/components/icon/add.vue.d.ts +2 -0
- package/dist/components/icon/alertTip.vue.d.ts +2 -0
- package/dist/components/icon/arrow.vue.d.ts +2 -0
- package/dist/components/icon/calendar.vue.d.ts +2 -0
- package/dist/components/icon/close.vue.d.ts +2 -0
- package/dist/components/icon/dateArrow.vue.d.ts +2 -0
- package/dist/components/icon/dateArrowplus.vue.d.ts +2 -0
- package/dist/components/icon/delete.vue.d.ts +2 -0
- package/dist/components/icon/ellipsis.vue.d.ts +2 -0
- package/dist/components/icon/errTip.vue.d.ts +2 -0
- package/dist/components/icon/eye.vue.d.ts +2 -0
- package/dist/components/icon/infoTip.vue.d.ts +2 -0
- package/dist/components/icon/minus.vue.d.ts +2 -0
- package/dist/components/icon/successTip.vue.d.ts +2 -0
- package/dist/components/icon/turnleft.vue.d.ts +2 -0
- package/dist/components/icon/turnright.vue.d.ts +2 -0
- package/dist/components/icon/warnTip.vue.d.ts +2 -0
- package/dist/components/input/input.vue.d.ts +13 -8
- package/dist/components/loadding/loadcomponent.vue.d.ts +24 -4
- package/dist/components/loadding/loadding.d.ts +12 -19
- package/dist/components/menu/menu.vue.d.ts +13 -3
- package/dist/components/message/message.d.ts +68 -14
- package/dist/components/message/messagecomponent.vue.d.ts +5 -13
- package/dist/components/numberInput/numberinput.vue.d.ts +3 -3
- package/dist/components/pagination/pagination.vue.d.ts +24 -0
- package/dist/components/popover/poparrow.d.ts +55 -0
- package/dist/components/popover/popover.vue.d.ts +10 -4
- package/dist/components/radio/radiobox.vue.d.ts +24 -16
- package/dist/components/radio/radiogroup.vue.d.ts +15 -3
- package/dist/components/scrollBar/movebar.vue.d.ts +2 -2
- package/dist/components/scrollBar/scrollBar.vue.d.ts +12 -16
- package/dist/components/scrollloading/scrolllead.d.ts +18 -11
- package/dist/components/select/select.vue.d.ts +15 -1
- package/dist/components/select/selectoption.vue.d.ts +18 -6
- package/dist/components/switch/switch.vue.d.ts +14 -14
- package/dist/components/table/table.vue.d.ts +20 -9
- package/dist/components/table/tableItem.vue.d.ts +10 -4
- package/dist/components/tabs/tabs.vue.d.ts +14 -1
- package/dist/directives/arrowKeys.d.ts +10 -0
- package/dist/directives/drag.d.ts +20 -0
- package/dist/directives/escape.d.ts +7 -0
- package/dist/directives/outsideclick.d.ts +14 -0
- package/dist/directives/watchwindow.d.ts +13 -0
- package/dist/directives/wheel.d.ts +12 -0
- package/dist/directives/whitespaceclick.d.ts +12 -0
- package/dist/index.d.ts +831 -401
- package/dist/js/arrow-ebe47bd0.js +17 -0
- package/dist/js/{badge/badge.js → badge-496028b6.js} +9 -16
- package/dist/js/calendar-5c242731.js +87 -0
- package/dist/js/carousel-10621aeb.js +155 -0
- package/dist/js/{carousel/carouselitem.js → carouselitem-89116745.js} +1 -7
- package/dist/js/checkbox-530025c4.js +50 -0
- package/dist/js/checkgroup-e4e6adbc.js +58 -0
- package/dist/js/dateArrowplus-8181993f.js +25 -0
- package/dist/js/datepicker-ef8b7019.js +362 -0
- package/dist/js/datepickerRange-4c400f88.js +500 -0
- package/dist/js/delete-e898f83c.js +19 -0
- package/dist/js/dialog-0127ca01.js +122 -0
- package/dist/js/form-6ae96387.js +79 -0
- package/dist/js/formlabel-9339bd1c.js +136 -0
- package/dist/js/image-76711716.js +300 -0
- package/dist/js/index-283810a0.js +6261 -0
- package/dist/js/index-b4e420ce.js +958 -0
- package/dist/js/index-e12c8d65.js +36 -0
- package/dist/js/input-11fe67a5.js +107 -0
- package/dist/js/menu-fb9b4a4f.js +86 -0
- package/dist/js/numberinput-00fa4429.js +119 -0
- package/dist/js/pagination-3bcaa109.js +203 -0
- package/dist/js/popover-45f75f86.js +345 -0
- package/dist/js/radiobox-8f11e726.js +49 -0
- package/dist/js/radiogroup-727923c7.js +33 -0
- package/dist/js/scrollBar-07906042.js +252 -0
- package/dist/js/select-b5bbb138.js +203 -0
- package/dist/js/selectoption-00c8f06d.js +57 -0
- package/dist/js/shapeFlag-8cf4bcf1.js +17 -0
- package/dist/js/switch-06ae74cc.js +50 -0
- package/dist/js/table-9bb52630.js +270 -0
- package/dist/js/{table/tableItem.js → tableItem-7d8bf2db.js} +1 -1
- package/dist/js/{tabs/tabs.js → tabs-9d7be734.js} +57 -59
- package/dist/js/{upload/upload.js → upload-16dbef22.js} +8 -23
- package/dist/types/shapeFlag.d.ts +13 -0
- package/dist/{components/utils → utils}/tool.d.ts +11 -4
- package/package.json +1 -1
- package/dist/badge.css +0 -27
- package/dist/carousel.css +0 -13
- package/dist/checkgroup.css +0 -41
- package/dist/datepickerRange.css +0 -79
- package/dist/image.css +0 -8
- package/dist/index.css +0 -897
- package/dist/index.es.js +0 -37
- package/dist/index.umd.js +0 -6006
- package/dist/js/carousel/carousel.js +0 -171
- package/dist/js/check/checkbox.js +0 -16
- package/dist/js/check/checkgroup.js +0 -69
- package/dist/js/date/datepicker.js +0 -366
- package/dist/js/date/datepickerRange.js +0 -589
- package/dist/js/dialog/dialog.js +0 -138
- package/dist/js/form/form.js +0 -87
- package/dist/js/form/formlabel.js +0 -167
- package/dist/js/getcalendar/getcalendar.js +0 -48
- package/dist/js/image/image.js +0 -250
- package/dist/js/index/index.js +0 -860
- package/dist/js/input/input.js +0 -90
- package/dist/js/menu/menu.js +0 -59
- package/dist/js/numberInput/numberinput.js +0 -127
- package/dist/js/pagination/pagination.js +0 -234
- package/dist/js/popover/popover.js +0 -241
- package/dist/js/radio/radiobox.js +0 -16
- package/dist/js/radio/radiogroup.js +0 -69
- package/dist/js/scrollBar/scrollBar.js +0 -208
- package/dist/js/select/select.js +0 -118
- package/dist/js/select/selectoption.js +0 -16
- package/dist/js/switch/switch.js +0 -50
- package/dist/js/table/table.js +0 -216
- package/dist/js/tree/tree.js +0 -72
- package/dist/js/tree/treeleaf.js +0 -116
- package/dist/radiogroup.css +0 -44
- package/dist/scrollBar.css +0 -37
- package/dist/select.css +0 -20
- /package/dist/js/{tabs/tabsPane.js → tabsPane-f024a6bf.js} +0 -0
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
content: string;
|
|
5
|
-
sureword: string;
|
|
6
|
-
cancelword: string;
|
|
7
|
-
bgshow?: boolean;
|
|
8
|
-
[key: symbol]: any;
|
|
9
|
-
}
|
|
10
|
-
declare const AlertCom: (options: DefaultOption, callback?: Function) => Promise<unknown> | undefined;
|
|
11
|
-
export default AlertCom;
|
|
1
|
+
import { alertOption } from '../../types/types';
|
|
2
|
+
|
|
3
|
+
export default function AlertFunction(alertoptions: alertOption): Promise<void>;
|
|
@@ -1,12 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { alertOption } from '../../types/types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<alertOption & {
|
|
4
|
+
onClose: Function;
|
|
5
|
+
onConfirm: Function;
|
|
6
|
+
showAlert: boolean;
|
|
7
|
+
}>>, {
|
|
8
|
+
setVisible: (value: boolean) => void;
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<alertOption & {
|
|
10
|
+
onClose: Function;
|
|
11
|
+
onConfirm: Function;
|
|
12
|
+
showAlert: boolean;
|
|
13
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
14
|
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -5,6 +5,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
5
5
|
value: number | string;
|
|
6
6
|
max?: number | string;
|
|
7
7
|
placement?: "rightTop" | "right";
|
|
8
|
+
customClass?: string;
|
|
8
9
|
}>, {
|
|
9
10
|
max: number;
|
|
10
11
|
placement: string;
|
|
@@ -12,6 +13,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
12
13
|
value: number | string;
|
|
13
14
|
max?: number | string;
|
|
14
15
|
placement?: "rightTop" | "right";
|
|
16
|
+
customClass?: string;
|
|
15
17
|
}>, {
|
|
16
18
|
max: number;
|
|
17
19
|
placement: string;
|
|
@@ -1,8 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
import { MyVNode } from '../../types/types';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): Readonly<{
|
|
4
|
+
default: () => MyVNode[];
|
|
5
|
+
}> & {
|
|
6
|
+
default: () => MyVNode[];
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
9
|
height?: number;
|
|
3
|
-
|
|
10
|
+
holdstop?: boolean;
|
|
11
|
+
startindex?: number;
|
|
12
|
+
}>, {
|
|
13
|
+
holdstop: boolean;
|
|
14
|
+
startindex: number;
|
|
15
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
16
|
height?: number;
|
|
5
|
-
|
|
17
|
+
holdstop?: boolean;
|
|
18
|
+
startindex?: number;
|
|
19
|
+
}>, {
|
|
20
|
+
holdstop: boolean;
|
|
21
|
+
startindex: number;
|
|
22
|
+
}>>> & Readonly<{}>, {
|
|
23
|
+
holdstop: boolean;
|
|
24
|
+
startindex: number;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
27
|
export default _default;
|
|
7
28
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
29
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -21,3 +42,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
21
42
|
type __VLS_Prettify<T> = {
|
|
22
43
|
[K in keyof T]: T[K];
|
|
23
44
|
} & {};
|
|
45
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -1,26 +1,13 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
|
|
3
|
-
defaultExpandAll?: boolean;
|
|
4
|
-
lazy?: boolean;
|
|
5
|
-
defaultCheckedKeys?: Array<string | number>;
|
|
6
|
-
nodeKey: string;
|
|
2
|
+
position?: "left" | "right";
|
|
7
3
|
}>, {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
getCheckedKeys: (leafOnly?: boolean) => any[];
|
|
12
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
data: Array<any>;
|
|
14
|
-
defaultExpandAll?: boolean;
|
|
15
|
-
lazy?: boolean;
|
|
16
|
-
defaultCheckedKeys?: Array<string | number>;
|
|
17
|
-
nodeKey: string;
|
|
4
|
+
position: string;
|
|
5
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
position?: "left" | "right";
|
|
18
7
|
}>, {
|
|
19
|
-
|
|
20
|
-
lazy: boolean;
|
|
8
|
+
position: string;
|
|
21
9
|
}>>> & Readonly<{}>, {
|
|
22
|
-
|
|
23
|
-
defaultExpandAll: boolean;
|
|
10
|
+
position: "left" | "right";
|
|
24
11
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
12
|
export default _default;
|
|
26
13
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,14 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
1
|
+
type CheckboxValue = string | number | symbol;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
label: CheckboxValue;
|
|
4
|
+
value: CheckboxValue;
|
|
5
|
+
modelValue?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
button?: boolean;
|
|
8
|
+
}>, {
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
label: CheckboxValue;
|
|
14
|
+
value: CheckboxValue;
|
|
15
|
+
modelValue?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
button?: boolean;
|
|
18
|
+
}>, {
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
}>>> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
25
|
export default _default;
|
|
13
26
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
27
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -27,8 +40,3 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
27
40
|
type __VLS_Prettify<T> = {
|
|
28
41
|
[K in keyof T]: T[K];
|
|
29
42
|
} & {};
|
|
30
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
-
new (): {
|
|
32
|
-
$slots: S;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type CheckboxValue = string | number | symbol;
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
modelValue: Array<CheckboxValue>;
|
|
3
7
|
showinput?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
4
9
|
}>, {
|
|
5
10
|
showinput: boolean;
|
|
6
11
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
12
|
change: (...args: any[]) => void;
|
|
8
13
|
"update:modelValue": (...args: any[]) => void;
|
|
9
14
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
modelValue: Array<
|
|
15
|
+
modelValue: Array<CheckboxValue>;
|
|
11
16
|
showinput?: boolean;
|
|
17
|
+
disabled?: boolean;
|
|
12
18
|
}>, {
|
|
13
19
|
showinput: boolean;
|
|
14
20
|
}>>> & Readonly<{
|
|
@@ -17,6 +23,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
17
23
|
}>, {
|
|
18
24
|
showinput: boolean;
|
|
19
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
20
27
|
export default _default;
|
|
21
28
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
29
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -35,3 +42,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
35
42
|
type __VLS_Prettify<T> = {
|
|
36
43
|
[K in keyof T]: T[K];
|
|
37
44
|
} & {};
|
|
45
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -1,14 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
modelValue: string | Date;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue: string | Date | null;
|
|
3
3
|
type?: string;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
disabledDate?: (params: any) => boolean;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
size?: "large" | "default" | "small";
|
|
8
|
+
}>, {
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
size: string;
|
|
12
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
13
|
change: (...args: any[]) => void;
|
|
7
14
|
"update:modelValue": (...args: any[]) => void;
|
|
8
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
modelValue: string | Date | null;
|
|
17
|
+
type?: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
disabledDate?: (params: any) => boolean;
|
|
20
|
+
placeholder?: string;
|
|
21
|
+
size?: "large" | "default" | "small";
|
|
22
|
+
}>, {
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
size: string;
|
|
26
|
+
}>>> & Readonly<{
|
|
9
27
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
10
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
}>, {
|
|
29
|
+
}>, {
|
|
30
|
+
size: "large" | "default" | "small";
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
placeholder: string;
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
34
|
export default _default;
|
|
13
35
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
36
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,11 +1,22 @@
|
|
|
1
|
+
type AllowedType = null | string | Date;
|
|
1
2
|
type daterangeType = {
|
|
2
|
-
modelValue:
|
|
3
|
+
modelValue: [AllowedType, AllowedType];
|
|
4
|
+
startPlaceholder?: string;
|
|
5
|
+
endPlaceholder?: string;
|
|
6
|
+
disabledDate?: (params: any) => boolean;
|
|
7
|
+
size?: "large" | "default" | "small";
|
|
3
8
|
};
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<daterangeType>, {
|
|
9
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<daterangeType>, {
|
|
10
|
+
size: string;
|
|
11
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
12
|
"update:modelValue": (...args: any[]) => void;
|
|
6
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<daterangeType>, {
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<daterangeType>, {
|
|
14
|
+
size: string;
|
|
15
|
+
}>>> & Readonly<{
|
|
7
16
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
}>, {
|
|
17
|
+
}>, {
|
|
18
|
+
size: "large" | "default" | "small";
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
20
|
export default _default;
|
|
10
21
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
22
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,34 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
message?: string;
|
|
4
|
-
trigger?: string;
|
|
5
|
-
validator?: Function;
|
|
6
|
-
min?: number;
|
|
7
|
-
max?: number;
|
|
8
|
-
type?: string;
|
|
9
|
-
};
|
|
10
|
-
type ruleType = {
|
|
11
|
-
[key: string]: Array<ruledetail>;
|
|
12
|
-
};
|
|
13
|
-
type modelType = {
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
};
|
|
1
|
+
import { FormRules, FormModel } from './type';
|
|
2
|
+
|
|
16
3
|
declare function __VLS_template(): {
|
|
17
4
|
default?(_: {}): any;
|
|
18
5
|
};
|
|
19
6
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
-
rule?:
|
|
21
|
-
model:
|
|
7
|
+
rule?: FormRules;
|
|
8
|
+
model: FormModel;
|
|
22
9
|
inline?: boolean;
|
|
23
10
|
}>, {
|
|
24
11
|
inline: boolean;
|
|
25
12
|
}>>, {
|
|
26
|
-
validate: (callBack:
|
|
13
|
+
validate: (callBack: (isValid: boolean) => void) => Promise<boolean>;
|
|
27
14
|
validateField: (propname: string, callBack: Function) => Promise<void>;
|
|
28
15
|
resetField: () => void;
|
|
29
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
30
|
-
rule?:
|
|
31
|
-
model:
|
|
17
|
+
rule?: FormRules;
|
|
18
|
+
model: FormModel;
|
|
32
19
|
inline?: boolean;
|
|
33
20
|
}>, {
|
|
34
21
|
inline: boolean;
|
|
@@ -4,17 +4,17 @@ declare function __VLS_template(): {
|
|
|
4
4
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
label?: string;
|
|
6
6
|
prop?: string;
|
|
7
|
-
inline?: boolean
|
|
7
|
+
inline?: boolean;
|
|
8
8
|
width?: number;
|
|
9
9
|
}>, {
|
|
10
10
|
width: number;
|
|
11
11
|
inline: undefined;
|
|
12
12
|
}>>, {
|
|
13
|
-
validateLabel: (callBack
|
|
13
|
+
validateLabel: (callBack?: Function, eventName?: string) => Promise<void>;
|
|
14
14
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
15
|
label?: string;
|
|
16
16
|
prop?: string;
|
|
17
|
-
inline?: boolean
|
|
17
|
+
inline?: boolean;
|
|
18
18
|
width?: number;
|
|
19
19
|
}>, {
|
|
20
20
|
width: number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type ruledetail = {
|
|
2
|
+
required?: boolean;
|
|
3
|
+
message?: string;
|
|
4
|
+
trigger?: string;
|
|
5
|
+
validator?: Function;
|
|
6
|
+
min?: number;
|
|
7
|
+
max?: number;
|
|
8
|
+
type?: string;
|
|
9
|
+
};
|
|
10
|
+
export type FormRules = Record<string, ruledetail[]>;
|
|
11
|
+
export type FormModel = Record<string, any>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -14,32 +14,37 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
14
14
|
type?: string;
|
|
15
15
|
placeHolder?: string;
|
|
16
16
|
clearable?: boolean;
|
|
17
|
+
size?: "large" | "default" | "small";
|
|
17
18
|
}>, {
|
|
18
19
|
modelValue: null;
|
|
19
20
|
type: string;
|
|
20
21
|
clearable: boolean;
|
|
22
|
+
size: string;
|
|
21
23
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
-
|
|
23
|
-
blur: (
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
"update:modelValue": (value: string | number | null) => void;
|
|
25
|
+
blur: (value: string | number | null) => void;
|
|
26
|
+
input: (value: string | number | null) => void;
|
|
27
|
+
change: (value: string | number | null) => void;
|
|
26
28
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
27
29
|
modelValue: any;
|
|
28
30
|
modelModifiers?: modifier;
|
|
29
31
|
type?: string;
|
|
30
32
|
placeHolder?: string;
|
|
31
33
|
clearable?: boolean;
|
|
34
|
+
size?: "large" | "default" | "small";
|
|
32
35
|
}>, {
|
|
33
36
|
modelValue: null;
|
|
34
37
|
type: string;
|
|
35
38
|
clearable: boolean;
|
|
39
|
+
size: string;
|
|
36
40
|
}>>> & Readonly<{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"onUpdate:modelValue"?: ((
|
|
41
|
+
onBlur?: ((value: string | number | null) => any) | undefined;
|
|
42
|
+
onChange?: ((value: string | number | null) => any) | undefined;
|
|
43
|
+
onInput?: ((value: string | number | null) => any) | undefined;
|
|
44
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
41
45
|
}>, {
|
|
42
46
|
type: string;
|
|
47
|
+
size: "large" | "default" | "small";
|
|
43
48
|
modelValue: any;
|
|
44
49
|
clearable: boolean;
|
|
45
50
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,25 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
|
|
3
|
-
fullScreen:
|
|
4
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
loadingText: string;
|
|
3
|
+
fullScreen: boolean;
|
|
4
|
+
}>, {}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
loadingText: string;
|
|
6
|
+
fullScreen: boolean;
|
|
7
|
+
}>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
8
|
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type __VLS_WithDefaults<P, D> = {
|
|
19
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
20
|
+
default: D[K];
|
|
21
|
+
}> : P[K];
|
|
22
|
+
};
|
|
23
|
+
type __VLS_Prettify<T> = {
|
|
24
|
+
[K in keyof T]: T[K];
|
|
25
|
+
} & {};
|
|
@@ -1,23 +1,16 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from 'vue';
|
|
1
|
+
import { ComponentPublicInstance, DirectiveBinding } from 'vue';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
type loadhtml = {
|
|
13
|
-
instance: {
|
|
14
|
-
loaddingWord: string;
|
|
15
|
-
fullScreen: boolean;
|
|
16
|
-
} & ComponentPublicInstance;
|
|
17
|
-
} & HTMLElement;
|
|
3
|
+
interface LoadingComponentInstance extends ComponentPublicInstance {
|
|
4
|
+
loadingText: string;
|
|
5
|
+
fullScreen: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface LoadingDirectiveElement extends HTMLElement {
|
|
8
|
+
__loading_instance__?: LoadingComponentInstance;
|
|
9
|
+
__original_display__?: string;
|
|
10
|
+
}
|
|
18
11
|
declare const _default: {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
mounted(el: LoadingDirectiveElement, binding: DirectiveBinding<boolean>): void;
|
|
13
|
+
updated(el: LoadingDirectiveElement, binding: DirectiveBinding<boolean>): void;
|
|
14
|
+
beforeUnmount(el: LoadingDirectiveElement): void;
|
|
22
15
|
};
|
|
23
16
|
export default _default;
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
menulist: Array<string>;
|
|
3
|
-
|
|
3
|
+
activeIndex: number;
|
|
4
|
+
}>, {
|
|
5
|
+
activeIndex: number;
|
|
6
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
7
|
updatemenu: (...args: any[]) => void;
|
|
8
|
+
"update:activeIndex": (...args: any[]) => void;
|
|
5
9
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
10
|
menulist: Array<string>;
|
|
7
|
-
|
|
11
|
+
activeIndex: number;
|
|
12
|
+
}>, {
|
|
13
|
+
activeIndex: number;
|
|
14
|
+
}>>> & Readonly<{
|
|
8
15
|
onUpdatemenu?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
|
|
16
|
+
"onUpdate:activeIndex"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
activeIndex: number;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
20
|
export default _default;
|
|
11
21
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
22
|
type __VLS_TypePropsToRuntimeProps<T> = {
|