ninemoon-ui 0.1.20 → 0.2.1
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/carousel/carousel.vue.d.ts +2 -0
- package/dist/components/date/datepicker.vue.d.ts +1 -1
- package/dist/components/date/datepickerRange.vue.d.ts +16 -0
- package/dist/components/form/formlabel.vue.d.ts +1 -3
- package/dist/components/pagination/pagination.vue.d.ts +8 -15
- package/dist/components/popover/popover.vue.d.ts +5 -0
- package/dist/components/switch/switch.vue.d.ts +10 -0
- package/dist/components/upload/upload.vue.d.ts +5 -0
- package/dist/index.d.ts +139 -61
- package/dist/index.es.js +21 -21
- package/dist/js/arrow/arrow.js +2 -2
- package/dist/js/badge/badge.js +1 -1
- package/dist/js/calendar/calendar.js +4 -4
- package/dist/js/carousel/carousel.js +59 -38
- package/dist/js/check/checkbox.js +4 -4
- package/dist/js/date/datepicker.js +20 -8
- package/dist/js/date/datepickerRange.js +104 -69
- package/dist/js/dateArrowplus/dateArrowplus.js +2 -2
- package/dist/js/delete/delete.js +2 -2
- package/dist/js/dialog/dialog.js +41 -29
- package/dist/js/form/formlabel.js +21 -89
- package/dist/js/image/image.js +17 -18
- package/dist/js/index/index.js +273 -253
- package/dist/js/input/input.js +8 -8
- package/dist/js/menu/menu.js +1 -1
- package/dist/js/numberInput/numberinput.js +8 -8
- package/dist/js/pagination/pagination.js +17 -14
- package/dist/js/popover/popover.js +3 -239
- package/dist/js/popover.vue_vue_type_script_setup_true_lang/popover.vue_vue_type_script_setup_true_lang.js +249 -0
- package/dist/js/radio/radiobox.js +4 -4
- package/dist/js/scrollBar/scrollBar.js +4 -4
- package/dist/js/select/select.js +5 -5
- package/dist/js/select/selectoption.js +3 -3
- package/dist/js/switch/switch.js +33 -7
- package/dist/js/table/table.js +107 -77
- package/dist/js/table/tableItem.js +2 -2
- package/dist/js/tabs/tabs.js +202 -21
- package/dist/js/upload/upload.js +57 -12
- package/dist/utils/tool.d.ts +5 -0
- package/package.json +5 -2
|
@@ -6,6 +6,7 @@ declare function __VLS_template(): Readonly<{
|
|
|
6
6
|
default: () => MyVNode[];
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
width?: number | string;
|
|
9
10
|
height?: number;
|
|
10
11
|
holdstop?: boolean;
|
|
11
12
|
startindex?: number;
|
|
@@ -13,6 +14,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
13
14
|
holdstop: boolean;
|
|
14
15
|
startindex: number;
|
|
15
16
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
width?: number | string;
|
|
16
18
|
height?: number;
|
|
17
19
|
holdstop?: boolean;
|
|
18
20
|
startindex?: number;
|
|
@@ -27,9 +27,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
27
27
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
|
+
placeholder: string;
|
|
30
31
|
size: "large" | "default" | "small" | "mini";
|
|
31
32
|
disabled: boolean;
|
|
32
|
-
placeholder: string;
|
|
33
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
34
34
|
export default _default;
|
|
35
35
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -5,17 +5,33 @@ type daterangeType = {
|
|
|
5
5
|
endPlaceholder?: string;
|
|
6
6
|
disabledDate?: (params: any) => boolean;
|
|
7
7
|
size?: "large" | "default" | "small" | "mini";
|
|
8
|
+
separetor?: string;
|
|
9
|
+
width?: string | number;
|
|
8
10
|
};
|
|
9
11
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<daterangeType>, {
|
|
10
12
|
size: string;
|
|
13
|
+
startPlaceholder: string;
|
|
14
|
+
endPlaceholder: string;
|
|
15
|
+
separetor: string;
|
|
16
|
+
width: string;
|
|
11
17
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
change: (...args: any[]) => void;
|
|
12
19
|
"update:modelValue": (...args: any[]) => void;
|
|
13
20
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<daterangeType>, {
|
|
14
21
|
size: string;
|
|
22
|
+
startPlaceholder: string;
|
|
23
|
+
endPlaceholder: string;
|
|
24
|
+
separetor: string;
|
|
25
|
+
width: string;
|
|
15
26
|
}>>> & Readonly<{
|
|
27
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
16
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
17
29
|
}>, {
|
|
30
|
+
width: string | number;
|
|
18
31
|
size: "large" | "default" | "small" | "mini";
|
|
32
|
+
startPlaceholder: string;
|
|
33
|
+
endPlaceholder: string;
|
|
34
|
+
separetor: string;
|
|
19
35
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
36
|
export default _default;
|
|
21
37
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -13,9 +13,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
13
13
|
inline: undefined;
|
|
14
14
|
showRequire: boolean;
|
|
15
15
|
labelPosition: undefined;
|
|
16
|
-
}>>, {
|
|
17
|
-
validateLabel: (callBack?: Function, eventName?: string) => Promise<void>;
|
|
18
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
17
|
label?: string;
|
|
20
18
|
prop?: string;
|
|
21
19
|
inline?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
sizeArr?: Array<number>;
|
|
3
3
|
total: number;
|
|
4
4
|
hideOnSinglePage?: boolean;
|
|
@@ -6,7 +6,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
6
6
|
activeSize?: number;
|
|
7
7
|
visibleRange?: number;
|
|
8
8
|
edgeVisibleCount?: number;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
11
|
hideOnSinglePage: boolean;
|
|
11
12
|
currentPage: number;
|
|
12
13
|
activeSize: number;
|
|
@@ -15,17 +16,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
15
16
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
17
|
"size-change": (...args: any[]) => void;
|
|
17
18
|
"current-change": (...args: any[]) => void;
|
|
18
|
-
"update:
|
|
19
|
-
"update:
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
|
-
sizeArr?: Array<number>;
|
|
22
|
-
total: number;
|
|
23
|
-
hideOnSinglePage?: boolean;
|
|
24
|
-
currentPage?: number;
|
|
25
|
-
activeSize?: number;
|
|
26
|
-
visibleRange?: number;
|
|
27
|
-
edgeVisibleCount?: number;
|
|
28
|
-
}>, {
|
|
19
|
+
"update:current-page": (...args: any[]) => void;
|
|
20
|
+
"update:active-size": (...args: any[]) => void;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
29
22
|
hideOnSinglePage: boolean;
|
|
30
23
|
currentPage: number;
|
|
31
24
|
activeSize: number;
|
|
@@ -34,8 +27,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
34
27
|
}>>> & Readonly<{
|
|
35
28
|
"onSize-change"?: ((...args: any[]) => any) | undefined;
|
|
36
29
|
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
"onUpdate:
|
|
38
|
-
"onUpdate:
|
|
30
|
+
"onUpdate:current-page"?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
"onUpdate:active-size"?: ((...args: any[]) => any) | undefined;
|
|
39
32
|
}>, {
|
|
40
33
|
hideOnSinglePage: boolean;
|
|
41
34
|
currentPage: number;
|
|
@@ -12,10 +12,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
12
12
|
modelValue?: boolean;
|
|
13
13
|
beforebgcolor?: string;
|
|
14
14
|
arrowshow?: boolean;
|
|
15
|
+
renderType?: "show" | "if";
|
|
15
16
|
}>, {
|
|
16
17
|
trigger: string;
|
|
17
18
|
placement: string;
|
|
18
19
|
arrowshow: boolean;
|
|
20
|
+
renderType: string;
|
|
19
21
|
}>>, {
|
|
20
22
|
hideHandle: (disablecancelflag?: boolean) => void;
|
|
21
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -29,16 +31,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
29
31
|
modelValue?: boolean;
|
|
30
32
|
beforebgcolor?: string;
|
|
31
33
|
arrowshow?: boolean;
|
|
34
|
+
renderType?: "show" | "if";
|
|
32
35
|
}>, {
|
|
33
36
|
trigger: string;
|
|
34
37
|
placement: string;
|
|
35
38
|
arrowshow: boolean;
|
|
39
|
+
renderType: string;
|
|
36
40
|
}>>> & Readonly<{
|
|
37
41
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
38
42
|
}>, {
|
|
39
43
|
placement: PlacementType;
|
|
40
44
|
trigger: "click" | "hover" | "native";
|
|
41
45
|
arrowshow: boolean;
|
|
46
|
+
renderType: "show" | "if";
|
|
42
47
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
43
48
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
44
49
|
export default _default;
|
|
@@ -4,10 +4,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4
4
|
checkedColor?: string;
|
|
5
5
|
uncheckedColor?: string;
|
|
6
6
|
modelValue: boolean;
|
|
7
|
+
width?: string | number;
|
|
8
|
+
height?: string | number;
|
|
7
9
|
}>, {
|
|
8
10
|
checkedColor: string;
|
|
9
11
|
uncheckedColor: string;
|
|
10
12
|
modelValue: boolean;
|
|
13
|
+
width: string;
|
|
14
|
+
height: string;
|
|
11
15
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
16
|
"update:modelValue": (...args: any[]) => void;
|
|
13
17
|
switchChange: (...args: any[]) => void;
|
|
@@ -17,14 +21,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
17
21
|
checkedColor?: string;
|
|
18
22
|
uncheckedColor?: string;
|
|
19
23
|
modelValue: boolean;
|
|
24
|
+
width?: string | number;
|
|
25
|
+
height?: string | number;
|
|
20
26
|
}>, {
|
|
21
27
|
checkedColor: string;
|
|
22
28
|
uncheckedColor: string;
|
|
23
29
|
modelValue: boolean;
|
|
30
|
+
width: string;
|
|
31
|
+
height: string;
|
|
24
32
|
}>>> & Readonly<{
|
|
25
33
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
34
|
onSwitchChange?: ((...args: any[]) => any) | undefined;
|
|
27
35
|
}>, {
|
|
36
|
+
width: string | number;
|
|
37
|
+
height: string | number;
|
|
28
38
|
modelValue: boolean;
|
|
29
39
|
checkedColor: string;
|
|
30
40
|
uncheckedColor: string;
|
|
@@ -8,11 +8,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
8
8
|
fileList?: Array<string>;
|
|
9
9
|
showFileList?: boolean;
|
|
10
10
|
multiple?: boolean;
|
|
11
|
+
draggable?: boolean;
|
|
11
12
|
}>, {
|
|
12
13
|
type: string;
|
|
13
14
|
accept: string;
|
|
14
15
|
showFileList: boolean;
|
|
15
16
|
multiple: boolean;
|
|
17
|
+
draggable: boolean;
|
|
16
18
|
}>>, {
|
|
17
19
|
clearFiles: () => void;
|
|
18
20
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -25,11 +27,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
25
27
|
fileList?: Array<string>;
|
|
26
28
|
showFileList?: boolean;
|
|
27
29
|
multiple?: boolean;
|
|
30
|
+
draggable?: boolean;
|
|
28
31
|
}>, {
|
|
29
32
|
type: string;
|
|
30
33
|
accept: string;
|
|
31
34
|
showFileList: boolean;
|
|
32
35
|
multiple: boolean;
|
|
36
|
+
draggable: boolean;
|
|
33
37
|
}>>> & Readonly<{
|
|
34
38
|
onGetNewFile?: ((...args: any[]) => any) | undefined;
|
|
35
39
|
onDelOldFile?: ((...args: any[]) => any) | undefined;
|
|
@@ -38,6 +42,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
38
42
|
accept: string;
|
|
39
43
|
showFileList: boolean;
|
|
40
44
|
multiple: boolean;
|
|
45
|
+
draggable: boolean;
|
|
41
46
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
47
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
43
48
|
export default _default;
|