@a2simcode/ui 0.0.234 → 0.0.235

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 (358) hide show
  1. package/.cursor/skills/ui-component-helper/README.md +86 -86
  2. package/.cursor/skills/ui-component-helper/SKILL.md +115 -115
  3. package/LICENSE +53 -53
  4. package/README.md +156 -156
  5. package/dist/components/select/index.d.ts +20 -5
  6. package/dist/components/select/src/select.vue.d.ts +8 -2
  7. package/dist/simcode-ui.es.js +149 -137
  8. package/dist/simcode-ui.umd.js +2 -2
  9. package/dist/stats.html +1 -1
  10. package/dist/ui.css +1 -1
  11. package/docs/components/autocomplete.md +89 -89
  12. package/docs/components/barcode.md +101 -101
  13. package/docs/components/button-select.md +24 -24
  14. package/docs/components/button.md +117 -117
  15. package/docs/components/buttons.md +119 -119
  16. package/docs/components/cascader-select.md +114 -114
  17. package/docs/components/checkbox.md +114 -114
  18. package/docs/components/code-mirror.md +85 -85
  19. package/docs/components/collapse.md +26 -26
  20. package/docs/components/comp.md +71 -71
  21. package/docs/components/count-up.md +24 -24
  22. package/docs/components/count.md +24 -24
  23. package/docs/components/data-panel.md +24 -24
  24. package/docs/components/date.md +76 -76
  25. package/docs/components/dialog-full.md +112 -112
  26. package/docs/components/dialog.md +127 -127
  27. package/docs/components/divider.md +24 -24
  28. package/docs/components/drawer.md +127 -127
  29. package/docs/components/dynamic-layer.md +118 -118
  30. package/docs/components/echarts.md +72 -72
  31. package/docs/components/editor.md +24 -24
  32. package/docs/components/form.md +87 -87
  33. package/docs/components/guid.md +39 -39
  34. package/docs/components/hpanel.md +24 -24
  35. package/docs/components/icon.md +56 -56
  36. package/docs/components/input-button.md +24 -24
  37. package/docs/components/input-code.md +24 -24
  38. package/docs/components/input-color.md +114 -114
  39. package/docs/components/input-layer.md +56 -56
  40. package/docs/components/input-rows.md +370 -370
  41. package/docs/components/input-tag.md +50 -50
  42. package/docs/components/input.md +129 -129
  43. package/docs/components/layer-form.md +61 -61
  44. package/docs/components/layer.md +127 -127
  45. package/docs/components/layout.md +132 -132
  46. package/docs/components/map.md +24 -24
  47. package/docs/components/menu.md +121 -121
  48. package/docs/components/meta/button.ts +212 -212
  49. package/docs/components/meta/buttons.ts +76 -76
  50. package/docs/components/meta/code-mirror.ts +108 -108
  51. package/docs/components/meta/comp.ts +236 -236
  52. package/docs/components/meta/date.ts +267 -267
  53. package/docs/components/meta/echarts.ts +64 -64
  54. package/docs/components/meta/form-item.ts +50 -50
  55. package/docs/components/meta/form.ts +181 -181
  56. package/docs/components/meta/input-button.ts +165 -165
  57. package/docs/components/meta/input-cards.ts +112 -112
  58. package/docs/components/meta/input-code.ts +151 -151
  59. package/docs/components/meta/input-color.ts +243 -243
  60. package/docs/components/meta/input-layer.ts +382 -382
  61. package/docs/components/meta/input-rows.ts +119 -119
  62. package/docs/components/meta/layer-form.ts +74 -74
  63. package/docs/components/meta/map.ts +68 -68
  64. package/docs/components/meta/panel.ts +152 -152
  65. package/docs/components/meta/radio.ts +55 -55
  66. package/docs/components/meta/select.ts +279 -279
  67. package/docs/components/meta/slider.ts +270 -270
  68. package/docs/components/meta/table-panel.ts +260 -260
  69. package/docs/components/meta/table.ts +403 -403
  70. package/docs/components/meta/tabs.ts +146 -146
  71. package/docs/components/meta/title.ts +91 -91
  72. package/docs/components/meta/tree-select.ts +199 -199
  73. package/docs/components/meta/tree.ts +219 -219
  74. package/docs/components/meta/vpanel.ts +19 -19
  75. package/docs/components/meta/workflow-viewer.ts +55 -55
  76. package/docs/components/number.md +124 -124
  77. package/docs/components/page.md +102 -102
  78. package/docs/components/panel.md +37 -37
  79. package/docs/components/radio.md +87 -87
  80. package/docs/components/rate.md +71 -71
  81. package/docs/components/select.md +133 -133
  82. package/docs/components/slider-captcha.md +41 -41
  83. package/docs/components/slider.md +101 -101
  84. package/docs/components/switch.md +90 -90
  85. package/docs/components/table-panel.md +282 -282
  86. package/docs/components/table.md +435 -435
  87. package/docs/components/tabs.md +26 -26
  88. package/docs/components/title.md +24 -24
  89. package/docs/components/tree.md +207 -207
  90. package/docs/components/upload.md +117 -117
  91. package/docs/components/workflow-viewer.md +21 -21
  92. package/docs/components/workflow.md +21 -21
  93. package/docs/examples/autocomplete/advanced.vue +35 -35
  94. package/docs/examples/autocomplete/basic.vue +32 -32
  95. package/docs/examples/autocomplete/clearable.vue +33 -33
  96. package/docs/examples/autocomplete/custom-template.vue +49 -49
  97. package/docs/examples/autocomplete/disabled.vue +33 -33
  98. package/docs/examples/autocomplete/icon.vue +37 -37
  99. package/docs/examples/barcode/all-types.vue +380 -380
  100. package/docs/examples/barcode/basic.vue +14 -14
  101. package/docs/examples/barcode/props-appearance.vue +243 -243
  102. package/docs/examples/barcode/props-geometry.vue +143 -143
  103. package/docs/examples/barcode/props-logic.vue +216 -216
  104. package/docs/examples/barcode/props-symbology.vue +199 -199
  105. package/docs/examples/barcode/props-text.vue +268 -268
  106. package/docs/examples/button/basic.vue +7 -7
  107. package/docs/examples/button/disabled.vue +42 -42
  108. package/docs/examples/button/loading.vue +6 -6
  109. package/docs/examples/button/shape.vue +7 -7
  110. package/docs/examples/button/size.vue +14 -14
  111. package/docs/examples/button/status.vue +34 -34
  112. package/docs/examples/button/type.vue +10 -10
  113. package/docs/examples/button-select/basic.vue +19 -19
  114. package/docs/examples/buttons/basic.vue +62 -62
  115. package/docs/examples/buttons/disabled.vue +36 -36
  116. package/docs/examples/buttons/dropdown.vue +63 -63
  117. package/docs/examples/buttons/group.vue +52 -52
  118. package/docs/examples/buttons/link.vue +47 -47
  119. package/docs/examples/buttons/popup.vue +39 -39
  120. package/docs/examples/buttons/size.vue +45 -45
  121. package/docs/examples/cascader-select/basic.vue +28 -28
  122. package/docs/examples/cascader-select/clearable.vue +34 -34
  123. package/docs/examples/cascader-select/disabled.vue +43 -43
  124. package/docs/examples/cascader-select/filterable.vue +37 -37
  125. package/docs/examples/cascader-select/methods.vue +84 -84
  126. package/docs/examples/cascader-select/multiple.vue +38 -38
  127. package/docs/examples/cascader-select/slot.vue +45 -45
  128. package/docs/examples/checkbox/basic.vue +18 -18
  129. package/docs/examples/checkbox/button.vue +19 -19
  130. package/docs/examples/checkbox/color.vue +25 -25
  131. package/docs/examples/checkbox/disabled.vue +17 -17
  132. package/docs/examples/checkbox/min-max.vue +20 -20
  133. package/docs/examples/checkbox/mixed.vue +56 -56
  134. package/docs/examples/checkbox/size.vue +28 -28
  135. package/docs/examples/code-mirror/basic.vue +11 -11
  136. package/docs/examples/code-mirror/events.vue +42 -42
  137. package/docs/examples/code-mirror/height.vue +25 -25
  138. package/docs/examples/code-mirror/mode.vue +33 -33
  139. package/docs/examples/code-mirror/readonly.vue +14 -14
  140. package/docs/examples/collapse/basic.vue +82 -82
  141. package/docs/examples/comp/basic.vue +7 -7
  142. package/docs/examples/comp/collapse.vue +38 -38
  143. package/docs/examples/comp/tabs.vue +38 -38
  144. package/docs/examples/count/basic.vue +101 -101
  145. package/docs/examples/count-up/basic.vue +89 -89
  146. package/docs/examples/data-panel/basic.vue +110 -110
  147. package/docs/examples/date/basic.vue +73 -73
  148. package/docs/examples/date/default-value.vue +59 -59
  149. package/docs/examples/date/format.vue +75 -75
  150. package/docs/examples/date/range.vue +66 -66
  151. package/docs/examples/date/types.vue +79 -79
  152. package/docs/examples/decorated-title/basic.vue +31 -31
  153. package/docs/examples/dialog/basic.vue +36 -36
  154. package/docs/examples/dialog/custom-buttons.vue +44 -44
  155. package/docs/examples/dialog/fullscreen.vue +23 -23
  156. package/docs/examples/dialog/no-mask.vue +17 -17
  157. package/docs/examples/dialog/size.vue +44 -44
  158. package/docs/examples/dialog/steps.vue +57 -57
  159. package/docs/examples/dialog-full/basic.vue +29 -29
  160. package/docs/examples/dialog-full/custom-buttons.vue +45 -45
  161. package/docs/examples/dialog-full/no-buttons.vue +18 -18
  162. package/docs/examples/dialog-full/no-header.vue +27 -27
  163. package/docs/examples/dialog-full/steps.vue +71 -71
  164. package/docs/examples/divider/basic.vue +52 -52
  165. package/docs/examples/drawer/basic.vue +35 -35
  166. package/docs/examples/drawer/custom-buttons.vue +34 -34
  167. package/docs/examples/drawer/direction.vue +47 -47
  168. package/docs/examples/drawer/mask.vue +36 -36
  169. package/docs/examples/drawer/no-buttons.vue +20 -20
  170. package/docs/examples/drawer/size.vue +28 -28
  171. package/docs/examples/dynamic-layer/basic.vue +33 -33
  172. package/docs/examples/dynamic-layer/custom-buttons.vue +43 -43
  173. package/docs/examples/dynamic-layer/form.vue +73 -73
  174. package/docs/examples/dynamic-layer/steps.vue +52 -52
  175. package/docs/examples/dynamic-layer/types.vue +40 -40
  176. package/docs/examples/echarts/basic.vue +31 -31
  177. package/docs/examples/echarts/dynamic.vue +43 -43
  178. package/docs/examples/echarts/line.vue +46 -46
  179. package/docs/examples/echarts/pie.vue +44 -44
  180. package/docs/examples/editor/basic.vue +15 -15
  181. package/docs/examples/form/basic.vue +663 -663
  182. package/docs/examples/form/init.vue +76 -76
  183. package/docs/examples/form/master-detail.vue +203 -203
  184. package/docs/examples/form/rule-format.vue +179 -179
  185. package/docs/examples/form/view-table.vue +378 -378
  186. package/docs/examples/guid/basic.vue +10 -10
  187. package/docs/examples/guid/size.vue +13 -13
  188. package/docs/examples/hpanel/basic.vue +79 -79
  189. package/docs/examples/icon/basic.vue +9 -9
  190. package/docs/examples/icon/rotate-flip.vue +9 -9
  191. package/docs/examples/icon/size.vue +7 -7
  192. package/docs/examples/input/basic.vue +10 -10
  193. package/docs/examples/input/clearable.vue +12 -12
  194. package/docs/examples/input/disabled.vue +6 -6
  195. package/docs/examples/input/icon.vue +23 -23
  196. package/docs/examples/input/password.vue +18 -18
  197. package/docs/examples/input/size.vue +13 -13
  198. package/docs/examples/input/textarea.vue +25 -25
  199. package/docs/examples/input/word-limit.vue +28 -28
  200. package/docs/examples/input-button/basic.vue +33 -33
  201. package/docs/examples/input-cards/basic.vue +79 -79
  202. package/docs/examples/input-code/basic.vue +29 -29
  203. package/docs/examples/input-color/basic.vue +10 -10
  204. package/docs/examples/input-color/disabled.vue +13 -13
  205. package/docs/examples/input-color/format.vue +17 -17
  206. package/docs/examples/input-color/no-alpha.vue +13 -13
  207. package/docs/examples/input-color/only-button.vue +15 -15
  208. package/docs/examples/input-color/predefine.vue +31 -31
  209. package/docs/examples/input-color/size.vue +15 -15
  210. package/docs/examples/input-layer/basic.vue +85 -85
  211. package/docs/examples/input-layer/render-vnode-page.vue +160 -160
  212. package/docs/examples/input-layer/render-vnode.vue +127 -127
  213. package/docs/examples/input-rows/basic.vue +73 -73
  214. package/docs/examples/input-rows/drag.vue +48 -48
  215. package/docs/examples/input-rows/layer-form.vue +85 -85
  216. package/docs/examples/input-rows/nested.vue +91 -91
  217. package/docs/examples/input-tag/basic.vue +27 -27
  218. package/docs/examples/input-tag/colors.vue +23 -23
  219. package/docs/examples/input-tag/readonly.vue +17 -17
  220. package/docs/examples/layer/basic.vue +43 -43
  221. package/docs/examples/layer/custom-buttons.vue +61 -61
  222. package/docs/examples/layer/drawer.vue +37 -37
  223. package/docs/examples/layer/full.vue +38 -38
  224. package/docs/examples/layer/modal.vue +34 -34
  225. package/docs/examples/layer/steps.vue +46 -46
  226. package/docs/examples/layer-form/basic.vue +76 -76
  227. package/docs/examples/layer-form/config.vue +82 -82
  228. package/docs/examples/layer-form/size.vue +72 -72
  229. package/docs/examples/layout/basic.vue +36 -36
  230. package/docs/examples/layout/custom-size.vue +50 -50
  231. package/docs/examples/layout/disable-move.vue +37 -37
  232. package/docs/examples/layout/hide-mid-when-narrow.vue +96 -96
  233. package/docs/examples/layout/min-size.vue +73 -73
  234. package/docs/examples/layout/percent-size.vue +80 -80
  235. package/docs/examples/layout/simple.vue +22 -22
  236. package/docs/examples/layout/top-side.vue +34 -34
  237. package/docs/examples/map/basic.vue +22 -22
  238. package/docs/examples/menu/basic.vue +58 -58
  239. package/docs/examples/menu/collapsed.vue +49 -49
  240. package/docs/examples/menu/horizontal.vue +44 -44
  241. package/docs/examples/menu/selection-test.vue +104 -104
  242. package/docs/examples/menu/theme.vue +46 -46
  243. package/docs/examples/menu/vertical.vue +46 -46
  244. package/docs/examples/number/advanced.vue +143 -143
  245. package/docs/examples/number/basic.vue +63 -63
  246. package/docs/examples/number/disabled.vue +49 -49
  247. package/docs/examples/number/size.vue +42 -42
  248. package/docs/examples/number/slots.vue +123 -123
  249. package/docs/examples/number/step-strictly.vue +41 -41
  250. package/docs/examples/number/step.vue +47 -47
  251. package/docs/examples/page/basic.vue +41 -41
  252. package/docs/examples/page/code-table-model.vue +428 -428
  253. package/docs/examples/page/dept-user-management.vue +211 -211
  254. package/docs/examples/page/init.vue +87 -87
  255. package/docs/examples/page/log.vue +453 -453
  256. package/docs/examples/page/user-management.vue +313 -313
  257. package/docs/examples/panel/tool-buttons.vue +18 -18
  258. package/docs/examples/radio/basic.vue +17 -17
  259. package/docs/examples/radio/button.vue +17 -17
  260. package/docs/examples/radio/color.vue +18 -18
  261. package/docs/examples/radio/disabled.vue +17 -17
  262. package/docs/examples/radio/size.vue +29 -29
  263. package/docs/examples/rate/basic.vue +24 -24
  264. package/docs/examples/rate/half.vue +24 -24
  265. package/docs/examples/rate/readonly.vue +11 -11
  266. package/docs/examples/rate/text.vue +37 -37
  267. package/docs/examples/select/basic.vue +16 -16
  268. package/docs/examples/select/clearable.vue +22 -22
  269. package/docs/examples/select/disabled.vue +31 -31
  270. package/docs/examples/select/filterable.vue +24 -24
  271. package/docs/examples/select/group.vue +23 -23
  272. package/docs/examples/select/icon.vue +16 -16
  273. package/docs/examples/select/multiple.vue +18 -18
  274. package/docs/examples/select/size.vue +39 -39
  275. package/docs/examples/slider/basic.vue +42 -42
  276. package/docs/examples/slider/disabled.vue +17 -17
  277. package/docs/examples/slider/marks.vue +30 -30
  278. package/docs/examples/slider/size.vue +37 -37
  279. package/docs/examples/slider/tooltip.vue +36 -36
  280. package/docs/examples/slider/vertical.vue +26 -26
  281. package/docs/examples/slider-captcha/basic.vue +44 -44
  282. package/docs/examples/slider-captcha/custom.vue +48 -48
  283. package/docs/examples/switch/basic.vue +16 -16
  284. package/docs/examples/switch/disabled.vue +13 -13
  285. package/docs/examples/switch/loading.vue +13 -13
  286. package/docs/examples/switch/size.vue +15 -15
  287. package/docs/examples/switch/text.vue +13 -13
  288. package/docs/examples/table/action-filter.vue +126 -126
  289. package/docs/examples/table/actions.vue +116 -116
  290. package/docs/examples/table/add-row.vue +103 -103
  291. package/docs/examples/table/basic.vue +168 -168
  292. package/docs/examples/table/checkbox-layout.vue +68 -68
  293. package/docs/examples/table/custom-layout.vue +115 -115
  294. package/docs/examples/table/dynamic-type.vue +73 -73
  295. package/docs/examples/table/editable.vue +262 -262
  296. package/docs/examples/table/field-selection.vue +87 -87
  297. package/docs/examples/table/frozen-column.vue +140 -140
  298. package/docs/examples/table/height-mode.vue +99 -99
  299. package/docs/examples/table/icon.vue +85 -85
  300. package/docs/examples/table/layer-form.vue +133 -133
  301. package/docs/examples/table/link.vue +66 -66
  302. package/docs/examples/table/multiple-disabled.vue +112 -112
  303. package/docs/examples/table/multiple.vue +188 -188
  304. package/docs/examples/table/pagination.vue +151 -151
  305. package/docs/examples/table/row-drag.vue +67 -67
  306. package/docs/examples/table/single-selection.vue +64 -64
  307. package/docs/examples/table/sub-table-lazy.vue +97 -97
  308. package/docs/examples/table/sub-table.vue +103 -103
  309. package/docs/examples/table/tag.vue +43 -43
  310. package/docs/examples/table/tree-column.vue +119 -119
  311. package/docs/examples/table/tree-data.vue +141 -141
  312. package/docs/examples/table/tree-default-expand-all.vue +60 -60
  313. package/docs/examples/table/tree-lazy.vue +80 -80
  314. package/docs/examples/table/tree-set-selection.vue +75 -75
  315. package/docs/examples/table-panel/basic.vue +229 -229
  316. package/docs/examples/table-panel/batch-operations.vue +286 -286
  317. package/docs/examples/table-panel/button-visibility.vue +88 -88
  318. package/docs/examples/table-panel/filter.vue +219 -219
  319. package/docs/examples/table-panel/get-selection.vue +111 -111
  320. package/docs/examples/table-panel/mask.vue +151 -151
  321. package/docs/examples/table-panel/model-value.vue +87 -87
  322. package/docs/examples/table-panel/multiple-selection.vue +243 -243
  323. package/docs/examples/table-panel/pagination.vue +133 -133
  324. package/docs/examples/table-panel/search-list.vue +207 -207
  325. package/docs/examples/table-panel/sub-table-lazy.vue +118 -118
  326. package/docs/examples/table-panel/tree-parent-key.vue +67 -67
  327. package/docs/examples/tabs/basic.vue +98 -98
  328. package/docs/examples/time/base.vue +67 -67
  329. package/docs/examples/title/basic.vue +87 -87
  330. package/docs/examples/tree/accordion.vue +46 -46
  331. package/docs/examples/tree/basic.vue +50 -50
  332. package/docs/examples/tree/buttons.vue +53 -53
  333. package/docs/examples/tree/checkable.vue +52 -52
  334. package/docs/examples/tree/custom-keys.vue +39 -39
  335. package/docs/examples/tree/default-expanded.vue +52 -52
  336. package/docs/examples/tree/draggable.vue +29 -29
  337. package/docs/examples/tree/expand-on-click.vue +39 -39
  338. package/docs/examples/tree/flat-data.vue +20 -20
  339. package/docs/examples/tree/icon.vue +40 -40
  340. package/docs/examples/tree/load-data.vue +37 -37
  341. package/docs/examples/tree/methods.vue +74 -74
  342. package/docs/examples/tree/theme.vue +33 -33
  343. package/docs/examples/tree-select/basic.vue +47 -47
  344. package/docs/examples/upload/accept.vue +31 -31
  345. package/docs/examples/upload/basic.vue +12 -12
  346. package/docs/examples/upload/drag.vue +11 -11
  347. package/docs/examples/upload/image.vue +17 -17
  348. package/docs/examples/upload/limit.vue +20 -20
  349. package/docs/examples/upload/multiple.vue +17 -17
  350. package/docs/examples/upload/readonly.vue +17 -17
  351. package/docs/examples/utils/cipher.vue +160 -160
  352. package/docs/examples/utils/common.vue +153 -153
  353. package/docs/examples/utils/date.vue +56 -56
  354. package/docs/examples/utils/dom.vue +52 -52
  355. package/docs/examples/utils/is.vue +70 -70
  356. package/docs/examples/workflow/basic.vue +265 -265
  357. package/docs/examples/workflow-viewer/basic.vue +248 -248
  358. package/package.json +23 -23
@@ -1421,7 +1421,7 @@ var th = /* @__PURE__ */ cn(((e, t) => {
1421
1421
  ]);
1422
1422
  },
1423
1423
  _doProcessBlock: function(h, p) {
1424
- for (var g = this._hash.words, b = g[0], x = g[1], w = g[2], m = g[3], y = g[4], C = g[5], v = g[6], _ = g[7], S = b.high, k = b.low, T = x.high, A = x.low, j = w.high, z = w.low, H = m.high, M = m.low, E = y.high, F = y.low, X = C.high, ue = C.low, _e = v.high, U = v.low, K = _.high, Q = _.low, P = S, je = k, Ge = T, Pe = A, qe = j, oe = z, Oe = H, ee = M, ie = E, Re = F, Je = X, it = ue, Xe = _e, nn = U, an = K, on = Q, ht = 0; ht < 80; ht++) {
1424
+ for (var g = this._hash.words, b = g[0], x = g[1], w = g[2], m = g[3], y = g[4], C = g[5], v = g[6], _ = g[7], S = b.high, k = b.low, T = x.high, A = x.low, j = w.high, z = w.low, H = m.high, M = m.low, E = y.high, F = y.low, X = C.high, ue = C.low, _e = v.high, U = v.low, K = _.high, Q = _.low, P = S, je = k, Ge = T, Pe = A, qe = j, ae = z, Oe = H, ee = M, ie = E, Re = F, Je = X, it = ue, Xe = _e, nn = U, an = K, on = Q, ht = 0; ht < 80; ht++) {
1425
1425
  var Ot, It, un = f[ht];
1426
1426
  if (ht < 16)
1427
1427
  It = un.high = h[p + ht * 2] | 0, Ot = un.low = h[p + ht * 2 + 1] | 0;
@@ -1429,10 +1429,10 @@ var th = /* @__PURE__ */ cn(((e, t) => {
1429
1429
  var Xn = f[ht - 15], yt = Xn.high, Kt = Xn.low, rn = (yt >>> 1 | Kt << 31) ^ (yt >>> 8 | Kt << 24) ^ yt >>> 7, An = (Kt >>> 1 | yt << 31) ^ (Kt >>> 8 | yt << 24) ^ (Kt >>> 7 | yt << 25), $n = f[ht - 2], Wt = $n.high, Lt = $n.low, wa = (Wt >>> 19 | Lt << 13) ^ (Wt << 3 | Lt >>> 29) ^ Wt >>> 6, G = (Lt >>> 19 | Wt << 13) ^ (Lt << 3 | Wt >>> 29) ^ (Lt >>> 6 | Wt << 26), pe = f[ht - 7], re = pe.high, le = pe.low, me = f[ht - 16], Be = me.high, ze = me.low;
1430
1430
  Ot = An + le, It = rn + re + (Ot >>> 0 < An >>> 0 ? 1 : 0), Ot = Ot + G, It = It + wa + (Ot >>> 0 < G >>> 0 ? 1 : 0), Ot = Ot + ze, It = It + Be + (Ot >>> 0 < ze >>> 0 ? 1 : 0), un.high = It, un.low = Ot;
1431
1431
  }
1432
- var nt = ie & Je ^ ~ie & Xe, Ct = Re & it ^ ~Re & nn, de = P & Ge ^ P & qe ^ Ge & qe, Se = je & Pe ^ je & oe ^ Pe & oe, mt = (P >>> 28 | je << 4) ^ (P << 30 | je >>> 2) ^ (P << 25 | je >>> 7), zt = (je >>> 28 | P << 4) ^ (je << 30 | P >>> 2) ^ (je << 25 | P >>> 7), Ce = (ie >>> 14 | Re << 18) ^ (ie >>> 18 | Re << 14) ^ (ie << 23 | Re >>> 9), rt = (Re >>> 14 | ie << 18) ^ (Re >>> 18 | ie << 14) ^ (Re << 23 | ie >>> 9), Ut = d[ht], jt = Ut.high, Vt = Ut.low, Pt = on + rt, qt = an + Ce + (Pt >>> 0 < on >>> 0 ? 1 : 0), Pt = Pt + Ct, qt = qt + nt + (Pt >>> 0 < Ct >>> 0 ? 1 : 0), Pt = Pt + Vt, qt = qt + jt + (Pt >>> 0 < Vt >>> 0 ? 1 : 0), Pt = Pt + Ot, qt = qt + It + (Pt >>> 0 < Ot >>> 0 ? 1 : 0), Fe = zt + Se, hn = mt + de + (Fe >>> 0 < zt >>> 0 ? 1 : 0);
1433
- an = Xe, on = nn, Xe = Je, nn = it, Je = ie, it = Re, Re = ee + Pt | 0, ie = Oe + qt + (Re >>> 0 < ee >>> 0 ? 1 : 0) | 0, Oe = qe, ee = oe, qe = Ge, oe = Pe, Ge = P, Pe = je, je = Pt + Fe | 0, P = qt + hn + (je >>> 0 < Pt >>> 0 ? 1 : 0) | 0;
1432
+ var nt = ie & Je ^ ~ie & Xe, Ct = Re & it ^ ~Re & nn, de = P & Ge ^ P & qe ^ Ge & qe, Se = je & Pe ^ je & ae ^ Pe & ae, mt = (P >>> 28 | je << 4) ^ (P << 30 | je >>> 2) ^ (P << 25 | je >>> 7), zt = (je >>> 28 | P << 4) ^ (je << 30 | P >>> 2) ^ (je << 25 | P >>> 7), Ce = (ie >>> 14 | Re << 18) ^ (ie >>> 18 | Re << 14) ^ (ie << 23 | Re >>> 9), rt = (Re >>> 14 | ie << 18) ^ (Re >>> 18 | ie << 14) ^ (Re << 23 | ie >>> 9), Ut = d[ht], jt = Ut.high, Vt = Ut.low, Pt = on + rt, qt = an + Ce + (Pt >>> 0 < on >>> 0 ? 1 : 0), Pt = Pt + Ct, qt = qt + nt + (Pt >>> 0 < Ct >>> 0 ? 1 : 0), Pt = Pt + Vt, qt = qt + jt + (Pt >>> 0 < Vt >>> 0 ? 1 : 0), Pt = Pt + Ot, qt = qt + It + (Pt >>> 0 < Ot >>> 0 ? 1 : 0), Fe = zt + Se, hn = mt + de + (Fe >>> 0 < zt >>> 0 ? 1 : 0);
1433
+ an = Xe, on = nn, Xe = Je, nn = it, Je = ie, it = Re, Re = ee + Pt | 0, ie = Oe + qt + (Re >>> 0 < ee >>> 0 ? 1 : 0) | 0, Oe = qe, ee = ae, qe = Ge, ae = Pe, Ge = P, Pe = je, je = Pt + Fe | 0, P = qt + hn + (je >>> 0 < Pt >>> 0 ? 1 : 0) | 0;
1434
1434
  }
1435
- k = b.low = k + je, b.high = S + P + (k >>> 0 < je >>> 0 ? 1 : 0), A = x.low = A + Pe, x.high = T + Ge + (A >>> 0 < Pe >>> 0 ? 1 : 0), z = w.low = z + oe, w.high = j + qe + (z >>> 0 < oe >>> 0 ? 1 : 0), M = m.low = M + ee, m.high = H + Oe + (M >>> 0 < ee >>> 0 ? 1 : 0), F = y.low = F + Re, y.high = E + ie + (F >>> 0 < Re >>> 0 ? 1 : 0), ue = C.low = ue + it, C.high = X + Je + (ue >>> 0 < it >>> 0 ? 1 : 0), U = v.low = U + nn, v.high = _e + Xe + (U >>> 0 < nn >>> 0 ? 1 : 0), Q = _.low = Q + on, _.high = K + an + (Q >>> 0 < on >>> 0 ? 1 : 0);
1435
+ k = b.low = k + je, b.high = S + P + (k >>> 0 < je >>> 0 ? 1 : 0), A = x.low = A + Pe, x.high = T + Ge + (A >>> 0 < Pe >>> 0 ? 1 : 0), z = w.low = z + ae, w.high = j + qe + (z >>> 0 < ae >>> 0 ? 1 : 0), M = m.low = M + ee, m.high = H + Oe + (M >>> 0 < ee >>> 0 ? 1 : 0), F = y.low = F + Re, y.high = E + ie + (F >>> 0 < Re >>> 0 ? 1 : 0), ue = C.low = ue + it, C.high = X + Je + (ue >>> 0 < it >>> 0 ? 1 : 0), U = v.low = U + nn, v.high = _e + Xe + (U >>> 0 < nn >>> 0 ? 1 : 0), Q = _.low = Q + on, _.high = K + an + (Q >>> 0 < on >>> 0 ? 1 : 0);
1436
1436
  },
1437
1437
  _doFinalize: function() {
1438
1438
  var h = this._data, p = h.words, g = this._nDataBytes * 8, b = h.sigBytes * 8;
@@ -2625,20 +2625,32 @@ var Oh = ke(Lc), Ih = /* @__PURE__ */ ye({
2625
2625
  }), d = (f) => {
2626
2626
  if (n.multiple) {
2627
2627
  if (f.length == 0) {
2628
- a("change", void 0);
2628
+ a("change", {
2629
+ value: f,
2630
+ data: []
2631
+ });
2629
2632
  return;
2630
2633
  }
2631
2634
  const u = [];
2632
2635
  f.forEach((h) => {
2633
2636
  const p = n.options.find((g) => g.value == h);
2634
2637
  p && u.push(p);
2635
- }), a("change", u);
2638
+ }), a("change", {
2639
+ value: f,
2640
+ data: u
2641
+ });
2636
2642
  } else {
2637
2643
  if (f == "" || f == null || f == null) {
2638
- a("change", void 0);
2644
+ a("change", {
2645
+ value: f,
2646
+ data: void 0
2647
+ });
2639
2648
  return;
2640
2649
  }
2641
- a("change", n.options.find((u) => u.value == f));
2650
+ a("change", {
2651
+ value: f,
2652
+ data: n.options.find((u) => u.value == f)
2653
+ });
2642
2654
  }
2643
2655
  };
2644
2656
  return Tt(() => {
@@ -5387,14 +5399,14 @@ var zp = class {
5387
5399
  "j-checkbox"
5388
5400
  ].includes(F.value) ? !(F.value === "j-select" && !H.value?.multiple || F.value === "j-tree-select" && !H.value?.multiple) : !1), A = O(() => H.value.valueIdKey || n.id), j = O({
5389
5401
  get() {
5390
- let oe;
5402
+ let ae;
5391
5403
  const Oe = A.value;
5392
- if (v ? oe = v[Oe] : s ? oe = s[Oe] : oe = n.modelValue, oe === void 0 && F.value === "j-tabs") {
5404
+ if (v ? ae = v[Oe] : s ? ae = s[Oe] : ae = n.modelValue, ae === void 0 && F.value === "j-tabs") {
5393
5405
  if (H.value?.defaultValue) return H.value.defaultValue;
5394
5406
  const ee = n.children.findIndex((ie) => ie.config?.active);
5395
5407
  return ee > -1 ? "_tab" + ee : "_tab0";
5396
5408
  }
5397
- if (oe === void 0 && F.value === "j-collapse") {
5409
+ if (ae === void 0 && F.value === "j-collapse") {
5398
5410
  if (H.value?.defaultValue) return H.value.defaultValue;
5399
5411
  const ee = n.children.map((ie, Re) => ({
5400
5412
  item: ie,
@@ -5402,11 +5414,11 @@ var zp = class {
5402
5414
  })).filter(({ item: ie }) => ie.config?.active);
5403
5415
  return H.value?.accordion ? ee.length > 0 ? "_collapse" + ee[0].index : "" : ee.map(({ index: ie }) => "_collapse" + ie);
5404
5416
  }
5405
- return T.value ? oe ? oe.split(",") : [] : oe;
5417
+ return T.value ? ae ? ae.split(",") : [] : ae;
5406
5418
  },
5407
- set(oe) {
5419
+ set(ae) {
5408
5420
  const Oe = A.value;
5409
- oe && T.value && (oe = String(oe || [])), v ? v[Oe] = oe : s && (s[Oe] = oe), a("update:modelValue", oe);
5421
+ ae && T.value && (ae = String(ae || [])), v ? v[Oe] = ae : s && (s[Oe] = ae), a("update:modelValue", ae);
5410
5422
  }
5411
5423
  }), z = L(0);
5412
5424
  (n.getCompType != null || n.getCompConfig != null) && ot([() => s, () => v], () => z.value++, { deep: !0 });
@@ -5434,50 +5446,50 @@ var zp = class {
5434
5446
  row: v,
5435
5447
  getTableData: w
5436
5448
  }) || [] : H.value.options || [];
5437
- }), F = O(() => n.isTableCell && (M.value === "j-radio" || M.value === "j-checkbox") ? "j-select" : M.value === "j-textarea" ? "j-input" : ((M.value == null || M.value === "") && console.warn("组件类型不能为空"), M.value)), X = (oe) => l({
5438
- value: oe,
5449
+ }), F = O(() => n.isTableCell && (M.value === "j-radio" || M.value === "j-checkbox") ? "j-select" : M.value === "j-textarea" ? "j-input" : ((M.value == null || M.value === "") && console.warn("组件类型不能为空"), M.value)), X = (ae) => l({
5450
+ value: ae,
5439
5451
  config: U.value || {},
5440
5452
  formData: S.value,
5441
5453
  row: v,
5442
5454
  getTableData: w
5443
- }), ue = async (oe) => i ? await i({
5455
+ }), ue = async (ae) => i ? await i({
5444
5456
  type: F.value,
5445
5457
  config: U.value,
5446
5458
  formData: S.value,
5447
5459
  row: v,
5448
5460
  getTableData: w,
5449
- params: oe
5450
- }) : [], _e = (oe) => {
5451
- const Oe = oe.config?.parentTableId, ee = Oe && oe.id && oe.id.startsWith(Oe + ".") ? oe.id.slice(Oe.length + 1) : oe.id, ie = oe.type === "j-layer-form" || oe.type === "j-layerform", Re = oe.children?.map(_e) || [], Je = ie ? {
5452
- ...oe.config,
5461
+ params: ae
5462
+ }) : [], _e = (ae) => {
5463
+ const Oe = ae.config?.parentTableId, ee = Oe && ae.id && ae.id.startsWith(Oe + ".") ? ae.id.slice(Oe.length + 1) : ae.id, ie = ae.type === "j-layer-form" || ae.type === "j-layerform", Re = ae.children?.map(_e) || [], Je = ie ? {
5464
+ ...ae.config,
5453
5465
  schema: Re
5454
- } : oe.config;
5466
+ } : ae.config;
5455
5467
  return ie ? {
5456
- ...oe,
5468
+ ...ae,
5457
5469
  id: ee,
5458
5470
  children: void 0,
5459
5471
  config: Je
5460
5472
  } : Re.length ? {
5461
- ...oe,
5473
+ ...ae,
5462
5474
  id: ee,
5463
5475
  children: Re,
5464
5476
  config: Je
5465
- } : ee === oe.id && Je === oe.config ? oe : {
5466
- ...oe,
5477
+ } : ee === ae.id && Je === ae.config ? ae : {
5478
+ ...ae,
5467
5479
  id: ee,
5468
5480
  config: Je
5469
5481
  };
5470
5482
  }, U = O(() => {
5471
- const oe = { ...H.value };
5472
- return F.value === "j-layer-form" && (oe.schema = n.children), F.value === "el-collapse-item" && oe.label && (oe.title = oe.label, delete oe.label), [
5483
+ const ae = { ...H.value };
5484
+ return F.value === "j-layer-form" && (ae.schema = n.children), F.value === "el-collapse-item" && ae.label && (ae.title = ae.label, delete ae.label), [
5473
5485
  "j-input-cards",
5474
5486
  "j-input-rows",
5475
5487
  "j-table",
5476
5488
  "j-table-panel"
5477
- ].includes(M.value) && oe.columns === void 0 && (oe.columns = n.children.map(_e)), n.isTableCell && (M.value === "j-checkbox" && (oe.multiple = !0), M.value === "j-select" && oe.multiple && (oe.collapseTags = !0, oe.collapseTagsTooltip = !0), M.value === "j-switch" && (oe.size = "small"), M.value === "j-textarea" && (oe.type = "textarea")), ["j-button-layer", "j-input-layer"].includes(M.value) && (oe.loadLayerData = ue, oe.getText = X), oe.dataType && (oe.options = E.value), oe;
5489
+ ].includes(M.value) && ae.columns === void 0 && (ae.columns = n.children.map(_e)), n.isTableCell && (M.value === "j-checkbox" && (ae.multiple = !0), M.value === "j-select" && ae.multiple && (ae.collapseTags = !0, ae.collapseTagsTooltip = !0), M.value === "j-switch" && (ae.size = "small"), M.value === "j-textarea" && (ae.type = "textarea")), ["j-button-layer", "j-input-layer"].includes(M.value) && (ae.loadLayerData = ue, ae.getText = X), ae.dataType && (ae.options = E.value), ae;
5478
5490
  }), K = O(() => {
5479
5491
  if (F.value === "j-layer-form" || F.value === "j-input-rows" || F.value === "j-input-cards") return {};
5480
- const oe = {};
5492
+ const ae = {};
5481
5493
  return n.children.forEach((Oe, ee) => {
5482
5494
  let ie = Oe;
5483
5495
  F.value === "j-tabs" && (ie = {
@@ -5494,24 +5506,24 @@ var zp = class {
5494
5506
  ...Oe.config || {},
5495
5507
  name: "_collapse" + ee
5496
5508
  }
5497
- }, c == "form" && (ie.config.needRow = ie.config.needRow !== !1, ie.config.needFormItem = ie.config.needFormItem !== !1)), ie.slot ? (oe[ie.slot] = oe[ie.slot] || [], oe[ie.slot].push(ie)) : (oe.default = oe.default || [], oe.default.push(ie));
5498
- }), oe;
5499
- }), Q = (oe) => {
5509
+ }, c == "form" && (ie.config.needRow = ie.config.needRow !== !1, ie.config.needFormItem = ie.config.needFormItem !== !1)), ie.slot ? (ae[ie.slot] = ae[ie.slot] || [], ae[ie.slot].push(ie)) : (ae.default = ae.default || [], ae.default.push(ie));
5510
+ }), ae;
5511
+ }), Q = (ae) => {
5500
5512
  const Oe = {
5501
- ...oe,
5513
+ ...ae && typeof ae == "object" && !Array.isArray(ae) ? ae : { value: ae },
5502
5514
  id: n.id,
5503
5515
  formData: s,
5504
5516
  row: v,
5505
5517
  getTableData: w,
5506
5518
  config: H.value,
5507
- type: oe?.type || "change",
5519
+ type: ae?.type || "change",
5508
5520
  colNum: n.colNum,
5509
5521
  rowNum: n.rowNum
5510
5522
  };
5511
5523
  H.value?.change && H.value?.change(Oe), y && y(Oe), d && d(Oe), a("change", Oe);
5512
- }, P = L(), je = L(), Ge = (oe, ...Oe) => {
5513
- if (P.value && typeof P.value[oe] == "function") return P.value[oe](...Oe);
5514
- console.warn(`方法 ${oe} 不存在或不是函数`);
5524
+ }, P = L(), je = L(), Ge = (ae, ...Oe) => {
5525
+ if (P.value && typeof P.value[ae] == "function") return P.value[ae](...Oe);
5526
+ console.warn(`方法 ${ae} 不存在或不是函数`);
5515
5527
  }, Pe = () => {
5516
5528
  je.value?.(), je.value = void 0;
5517
5529
  }, qe = () => {
@@ -5523,7 +5535,7 @@ var zp = class {
5523
5535
  n.id && h && h(n.id), n.id && x && x(n.id);
5524
5536
  }), Oo(() => {
5525
5537
  Pe();
5526
- }), (oe, Oe) => {
5538
+ }), (ae, Oe) => {
5527
5539
  const ee = V("JComp"), ie = V("el-row");
5528
5540
  return U.value.display != !1 && k.value ? (R(), N(Pa(F.value), Ne({
5529
5541
  key: 0,
@@ -5910,9 +5922,9 @@ var Up = /* @__PURE__ */ ye({
5910
5922
  let T = o.records.length, A = 45;
5911
5923
  const j = L(!1), z = L({}), H = L([]), M = L(null), E = L(0);
5912
5924
  let F = null, X = !1, ue = !1;
5913
- const _e = (I, $, Y, ae, W) => {
5925
+ const _e = (I, $, Y, oe, W) => {
5914
5926
  H.value = I, M.value = $, E.value = Y, z.value = {
5915
- left: `${ae}px`,
5927
+ left: `${oe}px`,
5916
5928
  top: `${W}px`
5917
5929
  }, j.value = !0, X = !1, document.addEventListener("wheel", Ge, { passive: !1 });
5918
5930
  }, U = () => {
@@ -5936,9 +5948,9 @@ var Up = /* @__PURE__ */ ye({
5936
5948
  }), U());
5937
5949
  }, qe = (I) => {
5938
5950
  let $ = I.action.config?.display !== !1, Y = I.action.config?.disabled === !0;
5939
- const ae = o.actionFilter;
5940
- if (ae) try {
5941
- const W = ae(I);
5951
+ const oe = o.actionFilter;
5952
+ if (oe) try {
5953
+ const W = oe(I);
5942
5954
  typeof W == "boolean" ? $ = W : W && typeof W == "object" && (typeof W.display == "boolean" && ($ = W.display), typeof W.disabled == "boolean" && (Y = W.disabled));
5943
5955
  } catch {
5944
5956
  $ = I.action.config?.display !== !1, Y = I.action.config?.disabled === !0;
@@ -5947,14 +5959,14 @@ var Up = /* @__PURE__ */ ye({
5947
5959
  display: $,
5948
5960
  disabled: Y
5949
5961
  };
5950
- }, oe = (I, $) => $.disabled ? {
5962
+ }, ae = (I, $) => $.disabled ? {
5951
5963
  ...I,
5952
5964
  config: {
5953
5965
  ...I.config || {},
5954
5966
  disabled: !0
5955
5967
  }
5956
5968
  } : I, Oe = (I) => {
5957
- const { Group: $, Text: Y } = Ye.CustomLayout, ae = o.actionsMaxCount, W = I.filter((he) => he.config?.display !== !1), ne = W.length > ae, se = ne ? W.slice(0, ae - 1) : W;
5969
+ const { Group: $, Text: Y } = Ye.CustomLayout, oe = o.actionsMaxCount, W = I.filter((he) => he.config?.display !== !1), ne = W.length > oe, se = ne ? W.slice(0, oe - 1) : W;
5958
5970
  let ge = 0;
5959
5971
  if (se.forEach((he, be) => {
5960
5972
  const Me = Rn(he.config?.label || he.label || "") || 0;
@@ -5983,7 +5995,7 @@ var Up = /* @__PURE__ */ ye({
5983
5995
  table: be
5984
5996
  });
5985
5997
  return {
5986
- action: oe(we, { disabled: pt.disabled }),
5998
+ action: ae(we, { disabled: pt.disabled }),
5987
5999
  display: pt.display
5988
6000
  };
5989
6001
  }).filter((we) => we.display).map((we) => we.action), Te = o.actionsMaxCount, We = Le.length > Te, et = We ? Le.slice(0, Te - 1) : Le, ft = We ? Le.slice(Te - 1) : [], at = new $({
@@ -6045,10 +6057,10 @@ var Up = /* @__PURE__ */ ye({
6045
6057
  }
6046
6058
  };
6047
6059
  }, ee = (I, $) => {
6048
- const { dataValue: Y, table: ae, col: W, row: ne, value: se } = I, ge = I.rect ?? ae?.getCellRect?.(W, ne) ?? {
6060
+ const { dataValue: Y, table: oe, col: W, row: ne, value: se } = I, ge = I.rect ?? oe?.getCellRect?.(W, ne) ?? {
6049
6061
  width: 0,
6050
6062
  height: 0
6051
- }, fe = ae?.getBodyField?.(W, ne), he = ae?.options?.columns || [], be = (fe ? yt(he, fe) : null)?.style?.textAlign || "left", Me = 8, He = Math.max(0, ge.width - Me * 2);
6063
+ }, fe = oe?.getBodyField?.(W, ne), he = oe?.options?.columns || [], be = (fe ? yt(he, fe) : null)?.style?.textAlign || "left", Me = 8, He = Math.max(0, ge.width - Me * 2);
6052
6064
  let Ee = se ?? Y;
6053
6065
  Ee == null && (Ee = "");
6054
6066
  const Ze = Xe(typeof Ee == "object" ? JSON.stringify(Ee) : String(Ee), He);
@@ -6067,16 +6079,16 @@ var Up = /* @__PURE__ */ ye({
6067
6079
  expectedHeight: Sn
6068
6080
  };
6069
6081
  }, ie = (I, $) => {
6070
- const { dataValue: Y, rect: ae, table: W, col: ne, row: se } = I;
6082
+ const { dataValue: Y, rect: oe, table: W, col: ne, row: se } = I;
6071
6083
  let ge = "mdi:toggle-switch", fe = "#165dff";
6072
6084
  Y || (ge = "mdi:toggle-switch-off", fe = "#e5e6eb");
6073
6085
  const he = Ea(ge), be = he?.body?.replace(/currentColor/g, fe), Me = [], He = W?.getBodyField?.(ne, se), Ee = W?.options?.columns || [], Ze = He ? yt(Ee, He) : null, Le = 8, Te = 40;
6074
6086
  let We = Le;
6075
- return Ze?.style?.textAlign === "center" ? We = Math.max(Le, (ae.width - Te) / 2) : Ze?.style?.textAlign === "right" && (We = Math.max(Le, ae.width - Te - Le)), Me.push({
6087
+ return Ze?.style?.textAlign === "center" ? We = Math.max(Le, (oe.width - Te) / 2) : Ze?.style?.textAlign === "right" && (We = Math.max(Le, oe.width - Te - Le)), Me.push({
6076
6088
  type: "icon",
6077
6089
  svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${Te}" height="${Te}" viewBox="0 0 ${he?.width} ${he?.height}" >${be}</svg>`,
6078
6090
  x: We,
6079
- y: (ae.height - Te) / 2,
6091
+ y: (oe.height - Te) / 2,
6080
6092
  width: Te,
6081
6093
  height: Te
6082
6094
  }), {
@@ -6084,7 +6096,7 @@ var Up = /* @__PURE__ */ ye({
6084
6096
  expectedHeight: Sn
6085
6097
  };
6086
6098
  }, Re = (I, $) => {
6087
- const { dataValue: Y, rect: ae } = I, W = Number(Y) || 0, ne = 5, se = 20, ge = 4, fe = 8, he = (ae.height - se) / 2, be = [], Me = Ea("mdi:star"), He = Ea("mdi:star-half-full"), Ee = Ea("mdi:star-outline"), Ze = "#f7ba2a", Le = "#e5e6eb";
6099
+ const { dataValue: Y, rect: oe } = I, W = Number(Y) || 0, ne = 5, se = 20, ge = 4, fe = 8, he = (oe.height - se) / 2, be = [], Me = Ea("mdi:star"), He = Ea("mdi:star-half-full"), Ee = Ea("mdi:star-outline"), Ze = "#f7ba2a", Le = "#e5e6eb";
6088
6100
  for (let Te = 0; Te < ne; Te++) {
6089
6101
  const We = fe + Te * (se + ge), et = he;
6090
6102
  if (W >= Te + 1) {
@@ -6124,13 +6136,13 @@ var Up = /* @__PURE__ */ ye({
6124
6136
  expectedHeight: Sn
6125
6137
  };
6126
6138
  }, Je = (I, $) => {
6127
- const { dataValue: Y, rect: ae, table: W, col: ne, row: se } = I, ge = W.getBodyField(ne, se), fe = yt(W.options?.columns || [], ge), he = W.getCellOriginRecord?.(ne, se) || W.getRecordByCell?.(ne, se) || {}, be = $ || vn({
6139
+ const { dataValue: Y, rect: oe, table: W, col: ne, row: se } = I, ge = W.getBodyField(ne, se), fe = yt(W.options?.columns || [], ge), he = W.getCellOriginRecord?.(ne, se) || W.getRecordByCell?.(ne, se) || {}, be = $ || vn({
6128
6140
  config: fe?._compConfig,
6129
6141
  getCompConfig: fe?._getCompConfig,
6130
6142
  formData: r || {},
6131
6143
  getTableData: rt,
6132
6144
  row: he
6133
- }) || {}, Me = Number(be.min) || 0, He = Number(be.max) || 100, Ee = Number(Y) || 0, Ze = He - Me, Le = Ze === 0 ? 0 : Math.max(0, Math.min(100, (Ee - Me) / Ze * 100)), Te = 4, We = 8, et = 8, ft = (ae.height - Te) / 2, at = String(Ee), we = Rn(at) || 0, pt = We, Ue = ft, Dt = ae.width - We * 2 - we - et, gn = Dt * Le / 100, xn = [], Cn = (Yt, st, Rt) => {
6145
+ }) || {}, Me = Number(be.min) || 0, He = Number(be.max) || 100, Ee = Number(Y) || 0, Ze = He - Me, Le = Ze === 0 ? 0 : Math.max(0, Math.min(100, (Ee - Me) / Ze * 100)), Te = 4, We = 8, et = 8, ft = (oe.height - Te) / 2, at = String(Ee), we = Rn(at) || 0, pt = We, Ue = ft, Dt = oe.width - We * 2 - we - et, gn = Dt * Le / 100, xn = [], Cn = (Yt, st, Rt) => {
6134
6146
  const vt = Math.min(Rt, st / 2, Yt / 2);
6135
6147
  return `M ${vt} 0 L ${Yt - vt} 0 Q ${Yt} 0 ${Yt} ${vt} L ${Yt} ${st - vt} Q ${Yt} ${st} ${Yt - vt} ${st} L ${vt} ${st} Q 0 ${st} 0 ${st - vt} L 0 ${vt} Q 0 0 ${vt} 0 Z`;
6136
6148
  }, go = (Yt, st, Rt) => {
@@ -6155,7 +6167,7 @@ var Up = /* @__PURE__ */ ye({
6155
6167
  height: Te
6156
6168
  });
6157
6169
  }
6158
- const ii = pt + Dt + et, or = ae.height / 2;
6170
+ const ii = pt + Dt + et, or = oe.height / 2;
6159
6171
  return xn.push({
6160
6172
  type: "text",
6161
6173
  text: at,
@@ -6172,16 +6184,16 @@ var Up = /* @__PURE__ */ ye({
6172
6184
  }, it = (I) => String(I).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;"), Xe = (I, $) => {
6173
6185
  if (!I) return "";
6174
6186
  if ((Rn(I) || 0) <= $) return I;
6175
- const Y = "...", ae = Rn(Y) || 0;
6176
- if (ae >= $) return "";
6187
+ const Y = "...", oe = Rn(Y) || 0;
6188
+ if (oe >= $) return "";
6177
6189
  let W = 0, ne = I.length;
6178
6190
  for (; W < ne; ) {
6179
6191
  const se = Math.ceil((W + ne) / 2);
6180
- (Rn(I.slice(0, se)) || 0) + ae <= $ ? W = se : ne = se - 1;
6192
+ (Rn(I.slice(0, se)) || 0) + oe <= $ ? W = se : ne = se - 1;
6181
6193
  }
6182
6194
  return I.slice(0, W) + Y;
6183
6195
  }, nn = (I, $) => {
6184
- const { value: Y, rect: ae, table: W, col: ne, row: se } = I;
6196
+ const { value: Y, rect: oe, table: W, col: ne, row: se } = I;
6185
6197
  if (!Y) return {
6186
6198
  elements: [],
6187
6199
  expectedHeight: Sn
@@ -6192,7 +6204,7 @@ var Up = /* @__PURE__ */ ye({
6192
6204
  formData: r || {},
6193
6205
  getTableData: rt,
6194
6206
  row: he
6195
- }) || {}, Me = Number(be.size) || 16, He = be.color, Ee = (ae.width - Me) / 2, Ze = (ae.height - Me) / 2;
6207
+ }) || {}, Me = Number(be.size) || 16, He = be.color, Ee = (oe.width - Me) / 2, Ze = (oe.height - Me) / 2;
6196
6208
  let Le = String(Y).trim();
6197
6209
  if (!Le) return {
6198
6210
  elements: [],
@@ -6228,7 +6240,7 @@ var Up = /* @__PURE__ */ ye({
6228
6240
  expectedHeight: Math.max(Sn, Me)
6229
6241
  };
6230
6242
  }, an = (I, $) => {
6231
- const { dataValue: Y, rect: ae, table: W, col: ne, row: se, value: ge } = I, fe = W.getBodyField(ne, se), he = yt(W.options?.columns || [], fe), be = W.getCellOriginRecord?.(ne, se) || W.getRecordByCell?.(ne, se) || {}, Me = $ || vn({
6243
+ const { dataValue: Y, rect: oe, table: W, col: ne, row: se, value: ge } = I, fe = W.getBodyField(ne, se), he = yt(W.options?.columns || [], fe), be = W.getCellOriginRecord?.(ne, se) || W.getRecordByCell?.(ne, se) || {}, Me = $ || vn({
6232
6244
  config: he?._compConfig,
6233
6245
  getCompConfig: he?._getCompConfig,
6234
6246
  formData: r || {},
@@ -6244,7 +6256,7 @@ var Up = /* @__PURE__ */ ye({
6244
6256
  expectedHeight: Sn
6245
6257
  };
6246
6258
  const Ze = 14, Le = 28, Te = 2, We = 12, et = 8, ft = 6;
6247
- let at = 8, we = Math.max(0, ae.width - at * 2), pt = Math.max(0, we - We * 2);
6259
+ let at = 8, we = Math.max(0, oe.width - at * 2), pt = Math.max(0, we - We * 2);
6248
6260
  const Ue = [], Dt = (st) => {
6249
6261
  const Rt = Rn(Xe(st, pt)) || 0;
6250
6262
  return Math.min(we, Rt + We * 2);
@@ -6282,9 +6294,9 @@ var Up = /* @__PURE__ */ ye({
6282
6294
  };
6283
6295
  };
6284
6296
  let { lines: Cn, needsWrap: go } = xn();
6285
- at !== 0 && go && (at = 0, we = Math.max(0, ae.width - at * 2), pt = Math.max(0, we - We * 2), { lines: Cn, needsWrap: go } = xn());
6297
+ at !== 0 && go && (at = 0, we = Math.max(0, oe.width - at * 2), pt = Math.max(0, we - We * 2), { lines: Cn, needsWrap: go } = xn());
6286
6298
  const oi = Cn.length * Le + (Cn.length > 1 ? (Cn.length - 1) * ft : 0);
6287
- let ii = Math.max(0, (ae.height - oi) / 2);
6299
+ let ii = Math.max(0, (oe.height - oi) / 2);
6288
6300
  const or = go;
6289
6301
  for (let st = 0; st < Cn.length; st++) {
6290
6302
  const Rt = Cn[st];
@@ -6295,7 +6307,7 @@ var Up = /* @__PURE__ */ ye({
6295
6307
  }
6296
6308
  ii += Le + (st < Cn.length - 1 ? ft : 0);
6297
6309
  }
6298
- const Yt = Math.min(ae.width, Math.max(0, ...Cn.map((st) => st.lineWidth)) + at * 2);
6310
+ const Yt = Math.min(oe.width, Math.max(0, ...Cn.map((st) => st.lineWidth)) + at * 2);
6299
6311
  return {
6300
6312
  elements: Ue,
6301
6313
  expectedHeight: Math.max(Sn, oi),
@@ -6304,9 +6316,9 @@ var Up = /* @__PURE__ */ ye({
6304
6316
  }, on = (I) => {
6305
6317
  if (!I) return "#1d2129";
6306
6318
  I = I.replace("#", ""), I.length === 3 && (I = I.split("").map((W) => W + W).join(""));
6307
- const $ = parseInt(I.substring(0, 2), 16), Y = parseInt(I.substring(2, 4), 16), ae = parseInt(I.substring(4, 6), 16);
6308
- if (($ * 299 + Y * 587 + ae * 114) / 1e3 >= 128) {
6309
- const W = $ / 255, ne = Y / 255, se = ae / 255, ge = Math.max(W, ne, se), fe = Math.min(W, ne, se);
6319
+ const $ = parseInt(I.substring(0, 2), 16), Y = parseInt(I.substring(2, 4), 16), oe = parseInt(I.substring(4, 6), 16);
6320
+ if (($ * 299 + Y * 587 + oe * 114) / 1e3 >= 128) {
6321
+ const W = $ / 255, ne = Y / 255, se = oe / 255, ge = Math.max(W, ne, se), fe = Math.min(W, ne, se);
6310
6322
  let he = 0, be = 0;
6311
6323
  const Me = (ge + fe) / 2;
6312
6324
  if (ge !== fe) {
@@ -6336,7 +6348,7 @@ var Up = /* @__PURE__ */ ye({
6336
6348
  }
6337
6349
  return "#ffffff";
6338
6350
  }, ht = (I) => {
6339
- const { table: $, row: Y, col: ae, rect: W, value: ne } = I, { Group: se, Text: ge } = Ye.CustomLayout, fe = $.getBodyField(ae, Y), he = yt($.options?.columns || [], fe), be = he?._compConfig || {}, Me = new se({
6351
+ const { table: $, row: Y, col: oe, rect: W, value: ne } = I, { Group: se, Text: ge } = Ye.CustomLayout, fe = $.getBodyField(oe, Y), he = yt($.options?.columns || [], fe), be = he?._compConfig || {}, Me = new se({
6340
6352
  height: W.height,
6341
6353
  width: W.width,
6342
6354
  display: "flex",
@@ -6356,7 +6368,7 @@ var Up = /* @__PURE__ */ ye({
6356
6368
  });
6357
6369
  return Ee.addEventListener("click", () => {
6358
6370
  if (be.click) {
6359
- const Ze = $.getCellOriginRecord(ae, Y);
6371
+ const Ze = $.getCellOriginRecord(oe, Y);
6360
6372
  be.click({
6361
6373
  row: Ze,
6362
6374
  column: he,
@@ -6372,7 +6384,7 @@ var Up = /* @__PURE__ */ ye({
6372
6384
  renderDefault: !1
6373
6385
  };
6374
6386
  }, Ot = (I, $) => $ ? "#c9cdd4" : I === "danger" ? "#f53f3f" : I === "warning" ? "#ff7d00" : I === "success" ? "#00b42a" : "#165dff", It = (I) => {
6375
- const { table: $, row: Y, col: ae, rect: W } = I, { Group: ne, Text: se } = Ye.CustomLayout, ge = $.getBodyField(ae, Y), fe = yt($.options?.columns || [], ge), he = $.getCellOriginRecord?.(ae, Y) || $.getRecordByCell?.(ae, Y) || {}, be = vn({
6387
+ const { table: $, row: Y, col: oe, rect: W } = I, { Group: ne, Text: se } = Ye.CustomLayout, ge = $.getBodyField(oe, Y), fe = yt($.options?.columns || [], ge), he = $.getCellOriginRecord?.(oe, Y) || $.getRecordByCell?.(oe, Y) || {}, be = vn({
6376
6388
  config: fe?._compConfig,
6377
6389
  getCompConfig: fe?._getCompConfig,
6378
6390
  formData: r || {},
@@ -6421,7 +6433,7 @@ var Up = /* @__PURE__ */ ye({
6421
6433
  renderDefault: !1
6422
6434
  };
6423
6435
  }, un = (I) => {
6424
- const { table: $, row: Y, col: ae, rect: W } = I, { height: ne, width: se } = W ?? $.getCellRect(ae, Y), { Group: ge, CheckBox: fe } = Ye.CustomLayout, he = $.getBodyField(ae, Y), be = yt($.options?.columns || [], he), Me = $.getCellOriginRecord(ae, Y) || {}, He = be?.style?.textAlign === "right" ? "flex-end" : be?.style?.textAlign === "center" ? "center" : "flex-start", Ee = be?.style?.textAlign === "right" ? "flex-end" : be?.style?.textAlign === "center" ? "center" : "flex-start", Ze = (at, we) => {
6436
+ const { table: $, row: Y, col: oe, rect: W } = I, { height: ne, width: se } = W ?? $.getCellRect(oe, Y), { Group: ge, CheckBox: fe } = Ye.CustomLayout, he = $.getBodyField(oe, Y), be = yt($.options?.columns || [], he), Me = $.getCellOriginRecord(oe, Y) || {}, He = be?.style?.textAlign === "right" ? "flex-end" : be?.style?.textAlign === "center" ? "center" : "flex-start", Ee = be?.style?.textAlign === "right" ? "flex-end" : be?.style?.textAlign === "center" ? "center" : "flex-start", Ze = (at, we) => {
6425
6437
  const pt = Me?.[he];
6426
6438
  Me[he] = (Array.isArray(pt) ? pt : []).map((Ue, Dt) => Dt !== at ? Ue : Ue && typeof Ue == "object" ? {
6427
6439
  ...Ue,
@@ -6483,7 +6495,7 @@ var Up = /* @__PURE__ */ ye({
6483
6495
  renderDefault: !1
6484
6496
  };
6485
6497
  }, Xn = (I) => {
6486
- const { table: $, row: Y, col: ae } = I, W = $.getBodyField(ae, Y), ne = yt($.options?.columns || [], W), se = ne?._compConfig || {};
6498
+ const { table: $, row: Y, col: oe } = I, W = $.getBodyField(oe, Y), ne = yt($.options?.columns || [], W), se = ne?._compConfig || {};
6487
6499
  if (ne?._customLayout) return ne._customLayout({
6488
6500
  ...I,
6489
6501
  config: se,
@@ -6493,18 +6505,18 @@ var Up = /* @__PURE__ */ ye({
6493
6505
  for (const Y of I) {
6494
6506
  if (Y.field === $) return Y;
6495
6507
  if (Y.columns) {
6496
- const ae = yt(Y.columns, $);
6497
- if (ae) return ae;
6508
+ const oe = yt(Y.columns, $);
6509
+ if (oe) return oe;
6498
6510
  }
6499
6511
  }
6500
6512
  return null;
6501
6513
  }, Kt = (I) => {
6502
- const { table: $, col: Y, row: ae } = I, W = $.getBodyField(Y, ae), ne = yt($.options?.columns || [], W);
6514
+ const { table: $, col: Y, row: oe } = I, W = $.getBodyField(Y, oe), ne = yt($.options?.columns || [], W);
6503
6515
  if (!ne) return {
6504
6516
  elements: [],
6505
6517
  expectedHeight: Sn
6506
6518
  };
6507
- const se = $.getCellOriginRecord?.(Y, ae) || $.getRecordByCell?.(Y, ae) || {}, ge = vn({
6519
+ const se = $.getCellOriginRecord?.(Y, oe) || $.getRecordByCell?.(Y, oe) || {}, ge = vn({
6508
6520
  config: ne._compConfig,
6509
6521
  getCompConfig: ne._getCompConfig,
6510
6522
  formData: r || {},
@@ -6532,9 +6544,9 @@ var Up = /* @__PURE__ */ ye({
6532
6544
  elements: [],
6533
6545
  expectedHeight: Sn
6534
6546
  };
6535
- }, rn = (I, $, Y, ae) => {
6536
- const W = ae.getBodyField($, Y), ne = yt(ae.options?.columns || [], W);
6537
- if (ne._fieldFormat) return ne._fieldFormat(I, $, Y, ae);
6547
+ }, rn = (I, $, Y, oe) => {
6548
+ const W = oe.getBodyField($, Y), ne = yt(oe.options?.columns || [], W);
6549
+ if (ne._fieldFormat) return ne._fieldFormat(I, $, Y, oe);
6538
6550
  if (ne._compType === "dateTime") {
6539
6551
  const fe = ne._compConfig?.format || "YYYY-MM-DD HH:mm:ss";
6540
6552
  return Zr(I[W], fe);
@@ -6563,8 +6575,8 @@ var Up = /* @__PURE__ */ ye({
6563
6575
  });
6564
6576
  const $n = (I) => {
6565
6577
  const $ = I.filter((Y) => Y.config?.display !== !1).map((Y) => {
6566
- const { id: ae, type: W, config: ne, getCompConfig: se, getCompType: ge, children: fe, customLayout: he } = Y, { label: be, width: Me, minWidth: He, maxWidth: Ee, align: Ze, headerAlign: Le, fieldFormat: Te, editor: We, frozen: et, ...ft } = ne || {}, at = Le ?? Ze, we = {
6567
- field: ae,
6578
+ const { id: oe, type: W, config: ne, getCompConfig: se, getCompType: ge, children: fe, customLayout: he } = Y, { label: be, width: Me, minWidth: He, maxWidth: Ee, align: Ze, headerAlign: Le, fieldFormat: Te, editor: We, frozen: et, ...ft } = ne || {}, at = Le ?? Ze, we = {
6579
+ field: oe,
6568
6580
  title: be,
6569
6581
  width: Me,
6570
6582
  minWidth: He,
@@ -6583,7 +6595,7 @@ var Up = /* @__PURE__ */ ye({
6583
6595
  });
6584
6596
  return o.isTree && $.length > 0 && ($[0].tree = !0), $;
6585
6597
  }, Wt = (I, $) => {
6586
- const Y = I.replace("#", ""), ae = parseInt(Y, 16), W = Math.min(255, Math.max(0, (ae >> 16) + $)), ne = Math.min(255, Math.max(0, (ae >> 8 & 255) + $)), se = Math.min(255, Math.max(0, (ae & 255) + $));
6598
+ const Y = I.replace("#", ""), oe = parseInt(Y, 16), W = Math.min(255, Math.max(0, (oe >> 16) + $)), ne = Math.min(255, Math.max(0, (oe >> 8 & 255) + $)), se = Math.min(255, Math.max(0, (oe & 255) + $));
6587
6599
  return `#${(W << 16 | ne << 8 | se).toString(16).padStart(6, "0")}`;
6588
6600
  }, Lt = () => {
6589
6601
  let I = T;
@@ -6591,11 +6603,11 @@ var Up = /* @__PURE__ */ ye({
6591
6603
  let $ = Rn(String(I)) || 0;
6592
6604
  return o.subColumns && o.subColumns.length > 0 && ($ = $ + 32), Math.max(45, $ + 18);
6593
6605
  }, wa = (I) => {
6594
- let $ = (Y, ae, W, ne) => {
6595
- const se = ne.getRecordIndexByCell(ae, W);
6606
+ let $ = (Y, oe, W, ne) => {
6607
+ const se = ne.getRecordIndexByCell(oe, W);
6596
6608
  return o.isPage && !I ? Pt.value + se + 1 : se + 1;
6597
6609
  };
6598
- return I && ($ = (Y, ae, W, ne) => ne.getRecordIndexByCell(ae, W) + 1), {
6610
+ return I && ($ = (Y, oe, W, ne) => ne.getRecordIndexByCell(oe, W) + 1), {
6599
6611
  field: "__sequence__",
6600
6612
  title: "序号",
6601
6613
  width: A,
@@ -6628,9 +6640,9 @@ var Up = /* @__PURE__ */ ye({
6628
6640
  field: "_checkState",
6629
6641
  cellType: "checkbox",
6630
6642
  headerType: "checkbox",
6631
- disable: ({ col: $, row: Y, table: ae }) => {
6643
+ disable: ({ col: $, row: Y, table: oe }) => {
6632
6644
  if (Y === 0) return !1;
6633
- const W = ae?.getCellOriginRecord?.($, Y);
6645
+ const W = oe?.getCellOriginRecord?.($, Y);
6634
6646
  return Ua(W);
6635
6647
  },
6636
6648
  headerStyle: { textAlign: "center" },
@@ -6663,12 +6675,12 @@ var Up = /* @__PURE__ */ ye({
6663
6675
  $.push(Y);
6664
6676
  return;
6665
6677
  }
6666
- const ae = me(Y.columns), W = [], ne = [], se = [];
6667
- if (ae.forEach((ge) => {
6678
+ const oe = me(Y.columns), W = [], ne = [], se = [];
6679
+ if (oe.forEach((ge) => {
6668
6680
  const fe = le(ge);
6669
6681
  fe === "left" ? W.push(ge) : fe === "right" ? ne.push(ge) : se.push(ge);
6670
6682
  }), (W.length > 0 ? 1 : 0) + (ne.length > 0 ? 1 : 0) + (se.length > 0 ? 1 : 0) <= 1) {
6671
- Y.columns = ae, $.push(Y);
6683
+ Y.columns = oe, $.push(Y);
6672
6684
  return;
6673
6685
  }
6674
6686
  W.length && $.push({
@@ -6684,16 +6696,16 @@ var Up = /* @__PURE__ */ ye({
6684
6696
  }), $;
6685
6697
  }, Be = (I) => {
6686
6698
  let $ = 0, Y = 0;
6687
- return I.forEach((ae) => {
6688
- if (ae.columns && ae.columns.length > 0) {
6689
- const W = Be(ae.columns);
6699
+ return I.forEach((oe) => {
6700
+ if (oe.columns && oe.columns.length > 0) {
6701
+ const W = Be(oe.columns);
6690
6702
  $ += W.left, Y += W.right;
6691
- } else ae.frozen === "left" ? $++ : ae.frozen === "right" && Y++;
6703
+ } else oe.frozen === "left" ? $++ : oe.frozen === "right" && Y++;
6692
6704
  }), {
6693
6705
  left: $,
6694
6706
  right: Y
6695
6707
  };
6696
- }, ze = (I, $, Y, ae) => {
6708
+ }, ze = (I, $, Y, oe) => {
6697
6709
  v = 0, _ = 0, S = !1;
6698
6710
  const W = {};
6699
6711
  let ne = $n(I);
@@ -6708,7 +6720,7 @@ var Up = /* @__PURE__ */ ye({
6708
6720
  ...se,
6709
6721
  ...fe,
6710
6722
  ...ge
6711
- ], $ && (ne.unshift(wa(ae)), _++), Y.length > 0 && (ne.push(Oe(Y)), v++), S && (W.editCellTrigger = "click", W.keyboardOptions = {
6723
+ ], $ && (ne.unshift(wa(oe)), _++), Y.length > 0 && (ne.push(Oe(Y)), v++), S && (W.editCellTrigger = "click", W.keyboardOptions = {
6712
6724
  copySelected: !0,
6713
6725
  cutSelected: !0,
6714
6726
  pasteValueToCell: !0,
@@ -6770,8 +6782,8 @@ var Up = /* @__PURE__ */ ye({
6770
6782
  b(), A = Lt(), Wp();
6771
6783
  const $ = nt(), Y = Il();
6772
6784
  I && I.length >= 0 ? $.records = Ct(I) : Y.length > 0 ? $.records = Ct(Y) : ($.records = Ct(o.records), i("update:modelValue", $.records)), y = new Ye.ListTable(m.value, $), y._getAppContext = () => a?.appContext;
6773
- const ae = a?.provides;
6774
- y._getProvides = () => ae, o.loadChildren && y.on(Ye.ListTable.EVENT_TYPE.TREE_HIERARCHY_STATE_CHANGE, async (W) => {
6785
+ const oe = a?.provides;
6786
+ y._getProvides = () => oe, o.loadChildren && y.on(Ye.ListTable.EVENT_TYPE.TREE_HIERARCHY_STATE_CHANGE, async (W) => {
6775
6787
  if (W.hierarchyState === Ye.TYPES.HierarchyState.expand && W.originData?.children === !0) {
6776
6788
  y.setLoadingHierarchyState(W.col, W.row);
6777
6789
  try {
@@ -6819,10 +6831,10 @@ var Up = /* @__PURE__ */ ye({
6819
6831
  if (!y) return;
6820
6832
  const { source: $, target: Y } = I || {};
6821
6833
  if ($ && Y && $.col === Y.col && $.row === Y.row) return;
6822
- const ae = Jt(y.records || []), W = $ && typeof y.getRecordByCell == "function" ? y.getRecordByCell($.col, $.row) : null, ne = Y && typeof y.getRecordByCell == "function" ? y.getRecordByCell(Y.col, Y.row) : null;
6823
- i("update:modelValue", ae), i("change", {
6834
+ const oe = Jt(y.records || []), W = $ && typeof y.getRecordByCell == "function" ? y.getRecordByCell($.col, $.row) : null, ne = Y && typeof y.getRecordByCell == "function" ? y.getRecordByCell(Y.col, Y.row) : null;
6835
+ i("update:modelValue", oe), i("change", {
6824
6836
  id: o.id,
6825
- value: Jt(ne || W || ae),
6837
+ value: Jt(ne || W || oe),
6826
6838
  data: {
6827
6839
  source: $,
6828
6840
  target: Y,
@@ -6830,7 +6842,7 @@ var Up = /* @__PURE__ */ ye({
6830
6842
  targetRecord: ne ? Jt(ne) : null
6831
6843
  },
6832
6844
  formData: r,
6833
- tableData: ae,
6845
+ tableData: oe,
6834
6846
  type: "sort"
6835
6847
  });
6836
6848
  }, zt = () => y, Ce = (I) => {
@@ -6845,7 +6857,7 @@ var Up = /* @__PURE__ */ ye({
6845
6857
  Y !== A ? (A = Y, o.subColumns && o.subColumns.length > 0 ? (Se(), de($)) : Qt($)) : y.setRecords($);
6846
6858
  }
6847
6859
  if (o.selectStateKey && o.isMultiple) {
6848
- const Y = I.filter((ae) => ae[o.selectStateKey] && !Ua(ae));
6860
+ const Y = I.filter((oe) => oe[o.selectStateKey] && !Ua(oe));
6849
6861
  $t(Y), k.value = Y.length, i("selectRecordsChanged", Y), i("selectionChanged", {
6850
6862
  isMultiple: !0,
6851
6863
  selections: Y,
@@ -6899,10 +6911,10 @@ var Up = /* @__PURE__ */ ye({
6899
6911
  const he = {};
6900
6912
  ge.__checkState = !0, Ai(he, ge, ["children"]), I.push(he);
6901
6913
  } else console.warn("key is empty");
6902
- }, ae = (ge) => {
6914
+ }, oe = (ge) => {
6903
6915
  const fe = ge?.children;
6904
6916
  !Array.isArray(fe) || fe.length === 0 || fe.forEach((he) => {
6905
- Y(he), ae(he);
6917
+ Y(he), oe(he);
6906
6918
  });
6907
6919
  }, W = y.stateManager.checkedState, ne = y.records, se = (ge, fe, he) => {
6908
6920
  const be = he[fe[ge]];
@@ -6912,7 +6924,7 @@ var Up = /* @__PURE__ */ ye({
6912
6924
  const he = ge?._checkState;
6913
6925
  if (he === "indeterminate" || he === !0) {
6914
6926
  const be = se(0, (fe + "").split(",").map(Number), ne);
6915
- Y(be), he === !0 && ae(be);
6927
+ Y(be), he === !0 && oe(be);
6916
6928
  }
6917
6929
  }), I;
6918
6930
  }
@@ -6932,10 +6944,10 @@ var Up = /* @__PURE__ */ ye({
6932
6944
  }
6933
6945
  return;
6934
6946
  }
6935
- const ae = (ge) => {
6947
+ const oe = (ge) => {
6936
6948
  ge.forEach((fe) => {
6937
6949
  if (Array.isArray(fe?.children) && fe.children.length > 0) {
6938
- ae(fe.children);
6950
+ oe(fe.children);
6939
6951
  const he = fe.children.filter((He) => !Ua(He)), be = he.filter((He) => He?.[Y] === !0), Me = he.filter((He) => He?.[Y] === !1);
6940
6952
  he.length === 0 ? fe[Y] = !1 : be.length == he.length ? fe[Y] = !0 : Me.length == he.length ? fe[Y] = !1 : fe[Y] = "indeterminate", fe[Y] === "indeterminate" && (fe.hierarchyState = "expand");
6941
6953
  } else {
@@ -6944,7 +6956,7 @@ var Up = /* @__PURE__ */ ye({
6944
6956
  }
6945
6957
  });
6946
6958
  }, W = y.records;
6947
- o.isTree ? ae(W) : W.forEach((ge) => {
6959
+ o.isTree ? oe(W) : W.forEach((ge) => {
6948
6960
  ge[Y] = !Ua(ge) && $.has(hn(ge));
6949
6961
  });
6950
6962
  const ne = nt();
@@ -6991,8 +7003,8 @@ var Up = /* @__PURE__ */ ye({
6991
7003
  const xd = O(() => {
6992
7004
  const I = ($) => {
6993
7005
  const Y = [];
6994
- return $.forEach((ae) => {
6995
- ae.children && ae.children.length > 0 ? Y.push(...I(ae.children)) : Y.push(ae);
7006
+ return $.forEach((oe) => {
7007
+ oe.children && oe.children.length > 0 ? Y.push(...I(oe.children)) : Y.push(oe);
6996
7008
  }), Y;
6997
7009
  };
6998
7010
  return I(o.columns);
@@ -7020,14 +7032,14 @@ var Up = /* @__PURE__ */ ye({
7020
7032
  cancelButtonText: "取消",
7021
7033
  type: "warning"
7022
7034
  }).then(() => {
7023
- const $ = y.records, Y = new Set(I.map((W) => W._i)), ae = $.filter((W) => !Y.has(W._i));
7024
- Qt(ae), i("update:modelValue", ae), I.forEach((W) => {
7035
+ const $ = y.records, Y = new Set(I.map((W) => W._i)), oe = $.filter((W) => !Y.has(W._i));
7036
+ Qt(oe), i("update:modelValue", oe), I.forEach((W) => {
7025
7037
  i("change", {
7026
7038
  id: o.id,
7027
7039
  value: W,
7028
7040
  data: W,
7029
7041
  formData: r,
7030
- tableData: ae,
7042
+ tableData: oe,
7031
7043
  type: "delete"
7032
7044
  });
7033
7045
  }), k.value = 0;
@@ -7070,7 +7082,7 @@ var Up = /* @__PURE__ */ ye({
7070
7082
  setSelection: $t,
7071
7083
  renderTable: pn
7072
7084
  }), (I, $) => {
7073
- const Y = V("j-button"), ae = V("el-space"), W = V("el-pagination");
7085
+ const Y = V("j-button"), oe = V("el-space"), W = V("el-pagination");
7074
7086
  return R(), D("div", {
7075
7087
  class: Ve(["j-table", { "j-table-auto": e.heightMode === "auto" }]),
7076
7088
  style: ce(p.value)
@@ -7084,7 +7096,7 @@ var Up = /* @__PURE__ */ ye({
7084
7096
  class: Ve("j-block")
7085
7097
  }, null, 512)], 4),
7086
7098
  B("div", Gp, [e.isPage || !_d.value && (Wa.value || ai.value) ? (R(), D("div", Kp, [
7087
- Z(ae, null, {
7099
+ Z(oe, null, {
7088
7100
  default: q(() => [Wa.value ? (R(), N(Y, {
7089
7101
  key: 0,
7090
7102
  type: "link",
@@ -7332,7 +7344,7 @@ var Up = /* @__PURE__ */ ye({
7332
7344
  Pe + C.value < 0 && (Pe = -C.value), typeof document < "u" && document.body && (w.value ? Pe + w.value + C.value > document.body.clientWidth && (Pe = document.body.clientWidth - w.value - C.value) : Pe + _.value + C.value > document.body.clientWidth && (Pe = document.body.clientWidth - _.value - C.value)), qe + v.value < 0 && (qe = -v.value), typeof window < "u" && (m.value ? qe + m.value + v.value + 40 > window.innerHeight && (qe = window.innerHeight - m.value - v.value - 40) : qe + y.value + v.value + 40 > window.innerHeight && (qe = window.innerHeight - y.value - v.value - 40)), p.left = Pe, p.top = qe;
7333
7345
  }
7334
7346
  }, K = (P) => {
7335
- const je = b.value.offsetLeft, Ge = b.value.offsetTop, Pe = b.value.clientWidth, qe = b.value.clientHeight, oe = qe - x.value, Oe = b.value.scrollTop;
7347
+ const je = b.value.offsetLeft, Ge = b.value.offsetTop, Pe = b.value.clientWidth, qe = b.value.clientHeight, ae = qe - x.value, Oe = b.value.scrollTop;
7336
7348
  if (P.clientX > je + Pe - 10 && Oe + P.clientY > Ge + qe - 10 || Oe + P.clientY < Ge + 5 && je + 10 > P.clientX) b.value.style.cursor = "se-resize";
7337
7349
  else if (je + 10 > P.clientX && Oe + P.clientY > Ge + qe - 10 || P.clientX > je + Pe - 10 && Oe + P.clientY < Ge + 5) b.value.style.cursor = "sw-resize";
7338
7350
  else if (P.clientX > je + Pe - 10 || je + 10 > P.clientX) b.value.style.cursor = "w-resize";
@@ -7343,8 +7355,8 @@ var Up = /* @__PURE__ */ ye({
7343
7355
  }
7344
7356
  b.value.onmousedown = (ee) => {
7345
7357
  const { clientX: ie } = ee, { clientY: Re } = ee, Je = p.left + C.value, it = p.top + v.value;
7346
- p._left = p.left, p._top = p.top, m.value || (m.value = oe), w.value || (w.value = Pe), ie > Je + 10 && ie < Je + Pe - 10 && Re > it + 5 && Re < it + 47 || (typeof document < "u" && (document.onmousemove = function(Xe) {
7347
- Xe.preventDefault(), ie > Je && ie < Je + 10 && (ie > Xe.clientX && (w.value = Pe + (ie - Xe.clientX), p.left = p._left - (ie - Xe.clientX)), ie < Xe.clientX && w.value > a.minWidth && (w.value = Pe - (Xe.clientX - ie), p.left = p._left + Xe.clientX - ie)), ie > Je + Pe - 10 && ie < Je + Pe && (ie > Xe.clientX && w.value > a.minWidth && (w.value = Pe - (ie - Xe.clientX)), ie < Xe.clientX && typeof document < "u" && document.body && C.value + p.left + w.value < document.body.clientWidth && (w.value = Pe + (Xe.clientX - ie))), Re > it && Re < it + 5 && (Re > Xe.clientY && (m.value = oe + Re - Xe.clientY, p.top = p._top - (Re - Xe.clientY)), Re < Xe.clientY && m.value > a.minHeight && (m.value = oe - (Xe.clientY - Re), p.top = p._top + Xe.clientY - Re)), Oe + Re > it + oe + 38 && Oe + Re < it + oe + 48 && (Re > Xe.clientY && m.value > a.minHeight && (m.value = oe - (Re - Xe.clientY)), Re < Xe.clientY && typeof window < "u" && v.value + p.top + m.value + 48 < window.innerHeight && (m.value = oe + Xe.clientY - Re));
7358
+ p._left = p.left, p._top = p.top, m.value || (m.value = ae), w.value || (w.value = Pe), ie > Je + 10 && ie < Je + Pe - 10 && Re > it + 5 && Re < it + 47 || (typeof document < "u" && (document.onmousemove = function(Xe) {
7359
+ Xe.preventDefault(), ie > Je && ie < Je + 10 && (ie > Xe.clientX && (w.value = Pe + (ie - Xe.clientX), p.left = p._left - (ie - Xe.clientX)), ie < Xe.clientX && w.value > a.minWidth && (w.value = Pe - (Xe.clientX - ie), p.left = p._left + Xe.clientX - ie)), ie > Je + Pe - 10 && ie < Je + Pe && (ie > Xe.clientX && w.value > a.minWidth && (w.value = Pe - (ie - Xe.clientX)), ie < Xe.clientX && typeof document < "u" && document.body && C.value + p.left + w.value < document.body.clientWidth && (w.value = Pe + (Xe.clientX - ie))), Re > it && Re < it + 5 && (Re > Xe.clientY && (m.value = ae + Re - Xe.clientY, p.top = p._top - (Re - Xe.clientY)), Re < Xe.clientY && m.value > a.minHeight && (m.value = ae - (Xe.clientY - Re), p.top = p._top + Xe.clientY - Re)), Oe + Re > it + ae + 38 && Oe + Re < it + ae + 48 && (Re > Xe.clientY && m.value > a.minHeight && (m.value = ae - (Re - Xe.clientY)), Re < Xe.clientY && typeof window < "u" && v.value + p.top + m.value + 48 < window.innerHeight && (m.value = ae + Xe.clientY - Re));
7348
7360
  }), typeof document < "u" && (document.onmouseup = function() {
7349
7361
  typeof document < "u" && (document.onmousemove = null, document.onmouseup = null);
7350
7362
  }));
@@ -7356,7 +7368,7 @@ var Up = /* @__PURE__ */ ye({
7356
7368
  showLoading: S,
7357
7369
  hideLoading: k
7358
7370
  }), (P, je) => {
7359
- const Ge = V("j-button"), Pe = V("el-space"), qe = V("el-step"), oe = V("el-steps"), Oe = V("el-dialog");
7371
+ const Ge = V("j-button"), Pe = V("el-space"), qe = V("el-step"), ae = V("el-steps"), Oe = V("el-dialog");
7360
7372
  return R(), N(Oe, {
7361
7373
  modelValue: r.value,
7362
7374
  "onUpdate:modelValue": je[0] || (je[0] = (ee) => r.value = ee),
@@ -7405,7 +7417,7 @@ var Up = /* @__PURE__ */ ye({
7405
7417
  e.isStep ? (R(), D("div", ng, [B("div", { style: ce({
7406
7418
  maxWidth: `${200 * X.value.length}px`,
7407
7419
  width: "100%"
7408
- }) }, [Z(oe, {
7420
+ }) }, [Z(ae, {
7409
7421
  simple: "",
7410
7422
  active: z.value,
7411
7423
  space: 160,
@@ -8870,7 +8882,7 @@ var Up = /* @__PURE__ */ ye({
8870
8882
  if (!c) return "";
8871
8883
  const Re = si(/* @__PURE__ */ new Date(), "YYYY-MM-DD HH:mm:ss") + "|" + ie;
8872
8884
  return `${c}/data/file/preview/${_h.createAesEncryption({ key: "jcode" }).encrypt(Re).replace(/\//g, "|")}?token=${s?.value}&&projectId=${d?.value.j_Id}`;
8873
- }, oe = () => {
8885
+ }, ae = () => {
8874
8886
  je.isDown === !1 && o && o("无权限下载!"), Vg(`${c}/data/file/${je.response?.fileId || je.id}?token=${s?.value}`);
8875
8887
  }, Oe = () => {
8876
8888
  if (n.limit !== -1 && n.limit <= m.value.length)
@@ -8962,7 +8974,7 @@ var Up = /* @__PURE__ */ ye({
8962
8974
  title: `${J(l)("文件预览")}【${U.value}】`,
8963
8975
  "destroy-on-close": !0,
8964
8976
  "has-btns": !!J(c),
8965
- onOk: oe
8977
+ onOk: ae
8966
8978
  }, {
8967
8979
  default: q(() => [_e.value && K.value ? (R(), D("div", Xg, [B("img", {
8968
8980
  width: "100%",
@@ -9052,7 +9064,7 @@ var Up = /* @__PURE__ */ ye({
9052
9064
  const n = e.__vccOpts || e;
9053
9065
  for (const [a, o] of t) n[a] = o;
9054
9066
  return n;
9055
- }, rv = /* @__PURE__ */ iv(ov, [["__scopeId", "data-v-37f9a80b"]]), lv = ke(rv), sv = ["innerHTML"], cv = {
9067
+ }, rv = /* @__PURE__ */ iv(ov, [["__scopeId", "data-v-69ad659b"]]), lv = ke(rv), sv = ["innerHTML"], cv = {
9056
9068
  key: 1,
9057
9069
  class: "j-barcode-error"
9058
9070
  }, uv = /* @__PURE__ */ ye({
@@ -12423,10 +12435,10 @@ var Up = /* @__PURE__ */ ye({
12423
12435
  P.value = de, Q.value = !1, rn();
12424
12436
  }, Pe = () => {
12425
12437
  P.value = [], rn();
12426
- }, qe = L(), oe = L(!1), Oe = L(), ee = O(() => Oe.value != null), ie = () => {
12438
+ }, qe = L(), ae = L(!1), Oe = L(), ee = O(() => Oe.value != null), ie = () => {
12427
12439
  qe.value?.init();
12428
12440
  }, Re = (de) => {
12429
- Oe.value = de, oe.value = !1;
12441
+ Oe.value = de, ae.value = !1;
12430
12442
  }, Je = L(!1), it = () => {
12431
12443
  Je.value = !Je.value;
12432
12444
  }, Xe = () => {
@@ -12763,8 +12775,8 @@ var Up = /* @__PURE__ */ ye({
12763
12775
  content: J(a)("显示字段")
12764
12776
  }, {
12765
12777
  default: q(() => [B("div", null, [Z(Ce, {
12766
- visible: oe.value,
12767
- "onUpdate:visible": Se[8] || (Se[8] = (Fe) => oe.value = Fe),
12778
+ visible: ae.value,
12779
+ "onUpdate:visible": Se[8] || (Se[8] = (Fe) => ae.value = Fe),
12768
12780
  placement: "bottom",
12769
12781
  "popper-style": "padding: 0",
12770
12782
  width: 400,
@@ -13203,7 +13215,7 @@ var Up = /* @__PURE__ */ ye({
13203
13215
  key: qe,
13204
13216
  disabled: Pe.disabled,
13205
13217
  divided: Pe.divided,
13206
- onClick: Xt((oe) => T(Pe, P.data), ["stop"])
13218
+ onClick: Xt((ae) => T(Pe, P.data), ["stop"])
13207
13219
  }, {
13208
13220
  default: q(() => [B("div", {
13209
13221
  class: "j-flex-item",
@@ -13500,7 +13512,7 @@ var Nc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13500
13512
  }
13501
13513
  ze && ze.length > 0 && qe(ze, Be.children, re, P(Be.id) ? Be.id : le);
13502
13514
  });
13503
- }, oe = async (G, pe) => {
13515
+ }, ae = async (G, pe) => {
13504
13516
  const re = ++E, le = b.value;
13505
13517
  b.value = !1, le && await Ht();
13506
13518
  const me = !!pe;
@@ -13723,7 +13735,7 @@ var Nc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13723
13735
  }, $n = async () => {
13724
13736
  a.config?.codeAfterSave && await Lt(JSON.parse(a.config?.codeAfterSave), { param: {} });
13725
13737
  };
13726
- a.schema && oe(a.schema);
13738
+ a.schema && ae(a.schema);
13727
13739
  const Wt = {}, Lt = async (G, pe) => {
13728
13740
  const { run: re } = Nc({
13729
13741
  data: G,
@@ -13754,7 +13766,7 @@ var Nc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13754
13766
  pe && (delete Wt[G], await Lt(pe.data, pe.inputParams));
13755
13767
  }
13756
13768
  }), Ic({ contextType: "form" }), t({
13757
- init: oe,
13769
+ init: ae,
13758
13770
  reset: on,
13759
13771
  validate: an,
13760
13772
  setValue: Ot,
@@ -16387,10 +16399,10 @@ function _s(e, t, n, a, o, i) {
16387
16399
  ];
16388
16400
  }
16389
16401
  function su(e, t, n, a, o, i, r, l, c, s) {
16390
- var d = Zn * 120 / 180, f = Zn / 180 * (+o || 0), u = [], h, p = rw(function(Pe, qe, oe) {
16402
+ var d = Zn * 120 / 180, f = Zn / 180 * (+o || 0), u = [], h, p = rw(function(Pe, qe, ae) {
16391
16403
  return {
16392
- x: Pe * Et.cos(oe) - qe * Et.sin(oe),
16393
- y: Pe * Et.sin(oe) + qe * Et.cos(oe)
16404
+ x: Pe * Et.cos(ae) - qe * Et.sin(ae),
16405
+ y: Pe * Et.sin(ae) + qe * Et.cos(ae)
16394
16406
  };
16395
16407
  });
16396
16408
  if (s)