@hb-hellotech/hb-ui 0.0.3 → 0.0.9
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_modal/src/HbMutilpleSelectModal.vue.d.ts +3 -3
- package/dist/components/business-comp/list-page-comp/hb_list_btns_act/src/HbListBtns.vue.d.ts +3 -3
- package/dist/components/business-comp/list-page-comp/hb_list_page_act/src/HbListPageAct.vue.d.ts +3 -3
- package/dist/hb_component_lib.css +1 -1
- package/dist/hb_component_lib.js +26407 -35253
- package/dist/hb_component_lib.umd.cjs +41 -76
- package/package.json +4 -4
- package/dist/components/business-comp/list-page-comp/hb_form_item_filter_modal/index.d.ts +0 -4
- package/dist/components/business-comp/list-page-comp/hb_list_table_colums_set/index.d.ts +0 -3
- 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/components/types/hb_list_table_colums_set_type.d.ts +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hb-hellotech/hb-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/hb_component_lib.umd.cjs",
|
|
6
6
|
"module": "./dist/hb_component_lib.js",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"import": "./dist/hb_component_lib.js",
|
|
13
13
|
"require": "./dist/hb_component_lib.umd.cjs"
|
|
14
14
|
},
|
|
15
|
-
"./dist/
|
|
16
|
-
"import": "./dist/
|
|
17
|
-
"require": "./dist/
|
|
15
|
+
"./dist/hb_component_lib.css": {
|
|
16
|
+
"import": "./dist/hb_component_lib.css",
|
|
17
|
+
"require": "./dist/hb_component_lib.css"
|
|
18
18
|
},
|
|
19
19
|
"./hooks/*": "./hooks/*"
|
|
20
20
|
},
|
|
@@ -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>;
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
readonly dragList: {
|
|
3
|
-
readonly type: import("vue").PropType<import("./type").DragItem_Intf[]>;
|
|
4
|
-
readonly required: true;
|
|
5
|
-
};
|
|
6
|
-
readonly childrenType: {
|
|
7
|
-
readonly type: import("vue").PropType<import("./type").ChildrenType>;
|
|
8
|
-
readonly default: "html";
|
|
9
|
-
};
|
|
10
|
-
readonly dragClass: {
|
|
11
|
-
readonly type: StringConstructor;
|
|
12
|
-
readonly default: "drag-item";
|
|
13
|
-
};
|
|
14
|
-
readonly ghostClass: {
|
|
15
|
-
readonly type: StringConstructor;
|
|
16
|
-
readonly default: null;
|
|
17
|
-
};
|
|
18
|
-
readonly chosenClass: {
|
|
19
|
-
readonly type: StringConstructor;
|
|
20
|
-
readonly default: null;
|
|
21
|
-
};
|
|
22
|
-
readonly sort: {
|
|
23
|
-
readonly type: BooleanConstructor;
|
|
24
|
-
readonly default: true;
|
|
25
|
-
};
|
|
26
|
-
readonly handle: {
|
|
27
|
-
readonly type: StringConstructor;
|
|
28
|
-
readonly default: "";
|
|
29
|
-
};
|
|
30
|
-
readonly filter: {
|
|
31
|
-
readonly type: StringConstructor;
|
|
32
|
-
readonly default: "";
|
|
33
|
-
};
|
|
34
|
-
readonly draggable: {
|
|
35
|
-
readonly type: StringConstructor;
|
|
36
|
-
readonly default: "";
|
|
37
|
-
};
|
|
38
|
-
}>, {
|
|
39
|
-
props: any;
|
|
40
|
-
localData: import("vue").ShallowRef<any[], any[]>;
|
|
41
|
-
bem: {
|
|
42
|
-
b: (block?: string | undefined) => string;
|
|
43
|
-
e: (element: string) => string;
|
|
44
|
-
m: (modifier: string) => string;
|
|
45
|
-
be: (block: string, element: string) => string;
|
|
46
|
-
em: (element: string, modifier: string) => string;
|
|
47
|
-
bem: (block: string, element: string, modifier: string) => string;
|
|
48
|
-
is: (name: string, state: string | boolean) => string;
|
|
49
|
-
};
|
|
50
|
-
emits: (event: "update:dragList" | "handleDragStart" | "handleDragEnd" | "handleDragAdd" | "handleDragRemove", ...args: any[]) => void;
|
|
51
|
-
handleDragStart: (e: any) => void;
|
|
52
|
-
handleDragEnd: (e: any) => void;
|
|
53
|
-
handleDragAdd: (e: any) => void;
|
|
54
|
-
handleDragRemove: (e: any) => void;
|
|
55
|
-
readonly draggable: import("vue").DefineComponent<{
|
|
56
|
-
list: {
|
|
57
|
-
type: ArrayConstructor;
|
|
58
|
-
required: boolean;
|
|
59
|
-
default: any;
|
|
60
|
-
};
|
|
61
|
-
modelValue: {
|
|
62
|
-
type: ArrayConstructor;
|
|
63
|
-
required: boolean;
|
|
64
|
-
default: any;
|
|
65
|
-
};
|
|
66
|
-
itemKey: {
|
|
67
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
68
|
-
required: boolean;
|
|
69
|
-
};
|
|
70
|
-
clone: {
|
|
71
|
-
type: FunctionConstructor;
|
|
72
|
-
default: (original: any) => any;
|
|
73
|
-
};
|
|
74
|
-
tag: {
|
|
75
|
-
type: StringConstructor;
|
|
76
|
-
default: string;
|
|
77
|
-
};
|
|
78
|
-
move: {
|
|
79
|
-
type: FunctionConstructor;
|
|
80
|
-
default: any;
|
|
81
|
-
};
|
|
82
|
-
componentData: {
|
|
83
|
-
type: ObjectConstructor;
|
|
84
|
-
required: boolean;
|
|
85
|
-
default: any;
|
|
86
|
-
};
|
|
87
|
-
}, unknown, {
|
|
88
|
-
error: boolean;
|
|
89
|
-
}, {
|
|
90
|
-
realList(): any;
|
|
91
|
-
getKey(): any;
|
|
92
|
-
}, {
|
|
93
|
-
getUnderlyingVm(domElement: any): any;
|
|
94
|
-
getUnderlyingPotencialDraggableComponent(htmElement: any): any;
|
|
95
|
-
emitChanges(evt: any): void;
|
|
96
|
-
alterList(onList: any): void;
|
|
97
|
-
spliceList(): void;
|
|
98
|
-
updatePosition(oldIndex: any, newIndex: any): void;
|
|
99
|
-
getRelatedContextFromMoveEvent({ to, related }: {
|
|
100
|
-
to: any;
|
|
101
|
-
related: any;
|
|
102
|
-
}): any;
|
|
103
|
-
getVmIndexFromDomIndex(domIndex: any): any;
|
|
104
|
-
onDragStart(evt: any): void;
|
|
105
|
-
onDragAdd(evt: any): void;
|
|
106
|
-
onDragRemove(evt: any): void;
|
|
107
|
-
onDragUpdate(evt: any): void;
|
|
108
|
-
computeFutureIndex(relatedContext: any, evt: any): any;
|
|
109
|
-
onDragMove(evt: any, originalEvent: any): any;
|
|
110
|
-
onDragEnd(): void;
|
|
111
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
112
|
-
move: Function;
|
|
113
|
-
tag: string;
|
|
114
|
-
clone: Function;
|
|
115
|
-
list: unknown[];
|
|
116
|
-
modelValue: unknown[];
|
|
117
|
-
componentData: Record<string, any>;
|
|
118
|
-
} & {
|
|
119
|
-
itemKey?: string | Function | undefined;
|
|
120
|
-
}>, {
|
|
121
|
-
move: Function;
|
|
122
|
-
tag: string;
|
|
123
|
-
clone: Function;
|
|
124
|
-
list: unknown[];
|
|
125
|
-
modelValue: unknown[];
|
|
126
|
-
componentData: Record<string, any>;
|
|
127
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
128
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:dragList" | "handleDragStart" | "handleDragEnd" | "handleDragAdd" | "handleDragRemove")[], "update:dragList" | "handleDragStart" | "handleDragEnd" | "handleDragAdd" | "handleDragRemove", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
-
readonly dragList: {
|
|
130
|
-
readonly type: import("vue").PropType<import("./type").DragItem_Intf[]>;
|
|
131
|
-
readonly required: true;
|
|
132
|
-
};
|
|
133
|
-
readonly childrenType: {
|
|
134
|
-
readonly type: import("vue").PropType<import("./type").ChildrenType>;
|
|
135
|
-
readonly default: "html";
|
|
136
|
-
};
|
|
137
|
-
readonly dragClass: {
|
|
138
|
-
readonly type: StringConstructor;
|
|
139
|
-
readonly default: "drag-item";
|
|
140
|
-
};
|
|
141
|
-
readonly ghostClass: {
|
|
142
|
-
readonly type: StringConstructor;
|
|
143
|
-
readonly default: null;
|
|
144
|
-
};
|
|
145
|
-
readonly chosenClass: {
|
|
146
|
-
readonly type: StringConstructor;
|
|
147
|
-
readonly default: null;
|
|
148
|
-
};
|
|
149
|
-
readonly sort: {
|
|
150
|
-
readonly type: BooleanConstructor;
|
|
151
|
-
readonly default: true;
|
|
152
|
-
};
|
|
153
|
-
readonly handle: {
|
|
154
|
-
readonly type: StringConstructor;
|
|
155
|
-
readonly default: "";
|
|
156
|
-
};
|
|
157
|
-
readonly filter: {
|
|
158
|
-
readonly type: StringConstructor;
|
|
159
|
-
readonly default: "";
|
|
160
|
-
};
|
|
161
|
-
readonly draggable: {
|
|
162
|
-
readonly type: StringConstructor;
|
|
163
|
-
readonly default: "";
|
|
164
|
-
};
|
|
165
|
-
}>> & Readonly<{
|
|
166
|
-
"onUpdate:dragList"?: ((...args: any[]) => any) | undefined;
|
|
167
|
-
onHandleDragStart?: ((...args: any[]) => any) | undefined;
|
|
168
|
-
onHandleDragEnd?: ((...args: any[]) => any) | undefined;
|
|
169
|
-
onHandleDragAdd?: ((...args: any[]) => any) | undefined;
|
|
170
|
-
onHandleDragRemove?: ((...args: any[]) => any) | undefined;
|
|
171
|
-
}>, {
|
|
172
|
-
readonly sort: boolean;
|
|
173
|
-
readonly filter: string;
|
|
174
|
-
readonly childrenType: import("./type").ChildrenType;
|
|
175
|
-
readonly dragClass: string;
|
|
176
|
-
readonly ghostClass: string;
|
|
177
|
-
readonly chosenClass: string;
|
|
178
|
-
readonly handle: string;
|
|
179
|
-
readonly draggable: string;
|
|
180
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
181
|
-
export default _sfc_main;
|