@syncfusion/ej2-pivotview 20.1.56 → 20.1.61
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/CHANGELOG.md +26 -0
- package/dist/ej2-pivotview.umd.min.js +2 -2
- package/dist/ej2-pivotview.umd.min.js.map +1 -1
- package/dist/es6/ej2-pivotview.es2015.js +209 -118
- package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
- package/dist/es6/ej2-pivotview.es5.js +211 -120
- package/dist/es6/ej2-pivotview.es5.js.map +1 -1
- package/dist/global/ej2-pivotview.min.js +2 -2
- package/dist/global/ej2-pivotview.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +15 -15
- package/src/base/engine.d.ts +1 -1
- package/src/base/engine.js +127 -79
- package/src/base/olap/engine.js +0 -12
- package/src/base/util.js +2 -2
- package/src/common/actions/event-base.js +27 -0
- package/src/common/popups/drillthrough-dialog.js +6 -6
- package/src/common/popups/toolbar.d.ts +1 -0
- package/src/common/popups/toolbar.js +15 -6
- package/src/pivotchart/base/pivotchart.js +4 -1
- package/src/pivotfieldlist/renderer/dialog-renderer.js +4 -2
- package/src/pivotview/actions/drill-through.js +2 -2
- package/src/pivotview/actions/excel-export.js +2 -1
- package/src/pivotview/base/pivotview.js +6 -3
- package/src/pivotview/model/chartsettings-model.d.ts +2 -2
- package/src/pivotview/model/chartsettings.d.ts +2 -2
- package/src/pivotview/model/chartsettings.js +2 -2
- package/src/pivotview/renderer/render.js +16 -6
- package/styles/bootstrap4.css +1 -1
- package/styles/pivotfieldlist/_layout.scss +7 -7
- package/styles/pivotfieldlist/_theme.scss +1 -1
- package/styles/pivotview/_layout.scss +14 -14
- package/styles/pivotview/_theme.scss +3 -3
- package/styles/pivotview/bootstrap4.css +1 -1
|
@@ -263,7 +263,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
263
263
|
Toolbar.prototype.saveReport = function (args) {
|
|
264
264
|
if (this.currentReport && this.currentReport !== '' && args.item.id === (this.parent.element.id + 'save')) {
|
|
265
265
|
var saveArgs = {
|
|
266
|
-
report: this.
|
|
266
|
+
report: this.getCurrentReport(),
|
|
267
267
|
reportName: this.currentReport
|
|
268
268
|
};
|
|
269
269
|
this.parent.actionObj.actionName = this.parent.getActionCompleteName();
|
|
@@ -521,7 +521,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
521
521
|
return;
|
|
522
522
|
}
|
|
523
523
|
var saveArgs = {
|
|
524
|
-
report: _this_2.
|
|
524
|
+
report: _this_2.getCurrentReport(),
|
|
525
525
|
reportName: reportInput.value
|
|
526
526
|
};
|
|
527
527
|
var actionInfo = {
|
|
@@ -557,7 +557,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
557
557
|
}
|
|
558
558
|
_this_3.parent.trigger(events.newReport);
|
|
559
559
|
var saveArgs = {
|
|
560
|
-
report: _this_3.
|
|
560
|
+
report: _this_3.getCurrentReport(),
|
|
561
561
|
reportName: reportInput.value
|
|
562
562
|
};
|
|
563
563
|
var actionInfo = {
|
|
@@ -701,7 +701,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
701
701
|
else if (this.action === 'New' || (this.action !== 'Save' && this.action !== 'Rename' && this.action !== 'New')) {
|
|
702
702
|
if (this.currentReport && this.currentReport !== '' && this.parent.isModified) {
|
|
703
703
|
var saveArgs = {
|
|
704
|
-
report: this.
|
|
704
|
+
report: this.getCurrentReport(),
|
|
705
705
|
reportName: this.currentReport
|
|
706
706
|
};
|
|
707
707
|
var actionInfo = {
|
|
@@ -726,7 +726,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
726
726
|
else if (this.action === 'New') {
|
|
727
727
|
this.parent.trigger(events.newReport);
|
|
728
728
|
var saveArgs = {
|
|
729
|
-
report: this.
|
|
729
|
+
report: this.getCurrentReport(),
|
|
730
730
|
reportName: this.currentReport
|
|
731
731
|
};
|
|
732
732
|
this.parent.trigger(events.saveReport, saveArgs);
|
|
@@ -737,7 +737,7 @@ var Toolbar = /** @class */ (function () {
|
|
|
737
737
|
}
|
|
738
738
|
else if (this.action === 'Save') {
|
|
739
739
|
var saveArgs = {
|
|
740
|
-
report: this.
|
|
740
|
+
report: this.getCurrentReport(),
|
|
741
741
|
reportName: this.currentReport
|
|
742
742
|
};
|
|
743
743
|
this.parent.trigger(events.saveReport, saveArgs);
|
|
@@ -1036,6 +1036,15 @@ var Toolbar = /** @class */ (function () {
|
|
|
1036
1036
|
}
|
|
1037
1037
|
this.updateItemElements();
|
|
1038
1038
|
};
|
|
1039
|
+
Toolbar.prototype.getCurrentReport = function () {
|
|
1040
|
+
var reportStr = this.parent.getPersistData();
|
|
1041
|
+
if (this.parent.dataSourceSettings.type === 'CSV') {
|
|
1042
|
+
var reportSettings = JSON.parse(reportStr);
|
|
1043
|
+
reportSettings.dataSourceSettings.dataSource.splice(0, 0, this.parent.engineModule.fields);
|
|
1044
|
+
reportStr = JSON.stringify(reportSettings);
|
|
1045
|
+
}
|
|
1046
|
+
return reportStr;
|
|
1047
|
+
};
|
|
1039
1048
|
Toolbar.prototype.updateItemElements = function () {
|
|
1040
1049
|
var itemElements = [].slice.call(this.toolbar.element.querySelectorAll('.e-toolbar-item'));
|
|
1041
1050
|
for (var _i = 0, itemElements_1 = itemElements; _i < itemElements_1.length; _i++) {
|
|
@@ -315,7 +315,7 @@ var PivotChart = /** @class */ (function () {
|
|
|
315
315
|
var columnSeries = colHeaders + ' | ' + actualText;
|
|
316
316
|
var yValue = (this.parent.dataType === 'pivot' ? (this.engineModule.aggregatedValueMatrix[rowIndex] &&
|
|
317
317
|
!isNullOrUndefined(this.engineModule.aggregatedValueMatrix[rowIndex][cellIndex])) ?
|
|
318
|
-
Number(this.engineModule.aggregatedValueMatrix[rowIndex][cellIndex]) : Number(cell.value) : Number(cell.value));
|
|
318
|
+
Number(this.engineModule.aggregatedValueMatrix[rowIndex][cellIndex]) : (!isNullOrUndefined(cell.value) ? Number(cell.value) : cell.value) : (!isNullOrUndefined(cell.value) ? Number(cell.value) : cell.value));
|
|
319
319
|
yValue = yValue === Infinity ? null : yValue;
|
|
320
320
|
if (yValue === 0) {
|
|
321
321
|
this.accEmptyPoint = true;
|
|
@@ -424,6 +424,9 @@ var PivotChart = /** @class */ (function () {
|
|
|
424
424
|
if (this.persistSettings.chartSeries && this.persistSettings.chartSeries.emptyPointSettings) {
|
|
425
425
|
currentSeries.emptyPointSettings = this.persistSettings.chartSeries.emptyPointSettings;
|
|
426
426
|
}
|
|
427
|
+
if (!currentSeries.emptyPointSettings) {
|
|
428
|
+
currentSeries.emptyPointSettings = { mode: 'Zero' };
|
|
429
|
+
}
|
|
427
430
|
this.chartSeries = this.chartSeries.concat(currentSeries);
|
|
428
431
|
}
|
|
429
432
|
}
|
|
@@ -518,7 +518,7 @@ var DialogRenderer = /** @class */ (function () {
|
|
|
518
518
|
this.parent.actionFailureMethod(execption);
|
|
519
519
|
}
|
|
520
520
|
};
|
|
521
|
-
DialogRenderer.prototype.onCloseFieldList = function () {
|
|
521
|
+
DialogRenderer.prototype.onCloseFieldList = function (args) {
|
|
522
522
|
if (this.parent.allowDeferLayoutUpdate) {
|
|
523
523
|
this.parent.dataSourceSettings =
|
|
524
524
|
extend({}, this.parent.clonedDataSource.properties, null, true); /* eslint-disable-line */
|
|
@@ -541,7 +541,9 @@ var DialogRenderer = /** @class */ (function () {
|
|
|
541
541
|
}
|
|
542
542
|
if (this.parent.isPopupView && this.parent.pivotGridModule) {
|
|
543
543
|
this.parent.pivotGridModule.notify(events.uiUpdate, this);
|
|
544
|
-
|
|
544
|
+
if (!args.currentTarget.classList.contains('e-defer-cancel-button')) {
|
|
545
|
+
this.parent.pivotGridModule.notify(events.contentReady, this);
|
|
546
|
+
}
|
|
545
547
|
}
|
|
546
548
|
else {
|
|
547
549
|
this.cancelButtonClick();
|
|
@@ -67,7 +67,7 @@ var DrillThrough = /** @class */ (function () {
|
|
|
67
67
|
var valueCaption = '';
|
|
68
68
|
var aggType = '';
|
|
69
69
|
var rawData = [];
|
|
70
|
-
if (pivotValue.rowHeaders !== undefined && pivotValue.columnHeaders !== undefined
|
|
70
|
+
if (pivotValue.rowHeaders !== undefined && pivotValue.columnHeaders !== undefined) {
|
|
71
71
|
if (this.parent.dataType === 'olap') {
|
|
72
72
|
var tupleInfo = void 0;
|
|
73
73
|
if (this.parent.dataSourceSettings.valueAxis === 'row') {
|
|
@@ -141,7 +141,7 @@ var DrillThrough = /** @class */ (function () {
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
if (!isNullOrUndefined(rawData[k])) {
|
|
144
|
-
var calculatedFeildValue = this.parent.engineModule.getAggregateValue([Number(indexArray[k])], colIndex, indexValue, 'calculatedfield');
|
|
144
|
+
var calculatedFeildValue = this.parent.engineModule.getAggregateValue([Number(indexArray[k])], colIndex, indexValue, 'calculatedfield', false);
|
|
145
145
|
rawData[k][this.parent.dataSourceSettings.calculatedFieldSettings[i].name] = (isNaN(calculatedFeildValue) && isNullOrUndefined(calculatedFeildValue)) ? '#DIV/0!' : calculatedFeildValue;
|
|
146
146
|
}
|
|
147
147
|
}
|
|
@@ -129,7 +129,8 @@ var ExcelExport = /** @class */ (function () {
|
|
|
129
129
|
var styles = (pivotCell.axis == 'row') ? { hAlign: 'Left', bold: true, wrapText: true } : { numberFormat: formatList[field], bold: false, wrapText: true };
|
|
130
130
|
var headerStyle = { bold: true, vAlign: 'Center', wrapText: true, indent: cCnt === 0 ? pivotCell.level * 10 : 0 };
|
|
131
131
|
if (!(pivotCell.level === -1 && !pivotCell.rowSpan)) {
|
|
132
|
-
var
|
|
132
|
+
var aggMatrix = this.parent.engineModule.aggregatedValueMatrix;
|
|
133
|
+
var cellValue = pivotCell.axis === 'value' ? ((aggMatrix[rCnt] && aggMatrix[rCnt][cCnt]) ? aggMatrix[rCnt][cCnt] : (pivotCell.formattedText === '#DIV/0!' ? pivotCell.formattedText : pivotCell.value)) : pivotCell.formattedText;
|
|
133
134
|
var isgetValuesHeader = ((this.parent.dataSourceSettings.rows.length === 0 && this.parent.dataSourceSettings.valueAxis === 'row')
|
|
134
135
|
|| (this.parent.dataSourceSettings.columns.length === 0 && this.parent.dataSourceSettings.valueAxis === 'column'));
|
|
135
136
|
if (pivotCell.type === 'grand sum' && !(this.parent.dataSourceSettings.values.length === 1 && this.parent.dataSourceSettings.valueAxis === 'row' && pivotCell.axis === 'column')) {
|
|
@@ -2563,7 +2563,7 @@ var PivotView = /** @class */ (function (_super) {
|
|
|
2563
2563
|
if (cell && hasField) {
|
|
2564
2564
|
var rowHeaders = this.getRowText(rowIndex, 0);
|
|
2565
2565
|
var columnHeaders = this.getColText(0, colIndex, rowIndex);
|
|
2566
|
-
var value = (
|
|
2566
|
+
var value = (cell.formattedText === '' ? this.localeObj.getConstant('noValue') :
|
|
2567
2567
|
cell.formattedText);
|
|
2568
2568
|
if (this.tooltipTemplate && this.getTooltipTemplate() !== undefined) {
|
|
2569
2569
|
var rowFields = this.getHeaderField(rowIndex, colIndex, 'row');
|
|
@@ -2772,9 +2772,12 @@ var PivotView = /** @class */ (function (_super) {
|
|
|
2772
2772
|
}
|
|
2773
2773
|
var target = e.target;
|
|
2774
2774
|
var ele = null;
|
|
2775
|
+
var axis = (target.parentElement.classList.contains(cls.ROWSHEADER) || target.classList.contains(cls.ROWSHEADER)) ? 'row' : 'column';
|
|
2776
|
+
ele = axis === 'column' ? closest(target, 'th') : closest(target, 'td');
|
|
2777
|
+
if (axis === 'column' && !ele && this.gridSettings.selectionSettings.mode !== 'Row') {
|
|
2778
|
+
ele = closest(target, 'td');
|
|
2779
|
+
}
|
|
2775
2780
|
if (!target.classList.contains(cls.COLLAPSE) && !target.classList.contains(cls.EXPAND) && this.enableValueSorting && this.dataType === 'pivot') {
|
|
2776
|
-
var axis = (target.parentElement.classList.contains(cls.ROWSHEADER) || target.classList.contains(cls.ROWSHEADER)) ? 'row' : 'column';
|
|
2777
|
-
ele = axis === 'column' ? closest(target, 'th') : closest(target, 'td');
|
|
2778
2781
|
this.cellClicked(target, ele, e);
|
|
2779
2782
|
try {
|
|
2780
2783
|
if ((ele.parentElement.parentElement.parentElement.parentElement.classList.contains('e-movableheader')
|
|
@@ -786,7 +786,7 @@ export interface EmptyPointSettingsModel {
|
|
|
786
786
|
|
|
787
787
|
/**
|
|
788
788
|
* Allows you To customize the mode of empty points.
|
|
789
|
-
* @default
|
|
789
|
+
* @default Zero
|
|
790
790
|
*/
|
|
791
791
|
mode?: EmptyPointMode | AccEmptyPointMode;
|
|
792
792
|
|
|
@@ -1522,7 +1522,7 @@ export interface PivotChartSeriesEmptyPointSettingsModel {
|
|
|
1522
1522
|
|
|
1523
1523
|
/**
|
|
1524
1524
|
* To customize the mode of empty points.
|
|
1525
|
-
* @default
|
|
1525
|
+
* @default Zero
|
|
1526
1526
|
*/
|
|
1527
1527
|
mode?: EmptyPointMode | AccEmptyPointMode;
|
|
1528
1528
|
|
|
@@ -684,7 +684,7 @@ export declare class EmptyPointSettings extends ChildProperty<EmptyPointSettings
|
|
|
684
684
|
border: PivotChartBorderModel;
|
|
685
685
|
/**
|
|
686
686
|
* Allows you To customize the mode of empty points.
|
|
687
|
-
* @default
|
|
687
|
+
* @default Zero
|
|
688
688
|
*/
|
|
689
689
|
mode: EmptyPointMode | AccEmptyPointMode;
|
|
690
690
|
}
|
|
@@ -1295,7 +1295,7 @@ export declare class PivotChartSeriesEmptyPointSettings {
|
|
|
1295
1295
|
border: PivotChartBorderModel;
|
|
1296
1296
|
/**
|
|
1297
1297
|
* To customize the mode of empty points.
|
|
1298
|
-
* @default
|
|
1298
|
+
* @default Zero
|
|
1299
1299
|
*/
|
|
1300
1300
|
mode: EmptyPointMode | AccEmptyPointMode;
|
|
1301
1301
|
}
|
|
@@ -529,7 +529,7 @@ var EmptyPointSettings = /** @class */ (function (_super) {
|
|
|
529
529
|
Complex({ color: 'transparent', width: 0 }, Border)
|
|
530
530
|
], EmptyPointSettings.prototype, "border", void 0);
|
|
531
531
|
__decorate([
|
|
532
|
-
Property('
|
|
532
|
+
Property('Zero')
|
|
533
533
|
], EmptyPointSettings.prototype, "mode", void 0);
|
|
534
534
|
return EmptyPointSettings;
|
|
535
535
|
}(ChildProperty));
|
|
@@ -991,7 +991,7 @@ var PivotChartSeriesEmptyPointSettings = /** @class */ (function () {
|
|
|
991
991
|
Complex({ color: 'transparent', width: 0 }, Border)
|
|
992
992
|
], PivotChartSeriesEmptyPointSettings.prototype, "border", void 0);
|
|
993
993
|
__decorate([
|
|
994
|
-
Property('
|
|
994
|
+
Property('Zero')
|
|
995
995
|
], PivotChartSeriesEmptyPointSettings.prototype, "mode", void 0);
|
|
996
996
|
return PivotChartSeriesEmptyPointSettings;
|
|
997
997
|
}());
|
|
@@ -157,6 +157,7 @@ var Render = /** @class */ (function () {
|
|
|
157
157
|
Render.prototype.bindGrid = function (parent, isEmpty) {
|
|
158
158
|
this.injectGridModules(parent);
|
|
159
159
|
this.parent.grid = new Grid({
|
|
160
|
+
cssClass: this.parent.cssClass,
|
|
160
161
|
frozenColumns: 1,
|
|
161
162
|
frozenRows: 0,
|
|
162
163
|
enableHover: false,
|
|
@@ -349,9 +350,6 @@ var Render = /** @class */ (function () {
|
|
|
349
350
|
/* eslint-disable */
|
|
350
351
|
Render.prototype.contextMenuOpen = function (args) {
|
|
351
352
|
var _this = this;
|
|
352
|
-
if (args.element && this.parent.cssClass) {
|
|
353
|
-
addClass([args.element.parentElement], this.parent.cssClass);
|
|
354
|
-
}
|
|
355
353
|
var _loop_1 = function (item) {
|
|
356
354
|
var cellTarget = this_1.parent.lastCellClicked;
|
|
357
355
|
var elem = null;
|
|
@@ -1822,6 +1820,12 @@ var Render = /** @class */ (function () {
|
|
|
1822
1820
|
}
|
|
1823
1821
|
}
|
|
1824
1822
|
else {
|
|
1823
|
+
if ((['PercentageOfDifferenceFrom', 'PercentageOfRowTotal', 'PercentageOfColumnTotal', 'PercentageOfGrandTotal', 'PercentageOfParentRowTotal', 'PercentageOfParentColumnTotal', 'PercentageOfParentTotal']).indexOf(field.type) > -1) {
|
|
1824
|
+
format = 'P2';
|
|
1825
|
+
}
|
|
1826
|
+
else if (['PopulationStDev', 'SampleStDev', 'PopulationVar', 'SampleVar', 'Index'].indexOf(field.type) > -1) {
|
|
1827
|
+
format = undefined;
|
|
1828
|
+
}
|
|
1825
1829
|
if (this.parent.dataSourceSettings.formatSettings.length > 0) {
|
|
1826
1830
|
for (var fCnt = 0; fCnt < this.parent.dataSourceSettings.formatSettings.length; fCnt++) {
|
|
1827
1831
|
var formatSettings = this.parent.dataSourceSettings.formatSettings[fCnt];
|
|
@@ -1916,12 +1920,18 @@ var Render = /** @class */ (function () {
|
|
|
1916
1920
|
else {
|
|
1917
1921
|
this.colPos++;
|
|
1918
1922
|
/* eslint-disable-next-line */
|
|
1919
|
-
|
|
1923
|
+
var pivotValue = args.data[this.colPos];
|
|
1924
|
+
if (isNullOrUndefined(pivotValue.value) || isNullOrUndefined(pivotValue.formattedText) || pivotValue.formattedText === "") {
|
|
1920
1925
|
args.value = this.parent.exportType === 'Excel' ? null : '';
|
|
1921
1926
|
}
|
|
1922
1927
|
else {
|
|
1923
|
-
|
|
1924
|
-
|
|
1928
|
+
var aggMatrix = this.parent.dataType === 'pivot' && this.parent.engineModule ? this.parent.engineModule.aggregatedValueMatrix : undefined;
|
|
1929
|
+
if (aggMatrix && aggMatrix[pivotValue.rowIndex] && aggMatrix[pivotValue.rowIndex][pivotValue.colIndex]) {
|
|
1930
|
+
args.value = aggMatrix[pivotValue.rowIndex][pivotValue.colIndex];
|
|
1931
|
+
}
|
|
1932
|
+
else {
|
|
1933
|
+
args.value = !isNullOrUndefined(pivotValue.value) ? (pivotValue.formattedText === '#DIV/0!' ? pivotValue.formattedText : pivotValue.value) : pivotValue.formattedText;
|
|
1934
|
+
}
|
|
1925
1935
|
}
|
|
1926
1936
|
}
|
|
1927
1937
|
args = this.exportContentEvent(args);
|
package/styles/bootstrap4.css
CHANGED
|
@@ -611,7 +611,7 @@
|
|
|
611
611
|
}
|
|
612
612
|
.e-pivotview .e-pivot-toolbar .e-pivot-toolbar-menu ul .e-menu-item.e-focused .e-menu-icon,
|
|
613
613
|
.e-pivotview .e-pivot-toolbar .e-pivot-toolbar-menu ul .e-menu-item.e-focused .e-icons {
|
|
614
|
-
color: #
|
|
614
|
+
color: #fff;
|
|
615
615
|
}
|
|
616
616
|
.e-pivotview .e-pivot-toolbar .e-tab .e-tab-header .e-toolbar-item.e-active {
|
|
617
617
|
margin-left: 18px !important;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
font-weight: normal;
|
|
29
29
|
@if ($field-list-skin == 'bootstrap4') {
|
|
30
30
|
// sass-lint:disable-all
|
|
31
|
-
color:
|
|
31
|
+
color: $black;
|
|
32
32
|
// sass-lint:enable-all
|
|
33
33
|
opacity: .5;
|
|
34
34
|
}
|
|
@@ -1113,9 +1113,9 @@
|
|
|
1113
1113
|
|
|
1114
1114
|
&:hover {
|
|
1115
1115
|
@if ($field-list-skin == 'bootstrap4') {
|
|
1116
|
-
background-color:
|
|
1117
|
-
border-color:
|
|
1118
|
-
color:
|
|
1116
|
+
background-color: $gray-600 !important;
|
|
1117
|
+
border-color: $gray-600 !important;
|
|
1118
|
+
color: $white !important;
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
1121
|
|
|
@@ -1135,9 +1135,9 @@
|
|
|
1135
1135
|
|
|
1136
1136
|
&:focus {
|
|
1137
1137
|
@if ($field-list-skin == 'bootstrap4') {
|
|
1138
|
-
background-color:
|
|
1139
|
-
border-color:
|
|
1140
|
-
color:
|
|
1138
|
+
background-color: $gray-600 !important;
|
|
1139
|
+
border-color: $gray-600 !important;
|
|
1140
|
+
color: $white !important;
|
|
1141
1141
|
}
|
|
1142
1142
|
|
|
1143
1143
|
&.e-active {
|
|
@@ -147,9 +147,9 @@
|
|
|
147
147
|
|
|
148
148
|
&:hover {
|
|
149
149
|
@if ($pivotgrid-skin == 'bootstrap4') {
|
|
150
|
-
background-color:
|
|
151
|
-
border-color:
|
|
152
|
-
color:
|
|
150
|
+
background-color: $gray-600 !important;
|
|
151
|
+
border-color: $gray-600 !important;
|
|
152
|
+
color: $white !important;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
|
|
@@ -169,9 +169,9 @@
|
|
|
169
169
|
|
|
170
170
|
&:focus {
|
|
171
171
|
@if ($pivotgrid-skin == 'bootstrap4') {
|
|
172
|
-
background-color:
|
|
173
|
-
border-color:
|
|
174
|
-
color:
|
|
172
|
+
background-color: $gray-600 !important;
|
|
173
|
+
border-color: $gray-600 !important;
|
|
174
|
+
color: $white !important;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
&.e-active {
|
|
@@ -637,8 +637,8 @@
|
|
|
637
637
|
background-color: transparent;
|
|
638
638
|
border: none;
|
|
639
639
|
@if ($pivotgrid-skin == 'bootstrap4') {
|
|
640
|
-
background-color:
|
|
641
|
-
color:
|
|
640
|
+
background-color: $gray-100;
|
|
641
|
+
color: $gray-700;
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
// sass-lint:disable-all
|
|
@@ -649,8 +649,8 @@
|
|
|
649
649
|
overflow: hidden;
|
|
650
650
|
padding-left: 10px;
|
|
651
651
|
@if ($pivotgrid-skin == 'bootstrap4') {
|
|
652
|
-
background-color:
|
|
653
|
-
color:
|
|
652
|
+
background-color: $gray-100;
|
|
653
|
+
color: $gray-700;
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
.e-menu-icon {
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
margin-right: 0;
|
|
659
659
|
font-size: 16px;
|
|
660
660
|
@if ($pivotgrid-skin == 'bootstrap4') {
|
|
661
|
-
color:
|
|
661
|
+
color: $gray-700;
|
|
662
662
|
}
|
|
663
663
|
|
|
664
664
|
@if ($pivotgrid-skin == 'FluentUI') {
|
|
@@ -676,7 +676,7 @@
|
|
|
676
676
|
|
|
677
677
|
.e-caret {
|
|
678
678
|
@if ($pivotgrid-skin == 'bootstrap4') {
|
|
679
|
-
color:
|
|
679
|
+
color: $gray-700;
|
|
680
680
|
}
|
|
681
681
|
|
|
682
682
|
@if ($pivotgrid-skin == 'FluentUI') {
|
|
@@ -695,14 +695,14 @@
|
|
|
695
695
|
|
|
696
696
|
ul .e-menu-item.e-focused {
|
|
697
697
|
@if ($pivotgrid-skin == 'bootstrap4') {
|
|
698
|
-
background-color:
|
|
698
|
+
background-color: $gray-600;
|
|
699
699
|
border-radius: $pivotgrid-default-border-radius;
|
|
700
700
|
}
|
|
701
701
|
|
|
702
702
|
.e-menu-icon,
|
|
703
703
|
.e-icons{
|
|
704
704
|
@if ($pivotgrid-skin == 'bootstrap4') {
|
|
705
|
-
color
|
|
705
|
+
color: $white;
|
|
706
706
|
}
|
|
707
707
|
|
|
708
708
|
@if ($pivotgrid-skin == 'FluentUI') {
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
.e-grid .e-icons {
|
|
222
222
|
color: $pivotgrid-button-icon-color !important;
|
|
223
223
|
@if ($pivotgrid-skin == 'bootstrap4') {
|
|
224
|
-
color:
|
|
224
|
+
color: $gray-700 !important;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
@if ($skin-name == 'bootstrap5') {
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
&:hover {
|
|
232
232
|
color: $pivotgrid-icon-hover-color !important;
|
|
233
233
|
@if ($pivotgrid-skin == 'bootstrap4') {
|
|
234
|
-
color:
|
|
234
|
+
color: $gray-700 !important;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
@if ($skin-name == 'bootstrap5') {
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
.e-icons {
|
|
261
261
|
color: $pivotgrid-button-active-icon-color !important;
|
|
262
262
|
@if ($pivotgrid-skin == 'bootstrap4') {
|
|
263
|
-
color:
|
|
263
|
+
color: $gray-700 !important;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
@if ($skin-name == 'bootstrap5') {
|
|
@@ -611,7 +611,7 @@
|
|
|
611
611
|
}
|
|
612
612
|
.e-pivotview .e-pivot-toolbar .e-pivot-toolbar-menu ul .e-menu-item.e-focused .e-menu-icon,
|
|
613
613
|
.e-pivotview .e-pivot-toolbar .e-pivot-toolbar-menu ul .e-menu-item.e-focused .e-icons {
|
|
614
|
-
color: #
|
|
614
|
+
color: #fff;
|
|
615
615
|
}
|
|
616
616
|
.e-pivotview .e-pivot-toolbar .e-tab .e-tab-header .e-toolbar-item.e-active {
|
|
617
617
|
margin-left: 18px !important;
|