@hb-hellotech/hb-ui 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_btns_act/src/type.d.ts +1 -1
  2. package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_page_act/src/type.d.ts +1 -1
  3. package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/index.d.ts +1 -1
  4. package/dist/components/{func-comp → func_comp}/hb_func_comp_copy/index.d.ts.map +1 -1
  5. package/dist/components/{func-comp → func_comp}/hb_func_comp_copy/src/type.d.ts +11 -0
  6. package/dist/components/func_comp/hb_func_comp_copy/src/type.d.ts.map +1 -0
  7. package/dist/components/func_comp/hb_func_comp_drag/index.d.ts +443 -0
  8. package/dist/components/func_comp/hb_func_comp_drag/index.d.ts.map +1 -0
  9. package/dist/components/func_comp/hb_func_comp_drag/src/index.vue.d.ts +182 -0
  10. package/dist/components/func_comp/hb_func_comp_drag/src/index.vue.d.ts.map +1 -0
  11. package/dist/components/func_comp/hb_func_comp_drag/src/type.d.ts +57 -0
  12. package/dist/components/func_comp/hb_func_comp_drag/src/type.d.ts.map +1 -0
  13. package/dist/components/func_comp/index.d.ts +5 -0
  14. package/dist/components/func_comp/index.d.ts.map +1 -0
  15. package/dist/components/hooks/useListFormItem.d.ts +8 -0
  16. package/dist/components/hooks/useListFormItem.d.ts.map +1 -0
  17. package/dist/components/type.d.ts +13 -0
  18. package/dist/components/type.d.ts.map +1 -0
  19. package/dist/components.d.ts +18 -0
  20. package/dist/hb_component_lib.css +1 -1
  21. package/dist/hb_component_lib.js +1243 -1032
  22. package/dist/hb_component_lib.umd.cjs +1 -1
  23. package/dist/index.d.ts +4 -6
  24. package/dist/index.d.ts.map +1 -1
  25. package/package.json +6 -5
  26. package/dist/components/func-comp/hb_func_comp_copy/src/type.d.ts.map +0 -1
  27. package/dist/components/func-comp/index.d.ts +0 -3
  28. package/dist/components/func-comp/index.d.ts.map +0 -1
  29. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_item_filter_modal/index.d.ts +0 -0
  30. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_item_filter_modal/index.d.ts.map +0 -0
  31. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_item_filter_modal/src/type.d.ts +0 -0
  32. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_item_filter_modal/src/type.d.ts.map +0 -0
  33. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_select_filter/index.d.ts +0 -0
  34. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_select_filter/index.d.ts.map +0 -0
  35. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_select_filter/src/type.d.ts +0 -0
  36. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_select_filter/src/type.d.ts.map +0 -0
  37. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_select_modal/index.d.ts +0 -0
  38. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_select_modal/index.d.ts.map +0 -0
  39. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_select_modal/src/HbMutilpleSelectModal.vue.d.ts +0 -0
  40. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_select_modal/src/HbMutilpleSelectModal.vue.d.ts.map +0 -0
  41. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_select_modal/src/type.d.ts +0 -0
  42. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_form_select_modal/src/type.d.ts.map +0 -0
  43. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_btns_act/index.d.ts +0 -0
  44. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_btns_act/index.d.ts.map +0 -0
  45. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_btns_act/src/HbListBtns.vue.d.ts +0 -0
  46. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_btns_act/src/HbListBtns.vue.d.ts.map +0 -0
  47. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_btns_act/src/type.d.ts.map +0 -0
  48. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_form/index.d.ts +0 -0
  49. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_form/index.d.ts.map +0 -0
  50. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_form/src/type.d.ts +0 -0
  51. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_form/src/type.d.ts.map +0 -0
  52. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_page_act/index.d.ts +0 -0
  53. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_page_act/index.d.ts.map +0 -0
  54. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_page_act/src/HbListPageAct.vue.d.ts +0 -0
  55. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_page_act/src/HbListPageAct.vue.d.ts.map +0 -0
  56. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_page_act/src/type.d.ts.map +0 -0
  57. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_page_container/index.d.ts +0 -0
  58. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_page_container/index.d.ts.map +0 -0
  59. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_page_container/src/HbListPageContainer.vue.d.ts +0 -0
  60. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_page_container/src/HbListPageContainer.vue.d.ts.map +0 -0
  61. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_page_container/src/type.d.ts +0 -0
  62. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_page_container/src/type.d.ts.map +0 -0
  63. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_table/index.d.ts +0 -0
  64. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_table/index.d.ts.map +0 -0
  65. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_table/src/type.d.ts +0 -0
  66. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_table/src/type.d.ts.map +0 -0
  67. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_table_act/index.d.ts +0 -0
  68. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_table_act/index.d.ts.map +0 -0
  69. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_table_act/src/type.d.ts +0 -0
  70. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_table_act/src/type.d.ts.map +0 -0
  71. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_table_colums_set/index.d.ts +0 -0
  72. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_table_colums_set/index.d.ts.map +0 -0
  73. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_table_colums_set/src/type.d.ts +0 -0
  74. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/hb_list_table_colums_set/src/type.d.ts.map +0 -0
  75. /package/dist/components/{business-comp/list-page-comp → business_comp/list_page_comp}/index.d.ts.map +0 -0
  76. /package/dist/components/{func-comp → func_comp}/hb_func_comp_copy/index.d.ts +0 -0
  77. /package/dist/components/{func-comp → func_comp}/hb_func_comp_copy/src/copy.vue.d.ts +0 -0
  78. /package/dist/components/{func-comp → func_comp}/hb_func_comp_copy/src/copy.vue.d.ts.map +0 -0
  79. /package/dist/components/{func-comp → func_comp}/hb_func_comp_tree/index.d.ts +0 -0
  80. /package/dist/components/{func-comp → func_comp}/hb_func_comp_tree/index.d.ts.map +0 -0
  81. /package/dist/components/{func-comp → func_comp}/hb_func_comp_tree/src/tree.d.ts +0 -0
  82. /package/dist/components/{func-comp → func_comp}/hb_func_comp_tree/src/tree.d.ts.map +0 -0
  83. /package/dist/components/{func-comp → func_comp}/hb_func_comp_tree/src/tree.vue.d.ts +0 -0
  84. /package/dist/components/{func-comp → func_comp}/hb_func_comp_tree/src/tree.vue.d.ts.map +0 -0
  85. /package/dist/components/{func-comp → func_comp}/hb_func_comp_tree/src/treeNode.vue.d.ts +0 -0
  86. /package/dist/components/{func-comp → func_comp}/hb_func_comp_tree/src/treeNode.vue.d.ts.map +0 -0
@@ -1,5 +1,5 @@
1
1
  import type { ExtractPropTypes, PropType } from 'vue';
2
- import type { LocalShowList_intf } from '../../../../../components/business-comp/list-page-comp/hb_form_item_filter_modal/src/type';
2
+ import type { LocalShowList_intf } from '../../../../../components/business_comp/list_page_comp/hb_form_item_filter_modal/src/type';
3
3
  export declare const HbListBtnsProps: {
4
4
  readonly formItems: {
5
5
  readonly type: PropType<LocalShowList_intf[]>;
@@ -1,5 +1,5 @@
1
1
  import type { ExtractPropTypes, PropType } from 'vue';
2
- import type { LocalShowList_intf } from '../../../../../components/business-comp/list-page-comp/hb_form_item_filter_modal/src/type';
2
+ import type { LocalShowList_intf } from '../../../../../components/business_comp/list_page_comp/hb_form_item_filter_modal/src/type';
3
3
  export interface Breadcrumbs_intf {
4
4
  label: string;
5
5
  value: string;
@@ -8,6 +8,6 @@ import HbMutilpleSelectModal from './hb_form_select_modal';
8
8
  import HbTableAct from './hb_list_table_act';
9
9
  import HbLibListTable from './hb_list_table';
10
10
  import HbTableColumnSet from './hb_list_table_colums_set';
11
- import HbLibCopy from '../../../components/func-comp/hb_func_comp_copy';
11
+ import HbLibCopy from '../../../components/func_comp/hb_func_comp_copy';
12
12
  export { HbListForm as HbLibListForm, HbListPageAct as HbLibListPageAct, HbListBtnsAct as HbLibListBtnsAct, HbListPageContainer as HbLibListPageContainer, HbListMultiSelect as HbLibListMultiSelect, HbMutilpleSelectModal as HbLibMutilpleSelectModal, HbTableAct as HbLibTableAct, HbFormItemFilterModal as HbLibFormItemFilterModal, HbTableColumnSet as HbLibTableColumnSet, HbLibListTable, HbLibCopy, };
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAI3B,QAAA,MAAM,MAAM,EAAE,GAAuB,CAAC;AAEtC,eAAe,MAAM,CAAC;AAEtB,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAE3B,QAAA,MAAM,MAAM,EAAE,GAAuB,CAAC;AAEtC,eAAe,MAAM,CAAC;AAEtB,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC"}
@@ -34,5 +34,16 @@ export declare const HbCopyProps: {
34
34
  readonly default: "ab";
35
35
  };
36
36
  };
37
+ export interface HbCopyProps_Intf {
38
+ cpText?: string;
39
+ K?: string;
40
+ V?: string;
41
+ L?: string;
42
+ data?: any[];
43
+ tooltipTitle?: string;
44
+ copySuccessTip?: string;
45
+ cpStyle?: Record<string, any>;
46
+ classType?: string;
47
+ }
37
48
  export type HbCopyPropsType = ExtractPropTypes<typeof HbCopyProps>;
38
49
  //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAEtD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0Cd,CAAC;AAEX,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -0,0 +1,443 @@
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").DragItems_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").DragItems_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").DragItems_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>;
443
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAE3B,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mSAAsB,CAAC;AAC1C,eAAe,aAAa,CAAC;AAE7B,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -0,0 +1,182 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ readonly dragList: {
3
+ readonly type: import("vue").PropType<import("./type").DragItems_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").DragItems_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;
182
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["index.vue.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA0Ba,GAAG;uBAIL,GAAG;uBAIH,GAAG;0BAIA,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAU9B,CAAA;AACF,eAAe,SAAS,CAAA"}