form-custom-test 3.0.55 → 3.0.56
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 +18 -7
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +4 -4
- package/dist/render.es.js +18 -7
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +3 -3
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -25632,6 +25632,7 @@ const _sfc_main$o = {
|
|
|
25632
25632
|
return foundSFRef.getSubFormValues(needValidation);
|
|
25633
25633
|
},
|
|
25634
25634
|
disableForm() {
|
|
25635
|
+
console.log("disableForm", this.widgetRefList);
|
|
25635
25636
|
let wNameList = Object.keys(this.widgetRefList);
|
|
25636
25637
|
wNameList.forEach((wName) => {
|
|
25637
25638
|
let foundW = this.getWidgetRef(wName);
|
|
@@ -25868,7 +25869,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25868
25869
|
_: 3
|
|
25869
25870
|
}, 8, ["label-position", "size", "class", "label-width", "model"]);
|
|
25870
25871
|
}
|
|
25871
|
-
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-
|
|
25872
|
+
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-1a5c4f64"]]);
|
|
25872
25873
|
function registerIcon(app) {
|
|
25873
25874
|
app.component("el-icon-edit", edit);
|
|
25874
25875
|
app.component("el-icon-minus", minus);
|
|
@@ -25883,13 +25884,13 @@ function registerIcon(app) {
|
|
|
25883
25884
|
if (typeof window !== "undefined") {
|
|
25884
25885
|
let loadSvg = function() {
|
|
25885
25886
|
var body = document.body;
|
|
25886
|
-
var svgDom = document.getElementById("
|
|
25887
|
+
var svgDom = document.getElementById("__svg__icons__dom__1773376422465__");
|
|
25887
25888
|
if (!svgDom) {
|
|
25888
25889
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
25889
25890
|
svgDom.style.position = "absolute";
|
|
25890
25891
|
svgDom.style.width = "0";
|
|
25891
25892
|
svgDom.style.height = "0";
|
|
25892
|
-
svgDom.id = "
|
|
25893
|
+
svgDom.id = "__svg__icons__dom__1773376422465__";
|
|
25893
25894
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
25894
25895
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
25895
25896
|
}
|
|
@@ -35283,6 +35284,11 @@ const _sfc_main$4 = {
|
|
|
35283
35284
|
},
|
|
35284
35285
|
customClass() {
|
|
35285
35286
|
return this.widget.options.customClass || "";
|
|
35287
|
+
},
|
|
35288
|
+
tableMaxHeight() {
|
|
35289
|
+
var _a, _b;
|
|
35290
|
+
const v = (_b = (_a = this.widget) == null ? void 0 : _a.options) == null ? void 0 : _b.maxHeight;
|
|
35291
|
+
return v !== void 0 && v !== null && v !== "" ? v : void 0;
|
|
35286
35292
|
}
|
|
35287
35293
|
},
|
|
35288
35294
|
created() {
|
|
@@ -35390,7 +35396,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35390
35396
|
border: $props.widget.options.border,
|
|
35391
35397
|
stripe: $props.widget.options.stripe,
|
|
35392
35398
|
size: $props.widget.options.size,
|
|
35393
|
-
"max-height": $
|
|
35399
|
+
"max-height": $options.tableMaxHeight,
|
|
35394
35400
|
style: { "width": "100%" }
|
|
35395
35401
|
}, {
|
|
35396
35402
|
empty: withCtx(() => [
|
|
@@ -35476,7 +35482,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35476
35482
|
_: 1
|
|
35477
35483
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
35478
35484
|
}
|
|
35479
|
-
var SubTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
35485
|
+
var SubTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-03a3b831"]]);
|
|
35480
35486
|
var subTableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35481
35487
|
const _sfc_main$3 = {
|
|
35482
35488
|
name: "sub-table-item",
|
|
@@ -35516,6 +35522,11 @@ const _sfc_main$3 = {
|
|
|
35516
35522
|
"label-center-align": this.widget.options.labelAlign === "center",
|
|
35517
35523
|
"label-right-align": this.widget.options.labelAlign === "right"
|
|
35518
35524
|
};
|
|
35525
|
+
},
|
|
35526
|
+
tableMaxHeight() {
|
|
35527
|
+
var _a, _b;
|
|
35528
|
+
const v = (_b = (_a = this.widget) == null ? void 0 : _a.options) == null ? void 0 : _b.maxHeight;
|
|
35529
|
+
return v !== void 0 && v !== null && v !== "" ? v : void 0;
|
|
35519
35530
|
}
|
|
35520
35531
|
},
|
|
35521
35532
|
watch: {
|
|
@@ -35896,7 +35907,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35896
35907
|
border: $props.widget.options.border,
|
|
35897
35908
|
stripe: $props.widget.options.stripe,
|
|
35898
35909
|
size: $props.widget.options.size,
|
|
35899
|
-
"max-height": $
|
|
35910
|
+
"max-height": $options.tableMaxHeight,
|
|
35900
35911
|
style: { "width": "100%" },
|
|
35901
35912
|
disabled: $props.widget.options.disabled
|
|
35902
35913
|
}, {
|
|
@@ -36105,7 +36116,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36105
36116
|
_: 1
|
|
36106
36117
|
}, 8, ["widget"]);
|
|
36107
36118
|
}
|
|
36108
|
-
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
36119
|
+
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-47eddd0f"]]);
|
|
36109
36120
|
var ace$2 = { exports: {} };
|
|
36110
36121
|
(function(module, exports) {
|
|
36111
36122
|
(function() {
|