@web-utils/component 3.0.2 → 3.0.3

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 (166) hide show
  1. package/address-input/index.mjs +14 -14
  2. package/chat/index.mjs +39 -40
  3. package/chunk-file-uploader/index.mjs +35 -594
  4. package/chunk-file-uploader/style.css +1 -1
  5. package/chunks/FormTemp.d079292b.mjs +139 -0
  6. package/chunks/{dataformat.816df805.mjs → dataformat.e655611c.mjs} +6 -6
  7. package/chunks/detail.d6f8e347.mjs +29 -0
  8. package/chunks/{dic.3b4ba802.mjs → dic.eaac0823.mjs} +40 -40
  9. package/chunks/{event.4377230d.mjs → event.10295951.mjs} +2 -2
  10. package/chunks/form-input-mixin.78a567bc.mjs +24 -0
  11. package/chunks/form-item-mixin.57cb2019.mjs +140 -0
  12. package/chunks/{index.d91bd77a.mjs → index.57f871af.mjs} +7 -7
  13. package/chunks/{init.f0a03127.mjs → init.47f219b4.mjs} +2 -2
  14. package/chunks/input-number-mixin.41a066be.mjs +60 -0
  15. package/chunks/{util.7844e2c2.mjs → util.ae730cde.mjs} +21 -21
  16. package/count-up/index.mjs +17 -14
  17. package/data-box/index.mjs +18 -19
  18. package/data-display/index.mjs +17 -18
  19. package/data-icons/index.mjs +16 -17
  20. package/data-panel/index.mjs +20 -21
  21. package/data-pay/index.mjs +15 -16
  22. package/data-progress/index.mjs +19 -20
  23. package/data-rotate/index.mjs +35 -36
  24. package/data-table-picker/index.mjs +23 -25
  25. package/data-tabs/index.mjs +15 -16
  26. package/dialog-form/index.mjs +11 -12
  27. package/dynamic-table/index.mjs +34 -35
  28. package/easy-popup/index.mjs +56 -29
  29. package/editable-tree/index.mjs +485 -134
  30. package/element-dialog/index.mjs +127 -37
  31. package/empty-view/index.mjs +31 -13
  32. package/flex-column/index.mjs +1 -1
  33. package/flex-item/index.mjs +1 -1
  34. package/flex-row/index.mjs +1 -1
  35. package/flow/index.mjs +40 -105
  36. package/flow-designer/index.mjs +555 -615
  37. package/flow-node/index.mjs +47 -15
  38. package/flow-viewer/index.mjs +78 -167
  39. package/form-cascader/index.mjs +24 -24
  40. package/form-checkbox-group/index.mjs +35 -79
  41. package/form-date-picker/index.mjs +22 -22
  42. package/form-holder/index.mjs +1 -1
  43. package/form-input/index.mjs +86 -28
  44. package/form-input-email/index.mjs +18 -18
  45. package/form-input-id-card/index.mjs +27 -27
  46. package/form-input-number/index.mjs +59 -219
  47. package/form-input-phone-number/index.mjs +27 -27
  48. package/form-input-tag/index.mjs +38 -160
  49. package/form-input-time/index.mjs +16 -16
  50. package/form-item/index.mjs +146 -15
  51. package/form-item-group/index.mjs +164 -14
  52. package/form-radio-group/index.mjs +41 -41
  53. package/form-select/index.mjs +20 -20
  54. package/form-switch/index.mjs +19 -19
  55. package/form-textarea/index.mjs +29 -29
  56. package/form-view/index.mjs +42 -46
  57. package/fy-array/index.mjs +2 -2
  58. package/fy-cascader/index.mjs +15 -15
  59. package/fy-checkbox/index.mjs +1 -1
  60. package/fy-code/index.mjs +1 -1
  61. package/fy-curd/index.mjs +2824 -210
  62. package/fy-date/index.mjs +59 -17
  63. package/fy-draggable/index.mjs +1 -1
  64. package/fy-dynamic/index.mjs +208 -64
  65. package/fy-empty/index.mjs +29 -12
  66. package/fy-form/index.mjs +743 -178
  67. package/fy-form-design/index.mjs +1013 -1540
  68. package/fy-input/index.mjs +105 -17
  69. package/fy-input-color/index.mjs +67 -16
  70. package/fy-input-icon/index.mjs +119 -23
  71. package/fy-input-map/index.mjs +14 -15
  72. package/fy-input-number/index.mjs +1 -1
  73. package/fy-input-table/index.mjs +19 -21
  74. package/fy-input-tree/index.mjs +3 -3
  75. package/fy-radio/index.mjs +1 -1
  76. package/fy-rate/index.mjs +50 -16
  77. package/fy-select/index.mjs +126 -29
  78. package/fy-slider/index.mjs +2 -2
  79. package/fy-switch/index.mjs +1 -1
  80. package/fy-tabs/index.mjs +51 -15
  81. package/fy-time/index.mjs +1 -1
  82. package/fy-title/index.mjs +1 -1
  83. package/fy-tree/index.mjs +23 -25
  84. package/fy-u-editor/index.mjs +1 -1
  85. package/fy-upload/index.mjs +2 -2
  86. package/highlight-j-s/index.mjs +29 -19
  87. package/icon-temp/index.mjs +30 -12
  88. package/iframe-window/index.mjs +18 -19
  89. package/image-cropper/index.mjs +22 -23
  90. package/image-preview/index.mjs +1 -1
  91. package/input-number/index.mjs +173 -63
  92. package/license/index.mjs +1 -1
  93. package/loading-view/index.mjs +33 -15
  94. package/login/index.mjs +1 -1
  95. package/nav-bar/index.mjs +31 -15
  96. package/package.json +1 -1
  97. package/page/index.mjs +20 -12
  98. package/page-header/index.mjs +34 -13
  99. package/page-index-top/index.mjs +53 -100
  100. package/page-skeleton/index.mjs +35 -18
  101. package/page-skeleton-new/index.mjs +15 -16
  102. package/pageable-table/index.mjs +228 -86
  103. package/pageable-view/index.mjs +1 -1
  104. package/present-view/index.mjs +71 -75
  105. package/record-video/index.mjs +1 -1
  106. package/resize-observer/index.mjs +29 -21
  107. package/search/index.mjs +9 -9
  108. package/search-popover/index.mjs +1 -1
  109. package/sign/index.mjs +1 -1
  110. package/split-pane/index.mjs +45 -40
  111. package/swiper/index.mjs +13 -14
  112. package/table-view/index.mjs +97 -631
  113. package/text-ellipsis/index.mjs +1 -1
  114. package/tinymce-editor/index.mjs +63 -63
  115. package/toolbar/index.mjs +208 -15
  116. package/toolbar-button/index.mjs +56 -30
  117. package/verify/index.mjs +1 -1
  118. package/watermark/index.mjs +1 -1
  119. package/web-types.json +1 -1
  120. package/x-input-tag/index.mjs +118 -49
  121. package/chunks/CountUp.f1a19f35.mjs +0 -124
  122. package/chunks/CountUp.vue_vue_type_template_lang.1f68c96e.mjs +0 -8
  123. package/chunks/EasyPopup.vue_vue_type_style_index_0_lang.89350bda.mjs +0 -32
  124. package/chunks/EditableTree.vue_vue_type_style_index_0_lang.5dba9f89.mjs +0 -356
  125. package/chunks/ElementDialog.d8f3105c.mjs +0 -211
  126. package/chunks/ElementDialog.vue_vue_type_style_index_0_lang.57cb8e07.mjs +0 -95
  127. package/chunks/EmptyView.e2430422.mjs +0 -51
  128. package/chunks/EmptyView.vue_vue_type_style_index_0_lang.ffa84770.mjs +0 -23
  129. package/chunks/FlowNode.vue_vue_type_template_lang.662bdcfa.mjs +0 -37
  130. package/chunks/FormInput.vue_vue_type_template_lang.3cb79386.mjs +0 -65
  131. package/chunks/FormItem.2920ac0c.mjs +0 -45
  132. package/chunks/FormItem.vue_vue_type_style_index_0_lang.970bd712.mjs +0 -258
  133. package/chunks/FormItemGroup.41daddb6.mjs +0 -64
  134. package/chunks/FormItemGroup.vue_vue_type_style_index_0_lang.b588a8ea.mjs +0 -155
  135. package/chunks/FyCurd.8acd2983.mjs +0 -548
  136. package/chunks/FyCurd.vue_vue_type_style_index_0_lang.4fbd4b30.mjs +0 -2945
  137. package/chunks/FyDate.vue_vue_type_style_index_0_lang.429c03e3.mjs +0 -47
  138. package/chunks/FyDynamic.vue_vue_type_style_index_0_lang.304417ce.mjs +0 -151
  139. package/chunks/FyEmpty.vue_vue_type_style_index_0_lang.fc8bd24c.mjs +0 -22
  140. package/chunks/FyForm.0294e494.mjs +0 -439
  141. package/chunks/FyForm.vue_vue_type_style_index_0_lang.6e64daee.mjs +0 -737
  142. package/chunks/FyInput.vue_vue_type_template_lang.d2c56811.mjs +0 -93
  143. package/chunks/FyInputColor.vue_vue_type_template_lang.6eca0ddd.mjs +0 -56
  144. package/chunks/FyInputIcon.vue_vue_type_style_index_0_lang.11a6a221.mjs +0 -158
  145. package/chunks/FyRate.vue_vue_type_style_index_0_lang.82174185.mjs +0 -39
  146. package/chunks/FySelect.vue_vue_type_style_index_0_lang.5f0f3244.mjs +0 -102
  147. package/chunks/FyTabs.vue_vue_type_template_lang.66af5ac9.mjs +0 -41
  148. package/chunks/HighlightJS.vue_vue_type_style_index_0_lang.fefeaa3b.mjs +0 -15
  149. package/chunks/IconTemp.42c48e1f.mjs +0 -32
  150. package/chunks/IconTemp.vue_vue_type_style_index_0_lang.a0777b31.mjs +0 -23
  151. package/chunks/InputNumber.vue_vue_type_style_index_0_lang.18046bd3.mjs +0 -172
  152. package/chunks/LoadingView.vue_vue_type_style_index_0_lang.4c3fff2a.mjs +0 -23
  153. package/chunks/NavBar.vue_vue_type_style_index_0_lang.e21b57f3.mjs +0 -21
  154. package/chunks/Page.81f4b8d9.mjs +0 -32
  155. package/chunks/Page.vue_vue_type_style_index_0_lang.cb4f9bf2.mjs +0 -13
  156. package/chunks/PageHeader.vue_vue_type_style_index_0_lang.3bcca5aa.mjs +0 -26
  157. package/chunks/PageSkeleton.vue_vue_type_style_index_0_lang.8621381f.mjs +0 -88
  158. package/chunks/PageableTable.333cbdc1.mjs +0 -335
  159. package/chunks/PageableTable.vue_vue_type_style_index_0_lang.fd89fb43.mjs +0 -148
  160. package/chunks/ResizeObserver.60f728f0.mjs +0 -54
  161. package/chunks/ResizeObserver.vue_vue_type_style_index_0_lang.7079029c.mjs +0 -13
  162. package/chunks/TableColumn.8503272e.mjs +0 -106
  163. package/chunks/Toolbar.5c539dbb.mjs +0 -24
  164. package/chunks/Toolbar.vue_vue_type_style_index_0_lang.7594243c.mjs +0 -275
  165. package/chunks/ToolbarButton.vue_vue_type_style_index_0_lang.e2cb14ba.mjs +0 -31
  166. package/chunks/XInputTag.vue_vue_type_style_index_0_lang.7ad045b3.mjs +0 -74
@@ -1,6 +1,38 @@
1
- import { s as t } from "../chunks/util.7844e2c2.mjs";
2
- import { s, r as n } from "../chunks/FlowNode.vue_vue_type_template_lang.662bdcfa.mjs";
1
+ import { s as n } from "../chunks/util.ae730cde.mjs";
3
2
  import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
+ var l = function() {
4
+ var e = this, o = e.$createElement, t = e._self._c || o;
5
+ return t("div", {
6
+ ref: "node",
7
+ style: e.flowNodeContainer,
8
+ attrs: {
9
+ left: e.node.left,
10
+ top: e.node.top,
11
+ disabled: "",
12
+ mask: !1
13
+ },
14
+ on: {
15
+ mouseenter: e.showDelete,
16
+ mouseleave: e.hideDelete,
17
+ mouseup: e.changeNodeSite
18
+ }
19
+ }, [t("div", {
20
+ class: ["avue-flow__node", {
21
+ active: e.active === e.node.id
22
+ }]
23
+ }, [t("div", {
24
+ staticClass: "avue-flow__node-header"
25
+ }, [t("i", {
26
+ staticClass: "el-icon-rank",
27
+ class: e.b("node-drag")
28
+ }), e._t("header", null, {
29
+ node: e.node
30
+ })], 2), t("div", {
31
+ staticClass: "avue-flow__node-body"
32
+ }, [e._t("default", null, {
33
+ node: e.node
34
+ })], 2)])]);
35
+ }, a = [];
4
36
  const i = {
5
37
  name: "FlowNode",
6
38
  props: {
@@ -21,8 +53,8 @@ const i = {
21
53
  return {
22
54
  position: "absolute",
23
55
  width: "200px",
24
- top: t(this.node.top),
25
- left: t(this.node.left),
56
+ top: n(this.node.top),
57
+ left: n(this.node.left),
26
58
  boxShadow: this.mouseEnter ? "#66a6e0 0px 0px 12px 0px" : "",
27
59
  backgroundColor: "transparent"
28
60
  };
@@ -47,24 +79,24 @@ const i = {
47
79
  });
48
80
  }
49
81
  }
50
- }, o = {};
51
- var l = /* @__PURE__ */ r(
82
+ }, s = {};
83
+ var d = /* @__PURE__ */ r(
52
84
  i,
53
- n,
54
- s,
85
+ l,
86
+ a,
55
87
  !1,
56
- d,
88
+ u,
57
89
  null,
58
90
  null,
59
91
  null
60
92
  );
61
- function d(p) {
62
- for (let e in o)
63
- this[e] = o[e];
93
+ function u(e) {
94
+ for (let o in s)
95
+ this[o] = s[o];
64
96
  }
65
- const h = /* @__PURE__ */ function() {
66
- return l.exports;
97
+ const p = /* @__PURE__ */ function() {
98
+ return d.exports;
67
99
  }();
68
100
  export {
69
- h as default
101
+ p as default
70
102
  };
@@ -1,136 +1,47 @@
1
- var $ = Object.defineProperty, M = Object.defineProperties;
2
- var B = Object.getOwnPropertyDescriptors;
1
+ var b = Object.defineProperty, x = Object.defineProperties;
2
+ var M = Object.getOwnPropertyDescriptors;
3
3
  var g = Object.getOwnPropertySymbols;
4
4
  var V = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
5
- var y = (e, t, i) => t in e ? $(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, v = (e, t) => {
6
- for (var i in t || (t = {}))
7
- V.call(t, i) && y(e, i, t[i]);
5
+ var u = (e, i, t) => i in e ? b(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, w = (e, i) => {
6
+ for (var t in i || (i = {}))
7
+ V.call(i, t) && u(e, t, i[t]);
8
8
  if (g)
9
- for (var i of g(t))
10
- E.call(t, i) && y(e, i, t[i]);
9
+ for (var t of g(i))
10
+ E.call(i, t) && u(e, t, i[t]);
11
11
  return e;
12
- }, _ = (e, t) => M(e, B(t));
13
- var f = (e, t, i) => new Promise((o, s) => {
12
+ }, y = (e, i) => x(e, M(i));
13
+ var v = (e, i, t) => new Promise((s, n) => {
14
14
  var l = (r) => {
15
15
  try {
16
- a(i.next(r));
17
- } catch (n) {
18
- s(n);
16
+ a(t.next(r));
17
+ } catch (o) {
18
+ n(o);
19
19
  }
20
20
  }, h = (r) => {
21
21
  try {
22
- a(i.throw(r));
23
- } catch (n) {
24
- s(n);
22
+ a(t.throw(r));
23
+ } catch (o) {
24
+ n(o);
25
25
  }
26
- }, a = (r) => r.done ? o(r.value) : Promise.resolve(r.value).then(l, h);
27
- a((i = i.apply(e, t)).next());
26
+ }, a = (r) => r.done ? s(r.value) : Promise.resolve(r.value).then(l, h);
27
+ a((t = t.apply(e, i)).next());
28
28
  });
29
- import W from "bpmn-js/lib/NavigatedViewer";
30
- import m from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
31
- import { create as c, attr as d, append as p } from "tiny-svg";
32
- import { query as C } from "min-dom";
29
+ import $ from "bpmn-js/lib/NavigatedViewer";
30
+ import d from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
31
+ import { create as c, attr as p, append as m } from "tiny-svg";
32
+ import { query as A } from "min-dom";
33
33
  import F from "@web-utils/component/easy-popup";
34
34
  import "@web-utils/component/easy-popup/style.css";
35
- import { getComputedWidth as S, getComputedHeight as A } from "@web-utils/core";
36
- import { s as H, r as L } from "../chunks/EasyPopup.vue_vue_type_style_index_0_lang.89350bda.mjs";
37
- import { n as b } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
38
- const T = {
39
- name: "EasyPopup",
40
- props: {
41
- // 是否开启边界检测
42
- border: {
43
- type: Boolean,
44
- default: !0
45
- },
46
- // 显示点偏移量
47
- offset: {
48
- type: Object,
49
- default: () => ({ x: 6, y: 2 })
50
- },
51
- // 边界距离
52
- borderWidth: {
53
- type: Number,
54
- default: 6
55
- },
56
- appendToBody: Boolean,
57
- flexRow: Boolean,
58
- flexColumn: Boolean,
59
- hideOnMouseLeave: {
60
- type: Boolean,
61
- default: !0
62
- },
63
- interactive: Boolean
64
- },
65
- data() {
66
- return {
67
- // 是否显示
68
- visible: !1,
69
- rendered: !1,
70
- // 触发点坐标
71
- axis: { x: 0, y: 0 }
72
- };
73
- },
74
- computed: {
75
- position() {
76
- return {
77
- top: `${this.axis.y + this.offset.y}px`,
78
- left: `${this.axis.x + this.offset.x}px`
79
- };
80
- }
81
- },
82
- watch: {
83
- axis() {
84
- return f(this, null, function* () {
85
- if (this.border) {
86
- yield this.$nextTick();
87
- const e = S(this.$refs.container), t = A(this.$refs.container), i = document.body.offsetWidth, o = document.body.offsetHeight;
88
- this.axis.x + this.offset.x + e >= i && (this.axis.x = i - e - this.borderWidth - this.offset.x), this.axis.y + this.offset.y + t >= o && (this.axis.y = o - t - this.borderWidth - this.offset.y);
89
- }
90
- });
91
- }
92
- },
93
- destroyed() {
94
- this.$el.remove();
95
- },
96
- methods: {
97
- show({ clientX: e, clientY: t }) {
98
- this.axis = { x: e, y: t }, this.visible || (document.addEventListener("click", this.doHide, !0), this.rendered = !0, this.visible = !0), this.appendToBody && document.body.appendChild(this.$el);
99
- },
100
- hide() {
101
- this.visible = !1, document.removeEventListener("click", this.doHide);
102
- },
103
- doHide(e) {
104
- this.interactive && this.$el.contains(e.target) || this.hide();
105
- }
106
- }
107
- }, w = {};
108
- var X = /* @__PURE__ */ b(
109
- T,
110
- L,
111
- H,
112
- !1,
113
- j,
114
- null,
115
- null,
116
- null
117
- );
118
- function j(e) {
119
- for (let t in w)
120
- this[t] = w[t];
121
- }
122
- const P = /* @__PURE__ */ function() {
123
- return X.exports;
124
- }();
125
- var R = function() {
126
- var e = this, t = e.$createElement, i = e._self._c || t;
127
- return i("div", {
35
+ import { n as S } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
36
+ var B = function() {
37
+ var e = this, i = e.$createElement, t = e._self._c || i;
38
+ return t("div", {
128
39
  ref: "container",
129
40
  staticClass: "flow-viewer flow-background-image",
130
41
  style: {
131
42
  "--highlight-color": e.highlightColor
132
43
  }
133
- }, [i(P, {
44
+ }, [t("EasyPopup", {
134
45
  ref: "popup",
135
46
  attrs: {
136
47
  "append-to-body": "",
@@ -145,11 +56,11 @@ var R = function() {
145
56
  }, {
146
57
  element: e.element
147
58
  })], 2)], 1);
148
- }, q = [];
149
- const u = m.prototype._handleWheel, Y = {
59
+ }, C = [];
60
+ const f = d.prototype._handleWheel, P = {
150
61
  __init__: ["zoomScroll"],
151
- zoomScroll: ["type", m]
152
- }, z = {
62
+ zoomScroll: ["type", d]
63
+ }, W = {
153
64
  name: "FlowViewer",
154
65
  components: {
155
66
  EasyPopup: F
@@ -185,18 +96,18 @@ const u = m.prototype._handleWheel, Y = {
185
96
  },
186
97
  watch: {
187
98
  xml(e) {
188
- var t;
189
- (t = this.bpmnViewer) == null || t.importXML(e);
99
+ var i;
100
+ (i = this.bpmnViewer) == null || i.importXML(e);
190
101
  }
191
102
  },
192
103
  mounted() {
193
- m.prototype._handleWheel = this.ctrlKey ? u : function(e) {
194
- const { target: t, deltaMode: i, clientX: o, clientY: s, deltaX: l, deltaY: h } = e;
195
- u.call(this, {
196
- target: t,
197
- deltaMode: i,
198
- clientX: o,
199
- clientY: s,
104
+ d.prototype._handleWheel = this.ctrlKey ? f : function(e) {
105
+ const { target: i, deltaMode: t, clientX: s, clientY: n, deltaX: l, deltaY: h } = e;
106
+ f.call(this, {
107
+ target: i,
108
+ deltaMode: t,
109
+ clientX: s,
110
+ clientY: n,
200
111
  deltaX: l,
201
112
  deltaY: h,
202
113
  preventDefault() {
@@ -204,26 +115,26 @@ const u = m.prototype._handleWheel, Y = {
204
115
  },
205
116
  ctrlKey: !0
206
117
  });
207
- }, this.bpmnViewer = new W(_(v({}, this.options), {
118
+ }, this.bpmnViewer = new $(y(w({}, this.options), {
208
119
  container: this.$refs.container,
209
- additionalModules: [Y]
120
+ additionalModules: [P]
210
121
  })), this.bpmnViewer.on("import.done", (e) => {
211
- const t = e.error, i = e.warnings;
212
- t ? this.$emit("error", t) : this.$emit("shown", i), this.canvas = this.bpmnViewer.get("canvas"), this.fitViewportCenter(), this.elementRegistry = this.bpmnViewer.get("elementRegistry");
213
- const o = this.bpmnViewer.get("eventBus");
214
- this.events && this.events.forEach((n) => {
215
- o.on(n, (k) => {
216
- this.$emit(n.replace(".", "-"), k.element);
122
+ const i = e.error, t = e.warnings;
123
+ i ? this.$emit("error", i) : this.$emit("shown", t), this.canvas = this.bpmnViewer.get("canvas"), this.fitViewportCenter(), this.elementRegistry = this.bpmnViewer.get("elementRegistry");
124
+ const s = this.bpmnViewer.get("eventBus");
125
+ this.events && this.events.forEach((o) => {
126
+ s.on(o, (k) => {
127
+ this.$emit(o.replace(".", "-"), k.element);
217
128
  });
218
- }), this.nodePopup && o.on("element.mousemove", (n) => {
219
- n.element.type === "bpmn:UserTask" && requestAnimationFrame(() => f(this, null, function* () {
220
- this.element = n.element, yield this.$nextTick(), this.$refs.popup.show(n.originalEvent);
129
+ }), this.nodePopup && s.on("element.mousemove", (o) => {
130
+ o.element.type === "bpmn:UserTask" && requestAnimationFrame(() => v(this, null, function* () {
131
+ this.element = o.element, yield this.$nextTick(), this.$refs.popup.show(o.originalEvent);
221
132
  }));
222
- }), this.nodePopup && o.on("element.out", () => {
133
+ }), this.nodePopup && s.on("element.out", () => {
223
134
  this.$refs.popup.hide(), this.element = {};
224
135
  }), this.highlightFlow(this.historicActivities, this.activities);
225
- const s = c("marker");
226
- d(s, {
136
+ const n = c("marker");
137
+ p(n, {
227
138
  id: "sequenceflow-arrow-green",
228
139
  viewBox: "0 0 20 20",
229
140
  refX: "11",
@@ -233,12 +144,12 @@ const u = m.prototype._handleWheel, Y = {
233
144
  orient: "auto"
234
145
  });
235
146
  const l = c("path");
236
- d(l, {
147
+ p(l, {
237
148
  d: "M 1 5 L 11 10 L 1 15 Z",
238
149
  style: "stroke-linecap: round; stroke-linejoin: round; stroke: var(--highlight-color); stroke-width: 1px; fill: var(--highlight-color);"
239
- }), p(s, l);
150
+ }), m(n, l);
240
151
  const h = c("marker");
241
- d(h, {
152
+ p(h, {
242
153
  id: "conditional-default-flow-marker-green",
243
154
  viewBox: "0 0 20 20",
244
155
  refX: "0",
@@ -248,60 +159,60 @@ const u = m.prototype._handleWheel, Y = {
248
159
  orient: "auto"
249
160
  });
250
161
  const a = c("path");
251
- d(a, {
162
+ p(a, {
252
163
  d: "M 6 4 L 10 16",
253
164
  style: "stroke-linecap: round; stroke-linejoin: round; stroke: var(--highlight-color); stroke-width: 2px; fill: var(--highlight-color);"
254
- }), p(h, a);
255
- const r = C("defs", this.$el);
256
- p(r, s), p(r, h);
165
+ }), m(h, a);
166
+ const r = A("defs", this.$el);
167
+ m(r, n), m(r, h);
257
168
  }), this.bpmnViewer.importXML(this.xml), this.$watch(
258
169
  () => ({
259
170
  activities: this.activities,
260
171
  historicActivities: this.historicActivities
261
172
  }),
262
- ({ activities: e, historicActivities: t }) => {
263
- this.highlightFlow(t, e);
173
+ ({ activities: e, historicActivities: i }) => {
174
+ this.highlightFlow(i, e);
264
175
  }
265
176
  );
266
177
  },
267
178
  beforeDestroy() {
268
179
  var e;
269
- m.prototype._handleWheel = u, (e = this.bpmnViewer) == null || e.destroy();
180
+ d.prototype._handleWheel = f, (e = this.bpmnViewer) == null || e.destroy();
270
181
  },
271
182
  methods: {
272
183
  fitViewportCenter(e = "center") {
273
184
  this.canvas.zoom("fit-viewport", e);
274
185
  },
275
- highlightFlow(e, t) {
276
- this.elementRegistry.getAll().forEach((i) => {
186
+ highlightFlow(e, i) {
187
+ this.elementRegistry.getAll().forEach((t) => {
277
188
  [
278
189
  "bpmn:StartEvent",
279
190
  "bpmn:UserTask",
280
191
  "bpmn:ExclusiveGateway",
281
192
  "bpmn:ParallelGateway",
282
193
  "bpmn:EndEvent"
283
- ].includes(i.type) && (e.includes(i.id) && !t.includes(i.id) ? this.canvas.addMarker(i, "highlight") : this.canvas.removeMarker(i, "highlight")), i.type === "bpmn:SequenceFlow" && (e.includes(i.id) ? this.canvas.addMarker(i, "highlight-line") : this.canvas.removeMarker(i, "highlight-line")), i.type === "bpmn:UserTask" && (t.includes(i.id) ? this.canvas.addMarker(i, "highlight-current") : this.canvas.removeMarker(i, "highlight-current"));
194
+ ].includes(t.type) && (e.includes(t.id) && !i.includes(t.id) ? this.canvas.addMarker(t, "highlight") : this.canvas.removeMarker(t, "highlight")), t.type === "bpmn:SequenceFlow" && (e.includes(t.id) ? this.canvas.addMarker(t, "highlight-line") : this.canvas.removeMarker(t, "highlight-line")), t.type === "bpmn:UserTask" && (i.includes(t.id) ? this.canvas.addMarker(t, "highlight-current") : this.canvas.removeMarker(t, "highlight-current"));
284
195
  });
285
196
  }
286
197
  }
287
- }, x = {};
288
- var D = /* @__PURE__ */ b(
289
- z,
290
- R,
291
- q,
198
+ }, _ = {};
199
+ var X = /* @__PURE__ */ S(
200
+ W,
201
+ B,
202
+ C,
292
203
  !1,
293
- K,
204
+ q,
294
205
  null,
295
206
  null,
296
207
  null
297
208
  );
298
- function K(e) {
299
- for (let t in x)
300
- this[t] = x[t];
209
+ function q(e) {
210
+ for (let i in _)
211
+ this[i] = _[i];
301
212
  }
302
- const ie = /* @__PURE__ */ function() {
303
- return D.exports;
213
+ const U = /* @__PURE__ */ function() {
214
+ return X.exports;
304
215
  }();
305
216
  export {
306
- ie as default
217
+ U as default
307
218
  };
@@ -9,16 +9,16 @@ var s = (e, t, r) => t in e ? u(e, t, { enumerable: !0, configurable: !0, writab
9
9
  d.call(t, r) && s(e, r, t[r]);
10
10
  return e;
11
11
  };
12
- import { _ as f, f as m } from "../chunks/FormItem.2920ac0c.mjs";
13
- import { f as h } from "../chunks/form-pick-mixin.61ad06b2.mjs";
12
+ import { f as m } from "../chunks/form-input-mixin.78a567bc.mjs";
13
+ import { f } from "../chunks/form-pick-mixin.61ad06b2.mjs";
14
14
  import o from "element-ui/lib/cascader";
15
- import { h as y, n as _ } from "../chunks/index.d91bd77a.mjs";
16
- import { findTreeChildren as v, setParent as b } from "@web-utils/core";
17
- import { cloneDeep as S } from "@web-utils/integrations/lodash";
18
- import { n as k } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
19
- var x = function() {
15
+ import { d as h, n as y } from "../chunks/index.57f871af.mjs";
16
+ import { findTreeChildren as _, setParent as v } from "@web-utils/core";
17
+ import { cloneDeep as b } from "@web-utils/integrations/lodash";
18
+ import { n as S } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
19
+ var k = function() {
20
20
  var e = this, t = e.$createElement, r = e._self._c || t;
21
- return r(f, e._b({
21
+ return r("FormItem", e._b({
22
22
  attrs: {
23
23
  rules: e.computeRules,
24
24
  disabled: e.inputDisabled
@@ -71,12 +71,12 @@ var x = function() {
71
71
  proxy: !0
72
72
  }], null, !0)
73
73
  }, "FormItem", e.formItemProps, !1));
74
- }, P = [];
75
- const g = Object.keys(o.props || o.default.props).filter(
74
+ }, x = [];
75
+ const P = Object.keys(o.props || o.default.props).filter(
76
76
  (e) => !["value", "placeholder", "disabled", "options", "showAllLevels", "show-all-levels", "separator"].includes(e)
77
- ), w = {
77
+ ), g = {
78
78
  name: "FormCascader",
79
- mixins: [m, h],
79
+ mixins: [m, f],
80
80
  props: {
81
81
  value: {
82
82
  type: [String, Number]
@@ -114,10 +114,10 @@ const g = Object.keys(o.props || o.default.props).filter(
114
114
  },
115
115
  computed: {
116
116
  inputProps() {
117
- return y(n(n({}, _(this.$attrs)), this.$props), g);
117
+ return h(n(n({}, y(this.$attrs)), this.$props), P);
118
118
  },
119
119
  inputVal() {
120
- let [e] = v(this.innerOptions, (r) => r[this.valueKey] === this.value);
120
+ let [e] = _(this.innerOptions, (r) => r[this.valueKey] === this.value);
121
121
  const t = [];
122
122
  for (; e; )
123
123
  t.push(e[this.valueKey]), e = e.parent;
@@ -129,8 +129,8 @@ const g = Object.keys(o.props || o.default.props).filter(
129
129
  immediate: !0,
130
130
  handler(e) {
131
131
  if (e) {
132
- const t = S(e);
133
- b(t), this.innerOptions = t;
132
+ const t = b(e);
133
+ v(t), this.innerOptions = t;
134
134
  } else
135
135
  this.innerOptions = [];
136
136
  }
@@ -143,23 +143,23 @@ const g = Object.keys(o.props || o.default.props).filter(
143
143
  }
144
144
  }
145
145
  }, a = {};
146
- var K = /* @__PURE__ */ k(
147
- w,
146
+ var w = /* @__PURE__ */ S(
147
+ g,
148
+ k,
148
149
  x,
149
- P,
150
150
  !1,
151
- C,
151
+ K,
152
152
  null,
153
153
  null,
154
154
  null
155
155
  );
156
- function C(e) {
156
+ function K(e) {
157
157
  for (let t in a)
158
158
  this[t] = a[t];
159
159
  }
160
- const M = /* @__PURE__ */ function() {
161
- return K.exports;
160
+ const L = /* @__PURE__ */ function() {
161
+ return w.exports;
162
162
  }();
163
163
  export {
164
- M as default
164
+ L as default
165
165
  };