@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,6 +1,6 @@
1
- import { s as o } from "../chunks/util.ThVOTZAO.mjs";
2
- import { n } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
- const s = {
1
+ import { s as o } from "../chunks/util.B_LEdJSZ.mjs";
2
+ import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
+ const n = {
4
4
  name: "FlowNode",
5
5
  props: {
6
6
  active: [String, Number],
@@ -47,20 +47,18 @@ const s = {
47
47
  }
48
48
  }
49
49
  };
50
- var l = function() {
50
+ var d = function() {
51
51
  var e = this, t = e._self._c;
52
52
  return t("div", { ref: "node", style: e.flowNodeContainer, attrs: { left: e.node.left, top: e.node.top, disabled: "", mask: !1 }, on: { mouseenter: e.showDelete, mouseleave: e.hideDelete, mouseup: e.changeNodeSite } }, [t("div", { class: ["avue-flow__node", { active: e.active === e.node.id }] }, [t("div", { staticClass: "avue-flow__node-header" }, [t("i", { staticClass: "el-icon-rank", class: e.b("node-drag") }), e._t("header", null, { node: e.node })], 2), t("div", { staticClass: "avue-flow__node-body" }, [e._t("default", null, { node: e.node })], 2)])]);
53
- }, d = [], r = /* @__PURE__ */ n(
54
- s,
55
- l,
53
+ }, r = [], a = /* @__PURE__ */ s(
54
+ n,
56
55
  d,
56
+ r,
57
57
  !1,
58
58
  null,
59
- null,
60
- null,
61
59
  null
62
60
  );
63
- const u = r.exports;
61
+ const u = a.exports;
64
62
  export {
65
63
  u as default
66
64
  };
@@ -32,7 +32,7 @@ import { create as p, attr as c, append as m } from "tiny-svg";
32
32
  import { query as E } from "min-dom";
33
33
  import $ from "../easy-popup/index.mjs";
34
34
  import "../easy-popup/style.css";
35
- import { n as F } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
35
+ import { n as F } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
36
36
  const f = d.prototype._handleWheel, S = {
37
37
  __init__: ["zoomScroll"],
38
38
  zoomScroll: ["type", d]
@@ -177,8 +177,6 @@ var C = function() {
177
177
  P,
178
178
  !1,
179
179
  null,
180
- null,
181
- null,
182
180
  null
183
181
  );
184
182
  const D = W.exports;
@@ -1,5 +1,5 @@
1
1
  import n from "../confirmable/index.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
  const t = {
4
4
  props: {
5
5
  type: {
@@ -33,18 +33,16 @@ const t = {
33
33
  }, e = {
34
34
  name: "FormButton",
35
35
  mixins: [n, t]
36
- }, l = null, a = null;
36
+ }, a = null, l = null;
37
37
  var r = /* @__PURE__ */ o(
38
38
  e,
39
- l,
40
39
  a,
40
+ l,
41
41
  !1,
42
42
  null,
43
- null,
44
- null,
45
43
  null
46
44
  );
47
- const u = r.exports;
45
+ const p = r.exports;
48
46
  export {
49
- u as default
47
+ p as default
50
48
  };
@@ -15,7 +15,7 @@ import s from "element-ui/lib/cascader";
15
15
  import { d as m, n as f } from "../chunks/index.DwCBGcYk.mjs";
16
16
  import { findTreeChildren as h, setParent as y } from "@web-utils/core";
17
17
  import { cloneDeep as v } from "@web-utils/integrations/lodash";
18
- import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
18
+ import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
19
19
  const b = Object.keys(s.props || s.default.props).filter(
20
20
  (t) => !["value", "placeholder", "disabled", "options", "showAllLevels", "show-all-levels", "separator"].includes(t)
21
21
  ), S = {
@@ -104,8 +104,6 @@ var k = function() {
104
104
  P,
105
105
  !1,
106
106
  null,
107
- null,
108
- null,
109
107
  null
110
108
  );
111
109
  const B = w.exports;
@@ -1,19 +1,19 @@
1
1
  var a = Object.defineProperty;
2
2
  var i = Object.getOwnPropertySymbols;
3
- var u = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
3
+ var p = Object.prototype.hasOwnProperty, u = Object.prototype.propertyIsEnumerable;
4
4
  var s = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, l = (t, e) => {
5
5
  for (var r in e || (e = {}))
6
- u.call(e, r) && s(t, r, e[r]);
6
+ p.call(e, r) && s(t, r, e[r]);
7
7
  if (i)
8
8
  for (var r of i(e))
9
- p.call(e, r) && s(t, r, e[r]);
9
+ u.call(e, r) && s(t, r, e[r]);
10
10
  return t;
11
11
  };
12
12
  import { f as h } from "../chunks/form-input-mixin.DMuQta5I.mjs";
13
13
  import { f as c } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
14
14
  import { d as f, n as m } from "../chunks/index.DwCBGcYk.mjs";
15
15
  import n from "element-ui/lib/checkbox-group";
16
- import { n as d } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
16
+ import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
17
17
  const b = Object.keys(n.props || n.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
18
18
  name: "FormCheckboxGroup",
19
19
  mixins: [h, c],
@@ -126,8 +126,6 @@ var _ = function() {
126
126
  v,
127
127
  !1,
128
128
  null,
129
- null,
130
- null,
131
129
  null
132
130
  );
133
131
  const B = x.exports;
@@ -14,7 +14,7 @@ import { f } from "../chunks/form-input-mixin.DMuQta5I.mjs";
14
14
  import { f as c } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
15
15
  import { toDate as o } from "@web-utils/integrations/dayjs";
16
16
  import { d as y, n as g } from "../chunks/index.DwCBGcYk.mjs";
17
- import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
17
+ import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
18
18
  const k = [
19
19
  "type",
20
20
  "timeArrowControl",
@@ -164,8 +164,6 @@ var x = function() {
164
164
  S,
165
165
  !1,
166
166
  null,
167
- null,
168
- null,
169
167
  null
170
168
  );
171
169
  const M = v.exports;
@@ -1,22 +1,22 @@
1
- var o = (t, e, l) => new Promise((d, s) => {
1
+ var o = (t, e, i) => new Promise((d, s) => {
2
2
  var n = (r) => {
3
3
  try {
4
- i(l.next(r));
4
+ l(i.next(r));
5
5
  } catch (a) {
6
6
  s(a);
7
7
  }
8
8
  }, f = (r) => {
9
9
  try {
10
- i(l.throw(r));
10
+ l(i.throw(r));
11
11
  } catch (a) {
12
12
  s(a);
13
13
  }
14
- }, i = (r) => r.done ? d(r.value) : Promise.resolve(r.value).then(n, f);
15
- i((l = l.apply(t, e)).next());
14
+ }, l = (r) => r.done ? d(r.value) : Promise.resolve(r.value).then(n, f);
15
+ l((i = i.apply(t, e)).next());
16
16
  });
17
17
  import { warning as m } from "@web-utils/core";
18
- import { e as u } from "../chunks/index.DwCBGcYk.mjs";
19
- import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
18
+ import { e as c } from "../chunks/index.DwCBGcYk.mjs";
19
+ import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
20
20
  const p = {
21
21
  name: "FormHolder",
22
22
  provide() {
@@ -77,7 +77,7 @@ const p = {
77
77
  },
78
78
  created() {
79
79
  this.required || m.call(
80
- u(this, (t) => ["FormView", "FormHolder"].includes(t.$options.name)),
80
+ c(this, (t) => ["FormView", "FormHolder"].includes(t.$options.name)),
81
81
  "一般情况下不建议设置 required=false,因为 required 设置为 false 后必填字段要自行维护,在处理表格时会比较复杂,请自行权衡利弊"
82
82
  );
83
83
  },
@@ -97,16 +97,14 @@ const p = {
97
97
  }
98
98
  };
99
99
  var _ = function() {
100
- var e = this, l = e._self._c;
101
- return l("ElForm", e._g(e._b({ ref: "form", staticClass: "clear-fix", attrs: { model: e.model, size: e.size, disabled: e.disabled, "label-width": e.labelWidth, "label-position": e.labelPosition } }, "ElForm", e.$attrs, !1), e.$listeners), [e._t("default")], 2);
102
- }, h = [], b = /* @__PURE__ */ c(
100
+ var e = this, i = e._self._c;
101
+ return i("ElForm", e._g(e._b({ ref: "form", staticClass: "clear-fix", attrs: { model: e.model, size: e.size, disabled: e.disabled, "label-width": e.labelWidth, "label-position": e.labelPosition } }, "ElForm", e.$attrs, !1), e.$listeners), [e._t("default")], 2);
102
+ }, h = [], b = /* @__PURE__ */ u(
103
103
  p,
104
104
  _,
105
105
  h,
106
106
  !1,
107
107
  null,
108
- null,
109
- null,
110
108
  null
111
109
  );
112
110
  const q = b.exports;
@@ -1,7 +1,7 @@
1
- var a = Object.defineProperty;
1
+ var u = Object.defineProperty;
2
2
  var s = Object.getOwnPropertySymbols;
3
3
  var p = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
4
- var l = (r, e, t) => e in r ? a(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, o = (r, e) => {
4
+ var l = (r, e, t) => e in r ? u(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, o = (r, e) => {
5
5
  for (var t in e || (e = {}))
6
6
  p.call(e, t) && l(r, t, e[t]);
7
7
  if (s)
@@ -10,10 +10,10 @@ var l = (r, e, t) => e in r ? a(r, e, { enumerable: !0, configurable: !0, writab
10
10
  return r;
11
11
  };
12
12
  import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
13
- import u from "element-ui/lib/input";
13
+ import a from "element-ui/lib/input";
14
14
  import { d, n as f } from "../chunks/index.DwCBGcYk.mjs";
15
- import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
16
- const _ = Object.keys(u.props || u.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), y = {
15
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
16
+ const _ = Object.keys(a.props || a.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), y = {
17
17
  name: "FormInput",
18
18
  mixins: [m],
19
19
  props: {
@@ -57,8 +57,6 @@ var v = function() {
57
57
  b,
58
58
  !1,
59
59
  null,
60
- null,
61
- null,
62
60
  null
63
61
  );
64
62
  const $ = h.exports;
@@ -1,18 +1,18 @@
1
1
  var u = Object.defineProperty;
2
- var o = Object.getOwnPropertySymbols;
2
+ var l = Object.getOwnPropertySymbols;
3
3
  var i = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
4
- var s = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, l = (t, e) => {
4
+ var s = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, o = (t, e) => {
5
5
  for (var r in e || (e = {}))
6
6
  i.call(e, r) && s(t, r, e[r]);
7
- if (o)
8
- for (var r of o(e))
7
+ if (l)
8
+ for (var r of l(e))
9
9
  p.call(e, r) && s(t, r, e[r]);
10
10
  return t;
11
11
  };
12
12
  import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
13
13
  import a from "element-ui/lib/input";
14
14
  import { d, n as f } from "../chunks/index.DwCBGcYk.mjs";
15
- import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
15
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
16
16
  const _ = (t, e, r) => e && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e) ? r(new Error("invalid")) : r(), y = Object.keys(a.props || a.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), v = {
17
17
  name: "FormInputEmail",
18
18
  mixins: [m],
@@ -27,7 +27,7 @@ const _ = (t, e, r) => e && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-
27
27
  },
28
28
  computed: {
29
29
  inputProps() {
30
- return d(l(l({}, f(this.$attrs)), this.$props), y);
30
+ return d(o(o({}, f(this.$attrs)), this.$props), y);
31
31
  }
32
32
  },
33
33
  methods: {
@@ -56,8 +56,6 @@ var h = function() {
56
56
  b,
57
57
  !1,
58
58
  null,
59
- null,
60
- null,
61
59
  null
62
60
  );
63
61
  const F = x.exports;
@@ -1,19 +1,19 @@
1
1
  var u = Object.defineProperty;
2
2
  var s = Object.getOwnPropertySymbols;
3
3
  var p = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable;
4
- var l = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, o = (t, e) => {
4
+ var a = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, n = (t, e) => {
5
5
  for (var r in e || (e = {}))
6
- p.call(e, r) && l(t, r, e[r]);
6
+ p.call(e, r) && a(t, r, e[r]);
7
7
  if (s)
8
8
  for (var r of s(e))
9
- d.call(e, r) && l(t, r, e[r]);
9
+ d.call(e, r) && a(t, r, e[r]);
10
10
  return t;
11
11
  };
12
12
  import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
13
- import { validateIdCard as a } from "@web-utils/core";
13
+ import { validateIdCard as l } from "@web-utils/core";
14
14
  import i from "element-ui/lib/input";
15
15
  import { d as f, n as c } from "../chunks/index.DwCBGcYk.mjs";
16
- import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
16
+ import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
17
17
  const v = Object.keys(i.props || i.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
18
18
  name: "FormInputIdCard",
19
19
  mixins: [m],
@@ -28,15 +28,15 @@ const v = Object.keys(i.props || i.default.props).filter((t) => !["value", "plac
28
28
  },
29
29
  computed: {
30
30
  inputProps() {
31
- return f(o(o({}, c(this.$attrs)), this.$props), v);
31
+ return f(n(n({}, c(this.$attrs)), this.$props), v);
32
32
  }
33
33
  },
34
34
  methods: {
35
- validateIdCard: a,
35
+ validateIdCard: l,
36
36
  getRules() {
37
37
  return [
38
38
  {
39
- validator: a,
39
+ validator: l,
40
40
  message: "请输入正确的身份证号码!"
41
41
  }
42
42
  ];
@@ -46,11 +46,11 @@ const v = Object.keys(i.props || i.default.props).filter((t) => !["value", "plac
46
46
  var I = function() {
47
47
  var e = this, r = e._self._c;
48
48
  return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
49
- return [r("ElInput", e._g(e._b({ class: { "is-readonly": e.readonly }, attrs: { value: e.value, readonly: e.readonly, maxlength: e.maxLength, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (n) => e.$emit("input", n) } }, "ElInput", e.inputProps, !1), e.listeners)), e.$slots.warn ? r("div", { staticClass: "el-form-item__error" }, [e._t("warn")], 2) : e._e()];
50
- }, proxy: !0 }, { key: "error", fn: function({ error: n }) {
51
- return [e.$scopedSlots.error && e.$scopedSlots.error(n) ? r("div", { staticClass: "el-form-item__error" }, [e._t("error", function() {
52
- return [e._v(" " + e._s(n) + " ")];
53
- }, { error: n })], 2) : e._e()];
49
+ return [r("ElInput", e._g(e._b({ class: { "is-readonly": e.readonly }, attrs: { value: e.value, readonly: e.readonly, maxlength: e.maxLength, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (o) => e.$emit("input", o) } }, "ElInput", e.inputProps, !1), e.listeners)), e.$slots.warn ? r("div", { staticClass: "el-form-item__error" }, [e._t("warn")], 2) : e._e()];
50
+ }, proxy: !0 }, { key: "error", fn: function({ error: o }) {
51
+ return [e.$scopedSlots.error && e.$scopedSlots.error(o) ? r("div", { staticClass: "el-form-item__error" }, [e._t("error", function() {
52
+ return [e._v(" " + e._s(o) + " ")];
53
+ }, { error: o })], 2) : e._e()];
54
54
  } }, { key: "label", fn: function() {
55
55
  return [e._t("label")];
56
56
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
@@ -60,8 +60,6 @@ var I = function() {
60
60
  b,
61
61
  !1,
62
62
  null,
63
- null,
64
- null,
65
63
  null
66
64
  );
67
65
  const S = h.exports;
@@ -1,21 +1,21 @@
1
1
  var p = Object.defineProperty;
2
2
  var o = Object.getOwnPropertySymbols;
3
- var s = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
3
+ var s = Object.prototype.hasOwnProperty, a = Object.prototype.propertyIsEnumerable;
4
4
  var i = (r, e, t) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, u = (r, e) => {
5
5
  for (var t in e || (e = {}))
6
6
  s.call(e, t) && i(r, t, e[t]);
7
7
  if (o)
8
8
  for (var t of o(e))
9
- l.call(e, t) && i(r, t, e[t]);
9
+ a.call(e, t) && i(r, t, e[t]);
10
10
  return r;
11
11
  };
12
- import { f as a } from "../chunks/form-input-mixin.DMuQta5I.mjs";
12
+ import { f as l } from "../chunks/form-input-mixin.DMuQta5I.mjs";
13
13
  import { d as m, n as f } from "../chunks/index.DwCBGcYk.mjs";
14
14
  import { i as c } from "../chunks/input-number-mixin.CzjtGf2n.mjs";
15
- import { n as d } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
15
+ import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
16
16
  const _ = Object.keys(c.props).filter((r) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(r)), y = {
17
17
  name: "FormInputNumber",
18
- mixins: [a],
18
+ mixins: [l],
19
19
  props: {
20
20
  value: {
21
21
  type: [String, Number]
@@ -64,8 +64,6 @@ var b = function() {
64
64
  x,
65
65
  !1,
66
66
  null,
67
- null,
68
- null,
69
67
  null
70
68
  );
71
69
  const F = I.exports;
@@ -1,20 +1,20 @@
1
- var a = Object.defineProperty;
1
+ var u = Object.defineProperty;
2
2
  var o = Object.getOwnPropertySymbols;
3
3
  var i = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
4
- var l = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, n = (t, e) => {
4
+ var s = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, n = (t, e) => {
5
5
  for (var r in e || (e = {}))
6
- i.call(e, r) && l(t, r, e[r]);
6
+ i.call(e, r) && s(t, r, e[r]);
7
7
  if (o)
8
8
  for (var r of o(e))
9
- p.call(e, r) && l(t, r, e[r]);
9
+ p.call(e, r) && s(t, r, e[r]);
10
10
  return t;
11
11
  };
12
12
  import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
13
13
  import { validatePhoneNum as d } from "@web-utils/core";
14
14
  import { d as f, n as c } from "../chunks/index.DwCBGcYk.mjs";
15
- import s from "element-ui/lib/input";
16
- import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
17
- const h = Object.keys(s.props || s.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
15
+ import l from "element-ui/lib/input";
16
+ import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
17
+ const h = Object.keys(l.props || l.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
18
18
  name: "FormInputPhoneNumber",
19
19
  mixins: [m],
20
20
  props: {
@@ -49,8 +49,8 @@ var b = function() {
49
49
  var e = this, r = e._self._c;
50
50
  return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
51
51
  return [r("ElInput", e._g(e._b({ class: { "is-readonly": e.readonly }, attrs: { value: e.value, readonly: e.readonly, maxlength: e.maxLength, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: e.emitInput } }, "ElInput", e.inputProps, !1), e.listeners))];
52
- }, proxy: !0 }, { key: "error", fn: function({ error: u }) {
53
- return [e._t("error", null, { error: u })];
52
+ }, proxy: !0 }, { key: "error", fn: function({ error: a }) {
53
+ return [e._t("error", null, { error: a })];
54
54
  } }, { key: "label", fn: function() {
55
55
  return [e._t("label")];
56
56
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
@@ -60,8 +60,6 @@ var b = function() {
60
60
  v,
61
61
  !1,
62
62
  null,
63
- null,
64
- null,
65
63
  null
66
64
  );
67
65
  const R = I.exports;
@@ -1,7 +1,7 @@
1
- var s = Object.defineProperty;
1
+ var u = Object.defineProperty;
2
2
  var a = Object.getOwnPropertySymbols;
3
3
  var p = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
4
- var l = (t, e, r) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, n = (t, e) => {
4
+ var l = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, n = (t, e) => {
5
5
  for (var r in e || (e = {}))
6
6
  p.call(e, r) && l(t, r, e[r]);
7
7
  if (a)
@@ -11,13 +11,13 @@ var l = (t, e, r) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writab
11
11
  };
12
12
  import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
13
13
  import { d, n as c } from "../chunks/index.DwCBGcYk.mjs";
14
- import u from "../x-input-tag/index.mjs";
14
+ import s from "../x-input-tag/index.mjs";
15
15
  import "../x-input-tag/style.css";
16
- import { n as f } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
17
- const _ = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), b = {
16
+ import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
17
+ const _ = Object.keys(s.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), b = {
18
18
  name: "FormInputTag",
19
19
  components: {
20
- XInputTag: u
20
+ XInputTag: s
21
21
  },
22
22
  mixins: [m],
23
23
  props: {
@@ -56,8 +56,6 @@ var y = function() {
56
56
  v,
57
57
  !1,
58
58
  null,
59
- null,
60
- null,
61
59
  null
62
60
  );
63
61
  const M = I.exports;
@@ -1,18 +1,18 @@
1
1
  var s = Object.defineProperty;
2
- var l = Object.getOwnPropertySymbols;
2
+ var i = Object.getOwnPropertySymbols;
3
3
  var m = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
4
- var i = (r, e, t) => e in r ? s(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, a = (r, e) => {
4
+ var l = (r, e, t) => e in r ? s(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, a = (r, e) => {
5
5
  for (var t in e || (e = {}))
6
- m.call(e, t) && i(r, t, e[t]);
7
- if (l)
8
- for (var t of l(e))
9
- p.call(e, t) && i(r, t, e[t]);
6
+ m.call(e, t) && l(r, t, e[t]);
7
+ if (i)
8
+ for (var t of i(e))
9
+ p.call(e, t) && l(r, t, e[t]);
10
10
  return r;
11
11
  };
12
12
  import { f as u } from "../chunks/form-input-mixin.DMuQta5I.mjs";
13
13
  import o from "element-ui/lib/time-picker";
14
14
  import { d as f, n as d } from "../chunks/index.DwCBGcYk.mjs";
15
- import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
15
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
16
16
  const _ = Object.keys(o.props || o.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), g = {
17
17
  name: "FormInputTime",
18
18
  mixins: [u],
@@ -80,8 +80,6 @@ var y = function() {
80
80
  b,
81
81
  !1,
82
82
  null,
83
- null,
84
- null,
85
83
  null
86
84
  );
87
85
  const k = v.exports;
@@ -1,5 +1,5 @@
1
- import { n as e } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
- const n = {
1
+ import { n as e } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
+ const r = {
3
3
  name: "FormItemConfigProvider",
4
4
  provide() {
5
5
  return {
@@ -38,15 +38,13 @@ const n = {
38
38
  render() {
39
39
  return this.$scopedSlots.default();
40
40
  }
41
- }, r = null, t = null;
41
+ }, n = null, t = null;
42
42
  var l = /* @__PURE__ */ e(
43
- n,
44
43
  r,
44
+ n,
45
45
  t,
46
46
  !1,
47
47
  null,
48
- null,
49
- null,
50
48
  null
51
49
  );
52
50
  const i = l.exports;
@@ -1,20 +1,20 @@
1
1
  var u = Object.defineProperty;
2
2
  var n = Object.getOwnPropertySymbols;
3
3
  var p = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
4
- var s = (l, e, o) => e in l ? u(l, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : l[e] = o, t = (l, e) => {
5
- for (var o in e || (e = {}))
6
- p.call(e, o) && s(l, o, e[o]);
4
+ var s = (o, e, r) => e in o ? u(o, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[e] = r, t = (o, e) => {
5
+ for (var r in e || (e = {}))
6
+ p.call(e, r) && s(o, r, e[r]);
7
7
  if (n)
8
- for (var o of n(e))
9
- f.call(e, o) && s(l, o, e[o]);
10
- return l;
8
+ for (var r of n(e))
9
+ f.call(e, r) && s(o, r, e[r]);
10
+ return o;
11
11
  };
12
12
  import { f as c } from "../chunks/form-input-mixin.DMuQta5I.mjs";
13
13
  import { f as h } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
14
14
  import a from "element-ui/lib/radio-group";
15
15
  import { d, n as m } from "../chunks/index.DwCBGcYk.mjs";
16
- import { n as y } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
17
- const v = Object.keys(a.props || a.default.props).filter((l) => !["value", "placeholder", "disabled"].includes(l)), _ = {
16
+ import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
17
+ const v = Object.keys(a.props || a.default.props).filter((o) => !["value", "placeholder", "disabled"].includes(o)), _ = {
18
18
  name: "FormRadioGroup",
19
19
  mixins: [c, h],
20
20
  props: {
@@ -78,26 +78,26 @@ const v = Object.keys(a.props || a.default.props).filter((l) => !["value", "plac
78
78
  }
79
79
  },
80
80
  methods: {
81
- emitInput(l) {
82
- this.$emit("input", l);
81
+ emitInput(o) {
82
+ this.$emit("input", o);
83
83
  },
84
- toggle(l) {
85
- this.value === l[this.valueKey] ? this.emitInput(null) : this.emitInput(l[this.valueKey]);
84
+ toggle(o) {
85
+ this.value === o[this.valueKey] ? this.emitInput(null) : this.emitInput(o[this.valueKey]);
86
86
  }
87
87
  }
88
88
  };
89
89
  var b = function() {
90
- var e = this, o = e._self._c;
91
- return o("FormItem", e._b({ class: ["form-radio-group", { "form-radio-group-row": e.fillRow, inline: e.inline }, e.ellipsis ? "form-radio-group-row-ellipsis" : "form-radio-group-row-break-word"], attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
92
- return [o("ElRadioGroup", e._g(e._b({ class: { "over-flow": e.overFlow }, attrs: { value: e.value, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (r) => e.$emit("input", r) } }, "ElRadioGroup", e.inputProps, !1), e.listeners), [e.allowCancel ? e._l(e.innerOptions, function(r) {
93
- return o("ElRadio", { key: r[e.valueKey], attrs: { label: r[e.valueKey] }, nativeOn: { click: function(i) {
94
- return i.preventDefault(), i.stopPropagation(), e.toggle(r);
95
- } } }, [e._v(" " + e._s(r[e.labelKey]) + " ")]);
96
- }) : e._l(e.innerOptions, function(r) {
97
- return o("ElRadio", { key: r[e.valueKey], attrs: { label: r[e.valueKey] } }, [e._v(" " + e._s(r[e.labelKey]) + " ")]);
90
+ var e = this, r = e._self._c;
91
+ return r("FormItem", e._b({ class: ["form-radio-group", { "form-radio-group-row": e.fillRow, inline: e.inline }, e.ellipsis ? "form-radio-group-row-ellipsis" : "form-radio-group-row-break-word"], attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
92
+ return [r("ElRadioGroup", e._g(e._b({ class: { "over-flow": e.overFlow }, attrs: { value: e.value, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (l) => e.$emit("input", l) } }, "ElRadioGroup", e.inputProps, !1), e.listeners), [e.allowCancel ? e._l(e.innerOptions, function(l) {
93
+ return r("ElRadio", { key: l[e.valueKey], attrs: { label: l[e.valueKey] }, nativeOn: { click: function(i) {
94
+ return i.preventDefault(), i.stopPropagation(), e.toggle(l);
95
+ } } }, [e._v(" " + e._s(l[e.labelKey]) + " ")]);
96
+ }) : e._l(e.innerOptions, function(l) {
97
+ return r("ElRadio", { key: l[e.valueKey], attrs: { label: l[e.valueKey] } }, [e._v(" " + e._s(l[e.labelKey]) + " ")]);
98
98
  })], 2), e._t("append")];
99
- }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
100
- return [e._t("error", null, { error: r })];
99
+ }, proxy: !0 }, { key: "error", fn: function({ error: l }) {
100
+ return [e._t("error", null, { error: l })];
101
101
  } }, { key: "label", fn: function() {
102
102
  return [e._t("label")];
103
103
  }, proxy: !0 }, { key: "below", fn: function() {
@@ -109,8 +109,6 @@ var b = function() {
109
109
  g,
110
110
  !1,
111
111
  null,
112
- null,
113
- null,
114
112
  null
115
113
  );
116
114
  const F = K.exports;