@hb-hellotech/hb-ui 1.0.0 → 1.0.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/business-comp/list-page-comp/hb_form_select_filter/index.d.ts +1 -1
- package/dist/components/business-comp/list-page-comp/hb_form_select_modal/src/HbMutilpleSelectModal.vue.d.ts +3 -3
- package/dist/components/business-comp/list-page-comp/hb_list_page_act/src/HbListPageAct.vue.d.ts +0 -1
- package/dist/components/business-comp/list-page-comp/index.d.ts +12 -2
- package/dist/hb_component_lib.css +1 -0
- package/dist/hb_component_lib.js +1294 -35029
- package/dist/hb_component_lib.umd.cjs +1 -180
- package/dist/index.d.ts +81 -1
- package/dist/types/components.d.ts +32 -0
- package/dist/vite-env.d.ts +26 -0
- package/package.json +19 -14
- package/dist/components/func-comp/hb_func_comp_drag/index.d.ts +0 -442
- package/dist/components/func-comp/hb_func_comp_drag/src/index.vue.d.ts +0 -181
- package/dist/components/func-comp/hb_func_comp_drag/src/type.d.ts +0 -45
- package/dist/style.css +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { HbFormItemFilterModalInstance } from './components/business-comp/list-page-comp/hb_form_item_filter_modal';
|
|
2
|
+
export type { HbFormItemFilterModalInstance };
|
|
3
|
+
export { default as HbLibFormItemFilterModal } from './components/business-comp/list-page-comp/hb_form_item_filter_modal';
|
|
4
|
+
export declare const locales: {
|
|
2
5
|
en_US: {
|
|
3
6
|
hbLibComp: {
|
|
4
7
|
HbFileUploadModal: {
|
|
@@ -230,5 +233,82 @@ export declare const location: {
|
|
|
230
233
|
};
|
|
231
234
|
};
|
|
232
235
|
};
|
|
236
|
+
de_DE: {
|
|
237
|
+
hbLibComp: {
|
|
238
|
+
HbFileUploadModal: {
|
|
239
|
+
cancel: string;
|
|
240
|
+
clickUpload: string;
|
|
241
|
+
confirmImport: string;
|
|
242
|
+
dataImport: string;
|
|
243
|
+
downloadTemplate: string;
|
|
244
|
+
dragFile: string;
|
|
245
|
+
file: string;
|
|
246
|
+
fileUpload: string;
|
|
247
|
+
maxSupport: string;
|
|
248
|
+
onlySupport: string;
|
|
249
|
+
placeSelect: string;
|
|
250
|
+
selectFile: string;
|
|
251
|
+
};
|
|
252
|
+
HbLogModal: {
|
|
253
|
+
close: string;
|
|
254
|
+
operateContent: string;
|
|
255
|
+
operateLogs: string;
|
|
256
|
+
operateTime: string;
|
|
257
|
+
operator: string;
|
|
258
|
+
};
|
|
259
|
+
hbFormItemFilterModal: {
|
|
260
|
+
add: string;
|
|
261
|
+
cancel: string;
|
|
262
|
+
confirm: string;
|
|
263
|
+
moreConditionSearch: string;
|
|
264
|
+
mostMore: string;
|
|
265
|
+
mostMoreTip: string;
|
|
266
|
+
noData: string;
|
|
267
|
+
notShowTip: string;
|
|
268
|
+
titleTip: string;
|
|
269
|
+
};
|
|
270
|
+
hbFormSelectFilter: {
|
|
271
|
+
allSelect: string;
|
|
272
|
+
close: string;
|
|
273
|
+
};
|
|
274
|
+
hbLibListForm: {
|
|
275
|
+
queryCase: string;
|
|
276
|
+
};
|
|
277
|
+
hbLibListTableColumsSet: {
|
|
278
|
+
allSelect: string;
|
|
279
|
+
cancelFix: string;
|
|
280
|
+
confirm: string;
|
|
281
|
+
errorTip: string;
|
|
282
|
+
fix: string;
|
|
283
|
+
popoverTitle: string;
|
|
284
|
+
title: string;
|
|
285
|
+
};
|
|
286
|
+
hbListBtnsAct: {
|
|
287
|
+
close: string;
|
|
288
|
+
open: string;
|
|
289
|
+
reload: string;
|
|
290
|
+
};
|
|
291
|
+
hbListPageAct: {
|
|
292
|
+
close: string;
|
|
293
|
+
exitFullScreen: string;
|
|
294
|
+
fullScreen: string;
|
|
295
|
+
open: string;
|
|
296
|
+
query: string;
|
|
297
|
+
reset: string;
|
|
298
|
+
selfDefine: string;
|
|
299
|
+
};
|
|
300
|
+
hbListTable: {
|
|
301
|
+
noData: string;
|
|
302
|
+
};
|
|
303
|
+
hbMultiSelectModal: {
|
|
304
|
+
pleaseSelect: string;
|
|
305
|
+
};
|
|
306
|
+
hbTableAct: {
|
|
307
|
+
confirmContent: string;
|
|
308
|
+
more: string;
|
|
309
|
+
secendConfirm: string;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
233
313
|
};
|
|
234
314
|
export declare const install: (app: any) => void;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// src/types/components.d.ts
|
|
2
|
+
import type { DefineComponent } from 'vue';
|
|
3
|
+
import type { HbSfCmType } from '../components/types/hb_form_item_filter_modal_type';
|
|
4
|
+
import type { SelectorProps_Intf } from '../components/types/hb_form_item_filter_modal_type';
|
|
5
|
+
import type { HbFormSelectModalpropsType } from '../components/types/hb_form_select_modal_type';
|
|
6
|
+
import type { HbListBtnsPropsType } from '../components/types/hb_list_btns_act_type';
|
|
7
|
+
import type { HbFormPropsType } from '../components/types/hb_list_form_type';
|
|
8
|
+
import type { HbListPageActType } from '../components/types/hb_list_page_act_type';
|
|
9
|
+
|
|
10
|
+
import type { HbLibListPageContainerProps } from '../components/types/hb_list_page_container_type';
|
|
11
|
+
import type { Props } from '../components/types/hb_list_table_act_type';
|
|
12
|
+
import type { HbTablePropsType } from '../components/types/hb_list_table_type';
|
|
13
|
+
// 为全局组件提供类型支持
|
|
14
|
+
declare global {
|
|
15
|
+
interface HbUIComponents {
|
|
16
|
+
HbLibFormItemFilterModal: DefineComponent<HbSfCmType, {}, {}>;
|
|
17
|
+
HbLibListForm: DefineComponent<HbFormPropsType, {}, {}>;
|
|
18
|
+
HbLibListPageAct: DefineComponent<HbListPageActType, {}, {}>;
|
|
19
|
+
|
|
20
|
+
HbLibListBtnsAct: DefineComponent<HbListBtnsPropsType, {}, {}>;
|
|
21
|
+
|
|
22
|
+
HbLibListPageContainer: DefineComponent<HbLibListPageContainerProps, {}, {}>;
|
|
23
|
+
|
|
24
|
+
HbLibMutilpleSelectModal: DefineComponent<HbFormSelectModalpropsType, {}, {}>;
|
|
25
|
+
HbLibTableAct: DefineComponent<Props, {}, {}>;
|
|
26
|
+
|
|
27
|
+
HbLibListTable: DefineComponent<HbTablePropsType, {}, {}>;
|
|
28
|
+
// 其他组件...
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export {};
|
package/dist/vite-env.d.ts
CHANGED
|
@@ -5,3 +5,29 @@ declare module '*.vue' {
|
|
|
5
5
|
const component: DefineComponent<{}, {}, any>;
|
|
6
6
|
export default component;
|
|
7
7
|
}
|
|
8
|
+
|
|
9
|
+
// 支持 hooks 导入
|
|
10
|
+
declare module '@hb-hellotech/hb-ui/hooks/*' {
|
|
11
|
+
const hook: any
|
|
12
|
+
export default hook
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// 支持类型导入
|
|
16
|
+
declare module '@hb-hellotech/hb-ui/types/*' {
|
|
17
|
+
const types: any
|
|
18
|
+
export default types
|
|
19
|
+
export * from any
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// 支持 hooks 导入
|
|
23
|
+
declare module '@hb-hellotech/hb-ui/hooks/*' {
|
|
24
|
+
const hook: any
|
|
25
|
+
export default hook
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// 支持类型导入
|
|
29
|
+
declare module '@hb-hellotech/hb-ui' {
|
|
30
|
+
const types: any
|
|
31
|
+
export default types
|
|
32
|
+
export * from any
|
|
33
|
+
}
|
package/package.json
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hb-hellotech/hb-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "./dist/
|
|
6
|
-
"module": "./dist/
|
|
7
|
-
"types": "./dist/
|
|
5
|
+
"main": "./dist/hb_component_lib.umd.cjs",
|
|
6
|
+
"module": "./dist/hb_component_lib.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
8
|
"author": "hello-tech",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/hb_component_lib.js",
|
|
13
|
+
"require": "./dist/hb_component_lib.umd.cjs"
|
|
13
14
|
},
|
|
14
|
-
"./dist/
|
|
15
|
-
"import": "./dist/
|
|
16
|
-
"require": "./dist/
|
|
17
|
-
}
|
|
15
|
+
"./dist/hb_component_lib.css": {
|
|
16
|
+
"import": "./dist/hb_component_lib.css",
|
|
17
|
+
"require": "./dist/hb_component_lib.css"
|
|
18
|
+
},
|
|
19
|
+
"./hooks/*": "./hooks/*"
|
|
18
20
|
},
|
|
19
21
|
"files": [
|
|
20
22
|
"package.json",
|
|
@@ -26,7 +28,10 @@
|
|
|
26
28
|
"scripts": {
|
|
27
29
|
"dev": "vite",
|
|
28
30
|
"pub": "npm publish --tag latest --access public",
|
|
29
|
-
"build": "vite build"
|
|
31
|
+
"build": "vite build",
|
|
32
|
+
"docs:dev": "vitepress dev docs --port 3001",
|
|
33
|
+
"docs:build": "vitepress build docs",
|
|
34
|
+
"docs:preview": "vitepress preview docs"
|
|
30
35
|
},
|
|
31
36
|
"dependencies": {
|
|
32
37
|
"@ant-design/icons-vue": "^6.1.0",
|
|
@@ -41,7 +46,6 @@
|
|
|
41
46
|
"lodash": "^4.17.21",
|
|
42
47
|
"path": "^0.12.7",
|
|
43
48
|
"rollup-plugin-external-globals": "^0.8.0",
|
|
44
|
-
"sass": "^1.55.0",
|
|
45
49
|
"throttle-debounce": "^5.0.0",
|
|
46
50
|
"vite-plugin-dts": "^1.6.6",
|
|
47
51
|
"vite-plugin-libcss": "^1.0.5",
|
|
@@ -51,9 +55,10 @@
|
|
|
51
55
|
"vuedraggable": "4.1.0"
|
|
52
56
|
},
|
|
53
57
|
"devDependencies": {
|
|
54
|
-
"@vitejs/plugin-vue": "^
|
|
58
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
55
59
|
"typescript": "^4.6.4",
|
|
56
|
-
"vite": "^
|
|
60
|
+
"vite": "^7.1.12",
|
|
61
|
+
"vitepress": "^1.6.4",
|
|
57
62
|
"vue-tsc": "^1.0.9"
|
|
58
63
|
}
|
|
59
64
|
}
|
|
@@ -1,442 +0,0 @@
|
|
|
1
|
-
export * from './src/type';
|
|
2
|
-
declare const HbDragInstall: ({
|
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
-
readonly dragList: {
|
|
5
|
-
readonly type: import("vue").PropType<import("./src/type").DragItem_Intf[]>;
|
|
6
|
-
readonly required: true;
|
|
7
|
-
};
|
|
8
|
-
readonly childrenType: {
|
|
9
|
-
readonly type: import("vue").PropType<import("./src/type").ChildrenType>;
|
|
10
|
-
readonly default: "html";
|
|
11
|
-
};
|
|
12
|
-
readonly dragClass: {
|
|
13
|
-
readonly type: StringConstructor;
|
|
14
|
-
readonly default: "drag-item";
|
|
15
|
-
};
|
|
16
|
-
readonly ghostClass: {
|
|
17
|
-
readonly type: StringConstructor;
|
|
18
|
-
readonly default: null;
|
|
19
|
-
};
|
|
20
|
-
readonly chosenClass: {
|
|
21
|
-
readonly type: StringConstructor;
|
|
22
|
-
readonly default: null;
|
|
23
|
-
};
|
|
24
|
-
readonly sort: {
|
|
25
|
-
readonly type: BooleanConstructor;
|
|
26
|
-
readonly default: true;
|
|
27
|
-
};
|
|
28
|
-
readonly handle: {
|
|
29
|
-
readonly type: StringConstructor;
|
|
30
|
-
readonly default: "";
|
|
31
|
-
};
|
|
32
|
-
readonly filter: {
|
|
33
|
-
readonly type: StringConstructor;
|
|
34
|
-
readonly default: "";
|
|
35
|
-
};
|
|
36
|
-
readonly draggable: {
|
|
37
|
-
readonly type: StringConstructor;
|
|
38
|
-
readonly default: "";
|
|
39
|
-
};
|
|
40
|
-
}>> & Readonly<{
|
|
41
|
-
"onUpdate:dragList"?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
onHandleDragStart?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
onHandleDragEnd?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
onHandleDragAdd?: ((...args: any[]) => any) | undefined;
|
|
45
|
-
onHandleDragRemove?: ((...args: any[]) => any) | undefined;
|
|
46
|
-
}>, {
|
|
47
|
-
props: any;
|
|
48
|
-
localData: import("vue").ShallowRef<any[], any[]>;
|
|
49
|
-
bem: {
|
|
50
|
-
b: (block?: string | undefined) => string;
|
|
51
|
-
e: (element: string) => string;
|
|
52
|
-
m: (modifier: string) => string;
|
|
53
|
-
be: (block: string, element: string) => string;
|
|
54
|
-
em: (element: string, modifier: string) => string;
|
|
55
|
-
bem: (block: string, element: string, modifier: string) => string;
|
|
56
|
-
is: (name: string, state: string | boolean) => string;
|
|
57
|
-
};
|
|
58
|
-
emits: (event: "update:dragList" | "handleDragStart" | "handleDragEnd" | "handleDragAdd" | "handleDragRemove", ...args: any[]) => void;
|
|
59
|
-
handleDragStart: (e: any) => void;
|
|
60
|
-
handleDragEnd: (e: any) => void;
|
|
61
|
-
handleDragAdd: (e: any) => void;
|
|
62
|
-
handleDragRemove: (e: any) => void;
|
|
63
|
-
readonly draggable: import("vue").DefineComponent<{
|
|
64
|
-
list: {
|
|
65
|
-
type: ArrayConstructor;
|
|
66
|
-
required: boolean;
|
|
67
|
-
default: any;
|
|
68
|
-
};
|
|
69
|
-
modelValue: {
|
|
70
|
-
type: ArrayConstructor;
|
|
71
|
-
required: boolean;
|
|
72
|
-
default: any;
|
|
73
|
-
};
|
|
74
|
-
itemKey: {
|
|
75
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
76
|
-
required: boolean;
|
|
77
|
-
};
|
|
78
|
-
clone: {
|
|
79
|
-
type: FunctionConstructor;
|
|
80
|
-
default: (original: any) => any;
|
|
81
|
-
};
|
|
82
|
-
tag: {
|
|
83
|
-
type: StringConstructor;
|
|
84
|
-
default: string;
|
|
85
|
-
};
|
|
86
|
-
move: {
|
|
87
|
-
type: FunctionConstructor;
|
|
88
|
-
default: any;
|
|
89
|
-
};
|
|
90
|
-
componentData: {
|
|
91
|
-
type: ObjectConstructor;
|
|
92
|
-
required: boolean;
|
|
93
|
-
default: any;
|
|
94
|
-
};
|
|
95
|
-
}, unknown, {
|
|
96
|
-
error: boolean;
|
|
97
|
-
}, {
|
|
98
|
-
realList(): any;
|
|
99
|
-
getKey(): any;
|
|
100
|
-
}, {
|
|
101
|
-
getUnderlyingVm(domElement: any): any;
|
|
102
|
-
getUnderlyingPotencialDraggableComponent(htmElement: any): any;
|
|
103
|
-
emitChanges(evt: any): void;
|
|
104
|
-
alterList(onList: any): void;
|
|
105
|
-
spliceList(): void;
|
|
106
|
-
updatePosition(oldIndex: any, newIndex: any): void;
|
|
107
|
-
getRelatedContextFromMoveEvent({ to, related }: {
|
|
108
|
-
to: any;
|
|
109
|
-
related: any;
|
|
110
|
-
}): any;
|
|
111
|
-
getVmIndexFromDomIndex(domIndex: any): any;
|
|
112
|
-
onDragStart(evt: any): void;
|
|
113
|
-
onDragAdd(evt: any): void;
|
|
114
|
-
onDragRemove(evt: any): void;
|
|
115
|
-
onDragUpdate(evt: any): void;
|
|
116
|
-
computeFutureIndex(relatedContext: any, evt: any): any;
|
|
117
|
-
onDragMove(evt: any, originalEvent: any): any;
|
|
118
|
-
onDragEnd(): void;
|
|
119
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
120
|
-
move: Function;
|
|
121
|
-
tag: string;
|
|
122
|
-
clone: Function;
|
|
123
|
-
list: unknown[];
|
|
124
|
-
modelValue: unknown[];
|
|
125
|
-
componentData: Record<string, any>;
|
|
126
|
-
} & {
|
|
127
|
-
itemKey?: string | Function | undefined;
|
|
128
|
-
}>, {
|
|
129
|
-
move: Function;
|
|
130
|
-
tag: string;
|
|
131
|
-
clone: Function;
|
|
132
|
-
list: unknown[];
|
|
133
|
-
modelValue: unknown[];
|
|
134
|
-
componentData: Record<string, any>;
|
|
135
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
136
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:dragList" | "handleDragStart" | "handleDragEnd" | "handleDragAdd" | "handleDragRemove")[], import("vue").PublicProps, {
|
|
137
|
-
readonly sort: boolean;
|
|
138
|
-
readonly filter: string;
|
|
139
|
-
readonly childrenType: import("./src/type").ChildrenType;
|
|
140
|
-
readonly dragClass: string;
|
|
141
|
-
readonly ghostClass: string;
|
|
142
|
-
readonly chosenClass: string;
|
|
143
|
-
readonly handle: string;
|
|
144
|
-
readonly draggable: string;
|
|
145
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
146
|
-
P: {};
|
|
147
|
-
B: {};
|
|
148
|
-
D: {};
|
|
149
|
-
C: {};
|
|
150
|
-
M: {};
|
|
151
|
-
Defaults: {};
|
|
152
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
153
|
-
readonly dragList: {
|
|
154
|
-
readonly type: import("vue").PropType<import("./src/type").DragItem_Intf[]>;
|
|
155
|
-
readonly required: true;
|
|
156
|
-
};
|
|
157
|
-
readonly childrenType: {
|
|
158
|
-
readonly type: import("vue").PropType<import("./src/type").ChildrenType>;
|
|
159
|
-
readonly default: "html";
|
|
160
|
-
};
|
|
161
|
-
readonly dragClass: {
|
|
162
|
-
readonly type: StringConstructor;
|
|
163
|
-
readonly default: "drag-item";
|
|
164
|
-
};
|
|
165
|
-
readonly ghostClass: {
|
|
166
|
-
readonly type: StringConstructor;
|
|
167
|
-
readonly default: null;
|
|
168
|
-
};
|
|
169
|
-
readonly chosenClass: {
|
|
170
|
-
readonly type: StringConstructor;
|
|
171
|
-
readonly default: null;
|
|
172
|
-
};
|
|
173
|
-
readonly sort: {
|
|
174
|
-
readonly type: BooleanConstructor;
|
|
175
|
-
readonly default: true;
|
|
176
|
-
};
|
|
177
|
-
readonly handle: {
|
|
178
|
-
readonly type: StringConstructor;
|
|
179
|
-
readonly default: "";
|
|
180
|
-
};
|
|
181
|
-
readonly filter: {
|
|
182
|
-
readonly type: StringConstructor;
|
|
183
|
-
readonly default: "";
|
|
184
|
-
};
|
|
185
|
-
readonly draggable: {
|
|
186
|
-
readonly type: StringConstructor;
|
|
187
|
-
readonly default: "";
|
|
188
|
-
};
|
|
189
|
-
}>> & Readonly<{
|
|
190
|
-
"onUpdate:dragList"?: ((...args: any[]) => any) | undefined;
|
|
191
|
-
onHandleDragStart?: ((...args: any[]) => any) | undefined;
|
|
192
|
-
onHandleDragEnd?: ((...args: any[]) => any) | undefined;
|
|
193
|
-
onHandleDragAdd?: ((...args: any[]) => any) | undefined;
|
|
194
|
-
onHandleDragRemove?: ((...args: any[]) => any) | undefined;
|
|
195
|
-
}>, {
|
|
196
|
-
props: any;
|
|
197
|
-
localData: import("vue").ShallowRef<any[], any[]>;
|
|
198
|
-
bem: {
|
|
199
|
-
b: (block?: string | undefined) => string;
|
|
200
|
-
e: (element: string) => string;
|
|
201
|
-
m: (modifier: string) => string;
|
|
202
|
-
be: (block: string, element: string) => string;
|
|
203
|
-
em: (element: string, modifier: string) => string;
|
|
204
|
-
bem: (block: string, element: string, modifier: string) => string;
|
|
205
|
-
is: (name: string, state: string | boolean) => string;
|
|
206
|
-
};
|
|
207
|
-
emits: (event: "update:dragList" | "handleDragStart" | "handleDragEnd" | "handleDragAdd" | "handleDragRemove", ...args: any[]) => void;
|
|
208
|
-
handleDragStart: (e: any) => void;
|
|
209
|
-
handleDragEnd: (e: any) => void;
|
|
210
|
-
handleDragAdd: (e: any) => void;
|
|
211
|
-
handleDragRemove: (e: any) => void;
|
|
212
|
-
readonly draggable: import("vue").DefineComponent<{
|
|
213
|
-
list: {
|
|
214
|
-
type: ArrayConstructor;
|
|
215
|
-
required: boolean;
|
|
216
|
-
default: any;
|
|
217
|
-
};
|
|
218
|
-
modelValue: {
|
|
219
|
-
type: ArrayConstructor;
|
|
220
|
-
required: boolean;
|
|
221
|
-
default: any;
|
|
222
|
-
};
|
|
223
|
-
itemKey: {
|
|
224
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
225
|
-
required: boolean;
|
|
226
|
-
};
|
|
227
|
-
clone: {
|
|
228
|
-
type: FunctionConstructor;
|
|
229
|
-
default: (original: any) => any;
|
|
230
|
-
};
|
|
231
|
-
tag: {
|
|
232
|
-
type: StringConstructor;
|
|
233
|
-
default: string;
|
|
234
|
-
};
|
|
235
|
-
move: {
|
|
236
|
-
type: FunctionConstructor;
|
|
237
|
-
default: any;
|
|
238
|
-
};
|
|
239
|
-
componentData: {
|
|
240
|
-
type: ObjectConstructor;
|
|
241
|
-
required: boolean;
|
|
242
|
-
default: any;
|
|
243
|
-
};
|
|
244
|
-
}, unknown, {
|
|
245
|
-
error: boolean;
|
|
246
|
-
}, {
|
|
247
|
-
realList(): any;
|
|
248
|
-
getKey(): any;
|
|
249
|
-
}, {
|
|
250
|
-
getUnderlyingVm(domElement: any): any;
|
|
251
|
-
getUnderlyingPotencialDraggableComponent(htmElement: any): any;
|
|
252
|
-
emitChanges(evt: any): void;
|
|
253
|
-
alterList(onList: any): void;
|
|
254
|
-
spliceList(): void;
|
|
255
|
-
updatePosition(oldIndex: any, newIndex: any): void;
|
|
256
|
-
getRelatedContextFromMoveEvent({ to, related }: {
|
|
257
|
-
to: any;
|
|
258
|
-
related: any;
|
|
259
|
-
}): any;
|
|
260
|
-
getVmIndexFromDomIndex(domIndex: any): any;
|
|
261
|
-
onDragStart(evt: any): void;
|
|
262
|
-
onDragAdd(evt: any): void;
|
|
263
|
-
onDragRemove(evt: any): void;
|
|
264
|
-
onDragUpdate(evt: any): void;
|
|
265
|
-
computeFutureIndex(relatedContext: any, evt: any): any;
|
|
266
|
-
onDragMove(evt: any, originalEvent: any): any;
|
|
267
|
-
onDragEnd(): void;
|
|
268
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
269
|
-
move: Function;
|
|
270
|
-
tag: string;
|
|
271
|
-
clone: Function;
|
|
272
|
-
list: unknown[];
|
|
273
|
-
modelValue: unknown[];
|
|
274
|
-
componentData: Record<string, any>;
|
|
275
|
-
} & {
|
|
276
|
-
itemKey?: string | Function | undefined;
|
|
277
|
-
}>, {
|
|
278
|
-
move: Function;
|
|
279
|
-
tag: string;
|
|
280
|
-
clone: Function;
|
|
281
|
-
list: unknown[];
|
|
282
|
-
modelValue: unknown[];
|
|
283
|
-
componentData: Record<string, any>;
|
|
284
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
285
|
-
}, {}, {}, {}, {
|
|
286
|
-
readonly sort: boolean;
|
|
287
|
-
readonly filter: string;
|
|
288
|
-
readonly childrenType: import("./src/type").ChildrenType;
|
|
289
|
-
readonly dragClass: string;
|
|
290
|
-
readonly ghostClass: string;
|
|
291
|
-
readonly chosenClass: string;
|
|
292
|
-
readonly handle: string;
|
|
293
|
-
readonly draggable: string;
|
|
294
|
-
}>;
|
|
295
|
-
__isFragment?: undefined;
|
|
296
|
-
__isTeleport?: undefined;
|
|
297
|
-
__isSuspense?: undefined;
|
|
298
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
299
|
-
readonly dragList: {
|
|
300
|
-
readonly type: import("vue").PropType<import("./src/type").DragItem_Intf[]>;
|
|
301
|
-
readonly required: true;
|
|
302
|
-
};
|
|
303
|
-
readonly childrenType: {
|
|
304
|
-
readonly type: import("vue").PropType<import("./src/type").ChildrenType>;
|
|
305
|
-
readonly default: "html";
|
|
306
|
-
};
|
|
307
|
-
readonly dragClass: {
|
|
308
|
-
readonly type: StringConstructor;
|
|
309
|
-
readonly default: "drag-item";
|
|
310
|
-
};
|
|
311
|
-
readonly ghostClass: {
|
|
312
|
-
readonly type: StringConstructor;
|
|
313
|
-
readonly default: null;
|
|
314
|
-
};
|
|
315
|
-
readonly chosenClass: {
|
|
316
|
-
readonly type: StringConstructor;
|
|
317
|
-
readonly default: null;
|
|
318
|
-
};
|
|
319
|
-
readonly sort: {
|
|
320
|
-
readonly type: BooleanConstructor;
|
|
321
|
-
readonly default: true;
|
|
322
|
-
};
|
|
323
|
-
readonly handle: {
|
|
324
|
-
readonly type: StringConstructor;
|
|
325
|
-
readonly default: "";
|
|
326
|
-
};
|
|
327
|
-
readonly filter: {
|
|
328
|
-
readonly type: StringConstructor;
|
|
329
|
-
readonly default: "";
|
|
330
|
-
};
|
|
331
|
-
readonly draggable: {
|
|
332
|
-
readonly type: StringConstructor;
|
|
333
|
-
readonly default: "";
|
|
334
|
-
};
|
|
335
|
-
}>> & Readonly<{
|
|
336
|
-
"onUpdate:dragList"?: ((...args: any[]) => any) | undefined;
|
|
337
|
-
onHandleDragStart?: ((...args: any[]) => any) | undefined;
|
|
338
|
-
onHandleDragEnd?: ((...args: any[]) => any) | undefined;
|
|
339
|
-
onHandleDragAdd?: ((...args: any[]) => any) | undefined;
|
|
340
|
-
onHandleDragRemove?: ((...args: any[]) => any) | undefined;
|
|
341
|
-
}>, {
|
|
342
|
-
props: any;
|
|
343
|
-
localData: import("vue").ShallowRef<any[], any[]>;
|
|
344
|
-
bem: {
|
|
345
|
-
b: (block?: string | undefined) => string;
|
|
346
|
-
e: (element: string) => string;
|
|
347
|
-
m: (modifier: string) => string;
|
|
348
|
-
be: (block: string, element: string) => string;
|
|
349
|
-
em: (element: string, modifier: string) => string;
|
|
350
|
-
bem: (block: string, element: string, modifier: string) => string;
|
|
351
|
-
is: (name: string, state: string | boolean) => string;
|
|
352
|
-
};
|
|
353
|
-
emits: (event: "update:dragList" | "handleDragStart" | "handleDragEnd" | "handleDragAdd" | "handleDragRemove", ...args: any[]) => void;
|
|
354
|
-
handleDragStart: (e: any) => void;
|
|
355
|
-
handleDragEnd: (e: any) => void;
|
|
356
|
-
handleDragAdd: (e: any) => void;
|
|
357
|
-
handleDragRemove: (e: any) => void;
|
|
358
|
-
readonly draggable: import("vue").DefineComponent<{
|
|
359
|
-
list: {
|
|
360
|
-
type: ArrayConstructor;
|
|
361
|
-
required: boolean;
|
|
362
|
-
default: any;
|
|
363
|
-
};
|
|
364
|
-
modelValue: {
|
|
365
|
-
type: ArrayConstructor;
|
|
366
|
-
required: boolean;
|
|
367
|
-
default: any;
|
|
368
|
-
};
|
|
369
|
-
itemKey: {
|
|
370
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
371
|
-
required: boolean;
|
|
372
|
-
};
|
|
373
|
-
clone: {
|
|
374
|
-
type: FunctionConstructor;
|
|
375
|
-
default: (original: any) => any;
|
|
376
|
-
};
|
|
377
|
-
tag: {
|
|
378
|
-
type: StringConstructor;
|
|
379
|
-
default: string;
|
|
380
|
-
};
|
|
381
|
-
move: {
|
|
382
|
-
type: FunctionConstructor;
|
|
383
|
-
default: any;
|
|
384
|
-
};
|
|
385
|
-
componentData: {
|
|
386
|
-
type: ObjectConstructor;
|
|
387
|
-
required: boolean;
|
|
388
|
-
default: any;
|
|
389
|
-
};
|
|
390
|
-
}, unknown, {
|
|
391
|
-
error: boolean;
|
|
392
|
-
}, {
|
|
393
|
-
realList(): any;
|
|
394
|
-
getKey(): any;
|
|
395
|
-
}, {
|
|
396
|
-
getUnderlyingVm(domElement: any): any;
|
|
397
|
-
getUnderlyingPotencialDraggableComponent(htmElement: any): any;
|
|
398
|
-
emitChanges(evt: any): void;
|
|
399
|
-
alterList(onList: any): void;
|
|
400
|
-
spliceList(): void;
|
|
401
|
-
updatePosition(oldIndex: any, newIndex: any): void;
|
|
402
|
-
getRelatedContextFromMoveEvent({ to, related }: {
|
|
403
|
-
to: any;
|
|
404
|
-
related: any;
|
|
405
|
-
}): any;
|
|
406
|
-
getVmIndexFromDomIndex(domIndex: any): any;
|
|
407
|
-
onDragStart(evt: any): void;
|
|
408
|
-
onDragAdd(evt: any): void;
|
|
409
|
-
onDragRemove(evt: any): void;
|
|
410
|
-
onDragUpdate(evt: any): void;
|
|
411
|
-
computeFutureIndex(relatedContext: any, evt: any): any;
|
|
412
|
-
onDragMove(evt: any, originalEvent: any): any;
|
|
413
|
-
onDragEnd(): void;
|
|
414
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
415
|
-
move: Function;
|
|
416
|
-
tag: string;
|
|
417
|
-
clone: Function;
|
|
418
|
-
list: unknown[];
|
|
419
|
-
modelValue: unknown[];
|
|
420
|
-
componentData: Record<string, any>;
|
|
421
|
-
} & {
|
|
422
|
-
itemKey?: string | Function | undefined;
|
|
423
|
-
}>, {
|
|
424
|
-
move: Function;
|
|
425
|
-
tag: string;
|
|
426
|
-
clone: Function;
|
|
427
|
-
list: unknown[];
|
|
428
|
-
modelValue: unknown[];
|
|
429
|
-
componentData: Record<string, any>;
|
|
430
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
431
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:dragList" | "handleDragStart" | "handleDragEnd" | "handleDragAdd" | "handleDragRemove")[], "update:dragList" | "handleDragStart" | "handleDragEnd" | "handleDragAdd" | "handleDragRemove", {
|
|
432
|
-
readonly sort: boolean;
|
|
433
|
-
readonly filter: string;
|
|
434
|
-
readonly childrenType: import("./src/type").ChildrenType;
|
|
435
|
-
readonly dragClass: string;
|
|
436
|
-
readonly ghostClass: string;
|
|
437
|
-
readonly chosenClass: string;
|
|
438
|
-
readonly handle: string;
|
|
439
|
-
readonly draggable: string;
|
|
440
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]>) & Record<string, any>;
|
|
441
|
-
export default HbDragInstall;
|
|
442
|
-
export type HbDragInstance = InstanceType<typeof HbDragInstall>;
|