@web-utils/component 2.8.7 → 2.8.9

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 (98) hide show
  1. package/chat/index.mjs +1 -1
  2. package/chunk-file-uploader/index.mjs +5 -3
  3. package/chunks/FormTemp.a77c73c4.mjs +163 -0
  4. package/{icon-temp/index.mjs → chunks/IconTemp.a10129a6.mjs} +2 -2
  5. package/chunks/{dataformat.ab62230f.mjs → dataformat.4100726d.mjs} +8 -8
  6. package/chunks/{dic.7f13b573.mjs → dic.9e90e2a4.mjs} +1 -1
  7. package/chunks/{event.1ac32f1d.mjs → event.ebd9a3a6.mjs} +2 -2
  8. package/chunks/{init.47ce5ed9.mjs → init.27f6a0c4.mjs} +2 -2
  9. package/chunks/{util.505913d9.mjs → util.d691afb6.mjs} +17 -17
  10. package/dialog-form/index.mjs +1 -1
  11. package/egd-collapse-item/index.mjs +14 -12
  12. package/flow/index.mjs +1 -1
  13. package/flow-node/index.mjs +1 -1
  14. package/flow-viewer/index.mjs +33 -29
  15. package/fy-array/index.mjs +2 -2
  16. package/fy-cascader/index.mjs +1 -1
  17. package/fy-checkbox/index.mjs +1 -1
  18. package/fy-code/index.mjs +1 -1
  19. package/fy-curd/index.mjs +2504 -140
  20. package/fy-curd/style.css +1 -1
  21. package/fy-date/index.mjs +1 -1
  22. package/fy-draggable/index.mjs +1 -1
  23. package/fy-dynamic/index.mjs +2 -2
  24. package/fy-empty/index.mjs +1 -1
  25. package/fy-form/index.mjs +538 -333
  26. package/fy-form/style.css +1 -1
  27. package/fy-form-design/index.mjs +21 -21
  28. package/fy-form-design/style.css +1 -1
  29. package/fy-input/index.mjs +1 -1
  30. package/fy-input-color/index.mjs +1 -1
  31. package/fy-input-icon/index.mjs +14 -12
  32. package/fy-input-map/index.mjs +1 -1
  33. package/fy-input-number/index.mjs +1 -1
  34. package/fy-input-table/index.mjs +1 -1
  35. package/fy-input-tree/index.mjs +1 -1
  36. package/fy-radio/index.mjs +1 -1
  37. package/fy-rate/index.mjs +1 -1
  38. package/fy-select/index.mjs +3 -3
  39. package/fy-slider/index.mjs +2 -2
  40. package/fy-switch/index.mjs +1 -1
  41. package/fy-time/index.mjs +1 -1
  42. package/fy-title/index.mjs +1 -1
  43. package/fy-tree/index.mjs +1 -1
  44. package/fy-u-editor/index.mjs +1 -1
  45. package/fy-upload/index.mjs +2 -2
  46. package/image-cropper/index.mjs +1 -1
  47. package/image-preview/index.mjs +1 -1
  48. package/index.mjs +475 -552
  49. package/license/index.mjs +1 -1
  50. package/login/index.mjs +1 -1
  51. package/package.json +1 -1
  52. package/process-palette/index.mjs +190 -0
  53. package/process-palette/style.css +1 -0
  54. package/record-video/index.mjs +1 -1
  55. package/search/index.mjs +2 -2
  56. package/search-popover/index.mjs +1 -1
  57. package/sign/index.mjs +1 -1
  58. package/split-pane/index.mjs +104 -34
  59. package/text-ellipsis/index.mjs +1 -1
  60. package/tinymce-editor/index.mjs +846 -44
  61. package/tinymce-editor/style.css +1 -1
  62. package/verify/index.mjs +1 -1
  63. package/web-types.json +28 -658
  64. package/chunk-file-uploader-button/index.mjs +0 -60
  65. package/chunk-file-uploader-button/style.css +0 -1
  66. package/chunk-file-uploader-drop/index.mjs +0 -83
  67. package/chunk-file-uploader-drop/style.css +0 -1
  68. package/chunk-file-uploader-file/index.mjs +0 -311
  69. package/chunk-file-uploader-file/style.css +0 -1
  70. package/chunk-file-uploader-files/index.mjs +0 -49
  71. package/chunk-file-uploader-files/style.css +0 -1
  72. package/chunk-file-uploader-list/index.mjs +0 -50
  73. package/chunk-file-uploader-list/style.css +0 -1
  74. package/chunk-file-uploader-un-support/index.mjs +0 -51
  75. package/chunk-file-uploader-un-support/style.css +0 -1
  76. package/chunks/config.46422d7f.mjs +0 -73
  77. package/chunks/detail.6e46de33.mjs +0 -29
  78. package/chunks/mixins.5a78e0db.mjs +0 -16
  79. package/chunks/utils.97652d86.mjs +0 -26
  80. package/column/index.mjs +0 -115
  81. package/column-default/index.mjs +0 -106
  82. package/column-dynamic/index.mjs +0 -93
  83. package/column-menu/index.mjs +0 -288
  84. package/column-slot/index.mjs +0 -267
  85. package/dialog-column/index.mjs +0 -139
  86. package/dialog-excel/index.mjs +0 -211
  87. package/dialog-filter/index.mjs +0 -248
  88. package/form-group/index.mjs +0 -117
  89. package/form-group/style.css +0 -1
  90. package/form-temp/index.mjs +0 -137
  91. package/fy-dialog-form/index.mjs +0 -272
  92. package/fy-form-menu/index.mjs +0 -95
  93. package/header-menu/index.mjs +0 -238
  94. package/header-search/index.mjs +0 -255
  95. package/table-page/index.mjs +0 -130
  96. package/tinymce-wrapper/index.mjs +0 -821
  97. package/tinymce-wrapper/style.css +0 -1
  98. package/trigger/index.mjs +0 -71
package/chat/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { formatDate as c } from "@web-utils/integrations/dayjs";
2
- import { s as l } from "../chunks/util.505913d9.mjs";
2
+ import { s as l } from "../chunks/util.d691afb6.mjs";
3
3
  import { n as d } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
4
  var u = function() {
5
5
  var t = this, o = t.$createElement, e = t._self._c || o;
@@ -1,6 +1,8 @@
1
1
  import a from "simple-uploader.js";
2
- import { k as r } from "../chunks/utils.97652d86.mjs";
3
2
  import { n } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
+ function r(e) {
4
+ return e.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`);
5
+ }
4
6
  var u = function() {
5
7
  var e = this, t = e.$createElement, i = e._self._c || t;
6
8
  return i("div", {
@@ -111,9 +113,9 @@ function _(e) {
111
113
  for (let t in d)
112
114
  this[t] = d[t];
113
115
  }
114
- const E = /* @__PURE__ */ function() {
116
+ const S = /* @__PURE__ */ function() {
115
117
  return c.exports;
116
118
  }();
117
119
  export {
118
- E as default
120
+ S as default
119
121
  };
@@ -0,0 +1,163 @@
1
+ import { isBlank as h } from "@web-utils/core";
2
+ import { formatDate as i } from "@web-utils/integrations/dayjs";
3
+ import { p as g, M as b, A as v, b as c, q as A, e as S, k as d, t as T, h as x, v as C, u as j } from "./util.d691afb6.mjs";
4
+ import { a as D, b as O } from "./dataformat.4100726d.mjs";
5
+ import { s as L } from "./slot.4b391395.mjs";
6
+ import { n as Y } from "./vueComponentNormalizer.446f5dc4.mjs";
7
+ const V = (e = {}, r = {}, s = {}, n = []) => {
8
+ let t = e[r.prop];
9
+ const a = r.type, o = r.separator;
10
+ if (r.bind && (t = g(e, r.bind)), h(t))
11
+ t = "";
12
+ else {
13
+ const y = b.includes(r.type) && r.multiple, _ = v.includes(r.type);
14
+ if ((["string", "number"].includes(r.dataType) || y || _) && !Array.isArray(t) && (t = `${t}`.split(o || c), r.dataType === "number" && (t = A(t))), S.includes(a))
15
+ Array.isArray(t) ? t = t.join(o || d) : t = t.split(o || c).join(o || d);
16
+ else if (a === "password")
17
+ t = T(t, "*");
18
+ else if (x.includes(a) && r.format) {
19
+ const u = r.format.replace("dd", "DD").replace("yyyy", "YYYY"), m = i(Date.now(), "YYYY-MM-DD");
20
+ if (a.indexOf("range") !== -1) {
21
+ let l = t[0] || "", p = t[1] || "";
22
+ a === "timerange" && l.length <= 8 && p.length < 8 && (l = `${m} ${l}`, p = `${m} ${p}`), t = [i(l, u), i(p, u)].join(r.separator || "~");
23
+ } else
24
+ a === "time" && t.length <= 8 && (t = `${m} ${t}`), t = i(t, u);
25
+ }
26
+ t = C(n, t, r.props || s.props);
27
+ }
28
+ return r.formatter && typeof r.formatter == "function" && (t = r.formatter(e, e[r.prop], t, r)), t;
29
+ };
30
+ var k = function() {
31
+ var e = this, r = e.$createElement, s = e._self._c || r;
32
+ return s(e.getComponent(e.column.type, e.column.component), e._g(e._b({
33
+ ref: "temp",
34
+ tag: "Component",
35
+ attrs: {
36
+ column: Object.assign(e.column, e.params),
37
+ dic: e.dic,
38
+ disabled: e.column.disabled || e.disabled,
39
+ readonly: e.column.readonly || e.readonly,
40
+ placeholder: e.getPlaceholder(e.column),
41
+ props: e.column.props || e.props,
42
+ "props-http": e.column.propsHttp || e.propsHttp,
43
+ size: e.column.size || e.size,
44
+ "table-data": e.tableData,
45
+ type: e.type || e.column.type,
46
+ "column-slot": e.columnSlot
47
+ },
48
+ nativeOn: {
49
+ keyup: function(n) {
50
+ return !n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter") ? null : e.enterChange.apply(null, arguments);
51
+ }
52
+ },
53
+ scopedSlots: e._u([e._l(e.columnSlot, function(n) {
54
+ return {
55
+ key: n,
56
+ fn: function(t) {
57
+ return [e._t(n, null, null, t)];
58
+ }
59
+ };
60
+ })], null, !0),
61
+ model: {
62
+ value: e.text,
63
+ callback: function(n) {
64
+ e.text = n;
65
+ },
66
+ expression: "text"
67
+ }
68
+ }, "Component", Object.assign(e.column, e.uploadFun(e.column)), !1), e.event), [e.params.html ? s("span", {
69
+ domProps: {
70
+ innerHTML: e._s(e.params.html)
71
+ }
72
+ }) : e._e()]);
73
+ }, I = [];
74
+ const $ = {
75
+ name: "FormTemp",
76
+ mixins: [L],
77
+ props: {
78
+ value: [String, Object, Number, Boolean, Array],
79
+ columnSlot: {
80
+ type: Array,
81
+ default: () => []
82
+ },
83
+ tableData: {
84
+ type: Object,
85
+ default: () => ({})
86
+ },
87
+ enter: {
88
+ type: Boolean,
89
+ default: !1
90
+ },
91
+ type: {
92
+ type: String
93
+ },
94
+ propsHttp: {
95
+ type: Object,
96
+ default: () => ({})
97
+ },
98
+ props: {
99
+ type: Object
100
+ },
101
+ dic: {
102
+ type: Array
103
+ },
104
+ size: {
105
+ type: String
106
+ },
107
+ disabled: {
108
+ type: Boolean
109
+ },
110
+ readonly: {
111
+ type: Boolean
112
+ },
113
+ column: {
114
+ type: Object,
115
+ default: () => ({})
116
+ }
117
+ },
118
+ computed: {
119
+ params() {
120
+ return this.column.params || {};
121
+ },
122
+ event() {
123
+ return this.column.event || {};
124
+ },
125
+ text: {
126
+ get() {
127
+ return this.value;
128
+ },
129
+ set(e) {
130
+ this.$emit("input", e), this.$emit("change", e);
131
+ }
132
+ }
133
+ },
134
+ methods: {
135
+ uploadFun: j,
136
+ getComponent: D,
137
+ getPlaceholder: O,
138
+ enterChange() {
139
+ typeof this.column.enter == "function" ? this.column.enter({ value: this.text, column: this.column }) : this.enter && this.$emit("enter");
140
+ }
141
+ }
142
+ }, f = {};
143
+ var F = /* @__PURE__ */ Y(
144
+ $,
145
+ k,
146
+ I,
147
+ !1,
148
+ P,
149
+ null,
150
+ null,
151
+ null
152
+ );
153
+ function P(e) {
154
+ for (let r in f)
155
+ this[r] = f[r];
156
+ }
157
+ const N = /* @__PURE__ */ function() {
158
+ return F.exports;
159
+ }();
160
+ export {
161
+ N as F,
162
+ V as d
163
+ };
@@ -1,4 +1,4 @@
1
- import { n as a } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
1
+ import { n as a } from "./vueComponentNormalizer.446f5dc4.mjs";
2
2
  var l = function() {
3
3
  var e = this, t = e.$createElement, n = e._self._c || t;
4
4
  return n("span", {
@@ -46,5 +46,5 @@ const u = /* @__PURE__ */ function() {
46
46
  return c.exports;
47
47
  }();
48
48
  export {
49
- u as default
49
+ u as I
50
50
  };
@@ -1,5 +1,5 @@
1
1
  import { isBlank as l } from "@web-utils/core";
2
- import { n as E, M as f, A as h, R as T, p, f as m, K as A, q as I, S as L, c as S, j as B, I as _ } from "./util.505913d9.mjs";
2
+ import { f as E, M as f, A as h, R as T, c as p, e as m, K as A, g as I, S as L, b as S, h as B, I as _ } from "./util.d691afb6.mjs";
3
3
  const P = {
4
4
  common: {
5
5
  condition: "条件",
@@ -135,24 +135,24 @@ const v = (e, n = 12, t = !1) => {
135
135
  else
136
136
  return n;
137
137
  return A + t;
138
- }, j = (e = []) => {
138
+ }, M = (e = []) => {
139
139
  let n = {};
140
140
  return e.forEach((t) => {
141
141
  h.includes(t.type) && t.emitPath !== !1 || f.includes(t.type) && t.multiple || t.dataType === "array" ? n[t.prop] = [] : T.includes(t.type) && t.range === !0 ? n[t.prop] = [0, 0] : ["rate", "slider", "number"].includes(t.type) || t.dataType === "number" ? n[t.prop] = void 0 : n[t.prop] = "", t.bind && (n = I(n, t.bind)), l(t.value) || (n[t.prop] = t.value);
142
142
  }), {
143
143
  tableForm: n
144
144
  };
145
- }, M = function(e) {
145
+ }, O = function(e) {
146
146
  const n = e.placeholder, t = e.label;
147
147
  return l(n) ? L.includes(e.type) ? `${u("tip.select")} ${t}` : `${u("tip.input")} ${t}` : n;
148
148
  };
149
149
  export {
150
- M as a,
151
- v as b,
150
+ N as a,
151
+ O as b,
152
152
  R as c,
153
- $ as d,
154
- j as f,
155
- N as g,
153
+ v as d,
154
+ M as f,
155
+ $ as g,
156
156
  C as i,
157
157
  u as t
158
158
  };
@@ -1,5 +1,5 @@
1
1
  import { isBlank as P } from "@web-utils/core";
2
- import { l as w, m as E } from "./util.505913d9.mjs";
2
+ import { m as w, n as E } from "./util.d691afb6.mjs";
3
3
  const F = (n, t = []) => new Promise((i) => {
4
4
  const c = [], s = [], a = {};
5
5
  n.forEach((r) => {
@@ -1,7 +1,7 @@
1
- import { t as r, D as i, c as a } from "./util.505913d9.mjs";
1
+ import { D as r, a as i, b as a } from "./util.d691afb6.mjs";
2
2
  import { s as l } from "./slot.4b391395.mjs";
3
3
  import { isBlank as s } from "@web-utils/core";
4
- import { i as p } from "./dataformat.ab62230f.mjs";
4
+ import { i as p } from "./dataformat.4100726d.mjs";
5
5
  const f = {
6
6
  mixins: [l],
7
7
  data() {
@@ -1,5 +1,5 @@
1
- import { s as a, l as n, a as h, b as r } from "./dic.7f13b573.mjs";
2
- import { d, D as c } from "./util.505913d9.mjs";
1
+ import { s as a, l as n, a as h, b as r } from "./dic.9e90e2a4.mjs";
2
+ import { d, a as c } from "./util.d691afb6.mjs";
3
3
  import { s as l } from "./slot.4b391395.mjs";
4
4
  import { isBlank as s } from "@web-utils/core";
5
5
  const f = {
@@ -231,34 +231,34 @@ export {
231
231
  M as A,
232
232
  J as B,
233
233
  G as C,
234
- f as D,
234
+ _ as D,
235
235
  C as I,
236
236
  O as K,
237
237
  N as M,
238
238
  D as R,
239
239
  R as S,
240
- Z as a,
241
- w as b,
242
- v as c,
240
+ f as a,
241
+ v as b,
242
+ T as c,
243
243
  u as d,
244
- U as e,
245
- S as f,
246
- V as g,
247
- X as h,
244
+ S as e,
245
+ W as f,
246
+ B as g,
247
+ $ as h,
248
248
  k as i,
249
- $ as j,
250
- q as k,
251
- j as l,
252
- Q as m,
253
- W as n,
249
+ z as j,
250
+ w as k,
251
+ Z as l,
252
+ j as m,
253
+ Q as n,
254
254
  te as o,
255
- T as p,
256
- B as q,
255
+ V as p,
256
+ U as q,
257
257
  Y as r,
258
258
  H as s,
259
- _ as t,
259
+ X as t,
260
260
  ne as u,
261
- z as v,
261
+ q as v,
262
262
  K as w,
263
263
  F as x,
264
264
  ee as y,
@@ -1,5 +1,5 @@
1
1
  import { isEmpty as a } from "@web-utils/core";
2
- import { d as l } from "../chunks/util.505913d9.mjs";
2
+ import { d as l } from "../chunks/util.d691afb6.mjs";
3
3
  import r from "vue";
4
4
  import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
5
5
  var d = function() {
@@ -1,7 +1,8 @@
1
1
  import a from "element-ui/src/mixins/emitter";
2
2
  import { generateId as n } from "element-ui/src/utils/util";
3
- import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
- var o = function() {
3
+ import c from "element-ui/lib/transitions/collapse-transition";
4
+ import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
5
+ var r = function() {
5
6
  var e = this, s = e.$createElement, t = e._self._c || s;
6
7
  return t("div", {
7
8
  staticClass: "el-collapse-item",
@@ -66,9 +67,10 @@ var o = function() {
66
67
  }, [t("div", {
67
68
  staticClass: "el-collapse-item__content"
68
69
  }, [e._t("default")], 2)])])], 1);
69
- }, r = [];
70
- const d = {
70
+ }, d = [];
71
+ const p = {
71
72
  name: "EgdCollapseItem",
73
+ components: { ElCollapseTransition: c },
72
74
  componentName: "EgdCollapseItem",
73
75
  mixins: [a],
74
76
  inject: ["collapse"],
@@ -110,23 +112,23 @@ const d = {
110
112
  }
111
113
  }
112
114
  }, l = {};
113
- var p = /* @__PURE__ */ c(
114
- d,
115
- o,
115
+ var u = /* @__PURE__ */ o(
116
+ p,
116
117
  r,
118
+ d,
117
119
  !1,
118
- u,
120
+ m,
119
121
  null,
120
122
  null,
121
123
  null
122
124
  );
123
- function u(e) {
125
+ function m(e) {
124
126
  for (let s in l)
125
127
  this[s] = l[s];
126
128
  }
127
- const _ = /* @__PURE__ */ function() {
128
- return p.exports;
129
+ const C = /* @__PURE__ */ function() {
130
+ return u.exports;
129
131
  }();
130
132
  export {
131
- _ as default
133
+ C as default
132
134
  };
package/flow/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { s as l, r as c } from "../chunks/util.505913d9.mjs";
1
+ import { s as l, r as c } from "../chunks/util.d691afb6.mjs";
2
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;
@@ -1,4 +1,4 @@
1
- import { s as n } from "../chunks/util.505913d9.mjs";
1
+ import { s as n } from "../chunks/util.d691afb6.mjs";
2
2
  import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
3
  var l = function() {
4
4
  var e = this, o = e.$createElement, t = e._self._c || o;
@@ -1,35 +1,36 @@
1
1
  var v = Object.defineProperty, _ = Object.defineProperties;
2
2
  var w = Object.getOwnPropertyDescriptors;
3
3
  var m = Object.getOwnPropertySymbols;
4
- var y = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
- var p = (t, e, i) => e in t ? v(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, g = (t, e) => {
4
+ var y = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
5
+ var p = (t, e, i) => e in t ? v(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, f = (t, e) => {
6
6
  for (var i in e || (e = {}))
7
7
  y.call(e, i) && p(t, i, e[i]);
8
8
  if (m)
9
9
  for (var i of m(e))
10
- b.call(e, i) && p(t, i, e[i]);
10
+ E.call(e, i) && p(t, i, e[i]);
11
11
  return t;
12
- }, f = (t, e) => _(t, w(e));
12
+ }, g = (t, e) => _(t, w(e));
13
13
  var d = (t, e, i) => new Promise((n, s) => {
14
- var l = (o) => {
14
+ var l = (r) => {
15
15
  try {
16
- h(i.next(o));
16
+ h(i.next(r));
17
17
  } catch (a) {
18
18
  s(a);
19
19
  }
20
- }, r = (o) => {
20
+ }, o = (r) => {
21
21
  try {
22
- h(i.throw(o));
22
+ h(i.throw(r));
23
23
  } catch (a) {
24
24
  s(a);
25
25
  }
26
- }, h = (o) => o.done ? n(o.value) : Promise.resolve(o.value).then(l, r);
26
+ }, h = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(l, o);
27
27
  h((i = i.apply(t, e)).next());
28
28
  });
29
- import E from "bpmn-js/lib/NavigatedViewer";
29
+ import b from "bpmn-js/lib/NavigatedViewer";
30
30
  import c from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
31
- import { n as M } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
32
- var V = function() {
31
+ import M from "@web-utils/component/easy-popup";
32
+ import { n as V } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
33
+ var k = function() {
33
34
  var t = this, e = t.$createElement, i = t._self._c || e;
34
35
  return i("div", {
35
36
  ref: "container",
@@ -41,28 +42,31 @@ var V = function() {
41
42
  }, {
42
43
  element: t.element
43
44
  })], 2)], 1);
44
- }, k = [];
45
- const x = c.prototype._handleWheel;
45
+ }, x = [];
46
+ const F = c.prototype._handleWheel;
46
47
  c.prototype._handleWheel = function(t) {
47
- const { target: e, deltaMode: i, clientX: n, clientY: s, deltaX: l, deltaY: r } = t;
48
- x.call(this, {
48
+ const { target: e, deltaMode: i, clientX: n, clientY: s, deltaX: l, deltaY: o } = t;
49
+ F.call(this, {
49
50
  target: e,
50
51
  deltaMode: i,
51
52
  clientX: n,
52
53
  clientY: s,
53
54
  deltaX: l,
54
- deltaY: r,
55
+ deltaY: o,
55
56
  preventDefault() {
56
57
  t.preventDefault();
57
58
  },
58
59
  ctrlKey: !0
59
60
  });
60
61
  };
61
- const F = {
62
+ const $ = {
62
63
  __init__: ["zoomScroll"],
63
64
  zoomScroll: ["type", c]
64
65
  }, S = {
65
66
  name: "FlowViewer",
67
+ components: {
68
+ EasyPopup: M
69
+ },
66
70
  props: {
67
71
  xml: {
68
72
  type: String,
@@ -96,15 +100,15 @@ const F = {
96
100
  mounted() {
97
101
  var e;
98
102
  const t = this.$refs.container;
99
- this.bpmnViewer = new E(f(g({}, this.options), {
103
+ this.bpmnViewer = new b(g(f({}, this.options), {
100
104
  container: t,
101
- additionalModules: [F]
105
+ additionalModules: [$]
102
106
  })), this.bpmnViewer.on("import.done", (i) => {
103
107
  const n = i.error, s = i.warnings;
104
108
  n ? this.$emit("error", n) : this.$emit("shown", s), this.bpmnViewer.get("canvas").zoom("fit-viewport", "center");
105
109
  const l = this.bpmnViewer.get("eventBus");
106
- this.canvas = this.bpmnViewer.get("canvas"), l.on("element.mousemove", (r) => d(this, null, function* () {
107
- r.element.type === "bpmn:UserTask" && (this.element = r.element, yield this.$nextTick(), this.$refs.popup.show(r.originalEvent));
110
+ this.canvas = this.bpmnViewer.get("canvas"), l.on("element.mousemove", (o) => d(this, null, function* () {
111
+ o.element.type === "bpmn:UserTask" && (this.$emit("node-mousemove", o.element), this.element = o.element, yield this.$nextTick(), this.$refs.popup.show(o.originalEvent));
108
112
  })), l.on("element.out", () => {
109
113
  this.$refs.popup.hide(), this.element = {};
110
114
  }), this.highlightFlow(this.flows), this.highlightActivity(this.activities);
@@ -140,23 +144,23 @@ const F = {
140
144
  }
141
145
  }
142
146
  }, u = {};
143
- var $ = /* @__PURE__ */ M(
147
+ var B = /* @__PURE__ */ V(
144
148
  S,
145
- V,
146
149
  k,
150
+ x,
147
151
  !1,
148
- B,
152
+ A,
149
153
  null,
150
154
  null,
151
155
  null
152
156
  );
153
- function B(t) {
157
+ function A(t) {
154
158
  for (let e in u)
155
159
  this[e] = u[e];
156
160
  }
157
- const D = /* @__PURE__ */ function() {
158
- return $.exports;
161
+ const T = /* @__PURE__ */ function() {
162
+ return B.exports;
159
163
  }();
160
164
  export {
161
- D as default
165
+ T as default
162
166
  };
@@ -1,5 +1,5 @@
1
- import { p as a, e as o } from "../chunks/event.1ac32f1d.mjs";
2
- import { i as c } from "../chunks/util.505913d9.mjs";
1
+ import { p as a, e as o } from "../chunks/event.ebd9a3a6.mjs";
2
+ import { i as c } from "../chunks/util.d691afb6.mjs";
3
3
  import { n as u } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
4
  var p = function() {
5
5
  var t = this, n = t.$createElement, e = t._self._c || n;
@@ -1,4 +1,4 @@
1
- import { p as d, e as u } from "../chunks/event.1ac32f1d.mjs";
1
+ import { p as d, e as u } from "../chunks/event.ebd9a3a6.mjs";
2
2
  import { n as p } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
3
  var h = function() {
4
4
  var e = this, l = e.$createElement, s = e._self._c || l;
@@ -1,4 +1,4 @@
1
- import { p as c, e as i } from "../chunks/event.1ac32f1d.mjs";
1
+ import { p as c, e as i } from "../chunks/event.ebd9a3a6.mjs";
2
2
  import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
3
  var r = function() {
4
4
  var e = this, t = e.$createElement, l = e._self._c || t;
package/fy-code/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import s from "element-ui/lib/scrollbar";
2
- import { s as o } from "../chunks/util.505913d9.mjs";
2
+ import { s as o } from "../chunks/util.d691afb6.mjs";
3
3
  import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
4
  var i = function() {
5
5
  var t = this, e = t.$createElement, n = t._self._c || e;