form-custom-test 3.0.153 → 3.0.155
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.
- package/dist/designer.es.js +9 -6
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +4 -4
- package/dist/render.es.js +9 -6
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +3 -3
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -27607,9 +27607,9 @@ const _sfc_main$2S = {
|
|
|
27607
27607
|
};
|
|
27608
27608
|
traverseFieldWidgets(this.widgetList, handlerFn);
|
|
27609
27609
|
if (!!subFormName) {
|
|
27610
|
-
let subFormRef = this.getWidgetRef(subFormName);
|
|
27610
|
+
let subFormRef = this.subFormRefList[subFormName] || this.getWidgetRef(subFormName);
|
|
27611
27611
|
if (!!subFormRef) {
|
|
27612
|
-
let rowIds = subFormRef
|
|
27612
|
+
let rowIds = typeof subFormRef.getRowIdData === "function" ? subFormRef.getRowIdData() : Array.isArray(subFormRef.rowIdData) ? subFormRef.rowIdData : [];
|
|
27613
27613
|
if (!!rowIds && rowIds.length > 0) {
|
|
27614
27614
|
rowIds.forEach((rid) => {
|
|
27615
27615
|
result.push(widgetName + "@row" + rid);
|
|
@@ -28056,7 +28056,7 @@ function _sfc_render$2S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28056
28056
|
_: 3
|
|
28057
28057
|
}, 8, ["label-position", "size", "class", "label-width", "model"]);
|
|
28058
28058
|
}
|
|
28059
|
-
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2S, [["render", _sfc_render$2S], ["__scopeId", "data-v-
|
|
28059
|
+
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2S, [["render", _sfc_render$2S], ["__scopeId", "data-v-6e3bb628"]]);
|
|
28060
28060
|
var ace$2 = { exports: {} };
|
|
28061
28061
|
(function(module, exports) {
|
|
28062
28062
|
(function() {
|
|
@@ -68622,13 +68622,13 @@ function registerIcon(app) {
|
|
|
68622
68622
|
if (typeof window !== "undefined") {
|
|
68623
68623
|
let loadSvg = function() {
|
|
68624
68624
|
var body = document.body;
|
|
68625
|
-
var svgDom = document.getElementById("
|
|
68625
|
+
var svgDom = document.getElementById("__svg__icons__dom__1779169494965__");
|
|
68626
68626
|
if (!svgDom) {
|
|
68627
68627
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
68628
68628
|
svgDom.style.position = "absolute";
|
|
68629
68629
|
svgDom.style.width = "0";
|
|
68630
68630
|
svgDom.style.height = "0";
|
|
68631
|
-
svgDom.id = "
|
|
68631
|
+
svgDom.id = "__svg__icons__dom__1779169494965__";
|
|
68632
68632
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
68633
68633
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
68634
68634
|
}
|
|
@@ -75909,6 +75909,9 @@ const _sfc_main$f = {
|
|
|
75909
75909
|
deleteFromRowIdData(rowIndex) {
|
|
75910
75910
|
this.rowIdData.splice(rowIndex, 1);
|
|
75911
75911
|
},
|
|
75912
|
+
getRowIdData() {
|
|
75913
|
+
return this.rowIdData;
|
|
75914
|
+
},
|
|
75912
75915
|
disableSubFormRow(rowIndex) {
|
|
75913
75916
|
if (!this.widget.widgetList || !this.rowIdData[rowIndex])
|
|
75914
75917
|
return;
|
|
@@ -76286,7 +76289,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
76286
76289
|
_: 1
|
|
76287
76290
|
}, 8, ["widget"]);
|
|
76288
76291
|
}
|
|
76289
|
-
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-
|
|
76292
|
+
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-6bd07e4e"]]);
|
|
76290
76293
|
const customTableCellSchema = {
|
|
76291
76294
|
type: "custom-table-cell",
|
|
76292
76295
|
category: "container",
|