@web-utils/component 5.0.0-beta01 → 5.0.0-beta03

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 (231) hide show
  1. package/awesome-button/index.mjs +25 -31
  2. package/{utils/style.css → base.css} +1 -1
  3. package/chat/index.mjs +3 -12
  4. package/chunks/{EditableTree.C_IJBL5b.mjs → EditableTree.CV8b95tW.mjs} +130 -139
  5. package/chunks/{ElementBaseInfo.DyuFR6fE.mjs → ElementBaseInfo.lW0iwU10.mjs} +2 -3
  6. package/chunks/ElementDialog.DWhAJsUn.mjs +520 -0
  7. package/chunks/{ElementForm.ButuYDPA.mjs → ElementForm.C7yebHWH.mjs} +12 -39
  8. package/chunks/{ElementListeners.Dg3e_dmp.mjs → ElementListeners.B_SjC8dp.mjs} +10 -31
  9. package/chunks/{ElementMultiInstance.Dmi79FqA.mjs → ElementMultiInstance.Xw27Z5mm.mjs} +2 -3
  10. package/chunks/{ElementOtherConfig.C2AddGTp.mjs → ElementOtherConfig.DnNmAhKn.mjs} +0 -1
  11. package/chunks/{ElementProperties.CfV8UF7L.mjs → ElementProperties.DKr9JE_O.mjs} +3 -12
  12. package/chunks/{ElementTaskConfig.Bn7ycGGn.mjs → ElementTaskConfig.CPjsXlpS.mjs} +6 -10
  13. package/chunks/{FlowCondition.C6PdqOAW.mjs → FlowCondition.BA7GF34X.mjs} +4 -5
  14. package/chunks/{FlowDesigner.uJYFfKpR.mjs → FlowDesigner.DH1ypcUw.mjs} +17 -18
  15. package/chunks/{FormBlock.BEENc22F.mjs → FormBlock.D6kZl7sm.mjs} +8 -8
  16. package/chunks/FormCascader.BXL8lKww.mjs +1229 -0
  17. package/chunks/{FormInputTime.Bg3UIP8H.mjs → FormInputTime.DzTPiDNh.mjs} +339 -337
  18. package/chunks/{FormItem.H9OOvNzT.mjs → FormItem.B8iPLduv.mjs} +12 -13
  19. package/chunks/{FormItemGroup.D9eRy-cZ.mjs → FormItemGroup.CCGqEapT.mjs} +38 -31
  20. package/chunks/{FormSelect.CanodoAI.mjs → FormSelect.t0jbTL_K.mjs} +470 -467
  21. package/chunks/{FormSwitch.DTqdaFjv.mjs → FormSwitch.uoFQ-xp_.mjs} +53 -51
  22. package/chunks/{FormTemp.DiI5EfgK.mjs → FormTemp.CeHtEZQe.mjs} +11 -6
  23. package/chunks/{FyCurd.DMj1dMK9.mjs → FyCurd.DqJuCLNW.mjs} +22 -25
  24. package/chunks/{FyForm.vgR8ujEF.mjs → FyForm.CgyGhetD.mjs} +25 -21
  25. package/chunks/{FyFormDesign.DEWT6LsX.mjs → FyFormDesign.DIIK7mXK.mjs} +49 -128
  26. package/chunks/{FyUpload.B2QKfTxF.mjs → FyUpload.DoBEuYcC.mjs} +2 -2
  27. package/chunks/ImagePreview.DDFrZgo5.mjs +649 -0
  28. package/chunks/{Keyboard.ItiRy7Gb.mjs → Keyboard.DBspwbYo.mjs} +2 -2
  29. package/chunks/{MonacoEditor.Bd5Kui-Y.mjs → MonacoEditor.Bq9d6JSz.mjs} +65 -64
  30. package/chunks/{PageableTable.Bujb0NUx.mjs → PageableTable.DR-REJN5.mjs} +84 -83
  31. package/chunks/{SignalAndMessage.CYVzlFuL.mjs → SignalAndMessage.CL2u19it.mjs} +1 -10
  32. package/chunks/{TableColumn.DJYkznbJ.mjs → TableColumn.Cq9Bvevm.mjs} +34 -28
  33. package/chunks/{TableView.DyIdIxAg.mjs → TableView.DMWMaGLA.mjs} +26 -33
  34. package/chunks/ToolbarButton.AlTszc53.mjs +107 -0
  35. package/chunks/{UserTaskListeners.Bp-2qkHs.mjs → UserTaskListeners.Qfm8hKWP.mjs} +9 -27
  36. package/chunks/{VueCron.GfjodnyM.mjs → VueCron.BmPnLuu3.mjs} +163 -142
  37. package/chunks/{VueTreeSelect.9Ywl-I8e.mjs → VueTreeSelect.GHx4Z2lG.mjs} +48 -43
  38. package/chunks/button.gVyl7Y__.mjs +927 -0
  39. package/chunks/checkbox.AmhCpaBZ.mjs +438 -0
  40. package/chunks/chunk.A6TnG60p.mjs +13 -0
  41. package/chunks/confirmable-mixin.BZtxXY0h.mjs +273 -0
  42. package/chunks/constants.Dw7hXt67.mjs +4 -0
  43. package/chunks/{dictionary.DxZxP0ej.mjs → dictionary.BqVLM7Lf.mjs} +1 -1
  44. package/chunks/{event.eJ-c1Z3a.mjs → event.CmOTnori.mjs} +4 -7
  45. package/chunks/event.ZRs4J5TN.mjs +4 -0
  46. package/chunks/{focus-trap.DT4GnqQI.mjs → focus-trap.CuUc8N2C.mjs} +26 -26
  47. package/chunks/{form-input.D25eDRMq.mjs → form-input.DdSb45Tz.mjs} +3 -3
  48. package/chunks/{form-item.CgmUuw_n.mjs → form-item.fYYCXvCs.mjs} +77 -75
  49. package/chunks/icon.AJYLfX1m.mjs +26 -0
  50. package/chunks/{icon.CbS8-322.mjs → icon.niAg1zTC.mjs} +31 -39
  51. package/chunks/{init.DwpukyOB.mjs → init.CtUEiRbU.mjs} +6 -6
  52. package/chunks/{input.PejnqwSH.mjs → input.B_wW4aF-.mjs} +107 -106
  53. package/chunks/install.BJl2MN77.mjs +73 -0
  54. package/chunks/message-box.wGWcYSSd.mjs +463 -0
  55. package/chunks/{message.BCmee5N0.mjs → message.DnTACuzV.mjs} +76 -75
  56. package/chunks/{overlay.DubSnqma.mjs → overlay.Rhu_rfhx.mjs} +5 -5
  57. package/chunks/{radio.BotKXqJr.mjs → radio.BMkZBhl5.mjs} +45 -45
  58. package/chunks/{scroll.CzORc5Zk.mjs → scroll.BJIpzi2Q.mjs} +2 -2
  59. package/chunks/{scrollbar.CAmrlKi9.mjs → scrollbar.CvxOszy3.mjs} +4 -4
  60. package/chunks/{style.BmlGmjpO.mjs → style.CraPDfJA.mjs} +3 -3
  61. package/chunks/{tag.DPi-PLbb.mjs → tag.B6yUaGj-.mjs} +25 -25
  62. package/chunks/{teleport._VGEzK4d.mjs → teleport.87mkIv8m.mjs} +3 -3
  63. package/chunks/{tooltip.D50x7Rva.mjs → tooltip.Dzjs7LZ8.mjs} +108 -108
  64. package/chunks/typescript.D0a40c7B.mjs +4 -0
  65. package/chunks/{use-aria.BW7nWOl1.mjs → use-aria.B9uqqWAE.mjs} +2 -2
  66. package/chunks/{use-composition.mUaomyno.mjs → use-composition.BMPJBvYs.mjs} +4 -4
  67. package/chunks/{use-deprecated.BfDSbZS9.mjs → use-deprecated.vx6LTDA_.mjs} +2 -2
  68. package/chunks/use-empty-values.CxYKjLV9.mjs +81 -0
  69. package/chunks/use-form-item.DMDTkMq9.mjs +48 -0
  70. package/chunks/use-global-config.Dkt91Ob3.mjs +57 -0
  71. package/chunks/{use-id.CFO5NeoV.mjs → use-id.CyzdvfQn.mjs} +3 -3
  72. package/chunks/{use-empty-values.Dy_r78F6.mjs → use-locale.CBoQRFjH.mjs} +12 -87
  73. package/chunks/{use-size.DxrwTUwf.mjs → use-size.CoorvF12.mjs} +2 -2
  74. package/chunks/validator.Drv0r2Nb.mjs +5 -0
  75. package/chunks/{vnode.D_SioRnx.mjs → vnode.raM3wMJz.mjs} +2 -2
  76. package/confirm-button/index.mjs +1 -1
  77. package/confirmable/index.mjs +1 -1
  78. package/context-menu/index.mjs +39 -38
  79. package/data-box/style.css +1 -1
  80. package/data-card/style.css +1 -1
  81. package/data-display/style.css +1 -1
  82. package/data-icons/style.css +1 -1
  83. package/data-imgtext/style.css +1 -1
  84. package/data-operatext/style.css +1 -1
  85. package/data-panel/style.css +1 -1
  86. package/data-pay/style.css +1 -1
  87. package/data-price/style.css +1 -1
  88. package/data-progress/style.css +1 -1
  89. package/data-rotate/style.css +1 -1
  90. package/data-table-picker/index.mjs +2 -6
  91. package/data-tabs/style.css +1 -1
  92. package/dialog-form/index.mjs +7 -3
  93. package/dynamic-table/index.mjs +1 -2
  94. package/editable-tree/index.mjs +1 -1
  95. package/element-dialog/index.mjs +1 -1
  96. package/element-dialog/style.css +1 -1
  97. package/empty-view/index.mjs +18 -20
  98. package/error-view/index.mjs +17 -19
  99. package/flex-column/index.mjs +11 -9
  100. package/flex-item/index.mjs +22 -16
  101. package/flex-row/index.mjs +11 -10
  102. package/flow/index.mjs +1 -1
  103. package/flow-designer/index.mjs +1 -1
  104. package/form-block/index.mjs +1 -1
  105. package/form-cascader/index.mjs +1 -1
  106. package/form-checkbox/index.mjs +4 -4
  107. package/form-checkbox-group/index.mjs +6 -6
  108. package/form-date-picker/index.mjs +3 -3
  109. package/form-holder/index.mjs +2 -5
  110. package/form-input/index.mjs +4 -4
  111. package/form-input-cron-expression/index.mjs +4 -4
  112. package/form-input-email/index.mjs +10 -9
  113. package/form-input-id-card/index.mjs +10 -9
  114. package/form-input-phone-number/index.mjs +11 -10
  115. package/form-input-tag/index.mjs +2 -2
  116. package/form-input-time/index.mjs +1 -1
  117. package/form-item/index.mjs +1 -1
  118. package/form-item-group/index.mjs +1 -1
  119. package/form-radio-group/index.mjs +6 -6
  120. package/form-select/index.mjs +1 -1
  121. package/form-switch/index.mjs +1 -1
  122. package/form-table/index.mjs +2 -2
  123. package/form-table-plus/index.mjs +4 -4
  124. package/form-textarea/index.mjs +4 -4
  125. package/form-tree-select/index.mjs +3 -3
  126. package/form-tree-select-multiple/index.mjs +3 -3
  127. package/form-view/index.mjs +13 -8
  128. package/fy-array/index.mjs +1 -1
  129. package/fy-cascader/index.mjs +1 -1
  130. package/fy-checkbox/index.mjs +1 -1
  131. package/fy-code/index.mjs +2 -2
  132. package/fy-curd/index.mjs +1 -1
  133. package/fy-date/index.mjs +1 -1
  134. package/fy-dynamic/index.mjs +3 -7
  135. package/fy-form/index.mjs +1 -1
  136. package/fy-form/style.css +1 -1
  137. package/fy-form-design/index.mjs +1 -1
  138. package/fy-form-design/style.css +1 -1
  139. package/fy-input/index.mjs +1 -1
  140. package/fy-input-color/index.mjs +1 -2
  141. package/fy-input-icon/index.mjs +37 -32
  142. package/fy-input-map/index.mjs +1 -1
  143. package/fy-input-number/index.mjs +1 -1
  144. package/fy-input-table/index.mjs +1 -1
  145. package/fy-input-tree/index.mjs +3 -3
  146. package/fy-input-tree/style.css +1 -1
  147. package/fy-radio/index.mjs +2 -2
  148. package/fy-rate/index.mjs +2 -2
  149. package/fy-select/index.mjs +5 -5
  150. package/fy-slider/index.mjs +1 -1
  151. package/fy-switch/index.mjs +2 -2
  152. package/fy-time/index.mjs +1 -1
  153. package/fy-title/index.mjs +1 -1
  154. package/fy-tree/index.mjs +1 -1
  155. package/fy-u-editor/index.mjs +1 -1
  156. package/fy-upload/index.mjs +1 -1
  157. package/guide-steps/index.mjs +1 -1
  158. package/helper-function.d.ts +3 -3
  159. package/helper-function.mjs +36 -20
  160. package/iframe-window/index.mjs +30 -29
  161. package/image-cropper/index.mjs +144 -163
  162. package/image-cropper/style.css +1 -1
  163. package/image-preview/index.mjs +2 -187
  164. package/index.d.ts +1 -2
  165. package/index.mjs +153 -154
  166. package/input-number-range/index.mjs +0 -2
  167. package/keyboard/index.mjs +1 -1
  168. package/license/index.mjs +1 -1
  169. package/monaco-editor/index.mjs +1 -1
  170. package/nav-bar/index.mjs +1 -1
  171. package/notice/index.mjs +1 -4
  172. package/package.json +12 -14
  173. package/pageable-table/index.mjs +1 -1
  174. package/pageable-view/index.mjs +2 -2
  175. package/photo-swipe/index.mjs +1 -1
  176. package/picker-table-view/index.mjs +4 -8
  177. package/present-view/index.mjs +18 -13
  178. package/record-video/index.mjs +1 -1
  179. package/resize-observer/index.mjs +1 -1
  180. package/search/index.mjs +2 -2
  181. package/split-pane/index.mjs +1 -1
  182. package/stateful/index.mjs +18 -17
  183. package/static-pageable-table/index.mjs +1 -4
  184. package/sub-table/index.mjs +2 -5
  185. package/sub-table-plus/index.mjs +3 -6
  186. package/tab/index.mjs +1 -1
  187. package/tab-item/index.mjs +1 -1
  188. package/table-column/index.mjs +1 -1
  189. package/table-view/index.mjs +1 -1
  190. package/tag-render/index.mjs +28 -24
  191. package/toolbar/index.mjs +1 -1
  192. package/toolbar-button/index.mjs +2 -146
  193. package/vue-cron/index.mjs +1 -1
  194. package/vue-qr-code/index.mjs +7 -6
  195. package/vue-tags-input/index.mjs +1 -1
  196. package/vue-tree-select/index.mjs +1 -1
  197. package/watermark/index.mjs +13 -13
  198. package/web-types.json +265 -363
  199. package/x-input-tag/index.mjs +0 -3
  200. package/chunks/ElementDialog.C0IjriTW.mjs +0 -681
  201. package/chunks/FormCascader.CaM-oEhv.mjs +0 -1226
  202. package/chunks/checkbox.emIuFmnt.mjs +0 -437
  203. package/chunks/confirmable-mixin.BBil7dto.mjs +0 -1646
  204. package/chunks/event.B4iwtUNO.mjs +0 -4
  205. package/chunks/install.yLcn5MLL.mjs +0 -84
  206. package/chunks/typescript.DiWBU4nj.mjs +0 -4
  207. package/chunks/use-form-item.wsRjehHp.mjs +0 -47
  208. package/chunks/use-global-config.C9hs-O_x.mjs +0 -56
  209. package/chunks/validator.C4-z_t9p.mjs +0 -5
  210. package/login/index.mjs +0 -252
  211. package/login/style.css +0 -1
  212. /package/chunks/{FyUEditor.D_rEYfll.mjs → FyUEditor.uvZS8UgS.mjs} +0 -0
  213. /package/chunks/{RecordVideo.B35_dLty.mjs → RecordVideo.CKTY-gk9.mjs} +0 -0
  214. /package/chunks/{SplitPane.Dw96M0Yf.mjs → SplitPane.DNNid7WB.mjs} +0 -0
  215. /package/chunks/{Toolbar.DHuXJAoG.mjs → Toolbar.DytZ6fO0.mjs} +0 -0
  216. /package/chunks/{core.DJv6Qrae.mjs → core.Blrh_Fjl.mjs} +0 -0
  217. /package/chunks/{dataformat.Bfr4nOcA.mjs → dataformat.F7GtAoiN.mjs} +0 -0
  218. /package/chunks/{dic.DgDfnovD.mjs → dic.NZCGhtA7.mjs} +0 -0
  219. /package/chunks/{dictionary.5eKjWeAp.mjs → dictionary.DXYdZefs.mjs} +0 -0
  220. /package/chunks/{form-pick.Axem0gOO.mjs → form-pick.BEC7lrNH.mjs} +0 -0
  221. /package/chunks/{form-validate.B1KPCHqN.mjs → form-validate.JFOV_f-C.mjs} +0 -0
  222. /package/chunks/{packages.BGjydzjm.mjs → packages.CONbEH13.mjs} +0 -0
  223. /package/chunks/{permission.DgEVNWlh.mjs → permission.8WDtOmzA.mjs} +0 -0
  224. /package/chunks/{photo-swipe.BB0SJZg9.mjs → photo-swipe.BvBJGc5x.mjs} +0 -0
  225. /package/chunks/{slot.C6Ozd2e7.mjs → slot.CZCo32Cw.mjs} +0 -0
  226. /package/chunks/{sub-table-plus-props.B_lLth3j.mjs → sub-table-plus-props.DvS8aKT4.mjs} +0 -0
  227. /package/chunks/{tab-mixin.u0EZpx3j.mjs → tab-mixin.C9DSz8xu.mjs} +0 -0
  228. /package/chunks/{util.B3sjVZoZ.mjs → util.fjuzrmWz.mjs} +0 -0
  229. /package/chunks/{utilSelf.ZED4DmCU.mjs → utilSelf.Bv7FtUNb.mjs} +0 -0
  230. /package/chunks/{utils.Cs2fYBrT.mjs → utils.C37EhJ-u.mjs} +0 -0
  231. /package/chunks/{utils.DsGhtCIO.mjs → utils.C8RvIGLM.mjs} +0 -0
@@ -1,17 +1,17 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
2
- import { o as t, s as n } from "./util.B3sjVZoZ.mjs";
3
- import r, { Fragment as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, mergeProps as d, normalizeClass as f, normalizeStyle as p, openBlock as m, renderSlot as h, resolveComponent as g, toDisplayString as _, toHandlers as v, vShow as y, withCtx as b, withDirectives as x, withModifiers as S } from "vue";
4
- import { computePosition as C, delay as w, fastClone as T, findTreeChildren as E, hasOwn as D, isFunction as O, isNotEmpty as k, isPlainObject as A, isUndefined as j, isVerticalScrollbarVisible as M, scrollbarWidth as N } from "@web-utils/core";
5
- import { cloneDeep as P } from "@web-utils/integrations/lodash";
6
- import { addResizeListener as F, removeResizeListener as I } from "@web-utils/integrations/resize";
2
+ import { o as t, s as n } from "./util.fjuzrmWz.mjs";
3
+ import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, mergeProps as u, normalizeClass as d, normalizeStyle as f, openBlock as p, renderSlot as m, resolveComponent as h, toDisplayString as g, toHandlers as _, vShow as v, withCtx as y, withDirectives as b, withModifiers as x } from "vue";
4
+ import { computePosition as S, delay as C, fastClone as w, findTreeChildren as T, hasOwn as E, isFunction as D, isNotEmpty as O, isPlainObject as k, isUndefined as A, isVerticalScrollbarVisible as j, scrollbarWidth as M } from "@web-utils/core";
5
+ import { cloneDeep as N } from "@web-utils/integrations/lodash";
6
+ import { addResizeListener as P, removeResizeListener as F } from "@web-utils/integrations/resize";
7
7
  //#region src/util/reactive.js
8
- function L(e, t) {
9
- for (let n in t) r.set(e, n, t[n]);
8
+ function I(e, t) {
9
+ for (let n in t) e[n] = t[n];
10
10
  return e;
11
11
  }
12
12
  //#endregion
13
13
  //#region src/components/EditableTree.vue
14
- var R = {
14
+ var L = {
15
15
  name: "EditableTree",
16
16
  props: {
17
17
  label: {
@@ -56,7 +56,7 @@ var R = {
56
56
  default: () => ({
57
57
  children: "children",
58
58
  label: "name",
59
- isLeaf: (e) => D(e, "hasChildren") ? !e.hasChildren : D(e, "hasChild") ? !e.hasChild : D(e, "children") && e.children ? e.children.length === 0 : !0
59
+ isLeaf: (e) => E(e, "hasChildren") ? !e.hasChildren : E(e, "hasChild") ? !e.hasChild : E(e, "children") && e.children ? e.children.length === 0 : !0
60
60
  })
61
61
  },
62
62
  menuLabel: {
@@ -138,10 +138,10 @@ var R = {
138
138
  this.tryFetch();
139
139
  },
140
140
  mounted() {
141
- F(this.$refs.tree.$el, this.resize), F(this.$refs.treeWrapper, this.resize);
141
+ P(this.$refs.tree.$el, this.resize), P(this.$refs.treeWrapper, this.resize);
142
142
  },
143
143
  beforeUnmount() {
144
- I(this.$refs.tree.$el, this.resize), I(this.$refs.treeWrapper, this.resize);
144
+ F(this.$refs.tree.$el, this.resize), F(this.$refs.treeWrapper, this.resize);
145
145
  },
146
146
  methods: {
147
147
  filterTreeProperties: n,
@@ -153,10 +153,10 @@ var R = {
153
153
  this.reserveExpandKey && (this.expandedKeys = this.expandedKeys.filter((t) => t !== e[this.nodeKey]));
154
154
  },
155
155
  resize() {
156
- M(this.$refs.treeWrapper) ? this.right = 4 + N : this.right = 4;
156
+ j(this.$refs.treeWrapper) ? this.right = 4 + M : this.right = 4;
157
157
  },
158
158
  async showContextMenu(e, t, n) {
159
- t.contextmenu === !1 || t.id === -1 || t.id === 0 || t.edit === !0 || this.contextMenu && (this.curNode = n, this.curData = t, this.showMenu = !0, this.$refs.tree.setCurrentKey(t.id), await this.$nextTick(), this.position = C(e, this.$refs.contextMenu), window.addEventListener("click", this.hideContextMenu));
159
+ t.contextmenu === !1 || t.id === -1 || t.id === 0 || t.edit === !0 || this.contextMenu && (this.curNode = n, this.curData = t, this.showMenu = !0, this.$refs.tree.setCurrentKey(t.id), await this.$nextTick(), this.position = S(e, this.$refs.contextMenu), window.addEventListener("click", this.hideContextMenu));
160
160
  },
161
161
  hideContextMenu() {
162
162
  this.showMenu = !1, window.removeEventListener("click", this.hideContextMenu);
@@ -165,12 +165,12 @@ var R = {
165
165
  if (this.lazy === !1 && this.fetchApi) {
166
166
  var e;
167
167
  let t = await this.fetchApi(((e = this.rootNode) == null ? void 0 : e.id) ?? -1, {});
168
- if (A(t.data) && (t.data = [t.data]), t.data = t.data || [], this.empty = t.data.length === 0, A(this.customRootNode)) {
169
- let e = P(this.customRootNode);
168
+ if (k(t.data) && (t.data = [t.data]), t.data = t.data || [], this.empty = t.data.length === 0, k(this.customRootNode)) {
169
+ let e = N(this.customRootNode);
170
170
  e[this.treeProps.children || "children"] = t.data, this.treeData = [e];
171
- } else if (O(this.customRootNode)) {
171
+ } else if (D(this.customRootNode)) {
172
172
  let e = this.customRootNode(t.data);
173
- e[this.treeProps.children || "children"] = t.data, this.treeData = A(e) ? [e] : e;
173
+ e[this.treeProps.children || "children"] = t.data, this.treeData = k(e) ? [e] : e;
174
174
  } else this.treeData = t.data;
175
175
  }
176
176
  },
@@ -178,12 +178,12 @@ var R = {
178
178
  if (e.level === 0) {
179
179
  var n;
180
180
  let a = await this.fetchApi(((n = this.rootNode) == null ? void 0 : n.id) ?? -1, e);
181
- if (this.empty = a.data.length === 0, A(this.customRootNode)) {
182
- let e = P(this.customRootNode);
181
+ if (this.empty = a.data.length === 0, k(this.customRootNode)) {
182
+ let e = N(this.customRootNode);
183
183
  e[this.treeProps.children || "children"] = a.data, t([e]);
184
- } else if (O(this.customRootNode)) {
184
+ } else if (D(this.customRootNode)) {
185
185
  let e = this.customRootNode(a.data);
186
- e[this.treeProps.children || "children"] = a.data, this.treeData = A(e) ? [e] : e;
186
+ e[this.treeProps.children || "children"] = a.data, this.treeData = k(e) ? [e] : e;
187
187
  } else t(a.data);
188
188
  if (await this.$nextTick(), this.$emit("root-node-loaded", a.data), this.defaultExpandedKeys) {
189
189
  var r;
@@ -208,10 +208,10 @@ var R = {
208
208
  this.newChild && this.newChild.id === -1 && (console.log(this.newChild), this.$refs.tree.remove(this.newChild), this.$emit("remove-new-node"));
209
209
  },
210
210
  cancelEdit() {
211
- this.editData && (j(this.editData.edit) ? this.$set(this.editData, "edit", !0) : this.editData.edit = !1);
211
+ this.editData && (A(this.editData.edit) ? this.editData.edit = !0 : this.editData.edit = !1);
212
212
  },
213
213
  async editNode(e, t) {
214
- !this.contextMenu || this.contextMenuIcon || this.contextMenuInline ? (this.clear(), this.editData = t, this.text = t[this.treeProps.label], j(t.edit) ? this.$set(t, "edit", !0) : t.edit = !0, await this.$nextTick(), this.$refs.labelTxt.focus()) : await this.$prompt(`请输入新的${this.label}名:`, {
214
+ !this.contextMenu || this.contextMenuIcon || this.contextMenuInline ? (this.clear(), this.editData = t, this.text = t[this.treeProps.label], A(t.edit), t.edit = !0, await this.$nextTick(), this.$refs.labelTxt.focus()) : await this.$prompt(`请输入新的${this.label}名:`, {
215
215
  ...this.defaultOptions,
216
216
  inputValue: t[this.treeProps.label],
217
217
  beforeClose: async (e, t, n) => {
@@ -234,7 +234,7 @@ var R = {
234
234
  try {
235
235
  this.createNewChild(-1), t.confirmButtonLoading = !0, t.confirmButtonText = "处理中...";
236
236
  let e = await this.saveApi(this.newNodeBuilder(t.inputValue, { id: -1 }));
237
- this.newChild[this.treeProps.label] = t.inputValue, this.newChild.edit = !1, L(this.newChild, e.data), this.$refs.tree.root.insertChild({ data: this.newChild }, void 0, !0), await this.locateView(), n();
237
+ this.newChild[this.treeProps.label] = t.inputValue, this.newChild.edit = !1, I(this.newChild, e.data), this.$refs.tree.root.insertChild({ data: this.newChild }, void 0, !0), await this.locateView(), n();
238
238
  } catch {
239
239
  t.confirmButtonText = "确定";
240
240
  }
@@ -254,7 +254,7 @@ var R = {
254
254
  try {
255
255
  this.createNewChild(e.data.id), n.confirmButtonLoading = !0, n.confirmButtonText = "处理中...";
256
256
  let t = await this.saveApi(this.newNodeBuilder(n.inputValue, e.data));
257
- this.newChild[this.treeProps.label] = n.inputValue, this.newChild.edit = !1, L(this.newChild, t.data), this.$refs.tree.append(this.newChild, e), await this.locateView(), r();
257
+ this.newChild[this.treeProps.label] = n.inputValue, this.newChild.edit = !1, I(this.newChild, t.data), this.$refs.tree.append(this.newChild, e), await this.locateView(), r();
258
258
  } catch {
259
259
  n.confirmButtonText = "确定";
260
260
  }
@@ -343,15 +343,15 @@ var R = {
343
343
  } catch {}
344
344
  },
345
345
  async onConfirm(e, t) {
346
- if (t[this.treeProps.label] === this.text || !k(this.text)) {
346
+ if (t[this.treeProps.label] === this.text || !O(this.text)) {
347
347
  this.clear();
348
348
  return;
349
349
  }
350
- j(t.loading) ? this.$set(t, "loading", !0) : t.loading = !0;
350
+ A(t.loading), t.loading = !0;
351
351
  try {
352
352
  if (this.loading = !0, t.id === -1) {
353
- let n = await this.saveApi(this.newNodeBuilder(this.text, e.parent.data || { id: -1 })), r = T(t);
354
- L(t, {
353
+ let n = await this.saveApi(this.newNodeBuilder(this.text, e.parent.data || { id: -1 })), r = w(t);
354
+ I(t, {
355
355
  ...n.data,
356
356
  isTempNode: !1
357
357
  }), this.$emit("node-added", t, r, e), this.registerNode(e);
@@ -367,7 +367,7 @@ var R = {
367
367
  t.id === -1 ? this.$refs.tree.remove(e) : t.edit = !1, this.text = "";
368
368
  },
369
369
  nodeClick(e, t, n) {
370
- this.hideContextMenu(), (j(e.loading) || !e.loading) && (this.curNode = t, this.curData = e, this.$emit("on-node-click", e, t, n));
370
+ this.hideContextMenu(), (A(e.loading) || !e.loading) && (this.curNode = t, this.curData = e, this.$emit("on-node-click", e, t, n));
371
371
  },
372
372
  getCurrentNode() {
373
373
  return this.$refs.tree.getCurrentNode();
@@ -379,7 +379,7 @@ var R = {
379
379
  },
380
380
  async scrollIntoView(e) {
381
381
  var t;
382
- await this.$nextTick(), e || await w(300), (t = this.$refs) == null || (t = t.labelTxt) == null || t.focus();
382
+ await this.$nextTick(), e || await C(300), (t = this.$refs) == null || (t = t.labelTxt) == null || t.focus();
383
383
  },
384
384
  inputKeyup(e, t, n) {
385
385
  e.keyCode === 13 && this.onConfirm(t, n), e.keyCode === 27 && this.clear();
@@ -406,7 +406,7 @@ var R = {
406
406
  return this.$refs.tree.root;
407
407
  },
408
408
  findTreeNode(e) {
409
- return E(this.$refs.tree.root.childNodes, (t) => t.data === e || t.data.id === e, "childNodes");
409
+ return T(this.$refs.tree.root.childNodes, (t) => t.data === e || t.data.id === e, "childNodes");
410
410
  },
411
411
  registerNode(e) {
412
412
  e.store.registerNode(e), delete e.store.nodesMap[-1];
@@ -415,32 +415,31 @@ var R = {
415
415
  this.lazy ? this.treeKey = Date.now() : await this.tryFetch();
416
416
  }
417
417
  }
418
- }, z = { class: "editable-tree" }, B = {
418
+ }, R = { class: "editable-tree" }, z = {
419
419
  ref: "treeWrapper",
420
420
  class: "et-tree-wrapper"
421
- }, V = {
421
+ }, B = {
422
422
  key: 0,
423
423
  style: { "padding-left": "24px" }
424
- }, H = ["data-id"], U = { class: "node-label flex-row flex-item oh ellipsis-1" }, W = {
424
+ }, V = ["data-id"], H = { class: "node-label flex-row flex-item oh ellipsis-1" }, U = {
425
425
  class: "flex-item-relative",
426
426
  style: { height: "21px" }
427
- }, G = ["title"], K = {
427
+ }, W = ["title"], G = {
428
428
  key: 0,
429
429
  class: "handle-actions"
430
- }, q = {
430
+ }, K = {
431
431
  key: 1,
432
432
  class: "handle-actions",
433
433
  style: { display: "inline-block" }
434
- }, J = ["data-id"], Y = { class: "menu-list" };
435
- function X(e, t, n, r, C, w) {
436
- let T = g("ElButton"), E = g("ElPopconfirm"), D = g("ElInput"), O = g("ElTree");
437
- return m(), s("div", z, [
438
- o(" 添加根节点事件\r\n @event add-root-node "),
439
- !n.readonly && n.addRootNodeButtonStyle === "top-right" ? (m(), a(T, {
434
+ }, q = ["data-id"], J = { class: "menu-list" };
435
+ function Y(e, t, n, S, C, w) {
436
+ let T = h("ElButton"), E = h("ElPopconfirm"), D = h("ElInput"), O = h("ElTree");
437
+ return p(), o("div", R, [
438
+ a(" 添加根节点事件\r\n @event add-root-node "),
439
+ !n.readonly && n.addRootNodeButtonStyle === "top-right" ? (p(), i(T, {
440
440
  key: 0,
441
441
  type: "primary",
442
- size: "mini",
443
- style: p([{
442
+ style: f([{
444
443
  position: "absolute",
445
444
  top: "4px",
446
445
  "z-index": "1"
@@ -448,19 +447,18 @@ function X(e, t, n, r, C, w) {
448
447
  icon: "el-icon-plus",
449
448
  circle: "",
450
449
  plain: "",
451
- onClick: t[0] || (t[0] = S((t) => e.$emit("add-root-node"), ["stop"]))
452
- }, null, 8, ["style"])) : o("v-if", !0),
453
- c("div", B, [
454
- !n.readonly && n.addRootNodeButtonStyle === "top" ? (m(), s("div", V, [u(T, {
450
+ onClick: t[0] || (t[0] = x((t) => e.$emit("add-root-node"), ["stop"]))
451
+ }, null, 8, ["style"])) : a("v-if", !0),
452
+ s("div", z, [
453
+ !n.readonly && n.addRootNodeButtonStyle === "top" ? (p(), o("div", B, [l(T, {
455
454
  disabled: C.loading,
456
- size: "mini",
457
- type: "text",
455
+ text: "",
458
456
  onClick: w.appendRootNode
459
457
  }, {
460
- default: b(() => [t[8] || (t[8] = c("i", { class: "el-icon-lx-add" }, null, -1)), l(" " + _(n.addRootNodeLabel ? n.addRootNodeLabel : `添加${n.label}`), 1)]),
458
+ default: y(() => [t[8] || (t[8] = s("i", { class: "el-icon-lx-add" }, null, -1)), c(" " + g(n.addRootNodeLabel ? n.addRootNodeLabel : `添加${n.label}`), 1)]),
461
459
  _: 1
462
- }, 8, ["disabled", "onClick"])])) : o("v-if", !0),
463
- (m(), a(O, d(w.filterTreeProperties(e.$attrs), {
460
+ }, 8, ["disabled", "onClick"])])) : a("v-if", !0),
461
+ (p(), i(O, u(w.filterTreeProperties(e.$attrs), {
464
462
  key: C.treeKey,
465
463
  ref: "tree",
466
464
  class: "flex-item",
@@ -472,123 +470,116 @@ function X(e, t, n, r, C, w) {
472
470
  props: n.treeProps,
473
471
  lazy: n.lazy,
474
472
  "node-key": n.nodeKey
475
- }, v(w.filterTreeEvents(e.$listeners)), {
473
+ }, _(w.filterTreeEvents(e.$listeners)), {
476
474
  onNodeClick: w.nodeClick,
477
475
  onNodeContextmenu: w.showContextMenu,
478
476
  onNodeExpand: w.addExpandKey,
479
477
  onNodeCollapse: w.removeExpandKey
480
478
  }), {
481
- default: b(({ node: r, data: a }) => [h(e.$slots, "default", {
482
- node: r,
483
- data: a
484
- }, () => [o("非编辑模式"), a.edit ? (m(), s(i, { key: 1 }, [o("编辑模式"), c("span", {
485
- "data-id": a.id,
479
+ default: y(({ node: i, data: u }) => [m(e.$slots, "default", {
480
+ node: i,
481
+ data: u
482
+ }, () => [a("非编辑模式"), u.edit ? (p(), o(r, { key: 1 }, [a("编辑模式"), s("span", {
483
+ "data-id": u.id,
486
484
  class: "custom-tree-node flex-row flex-item oh"
487
485
  }, [
488
- n.icon ? (m(), s("i", {
486
+ n.icon ? (p(), o("i", {
489
487
  key: 0,
490
- class: f([a.loading ? "el-icon-loading" : "el-icon-edit-outline", "node-icon shrink-0"])
491
- }, null, 2)) : o("v-if", !0),
492
- u(D, {
488
+ class: d([u.loading ? "el-icon-loading" : "el-icon-edit-outline", "node-icon shrink-0"])
489
+ }, null, 2)) : a("v-if", !0),
490
+ l(D, {
493
491
  ref: "labelTxt",
494
492
  modelValue: C.text,
495
493
  "onUpdate:modelValue": t[2] || (t[2] = (e) => C.text = e),
496
494
  class: "node-input flex-item",
497
- size: "mini",
498
495
  placeholder: w.defaultOptions.inputPlaceholder,
499
- onKeyup: (e) => w.inputKeyup(e, r, a),
500
- onBlur: (e) => w.inputBlur(e, r, a),
501
- onClick: t[3] || (t[3] = S(() => {}, ["stop"]))
496
+ onKeyup: (e) => w.inputKeyup(e, i, u),
497
+ onBlur: (e) => w.inputBlur(e, i, u),
498
+ onClick: t[3] || (t[3] = x(() => {}, ["stop"]))
502
499
  }, null, 8, [
503
500
  "modelValue",
504
501
  "placeholder",
505
502
  "onKeyup",
506
503
  "onBlur"
507
504
  ]),
508
- n.confirmButton ? (m(), s(i, { key: 1 }, [x(u(T, {
505
+ n.confirmButton ? (p(), o(r, { key: 1 }, [b(l(T, {
509
506
  class: "shrink-0",
510
- size: "mini",
511
- type: "text",
512
- onClick: S((e) => w.onConfirm(r, a), ["stop"])
507
+ text: "",
508
+ onClick: x((e) => w.onConfirm(i, u), ["stop"])
513
509
  }, {
514
- default: b(() => [...t[13] || (t[13] = [l("确定", -1)])]),
510
+ default: y(() => [...t[13] || (t[13] = [c("确定", -1)])]),
515
511
  _: 1
516
- }, 8, ["onClick"]), [[y, !a.loading]]), x(u(T, {
512
+ }, 8, ["onClick"]), [[v, !u.loading]]), b(l(T, {
517
513
  class: "shrink-0",
518
- size: "mini",
519
- type: "text",
520
- onClick: S((e) => w.onCancel(r, a), ["stop"])
514
+ text: "",
515
+ onClick: x((e) => w.onCancel(i, u), ["stop"])
521
516
  }, {
522
- default: b(() => [...t[14] || (t[14] = [l("取消", -1)])]),
517
+ default: y(() => [...t[14] || (t[14] = [c("取消", -1)])]),
523
518
  _: 1
524
- }, 8, ["onClick"]), [[y, !a.loading]])], 64)) : o("v-if", !0)
525
- ], 8, J)], 64)) : (m(), s("span", {
519
+ }, 8, ["onClick"]), [[v, !u.loading]])], 64)) : a("v-if", !0)
520
+ ], 8, q)], 64)) : (p(), o("span", {
526
521
  key: 0,
527
- "data-id": a.id,
522
+ "data-id": u.id,
528
523
  class: "custom-tree-node"
529
524
  }, [
530
- c("span", U, [
531
- n.icon ? (m(), s("i", {
525
+ s("span", H, [
526
+ n.icon ? (p(), o("i", {
532
527
  key: 0,
533
- class: f([a.loading ? "el-icon-loading" : n.icon(a, r), "node-icon"])
534
- }, null, 2)) : o("v-if", !0),
535
- c("span", W, [c("span", {
528
+ class: d([u.loading ? "el-icon-loading" : n.icon(u, i), "node-icon"])
529
+ }, null, 2)) : a("v-if", !0),
530
+ s("span", U, [s("span", {
536
531
  class: "ellipsis-1 absolute-box et-tree-label",
537
- title: r.label
538
- }, [h(e.$slots, "label", {
539
- data: a,
540
- node: r
541
- }, () => [l(_(r.label), 1)])], 8, G)]),
542
- h(e.$slots, "label-suffix", {
543
- node: r,
544
- data: a
532
+ title: i.label
533
+ }, [m(e.$slots, "label", {
534
+ data: u,
535
+ node: i
536
+ }, () => [c(g(i.label), 1)])], 8, W)]),
537
+ m(e.$slots, "label-suffix", {
538
+ node: i,
539
+ data: u
545
540
  })
546
541
  ]),
547
- !n.contextMenu && !n.readonly ? x((m(), s("span", K, [
548
- u(T, {
549
- size: "mini",
550
- type: "text",
551
- onClick: S((e) => w.appendChildNode(r, a), ["stop"])
542
+ !n.contextMenu && !n.readonly ? b((p(), o("span", G, [
543
+ l(T, {
544
+ text: "",
545
+ onClick: x((e) => w.appendChildNode(i, u), ["stop"])
552
546
  }, {
553
- default: b(() => [...t[9] || (t[9] = [l("添加", -1)])]),
547
+ default: y(() => [...t[9] || (t[9] = [c("添加", -1)])]),
554
548
  _: 1
555
549
  }, 8, ["onClick"]),
556
- u(T, {
557
- size: "mini",
558
- type: "text",
559
- onClick: S((e) => w.editNode(r, a), ["stop"])
550
+ l(T, {
551
+ text: "",
552
+ onClick: x((e) => w.editNode(i, u), ["stop"])
560
553
  }, {
561
- default: b(() => [...t[10] || (t[10] = [l("修改", -1)])]),
554
+ default: y(() => [...t[10] || (t[10] = [c("修改", -1)])]),
562
555
  _: 1
563
556
  }, 8, ["onClick"]),
564
- u(E, {
557
+ l(E, {
565
558
  class: "pop-confirm",
566
559
  "icon-color": "red",
567
560
  title: "你确定要删除吗?",
568
- onConfirm: (e) => w.removeNode(r, a)
561
+ onConfirm: (e) => w.removeNode(i, u)
569
562
  }, {
570
- reference: b(() => [x(u(T, {
571
- size: "mini",
563
+ reference: y(() => [b(l(T, {
572
564
  style: { "margin-left": "4px" },
573
- type: "text",
574
- onClick: t[1] || (t[1] = S(() => {}, ["stop"]))
565
+ text: "",
566
+ onClick: t[1] || (t[1] = x(() => {}, ["stop"]))
575
567
  }, {
576
- default: b(() => [...t[11] || (t[11] = [l("删除", -1)])]),
568
+ default: y(() => [...t[11] || (t[11] = [c("删除", -1)])]),
577
569
  _: 1
578
- }, 512), [[y, r.isLeaf]])]),
570
+ }, 512), [[v, i.isLeaf]])]),
579
571
  _: 2
580
572
  }, 1032, ["onConfirm"])
581
- ], 512)), [[y, !a.loading && !C.loading]]) : o("v-if", !0),
582
- n.contextMenuIcon && n.contextMenu && !n.readonly ? x((m(), s("span", q, [u(T, {
583
- size: "mini",
573
+ ], 512)), [[v, !u.loading && !C.loading]]) : a("v-if", !0),
574
+ n.contextMenuIcon && n.contextMenu && !n.readonly ? b((p(), o("span", K, [l(T, {
584
575
  style: { padding: "6px 10px 0" },
585
- type: "text",
586
- onClick: S((e) => w.showContextMenu(e, a, r), ["stop"])
576
+ text: "",
577
+ onClick: x((e) => w.showContextMenu(e, u, i), ["stop"])
587
578
  }, {
588
- default: b(() => [...t[12] || (t[12] = [l(". . .", -1)])]),
579
+ default: y(() => [...t[12] || (t[12] = [c(". . .", -1)])]),
589
580
  _: 1
590
- }, 8, ["onClick"])], 512)), [[y, !a.loading && !C.loading]]) : o("v-if", !0)
591
- ], 8, H))])]),
581
+ }, 8, ["onClick"])], 512)), [[v, !u.loading && !C.loading]]) : a("v-if", !0)
582
+ ], 8, V))])]),
592
583
  _: 3
593
584
  }, 16, [
594
585
  "default-expanded-keys",
@@ -602,47 +593,47 @@ function X(e, t, n, r, C, w) {
602
593
  "onNodeExpand",
603
594
  "onNodeCollapse"
604
595
  ])),
605
- n.contextMenu && !n.readonly ? x((m(), s("div", {
596
+ n.contextMenu && !n.readonly ? b((p(), o("div", {
606
597
  key: 1,
607
598
  ref: "contextMenu",
608
- style: p(C.position),
599
+ style: f(C.position),
609
600
  class: "menu"
610
- }, [c("ul", Y, [h(e.$slots, "context-menu", {
601
+ }, [s("ul", J, [m(e.$slots, "context-menu", {
611
602
  curNode: C.curNode,
612
603
  curData: C.curData
613
604
  }, () => [
614
- x(c("li", {
605
+ b(s("li", {
615
606
  class: "menu-item",
616
607
  onClick: t[4] || (t[4] = (e) => w.appendPeerNode(C.curNode, C.curData))
617
- }, [t[15] || (t[15] = c("i", {
608
+ }, [t[15] || (t[15] = s("i", {
618
609
  class: "menu-item-icon el-icon-lx-add",
619
610
  style: { color: "#228b22" }
620
- }, null, -1)), l(_(n.menuLabel.appendPeer), 1)], 512), [[y, C.curData.id > -1]]),
621
- c("li", {
611
+ }, null, -1)), c(g(n.menuLabel.appendPeer), 1)], 512), [[v, C.curData.id > -1]]),
612
+ s("li", {
622
613
  class: "menu-item",
623
614
  onClick: t[5] || (t[5] = (e) => w.appendChildNode(C.curNode, C.curData))
624
- }, [t[16] || (t[16] = c("i", {
615
+ }, [t[16] || (t[16] = s("i", {
625
616
  class: "menu-item-icon el-icon-lx-add",
626
617
  style: { color: "#228b22" }
627
- }, null, -1)), l(_(n.menuLabel.appendChild), 1)]),
628
- x(c("li", {
618
+ }, null, -1)), c(g(n.menuLabel.appendChild), 1)]),
619
+ b(s("li", {
629
620
  class: "menu-item",
630
621
  onClick: t[6] || (t[6] = (e) => w.editNode(C.curNode, C.curData))
631
- }, [t[17] || (t[17] = c("i", {
622
+ }, [t[17] || (t[17] = s("i", {
632
623
  class: "menu-item-icon el-icon-edit-outline",
633
624
  style: { color: "#ffa500" }
634
- }, null, -1)), l(_(n.menuLabel.editNode), 1)], 512), [[y, C.curData.id > -1]]),
635
- x(c("li", {
625
+ }, null, -1)), c(g(n.menuLabel.editNode), 1)], 512), [[v, C.curData.id > -1]]),
626
+ b(s("li", {
636
627
  class: "menu-item",
637
628
  onClick: t[7] || (t[7] = (e) => w.removeNodeModal(C.curNode, C.curData))
638
- }, [t[18] || (t[18] = c("i", {
629
+ }, [t[18] || (t[18] = s("i", {
639
630
  class: "menu-item-icon el-icon-delete",
640
631
  style: { color: "#f00" }
641
- }, null, -1)), l(_(n.menuLabel.removeNode), 1)], 512), [[y, C.curNode.isLeaf]])
642
- ])])], 4)), [[y, C.showMenu]]) : o("v-if", !0)
632
+ }, null, -1)), c(g(n.menuLabel.removeNode), 1)], 512), [[v, C.curNode.isLeaf]])
633
+ ])])], 4)), [[v, C.showMenu]]) : a("v-if", !0)
643
634
  ], 512)
644
635
  ]);
645
636
  }
646
- var Z = /* @__PURE__ */ e(R, [["render", X]]);
637
+ var X = /* @__PURE__ */ e(L, [["render", Y]]);
647
638
  //#endregion
648
- export { Z as t };
639
+ export { X as t };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
2
- import { i as t, n } from "./utils.Cs2fYBrT.mjs";
2
+ import { i as t, n } from "./utils.C37EhJ-u.mjs";
3
3
  import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createVNode as s, openBlock as c, renderList as l, resolveComponent as u, withCtx as d, withModifiers as f } from "vue";
4
4
  import { fastClone as p } from "@web-utils/core";
5
5
  //#region src/components/bpmn-process-designer/components/penal/base/ElementBaseInfo.vue
@@ -40,7 +40,7 @@ var m = {
40
40
  value: e
41
41
  }));
42
42
  let { businessObject: t } = this.element;
43
- if (e ? (this.businessObject = p(t), this.businessObject.$type === "bpmn:SubProcess" && this.$set(this.businessObject, "isExpanded", this.element.di.isExpanded)) : this.businessObject = {}, this.businessObject.$type === "bpmn:UserTask") for (let e in this.attrs) {
43
+ if (e ? (this.businessObject = p(t), this.businessObject.$type === "bpmn:SubProcess" && (this.businessObject.isExpanded = this.element.di.isExpanded)) : this.businessObject = {}, this.businessObject.$type === "bpmn:UserTask") for (let e in this.attrs) {
44
44
  let r = n(t, `${this.prefix}:${e}`);
45
45
  e === "commentNodeIds" && (r = r ? r.split(",") : []), this.attrs[e] = r;
46
46
  }
@@ -74,7 +74,6 @@ var m = {
74
74
  function g(e, t, n, p, m, g) {
75
75
  let _ = u("ElInput"), v = u("ElFormItem"), y = u("ElSwitch"), b = u("ElOption"), x = u("ElSelect"), S = u("ElForm");
76
76
  return c(), o("div", h, [s(S, {
77
- size: "mini",
78
77
  "label-width": "90px",
79
78
  onSubmit: t[22] || (t[22] = f(() => {}, ["prevent"]))
80
79
  }, {