@nhdropshipping/y-components 1.0.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/README.md +102 -0
- package/dist/components/QueryEncapsulation.vue.d.ts +76 -0
- package/dist/components/QueryEncapsulation.vue.d.ts.map +1 -0
- package/dist/components/ybadge.vue.d.ts +83 -0
- package/dist/components/ybadge.vue.d.ts.map +1 -0
- package/dist/components/ybutton.vue.d.ts +130 -0
- package/dist/components/ybutton.vue.d.ts.map +1 -0
- package/dist/components/ydialog.vue.d.ts +89 -0
- package/dist/components/ydialog.vue.d.ts.map +1 -0
- package/dist/components/ydrawer.vue.d.ts +88 -0
- package/dist/components/ydrawer.vue.d.ts.map +1 -0
- package/dist/components/ydropdown.vue.d.ts +47 -0
- package/dist/components/ydropdown.vue.d.ts.map +1 -0
- package/dist/components/yimage.vue.d.ts +64 -0
- package/dist/components/yimage.vue.d.ts.map +1 -0
- package/dist/components/yinput.vue.d.ts +89 -0
- package/dist/components/yinput.vue.d.ts.map +1 -0
- package/dist/components/ymessage/ymessage.d.ts +20 -0
- package/dist/components/ymessage/ymessage.d.ts.map +1 -0
- package/dist/components/ymessage/ymessageToast.vue.d.ts +50 -0
- package/dist/components/ymessage/ymessageToast.vue.d.ts.map +1 -0
- package/dist/components/ypagination.vue.d.ts +57 -0
- package/dist/components/ypagination.vue.d.ts.map +1 -0
- package/dist/components/ypopover.vue.d.ts +110 -0
- package/dist/components/ypopover.vue.d.ts.map +1 -0
- package/dist/components/yselect.vue.d.ts +106 -0
- package/dist/components/yselect.vue.d.ts.map +1 -0
- package/dist/components/yswitch.vue.d.ts +79 -0
- package/dist/components/yswitch.vue.d.ts.map +1 -0
- package/dist/components/ytable.vue.d.ts +124 -0
- package/dist/components/ytable.vue.d.ts.map +1 -0
- package/dist/components/ytime.vue.d.ts +103 -0
- package/dist/components/ytime.vue.d.ts.map +1 -0
- package/dist/components/ytree.vue.d.ts +223 -0
- package/dist/components/ytree.vue.d.ts.map +1 -0
- package/dist/index.cjs.js +2 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +3646 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/style.css +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
export interface TableColumn {
|
|
2
|
+
key: string;
|
|
3
|
+
title: string;
|
|
4
|
+
width?: string;
|
|
5
|
+
align?: 'left' | 'center' | 'right';
|
|
6
|
+
formatter?: (value: any, item: any) => string;
|
|
7
|
+
sortable?: boolean;
|
|
8
|
+
fixed?: 'left' | 'right';
|
|
9
|
+
}
|
|
10
|
+
export interface TableProps {
|
|
11
|
+
data: any[];
|
|
12
|
+
columns: TableColumn[];
|
|
13
|
+
selectable?: boolean;
|
|
14
|
+
showBulkActions?: boolean;
|
|
15
|
+
pagination?: boolean;
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
currentPage?: number;
|
|
18
|
+
total?: number;
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
pageSizeOptions?: Array<{
|
|
21
|
+
label: string;
|
|
22
|
+
value: number;
|
|
23
|
+
}>;
|
|
24
|
+
rowKey?: string | ((item: any) => string | number);
|
|
25
|
+
emptyText?: string;
|
|
26
|
+
searchKeyword?: string;
|
|
27
|
+
searchFields?: string[];
|
|
28
|
+
stickyHeader?: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare function clearSelection(): void;
|
|
31
|
+
declare function __VLS_template(): Partial<Record<`cell-${string}`, (_: {
|
|
32
|
+
item: any;
|
|
33
|
+
value: any;
|
|
34
|
+
index: number;
|
|
35
|
+
}) => any>> & {
|
|
36
|
+
"bulk-actions"?(_: {
|
|
37
|
+
selectedItems: (string | number)[];
|
|
38
|
+
clearSelection: typeof clearSelection;
|
|
39
|
+
}): any;
|
|
40
|
+
empty?(_: {}): any;
|
|
41
|
+
};
|
|
42
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableProps>, {
|
|
43
|
+
selectable: boolean;
|
|
44
|
+
showBulkActions: boolean;
|
|
45
|
+
pagination: boolean;
|
|
46
|
+
pageSize: number;
|
|
47
|
+
loading: boolean;
|
|
48
|
+
pageSizeOptions: () => {
|
|
49
|
+
label: string;
|
|
50
|
+
value: number;
|
|
51
|
+
}[];
|
|
52
|
+
rowKey: string;
|
|
53
|
+
emptyText: string;
|
|
54
|
+
searchKeyword: string;
|
|
55
|
+
searchFields: () => never[];
|
|
56
|
+
stickyHeader: boolean;
|
|
57
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
+
select: (selectedItems: (string | number)[]) => void;
|
|
59
|
+
"page-change": (page: number) => void;
|
|
60
|
+
"page-size-change": (size: number) => void;
|
|
61
|
+
edit: (item: any) => void;
|
|
62
|
+
"update:selectedItems": (selectedItems: (string | number)[]) => void;
|
|
63
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableProps>, {
|
|
64
|
+
selectable: boolean;
|
|
65
|
+
showBulkActions: boolean;
|
|
66
|
+
pagination: boolean;
|
|
67
|
+
pageSize: number;
|
|
68
|
+
loading: boolean;
|
|
69
|
+
pageSizeOptions: () => {
|
|
70
|
+
label: string;
|
|
71
|
+
value: number;
|
|
72
|
+
}[];
|
|
73
|
+
rowKey: string;
|
|
74
|
+
emptyText: string;
|
|
75
|
+
searchKeyword: string;
|
|
76
|
+
searchFields: () => never[];
|
|
77
|
+
stickyHeader: boolean;
|
|
78
|
+
}>>> & Readonly<{
|
|
79
|
+
onSelect?: ((selectedItems: (string | number)[]) => any) | undefined;
|
|
80
|
+
"onPage-change"?: ((page: number) => any) | undefined;
|
|
81
|
+
"onPage-size-change"?: ((size: number) => any) | undefined;
|
|
82
|
+
onEdit?: ((item: any) => any) | undefined;
|
|
83
|
+
"onUpdate:selectedItems"?: ((selectedItems: (string | number)[]) => any) | undefined;
|
|
84
|
+
}>, {
|
|
85
|
+
loading: boolean;
|
|
86
|
+
pageSize: number;
|
|
87
|
+
pageSizeOptions: Array<{
|
|
88
|
+
label: string;
|
|
89
|
+
value: number;
|
|
90
|
+
}>;
|
|
91
|
+
selectable: boolean;
|
|
92
|
+
showBulkActions: boolean;
|
|
93
|
+
pagination: boolean;
|
|
94
|
+
rowKey: string | ((item: any) => string | number);
|
|
95
|
+
emptyText: string;
|
|
96
|
+
searchKeyword: string;
|
|
97
|
+
searchFields: string[];
|
|
98
|
+
stickyHeader: boolean;
|
|
99
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
100
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
101
|
+
export default _default;
|
|
102
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
103
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
104
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
105
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
106
|
+
} : {
|
|
107
|
+
type: import('vue').PropType<T[K]>;
|
|
108
|
+
required: true;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
type __VLS_WithDefaults<P, D> = {
|
|
112
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
113
|
+
default: D[K];
|
|
114
|
+
}> : P[K];
|
|
115
|
+
};
|
|
116
|
+
type __VLS_Prettify<T> = {
|
|
117
|
+
[K in keyof T]: T[K];
|
|
118
|
+
} & {};
|
|
119
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
120
|
+
new (): {
|
|
121
|
+
$slots: S;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
//# sourceMappingURL=ytable.vue.d.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AAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
interface TimeRange {
|
|
2
|
+
startDate: Date | null;
|
|
3
|
+
endDate: Date | null;
|
|
4
|
+
}
|
|
5
|
+
interface Shortcut {
|
|
6
|
+
label: string;
|
|
7
|
+
getValue: () => TimeRange;
|
|
8
|
+
}
|
|
9
|
+
interface Props {
|
|
10
|
+
modelValue?: TimeRange | {
|
|
11
|
+
startDate: string | Date | number | null;
|
|
12
|
+
endDate: string | Date | number | null;
|
|
13
|
+
};
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
shortcuts?: Shortcut[];
|
|
16
|
+
clearable?: boolean;
|
|
17
|
+
format?: 'timestamp' | 'string' | 'date';
|
|
18
|
+
includeTime?: boolean;
|
|
19
|
+
size?: 'mini' | 'small' | 'medium' | 'large';
|
|
20
|
+
}
|
|
21
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
22
|
+
modelValue: () => {
|
|
23
|
+
startDate: null;
|
|
24
|
+
endDate: null;
|
|
25
|
+
};
|
|
26
|
+
placeholder: string;
|
|
27
|
+
clearable: boolean;
|
|
28
|
+
format: string;
|
|
29
|
+
includeTime: boolean;
|
|
30
|
+
size: string;
|
|
31
|
+
shortcuts: () => {
|
|
32
|
+
label: string;
|
|
33
|
+
getValue: () => {
|
|
34
|
+
startDate: Date;
|
|
35
|
+
endDate: Date;
|
|
36
|
+
};
|
|
37
|
+
}[];
|
|
38
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
+
change: (value: TimeRange | {
|
|
40
|
+
startDate: string | number | null;
|
|
41
|
+
endDate: string | number | null;
|
|
42
|
+
}) => void;
|
|
43
|
+
"update:modelValue": (value: TimeRange | {
|
|
44
|
+
startDate: string | number | null;
|
|
45
|
+
endDate: string | number | null;
|
|
46
|
+
}) => void;
|
|
47
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
48
|
+
modelValue: () => {
|
|
49
|
+
startDate: null;
|
|
50
|
+
endDate: null;
|
|
51
|
+
};
|
|
52
|
+
placeholder: string;
|
|
53
|
+
clearable: boolean;
|
|
54
|
+
format: string;
|
|
55
|
+
includeTime: boolean;
|
|
56
|
+
size: string;
|
|
57
|
+
shortcuts: () => {
|
|
58
|
+
label: string;
|
|
59
|
+
getValue: () => {
|
|
60
|
+
startDate: Date;
|
|
61
|
+
endDate: Date;
|
|
62
|
+
};
|
|
63
|
+
}[];
|
|
64
|
+
}>>> & Readonly<{
|
|
65
|
+
onChange?: ((value: TimeRange | {
|
|
66
|
+
startDate: string | number | null;
|
|
67
|
+
endDate: string | number | null;
|
|
68
|
+
}) => any) | undefined;
|
|
69
|
+
"onUpdate:modelValue"?: ((value: TimeRange | {
|
|
70
|
+
startDate: string | number | null;
|
|
71
|
+
endDate: string | number | null;
|
|
72
|
+
}) => any) | undefined;
|
|
73
|
+
}>, {
|
|
74
|
+
modelValue: TimeRange | {
|
|
75
|
+
startDate: string | Date | number | null;
|
|
76
|
+
endDate: string | Date | number | null;
|
|
77
|
+
};
|
|
78
|
+
placeholder: string;
|
|
79
|
+
size: "mini" | "small" | "medium" | "large";
|
|
80
|
+
clearable: boolean;
|
|
81
|
+
shortcuts: Shortcut[];
|
|
82
|
+
format: "timestamp" | "string" | "date";
|
|
83
|
+
includeTime: boolean;
|
|
84
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
85
|
+
export default _default;
|
|
86
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
87
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
88
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
89
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
90
|
+
} : {
|
|
91
|
+
type: import('vue').PropType<T[K]>;
|
|
92
|
+
required: true;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
type __VLS_WithDefaults<P, D> = {
|
|
96
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
97
|
+
default: D[K];
|
|
98
|
+
}> : P[K];
|
|
99
|
+
};
|
|
100
|
+
type __VLS_Prettify<T> = {
|
|
101
|
+
[K in keyof T]: T[K];
|
|
102
|
+
} & {};
|
|
103
|
+
//# sourceMappingURL=ytime.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ytime.vue.d.ts","sourceRoot":"","sources":["../../src/components/ytime.vue"],"names":[],"mappings":"AAuOA;AAOA,UAAU,SAAS;IACjB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAA;IACtB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAA;CACrB;AAED,UAAU,QAAQ;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,SAAS,CAAA;CAC1B;AAED,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,SAAS,GAAG;QAAE,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;QAAC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;KAAE,CAAA;IAC7G,WAAW,CAAC,EAAE,MAAM,CAAA;I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,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
export interface TreeNode {
|
|
2
|
+
id?: string | number;
|
|
3
|
+
label: string;
|
|
4
|
+
children?: TreeNode[];
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
isLeaf?: boolean;
|
|
7
|
+
expanded?: boolean;
|
|
8
|
+
checked?: boolean;
|
|
9
|
+
indeterminate?: boolean;
|
|
10
|
+
data?: any;
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}
|
|
13
|
+
export interface TreeProps {
|
|
14
|
+
data?: TreeNode[];
|
|
15
|
+
emptyText?: string;
|
|
16
|
+
nodeKey?: string;
|
|
17
|
+
props?: {
|
|
18
|
+
children?: string;
|
|
19
|
+
label?: string;
|
|
20
|
+
disabled?: string;
|
|
21
|
+
isLeaf?: string;
|
|
22
|
+
};
|
|
23
|
+
renderAfterExpand?: boolean;
|
|
24
|
+
defaultExpandAll?: boolean;
|
|
25
|
+
defaultExpandedKeys?: (string | number)[];
|
|
26
|
+
defaultCheckedKeys?: (string | number)[];
|
|
27
|
+
defaultSelectedKeys?: (string | number)[];
|
|
28
|
+
checkStrictly?: boolean;
|
|
29
|
+
checkOnClickNode?: boolean;
|
|
30
|
+
checkDescendants?: boolean;
|
|
31
|
+
autoExpandParent?: boolean;
|
|
32
|
+
defaultChecked?: boolean;
|
|
33
|
+
filterNodeMethod?: (value: any, data: TreeNode, node: any) => boolean;
|
|
34
|
+
lazy?: boolean;
|
|
35
|
+
load?: (node: TreeNode, resolve: (data: TreeNode[]) => void) => void;
|
|
36
|
+
renderContent?: (h: any, node: TreeNode, data: any, store: any) => any;
|
|
37
|
+
highlightCurrent?: boolean;
|
|
38
|
+
expandOnClickNode?: boolean;
|
|
39
|
+
currentNodeKey?: string | number;
|
|
40
|
+
accordion?: boolean;
|
|
41
|
+
indent?: number;
|
|
42
|
+
iconClass?: string;
|
|
43
|
+
showCheckbox?: boolean;
|
|
44
|
+
draggable?: boolean;
|
|
45
|
+
allowDrag?: (node: TreeNode) => boolean;
|
|
46
|
+
allowDrop?: (draggingNode: TreeNode, dropNode: TreeNode, type: "prev" | "inner" | "next") => boolean;
|
|
47
|
+
size?: "small" | "medium" | "large";
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
deptIconUrl?: string;
|
|
50
|
+
personIconUrl?: string;
|
|
51
|
+
buttonIconUrl?: string;
|
|
52
|
+
enableFourthLevelSpecialHandling?: boolean;
|
|
53
|
+
restrictAutoExpandFromLevel?: number | undefined;
|
|
54
|
+
}
|
|
55
|
+
declare function __VLS_template(): {
|
|
56
|
+
"node-content"?(_: {
|
|
57
|
+
node: TreeNode;
|
|
58
|
+
isCurrent: boolean;
|
|
59
|
+
isExpanded: boolean;
|
|
60
|
+
hasChildren: boolean;
|
|
61
|
+
}): any;
|
|
62
|
+
};
|
|
63
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TreeProps>, {
|
|
64
|
+
data: () => never[];
|
|
65
|
+
emptyText: string;
|
|
66
|
+
nodeKey: string;
|
|
67
|
+
props: () => {
|
|
68
|
+
children: string;
|
|
69
|
+
label: string;
|
|
70
|
+
disabled: string;
|
|
71
|
+
isLeaf: string;
|
|
72
|
+
};
|
|
73
|
+
renderAfterExpand: boolean;
|
|
74
|
+
defaultExpandAll: boolean;
|
|
75
|
+
defaultExpandedKeys: () => never[];
|
|
76
|
+
defaultCheckedKeys: () => never[];
|
|
77
|
+
defaultSelectedKeys: () => never[];
|
|
78
|
+
checkStrictly: boolean;
|
|
79
|
+
checkOnClickNode: boolean;
|
|
80
|
+
checkDescendants: boolean;
|
|
81
|
+
autoExpandParent: boolean;
|
|
82
|
+
defaultChecked: boolean;
|
|
83
|
+
lazy: boolean;
|
|
84
|
+
highlightCurrent: boolean;
|
|
85
|
+
expandOnClickNode: boolean;
|
|
86
|
+
accordion: boolean;
|
|
87
|
+
indent: number;
|
|
88
|
+
iconClass: string;
|
|
89
|
+
showCheckbox: boolean;
|
|
90
|
+
draggable: boolean;
|
|
91
|
+
size: string;
|
|
92
|
+
disabled: boolean;
|
|
93
|
+
deptIconUrl: string;
|
|
94
|
+
personIconUrl: string;
|
|
95
|
+
buttonIconUrl: string;
|
|
96
|
+
enableFourthLevelSpecialHandling: boolean;
|
|
97
|
+
restrictAutoExpandFromLevel: undefined;
|
|
98
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
99
|
+
check: (data: TreeNode, checked: any, indeterminate: any) => void;
|
|
100
|
+
"node-click": (data: TreeNode, node: any, nodeComponent: any) => void;
|
|
101
|
+
"check-change": (data: TreeNode, checked: boolean, indeterminate: boolean) => void;
|
|
102
|
+
"node-contextmenu": (event: Event, data: TreeNode, node: any, nodeComponent: any) => void;
|
|
103
|
+
"current-change": (data: TreeNode, node: any) => void;
|
|
104
|
+
"node-expand": (data: TreeNode, node: any, nodeComponent: any) => void;
|
|
105
|
+
"node-collapse": (data: TreeNode, node: any, nodeComponent: any) => void;
|
|
106
|
+
"node-drag-start": (node: TreeNode, event: DragEvent) => void;
|
|
107
|
+
"node-drag-enter": (draggingNode: TreeNode, dropNode: TreeNode, event: DragEvent) => void;
|
|
108
|
+
"node-drag-leave": (draggingNode: TreeNode, dropNode: TreeNode, event: DragEvent) => void;
|
|
109
|
+
"node-drag-over": (draggingNode: TreeNode, dropNode: TreeNode, event: DragEvent) => void;
|
|
110
|
+
"node-drag-end": (draggingNode: TreeNode, dropNode: TreeNode, event: DragEvent) => void;
|
|
111
|
+
"node-drop": (draggingNode: TreeNode, dropNode: TreeNode, dropType: "inner" | "before" | "after", event: DragEvent) => void;
|
|
112
|
+
"checked-keys-change": (keys: (string | number)[]) => void;
|
|
113
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TreeProps>, {
|
|
114
|
+
data: () => never[];
|
|
115
|
+
emptyText: string;
|
|
116
|
+
nodeKey: string;
|
|
117
|
+
props: () => {
|
|
118
|
+
children: string;
|
|
119
|
+
label: string;
|
|
120
|
+
disabled: string;
|
|
121
|
+
isLeaf: string;
|
|
122
|
+
};
|
|
123
|
+
renderAfterExpand: boolean;
|
|
124
|
+
defaultExpandAll: boolean;
|
|
125
|
+
defaultExpandedKeys: () => never[];
|
|
126
|
+
defaultCheckedKeys: () => never[];
|
|
127
|
+
defaultSelectedKeys: () => never[];
|
|
128
|
+
checkStrictly: boolean;
|
|
129
|
+
checkOnClickNode: boolean;
|
|
130
|
+
checkDescendants: boolean;
|
|
131
|
+
autoExpandParent: boolean;
|
|
132
|
+
defaultChecked: boolean;
|
|
133
|
+
lazy: boolean;
|
|
134
|
+
highlightCurrent: boolean;
|
|
135
|
+
expandOnClickNode: boolean;
|
|
136
|
+
accordion: boolean;
|
|
137
|
+
indent: number;
|
|
138
|
+
iconClass: string;
|
|
139
|
+
showCheckbox: boolean;
|
|
140
|
+
draggable: boolean;
|
|
141
|
+
size: string;
|
|
142
|
+
disabled: boolean;
|
|
143
|
+
deptIconUrl: string;
|
|
144
|
+
personIconUrl: string;
|
|
145
|
+
buttonIconUrl: string;
|
|
146
|
+
enableFourthLevelSpecialHandling: boolean;
|
|
147
|
+
restrictAutoExpandFromLevel: undefined;
|
|
148
|
+
}>>> & Readonly<{
|
|
149
|
+
onCheck?: ((data: TreeNode, checked: any, indeterminate: any) => any) | undefined;
|
|
150
|
+
"onNode-click"?: ((data: TreeNode, node: any, nodeComponent: any) => any) | undefined;
|
|
151
|
+
"onCheck-change"?: ((data: TreeNode, checked: boolean, indeterminate: boolean) => any) | undefined;
|
|
152
|
+
"onNode-contextmenu"?: ((event: Event, data: TreeNode, node: any, nodeComponent: any) => any) | undefined;
|
|
153
|
+
"onCurrent-change"?: ((data: TreeNode, node: any) => any) | undefined;
|
|
154
|
+
"onNode-expand"?: ((data: TreeNode, node: any, nodeComponent: any) => any) | undefined;
|
|
155
|
+
"onNode-collapse"?: ((data: TreeNode, node: any, nodeComponent: any) => any) | undefined;
|
|
156
|
+
"onNode-drag-start"?: ((node: TreeNode, event: DragEvent) => any) | undefined;
|
|
157
|
+
"onNode-drag-enter"?: ((draggingNode: TreeNode, dropNode: TreeNode, event: DragEvent) => any) | undefined;
|
|
158
|
+
"onNode-drag-leave"?: ((draggingNode: TreeNode, dropNode: TreeNode, event: DragEvent) => any) | undefined;
|
|
159
|
+
"onNode-drag-over"?: ((draggingNode: TreeNode, dropNode: TreeNode, event: DragEvent) => any) | undefined;
|
|
160
|
+
"onNode-drag-end"?: ((draggingNode: TreeNode, dropNode: TreeNode, event: DragEvent) => any) | undefined;
|
|
161
|
+
"onNode-drop"?: ((draggingNode: TreeNode, dropNode: TreeNode, dropType: "inner" | "before" | "after", event: DragEvent) => any) | undefined;
|
|
162
|
+
"onChecked-keys-change"?: ((keys: (string | number)[]) => any) | undefined;
|
|
163
|
+
}>, {
|
|
164
|
+
lazy: boolean;
|
|
165
|
+
disabled: boolean;
|
|
166
|
+
size: "small" | "medium" | "large";
|
|
167
|
+
props: {
|
|
168
|
+
children?: string;
|
|
169
|
+
label?: string;
|
|
170
|
+
disabled?: string;
|
|
171
|
+
isLeaf?: string;
|
|
172
|
+
};
|
|
173
|
+
data: TreeNode[];
|
|
174
|
+
emptyText: string;
|
|
175
|
+
showCheckbox: boolean;
|
|
176
|
+
defaultCheckedKeys: (string | number)[];
|
|
177
|
+
nodeKey: string;
|
|
178
|
+
renderAfterExpand: boolean;
|
|
179
|
+
defaultExpandAll: boolean;
|
|
180
|
+
defaultExpandedKeys: (string | number)[];
|
|
181
|
+
defaultSelectedKeys: (string | number)[];
|
|
182
|
+
checkStrictly: boolean;
|
|
183
|
+
checkOnClickNode: boolean;
|
|
184
|
+
checkDescendants: boolean;
|
|
185
|
+
autoExpandParent: boolean;
|
|
186
|
+
defaultChecked: boolean;
|
|
187
|
+
highlightCurrent: boolean;
|
|
188
|
+
expandOnClickNode: boolean;
|
|
189
|
+
accordion: boolean;
|
|
190
|
+
indent: number;
|
|
191
|
+
iconClass: string;
|
|
192
|
+
draggable: boolean;
|
|
193
|
+
deptIconUrl: string;
|
|
194
|
+
personIconUrl: string;
|
|
195
|
+
buttonIconUrl: string;
|
|
196
|
+
enableFourthLevelSpecialHandling: boolean;
|
|
197
|
+
restrictAutoExpandFromLevel: number;
|
|
198
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
199
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
200
|
+
export default _default;
|
|
201
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
202
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
203
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
204
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
205
|
+
} : {
|
|
206
|
+
type: import('vue').PropType<T[K]>;
|
|
207
|
+
required: true;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
type __VLS_WithDefaults<P, D> = {
|
|
211
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
212
|
+
default: D[K];
|
|
213
|
+
}> : P[K];
|
|
214
|
+
};
|
|
215
|
+
type __VLS_Prettify<T> = {
|
|
216
|
+
[K in keyof T]: T[K];
|
|
217
|
+
} & {};
|
|
218
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
219
|
+
new (): {
|
|
220
|
+
$slots: S;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
//# sourceMappingURL=ytree.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ytree.vue.d.ts","sourceRoot":"","sources":["../../src/components/ytree.vue"],"names":[],"mappings":"AAirBA;AAaA,MAAM,WAAW,QAAQ;IACvB,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE;QACN,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,CAAC,E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