@hb-hellotech/hb-ui 1.0.0 → 1.0.2
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_item_filter_modal/index.d.ts +2 -1
- package/dist/components/business-comp/list-page-comp/hb_form_item_filter_modal/index.d.ts.map +1 -0
- package/dist/components/{types/hb_form_item_filter_modal_type.d.ts → business-comp/list-page-comp/hb_form_item_filter_modal/src/type.d.ts} +9 -4
- package/dist/components/business-comp/list-page-comp/hb_form_item_filter_modal/src/type.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_form_select_filter/index.d.ts +3 -2
- package/dist/components/business-comp/list-page-comp/hb_form_select_filter/index.d.ts.map +1 -0
- package/dist/components/{types/hb_form_select_filter_type.d.ts → business-comp/list-page-comp/hb_form_select_filter/src/type.d.ts} +1 -0
- package/dist/components/business-comp/list-page-comp/hb_form_select_filter/src/type.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_form_select_modal/index.d.ts +2 -1
- package/dist/components/business-comp/list-page-comp/hb_form_select_modal/index.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_form_select_modal/src/HbMutilpleSelectModal.vue.d.ts +69 -56
- package/dist/components/business-comp/list-page-comp/hb_form_select_modal/src/HbMutilpleSelectModal.vue.d.ts.map +1 -0
- package/dist/components/{types/hb_form_select_modal_type.d.ts → business-comp/list-page-comp/hb_form_select_modal/src/type.d.ts} +10 -0
- package/dist/components/business-comp/list-page-comp/hb_form_select_modal/src/type.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_list_btns_act/index.d.ts +2 -0
- package/dist/components/business-comp/list-page-comp/hb_list_btns_act/index.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_list_btns_act/src/HbListBtns.vue.d.ts +43 -35
- package/dist/components/business-comp/list-page-comp/hb_list_btns_act/src/HbListBtns.vue.d.ts.map +1 -0
- package/dist/components/{types/hb_list_btns_act_type.d.ts → business-comp/list-page-comp/hb_list_btns_act/src/type.d.ts} +9 -1
- package/dist/components/business-comp/list-page-comp/hb_list_btns_act/src/type.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_list_form/index.d.ts +2 -1
- package/dist/components/business-comp/list-page-comp/hb_list_form/index.d.ts.map +1 -0
- package/dist/components/{types/hb_list_form_type.d.ts → business-comp/list-page-comp/hb_list_form/src/type.d.ts} +13 -0
- package/dist/components/business-comp/list-page-comp/hb_list_form/src/type.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_list_page_act/index.d.ts +2 -0
- package/dist/components/business-comp/list-page-comp/hb_list_page_act/index.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_list_page_act/src/HbListPageAct.vue.d.ts +34 -30
- package/dist/components/business-comp/list-page-comp/hb_list_page_act/src/HbListPageAct.vue.d.ts.map +1 -0
- package/dist/components/{types/hb_list_page_act_type.d.ts → business-comp/list-page-comp/hb_list_page_act/src/type.d.ts} +8 -1
- package/dist/components/business-comp/list-page-comp/hb_list_page_act/src/type.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_list_page_container/index.d.ts +2 -0
- package/dist/components/business-comp/list-page-comp/hb_list_page_container/index.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_list_page_container/src/HbListPageContainer.vue.d.ts +31 -22
- package/dist/components/business-comp/list-page-comp/hb_list_page_container/src/HbListPageContainer.vue.d.ts.map +1 -0
- package/dist/components/{types/hb_list_page_container_type.d.ts → business-comp/list-page-comp/hb_list_page_container/src/type.d.ts} +7 -0
- package/dist/components/business-comp/list-page-comp/hb_list_page_container/src/type.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_list_table/index.d.ts +2 -1
- package/dist/components/business-comp/list-page-comp/hb_list_table/index.d.ts.map +1 -0
- package/dist/components/{types/hb_list_table_type.d.ts → business-comp/list-page-comp/hb_list_table/src/type.d.ts} +8 -0
- package/dist/components/business-comp/list-page-comp/hb_list_table/src/type.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_list_table_act/index.d.ts +2 -0
- package/dist/components/business-comp/list-page-comp/hb_list_table_act/index.d.ts.map +1 -0
- package/dist/components/{types/hb_list_table_act_type.d.ts → business-comp/list-page-comp/hb_list_table_act/src/type.d.ts} +1 -0
- package/dist/components/business-comp/list-page-comp/hb_list_table_act/src/type.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/hb_list_table_colums_set/index.d.ts +2 -0
- package/dist/components/business-comp/list-page-comp/hb_list_table_colums_set/index.d.ts.map +1 -0
- package/dist/components/{types/hb_list_table_colums_set_type.d.ts → business-comp/list-page-comp/hb_list_table_colums_set/src/type.d.ts} +1 -0
- package/dist/components/business-comp/list-page-comp/hb_list_table_colums_set/src/type.d.ts.map +1 -0
- package/dist/components/business-comp/list-page-comp/index.d.ts +13 -2
- package/dist/components/business-comp/list-page-comp/index.d.ts.map +1 -0
- package/dist/components/func-comp/hb_func_comp_copy/index.d.ts +1 -0
- package/dist/components/func-comp/hb_func_comp_copy/index.d.ts.map +1 -0
- package/dist/components/func-comp/hb_func_comp_copy/src/copy.vue.d.ts +1 -0
- package/dist/components/func-comp/hb_func_comp_copy/src/copy.vue.d.ts.map +1 -0
- package/dist/components/func-comp/hb_func_comp_copy/src/type.d.ts +1 -0
- package/dist/components/func-comp/hb_func_comp_copy/src/type.d.ts.map +1 -0
- package/dist/components/func-comp/hb_func_comp_tree/index.d.ts +1 -0
- package/dist/components/func-comp/hb_func_comp_tree/index.d.ts.map +1 -0
- package/dist/components/func-comp/hb_func_comp_tree/src/tree.d.ts +1 -0
- package/dist/components/func-comp/hb_func_comp_tree/src/tree.d.ts.map +1 -0
- package/dist/components/func-comp/hb_func_comp_tree/src/tree.vue.d.ts +1 -0
- package/dist/components/func-comp/hb_func_comp_tree/src/tree.vue.d.ts.map +1 -0
- package/dist/components/func-comp/hb_func_comp_tree/src/treeNode.vue.d.ts +1 -0
- package/dist/components/func-comp/hb_func_comp_tree/src/treeNode.vue.d.ts.map +1 -0
- package/dist/components/func-comp/index.d.ts +1 -0
- package/dist/components/func-comp/index.d.ts.map +1 -0
- package/dist/components/hooks/useCalTableHeight.d.ts +1 -0
- package/dist/components/hooks/useCalTableHeight.d.ts.map +1 -0
- package/dist/components/hooks/useCalTableWidth.d.ts +1 -0
- package/dist/components/hooks/useCalTableWidth.d.ts.map +1 -0
- package/dist/components/utils/createBem.d.ts +1 -0
- package/dist/components/utils/createBem.d.ts.map +1 -0
- package/dist/components/utils/withInstall.d.ts +1 -0
- package/dist/components/utils/withInstall.d.ts.map +1 -0
- package/dist/hb_component_lib.css +1 -0
- package/dist/hb_component_lib.js +1414 -35184
- package/dist/hb_component_lib.umd.cjs +1 -180
- package/dist/index.d.ts +85 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/shims-vue.d.ts +5 -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,10 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './components/business-comp/list-page-comp/hb_form_item_filter_modal/src/type';
|
|
2
|
+
export * from './components/business-comp/list-page-comp/hb_list_table/src/type';
|
|
3
|
+
export * from './components/business-comp/list-page-comp/hb_list_page_container/src/type';
|
|
4
|
+
export * from './components/business-comp/list-page-comp/hb_list_btns_act/src/type';
|
|
5
|
+
export * from './components/business-comp/list-page-comp/hb_list_table/src/type';
|
|
6
|
+
export { default as HbLibFormItemFilterModal } from './components/business-comp/list-page-comp/hb_form_item_filter_modal';
|
|
7
|
+
export declare const locales: {
|
|
2
8
|
en_US: {
|
|
3
9
|
hbLibComp: {
|
|
4
10
|
HbFileUploadModal: {
|
|
@@ -230,5 +236,83 @@ export declare const location: {
|
|
|
230
236
|
};
|
|
231
237
|
};
|
|
232
238
|
};
|
|
239
|
+
de_DE: {
|
|
240
|
+
hbLibComp: {
|
|
241
|
+
HbFileUploadModal: {
|
|
242
|
+
cancel: string;
|
|
243
|
+
clickUpload: string;
|
|
244
|
+
confirmImport: string;
|
|
245
|
+
dataImport: string;
|
|
246
|
+
downloadTemplate: string;
|
|
247
|
+
dragFile: string;
|
|
248
|
+
file: string;
|
|
249
|
+
fileUpload: string;
|
|
250
|
+
maxSupport: string;
|
|
251
|
+
onlySupport: string;
|
|
252
|
+
placeSelect: string;
|
|
253
|
+
selectFile: string;
|
|
254
|
+
};
|
|
255
|
+
HbLogModal: {
|
|
256
|
+
close: string;
|
|
257
|
+
operateContent: string;
|
|
258
|
+
operateLogs: string;
|
|
259
|
+
operateTime: string;
|
|
260
|
+
operator: string;
|
|
261
|
+
};
|
|
262
|
+
hbFormItemFilterModal: {
|
|
263
|
+
add: string;
|
|
264
|
+
cancel: string;
|
|
265
|
+
confirm: string;
|
|
266
|
+
moreConditionSearch: string;
|
|
267
|
+
mostMore: string;
|
|
268
|
+
mostMoreTip: string;
|
|
269
|
+
noData: string;
|
|
270
|
+
notShowTip: string;
|
|
271
|
+
titleTip: string;
|
|
272
|
+
};
|
|
273
|
+
hbFormSelectFilter: {
|
|
274
|
+
allSelect: string;
|
|
275
|
+
close: string;
|
|
276
|
+
};
|
|
277
|
+
hbLibListForm: {
|
|
278
|
+
queryCase: string;
|
|
279
|
+
};
|
|
280
|
+
hbLibListTableColumsSet: {
|
|
281
|
+
allSelect: string;
|
|
282
|
+
cancelFix: string;
|
|
283
|
+
confirm: string;
|
|
284
|
+
errorTip: string;
|
|
285
|
+
fix: string;
|
|
286
|
+
popoverTitle: string;
|
|
287
|
+
title: string;
|
|
288
|
+
};
|
|
289
|
+
hbListBtnsAct: {
|
|
290
|
+
close: string;
|
|
291
|
+
open: string;
|
|
292
|
+
reload: string;
|
|
293
|
+
};
|
|
294
|
+
hbListPageAct: {
|
|
295
|
+
close: string;
|
|
296
|
+
exitFullScreen: string;
|
|
297
|
+
fullScreen: string;
|
|
298
|
+
open: string;
|
|
299
|
+
query: string;
|
|
300
|
+
reset: string;
|
|
301
|
+
selfDefine: string;
|
|
302
|
+
};
|
|
303
|
+
hbListTable: {
|
|
304
|
+
noData: string;
|
|
305
|
+
};
|
|
306
|
+
hbMultiSelectModal: {
|
|
307
|
+
pleaseSelect: string;
|
|
308
|
+
};
|
|
309
|
+
hbTableAct: {
|
|
310
|
+
confirmContent: string;
|
|
311
|
+
more: string;
|
|
312
|
+
secendConfirm: string;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
};
|
|
233
316
|
};
|
|
234
317
|
export declare const install: (app: any) => void;
|
|
318
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AASA,OAAO,oBAAoB,CAAC;AAG5B,OAAO,qBAAqB,CAAC;AAG7B,cAAc,8EAA8E,CAAC;AAC7F,cAAc,kEAAkE,CAAC;AACjF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,qEAAqE,CAAC;AACpF,cAAc,kEAAkE,CAAC;AAEjF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,qEAAqE,CAAC;AAE1H,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnB,CAAC;AACF,eAAO,MAAM,OAAO,QAAkB,GAAG,SAKxC,CAAC"}
|
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.2",
|
|
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>;
|