@web-utils/component 3.3.15 → 3.3.17

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 (177) hide show
  1. package/address-input/index.mjs +1 -3
  2. package/affix/index.mjs +4 -6
  3. package/aside-menu/index.mjs +8 -10
  4. package/avatar/index.mjs +1 -3
  5. package/awesome-button/index.mjs +20 -22
  6. package/capsule-tab/index.mjs +4 -6
  7. package/card/index.mjs +4 -6
  8. package/carousel/index.mjs +1 -3
  9. package/chat/index.mjs +2 -4
  10. package/chunk-file-uploader/index.mjs +1 -3
  11. package/chunks/{FormTemp.BO_zCjBT.mjs → FormTemp.D8cHwam4.mjs} +11 -14
  12. package/chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs +10 -0
  13. package/chunks/{dataformat.J6EgqBfr.mjs → dataformat.skVZSF57.mjs} +1 -1
  14. package/chunks/{dic.6ODiMBAw.mjs → dic.28d_-7EJ.mjs} +1 -1
  15. package/chunks/{event.ChkcZtyR.mjs → event.m1ZDHbkO.mjs} +2 -2
  16. package/chunks/{init.BbPaCwke.mjs → init.DBM2D2IY.mjs} +2 -2
  17. package/chunks/json-beautifier.vs8mCOxd.mjs +124 -0
  18. package/chunks/{util.ThVOTZAO.mjs → util.B_LEdJSZ.mjs} +55 -55
  19. package/code-mirror-editor/index.mjs +1 -3
  20. package/color-picker/index.mjs +4 -6
  21. package/comment/index.mjs +1 -3
  22. package/confirm-button/index.mjs +5 -7
  23. package/confirmable/index.mjs +5 -7
  24. package/context-menu/index.mjs +1 -3
  25. package/count-up/index.mjs +4 -6
  26. package/custom-scrollbar/index.mjs +1 -3
  27. package/data-box/index.mjs +5 -7
  28. package/data-card/index.mjs +4 -6
  29. package/data-card-text/index.mjs +49 -0
  30. package/data-card-text/style.css +1 -0
  31. package/data-display/index.mjs +6 -8
  32. package/data-icons/index.mjs +4 -6
  33. package/data-imgtext/index.mjs +6 -8
  34. package/data-operatext/index.mjs +3 -5
  35. package/data-panel/index.mjs +5 -7
  36. package/data-pay/index.mjs +7 -9
  37. package/data-price/index.mjs +3 -5
  38. package/data-progress/index.mjs +1 -3
  39. package/data-rotate/index.mjs +3 -5
  40. package/data-table-picker/index.mjs +1 -3
  41. package/data-tabs/index.mjs +3 -5
  42. package/dialog-form/index.mjs +2 -4
  43. package/dynamic-table/index.mjs +1 -3
  44. package/e-charts/index.mjs +1 -3
  45. package/easy-popup/index.mjs +7 -9
  46. package/editable-progress/index.mjs +6 -8
  47. package/editable-tree/index.mjs +1 -3
  48. package/egd-collapse/index.mjs +4 -6
  49. package/egd-collapse-item/index.mjs +1 -3
  50. package/element-dialog/index.mjs +5 -7
  51. package/empty-view/index.mjs +3 -5
  52. package/error-view/index.mjs +3 -5
  53. package/flex-column/index.mjs +4 -6
  54. package/flex-item/index.mjs +1 -3
  55. package/flex-row/index.mjs +4 -6
  56. package/flex-scroller/index.mjs +6 -8
  57. package/flow/index.mjs +2 -4
  58. package/flow-designer/index.mjs +123 -156
  59. package/flow-node/index.mjs +8 -10
  60. package/flow-viewer/index.mjs +3 -6
  61. package/form-button/index.mjs +5 -7
  62. package/form-cascader/index.mjs +1 -3
  63. package/form-checkbox-group/index.mjs +4 -6
  64. package/form-date-picker/index.mjs +1 -3
  65. package/form-holder/index.mjs +11 -13
  66. package/form-input/index.mjs +5 -7
  67. package/form-input-email/index.mjs +6 -8
  68. package/form-input-id-card/index.mjs +13 -15
  69. package/form-input-number/index.mjs +5 -7
  70. package/form-input-phone-number/index.mjs +9 -11
  71. package/form-input-tag/index.mjs +12 -15
  72. package/form-input-time/index.mjs +7 -9
  73. package/form-item-config-provider/index.mjs +4 -6
  74. package/form-radio-group/index.mjs +22 -24
  75. package/form-select/index.mjs +17 -19
  76. package/form-switch/index.mjs +5 -7
  77. package/form-textarea/index.mjs +1 -3
  78. package/form-view/index.mjs +3 -6
  79. package/fy-array/index.mjs +4 -6
  80. package/fy-article/index.mjs +4 -6
  81. package/fy-cascader/index.mjs +2 -4
  82. package/fy-checkbox/index.mjs +12 -14
  83. package/fy-code/index.mjs +6 -8
  84. package/fy-curd/index.mjs +8 -35
  85. package/fy-date/index.mjs +6 -8
  86. package/fy-draggable/index.mjs +2 -4
  87. package/fy-dynamic/index.mjs +3 -5
  88. package/fy-empty/index.mjs +2 -4
  89. package/fy-form/index.mjs +6 -12
  90. package/fy-form-design/index.mjs +97 -154
  91. package/fy-form-design/style.css +1 -1
  92. package/fy-input/index.mjs +5 -7
  93. package/fy-input-color/index.mjs +9 -11
  94. package/fy-input-icon/index.mjs +29 -32
  95. package/fy-input-map/index.mjs +2 -4
  96. package/fy-input-number/index.mjs +5 -7
  97. package/fy-input-table/index.mjs +2 -4
  98. package/fy-input-tree/index.mjs +2 -4
  99. package/fy-progress/index.mjs +3 -5
  100. package/fy-radio/index.mjs +4 -6
  101. package/fy-rate/index.mjs +5 -7
  102. package/fy-select/index.mjs +4 -6
  103. package/fy-slider/index.mjs +7 -9
  104. package/fy-switch/index.mjs +3 -5
  105. package/fy-tabs/index.mjs +5 -7
  106. package/fy-time/index.mjs +5 -7
  107. package/fy-title/index.mjs +5 -7
  108. package/fy-tree/index.mjs +2 -4
  109. package/fy-u-editor/index.mjs +2 -4
  110. package/fy-upload/index.mjs +3 -5
  111. package/guide-steps/index.mjs +1 -3
  112. package/highlight-j-s/index.mjs +8 -10
  113. package/icon-card/index.mjs +4 -6
  114. package/icon-temp/index.mjs +6 -8
  115. package/iframe-window/index.mjs +6 -8
  116. package/image-cropper/index.mjs +5 -7
  117. package/image-preview/index.mjs +2 -4
  118. package/image-viewer/index.mjs +4 -6
  119. package/index.mjs +4 -4
  120. package/input-number/index.mjs +1 -3
  121. package/input-number-range/index.mjs +11 -13
  122. package/keep-view-alive/index.mjs +12 -14
  123. package/keyboard/index.mjs +1 -3
  124. package/license/index.mjs +19 -21
  125. package/loading-view/index.mjs +3 -5
  126. package/login/index.mjs +2 -4
  127. package/monaco-editor/index.mjs +2 -4
  128. package/name-avatar/index.mjs +16 -10
  129. package/nav-bar/index.mjs +3 -5
  130. package/not-implement/index.mjs +3 -5
  131. package/notice/index.mjs +1 -3
  132. package/package.json +15 -15
  133. package/page/index.mjs +6 -8
  134. package/page-header/index.mjs +4 -6
  135. package/page-index/index.mjs +17 -19
  136. package/page-index-top/index.mjs +11 -13
  137. package/page-skeleton/index.mjs +12 -17
  138. package/page-skeleton-new/index.mjs +1 -3
  139. package/pageable-table/index.mjs +8 -10
  140. package/pageable-view/index.mjs +24 -26
  141. package/photo-swipe/index.mjs +7 -9
  142. package/present-view/index.mjs +3 -6
  143. package/queue/index.mjs +4 -6
  144. package/record-video/index.mjs +4 -6
  145. package/resize-observer/index.mjs +4 -6
  146. package/search/index.mjs +6 -8
  147. package/search-popover/index.mjs +2 -4
  148. package/sign/index.mjs +2 -4
  149. package/sign-panel/index.mjs +5 -7
  150. package/skeleton/index.mjs +5 -7
  151. package/split-pane/index.mjs +3 -8
  152. package/stateful/index.mjs +4 -6
  153. package/static-pageable-table/index.mjs +8 -10
  154. package/swiper/index.mjs +3 -6
  155. package/tab/index.mjs +1 -3
  156. package/tab-item/index.mjs +1 -3
  157. package/table-column/index.mjs +1 -3
  158. package/table-view/index.mjs +1 -3
  159. package/tag-render/index.mjs +16 -18
  160. package/text-ellipsis/index.mjs +6 -8
  161. package/tinymce-editor/index.mjs +1 -5
  162. package/toolbar/index.mjs +2 -3
  163. package/toolbar-button/index.mjs +8 -10
  164. package/verify/index.mjs +8 -10
  165. package/vue-cron/index.mjs +1 -3
  166. package/vue-qr-code/index.mjs +9 -11
  167. package/vue-quill-editor/index.mjs +1 -3
  168. package/vue-tags-input/index.mjs +12 -14
  169. package/vue-tree-select/index.mjs +1 -27
  170. package/vue-video-player/index.mjs +1 -3
  171. package/watermark/index.mjs +14 -16
  172. package/web-types.json +18 -2
  173. package/x-input-tag/index.mjs +8 -10
  174. package/chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs +0 -32
  175. package/chunks/json-beautifier.CvdU9XNm.mjs +0 -126
  176. package/data-cardtext/index.mjs +0 -46
  177. package/data-cardtext/style.css +0 -1
@@ -10,29 +10,28 @@ var $ = (l, e, t) => e in l ? F(l, e, { enumerable: !0, configurable: !0, writab
10
10
  return l;
11
11
  };
12
12
  var y = (l, e, t) => new Promise((a, i) => {
13
- var s = (o) => {
13
+ var s = (n) => {
14
14
  try {
15
- r(t.next(o));
15
+ r(t.next(n));
16
16
  } catch (u) {
17
17
  i(u);
18
18
  }
19
- }, n = (o) => {
19
+ }, o = (n) => {
20
20
  try {
21
- r(t.throw(o));
21
+ r(t.throw(n));
22
22
  } catch (u) {
23
23
  i(u);
24
24
  }
25
- }, r = (o) => o.done ? a(o.value) : Promise.resolve(o.value).then(s, n);
25
+ }, r = (n) => n.done ? a(n.value) : Promise.resolve(n.value).then(s, o);
26
26
  r((t = t.apply(l, e)).next());
27
27
  });
28
28
  import { isBlank as C } from "@web-utils/core";
29
29
  import b from "../monaco-editor/index.mjs";
30
30
  import g from "vuedraggable";
31
- import { c as _ } from "../chunks/json-beautifier.CvdU9XNm.mjs";
32
- import { d as m, z as h } from "../chunks/util.ThVOTZAO.mjs";
31
+ import { c as _ } from "../chunks/json-beautifier.vs8mCOxd.mjs";
32
+ import { d as m, z as h } from "../chunks/util.B_LEdJSZ.mjs";
33
33
  import { cloneDeep as v } from "@web-utils/integrations/lodash";
34
- import "../fy-u-editor/style.css";
35
- import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
34
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
36
35
  const E = [
37
36
  {
38
37
  title: "布局字段",
@@ -604,8 +603,6 @@ var z = function() {
604
603
  R,
605
604
  !1,
606
605
  null,
607
- null,
608
- null,
609
606
  null
610
607
  );
611
608
  const x = P.exports, D = {
@@ -709,8 +706,6 @@ var M = function() {
709
706
  Q,
710
707
  !1,
711
708
  null,
712
- null,
713
- null,
714
709
  null
715
710
  );
716
711
  const w = j.exports, K = {
@@ -817,8 +812,6 @@ var N = function() {
817
812
  V,
818
813
  !1,
819
814
  null,
820
- null,
821
- null,
822
815
  null
823
816
  );
824
817
  const L = q.exports, G = {
@@ -897,8 +890,6 @@ var H = function() {
897
890
  U,
898
891
  !1,
899
892
  null,
900
- null,
901
- null,
902
893
  null
903
894
  );
904
895
  const Y = J.exports, X = {
@@ -942,8 +933,6 @@ var Z = function() {
942
933
  ee,
943
934
  !1,
944
935
  null,
945
- null,
946
- null,
947
936
  null
948
937
  );
949
938
  const ae = te.exports, le = {
@@ -992,17 +981,15 @@ var ie = function() {
992
981
  }, expression: "params" } })], 1)]), t("div", { staticClass: "el-form-item el-form-item--small el-form--label-top" }, [t("label", { staticClass: "el-form-item__label", staticStyle: { padding: "0" } }, [e._v("自定义事件:")]), t("div", { staticClass: "el-form-item__content" }, [t("MonacoEditor", { attrs: { height: "300", "key-index": e.data.prop, options: e.options }, model: { value: e.event, callback: function(a) {
993
982
  e.event = a;
994
983
  }, expression: "event" } })], 1)])]);
995
- }, se = [], ne = /* @__PURE__ */ c(
984
+ }, se = [], oe = /* @__PURE__ */ c(
996
985
  le,
997
986
  ie,
998
987
  se,
999
988
  !1,
1000
989
  null,
1001
- null,
1002
- null,
1003
990
  null
1004
991
  );
1005
- const oe = ne.exports, re = {
992
+ const ne = oe.exports, re = {
1006
993
  name: "ConfigInput",
1007
994
  props: {
1008
995
  data: Object
@@ -1029,8 +1016,6 @@ var ce = function() {
1029
1016
  de,
1030
1017
  !1,
1031
1018
  null,
1032
- null,
1033
- null,
1034
1019
  null
1035
1020
  );
1036
1021
  const ue = pe.exports, me = {
@@ -1058,8 +1043,6 @@ var he = function() {
1058
1043
  fe,
1059
1044
  !1,
1060
1045
  null,
1061
- null,
1062
- null,
1063
1046
  null
1064
1047
  );
1065
1048
  const ge = be.exports, ve = {
@@ -1093,8 +1076,6 @@ var _e = function() {
1093
1076
  ye,
1094
1077
  !1,
1095
1078
  null,
1096
- null,
1097
- null,
1098
1079
  null
1099
1080
  );
1100
1081
  const xe = Ee.exports, ke = {
@@ -1124,8 +1105,6 @@ var $e = function() {
1124
1105
  Ce,
1125
1106
  !1,
1126
1107
  null,
1127
- null,
1128
- null,
1129
1108
  null
1130
1109
  );
1131
1110
  const Ie = we.exports, Fe = {
@@ -1157,9 +1136,7 @@ var Se = function() {
1157
1136
  Ae,
1158
1137
  !1,
1159
1138
  null,
1160
- "31aa4f25",
1161
- null,
1162
- null
1139
+ "31aa4f25"
1163
1140
  );
1164
1141
  const Be = Oe.exports, We = {
1165
1142
  name: "ConfigRate",
@@ -1234,9 +1211,7 @@ var Te = function() {
1234
1211
  ze,
1235
1212
  !1,
1236
1213
  null,
1237
- "befe1506",
1238
- null,
1239
- null
1214
+ "a9deb5ae"
1240
1215
  );
1241
1216
  const Pe = Re.exports, De = {
1242
1217
  name: "ConfigSlider",
@@ -1265,8 +1240,6 @@ var Me = function() {
1265
1240
  Qe,
1266
1241
  !1,
1267
1242
  null,
1268
- null,
1269
- null,
1270
1243
  null
1271
1244
  );
1272
1245
  const Ke = je.exports, Ne = {
@@ -1286,8 +1259,6 @@ var Ve = function() {
1286
1259
  qe,
1287
1260
  !1,
1288
1261
  null,
1289
- null,
1290
- null,
1291
1262
  null
1292
1263
  );
1293
1264
  const Ge = Le.exports, He = {
@@ -1424,8 +1395,6 @@ var Ue = function() {
1424
1395
  Je,
1425
1396
  !1,
1426
1397
  null,
1427
- null,
1428
- null,
1429
1398
  null
1430
1399
  );
1431
1400
  const Xe = Ye.exports, Ze = {
@@ -1596,9 +1565,7 @@ var et = function() {
1596
1565
  tt,
1597
1566
  !1,
1598
1567
  null,
1599
- "e3a1f4c8",
1600
- null,
1601
- null
1568
+ "a2df3d76"
1602
1569
  );
1603
1570
  const lt = at.exports, it = {
1604
1571
  name: "ConfigDate",
@@ -1621,17 +1588,15 @@ var st = function() {
1621
1588
  }, expression: "data.valueFormat" } })], 1), ["timerange", "daterange", "datetimerange"].includes(e.data.type) ? t("ElFormItem", { attrs: { label: "取消范围联动", "label-width": "110px" } }, [t("ElSwitch", { model: { value: e.data.unlinkPanels, callback: function(a) {
1622
1589
  e.$set(e.data, "unlinkPanels", a);
1623
1590
  }, expression: "data.unlinkPanels" } })], 1) : e._e()], 2);
1624
- }, nt = [], ot = /* @__PURE__ */ c(
1591
+ }, ot = [], nt = /* @__PURE__ */ c(
1625
1592
  it,
1626
1593
  st,
1627
- nt,
1594
+ ot,
1628
1595
  !1,
1629
1596
  null,
1630
- null,
1631
- null,
1632
1597
  null
1633
1598
  );
1634
- const rt = ot.exports, ct = {
1599
+ const rt = nt.exports, ct = {
1635
1600
  name: "ConfigUpload",
1636
1601
  props: {
1637
1602
  data: Object
@@ -1735,8 +1700,6 @@ var dt = function() {
1735
1700
  pt,
1736
1701
  !1,
1737
1702
  null,
1738
- null,
1739
- null,
1740
1703
  null
1741
1704
  );
1742
1705
  const mt = ut.exports, ht = {
@@ -1787,8 +1750,6 @@ var ft = function() {
1787
1750
  bt,
1788
1751
  !1,
1789
1752
  null,
1790
- null,
1791
- null,
1792
1753
  null
1793
1754
  );
1794
1755
  const vt = gt.exports, _t = {
@@ -1808,8 +1769,6 @@ var yt = function() {
1808
1769
  Et,
1809
1770
  !1,
1810
1771
  null,
1811
- null,
1812
- null,
1813
1772
  null
1814
1773
  );
1815
1774
  const kt = xt.exports, $t = {
@@ -1843,8 +1802,6 @@ var Ct = function() {
1843
1802
  wt,
1844
1803
  !1,
1845
1804
  null,
1846
- null,
1847
- null,
1848
1805
  null
1849
1806
  );
1850
1807
  const Ft = It.exports, St = {
@@ -1866,8 +1823,6 @@ var At = function() {
1866
1823
  Ot,
1867
1824
  !1,
1868
1825
  null,
1869
- null,
1870
- null,
1871
1826
  null
1872
1827
  );
1873
1828
  const Wt = Bt.exports, Tt = {
@@ -1900,8 +1855,6 @@ var zt = function() {
1900
1855
  Rt,
1901
1856
  !1,
1902
1857
  null,
1903
- null,
1904
- null,
1905
1858
  null
1906
1859
  );
1907
1860
  const Dt = Pt.exports, Mt = {
@@ -1971,8 +1924,6 @@ var Qt = function() {
1971
1924
  jt,
1972
1925
  !1,
1973
1926
  null,
1974
- null,
1975
- null,
1976
1927
  null
1977
1928
  );
1978
1929
  const Nt = Kt.exports, Vt = [
@@ -2145,8 +2096,6 @@ var Lt = function() {
2145
2096
  Gt,
2146
2097
  !1,
2147
2098
  null,
2148
- null,
2149
- null,
2150
2099
  null
2151
2100
  );
2152
2101
  const Ut = Ht.exports, Jt = {
@@ -2196,7 +2145,7 @@ const Ut = Ht.exports, Jt = {
2196
2145
  this.data.children.column = l;
2197
2146
  },
2198
2147
  handleOnLoad(l) {
2199
- const { url: e, method: t, needPage: a, currentPageKey: i, pageSizeKey: s, totalKey: n, recordsKey: r, resKey: o, auto: u } = l;
2148
+ const { url: e, method: t, needPage: a, currentPageKey: i, pageSizeKey: s, totalKey: o, recordsKey: r, resKey: n, auto: u } = l;
2200
2149
  if (!u)
2201
2150
  return;
2202
2151
  if (!e) {
@@ -2216,12 +2165,12 @@ const Ut = Ht.exports, Jt = {
2216
2165
  if ('${t || "get"}' == 'get') params = { params: { ...params } }
2217
2166
 
2218
2167
  this.$axios['${t}']('${e}', params).then(res => {
2219
- const response = this.getAsVal(res, '${o || "data.data"}')
2168
+ const response = this.getAsVal(res, '${n || "data.data"}')
2220
2169
  if (!response) this.$message.error('未查询到数据或者返回层级配置错误')
2221
2170
 
2222
2171
  let result = {}
2223
2172
  if (${a}) {
2224
- const total = this.getAsVal(response, '${n || "total"}')
2173
+ const total = this.getAsVal(response, '${o || "total"}')
2225
2174
  if (total || total == 0) {
2226
2175
  result.total = total
2227
2176
  } else {
@@ -2289,14 +2238,12 @@ var Yt = function() {
2289
2238
  Xt,
2290
2239
  !1,
2291
2240
  null,
2292
- null,
2293
- null,
2294
2241
  null
2295
2242
  );
2296
2243
  const ea = Zt.exports, ta = ["year", "month", "week", "date", "datetime", "time", "daterange", "timerange", "datetimerange", "dates"], aa = {
2297
2244
  name: "WidgetConfig",
2298
2245
  components: {
2299
- ConfigCustom: oe,
2246
+ ConfigCustom: ne,
2300
2247
  ConfigInput: ue,
2301
2248
  ConfigTextarea: ge,
2302
2249
  ConfigNumber: xe,
@@ -2435,13 +2382,11 @@ var la = function() {
2435
2382
  ia,
2436
2383
  !1,
2437
2384
  null,
2438
- null,
2439
- null,
2440
2385
  null
2441
2386
  );
2442
- const na = sa.exports, oa = {
2387
+ const oa = sa.exports, na = {
2443
2388
  name: "FyFormDesign",
2444
- components: { Draggable: g, WidgetForm: Y, FormConfig: ae, WidgetConfig: na, MonacoEditor: b },
2389
+ components: { Draggable: g, WidgetForm: Y, FormConfig: ae, WidgetConfig: oa, MonacoEditor: b },
2445
2390
  mixins: [W],
2446
2391
  props: {
2447
2392
  options: {
@@ -2677,76 +2622,76 @@ const na = sa.exports, oa = {
2677
2622
  for (const s in i)
2678
2623
  C(i[s]) && delete i[s];
2679
2624
  for (let s = 0; s < i.column.length; s++) {
2680
- const n = i.column[s];
2681
- if (e && (["change", "blur", "click", "focus"].forEach((o) => {
2682
- n[o] && (n[o] = h(`${n[o]}`.replace(/this/g, "_this")));
2683
- }), n.event && Object.keys(n.event).forEach((o) => {
2684
- n.event[o] = h(`${n.event[o]}`.replace(/this/g, "_this"));
2685
- })), n.type === "dynamic" && n.children && n.children.column && n.children.column.length > 0)
2686
- n.children.column.forEach((o) => {
2687
- delete o.subfield;
2688
- }), this.transformToAvueOptions(n.children, e).then((o) => {
2689
- n.children = o;
2625
+ const o = i.column[s];
2626
+ if (e && (["change", "blur", "click", "focus"].forEach((n) => {
2627
+ o[n] && (o[n] = h(`${o[n]}`.replace(/this/g, "_this")));
2628
+ }), o.event && Object.keys(o.event).forEach((n) => {
2629
+ o.event[n] = h(`${o.event[n]}`.replace(/this/g, "_this"));
2630
+ })), o.type === "dynamic" && o.children && o.children.column && o.children.column.length > 0)
2631
+ o.children.column.forEach((n) => {
2632
+ delete n.subfield;
2633
+ }), this.transformToAvueOptions(o.children, e).then((n) => {
2634
+ o.children = n;
2690
2635
  });
2691
- else if (n.type === "group") {
2636
+ else if (o.type === "group") {
2692
2637
  i.group || (i.group = []);
2693
2638
  const r = {
2694
- label: n.label,
2695
- icon: n.icon,
2696
- prop: n.prop,
2697
- arrow: n.arrow,
2698
- collapse: n.collapse,
2699
- display: n.display
2639
+ label: o.label,
2640
+ icon: o.icon,
2641
+ prop: o.prop,
2642
+ arrow: o.arrow,
2643
+ collapse: o.collapse,
2644
+ display: o.display
2700
2645
  };
2701
- this.transformToAvueOptions(n.children, e).then((o) => {
2702
- r.column = o.column, i.group.push(r);
2646
+ this.transformToAvueOptions(o.children, e).then((n) => {
2647
+ r.column = n.column, i.group.push(r);
2703
2648
  }), i.column.splice(s, 1), s--;
2704
- } else if (["checkbox", "radio", "tree", "cascader", "select"].includes(n.type)) {
2705
- if (n.dicOption === "static") {
2706
- delete n.dicUrl, delete n.dicMethod, delete n.dicQuery, delete n.dicQueryConfig;
2707
- const { label: r, value: o, desc: u } = n.props;
2708
- n.dicData.forEach((d) => {
2649
+ } else if (["checkbox", "radio", "tree", "cascader", "select"].includes(o.type)) {
2650
+ if (o.dicOption === "static") {
2651
+ delete o.dicUrl, delete o.dicMethod, delete o.dicQuery, delete o.dicQueryConfig;
2652
+ const { label: r, value: n, desc: u } = o.props;
2653
+ o.dicData.forEach((d) => {
2709
2654
  if (d.label) {
2710
2655
  const f = d.label;
2711
2656
  delete d.label, d[r] = f;
2712
2657
  }
2713
2658
  if (d.value) {
2714
2659
  const f = d.value;
2715
- delete d.value, d[o] = f;
2660
+ delete d.value, d[n] = f;
2716
2661
  }
2717
2662
  if (d.desc) {
2718
2663
  const f = d.desc;
2719
2664
  delete d.desc, d[u] = f;
2720
2665
  }
2721
2666
  });
2722
- } else if (n.dicOption === "remote")
2723
- if (delete n.dicData, n.dicQueryConfig && n.dicQueryConfig.length > 0) {
2667
+ } else if (o.dicOption === "remote")
2668
+ if (delete o.dicData, o.dicQueryConfig && o.dicQueryConfig.length > 0) {
2724
2669
  const r = {};
2725
- n.dicQueryConfig.forEach((o) => {
2726
- o.key && o.value && (r[o.key] = o.value);
2727
- }), n.dicQuery = r, delete n.dicQueryConfig;
2670
+ o.dicQueryConfig.forEach((n) => {
2671
+ n.key && n.value && (r[n.key] = n.value);
2672
+ }), o.dicQuery = r, delete o.dicQueryConfig;
2728
2673
  } else
2729
- delete n.dicQueryConfig;
2730
- delete n.dicOption;
2731
- } else if (["upload"].includes(n.type)) {
2732
- if (n.headersConfig && n.headersConfig.length > 0) {
2674
+ delete o.dicQueryConfig;
2675
+ delete o.dicOption;
2676
+ } else if (["upload"].includes(o.type)) {
2677
+ if (o.headersConfig && o.headersConfig.length > 0) {
2733
2678
  const r = {};
2734
- n.headersConfig.forEach((o) => {
2735
- o.key && o.value && (r[o.key] = o.value);
2736
- }), n.headers = r;
2679
+ o.headersConfig.forEach((n) => {
2680
+ n.key && n.value && (r[n.key] = n.value);
2681
+ }), o.headers = r;
2737
2682
  } else
2738
- delete n.headers;
2739
- if (delete n.headersConfig, n.dataConfig && n.dataConfig.length > 0) {
2683
+ delete o.headers;
2684
+ if (delete o.headersConfig, o.dataConfig && o.dataConfig.length > 0) {
2740
2685
  const r = {};
2741
- n.dataConfig.forEach((o) => {
2742
- o.key && o.value && (r[o.key] = o.value);
2743
- }), n.data = r;
2686
+ o.dataConfig.forEach((n) => {
2687
+ n.key && n.value && (r[n.key] = n.value);
2688
+ }), o.data = r;
2744
2689
  } else
2745
- delete n.data;
2746
- delete n.dataConfig;
2690
+ delete o.data;
2691
+ delete o.dataConfig;
2747
2692
  }
2748
- for (const r in n)
2749
- C(n[r]) && delete n[r];
2693
+ for (const r in o)
2694
+ C(o[r]) && delete o[r];
2750
2695
  }
2751
2696
  t(i);
2752
2697
  } catch (i) {
@@ -2762,44 +2707,44 @@ const na = sa.exports, oa = {
2762
2707
  try {
2763
2708
  if (e.column && e.column.length > 0 && e.column.forEach((i) => {
2764
2709
  if (i.type === "dynamic" && i.children && i.children.column && i.children.column.length > 0)
2765
- i.children.column.forEach((n) => {
2766
- n.subfield = !0;
2767
- }), this.transAvueOptionsToFormDesigner(i.children).then((n) => {
2768
- i.children = n;
2710
+ i.children.column.forEach((o) => {
2711
+ o.subfield = !0;
2712
+ }), this.transAvueOptionsToFormDesigner(i.children).then((o) => {
2713
+ i.children = o;
2769
2714
  });
2770
2715
  else if (["checkbox", "radio", "tree", "cascader", "select"].includes(i.type)) {
2771
2716
  if (!i.dicData && i.dicQuery && typeof i.dicQuery == "object") {
2772
2717
  const s = [];
2773
- for (const n in i.dicQuery)
2718
+ for (const o in i.dicQuery)
2774
2719
  s.push({
2775
- key: n,
2776
- value: i.dicQuery[n],
2720
+ key: o,
2721
+ value: i.dicQuery[o],
2777
2722
  $cellEdit: !0
2778
2723
  });
2779
2724
  i.dicQueryConfig = s;
2780
2725
  }
2781
2726
  i.dicUrl ? i.dicOption = "remote" : i.dicOption = "static", i.dicData ? i.props && i.dicData.forEach((s) => {
2782
- const { label: n, value: r, desc: o } = i.props;
2783
- if (n) {
2784
- const u = s[n];
2785
- delete s[n], s.label = u;
2727
+ const { label: o, value: r, desc: n } = i.props;
2728
+ if (o) {
2729
+ const u = s[o];
2730
+ delete s[o], s.label = u;
2786
2731
  }
2787
2732
  if (r) {
2788
2733
  const u = s[r];
2789
2734
  delete s[r], s.value = u;
2790
2735
  }
2791
- if (o) {
2792
- const u = s[o];
2793
- delete s[o], s.desc = u;
2736
+ if (n) {
2737
+ const u = s[n];
2738
+ delete s[n], s.desc = u;
2794
2739
  }
2795
2740
  }) : i.dicData = [];
2796
2741
  } else if (["upload"].includes(i.type)) {
2797
2742
  if (i.headers && typeof i.headers == "object") {
2798
2743
  const s = [];
2799
- for (const n in i.headers)
2744
+ for (const o in i.headers)
2800
2745
  s.push({
2801
- key: n,
2802
- value: i.headers[n],
2746
+ key: o,
2747
+ value: i.headers[o],
2803
2748
  $cellEdit: !0
2804
2749
  });
2805
2750
  i.headersConfig = s;
@@ -2807,10 +2752,10 @@ const na = sa.exports, oa = {
2807
2752
  i.headersConfig = [];
2808
2753
  if (i.data && typeof i.data == "object") {
2809
2754
  const s = [];
2810
- for (const n in i.data)
2755
+ for (const o in i.data)
2811
2756
  s.push({
2812
- key: n,
2813
- value: i.data[n],
2757
+ key: o,
2758
+ value: i.data[o],
2814
2759
  $cellEdit: !0
2815
2760
  });
2816
2761
  i.dataConfig = s;
@@ -2820,7 +2765,7 @@ const na = sa.exports, oa = {
2820
2765
  }), e.group && e.group.length > 0) {
2821
2766
  for (let i = 0; i < e.group.length; i++) {
2822
2767
  e.column || (e.column = []);
2823
- const s = e.group[i], n = {
2768
+ const s = e.group[i], o = {
2824
2769
  type: "group",
2825
2770
  label: s.label,
2826
2771
  icon: s.icon,
@@ -2830,7 +2775,7 @@ const na = sa.exports, oa = {
2830
2775
  display: s.display
2831
2776
  };
2832
2777
  this.transAvueOptionsToFormDesigner(s).then((r) => {
2833
- n.children = r, e.column.push(n);
2778
+ o.children = r, e.column.push(o);
2834
2779
  });
2835
2780
  }
2836
2781
  delete e.group;
@@ -2865,8 +2810,8 @@ const na = sa.exports, oa = {
2865
2810
  var ra = function() {
2866
2811
  var e = this, t = e._self._c;
2867
2812
  return t("ElContainer", { staticClass: "form-designer" }, [t("ElAside", { attrs: { width: e.leftWidth } }, [t("div", { staticClass: "fields-list" }, [e.customFields && e.customFields.length > 0 ? [e.customFields[0].title && e.customFields[0].list && e.customFields[0].list.length > 0 ? [e._l(e.customFields, function(a, i) {
2868
- return [t("div", { key: `f_${i}`, staticClass: "field-title" }, [e._v(" " + e._s(a.title) + " ")]), t("Draggable", { key: `d_${i}`, attrs: { tag: "ul", list: a.list, group: { name: "form", pull: "clone", put: !1 }, "ghost-class": "ghost", sort: !1 } }, [e._l(a.list, function(s, n) {
2869
- return [t("li", { key: `c_${n}`, staticClass: "field-label" }, [t("a", { on: { click: function(r) {
2813
+ return [t("div", { key: `f_${i}`, staticClass: "field-title" }, [e._v(" " + e._s(a.title) + " ")]), t("Draggable", { key: `d_${i}`, attrs: { tag: "ul", list: a.list, group: { name: "form", pull: "clone", put: !1 }, "ghost-class": "ghost", sort: !1 } }, [e._l(a.list, function(s, o) {
2814
+ return [t("li", { key: `c_${o}`, staticClass: "field-label" }, [t("a", { on: { click: function(r) {
2870
2815
  return e.handleFieldClick(s);
2871
2816
  } } }, [t("i", { staticClass: "icon iconfont", class: s.icon }), t("span", [e._v(e._s(s.title || s.label))])])])];
2872
2817
  })], 2)];
@@ -2877,8 +2822,8 @@ var ra = function() {
2877
2822
  return e.handleFieldClick(a);
2878
2823
  } } }, [t("i", { class: a.icon }), t("span", { staticStyle: { "margin-left": "5px" } }, [e._v(e._s(a.title || a.label))])])])];
2879
2824
  })], 2)]] : e._e(), e._l(e.fields, function(a, i) {
2880
- return t("div", { key: i }, [a.list.find((s) => e.includeFields.includes(s.type)) ? [t("div", { staticClass: "field-title" }, [e._v(" " + e._s(a.title) + " ")]), t("Draggable", { attrs: { tag: "ul", list: a.list, group: { name: "form", pull: "clone", put: !1 }, "ghost-class": "ghost", sort: !1 } }, [e._l(a.list, function(s, n) {
2881
- return [e.includeFields.includes(s.type) ? t("li", { key: `c_${n}`, staticClass: "field-label" }, [t("a", { on: { click: function(r) {
2825
+ return t("div", { key: i }, [a.list.find((s) => e.includeFields.includes(s.type)) ? [t("div", { staticClass: "field-title" }, [e._v(" " + e._s(a.title) + " ")]), t("Draggable", { attrs: { tag: "ul", list: a.list, group: { name: "form", pull: "clone", put: !1 }, "ghost-class": "ghost", sort: !1 } }, [e._l(a.list, function(s, o) {
2826
+ return [e.includeFields.includes(s.type) ? t("li", { key: `c_${o}`, staticClass: "field-label" }, [t("a", { on: { click: function(r) {
2882
2827
  return e.handleFieldClick(s);
2883
2828
  } } }, [t("i", { staticClass: "icon iconfont", class: s.icon }), t("span", [e._v(e._s(s.title || s.label))])])]) : e._e()];
2884
2829
  })], 2)] : e._e()], 2);
@@ -2930,16 +2875,14 @@ var ra = function() {
2930
2875
  e.form = a;
2931
2876
  }, expression: "form" } }) : e._e(), t("div", { staticClass: "afd-drawer-foot" }, [t("ElButton", { attrs: { size: "medium", type: "primary" }, on: { click: e.handlePreviewSubmit } }, [e._v(" 确定 ")]), t("ElButton", { attrs: { size: "medium", type: "danger" }, on: { click: e.handleBeforeClose } }, [e._v(" 取消 ")])], 1)], 1)], 1);
2932
2877
  }, ca = [], da = /* @__PURE__ */ c(
2933
- oa,
2878
+ na,
2934
2879
  ra,
2935
2880
  ca,
2936
2881
  !1,
2937
2882
  null,
2938
- null,
2939
- null,
2940
2883
  null
2941
2884
  );
2942
- const ya = da.exports;
2885
+ const _a = da.exports;
2943
2886
  export {
2944
- ya as default
2887
+ _a as default
2945
2888
  };
@@ -1 +1 @@
1
- .dic[data-v-31aa4f25]{margin-bottom:5px;display:flex}.el-tag[data-v-befe1506]{vertical-align:top}.el-tag+.el-tag[data-v-befe1506]{margin-left:5px}.input-new-tag[data-v-befe1506]{vertical-align:bottom;width:90px;margin-left:5px}.color-picker[data-v-befe1506]{vertical-align:top;left:10px}.custom-tree-node[data-v-e3a1f4c8]{flex:1;justify-content:space-between;align-items:center;padding-right:8px;font-size:14px;display:flex}.form-designer{background:#fff;outline:1px solid #e4e7ed;height:100%}.form-designer ::-webkit-scrollbar{width:0!important;height:0!important}.form-designer ::-webkit-scrollbar-track{background-color:transparent!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer .fields-list{width:100%;height:100%;padding:10px 0}.form-designer .fields-list .field-title{padding:8px 12px;font-size:13px}.form-designer .fields-list ul{margin:0;padding:0 10px 10px;position:relative;overflow:hidden}.form-designer .fields-list .field-label{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:47%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}.form-designer .fields-list .field-label>a{color:#333;cursor:move;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label>a span{vertical-align:middle;display:inline-block}.form-designer .fields-list .field-label-disabled{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:48%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label-disabled:hover{color:gray;border:1px dashed gray}.form-designer .fields-list .field-label-disabled>a{cursor:not-allowed;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label-disabled>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label-disabled>a span{vertical-align:middle;display:inline-block}.form-designer .widget-container{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;flex:1}.form-designer .widget-container .widget-container-header{border-bottom:2px solid #e4e7ed;justify-content:space-between;align-items:center;display:flex;height:45px!important}.form-designer .widget-container .el-main{padding:0;position:relative}.form-designer .widget-form-container{height:100%;position:relative;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .el-form,.form-designer .widget-form-container .el-form .el-row{height:100%}.form-designer .widget-form-container .widget-form-list{height:100%;min-height:calc(100% - 45px);padding-bottom:50px;overflow-x:hidden;overflow-y:scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{border-left:5px solid transparent;min-height:30px;margin:0;padding:5px 10px 18px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-item:after{z-index:1001;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-item:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-item.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{z-index:1002;position:absolute;bottom:-32px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{z-index:1002;position:absolute;bottom:-32px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__content{outline-offset:-1px;outline:1px dashed #ccc;width:100%;height:100%;min-height:103px;padding:10px 5px;display:flex;overflow-y:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar{width:6px!important;height:6px!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar-thumb{background-color:#e5e7eb!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:90px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__item{width:33.3%;min-width:33.3%;height:100%;padding:1px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.required .el-table__header .cell:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-delete{z-index:1002;position:absolute;bottom:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone{z-index:1002;position:absolute;bottom:0;right:30px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone i{font-size:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .el-button--small.is-circle{padding:5px}.form-designer .widget-form-container .widget-form-list .widget-form-table.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .widget-form-group{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__head{margin:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body{outline-offset:-1px;outline:1px dashed #ccc;height:100%;min-height:150px;padding-bottom:15px;overflow:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-group__body .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:57px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-group__item{background:#fff;border-left:5px solid transparent;margin:3px;padding:10px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--delete{z-index:1002;position:absolute;bottom:-24px;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--clone{z-index:1002;position:absolute;bottom:-24px;right:34px}.form-designer .widget-form-container .widget-form-list .widget-form-group.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .iconfont{font-size:13px}.form-designer .widget-form-container .widget-form-list .el-button--small.is-circle{padding:7px}.form-designer .widget-form-container .ghost{box-sizing:border-box;content:"";background:#fff;border-top:5px solid #409eff;outline:0;width:100%;margin:2px 0;font-size:0;position:relative;overflow:hidden;height:0!important;padding:0!important}.form-designer .widget-config-container{height:100%;padding-top:5px}.form-designer .widget-config-container .el-tabs{height:100%}.form-designer .widget-config-container .el-tabs__header{z-index:1000;background:#fff;height:45px;margin:0}.form-designer .widget-config-container .el-tabs__content{height:calc(100% - 45px);overflow-y:scroll}.form-designer .widget-config-container .widget-config .el-tabs__header{margin:0;display:block;position:relative;top:0}.form-designer .widget-config-container .widget-config .el-tabs__content{margin-top:0}.form-designer .widget-config-container .widget-config .ghost{background:#fff;border:1px dashed #409eff}.form-designer .widget-config-container .widget-config ul{margin:0;padding:0}.form-designer .widget-config-container .widget-config ul li{align-items:center;width:100%;display:flex}.form-designer .widget-config-container .widget-config ul li .ghost{height:35px;font-size:0;list-style:none}.form-designer .widget-config-container .avue-group__item{padding:0}.form-designer .el-container{height:100%}.form-designer .el-container .el-main{height:calc(100% - 45px)}.form-designer .el-container .el-aside{background:#fff}.form-designer .danger{color:#f56c6c}.form-designer .warning{color:#e6a23c}.form-designer .el-input-number.is-controls-right .el-input-number__decrease{border-left:none}.form-designer .el-input-number.is-controls-right .el-input-number__increase{border-bottom:none;border-left:none}.form-designer .el-date-editor,.form-designer .el-cascader,.form-designer .el-select,.form-designer .el-input-number{width:100%}.form-designer .editor-fullscreen{z-index:1003;box-sizing:border-box;background:#fff;width:100%;padding:20px;top:0;bottom:0;left:0;right:0;height:100%!important;position:fixed!important}.form-designer .editor-fullscreen i{top:20px!important;left:25px!important}.afd-drawer-foot{padding:20px;display:flex;position:absolute;bottom:0;left:0;right:0}.afd-drawer-foot button{width:50%}.afd-drawer-foot>span{width:50%;display:inline-block}.afd-drawer-foot>span button{width:100%}.afd-preview-form{height:83vh;overflow-y:auto}
1
+ .dic[data-v-31aa4f25]{margin-bottom:5px;display:flex}.el-tag[data-v-a9deb5ae]{vertical-align:top}.el-tag+.el-tag[data-v-a9deb5ae]{margin-left:5px}.input-new-tag[data-v-a9deb5ae]{vertical-align:bottom;width:90px;margin-left:5px}.color-picker[data-v-a9deb5ae]{vertical-align:top;left:10px}.custom-tree-node[data-v-a2df3d76]{flex:1;justify-content:space-between;align-items:center;padding-right:8px;font-size:14px;display:flex}.form-designer{background:#fff;outline:1px solid #e4e7ed;height:100%}.form-designer ::-webkit-scrollbar{width:0!important;height:0!important}.form-designer ::-webkit-scrollbar-track{background-color:transparent!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer .fields-list{width:100%;height:100%;padding:10px 0}.form-designer .fields-list .field-title{padding:8px 12px;font-size:13px}.form-designer .fields-list ul{margin:0;padding:0 10px 10px;position:relative;overflow:hidden}.form-designer .fields-list .field-label{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:47%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}.form-designer .fields-list .field-label>a{color:#333;cursor:move;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label>a span{vertical-align:middle;display:inline-block}.form-designer .fields-list .field-label-disabled{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:48%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label-disabled:hover{color:gray;border:1px dashed gray}.form-designer .fields-list .field-label-disabled>a{cursor:not-allowed;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label-disabled>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label-disabled>a span{vertical-align:middle;display:inline-block}.form-designer .widget-container{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;flex:1}.form-designer .widget-container .widget-container-header{border-bottom:2px solid #e4e7ed;justify-content:space-between;align-items:center;display:flex;height:45px!important}.form-designer .widget-container .el-main{padding:0;position:relative}.form-designer .widget-form-container{height:100%;position:relative;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .el-form,.form-designer .widget-form-container .el-form .el-row{height:100%}.form-designer .widget-form-container .widget-form-list{height:100%;min-height:calc(100% - 45px);padding-bottom:50px;overflow-x:hidden;overflow-y:scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{border-left:5px solid transparent;min-height:30px;margin:0;padding:5px 10px 18px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-item:after{z-index:1001;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-item:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-item.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{z-index:1002;position:absolute;bottom:-32px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{z-index:1002;position:absolute;bottom:-32px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__content{outline-offset:-1px;outline:1px dashed #ccc;width:100%;height:100%;min-height:103px;padding:10px 5px;display:flex;overflow-y:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar{width:6px!important;height:6px!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar-thumb{background-color:#e5e7eb!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:90px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__item{width:33.3%;min-width:33.3%;height:100%;padding:1px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.required .el-table__header .cell:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-delete{z-index:1002;position:absolute;bottom:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone{z-index:1002;position:absolute;bottom:0;right:30px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone i{font-size:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .el-button--small.is-circle{padding:5px}.form-designer .widget-form-container .widget-form-list .widget-form-table.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .widget-form-group{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__head{margin:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body{outline-offset:-1px;outline:1px dashed #ccc;height:100%;min-height:150px;padding-bottom:15px;overflow:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-group__body .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:57px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-group__item{background:#fff;border-left:5px solid transparent;margin:3px;padding:10px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--delete{z-index:1002;position:absolute;bottom:-24px;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--clone{z-index:1002;position:absolute;bottom:-24px;right:34px}.form-designer .widget-form-container .widget-form-list .widget-form-group.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .iconfont{font-size:13px}.form-designer .widget-form-container .widget-form-list .el-button--small.is-circle{padding:7px}.form-designer .widget-form-container .ghost{box-sizing:border-box;content:"";background:#fff;border-top:5px solid #409eff;outline:0;width:100%;margin:2px 0;font-size:0;position:relative;overflow:hidden;height:0!important;padding:0!important}.form-designer .widget-config-container{height:100%;padding-top:5px}.form-designer .widget-config-container .el-tabs{height:100%}.form-designer .widget-config-container .el-tabs__header{z-index:1000;background:#fff;height:45px;margin:0}.form-designer .widget-config-container .el-tabs__content{height:calc(100% - 45px);overflow-y:scroll}.form-designer .widget-config-container .widget-config .el-tabs__header{margin:0;display:block;position:relative;top:0}.form-designer .widget-config-container .widget-config .el-tabs__content{margin-top:0}.form-designer .widget-config-container .widget-config .ghost{background:#fff;border:1px dashed #409eff}.form-designer .widget-config-container .widget-config ul{margin:0;padding:0}.form-designer .widget-config-container .widget-config ul li{align-items:center;width:100%;display:flex}.form-designer .widget-config-container .widget-config ul li .ghost{height:35px;font-size:0;list-style:none}.form-designer .widget-config-container .avue-group__item{padding:0}.form-designer .el-container{height:100%}.form-designer .el-container .el-main{height:calc(100% - 45px)}.form-designer .el-container .el-aside{background:#fff}.form-designer .danger{color:#f56c6c}.form-designer .warning{color:#e6a23c}.form-designer .el-input-number.is-controls-right .el-input-number__decrease{border-left:none}.form-designer .el-input-number.is-controls-right .el-input-number__increase{border-bottom:none;border-left:none}.form-designer .el-date-editor,.form-designer .el-cascader,.form-designer .el-select,.form-designer .el-input-number{width:100%}.form-designer .editor-fullscreen{z-index:1003;box-sizing:border-box;background:#fff;width:100%;padding:20px;top:0;bottom:0;left:0;right:0;height:100%!important;position:fixed!important}.form-designer .editor-fullscreen i{top:20px!important;left:25px!important}.afd-drawer-foot{padding:20px;display:flex;position:absolute;bottom:0;left:0;right:0}.afd-drawer-foot button{width:50%}.afd-drawer-foot>span{width:50%;display:inline-block}.afd-drawer-foot>span button{width:100%}.afd-preview-form{height:83vh;overflow-y:auto}