@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,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 o = "avue-skeleton", r = {
3
3
  name: "Skeleton",
4
4
  props: {
@@ -35,22 +35,20 @@ const o = "avue-skeleton", r = {
35
35
  };
36
36
  var i = function() {
37
37
  var e = this, t = e._self._c;
38
- return t("div", { staticClass: "avue-skeleton" }, [e.loading ? e._l(e.number, function(c, s) {
38
+ return t("div", { staticClass: "avue-skeleton" }, [e.loading ? e._l(e.number, function(u, s) {
39
39
  return t("div", { key: s, staticClass: "avue-skeleton__item" }, [t("div", { staticClass: "avue-skeleton__header" }, [e.avatar ? t("span", { staticClass: "avue-skeleton__vatar'),className]" }) : e._e()]), t("div", { staticClass: "avue-skeleton__content" }, [t("h3", { class: ["avue-skeleton__title", e.className] }), t("div", { staticClass: "avue-skeleton__list" }, e._l(e.rows, function(v, l) {
40
40
  return t("p", { key: l, class: ["avue-skeleton__li", e.className], style: e.styleName });
41
41
  }), 0)])]);
42
42
  }) : t("div", [e._t("default")], 2)], 2);
43
- }, u = [], _ = /* @__PURE__ */ n(
43
+ }, _ = [], c = /* @__PURE__ */ n(
44
44
  r,
45
45
  i,
46
- u,
46
+ _,
47
47
  !1,
48
48
  null,
49
- null,
50
- null,
51
49
  null
52
50
  );
53
- const d = _.exports;
51
+ const d = c.exports;
54
52
  export {
55
53
  d as default
56
54
  };
@@ -14,7 +14,7 @@ var l = (e, t, s) => new Promise((o, i) => {
14
14
  }, a = (r) => r.done ? o(r.value) : Promise.resolve(r.value).then(n, c);
15
15
  a((s = s.apply(e, t)).next());
16
16
  });
17
- import { n as u } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
17
+ import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
18
18
  import d from "../resize-observer/index.mjs";
19
19
  import "../resize-observer/style.css";
20
20
  function g(e, t) {
@@ -80,8 +80,6 @@ var v = function() {
80
80
  x,
81
81
  !1,
82
82
  null,
83
- null,
84
- null,
85
83
  null
86
84
  );
87
85
  const _ = $.exports, z = {
@@ -208,8 +206,6 @@ var M = function() {
208
206
  O,
209
207
  !1,
210
208
  null,
211
- null,
212
- null,
213
209
  null
214
210
  );
215
211
  const C = w.exports;
@@ -1,4 +1,4 @@
1
- import { n as A } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n as A } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const g = {
3
3
  name: "Stateful",
4
4
  functional: !0,
@@ -42,8 +42,8 @@ const g = {
42
42
  type: String
43
43
  }
44
44
  },
45
- render(e, { props: u, data: i, children: y }) {
46
- const { draft: t, doing: a, overdue: n, error: o, done: s, closed: l, status: r, tag: c, size: d, type: f } = u, p = {
45
+ render(e, { props: i, data: u, children: y }) {
46
+ const { draft: t, doing: a, overdue: n, error: o, done: s, closed: l, status: r, tag: c, size: d, type: f } = i, p = {
47
47
  draft: Array.isArray(t) ? t.includes(r) : t,
48
48
  doing: Array.isArray(a) ? a.includes(r) : a,
49
49
  overdue: Array.isArray(n) ? n.includes(r) : n,
@@ -51,7 +51,7 @@ const g = {
51
51
  done: Array.isArray(s) ? s.includes(r) : s,
52
52
  closed: Array.isArray(l) ? l.includes(r) : l
53
53
  };
54
- return e(c, i, [
54
+ return e(c, u, [
55
55
  e("span", {
56
56
  style: { width: d, height: d },
57
57
  class: ["stateful", f, p]
@@ -66,8 +66,6 @@ var v = /* @__PURE__ */ A(
66
66
  m,
67
67
  !1,
68
68
  null,
69
- null,
70
- null,
71
69
  null
72
70
  );
73
71
  const S = v.exports;
@@ -1,6 +1,6 @@
1
1
  import { chunk as r } from "@web-utils/integrations/lodash";
2
- import { n as s } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
- const n = {
2
+ import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
+ const i = {
4
4
  name: "StaticPageableTable",
5
5
  props: {
6
6
  rows: {
@@ -43,24 +43,22 @@ const n = {
43
43
  }
44
44
  }
45
45
  };
46
- var i = function() {
46
+ var n = function() {
47
47
  var e = this, t = e._self._c;
48
48
  return t("div", { staticClass: "static-pageable-table" }, [t("ElTable", e._g(e._b({ attrs: { size: "mini", data: e.records } }, "ElTable", e.$attrs, !1), e.$listeners), [e._t("default", function() {
49
49
  return [e._v("请添加表格列")];
50
50
  })], 2), t("ElPagination", { attrs: { "current-page": e.page.page, "hide-on-single-page": !0, "page-size": e.page.limit, total: e.page.total, background: "", layout: "total, prev, pager, next" }, on: { "current-change": (a) => {
51
51
  e.page.page = a;
52
52
  } } })], 1);
53
- }, l = [], o = /* @__PURE__ */ s(
54
- n,
53
+ }, o = [], l = /* @__PURE__ */ s(
55
54
  i,
56
- l,
55
+ n,
56
+ o,
57
57
  !1,
58
58
  null,
59
- null,
60
- null,
61
59
  null
62
60
  );
63
- const u = o.exports;
61
+ const h = l.exports;
64
62
  export {
65
- u as default
63
+ h as default
66
64
  };
package/swiper/index.mjs CHANGED
@@ -15,13 +15,13 @@ var h = (e, t, s) => new Promise((i, r) => {
15
15
  a((s = s.apply(e, t)).next());
16
16
  });
17
17
  import { getEleWidth as c } from "@web-utils/core";
18
- import u from "../resize-observer/index.mjs";
18
+ import p from "../resize-observer/index.mjs";
19
19
  import "../resize-observer/style.css";
20
- import { n as p } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
20
+ import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
21
21
  const f = {
22
22
  name: "Swiper",
23
23
  components: {
24
- ResizeObserver: u
24
+ ResizeObserver: p
25
25
  },
26
26
  data() {
27
27
  return {
@@ -126,14 +126,12 @@ var w = function() {
126
126
  return s("div", { staticClass: "egd-swiper" }, [s("ElButton", { staticClass: "el-carousel__arrow el-carousel__arrow--left", attrs: { disabled: t.reachedLeft, icon: "el-icon-arrow-left" }, on: { click: t.clickLeft } }), s("div", { ref: "swiperBox", staticClass: "egd-swiper-box", on: { wheel: function(i) {
127
127
  return i.stopPropagation(), i.preventDefault(), t.onMouseWheel.apply(null, arguments);
128
128
  } } }, [s("div", { ref: "swiperContent", staticClass: "egd-swiper-content", style: t.swiperContentStyle }, [t._t("default")], 2)]), s("ElButton", { staticClass: "el-carousel__arrow el-carousel__arrow--right", attrs: { disabled: t.reachedRight, icon: "el-icon-arrow-right" }, on: { click: t.clickRight } }), s("ResizeObserver", { on: { notify: t.resize } })], 1);
129
- }, m = [], X = /* @__PURE__ */ p(
129
+ }, m = [], X = /* @__PURE__ */ u(
130
130
  f,
131
131
  w,
132
132
  m,
133
133
  !1,
134
134
  null,
135
- null,
136
- null,
137
135
  null
138
136
  );
139
137
  const x = X.exports;
package/tab/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { p as n } from "../chunks/tab-mixin.CVr9bZtn.mjs";
2
- import { n as a } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
+ import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  const s = {
4
4
  name: "Tab",
5
5
  mixins: [n],
@@ -111,8 +111,6 @@ var o = function() {
111
111
  l,
112
112
  !1,
113
113
  null,
114
- null,
115
- null,
116
114
  null
117
115
  );
118
116
  const b = c.exports;
@@ -1,5 +1,5 @@
1
1
  import { c as a } from "../chunks/tab-mixin.CVr9bZtn.mjs";
2
- import { n as r } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
+ import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  const l = {
4
4
  name: "TabItem",
5
5
  mixins: [a],
@@ -49,8 +49,6 @@ var n = function() {
49
49
  s,
50
50
  !1,
51
51
  null,
52
- null,
53
- null,
54
52
  null
55
53
  );
56
54
  const b = o.exports;
@@ -10,7 +10,7 @@ var i = (t, e, n) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writab
10
10
  f.call(e, n) && i(t, n, e[n]);
11
11
  return t;
12
12
  }, r = (t, e) => u(t, d(e));
13
- import { n as p } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
13
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
14
14
  const g = {
15
15
  props: {
16
16
  type: {
@@ -88,8 +88,6 @@ var b = /* @__PURE__ */ p(
88
88
  S,
89
89
  !1,
90
90
  null,
91
- null,
92
- null,
93
91
  null
94
92
  );
95
93
  const w = b.exports;
@@ -17,7 +17,7 @@ var a = (r, e, t) => new Promise((s, l) => {
17
17
  import { merge as n } from "@web-utils/integrations/lodash";
18
18
  import { isString as d, isArray as u, trace as f, warning as m, toStringArray as g, isFunction as w, hasOwn as p } from "@web-utils/core";
19
19
  import { k as _ } from "../chunks/index.DwCBGcYk.mjs";
20
- import { n as v } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
20
+ import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
21
21
  const P = [
22
22
  "back",
23
23
  "create",
@@ -276,8 +276,6 @@ var S = function() {
276
276
  T,
277
277
  !1,
278
278
  null,
279
- null,
280
- null,
281
279
  null
282
280
  );
283
281
  const B = $.exports;
@@ -1,16 +1,16 @@
1
- var u = Object.defineProperty;
1
+ var c = Object.defineProperty;
2
2
  var r = Object.getOwnPropertySymbols;
3
- var c = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
4
- var l = (t, e, n) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, i = (t, e) => {
5
- for (var n in e || (e = {}))
6
- c.call(e, n) && l(t, n, e[n]);
3
+ var u = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
4
+ var l = (t, e, a) => e in t ? c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a, i = (t, e) => {
5
+ for (var a in e || (e = {}))
6
+ u.call(e, a) && l(t, a, e[a]);
7
7
  if (r)
8
- for (var n of r(e))
9
- m.call(e, n) && l(t, n, e[n]);
8
+ for (var a of r(e))
9
+ m.call(e, a) && l(t, a, e[a]);
10
10
  return t;
11
11
  };
12
12
  import { hasOwn as o } from "@web-utils/core";
13
- import { n as g } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
13
+ import { n as g } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
14
14
  const f = {
15
15
  name: "TagRender",
16
16
  inject: {
@@ -46,8 +46,8 @@ const f = {
46
46
  },
47
47
  watch: {
48
48
  tags(t) {
49
- var e, n;
50
- this.elFormItem && t && t.length > 0 && ((n = (e = this.elFormItem).clearValidate) == null || n.call(e));
49
+ var e, a;
50
+ this.elFormItem && t && t.length > 0 && ((a = (e = this.elFormItem).clearValidate) == null || a.call(e));
51
51
  }
52
52
  },
53
53
  methods: {
@@ -57,22 +57,20 @@ const f = {
57
57
  }
58
58
  };
59
59
  var _ = function() {
60
- var e = this, n = e._self._c;
61
- return n("div", { staticClass: "tag-render" }, [e.tags && e.tags.length && e.tags[0] ? e._l(e.internalTags, function(s, a) {
62
- return n("ElTag", { key: a, attrs: { closable: e.enable, size: "medium", "disable-transitions": "" }, on: { close: function(h) {
63
- return e.$emit("close", e.tags[a], a);
60
+ var e = this, a = e._self._c;
61
+ return a("div", { staticClass: "tag-render" }, [e.tags && e.tags.length && e.tags[0] ? e._l(e.internalTags, function(s, n) {
62
+ return a("ElTag", { key: n, attrs: { closable: e.enable, size: "medium", "disable-transitions": "" }, on: { close: function(h) {
63
+ return e.$emit("close", e.tags[n], n);
64
64
  } } }, [e._v(" " + e._s(e.getTagName(s)) + " ")]);
65
- }) : e.enable ? e._e() : [n("span", { staticStyle: { "margin-left": "4px", color: "#b5b5b5", "line-height": "16px" } }, [e._v("无")])], e.enable ? n("ElButton", { staticClass: "add-tag", attrs: { size: "mini" }, on: { click: function(s) {
65
+ }) : e.enable ? e._e() : [a("span", { staticStyle: { "margin-left": "4px", color: "#b5b5b5", "line-height": "16px" } }, [e._v("无")])], e.enable ? a("ElButton", { staticClass: "add-tag", attrs: { size: "mini" }, on: { click: function(s) {
66
66
  return e.$emit("add");
67
- } } }, [e._v("+ 添加")]) : e._e(), e.count ? n("span", { staticClass: "tags-count" }, [e._v(e._s(e.tags.length && e.tags[0] ? e.tags.length : ""))]) : e._e()], 2);
67
+ } } }, [e._v("+ 添加")]) : e._e(), e.count ? a("span", { staticClass: "tags-count" }, [e._v(e._s(e.tags.length && e.tags[0] ? e.tags.length : ""))]) : e._e()], 2);
68
68
  }, d = [], p = /* @__PURE__ */ g(
69
69
  f,
70
70
  _,
71
71
  d,
72
72
  !1,
73
73
  null,
74
- null,
75
- null,
76
74
  null
77
75
  );
78
76
  const T = p.exports;
@@ -1,5 +1,5 @@
1
- import { s as n } from "../chunks/util.ThVOTZAO.mjs";
2
- import { n as o } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { s as l } from "../chunks/util.B_LEdJSZ.mjs";
2
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  const h = {
4
4
  name: "TextEllipsis",
5
5
  props: {
@@ -38,7 +38,7 @@ const h = {
38
38
  this.init();
39
39
  },
40
40
  methods: {
41
- setPx: n,
41
+ setPx: l,
42
42
  init() {
43
43
  this.oversize = !1, this.keyIndex += 1;
44
44
  const i = this.$refs.more;
@@ -47,13 +47,13 @@ const h = {
47
47
  limitShow() {
48
48
  this.$nextTick(() => {
49
49
  const i = this.$refs.text, t = this.$el, e = this.$refs.more;
50
- let l = 1e3;
50
+ let n = 1e3;
51
51
  if (i)
52
52
  if (t.offsetHeight > this.height) {
53
53
  e.style.display = "inline-block";
54
54
  let s = this.text;
55
- for (; t.offsetHeight > this.height && l > 0; )
56
- t.offsetHeight > this.height * 3 ? i.innerText = s = s.substring(0, Math.floor(s.length / 2)) : i.innerText = s = s.substring(0, s.length - 1), l--;
55
+ for (; t.offsetHeight > this.height && n > 0; )
56
+ t.offsetHeight > this.height * 3 ? i.innerText = s = s.substring(0, Math.floor(s.length / 2)) : i.innerText = s = s.substring(0, s.length - 1), n--;
57
57
  this.$emit("hide"), this.isHide = !0;
58
58
  } else
59
59
  this.$emit("show"), this.isHide = !1;
@@ -70,8 +70,6 @@ var r = function() {
70
70
  a,
71
71
  !1,
72
72
  null,
73
- null,
74
- null,
75
73
  null
76
74
  );
77
75
  const d = f.exports;
@@ -38,7 +38,7 @@ import "tinymce/plugins/fullscreen";
38
38
  import "tinymce/plugins/preview";
39
39
  import "tinymce/plugins/imagetools";
40
40
  import { getFilePrefix as D, guid as A } from "@web-utils/core";
41
- import { n as b } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
41
+ import { n as b } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
42
42
  const S = {
43
43
  Redo: "重做",
44
44
  Undo: "撤销",
@@ -776,8 +776,6 @@ var j = function() {
776
776
  G,
777
777
  !1,
778
778
  null,
779
- null,
780
- null,
781
779
  null
782
780
  );
783
781
  const V = W.exports, Y = {
@@ -871,8 +869,6 @@ var X = function() {
871
869
  Z,
872
870
  !1,
873
871
  null,
874
- null,
875
- null,
876
872
  null
877
873
  );
878
874
  const pe = J.exports;
@@ -1,21 +1,21 @@
1
- var s = (n, t, e) => new Promise((r, i) => {
1
+ var s = (a, t, e) => new Promise((r, i) => {
2
2
  var c = (o) => {
3
3
  try {
4
- a(e.next(o));
4
+ n(e.next(o));
5
5
  } catch (l) {
6
6
  i(l);
7
7
  }
8
8
  }, d = (o) => {
9
9
  try {
10
- a(e.throw(o));
10
+ n(e.throw(o));
11
11
  } catch (l) {
12
12
  i(l);
13
13
  }
14
- }, a = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(c, d);
15
- a((e = e.apply(n, t)).next());
14
+ }, n = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(c, d);
15
+ n((e = e.apply(a, t)).next());
16
16
  });
17
17
  import { isFunction as p } from "@web-utils/core";
18
- import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
18
+ import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
19
19
  const f = {
20
20
  name: "ToolbarButton",
21
21
  inject: {
@@ -46,13 +46,13 @@ const f = {
46
46
  };
47
47
  },
48
48
  methods: {
49
- onClick(n) {
49
+ onClick(a) {
50
50
  return s(this, null, function* () {
51
51
  this.loading = !0;
52
52
  const { click: t } = this.$listeners;
53
53
  if (p(t))
54
54
  try {
55
- yield t(n);
55
+ yield t(a);
56
56
  } catch (e) {
57
57
  }
58
58
  this.loading = !1;
@@ -69,8 +69,6 @@ var u = function() {
69
69
  b,
70
70
  !1,
71
71
  null,
72
- null,
73
- null,
74
72
  null
75
73
  );
76
74
  const B = m.exports;
package/verify/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { s } from "../chunks/util.ThVOTZAO.mjs";
2
- import { n as i } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
- const l = {
1
+ import { s } from "../chunks/util.B_LEdJSZ.mjs";
2
+ import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
+ const o = {
4
4
  name: "Verify",
5
5
  props: {
6
6
  size: {
@@ -46,22 +46,20 @@ const l = {
46
46
  }
47
47
  }
48
48
  };
49
- var o = function() {
49
+ var l = function() {
50
50
  var t = this, n = t._self._c;
51
51
  return n("div", { staticClass: "avue-verify" }, t._l(t.list, function(r, a) {
52
52
  return n("span", { key: a, staticClass: "avue-verify__item", style: t.styleName }, [t._v(" " + t._s(r) + " ")]);
53
53
  }), 0);
54
- }, u = [], m = /* @__PURE__ */ i(
55
- l,
54
+ }, m = [], u = /* @__PURE__ */ i(
56
55
  o,
57
- u,
56
+ l,
57
+ m,
58
58
  !1,
59
59
  null,
60
- null,
61
- null,
62
60
  null
63
61
  );
64
- const _ = m.exports;
62
+ const _ = u.exports;
65
63
  export {
66
64
  _ as default
67
65
  };
@@ -1,4 +1,4 @@
1
- import { n as a } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const s = {
3
3
  Seconds: {
4
4
  name: "秒",
@@ -582,8 +582,6 @@ var i = function() {
582
582
  o,
583
583
  !1,
584
584
  null,
585
- null,
586
- null,
587
585
  null
588
586
  );
589
587
  const y = l.exports;
@@ -1,21 +1,21 @@
1
- var o = (t, n, a) => new Promise((l, r) => {
1
+ var o = (t, a, n) => new Promise((l, r) => {
2
2
  var c = (e) => {
3
3
  try {
4
- s(a.next(e));
4
+ s(n.next(e));
5
5
  } catch (i) {
6
6
  r(i);
7
7
  }
8
8
  }, p = (e) => {
9
9
  try {
10
- s(a.throw(e));
10
+ s(n.throw(e));
11
11
  } catch (i) {
12
12
  r(i);
13
13
  }
14
14
  }, s = (e) => e.done ? l(e.value) : Promise.resolve(e.value).then(c, p);
15
- s((a = a.apply(t, n)).next());
15
+ s((n = n.apply(t, a)).next());
16
16
  });
17
- import { drawToCanvas as u, genDataURL as d, genSVG as h } from "@web-utils/integrations/qrcode";
18
- import { n as m } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
17
+ import { drawToCanvas as d, genDataURL as h, genSVG as m } from "@web-utils/integrations/qrcode";
18
+ import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
19
19
  const f = {
20
20
  name: "VueQrCode",
21
21
  props: {
@@ -50,8 +50,8 @@ const f = {
50
50
  generate() {
51
51
  return o(this, null, function* () {
52
52
  yield this.$nextTick();
53
- const { options: t, tag: n } = this;
54
- n === "canvas" ? yield u(this.$el, this.text, t) : n === "img" ? this.$el.src = yield d(this.text, t) : this.$el.innerHTML = yield h(this.text, t);
53
+ const { options: t, tag: a } = this;
54
+ a === "canvas" ? yield d(this.$el, this.text, t) : a === "img" ? this.$el.src = yield h(this.text, t) : this.$el.innerHTML = yield m(this.text, t);
55
55
  });
56
56
  }
57
57
  },
@@ -59,14 +59,12 @@ const f = {
59
59
  return t(this.tag, this.$slots.default);
60
60
  }
61
61
  }, g = null, _ = null;
62
- var x = /* @__PURE__ */ m(
62
+ var x = /* @__PURE__ */ u(
63
63
  f,
64
64
  g,
65
65
  _,
66
66
  !1,
67
67
  null,
68
- null,
69
- null,
70
68
  null
71
69
  );
72
70
  const C = x.exports;
@@ -2,7 +2,7 @@ import "quill/dist/quill.core.css";
2
2
  import "quill/dist/quill.snow.css";
3
3
  import "quill/dist/quill.bubble.css";
4
4
  import l from "quill";
5
- import { n as s } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
5
+ import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
6
  const n = {
7
7
  theme: "snow",
8
8
  boundary: document.body,
@@ -95,8 +95,6 @@ var r = function() {
95
95
  u,
96
96
  !1,
97
97
  null,
98
- null,
99
- null,
100
98
  null
101
99
  );
102
100
  const q = a.exports;
@@ -1,4 +1,4 @@
1
- import { n as r } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const l = {
3
3
  name: "VueTagsInput",
4
4
  props: {
@@ -155,8 +155,8 @@ const l = {
155
155
  };
156
156
  const a = this.escapeRegExp(this.caseSensitiveTags ? s.value : s.value.toLowerCase());
157
157
  for (const i of this.existingTags) {
158
- const n = this.caseSensitiveTags ? i.value : i.value.toLowerCase();
159
- if (a === n) {
158
+ const r = this.caseSensitiveTags ? i.value : i.value.toLowerCase();
159
+ if (a === r) {
160
160
  s = Object.assign({}, i);
161
161
  break;
162
162
  }
@@ -377,8 +377,8 @@ const l = {
377
377
  var h = function() {
378
378
  var e = this, s = e._self._c;
379
379
  return s("div", { staticClass: "tags-input-root" }, [s("div", { class: `${e.wrapperClass} tags-input` }, [e._l(e.tags, function(a, i) {
380
- return s("span", { key: i, staticClass: "el-tag el-tag--medium el-tag--light" }, [s("span", { domProps: { innerHTML: e._s(a.value) } }), s("i", { staticClass: "tags-input-remove ov", attrs: { href: "#" }, on: { click: function(n) {
381
- return n.preventDefault(), e.removeTag(i);
380
+ return s("span", { key: i, staticClass: "el-tag el-tag--medium el-tag--light" }, [s("span", { domProps: { innerHTML: e._s(a.value) } }), s("i", { staticClass: "tags-input-remove ov", attrs: { href: "#" }, on: { click: function(r) {
381
+ return r.preventDefault(), e.removeTag(i);
382
382
  } } })]);
383
383
  }), s("input", { directives: [{ name: "model", rawName: "v-model", value: e.input, expression: "input" }], ref: "taginput", staticStyle: { height: "28px", "margin-top": "5px", "line-height": "28px" }, attrs: { type: "text", placeholder: e.placeholder }, domProps: { value: e.input }, on: { keydown: [function(a) {
384
384
  return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : (a.preventDefault(), e.tagFromInput(!1));
@@ -400,10 +400,10 @@ var h = function() {
400
400
  return s("span", { key: i, staticClass: "tags-input-badge", class: {
401
401
  "tags-input-typeahead-item-default": i != e.searchSelection,
402
402
  "tags-input-typeahead-item-highlighted-default": i == e.searchSelection
403
- }, domProps: { innerHTML: e._s(a.value) }, on: { mouseover: function(n) {
403
+ }, domProps: { innerHTML: e._s(a.value) }, on: { mouseover: function(r) {
404
404
  e.searchSelection = i;
405
- }, mousedown: function(n) {
406
- return n.preventDefault(), e.tagFromSearchOnClick(a);
405
+ }, mousedown: function(r) {
406
+ return r.preventDefault(), e.tagFromSearchOnClick(a);
407
407
  } } });
408
408
  })], 2) : e.typeaheadStyle === "dropdown" ? s("ul", { class: `typeahead-${e.typeaheadStyle}` }, [e.typeaheadHideDiscard ? e._e() : s("li", { staticClass: "tags-input-typeahead-item-default typeahead-hide-btn", domProps: { textContent: e._s(e.discardSearchText) }, on: { mousedown: function(a) {
409
409
  return a.preventDefault(), e.clearSearchResults.apply(null, arguments);
@@ -411,20 +411,18 @@ var h = function() {
411
411
  return s("li", { key: i, class: {
412
412
  "tags-input-typeahead-item-default": i != e.searchSelection,
413
413
  "tags-input-typeahead-item-highlighted-default": i == e.searchSelection
414
- }, domProps: { innerHTML: e._s(a.value) }, on: { mouseover: function(n) {
414
+ }, domProps: { innerHTML: e._s(a.value) }, on: { mouseover: function(r) {
415
415
  e.searchSelection = i;
416
- }, mousedown: function(n) {
417
- return n.preventDefault(), e.tagFromSearchOnClick(a);
416
+ }, mousedown: function(r) {
417
+ return r.preventDefault(), e.tagFromSearchOnClick(a);
418
418
  } } });
419
419
  })], 2) : e._e()])]);
420
- }, u = [], o = /* @__PURE__ */ r(
420
+ }, u = [], o = /* @__PURE__ */ n(
421
421
  l,
422
422
  h,
423
423
  u,
424
424
  !1,
425
425
  null,
426
- null,
427
- null,
428
426
  null
429
427
  );
430
428
  const p = o.exports;