@a2simcode/ui 0.0.188 → 0.0.189

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 (351) hide show
  1. package/.cursor/skills/ui-component-helper/README.md +86 -86
  2. package/.cursor/skills/ui-component-helper/SKILL.md +115 -115
  3. package/LICENSE +53 -53
  4. package/README.md +156 -156
  5. package/dist/components/input-layer/index.d.ts +2 -0
  6. package/dist/components/input-layer/src/input-layer.vue.d.ts +2 -0
  7. package/dist/components/table-panel/index.d.ts +3 -0
  8. package/dist/components/table-panel/src/table-panel.vue.d.ts +8 -0
  9. package/dist/simcode-ui.es.js +684 -679
  10. package/dist/simcode-ui.umd.js +2 -2
  11. package/dist/stats.html +1 -1
  12. package/dist/ui.css +1 -1
  13. package/docs/components/autocomplete.md +89 -89
  14. package/docs/components/barcode.md +101 -101
  15. package/docs/components/button-select.md +24 -24
  16. package/docs/components/button.md +117 -117
  17. package/docs/components/buttons.md +119 -119
  18. package/docs/components/cascader-select.md +114 -114
  19. package/docs/components/checkbox.md +114 -114
  20. package/docs/components/code-mirror.md +85 -85
  21. package/docs/components/collapse.md +26 -26
  22. package/docs/components/comp.md +71 -71
  23. package/docs/components/count-up.md +24 -24
  24. package/docs/components/count.md +24 -24
  25. package/docs/components/data-panel.md +24 -24
  26. package/docs/components/date.md +76 -76
  27. package/docs/components/dialog-full.md +112 -112
  28. package/docs/components/dialog.md +127 -127
  29. package/docs/components/divider.md +24 -24
  30. package/docs/components/drawer.md +127 -127
  31. package/docs/components/dynamic-layer.md +118 -118
  32. package/docs/components/echarts.md +72 -72
  33. package/docs/components/editor.md +24 -24
  34. package/docs/components/form.md +72 -72
  35. package/docs/components/guid.md +39 -39
  36. package/docs/components/hpanel.md +24 -24
  37. package/docs/components/icon.md +56 -56
  38. package/docs/components/input-button.md +24 -24
  39. package/docs/components/input-code.md +24 -24
  40. package/docs/components/input-color.md +114 -114
  41. package/docs/components/input-layer.md +56 -56
  42. package/docs/components/input-rows.md +370 -370
  43. package/docs/components/input-tag.md +50 -50
  44. package/docs/components/input.md +129 -129
  45. package/docs/components/layer-form.md +61 -61
  46. package/docs/components/layer.md +127 -127
  47. package/docs/components/layout.md +132 -132
  48. package/docs/components/map.md +24 -24
  49. package/docs/components/menu.md +121 -121
  50. package/docs/components/meta/button.ts +212 -212
  51. package/docs/components/meta/buttons.ts +76 -76
  52. package/docs/components/meta/code-mirror.ts +108 -108
  53. package/docs/components/meta/comp.ts +236 -236
  54. package/docs/components/meta/date.ts +267 -267
  55. package/docs/components/meta/echarts.ts +64 -64
  56. package/docs/components/meta/form-item.ts +50 -50
  57. package/docs/components/meta/form.ts +181 -181
  58. package/docs/components/meta/input-button.ts +165 -165
  59. package/docs/components/meta/input-cards.ts +112 -112
  60. package/docs/components/meta/input-code.ts +151 -151
  61. package/docs/components/meta/input-color.ts +243 -243
  62. package/docs/components/meta/input-layer.ts +382 -382
  63. package/docs/components/meta/input-rows.ts +119 -119
  64. package/docs/components/meta/layer-form.ts +56 -56
  65. package/docs/components/meta/map.ts +68 -68
  66. package/docs/components/meta/panel.ts +152 -152
  67. package/docs/components/meta/slider.ts +270 -270
  68. package/docs/components/meta/table-panel.ts +237 -237
  69. package/docs/components/meta/table.ts +391 -391
  70. package/docs/components/meta/tabs.ts +146 -146
  71. package/docs/components/meta/title.ts +91 -91
  72. package/docs/components/meta/tree-select.ts +199 -199
  73. package/docs/components/meta/tree.ts +219 -219
  74. package/docs/components/meta/vpanel.ts +19 -19
  75. package/docs/components/meta/workflow-viewer.ts +55 -55
  76. package/docs/components/number.md +124 -124
  77. package/docs/components/page.md +102 -102
  78. package/docs/components/panel.md +37 -37
  79. package/docs/components/radio.md +87 -87
  80. package/docs/components/rate.md +71 -71
  81. package/docs/components/select.md +133 -133
  82. package/docs/components/slider-captcha.md +41 -41
  83. package/docs/components/slider.md +101 -101
  84. package/docs/components/switch.md +90 -90
  85. package/docs/components/table-panel.md +251 -251
  86. package/docs/components/table.md +391 -391
  87. package/docs/components/tabs.md +26 -26
  88. package/docs/components/title.md +24 -24
  89. package/docs/components/tree.md +207 -207
  90. package/docs/components/upload.md +117 -117
  91. package/docs/components/workflow-viewer.md +21 -21
  92. package/docs/components/workflow.md +21 -21
  93. package/docs/examples/autocomplete/advanced.vue +35 -35
  94. package/docs/examples/autocomplete/basic.vue +32 -32
  95. package/docs/examples/autocomplete/clearable.vue +33 -33
  96. package/docs/examples/autocomplete/custom-template.vue +49 -49
  97. package/docs/examples/autocomplete/disabled.vue +33 -33
  98. package/docs/examples/autocomplete/icon.vue +37 -37
  99. package/docs/examples/barcode/all-types.vue +380 -380
  100. package/docs/examples/barcode/basic.vue +14 -14
  101. package/docs/examples/barcode/props-appearance.vue +243 -243
  102. package/docs/examples/barcode/props-geometry.vue +143 -143
  103. package/docs/examples/barcode/props-logic.vue +216 -216
  104. package/docs/examples/barcode/props-symbology.vue +199 -199
  105. package/docs/examples/barcode/props-text.vue +268 -268
  106. package/docs/examples/button/basic.vue +7 -7
  107. package/docs/examples/button/danger-ghost.vue +17 -17
  108. package/docs/examples/button/disabled.vue +10 -10
  109. package/docs/examples/button/loading.vue +6 -6
  110. package/docs/examples/button/shape.vue +7 -7
  111. package/docs/examples/button/size.vue +14 -14
  112. package/docs/examples/button/type.vue +10 -10
  113. package/docs/examples/button-select/basic.vue +19 -19
  114. package/docs/examples/buttons/basic.vue +62 -62
  115. package/docs/examples/buttons/disabled.vue +36 -36
  116. package/docs/examples/buttons/dropdown.vue +63 -63
  117. package/docs/examples/buttons/group.vue +52 -52
  118. package/docs/examples/buttons/link.vue +47 -47
  119. package/docs/examples/buttons/popup.vue +39 -39
  120. package/docs/examples/buttons/size.vue +45 -45
  121. package/docs/examples/cascader-select/basic.vue +28 -28
  122. package/docs/examples/cascader-select/clearable.vue +34 -34
  123. package/docs/examples/cascader-select/disabled.vue +43 -43
  124. package/docs/examples/cascader-select/filterable.vue +37 -37
  125. package/docs/examples/cascader-select/methods.vue +84 -84
  126. package/docs/examples/cascader-select/multiple.vue +38 -38
  127. package/docs/examples/cascader-select/slot.vue +45 -45
  128. package/docs/examples/checkbox/basic.vue +18 -18
  129. package/docs/examples/checkbox/button.vue +19 -19
  130. package/docs/examples/checkbox/color.vue +25 -25
  131. package/docs/examples/checkbox/disabled.vue +17 -17
  132. package/docs/examples/checkbox/min-max.vue +20 -20
  133. package/docs/examples/checkbox/mixed.vue +56 -56
  134. package/docs/examples/checkbox/size.vue +28 -28
  135. package/docs/examples/code-mirror/basic.vue +11 -11
  136. package/docs/examples/code-mirror/events.vue +42 -42
  137. package/docs/examples/code-mirror/height.vue +25 -25
  138. package/docs/examples/code-mirror/mode.vue +33 -33
  139. package/docs/examples/code-mirror/readonly.vue +14 -14
  140. package/docs/examples/collapse/basic.vue +82 -82
  141. package/docs/examples/comp/basic.vue +7 -7
  142. package/docs/examples/comp/collapse.vue +38 -38
  143. package/docs/examples/comp/tabs.vue +38 -38
  144. package/docs/examples/count/basic.vue +101 -101
  145. package/docs/examples/count-up/basic.vue +89 -89
  146. package/docs/examples/data-panel/basic.vue +110 -110
  147. package/docs/examples/date/basic.vue +73 -73
  148. package/docs/examples/date/default-value.vue +59 -59
  149. package/docs/examples/date/format.vue +75 -75
  150. package/docs/examples/date/range.vue +66 -66
  151. package/docs/examples/date/types.vue +79 -79
  152. package/docs/examples/decorated-title/basic.vue +31 -31
  153. package/docs/examples/dialog/basic.vue +36 -36
  154. package/docs/examples/dialog/custom-buttons.vue +44 -44
  155. package/docs/examples/dialog/fullscreen.vue +23 -23
  156. package/docs/examples/dialog/no-mask.vue +17 -17
  157. package/docs/examples/dialog/size.vue +44 -44
  158. package/docs/examples/dialog/steps.vue +57 -57
  159. package/docs/examples/dialog-full/basic.vue +29 -29
  160. package/docs/examples/dialog-full/custom-buttons.vue +45 -45
  161. package/docs/examples/dialog-full/no-buttons.vue +18 -18
  162. package/docs/examples/dialog-full/no-header.vue +27 -27
  163. package/docs/examples/dialog-full/steps.vue +71 -71
  164. package/docs/examples/divider/basic.vue +52 -52
  165. package/docs/examples/drawer/basic.vue +35 -35
  166. package/docs/examples/drawer/custom-buttons.vue +34 -34
  167. package/docs/examples/drawer/direction.vue +47 -47
  168. package/docs/examples/drawer/mask.vue +36 -36
  169. package/docs/examples/drawer/no-buttons.vue +20 -20
  170. package/docs/examples/drawer/size.vue +28 -28
  171. package/docs/examples/dynamic-layer/basic.vue +33 -33
  172. package/docs/examples/dynamic-layer/custom-buttons.vue +43 -43
  173. package/docs/examples/dynamic-layer/form.vue +73 -73
  174. package/docs/examples/dynamic-layer/steps.vue +52 -52
  175. package/docs/examples/dynamic-layer/types.vue +40 -40
  176. package/docs/examples/echarts/basic.vue +31 -31
  177. package/docs/examples/echarts/dynamic.vue +43 -43
  178. package/docs/examples/echarts/line.vue +46 -46
  179. package/docs/examples/echarts/pie.vue +44 -44
  180. package/docs/examples/editor/basic.vue +15 -15
  181. package/docs/examples/form/basic.vue +665 -665
  182. package/docs/examples/form/init.vue +76 -76
  183. package/docs/examples/form/master-detail.vue +203 -203
  184. package/docs/examples/form/rule-format.vue +179 -179
  185. package/docs/examples/guid/basic.vue +10 -10
  186. package/docs/examples/guid/size.vue +13 -13
  187. package/docs/examples/hpanel/basic.vue +79 -79
  188. package/docs/examples/icon/basic.vue +9 -9
  189. package/docs/examples/icon/rotate-flip.vue +9 -9
  190. package/docs/examples/icon/size.vue +7 -7
  191. package/docs/examples/input/basic.vue +10 -10
  192. package/docs/examples/input/clearable.vue +12 -12
  193. package/docs/examples/input/disabled.vue +6 -6
  194. package/docs/examples/input/icon.vue +23 -23
  195. package/docs/examples/input/password.vue +18 -18
  196. package/docs/examples/input/size.vue +13 -13
  197. package/docs/examples/input/textarea.vue +25 -25
  198. package/docs/examples/input/word-limit.vue +28 -28
  199. package/docs/examples/input-button/basic.vue +33 -33
  200. package/docs/examples/input-code/basic.vue +29 -29
  201. package/docs/examples/input-color/basic.vue +10 -10
  202. package/docs/examples/input-color/disabled.vue +13 -13
  203. package/docs/examples/input-color/format.vue +17 -17
  204. package/docs/examples/input-color/no-alpha.vue +13 -13
  205. package/docs/examples/input-color/only-button.vue +15 -15
  206. package/docs/examples/input-color/predefine.vue +31 -31
  207. package/docs/examples/input-color/size.vue +15 -15
  208. package/docs/examples/input-layer/basic.vue +86 -86
  209. package/docs/examples/input-layer/render-vnode-page.vue +160 -160
  210. package/docs/examples/input-layer/render-vnode.vue +127 -127
  211. package/docs/examples/input-rows/basic.vue +73 -73
  212. package/docs/examples/input-rows/drag.vue +48 -48
  213. package/docs/examples/input-rows/layer-form.vue +85 -85
  214. package/docs/examples/input-rows/nested.vue +91 -91
  215. package/docs/examples/input-tag/basic.vue +27 -27
  216. package/docs/examples/input-tag/colors.vue +23 -23
  217. package/docs/examples/input-tag/readonly.vue +17 -17
  218. package/docs/examples/layer/basic.vue +43 -43
  219. package/docs/examples/layer/custom-buttons.vue +61 -61
  220. package/docs/examples/layer/drawer.vue +37 -37
  221. package/docs/examples/layer/full.vue +38 -38
  222. package/docs/examples/layer/modal.vue +34 -34
  223. package/docs/examples/layer/steps.vue +46 -46
  224. package/docs/examples/layer-form/basic.vue +76 -76
  225. package/docs/examples/layer-form/config.vue +82 -82
  226. package/docs/examples/layer-form/size.vue +72 -72
  227. package/docs/examples/layout/basic.vue +36 -36
  228. package/docs/examples/layout/custom-size.vue +50 -50
  229. package/docs/examples/layout/disable-move.vue +37 -37
  230. package/docs/examples/layout/hide-mid-when-narrow.vue +96 -96
  231. package/docs/examples/layout/min-size.vue +73 -73
  232. package/docs/examples/layout/percent-size.vue +80 -80
  233. package/docs/examples/layout/simple.vue +22 -22
  234. package/docs/examples/layout/top-side.vue +34 -34
  235. package/docs/examples/map/basic.vue +22 -22
  236. package/docs/examples/menu/basic.vue +58 -58
  237. package/docs/examples/menu/collapsed.vue +49 -49
  238. package/docs/examples/menu/horizontal.vue +44 -44
  239. package/docs/examples/menu/selection-test.vue +104 -104
  240. package/docs/examples/menu/theme.vue +46 -46
  241. package/docs/examples/menu/vertical.vue +46 -46
  242. package/docs/examples/number/advanced.vue +143 -143
  243. package/docs/examples/number/basic.vue +63 -63
  244. package/docs/examples/number/disabled.vue +49 -49
  245. package/docs/examples/number/size.vue +42 -42
  246. package/docs/examples/number/slots.vue +123 -123
  247. package/docs/examples/number/step-strictly.vue +41 -41
  248. package/docs/examples/number/step.vue +47 -47
  249. package/docs/examples/page/basic.vue +41 -41
  250. package/docs/examples/page/code-table-model.vue +428 -428
  251. package/docs/examples/page/dept-user-management.vue +211 -211
  252. package/docs/examples/page/init.vue +87 -87
  253. package/docs/examples/page/log.vue +453 -453
  254. package/docs/examples/page/user-management.vue +313 -313
  255. package/docs/examples/panel/tool-buttons.vue +18 -18
  256. package/docs/examples/radio/basic.vue +17 -17
  257. package/docs/examples/radio/button.vue +17 -17
  258. package/docs/examples/radio/color.vue +18 -18
  259. package/docs/examples/radio/disabled.vue +17 -17
  260. package/docs/examples/radio/size.vue +29 -29
  261. package/docs/examples/rate/basic.vue +24 -24
  262. package/docs/examples/rate/half.vue +24 -24
  263. package/docs/examples/rate/readonly.vue +11 -11
  264. package/docs/examples/rate/text.vue +37 -37
  265. package/docs/examples/select/basic.vue +16 -16
  266. package/docs/examples/select/clearable.vue +22 -22
  267. package/docs/examples/select/disabled.vue +31 -31
  268. package/docs/examples/select/filterable.vue +24 -24
  269. package/docs/examples/select/group.vue +23 -23
  270. package/docs/examples/select/icon.vue +16 -16
  271. package/docs/examples/select/multiple.vue +18 -18
  272. package/docs/examples/select/size.vue +39 -39
  273. package/docs/examples/slider/basic.vue +42 -42
  274. package/docs/examples/slider/disabled.vue +17 -17
  275. package/docs/examples/slider/marks.vue +30 -30
  276. package/docs/examples/slider/size.vue +37 -37
  277. package/docs/examples/slider/tooltip.vue +36 -36
  278. package/docs/examples/slider/vertical.vue +26 -26
  279. package/docs/examples/slider-captcha/basic.vue +44 -44
  280. package/docs/examples/slider-captcha/custom.vue +48 -48
  281. package/docs/examples/switch/basic.vue +16 -16
  282. package/docs/examples/switch/disabled.vue +13 -13
  283. package/docs/examples/switch/loading.vue +13 -13
  284. package/docs/examples/switch/size.vue +15 -15
  285. package/docs/examples/switch/text.vue +13 -13
  286. package/docs/examples/table/action-filter.vue +126 -126
  287. package/docs/examples/table/actions.vue +116 -116
  288. package/docs/examples/table/add-row.vue +103 -103
  289. package/docs/examples/table/basic.vue +168 -168
  290. package/docs/examples/table/checkbox-layout.vue +68 -68
  291. package/docs/examples/table/custom-layout.vue +115 -115
  292. package/docs/examples/table/dynamic-type.vue +73 -73
  293. package/docs/examples/table/editable.vue +262 -262
  294. package/docs/examples/table/field-selection.vue +87 -87
  295. package/docs/examples/table/frozen-column.vue +140 -140
  296. package/docs/examples/table/height-mode.vue +99 -99
  297. package/docs/examples/table/icon.vue +85 -85
  298. package/docs/examples/table/link.vue +66 -66
  299. package/docs/examples/table/multiple.vue +188 -188
  300. package/docs/examples/table/pagination.vue +151 -151
  301. package/docs/examples/table/single-selection.vue +64 -64
  302. package/docs/examples/table/sub-table-lazy.vue +97 -97
  303. package/docs/examples/table/sub-table.vue +103 -103
  304. package/docs/examples/table/tag.vue +43 -43
  305. package/docs/examples/table/tree-column.vue +119 -119
  306. package/docs/examples/table/tree-data.vue +141 -141
  307. package/docs/examples/table/tree-default-expand-all.vue +60 -60
  308. package/docs/examples/table/tree-lazy.vue +80 -80
  309. package/docs/examples/table/tree-set-selection.vue +75 -75
  310. package/docs/examples/table-panel/basic.vue +229 -229
  311. package/docs/examples/table-panel/batch-operations.vue +285 -285
  312. package/docs/examples/table-panel/button-visibility.vue +88 -88
  313. package/docs/examples/table-panel/filter.vue +219 -219
  314. package/docs/examples/table-panel/get-selection.vue +111 -111
  315. package/docs/examples/table-panel/mask.vue +151 -151
  316. package/docs/examples/table-panel/multiple-selection.vue +243 -243
  317. package/docs/examples/table-panel/pagination.vue +133 -133
  318. package/docs/examples/table-panel/sub-table-lazy.vue +118 -118
  319. package/docs/examples/table-panel/tree-parent-key.vue +67 -67
  320. package/docs/examples/tabs/basic.vue +98 -98
  321. package/docs/examples/time/base.vue +67 -67
  322. package/docs/examples/title/basic.vue +87 -87
  323. package/docs/examples/tree/accordion.vue +46 -46
  324. package/docs/examples/tree/basic.vue +50 -50
  325. package/docs/examples/tree/buttons.vue +53 -53
  326. package/docs/examples/tree/checkable.vue +52 -52
  327. package/docs/examples/tree/custom-keys.vue +39 -39
  328. package/docs/examples/tree/default-expanded.vue +52 -52
  329. package/docs/examples/tree/draggable.vue +29 -29
  330. package/docs/examples/tree/expand-on-click.vue +39 -39
  331. package/docs/examples/tree/flat-data.vue +20 -20
  332. package/docs/examples/tree/icon.vue +40 -40
  333. package/docs/examples/tree/load-data.vue +37 -37
  334. package/docs/examples/tree/methods.vue +74 -74
  335. package/docs/examples/tree/theme.vue +33 -33
  336. package/docs/examples/tree-select/basic.vue +47 -47
  337. package/docs/examples/upload/accept.vue +31 -31
  338. package/docs/examples/upload/basic.vue +12 -12
  339. package/docs/examples/upload/drag.vue +11 -11
  340. package/docs/examples/upload/image.vue +17 -17
  341. package/docs/examples/upload/limit.vue +20 -20
  342. package/docs/examples/upload/multiple.vue +17 -17
  343. package/docs/examples/upload/readonly.vue +17 -17
  344. package/docs/examples/utils/cipher.vue +160 -160
  345. package/docs/examples/utils/common.vue +153 -153
  346. package/docs/examples/utils/date.vue +56 -56
  347. package/docs/examples/utils/dom.vue +52 -52
  348. package/docs/examples/utils/is.vue +70 -70
  349. package/docs/examples/workflow/basic.vue +265 -265
  350. package/docs/examples/workflow-viewer/basic.vue +248 -248
  351. package/package.json +23 -23
@@ -1,4 +1,4 @@
1
- import { Fragment as ke, computed as O, createBlock as F, createCommentVNode as ee, createElementBlock as H, createElementVNode as B, createSlots as Fn, createTextVNode as on, createVNode as X, defineComponent as pe, getCurrentInstance as fc, guardReactiveProps as Mo, h as bi, inject as Rd, mergeModels as Eo, mergeProps as Ne, nextTick as zt, normalizeClass as Ue, normalizeProps as ta, normalizeStyle as le, onBeforeUnmount as jo, onMounted as Mt, onUnmounted as Po, openBlock as S, provide as Ed, reactive as aa, ref as z, render as _i, renderList as Oe, renderSlot as Ke, resolveComponent as $, resolveDirective as Bo, resolveDynamicComponent as Ta, shallowRef as Oi, toDisplayString as we, unref as W, useModel as To, useSlots as Td, useTemplateRef as ka, vShow as wi, watch as at, watchEffect as hc, withCtx as J, withDirectives as $n, withKeys as pr, withModifiers as Ft } from "vue";
1
+ import { Fragment as ke, computed as O, createBlock as F, createCommentVNode as ee, createElementBlock as H, createElementVNode as B, createSlots as Fn, createTextVNode as on, createVNode as X, defineComponent as pe, getCurrentInstance as fc, guardReactiveProps as Mo, h as bi, inject as Rd, mergeModels as Eo, mergeProps as We, nextTick as zt, normalizeClass as Ne, normalizeProps as ta, normalizeStyle as le, onBeforeUnmount as jo, onMounted as Mt, onUnmounted as Po, openBlock as S, provide as Ed, reactive as aa, ref as z, render as _i, renderList as Oe, renderSlot as Ke, resolveComponent as $, resolveDirective as Bo, resolveDynamicComponent as Ta, shallowRef as Oi, toDisplayString as we, unref as W, useModel as To, useSlots as Td, useTemplateRef as ka, vShow as wi, watch as at, watchEffect as hc, withCtx as J, withDirectives as $n, withKeys as pr, withModifiers as Ft } from "vue";
2
2
  import { Icon as Bl, getIcon as Sa } from "@iconify/vue";
3
3
  import pc from "dayjs";
4
4
  import Ad from "sortablejs";
@@ -56,7 +56,7 @@ function br(e) {
56
56
  function Mf(e, t) {
57
57
  return toString.call(e) === `[object ${t}]`;
58
58
  }
59
- function N1(e) {
59
+ function V1(e) {
60
60
  return e !== null && Mf(e, "Object");
61
61
  }
62
62
  var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array.isArray(e) && e.length === 0 || typeof e == "object" && Object.keys(e).length === 0), jf = /* @__PURE__ */ pe({
@@ -85,10 +85,10 @@ var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
85
85
  color: t.color,
86
86
  icon: n.value
87
87
  }));
88
- return (o, i) => e.isDiv ? (S(), H("div", Ne({ key: 0 }, o.$attrs, {
88
+ return (o, i) => e.isDiv ? (S(), H("div", We({ key: 0 }, o.$attrs, {
89
89
  class: "j-icon jicon",
90
90
  style: { height: `${e.size}px` }
91
- }), [X(W(Bl), Ne(a.value, {
91
+ }), [X(W(Bl), We(a.value, {
92
92
  height: `${e.size}px`,
93
93
  width: `${e.size}px`,
94
94
  mode: "svg",
@@ -97,7 +97,7 @@ var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
97
97
  "height",
98
98
  "width",
99
99
  "style"
100
- ])], 16)) : (S(), H("span", Ne({ key: 1 }, o.$attrs, { class: "jicon" }), [X(W(Bl), Ne(a.value, {
100
+ ])], 16)) : (S(), H("span", We({ key: 1 }, o.$attrs, { class: "jicon" }), [X(W(Bl), We(a.value, {
101
101
  height: `${e.size}px`,
102
102
  width: `${e.size}px`,
103
103
  mode: "svg",
@@ -184,7 +184,7 @@ var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
184
184
  ref_key: "buttonNodeRef",
185
185
  ref: r,
186
186
  type: "button",
187
- class: Ue(["j-button", {
187
+ class: Ne(["j-button", {
188
188
  "j-button-primary": e.type == "primary",
189
189
  "j-button-success": e.type == "success",
190
190
  "j-button-default": e.type == "default",
@@ -303,10 +303,10 @@ function Il(e, t, n) {
303
303
  var ei = (e) => {
304
304
  let t = parseFloat(e);
305
305
  return isNaN(t) ? 0 : (t = Math.round(e * 100) / 100, t);
306
- }, W1 = function(e, t, n) {
306
+ }, N1 = function(e, t, n) {
307
307
  const a = (e - 1) * t;
308
308
  return a + t >= n.length ? n.slice(a, n.length) : n.slice(a, a + t);
309
- }, U1 = function(e, t) {
309
+ }, W1 = function(e, t) {
310
310
  const n = (e.page - 1) * e.rows, a = n + e.rows >= t.length ? t.slice(n, t.length) : t.slice(n, n + e.rows);
311
311
  return {
312
312
  rows: a,
@@ -314,7 +314,7 @@ var ei = (e) => {
314
314
  page: e.page,
315
315
  records: a.length
316
316
  };
317
- }, Y1 = function(e) {
317
+ }, U1 = function(e) {
318
318
  return e.filter((t, n, a) => a.indexOf(t, 0) === n);
319
319
  }, zf = (e) => {
320
320
  if (!/^\d*(\.\d*)?$/.test(e)) return "Number is wrong!";
@@ -375,7 +375,7 @@ var ei = (e) => {
375
375
  function Df(e) {
376
376
  return e == null || e === void 0 || e === "" ? "" : e === e.toUpperCase() ? e.split("_").map((t) => (t = t.toLowerCase(), t.slice(0, 1).toUpperCase() + t.slice(1))).join("") : e.slice(0, 1).toUpperCase() + e.slice(1);
377
377
  }
378
- function J1(e, t = !0) {
378
+ function Y1(e, t = !0) {
379
379
  if (e == null || e === void 0 || e === "") return "";
380
380
  t && (e = Df(e));
381
381
  let n = "";
@@ -456,7 +456,7 @@ var _c = (e, t, n, a) => {
456
456
  const c = r.children || [];
457
457
  c.length > 0 && (l.children = [], xc(l.children, c, n, a));
458
458
  }
459
- }, G1 = (e, t, n) => {
459
+ }, J1 = (e, t, n) => {
460
460
  const a = [];
461
461
  return xc(a, e, t || "value", n || "label"), a;
462
462
  }, Cc = (e, t, n, a = "", o) => {
@@ -554,7 +554,7 @@ function Gr(e, t = Yf) {
554
554
  function ti(e, t = Jf) {
555
555
  return e == null || e === "" ? "" : pc(e).format(t);
556
556
  }
557
- var K1 = (e) => {
557
+ var G1 = (e) => {
558
558
  let t;
559
559
  if (e instanceof Date) t = e;
560
560
  else if (typeof e == "string") {
@@ -1504,7 +1504,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
1504
1504
  static createBase64Encryption() {
1505
1505
  return dh.getInstance();
1506
1506
  }
1507
- }, q1 = class {
1507
+ }, K1 = class {
1508
1508
  static createMD5Hashing() {
1509
1509
  return fh.getInstance();
1510
1510
  }
@@ -1514,7 +1514,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
1514
1514
  static createSHA512Hashing() {
1515
1515
  return ph.getInstance();
1516
1516
  }
1517
- }, X1 = (e, t) => Ac(e, t).toString(ki);
1517
+ }, q1 = (e, t) => Ac(e, t).toString(ki);
1518
1518
  function vh(e, t) {
1519
1519
  function n() {
1520
1520
  zt(() => {
@@ -1564,7 +1564,7 @@ var yh = async (e) => new Promise((t, n) => {
1564
1564
  clear() {
1565
1565
  this.events.clear();
1566
1566
  }
1567
- }, Z1 = new Mc(), Ut = {
1567
+ }, X1 = new Mc(), Ut = {
1568
1568
  APP_PROVIDE: "jcode_app_provide",
1569
1569
  FORM_PROVIDE: "jcode_form_provide",
1570
1570
  TABLE_PROVIDE: "jcode_table_provide",
@@ -1614,7 +1614,7 @@ function yt() {
1614
1614
  })
1615
1615
  });
1616
1616
  }
1617
- function Q1(e) {
1617
+ function Z1(e) {
1618
1618
  Nn(Ut.APP_PROVIDE, e);
1619
1619
  }
1620
1620
  function ja() {
@@ -1653,7 +1653,7 @@ function xh() {
1653
1653
  function Ch(e) {
1654
1654
  Nn(Ut.AUTH_PAGE_PROVIDE, e);
1655
1655
  }
1656
- function eS() {
1656
+ function Q1() {
1657
1657
  return Vn(Ut.LAYER_PROVIDE, {});
1658
1658
  }
1659
1659
  function Sh(e) {
@@ -1745,7 +1745,7 @@ var Eh = /* @__PURE__ */ pe({
1745
1745
  onClosed: A,
1746
1746
  onCancel: P
1747
1747
  }, {
1748
- default: J(() => [(S(), F(Ta(u.value), Ne({
1748
+ default: J(() => [(S(), F(Ta(u.value), We({
1749
1749
  ref_key: "componentRef",
1750
1750
  ref: f
1751
1751
  }, h.value), null, 16))]),
@@ -1807,12 +1807,12 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
1807
1807
  return (i, r) => {
1808
1808
  const l = $("j-button"), c = $("el-space"), s = $("el-dropdown"), d = $("j-upload");
1809
1809
  return S(), F(c, { size: e.isLink ? 0 : 8 }, {
1810
- default: J(() => [(S(!0), H(ke, null, Oe(n.value, (f, u) => (S(), H("div", Ne({ key: u }, { ref_for: !0 }, i.$attrs), [(S(!0), H(ke, null, Oe(f, (h, p) => (S(), H(ke, { key: p }, [h.children?.length && h.children?.length > 0 ? (S(), F(s, { key: 0 }, {
1810
+ default: J(() => [(S(!0), H(ke, null, Oe(n.value, (f, u) => (S(), H("div", We({ key: u }, { ref_for: !0 }, i.$attrs), [(S(!0), H(ke, null, Oe(f, (h, p) => (S(), H(ke, { key: p }, [h.children?.length && h.children?.length > 0 ? (S(), F(s, { key: 0 }, {
1811
1811
  dropdown: J(() => [X(c, {
1812
1812
  direction: "vertical",
1813
1813
  fill: !0
1814
1814
  }, {
1815
- default: J(() => [(S(!0), H(ke, null, Oe(h.children || [], (g) => (S(), F(l, Ne({ key: g.id }, { ref_for: !0 }, g.config, {
1815
+ default: J(() => [(S(!0), H(ke, null, Oe(h.children || [], (g) => (S(), F(l, We({ key: g.id }, { ref_for: !0 }, g.config, {
1816
1816
  block: "",
1817
1817
  type: "text",
1818
1818
  label: g.label,
@@ -1829,7 +1829,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
1829
1829
  ]))), 128))]),
1830
1830
  _: 2
1831
1831
  }, 1024)]),
1832
- default: J(() => [X(l, Ne({ ref_for: !0 }, h.config, {
1832
+ default: J(() => [X(l, We({ ref_for: !0 }, h.config, {
1833
1833
  label: h.label,
1834
1834
  size: e.size,
1835
1835
  type: e.isLink ? "link" : h.config?.type,
@@ -1863,7 +1863,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
1863
1863
  "accept",
1864
1864
  "upload-callback",
1865
1865
  "onSuccess"
1866
- ])) : (S(), F(l, Ne({
1866
+ ])) : (S(), F(l, We({
1867
1867
  key: 2,
1868
1868
  ref_for: !0
1869
1869
  }, h.config, {
@@ -1985,7 +1985,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
1985
1985
  n.autoFocus && !n.readonly && o.value.focus();
1986
1986
  }), (f, u) => {
1987
1987
  const h = $("j-icon"), p = $("el-input");
1988
- return S(), F(p, Ne({
1988
+ return S(), F(p, We({
1989
1989
  ref_key: "inputRef",
1990
1990
  ref: o,
1991
1991
  modelValue: i.value,
@@ -2197,7 +2197,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2197
2197
  };
2198
2198
  return t({ ref: i }), (g, b) => {
2199
2199
  const x = $("el-date-picker");
2200
- return S(), F(x, Ne({
2200
+ return S(), F(x, We({
2201
2201
  ref_key: "dateRef",
2202
2202
  ref: i
2203
2203
  }, g.$attrs, {
@@ -2629,7 +2629,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2629
2629
  }, 50);
2630
2630
  }), (f, u) => {
2631
2631
  const h = $("el-tooltip"), p = $("el-option"), g = $("el-option-group"), b = $("el-select");
2632
- return S(), F(b, Ne({
2632
+ return S(), F(b, We({
2633
2633
  ref_key: "selectRef",
2634
2634
  ref: o
2635
2635
  }, f.$attrs, {
@@ -2942,7 +2942,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
2942
2942
  "label"
2943
2943
  ]))), 128)) : (S(!0), H(ke, { key: 1 }, Oe(e.options, (f) => (S(), F(s, {
2944
2944
  key: f.value,
2945
- class: Ue({ "j-checkbox-notFillOrColor": !e.fill && !e.textColor }),
2945
+ class: Ne({ "j-checkbox-notFillOrColor": !e.fill && !e.textColor }),
2946
2946
  value: f.value,
2947
2947
  disabled: f.disabled,
2948
2948
  size: e.size,
@@ -3491,7 +3491,7 @@ var Ah = Ce(Bc), Mh = /* @__PURE__ */ pe({
3491
3491
  }), (I, j) => (S(), H("div", {
3492
3492
  ref_key: "layout",
3493
3493
  ref: a,
3494
- class: Ue(["j-layout", { "j-layout-not-hidden": e.notHidden }])
3494
+ class: Ne(["j-layout", { "j-layout-not-hidden": e.notHidden }])
3495
3495
  }, [
3496
3496
  b.value ? (S(), H("div", {
3497
3497
  key: 0,
@@ -5269,7 +5269,7 @@ var Pp = class {
5269
5269
  key: 0,
5270
5270
  span: h.value.span || W(i),
5271
5271
  style: le({ ...h.value.colStyle || {} }),
5272
- class: Ue(h.value.colClass || {})
5272
+ class: Ne(h.value.colClass || {})
5273
5273
  }, {
5274
5274
  default: J(() => [b.value && h.value.needFormItem !== !1 ? (S(), F(_, {
5275
5275
  key: 0,
@@ -5278,7 +5278,7 @@ var Pp = class {
5278
5278
  "label-width": x.value,
5279
5279
  required: m.value,
5280
5280
  error: W(d)(v.value),
5281
- class: Ue(`${u.value}-form-item`)
5281
+ class: Ne(`${u.value}-form-item`)
5282
5282
  }, {
5283
5283
  default: J(() => [X(y, ta(Mo(g.value)), null, 16)]),
5284
5284
  _: 1
@@ -5289,13 +5289,13 @@ var Pp = class {
5289
5289
  "required",
5290
5290
  "error",
5291
5291
  "class"
5292
- ])) : (S(), F(y, ta(Ne({ key: 1 }, g.value)), null, 16))]),
5292
+ ])) : (S(), F(y, ta(We({ key: 1 }, g.value)), null, 16))]),
5293
5293
  _: 1
5294
5294
  }, 8, [
5295
5295
  "span",
5296
5296
  "style",
5297
5297
  "class"
5298
- ])) : p.value ? (S(), F(y, ta(Ne({ key: 1 }, g.value)), null, 16)) : ee("", !0);
5298
+ ])) : p.value ? (S(), F(y, ta(We({ key: 1 }, g.value)), null, 16)) : ee("", !0);
5299
5299
  };
5300
5300
  }
5301
5301
  }), Oc = Bp, Hp = /* @__PURE__ */ pe({
@@ -5496,7 +5496,7 @@ var Pp = class {
5496
5496
  U.value.forEach((M) => M()), U.value = [];
5497
5497
  }), (M, ue) => {
5498
5498
  const Te = $("JComp"), me = $("el-row");
5499
- return V.value.display != !1 && _.value ? (S(), F(Ta(I.value), Ne({
5499
+ return V.value.display != !1 && _.value ? (S(), F(Ta(I.value), We({
5500
5500
  key: 0,
5501
5501
  ref_key: "compRef",
5502
5502
  ref: ve
@@ -5507,8 +5507,8 @@ var Pp = class {
5507
5507
  onChange: se
5508
5508
  }), Fn({ _: 2 }, [Oe(q.value, (Ve, Ye) => ({
5509
5509
  name: Ye,
5510
- fn: J(() => [(S(!0), H(ke, null, Oe(Ve, (ne) => (S(), F(Te, Ne({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128))])
5511
- }))]), 1040, ["modelValue", "run-flow"])) : V.value.display != !1 ? (S(), F(Ta(I.value), Ne({
5510
+ fn: J(() => [(S(!0), H(ke, null, Oe(Ve, (ne) => (S(), F(Te, We({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128))])
5511
+ }))]), 1040, ["modelValue", "run-flow"])) : V.value.display != !1 ? (S(), F(Ta(I.value), We({
5512
5512
  key: 1,
5513
5513
  ref_key: "compRef",
5514
5514
  ref: ve
@@ -5521,9 +5521,9 @@ var Pp = class {
5521
5521
  key: 0,
5522
5522
  gutter: p.value
5523
5523
  }, {
5524
- default: J(() => [V.value.needFormItem === !0 || V.value.needFormItem?.[Ye] === !0 ? (S(!0), H(ke, { key: 0 }, Oe(Ve, (ne) => (S(), F(Oc, Ne({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128)) : (S(!0), H(ke, { key: 1 }, Oe(Ve, (ne) => (S(), F(Te, Ne({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128))]),
5524
+ default: J(() => [V.value.needFormItem === !0 || V.value.needFormItem?.[Ye] === !0 ? (S(!0), H(ke, { key: 0 }, Oe(Ve, (ne) => (S(), F(Oc, We({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128)) : (S(!0), H(ke, { key: 1 }, Oe(Ve, (ne) => (S(), F(Te, We({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128))]),
5525
5525
  _: 2
5526
- }, 1032, ["gutter"])) : (S(!0), H(ke, { key: 1 }, Oe(Ve, (ne) => (S(), F(Te, Ne({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128))])
5526
+ }, 1032, ["gutter"])) : (S(!0), H(ke, { key: 1 }, Oe(Ve, (ne) => (S(), F(Te, We({ key: ne.id }, { ref_for: !0 }, ne), null, 16))), 128))])
5527
5527
  }))]), 1040, ["run-flow"])) : ee("", !0);
5528
5528
  };
5529
5529
  }
@@ -5880,7 +5880,7 @@ var Dp = { class: "j-table-footer" }, $p = {
5880
5880
  flexWrap: "nowrap"
5881
5881
  });
5882
5882
  if (et.forEach((_e, ft) => {
5883
- const We = _e.config?.disabled === !0, Lt = We ? "#c9cdd4" : _e.config?.danger ? "#f53f3f" : "#165dff", sn = new Z({
5883
+ const Ue = _e.config?.disabled === !0, Lt = Ue ? "#c9cdd4" : _e.config?.danger ? "#f53f3f" : "#165dff", sn = new Z({
5884
5884
  text: _e.label,
5885
5885
  fontSize: 14,
5886
5886
  fill: Lt,
@@ -5890,17 +5890,17 @@ var Dp = { class: "j-table-footer" }, $p = {
5890
5890
  0,
5891
5891
  ft == 0 ? 12 : 0
5892
5892
  ],
5893
- cursor: We ? "not-allowed" : "pointer"
5893
+ cursor: Ue ? "not-allowed" : "pointer"
5894
5894
  });
5895
5895
  sn.addEventListener("click", () => {
5896
- !We && _e.click && _e.click({
5896
+ !Ue && _e.click && _e.click({
5897
5897
  data: je,
5898
5898
  openLayer: u
5899
5899
  });
5900
5900
  }), sn.addEventListener("mouseenter", (gn) => {
5901
- We || (gn.target.setAttribute("fill", ae(Lt, -20)), Se.scenegraph.stage.renderNextFrame());
5901
+ Ue || (gn.target.setAttribute("fill", ae(Lt, -20)), Se.scenegraph.stage.renderNextFrame());
5902
5902
  }), sn.addEventListener("mouseleave", (gn) => {
5903
- We || (gn.target.setAttribute("fill", Lt), Se.scenegraph.stage.renderNextFrame());
5903
+ Ue || (gn.target.setAttribute("fill", Lt), Se.scenegraph.stage.renderNextFrame());
5904
5904
  }), tt.add(sn);
5905
5905
  }), Qe && ct.length > 0) {
5906
5906
  const _e = "#1677ff", ft = new Z({
@@ -5915,12 +5915,12 @@ var Dp = { class: "j-table-footer" }, $p = {
5915
5915
  ],
5916
5916
  cursor: "pointer"
5917
5917
  });
5918
- ft.addEventListener("mouseenter", (We) => {
5919
- We.target.setAttribute("fill", ae(_e, -20)), Se.scenegraph.stage.renderNextFrame();
5918
+ ft.addEventListener("mouseenter", (Ue) => {
5919
+ Ue.target.setAttribute("fill", ae(_e, -20)), Se.scenegraph.stage.renderNextFrame();
5920
5920
  const Lt = m.value?.getBoundingClientRect();
5921
- Lt && se(ct, je, Ze, We.canvasX + Lt.left - 64, We.canvasY + Lt.top + 8), q = !0, G();
5922
- }), ft.addEventListener("mouseleave", (We) => {
5923
- We.target.setAttribute("fill", _e), Se.scenegraph.stage.renderNextFrame(), q = !1, U();
5921
+ Lt && se(ct, je, Ze, Ue.canvasX + Lt.left - 64, Ue.canvasY + Lt.top + 8), q = !0, G();
5922
+ }), ft.addEventListener("mouseleave", (Ue) => {
5923
+ Ue.target.setAttribute("fill", _e), Se.scenegraph.stage.renderNextFrame(), q = !1, U();
5924
5924
  }), tt.add(ft);
5925
5925
  }
5926
5926
  return {
@@ -6015,7 +6015,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6015
6015
  formData: r || {},
6016
6016
  getTableData: be,
6017
6017
  row: he
6018
- }) || {}, Ae = Number(Se.min) || 0, He = Number(Se.max) || 100, je = Number(Z) || 0, Ze = He - Ae, De = Ze === 0 ? 0 : Math.max(0, Math.min(100, (je - Ae) / Ze * 100)), Pe = 4, Qe = 8, et = 8, ct = (oe.height - Pe) / 2, tt = String(je), _e = bn(tt) || 0, ft = Qe, We = ct, Lt = oe.width - Qe * 2 - _e - et, sn = Lt * De / 100, gn = [], vn = (Jt, it, Tt) => {
6018
+ }) || {}, Ae = Number(Se.min) || 0, He = Number(Se.max) || 100, je = Number(Z) || 0, Ze = He - Ae, De = Ze === 0 ? 0 : Math.max(0, Math.min(100, (je - Ae) / Ze * 100)), Pe = 4, Qe = 8, et = 8, ct = (oe.height - Pe) / 2, tt = String(je), _e = bn(tt) || 0, ft = Qe, Ue = ct, Lt = oe.width - Qe * 2 - _e - et, sn = Lt * De / 100, gn = [], vn = (Jt, it, Tt) => {
6019
6019
  const pt = Math.min(Tt, it / 2, Jt / 2);
6020
6020
  return `M ${pt} 0 L ${Jt - pt} 0 Q ${Jt} 0 ${Jt} ${pt} L ${Jt} ${it - pt} Q ${Jt} ${it} ${Jt - pt} ${it} L ${pt} ${it} Q 0 ${it} 0 ${it - pt} L 0 ${pt} Q 0 0 ${pt} 0 Z`;
6021
6021
  }, uo = (Jt, it, Tt) => {
@@ -6026,7 +6026,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6026
6026
  type: "icon",
6027
6027
  svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${Lt}" height="${Pe}" viewBox="0 0 ${Lt} ${Pe}"><path d="${Xo}" fill="#e5e6eb"/></svg>`,
6028
6028
  x: ft,
6029
- y: We,
6029
+ y: Ue,
6030
6030
  width: Lt,
6031
6031
  height: Pe
6032
6032
  }), sn > 0) {
@@ -6035,7 +6035,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6035
6035
  type: "icon",
6036
6036
  svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${sn}" height="${Pe}" viewBox="0 0 ${sn} ${Pe}"><path d="${Jt}" fill="#165dff"/></svg>`,
6037
6037
  x: ft,
6038
- y: We,
6038
+ y: Ue,
6039
6039
  width: sn,
6040
6040
  height: Pe
6041
6041
  });
@@ -6130,12 +6130,12 @@ var Dp = { class: "j-table-footer" }, $p = {
6130
6130
  };
6131
6131
  const Ze = 14, De = 28, Pe = 2, Qe = 12, et = 8, ct = 6;
6132
6132
  let tt = 8, _e = Math.max(0, oe.width - tt * 2), ft = Math.max(0, _e - Qe * 2);
6133
- const We = [], Lt = (it) => {
6133
+ const Ue = [], Lt = (it) => {
6134
6134
  const Tt = bn(bt(it, ft)) || 0;
6135
6135
  return Math.min(_e, Tt + Qe * 2);
6136
6136
  }, sn = (it, Tt, pt, Tn, An) => {
6137
6137
  const ma = bt(pt, ft), ba = Et(ma), Qo = bn(ma) || 0, Va = Math.min(_e, Qo + Qe * 2), xd = Tn || "#f2f3f5", Cd = An || "#1d2129", Sd = De / 2 + Ze * 0.35, kd = `<svg xmlns="http://www.w3.org/2000/svg" width="${Va}" height="${De}" viewBox="0 0 ${Va} ${De}"><rect x="0" y="0" width="${Va}" height="${De}" rx="${Pe}" ry="${Pe}" fill="${xd}"/><text x="${Va / 2}" y="${Sd}" text-anchor="middle" font-size="${Ze}" fill="${Cd}">${ba}</text></svg>`;
6138
- return We.push({
6138
+ return Ue.push({
6139
6139
  type: "icon",
6140
6140
  svg: kd,
6141
6141
  x: it,
@@ -6182,7 +6182,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6182
6182
  }
6183
6183
  const Jt = Math.min(oe.width, Math.max(0, ...vn.map((it) => it.lineWidth)) + tt * 2);
6184
6184
  return {
6185
- elements: We,
6185
+ elements: Ue,
6186
6186
  expectedHeight: Math.max(yn, Xo),
6187
6187
  expectedWidth: Jt
6188
6188
  };
@@ -6213,7 +6213,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6213
6213
  let Ze, De, Pe;
6214
6214
  if (je === 0) Ze = De = Pe = He;
6215
6215
  else {
6216
- const et = (_e, ft, We) => (We < 0 && (We += 1), We > 1 && (We -= 1), We < 0.16666666666666666 ? _e + (ft - _e) * 6 * We : We < 0.5 ? ft : We < 0.6666666666666666 ? _e + (ft - _e) * (0.6666666666666666 - We) * 6 : _e), ct = He < 0.5 ? He * (1 + je) : He + je - He * je, tt = 2 * He - ct;
6216
+ const et = (_e, ft, Ue) => (Ue < 0 && (Ue += 1), Ue > 1 && (Ue -= 1), Ue < 0.16666666666666666 ? _e + (ft - _e) * 6 * Ue : Ue < 0.5 ? ft : Ue < 0.6666666666666666 ? _e + (ft - _e) * (0.6666666666666666 - Ue) * 6 : _e), ct = He < 0.5 ? He * (1 + je) : He + je - He * je, tt = 2 * He - ct;
6217
6217
  Ze = et(tt, ct, he + 1 / 3), De = et(tt, ct, he), Pe = et(tt, ct, he - 1 / 3);
6218
6218
  }
6219
6219
  const Qe = (et) => Math.round(et * 255).toString(16).padStart(2, "0");
@@ -6259,8 +6259,8 @@ var Dp = { class: "j-table-footer" }, $p = {
6259
6259
  }, Bt = (D) => {
6260
6260
  const { table: N, row: Z, col: oe, rect: Y } = D, { height: te, width: re } = Y ?? N.getCellRect(oe, Z), { Group: ge, CheckBox: fe } = Je.CustomLayout, he = N.getBodyField(oe, Z), Se = ut(N.options?.columns || [], he), Ae = N.getCellOriginRecord(oe, Z) || {}, He = Se?.style?.textAlign === "right" ? "flex-end" : Se?.style?.textAlign === "center" ? "center" : "flex-start", je = Se?.style?.textAlign === "right" ? "flex-end" : Se?.style?.textAlign === "center" ? "center" : "flex-start", Ze = (tt, _e) => {
6261
6261
  const ft = Ae?.[he];
6262
- Ae[he] = (Array.isArray(ft) ? ft : []).map((We, Lt) => Lt !== tt ? We : We && typeof We == "object" ? {
6263
- ...We,
6262
+ Ae[he] = (Array.isArray(ft) ? ft : []).map((Ue, Lt) => Lt !== tt ? Ue : Ue && typeof Ue == "object" ? {
6263
+ ...Ue,
6264
6264
  ..._e
6265
6265
  } : { ..._e });
6266
6266
  }, De = () => {
@@ -6294,7 +6294,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6294
6294
  });
6295
6295
  Pe.add(ct);
6296
6296
  for (let tt = 0; tt < et.length; tt++) {
6297
- const _e = et[tt], ft = _e && typeof _e == "object" ? _e.label ?? _e.value ?? "" : _e ?? "", We = new fe({
6297
+ const _e = et[tt], ft = _e && typeof _e == "object" ? _e.label ?? _e.value ?? "" : _e ?? "", Ue = new fe({
6298
6298
  text: {
6299
6299
  text: String(ft),
6300
6300
  fontSize: 12
@@ -6309,8 +6309,8 @@ var Dp = { class: "j-table-footer" }, $p = {
6309
6309
  4
6310
6310
  ]
6311
6311
  });
6312
- We.render?.(), ct.add(We), We.addEventListener("checkbox_state_change", () => {
6313
- const Lt = !!We.attribute?.checked;
6312
+ Ue.render?.(), ct.add(Ue), Ue.addEventListener("checkbox_state_change", () => {
6313
+ const Lt = !!Ue.attribute?.checked;
6314
6314
  Ze(tt, { checked: Lt }), De();
6315
6315
  });
6316
6316
  }
@@ -6414,8 +6414,8 @@ var Dp = { class: "j-table-footer" }, $p = {
6414
6414
  _getCompConfig: re,
6415
6415
  _getCompType: ge,
6416
6416
  frozen: et
6417
- }, ft = typeof ge == "function", We = zc(Y);
6418
- return (We || ft) && (_e.editor = We || "j-comp-editor", _ = !0), ft ? _e.customRender = Nt : (Y === "j-switch" && (_e.customRender = Ee), Y === "j-rate" && (_e.customRender = Be), Y === "j-slider" && (_e.customRender = Ie), (Y === "j-tag" || Y === "j-input-tag") && (_e.customRender = Kt), Y === "j-icon" && (_e.customRender = Xe)), Y === "link" && (_e.customLayout = qt), Y === "checkbox" && (_e.customLayout = Bt), Y === "j-switch" && (_e.minWidth = _e.minWidth || Ae, _e.maxWidth = _e.maxWidth || Ae), he && (_e.customLayout = Ht), _e.fieldFormat = Cn, fe && fe.length > 0 && (_e.columns = ce(fe)), _e;
6417
+ }, ft = typeof ge == "function", Ue = zc(Y);
6418
+ return (Ue || ft) && (_e.editor = Ue || "j-comp-editor", _ = !0), ft ? _e.customRender = Nt : (Y === "j-switch" && (_e.customRender = Ee), Y === "j-rate" && (_e.customRender = Be), Y === "j-slider" && (_e.customRender = Ie), (Y === "j-tag" || Y === "j-input-tag") && (_e.customRender = Kt), Y === "j-icon" && (_e.customRender = Xe)), Y === "link" && (_e.customLayout = qt), Y === "checkbox" && (_e.customLayout = Bt), Y === "j-switch" && (_e.minWidth = _e.minWidth || Ae, _e.maxWidth = _e.maxWidth || Ae), he && (_e.customLayout = Ht), _e.fieldFormat = Cn, fe && fe.length > 0 && (_e.columns = ce(fe)), _e;
6419
6419
  });
6420
6420
  return o.isTree && N.length > 0 && (N[0].tree = !0), N;
6421
6421
  }, ae = (D, N) => {
@@ -6860,7 +6860,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6860
6860
  }), (D, N) => {
6861
6861
  const Z = $("j-button"), oe = $("el-space"), Y = $("el-pagination");
6862
6862
  return S(), H("div", {
6863
- class: Ue(["j-table", { "j-table-auto": e.heightMode === "auto" }]),
6863
+ class: Ne(["j-table", { "j-table-auto": e.heightMode === "auto" }]),
6864
6864
  style: le(h.value)
6865
6865
  }, [
6866
6866
  B("div", {
@@ -6869,7 +6869,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6869
6869
  }, [B("div", {
6870
6870
  ref_key: "tableContainer",
6871
6871
  ref: m,
6872
- class: Ue("j-block")
6872
+ class: Ne("j-block")
6873
6873
  }, null, 512)], 4),
6874
6874
  B("div", Dp, [e.isPage || !En.value && (Rn.value || Xt.value) ? (S(), H("div", $p, [
6875
6875
  X(oe, null, {
@@ -7183,7 +7183,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7183
7183
  })]),
7184
7184
  _: 1
7185
7185
  })) : ee("", !0)], 32), B("div", {
7186
- class: Ue([
7186
+ class: Ne([
7187
7187
  "j-dialog-window",
7188
7188
  { "j-dialog-window-hasBtns": e.hasBtns },
7189
7189
  { "j-dialog-window-hasSteps": e.isStep }
@@ -7233,7 +7233,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7233
7233
  label: W(i)("取消"),
7234
7234
  onClick: T
7235
7235
  }, null, 8, ["label"])) : ee("", !0),
7236
- (S(!0), H(ke, null, Oe(e.buttons, (Ee) => (S(), F(Te, Ne({ ref_for: !0 }, Ee.config, {
7236
+ (S(!0), H(ke, null, Oe(e.buttons, (Ee) => (S(), F(Te, We({ ref_for: !0 }, Ee.config, {
7237
7237
  key: Ee.id,
7238
7238
  label: Ee.label,
7239
7239
  onClick: (Be) => Q(Ee)
@@ -7462,7 +7462,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7462
7462
  "loading",
7463
7463
  "label"
7464
7464
  ])) : ee("", !0),
7465
- (S(!0), H(ke, null, Oe(e.buttons, (ve) => (S(), H(ke, { key: ve.id }, [ve.config?.display !== !1 ? (S(), F(j, Ne({
7465
+ (S(!0), H(ke, null, Oe(e.buttons, (ve) => (S(), H(ke, { key: ve.id }, [ve.config?.display !== !1 ? (S(), F(j, We({
7466
7466
  key: 0,
7467
7467
  ref_for: !0
7468
7468
  }, ve.config, {
@@ -7683,7 +7683,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7683
7683
  onClosed: u
7684
7684
  }, {
7685
7685
  default: J(() => [$n((S(), H("div", {
7686
- class: Ue(["j-drawer--warpper", { "j-drawer--warpper-hasSteps": e.isStep }]),
7686
+ class: Ne(["j-drawer--warpper", { "j-drawer--warpper-hasSteps": e.isStep }]),
7687
7687
  "element-loading-text": l.value
7688
7688
  }, [
7689
7689
  B("div", {
@@ -7722,7 +7722,7 @@ var Dp = { class: "j-table-footer" }, $p = {
7722
7722
  label: W(o)("取消"),
7723
7723
  onClick: p
7724
7724
  }, null, 8, ["label"])) : ee("", !0),
7725
- (S(!0), H(ke, null, Oe(e.buttons, (ve) => (S(), F(I, Ne({ key: ve.id }, { ref_for: !0 }, ve.config, {
7725
+ (S(!0), H(ke, null, Oe(e.buttons, (ve) => (S(), F(I, We({ key: ve.id }, { ref_for: !0 }, ve.config, {
7726
7726
  label: ve.label,
7727
7727
  onClick: (U) => g(ve)
7728
7728
  }), null, 16, ["label", "onClick"]))), 128)),
@@ -8305,7 +8305,7 @@ var Dp = { class: "j-table-footer" }, $p = {
8305
8305
  const { t } = yt();
8306
8306
  return (n, a) => {
8307
8307
  const o = $("j-icon"), i = $("el-text"), r = $("j-button"), l = $("el-progress"), c = $("el-link");
8308
- return S(), H("div", { class: Ue(["j-upload-list", {
8308
+ return S(), H("div", { class: Ne(["j-upload-list", {
8309
8309
  "j-upload-image-list": e.isUploadImg,
8310
8310
  "j-upload-drag-list": e.drag
8311
8311
  }]) }, [e.drag ? (S(), H(ke, { key: 0 }, [e.showFileList ? (S(!0), H(ke, { key: 0 }, Oe(e.list, (s) => (S(), H("div", {
@@ -8901,7 +8901,7 @@ var Dp = { class: "j-table-footer" }, $p = {
8901
8901
  const n = e.__vccOpts || e;
8902
8902
  for (const [a, o] of t) n[a] = o;
8903
8903
  return n;
8904
- }, Qg = /* @__PURE__ */ Dc(Zg, [["__scopeId", "data-v-69ad659b"]]), ev = Ce(Qg), tv = ["innerHTML"], nv = {
8904
+ }, Qg = /* @__PURE__ */ Dc(Zg, [["__scopeId", "data-v-37f9a80b"]]), ev = Ce(Qg), tv = ["innerHTML"], nv = {
8905
8905
  key: 1,
8906
8906
  class: "j-barcode-error"
8907
8907
  }, av = /* @__PURE__ */ pe({
@@ -9782,7 +9782,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9782
9782
  }), C = (y) => w.value[y] || y;
9783
9783
  return (y, _) => {
9784
9784
  const k = $("j-button"), R = $("j-icon"), T = $("el-space"), A = $("j-dialog");
9785
- return S(), H("div", null, [X(k, Ne(y.$attrs, {
9785
+ return S(), H("div", null, [X(k, We(y.$attrs, {
9786
9786
  type: e.type,
9787
9787
  size: e.size,
9788
9788
  label: e.label,
@@ -9961,7 +9961,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9961
9961
  return t.size && Number(t.size) && (o.fontSize = `${t.size}px`), o;
9962
9962
  }), a = O(() => ({ borderTopStyle: t.borderStyle }));
9963
9963
  return (o, i) => (S(), H("div", {
9964
- class: Ue(`j-divider-container j-divider-${e.contentPosition}`),
9964
+ class: Ne(`j-divider-container j-divider-${e.contentPosition}`),
9965
9965
  style: le(n.value)
9966
9966
  }, [
9967
9967
  B("div", {
@@ -10031,7 +10031,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10031
10031
  i.value = d;
10032
10032
  }, { immediate: !0 }), (d, f) => {
10033
10033
  const u = $("j-button"), h = $("j-layer");
10034
- return S(), H(ke, null, [X(u, Ne({ style: { width: "auto" } }, d.$attrs, {
10034
+ return S(), H(ke, null, [X(u, We({ style: { width: "auto" } }, d.$attrs, {
10035
10035
  type: e.type,
10036
10036
  label: e.btnText,
10037
10037
  size: e.size,
@@ -10245,12 +10245,12 @@ var Dp = { class: "j-table-footer" }, $p = {
10245
10245
  }
10246
10246
  }), (g, b) => {
10247
10247
  const x = $("el-color-picker"), m = $("el-input");
10248
- return S(), H("div", { class: Ue([
10248
+ return S(), H("div", { class: Ne([
10249
10249
  "j-input-color",
10250
10250
  { "j-input-color-only-button": e.onlyButton },
10251
10251
  { "j-input-color-disabled": e.disabled },
10252
10252
  `j-input-color-${e.size}`
10253
- ]) }, [X(m, Ne({
10253
+ ]) }, [X(m, We({
10254
10254
  ref_key: "inputRef",
10255
10255
  ref: i,
10256
10256
  modelValue: l.value,
@@ -10324,7 +10324,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10324
10324
  return t.color && (o.color = t.color), t.size && (typeof t.size == "number" ? o.fontSize = `${t.size}px` : o.fontSize = t.size), t.weight && (o.fontWeight = t.weight), t.align && (o.textAlign = t.align), o;
10325
10325
  });
10326
10326
  return (o, i) => (S(), H("div", {
10327
- class: Ue(["j-title", n.value]),
10327
+ class: Ne(["j-title", n.value]),
10328
10328
  style: le(a.value)
10329
10329
  }, we(e.title), 7));
10330
10330
  }
@@ -10378,7 +10378,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10378
10378
  return (s, d) => {
10379
10379
  const f = $("el-divider");
10380
10380
  return S(), H("div", {
10381
- class: Ue(["j-decorated-title", a.value]),
10381
+ class: Ne(["j-decorated-title", a.value]),
10382
10382
  style: le(c.value)
10383
10383
  }, [e.titleType === "title2" ? (S(), H(ke, { key: 0 }, [B("p", { style: le(o.value) }, we(W(t)(e.title || "")), 5), B("p", { style: le(i.value) }, we(W(t)(e.content || "")), 5)], 64)) : ["title3", "title4"].includes(e.titleType || "") ? (S(), H(ke, { key: 1 }, [
10384
10384
  B("p", { style: le(o.value) }, we(W(t)(e.title || "")), 5),
@@ -10878,7 +10878,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10878
10878
  return (r, l) => (S(), H("div", {
10879
10879
  ref_key: "contentRef",
10880
10880
  ref: a,
10881
- class: Ue([{ success: e.isPassing }, "j-slider-captcha-content"]),
10881
+ class: Ne([{ success: e.isPassing }, "j-slider-captcha-content"]),
10882
10882
  style: le(o.value)
10883
10883
  }, [B("div", {
10884
10884
  style: le(i.value),
@@ -10979,7 +10979,7 @@ var Dp = { class: "j-table-footer" }, $p = {
10979
10979
  return (x, m) => (S(), H("div", {
10980
10980
  ref_key: "wrapperRef",
10981
10981
  ref: r,
10982
- class: Ue(["j-slider-captcha slider-border", n.class]),
10982
+ class: Ne(["j-slider-captcha slider-border", n.class]),
10983
10983
  style: le([{ "background-color": "var(--j-color-bg)" }, e.wrapperStyle]),
10984
10984
  onMouseleave: p,
10985
10985
  onMousemove: h,
@@ -11026,7 +11026,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11026
11026
  const g = s.value.find((b) => b.active);
11027
11027
  g?.value !== p.value && (g && (g.active = !1), a("click", p));
11028
11028
  }, { list: f, containerProps: u, wrapperProps: h } = zr(s, { itemHeight: 44 });
11029
- return (p, g) => (S(), H("div", Ne({
11029
+ return (p, g) => (S(), H("div", We({
11030
11030
  class: ["j-sub-menu-content", { "j-menu-dark": W(l) === "dark" }],
11031
11031
  style: {
11032
11032
  "max-height": "calc(100vh - 80px)",
@@ -11042,7 +11042,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11042
11042
  }
11043
11043
  }), Xy = qy, Zy = { class: "j-menu-item-label" }, Qy = { class: "j-menu-item-label" }, em = {
11044
11044
  key: 1,
11045
- class: /* @__PURE__ */ Ue(["j-menu-item-arrow", "sub"])
11045
+ class: /* @__PURE__ */ Ne(["j-menu-item-arrow", "sub"])
11046
11046
  }, tm = { class: "j-menu-item-label" }, nm = /* @__PURE__ */ pe({
11047
11047
  name: "JMenuItem",
11048
11048
  __name: "index",
@@ -11073,10 +11073,10 @@ var Dp = { class: "j-table-footer" }, $p = {
11073
11073
  }, {
11074
11074
  content: J(() => [B("span", null, we(W(n)(e.item.label)), 1)]),
11075
11075
  default: J(() => [B("div", {
11076
- class: Ue(["j-menu-item", { collapsed: e.collapsed }]),
11076
+ class: Ne(["j-menu-item", { collapsed: e.collapsed }]),
11077
11077
  onClick: l[0] || (l[0] = Ft((f) => i(e.item), ["stop"]))
11078
11078
  }, [B("div", {
11079
- class: Ue(["j-menu-item-content", {
11079
+ class: Ne(["j-menu-item-content", {
11080
11080
  active: e.item.value === W(a),
11081
11081
  "p-active": e.parentActives.includes(e.item.value)
11082
11082
  }]),
@@ -11091,7 +11091,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11091
11091
  B("div", Zy, we(W(n)(e.item.label)), 1),
11092
11092
  e.item.hasChildren ? (S(), H("div", {
11093
11093
  key: 1,
11094
- class: Ue(["j-menu-item-arrow", { open: e.item.open }])
11094
+ class: Ne(["j-menu-item-arrow", { open: e.item.open }])
11095
11095
  }, null, 2)) : ee("", !0)
11096
11096
  ], 6)], 2)]),
11097
11097
  _: 1
@@ -11102,8 +11102,8 @@ var Dp = { class: "j-table-footer" }, $p = {
11102
11102
  width: "200px",
11103
11103
  "popper-class": "j-sub-menu"
11104
11104
  }, {
11105
- reference: J(() => [B("div", { class: Ue(["j-menu-item", { collapsed: e.collapsed }]) }, [B("div", {
11106
- class: Ue(["j-menu-item-content", {
11105
+ reference: J(() => [B("div", { class: Ne(["j-menu-item", { collapsed: e.collapsed }]) }, [B("div", {
11106
+ class: Ne(["j-menu-item-content", {
11107
11107
  active: e.item.value === W(a),
11108
11108
  "p-active": e.parentActives.includes(e.item.value)
11109
11109
  }]),
@@ -11129,13 +11129,13 @@ var Dp = { class: "j-table-footer" }, $p = {
11129
11129
  _: 1
11130
11130
  }, 8, ["placement"])) : (S(), H("div", {
11131
11131
  key: 2,
11132
- class: Ue(["j-menu-item", {
11132
+ class: Ne(["j-menu-item", {
11133
11133
  collapsed: e.collapsed,
11134
11134
  sub: e.item.indent > 0
11135
11135
  }]),
11136
11136
  onClick: l[1] || (l[1] = Ft((f) => i(e.item), ["stop"]))
11137
11137
  }, [B("div", {
11138
- class: Ue(["j-menu-item-content", {
11138
+ class: Ne(["j-menu-item-content", {
11139
11139
  active: e.item.value === W(a),
11140
11140
  "p-active": e.parentActives.includes(e.item.value)
11141
11141
  }]),
@@ -11154,7 +11154,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11154
11154
  B("div", tm, we(W(n)(e.item.label)), 1),
11155
11155
  e.item.hasChildren ? (S(), H("div", {
11156
11156
  key: 1,
11157
- class: Ue(["j-menu-item-arrow", { open: e.item.open }])
11157
+ class: Ne(["j-menu-item-arrow", { open: e.item.open }])
11158
11158
  }, null, 2)) : ee("", !0)
11159
11159
  ], 6)], 2));
11160
11160
  };
@@ -11174,7 +11174,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11174
11174
  const n = e, a = t, { activeMenu: o, theme: i } = Oo(), r = (d) => {
11175
11175
  a("click", d);
11176
11176
  }, { list: l, containerProps: c, wrapperProps: s } = zr(O(() => n.menuList), { itemHeight: 44 });
11177
- return (d, f) => (S(), H("div", Ne({ class: ["j-menu", {
11177
+ return (d, f) => (S(), H("div", We({ class: ["j-menu", {
11178
11178
  collapsed: e.collapsed,
11179
11179
  "j-menu-dark": W(i) === "dark"
11180
11180
  }] }, W(c)), [B("div", ta(Mo(W(s))), [(S(!0), H(ke, null, Oe(W(l), (u) => (S(), F(Li, {
@@ -11182,7 +11182,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11182
11182
  "parent-actives": W(o)?.pid?.split(".") || [],
11183
11183
  item: u.data,
11184
11184
  collapsed: e.collapsed,
11185
- class: Ue({
11185
+ class: Ne({
11186
11186
  "menu-item-entering": u.data.entering,
11187
11187
  "menu-item-leaving": u.data.leaving
11188
11188
  }),
@@ -11245,7 +11245,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11245
11245
  }), (h, p) => (S(), H("div", {
11246
11246
  ref_key: "menuRef",
11247
11247
  ref: r,
11248
- class: Ue(["j-menu-horizontal", { "j-menu-dark": W(i) === "dark" }])
11248
+ class: Ne(["j-menu-horizontal", { "j-menu-dark": W(i) === "dark" }])
11249
11249
  }, [(S(!0), H(ke, null, Oe(s.value, (g) => (S(), F(Li, {
11250
11250
  key: g.value,
11251
11251
  "parent-actives": f.value,
@@ -11275,7 +11275,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11275
11275
  }), n.menuList)), c = O(() => o.value?.pid?.split(".") || []), s = (h) => {
11276
11276
  a("click", h);
11277
11277
  }, { list: d, containerProps: f, wrapperProps: u } = zr(l, { itemHeight: 96 });
11278
- return (h, p) => (S(), H("div", Ne({ class: ["j-menu-vertical", { "j-menu-dark": W(i) === "dark" }] }, W(f)), [B("div", ta(Mo(W(u))), [(S(!0), H(ke, null, Oe(W(d), (g) => (S(), F(Li, {
11278
+ return (h, p) => (S(), H("div", We({ class: ["j-menu-vertical", { "j-menu-dark": W(i) === "dark" }] }, W(f)), [B("div", ta(Mo(W(u))), [(S(!0), H(ke, null, Oe(W(d), (g) => (S(), F(Li, {
11279
11279
  key: g.data.value,
11280
11280
  "parent-actives": c.value,
11281
11281
  item: g.data,
@@ -11434,7 +11434,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11434
11434
  const p = $("j-icon"), g = $("el-input"), b = $("j-checkbox");
11435
11435
  return S(), H("div", fm, [
11436
11436
  B("div", {
11437
- class: Ue(["range-item", { active: o.value }]),
11437
+ class: Ne(["range-item", { active: o.value }]),
11438
11438
  onClick: s
11439
11439
  }, [B("div", null, we(W(n)("搜索全部")), 1), o.value ? (S(), F(p, {
11440
11440
  key: 0,
@@ -11791,7 +11791,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11791
11791
  };
11792
11792
  return t({ getSearchFields: () => l.value }), (m, v) => {
11793
11793
  const w = $("j-icon"), C = $("j-select"), y = $("j-button-select"), _ = $("j-button"), k = $("j-input-rows"), R = $("el-tooltip");
11794
- return S(), H("div", { class: Ue(["j-filter-panel", { "is-pin": r.value }]) }, [
11794
+ return S(), H("div", { class: Ne(["j-filter-panel", { "is-pin": r.value }]) }, [
11795
11795
  r.value ? (S(), H("div", ym, [X(w, { icon: "mdi:filter-outline" }), B("div", null, we(W(a)("筛选")), 1)])) : ee("", !0),
11796
11796
  B("div", mm, [
11797
11797
  B("div", bm, [
@@ -12068,16 +12068,13 @@ var Dp = { class: "j-table-footer" }, $p = {
12068
12068
  }), Lm = zm, Dm = { class: "j-table-panel-left" }, $m = { class: "j-table-panel-top" }, Fm = { class: "j-table-panel-top-right" }, Vm = {
12069
12069
  key: 0,
12070
12070
  style: { width: "200px" }
12071
- }, Nm = { class: "j-table-panel-main" }, Wm = {
12072
- key: 0,
12073
- class: "j-block j-table-panel-vnode"
12074
- }, Um = { class: "j-table-panel-vnode-content" }, Ym = ["onClick"], Jm = {
12071
+ }, Nm = { class: "j-table-panel-main" }, Wm = { class: "j-table-panel-vnode-content" }, Um = ["onClick"], Ym = {
12075
12072
  key: 0,
12076
12073
  class: "j-table-panel-vnode-pagination"
12077
- }, Gm = {
12074
+ }, Jm = {
12078
12075
  key: 0,
12079
12076
  class: "j-table-panel-filter-panel"
12080
- }, Km = /* @__PURE__ */ pe({
12077
+ }, Gm = /* @__PURE__ */ pe({
12081
12078
  name: "JTablePanel",
12082
12079
  __name: "table-panel",
12083
12080
  props: {
@@ -12194,7 +12191,8 @@ var Dp = { class: "j-table-footer" }, $p = {
12194
12191
  type: Boolean,
12195
12192
  default: !0
12196
12193
  },
12197
- renderVNode: Function
12194
+ renderVNode: Function,
12195
+ renderVNodeClass: String
12198
12196
  },
12199
12197
  emits: ["select", "ready"],
12200
12198
  setup(e, { expose: t, emit: n }) {
@@ -12446,10 +12444,10 @@ var Dp = { class: "j-table-footer" }, $p = {
12446
12444
  getTableRef: $a
12447
12445
  }), (be, Re) => {
12448
12446
  const gt = $("j-buttons"), Ot = $("j-icon"), xe = $("el-popover"), St = $("el-tooltip"), Wt = $("el-input"), wt = $("j-button"), Yt = $("el-pagination"), Ln = $("j-table"), vt = Bo("loading");
12449
- return S(), H("div", { class: Ue(["j-table-panel-wrapper", {
12447
+ return S(), H("div", { class: Ne(["j-table-panel-wrapper", {
12450
12448
  fullscreen: Ie.value,
12451
12449
  "no-padding": e.noPadding || Ie.value
12452
- }]) }, [B("div", { class: Ue(["j-table-panel", { "j-table-panel-fullscreen": Ie.value }]) }, [B("div", Dm, [B("div", $m, [B("div", {
12450
+ }]) }, [B("div", { class: Ne(["j-table-panel", { "j-table-panel-fullscreen": Ie.value }]) }, [B("div", Dm, [B("div", $m, [B("div", {
12453
12451
  ref_key: "topLeftRef",
12454
12452
  ref: qt,
12455
12453
  class: "j-table-panel-top-left"
@@ -12516,7 +12514,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12516
12514
  icon: "mdi:filter-outline",
12517
12515
  label: "筛选",
12518
12516
  type: "text",
12519
- class: Ue({ active: q.value })
12517
+ class: Ne({ active: q.value })
12520
12518
  }, null, 8, ["class"])]),
12521
12519
  default: J(() => [X(Ul, {
12522
12520
  ref_key: "filterPanelRef",
@@ -12552,7 +12550,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12552
12550
  onShow: M
12553
12551
  }, {
12554
12552
  reference: J(() => [X(wt, {
12555
- class: Ue({ active: Q.value.length > 0 }),
12553
+ class: Ne({ active: Q.value.length > 0 }),
12556
12554
  type: "text",
12557
12555
  icon: "mdi:sort"
12558
12556
  }, null, 8, ["class"])]),
@@ -12582,7 +12580,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12582
12580
  onShow: Ee
12583
12581
  }, {
12584
12582
  reference: J(() => [X(wt, {
12585
- class: Ue({ active: ne.value }),
12583
+ class: Ne({ active: ne.value }),
12586
12584
  type: "text",
12587
12585
  icon: "mdi:table-headers-eye"
12588
12586
  }, null, 8, ["class"])]),
@@ -12621,10 +12619,17 @@ var Dp = { class: "j-table-footer" }, $p = {
12621
12619
  }, null, 8, ["icon"])]),
12622
12620
  _: 1
12623
12621
  }, 8, ["content"])) : ee("", !0)
12624
- ])]), $n((S(), H("div", Nm, [e.renderVNode ? (S(), H("div", Wm, [B("div", Um, [(S(!0), H(ke, null, Oe(W(c), (Le, Rn) => (S(), H("div", {
12622
+ ])]), $n((S(), H("div", Nm, [e.renderVNode ? (S(), H("div", {
12623
+ key: 0,
12624
+ class: Ne([
12625
+ "j-block",
12626
+ "j-table-panel-vnode",
12627
+ e.renderVNodeClass
12628
+ ])
12629
+ }, [B("div", Wm, [(S(!0), H(ke, null, Oe(W(c), (Le, Rn) => (S(), H("div", {
12625
12630
  key: e.rowKey ? w(Le) : Rn,
12626
12631
  onClick: (Dt) => kn(Le)
12627
- }, [(S(), F(Ta(e.renderVNode(Le))))], 8, Ym))), 128))]), e.isPage ? (S(), H("div", Jm, [Re[14] || (Re[14] = B("div", null, null, -1)), X(Yt, {
12632
+ }, [(S(), F(Ta(e.renderVNode(Le))))], 8, Um))), 128))]), e.isPage ? (S(), H("div", Ym, [Re[14] || (Re[14] = B("div", null, null, -1)), X(Yt, {
12628
12633
  "current-page": d.value,
12629
12634
  "onUpdate:currentPage": Re[9] || (Re[9] = (Le) => d.value = Le),
12630
12635
  "page-size": f.value,
@@ -12644,7 +12649,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12644
12649
  "page-size",
12645
12650
  "page-sizes",
12646
12651
  "total"
12647
- ])])) : ee("", !0)])) : (S(), F(Ln, {
12652
+ ])])) : ee("", !0)], 2)) : (S(), F(Ln, {
12648
12653
  key: 1,
12649
12654
  ref_key: "tableRef",
12650
12655
  ref: l,
@@ -12700,7 +12705,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12700
12705
  "action-filter",
12701
12706
  "highlight-mode",
12702
12707
  "load-children"
12703
- ]))])), [[vt, h.value]])]), e.showFilterButton && E.value && !m.value ? (S(), H("div", Gm, [X(Ul, {
12708
+ ]))])), [[vt, h.value]])]), e.showFilterButton && E.value && !m.value ? (S(), H("div", Jm, [X(Ul, {
12704
12709
  ref_key: "filterPanelRef",
12705
12710
  ref: j,
12706
12711
  "is-pin": E.value,
@@ -12718,7 +12723,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12718
12723
  ])])) : ee("", !0)], 2)], 2);
12719
12724
  };
12720
12725
  }
12721
- }), qm = Km, $c = Ce(qm), Xm = { class: "j-button-select" }, Zm = { class: "search-wraper" }, Qm = { class: "options-wraper" }, eb = ["onClick"], tb = /* @__PURE__ */ pe({
12726
+ }), Km = Gm, $c = Ce(Km), qm = { class: "j-button-select" }, Xm = { class: "search-wraper" }, Zm = { class: "options-wraper" }, Qm = ["onClick"], eb = /* @__PURE__ */ pe({
12722
12727
  name: "JButtonSelect",
12723
12728
  __name: "button-select",
12724
12729
  props: {
@@ -12758,7 +12763,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12758
12763
  label: e.label,
12759
12764
  type: "link"
12760
12765
  }, null, 8, ["label"])]),
12761
- default: J(() => [B("div", Xm, [B("div", Zm, [X(h, {
12766
+ default: J(() => [B("div", qm, [B("div", Xm, [X(h, {
12762
12767
  modelValue: i.value,
12763
12768
  "onUpdate:modelValue": d[0] || (d[0] = (g) => i.value = g),
12764
12769
  modelModifiers: { trim: !0 },
@@ -12768,23 +12773,23 @@ var Dp = { class: "j-table-footer" }, $p = {
12768
12773
  }, {
12769
12774
  prefix: J(() => [X(u, { icon: "mdi:search" })]),
12770
12775
  _: 1
12771
- }, 8, ["modelValue", "placeholder"])]), B("div", Qm, [(S(!0), H(ke, null, Oe(r.value, (g) => (S(), H("div", {
12776
+ }, 8, ["modelValue", "placeholder"])]), B("div", Zm, [(S(!0), H(ke, null, Oe(r.value, (g) => (S(), H("div", {
12772
12777
  key: g.value,
12773
- class: Ue(["option-item", { active: l.value.includes(g.value) || g.disabled }]),
12778
+ class: Ne(["option-item", { active: l.value.includes(g.value) || g.disabled }]),
12774
12779
  onClick: Ft((b) => c(g), ["stop"])
12775
12780
  }, [g.icon ? (S(), F(u, {
12776
12781
  key: 0,
12777
12782
  class: "j-button-select-icon",
12778
12783
  icon: g.icon
12779
- }, null, 8, ["icon"])) : ee("", !0), B("div", null, we(W(o)(g.label)), 1)], 10, eb))), 128))])])]),
12784
+ }, null, 8, ["icon"])) : ee("", !0), B("div", null, we(W(o)(g.label)), 1)], 10, Qm))), 128))])])]),
12780
12785
  _: 1
12781
12786
  }, 8, ["width"]);
12782
12787
  };
12783
12788
  }
12784
- }), nb = tb, ab = Ce(nb), ob = { class: "j-tree-item-text" }, ib = {
12789
+ }), tb = eb, nb = Ce(tb), ab = { class: "j-tree-item-text" }, ob = {
12785
12790
  key: 2,
12786
12791
  class: "j-tree-item-button-group"
12787
- }, rb = {
12792
+ }, ib = {
12788
12793
  key: 1,
12789
12794
  class: "j-block",
12790
12795
  style: {
@@ -12792,7 +12797,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12792
12797
  "align-items": "center",
12793
12798
  "justify-content": "center"
12794
12799
  }
12795
- }, lb = /* @__PURE__ */ pe({
12800
+ }, rb = /* @__PURE__ */ pe({
12796
12801
  name: "JTree",
12797
12802
  __name: "tree",
12798
12803
  props: {
@@ -12945,7 +12950,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12945
12950
  }), (I, j) => {
12946
12951
  const E = $("j-icon"), V = $("j-button"), q = $("el-dropdown-item"), se = $("el-dropdown-menu"), ve = $("el-dropdown"), U = $("el-tree"), G = $("el-empty"), Q = Bo("loading");
12947
12952
  return $n((S(), H("div", {
12948
- class: Ue([
12953
+ class: Ne([
12949
12954
  "j-block",
12950
12955
  "j-tree",
12951
12956
  { "j-tree-menu": e.theme === "menu" }
@@ -12974,7 +12979,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12974
12979
  onCheck: y,
12975
12980
  onNodeDrop: _
12976
12981
  }, {
12977
- default: J(({ node: M }) => [B("div", { class: Ue(["j-tree-item-wraper", { "is-focus": A.value === M.data.value }]) }, [
12982
+ default: J(({ node: M }) => [B("div", { class: Ne(["j-tree-item-wraper", { "is-focus": A.value === M.data.value }]) }, [
12978
12983
  M.data.openIcon ? (S(), F(E, {
12979
12984
  key: 0,
12980
12985
  class: "j-tree-item-open-icon",
@@ -12989,8 +12994,8 @@ var Dp = { class: "j-table-footer" }, $p = {
12989
12994
  icon: M.data[e.iconKey] || e.defaultIcon || "",
12990
12995
  color: M.data[e.iconColorKey] || e.defaultIconColor || ""
12991
12996
  }, null, 8, ["icon", "color"])) : ee("", !0),
12992
- B("div", ob, we(M.label), 1),
12993
- k(M.data).length ? (S(), H("div", ib, [(S(!0), H(ke, null, Oe(k(M.data), (ue, Te) => (S(), F(ve, {
12997
+ B("div", ab, we(M.label), 1),
12998
+ k(M.data).length ? (S(), H("div", ob, [(S(!0), H(ke, null, Oe(k(M.data), (ue, Te) => (S(), F(ve, {
12994
12999
  key: Te,
12995
13000
  trigger: "click",
12996
13001
  onVisibleChange: (me) => P(me, M.data)
@@ -13038,10 +13043,10 @@ var Dp = { class: "j-table-footer" }, $p = {
13038
13043
  "render-after-expand",
13039
13044
  "draggable",
13040
13045
  "expand-on-click-node"
13041
- ])) : (S(), H("div", rb, [X(G, { description: W(r)(e.emptyDes) }, null, 8, ["description"])]))], 2)), [[Q, d.value]]);
13046
+ ])) : (S(), H("div", ib, [X(G, { description: W(r)(e.emptyDes) }, null, 8, ["description"])]))], 2)), [[Q, d.value]]);
13042
13047
  };
13043
13048
  }
13044
- }), sb = lb, cb = Ce(sb), ub = /* @__PURE__ */ pe({
13049
+ }), lb = rb, sb = Ce(lb), cb = /* @__PURE__ */ pe({
13045
13050
  name: "JTreeSelect",
13046
13051
  __name: "tree-select",
13047
13052
  props: {
@@ -13123,11 +13128,11 @@ var Dp = { class: "j-table-footer" }, $p = {
13123
13128
  ]);
13124
13129
  };
13125
13130
  }
13126
- }), db = ub, fb = Ce(db), hb = Ce(Ic), pb = uf;
13127
- async function gb(e, t, n) {
13131
+ }), ub = cb, db = Ce(ub), fb = Ce(Ic), hb = uf;
13132
+ async function pb(e, t, n) {
13128
13133
  const a = { ...n };
13129
13134
  delete a.ruleIndex, delete a.trigger;
13130
- const o = new pb({ [e]: [a] });
13135
+ const o = new hb({ [e]: [a] });
13131
13136
  let i = [];
13132
13137
  try {
13133
13138
  await o.validate({ [e]: t });
@@ -13136,7 +13141,7 @@ async function gb(e, t, n) {
13136
13141
  }
13137
13142
  return i.length > 0 ? i[0] : "";
13138
13143
  }
13139
- async function vb(e, t, n) {
13144
+ async function gb(e, t, n) {
13140
13145
  const a = n.map((o, i) => ({
13141
13146
  ...o,
13142
13147
  ruleIndex: i
@@ -13144,14 +13149,14 @@ async function vb(e, t, n) {
13144
13149
  for (let o = 0; o < a.length; o += 1) {
13145
13150
  const i = a[o];
13146
13151
  "pattern" in i && (t += "");
13147
- const r = await gb(e, t, i);
13152
+ const r = await pb(e, t, i);
13148
13153
  if (r !== "") return {
13149
13154
  name: e,
13150
13155
  errors: r
13151
13156
  };
13152
13157
  }
13153
13158
  }
13154
- function yb(e, t) {
13159
+ function vb(e, t) {
13155
13160
  const n = (i, r, l, c, s) => {
13156
13161
  Object.keys(r).forEach((d) => {
13157
13162
  let f = d;
@@ -13165,7 +13170,7 @@ function yb(e, t) {
13165
13170
  n(i, g, p, u, l ? r : void 0);
13166
13171
  });
13167
13172
  });
13168
- }, a = (i, r, l) => vb(i, r, l);
13173
+ }, a = (i, r, l) => gb(i, r, l);
13169
13174
  return {
13170
13175
  validateForm: async () => {
13171
13176
  const i = W(e), r = [];
@@ -13201,7 +13206,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13201
13206
  }
13202
13207
  };
13203
13208
  return { run: r };
13204
- }, mb = /* @__PURE__ */ pe({
13209
+ }, yb = /* @__PURE__ */ pe({
13205
13210
  name: "JForm",
13206
13211
  __name: "form",
13207
13212
  props: {
@@ -13388,7 +13393,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13388
13393
  rules: [],
13389
13394
  myGridtableId: ""
13390
13395
  };
13391
- }, { validateForm: Ye } = yb(y, Ve), ne = async () => {
13396
+ }, { validateForm: Ye } = vb(y, Ve), ne = async () => {
13392
13397
  _.value = {};
13393
13398
  const K = await Ye();
13394
13399
  return Object.keys(K).length > 0 ? (_.value = K, g(`${h(R[Object.keys(K)[0]]?.config?.label)}:${h(K[Object.keys(K)[0]].msg)}`), !1) : !0;
@@ -13543,7 +13548,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13543
13548
  const ae = $("j-form-item"), ie = $("el-row"), ye = $("el-form");
13544
13549
  return b.value ? (S(), F(ye, {
13545
13550
  key: 0,
13546
- class: Ue([
13551
+ class: Ne([
13547
13552
  "j-form",
13548
13553
  e.isAutoSize && "j-block",
13549
13554
  e.isAutoSize && "j-form-auto"
@@ -13554,11 +13559,11 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13554
13559
  onSubmit: ce[0] || (ce[0] = Ft(() => {
13555
13560
  }, ["prevent"]))
13556
13561
  }, {
13557
- default: J(() => [C.value ? (S(), F(ae, Ne({ key: 0 }, k[0], { "is-not-col": "" }), null, 16)) : (S(), F(ie, {
13562
+ default: J(() => [C.value ? (S(), F(ae, We({ key: 0 }, k[0], { "is-not-col": "" }), null, 16)) : (S(), F(ie, {
13558
13563
  key: 1,
13559
13564
  gutter: x.value
13560
13565
  }, {
13561
- default: J(() => [(S(), H(ke, null, Oe(k, (Me) => X(ae, Ne({ key: Me.id }, { ref_for: !0 }, Me), null, 16)), 64))]),
13566
+ default: J(() => [(S(), H(ke, null, Oe(k, (Me) => X(ae, We({ key: Me.id }, { ref_for: !0 }, Me), null, 16)), 64))]),
13562
13567
  _: 1
13563
13568
  }, 8, ["gutter"]))]),
13564
13569
  _: 1
@@ -13570,7 +13575,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13570
13575
  ])) : ee("", !0);
13571
13576
  };
13572
13577
  }
13573
- }), bb = mb, wb = Ce(bb), _b = Ce(Oc), xb = { class: "j-page" }, Cb = /* @__PURE__ */ pe({
13578
+ }), mb = yb, bb = Ce(mb), wb = Ce(Oc), _b = { class: "j-page" }, xb = /* @__PURE__ */ pe({
13574
13579
  name: "JPage",
13575
13580
  __name: "page",
13576
13581
  props: {
@@ -13650,7 +13655,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13650
13655
  off: x
13651
13656
  }), (m, v) => {
13652
13657
  const w = $("j-comp");
13653
- return S(), H("div", xb, [(S(!0), H(ke, null, Oe(o, (C) => (S(), F(w, {
13658
+ return S(), H("div", _b, [(S(!0), H(ke, null, Oe(o, (C) => (S(), F(w, {
13654
13659
  key: C.id,
13655
13660
  id: C.id,
13656
13661
  type: C.type,
@@ -13664,7 +13669,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13664
13669
  ]))), 128))]);
13665
13670
  };
13666
13671
  }
13667
- }), Sb = Cb, kb = Ce(Sb), Rb = /* @__PURE__ */ pe({
13672
+ }), Cb = xb, Sb = Ce(Cb), kb = /* @__PURE__ */ pe({
13668
13673
  name: "JGuid",
13669
13674
  __name: "guid",
13670
13675
  props: {
@@ -13686,16 +13691,16 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13686
13691
  }, null, 8, ["modelValue", "size"]);
13687
13692
  };
13688
13693
  }
13689
- }), Eb = Rb, Tb = Ce(Eb), Ab = {
13694
+ }), Rb = kb, Eb = Ce(Rb), Tb = {
13690
13695
  key: 0,
13691
13696
  class: "j-panel-top"
13692
- }, Mb = ["title"], jb = { style: {
13697
+ }, Ab = ["title"], Mb = { style: {
13693
13698
  margin: "0",
13694
13699
  "font-size": "14px"
13695
- } }, Pb = { key: 1 }, Bb = {
13700
+ } }, jb = { key: 1 }, Pb = {
13696
13701
  key: 1,
13697
13702
  class: "j-panel-bottom"
13698
- }, Hb = /* @__PURE__ */ pe({
13703
+ }, Bb = /* @__PURE__ */ pe({
13699
13704
  name: "JPanel",
13700
13705
  __name: "panel",
13701
13706
  props: {
@@ -13738,16 +13743,16 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13738
13743
  class: "j-panel",
13739
13744
  style: le({ "border-radius": e.noPadding ? "0px" : "4px" })
13740
13745
  }, [
13741
- e.title && !e.notTitle || e.toolBtns && e.toolBtns.length > 0 ? (S(), H("div", Ab, [e.notTitle ? ee("", !0) : (S(), H("div", {
13746
+ e.title && !e.notTitle || e.toolBtns && e.toolBtns.length > 0 ? (S(), H("div", Tb, [e.notTitle ? ee("", !0) : (S(), H("div", {
13742
13747
  key: 0,
13743
13748
  class: "j-panel-top-left",
13744
13749
  title: e.title || ""
13745
- }, [Ke(a.$slots, "title", {}, () => [B("span", jb, we(e.title || ""), 1)])], 8, Mb)), e.toolBtns && e.toolBtns.length > 0 ? (S(), H("span", Pb, [(S(!0), H(ke, null, Oe(e.toolBtns, (c) => (S(), F(r, {
13750
+ }, [Ke(a.$slots, "title", {}, () => [B("span", Mb, we(e.title || ""), 1)])], 8, Ab)), e.toolBtns && e.toolBtns.length > 0 ? (S(), H("span", jb, [(S(!0), H(ke, null, Oe(e.toolBtns, (c) => (S(), F(r, {
13746
13751
  key: c.id,
13747
13752
  placement: "top",
13748
13753
  content: c.label || ""
13749
13754
  }, {
13750
- default: J(() => [X(i, Ne({ ref_for: !0 }, c.config, {
13755
+ default: J(() => [X(i, We({ ref_for: !0 }, c.config, {
13751
13756
  onClick: (s) => n(c),
13752
13757
  type: "text",
13753
13758
  size: e.size
@@ -13758,17 +13763,17 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13758
13763
  class: "j-panel-body",
13759
13764
  style: le(e.bodyStyle)
13760
13765
  }, [Ke(a.$slots, "default")], 4),
13761
- e.bootmBtns && e.bootmBtns.length > 0 || e.bootmRightBtns && e.bootmRightBtns.length > 0 ? (S(), H("div", Bb, [X(l, { list: e.bootmBtns }, null, 8, ["list"]), X(l, { list: e.bootmRightBtns }, null, 8, ["list"])])) : ee("", !0)
13766
+ e.bootmBtns && e.bootmBtns.length > 0 || e.bootmRightBtns && e.bootmRightBtns.length > 0 ? (S(), H("div", Pb, [X(l, { list: e.bootmBtns }, null, 8, ["list"]), X(l, { list: e.bootmRightBtns }, null, 8, ["list"])])) : ee("", !0)
13762
13767
  ], 4)], 4);
13763
13768
  };
13764
13769
  }
13765
- }), Ob = Hb, Ib = Ce(Ob), zb = { class: "j-input-rows" }, Lb = {
13770
+ }), Hb = Bb, Ob = Ce(Hb), Ib = { class: "j-input-rows" }, zb = {
13766
13771
  key: 0,
13767
13772
  class: "j-input-rows-num"
13768
- }, Db = {
13773
+ }, Lb = {
13769
13774
  key: 1,
13770
13775
  class: "j-input-rows-char"
13771
- }, $b = /* @__PURE__ */ pe({
13776
+ }, Db = /* @__PURE__ */ pe({
13772
13777
  name: "JInputRows",
13773
13778
  __name: "input-rows",
13774
13779
  props: {
@@ -13906,17 +13911,17 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13906
13911
  pRowData: C
13907
13912
  }), (y, _) => {
13908
13913
  const k = $("j-comp"), R = $("j-icon"), T = $("j-button"), A = $("j-buttons");
13909
- return S(), H("div", zb, [B("div", {
13914
+ return S(), H("div", Ib, [B("div", {
13910
13915
  ref_key: "inputRowsRef",
13911
13916
  ref: h,
13912
13917
  class: "j-input-rows-container"
13913
13918
  }, [(S(!0), H(ke, null, Oe(g.value, (P, L) => (S(), H("div", {
13914
13919
  key: P._i + L,
13915
- class: Ue([e.isCompact ? "j-space-compact" : "j-space", { "j-space-wrap": e.isWrap }])
13920
+ class: Ne([e.isCompact ? "j-space-compact" : "j-space", { "j-space-wrap": e.isWrap }])
13916
13921
  }, [
13917
- e.showNum ? (S(), H("div", Lb, we(L + 1), 1)) : ee("", !0),
13918
- e.showChar ? (S(), H("div", Db, we(p[L % 26]), 1)) : ee("", !0),
13919
- (S(!0), H(ke, null, Oe(e.columns, (I) => (S(), F(k, Ne({
13922
+ e.showNum ? (S(), H("div", zb, we(L + 1), 1)) : ee("", !0),
13923
+ e.showChar ? (S(), H("div", Lb, we(p[L % 26]), 1)) : ee("", !0),
13924
+ (S(!0), H(ke, null, Oe(e.columns, (I) => (S(), F(k, We({
13920
13925
  key: I.id,
13921
13926
  ref_for: !0
13922
13927
  }, I, {
@@ -13951,7 +13956,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13951
13956
  }, null, 8, ["list"])) : ee("", !0)], 4)) : ee("", !0)]);
13952
13957
  };
13953
13958
  }
13954
- }), Fb = $b, Vb = Ce(Fb), Nb = { class: "j-input-layer" }, Wb = /* @__PURE__ */ pe({
13959
+ }), $b = Db, Fb = Ce($b), Vb = { class: "j-input-layer" }, Nb = /* @__PURE__ */ pe({
13955
13960
  name: "JInputLayer",
13956
13961
  __name: "input-layer",
13957
13962
  props: {
@@ -14069,7 +14074,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14069
14074
  };
14070
14075
  return t({ getTablePanelRef: () => l.value }), (m, v) => {
14071
14076
  const w = $("el-input");
14072
- return S(), H("div", Nb, [e.onlyButton ? (S(), F(W(wr), {
14077
+ return S(), H("div", Vb, [e.onlyButton ? (S(), F(W(wr), {
14073
14078
  key: 1,
14074
14079
  type: e.buttonType,
14075
14080
  size: e.size,
@@ -14152,7 +14157,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14152
14157
  ])]);
14153
14158
  };
14154
14159
  }
14155
- }), Ub = Wb, Yb = Ce(Ub), Jb = /* @__PURE__ */ pe({
14160
+ }), Wb = Nb, Ub = Ce(Wb), Yb = /* @__PURE__ */ pe({
14156
14161
  name: "JLayerForm",
14157
14162
  __name: "layer-form",
14158
14163
  props: {
@@ -14201,7 +14206,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14201
14206
  labelWidth: r
14202
14207
  }), (f, u) => {
14203
14208
  const h = $("j-button"), p = $("j-form-item"), g = $("el-row"), b = $("el-form"), x = $("j-dialog");
14204
- return S(), H("div", null, [X(h, Ne(f.$attrs, {
14209
+ return S(), H("div", null, [X(h, We(f.$attrs, {
14205
14210
  type: e.type,
14206
14211
  size: e.size,
14207
14212
  icon: e.icon,
@@ -14219,18 +14224,18 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14219
14224
  "has-btns": !1
14220
14225
  }, {
14221
14226
  default: J(() => [X(b, {
14222
- class: Ue(["j-block", "j-layer-form"]),
14227
+ class: Ne(["j-block", "j-layer-form"]),
14223
14228
  "label-position": l.value,
14224
14229
  "label-width": r.value,
14225
14230
  size: e.formConfig?.size,
14226
14231
  onSubmit: u[0] || (u[0] = Ft(() => {
14227
14232
  }, ["prevent"]))
14228
14233
  }, {
14229
- default: J(() => [c.value ? (S(), F(p, ta(Ne({ key: 0 }, e.schema[0])), null, 16)) : (S(), F(g, {
14234
+ default: J(() => [c.value ? (S(), F(p, ta(We({ key: 0 }, e.schema[0])), null, 16)) : (S(), F(g, {
14230
14235
  key: 1,
14231
14236
  gutter: o.value
14232
14237
  }, {
14233
- default: J(() => [(S(!0), H(ke, null, Oe(e.schema, (m) => (S(), F(p, Ne({
14238
+ default: J(() => [(S(!0), H(ke, null, Oe(e.schema, (m) => (S(), F(p, We({
14234
14239
  key: m.id,
14235
14240
  ref_for: !0
14236
14241
  }, m), null, 16))), 128))]),
@@ -14251,7 +14256,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14251
14256
  ])]);
14252
14257
  };
14253
14258
  }
14254
- }), Gb = Jb, Kb = Ce(Gb), qb = /* @__PURE__ */ pe({
14259
+ }), Jb = Yb, Gb = Ce(Jb), Kb = /* @__PURE__ */ pe({
14255
14260
  name: "JSwitch",
14256
14261
  inheritAttrs: !1,
14257
14262
  __name: "switch",
@@ -14337,7 +14342,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14337
14342
  }, 100);
14338
14343
  }), (r, l) => {
14339
14344
  const c = $("el-switch");
14340
- return S(), F(c, Ne(r.$attrs, {
14345
+ return S(), F(c, We(r.$attrs, {
14341
14346
  id: e.id,
14342
14347
  modelValue: o.value,
14343
14348
  "onUpdate:modelValue": l[0] || (l[0] = (s) => o.value = s),
@@ -14405,7 +14410,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14405
14410
  ]);
14406
14411
  };
14407
14412
  }
14408
- }), Xb = qb, Zb = Ce(Xb), Qb = /* @__PURE__ */ pe({
14413
+ }), qb = Kb, Xb = Ce(qb), Zb = /* @__PURE__ */ pe({
14409
14414
  name: "JTabs",
14410
14415
  __name: "tabs",
14411
14416
  props: {
@@ -14455,7 +14460,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14455
14460
  };
14456
14461
  return (s, d) => {
14457
14462
  const f = $("el-tabs");
14458
- return S(), F(f, Ne(s.$attrs, {
14463
+ return S(), F(f, We(s.$attrs, {
14459
14464
  class: { isFill: e.isFill },
14460
14465
  "model-value": e.modelValue,
14461
14466
  type: e.type,
@@ -14487,7 +14492,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14487
14492
  ]);
14488
14493
  };
14489
14494
  }
14490
- }), e0 = Qb, t0 = Ce(e0), n0 = /* @__PURE__ */ pe({
14495
+ }), Qb = Zb, e0 = Ce(Qb), t0 = /* @__PURE__ */ pe({
14491
14496
  name: "JCollapse",
14492
14497
  __name: "collapse",
14493
14498
  props: {
@@ -14506,7 +14511,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14506
14511
  };
14507
14512
  return (i, r) => {
14508
14513
  const l = $("el-collapse");
14509
- return S(), F(l, Ne(i.$attrs, {
14514
+ return S(), F(l, We(i.$attrs, {
14510
14515
  "model-value": e.modelValue,
14511
14516
  accordion: e.accordion,
14512
14517
  onChange: o,
@@ -14517,7 +14522,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14517
14522
  }, 16, ["model-value", "accordion"]);
14518
14523
  };
14519
14524
  }
14520
- }), a0 = n0, o0 = Ce(a0), i0 = { class: "j-editor" }, r0 = /* @__PURE__ */ pe({
14525
+ }), n0 = t0, a0 = Ce(n0), o0 = { class: "j-editor" }, i0 = /* @__PURE__ */ pe({
14521
14526
  name: "JEditor",
14522
14527
  __name: "editor",
14523
14528
  props: {
@@ -14609,7 +14614,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14609
14614
  }), jo(() => {
14610
14615
  const f = r.value;
14611
14616
  f?.destroy();
14612
- }), (f, u) => (S(), H("div", i0, [B("div", {
14617
+ }), (f, u) => (S(), H("div", o0, [B("div", {
14613
14618
  ref_key: "toolbarRef",
14614
14619
  ref: i,
14615
14620
  class: "j-editor-toolbar"
@@ -14620,10 +14625,10 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14620
14625
  style: le(l.value)
14621
14626
  }, null, 4)]));
14622
14627
  }
14623
- }), l0 = /* @__PURE__ */ Dc(r0, [["__scopeId", "data-v-d513e01b"]]), s0 = Ce(l0), c0 = {
14628
+ }), r0 = /* @__PURE__ */ Dc(i0, [["__scopeId", "data-v-086d2967"]]), l0 = Ce(r0), s0 = {
14624
14629
  key: 0,
14625
14630
  class: "j-map-loading"
14626
- }, u0 = /* @__PURE__ */ pe({
14631
+ }, c0 = /* @__PURE__ */ pe({
14627
14632
  name: "JMap",
14628
14633
  __name: "map",
14629
14634
  props: {
@@ -14707,7 +14712,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14707
14712
  }), (b, x) => (S(), H("div", {
14708
14713
  class: "j-map",
14709
14714
  style: le({ height: e.height })
14710
- }, [i.value ? (S(), H("div", c0, [X(Ea, {
14715
+ }, [i.value ? (S(), H("div", s0, [X(Ea, {
14711
14716
  icon: "mdi:loading",
14712
14717
  class: "is-loading",
14713
14718
  size: 30
@@ -14717,7 +14722,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14717
14722
  class: "j-map-container"
14718
14723
  }, null, 512)], 4));
14719
14724
  }
14720
- }), d0 = u0, f0 = Ce(d0), h0 = /* @__PURE__ */ pe({
14725
+ }), u0 = c0, d0 = Ce(u0), f0 = /* @__PURE__ */ pe({
14721
14726
  name: "JInputMap",
14722
14727
  __name: "input-map",
14723
14728
  props: {
@@ -14874,7 +14879,7 @@ var Fc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14874
14879
  ], 64);
14875
14880
  };
14876
14881
  }
14877
- }), p0 = h0, g0 = Ce(p0);
14882
+ }), h0 = f0, p0 = Ce(h0);
14878
14883
  function Yl(e) {
14879
14884
  !e || typeof e.stopPropagation != "function" || e.stopPropagation();
14880
14885
  }
@@ -14921,7 +14926,7 @@ function Vc(e, t, n) {
14921
14926
  })(), this._findTargetGfx = function(r) {
14922
14927
  var l, c;
14923
14928
  if (r instanceof MouseEvent)
14924
- return l = Ka(r), c = document.elementFromPoint(l.x, l.y), v0(c);
14929
+ return l = Ka(r), c = document.elementFromPoint(l.x, l.y), g0(c);
14925
14930
  };
14926
14931
  }
14927
14932
  Vc.$inject = [
@@ -14929,10 +14934,10 @@ Vc.$inject = [
14929
14934
  "eventBus",
14930
14935
  "injector"
14931
14936
  ];
14932
- function v0(e) {
14937
+ function g0(e) {
14933
14938
  return Lr(e, "svg, .djs-element", !0);
14934
14939
  }
14935
- var y0 = {
14940
+ var v0 = {
14936
14941
  __init__: ["hoverFix"],
14937
14942
  hoverFix: ["type", Vc]
14938
14943
  };
@@ -14945,7 +14950,7 @@ function Wc(e, t) {
14945
14950
  function ia(e) {
14946
14951
  return Wc(e, 0);
14947
14952
  }
14948
- function m0(e) {
14953
+ function y0(e) {
14949
14954
  return Wc(e, 1);
14950
14955
  }
14951
14956
  function Gl(e) {
@@ -14959,7 +14964,7 @@ function xr(e) {
14959
14964
  function Io(e) {
14960
14965
  return e.flat().join(",").replace(/,?([A-Za-z]),?/g, "$1");
14961
14966
  }
14962
- function b0(e) {
14967
+ function m0(e) {
14963
14968
  return [
14964
14969
  "M",
14965
14970
  e.x,
@@ -14973,7 +14978,7 @@ function rr(e) {
14973
14978
  e.y
14974
14979
  ];
14975
14980
  }
14976
- function w0(e, t, n) {
14981
+ function b0(e, t, n) {
14977
14982
  return [
14978
14983
  "C",
14979
14984
  e.x,
@@ -14984,8 +14989,8 @@ function w0(e, t, n) {
14984
14989
  n.y
14985
14990
  ];
14986
14991
  }
14987
- function _0(e, t) {
14988
- const n = e.length, a = [b0(e[0])];
14992
+ function w0(e, t) {
14993
+ const n = e.length, a = [m0(e[0])];
14989
14994
  for (let o = 1; o < n; o++) {
14990
14995
  const i = e[o - 1], r = e[o], l = e[o + 1];
14991
14996
  if (!l || !t) {
@@ -14998,7 +15003,7 @@ function _0(e, t) {
14998
15003
  continue;
14999
15004
  }
15000
15005
  const s = oi(r, i, c), d = oi(r, i, c * 0.5), f = oi(r, l, c), u = oi(r, l, c * 0.5);
15001
- a.push(rr(s)), a.push(w0(d, u, f));
15006
+ a.push(rr(s)), a.push(b0(d, u, f));
15002
15007
  }
15003
15008
  return a;
15004
15009
  }
@@ -15018,13 +15023,13 @@ function qr(e, t, n) {
15018
15023
  return It(n) && (a.dataset.cornerRadius = String(n)), Uc(a, e);
15019
15024
  }
15020
15025
  function Uc(e, t) {
15021
- return $e(e, { d: Io(_0(t, parseInt(e.dataset.cornerRadius, 10) || 0)) }), e;
15026
+ return $e(e, { d: Io(w0(t, parseInt(e.dataset.cornerRadius, 10) || 0)) }), e;
15022
15027
  }
15023
- function x0(e) {
15028
+ function _0(e) {
15024
15029
  return !0;
15025
15030
  }
15026
15031
  function ii(e) {
15027
- return ia(e) || m0(e);
15032
+ return ia(e) || y0(e);
15028
15033
  }
15029
15034
  var Kl = 500;
15030
15035
  function Yc(e, t, n) {
@@ -15056,7 +15061,7 @@ function Yc(e, t, n) {
15056
15061
  mouseout: "element.out",
15057
15062
  mouseup: "element.mouseup"
15058
15063
  }, s = {
15059
- "element.contextmenu": x0,
15064
+ "element.contextmenu": _0,
15060
15065
  "element.mousedown": ii,
15061
15066
  "element.mouseup": ii,
15062
15067
  "element.click": ii,
@@ -15241,7 +15246,7 @@ function Gc(e, t, n, a) {
15241
15246
  var i = o.context, r = i.canExecute, l = i.elements, c = (i.hints || {}).autoSelect;
15242
15247
  if (r) {
15243
15248
  if (c === !1) return;
15244
- st(c) ? t.select(c) : t.select(l.filter(C0));
15249
+ st(c) ? t.select(c) : t.select(l.filter(x0));
15245
15250
  }
15246
15251
  }), e.on("connect.end", 500, function(o) {
15247
15252
  var i = o.context.connection;
@@ -15267,7 +15272,7 @@ Gc.$inject = [
15267
15272
  "canvas",
15268
15273
  "elementRegistry"
15269
15274
  ];
15270
- function C0(e) {
15275
+ function x0(e) {
15271
15276
  return !e.hidden;
15272
15277
  }
15273
15278
  var eo = {
@@ -15276,21 +15281,21 @@ var eo = {
15276
15281
  selection: ["type", Qa],
15277
15282
  selectionVisuals: ["type", Jc],
15278
15283
  selectionBehavior: ["type", Gc]
15279
- }, S0 = /^djs-cursor-.*$/;
15284
+ }, C0 = /^djs-cursor-.*$/;
15280
15285
  function Zr(e) {
15281
15286
  var t = nn(document.body);
15282
- t.removeMatching(S0), e && t.add("djs-cursor-" + e);
15287
+ t.removeMatching(C0), e && t.add("djs-cursor-" + e);
15283
15288
  }
15284
15289
  function Kc() {
15285
15290
  Zr(null);
15286
15291
  }
15287
- var k0 = 5e3;
15292
+ var S0 = 5e3;
15288
15293
  function qc(e, t) {
15289
15294
  t = t || "element.click";
15290
15295
  function n() {
15291
15296
  return !1;
15292
15297
  }
15293
- return e.once(t, k0, n), function() {
15298
+ return e.once(t, S0, n), function() {
15294
15299
  e.off(t, n);
15295
15300
  };
15296
15301
  }
@@ -15316,10 +15321,10 @@ var Wa = Math.round, Ql = "djs-drag-active";
15316
15321
  function wa(e) {
15317
15322
  e.preventDefault();
15318
15323
  }
15319
- function R0(e) {
15324
+ function k0(e) {
15320
15325
  return typeof TouchEvent < "u" && e instanceof TouchEvent;
15321
15326
  }
15322
- function E0(e) {
15327
+ function R0(e) {
15323
15328
  return Math.sqrt(Math.pow(e.x, 2) + Math.pow(e.y, 2));
15324
15329
  }
15325
15330
  function Qc(e, t, n, a) {
@@ -15347,7 +15352,7 @@ function Qc(e, t, n, a) {
15347
15352
  }
15348
15353
  function s(v, w) {
15349
15354
  var C = i.payload, y = i.displacement, _ = i.globalStart, k = Ka(v), R = Ya(k, _), T = i.localStart, A = r(k), P = Ya(A, T);
15350
- if (!i.active && (w || E0(R) > i.threshold)) {
15355
+ if (!i.active && (w || R0(R) > i.threshold)) {
15351
15356
  if (Fe(C, {
15352
15357
  x: Wa(T.x + y.x),
15353
15358
  y: Wa(T.y + y.y),
@@ -15405,7 +15410,7 @@ function Qc(e, t, n, a) {
15405
15410
  y.trapClick ? A = u : A = d, v ? (k = Za(v) || v, R = Ka(v), ir(v), k.type === "dragstart" && wa(k)) : (k = null, R = {
15406
15411
  x: 0,
15407
15412
  y: 0
15408
- }), T = r(R), w || (w = T), P = R0(k), i = Fe({
15413
+ }), T = r(R), w || (w = T), P = k0(k), i = Fe({
15409
15414
  prefix: C,
15410
15415
  data: _,
15411
15416
  payload: {},
@@ -15428,7 +15433,7 @@ Qc.$inject = [
15428
15433
  "elementRegistry"
15429
15434
  ];
15430
15435
  var Pa = {
15431
- __depends__: [y0, eo],
15436
+ __depends__: [v0, eo],
15432
15437
  dragging: ["type", Qc]
15433
15438
  };
15434
15439
  function Sr(e) {
@@ -15440,11 +15445,11 @@ function Di(e) {
15440
15445
  Di.prototype.next = function() {
15441
15446
  return this._prefix + ++this._counter;
15442
15447
  };
15443
- var T0 = new Di("ps"), A0 = [
15448
+ var E0 = new Di("ps"), T0 = [
15444
15449
  "marker-start",
15445
15450
  "marker-mid",
15446
15451
  "marker-end"
15447
- ], M0 = [
15452
+ ], A0 = [
15448
15453
  "circle",
15449
15454
  "ellipse",
15450
15455
  "line",
@@ -15491,9 +15496,9 @@ ra.prototype._cloneMarkers = function(e, t = "djs-dragger", n = e) {
15491
15496
  var a = this;
15492
15497
  e.childNodes && e.childNodes.forEach((o) => {
15493
15498
  a._cloneMarkers(o, t, n);
15494
- }), H0(e) && A0.forEach(function(o) {
15499
+ }), B0(e) && T0.forEach(function(o) {
15495
15500
  if ($e(e, o)) {
15496
- var i = j0(e, o, a._canvas.getContainer());
15501
+ var i = M0(e, o, a._canvas.getContainer());
15497
15502
  i && a._cloneMarker(n, e, i, o, t);
15498
15503
  }
15499
15504
  });
@@ -15502,25 +15507,25 @@ ra.prototype._cloneMarker = function(e, t, n, a, o = "djs-dragger") {
15502
15507
  var i = [
15503
15508
  n.id,
15504
15509
  o,
15505
- T0.next()
15510
+ E0.next()
15506
15511
  ].join("-"), r = Zt("marker#" + n.id, e);
15507
15512
  e = e || this._canvas._svg;
15508
15513
  var l = r || mc(n);
15509
15514
  l.id = i, ht(l).add(o);
15510
15515
  var c = Zt(":scope > defs", e);
15511
- c || (c = Ge("defs"), qe(e, c)), qe(c, l), $e(t, a, B0(l.id));
15516
+ c || (c = Ge("defs"), qe(e, c)), qe(c, l), $e(t, a, P0(l.id));
15512
15517
  };
15513
- function j0(e, t, n) {
15514
- return Zt("marker#" + P0($e(e, t)), n || document);
15518
+ function M0(e, t, n) {
15519
+ return Zt("marker#" + j0($e(e, t)), n || document);
15515
15520
  }
15516
- function P0(e) {
15521
+ function j0(e) {
15517
15522
  return e.match(/url\(['"]?#([^'"]*)['"]?\)/)[1];
15518
15523
  }
15519
- function B0(e) {
15524
+ function P0(e) {
15520
15525
  return "url(#" + e + ")";
15521
15526
  }
15522
- function H0(e) {
15523
- return M0.indexOf(e.nodeName) !== -1;
15527
+ function B0(e) {
15528
+ return A0.indexOf(e.nodeName) !== -1;
15524
15529
  }
15525
15530
  var Qr = {
15526
15531
  __init__: ["previewSupport"],
@@ -15538,7 +15543,7 @@ var to = {
15538
15543
  __init__: ["rules"],
15539
15544
  rules: ["type", el]
15540
15545
  };
15541
- function O0(e) {
15546
+ function H0(e) {
15542
15547
  return un(e, function(t) {
15543
15548
  return !Pn(e, function(n) {
15544
15549
  return n !== t && eu(t, n);
@@ -15562,7 +15567,7 @@ function tl(e, t, n) {
15562
15567
  st(i) && i.length && tl(i, t, n + 1);
15563
15568
  });
15564
15569
  }
15565
- function I0(e, t, n) {
15570
+ function O0(e, t, n) {
15566
15571
  var a = [], o = [];
15567
15572
  return tl(e, function(i, r, l) {
15568
15573
  es(a, i, t);
@@ -15571,10 +15576,10 @@ function I0(e, t, n) {
15571
15576
  return c;
15572
15577
  }), a;
15573
15578
  }
15574
- function z0(e, t) {
15575
- return I0(e, !t, -1);
15579
+ function I0(e, t) {
15580
+ return O0(e, !t, -1);
15576
15581
  }
15577
- function L0(e, t, n) {
15582
+ function z0(e, t, n) {
15578
15583
  vf(t) && (t = !0), dn(t) && (n = t, t = !0), n = n || {};
15579
15584
  var a = fo(n.allShapes), o = fo(n.allConnections), i = fo(n.enclosedElements), r = fo(n.enclosedConnections), l = fo(n.topLevel, t && Fr(e, function(d) {
15580
15585
  return d.id;
@@ -15617,10 +15622,10 @@ function tu(e, t) {
15617
15622
  o.waypoints && (o = On(o)), !It(t.y) && o.x > t.x && (n[a.id] = a), !It(t.x) && o.y > t.y && (n[a.id] = a), o.x > t.x && o.y > t.y && (It(t.width) && It(t.height) && o.width + o.x < t.width + t.x && o.height + o.y < t.height + t.y || !It(t.width) || !It(t.height)) && (n[a.id] = a);
15618
15623
  }), n;
15619
15624
  }
15620
- function D0(e) {
15625
+ function L0(e) {
15621
15626
  return "waypoints" in e ? "connection" : "x" in e ? "shape" : "root";
15622
15627
  }
15623
- function $0(e) {
15628
+ function D0(e) {
15624
15629
  return !!(e && e.isFrame);
15625
15630
  }
15626
15631
  function fo(e, t) {
@@ -15632,7 +15637,7 @@ function en(e) {
15632
15637
  function qa(e) {
15633
15638
  return dn(e) && yc(e, "labelTarget");
15634
15639
  }
15635
- var F0 = "drop-ok", ts = "drop-not-ok", ns = "attach-ok", as = "new-parent", os = "create", V0 = 2e3;
15640
+ var $0 = "drop-ok", ts = "drop-not-ok", ns = "attach-ok", as = "new-parent", os = "create", F0 = 2e3;
15636
15641
  function nu(e, t, n, a, o) {
15637
15642
  function i(c, s, d, f, u) {
15638
15643
  if (!s) return !1;
@@ -15673,7 +15678,7 @@ function nu(e, t, n, a, o) {
15673
15678
  function r(c, s) {
15674
15679
  [
15675
15680
  ns,
15676
- F0,
15681
+ $0,
15677
15682
  ts,
15678
15683
  as
15679
15684
  ].forEach(function(d) {
@@ -15726,7 +15731,7 @@ function nu(e, t, n, a, o) {
15726
15731
  c && c.prefix === os && t.cancel();
15727
15732
  }
15728
15733
  n.on("create.init", function() {
15729
- n.on("elements.changed", l), n.once(["create.cancel", "create.end"], V0, function() {
15734
+ n.on("elements.changed", l), n.once(["create.cancel", "create.end"], F0, function() {
15730
15735
  n.off("elements.changed", l);
15731
15736
  });
15732
15737
  }), this.start = function(c, s, d) {
@@ -15781,7 +15786,7 @@ function is(e) {
15781
15786
  function rs(e) {
15782
15787
  return e && e.length === 1 && !en(e[0]);
15783
15788
  }
15784
- function N0(e, t, n, a, o) {
15789
+ function V0(e, t, n, a, o) {
15785
15790
  var i = xo();
15786
15791
  i.setTranslate(t, n);
15787
15792
  var r = xo();
@@ -15797,11 +15802,11 @@ function Hn(e, t, n) {
15797
15802
  var a = xo();
15798
15803
  a.setTranslate(t, n), Wr(e, a);
15799
15804
  }
15800
- function W0(e, t) {
15805
+ function N0(e, t) {
15801
15806
  var n = xo();
15802
15807
  n.setRotate(t, 0, 0), Wr(e, n);
15803
15808
  }
15804
- var U0 = 750;
15809
+ var W0 = 750;
15805
15810
  function au(e, t, n, a, o) {
15806
15811
  function i(r) {
15807
15812
  var l = Ge("g");
@@ -15812,7 +15817,7 @@ function au(e, t, n, a, o) {
15812
15817
  s.hidden || (s.waypoints ? (d = n._createContainer("connection", c), n.drawConnection(Sr(d), s)) : (d = n._createContainer("shape", c), n.drawShape(Sr(d), s), Hn(d, s.x, s.y)), a.addDragger(s, l, d));
15813
15818
  }), l;
15814
15819
  }
15815
- t.on("create.move", U0, function(r) {
15820
+ t.on("create.move", W0, function(r) {
15816
15821
  var l = r.hover, c = r.context, s = c.elements, d = c.dragGroup;
15817
15822
  d || (d = c.dragGroup = i(s));
15818
15823
  var f;
@@ -15848,19 +15853,19 @@ function nl(e, t, n, a) {
15848
15853
  var o = (t.x - e.x) * (n.y - e.y) - (t.y - e.y) * (n.x - e.x), i = zo(e, t);
15849
15854
  return Math.abs(o / i) <= a;
15850
15855
  }
15851
- var Y0 = 2;
15856
+ var U0 = 2;
15852
15857
  function Qn(e, t) {
15853
15858
  var n = Array.from(arguments).flat();
15854
15859
  for (const [a, o] of Object.entries({
15855
15860
  x: "v",
15856
15861
  y: "h"
15857
- })) if (J0(a, n)) return o;
15862
+ })) if (Y0(a, n)) return o;
15858
15863
  return !1;
15859
15864
  }
15860
- function J0(e, t) {
15865
+ function Y0(e, t) {
15861
15866
  const n = t[0];
15862
15867
  return $r(t, function(a) {
15863
- return Math.abs(n[e] - a[e]) <= Y0;
15868
+ return Math.abs(n[e] - a[e]) <= U0;
15864
15869
  });
15865
15870
  }
15866
15871
  function ls(e, t, n) {
@@ -15872,23 +15877,23 @@ function kr(e, t) {
15872
15877
  y: Math.round(e.y + (t.y - e.y) / 2)
15873
15878
  };
15874
15879
  }
15875
- var G0 = /,?([a-z]),?/gi, ss = parseFloat, At = Math, Gn = At.PI, Mn = At.min, jn = At.max, cs = At.pow, ea = At.abs, K0 = /([a-z])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?[\s]*,?[\s]*)+)/gi, q0 = /(-?\d*\.?\d*(?:e[-+]?\d+)?)[\s]*,?[\s]*/gi, us = Array.isArray || function(e) {
15880
+ var J0 = /,?([a-z]),?/gi, ss = parseFloat, At = Math, Gn = At.PI, Mn = At.min, jn = At.max, cs = At.pow, ea = At.abs, G0 = /([a-z])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?[\s]*,?[\s]*)+)/gi, K0 = /(-?\d*\.?\d*(?:e[-+]?\d+)?)[\s]*,?[\s]*/gi, us = Array.isArray || function(e) {
15876
15881
  return e instanceof Array;
15877
15882
  };
15878
- function X0(e, t) {
15883
+ function q0(e, t) {
15879
15884
  return Object.prototype.hasOwnProperty.call(e, t);
15880
15885
  }
15881
- function Z0(e, t) {
15886
+ function X0(e, t) {
15882
15887
  for (var n = 0, a = e.length; n < a; n++) if (e[n] === t) return e.push(e.splice(n, 1)[0]);
15883
15888
  }
15884
- function Q0(e) {
15889
+ function Z0(e) {
15885
15890
  function t() {
15886
15891
  var n = Array.prototype.slice.call(arguments, 0).join("␀"), a = t.cache = t.cache || {}, o = t.count = t.count || [];
15887
- return X0(a, n) ? (Z0(o, n), a[n]) : (o.length >= 1e3 && delete a[o.shift()], o.push(n), a[n] = e(...arguments), a[n]);
15892
+ return q0(a, n) ? (X0(o, n), a[n]) : (o.length >= 1e3 && delete a[o.shift()], o.push(n), a[n] = e(...arguments), a[n]);
15888
15893
  }
15889
15894
  return t;
15890
15895
  }
15891
- function ew(e) {
15896
+ function Q0(e) {
15892
15897
  if (!e) return null;
15893
15898
  var t = {
15894
15899
  a: 7,
@@ -15902,22 +15907,22 @@ function ew(e) {
15902
15907
  v: 1,
15903
15908
  z: 0
15904
15909
  }, n = [];
15905
- return String(e).replace(K0, function(a, o, i) {
15910
+ return String(e).replace(G0, function(a, o, i) {
15906
15911
  var r = [], l = o.toLowerCase();
15907
- for (i.replace(q0, function(c, s) {
15912
+ for (i.replace(K0, function(c, s) {
15908
15913
  s && r.push(+s);
15909
15914
  }), l == "m" && r.length > 2 && (n.push([o, ...r.splice(0, 2)]), l = "l", o = o == "m" ? "l" : "L"); r.length >= t[l] && (n.push([o, ...r.splice(0, t[l])]), !!t[l]); )
15910
15915
  ;
15911
15916
  }), n.toString = al, n;
15912
15917
  }
15913
- function tw(e) {
15918
+ function ew(e) {
15914
15919
  for (var t = 0, n = e.length; t < n; t++) {
15915
15920
  var a = e[t][0];
15916
15921
  if (typeof a == "string" && a !== a.toUpperCase()) return !1;
15917
15922
  }
15918
15923
  return !0;
15919
15924
  }
15920
- function nw(e) {
15925
+ function tw(e) {
15921
15926
  for (var t = 0, n = e.length; t < n; t++) {
15922
15927
  var a = e[t][0];
15923
15928
  if (a !== "M" && a !== "C") return !1;
@@ -15935,9 +15940,9 @@ function Rr(e, t, n, a) {
15935
15940
  };
15936
15941
  }
15937
15942
  function al() {
15938
- return this.join(",").replace(G0, "$1");
15943
+ return this.join(",").replace(J0, "$1");
15939
15944
  }
15940
- function aw(e) {
15945
+ function nw(e) {
15941
15946
  for (var t = new Array(e.length), n = 0, a = e.length; n < a; n++)
15942
15947
  for (var o = e[n], i = t[n] = new Array(o.length), r = 0, l = o.length; r < l; r++) i[r] = o[r];
15943
15948
  return t.toString = al, t;
@@ -15950,13 +15955,13 @@ function ds(e, t, n, a, o, i, r, l, c) {
15950
15955
  };
15951
15956
  }
15952
15957
  function fs(e) {
15953
- var t = cw(...e);
15958
+ var t = sw(...e);
15954
15959
  return Rr(t.x0, t.y0, t.x1 - t.x0, t.y1 - t.y0);
15955
15960
  }
15956
15961
  function Kn(e, t, n) {
15957
15962
  return t >= e.x && t <= e.x + e.width && n >= e.y && n <= e.y + e.height;
15958
15963
  }
15959
- function ow(e, t) {
15964
+ function aw(e, t) {
15960
15965
  return e = Rr(e), t = Rr(t), Kn(t, e.x, e.y) || Kn(t, e.x2, e.y) || Kn(t, e.x, e.y2) || Kn(t, e.x2, e.y2) || Kn(e, t.x, t.y) || Kn(e, t.x2, t.y) || Kn(e, t.x, t.y2) || Kn(e, t.x2, t.y2) || (e.x < t.x2 && e.x > t.x || t.x < e.x2 && t.x > e.x) && (e.y < t.y2 && e.y > t.y || t.y < e.y2 && t.y > e.y);
15961
15966
  }
15962
15967
  function hs(e, t, n, a, o) {
@@ -15996,7 +16001,7 @@ function ps(e, t, n, a, o, i, r, l, c) {
15996
16001
  }
15997
16002
  return s * h;
15998
16003
  }
15999
- function iw(e, t, n, a, o, i, r, l) {
16004
+ function ow(e, t, n, a, o, i, r, l) {
16000
16005
  if (!(jn(e, n) < Mn(o, r) || Mn(e, n) > jn(o, r) || jn(t, a) < Mn(i, l) || Mn(t, a) > jn(i, l))) {
16001
16006
  var c = (e * a - t * n) * (o - r) - (e - n) * (o * l - i * r), s = (e * a - t * n) * (i - l) - (t - a) * (o * l - i * r), d = (e - n) * (i - l) - (t - a) * (o - r);
16002
16007
  if (d) {
@@ -16012,8 +16017,8 @@ function iw(e, t, n, a, o, i, r, l) {
16012
16017
  function Ei(e) {
16013
16018
  return Math.round(e * 1e11) / 1e11;
16014
16019
  }
16015
- function rw(e, t, n) {
16016
- if (!ow(fs(e), fs(t))) return n ? 0 : [];
16020
+ function iw(e, t, n) {
16021
+ if (!aw(fs(e), fs(t))) return n ? 0 : [];
16017
16022
  var a = ps(...e), o = ps(...t), i = gs(e) ? 1 : ~~(a / 5) || 1, r = gs(t) ? 1 : ~~(o / 5) || 1, l = new Array(i + 1), c = new Array(r + 1), s = {}, d = n ? 0 : [], f, u;
16018
16023
  for (f = 0; f < i + 1; f++) {
16019
16024
  var h = ds(...e, f / i);
@@ -16030,7 +16035,7 @@ function rw(e, t, n) {
16030
16035
  t: f / r
16031
16036
  };
16032
16037
  for (f = 0; f < i; f++) for (u = 0; u < r; u++) {
16033
- var p = l[f], g = l[f + 1], b = c[u], x = c[u + 1], m = ea(g.x - p.x) < 0.01 ? "y" : "x", v = ea(x.x - b.x) < 0.01 ? "y" : "x", w = iw(p.x, p.y, g.x, g.y, b.x, b.y, x.x, x.y), C;
16038
+ var p = l[f], g = l[f + 1], b = c[u], x = c[u + 1], m = ea(g.x - p.x) < 0.01 ? "y" : "x", v = ea(x.x - b.x) < 0.01 ? "y" : "x", w = ow(p.x, p.y, g.x, g.y, b.x, b.y, x.x, x.y), C;
16034
16039
  if (w) {
16035
16040
  if (C = w.x.toFixed(9) + "#" + w.y.toFixed(9), s[C]) continue;
16036
16041
  s[C] = !0;
@@ -16085,7 +16090,7 @@ function iu(e, t, n) {
16085
16090
  s,
16086
16091
  d
16087
16092
  ], i = s, r = d);
16088
- var w = rw(f, u, n);
16093
+ var w = iw(f, u, n);
16089
16094
  if (n) h += w;
16090
16095
  else {
16091
16096
  for (var C = 0, y = w.length; C < y; C++)
@@ -16098,11 +16103,11 @@ function iu(e, t, n) {
16098
16103
  }
16099
16104
  return h;
16100
16105
  }
16101
- function lw(e) {
16106
+ function rw(e) {
16102
16107
  return us(e) && us(e[0]);
16103
16108
  }
16104
- function sw(e) {
16105
- if (tw(e)) return e;
16109
+ function lw(e) {
16110
+ if (ew(e)) return e;
16106
16111
  var t = new Array(e.length), n = 0, a = 0, o = 0, i = 0, r = 0, l;
16107
16112
  e[0][0] == "M" && (n = +e[0][1], a = +e[0][2], o = n, i = a, r++, t[0] = [
16108
16113
  "M",
@@ -16170,7 +16175,7 @@ function vs(e, t, n, a, o, i) {
16170
16175
  ];
16171
16176
  }
16172
16177
  function ru(e, t, n, a, o, i, r, l, c, s) {
16173
- var d = Gn * 120 / 180, f = Gn / 180 * (+o || 0), u = [], h, p = Q0(function(me, Ve, Ye) {
16178
+ var d = Gn * 120 / 180, f = Gn / 180 * (+o || 0), u = [], h, p = Z0(function(me, Ve, Ye) {
16174
16179
  return {
16175
16180
  x: me * At.cos(Ye) - Ve * At.sin(Ye),
16176
16181
  y: me * At.sin(Ye) + Ve * At.cos(Ye)
@@ -16210,7 +16215,7 @@ function ru(e, t, n, a, o, i, r, l, c, s) {
16210
16215
  for (var M = [], ue = 0, Te = u.length; ue < Te; ue++) M[ue] = ue % 2 ? p(u[ue - 1], u[ue], f).y : p(u[ue], u[ue + 1], f).x;
16211
16216
  return M;
16212
16217
  }
16213
- function cw(e, t, n, a, o, i, r, l) {
16218
+ function sw(e, t, n, a, o, i, r, l) {
16214
16219
  for (var c = [], s = [[], []], d, f, u, h, p, g, b, x, m = 0; m < 2; ++m) {
16215
16220
  if (m == 0 ? (f = 6 * e - 12 * n + 6 * o, d = -3 * e + 9 * n - 9 * o + 3 * r, u = 3 * n - 3 * e) : (f = 6 * t - 12 * a + 6 * i, d = -3 * t + 9 * a - 9 * i + 3 * l, u = 3 * a - 3 * t), ea(d) < 1e-12) {
16216
16221
  if (ea(f) < 1e-12) continue;
@@ -16229,8 +16234,8 @@ function cw(e, t, n, a, o, i, r, l) {
16229
16234
  };
16230
16235
  }
16231
16236
  function ys(e) {
16232
- if (lw(e) || (e = ew(e)), nw(e)) return e;
16233
- for (var t = aw(sw(e)), n = {
16237
+ if (rw(e) || (e = Q0(e)), tw(e)) return e;
16238
+ for (var t = nw(lw(e)), n = {
16234
16239
  x: 0,
16235
16240
  y: 0,
16236
16241
  bx: 0,
@@ -16302,7 +16307,7 @@ function ys(e) {
16302
16307
  }
16303
16308
  return t;
16304
16309
  }
16305
- function uw(e) {
16310
+ function cw(e) {
16306
16311
  return {
16307
16312
  x: Math.round(e.x),
16308
16313
  y: Math.round(e.y),
@@ -16332,17 +16337,17 @@ function lu(e) {
16332
16337
  height: e.bottom - e.top
16333
16338
  };
16334
16339
  }
16335
- function dw(e) {
16340
+ function uw(e) {
16336
16341
  return ko({
16337
16342
  x: e.x + (e.width || 0) / 2,
16338
16343
  y: e.y + (e.height || 0) / 2
16339
16344
  });
16340
16345
  }
16341
- function fw(e) {
16346
+ function dw(e) {
16342
16347
  for (var t = e.waypoints, n = t.reduce(function(l, c, s) {
16343
16348
  var d = t[s - 1];
16344
16349
  if (d) {
16345
- var f = l[l.length - 1], u = f && f.endLength || 0, h = gw(d, c);
16350
+ var f = l[l.length - 1], u = f && f.endLength || 0, h = pw(d, c);
16346
16351
  l.push({
16347
16352
  start: d,
16348
16353
  end: c,
@@ -16362,7 +16367,7 @@ function fw(e) {
16362
16367
  };
16363
16368
  }
16364
16369
  function Rt(e) {
16365
- return en(e) ? fw(e) : dw(e);
16370
+ return en(e) ? dw(e) : uw(e);
16366
16371
  }
16367
16372
  function oa(e, t, n) {
16368
16373
  n = n || 0, dn(n) || (n = {
@@ -16373,22 +16378,22 @@ function oa(e, t, n) {
16373
16378
  return d && s ? s + "-" + d : d || s || "intersect";
16374
16379
  }
16375
16380
  function Er(e, t, n) {
16376
- var a = hw(e, t);
16381
+ var a = fw(e, t);
16377
16382
  return a.length === 1 || a.length === 2 && zo(a[0], a[1]) < 1 ? ko(a[0]) : a.length > 1 ? (a = Ao(a, function(o) {
16378
16383
  var i = Math.floor(o.t2 * 100) || 1;
16379
16384
  return i = 100 - i, i = (i < 10 ? "0" : "") + i, o.segment2 + "#" + i;
16380
16385
  }), ko(a[n ? 0 : a.length - 1])) : null;
16381
16386
  }
16382
- function hw(e, t) {
16387
+ function fw(e, t) {
16383
16388
  return iu(e, t);
16384
16389
  }
16385
- function pw(e) {
16390
+ function hw(e) {
16386
16391
  e = e.slice();
16387
16392
  for (var t = 0, n, a, o; e[t]; )
16388
16393
  n = e[t], a = e[t - 1], o = e[t + 1], zo(n, o) === 0 || nl(a, o, n) ? e.splice(t, 1) : t++;
16389
16394
  return e;
16390
16395
  }
16391
- function gw(e, t) {
16396
+ function pw(e, t) {
16392
16397
  return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
16393
16398
  }
16394
16399
  function su(e, t, n, a) {
@@ -16447,7 +16452,7 @@ function Tr(e) {
16447
16452
  var t = e.hover, n = e.source, a = e.target;
16448
16453
  return t && n && t === n && n !== a;
16449
16454
  }
16450
- var vw = 1100, yw = 900, ms = "connect-ok", bs = "connect-not-ok";
16455
+ var gw = 1100, vw = 900, ms = "connect-ok", bs = "connect-not-ok";
16451
16456
  function cu(e, t, n) {
16452
16457
  var a = e.get("connectionPreview", !1);
16453
16458
  a && t.on("connect.move", function(o) {
@@ -16461,10 +16466,10 @@ function cu(e, t, n) {
16461
16466
  connectionStart: p,
16462
16467
  connectionEnd: g
16463
16468
  });
16464
- }), t.on("connect.hover", yw, function(o) {
16469
+ }), t.on("connect.hover", vw, function(o) {
16465
16470
  var i = o.context, r = o.hover, l = i.canExecute;
16466
16471
  l !== null && n.addMarker(r, l ? ms : bs);
16467
- }), t.on(["connect.out", "connect.cleanup"], vw, function(o) {
16472
+ }), t.on(["connect.out", "connect.cleanup"], gw, function(o) {
16468
16473
  var i = o.hover;
16469
16474
  i && (n.removeMarker(i, ms), n.removeMarker(i, bs));
16470
16475
  }), a && t.on("connect.cleanup", function(o) {
@@ -16485,7 +16490,7 @@ var ol = {
16485
16490
  __init__: ["connectPreview"],
16486
16491
  connect: ["type", su],
16487
16492
  connectPreview: ["type", cu]
16488
- }, mw = 15;
16493
+ }, yw = 15;
16489
16494
  function uu(e, t) {
16490
16495
  var n;
16491
16496
  function a(l) {
@@ -16496,7 +16501,7 @@ function uu(e, t) {
16496
16501
  });
16497
16502
  function o(l) {
16498
16503
  var c = n.start, s = n.button, d = Ka(l), f = Ya(d, c);
16499
- !n.dragging && bw(f) > mw && (n.dragging = !0, s === 0 && qc(e), Zr("grab")), n.dragging && (f = Ya(d, n.last || n.start), t.scroll({
16504
+ !n.dragging && mw(f) > yw && (n.dragging = !0, s === 0 && qc(e), Zr("grab")), n.dragging && (f = Ya(d, n.last || n.start), t.scroll({
16500
16505
  dx: f.x,
16501
16506
  dy: f.y
16502
16507
  }), n.last = d), l.preventDefault();
@@ -16519,7 +16524,7 @@ function uu(e, t) {
16519
16524
  };
16520
16525
  }
16521
16526
  uu.$inject = ["eventBus", "canvas"];
16522
- function bw(e) {
16527
+ function mw(e) {
16523
16528
  return Math.sqrt(Math.pow(e.x, 2) + Math.pow(e.y, 2));
16524
16529
  }
16525
16530
  var du = {
@@ -16533,17 +16538,17 @@ function fu(e, t) {
16533
16538
  var n = Ar(e.min), a = Ar(e.max);
16534
16539
  return (Math.abs(n) + Math.abs(a)) / t;
16535
16540
  }
16536
- function ww(e, t) {
16541
+ function bw(e, t) {
16537
16542
  return Math.max(e.min, Math.min(e.max, t));
16538
16543
  }
16539
- var _w = Math.sign || function(e) {
16544
+ var ww = Math.sign || function(e) {
16540
16545
  return e >= 0 ? 1 : -1;
16541
16546
  }, il = {
16542
16547
  min: 0.2,
16543
16548
  max: 4
16544
- }, hu = 10, xw = 0.1, Cw = 0.75;
16549
+ }, hu = 10, _w = 0.1, xw = 0.75;
16545
16550
  function In(e, t, n) {
16546
- e = e || {}, this._enabled = !1, this._canvas = n, this._container = n._container, this._handleWheel = Dr(this._handleWheel, this), this._totalDelta = 0, this._scale = e.scale || Cw;
16551
+ e = e || {}, this._enabled = !1, this._canvas = n, this._container = n._container, this._handleWheel = Dr(this._handleWheel, this), this._totalDelta = 0, this._scale = e.scale || xw;
16547
16552
  var a = this;
16548
16553
  t.on("canvas.mouseover", function() {
16549
16554
  a._init(e.enabled !== !1);
@@ -16564,7 +16569,7 @@ In.prototype.reset = function() {
16564
16569
  };
16565
16570
  In.prototype.zoom = function(t, n) {
16566
16571
  var a = fu(il, hu * 2);
16567
- this._totalDelta += t, Math.abs(this._totalDelta) > xw && (this._zoom(t, n, a), this._totalDelta = 0);
16572
+ this._totalDelta += t, Math.abs(this._totalDelta) > _w && (this._zoom(t, n, a), this._totalDelta = 0);
16568
16573
  };
16569
16574
  In.prototype._handleWheel = function(t) {
16570
16575
  if (this._enabled) {
@@ -16576,7 +16581,7 @@ In.prototype._handleWheel = function(t) {
16576
16581
  x: t.clientX - l.left,
16577
16582
  y: t.clientY - l.top
16578
16583
  };
16579
- r = Math.sqrt(Math.pow(t.deltaY, 2) + Math.pow(t.deltaX, 2)) * _w(t.deltaY) * i, this.zoom(r, c);
16584
+ r = Math.sqrt(Math.pow(t.deltaY, 2) + Math.pow(t.deltaX, 2)) * ww(t.deltaY) * i, this.zoom(r, c);
16580
16585
  } else
16581
16586
  o ? r = {
16582
16587
  dx: i * t.deltaY,
@@ -16595,7 +16600,7 @@ In.prototype._zoom = function(e, t, n) {
16595
16600
  var a = this._canvas, o = e > 0 ? 1 : -1, i = Ar(a.zoom()), r = Math.round(i / n) * n;
16596
16601
  r += n * o;
16597
16602
  var l = Math.pow(10, r);
16598
- a.zoom(ww(il, l), t);
16603
+ a.zoom(bw(il, l), t);
16599
16604
  };
16600
16605
  In.prototype.toggle = function(t) {
16601
16606
  var n = this._container, a = this._handleWheel, o = this._enabled;
@@ -16740,7 +16745,7 @@ mt.prototype._setHandler = function(e, t) {
16740
16745
  if (this._handlerMap[e]) throw new Error("overriding handler for command <" + e + ">");
16741
16746
  this._handlerMap[e] = t;
16742
16747
  };
16743
- var Sw = { commandStack: ["type", mt] };
16748
+ var Cw = { commandStack: ["type", mt] };
16744
16749
  function Ba(e, t) {
16745
16750
  t && (e.super_ = t, e.prototype = Object.create(t.prototype, { constructor: {
16746
16751
  value: e,
@@ -16776,18 +16781,18 @@ function Ja(e, t) {
16776
16781
  return e;
16777
16782
  }
16778
16783
  }
16779
- var kw = 1e3;
16784
+ var Sw = 1e3;
16780
16785
  function Gt(e) {
16781
16786
  this._eventBus = e;
16782
16787
  }
16783
16788
  Gt.$inject = ["eventBus"];
16784
- function Rw(e, t) {
16789
+ function kw(e, t) {
16785
16790
  return function(n) {
16786
16791
  return e.call(t || null, n.context, n.command, n);
16787
16792
  };
16788
16793
  }
16789
16794
  Gt.prototype.on = function(e, t, n, a, o, i) {
16790
- if ((Bn(t) || It(t)) && (i = o, o = a, a = n, n = t, t = null), Bn(n) && (i = o, o = a, a = n, n = kw), dn(o) && (i = o, o = !1), !Bn(a)) throw new Error("handlerFn must be a function");
16795
+ if ((Bn(t) || It(t)) && (i = o, o = a, a = n, n = t, t = null), Bn(n) && (i = o, o = a, a = n, n = Sw), dn(o) && (i = o, o = !1), !Bn(a)) throw new Error("handlerFn must be a function");
16791
16796
  st(e) || (e = [e]);
16792
16797
  var r = this._eventBus;
16793
16798
  de(e, function(l) {
@@ -16798,7 +16803,7 @@ Gt.prototype.on = function(e, t, n, a, o, i) {
16798
16803
  ].filter(function(s) {
16799
16804
  return s;
16800
16805
  }).join(".");
16801
- r.on(c, n, o ? Rw(a, i) : a, i);
16806
+ r.on(c, n, o ? kw(a, i) : a, i);
16802
16807
  });
16803
16808
  };
16804
16809
  Gt.prototype.canExecute = Wn("canExecute");
@@ -16815,14 +16820,14 @@ function Wn(e) {
16815
16820
  (Bn(n) || It(n)) && (r = i, i = o, o = a, a = n, n = null), this.on(n, e, a, o, i, r);
16816
16821
  };
16817
16822
  }
16818
- var Ew = 250, ws = 1400;
16823
+ var Rw = 250, ws = 1400;
16819
16824
  function ll(e, t, n) {
16820
16825
  Gt.call(this, t);
16821
16826
  var a = e.get("movePreview", !1);
16822
16827
  t.on("shape.move.start", ws, function(o) {
16823
16828
  var i = o.context, r = i.shapes, l = i.validatedShapes;
16824
16829
  i.shapes = _s(r), i.validatedShapes = _s(l);
16825
- }), a && t.on("shape.move.start", Ew, function(o) {
16830
+ }), a && t.on("shape.move.start", Rw, function(o) {
16826
16831
  var i = o.context, r = i.shapes, l = [];
16827
16832
  de(r, function(c) {
16828
16833
  de(c.labels, function(s) {
@@ -16862,7 +16867,7 @@ function _s(e) {
16862
16867
  return e.indexOf(t.labelTarget) === -1;
16863
16868
  });
16864
16869
  }
16865
- var Tw = {
16870
+ var Ew = {
16866
16871
  __init__: ["labelSupport"],
16867
16872
  labelSupport: ["type", ll]
16868
16873
  };
@@ -16881,7 +16886,7 @@ function vu(e, t) {
16881
16886
  }
16882
16887
  return e;
16883
16888
  }
16884
- function Aw(e, t, n, a) {
16889
+ function Tw(e, t, n, a) {
16885
16890
  var o = n.inverse;
16886
16891
  return Object.defineProperty(e, "remove", { value: function(i) {
16887
16892
  var r = this.indexOf(i);
@@ -16897,14 +16902,14 @@ function Aw(e, t, n, a) {
16897
16902
  l !== -1 && this.splice(l, 1), this.splice(r, 0, i), l === -1 && t.set(i, o, a);
16898
16903
  } }), Object.defineProperty(e, "__refs_collection", { value: !0 }), e;
16899
16904
  }
16900
- function Mw(e) {
16905
+ function Aw(e) {
16901
16906
  return e.__refs_collection === !0;
16902
16907
  }
16903
- function jw(e, t) {
16908
+ function Mw(e, t) {
16904
16909
  return Object.prototype.hasOwnProperty.call(e, t.name || t);
16905
16910
  }
16906
16911
  function yu(e, t, n) {
16907
- var a = Aw(n[t.name] || [], e, t, n);
16912
+ var a = Tw(n[t.name] || [], e, t, n);
16908
16913
  Object.defineProperty(n, t.name, {
16909
16914
  enumerable: t.enumerable,
16910
16915
  value: a
@@ -16912,7 +16917,7 @@ function yu(e, t, n) {
16912
16917
  e.set(o, t.inverse, n);
16913
16918
  });
16914
16919
  }
16915
- function Pw(e, t, n) {
16920
+ function jw(e, t, n) {
16916
16921
  var a = t.inverse, o = n[t.name];
16917
16922
  Object.defineProperty(n, t.name, {
16918
16923
  configurable: t.configurable,
@@ -16937,14 +16942,14 @@ hn.prototype.bind = function(e, t) {
16937
16942
  if (!this.props[t]) throw new Error("no property <" + t + "> in ref");
16938
16943
  t = this.props[t];
16939
16944
  }
16940
- t.collection ? yu(this, t, e) : Pw(this, t, e);
16945
+ t.collection ? yu(this, t, e) : jw(this, t, e);
16941
16946
  };
16942
16947
  hn.prototype.ensureRefsCollection = function(e, t) {
16943
16948
  var n = e[t.name];
16944
- return Mw(n) || yu(this, t, e), n;
16949
+ return Aw(n) || yu(this, t, e), n;
16945
16950
  };
16946
16951
  hn.prototype.ensureBound = function(e, t) {
16947
- jw(e, t) || this.bind(e, t);
16952
+ Mw(e, t) || this.bind(e, t);
16948
16953
  };
16949
16954
  hn.prototype.unset = function(e, t, n) {
16950
16955
  e && (this.ensureBound(e, t), t.collection ? this.ensureRefsCollection(e, t).remove(n) : e[t.name] = void 0);
@@ -16997,18 +17002,18 @@ function Cu() {
16997
17002
  no.call(this), bu.bind(this, "source"), wu.bind(this, "target");
16998
17003
  }
16999
17004
  Ba(Cu, no);
17000
- var Bw = {
17005
+ var Pw = {
17001
17006
  connection: Cu,
17002
17007
  shape: Lo,
17003
17008
  label: xu,
17004
17009
  root: _u
17005
17010
  };
17006
- function Hw(e, t) {
17007
- var n = Bw[e];
17011
+ function Bw(e, t) {
17012
+ var n = Pw[e];
17008
17013
  if (!n) throw new Error("unknown type: <" + e + ">");
17009
17014
  return Fe(new n(), t);
17010
17015
  }
17011
- function Ow(e) {
17016
+ function Hw(e) {
17012
17017
  return e instanceof no;
17013
17018
  }
17014
17019
  function sa() {
@@ -17027,9 +17032,9 @@ sa.prototype.createConnection = function(e) {
17027
17032
  return this.create("connection", e);
17028
17033
  };
17029
17034
  sa.prototype.create = function(e, t) {
17030
- return t = Fe({}, t || {}), t.id || (t.id = e + "_" + this._uid++), Hw(e, t);
17035
+ return t = Fe({}, t || {}), t.id || (t.id = e + "_" + this._uid++), Bw(e, t);
17031
17036
  };
17032
- var Iw = {
17037
+ var Ow = {
17033
17038
  width: 90,
17034
17039
  height: 20
17035
17040
  };
@@ -17040,7 +17045,7 @@ Aa(Ha, sa);
17040
17045
  Ha.$inject = [];
17041
17046
  Ha.prototype.baseCreate = sa.prototype.create;
17042
17047
  Ha.prototype.create = function(e, t) {
17043
- return e === "label" ? this.baseCreate(e, xt({ type: "label" }, Iw, t)) : this.createFlowElement(e, t);
17048
+ return e === "label" ? this.baseCreate(e, xt({ type: "label" }, Ow, t)) : this.createFlowElement(e, t);
17044
17049
  };
17045
17050
  Ha.prototype.createFlowElement = function(e, t) {
17046
17051
  if (t == null || t === void 0 || t === "") return this.baseCreate(e, t);
@@ -17114,9 +17119,9 @@ Vi.prototype.preExecute = function(e) {
17114
17119
  };
17115
17120
  Vi.prototype.postExecute = function(e) {
17116
17121
  var t = e.hints || {};
17117
- zw(e.source, e.shape) || (t.connectionTarget === e.source ? this._modeling.connect(e.shape, e.source, e.connection) : this._modeling.connect(e.source, e.shape, e.connection));
17122
+ Iw(e.source, e.shape) || (t.connectionTarget === e.source ? this._modeling.connect(e.shape, e.source, e.connection) : this._modeling.connect(e.source, e.shape, e.connection));
17118
17123
  };
17119
- function zw(e, t) {
17124
+ function Iw(e, t) {
17120
17125
  return bf(e.outgoing, function(n) {
17121
17126
  return n.target === t;
17122
17127
  });
@@ -17159,7 +17164,7 @@ cl.prototype.preExecute = function(e) {
17159
17164
  y: li(d.y - l.y - l.height / 2 + o.y)
17160
17165
  });
17161
17166
  });
17162
- var c = O0(t), s = {};
17167
+ var c = H0(t), s = {};
17163
17168
  de(t, function(d) {
17164
17169
  if (en(d)) {
17165
17170
  s[d.id] = It(a) ? r.createConnection(s[d.source.id], s[d.target.id], a, d, d.parent || n, i) : r.createConnection(s[d.source.id], s[d.target.id], d, d.parent || n, i);
@@ -17202,16 +17207,16 @@ function Do(e) {
17202
17207
  }
17203
17208
  Ba(Do, ca);
17204
17209
  Do.$inject = ["canvas"];
17205
- var Lw = ca.prototype.execute;
17210
+ var zw = ca.prototype.execute;
17206
17211
  Do.prototype.execute = function(e) {
17207
17212
  var t = e.shape;
17208
- return $w(t), t.labelTarget = e.labelTarget, Lw.call(this, e);
17213
+ return Dw(t), t.labelTarget = e.labelTarget, zw.call(this, e);
17209
17214
  };
17210
- var Dw = ca.prototype.revert;
17215
+ var Lw = ca.prototype.revert;
17211
17216
  Do.prototype.revert = function(e) {
17212
- return e.shape.labelTarget = null, Dw.call(this, e);
17217
+ return e.shape.labelTarget = null, Lw.call(this, e);
17213
17218
  };
17214
- function $w(e) {
17219
+ function Dw(e) {
17215
17220
  ["width", "height"].forEach(function(t) {
17216
17221
  typeof e[t] > "u" && (e[t] = 0);
17217
17222
  });
@@ -17386,14 +17391,14 @@ function Ji(e) {
17386
17391
  return t;
17387
17392
  }
17388
17393
  function ku(e, t) {
17389
- return un(Ho(e, Vw), function(n) {
17390
- return Fw(n, t);
17394
+ return un(Ho(e, Fw), function(n) {
17395
+ return $w(n, t);
17391
17396
  });
17392
17397
  }
17393
- function Fw(e, t) {
17398
+ function $w(e, t) {
17394
17399
  return oa(t, e, 1) === "intersect";
17395
17400
  }
17396
- function Vw(e) {
17401
+ function Fw(e) {
17397
17402
  return e.original || e;
17398
17403
  }
17399
17404
  function vl() {
@@ -17403,7 +17408,7 @@ vl.prototype.add = function(e, t) {
17403
17408
  return this.addAll([e], t);
17404
17409
  };
17405
17410
  vl.prototype.addAll = function(e, t) {
17406
- var n = L0(e, !!t, this);
17411
+ var n = z0(e, !!t, this);
17407
17412
  return Fe(this, n), this;
17408
17413
  };
17409
17414
  function Vo(e) {
@@ -17593,7 +17598,7 @@ Wo.prototype.revert = function(e) {
17593
17598
  y: n.y
17594
17599
  }), t;
17595
17600
  };
17596
- function Nw(e, t) {
17601
+ function Vw(e, t) {
17597
17602
  var n = [];
17598
17603
  return de(e.concat(t), function(a) {
17599
17604
  var o = a.incoming, i = a.outgoing;
@@ -17606,7 +17611,7 @@ function Nw(e, t) {
17606
17611
  function ho(e, t) {
17607
17612
  return e.indexOf(t) !== -1;
17608
17613
  }
17609
- function Ww(e, t, n) {
17614
+ function Nw(e, t, n) {
17610
17615
  var a = e.x, o = e.y, i = e.width, r = e.height, l = n.x, c = n.y;
17611
17616
  switch (t) {
17612
17617
  case "n":
@@ -17648,8 +17653,8 @@ ua.$inject = ["modeling"];
17648
17653
  ua.prototype.preExecute = function(e) {
17649
17654
  var t = e.delta, n = e.direction, a = e.movingShapes, o = e.resizingShapes, i = e.start, r = {};
17650
17655
  this.moveShapes(a, t), de(o, function(l) {
17651
- r[l.id] = Yw(l);
17652
- }), this.resizeShapes(o, t, n), this.updateConnectionWaypoints(Nw(a, o), t, n, i, a, o, r);
17656
+ r[l.id] = Uw(l);
17657
+ }), this.resizeShapes(o, t, n), this.updateConnectionWaypoints(Vw(a, o), t, n, i, a, o, r);
17653
17658
  };
17654
17659
  ua.prototype.execute = function() {
17655
17660
  };
@@ -17668,7 +17673,7 @@ ua.prototype.moveShapes = function(e, t) {
17668
17673
  ua.prototype.resizeShapes = function(e, t, n) {
17669
17674
  var a = this;
17670
17675
  de(e, function(o) {
17671
- var i = Ww(o, n, t);
17676
+ var i = Nw(o, n, t);
17672
17677
  a._modeling.resizeShape(o, i, null, {
17673
17678
  attachSupport: !1,
17674
17679
  autoResize: !1,
@@ -17679,7 +17684,7 @@ ua.prototype.resizeShapes = function(e, t, n) {
17679
17684
  ua.prototype.updateConnectionWaypoints = function(e, t, n, a, o, i, r) {
17680
17685
  var l = this, c = o.concat(i);
17681
17686
  de(e, function(s) {
17682
- var d = s.source, f = s.target, u = Uw(s), h = Ru(n), p = {};
17687
+ var d = s.source, f = s.target, u = Ww(s), h = Ru(n), p = {};
17683
17688
  qn(c, d) && qn(c, f) ? (u = Ho(u, function(g) {
17684
17689
  return Es(g, a, n) && (g[h] = g[h] + t[h]), g.original && Es(g.original, a, n) && (g.original[h] = g.original[h] + t[h]), g;
17685
17690
  }), l._modeling.updateWaypoints(s, u, { labelBehavior: !1 })) : (qn(c, d) || qn(c, f)) && (qn(o, d) ? p.connectionStart = pl(s, d, t) : qn(o, f) ? p.connectionEnd = gl(s, f, t) : qn(i, d) ? p.connectionStart = fl(s, d, r[d.id]) : qn(i, f) && (p.connectionEnd = hl(s, f, r[f.id])), l._modeling.layoutConnection(s, p));
@@ -17688,7 +17693,7 @@ ua.prototype.updateConnectionWaypoints = function(e, t, n, a, o, i, r) {
17688
17693
  function Rs(e) {
17689
17694
  return Fe({}, e);
17690
17695
  }
17691
- function Uw(e) {
17696
+ function Ww(e) {
17692
17697
  return Ho(e.waypoints, function(t) {
17693
17698
  return t = Rs(t), t.original && (t.original = Rs(t.original)), t;
17694
17699
  });
@@ -17713,7 +17718,7 @@ function Es(e, t, n) {
17713
17718
  function qn(e, t) {
17714
17719
  return e.indexOf(t) !== -1;
17715
17720
  }
17716
- function Yw(e) {
17721
+ function Uw(e) {
17717
17722
  return {
17718
17723
  x: e.x,
17719
17724
  y: e.y,
@@ -18023,7 +18028,7 @@ ot.prototype.connect = function(e, t, n, a) {
18023
18028
  return this.createConnection(e, t, n || {}, e.parent, a);
18024
18029
  };
18025
18030
  ot.prototype._create = function(e, t) {
18026
- return Ow(t) ? t : this._elementFactory.create(e, t);
18031
+ return Hw(t) ? t : this._elementFactory.create(e, t);
18027
18032
  };
18028
18033
  ot.prototype.toggleCollapse = function(e, t) {
18029
18034
  var n = {
@@ -18040,7 +18045,7 @@ function ml(e, t) {
18040
18045
  const n = e.type || e.businessObject && e.businessObject.type;
18041
18046
  return t.includes(n);
18042
18047
  }
18043
- function Jw(e, t) {
18048
+ function Yw(e, t) {
18044
18049
  Array.isArray(e) && e.forEach(t);
18045
18050
  }
18046
18051
  function Ti(e) {
@@ -18048,11 +18053,11 @@ function Ti(e) {
18048
18053
  if (t)
18049
18054
  return t.name || "";
18050
18055
  }
18051
- function Gw(e, t) {
18056
+ function Jw(e, t) {
18052
18057
  const n = e.businessObject;
18053
18058
  return n.name = t, e;
18054
18059
  }
18055
- var Kw = {
18060
+ var Gw = {
18056
18061
  width: 90,
18057
18062
  height: 20
18058
18063
  };
@@ -18070,15 +18075,15 @@ function bl(e) {
18070
18075
  function Pu(e) {
18071
18076
  return Ro(e.label);
18072
18077
  }
18073
- function qw(e) {
18074
- const t = e.length / 2 - 1, n = e[Math.floor(t)], a = e[Math.ceil(t + 0.01)], o = Xw(e), i = Math.atan((a.y - n.y) / (a.x - n.x));
18078
+ function Kw(e) {
18079
+ const t = e.length / 2 - 1, n = e[Math.floor(t)], a = e[Math.ceil(t + 0.01)], o = qw(e), i = Math.atan((a.y - n.y) / (a.x - n.x));
18075
18080
  let { x: r, y: l } = o;
18076
18081
  return Math.abs(i) < Math.PI / 2 ? l -= 15 : r += 15, {
18077
18082
  x: r,
18078
18083
  y: l
18079
18084
  };
18080
18085
  }
18081
- function Xw(e) {
18086
+ function qw(e) {
18082
18087
  const t = e.length / 2 - 1, n = e[Math.floor(t)], a = e[Math.ceil(t + 0.01)];
18083
18088
  return {
18084
18089
  x: n.x + (a.x - n.x) / 2,
@@ -18086,22 +18091,22 @@ function Xw(e) {
18086
18091
  };
18087
18092
  }
18088
18093
  function Bu(e) {
18089
- return e.waypoints ? qw(e.waypoints) : {
18094
+ return e.waypoints ? Kw(e.waypoints) : {
18090
18095
  x: e.x + e.width / 2,
18091
- y: e.y + e.height + Kw.height / 2
18096
+ y: e.y + e.height + Gw.height / 2
18092
18097
  };
18093
18098
  }
18094
18099
  function Ro(e) {
18095
18100
  return e && !!e.labelTarget;
18096
18101
  }
18097
- var Zw = {
18102
+ var Xw = {
18098
18103
  width: 0,
18099
18104
  height: 0
18100
18105
  };
18101
18106
  function Hu(e, t) {
18102
18107
  function n(l, c) {
18103
18108
  const s = l.label || l, d = l.labelTarget || l;
18104
- return Gw(s, c, d !== s), [s, d];
18109
+ return Jw(s, c, d !== s), [s, d];
18105
18110
  }
18106
18111
  function a(l) {
18107
18112
  const { element: c, newLabel: s } = l, { businessObject: d } = c;
@@ -18131,7 +18136,7 @@ function Hu(e, t) {
18131
18136
  return;
18132
18137
  }
18133
18138
  const h = Ti(d);
18134
- typeof u > "u" && (u = t.getExternalLabelBounds(d, h)), u && e.resizeShape(d, u, Zw);
18139
+ typeof u > "u" && (u = t.getExternalLabelBounds(d, h)), u && e.resizeShape(d, u, Xw);
18135
18140
  }
18136
18141
  this.preExecute = a, this.execute = o, this.revert = i, this.postExecute = r;
18137
18142
  }
@@ -18176,13 +18181,13 @@ function Ou() {
18176
18181
  Ou.prototype.layoutConnection = function(e, t) {
18177
18182
  return t = t || {}, [t.connectionStart || Rt(t.source || e.source), t.connectionEnd || Rt(t.target || e.target)];
18178
18183
  };
18179
- var si = 20, Qw = 5, Ai = Math.round, Ms = 20, e_ = {
18184
+ var si = 20, Zw = 5, Ai = Math.round, Ms = 20, Qw = {
18180
18185
  "h:h": 20,
18181
18186
  "v:v": 20,
18182
18187
  "h:v": -10,
18183
18188
  "v:h": -10
18184
18189
  };
18185
- function t_(e, t) {
18190
+ function e_(e, t) {
18186
18191
  return !{
18187
18192
  t: /top/,
18188
18193
  r: /right/,
@@ -18192,7 +18197,7 @@ function t_(e, t) {
18192
18197
  v: /./
18193
18198
  }[t].test(e);
18194
18199
  }
18195
- function n_(e, t) {
18200
+ function t_(e, t) {
18196
18201
  return {
18197
18202
  t: /top/,
18198
18203
  r: /right/,
@@ -18203,14 +18208,14 @@ function n_(e, t) {
18203
18208
  }[e].test(t);
18204
18209
  }
18205
18210
  function Iu(e, t, n) {
18206
- var a = oa(t, e, Qw), o = n.split(":")[0], i = Ai((t.x - e.x) / 2 + e.x), r = Ai((t.y - e.y) / 2 + e.y), l, c, s = n_(o, a), d = /h|r|l/.test(o), f = !1, u = !1;
18211
+ var a = oa(t, e, Zw), o = n.split(":")[0], i = Ai((t.x - e.x) / 2 + e.x), r = Ai((t.y - e.y) / 2 + e.y), l, c, s = t_(o, a), d = /h|r|l/.test(o), f = !1, u = !1;
18207
18212
  return s ? (l = d ? {
18208
18213
  x: i,
18209
18214
  y: e.y
18210
18215
  } : {
18211
18216
  x: e.x,
18212
18217
  y: r
18213
- }, c = d ? "h:h" : "v:v") : (f = t_(a, o), c = d ? "h:v" : "v:h", f ? d ? (u = r === e.y, l = {
18218
+ }, c = d ? "h:h" : "v:v") : (f = e_(a, o), c = d ? "h:v" : "v:h", f ? d ? (u = r === e.y, l = {
18214
18219
  x: e.x + si * (/l/.test(o) ? -1 : 1),
18215
18220
  y: u ? r + si : r
18216
18221
  }) : (u = i === e.x, l = {
@@ -18225,10 +18230,10 @@ function Iu(e, t, n) {
18225
18230
  turnNextDirections: u
18226
18231
  };
18227
18232
  }
18228
- function a_(e, t, n) {
18233
+ function n_(e, t, n) {
18229
18234
  return Iu(e, t, n);
18230
18235
  }
18231
- function o_(e, t, n) {
18236
+ function a_(e, t, n) {
18232
18237
  var a = Iu(t, e, js(n));
18233
18238
  return {
18234
18239
  waypoints: a.waypoints.slice().reverse(),
@@ -18236,7 +18241,7 @@ function o_(e, t, n) {
18236
18241
  turnNextDirections: a.turnNextDirections
18237
18242
  };
18238
18243
  }
18239
- function i_(e, t) {
18244
+ function o_(e, t) {
18240
18245
  var n = e.directions.split(":")[1], a = t.directions.split(":")[0];
18241
18246
  e.turnNextDirections && (n = n == "h" ? "v" : "h"), t.turnNextDirections && (a = a == "h" ? "v" : "h");
18242
18247
  var o = n + ":" + a;
@@ -18248,7 +18253,7 @@ function i_(e, t) {
18248
18253
  function js(e) {
18249
18254
  return e.split(":").reverse().join(":");
18250
18255
  }
18251
- function r_(e, t, n) {
18256
+ function i_(e, t, n) {
18252
18257
  var a = Ai((t.x - e.x) / 2 + e.x), o = Ai((t.y - e.y) / 2 + e.y);
18253
18258
  if (n === "h:v") return [{
18254
18259
  x: t.x,
@@ -18275,38 +18280,38 @@ function r_(e, t, n) {
18275
18280
  throw new Error("invalid directions: can only handle varians of [hv]:[hv]");
18276
18281
  }
18277
18282
  function _l(e, t, n) {
18278
- if (n = n || "h:h", !g_(n)) throw new Error("unknown directions: <" + n + ">: must be specified as <start>:<end> with start/end in { h,v,t,r,b,l }");
18283
+ if (n = n || "h:h", !p_(n)) throw new Error("unknown directions: <" + n + ">: must be specified as <start>:<end> with start/end in { h,v,t,r,b,l }");
18279
18284
  if (zu(n)) {
18280
- var a = a_(e, t, n), o = o_(e, t, n), i = i_(a, o);
18285
+ var a = n_(e, t, n), o = a_(e, t, n), i = o_(a, o);
18281
18286
  return [].concat(a.waypoints, i.waypoints, o.waypoints);
18282
18287
  }
18283
- return r_(e, t, n);
18288
+ return i_(e, t, n);
18284
18289
  }
18285
- function l_(e, t, n) {
18290
+ function r_(e, t, n) {
18286
18291
  var a = _l(e, t, n);
18287
18292
  return a.unshift(e), a.push(t), Lu(a);
18288
18293
  }
18289
- function s_(e, t, n, a, o) {
18290
- var i = _f(o && o.preferredLayouts || [], "straight")[0] || "h:h", r = oa(e, t, e_[i] || 0), l = p_(r, i);
18294
+ function l_(e, t, n, a, o) {
18295
+ var i = _f(o && o.preferredLayouts || [], "straight")[0] || "h:h", r = oa(e, t, Qw[i] || 0), l = h_(r, i);
18291
18296
  n = n || Rt(e), a = a || Rt(t);
18292
18297
  var c = l.split(":");
18293
- return l_(Bs(n, e, c[0], v_(r)), Bs(a, t, c[1], r), l);
18298
+ return r_(Bs(n, e, c[0], g_(r)), Bs(a, t, c[1], r), l);
18294
18299
  }
18295
- function c_(e, t, n, a, o, i) {
18300
+ function s_(e, t, n, a, o, i) {
18296
18301
  st(n) && (o = n, i = a, n = Rt(e), a = Rt(t)), i = Fe({ preferredLayouts: [] }, i), o = o || [];
18297
- var r = i.preferredLayouts.indexOf("straight") !== -1 && d_(e, t, n, a, i);
18298
- return r || (r = i.connectionEnd && h_(t, e, a, o), r) || (r = i.connectionStart && f_(e, t, n, o), r) ? r : !i.connectionStart && !i.connectionEnd && o && o.length ? o : s_(e, t, n, a, i);
18302
+ var r = i.preferredLayouts.indexOf("straight") !== -1 && u_(e, t, n, a, i);
18303
+ return r || (r = i.connectionEnd && f_(t, e, a, o), r) || (r = i.connectionStart && d_(e, t, n, o), r) ? r : !i.connectionStart && !i.connectionEnd && o && o.length ? o : l_(e, t, n, a, i);
18299
18304
  }
18300
- function u_(e, t, n) {
18305
+ function c_(e, t, n) {
18301
18306
  return e >= t && e <= n;
18302
18307
  }
18303
18308
  function Ps(e, t, n) {
18304
- return u_(t[e], n[e], n[e] + n[{
18309
+ return c_(t[e], n[e], n[e] + n[{
18305
18310
  x: "width",
18306
18311
  y: "height"
18307
18312
  }[e]]);
18308
18313
  }
18309
- function d_(e, t, n, a, o) {
18314
+ function u_(e, t, n, a, o) {
18310
18315
  var i = {}, r, l = oa(e, t);
18311
18316
  return /^(top|bottom|left|right)$/.test(l) ? (/top|bottom/.test(l) && (r = "x"), /left|right/.test(l) && (r = "y"), o.preserveDocking === "target" ? Ps(r, a, e) ? (i[r] = a[r], [{
18312
18317
  x: i.x !== void 0 ? i.x : n.x,
@@ -18330,10 +18335,10 @@ function d_(e, t, n, a, o) {
18330
18335
  }
18331
18336
  }]) : null) : null;
18332
18337
  }
18333
- function f_(e, t, n, a) {
18338
+ function d_(e, t, n, a) {
18334
18339
  return xl(e, t, n, a);
18335
18340
  }
18336
- function h_(e, t, n, a) {
18341
+ function f_(e, t, n, a) {
18337
18342
  var o = a.slice().reverse();
18338
18343
  return o = xl(e, t, n, o), o ? o.reverse() : null;
18339
18344
  }
@@ -18371,7 +18376,7 @@ function xl(e, t, n, a) {
18371
18376
  var l = a[0], c = a.slice(), s;
18372
18377
  return c[0] = n, c[1] = i(c[1], l, n), s = r(c, e, t), s !== c && (c = xl(e, t, n, s)), c && Qn(c) ? null : c;
18373
18378
  }
18374
- function p_(e, t) {
18379
+ function h_(e, t) {
18375
18380
  if (zu(t)) return t;
18376
18381
  switch (e) {
18377
18382
  case "intersect":
@@ -18386,13 +18391,13 @@ function p_(e, t) {
18386
18391
  return t;
18387
18392
  }
18388
18393
  }
18389
- function g_(e) {
18394
+ function p_(e) {
18390
18395
  return e && /^h|v|t|r|b|l:h|v|t|r|b|l$/.test(e);
18391
18396
  }
18392
18397
  function zu(e) {
18393
18398
  return e && /t|r|b|l/.test(e);
18394
18399
  }
18395
- function v_(e) {
18400
+ function g_(e) {
18396
18401
  return {
18397
18402
  top: "bottom",
18398
18403
  bottom: "top",
@@ -18441,12 +18446,12 @@ Cl.prototype.layoutConnection = function(e, t) {
18441
18446
  t || (t = {});
18442
18447
  const n = t.source || e.source, a = t.target || e.target, o = t.waypoints || e.waypoints;
18443
18448
  let { connectionStart: i, connectionEnd: r } = t, l, c;
18444
- return r === void 0 && (i = ci(o && o[0], n), r = ci(o && o[o.length - 1], a)), i || (i = ci(o && o[0], n)), r || (r = ci(o && o[o.length - 1], a)), _a(e, "myline") && (n === a ? l = { preferredLayouts: y_(n, e) } : _a(n, "gatewayAnd") || _a(n, "gatewayXor") || _a(n, "gatewayInclusive") ? l = { preferredLayouts: ["v:h"] } : _a(a, "gatewayAnd") || _a(a, "gatewayXor") || _a(a, "gatewayInclusive") ? l = { preferredLayouts: ["h:v"] } : l = { preferredLayouts: ["h:h"] }), l && (l = xt(l, t), c = Lu(c_(n, a, i, r, o, l))), c || [i, r];
18449
+ return r === void 0 && (i = ci(o && o[0], n), r = ci(o && o[o.length - 1], a)), i || (i = ci(o && o[0], n)), r || (r = ci(o && o[o.length - 1], a)), _a(e, "myline") && (n === a ? l = { preferredLayouts: v_(n, e) } : _a(n, "gatewayAnd") || _a(n, "gatewayXor") || _a(n, "gatewayInclusive") ? l = { preferredLayouts: ["v:h"] } : _a(a, "gatewayAnd") || _a(a, "gatewayXor") || _a(a, "gatewayInclusive") ? l = { preferredLayouts: ["h:v"] } : l = { preferredLayouts: ["h:h"] }), l && (l = xt(l, t), c = Lu(s_(n, a, i, r, o, l))), c || [i, r];
18445
18450
  };
18446
18451
  function ci(e, t) {
18447
18452
  return e ? e.original || e : Rt(t);
18448
18453
  }
18449
- function y_(e, t) {
18454
+ function v_(e, t) {
18450
18455
  const { waypoints: n } = t, a = n && n.length && oa(n[0], e);
18451
18456
  return a === "top" ? ["t:r"] : a === "right" ? ["r:b"] : a === "left" ? ["l:t"] : ["b:l"];
18452
18457
  }
@@ -18484,8 +18489,8 @@ da.prototype._getGfx = function(e) {
18484
18489
  };
18485
18490
  var Du = {
18486
18491
  __depends__: [
18487
- Sw,
18488
- Tw,
18492
+ Cw,
18493
+ Ew,
18489
18494
  eo
18490
18495
  ],
18491
18496
  __init__: ["modeling", "elementUpdater"],
@@ -18494,10 +18499,10 @@ var Du = {
18494
18499
  elementUpdater: ["type", wl],
18495
18500
  elementFactory: ["type", Ha],
18496
18501
  connectionDocking: ["type", da]
18497
- }, m_ = 1e3;
18502
+ }, y_ = 1e3;
18498
18503
  function Ia(e, t) {
18499
18504
  var n = this;
18500
- t = t || m_, e.on(["render.shape", "render.connection"], t, function(a, o) {
18505
+ t = t || y_, e.on(["render.shape", "render.connection"], t, function(a, o) {
18501
18506
  var i = a.type, r = o.element, l = o.gfx, c = o.attrs;
18502
18507
  if (n.canRender(r)) return i === "render.shape" ? n.drawShape(l, r, c) : n.drawConnection(l, r, c);
18503
18508
  }), e.on(["render.getShapePath", "render.getConnectionPath"], t, function(a, o) {
@@ -18514,7 +18519,7 @@ Ia.prototype.getShapePath = function(e) {
18514
18519
  };
18515
18520
  Ia.prototype.getConnectionPath = function(e) {
18516
18521
  };
18517
- function b_(e) {
18522
+ function m_(e) {
18518
18523
  return e.businessObject;
18519
18524
  }
18520
18525
  function ui(e, t) {
@@ -18526,7 +18531,7 @@ function mn(e, t) {
18526
18531
  function kt(e, t) {
18527
18532
  return e.businessObject.strokeColor || t || "var(--j-color-text)";
18528
18533
  }
18529
- function w_(e) {
18534
+ function b_(e) {
18530
18535
  const t = e.x + e.width / 2, n = e.y + e.height / 2, a = e.width / 2;
18531
18536
  return Io([
18532
18537
  [
@@ -18562,7 +18567,7 @@ function w_(e) {
18562
18567
  ["z"]
18563
18568
  ]);
18564
18569
  }
18565
- function __(e, t) {
18570
+ function w_(e, t) {
18566
18571
  const { x: n, y: a, width: o, height: i } = e;
18567
18572
  return Io([
18568
18573
  [
@@ -18633,7 +18638,7 @@ function __(e, t) {
18633
18638
  ["z"]
18634
18639
  ]);
18635
18640
  }
18636
- function x_(e) {
18641
+ function __(e) {
18637
18642
  const { x: t, y: n, width: a, height: o } = e, i = a / 2, r = o / 2;
18638
18643
  return Io([
18639
18644
  [
@@ -18659,7 +18664,7 @@ function x_(e) {
18659
18664
  ["z"]
18660
18665
  ]);
18661
18666
  }
18662
- function C_(e) {
18667
+ function x_(e) {
18663
18668
  const { x: t, y: n, width: a, height: o } = e;
18664
18669
  return Io([
18665
18670
  [
@@ -18795,7 +18800,7 @@ function za(e, t, n, a, o, i, r) {
18795
18800
  return ht(q).add("djs-label"), qe(j, q), q;
18796
18801
  }
18797
18802
  function y(j, E, V) {
18798
- return C(j, b_(E).name, {
18803
+ return C(j, m_(E).name, {
18799
18804
  box: E,
18800
18805
  align: V,
18801
18806
  padding: 5,
@@ -18830,7 +18835,7 @@ function za(e, t, n, a, o, i, r) {
18830
18835
  compensation: -27,
18831
18836
  loop: 0,
18832
18837
  adhoc: 10
18833
- }, Jw(V, (ve) => {
18838
+ }, Yw(V, (ve) => {
18834
18839
  f(ve)(j, E, se);
18835
18840
  });
18836
18841
  }
@@ -19163,20 +19168,20 @@ za.prototype.drawConnection = function(e, t) {
19163
19168
  return a(e, t);
19164
19169
  };
19165
19170
  za.prototype.getShapePath = function(e) {
19166
- return Xn(e, "startEvent") || Xn(e, "endEvent") ? w_(e) : Xn(e, "userTask") || Xn(e, "scriptTask") || Xn(e, "subprocess") ? __(e, Mr) : Xn(e, "gatewayAnd") || Xn(e, "gatewayXor") || Xn(e, "gatewayInclusive") ? x_(e) : C_(e);
19171
+ return Xn(e, "startEvent") || Xn(e, "endEvent") ? b_(e) : Xn(e, "userTask") || Xn(e, "scriptTask") || Xn(e, "subprocess") ? w_(e, Mr) : Xn(e, "gatewayAnd") || Xn(e, "gatewayXor") || Xn(e, "gatewayInclusive") ? __(e) : x_(e);
19167
19172
  };
19168
- var S_ = 0, k_ = {
19173
+ var C_ = 0, S_ = {
19169
19174
  width: 150,
19170
19175
  height: 50
19171
19176
  };
19172
- function R_(e) {
19177
+ function k_(e) {
19173
19178
  var t = e.split("-");
19174
19179
  return {
19175
19180
  horizontal: t[0] || "center",
19176
19181
  vertical: t[1] || "top"
19177
19182
  };
19178
19183
  }
19179
- function E_(e) {
19184
+ function R_(e) {
19180
19185
  return dn(e) ? Fe({
19181
19186
  top: 0,
19182
19187
  left: 0,
@@ -19190,10 +19195,10 @@ function E_(e) {
19190
19195
  };
19191
19196
  }
19192
19197
  var sr = null;
19193
- function T_() {
19198
+ function E_() {
19194
19199
  return sr || (sr = document.createElement("canvas").getContext("2d")), sr;
19195
19200
  }
19196
- function A_(e) {
19201
+ function T_(e) {
19197
19202
  var t = [];
19198
19203
  return e.fontStyle && t.push(e.fontStyle), e.fontVariant && t.push(e.fontVariant), e.fontWeight && t.push(e.fontWeight), e.fontStretch && t.push(e.fontStretch), t.push($u(e.fontSize) || "12px"), t.push(e.fontFamily || "sans-serif"), t.join(" ");
19199
19204
  }
@@ -19201,26 +19206,26 @@ function $u(e) {
19201
19206
  if (e != null)
19202
19207
  return typeof e == "number" || /^-?\d+(\.\d+)?$/.test(e) ? e + "px" : e;
19203
19208
  }
19204
- function M_(e, t) {
19205
- var n = T_();
19209
+ function A_(e, t) {
19210
+ var n = E_();
19206
19211
  if (!n) return {
19207
19212
  width: 0,
19208
19213
  height: 0
19209
19214
  };
19210
- n.font = A_(t), "letterSpacing" in n && (n.letterSpacing = $u(t.letterSpacing) || "0px");
19215
+ n.font = T_(t), "letterSpacing" in n && (n.letterSpacing = $u(t.letterSpacing) || "0px");
19211
19216
  var a = e === "", o = a ? "dummy" : e.replace(/\s+$/, ""), i = n.measureText(o);
19212
19217
  return {
19213
19218
  width: a ? 0 : i.width,
19214
19219
  height: "fontBoundingBoxAscent" in i ? i.fontBoundingBoxAscent + i.fontBoundingBoxDescent : i.actualBoundingBoxAscent + i.actualBoundingBoxDescent
19215
19220
  };
19216
19221
  }
19217
- function j_(e, t, n) {
19222
+ function M_(e, t, n) {
19218
19223
  for (var a = e.shift(), o = a, i; ; ) {
19219
- if (i = M_(o, n), i.width = o ? i.width : 0, o === " " || o === "" || i.width < Math.round(t) || o.length < 2) return P_(e, o, a, i);
19220
- o = H_(o, i.width, t);
19224
+ if (i = A_(o, n), i.width = o ? i.width : 0, o === " " || o === "" || i.width < Math.round(t) || o.length < 2) return j_(e, o, a, i);
19225
+ o = B_(o, i.width, t);
19221
19226
  }
19222
19227
  }
19223
- function P_(e, t, n, a) {
19228
+ function j_(e, t, n, a) {
19224
19229
  if (t.length < n.length) {
19225
19230
  var o = n.slice(t.length).trim();
19226
19231
  e.unshift(o);
@@ -19232,7 +19237,7 @@ function P_(e, t, n, a) {
19232
19237
  };
19233
19238
  }
19234
19239
  var Os = "­";
19235
- function B_(e, t) {
19240
+ function P_(e, t) {
19236
19241
  var n = e.split(/(\s|-|\u00AD)/g), a, o = [], i = 0;
19237
19242
  if (n.length > 1) for (; a = n.shift(); ) if (a.length + i < t)
19238
19243
  o.push(a), i += a.length;
@@ -19243,14 +19248,14 @@ function B_(e, t) {
19243
19248
  var r = o[o.length - 1];
19244
19249
  return r && r === Os && (o[o.length - 1] = "-"), o.join("");
19245
19250
  }
19246
- function H_(e, t, n) {
19247
- var a = Math.max(e.length * (n / t), 1), o = B_(e, a);
19251
+ function B_(e, t, n) {
19252
+ var a = Math.max(e.length * (n / t), 1), o = P_(e, a);
19248
19253
  return o || (o = e.slice(0, Math.max(Math.round(a - 1), 1))), o;
19249
19254
  }
19250
19255
  function Xi(e) {
19251
19256
  this._config = Fe({}, {
19252
- size: k_,
19253
- padding: S_,
19257
+ size: S_,
19258
+ padding: C_,
19254
19259
  style: {},
19255
19260
  align: "center-top"
19256
19261
  }, e || {});
@@ -19262,7 +19267,7 @@ Xi.prototype.getDimensions = function(e, t) {
19262
19267
  return this.layoutText(e, t).dimensions;
19263
19268
  };
19264
19269
  Xi.prototype.layoutText = function(e, t) {
19265
- for (var n = Fe({}, this._config.size, t.box), a = Fe({}, this._config.style, t.style), o = R_(t.align || this._config.align), i = E_(t.padding !== void 0 ? t.padding : this._config.padding), r = t.fitBox || !1, l = O_(a), c = e.split(/\u00AD?\r?\n/), s = [], d = n.width - i.left - i.right; c.length; ) s.push(j_(c, d, a));
19270
+ for (var n = Fe({}, this._config.size, t.box), a = Fe({}, this._config.style, t.style), o = k_(t.align || this._config.align), i = R_(t.padding !== void 0 ? t.padding : this._config.padding), r = t.fitBox || !1, l = H_(a), c = e.split(/\u00AD?\r?\n/), s = [], d = n.width - i.left - i.right; c.length; ) s.push(M_(c, d, a));
19266
19271
  o.vertical === "middle" && (i.top = i.bottom = 0);
19267
19272
  var f = mr(s, function(g, b, x) {
19268
19273
  return g + (l || b.height);
@@ -19296,16 +19301,16 @@ Xi.prototype.layoutText = function(e, t) {
19296
19301
  element: p
19297
19302
  };
19298
19303
  };
19299
- function O_(e) {
19304
+ function H_(e) {
19300
19305
  if ("fontSize" in e && "lineHeight" in e) return e.lineHeight * parseInt(e.fontSize, 10);
19301
19306
  }
19302
- var I_ = 12, z_ = 1.2, L_ = 30;
19307
+ var O_ = 12, I_ = 1.2, z_ = 30;
19303
19308
  function Fu(e) {
19304
19309
  const t = xt({
19305
19310
  fontFamily: "Arial, sans-serif",
19306
- fontSize: I_,
19311
+ fontSize: O_,
19307
19312
  fontWeight: "normal",
19308
- lineHeight: z_
19313
+ lineHeight: I_
19309
19314
  }, e && e.defaultStyle || {}), n = xt({}, t, { fontSize: parseInt(t.fontSize, 10) - 1 }, e && e.externalStyle || {}), a = new Xi({ style: t });
19310
19315
  this.getExternalLabelBounds = function(o, i) {
19311
19316
  const r = a.getDimensions(i, {
@@ -19334,7 +19339,7 @@ function Fu(e) {
19334
19339
  x: o.x,
19335
19340
  y: o.y,
19336
19341
  width: o.width,
19337
- height: Math.max(L_, Math.round(r.height))
19342
+ height: Math.max(z_, Math.round(r.height))
19338
19343
  };
19339
19344
  }, this.createText = function(o, i) {
19340
19345
  return a.createText(o, i || {});
@@ -19345,7 +19350,7 @@ function Fu(e) {
19345
19350
  };
19346
19351
  }
19347
19352
  Fu.$inject = ["config.textRenderer"];
19348
- function D_() {
19353
+ function L_() {
19349
19354
  this.pathMap = {
19350
19355
  GATEWAY_EXCLUSIVE: {
19351
19356
  d: "m {mx},{my} {e.x0},{e.y0} {e.x1},{e.y0} {e.x2},0 {e.x4},{e.y2} {e.x4},{e.y1} {e.x2},0 {e.x1},{e.y3} {e.x0},{e.y3} {e.x3},0 {e.x5},{e.y1} {e.x5},{e.y2} {e.x3},0 z",
@@ -19410,28 +19415,28 @@ function D_() {
19410
19415
  for (let s = 0; s < i.heightElements.length; s++) r["y" + s] = i.heightElements[s] * l;
19411
19416
  for (let s = 0; s < i.widthElements.length; s++) r["x" + s] = i.widthElements[s] * c;
19412
19417
  }
19413
- return N_(i.d, {
19418
+ return V_(i.d, {
19414
19419
  mx: a,
19415
19420
  my: o,
19416
19421
  e: r
19417
19422
  });
19418
19423
  };
19419
19424
  }
19420
- var $_ = /\{([^}]+)\}/g, F_ = /(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;
19421
- function V_(e, t, n) {
19425
+ var D_ = /\{([^}]+)\}/g, $_ = /(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;
19426
+ function F_(e, t, n) {
19422
19427
  let a = n;
19423
- return t.replace(F_, (o, i, r, l, c) => {
19428
+ return t.replace($_, (o, i, r, l, c) => {
19424
19429
  i = i || l, a && (i in a && (a = a[i]), typeof a == "function" && c && (a = a()));
19425
19430
  }), a = (a == null || a === n ? e : a) + "", a;
19426
19431
  }
19427
- function N_(e, t) {
19428
- return String(e).replace($_, (n, a) => V_(n, a, t));
19432
+ function V_(e, t) {
19433
+ return String(e).replace(D_, (n, a) => F_(n, a, t));
19429
19434
  }
19430
19435
  var Vu = {
19431
19436
  __init__: ["myRenderer"],
19432
19437
  myRenderer: ["type", za],
19433
19438
  textRenderer: ["type", Fu],
19434
- pathMap: ["type", D_]
19439
+ pathMap: ["type", L_]
19435
19440
  };
19436
19441
  function Is(e, t) {
19437
19442
  return xt({
@@ -19440,7 +19445,7 @@ function Is(e, t) {
19440
19445
  businessObject: e
19441
19446
  }, t);
19442
19447
  }
19443
- function W_(e, t, n) {
19448
+ function N_(e, t, n) {
19444
19449
  const a = e.waypoint;
19445
19450
  return !a || a.length < 2 ? [Rt(t), Rt(n)] : a.map((o) => ({
19446
19451
  x: o.x,
@@ -19466,7 +19471,7 @@ fa.prototype.add = function(e) {
19466
19471
  t = this._elementFactory.createConnection(Is(e, {
19467
19472
  source: a,
19468
19473
  target: o,
19469
- waypoints: W_(e, a, o)
19474
+ waypoints: N_(e, a, o)
19470
19475
  })), this._canvas.addConnection(t);
19471
19476
  } else {
19472
19477
  const a = this._elementFactory._getDefaultSize(e.type);
@@ -19564,7 +19569,7 @@ var Nu = { myImporter: ["type", fa] }, Wu = (e) => {
19564
19569
  }), o.forEach((i) => {
19565
19570
  n.add(i);
19566
19571
  });
19567
- }, U_ = /* @__PURE__ */ pe({
19572
+ }, W_ = /* @__PURE__ */ pe({
19568
19573
  name: "JWorkflowViewer",
19569
19574
  __name: "workflow-viewer",
19570
19575
  props: {
@@ -19692,7 +19697,7 @@ var Nu = { myImporter: ["type", fa] }, Wu = (e) => {
19692
19697
  class: "j-work-flow"
19693
19698
  }, null, 512));
19694
19699
  }
19695
- }), Y_ = U_;
19700
+ }), U_ = W_;
19696
19701
  function cr(e) {
19697
19702
  return e && e[e.length - 1];
19698
19703
  }
@@ -19702,7 +19707,7 @@ function zs(e) {
19702
19707
  function Ls(e) {
19703
19708
  return e.x;
19704
19709
  }
19705
- var J_ = {
19710
+ var Y_ = {
19706
19711
  left: Ls,
19707
19712
  center: Ls,
19708
19713
  right: function(e) {
@@ -19762,15 +19767,15 @@ ao.prototype.trigger = function(e, t) {
19762
19767
  return !(c.waypoints || c.host || c.labelTarget);
19763
19768
  });
19764
19769
  if (a = this._rules.allowed("elements.align", { elements: o }), st(a) && (o = a), !(o.length < 2 || !a)) {
19765
- var i = J_[t], r = Ao(o, i), l = this._alignmentPosition(t, r);
19770
+ var i = Y_[t], r = Ao(o, i), l = this._alignmentPosition(t, r);
19766
19771
  n.alignElements(r, l);
19767
19772
  }
19768
19773
  };
19769
- var G_ = {
19774
+ var J_ = {
19770
19775
  __init__: ["alignElements"],
19771
19776
  alignElements: ["type", ao]
19772
- }, di = Math.round, K_ = Math.max;
19773
- function q_(e, t) {
19777
+ }, di = Math.round, G_ = Math.max;
19778
+ function K_(e, t) {
19774
19779
  return [
19775
19780
  [
19776
19781
  "M",
@@ -19805,7 +19810,7 @@ function q_(e, t) {
19805
19810
  ["z"]
19806
19811
  ];
19807
19812
  }
19808
- function X_(e) {
19813
+ function q_(e) {
19809
19814
  var t = [];
19810
19815
  return e.forEach(function(n, a) {
19811
19816
  t.push([
@@ -19816,7 +19821,7 @@ function X_(e) {
19816
19821
  }), t;
19817
19822
  }
19818
19823
  var Yu = 10;
19819
- function Z_(e, t) {
19824
+ function X_(e, t) {
19820
19825
  var n, a;
19821
19826
  for (n = 0; a = e[n]; n++) if (zo(a, t) <= Yu) return {
19822
19827
  point: e[n],
@@ -19825,9 +19830,9 @@ function Z_(e, t) {
19825
19830
  };
19826
19831
  return null;
19827
19832
  }
19828
- function Q_(e, t) {
19829
- var n = iu(q_(t, Yu), X_(e)), a = n[0], o = n[n.length - 1], i;
19830
- return a ? a !== o ? a.segment2 !== o.segment2 ? (i = K_(a.segment2, o.segment2) - 1, {
19833
+ function Z_(e, t) {
19834
+ var n = iu(K_(t, Yu), q_(e)), a = n[0], o = n[n.length - 1], i;
19835
+ return a ? a !== o ? a.segment2 !== o.segment2 ? (i = G_(a.segment2, o.segment2) - 1, {
19831
19836
  point: e[i],
19832
19837
  bendpoint: !0,
19833
19838
  index: i
@@ -19845,13 +19850,13 @@ function Q_(e, t) {
19845
19850
  index: a.segment2
19846
19851
  } : null;
19847
19852
  }
19848
- function ex(e, t) {
19849
- return Z_(e, t) || Q_(e, t);
19853
+ function Q_(e, t) {
19854
+ return X_(e, t) || Z_(e, t);
19850
19855
  }
19851
- function tx(e) {
19856
+ function ex(e) {
19852
19857
  return Math.sqrt(Math.pow(e.x, 2) + Math.pow(e.y, 2));
19853
19858
  }
19854
- function nx(e, t, n) {
19859
+ function tx(e, t, n) {
19855
19860
  var a = [{
19856
19861
  n: e[0] - n[0],
19857
19862
  lambda: t[0]
@@ -19865,21 +19870,21 @@ function Ju(e, t) {
19865
19870
  var n = t[0], a = t[1], o = {
19866
19871
  x: a.x - n.x,
19867
19872
  y: a.y - n.y
19868
- }, i = nx([n.x, n.y], [o.x, o.y], [e.x, e.y]);
19873
+ }, i = tx([n.x, n.y], [o.x, o.y], [e.x, e.y]);
19869
19874
  return {
19870
19875
  x: n.x + i * o.x,
19871
19876
  y: n.y + i * o.y
19872
19877
  };
19873
19878
  }
19874
- function ax(e, t) {
19879
+ function nx(e, t) {
19875
19880
  var n = Ju(e, t);
19876
- return tx({
19881
+ return ex({
19877
19882
  x: n.x - e.x,
19878
19883
  y: n.y - e.y
19879
19884
  });
19880
19885
  }
19881
19886
  var Gu = "djs-bendpoint", Ku = "djs-segment-dragger";
19882
- function ox(e, t) {
19887
+ function ax(e, t) {
19883
19888
  var n = Ka(t), a = e._container.getBoundingClientRect(), o = {
19884
19889
  x: a.left,
19885
19890
  y: a.top
@@ -19890,7 +19895,7 @@ function ox(e, t) {
19890
19895
  };
19891
19896
  }
19892
19897
  function jr(e, t, n) {
19893
- return ex(t, ox(e, n));
19898
+ return Q_(t, ax(e, n));
19894
19899
  }
19895
19900
  function Pr(e, t) {
19896
19901
  var n = Ge("g");
@@ -19908,10 +19913,10 @@ function Pr(e, t) {
19908
19913
  r: 10
19909
19914
  }), ht(o).add("djs-hit"), qe(n, o), t && ht(n).add(t), n;
19910
19915
  }
19911
- function ix(e, t, n, a) {
19916
+ function ox(e, t, n, a) {
19912
19917
  var o = Ge("g");
19913
19918
  qe(e, o);
19914
- var i = 18, r = 6, l = 11, c = lx(t, n, a), s = r + l, d = Ge("rect");
19919
+ var i = 18, r = 6, l = 11, c = rx(t, n, a), s = r + l, d = Ge("rect");
19915
19920
  $e(d, {
19916
19921
  x: -i / 2,
19917
19922
  y: -r / 2,
@@ -19924,25 +19929,25 @@ function ix(e, t, n, a) {
19924
19929
  y: -s / 2,
19925
19930
  width: c,
19926
19931
  height: s
19927
- }), ht(f).add("djs-hit"), qe(o, f), W0(o, a === "v" ? 90 : 0, 0, 0), o;
19932
+ }), ht(f).add("djs-hit"), qe(o, f), N0(o, a === "v" ? 90 : 0, 0, 0), o;
19928
19933
  }
19929
19934
  function qu(e, t, n) {
19930
19935
  var a = Ge("g"), o = kr(t, n), i = Qn(t, n);
19931
- return qe(e, a), ix(a, t, n, i), ht(a).add(Ku), ht(a).add(i === "h" ? "horizontal" : "vertical"), Hn(a, o.x, o.y), a;
19936
+ return qe(e, a), ox(a, t, n, i), ht(a).add(Ku), ht(a).add(i === "h" ? "horizontal" : "vertical"), Hn(a, o.x, o.y), a;
19932
19937
  }
19933
19938
  function Br(e) {
19934
19939
  return Math.abs(Math.round(e * 2 / 3));
19935
19940
  }
19936
- function rx(e, t) {
19937
- return Ju(e, sx(e, t));
19941
+ function ix(e, t) {
19942
+ return Ju(e, lx(e, t));
19938
19943
  }
19939
- function lx(e, t, n) {
19944
+ function rx(e, t, n) {
19940
19945
  var a = t.x - e.x, o = t.y - e.y;
19941
19946
  return Br(n === "h" ? a : o);
19942
19947
  }
19943
- function sx(e, t) {
19948
+ function lx(e, t) {
19944
19949
  for (var n = t.waypoints, a = 1 / 0, o, i = 0; i < n.length - 1; i++) {
19945
- var r = n[i], l = n[i + 1], c = ax(e, [r, l]);
19950
+ var r = n[i], l = n[i + 1], c = nx(e, [r, l]);
19946
19951
  c < a && (a = c, o = i);
19947
19952
  }
19948
19953
  return [n[o], n[o + 1]];
@@ -20013,7 +20018,7 @@ function Xu(e, t, n, a, o) {
20013
20018
  }
20014
20019
  function m(v, w, C) {
20015
20020
  var y = d(w.index, v), _ = C[w.index - 1], k = C[w.index], R = w.point, T = kr(_, k), A = Qn(_, k), P, L;
20016
- y && (P = cx(y), L = {
20021
+ y && (P = sx(y), L = {
20017
20022
  x: R.x - T.x,
20018
20023
  y: R.y - T.y
20019
20024
  }, A === "v" && (L = {
@@ -20064,7 +20069,7 @@ Xu.$inject = [
20064
20069
  "bendpointMove",
20065
20070
  "connectionSegmentMove"
20066
20071
  ];
20067
- function cx(e) {
20072
+ function sx(e) {
20068
20073
  return Zt(".djs-visual", e);
20069
20074
  }
20070
20075
  var Ds = Math.round, xa = "reconnectStart", Ca = "reconnectEnd", po = "updateWaypoints";
@@ -20126,7 +20131,7 @@ function kl(e, t, n, a, o, i) {
20126
20131
  g === po ? (f ? u.splice(s, 0, x) : u[s] = x, b.bendpointMove = {
20127
20132
  insert: f,
20128
20133
  bendpointIndex: s
20129
- }, u = this.cropWaypoints(d, u), i.updateWaypoints(d, pw(u), b)) : (g === xa ? (b.docking = "source", Mi(l) && (b.docking = "target", b.newWaypoints = u.reverse())) : g === Ca && (b.docking = "target", Mi(l) && (b.docking = "source", b.newWaypoints = u.reverse())), i.reconnect(d, h, p, x, b));
20134
+ }, u = this.cropWaypoints(d, u), i.updateWaypoints(d, hw(u), b)) : (g === xa ? (b.docking = "source", Mi(l) && (b.docking = "target", b.newWaypoints = u.reverse())) : g === Ca && (b.docking = "target", Mi(l) && (b.docking = "source", b.newWaypoints = u.reverse())), i.reconnect(d, h, p, x, b));
20130
20135
  }, this);
20131
20136
  }
20132
20137
  kl.$inject = [
@@ -20148,7 +20153,7 @@ function Mi(e) {
20148
20153
  if (o === xa) return t && a && t === a && n !== a;
20149
20154
  if (o === Ca) return t && n && t === n && n !== a;
20150
20155
  }
20151
- var ux = "reconnectStart", dx = "reconnectEnd", $s = "updateWaypoints", go = "connect-ok", fi = "connect-not-ok", Fs = "connect-hover", Vs = "djs-updating", Ns = "djs-dragging", Ws = 1100;
20156
+ var cx = "reconnectStart", ux = "reconnectEnd", $s = "updateWaypoints", go = "connect-ok", fi = "connect-not-ok", Fs = "connect-hover", Vs = "djs-updating", Ns = "djs-dragging", Ws = 1100;
20152
20157
  function Zu(e, t, n, a) {
20153
20158
  this._injector = t;
20154
20159
  var o = t.get("connectionPreview", !1);
@@ -20172,7 +20177,7 @@ function Zu(e, t, n, a) {
20172
20177
  x: i.x,
20173
20178
  y: i.y
20174
20179
  }, x = r.hints || {}, m = {};
20175
- o && (x.connectionStart && (m.connectionStart = x.connectionStart), x.connectionEnd && (m.connectionEnd = x.connectionEnd), f === ux ? Mi(r) ? (m.connectionEnd = m.connectionEnd || b, m.source = p, m.target = d || h, g = g.reverse()) : (m.connectionStart = m.connectionStart || b, m.source = d || h, m.target = p) : f === dx ? Mi(r) ? (m.connectionStart = m.connectionStart || b, m.source = d || p, m.target = h, g = g.reverse()) : (m.connectionEnd = m.connectionEnd || b, m.source = h, m.target = d || p) : (m.noCropping = !0, m.noLayout = !0, g[c] = b), f === $s && (g = e.cropWaypoints(u, g)), m.waypoints = g, o.drawPreview(r, l, m)), Hn(s, i.x, i.y);
20180
+ o && (x.connectionStart && (m.connectionStart = x.connectionStart), x.connectionEnd && (m.connectionEnd = x.connectionEnd), f === cx ? Mi(r) ? (m.connectionEnd = m.connectionEnd || b, m.source = p, m.target = d || h, g = g.reverse()) : (m.connectionStart = m.connectionStart || b, m.source = d || h, m.target = p) : f === ux ? Mi(r) ? (m.connectionStart = m.connectionStart || b, m.source = d || p, m.target = h, g = g.reverse()) : (m.connectionEnd = m.connectionEnd || b, m.source = h, m.target = d || p) : (m.noCropping = !0, m.noLayout = !0, g[c] = b), f === $s && (g = e.cropWaypoints(u, g)), m.waypoints = g, o.drawPreview(r, l, m)), Hn(s, i.x, i.y);
20176
20181
  }, this), n.on(["bendpoint.move.end", "bendpoint.move.cancel"], Ws, function(i) {
20177
20182
  var r = i.context, l = r.connection, c = r.draggerGfx, s = r.hover, d = r.target;
20178
20183
  l.waypoints = r.waypoints, cn(c), a.removeMarker(l, Vs), a.removeMarker(l, Ns), s && (a.removeMarker(s, go), a.removeMarker(s, d ? go : fi)), o && o.cleanUp(r);
@@ -20194,7 +20199,7 @@ function Rl(e, t, n) {
20194
20199
  y: t === "y" ? n : e.y
20195
20200
  };
20196
20201
  }
20197
- function fx(e, t, n, a) {
20202
+ function dx(e, t, n, a) {
20198
20203
  var o = Math.max(t[a], n[a]), i = Math.min(t[a], n[a]), r = 20;
20199
20204
  return Rl(t, a, Math.min(Math.max(i + r, e[a]), o - r));
20200
20205
  }
@@ -20238,7 +20243,7 @@ function ed(e, t, n, a, o, i) {
20238
20243
  o.update("connection", f.connection, f.connectionGfx);
20239
20244
  }
20240
20245
  function s(f, u, h) {
20241
- var p = f.newWaypoints, g = p[f.segmentStartIndex + u], b = p[f.segmentEndIndex + u], x = fx(h, g, b, Qu(f.axis));
20246
+ var p = f.newWaypoints, g = p[f.segmentStartIndex + u], b = p[f.segmentEndIndex + u], x = dx(h, g, b, Qu(f.axis));
20242
20247
  Hn(f.draggerGfx, x.x, x.y);
20243
20248
  }
20244
20249
  function d(f, u) {
@@ -20293,20 +20298,20 @@ ed.$inject = [
20293
20298
  "graphicsFactory",
20294
20299
  "modeling"
20295
20300
  ];
20296
- var hx = Math.abs, Ks = Math.round;
20297
- function px(e, t, n) {
20301
+ var fx = Math.abs, Ks = Math.round;
20302
+ function hx(e, t, n) {
20298
20303
  n = n === void 0 ? 10 : n;
20299
20304
  var a, o;
20300
20305
  for (a = 0; a < t.length; a++)
20301
- if (o = t[a], hx(o - e) <= n) return o;
20306
+ if (o = t[a], fx(o - e) <= n) return o;
20302
20307
  }
20303
- function gx(e) {
20308
+ function px(e) {
20304
20309
  return {
20305
20310
  x: e.x,
20306
20311
  y: e.y
20307
20312
  };
20308
20313
  }
20309
- function vx(e) {
20314
+ function gx(e) {
20310
20315
  return {
20311
20316
  x: e.x + e.width,
20312
20317
  y: e.y + e.height
@@ -20331,11 +20336,11 @@ function Dn(e, t, n) {
20331
20336
  function td(e) {
20332
20337
  return e.children || [];
20333
20338
  }
20334
- var yx = Math.abs, qs = Math.round, ur = 10;
20339
+ var vx = Math.abs, qs = Math.round, ur = 10;
20335
20340
  function nd(e) {
20336
20341
  function t(i, r) {
20337
20342
  if (st(i)) {
20338
- for (var l = i.length; l--; ) if (yx(i[l] - r) <= ur) return i[l];
20343
+ for (var l = i.length; l--; ) if (vx(i[l] - r) <= ur) return i[l];
20339
20344
  } else {
20340
20345
  i = +i;
20341
20346
  var c = r % i;
@@ -20345,7 +20350,7 @@ function nd(e) {
20345
20350
  return r;
20346
20351
  }
20347
20352
  function n(i, r) {
20348
- if (i.waypoints) return rx(r, i);
20353
+ if (i.waypoints) return ix(r, i);
20349
20354
  if (i.width) return {
20350
20355
  x: qs(i.width / 2 + i.x),
20351
20356
  y: qs(i.height / 2 + i.y)
@@ -20413,7 +20418,7 @@ function nd(e) {
20413
20418
  });
20414
20419
  }
20415
20420
  nd.$inject = ["eventBus"];
20416
- var mx = {
20421
+ var yx = {
20417
20422
  __depends__: [Pa, to],
20418
20423
  __init__: [
20419
20424
  "bendpoints",
@@ -20425,7 +20430,7 @@ var mx = {
20425
20430
  bendpointMovePreview: ["type", Zu],
20426
20431
  connectionSegmentMove: ["type", ed],
20427
20432
  bendpointSnapping: ["type", nd]
20428
- }, bx = "djs-dragger";
20433
+ }, mx = "djs-dragger";
20429
20434
  function Yn(e, t, n, a) {
20430
20435
  this._canvas = t, this._graphicsFactory = n, this._elementFactory = a, this._connectionDocking = e.get("connectionDocking", !1), this._layouter = e.get("layouter", !1);
20431
20436
  }
@@ -20438,7 +20443,7 @@ Yn.$inject = [
20438
20443
  Yn.prototype.drawPreview = function(e, t, n) {
20439
20444
  n = n || {};
20440
20445
  var a = e.connectionPreviewGfx, o = e.getConnection, i = n.source, r = n.target, l = n.waypoints, c = n.connectionStart, s = n.connectionEnd, d = n.noLayout, f = n.noCropping, u = n.noNoop, h, p = this;
20441
- if (a || (a = e.connectionPreviewGfx = this.createConnectionPreviewGfx()), Nr(a), o || (o = e.getConnection = wx(function(g, b, x) {
20446
+ if (a || (a = e.connectionPreviewGfx = this.createConnectionPreviewGfx()), Nr(a), o || (o = e.getConnection = bx(function(g, b, x) {
20442
20447
  return p.getConnection(g, b, x);
20443
20448
  })), t && (h = o(t, i, r)), !h) {
20444
20449
  !u && this.drawNoopPreview(a, n);
@@ -20464,12 +20469,12 @@ Yn.prototype.cleanUp = function(e) {
20464
20469
  e && e.connectionPreviewGfx && cn(e.connectionPreviewGfx);
20465
20470
  };
20466
20471
  Yn.prototype.getConnection = function(e) {
20467
- var t = _x(e);
20472
+ var t = wx(e);
20468
20473
  return this._elementFactory.createConnection(t);
20469
20474
  };
20470
20475
  Yn.prototype.createConnectionPreviewGfx = function() {
20471
20476
  var e = Ge("g");
20472
- return $e(e, { pointerEvents: "none" }), ht(e).add(bx), qe(this._canvas.getActiveLayer(), e), e;
20477
+ return $e(e, { pointerEvents: "none" }), ht(e).add(mx), qe(this._canvas.getActiveLayer(), e), e;
20473
20478
  };
20474
20479
  Yn.prototype.createNoopConnection = function(e, t) {
20475
20480
  return qr([e, t], {
@@ -20479,25 +20484,25 @@ Yn.prototype.createNoopConnection = function(e, t) {
20479
20484
  "pointer-events": "none"
20480
20485
  });
20481
20486
  };
20482
- function wx(e) {
20487
+ function bx(e) {
20483
20488
  var t = {};
20484
20489
  return function(n) {
20485
20490
  var a = JSON.stringify(n), o = t[a];
20486
20491
  return o || (o = t[a] = e.apply(null, arguments)), o;
20487
20492
  };
20488
20493
  }
20489
- function _x(e) {
20494
+ function wx(e) {
20490
20495
  return dn(e) ? e : {};
20491
20496
  }
20492
- var xx = {
20497
+ var _x = {
20493
20498
  __init__: ["connectionPreview"],
20494
20499
  connectionPreview: ["type", Yn]
20495
- }, Cx = new Di("ov"), Sx = 500;
20500
+ }, xx = new Di("ov"), Cx = 500;
20496
20501
  function Vt(e, t, n, a) {
20497
- this._eventBus = t, this._canvas = n, this._elementRegistry = a, this._ids = Cx, this._overlayDefaults = Fe({
20502
+ this._eventBus = t, this._canvas = n, this._elementRegistry = a, this._ids = xx, this._overlayDefaults = Fe({
20498
20503
  show: null,
20499
20504
  scale: !0
20500
- }, e && e.defaults), this._overlays = {}, this._overlayContainers = [], this._overlayRoot = kx(n.getContainer()), this._init();
20505
+ }, e && e.defaults), this._overlays = {}, this._overlayContainers = [], this._overlayRoot = Sx(n.getContainer()), this._init();
20501
20506
  }
20502
20507
  Vt.$inject = [
20503
20508
  "config.overlays",
@@ -20634,7 +20639,7 @@ Vt.prototype._init = function() {
20634
20639
  var r = t._overlayContainers.indexOf(i);
20635
20640
  r !== -1 && t._overlayContainers.splice(r, 1);
20636
20641
  }
20637
- }), e.on("element.changed", Sx, function(a) {
20642
+ }), e.on("element.changed", Cx, function(a) {
20638
20643
  var o = a.element, i = t._getOverlayContainer(o, !0);
20639
20644
  i && (de(i.overlays, function(r) {
20640
20645
  t._updateOverlay(r);
@@ -20646,7 +20651,7 @@ Vt.prototype._init = function() {
20646
20651
  t._updateOverlaysVisibilty(t._canvas.viewbox());
20647
20652
  }), e.on("diagram.clear", this.clear, this);
20648
20653
  };
20649
- function kx(e) {
20654
+ function Sx(e) {
20650
20655
  var t = rn('<div class="djs-overlay-container" />');
20651
20656
  return Ii(t, {
20652
20657
  position: "absolute",
@@ -20672,10 +20677,10 @@ function od(e, t) {
20672
20677
  e.style[n + "transform"] = t;
20673
20678
  });
20674
20679
  }
20675
- var Rx = {
20680
+ var kx = {
20676
20681
  __init__: ["overlays"],
20677
20682
  overlays: ["type", Vt]
20678
- }, Ex = new Di();
20683
+ }, Rx = new Di();
20679
20684
  function oo(e) {
20680
20685
  this._scheduled = {}, e.on("diagram.destroy", () => {
20681
20686
  Object.keys(this._scheduled).forEach((t) => {
@@ -20684,13 +20689,13 @@ function oo(e) {
20684
20689
  });
20685
20690
  }
20686
20691
  oo.$inject = ["eventBus"];
20687
- oo.prototype.schedule = function(e, t = Ex.next()) {
20692
+ oo.prototype.schedule = function(e, t = Rx.next()) {
20688
20693
  this.cancel(t);
20689
20694
  const n = this._schedule(e, t);
20690
20695
  return this._scheduled[t] = n, n.promise;
20691
20696
  };
20692
20697
  oo.prototype._schedule = function(e, t) {
20693
- const n = Tx();
20698
+ const n = Ex();
20694
20699
  return {
20695
20700
  executionId: setTimeout(() => {
20696
20701
  try {
@@ -20714,13 +20719,13 @@ oo.prototype.cancel = function(e) {
20714
20719
  oo.prototype._cancel = function(e) {
20715
20720
  clearTimeout(e.executionId);
20716
20721
  };
20717
- function Tx() {
20722
+ function Ex() {
20718
20723
  const e = {};
20719
20724
  return e.promise = new Promise((t, n) => {
20720
20725
  e.resolve = t, e.reject = n;
20721
20726
  }), e;
20722
20727
  }
20723
- var Ax = { scheduler: ["type", oo] }, Mx = "djs-element-hidden", hi = ".entry", jx = 1e3, Xs = 8, Px = 300;
20728
+ var Tx = { scheduler: ["type", oo] }, Ax = "djs-element-hidden", hi = ".entry", Mx = 1e3, Xs = 8, jx = 300;
20724
20729
  function Pt(e, t, n, a) {
20725
20730
  this._canvas = e, this._elementRegistry = t, this._eventBus = n, this._scheduler = a, this._current = null, this._init();
20726
20731
  }
@@ -20763,7 +20768,7 @@ Pt.prototype._createContainer = function() {
20763
20768
  return this._canvas.getContainer().appendChild(e), e;
20764
20769
  };
20765
20770
  Pt.prototype.registerProvider = function(e, t) {
20766
- t || (t = e, e = jx), this._eventBus.on("contextPad.getProviders", e, function(n) {
20771
+ t || (t = e, e = Mx), this._eventBus.on("contextPad.getProviders", e, function(n) {
20767
20772
  n.providers.push(t);
20768
20773
  });
20769
20774
  };
@@ -20784,7 +20789,7 @@ Pt.prototype.trigger = function(e, t, n) {
20784
20789
  if (o = _n(r, "data-action"), i = t.originalEvent || t, e === "mouseover") {
20785
20790
  this._timeout = setTimeout(function() {
20786
20791
  a._mouseout = a.triggerEntry(o, "hover", i, n);
20787
- }, Px);
20792
+ }, jx);
20788
20793
  return;
20789
20794
  } else if (e === "mouseout") {
20790
20795
  clearTimeout(this._timeout), this._mouseout && (this._mouseout(), this._mouseout = null);
@@ -20823,7 +20828,7 @@ Pt.prototype._updateAndOpen = function(e) {
20823
20828
  var t = this.getEntries(e), n = this._createHtml(e), a;
20824
20829
  de(t, function(o, i) {
20825
20830
  var r = o.group || "default", l = rn(o.html || '<div class="entry" draggable="true"></div>'), c;
20826
- _n(l, "data-action", i), c = Zt("[data-group=" + Sl(r) + "]", n), c || (c = rn('<div class="group"></div>'), _n(c, "data-group", r), n.appendChild(c)), c.appendChild(l), o.className && Bx(l, o.className), o.title && _n(l, "title", o.title), o.imageUrl && (a = rn("<img>"), _n(a, "src", o.imageUrl), a.style.width = "100%", a.style.height = "100%", l.appendChild(a));
20831
+ _n(l, "data-action", i), c = Zt("[data-group=" + Sl(r) + "]", n), c || (c = rn('<div class="group"></div>'), _n(c, "data-group", r), n.appendChild(c)), c.appendChild(l), o.className && Px(l, o.className), o.title && _n(l, "title", o.title), o.imageUrl && (a = rn("<img>"), _n(a, "src", o.imageUrl), a.style.width = "100%", a.style.height = "100%", l.appendChild(a));
20827
20832
  }), nn(n).add("open"), this._current = {
20828
20833
  entries: t,
20829
20834
  html: n,
@@ -20850,7 +20855,7 @@ Pt.prototype._createHtml = function(e) {
20850
20855
  Pt.prototype.getPad = function(e) {
20851
20856
  console.warn(/* @__PURE__ */ new Error("ContextPad#getPad is deprecated and will be removed in future library versions, cf. https://github.com/bpmn-io/diagram-js/pull/888"));
20852
20857
  let t;
20853
- return this.isOpen() && Ox(this._current.target, e) ? t = this._current.html : t = this._createHtml(e), { html: t };
20858
+ return this.isOpen() && Hx(this._current.target, e) ? t = this._current.html : t = this._createHtml(e), { html: t };
20854
20859
  };
20855
20860
  Pt.prototype.close = function() {
20856
20861
  this.isOpen() && (clearTimeout(this._timeout), this._container.innerHTML = "", this._eventBus.fire("contextPad.close", { current: this._current }), this._current = null);
@@ -20875,7 +20880,7 @@ Pt.prototype.hide = function() {
20875
20880
  };
20876
20881
  Pt.prototype._getPosition = function(e) {
20877
20882
  if (!st(e) && en(e)) {
20878
- var t = this._canvas.viewbox(), n = Hx(e), a = n.x * t.scale - t.x * t.scale, o = n.y * t.scale - t.y * t.scale;
20883
+ var t = this._canvas.viewbox(), n = Bx(e), a = n.x * t.scale - t.x * t.scale, o = n.y * t.scale - t.y * t.scale;
20879
20884
  return {
20880
20885
  left: a + Xs * this._canvas.zoom(),
20881
20886
  top: o
@@ -20908,7 +20913,7 @@ Pt.prototype._updateVisibility = function() {
20908
20913
  if (this.isOpen()) {
20909
20914
  var t = this, n = this._current.target;
20910
20915
  (st(n) ? n : [n]).some(function(a) {
20911
- return t._canvas.hasMarker(a, Mx);
20916
+ return t._canvas.hasMarker(a, Ax);
20912
20917
  }) ? t.hide() : t.show();
20913
20918
  }
20914
20919
  };
@@ -20928,28 +20933,28 @@ Pt.prototype._getTargetBounds = function(e) {
20928
20933
  left: 1 / 0
20929
20934
  });
20930
20935
  };
20931
- function Bx(e, t) {
20936
+ function Px(e, t) {
20932
20937
  var n = nn(e);
20933
20938
  t = st(t) ? t : t.split(/\s+/g), t.forEach(function(a) {
20934
20939
  n.add(a);
20935
20940
  });
20936
20941
  }
20937
- function Hx(e) {
20942
+ function Bx(e) {
20938
20943
  return e.waypoints[e.waypoints.length - 1];
20939
20944
  }
20940
- function Ox(e, t) {
20945
+ function Hx(e, t) {
20941
20946
  return e = st(e) ? e : [e], t = st(t) ? t : [t], e.length === t.length && $r(e, function(n) {
20942
20947
  return t.includes(n);
20943
20948
  });
20944
20949
  }
20945
- var Ix = {
20950
+ var Ox = {
20946
20951
  __depends__: [
20947
20952
  Xr,
20948
- Ax,
20949
- Rx
20953
+ Tx,
20954
+ kx
20950
20955
  ],
20951
20956
  contextPad: ["type", Pt]
20952
- }, zx = 250;
20957
+ }, Ix = 250;
20953
20958
  function La(e) {
20954
20959
  this._eventBus = e, this._tools = [], this._active = null;
20955
20960
  }
@@ -20979,11 +20984,11 @@ La.prototype.bindEvents = function(e, t) {
20979
20984
  this.setActive(e);
20980
20985
  }, this), de(t, function(o) {
20981
20986
  a.push(o + ".ended"), a.push(o + ".canceled");
20982
- }), n.on(a, zx, function(o) {
20983
- this._active && (Lx(o) || this.setActive(null));
20987
+ }), n.on(a, Ix, function(o) {
20988
+ this._active && (zx(o) || this.setActive(null));
20984
20989
  }, this);
20985
20990
  };
20986
- function Lx(e) {
20991
+ function zx(e) {
20987
20992
  var t = e.originalEvent && e.originalEvent.target;
20988
20993
  return t && Lr(t, '.group[data-group="tools"]');
20989
20994
  }
@@ -21006,9 +21011,9 @@ function Tl(e) {
21006
21011
  }
21007
21012
  Tl.$inject = ["eventBus"];
21008
21013
  Tl.prototype.getLastMoveEvent = function() {
21009
- return this._lastMoveEvent || Dx(0, 0);
21014
+ return this._lastMoveEvent || Lx(0, 0);
21010
21015
  };
21011
- function Dx(e, t) {
21016
+ function Lx(e, t) {
21012
21017
  var n = document.createEvent("MouseEvent"), a = e, o = t, i = e, r = t;
21013
21018
  return n.initMouseEvent && n.initMouseEvent("mousemove", !0, !0, window, 0, a, o, i, r, !1, !1, !1, !1, 0, null), n;
21014
21019
  }
@@ -21086,11 +21091,11 @@ io.prototype.isActive = function() {
21086
21091
  function Zs(e) {
21087
21092
  return Zc("Space", e);
21088
21093
  }
21089
- var $x = {
21094
+ var Dx = {
21090
21095
  __depends__: [El, Al],
21091
21096
  __init__: ["handTool"],
21092
21097
  handTool: ["type", io]
21093
- }, rd = "crosshair", Qs = "selected", Fx = "djs-dragging-active-lasso";
21098
+ }, rd = "crosshair", Qs = "selected", $x = "djs-dragging-active-lasso";
21094
21099
  function ha(e, t, n, a, o, i, r) {
21095
21100
  this._selection = o, this._dragging = n, this._mouse = r;
21096
21101
  var l = this, c = {
@@ -21123,7 +21128,7 @@ function ha(e, t, n, a, o, i, r) {
21123
21128
  }
21124
21129
  };
21125
21130
  function s(f) {
21126
- ht(t.getContainer()).toggle(Fx, f);
21131
+ ht(t.getContainer()).toggle($x, f);
21127
21132
  }
21128
21133
  function d(f) {
21129
21134
  var u = a.getAll();
@@ -21231,7 +21236,7 @@ function ec(e) {
21231
21236
  height: 0
21232
21237
  }, a;
21233
21238
  }
21234
- var Vx = {
21239
+ var Fx = {
21235
21240
  __depends__: [El, Al],
21236
21241
  __init__: ["lassoTool"],
21237
21242
  lassoTool: ["type", ha]
@@ -21288,7 +21293,7 @@ ro.prototype.isActive = function() {
21288
21293
  ro.prototype.canStartConnect = function(e) {
21289
21294
  return this._rules.allowed("connection.start", { source: e });
21290
21295
  };
21291
- var Nx = {
21296
+ var Vx = {
21292
21297
  __depends__: [
21293
21298
  ol,
21294
21299
  to,
@@ -21297,7 +21302,7 @@ var Nx = {
21297
21302
  Al
21298
21303
  ],
21299
21304
  globalConnect: ["type", ro]
21300
- }, Wx = 500, Ux = 1e3;
21305
+ }, Nx = 500, Wx = 1e3;
21301
21306
  function Da(e, t) {
21302
21307
  this._eventBus = e, this.offset = 5;
21303
21308
  var n = t.cls("djs-outline", ["no-fill"]), a = this;
@@ -21311,7 +21316,7 @@ function Da(e, t) {
21311
21316
  height: 100
21312
21317
  }, n)), r;
21313
21318
  }
21314
- e.on(["shape.added", "shape.changed"], Wx, function(i) {
21319
+ e.on(["shape.added", "shape.changed"], Nx, function(i) {
21315
21320
  var r = i.element, l = i.gfx, c = Zt(".djs-outline", l);
21316
21321
  c || (c = a.getOutline(r) || o(l), qe(l, c)), a.updateShapeOutline(c, r);
21317
21322
  }), e.on(["connection.added", "connection.changed"], function(i) {
@@ -21340,7 +21345,7 @@ Da.prototype.updateConnectionOutline = function(e, t) {
21340
21345
  });
21341
21346
  };
21342
21347
  Da.prototype.registerProvider = function(e, t) {
21343
- t || (t = e, e = Ux), this._eventBus.on("outline.getProviders", e, function(n) {
21348
+ t || (t = e, e = Wx), this._eventBus.on("outline.getProviders", e, function(n) {
21344
21349
  n.providers.push(t);
21345
21350
  });
21346
21351
  };
@@ -21378,7 +21383,7 @@ Ml.prototype._updateMultiSelectionOutline = function(e) {
21378
21383
  Nr(t);
21379
21384
  var n = e.length > 1;
21380
21385
  if (ht(this._canvas.getContainer())[n ? "add" : "remove"]("djs-multi-select"), !!n) {
21381
- var a = Yx(On(e)), o = Ge("rect");
21386
+ var a = Ux(On(e)), o = Ge("rect");
21382
21387
  $e(o, Fe({ rx: 3 }, a)), ht(o).add("djs-selection-outline"), qe(t, o);
21383
21388
  }
21384
21389
  };
@@ -21387,7 +21392,7 @@ Ml.$inject = [
21387
21392
  "canvas",
21388
21393
  "selection"
21389
21394
  ];
21390
- function Yx(e) {
21395
+ function Ux(e) {
21391
21396
  return {
21392
21397
  x: e.x - pi,
21393
21398
  y: e.y - pi,
@@ -21400,8 +21405,8 @@ var ld = {
21400
21405
  __init__: ["outline", "multiSelectionOutline"],
21401
21406
  outline: ["type", Da],
21402
21407
  multiSelectionOutline: ["type", Ml]
21403
- }, Jx = 500, Gx = 1250, Kx = 1500, Pi = Math.round;
21404
- function qx(e) {
21408
+ }, Yx = 500, Jx = 1250, Gx = 1500, Pi = Math.round;
21409
+ function Kx(e) {
21405
21410
  return {
21406
21411
  x: e.x + Pi(e.width / 2),
21407
21412
  y: e.y + Pi(e.height / 2)
@@ -21416,17 +21421,17 @@ function sd(e, t, n, a, o) {
21416
21421
  target: d
21417
21422
  });
21418
21423
  }
21419
- e.on("shape.move.start", Kx, function(l) {
21424
+ e.on("shape.move.start", Gx, function(l) {
21420
21425
  var c = l.context, s = l.shape, d = a.get().slice();
21421
- d.indexOf(s) === -1 && (d = [s]), d = Xx(d), Fe(c, {
21426
+ d.indexOf(s) === -1 && (d = [s]), d = qx(d), Fe(c, {
21422
21427
  shapes: d,
21423
21428
  validatedShapes: d,
21424
21429
  shape: s
21425
21430
  });
21426
- }), e.on("shape.move.start", Gx, function(l) {
21431
+ }), e.on("shape.move.start", Jx, function(l) {
21427
21432
  var c = l.context, s = c.validatedShapes;
21428
21433
  if (!(c.canExecute = i(s))) return !1;
21429
- }), e.on("shape.move.move", Jx, function(l) {
21434
+ }), e.on("shape.move.move", Yx, function(l) {
21430
21435
  var c = l.context, s = c.validatedShapes, d = l.hover, f = {
21431
21436
  x: l.dx,
21432
21437
  y: l.dy
@@ -21455,7 +21460,7 @@ function sd(e, t, n, a, o) {
21455
21460
  });
21456
21461
  function r(l, c, s, d) {
21457
21462
  if (dn(s) && (d = s, s = !1), !(c.waypoints || !c.parent) && !ht(l.target).has("djs-hit-no-move")) {
21458
- var f = qx(c);
21463
+ var f = Kx(c);
21459
21464
  return t.init(l, f, "shape.move", {
21460
21465
  cursor: "grabbing",
21461
21466
  autoActivate: s,
@@ -21475,7 +21480,7 @@ sd.$inject = [
21475
21480
  "selection",
21476
21481
  "rules"
21477
21482
  ];
21478
- function Xx(e) {
21483
+ function qx(e) {
21479
21484
  var t = Fr(e, "id");
21480
21485
  return un(e, function(n) {
21481
21486
  for (; n = n.parent; ) if (t[n.id]) return !1;
@@ -21485,10 +21490,10 @@ function Xx(e) {
21485
21490
  var ac = 499, fr = "djs-dragging", oc = "drop-ok", ic = "drop-not-ok", rc = "new-parent", lc = "attach-ok";
21486
21491
  function cd(e, t, n, a) {
21487
21492
  function o(c) {
21488
- return Zx(i(c));
21493
+ return Xx(i(c));
21489
21494
  }
21490
21495
  function i(c) {
21491
- var s = z0(c, !0), d = s.flatMap((u) => (u.incoming || []).concat(u.outgoing || [])), f = s.concat(d);
21496
+ var s = I0(c, !0), d = s.flatMap((u) => (u.incoming || []).concat(u.outgoing || [])), f = s.concat(d);
21492
21497
  return [...new Set(f)];
21493
21498
  }
21494
21499
  function r(c, s) {
@@ -21514,7 +21519,7 @@ function cd(e, t, n, a) {
21514
21519
  a.addDragger(p, s.dragGroup);
21515
21520
  }), f ? f = gf([f, i(d)]) : f = i(d), de(f, function(p) {
21516
21521
  t.addMarker(p, fr);
21517
- }), s.allDraggedElements = f, s.differentParents = Qx(d);
21522
+ }), s.allDraggedElements = f, s.differentParents = Zx(d);
21518
21523
  }), e.on("shape.move.move", ac, function(c) {
21519
21524
  var s = c.context, d = s.dragGroup, f = s.target, u = s.shape.parent, h = s.canExecute;
21520
21525
  f && (h === "attach" ? r(f, lc) : s.canExecute && u && f.id !== u.id ? r(f, rc) : r(f, s.canExecute ? oc : ic)), Hn(d, c.dx, c.dy);
@@ -21534,17 +21539,17 @@ cd.$inject = [
21534
21539
  "styles",
21535
21540
  "previewSupport"
21536
21541
  ];
21537
- function Zx(e) {
21542
+ function Xx(e) {
21538
21543
  return un(e, function(t) {
21539
21544
  return en(t) ? Pn(e, xi({ id: t.source.id })) && Pn(e, xi({ id: t.target.id })) : !0;
21540
21545
  });
21541
21546
  }
21542
- function Qx(e) {
21547
+ function Zx(e) {
21543
21548
  return mf(Fr(e, function(t) {
21544
21549
  return t.parent && t.parent.id;
21545
21550
  })) !== 1;
21546
21551
  }
21547
- var eC = {
21552
+ var Qx = {
21548
21553
  __depends__: [
21549
21554
  Xr,
21550
21555
  eo,
@@ -21556,7 +21561,7 @@ var eC = {
21556
21561
  __init__: ["move", "movePreview"],
21557
21562
  move: ["type", sd],
21558
21563
  movePreview: ["type", cd]
21559
- }, ud = ".djs-palette-toggle", dd = ".entry", tC = ud + ", " + dd, Hr = "djs-palette-", nC = "shown", Or = "open", sc = "two-column", aC = 1e3;
21564
+ }, ud = ".djs-palette-toggle", dd = ".entry", eC = ud + ", " + dd, Hr = "djs-palette-", tC = "shown", Or = "open", sc = "two-column", nC = 1e3;
21560
21565
  function jt(e, t) {
21561
21566
  this._eventBus = e, this._canvas = t;
21562
21567
  var n = this;
@@ -21571,19 +21576,19 @@ function jt(e, t) {
21571
21576
  }
21572
21577
  jt.$inject = ["eventBus", "canvas"];
21573
21578
  jt.prototype.registerProvider = function(e, t) {
21574
- t || (t = e, e = aC), this._eventBus.on("palette.getProviders", e, function(n) {
21579
+ t || (t = e, e = nC), this._eventBus.on("palette.getProviders", e, function(n) {
21575
21580
  n.providers.push(t);
21576
21581
  }), this._rebuild();
21577
21582
  };
21578
21583
  jt.prototype.getEntries = function() {
21579
- return this._getProviders().reduce(iC, {});
21584
+ return this._getProviders().reduce(oC, {});
21580
21585
  };
21581
21586
  jt.prototype._rebuild = function() {
21582
21587
  this._diagramInitialized && this._getProviders().length && (this._container || this._init(), this._update());
21583
21588
  };
21584
21589
  jt.prototype._init = function() {
21585
21590
  var e = this, t = this._eventBus, n = this._getParentContainer(), a = this._container = rn(jt.HTML_MARKUP);
21586
- n.appendChild(a), nn(n).add(Hr + nC), Zn.bind(a, tC, "click", function(o) {
21591
+ n.appendChild(a), nn(n).add(Hr + tC), Zn.bind(a, eC, "click", function(o) {
21587
21592
  var i = o.delegateTarget;
21588
21593
  if (hf(i, ud)) return e.toggle();
21589
21594
  e.trigger("click", o);
@@ -21614,7 +21619,7 @@ jt.prototype._update = function() {
21614
21619
  var o = n.group || "default", i = Zt("[data-group=" + Sl(o) + "]", e);
21615
21620
  i || (i = rn('<div class="group"></div>'), _n(i, "data-group", o), e.appendChild(i));
21616
21621
  var r = rn(n.html || (n.separator ? '<hr class="separator" />' : '<div class="entry" draggable="true"></div>'));
21617
- if (i.appendChild(r), !n.separator && (_n(r, "data-action", a), n.title && _n(r, "title", n.title), n.className && oC(r, n.className), n.imageUrl)) {
21622
+ if (i.appendChild(r), !n.separator && (_n(r, "data-action", a), n.title && _n(r, "title", n.title), n.className && aC(r, n.className), n.imageUrl)) {
21618
21623
  var l = rn("<img>");
21619
21624
  _n(l, "src", n.imageUrl), r.appendChild(l);
21620
21625
  }
@@ -21674,26 +21679,26 @@ jt.prototype._getParentContainer = function() {
21674
21679
  return this._canvas.getContainer();
21675
21680
  };
21676
21681
  jt.HTML_MARKUP = '<div class="djs-palette"><div class="djs-palette-entries"></div><div class="djs-palette-toggle"></div></div>';
21677
- function oC(e, t) {
21682
+ function aC(e, t) {
21678
21683
  var n = nn(e);
21679
21684
  (st(t) ? t : t.split(/\s+/g)).forEach(function(a) {
21680
21685
  n.add(a);
21681
21686
  });
21682
21687
  }
21683
- function iC(e, t) {
21688
+ function oC(e, t) {
21684
21689
  var n = t.getPaletteEntries();
21685
21690
  return Bn(n) ? n(e) : (de(n, function(a, o) {
21686
21691
  e[o] = a;
21687
21692
  }), e);
21688
21693
  }
21689
- var rC = {
21694
+ var iC = {
21690
21695
  __init__: ["palette"],
21691
21696
  palette: ["type", jt]
21692
21697
  };
21693
21698
  function fd(e, t, n, a) {
21694
21699
  e.on("element.changed", function(o) {
21695
21700
  var i = o.element;
21696
- (i.parent || i === t.getRootElement()) && (o.gfx = n.getGraphics(i)), o.gfx && e.fire(D0(i) + ".changed", o);
21701
+ (i.parent || i === t.getRootElement()) && (o.gfx = n.getGraphics(i)), o.gfx && e.fire(L0(i) + ".changed", o);
21697
21702
  }), e.on("elements.changed", function(o) {
21698
21703
  var i = o.elements;
21699
21704
  i.forEach(function(r) {
@@ -21711,11 +21716,11 @@ fd.$inject = [
21711
21716
  "elementRegistry",
21712
21717
  "graphicsFactory"
21713
21718
  ];
21714
- var lC = {
21719
+ var rC = {
21715
21720
  __init__: ["changeSupport"],
21716
21721
  changeSupport: ["type", fd]
21717
- }, Bi = Math.max, Hi = Math.min, sC = 20;
21718
- function cC(e, t, n) {
21722
+ }, Bi = Math.max, Hi = Math.min, lC = 20;
21723
+ function sC(e, t, n) {
21719
21724
  var a = n.x, o = n.y, i = {
21720
21725
  x: e.x,
21721
21726
  y: e.y,
@@ -21728,7 +21733,7 @@ function gi(e, t, n) {
21728
21733
  var a = t[e], o = n.min && n.min[e], i = n.max && n.max[e];
21729
21734
  return It(o) && (a = (/top|left/.test(e) ? Hi : Bi)(a, o)), It(i) && (a = (/top|left/.test(e) ? Bi : Hi)(a, i)), a;
21730
21735
  }
21731
- function uC(e, t) {
21736
+ function cC(e, t) {
21732
21737
  if (!t) return e;
21733
21738
  var n = lt(e);
21734
21739
  return lu({
@@ -21738,7 +21743,7 @@ function uC(e, t) {
21738
21743
  left: gi("left", n, t)
21739
21744
  });
21740
21745
  }
21741
- function dC(e, t, n, a) {
21746
+ function uC(e, t, n, a) {
21742
21747
  var o = lt(t), i = {
21743
21748
  top: /n/.test(e) ? o.bottom - n.height : o.top,
21744
21749
  left: /w/.test(e) ? o.right - n.width : o.left,
@@ -21753,9 +21758,9 @@ function dC(e, t, n, a) {
21753
21758
  });
21754
21759
  }
21755
21760
  function vo(e, t) {
21756
- return typeof e < "u" ? e : sC;
21761
+ return typeof e < "u" ? e : lC;
21757
21762
  }
21758
- function fC(e, t) {
21763
+ function dC(e, t) {
21759
21764
  var n, a, o, i;
21760
21765
  return typeof t == "object" ? (n = vo(t.left), a = vo(t.right), o = vo(t.top), i = vo(t.bottom)) : n = a = o = i = vo(t), {
21761
21766
  x: e.x - n,
@@ -21764,12 +21769,12 @@ function fC(e, t) {
21764
21769
  height: e.height + o + i
21765
21770
  };
21766
21771
  }
21767
- function hC(e) {
21772
+ function fC(e) {
21768
21773
  return !(e.waypoints || e.type === "label");
21769
21774
  }
21770
- function pC(e, t) {
21775
+ function hC(e, t) {
21771
21776
  var n;
21772
- if (e.length === void 0 ? n = un(e.children, hC) : n = e, n.length) return fC(On(n), t);
21777
+ if (e.length === void 0 ? n = un(e.children, fC) : n = e, n.length) return dC(On(n), t);
21773
21778
  }
21774
21779
  var cc = 10;
21775
21780
  function Yo(e, t, n, a) {
@@ -21777,7 +21782,7 @@ function Yo(e, t, n, a) {
21777
21782
  var o = this;
21778
21783
  function i(c, s) {
21779
21784
  var d = c.shape, f = c.direction, u = c.resizeConstraints, h;
21780
- c.delta = s, h = cC(d, f, s), c.newBounds = uC(h, u), c.canExecute = o.canResize(c);
21785
+ c.delta = s, h = sC(d, f, s), c.newBounds = cC(h, u), c.canExecute = o.canResize(c);
21781
21786
  }
21782
21787
  function r(c) {
21783
21788
  var s = c.resizeConstraints, d = c.minBounds;
@@ -21786,7 +21791,7 @@ function Yo(e, t, n, a) {
21786
21791
  function l(c) {
21787
21792
  var s = c.shape, d = c.canExecute, f = c.newBounds;
21788
21793
  if (d) {
21789
- if (f = uw(f), !gC(s, f)) return;
21794
+ if (f = cw(f), !pC(s, f)) return;
21790
21795
  n.resizeShape(s, f);
21791
21796
  }
21792
21797
  }
@@ -21816,7 +21821,7 @@ Yo.prototype.activate = function(e, t, n) {
21816
21821
  if (typeof n == "string" && (n = { direction: n }), o = Fe({ shape: t }, n), i = o.direction, !i) throw new Error("must provide a direction (n|w|s|e|nw|se|ne|sw)");
21817
21822
  a.init(e, hd(t, i), "resize", {
21818
21823
  autoActivate: !0,
21819
- cursor: vC(i),
21824
+ cursor: gC(i),
21820
21825
  data: {
21821
21826
  shape: t,
21822
21827
  context: o
@@ -21825,10 +21830,10 @@ Yo.prototype.activate = function(e, t, n) {
21825
21830
  };
21826
21831
  Yo.prototype.computeMinResizeBox = function(e) {
21827
21832
  var t = e.shape, n = e.direction;
21828
- return dC(n, t, e.minDimensions || {
21833
+ return uC(n, t, e.minDimensions || {
21829
21834
  width: cc,
21830
21835
  height: cc
21831
- }, pC(t, e.childrenBoxPadding));
21836
+ }, hC(t, e.childrenBoxPadding));
21832
21837
  };
21833
21838
  Yo.$inject = [
21834
21839
  "eventBus",
@@ -21836,7 +21841,7 @@ Yo.$inject = [
21836
21841
  "modeling",
21837
21842
  "dragging"
21838
21843
  ];
21839
- function gC(e, t) {
21844
+ function pC(e, t) {
21840
21845
  return e.x !== t.x || e.y !== t.y || e.width !== t.width || e.height !== t.height;
21841
21846
  }
21842
21847
  function hd(e, t) {
@@ -21846,11 +21851,11 @@ function hd(e, t) {
21846
21851
  };
21847
21852
  return t.indexOf("n") !== -1 ? o.y = a.top : t.indexOf("s") !== -1 && (o.y = a.bottom), t.indexOf("e") !== -1 ? o.x = a.right : t.indexOf("w") !== -1 && (o.x = a.left), o;
21848
21853
  }
21849
- function vC(e) {
21854
+ function gC(e) {
21850
21855
  var t = "resize-";
21851
21856
  return e === "n" || e === "s" ? t + "ns" : e === "e" || e === "w" ? t + "ew" : e === "nw" || e === "se" ? t + "nwse" : t + "nesw";
21852
21857
  }
21853
- var uc = "djs-resizing", dc = "resize-not-ok", yC = 500;
21858
+ var uc = "djs-resizing", dc = "resize-not-ok", vC = 500;
21854
21859
  function pd(e, t, n) {
21855
21860
  function a(i) {
21856
21861
  var r = i.shape, l = i.newBounds, c = i.frame;
@@ -21866,7 +21871,7 @@ function pd(e, t, n) {
21866
21871
  var r = i.shape;
21867
21872
  i.frame && cn(i.frame), t.removeMarker(r, uc);
21868
21873
  }
21869
- e.on("resize.move", yC, function(i) {
21874
+ e.on("resize.move", vC, function(i) {
21870
21875
  a(i.context);
21871
21876
  }), e.on("resize.cleanup", function(i) {
21872
21877
  o(i.context);
@@ -21877,7 +21882,7 @@ pd.$inject = [
21877
21882
  "canvas",
21878
21883
  "previewSupport"
21879
21884
  ];
21880
- var vi = -6, yi = 8, mi = 20, yo = "djs-resizer", mC = [
21885
+ var vi = -6, yi = 8, mi = 20, yo = "djs-resizer", yC = [
21881
21886
  "n",
21882
21887
  "w",
21883
21888
  "s",
@@ -21906,7 +21911,7 @@ pa.prototype.makeDraggable = function(e, t, n) {
21906
21911
  rt.bind(t, "mousedown", o), rt.bind(t, "touchstart", o);
21907
21912
  };
21908
21913
  pa.prototype._createResizer = function(e, t, n, a) {
21909
- var o = this._getResizersParent(), i = bC(a), r = Ge("g");
21914
+ var o = this._getResizersParent(), i = mC(a), r = Ge("g");
21910
21915
  ht(r).add(yo), ht(r).add(yo + "-" + e.id), ht(r).add(yo + "-" + a), qe(o, r);
21911
21916
  var l = Ge("rect");
21912
21917
  $e(l, {
@@ -21921,7 +21926,7 @@ pa.prototype._createResizer = function(e, t, n, a) {
21921
21926
  y: -mi / 2 + i.y,
21922
21927
  width: mi,
21923
21928
  height: mi
21924
- }), ht(c).add(yo + "-hit"), qe(r, c), N0(r, t, n), r;
21929
+ }), ht(c).add(yo + "-hit"), qe(r, c), V0(r, t, n), r;
21925
21930
  };
21926
21931
  pa.prototype.createResizer = function(e, t) {
21927
21932
  var n = hd(e, t), a = this._createResizer(e, n.x, n.y, t);
@@ -21929,7 +21934,7 @@ pa.prototype.createResizer = function(e, t) {
21929
21934
  };
21930
21935
  pa.prototype.addResizer = function(e) {
21931
21936
  var t = this;
21932
- en(e) || !this._resize.canResize({ shape: e }) || de(mC, function(n) {
21937
+ en(e) || !this._resize.canResize({ shape: e }) || de(yC, function(n) {
21933
21938
  t.createResizer(e, n);
21934
21939
  });
21935
21940
  };
@@ -21945,14 +21950,14 @@ pa.$inject = [
21945
21950
  "selection",
21946
21951
  "resize"
21947
21952
  ];
21948
- function bC(e) {
21953
+ function mC(e) {
21949
21954
  var t = {
21950
21955
  x: 0,
21951
21956
  y: 0
21952
21957
  };
21953
21958
  return e.indexOf("e") !== -1 ? t.x = -vi : e.indexOf("w") !== -1 && (t.x = vi), e.indexOf("s") !== -1 ? t.y = -vi : e.indexOf("n") !== -1 && (t.y = vi), t;
21954
21959
  }
21955
- var wC = {
21960
+ var bC = {
21956
21961
  __depends__: [
21957
21962
  to,
21958
21963
  Pa,
@@ -22079,15 +22084,15 @@ Jo.prototype.getEditingBBox = function(e) {
22079
22084
  };
22080
22085
  Jo.prototype.update = function(e, t) {
22081
22086
  let n;
22082
- _C(t) && (t = null), this._modeling.updateLabel(e, t, n);
22087
+ wC(t) && (t = null), this._modeling.updateLabel(e, t, n);
22083
22088
  };
22084
- function _C(e) {
22089
+ function wC(e) {
22085
22090
  return !e || !e.trim();
22086
22091
  }
22087
- var xC = {
22092
+ var _C = {
22088
22093
  __depends__: [
22089
- lC,
22090
- wC,
22094
+ rC,
22095
+ bC,
22091
22096
  xf
22092
22097
  ],
22093
22098
  __init__: ["labelEditingProvider"],
@@ -22128,7 +22133,7 @@ Qi.prototype.add = function(e, t) {
22128
22133
  };
22129
22134
  Qi.prototype.snap = function(e, t, n, a) {
22130
22135
  var o = this._snapValues[t];
22131
- return o && px(e[n], o[n], a);
22136
+ return o && hx(e[n], o[n], a);
22132
22137
  };
22133
22138
  Qi.prototype.initDefaults = function(e) {
22134
22139
  var t = this;
@@ -22138,7 +22143,7 @@ Qi.prototype.initDefaults = function(e) {
22138
22143
  });
22139
22144
  });
22140
22145
  };
22141
- var CC = 1250;
22146
+ var xC = 1250;
22142
22147
  function zn(e, t, n) {
22143
22148
  var a = this;
22144
22149
  this._elementRegistry = e, t.on(["create.start", "shape.move.start"], function(o) {
@@ -22148,7 +22153,7 @@ function zn(e, t, n) {
22148
22153
  "create.end",
22149
22154
  "shape.move.move",
22150
22155
  "shape.move.end"
22151
- ], CC, function(o) {
22156
+ ], xC, function(o) {
22152
22157
  var i = o.context, r = i.shape, l = i.snapContext, c = i.target;
22153
22158
  if (!(o.originalEvent && Xc(o.originalEvent)) && !(ji(o) || !c)) {
22154
22159
  var s = l.pointsForTarget(c);
@@ -22207,10 +22212,10 @@ zn.prototype.addSnapTargetPoints = function(e, t, n) {
22207
22212
  };
22208
22213
  zn.prototype.getSnapTargets = function(e, t) {
22209
22214
  return td(t).filter(function(n) {
22210
- return !SC(n);
22215
+ return !CC(n);
22211
22216
  });
22212
22217
  };
22213
- function SC(e) {
22218
+ function CC(e) {
22214
22219
  return !!e.hidden;
22215
22220
  }
22216
22221
  function lo(e) {
@@ -22227,16 +22232,16 @@ lo.prototype.addSnapTargetPoints = function(e, t, n) {
22227
22232
  lo.prototype.getSnapTargets = function(e, t) {
22228
22233
  return zn.prototype.getSnapTargets.call(this, e, t);
22229
22234
  };
22230
- var kC = 1250;
22235
+ var SC = 1250;
22231
22236
  function Go(e, t) {
22232
22237
  var n = this;
22233
22238
  e.on(["resize.start"], function(a) {
22234
22239
  n.initSnap(a);
22235
- }), e.on(["resize.move", "resize.end"], kC, function(a) {
22240
+ }), e.on(["resize.move", "resize.end"], SC, function(a) {
22236
22241
  var o = a.context, i = o.shape, r = i.parent, l = o.direction, c = o.snapContext;
22237
22242
  if (!(a.originalEvent && Xc(a.originalEvent)) && !ji(a)) {
22238
22243
  var s = c.pointsForTarget(r);
22239
- s.initialized || (s = n.addSnapTargetPoints(s, i, r, l), s.initialized = !0), TC(l) && Dn(a, "x", a.x), AC(l) && Dn(a, "y", a.y), t.snap(a, s);
22244
+ s.initialized || (s = n.addSnapTargetPoints(s, i, r, l), s.initialized = !0), EC(l) && Dn(a, "x", a.x), TC(l) && Dn(a, "y", a.y), t.snap(a, s);
22240
22245
  }
22241
22246
  }), e.on(["resize.cleanup"], function() {
22242
22247
  t.hide();
@@ -22253,13 +22258,13 @@ Go.prototype.initSnap = function(e) {
22253
22258
  };
22254
22259
  Go.prototype.addSnapTargetPoints = function(e, t, n, a) {
22255
22260
  return de(this.getSnapTargets(t, n), function(o) {
22256
- e.add("corner", vx(o)), e.add("corner", gx(o));
22261
+ e.add("corner", gx(o)), e.add("corner", px(o));
22257
22262
  }), e.add("corner", gd(t, a)), e;
22258
22263
  };
22259
22264
  Go.$inject = ["eventBus", "snapping"];
22260
22265
  Go.prototype.getSnapTargets = function(e, t) {
22261
22266
  return td(t).filter(function(n) {
22262
- return !RC(n, e) && !en(n) && !EC(n) && !qa(n);
22267
+ return !kC(n, e) && !en(n) && !RC(n) && !qa(n);
22263
22268
  });
22264
22269
  };
22265
22270
  function gd(e, t) {
@@ -22269,21 +22274,21 @@ function gd(e, t) {
22269
22274
  };
22270
22275
  return t.indexOf("n") !== -1 ? o.y = a.top : t.indexOf("s") !== -1 && (o.y = a.bottom), t.indexOf("e") !== -1 ? o.x = a.right : t.indexOf("w") !== -1 && (o.x = a.left), o;
22271
22276
  }
22272
- function RC(e, t) {
22277
+ function kC(e, t) {
22273
22278
  return e.host === t;
22274
22279
  }
22275
- function EC(e) {
22280
+ function RC(e) {
22276
22281
  return !!e.hidden;
22277
22282
  }
22278
- function TC(e) {
22283
+ function EC(e) {
22279
22284
  return e === "n" || e === "s";
22280
22285
  }
22281
- function AC(e) {
22286
+ function TC(e) {
22282
22287
  return e === "e" || e === "w";
22283
22288
  }
22284
- var MC = 7, jC = 1e3;
22289
+ var AC = 7, MC = 1e3;
22285
22290
  function va(e) {
22286
- this._canvas = e, this._asyncHide = pf(Dr(this.hide, this), jC);
22291
+ this._canvas = e, this._asyncHide = pf(Dr(this.hide, this), MC);
22287
22292
  }
22288
22293
  va.$inject = ["canvas"];
22289
22294
  va.prototype.snap = function(e, t) {
@@ -22298,7 +22303,7 @@ va.prototype.snap = function(e, t) {
22298
22303
  };
22299
22304
  if (de(["x", "y"], function(c) {
22300
22305
  var s;
22301
- o[c] || (s = t.snap(l, i, c, MC), s !== void 0 && (o[c] = {
22306
+ o[c] || (s = t.snap(l, i, c, AC), s !== void 0 && (o[c] = {
22302
22307
  value: s,
22303
22308
  originValue: s - r[c]
22304
22309
  }));
@@ -22338,7 +22343,7 @@ va.prototype.hide = function() {
22338
22343
  e.update();
22339
22344
  });
22340
22345
  };
22341
- var PC = {
22346
+ var jC = {
22342
22347
  __init__: [
22343
22348
  "createMoveSnapping",
22344
22349
  "resizeSnapping",
@@ -22347,8 +22352,8 @@ var PC = {
22347
22352
  createMoveSnapping: ["type", zn],
22348
22353
  resizeSnapping: ["type", Go],
22349
22354
  snapping: ["type", va]
22350
- }, BC = {
22351
- __depends__: [PC],
22355
+ }, PC = {
22356
+ __depends__: [jC],
22352
22357
  __init__: ["createMoveSnapping"],
22353
22358
  createMoveSnapping: ["type", lo]
22354
22359
  };
@@ -22395,14 +22400,14 @@ Ko.prototype.init = function() {
22395
22400
  return t.parent && (t = parent), !(n.type == "startEvent" && (!t.children || t.children.find((a) => a.type == n.type) != null));
22396
22401
  }), this.addRule("shape.resize", function(e) {
22397
22402
  var t = e.shape;
22398
- return $0(t);
22403
+ return D0(t);
22399
22404
  });
22400
22405
  };
22401
22406
  Ko.prototype.canConnect = Ir;
22402
22407
  function Ir(e, t, n) {
22403
22408
  return t.type && e.type && e.type != "endEvent" ? e.id == t.id ? !1 : { type: "myline" } : !1;
22404
22409
  }
22405
- var HC = {
22410
+ var BC = {
22406
22411
  __init__: ["myRuleProvider"],
22407
22412
  myRuleProvider: ["type", Ko]
22408
22413
  };
@@ -22471,18 +22476,18 @@ jl.prototype.getPaletteEntries = function() {
22471
22476
  }
22472
22477
  return l;
22473
22478
  };
22474
- var OC = {
22479
+ var HC = {
22475
22480
  __init__: ["paletteProvider"],
22476
22481
  paletteProvider: ["type", jl]
22477
22482
  };
22478
- var IC = 250;
22479
- function zC(e, t) {
22483
+ var OC = 250;
22484
+ function IC(e, t) {
22480
22485
  t || (t = {});
22481
22486
  function n(u) {
22482
22487
  return u.source === e ? 1 : -1;
22483
22488
  }
22484
- var a = t.defaultDistance || 50, o = t.direction || "e", i = t.filter, r = t.getWeight || n, l = t.maxDistance || IC, c = t.reference || "start";
22485
- i || (i = LC);
22489
+ var a = t.defaultDistance || 50, o = t.direction || "e", i = t.filter, r = t.getWeight || n, l = t.maxDistance || OC, c = t.reference || "start";
22490
+ i || (i = zC);
22486
22491
  function s(u, h) {
22487
22492
  return o === "n" ? c === "start" ? lt(u).top - lt(h).bottom : c === "center" ? lt(u).top - Rt(h).y : lt(u).top - lt(h).top : o === "w" ? c === "start" ? lt(u).left - lt(h).right : c === "center" ? lt(u).left - Rt(h).x : lt(u).left - lt(h).left : o === "s" ? c === "start" ? lt(h).top - lt(u).bottom : c === "center" ? Rt(h).y - lt(u).bottom : lt(h).bottom - lt(u).bottom : c === "start" ? lt(h).left - lt(u).right : c === "center" ? Rt(h).x - lt(u).right : lt(h).right - lt(u).right;
22488
22493
  }
@@ -22508,14 +22513,14 @@ function zC(e, t) {
22508
22513
  return p < 0 || p > l || (u[String(p)] || (u[String(p)] = 0), u[String(p)] += 1 * g, (!u.distance || u[u.distance] < u[String(p)]) && (u.distance = p)), u;
22509
22514
  }, {}).distance || a;
22510
22515
  }
22511
- function LC() {
22516
+ function zC() {
22512
22517
  return !0;
22513
22518
  }
22514
- var DC = 100;
22519
+ var LC = 100;
22515
22520
  function vd(e, t, n) {
22516
- e.on("autoPlace", DC, function(a) {
22521
+ e.on("autoPlace", LC, function(a) {
22517
22522
  var o = a.shape, i = a.source;
22518
- return $C(i, o);
22523
+ return DC(i, o);
22519
22524
  }), e.on("autoPlace.end", function(a) {
22520
22525
  n.scrollToElement(a.shape);
22521
22526
  }), this.append = function(a, o, i) {
@@ -22538,7 +22543,7 @@ vd.$inject = [
22538
22543
  "modeling",
22539
22544
  "canvas"
22540
22545
  ];
22541
- function $C(e, t, n) {
22546
+ function DC(e, t, n) {
22542
22547
  n || (n = {});
22543
22548
  var a = n.defaultDistance || 50, o = Rt(e);
22544
22549
  return {
@@ -22552,39 +22557,39 @@ function yd(e, t) {
22552
22557
  });
22553
22558
  }
22554
22559
  yd.$inject = ["eventBus", "selection"];
22555
- var FC = {
22560
+ var $C = {
22556
22561
  __init__: ["autoPlaceSelectionBehavior"],
22557
22562
  autoPlace: ["type", vd],
22558
22563
  autoPlaceSelectionBehavior: ["type", yd]
22559
- }, VC = 10, NC = (e, t) => e.type === t;
22560
- function WC(e) {
22564
+ }, FC = 10, VC = (e, t) => e.type === t;
22565
+ function NC(e) {
22561
22566
  return e.incoming.map((t) => t.source);
22562
22567
  }
22563
- function UC(e) {
22568
+ function WC(e) {
22564
22569
  return e.outgoing.map((t) => t.target);
22565
22570
  }
22566
22571
  function hr(e) {
22567
- return UC(e).concat(WC(e));
22572
+ return WC(e).concat(NC(e));
22568
22573
  }
22569
- function YC(e) {
22574
+ function UC(e) {
22570
22575
  let t = hr(e);
22571
22576
  return e.host && (t = t.concat(hr(e.host))), e.attachers && (t = t.concat(e.attachers.reduce((n, a) => n.concat(hr(a)), []))), t.filter((n) => n.type !== "myline");
22572
22577
  }
22573
- function JC(e, t, n) {
22578
+ function YC(e, t, n) {
22574
22579
  const a = {
22575
22580
  x: t.x - n.width / 2,
22576
22581
  y: t.y - n.height / 2,
22577
22582
  width: n.width,
22578
22583
  height: n.height
22579
22584
  };
22580
- return Pn(YC(e), (o) => o === n ? !1 : oa(o, a, VC) === "intersect");
22585
+ return Pn(UC(e), (o) => o === n ? !1 : oa(o, a, FC) === "intersect");
22581
22586
  }
22582
- function GC(e, t, n, a) {
22587
+ function JC(e, t, n, a) {
22583
22588
  let o;
22584
- for (; o = JC(e, n, t); ) n = a(t, n, o);
22589
+ for (; o = YC(e, n, t); ) n = a(t, n, o);
22585
22590
  return n;
22586
22591
  }
22587
- function KC(e) {
22592
+ function GC(e) {
22588
22593
  return function(t, n, a) {
22589
22594
  const o = {
22590
22595
  x: n.x,
@@ -22598,31 +22603,31 @@ function KC(e) {
22598
22603
  }), o;
22599
22604
  };
22600
22605
  }
22601
- function qC(e, t) {
22602
- return XC(e, t);
22606
+ function KC(e, t) {
22607
+ return qC(e, t);
22603
22608
  }
22604
- function XC(e, t) {
22605
- const n = lt(e), a = Rt(e), o = zC(e, { filter: (l) => NC(l, "myline") }), i = 30, r = 80;
22606
- return GC(e, t, {
22609
+ function qC(e, t) {
22610
+ const n = lt(e), a = Rt(e), o = IC(e, { filter: (l) => VC(l, "myline") }), i = 30, r = 80;
22611
+ return JC(e, t, {
22607
22612
  x: n.right + o + t.width / 2,
22608
- y: a.y + ZC("left", r)
22609
- }, KC({ y: {
22613
+ y: a.y + XC("left", r)
22614
+ }, GC({ y: {
22610
22615
  margin: i,
22611
22616
  minDistance: r
22612
22617
  } }));
22613
22618
  }
22614
- function ZC(e, t) {
22619
+ function XC(e, t) {
22615
22620
  return e.indexOf("top") !== -1 ? -1 * t : e.indexOf("bottom") !== -1 ? t : 0;
22616
22621
  }
22617
22622
  function md(e) {
22618
22623
  e.on("autoPlace", (t) => {
22619
22624
  const { shape: n, source: a } = t;
22620
- return qC(a, n);
22625
+ return KC(a, n);
22621
22626
  });
22622
22627
  }
22623
22628
  md.$inject = ["eventBus"];
22624
- var QC = {
22625
- __depends__: [FC],
22629
+ var ZC = {
22630
+ __depends__: [$C],
22626
22631
  __init__: ["myAutoPlace"],
22627
22632
  myAutoPlace: ["type", md]
22628
22633
  };
@@ -22699,10 +22704,10 @@ Pl.prototype.getContextPadEntries = function(e) {
22699
22704
  }
22700
22705
  }, d;
22701
22706
  };
22702
- var e1 = {
22707
+ var QC = {
22703
22708
  __init__: ["ContextPadProvider"],
22704
22709
  ContextPadProvider: ["type", Pl]
22705
- }, t1 = /* @__PURE__ */ pe({
22710
+ }, e1 = /* @__PURE__ */ pe({
22706
22711
  name: "JWorkflow",
22707
22712
  __name: "workflow",
22708
22713
  props: {
@@ -22792,29 +22797,29 @@ var e1 = {
22792
22797
  l = new gc({
22793
22798
  canvas: { container: i.value },
22794
22799
  modules: [
22795
- mx,
22800
+ yx,
22796
22801
  ol,
22797
- xx,
22798
- Ix,
22802
+ _x,
22803
+ Ox,
22799
22804
  ou,
22800
- G_,
22801
- $x,
22805
+ J_,
22806
+ Dx,
22807
+ Fx,
22802
22808
  Vx,
22803
- Nx,
22804
22809
  Du,
22805
22810
  du,
22806
- eC,
22811
+ Qx,
22807
22812
  ld,
22808
- rC,
22813
+ iC,
22809
22814
  pu,
22810
22815
  T,
22811
- QC,
22816
+ ZC,
22812
22817
  Vu,
22813
- xC,
22814
- e1,
22815
- OC,
22818
+ _C,
22819
+ QC,
22816
22820
  HC,
22817
22821
  BC,
22822
+ PC,
22818
22823
  Nu
22819
22824
  ]
22820
22825
  });
@@ -22864,7 +22869,7 @@ var e1 = {
22864
22869
  class: "j-work-flow"
22865
22870
  }, null, 512));
22866
22871
  }
22867
- }), n1 = t1, a1 = Ce(Y_), o1 = Ce(n1), i1 = /* @__PURE__ */ pe({
22872
+ }), t1 = e1, n1 = Ce(U_), a1 = Ce(t1), o1 = /* @__PURE__ */ pe({
22868
22873
  name: "JInputCards",
22869
22874
  __name: "input-cards",
22870
22875
  props: {
@@ -22970,7 +22975,7 @@ var e1 = {
22970
22975
  rowChange: p
22971
22976
  }), (y, _) => {
22972
22977
  const k = $("j-comp"), R = $("el-form-item"), T = $("el-col"), A = $("j-button"), P = $("el-row");
22973
- return S(), H(ke, null, [B("div", Ne({ class: "j-input-cards" }, y.$attrs), [(S(!0), H(ke, null, Oe(h.value, (L, I) => (S(), H("div", {
22978
+ return S(), H(ke, null, [B("div", We({ class: "j-input-cards" }, y.$attrs), [(S(!0), H(ke, null, Oe(h.value, (L, I) => (S(), H("div", {
22974
22979
  class: "j-input-cards-item",
22975
22980
  key: L.i,
22976
22981
  style: { "margin-bottom": "8px" }
@@ -22986,7 +22991,7 @@ var e1 = {
22986
22991
  extra: j.config?.labelExtra,
22987
22992
  required: j.config?.required
22988
22993
  }, {
22989
- default: J(() => [X(k, Ne({ ref_for: !0 }, j, { row: L }), null, 16, ["row"])]),
22994
+ default: J(() => [X(k, We({ ref_for: !0 }, j, { row: L }), null, 16, ["row"])]),
22990
22995
  _: 2
22991
22996
  }, 1032, [
22992
22997
  "label-width",
@@ -23018,7 +23023,7 @@ var e1 = {
23018
23023
  }, null, 8, ["label"])) : ee("", !0)], 4)) : ee("", !0)], 64);
23019
23024
  };
23020
23025
  }
23021
- }), r1 = i1, l1 = Ce(r1), s1 = [
23026
+ }), i1 = o1, r1 = Ce(i1), l1 = [
23022
23027
  wr,
23023
23028
  Ph,
23024
23029
  Oh,
@@ -23059,50 +23064,50 @@ var e1 = {
23059
23064
  py,
23060
23065
  Py,
23061
23066
  zy,
23062
- ab,
23063
- cb,
23067
+ nb,
23068
+ sb,
23069
+ db,
23064
23070
  fb,
23065
- hb,
23071
+ bb,
23066
23072
  wb,
23067
- _b,
23068
- kb,
23069
- Tb,
23070
- Ib,
23073
+ Sb,
23074
+ Eb,
23075
+ Ob,
23071
23076
  Ky,
23072
23077
  dm,
23073
23078
  $c,
23074
- Vb,
23075
- Yb,
23076
- Kb,
23077
- Zb,
23078
- t0,
23079
- o0,
23080
- s0,
23081
- f0,
23082
- g0,
23079
+ Fb,
23080
+ Ub,
23081
+ Gb,
23082
+ Xb,
23083
+ e0,
23084
+ a0,
23085
+ l0,
23086
+ d0,
23087
+ p0,
23088
+ n1,
23083
23089
  a1,
23084
- o1,
23085
- l1
23086
- ], c1 = (e) => {
23087
- s1.forEach((t) => {
23090
+ r1
23091
+ ], s1 = (e) => {
23092
+ l1.forEach((t) => {
23088
23093
  e.component(t.name, t);
23089
23094
  });
23090
- }, tS = { install: c1 };
23095
+ }, eS = { install: s1 };
23091
23096
  export {
23092
23097
  gh as EncryptionFactory,
23093
23098
  Mc as EventBus,
23094
- q1 as HashingFactory,
23099
+ K1 as HashingFactory,
23095
23100
  Ut as INJECT_KEYS,
23096
23101
  hp as JAutoComplete,
23097
23102
  iv as JBarcode,
23098
23103
  wr as JButton,
23099
- ab as JButtonSelect,
23104
+ nb as JButtonSelect,
23100
23105
  Ph as JButtons,
23101
23106
  op as JCascaderSelect,
23102
23107
  lp as JCheckbox,
23103
23108
  $y as JCodeMirror,
23104
- o0 as JCollapse,
23105
- hb as JComp,
23109
+ a0 as JCollapse,
23110
+ fb as JComp,
23106
23111
  sv as JCount,
23107
23112
  Hv as JCountUp,
23108
23113
  Vv as JDataPanel,
@@ -23114,63 +23119,63 @@ export {
23114
23119
  wg as JDrawer,
23115
23120
  Ah as JDynamicLayer,
23116
23121
  ev as JEcharts,
23117
- s0 as JEditor,
23118
- wb as JForm,
23119
- _b as JFormItem,
23120
- Tb as JGuid,
23122
+ l0 as JEditor,
23123
+ bb as JForm,
23124
+ wb as JFormItem,
23125
+ Eb as JGuid,
23121
23126
  Xv as JHpanel,
23122
23127
  Uh as JIcon,
23123
23128
  Oh as JInput,
23124
23129
  iy as JInputButton,
23125
- l1 as JInputCards,
23130
+ r1 as JInputCards,
23126
23131
  sy as JInputCode,
23127
23132
  dy as JInputColor,
23128
23133
  Mv as JInputCount,
23129
23134
  zy as JInputDecoratedTitle,
23130
- Yb as JInputLayer,
23131
- g0 as JInputMap,
23132
- Vb as JInputRows,
23135
+ Ub as JInputLayer,
23136
+ p0 as JInputMap,
23137
+ Fb as JInputRows,
23133
23138
  kg as JInputTag,
23134
23139
  Lc as JLayer,
23135
- Kb as JLayerForm,
23140
+ Gb as JLayerForm,
23136
23141
  _p as JLayout,
23137
- f0 as JMap,
23142
+ d0 as JMap,
23138
23143
  dm as JMenu,
23139
23144
  Wh as JNowTime,
23140
23145
  up as JNumber,
23141
- kb as JPage,
23142
- Ib as JPanel,
23146
+ Sb as JPage,
23147
+ Ob as JPanel,
23143
23148
  Kh as JRadio,
23144
23149
  Tg as JRate,
23145
23150
  tp as JSelect,
23146
23151
  jg as JSlider,
23147
23152
  Ky as JSliderCaptcha,
23148
- Zb as JSwitch,
23153
+ Xb as JSwitch,
23149
23154
  Wp as JTable,
23150
23155
  $c as JTablePanel,
23151
- t0 as JTabs,
23156
+ e0 as JTabs,
23152
23157
  Fh as JTime,
23153
23158
  py as JTitle,
23154
- cb as JTree,
23155
- fb as JTreeSelect,
23159
+ sb as JTree,
23160
+ db as JTreeSelect,
23156
23161
  Xg as JUpload,
23157
23162
  ny as JVpanel,
23158
- o1 as JWorkflow,
23159
- a1 as JWorkflowViewer,
23163
+ a1 as JWorkflow,
23164
+ n1 as JWorkflowViewer,
23160
23165
  xt as assign,
23161
23166
  Ur as buildShortUUID,
23162
23167
  na as buildUUID,
23163
23168
  Co as clearJson,
23164
23169
  Si as clone,
23165
23170
  fn as deepClone,
23166
- tS as default,
23167
- Z1 as eventBus,
23171
+ eS as default,
23172
+ X1 as eventBus,
23168
23173
  ti as formatToDate,
23169
23174
  Gr as formatToDateTime,
23170
23175
  Ra as fullScreenLoading,
23171
23176
  xn as getCompConfig,
23172
23177
  Jr as getCompType,
23173
- K1 as getDayText,
23178
+ G1 as getDayText,
23174
23179
  wc as getFunction,
23175
23180
  Yr as getIsInputComp,
23176
23181
  Wf as getIsTableInputComp,
@@ -23180,25 +23185,25 @@ export {
23180
23185
  Mf as is,
23181
23186
  br as isArray,
23182
23187
  Qt as isNullOrEmpty,
23183
- N1 as isObject,
23188
+ V1 as isObject,
23184
23189
  yh as loadBMap,
23185
- J1 as lowerFirst,
23186
- X1 as myAesDecrypt,
23190
+ Y1 as lowerFirst,
23191
+ q1 as myAesDecrypt,
23187
23192
  zf as numberToChinese,
23188
23193
  Lf as numberToThousandSeparator,
23189
- W1 as pagination,
23190
- U1 as paginationEx,
23194
+ N1 as pagination,
23195
+ W1 as paginationEx,
23191
23196
  Il as set,
23192
23197
  $f as setGroupMap,
23193
23198
  Vf as toArray,
23194
23199
  ei as toDecimal,
23195
23200
  Nf as toLeafArray,
23196
- G1 as toSimpleTree,
23201
+ J1 as toSimpleTree,
23197
23202
  Ff as toTree,
23198
- Y1 as uniqueArray,
23203
+ U1 as uniqueArray,
23199
23204
  Df as upFirst,
23200
23205
  yt as useAppInject,
23201
- Q1 as useAppProvide,
23206
+ Z1 as useAppProvide,
23202
23207
  xh as useAuthPageInject,
23203
23208
  Ch as useAuthPageProvide,
23204
23209
  mh as useCompInject,
@@ -23209,7 +23214,7 @@ export {
23209
23214
  _h as useHMenuProvide,
23210
23215
  Vn as useInject,
23211
23216
  Xa as useLayer,
23212
- eS as useLayerInject,
23217
+ Q1 as useLayerInject,
23213
23218
  Sh as useLayerProvide,
23214
23219
  Oo as useMenuInject,
23215
23220
  bh as useMenuProvide,