form-custom-test 3.0.45 → 3.0.47

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.
@@ -27219,6 +27219,12 @@ const _sfc_main$2K = {
27219
27219
  }
27220
27220
  }
27221
27221
  },
27222
+ disableFields(fieldNames) {
27223
+ this.disableWidgets(fieldNames);
27224
+ },
27225
+ enableFields(fieldNames) {
27226
+ this.enableWidgets(fieldNames);
27227
+ },
27222
27228
  enableWidgets(widgetNames) {
27223
27229
  if (!!widgetNames) {
27224
27230
  if (typeof widgetNames === "string") {
@@ -27366,7 +27372,7 @@ function _sfc_render$2K(_ctx, _cache, $props, $setup, $data, $options) {
27366
27372
  _: 3
27367
27373
  }, 8, ["label-position", "size", "class", "label-width", "model"]);
27368
27374
  }
27369
- var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2K, [["render", _sfc_render$2K], ["__scopeId", "data-v-58149a88"]]);
27375
+ var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2K, [["render", _sfc_render$2K], ["__scopeId", "data-v-62d83c26"]]);
27370
27376
  var ace$2 = { exports: {} };
27371
27377
  (function(module, exports) {
27372
27378
  (function() {
@@ -67772,13 +67778,13 @@ function registerIcon(app) {
67772
67778
  if (typeof window !== "undefined") {
67773
67779
  let loadSvg = function() {
67774
67780
  var body = document.body;
67775
- var svgDom = document.getElementById("__svg__icons__dom__1772526677028__");
67781
+ var svgDom = document.getElementById("__svg__icons__dom__1772587452631__");
67776
67782
  if (!svgDom) {
67777
67783
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
67778
67784
  svgDom.style.position = "absolute";
67779
67785
  svgDom.style.width = "0";
67780
67786
  svgDom.style.height = "0";
67781
- svgDom.id = "__svg__icons__dom__1772526677028__";
67787
+ svgDom.id = "__svg__icons__dom__1772587452631__";
67782
67788
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
67783
67789
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
67784
67790
  }
@@ -73824,7 +73830,7 @@ const _sfc_main$d = {
73824
73830
  width: "80%"
73825
73831
  }
73826
73832
  }, data2.postName ? `${node.label}\uFF08${data2.postName}\uFF09` : node.label),
73827
- node.level === 3 && h("div", {
73833
+ node.level === 3 && !this.field.options.multiple && h("div", {
73828
73834
  class: `personRadio-checked-icon ${(data2 == null ? void 0 : data2.nodeKey) === this.currentNodeKey ? "personRadio-checked" : ""}`
73829
73835
  })
73830
73836
  ]
@@ -73969,6 +73975,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
73969
73975
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.displayModel = $event),
73970
73976
  "tag-type": "success",
73971
73977
  "tag-effect": "light",
73978
+ disabled: $props.field.options.disabled,
73972
73979
  placeholder: "\u8BF7\u9009\u62E9\u4EBA\u5458",
73973
73980
  onClick: $options.handleClick,
73974
73981
  ref: "inputTagRef"
@@ -73979,7 +73986,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
73979
73986
  ])
73980
73987
  ]),
73981
73988
  _: 1
73982
- }, 8, ["modelValue", "onClick"])
73989
+ }, 8, ["modelValue", "disabled", "onClick"])
73983
73990
  ]),
73984
73991
  createVNode(_component_el_dialog, {
73985
73992
  modelValue: $data.dialogVisible,
@@ -74054,7 +74061,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
74054
74061
  _: 1
74055
74062
  }, 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"]);
74056
74063
  }
74057
- var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-b7f72ef8"]]);
74064
+ var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-0f7a3e8a"]]);
74058
74065
  const _sfc_main$c = {
74059
74066
  name: "radio-other-widget",
74060
74067
  componentName: "FieldWidget",
@@ -76356,6 +76363,7 @@ const _sfc_main$2 = {
76356
76363
  watch: {
76357
76364
  formModel: {
76358
76365
  handler(newVal) {
76366
+ console.log(newVal, "newVal");
76359
76367
  if (newVal && Array.isArray(newVal)) {
76360
76368
  this.tableData = deepClone(newVal);
76361
76369
  } else if (!newVal) {
@@ -76937,7 +76945,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
76937
76945
  _: 1
76938
76946
  }, 8, ["widget"]);
76939
76947
  }
76940
- var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-021cc444"]]);
76948
+ var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-5dac9ba0"]]);
76941
76949
  var subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
76942
76950
  const _sfc_main$1 = {
76943
76951
  name: "sub-table-columns-editor",