form-custom-test 3.0.142 → 3.0.144

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,9 +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
- let rowIds = subFormRef.getRowIdData();
27602
+ let rowIds = typeof subFormRef.getRowIdData === "function" ? subFormRef.getRowIdData() : Array.isArray(subFormRef.rowIdData) ? subFormRef.rowIdData : [];
27603
27603
  if (!!rowIds && rowIds.length > 0) {
27604
27604
  rowIds.forEach((rid) => {
27605
27605
  result.push(widgetName + "@row" + rid);
@@ -28046,7 +28046,7 @@ function _sfc_render$2S(_ctx, _cache, $props, $setup, $data, $options) {
28046
28046
  _: 3
28047
28047
  }, 8, ["label-position", "size", "class", "label-width", "model"]);
28048
28048
  }
28049
- var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2S, [["render", _sfc_render$2S], ["__scopeId", "data-v-4626d18a"]]);
28049
+ var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2S, [["render", _sfc_render$2S], ["__scopeId", "data-v-6e3bb628"]]);
28050
28050
  var ace$2 = { exports: {} };
28051
28051
  (function(module, exports) {
28052
28052
  (function() {
@@ -68612,13 +68612,13 @@ function registerIcon(app) {
68612
68612
  if (typeof window !== "undefined") {
68613
68613
  let loadSvg = function() {
68614
68614
  var body = document.body;
68615
- var svgDom = document.getElementById("__svg__icons__dom__1778807771793__");
68615
+ var svgDom = document.getElementById("__svg__icons__dom__1778809709789__");
68616
68616
  if (!svgDom) {
68617
68617
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
68618
68618
  svgDom.style.position = "absolute";
68619
68619
  svgDom.style.width = "0";
68620
68620
  svgDom.style.height = "0";
68621
- svgDom.id = "__svg__icons__dom__1778807771793__";
68621
+ svgDom.id = "__svg__icons__dom__1778809709789__";
68622
68622
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
68623
68623
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
68624
68624
  }
@@ -75899,6 +75899,9 @@ const _sfc_main$f = {
75899
75899
  deleteFromRowIdData(rowIndex) {
75900
75900
  this.rowIdData.splice(rowIndex, 1);
75901
75901
  },
75902
+ getRowIdData() {
75903
+ return this.rowIdData;
75904
+ },
75902
75905
  disableSubFormRow(rowIndex) {
75903
75906
  if (!this.widget.widgetList || !this.rowIdData[rowIndex])
75904
75907
  return;
@@ -76276,7 +76279,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
76276
76279
  _: 1
76277
76280
  }, 8, ["widget"]);
76278
76281
  }
76279
- 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-6bd07e4e"]]);
76280
76283
  const customTableCellSchema = {
76281
76284
  type: "custom-table-cell",
76282
76285
  category: "container",
@@ -76820,6 +76823,9 @@ const _sfc_main$b = {
76820
76823
  deleteFromRowIdData(rowIndex) {
76821
76824
  this.rowIdData.splice(rowIndex, 1);
76822
76825
  },
76826
+ getRowIdData() {
76827
+ return this.rowIdData;
76828
+ },
76823
76829
  cloneCellWithFields(cellWidget, rowId) {
76824
76830
  const newCell = deepClone(cellWidget);
76825
76831
  newCell.id = "custom-table-cell-" + generateId();
@@ -77037,7 +77043,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
77037
77043
  _: 1
77038
77044
  }, 8, ["widget"]);
77039
77045
  }
77040
- 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-0624b520"]]);
77041
77047
  const subTableSchema = {
77042
77048
  type: "sub-table",
77043
77049
  category: "container",