@web-utils/component 4.0.9 → 4.0.10

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 (99) hide show
  1. package/chat/index.mjs +2 -3
  2. package/chunks/{FormTemp.Bu2VCxUh.mjs → FormTemp.BQxO5IQq.mjs} +1 -1
  3. package/chunks/MonacoEditor.D31t4FTy.mjs +327 -0
  4. package/chunks/PhotoSwipe.BunkqqPu.mjs +80 -0
  5. package/chunks/{configComponents.CpKi15WN.mjs → configComponents.DQaqUQFs.mjs} +4 -4
  6. package/chunks/{core.DJEgjQW6.mjs → core.0Exl13Mz.mjs} +3 -3
  7. package/chunks/{dictionary.3O-Io7Vh.mjs → dictionary.C6NmC-bT.mjs} +16 -16
  8. package/confirm-button/index.mjs +9 -14
  9. package/confirmable/index.mjs +8 -13
  10. package/data-display/index.mjs +1 -1
  11. package/data-table-picker/index.mjs +8 -10
  12. package/editable-tree/index.mjs +2 -3
  13. package/element-dialog/index.mjs +2 -3
  14. package/flex-column/index.mjs +5 -6
  15. package/flex-item/index.mjs +5 -6
  16. package/flex-row/index.mjs +2 -3
  17. package/flow/index.mjs +2 -3
  18. package/flow-designer/index.mjs +1 -1
  19. package/flow-node/index.mjs +3 -4
  20. package/flow-viewer/index.mjs +1 -1
  21. package/form-button/index.mjs +1 -1
  22. package/form-cascader/index.mjs +13 -17
  23. package/form-checkbox/index.mjs +7 -12
  24. package/form-checkbox-group/index.mjs +9 -14
  25. package/form-date-picker/index.mjs +5 -10
  26. package/form-holder/index.mjs +4 -5
  27. package/form-input/index.mjs +6 -11
  28. package/form-input-cron-expression/index.mjs +8 -13
  29. package/form-input-email/index.mjs +12 -17
  30. package/form-input-id-card/index.mjs +15 -19
  31. package/form-input-number/index.mjs +16 -23
  32. package/form-input-phone-number/index.mjs +8 -12
  33. package/form-input-tag/index.mjs +7 -12
  34. package/form-input-time/index.mjs +2 -7
  35. package/form-item/index.mjs +2 -6
  36. package/form-radio-group/index.mjs +7 -12
  37. package/form-select/index.mjs +2 -6
  38. package/form-switch/index.mjs +7 -12
  39. package/form-table/index.mjs +22 -28
  40. package/form-table-plus/index.mjs +10 -14
  41. package/form-textarea/index.mjs +6 -11
  42. package/form-tree-select/index.mjs +9 -17
  43. package/form-tree-select-multiple/index.mjs +11 -19
  44. package/form-view/index.mjs +1 -1
  45. package/fy-array/index.mjs +2 -5
  46. package/fy-cascader/index.mjs +13 -17
  47. package/fy-checkbox/index.mjs +19 -23
  48. package/fy-code/index.mjs +9 -10
  49. package/fy-curd/index.mjs +4 -6
  50. package/fy-date/index.mjs +5 -9
  51. package/fy-draggable/index.mjs +2 -3
  52. package/fy-dynamic/index.mjs +11 -14
  53. package/fy-empty/index.mjs +3 -4
  54. package/fy-form/index.mjs +3 -6
  55. package/fy-form-design/index.mjs +13 -14
  56. package/fy-input/index.mjs +10 -14
  57. package/fy-input-color/index.mjs +11 -15
  58. package/fy-input-icon/index.mjs +5 -9
  59. package/fy-input-map/index.mjs +5 -8
  60. package/fy-input-number/index.mjs +12 -16
  61. package/fy-input-table/index.mjs +2 -5
  62. package/fy-input-tree/index.mjs +2 -5
  63. package/fy-radio/index.mjs +9 -13
  64. package/fy-rate/index.mjs +7 -11
  65. package/fy-select/index.mjs +2 -4
  66. package/fy-slider/index.mjs +7 -10
  67. package/fy-switch/index.mjs +5 -9
  68. package/fy-time/index.mjs +3 -6
  69. package/fy-title/index.mjs +12 -16
  70. package/fy-u-editor/index.mjs +2 -3
  71. package/fy-upload/index.mjs +2 -4
  72. package/image-cropper/index.mjs +2 -3
  73. package/index.mjs +369 -545
  74. package/license/index.mjs +2 -3
  75. package/monaco-editor/index.mjs +5 -205
  76. package/package.json +1 -1
  77. package/page-skeleton/index.mjs +3 -3
  78. package/pageable-table/index.mjs +3 -6
  79. package/pageable-view/index.mjs +6 -7
  80. package/photo-swipe/index.mjs +3 -36
  81. package/picker-table-view/index.mjs +23 -24
  82. package/present-view/index.mjs +1 -1
  83. package/record-video/index.mjs +10 -11
  84. package/resize-observer/index.mjs +2 -3
  85. package/search/index.mjs +2 -4
  86. package/sign/index.mjs +2 -3
  87. package/split-pane/index.mjs +1 -1
  88. package/swiper/index.mjs +1 -1
  89. package/table-column/index.mjs +4 -7
  90. package/table-view/index.mjs +4 -5
  91. package/tabs-view/index.mjs +1 -1
  92. package/text-ellipsis/index.mjs +2 -3
  93. package/toolbar/index.mjs +3 -4
  94. package/toolbar-button/index.mjs +3 -4
  95. package/verify/index.mjs +7 -8
  96. package/watermark/index.mjs +14 -15
  97. package/web-types.json +1 -1
  98. package/chunks/index.BmYCjxZQ.mjs +0 -47
  99. package/chunks/json-beautifier.Bp3GslGm.mjs +0 -123
@@ -3,7 +3,6 @@ import { dialogDrag as a } from "@web-utils/vue/directives/dialog-drag";
3
3
  import { getComputedHeight as r, isDef as n } from "@web-utils/core";
4
4
  import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
5
  import { g as d } from "../chunks/index.B2TRddqf.mjs";
6
- import "async-validator";
7
6
  const p = {
8
7
  name: "EmulateForm",
9
8
  provide() {
@@ -301,7 +300,7 @@ var y = function() {
301
300
  null,
302
301
  null
303
302
  );
304
- const B = v.exports;
303
+ const x = v.exports;
305
304
  export {
306
- B as default
305
+ x as default
307
306
  };
@@ -1,6 +1,5 @@
1
1
  import { g as o } from "../chunks/index.9OxHjTIE.mjs";
2
2
  import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- import "@web-utils/core";
4
3
  const s = {
5
4
  name: "FlexColumn",
6
5
  functional: !0,
@@ -34,9 +33,9 @@ const s = {
34
33
  default: !1
35
34
  }
36
35
  },
37
- render(l, { data: n, children: r, props: e }) {
38
- const t = o(n.class, "flex-column");
39
- return e.center || e.horizonCenter && e.verticalCenter ? (t.push("horizon-center"), t.push("vertical-center")) : (e.horizonCenter && t.push("horizon-center"), e.verticalCenter && t.push("vertical-center")), e.textCenter && t.push("text-center"), l("div", { ...n, class: t }, r);
36
+ render(l, { data: t, children: r, props: e }) {
37
+ const n = o(t.class, "flex-column");
38
+ return e.center || e.horizonCenter && e.verticalCenter ? (n.push("horizon-center"), n.push("vertical-center")) : (e.horizonCenter && n.push("horizon-center"), e.verticalCenter && n.push("vertical-center")), e.textCenter && n.push("text-center"), l("div", { ...t, class: n }, r);
40
39
  }
41
40
  }, c = null, i = null;
42
41
  var f = /* @__PURE__ */ a(
@@ -47,7 +46,7 @@ var f = /* @__PURE__ */ a(
47
46
  null,
48
47
  null
49
48
  );
50
- const h = f.exports;
49
+ const m = f.exports;
51
50
  export {
52
- h as default
51
+ m as default
53
52
  };
@@ -1,6 +1,5 @@
1
1
  import { g as o } from "../chunks/index.9OxHjTIE.mjs";
2
2
  import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- import "@web-utils/core";
4
3
  const s = {
5
4
  name: "FlexItem",
6
5
  functional: !0,
@@ -38,10 +37,10 @@ const s = {
38
37
  default: !1
39
38
  }
40
39
  },
41
- render(l, { children: a, data: n, props: e }) {
42
- const t = o(n.class, e.relative ? "flex-item-relative" : "flex-item");
43
- return e.absolute && !e.relative && t.push("flex-item-relative"), e.center || e.horizonCenter && e.verticalCenter ? (t.push("horizon-center"), t.push("vertical-center")) : (e.horizonCenter && t.push("horizon-center"), e.verticalCenter && t.push("vertical-center")), e.textCenter && t.push("text-center"), e.flexColumn && t.push("flex-column"), e.flexRow && t.push("flex-row"), e.absolute ? l("div", { ...n, class: t }, [
44
- l(
40
+ render(t, { children: a, data: n, props: e }) {
41
+ const l = o(n.class, e.relative ? "flex-item-relative" : "flex-item");
42
+ return e.absolute && !e.relative && l.push("flex-item-relative"), e.center || e.horizonCenter && e.verticalCenter ? (l.push("horizon-center"), l.push("vertical-center")) : (e.horizonCenter && l.push("horizon-center"), e.verticalCenter && l.push("vertical-center")), e.textCenter && l.push("text-center"), e.flexColumn && l.push("flex-column"), e.flexRow && l.push("flex-row"), e.absolute ? t("div", { ...n, class: l }, [
43
+ t(
45
44
  "div",
46
45
  {
47
46
  class: "absolute",
@@ -49,7 +48,7 @@ const s = {
49
48
  },
50
49
  a
51
50
  )
52
- ]) : l("div", { ...n, class: t }, a);
51
+ ]) : t("div", { ...n, class: l }, a);
53
52
  }
54
53
  }, r = null, i = null;
55
54
  var u = /* @__PURE__ */ f(
@@ -1,6 +1,5 @@
1
1
  import { g as o } from "../chunks/index.9OxHjTIE.mjs";
2
2
  import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- import "@web-utils/core";
4
3
  const s = {
5
4
  name: "FlexRow",
6
5
  functional: !0,
@@ -35,7 +34,7 @@ var f = /* @__PURE__ */ a(
35
34
  null,
36
35
  null
37
36
  );
38
- const m = f.exports;
37
+ const h = f.exports;
39
38
  export {
40
- m as default
39
+ h as default
41
40
  };
package/flow/index.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { r, s as l } from "../chunks/util.DqFv_pWg.mjs";
2
2
  import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- import "@web-utils/core";
4
3
  const c = {
5
4
  name: "Flow",
6
5
  props: {
@@ -242,7 +241,7 @@ var u = function() {
242
241
  null,
243
242
  null
244
243
  );
245
- const g = d.exports;
244
+ const f = d.exports;
246
245
  export {
247
- g as default
246
+ f as default
248
247
  };
@@ -21,7 +21,7 @@ import re from "highlight.js/lib/core";
21
21
  import Ee from "highlight.js/lib/languages/xml";
22
22
  import Te from "highlight.js/lib/languages/json";
23
23
  import { isArray as K } from "@web-utils/core";
24
- import Ce from "./highlight-j-s/index.mjs";
24
+ import Ce from "../highlight-j-s/index.mjs";
25
25
  import "./highlight-j-s/style.css";
26
26
  function G(n, e, t, i, r, a, p, o, y, S, l, s, m) {
27
27
  n = n || {}, i.registerProvider(this), this._contextPad = i, this._modeling = r, this._elementFactory = a, this._connect = p, this._create = o, this._popupMenu = y, this._canvas = S, this._rules = l, this._translate = s, n.autoPlace !== !1 && (this._autoPlace = e.get("autoPlace", !1)), t.on("create.end", 250, function(g) {
@@ -1,6 +1,5 @@
1
1
  import { s as o } from "../chunks/util.DqFv_pWg.mjs";
2
2
  import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- import "@web-utils/core";
4
3
  const n = {
5
4
  name: "FlowNode",
6
5
  props: {
@@ -48,13 +47,13 @@ const n = {
48
47
  }
49
48
  }
50
49
  };
51
- var r = function() {
50
+ var d = function() {
52
51
  var e = this, t = e._self._c;
53
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)])]);
54
- }, d = [], a = /* @__PURE__ */ s(
53
+ }, r = [], a = /* @__PURE__ */ s(
55
54
  n,
56
- r,
57
55
  d,
56
+ r,
58
57
  !1,
59
58
  null,
60
59
  null
@@ -2,7 +2,7 @@ import u from "bpmn-js/lib/NavigatedViewer";
2
2
  import c from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
3
3
  import { create as l, attr as a, append as p } from "tiny-svg";
4
4
  import { query as w } from "min-dom";
5
- import y from "./easy-popup/index.mjs";
5
+ import y from "../easy-popup/index.mjs";
6
6
  import "./easy-popup/style.css";
7
7
  import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
8
8
  const m = c.prototype._handleWheel, k = {
@@ -1,4 +1,4 @@
1
- import n from "./confirmable/index.mjs";
1
+ import n from "../confirmable/index.mjs";
2
2
  import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  const t = {
4
4
  props: {
@@ -1,20 +1,16 @@
1
- import { f as o } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { f as i } from "../chunks/form-pick.BFTIVn_i.mjs";
3
- import a from "element-ui/lib/cascader";
1
+ import { f as a } from "../chunks/form-input.CvFdwlEV.mjs";
2
+ import { f as o } from "../chunks/form-pick.BFTIVn_i.mjs";
3
+ import i from "element-ui/lib/cascader";
4
4
  import { c as n, d as u, n as p } from "../chunks/index.B2TRddqf.mjs";
5
- import { isArray as s, setParent as m, isString as f, findTreeChildren as c } from "@web-utils/core";
6
- import { cloneDeep as d } from "@web-utils/integrations/lodash";
5
+ import { isArray as s, setParent as f, isString as c, findTreeChildren as d } from "@web-utils/core";
6
+ import { cloneDeep as m } from "@web-utils/integrations/lodash";
7
7
  import { d as h } from "../chunks/dictionary.DqiP9x2m.mjs";
8
8
  import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
9
- import "../chunks/form-item.LWjePsPa.mjs";
10
- import "element-ui/lib/col";
11
- import "element-ui/lib/form-item";
12
- import "async-validator";
13
- const v = n(a).filter(
9
+ const v = n(i).filter(
14
10
  (t) => !["value", "placeholder", "disabled", "options", "showAllLevels", "show-all-levels", "separator"].includes(t)
15
11
  ), _ = {
16
12
  name: "FormCascader",
17
- mixins: [o, i, h],
13
+ mixins: [a, o, h],
18
14
  props: {
19
15
  value: [String, Number, Array],
20
16
  options: {
@@ -63,9 +59,9 @@ const v = n(a).filter(
63
59
  },
64
60
  inputVal() {
65
61
  if (this.join)
66
- return s(this.value) ? this.value : f(this.value) ? this.value.split(this.separator) : [];
62
+ return s(this.value) ? this.value : c(this.value) ? this.value.split(this.separator) : [];
67
63
  if (this.last) {
68
- let [t] = c(this.innerOptions, (r) => r[this.valueKey] === this.value);
64
+ let [t] = d(this.innerOptions, (r) => r[this.valueKey] === this.value);
69
65
  const e = [];
70
66
  for (; t; )
71
67
  e.push(t[this.valueKey]), t = t.parent;
@@ -77,8 +73,8 @@ const v = n(a).filter(
77
73
  if (this.dictType)
78
74
  return this.dictItems;
79
75
  if (this.options) {
80
- const t = d(this.options);
81
- return this.last && m(t), t;
76
+ const t = m(this.options);
77
+ return this.last && f(t), t;
82
78
  } else
83
79
  return [];
84
80
  }
@@ -113,7 +109,7 @@ var b = function() {
113
109
  null,
114
110
  null
115
111
  );
116
- const V = g.exports;
112
+ const x = g.exports;
117
113
  export {
118
- V as default
114
+ x as default
119
115
  };
@@ -2,12 +2,7 @@ import { f as a } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import l from "element-ui/lib/checkbox";
3
3
  import { c as n, v as s, d as i, n as u } from "../chunks/index.B2TRddqf.mjs";
4
4
  import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
10
- const m = n(l).filter((r) => !["value", "placeholder", "disabled", "suffixIcon"].includes(r)), c = {
5
+ const c = n(l).filter((r) => !["value", "placeholder", "disabled", "suffixIcon"].includes(r)), d = {
11
6
  name: "FormCheckbox",
12
7
  mixins: [a],
13
8
  props: {
@@ -33,7 +28,7 @@ const m = n(l).filter((r) => !["value", "placeholder", "disabled", "suffixIcon"]
33
28
  },
34
29
  computed: {
35
30
  inputProps() {
36
- return i({ ...u(this.$attrs), ...this.$props }, m);
31
+ return i({ ...u(this.$attrs), ...this.$props }, c);
37
32
  }
38
33
  },
39
34
  watch: {
@@ -47,7 +42,7 @@ const m = n(l).filter((r) => !["value", "placeholder", "disabled", "suffixIcon"]
47
42
  }
48
43
  }
49
44
  };
50
- var d = function() {
45
+ var f = function() {
51
46
  var e = this, t = e._self._c;
52
47
  return t("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
53
48
  return [e._t("default", function() {
@@ -62,15 +57,15 @@ var d = function() {
62
57
  }, proxy: !0 }, { key: "tips", fn: function() {
63
58
  return [e._t("tips")];
64
59
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
65
- }, f = [], _ = /* @__PURE__ */ p(
66
- c,
60
+ }, m = [], _ = /* @__PURE__ */ p(
67
61
  d,
68
62
  f,
63
+ m,
69
64
  !1,
70
65
  null,
71
66
  null
72
67
  );
73
- const S = _.exports;
68
+ const k = _.exports;
74
69
  export {
75
- S as default
70
+ k as default
76
71
  };
@@ -1,17 +1,12 @@
1
- import { f as i } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { f as l } from "../chunks/form-pick.BFTIVn_i.mjs";
1
+ import { f as l } from "../chunks/form-input.CvFdwlEV.mjs";
2
+ import { f as i } from "../chunks/form-pick.BFTIVn_i.mjs";
3
3
  import { d as s } from "../chunks/dictionary.DqiP9x2m.mjs";
4
- import { c as n, d as a, n as p } from "../chunks/index.B2TRddqf.mjs";
5
- import u from "element-ui/lib/checkbox-group";
4
+ import { c as n, d as a, n as u } from "../chunks/index.B2TRddqf.mjs";
5
+ import p from "element-ui/lib/checkbox-group";
6
6
  import { n as h } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
7
- import "../chunks/form-item.LWjePsPa.mjs";
8
- import "element-ui/lib/col";
9
- import "element-ui/lib/form-item";
10
- import "@web-utils/core";
11
- import "async-validator";
12
- const c = n(u).filter((t) => !["value", "placeholder", "disabled"].includes(t)), m = {
7
+ const c = n(p).filter((t) => !["value", "placeholder", "disabled"].includes(t)), m = {
13
8
  name: "FormCheckboxGroup",
14
- mixins: [i, l, s],
9
+ mixins: [l, i, s],
15
10
  props: {
16
11
  options: {
17
12
  type: Array,
@@ -55,7 +50,7 @@ const c = n(u).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
55
50
  return this.classic ? "value" : this.valueProp;
56
51
  },
57
52
  inputProps() {
58
- return a({ ...p(this.$attrs), ...this.$props }, c);
53
+ return a({ ...u(this.$attrs), ...this.$props }, c);
59
54
  },
60
55
  innerOptions() {
61
56
  return this.dictType ? this.dictItems : this.gender ? [
@@ -113,7 +108,7 @@ var f = function() {
113
108
  null,
114
109
  null
115
110
  );
116
- const C = b.exports;
111
+ const P = b.exports;
117
112
  export {
118
- C as default
113
+ P as default
119
114
  };
@@ -1,13 +1,8 @@
1
1
  import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import { f as s } from "../chunks/form-pick.BFTIVn_i.mjs";
3
3
  import { toDate as a } from "@web-utils/integrations/dayjs";
4
- import { d as o, n as l } from "../chunks/index.B2TRddqf.mjs";
4
+ import { d as l, n as o } from "../chunks/index.B2TRddqf.mjs";
5
5
  import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- import "../chunks/form-item.LWjePsPa.mjs";
7
- import "element-ui/lib/col";
8
- import "element-ui/lib/form-item";
9
- import "@web-utils/core";
10
- import "async-validator";
11
6
  const u = [
12
7
  "type",
13
8
  "timeArrowControl",
@@ -97,9 +92,9 @@ const u = [
97
92
  return this.year ? "yyyy" : this.month || this.monthRange ? "yyyy-MM" : this.week ? "yyyy 第 WW 周" : this.dateTime || this.dateTimeRange ? "yyyy-MM-dd HH:mm:ss" : "yyyy-MM-dd";
98
93
  },
99
94
  inputProps() {
100
- return o(
95
+ return l(
101
96
  {
102
- ...l(this.$attrs),
97
+ ...o(this.$attrs),
103
98
  ...this.$props,
104
99
  valueFormat: this.week ? "yyyy-MM-dd" : this.valueFormat || this.fat,
105
100
  format: this.format || this.fat,
@@ -142,7 +137,7 @@ var h = function() {
142
137
  null,
143
138
  null
144
139
  );
145
- const b = f.exports;
140
+ const P = f.exports;
146
141
  export {
147
- b as default
142
+ P as default
148
143
  };
@@ -1,7 +1,6 @@
1
1
  import { animate as o, warning as l } from "@web-utils/core";
2
2
  import { e as a } from "../chunks/index.B2TRddqf.mjs";
3
3
  import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- import "async-validator";
5
4
  const s = {
6
5
  name: "FormHolder",
7
6
  inject: {
@@ -96,15 +95,15 @@ const s = {
96
95
  var n = function() {
97
96
  var e = this, t = e._self._c;
98
97
  return t("ElForm", { ref: "form", class: ["clear-fix", { "red-form": e.tableForm }], attrs: { model: e.model, size: e.size, "show-message": e.showMessage, disabled: e.disabled, "label-width": e.tableForm ? "0px" : e.labelWidth, "label-position": e.labelPosition } }, [e.tableForm ? [e._t("top"), t("FormRedTable", { class: { "hide-error-message": e.tableForm }, attrs: { columns: e.columns, "col-count": e.colCount } }, [e._t("default"), e.showAdvice ? t("FormAdvice", { attrs: { "label-colspan": e.commentLabelColspan, "value-colspan": e.commentValueColspan } }) : e._e()], 2), e._t("bottom"), t("div", { staticClass: "red-form-footer" }, [e._t("footer")], 2)] : [e._t("default")]], 2);
99
- }, m = [], d = /* @__PURE__ */ i(
98
+ }, d = [], m = /* @__PURE__ */ i(
100
99
  s,
101
100
  n,
102
- m,
101
+ d,
103
102
  !1,
104
103
  null,
105
104
  null
106
105
  );
107
- const b = d.exports;
106
+ const h = m.exports;
108
107
  export {
109
- b as default
108
+ h as default
110
109
  };
@@ -1,12 +1,7 @@
1
1
  import { f as i } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import o from "element-ui/lib/input";
3
- import { c as a, v as s, d as p, n as l } from "../chunks/index.B2TRddqf.mjs";
4
- import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
3
+ import { c as a, v as s, d as l, n as u } from "../chunks/index.B2TRddqf.mjs";
4
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
10
5
  const c = a(o).filter((t) => !["value", "placeholder", "disabled", "suffixIcon"].includes(t)), d = {
11
6
  name: "FormInput",
12
7
  mixins: [i],
@@ -33,7 +28,7 @@ const c = a(o).filter((t) => !["value", "placeholder", "disabled", "suffixIcon"]
33
28
  },
34
29
  computed: {
35
30
  inputProps() {
36
- return p({ ...l(this.$attrs), ...this.$props }, c);
31
+ return l({ ...u(this.$attrs), ...this.$props }, c);
37
32
  }
38
33
  },
39
34
  watch: {
@@ -78,7 +73,7 @@ var f = function() {
78
73
  }, proxy: !0 }, { key: "tips", fn: function() {
79
74
  return [e._t("tips")];
80
75
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
81
- }, m = [], _ = /* @__PURE__ */ u(
76
+ }, m = [], _ = /* @__PURE__ */ p(
82
77
  d,
83
78
  f,
84
79
  m,
@@ -86,7 +81,7 @@ var f = function() {
86
81
  null,
87
82
  null
88
83
  );
89
- const S = _.exports;
84
+ const k = _.exports;
90
85
  export {
91
- S as default
86
+ k as default
92
87
  };
@@ -1,12 +1,7 @@
1
1
  import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import s from "element-ui/lib/input";
3
- import { c as a, v as l, d as i, n as p } from "../chunks/index.B2TRddqf.mjs";
4
- import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
3
+ import { c as a, v as l, d as u, n as i } from "../chunks/index.B2TRddqf.mjs";
4
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
10
5
  const c = a(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)), d = {
11
6
  name: "FormInputCronExpression",
12
7
  mixins: [n],
@@ -29,7 +24,7 @@ const c = a(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
29
24
  },
30
25
  computed: {
31
26
  inputProps() {
32
- return i({ ...p(this.$attrs), ...this.$props }, c);
27
+ return u({ ...i(this.$attrs), ...this.$props }, c);
33
28
  }
34
29
  },
35
30
  watch: {
@@ -43,7 +38,7 @@ const c = a(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
43
38
  }
44
39
  }
45
40
  };
46
- var m = function() {
41
+ var f = function() {
47
42
  var e = this, r = e._self._c;
48
43
  return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled, "validate-status": "" }, scopedSlots: e._u([{ key: "default", fn: function() {
49
44
  return [e._t("default", function() {
@@ -68,15 +63,15 @@ var m = function() {
68
63
  }, proxy: !0 }, { key: "tips", fn: function() {
69
64
  return [e._t("tips")];
70
65
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
71
- }, f = [], _ = /* @__PURE__ */ u(
66
+ }, m = [], _ = /* @__PURE__ */ p(
72
67
  d,
73
- m,
74
68
  f,
69
+ m,
75
70
  !1,
76
71
  null,
77
72
  null
78
73
  );
79
- const C = _.exports;
74
+ const x = _.exports;
80
75
  export {
81
- C as default
76
+ x as default
82
77
  };
@@ -1,16 +1,11 @@
1
- import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
1
+ import { f as o } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import { v as l } from "../chunks/form-validate.CVarNHKX.mjs";
3
3
  import a from "element-ui/lib/input";
4
- import { c as s, d as i, n as p } from "../chunks/index.B2TRddqf.mjs";
5
- import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- import "../chunks/form-item.LWjePsPa.mjs";
7
- import "element-ui/lib/col";
8
- import "element-ui/lib/form-item";
9
- import "@web-utils/core";
10
- import "async-validator";
11
- const u = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
4
+ import { c as s, d as u, n as i } from "../chunks/index.B2TRddqf.mjs";
5
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
+ const m = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
12
7
  name: "FormInputEmail",
13
- mixins: [n],
8
+ mixins: [o],
14
9
  props: {
15
10
  value: String,
16
11
  maxLength: {
@@ -20,7 +15,7 @@ const u = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
20
15
  },
21
16
  computed: {
22
17
  inputProps() {
23
- return i({ ...p(this.$attrs), ...this.$props }, u);
18
+ return u({ ...i(this.$attrs), ...this.$props }, m);
24
19
  }
25
20
  },
26
21
  methods: {
@@ -35,15 +30,15 @@ const u = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
35
30
  }
36
31
  };
37
32
  var f = function() {
38
- var e = this, o = e._self._c;
39
- return o("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
40
- return [o("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: (r) => e.$emit("input", r) } }, "ElInput", e.inputProps, !1), e.listeners))];
33
+ var e = this, n = e._self._c;
34
+ return n("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
35
+ return [n("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: (r) => e.$emit("input", r) } }, "ElInput", e.inputProps, !1), e.listeners))];
41
36
  }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
42
37
  return [e._t("error", null, { error: r })];
43
38
  } }, { key: "label", fn: function() {
44
39
  return [e._t("label")];
45
40
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
46
- }, c = [], _ = /* @__PURE__ */ m(
41
+ }, c = [], _ = /* @__PURE__ */ p(
47
42
  d,
48
43
  f,
49
44
  c,
@@ -51,7 +46,7 @@ var f = function() {
51
46
  null,
52
47
  null
53
48
  );
54
- const k = _.exports;
49
+ const I = _.exports;
55
50
  export {
56
- k as default
51
+ I as default
57
52
  };
@@ -1,12 +1,8 @@
1
1
  import { f as s } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import { validateIdCard as n } from "@web-utils/core";
3
3
  import a from "element-ui/lib/input";
4
- import { c as l, d as i, n as p } from "../chunks/index.B2TRddqf.mjs";
5
- import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- import "../chunks/form-item.LWjePsPa.mjs";
7
- import "element-ui/lib/col";
8
- import "element-ui/lib/form-item";
9
- import "async-validator";
4
+ import { c as l, d as i, n as u } from "../chunks/index.B2TRddqf.mjs";
5
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
10
6
  const m = l(a).filter((o) => !["value", "placeholder", "disabled"].includes(o)), d = {
11
7
  name: "FormInputIdCard",
12
8
  mixins: [s],
@@ -19,7 +15,7 @@ const m = l(a).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
19
15
  },
20
16
  computed: {
21
17
  inputProps() {
22
- return i({ ...p(this.$attrs), ...this.$props }, m);
18
+ return i({ ...u(this.$attrs), ...this.$props }, m);
23
19
  }
24
20
  },
25
21
  methods: {
@@ -35,17 +31,17 @@ const m = l(a).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
35
31
  }
36
32
  };
37
33
  var f = function() {
38
- var r = this, t = r._self._c;
39
- return t("FormItem", r._b({ attrs: { rules: r.computeRules, disabled: r.inputDisabled }, scopedSlots: r._u([{ key: "default", fn: function() {
40
- return [t("ElInput", r._g(r._b({ class: { "is-readonly": r.readonly }, attrs: { value: r.value, readonly: r.readonly, maxlength: r.maxLength, disabled: r.inputDisabled, placeholder: r.computePlaceholder }, on: { input: (e) => r.$emit("input", e) } }, "ElInput", r.inputProps, !1), r.listeners)), r.$slots.warn ? t("div", { staticClass: "el-form-item__error" }, [r._t("warn")], 2) : r._e()];
41
- }, proxy: !0 }, { key: "error", fn: function({ error: e }) {
42
- return [r.$scopedSlots.error && r.$scopedSlots.error(e) ? t("div", { staticClass: "el-form-item__error" }, [r._t("error", function() {
43
- return [r._v(r._s(e))];
44
- }, { error: e })], 2) : r._e()];
34
+ var e = this, t = e._self._c;
35
+ return t("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
36
+ return [t("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: (r) => e.$emit("input", r) } }, "ElInput", e.inputProps, !1), e.listeners)), e.$slots.warn ? t("div", { staticClass: "el-form-item__error" }, [e._t("warn")], 2) : e._e()];
37
+ }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
38
+ return [e.$scopedSlots.error && e.$scopedSlots.error(r) ? t("div", { staticClass: "el-form-item__error" }, [e._t("error", function() {
39
+ return [e._v(e._s(r))];
40
+ }, { error: r })], 2) : e._e()];
45
41
  } }, { key: "label", fn: function() {
46
- return [r._t("label")];
47
- }, proxy: !0 }], null, !0) }, "FormItem", r.formItemProps, !1));
48
- }, c = [], _ = /* @__PURE__ */ u(
42
+ return [e._t("label")];
43
+ }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
44
+ }, c = [], _ = /* @__PURE__ */ p(
49
45
  d,
50
46
  f,
51
47
  c,
@@ -53,7 +49,7 @@ var f = function() {
53
49
  null,
54
50
  null
55
51
  );
56
- const $ = _.exports;
52
+ const g = _.exports;
57
53
  export {
58
- $ as default
54
+ g as default
59
55
  };