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

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 (196) hide show
  1. package/awesome-button/index.mjs +19 -19
  2. package/chat/index.mjs +7 -7
  3. package/chunks/{EditableTree.C_IJBL5b.mjs → EditableTree.D0ByhRTi.mjs} +132 -132
  4. package/chunks/{ElementBaseInfo.DyuFR6fE.mjs → ElementBaseInfo.B3pY8TkD.mjs} +2 -2
  5. package/chunks/ElementDialog.DNsDHdQS.mjs +251 -0
  6. package/chunks/{ElementForm.ButuYDPA.mjs → ElementForm.D_lXbe--.mjs} +23 -23
  7. package/chunks/{ElementListeners.Dg3e_dmp.mjs → ElementListeners.Cufwd4bp.mjs} +19 -19
  8. package/chunks/{ElementMultiInstance.Dmi79FqA.mjs → ElementMultiInstance.BhY8NY2z.mjs} +1 -1
  9. package/chunks/{ElementOtherConfig.C2AddGTp.mjs → ElementOtherConfig.DX1ZJ9w2.mjs} +1 -1
  10. package/chunks/{ElementProperties.CfV8UF7L.mjs → ElementProperties.BRafADXp.mjs} +7 -7
  11. package/chunks/{ElementTaskConfig.Bn7ycGGn.mjs → ElementTaskConfig.B6pqRir_.mjs} +4 -4
  12. package/chunks/{FlowCondition.C6PdqOAW.mjs → FlowCondition.Dvwji23j.mjs} +1 -1
  13. package/chunks/{FlowDesigner.uJYFfKpR.mjs → FlowDesigner.LL-vXDIE.mjs} +12 -13
  14. package/chunks/{FormBlock.BEENc22F.mjs → FormBlock.Co7l6USP.mjs} +8 -8
  15. package/chunks/{FormCascader.CaM-oEhv.mjs → FormCascader.DMY3uNc8.mjs} +352 -351
  16. package/chunks/{FormInputTime.Bg3UIP8H.mjs → FormInputTime.BC4FfWwY.mjs} +186 -185
  17. package/chunks/{FormItem.H9OOvNzT.mjs → FormItem.BSXI2cZU.mjs} +12 -13
  18. package/chunks/{FormItemGroup.D9eRy-cZ.mjs → FormItemGroup.D2Htta7J.mjs} +11 -9
  19. package/chunks/{FormSelect.CanodoAI.mjs → FormSelect.CY0K-izg.mjs} +369 -368
  20. package/chunks/{FormSwitch.DTqdaFjv.mjs → FormSwitch.DLqFXaFF.mjs} +34 -33
  21. package/chunks/{FormTemp.DiI5EfgK.mjs → FormTemp.PJFfNRls.mjs} +2 -2
  22. package/chunks/{FyCurd.DMj1dMK9.mjs → FyCurd.me083T8V.mjs} +10 -10
  23. package/chunks/{FyForm.vgR8ujEF.mjs → FyForm.vVp8aVtj.mjs} +17 -15
  24. package/chunks/{FyFormDesign.DEWT6LsX.mjs → FyFormDesign.BCxVyiWY.mjs} +87 -87
  25. package/chunks/{FyUpload.B2QKfTxF.mjs → FyUpload.CA7Gfa6Q.mjs} +2 -2
  26. package/chunks/ImagePreview.ByEWJYdu.mjs +639 -0
  27. package/chunks/{Keyboard.ItiRy7Gb.mjs → Keyboard.4hi7CjGc.mjs} +2 -2
  28. package/chunks/{MonacoEditor.Bd5Kui-Y.mjs → MonacoEditor.B7BUQwb7.mjs} +65 -64
  29. package/chunks/{PageableTable.Bujb0NUx.mjs → PageableTable.Ba3XSbZ5.mjs} +83 -81
  30. package/chunks/{SignalAndMessage.CYVzlFuL.mjs → SignalAndMessage.DYhKWs3X.mjs} +7 -7
  31. package/chunks/{TableColumn.DJYkznbJ.mjs → TableColumn.72HOXQkb.mjs} +34 -28
  32. package/chunks/{TableView.DyIdIxAg.mjs → TableView.BxfsOAxU.mjs} +8 -8
  33. package/chunks/{UserTaskListeners.Bp-2qkHs.mjs → UserTaskListeners.CkeyTpnn.mjs} +16 -16
  34. package/chunks/{VueCron.GfjodnyM.mjs → VueCron.DEvY5-i7.mjs} +196 -139
  35. package/chunks/{VueTreeSelect.9Ywl-I8e.mjs → VueTreeSelect.C6Ycu28Z.mjs} +38 -37
  36. package/chunks/{checkbox.emIuFmnt.mjs → checkbox.C_9WZ8gc.mjs} +2 -2
  37. package/chunks/{confirmable-mixin.BBil7dto.mjs → confirmable-mixin.zegaXQTl.mjs} +398 -282
  38. package/chunks/{dictionary.DxZxP0ej.mjs → dictionary.CNNpjPL2.mjs} +1 -1
  39. package/chunks/{event.eJ-c1Z3a.mjs → event.Dv4XTu8B.mjs} +2 -2
  40. package/chunks/{focus-trap.DT4GnqQI.mjs → focus-trap.FbvlqAGe.mjs} +2 -2
  41. package/chunks/{form-input.D25eDRMq.mjs → form-input.BUGZmAI1.mjs} +2 -2
  42. package/chunks/{form-item.CgmUuw_n.mjs → form-item.Ca8U2bIR.mjs} +58 -60
  43. package/chunks/icon.CxCY22-F.mjs +26 -0
  44. package/chunks/{icon.CbS8-322.mjs → icon.ym7735_x.mjs} +28 -36
  45. package/chunks/{init.DwpukyOB.mjs → init.6jGmuY99.mjs} +3 -3
  46. package/chunks/input.C2GWsuXE.mjs +547 -0
  47. package/chunks/{message.BCmee5N0.mjs → message.C4NdvfbE.mjs} +40 -40
  48. package/chunks/{radio.BotKXqJr.mjs → radio.CeLeSOEo.mjs} +3 -4
  49. package/chunks/{tag.DPi-PLbb.mjs → tag.ZhEIVRpP.mjs} +18 -18
  50. package/chunks/{tooltip.D50x7Rva.mjs → tooltip.DNiltmX1.mjs} +362 -349
  51. package/chunks/{use-size.DxrwTUwf.mjs → typescript.CLl-2siQ.mjs} +2 -2
  52. package/chunks/use-empty-values.D8KYIiKR.mjs +81 -0
  53. package/chunks/use-form-item.BlWa7ZKe.mjs +56 -0
  54. package/chunks/{use-global-config.C9hs-O_x.mjs → use-global-config.DRovgom9.mjs} +14 -13
  55. package/chunks/{use-empty-values.Dy_r78F6.mjs → use-locale.Be9HCpTQ.mjs} +12 -87
  56. package/chunks/{validator.C4-z_t9p.mjs → validator.DuBSEj8O.mjs} +1 -1
  57. package/confirm-button/index.mjs +1 -1
  58. package/confirmable/index.mjs +1 -1
  59. package/data-box/style.css +1 -1
  60. package/data-card/style.css +1 -1
  61. package/data-display/style.css +1 -1
  62. package/data-icons/style.css +1 -1
  63. package/data-imgtext/style.css +1 -1
  64. package/data-operatext/style.css +1 -1
  65. package/data-panel/style.css +1 -1
  66. package/data-pay/style.css +1 -1
  67. package/data-price/style.css +1 -1
  68. package/data-progress/style.css +1 -1
  69. package/data-rotate/style.css +1 -1
  70. package/data-table-picker/index.mjs +3 -3
  71. package/data-tabs/style.css +1 -1
  72. package/dialog-form/index.mjs +7 -3
  73. package/dynamic-table/index.mjs +1 -1
  74. package/editable-tree/index.mjs +1 -1
  75. package/element-dialog/index.mjs +1 -1
  76. package/flex-column/index.mjs +11 -9
  77. package/flex-item/index.mjs +22 -16
  78. package/flex-row/index.mjs +11 -10
  79. package/flow-designer/index.mjs +1 -1
  80. package/form-block/index.mjs +1 -1
  81. package/form-cascader/index.mjs +1 -1
  82. package/form-checkbox/index.mjs +3 -3
  83. package/form-checkbox-group/index.mjs +5 -5
  84. package/form-date-picker/index.mjs +3 -3
  85. package/form-holder/index.mjs +2 -5
  86. package/form-input/index.mjs +3 -3
  87. package/form-input-cron-expression/index.mjs +3 -3
  88. package/form-input-email/index.mjs +9 -8
  89. package/form-input-id-card/index.mjs +9 -8
  90. package/form-input-phone-number/index.mjs +10 -9
  91. package/form-input-tag/index.mjs +2 -2
  92. package/form-input-time/index.mjs +1 -1
  93. package/form-item/index.mjs +1 -1
  94. package/form-item-group/index.mjs +1 -1
  95. package/form-radio-group/index.mjs +5 -5
  96. package/form-select/index.mjs +1 -1
  97. package/form-switch/index.mjs +1 -1
  98. package/form-table/index.mjs +2 -2
  99. package/form-table-plus/index.mjs +4 -4
  100. package/form-textarea/index.mjs +3 -3
  101. package/form-tree-select/index.mjs +3 -3
  102. package/form-tree-select-multiple/index.mjs +3 -3
  103. package/form-view/index.mjs +13 -8
  104. package/fy-array/index.mjs +1 -1
  105. package/fy-cascader/index.mjs +1 -1
  106. package/fy-checkbox/index.mjs +1 -1
  107. package/fy-curd/index.mjs +1 -1
  108. package/fy-date/index.mjs +1 -1
  109. package/fy-dynamic/index.mjs +5 -5
  110. package/fy-form/index.mjs +1 -1
  111. package/fy-form-design/index.mjs +1 -1
  112. package/fy-form-design/style.css +1 -1
  113. package/fy-input/index.mjs +1 -1
  114. package/fy-input-color/index.mjs +2 -2
  115. package/fy-input-icon/index.mjs +1 -1
  116. package/fy-input-map/index.mjs +1 -1
  117. package/fy-input-number/index.mjs +1 -1
  118. package/fy-input-table/index.mjs +1 -1
  119. package/fy-input-tree/index.mjs +2 -2
  120. package/fy-radio/index.mjs +1 -1
  121. package/fy-rate/index.mjs +1 -1
  122. package/fy-select/index.mjs +3 -3
  123. package/fy-slider/index.mjs +1 -1
  124. package/fy-switch/index.mjs +1 -1
  125. package/fy-time/index.mjs +1 -1
  126. package/fy-title/index.mjs +1 -1
  127. package/fy-tree/index.mjs +1 -1
  128. package/fy-u-editor/index.mjs +1 -1
  129. package/fy-upload/index.mjs +1 -1
  130. package/helper-function.d.ts +3 -2
  131. package/helper-function.mjs +16 -9
  132. package/image-cropper/index.mjs +6 -6
  133. package/image-preview/index.mjs +2 -187
  134. package/index.mjs +91 -91
  135. package/input-number-range/index.mjs +2 -2
  136. package/keyboard/index.mjs +1 -1
  137. package/license/index.mjs +1 -1
  138. package/login/index.mjs +3 -3
  139. package/monaco-editor/index.mjs +1 -1
  140. package/notice/index.mjs +1 -1
  141. package/package.json +5 -5
  142. package/pageable-table/index.mjs +1 -1
  143. package/pageable-view/index.mjs +1 -1
  144. package/photo-swipe/index.mjs +1 -1
  145. package/picker-table-view/index.mjs +4 -4
  146. package/present-view/index.mjs +18 -13
  147. package/record-video/index.mjs +1 -1
  148. package/resize-observer/index.mjs +1 -1
  149. package/search/index.mjs +1 -1
  150. package/split-pane/index.mjs +1 -1
  151. package/stateful/index.mjs +18 -17
  152. package/static-pageable-table/index.mjs +1 -1
  153. package/sub-table/index.mjs +3 -3
  154. package/sub-table-plus/index.mjs +4 -4
  155. package/tab/index.mjs +1 -1
  156. package/tab-item/index.mjs +1 -1
  157. package/table-column/index.mjs +1 -1
  158. package/table-view/index.mjs +1 -1
  159. package/tag-render/index.mjs +2 -2
  160. package/toolbar/index.mjs +1 -1
  161. package/toolbar-button/index.mjs +1 -4
  162. package/vue-cron/index.mjs +1 -1
  163. package/vue-qr-code/index.mjs +7 -6
  164. package/vue-tree-select/index.mjs +1 -1
  165. package/watermark/index.mjs +13 -13
  166. package/web-types.json +48 -14
  167. package/x-input-tag/index.mjs +3 -3
  168. package/chunks/ElementDialog.C0IjriTW.mjs +0 -681
  169. package/chunks/input.PejnqwSH.mjs +0 -547
  170. package/chunks/overlay.DubSnqma.mjs +0 -122
  171. package/chunks/teleport._VGEzK4d.mjs +0 -22
  172. package/chunks/typescript.DiWBU4nj.mjs +0 -4
  173. package/chunks/use-form-item.wsRjehHp.mjs +0 -47
  174. package/chunks/use-id.CFO5NeoV.mjs +0 -15
  175. /package/chunks/{FyUEditor.D_rEYfll.mjs → FyUEditor.BymtA5SJ.mjs} +0 -0
  176. /package/chunks/{RecordVideo.B35_dLty.mjs → RecordVideo.VRFTaHSp.mjs} +0 -0
  177. /package/chunks/{SplitPane.Dw96M0Yf.mjs → SplitPane.Bwe5Rc0J.mjs} +0 -0
  178. /package/chunks/{Toolbar.DHuXJAoG.mjs → Toolbar.BVziVmyT.mjs} +0 -0
  179. /package/chunks/{core.DJv6Qrae.mjs → core.DXaMPWGV.mjs} +0 -0
  180. /package/chunks/{dataformat.Bfr4nOcA.mjs → dataformat.CteBVoOe.mjs} +0 -0
  181. /package/chunks/{dic.DgDfnovD.mjs → dic.C0abEij9.mjs} +0 -0
  182. /package/chunks/{dictionary.5eKjWeAp.mjs → dictionary.BRhZD-WH.mjs} +0 -0
  183. /package/chunks/{form-pick.Axem0gOO.mjs → form-pick.DT5kumy4.mjs} +0 -0
  184. /package/chunks/{form-validate.B1KPCHqN.mjs → form-validate.CUvMwtPN.mjs} +0 -0
  185. /package/chunks/{packages.BGjydzjm.mjs → packages.BLDb9e6G.mjs} +0 -0
  186. /package/chunks/{permission.DgEVNWlh.mjs → permission.C-IUDxQQ.mjs} +0 -0
  187. /package/chunks/{photo-swipe.BB0SJZg9.mjs → photo-swipe.BxnG4lip.mjs} +0 -0
  188. /package/chunks/{scroll.CzORc5Zk.mjs → scroll.DWjS-gnW.mjs} +0 -0
  189. /package/chunks/{slot.C6Ozd2e7.mjs → slot.DT5QwXL-.mjs} +0 -0
  190. /package/chunks/{sub-table-plus-props.B_lLth3j.mjs → sub-table-plus-props.CRX7ERxJ.mjs} +0 -0
  191. /package/chunks/{tab-mixin.u0EZpx3j.mjs → tab-mixin.7zuMMM1E.mjs} +0 -0
  192. /package/chunks/{util.B3sjVZoZ.mjs → util.Ce4MHRmD.mjs} +0 -0
  193. /package/chunks/{utilSelf.ZED4DmCU.mjs → utilSelf.BttmSVX6.mjs} +0 -0
  194. /package/chunks/{utils.Cs2fYBrT.mjs → utils.BGJfM4oG.mjs} +0 -0
  195. /package/chunks/{utils.DsGhtCIO.mjs → utils.CSPl1l4f.mjs} +0 -0
  196. /package/chunks/{vnode.D_SioRnx.mjs → vnode.C3PXzhmg.mjs} +0 -0
@@ -1,6 +1,7 @@
1
- import { error as e, isFunction as t } from "@web-utils/core";
1
+ import { h as e, resolveComponent as t } from "vue";
2
+ import { error as n, isFunction as r } from "@web-utils/core";
2
3
  //#region src/components/button/AwesomeButton.vue
3
- var n = {
4
+ var i = {
4
5
  name: "AwesomeButton",
5
6
  mixins: [{ props: {
6
7
  type: {
@@ -22,6 +23,7 @@ var n = {
22
23
  autofocus: Boolean,
23
24
  round: Boolean
24
25
  } }],
26
+ inheritAttrs: !1,
25
27
  props: { text: {
26
28
  type: String,
27
29
  default: ""
@@ -29,27 +31,25 @@ var n = {
29
31
  data() {
30
32
  return { isLoading: !1 };
31
33
  },
32
- methods: { async onClick(n) {
34
+ methods: { async onClick(e) {
33
35
  this.isLoading = !0;
34
- let { click: r } = this.$listeners;
35
- if (t(r)) try {
36
- await r(n);
37
- } catch (t) {
38
- e.call(this, t);
36
+ let { onClick: t } = this.$attrs;
37
+ if (r(t)) try {
38
+ await t(e);
39
+ } catch (e) {
40
+ n.call(this, e);
39
41
  }
40
42
  this.isLoading = !1;
41
43
  } },
42
- render(e) {
43
- var t, n;
44
- let r = (t = (n = this.$slots).default) == null ? void 0 : t.call(n);
45
- return e("ElButton", {
46
- on: { click: this.onClick },
47
- props: {
48
- ...this.$props,
49
- disabled: this.isLoading
50
- }
51
- }, r && (r[0].tag || r[0].text) ? r : this.text);
44
+ render() {
45
+ let n = t("ElButton"), { text: r, ...i } = this.$props, { onClick: a, ...o } = this.$attrs;
46
+ return e(n, {
47
+ ...o,
48
+ ...i,
49
+ disabled: this.isLoading,
50
+ onClick: this.onClick
51
+ }, { default: this.$slots.default || (() => r) });
52
52
  }
53
53
  };
54
54
  //#endregion
55
- export { n as default };
55
+ export { i as default };
package/chat/index.mjs CHANGED
@@ -280,7 +280,7 @@ function K(e, t, b, x, K, q) {
280
280
  "split-button": "",
281
281
  class: "web__msg-submit",
282
282
  type: "primary",
283
- size: "mini",
283
+ size: "default",
284
284
  trigger: "click",
285
285
  onClick: q.handleSend
286
286
  }, {
@@ -299,7 +299,7 @@ function K(e, t, b, x, K, q) {
299
299
  default: _(() => [c(J, {
300
300
  modelValue: K.keys,
301
301
  "onUpdate:modelValue": t[4] || (t[4] = (e) => K.keys = e),
302
- size: "mini",
302
+ size: "default",
303
303
  style: { "margin-bottom": "10px" },
304
304
  rows: 3,
305
305
  "show-word-limit": "",
@@ -307,7 +307,7 @@ function K(e, t, b, x, K, q) {
307
307
  placeholder: "请输入快捷回复语",
308
308
  type: "textarea"
309
309
  }, null, 8, ["modelValue"]), o("div", B, [c(Y, {
310
- size: "mini",
310
+ size: "default",
311
311
  type: "text",
312
312
  onClick: t[5] || (t[5] = (e) => K.visible = !1)
313
313
  }, {
@@ -315,7 +315,7 @@ function K(e, t, b, x, K, q) {
315
315
  _: 1
316
316
  }), c(Y, {
317
317
  type: "primary",
318
- size: "mini",
318
+ size: "default",
319
319
  onClick: q.addKey
320
320
  }, {
321
321
  default: _(() => [...t[14] || (t[14] = [s(" 确定 ", -1)])]),
@@ -354,14 +354,14 @@ function K(e, t, b, x, K, q) {
354
354
  width: "30%"
355
355
  }, {
356
356
  footer: _(() => [c(Y, {
357
- size: "small",
357
+ size: "default",
358
358
  onClick: t[8] || (t[8] = (e) => K.upload.box = !1)
359
359
  }, {
360
360
  default: _(() => [...t[16] || (t[16] = [s("取 消", -1)])]),
361
361
  _: 1
362
362
  }), c(Y, {
363
363
  type: "primary",
364
- size: "small",
364
+ size: "default",
365
365
  onClick: q.uploadSubmit
366
366
  }, {
367
367
  default: _(() => [...t[17] || (t[17] = [s("确 定", -1)])]),
@@ -381,7 +381,7 @@ function K(e, t, b, x, K, q) {
381
381
  default: _(() => [c(J, {
382
382
  modelValue: K.upload.src,
383
383
  "onUpdate:modelValue": t[7] || (t[7] = (e) => K.upload.src = e),
384
- size: "mini",
384
+ size: "default",
385
385
  style: { "margin-bottom": "10px" },
386
386
  rows: 4,
387
387
  "show-word-limit": "",
@@ -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.Ce4MHRmD.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.$set(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) ? this.$set(t, "edit", !0) : 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) ? this.$set(t, "loading", !0) : 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,32 @@ 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
+ size: "default",
443
+ style: f([{
444
444
  position: "absolute",
445
445
  top: "4px",
446
446
  "z-index": "1"
@@ -448,19 +448,19 @@ function X(e, t, n, r, C, w) {
448
448
  icon: "el-icon-plus",
449
449
  circle: "",
450
450
  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, {
451
+ onClick: t[0] || (t[0] = x((t) => e.$emit("add-root-node"), ["stop"]))
452
+ }, null, 8, ["style"])) : a("v-if", !0),
453
+ s("div", z, [
454
+ !n.readonly && n.addRootNodeButtonStyle === "top" ? (p(), o("div", B, [l(T, {
455
455
  disabled: C.loading,
456
- size: "mini",
456
+ size: "default",
457
457
  type: "text",
458
458
  onClick: w.appendRootNode
459
459
  }, {
460
- default: b(() => [t[8] || (t[8] = c("i", { class: "el-icon-lx-add" }, null, -1)), l(" " + _(n.addRootNodeLabel ? n.addRootNodeLabel : `添加${n.label}`), 1)]),
460
+ 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
461
  _: 1
462
- }, 8, ["disabled", "onClick"])])) : o("v-if", !0),
463
- (m(), a(O, d(w.filterTreeProperties(e.$attrs), {
462
+ }, 8, ["disabled", "onClick"])])) : a("v-if", !0),
463
+ (p(), i(O, u(w.filterTreeProperties(e.$attrs), {
464
464
  key: C.treeKey,
465
465
  ref: "tree",
466
466
  class: "flex-item",
@@ -472,123 +472,123 @@ function X(e, t, n, r, C, w) {
472
472
  props: n.treeProps,
473
473
  lazy: n.lazy,
474
474
  "node-key": n.nodeKey
475
- }, v(w.filterTreeEvents(e.$listeners)), {
475
+ }, _(w.filterTreeEvents(e.$listeners)), {
476
476
  onNodeClick: w.nodeClick,
477
477
  onNodeContextmenu: w.showContextMenu,
478
478
  onNodeExpand: w.addExpandKey,
479
479
  onNodeCollapse: w.removeExpandKey
480
480
  }), {
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,
481
+ default: y(({ node: i, data: u }) => [m(e.$slots, "default", {
482
+ node: i,
483
+ data: u
484
+ }, () => [a("非编辑模式"), u.edit ? (p(), o(r, { key: 1 }, [a("编辑模式"), s("span", {
485
+ "data-id": u.id,
486
486
  class: "custom-tree-node flex-row flex-item oh"
487
487
  }, [
488
- n.icon ? (m(), s("i", {
488
+ n.icon ? (p(), o("i", {
489
489
  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, {
490
+ class: d([u.loading ? "el-icon-loading" : "el-icon-edit-outline", "node-icon shrink-0"])
491
+ }, null, 2)) : a("v-if", !0),
492
+ l(D, {
493
493
  ref: "labelTxt",
494
494
  modelValue: C.text,
495
495
  "onUpdate:modelValue": t[2] || (t[2] = (e) => C.text = e),
496
496
  class: "node-input flex-item",
497
- size: "mini",
497
+ size: "default",
498
498
  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"]))
499
+ onKeyup: (e) => w.inputKeyup(e, i, u),
500
+ onBlur: (e) => w.inputBlur(e, i, u),
501
+ onClick: t[3] || (t[3] = x(() => {}, ["stop"]))
502
502
  }, null, 8, [
503
503
  "modelValue",
504
504
  "placeholder",
505
505
  "onKeyup",
506
506
  "onBlur"
507
507
  ]),
508
- n.confirmButton ? (m(), s(i, { key: 1 }, [x(u(T, {
508
+ n.confirmButton ? (p(), o(r, { key: 1 }, [b(l(T, {
509
509
  class: "shrink-0",
510
- size: "mini",
510
+ size: "default",
511
511
  type: "text",
512
- onClick: S((e) => w.onConfirm(r, a), ["stop"])
512
+ onClick: x((e) => w.onConfirm(i, u), ["stop"])
513
513
  }, {
514
- default: b(() => [...t[13] || (t[13] = [l("确定", -1)])]),
514
+ default: y(() => [...t[13] || (t[13] = [c("确定", -1)])]),
515
515
  _: 1
516
- }, 8, ["onClick"]), [[y, !a.loading]]), x(u(T, {
516
+ }, 8, ["onClick"]), [[v, !u.loading]]), b(l(T, {
517
517
  class: "shrink-0",
518
- size: "mini",
518
+ size: "default",
519
519
  type: "text",
520
- onClick: S((e) => w.onCancel(r, a), ["stop"])
520
+ onClick: x((e) => w.onCancel(i, u), ["stop"])
521
521
  }, {
522
- default: b(() => [...t[14] || (t[14] = [l("取消", -1)])]),
522
+ default: y(() => [...t[14] || (t[14] = [c("取消", -1)])]),
523
523
  _: 1
524
- }, 8, ["onClick"]), [[y, !a.loading]])], 64)) : o("v-if", !0)
525
- ], 8, J)], 64)) : (m(), s("span", {
524
+ }, 8, ["onClick"]), [[v, !u.loading]])], 64)) : a("v-if", !0)
525
+ ], 8, q)], 64)) : (p(), o("span", {
526
526
  key: 0,
527
- "data-id": a.id,
527
+ "data-id": u.id,
528
528
  class: "custom-tree-node"
529
529
  }, [
530
- c("span", U, [
531
- n.icon ? (m(), s("i", {
530
+ s("span", H, [
531
+ n.icon ? (p(), o("i", {
532
532
  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", {
533
+ class: d([u.loading ? "el-icon-loading" : n.icon(u, i), "node-icon"])
534
+ }, null, 2)) : a("v-if", !0),
535
+ s("span", U, [s("span", {
536
536
  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
537
+ title: i.label
538
+ }, [m(e.$slots, "label", {
539
+ data: u,
540
+ node: i
541
+ }, () => [c(g(i.label), 1)])], 8, W)]),
542
+ m(e.$slots, "label-suffix", {
543
+ node: i,
544
+ data: u
545
545
  })
546
546
  ]),
547
- !n.contextMenu && !n.readonly ? x((m(), s("span", K, [
548
- u(T, {
549
- size: "mini",
547
+ !n.contextMenu && !n.readonly ? b((p(), o("span", G, [
548
+ l(T, {
549
+ size: "default",
550
550
  type: "text",
551
- onClick: S((e) => w.appendChildNode(r, a), ["stop"])
551
+ onClick: x((e) => w.appendChildNode(i, u), ["stop"])
552
552
  }, {
553
- default: b(() => [...t[9] || (t[9] = [l("添加", -1)])]),
553
+ default: y(() => [...t[9] || (t[9] = [c("添加", -1)])]),
554
554
  _: 1
555
555
  }, 8, ["onClick"]),
556
- u(T, {
557
- size: "mini",
556
+ l(T, {
557
+ size: "default",
558
558
  type: "text",
559
- onClick: S((e) => w.editNode(r, a), ["stop"])
559
+ onClick: x((e) => w.editNode(i, u), ["stop"])
560
560
  }, {
561
- default: b(() => [...t[10] || (t[10] = [l("修改", -1)])]),
561
+ default: y(() => [...t[10] || (t[10] = [c("修改", -1)])]),
562
562
  _: 1
563
563
  }, 8, ["onClick"]),
564
- u(E, {
564
+ l(E, {
565
565
  class: "pop-confirm",
566
566
  "icon-color": "red",
567
567
  title: "你确定要删除吗?",
568
- onConfirm: (e) => w.removeNode(r, a)
568
+ onConfirm: (e) => w.removeNode(i, u)
569
569
  }, {
570
- reference: b(() => [x(u(T, {
571
- size: "mini",
570
+ reference: y(() => [b(l(T, {
571
+ size: "default",
572
572
  style: { "margin-left": "4px" },
573
573
  type: "text",
574
- onClick: t[1] || (t[1] = S(() => {}, ["stop"]))
574
+ onClick: t[1] || (t[1] = x(() => {}, ["stop"]))
575
575
  }, {
576
- default: b(() => [...t[11] || (t[11] = [l("删除", -1)])]),
576
+ default: y(() => [...t[11] || (t[11] = [c("删除", -1)])]),
577
577
  _: 1
578
- }, 512), [[y, r.isLeaf]])]),
578
+ }, 512), [[v, i.isLeaf]])]),
579
579
  _: 2
580
580
  }, 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",
581
+ ], 512)), [[v, !u.loading && !C.loading]]) : a("v-if", !0),
582
+ n.contextMenuIcon && n.contextMenu && !n.readonly ? b((p(), o("span", K, [l(T, {
583
+ size: "default",
584
584
  style: { padding: "6px 10px 0" },
585
585
  type: "text",
586
- onClick: S((e) => w.showContextMenu(e, a, r), ["stop"])
586
+ onClick: x((e) => w.showContextMenu(e, u, i), ["stop"])
587
587
  }, {
588
- default: b(() => [...t[12] || (t[12] = [l(". . .", -1)])]),
588
+ default: y(() => [...t[12] || (t[12] = [c(". . .", -1)])]),
589
589
  _: 1
590
- }, 8, ["onClick"])], 512)), [[y, !a.loading && !C.loading]]) : o("v-if", !0)
591
- ], 8, H))])]),
590
+ }, 8, ["onClick"])], 512)), [[v, !u.loading && !C.loading]]) : a("v-if", !0)
591
+ ], 8, V))])]),
592
592
  _: 3
593
593
  }, 16, [
594
594
  "default-expanded-keys",
@@ -602,47 +602,47 @@ function X(e, t, n, r, C, w) {
602
602
  "onNodeExpand",
603
603
  "onNodeCollapse"
604
604
  ])),
605
- n.contextMenu && !n.readonly ? x((m(), s("div", {
605
+ n.contextMenu && !n.readonly ? b((p(), o("div", {
606
606
  key: 1,
607
607
  ref: "contextMenu",
608
- style: p(C.position),
608
+ style: f(C.position),
609
609
  class: "menu"
610
- }, [c("ul", Y, [h(e.$slots, "context-menu", {
610
+ }, [s("ul", J, [m(e.$slots, "context-menu", {
611
611
  curNode: C.curNode,
612
612
  curData: C.curData
613
613
  }, () => [
614
- x(c("li", {
614
+ b(s("li", {
615
615
  class: "menu-item",
616
616
  onClick: t[4] || (t[4] = (e) => w.appendPeerNode(C.curNode, C.curData))
617
- }, [t[15] || (t[15] = c("i", {
617
+ }, [t[15] || (t[15] = s("i", {
618
618
  class: "menu-item-icon el-icon-lx-add",
619
619
  style: { color: "#228b22" }
620
- }, null, -1)), l(_(n.menuLabel.appendPeer), 1)], 512), [[y, C.curData.id > -1]]),
621
- c("li", {
620
+ }, null, -1)), c(g(n.menuLabel.appendPeer), 1)], 512), [[v, C.curData.id > -1]]),
621
+ s("li", {
622
622
  class: "menu-item",
623
623
  onClick: t[5] || (t[5] = (e) => w.appendChildNode(C.curNode, C.curData))
624
- }, [t[16] || (t[16] = c("i", {
624
+ }, [t[16] || (t[16] = s("i", {
625
625
  class: "menu-item-icon el-icon-lx-add",
626
626
  style: { color: "#228b22" }
627
- }, null, -1)), l(_(n.menuLabel.appendChild), 1)]),
628
- x(c("li", {
627
+ }, null, -1)), c(g(n.menuLabel.appendChild), 1)]),
628
+ b(s("li", {
629
629
  class: "menu-item",
630
630
  onClick: t[6] || (t[6] = (e) => w.editNode(C.curNode, C.curData))
631
- }, [t[17] || (t[17] = c("i", {
631
+ }, [t[17] || (t[17] = s("i", {
632
632
  class: "menu-item-icon el-icon-edit-outline",
633
633
  style: { color: "#ffa500" }
634
- }, null, -1)), l(_(n.menuLabel.editNode), 1)], 512), [[y, C.curData.id > -1]]),
635
- x(c("li", {
634
+ }, null, -1)), c(g(n.menuLabel.editNode), 1)], 512), [[v, C.curData.id > -1]]),
635
+ b(s("li", {
636
636
  class: "menu-item",
637
637
  onClick: t[7] || (t[7] = (e) => w.removeNodeModal(C.curNode, C.curData))
638
- }, [t[18] || (t[18] = c("i", {
638
+ }, [t[18] || (t[18] = s("i", {
639
639
  class: "menu-item-icon el-icon-delete",
640
640
  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)
641
+ }, null, -1)), c(g(n.menuLabel.removeNode), 1)], 512), [[v, C.curNode.isLeaf]])
642
+ ])])], 4)), [[v, C.showMenu]]) : a("v-if", !0)
643
643
  ], 512)
644
644
  ]);
645
645
  }
646
- var Z = /* @__PURE__ */ e(R, [["render", X]]);
646
+ var X = /* @__PURE__ */ e(L, [["render", Y]]);
647
647
  //#endregion
648
- export { Z as t };
648
+ 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.BGJfM4oG.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
@@ -74,7 +74,7 @@ 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",
77
+ size: "default",
78
78
  "label-width": "90px",
79
79
  onSubmit: t[22] || (t[22] = f(() => {}, ["prevent"]))
80
80
  }, {