@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,21 +1,21 @@
1
- var r = (a, t, e) => new Promise((s, n) => {
2
- var l = (i) => {
1
+ var n = (a, t, e) => new Promise((s, r) => {
2
+ var o = (i) => {
3
3
  try {
4
4
  u(e.next(i));
5
5
  } catch (h) {
6
- n(h);
6
+ r(h);
7
7
  }
8
- }, o = (i) => {
8
+ }, p = (i) => {
9
9
  try {
10
10
  u(e.throw(i));
11
11
  } catch (h) {
12
- n(h);
12
+ r(h);
13
13
  }
14
- }, u = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(l, o);
14
+ }, u = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(o, p);
15
15
  u((e = e.apply(a, t)).next());
16
16
  });
17
- import { treeToArray as p, findFirstMatchNode as d } from "@web-utils/core";
18
- import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
17
+ import { treeToArray as c, findFirstMatchNode as d } from "@web-utils/core";
18
+ import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
19
19
  const f = {
20
20
  name: "PageIndex",
21
21
  props: {
@@ -65,8 +65,8 @@ const f = {
65
65
  },
66
66
  methods: {
67
67
  activeFirstMenu() {
68
- return r(this, null, function* () {
69
- if (p(this.menus).map((t) => t.path).filter((t) => t).includes(this.$route.path))
68
+ return n(this, null, function* () {
69
+ if (c(this.menus).map((t) => t.path).filter((t) => t).includes(this.$route.path))
70
70
  yield this.setCurrentKey(this.$route.path);
71
71
  else {
72
72
  const t = d(this.menus, (e) => e.path);
@@ -75,19 +75,19 @@ const f = {
75
75
  });
76
76
  },
77
77
  onNodeClick(a) {
78
- return r(this, null, function* () {
78
+ return n(this, null, function* () {
79
79
  a.path && a.path.indexOf("/") > -1 && (yield this.$router.push({ path: a.path, query: a.query })), yield this.setCurrentKey(a.key);
80
80
  });
81
81
  },
82
82
  setCurrentKey(a) {
83
- return r(this, null, function* () {
83
+ return n(this, null, function* () {
84
84
  yield this.$nextTick(), this.$refs.menuTree && this.$refs.menuTree.setCurrentKey(a);
85
85
  });
86
86
  },
87
87
  beforeRouteUpdate(a, t, e) {
88
- return r(this, null, function* () {
88
+ return n(this, null, function* () {
89
89
  if (a.path === this.schema) {
90
- const s = d(this.menus, (n) => n.path);
90
+ const s = d(this.menus, (r) => r.path);
91
91
  s ? (yield e({ path: s.path, query: s.query }), yield this.setCurrentKey(s.path)) : yield e(!1);
92
92
  } else
93
93
  yield e(), yield this.setCurrentKey(this.$route.path);
@@ -99,23 +99,21 @@ var y = function() {
99
99
  var t = this, e = t._self._c;
100
100
  return e("div", { staticClass: "egd-container" }, [t.aside ? e("div", { staticClass: "egd-aside", style: { width: t.asideWidth } }, [t._t("aside", function() {
101
101
  return [e("div", { staticClass: "egd-main" }, [t._t("nav-top"), e("div", { staticClass: "egd-header" }, [e("span", { staticClass: "section-title flex-not-shrink" }, [t._v(t._s(t.sectionTitle))])]), t._t("menu", function() {
102
- return [e("ElTree", { ref: "menuTree", attrs: { data: t.menus, "default-expand-all": "", props: t.defaultProps, "highlight-current": "", "empty-text": "请配置菜单!", "default-expanded-keys": t.currentTreeKey, "node-key": "key" }, on: { "node-click": t.onNodeClick }, scopedSlots: t._u([{ key: "default", fn: function({ data: s, node: n }) {
102
+ return [e("ElTree", { ref: "menuTree", attrs: { data: t.menus, "default-expand-all": "", props: t.defaultProps, "highlight-current": "", "empty-text": "请配置菜单!", "default-expanded-keys": t.currentTreeKey, "node-key": "key" }, on: { "node-click": t.onNodeClick }, scopedSlots: t._u([{ key: "default", fn: function({ data: s, node: r }) {
103
103
  return [t._t("tree-node", function() {
104
104
  return [e("span", [e("i", { class: s.icon }), t._v(" " + t._s(s.label))])];
105
- }, { data: s, node: n })];
105
+ }, { data: s, node: r })];
106
106
  } }], null, !0) })];
107
107
  })], 2)];
108
108
  })], 2) : t._e(), e("div", { staticClass: "page-index-content", style: { width: t.aside ? `calc(100% - ${t.asideWidth})` : "100%" } }, [t._t("default", function() {
109
109
  return [e("div", { staticClass: "page-index-content-empty" }, [t._v(" " + t._s(t.tips) + " ")])];
110
110
  })], 2)]);
111
- }, m = [], _ = /* @__PURE__ */ c(
111
+ }, m = [], _ = /* @__PURE__ */ l(
112
112
  f,
113
113
  y,
114
114
  m,
115
115
  !1,
116
116
  null,
117
- null,
118
- null,
119
117
  null
120
118
  );
121
119
  const w = _.exports;
@@ -1,21 +1,21 @@
1
1
  var i = (s, t, e) => new Promise((a, r) => {
2
- var p = (n) => {
2
+ var c = (n) => {
3
3
  try {
4
4
  u(e.next(n));
5
- } catch (l) {
6
- r(l);
5
+ } catch (o) {
6
+ r(o);
7
7
  }
8
- }, c = (n) => {
8
+ }, l = (n) => {
9
9
  try {
10
10
  u(e.throw(n));
11
- } catch (l) {
12
- r(l);
11
+ } catch (o) {
12
+ r(o);
13
13
  }
14
- }, u = (n) => n.done ? a(n.value) : Promise.resolve(n.value).then(p, c);
14
+ }, u = (n) => n.done ? a(n.value) : Promise.resolve(n.value).then(c, l);
15
15
  u((e = e.apply(s, t)).next());
16
16
  });
17
- import { treeToArray as h, findFirstMatchNode as o } from "@web-utils/core";
18
- import { n as m } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
17
+ import { treeToArray as h, findFirstMatchNode as p } from "@web-utils/core";
18
+ import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
19
19
  const f = {
20
20
  name: "PageIndexTop",
21
21
  props: {
@@ -49,7 +49,7 @@ const f = {
49
49
  if (h(this.menus).map((t) => t.path).filter((t) => t).includes(this.$route.path))
50
50
  this.activeTab = this.$route.path;
51
51
  else {
52
- const t = o(this.menus, (e) => e.path);
52
+ const t = p(this.menus, (e) => e.path);
53
53
  t && (this.activeTab = t.path, yield this.$router.push({ path: t.path, query: t.query }));
54
54
  }
55
55
  });
@@ -62,7 +62,7 @@ const f = {
62
62
  beforeRouteUpdate(s, t, e) {
63
63
  return i(this, null, function* () {
64
64
  if (s.path === this.schema) {
65
- const a = o(this.menus, (r) => r.path);
65
+ const a = p(this.menus, (r) => r.path);
66
66
  a ? (yield e({ path: a.path, query: a.query }), this.activeTab = a.path) : yield e(!1);
67
67
  } else
68
68
  yield e();
@@ -89,8 +89,6 @@ var d = function() {
89
89
  y,
90
90
  !1,
91
91
  null,
92
- null,
93
- null,
94
92
  null
95
93
  );
96
94
  const k = _.exports;
@@ -2,15 +2,15 @@ import o from "../page/index.mjs";
2
2
  import "../page/style.css";
3
3
  import n from "../nav-bar/index.mjs";
4
4
  import "../nav-bar/style.css";
5
- import l from "../page-header/index.mjs";
5
+ import r from "../page-header/index.mjs";
6
6
  import "../page-header/style.css";
7
- import { n as r } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
8
- const a = {
7
+ import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
8
+ const l = {
9
9
  name: "PageSkeleton",
10
10
  components: {
11
11
  Page: o,
12
12
  NavBar: n,
13
- PageHeader: l
13
+ PageHeader: r
14
14
  },
15
15
  props: {
16
16
  title: String,
@@ -32,14 +32,12 @@ var s = function() {
32
32
  return t("Page", { staticClass: "page-skeleton" }, [e.header ? e._t("header", function() {
33
33
  return [e.title ? t("PageHeader", { attrs: { title: e.title } }) : t("NavBar")];
34
34
  }) : e._e(), t("div", { class: ["page-content", { "flex-column": e.flexColumn, "flex-row": e.flexRow, "content-scroll": e.contentScroll }, e.contentClass] }, [e._t("default")], 2)], 2);
35
- }, c = [], f = /* @__PURE__ */ r(
36
- a,
35
+ }, c = [], f = /* @__PURE__ */ a(
36
+ l,
37
37
  s,
38
38
  c,
39
39
  !1,
40
40
  null,
41
- null,
42
- null,
43
41
  null
44
42
  );
45
43
  const x = f.exports;
@@ -1,4 +1,4 @@
1
- import { n as l } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const a = {
3
3
  name: "PageSkeletonNew",
4
4
  props: {
@@ -41,8 +41,6 @@ var n = function() {
41
41
  s,
42
42
  !1,
43
43
  null,
44
- null,
45
- null,
46
44
  null
47
45
  );
48
46
  const c = i.exports;
@@ -2,7 +2,7 @@ var _ = Object.defineProperty, $ = Object.defineProperties;
2
2
  var w = Object.getOwnPropertyDescriptors;
3
3
  var p = Object.getOwnPropertySymbols;
4
4
  var f = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
- var g = (t, e, a) => e in t ? _(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a, c = (t, e) => {
5
+ var g = (t, e, a) => e in t ? _(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a, u = (t, e) => {
6
6
  for (var a in e || (e = {}))
7
7
  f.call(e, a) && g(t, a, e[a]);
8
8
  if (p)
@@ -20,7 +20,7 @@ var y = (t, e) => {
20
20
  return a;
21
21
  };
22
22
  var h = (t, e, a) => new Promise((s, l) => {
23
- var u = (r) => {
23
+ var c = (r) => {
24
24
  try {
25
25
  i(a.next(r));
26
26
  } catch (d) {
@@ -32,13 +32,13 @@ var h = (t, e, a) => new Promise((s, l) => {
32
32
  } catch (d) {
33
33
  l(d);
34
34
  }
35
- }, i = (r) => r.done ? s(r.value) : Promise.resolve(r.value).then(u, n);
35
+ }, i = (r) => r.done ? s(r.value) : Promise.resolve(r.value).then(c, n);
36
36
  i((a = a.apply(t, e)).next());
37
37
  });
38
38
  import { hasOwn as v } from "@web-utils/core";
39
39
  import { cloneDeep as S, merge as C } from "@web-utils/integrations/lodash";
40
40
  import { f as T, h as k, i as B } from "../chunks/index.DwCBGcYk.mjs";
41
- import { n as P } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
41
+ import { n as P } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
42
42
  const o = {
43
43
  loading: 1,
44
44
  error: -1,
@@ -275,7 +275,7 @@ const o = {
275
275
  }
276
276
  this.records = [];
277
277
  let t;
278
- const i = this.page, { filters: e } = i, a = y(i, ["filters"]), s = c({}, a);
278
+ const i = this.page, { filters: e } = i, a = y(i, ["filters"]), s = u({}, a);
279
279
  if ((r = e == null ? void 0 : e.rules) != null && r.length && (s.filters = { rules: e.rules }), this.api || this.url) {
280
280
  this.tableStatus = o.loading;
281
281
  try {
@@ -291,8 +291,8 @@ const o = {
291
291
  });
292
292
  return;
293
293
  }
294
- const { data: l } = t || {}, { total: u, records: n } = l || {};
295
- this.page.total = Number(u), this.records = n, !n || !n.length ? this.tableStatus = o.empty : this.tableStatus = o.success, this.$refs.table.doLayout(), this.$emit("page-loaded", l);
294
+ const { data: l } = t || {}, { total: c, records: n } = l || {};
295
+ this.page.total = Number(c), this.records = n, !n || !n.length ? this.tableStatus = o.empty : this.tableStatus = o.success, this.$refs.table.doLayout(), this.$emit("page-loaded", l);
296
296
  });
297
297
  },
298
298
  refresh() {
@@ -302,7 +302,7 @@ const o = {
302
302
  },
303
303
  reload() {
304
304
  return h(this, null, function* () {
305
- this.page = m(c({}, this.$options.data.call(this).page), {
305
+ this.page = m(u({}, this.$options.data.call(this).page), {
306
306
  total: this.page.total
307
307
  });
308
308
  });
@@ -341,8 +341,6 @@ var x = function() {
341
341
  A,
342
342
  !1,
343
343
  null,
344
- null,
345
- null,
346
344
  null
347
345
  );
348
346
  const M = R.exports;
@@ -1,44 +1,44 @@
1
1
  var $ = Object.defineProperty, T = Object.defineProperties;
2
2
  var _ = Object.getOwnPropertyDescriptors;
3
3
  var d = Object.getOwnPropertySymbols;
4
- var f = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
5
- var u = (e, t, s) => t in e ? $(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, p = (e, t) => {
4
+ var u = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
5
+ var f = (e, t, s) => t in e ? $(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, p = (e, t) => {
6
6
  for (var s in t || (t = {}))
7
- f.call(t, s) && u(e, s, t[s]);
7
+ u.call(t, s) && f(e, s, t[s]);
8
8
  if (d)
9
9
  for (var s of d(t))
10
- m.call(t, s) && u(e, s, t[s]);
10
+ m.call(t, s) && f(e, s, t[s]);
11
11
  return e;
12
12
  }, b = (e, t) => T(e, _(t));
13
13
  var y = (e, t) => {
14
14
  var s = {};
15
- for (var l in e)
16
- f.call(e, l) && t.indexOf(l) < 0 && (s[l] = e[l]);
15
+ for (var i in e)
16
+ u.call(e, i) && t.indexOf(i) < 0 && (s[i] = e[i]);
17
17
  if (e != null && d)
18
- for (var l of d(e))
19
- t.indexOf(l) < 0 && m.call(e, l) && (s[l] = e[l]);
18
+ for (var i of d(e))
19
+ t.indexOf(i) < 0 && m.call(e, i) && (s[i] = e[i]);
20
20
  return s;
21
21
  };
22
- var h = (e, t, s) => new Promise((l, r) => {
23
- var g = (i) => {
22
+ var h = (e, t, s) => new Promise((i, r) => {
23
+ var g = (l) => {
24
24
  try {
25
- a(s.next(i));
25
+ a(s.next(l));
26
26
  } catch (n) {
27
27
  r(n);
28
28
  }
29
- }, o = (i) => {
29
+ }, o = (l) => {
30
30
  try {
31
- a(s.throw(i));
31
+ a(s.throw(l));
32
32
  } catch (n) {
33
33
  r(n);
34
34
  }
35
- }, a = (i) => i.done ? l(i.value) : Promise.resolve(i.value).then(g, o);
35
+ }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(g, o);
36
36
  a((s = s.apply(e, t)).next());
37
37
  });
38
38
  import { cloneDeep as S, merge as w } from "@web-utils/integrations/lodash";
39
39
  import { copy as P, hasOwn as C } from "@web-utils/core";
40
40
  import { f as v, h as x, i as O } from "../chunks/index.DwCBGcYk.mjs";
41
- import { n as R } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
41
+ import { n as R } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
42
42
  function k(e) {
43
43
  let t = "";
44
44
  for (const s in e)
@@ -227,7 +227,7 @@ const c = {
227
227
  delete this.page.model[e];
228
228
  },
229
229
  removeRule(e) {
230
- const t = this.page.filters.rules, s = t.findIndex((l) => l.field === e);
230
+ const t = this.page.filters.rules, s = t.findIndex((i) => i.field === e);
231
231
  s > -1 && t.splice(s, 1);
232
232
  },
233
233
  addFilter({ field: e, op: t, value: s }) {
@@ -253,18 +253,18 @@ const c = {
253
253
  },
254
254
  getPage() {
255
255
  return h(this, null, function* () {
256
- var i;
256
+ var l;
257
257
  if (C(this.$attrs, "data")) {
258
258
  this.records = this.$attrs.data, this.page.page = 1, this.page.total = this.records.length, this.page.limit = this.page.total;
259
259
  return;
260
260
  }
261
261
  this.records = [];
262
262
  let e;
263
- const a = this.page, { filters: t } = a, s = y(a, ["filters"]), l = p({}, s);
264
- if ((i = t == null ? void 0 : t.rules) != null && i.length && (l.filters = { rules: t.rules }), this.api || this.url) {
263
+ const a = this.page, { filters: t } = a, s = y(a, ["filters"]), i = p({}, s);
264
+ if ((l = t == null ? void 0 : t.rules) != null && l.length && (i.filters = { rules: t.rules }), this.api || this.url) {
265
265
  this.tableStatus = c.loading;
266
266
  try {
267
- this.loading = !0, this.api && (e = yield this.api(l)), this.url && (e = yield this.method(this.url, l)), this.loading = !1;
267
+ this.loading = !0, this.api && (e = yield this.api(i)), this.url && (e = yield this.method(this.url, i)), this.loading = !1;
268
268
  } catch (n) {
269
269
  this.tableStatus = c.error, console.error(n), this.loading = !1;
270
270
  return;
@@ -299,10 +299,10 @@ const c = {
299
299
  };
300
300
  var F = function() {
301
301
  var t = this, s = t._self._c;
302
- return s("div", { staticClass: "work", staticStyle: { height: "100%", "background-color": "#fff" } }, [s("div", { staticClass: "flex-column list-content", staticStyle: { height: "100%" } }, [s("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticClass: "flex-item-relative", attrs: { "element-loading-text": "加载中...", "element-loading-background": "#fff" } }, [s("div", { ref: "scroller", staticClass: "scroll-wrapper" }, [s("div", { staticClass: "cards-block" }, [t._t("prepend"), t._l(t.records, function(l) {
303
- return [t._t("default", null, { item: l })];
304
- }), t._t("append")], 2)])]), s("ElPagination", { staticClass: "flex-not-shrink", staticStyle: { "border-top": "1px solid #ebeef5" }, attrs: { "current-page": t.page.page, "hide-on-single-page": t.hideOnSinglePage, "page-size": t.page.limit, total: t.page.total, background: "", layout: "total, prev, pager, next, jumper" }, on: { "current-change": (l) => {
305
- t.page.page = l;
302
+ return s("div", { staticClass: "work", staticStyle: { height: "100%", "background-color": "#fff" } }, [s("div", { staticClass: "flex-column list-content", staticStyle: { height: "100%" } }, [s("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticClass: "flex-item-relative", attrs: { "element-loading-text": "加载中...", "element-loading-background": "#fff" } }, [s("div", { ref: "scroller", staticClass: "scroll-wrapper" }, [s("div", { staticClass: "cards-block" }, [t._t("prepend"), t._l(t.records, function(i) {
303
+ return [t._t("default", null, { item: i })];
304
+ }), t._t("append")], 2)])]), s("ElPagination", { staticClass: "flex-not-shrink", staticStyle: { "border-top": "1px solid #ebeef5" }, attrs: { "current-page": t.page.page, "hide-on-single-page": t.hideOnSinglePage, "page-size": t.page.limit, total: t.page.total, background: "", layout: "total, prev, pager, next, jumper" }, on: { "current-change": (i) => {
305
+ t.page.page = i;
306
306
  } } })], 1)]);
307
307
  }, L = [], M = /* @__PURE__ */ R(
308
308
  E,
@@ -310,8 +310,6 @@ var F = function() {
310
310
  L,
311
311
  !1,
312
312
  null,
313
- null,
314
- null,
315
313
  null
316
314
  );
317
315
  const I = M.exports;
@@ -14,13 +14,13 @@ var u = (i, n, t) => new Promise((h, a) => {
14
14
  }, s = (o) => o.done ? h(o.value) : Promise.resolve(o.value).then(r, e);
15
15
  s((t = t.apply(i, n)).next());
16
16
  });
17
- import g from "photoswipe";
17
+ import d from "photoswipe";
18
18
  import "photoswipe/dist/photoswipe.css";
19
- import { n as d } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
19
+ import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
20
20
  function w(i) {
21
- new g(i).init();
21
+ new d(i).init();
22
22
  }
23
- function l(h, a) {
23
+ function g(h, a) {
24
24
  return u(this, arguments, function* (i, n, t = { selector: "chat-image" }) {
25
25
  const r = i.target;
26
26
  if (!(!r || r.classList.contains(t.selector) || r.tagName === "IMG"))
@@ -65,7 +65,7 @@ function m(i) {
65
65
  }
66
66
  const p = {
67
67
  name: "PhotoSwipe",
68
- photoswipe: l,
68
+ photoswipe: g,
69
69
  props: {
70
70
  urls: Array,
71
71
  selector: {
@@ -76,7 +76,7 @@ const p = {
76
76
  methods: {
77
77
  preview(i) {
78
78
  return u(this, null, function* () {
79
- yield l(i, this.$refs.wrapper, { selector: this.selector });
79
+ yield g(i, this.$refs.wrapper, { selector: this.selector });
80
80
  });
81
81
  }
82
82
  }
@@ -88,14 +88,12 @@ var _ = function() {
88
88
  return t("img", { key: h.src, staticStyle: { cursor: "pointer" }, attrs: { width: "100", src: h.src, alt: "" }, on: { click: n.preview } });
89
89
  });
90
90
  }, { urls: n.urls, preview: n.preview })], 2);
91
- }, b = [], A = /* @__PURE__ */ d(
91
+ }, b = [], A = /* @__PURE__ */ l(
92
92
  p,
93
93
  _,
94
94
  b,
95
95
  !1,
96
96
  null,
97
- null,
98
- null,
99
97
  null
100
98
  );
101
99
  const I = A.exports;
@@ -30,7 +30,7 @@ import { hasOwn as p, toStringArray as S, delay as F, isInContainer as k } from
30
30
  import { merge as B } from "@web-utils/integrations/lodash";
31
31
  import L from "../resize-observer/index.mjs";
32
32
  import "../resize-observer/style.css";
33
- import { n as C } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
33
+ import { n as C } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
34
34
  const w = [
35
35
  "back",
36
36
  "create",
@@ -222,8 +222,6 @@ var O = function() {
222
222
  P,
223
223
  !1,
224
224
  null,
225
- null,
226
- null,
227
225
  null
228
226
  );
229
227
  const W = z.exports;
package/queue/index.mjs CHANGED
@@ -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
  name: "Queue",
4
4
  props: {
@@ -40,17 +40,15 @@ const s = {
40
40
  var o = function() {
41
41
  var e = this, t = e._self._c;
42
42
  return t("div", { class: ["avue-queue", { "avue-queue--block": e.block }] }, [t("div", { ref: "queue", staticClass: "animate__animated", class: e.animate }, [e._t("default")], 2)]);
43
- }, l = [], i = /* @__PURE__ */ a(
43
+ }, i = [], l = /* @__PURE__ */ a(
44
44
  s,
45
45
  o,
46
- l,
46
+ i,
47
47
  !1,
48
48
  null,
49
- null,
50
- null,
51
49
  null
52
50
  );
53
- const c = i.exports;
51
+ const c = l.exports;
54
52
  export {
55
53
  c as default
56
54
  };
@@ -1,5 +1,5 @@
1
- import { s } from "../chunks/util.ThVOTZAO.mjs";
2
- import { n as a } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { s } from "../chunks/util.B_LEdJSZ.mjs";
2
+ import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  let o = class {
4
4
  /**
5
5
  * 构造函数
@@ -120,17 +120,15 @@ const n = {
120
120
  var c = function() {
121
121
  var e = this, t = e._self._c;
122
122
  return t("div", { staticClass: "avue-video", style: e.styleName }, [t("div", { staticClass: "avue-video__border" }, [t("span", { style: e.borderStyleName }), t("span", { style: e.borderStyleName }), t("span", { style: e.borderStyleName }), t("span", { style: e.borderStyleName })]), t("img", { staticClass: "avue-video__img", style: e.imgStyleName, attrs: { src: e.background, alt: "" } }), t("video", { ref: "main", staticClass: "avue-video__main", attrs: { autoplay: "", muted: "" }, domProps: { muted: !0 } })]);
123
- }, h = [], l = /* @__PURE__ */ a(
123
+ }, h = [], m = /* @__PURE__ */ a(
124
124
  n,
125
125
  c,
126
126
  h,
127
127
  !1,
128
128
  null,
129
- null,
130
- null,
131
129
  null
132
130
  );
133
- const p = l.exports;
131
+ const p = m.exports;
134
132
  export {
135
133
  p as default
136
134
  };
@@ -1,5 +1,5 @@
1
1
  import { j as r } from "../chunks/index.DwCBGcYk.mjs";
2
- import { n as o } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  let t;
4
4
  function i() {
5
5
  i.init || (i.init = !0, t = r() !== -1);
@@ -34,17 +34,15 @@ const h = {
34
34
  var a = function() {
35
35
  var s = this, n = s._self._c;
36
36
  return n("div", { staticClass: "resize-observer", attrs: { tabindex: "-1" } });
37
- }, l = [], d = /* @__PURE__ */ o(
37
+ }, d = [], l = /* @__PURE__ */ o(
38
38
  h,
39
39
  a,
40
- l,
40
+ d,
41
41
  !1,
42
42
  null,
43
- null,
44
- null,
45
43
  null
46
44
  );
47
- const _ = d.exports;
45
+ const _ = l.exports;
48
46
  export {
49
47
  _ as default
50
48
  };
package/search/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { a as p } from "../chunks/util.ThVOTZAO.mjs";
2
- import { i } from "../chunks/init.BbPaCwke.mjs";
1
+ import { a as p } from "../chunks/util.B_LEdJSZ.mjs";
2
+ import { i } from "../chunks/init.DBM2D2IY.mjs";
3
3
  import { isBlank as o } from "@web-utils/core";
4
- import { n } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
4
+ import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
5
  const l = {
6
6
  name: "Search",
7
7
  mixins: [i],
@@ -93,17 +93,15 @@ var h = function() {
93
93
  } } }, [t._v(t._s(t.getKey(a, s.props, t.labelKey)))]);
94
94
  })], 2)]);
95
95
  }), 1);
96
- }, u = [], c = /* @__PURE__ */ n(
96
+ }, c = [], u = /* @__PURE__ */ n(
97
97
  l,
98
98
  h,
99
- u,
99
+ c,
100
100
  !1,
101
101
  null,
102
- null,
103
- null,
104
102
  null
105
103
  );
106
- const O = c.exports;
104
+ const O = u.exports;
107
105
  export {
108
106
  O as default
109
107
  };
@@ -16,8 +16,8 @@ var c = (r, e, t) => new Promise((s, i) => {
16
16
  });
17
17
  import { copy as u, isInContainer as d } from "@web-utils/core";
18
18
  import p from "element-ui/lib/utils/clickoutside";
19
- import { z as f } from "../chunks/util.ThVOTZAO.mjs";
20
- import { n as v } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
19
+ import { z as f } from "../chunks/util.B_LEdJSZ.mjs";
20
+ import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
21
21
  const m = {
22
22
  name: "SearchPopover",
23
23
  directives: {
@@ -130,8 +130,6 @@ var w = function() {
130
130
  k,
131
131
  !1,
132
132
  null,
133
- null,
134
- null,
135
133
  null
136
134
  );
137
135
  const b = y.exports;
package/sign/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { s as v } from "../chunks/util.ThVOTZAO.mjs";
2
- import { n as m } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { s as v } from "../chunks/util.B_LEdJSZ.mjs";
2
+ import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  function p(e, s, n, r, t, o) {
4
4
  e.save(), e.fillStyle = t, e.translate(s, n), e.rotate(Math.PI + o), e.beginPath();
5
5
  let a = Math.sin(0), d = Math.cos(0);
@@ -105,8 +105,6 @@ var y = function() {
105
105
  _,
106
106
  !1,
107
107
  null,
108
- null,
109
- null,
110
108
  null
111
109
  );
112
110
  const P = 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 n = {
3
3
  name: "SignPanel",
4
4
  props: {
@@ -115,7 +115,7 @@ const n = {
115
115
  }
116
116
  }
117
117
  };
118
- var l = function() {
118
+ var o = function() {
119
119
  var t = this, s = t._self._c;
120
120
  return s("div", { staticClass: "sign-panel flex-column" }, [s("div", { directives: [{ name: "show", rawName: "v-show", value: !t.disabled && t.edit, expression: "!disabled && edit" }], staticClass: "sign-edit" }, [s("div", { staticClass: "sign-draw-area", style: { width: `${t.width + 2}px`, height: `${t.height + 2}px` } }, [s("div", { staticClass: "sign-watermark", style: { fontSize: `${t.fontSize}px` } }, [t._v(" " + t._s(t.text) + " ")]), s("canvas", { ref: "canvas", staticClass: "sign-canvas", attrs: { width: t.width, height: t.height }, on: { touchstart: function(e) {
121
121
  return e.stopPropagation(), t.touchstart.apply(null, arguments);
@@ -128,17 +128,15 @@ var l = function() {
128
128
  }, mouseup: function(e) {
129
129
  return e.stopPropagation(), t.up.apply(null, arguments);
130
130
  } } }, [t._v("当前浏览器不支持手写签名 ")])]), s("div", { staticClass: "sign-tool-bar" }, [s("div", { staticClass: "sign-button flex-item", staticStyle: { color: "red" }, on: { click: t.clear } }, [s("i", { staticClass: "fa fa-trash" }), t._v(" 清除")]), s("div", { staticClass: "sign-button flex-item", staticStyle: { color: "red" }, on: { click: t.cancel } }, [s("i", { staticClass: "fa fa-close" }), t._v(" 取消")]), s("div", { staticClass: "sign-button flex-item", staticStyle: { color: "orange" }, on: { click: t.rollback } }, [s("i", { staticClass: "fa fa-repeat" }), t._v(" 撤销")]), s("div", { staticClass: "sign-button flex-item", staticStyle: { color: "green" }, on: { click: t.save } }, [s("i", { staticClass: "fa fa-check" }), t._v(" 确定")])])]), s("div", { directives: [{ name: "show", rawName: "v-show", value: t.disabled || !t.edit, expression: "disabled || !edit" }], staticClass: "sign-view", style: { cursor: t.disabled ? "not-allowed" : "pointer" }, on: { click: t.showSign } }, [t.value ? s("img", { staticClass: "sign-image", attrs: { src: t.value, alt: "签名" } }) : t._e(), t.value ? t._e() : s("p", { staticClass: "sign-tips", style: { color: !t.value && t.disabled ? "red" : "" } }, [t._v(" " + t._s(t.disabled ? "未签名" : "点击进行签名") + " ")]), t.disabled ? t._e() : s("i", { staticClass: "el-icon-edit-outline sign-edit-icon" })])]);
131
- }, o = [], c = /* @__PURE__ */ a(
131
+ }, c = [], l = /* @__PURE__ */ a(
132
132
  n,
133
- l,
134
133
  o,
134
+ c,
135
135
  !1,
136
136
  null,
137
- null,
138
- null,
139
137
  null
140
138
  );
141
- const r = c.exports;
139
+ const r = l.exports;
142
140
  export {
143
141
  r as default
144
142
  };