ninemoon-ui 0.0.26 → 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} +13 -13
- 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 +40 -31
- package/dist/components/carousel/carousel.vue.d.ts +47 -8
- package/dist/components/carousel/carouselitem.vue.d.ts +4 -2
- package/dist/components/carousel/clickbutton.vue.d.ts +29 -0
- package/dist/components/check/checkbox.vue.d.ts +39 -22
- package/dist/components/check/checkgroup.vue.d.ts +45 -21
- package/dist/components/date/datepicker.vue.d.ts +48 -18
- package/dist/components/date/datepickerRange.vue.d.ts +35 -12
- package/dist/components/dialog/dialog.vue.d.ts +56 -67
- package/dist/components/form/form.vue.d.ts +38 -44
- package/dist/components/form/formlabel.vue.d.ts +40 -35
- 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/image/image.vue.d.ts +39 -29
- package/dist/components/input/input.vue.d.ts +59 -50
- package/dist/components/loadding/loadcomponent.vue.d.ts +24 -4
- package/dist/components/loadding/loadding.d.ts +13 -19
- package/dist/components/menu/menu.vue.d.ts +35 -12
- package/dist/components/message/message.d.ts +69 -14
- package/dist/components/message/messagecomponent.vue.d.ts +8 -15
- package/dist/components/numberInput/numberinput.vue.d.ts +51 -59
- package/dist/components/pagination/pagination.vue.d.ts +59 -27
- package/dist/components/popover/poparrow.d.ts +55 -0
- package/dist/components/popover/popover.vue.d.ts +63 -66
- package/dist/components/radio/radiobox.vue.d.ts +39 -22
- package/dist/components/radio/radiogroup.vue.d.ts +45 -21
- package/dist/components/scrollBar/movebar.vue.d.ts +33 -36
- package/dist/components/scrollBar/scrollBar.vue.d.ts +41 -40
- package/dist/components/scrollloading/scrolllead.d.ts +18 -11
- package/dist/components/select/select.vue.d.ts +55 -37
- package/dist/components/select/selectoption.vue.d.ts +39 -18
- package/dist/components/switch/switch.vue.d.ts +45 -45
- package/dist/components/table/table.vue.d.ts +61 -54
- package/dist/components/table/tableItem.vue.d.ts +49 -56
- package/dist/components/tabs/tabs.vue.d.ts +45 -19
- package/dist/components/tabs/tabsPane.vue.d.ts +25 -12
- package/dist/components/upload/upload.vue.d.ts +53 -53
- 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 +1524 -2210
- 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} +59 -60
- package/dist/js/{upload/upload.js → upload-16dbef22.js} +10 -26
- package/dist/types/shapeFlag.d.ts +13 -0
- package/dist/{components/utils → utils}/tool.d.ts +12 -5
- 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/components/tree/tree.vue.d.ts +0 -47
- package/dist/datepickerRange.css +0 -79
- package/dist/image.css +0 -8
- package/dist/index.css +0 -917
- package/dist/index.es.js +0 -37
- package/dist/index.umd.js +0 -6080
- package/dist/js/carousel/carousel.js +0 -175
- package/dist/js/check/checkbox.js +0 -16
- package/dist/js/check/checkgroup.js +0 -68
- package/dist/js/date/datepicker.js +0 -373
- package/dist/js/date/datepickerRange.js +0 -597
- package/dist/js/dialog/dialog.js +0 -140
- 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 -259
- package/dist/js/index/index.js +0 -873
- package/dist/js/input/input.js +0 -91
- package/dist/js/menu/menu.js +0 -58
- package/dist/js/numberInput/numberinput.js +0 -130
- package/dist/js/pagination/pagination.js +0 -245
- package/dist/js/popover/popover.js +0 -241
- package/dist/js/radio/radiobox.js +0 -16
- package/dist/js/radio/radiogroup.js +0 -68
- package/dist/js/scrollBar/scrollBar.js +0 -208
- package/dist/js/select/select.js +0 -117
- package/dist/js/select/selectoption.js +0 -16
- package/dist/js/switch/switch.js +0 -49
- package/dist/js/table/table.js +0 -215
- package/dist/js/tree/tree.js +0 -72
- package/dist/js/tree/treeleaf.js +0 -118
- 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,22 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
type loadhtml = {
|
|
12
|
-
instance: {
|
|
13
|
-
loaddingWord: string;
|
|
14
|
-
fullScreen: boolean;
|
|
15
|
-
} & ComponentPublicInstance;
|
|
16
|
-
} & HTMLElement;
|
|
1
|
+
import { ComponentPublicInstance, DirectiveBinding } from 'vue';
|
|
2
|
+
|
|
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
|
+
}
|
|
17
11
|
declare const _default: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
mounted(el: LoadingDirectiveElement, binding: DirectiveBinding<boolean>): void;
|
|
13
|
+
updated(el: LoadingDirectiveElement, binding: DirectiveBinding<boolean>): void;
|
|
14
|
+
beforeUnmount(el: LoadingDirectiveElement): void;
|
|
21
15
|
};
|
|
22
16
|
export default _default;
|
|
@@ -1,14 +1,37 @@
|
|
|
1
|
-
declare const _default: import(
|
|
2
|
-
menulist:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
menulist: Array<string>;
|
|
3
|
+
activeIndex: number;
|
|
4
|
+
}>, {
|
|
5
|
+
activeIndex: number;
|
|
6
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
updatemenu: (...args: any[]) => void;
|
|
8
|
+
"update:activeIndex": (...args: any[]) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
menulist: Array<string>;
|
|
11
|
+
activeIndex: number;
|
|
12
|
+
}>, {
|
|
13
|
+
activeIndex: number;
|
|
14
|
+
}>>> & Readonly<{
|
|
12
15
|
onUpdatemenu?: ((...args: any[]) => any) | undefined;
|
|
13
|
-
|
|
16
|
+
"onUpdate:activeIndex"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
activeIndex: number;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
20
|
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
@@ -1,18 +1,73 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ComponentPublicInstance, VNode } from 'vue';
|
|
2
|
+
|
|
3
3
|
type optionObj = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
vnode?: VNode | VNode[];
|
|
7
|
-
during?: number;
|
|
4
|
+
content?: string | number | VNode | VNode[];
|
|
5
|
+
duration?: number;
|
|
8
6
|
showClose?: boolean;
|
|
9
|
-
|
|
7
|
+
id?: string | number;
|
|
10
8
|
};
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
declare enum ContentType {
|
|
10
|
+
stringType = 1,
|
|
11
|
+
vnodeType = 2,
|
|
12
|
+
vnodeArrayType = 4
|
|
13
|
+
}
|
|
14
|
+
export type dealConfigType = optionObj & {
|
|
15
|
+
type: 'success' | 'error' | 'warning' | 'info';
|
|
16
|
+
duration: number;
|
|
17
|
+
showClose: boolean;
|
|
18
|
+
contentType: ContentType.stringType | ContentType.vnodeType | ContentType.vnodeArrayType;
|
|
17
19
|
};
|
|
18
|
-
|
|
20
|
+
type optiontype = string | number | optionObj;
|
|
21
|
+
export declare class MessageClass {
|
|
22
|
+
private static instance;
|
|
23
|
+
private constructor();
|
|
24
|
+
static getInstance(): {
|
|
25
|
+
$: import('vue').ComponentInternalInstance;
|
|
26
|
+
$data: {};
|
|
27
|
+
$props: {};
|
|
28
|
+
$attrs: {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
};
|
|
31
|
+
$refs: {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
$slots: Readonly<{
|
|
35
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
$root: ComponentPublicInstance | null;
|
|
38
|
+
$parent: ComponentPublicInstance | null;
|
|
39
|
+
$host: Element | null;
|
|
40
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
41
|
+
$el: any;
|
|
42
|
+
$options: import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions> & {
|
|
43
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
44
|
+
created?: (() => void) | (() => void)[];
|
|
45
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
46
|
+
mounted?: (() => void) | (() => void)[];
|
|
47
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
48
|
+
updated?: (() => void) | (() => void)[];
|
|
49
|
+
activated?: (() => void) | (() => void)[];
|
|
50
|
+
deactivated?: (() => void) | (() => void)[];
|
|
51
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
52
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
53
|
+
destroyed?: (() => void) | (() => void)[];
|
|
54
|
+
unmounted?: (() => void) | (() => void)[];
|
|
55
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
56
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
57
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
58
|
+
};
|
|
59
|
+
$forceUpdate: () => void;
|
|
60
|
+
$nextTick: typeof import('vue').nextTick;
|
|
61
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
62
|
+
} & Readonly<{}> & Omit<{}, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
63
|
+
dealConfig: (options: dealConfigType) => void;
|
|
64
|
+
};
|
|
65
|
+
private static mixconfig;
|
|
66
|
+
static pushMessage(options: dealConfigType): void;
|
|
67
|
+
static success(options: optiontype): void;
|
|
68
|
+
static warning(options: optiontype): void;
|
|
69
|
+
static error(options: optiontype): void;
|
|
70
|
+
static info(options: optiontype): void;
|
|
71
|
+
static destroy(): void;
|
|
72
|
+
}
|
|
73
|
+
export {};
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
vnode?: VNode | VNode[];
|
|
7
|
-
during?: number;
|
|
8
|
-
key: string | number;
|
|
1
|
+
import { dealConfigType } from './message.ts';
|
|
2
|
+
|
|
3
|
+
type MessageInstance = dealConfigType & {
|
|
4
|
+
timer: ReturnType<typeof setTimeout>;
|
|
5
|
+
id?: number;
|
|
9
6
|
};
|
|
10
|
-
declare const _default: import(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
warning: (option: option) => void;
|
|
14
|
-
info: (option: option) => void;
|
|
15
|
-
dealConfig: (options: option, type: string) => void;
|
|
16
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
7
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
8
|
+
dealConfig: (options: MessageInstance) => void;
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
10
|
export default _default;
|
|
@@ -1,64 +1,56 @@
|
|
|
1
|
-
declare const _default: import(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
integer
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
min: {
|
|
33
|
-
type: import("vue").PropType<number>;
|
|
34
|
-
};
|
|
35
|
-
modelValue: {
|
|
36
|
-
type: import("vue").PropType<number>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
size: {
|
|
40
|
-
type: import("vue").PropType<"normal" | "mini">;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
step: {
|
|
44
|
-
type: import("vue").PropType<number>;
|
|
45
|
-
default: number;
|
|
46
|
-
};
|
|
47
|
-
strict: {
|
|
48
|
-
type: import("vue").PropType<boolean>;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
integer: {
|
|
52
|
-
type: import("vue").PropType<boolean>;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
}>> & {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue: number;
|
|
3
|
+
size?: "large" | "default" | "small";
|
|
4
|
+
min?: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
strict?: boolean;
|
|
7
|
+
step?: number;
|
|
8
|
+
integer?: boolean;
|
|
9
|
+
}>, {
|
|
10
|
+
size: string;
|
|
11
|
+
strict: boolean;
|
|
12
|
+
integer: boolean;
|
|
13
|
+
step: number;
|
|
14
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (...args: any[]) => void;
|
|
16
|
+
NumChange: (...args: any[]) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
+
modelValue: number;
|
|
19
|
+
size?: "large" | "default" | "small";
|
|
20
|
+
min?: number;
|
|
21
|
+
max?: number;
|
|
22
|
+
strict?: boolean;
|
|
23
|
+
step?: number;
|
|
24
|
+
integer?: boolean;
|
|
25
|
+
}>, {
|
|
26
|
+
size: string;
|
|
27
|
+
strict: boolean;
|
|
28
|
+
integer: boolean;
|
|
29
|
+
step: number;
|
|
30
|
+
}>>> & Readonly<{
|
|
56
31
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
57
32
|
onNumChange?: ((...args: any[]) => any) | undefined;
|
|
58
|
-
}
|
|
59
|
-
size: "
|
|
60
|
-
step: number;
|
|
33
|
+
}>, {
|
|
34
|
+
size: "large" | "default" | "small";
|
|
61
35
|
strict: boolean;
|
|
36
|
+
step: number;
|
|
62
37
|
integer: boolean;
|
|
63
|
-
}, {}>;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
64
39
|
export default _default;
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
type __VLS_WithDefaults<P, D> = {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
+
default: D[K];
|
|
52
|
+
}> : P[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_Prettify<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|
|
@@ -1,31 +1,63 @@
|
|
|
1
|
-
declare const _default: import(
|
|
2
|
-
sizeArr
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
sizeArr?: Array<number>;
|
|
3
|
+
total: number;
|
|
4
|
+
hideOnSinglePage?: boolean;
|
|
5
|
+
currentPage?: number;
|
|
6
|
+
activeSize?: number;
|
|
7
|
+
visibleRange?: number;
|
|
8
|
+
edgeVisibleCount?: number;
|
|
9
|
+
}>, {
|
|
10
|
+
hideOnSinglePage: boolean;
|
|
11
|
+
currentPage: number;
|
|
12
|
+
activeSize: number;
|
|
13
|
+
visibleRange: number;
|
|
14
|
+
edgeVisibleCount: number;
|
|
15
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"size-change": (...args: any[]) => void;
|
|
17
|
+
"current-change": (...args: any[]) => void;
|
|
18
|
+
"update:currentPage": (...args: any[]) => void;
|
|
19
|
+
"update:activeSize": (...args: any[]) => void;
|
|
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
|
+
}>, {
|
|
29
|
+
hideOnSinglePage: boolean;
|
|
30
|
+
currentPage: number;
|
|
31
|
+
activeSize: number;
|
|
32
|
+
visibleRange: number;
|
|
33
|
+
edgeVisibleCount: number;
|
|
34
|
+
}>>> & Readonly<{
|
|
26
35
|
"onSize-change"?: ((...args: any[]) => any) | undefined;
|
|
27
36
|
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
28
|
-
|
|
37
|
+
"onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
"onUpdate:activeSize"?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
}>, {
|
|
29
40
|
hideOnSinglePage: boolean;
|
|
30
|
-
|
|
41
|
+
currentPage: number;
|
|
42
|
+
activeSize: number;
|
|
43
|
+
visibleRange: number;
|
|
44
|
+
edgeVisibleCount: number;
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
46
|
export default _default;
|
|
47
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
49
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
+
} : {
|
|
52
|
+
type: import('vue').PropType<T[K]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
type __VLS_WithDefaults<P, D> = {
|
|
57
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
58
|
+
default: D[K];
|
|
59
|
+
}> : P[K];
|
|
60
|
+
};
|
|
61
|
+
type __VLS_Prettify<T> = {
|
|
62
|
+
[K in keyof T]: T[K];
|
|
63
|
+
} & {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
type PlacementType = 'topleft' | 'topmiddle' | 'topright' | 'bottomleft' | 'bottommiddle' | 'bottomright' | 'centerleft' | 'centerright';
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
arrowLeft: {
|
|
6
|
+
type: NumberConstructor;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
arrowTop: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
placement: {
|
|
14
|
+
type: PropType<PlacementType>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
arrowshow: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
exChange: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
beforebgcolor: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
};
|
|
28
|
+
}>, (() => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>) | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
+
arrowLeft: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
arrowTop: {
|
|
36
|
+
type: NumberConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
placement: {
|
|
40
|
+
type: PropType<PlacementType>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
arrowshow: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
exChange: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
beforebgcolor: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
55
|
+
export default _default;
|
|
@@ -1,72 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
type: import("vue").PropType<string | number>;
|
|
4
|
-
};
|
|
5
|
-
placement: {
|
|
6
|
-
type: import("vue").PropType<"topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright">;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
modelValue: {
|
|
10
|
-
type: import("vue").PropType<boolean>;
|
|
11
|
-
};
|
|
12
|
-
trigger: {
|
|
13
|
-
type: import("vue").PropType<"click" | "hover" | "native">;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
insertClass: {
|
|
17
|
-
type: import("vue").PropType<string>;
|
|
18
|
-
};
|
|
19
|
-
beforeHidden: {
|
|
20
|
-
type: import("vue").PropType<Function>;
|
|
21
|
-
};
|
|
22
|
-
beforebgcolor: {
|
|
23
|
-
type: import("vue").PropType<string>;
|
|
24
|
-
};
|
|
25
|
-
arrowshow: {
|
|
26
|
-
type: import("vue").PropType<boolean>;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
}, {
|
|
30
|
-
hideHandle: (disablecancelflag?: boolean | undefined) => void;
|
|
31
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
-
width: {
|
|
33
|
-
type: import("vue").PropType<string | number>;
|
|
34
|
-
};
|
|
35
|
-
placement: {
|
|
36
|
-
type: import("vue").PropType<"topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright">;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
modelValue: {
|
|
40
|
-
type: import("vue").PropType<boolean>;
|
|
41
|
-
};
|
|
42
|
-
trigger: {
|
|
43
|
-
type: import("vue").PropType<"click" | "hover" | "native">;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
insertClass: {
|
|
47
|
-
type: import("vue").PropType<string>;
|
|
48
|
-
};
|
|
49
|
-
beforeHidden: {
|
|
50
|
-
type: import("vue").PropType<Function>;
|
|
51
|
-
};
|
|
52
|
-
beforebgcolor: {
|
|
53
|
-
type: import("vue").PropType<string>;
|
|
54
|
-
};
|
|
55
|
-
arrowshow: {
|
|
56
|
-
type: import("vue").PropType<boolean>;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
}>> & {
|
|
60
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
61
|
-
}, {
|
|
62
|
-
placement: "topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright";
|
|
63
|
-
trigger: "click" | "hover" | "native";
|
|
64
|
-
arrowshow: boolean;
|
|
65
|
-
}, {}>, {
|
|
1
|
+
type PlacementType = "topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright";
|
|
2
|
+
declare function __VLS_template(): {
|
|
66
3
|
reference?(_: {}): any;
|
|
67
4
|
default?(_: {}): any;
|
|
68
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
trigger?: "click" | "hover" | "native";
|
|
8
|
+
width?: string | number;
|
|
9
|
+
placement?: PlacementType;
|
|
10
|
+
insertClass?: string;
|
|
11
|
+
beforeHidden?: Function;
|
|
12
|
+
modelValue?: boolean;
|
|
13
|
+
beforebgcolor?: string;
|
|
14
|
+
arrowshow?: boolean;
|
|
15
|
+
isselectMode?: boolean;
|
|
16
|
+
}>, {
|
|
17
|
+
trigger: string;
|
|
18
|
+
placement: string;
|
|
19
|
+
arrowshow: boolean;
|
|
20
|
+
isselectMode: boolean;
|
|
21
|
+
}>>, {
|
|
22
|
+
hideHandle: (disablecancelflag?: boolean) => void;
|
|
23
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (...args: any[]) => void;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
26
|
+
trigger?: "click" | "hover" | "native";
|
|
27
|
+
width?: string | number;
|
|
28
|
+
placement?: PlacementType;
|
|
29
|
+
insertClass?: string;
|
|
30
|
+
beforeHidden?: Function;
|
|
31
|
+
modelValue?: boolean;
|
|
32
|
+
beforebgcolor?: string;
|
|
33
|
+
arrowshow?: boolean;
|
|
34
|
+
isselectMode?: boolean;
|
|
35
|
+
}>, {
|
|
36
|
+
trigger: string;
|
|
37
|
+
placement: string;
|
|
38
|
+
arrowshow: boolean;
|
|
39
|
+
isselectMode: boolean;
|
|
40
|
+
}>>> & Readonly<{
|
|
41
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
placement: PlacementType;
|
|
44
|
+
arrowshow: boolean;
|
|
45
|
+
trigger: "click" | "hover" | "native";
|
|
46
|
+
isselectMode: boolean;
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
48
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
69
49
|
export default _default;
|
|
50
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
52
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
+
} : {
|
|
55
|
+
type: import('vue').PropType<T[K]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
type __VLS_WithDefaults<P, D> = {
|
|
60
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
+
default: D[K];
|
|
62
|
+
}> : P[K];
|
|
63
|
+
};
|
|
64
|
+
type __VLS_Prettify<T> = {
|
|
65
|
+
[K in keyof T]: T[K];
|
|
66
|
+
} & {};
|
|
70
67
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
71
68
|
new (): {
|
|
72
69
|
$slots: S;
|