@web-utils/component 3.8.3 → 4.0.0

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 (67) hide show
  1. package/card/index.mjs +13 -13
  2. package/chat/index.mjs +2 -2
  3. package/chunks/{FormTemp.BSpnNput.mjs → FormTemp.Bu2VCxUh.mjs} +2 -2
  4. package/chunks/{dataformat.B9UvztrQ.mjs → dataformat.CpqOeGBl.mjs} +2 -2
  5. package/chunks/{dic.CET0XdKP.mjs → dic.Dkl-leRW.mjs} +43 -43
  6. package/chunks/{event.BT1F_1vF.mjs → event.9aDS6jcw.mjs} +2 -2
  7. package/chunks/{init.ofpxEyAI.mjs → init.DAsXSoLW.mjs} +2 -2
  8. package/chunks/{packages.CWPkeLu9.mjs → packages.ByyangTp.mjs} +3 -3
  9. package/chunks/{util.CoahLDYn.mjs → util.DqFv_pWg.mjs} +54 -55
  10. package/dialog-form/index.mjs +6 -6
  11. package/flow/index.mjs +30 -32
  12. package/flow-designer/index.mjs +1 -1
  13. package/flow-node/index.mjs +1 -1
  14. package/form-holder/index.mjs +18 -36
  15. package/form-view/index.mjs +21 -23
  16. package/fy-array/index.mjs +2 -2
  17. package/fy-cascader/index.mjs +1 -1
  18. package/fy-checkbox/index.mjs +1 -1
  19. package/fy-code/index.mjs +1 -1
  20. package/fy-curd/index.mjs +141 -137
  21. package/fy-date/index.mjs +1 -1
  22. package/fy-draggable/index.mjs +27 -19
  23. package/fy-dynamic/index.mjs +64 -57
  24. package/fy-empty/index.mjs +1 -1
  25. package/fy-form/index.mjs +117 -136
  26. package/fy-form-design/index.mjs +15 -16
  27. package/fy-form-design/style.css +1 -1
  28. package/fy-input/index.mjs +2 -2
  29. package/fy-input-color/index.mjs +1 -1
  30. package/fy-input-icon/index.mjs +1 -1
  31. package/fy-input-map/index.mjs +56 -51
  32. package/fy-input-number/index.mjs +1 -1
  33. package/fy-input-table/index.mjs +46 -38
  34. package/fy-input-tree/index.mjs +1 -1
  35. package/fy-radio/index.mjs +1 -1
  36. package/fy-rate/index.mjs +1 -1
  37. package/fy-select/index.mjs +4 -4
  38. package/fy-slider/index.mjs +2 -2
  39. package/fy-switch/index.mjs +1 -1
  40. package/fy-tabs/index.mjs +0 -1
  41. package/fy-time/index.mjs +1 -1
  42. package/fy-title/index.mjs +1 -1
  43. package/fy-tree/index.mjs +1 -1
  44. package/fy-u-editor/index.mjs +1 -1
  45. package/fy-upload/index.mjs +3 -3
  46. package/highlight-j-s/index.mjs +1 -1
  47. package/image-cropper/index.mjs +1 -1
  48. package/image-preview/index.mjs +1 -1
  49. package/license/index.mjs +1 -1
  50. package/login/index.mjs +1 -1
  51. package/monaco-editor/index.mjs +10 -12
  52. package/package.json +17 -17
  53. package/pageable-table/index.mjs +33 -37
  54. package/pageable-view/index.mjs +53 -57
  55. package/record-video/index.mjs +1 -1
  56. package/search/index.mjs +2 -2
  57. package/search-popover/index.mjs +1 -1
  58. package/sign/index.mjs +1 -1
  59. package/split-pane/index.mjs +3 -3
  60. package/table-view/index.mjs +1 -3
  61. package/text-ellipsis/index.mjs +1 -1
  62. package/verify/index.mjs +1 -1
  63. package/vue-cron/index.mjs +1 -1
  64. package/vue-quill-editor/index.mjs +24 -13
  65. package/vue-tags-input/index.mjs +21 -10
  66. package/vue-video-player/index.mjs +10 -12
  67. package/web-types.json +2 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/component",
3
3
  "description": "Web Components",
4
- "version": "3.8.3",
4
+ "version": "4.0.0",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -17,31 +17,31 @@
17
17
  "@tinymce/tinymce-vue": "3.2.8",
18
18
  "@wangeditor/editor": "^5.1.23",
19
19
  "@wangeditor/editor-for-vue": "^1.0.2",
20
- "@web-utils/core": "^4.0.1",
21
- "@web-utils/integrations": "^4.0.1",
22
- "@web-utils/vue": "^4.0.1",
23
- "bpmn-js": "^18.6.1",
24
- "bpmn-js-token-simulation": "^0.38.1",
25
- "codemirror": "^5.65.15",
26
- "countup.js": "^2.8.2",
20
+ "@web-utils/core": "^5.0.1",
21
+ "@web-utils/integrations": "^5.0.1",
22
+ "@web-utils/vue": "^5.0.1",
23
+ "bpmn-js": "^18.13.1",
24
+ "bpmn-js-token-simulation": "^0.39.3",
25
+ "codemirror": "^5.65.20",
26
+ "countup.js": "^2.10.0",
27
27
  "cronosjs": "^1.7.1",
28
- "dayjs": "^1.11.13",
29
- "diagram-js": "15.3.0",
28
+ "dayjs": "^1.11.20",
29
+ "diagram-js": "15.9.1",
30
30
  "echarts": "^6.0.0",
31
31
  "highlight.js": "^11.11.1",
32
- "lodash-es": "^4.17.21",
33
- "min-dash": "^4.2.3",
34
- "min-dom": "^5.1.1",
35
- "monaco-editor": "^0.52.2",
36
- "overlayscrollbars": "^2.11.5",
32
+ "lodash-es": "^4.17.23",
33
+ "min-dash": "^5.0.0",
34
+ "min-dom": "^5.3.0",
35
+ "monaco-editor": "^0.55.1",
36
+ "overlayscrollbars": "^2.14.0",
37
37
  "photoswipe": "^5.4.4",
38
38
  "qrcode": "^1.5.4",
39
39
  "quill": "^1.3.7",
40
40
  "resize-detector": "^0.3.0",
41
41
  "simple-uploader.js": "^0.6.0",
42
- "tiny-svg": "^4.1.3",
42
+ "tiny-svg": "^4.1.4",
43
43
  "tinymce": "4.9.11",
44
- "video.js": "^8.23.4",
44
+ "video.js": "^8.23.7",
45
45
  "viewerjs": "^1.11.7",
46
46
  "vue-cropper": "^0.6.5",
47
47
  "vuedraggable": "^2.24.3",
@@ -1,45 +1,45 @@
1
1
  var _ = Object.defineProperty, $ = Object.defineProperties;
2
2
  var w = Object.getOwnPropertyDescriptors;
3
3
  var p = Object.getOwnPropertySymbols;
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, u = (t, e) => {
4
+ var b = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
5
+ var f = (t, e, a) => e in t ? _(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a, o = (t, e) => {
6
6
  for (var a in e || (e = {}))
7
- f.call(e, a) && g(t, a, e[a]);
7
+ b.call(e, a) && f(t, a, e[a]);
8
8
  if (p)
9
9
  for (var a of p(e))
10
- b.call(e, a) && g(t, a, e[a]);
10
+ m.call(e, a) && f(t, a, e[a]);
11
11
  return t;
12
- }, m = (t, e) => $(t, w(e));
12
+ }, c = (t, e) => $(t, w(e));
13
13
  var y = (t, e) => {
14
14
  var a = {};
15
15
  for (var s in t)
16
- f.call(t, s) && e.indexOf(s) < 0 && (a[s] = t[s]);
16
+ b.call(t, s) && e.indexOf(s) < 0 && (a[s] = t[s]);
17
17
  if (t != null && p)
18
18
  for (var s of p(t))
19
- e.indexOf(s) < 0 && b.call(t, s) && (a[s] = t[s]);
19
+ e.indexOf(s) < 0 && m.call(t, s) && (a[s] = t[s]);
20
20
  return a;
21
21
  };
22
- var h = (t, e, a) => new Promise((s, l) => {
23
- var c = (r) => {
22
+ var g = (t, e, a) => new Promise((s, l) => {
23
+ var u = (r) => {
24
24
  try {
25
25
  i(a.next(r));
26
- } catch (d) {
27
- l(d);
26
+ } catch (h) {
27
+ l(h);
28
28
  }
29
- }, n = (r) => {
29
+ }, d = (r) => {
30
30
  try {
31
31
  i(a.throw(r));
32
- } catch (d) {
33
- l(d);
32
+ } catch (h) {
33
+ l(h);
34
34
  }
35
- }, i = (r) => r.done ? s(r.value) : Promise.resolve(r.value).then(c, n);
35
+ }, i = (r) => r.done ? s(r.value) : Promise.resolve(r.value).then(u, d);
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.MAFc4eFi.mjs";
41
41
  import { n as P } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
42
- const o = {
42
+ const n = {
43
43
  loading: 1,
44
44
  error: -1,
45
45
  empty: 2,
@@ -121,13 +121,13 @@ const o = {
121
121
  },
122
122
  data() {
123
123
  let t = { rules: [] };
124
- this.rules && this.rules.length > 0 && (t.rules = this.rules), this.filters && (t = this.filters), this.filter && (t = Object.assign({}, t, this.filter));
124
+ this.rules && this.rules.length > 0 && (t.rules = this.rules), this.filters && (t = this.filters), this.filter && (t = o(o({}, t), this.filter));
125
125
  let e = {};
126
126
  this.model && (e = S(this.model));
127
127
  const a = this.pageSize;
128
128
  return {
129
- TABLE_STATUS: Object.freeze(o),
130
- tableStatus: o.empty,
129
+ TABLE_STATUS: Object.freeze(n),
130
+ tableStatus: n.empty,
131
131
  records: [],
132
132
  currentRow: null,
133
133
  page: {
@@ -206,9 +206,7 @@ const o = {
206
206
  e && ((a = e.$refs.tooltip) == null || a.hide()), this.$emit("row-dblclick", ...t);
207
207
  },
208
208
  updateTableScrollPosition() {
209
- return h(this, null, function* () {
210
- this.$refs.table.bodyWrapper && this.scrollTo(this.tableScrollTop, this.tableScrollLeft);
211
- });
209
+ this.$refs.table.bodyWrapper && this.scrollTo(this.tableScrollTop, this.tableScrollLeft);
212
210
  },
213
211
  filterTableProperties: B,
214
212
  filterTableEvents: k,
@@ -246,7 +244,7 @@ const o = {
246
244
  a > -1 && e.splice(a, 1);
247
245
  },
248
246
  addFilter({ field: t, op: e, value: a }) {
249
- this.page.filters = Object.assign({}, this.page.filters, {
247
+ this.page.filters = c(o({}, this.page.filters), {
250
248
  rules: [
251
249
  {
252
250
  field: t,
@@ -267,7 +265,7 @@ const o = {
267
265
  this.setModel(this.model), this.getPage();
268
266
  },
269
267
  getPage() {
270
- return h(this, null, function* () {
268
+ return g(this, null, function* () {
271
269
  var r;
272
270
  if (v(this.$attrs, "data")) {
273
271
  this.records = this.$attrs.data, this.page.page = 1, this.page.total = this.records.length, this.page.limit = this.page.total;
@@ -275,13 +273,13 @@ const o = {
275
273
  }
276
274
  this.records = [];
277
275
  let t;
278
- const i = this.page, { filters: e } = i, a = y(i, ["filters"]), s = u({}, a);
276
+ const i = this.page, { filters: e } = i, a = y(i, ["filters"]), s = o({}, a);
279
277
  if ((r = e == null ? void 0 : e.rules) != null && r.length && (s.filters = { rules: e.rules }), this.api || this.url) {
280
- this.tableStatus = o.loading;
278
+ this.tableStatus = n.loading;
281
279
  try {
282
280
  this.api && (t = yield this.api(s)), this.url && (t = yield this.method(this.url, s));
283
- } catch (d) {
284
- this.tableStatus = o.error, console.error(d);
281
+ } catch (h) {
282
+ this.tableStatus = n.error, console.error(h);
285
283
  return;
286
284
  }
287
285
  } else {
@@ -291,20 +289,18 @@ const o = {
291
289
  });
292
290
  return;
293
291
  }
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);
292
+ const { data: l } = t || {}, { total: u, records: d } = l || {};
293
+ this.page.total = Number(u), this.records = d, !d || !d.length ? this.tableStatus = n.empty : this.tableStatus = n.success, this.$refs.table.doLayout(), this.$emit("page-loaded", l);
296
294
  });
297
295
  },
298
296
  refresh() {
299
- return h(this, null, function* () {
297
+ return g(this, null, function* () {
300
298
  yield this.getPage();
301
299
  });
302
300
  },
303
301
  reload() {
304
- return h(this, null, function* () {
305
- this.page = m(u({}, this.$options.data.call(this).page), {
306
- total: this.page.total
307
- });
302
+ this.page = c(o({}, this.$options.data.call(this).page), {
303
+ total: this.page.total
308
304
  });
309
305
  },
310
306
  scrollTo(t, e) {
@@ -343,7 +339,7 @@ var x = function() {
343
339
  null,
344
340
  null
345
341
  );
346
- const M = R.exports;
342
+ const j = R.exports;
347
343
  export {
348
- M as default
344
+ j as default
349
345
  };
@@ -1,42 +1,42 @@
1
1
  var $ = Object.defineProperty, T = Object.defineProperties;
2
2
  var _ = Object.getOwnPropertyDescriptors;
3
- var d = Object.getOwnPropertySymbols;
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) => {
3
+ var c = Object.getOwnPropertySymbols;
4
+ var m = Object.prototype.hasOwnProperty, b = 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, r = (e, t) => {
6
6
  for (var s in t || (t = {}))
7
- u.call(t, s) && f(e, s, t[s]);
8
- if (d)
9
- for (var s of d(t))
10
- m.call(t, s) && f(e, s, t[s]);
7
+ m.call(t, s) && u(e, s, t[s]);
8
+ if (c)
9
+ for (var s of c(t))
10
+ b.call(t, s) && u(e, s, t[s]);
11
11
  return e;
12
- }, b = (e, t) => T(e, _(t));
13
- var y = (e, t) => {
12
+ }, p = (e, t) => T(e, _(t));
13
+ var S = (e, t) => {
14
14
  var s = {};
15
- for (var i in e)
16
- u.call(e, i) && t.indexOf(i) < 0 && (s[i] = e[i]);
17
- if (e != null && d)
18
- for (var i of d(e))
19
- t.indexOf(i) < 0 && m.call(e, i) && (s[i] = e[i]);
15
+ for (var l in e)
16
+ m.call(e, l) && t.indexOf(l) < 0 && (s[l] = e[l]);
17
+ if (e != null && c)
18
+ for (var l of c(e))
19
+ t.indexOf(l) < 0 && b.call(e, l) && (s[l] = e[l]);
20
20
  return s;
21
21
  };
22
- var h = (e, t, s) => new Promise((i, r) => {
23
- var g = (l) => {
22
+ var f = (e, t, s) => new Promise((l, o) => {
23
+ var g = (i) => {
24
24
  try {
25
- a(s.next(l));
26
- } catch (n) {
27
- r(n);
25
+ a(s.next(i));
26
+ } catch (h) {
27
+ o(h);
28
28
  }
29
- }, o = (l) => {
29
+ }, n = (i) => {
30
30
  try {
31
- a(s.throw(l));
32
- } catch (n) {
33
- r(n);
31
+ a(s.throw(i));
32
+ } catch (h) {
33
+ o(h);
34
34
  }
35
- }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(g, o);
35
+ }, a = (i) => i.done ? l(i.value) : Promise.resolve(i.value).then(g, n);
36
36
  a((s = s.apply(e, t)).next());
37
37
  });
38
- import { cloneDeep as S, merge as w } from "@web-utils/integrations/lodash";
39
- import { copy as P, hasOwn as C } from "@web-utils/core";
38
+ import { cloneDeep as y, merge as w } from "@web-utils/integrations/lodash";
39
+ import { hasOwn as P, copy as C } from "@web-utils/core";
40
40
  import { f as v, h as x, i as O } from "../chunks/index.MAFc4eFi.mjs";
41
41
  import { n as R } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
42
42
  function k(e) {
@@ -46,7 +46,7 @@ function k(e) {
46
46
  `;
47
47
  return t;
48
48
  }
49
- const c = {
49
+ const d = {
50
50
  loading: 1,
51
51
  error: -1,
52
52
  empty: 2,
@@ -111,13 +111,13 @@ const c = {
111
111
  },
112
112
  data() {
113
113
  let e = { rules: [] };
114
- this.rules && this.rules.length > 0 && (e.rules = this.rules), this.filters && (e = this.filters), this.filter && (e = Object.assign({}, e, this.filter));
114
+ this.rules && this.rules.length > 0 && (e.rules = this.rules), this.filters && (e = this.filters), this.filter && (e = r(r({}, e), this.filter));
115
115
  let t = {};
116
- this.model && (t = S(this.model));
116
+ this.model && (t = y(this.model));
117
117
  const s = this.pageSize;
118
118
  return {
119
119
  // TABLE_STATUS: Object.freeze(TABLE_STATUS),
120
- tableStatus: c.empty,
120
+ tableStatus: d.empty,
121
121
  records: [],
122
122
  loading: !1,
123
123
  currentRow: null,
@@ -190,9 +190,7 @@ const c = {
190
190
  },
191
191
  methods: {
192
192
  updateTableScrollPosition() {
193
- return h(this, null, function* () {
194
- this.$refs.scroller && this.scrollTo(this.tableScrollTop, this.tableScrollLeft);
195
- });
193
+ this.$refs.scroller && this.scrollTo(this.tableScrollTop, this.tableScrollLeft);
196
194
  },
197
195
  filterTableProperties: O,
198
196
  filterTableEvents: x,
@@ -200,7 +198,7 @@ const c = {
200
198
  onTableScroll() {
201
199
  this.tableScrollTop = this.$refs.scroller.scrollTop, this.tableScrollLeft = this.$refs.scroller.scrollLeft;
202
200
  },
203
- copy: (e) => P(k(e)),
201
+ copy: (e) => C(k(e)),
204
202
  onSortChange({ prop: e, order: t }) {
205
203
  this.page.ascs = t === "ascending" ? e : "", this.page.descs = t === "descending" ? e : "";
206
204
  },
@@ -221,17 +219,17 @@ const c = {
221
219
  this.$set(this.page.model, e, t);
222
220
  },
223
221
  setModel(e) {
224
- this.page.page = 1, this.page.model = S(e);
222
+ this.page.page = 1, this.page.model = y(e);
225
223
  },
226
224
  deleteModelField(e) {
227
225
  delete this.page.model[e];
228
226
  },
229
227
  removeRule(e) {
230
- const t = this.page.filters.rules, s = t.findIndex((i) => i.field === e);
228
+ const t = this.page.filters.rules, s = t.findIndex((l) => l.field === e);
231
229
  s > -1 && t.splice(s, 1);
232
230
  },
233
231
  addFilter({ field: e, op: t, value: s }) {
234
- this.page.filters = Object.assign({}, this.page.filters, {
232
+ this.page.filters = p(r({}, this.page.filters), {
235
233
  rules: [
236
234
  {
237
235
  field: e,
@@ -252,21 +250,21 @@ const c = {
252
250
  this.setModel(this.model), this.getPage();
253
251
  },
254
252
  getPage() {
255
- return h(this, null, function* () {
256
- var l;
257
- if (C(this.$attrs, "data")) {
253
+ return f(this, null, function* () {
254
+ var i;
255
+ if (P(this.$attrs, "data")) {
258
256
  this.records = this.$attrs.data, this.page.page = 1, this.page.total = this.records.length, this.page.limit = this.page.total;
259
257
  return;
260
258
  }
261
259
  this.records = [];
262
260
  let e;
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
- this.tableStatus = c.loading;
261
+ const a = this.page, { filters: t } = a, s = S(a, ["filters"]), l = r({}, s);
262
+ if ((i = t == null ? void 0 : t.rules) != null && i.length && (l.filters = { rules: t.rules }), this.api || this.url) {
263
+ this.tableStatus = d.loading;
266
264
  try {
267
- this.loading = !0, this.api && (e = yield this.api(i)), this.url && (e = yield this.method(this.url, i)), this.loading = !1;
268
- } catch (n) {
269
- this.tableStatus = c.error, console.error(n), this.loading = !1;
265
+ this.loading = !0, this.api && (e = yield this.api(l)), this.url && (e = yield this.method(this.url, l)), this.loading = !1;
266
+ } catch (h) {
267
+ this.tableStatus = d.error, console.error(h), this.loading = !1;
270
268
  return;
271
269
  }
272
270
  } else {
@@ -276,20 +274,18 @@ const c = {
276
274
  });
277
275
  return;
278
276
  }
279
- const { data: r } = e || {}, { total: g, records: o } = r || {};
280
- this.page.total = Number(g), this.records = o, !o || !o.length ? this.tableStatus = c.empty : this.tableStatus = c.success, this.$refs.table && (this.$refs.scroller.scrollTop = 0), this.$emit("page-loaded", r);
277
+ const { data: o } = e || {}, { total: g, records: n } = o || {};
278
+ this.page.total = Number(g), this.records = n, !n || !n.length ? this.tableStatus = d.empty : this.tableStatus = d.success, this.$refs.table && (this.$refs.scroller.scrollTop = 0), this.$emit("page-loaded", o);
281
279
  });
282
280
  },
283
281
  refresh() {
284
- return h(this, null, function* () {
282
+ return f(this, null, function* () {
285
283
  yield this.getPage();
286
284
  });
287
285
  },
288
286
  reload() {
289
- return h(this, null, function* () {
290
- this.page = b(p({}, this.$options.data.call(this).page), {
291
- total: this.page.total
292
- });
287
+ this.page = p(r({}, this.$options.data.call(this).page), {
288
+ total: this.page.total
293
289
  });
294
290
  },
295
291
  scrollTo(e, t) {
@@ -299,10 +295,10 @@ const c = {
299
295
  };
300
296
  var F = function() {
301
297
  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(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;
298
+ 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) {
299
+ return [t._t("default", null, { item: l })];
300
+ }), 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) => {
301
+ t.page.page = l;
306
302
  } } })], 1)]);
307
303
  }, L = [], M = /* @__PURE__ */ R(
308
304
  E,
@@ -1,4 +1,4 @@
1
- import { s } from "../chunks/util.CoahLDYn.mjs";
1
+ import { s } from "../chunks/util.DqFv_pWg.mjs";
2
2
  import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  let o = class {
4
4
  /**
package/search/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { D as p } from "../chunks/util.CoahLDYn.mjs";
2
- import { i } from "../chunks/init.ofpxEyAI.mjs";
1
+ import { D as p } from "../chunks/util.DqFv_pWg.mjs";
2
+ import { i } from "../chunks/init.DAsXSoLW.mjs";
3
3
  import { isBlank as o } from "@web-utils/core";
4
4
  import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
5
  const l = {
@@ -16,7 +16,7 @@ var c = (r, e, t) => new Promise((s, i) => {
16
16
  });
17
17
  import { isInContainer as u, copy as d } from "@web-utils/core";
18
18
  import p from "element-ui/lib/utils/clickoutside";
19
- import { z as f } from "../chunks/util.CoahLDYn.mjs";
19
+ import { z as f } from "../chunks/util.DqFv_pWg.mjs";
20
20
  import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
21
21
  const m = {
22
22
  name: "SearchPopover",
package/sign/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { s as v } from "../chunks/util.CoahLDYn.mjs";
1
+ import { s as v } from "../chunks/util.DqFv_pWg.mjs";
2
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();
@@ -23,19 +23,19 @@ function g(e, t) {
23
23
  return !0;
24
24
  return !1;
25
25
  }
26
- const h = function() {
26
+ const h = (function() {
27
27
  return document.addEventListener ? function(e, t, s) {
28
28
  e && t && s && e.addEventListener(t, s, !1);
29
29
  } : function(e, t, s) {
30
30
  e && t && s && e.attachEvent(`on${t}`, s);
31
31
  };
32
- }(), p = function() {
32
+ })(), p = (function() {
33
33
  return document.removeEventListener ? function(e, t, s) {
34
34
  e && t && e.removeEventListener(t, s, !1);
35
35
  } : function(e, t, s) {
36
36
  e && t && e.detachEvent(`on${t}`, s);
37
37
  };
38
- }(), m = {
38
+ })(), m = {
39
39
  name: "Trigger",
40
40
  props: {
41
41
  mode: String,
@@ -160,9 +160,7 @@ const P = [
160
160
  this._viewIds = [], this.viewId && this._viewIds.push(this.viewId), this._viewIds.includes(this.$parent.$options.name) || this._viewIds.push(this.$parent.$options.name);
161
161
  },
162
162
  activated() {
163
- return a(this, null, function* () {
164
- this.$refs.treeScroller && (this.treeScrollTop && (this.$refs.treeScroller.scrollTop = this.treeScrollTop), this.treeScrollLeft && (this.$refs.treeScroller.scrollLeft = this.treeScrollLeft));
165
- });
163
+ this.$refs.treeScroller && (this.treeScrollTop && (this.$refs.treeScroller.scrollTop = this.treeScrollTop), this.treeScrollLeft && (this.$refs.treeScroller.scrollLeft = this.treeScrollLeft));
166
164
  },
167
165
  methods: {
168
166
  onTreeScroll() {
@@ -1,4 +1,4 @@
1
- import { s as l } from "../chunks/util.CoahLDYn.mjs";
1
+ import { s as l } from "../chunks/util.DqFv_pWg.mjs";
2
2
  import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  const h = {
4
4
  name: "TextEllipsis",
package/verify/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { s } from "../chunks/util.CoahLDYn.mjs";
1
+ import { s } from "../chunks/util.DqFv_pWg.mjs";
2
2
  import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  const o = {
4
4
  name: "Verify",
@@ -414,7 +414,7 @@ function Q(n, e) {
414
414
  const t = n.formatToParts(e);
415
415
  return new h(parseInt(t[4].value, 10), parseInt(t[0].value, 10), parseInt(t[2].value, 10), parseInt(t[6].value, 10) % 24, parseInt(t[8].value, 10), parseInt(t[10].value, 10));
416
416
  }
417
- const v = 60 * 60 * 1e3, x = (n, e) => e.findIndex((t) => t >= n);
417
+ const v = 3600 * 1e3, x = (n, e) => e.findIndex((t) => t >= n);
418
418
  class $ {
419
419
  constructor(e, t, s, a, i, r, c) {
420
420
  this.cronString = e, this.seconds = t, this.minutes = s, this.hours = a, this.days = i, this.months = r, this.years = c, this.skipRepeatedHour = !0, this.missingHour = "insert", this._warnings = null;
@@ -1,9 +1,20 @@
1
+ var o = Object.defineProperty;
2
+ var s = Object.getOwnPropertySymbols;
3
+ var r = Object.prototype.hasOwnProperty, u = Object.prototype.propertyIsEnumerable;
4
+ var n = (t, i, e) => i in t ? o(t, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[i] = e, l = (t, i) => {
5
+ for (var e in i || (i = {}))
6
+ r.call(i, e) && n(t, e, i[e]);
7
+ if (s)
8
+ for (var e of s(i))
9
+ u.call(i, e) && n(t, e, i[e]);
10
+ return t;
11
+ };
1
12
  import "quill/dist/quill.core.css";
2
13
  import "quill/dist/quill.snow.css";
3
14
  import "quill/dist/quill.bubble.css";
4
- import l from "quill";
5
- import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- const n = {
15
+ import h from "quill";
16
+ import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
17
+ const d = {
7
18
  theme: "snow",
8
19
  boundary: document.body,
9
20
  modules: {
@@ -26,7 +37,7 @@ const n = {
26
37
  },
27
38
  placeholder: "Insert text here ...",
28
39
  readOnly: !1
29
- }, o = {
40
+ }, c = {
30
41
  name: "VueQuillEditor",
31
42
  props: {
32
43
  content: String,
@@ -50,7 +61,7 @@ const n = {
50
61
  return {
51
62
  innerOptions: {},
52
63
  innerContent: "",
53
- defaultOptions: n
64
+ defaultOptions: d
54
65
  };
55
66
  },
56
67
  watch: {
@@ -76,7 +87,7 @@ const n = {
76
87
  methods: {
77
88
  // Init Quill instance
78
89
  initialize() {
79
- this.$el && (this.innerOptions = Object.assign({}, this.defaultOptions, this.globalOptions, this.options), this.quill = new l(this.$refs.editor, this.innerOptions), this.quill.enable(!1), (this.value || this.content) && this.quill.pasteHTML(this.value || this.content), this.disabled || this.quill.enable(!0), this.quill.on("selection-change", (t) => {
90
+ this.$el && (this.innerOptions = l(l(l({}, this.defaultOptions), this.globalOptions), this.options), this.quill = new h(this.$refs.editor, this.innerOptions), this.quill.enable(!1), (this.value || this.content) && this.quill.pasteHTML(this.value || this.content), this.disabled || this.quill.enable(!0), this.quill.on("selection-change", (t) => {
80
91
  t ? this.$emit("focus", this.quill) : this.$emit("blur", this.quill);
81
92
  }), this.quill.on("text-change", () => {
82
93
  let t = this.$refs.editor.children[0].innerHTML;
@@ -86,18 +97,18 @@ const n = {
86
97
  }
87
98
  }
88
99
  };
89
- var r = function() {
100
+ var f = function() {
90
101
  var i = this, e = i._self._c;
91
102
  return e("div", { staticClass: "vue-quill-editor" }, [i._t("toolbar"), e("div", { ref: "editor", staticClass: "quill-editor" })], 2);
92
- }, u = [], a = /* @__PURE__ */ s(
93
- o,
94
- r,
95
- u,
103
+ }, p = [], q = /* @__PURE__ */ a(
104
+ c,
105
+ f,
106
+ p,
96
107
  !1,
97
108
  null,
98
109
  null
99
110
  );
100
- const q = a.exports;
111
+ const O = q.exports;
101
112
  export {
102
- q as default
113
+ O as default
103
114
  };
@@ -1,5 +1,16 @@
1
- import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
- const l = {
1
+ var u = Object.defineProperty;
2
+ var n = Object.getOwnPropertySymbols;
3
+ var o = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4
+ var l = (t, e, s) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, h = (t, e) => {
5
+ for (var s in e || (e = {}))
6
+ o.call(e, s) && l(t, s, e[s]);
7
+ if (n)
8
+ for (var s of n(e))
9
+ c.call(e, s) && l(t, s, e[s]);
10
+ return t;
11
+ };
12
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
13
+ const d = {
3
14
  name: "VueTagsInput",
4
15
  props: {
5
16
  elementId: {
@@ -157,7 +168,7 @@ const l = {
157
168
  for (const i of this.existingTags) {
158
169
  const r = this.caseSensitiveTags ? i.value : i.value.toLowerCase();
159
170
  if (a === r) {
160
- s = Object.assign({}, i);
171
+ s = h({}, i);
161
172
  break;
162
173
  }
163
174
  }
@@ -374,7 +385,7 @@ const l = {
374
385
  }
375
386
  }
376
387
  };
377
- var h = function() {
388
+ var g = function() {
378
389
  var e = this, s = e._self._c;
379
390
  return s("div", { staticClass: "tags-input-root" }, [s("div", { class: `${e.wrapperClass} tags-input` }, [e._l(e.tags, function(a, i) {
380
391
  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) {
@@ -417,15 +428,15 @@ var h = function() {
417
428
  return r.preventDefault(), e.tagFromSearchOnClick(a);
418
429
  } } });
419
430
  })], 2) : e._e()])]);
420
- }, u = [], o = /* @__PURE__ */ n(
421
- l,
422
- h,
423
- u,
431
+ }, f = [], y = /* @__PURE__ */ p(
432
+ d,
433
+ g,
434
+ f,
424
435
  !1,
425
436
  null,
426
437
  null
427
438
  );
428
- const p = o.exports;
439
+ const S = y.exports;
429
440
  export {
430
- p as default
441
+ S as default
431
442
  };