From 8e831fa08ad7165b821913b981ef43eb05baeed2 Mon Sep 17 00:00:00 2001 From: fay Date: Thu, 10 May 2018 19:40:51 +0800 Subject: [PATCH] dist --- dist/bundle.js | 5 +++-- dist/case.js | 5 +++-- dist/fineui.js | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index 2066147fa7..5fd76eaba2 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -84486,17 +84486,18 @@ BI.DynamicSummaryLayerTreeTable = BI.inherit(BI.Widget, { var c = [crossHeader[row]]; result.push(c.concat(node || [])); }); + var rowHeaderCreator = BI.isFunction(o.rowHeaderCreator) ? o.rowHeaderCreator() : o.rowHeaderCreator; if (header && header.length > 0) { var newHeader = this._formatColumns(header); var deep = this._getHDeep(); if (deep <= 0) { - newHeader.unshift(o.rowHeaderCreator || { + newHeader.unshift(rowHeaderCreator || { type: "bi.table_style_cell", text: BI.i18nText("BI-Row_Header"), styleGetter: o.headerCellStyleGetter }); } else { - newHeader[0] = o.rowHeaderCreator || { + newHeader[0] = rowHeaderCreator || { type: "bi.table_style_cell", text: BI.i18nText("BI-Row_Header"), styleGetter: o.headerCellStyleGetter diff --git a/dist/case.js b/dist/case.js index 4145bc573e..f898f2afe1 100644 --- a/dist/case.js +++ b/dist/case.js @@ -12013,17 +12013,18 @@ BI.DynamicSummaryLayerTreeTable = BI.inherit(BI.Widget, { var c = [crossHeader[row]]; result.push(c.concat(node || [])); }); + var rowHeaderCreator = BI.isFunction(o.rowHeaderCreator) ? o.rowHeaderCreator() : o.rowHeaderCreator; if (header && header.length > 0) { var newHeader = this._formatColumns(header); var deep = this._getHDeep(); if (deep <= 0) { - newHeader.unshift(o.rowHeaderCreator || { + newHeader.unshift(rowHeaderCreator || { type: "bi.table_style_cell", text: BI.i18nText("BI-Row_Header"), styleGetter: o.headerCellStyleGetter }); } else { - newHeader[0] = o.rowHeaderCreator || { + newHeader[0] = rowHeaderCreator || { type: "bi.table_style_cell", text: BI.i18nText("BI-Row_Header"), styleGetter: o.headerCellStyleGetter diff --git a/dist/fineui.js b/dist/fineui.js index ae3e376ef5..09a2349389 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -84729,17 +84729,18 @@ BI.DynamicSummaryLayerTreeTable = BI.inherit(BI.Widget, { var c = [crossHeader[row]]; result.push(c.concat(node || [])); }); + var rowHeaderCreator = BI.isFunction(o.rowHeaderCreator) ? o.rowHeaderCreator() : o.rowHeaderCreator; if (header && header.length > 0) { var newHeader = this._formatColumns(header); var deep = this._getHDeep(); if (deep <= 0) { - newHeader.unshift(o.rowHeaderCreator || { + newHeader.unshift(rowHeaderCreator || { type: "bi.table_style_cell", text: BI.i18nText("BI-Row_Header"), styleGetter: o.headerCellStyleGetter }); } else { - newHeader[0] = o.rowHeaderCreator || { + newHeader[0] = rowHeaderCreator || { type: "bi.table_style_cell", text: BI.i18nText("BI-Row_Header"), styleGetter: o.headerCellStyleGetter