form-custom-test 3.0.203 → 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.
@@ -69045,13 +69045,13 @@ function registerIcon(app) {
69045
69045
  if (typeof window !== "undefined") {
69046
69046
  let loadSvg = function() {
69047
69047
  var body = document.body;
69048
- var svgDom = document.getElementById("__svg__icons__dom__1780883712310__");
69048
+ var svgDom = document.getElementById("__svg__icons__dom__1780883975248__");
69049
69049
  if (!svgDom) {
69050
69050
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
69051
69051
  svgDom.style.position = "absolute";
69052
69052
  svgDom.style.width = "0";
69053
69053
  svgDom.style.height = "0";
69054
- svgDom.id = "__svg__icons__dom__1780883712310__";
69054
+ svgDom.id = "__svg__icons__dom__1780883975248__";
69055
69055
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
69056
69056
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
69057
69057
  }
@@ -77846,10 +77846,6 @@ const _sfc_main$c = {
77846
77846
  this.dialogTitle = "\u65B0\u589E";
77847
77847
  this.initDialogFormData();
77848
77848
  this.dialogVisible = true;
77849
- this.$nextTick(() => {
77850
- var _a2;
77851
- (_a2 = this.$refs.dialogFormRef) == null ? void 0 : _a2.clearValidate();
77852
- });
77853
77849
  },
77854
77850
  handleEditRow(index2, row) {
77855
77851
  this.editingIndex = index2;
@@ -78016,14 +78012,15 @@ const _sfc_main$c = {
78016
78012
  }
78017
78013
  });
78018
78014
  },
78015
+ handleDialogOpened() {
78016
+ var _a2;
78017
+ (_a2 = this.$refs.dialogFormRef) == null ? void 0 : _a2.clearValidate();
78018
+ },
78019
78019
  handleDialogClose() {
78020
78020
  var _a2;
78021
- (_a2 = this.$refs.dialogFormRef) == null ? void 0 : _a2.resetFields();
78021
+ (_a2 = this.$refs.dialogFormRef) == null ? void 0 : _a2.clearValidate();
78022
78022
  this.dialogFormData = {};
78023
78023
  this.editingIndex = -1;
78024
- if (this.dialogFormData._columnOptions) {
78025
- this.dialogFormData._columnOptions = {};
78026
- }
78027
78024
  },
78028
78025
  isTextColumn(col) {
78029
78026
  return !col.type || col.type === "input" || col.type === "textarea";
@@ -78276,7 +78273,8 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
78276
78273
  title: $data.dialogTitle,
78277
78274
  width: "800px",
78278
78275
  "close-on-click-modal": false,
78279
- onClose: $options.handleDialogClose
78276
+ onClose: $options.handleDialogClose,
78277
+ onOpened: $options.handleDialogOpened
78280
78278
  }, {
78281
78279
  footer: withCtx(() => [
78282
78280
  createElementVNode("span", _hoisted_4$5, [
@@ -78306,6 +78304,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
78306
78304
  ref: "dialogFormRef",
78307
78305
  model: $data.dialogFormData,
78308
78306
  rules: $data.dialogFormRules,
78307
+ "validate-on-rule-change": false,
78309
78308
  "label-width": "auto"
78310
78309
  }, {
78311
78310
  default: withCtx(() => [
@@ -78411,7 +78410,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
78411
78410
  }, 8, ["model", "rules"])
78412
78411
  ]),
78413
78412
  _: 1
78414
- }, 8, ["modelValue", "title", "onClose"])
78413
+ }, 8, ["modelValue", "title", "onClose", "onOpened"])
78415
78414
  ], 2)), [
78416
78415
  [vShow, $props.widget && $props.widget.options && !$props.widget.options.hidden]
78417
78416
  ]) : createCommentVNode("", true)
@@ -78419,7 +78418,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
78419
78418
  _: 1
78420
78419
  }, 8, ["widget"]);
78421
78420
  }
78422
- var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-0b06cc4d"]]);
78421
+ var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-7ee123a5"]]);
78423
78422
  var subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
78424
78423
  const _sfc_main$b = {
78425
78424
  name: "sub-table-columns-editor",