form-custom-test 3.0.44 → 3.0.46

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.
@@ -26812,7 +26812,16 @@ const _sfc_main$2K = {
26812
26812
  return !!this.formConfig && !!this.formConfig.customClass ? this.formConfig.customClass : "";
26813
26813
  }
26814
26814
  },
26815
- watch: {},
26815
+ watch: {
26816
+ formData: {
26817
+ deep: true,
26818
+ handler(newVal) {
26819
+ if (!newVal || typeof newVal !== "object")
26820
+ return;
26821
+ this.setFormData(newVal);
26822
+ }
26823
+ }
26824
+ },
26816
26825
  created() {
26817
26826
  this.buildFormModel(!this.formJsonObj ? null : this.formJsonObj.widgetList);
26818
26827
  this.initFormObject();
@@ -27357,7 +27366,7 @@ function _sfc_render$2K(_ctx, _cache, $props, $setup, $data, $options) {
27357
27366
  _: 3
27358
27367
  }, 8, ["label-position", "size", "class", "label-width", "model"]);
27359
27368
  }
27360
- var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2K, [["render", _sfc_render$2K], ["__scopeId", "data-v-32478e29"]]);
27369
+ var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2K, [["render", _sfc_render$2K], ["__scopeId", "data-v-58149a88"]]);
27361
27370
  var ace$2 = { exports: {} };
27362
27371
  (function(module, exports) {
27363
27372
  (function() {
@@ -67763,13 +67772,13 @@ function registerIcon(app) {
67763
67772
  if (typeof window !== "undefined") {
67764
67773
  let loadSvg = function() {
67765
67774
  var body = document.body;
67766
- var svgDom = document.getElementById("__svg__icons__dom__1772520720473__");
67775
+ var svgDom = document.getElementById("__svg__icons__dom__1772585317432__");
67767
67776
  if (!svgDom) {
67768
67777
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
67769
67778
  svgDom.style.position = "absolute";
67770
67779
  svgDom.style.width = "0";
67771
67780
  svgDom.style.height = "0";
67772
- svgDom.id = "__svg__icons__dom__1772520720473__";
67781
+ svgDom.id = "__svg__icons__dom__1772585317432__";
67773
67782
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
67774
67783
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
67775
67784
  }
@@ -73815,7 +73824,7 @@ const _sfc_main$d = {
73815
73824
  width: "80%"
73816
73825
  }
73817
73826
  }, data2.postName ? `${node.label}\uFF08${data2.postName}\uFF09` : node.label),
73818
- node.level === 3 && h("div", {
73827
+ node.level === 3 && !this.field.options.multiple && h("div", {
73819
73828
  class: `personRadio-checked-icon ${(data2 == null ? void 0 : data2.nodeKey) === this.currentNodeKey ? "personRadio-checked" : ""}`
73820
73829
  })
73821
73830
  ]
@@ -74045,7 +74054,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
74045
74054
  _: 1
74046
74055
  }, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
74047
74056
  }
74048
- var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-b7f72ef8"]]);
74057
+ var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-26dbf941"]]);
74049
74058
  const _sfc_main$c = {
74050
74059
  name: "radio-other-widget",
74051
74060
  componentName: "FieldWidget",