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,32 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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<{
|
|
9
|
+
data: Array<any>;
|
|
5
10
|
whiteword?: string;
|
|
6
11
|
showHead?: boolean;
|
|
7
12
|
headclass?: string;
|
|
8
13
|
cellclass?: string;
|
|
9
14
|
tableclass?: string;
|
|
15
|
+
idKey?: string;
|
|
10
16
|
}>, {
|
|
11
17
|
whiteword: string;
|
|
12
18
|
showHead: boolean;
|
|
13
19
|
}>>, {
|
|
14
20
|
clearSelection: () => void;
|
|
15
21
|
allSelection: () => void;
|
|
16
|
-
|
|
17
|
-
|
|
22
|
+
toggleSelection: () => void;
|
|
23
|
+
setSelection: (arr: Array<string>) => void;
|
|
18
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
25
|
rowClick: (...args: any[]) => void;
|
|
20
26
|
selectionChange: (...args: any[]) => void;
|
|
21
27
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
22
|
-
data: Array<
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}>;
|
|
28
|
+
data: Array<any>;
|
|
25
29
|
whiteword?: string;
|
|
26
30
|
showHead?: boolean;
|
|
27
31
|
headclass?: string;
|
|
28
32
|
cellclass?: string;
|
|
29
33
|
tableclass?: string;
|
|
34
|
+
idKey?: string;
|
|
30
35
|
}>, {
|
|
31
36
|
whiteword: string;
|
|
32
37
|
showHead: boolean;
|
|
@@ -37,6 +42,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
37
42
|
whiteword: string;
|
|
38
43
|
showHead: boolean;
|
|
39
44
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
40
46
|
export default _default;
|
|
41
47
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
48
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -55,3 +61,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
55
61
|
type __VLS_Prettify<T> = {
|
|
56
62
|
[K in keyof T]: T[K];
|
|
57
63
|
} & {};
|
|
64
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
65
|
+
new (): {
|
|
66
|
+
$slots: S;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -9,24 +9,30 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
9
9
|
width?: string | number;
|
|
10
10
|
label?: string | number;
|
|
11
11
|
fixed?: "left" | "right";
|
|
12
|
-
type?: "selection" | "index" | "
|
|
12
|
+
type?: "selection" | "index" | "append" | "prepend" | "default";
|
|
13
13
|
sortable?: boolean;
|
|
14
14
|
row?: {
|
|
15
15
|
[key: string]: any;
|
|
16
16
|
};
|
|
17
17
|
index?: number;
|
|
18
|
-
}>, {
|
|
18
|
+
}>, {
|
|
19
|
+
type: string;
|
|
20
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
21
|
prop?: string;
|
|
20
22
|
width?: string | number;
|
|
21
23
|
label?: string | number;
|
|
22
24
|
fixed?: "left" | "right";
|
|
23
|
-
type?: "selection" | "index" | "
|
|
25
|
+
type?: "selection" | "index" | "append" | "prepend" | "default";
|
|
24
26
|
sortable?: boolean;
|
|
25
27
|
row?: {
|
|
26
28
|
[key: string]: any;
|
|
27
29
|
};
|
|
28
30
|
index?: number;
|
|
29
|
-
}>, {
|
|
31
|
+
}>, {
|
|
32
|
+
type: string;
|
|
33
|
+
}>>> & Readonly<{}>, {
|
|
34
|
+
type: "selection" | "index" | "append" | "prepend" | "default";
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
36
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
31
37
|
export default _default;
|
|
32
38
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,4 +1,11 @@
|
|
|
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
|
active?: string;
|
|
3
10
|
type?: "line" | "card";
|
|
4
11
|
}>, {
|
|
@@ -15,6 +22,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
15
22
|
}>, {
|
|
16
23
|
type: "line" | "card";
|
|
17
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
18
26
|
export default _default;
|
|
19
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
28
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -33,3 +41,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
33
41
|
type __VLS_Prettify<T> = {
|
|
34
42
|
[K in keyof T]: T[K];
|
|
35
43
|
} & {};
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Directive } from 'vue';
|
|
2
|
+
|
|
3
|
+
type DirectionHandlers = {
|
|
4
|
+
up?: (e: KeyboardEvent) => void;
|
|
5
|
+
down?: (e: KeyboardEvent) => void;
|
|
6
|
+
left?: (e: KeyboardEvent) => void;
|
|
7
|
+
right?: (e: KeyboardEvent) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const createArrowKeysDirective: (options: Partial<DirectionHandlers>) => Directive;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ObjectDirective } from 'vue';
|
|
2
|
+
|
|
3
|
+
type DraggableOptions = {
|
|
4
|
+
throttleWait?: number;
|
|
5
|
+
resetOnEnd?: boolean;
|
|
6
|
+
onDragStart?: (position: {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
}) => void;
|
|
10
|
+
onDrag: (position: {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
}) => void;
|
|
14
|
+
onDragEnd?: (position: {
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
}) => void;
|
|
18
|
+
};
|
|
19
|
+
export declare const createDraggableDirective: (options?: Partial<DraggableOptions>) => ObjectDirective;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ObjectDirective } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type wheelDom = {
|
|
4
|
+
_checkout_handlers_?: {
|
|
5
|
+
click: (e: MouseEvent) => void;
|
|
6
|
+
};
|
|
7
|
+
} & HTMLElement;
|
|
8
|
+
interface CheckOutDirectiveOptions {
|
|
9
|
+
onCheckOut: (e: MouseEvent, el: wheelDom) => void;
|
|
10
|
+
moveModel?: boolean;
|
|
11
|
+
debounceWait?: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const createBgClickDirective: (options: Partial<CheckOutDirectiveOptions>) => ObjectDirective<wheelDom, any>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ObjectDirective } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type wheelDom = {
|
|
4
|
+
_watchwindow_handlers_?: {
|
|
5
|
+
move: (e: Event) => void;
|
|
6
|
+
};
|
|
7
|
+
} & HTMLElement;
|
|
8
|
+
interface CheckMoveDirectiveOptions {
|
|
9
|
+
onMove: () => void;
|
|
10
|
+
debounceWait?: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const createScrollDirective: (options: Partial<CheckMoveDirectiveOptions>) => ObjectDirective<wheelDom, any>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ObjectDirective } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type wheelDom = {
|
|
4
|
+
_wheel_handlers_?: {
|
|
5
|
+
wheel: (e: WheelEvent) => void;
|
|
6
|
+
};
|
|
7
|
+
} & HTMLElement;
|
|
8
|
+
interface WheelDirectiveOptions {
|
|
9
|
+
onWheel: (e: WheelEvent) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const createWheelDirective: (options: Partial<WheelDirectiveOptions>) => ObjectDirective<wheelDom, any>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ObjectDirective } from 'vue';
|
|
2
|
+
|
|
3
|
+
interface BgPictureDirectiveOptions {
|
|
4
|
+
onBgPicture: (e: MouseEvent) => void;
|
|
5
|
+
}
|
|
6
|
+
interface bgPictureDom extends HTMLElement {
|
|
7
|
+
_bgPicture_handlers_?: {
|
|
8
|
+
bgPicture: (e: MouseEvent) => void;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare const createBgClickeDirective: (options: Partial<BgPictureDirectiveOptions>) => ObjectDirective<bgPictureDom, any>;
|
|
12
|
+
export {};
|