@web-utils/component 3.0.4 → 3.0.5

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 (109) hide show
  1. package/address-input/index.mjs +22 -24
  2. package/awesome-button/index.mjs +29 -30
  3. package/card/index.mjs +40 -42
  4. package/carousel/index.mjs +25 -27
  5. package/chat/index.mjs +57 -67
  6. package/chunks/FormTemp.7f91629d.mjs +165 -0
  7. package/chunks/confirmable-mixin.817b542f.mjs +116 -0
  8. package/chunks/{dataformat.e655611c.mjs → dataformat.f995e2f9.mjs} +3 -3
  9. package/chunks/{event.10295951.mjs → event.b5d855dd.mjs} +1 -1
  10. package/chunks/{form-input-mixin.78a567bc.mjs → form-input-mixin.4632ad36.mjs} +1 -1
  11. package/chunks/{form-item-mixin.57cb2019.mjs → form-item-mixin.ad148e7b.mjs} +13 -13
  12. package/color-picker/index.mjs +128 -0
  13. package/confirm-button/index.mjs +1 -1
  14. package/confirmable/index.mjs +1 -1
  15. package/data-box/index.mjs +32 -34
  16. package/data-card/index.mjs +33 -35
  17. package/data-cardtext/index.mjs +27 -29
  18. package/data-display/index.mjs +33 -35
  19. package/data-icons/index.mjs +28 -30
  20. package/data-imgtext/index.mjs +27 -30
  21. package/data-operatext/index.mjs +39 -41
  22. package/data-panel/index.mjs +36 -38
  23. package/data-pay/index.mjs +20 -23
  24. package/data-price/index.mjs +32 -34
  25. package/data-progress/index.mjs +27 -30
  26. package/data-rotate/index.mjs +17 -19
  27. package/data-table-picker/index.mjs +22 -23
  28. package/data-tabs/index.mjs +31 -33
  29. package/dialog-form/index.mjs +22 -27
  30. package/dynamic-table/index.mjs +36 -40
  31. package/editable-progress/index.mjs +14 -16
  32. package/editable-tree/index.mjs +139 -143
  33. package/egd-collapse-item/index.mjs +2 -1
  34. package/element-dialog/index.mjs +24 -25
  35. package/flow-designer/index.mjs +1095 -1111
  36. package/form-block/index.mjs +22 -24
  37. package/form-cascader/index.mjs +20 -20
  38. package/form-checkbox-group/index.mjs +24 -25
  39. package/form-date-picker/index.mjs +18 -19
  40. package/form-holder/index.mjs +14 -15
  41. package/form-input/index.mjs +23 -23
  42. package/form-input-email/index.mjs +17 -17
  43. package/form-input-id-card/index.mjs +24 -24
  44. package/form-input-number/index.mjs +1 -1
  45. package/form-input-phone-number/index.mjs +26 -26
  46. package/form-input-tag/index.mjs +1 -1
  47. package/form-input-time/index.mjs +17 -17
  48. package/form-item/index.mjs +54 -56
  49. package/form-item-group/index.mjs +31 -33
  50. package/form-radio-group/index.mjs +51 -52
  51. package/form-select/index.mjs +31 -32
  52. package/form-switch/index.mjs +22 -22
  53. package/form-textarea/index.mjs +20 -20
  54. package/fy-array/index.mjs +61 -65
  55. package/fy-cascader/index.mjs +19 -20
  56. package/fy-checkbox/index.mjs +32 -37
  57. package/fy-code/index.mjs +13 -10
  58. package/fy-curd/index.mjs +638 -660
  59. package/fy-date/index.mjs +20 -21
  60. package/fy-draggable/index.mjs +19 -20
  61. package/fy-dynamic/index.mjs +26 -27
  62. package/fy-form/index.mjs +111 -122
  63. package/fy-form-design/index.mjs +1238 -1270
  64. package/fy-input/index.mjs +15 -17
  65. package/fy-input-color/index.mjs +25 -27
  66. package/fy-input-icon/index.mjs +20 -21
  67. package/fy-input-map/index.mjs +22 -24
  68. package/fy-input-number/index.mjs +22 -23
  69. package/fy-input-table/index.mjs +15 -17
  70. package/fy-input-tree/index.mjs +28 -32
  71. package/fy-progress/index.mjs +23 -24
  72. package/fy-radio/index.mjs +18 -23
  73. package/fy-rate/index.mjs +12 -13
  74. package/fy-select/index.mjs +40 -44
  75. package/fy-slider/index.mjs +17 -18
  76. package/fy-switch/index.mjs +20 -21
  77. package/fy-tabs/index.mjs +19 -21
  78. package/fy-time/index.mjs +14 -20
  79. package/fy-title/index.mjs +1 -1
  80. package/fy-tree/index.mjs +17 -21
  81. package/fy-upload/index.mjs +74 -76
  82. package/guide-steps/index.mjs +22 -24
  83. package/image-cropper/index.mjs +50 -51
  84. package/image-preview/index.mjs +24 -26
  85. package/index.mjs +480 -477
  86. package/input-number/index.mjs +13 -14
  87. package/input-number-range/index.mjs +23 -24
  88. package/login/index.mjs +35 -40
  89. package/nav-bar/index.mjs +13 -14
  90. package/notice/index.mjs +18 -19
  91. package/package.json +3 -3
  92. package/page-index/index.mjs +33 -34
  93. package/page-index-top/index.mjs +22 -24
  94. package/pageable-table/index.mjs +92 -96
  95. package/pageable-view/index.mjs +33 -34
  96. package/search/index.mjs +21 -23
  97. package/static-pageable-table/index.mjs +18 -20
  98. package/swiper/index.mjs +22 -23
  99. package/table-view/index.mjs +49 -53
  100. package/tag-render/index.mjs +19 -21
  101. package/text-ellipsis/index.mjs +11 -12
  102. package/tinymce-editor/index.mjs +50 -51
  103. package/toolbar-button/index.mjs +18 -19
  104. package/vue-cron/index.mjs +104 -112
  105. package/web-types.json +85 -1
  106. package/x-input-tag/index.mjs +47 -50
  107. package/chunks/FormTemp.d079292b.mjs +0 -139
  108. package/chunks/confirmable-mixin.26e1d0e0.mjs +0 -197
  109. package/chunks/detail.d6f8e347.mjs +0 -29
@@ -1,18 +1,18 @@
1
- var m = Object.defineProperty;
2
- var a = Object.getOwnPropertySymbols;
3
- var d = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4
- var i = (r, e, t) => e in r ? m(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, s = (r, e) => {
1
+ var d = Object.defineProperty;
2
+ var l = Object.getOwnPropertySymbols;
3
+ var m = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4
+ var a = (r, e, t) => e in r ? d(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, s = (r, e) => {
5
5
  for (var t in e || (e = {}))
6
- d.call(e, t) && i(r, t, e[t]);
7
- if (a)
8
- for (var t of a(e))
9
- c.call(e, t) && i(r, t, e[t]);
6
+ m.call(e, t) && a(r, t, e[t]);
7
+ if (l)
8
+ for (var t of l(e))
9
+ c.call(e, t) && a(r, t, e[t]);
10
10
  return r;
11
11
  };
12
- import { f as _ } from "../chunks/form-input-mixin.78a567bc.mjs";
13
- import { validateIdCard as u } from "@web-utils/core";
14
- import l from "element-ui/lib/input";
15
- import { d as f, n as v } from "../chunks/index.57f871af.mjs";
12
+ import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
13
+ import { validateIdCard as i } from "@web-utils/core";
14
+ import u from "element-ui/lib/input";
15
+ import { d as _, n as v } from "../chunks/index.57f871af.mjs";
16
16
  import { n as y } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
17
17
  var h = function() {
18
18
  var r = this, e = r.$createElement, t = r._self._c || e;
@@ -24,7 +24,7 @@ var h = function() {
24
24
  scopedSlots: r._u([{
25
25
  key: "default",
26
26
  fn: function() {
27
- return [t(l, r._g(r._b({
27
+ return [t("ElInput", r._g(r._b({
28
28
  class: {
29
29
  "is-readonly": r.readonly
30
30
  },
@@ -65,12 +65,12 @@ var h = function() {
65
65
  proxy: !0
66
66
  }], null, !0)
67
67
  }, "FormItem", r.formItemProps, !1));
68
- }, b = [];
69
- const x = Object.keys(l.props || l.default.props).filter(
68
+ }, I = [];
69
+ const b = Object.keys(u.props || u.default.props).filter(
70
70
  (r) => !["value", "placeholder", "disabled"].includes(r)
71
- ), I = {
71
+ ), x = {
72
72
  name: "FormInputIdCard",
73
- mixins: [_],
73
+ mixins: [f],
74
74
  props: {
75
75
  value: {
76
76
  type: String
@@ -82,15 +82,15 @@ const x = Object.keys(l.props || l.default.props).filter(
82
82
  },
83
83
  computed: {
84
84
  inputProps() {
85
- return f(s(s({}, v(this.$attrs)), this.$props), x);
85
+ return _(s(s({}, v(this.$attrs)), this.$props), b);
86
86
  }
87
87
  },
88
88
  methods: {
89
- validateIdCard: u,
89
+ validateIdCard: i,
90
90
  getRules() {
91
91
  return [
92
92
  {
93
- validator: u,
93
+ validator: i,
94
94
  message: "请输入正确的身份证号码!"
95
95
  }
96
96
  ];
@@ -98,9 +98,9 @@ const x = Object.keys(l.props || l.default.props).filter(
98
98
  }
99
99
  }, p = {};
100
100
  var g = /* @__PURE__ */ y(
101
- I,
101
+ x,
102
102
  h,
103
- b,
103
+ I,
104
104
  !1,
105
105
  $,
106
106
  null,
@@ -111,9 +111,9 @@ function $(r) {
111
111
  for (let e in p)
112
112
  this[e] = p[e];
113
113
  }
114
- const j = /* @__PURE__ */ function() {
114
+ const R = /* @__PURE__ */ function() {
115
115
  return g.exports;
116
116
  }();
117
117
  export {
118
- j as default
118
+ R as default
119
119
  };
@@ -9,7 +9,7 @@ var i = (e, r, t) => r in e ? l(e, r, { enumerable: !0, configurable: !0, writab
9
9
  m.call(r, t) && i(e, t, r[t]);
10
10
  return e;
11
11
  };
12
- import { f } from "../chunks/form-input-mixin.78a567bc.mjs";
12
+ import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
13
13
  import { d as c, n as _ } from "../chunks/index.57f871af.mjs";
14
14
  import { i as d } from "../chunks/input-number-mixin.41a066be.mjs";
15
15
  import { n as y } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
@@ -1,22 +1,22 @@
1
1
  var p = Object.defineProperty;
2
- var l = Object.getOwnPropertySymbols;
3
- var m = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4
- var s = (e, r, t) => r in e ? p(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, n = (e, r) => {
5
- for (var t in r || (r = {}))
6
- m.call(r, t) && s(e, t, r[t]);
7
- if (l)
8
- for (var t of l(r))
9
- c.call(r, t) && s(e, t, r[t]);
2
+ var o = Object.getOwnPropertySymbols;
3
+ var m = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable;
4
+ var l = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, n = (e, t) => {
5
+ for (var r in t || (t = {}))
6
+ m.call(t, r) && l(e, r, t[r]);
7
+ if (o)
8
+ for (var r of o(t))
9
+ d.call(t, r) && l(e, r, t[r]);
10
10
  return e;
11
11
  };
12
- import { f as d } from "../chunks/form-input-mixin.78a567bc.mjs";
12
+ import { f as c } from "../chunks/form-input-mixin.4632ad36.mjs";
13
13
  import { validatePhoneNum as f } from "@web-utils/core";
14
14
  import { d as _, n as h } from "../chunks/index.57f871af.mjs";
15
- import o from "element-ui/lib/input";
15
+ import s from "element-ui/lib/input";
16
16
  import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
17
17
  var y = function() {
18
- var e = this, r = e.$createElement, t = e._self._c || r;
19
- return t("FormItem", e._b({
18
+ var e = this, t = e.$createElement, r = e._self._c || t;
19
+ return r("FormItem", e._b({
20
20
  attrs: {
21
21
  rules: e.computeRules,
22
22
  disabled: e.inputDisabled
@@ -24,7 +24,7 @@ var y = function() {
24
24
  scopedSlots: e._u([{
25
25
  key: "default",
26
26
  fn: function() {
27
- return [t(o, e._g(e._b({
27
+ return [r("ElInput", e._g(e._b({
28
28
  class: {
29
29
  "is-readonly": e.readonly
30
30
  },
@@ -58,11 +58,11 @@ var y = function() {
58
58
  }], null, !0)
59
59
  }, "FormItem", e.formItemProps, !1));
60
60
  }, b = [];
61
- const x = Object.keys(o.props || o.default.props).filter(
61
+ const I = Object.keys(s.props || s.default.props).filter(
62
62
  (e) => !["value", "placeholder", "disabled"].includes(e)
63
- ), g = {
63
+ ), x = {
64
64
  name: "FormInputPhoneNumber",
65
- mixins: [d],
65
+ mixins: [c],
66
66
  props: {
67
67
  value: {
68
68
  type: String
@@ -74,7 +74,7 @@ const x = Object.keys(o.props || o.default.props).filter(
74
74
  },
75
75
  computed: {
76
76
  inputProps() {
77
- return _(n(n({}, h(this.$attrs)), this.$props), x);
77
+ return _(n(n({}, h(this.$attrs)), this.$props), I);
78
78
  }
79
79
  },
80
80
  methods: {
@@ -91,23 +91,23 @@ const x = Object.keys(o.props || o.default.props).filter(
91
91
  }
92
92
  }
93
93
  }, u = {};
94
- var I = /* @__PURE__ */ v(
95
- g,
94
+ var P = /* @__PURE__ */ v(
95
+ x,
96
96
  y,
97
97
  b,
98
98
  !1,
99
- P,
99
+ g,
100
100
  null,
101
101
  null,
102
102
  null
103
103
  );
104
- function P(e) {
105
- for (let r in u)
106
- this[r] = u[r];
104
+ function g(e) {
105
+ for (let t in u)
106
+ this[t] = u[t];
107
107
  }
108
- const j = /* @__PURE__ */ function() {
109
- return I.exports;
108
+ const R = /* @__PURE__ */ function() {
109
+ return P.exports;
110
110
  }();
111
111
  export {
112
- j as default
112
+ R as default
113
113
  };
@@ -9,7 +9,7 @@ var l = (e, r, t) => r in e ? p(e, r, { enumerable: !0, configurable: !0, writab
9
9
  m.call(r, t) && l(e, t, r[t]);
10
10
  return e;
11
11
  };
12
- import { f as d } from "../chunks/form-input-mixin.78a567bc.mjs";
12
+ import { f as d } from "../chunks/form-input-mixin.4632ad36.mjs";
13
13
  import { d as f, n as _ } from "../chunks/index.57f871af.mjs";
14
14
  import s from "@web-utils/component/x-input-tag";
15
15
  import "@web-utils/component/x-input-tag/style.css";
@@ -1,16 +1,16 @@
1
- var p = Object.defineProperty;
2
- var l = Object.getOwnPropertySymbols;
3
- var m = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
4
- var i = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, a = (e, t) => {
1
+ var m = Object.defineProperty;
2
+ var o = Object.getOwnPropertySymbols;
3
+ var p = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4
+ var i = (e, t, r) => t in e ? m(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, a = (e, t) => {
5
5
  for (var r in t || (t = {}))
6
- m.call(t, r) && i(e, r, t[r]);
7
- if (l)
8
- for (var r of l(t))
9
- f.call(t, r) && i(e, r, t[r]);
6
+ p.call(t, r) && i(e, r, t[r]);
7
+ if (o)
8
+ for (var r of o(t))
9
+ c.call(t, r) && i(e, r, t[r]);
10
10
  return e;
11
11
  };
12
- import { f as c } from "../chunks/form-input-mixin.78a567bc.mjs";
13
- import o from "element-ui/lib/time-picker";
12
+ import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
13
+ import l from "element-ui/lib/time-picker";
14
14
  import { d, n as _ } from "../chunks/index.57f871af.mjs";
15
15
  import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
16
16
  var y = function() {
@@ -23,7 +23,7 @@ var y = function() {
23
23
  scopedSlots: e._u([{
24
24
  key: "default",
25
25
  fn: function() {
26
- return [r(o, e._g(e._b({
26
+ return [r("ElTimePicker", e._g(e._b({
27
27
  attrs: {
28
28
  "is-range": e.range,
29
29
  value: e.value,
@@ -68,11 +68,11 @@ var y = function() {
68
68
  }], null, !0)
69
69
  }, "FormItem", e.formItemProps, !1));
70
70
  }, g = [];
71
- const b = Object.keys(o.props || o.default.props).filter(
71
+ const b = Object.keys(l.props || l.default.props).filter(
72
72
  (e) => !["value", "placeholder", "disabled"].includes(e)
73
73
  ), x = {
74
74
  name: "FormInputTime",
75
- mixins: [c],
75
+ mixins: [f],
76
76
  props: {
77
77
  range: Boolean,
78
78
  format: {
@@ -115,22 +115,22 @@ const b = Object.keys(o.props || o.default.props).filter(
115
115
  }
116
116
  }
117
117
  }, s = {};
118
- var h = /* @__PURE__ */ v(
118
+ var T = /* @__PURE__ */ v(
119
119
  x,
120
120
  y,
121
121
  g,
122
122
  !1,
123
- S,
123
+ h,
124
124
  null,
125
125
  null,
126
126
  null
127
127
  );
128
- function S(e) {
128
+ function h(e) {
129
129
  for (let t in s)
130
130
  this[t] = s[t];
131
131
  }
132
132
  const R = /* @__PURE__ */ function() {
133
- return h.exports;
133
+ return T.exports;
134
134
  }();
135
135
  export {
136
136
  R as default
@@ -1,38 +1,36 @@
1
1
  var M = Object.defineProperty;
2
2
  var q = Object.getOwnPropertySymbols;
3
3
  var P = Object.prototype.hasOwnProperty, T = Object.prototype.propertyIsEnumerable;
4
- var x = (e, r, t) => r in e ? M(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, _ = (e, r) => {
4
+ var F = (e, r, t) => r in e ? M(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, _ = (e, r) => {
5
5
  for (var t in r || (r = {}))
6
- P.call(r, t) && x(e, t, r[t]);
6
+ P.call(r, t) && F(e, t, r[t]);
7
7
  if (q)
8
8
  for (var t of q(r))
9
- T.call(r, t) && x(e, t, r[t]);
9
+ T.call(r, t) && F(e, t, r[t]);
10
10
  return e;
11
11
  };
12
12
  var h = (e, r, t) => new Promise((i, f) => {
13
- var s = (o) => {
13
+ var s = (l) => {
14
14
  try {
15
- n(t.next(o));
16
- } catch (a) {
17
- f(a);
15
+ a(t.next(l));
16
+ } catch (n) {
17
+ f(n);
18
18
  }
19
- }, l = (o) => {
19
+ }, o = (l) => {
20
20
  try {
21
- n(t.throw(o));
22
- } catch (a) {
23
- f(a);
21
+ a(t.throw(l));
22
+ } catch (n) {
23
+ f(n);
24
24
  }
25
- }, n = (o) => o.done ? i(o.value) : Promise.resolve(o.value).then(s, l);
26
- n((t = t.apply(e, r)).next());
25
+ }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(s, o);
26
+ a((t = t.apply(e, r)).next());
27
27
  });
28
- import V from "element-ui/lib/col";
29
- import z from "element-ui/lib/form-item";
30
- import { f as B } from "../chunks/form-item-mixin.57cb2019.mjs";
28
+ import { f as V } from "../chunks/form-item-mixin.ad148e7b.mjs";
31
29
  import { hasOwn as w } from "@web-utils/core";
32
- import { n as N } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
33
- const O = {
30
+ import { n as z } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
31
+ const B = {
34
32
  name: "FormItem",
35
- mixins: [B],
33
+ mixins: [V],
36
34
  inject: {
37
35
  formHolder: {
38
36
  default: ""
@@ -52,39 +50,39 @@ const O = {
52
50
  },
53
51
  methods: {
54
52
  renderFormItem() {
55
- var g, v, b;
53
+ var v, b, g;
56
54
  const e = this.$createElement, {
57
55
  label: r,
58
56
  labelWidth: t,
59
57
  prop: i,
60
58
  rules: f,
61
59
  $scopedSlots: s,
62
- elFormItemProps: l,
63
- elForm: n,
64
- formHolder: o,
65
- formItemClass: a,
60
+ elFormItemProps: o,
61
+ elForm: a,
62
+ formHolder: l,
63
+ formItemClass: n,
66
64
  required: u,
67
65
  block: k,
68
66
  half: y,
69
67
  wrapCol: $,
70
68
  wrapFormItem: R,
71
- disabled: W,
72
- formItemConfig: p,
73
- getRequireRule: j
69
+ disabled: E,
70
+ formItemConfig: d,
71
+ getRequireRule: W
74
72
  } = this;
75
- let m = f, d = u, c = u, I = k, C = $;
76
- p && (w(p, "block") && (I = p.block), w(p, "wrapCol") && (C = p.wrapCol));
77
- const E = I && y && C ? `calc( 50% - ${this.gutter / 2}px)` : "";
78
- return W || n != null && n.disabled ? (m = [], o && !o.required && !((g = o.requiredFields) != null && g.includes(i)) && (c = !1)) : (o && !o.required && !((v = o.requiredFields) != null && v.includes(i)) && (d = !1), d && !(m != null && m.length) && i ? m = [j()] : d || (c = !1, m && (m = m.filter((H) => !H.required)))), R ? (
73
+ let m = f, c = u, p = u, I = k, C = $;
74
+ d && (w(d, "block") && (I = d.block), w(d, "wrapCol") && (C = d.wrapCol));
75
+ const j = I && y && C ? `calc( 50% - ${this.gutter / 2}px)` : "";
76
+ return E || a != null && a.disabled ? (m = [], l && !l.required && !((v = l.requiredFields) != null && v.includes(i)) && (p = !1)) : (l && !l.required && !((b = l.requiredFields) != null && b.includes(i)) && (c = !1), c && !(m != null && m.length) && i ? m = [W()] : c || (p = !1, m && (m = m.filter((H) => !H.required)))), R ? (
79
77
  // eslint-disable-next-line no-undef
80
- e(z, {
78
+ e("ElFormItem", {
81
79
  style: {
82
- width: E
80
+ width: j
83
81
  },
84
- key: `${i}-${d}`,
85
- class: c ? `form-item required ${a || ""}` : `${a || ""}`,
82
+ key: `${i}-${c}`,
83
+ class: p ? `form-item required ${n || ""}` : `${n || ""}`,
86
84
  scopedSlots: s,
87
- props: _({}, l),
85
+ props: _({}, o),
88
86
  attrs: {
89
87
  label: r,
90
88
  "label-width": t,
@@ -93,7 +91,7 @@ const O = {
93
91
  },
94
92
  ref: "formItem"
95
93
  })
96
- ) : e("div", [(b = s.default) == null ? void 0 : b.call(s)]);
94
+ ) : e("div", [(g = s.default) == null ? void 0 : g.call(s)]);
97
95
  },
98
96
  clearValidate() {
99
97
  return h(this, null, function* () {
@@ -109,47 +107,47 @@ const O = {
109
107
  }
110
108
  },
111
109
  render() {
112
- var a, u;
110
+ var n, u;
113
111
  const e = arguments[0], {
114
112
  computeSpan: r,
115
113
  wrapCol: t,
116
114
  formItemConfig: i,
117
115
  renderFormItem: f,
118
116
  elColProps: s,
119
- $scopedSlots: l,
120
- unwrap: n
117
+ $scopedSlots: o,
118
+ unwrap: a
121
119
  } = this;
122
- let o = t;
123
- return i && w(i, "wrapCol") && (o = i.wrapCol), n ? e("div", [(a = l.default) == null ? void 0 : a.call(l)]) : o ? (
120
+ let l = t;
121
+ return i && w(i, "wrapCol") && (l = i.wrapCol), a ? e("div", [(n = o.default) == null ? void 0 : n.call(o)]) : l ? (
124
122
  // eslint-disable-next-line no-undef
125
- e(V, {
123
+ e("ElCol", {
126
124
  props: _({}, s),
127
125
  attrs: {
128
126
  span: r
129
127
  }
130
- }, [f(), (u = l == null ? void 0 : l.below) == null ? void 0 : u.call(l)])
128
+ }, [f(), (u = o == null ? void 0 : o.below) == null ? void 0 : u.call(o)])
131
129
  ) : f();
132
130
  }
133
131
  };
134
- let A, D;
135
- const F = {};
136
- var G = /* @__PURE__ */ N(
132
+ let N, O;
133
+ const x = {};
134
+ var A = /* @__PURE__ */ z(
135
+ B,
136
+ N,
137
137
  O,
138
- A,
139
- D,
140
138
  !1,
141
- J,
139
+ D,
142
140
  null,
143
141
  null,
144
142
  null
145
143
  );
146
- function J(e) {
147
- for (let r in F)
148
- this[r] = F[r];
144
+ function D(e) {
145
+ for (let r in x)
146
+ this[r] = x[r];
149
147
  }
150
- const Z = /* @__PURE__ */ function() {
151
- return G.exports;
148
+ const Q = /* @__PURE__ */ function() {
149
+ return A.exports;
152
150
  }();
153
151
  export {
154
- Z as default
152
+ Q as default
155
153
  };
@@ -1,8 +1,6 @@
1
- import m from "element-ui/lib/transitions/collapse-transition";
2
- import u from "element-ui/lib/row";
3
- import { isFunction as p } from "@web-utils/core";
4
- import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
5
- const s = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], f = ["$emit", "validate", "clearValidate"], h = {
1
+ import { isFunction as m } from "@web-utils/core";
2
+ import { n as u } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
+ const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], c = ["$emit", "validate", "clearValidate"], p = {
6
4
  name: "FormItemGroup",
7
5
  inject: {
8
6
  elForm: {
@@ -34,7 +32,7 @@ const s = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
34
32
  },
35
33
  data() {
36
34
  const e = {};
37
- return s.forEach((t) => {
35
+ return r.forEach((t) => {
38
36
  e[t] = null;
39
37
  }), {
40
38
  expand: !0,
@@ -47,7 +45,7 @@ const s = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
47
45
  enabled: this.enabled,
48
46
  forbidden: this.disabled
49
47
  };
50
- return s.forEach((t) => {
48
+ return r.forEach((t) => {
51
49
  e[t] = this.elForm[t];
52
50
  }), e;
53
51
  }
@@ -62,9 +60,9 @@ const s = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
62
60
  formCfg: {
63
61
  immediate: !0,
64
62
  handler() {
65
- this.formConfig.disabled = this.isDisabled(), s.forEach((e) => {
63
+ this.formConfig.disabled = this.isDisabled(), r.forEach((e) => {
66
64
  var t;
67
- e !== "disabled" && (f.includes(e) ? this.formConfig[e] = (t = this.elForm[e]) == null ? void 0 : t.bind(this.elForm) : this.formConfig[e] = this.elForm[e]);
65
+ e !== "disabled" && (c.includes(e) ? this.formConfig[e] = (t = this.elForm[e]) == null ? void 0 : t.bind(this.elForm) : this.formConfig[e] = this.elForm[e]);
68
66
  });
69
67
  }
70
68
  }
@@ -79,24 +77,24 @@ const s = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
79
77
  isDisabled() {
80
78
  return this.disabled ? this.disabled : this.enabled ? !this.enabled : this.elForm.disabled;
81
79
  },
82
- dispatch(e, t, r) {
80
+ dispatch(e, t, s) {
83
81
  let i = this.$parent || this.$root, o = i.$options.name;
84
82
  for (; i && (!o || o !== e); )
85
83
  i = i.$parent, i && (o = i.$options.name);
86
- i && i.$emit.apply(i, [t].concat(r));
84
+ i && i.$emit.apply(i, [t].concat(s));
87
85
  },
88
86
  renderDefault() {
89
87
  const e = this.$createElement, {
90
88
  wrapRow: t,
91
- gutter: r,
89
+ gutter: s,
92
90
  formConfig: i,
93
91
  $scopedSlots: o
94
92
  } = this;
95
- return p(o.default) ? t ? (
93
+ return m(o.default) ? t ? (
96
94
  // eslint-disable-next-line no-undef
97
- e(u, {
95
+ e("ElRow", {
98
96
  attrs: {
99
- gutter: r
97
+ gutter: s
100
98
  },
101
99
  class: "form-item-group-row"
102
100
  }, [o.default({
@@ -121,11 +119,11 @@ const s = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
121
119
  render() {
122
120
  const e = arguments[0], {
123
121
  renderDefault: t,
124
- blockTitle: r,
122
+ blockTitle: s,
125
123
  active: i,
126
124
  expand: o,
127
- toggle: l,
128
- $scopedSlots: n,
125
+ toggle: n,
126
+ $scopedSlots: a,
129
127
  isDisabled: d
130
128
  } = this;
131
129
  return e("div", {
@@ -136,13 +134,13 @@ const s = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
136
134
  }, [e("div", {
137
135
  class: "form-item-group-title",
138
136
  on: {
139
- click: l
137
+ click: n
140
138
  }
141
139
  }, [e("span", {
142
140
  class: "flex-item"
143
- }, [r, n["title-right"] ? n["title-right"]() : null]), " ", e("i", {
141
+ }, [s, a["title-right"] ? a["title-right"]() : null]), " ", e("i", {
144
142
  class: o ? "el-icon-arrow-down" : "el-icon-arrow-right"
145
- })]), e(m, [e("div", {
143
+ })]), e("ElCollapseTransition", [e("div", {
146
144
  directives: [{
147
145
  name: "show",
148
146
  value: o
@@ -150,25 +148,25 @@ const s = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
150
148
  }, [t()])])]);
151
149
  }
152
150
  };
153
- let _, b;
154
- const a = {};
155
- var g = /* @__PURE__ */ c(
151
+ let f, h;
152
+ const l = {};
153
+ var b = /* @__PURE__ */ u(
154
+ p,
155
+ f,
156
156
  h,
157
- _,
158
- b,
159
157
  !1,
160
- v,
158
+ g,
161
159
  null,
162
160
  null,
163
161
  null
164
162
  );
165
- function v(e) {
166
- for (let t in a)
167
- this[t] = a[t];
163
+ function g(e) {
164
+ for (let t in l)
165
+ this[t] = l[t];
168
166
  }
169
- const C = /* @__PURE__ */ function() {
170
- return g.exports;
167
+ const w = /* @__PURE__ */ function() {
168
+ return b.exports;
171
169
  }();
172
170
  export {
173
- C as default
171
+ w as default
174
172
  };