@web-utils/component 3.3.15 → 3.3.16

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 (172) hide show
  1. package/address-input/index.mjs +1 -3
  2. package/affix/index.mjs +4 -6
  3. package/aside-menu/index.mjs +8 -10
  4. package/avatar/index.mjs +1 -3
  5. package/awesome-button/index.mjs +20 -22
  6. package/capsule-tab/index.mjs +4 -6
  7. package/card/index.mjs +4 -6
  8. package/carousel/index.mjs +1 -3
  9. package/chat/index.mjs +2 -4
  10. package/chunk-file-uploader/index.mjs +1 -3
  11. package/chunks/{FormTemp.BO_zCjBT.mjs → FormTemp.Cf9d5N_a.mjs} +7 -9
  12. package/chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs +10 -0
  13. package/chunks/{dataformat.J6EgqBfr.mjs → dataformat.skVZSF57.mjs} +1 -1
  14. package/chunks/{dic.6ODiMBAw.mjs → dic.28d_-7EJ.mjs} +1 -1
  15. package/chunks/{event.ChkcZtyR.mjs → event.m1ZDHbkO.mjs} +2 -2
  16. package/chunks/{init.BbPaCwke.mjs → init.DBM2D2IY.mjs} +2 -2
  17. package/chunks/json-beautifier.vs8mCOxd.mjs +124 -0
  18. package/chunks/{util.ThVOTZAO.mjs → util.B_LEdJSZ.mjs} +55 -55
  19. package/code-mirror-editor/index.mjs +1 -3
  20. package/color-picker/index.mjs +4 -6
  21. package/comment/index.mjs +1 -3
  22. package/confirm-button/index.mjs +5 -7
  23. package/confirmable/index.mjs +5 -7
  24. package/context-menu/index.mjs +1 -3
  25. package/count-up/index.mjs +4 -6
  26. package/custom-scrollbar/index.mjs +1 -3
  27. package/data-box/index.mjs +5 -7
  28. package/data-card/index.mjs +4 -6
  29. package/data-cardtext/index.mjs +1 -3
  30. package/data-display/index.mjs +6 -8
  31. package/data-icons/index.mjs +4 -6
  32. package/data-imgtext/index.mjs +6 -8
  33. package/data-operatext/index.mjs +3 -5
  34. package/data-panel/index.mjs +5 -7
  35. package/data-pay/index.mjs +7 -9
  36. package/data-price/index.mjs +3 -5
  37. package/data-progress/index.mjs +1 -3
  38. package/data-rotate/index.mjs +3 -5
  39. package/data-table-picker/index.mjs +1 -3
  40. package/data-tabs/index.mjs +3 -5
  41. package/dialog-form/index.mjs +2 -4
  42. package/dynamic-table/index.mjs +1 -3
  43. package/e-charts/index.mjs +1 -3
  44. package/easy-popup/index.mjs +7 -9
  45. package/editable-progress/index.mjs +6 -8
  46. package/editable-tree/index.mjs +1 -3
  47. package/egd-collapse/index.mjs +4 -6
  48. package/egd-collapse-item/index.mjs +1 -3
  49. package/element-dialog/index.mjs +5 -7
  50. package/empty-view/index.mjs +3 -5
  51. package/error-view/index.mjs +3 -5
  52. package/flex-column/index.mjs +4 -6
  53. package/flex-item/index.mjs +1 -3
  54. package/flex-row/index.mjs +4 -6
  55. package/flex-scroller/index.mjs +6 -8
  56. package/flow/index.mjs +2 -4
  57. package/flow-designer/index.mjs +123 -155
  58. package/flow-node/index.mjs +8 -10
  59. package/flow-viewer/index.mjs +1 -3
  60. package/form-button/index.mjs +5 -7
  61. package/form-cascader/index.mjs +1 -3
  62. package/form-checkbox-group/index.mjs +4 -6
  63. package/form-date-picker/index.mjs +1 -3
  64. package/form-holder/index.mjs +11 -13
  65. package/form-input/index.mjs +5 -7
  66. package/form-input-email/index.mjs +6 -8
  67. package/form-input-id-card/index.mjs +13 -15
  68. package/form-input-number/index.mjs +5 -7
  69. package/form-input-phone-number/index.mjs +9 -11
  70. package/form-input-tag/index.mjs +6 -8
  71. package/form-input-time/index.mjs +7 -9
  72. package/form-item-config-provider/index.mjs +4 -6
  73. package/form-radio-group/index.mjs +22 -24
  74. package/form-select/index.mjs +17 -19
  75. package/form-switch/index.mjs +5 -7
  76. package/form-textarea/index.mjs +1 -3
  77. package/form-view/index.mjs +1 -3
  78. package/fy-array/index.mjs +4 -6
  79. package/fy-article/index.mjs +4 -6
  80. package/fy-cascader/index.mjs +2 -4
  81. package/fy-checkbox/index.mjs +12 -14
  82. package/fy-code/index.mjs +6 -8
  83. package/fy-curd/index.mjs +6 -32
  84. package/fy-date/index.mjs +6 -8
  85. package/fy-draggable/index.mjs +2 -4
  86. package/fy-dynamic/index.mjs +3 -5
  87. package/fy-empty/index.mjs +2 -4
  88. package/fy-form/index.mjs +6 -12
  89. package/fy-form-design/index.mjs +95 -151
  90. package/fy-form-design/style.css +1 -1
  91. package/fy-input/index.mjs +5 -7
  92. package/fy-input-color/index.mjs +9 -11
  93. package/fy-input-icon/index.mjs +3 -5
  94. package/fy-input-map/index.mjs +2 -4
  95. package/fy-input-number/index.mjs +5 -7
  96. package/fy-input-table/index.mjs +2 -4
  97. package/fy-input-tree/index.mjs +2 -4
  98. package/fy-progress/index.mjs +3 -5
  99. package/fy-radio/index.mjs +4 -6
  100. package/fy-rate/index.mjs +5 -7
  101. package/fy-select/index.mjs +4 -6
  102. package/fy-slider/index.mjs +7 -9
  103. package/fy-switch/index.mjs +3 -5
  104. package/fy-tabs/index.mjs +5 -7
  105. package/fy-time/index.mjs +5 -7
  106. package/fy-title/index.mjs +5 -7
  107. package/fy-tree/index.mjs +2 -4
  108. package/fy-u-editor/index.mjs +2 -4
  109. package/fy-upload/index.mjs +3 -5
  110. package/guide-steps/index.mjs +1 -3
  111. package/highlight-j-s/index.mjs +8 -10
  112. package/icon-card/index.mjs +4 -6
  113. package/icon-temp/index.mjs +6 -8
  114. package/iframe-window/index.mjs +6 -8
  115. package/image-cropper/index.mjs +5 -7
  116. package/image-preview/index.mjs +2 -4
  117. package/image-viewer/index.mjs +4 -6
  118. package/input-number/index.mjs +1 -3
  119. package/input-number-range/index.mjs +11 -13
  120. package/keep-view-alive/index.mjs +12 -14
  121. package/keyboard/index.mjs +1 -3
  122. package/license/index.mjs +19 -21
  123. package/loading-view/index.mjs +3 -5
  124. package/login/index.mjs +2 -4
  125. package/monaco-editor/index.mjs +2 -4
  126. package/name-avatar/index.mjs +4 -6
  127. package/nav-bar/index.mjs +3 -5
  128. package/not-implement/index.mjs +3 -5
  129. package/notice/index.mjs +1 -3
  130. package/package.json +8 -8
  131. package/page/index.mjs +6 -8
  132. package/page-header/index.mjs +4 -6
  133. package/page-index/index.mjs +17 -19
  134. package/page-index-top/index.mjs +11 -13
  135. package/page-skeleton/index.mjs +6 -8
  136. package/page-skeleton-new/index.mjs +1 -3
  137. package/pageable-table/index.mjs +8 -10
  138. package/pageable-view/index.mjs +24 -26
  139. package/photo-swipe/index.mjs +7 -9
  140. package/present-view/index.mjs +1 -3
  141. package/queue/index.mjs +4 -6
  142. package/record-video/index.mjs +4 -6
  143. package/resize-observer/index.mjs +4 -6
  144. package/search/index.mjs +6 -8
  145. package/search-popover/index.mjs +2 -4
  146. package/sign/index.mjs +2 -4
  147. package/sign-panel/index.mjs +5 -7
  148. package/skeleton/index.mjs +5 -7
  149. package/split-pane/index.mjs +1 -5
  150. package/stateful/index.mjs +4 -6
  151. package/static-pageable-table/index.mjs +8 -10
  152. package/swiper/index.mjs +4 -6
  153. package/tab/index.mjs +1 -3
  154. package/tab-item/index.mjs +1 -3
  155. package/table-column/index.mjs +1 -3
  156. package/table-view/index.mjs +1 -3
  157. package/tag-render/index.mjs +16 -18
  158. package/text-ellipsis/index.mjs +6 -8
  159. package/tinymce-editor/index.mjs +1 -5
  160. package/toolbar-button/index.mjs +8 -10
  161. package/verify/index.mjs +8 -10
  162. package/vue-cron/index.mjs +1 -3
  163. package/vue-qr-code/index.mjs +9 -11
  164. package/vue-quill-editor/index.mjs +1 -3
  165. package/vue-tags-input/index.mjs +12 -14
  166. package/vue-tree-select/index.mjs +1 -27
  167. package/vue-video-player/index.mjs +1 -3
  168. package/watermark/index.mjs +14 -16
  169. package/web-types.json +1 -1
  170. package/x-input-tag/index.mjs +8 -10
  171. package/chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs +0 -32
  172. package/chunks/json-beautifier.CvdU9XNm.mjs +0 -126
@@ -1,18 +1,18 @@
1
1
  var p = Object.defineProperty;
2
2
  var r = Object.getOwnPropertySymbols;
3
- var l = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
3
+ var c = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
4
4
  var a = (t, e, o) => e in t ? p(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o, s = (t, e) => {
5
5
  for (var o in e || (e = {}))
6
- l.call(e, o) && a(t, o, e[o]);
6
+ c.call(e, o) && a(t, o, e[o]);
7
7
  if (r)
8
8
  for (var o of r(e))
9
- c.call(e, o) && a(t, o, e[o]);
9
+ l.call(e, o) && a(t, o, e[o]);
10
10
  return t;
11
11
  };
12
- import { B as u } from "../chunks/util.ThVOTZAO.mjs";
12
+ import { B as u } from "../chunks/util.B_LEdJSZ.mjs";
13
13
  import { VueCropper as f } from "vue-cropper";
14
14
  import m from "vue";
15
- import { n as d } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
15
+ import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
16
16
  const n = {
17
17
  name: "ImageCropper",
18
18
  components: {
@@ -114,8 +114,6 @@ var g = function() {
114
114
  b,
115
115
  !1,
116
116
  null,
117
- null,
118
- null,
119
117
  null
120
118
  );
121
119
  const w = x.exports;
@@ -9,10 +9,10 @@ var r = (i, e, t) => e in i ? m(i, e, { enumerable: !0, configurable: !0, writab
9
9
  v.call(e, t) && r(i, t, e[t]);
10
10
  return i;
11
11
  };
12
- import { i as p } from "../chunks/util.ThVOTZAO.mjs";
12
+ import { i as p } from "../chunks/util.B_LEdJSZ.mjs";
13
13
  import { setPx as u } from "@web-utils/core";
14
14
  import _ from "vue";
15
- import { n as f } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
15
+ import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
16
16
  const o = {
17
17
  name: "ImagePreview",
18
18
  data() {
@@ -136,8 +136,6 @@ var C = function() {
136
136
  x,
137
137
  !1,
138
138
  null,
139
- null,
140
- null,
141
139
  null
142
140
  );
143
141
  const N = k.exports;
@@ -1,6 +1,6 @@
1
1
  import s from "viewerjs";
2
2
  import "viewerjs/dist/viewer.css";
3
- import { n as i } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
+ import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
4
  const l = {
5
5
  name: "ImageViewer",
6
6
  props: {
@@ -53,17 +53,15 @@ var n = function() {
53
53
  return a("img", { key: t.src, staticClass: "image-item", style: { backgroundImage: `url('${t.src}')` }, attrs: { "data-src": t.src, alt: t.alt } });
54
54
  });
55
55
  })], 2);
56
- }, o = [], u = /* @__PURE__ */ i(
56
+ }, o = [], c = /* @__PURE__ */ i(
57
57
  l,
58
58
  n,
59
59
  o,
60
60
  !1,
61
61
  null,
62
- null,
63
- null,
64
62
  null
65
63
  );
66
- const h = u.exports;
64
+ const u = c.exports;
67
65
  export {
68
- h as default
66
+ u as default
69
67
  };
@@ -1,7 +1,7 @@
1
1
  import s from "element-ui/src/mixins/focus";
2
2
  import u from "element-ui/src/directives/repeat-click";
3
3
  import { i as o } from "../chunks/input-number-mixin.CzjtGf2n.mjs";
4
- import { n as a } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
4
+ import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
5
  const l = {
6
6
  name: "InputNumber",
7
7
  directives: {
@@ -175,8 +175,6 @@ var c = function() {
175
175
  p,
176
176
  !1,
177
177
  null,
178
- null,
179
- null,
180
178
  null
181
179
  );
182
180
  const y = h.exports;
@@ -1,6 +1,6 @@
1
- import { isNotEmpty as s } from "@web-utils/core";
2
- import { n as i } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
- const l = {
1
+ import { isNotEmpty as i } from "@web-utils/core";
2
+ import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
+ const r = {
4
4
  name: "InputNumberRange",
5
5
  props: {
6
6
  value: {
@@ -27,7 +27,7 @@ const l = {
27
27
  immediate: !0,
28
28
  handler(e) {
29
29
  const t = [void 0, void 0];
30
- s(e == null ? void 0 : e[0]) && (t[0] = e[0]), s(e == null ? void 0 : e[1]) && (t[1] = e[1]), this.val = t;
30
+ i(e == null ? void 0 : e[0]) && (t[0] = e[0]), i(e == null ? void 0 : e[1]) && (t[1] = e[1]), this.val = t;
31
31
  }
32
32
  }
33
33
  },
@@ -37,21 +37,19 @@ const l = {
37
37
  }
38
38
  }
39
39
  };
40
- var r = function() {
40
+ var o = function() {
41
41
  var t = this, a = t._self._c;
42
- return a("div", { staticClass: "input-number-range" }, [a("ElInputNumber", { staticClass: "flex-item", staticStyle: { width: "auto" }, attrs: { controls: t.controls, disabled: t.disabled, size: "mini" }, on: { input: t.emitInput }, model: { value: t.val[0], callback: function(n) {
43
- t.$set(t.val, 0, n);
44
- }, expression: "val[0]" } }), a("span", { staticStyle: { padding: "0 6px", "font-size": "12px" } }, [t._v(t._s(t.separator))]), a("ElInputNumber", { staticClass: "flex-item", staticStyle: { width: "auto" }, attrs: { controls: t.controls, disabled: t.disabled, size: "mini" }, on: { input: t.emitInput }, model: { value: t.val[1], callback: function(n) {
45
- t.$set(t.val, 1, n);
42
+ return a("div", { staticClass: "input-number-range" }, [a("ElInputNumber", { staticClass: "flex-item", staticStyle: { width: "auto" }, attrs: { controls: t.controls, disabled: t.disabled, size: "mini" }, on: { input: t.emitInput }, model: { value: t.val[0], callback: function(s) {
43
+ t.$set(t.val, 0, s);
44
+ }, expression: "val[0]" } }), a("span", { staticStyle: { padding: "0 6px", "font-size": "12px" } }, [t._v(t._s(t.separator))]), a("ElInputNumber", { staticClass: "flex-item", staticStyle: { width: "auto" }, attrs: { controls: t.controls, disabled: t.disabled, size: "mini" }, on: { input: t.emitInput }, model: { value: t.val[1], callback: function(s) {
45
+ t.$set(t.val, 1, s);
46
46
  }, expression: "val[1]" } })], 1);
47
- }, o = [], u = /* @__PURE__ */ i(
48
- l,
47
+ }, l = [], u = /* @__PURE__ */ n(
49
48
  r,
50
49
  o,
50
+ l,
51
51
  !1,
52
52
  null,
53
- null,
54
- null,
55
53
  null
56
54
  );
57
55
  const c = u.exports;
@@ -1,4 +1,4 @@
1
- import { n as y } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const C = Object.prototype.toString;
3
3
  function f(e) {
4
4
  return e != null;
@@ -20,7 +20,7 @@ function _(e) {
20
20
  function d(e) {
21
21
  return e && (e.Ctor.options.name || e.tag);
22
22
  }
23
- function u(e, n) {
23
+ function l(e, n) {
24
24
  return Array.isArray(e) ? e.indexOf(n) > -1 : typeof e == "string" ? e.split(",").indexOf(n) > -1 : _(e) ? e.test(n) : !1;
25
25
  }
26
26
  function p(e, n) {
@@ -36,11 +36,11 @@ function m(e, n) {
36
36
  const s = t[i];
37
37
  if (s) {
38
38
  const a = s.name;
39
- a && !n(a) && h(t, i, o, c);
39
+ a && !n(a) && u(t, i, o, c);
40
40
  }
41
41
  }
42
42
  }
43
- function h(e, n, t, o) {
43
+ function u(e, n, t, o) {
44
44
  const c = e[n];
45
45
  c && (!o || c.tag !== o.tag) && c.componentInstance.$destroy(), e[n] = null, p(t, n);
46
46
  }
@@ -57,13 +57,13 @@ const k = {
57
57
  },
58
58
  destroyed() {
59
59
  for (const e in this.cache)
60
- h(this.cache, e, this.keys);
60
+ u(this.cache, e, this.keys);
61
61
  },
62
62
  mounted() {
63
63
  this.cacheVNode(), this.$watch("include", (e) => {
64
- m(this, (n) => u(e, n));
64
+ m(this, (n) => l(e, n));
65
65
  }), this.$watch("exclude", (e) => {
66
- m(this, (n) => !u(e, n));
66
+ m(this, (n) => !l(e, n));
67
67
  });
68
68
  },
69
69
  updated() {
@@ -79,7 +79,7 @@ const k = {
79
79
  tag: c,
80
80
  cid: s.Ctor.cid,
81
81
  componentInstance: i
82
- }, n.push(o), this.max && n.length > parseInt(this.max) && h(e, n[0], n, this._vnode), this.vnodeToCache = null;
82
+ }, n.push(o), this.max && n.length > parseInt(this.max) && u(e, n[0], n, this._vnode), this.vnodeToCache = null;
83
83
  }
84
84
  }
85
85
  },
@@ -89,16 +89,16 @@ const k = {
89
89
  const o = d(t), { include: c, exclude: i } = this;
90
90
  if (
91
91
  // not included
92
- c && (!o || !u(c, o)) || // excluded
93
- i && o && u(i, o)
92
+ c && (!o || !l(c, o)) || // excluded
93
+ i && o && l(i, o)
94
94
  )
95
95
  return n;
96
96
  const { cache: s, keys: a } = this, r = n.key == null ? (
97
97
  // same constructor may get registered as different local components
98
98
  // so cid alone is not enough (#3269)
99
99
  t.Ctor.cid + (t.tag ? `::${t.tag}` : "")
100
- ) : n.key, l = s[r];
101
- l ? l.cid === t.Ctor.cid ? (n.componentInstance = l.componentInstance, p(a, r), a.push(r)) : (l.componentInstance.$destroy(), s[r] = null, this.vnodeToCache = n, this.keyToCache = r) : (this.vnodeToCache = n, this.keyToCache = r), n.data.keepAlive = !0;
100
+ ) : n.key, h = s[r];
101
+ h ? h.cid === t.Ctor.cid ? (n.componentInstance = h.componentInstance, p(a, r), a.push(r)) : (h.componentInstance.$destroy(), s[r] = null, this.vnodeToCache = n, this.keyToCache = r) : (this.vnodeToCache = n, this.keyToCache = r), n.data.keepAlive = !0;
102
102
  }
103
103
  return n || e && e[0];
104
104
  }
@@ -109,8 +109,6 @@ var O = /* @__PURE__ */ y(
109
109
  A,
110
110
  !1,
111
111
  null,
112
- null,
113
- null,
114
112
  null
115
113
  );
116
114
  const I = O.exports;
@@ -1,4 +1,4 @@
1
- import { n as S } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n as S } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  let v = class {
3
3
  constructor(e) {
4
4
  if (typeof e != "object") {
@@ -362,8 +362,6 @@ var E = function() {
362
362
  L,
363
363
  !1,
364
364
  null,
365
- null,
366
- null,
367
365
  null
368
366
  );
369
367
  const q = C.exports;
package/license/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { C as r } from "../chunks/util.ThVOTZAO.mjs";
2
- import { n as l } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
- const g = {
1
+ import { C as r } from "../chunks/util.B_LEdJSZ.mjs";
2
+ import { n as g } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
+ const l = {
4
4
  name: "License",
5
5
  props: {
6
6
  id: {
@@ -45,17 +45,17 @@ const g = {
45
45
  const i = new Image();
46
46
  i.src = this.img, i.onload = () => {
47
47
  const e = this.option.width || i.width, s = this.option.width ? i.height / i.width * this.option.width : i.height;
48
- this.$refs.canvas.width = e, this.$refs.canvas.height = s, this.context.clearRect(0, 0, e, s), this.context.drawImage(i, 0, 0, e, s), this.list.forEach((t, a) => {
48
+ this.$refs.canvas.width = e, this.$refs.canvas.height = s, this.context.clearRect(0, 0, e, s), this.context.drawImage(i, 0, 0, e, s), this.list.forEach((t, n) => {
49
49
  const o = () => {
50
- a === this.list.length - 1 && setTimeout(() => {
50
+ n === this.list.length - 1 && setTimeout(() => {
51
51
  this.draw = !0;
52
52
  }, 0);
53
53
  };
54
54
  if (t.img) {
55
- const n = new Image();
56
- n.src = t.img, n.onload = () => {
57
- const h = t.width || n.width, c = t.width ? n.height / n.width * t.width : n.height;
58
- this.context.drawImage(n, t.left, t.top, h, c), o();
55
+ const a = new Image();
56
+ a.src = t.img, a.onload = () => {
57
+ const h = t.width || a.width, c = t.width ? a.height / a.width * t.width : a.height;
58
+ this.context.drawImage(a, t.left, t.top, h, c), o();
59
59
  };
60
60
  } else
61
61
  t.bold ? this.context.font = `bold ${t.size}px ${t.style}` : this.context.font = `${t.size}px ${t.style}`, this.context.fillStyle = t.color, this.context.fillText(t.text, t.left, t.top), this.context.stroke(), o();
@@ -66,8 +66,8 @@ const g = {
66
66
  return new Promise((e) => {
67
67
  const s = setInterval(() => {
68
68
  if (this.draw) {
69
- const t = this.canvas.toDataURL("image/jpeg", 1), a = this.dataURLtoFile(t, i);
70
- clearInterval(s), e(a);
69
+ const t = this.canvas.toDataURL("image/jpeg", 1), n = this.dataURLtoFile(t, i);
70
+ clearInterval(s), e(n);
71
71
  }
72
72
  }, 1e3);
73
73
  });
@@ -87,13 +87,13 @@ const g = {
87
87
  },
88
88
  getPdf(i = (/* @__PURE__ */ new Date()).getTime()) {
89
89
  const e = this.canvas.width, s = this.canvas.height, t = e / 592.28 * 841.89;
90
- let a = s, o = 0;
91
- const n = 595.28, h = 592.28 / e * s, c = this.canvas.toDataURL("image/jpeg", 1), d = new window.jsPDF("", "pt", "a4");
92
- if (a < t)
93
- d.addImage(c, "JPEG", 0, 0, n, h);
90
+ let n = s, o = 0;
91
+ const a = 595.28, h = 592.28 / e * s, c = this.canvas.toDataURL("image/jpeg", 1), d = new window.jsPDF("", "pt", "a4");
92
+ if (n < t)
93
+ d.addImage(c, "JPEG", 0, 0, a, h);
94
94
  else
95
- for (; a > 0; )
96
- d.addImage(c, "JPEG", 0, o, n, h), a -= t, o -= 841.89, a > 0 && d.addPage();
95
+ for (; n > 0; )
96
+ d.addImage(c, "JPEG", 0, o, a, h), n -= t, o -= 841.89, n > 0 && d.addPage();
97
97
  d.save(`${i}.pdf`);
98
98
  }
99
99
  }
@@ -101,14 +101,12 @@ const g = {
101
101
  var m = function() {
102
102
  var e = this, s = e._self._c;
103
103
  return s("div", { staticClass: "avue-license", staticStyle: { position: "relative" } }, [s("canvas", { ref: "canvas", attrs: { id: `canvas${e.id}` } }), e._t("default")], 2);
104
- }, f = [], w = /* @__PURE__ */ l(
105
- g,
104
+ }, f = [], w = /* @__PURE__ */ g(
105
+ l,
106
106
  m,
107
107
  f,
108
108
  !1,
109
109
  null,
110
- null,
111
- null,
112
110
  null
113
111
  );
114
112
  const u = w.exports;
@@ -1,4 +1,4 @@
1
- import { n } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const i = {
3
3
  name: "LoadingView",
4
4
  props: {
@@ -37,17 +37,15 @@ var o = function() {
37
37
  return e("div", { staticClass: "loading-view", style: { fontSize: t.fontSize, height: t.height } }, [t._t("default", function() {
38
38
  return [e("div", { staticClass: "flex-column horizon-center" }, [e("i", { staticClass: "el-icon-loading", style: { fontSize: t.iconSize } }), e("p", [t._v(t._s(t.loadingTips))])])];
39
39
  })], 2);
40
- }, a = [], l = /* @__PURE__ */ n(
40
+ }, a = [], s = /* @__PURE__ */ n(
41
41
  i,
42
42
  o,
43
43
  a,
44
44
  !1,
45
45
  null,
46
- null,
47
- null,
48
46
  null
49
47
  );
50
- const c = l.exports;
48
+ const c = s.exports;
51
49
  export {
52
50
  c as default
53
51
  };
package/login/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { s as l } from "../chunks/util.ThVOTZAO.mjs";
1
+ import { s as l } from "../chunks/util.B_LEdJSZ.mjs";
2
2
  import { isBlank as n } from "@web-utils/core";
3
- import { n as a } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
+ import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
4
  const r = "发送验证码", i = "{{time}}s后重获取", c = {
5
5
  name: "Login",
6
6
  props: {
@@ -112,8 +112,6 @@ var d = function() {
112
112
  m,
113
113
  !1,
114
114
  null,
115
- null,
116
- null,
117
115
  null
118
116
  );
119
117
  const b = p.exports;
@@ -11,9 +11,9 @@ var r = (t, e, i) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
11
11
  };
12
12
  import * as o from "monaco-editor/esm/vs/editor/editor.api";
13
13
  import "monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution";
14
- import { c as l } from "../chunks/json-beautifier.CvdU9XNm.mjs";
14
+ import { c as l } from "../chunks/json-beautifier.vs8mCOxd.mjs";
15
15
  import { NOOP as a } from "@web-utils/core";
16
- import { n as g } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
16
+ import { n as g } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
17
17
  const m = {
18
18
  name: "MonacoEditor",
19
19
  props: {
@@ -179,8 +179,6 @@ var y = /* @__PURE__ */ g(
179
179
  _,
180
180
  !1,
181
181
  null,
182
- null,
183
- null,
184
182
  null
185
183
  );
186
184
  const w = y.exports;
@@ -1,4 +1,4 @@
1
- import { n as r } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const n = {
3
3
  name: "NameAvatar",
4
4
  props: {
@@ -31,17 +31,15 @@ const n = {
31
31
  var s = function() {
32
32
  var t = this, a = t._self._c;
33
33
  return a("div", { staticClass: "name-avatar", class: t.square ? "square" : "round" }, [t.faceUrl && !t.num ? a("img", { staticClass: "name-avatar-image", attrs: { src: t.faceUrl, alt: "" } }) : a("div", { staticClass: "name-avatar-text", style: t.styles }, [t._v(" " + t._s(t.text) + " ")])]);
34
- }, o = [], l = /* @__PURE__ */ r(
34
+ }, o = [], i = /* @__PURE__ */ r(
35
35
  n,
36
36
  s,
37
37
  o,
38
38
  !1,
39
39
  null,
40
- null,
41
- null,
42
40
  null
43
41
  );
44
- const u = l.exports;
42
+ const f = i.exports;
45
43
  export {
46
- u as default
44
+ f as default
47
45
  };
package/nav-bar/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as o } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const a = {
3
3
  name: "NavBar",
4
4
  props: {
@@ -23,11 +23,9 @@ var n = function() {
23
23
  r,
24
24
  !1,
25
25
  null,
26
- null,
27
- null,
28
26
  null
29
27
  );
30
- const i = s.exports;
28
+ const l = s.exports;
31
29
  export {
32
- i as default
30
+ l as default
33
31
  };
@@ -1,4 +1,4 @@
1
- import { n as e } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n as e } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const s = {
3
3
  name: "NotImplement"
4
4
  };
@@ -14,11 +14,9 @@ var r = function() {
14
14
  a,
15
15
  !1,
16
16
  null,
17
- null,
18
- null,
19
17
  null
20
18
  );
21
- const m = _.exports;
19
+ const o = _.exports;
22
20
  export {
23
- m as default
21
+ o as default
24
22
  };
package/notice/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as r } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const a = {
3
3
  img: "img",
4
4
  title: "title",
@@ -85,8 +85,6 @@ var o = function() {
85
85
  c,
86
86
  !1,
87
87
  null,
88
- null,
89
- null,
90
88
  null
91
89
  );
92
90
  const g = u.exports;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/component",
3
3
  "description": "Web Components",
4
- "version": "3.3.15",
4
+ "version": "3.3.16",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -20,19 +20,19 @@
20
20
  "@web-utils/core": "^3.0.16",
21
21
  "@web-utils/integrations": "^3.0.16",
22
22
  "@web-utils/vue": "^3.0.16",
23
- "bpmn-js": "^17.0.2",
24
- "bpmn-js-token-simulation": "^0.33.2",
23
+ "bpmn-js": "^17.6.4",
24
+ "bpmn-js-token-simulation": "^0.34.1",
25
25
  "codemirror": "^5.65.15",
26
26
  "countup.js": "^2.8.0",
27
- "dayjs": "^1.11.10",
28
- "diagram-js": "14.1.0",
27
+ "dayjs": "^1.11.11",
28
+ "diagram-js": "14.5.4",
29
29
  "echarts": "^5.5.0",
30
30
  "highlight.js": "^11.9.0",
31
31
  "lodash-es": "^4.17.21",
32
32
  "min-dash": "^4.2.1",
33
33
  "min-dom": "^5.0.0",
34
- "monaco-editor": "^0.47.0",
35
- "overlayscrollbars": "^2.6.1",
34
+ "monaco-editor": "^0.48.0",
35
+ "overlayscrollbars": "^2.8.0",
36
36
  "photoswipe": "^5.4.3",
37
37
  "qrcode": "^1.5.3",
38
38
  "quill": "^1.3.7",
@@ -40,7 +40,7 @@
40
40
  "simple-uploader.js": "^0.6.0",
41
41
  "tiny-svg": "^4.0.0",
42
42
  "tinymce": "4.9.11",
43
- "video.js": "^8.10.0",
43
+ "video.js": "^8.12.0",
44
44
  "viewerjs": "^1.11.6",
45
45
  "vue-cropper": "^0.6.4",
46
46
  "vuedraggable": "^2.24.3",
package/page/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { n as t } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
- const l = {
1
+ import { n as t } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
+ const r = {
3
3
  name: "Page",
4
4
  props: {
5
5
  vertical: {
@@ -12,17 +12,15 @@ const l = {
12
12
  var n = function() {
13
13
  var e = this, a = e._self._c;
14
14
  return a("div", { staticClass: "page flex-row flex-item", class: { vertical: e.vertical && !e.horizontal } }, [e._t("default")], 2);
15
- }, r = [], o = /* @__PURE__ */ t(
16
- l,
17
- n,
15
+ }, o = [], l = /* @__PURE__ */ t(
18
16
  r,
17
+ n,
18
+ o,
19
19
  !1,
20
20
  null,
21
- null,
22
- null,
23
21
  null
24
22
  );
25
- const _ = o.exports;
23
+ const _ = l.exports;
26
24
  export {
27
25
  _ as default
28
26
  };
@@ -1,5 +1,5 @@
1
- import { n } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
- const l = {
1
+ import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
+ const a = {
3
3
  name: "PageHeader",
4
4
  props: {
5
5
  title: {
@@ -12,7 +12,7 @@ const l = {
12
12
  }
13
13
  }
14
14
  };
15
- var a = function() {
15
+ var l = function() {
16
16
  var e = this, t = e._self._c;
17
17
  return t("div", { staticClass: "egd-header flex-row egd-page-header" }, [e._t("section-title", function() {
18
18
  return [t("span", { staticClass: "section-title" }, [e._t("title", function() {
@@ -20,13 +20,11 @@ var a = function() {
20
20
  }, { title: e.title })], 2)];
21
21
  }, { title: e.title }), t("div", { staticClass: "flex-row flex-item vertical-center" }, [t("div", { class: ["flex-row", "flex-item", "vertical-center", { "align-end": e.alignEnd }] }, [e._t("default")], 2)])], 2);
22
22
  }, r = [], i = /* @__PURE__ */ n(
23
- l,
24
23
  a,
24
+ l,
25
25
  r,
26
26
  !1,
27
27
  null,
28
- null,
29
- null,
30
28
  null
31
29
  );
32
30
  const o = i.exports;