form-custom-test 3.0.202 → 3.0.204
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 +12 -13
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +12 -13
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -26517,13 +26517,13 @@ function registerIcon(app) {
|
|
|
26517
26517
|
if (typeof window !== "undefined") {
|
|
26518
26518
|
let loadSvg = function() {
|
|
26519
26519
|
var body = document.body;
|
|
26520
|
-
var svgDom = document.getElementById("
|
|
26520
|
+
var svgDom = document.getElementById("__svg__icons__dom__1780883984113__");
|
|
26521
26521
|
if (!svgDom) {
|
|
26522
26522
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26523
26523
|
svgDom.style.position = "absolute";
|
|
26524
26524
|
svgDom.style.width = "0";
|
|
26525
26525
|
svgDom.style.height = "0";
|
|
26526
|
-
svgDom.id = "
|
|
26526
|
+
svgDom.id = "__svg__icons__dom__1780883984113__";
|
|
26527
26527
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26528
26528
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26529
26529
|
}
|
|
@@ -36373,10 +36373,6 @@ const _sfc_main$d = {
|
|
|
36373
36373
|
}
|
|
36374
36374
|
this.dialogFormData = formData;
|
|
36375
36375
|
this.initDialogFormRules();
|
|
36376
|
-
this.$nextTick(() => {
|
|
36377
|
-
var _a;
|
|
36378
|
-
(_a = this.$refs.dialogFormRef) == null ? void 0 : _a.clearValidate();
|
|
36379
|
-
});
|
|
36380
36376
|
},
|
|
36381
36377
|
initDialogFormRules() {
|
|
36382
36378
|
const rules = {};
|
|
@@ -36488,14 +36484,15 @@ const _sfc_main$d = {
|
|
|
36488
36484
|
}
|
|
36489
36485
|
});
|
|
36490
36486
|
},
|
|
36487
|
+
handleDialogOpened() {
|
|
36488
|
+
var _a;
|
|
36489
|
+
(_a = this.$refs.dialogFormRef) == null ? void 0 : _a.clearValidate();
|
|
36490
|
+
},
|
|
36491
36491
|
handleDialogClose() {
|
|
36492
36492
|
var _a;
|
|
36493
|
-
(_a = this.$refs.dialogFormRef) == null ? void 0 : _a.
|
|
36493
|
+
(_a = this.$refs.dialogFormRef) == null ? void 0 : _a.clearValidate();
|
|
36494
36494
|
this.dialogFormData = {};
|
|
36495
36495
|
this.editingIndex = -1;
|
|
36496
|
-
if (this.dialogFormData._columnOptions) {
|
|
36497
|
-
this.dialogFormData._columnOptions = {};
|
|
36498
|
-
}
|
|
36499
36496
|
},
|
|
36500
36497
|
isTextColumn(col) {
|
|
36501
36498
|
return !col.type || col.type === "input" || col.type === "textarea";
|
|
@@ -36748,7 +36745,8 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36748
36745
|
title: $data.dialogTitle,
|
|
36749
36746
|
width: "800px",
|
|
36750
36747
|
"close-on-click-modal": false,
|
|
36751
|
-
onClose: $options.handleDialogClose
|
|
36748
|
+
onClose: $options.handleDialogClose,
|
|
36749
|
+
onOpened: $options.handleDialogOpened
|
|
36752
36750
|
}, {
|
|
36753
36751
|
footer: withCtx(() => [
|
|
36754
36752
|
createElementVNode("span", _hoisted_4$5, [
|
|
@@ -36778,6 +36776,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36778
36776
|
ref: "dialogFormRef",
|
|
36779
36777
|
model: $data.dialogFormData,
|
|
36780
36778
|
rules: $data.dialogFormRules,
|
|
36779
|
+
"validate-on-rule-change": false,
|
|
36781
36780
|
"label-width": "auto"
|
|
36782
36781
|
}, {
|
|
36783
36782
|
default: withCtx(() => [
|
|
@@ -36883,7 +36882,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36883
36882
|
}, 8, ["model", "rules"])
|
|
36884
36883
|
]),
|
|
36885
36884
|
_: 1
|
|
36886
|
-
}, 8, ["modelValue", "title", "onClose"])
|
|
36885
|
+
}, 8, ["modelValue", "title", "onClose", "onOpened"])
|
|
36887
36886
|
], 2)), [
|
|
36888
36887
|
[vShow, $props.widget && $props.widget.options && !$props.widget.options.hidden]
|
|
36889
36888
|
]) : createCommentVNode("", true)
|
|
@@ -36891,7 +36890,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36891
36890
|
_: 1
|
|
36892
36891
|
}, 8, ["widget"]);
|
|
36893
36892
|
}
|
|
36894
|
-
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-
|
|
36893
|
+
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-7ee123a5"]]);
|
|
36895
36894
|
var ace$2 = { exports: {} };
|
|
36896
36895
|
(function(module, exports) {
|
|
36897
36896
|
(function() {
|