form-custom-test 3.0.250 → 3.0.251
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/designer.es.js +13 -3
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +97 -97
- package/dist/render.es.js +13 -3
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +68 -68
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -69630,13 +69630,13 @@ function registerIcon(app) {
|
|
|
69630
69630
|
if (typeof window !== "undefined") {
|
|
69631
69631
|
let loadSvg = function() {
|
|
69632
69632
|
var body = document.body;
|
|
69633
|
-
var svgDom = document.getElementById("
|
|
69633
|
+
var svgDom = document.getElementById("__svg__icons__dom__1789891569921__");
|
|
69634
69634
|
if (!svgDom) {
|
|
69635
69635
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
69636
69636
|
svgDom.style.position = "absolute";
|
|
69637
69637
|
svgDom.style.width = "0";
|
|
69638
69638
|
svgDom.style.height = "0";
|
|
69639
|
-
svgDom.id = "
|
|
69639
|
+
svgDom.id = "__svg__icons__dom__1789891569921__";
|
|
69640
69640
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
69641
69641
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
69642
69642
|
}
|
|
@@ -83822,6 +83822,8 @@ const _sfc_main$b = {
|
|
|
83822
83822
|
try {
|
|
83823
83823
|
const formValues = await renderRef.getFormData(true);
|
|
83824
83824
|
console.log(formValues, "formValues");
|
|
83825
|
+
formValues.contractTermStart = formValues.rentContractTerm[0];
|
|
83826
|
+
formValues.contractTermEnd = formValues.rentContractTerm[1];
|
|
83825
83827
|
this.$emit("confirm", formValues);
|
|
83826
83828
|
this.dialogVisible = false;
|
|
83827
83829
|
} catch (e) {
|
|
@@ -83888,7 +83890,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
83888
83890
|
_: 1
|
|
83889
83891
|
}, 8, ["modelValue", "title", "onClose"]);
|
|
83890
83892
|
}
|
|
83891
|
-
var LeaseDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-
|
|
83893
|
+
var LeaseDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-5d97b9d6"]]);
|
|
83892
83894
|
var index_vue_vue_type_style_index_0_lang = "";
|
|
83893
83895
|
const _sfc_main$a = {
|
|
83894
83896
|
name: "lease-table-widget",
|
|
@@ -84057,6 +84059,10 @@ const _sfc_main$a = {
|
|
|
84057
84059
|
this.dialogMode = "edit";
|
|
84058
84060
|
this.dialogDisabled = false;
|
|
84059
84061
|
this.dialogData = lodash.exports.cloneDeep(this.fieldModel[index2]);
|
|
84062
|
+
const { contractTermStart, contractTermEnd } = this.dialogData;
|
|
84063
|
+
if (contractTermStart && contractTermEnd) {
|
|
84064
|
+
this.dialogData.rentContractTerm = [contractTermStart, contractTermEnd];
|
|
84065
|
+
}
|
|
84060
84066
|
this.triggerEvent("onOpen", this.dialogData);
|
|
84061
84067
|
this.dialogVisible = true;
|
|
84062
84068
|
},
|
|
@@ -84068,6 +84074,10 @@ const _sfc_main$a = {
|
|
|
84068
84074
|
this.dialogMode = "view";
|
|
84069
84075
|
this.dialogDisabled = true;
|
|
84070
84076
|
this.dialogData = lodash.exports.cloneDeep(this.fieldModel[index2]);
|
|
84077
|
+
const { contractTermStart, contractTermEnd } = this.dialogData;
|
|
84078
|
+
if (contractTermStart && contractTermEnd) {
|
|
84079
|
+
this.dialogData.rentContractTerm = [contractTermStart, contractTermEnd];
|
|
84080
|
+
}
|
|
84071
84081
|
this.triggerEvent("onOpen", this.dialogData);
|
|
84072
84082
|
this.dialogVisible = true;
|
|
84073
84083
|
},
|