@web-utils/component 4.0.0 → 4.0.2

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/awesome-button/index.mjs +25 -55
  2. package/base.css +1 -1
  3. package/card/style.css +1 -1
  4. package/carousel/style.css +1 -1
  5. package/chat/style.css +1 -1
  6. package/chunks/{ElementForm.8w6UkiuU.mjs → ElementForm.CQ3PN5qj.mjs} +17 -35
  7. package/chunks/{ElementListeners.DOy8wyD2.mjs → ElementListeners.De_PRuIm.mjs} +56 -95
  8. package/chunks/{ElementMultiInstance.3Z28ewuh.mjs → ElementMultiInstance.DQo2wuAQ.mjs} +16 -26
  9. package/chunks/{ElementProperties.B2I48muA.mjs → ElementProperties.CosfDrlW.mjs} +16 -16
  10. package/chunks/{ElementTaskConfig.MBbkLrth.mjs → ElementTaskConfig.Bko0kgTp.mjs} +104 -113
  11. package/chunks/{FlowCondition.BfU9kw6h.mjs → FlowCondition.Y6qEYi1T.mjs} +36 -66
  12. package/chunks/{SignalAndMessage.CH6L7cYu.mjs → SignalAndMessage.Bb5PFX0N.mjs} +11 -22
  13. package/chunks/{UserTaskListeners.XXe5dC5I.mjs → UserTaskListeners.Bv3BDfEI.mjs} +45 -86
  14. package/chunks/configComponents.BDhlZU8F.mjs +23 -0
  15. package/chunks/confirmable-mixin.D9aKzKZ9.mjs +85 -0
  16. package/chunks/core.DJEgjQW6.mjs +54 -0
  17. package/chunks/dictionary.DqiP9x2m.mjs +25 -0
  18. package/chunks/dictionary.DsN-2ukC.mjs +70 -0
  19. package/chunks/form-input.B8z37eqj.mjs +31 -0
  20. package/chunks/form-item.D-H-wCPE.mjs +233 -0
  21. package/chunks/form-validate.CVarNHKX.mjs +12 -0
  22. package/chunks/helper.BiMLcEEk.mjs +41 -0
  23. package/chunks/index.9OxHjTIE.mjs +16 -0
  24. package/chunks/{index.MAFc4eFi.mjs → index.d3MV3Wq2.mjs} +43 -47
  25. package/chunks/sub-table-plus-props.BVsD71hT.mjs +30 -0
  26. package/chunks/{tab-mixin.CVr9bZtn.mjs → tab-mixin.BNK6dxLN.mjs} +1 -1
  27. package/chunks/utilSelf.Csq1766E.mjs +48 -0
  28. package/color-picker/index.mjs +19 -37
  29. package/comment/style.css +1 -1
  30. package/confirm-button/index.mjs +1 -1
  31. package/confirmable/index.mjs +1 -1
  32. package/context-menu/style.css +1 -1
  33. package/count-up/index.mjs +13 -24
  34. package/custom-scrollbar/index.mjs +1 -2
  35. package/data-operatext/style.css +1 -1
  36. package/data-panel/style.css +1 -1
  37. package/data-pay/style.css +1 -1
  38. package/data-price/style.css +1 -1
  39. package/data-rotate/style.css +1 -1
  40. package/data-table-picker/index.mjs +1 -1
  41. package/data-tabs/style.css +1 -1
  42. package/dialog-form/index.mjs +16 -28
  43. package/dynamic-table/style.css +1 -1
  44. package/easy-popup/index.mjs +22 -40
  45. package/easy-popup/style.css +1 -1
  46. package/editable-tree/index.mjs +203 -250
  47. package/editable-tree/style.css +1 -1
  48. package/element-dialog/index.mjs +30 -52
  49. package/element-dialog/style.css +1 -1
  50. package/flex-column/index.mjs +13 -25
  51. package/flex-item/index.mjs +15 -27
  52. package/flex-row/index.mjs +13 -25
  53. package/flow-designer/index.mjs +343 -374
  54. package/flow-designer/style.css +1 -1
  55. package/flow-viewer/index.mjs +64 -91
  56. package/form-block/index.mjs +33 -26
  57. package/form-card/index.mjs +25 -0
  58. package/form-cascader/index.mjs +70 -67
  59. package/form-checkbox/index.mjs +71 -0
  60. package/form-checkbox-group/index.mjs +33 -53
  61. package/form-date-picker/index.mjs +44 -73
  62. package/form-holder/index.mjs +54 -40
  63. package/form-holder/style.css +1 -0
  64. package/form-input/index.mjs +62 -40
  65. package/form-input-cron-expression/index.mjs +77 -0
  66. package/form-input-cron-expression/style.css +1 -0
  67. package/form-input-email/index.mjs +21 -33
  68. package/form-input-id-card/index.mjs +25 -38
  69. package/form-input-number/index.mjs +39 -42
  70. package/form-input-number/style.css +1 -1
  71. package/form-input-phone-number/index.mjs +26 -37
  72. package/form-input-tag/index.mjs +32 -34
  73. package/form-input-time/index.mjs +22 -37
  74. package/form-item/index.mjs +109 -101
  75. package/form-item/style.css +1 -1
  76. package/form-item-config-provider/index.mjs +18 -10
  77. package/form-item-group/index.mjs +73 -69
  78. package/form-item-group/style.css +1 -1
  79. package/form-radio-group/index.mjs +41 -36
  80. package/form-radio-group/style.css +1 -1
  81. package/form-select/index.mjs +142 -75
  82. package/form-select/style.css +1 -0
  83. package/form-switch/index.mjs +29 -34
  84. package/form-table/index.mjs +85 -0
  85. package/form-table-plus/index.mjs +109 -0
  86. package/form-textarea/index.mjs +23 -35
  87. package/form-tree-select/index.mjs +72 -0
  88. package/form-tree-select/style.css +1 -0
  89. package/form-tree-select-multiple/index.mjs +78 -0
  90. package/form-view/index.mjs +37 -69
  91. package/form-view/style.css +1 -1
  92. package/fy-curd/index.mjs +131 -140
  93. package/fy-curd/style.css +1 -1
  94. package/fy-draggable/index.mjs +16 -26
  95. package/fy-draggable/style.css +1 -1
  96. package/fy-dynamic/index.mjs +48 -57
  97. package/fy-empty/style.css +1 -1
  98. package/fy-form/style.css +1 -1
  99. package/fy-form-design/index.mjs +314 -339
  100. package/fy-form-design/style.css +1 -1
  101. package/fy-input-map/index.mjs +40 -50
  102. package/fy-input-map/style.css +1 -1
  103. package/fy-input-table/index.mjs +31 -41
  104. package/fy-u-editor/index.mjs +77 -103
  105. package/fy-upload/style.css +1 -1
  106. package/highlight-j-s/style.css +1 -1
  107. package/image-cropper/index.mjs +14 -65
  108. package/image-preview/index.mjs +17 -45
  109. package/image-preview/style.css +1 -1
  110. package/image-viewer/style.css +1 -1
  111. package/index.mjs +666 -496
  112. package/input-number/index.mjs +64 -9
  113. package/keyboard/style.css +1 -1
  114. package/monaco-editor/index.mjs +43 -71
  115. package/name-avatar/style.css +1 -1
  116. package/package.json +5 -4
  117. package/page-index/index.mjs +30 -54
  118. package/page-index-top/index.mjs +25 -47
  119. package/pageable-table/index.mjs +385 -218
  120. package/pageable-table/style.css +1 -1
  121. package/pageable-view/index.mjs +56 -95
  122. package/photo-swipe/index.mjs +51 -74
  123. package/picker-table-view/index.mjs +117 -0
  124. package/present-view/index.mjs +43 -77
  125. package/present-view/style.css +1 -1
  126. package/resize-observer/index.mjs +1 -1
  127. package/resize-observer/style.css +1 -1
  128. package/search/style.css +1 -1
  129. package/search-popover/index.mjs +28 -48
  130. package/search-popover/style.css +1 -1
  131. package/sign/index.mjs +1 -1
  132. package/sign-panel/style.css +1 -1
  133. package/skeleton-panel/index.mjs +38 -0
  134. package/skeleton-panel/style.css +1 -0
  135. package/split-pane/index.mjs +31 -49
  136. package/split-pane/style.css +1 -1
  137. package/sub-table/index.mjs +206 -0
  138. package/sub-table/style.css +1 -0
  139. package/sub-table-plus/index.mjs +231 -0
  140. package/sub-table-plus/style.css +1 -0
  141. package/swiper/index.mjs +18 -38
  142. package/swiper/style.css +1 -1
  143. package/tab/index.mjs +1 -1
  144. package/tab/style.css +1 -1
  145. package/tab-item/index.mjs +2 -2
  146. package/table-column/index.mjs +166 -37
  147. package/table-column/style.css +1 -0
  148. package/table-view/index.mjs +177 -132
  149. package/table-view/style.css +1 -1
  150. package/tabs-view/index.mjs +104 -0
  151. package/tabs-view/style.css +1 -0
  152. package/tag-render/index.mjs +13 -24
  153. package/toolbar/index.mjs +115 -58
  154. package/toolbar/style.css +1 -1
  155. package/toolbar-button/index.mjs +92 -48
  156. package/vue-cron/index.mjs +47 -65
  157. package/vue-qr-code/index.mjs +14 -32
  158. package/vue-quill-editor/index.mjs +13 -24
  159. package/vue-tags-input/index.mjs +10 -21
  160. package/vue-tree-select/index.mjs +352 -393
  161. package/vue-tree-select/style.css +1 -1
  162. package/vue-video-player/index.mjs +34 -63
  163. package/watermark/index.mjs +21 -31
  164. package/web-types.json +9240 -3840
  165. package/x-input-tag/index.mjs +29 -61
  166. package/chunks/confirmable-mixin.D4LAArE5.mjs +0 -114
  167. package/chunks/form-input-mixin.BkKiqJhi.mjs +0 -24
  168. package/chunks/form-item-mixin.CG4ZwzMC.mjs +0 -140
  169. package/chunks/input-number-mixin.CzjtGf2n.mjs +0 -60
  170. package/chunks/utilSelf.CRqpl0Cz.mjs +0 -56
  171. package/toolbar-button/style.css +0 -1
  172. /package/chunks/{form-pick-mixin.BFTIVn_i.mjs → form-pick.BFTIVn_i.mjs} +0 -0
@@ -1,23 +1,7 @@
1
- var W = (n, e, t) => new Promise((s, a) => {
2
- var i = (o) => {
3
- try {
4
- c(t.next(o));
5
- } catch (l) {
6
- a(l);
7
- }
8
- }, r = (o) => {
9
- try {
10
- c(t.throw(o));
11
- } catch (l) {
12
- a(l);
13
- }
14
- }, c = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(i, r);
15
- c((t = t.apply(n, e)).next());
16
- });
17
- import { formatDate as H } from "@web-utils/integrations/dayjs";
18
- import { copy as L } from "@web-utils/core";
19
- import { n as F } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
20
- const Y = {
1
+ import { formatDate as N } from "@web-utils/integrations/dayjs";
2
+ import { copy as H } from "@web-utils/core";
3
+ import { n as L } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
+ const F = {
21
5
  Seconds: {
22
6
  name: "秒",
23
7
  every: "每秒钟,允许的通配符[* / , -]",
@@ -77,7 +61,7 @@ const Y = {
77
61
  function b(n, e) {
78
62
  return n.reduce((t, s, a) => (t.push(...e(s, a, n)), t), []);
79
63
  }
80
- const T = {
64
+ const W = {
81
65
  "@yearly": "0 0 0 1 1 * *",
82
66
  "@annually": "0 0 0 1 1 * *",
83
67
  "@monthly": "0 0 0 1 * * *",
@@ -85,14 +69,14 @@ const T = {
85
69
  "@daily": "0 0 0 * * * *",
86
70
  "@midnight": "0 0 0 * * * *",
87
71
  "@hourly": "0 0 * * * * *"
88
- }, R = ["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"], U = new RegExp(R.join("|"), "g"), M = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"], B = new RegExp(M.join("|"), "g"), g = 275759;
72
+ }, z = ["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"], Y = new RegExp(z.join("|"), "g"), R = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"], U = new RegExp(R.join("|"), "g"), g = 275759;
89
73
  var S;
90
74
  (function(n) {
91
75
  n.IncrementLargerThanRange = "IncrementLargerThanRange";
92
76
  })(S || (S = {}));
93
- function C(n) {
77
+ function T(n) {
94
78
  let e = n.trim().toLowerCase();
95
- T[e] && (e = T[e]);
79
+ W[e] && (e = W[e]);
96
80
  const t = e.split(/\s+/g);
97
81
  if (t.length < 5 || t.length > 7)
98
82
  throw new Error("Expression must have at least 5 fields, and no more than 7 fields");
@@ -103,12 +87,12 @@ function C(n) {
103
87
  t.push("*");
104
88
  }
105
89
  return [
106
- new O(t[0]),
107
- new O(t[1]),
108
- new P(t[2]),
109
- new V(t[3], t[5]),
110
- new j(t[4]),
111
- new G(t[6])
90
+ new C(t[0]),
91
+ new C(t[1]),
92
+ new B(t[2]),
93
+ new P(t[3], t[5]),
94
+ new V(t[4]),
95
+ new j(t[6])
112
96
  ];
113
97
  }
114
98
  function E(n, e, t) {
@@ -175,8 +159,8 @@ class y {
175
159
  to: p ? void 0 : u
176
160
  };
177
161
  } else if (m) {
178
- const [u, k] = m.split("-").map((N) => {
179
- const I = parseInt(N, 10);
162
+ const [u, k] = m.split("-").map((M) => {
163
+ const I = parseInt(M, 10);
180
164
  return i ? i(I) : I;
181
165
  });
182
166
  if (u < t || u > s || k < t || k > s || k < u && !a)
@@ -190,22 +174,22 @@ class y {
190
174
  }
191
175
  }
192
176
  y.asterisk = new y("*");
193
- class O extends f {
177
+ class C extends f {
194
178
  constructor() {
195
179
  super(...arguments), this.first = 0, this.last = 59;
196
180
  }
197
181
  }
198
- class P extends f {
182
+ class B extends f {
199
183
  constructor() {
200
184
  super(...arguments), this.first = 0, this.last = 23;
201
185
  }
202
186
  }
203
- class V {
187
+ class P {
204
188
  constructor(e, t) {
205
189
  this.lastDay = !1, this.lastWeekday = !1, this.daysItems = [], this.nearestWeekdayItems = [], this.daysOfWeekItems = [], this.lastDaysOfWeekItems = [], this.nthDaysOfWeekItems = [];
206
190
  for (let i of e.split(",").map((r) => r === "?" ? "*" : r))
207
191
  i === "l" ? this.lastDay = !0 : i === "lw" ? this.lastWeekday = !0 : i.endsWith("w") ? this.nearestWeekdayItems.push(y.parse(i.slice(0, -1), 1, 31)) : this.daysItems.push(y.parse(i, 1, 31));
208
- const s = t.replace(B, (i) => M.indexOf(i) + ""), a = (i) => y.parse(i, 0, 6, !0, (r) => r === 7 ? 0 : r);
192
+ const s = t.replace(U, (i) => R.indexOf(i) + ""), a = (i) => y.parse(i, 0, 6, !0, (r) => r === 7 ? 0 : r);
209
193
  for (let i of s.split(",").map((r) => r === "?" ? "*" : r)) {
210
194
  const r = i.lastIndexOf("#");
211
195
  if (i.endsWith("l"))
@@ -284,12 +268,12 @@ class D {
284
268
  return Array.from(s).filter((c) => c <= a).sort(w);
285
269
  }
286
270
  }
287
- class j extends f {
271
+ class V extends f {
288
272
  constructor(e) {
289
- super(e.replace(U, (t) => R.indexOf(t) + 1 + "")), this.first = 1, this.last = 12;
273
+ super(e.replace(Y, (t) => z.indexOf(t) + 1 + "")), this.first = 1, this.last = 12;
290
274
  }
291
275
  }
292
- class G extends f {
276
+ class j extends f {
293
277
  constructor(e) {
294
278
  super(e), this.first = 1970, this.last = 2099, this.items;
295
279
  }
@@ -343,7 +327,7 @@ class h {
343
327
  }
344
328
  }
345
329
  const _ = /* @__PURE__ */ new Map();
346
- class z {
330
+ class O {
347
331
  constructor(e) {
348
332
  if (typeof e == "number") {
349
333
  if (e > 840 || e < -840)
@@ -366,7 +350,7 @@ class z {
366
350
  minute: "2-digit",
367
351
  second: "2-digit"
368
352
  });
369
- } catch (a) {
353
+ } catch {
370
354
  throw new Error("Invalid IANA name or offset");
371
355
  }
372
356
  this.zoneName = e;
@@ -391,7 +375,7 @@ class z {
391
375
  return (l - d) / 6e4;
392
376
  }
393
377
  nativeDateToCronosDate(e) {
394
- return this.dateTimeFormat ? this.dateTimeFormat.formatToParts ? Q(this.dateTimeFormat, e) : q(this.dateTimeFormat, e) : h.fromUTCTimestamp(e.getTime() + (this.fixedOffset || 0) * 6e4);
378
+ return this.dateTimeFormat ? this.dateTimeFormat.formatToParts ? q(this.dateTimeFormat, e) : G(this.dateTimeFormat, e) : h.fromUTCTimestamp(e.getTime() + (this.fixedOffset || 0) * 6e4);
395
379
  }
396
380
  cronosDateToNativeDate(e) {
397
381
  if (!this.dateTimeFormat)
@@ -406,11 +390,11 @@ class z {
406
390
  return i === r ? new Date(a) : new Date(s - Math.min(i, r) * 6e4);
407
391
  }
408
392
  }
409
- function q(n, e) {
410
- const t = n.format(e).replace(/\u200E/g, ""), s = t.match(/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/), [, a, i, r, c, o, l] = (s != null ? s : []).map((d) => parseInt(d, 10));
393
+ function G(n, e) {
394
+ const t = n.format(e).replace(/\u200E/g, ""), s = t.match(/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/), [, a, i, r, c, o, l] = (s ?? []).map((d) => parseInt(d, 10));
411
395
  return new h(r, a, i, c % 24, o, l);
412
396
  }
413
- function Q(n, e) {
397
+ function q(n, e) {
414
398
  const t = n.formatToParts(e);
415
399
  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
400
  }
@@ -421,18 +405,18 @@ class $ {
421
405
  }
422
406
  static parse(e, t = {}) {
423
407
  var s;
424
- const a = C(e);
408
+ const a = T(e);
425
409
  if (t.strict) {
426
410
  let r = b(a, (c) => c.warnings);
427
411
  if (typeof t.strict == "object" && (r = r.filter((c) => !!t.strict[c.type])), r.length > 0)
428
412
  throw new Error(`Strict mode: Parsing failed with ${r.length} warnings`);
429
413
  }
430
414
  const i = new $(e, a[0].values, a[1].values, a[2].values, a[3].values, a[4].values, a[5]);
431
- return i.timezone = t.timezone instanceof z ? t.timezone : t.timezone !== void 0 ? new z(t.timezone) : void 0, i.skipRepeatedHour = t.skipRepeatedHour !== void 0 ? t.skipRepeatedHour : i.skipRepeatedHour, i.missingHour = (s = t.missingHour) !== null && s !== void 0 ? s : i.missingHour, i;
415
+ return i.timezone = t.timezone instanceof O ? t.timezone : t.timezone !== void 0 ? new O(t.timezone) : void 0, i.skipRepeatedHour = t.skipRepeatedHour !== void 0 ? t.skipRepeatedHour : i.skipRepeatedHour, i.missingHour = (s = t.missingHour) !== null && s !== void 0 ? s : i.missingHour, i;
432
416
  }
433
417
  get warnings() {
434
418
  if (!this._warnings) {
435
- const e = C(this.cronString);
419
+ const e = T(this.cronString);
436
420
  this._warnings = b(e, (t) => t.warnings);
437
421
  }
438
422
  return this._warnings;
@@ -535,7 +519,7 @@ class $ {
535
519
  return s === void 0 ? null : e.copyWith({ second: s });
536
520
  }
537
521
  }
538
- const Z = {
522
+ const Q = {
539
523
  name: "VueCron",
540
524
  props: {
541
525
  data: Object,
@@ -684,7 +668,7 @@ const Z = {
684
668
  },
685
669
  computed: {
686
670
  text() {
687
- return Y;
671
+ return F;
688
672
  },
689
673
  secondsText() {
690
674
  let n = "";
@@ -878,15 +862,13 @@ const Z = {
878
862
  },
879
863
  cron: {
880
864
  immediate: !0,
881
- handler() {
882
- return W(this, null, function* () {
883
- const n = `${this.secondsText} ${this.minutesText} ${this.hoursText} ${this.daysText} ${this.monthsText} ${this.weeksText} ${this.yearsText}`;
884
- try {
885
- this.runsParser ? this.runs = yield this.runsParser(n) : this.runs = $.parse(n).nextNDates(/* @__PURE__ */ new Date(), 5).map((e) => H(e));
886
- } catch (e) {
887
- console.error(e), this.runs = [e.message];
888
- }
889
- });
865
+ async handler() {
866
+ const n = `${this.secondsText} ${this.minutesText} ${this.hoursText} ${this.daysText} ${this.monthsText} ${this.weeksText} ${this.yearsText}`;
867
+ try {
868
+ this.runsParser ? this.runs = await this.runsParser(n) : this.runs = $.parse(n).nextNDates(/* @__PURE__ */ new Date(), 5).map((e) => N(e));
869
+ } catch (e) {
870
+ console.error(e), this.runs = [e.message];
871
+ }
890
872
  }
891
873
  },
892
874
  expression: {
@@ -896,7 +878,7 @@ const Z = {
896
878
  },
897
879
  methods: {
898
880
  copyCron() {
899
- L(
881
+ H(
900
882
  this.cron,
901
883
  () => {
902
884
  this.$message.success("复制成功");
@@ -1021,7 +1003,7 @@ const Z = {
1021
1003
  }
1022
1004
  }
1023
1005
  };
1024
- var J = function() {
1006
+ var Z = function() {
1025
1007
  var e = this, t = e._self._c;
1026
1008
  return t("div", { staticClass: "vue-cron" }, [t("ElTabs", { attrs: { type: "border-card" } }, [t("ElTabPane", { scopedSlots: e._u([{ key: "label", fn: function() {
1027
1009
  return [t("span", [t("i", { staticClass: "el-icon-date" }), e._v(" " + e._s(e.text.Seconds.name))])];
@@ -1184,15 +1166,15 @@ var J = function() {
1184
1166
  }), 1)], 1)], 1)], 1)], 1), t("div", { staticStyle: { padding: "0 0 10px" } }, [t("div", { staticClass: "cron-expression", staticStyle: { "padding-top": "20px" } }, [t("p", { staticClass: "title" }, [e._v("Cron 表达式")]), t("div", { staticClass: "flex-row" }, [t("div", { staticClass: "flex-column field" }, [t("span", { staticClass: "field-name" }, [e._v("秒")]), t("span", { staticClass: "field-value" }, [e._v(e._s(e.secondsText))])]), t("div", { staticClass: "flex-column field" }, [t("span", { staticClass: "field-name" }, [e._v(" 分钟")]), t("span", { staticClass: "field-value" }, [e._v(e._s(e.minutesText))])]), t("div", { staticClass: "flex-column field" }, [t("span", { staticClass: "field-name" }, [e._v("小时")]), t("span", { staticClass: "field-value" }, [e._v(e._s(e.hoursText))])]), t("div", { staticClass: "flex-column field" }, [t("span", { staticClass: "field-name" }, [e._v("天")]), t("span", { staticClass: "field-value highlight" }, [e._v(e._s(e.daysText))])]), t("div", { staticClass: "flex-column field" }, [t("span", { staticClass: "field-name" }, [e._v("月")]), t("span", { staticClass: "field-value" }, [e._v(e._s(e.monthsText))])]), t("div", { staticClass: "flex-column field" }, [t("span", { staticClass: "field-name" }, [e._v("周")]), t("span", { staticClass: "field-value highlight" }, [e._v(e._s(e.quartz ? e.weeksTextQuartz : e.weeksText))])]), t("div", { staticClass: "flex-column field" }, [t("span", { staticClass: "field-name" }, [e._v("年")]), t("span", { staticClass: "field-value" }, [e._v(e._s(e.yearsText))])]), t("div", { staticClass: "flex-column flex-item", staticStyle: { padding: "0 10px" } }, [t("span", { staticClass: "field-name" }, [e._v("cron 完整表达式")]), t("span", { staticClass: "field-value", staticStyle: { width: "auto", cursor: "copy" }, on: { click: e.copyCron } }, [e._v(e._s(e.cron))])])])]), t("div", { staticClass: "cron-expression", staticStyle: { "margin-top": "10px" } }, [t("div", { staticStyle: { "margin-bottom": "10px" } }, [e._v("最近 5 次运行时间")]), e._l(e.runs, function(s) {
1185
1167
  return t("ul", { key: s, staticStyle: { "padding-left": "18px" } }, [t("li", { staticStyle: { "margin-bottom": "4px" } }, [e._v(e._s(s))])]);
1186
1168
  })], 2)]), t("div", { staticClass: "bottom" }, [t("ElButton", { attrs: { type: "primary" }, on: { click: e.change } }, [e._v(e._s(e.text.Save))]), t("ElButton", { attrs: { type: "primary" }, on: { click: e.close } }, [e._v(e._s(e.text.Close))])], 1)], 1);
1187
- }, K = [], X = /* @__PURE__ */ F(
1169
+ }, J = [], K = /* @__PURE__ */ L(
1170
+ Q,
1188
1171
  Z,
1189
1172
  J,
1190
- K,
1191
1173
  !1,
1192
1174
  null,
1193
1175
  null
1194
1176
  );
1195
- const ne = X.exports;
1177
+ const te = K.exports;
1196
1178
  export {
1197
- ne as default
1179
+ te as default
1198
1180
  };
@@ -1,22 +1,6 @@
1
- var o = (t, a, n) => new Promise((l, r) => {
2
- var c = (e) => {
3
- try {
4
- s(n.next(e));
5
- } catch (i) {
6
- r(i);
7
- }
8
- }, p = (e) => {
9
- try {
10
- s(n.throw(e));
11
- } catch (i) {
12
- r(i);
13
- }
14
- }, s = (e) => e.done ? l(e.value) : Promise.resolve(e.value).then(c, p);
15
- s((n = n.apply(t, a)).next());
16
- });
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
- const f = {
1
+ import { drawToCanvas as a, genDataURL as n, genSVG as s } from "@web-utils/integrations/qrcode";
2
+ import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
+ const r = {
20
4
  name: "VueQrCode",
21
5
  props: {
22
6
  /**
@@ -47,27 +31,25 @@ const f = {
47
31
  }
48
32
  },
49
33
  methods: {
50
- generate() {
51
- return o(this, null, function* () {
52
- yield this.$nextTick();
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
- });
34
+ async generate() {
35
+ await this.$nextTick();
36
+ const { options: t, tag: e } = this;
37
+ e === "canvas" ? await a(this.$el, this.text, t) : e === "img" ? this.$el.src = await n(this.text, t) : this.$el.innerHTML = await s(this.text, t);
56
38
  }
57
39
  },
58
40
  render(t) {
59
41
  return t(this.tag, this.$slots.default);
60
42
  }
61
- }, g = null, _ = null;
62
- var x = /* @__PURE__ */ u(
63
- f,
64
- g,
65
- _,
43
+ }, o = null, l = null;
44
+ var c = /* @__PURE__ */ i(
45
+ r,
46
+ o,
47
+ l,
66
48
  !1,
67
49
  null,
68
50
  null
69
51
  );
70
- const C = x.exports;
52
+ const h = c.exports;
71
53
  export {
72
- C as default
54
+ h as default
73
55
  };
@@ -1,20 +1,9 @@
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
- };
12
1
  import "quill/dist/quill.core.css";
13
2
  import "quill/dist/quill.snow.css";
14
3
  import "quill/dist/quill.bubble.css";
15
- import h from "quill";
16
- import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
17
- const d = {
4
+ import l from "quill";
5
+ import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
+ const n = {
18
7
  theme: "snow",
19
8
  boundary: document.body,
20
9
  modules: {
@@ -37,7 +26,7 @@ const d = {
37
26
  },
38
27
  placeholder: "Insert text here ...",
39
28
  readOnly: !1
40
- }, c = {
29
+ }, o = {
41
30
  name: "VueQuillEditor",
42
31
  props: {
43
32
  content: String,
@@ -61,7 +50,7 @@ const d = {
61
50
  return {
62
51
  innerOptions: {},
63
52
  innerContent: "",
64
- defaultOptions: d
53
+ defaultOptions: n
65
54
  };
66
55
  },
67
56
  watch: {
@@ -87,7 +76,7 @@ const d = {
87
76
  methods: {
88
77
  // Init Quill instance
89
78
  initialize() {
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) => {
79
+ this.$el && (this.innerOptions = { ...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) => {
91
80
  t ? this.$emit("focus", this.quill) : this.$emit("blur", this.quill);
92
81
  }), this.quill.on("text-change", () => {
93
82
  let t = this.$refs.editor.children[0].innerHTML;
@@ -97,18 +86,18 @@ const d = {
97
86
  }
98
87
  }
99
88
  };
100
- var f = function() {
89
+ var r = function() {
101
90
  var i = this, e = i._self._c;
102
91
  return e("div", { staticClass: "vue-quill-editor" }, [i._t("toolbar"), e("div", { ref: "editor", staticClass: "quill-editor" })], 2);
103
- }, p = [], q = /* @__PURE__ */ a(
104
- c,
105
- f,
106
- p,
92
+ }, u = [], h = /* @__PURE__ */ s(
93
+ o,
94
+ r,
95
+ u,
107
96
  !1,
108
97
  null,
109
98
  null
110
99
  );
111
- const O = q.exports;
100
+ const q = h.exports;
112
101
  export {
113
- O as default
102
+ q as default
114
103
  };
@@ -1,16 +1,5 @@
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 = {
1
+ import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
+ const l = {
14
3
  name: "VueTagsInput",
15
4
  props: {
16
5
  elementId: {
@@ -168,7 +157,7 @@ const d = {
168
157
  for (const i of this.existingTags) {
169
158
  const r = this.caseSensitiveTags ? i.value : i.value.toLowerCase();
170
159
  if (a === r) {
171
- s = h({}, i);
160
+ s = { ...i };
172
161
  break;
173
162
  }
174
163
  }
@@ -385,7 +374,7 @@ const d = {
385
374
  }
386
375
  }
387
376
  };
388
- var g = function() {
377
+ var h = function() {
389
378
  var e = this, s = e._self._c;
390
379
  return s("div", { staticClass: "tags-input-root" }, [s("div", { class: `${e.wrapperClass} tags-input` }, [e._l(e.tags, function(a, i) {
391
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) {
@@ -428,15 +417,15 @@ var g = function() {
428
417
  return r.preventDefault(), e.tagFromSearchOnClick(a);
429
418
  } } });
430
419
  })], 2) : e._e()])]);
431
- }, f = [], y = /* @__PURE__ */ p(
432
- d,
433
- g,
434
- f,
420
+ }, u = [], o = /* @__PURE__ */ n(
421
+ l,
422
+ h,
423
+ u,
435
424
  !1,
436
425
  null,
437
426
  null
438
427
  );
439
- const S = y.exports;
428
+ const p = o.exports;
440
429
  export {
441
- S as default
430
+ p as default
442
431
  };