@web-utils/form-ui 1.0.0-beta76 → 1.0.0-beta78

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 (224) hide show
  1. package/address-input/index.d.ts +52 -0
  2. package/affix/index.d.ts +30 -0
  3. package/awesome-button/index.d.ts +60 -0
  4. package/capsule-tab/index.d.ts +30 -0
  5. package/card/index.d.ts +41 -0
  6. package/chunks/{Dhdoa4M6.mjs → 22GsbC-1.mjs} +1 -1
  7. package/chunks/{BkoWiWEW.mjs → 8i6khBvL2.mjs} +187 -188
  8. package/chunks/{DRXM1Mt22.mjs → B4GsYMXo.mjs} +1 -1
  9. package/chunks/{CWaId08S2.mjs → BEghYt1s2.mjs} +1 -1
  10. package/chunks/{BP_0cJ172.mjs → BPkYHRo52.mjs} +9 -9
  11. package/chunks/{CGVBF4Ml.mjs → BQytQPLa.mjs} +58 -51
  12. package/chunks/{CyQmVphZ.mjs → BUdSoC0y.mjs} +51 -52
  13. package/chunks/{Dje2xUVd2.mjs → BVUClQOx.mjs} +2 -2
  14. package/chunks/BWTQ3qdg.mjs +68 -0
  15. package/chunks/{D_gR5ibl2.mjs → Bo8lYN4n2.mjs} +2 -2
  16. package/chunks/{D6qJXu04.mjs → Bs926z902.mjs} +48 -49
  17. package/chunks/{DLdsvozr.mjs → Bvn6wnku.mjs} +2 -2
  18. package/chunks/{DNiq6hHj2.mjs → C4TRh7-t2.mjs} +3 -3
  19. package/chunks/{BZRmdKBG.mjs → CDalOJtl2.mjs} +65 -66
  20. package/chunks/{CpIXTVFU2.mjs → CGmbnjKL.mjs} +2 -2
  21. package/chunks/{kAaQhLJs2.mjs → COA3tHyu2.mjs} +1 -1
  22. package/chunks/{BTNnujZA2.mjs → CTYReSXN.mjs} +1 -1
  23. package/chunks/{CVM0lwn22.mjs → CfZWeZDD.mjs} +2 -2
  24. package/chunks/{DMDsZeqv.mjs → CiMBKxeJ.mjs} +1 -1
  25. package/chunks/{Dgwcljur.mjs → CkLpOk7H.mjs} +1 -1
  26. package/chunks/{CI-pH-gR2.mjs → Co0M4G3P.mjs} +1 -1
  27. package/chunks/{DFa2J7ul.mjs → Cwh7YPxJ.mjs} +151 -152
  28. package/chunks/{CFKKwzh72.mjs → D4FXesiK2.mjs} +2 -2
  29. package/chunks/{BM8snKHN2.mjs → DH-B0Lkz2.mjs} +2 -2
  30. package/chunks/{l5bfIjYm.mjs → DOdaQmeD.mjs} +576 -855
  31. package/chunks/{Cg6ahpHk.mjs → DQMWqQFe2.mjs} +2 -2
  32. package/chunks/{DyGddGTO.mjs → DbcxJ45j.mjs} +96 -97
  33. package/chunks/{B-WTB0ce2.mjs → DcgE9SF_2.mjs} +1 -1
  34. package/chunks/{285I1DfO.mjs → Dnb8jUG_.mjs} +14 -15
  35. package/chunks/{BaB0bq4I2.mjs → DxeRdYI82.mjs} +1 -1
  36. package/chunks/{Bq9KMIsC.mjs → YuRYvOxL.mjs} +162 -163
  37. package/chunks/{BLBHnUme2.mjs → Zdhb_SRi2.mjs} +1 -1
  38. package/chunks/{BvlU_Z6D2.mjs → eX0Esdvw2.mjs} +1 -1
  39. package/chunks/{CF23xugU2.mjs → hBvPGqka.mjs} +2 -2
  40. package/chunks/{DP7eF99m2.mjs → oXiNltCq.mjs} +1 -1
  41. package/chunks/{x2jJ6cfy2.mjs → shY1VkIE2.mjs} +1 -1
  42. package/chunks/{ohCkWdwS.mjs → tSaeUhnr.mjs} +1 -1
  43. package/chunks/{DvkUImww2.mjs → xe1XzZUE2.mjs} +9 -9
  44. package/code-mirror-editor/index.d.ts +50 -0
  45. package/confirm-button/index.d.ts +122 -0
  46. package/confirmable/index.d.ts +93 -0
  47. package/context-menu/index.d.ts +183 -0
  48. package/count-up/index.d.ts +70 -0
  49. package/custom-scrollbar/index.d.ts +49 -0
  50. package/data-box/index.d.ts +30 -0
  51. package/data-card/index.d.ts +20 -0
  52. package/data-card-text/index.d.ts +21 -0
  53. package/data-display/index.d.ts +20 -0
  54. package/data-icons/index.d.ts +21 -0
  55. package/data-imgtext/index.d.ts +18 -0
  56. package/data-operatext/index.d.ts +17 -0
  57. package/data-panel/index.d.ts +19 -0
  58. package/data-pay/index.d.ts +19 -0
  59. package/data-price/index.d.ts +17 -0
  60. package/data-progress/index.d.ts +19 -0
  61. package/data-rotate/index.d.ts +21 -0
  62. package/data-table-picker/index.d.ts +61 -0
  63. package/data-tabs/index.d.ts +21 -0
  64. package/dict-render/index.d.ts +28 -0
  65. package/e-charts/index.d.ts +79 -0
  66. package/easy-popup/index.d.ts +114 -0
  67. package/editable-progress/index.d.ts +68 -0
  68. package/editable-tree/index.d.ts +281 -0
  69. package/element-dialog/index.d.ts +376 -0
  70. package/element-resize-observer/index.d.ts +8 -0
  71. package/empty-view/index.d.ts +29 -0
  72. package/error-view/index.d.ts +25 -0
  73. package/flex-box/index.d.ts +44 -0
  74. package/flex-column/index.d.ts +41 -0
  75. package/flex-item/index.d.ts +77 -0
  76. package/flex-row/index.d.ts +41 -0
  77. package/flex-scroll-area/index.d.ts +22 -0
  78. package/flex-scroller/index.d.ts +26 -0
  79. package/flow-designer/index.d.ts +311 -0
  80. package/flow-designer/index.mjs +1 -1
  81. package/flow-viewer/index.d.ts +62 -0
  82. package/form-advice/index.d.ts +9 -0
  83. package/form-button/index.d.ts +123 -0
  84. package/form-card/index.d.ts +14 -0
  85. package/form-cascader/index.d.ts +478 -0
  86. package/form-cascader/index.mjs +1 -1
  87. package/form-cell/index.d.ts +25 -0
  88. package/form-checkbox/index.d.ts +314 -0
  89. package/form-checkbox/index.mjs +1 -1
  90. package/form-checkbox-group/index.d.ts +373 -0
  91. package/form-checkbox-group/index.mjs +1 -1
  92. package/form-date-picker/index.d.ts +480 -0
  93. package/form-date-picker/index.mjs +1 -1
  94. package/form-holder/index.d.ts +162 -0
  95. package/form-holder/index.mjs +1 -1
  96. package/form-image/index.d.ts +220 -0
  97. package/form-image/index.mjs +1 -1
  98. package/form-input/index.d.ts +378 -0
  99. package/form-input/index.mjs +1 -1
  100. package/form-input-cron-expression/index.d.ts +223 -0
  101. package/form-input-cron-expression/index.mjs +1 -1
  102. package/form-input-email/index.d.ts +376 -0
  103. package/form-input-email/index.mjs +1 -1
  104. package/form-input-id-card/index.d.ts +376 -0
  105. package/form-input-id-card/index.mjs +1 -1
  106. package/form-input-number/index.d.ts +329 -0
  107. package/form-input-number/index.mjs +1 -1
  108. package/form-input-phone-number/index.d.ts +376 -0
  109. package/form-input-phone-number/index.mjs +1 -1
  110. package/form-input-tag/index.d.ts +270 -0
  111. package/form-input-tag/index.mjs +1 -1
  112. package/form-input-time/index.d.ts +441 -0
  113. package/form-input-time/index.mjs +1 -1
  114. package/form-item-config-provider/index.d.ts +40 -0
  115. package/form-item-group/index.d.ts +92 -0
  116. package/form-item-group/index.mjs +1 -1
  117. package/form-item-x/index.d.ts +190 -0
  118. package/form-item-x/index.mjs +1 -1
  119. package/form-item-x/style.css +1 -1
  120. package/form-radio-group/index.d.ts +374 -0
  121. package/form-radio-group/index.mjs +1 -1
  122. package/form-rate/index.d.ts +325 -0
  123. package/form-rate/index.mjs +1 -1
  124. package/form-red-table/index.d.ts +21 -0
  125. package/form-row/index.d.ts +11 -0
  126. package/form-row/index.mjs +1 -1
  127. package/form-select/index.d.ts +606 -0
  128. package/form-select/index.mjs +1 -1
  129. package/form-slider/index.d.ts +352 -0
  130. package/form-slider/index.mjs +1 -1
  131. package/form-switch/index.d.ts +343 -0
  132. package/form-switch/index.mjs +1 -1
  133. package/form-table/index.d.ts +287 -0
  134. package/form-table/index.mjs +1 -1
  135. package/form-table-plus/index.d.ts +266 -0
  136. package/form-table-plus/index.mjs +1 -1
  137. package/form-text/index.d.ts +235 -0
  138. package/form-text/index.mjs +1 -1
  139. package/form-textarea/index.d.ts +351 -0
  140. package/form-textarea/index.mjs +1 -1
  141. package/form-time-select/index.d.ts +325 -0
  142. package/form-time-select/index.mjs +1 -1
  143. package/form-tree-select/index.d.ts +715 -0
  144. package/form-tree-select/index.mjs +1 -1
  145. package/form-tree-select-multiple/index.d.ts +717 -0
  146. package/form-tree-select-multiple/index.mjs +1 -1
  147. package/form-view/index.d.ts +226 -0
  148. package/form-view/index.mjs +2 -2
  149. package/guide-steps/index.d.ts +31 -0
  150. package/helper/input.mjs +1 -1
  151. package/highlight-j-s/index.d.ts +18 -0
  152. package/iframe-window/index.d.ts +9 -0
  153. package/image-cropper/index.d.ts +365 -0
  154. package/image-preview/index.d.ts +61 -0
  155. package/image-viewer/index.d.ts +25 -0
  156. package/index.css +1 -1
  157. package/index.d.ts +119 -119
  158. package/index.mjs +121 -121
  159. package/input-number-range/index.d.ts +41 -0
  160. package/keyboard/index.d.ts +64 -0
  161. package/keyboard/index.mjs +1 -1
  162. package/loading-view/index.d.ts +65 -0
  163. package/name-avatar/index.d.ts +62 -0
  164. package/nav-bar/index.d.ts +21 -0
  165. package/package.json +1 -1
  166. package/page/index.d.ts +21 -0
  167. package/page-header/index.d.ts +27 -0
  168. package/page-index/index.d.ts +82 -0
  169. package/page-index-top/index.d.ts +38 -0
  170. package/page-skeleton/index.d.ts +30 -0
  171. package/page-skeleton-new/index.d.ts +34 -0
  172. package/pageable-table/index.d.ts +400 -0
  173. package/photo-swipe/index.d.ts +18 -0
  174. package/photo-swipe/index.mjs +1 -1
  175. package/props/date.d.ts +1 -4
  176. package/props/date.mjs +18 -5
  177. package/sign-panel/index.d.ts +85 -0
  178. package/skeleton-panel/index.d.ts +27 -0
  179. package/split-pane/index.d.ts +106 -0
  180. package/split-pane/index.mjs +1 -1
  181. package/stateful/index.d.ts +92 -0
  182. package/sub-table/index.d.ts +109 -0
  183. package/sub-table/index.mjs +1 -1
  184. package/sub-table-plus/index.d.ts +109 -0
  185. package/sub-table-plus/index.mjs +1 -1
  186. package/swiper/index.d.ts +27 -0
  187. package/table-column/index.d.ts +163 -0
  188. package/table-column-def/index.d.ts +97 -0
  189. package/table-view/index.d.ts +346 -0
  190. package/table-view/index.mjs +3 -3
  191. package/tag-render/index.d.ts +48 -0
  192. package/text-ellipsis/index.d.ts +111 -0
  193. package/toolbar/index.d.ts +129 -0
  194. package/toolbar/index.mjs +1 -1
  195. package/toolbar-button/index.d.ts +189 -0
  196. package/vue-cron/index.d.ts +191 -0
  197. package/vue-cron/index.mjs +1 -1
  198. package/vue-qr-code/index.d.ts +47 -0
  199. package/vue-tags-input/index.d.ts +373 -0
  200. package/vue-tree-select/index.d.ts +1489 -0
  201. package/vue-tree-select/index.mjs +1 -1
  202. package/vue-video-player/index.d.ts +117 -0
  203. package/watermark/index.d.ts +97 -0
  204. package/watermark/index.mjs +1 -1
  205. package/web-types.json +1 -1
  206. package/x-input-tag/index.d.ts +2 -0
  207. package/year-calendar/index.d.ts +99 -0
  208. package/year-calendar/index.mjs +1 -1
  209. package/chunks/C7rEqtOR.mjs +0 -70
  210. package/chunks/CjjJimnU.mjs +0 -20
  211. package/chunks/{tJ_t87kJ.mjs → 6dNVtIN32.mjs} +0 -0
  212. package/chunks/{CJ7Ai-mH2.mjs → B1luuf_A2.mjs} +0 -0
  213. package/chunks/{B1jgu0ci.mjs → BAG_R87k2.mjs} +0 -0
  214. package/chunks/{gNfZhMJk2.mjs → BM5LdxU72.mjs} +0 -0
  215. package/chunks/{CZeL7oiY2.mjs → BhHMGhJ8.mjs} +0 -0
  216. package/chunks/{z6tpYT0z.mjs → BwL9Xz1F.mjs} +0 -0
  217. package/chunks/{C0gLPKS8.mjs → D9p3yGUu.mjs} +1 -1
  218. package/chunks/{Bh2SlzOo.mjs → DDcaXGrf2.mjs} +0 -0
  219. package/chunks/{B2Y1LWJ3.mjs → Dkw6LNCq2.mjs} +0 -0
  220. package/chunks/{C3pzNRoU2.mjs → DvGAwr6C.mjs} +2 -2
  221. package/chunks/{CeI6Qrij.mjs → DydcNRkF.mjs} +1 -1
  222. /package/chunks/{b_78-Wov2.mjs → FZqu01np2.mjs} +0 -0
  223. /package/chunks/{hPAfGilD.mjs → KOJEsarR2.mjs} +0 -0
  224. /package/chunks/{3UWcbJcG.mjs → PEU1JRcN2.mjs} +0 -0
@@ -0,0 +1,346 @@
1
+ import { tableViewContextKey, cellClickHandlerContextKey } from '../../constants';
2
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
3
+ data: ArrayConstructor;
4
+ viewId: (ArrayConstructor | StringConstructor)[];
5
+ searchPanelAttrs: {
6
+ type: ObjectConstructor;
7
+ default: () => void;
8
+ };
9
+ toolbarAttrs: {
10
+ type: ObjectConstructor;
11
+ default: () => void;
12
+ };
13
+ toolbarListeners: ObjectConstructor;
14
+ treeAttrs: {
15
+ type: ObjectConstructor;
16
+ default: () => void;
17
+ };
18
+ treeListeners: ObjectConstructor;
19
+ tableAttrs: ObjectConstructor;
20
+ searchModel: ObjectConstructor;
21
+ tableListeners: {
22
+ type: ObjectConstructor;
23
+ default: () => void;
24
+ };
25
+ deleteApi: FunctionConstructor;
26
+ borderTop: BooleanConstructor;
27
+ borderBottom: BooleanConstructor;
28
+ borderLeft: BooleanConstructor;
29
+ borderRight: BooleanConstructor;
30
+ border: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ labelWidth: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ formPath: (StringConstructor | FunctionConstructor)[];
39
+ searchFormPosition: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ embed: BooleanConstructor;
44
+ deleteTips: StringConstructor;
45
+ selectTips: StringConstructor;
46
+ rowKey: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ expandSearch: BooleanConstructor;
51
+ showToolbar: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ }>, {}, {
56
+ importDialogVisible: boolean;
57
+ selectedRows: never[];
58
+ isSearchVisible: boolean;
59
+ }, {
60
+ buttonSlots(): string[];
61
+ toolbarProps(): any;
62
+ treeProps(): Record<string, any>;
63
+ tableProps(): Record<string, any>;
64
+ searchPanelProps(): Record<string, any>;
65
+ toolbarEventHandlers(): {
66
+ [x: string]: any;
67
+ };
68
+ tableScopeSlotNames(): any;
69
+ }, {
70
+ toHyphenateKey: (properties: Record<string, any>) => Record<string, any>;
71
+ onTreeScroll(): void;
72
+ toggleSearch(): void;
73
+ onSearchClick(): void;
74
+ onClearClick(): void;
75
+ openFrom(row: any): void;
76
+ rowDbClick(row: any): void;
77
+ onSelectionChange(rows: any): void;
78
+ create(): void;
79
+ del(): Promise<void>;
80
+ reloadTable(): void;
81
+ refreshTable(useLoading: any): Promise<void>;
82
+ reloadTree(): void;
83
+ reloadTableAndTree(): void;
84
+ currentRow(): any;
85
+ getPageQuery(): any;
86
+ exp(): void;
87
+ getTableColumns(): any;
88
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "reset"[], "reset", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
89
+ data: ArrayConstructor;
90
+ viewId: (ArrayConstructor | StringConstructor)[];
91
+ searchPanelAttrs: {
92
+ type: ObjectConstructor;
93
+ default: () => void;
94
+ };
95
+ toolbarAttrs: {
96
+ type: ObjectConstructor;
97
+ default: () => void;
98
+ };
99
+ toolbarListeners: ObjectConstructor;
100
+ treeAttrs: {
101
+ type: ObjectConstructor;
102
+ default: () => void;
103
+ };
104
+ treeListeners: ObjectConstructor;
105
+ tableAttrs: ObjectConstructor;
106
+ searchModel: ObjectConstructor;
107
+ tableListeners: {
108
+ type: ObjectConstructor;
109
+ default: () => void;
110
+ };
111
+ deleteApi: FunctionConstructor;
112
+ borderTop: BooleanConstructor;
113
+ borderBottom: BooleanConstructor;
114
+ borderLeft: BooleanConstructor;
115
+ borderRight: BooleanConstructor;
116
+ border: {
117
+ type: BooleanConstructor;
118
+ default: boolean;
119
+ };
120
+ labelWidth: {
121
+ type: StringConstructor;
122
+ default: string;
123
+ };
124
+ formPath: (StringConstructor | FunctionConstructor)[];
125
+ searchFormPosition: {
126
+ type: StringConstructor;
127
+ default: string;
128
+ };
129
+ embed: BooleanConstructor;
130
+ deleteTips: StringConstructor;
131
+ selectTips: StringConstructor;
132
+ rowKey: {
133
+ type: StringConstructor;
134
+ default: string;
135
+ };
136
+ expandSearch: BooleanConstructor;
137
+ showToolbar: {
138
+ type: BooleanConstructor;
139
+ default: boolean;
140
+ };
141
+ }>> & Readonly<{
142
+ onReset?: ((...args: any[]) => any) | undefined;
143
+ }>, {
144
+ embed: boolean;
145
+ border: boolean;
146
+ labelWidth: string;
147
+ toolbarAttrs: Record<string, any>;
148
+ showToolbar: boolean;
149
+ rowKey: string;
150
+ borderTop: boolean;
151
+ borderBottom: boolean;
152
+ borderLeft: boolean;
153
+ borderRight: boolean;
154
+ expandSearch: boolean;
155
+ searchPanelAttrs: Record<string, any>;
156
+ treeAttrs: Record<string, any>;
157
+ tableListeners: Record<string, any>;
158
+ searchFormPosition: string;
159
+ }, {}, {}, {}, string, () => {
160
+ [tableViewContextKey]: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
161
+ data: ArrayConstructor;
162
+ viewId: (ArrayConstructor | StringConstructor)[];
163
+ searchPanelAttrs: {
164
+ type: ObjectConstructor;
165
+ default: () => void;
166
+ };
167
+ toolbarAttrs: {
168
+ type: ObjectConstructor;
169
+ default: () => void;
170
+ };
171
+ toolbarListeners: ObjectConstructor;
172
+ treeAttrs: {
173
+ type: ObjectConstructor;
174
+ default: () => void;
175
+ };
176
+ treeListeners: ObjectConstructor;
177
+ tableAttrs: ObjectConstructor;
178
+ searchModel: ObjectConstructor;
179
+ tableListeners: {
180
+ type: ObjectConstructor;
181
+ default: () => void;
182
+ };
183
+ deleteApi: FunctionConstructor;
184
+ borderTop: BooleanConstructor;
185
+ borderBottom: BooleanConstructor;
186
+ borderLeft: BooleanConstructor;
187
+ borderRight: BooleanConstructor;
188
+ border: {
189
+ type: BooleanConstructor;
190
+ default: boolean;
191
+ };
192
+ labelWidth: {
193
+ type: StringConstructor;
194
+ default: string;
195
+ };
196
+ formPath: (StringConstructor | FunctionConstructor)[];
197
+ searchFormPosition: {
198
+ type: StringConstructor;
199
+ default: string;
200
+ };
201
+ embed: BooleanConstructor;
202
+ deleteTips: StringConstructor;
203
+ selectTips: StringConstructor;
204
+ rowKey: {
205
+ type: StringConstructor;
206
+ default: string;
207
+ };
208
+ expandSearch: BooleanConstructor;
209
+ showToolbar: {
210
+ type: BooleanConstructor;
211
+ default: boolean;
212
+ };
213
+ }>> & Readonly<{
214
+ onReset?: ((...args: any[]) => any) | undefined;
215
+ }>, {}, {
216
+ importDialogVisible: boolean;
217
+ selectedRows: never[];
218
+ isSearchVisible: boolean;
219
+ }, {
220
+ buttonSlots(): string[];
221
+ toolbarProps(): any;
222
+ treeProps(): Record<string, any>;
223
+ tableProps(): Record<string, any>;
224
+ searchPanelProps(): Record<string, any>;
225
+ toolbarEventHandlers(): {
226
+ [x: string]: any;
227
+ };
228
+ tableScopeSlotNames(): any;
229
+ }, {
230
+ toHyphenateKey: (properties: Record<string, any>) => Record<string, any>;
231
+ onTreeScroll(): void;
232
+ toggleSearch(): void;
233
+ onSearchClick(): void;
234
+ onClearClick(): void;
235
+ openFrom(row: any): void;
236
+ rowDbClick(row: any): void;
237
+ onSelectionChange(rows: any): void;
238
+ create(): void;
239
+ del(): Promise<void>;
240
+ reloadTable(): void;
241
+ refreshTable(useLoading: any): Promise<void>;
242
+ reloadTree(): void;
243
+ reloadTableAndTree(): void;
244
+ currentRow(): any;
245
+ getPageQuery(): any;
246
+ exp(): void;
247
+ getTableColumns(): any;
248
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "reset"[], {}, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
249
+ P: {};
250
+ B: {};
251
+ D: {};
252
+ C: {};
253
+ M: {};
254
+ Defaults: {};
255
+ }, Readonly<globalThis.ExtractPropTypes<{
256
+ data: ArrayConstructor;
257
+ viewId: (ArrayConstructor | StringConstructor)[];
258
+ searchPanelAttrs: {
259
+ type: ObjectConstructor;
260
+ default: () => void;
261
+ };
262
+ toolbarAttrs: {
263
+ type: ObjectConstructor;
264
+ default: () => void;
265
+ };
266
+ toolbarListeners: ObjectConstructor;
267
+ treeAttrs: {
268
+ type: ObjectConstructor;
269
+ default: () => void;
270
+ };
271
+ treeListeners: ObjectConstructor;
272
+ tableAttrs: ObjectConstructor;
273
+ searchModel: ObjectConstructor;
274
+ tableListeners: {
275
+ type: ObjectConstructor;
276
+ default: () => void;
277
+ };
278
+ deleteApi: FunctionConstructor;
279
+ borderTop: BooleanConstructor;
280
+ borderBottom: BooleanConstructor;
281
+ borderLeft: BooleanConstructor;
282
+ borderRight: BooleanConstructor;
283
+ border: {
284
+ type: BooleanConstructor;
285
+ default: boolean;
286
+ };
287
+ labelWidth: {
288
+ type: StringConstructor;
289
+ default: string;
290
+ };
291
+ formPath: (StringConstructor | FunctionConstructor)[];
292
+ searchFormPosition: {
293
+ type: StringConstructor;
294
+ default: string;
295
+ };
296
+ embed: BooleanConstructor;
297
+ deleteTips: StringConstructor;
298
+ selectTips: StringConstructor;
299
+ rowKey: {
300
+ type: StringConstructor;
301
+ default: string;
302
+ };
303
+ expandSearch: BooleanConstructor;
304
+ showToolbar: {
305
+ type: BooleanConstructor;
306
+ default: boolean;
307
+ };
308
+ }>> & Readonly<{
309
+ onReset?: ((...args: any[]) => any) | undefined;
310
+ }>, {}, {
311
+ importDialogVisible: boolean;
312
+ selectedRows: never[];
313
+ isSearchVisible: boolean;
314
+ }, {
315
+ buttonSlots(): string[];
316
+ toolbarProps(): any;
317
+ treeProps(): Record<string, any>;
318
+ tableProps(): Record<string, any>;
319
+ searchPanelProps(): Record<string, any>;
320
+ toolbarEventHandlers(): {
321
+ [x: string]: any;
322
+ };
323
+ tableScopeSlotNames(): any;
324
+ }, {
325
+ toHyphenateKey: (properties: Record<string, any>) => Record<string, any>;
326
+ onTreeScroll(): void;
327
+ toggleSearch(): void;
328
+ onSearchClick(): void;
329
+ onClearClick(): void;
330
+ openFrom(row: any): void;
331
+ rowDbClick(row: any): void;
332
+ onSelectionChange(rows: any): void;
333
+ create(): void;
334
+ del(): Promise<void>;
335
+ reloadTable(): void;
336
+ refreshTable(useLoading: any): Promise<void>;
337
+ reloadTree(): void;
338
+ reloadTableAndTree(): void;
339
+ currentRow(): any;
340
+ getPageQuery(): any;
341
+ exp(): void;
342
+ getTableColumns(): any;
343
+ }, {}>;
344
+ [cellClickHandlerContextKey]: (row: any) => void;
345
+ }, true, {}, any>;
346
+ export default _default;
@@ -5,17 +5,17 @@ import { processButtons as i, reloadTable as a } from "../api/index.mjs";
5
5
  import { cellClickHandlerContextKey as o, tableViewContextKey as s } from "../constants/index.mjs";
6
6
  import { t as c } from "../chunks/mnqSaATq.mjs";
7
7
  import l from "../editable-tree/index.mjs";
8
- import { s as u } from "../chunks/Dgwcljur.mjs";
8
+ import { s as u } from "../chunks/CkLpOk7H.mjs";
9
9
  import d from "../form-item-config-provider/index.mjs";
10
- import { t as f } from "../chunks/Bh2SlzOo.mjs";
10
+ import { t as f } from "../chunks/DDcaXGrf2.mjs";
11
11
  import { ElCollapseTransition as p, ElForm as m, ElFormItem as h, ElRow as g } from "element-plus/es";
12
12
  import "element-plus/es/components/base/style/css";
13
13
  import { Transition as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as S, createTextVNode as C, createVNode as w, mergeProps as T, normalizeClass as E, normalizeStyle as D, openBlock as O, renderList as k, renderSlot as A, toDisplayString as j, toHandlers as M, vShow as N, withCtx as P, withDirectives as F, withModifiers as I } from "vue";
14
14
  import { hasOwn as L, isArray as R, isFunction as z, isString as B, toStringArray as V, trace as H, warning as U } from "@web-utils/core";
15
15
  import "element-plus/es/components/row/style/css";
16
16
  import { merge as W } from "@web-utils/integrations/lodash";
17
- import "element-plus/es/components/form/style/css";
18
17
  import "element-plus/es/components/form-item/style/css";
18
+ import "element-plus/es/components/form/style/css";
19
19
  import "element-plus/es/components/collapse-transition/style/css";
20
20
  //#region src/components/form/TableView.vue
21
21
  var G = [
@@ -0,0 +1,48 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ enable: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ count: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ tags: {
11
+ type: ArrayConstructor;
12
+ default: () => never[];
13
+ };
14
+ transfer: {
15
+ type: FunctionConstructor;
16
+ default: null;
17
+ };
18
+ }>, {}, {}, {
19
+ internalTags(): any[];
20
+ }, {
21
+ getTagName(tag: any): any;
22
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("add" | "close")[], "add" | "close", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
23
+ enable: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ count: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ tags: {
32
+ type: ArrayConstructor;
33
+ default: () => never[];
34
+ };
35
+ transfer: {
36
+ type: FunctionConstructor;
37
+ default: null;
38
+ };
39
+ }>> & Readonly<{
40
+ onClose?: ((...args: any[]) => any) | undefined;
41
+ onAdd?: ((...args: any[]) => any) | undefined;
42
+ }>, {
43
+ enable: boolean;
44
+ count: boolean;
45
+ tags: unknown[];
46
+ transfer: Function;
47
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
48
+ export default _default;
@@ -0,0 +1,111 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ content: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ direction: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ rows: {
11
+ type: (StringConstructor | NumberConstructor)[];
12
+ default: number;
13
+ };
14
+ expandText: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ collapseText: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ symbol: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ lineHeight: {
27
+ type: (StringConstructor | NumberConstructor)[];
28
+ default: string;
29
+ };
30
+ }>, {}, {
31
+ ellipsis: {
32
+ leading: string;
33
+ tailing: string;
34
+ };
35
+ maxHeight: number;
36
+ exceeded: boolean;
37
+ expanded: boolean;
38
+ }, {}, {
39
+ /**
40
+ * 创建虚拟 container,内容为 props.content 的内容
41
+ */
42
+ createContainer(): void;
43
+ /**
44
+ * 展开收起
45
+ * @param type
46
+ */
47
+ clickHandle(type: any): void;
48
+ /**
49
+ * 文本点击
50
+ */
51
+ handleClick(): void;
52
+ /**
53
+ * 计算省略号的位置
54
+ * @param container
55
+ */
56
+ calcEllipse(container: any): void;
57
+ tailorMiddle(leftPart: any, rightPart: any, container: any): any;
58
+ /**
59
+ * 计算 start/end 省略
60
+ * @param left
61
+ * @param right
62
+ * @param container
63
+ * @return {{leading: string}|{tailing: string}|*}
64
+ */
65
+ tailor(left: any, right: any, container: any): {
66
+ leading: string;
67
+ } | {
68
+ tailing: string;
69
+ } | any;
70
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "click")[], "change" | "click", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
71
+ content: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ direction: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ rows: {
80
+ type: (StringConstructor | NumberConstructor)[];
81
+ default: number;
82
+ };
83
+ expandText: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ collapseText: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ symbol: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
95
+ lineHeight: {
96
+ type: (StringConstructor | NumberConstructor)[];
97
+ default: string;
98
+ };
99
+ }>> & Readonly<{
100
+ onChange?: ((...args: any[]) => any) | undefined;
101
+ onClick?: ((...args: any[]) => any) | undefined;
102
+ }>, {
103
+ symbol: string;
104
+ rows: string | number;
105
+ content: string;
106
+ direction: string;
107
+ expandText: string;
108
+ collapseText: string;
109
+ lineHeight: string | number;
110
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
111
+ export default _default;
@@ -0,0 +1,129 @@
1
+ import { toolbarContextKey } from '../../constants';
2
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
3
+ searchable: BooleanConstructor;
4
+ refreshable: BooleanConstructor;
5
+ buttons: {
6
+ type: ArrayConstructor;
7
+ default: () => string[];
8
+ };
9
+ back: FunctionConstructor;
10
+ cancel: FunctionConstructor;
11
+ emitter: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ footer: BooleanConstructor;
16
+ label: ObjectConstructor;
17
+ }>, {}, {}, {}, {
18
+ goBack(): void;
19
+ createButton(key: any, { label, icon, type, separateLine, loadable, circle, onClick, title }: {
20
+ label: any;
21
+ icon: any;
22
+ type: any;
23
+ separateLine?: boolean | undefined;
24
+ loadable: any;
25
+ circle: any;
26
+ onClick: any;
27
+ title: any;
28
+ }): any;
29
+ getLeftButtons(): any[];
30
+ getRightButtons(): any[];
31
+ getSearchButton(): any;
32
+ getRefreshButton(): any;
33
+ getSettingsButton(): any;
34
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
35
+ searchable: BooleanConstructor;
36
+ refreshable: BooleanConstructor;
37
+ buttons: {
38
+ type: ArrayConstructor;
39
+ default: () => string[];
40
+ };
41
+ back: FunctionConstructor;
42
+ cancel: FunctionConstructor;
43
+ emitter: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ footer: BooleanConstructor;
48
+ label: ObjectConstructor;
49
+ }>> & Readonly<{}>, {
50
+ footer: boolean;
51
+ searchable: boolean;
52
+ refreshable: boolean;
53
+ buttons: unknown[];
54
+ emitter: string;
55
+ }, {}, {}, {}, string, () => {
56
+ [toolbarContextKey]: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
57
+ searchable: BooleanConstructor;
58
+ refreshable: BooleanConstructor;
59
+ buttons: {
60
+ type: ArrayConstructor;
61
+ default: () => string[];
62
+ };
63
+ back: FunctionConstructor;
64
+ cancel: FunctionConstructor;
65
+ emitter: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ };
69
+ footer: BooleanConstructor;
70
+ label: ObjectConstructor;
71
+ }>> & Readonly<{}>, {}, {}, {}, {
72
+ goBack(): void;
73
+ createButton(key: any, { label, icon, type, separateLine, loadable, circle, onClick, title }: {
74
+ label: any;
75
+ icon: any;
76
+ type: any;
77
+ separateLine?: boolean | undefined;
78
+ loadable: any;
79
+ circle: any;
80
+ onClick: any;
81
+ title: any;
82
+ }): any;
83
+ getLeftButtons(): any[];
84
+ getRightButtons(): any[];
85
+ getSearchButton(): any;
86
+ getRefreshButton(): any;
87
+ getSettingsButton(): any;
88
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {}, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
89
+ P: {};
90
+ B: {};
91
+ D: {};
92
+ C: {};
93
+ M: {};
94
+ Defaults: {};
95
+ }, Readonly<globalThis.ExtractPropTypes<{
96
+ searchable: BooleanConstructor;
97
+ refreshable: BooleanConstructor;
98
+ buttons: {
99
+ type: ArrayConstructor;
100
+ default: () => string[];
101
+ };
102
+ back: FunctionConstructor;
103
+ cancel: FunctionConstructor;
104
+ emitter: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ footer: BooleanConstructor;
109
+ label: ObjectConstructor;
110
+ }>> & Readonly<{}>, {}, {}, {}, {
111
+ goBack(): void;
112
+ createButton(key: any, { label, icon, type, separateLine, loadable, circle, onClick, title }: {
113
+ label: any;
114
+ icon: any;
115
+ type: any;
116
+ separateLine?: boolean | undefined;
117
+ loadable: any;
118
+ circle: any;
119
+ onClick: any;
120
+ title: any;
121
+ }): any;
122
+ getLeftButtons(): any[];
123
+ getRightButtons(): any[];
124
+ getSearchButton(): any;
125
+ getRefreshButton(): any;
126
+ getSettingsButton(): any;
127
+ }, {}>;
128
+ }, true, {}, any>;
129
+ export default _default;
package/toolbar/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/Bh2SlzOo.mjs";
1
+ import { t as e } from "../chunks/DDcaXGrf2.mjs";
2
2
  export { e as default };