agilebuilder-ui 1.0.90-tmp20 → 1.0.90-tmp21
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/lib/super-ui.js
CHANGED
|
@@ -17720,14 +17720,15 @@ const apis$2 = {
|
|
|
17720
17720
|
});
|
|
17721
17721
|
},
|
|
17722
17722
|
doLayout(e, t) {
|
|
17723
|
-
|
|
17724
|
-
|
|
17725
|
-
|
|
17726
|
-
|
|
17727
|
-
|
|
17728
|
-
|
|
17729
|
-
this.options.hiddenColumns =
|
|
17730
|
-
}
|
|
17723
|
+
t || (t = this.code);
|
|
17724
|
+
const o = store$1.get(t).hiddenColumns;
|
|
17725
|
+
if (console.log("doLayout----orgHiddenColumns=", o), e && e.length > 0) {
|
|
17726
|
+
let l = o;
|
|
17727
|
+
l || (l = []), l.length === 0 ? l = e : e.forEach((u) => {
|
|
17728
|
+
l.indexOf(u) < 0 && l.push(u);
|
|
17729
|
+
}), console.log("doLayout----hiddenColumnsResult=", l), this.options.hiddenColumns = l;
|
|
17730
|
+
} else
|
|
17731
|
+
this.options.hiddenColumns = o;
|
|
17731
17732
|
this.$refs && this.$refs.superGrid && this.$refs.superGrid.doLayout();
|
|
17732
17733
|
}
|
|
17733
17734
|
}, _sfc_main$1n = {
|
|
@@ -26391,7 +26392,7 @@ const superGridService$1 = {
|
|
|
26391
26392
|
(R, H) => R.displayOrder - H.displayOrder
|
|
26392
26393
|
);
|
|
26393
26394
|
}
|
|
26394
|
-
Object.assign(this, v), this.options && typeof isSqlSetting > "u" && (this.isSql = this.basicInfo.sql), o.isSql = this.isSql, o.allColumns = _, o.columns = this.columns, this.packageColumnOptionMap(o), this.judgeIsFormSubTable(), o.colSetting = this.colSetting, o.lineEdit = this.lineEdit, o.basicInfo = this.basicInfo, o.pagination = this.pagination, o.pageContext = this.pageContext, o.configureObj = this.configureObj, this.pagination && (this.pageSize = this.pagination.pageSize), o.query = this.query, o.dynamicColumnInfo = this.dynamicColumnInfo, o.mainDefaultValueColumns = this.mainDefaultValueColumns, o.contextParameter = this.contextParameter, this.isShowPage = this.isShowPageArea(), this.isSubTableShowPage = this.isFormSubTable ? this.isShowPage : !1, o.isSubTableShowPage = this.isSubTableShowPage, this.getDetailColumn(), this.hasLoadedColumns = !0;
|
|
26395
|
+
Object.assign(this, v), this.options && typeof isSqlSetting > "u" && (this.isSql = this.basicInfo.sql), o.isSql = this.isSql, o.allColumns = _, o.columns = this.columns, this.packageColumnOptionMap(o), this.judgeIsFormSubTable(), o.colSetting = this.colSetting, o.lineEdit = this.lineEdit, o.basicInfo = this.basicInfo, o.pagination = this.pagination, o.pageContext = this.pageContext, o.configureObj = this.configureObj, o.hiddenColumns = this.options.hiddenColumns ? JSON.parse(JSON.stringify(this.options.hiddenColumns)) : [], this.pagination && (this.pageSize = this.pagination.pageSize), o.query = this.query, o.dynamicColumnInfo = this.dynamicColumnInfo, o.mainDefaultValueColumns = this.mainDefaultValueColumns, o.contextParameter = this.contextParameter, this.isShowPage = this.isShowPageArea(), this.isSubTableShowPage = this.isFormSubTable ? this.isShowPage : !1, o.isSubTableShowPage = this.isSubTableShowPage, this.getDetailColumn(), this.hasLoadedColumns = !0;
|
|
26395
26396
|
let B = !0;
|
|
26396
26397
|
isHasOptionFunction$1("loadBeforeSend", this.code) && (B = o.options.loadBeforeSend.call(this, {
|
|
26397
26398
|
columns: this.columns,
|