@a2simcode/ui 0.0.133 → 0.0.135

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 (337) 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/simcode-ui.es.js +133 -133
  6. package/dist/simcode-ui.umd.js +2 -2
  7. package/dist/stats.html +1 -1
  8. package/dist/ui.css +1 -1
  9. package/docs/components/autocomplete.md +89 -89
  10. package/docs/components/barcode.md +101 -101
  11. package/docs/components/button-select.md +24 -24
  12. package/docs/components/button.md +117 -117
  13. package/docs/components/buttons.md +119 -119
  14. package/docs/components/cascader-select.md +114 -114
  15. package/docs/components/checkbox.md +114 -114
  16. package/docs/components/code-mirror.md +85 -85
  17. package/docs/components/collapse.md +26 -26
  18. package/docs/components/comp.md +71 -71
  19. package/docs/components/count-up.md +24 -24
  20. package/docs/components/count.md +24 -24
  21. package/docs/components/data-panel.md +24 -24
  22. package/docs/components/date.md +76 -76
  23. package/docs/components/dialog-full.md +112 -112
  24. package/docs/components/dialog.md +127 -127
  25. package/docs/components/divider.md +24 -24
  26. package/docs/components/drawer.md +127 -127
  27. package/docs/components/dynamic-layer.md +118 -118
  28. package/docs/components/echarts.md +72 -72
  29. package/docs/components/editor.md +24 -24
  30. package/docs/components/form.md +57 -42
  31. package/docs/components/guid.md +39 -39
  32. package/docs/components/hpanel.md +24 -24
  33. package/docs/components/icon.md +56 -56
  34. package/docs/components/input-button.md +24 -24
  35. package/docs/components/input-code.md +24 -24
  36. package/docs/components/input-color.md +114 -114
  37. package/docs/components/input-layer.md +26 -26
  38. package/docs/components/input-rows.md +370 -370
  39. package/docs/components/input-tag.md +50 -50
  40. package/docs/components/input.md +129 -129
  41. package/docs/components/layer-form.md +61 -61
  42. package/docs/components/layer.md +127 -127
  43. package/docs/components/layout.md +132 -132
  44. package/docs/components/map.md +24 -24
  45. package/docs/components/menu.md +121 -121
  46. package/docs/components/meta/buttons.ts +76 -76
  47. package/docs/components/meta/comp.ts +236 -236
  48. package/docs/components/meta/date.ts +267 -267
  49. package/docs/components/meta/echarts.ts +64 -64
  50. package/docs/components/meta/form-item.ts +50 -50
  51. package/docs/components/meta/form.ts +165 -165
  52. package/docs/components/meta/input-cards.ts +112 -112
  53. package/docs/components/meta/input-color.ts +243 -243
  54. package/docs/components/meta/input-layer.ts +366 -366
  55. package/docs/components/meta/input-rows.ts +113 -113
  56. package/docs/components/meta/layer-form.ts +56 -56
  57. package/docs/components/meta/map.ts +68 -68
  58. package/docs/components/meta/panel.ts +152 -152
  59. package/docs/components/meta/slider.ts +270 -270
  60. package/docs/components/meta/table-panel.ts +232 -232
  61. package/docs/components/meta/table.ts +391 -391
  62. package/docs/components/meta/tabs.ts +146 -146
  63. package/docs/components/meta/title.ts +91 -91
  64. package/docs/components/meta/tree-select.ts +199 -199
  65. package/docs/components/meta/vpanel.ts +19 -19
  66. package/docs/components/meta/workflow-viewer.ts +55 -55
  67. package/docs/components/number.md +124 -124
  68. package/docs/components/page.md +87 -87
  69. package/docs/components/panel.md +37 -37
  70. package/docs/components/radio.md +87 -87
  71. package/docs/components/rate.md +71 -71
  72. package/docs/components/select.md +133 -133
  73. package/docs/components/slider-captcha.md +41 -41
  74. package/docs/components/slider.md +101 -101
  75. package/docs/components/switch.md +90 -90
  76. package/docs/components/table-panel.md +236 -236
  77. package/docs/components/table.md +391 -391
  78. package/docs/components/tabs.md +26 -26
  79. package/docs/components/title.md +24 -24
  80. package/docs/components/tree.md +207 -207
  81. package/docs/components/upload.md +117 -117
  82. package/docs/components/workflow-viewer.md +21 -21
  83. package/docs/components/workflow.md +21 -21
  84. package/docs/examples/autocomplete/advanced.vue +35 -35
  85. package/docs/examples/autocomplete/basic.vue +32 -32
  86. package/docs/examples/autocomplete/clearable.vue +33 -33
  87. package/docs/examples/autocomplete/custom-template.vue +49 -49
  88. package/docs/examples/autocomplete/disabled.vue +33 -33
  89. package/docs/examples/autocomplete/icon.vue +37 -37
  90. package/docs/examples/barcode/all-types.vue +380 -380
  91. package/docs/examples/barcode/basic.vue +14 -14
  92. package/docs/examples/barcode/props-appearance.vue +243 -243
  93. package/docs/examples/barcode/props-geometry.vue +143 -143
  94. package/docs/examples/barcode/props-logic.vue +216 -216
  95. package/docs/examples/barcode/props-symbology.vue +199 -199
  96. package/docs/examples/barcode/props-text.vue +268 -268
  97. package/docs/examples/button/basic.vue +7 -7
  98. package/docs/examples/button/danger-ghost.vue +17 -17
  99. package/docs/examples/button/disabled.vue +10 -10
  100. package/docs/examples/button/loading.vue +6 -6
  101. package/docs/examples/button/shape.vue +7 -7
  102. package/docs/examples/button/size.vue +14 -14
  103. package/docs/examples/button/type.vue +9 -9
  104. package/docs/examples/button-select/basic.vue +19 -19
  105. package/docs/examples/buttons/basic.vue +45 -45
  106. package/docs/examples/buttons/disabled.vue +36 -36
  107. package/docs/examples/buttons/dropdown.vue +63 -63
  108. package/docs/examples/buttons/group.vue +52 -52
  109. package/docs/examples/buttons/link.vue +47 -47
  110. package/docs/examples/buttons/popup.vue +39 -39
  111. package/docs/examples/buttons/size.vue +45 -45
  112. package/docs/examples/cascader-select/basic.vue +28 -28
  113. package/docs/examples/cascader-select/clearable.vue +34 -34
  114. package/docs/examples/cascader-select/disabled.vue +43 -43
  115. package/docs/examples/cascader-select/filterable.vue +37 -37
  116. package/docs/examples/cascader-select/methods.vue +84 -84
  117. package/docs/examples/cascader-select/multiple.vue +38 -38
  118. package/docs/examples/cascader-select/slot.vue +45 -45
  119. package/docs/examples/checkbox/basic.vue +18 -18
  120. package/docs/examples/checkbox/button.vue +19 -19
  121. package/docs/examples/checkbox/color.vue +25 -25
  122. package/docs/examples/checkbox/disabled.vue +17 -17
  123. package/docs/examples/checkbox/min-max.vue +20 -20
  124. package/docs/examples/checkbox/mixed.vue +56 -56
  125. package/docs/examples/checkbox/size.vue +28 -28
  126. package/docs/examples/code-mirror/basic.vue +11 -11
  127. package/docs/examples/code-mirror/events.vue +42 -42
  128. package/docs/examples/code-mirror/height.vue +25 -25
  129. package/docs/examples/code-mirror/mode.vue +33 -33
  130. package/docs/examples/code-mirror/readonly.vue +14 -14
  131. package/docs/examples/collapse/basic.vue +82 -82
  132. package/docs/examples/comp/basic.vue +7 -7
  133. package/docs/examples/comp/collapse.vue +38 -38
  134. package/docs/examples/comp/tabs.vue +38 -38
  135. package/docs/examples/count/basic.vue +101 -101
  136. package/docs/examples/count-up/basic.vue +89 -89
  137. package/docs/examples/data-panel/basic.vue +110 -110
  138. package/docs/examples/date/basic.vue +73 -73
  139. package/docs/examples/date/default-value.vue +59 -59
  140. package/docs/examples/date/format.vue +75 -75
  141. package/docs/examples/date/range.vue +66 -66
  142. package/docs/examples/date/types.vue +79 -79
  143. package/docs/examples/decorated-title/basic.vue +31 -31
  144. package/docs/examples/dialog/basic.vue +36 -36
  145. package/docs/examples/dialog/custom-buttons.vue +44 -44
  146. package/docs/examples/dialog/fullscreen.vue +23 -23
  147. package/docs/examples/dialog/no-mask.vue +17 -17
  148. package/docs/examples/dialog/size.vue +44 -44
  149. package/docs/examples/dialog/steps.vue +57 -57
  150. package/docs/examples/dialog-full/basic.vue +29 -29
  151. package/docs/examples/dialog-full/custom-buttons.vue +45 -45
  152. package/docs/examples/dialog-full/no-buttons.vue +18 -18
  153. package/docs/examples/dialog-full/no-header.vue +27 -27
  154. package/docs/examples/dialog-full/steps.vue +71 -71
  155. package/docs/examples/divider/basic.vue +52 -52
  156. package/docs/examples/drawer/basic.vue +35 -35
  157. package/docs/examples/drawer/custom-buttons.vue +34 -34
  158. package/docs/examples/drawer/direction.vue +47 -47
  159. package/docs/examples/drawer/mask.vue +36 -36
  160. package/docs/examples/drawer/no-buttons.vue +20 -20
  161. package/docs/examples/drawer/size.vue +28 -28
  162. package/docs/examples/dynamic-layer/basic.vue +33 -33
  163. package/docs/examples/dynamic-layer/custom-buttons.vue +43 -43
  164. package/docs/examples/dynamic-layer/form.vue +73 -73
  165. package/docs/examples/dynamic-layer/steps.vue +52 -52
  166. package/docs/examples/dynamic-layer/types.vue +40 -40
  167. package/docs/examples/echarts/basic.vue +31 -31
  168. package/docs/examples/echarts/dynamic.vue +43 -43
  169. package/docs/examples/echarts/line.vue +46 -46
  170. package/docs/examples/echarts/pie.vue +44 -44
  171. package/docs/examples/editor/basic.vue +15 -15
  172. package/docs/examples/form/basic.vue +539 -539
  173. package/docs/examples/form/init.vue +76 -76
  174. package/docs/examples/form/master-detail.vue +203 -0
  175. package/docs/examples/guid/basic.vue +10 -10
  176. package/docs/examples/guid/size.vue +13 -13
  177. package/docs/examples/hpanel/basic.vue +79 -79
  178. package/docs/examples/icon/basic.vue +9 -9
  179. package/docs/examples/icon/rotate-flip.vue +9 -9
  180. package/docs/examples/icon/size.vue +7 -7
  181. package/docs/examples/input/basic.vue +10 -10
  182. package/docs/examples/input/clearable.vue +12 -12
  183. package/docs/examples/input/disabled.vue +6 -6
  184. package/docs/examples/input/icon.vue +23 -23
  185. package/docs/examples/input/password.vue +18 -18
  186. package/docs/examples/input/size.vue +13 -13
  187. package/docs/examples/input/textarea.vue +25 -25
  188. package/docs/examples/input/word-limit.vue +28 -28
  189. package/docs/examples/input-button/basic.vue +33 -33
  190. package/docs/examples/input-code/basic.vue +29 -29
  191. package/docs/examples/input-color/basic.vue +10 -10
  192. package/docs/examples/input-color/disabled.vue +13 -13
  193. package/docs/examples/input-color/format.vue +17 -17
  194. package/docs/examples/input-color/no-alpha.vue +13 -13
  195. package/docs/examples/input-color/only-button.vue +15 -15
  196. package/docs/examples/input-color/predefine.vue +31 -31
  197. package/docs/examples/input-color/size.vue +15 -15
  198. package/docs/examples/input-layer/basic.vue +86 -86
  199. package/docs/examples/input-rows/basic.vue +73 -73
  200. package/docs/examples/input-rows/drag.vue +48 -48
  201. package/docs/examples/input-rows/layer-form.vue +85 -85
  202. package/docs/examples/input-rows/nested.vue +91 -91
  203. package/docs/examples/input-tag/basic.vue +27 -27
  204. package/docs/examples/input-tag/colors.vue +23 -23
  205. package/docs/examples/input-tag/readonly.vue +17 -17
  206. package/docs/examples/layer/basic.vue +43 -43
  207. package/docs/examples/layer/custom-buttons.vue +61 -61
  208. package/docs/examples/layer/drawer.vue +37 -37
  209. package/docs/examples/layer/full.vue +38 -38
  210. package/docs/examples/layer/modal.vue +34 -34
  211. package/docs/examples/layer/steps.vue +46 -46
  212. package/docs/examples/layer-form/basic.vue +76 -76
  213. package/docs/examples/layer-form/config.vue +82 -82
  214. package/docs/examples/layer-form/size.vue +72 -72
  215. package/docs/examples/layout/basic.vue +36 -36
  216. package/docs/examples/layout/custom-size.vue +50 -50
  217. package/docs/examples/layout/disable-move.vue +37 -37
  218. package/docs/examples/layout/hide-mid-when-narrow.vue +96 -96
  219. package/docs/examples/layout/min-size.vue +73 -73
  220. package/docs/examples/layout/percent-size.vue +80 -80
  221. package/docs/examples/layout/simple.vue +22 -22
  222. package/docs/examples/layout/top-side.vue +34 -34
  223. package/docs/examples/map/basic.vue +22 -22
  224. package/docs/examples/menu/basic.vue +58 -58
  225. package/docs/examples/menu/collapsed.vue +49 -49
  226. package/docs/examples/menu/horizontal.vue +44 -44
  227. package/docs/examples/menu/selection-test.vue +104 -104
  228. package/docs/examples/menu/theme.vue +46 -46
  229. package/docs/examples/menu/vertical.vue +46 -46
  230. package/docs/examples/number/advanced.vue +143 -143
  231. package/docs/examples/number/basic.vue +63 -63
  232. package/docs/examples/number/disabled.vue +49 -49
  233. package/docs/examples/number/size.vue +42 -42
  234. package/docs/examples/number/slots.vue +123 -123
  235. package/docs/examples/number/step-strictly.vue +41 -41
  236. package/docs/examples/number/step.vue +47 -47
  237. package/docs/examples/page/basic.vue +41 -41
  238. package/docs/examples/page/dept-user-management.vue +211 -211
  239. package/docs/examples/page/init.vue +87 -87
  240. package/docs/examples/page/log.vue +453 -453
  241. package/docs/examples/page/user-management.vue +313 -313
  242. package/docs/examples/panel/tool-buttons.vue +18 -18
  243. package/docs/examples/radio/basic.vue +17 -17
  244. package/docs/examples/radio/button.vue +17 -17
  245. package/docs/examples/radio/color.vue +18 -18
  246. package/docs/examples/radio/disabled.vue +17 -17
  247. package/docs/examples/radio/size.vue +29 -29
  248. package/docs/examples/rate/basic.vue +24 -24
  249. package/docs/examples/rate/half.vue +24 -24
  250. package/docs/examples/rate/readonly.vue +11 -11
  251. package/docs/examples/rate/text.vue +37 -37
  252. package/docs/examples/select/basic.vue +16 -16
  253. package/docs/examples/select/clearable.vue +22 -22
  254. package/docs/examples/select/disabled.vue +31 -31
  255. package/docs/examples/select/filterable.vue +24 -24
  256. package/docs/examples/select/group.vue +23 -23
  257. package/docs/examples/select/icon.vue +16 -16
  258. package/docs/examples/select/multiple.vue +18 -18
  259. package/docs/examples/select/size.vue +39 -39
  260. package/docs/examples/slider/basic.vue +42 -42
  261. package/docs/examples/slider/disabled.vue +17 -17
  262. package/docs/examples/slider/marks.vue +30 -30
  263. package/docs/examples/slider/size.vue +37 -37
  264. package/docs/examples/slider/tooltip.vue +36 -36
  265. package/docs/examples/slider/vertical.vue +26 -26
  266. package/docs/examples/slider-captcha/basic.vue +44 -44
  267. package/docs/examples/slider-captcha/custom.vue +48 -48
  268. package/docs/examples/switch/basic.vue +16 -16
  269. package/docs/examples/switch/disabled.vue +13 -13
  270. package/docs/examples/switch/loading.vue +13 -13
  271. package/docs/examples/switch/size.vue +15 -15
  272. package/docs/examples/switch/text.vue +13 -13
  273. package/docs/examples/table/action-filter.vue +126 -126
  274. package/docs/examples/table/actions.vue +116 -116
  275. package/docs/examples/table/add-row.vue +103 -103
  276. package/docs/examples/table/basic.vue +168 -168
  277. package/docs/examples/table/checkbox-layout.vue +68 -68
  278. package/docs/examples/table/custom-layout.vue +115 -115
  279. package/docs/examples/table/dynamic-type.vue +73 -73
  280. package/docs/examples/table/editable.vue +262 -262
  281. package/docs/examples/table/field-selection.vue +87 -87
  282. package/docs/examples/table/frozen-column.vue +140 -140
  283. package/docs/examples/table/height-mode.vue +99 -99
  284. package/docs/examples/table/icon.vue +85 -85
  285. package/docs/examples/table/link.vue +66 -66
  286. package/docs/examples/table/multiple.vue +188 -188
  287. package/docs/examples/table/pagination.vue +151 -151
  288. package/docs/examples/table/single-selection.vue +64 -64
  289. package/docs/examples/table/sub-table-lazy.vue +97 -97
  290. package/docs/examples/table/sub-table.vue +103 -103
  291. package/docs/examples/table/tag.vue +43 -43
  292. package/docs/examples/table/tree-column.vue +119 -119
  293. package/docs/examples/table/tree-data.vue +141 -141
  294. package/docs/examples/table/tree-default-expand-all.vue +60 -60
  295. package/docs/examples/table/tree-lazy.vue +80 -80
  296. package/docs/examples/table/tree-set-selection.vue +75 -75
  297. package/docs/examples/table-panel/basic.vue +229 -229
  298. package/docs/examples/table-panel/batch-operations.vue +285 -285
  299. package/docs/examples/table-panel/button-visibility.vue +88 -88
  300. package/docs/examples/table-panel/filter.vue +219 -219
  301. package/docs/examples/table-panel/get-selection.vue +111 -111
  302. package/docs/examples/table-panel/multiple-selection.vue +243 -243
  303. package/docs/examples/table-panel/pagination.vue +133 -133
  304. package/docs/examples/table-panel/sub-table-lazy.vue +118 -118
  305. package/docs/examples/table-panel/tree-parent-key.vue +67 -67
  306. package/docs/examples/tabs/basic.vue +98 -98
  307. package/docs/examples/time/base.vue +67 -67
  308. package/docs/examples/title/basic.vue +87 -87
  309. package/docs/examples/tree/accordion.vue +46 -46
  310. package/docs/examples/tree/basic.vue +50 -50
  311. package/docs/examples/tree/buttons.vue +53 -53
  312. package/docs/examples/tree/checkable.vue +52 -52
  313. package/docs/examples/tree/custom-keys.vue +39 -39
  314. package/docs/examples/tree/default-expanded.vue +52 -52
  315. package/docs/examples/tree/draggable.vue +29 -29
  316. package/docs/examples/tree/expand-on-click.vue +39 -39
  317. package/docs/examples/tree/flat-data.vue +20 -20
  318. package/docs/examples/tree/icon.vue +40 -40
  319. package/docs/examples/tree/load-data.vue +37 -37
  320. package/docs/examples/tree/methods.vue +74 -74
  321. package/docs/examples/tree/theme.vue +33 -33
  322. package/docs/examples/tree-select/basic.vue +47 -47
  323. package/docs/examples/upload/accept.vue +31 -31
  324. package/docs/examples/upload/basic.vue +12 -12
  325. package/docs/examples/upload/drag.vue +11 -11
  326. package/docs/examples/upload/image.vue +17 -17
  327. package/docs/examples/upload/limit.vue +20 -20
  328. package/docs/examples/upload/multiple.vue +17 -17
  329. package/docs/examples/upload/readonly.vue +17 -17
  330. package/docs/examples/utils/cipher.vue +160 -160
  331. package/docs/examples/utils/common.vue +153 -153
  332. package/docs/examples/utils/date.vue +56 -56
  333. package/docs/examples/utils/dom.vue +52 -52
  334. package/docs/examples/utils/is.vue +70 -70
  335. package/docs/examples/workflow/basic.vue +265 -265
  336. package/docs/examples/workflow-viewer/basic.vue +248 -248
  337. package/package.json +23 -23
@@ -1391,18 +1391,18 @@ var $f = /* @__PURE__ */ tn(((e, t) => {
1391
1391
  ]);
1392
1392
  },
1393
1393
  _doProcessBlock: function(h, p) {
1394
- for (var g = this._hash.words, y = g[0], _ = g[1], v = g[2], m = g[3], w = g[4], E = g[5], b = g[6], C = g[7], S = y.high, x = y.low, T = _.high, M = _.low, P = v.high, z = v.low, $ = m.high, A = m.low, R = w.high, N = w.low, G = E.high, ie = E.low, ye = b.high, U = b.low, q = C.high, B = C.low, j = S, de = x, Ce = T, _e = M, Te = P, De = z, re = $, Ee = A, Be = R, Ie = N, kt = G, Et = ie, qe = ye, nn = U, Rt = q, Ft = B, Z = 0; Z < 80; Z++) {
1394
+ for (var g = this._hash.words, y = g[0], _ = g[1], v = g[2], m = g[3], w = g[4], E = g[5], b = g[6], C = g[7], S = y.high, x = y.low, T = _.high, M = _.low, P = v.high, z = v.low, $ = m.high, A = m.low, R = w.high, N = w.low, G = E.high, ie = E.low, ye = b.high, U = b.low, q = C.high, B = C.low, j = S, de = x, Ce = T, _e = M, Ee = P, De = z, re = $, Re = A, Be = R, Ie = N, kt = G, Et = ie, qe = ye, nn = U, Rt = q, Ft = B, Z = 0; Z < 80; Z++) {
1395
1395
  var se, te, oe = f[Z];
1396
1396
  if (Z < 16)
1397
1397
  te = oe.high = h[p + Z * 2] | 0, se = oe.low = h[p + Z * 2 + 1] | 0;
1398
1398
  else {
1399
- var fe = f[Z - 15], Me = fe.high, Oe = fe.low, nt = (Me >>> 1 | Oe << 31) ^ (Me >>> 8 | Oe << 24) ^ Me >>> 7, wt = (Oe >>> 1 | Me << 31) ^ (Oe >>> 8 | Me << 24) ^ (Oe >>> 7 | Me << 25), ct = f[Z - 2], Jt = ct.high, qt = ct.low, ua = (Jt >>> 19 | qt << 13) ^ (Jt << 3 | qt >>> 29) ^ Jt >>> 6, Vn = (qt >>> 19 | Jt << 13) ^ (qt << 3 | Jt >>> 29) ^ (qt >>> 6 | Jt << 26), Ba = f[Z - 7], Oa = Ba.high, rn = Ba.low, da = f[Z - 16], Re = da.high, Ae = da.low;
1400
- se = wt + rn, te = nt + Oa + (se >>> 0 < wt >>> 0 ? 1 : 0), se = se + Vn, te = te + ua + (se >>> 0 < Vn >>> 0 ? 1 : 0), se = se + Ae, te = te + Re + (se >>> 0 < Ae >>> 0 ? 1 : 0), oe.high = te, oe.low = se;
1399
+ var fe = f[Z - 15], Me = fe.high, Oe = fe.low, nt = (Me >>> 1 | Oe << 31) ^ (Me >>> 8 | Oe << 24) ^ Me >>> 7, wt = (Oe >>> 1 | Me << 31) ^ (Oe >>> 8 | Me << 24) ^ (Oe >>> 7 | Me << 25), ct = f[Z - 2], Jt = ct.high, qt = ct.low, ua = (Jt >>> 19 | qt << 13) ^ (Jt << 3 | qt >>> 29) ^ Jt >>> 6, Vn = (qt >>> 19 | Jt << 13) ^ (qt << 3 | Jt >>> 29) ^ (qt >>> 6 | Jt << 26), Ba = f[Z - 7], Oa = Ba.high, rn = Ba.low, da = f[Z - 16], Te = da.high, Ae = da.low;
1400
+ se = wt + rn, te = nt + Oa + (se >>> 0 < wt >>> 0 ? 1 : 0), se = se + Vn, te = te + ua + (se >>> 0 < Vn >>> 0 ? 1 : 0), se = se + Ae, te = te + Te + (se >>> 0 < Ae >>> 0 ? 1 : 0), oe.high = te, oe.low = se;
1401
1401
  }
1402
- var yt = Be & kt ^ ~Be & qe, Ht = Ie & Et ^ ~Ie & nn, be = j & Ce ^ j & Te ^ Ce & Te, pt = de & _e ^ de & De ^ _e & De, Kt = (j >>> 28 | de << 4) ^ (j << 30 | de >>> 2) ^ (j << 25 | de >>> 7), It = (de >>> 28 | j << 4) ^ (de << 30 | j >>> 2) ^ (de << 25 | j >>> 7), Lt = (Be >>> 14 | Ie << 18) ^ (Be >>> 18 | Ie << 14) ^ (Be << 23 | Ie >>> 9), ut = (Ie >>> 14 | Be << 18) ^ (Ie >>> 18 | Be << 14) ^ (Ie << 23 | Be >>> 9), Hn = u[Z], Ia = Hn.high, _n = Hn.low, ot = Ft + ut, dt = Rt + Lt + (ot >>> 0 < Ft >>> 0 ? 1 : 0), ot = ot + Ht, dt = dt + yt + (ot >>> 0 < Ht >>> 0 ? 1 : 0), ot = ot + _n, dt = dt + Ia + (ot >>> 0 < _n >>> 0 ? 1 : 0), ot = ot + se, dt = dt + te + (ot >>> 0 < se >>> 0 ? 1 : 0), Xt = It + pt, Zt = Kt + be + (Xt >>> 0 < It >>> 0 ? 1 : 0);
1403
- Rt = qe, Ft = nn, qe = kt, nn = Et, kt = Be, Et = Ie, Ie = Ee + ot | 0, Be = re + dt + (Ie >>> 0 < Ee >>> 0 ? 1 : 0) | 0, re = Te, Ee = De, Te = Ce, De = _e, Ce = j, _e = de, de = ot + Xt | 0, j = dt + Zt + (de >>> 0 < ot >>> 0 ? 1 : 0) | 0;
1402
+ var yt = Be & kt ^ ~Be & qe, Ht = Ie & Et ^ ~Ie & nn, be = j & Ce ^ j & Ee ^ Ce & Ee, pt = de & _e ^ de & De ^ _e & De, Kt = (j >>> 28 | de << 4) ^ (j << 30 | de >>> 2) ^ (j << 25 | de >>> 7), It = (de >>> 28 | j << 4) ^ (de << 30 | j >>> 2) ^ (de << 25 | j >>> 7), Lt = (Be >>> 14 | Ie << 18) ^ (Be >>> 18 | Ie << 14) ^ (Be << 23 | Ie >>> 9), ut = (Ie >>> 14 | Be << 18) ^ (Ie >>> 18 | Be << 14) ^ (Ie << 23 | Be >>> 9), Hn = u[Z], Ia = Hn.high, _n = Hn.low, ot = Ft + ut, dt = Rt + Lt + (ot >>> 0 < Ft >>> 0 ? 1 : 0), ot = ot + Ht, dt = dt + yt + (ot >>> 0 < Ht >>> 0 ? 1 : 0), ot = ot + _n, dt = dt + Ia + (ot >>> 0 < _n >>> 0 ? 1 : 0), ot = ot + se, dt = dt + te + (ot >>> 0 < se >>> 0 ? 1 : 0), Xt = It + pt, Zt = Kt + be + (Xt >>> 0 < It >>> 0 ? 1 : 0);
1403
+ Rt = qe, Ft = nn, qe = kt, nn = Et, kt = Be, Et = Ie, Ie = Re + ot | 0, Be = re + dt + (Ie >>> 0 < Re >>> 0 ? 1 : 0) | 0, re = Ee, Re = De, Ee = Ce, De = _e, Ce = j, _e = de, de = ot + Xt | 0, j = dt + Zt + (de >>> 0 < ot >>> 0 ? 1 : 0) | 0;
1404
1404
  }
1405
- x = y.low = x + de, y.high = S + j + (x >>> 0 < de >>> 0 ? 1 : 0), M = _.low = M + _e, _.high = T + Ce + (M >>> 0 < _e >>> 0 ? 1 : 0), z = v.low = z + De, v.high = P + Te + (z >>> 0 < De >>> 0 ? 1 : 0), A = m.low = A + Ee, m.high = $ + re + (A >>> 0 < Ee >>> 0 ? 1 : 0), N = w.low = N + Ie, w.high = R + Be + (N >>> 0 < Ie >>> 0 ? 1 : 0), ie = E.low = ie + Et, E.high = G + kt + (ie >>> 0 < Et >>> 0 ? 1 : 0), U = b.low = U + nn, b.high = ye + qe + (U >>> 0 < nn >>> 0 ? 1 : 0), B = C.low = B + Ft, C.high = q + Rt + (B >>> 0 < Ft >>> 0 ? 1 : 0);
1405
+ x = y.low = x + de, y.high = S + j + (x >>> 0 < de >>> 0 ? 1 : 0), M = _.low = M + _e, _.high = T + Ce + (M >>> 0 < _e >>> 0 ? 1 : 0), z = v.low = z + De, v.high = P + Ee + (z >>> 0 < De >>> 0 ? 1 : 0), A = m.low = A + Re, m.high = $ + re + (A >>> 0 < Re >>> 0 ? 1 : 0), N = w.low = N + Ie, w.high = R + Be + (N >>> 0 < Ie >>> 0 ? 1 : 0), ie = E.low = ie + Et, E.high = G + kt + (ie >>> 0 < Et >>> 0 ? 1 : 0), U = b.low = U + nn, b.high = ye + qe + (U >>> 0 < nn >>> 0 ? 1 : 0), B = C.low = B + Ft, C.high = q + Rt + (B >>> 0 < Ft >>> 0 ? 1 : 0);
1406
1406
  },
1407
1407
  _doFinalize: function() {
1408
1408
  var h = this._data, p = h.words, g = this._nDataBytes * 8, y = h.sigBytes * 8;
@@ -5405,16 +5405,16 @@ var Cp = class {
5405
5405
  if (!de) return;
5406
5406
  const _e = dn(n.config?.params) || {};
5407
5407
  if (Ce === "dataItem" && i)
5408
- await i("dataItem", de, void 0, !1), j = r("dataItem", de) || [], B.ids && (j = j.filter((Te) => B.ids.split(",").includes(Te[R.value.valueKey])));
5408
+ await i("dataItem", de, void 0, !1), j = r("dataItem", de) || [], B.ids && (j = j.filter((Ee) => B.ids.split(",").includes(Ee[R.value.valueKey])));
5409
5409
  else if (n.config?.upCtrl) {
5410
- const Te = $(n.config?.upCtrl);
5411
- _e[n.config?.upKey || "param"] = Te;
5410
+ const Ee = $(n.config?.upCtrl);
5411
+ _e[n.config?.upKey || "param"] = Ee;
5412
5412
  }
5413
- return Ce === "dataSource" ? (n.config?.layerSearchInputList?.length > 0 && n.config?.layerSearchInputList.forEach((Te) => {
5414
- Vt(B[Te.id]) || (_e[Te.id] = B[Te.id]);
5415
- }), n.config?.paramList?.length > 0 && n.config?.paramList.forEach((Te) => {
5416
- !Vt(Te.upId) && !Vt(Te.upKey) && (_e[Te.upKey] = $(Te.upId));
5417
- })) : Ce === "dataItem" && n.config?.isKeyword && B.layerKeyword && (j = j.filter((Te) => !!(Te.f_ItemValue.toLowerCase().includes(B.layerKeyword.toLowerCase()) || Te.f_ItemName.toLowerCase().includes(B.layerKeyword.toLowerCase())))), B.param = JSON.stringify(_e), n.config?.isPage ? Ce === "dataItem" ? j = Ef(B, j) : (await i("dbsourcePages", de, JSON.stringify(B), !1), j = r("dbsourcePages", de, { param: JSON.stringify(B) })) : Ce === "dataSource" && (await i("dbsource", de, JSON.stringify(_e), !1), j = r("dbsource", de, { param: JSON.stringify(_e) })), j;
5413
+ return Ce === "dataSource" ? (n.config?.layerSearchInputList?.length > 0 && n.config?.layerSearchInputList.forEach((Ee) => {
5414
+ Vt(B[Ee.id]) || (_e[Ee.id] = B[Ee.id]);
5415
+ }), n.config?.paramList?.length > 0 && n.config?.paramList.forEach((Ee) => {
5416
+ !Vt(Ee.upId) && !Vt(Ee.upKey) && (_e[Ee.upKey] = $(Ee.upId));
5417
+ })) : Ce === "dataItem" && n.config?.isKeyword && B.layerKeyword && (j = j.filter((Ee) => !!(Ee.f_ItemValue.toLowerCase().includes(B.layerKeyword.toLowerCase()) || Ee.f_ItemName.toLowerCase().includes(B.layerKeyword.toLowerCase())))), B.param = JSON.stringify(_e), n.config?.isPage ? Ce === "dataItem" ? j = Ef(B, j) : (await i("dbsourcePages", de, JSON.stringify(B), !1), j = r("dbsourcePages", de, { param: JSON.stringify(B) })) : Ce === "dataSource" && (await i("dbsource", de, JSON.stringify(_e), !1), j = r("dbsource", de, { param: JSON.stringify(_e) })), j;
5418
5418
  }, R = L(() => {
5419
5419
  const B = { ...b.value };
5420
5420
  return M.value === "j-layer-form" && (B.schema = n.children), M.value === "el-collapse-item" && B.label && (B.title = B.label, delete B.label), [
@@ -5448,7 +5448,7 @@ var Cp = class {
5448
5448
  name: "_collapse" + de
5449
5449
  }
5450
5450
  }, c == "form" && (Ce.config.needRow = Ce.config.needRow !== !1, Ce.config.needFormItem = Ce.config.needFormItem !== !1)), Ce.slot ? (B[Ce.slot] = B[Ce.slot] || [], B[Ce.slot].push(Ce)) : (B.default = B.default || [], B.default.push(Ce));
5451
- }), B;
5451
+ }), console.log(B, m.value, "res"), B;
5452
5452
  }), G = (B) => {
5453
5453
  const j = {
5454
5454
  ...B,
@@ -5486,20 +5486,20 @@ var Cp = class {
5486
5486
  modelValue: E.value,
5487
5487
  "onUpdate:modelValue": j[0] || (j[0] = (_e) => E.value = _e),
5488
5488
  onChange: G
5489
- }), In({ _: 2 }, [ze(N.value, (_e, Te) => ({
5490
- name: Te,
5489
+ }), In({ _: 2 }, [ze(N.value, (_e, Ee) => ({
5490
+ name: Ee,
5491
5491
  fn: J(() => [(k(!0), I(ke, null, ze(_e, (De) => (k(), V(de, Ne({ key: De.id }, { ref_for: !0 }, De), null, 16))), 128))])
5492
5492
  }))]), 1040, ["modelValue"])) : R.value.display != !1 ? (k(), V(Wa(M.value), Ne({
5493
5493
  key: 1,
5494
5494
  ref_key: "compRef",
5495
5495
  ref: ie
5496
- }, R.value, { onChange: G }), In({ _: 2 }, [ze(N.value, (_e, Te) => ({
5497
- name: Te,
5498
- fn: J(() => [R.value.needRow ? (k(), V(Ce, {
5496
+ }, R.value, { onChange: G }), In({ _: 2 }, [ze(N.value, (_e, Ee) => ({
5497
+ name: Ee,
5498
+ fn: J(() => [R.value.needRow === !0 || R.value.needRow?.[Ee] === !0 ? (k(), V(Ce, {
5499
5499
  key: 0,
5500
5500
  gutter: h.value
5501
5501
  }, {
5502
- default: J(() => [R.value.needFormItem ? (k(!0), I(ke, { key: 0 }, ze(_e, (De) => (k(), V(Mc, Ne({ key: De.id }, { ref_for: !0 }, De), null, 16))), 128)) : (k(!0), I(ke, { key: 1 }, ze(_e, (De) => (k(), V(de, Ne({ key: De.id }, { ref_for: !0 }, De), null, 16))), 128))]),
5502
+ default: J(() => [R.value.needFormItem === !0 || R.value.needFormItem?.[Ee] === !0 ? (k(!0), I(ke, { key: 0 }, ze(_e, (De) => (k(), V(Mc, Ne({ key: De.id }, { ref_for: !0 }, De), null, 16))), 128)) : (k(!0), I(ke, { key: 1 }, ze(_e, (De) => (k(), V(de, Ne({ key: De.id }, { ref_for: !0 }, De), null, 16))), 128))]),
5503
5503
  _: 2
5504
5504
  }, 1032, ["gutter"])) : (k(!0), I(ke, { key: 1 }, ze(_e, (De) => (k(), V(de, Ne({ key: De.id }, { ref_for: !0 }, De), null, 16))), 128))])
5505
5505
  }))]), 1040)) : ee("", !0);
@@ -5529,7 +5529,7 @@ var Cp = class {
5529
5529
  async createEditor(e) {
5530
5530
  const { container: t, referencePosition: n, col: a, row: o, table: i } = e, r = i.getBodyField(a, o), l = i.options?.columns || [], c = this.findColumnByField(l, r), s = c?._compConfig || {}, u = O(i.getCellOriginRecord(a, o) || {});
5531
5531
  if (!t) return !1;
5532
- if (!jc(u.value._compTypeByRender))
5532
+ if (u.value._compTypeByRender && !jc(u.value._compTypeByRender))
5533
5533
  return this.currentValue = u.value[r], !1;
5534
5534
  const f = document.createElement("div");
5535
5535
  f.style.position = "absolute", f.style.width = "100%", f.style.height = "100%", f.style.boxSizing = "border-box";
@@ -5909,7 +5909,7 @@ var Ap = { class: "j-table-footer" }, jp = {
5909
5909
  }, ge = ae?.getBodyField?.(Y, ne), he = ae?.options?.columns || [], Se = (ge ? Rt(he, ge) : null)?.style?.textAlign || "left", je = 8, Le = Math.max(0, ve.width - je * 2);
5910
5910
  let Pe = ce ?? Q;
5911
5911
  Pe == null && (Pe = "");
5912
- const Xe = Ee(typeof Pe == "object" ? JSON.stringify(Pe) : String(Pe), Le);
5912
+ const Xe = Re(typeof Pe == "object" ? JSON.stringify(Pe) : String(Pe), Le);
5913
5913
  let Fe = je, He = "left";
5914
5914
  return Se === "center" ? (Fe = ve.width / 2, He = "center") : Se === "right" && (Fe = Math.max(je, ve.width - je), He = "right"), {
5915
5915
  elements: [{
@@ -5941,7 +5941,7 @@ var Ap = { class: "j-table-footer" }, jp = {
5941
5941
  elements: je,
5942
5942
  expectedHeight: vn
5943
5943
  };
5944
- }, Te = (D, W) => {
5944
+ }, Ee = (D, W) => {
5945
5945
  const { dataValue: Q, rect: ae } = D, Y = Number(Q) || 0, ne = 5, ce = 20, ve = 4, ge = 8, he = (ae.height - ce) / 2, Se = [], je = ma("mdi:star"), Le = ma("mdi:star-half-full"), Pe = ma("mdi:star-outline"), Xe = "#f7ba2a", Fe = "#e5e6eb";
5946
5946
  for (let He = 0; He < ne; He++) {
5947
5947
  const Ze = ge + He * (ce + ve), Qe = he;
@@ -6027,7 +6027,7 @@ var Ap = { class: "j-table-footer" }, jp = {
6027
6027
  elements: pn,
6028
6028
  expectedHeight: vn
6029
6029
  };
6030
- }, re = (D) => String(D).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;"), Ee = (D, W) => {
6030
+ }, re = (D) => String(D).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;"), Re = (D, W) => {
6031
6031
  if (!D) return "";
6032
6032
  if ((mn(D) || 0) <= W) return D;
6033
6033
  const Q = "...", ae = mn(Q) || 0;
@@ -6104,10 +6104,10 @@ var Ap = { class: "j-table-footer" }, jp = {
6104
6104
  const Xe = 14, Fe = 28, He = 2, Ze = 12, Qe = 8, ft = 6;
6105
6105
  let et = 8, we = Math.max(0, ae.width - et * 2), ht = Math.max(0, we - Ze * 2);
6106
6106
  const We = [], zt = (it) => {
6107
- const Tt = mn(Ee(it, ht)) || 0;
6107
+ const Tt = mn(Re(it, ht)) || 0;
6108
6108
  return Math.min(we, Tt + Ze * 2);
6109
6109
  }, ln = (it, Tt, gt, xn, Cn) => {
6110
- const fa = Ee(gt, ht), ha = re(fa), Xo = mn(fa) || 0, La = Math.min(we, Xo + Ze * 2), dd = xn || "#f2f3f5", fd = Cn || "#1d2129", hd = Fe / 2 + Xe * 0.35, pd = `<svg xmlns="http://www.w3.org/2000/svg" width="${La}" height="${Fe}" viewBox="0 0 ${La} ${Fe}"><rect x="0" y="0" width="${La}" height="${Fe}" rx="${He}" ry="${He}" fill="${dd}"/><text x="${La / 2}" y="${hd}" text-anchor="middle" font-size="${Xe}" fill="${fd}">${ha}</text></svg>`;
6110
+ const fa = Re(gt, ht), ha = re(fa), Xo = mn(fa) || 0, La = Math.min(we, Xo + Ze * 2), dd = xn || "#f2f3f5", fd = Cn || "#1d2129", hd = Fe / 2 + Xe * 0.35, pd = `<svg xmlns="http://www.w3.org/2000/svg" width="${La}" height="${Fe}" viewBox="0 0 ${La} ${Fe}"><rect x="0" y="0" width="${La}" height="${Fe}" rx="${He}" ry="${He}" fill="${dd}"/><text x="${La / 2}" y="${hd}" text-anchor="middle" font-size="${Xe}" fill="${fd}">${ha}</text></svg>`;
6111
6111
  return We.push({
6112
6112
  type: "icon",
6113
6113
  svg: pd,
@@ -6331,7 +6331,7 @@ var Ap = { class: "j-table-footer" }, jp = {
6331
6331
  const he = {
6332
6332
  text: Ce,
6333
6333
  "j-switch": _e,
6334
- "j-rate": Te,
6334
+ "j-rate": Ee,
6335
6335
  "j-slider": De,
6336
6336
  "j-tag": Ie,
6337
6337
  "j-input-tag": Ie,
@@ -6375,7 +6375,7 @@ var Ap = { class: "j-table-footer" }, jp = {
6375
6375
  _getCompType: ve,
6376
6376
  frozen: Qe
6377
6377
  }, ht = typeof ve == "function", We = jc(Y);
6378
- return (We || ht) && (we.editor = We, m = !0), ht ? we.customRender = Ft : (Y === "j-switch" && (we.customRender = _e), Y === "j-rate" && (we.customRender = Te), Y === "j-slider" && (we.customRender = De), (Y === "j-tag" || Y === "j-input-tag") && (we.customRender = Ie), Y === "j-icon" && (we.customRender = Be)), Y === "link" && (we.customLayout = Et), Y === "checkbox" && (we.customLayout = qe), Y === "j-switch" && (we.minWidth = we.minWidth || je, we.maxWidth = we.maxWidth || je), he && (we.customLayout = nn), we.fieldFormat = Z, ge && ge.length > 0 && (we.columns = se(ge)), we;
6378
+ return (We || ht) && (we.editor = We, m = !0), ht ? we.customRender = Ft : (Y === "j-switch" && (we.customRender = _e), Y === "j-rate" && (we.customRender = Ee), Y === "j-slider" && (we.customRender = De), (Y === "j-tag" || Y === "j-input-tag") && (we.customRender = Ie), Y === "j-icon" && (we.customRender = Be)), Y === "link" && (we.customLayout = Et), Y === "checkbox" && (we.customLayout = qe), Y === "j-switch" && (we.minWidth = we.minWidth || je, we.maxWidth = we.maxWidth || je), he && (we.customLayout = nn), we.fieldFormat = Z, ge && ge.length > 0 && (we.columns = se(ge)), we;
6379
6379
  });
6380
6380
  return o.isTree && W.length > 0 && (W[0].tree = !0), W;
6381
6381
  }, te = (D, W) => {
@@ -6627,12 +6627,12 @@ var Ap = { class: "j-table-footer" }, jp = {
6627
6627
  set(D) {
6628
6628
  i("update:tablePage", D);
6629
6629
  }
6630
- }), Re = O(0), Ae = L({
6630
+ }), Te = O(0), Ae = L({
6631
6631
  get() {
6632
- return Re.value !== 0 ? Re.value : o.pageSize;
6632
+ return Te.value !== 0 ? Te.value : o.pageSize;
6633
6633
  },
6634
6634
  set(D) {
6635
- Re.value = D, i("update:pageSize", D);
6635
+ Te.value = D, i("update:pageSize", D);
6636
6636
  }
6637
6637
  }), yt = L(() => (da.value - 1) * Ae.value), Ht = (D, W) => {
6638
6638
  i("loadPageData", {
@@ -7076,21 +7076,21 @@ var Ap = { class: "j-table-footer" }, jp = {
7076
7076
  }, U = (j) => {
7077
7077
  if (p.isMove) {
7078
7078
  const de = j.pageX - p.pageX, Ce = j.pageY - p.pageY;
7079
- let _e = p._left + de, Te = p._top + Ce;
7080
- _e + E.value < 0 && (_e = -E.value), typeof document < "u" && document.body && (v.value ? _e + v.value + E.value > document.body.clientWidth && (_e = document.body.clientWidth - v.value - E.value) : _e + C.value + E.value > document.body.clientWidth && (_e = document.body.clientWidth - C.value - E.value)), Te + b.value < 0 && (Te = -b.value), typeof window < "u" && (m.value ? Te + m.value + b.value + 40 > window.innerHeight && (Te = window.innerHeight - m.value - b.value - 40) : Te + w.value + b.value + 40 > window.innerHeight && (Te = window.innerHeight - w.value - b.value - 40)), p.left = _e, p.top = Te;
7079
+ let _e = p._left + de, Ee = p._top + Ce;
7080
+ _e + E.value < 0 && (_e = -E.value), typeof document < "u" && document.body && (v.value ? _e + v.value + E.value > document.body.clientWidth && (_e = document.body.clientWidth - v.value - E.value) : _e + C.value + E.value > document.body.clientWidth && (_e = document.body.clientWidth - C.value - E.value)), Ee + b.value < 0 && (Ee = -b.value), typeof window < "u" && (m.value ? Ee + m.value + b.value + 40 > window.innerHeight && (Ee = window.innerHeight - m.value - b.value - 40) : Ee + w.value + b.value + 40 > window.innerHeight && (Ee = window.innerHeight - w.value - b.value - 40)), p.left = _e, p.top = Ee;
7081
7081
  }
7082
7082
  }, q = (j) => {
7083
- const de = y.value.offsetLeft, Ce = y.value.offsetTop, _e = y.value.clientWidth, Te = y.value.clientHeight, De = Te - _.value, re = y.value.scrollTop;
7084
- if (j.clientX > de + _e - 10 && re + j.clientY > Ce + Te - 10 || re + j.clientY < Ce + 5 && de + 10 > j.clientX) y.value.style.cursor = "se-resize";
7085
- else if (de + 10 > j.clientX && re + j.clientY > Ce + Te - 10 || j.clientX > de + _e - 10 && re + j.clientY < Ce + 5) y.value.style.cursor = "sw-resize";
7083
+ const de = y.value.offsetLeft, Ce = y.value.offsetTop, _e = y.value.clientWidth, Ee = y.value.clientHeight, De = Ee - _.value, re = y.value.scrollTop;
7084
+ if (j.clientX > de + _e - 10 && re + j.clientY > Ce + Ee - 10 || re + j.clientY < Ce + 5 && de + 10 > j.clientX) y.value.style.cursor = "se-resize";
7085
+ else if (de + 10 > j.clientX && re + j.clientY > Ce + Ee - 10 || j.clientX > de + _e - 10 && re + j.clientY < Ce + 5) y.value.style.cursor = "sw-resize";
7086
7086
  else if (j.clientX > de + _e - 10 || de + 10 > j.clientX) y.value.style.cursor = "w-resize";
7087
- else if (re + j.clientY > Ce + Te - 10 || re + j.clientY < Ce + 5) y.value.style.cursor = "s-resize";
7087
+ else if (re + j.clientY > Ce + Ee - 10 || re + j.clientY < Ce + 5) y.value.style.cursor = "s-resize";
7088
7088
  else {
7089
7089
  y.value.style.cursor = "default", y.value.onmousedown = null;
7090
7090
  return;
7091
7091
  }
7092
- y.value.onmousedown = (Ee) => {
7093
- const { clientX: Be } = Ee, { clientY: Ie } = Ee, kt = p.left + E.value, Et = p.top + b.value;
7092
+ y.value.onmousedown = (Re) => {
7093
+ const { clientX: Be } = Re, { clientY: Ie } = Re, kt = p.left + E.value, Et = p.top + b.value;
7094
7094
  p._left = p.left, p._top = p.top, m.value || (m.value = De), v.value || (v.value = _e), Be > kt + 10 && Be < kt + _e - 10 && Ie > Et + 5 && Ie < Et + 47 || (typeof document < "u" && (document.onmousemove = function(qe) {
7095
7095
  qe.preventDefault(), Be > kt && Be < kt + 10 && (Be > qe.clientX && (v.value = _e + (Be - qe.clientX), p.left = p._left - (Be - qe.clientX)), Be < qe.clientX && v.value > a.minWidth && (v.value = _e - (qe.clientX - Be), p.left = p._left + qe.clientX - Be)), Be > kt + _e - 10 && Be < kt + _e && (Be > qe.clientX && v.value > a.minWidth && (v.value = _e - (Be - qe.clientX)), Be < qe.clientX && typeof document < "u" && document.body && E.value + p.left + v.value < document.body.clientWidth && (v.value = _e + (qe.clientX - Be))), Ie > Et && Ie < Et + 5 && (Ie > qe.clientY && (m.value = De + Ie - qe.clientY, p.top = p._top - (Ie - qe.clientY)), Ie < qe.clientY && m.value > a.minHeight && (m.value = De - (qe.clientY - Ie), p.top = p._top + qe.clientY - Ie)), re + Ie > Et + De + 38 && re + Ie < Et + De + 48 && (Ie > qe.clientY && m.value > a.minHeight && (m.value = De - (Ie - qe.clientY)), Ie < qe.clientY && typeof window < "u" && b.value + p.top + m.value + 48 < window.innerHeight && (m.value = De + qe.clientY - Ie));
7096
7096
  }), typeof document < "u" && (document.onmouseup = function() {
@@ -7104,10 +7104,10 @@ var Ap = { class: "j-table-footer" }, jp = {
7104
7104
  showLoading: S,
7105
7105
  hideLoading: x
7106
7106
  }), (j, de) => {
7107
- const Ce = F("j-button"), _e = F("el-space"), Te = F("el-step"), De = F("el-steps"), re = F("el-dialog");
7107
+ const Ce = F("j-button"), _e = F("el-space"), Ee = F("el-step"), De = F("el-steps"), re = F("el-dialog");
7108
7108
  return k(), V(re, {
7109
7109
  modelValue: r.value,
7110
- "onUpdate:modelValue": de[0] || (de[0] = (Ee) => r.value = Ee),
7110
+ "onUpdate:modelValue": de[0] || (de[0] = (Re) => r.value = Re),
7111
7111
  class: "j-dialog",
7112
7112
  "align-center": "",
7113
7113
  "append-to-body": !0,
@@ -7159,9 +7159,9 @@ var Ap = { class: "j-table-footer" }, jp = {
7159
7159
  space: 160,
7160
7160
  "finish-status": "success"
7161
7161
  }, {
7162
- default: J(() => [(k(!0), I(ke, null, ze(G.value, (Ee, Be) => (k(), V(Te, {
7162
+ default: J(() => [(k(!0), I(ke, null, ze(G.value, (Re, Be) => (k(), V(Ee, {
7163
7163
  key: Be,
7164
- title: K(i)(Ee.title)
7164
+ title: K(i)(Re.title)
7165
7165
  }, null, 8, ["title"]))), 128))]),
7166
7166
  _: 1
7167
7167
  }, 8, ["active"])], 4)])) : ee("", !0),
@@ -7193,10 +7193,10 @@ var Ap = { class: "j-table-footer" }, jp = {
7193
7193
  label: K(i)("取消"),
7194
7194
  onClick: T
7195
7195
  }, null, 8, ["label"])) : ee("", !0),
7196
- (k(!0), I(ke, null, ze(e.buttons, (Ee) => (k(), V(Ce, Ne({ ref_for: !0 }, Ee.config, {
7197
- key: Ee.id,
7198
- label: Ee.label,
7199
- onClick: (Be) => B(Ee)
7196
+ (k(!0), I(ke, null, ze(e.buttons, (Re) => (k(), V(Ce, Ne({ ref_for: !0 }, Re.config, {
7197
+ key: Re.id,
7198
+ label: Re.label,
7199
+ onClick: (Be) => B(Re)
7200
7200
  }), null, 16, ["label", "onClick"]))), 128)),
7201
7201
  e.hasSaveBtn ? (k(), V(Ce, {
7202
7202
  key: 3,
@@ -8515,22 +8515,22 @@ var Ap = { class: "j-table-footer" }, jp = {
8515
8515
  v.value = [...v.value];
8516
8516
  }, w = (re) => {
8517
8517
  if (n.maxSize && n.sizeType) {
8518
- let Ee = re;
8518
+ let Re = re;
8519
8519
  switch (n.sizeType) {
8520
8520
  case "GB":
8521
- Ee = 1024 * 1024 * 1024 * n.maxSize;
8521
+ Re = 1024 * 1024 * 1024 * n.maxSize;
8522
8522
  break;
8523
8523
  case "MB":
8524
- Ee = 1024 * 1024 * n.maxSize;
8524
+ Re = 1024 * 1024 * n.maxSize;
8525
8525
  break;
8526
8526
  case "KB":
8527
- Ee = 1024 * n.maxSize;
8527
+ Re = 1024 * n.maxSize;
8528
8528
  break;
8529
8529
  default:
8530
- Ee = n.maxSize;
8530
+ Re = n.maxSize;
8531
8531
  break;
8532
8532
  }
8533
- if (Ee < re) return !1;
8533
+ if (Re < re) return !1;
8534
8534
  }
8535
8535
  return !0;
8536
8536
  }, E = {
@@ -8544,12 +8544,12 @@ var Ap = { class: "j-table-footer" }, jp = {
8544
8544
  json: "file-json"
8545
8545
  }, b = (re) => {
8546
8546
  if (re) {
8547
- const Ee = re.split(".");
8548
- return Ee[Ee.length - 1];
8547
+ const Re = re.split(".");
8548
+ return Re[Re.length - 1];
8549
8549
  }
8550
8550
  return "";
8551
- }, C = (re, Ee) => {
8552
- if (Ee && Ee.indexOf("image") > -1) return "file-image";
8551
+ }, C = (re, Re) => {
8552
+ if (Re && Re.indexOf("image") > -1) return "file-image";
8553
8553
  const Be = b(re);
8554
8554
  return [
8555
8555
  "webp",
@@ -8568,15 +8568,15 @@ var Ap = { class: "j-table-footer" }, jp = {
8568
8568
  file: re,
8569
8569
  list: v.value
8570
8570
  });
8571
- }, T = (re, Ee, Be) => {
8572
- re.percent = Be, re.uploadSize = Ee, m();
8571
+ }, T = (re, Re, Be) => {
8572
+ re.percent = Be, re.uploadSize = Re, m();
8573
8573
  }, M = (re) => {
8574
8574
  re.status = "done", re.id += "1", re.uid += "1", m(), a("success", {
8575
8575
  file: re,
8576
8576
  list: v.value
8577
8577
  }), n.modelValue || (a("update:modelValue", y.value), a("change", { value: y.value }));
8578
- }, P = (re, Ee) => {
8579
- console.error(Ee, "简搭提醒您:文件上传错误!"), re.status = "error", m(), a("error", {
8578
+ }, P = (re, Re) => {
8579
+ console.error(Re, "简搭提醒您:文件上传错误!"), re.status = "error", m(), a("error", {
8580
8580
  file: re,
8581
8581
  list: v.value
8582
8582
  });
@@ -8597,24 +8597,24 @@ var Ap = { class: "j-table-footer" }, jp = {
8597
8597
  return i && i("上传文件超出大小了"), !1;
8598
8598
  }, A = (re) => {
8599
8599
  S(re.file), z(re.file);
8600
- }, R = (re) => new Promise((Ee) => {
8600
+ }, R = (re) => new Promise((Re) => {
8601
8601
  r ? r({
8602
8602
  title: "提示",
8603
8603
  iconType: "warning",
8604
8604
  content: `您确定删除【${re.name}】?`,
8605
8605
  onOk: () => {
8606
- Ee(!0);
8606
+ Re(!0);
8607
8607
  },
8608
8608
  onCancel: () => {
8609
- Ee(!1);
8609
+ Re(!1);
8610
8610
  }
8611
- }) : (N(re), Ee(!0));
8611
+ }) : (N(re), Re(!0));
8612
8612
  }), N = (re) => {
8613
8613
  if (!n.isNotApi) {
8614
- const Ee = re.response?.fileId || re.id;
8615
- d && d(Ee);
8614
+ const Re = re.response?.fileId || re.id;
8615
+ d && d(Re);
8616
8616
  }
8617
- v.value = v.value.filter((Ee) => Ee.id !== re.id), v.value.length === 0 && (a("update:modelValue", ""), a("change", { value: "" })), a("delete", {
8617
+ v.value = v.value.filter((Re) => Re.id !== re.id), v.value.length === 0 && (a("update:modelValue", ""), a("change", { value: "" })), a("delete", {
8618
8618
  file: re,
8619
8619
  list: v.value
8620
8620
  });
@@ -8627,8 +8627,8 @@ var Ap = { class: "j-table-footer" }, jp = {
8627
8627
  o && o("无权限预览!");
8628
8628
  return;
8629
8629
  }
8630
- const Ee = re.name.split(".")[re.name.split(".").length - 1];
8631
- switch (j = re, ie.value = !1, ye.value = re.name, Ee.toLowerCase()) {
8630
+ const Re = re.name.split(".")[re.name.split(".").length - 1];
8631
+ switch (j = re, ie.value = !1, ye.value = re.name, Re.toLowerCase()) {
8632
8632
  case "jpg":
8633
8633
  case "gif":
8634
8634
  case "png":
@@ -8655,17 +8655,17 @@ var Ap = { class: "j-table-footer" }, jp = {
8655
8655
  }
8656
8656
  de.value = Qo(/* @__PURE__ */ new Date(), "YYYY-MM-DD HH:mm:ss");
8657
8657
  }, _e = (re) => {
8658
- const Ee = re.response?.fileId || re.id;
8658
+ const Re = re.response?.fileId || re.id;
8659
8659
  if (!c) return "";
8660
- const Be = Qo(/* @__PURE__ */ new Date(), "YYYY-MM-DD HH:mm:ss") + "|" + Ee;
8660
+ const Be = Qo(/* @__PURE__ */ new Date(), "YYYY-MM-DD HH:mm:ss") + "|" + Re;
8661
8661
  return `${c}/system/annexesfile/preview/${ih.createAesEncryption({ key: "jianda" }).encrypt(Be).replace(/\//g, "|")}?token=${s?.value}`;
8662
- }, Te = () => {
8662
+ }, Ee = () => {
8663
8663
  j.isDown === !1 && o && o("无权限下载!"), Cg(`${c}/system/annexesfile/${j.response?.fileId || j.id}?token=${s?.value}`);
8664
8664
  }, De = () => {
8665
8665
  if (n.limit !== -1 && n.limit <= v.value.length)
8666
8666
  return o && o(`当前限制选择${n.limit}个文件`), !1;
8667
8667
  };
8668
- return (re, Ee) => {
8668
+ return (re, Re) => {
8669
8669
  const Be = F("j-icon"), Ie = F("j-button"), kt = F("el-popover"), Et = F("el-upload"), qe = F("el-text"), nn = F("j-dialog-full"), Rt = Hi("loading");
8670
8670
  return k(), I("div", Pg, [
8671
8671
  X(Et, {
@@ -8755,12 +8755,12 @@ var Ap = { class: "j-table-footer" }, jp = {
8755
8755
  ])) : ee("", !0),
8756
8756
  X(nn, {
8757
8757
  visible: q.value,
8758
- "onUpdate:visible": Ee[1] || (Ee[1] = (Ft) => q.value = Ft),
8758
+ "onUpdate:visible": Re[1] || (Re[1] = (Ft) => q.value = Ft),
8759
8759
  "btn-text": "下载",
8760
8760
  title: `${K(l)("文件预览")}【${ye.value}】`,
8761
8761
  "destroy-on-close": !0,
8762
8762
  "has-btns": !!K(c),
8763
- onOk: Te
8763
+ onOk: Ee
8764
8764
  }, {
8765
8765
  default: J(() => [ie.value && U.value ? (k(), I("div", Ig, [H("img", {
8766
8766
  width: "100%",
@@ -8775,7 +8775,7 @@ var Ap = { class: "j-table-footer" }, jp = {
8775
8775
  height: "100%"
8776
8776
  },
8777
8777
  frameborder: "0",
8778
- onLoad: Ee[0] || (Ee[0] = (Ft) => B.value = !1)
8778
+ onLoad: Re[0] || (Re[0] = (Ft) => B.value = !1)
8779
8779
  }, null, 40, $g)])), [[Rt, B.value]]) : ee("", !0)]),
8780
8780
  _: 1
8781
8781
  }, 8, [
@@ -8850,7 +8850,7 @@ var Ap = { class: "j-table-footer" }, jp = {
8850
8850
  const n = e.__vccOpts || e;
8851
8851
  for (const [a, o] of t) n[a] = o;
8852
8852
  return n;
8853
- }, Wg = /* @__PURE__ */ Hc(Ng, [["__scopeId", "data-v-69ad659b"]]), Ug = xe(Wg), Kg = ["innerHTML"], Yg = {
8853
+ }, Wg = /* @__PURE__ */ Hc(Ng, [["__scopeId", "data-v-37f9a80b"]]), Ug = xe(Wg), Kg = ["innerHTML"], Yg = {
8854
8854
  key: 1,
8855
8855
  class: "j-barcode-error"
8856
8856
  }, Jg = /* @__PURE__ */ pe({
@@ -12148,12 +12148,12 @@ var Ap = { class: "j-table-footer" }, jp = {
12148
12148
  let f = i.pageSize || 100;
12149
12149
  const d = O(0), h = L(() => d.value > 0), p = O([]), g = O(!1), y = L(() => i.batchButtons && i.batchButtons.length > 0), _ = L(() => p.value.length > 0), v = L(() => y.value && _.value && i.isMultiple || g.value), m = L(() => i.isPage && !v.value);
12150
12150
  y.value && !i.isMultiple && console.warn("batchButtons is only valid when isMultiple is true");
12151
- const w = (Re) => i.rowKey ? i.rowKey.split(",").map((Ae) => Re[Ae.trim()]).join("::") : "", E = (Re, Ae) => {
12152
- if (!Ae || Ae.length === 0) return Re.filter((be) => be.config?.display !== !1).map((be) => be.children && be.children.length > 0 ? {
12151
+ const w = (Te) => i.rowKey ? i.rowKey.split(",").map((Ae) => Te[Ae.trim()]).join("::") : "", E = (Te, Ae) => {
12152
+ if (!Ae || Ae.length === 0) return Te.filter((be) => be.config?.display !== !1).map((be) => be.children && be.children.length > 0 ? {
12153
12153
  ...be,
12154
12154
  children: E(be.children)
12155
12155
  } : be);
12156
- const yt = new Map(Re.map((be) => [be.id, be])), Ht = [];
12156
+ const yt = new Map(Te.map((be) => [be.id, be])), Ht = [];
12157
12157
  return Ae.forEach((be) => {
12158
12158
  const pt = yt.get(be.id);
12159
12159
  if (pt) {
@@ -12166,7 +12166,7 @@ var Ap = { class: "j-table-footer" }, jp = {
12166
12166
  }
12167
12167
  yt.delete(be.id);
12168
12168
  }
12169
- }), Re.forEach((be) => {
12169
+ }), Te.forEach((be) => {
12170
12170
  if (yt.has(be.id) && be.config?.display !== !1) {
12171
12171
  let pt = be;
12172
12172
  be.children && be.children.length > 0 && (pt = {
@@ -12175,18 +12175,18 @@ var Ap = { class: "j-table-footer" }, jp = {
12175
12175
  }), Ht.push(pt);
12176
12176
  }
12177
12177
  }), Ht;
12178
- }, b = L(() => E(i.columns, De.value)), C = L(() => Hf(i.columns, (Re) => Re.config.label)), S = O(""), x = L(() => C.value.some((Re) => Re.config?.filter?.isSearchKeyword)), T = O(), M = O(!0), P = O([]), z = L(() => M.value ? "搜索全部" : `搜索范围:${C.value.filter((Re) => P.value.includes(Re.id)).map((Re) => Re.config?.label).join("、")}`), $ = () => {
12178
+ }, b = L(() => E(i.columns, De.value)), C = L(() => Hf(i.columns, (Te) => Te.config.label)), S = O(""), x = L(() => C.value.some((Te) => Te.config?.filter?.isSearchKeyword)), T = O(), M = O(!0), P = O([]), z = L(() => M.value ? "搜索全部" : `搜索范围:${C.value.filter((Te) => P.value.includes(Te.id)).map((Te) => Te.config?.label).join("、")}`), $ = () => {
12179
12179
  T.value.init();
12180
12180
  }, A = O(), R = O(!1), N = O(!1), G = O(!1), ie = O([]), ye = O("and"), U = O(), q = O(!1), B = O([]), j = () => {
12181
12181
  U.value.init(B.value);
12182
- }, de = (Re) => {
12183
- B.value = Re, q.value = !1, Oe();
12182
+ }, de = (Te) => {
12183
+ B.value = Te, q.value = !1, Oe();
12184
12184
  }, Ce = () => {
12185
12185
  B.value = [], Oe();
12186
- }, _e = O(), Te = O(!1), De = O(), re = L(() => De.value != null), Ee = () => {
12186
+ }, _e = O(), Ee = O(!1), De = O(), re = L(() => De.value != null), Re = () => {
12187
12187
  _e.value?.init();
12188
- }, Be = (Re) => {
12189
- De.value = Re, Te.value = !1;
12188
+ }, Be = (Te) => {
12189
+ De.value = Te, Ee.value = !1;
12190
12190
  }, Ie = O(!1), kt = () => {
12191
12191
  Ie.value = !Ie.value;
12192
12192
  }, Et = () => {
@@ -12195,7 +12195,7 @@ var Ap = { class: "j-table-footer" }, jp = {
12195
12195
  g.value = !g.value, g.value ? l.value?.setRecords(p.value) : (console.log(c, "tableData"), l.value?.setRecords(c)), l.value?.setSelection?.(p.value);
12196
12196
  }, nn = L(() => {
12197
12197
  if (p.value.length > 0 && i.isMultiple) {
12198
- const Re = [
12198
+ const Te = [
12199
12199
  {
12200
12200
  id: "selection_count",
12201
12201
  label: `已选${p.value.length}条`,
@@ -12222,10 +12222,10 @@ var Ap = { class: "j-table-footer" }, jp = {
12222
12222
  });
12223
12223
  }
12224
12224
  }));
12225
- return [...Re, ...Ae];
12225
+ return [...Te, ...Ae];
12226
12226
  }
12227
12227
  return i.buttons;
12228
- }), Rt = L(() => nn.value.filter((Re) => Re.config?.display !== !1)), Ft = O(null), Z = O(0), se = () => {
12228
+ }), Rt = L(() => nn.value.filter((Te) => Te.config?.display !== !1)), Ft = O(null), Z = O(0), se = () => {
12229
12229
  Z.value = Ft.value?.clientWidth || 0;
12230
12230
  };
12231
12231
  let te;
@@ -12241,10 +12241,10 @@ var Ap = { class: "j-table-footer" }, jp = {
12241
12241
  Ot(se);
12242
12242
  });
12243
12243
  const oe = L(() => {
12244
- const Re = Rt.value;
12245
- if (Re.length === 0) return [];
12244
+ const Te = Rt.value;
12245
+ if (Te.length === 0) return [];
12246
12246
  const Ae = Z.value;
12247
- if (Ae <= 0) return Re;
12247
+ if (Ae <= 0) return Te;
12248
12248
  const yt = Math.max(0, Ae - 4), Ht = (ot, dt) => ot.groupId || `__auto_${dt}`, be = (ot) => {
12249
12249
  if (ot.config?.notLabel === !0 || !ot.label) return 28;
12250
12250
  const dt = 24, Xt = mn(ot.label || "") || 0, Zt = ot.config?.icon ? 18 : 0;
@@ -12256,7 +12256,7 @@ var Ap = { class: "j-table-footer" }, jp = {
12256
12256
  const Jo = Ht(Zt, oo);
12257
12257
  Xt !== null && (dt += Jo === Xt ? -1 : 8), dt += be(Zt), Xt = Jo;
12258
12258
  }), dt;
12259
- })(Re) <= yt) return Re;
12259
+ })(Te) <= yt) return Te;
12260
12260
  const Kt = {
12261
12261
  id: "__table_panel_more__",
12262
12262
  label: "",
@@ -12267,17 +12267,17 @@ var Ap = { class: "j-table-footer" }, jp = {
12267
12267
  children: []
12268
12268
  }, It = 28, Lt = [];
12269
12269
  let ut = 0, Hn = null;
12270
- for (let ot = 0; ot < Re.length; ot++) {
12271
- const dt = Re[ot], Xt = Ht(dt, ot);
12270
+ for (let ot = 0; ot < Te.length; ot++) {
12271
+ const dt = Te[ot], Xt = Ht(dt, ot);
12272
12272
  let Zt = ut;
12273
12273
  Hn !== null && (Zt += Xt === Hn ? -1 : 8), Zt += be(dt);
12274
- const oo = Re.length - (ot + 1) > 0 ? (Zt > 0 ? 8 : 0) + It : 0;
12274
+ const oo = Te.length - (ot + 1) > 0 ? (Zt > 0 ? 8 : 0) + It : 0;
12275
12275
  if (Zt + oo <= yt)
12276
12276
  Lt.push(dt), ut = Zt, Hn = Xt;
12277
12277
  else break;
12278
12278
  }
12279
- const Ia = Re.slice(Lt.length);
12280
- if (Ia.length === 0) return Re;
12279
+ const Ia = Te.slice(Lt.length);
12280
+ if (Ia.length === 0) return Te;
12281
12281
  const _n = {
12282
12282
  ...Kt,
12283
12283
  children: Ia
@@ -12285,10 +12285,10 @@ var Ap = { class: "j-table-footer" }, jp = {
12285
12285
  return Lt.length === 0 ? [_n] : [...Lt, _n];
12286
12286
  });
12287
12287
  let fe;
12288
- const Me = async (Re) => {
12288
+ const Me = async (Te) => {
12289
12289
  d.value++;
12290
12290
  const Ae = {};
12291
- Re && (fe = Re), fe && (Ae.query = fe);
12291
+ Te && (fe = Te), fe && (Ae.query = fe);
12292
12292
  try {
12293
12293
  const yt = {};
12294
12294
  yt.rel = ye.value, yt.cond = (A.value?.getSearchFields?.() || ie.value).filter((be) => be.value !== void 0 && be.value !== null && be.value !== "" || ["empty", "not_empty"].includes(be.method)).map((be) => ({
@@ -12319,31 +12319,31 @@ var Ap = { class: "j-table-footer" }, jp = {
12319
12319
  }
12320
12320
  }, Oe = async () => {
12321
12321
  u.value = 1, await Me();
12322
- }, nt = ({ rows: Re, page: Ae }) => {
12323
- f = Re, u.value = Ae, Me();
12322
+ }, nt = ({ rows: Te, page: Ae }) => {
12323
+ f = Te, u.value = Ae, Me();
12324
12324
  }, wt = async () => {
12325
12325
  p.value = [], g.value = !1, u.value = 1, fe = void 0, await Me();
12326
- }, ct = async (Re) => {
12327
- p.value = [], g.value = !1, await Me(Re);
12326
+ }, ct = async (Te) => {
12327
+ p.value = [], g.value = !1, await Me(Te);
12328
12328
  }, Jt = async () => {
12329
12329
  await wt();
12330
- }, qt = (Re) => {
12331
- r("ready", Re);
12332
- }, ua = ({ selections: Re, record: Ae, checked: yt, isMultiple: Ht }) => {
12330
+ }, qt = (Te) => {
12331
+ r("ready", Te);
12332
+ }, ua = ({ selections: Te, record: Ae, checked: yt, isMultiple: Ht }) => {
12333
12333
  let be = [];
12334
12334
  if (!i.isMultiple) {
12335
- p.value = Re, r("select", {
12336
- selections: Re,
12335
+ p.value = Te, r("select", {
12336
+ selections: Te,
12337
12337
  record: Ae,
12338
12338
  checked: yt,
12339
12339
  isMultiple: Ht
12340
12340
  });
12341
12341
  return;
12342
12342
  }
12343
- if (y.value) be = Re;
12344
- else if (!i.rowKey) be = Re;
12343
+ if (y.value) be = Te;
12344
+ else if (!i.rowKey) be = Te;
12345
12345
  else {
12346
- const pt = new Map(Re.map((It) => [w(It), It])), Kt = new Map(p.value.map((It) => [w(It), It]));
12346
+ const pt = new Map(Te.map((It) => [w(It), It])), Kt = new Map(p.value.map((It) => [w(It), It]));
12347
12347
  c.forEach((It) => {
12348
12348
  const Lt = w(It);
12349
12349
  pt.has(Lt) ? Kt.set(Lt, pt.get(Lt)) : Kt.delete(Lt);
@@ -12355,10 +12355,10 @@ var Ap = { class: "j-table-footer" }, jp = {
12355
12355
  checked: yt,
12356
12356
  isMultiple: Ht
12357
12357
  }), g.value && be.length === 0 ? (g.value = !1, l.value && l.value.setRecords(c)) : g.value && be.length > 0 && l.value && (l.value.setRecords(be), l.value.setSelection?.(be));
12358
- }, Vn = (Re) => {
12359
- p.value = Re;
12360
- }, Ba = () => p.value || [], Oa = (Re) => {
12361
- p.value = Re, l.value?.setSelection?.(Re);
12358
+ }, Vn = (Te) => {
12359
+ p.value = Te;
12360
+ }, Ba = () => p.value || [], Oa = (Te) => {
12361
+ p.value = Te, l.value?.setSelection?.(Te);
12362
12362
  }, rn = () => l.value;
12363
12363
  return At(async () => {
12364
12364
  i.immediate && await ct();
@@ -12371,7 +12371,7 @@ var Ap = { class: "j-table-footer" }, jp = {
12371
12371
  Et();
12372
12372
  },
12373
12373
  getTableRef: rn
12374
- }), (Re, Ae) => {
12374
+ }), (Te, Ae) => {
12375
12375
  const yt = F("j-buttons"), Ht = F("j-icon"), be = F("el-popover"), pt = F("el-tooltip"), Kt = F("el-input"), It = F("j-button"), Lt = F("j-table");
12376
12376
  return k(), I("div", { class: Ke(["j-table-panel-wrapper", {
12377
12377
  fullscreen: Ie.value,
@@ -12500,13 +12500,13 @@ var Ap = { class: "j-table-footer" }, jp = {
12500
12500
  content: K(a)("显示字段")
12501
12501
  }, {
12502
12502
  default: J(() => [H("div", null, [X(be, {
12503
- visible: Te.value,
12504
- "onUpdate:visible": Ae[8] || (Ae[8] = (ut) => Te.value = ut),
12503
+ visible: Ee.value,
12504
+ "onUpdate:visible": Ae[8] || (Ae[8] = (ut) => Ee.value = ut),
12505
12505
  placement: "bottom",
12506
12506
  "popper-style": "padding: 0",
12507
12507
  width: 400,
12508
12508
  trigger: "click",
12509
- onShow: Ee
12509
+ onShow: Re
12510
12510
  }, {
12511
12511
  reference: J(() => [X(It, {
12512
12512
  class: Ke({ active: re.value }),
@@ -12925,8 +12925,8 @@ var Ap = { class: "j-table-footer" }, jp = {
12925
12925
  onVisibleChange: (_e) => P(_e, j.data)
12926
12926
  }, {
12927
12927
  dropdown: J(() => [X(ie, null, {
12928
- default: J(() => [(k(!0), I(ke, null, ze(de.children, (_e, Te) => (k(), V(G, {
12929
- key: Te,
12928
+ default: J(() => [(k(!0), I(ke, null, ze(de.children, (_e, Ee) => (k(), V(G, {
12929
+ key: Ee,
12930
12930
  disabled: _e.disabled,
12931
12931
  divided: _e.divided,
12932
12932
  onClick: $t((De) => T(_e, j.data), ["stop"])
@@ -13290,7 +13290,7 @@ var sb = /* @__PURE__ */ pe({
13290
13290
  pRowData: oe
13291
13291
  });
13292
13292
  return Me._componentId = fe?.id, Me;
13293
- }, Te = (Z, se, te, oe) => {
13293
+ }, Ee = (Z, se, te, oe) => {
13294
13294
  const fe = _e(Z, se, te, oe);
13295
13295
  if (fe.isNotRule !== !0 && fe.display !== !1) {
13296
13296
  const Me = fe.rule || [], Oe = Me.find((nt) => nt.type === "only");
@@ -13318,11 +13318,11 @@ var sb = /* @__PURE__ */ pe({
13318
13318
  rules: [],
13319
13319
  myGridtableId: ""
13320
13320
  };
13321
- }, { validateForm: De } = lb(b, Te), re = async () => {
13321
+ }, { validateForm: De } = lb(b, Ee), re = async () => {
13322
13322
  C.value = {};
13323
13323
  const Z = await De();
13324
13324
  return Object.keys(Z).length > 0 ? (C.value = Z, g(`${h(x[Object.keys(Z)[0]]?.config?.label)}:${h(Z[Object.keys(Z)[0]].msg)}`), !1) : !0;
13325
- }, Ee = () => {
13325
+ }, Re = () => {
13326
13326
  C.value = {}, wo(b), Object.keys($ || {}).forEach((Z) => {
13327
13327
  b[Z] = $[Z];
13328
13328
  });
@@ -13440,7 +13440,7 @@ var sb = /* @__PURE__ */ pe({
13440
13440
  formChange: A
13441
13441
  }), Ec({ contextType: "form" }), t({
13442
13442
  init: q,
13443
- reset: Ee,
13443
+ reset: Re,
13444
13444
  validate: re,
13445
13445
  setValue: Ie,
13446
13446
  getValue: kt,
@@ -14489,7 +14489,7 @@ var sb = /* @__PURE__ */ pe({
14489
14489
  style: le(l.value)
14490
14490
  }, null, 4)]));
14491
14491
  }
14492
- }), Xb = /* @__PURE__ */ Hc(qb, [["__scopeId", "data-v-60cd5d0b"]]), Zb = xe(Xb), Qb = {
14492
+ }), Xb = /* @__PURE__ */ Hc(qb, [["__scopeId", "data-v-179ac616"]]), Zb = xe(Xb), Qb = {
14493
14493
  key: 0,
14494
14494
  class: "j-map-loading"
14495
14495
  }, e0 = /* @__PURE__ */ pe({
@@ -16039,10 +16039,10 @@ function ds(e, t, n, a, o, i) {
16039
16039
  ];
16040
16040
  }
16041
16041
  function Zc(e, t, n, a, o, i, r, l, c, s) {
16042
- var u = Nn * 120 / 180, f = Nn / 180 * (+o || 0), d = [], h, p = W0(function(_e, Te, De) {
16042
+ var u = Nn * 120 / 180, f = Nn / 180 * (+o || 0), d = [], h, p = W0(function(_e, Ee, De) {
16043
16043
  return {
16044
- x: _e * Mt.cos(De) - Te * Mt.sin(De),
16045
- y: _e * Mt.sin(De) + Te * Mt.cos(De)
16044
+ x: _e * Mt.cos(De) - Ee * Mt.sin(De),
16045
+ y: _e * Mt.sin(De) + Ee * Mt.cos(De)
16046
16046
  };
16047
16047
  });
16048
16048
  if (s)