@web-utils/component 3.3.15 → 3.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/address-input/index.mjs +1 -3
- package/affix/index.mjs +4 -6
- package/aside-menu/index.mjs +8 -10
- package/avatar/index.mjs +1 -3
- package/awesome-button/index.mjs +20 -22
- package/capsule-tab/index.mjs +4 -6
- package/card/index.mjs +4 -6
- package/carousel/index.mjs +1 -3
- package/chat/index.mjs +2 -4
- package/chunk-file-uploader/index.mjs +1 -3
- package/chunks/{FormTemp.BO_zCjBT.mjs → FormTemp.Cf9d5N_a.mjs} +7 -9
- package/chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs +10 -0
- package/chunks/{dataformat.J6EgqBfr.mjs → dataformat.skVZSF57.mjs} +1 -1
- package/chunks/{dic.6ODiMBAw.mjs → dic.28d_-7EJ.mjs} +1 -1
- package/chunks/{event.ChkcZtyR.mjs → event.m1ZDHbkO.mjs} +2 -2
- package/chunks/{init.BbPaCwke.mjs → init.DBM2D2IY.mjs} +2 -2
- package/chunks/json-beautifier.vs8mCOxd.mjs +124 -0
- package/chunks/{util.ThVOTZAO.mjs → util.B_LEdJSZ.mjs} +55 -55
- package/code-mirror-editor/index.mjs +1 -3
- package/color-picker/index.mjs +4 -6
- package/comment/index.mjs +1 -3
- package/confirm-button/index.mjs +5 -7
- package/confirmable/index.mjs +5 -7
- package/context-menu/index.mjs +1 -3
- package/count-up/index.mjs +4 -6
- package/custom-scrollbar/index.mjs +1 -3
- package/data-box/index.mjs +5 -7
- package/data-card/index.mjs +4 -6
- package/data-cardtext/index.mjs +1 -3
- package/data-display/index.mjs +6 -8
- package/data-icons/index.mjs +4 -6
- package/data-imgtext/index.mjs +6 -8
- package/data-operatext/index.mjs +3 -5
- package/data-panel/index.mjs +5 -7
- package/data-pay/index.mjs +7 -9
- package/data-price/index.mjs +3 -5
- package/data-progress/index.mjs +1 -3
- package/data-rotate/index.mjs +3 -5
- package/data-table-picker/index.mjs +1 -3
- package/data-tabs/index.mjs +3 -5
- package/dialog-form/index.mjs +2 -4
- package/dynamic-table/index.mjs +1 -3
- package/e-charts/index.mjs +1 -3
- package/easy-popup/index.mjs +7 -9
- package/editable-progress/index.mjs +6 -8
- package/editable-tree/index.mjs +1 -3
- package/egd-collapse/index.mjs +4 -6
- package/egd-collapse-item/index.mjs +1 -3
- package/element-dialog/index.mjs +5 -7
- package/empty-view/index.mjs +3 -5
- package/error-view/index.mjs +3 -5
- package/flex-column/index.mjs +4 -6
- package/flex-item/index.mjs +1 -3
- package/flex-row/index.mjs +4 -6
- package/flex-scroller/index.mjs +6 -8
- package/flow/index.mjs +2 -4
- package/flow-designer/index.mjs +123 -155
- package/flow-node/index.mjs +8 -10
- package/flow-viewer/index.mjs +1 -3
- package/form-button/index.mjs +5 -7
- package/form-cascader/index.mjs +1 -3
- package/form-checkbox-group/index.mjs +4 -6
- package/form-date-picker/index.mjs +1 -3
- package/form-holder/index.mjs +11 -13
- package/form-input/index.mjs +5 -7
- package/form-input-email/index.mjs +6 -8
- package/form-input-id-card/index.mjs +13 -15
- package/form-input-number/index.mjs +5 -7
- package/form-input-phone-number/index.mjs +9 -11
- package/form-input-tag/index.mjs +6 -8
- package/form-input-time/index.mjs +7 -9
- package/form-item-config-provider/index.mjs +4 -6
- package/form-radio-group/index.mjs +22 -24
- package/form-select/index.mjs +17 -19
- package/form-switch/index.mjs +5 -7
- package/form-textarea/index.mjs +1 -3
- package/form-view/index.mjs +1 -3
- package/fy-array/index.mjs +4 -6
- package/fy-article/index.mjs +4 -6
- package/fy-cascader/index.mjs +2 -4
- package/fy-checkbox/index.mjs +12 -14
- package/fy-code/index.mjs +6 -8
- package/fy-curd/index.mjs +6 -32
- package/fy-date/index.mjs +6 -8
- package/fy-draggable/index.mjs +2 -4
- package/fy-dynamic/index.mjs +3 -5
- package/fy-empty/index.mjs +2 -4
- package/fy-form/index.mjs +6 -12
- package/fy-form-design/index.mjs +95 -151
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +5 -7
- package/fy-input-color/index.mjs +9 -11
- package/fy-input-icon/index.mjs +3 -5
- package/fy-input-map/index.mjs +2 -4
- package/fy-input-number/index.mjs +5 -7
- package/fy-input-table/index.mjs +2 -4
- package/fy-input-tree/index.mjs +2 -4
- package/fy-progress/index.mjs +3 -5
- package/fy-radio/index.mjs +4 -6
- package/fy-rate/index.mjs +5 -7
- package/fy-select/index.mjs +4 -6
- package/fy-slider/index.mjs +7 -9
- package/fy-switch/index.mjs +3 -5
- package/fy-tabs/index.mjs +5 -7
- package/fy-time/index.mjs +5 -7
- package/fy-title/index.mjs +5 -7
- package/fy-tree/index.mjs +2 -4
- package/fy-u-editor/index.mjs +2 -4
- package/fy-upload/index.mjs +3 -5
- package/guide-steps/index.mjs +1 -3
- package/highlight-j-s/index.mjs +8 -10
- package/icon-card/index.mjs +4 -6
- package/icon-temp/index.mjs +6 -8
- package/iframe-window/index.mjs +6 -8
- package/image-cropper/index.mjs +5 -7
- package/image-preview/index.mjs +2 -4
- package/image-viewer/index.mjs +4 -6
- package/input-number/index.mjs +1 -3
- package/input-number-range/index.mjs +11 -13
- package/keep-view-alive/index.mjs +12 -14
- package/keyboard/index.mjs +1 -3
- package/license/index.mjs +19 -21
- package/loading-view/index.mjs +3 -5
- package/login/index.mjs +2 -4
- package/monaco-editor/index.mjs +2 -4
- package/name-avatar/index.mjs +4 -6
- package/nav-bar/index.mjs +3 -5
- package/not-implement/index.mjs +3 -5
- package/notice/index.mjs +1 -3
- package/package.json +8 -8
- package/page/index.mjs +6 -8
- package/page-header/index.mjs +4 -6
- package/page-index/index.mjs +17 -19
- package/page-index-top/index.mjs +11 -13
- package/page-skeleton/index.mjs +6 -8
- package/page-skeleton-new/index.mjs +1 -3
- package/pageable-table/index.mjs +8 -10
- package/pageable-view/index.mjs +24 -26
- package/photo-swipe/index.mjs +7 -9
- package/present-view/index.mjs +1 -3
- package/queue/index.mjs +4 -6
- package/record-video/index.mjs +4 -6
- package/resize-observer/index.mjs +4 -6
- package/search/index.mjs +6 -8
- package/search-popover/index.mjs +2 -4
- package/sign/index.mjs +2 -4
- package/sign-panel/index.mjs +5 -7
- package/skeleton/index.mjs +5 -7
- package/split-pane/index.mjs +1 -5
- package/stateful/index.mjs +4 -6
- package/static-pageable-table/index.mjs +8 -10
- package/swiper/index.mjs +4 -6
- package/tab/index.mjs +1 -3
- package/tab-item/index.mjs +1 -3
- package/table-column/index.mjs +1 -3
- package/table-view/index.mjs +1 -3
- package/tag-render/index.mjs +16 -18
- package/text-ellipsis/index.mjs +6 -8
- package/tinymce-editor/index.mjs +1 -5
- package/toolbar-button/index.mjs +8 -10
- package/verify/index.mjs +8 -10
- package/vue-cron/index.mjs +1 -3
- package/vue-qr-code/index.mjs +9 -11
- package/vue-quill-editor/index.mjs +1 -3
- package/vue-tags-input/index.mjs +12 -14
- package/vue-tree-select/index.mjs +1 -27
- package/vue-video-player/index.mjs +1 -3
- package/watermark/index.mjs +14 -16
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +8 -10
- package/chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs +0 -32
- package/chunks/json-beautifier.CvdU9XNm.mjs +0 -126
package/fy-form-design/index.mjs
CHANGED
|
@@ -10,29 +10,29 @@ 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 = (
|
|
13
|
+
var s = (n) => {
|
|
14
14
|
try {
|
|
15
|
-
r(t.next(
|
|
15
|
+
r(t.next(n));
|
|
16
16
|
} catch (u) {
|
|
17
17
|
i(u);
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, o = (n) => {
|
|
20
20
|
try {
|
|
21
|
-
r(t.throw(
|
|
21
|
+
r(t.throw(n));
|
|
22
22
|
} catch (u) {
|
|
23
23
|
i(u);
|
|
24
24
|
}
|
|
25
|
-
}, r = (
|
|
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.
|
|
32
|
-
import { d as m, z as h } from "../chunks/util.
|
|
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
34
|
import "../fy-u-editor/style.css";
|
|
35
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
35
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
36
36
|
const E = [
|
|
37
37
|
{
|
|
38
38
|
title: "布局字段",
|
|
@@ -604,8 +604,6 @@ var z = function() {
|
|
|
604
604
|
R,
|
|
605
605
|
!1,
|
|
606
606
|
null,
|
|
607
|
-
null,
|
|
608
|
-
null,
|
|
609
607
|
null
|
|
610
608
|
);
|
|
611
609
|
const x = P.exports, D = {
|
|
@@ -709,8 +707,6 @@ var M = function() {
|
|
|
709
707
|
Q,
|
|
710
708
|
!1,
|
|
711
709
|
null,
|
|
712
|
-
null,
|
|
713
|
-
null,
|
|
714
710
|
null
|
|
715
711
|
);
|
|
716
712
|
const w = j.exports, K = {
|
|
@@ -817,8 +813,6 @@ var N = function() {
|
|
|
817
813
|
V,
|
|
818
814
|
!1,
|
|
819
815
|
null,
|
|
820
|
-
null,
|
|
821
|
-
null,
|
|
822
816
|
null
|
|
823
817
|
);
|
|
824
818
|
const L = q.exports, G = {
|
|
@@ -897,8 +891,6 @@ var H = function() {
|
|
|
897
891
|
U,
|
|
898
892
|
!1,
|
|
899
893
|
null,
|
|
900
|
-
null,
|
|
901
|
-
null,
|
|
902
894
|
null
|
|
903
895
|
);
|
|
904
896
|
const Y = J.exports, X = {
|
|
@@ -942,8 +934,6 @@ var Z = function() {
|
|
|
942
934
|
ee,
|
|
943
935
|
!1,
|
|
944
936
|
null,
|
|
945
|
-
null,
|
|
946
|
-
null,
|
|
947
937
|
null
|
|
948
938
|
);
|
|
949
939
|
const ae = te.exports, le = {
|
|
@@ -992,17 +982,15 @@ var ie = function() {
|
|
|
992
982
|
}, 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
983
|
e.event = a;
|
|
994
984
|
}, expression: "event" } })], 1)])]);
|
|
995
|
-
}, se = [],
|
|
985
|
+
}, se = [], oe = /* @__PURE__ */ c(
|
|
996
986
|
le,
|
|
997
987
|
ie,
|
|
998
988
|
se,
|
|
999
989
|
!1,
|
|
1000
990
|
null,
|
|
1001
|
-
null,
|
|
1002
|
-
null,
|
|
1003
991
|
null
|
|
1004
992
|
);
|
|
1005
|
-
const
|
|
993
|
+
const ne = oe.exports, re = {
|
|
1006
994
|
name: "ConfigInput",
|
|
1007
995
|
props: {
|
|
1008
996
|
data: Object
|
|
@@ -1029,8 +1017,6 @@ var ce = function() {
|
|
|
1029
1017
|
de,
|
|
1030
1018
|
!1,
|
|
1031
1019
|
null,
|
|
1032
|
-
null,
|
|
1033
|
-
null,
|
|
1034
1020
|
null
|
|
1035
1021
|
);
|
|
1036
1022
|
const ue = pe.exports, me = {
|
|
@@ -1058,8 +1044,6 @@ var he = function() {
|
|
|
1058
1044
|
fe,
|
|
1059
1045
|
!1,
|
|
1060
1046
|
null,
|
|
1061
|
-
null,
|
|
1062
|
-
null,
|
|
1063
1047
|
null
|
|
1064
1048
|
);
|
|
1065
1049
|
const ge = be.exports, ve = {
|
|
@@ -1093,8 +1077,6 @@ var _e = function() {
|
|
|
1093
1077
|
ye,
|
|
1094
1078
|
!1,
|
|
1095
1079
|
null,
|
|
1096
|
-
null,
|
|
1097
|
-
null,
|
|
1098
1080
|
null
|
|
1099
1081
|
);
|
|
1100
1082
|
const xe = Ee.exports, ke = {
|
|
@@ -1124,8 +1106,6 @@ var $e = function() {
|
|
|
1124
1106
|
Ce,
|
|
1125
1107
|
!1,
|
|
1126
1108
|
null,
|
|
1127
|
-
null,
|
|
1128
|
-
null,
|
|
1129
1109
|
null
|
|
1130
1110
|
);
|
|
1131
1111
|
const Ie = we.exports, Fe = {
|
|
@@ -1157,9 +1137,7 @@ var Se = function() {
|
|
|
1157
1137
|
Ae,
|
|
1158
1138
|
!1,
|
|
1159
1139
|
null,
|
|
1160
|
-
"31aa4f25"
|
|
1161
|
-
null,
|
|
1162
|
-
null
|
|
1140
|
+
"31aa4f25"
|
|
1163
1141
|
);
|
|
1164
1142
|
const Be = Oe.exports, We = {
|
|
1165
1143
|
name: "ConfigRate",
|
|
@@ -1234,9 +1212,7 @@ var Te = function() {
|
|
|
1234
1212
|
ze,
|
|
1235
1213
|
!1,
|
|
1236
1214
|
null,
|
|
1237
|
-
"
|
|
1238
|
-
null,
|
|
1239
|
-
null
|
|
1215
|
+
"a9deb5ae"
|
|
1240
1216
|
);
|
|
1241
1217
|
const Pe = Re.exports, De = {
|
|
1242
1218
|
name: "ConfigSlider",
|
|
@@ -1265,8 +1241,6 @@ var Me = function() {
|
|
|
1265
1241
|
Qe,
|
|
1266
1242
|
!1,
|
|
1267
1243
|
null,
|
|
1268
|
-
null,
|
|
1269
|
-
null,
|
|
1270
1244
|
null
|
|
1271
1245
|
);
|
|
1272
1246
|
const Ke = je.exports, Ne = {
|
|
@@ -1286,8 +1260,6 @@ var Ve = function() {
|
|
|
1286
1260
|
qe,
|
|
1287
1261
|
!1,
|
|
1288
1262
|
null,
|
|
1289
|
-
null,
|
|
1290
|
-
null,
|
|
1291
1263
|
null
|
|
1292
1264
|
);
|
|
1293
1265
|
const Ge = Le.exports, He = {
|
|
@@ -1424,8 +1396,6 @@ var Ue = function() {
|
|
|
1424
1396
|
Je,
|
|
1425
1397
|
!1,
|
|
1426
1398
|
null,
|
|
1427
|
-
null,
|
|
1428
|
-
null,
|
|
1429
1399
|
null
|
|
1430
1400
|
);
|
|
1431
1401
|
const Xe = Ye.exports, Ze = {
|
|
@@ -1596,9 +1566,7 @@ var et = function() {
|
|
|
1596
1566
|
tt,
|
|
1597
1567
|
!1,
|
|
1598
1568
|
null,
|
|
1599
|
-
"
|
|
1600
|
-
null,
|
|
1601
|
-
null
|
|
1569
|
+
"a2df3d76"
|
|
1602
1570
|
);
|
|
1603
1571
|
const lt = at.exports, it = {
|
|
1604
1572
|
name: "ConfigDate",
|
|
@@ -1621,17 +1589,15 @@ var st = function() {
|
|
|
1621
1589
|
}, 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
1590
|
e.$set(e.data, "unlinkPanels", a);
|
|
1623
1591
|
}, expression: "data.unlinkPanels" } })], 1) : e._e()], 2);
|
|
1624
|
-
},
|
|
1592
|
+
}, ot = [], nt = /* @__PURE__ */ c(
|
|
1625
1593
|
it,
|
|
1626
1594
|
st,
|
|
1627
|
-
|
|
1595
|
+
ot,
|
|
1628
1596
|
!1,
|
|
1629
1597
|
null,
|
|
1630
|
-
null,
|
|
1631
|
-
null,
|
|
1632
1598
|
null
|
|
1633
1599
|
);
|
|
1634
|
-
const rt =
|
|
1600
|
+
const rt = nt.exports, ct = {
|
|
1635
1601
|
name: "ConfigUpload",
|
|
1636
1602
|
props: {
|
|
1637
1603
|
data: Object
|
|
@@ -1735,8 +1701,6 @@ var dt = function() {
|
|
|
1735
1701
|
pt,
|
|
1736
1702
|
!1,
|
|
1737
1703
|
null,
|
|
1738
|
-
null,
|
|
1739
|
-
null,
|
|
1740
1704
|
null
|
|
1741
1705
|
);
|
|
1742
1706
|
const mt = ut.exports, ht = {
|
|
@@ -1787,8 +1751,6 @@ var ft = function() {
|
|
|
1787
1751
|
bt,
|
|
1788
1752
|
!1,
|
|
1789
1753
|
null,
|
|
1790
|
-
null,
|
|
1791
|
-
null,
|
|
1792
1754
|
null
|
|
1793
1755
|
);
|
|
1794
1756
|
const vt = gt.exports, _t = {
|
|
@@ -1808,8 +1770,6 @@ var yt = function() {
|
|
|
1808
1770
|
Et,
|
|
1809
1771
|
!1,
|
|
1810
1772
|
null,
|
|
1811
|
-
null,
|
|
1812
|
-
null,
|
|
1813
1773
|
null
|
|
1814
1774
|
);
|
|
1815
1775
|
const kt = xt.exports, $t = {
|
|
@@ -1843,8 +1803,6 @@ var Ct = function() {
|
|
|
1843
1803
|
wt,
|
|
1844
1804
|
!1,
|
|
1845
1805
|
null,
|
|
1846
|
-
null,
|
|
1847
|
-
null,
|
|
1848
1806
|
null
|
|
1849
1807
|
);
|
|
1850
1808
|
const Ft = It.exports, St = {
|
|
@@ -1866,8 +1824,6 @@ var At = function() {
|
|
|
1866
1824
|
Ot,
|
|
1867
1825
|
!1,
|
|
1868
1826
|
null,
|
|
1869
|
-
null,
|
|
1870
|
-
null,
|
|
1871
1827
|
null
|
|
1872
1828
|
);
|
|
1873
1829
|
const Wt = Bt.exports, Tt = {
|
|
@@ -1900,8 +1856,6 @@ var zt = function() {
|
|
|
1900
1856
|
Rt,
|
|
1901
1857
|
!1,
|
|
1902
1858
|
null,
|
|
1903
|
-
null,
|
|
1904
|
-
null,
|
|
1905
1859
|
null
|
|
1906
1860
|
);
|
|
1907
1861
|
const Dt = Pt.exports, Mt = {
|
|
@@ -1971,8 +1925,6 @@ var Qt = function() {
|
|
|
1971
1925
|
jt,
|
|
1972
1926
|
!1,
|
|
1973
1927
|
null,
|
|
1974
|
-
null,
|
|
1975
|
-
null,
|
|
1976
1928
|
null
|
|
1977
1929
|
);
|
|
1978
1930
|
const Nt = Kt.exports, Vt = [
|
|
@@ -2145,8 +2097,6 @@ var Lt = function() {
|
|
|
2145
2097
|
Gt,
|
|
2146
2098
|
!1,
|
|
2147
2099
|
null,
|
|
2148
|
-
null,
|
|
2149
|
-
null,
|
|
2150
2100
|
null
|
|
2151
2101
|
);
|
|
2152
2102
|
const Ut = Ht.exports, Jt = {
|
|
@@ -2196,7 +2146,7 @@ const Ut = Ht.exports, Jt = {
|
|
|
2196
2146
|
this.data.children.column = l;
|
|
2197
2147
|
},
|
|
2198
2148
|
handleOnLoad(l) {
|
|
2199
|
-
const { url: e, method: t, needPage: a, currentPageKey: i, pageSizeKey: s, totalKey:
|
|
2149
|
+
const { url: e, method: t, needPage: a, currentPageKey: i, pageSizeKey: s, totalKey: o, recordsKey: r, resKey: n, auto: u } = l;
|
|
2200
2150
|
if (!u)
|
|
2201
2151
|
return;
|
|
2202
2152
|
if (!e) {
|
|
@@ -2216,12 +2166,12 @@ const Ut = Ht.exports, Jt = {
|
|
|
2216
2166
|
if ('${t || "get"}' == 'get') params = { params: { ...params } }
|
|
2217
2167
|
|
|
2218
2168
|
this.$axios['${t}']('${e}', params).then(res => {
|
|
2219
|
-
const response = this.getAsVal(res, '${
|
|
2169
|
+
const response = this.getAsVal(res, '${n || "data.data"}')
|
|
2220
2170
|
if (!response) this.$message.error('未查询到数据或者返回层级配置错误')
|
|
2221
2171
|
|
|
2222
2172
|
let result = {}
|
|
2223
2173
|
if (${a}) {
|
|
2224
|
-
const total = this.getAsVal(response, '${
|
|
2174
|
+
const total = this.getAsVal(response, '${o || "total"}')
|
|
2225
2175
|
if (total || total == 0) {
|
|
2226
2176
|
result.total = total
|
|
2227
2177
|
} else {
|
|
@@ -2289,14 +2239,12 @@ var Yt = function() {
|
|
|
2289
2239
|
Xt,
|
|
2290
2240
|
!1,
|
|
2291
2241
|
null,
|
|
2292
|
-
null,
|
|
2293
|
-
null,
|
|
2294
2242
|
null
|
|
2295
2243
|
);
|
|
2296
2244
|
const ea = Zt.exports, ta = ["year", "month", "week", "date", "datetime", "time", "daterange", "timerange", "datetimerange", "dates"], aa = {
|
|
2297
2245
|
name: "WidgetConfig",
|
|
2298
2246
|
components: {
|
|
2299
|
-
ConfigCustom:
|
|
2247
|
+
ConfigCustom: ne,
|
|
2300
2248
|
ConfigInput: ue,
|
|
2301
2249
|
ConfigTextarea: ge,
|
|
2302
2250
|
ConfigNumber: xe,
|
|
@@ -2435,13 +2383,11 @@ var la = function() {
|
|
|
2435
2383
|
ia,
|
|
2436
2384
|
!1,
|
|
2437
2385
|
null,
|
|
2438
|
-
null,
|
|
2439
|
-
null,
|
|
2440
2386
|
null
|
|
2441
2387
|
);
|
|
2442
|
-
const
|
|
2388
|
+
const oa = sa.exports, na = {
|
|
2443
2389
|
name: "FyFormDesign",
|
|
2444
|
-
components: { Draggable: g, WidgetForm: Y, FormConfig: ae, WidgetConfig:
|
|
2390
|
+
components: { Draggable: g, WidgetForm: Y, FormConfig: ae, WidgetConfig: oa, MonacoEditor: b },
|
|
2445
2391
|
mixins: [W],
|
|
2446
2392
|
props: {
|
|
2447
2393
|
options: {
|
|
@@ -2677,76 +2623,76 @@ const na = sa.exports, oa = {
|
|
|
2677
2623
|
for (const s in i)
|
|
2678
2624
|
C(i[s]) && delete i[s];
|
|
2679
2625
|
for (let s = 0; s < i.column.length; s++) {
|
|
2680
|
-
const
|
|
2681
|
-
if (e && (["change", "blur", "click", "focus"].forEach((
|
|
2682
|
-
n
|
|
2683
|
-
}),
|
|
2684
|
-
|
|
2685
|
-
})),
|
|
2686
|
-
|
|
2687
|
-
delete
|
|
2688
|
-
}), this.transformToAvueOptions(
|
|
2689
|
-
|
|
2626
|
+
const o = i.column[s];
|
|
2627
|
+
if (e && (["change", "blur", "click", "focus"].forEach((n) => {
|
|
2628
|
+
o[n] && (o[n] = h(`${o[n]}`.replace(/this/g, "_this")));
|
|
2629
|
+
}), o.event && Object.keys(o.event).forEach((n) => {
|
|
2630
|
+
o.event[n] = h(`${o.event[n]}`.replace(/this/g, "_this"));
|
|
2631
|
+
})), o.type === "dynamic" && o.children && o.children.column && o.children.column.length > 0)
|
|
2632
|
+
o.children.column.forEach((n) => {
|
|
2633
|
+
delete n.subfield;
|
|
2634
|
+
}), this.transformToAvueOptions(o.children, e).then((n) => {
|
|
2635
|
+
o.children = n;
|
|
2690
2636
|
});
|
|
2691
|
-
else if (
|
|
2637
|
+
else if (o.type === "group") {
|
|
2692
2638
|
i.group || (i.group = []);
|
|
2693
2639
|
const r = {
|
|
2694
|
-
label:
|
|
2695
|
-
icon:
|
|
2696
|
-
prop:
|
|
2697
|
-
arrow:
|
|
2698
|
-
collapse:
|
|
2699
|
-
display:
|
|
2640
|
+
label: o.label,
|
|
2641
|
+
icon: o.icon,
|
|
2642
|
+
prop: o.prop,
|
|
2643
|
+
arrow: o.arrow,
|
|
2644
|
+
collapse: o.collapse,
|
|
2645
|
+
display: o.display
|
|
2700
2646
|
};
|
|
2701
|
-
this.transformToAvueOptions(
|
|
2702
|
-
r.column =
|
|
2647
|
+
this.transformToAvueOptions(o.children, e).then((n) => {
|
|
2648
|
+
r.column = n.column, i.group.push(r);
|
|
2703
2649
|
}), i.column.splice(s, 1), s--;
|
|
2704
|
-
} else if (["checkbox", "radio", "tree", "cascader", "select"].includes(
|
|
2705
|
-
if (
|
|
2706
|
-
delete
|
|
2707
|
-
const { label: r, value:
|
|
2708
|
-
|
|
2650
|
+
} else if (["checkbox", "radio", "tree", "cascader", "select"].includes(o.type)) {
|
|
2651
|
+
if (o.dicOption === "static") {
|
|
2652
|
+
delete o.dicUrl, delete o.dicMethod, delete o.dicQuery, delete o.dicQueryConfig;
|
|
2653
|
+
const { label: r, value: n, desc: u } = o.props;
|
|
2654
|
+
o.dicData.forEach((d) => {
|
|
2709
2655
|
if (d.label) {
|
|
2710
2656
|
const f = d.label;
|
|
2711
2657
|
delete d.label, d[r] = f;
|
|
2712
2658
|
}
|
|
2713
2659
|
if (d.value) {
|
|
2714
2660
|
const f = d.value;
|
|
2715
|
-
delete d.value, d[
|
|
2661
|
+
delete d.value, d[n] = f;
|
|
2716
2662
|
}
|
|
2717
2663
|
if (d.desc) {
|
|
2718
2664
|
const f = d.desc;
|
|
2719
2665
|
delete d.desc, d[u] = f;
|
|
2720
2666
|
}
|
|
2721
2667
|
});
|
|
2722
|
-
} else if (
|
|
2723
|
-
if (delete
|
|
2668
|
+
} else if (o.dicOption === "remote")
|
|
2669
|
+
if (delete o.dicData, o.dicQueryConfig && o.dicQueryConfig.length > 0) {
|
|
2724
2670
|
const r = {};
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
}),
|
|
2671
|
+
o.dicQueryConfig.forEach((n) => {
|
|
2672
|
+
n.key && n.value && (r[n.key] = n.value);
|
|
2673
|
+
}), o.dicQuery = r, delete o.dicQueryConfig;
|
|
2728
2674
|
} else
|
|
2729
|
-
delete
|
|
2730
|
-
delete
|
|
2731
|
-
} else if (["upload"].includes(
|
|
2732
|
-
if (
|
|
2675
|
+
delete o.dicQueryConfig;
|
|
2676
|
+
delete o.dicOption;
|
|
2677
|
+
} else if (["upload"].includes(o.type)) {
|
|
2678
|
+
if (o.headersConfig && o.headersConfig.length > 0) {
|
|
2733
2679
|
const r = {};
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
}),
|
|
2680
|
+
o.headersConfig.forEach((n) => {
|
|
2681
|
+
n.key && n.value && (r[n.key] = n.value);
|
|
2682
|
+
}), o.headers = r;
|
|
2737
2683
|
} else
|
|
2738
|
-
delete
|
|
2739
|
-
if (delete
|
|
2684
|
+
delete o.headers;
|
|
2685
|
+
if (delete o.headersConfig, o.dataConfig && o.dataConfig.length > 0) {
|
|
2740
2686
|
const r = {};
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
}),
|
|
2687
|
+
o.dataConfig.forEach((n) => {
|
|
2688
|
+
n.key && n.value && (r[n.key] = n.value);
|
|
2689
|
+
}), o.data = r;
|
|
2744
2690
|
} else
|
|
2745
|
-
delete
|
|
2746
|
-
delete
|
|
2691
|
+
delete o.data;
|
|
2692
|
+
delete o.dataConfig;
|
|
2747
2693
|
}
|
|
2748
|
-
for (const r in
|
|
2749
|
-
C(
|
|
2694
|
+
for (const r in o)
|
|
2695
|
+
C(o[r]) && delete o[r];
|
|
2750
2696
|
}
|
|
2751
2697
|
t(i);
|
|
2752
2698
|
} catch (i) {
|
|
@@ -2762,44 +2708,44 @@ const na = sa.exports, oa = {
|
|
|
2762
2708
|
try {
|
|
2763
2709
|
if (e.column && e.column.length > 0 && e.column.forEach((i) => {
|
|
2764
2710
|
if (i.type === "dynamic" && i.children && i.children.column && i.children.column.length > 0)
|
|
2765
|
-
i.children.column.forEach((
|
|
2766
|
-
|
|
2767
|
-
}), this.transAvueOptionsToFormDesigner(i.children).then((
|
|
2768
|
-
i.children =
|
|
2711
|
+
i.children.column.forEach((o) => {
|
|
2712
|
+
o.subfield = !0;
|
|
2713
|
+
}), this.transAvueOptionsToFormDesigner(i.children).then((o) => {
|
|
2714
|
+
i.children = o;
|
|
2769
2715
|
});
|
|
2770
2716
|
else if (["checkbox", "radio", "tree", "cascader", "select"].includes(i.type)) {
|
|
2771
2717
|
if (!i.dicData && i.dicQuery && typeof i.dicQuery == "object") {
|
|
2772
2718
|
const s = [];
|
|
2773
|
-
for (const
|
|
2719
|
+
for (const o in i.dicQuery)
|
|
2774
2720
|
s.push({
|
|
2775
|
-
key:
|
|
2776
|
-
value: i.dicQuery[
|
|
2721
|
+
key: o,
|
|
2722
|
+
value: i.dicQuery[o],
|
|
2777
2723
|
$cellEdit: !0
|
|
2778
2724
|
});
|
|
2779
2725
|
i.dicQueryConfig = s;
|
|
2780
2726
|
}
|
|
2781
2727
|
i.dicUrl ? i.dicOption = "remote" : i.dicOption = "static", i.dicData ? i.props && i.dicData.forEach((s) => {
|
|
2782
|
-
const { label:
|
|
2783
|
-
if (
|
|
2784
|
-
const u = s[
|
|
2785
|
-
delete s[
|
|
2728
|
+
const { label: o, value: r, desc: n } = i.props;
|
|
2729
|
+
if (o) {
|
|
2730
|
+
const u = s[o];
|
|
2731
|
+
delete s[o], s.label = u;
|
|
2786
2732
|
}
|
|
2787
2733
|
if (r) {
|
|
2788
2734
|
const u = s[r];
|
|
2789
2735
|
delete s[r], s.value = u;
|
|
2790
2736
|
}
|
|
2791
|
-
if (
|
|
2792
|
-
const u = s[
|
|
2793
|
-
delete s[
|
|
2737
|
+
if (n) {
|
|
2738
|
+
const u = s[n];
|
|
2739
|
+
delete s[n], s.desc = u;
|
|
2794
2740
|
}
|
|
2795
2741
|
}) : i.dicData = [];
|
|
2796
2742
|
} else if (["upload"].includes(i.type)) {
|
|
2797
2743
|
if (i.headers && typeof i.headers == "object") {
|
|
2798
2744
|
const s = [];
|
|
2799
|
-
for (const
|
|
2745
|
+
for (const o in i.headers)
|
|
2800
2746
|
s.push({
|
|
2801
|
-
key:
|
|
2802
|
-
value: i.headers[
|
|
2747
|
+
key: o,
|
|
2748
|
+
value: i.headers[o],
|
|
2803
2749
|
$cellEdit: !0
|
|
2804
2750
|
});
|
|
2805
2751
|
i.headersConfig = s;
|
|
@@ -2807,10 +2753,10 @@ const na = sa.exports, oa = {
|
|
|
2807
2753
|
i.headersConfig = [];
|
|
2808
2754
|
if (i.data && typeof i.data == "object") {
|
|
2809
2755
|
const s = [];
|
|
2810
|
-
for (const
|
|
2756
|
+
for (const o in i.data)
|
|
2811
2757
|
s.push({
|
|
2812
|
-
key:
|
|
2813
|
-
value: i.data[
|
|
2758
|
+
key: o,
|
|
2759
|
+
value: i.data[o],
|
|
2814
2760
|
$cellEdit: !0
|
|
2815
2761
|
});
|
|
2816
2762
|
i.dataConfig = s;
|
|
@@ -2820,7 +2766,7 @@ const na = sa.exports, oa = {
|
|
|
2820
2766
|
}), e.group && e.group.length > 0) {
|
|
2821
2767
|
for (let i = 0; i < e.group.length; i++) {
|
|
2822
2768
|
e.column || (e.column = []);
|
|
2823
|
-
const s = e.group[i],
|
|
2769
|
+
const s = e.group[i], o = {
|
|
2824
2770
|
type: "group",
|
|
2825
2771
|
label: s.label,
|
|
2826
2772
|
icon: s.icon,
|
|
@@ -2830,7 +2776,7 @@ const na = sa.exports, oa = {
|
|
|
2830
2776
|
display: s.display
|
|
2831
2777
|
};
|
|
2832
2778
|
this.transAvueOptionsToFormDesigner(s).then((r) => {
|
|
2833
|
-
|
|
2779
|
+
o.children = r, e.column.push(o);
|
|
2834
2780
|
});
|
|
2835
2781
|
}
|
|
2836
2782
|
delete e.group;
|
|
@@ -2865,8 +2811,8 @@ const na = sa.exports, oa = {
|
|
|
2865
2811
|
var ra = function() {
|
|
2866
2812
|
var e = this, t = e._self._c;
|
|
2867
2813
|
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,
|
|
2869
|
-
return [t("li", { key: `c_${
|
|
2814
|
+
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) {
|
|
2815
|
+
return [t("li", { key: `c_${o}`, staticClass: "field-label" }, [t("a", { on: { click: function(r) {
|
|
2870
2816
|
return e.handleFieldClick(s);
|
|
2871
2817
|
} } }, [t("i", { staticClass: "icon iconfont", class: s.icon }), t("span", [e._v(e._s(s.title || s.label))])])])];
|
|
2872
2818
|
})], 2)];
|
|
@@ -2877,8 +2823,8 @@ var ra = function() {
|
|
|
2877
2823
|
return e.handleFieldClick(a);
|
|
2878
2824
|
} } }, [t("i", { class: a.icon }), t("span", { staticStyle: { "margin-left": "5px" } }, [e._v(e._s(a.title || a.label))])])])];
|
|
2879
2825
|
})], 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,
|
|
2881
|
-
return [e.includeFields.includes(s.type) ? t("li", { key: `c_${
|
|
2826
|
+
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) {
|
|
2827
|
+
return [e.includeFields.includes(s.type) ? t("li", { key: `c_${o}`, staticClass: "field-label" }, [t("a", { on: { click: function(r) {
|
|
2882
2828
|
return e.handleFieldClick(s);
|
|
2883
2829
|
} } }, [t("i", { staticClass: "icon iconfont", class: s.icon }), t("span", [e._v(e._s(s.title || s.label))])])]) : e._e()];
|
|
2884
2830
|
})], 2)] : e._e()], 2);
|
|
@@ -2930,13 +2876,11 @@ var ra = function() {
|
|
|
2930
2876
|
e.form = a;
|
|
2931
2877
|
}, 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
2878
|
}, ca = [], da = /* @__PURE__ */ c(
|
|
2933
|
-
|
|
2879
|
+
na,
|
|
2934
2880
|
ra,
|
|
2935
2881
|
ca,
|
|
2936
2882
|
!1,
|
|
2937
2883
|
null,
|
|
2938
|
-
null,
|
|
2939
|
-
null,
|
|
2940
2884
|
null
|
|
2941
2885
|
);
|
|
2942
2886
|
const ya = da.exports;
|
package/fy-form-design/style.css
CHANGED
|
@@ -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}
|