@a2simcode/ui 0.0.71 → 0.0.73

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 (322) hide show
  1. package/.cursor/skills/ui-component-helper/README.md +43 -43
  2. package/.cursor/skills/ui-component-helper/SKILL.md +81 -81
  3. package/LICENSE +53 -53
  4. package/README.md +156 -156
  5. package/dist/components/button/index.d.ts +10 -190
  6. package/dist/components/button/src/button.vue.d.ts +39 -226
  7. package/dist/components/buttons/index.d.ts +7 -6
  8. package/dist/components/buttons/src/interface.d.ts +13 -10
  9. package/dist/components/index.d.ts +2 -1
  10. package/dist/simcode-ui.es.js +388 -470
  11. package/dist/simcode-ui.umd.js +2 -2
  12. package/dist/stats.html +1 -1
  13. package/dist/ui.css +1 -1
  14. package/docs/components/autocomplete.md +89 -89
  15. package/docs/components/barcode.md +101 -101
  16. package/docs/components/button-select.md +24 -24
  17. package/docs/components/button.md +117 -117
  18. package/docs/components/buttons.md +119 -119
  19. package/docs/components/cascader-select.md +114 -114
  20. package/docs/components/checkbox.md +114 -114
  21. package/docs/components/code-mirror.md +85 -85
  22. package/docs/components/collapse.md +26 -26
  23. package/docs/components/comp.md +71 -71
  24. package/docs/components/count-up.md +24 -24
  25. package/docs/components/count.md +24 -24
  26. package/docs/components/data-panel.md +24 -24
  27. package/docs/components/date.md +76 -76
  28. package/docs/components/dialog-full.md +112 -112
  29. package/docs/components/dialog.md +127 -127
  30. package/docs/components/divider.md +24 -24
  31. package/docs/components/drawer.md +127 -127
  32. package/docs/components/dynamic-layer.md +118 -118
  33. package/docs/components/echarts.md +72 -72
  34. package/docs/components/editor.md +24 -24
  35. package/docs/components/form.md +27 -27
  36. package/docs/components/guid.md +39 -39
  37. package/docs/components/hpanel.md +24 -24
  38. package/docs/components/icon.md +56 -56
  39. package/docs/components/input-button.md +24 -24
  40. package/docs/components/input-code.md +24 -24
  41. package/docs/components/input-color.md +114 -114
  42. package/docs/components/input-layer.md +26 -26
  43. package/docs/components/input-rows.md +370 -370
  44. package/docs/components/input-tag.md +50 -50
  45. package/docs/components/input.md +129 -129
  46. package/docs/components/layer-form.md +61 -61
  47. package/docs/components/layer.md +127 -127
  48. package/docs/components/layout.md +132 -132
  49. package/docs/components/map.md +24 -24
  50. package/docs/components/menu.md +121 -121
  51. package/docs/components/meta/buttons.ts +61 -56
  52. package/docs/components/meta/date.ts +256 -275
  53. package/docs/components/meta/echarts.ts +64 -64
  54. package/docs/components/meta/form.ts +160 -160
  55. package/docs/components/meta/input-cards.ts +112 -112
  56. package/docs/components/meta/input-color.ts +243 -243
  57. package/docs/components/meta/input-rows.ts +113 -113
  58. package/docs/components/meta/layer-form.ts +56 -56
  59. package/docs/components/meta/map.ts +68 -68
  60. package/docs/components/meta/panel.ts +152 -152
  61. package/docs/components/meta/slider.ts +270 -270
  62. package/docs/components/meta/table.ts +363 -363
  63. package/docs/components/meta/tabs.ts +136 -136
  64. package/docs/components/meta/tree-select.ts +199 -199
  65. package/docs/components/meta/workflow-viewer.ts +55 -55
  66. package/docs/components/meta/workflow.ts +113 -113
  67. package/docs/components/number.md +124 -124
  68. package/docs/components/page.md +57 -57
  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 +218 -218
  77. package/docs/components/table.md +319 -319
  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 +54 -54
  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/dialog/basic.vue +36 -36
  144. package/docs/examples/dialog/custom-buttons.vue +44 -44
  145. package/docs/examples/dialog/fullscreen.vue +23 -23
  146. package/docs/examples/dialog/no-mask.vue +17 -17
  147. package/docs/examples/dialog/size.vue +44 -44
  148. package/docs/examples/dialog/steps.vue +57 -57
  149. package/docs/examples/dialog-full/basic.vue +29 -29
  150. package/docs/examples/dialog-full/custom-buttons.vue +45 -45
  151. package/docs/examples/dialog-full/no-buttons.vue +18 -18
  152. package/docs/examples/dialog-full/no-header.vue +27 -27
  153. package/docs/examples/dialog-full/steps.vue +71 -71
  154. package/docs/examples/divider/basic.vue +52 -52
  155. package/docs/examples/drawer/basic.vue +35 -35
  156. package/docs/examples/drawer/custom-buttons.vue +34 -34
  157. package/docs/examples/drawer/direction.vue +47 -47
  158. package/docs/examples/drawer/mask.vue +36 -36
  159. package/docs/examples/drawer/no-buttons.vue +20 -20
  160. package/docs/examples/drawer/size.vue +28 -28
  161. package/docs/examples/dynamic-layer/basic.vue +33 -33
  162. package/docs/examples/dynamic-layer/custom-buttons.vue +43 -43
  163. package/docs/examples/dynamic-layer/form.vue +73 -73
  164. package/docs/examples/dynamic-layer/steps.vue +52 -52
  165. package/docs/examples/dynamic-layer/types.vue +40 -40
  166. package/docs/examples/echarts/basic.vue +31 -31
  167. package/docs/examples/echarts/dynamic.vue +43 -43
  168. package/docs/examples/echarts/line.vue +46 -46
  169. package/docs/examples/echarts/pie.vue +44 -44
  170. package/docs/examples/editor/basic.vue +15 -15
  171. package/docs/examples/form/basic.vue +450 -450
  172. package/docs/examples/guid/basic.vue +10 -10
  173. package/docs/examples/guid/size.vue +13 -13
  174. package/docs/examples/hpanel/basic.vue +79 -79
  175. package/docs/examples/icon/basic.vue +9 -9
  176. package/docs/examples/icon/rotate-flip.vue +9 -9
  177. package/docs/examples/icon/size.vue +7 -7
  178. package/docs/examples/input/basic.vue +10 -10
  179. package/docs/examples/input/clearable.vue +12 -12
  180. package/docs/examples/input/disabled.vue +6 -6
  181. package/docs/examples/input/icon.vue +23 -23
  182. package/docs/examples/input/password.vue +18 -18
  183. package/docs/examples/input/size.vue +13 -13
  184. package/docs/examples/input/textarea.vue +25 -25
  185. package/docs/examples/input/word-limit.vue +28 -28
  186. package/docs/examples/input-button/basic.vue +33 -33
  187. package/docs/examples/input-code/basic.vue +29 -29
  188. package/docs/examples/input-color/basic.vue +10 -10
  189. package/docs/examples/input-color/disabled.vue +13 -13
  190. package/docs/examples/input-color/format.vue +17 -17
  191. package/docs/examples/input-color/no-alpha.vue +13 -13
  192. package/docs/examples/input-color/only-button.vue +15 -15
  193. package/docs/examples/input-color/predefine.vue +31 -31
  194. package/docs/examples/input-color/size.vue +15 -15
  195. package/docs/examples/input-layer/basic.vue +69 -69
  196. package/docs/examples/input-rows/basic.vue +73 -73
  197. package/docs/examples/input-rows/drag.vue +48 -48
  198. package/docs/examples/input-rows/layer-form.vue +85 -85
  199. package/docs/examples/input-rows/nested.vue +91 -91
  200. package/docs/examples/input-tag/basic.vue +27 -27
  201. package/docs/examples/input-tag/colors.vue +23 -23
  202. package/docs/examples/input-tag/readonly.vue +17 -17
  203. package/docs/examples/layer/basic.vue +43 -43
  204. package/docs/examples/layer/custom-buttons.vue +61 -61
  205. package/docs/examples/layer/drawer.vue +37 -37
  206. package/docs/examples/layer/full.vue +38 -38
  207. package/docs/examples/layer/modal.vue +34 -34
  208. package/docs/examples/layer/steps.vue +46 -46
  209. package/docs/examples/layer-form/basic.vue +76 -76
  210. package/docs/examples/layer-form/config.vue +82 -82
  211. package/docs/examples/layer-form/size.vue +72 -72
  212. package/docs/examples/layout/basic.vue +36 -36
  213. package/docs/examples/layout/custom-size.vue +50 -50
  214. package/docs/examples/layout/disable-move.vue +37 -37
  215. package/docs/examples/layout/hide-mid-when-narrow.vue +96 -96
  216. package/docs/examples/layout/min-size.vue +73 -73
  217. package/docs/examples/layout/percent-size.vue +80 -80
  218. package/docs/examples/layout/simple.vue +22 -22
  219. package/docs/examples/layout/top-side.vue +34 -34
  220. package/docs/examples/map/basic.vue +22 -22
  221. package/docs/examples/menu/basic.vue +58 -58
  222. package/docs/examples/menu/collapsed.vue +49 -49
  223. package/docs/examples/menu/horizontal.vue +44 -44
  224. package/docs/examples/menu/selection-test.vue +104 -104
  225. package/docs/examples/menu/theme.vue +46 -46
  226. package/docs/examples/menu/vertical.vue +46 -46
  227. package/docs/examples/number/advanced.vue +143 -143
  228. package/docs/examples/number/basic.vue +63 -63
  229. package/docs/examples/number/disabled.vue +49 -49
  230. package/docs/examples/number/size.vue +42 -42
  231. package/docs/examples/number/slots.vue +123 -123
  232. package/docs/examples/number/step-strictly.vue +41 -41
  233. package/docs/examples/number/step.vue +47 -47
  234. package/docs/examples/page/basic.vue +41 -41
  235. package/docs/examples/page/init.vue +87 -87
  236. package/docs/examples/page/log.vue +453 -439
  237. package/docs/examples/panel/tool-buttons.vue +18 -18
  238. package/docs/examples/radio/basic.vue +17 -17
  239. package/docs/examples/radio/button.vue +17 -17
  240. package/docs/examples/radio/color.vue +18 -18
  241. package/docs/examples/radio/disabled.vue +17 -17
  242. package/docs/examples/radio/size.vue +29 -29
  243. package/docs/examples/rate/basic.vue +24 -24
  244. package/docs/examples/rate/half.vue +24 -24
  245. package/docs/examples/rate/readonly.vue +11 -11
  246. package/docs/examples/rate/text.vue +32 -32
  247. package/docs/examples/select/basic.vue +16 -16
  248. package/docs/examples/select/clearable.vue +22 -22
  249. package/docs/examples/select/disabled.vue +31 -31
  250. package/docs/examples/select/filterable.vue +24 -24
  251. package/docs/examples/select/group.vue +23 -23
  252. package/docs/examples/select/icon.vue +16 -16
  253. package/docs/examples/select/multiple.vue +18 -18
  254. package/docs/examples/select/size.vue +39 -39
  255. package/docs/examples/slider/basic.vue +42 -42
  256. package/docs/examples/slider/disabled.vue +17 -17
  257. package/docs/examples/slider/marks.vue +30 -30
  258. package/docs/examples/slider/size.vue +37 -37
  259. package/docs/examples/slider/tooltip.vue +36 -36
  260. package/docs/examples/slider/vertical.vue +26 -26
  261. package/docs/examples/slider-captcha/basic.vue +44 -44
  262. package/docs/examples/slider-captcha/custom.vue +48 -48
  263. package/docs/examples/switch/basic.vue +16 -16
  264. package/docs/examples/switch/disabled.vue +13 -13
  265. package/docs/examples/switch/loading.vue +13 -13
  266. package/docs/examples/switch/size.vue +15 -15
  267. package/docs/examples/switch/text.vue +13 -13
  268. package/docs/examples/table/actions.vue +116 -116
  269. package/docs/examples/table/add-row.vue +103 -103
  270. package/docs/examples/table/basic.vue +168 -168
  271. package/docs/examples/table/custom-layout.vue +115 -115
  272. package/docs/examples/table/editable.vue +263 -263
  273. package/docs/examples/table/field-selection.vue +87 -87
  274. package/docs/examples/table/frozen-column.vue +140 -140
  275. package/docs/examples/table/height-mode.vue +99 -99
  276. package/docs/examples/table/icon.vue +85 -85
  277. package/docs/examples/table/link.vue +66 -66
  278. package/docs/examples/table/multiple.vue +178 -178
  279. package/docs/examples/table/pagination.vue +151 -151
  280. package/docs/examples/table/single-selection.vue +64 -64
  281. package/docs/examples/table/sub-table-lazy.vue +97 -97
  282. package/docs/examples/table/sub-table.vue +103 -103
  283. package/docs/examples/table/tag.vue +43 -43
  284. package/docs/examples/table/tree-column.vue +119 -119
  285. package/docs/examples/table/tree-data.vue +141 -141
  286. package/docs/examples/table/tree-lazy.vue +80 -80
  287. package/docs/examples/table-panel/basic.vue +228 -228
  288. package/docs/examples/table-panel/batch-operations.vue +285 -285
  289. package/docs/examples/table-panel/filter.vue +219 -219
  290. package/docs/examples/table-panel/multiple-selection.vue +243 -243
  291. package/docs/examples/table-panel/pagination.vue +133 -133
  292. package/docs/examples/table-panel/sub-table-lazy.vue +118 -118
  293. package/docs/examples/tabs/basic.vue +98 -98
  294. package/docs/examples/title/basic.vue +80 -80
  295. package/docs/examples/tree/accordion.vue +46 -46
  296. package/docs/examples/tree/basic.vue +50 -50
  297. package/docs/examples/tree/buttons.vue +53 -53
  298. package/docs/examples/tree/checkable.vue +52 -52
  299. package/docs/examples/tree/custom-keys.vue +39 -39
  300. package/docs/examples/tree/default-expanded.vue +52 -52
  301. package/docs/examples/tree/draggable.vue +29 -29
  302. package/docs/examples/tree/expand-on-click.vue +39 -39
  303. package/docs/examples/tree/flat-data.vue +20 -20
  304. package/docs/examples/tree/icon.vue +40 -40
  305. package/docs/examples/tree/load-data.vue +37 -37
  306. package/docs/examples/tree/methods.vue +74 -74
  307. package/docs/examples/tree/theme.vue +33 -33
  308. package/docs/examples/upload/accept.vue +31 -31
  309. package/docs/examples/upload/basic.vue +12 -12
  310. package/docs/examples/upload/drag.vue +11 -11
  311. package/docs/examples/upload/image.vue +17 -17
  312. package/docs/examples/upload/limit.vue +20 -20
  313. package/docs/examples/upload/multiple.vue +17 -17
  314. package/docs/examples/upload/readonly.vue +17 -17
  315. package/docs/examples/utils/cipher.vue +160 -160
  316. package/docs/examples/utils/common.vue +153 -153
  317. package/docs/examples/utils/date.vue +56 -56
  318. package/docs/examples/utils/dom.vue +52 -52
  319. package/docs/examples/utils/is.vue +70 -70
  320. package/docs/examples/workflow/basic.vue +265 -265
  321. package/docs/examples/workflow-viewer/basic.vue +248 -248
  322. package/package.json +23 -23
@@ -1,4 +1,4 @@
1
- import { defineComponent as ae, computed as j, openBlock as C, createElementBlock as I, mergeProps as He, createVNode as K, unref as G, shallowRef as la, ref as A, watch as lt, withModifiers as kt, normalizeClass as je, createBlock as H, createCommentVNode as Y, toDisplayString as xe, renderSlot as $e, nextTick as Pt, inject as ed, provide as td, resolveComponent as B, withCtx as V, resolveDynamicComponent as To, getCurrentInstance as Ds, render as Yi, Fragment as we, renderList as Ee, onMounted as St, createSlots as mn, createTextVNode as Kt, createElementVNode as F, useSlots as nd, reactive as Mo, onUnmounted as ii, normalizeStyle as Ce, onBeforeUnmount as ra, h as od, resolveDirective as sa, withDirectives as vn, withKeys as Na, vShow as Xo, watchEffect as Fs, useTemplateRef as no, useModel as ti, mergeModels as ni, normalizeProps as ca, guardReactiveProps as hl } from "vue";
1
+ import { defineComponent as ae, computed as j, openBlock as C, createElementBlock as I, mergeProps as He, createVNode as K, unref as G, shallowRef as la, ref as A, watch as lt, withModifiers as kt, normalizeClass as je, createBlock as H, createCommentVNode as Y, toDisplayString as xe, renderSlot as $e, nextTick as Pt, inject as ed, provide as td, resolveComponent as B, withCtx as V, resolveDynamicComponent as To, getCurrentInstance as Ds, render as Yi, Fragment as be, renderList as Ee, onMounted as St, createSlots as mn, createTextVNode as Kt, createElementVNode as F, useSlots as nd, reactive as Mo, onUnmounted as ii, normalizeStyle as Ce, onBeforeUnmount as ra, h as od, resolveDirective as sa, withDirectives as vn, withKeys as Na, vShow as Xo, watchEffect as Fs, useTemplateRef as no, useModel as ti, mergeModels as ni, normalizeProps as ca, guardReactiveProps as hl } from "vue";
2
2
  import { getIcon as to, Icon as cr } from "@iconify/vue";
3
3
  import Vs from "dayjs";
4
4
  import id from "crypto-js/aes";
@@ -37,7 +37,7 @@ import { createEditor as Wd, createToolbar as Ud } from "@wangeditor/editor";
37
37
  import Ws from "diagram-js";
38
38
  import { closest as gl, queryAll as Wa, query as $t, delegate as Hn, classes as Nt, event as qe, assignStyle as ai, domify as Ut, remove as Ua, clear as Us, attr as tn, matches as Yd } from "min-dom";
39
39
  import { isNumber as Ct, assign as _e, forEach as ne, isArray as Qe, find as rn, filter as Jt, isUndefined as Gd, isObject as Xt, groupBy as vl, has as Ys, map as li, every as ml, sortBy as oi, isNil as fr, bind as yl, uniqueBy as Kd, isFunction as sn, isDefined as en, some as Jd, omit as Xd, pick as Gi, values as Gs, without as qd, reduce as Ya, isString as Ga, matchPattern as Ki, flatten as Zd, size as Qd, debounce as ef } from "min-dash";
40
- import { create as Fe, attr as be, remove as Yt, append as Oe, clone as Ks, classes as at, createTransform as qo, transform as bl, clear as wl } from "tiny-svg";
40
+ import { create as Fe, attr as ye, remove as Yt, append as Oe, clone as Ks, classes as at, createTransform as qo, transform as bl, clear as wl } from "tiny-svg";
41
41
  import io from "inherits";
42
42
  import tf from "diagram-js-direct-editing";
43
43
  const de = (e) => (e.install = (t) => {
@@ -98,111 +98,22 @@ const cn = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Arr
98
98
  name: "JButton",
99
99
  __name: "button",
100
100
  props: {
101
- /**
102
- * @zh 按钮的类型,分为五种:主要按钮、幽灵按钮、虚框按钮、链接按钮、文字按钮、次要按钮。
103
- * @defaultValue 'default'
104
- */
105
- type: {
106
- type: String,
107
- default: "default"
108
- },
109
- /**
110
- * @zh 设置按钮大小
111
- * @defaultValue 'default'
112
- */
113
- size: {
114
- type: String,
115
- default: "default"
116
- },
117
- /**
118
- * @zh 设置按钮形状
119
- * @defaultValue 'default'
120
- */
121
- shape: {
122
- type: String,
123
- default: "default"
124
- },
125
- /**
126
- * @zh 幽灵属性,使按钮背景透明
127
- * @defaultValue false
128
- */
129
- ghost: {
130
- type: Boolean,
131
- default: !1
132
- },
133
- /**
134
- * @zh 按钮不可用状态。
135
- * @defaultValue false
136
- */
137
- disabled: {
138
- type: Boolean,
139
- default: !1
140
- },
141
- /**
142
- * @zh 设置危险按钮
143
- * @defaultValue false
144
- */
145
- danger: {
146
- type: Boolean,
147
- default: !1
148
- },
149
- /**
150
- * @zh 将按钮宽度调整为其父宽度的选项
151
- * @defaultValue false
152
- */
153
- block: {
154
- type: Boolean,
155
- default: !1
156
- },
157
- /**
158
- * @zh 设置按钮载入状态
159
- * @defaultValue false
160
- */
161
- loading: {
162
- type: [Boolean, Object],
163
- default: () => !1
164
- },
165
- /**
166
- * @zh 图标
167
- */
168
- icon: {
169
- type: String,
170
- default: ""
171
- },
172
- /**
173
- * @zh 点击跳转的地址,指定此属性 button 的行为和 a 链接一致
174
- */
175
- href: {
176
- type: String,
177
- default: ""
178
- },
179
- /**
180
- * @zh 相当于 a 链接的 target 属性,href 存在时生效
181
- */
182
- target: {
183
- type: String,
184
- default: "_self"
185
- },
186
- /**
187
- * @zh 按钮内容
188
- */
189
- label: {
190
- type: String,
191
- default: ""
192
- },
193
- /**
194
- * @zh 是否不要文字
195
- */
196
- notLabel: {
197
- type: Boolean,
198
- default: !1
199
- },
200
- /**
201
- * @zh 是否紧凑模式
202
- */
203
- compact: Boolean,
204
- lastCompactItem: Boolean,
205
- firstCompactItem: Boolean
101
+ type: { default: "default" },
102
+ size: { default: "default" },
103
+ shape: { default: "default" },
104
+ ghost: { type: Boolean, default: !1 },
105
+ disabled: { type: Boolean, default: !1 },
106
+ danger: { type: Boolean, default: !1 },
107
+ block: { type: Boolean, default: !1 },
108
+ loading: { type: [Boolean, Object], default: !1 },
109
+ icon: { default: "" },
110
+ href: { default: "" },
111
+ target: { default: "_self" },
112
+ label: { default: "" },
113
+ notLabel: { type: Boolean, default: !1 },
114
+ compact: { type: Boolean, default: !1 },
115
+ lastCompactItem: { type: Boolean, default: !1 },
116
+ firstCompactItem: { type: Boolean, default: !1 }
206
117
  },
207
118
  emits: ["click"],
208
119
  setup(e, { expose: t, emit: n }) {
@@ -934,35 +845,35 @@ const ac = /* @__PURE__ */ ae({
934
845
  __name: "dynamic-layer",
935
846
  setup(e, { expose: t }) {
936
847
  const n = A(), o = A(600), i = A(400), a = A(!0), l = A(!0), r = A(!0), s = A(""), c = A([]), u = A(!0), d = A(), f = la(), p = A(), { getPageName: h } = Pf(), g = () => {
937
- const z = h();
938
- return z || (typeof f.value == "string" ? f.value : "");
939
- }, v = A(!1), y = A([]), b = async (z) => {
848
+ const $ = h();
849
+ return $ || (typeof f.value == "string" ? f.value : "");
850
+ }, v = A(!1), y = A([]), b = async ($) => {
940
851
  if (d.value?.validateSteps) {
941
852
  Jo(!0);
942
- const $ = d.value.validateSteps(z);
943
- return Jo(!1), $;
853
+ const D = d.value.validateSteps($);
854
+ return Jo(!1), D;
944
855
  }
945
856
  return !0;
946
857
  }, w = () => d.value?.beforeClose ? d.value.beforeClose() : !0;
947
858
  let x, _, m, E = 0;
948
- const S = async (z) => {
859
+ const S = async ($) => {
949
860
  if (d.value) {
950
861
  if (E = 0, d.value.getConfig) {
951
- const $ = d.value.getConfig();
952
- c.value = $.buttons || [], v.value = $.isStep, y.value = $.steps || [];
862
+ const D = d.value.getConfig();
863
+ c.value = D.buttons || [], v.value = D.isStep, y.value = D.steps || [];
953
864
  } else
954
865
  c.value = [], v.value = !1, y.value = [];
955
866
  if (d.value.open)
956
867
  try {
957
- const { buttons: $ } = await d.value.open(z, n.value, () => {
868
+ const { buttons: D } = await d.value.open($, n.value, () => {
958
869
  x && x();
959
870
  }) || {};
960
- if ($ && $.length > 0) {
871
+ if (D && D.length > 0) {
961
872
  const M = [];
962
- M.push(...c.value), M.push(...$), c.value = M;
873
+ M.push(...c.value), M.push(...D), c.value = M;
963
874
  }
964
- } catch ($) {
965
- n.value.close(), console.error($);
875
+ } catch (D) {
876
+ n.value.close(), console.error(D);
966
877
  }
967
878
  n.value.hideLoading();
968
879
  } else {
@@ -971,27 +882,27 @@ const ac = /* @__PURE__ */ ae({
971
882
  return;
972
883
  }
973
884
  E++, setTimeout(async () => {
974
- await S(z);
885
+ await S($);
975
886
  }, 100);
976
887
  }
977
- }, T = (z) => {
978
- f.value = z?.name, o.value = z?.width || 600, i.value = z?.height || 400, a.value = z?.hasBtns !== !1, l.value = z?.hasSaveBtn !== !1, r.value = z?.hasHeader !== !1, z?.destroyOnClose !== !1 && (u.value = !0), p.value = z?.config || {}, s.value = z?.btnText || "保存", x = z?.afterOk || null, _ = z?.afterClose || null, m = z?.afterCancel || null, n.value.open(z.title, z.type, z.subtitle), Pt(async () => {
979
- n.value.showLoading("加载中"), await S(z.param || {});
888
+ }, T = ($) => {
889
+ f.value = $?.name, o.value = $?.width || 600, i.value = $?.height || 400, a.value = $?.hasBtns !== !1, l.value = $?.hasSaveBtn !== !1, r.value = $?.hasHeader !== !1, $?.destroyOnClose !== !1 && (u.value = !0), p.value = $?.config || {}, s.value = $?.btnText || "保存", x = $?.afterOk || null, _ = $?.afterClose || null, m = $?.afterCancel || null, n.value.open($.title, $.type, $.subtitle), Pt(async () => {
890
+ n.value.showLoading("加载中"), await S($.param || {});
980
891
  });
981
892
  }, P = async () => {
982
893
  if (d.value?.ok) {
983
894
  Jo(!0);
984
- const z = await d.value.ok();
985
- z && (n.value.close(), x && await x(z)), Jo(!1);
895
+ const $ = await d.value.ok();
896
+ $ && (n.value.close(), x && await x($)), Jo(!1);
986
897
  }
987
898
  }, R = () => {
988
899
  d.value?.closed && d.value.closed(), _ && _();
989
- }, D = () => {
900
+ }, z = () => {
990
901
  m && m();
991
902
  };
992
903
  return Af({
993
904
  getPageName: g
994
- }), t({ open: T }), (z, $) => {
905
+ }), t({ open: T }), ($, D) => {
995
906
  const M = B("j-layer");
996
907
  return C(), H(M, {
997
908
  ref_key: "layerRef",
@@ -1010,7 +921,7 @@ const ac = /* @__PURE__ */ ae({
1010
921
  "has-header": r.value,
1011
922
  onOk: P,
1012
923
  onClosed: R,
1013
- onCancel: D
924
+ onCancel: z
1014
925
  }, {
1015
926
  default: V(() => [
1016
927
  (C(), H(To(f.value), He({
@@ -1081,13 +992,13 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
1081
992
  size: e.isLink ? 0 : 8
1082
993
  }, {
1083
994
  default: V(() => [
1084
- (C(!0), I(we, null, Ee(n.value, (u, d) => (C(), I("div", He({ key: d }, { ref_for: !0 }, a.$attrs), [
1085
- (C(!0), I(we, null, Ee(u, (f, p) => (C(), I(we, { key: p }, [
995
+ (C(!0), I(be, null, Ee(n.value, (u, d) => (C(), I("div", He({ key: d }, { ref_for: !0 }, a.$attrs), [
996
+ (C(!0), I(be, null, Ee(u, (f, p) => (C(), I(be, { key: p }, [
1086
997
  f.children?.length && f.children?.length > 0 ? (C(), H(c, { key: 0 }, {
1087
998
  dropdown: V(() => [
1088
999
  K(s, { direction: "vertical" }, {
1089
1000
  default: V(() => [
1090
- (C(!0), I(we, null, Ee(f.children || [], (h) => (C(), H(r, He({
1001
+ (C(!0), I(be, null, Ee(f.children || [], (h) => (C(), H(r, He({
1091
1002
  key: h.id
1092
1003
  }, { ref_for: !0 }, f.config, {
1093
1004
  type: "text",
@@ -1456,7 +1367,7 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
1456
1367
  disabled: e.readonly
1457
1368
  }, {
1458
1369
  default: V(() => [
1459
- e.isButton ? (C(!0), I(we, { key: 0 }, Ee(e.options, (d) => (C(), H(r, {
1370
+ e.isButton ? (C(!0), I(be, { key: 0 }, Ee(e.options, (d) => (C(), H(r, {
1460
1371
  key: d.value,
1461
1372
  value: d.value,
1462
1373
  size: e.size
@@ -1465,7 +1376,7 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
1465
1376
  Kt(xe(d.label), 1)
1466
1377
  ]),
1467
1378
  _: 2
1468
- }, 1032, ["value", "size"]))), 128)) : (C(!0), I(we, { key: 1 }, Ee(e.options, (d, f) => (C(), H(c, {
1379
+ }, 1032, ["value", "size"]))), 128)) : (C(!0), I(be, { key: 1 }, Ee(e.options, (d, f) => (C(), H(c, {
1469
1380
  key: d.value,
1470
1381
  value: d.value,
1471
1382
  size: e.size
@@ -1595,12 +1506,12 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
1595
1506
  onChange: u
1596
1507
  }), mn({
1597
1508
  default: V(() => [
1598
- e.isGroup ? (C(!0), I(we, { key: 0 }, Ee(c.value, (y) => (C(), H(g, {
1509
+ e.isGroup ? (C(!0), I(be, { key: 0 }, Ee(c.value, (y) => (C(), H(g, {
1599
1510
  key: y.label,
1600
1511
  label: y.label
1601
1512
  }, {
1602
1513
  default: V(() => [
1603
- (C(!0), I(we, null, Ee(y.children, (b) => (C(), H(h, {
1514
+ (C(!0), I(be, null, Ee(y.children, (b) => (C(), H(h, {
1604
1515
  key: b.value,
1605
1516
  label: b.label,
1606
1517
  value: b.value || " ",
@@ -1620,7 +1531,7 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
1620
1531
  }, 1032, ["label", "value", "disabled"]))), 128))
1621
1532
  ]),
1622
1533
  _: 2
1623
- }, 1032, ["label"]))), 128)) : (C(!0), I(we, { key: 1 }, Ee(c.value, (y) => (C(), H(h, {
1534
+ }, 1032, ["label"]))), 128)) : (C(!0), I(be, { key: 1 }, Ee(c.value, (y) => (C(), H(h, {
1624
1535
  key: y.value,
1625
1536
  label: y.label,
1626
1537
  value: y.value + "",
@@ -1660,7 +1571,7 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
1660
1571
  Kt(xe(l.value), 1)
1661
1572
  ]),
1662
1573
  _: 1
1663
- }, 8, ["content"])) : (C(), I(we, { key: 1 }, [
1574
+ }, 8, ["content"])) : (C(), I(be, { key: 1 }, [
1664
1575
  Kt(xe(l.value), 1)
1665
1576
  ], 64))
1666
1577
  ])
@@ -1813,13 +1724,13 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
1813
1724
  onChange: a
1814
1725
  }, {
1815
1726
  default: V(() => [
1816
- e.type === "checkbox" ? (C(!0), I(we, { key: 0 }, Ee(e.options, (d) => (C(), H(s, {
1727
+ e.type === "checkbox" ? (C(!0), I(be, { key: 0 }, Ee(e.options, (d) => (C(), H(s, {
1817
1728
  key: d.value,
1818
1729
  value: d.value,
1819
1730
  disabled: d.disabled,
1820
1731
  size: e.size,
1821
1732
  label: d.label
1822
- }, null, 8, ["value", "disabled", "size", "label"]))), 128)) : (C(!0), I(we, { key: 1 }, Ee(e.options, (d) => (C(), H(c, {
1733
+ }, null, 8, ["value", "disabled", "size", "label"]))), 128)) : (C(!0), I(be, { key: 1 }, Ee(e.options, (d) => (C(), H(c, {
1823
1734
  key: d.value,
1824
1735
  class: je({ "j-checkbox-notFillOrColor": !e.fill && !e.textColor }),
1825
1736
  value: d.value,
@@ -2212,37 +2123,37 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
2212
2123
  get() {
2213
2124
  return a.value !== -1 ? a.value : t.left;
2214
2125
  },
2215
- set($) {
2216
- a.value = $;
2126
+ set(D) {
2127
+ a.value = D;
2217
2128
  }
2218
2129
  }), p = j({
2219
2130
  get() {
2220
2131
  return l.value !== -1 ? l.value : t.right;
2221
2132
  },
2222
- set($) {
2223
- l.value = $;
2133
+ set(D) {
2134
+ l.value = D;
2224
2135
  }
2225
2136
  }), h = j({
2226
2137
  get() {
2227
2138
  return r.value !== -1 ? r.value : t.top;
2228
2139
  },
2229
- set($) {
2230
- r.value = $;
2140
+ set(D) {
2141
+ r.value = D;
2231
2142
  }
2232
2143
  }), g = j({
2233
2144
  get() {
2234
2145
  return s.value !== -1 ? s.value : t.bottom;
2235
2146
  },
2236
- set($) {
2237
- s.value = $;
2147
+ set(D) {
2148
+ s.value = D;
2238
2149
  }
2239
2150
  }), v = j(() => n.left), y = j(() => n.right), b = j(() => n.top), w = j(() => n.bottom), x = j(() => v.value ? u.value && t.hideMidWhenNarrow && y.value ? "50%" : u.value && t.hideMidWhenNarrow && !y.value ? "100%" : typeof f.value == "number" ? f.value + "px" : f.value : "0"), _ = j(() => y.value ? u.value && t.hideMidWhenNarrow && v.value ? "50%" : u.value && t.hideMidWhenNarrow && !v.value ? "100%" : typeof p.value == "number" ? p.value + "px" : p.value : "0"), m = j(() => b.value ? typeof h.value == "number" ? h.value + "px" : h.value : "0"), E = j(() => w.value ? typeof g.value == "number" ? g.value + "px" : g.value : "0"), S = j(() => ({
2240
2151
  minWidth: t.midMinWidth + "px",
2241
2152
  minHeight: t.midMinHeight + "px"
2242
- })), T = ($, M) => {
2243
- d.type = $, d.isMove = !0, d.pageX = M.pageX, d.pageY = M.pageY, d.h = i.value.clientHeight, d.w = i.value.clientWidth;
2153
+ })), T = (D, M) => {
2154
+ d.type = D, d.isMove = !0, d.pageX = M.pageX, d.pageY = M.pageY, d.h = i.value.clientHeight, d.w = i.value.clientWidth;
2244
2155
  const k = o.value.clientWidth, O = o.value.clientHeight;
2245
- switch ($) {
2156
+ switch (D) {
2246
2157
  case "left": {
2247
2158
  const N = f.value;
2248
2159
  d.size = typeof N == "string" && N.includes("%") ? parseFloat(N) / 100 * k : Number(N);
@@ -2265,29 +2176,29 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
2265
2176
  }
2266
2177
  }
2267
2178
  document.onmouseup = R, document.onmousemove = P;
2268
- }, P = ($) => {
2179
+ }, P = (D) => {
2269
2180
  if (d.isMove)
2270
2181
  switch (d.type) {
2271
2182
  case "left": {
2272
- const M = $.pageX - d.pageX;
2183
+ const M = D.pageX - d.pageX;
2273
2184
  let k = d.size + M;
2274
2185
  k < 0 ? k = 4 : k > d.size + d.w - t.midMinWidth && (k = d.size + d.w - t.midMinWidth), f.value = k;
2275
2186
  break;
2276
2187
  }
2277
2188
  case "right": {
2278
- const M = $.pageX - d.pageX;
2189
+ const M = D.pageX - d.pageX;
2279
2190
  let k = d.size - M;
2280
2191
  k < 0 ? k = 4 : k > d.size + d.w - t.midMinWidth && (k = d.size + d.w - t.midMinWidth), p.value = k;
2281
2192
  break;
2282
2193
  }
2283
2194
  case "top": {
2284
- const M = $.pageY - d.pageY;
2195
+ const M = D.pageY - d.pageY;
2285
2196
  let k = d.size + M;
2286
2197
  k < 0 ? k = 4 : k > d.size + d.h - t.midMinHeight && (k = d.size + d.h - t.midMinHeight), h.value = k;
2287
2198
  break;
2288
2199
  }
2289
2200
  case "bottom": {
2290
- const M = $.pageY - d.pageY;
2201
+ const M = D.pageY - d.pageY;
2291
2202
  let k = d.size - M;
2292
2203
  k < 0 ? k = 4 : k > d.size + d.h - t.midMinHeight && (k = d.size + d.h - t.midMinHeight), g.value = k;
2293
2204
  break;
@@ -2295,32 +2206,32 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
2295
2206
  }
2296
2207
  }, R = () => {
2297
2208
  d.isMove = !1, document.onmouseup = null, document.onmousemove = null;
2298
- }, D = () => {
2209
+ }, z = () => {
2299
2210
  if (!t.hideMidWhenNarrow || !o.value) {
2300
2211
  u.value = !1;
2301
2212
  return;
2302
2213
  }
2303
2214
  c.value = o.value.clientWidth;
2304
- let $ = 0, M = 0;
2215
+ let D = 0, M = 0;
2305
2216
  if (v.value) {
2306
2217
  const O = f.value;
2307
- $ = typeof O == "string" && O.includes("%") ? parseFloat(O) / 100 * c.value : Number(O);
2218
+ D = typeof O == "string" && O.includes("%") ? parseFloat(O) / 100 * c.value : Number(O);
2308
2219
  }
2309
2220
  if (y.value) {
2310
2221
  const O = p.value;
2311
2222
  M = typeof O == "string" && O.includes("%") ? parseFloat(O) / 100 * c.value : Number(O);
2312
2223
  }
2313
- const k = c.value - $ - M;
2224
+ const k = c.value - D - M;
2314
2225
  u.value = k < t.midMinWidth;
2315
2226
  };
2316
- let z = null;
2227
+ let $ = null;
2317
2228
  return St(() => {
2318
- t.hideMidWhenNarrow && o.value && typeof window < "u" && window.ResizeObserver && (D(), z = new ResizeObserver(() => {
2319
- D();
2320
- }), z.observe(o.value));
2229
+ t.hideMidWhenNarrow && o.value && typeof window < "u" && window.ResizeObserver && (z(), $ = new ResizeObserver(() => {
2230
+ z();
2231
+ }), $.observe(o.value));
2321
2232
  }), ii(() => {
2322
- z && z.disconnect();
2323
- }), ($, M) => (C(), I("div", {
2233
+ $ && $.disconnect();
2234
+ }), (D, M) => (C(), I("div", {
2324
2235
  ref_key: "layout",
2325
2236
  ref: o,
2326
2237
  class: je(["j-layout", { "j-layout-not-hidden": e.notHidden }])
@@ -2331,7 +2242,7 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
2331
2242
  style: Ce({ width: x.value })
2332
2243
  }, [
2333
2244
  F("div", lh, [
2334
- $e($.$slots, "left")
2245
+ $e(D.$slots, "left")
2335
2246
  ]),
2336
2247
  e.leftMove ? (C(), I("div", {
2337
2248
  key: 0,
@@ -2346,7 +2257,7 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
2346
2257
  style: Ce({ height: m.value })
2347
2258
  }, [
2348
2259
  F("div", sh, [
2349
- $e($.$slots, "top")
2260
+ $e(D.$slots, "top")
2350
2261
  ]),
2351
2262
  e.topMove ? (C(), I("div", {
2352
2263
  key: 0,
@@ -2360,7 +2271,7 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
2360
2271
  class: "j-layout--wrapper",
2361
2272
  style: Ce(S.value)
2362
2273
  }, [
2363
- $e($.$slots, "default")
2274
+ $e(D.$slots, "default")
2364
2275
  ], 4),
2365
2276
  w.value ? (C(), I("div", {
2366
2277
  key: 1,
@@ -2368,7 +2279,7 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
2368
2279
  style: Ce({ height: E.value })
2369
2280
  }, [
2370
2281
  F("div", ch, [
2371
- $e($.$slots, "bottom")
2282
+ $e(D.$slots, "bottom")
2372
2283
  ]),
2373
2284
  e.bottomMove ? (C(), I("div", {
2374
2285
  key: 0,
@@ -2383,7 +2294,7 @@ const Bf = de(ac), Lf = /* @__PURE__ */ ae({
2383
2294
  style: Ce({ width: _.value })
2384
2295
  }, [
2385
2296
  F("div", uh, [
2386
- $e($.$slots, "right")
2297
+ $e(D.$slots, "right")
2387
2298
  ]),
2388
2299
  e.rightMove ? (C(), I("div", {
2389
2300
  key: 0,
@@ -4213,14 +4124,14 @@ const Mi = {
4213
4124
  if (h ? R = h[n.id] : a ? R = a[n.id] : R = n.modelValue, R === void 0 && w.value === "j-tabs") {
4214
4125
  if (y.value?.defaultValue)
4215
4126
  return y.value.defaultValue;
4216
- const D = n.children.findIndex((z) => z.config?.active);
4217
- return D > -1 ? "_tab" + D : "_tab0";
4127
+ const z = n.children.findIndex(($) => $.config?.active);
4128
+ return z > -1 ? "_tab" + z : "_tab0";
4218
4129
  }
4219
4130
  if (R === void 0 && w.value === "j-collapse") {
4220
4131
  if (y.value?.defaultValue)
4221
4132
  return y.value.defaultValue;
4222
- const D = n.children.map((z, $) => ({ item: z, index: $ })).filter(({ item: z }) => z.config?.active);
4223
- return y.value?.accordion ? D.length > 0 ? "_collapse" + D[0].index : "" : D.map(({ index: z }) => "_collapse" + z);
4133
+ const z = n.children.map(($, D) => ({ item: $, index: D })).filter(({ item: $ }) => $.config?.active);
4134
+ return y.value?.accordion ? z.length > 0 ? "_collapse" + z[0].index : "" : z.map(({ index: $ }) => "_collapse" + $);
4224
4135
  }
4225
4136
  return R;
4226
4137
  },
@@ -4244,31 +4155,37 @@ const Mi = {
4244
4155
  })
4245
4156
  ), w = j(() => n.isTableCell && (b.value === "j-radio" || b.value === "j-checkbox") ? "j-select" : b.value === "j-textarea" ? "j-input" : ((b.value == null || b.value === "") && console.warn("组件类型不能为空"), b.value)), x = j(() => {
4246
4157
  const R = { ...y.value };
4247
- return w.value === "j-layer-form" && (R.schema = n.children), w.value === "el-collapse-item" && R.label && (R.title = R.label, delete R.label), ["j-input-cards", "j-input-rows", "j-table"].includes(b.value) && (R.columns = n.children), n.isTableCell && (b.value === "j-checkbox" && (R.multiple = !0), b.value === "j-select" && R.multiple && (R.collapseTags = !0, R.collapseTagsTooltip = !0), b.value === "j-switch" && (R.size = "small"), b.value === "j-textarea" && (R.type = "textarea")), R;
4158
+ return w.value === "j-layer-form" && (R.schema = n.children), w.value === "el-collapse-item" && R.label && (R.title = R.label, delete R.label), ["j-input-cards", "j-input-rows", "j-table"].includes(b.value) && (console.log(n.children), R.columns = n.children.map((z) => {
4159
+ const $ = z.config?.parentTableId;
4160
+ return $ && z.id.startsWith($ + ".") ? {
4161
+ ...z,
4162
+ id: z.id.slice($.length + 1)
4163
+ } : z;
4164
+ })), n.isTableCell && (b.value === "j-checkbox" && (R.multiple = !0), b.value === "j-select" && R.multiple && (R.collapseTags = !0, R.collapseTagsTooltip = !0), b.value === "j-switch" && (R.size = "small"), b.value === "j-textarea" && (R.type = "textarea")), R;
4248
4165
  }), _ = j(() => {
4249
4166
  if (w.value === "j-layer-form" || w.value === "j-input-rows" || w.value === "j-input-cards")
4250
4167
  return {};
4251
4168
  const R = {};
4252
- return n.children.forEach((D, z) => {
4253
- let $ = D;
4254
- w.value === "j-tabs" && ($ = {
4255
- ...D,
4169
+ return n.children.forEach((z, $) => {
4170
+ let D = z;
4171
+ w.value === "j-tabs" && (D = {
4172
+ ...z,
4256
4173
  type: "el-tab-pane",
4257
4174
  config: {
4258
- ...D.config || {},
4259
- name: "_tab" + z
4175
+ ...z.config || {},
4176
+ name: "_tab" + $
4260
4177
  }
4261
- }, i == "form" && ($.config.needRow = $.config.needRow !== !1, $.config.needFormItem = $.config.needFormItem !== !1)), w.value === "j-collapse" && ($ = {
4262
- ...D,
4178
+ }, i == "form" && (D.config.needRow = D.config.needRow !== !1, D.config.needFormItem = D.config.needFormItem !== !1)), w.value === "j-collapse" && (D = {
4179
+ ...z,
4263
4180
  type: "el-collapse-item",
4264
4181
  config: {
4265
- ...D.config || {},
4266
- name: "_collapse" + z
4182
+ ...z.config || {},
4183
+ name: "_collapse" + $
4267
4184
  }
4268
- }, i == "form" && ($.config.needRow = $.config.needRow !== !1, $.config.needFormItem = $.config.needFormItem !== !1)), $.slot ? (R[$.slot] = R[$.slot] || [], R[$.slot].push($)) : (R.default = R.default || [], R.default.push($));
4185
+ }, i == "form" && (D.config.needRow = D.config.needRow !== !1, D.config.needFormItem = D.config.needFormItem !== !1)), D.slot ? (R[D.slot] = R[D.slot] || [], R[D.slot].push(D)) : (R.default = R.default || [], R.default.push(D));
4269
4186
  }), R;
4270
4187
  }), m = (R) => {
4271
- const D = {
4188
+ const z = {
4272
4189
  ...R,
4273
4190
  id: n.id,
4274
4191
  formData: a,
@@ -4277,13 +4194,13 @@ const Mi = {
4277
4194
  config: y.value,
4278
4195
  type: "change"
4279
4196
  };
4280
- y.value?.change && y.value?.change(D), p && p(D), l && l(D), o("change", D);
4281
- }, E = A(), S = A([]), T = (R, ...D) => {
4197
+ y.value?.change && y.value?.change(z), p && p(z), l && l(z), o("change", z);
4198
+ }, E = A(), S = A([]), T = (R, ...z) => {
4282
4199
  if (E.value && typeof E.value[R] == "function")
4283
- return E.value[R](...D);
4200
+ return E.value[R](...z);
4284
4201
  console.warn(`方法 ${R} 不存在或不是函数`);
4285
4202
  }, P = () => {
4286
- if (S.value.forEach((D) => D()), S.value = [], !c)
4203
+ if (S.value.forEach((z) => z()), S.value = [], !c)
4287
4204
  return;
4288
4205
  const R = c(n.id, T);
4289
4206
  S.value.push(R);
@@ -4297,21 +4214,21 @@ const Mi = {
4297
4214
  P();
4298
4215
  }), ra(() => {
4299
4216
  S.value.forEach((R) => R()), S.value = [];
4300
- }), (R, D) => {
4301
- const z = B("JComp"), $ = B("el-row");
4217
+ }), (R, z) => {
4218
+ const $ = B("JComp"), D = B("el-row");
4302
4219
  return x.value.display != !1 && g.value ? (C(), H(To(w.value), He({
4303
4220
  key: 0,
4304
4221
  ref_key: "compRef",
4305
4222
  ref: E
4306
4223
  }, x.value, {
4307
4224
  modelValue: v.value,
4308
- "onUpdate:modelValue": D[0] || (D[0] = (M) => v.value = M),
4225
+ "onUpdate:modelValue": z[0] || (z[0] = (M) => v.value = M),
4309
4226
  onChange: m
4310
4227
  }), mn({ _: 2 }, [
4311
4228
  Ee(_.value, (M, k) => ({
4312
4229
  name: k,
4313
4230
  fn: V(() => [
4314
- (C(!0), I(we, null, Ee(M, (O) => (C(), H(z, He({
4231
+ (C(!0), I(be, null, Ee(M, (O) => (C(), H($, He({
4315
4232
  key: O.id
4316
4233
  }, { ref_for: !0 }, O), null, 16))), 128))
4317
4234
  ])
@@ -4324,19 +4241,19 @@ const Mi = {
4324
4241
  Ee(_.value, (M, k) => ({
4325
4242
  name: k,
4326
4243
  fn: V(() => [
4327
- x.value.needRow ? (C(), H($, {
4244
+ x.value.needRow ? (C(), H(D, {
4328
4245
  key: 0,
4329
4246
  gutter: s.value
4330
4247
  }, {
4331
4248
  default: V(() => [
4332
- x.value.needFormItem ? (C(!0), I(we, { key: 0 }, Ee(M, (O) => (C(), H(rc, He({
4249
+ x.value.needFormItem ? (C(!0), I(be, { key: 0 }, Ee(M, (O) => (C(), H(rc, He({
4333
4250
  key: O.id
4334
- }, { ref_for: !0 }, O), null, 16))), 128)) : (C(!0), I(we, { key: 1 }, Ee(M, (O) => (C(), H(z, He({
4251
+ }, { ref_for: !0 }, O), null, 16))), 128)) : (C(!0), I(be, { key: 1 }, Ee(M, (O) => (C(), H($, He({
4335
4252
  key: O.id
4336
4253
  }, { ref_for: !0 }, O), null, 16))), 128))
4337
4254
  ]),
4338
4255
  _: 2
4339
- }, 1032, ["gutter"])) : (C(!0), I(we, { key: 1 }, Ee(M, (O) => (C(), H(z, He({
4256
+ }, 1032, ["gutter"])) : (C(!0), I(be, { key: 1 }, Ee(M, (O) => (C(), H($, He({
4340
4257
  key: O.id
4341
4258
  }, { ref_for: !0 }, O), null, 16))), 128))
4342
4259
  ])
@@ -4706,24 +4623,24 @@ const Mh = { class: "j-table-footer" }, Ph = {
4706
4623
  const x = A(0);
4707
4624
  let _ = i.records.length, m = 45;
4708
4625
  const E = A(!1), S = A({}), T = A([]), P = A(null), R = A(0);
4709
- let D = null, z = !1, $ = !1;
4626
+ let z = null, $ = !1, D = !1;
4710
4627
  const M = (L, W, J, X, oe) => {
4711
4628
  T.value = L, P.value = W, R.value = J, S.value = {
4712
4629
  left: `${X}px`,
4713
4630
  top: `${oe}px`
4714
- }, E.value = !0, z = !1, document.addEventListener("wheel", ge, { passive: !1 });
4631
+ }, E.value = !0, $ = !1, document.addEventListener("wheel", ge, { passive: !1 });
4715
4632
  }, k = () => {
4716
- E.value = !1, z = !1, $ = !1, N(), document.removeEventListener("wheel", ge);
4633
+ E.value = !1, $ = !1, D = !1, N(), document.removeEventListener("wheel", ge);
4717
4634
  }, O = () => {
4718
- N(), D = setTimeout(() => {
4719
- !z && !$ && k();
4635
+ N(), z = setTimeout(() => {
4636
+ !$ && !D && k();
4720
4637
  }, 100);
4721
4638
  }, N = () => {
4722
- D && (clearTimeout(D), D = null);
4639
+ z && (clearTimeout(z), z = null);
4723
4640
  }, re = () => {
4724
- z = !0, N();
4641
+ $ = !0, N();
4725
4642
  }, ue = () => {
4726
- z = !1, O();
4643
+ $ = !1, O();
4727
4644
  }, ge = (L) => {
4728
4645
  L.preventDefault();
4729
4646
  }, ze = (L) => {
@@ -4757,7 +4674,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
4757
4674
  flexWrap: "nowrap"
4758
4675
  });
4759
4676
  if (Q.forEach((Le, et) => {
4760
- const De = Le.config?.isDanger ? "#f53f3f" : "#165dff", Ne = new J({
4677
+ const De = Le.config?.danger ? "#f53f3f" : "#165dff", Ne = new J({
4761
4678
  text: Le.label,
4762
4679
  fontSize: 14,
4763
4680
  fill: De,
@@ -4786,9 +4703,9 @@ const Mh = { class: "j-table-footer" }, Ph = {
4786
4703
  const ct = De.canvasX + Ne.left - 64, ht = De.canvasY + Ne.top + 8;
4787
4704
  M(se, st, ke, ct, ht);
4788
4705
  }
4789
- $ = !0, N();
4706
+ D = !0, N();
4790
4707
  }), et.addEventListener("mouseleave", (De) => {
4791
- De.target.setAttribute("fill", Le), me.scenegraph.stage.renderNextFrame(), $ = !1, O();
4708
+ De.target.setAttribute("fill", Le), me.scenegraph.stage.renderNextFrame(), D = !1, O();
4792
4709
  }), pe.add(et);
4793
4710
  }
4794
4711
  return {
@@ -5356,7 +5273,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
5356
5273
  }), ra(() => {
5357
5274
  Ye(), N(), document.removeEventListener("wheel", ge);
5358
5275
  });
5359
- const ye = j({
5276
+ const we = j({
5360
5277
  get() {
5361
5278
  return i.tablePage;
5362
5279
  },
@@ -5370,7 +5287,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
5370
5287
  set(L) {
5371
5288
  he.value = L, a("update:pageSize", L);
5372
5289
  }
5373
- }), jt = j(() => (ye.value - 1) * _t.value), ce = (L, W) => {
5290
+ }), jt = j(() => (we.value - 1) * _t.value), ce = (L, W) => {
5374
5291
  a("loadPageData", {
5375
5292
  rows: W,
5376
5293
  page: L
@@ -5560,8 +5477,8 @@ const Mh = { class: "j-table-footer" }, Ph = {
5560
5477
  W[2] || (W[2] = F("div", null, null, -1)),
5561
5478
  e.isPage ? (C(), H(oe, {
5562
5479
  key: 0,
5563
- "current-page": ye.value,
5564
- "onUpdate:currentPage": W[0] || (W[0] = (Q) => ye.value = Q),
5480
+ "current-page": we.value,
5481
+ "onUpdate:currentPage": W[0] || (W[0] = (Q) => we.value = Q),
5565
5482
  "page-size": _t.value,
5566
5483
  "onUpdate:pageSize": W[1] || (W[1] = (Q) => _t.value = Q),
5567
5484
  "page-sizes": e.pageSizes || [100, 200, 500, 1e3],
@@ -5578,11 +5495,11 @@ const Mh = { class: "j-table-footer" }, Ph = {
5578
5495
  onMouseenter: re,
5579
5496
  onMouseleave: ue
5580
5497
  }, [
5581
- (C(!0), I(we, null, Ee(T.value, (Q) => (C(), I("div", {
5498
+ (C(!0), I(be, null, Ee(T.value, (Q) => (C(), I("div", {
5582
5499
  key: Q.id,
5583
5500
  class: "j-table-dropdown-item",
5584
5501
  style: Ce({
5585
- color: Q.config?.isDanger ? "var(--j-color-danger)" : "var(--j-color-primary)"
5502
+ color: Q.config?.danger ? "var(--j-color-danger)" : "var(--j-color-primary)"
5586
5503
  }),
5587
5504
  onClick: (se) => ze(Q)
5588
5505
  }, xe(Q.label), 13, Ah))), 128))
@@ -5804,23 +5721,23 @@ const Mh = { class: "j-table-footer" }, Ph = {
5804
5721
  o.beforeClose && o.beforeClose() === !1 || (l.value = !1, i("update:visible", !1), i("cancel"));
5805
5722
  }, R = () => {
5806
5723
  i("ok", S, T);
5807
- }, D = () => {
5808
- h.left = 0, h.top = 0, w.value = 0, b.value = 0, o.isStep && (z.value = 0, Pt(() => {
5724
+ }, z = () => {
5725
+ h.left = 0, h.top = 0, w.value = 0, b.value = 0, o.isStep && ($.value = 0, Pt(() => {
5809
5726
  O();
5810
5727
  })), i("closed");
5811
- }, z = j({
5728
+ }, $ = j({
5812
5729
  get() {
5813
5730
  return p.value !== -1 ? p.value : o.stepActive;
5814
5731
  },
5815
5732
  set(ee) {
5816
5733
  p.value = ee, i("update:stepActive", ee);
5817
5734
  }
5818
- }), $ = () => {
5819
- z.value > 0 && z.value--, Pt(() => {
5735
+ }), D = () => {
5736
+ $.value > 0 && $.value--, Pt(() => {
5820
5737
  O();
5821
5738
  });
5822
5739
  }, M = async () => {
5823
- await k() && (z.value < o.steps.length - 1 && (z.value += 1), Pt(() => {
5740
+ await k() && ($.value < o.steps.length - 1 && ($.value += 1), Pt(() => {
5824
5741
  O();
5825
5742
  }));
5826
5743
  }, k = async () => {
@@ -5830,7 +5747,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
5830
5747
  }
5831
5748
  return c.value = !1, !0;
5832
5749
  }, O = () => {
5833
- switch (f.value = !0, d.value = !0, u.value = !0, z.value) {
5750
+ switch (f.value = !0, d.value = !0, u.value = !0, $.value) {
5834
5751
  case 0:
5835
5752
  d.value = !1;
5836
5753
  break;
@@ -5899,7 +5816,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
5899
5816
  top: `${m.value + h.top}px`,
5900
5817
  "pointer-events": e.mask ? "" : "none"
5901
5818
  }),
5902
- onClosed: D
5819
+ onClosed: z
5903
5820
  }, {
5904
5821
  default: V(() => [
5905
5822
  F("div", {
@@ -5946,12 +5863,12 @@ const Mh = { class: "j-table-footer" }, Ph = {
5946
5863
  }, [
5947
5864
  K(dt, {
5948
5865
  simple: "",
5949
- active: z.value,
5866
+ active: $.value,
5950
5867
  space: 160,
5951
5868
  "finish-status": "success"
5952
5869
  }, {
5953
5870
  default: V(() => [
5954
- (C(!0), I(we, null, Ee(N.value, (fe, Te) => (C(), H(tt, {
5871
+ (C(!0), I(be, null, Ee(N.value, (fe, Te) => (C(), H(tt, {
5955
5872
  key: Te,
5956
5873
  title: G(a)(fe.title)
5957
5874
  }, null, 8, ["title"]))), 128))
@@ -5971,7 +5888,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
5971
5888
  size: "mini",
5972
5889
  disabled: u.value,
5973
5890
  label: G(a)("上一步"),
5974
- onClick: $
5891
+ onClick: D
5975
5892
  }, null, 8, ["disabled", "label"])) : Y("", !0),
5976
5893
  e.isStep ? (C(), H(Ke, {
5977
5894
  key: 1,
@@ -5987,7 +5904,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
5987
5904
  label: G(a)("取消"),
5988
5905
  onClick: P
5989
5906
  }, null, 8, ["label"])) : Y("", !0),
5990
- (C(!0), I(we, null, Ee(e.buttons, (fe) => (C(), H(Ke, He({ ref_for: !0 }, fe.config, {
5907
+ (C(!0), I(be, null, Ee(e.buttons, (fe) => (C(), H(Ke, He({ ref_for: !0 }, fe.config, {
5991
5908
  key: fe.id,
5992
5909
  label: fe.label,
5993
5910
  onClick: (Te) => ut(fe)
@@ -6178,11 +6095,11 @@ const Mh = { class: "j-table-footer" }, Ph = {
6178
6095
  }, T = j(() => o.steps.map((R) => ({ title: R, disabled: !0 }))), P = async (R) => {
6179
6096
  R.click && await R.click();
6180
6097
  };
6181
- return t({ showLoading: w, hideLoading: x }), (R, D) => {
6182
- const z = B("el-step"), $ = B("el-steps"), M = B("j-button"), k = B("el-space"), O = B("el-divider"), N = B("el-dialog"), re = sa("loading");
6098
+ return t({ showLoading: w, hideLoading: x }), (R, z) => {
6099
+ const $ = B("el-step"), D = B("el-steps"), M = B("j-button"), k = B("el-space"), O = B("el-divider"), N = B("el-dialog"), re = sa("loading");
6183
6100
  return C(), H(N, {
6184
6101
  modelValue: r.value,
6185
- "onUpdate:modelValue": D[0] || (D[0] = (ue) => r.value = ue),
6102
+ "onUpdate:modelValue": z[0] || (z[0] = (ue) => r.value = ue),
6186
6103
  class: "j-dialog-full",
6187
6104
  width: "100%",
6188
6105
  "append-to-body": !0,
@@ -6213,7 +6130,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
6213
6130
  class: "j-dialog-full-header-mid",
6214
6131
  style: Ce({ maxWidth: `${200 * T.value.length}px` })
6215
6132
  }, [
6216
- e.isStep ? (C(), H($, {
6133
+ e.isStep ? (C(), H(D, {
6217
6134
  key: 0,
6218
6135
  simple: "",
6219
6136
  active: g.value,
@@ -6221,7 +6138,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
6221
6138
  "finish-status": "success"
6222
6139
  }, {
6223
6140
  default: V(() => [
6224
- (C(!0), I(we, null, Ee(T.value, (ue, ge) => (C(), H(z, {
6141
+ (C(!0), I(be, null, Ee(T.value, (ue, ge) => (C(), H($, {
6225
6142
  key: ge,
6226
6143
  title: G(l)(ue.title)
6227
6144
  }, null, 8, ["title"]))), 128))
@@ -6249,7 +6166,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
6249
6166
  label: G(l)("下一步"),
6250
6167
  onClick: m
6251
6168
  }, null, 8, ["disabled", "loading", "label"])) : Y("", !0),
6252
- (C(!0), I(we, null, Ee(e.buttons, (ue) => (C(), I(we, {
6169
+ (C(!0), I(be, null, Ee(e.buttons, (ue) => (C(), I(be, {
6253
6170
  key: ue.id
6254
6171
  }, [
6255
6172
  ue.config?.display !== !1 ? (C(), H(M, He({
@@ -6510,11 +6427,11 @@ const Mh = { class: "j-table-footer" }, Ph = {
6510
6427
  break;
6511
6428
  }
6512
6429
  }, P = j(() => o.steps.map((R) => ({ title: R, disabled: !0 })));
6513
- return t({ showLoading: u, hideLoading: d }), (R, D) => {
6514
- const z = B("el-input"), $ = B("j-button"), M = B("el-space"), k = B("el-step"), O = B("el-steps"), N = B("el-drawer"), re = sa("loading");
6430
+ return t({ showLoading: u, hideLoading: d }), (R, z) => {
6431
+ const $ = B("el-input"), D = B("j-button"), M = B("el-space"), k = B("el-step"), O = B("el-steps"), N = B("el-drawer"), re = sa("loading");
6515
6432
  return C(), H(N, {
6516
6433
  modelValue: c.value,
6517
- "onUpdate:modelValue": D[0] || (D[0] = (ue) => c.value = ue),
6434
+ "onUpdate:modelValue": z[0] || (z[0] = (ue) => c.value = ue),
6518
6435
  class: "j-drawer",
6519
6436
  "append-to-body": !0,
6520
6437
  direction: e.direction,
@@ -6538,21 +6455,21 @@ const Mh = { class: "j-table-footer" }, Ph = {
6538
6455
  "padding-bottom": e.showCloseBtn || e.hasSaveBtn || e.buttons.length > 0 ? "48px" : "0"
6539
6456
  })
6540
6457
  }, [
6541
- K(z, { style: { position: "absolute", top: "-200px" } }),
6458
+ K($, { style: { position: "absolute", top: "-200px" } }),
6542
6459
  F("div", Zh, [
6543
6460
  $e(R.$slots, "default")
6544
6461
  ]),
6545
6462
  e.hasBtns ? (C(), I("div", Qh, [
6546
6463
  K(M, { size: 8 }, {
6547
6464
  default: V(() => [
6548
- e.isStep ? (C(), H($, {
6465
+ e.isStep ? (C(), H(D, {
6549
6466
  key: 0,
6550
6467
  size: "mini",
6551
6468
  disabled: y.value,
6552
6469
  label: G(i)("上一步"),
6553
6470
  onClick: m
6554
6471
  }, null, 8, ["disabled", "label"])) : Y("", !0),
6555
- e.isStep ? (C(), H($, {
6472
+ e.isStep ? (C(), H(D, {
6556
6473
  key: 1,
6557
6474
  size: "mini",
6558
6475
  disabled: b.value,
@@ -6560,19 +6477,19 @@ const Mh = { class: "j-table-footer" }, Ph = {
6560
6477
  label: G(i)("下一步"),
6561
6478
  onClick: E
6562
6479
  }, null, 8, ["disabled", "loading", "label"])) : Y("", !0),
6563
- !e.isStep && e.showCloseBtn ? (C(), H($, {
6480
+ !e.isStep && e.showCloseBtn ? (C(), H(D, {
6564
6481
  key: 2,
6565
6482
  size: "mini",
6566
6483
  label: G(i)("取消"),
6567
6484
  onClick: h
6568
6485
  }, null, 8, ["label"])) : Y("", !0),
6569
- (C(!0), I(we, null, Ee(e.buttons, (ue) => (C(), H($, He({
6486
+ (C(!0), I(be, null, Ee(e.buttons, (ue) => (C(), H(D, He({
6570
6487
  key: ue.id
6571
6488
  }, { ref_for: !0 }, ue.config, {
6572
6489
  label: ue.label,
6573
6490
  onClick: (ge) => g(ue)
6574
6491
  }), null, 16, ["label", "onClick"]))), 128)),
6575
- e.hasSaveBtn ? (C(), H($, {
6492
+ e.hasSaveBtn ? (C(), H(D, {
6576
6493
  key: 3,
6577
6494
  size: "mini",
6578
6495
  type: "primary",
@@ -6593,7 +6510,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
6593
6510
  ])
6594
6511
  ]),
6595
6512
  e.showCloseBtn ? (C(), I("div", op, [
6596
- K($, {
6513
+ K(D, {
6597
6514
  type: "text",
6598
6515
  icon: "mdi:close",
6599
6516
  onClick: h
@@ -6611,7 +6528,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
6611
6528
  "finish-status": "success"
6612
6529
  }, {
6613
6530
  default: V(() => [
6614
- (C(!0), I(we, null, Ee(P.value, (ue, ge) => (C(), H(k, {
6531
+ (C(!0), I(be, null, Ee(P.value, (ue, ge) => (C(), H(k, {
6615
6532
  key: ge,
6616
6533
  title: G(i)(ue.title)
6617
6534
  }, null, 8, ["title"]))), 128))
@@ -6882,7 +6799,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
6882
6799
  prefix: V(() => [
6883
6800
  K(h, null, {
6884
6801
  default: V(() => [
6885
- (C(!0), I(we, null, Ee(a.value, (v, y) => (C(), H(p, {
6802
+ (C(!0), I(be, null, Ee(a.value, (v, y) => (C(), H(p, {
6886
6803
  key: y,
6887
6804
  type: "info",
6888
6805
  closable: !e.readonly,
@@ -7070,8 +6987,8 @@ const Mh = { class: "j-table-footer" }, Ph = {
7070
6987
  return C(), I("div", {
7071
6988
  class: je(["j-upload-list", { "j-upload-image-list": e.isUploadImg, "j-upload-drag-list": e.drag }])
7072
6989
  }, [
7073
- e.drag ? (C(), I(we, { key: 0 }, [
7074
- e.showFileList ? (C(!0), I(we, { key: 0 }, Ee(e.list, (c) => (C(), I("div", {
6990
+ e.drag ? (C(), I(be, { key: 0 }, [
6991
+ e.showFileList ? (C(!0), I(be, { key: 0 }, Ee(e.list, (c) => (C(), I("div", {
7075
6992
  key: c.id,
7076
6993
  class: "j-upload-dragItem"
7077
6994
  }, [
@@ -7135,7 +7052,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
7135
7052
  }, null, 8, ["percent"])) : Y("", !0)
7136
7053
  ]))), 128)) : Y("", !0),
7137
7054
  $e(n.$slots, "default")
7138
- ], 64)) : e.isUploadImg ? (C(!0), I(we, { key: 1 }, Ee(e.list, (c) => (C(), I("div", {
7055
+ ], 64)) : e.isUploadImg ? (C(!0), I(be, { key: 1 }, Ee(e.list, (c) => (C(), I("div", {
7139
7056
  key: c.id,
7140
7057
  class: "j-upload-imgItem"
7141
7058
  }, [
@@ -7168,7 +7085,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
7168
7085
  percent: c.percent,
7169
7086
  "show-text": !1
7170
7087
  }, null, 8, ["percent"])) : Y("", !0)
7171
- ]))), 128)) : (C(!0), I(we, { key: 2 }, Ee(e.list, (c) => (C(), I("div", {
7088
+ ]))), 128)) : (C(!0), I(be, { key: 2 }, Ee(e.list, (c) => (C(), I("div", {
7172
7089
  key: c.id,
7173
7090
  class: "j-upload-item"
7174
7091
  }, [
@@ -7470,9 +7387,9 @@ const Mh = { class: "j-table-footer" }, Ph = {
7470
7387
  Z.percent = Te, Z.uploadSize = fe, w();
7471
7388
  }, R = (Z) => {
7472
7389
  Z.status = "done", Z.id += "1", Z.uid += "1", w(), o("success", { file: Z, list: b.value }), n.modelValue || (o("update:modelValue", v.value), o("change", { value: v.value }));
7473
- }, D = (Z, fe) => {
7390
+ }, z = (Z, fe) => {
7474
7391
  console.error(fe, "简搭提醒您:文件上传错误!"), Z.status = "error", w(), o("error", { file: Z, list: b.value });
7475
- }, z = (Z) => {
7392
+ }, $ = (Z) => {
7476
7393
  if (b.value.push(Z), Z.status === "unUpload") {
7477
7394
  o("notUploadChange", { value: Z.url });
7478
7395
  return;
@@ -7481,14 +7398,14 @@ const Mh = { class: "j-table-footer" }, Ph = {
7481
7398
  onStart: T,
7482
7399
  onProgress: P,
7483
7400
  onSuccess: R,
7484
- onError: D,
7401
+ onError: z,
7485
7402
  uploadCallback: n.uploadCallback
7486
7403
  }) : R(Z);
7487
- }, $ = (Z) => {
7404
+ }, D = (Z) => {
7488
7405
  if (!x(Z.size))
7489
7406
  return a && a("上传文件超出大小了"), !1;
7490
7407
  }, M = (Z) => {
7491
- S(Z.file), z(Z.file);
7408
+ S(Z.file), $(Z.file);
7492
7409
  }, k = (Z) => new Promise((fe) => {
7493
7410
  l ? l({
7494
7411
  title: "提示",
@@ -7569,7 +7486,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
7569
7486
  accept: p.value,
7570
7487
  limit: h.value,
7571
7488
  multiple: e.multiple,
7572
- "before-upload": $,
7489
+ "before-upload": D,
7573
7490
  "http-request": M,
7574
7491
  "file-list": b.value,
7575
7492
  "before-remove": k,
@@ -7750,7 +7667,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
7750
7667
  for (const [o, i] of t)
7751
7668
  n[o] = i;
7752
7669
  return n;
7753
- }, Hp = /* @__PURE__ */ uc(jp, [["__scopeId", "data-v-69ad659b"]]), Ip = de(Hp), Op = ["innerHTML"], Bp = {
7670
+ }, Hp = /* @__PURE__ */ uc(jp, [["__scopeId", "data-v-37f9a80b"]]), Ip = de(Hp), Op = ["innerHTML"], Bp = {
7754
7671
  key: 1,
7755
7672
  class: "j-barcode-error"
7756
7673
  }, Lp = /* @__PURE__ */ ae({
@@ -8040,7 +7957,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
8040
7957
  let d = u.message || "条码数据或参数错误";
8041
7958
  u.message && u.message.includes("Bad checksum") && t.bcid === "gs1-128" ? d = `GS1-128 校验位错误: ${u.message}。请确保 AI 01 的14位数字包含正确的校验位。` : u.message && u.message.includes("GS1badChecksum") ? d = `GS1 校验位错误: ${u.message}。请检查应用标识符 (AI) 的数据格式和校验位是否正确。` : u.message && u.message.includes("auspostBadFCC") && t.bcid === "auspost" ? d = `AUSPOST FCC 错误: ${u.message}。AUSPOST 条码必须以有效的 FCC (Format Control Code) 开头:11, 45, 59 或 62。如果值未以有效的 FCC 开头,系统会自动添加合适的 FCC。` : u.message && u.message.includes("auspostTooLong") && t.bcid === "auspost" ? d = `AUSPOST 长度错误: ${u.message}。AUSPOST 条码长度限制:FCC 11 (10位), FCC 59 (18位), FCC 62 (25位,最大容量)。如果值超过限制,系统会自动截断并使用合适的 FCC。` : u.message && u.message.includes("pznBadCheckDigit") && t.bcid === "pzn" && (d = `PZN 校验位错误: ${u.message}。PZN (德国医药产品编号) 必须是7位或8位数字,包含正确的校验位。如果校验位不正确,系统会自动修复。`), o.value = d, n.value = "";
8042
7959
  }
8043
- }), (u, d) => (C(), I(we, null, [
7960
+ }), (u, d) => (C(), I(be, null, [
8044
7961
  n.value ? (C(), I("div", {
8045
7962
  key: 0,
8046
7963
  class: "j-barcode",
@@ -8077,33 +7994,33 @@ const Mh = { class: "j-table-footer" }, Ph = {
8077
7994
  const T = E.match(/^([><=]+)(.+)$/);
8078
7995
  if (T) {
8079
7996
  const P = T[1], R = Number(T[2]);
8080
- for (let D = 0; D < m.length; D++)
7997
+ for (let z = 0; z < m.length; z++)
8081
7998
  try {
8082
- const z = Number(m[D]);
8083
- let $ = !1;
7999
+ const $ = Number(m[z]);
8000
+ let D = !1;
8084
8001
  switch (P) {
8085
8002
  case ">":
8086
- $ = z > R;
8003
+ D = $ > R;
8087
8004
  break;
8088
8005
  case "<":
8089
- $ = z < R;
8006
+ D = $ < R;
8090
8007
  break;
8091
8008
  case ">=":
8092
- $ = z >= R;
8009
+ D = $ >= R;
8093
8010
  break;
8094
8011
  case "<=":
8095
- $ = z <= R;
8012
+ D = $ <= R;
8096
8013
  break;
8097
8014
  case "==":
8098
8015
  case "===":
8099
- $ = z === R;
8016
+ D = $ === R;
8100
8017
  break;
8101
8018
  case "!=":
8102
8019
  case "!==":
8103
- $ = z !== R;
8020
+ D = $ !== R;
8104
8021
  break;
8105
8022
  }
8106
- $ && S++;
8023
+ D && S++;
8107
8024
  } catch {
8108
8025
  console.log("计算失败");
8109
8026
  break;
@@ -8136,8 +8053,8 @@ const Mh = { class: "j-table-footer" }, Ph = {
8136
8053
  return E;
8137
8054
  }, v = (...m) => m[0].map((T, P) => {
8138
8055
  let R = T;
8139
- for (let D = 1; D < m.length; D++)
8140
- R *= m[D][P] || 0;
8056
+ for (let z = 1; z < m.length; z++)
8057
+ R *= m[z][P] || 0;
8141
8058
  return R;
8142
8059
  }).reduce((T, P) => T + P, 0), y = t, { getValue: b } = ao(), w = (m) => {
8143
8060
  const E = b({ id: m });
@@ -8408,7 +8325,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
8408
8325
  { immediate: !0 }
8409
8326
  ), (u, d) => {
8410
8327
  const f = B("j-button"), p = B("j-layer");
8411
- return C(), I(we, null, [
8328
+ return C(), I(be, null, [
8412
8329
  K(f, He({ style: { width: "auto" } }, u.$attrs, {
8413
8330
  type: e.type,
8414
8331
  label: e.btnText,
@@ -9101,7 +9018,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
9101
9018
  style: { "max-height": "calc(100vh - 80px)", "border-radius": "8px" }
9102
9019
  }, G(f)), [
9103
9020
  F("div", ca(hl(G(p))), [
9104
- (C(!0), I(we, null, Ee(G(d), (v) => (C(), H(da, {
9021
+ (C(!0), I(be, null, Ee(G(d), (v) => (C(), H(da, {
9105
9022
  key: v.data.value,
9106
9023
  "parent-actives": G(l)?.pid?.split(".") || [],
9107
9024
  item: v.data,
@@ -9291,7 +9208,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
9291
9208
  class: ["j-menu", { collapsed: e.collapsed, "j-menu-dark": G(a) === "dark" }]
9292
9209
  }, G(c)), [
9293
9210
  F("div", ca(hl(G(u))), [
9294
- (C(!0), I(we, null, Ee(G(s), (p) => (C(), H(da, {
9211
+ (C(!0), I(be, null, Ee(G(s), (p) => (C(), H(da, {
9295
9212
  key: p.data.value,
9296
9213
  "parent-actives": G(i)?.pid?.split(".") || [],
9297
9214
  item: p.data,
@@ -9362,7 +9279,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
9362
9279
  ref: l,
9363
9280
  class: je(["j-menu-horizontal", { "j-menu-dark": G(a) === "dark" }])
9364
9281
  }, [
9365
- (C(!0), I(we, null, Ee(c.value, (g) => (C(), H(da, {
9282
+ (C(!0), I(be, null, Ee(c.value, (g) => (C(), H(da, {
9366
9283
  key: g.value,
9367
9284
  "parent-actives": d.value,
9368
9285
  item: g,
@@ -9400,7 +9317,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
9400
9317
  class: ["j-menu-vertical", { "j-menu-dark": G(a) === "dark" }]
9401
9318
  }, G(d)), [
9402
9319
  F("div", ca(hl(G(f))), [
9403
- (C(!0), I(we, null, Ee(G(u), (g) => (C(), H(da, {
9320
+ (C(!0), I(be, null, Ee(G(u), (g) => (C(), H(da, {
9404
9321
  key: g.data.value,
9405
9322
  "parent-actives": s.value,
9406
9323
  item: g.data,
@@ -10023,26 +9940,26 @@ const Mh = { class: "j-table-footer" }, Ph = {
10023
9940
  });
10024
9941
  const P = /* @__PURE__ */ new Set();
10025
9942
  return E && E.length > 0 && E.forEach((R) => {
10026
- const D = T.get(R.id);
10027
- if (D) {
10028
- P.add(D.id);
10029
- const z = {
10030
- id: D.id,
10031
- label: D.config?.label || D.id,
10032
- type: D.type,
10033
- display: D.config?.display !== !1
9943
+ const z = T.get(R.id);
9944
+ if (z) {
9945
+ P.add(z.id);
9946
+ const $ = {
9947
+ id: z.id,
9948
+ label: z.config?.label || z.id,
9949
+ type: z.type,
9950
+ display: z.config?.display !== !1
10034
9951
  };
10035
- D.children && D.children.length > 0 && (z.children = d(D.children, R.children)), S.push(z);
9952
+ z.children && z.children.length > 0 && ($.children = d(z.children, R.children)), S.push($);
10036
9953
  }
10037
9954
  }), m.forEach((R) => {
10038
9955
  if (!P.has(R.id)) {
10039
- const D = {
9956
+ const z = {
10040
9957
  id: R.id,
10041
9958
  label: R.config?.label || R.id,
10042
9959
  type: R.type,
10043
9960
  display: R.config?.display !== !1
10044
9961
  };
10045
- R.children && R.children.length > 0 && (D.children = d(R.children)), S.push(D);
9962
+ R.children && R.children.length > 0 && (z.children = d(R.children)), S.push(z);
10046
9963
  }
10047
9964
  }), S;
10048
9965
  }, f = (m, E) => E.length === 0 ? m : m.map((S) => {
@@ -10101,6 +10018,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
10101
10018
  const E = m.$refs?.treeRef || m;
10102
10019
  E?.setCheckedKeys && E.setCheckedKeys(h.value);
10103
10020
  }
10021
+ a("save", void 0);
10104
10022
  };
10105
10023
  return t({ init: () => {
10106
10024
  v(), c.value = d(i.columns, i.columnConfig), u.value = JSON.parse(JSON.stringify(c.value));
@@ -10111,7 +10029,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
10111
10029
  F("div", Kg, [
10112
10030
  K(T, {
10113
10031
  modelValue: r.value,
10114
- "onUpdate:modelValue": E[0] || (E[0] = (D) => r.value = D),
10032
+ "onUpdate:modelValue": E[0] || (E[0] = (z) => r.value = z),
10115
10033
  modelModifiers: { trim: !0 },
10116
10034
  placeholder: G(o)("搜索 (多个关键词用空格隔开)"),
10117
10035
  clearable: ""
@@ -10318,13 +10236,13 @@ const Mh = { class: "j-table-footer" }, Ph = {
10318
10236
  let d = a.pageSize || 100, f = "";
10319
10237
  const p = A(0), h = j(() => p.value > 0), g = A([]), v = A(!1), y = j(() => a.batchButtons && a.batchButtons.length > 0), b = j(() => g.value.length > 0), w = j(() => y.value && b.value && a.isMultiple || v.value), x = j(() => a.isPage && !w.value);
10320
10238
  y.value && !a.isMultiple && console.warn("batchButtons is only valid when isMultiple is true");
10321
- const _ = (ye) => a.rowKey ? a.rowKey.split(",").map((_t) => ye[_t.trim()]).join("::") : "", m = (ye, he) => {
10239
+ const _ = (we) => a.rowKey ? a.rowKey.split(",").map((_t) => we[_t.trim()]).join("::") : "", m = (we, he) => {
10322
10240
  if (!he || he.length === 0)
10323
- return ye.filter((ce) => ce.config?.display !== !1).map((ce) => ce.children && ce.children.length > 0 ? {
10241
+ return we.filter((ce) => ce.config?.display !== !1).map((ce) => ce.children && ce.children.length > 0 ? {
10324
10242
  ...ce,
10325
10243
  children: m(ce.children)
10326
10244
  } : ce);
10327
- const _t = new Map(ye.map((ce) => [ce.id, ce])), jt = [];
10245
+ const _t = new Map(we.map((ce) => [ce.id, ce])), jt = [];
10328
10246
  return he.forEach((ce) => {
10329
10247
  const rt = _t.get(ce.id);
10330
10248
  if (rt) {
@@ -10337,7 +10255,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
10337
10255
  }
10338
10256
  _t.delete(ce.id);
10339
10257
  }
10340
- }), ye.forEach((ce) => {
10258
+ }), we.forEach((ce) => {
10341
10259
  if (_t.has(ce.id) && ce.config?.display !== !1) {
10342
10260
  let rt = ce;
10343
10261
  ce.children && ce.children.length > 0 && (rt = {
@@ -10346,18 +10264,18 @@ const Mh = { class: "j-table-footer" }, Ph = {
10346
10264
  }), jt.push(rt);
10347
10265
  }
10348
10266
  }), jt;
10349
- }, E = j(() => m(a.columns, Z.value)), S = j(() => pf(a.columns, (ye) => ye.config.label)), T = A(""), P = j(() => S.value.some((ye) => ye.config?.filter?.isSearchKeyword)), R = A(), D = A(!0), z = A([]), $ = j(() => D.value ? "搜索全部" : `搜索范围:${S.value.filter((ye) => z.value.includes(ye.id)).map((ye) => ye.config?.label).join("、")}`), M = () => {
10267
+ }, E = j(() => m(a.columns, Z.value)), S = j(() => pf(a.columns, (we) => we.config.label)), T = A(""), P = j(() => S.value.some((we) => we.config?.filter?.isSearchKeyword)), R = A(), z = A(!0), $ = A([]), D = j(() => z.value ? "搜索全部" : `搜索范围:${S.value.filter((we) => $.value.includes(we.id)).map((we) => we.config?.label).join("、")}`), M = () => {
10350
10268
  R.value.init();
10351
10269
  }, k = A(), O = A(!1), N = A(!1), re = A(!1), ue = A([]), ge = A("and"), ze = A(), ut = A(!1), ee = A([]), Ve = () => {
10352
10270
  ze.value.init(ee.value);
10353
- }, Ke = (ye) => {
10354
- ee.value = ye, ut.value = !1, U();
10271
+ }, Ke = (we) => {
10272
+ ee.value = we, ut.value = !1, U();
10355
10273
  }, Se = () => {
10356
10274
  ee.value = [], U();
10357
10275
  }, tt = A(), dt = A(!1), Z = A(), fe = j(() => Z.value != null), Te = () => {
10358
10276
  tt.value?.init();
10359
- }, nt = (ye) => {
10360
- console.log("handleColumnSave:", ye), Z.value = ye, dt.value = !1;
10277
+ }, nt = (we) => {
10278
+ Z.value = we, dt.value = !1;
10361
10279
  }, vt = A(!1), zt = () => {
10362
10280
  vt.value = !vt.value;
10363
10281
  }, Ue = () => {
@@ -10366,7 +10284,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
10366
10284
  v.value = !v.value, v.value ? r.value?.setRecords(g.value) : r.value?.setRecords(s), r.value?.setSelection?.(g.value);
10367
10285
  }, _n = j(() => {
10368
10286
  if (g.value.length > 0 && a.isMultiple) {
10369
- const ye = [
10287
+ const we = [
10370
10288
  {
10371
10289
  id: "selection_count",
10372
10290
  label: `已选${g.value.length}条`,
@@ -10396,12 +10314,12 @@ const Mh = { class: "j-table-footer" }, Ph = {
10396
10314
  _t.click && _t.click({ data: g.value, openLayer: i });
10397
10315
  }
10398
10316
  }));
10399
- return [...ye, ...he];
10317
+ return [...we, ...he];
10400
10318
  }
10401
10319
  return a.buttons;
10402
10320
  }), Zt = async () => {
10403
10321
  p.value++;
10404
- const ye = {};
10322
+ const we = {};
10405
10323
  try {
10406
10324
  const he = {};
10407
10325
  he.rel = ge.value;
@@ -10413,22 +10331,22 @@ const Mh = { class: "j-table-footer" }, Ph = {
10413
10331
  method: ce.method,
10414
10332
  value: ce.value,
10415
10333
  type: ce.type
10416
- })), he.cond.length > 0 ? re.value = !0 : re.value = !1, ye.filter = he;
10334
+ })), he.cond.length > 0 ? re.value = !0 : re.value = !1, we.filter = he;
10417
10335
  const jt = ee.value.map((ce) => ce.value + " " + ce.sord).join(",");
10418
- if (T.value && (ye.keyword = {
10336
+ if (T.value && (we.keyword = {
10419
10337
  value: T.value,
10420
- fields: D.value ? S.value.filter((ce) => ce.config?.filter?.isSearchKeyword).map((ce) => ce.id) : G(z)
10338
+ fields: z.value ? S.value.filter((ce) => ce.config?.filter?.isSearchKeyword).map((ce) => ce.id) : G($)
10421
10339
  }), a.loadData) {
10422
10340
  if (a.isPage) {
10423
- ye.pagination = {
10341
+ we.pagination = {
10424
10342
  rows: d,
10425
10343
  page: u.value,
10426
10344
  sort: jt || f || a.sort || a.rowKey
10427
10345
  };
10428
- const ce = await a.loadData(ye) || {};
10346
+ const ce = await a.loadData(we) || {};
10429
10347
  s = ce.rows || [], c.value = ce.records || 0;
10430
10348
  } else
10431
- ye.sort = jt, s = await a.loadData(ye) || [], c.value = s.length;
10349
+ we.sort = jt, s = await a.loadData(we) || [], c.value = s.length;
10432
10350
  r.value.setRecords(s), y.value ? (g.value = [], v.value = !1) : a.rowKey && g.value.length > 0 && r.value?.setSelection?.(g.value);
10433
10351
  }
10434
10352
  } finally {
@@ -10436,36 +10354,36 @@ const Mh = { class: "j-table-footer" }, Ph = {
10436
10354
  }
10437
10355
  }, U = async () => {
10438
10356
  u.value = 1, await Zt();
10439
- }, le = ({ rows: ye, page: he }) => {
10440
- d = ye, u.value = he, Zt();
10357
+ }, le = ({ rows: we, page: he }) => {
10358
+ d = we, u.value = he, Zt();
10441
10359
  }, q = async () => {
10442
10360
  g.value = [], v.value = !1, u.value = 1, await Zt();
10443
10361
  }, te = async () => {
10444
10362
  g.value = [], v.value = !1, await Zt();
10445
10363
  }, ie = async () => {
10446
10364
  await q();
10447
- }, ve = (ye) => {
10448
- l("ready", ye);
10449
- }, Me = (ye) => {
10365
+ }, ve = (we) => {
10366
+ l("ready", we);
10367
+ }, Me = (we) => {
10450
10368
  let he = [];
10451
10369
  if (!a.isMultiple) {
10452
- g.value = ye, l("select", ye);
10370
+ g.value = we, l("select", we);
10453
10371
  return;
10454
10372
  }
10455
10373
  if (y.value)
10456
- he = ye;
10374
+ he = we;
10457
10375
  else if (!a.rowKey)
10458
- he = ye;
10376
+ he = we;
10459
10377
  else {
10460
- const _t = new Map(ye.map((ce) => [_(ce), ce])), jt = new Map(g.value.map((ce) => [_(ce), ce]));
10378
+ const _t = new Map(we.map((ce) => [_(ce), ce])), jt = new Map(g.value.map((ce) => [_(ce), ce]));
10461
10379
  s.forEach((ce) => {
10462
10380
  const rt = _(ce);
10463
10381
  _t.has(rt) ? jt.set(rt, _t.get(rt)) : jt.delete(rt);
10464
10382
  }), he = Array.from(jt.values());
10465
10383
  }
10466
10384
  g.value = he, l("select", he), v.value && he.length === 0 ? (v.value = !1, r.value && r.value.setRecords(s)) : v.value && he.length > 0 && r.value && (r.value.setRecords(he), r.value.setSelection?.(he));
10467
- }, Ye = () => g.value || [], Mt = (ye) => {
10468
- g.value = ye, r.value?.setSelection?.(ye);
10385
+ }, Ye = () => g.value || [], Mt = (we) => {
10386
+ g.value = we, r.value?.setSelection?.(we);
10469
10387
  }, ot = () => r.value?.getInstance?.();
10470
10388
  return St(async () => {
10471
10389
  a.immediate && await te();
@@ -10478,7 +10396,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
10478
10396
  Ue();
10479
10397
  },
10480
10398
  getInstance: ot
10481
- }), (ye, he) => {
10399
+ }), (we, he) => {
10482
10400
  const _t = B("j-buttons"), jt = B("j-icon"), ce = B("el-popover"), rt = B("el-tooltip"), Jn = B("el-input"), kn = B("j-button"), Ra = B("j-table");
10483
10401
  return C(), I("div", {
10484
10402
  class: je([
@@ -10512,7 +10430,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
10512
10430
  suffix: V(() => [
10513
10431
  K(rt, {
10514
10432
  placement: "bottom",
10515
- content: $.value
10433
+ content: D.value
10516
10434
  }, {
10517
10435
  default: V(() => [
10518
10436
  F("div", null, [
@@ -10535,10 +10453,10 @@ const Mh = { class: "j-table-footer" }, Ph = {
10535
10453
  K(jg, {
10536
10454
  ref_key: "keywordPanelRef",
10537
10455
  ref: R,
10538
- "check-all": D.value,
10539
- "onUpdate:checkAll": he[0] || (he[0] = (Je) => D.value = Je),
10540
- "check-fields": z.value,
10541
- "onUpdate:checkFields": he[1] || (he[1] = (Je) => z.value = Je),
10456
+ "check-all": z.value,
10457
+ "onUpdate:checkAll": he[0] || (he[0] = (Je) => z.value = Je),
10458
+ "check-fields": $.value,
10459
+ "onUpdate:checkFields": he[1] || (he[1] = (Je) => $.value = Je),
10542
10460
  columns: S.value
10543
10461
  }, null, 8, ["check-all", "check-fields", "columns"])
10544
10462
  ]),
@@ -10804,7 +10722,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
10804
10722
  }, 8, ["modelValue", "placeholder"])
10805
10723
  ]),
10806
10724
  F("div", dv, [
10807
- (C(!0), I(we, null, Ee(l.value, (g) => (C(), I("div", {
10725
+ (C(!0), I(be, null, Ee(l.value, (g) => (C(), I("div", {
10808
10726
  key: g.value,
10809
10727
  class: je(["option-item", { active: r.value.includes(g.value) || g.disabled }]),
10810
10728
  onClick: kt((v) => s(g), ["stop"])
@@ -11071,28 +10989,28 @@ const Mh = { class: "j-table-footer" }, Ph = {
11071
10989
  u.value = !0, o.loadData && (f.value = await o.loadData() || []), s && await s(o.dataType, o.dataCode), u.value = !1, Pt(() => {
11072
10990
  o.afterLoadData && o.afterLoadData(g.value || []);
11073
10991
  });
11074
- }, y = ($, M = !0) => {
11075
- c.value?.setCurrentKey($, M);
11076
- }, b = () => c.value?.getCurrentKey(), w = ($, M = !1) => {
11077
- c.value?.setCheckedKeys($, M);
11078
- }, x = ($ = !1) => c.value?.getCheckedKeys($), _ = async ($, M, k, O) => {
11079
- if (d.value = $.value, o.nodeClickFlow && o.runFlow) {
10992
+ }, y = (D, M = !0) => {
10993
+ c.value?.setCurrentKey(D, M);
10994
+ }, b = () => c.value?.getCurrentKey(), w = (D, M = !1) => {
10995
+ c.value?.setCheckedKeys(D, M);
10996
+ }, x = (D = !1) => c.value?.getCheckedKeys(D), _ = async (D, M, k, O) => {
10997
+ if (d.value = D.value, o.nodeClickFlow && o.runFlow) {
11080
10998
  const N = JSON.parse(o.nodeClickFlow);
11081
- await o.runFlow(N, { value: $.value });
10999
+ await o.runFlow(N, { value: D.value });
11082
11000
  }
11083
- o.click && o.click($.value, $, O);
11084
- }, m = ($, { checkedKeys: M, checkedNodes: k, halfCheckedKeys: O, halfCheckedNodes: N }) => {
11085
- o.check && o.check(M, { node: $, checkedNodes: k, halfCheckedKeys: O, halfCheckedNodes: N });
11086
- }, E = ($, M, k, O) => {
11087
- i("node-drop", $, M, k, O);
11088
- }, S = ($) => {
11001
+ o.click && o.click(D.value, D, O);
11002
+ }, m = (D, { checkedKeys: M, checkedNodes: k, halfCheckedKeys: O, halfCheckedNodes: N }) => {
11003
+ o.check && o.check(M, { node: D, checkedNodes: k, halfCheckedKeys: O, halfCheckedNodes: N });
11004
+ }, E = (D, M, k, O) => {
11005
+ i("node-drop", D, M, k, O);
11006
+ }, S = (D) => {
11089
11007
  const M = yn(o.treeButtons);
11090
- return $ && o.filterButton ? o.filterButton({ buttons: M, node: $ }) : M;
11091
- }, { openLayer: T } = si(), P = ($, M) => {
11092
- $.config?.disabled || $.click && $.click({ data: M, openLayer: T });
11093
- }, R = A(""), D = ($, M) => {
11094
- R.value = $ ? M.value : "", console.log(R.value, "row");
11095
- }, z = ($, M, k) => o.allowDrop ? o.allowDrop($, M, k) : !(k == "inner" && !M.data.canInner);
11008
+ return D && o.filterButton ? o.filterButton({ buttons: M, node: D }) : M;
11009
+ }, { openLayer: T } = si(), P = (D, M) => {
11010
+ D.config?.disabled || D.click && D.click({ data: M, openLayer: T });
11011
+ }, R = A(""), z = (D, M) => {
11012
+ R.value = D ? M.value : "", console.log(R.value, "row");
11013
+ }, $ = (D, M, k) => o.allowDrop ? o.allowDrop(D, M, k) : !(k == "inner" && !M.data.canInner);
11096
11014
  return St(async () => {
11097
11015
  (o.immediate && o.loadData || o.dataType || o.dataCode) && await v();
11098
11016
  }), lt(
@@ -11113,7 +11031,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
11113
11031
  getValue: b,
11114
11032
  setCheck: w,
11115
11033
  getCheck: x
11116
- }), ($, M) => {
11034
+ }), (D, M) => {
11117
11035
  const k = B("j-icon"), O = B("j-button"), N = B("el-dropdown-item"), re = B("el-dropdown-menu"), ue = B("el-dropdown"), ge = B("el-tree"), ze = B("el-empty"), ut = sa("loading");
11118
11036
  return vn((C(), I("div", {
11119
11037
  class: je(["j-block", "j-tree", { "j-tree-menu": e.theme === "menu" }]),
@@ -11136,7 +11054,7 @@ const Mh = { class: "j-table-footer" }, Ph = {
11136
11054
  "filter-node-method": e.filterNode,
11137
11055
  "render-after-expand": e.renderAfterExpand,
11138
11056
  draggable: e.draggable,
11139
- "allow-drop": z,
11057
+ "allow-drop": $,
11140
11058
  "expand-on-click-node": e.expandOnClickNode,
11141
11059
  onNodeClick: _,
11142
11060
  onCheck: m,
@@ -11162,15 +11080,15 @@ const Mh = { class: "j-table-footer" }, Ph = {
11162
11080
  }, null, 8, ["icon", "color"])) : Y("", !0),
11163
11081
  F("div", gv, xe(ee.label), 1),
11164
11082
  S(ee.data).length ? (C(), I("div", vv, [
11165
- (C(!0), I(we, null, Ee(S(ee.data), (Ve, Ke) => (C(), H(ue, {
11083
+ (C(!0), I(be, null, Ee(S(ee.data), (Ve, Ke) => (C(), H(ue, {
11166
11084
  key: Ke,
11167
11085
  trigger: "click",
11168
- onVisibleChange: (Se) => D(Se, ee.data)
11086
+ onVisibleChange: (Se) => z(Se, ee.data)
11169
11087
  }, {
11170
11088
  dropdown: V(() => [
11171
11089
  K(re, null, {
11172
11090
  default: V(() => [
11173
- (C(!0), I(we, null, Ee(Ve.children, (Se, tt) => (C(), H(N, {
11091
+ (C(!0), I(be, null, Ee(Ve.children, (Se, tt) => (C(), H(N, {
11174
11092
  key: tt,
11175
11093
  disabled: Se.disabled,
11176
11094
  divided: Se.divided,
@@ -11381,7 +11299,7 @@ const Rv = /* @__PURE__ */ ae({
11381
11299
  }, v = A(!1), y = j(() => o.config?.gutter || 16), b = j(() => o.config?.span || 24), w = j(() => o.config?.labelWidth), x = j(() => o.config?.labelPosition || "right"), _ = j(
11382
11300
  () => S.length === 1 && (S[0].type === "j-tabs" || S[0].type === "j-layout" || S[0].config?.isAutoWindow)
11383
11301
  ), m = Mo({}), E = A({}), S = [], T = {}, P = A({});
11384
- let R = {}, D = {}, z = [], $ = {};
11302
+ let R = {}, z = {}, $ = [], D = {};
11385
11303
  const M = (U) => {
11386
11304
  i("change", U);
11387
11305
  }, k = (U) => Cl(T[U]?.type || "") && !T[U]?.config?.notInput || T[U]?.config?.isInput, O = (U) => ["j-table", "j-input-rows", "j-input-cards"].includes(T[U]?.type || "");
@@ -11417,13 +11335,13 @@ const Rv = /* @__PURE__ */ ae({
11417
11335
  else if (Ye && ot.field)
11418
11336
  R[`${Mt}_${ot.field}`.toLowerCase()] = ie.id;
11419
11337
  else if (O(ie.id))
11420
- !q && !ot.isSubTable && (m[ie.id] = []), ot.table && (R[ot.table.toLowerCase() || ""] = ie.id), ot.isSubTable || z.push(ve);
11338
+ !q && !ot.isSubTable && (m[ie.id] = []), ot.table && (R[ot.table.toLowerCase() || ""] = ie.id), ot.isSubTable || $.push(ve);
11421
11339
  else if (ot?.defaultValue)
11422
11340
  m[ie.id] = ot?.defaultValue;
11423
11341
  else if (ie.type === "collapse" && ot?.isExpand) {
11424
11342
  const En = [];
11425
- (ot?.groups || []).forEach((ye) => {
11426
- En.push(ye.i);
11343
+ (ot?.groups || []).forEach((we) => {
11344
+ En.push(we.i);
11427
11345
  }), m[ie.id] = En;
11428
11346
  }
11429
11347
  Me && Me.length > 0 && ge(Me, ve.children, q, ve.id);
@@ -11431,7 +11349,7 @@ const Rv = /* @__PURE__ */ ae({
11431
11349
  }, ze = async (U, le) => {
11432
11350
  v.value = !1;
11433
11351
  const q = !!le;
11434
- S.splice(0, S.length), R = {}, D = {}, z = [], N = le, Ji(m), P.value = {}, q && re(le, ""), ge(U, S, q), $ = yn(m), Pt(() => {
11352
+ S.splice(0, S.length), R = {}, z = {}, $ = [], N = le, Ji(m), P.value = {}, q && re(le, ""), ge(U, S, q), D = yn(m), Pt(() => {
11435
11353
  v.value = !0, Pt(() => {
11436
11354
  _n(o.config?.codeInit, {});
11437
11355
  });
@@ -11460,7 +11378,7 @@ const Rv = /* @__PURE__ */ ae({
11460
11378
  te && (Ka(te) && (te = te[0] || {}), typeof te == "object" ? Object.keys(te).forEach((ve) => {
11461
11379
  if (!le || le(q, te[ve], q)) {
11462
11380
  let Me = ve;
11463
- q !== "main" && (Me = `${q}_${ve}`), D[Me] = q, m[R[Me.toLowerCase()] || ve] = te[ve];
11381
+ q !== "main" && (Me = `${q}_${ve}`), z[Me] = q, m[R[Me.toLowerCase()] || ve] = te[ve];
11464
11382
  }
11465
11383
  }) : m[q] = te);
11466
11384
  else if (O(ie.id || "")) {
@@ -11490,7 +11408,7 @@ const Rv = /* @__PURE__ */ ae({
11490
11408
  Ye.push(Ve(Mt, !0));
11491
11409
  }), q[ve || te] = Ye;
11492
11410
  } else ve && Me ? (q[ve] = q[ve] || {}, q[ve][Me] = U[te]) : Me && (q[Me] = U[te]);
11493
- } else le ? te !== "_X_ROW_KEY" && te !== "_isHover" && (q[te] = U[te]) : D[te] ? (q[D[te]] = q[D[te]] || {}, q[D[te]][te.replace(`${D[te]}_`, "")] = U[te]) : q[te] = U[te];
11411
+ } else le ? te !== "_X_ROW_KEY" && te !== "_isHover" && (q[te] = U[te]) : z[te] ? (q[z[te]] = q[z[te]] || {}, q[z[te]][te.replace(`${z[te]}_`, "")] = U[te]) : q[te] = U[te];
11494
11412
  }), q;
11495
11413
  }, Ke = (U = !0) => U ? Ve(m) : m, Se = (U, le, q, te) => {
11496
11414
  let ie = T[U];
@@ -11544,8 +11462,8 @@ const Rv = /* @__PURE__ */ ae({
11544
11462
  `${p(T[Object.keys(U)[0]]?.config?.label)}:${p(U[Object.keys(U)[0]].msg)}`
11545
11463
  ), !1) : !0;
11546
11464
  }, fe = () => {
11547
- E.value = {}, Ji(m), Object.keys($ || {}).forEach((U) => {
11548
- m[U] = $[U];
11465
+ E.value = {}, Ji(m), Object.keys(D || {}).forEach((U) => {
11466
+ m[U] = D[U];
11549
11467
  });
11550
11468
  }, Te = (U) => {
11551
11469
  let le = T[U];
@@ -11688,7 +11606,7 @@ const Rv = /* @__PURE__ */ ae({
11688
11606
  gutter: y.value
11689
11607
  }, {
11690
11608
  default: V(() => [
11691
- (C(), I(we, null, Ee(S, (ve) => K(q, He({
11609
+ (C(), I(be, null, Ee(S, (ve) => K(q, He({
11692
11610
  key: ve.id,
11693
11611
  ref_for: !0
11694
11612
  }, ve), null, 16)), 64))
@@ -11769,7 +11687,7 @@ const Rv = /* @__PURE__ */ ae({
11769
11687
  }), t({ init: s, call: d, on: f, off: p }), (h, g) => {
11770
11688
  const v = B("j-comp");
11771
11689
  return C(), I("div", Pv, [
11772
- (C(!0), I(we, null, Ee(i, (y) => (C(), H(v, {
11690
+ (C(!0), I(be, null, Ee(i, (y) => (C(), H(v, {
11773
11691
  key: y.id,
11774
11692
  id: y.id,
11775
11693
  type: y.type,
@@ -11859,7 +11777,7 @@ const Rv = /* @__PURE__ */ ae({
11859
11777
  ])
11860
11778
  ], 8, Bv)),
11861
11779
  e.toolBtns && e.toolBtns.length > 0 ? (C(), I("span", $v, [
11862
- (C(!0), I(we, null, Ee(e.toolBtns, (s) => (C(), H(l, {
11780
+ (C(!0), I(be, null, Ee(e.toolBtns, (s) => (C(), H(l, {
11863
11781
  key: s.id,
11864
11782
  placement: "top",
11865
11783
  content: s.label || ""
@@ -12056,13 +11974,13 @@ const Rv = /* @__PURE__ */ ae({
12056
11974
  ref: p,
12057
11975
  class: "j-input-rows-container"
12058
11976
  }, [
12059
- (C(!0), I(we, null, Ee(g.value, (T, P) => (C(), I("div", {
11977
+ (C(!0), I(be, null, Ee(g.value, (T, P) => (C(), I("div", {
12060
11978
  key: T._i + P,
12061
11979
  class: je([e.isCompact ? "j-space-compact" : "j-space", { "j-space-wrap": e.isWrap }])
12062
11980
  }, [
12063
11981
  e.showNum ? (C(), I("div", Nv, xe(P + 1), 1)) : Y("", !0),
12064
11982
  e.showChar ? (C(), I("div", Wv, xe(h[P % 26]), 1)) : Y("", !0),
12065
- (C(!0), I(we, null, Ee(e.columns, (R) => (C(), H(m, He({
11983
+ (C(!0), I(be, null, Ee(e.columns, (R) => (C(), H(m, He({
12066
11984
  key: R.id,
12067
11985
  ref_for: !0
12068
11986
  }, R, { row: T }), null, 16, ["row"]))), 128)),
@@ -12347,7 +12265,7 @@ const Rv = /* @__PURE__ */ ae({
12347
12265
  gutter: i.value
12348
12266
  }, {
12349
12267
  default: V(() => [
12350
- (C(!0), I(we, null, Ee(e.schema, (b) => (C(), H(h, He({
12268
+ (C(!0), I(be, null, Ee(e.schema, (b) => (C(), H(h, He({
12351
12269
  key: b.id,
12352
12270
  ref_for: !0
12353
12271
  }, b), null, 16))), 128))
@@ -12661,7 +12579,7 @@ const Rv = /* @__PURE__ */ ae({
12661
12579
  }, null, 4)
12662
12580
  ]));
12663
12581
  }
12664
- }), lm = /* @__PURE__ */ uc(am, [["__scopeId", "data-v-60cd5d0b"]]), rm = de(lm), sm = {
12582
+ }), lm = /* @__PURE__ */ uc(am, [["__scopeId", "data-v-179ac616"]]), rm = de(lm), sm = {
12665
12583
  key: 0,
12666
12584
  class: "j-map-loading"
12667
12585
  }, cm = /* @__PURE__ */ ae({
@@ -12920,7 +12838,7 @@ function Sl(e, t, n) {
12920
12838
  }
12921
12839
  function gc(e, t) {
12922
12840
  const n = parseInt(e.dataset.cornerRadius, 10) || 0;
12923
- return be(e, {
12841
+ return ye(e, {
12924
12842
  d: ci(vm(t, n))
12925
12843
  }), e;
12926
12844
  }
@@ -12935,12 +12853,12 @@ function vc(e, t, n) {
12935
12853
  var o = this;
12936
12854
  function i(S, T, P) {
12937
12855
  if (!r(S, T)) {
12938
- var R, D, z;
12939
- P ? D = t.getGraphics(P) : (R = T.delegateTarget || T.target, R && (D = R, P = t.get(D))), !(!D || !P) && (z = e.fire(S, {
12856
+ var R, z, $;
12857
+ P ? z = t.getGraphics(P) : (R = T.delegateTarget || T.target, R && (z = R, P = t.get(z))), !(!z || !P) && ($ = e.fire(S, {
12940
12858
  element: P,
12941
- gfx: D,
12859
+ gfx: z,
12942
12860
  originalEvent: T
12943
- }), z === !1 && (T.stopPropagation(), T.preventDefault()));
12861
+ }), $ === !1 && (T.stopPropagation(), T.preventDefault()));
12944
12862
  }
12945
12863
  }
12946
12864
  var a = {};
@@ -12975,10 +12893,10 @@ function vc(e, t, n) {
12975
12893
  }
12976
12894
  var d = "svg, .djs-element";
12977
12895
  function f(S, T, P, R) {
12978
- var D = a[P] = function(z) {
12979
- i(P, z);
12896
+ var z = a[P] = function($) {
12897
+ i(P, $);
12980
12898
  };
12981
- R && (c[P] = R), D.$delegate = Hn.bind(S, d, T, D);
12899
+ R && (c[P] = R), z.$delegate = Hn.bind(S, d, T, z);
12982
12900
  }
12983
12901
  function p(S, T, P) {
12984
12902
  var R = l(P);
@@ -13030,7 +12948,7 @@ function vc(e, t, n) {
13030
12948
  var P = x[T];
13031
12949
  if (!P)
13032
12950
  throw new Error("invalid hit type <" + T + ">");
13033
- return be(S, P), S;
12951
+ return ye(S, P), S;
13034
12952
  }
13035
12953
  function E(S, T) {
13036
12954
  Oe(S, T);
@@ -13039,8 +12957,8 @@ function vc(e, t, n) {
13039
12957
  var T = Wa(".djs-hit", S);
13040
12958
  ne(T, Yt);
13041
12959
  }, this.createDefaultHit = function(S, T) {
13042
- var P = S.waypoints, R = S.isFrame, D;
13043
- return P ? this.createWaypointsHit(T, P) : (D = R ? "stroke" : "all", this.createBoxHit(T, D, {
12960
+ var P = S.waypoints, R = S.isFrame, z;
12961
+ return P ? this.createWaypointsHit(T, P) : (z = R ? "stroke" : "all", this.createBoxHit(T, z, {
13044
12962
  width: S.width,
13045
12963
  height: S.height
13046
12964
  }));
@@ -13053,11 +12971,11 @@ function vc(e, t, n) {
13053
12971
  y: 0
13054
12972
  }, P);
13055
12973
  var R = Fe("rect");
13056
- return m(R, T), be(R, P), E(S, R), R;
12974
+ return m(R, T), ye(R, P), E(S, R), R;
13057
12975
  }, this.updateDefaultHit = function(S, T) {
13058
12976
  var P = $t(".djs-hit", T);
13059
12977
  if (P)
13060
- return S.waypoints ? gc(P, S.waypoints) : be(P, {
12978
+ return S.waypoints ? gc(P, S.waypoints) : ye(P, {
13061
12979
  width: S.width,
13062
12980
  height: S.height
13063
12981
  }), P;
@@ -13261,7 +13179,7 @@ function Sc(e, t, n, o) {
13261
13179
  x.length && n.select(x);
13262
13180
  }
13263
13181
  function c(w, x) {
13264
- var _ = a.payload, m = a.displacement, E = a.globalStart, S = Po(w), T = Eo(S, E), P = a.localStart, R = l(S), D = Eo(R, P);
13182
+ var _ = a.payload, m = a.displacement, E = a.globalStart, S = Po(w), T = Eo(S, E), P = a.localStart, R = l(S), z = Eo(R, P);
13265
13183
  if (!a.active && (x || Cm(T) > a.threshold)) {
13266
13184
  if (_e(_, {
13267
13185
  x: yo(P.x + m.x),
@@ -13275,8 +13193,8 @@ function Sc(e, t, n, o) {
13275
13193
  Ia(w), a.active && (_e(_, {
13276
13194
  x: yo(R.x + m.x),
13277
13195
  y: yo(R.y + m.y),
13278
- dx: yo(D.x),
13279
- dy: yo(D.y)
13196
+ dx: yo(z.x),
13197
+ dy: yo(z.y)
13280
13198
  }, { originalEvent: w }), r("move"));
13281
13199
  }
13282
13200
  function u(w) {
@@ -13317,16 +13235,16 @@ function Sc(e, t, n, o) {
13317
13235
  }
13318
13236
  function b(w, x, _, m) {
13319
13237
  a && v(!1), typeof x == "string" && (m = _, _ = x, x = null), m = _e({}, i, m || {});
13320
- var E = m.data || {}, S, T, P, R, D;
13321
- m.trapClick ? R = f : R = u, w ? (S = jo(w) || w, T = Po(w), Ia(w), S.type === "dragstart" && qn(S)) : (S = null, T = { x: 0, y: 0 }), P = l(T), x || (x = P), D = xm(S), a = _e({
13238
+ var E = m.data || {}, S, T, P, R, z;
13239
+ m.trapClick ? R = f : R = u, w ? (S = jo(w) || w, T = Po(w), Ia(w), S.type === "dragstart" && qn(S)) : (S = null, T = { x: 0, y: 0 }), P = l(T), x || (x = P), z = xm(S), a = _e({
13322
13240
  prefix: _,
13323
13241
  data: E,
13324
13242
  payload: {},
13325
13243
  globalStart: T,
13326
13244
  displacement: Eo(x, P),
13327
13245
  localStart: P,
13328
- isTouch: D
13329
- }, m), m.manual || (D ? (qe.bind(document, "touchstart", p, !0), qe.bind(document, "touchcancel", v, !0), qe.bind(document, "touchmove", c, !0), qe.bind(document, "touchend", u, !0)) : (qe.bind(document, "mousemove", c), qe.bind(document, "dragstart", qn), qe.bind(document, "selectstart", qn), qe.bind(document, "mousedown", R, !0), qe.bind(document, "mouseup", R, !0)), qe.bind(document, "keyup", d), e.on("element.hover", h), e.on("element.out", g)), r("init"), m.autoActivate && c(w, !0);
13246
+ isTouch: z
13247
+ }, m), m.manual || (z ? (qe.bind(document, "touchstart", p, !0), qe.bind(document, "touchcancel", v, !0), qe.bind(document, "touchmove", c, !0), qe.bind(document, "touchend", u, !0)) : (qe.bind(document, "mousemove", c), qe.bind(document, "dragstart", qn), qe.bind(document, "selectstart", qn), qe.bind(document, "mousedown", R, !0), qe.bind(document, "mouseup", R, !0)), qe.bind(document, "keyup", d), e.on("element.hover", h), e.on("element.out", g)), r("init"), m.autoActivate && c(w, !0);
13330
13248
  }
13331
13249
  e.on("diagram.destroy", v), this.init = b, this.move = c, this.hover = h, this.out = g, this.end = u, this.cancel = v, this.context = function() {
13332
13250
  return a;
@@ -13389,10 +13307,10 @@ zn.prototype.getGfx = function(e) {
13389
13307
  zn.prototype.addDragger = function(e, t, n, o = "djs-dragger") {
13390
13308
  n = n || this.getGfx(e);
13391
13309
  var i = Ks(n), a = n.getBoundingClientRect();
13392
- return this._cloneMarkers(el(i), o), be(i, this._styles.cls(o, [], {
13310
+ return this._cloneMarkers(el(i), o), ye(i, this._styles.cls(o, [], {
13393
13311
  x: a.top,
13394
13312
  y: a.left
13395
- })), Oe(t, i), be(i, "data-preview-support-element-id", e.id), i;
13313
+ })), Oe(t, i), ye(i, "data-preview-support-element-id", e.id), i;
13396
13314
  };
13397
13315
  zn.prototype.addFrame = function(e, t) {
13398
13316
  var n = Fe("rect", {
@@ -13402,14 +13320,14 @@ zn.prototype.addFrame = function(e, t) {
13402
13320
  x: e.x,
13403
13321
  y: e.y
13404
13322
  });
13405
- return Oe(t, n), be(n, "data-preview-support-element-id", e.id), n;
13323
+ return Oe(t, n), ye(n, "data-preview-support-element-id", e.id), n;
13406
13324
  };
13407
13325
  zn.prototype._cloneMarkers = function(e, t = "djs-dragger", n = e) {
13408
13326
  var o = this;
13409
13327
  e.childNodes && e.childNodes.forEach((i) => {
13410
13328
  o._cloneMarkers(i, t, n);
13411
13329
  }), Mm(e) && _m.forEach(function(i) {
13412
- if (be(e, i)) {
13330
+ if (ye(e, i)) {
13413
13331
  var a = km(e, i, o._canvas.getContainer());
13414
13332
  a && o._cloneMarker(n, e, a, i, t);
13415
13333
  }
@@ -13423,10 +13341,10 @@ zn.prototype._cloneMarker = function(e, t, n, o, i = "djs-dragger") {
13423
13341
  var s = $t(":scope > defs", e);
13424
13342
  s || (s = Fe("defs"), Oe(e, s)), Oe(s, r);
13425
13343
  var c = Tm(r.id);
13426
- be(t, o, c);
13344
+ ye(t, o, c);
13427
13345
  };
13428
13346
  function km(e, t, n) {
13429
- var o = Rm(be(e, t));
13347
+ var o = Rm(ye(e, t));
13430
13348
  return $t("marker#" + o, n || document);
13431
13349
  }
13432
13350
  function Rm(e) {
@@ -13717,7 +13635,7 @@ var Fm = 750;
13717
13635
  function kc(e, t, n, o, i) {
13718
13636
  function a(l) {
13719
13637
  var r = Fe("g");
13720
- be(r, i.cls("djs-drag-group", ["no-events"]));
13638
+ ye(r, i.cls("djs-drag-group", ["no-events"]));
13721
13639
  var s = Fe("g");
13722
13640
  return l.forEach(function(c) {
13723
13641
  var u;
@@ -14046,11 +13964,11 @@ function Mc(e, t, n, o, i, a, l, r, s, c) {
14046
13964
  }
14047
13965
  var T = S - E;
14048
13966
  if (On(T) > u) {
14049
- var P = S, R = r, D = s;
14050
- S = E + u * (l && S > E ? 1 : -1), r = _ + n * bt.cos(S), s = m + o * bt.sin(S), f = Mc(r, s, n, o, i, 0, l, R, D, [S, P, _, m]);
13967
+ var P = S, R = r, z = s;
13968
+ S = E + u * (l && S > E ? 1 : -1), r = _ + n * bt.cos(S), s = m + o * bt.sin(S), f = Mc(r, s, n, o, i, 0, l, R, z, [S, P, _, m]);
14051
13969
  }
14052
13970
  T = S - E;
14053
- var z = bt.cos(E), $ = bt.sin(E), M = bt.cos(S), k = bt.sin(S), O = bt.tan(T / 4), N = 4 / 3 * n * O, re = 4 / 3 * o * O, ue = [e, t], ge = [e + N * $, t - re * z], ze = [r + N * k, s - re * M], ut = [r, s];
13971
+ var $ = bt.cos(E), D = bt.sin(E), M = bt.cos(S), k = bt.sin(S), O = bt.tan(T / 4), N = 4 / 3 * n * O, re = 4 / 3 * o * O, ue = [e, t], ge = [e + N * D, t - re * $], ze = [r + N * k, s - re * M], ut = [r, s];
14054
13972
  if (ge[0] = 2 * ue[0] - ge[0], ge[1] = 2 * ue[1] - ge[1], c)
14055
13973
  return [ge, ze, ut].concat(f);
14056
13974
  f = [ge, ze, ut].concat(f).join().split(",");
@@ -16489,7 +16407,7 @@ function fo(e, t, n, o, i, a, l) {
16489
16407
  });
16490
16408
  const { computeStyle: u } = t;
16491
16409
  function d(M) {
16492
- return $[M];
16410
+ return D[M];
16493
16411
  }
16494
16412
  function f(M) {
16495
16413
  return t.computeStyle(M, ["no-fill"], {
@@ -16523,11 +16441,11 @@ function fo(e, t, n, o, i, a, l) {
16523
16441
  fill: r
16524
16442
  }), re.fill === "none" && delete re.fillOpacity;
16525
16443
  const ue = k / 2, ge = O / 2, ze = Fe("circle");
16526
- return be(ze, {
16444
+ return ye(ze, {
16527
16445
  cx: ue,
16528
16446
  cy: ge,
16529
16447
  r: Math.round((k + O) / 4 - N)
16530
- }), be(ze, re), Oe(M, ze), ze;
16448
+ }), ye(ze, re), Oe(M, ze), ze;
16531
16449
  }
16532
16450
  function y(M, k, O, N, re, ue) {
16533
16451
  os(re) && (ue = re, re = 0), re = re || 0, ue = u(ue, {
@@ -16536,14 +16454,14 @@ function fo(e, t, n, o, i, a, l) {
16536
16454
  fill: r
16537
16455
  });
16538
16456
  const ge = Fe("rect");
16539
- return be(ge, {
16457
+ return ye(ge, {
16540
16458
  x: re,
16541
16459
  y: re,
16542
16460
  width: k - re * 2,
16543
16461
  height: O - re * 2,
16544
16462
  rx: N,
16545
16463
  ry: N
16546
- }), be(ge, ue), Oe(M, ge), ge;
16464
+ }), ye(ge, ue), Oe(M, ge), ge;
16547
16465
  }
16548
16466
  function b(M, k, O) {
16549
16467
  O = u(O, ["no-fill"], {
@@ -16551,7 +16469,7 @@ function fo(e, t, n, o, i, a, l) {
16551
16469
  stroke: s
16552
16470
  });
16553
16471
  const N = Fe("path");
16554
- return be(N, { d: k }), be(N, O), Oe(M, N), N;
16472
+ return ye(N, { d: k }), ye(N, O), Oe(M, N), N;
16555
16473
  }
16556
16474
  function w(M, k, O, N) {
16557
16475
  const re = k / 2, ue = O / 2, ze = [
@@ -16566,9 +16484,9 @@ function fo(e, t, n, o, i, a, l) {
16566
16484
  fill: r
16567
16485
  });
16568
16486
  const ut = Fe("polygon");
16569
- return be(ut, {
16487
+ return ye(ut, {
16570
16488
  points: ze
16571
- }), be(ut, N), Oe(M, ut), ut;
16489
+ }), ye(ut, N), Oe(M, ut), ut;
16572
16490
  }
16573
16491
  function x(M, k, O, N) {
16574
16492
  return b(k, O, gt({ "data-marker": M }, N));
@@ -16649,9 +16567,9 @@ function fo(e, t, n, o, i, a, l) {
16649
16567
  }
16650
16568
  function R(M, k, O, N) {
16651
16569
  const re = k + "-" + T(O) + "-" + T(N) + "-" + $c();
16652
- return D(M, re, k, O, N), "url(#" + re + ")";
16570
+ return z(M, re, k, O, N), "url(#" + re + ")";
16653
16571
  }
16654
- function D(M, k, O, N, re) {
16572
+ function z(M, k, O, N, re) {
16655
16573
  {
16656
16574
  const ue = Fe("path", {
16657
16575
  d: "M 1 5 L 11 10 L 1 15 Z",
@@ -16669,7 +16587,7 @@ function fo(e, t, n, o, i, a, l) {
16669
16587
  });
16670
16588
  }
16671
16589
  }
16672
- function z(M, k, O, N) {
16590
+ function $(M, k, O, N) {
16673
16591
  const re = c[k.type]?.icon || k.icon;
16674
16592
  if (re) {
16675
16593
  const ue = n.getScaledPath(re, {
@@ -16684,7 +16602,7 @@ function fo(e, t, n, o, i, a, l) {
16684
16602
  });
16685
16603
  }
16686
16604
  }
16687
- const $ = {
16605
+ const D = {
16688
16606
  event(M, k, O) {
16689
16607
  return "fillOpacity" in O || (O.fillOpacity = Ba), v(M, k.width, k.height, O);
16690
16608
  },
@@ -16697,7 +16615,7 @@ function fo(e, t, n, o, i, a, l) {
16697
16615
  c.startEvent?.strokeWidth || k.strokeWidth
16698
16616
  )
16699
16617
  }, N = d("event")(M, k, O);
16700
- return z(M, k, 18, 18), N;
16618
+ return $(M, k, 18, 18), N;
16701
16619
  },
16702
16620
  endEvent(M, k) {
16703
16621
  const O = d("event")(M, k, {
@@ -16708,7 +16626,7 @@ function fo(e, t, n, o, i, a, l) {
16708
16626
  fill: Qt(k, c.endEvent?.fill || k.fill),
16709
16627
  stroke: mt(k, c.endEvent?.stroke || k.stroke)
16710
16628
  });
16711
- return z(M, k, 18, 18), O;
16629
+ return $(M, k, 18, 18), O;
16712
16630
  },
16713
16631
  gateway(M, k) {
16714
16632
  const O = {
@@ -16879,10 +16797,10 @@ function fo(e, t, n, o, i, a, l) {
16879
16797
  k.radius || ll,
16880
16798
  O
16881
16799
  );
16882
- return m(M, k, "center-middle"), S(M, k), z(M, k, k.iconX, k.iconY), N;
16800
+ return m(M, k, "center-middle"), S(M, k), $(M, k, k.iconX, k.iconY), N;
16883
16801
  }
16884
16802
  };
16885
- this.handlers = $, this._drawPath = b;
16803
+ this.handlers = D, this._drawPath = b;
16886
16804
  }
16887
16805
  io(fo, uo);
16888
16806
  fo.$inject = ["eventBus", "styles", "pathMap", "canvas", "textRenderer", "myOptions"];
@@ -16970,7 +16888,7 @@ function Tb(e, t, n) {
16970
16888
  }
16971
16889
  function Mb() {
16972
16890
  var e = document.getElementById("helper-svg");
16973
- return e || (e = Fe("svg"), be(e, {
16891
+ return e || (e = Fe("svg"), ye(e, {
16974
16892
  id: "helper-svg"
16975
16893
  }), ai(e, {
16976
16894
  visibility: "hidden",
@@ -16995,7 +16913,7 @@ _a.prototype.getDimensions = function(e, t) {
16995
16913
  };
16996
16914
  _a.prototype.layoutText = function(e, t) {
16997
16915
  var n = _e({}, this._config.size, t.box), o = _e({}, this._config.style, t.style), i = Cb(t.align || this._config.align), a = Sb(t.padding !== void 0 ? t.padding : this._config.padding), l = t.fitBox || !1, r = Pb(o), s = e.split(/\u00AD?\r?\n/), c = [], u = n.width - a.left - a.right, d = Fe("text");
16998
- be(d, { x: 0, y: 0 }), be(d, o);
16916
+ ye(d, { x: 0, y: 0 }), ye(d, o);
16999
16917
  var f = Mb();
17000
16918
  for (Oe(f, d); s.length; )
17001
16919
  c.push(Eb(s, u, d));
@@ -17007,7 +16925,7 @@ _a.prototype.layoutText = function(e, t) {
17007
16925
  }, 0), g = a.top;
17008
16926
  i.vertical === "middle" && (g += (n.height - p) / 2), g -= (r || c[0].height) / 4;
17009
16927
  var v = Fe("text");
17010
- be(v, o), ne(c, function(b) {
16928
+ ye(v, o), ne(c, function(b) {
17011
16929
  var w;
17012
16930
  switch (g += r || b.height, i.horizontal) {
17013
16931
  case "left":
@@ -17020,7 +16938,7 @@ _a.prototype.layoutText = function(e, t) {
17020
16938
  w = Math.max(((l ? h : u) - b.width) / 2 + a.left, 0);
17021
16939
  }
17022
16940
  var x = Fe("tspan");
17023
- be(x, { x: w, y: g }), x.textContent = b.text, Oe(v, x);
16941
+ ye(x, { x: w, y: g }), x.textContent = b.text, Oe(v, x);
17024
16942
  }), Yt(d);
17025
16943
  var y = {
17026
16944
  width: h,
@@ -17606,13 +17524,13 @@ function sl(e, t) {
17606
17524
  var n = Fe("g");
17607
17525
  at(n).add(vu), Oe(e, n);
17608
17526
  var o = Fe("circle");
17609
- be(o, {
17527
+ ye(o, {
17610
17528
  cx: 0,
17611
17529
  cy: 0,
17612
17530
  r: 4
17613
17531
  }), at(o).add("djs-visual"), Oe(n, o);
17614
17532
  var i = Fe("circle");
17615
- return be(i, {
17533
+ return ye(i, {
17616
17534
  cx: 0,
17617
17535
  cy: 0,
17618
17536
  r: 10
@@ -17622,14 +17540,14 @@ function Qb(e, t, n, o) {
17622
17540
  var i = Fe("g");
17623
17541
  Oe(e, i);
17624
17542
  var a = 18, l = 6, r = 11, s = tw(t, n, o), c = l + r, u = Fe("rect");
17625
- be(u, {
17543
+ ye(u, {
17626
17544
  x: -a / 2,
17627
17545
  y: -l / 2,
17628
17546
  width: a,
17629
17547
  height: l
17630
17548
  }), at(u).add("djs-visual"), Oe(i, u);
17631
17549
  var d = Fe("rect");
17632
- return be(d, {
17550
+ return ye(d, {
17633
17551
  x: -s / 2,
17634
17552
  y: -c / 2,
17635
17553
  width: s,
@@ -17663,8 +17581,8 @@ function ql(e) {
17663
17581
  }
17664
17582
  function bu(e, t, n, o, i) {
17665
17583
  function a(w, x, _) {
17666
- var m = w.index, E = w.point, S, T, P, R, D, z;
17667
- return m <= 0 || w.bendpoint ? !1 : (S = x[m - 1], T = x[m], P = tl(S, T), R = In(S, T), D = Math.abs(E.x - P.x), z = Math.abs(E.y - P.y), R && D <= _ && z <= _);
17584
+ var m = w.index, E = w.point, S, T, P, R, z, $;
17585
+ return m <= 0 || w.bendpoint ? !1 : (S = x[m - 1], T = x[m], P = tl(S, T), R = In(S, T), z = Math.abs(E.x - P.x), $ = Math.abs(E.y - P.y), R && z <= _ && $ <= _);
17668
17586
  }
17669
17587
  function l(w, x) {
17670
17588
  var _ = w.waypoints, m, E, S, T;
@@ -17685,7 +17603,7 @@ function bu(e, t, n, o, i) {
17685
17603
  }
17686
17604
  function c(w, x) {
17687
17605
  var _ = t.getLayer("overlays"), m = $t('.djs-bendpoints[data-element-id="' + ql(w.id) + '"]', _);
17688
- return !m && x && (m = Fe("g"), be(m, { "data-element-id": w.id }), at(m).add("djs-bendpoints"), Oe(_, m), s(m, "mousedown", w), s(m, "click", w), s(m, "dblclick", w)), m;
17606
+ return !m && x && (m = Fe("g"), ye(m, { "data-element-id": w.id }), at(m).add("djs-bendpoints"), Oe(_, m), s(m, "mousedown", w), s(m, "click", w), s(m, "dblclick", w)), m;
17689
17607
  }
17690
17608
  function u(w, x) {
17691
17609
  return $t(
@@ -17701,7 +17619,7 @@ function bu(e, t, n, o, i) {
17701
17619
  }
17702
17620
  function f(w, x) {
17703
17621
  for (var _ = x.waypoints, m, E, S, T = 1; T < _.length; T++)
17704
- m = _[T - 1], E = _[T], In(m, E) && (S = yu(w, m, E), be(S, { "data-segment-idx": T }), s(S, "mousemove", x));
17622
+ m = _[T - 1], E = _[T], In(m, E) && (S = yu(w, m, E), ye(S, { "data-segment-idx": T }), s(S, "mousemove", x));
17705
17623
  }
17706
17624
  function p(w) {
17707
17625
  ne(Wa("." + vu, w), function(x) {
@@ -17726,14 +17644,14 @@ function bu(e, t, n, o, i) {
17726
17644
  _ && un(_, m.x, m.y);
17727
17645
  }
17728
17646
  function b(w, x, _) {
17729
- var m = u(x.index, w), E = _[x.index - 1], S = _[x.index], T = x.point, P = tl(E, S), R = In(E, S), D, z;
17730
- m && (D = ow(m), z = {
17647
+ var m = u(x.index, w), E = _[x.index - 1], S = _[x.index], T = x.point, P = tl(E, S), R = In(E, S), z, $;
17648
+ m && (z = ow(m), $ = {
17731
17649
  x: T.x - P.x,
17732
17650
  y: T.y - P.y
17733
- }, R === "v" && (z = {
17734
- x: z.y,
17735
- y: z.x
17736
- }), un(D, z.x, z.y));
17651
+ }, R === "v" && ($ = {
17652
+ x: $.y,
17653
+ y: $.x
17654
+ }), un(z, $.x, $.y));
17737
17655
  }
17738
17656
  e.on("connection.changed", function(w) {
17739
17657
  v(w.element);
@@ -17768,7 +17686,7 @@ function bu(e, t, n, o, i) {
17768
17686
  var x = w.element, _ = w.newId;
17769
17687
  if (x.waypoints) {
17770
17688
  var m = c(x);
17771
- m && be(m, { "data-element-id": _ });
17689
+ m && ye(m, { "data-element-id": _ });
17772
17690
  }
17773
17691
  }), this.addHandles = g, this.updateHandles = v, this.getBendpointsContainer = c, this.getSegmentDragger = u;
17774
17692
  }
@@ -18211,7 +18129,7 @@ Sn.prototype.getConnection = function(e) {
18211
18129
  };
18212
18130
  Sn.prototype.createConnectionPreviewGfx = function() {
18213
18131
  var e = Fe("g");
18214
- return be(e, {
18132
+ return ye(e, {
18215
18133
  pointerEvents: "none"
18216
18134
  }), at(e).add(hw), Oe(this._canvas.getActiveLayer(), e), e;
18217
18135
  };
@@ -18881,7 +18799,7 @@ function po(e, t, n, o, i, a, l) {
18881
18799
  var r = this, s = {
18882
18800
  create: function(c) {
18883
18801
  var u = t.getActiveLayer(), d;
18884
- d = c.frame = Fe("rect"), be(d, {
18802
+ d = c.frame = Fe("rect"), ye(d, {
18885
18803
  class: "djs-lasso-overlay",
18886
18804
  width: 1,
18887
18805
  height: 1,
@@ -18891,7 +18809,7 @@ function po(e, t, n, o, i, a, l) {
18891
18809
  },
18892
18810
  update: function(c) {
18893
18811
  var u = c.frame, d = c.bbox;
18894
- be(u, {
18812
+ ye(u, {
18895
18813
  x: d.x,
18896
18814
  y: d.y,
18897
18815
  width: d.width,
@@ -19090,7 +19008,7 @@ function go(e, t) {
19090
19008
  var n = t.cls("djs-outline", ["no-fill"]), o = this;
19091
19009
  function i(a) {
19092
19010
  var l = Fe("rect");
19093
- return be(l, _e({
19011
+ return ye(l, _e({
19094
19012
  x: 0,
19095
19013
  y: 0,
19096
19014
  rx: 4,
@@ -19110,7 +19028,7 @@ go.prototype.updateShapeOutline = function(e, t) {
19110
19028
  var n = !1, o = this._getProviders();
19111
19029
  o.length && ne(o, function(i) {
19112
19030
  n = n || i.updateOutline(t, e);
19113
- }), n || be(e, {
19031
+ }), n || ye(e, {
19114
19032
  x: -this.offset,
19115
19033
  y: -this.offset,
19116
19034
  width: t.width + this.offset * 2,
@@ -19119,7 +19037,7 @@ go.prototype.updateShapeOutline = function(e, t) {
19119
19037
  };
19120
19038
  go.prototype.updateConnectionOutline = function(e, t) {
19121
19039
  var n = dn(t);
19122
- be(e, {
19040
+ ye(e, {
19123
19041
  x: n.x - this.offset,
19124
19042
  y: n.y - this.offset,
19125
19043
  width: n.width + this.offset * 2,
@@ -19162,7 +19080,7 @@ or.prototype._updateMultiSelectionOutline = function(e) {
19162
19080
  var n = e.length > 1, o = this._canvas.getContainer();
19163
19081
  if (at(o)[n ? "add" : "remove"]("djs-multi-select"), !!n) {
19164
19082
  var i = zw(dn(e)), a = Fe("rect");
19165
- be(a, _e({
19083
+ ye(a, _e({
19166
19084
  rx: 3
19167
19085
  }, i)), at(a).add("djs-selection-outline"), Oe(t, a);
19168
19086
  }
@@ -19289,7 +19207,7 @@ function Au(e, t, n, o) {
19289
19207
  var c = s.context, u = c.shapes, d = c.allDraggedElements, f = i(u);
19290
19208
  if (!c.dragGroup) {
19291
19209
  var p = Fe("g");
19292
- be(p, n.cls("djs-drag-group", ["no-events"]));
19210
+ ye(p, n.cls("djs-drag-group", ["no-events"]));
19293
19211
  var h = t.getActiveLayer();
19294
19212
  Oe(h, p), c.dragGroup = p;
19295
19213
  }
@@ -19656,7 +19574,7 @@ var $s = "djs-resizing", zs = "resize-not-ok", ux = 500;
19656
19574
  function Bu(e, t, n) {
19657
19575
  function o(a) {
19658
19576
  var l = a.shape, r = a.newBounds, s = a.frame;
19659
- s || (s = a.frame = n.addFrame(l, t.getActiveLayer()), t.addMarker(l, $s)), r.width > 5 && be(s, { x: r.x, width: r.width }), r.height > 5 && be(s, { y: r.y, height: r.height }), a.canExecute ? at(s).remove(zs) : at(s).add(zs);
19577
+ s || (s = a.frame = n.addFrame(l, t.getActiveLayer()), t.addMarker(l, $s)), r.width > 5 && ye(s, { x: r.x, width: r.width }), r.height > 5 && ye(s, { y: r.y, height: r.height }), a.canExecute ? at(s).remove(zs) : at(s).add(zs);
19660
19578
  }
19661
19579
  function i(a) {
19662
19580
  var l = a.shape, r = a.frame;
@@ -19696,14 +19614,14 @@ Yn.prototype._createResizer = function(e, t, n, o) {
19696
19614
  var i = this._getResizersParent(), a = fx(o), l = Fe("g");
19697
19615
  at(l).add(Ko), at(l).add(Ko + "-" + e.id), at(l).add(Ko + "-" + o), Oe(i, l);
19698
19616
  var r = Fe("rect");
19699
- be(r, {
19617
+ ye(r, {
19700
19618
  x: -Wi / 2 + a.x,
19701
19619
  y: -Wi / 2 + a.y,
19702
19620
  width: Wi,
19703
19621
  height: Wi
19704
19622
  }), at(r).add(Ko + "-visual"), Oe(l, r);
19705
19623
  var s = Fe("rect");
19706
- return be(s, {
19624
+ return ye(s, {
19707
19625
  x: -Ui / 2 + a.x,
19708
19626
  y: -Ui / 2 + a.y,
19709
19627
  width: Ui,
@@ -20102,15 +20020,15 @@ Kn.prototype.snap = function(e, t) {
20102
20020
  };
20103
20021
  Kn.prototype._createLine = function(e) {
20104
20022
  var t = this._canvas.getLayer("snap"), n = Fe("path");
20105
- return be(n, { d: "M0,0 L0,0" }), at(n).add("djs-snap-line"), Oe(t, n), {
20023
+ return ye(n, { d: "M0,0 L0,0" }), at(n).add("djs-snap-line"), Oe(t, n), {
20106
20024
  update: function(o) {
20107
- Ct(o) ? e === "horizontal" ? be(n, {
20025
+ Ct(o) ? e === "horizontal" ? ye(n, {
20108
20026
  d: "M-100000," + o + " L+100000," + o,
20109
20027
  display: ""
20110
- }) : be(n, {
20028
+ }) : ye(n, {
20111
20029
  d: "M " + o + ",-100000 L " + o + ", +100000",
20112
20030
  display: ""
20113
- }) : be(n, { display: "none" });
20031
+ }) : ye(n, { display: "none" });
20114
20032
  }
20115
20033
  };
20116
20034
  };
@@ -20645,10 +20563,10 @@ const Gx = {
20645
20563
  du
20646
20564
  ]
20647
20565
  });
20648
- const R = r.get("canvas"), D = r.get("elementFactory");
20566
+ const R = r.get("canvas"), z = r.get("elementFactory");
20649
20567
  c();
20650
- const z = D.createRoot();
20651
- R.setRootElement(z), u();
20568
+ const $ = z.createRoot();
20569
+ R.setRootElement($), u();
20652
20570
  };
20653
20571
  St(() => {
20654
20572
  f();
@@ -20789,21 +20707,21 @@ const Gx = {
20789
20707
  const E = p.value.length, S = o.columns, T = S.length;
20790
20708
  for (let P = 0; P < E; P++) {
20791
20709
  const R = p.value[P];
20792
- for (let D = 0; D < T; D++) {
20793
- const z = S[D];
20794
- if (w(z.config, P).display !== !1 && z.rule && z.rule.length > 0) {
20795
- const $ = z.rule.length;
20796
- for (let M = 0; M < $; M++) {
20797
- const k = z.rule[M];
20798
- if (k.pattern = k.pattern ? k.pattern + "" : "", k.pattern && !cn(R[z.prop || ""]) && !new RegExp(k.pattern.substring(1, k.pattern.length - 1)).test(
20799
- R[z.prop || ""]
20710
+ for (let z = 0; z < T; z++) {
20711
+ const $ = S[z];
20712
+ if (w($.config, P).display !== !1 && $.rule && $.rule.length > 0) {
20713
+ const D = $.rule.length;
20714
+ for (let M = 0; M < D; M++) {
20715
+ const k = $.rule[M];
20716
+ if (k.pattern = k.pattern ? k.pattern + "" : "", k.pattern && !cn(R[$.prop || ""]) && !new RegExp(k.pattern.substring(1, k.pattern.length - 1)).test(
20717
+ R[$.prop || ""]
20800
20718
  ))
20801
- return m.info = `${a("第")}${P + 1}${a("行")},${a("第")}${D + 1}${a("列")},${a(
20802
- z.label
20719
+ return m.info = `${a("第")}${P + 1}${a("行")},${a("第")}${z + 1}${a("列")},${a(
20720
+ $.label
20803
20721
  )}:${a(k.message)}`, m.isOk = !1, m;
20804
- if (k.required && cn(R[z.prop || ""]))
20805
- return m.isOk = !1, m.info = `${a("第")}${P + 1}${a("行")},${a("第")}${D + 1}${a("列")},${a(
20806
- z.label
20722
+ if (k.required && cn(R[$.prop || ""]))
20723
+ return m.isOk = !1, m.info = `${a("第")}${P + 1}${a("行")},${a("第")}${z + 1}${a("列")},${a(
20724
+ $.label
20807
20725
  )}:${a("不能为空")}`, m;
20808
20726
  }
20809
20727
  }
@@ -20839,21 +20757,21 @@ const Gx = {
20839
20757
  getTableData: () => p.value,
20840
20758
  rowChange: h
20841
20759
  }), (m, E) => {
20842
- const S = B("j-comp"), T = B("el-form-item"), P = B("el-col"), R = B("j-button"), D = B("el-row");
20843
- return C(), I(we, null, [
20760
+ const S = B("j-comp"), T = B("el-form-item"), P = B("el-col"), R = B("j-button"), z = B("el-row");
20761
+ return C(), I(be, null, [
20844
20762
  F("div", He({ class: "j-input-cards" }, m.$attrs), [
20845
- (C(!0), I(we, null, Ee(p.value, (z, $) => (C(), I("div", {
20763
+ (C(!0), I(be, null, Ee(p.value, ($, D) => (C(), I("div", {
20846
20764
  class: "j-input-cards-item",
20847
- key: z.i,
20765
+ key: $.i,
20848
20766
  style: { "margin-bottom": "8px" }
20849
20767
  }, [
20850
- K(D, { gutter: e.gutter }, {
20768
+ K(z, { gutter: e.gutter }, {
20851
20769
  default: V(() => [
20852
- (C(!0), I(we, null, Ee(e.columns, (M) => (C(), H(P, {
20770
+ (C(!0), I(be, null, Ee(e.columns, (M) => (C(), H(P, {
20853
20771
  key: M.prop,
20854
20772
  span: M.config?.span || e.span || 24,
20855
20773
  style: Ce({
20856
- "margin-bottom": (M.getInputType ? M.getInputType(z) : M.inputType) == "j-input-rows" ? "8px" : void 0
20774
+ "margin-bottom": (M.getInputType ? M.getInputType($) : M.inputType) == "j-input-rows" ? "8px" : void 0
20857
20775
  })
20858
20776
  }, {
20859
20777
  default: V(() => [
@@ -20865,11 +20783,11 @@ const Gx = {
20865
20783
  required: M.config?.required
20866
20784
  }, {
20867
20785
  default: V(() => [
20868
- K(S, He({ ref_for: !0 }, M, { row: z }), null, 16, ["row"])
20786
+ K(S, He({ ref_for: !0 }, M, { row: $ }), null, 16, ["row"])
20869
20787
  ]),
20870
20788
  _: 2
20871
20789
  }, 1032, ["label-width", "label", "extra", "tooltip", "required"]), [
20872
- [Xo, w(M.config, $).display !== !1]
20790
+ [Xo, w(M.config, D).display !== !1]
20873
20791
  ])
20874
20792
  ]),
20875
20793
  _: 2
@@ -20881,7 +20799,7 @@ const Gx = {
20881
20799
  shape: "circle",
20882
20800
  icon: "mdi:close",
20883
20801
  danger: "",
20884
- onClick: (M) => v($)
20802
+ onClick: (M) => v(D)
20885
20803
  }, null, 8, ["onClick"])) : Y("", !0)
20886
20804
  ]),
20887
20805
  _: 2