@web-utils/component 3.8.3 → 4.0.1

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 (211) hide show
  1. package/awesome-button/index.mjs +25 -55
  2. package/base.css +1 -1
  3. package/card/index.mjs +13 -13
  4. package/card/style.css +1 -1
  5. package/carousel/style.css +1 -1
  6. package/chat/index.mjs +2 -2
  7. package/chat/style.css +1 -1
  8. package/chunks/{ElementForm.8w6UkiuU.mjs → ElementForm.CQ3PN5qj.mjs} +17 -35
  9. package/chunks/{ElementListeners.DOy8wyD2.mjs → ElementListeners.De_PRuIm.mjs} +56 -95
  10. package/chunks/{ElementMultiInstance.3Z28ewuh.mjs → ElementMultiInstance.DQo2wuAQ.mjs} +16 -26
  11. package/chunks/{ElementProperties.B2I48muA.mjs → ElementProperties.CosfDrlW.mjs} +16 -16
  12. package/chunks/{ElementTaskConfig.MBbkLrth.mjs → ElementTaskConfig.Bko0kgTp.mjs} +104 -113
  13. package/chunks/{FlowCondition.BfU9kw6h.mjs → FlowCondition.Y6qEYi1T.mjs} +36 -66
  14. package/chunks/{FormTemp.BSpnNput.mjs → FormTemp.Bu2VCxUh.mjs} +2 -2
  15. package/chunks/{SignalAndMessage.CH6L7cYu.mjs → SignalAndMessage.Bb5PFX0N.mjs} +11 -22
  16. package/chunks/{UserTaskListeners.XXe5dC5I.mjs → UserTaskListeners.Bv3BDfEI.mjs} +45 -86
  17. package/chunks/configComponents.BDhlZU8F.mjs +23 -0
  18. package/chunks/confirmable-mixin.D9aKzKZ9.mjs +85 -0
  19. package/chunks/core.DJEgjQW6.mjs +54 -0
  20. package/chunks/{dataformat.B9UvztrQ.mjs → dataformat.CpqOeGBl.mjs} +2 -2
  21. package/chunks/{dic.CET0XdKP.mjs → dic.Dkl-leRW.mjs} +43 -43
  22. package/chunks/dictionary.DqiP9x2m.mjs +25 -0
  23. package/chunks/{event.BT1F_1vF.mjs → event.9aDS6jcw.mjs} +2 -2
  24. package/chunks/form-input.B8z37eqj.mjs +31 -0
  25. package/chunks/form-item.D-H-wCPE.mjs +233 -0
  26. package/chunks/form-validate.CVarNHKX.mjs +12 -0
  27. package/chunks/helper.BiMLcEEk.mjs +41 -0
  28. package/chunks/index.9OxHjTIE.mjs +16 -0
  29. package/chunks/{index.MAFc4eFi.mjs → index.d3MV3Wq2.mjs} +43 -47
  30. package/chunks/{init.ofpxEyAI.mjs → init.DAsXSoLW.mjs} +2 -2
  31. package/chunks/{packages.CWPkeLu9.mjs → packages.ByyangTp.mjs} +3 -3
  32. package/chunks/sub-table-plus-props.BVsD71hT.mjs +30 -0
  33. package/chunks/{tab-mixin.CVr9bZtn.mjs → tab-mixin.BNK6dxLN.mjs} +1 -1
  34. package/chunks/{util.CoahLDYn.mjs → util.DqFv_pWg.mjs} +54 -55
  35. package/chunks/utilSelf.Csq1766E.mjs +48 -0
  36. package/color-picker/index.mjs +19 -37
  37. package/comment/style.css +1 -1
  38. package/confirm-button/index.mjs +1 -1
  39. package/confirmable/index.mjs +1 -1
  40. package/context-menu/style.css +1 -1
  41. package/count-up/index.mjs +13 -24
  42. package/custom-scrollbar/index.mjs +1 -2
  43. package/data-operatext/style.css +1 -1
  44. package/data-panel/style.css +1 -1
  45. package/data-pay/style.css +1 -1
  46. package/data-price/style.css +1 -1
  47. package/data-rotate/style.css +1 -1
  48. package/data-table-picker/index.mjs +1 -1
  49. package/data-tabs/style.css +1 -1
  50. package/dialog-form/index.mjs +16 -28
  51. package/dynamic-table/style.css +1 -1
  52. package/easy-popup/index.mjs +22 -40
  53. package/easy-popup/style.css +1 -1
  54. package/editable-tree/index.mjs +203 -250
  55. package/editable-tree/style.css +1 -1
  56. package/element-dialog/index.mjs +30 -52
  57. package/element-dialog/style.css +1 -1
  58. package/flex-column/index.mjs +13 -25
  59. package/flex-item/index.mjs +15 -27
  60. package/flex-row/index.mjs +13 -25
  61. package/flow/index.mjs +30 -32
  62. package/flow-designer/index.mjs +344 -375
  63. package/flow-designer/style.css +1 -1
  64. package/flow-node/index.mjs +1 -1
  65. package/flow-viewer/index.mjs +64 -91
  66. package/form-block/index.mjs +33 -26
  67. package/form-card/index.mjs +25 -0
  68. package/form-cascader/index.mjs +70 -67
  69. package/form-checkbox/index.mjs +71 -0
  70. package/form-checkbox-group/index.mjs +33 -53
  71. package/form-date-picker/index.mjs +44 -73
  72. package/form-holder/index.mjs +60 -64
  73. package/form-holder/style.css +1 -0
  74. package/form-input/index.mjs +62 -40
  75. package/form-input-cron-expression/index.mjs +77 -0
  76. package/form-input-cron-expression/style.css +1 -0
  77. package/form-input-email/index.mjs +21 -33
  78. package/form-input-id-card/index.mjs +25 -38
  79. package/form-input-number/index.mjs +39 -42
  80. package/form-input-number/style.css +1 -1
  81. package/form-input-phone-number/index.mjs +26 -37
  82. package/form-input-tag/index.mjs +32 -34
  83. package/form-input-time/index.mjs +22 -37
  84. package/form-item/index.mjs +109 -101
  85. package/form-item/style.css +1 -1
  86. package/form-item-config-provider/index.mjs +18 -10
  87. package/form-item-group/index.mjs +73 -69
  88. package/form-item-group/style.css +1 -1
  89. package/form-radio-group/index.mjs +41 -36
  90. package/form-radio-group/style.css +1 -1
  91. package/form-select/index.mjs +142 -75
  92. package/form-select/style.css +1 -0
  93. package/form-switch/index.mjs +29 -34
  94. package/form-table/index.mjs +85 -0
  95. package/form-table-plus/index.mjs +109 -0
  96. package/form-textarea/index.mjs +23 -35
  97. package/form-tree-select/index.mjs +72 -0
  98. package/form-tree-select/style.css +1 -0
  99. package/form-tree-select-multiple/index.mjs +78 -0
  100. package/form-view/index.mjs +43 -77
  101. package/form-view/style.css +1 -1
  102. package/fy-array/index.mjs +2 -2
  103. package/fy-cascader/index.mjs +1 -1
  104. package/fy-checkbox/index.mjs +1 -1
  105. package/fy-code/index.mjs +1 -1
  106. package/fy-curd/index.mjs +12 -17
  107. package/fy-curd/style.css +1 -1
  108. package/fy-date/index.mjs +1 -1
  109. package/fy-draggable/index.mjs +5 -7
  110. package/fy-draggable/style.css +1 -1
  111. package/fy-dynamic/index.mjs +14 -16
  112. package/fy-empty/index.mjs +1 -1
  113. package/fy-empty/style.css +1 -1
  114. package/fy-form/index.mjs +117 -136
  115. package/fy-form/style.css +1 -1
  116. package/fy-form-design/index.mjs +319 -345
  117. package/fy-form-design/style.css +1 -1
  118. package/fy-input/index.mjs +2 -2
  119. package/fy-input-color/index.mjs +1 -1
  120. package/fy-input-icon/index.mjs +1 -1
  121. package/fy-input-map/index.mjs +21 -26
  122. package/fy-input-map/style.css +1 -1
  123. package/fy-input-number/index.mjs +1 -1
  124. package/fy-input-table/index.mjs +10 -12
  125. package/fy-input-tree/index.mjs +1 -1
  126. package/fy-radio/index.mjs +1 -1
  127. package/fy-rate/index.mjs +1 -1
  128. package/fy-select/index.mjs +4 -4
  129. package/fy-slider/index.mjs +2 -2
  130. package/fy-switch/index.mjs +1 -1
  131. package/fy-tabs/index.mjs +0 -1
  132. package/fy-time/index.mjs +1 -1
  133. package/fy-title/index.mjs +1 -1
  134. package/fy-tree/index.mjs +1 -1
  135. package/fy-u-editor/index.mjs +77 -103
  136. package/fy-upload/index.mjs +3 -3
  137. package/fy-upload/style.css +1 -1
  138. package/highlight-j-s/index.mjs +1 -1
  139. package/highlight-j-s/style.css +1 -1
  140. package/image-cropper/index.mjs +14 -65
  141. package/image-preview/index.mjs +17 -45
  142. package/image-preview/style.css +1 -1
  143. package/image-viewer/style.css +1 -1
  144. package/index.mjs +666 -496
  145. package/input-number/index.mjs +64 -9
  146. package/keyboard/style.css +1 -1
  147. package/license/index.mjs +1 -1
  148. package/login/index.mjs +1 -1
  149. package/monaco-editor/index.mjs +44 -74
  150. package/name-avatar/style.css +1 -1
  151. package/package.json +18 -17
  152. package/page-index/index.mjs +30 -54
  153. package/page-index-top/index.mjs +25 -47
  154. package/pageable-table/index.mjs +354 -226
  155. package/pageable-table/style.css +1 -1
  156. package/pageable-view/index.mjs +63 -106
  157. package/photo-swipe/index.mjs +51 -74
  158. package/picker-table-view/index.mjs +117 -0
  159. package/present-view/index.mjs +43 -77
  160. package/present-view/style.css +1 -1
  161. package/record-video/index.mjs +1 -1
  162. package/resize-observer/index.mjs +1 -1
  163. package/resize-observer/style.css +1 -1
  164. package/search/index.mjs +2 -2
  165. package/search/style.css +1 -1
  166. package/search-popover/index.mjs +28 -48
  167. package/search-popover/style.css +1 -1
  168. package/sign/index.mjs +2 -2
  169. package/sign-panel/style.css +1 -1
  170. package/skeleton-panel/index.mjs +38 -0
  171. package/skeleton-panel/style.css +1 -0
  172. package/split-pane/index.mjs +31 -49
  173. package/split-pane/style.css +1 -1
  174. package/sub-table/index.mjs +206 -0
  175. package/sub-table/style.css +1 -0
  176. package/sub-table-plus/index.mjs +231 -0
  177. package/sub-table-plus/style.css +1 -0
  178. package/swiper/index.mjs +18 -38
  179. package/swiper/style.css +1 -1
  180. package/tab/index.mjs +1 -1
  181. package/tab/style.css +1 -1
  182. package/tab-item/index.mjs +2 -2
  183. package/table-column/index.mjs +112 -37
  184. package/table-column/style.css +1 -0
  185. package/table-view/index.mjs +178 -135
  186. package/table-view/style.css +1 -1
  187. package/tabs-view/index.mjs +104 -0
  188. package/tabs-view/style.css +1 -0
  189. package/tag-render/index.mjs +13 -24
  190. package/text-ellipsis/index.mjs +1 -1
  191. package/toolbar/index.mjs +115 -58
  192. package/toolbar/style.css +1 -1
  193. package/toolbar-button/index.mjs +92 -48
  194. package/verify/index.mjs +1 -1
  195. package/vue-cron/index.mjs +48 -66
  196. package/vue-qr-code/index.mjs +14 -32
  197. package/vue-quill-editor/index.mjs +3 -3
  198. package/vue-tags-input/index.mjs +1 -1
  199. package/vue-tree-select/index.mjs +352 -393
  200. package/vue-tree-select/style.css +1 -1
  201. package/vue-video-player/index.mjs +36 -67
  202. package/watermark/index.mjs +21 -31
  203. package/web-types.json +9240 -3843
  204. package/x-input-tag/index.mjs +29 -61
  205. package/chunks/confirmable-mixin.D4LAArE5.mjs +0 -114
  206. package/chunks/form-input-mixin.BkKiqJhi.mjs +0 -24
  207. package/chunks/form-item-mixin.CG4ZwzMC.mjs +0 -140
  208. package/chunks/input-number-mixin.CzjtGf2n.mjs +0 -60
  209. package/chunks/utilSelf.CRqpl0Cz.mjs +0 -56
  210. package/toolbar-button/style.css +0 -1
  211. /package/chunks/{form-pick-mixin.BFTIVn_i.mjs → form-pick.BFTIVn_i.mjs} +0 -0
package/fy-form/index.mjs CHANGED
@@ -1,108 +1,92 @@
1
- var D = (i, e, r) => new Promise((s, p) => {
2
- var t = (o) => {
3
- try {
4
- a(r.next(o));
5
- } catch (d) {
6
- p(d);
7
- }
8
- }, l = (o) => {
9
- try {
10
- a(r.throw(o));
11
- } catch (d) {
12
- p(d);
13
- }
14
- }, a = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(t, l);
15
- a((r = r.apply(i, e)).next());
16
- });
17
- import { F as P, d as z } from "../chunks/FormTemp.BSpnNput.mjs";
18
- import { i as B } from "../chunks/init.ofpxEyAI.mjs";
19
- import { u as j, d as x, s as v, j as S, x as I, o as L, D as V, y as M, p as A } from "../chunks/util.CoahLDYn.mjs";
20
- import { a as W, b as R, f as G, d as H, c as U } from "../chunks/dataformat.B9UvztrQ.mjs";
21
- import { s as q } from "../chunks/dic.CET0XdKP.mjs";
22
- import { p as K } from "../chunks/packages.CWPkeLu9.mjs";
1
+ import { F as N, d as P } from "../chunks/FormTemp.Bu2VCxUh.mjs";
2
+ import { i as z } from "../chunks/init.DAsXSoLW.mjs";
3
+ import { u as B, d as D, s as v, j as S, x as j, o as I, D as L, y as V, p as M } from "../chunks/util.DqFv_pWg.mjs";
4
+ import { a as A, b as W, f as R, d as G, c as H } from "../chunks/dataformat.CpqOeGBl.mjs";
5
+ import { s as U } from "../chunks/dic.Dkl-leRW.mjs";
6
+ import { p as K } from "../chunks/packages.ByyangTp.mjs";
23
7
  import { isBlank as u } from "@web-utils/core";
24
8
  import { n as $ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
25
- const J = (i, e, r, s) => {
9
+ const q = (i, e, r, s) => {
26
10
  if (!s) return;
27
11
  if (!window.Mock) {
28
12
  K.logs("mock");
29
13
  return;
30
14
  }
31
- const t = (window.Mock || {}).Random, l = {};
32
- function a({ en: c }) {
15
+ const t = (window.Mock || {}).Random, n = {};
16
+ function o({ en: c }) {
33
17
  return c ? t.name(!0) : t.cname();
34
18
  }
35
- function o({ max: c, min: n, precision: f }) {
19
+ function l({ max: c, min: a, precision: f }) {
36
20
  if (f) {
37
- const h = `${t.float(n, c, f)}`, m = h.indexOf(".") + 1;
21
+ const h = `${t.float(a, c, f)}`, m = h.indexOf(".") + 1;
38
22
  return Number(h.substring(0, m + f));
39
23
  } else
40
- return t.integer(n, c);
24
+ return t.integer(a, c);
41
25
  }
42
26
  function d({ header: c }) {
43
- let n = t.url();
44
- const f = n.indexOf("://");
45
- return c === !1 ? n = n.substring(f + 3) : n = `http://${n.substring(f + 3)}`, n;
27
+ let a = t.url();
28
+ const f = a.indexOf("://");
29
+ return c === !1 ? a = a.substring(f + 3) : a = `http://${a.substring(f + 3)}`, a;
46
30
  }
47
- function F({ format: c, now: n }) {
48
- return n ? t.now(c) : t.datetime(c);
31
+ function x({ format: c, now: a }) {
32
+ return a ? t.now(c) : t.datetime(c);
49
33
  }
50
- function C({ min: c, max: n }) {
51
- return t.csentence(c, n);
34
+ function F({ min: c, max: a }) {
35
+ return t.csentence(c, a);
52
36
  }
53
- function E() {
37
+ function C() {
54
38
  return t.county(!0);
55
39
  }
56
- function w({ dic: c, props: n, columnType: f, multiple: h }) {
57
- const m = n.value || "value", b = c.length;
40
+ function E({ dic: c, props: a, columnType: f, multiple: h }) {
41
+ const m = a.value || "value", b = c.length;
58
42
  if (["checkbox"].includes(f) || h) {
59
- const _ = o({ min: 1, max: b }), y = [];
43
+ const _ = l({ min: 1, max: b }), y = [];
60
44
  for (let g = 0; g < _; g++) {
61
45
  let O = !0;
62
46
  for (; O; ) {
63
- const N = o({ min: 0, max: b - 1 }), k = c[N][m];
47
+ const T = l({ min: 0, max: b - 1 }), k = c[T][m];
64
48
  y.includes(k) || (y.push(k), O = !1);
65
49
  }
66
50
  }
67
51
  return y;
68
52
  } else {
69
- const _ = o({ min: 0, max: b - 1 });
53
+ const _ = l({ min: 0, max: b - 1 });
70
54
  return c[_][m];
71
55
  }
72
56
  }
73
- function T() {
57
+ function w() {
74
58
  Object.keys(i).forEach((c) => {
75
- const n = i[c];
76
- if (n.mock && typeof n.mock == "object") {
77
- const f = n.mock;
78
- switch (f.dic = typeof n.dicData == "string" ? e[n.dicData] : n.dicData || [], f.props = n.props || {}, f.columnType = n.type, f.multiple = n.multiple, f.type) {
59
+ const a = i[c];
60
+ if (a.mock && typeof a.mock == "object") {
61
+ const f = a.mock;
62
+ switch (f.dic = typeof a.dicData == "string" ? e[a.dicData] : a.dicData || [], f.props = a.props || {}, f.columnType = a.type, f.multiple = a.multiple, f.type) {
79
63
  case "name":
80
- l[n.prop] = a(f);
64
+ n[a.prop] = o(f);
81
65
  break;
82
66
  case "number":
83
- l[n.prop] = o(f);
67
+ n[a.prop] = l(f);
84
68
  break;
85
69
  case "datetime":
86
- l[n.prop] = F(f);
70
+ n[a.prop] = x(f);
87
71
  break;
88
72
  case "word":
89
- l[n.prop] = C(f);
73
+ n[a.prop] = F(f);
90
74
  break;
91
75
  case "url":
92
- l[n.prop] = d(f);
76
+ n[a.prop] = d(f);
93
77
  break;
94
78
  case "county":
95
- l[n.prop] = E();
79
+ n[a.prop] = C();
96
80
  break;
97
81
  case "dic":
98
- l[n.prop] = w(f);
82
+ n[a.prop] = E(f);
99
83
  break;
100
84
  }
101
- } else n.mock instanceof Function && (l[n.prop] = n.mock(r));
85
+ } else a.mock instanceof Function && (n[a.prop] = a.mock(r));
102
86
  });
103
87
  }
104
- return T(), l;
105
- }, Q = {
88
+ return w(), n;
89
+ }, J = {
106
90
  name: "FormGroup",
107
91
  props: {
108
92
  arrow: {
@@ -155,7 +139,7 @@ const J = (i, e, r, s) => {
155
139
  }
156
140
  }
157
141
  };
158
- var X = function() {
142
+ var Q = function() {
159
143
  var e = this, r = e._self._c;
160
144
  return e.display ? r("div", { class: ["avue-group", { "avue-group--header": !e.isHeader, "avue-group__arrow": !e.arrow }] }, [e._t("tabs"), r("ElCollapse", { attrs: { value: e.text }, on: { change: e.handleChange }, model: { value: e.activeName, callback: function(s) {
161
145
  e.activeName = s;
@@ -164,15 +148,15 @@ var X = function() {
164
148
  return [e.icon ? r("i", { class: [e.icon, "avue-group__icon"] }) : e._e(), e.label ? r("h1", { staticClass: "avue-group__title" }, [e._v(" " + e._s(e.label) + " ")]) : e._e()];
165
149
  })], 2)];
166
150
  }, proxy: !0 }], null, !0) }, [e._t("default")], 2)], 1)], 2) : e._e();
167
- }, Y = [], Z = /* @__PURE__ */ $(
151
+ }, X = [], Y = /* @__PURE__ */ $(
152
+ J,
168
153
  Q,
169
154
  X,
170
- Y,
171
155
  !1,
172
156
  null,
173
157
  null
174
158
  );
175
- const ee = Z.exports, te = {
159
+ const Z = Y.exports, ee = {
176
160
  name: "FyFormMenu",
177
161
  inject: ["formSafe"],
178
162
  computed: {
@@ -186,21 +170,21 @@ const ee = Z.exports, te = {
186
170
  }
187
171
  }
188
172
  };
189
- var ie = function() {
173
+ var te = function() {
190
174
  var e = this, r = e._self._c;
191
175
  return e.formSafe.parentOption.menuBtn !== !1 ? r("ElCol", { class: ["menu", e.formSafe.menuPosition, "no-print"], style: e.styleName, attrs: { span: e.menuSpan, md: e.menuSpan } }, [r("ElFormItem", { staticStyle: { "text-align": "center" }, attrs: { "label-width": "0px" } }, [e.formSafe.isMock ? r("ElButton", { attrs: { type: "primary", size: e.formSafe.controlSize, icon: "el-icon-edit-outline", disabled: e.formSafe.allDisabled }, on: { click: e.formSafe.handleMock } }, [e._v(" " + e._s(e.formSafe.parentOption.mockText || "模拟") + " ")]) : e._e(), e.formSafe.isPrint ? r("ElButton", { attrs: { type: "primary", size: e.formSafe.controlSize, icon: "el-icon-printer", disabled: e.formSafe.allDisabled }, on: { click: e.formSafe.handlePrint } }, [e._v(" " + e._s(e.formSafe.parentOption.printText || "打印") + " ")]) : e._e(), e.formSafe.parentOption.submitBtn !== !1 ? r("ElButton", { attrs: { type: "primary", size: e.formSafe.controlSize, icon: e.formSafe.parentOption.submitIcon || "el-icon-check", loading: e.formSafe.allDisabled }, on: { click: e.formSafe.submit } }, [e._v(" " + e._s(e.formSafe.parentOption.submitText || "提交") + " ")]) : e._e(), e.formSafe.parentOption.emptyBtn !== !1 ? r("ElButton", { attrs: { icon: e.formSafe.parentOption.emptyIcon || "el-icon-delete", size: e.formSafe.controlSize, disabled: e.formSafe.allDisabled }, on: { click: e.formSafe.resetForm } }, [e._v(" " + e._s(e.formSafe.parentOption.emptyText || "清空") + " ")]) : e._e(), e._t("menuForm", null, { disabled: e.formSafe.allDisabled, size: e.formSafe.controlSize })], 2)], 1) : e._e();
192
- }, re = [], se = /* @__PURE__ */ $(
176
+ }, ie = [], re = /* @__PURE__ */ $(
177
+ ee,
193
178
  te,
194
179
  ie,
195
- re,
196
180
  !1,
197
181
  null,
198
182
  null
199
183
  );
200
- const ae = se.exports, oe = {
184
+ const se = re.exports, ae = {
201
185
  name: "FyForm",
202
- components: { FormTemp: P, FyFormMenu: ae, FormGroup: ee },
203
- mixins: [B],
186
+ components: { FormTemp: N, FyFormMenu: se, FormGroup: Z },
187
+ mixins: [z],
204
188
  provide() {
205
189
  return {
206
190
  formSafe: this
@@ -223,7 +207,6 @@ const ae = se.exports, oe = {
223
207
  },
224
208
  value: {
225
209
  type: Object,
226
- required: !0,
227
210
  default: () => ({})
228
211
  }
229
212
  },
@@ -303,7 +286,7 @@ const ae = se.exports, oe = {
303
286
  return this.tableOption || {};
304
287
  },
305
288
  columnOption() {
306
- const i = this.tableOption.column || [], e = x(this.tableOption.group) || [], r = this.tableOption.footer || [];
289
+ const i = this.tableOption.column || [], e = D(this.tableOption.group) || [], r = this.tableOption.footer || [];
307
290
  return e.unshift({
308
291
  header: !1,
309
292
  column: i
@@ -312,14 +295,14 @@ const ae = se.exports, oe = {
312
295
  column: r
313
296
  }), e.forEach((s) => {
314
297
  s.column = s.column || [], s.column.forEach((p, t) => {
315
- p.display !== !1 && !this.isMobile && (p = H(p, this.itemSpanDefault, t === 0));
316
- }), s.column = U(s.column), s.column = s.column.sort((p, t) => (t.order || 0) - (p.order || 0));
298
+ p.display !== !1 && !this.isMobile && (p = G(p, this.itemSpanDefault, t === 0));
299
+ }), s.column = H(s.column), s.column = s.column.sort((p, t) => (t.order || 0) - (p.order || 0));
317
300
  }), e;
318
301
  },
319
- menuPosition: function() {
302
+ menuPosition() {
320
303
  return this.parentOption.menuPosition ? this.parentOption.menuPosition : "center";
321
304
  },
322
- boxType: function() {
305
+ boxType() {
323
306
  return this.parentOption.boxType;
324
307
  },
325
308
  isPrint() {
@@ -380,10 +363,10 @@ const ae = se.exports, oe = {
380
363
  },
381
364
  methods: {
382
365
  setPx: v,
383
- deepClone: x,
384
- getComponent: R,
385
- getPlaceholder: W,
386
- uploadFun: j,
366
+ deepClone: D,
367
+ getComponent: W,
368
+ getPlaceholder: A,
369
+ uploadFun: B,
387
370
  getDisabled(i) {
388
371
  return this.vaildDetail(i) || this.isDetail || this.vaildDisabled(i) || this.allDisabled;
389
372
  },
@@ -395,7 +378,7 @@ const ae = se.exports, oe = {
395
378
  },
396
379
  // 初始化表单
397
380
  dataFormat() {
398
- const i = G(this.propOption).tableForm, e = this.value, r = {};
381
+ const i = R(this.propOption).tableForm, e = this.value, r = {};
399
382
  Object.entries(Object.assign(i, e)).forEach((s) => {
400
383
  const p = s[0], t = s[1];
401
384
  u(e[p]) ? r[p] = t : r[p] = e[p];
@@ -409,24 +392,24 @@ const ae = se.exports, oe = {
409
392
  if (!this.formBind[e]) {
410
393
  const p = [];
411
394
  if (r) {
412
- const t = this.$watch(`form.${e}`, (a, o) => {
413
- a !== o && M(this.form, r, a);
414
- }), l = this.$watch(`form.${r}`, (a, o) => {
415
- a !== o && this.$set(this.form, e, a);
395
+ const t = this.$watch(`form.${e}`, (o, l) => {
396
+ o !== l && V(this.form, r, o);
397
+ }), n = this.$watch(`form.${r}`, (o, l) => {
398
+ o !== l && this.$set(this.form, e, o);
416
399
  });
417
- p.push(t), p.push(l), this.$set(this.form, e, A(this.form, r));
400
+ p.push(t), p.push(n), this.$set(this.form, e, M(this.form, r));
418
401
  }
419
402
  if (s) {
420
403
  const t = () => {
421
- const a = s(this.form[i.prop], this.form) || {};
422
- Object.keys(a).forEach((o) => {
423
- const d = Object.assign(this.objectOption[o] || {}, a[o]);
424
- this.$set(this.objectOption, o, d), a[o].dicData && (this.DIC[o] = a[o].dicData);
404
+ const o = s(this.form[i.prop], this.form) || {};
405
+ Object.keys(o).forEach((l) => {
406
+ const d = Object.assign(this.objectOption[l] || {}, o[l]);
407
+ this.$set(this.objectOption, l, d), o[l].dicData && (this.DIC[l] = o[l].dicData);
425
408
  });
426
- }, l = this.$watch(`form.${e}`, () => {
409
+ }, n = this.$watch(`form.${e}`, () => {
427
410
  t();
428
411
  });
429
- p.push(l), t();
412
+ p.push(n), t();
430
413
  }
431
414
  this.formBind[e] = p;
432
415
  }
@@ -444,7 +427,7 @@ const ae = se.exports, oe = {
444
427
  this.tableOption.filterNull === !0 && (this.form = S(this.form, [""], !1)), this.tableOption.filterDic === !0 ? this.form = S(this.form, ["$"], !1) : this.propOption.forEach((i) => {
445
428
  const e = this.DIC[i.prop];
446
429
  if (u(e)) return;
447
- const r = z(this.form, i, this.tableOption, e);
430
+ const r = P(this.form, i, this.tableOption, e);
448
431
  r ? this.$set(this.form, `$${i.prop}`, r) : this.$delete(this.form, `$${i.prop}`);
449
432
  });
450
433
  },
@@ -472,17 +455,17 @@ const ae = se.exports, oe = {
472
455
  this.$nextTick(() => {
473
456
  const r = e.cascader, s = r.join(",");
474
457
  r.forEach((p) => {
475
- const t = p, l = this.form[e.prop], a = this.findObject(i, t);
476
- u(a) || (this.formList.includes(s) && r.forEach((o) => {
477
- this.form[o] = "", this.$set(this.DIC, o, []);
478
- }), !(u(r) || u(l) || u(a)) && q({
479
- column: a,
480
- value: l,
458
+ const t = p, n = this.form[e.prop], o = this.findObject(i, t);
459
+ u(o) || (this.formList.includes(s) && r.forEach((l) => {
460
+ this.form[l] = "", this.$set(this.DIC, l, []);
461
+ }), !(u(r) || u(n) || u(o)) && U({
462
+ column: o,
463
+ value: n,
481
464
  form: this.form
482
- }).then((o) => {
465
+ }).then((l) => {
483
466
  this.formList.includes(s) || this.formList.push(s);
484
- const d = o || [];
485
- this.$set(this.DIC, t, d), !u(d) && !u(d) && !u(a.cascaderIndex) && u(this.form[t]) && (this.form[t] = d[a.cascaderIndex][(a.props || {}).value || V.value]);
467
+ const d = l || [];
468
+ this.$set(this.DIC, t, d), !u(d) && !u(d) && !u(o.cascaderIndex) && u(this.form[t]) && (this.form[t] = d[o.cascaderIndex][(o.props || {}).value || L.value]);
486
469
  }));
487
470
  });
488
471
  });
@@ -495,7 +478,7 @@ const ae = se.exports, oe = {
495
478
  },
496
479
  handleMock() {
497
480
  this.isMock && (this.columnOption.forEach((i) => {
498
- const e = J(i.column, this.DIC, this.form, this.isMock);
481
+ const e = q(i.column, this.DIC, this.form, this.isMock);
499
482
  u(e) || Object.keys(e).forEach((r) => {
500
483
  this.form[r] = e[r];
501
484
  });
@@ -533,13 +516,11 @@ const ae = se.exports, oe = {
533
516
  // 验证表单是否显隐
534
517
  vaildDisplay(i) {
535
518
  let e;
536
- return u(i.display) ? this.isAdd ? e = "addDisplay" : this.isEdit ? e = "editDisplay" : this.isView && (e = "viewDisplay") : e = "display", e ? L(i[e], !0) : !0;
519
+ return u(i.display) ? this.isAdd ? e = "addDisplay" : this.isEdit ? e = "editDisplay" : this.isView && (e = "viewDisplay") : e = "display", e ? I(i[e], !0) : !0;
537
520
  },
538
521
  clearValidate(i) {
539
- return D(this, null, function* () {
540
- var e;
541
- (e = this.$refs.form) == null || e.clearValidate(i);
542
- });
522
+ var e;
523
+ (e = this.$refs.form) == null || e.clearValidate(i);
543
524
  },
544
525
  validateCellForm() {
545
526
  return new Promise((i) => {
@@ -551,24 +532,24 @@ const ae = se.exports, oe = {
551
532
  validate(i) {
552
533
  this.$refs.form.validate((e, r) => {
553
534
  const s = [], p = [], t = {};
554
- this.dynamicOption.forEach((l) => {
555
- const a = l.children.type === "form";
556
- p.push(l.prop), a ? u(this.$refs[l.prop][0].$refs.temp.$refs.main) || this.$refs[l.prop][0].$refs.temp.$refs.main.forEach((o) => {
557
- s.push(o.validateCellForm());
558
- }) : s.push(this.$refs[l.prop][0].$refs.temp.$refs.main.validateCellForm());
559
- }), Promise.all(s).then((l) => {
560
- l.forEach((o, d) => {
561
- u(o) || (t[p[d]] = o);
535
+ this.dynamicOption.forEach((n) => {
536
+ const o = n.children.type === "form";
537
+ p.push(n.prop), o ? u(this.$refs[n.prop][0].$refs.temp.$refs.main) || this.$refs[n.prop][0].$refs.temp.$refs.main.forEach((l) => {
538
+ s.push(l.validateCellForm());
539
+ }) : s.push(this.$refs[n.prop][0].$refs.temp.$refs.main.validateCellForm());
540
+ }), Promise.all(s).then((n) => {
541
+ n.forEach((l, d) => {
542
+ u(l) || (t[p[d]] = l);
562
543
  });
563
- const a = Object.assign(t, r);
564
- u(a) ? (this.show(), i(!0, this.hide)) : i(!1, this.hide, a);
544
+ const o = Object.assign(t, r);
545
+ u(o) ? (this.show(), i(!0, this.hide)) : i(!1, this.hide, o);
565
546
  });
566
547
  });
567
548
  },
568
549
  resetForm(i = !0) {
569
550
  if (i) {
570
551
  const e = this.propOption.map((r) => r.prop);
571
- this.form = I(this.form, e, (this.tableOption.filterParams || []).concat([this.rowKey]));
552
+ this.form = j(this.form, e, (this.tableOption.filterParams || []).concat([this.rowKey]));
572
553
  }
573
554
  this.$nextTick(() => {
574
555
  this.clearValidate(), this.$emit("reset-change");
@@ -590,7 +571,7 @@ const ae = se.exports, oe = {
590
571
  }
591
572
  }
592
573
  };
593
- var ne = function() {
574
+ var oe = function() {
594
575
  var e = this, r = e._self._c;
595
576
  return r("div", { class: ["avue-form", { "avue--detail": e.isDetail }], style: { width: e.setPx(e.parentOption.formWidth, "100%") } }, [r("ElForm", { ref: "form", attrs: { "status-icon": e.parentOption.statusIcon, model: e.form, "label-suffix": e.labelSuffix, size: e.$AVUE.formSize || e.controlSize, "label-position": e.parentOption.labelPosition, "label-width": e.setPx(e.parentOption.labelWidth, e.labelWidth) }, nativeOn: { submit: function(s) {
596
577
  s.preventDefault();
@@ -598,26 +579,26 @@ var ne = function() {
598
579
  return r("FormGroup", { key: s.prop, attrs: { tabs: e.isTabs, arrow: s.arrow, collapse: s.collapse, display: e.vaildDisplay(s), icon: s.icon, index: p, header: !e.isTabs, active: e.activeName, label: s.label }, on: { change: e.handleGroupClick }, scopedSlots: e._u([{ key: "tabs", fn: function() {
599
580
  return [e.isTabs && p === 1 ? r("ElTabs", { staticClass: "avue-form__tabs", attrs: { type: e.tabsType }, on: { "tab-click": e.handleTabClick }, model: { value: e.activeName, callback: function(t) {
600
581
  e.activeName = t;
601
- }, expression: "activeName" } }, [e._l(e.columnOption, function(t, l) {
602
- return [e.vaildDisplay(t) && l !== 0 ? r("ElTabPane", { key: l, attrs: { name: `${l}` }, scopedSlots: e._u([{ key: "label", fn: function() {
582
+ }, expression: "activeName" } }, [e._l(e.columnOption, function(t, n) {
583
+ return [e.vaildDisplay(t) && n !== 0 ? r("ElTabPane", { key: n, attrs: { name: `${n}` }, scopedSlots: e._u([{ key: "label", fn: function() {
603
584
  return [r("span", [e.getSlotName(t, "H", e.$scopedSlots) ? e._t(e.getSlotName(t, "H"), null, { column: e.column }) : [r("i", { class: t.icon }, [e._v(" ")]), e._v(" " + e._s(t.label) + " ")]], 2)];
604
585
  }, proxy: !0 }], null, !0) }) : e._e()];
605
586
  })], 2) : e._e()];
606
587
  }, proxy: !0 }, e.getSlotName(s, "H", e.$scopedSlots) ? { key: "header", fn: function() {
607
588
  return [e._t(e.getSlotName(s, "H"), null, { column: s })];
608
- }, proxy: !0 } : null], null, !0) }, [r("div", { directives: [{ name: "show", rawName: "v-show", value: e.isGroupShow(s, p), expression: "isGroupShow(item, index)" }], class: ["avue-form__group", { "avue-form__group--flex": s.flex === !1 }] }, [e._l(s.column, function(t, l) {
609
- return [e.vaildDisplay(t) ? r("ElCol", { key: l, class: ["avue-form__row", { "avue--detail avue--detail__column": e.vaildDetail(t) }, t.className], style: { paddingLeft: e.gutter, paddingRight: e.gutter }, attrs: { span: e.getSpan(t), md: e.getSpan(t), sm: t.smSpan || s.smSpan || 12, xs: t.xsSpan || s.xmSpan || 24, offset: t.offset || s.offset, push: t.push || s.push, pull: t.pull || s.pull } }, [r("ElFormItem", { class: `avue-form__item--${t.labelPosition || s.labelPosition || ""}`, attrs: { prop: t.prop, label: t.label, rules: t.rules, "label-position": t.labelPosition || s.labelPosition || e.parentOption.labelPosition, "label-width": e.getLabelWidth(t, s) }, scopedSlots: e._u([e.getSlotName(t, "L", e.$scopedSlots) ? { key: "label", fn: function() {
589
+ }, proxy: !0 } : null], null, !0) }, [r("div", { directives: [{ name: "show", rawName: "v-show", value: e.isGroupShow(s, p), expression: "isGroupShow(item, index)" }], class: ["avue-form__group", { "avue-form__group--flex": s.flex === !1 }] }, [e._l(s.column, function(t, n) {
590
+ return [e.vaildDisplay(t) ? r("ElCol", { key: n, class: ["avue-form__row", { "avue--detail avue--detail__column": e.vaildDetail(t) }, t.className], style: { paddingLeft: e.gutter, paddingRight: e.gutter }, attrs: { span: e.getSpan(t), md: e.getSpan(t), sm: t.smSpan || s.smSpan || 12, xs: t.xsSpan || s.xmSpan || 24, offset: t.offset || s.offset, push: t.push || s.push, pull: t.pull || s.pull } }, [r("ElFormItem", { class: `avue-form__item--${t.labelPosition || s.labelPosition || ""}`, attrs: { prop: t.prop, label: t.label, rules: t.rules, "label-position": t.labelPosition || s.labelPosition || e.parentOption.labelPosition, "label-width": e.getLabelWidth(t, s) }, scopedSlots: e._u([e.getSlotName(t, "L", e.$scopedSlots) ? { key: "label", fn: function() {
610
591
  return [e._t(e.getSlotName(t, "L"), null, { column: t, value: e.form[t.prop], readonly: t.readonly || e.readonly, disabled: e.getDisabled(t), size: t.size || e.controlSize, dic: e.DIC[t.prop] })];
611
592
  }, proxy: !0 } : t.labelTip ? { key: "label", fn: function() {
612
593
  return [r("ElTooltip", { staticClass: "item", attrs: { effect: "dark", placement: t.labelTipPlacement || "top-start" }, scopedSlots: e._u([{ key: "content", fn: function() {
613
594
  return [r("div", { domProps: { innerHTML: e._s(t.labelTip) } })];
614
595
  }, proxy: !0 }], null, !0) }, [r("i", { staticClass: "el-icon-info" })]), r("span", [e._v(" " + e._s(t.label) + e._s(e.labelSuffix))])];
615
- }, proxy: !0 } : null, e.getSlotName(t, "E", e.$scopedSlots) ? { key: "error", fn: function(a) {
596
+ }, proxy: !0 } : null, e.getSlotName(t, "E", e.$scopedSlots) ? { key: "error", fn: function(o) {
616
597
  return [e._t(
617
598
  e.getSlotName(t, "E"),
618
599
  null,
619
600
  null,
620
- Object.assign(a, {
601
+ Object.assign(o, {
621
602
  column: t,
622
603
  value: e.form[t.prop],
623
604
  readonly: e.readonly || t.readonly,
@@ -626,34 +607,34 @@ var ne = function() {
626
607
  dic: e.DIC[t.prop]
627
608
  })
628
609
  )];
629
- } } : null], null, !0) }, [r(e.validTip(t) ? "div" : "elTooltip", { tag: "Component", attrs: { disabled: e.validTip(t), content: t.tip || e.getPlaceholder(t), placement: t.tipPlacement } }, [e.$scopedSlots[t.prop] ? e._t(t.prop, null, { value: e.form[t.prop], column: t, label: e.form[`$${t.prop}`], size: t.size || e.controlSize, readonly: e.readonly || t.readonly, disabled: e.getDisabled(t), dic: e.DIC[t.prop] }) : r("FormTemp", e._b({ ref: t.prop, refInFor: !0, attrs: { column: t, dic: e.DIC[t.prop], props: e.parentOption.props, "props-http": e.parentOption.propsHttp, disabled: e.getDisabled(t), readonly: t.readonly || e.readonly, enter: e.parentOption.enter, size: t.size || e.controlSize, "column-slot": e.columnSlot }, on: { enter: e.submit, change: function(a) {
610
+ } } : null], null, !0) }, [r(e.validTip(t) ? "div" : "elTooltip", { tag: "Component", attrs: { disabled: e.validTip(t), content: t.tip || e.getPlaceholder(t), placement: t.tipPlacement } }, [e.$scopedSlots[t.prop] ? e._t(t.prop, null, { value: e.form[t.prop], column: t, label: e.form[`$${t.prop}`], size: t.size || e.controlSize, readonly: e.readonly || t.readonly, disabled: e.getDisabled(t), dic: e.DIC[t.prop] }) : r("FormTemp", e._b({ ref: t.prop, refInFor: !0, attrs: { column: t, dic: e.DIC[t.prop], props: e.parentOption.props, "props-http": e.parentOption.propsHttp, disabled: e.getDisabled(t), readonly: t.readonly || e.readonly, enter: e.parentOption.enter, size: t.size || e.controlSize, "column-slot": e.columnSlot }, on: { enter: e.submit, change: function(o) {
630
611
  return e.propChange(s.column, t);
631
- } }, scopedSlots: e._u([e._l(e.getSlotName(t, "T", e.$scopedSlots) ? [t] : [], function(a) {
632
- return { key: e.getSlotName(t, "T"), fn: function(o) {
633
- return [e._t(e.getSlotName(a, "T"), null, null, o)];
612
+ } }, scopedSlots: e._u([e._l(e.getSlotName(t, "T", e.$scopedSlots) ? [t] : [], function(o) {
613
+ return { key: e.getSlotName(t, "T"), fn: function(l) {
614
+ return [e._t(e.getSlotName(o, "T"), null, null, l)];
634
615
  } };
635
- }), e._l(e.columnSlot, function(a) {
636
- return { key: a, fn: function(o) {
637
- return [e._t(a, null, null, o)];
616
+ }), e._l(e.columnSlot, function(o) {
617
+ return { key: o, fn: function(l) {
618
+ return [e._t(o, null, null, l)];
638
619
  } };
639
- })], null, !0), model: { value: e.form[t.prop], callback: function(a) {
640
- e.$set(e.form, t.prop, a);
641
- }, expression: "form[column.prop]" } }, "FormTemp", e.uploadFun(t), !1))], 2)], 1)], 1) : e._e(), e.vaildDisplay(t) && t.row && t.span !== 24 && t.count ? r("div", { key: `line${l}`, staticClass: "avue-form__line", style: { width: `${t.count / 24 * 100}%` } }) : e._e()];
620
+ })], null, !0), model: { value: e.form[t.prop], callback: function(o) {
621
+ e.$set(e.form, t.prop, o);
622
+ }, expression: "form[column.prop]" } }, "FormTemp", e.uploadFun(t), !1))], 2)], 1)], 1) : e._e(), e.vaildDisplay(t) && t.row && t.span !== 24 && t.count ? r("div", { key: `line${n}`, staticClass: "avue-form__line", style: { width: `${t.count / 24 * 100}%` } }) : e._e()];
642
623
  }), !e.isDetail && !e.isMenu ? r("FyFormMenu", { scopedSlots: e._u([{ key: "menuForm", fn: function(t) {
643
624
  return [e._t("menuForm", null, null, t)];
644
625
  } }], null, !0) }) : e._e()], 2)]);
645
626
  }), !e.isDetail && e.isMenu ? r("FyFormMenu", { scopedSlots: e._u([{ key: "menuForm", fn: function(s) {
646
627
  return [e._t("menuForm", null, null, s)];
647
628
  } }], null, !0) }) : e._e()], 2)], 1)], 1);
648
- }, le = [], pe = /* @__PURE__ */ $(
629
+ }, ne = [], le = /* @__PURE__ */ $(
630
+ ae,
649
631
  oe,
650
632
  ne,
651
- le,
652
633
  !1,
653
634
  null,
654
635
  null
655
636
  );
656
- const ve = pe.exports;
637
+ const _e = le.exports;
657
638
  export {
658
- ve as default
639
+ _e as default
659
640
  };
package/fy-form/style.css CHANGED
@@ -1 +1 @@
1
- .avue-group{width:100%}.avue-group .el-collapse,.avue-group .el-collapse-item__wrap{border-color:#fff}.avue-group .el-collapse-item__header{height:inherit;border:none;border-bottom:1px solid #eee;margin-bottom:20px}.avue-group .el-collapse-item__content,.avue-group .van-collapse-item__content{padding-bottom:0}.avue-group .van-collapse-item__content{padding:0 2px}.avue-group--arrow .el-collapse-item__arrow,.avue-group--arrow .van-icon-arrow,.avue-group .van-hairline--top-bottom:after,.avue-group .van-hairline-unset--top-bottom:after{display:none}.avue-group .van-collapse-item__title{align-items:center;padding:0 10px;display:flex}.avue-group .van-collapse-item__title:after{left:0!important}.avue-group--none{border:none!important;margin:0!important}.avue-group--header .el-collapse-item__header,.avue-group--header .van-collapse-item__title{display:none}.avue-group--collapse .el-collapse-item__arrow,.avue-group--collapse .el-collapse-item__header{display:flex!important}.avue-group__item{box-sizing:border-box;background-color:#fff;border-bottom:1px solid #eee;border-radius:5px;margin-bottom:10px}.avue-group__item:last-child{border-bottom:none}.avue-group__header{box-sizing:border-box;align-items:center;width:100%;height:50px;line-height:50px;display:flex}.avue-group__icon{color:rgba(0,0,0,.85);margin-right:8px;font-size:20px}.avue-group__title{color:rgba(0,0,0,.85);font-size:16px;font-weight:500}.avue-form{box-sizing:border-box;margin:0 auto;padding:10px;position:relative;overflow:auto}.avue-form__item--top{flex-direction:column;display:flex}.avue-form__item--top .el-form-item__label{text-align:left!important;width:100%!important}.avue-form__item--top .el-form-item__content{margin-left:0!important}.avue-form__item--left .el-form-item__label{text-align:left!important}.avue-form__menu{box-sizing:border-box;padding:5px 10px 0}.avue-form__menu--center{text-align:center}.avue-form__menu--center .el-button{margin:0 5px}.avue-form__menu--left{text-align:left}.avue-form__menu--right{text-align:right}.avue-form__tabs{box-sizing:border-box;padding:0 10px}.avue-form__group{flex-wrap:wrap;align-items:flex-start;height:auto}.avue-form__group--flex{display:flex}.avue-form__group .el-col{position:relative}.avue-form__line{height:100%;display:inline-block}.avue-form__row--block{width:100%;display:block}.avue-form__row--cursor{cursor:pointer}.avue-form__option{z-index:999;position:absolute;top:-10px;right:0}.avue-form__option i{color:#666}.avue-form__option i+i{margin-left:10px}
1
+ .avue-group{width:100%}.avue-group .el-collapse,.avue-group .el-collapse-item__wrap{border-color:#fff}.avue-group .el-collapse-item__header{height:inherit;border:none;border-bottom:1px solid #eee;margin-bottom:20px}.avue-group .el-collapse-item__content,.avue-group .van-collapse-item__content{padding-bottom:0}.avue-group .van-collapse-item__content{padding:0 2px}.avue-group--arrow .el-collapse-item__arrow,.avue-group--arrow .van-icon-arrow,.avue-group .van-hairline--top-bottom:after,.avue-group .van-hairline-unset--top-bottom:after{display:none}.avue-group .van-collapse-item__title{align-items:center;padding:0 10px;display:flex}.avue-group .van-collapse-item__title:after{left:0!important}.avue-group--none{border:none!important;margin:0!important}.avue-group--header .el-collapse-item__header,.avue-group--header .van-collapse-item__title{display:none}.avue-group--collapse .el-collapse-item__arrow,.avue-group--collapse .el-collapse-item__header{display:flex!important}.avue-group__item{box-sizing:border-box;background-color:#fff;border-bottom:1px solid #eee;border-radius:5px;margin-bottom:10px}.avue-group__item:last-child{border-bottom:none}.avue-group__header{box-sizing:border-box;align-items:center;width:100%;height:50px;line-height:50px;display:flex}.avue-group__icon{color:#000000d9;margin-right:8px;font-size:20px}.avue-group__title{color:#000000d9;font-size:16px;font-weight:500}.avue-form{box-sizing:border-box;margin:0 auto;padding:10px;position:relative;overflow:auto}.avue-form__item--top{flex-direction:column;display:flex}.avue-form__item--top .el-form-item__label{text-align:left!important;width:100%!important}.avue-form__item--top .el-form-item__content{margin-left:0!important}.avue-form__item--left .el-form-item__label{text-align:left!important}.avue-form__menu{box-sizing:border-box;padding:5px 10px 0}.avue-form__menu--center{text-align:center}.avue-form__menu--center .el-button{margin:0 5px}.avue-form__menu--left{text-align:left}.avue-form__menu--right{text-align:right}.avue-form__tabs{box-sizing:border-box;padding:0 10px}.avue-form__group{flex-wrap:wrap;align-items:flex-start;height:auto}.avue-form__group--flex{display:flex}.avue-form__group .el-col{position:relative}.avue-form__line{height:100%;display:inline-block}.avue-form__row--block{width:100%;display:block}.avue-form__row--cursor{cursor:pointer}.avue-form__option{z-index:999;position:absolute;top:-10px;right:0}.avue-form__option i{color:#666}.avue-form__option i+i{margin-left:10px}