form-custom-test 3.0.143 → 3.0.145

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.
@@ -27597,10 +27597,9 @@ const _sfc_main$2S = {
27597
27597
  };
27598
27598
  traverseFieldWidgets(this.widgetList, handlerFn);
27599
27599
  if (!!subFormName) {
27600
- let subFormRef = this.getWidgetRef(subFormName);
27600
+ let subFormRef = this.subFormRefList[subFormName] || this.getWidgetRef(subFormName);
27601
27601
  if (!!subFormRef) {
27602
- console.log("subFormRef", subFormRef);
27603
- let rowIds = subFormRef == null ? void 0 : subFormRef.getRowIdData();
27602
+ let rowIds = typeof subFormRef.getRowIdData === "function" ? subFormRef.getRowIdData() : Array.isArray(subFormRef.rowIdData) ? subFormRef.rowIdData : [];
27604
27603
  if (!!rowIds && rowIds.length > 0) {
27605
27604
  rowIds.forEach((rid) => {
27606
27605
  result.push(widgetName + "@row" + rid);
@@ -28047,7 +28046,7 @@ function _sfc_render$2S(_ctx, _cache, $props, $setup, $data, $options) {
28047
28046
  _: 3
28048
28047
  }, 8, ["label-position", "size", "class", "label-width", "model"]);
28049
28048
  }
28050
- var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2S, [["render", _sfc_render$2S], ["__scopeId", "data-v-6e89fab2"]]);
28049
+ var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2S, [["render", _sfc_render$2S], ["__scopeId", "data-v-6e3bb628"]]);
28051
28050
  var ace$2 = { exports: {} };
28052
28051
  (function(module, exports) {
28053
28052
  (function() {
@@ -68613,13 +68612,13 @@ function registerIcon(app) {
68613
68612
  if (typeof window !== "undefined") {
68614
68613
  let loadSvg = function() {
68615
68614
  var body = document.body;
68616
- var svgDom = document.getElementById("__svg__icons__dom__1778809269004__");
68615
+ var svgDom = document.getElementById("__svg__icons__dom__1779085347020__");
68617
68616
  if (!svgDom) {
68618
68617
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
68619
68618
  svgDom.style.position = "absolute";
68620
68619
  svgDom.style.width = "0";
68621
68620
  svgDom.style.height = "0";
68622
- svgDom.id = "__svg__icons__dom__1778809269004__";
68621
+ svgDom.id = "__svg__icons__dom__1779085347020__";
68623
68622
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
68624
68623
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
68625
68624
  }
@@ -75900,6 +75899,9 @@ const _sfc_main$f = {
75900
75899
  deleteFromRowIdData(rowIndex) {
75901
75900
  this.rowIdData.splice(rowIndex, 1);
75902
75901
  },
75902
+ getRowIdData() {
75903
+ return this.rowIdData;
75904
+ },
75903
75905
  disableSubFormRow(rowIndex) {
75904
75906
  if (!this.widget.widgetList || !this.rowIdData[rowIndex])
75905
75907
  return;
@@ -76277,7 +76279,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
76277
76279
  _: 1
76278
76280
  }, 8, ["widget"]);
76279
76281
  }
76280
- var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-3754189c"]]);
76282
+ var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-2aae0291"]]);
76281
76283
  const customTableCellSchema = {
76282
76284
  type: "custom-table-cell",
76283
76285
  category: "container",
@@ -76821,6 +76823,9 @@ const _sfc_main$b = {
76821
76823
  deleteFromRowIdData(rowIndex) {
76822
76824
  this.rowIdData.splice(rowIndex, 1);
76823
76825
  },
76826
+ getRowIdData() {
76827
+ return this.rowIdData;
76828
+ },
76824
76829
  cloneCellWithFields(cellWidget, rowId) {
76825
76830
  const newCell = deepClone(cellWidget);
76826
76831
  newCell.id = "custom-table-cell-" + generateId();
@@ -77038,7 +77043,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
77038
77043
  _: 1
77039
77044
  }, 8, ["widget"]);
77040
77045
  }
77041
- var CustomTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-1aff2bd9"]]);
77046
+ var CustomTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-6e251889"]]);
77042
77047
  const subTableSchema = {
77043
77048
  type: "sub-table",
77044
77049
  category: "container",
@@ -78916,6 +78921,8 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
78916
78921
  width: "1418px",
78917
78922
  onClose: $options.handleClose,
78918
78923
  "body-class": "asset-list-dialog-body",
78924
+ "close-on-click-modal": false,
78925
+ draggable: "",
78919
78926
  "header-class": "asset-list-dialog-header"
78920
78927
  }, {
78921
78928
  footer: withCtx(() => [
@@ -79211,7 +79218,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
79211
79218
  _: 1
79212
79219
  }, 8, ["modelValue", "onClose"]);
79213
79220
  }
79214
- var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-d9c3eebc"]]);
79221
+ var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-0603b722"]]);
79215
79222
  var index_vue_vue_type_style_index_0_lang$1 = "";
79216
79223
  const _sfc_main$5 = {
79217
79224
  name: "asset-select-widget",
@@ -79699,7 +79706,9 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
79699
79706
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.dialogVisible = $event),
79700
79707
  title: "\u5904\u7F6E\u8BE6\u60C5",
79701
79708
  width: "1200px",
79702
- onClose: $options.handleClose
79709
+ onClose: $options.handleClose,
79710
+ "close-on-click-modal": false,
79711
+ draggable: ""
79703
79712
  }, {
79704
79713
  footer: withCtx(() => [
79705
79714
  createElementVNode("div", _hoisted_3, [
@@ -79735,7 +79744,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
79735
79744
  _: 1
79736
79745
  }, 8, ["modelValue", "onClose"]);
79737
79746
  }
79738
- var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-f66d508c"]]);
79747
+ var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-3a7f7afa"]]);
79739
79748
  var index_vue_vue_type_style_index_0_lang = "";
79740
79749
  const _sfc_main$3 = {
79741
79750
  name: "asset-table-widget",