@web-utils/component 3.3.15 → 3.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/address-input/index.mjs +1 -3
  2. package/affix/index.mjs +4 -6
  3. package/aside-menu/index.mjs +8 -10
  4. package/avatar/index.mjs +1 -3
  5. package/awesome-button/index.mjs +20 -22
  6. package/capsule-tab/index.mjs +4 -6
  7. package/card/index.mjs +4 -6
  8. package/carousel/index.mjs +1 -3
  9. package/chat/index.mjs +2 -4
  10. package/chunk-file-uploader/index.mjs +1 -3
  11. package/chunks/{FormTemp.BO_zCjBT.mjs → FormTemp.Cf9d5N_a.mjs} +7 -9
  12. package/chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs +10 -0
  13. package/chunks/{dataformat.J6EgqBfr.mjs → dataformat.skVZSF57.mjs} +1 -1
  14. package/chunks/{dic.6ODiMBAw.mjs → dic.28d_-7EJ.mjs} +1 -1
  15. package/chunks/{event.ChkcZtyR.mjs → event.m1ZDHbkO.mjs} +2 -2
  16. package/chunks/{init.BbPaCwke.mjs → init.DBM2D2IY.mjs} +2 -2
  17. package/chunks/json-beautifier.vs8mCOxd.mjs +124 -0
  18. package/chunks/{util.ThVOTZAO.mjs → util.B_LEdJSZ.mjs} +55 -55
  19. package/code-mirror-editor/index.mjs +1 -3
  20. package/color-picker/index.mjs +4 -6
  21. package/comment/index.mjs +1 -3
  22. package/confirm-button/index.mjs +5 -7
  23. package/confirmable/index.mjs +5 -7
  24. package/context-menu/index.mjs +1 -3
  25. package/count-up/index.mjs +4 -6
  26. package/custom-scrollbar/index.mjs +1 -3
  27. package/data-box/index.mjs +5 -7
  28. package/data-card/index.mjs +4 -6
  29. package/data-cardtext/index.mjs +1 -3
  30. package/data-display/index.mjs +6 -8
  31. package/data-icons/index.mjs +4 -6
  32. package/data-imgtext/index.mjs +6 -8
  33. package/data-operatext/index.mjs +3 -5
  34. package/data-panel/index.mjs +5 -7
  35. package/data-pay/index.mjs +7 -9
  36. package/data-price/index.mjs +3 -5
  37. package/data-progress/index.mjs +1 -3
  38. package/data-rotate/index.mjs +3 -5
  39. package/data-table-picker/index.mjs +1 -3
  40. package/data-tabs/index.mjs +3 -5
  41. package/dialog-form/index.mjs +2 -4
  42. package/dynamic-table/index.mjs +1 -3
  43. package/e-charts/index.mjs +1 -3
  44. package/easy-popup/index.mjs +7 -9
  45. package/editable-progress/index.mjs +6 -8
  46. package/editable-tree/index.mjs +1 -3
  47. package/egd-collapse/index.mjs +4 -6
  48. package/egd-collapse-item/index.mjs +1 -3
  49. package/element-dialog/index.mjs +5 -7
  50. package/empty-view/index.mjs +3 -5
  51. package/error-view/index.mjs +3 -5
  52. package/flex-column/index.mjs +4 -6
  53. package/flex-item/index.mjs +1 -3
  54. package/flex-row/index.mjs +4 -6
  55. package/flex-scroller/index.mjs +6 -8
  56. package/flow/index.mjs +2 -4
  57. package/flow-designer/index.mjs +123 -155
  58. package/flow-node/index.mjs +8 -10
  59. package/flow-viewer/index.mjs +1 -3
  60. package/form-button/index.mjs +5 -7
  61. package/form-cascader/index.mjs +1 -3
  62. package/form-checkbox-group/index.mjs +4 -6
  63. package/form-date-picker/index.mjs +1 -3
  64. package/form-holder/index.mjs +11 -13
  65. package/form-input/index.mjs +5 -7
  66. package/form-input-email/index.mjs +6 -8
  67. package/form-input-id-card/index.mjs +13 -15
  68. package/form-input-number/index.mjs +5 -7
  69. package/form-input-phone-number/index.mjs +9 -11
  70. package/form-input-tag/index.mjs +6 -8
  71. package/form-input-time/index.mjs +7 -9
  72. package/form-item-config-provider/index.mjs +4 -6
  73. package/form-radio-group/index.mjs +22 -24
  74. package/form-select/index.mjs +17 -19
  75. package/form-switch/index.mjs +5 -7
  76. package/form-textarea/index.mjs +1 -3
  77. package/form-view/index.mjs +1 -3
  78. package/fy-array/index.mjs +4 -6
  79. package/fy-article/index.mjs +4 -6
  80. package/fy-cascader/index.mjs +2 -4
  81. package/fy-checkbox/index.mjs +12 -14
  82. package/fy-code/index.mjs +6 -8
  83. package/fy-curd/index.mjs +6 -32
  84. package/fy-date/index.mjs +6 -8
  85. package/fy-draggable/index.mjs +2 -4
  86. package/fy-dynamic/index.mjs +3 -5
  87. package/fy-empty/index.mjs +2 -4
  88. package/fy-form/index.mjs +6 -12
  89. package/fy-form-design/index.mjs +95 -151
  90. package/fy-form-design/style.css +1 -1
  91. package/fy-input/index.mjs +5 -7
  92. package/fy-input-color/index.mjs +9 -11
  93. package/fy-input-icon/index.mjs +3 -5
  94. package/fy-input-map/index.mjs +2 -4
  95. package/fy-input-number/index.mjs +5 -7
  96. package/fy-input-table/index.mjs +2 -4
  97. package/fy-input-tree/index.mjs +2 -4
  98. package/fy-progress/index.mjs +3 -5
  99. package/fy-radio/index.mjs +4 -6
  100. package/fy-rate/index.mjs +5 -7
  101. package/fy-select/index.mjs +4 -6
  102. package/fy-slider/index.mjs +7 -9
  103. package/fy-switch/index.mjs +3 -5
  104. package/fy-tabs/index.mjs +5 -7
  105. package/fy-time/index.mjs +5 -7
  106. package/fy-title/index.mjs +5 -7
  107. package/fy-tree/index.mjs +2 -4
  108. package/fy-u-editor/index.mjs +2 -4
  109. package/fy-upload/index.mjs +3 -5
  110. package/guide-steps/index.mjs +1 -3
  111. package/highlight-j-s/index.mjs +8 -10
  112. package/icon-card/index.mjs +4 -6
  113. package/icon-temp/index.mjs +6 -8
  114. package/iframe-window/index.mjs +6 -8
  115. package/image-cropper/index.mjs +5 -7
  116. package/image-preview/index.mjs +2 -4
  117. package/image-viewer/index.mjs +4 -6
  118. package/input-number/index.mjs +1 -3
  119. package/input-number-range/index.mjs +11 -13
  120. package/keep-view-alive/index.mjs +12 -14
  121. package/keyboard/index.mjs +1 -3
  122. package/license/index.mjs +19 -21
  123. package/loading-view/index.mjs +3 -5
  124. package/login/index.mjs +2 -4
  125. package/monaco-editor/index.mjs +2 -4
  126. package/name-avatar/index.mjs +4 -6
  127. package/nav-bar/index.mjs +3 -5
  128. package/not-implement/index.mjs +3 -5
  129. package/notice/index.mjs +1 -3
  130. package/package.json +8 -8
  131. package/page/index.mjs +6 -8
  132. package/page-header/index.mjs +4 -6
  133. package/page-index/index.mjs +17 -19
  134. package/page-index-top/index.mjs +11 -13
  135. package/page-skeleton/index.mjs +6 -8
  136. package/page-skeleton-new/index.mjs +1 -3
  137. package/pageable-table/index.mjs +8 -10
  138. package/pageable-view/index.mjs +24 -26
  139. package/photo-swipe/index.mjs +7 -9
  140. package/present-view/index.mjs +1 -3
  141. package/queue/index.mjs +4 -6
  142. package/record-video/index.mjs +4 -6
  143. package/resize-observer/index.mjs +4 -6
  144. package/search/index.mjs +6 -8
  145. package/search-popover/index.mjs +2 -4
  146. package/sign/index.mjs +2 -4
  147. package/sign-panel/index.mjs +5 -7
  148. package/skeleton/index.mjs +5 -7
  149. package/split-pane/index.mjs +1 -5
  150. package/stateful/index.mjs +4 -6
  151. package/static-pageable-table/index.mjs +8 -10
  152. package/swiper/index.mjs +4 -6
  153. package/tab/index.mjs +1 -3
  154. package/tab-item/index.mjs +1 -3
  155. package/table-column/index.mjs +1 -3
  156. package/table-view/index.mjs +1 -3
  157. package/tag-render/index.mjs +16 -18
  158. package/text-ellipsis/index.mjs +6 -8
  159. package/tinymce-editor/index.mjs +1 -5
  160. package/toolbar-button/index.mjs +8 -10
  161. package/verify/index.mjs +8 -10
  162. package/vue-cron/index.mjs +1 -3
  163. package/vue-qr-code/index.mjs +9 -11
  164. package/vue-quill-editor/index.mjs +1 -3
  165. package/vue-tags-input/index.mjs +12 -14
  166. package/vue-tree-select/index.mjs +1 -27
  167. package/vue-video-player/index.mjs +1 -3
  168. package/watermark/index.mjs +14 -16
  169. package/web-types.json +1 -1
  170. package/x-input-tag/index.mjs +8 -10
  171. package/chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs +0 -32
  172. package/chunks/json-beautifier.CvdU9XNm.mjs +0 -126
@@ -1,4 +1,4 @@
1
- import { n as d } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const l = {
3
3
  name: "AddressInput",
4
4
  inject: {
@@ -66,8 +66,6 @@ var r = function() {
66
66
  i,
67
67
  !1,
68
68
  null,
69
- null,
70
- null,
71
69
  null
72
70
  );
73
71
  const p = n.exports;
package/affix/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as f } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const r = {
3
3
  name: "Affix",
4
4
  props: {
@@ -39,10 +39,10 @@ const r = {
39
39
  return typeof o != "number" && (o = document.documentElement[i]), o;
40
40
  },
41
41
  getOffset(s) {
42
- const t = s.getBoundingClientRect(), e = this.getScroll(this.container, !0), i = this.getScroll(this.container), o = document.body, l = o.clientTop || 0, n = o.clientLeft || 0;
42
+ const t = s.getBoundingClientRect(), e = this.getScroll(this.container, !0), i = this.getScroll(this.container), o = document.body, l = o.clientTop || 0, f = o.clientLeft || 0;
43
43
  return {
44
44
  top: t.top + e - l,
45
- left: t.left + i - n
45
+ left: t.left + i - f
46
46
  };
47
47
  },
48
48
  handleScroll() {
@@ -65,14 +65,12 @@ const r = {
65
65
  var h = function() {
66
66
  var t = this, e = t._self._c;
67
67
  return e("div", [e("div", { ref: "point", class: { affix: t.affix }, style: t.styles }, [t._t("default")], 2), e("div", { directives: [{ name: "show", rawName: "v-show", value: t.slot, expression: "slot" }], style: t.slotStyle })]);
68
- }, c = [], a = /* @__PURE__ */ f(
68
+ }, c = [], a = /* @__PURE__ */ n(
69
69
  r,
70
70
  h,
71
71
  c,
72
72
  !1,
73
73
  null,
74
- null,
75
- null,
76
74
  null
77
75
  );
78
76
  const d = a.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 s = {
3
3
  name: "AsideMenu",
4
4
  props: {
@@ -9,13 +9,13 @@ const s = {
9
9
  }
10
10
  };
11
11
  var r = function() {
12
- var n = this, t = n._self._c;
13
- return t("div", { staticStyle: { "padding-top": "4px" } }, n._l(n.menu, function(e) {
14
- return t("div", { key: e.key, staticClass: "aside-menu-item hover-active", class: { active: n.$route.path === e.path }, on: { click: function(u) {
15
- return n.$router.push(e.path);
16
- } } }, [n._t("default", function() {
17
- return [t("i", { staticClass: "egd-icon-common", class: e.icon }), n._v(" " + n._s(e.label) + " ")];
18
- }, { item: e })], 2);
12
+ var e = this, t = e._self._c;
13
+ return t("div", { staticStyle: { "padding-top": "4px" } }, e._l(e.menu, function(n) {
14
+ return t("div", { key: n.key, staticClass: "aside-menu-item hover-active", class: { active: e.$route.path === n.path }, on: { click: function(u) {
15
+ return e.$router.push(n.path);
16
+ } } }, [e._t("default", function() {
17
+ return [t("i", { staticClass: "egd-icon-common", class: n.icon }), e._v(" " + e._s(n.label) + " ")];
18
+ }, { item: n })], 2);
19
19
  }), 0);
20
20
  }, c = [], o = /* @__PURE__ */ a(
21
21
  s,
@@ -23,8 +23,6 @@ var r = function() {
23
23
  c,
24
24
  !1,
25
25
  null,
26
- null,
27
- null,
28
26
  null
29
27
  );
30
28
  const _ = o.exports;
package/avatar/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 i = "avue-avatar", r = {
3
3
  name: "Avatar",
4
4
  props: {
@@ -74,8 +74,6 @@ var n = function() {
74
74
  l,
75
75
  !1,
76
76
  null,
77
- null,
78
- null,
79
77
  null
80
78
  );
81
79
  const o = c.exports;
@@ -2,32 +2,32 @@ var g = Object.defineProperty, h = Object.defineProperties;
2
2
  var _ = Object.getOwnPropertyDescriptors;
3
3
  var r = Object.getOwnPropertySymbols;
4
4
  var y = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
5
- var c = (o, t, n) => t in o ? g(o, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : o[t] = n, p = (o, t) => {
6
- for (var n in t || (t = {}))
7
- y.call(t, n) && c(o, n, t[n]);
5
+ var c = (n, t, o) => t in n ? g(n, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[t] = o, p = (n, t) => {
6
+ for (var o in t || (t = {}))
7
+ y.call(t, o) && c(n, o, t[o]);
8
8
  if (r)
9
- for (var n of r(t))
10
- B.call(t, n) && c(o, n, t[n]);
11
- return o;
12
- }, d = (o, t) => h(o, _(t));
13
- var u = (o, t, n) => new Promise((s, l) => {
9
+ for (var o of r(t))
10
+ B.call(t, o) && c(n, o, t[o]);
11
+ return n;
12
+ }, d = (n, t) => h(n, _(t));
13
+ var u = (n, t, o) => new Promise((s, l) => {
14
14
  var f = (e) => {
15
15
  try {
16
- i(n.next(e));
16
+ i(o.next(e));
17
17
  } catch (a) {
18
18
  l(a);
19
19
  }
20
20
  }, m = (e) => {
21
21
  try {
22
- i(n.throw(e));
22
+ i(o.throw(e));
23
23
  } catch (a) {
24
24
  l(a);
25
25
  }
26
26
  }, i = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(f, m);
27
- i((n = n.apply(o, t)).next());
27
+ i((o = o.apply(n, t)).next());
28
28
  });
29
29
  import { isFunction as x, error as S } from "@web-utils/core";
30
- import { n as k } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
30
+ import { n as k } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
31
31
  const L = {
32
32
  props: {
33
33
  type: {
@@ -64,24 +64,24 @@ const L = {
64
64
  };
65
65
  },
66
66
  methods: {
67
- onClick(o) {
67
+ onClick(n) {
68
68
  return u(this, null, function* () {
69
69
  this.isLoading = !0;
70
70
  const { click: t } = this.$listeners;
71
71
  if (x(t))
72
72
  try {
73
- yield t(o);
74
- } catch (n) {
75
- S.call(this, n);
73
+ yield t(n);
74
+ } catch (o) {
75
+ S.call(this, o);
76
76
  }
77
77
  this.isLoading = !1;
78
78
  });
79
79
  }
80
80
  },
81
- render(o) {
82
- var n, s;
83
- const t = (s = (n = this.$scopedSlots).default) == null ? void 0 : s.call(n);
84
- return o(
81
+ render(n) {
82
+ var o, s;
83
+ const t = (s = (o = this.$scopedSlots).default) == null ? void 0 : s.call(o);
84
+ return n(
85
85
  "ElButton",
86
86
  { on: { click: this.onClick }, props: d(p({}, this.$props), { disabled: this.isLoading }) },
87
87
  t && (t[0].tag || t[0].text) ? t : this.text
@@ -94,8 +94,6 @@ var C = /* @__PURE__ */ k(
94
94
  w,
95
95
  !1,
96
96
  null,
97
- null,
98
- null,
99
97
  null
100
98
  );
101
99
  const F = C.exports;
@@ -1,5 +1,5 @@
1
- import { n as l } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
- const t = {
1
+ import { n as t } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
+ const l = {
3
3
  name: "CapsuleTab",
4
4
  props: {
5
5
  tabs: {
@@ -18,14 +18,12 @@ var s = function() {
18
18
  return e.$emit("input", a.value);
19
19
  } } }, [e._v(" " + e._s(a.label) + " ")]);
20
20
  }), 0);
21
- }, r = [], u = /* @__PURE__ */ l(
22
- t,
21
+ }, r = [], u = /* @__PURE__ */ t(
22
+ l,
23
23
  s,
24
24
  r,
25
25
  !1,
26
26
  null,
27
- null,
28
- null,
29
27
  null
30
28
  );
31
29
  const i = u.exports;
package/card/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as e } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n as e } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const n = {
3
3
  img: "img",
4
4
  title: "title",
@@ -46,7 +46,7 @@ const n = {
46
46
  }
47
47
  }
48
48
  };
49
- var l = function() {
49
+ var c = function() {
50
50
  var t = this, a = t._self._c;
51
51
  return a("div", { staticClass: "avue-card" }, [a("ElRow", { attrs: { span: 24, gutter: t.gutter } }, [t.option.addBtn ? a("ElCol", { attrs: { span: t.span } }, [a("div", { staticClass: "avue-card__item avue-card__item--add", on: { click: function(s) {
52
52
  return t.rowAdd();
@@ -55,14 +55,12 @@ var l = function() {
55
55
  return t.rowClick(s, i);
56
56
  } } }, [a("div", { staticClass: "avue-card__body" }, [a("div", { staticClass: "avue-card__avatar" }, [a("img", { attrs: { src: s[t.imgKey], alt: "" } })]), a("div", { staticClass: "avue-card__detail" }, [a("div", { staticClass: "avue-card__title" }, [t._v(" " + t._s(s[t.titleKey]) + " ")]), a("div", { staticClass: "avue-card__info" }, [t._v(" " + t._s(s[t.infoKey]) + " ")])])]), a("div", { staticClass: "avue-card__menu" }, [t._t("menu", null, { index: i, row: s })], 2)])]);
57
57
  })], 2)], 1);
58
- }, c = [], u = /* @__PURE__ */ e(
58
+ }, l = [], u = /* @__PURE__ */ e(
59
59
  o,
60
- l,
61
60
  c,
61
+ l,
62
62
  !1,
63
63
  null,
64
- null,
65
- null,
66
64
  null
67
65
  );
68
66
  const _ = u.exports;
@@ -1,4 +1,4 @@
1
- import { n as r } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
2
  const s = {
3
3
  name: "Carousel",
4
4
  props: {
@@ -25,8 +25,6 @@ var l = function() {
25
25
  n,
26
26
  !1,
27
27
  null,
28
- null,
29
- null,
30
28
  null
31
29
  );
32
30
  const _ = i.exports;
package/chat/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { formatDate as r } from "@web-utils/integrations/dayjs";
2
- import { s as l } from "../chunks/util.ThVOTZAO.mjs";
3
- import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
+ import { s as l } from "../chunks/util.B_LEdJSZ.mjs";
3
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
4
  const d = {
5
5
  name: "Chat",
6
6
  props: {
@@ -258,8 +258,6 @@ var u = function() {
258
258
  f,
259
259
  !1,
260
260
  null,
261
- null,
262
- null,
263
261
  null
264
262
  );
265
263
  const y = m.exports;
@@ -1,5 +1,5 @@
1
1
  import d from "simple-uploader.js";
2
- import { n as a } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
+ import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  function r(e) {
4
4
  return e.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`);
5
5
  }
@@ -94,8 +94,6 @@ var f = function() {
94
94
  p,
95
95
  !1,
96
96
  null,
97
- null,
98
- null,
99
97
  null
100
98
  );
101
99
  const _ = h.exports;
@@ -1,10 +1,10 @@
1
1
  import { isBlank as _ } from "@web-utils/core";
2
2
  import { formatDate as i } from "@web-utils/integrations/dayjs";
3
- import { p as h, M as g, A as b, b as c, q as A, e as S, k as d, t as T, h as C, v, u as x } from "./util.ThVOTZAO.mjs";
3
+ import { p as h, M as g, A as b, b as c, q as A, e as S, k as d, t as T, h as C, v, u as x } from "./util.B_LEdJSZ.mjs";
4
4
  import "../fy-u-editor/style.css";
5
- import { a as D, b as O } from "./dataformat.J6EgqBfr.mjs";
5
+ import { a as D, b as O } from "./dataformat.skVZSF57.mjs";
6
6
  import { s as j } from "./slot.DXIbhGat.mjs";
7
- import { n as L } from "./_plugin-vue2_normalizer.YT9tSeEj.mjs";
7
+ import { n as L } from "./_plugin-vue2_normalizer.CeySl7Fu.mjs";
8
8
  const R = (n = {}, e = {}, s = {}, r = []) => {
9
9
  let t = n[e.prop];
10
10
  const a = e.type, o = e.separator;
@@ -17,12 +17,12 @@ const R = (n = {}, e = {}, s = {}, r = []) => {
17
17
  else if (a === "password")
18
18
  t = T(t, "*");
19
19
  else if (C.includes(a) && e.format) {
20
- const u = e.format.replace("dd", "DD").replace("yyyy", "YYYY"), m = i(Date.now(), "YYYY-MM-DD");
20
+ const m = e.format.replace("dd", "DD").replace("yyyy", "YYYY"), u = i(Date.now(), "YYYY-MM-DD");
21
21
  if (a.indexOf("range") !== -1) {
22
- let l = t[0] || "", p = t[1] || "";
23
- a === "timerange" && l.length <= 8 && p.length < 8 && (l = `${m} ${l}`, p = `${m} ${p}`), t = [i(l, u), i(p, u)].join(e.separator || "~");
22
+ let p = t[0] || "", l = t[1] || "";
23
+ a === "timerange" && p.length <= 8 && l.length < 8 && (p = `${u} ${p}`, l = `${u} ${l}`), t = [i(p, m), i(l, m)].join(e.separator || "~");
24
24
  } else
25
- a === "time" && t.length <= 8 && (t = `${m} ${t}`), t = i(t, u);
25
+ a === "time" && t.length <= 8 && (t = `${u} ${t}`), t = i(t, m);
26
26
  }
27
27
  t = v(r, t, e.props || s.props);
28
28
  }
@@ -114,8 +114,6 @@ var k = function() {
114
114
  F,
115
115
  !1,
116
116
  null,
117
- null,
118
- null,
119
117
  null
120
118
  );
121
119
  const V = I.exports;
@@ -0,0 +1,10 @@
1
+ function u(n, o, i, a, d, t, f, l) {
2
+ var e = typeof n == "function" ? n.options : n;
3
+ return o && (e.render = o, e.staticRenderFns = i, e._compiled = !0), t && (e._scopeId = "data-v-" + t), {
4
+ exports: n,
5
+ options: e
6
+ };
7
+ }
8
+ export {
9
+ u as n
10
+ };
@@ -1,5 +1,5 @@
1
1
  import { isBlank as l } from "@web-utils/core";
2
- import { f as E, M as f, A as h, R as T, c as p, e as m, K as A, g as I, S as L, b as S, h as B, I as _ } from "./util.ThVOTZAO.mjs";
2
+ import { f as E, M as f, A as h, R as T, c as p, e as m, K as A, g as I, S as L, b as S, h as B, I as _ } from "./util.B_LEdJSZ.mjs";
3
3
  const P = {
4
4
  common: {
5
5
  condition: "条件",
@@ -1,5 +1,5 @@
1
1
  import { isBlank as P } from "@web-utils/core";
2
- import { m as w, n as E } from "./util.ThVOTZAO.mjs";
2
+ import { m as w, n as E } from "./util.B_LEdJSZ.mjs";
3
3
  const F = (n, t = []) => new Promise((i) => {
4
4
  const c = [], s = [], a = {};
5
5
  n.forEach((r) => {
@@ -1,7 +1,7 @@
1
- import { D as r, a as i, b as a } from "./util.ThVOTZAO.mjs";
1
+ import { D as r, a as i, b as a } from "./util.B_LEdJSZ.mjs";
2
2
  import { s as l } from "./slot.DXIbhGat.mjs";
3
3
  import { isBlank as s } from "@web-utils/core";
4
- import { i as p } from "./dataformat.J6EgqBfr.mjs";
4
+ import { i as p } from "./dataformat.skVZSF57.mjs";
5
5
  const f = {
6
6
  mixins: [l],
7
7
  data() {
@@ -1,5 +1,5 @@
1
- import { s as a, l as n, a as h, b as r } from "./dic.6ODiMBAw.mjs";
2
- import { d, a as c } from "./util.ThVOTZAO.mjs";
1
+ import { s as a, l as n, a as h, b as r } from "./dic.28d_-7EJ.mjs";
2
+ import { d, a as c } from "./util.B_LEdJSZ.mjs";
3
3
  import { s as l } from "./slot.DXIbhGat.mjs";
4
4
  import { isBlank as s } from "@web-utils/core";
5
5
  const f = {
@@ -0,0 +1,124 @@
1
+ const g = /[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, O = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/;
2
+ let s, p;
3
+ const d = {
4
+ // table of character substitutions
5
+ "\b": "\\b",
6
+ " ": "\\t",
7
+ "\n": "\\n",
8
+ "\f": "\\f",
9
+ "\r": "\\r",
10
+ '"': '\\"',
11
+ "'": "\\'",
12
+ "\\": "\\\\"
13
+ };
14
+ let h;
15
+ function N(r, i = {}) {
16
+ const n = i.space || 2, t = i.dropQuotesOnKeys !== !1, e = i.dropQuotesOnNumbers || !1, l = i.inlineShortArrays || !1, o = i.inlineShortArraysDepth || 1, a = i.quoteType || "single", c = i.minify || !1;
17
+ e && S(r);
18
+ let u = x(r, null, c ? void 0 : n, t, a);
19
+ if (l && !c) {
20
+ let f = j(u);
21
+ if (o > 1)
22
+ for (let m = 1; m < o && (u = f, f = j(u), f !== u); m++)
23
+ ;
24
+ u = f;
25
+ }
26
+ return u;
27
+ }
28
+ function S(r) {
29
+ if (!$(r))
30
+ return;
31
+ const i = Object.keys(r);
32
+ i && i.forEach(function(n) {
33
+ const t = r[n];
34
+ if (typeof t == "string") {
35
+ const e = t - 0;
36
+ r[n] = isNaN(e) ? t : e;
37
+ } else
38
+ ($(t) || Array.isArray(t)) && S(t);
39
+ });
40
+ }
41
+ function $(r) {
42
+ return r && typeof r == "object";
43
+ }
44
+ function j(r, i) {
45
+ if (i || (i = 80), typeof i != "number" || i < 20)
46
+ throw Error(`Invalid width '${i}'. Expecting number equal or larger than 20.`);
47
+ const n = r.split(`
48
+ `);
49
+ let t = 0, e = null, l = [];
50
+ for (; t < n.length; ) {
51
+ const o = !!n[t].match(/\[/), a = !!n[t].match(/\],?/);
52
+ if (o && !a)
53
+ l = [n[t]], e = t;
54
+ else if (a && !o && e) {
55
+ l.push((n[t] || "").trim());
56
+ const c = l.join(" ");
57
+ c.length < i && (n.splice(e, t - e + 1, c), t = e), e = null, l = [];
58
+ } else
59
+ e && l.push((n[t] || "").trim());
60
+ t += 1;
61
+ }
62
+ return n.join(`
63
+ `);
64
+ }
65
+ function x(r, i, n, t, e) {
66
+ let l;
67
+ if (s = "", p = "", typeof n == "number")
68
+ for (l = 0; l < n; l += 1)
69
+ p += " ";
70
+ else
71
+ typeof n == "string" && (p = n);
72
+ return h = i, b("", { "": r }, t, e);
73
+ }
74
+ function b(r, i, n, t) {
75
+ let e, l, o, a;
76
+ const c = s;
77
+ let u, f = i[r];
78
+ switch (f && typeof f == "object" && typeof f.toJSON == "function" && (f = f.toJSON(r)), typeof h == "function" && (f = h.call(i, r, f)), typeof f) {
79
+ case "function":
80
+ return f;
81
+ case "string":
82
+ return y(f, t);
83
+ case "number":
84
+ return isFinite(f) ? String(f) : "null";
85
+ case "boolean":
86
+ case "null":
87
+ return String(f);
88
+ case "object":
89
+ if (!f)
90
+ return "null";
91
+ if (s += p, u = [], Object.prototype.toString.apply(f) === "[object Array]") {
92
+ for (a = f.length, e = 0; e < a; e += 1)
93
+ u[e] = b(e, f, n, t) || "null";
94
+ return o = u.length === 0 ? "[]" : s ? `[
95
+ ${s}${u.join(`,
96
+ ${s}`)}
97
+ ${c}]` : `[${u.join(",")}]`, s = c, o;
98
+ }
99
+ if (h && typeof h == "object")
100
+ for (a = h.length, e = 0; e < a; e += 1)
101
+ typeof h[e] == "string" && (l = h[e], o = b(l, f, n, t), o && u.push((n ? A(l, t) : y(l, t)) + (s ? ": " : ":") + o));
102
+ else
103
+ for (l in f)
104
+ Object.prototype.hasOwnProperty.call(f, l) && (o = b(l, f, n, t), o && u.push((n ? A(l, t) : y(l, t)) + (s ? ": " : ":") + o));
105
+ return o = u.length === 0 ? "{}" : s ? `{
106
+ ${s}${u.join(`,
107
+ ${s}`)}
108
+ ${c}}` : `{${u.join(",")}}`, s = c, o;
109
+ }
110
+ }
111
+ function y(r, i) {
112
+ g.lastIndex = 0;
113
+ let n = '"';
114
+ return i === "single" && (n = "'"), g.test(r) ? n + r.replace(g, function(t) {
115
+ const e = d[t];
116
+ return typeof e == "string" ? e : `\\u${`0000${t.charCodeAt(0).toString(16)}`.slice(-4)}`;
117
+ }) + n : n + r + n;
118
+ }
119
+ function A(r, i) {
120
+ return O.test(r) ? r : y(r, i);
121
+ }
122
+ export {
123
+ N as c
124
+ };