ef-design 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design.css +16 -0
- package/dist/{formDesign.es.js → design.es.js} +129 -115
- package/dist/{formDesign.umd.js → design.umd.js} +110 -110
- package/package.json +3 -3
- package/dist/formDesign.css +0 -16
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import require$$0$1, { reactive, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createCommentVNode, resolveComponent, createBlock,
|
|
20
|
+
import require$$0$1, { reactive, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createCommentVNode, resolveComponent, createBlock, withCtx, createVNode, createTextVNode, withKeys, Fragment, renderList, renderSlot, normalizeStyle, withModifiers, resolveDirective, withDirectives, createSlots, watch, ref, onBeforeUnmount, onMounted, onUnmounted, mergeProps, resolveDynamicComponent, vShow, defineComponent, isVNode } from "vue";
|
|
21
21
|
import { ElNotification, ElMessage } from "element-plus";
|
|
22
22
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
23
23
|
function getDefaultExportFromCjs(x) {
|
|
@@ -6390,8 +6390,8 @@ const _sfc_main$38 = {
|
|
|
6390
6390
|
inject: ["getBannedWidgets", "getDesignerConfig"],
|
|
6391
6391
|
data() {
|
|
6392
6392
|
return {
|
|
6393
|
-
|
|
6394
|
-
|
|
6393
|
+
position1: "",
|
|
6394
|
+
position2: "",
|
|
6395
6395
|
alwaysRequire: [
|
|
6396
6396
|
"coopName",
|
|
6397
6397
|
"settlementCoopName",
|
|
@@ -6427,15 +6427,24 @@ const _sfc_main$38 = {
|
|
|
6427
6427
|
this.loadWidgets();
|
|
6428
6428
|
},
|
|
6429
6429
|
mounted() {
|
|
6430
|
-
this.scrollerHeight = window.innerHeight - 56 + "px";
|
|
6431
|
-
addWindowResizeHandler(() => {
|
|
6432
|
-
this.$nextTick(() => {
|
|
6433
|
-
this.scrollerHeight = window.innerHeight - 56 + "px";
|
|
6434
|
-
});
|
|
6435
|
-
});
|
|
6436
6430
|
this.initData();
|
|
6437
6431
|
},
|
|
6438
6432
|
methods: {
|
|
6433
|
+
renderForm() {
|
|
6434
|
+
this.$nextTick(() => {
|
|
6435
|
+
var _a;
|
|
6436
|
+
((_a = this.selectedList) == null ? void 0 : _a.length) > 0 && this.selectedList.forEach((item) => {
|
|
6437
|
+
var _a2, _b;
|
|
6438
|
+
console.log(item);
|
|
6439
|
+
if ((_a2 = item.widgetList) == null ? void 0 : _a2.length) {
|
|
6440
|
+
console.log("--------\u5BBE\u5229", item.widgetList[0].options.name, this.alwaysRequire, this.alwaysRequire.includes(item.widgetList[0].options.name));
|
|
6441
|
+
if (((_b = item.widgetList[0].options) == null ? void 0 : _b.name) && this.alwaysRequire.includes(item.widgetList[0].options.name)) {
|
|
6442
|
+
item.widgetList[0].options.required = true;
|
|
6443
|
+
}
|
|
6444
|
+
}
|
|
6445
|
+
});
|
|
6446
|
+
});
|
|
6447
|
+
},
|
|
6439
6448
|
initData() {
|
|
6440
6449
|
if (this.title.includes("\u8FDB\u53E3")) {
|
|
6441
6450
|
this.alwaysRequire = [
|
|
@@ -6472,39 +6481,56 @@ const _sfc_main$38 = {
|
|
|
6472
6481
|
"arrivalDate"
|
|
6473
6482
|
];
|
|
6474
6483
|
}
|
|
6484
|
+
this.renderForm();
|
|
6475
6485
|
},
|
|
6476
|
-
|
|
6477
|
-
let
|
|
6478
|
-
if (
|
|
6479
|
-
|
|
6486
|
+
getPosition(n, search2, arr) {
|
|
6487
|
+
let id = "";
|
|
6488
|
+
if (n === 2) {
|
|
6489
|
+
arr.forEach((item, index2) => {
|
|
6480
6490
|
if (item.widgetList.length) {
|
|
6481
|
-
if (item.widgetList[0].options.label.
|
|
6482
|
-
if (!
|
|
6483
|
-
|
|
6491
|
+
if (item.widgetList[0].options.label.includes(search2)) {
|
|
6492
|
+
if (!id) {
|
|
6493
|
+
id = item.widgetList[0].options.name;
|
|
6484
6494
|
}
|
|
6485
6495
|
}
|
|
6486
6496
|
}
|
|
6487
6497
|
});
|
|
6488
|
-
}
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6498
|
+
}
|
|
6499
|
+
if (n === 1) {
|
|
6500
|
+
arr.forEach((item, index2) => {
|
|
6501
|
+
if (item.options.label.includes(search2)) {
|
|
6502
|
+
if (!id) {
|
|
6503
|
+
id = item.options.name;
|
|
6493
6504
|
}
|
|
6494
6505
|
}
|
|
6495
6506
|
});
|
|
6496
6507
|
}
|
|
6497
|
-
|
|
6498
|
-
let target = document.getElementById(value2);
|
|
6499
|
-
let parent = document.getElementById(parentDivBox);
|
|
6500
|
-
parent.scrollTo(0, target.offsetTop - parent.offsetTop);
|
|
6501
|
-
}
|
|
6502
|
-
},
|
|
6503
|
-
waitSelectValueBlur() {
|
|
6504
|
-
this.quickLocation(this.waitSelectValue, this.noSelectedList, "waitSelect", false);
|
|
6508
|
+
return id;
|
|
6505
6509
|
},
|
|
6506
|
-
|
|
6507
|
-
|
|
6510
|
+
scrollToView(n) {
|
|
6511
|
+
var _a;
|
|
6512
|
+
let txt = this["position" + n];
|
|
6513
|
+
let arr = n === 1 ? this.noSelectedList : this.selectedList;
|
|
6514
|
+
let _X_ID = this.getPosition(n, txt, arr);
|
|
6515
|
+
if (n === 1 && "\u5206\u5272\u7EBF".includes(txt)) {
|
|
6516
|
+
let parent = this.$refs["list_1"];
|
|
6517
|
+
parent.scrollTo({
|
|
6518
|
+
top: 0,
|
|
6519
|
+
behavior: "smooth"
|
|
6520
|
+
});
|
|
6521
|
+
}
|
|
6522
|
+
if (!!_X_ID) {
|
|
6523
|
+
let target = document.querySelector("#" + _X_ID);
|
|
6524
|
+
let parent = this.$refs["list_" + n];
|
|
6525
|
+
let tTop = (target == null ? void 0 : target.offsetTop) || 0;
|
|
6526
|
+
let pTop = ((_a = parent == null ? void 0 : parent.$el) == null ? void 0 : _a.offsetTop) || 0;
|
|
6527
|
+
this.$nextTick(() => {
|
|
6528
|
+
parent.scrollTo({
|
|
6529
|
+
top: tTop - pTop - 50,
|
|
6530
|
+
behavior: "smooth"
|
|
6531
|
+
});
|
|
6532
|
+
});
|
|
6533
|
+
}
|
|
6508
6534
|
},
|
|
6509
6535
|
drawingItemDelete(index2, list, listKey) {
|
|
6510
6536
|
if (list[index2].options.name === "coopName" || list[index2].options.name === "salesName" || list[index2].options.name === "expectDeparture" || list[index2].options.name === "controllerName" || list[index2].options.name === "routingPersonName" || list[index2].options.name === "servicerName") {
|
|
@@ -6638,19 +6664,24 @@ const _sfc_main$38 = {
|
|
|
6638
6664
|
const _hoisted_1$D = { class: "panel-container" };
|
|
6639
6665
|
const _hoisted_2$p = ["title", "onDblclick"];
|
|
6640
6666
|
const _hoisted_3$l = { class: "search-item-input" };
|
|
6641
|
-
const _hoisted_4$e = {
|
|
6667
|
+
const _hoisted_4$e = {
|
|
6668
|
+
class: "center-box",
|
|
6669
|
+
ref: "list_1"
|
|
6670
|
+
};
|
|
6642
6671
|
const _hoisted_5$c = ["title", "onDblclick", "id"];
|
|
6643
6672
|
const _hoisted_6$b = { class: "search-item-input" };
|
|
6644
|
-
const _hoisted_7$8 = {
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
const
|
|
6649
|
-
const
|
|
6673
|
+
const _hoisted_7$8 = {
|
|
6674
|
+
class: "selected-box",
|
|
6675
|
+
ref: "list_2"
|
|
6676
|
+
};
|
|
6677
|
+
const _hoisted_8$5 = ["id"];
|
|
6678
|
+
const _hoisted_9$3 = { key: 0 };
|
|
6679
|
+
const _hoisted_10$2 = ["onClick"];
|
|
6680
|
+
const _hoisted_11$2 = {
|
|
6650
6681
|
key: 1,
|
|
6651
6682
|
style: { "padding": "12px" }
|
|
6652
6683
|
};
|
|
6653
|
-
const
|
|
6684
|
+
const _hoisted_12$1 = ["onClick"];
|
|
6654
6685
|
function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6655
6686
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
6656
6687
|
const _component_draggable = resolveComponent("draggable");
|
|
@@ -6659,15 +6690,12 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6659
6690
|
const _component_el_button = resolveComponent("el-button");
|
|
6660
6691
|
const _component_el_collapse = resolveComponent("el-collapse");
|
|
6661
6692
|
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
6662
|
-
return openBlock(), createBlock(_component_el_scrollbar, {
|
|
6663
|
-
class: "side-scroll-bar",
|
|
6664
|
-
style: normalizeStyle({ height: $data.scrollerHeight })
|
|
6665
|
-
}, {
|
|
6693
|
+
return openBlock(), createBlock(_component_el_scrollbar, { class: "side-scroll-bar" }, {
|
|
6666
6694
|
default: withCtx(() => [
|
|
6667
6695
|
createElementVNode("div", _hoisted_1$D, [
|
|
6668
6696
|
createVNode(_component_el_collapse, {
|
|
6669
6697
|
modelValue: $data.activeNames,
|
|
6670
|
-
"onUpdate:modelValue": _cache[
|
|
6698
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.activeNames = $event),
|
|
6671
6699
|
class: "widget-collapse"
|
|
6672
6700
|
}, {
|
|
6673
6701
|
default: withCtx(() => [
|
|
@@ -6716,12 +6744,12 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6716
6744
|
createElementVNode("div", _hoisted_3$l, [
|
|
6717
6745
|
createVNode(_component_el_input, {
|
|
6718
6746
|
placeholder: "\u641C\u7D22\u5173\u952E\u5B57",
|
|
6719
|
-
modelValue: $data.
|
|
6720
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.
|
|
6747
|
+
modelValue: $data.position1,
|
|
6748
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.position1 = $event),
|
|
6721
6749
|
class: "input-with-select",
|
|
6722
|
-
onBlur: $options.
|
|
6723
|
-
onKeyup: withKeys($options.
|
|
6724
|
-
}, null, 8, ["modelValue"
|
|
6750
|
+
onBlur: _cache[1] || (_cache[1] = ($event) => $options.scrollToView(1)),
|
|
6751
|
+
onKeyup: _cache[2] || (_cache[2] = withKeys(($event) => $options.scrollToView(1), ["enter", "native"]))
|
|
6752
|
+
}, null, 8, ["modelValue"])
|
|
6725
6753
|
]),
|
|
6726
6754
|
createElementVNode("div", _hoisted_4$e, [
|
|
6727
6755
|
createVNode(_component_draggable, {
|
|
@@ -6732,17 +6760,16 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6732
6760
|
move: $options.checkFieldMove,
|
|
6733
6761
|
clone: $options.handleFieldWidgetClone,
|
|
6734
6762
|
"ghost-class": "ghost",
|
|
6735
|
-
sort: false
|
|
6736
|
-
id: "waitSelect"
|
|
6763
|
+
sort: false
|
|
6737
6764
|
}, {
|
|
6738
|
-
item: withCtx(({ element: fld }) => {
|
|
6765
|
+
item: withCtx(({ element: fld, index: index2 }) => {
|
|
6739
6766
|
var _a, _b, _c;
|
|
6740
6767
|
return [
|
|
6741
6768
|
createElementVNode("li", {
|
|
6742
6769
|
class: "field-widget-item",
|
|
6743
6770
|
title: (_a = fld.options) == null ? void 0 : _a.label,
|
|
6744
6771
|
onDblclick: ($event) => $options.addFieldByDbClick(fld),
|
|
6745
|
-
id: (_b = fld.options) == null ? void 0 : _b.name
|
|
6772
|
+
id: ((_b = fld.options) == null ? void 0 : _b.name) || "divider"
|
|
6746
6773
|
}, [
|
|
6747
6774
|
createElementVNode("span", null, [
|
|
6748
6775
|
createVNode(_component_svg_icon, {
|
|
@@ -6756,7 +6783,7 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6756
6783
|
}),
|
|
6757
6784
|
_: 1
|
|
6758
6785
|
}, 8, ["list", "move", "clone"])
|
|
6759
|
-
])
|
|
6786
|
+
], 512)
|
|
6760
6787
|
]),
|
|
6761
6788
|
_: 1
|
|
6762
6789
|
}),
|
|
@@ -6769,30 +6796,30 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6769
6796
|
createElementVNode("div", _hoisted_6$b, [
|
|
6770
6797
|
createVNode(_component_el_input, {
|
|
6771
6798
|
placeholder: "\u641C\u7D22\u5173\u952E\u5B57",
|
|
6772
|
-
modelValue: $data.
|
|
6773
|
-
"onUpdate:modelValue": _cache[
|
|
6799
|
+
modelValue: $data.position2,
|
|
6800
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.position2 = $event),
|
|
6774
6801
|
class: "input-with-select",
|
|
6775
|
-
onBlur: $options.
|
|
6776
|
-
onKeyup: withKeys($options.
|
|
6777
|
-
}, null, 8, ["modelValue"
|
|
6802
|
+
onBlur: _cache[4] || (_cache[4] = ($event) => $options.scrollToView(2)),
|
|
6803
|
+
onKeyup: _cache[5] || (_cache[5] = withKeys(($event) => $options.scrollToView(2), ["enter", "native"]))
|
|
6804
|
+
}, null, 8, ["modelValue"])
|
|
6778
6805
|
]),
|
|
6779
6806
|
createElementVNode("div", _hoisted_7$8, [
|
|
6780
|
-
createElementVNode("ul",
|
|
6807
|
+
createElementVNode("ul", null, [
|
|
6781
6808
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.selectedList, (item, index2) => {
|
|
6782
6809
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
6783
|
-
return openBlock(), createElementBlock("
|
|
6810
|
+
return openBlock(), createElementBlock("p", {
|
|
6784
6811
|
key: index2,
|
|
6785
|
-
class: "selected-
|
|
6812
|
+
class: "selected-p",
|
|
6786
6813
|
id: (_b = (_a = item.widgetList[0]) == null ? void 0 : _a.options) == null ? void 0 : _b.name
|
|
6787
6814
|
}, [
|
|
6788
|
-
item.widgetList.length > 0 ? (openBlock(), createElementBlock("li",
|
|
6815
|
+
item.widgetList.length > 0 ? (openBlock(), createElementBlock("li", _hoisted_9$3, [
|
|
6789
6816
|
createElementVNode("span", null, [
|
|
6790
6817
|
$data.alwaysRequire.indexOf((_d = (_c = item.widgetList[0]) == null ? void 0 : _c.options) == null ? void 0 : _d.name) == -1 ? (openBlock(), createElementBlock("img", {
|
|
6791
6818
|
key: 0,
|
|
6792
6819
|
class: "del-img",
|
|
6793
6820
|
src: _imports_0,
|
|
6794
6821
|
onClick: ($event) => $options.drawingItemDelete(index2, $props.selectedList, "formDataNoselected")
|
|
6795
|
-
}, null, 8,
|
|
6822
|
+
}, null, 8, _hoisted_10$2)) : (openBlock(), createElementBlock("span", _hoisted_11$2)),
|
|
6796
6823
|
createTextVNode(" " + toDisplayString((_f = (_e = item.widgetList[0]) == null ? void 0 : _e.options) == null ? void 0 : _f.label), 1)
|
|
6797
6824
|
]),
|
|
6798
6825
|
createElementVNode("span", null, [
|
|
@@ -6805,7 +6832,7 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6805
6832
|
}),
|
|
6806
6833
|
onClick: ($event) => $options.setRequired(item, index2)
|
|
6807
6834
|
}, {
|
|
6808
|
-
default: withCtx(() => _cache[
|
|
6835
|
+
default: withCtx(() => _cache[7] || (_cache[7] = [
|
|
6809
6836
|
createTextVNode(" \u5FC5\u586B ")
|
|
6810
6837
|
])),
|
|
6811
6838
|
_: 2
|
|
@@ -6818,7 +6845,7 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6818
6845
|
}),
|
|
6819
6846
|
onClick: ($event) => $options.setRemind(item, index2)
|
|
6820
6847
|
}, {
|
|
6821
|
-
default: withCtx(() => _cache[
|
|
6848
|
+
default: withCtx(() => _cache[8] || (_cache[8] = [
|
|
6822
6849
|
createTextVNode(" \u63D0\u9192 ")
|
|
6823
6850
|
])),
|
|
6824
6851
|
_: 2
|
|
@@ -6832,7 +6859,7 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6832
6859
|
class: "del-img",
|
|
6833
6860
|
src: _imports_0,
|
|
6834
6861
|
onClick: ($event) => $options.drawingItemDelete(index1, item.options.children, "children")
|
|
6835
|
-
}, null, 8,
|
|
6862
|
+
}, null, 8, _hoisted_12$1),
|
|
6836
6863
|
createTextVNode(" " + toDisplayString(item1.options.label), 1)
|
|
6837
6864
|
]),
|
|
6838
6865
|
createElementVNode("span", null, [
|
|
@@ -6844,7 +6871,7 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6844
6871
|
}),
|
|
6845
6872
|
onClick: ($event) => $options.setRequired(item1, index1)
|
|
6846
6873
|
}, {
|
|
6847
|
-
default: withCtx(() => _cache[
|
|
6874
|
+
default: withCtx(() => _cache[9] || (_cache[9] = [
|
|
6848
6875
|
createTextVNode(" \u5FC5\u586B ")
|
|
6849
6876
|
])),
|
|
6850
6877
|
_: 2
|
|
@@ -6852,10 +6879,10 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6852
6879
|
])
|
|
6853
6880
|
]);
|
|
6854
6881
|
}), 128)) : createCommentVNode("", true)
|
|
6855
|
-
], 8,
|
|
6882
|
+
], 8, _hoisted_8$5);
|
|
6856
6883
|
}), 128))
|
|
6857
6884
|
])
|
|
6858
|
-
])
|
|
6885
|
+
], 512)
|
|
6859
6886
|
]),
|
|
6860
6887
|
_: 1
|
|
6861
6888
|
})
|
|
@@ -6865,9 +6892,9 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6865
6892
|
])
|
|
6866
6893
|
]),
|
|
6867
6894
|
_: 1
|
|
6868
|
-
}
|
|
6895
|
+
});
|
|
6869
6896
|
}
|
|
6870
|
-
var WidgetPanel = /* @__PURE__ */ _export_sfc$1(_sfc_main$38, [["render", _sfc_render$38], ["__scopeId", "data-v-
|
|
6897
|
+
var WidgetPanel = /* @__PURE__ */ _export_sfc$1(_sfc_main$38, [["render", _sfc_render$38], ["__scopeId", "data-v-39d7a0e8"]]);
|
|
6871
6898
|
var emitter = {
|
|
6872
6899
|
data() {
|
|
6873
6900
|
return {
|
|
@@ -23132,8 +23159,8 @@ var ContainerItems = {
|
|
|
23132
23159
|
};
|
|
23133
23160
|
var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
|
|
23134
23161
|
const _sfc_main$2C = {
|
|
23135
|
-
name: "
|
|
23136
|
-
componentName: "
|
|
23162
|
+
name: "FormRender",
|
|
23163
|
+
componentName: "FormRender",
|
|
23137
23164
|
mixins: [emitter, i18n$1],
|
|
23138
23165
|
components: __spreadValues({}, comps$1),
|
|
23139
23166
|
props: {
|
|
@@ -23714,7 +23741,7 @@ function _sfc_render$2C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23714
23741
|
_: 3
|
|
23715
23742
|
}, 8, ["label-position", "size", "class", "label-width", "model"]);
|
|
23716
23743
|
}
|
|
23717
|
-
var FormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2C, [["render", _sfc_render$2C], ["__scopeId", "data-v-
|
|
23744
|
+
var FormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2C, [["render", _sfc_render$2C], ["__scopeId", "data-v-1bb4cc1a"]]);
|
|
23718
23745
|
var ace$2 = { exports: {} };
|
|
23719
23746
|
(function(module, exports) {
|
|
23720
23747
|
(function() {
|
|
@@ -48472,15 +48499,15 @@ const genScopedCSS = function(formConfig2, vue3Flag = false) {
|
|
|
48472
48499
|
div.tab-container {
|
|
48473
48500
|
}
|
|
48474
48501
|
|
|
48475
|
-
.label-left-align ${!!vue3Flag ? `:deep(.el-form-item__label)` :
|
|
48502
|
+
.label-left-align ${!!vue3Flag ? `:deep(.el-form-item__label)` : `:deep(.el-form-item__label)`} {
|
|
48476
48503
|
text-align: left;
|
|
48477
48504
|
}
|
|
48478
48505
|
|
|
48479
|
-
.label-center-align ${!!vue3Flag ? `:deep(.el-form-item__label)` :
|
|
48506
|
+
.label-center-align ${!!vue3Flag ? `:deep(.el-form-item__label)` : `:deep(.el-form-item__label)`} {
|
|
48480
48507
|
text-align: center;
|
|
48481
48508
|
}
|
|
48482
48509
|
|
|
48483
|
-
.label-right-align ${!!vue3Flag ? `:deep(.el-form-item__label)` :
|
|
48510
|
+
.label-right-align ${!!vue3Flag ? `:deep(.el-form-item__label)` : `:deep(.el-form-item__label)`} {
|
|
48484
48511
|
text-align: right;
|
|
48485
48512
|
}
|
|
48486
48513
|
|
|
@@ -48492,7 +48519,7 @@ const genScopedCSS = function(formConfig2, vue3Flag = false) {
|
|
|
48492
48519
|
display: flex;
|
|
48493
48520
|
align-items: center;
|
|
48494
48521
|
|
|
48495
|
-
${!!vue3Flag ? `:deep(.el-divider--horizontal)` :
|
|
48522
|
+
${!!vue3Flag ? `:deep(.el-divider--horizontal)` : `:deep(.el-divider--horizontal)`} {
|
|
48496
48523
|
margin: 0;
|
|
48497
48524
|
}
|
|
48498
48525
|
}`;
|
|
@@ -52036,7 +52063,7 @@ function _sfc_render$1L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
52036
52063
|
_: 1
|
|
52037
52064
|
}, 8, ["label"])) : createCommentVNode("", true);
|
|
52038
52065
|
}
|
|
52039
|
-
var textAlignEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1L, [["render", _sfc_render$1L], ["__scopeId", "data-v-
|
|
52066
|
+
var textAlignEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1L, [["render", _sfc_render$1L], ["__scopeId", "data-v-f9cc7378"]]);
|
|
52040
52067
|
var __glob_0_51 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
52041
52068
|
__proto__: null,
|
|
52042
52069
|
"default": textAlignEditor
|
|
@@ -59532,55 +59559,42 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
59532
59559
|
const _component_v_form_widget = resolveComponent("v-form-widget");
|
|
59533
59560
|
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
59534
59561
|
const _component_el_main = resolveComponent("el-main");
|
|
59535
|
-
const _component_el_container = resolveComponent("el-container");
|
|
59536
59562
|
const _component_widget_panel = resolveComponent("widget-panel");
|
|
59537
59563
|
const _component_el_aside = resolveComponent("el-aside");
|
|
59538
|
-
|
|
59564
|
+
const _component_el_container = resolveComponent("el-container");
|
|
59565
|
+
return openBlock(), createBlock(_component_el_container, { class: "main-container full-height main-design" }, {
|
|
59539
59566
|
default: withCtx(() => [
|
|
59540
|
-
createVNode(
|
|
59567
|
+
createVNode(_component_el_main, { class: "form-widget-main main-design-left" }, {
|
|
59541
59568
|
default: withCtx(() => [
|
|
59542
|
-
createVNode(
|
|
59543
|
-
default: withCtx(() => [
|
|
59544
|
-
createVNode(_component_el_main, { class: "form-widget-main" }, {
|
|
59545
|
-
default: withCtx(() => [
|
|
59546
|
-
createVNode(_component_el_scrollbar, {
|
|
59547
|
-
class: "container-scroll-bar",
|
|
59548
|
-
style: normalizeStyle({ height: $data.scrollerHeight })
|
|
59549
|
-
}, {
|
|
59550
|
-
default: withCtx(() => [
|
|
59551
|
-
createVNode(_component_v_form_widget, {
|
|
59552
|
-
designer: $data.designer,
|
|
59553
|
-
"form-config": $data.designer.formConfig,
|
|
59554
|
-
"global-dsv": $props.globalDsv,
|
|
59555
|
-
ref: "formRef"
|
|
59556
|
-
}, null, 8, ["designer", "form-config", "global-dsv"])
|
|
59557
|
-
]),
|
|
59558
|
-
_: 1
|
|
59559
|
-
}, 8, ["style"])
|
|
59560
|
-
]),
|
|
59561
|
-
_: 1
|
|
59562
|
-
})
|
|
59563
|
-
]),
|
|
59564
|
-
_: 1
|
|
59565
|
-
}),
|
|
59566
|
-
createVNode(_component_el_aside, { class: "side-panel" }, {
|
|
59569
|
+
createVNode(_component_el_scrollbar, { class: "container-scroll-bar" }, {
|
|
59567
59570
|
default: withCtx(() => [
|
|
59568
|
-
createVNode(
|
|
59571
|
+
createVNode(_component_v_form_widget, {
|
|
59569
59572
|
designer: $data.designer,
|
|
59570
|
-
"
|
|
59571
|
-
"
|
|
59572
|
-
|
|
59573
|
+
"form-config": $data.designer.formConfig,
|
|
59574
|
+
"global-dsv": $props.globalDsv,
|
|
59575
|
+
ref: "formRef"
|
|
59576
|
+
}, null, 8, ["designer", "form-config", "global-dsv"])
|
|
59573
59577
|
]),
|
|
59574
59578
|
_: 1
|
|
59575
59579
|
})
|
|
59576
59580
|
]),
|
|
59577
59581
|
_: 1
|
|
59582
|
+
}),
|
|
59583
|
+
createVNode(_component_el_aside, { class: "side-panel main-design-right" }, {
|
|
59584
|
+
default: withCtx(() => [
|
|
59585
|
+
createVNode(_component_widget_panel, {
|
|
59586
|
+
designer: $data.designer,
|
|
59587
|
+
"selected-list": $data.selectedList,
|
|
59588
|
+
"no-selected-list": $data.noSelectedList
|
|
59589
|
+
}, null, 8, ["designer", "selected-list", "no-selected-list"])
|
|
59590
|
+
]),
|
|
59591
|
+
_: 1
|
|
59578
59592
|
})
|
|
59579
59593
|
]),
|
|
59580
59594
|
_: 1
|
|
59581
59595
|
});
|
|
59582
59596
|
}
|
|
59583
|
-
var FormDesign = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-
|
|
59597
|
+
var FormDesign = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-03ef212d"]]);
|
|
59584
59598
|
var vuedraggable_umd = { exports: {} };
|
|
59585
59599
|
/**!
|
|
59586
59600
|
* Sortable 1.14.0
|
|
@@ -65504,13 +65518,13 @@ function registerIcon(app) {
|
|
|
65504
65518
|
if (typeof window !== "undefined") {
|
|
65505
65519
|
let loadSvg = function() {
|
|
65506
65520
|
var body = document.body;
|
|
65507
|
-
var svgDom = document.getElementById("
|
|
65521
|
+
var svgDom = document.getElementById("__svg__icons__dom__1726211813252__");
|
|
65508
65522
|
if (!svgDom) {
|
|
65509
65523
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
65510
65524
|
svgDom.style.position = "absolute";
|
|
65511
65525
|
svgDom.style.width = "0";
|
|
65512
65526
|
svgDom.style.height = "0";
|
|
65513
|
-
svgDom.id = "
|
|
65527
|
+
svgDom.id = "__svg__icons__dom__1726211813252__";
|
|
65514
65528
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
65515
65529
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
65516
65530
|
}
|