@web-utils/component 2.30.1 → 2.40.0

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 (302) hide show
  1. package/address-input/index.mjs +9 -9
  2. package/address-input/style.css +1 -1
  3. package/affix/index.mjs +1 -1
  4. package/affix/style.css +1 -1
  5. package/aside-menu/index.mjs +20 -20
  6. package/aside-menu/style.css +1 -1
  7. package/avatar/index.mjs +1 -1
  8. package/avatar/style.css +1 -1
  9. package/awesome-button/index.mjs +1 -1
  10. package/base.css +1 -1
  11. package/capsule-tab/index.mjs +10 -10
  12. package/capsule-tab/style.css +1 -1
  13. package/card/index.mjs +23 -23
  14. package/card/style.css +1 -1
  15. package/carousel/index.mjs +5 -5
  16. package/carousel/style.css +1 -1
  17. package/chat/index.mjs +5 -3
  18. package/chat/style.css +1 -1
  19. package/chunk-file-uploader/index.mjs +3 -3
  20. package/chunk-file-uploader/style.css +1 -1
  21. package/chunks/{FormTemp.FX8xmbVB.mjs → FormTemp.7f91629d.mjs} +4 -4
  22. package/chunks/{confirmable-mixin.rTUMhoRH.mjs → confirmable-mixin.817b542f.mjs} +16 -6
  23. package/chunks/{dataformat.X_61lMA7.mjs → dataformat.f995e2f9.mjs} +1 -1
  24. package/chunks/{dic.6tk91Dmq.mjs → dic.eaac0823.mjs} +8 -10
  25. package/chunks/{event.NHA7rYFE.mjs → event.b5d855dd.mjs} +3 -3
  26. package/chunks/{form-input-mixin.IKogWBfn.mjs → form-input-mixin.4632ad36.mjs} +2 -2
  27. package/chunks/{form-item-mixin.BilKDUlK.mjs → form-item-mixin.ad148e7b.mjs} +1 -1
  28. package/chunks/{init.Ac4dKUJB.mjs → init.47f219b4.mjs} +3 -3
  29. package/chunks/{util.C2Bhx22L.mjs → util.ae730cde.mjs} +24 -18
  30. package/code-mirror-editor/index.mjs +404 -175
  31. package/code-mirror-editor/style.css +1 -1
  32. package/color-picker/index.mjs +1 -1
  33. package/comment/index.mjs +18 -18
  34. package/comment/style.css +1 -1
  35. package/confirm-button/index.mjs +2 -2
  36. package/confirmable/index.mjs +2 -2
  37. package/context-menu/index.mjs +9 -9
  38. package/context-menu/style.css +1 -1
  39. package/count-up/index.mjs +6 -10
  40. package/custom-scrollbar/index.mjs +5 -9
  41. package/data-box/index.mjs +8 -8
  42. package/data-box/style.css +1 -1
  43. package/data-card/index.mjs +19 -19
  44. package/data-card/style.css +1 -1
  45. package/data-cardtext/index.mjs +22 -22
  46. package/data-cardtext/style.css +1 -1
  47. package/data-display/index.mjs +24 -24
  48. package/data-display/style.css +1 -1
  49. package/data-icons/index.mjs +13 -13
  50. package/data-icons/style.css +1 -1
  51. package/data-imgtext/index.mjs +18 -18
  52. package/data-imgtext/style.css +1 -1
  53. package/data-operatext/index.mjs +28 -28
  54. package/data-operatext/style.css +1 -1
  55. package/data-panel/index.mjs +15 -15
  56. package/data-panel/style.css +1 -1
  57. package/data-pay/index.mjs +7 -7
  58. package/data-pay/style.css +1 -1
  59. package/data-price/index.mjs +5 -5
  60. package/data-price/style.css +1 -1
  61. package/data-progress/index.mjs +16 -16
  62. package/data-progress/style.css +1 -1
  63. package/data-rotate/index.mjs +7 -7
  64. package/data-rotate/style.css +1 -1
  65. package/data-table-picker/index.mjs +2 -2
  66. package/data-tabs/index.mjs +6 -6
  67. package/data-tabs/style.css +1 -1
  68. package/dialog-form/index.mjs +47 -47
  69. package/dialog-form/style.css +1 -1
  70. package/dynamic-table/index.mjs +15 -15
  71. package/dynamic-table/style.css +1 -1
  72. package/e-charts/index.mjs +7 -7
  73. package/e-charts/style.css +1 -1
  74. package/easy-popup/index.mjs +15 -15
  75. package/easy-popup/style.css +1 -1
  76. package/editable-progress/index.mjs +1 -1
  77. package/editable-progress/style.css +1 -1
  78. package/editable-tree/index.mjs +5 -5
  79. package/editable-tree/style.css +1 -1
  80. package/egd-collapse/index.mjs +1 -1
  81. package/egd-collapse-item/index.mjs +1 -1
  82. package/element-dialog/index.mjs +13 -9
  83. package/element-dialog/style.css +1 -1
  84. package/empty-view/index.mjs +9 -9
  85. package/empty-view/style.css +1 -1
  86. package/error-view/index.mjs +13 -13
  87. package/error-view/style.css +1 -1
  88. package/flex-column/index.mjs +2 -2
  89. package/flex-item/index.mjs +12 -6
  90. package/flex-row/index.mjs +2 -2
  91. package/flex-scroller/index.mjs +5 -5
  92. package/flex-scroller/style.css +1 -1
  93. package/flow/index.mjs +23 -9
  94. package/flow/style.css +1 -1
  95. package/flow-designer/index.mjs +156 -63
  96. package/flow-designer/style.css +1 -1
  97. package/flow-node/index.mjs +2 -2
  98. package/flow-viewer/index.mjs +20 -11
  99. package/flow-viewer/style.css +1 -1
  100. package/form-block/index.mjs +23 -20
  101. package/form-block/style.css +1 -1
  102. package/form-button/index.mjs +1 -1
  103. package/form-cascader/index.mjs +7 -5
  104. package/form-checkbox-group/index.mjs +9 -7
  105. package/form-checkbox-group/style.css +1 -1
  106. package/form-date-picker/index.mjs +41 -12
  107. package/form-holder/index.mjs +6 -3
  108. package/form-input/index.mjs +6 -4
  109. package/form-input-email/index.mjs +12 -8
  110. package/form-input-id-card/index.mjs +12 -8
  111. package/form-input-number/index.mjs +10 -8
  112. package/form-input-number/style.css +1 -1
  113. package/form-input-phone-number/index.mjs +12 -8
  114. package/form-input-tag/index.mjs +3 -3
  115. package/form-input-time/index.mjs +6 -4
  116. package/form-item/index.mjs +43 -37
  117. package/form-item/style.css +1 -1
  118. package/form-item-config-provider/index.mjs +1 -1
  119. package/form-item-group/index.mjs +15 -12
  120. package/form-item-group/style.css +1 -1
  121. package/form-radio-group/index.mjs +40 -38
  122. package/form-radio-group/style.css +1 -1
  123. package/form-select/index.mjs +7 -5
  124. package/form-switch/index.mjs +6 -4
  125. package/form-textarea/index.mjs +6 -4
  126. package/form-view/index.mjs +32 -10
  127. package/form-view/style.css +1 -1
  128. package/fy-array/index.mjs +9 -9
  129. package/fy-array/style.css +1 -1
  130. package/fy-article/index.mjs +7 -7
  131. package/fy-article/style.css +1 -1
  132. package/fy-cascader/index.mjs +2 -2
  133. package/fy-checkbox/index.mjs +6 -6
  134. package/fy-checkbox/style.css +1 -1
  135. package/fy-code/index.mjs +2 -2
  136. package/fy-curd/index.mjs +117 -99
  137. package/fy-curd/style.css +1 -1
  138. package/fy-date/index.mjs +8 -8
  139. package/fy-date/style.css +1 -1
  140. package/fy-draggable/index.mjs +3 -3
  141. package/fy-draggable/style.css +1 -1
  142. package/fy-dynamic/index.mjs +51 -43
  143. package/fy-dynamic/style.css +1 -1
  144. package/fy-empty/index.mjs +10 -10
  145. package/fy-empty/style.css +1 -1
  146. package/fy-form/index.mjs +42 -42
  147. package/fy-form/style.css +1 -1
  148. package/fy-form-design/index.mjs +539 -421
  149. package/fy-form-design/style.css +1 -1
  150. package/fy-input/index.mjs +2 -2
  151. package/fy-input-color/index.mjs +2 -2
  152. package/fy-input-icon/index.mjs +5 -5
  153. package/fy-input-icon/style.css +1 -1
  154. package/fy-input-map/index.mjs +21 -15
  155. package/fy-input-map/style.css +1 -1
  156. package/fy-input-number/index.mjs +2 -2
  157. package/fy-input-table/index.mjs +13 -10
  158. package/fy-input-table/style.css +1 -1
  159. package/fy-input-tree/index.mjs +6 -6
  160. package/fy-input-tree/style.css +1 -1
  161. package/fy-progress/index.mjs +1 -1
  162. package/fy-radio/index.mjs +6 -6
  163. package/fy-radio/style.css +1 -1
  164. package/fy-rate/index.mjs +4 -4
  165. package/fy-rate/style.css +1 -1
  166. package/fy-select/index.mjs +27 -27
  167. package/fy-select/style.css +1 -1
  168. package/fy-slider/index.mjs +3 -3
  169. package/fy-switch/index.mjs +2 -2
  170. package/fy-tabs/index.mjs +1 -1
  171. package/fy-time/index.mjs +2 -2
  172. package/fy-title/index.mjs +14 -14
  173. package/fy-title/style.css +1 -1
  174. package/fy-tree/index.mjs +6 -9
  175. package/fy-tree/style.css +1 -1
  176. package/fy-u-editor/index.mjs +34 -32
  177. package/fy-u-editor/style.css +1 -1
  178. package/fy-upload/index.mjs +27 -27
  179. package/fy-upload/style.css +1 -1
  180. package/guide-steps/index.mjs +12 -12
  181. package/guide-steps/style.css +1 -1
  182. package/highlight-j-s/index.mjs +1 -1
  183. package/highlight-j-s/style.css +1 -1
  184. package/icon-card/index.mjs +9 -9
  185. package/icon-card/style.css +1 -1
  186. package/icon-temp/index.mjs +16 -16
  187. package/icon-temp/style.css +1 -1
  188. package/iframe-window/index.mjs +5 -5
  189. package/iframe-window/style.css +1 -1
  190. package/image-cropper/index.mjs +10 -10
  191. package/image-cropper/style.css +1 -1
  192. package/image-preview/index.mjs +7 -7
  193. package/image-preview/style.css +1 -1
  194. package/image-viewer/index.mjs +5 -5
  195. package/image-viewer/style.css +1 -1
  196. package/input-number/index.mjs +2 -2
  197. package/input-number/style.css +1 -1
  198. package/input-number-range/index.mjs +7 -7
  199. package/input-number-range/style.css +1 -1
  200. package/keep-view-alive/index.mjs +6 -2
  201. package/keyboard/index.mjs +21 -20
  202. package/keyboard/style.css +1 -1
  203. package/license/index.mjs +2 -2
  204. package/loading-view/index.mjs +5 -5
  205. package/loading-view/style.css +1 -1
  206. package/login/index.mjs +4 -4
  207. package/login/style.css +1 -1
  208. package/monaco-editor/index.mjs +2 -2
  209. package/name-avatar/index.mjs +6 -6
  210. package/name-avatar/style.css +1 -1
  211. package/nav-bar/index.mjs +8 -8
  212. package/nav-bar/style.css +1 -1
  213. package/not-implement/index.mjs +15 -15
  214. package/not-implement/style.css +1 -1
  215. package/notice/index.mjs +5 -5
  216. package/notice/style.css +1 -1
  217. package/package.json +1 -1
  218. package/page/index.mjs +8 -8
  219. package/page/style.css +1 -1
  220. package/page-header/index.mjs +6 -6
  221. package/page-header/style.css +1 -1
  222. package/page-index/index.mjs +19 -19
  223. package/page-index/style.css +1 -1
  224. package/page-index-top/index.mjs +1 -1
  225. package/page-skeleton/index.mjs +21 -21
  226. package/page-skeleton/style.css +1 -1
  227. package/page-skeleton-new/index.mjs +3 -3
  228. package/page-skeleton-new/style.css +1 -1
  229. package/pageable-table/index.mjs +21 -26
  230. package/pageable-table/style.css +1 -1
  231. package/pageable-view/index.mjs +37 -42
  232. package/pageable-view/style.css +1 -1
  233. package/photo-swipe/index.mjs +4 -2
  234. package/present-view/index.mjs +31 -9
  235. package/present-view/style.css +1 -1
  236. package/queue/index.mjs +4 -4
  237. package/queue/style.css +1 -1
  238. package/record-video/index.mjs +14 -14
  239. package/record-video/style.css +1 -1
  240. package/resize-observer/index.mjs +6 -6
  241. package/resize-observer/style.css +1 -1
  242. package/search/index.mjs +7 -7
  243. package/search/style.css +1 -1
  244. package/search-popover/index.mjs +6 -6
  245. package/search-popover/style.css +1 -1
  246. package/sign/index.mjs +31 -31
  247. package/sign/style.css +1 -1
  248. package/sign-panel/index.mjs +8 -8
  249. package/sign-panel/style.css +1 -1
  250. package/skeleton/index.mjs +10 -10
  251. package/skeleton/style.css +1 -1
  252. package/split-pane/index.mjs +19 -22
  253. package/split-pane/style.css +1 -1
  254. package/stateful/index.mjs +12 -12
  255. package/stateful/style.css +1 -1
  256. package/static-pageable-table/index.mjs +9 -9
  257. package/static-pageable-table/style.css +1 -1
  258. package/swiper/index.mjs +7 -7
  259. package/swiper/style.css +1 -1
  260. package/tab/index.mjs +2 -2
  261. package/tab/style.css +1 -1
  262. package/tab-item/index.mjs +2 -2
  263. package/table-column/index.mjs +10 -6
  264. package/table-view/index.mjs +28 -8
  265. package/table-view/style.css +1 -1
  266. package/tag-render/index.mjs +29 -29
  267. package/tag-render/style.css +1 -1
  268. package/text-ellipsis/index.mjs +9 -12
  269. package/text-ellipsis/style.css +1 -1
  270. package/tinymce-editor/index.mjs +77 -77
  271. package/tinymce-editor/style.css +1 -1
  272. package/toolbar/index.mjs +1 -1
  273. package/toolbar/style.css +1 -1
  274. package/toolbar-button/index.mjs +6 -6
  275. package/toolbar-button/style.css +1 -1
  276. package/verify/index.mjs +10 -10
  277. package/verify/style.css +1 -1
  278. package/vue-cron/index.mjs +1 -1
  279. package/vue-cron/style.css +1 -1
  280. package/vue-qr-code/index.mjs +1 -1
  281. package/vue-quill-editor/index.mjs +3 -3
  282. package/vue-quill-editor/style.css +1 -1
  283. package/vue-tags-input/index.mjs +1 -1
  284. package/vue-tags-input/style.css +1 -1
  285. package/vue-tree-select/index.mjs +25 -22
  286. package/vue-tree-select/style.css +1 -1
  287. package/vue-video-player/index.mjs +32 -29
  288. package/vue-video-player/style.css +1 -1
  289. package/watermark/index.mjs +11 -11
  290. package/watermark/style.css +1 -1
  291. package/web-types.json +31 -31
  292. package/x-input-tag/index.mjs +13 -13
  293. package/x-input-tag/style.css +1 -1
  294. /package/chunks/{form-pick-mixin.y-qhZJi6.mjs → form-pick-mixin.61ad06b2.mjs} +0 -0
  295. /package/chunks/{index.LGsb2aDq.mjs → index.57f871af.mjs} +0 -0
  296. /package/chunks/{input-number-mixin.GE2zr_3s.mjs → input-number-mixin.41a066be.mjs} +0 -0
  297. /package/chunks/{json-beautifier.fUZFSW5j.mjs → json-beautifier.21cfffea.mjs} +0 -0
  298. /package/chunks/{packages.v6r2Hr7E.mjs → packages.1fc9ccba.mjs} +0 -0
  299. /package/chunks/{permission.E9kZbW48.mjs → permission.ce5d2121.mjs} +0 -0
  300. /package/chunks/{slot.j1uMmBnG.mjs → slot.4b391395.mjs} +0 -0
  301. /package/chunks/{tab-mixin.tM9jcRT8.mjs → tab-mixin.e2b9c6a4.mjs} +0 -0
  302. /package/chunks/{vueComponentNormalizer.JwmUNtgn.mjs → vueComponentNormalizer.446f5dc4.mjs} +0 -0
@@ -10,8 +10,8 @@ var r = (t, e, l) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
10
10
  x.call(e, l) && r(t, l, e[l]);
11
11
  return t;
12
12
  }, f = (t, e) => c(t, v(e));
13
- import { g as m } from "../chunks/index.LGsb2aDq.mjs";
14
- import { n as d } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
13
+ import { g as m } from "../chunks/index.57f871af.mjs";
14
+ import { n as d } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
15
15
  const h = {
16
16
  name: "FlexItem",
17
17
  functional: !0,
@@ -51,10 +51,16 @@ const h = {
51
51
  },
52
52
  render(t, { children: e, data: l, props: n }) {
53
53
  const o = m(l.class, n.relative ? "flex-item-relative" : "flex-item");
54
- return n.absolute && !n.relative && o.push("flex-item-relative"), n.center || n.horizonCenter && n.verticalCenter ? (o.push("horizon-center"), o.push("vertical-center")) : (n.horizonCenter && o.push("horizon-center"), n.verticalCenter && o.push("vertical-center")), n.textCenter && o.push("text-center"), n.flexColumn && o.push("flex-column"), n.flexRow && o.push("flex-row"), n.absolute ? t("div", f(a({}, l), { class: o }), [t("div", {
55
- class: "absolute",
56
- style: "overflow:auto"
57
- }, e)]) : t("div", f(a({}, l), { class: o }), e);
54
+ return n.absolute && !n.relative && o.push("flex-item-relative"), n.center || n.horizonCenter && n.verticalCenter ? (o.push("horizon-center"), o.push("vertical-center")) : (n.horizonCenter && o.push("horizon-center"), n.verticalCenter && o.push("vertical-center")), n.textCenter && o.push("text-center"), n.flexColumn && o.push("flex-column"), n.flexRow && o.push("flex-row"), n.absolute ? t("div", f(a({}, l), { class: o }), [
55
+ t(
56
+ "div",
57
+ {
58
+ class: "absolute",
59
+ style: "overflow:auto"
60
+ },
61
+ e
62
+ )
63
+ ]) : t("div", f(a({}, l), { class: o }), e);
58
64
  }
59
65
  };
60
66
  let C, y;
@@ -10,8 +10,8 @@ var s = (t, e, n) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
10
10
  h.call(e, n) && s(t, n, e[n]);
11
11
  return t;
12
12
  }, c = (t, e) => f(t, _(e));
13
- import { g as C } from "../chunks/index.LGsb2aDq.mjs";
14
- import { n as d } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
13
+ import { g as C } from "../chunks/index.57f871af.mjs";
14
+ import { n as d } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
15
15
  const x = {
16
16
  name: "FlexRow",
17
17
  functional: !0,
@@ -1,4 +1,4 @@
1
- import { n as o } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
1
+ import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
2
  var r = function() {
3
3
  var e = this, l = e.$createElement, n = e._self._c || l;
4
4
  return n("div", {
@@ -30,18 +30,18 @@ var a = /* @__PURE__ */ o(
30
30
  r,
31
31
  c,
32
32
  !1,
33
- f,
33
+ _,
34
34
  null,
35
35
  null,
36
36
  null
37
37
  );
38
- function f(e) {
38
+ function _(e) {
39
39
  for (let l in t)
40
40
  this[l] = t[l];
41
41
  }
42
- const _ = /* @__PURE__ */ function() {
42
+ const f = /* @__PURE__ */ function() {
43
43
  return a.exports;
44
44
  }();
45
45
  export {
46
- _ as default
46
+ f as default
47
47
  };
@@ -1 +1 @@
1
- .flex-scroller-wrapper{flex:auto;position:relative}.flex-scroller-wrapper .flex-scroller{position:absolute;top:0;bottom:0;left:0;right:0}.flex-scroller-wrapper .flex-scroller.content-scroll{overflow:auto}
1
+ .flex-scroller-wrapper{flex:auto;position:relative}.flex-scroller-wrapper .flex-scroller{position:absolute;top:0;bottom:0;left:0;right:0}.flex-scroller-wrapper .flex-scroller.content-scroll{overflow:auto}
package/flow/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { s as l, r as c } from "../chunks/util.C2Bhx22L.mjs";
2
- import { n as u } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
1
+ import { s as l, r as c } from "../chunks/util.ae730cde.mjs";
2
+ import { n as u } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
3
  var h = function() {
4
4
  var t = this, e = t.$createElement, n = t._self._c || e;
5
5
  return n("div", {
@@ -68,7 +68,20 @@ const f = {
68
68
  // 默认设置参数
69
69
  jsplumbSetting: {
70
70
  // 动态锚点、位置自适应
71
- Anchors: ["Top", "TopCenter", "TopRight", "TopLeft", "Right", "RightMiddle", "Bottom", "BottomCenter", "BottomRight", "BottomLeft", "Left", "LeftMiddle"],
71
+ Anchors: [
72
+ "Top",
73
+ "TopCenter",
74
+ "TopRight",
75
+ "TopLeft",
76
+ "Right",
77
+ "RightMiddle",
78
+ "Bottom",
79
+ "BottomCenter",
80
+ "BottomRight",
81
+ "BottomLeft",
82
+ "Left",
83
+ "LeftMiddle"
84
+ ],
72
85
  Container: "",
73
86
  // 连线的样式 StateMachine、Flowchart
74
87
  Connector: "Flowchart",
@@ -98,14 +111,12 @@ const f = {
98
111
  },
99
112
  jsplumbSourceOptions: {
100
113
  filter: ".avue-flow__node-drag",
101
- /* "span"表示标签,".className"表示类,"#id"表示元素id */
102
114
  filterExclude: !1,
103
115
  anchor: "Continuous",
104
116
  allowLoopback: !1
105
117
  },
106
118
  jsplumbTargetOptions: {
107
119
  filter: ".avue-flow__node-drag",
108
- /* "span"表示标签,".className"表示类,"#id"表示元素id */
109
120
  filterExclude: !1,
110
121
  anchor: "Continuous",
111
122
  allowLoopback: !1
@@ -210,10 +221,13 @@ const f = {
210
221
  }
211
222
  for (let t = 0; t < this.option.lineList.length; t++) {
212
223
  const e = this.option.lineList[t];
213
- this.jsPlumb.connect({
214
- source: e.from,
215
- target: e.to
216
- }, this.jsplumbConnectOptions);
224
+ this.jsPlumb.connect(
225
+ {
226
+ source: e.from,
227
+ target: e.to
228
+ },
229
+ this.jsplumbConnectOptions
230
+ );
217
231
  }
218
232
  this.$nextTick(function() {
219
233
  this.loadEasyFlowFinish = !0;
package/flow/style.css CHANGED
@@ -1 +1 @@
1
- .avue-flow{position:relative}.avue-flow .avue-draggable{padding:0}.avue-flow__node{box-sizing:border-box;border:1px solid #eee;border-radius:5px;flex-direction:column;width:200px;height:80px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 12px #66a6e0}.avue-flow__node--active{border-width:2px;border-color:#f56c6c}.avue-flow__node-drag{margin:0 5px;display:inline-block}.avue-flow__node-header{background-color:#66a6e0;flex:1}.avue-flow__node-body{text-align:center;background:#fff;flex:1.5;justify-content:center;align-items:center;display:flex}
1
+ .avue-flow{position:relative}.avue-flow .avue-draggable{padding:0}.avue-flow__node{box-sizing:border-box;border:1px solid #eee;border-radius:5px;flex-direction:column;width:200px;height:80px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 12px #66a6e0}.avue-flow__node--active{border-width:2px;border-color:#f56c6c}.avue-flow__node-drag{margin:0 5px;display:inline-block}.avue-flow__node-header{background-color:#66a6e0;flex:1}.avue-flow__node-body{text-align:center;background:#fff;flex:1.5;justify-content:center;align-items:center;display:flex}
@@ -26,7 +26,7 @@ var d = (e, i, t) => new Promise((n, s) => {
26
26
  }, o = (m) => m.done ? n(m.value) : Promise.resolve(m.value).then(r, a);
27
27
  o((t = t.apply(e, i)).next());
28
28
  });
29
- import { assign as y, isArray as Re, forEach as Ve, isObject as ze, isFunction as Ue, some as _ } from "min-dash";
29
+ import { assign as y, isArray as Re, forEach as Ve, isObject as ze, isFunction as Ue, some as k } from "min-dash";
30
30
  import { is as R } from "bpmn-js/lib/util/ModelUtil";
31
31
  import { isExpanded as Ne, isEventSubProcess as Ge } from "bpmn-js/lib/util/DiUtil";
32
32
  import { isAny as N } from "bpmn-js/lib/features/modeling/util/ModelingUtil";
@@ -36,7 +36,7 @@ import Se from "bpmn-js/lib/features/palette/PaletteProvider";
36
36
  import K from "diagram-js/lib/features/auto-place/AutoPlace";
37
37
  import { getMid as Je, asTRBL as Ze } from "diagram-js/lib/layout/LayoutUtil";
38
38
  import { fastClone as g, isBlank as He, isArray as te } from "@web-utils/core";
39
- import { n as h } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
39
+ import { n as h } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
40
40
  import "bpmn-js/dist/assets/bpmn-js.css";
41
41
  import "bpmn-js/dist/assets/diagram-js.css";
42
42
  import "bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css";
@@ -163,7 +163,11 @@ J.prototype.getContextPadEntries = function(e) {
163
163
  });
164
164
  }
165
165
  R(c, "bpmn:FlowNode") && (R(c, "bpmn:EventBasedGateway") ? y(l, {
166
- "append.receive-task": f("bpmn:ReceiveTask", "bpmn-icon-receive-task", p("Append ReceiveTask")),
166
+ "append.receive-task": f(
167
+ "bpmn:ReceiveTask",
168
+ "bpmn-icon-receive-task",
169
+ p("Append ReceiveTask")
170
+ ),
167
171
  "append.message-intermediate-event": f(
168
172
  "bpmn:IntermediateCatchEvent",
169
173
  "bpmn-icon-intermediate-event-catch-message",
@@ -189,9 +193,14 @@ J.prototype.getContextPadEntries = function(e) {
189
193
  { eventDefinitionType: "bpmn:SignalEventDefinition" }
190
194
  )
191
195
  }) : ne(c, "bpmn:BoundaryEvent", "bpmn:CompensateEventDefinition") ? y(l, {
192
- "append.compensation-activity": f("bpmn:Task", "bpmn-icon-task", p("Append compensation activity"), {
193
- isForCompensation: !0
194
- })
196
+ "append.compensation-activity": f(
197
+ "bpmn:Task",
198
+ "bpmn-icon-task",
199
+ p("Append compensation activity"),
200
+ {
201
+ isForCompensation: !0
202
+ }
203
+ )
195
204
  }) : !R(c, "bpmn:EndEvent") && !c.isForCompensation && !ne(c, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !Ge(c) && y(l, {
196
205
  "append.end-event": f("bpmn:EndEvent", "bpmn-icon-end-event-none", p("Append EndEvent")),
197
206
  "append.gateway": f("bpmn:ExclusiveGateway", "bpmn-icon-gateway-none", p("Append Gateway")),
@@ -215,12 +224,19 @@ J.prototype.getContextPadEntries = function(e) {
215
224
  }
216
225
  }
217
226
  }
218
- }), N(c, ["bpmn:FlowNode", "bpmn:InteractionNode", "bpmn:DataObjectReference", "bpmn:DataStoreReference"]) && y(l, {
227
+ }), N(c, [
228
+ "bpmn:FlowNode",
229
+ "bpmn:InteractionNode",
230
+ "bpmn:DataObjectReference",
231
+ "bpmn:DataStoreReference"
232
+ ]) && y(l, {
219
233
  "append.text-annotation": f("bpmn:TextAnnotation", "bpmn-icon-text-annotation"),
220
234
  connect: {
221
235
  group: "connect",
222
236
  className: "bpmn-icon-connection-multi",
223
- title: p(`Connect using ${c.isForCompensation ? "" : "Sequence/MessageFlow or "}Association`),
237
+ title: p(
238
+ `Connect using ${c.isForCompensation ? "" : "Sequence/MessageFlow or "}Association`
239
+ ),
224
240
  action: {
225
241
  click: E,
226
242
  dragstart: E
@@ -264,7 +280,19 @@ const it = {
264
280
  contextPadProvider: ["type", J]
265
281
  };
266
282
  function L(e, i, t, n, s, r, a, o, m) {
267
- Se.call(this, e, i, t, n, s, r, a, o, m, 2e3), this._create = i, this._elementFactory = t, this._spaceTool = n, this._lassoTool = s, this._handTool = r, this._globalConnect = a, this._moddle = o, this._translate = m;
283
+ Se.call(
284
+ this,
285
+ e,
286
+ i,
287
+ t,
288
+ n,
289
+ s,
290
+ r,
291
+ a,
292
+ o,
293
+ m,
294
+ 2e3
295
+ ), this._create = i, this._elementFactory = t, this._spaceTool = n, this._lassoTool = s, this._handTool = r, this._globalConnect = a, this._moddle = o, this._translate = m;
268
296
  }
269
297
  const Z = function() {
270
298
  };
@@ -350,11 +378,31 @@ Z.prototype.getPaletteEntries = function() {
350
378
  }
351
379
  },
352
380
  "tool-separator": { group: "tools", separator: !0 },
353
- "create.start-event": m("bpmn:StartEvent", "event", "bpmn-icon-start-event-none", o("Create StartEvent")),
354
- "create.intermediate-event": m("bpmn:IntermediateThrowEvent", "event", "bpmn-icon-intermediate-event-none", o("Create Intermediate/Boundary Event")),
381
+ "create.start-event": m(
382
+ "bpmn:StartEvent",
383
+ "event",
384
+ "bpmn-icon-start-event-none",
385
+ o("Create StartEvent")
386
+ ),
387
+ "create.intermediate-event": m(
388
+ "bpmn:IntermediateThrowEvent",
389
+ "event",
390
+ "bpmn-icon-intermediate-event-none",
391
+ o("Create Intermediate/Boundary Event")
392
+ ),
355
393
  "create.user-task": m("bpmn:UserTask", "activity", "bpmn-icon-user-task", o("Create User Task")),
356
- "create.exclusive-gateway": m("bpmn:ExclusiveGateway", "activity", "bpmn-icon-gateway-none", o("Create Gateway")),
357
- "create.end-event": m("bpmn:EndEvent", "activity", "bpmn-icon-end-event-none", o("Create EndEvent")),
394
+ "create.exclusive-gateway": m(
395
+ "bpmn:ExclusiveGateway",
396
+ "activity",
397
+ "bpmn-icon-gateway-none",
398
+ o("Create Gateway")
399
+ ),
400
+ "create.end-event": m(
401
+ "bpmn:EndEvent",
402
+ "activity",
403
+ "bpmn-icon-end-event-none",
404
+ o("Create EndEvent")
405
+ ),
358
406
  // 'create.sql-task': createAction('user:MySql', 'activity', 'bpmn-icon-mysql', 'MySQL 节点'),
359
407
  // 'create.data-object': createAction('bpmn:DataObjectReference', 'data-object', 'bpmn-icon-data-object', translate('Create DataObjectReference')),
360
408
  // 'create.data-store': createAction('bpmn:DataStoreReference', 'data-store', 'bpmn-icon-data-store', translate('Create DataStoreReference')),
@@ -380,7 +428,17 @@ Z.prototype.getPaletteEntries = function() {
380
428
  // 'create.group': createAction('bpmn:Group', 'artifact', 'bpmn-icon-group', translate('Create Group'))
381
429
  }), e;
382
430
  };
383
- L.$inject = ["palette", "create", "elementFactory", "spaceTool", "lassoTool", "handTool", "globalConnect", "moddle", "translate"];
431
+ L.$inject = [
432
+ "palette",
433
+ "create",
434
+ "elementFactory",
435
+ "spaceTool",
436
+ "lassoTool",
437
+ "handTool",
438
+ "globalConnect",
439
+ "moddle",
440
+ "translate"
441
+ ];
384
442
  L.prototype = new Z();
385
443
  L.prototype.constructor = L;
386
444
  const st = {
@@ -442,7 +500,7 @@ Ie.prototype = K.prototype;
442
500
  Ce.prototype = new Ie();
443
501
  Ce.prototype.constructor = K;
444
502
  const pt = 200, mt = 100;
445
- function ke(e, i, t) {
503
+ function _e(e, i, t) {
446
504
  e.on("autoPlace", mt, function(n) {
447
505
  const s = n.shape, r = n.source;
448
506
  return ct(r, s);
@@ -463,7 +521,7 @@ function ke(e, i, t) {
463
521
  }), o;
464
522
  };
465
523
  }
466
- ke.$inject = ["eventBus", "modeling", "canvas"];
524
+ _e.$inject = ["eventBus", "modeling", "canvas"];
467
525
  function ct(e, i) {
468
526
  const t = pt, n = Je(e);
469
527
  return {
@@ -473,9 +531,9 @@ function ct(e, i) {
473
531
  }
474
532
  const ut = {
475
533
  __init__: ["autoPlaceSelectionBehavior"],
476
- autoPlace: ["type", ke]
534
+ autoPlace: ["type", _e]
477
535
  };
478
- function _e(e, i, t, n) {
536
+ function ke(e, i, t, n) {
479
537
  const s = /* @__PURE__ */ Object.create(null);
480
538
  switch (s.event = i.event, t && (s.id = i.id), i.listenerType) {
481
539
  case "scriptListener":
@@ -771,7 +829,7 @@ var Ct = function() {
771
829
  }
772
830
  })], 1)])]);
773
831
  }, It = [];
774
- const kt = {
832
+ const _t = {
775
833
  name: "ElementOtherConfig",
776
834
  props: {
777
835
  id: String,
@@ -790,7 +848,9 @@ const kt = {
790
848
  if (He(this.element))
791
849
  this.documentation = "";
792
850
  else {
793
- const { businessObject: { documentation: e } } = this.element;
851
+ const {
852
+ businessObject: { documentation: e }
853
+ } = this.element;
794
854
  this.documentation = (e == null ? void 0 : e[0].text) || "";
795
855
  }
796
856
  }
@@ -798,7 +858,9 @@ const kt = {
798
858
  },
799
859
  methods: {
800
860
  updateDocumentation() {
801
- const { modeling: e } = this.bpmnInstances, { businessObject: { documentation: i } } = this.element;
861
+ const { modeling: e } = this.bpmnInstances, {
862
+ businessObject: { documentation: i }
863
+ } = this.element;
802
864
  if (i != null && i.length)
803
865
  i[0].set("text", this.documentation), e.updateProperties(this.element, { documentation: i });
804
866
  else {
@@ -808,8 +870,8 @@ const kt = {
808
870
  }
809
871
  }
810
872
  }, se = {};
811
- var _t = /* @__PURE__ */ h(
812
- kt,
873
+ var kt = /* @__PURE__ */ h(
874
+ _t,
813
875
  Ct,
814
876
  It,
815
877
  !1,
@@ -823,7 +885,7 @@ function At(e) {
823
885
  this[i] = se[i];
824
886
  }
825
887
  const wt = /* @__PURE__ */ function() {
826
- return _t.exports;
888
+ return kt.exports;
827
889
  }();
828
890
  var $t = function() {
829
891
  var e = this, i = e.$createElement, t = e._self._c || i;
@@ -1807,7 +1869,11 @@ const sn = {
1807
1869
  e.loopCharacteristics.isSequential ? this.loopCharacteristics = "SequentialMultiInstance" : this.loopCharacteristics = "ParallelMultiInstance", this.loopInstanceForm = T(u(u({}, this.defaultLoopInstanceForm), e.loopCharacteristics), {
1808
1870
  completionCondition: (n = (t = (i = e.loopCharacteristics) == null ? void 0 : i.completionCondition) == null ? void 0 : t.body) != null ? n : "",
1809
1871
  loopCardinality: (a = (r = (s = e.loopCharacteristics) == null ? void 0 : s.loopCardinality) == null ? void 0 : r.body) != null ? a : ""
1810
- }), this.multiLoopInstance = this.element.businessObject.loopCharacteristics, e.loopCharacteristics.extensionElements && e.loopCharacteristics.extensionElements.values && e.loopCharacteristics.extensionElements.values.length && this.$set(this.loopInstanceForm, "timeCycle", e.loopCharacteristics.extensionElements.values[0].body);
1872
+ }), this.multiLoopInstance = this.element.businessObject.loopCharacteristics, e.loopCharacteristics.extensionElements && e.loopCharacteristics.extensionElements.values && e.loopCharacteristics.extensionElements.values.length && this.$set(
1873
+ this.loopInstanceForm,
1874
+ "timeCycle",
1875
+ e.loopCharacteristics.extensionElements.values[0].body
1876
+ );
1811
1877
  },
1812
1878
  changeLoopCharacteristicsType(e) {
1813
1879
  if (e === "Null") {
@@ -3055,7 +3121,9 @@ const Sn = {
3055
3121
  methods: {
3056
3122
  resetListenersList() {
3057
3123
  var e, i, t, n;
3058
- this.otherExtensionList = [], this.bpmnElementListeners = (n = (t = (i = (e = this.element.businessObject) == null ? void 0 : e.extensionElements) == null ? void 0 : i.values) == null ? void 0 : t.filter((s) => s.$type === `${this.prefix}:ExecutionListener`)) != null ? n : [], this.elementListenersList = this.bpmnElementListeners.map((s) => we(s));
3124
+ this.otherExtensionList = [], this.bpmnElementListeners = (n = (t = (i = (e = this.element.businessObject) == null ? void 0 : e.extensionElements) == null ? void 0 : i.values) == null ? void 0 : t.filter(
3125
+ (s) => s.$type === `${this.prefix}:ExecutionListener`
3126
+ )) != null ? n : [], this.elementListenersList = this.bpmnElementListeners.map((s) => we(s));
3059
3127
  },
3060
3128
  changeFiledType(e) {
3061
3129
  e === "string" ? (delete this.listenerFieldForm.expression, this.$set(this.listenerFieldForm, "string", "")) : (delete this.listenerFieldForm.string, this.$set(this.listenerFieldForm, "expression", ""));
@@ -3092,7 +3160,11 @@ const Sn = {
3092
3160
  removeListener(e, i) {
3093
3161
  return d(this, null, function* () {
3094
3162
  try {
3095
- yield this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(i, 1), this.elementListenersList.splice(i, 1), U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners));
3163
+ yield this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(i, 1), this.elementListenersList.splice(i, 1), U(
3164
+ this.bpmnInstances,
3165
+ this.element,
3166
+ this.otherExtensionList.concat(this.bpmnElementListeners)
3167
+ );
3096
3168
  } catch (t) {
3097
3169
  }
3098
3170
  });
@@ -3103,8 +3175,14 @@ const Sn = {
3103
3175
  var t, n, s, r;
3104
3176
  if (!(yield this.$refs.listenerFormRef.validate()))
3105
3177
  return;
3106
- const i = _e(this.bpmnInstances, this.listenerForm, !1, this.prefix);
3107
- this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(i), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, i), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (r = (s = (n = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : n.values) == null ? void 0 : s.filter((a) => a.$type !== `${this.prefix}:ExecutionListener`)) != null ? r : [], U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
3178
+ const i = ke(this.bpmnInstances, this.listenerForm, !1, this.prefix);
3179
+ this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(i), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, i), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (r = (s = (n = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : n.values) == null ? void 0 : s.filter(
3180
+ (a) => a.$type !== `${this.prefix}:ExecutionListener`
3181
+ )) != null ? r : [], U(
3182
+ this.bpmnInstances,
3183
+ this.element,
3184
+ this.otherExtensionList.concat(this.bpmnElementListeners)
3185
+ ), this.listenerFormModelVisible = !1, this.listenerForm = {};
3108
3186
  });
3109
3187
  }
3110
3188
  }
@@ -3126,7 +3204,7 @@ function Cn(e) {
3126
3204
  const In = /* @__PURE__ */ function() {
3127
3205
  return Tn.exports;
3128
3206
  }();
3129
- var kn = function() {
3207
+ var _n = function() {
3130
3208
  var e = this, i = e.$createElement, t = e._self._c || i;
3131
3209
  return t("div", {
3132
3210
  staticClass: "panel-tab__content"
@@ -3292,7 +3370,7 @@ var kn = function() {
3292
3370
  expression: "propertyForm.value"
3293
3371
  }
3294
3372
  })], 1)], 1)], 1)], 1);
3295
- }, _n = [];
3373
+ }, kn = [];
3296
3374
  const An = {
3297
3375
  name: "ElementProperties",
3298
3376
  inject: {
@@ -3323,7 +3401,10 @@ const An = {
3323
3401
  methods: {
3324
3402
  resetAttributesList() {
3325
3403
  var e, i, t, n, s;
3326
- this.otherExtensionList = [], this.bpmnElementProperties = (n = (t = (i = (e = this.element.businessObject) == null ? void 0 : e.extensionElements) == null ? void 0 : i.values) == null ? void 0 : t.filter((r) => (r.$type !== `${this.prefix}:Properties` && this.otherExtensionList.push(r), r.$type === `${this.prefix}:Properties`))) != null ? n : [], this.bpmnElementPropertyList = this.bpmnElementProperties.reduce((r, a) => r.concat(a.values), []), this.elementPropertyList = g((s = this.bpmnElementPropertyList) != null ? s : []);
3404
+ this.otherExtensionList = [], this.bpmnElementProperties = (n = (t = (i = (e = this.element.businessObject) == null ? void 0 : e.extensionElements) == null ? void 0 : i.values) == null ? void 0 : t.filter((r) => (r.$type !== `${this.prefix}:Properties` && this.otherExtensionList.push(r), r.$type === `${this.prefix}:Properties`))) != null ? n : [], this.bpmnElementPropertyList = this.bpmnElementProperties.reduce(
3405
+ (r, a) => r.concat(a.values),
3406
+ []
3407
+ ), this.elementPropertyList = g((s = this.bpmnElementPropertyList) != null ? s : []);
3327
3408
  },
3328
3409
  openAttributesForm(e, i) {
3329
3410
  this.editingPropertyIndex = i, this.propertyForm = i === -1 ? {} : g(e), this.propertyFormModelVisible = !0, this.$nextTick(() => {
@@ -3346,10 +3427,14 @@ const An = {
3346
3427
  saveAttribute() {
3347
3428
  const { name: e, value: i } = this.propertyForm;
3348
3429
  if (this.editingPropertyIndex !== -1)
3349
- this.bpmnInstances.modeling.updateModdleProperties(this.element, this.bpmnElementPropertyList[this.editingPropertyIndex], {
3350
- name: e,
3351
- value: i
3352
- });
3430
+ this.bpmnInstances.modeling.updateModdleProperties(
3431
+ this.element,
3432
+ this.bpmnElementPropertyList[this.editingPropertyIndex],
3433
+ {
3434
+ name: e,
3435
+ value: i
3436
+ }
3437
+ );
3353
3438
  else {
3354
3439
  const t = this.bpmnInstances.moddle.create(`${this.prefix}:Property`, { name: e, value: i }), n = this.bpmnInstances.moddle.create(`${this.prefix}:Properties`, {
3355
3440
  values: this.bpmnElementPropertyList.concat([t])
@@ -3370,8 +3455,8 @@ const An = {
3370
3455
  }, de = {};
3371
3456
  var wn = /* @__PURE__ */ h(
3372
3457
  An,
3373
- kn,
3374
3458
  _n,
3459
+ kn,
3375
3460
  !1,
3376
3461
  $n,
3377
3462
  null,
@@ -4701,7 +4786,7 @@ var Rn = function() {
4701
4786
  return e.removeListenerField(s, r);
4702
4787
  }
4703
4788
  }
4704
- }, [e._v("移除")])];
4789
+ }, [e._v(" 移除 ")])];
4705
4790
  }
4706
4791
  }])
4707
4792
  })], 1), t("div", {
@@ -4907,7 +4992,9 @@ const zn = {
4907
4992
  methods: {
4908
4993
  resetListenersList() {
4909
4994
  var e, i, t, n;
4910
- this.otherExtensionList = [], this.bpmnElementListeners = (n = (t = (i = (e = this.element.businessObject) == null ? void 0 : e.extensionElements) == null ? void 0 : i.values) == null ? void 0 : t.filter((s) => s.$type === `${this.prefix}:TaskListener`)) != null ? n : [], this.elementListenersList = this.bpmnElementListeners.map((s) => we(s));
4995
+ this.otherExtensionList = [], this.bpmnElementListeners = (n = (t = (i = (e = this.element.businessObject) == null ? void 0 : e.extensionElements) == null ? void 0 : i.values) == null ? void 0 : t.filter(
4996
+ (s) => s.$type === `${this.prefix}:TaskListener`
4997
+ )) != null ? n : [], this.elementListenersList = this.bpmnElementListeners.map((s) => we(s));
4911
4998
  },
4912
4999
  openListenerForm(e, i) {
4913
5000
  return d(this, null, function* () {
@@ -4921,7 +5008,11 @@ const zn = {
4921
5008
  removeListener(e, i) {
4922
5009
  return d(this, null, function* () {
4923
5010
  try {
4924
- yield this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(i, 1), this.elementListenersList.splice(i, 1), U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners));
5011
+ yield this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(i, 1), this.elementListenersList.splice(i, 1), U(
5012
+ this.bpmnInstances,
5013
+ this.element,
5014
+ this.otherExtensionList.concat(this.bpmnElementListeners)
5015
+ );
4925
5016
  } catch (t) {
4926
5017
  }
4927
5018
  });
@@ -4932,8 +5023,14 @@ const zn = {
4932
5023
  var t, n, s, r;
4933
5024
  if (!(yield this.$refs.listenerFormRef.validate()))
4934
5025
  return;
4935
- const i = _e(this.bpmnInstances, this.listenerForm, !0, this.prefix);
4936
- this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(i), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, i), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (r = (s = (n = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : n.values) == null ? void 0 : s.filter((a) => a.$type !== `${this.prefix}:TaskListener`)) != null ? r : [], U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
5026
+ const i = ke(this.bpmnInstances, this.listenerForm, !0, this.prefix);
5027
+ this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(i), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, i), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (r = (s = (n = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : n.values) == null ? void 0 : s.filter(
5028
+ (a) => a.$type !== `${this.prefix}:TaskListener`
5029
+ )) != null ? r : [], U(
5030
+ this.bpmnInstances,
5031
+ this.element,
5032
+ this.otherExtensionList.concat(this.bpmnElementListeners)
5033
+ ), this.listenerFormModelVisible = !1, this.listenerForm = {};
4937
5034
  });
4938
5035
  },
4939
5036
  // 打开监听器字段编辑弹窗
@@ -9279,41 +9376,41 @@ function A(e) {
9279
9376
  }
9280
9377
  A.$inject = ["eventBus"];
9281
9378
  A.prototype.canCopyProperty = function(e, i) {
9282
- if (ze(e) && !xi(e, i) || k(e, "camunda:InputOutput") && !this.canHostInputOutput(i) || Me(e, ["camunda:Connector", "camunda:Field"]) && !this.canHostConnector(i) || k(e, "camunda:In") && !this.canHostIn(i))
9379
+ if (ze(e) && !xi(e, i) || _(e, "camunda:InputOutput") && !this.canHostInputOutput(i) || Me(e, ["camunda:Connector", "camunda:Field"]) && !this.canHostConnector(i) || _(e, "camunda:In") && !this.canHostIn(i))
9283
9380
  return !1;
9284
9381
  };
9285
9382
  A.prototype.canHostInputOutput = function(e) {
9286
9383
  if (x(e, "camunda:Connector"))
9287
9384
  return !0;
9288
9385
  const t = x(e, "bpmn:FlowNode");
9289
- return !(!t || Me(t, ["bpmn:StartEvent", "bpmn:Gateway", "bpmn:BoundaryEvent"]) || k(t, "bpmn:SubProcess") && t.get("triggeredByEvent"));
9386
+ return !(!t || Me(t, ["bpmn:StartEvent", "bpmn:Gateway", "bpmn:BoundaryEvent"]) || _(t, "bpmn:SubProcess") && t.get("triggeredByEvent"));
9290
9387
  };
9291
9388
  A.prototype.canHostConnector = function(e) {
9292
9389
  const i = x(e, "camunda:ServiceTaskLike");
9293
- return k(i, "bpmn:MessageEventDefinition") ? x(e, "bpmn:IntermediateThrowEvent") || x(e, "bpmn:EndEvent") : !0;
9390
+ return _(i, "bpmn:MessageEventDefinition") ? x(e, "bpmn:IntermediateThrowEvent") || x(e, "bpmn:EndEvent") : !0;
9294
9391
  };
9295
9392
  A.prototype.canHostIn = function(e) {
9296
9393
  return x(e, "bpmn:CallActivity") ? !0 : x(e, "bpmn:SignalEventDefinition") ? x(e, "bpmn:IntermediateThrowEvent") || x(e, "bpmn:EndEvent") : !0;
9297
9394
  };
9298
- function k(e, i) {
9395
+ function _(e, i) {
9299
9396
  return e && Ue(e.$instanceOf) && e.$instanceOf(i);
9300
9397
  }
9301
9398
  function Me(e, i) {
9302
- return _(i, function(t) {
9303
- return k(e, t);
9399
+ return k(i, function(t) {
9400
+ return _(e, t);
9304
9401
  });
9305
9402
  }
9306
9403
  function x(e, i) {
9307
9404
  if (!i)
9308
9405
  return e.$parent;
9309
- if (k(e, i))
9406
+ if (_(e, i))
9310
9407
  return e;
9311
9408
  if (e.$parent)
9312
9409
  return x(e.$parent, i);
9313
9410
  }
9314
9411
  function xi(e, i) {
9315
9412
  const t = e.$type && e.$model.getTypeDescriptor(e.$type), n = t && t.meta && t.meta.allowedIn;
9316
- return !n || Si(n) ? !0 : _(n, function(s) {
9413
+ return !n || Si(n) ? !0 : k(n, function(s) {
9317
9414
  return x(i, s);
9318
9415
  });
9319
9416
  }
@@ -9335,18 +9432,18 @@ function Ii(e) {
9335
9432
  return e && e.length;
9336
9433
  }
9337
9434
  function V(e, i) {
9338
- return Ii(e) && _(e, function(t) {
9435
+ return Ii(e) && k(e, function(t) {
9339
9436
  return H(t, i);
9340
9437
  });
9341
9438
  }
9342
- function ki(e, i) {
9343
- return _(i, function(t) {
9439
+ function _i(e, i) {
9440
+ return k(i, function(t) {
9344
9441
  return H(e, t);
9345
9442
  });
9346
9443
  }
9347
9444
  function G(e, i, t) {
9348
9445
  const n = i.name, s = Ci[n.replace(/activiti:/, "")];
9349
- return n === e && ki(t, s);
9446
+ return n === e && _i(t, s);
9350
9447
  }
9351
9448
  function W(e) {
9352
9449
  e.on(
@@ -9365,7 +9462,7 @@ W.prototype.canCloneProperty = function(e, i) {
9365
9462
  if (G("activiti:Connector", i, e) || G("activiti:Field", i, e))
9366
9463
  return V(e.eventDefinitions, "bpmn:MessageEventDefinition");
9367
9464
  };
9368
- const _i = {
9465
+ const ki = {
9369
9466
  __init__: ["ActivitiModdleExtension"],
9370
9467
  ActivitiModdleExtension: ["type", W]
9371
9468
  }, Ai = {
@@ -9380,12 +9477,12 @@ function wi(e) {
9380
9477
  return e && e.length;
9381
9478
  }
9382
9479
  function z(e, i) {
9383
- return wi(e) && _(e, function(t) {
9480
+ return wi(e) && k(e, function(t) {
9384
9481
  return X(t, i);
9385
9482
  });
9386
9483
  }
9387
9484
  function $i(e, i) {
9388
- return _(i, function(t) {
9485
+ return k(i, function(t) {
9389
9486
  return X(e, t);
9390
9487
  });
9391
9488
  }
@@ -9851,7 +9948,7 @@ const Pi = {
9851
9948
  const i = {
9852
9949
  translate: ["value", Yn(this.translations || Qn)]
9853
9950
  };
9854
- return e.push(i), this.simulation && e.push(Ye), e.push(Xe), this.prefix === "camunda" && e.push(Ti), this.prefix === "flowable" && e.push(Li), this.prefix === "activiti" && e.push(_i), e;
9951
+ return e.push(i), this.simulation && e.push(Ye), e.push(Xe), this.prefix === "camunda" && e.push(Ti), this.prefix === "flowable" && e.push(Li), this.prefix === "activiti" && e.push(ki), e;
9855
9952
  },
9856
9953
  moddleExtensions() {
9857
9954
  const e = {};
@@ -10148,11 +10245,7 @@ const zi = {
10148
10245
  labelVisible: !1,
10149
10246
  prefix: "flowable",
10150
10247
  headerButtonSize: "mini",
10151
- additionalModel: [
10152
- it,
10153
- st,
10154
- ut
10155
- ]
10248
+ additionalModel: [it, st, ut]
10156
10249
  }
10157
10250
  };
10158
10251
  },