ninemoon-ui 0.0.27 → 0.1.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/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/dialog.css +9 -0
- 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.css +1186 -873
- package/dist/index.d.ts +831 -401
- package/dist/index.es.js +22 -23
- package/dist/index.umd.js +4019 -3764
- package/dist/js/arrow/arrow.js +17 -0
- package/dist/js/badge/badge.js +9 -16
- package/dist/js/calendar/calendar.js +87 -0
- package/dist/js/carousel/carousel.js +101 -117
- package/dist/js/carousel/carouselitem.js +1 -7
- package/dist/js/check/checkbox.js +38 -4
- package/dist/js/check/checkgroup.js +40 -51
- package/dist/js/date/datepicker.js +146 -150
- package/dist/js/date/datepickerRange.js +265 -354
- package/dist/js/dateArrowplus/dateArrowplus.js +25 -0
- package/dist/js/delete/delete.js +19 -0
- package/dist/js/dialog/dialog.js +41 -57
- package/dist/js/form/form.js +30 -38
- package/dist/js/form/formlabel.js +99 -130
- package/dist/js/image/image.js +199 -149
- package/dist/js/index/index.js +605 -507
- package/dist/js/input/input.js +60 -43
- package/dist/js/menu/menu.js +47 -20
- package/dist/js/numberInput/numberinput.js +52 -60
- package/dist/js/pagination/pagination.js +125 -156
- package/dist/js/popover/popover.js +238 -134
- package/dist/js/radio/radiobox.js +37 -4
- package/dist/js/radio/radiogroup.js +15 -51
- package/dist/js/scrollBar/scrollBar.js +100 -56
- package/dist/js/select/select.js +155 -70
- package/dist/js/select/selectoption.js +45 -4
- package/dist/js/shapeFlag/shapeFlag.js +17 -0
- package/dist/js/switch/switch.js +14 -14
- package/dist/js/table/table.js +165 -111
- package/dist/js/table/tableItem.js +1 -1
- package/dist/js/tabs/tabs.js +57 -59
- package/dist/js/upload/upload.js +8 -23
- package/dist/tabs.css +3 -3
- 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/js/getcalendar/getcalendar.js +0 -48
- 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
|
@@ -1,19 +1,73 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
1
|
+
import { ComponentPublicInstance, VNode } from 'vue';
|
|
2
2
|
|
|
3
|
-
type optiontype = string | number | optionObj;
|
|
4
3
|
type optionObj = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
vnode?: VNode | VNode[];
|
|
8
|
-
during?: number;
|
|
4
|
+
content?: string | number | VNode | VNode[];
|
|
5
|
+
duration?: number;
|
|
9
6
|
showClose?: boolean;
|
|
10
|
-
|
|
7
|
+
id?: string | number;
|
|
11
8
|
};
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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;
|
|
18
19
|
};
|
|
19
|
-
|
|
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,18 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dealConfigType } from './message.ts';
|
|
2
2
|
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
text?: string;
|
|
7
|
-
vnode?: VNode | VNode[];
|
|
8
|
-
during?: number;
|
|
9
|
-
key: string | number;
|
|
3
|
+
type MessageInstance = dealConfigType & {
|
|
4
|
+
timer: ReturnType<typeof setTimeout>;
|
|
5
|
+
id?: number;
|
|
10
6
|
};
|
|
11
7
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
12
|
-
|
|
13
|
-
error: (option: option) => void;
|
|
14
|
-
warning: (option: option) => void;
|
|
15
|
-
info: (option: option) => void;
|
|
16
|
-
dealConfig: (options: option, type: string) => void;
|
|
8
|
+
dealConfig: (options: MessageInstance) => void;
|
|
17
9
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
10
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
modelValue: number;
|
|
3
|
-
size?: "
|
|
3
|
+
size?: "large" | "default" | "small";
|
|
4
4
|
min?: number;
|
|
5
5
|
max?: number;
|
|
6
6
|
strict?: boolean;
|
|
@@ -16,7 +16,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
16
16
|
NumChange: (...args: any[]) => void;
|
|
17
17
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
18
|
modelValue: number;
|
|
19
|
-
size?: "
|
|
19
|
+
size?: "large" | "default" | "small";
|
|
20
20
|
min?: number;
|
|
21
21
|
max?: number;
|
|
22
22
|
strict?: boolean;
|
|
@@ -31,7 +31,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
31
31
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
32
32
|
onNumChange?: ((...args: any[]) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
|
-
size: "
|
|
34
|
+
size: "large" | "default" | "small";
|
|
35
35
|
strict: boolean;
|
|
36
36
|
step: number;
|
|
37
37
|
integer: boolean;
|
|
@@ -2,22 +2,46 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2
2
|
sizeArr?: Array<number>;
|
|
3
3
|
total: number;
|
|
4
4
|
hideOnSinglePage?: boolean;
|
|
5
|
+
currentPage?: number;
|
|
6
|
+
activeSize?: number;
|
|
7
|
+
visibleRange?: number;
|
|
8
|
+
edgeVisibleCount?: number;
|
|
5
9
|
}>, {
|
|
6
10
|
hideOnSinglePage: boolean;
|
|
11
|
+
currentPage: number;
|
|
12
|
+
activeSize: number;
|
|
13
|
+
visibleRange: number;
|
|
14
|
+
edgeVisibleCount: number;
|
|
7
15
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
16
|
"size-change": (...args: any[]) => void;
|
|
9
17
|
"current-change": (...args: any[]) => void;
|
|
18
|
+
"update:currentPage": (...args: any[]) => void;
|
|
19
|
+
"update:activeSize": (...args: any[]) => void;
|
|
10
20
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
21
|
sizeArr?: Array<number>;
|
|
12
22
|
total: number;
|
|
13
23
|
hideOnSinglePage?: boolean;
|
|
24
|
+
currentPage?: number;
|
|
25
|
+
activeSize?: number;
|
|
26
|
+
visibleRange?: number;
|
|
27
|
+
edgeVisibleCount?: number;
|
|
14
28
|
}>, {
|
|
15
29
|
hideOnSinglePage: boolean;
|
|
30
|
+
currentPage: number;
|
|
31
|
+
activeSize: number;
|
|
32
|
+
visibleRange: number;
|
|
33
|
+
edgeVisibleCount: number;
|
|
16
34
|
}>>> & Readonly<{
|
|
17
35
|
"onSize-change"?: ((...args: any[]) => any) | undefined;
|
|
18
36
|
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
"onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
"onUpdate:activeSize"?: ((...args: any[]) => any) | undefined;
|
|
19
39
|
}>, {
|
|
20
40
|
hideOnSinglePage: boolean;
|
|
41
|
+
currentPage: number;
|
|
42
|
+
activeSize: number;
|
|
43
|
+
visibleRange: number;
|
|
44
|
+
edgeVisibleCount: number;
|
|
21
45
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
46
|
export default _default;
|
|
23
47
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -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,3 +1,4 @@
|
|
|
1
|
+
type PlacementType = "topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright";
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
reference?(_: {}): any;
|
|
3
4
|
default?(_: {}): any;
|
|
@@ -5,16 +6,18 @@ declare function __VLS_template(): {
|
|
|
5
6
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
7
|
trigger?: "click" | "hover" | "native";
|
|
7
8
|
width?: string | number;
|
|
8
|
-
placement?:
|
|
9
|
+
placement?: PlacementType;
|
|
9
10
|
insertClass?: string;
|
|
10
11
|
beforeHidden?: Function;
|
|
11
12
|
modelValue?: boolean;
|
|
12
13
|
beforebgcolor?: string;
|
|
13
14
|
arrowshow?: boolean;
|
|
15
|
+
isselectMode?: boolean;
|
|
14
16
|
}>, {
|
|
15
17
|
trigger: string;
|
|
16
18
|
placement: string;
|
|
17
19
|
arrowshow: boolean;
|
|
20
|
+
isselectMode: boolean;
|
|
18
21
|
}>>, {
|
|
19
22
|
hideHandle: (disablecancelflag?: boolean) => void;
|
|
20
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -22,22 +25,25 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
22
25
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
26
|
trigger?: "click" | "hover" | "native";
|
|
24
27
|
width?: string | number;
|
|
25
|
-
placement?:
|
|
28
|
+
placement?: PlacementType;
|
|
26
29
|
insertClass?: string;
|
|
27
30
|
beforeHidden?: Function;
|
|
28
31
|
modelValue?: boolean;
|
|
29
32
|
beforebgcolor?: string;
|
|
30
33
|
arrowshow?: boolean;
|
|
34
|
+
isselectMode?: boolean;
|
|
31
35
|
}>, {
|
|
32
36
|
trigger: string;
|
|
33
37
|
placement: string;
|
|
34
38
|
arrowshow: boolean;
|
|
39
|
+
isselectMode: boolean;
|
|
35
40
|
}>>> & Readonly<{
|
|
36
41
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
37
42
|
}>, {
|
|
38
|
-
placement:
|
|
39
|
-
trigger: "click" | "hover" | "native";
|
|
43
|
+
placement: PlacementType;
|
|
40
44
|
arrowshow: boolean;
|
|
45
|
+
trigger: "click" | "hover" | "native";
|
|
46
|
+
isselectMode: boolean;
|
|
41
47
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
48
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
43
49
|
export default _default;
|
|
@@ -1,14 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
1
|
+
type RadioboxValue = string | number | symbol;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
label: RadioboxValue;
|
|
4
|
+
value: RadioboxValue;
|
|
5
|
+
modelValue?: RadioboxValue;
|
|
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: RadioboxValue;
|
|
14
|
+
value: RadioboxValue;
|
|
15
|
+
modelValue?: RadioboxValue;
|
|
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 RadioboxValue = 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: RadioboxValue;
|
|
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:
|
|
15
|
+
modelValue: RadioboxValue;
|
|
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
|
+
};
|
|
@@ -2,14 +2,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2
2
|
vertical?: boolean;
|
|
3
3
|
move: number;
|
|
4
4
|
size: string;
|
|
5
|
-
parent
|
|
5
|
+
parent?: HTMLElement;
|
|
6
6
|
}>, {
|
|
7
7
|
vertical: boolean;
|
|
8
8
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
9
|
vertical?: boolean;
|
|
10
10
|
move: number;
|
|
11
11
|
size: string;
|
|
12
|
-
parent
|
|
12
|
+
parent?: HTMLElement;
|
|
13
13
|
}>, {
|
|
14
14
|
vertical: boolean;
|
|
15
15
|
}>>> & Readonly<{}>, {
|
|
@@ -3,29 +3,25 @@ declare function __VLS_template(): {
|
|
|
3
3
|
};
|
|
4
4
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
native?: boolean;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
isSelectdom?: boolean;
|
|
6
|
+
height?: string;
|
|
7
|
+
maxHeight?: string;
|
|
9
8
|
}>, {
|
|
10
9
|
native: boolean;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
10
|
+
}>>, {
|
|
11
|
+
setScrollTop: (percentage: number, options?: {
|
|
12
|
+
behavior?: "auto" | "smooth";
|
|
13
|
+
}) => void;
|
|
14
|
+
setScrollLeft: (percentage: number, options?: {
|
|
15
|
+
behavior?: "auto" | "smooth";
|
|
16
|
+
}) => void;
|
|
17
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
18
|
native?: boolean;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
isSelectdom?: boolean;
|
|
19
|
+
height?: string;
|
|
20
|
+
maxHeight?: string;
|
|
19
21
|
}>, {
|
|
20
22
|
native: boolean;
|
|
21
|
-
noresize: boolean;
|
|
22
|
-
vertical: boolean;
|
|
23
|
-
isSelectdom: boolean;
|
|
24
23
|
}>>> & Readonly<{}>, {
|
|
25
24
|
native: boolean;
|
|
26
|
-
vertical: boolean;
|
|
27
|
-
noresize: boolean;
|
|
28
|
-
isSelectdom: boolean;
|
|
29
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
31
27
|
export default _default;
|
|
@@ -1,20 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
_scroll_?: (e: Event) => any;
|
|
4
|
-
} & HTMLElement;
|
|
1
|
+
import { DirectiveBinding } from 'vue';
|
|
2
|
+
|
|
5
3
|
type bindingType = {
|
|
6
4
|
value: {
|
|
7
5
|
ableLoading: boolean;
|
|
8
|
-
fc: Function;
|
|
9
|
-
threshold?: number;
|
|
10
6
|
};
|
|
11
7
|
modifiers: {
|
|
12
8
|
top?: boolean;
|
|
13
9
|
};
|
|
10
|
+
} & DirectiveBinding;
|
|
11
|
+
type ScrollElement = HTMLElement & {
|
|
12
|
+
_scroll_handlers_?: {
|
|
13
|
+
wheel: () => void;
|
|
14
|
+
};
|
|
14
15
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
interface CheckWheelDirectiveOptions {
|
|
17
|
+
onWheel: () => void;
|
|
18
|
+
throttleTime?: number;
|
|
19
|
+
threshold?: number;
|
|
20
|
+
edge?: 'top' | 'bottom';
|
|
21
|
+
}
|
|
22
|
+
export declare const createScrollDirective: (options: Partial<CheckWheelDirectiveOptions>) => {
|
|
23
|
+
mounted(el: ScrollElement, binding: bindingType): void;
|
|
24
|
+
updated(el: ScrollElement, binding: bindingType): void;
|
|
25
|
+
beforeUnmount(el: ScrollElement): void;
|
|
19
26
|
};
|
|
20
|
-
export
|
|
27
|
+
export {};
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
5
|
modelValue: string | number | null;
|
|
3
6
|
filter?: boolean;
|
|
4
7
|
placeHolder?: string;
|
|
5
8
|
disabled?: boolean;
|
|
9
|
+
size?: "large" | "default" | "small";
|
|
6
10
|
}>, {
|
|
7
11
|
filter: boolean;
|
|
8
12
|
disabled: boolean;
|
|
9
13
|
placeHolder: string;
|
|
14
|
+
size: string;
|
|
10
15
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
16
|
change: (...args: any[]) => void;
|
|
12
17
|
"update:modelValue": (...args: any[]) => void;
|
|
@@ -15,18 +20,22 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
15
20
|
filter?: boolean;
|
|
16
21
|
placeHolder?: string;
|
|
17
22
|
disabled?: boolean;
|
|
23
|
+
size?: "large" | "default" | "small";
|
|
18
24
|
}>, {
|
|
19
25
|
filter: boolean;
|
|
20
26
|
disabled: boolean;
|
|
21
27
|
placeHolder: string;
|
|
28
|
+
size: string;
|
|
22
29
|
}>>> & Readonly<{
|
|
23
30
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
24
31
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
25
32
|
}>, {
|
|
26
33
|
filter: boolean;
|
|
34
|
+
size: "large" | "default" | "small";
|
|
27
35
|
disabled: boolean;
|
|
28
36
|
placeHolder: string;
|
|
29
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
30
39
|
export default _default;
|
|
31
40
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
41
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -45,3 +54,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
45
54
|
type __VLS_Prettify<T> = {
|
|
46
55
|
[K in keyof T]: T[K];
|
|
47
56
|
} & {};
|
|
57
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
|
+
new (): {
|
|
59
|
+
$slots: S;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -1,13 +1,25 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
1
3
|
declare function __VLS_template(): {
|
|
2
4
|
default?(_: {}): any;
|
|
3
5
|
};
|
|
4
6
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
value
|
|
6
|
-
label: string | number;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
7
|
+
value: string | number | symbol;
|
|
8
|
+
label: string | number | symbol;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
}>>, {
|
|
13
|
+
el: Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
value: string | number | symbol;
|
|
16
|
+
label: string | number | symbol;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
}>, {
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
}>>> & Readonly<{}>, {
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
12
24
|
export default _default;
|
|
13
25
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
checkedLabel?: string;
|
|
3
|
+
uncheckedLabel?: string;
|
|
4
|
+
checkedColor?: string;
|
|
5
|
+
uncheckedColor?: string;
|
|
6
6
|
modelValue: boolean;
|
|
7
7
|
}>, {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
checkedColor: string;
|
|
9
|
+
uncheckedColor: string;
|
|
10
10
|
modelValue: boolean;
|
|
11
11
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
12
|
"update:modelValue": (...args: any[]) => void;
|
|
13
13
|
switchChange: (...args: any[]) => void;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
checkedLabel?: string;
|
|
16
|
+
uncheckedLabel?: string;
|
|
17
|
+
checkedColor?: string;
|
|
18
|
+
uncheckedColor?: string;
|
|
19
19
|
modelValue: boolean;
|
|
20
20
|
}>, {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
checkedColor: string;
|
|
22
|
+
uncheckedColor: string;
|
|
23
23
|
modelValue: boolean;
|
|
24
24
|
}>>> & Readonly<{
|
|
25
25
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
onSwitchChange?: ((...args: any[]) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
modelValue: boolean;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
checkedColor: string;
|
|
30
|
+
uncheckedColor: string;
|
|
31
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
export default _default;
|
|
33
33
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|