yuanjia-form-pro-standard 1.1.6-beta7.4 → 1.1.6-beta7.6
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/designer.es.js +16 -17
- package/designer.style.css +1 -1
- package/designer.umd.js +2 -2
- package/package.json +1 -1
package/designer.es.js
CHANGED
|
@@ -179462,8 +179462,7 @@ const _sfc_main$4l = {
|
|
|
179462
179462
|
changeEventTriggerFlag: false,
|
|
179463
179463
|
changeEventOnCreatedDisabledFlag: false,
|
|
179464
179464
|
dsResultCache: {},
|
|
179465
|
-
formLoading: false
|
|
179466
|
-
loadingCounter: 0
|
|
179465
|
+
formLoading: false
|
|
179467
179466
|
};
|
|
179468
179467
|
},
|
|
179469
179468
|
computed: {
|
|
@@ -179533,19 +179532,10 @@ const _sfc_main$4l = {
|
|
|
179533
179532
|
},
|
|
179534
179533
|
methods: {
|
|
179535
179534
|
startFormLoading() {
|
|
179536
|
-
this.
|
|
179537
|
-
if (this.loadingCounter === 1) {
|
|
179538
|
-
this.formLoading = true;
|
|
179539
|
-
}
|
|
179535
|
+
this.formLoading = true;
|
|
179540
179536
|
},
|
|
179541
179537
|
stopFormLoading() {
|
|
179542
|
-
this.
|
|
179543
|
-
if (this.loadingCounter <= 0) {
|
|
179544
|
-
this.loadingCounter = 0;
|
|
179545
|
-
this.$nextTick(() => {
|
|
179546
|
-
this.formLoading = false;
|
|
179547
|
-
});
|
|
179548
|
-
}
|
|
179538
|
+
this.formLoading = false;
|
|
179549
179539
|
},
|
|
179550
179540
|
isImageFile(url) {
|
|
179551
179541
|
if (!url || typeof url !== "string") {
|
|
@@ -180724,7 +180714,7 @@ const _sfc_main$4l = {
|
|
|
180724
180714
|
}
|
|
180725
180715
|
const field = matchedField.field;
|
|
180726
180716
|
const fieldType = field.type;
|
|
180727
|
-
if (fieldType !== "select" && fieldType !== "DIYselect") {
|
|
180717
|
+
if (fieldType !== "select" && fieldType !== "DIYselect" && fieldType !== "DIYorgLinkage") {
|
|
180728
180718
|
return;
|
|
180729
180719
|
}
|
|
180730
180720
|
if (!field.options.optionItems) {
|
|
@@ -180749,6 +180739,15 @@ const _sfc_main$4l = {
|
|
|
180749
180739
|
disabled: false
|
|
180750
180740
|
});
|
|
180751
180741
|
}
|
|
180742
|
+
} else if (fieldType === "DIYorgLinkage") {
|
|
180743
|
+
exists = field.options.optionItems.some((item) => item.value === value2);
|
|
180744
|
+
if (!exists) {
|
|
180745
|
+
field.options.optionItems.push({
|
|
180746
|
+
label: content2,
|
|
180747
|
+
value: value2,
|
|
180748
|
+
disabled: false
|
|
180749
|
+
});
|
|
180750
|
+
}
|
|
180752
180751
|
}
|
|
180753
180752
|
});
|
|
180754
180753
|
}
|
|
@@ -181429,7 +181428,7 @@ function _sfc_render$4l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
181429
181428
|
[_directive_loading, $data.formLoading]
|
|
181430
181429
|
]);
|
|
181431
181430
|
}
|
|
181432
|
-
var VFormRender = /* @__PURE__ */ _export_sfc(_sfc_main$4l, [["render", _sfc_render$4l], ["__scopeId", "data-v-
|
|
181431
|
+
var VFormRender = /* @__PURE__ */ _export_sfc(_sfc_main$4l, [["render", _sfc_render$4l], ["__scopeId", "data-v-2bfaa836"]]);
|
|
181433
181432
|
var ace$2 = { exports: {} };
|
|
181434
181433
|
(function(module, exports) {
|
|
181435
181434
|
(function() {
|
|
@@ -240747,13 +240746,13 @@ var Draggable = /* @__PURE__ */ getDefaultExportFromCjs(vuedraggable_umd.exports
|
|
|
240747
240746
|
if (typeof window !== "undefined") {
|
|
240748
240747
|
let loadSvg = function() {
|
|
240749
240748
|
var body = document.body;
|
|
240750
|
-
var svgDom = document.getElementById("
|
|
240749
|
+
var svgDom = document.getElementById("__svg__icons__dom__1768378904872__");
|
|
240751
240750
|
if (!svgDom) {
|
|
240752
240751
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
240753
240752
|
svgDom.style.position = "absolute";
|
|
240754
240753
|
svgDom.style.width = "0";
|
|
240755
240754
|
svgDom.style.height = "0";
|
|
240756
|
-
svgDom.id = "
|
|
240755
|
+
svgDom.id = "__svg__icons__dom__1768378904872__";
|
|
240757
240756
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
240758
240757
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
240759
240758
|
}
|