@datorama/core 22.12.7-beta.1 → 22.12.8-beta.1
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/bundle.scss +0 -9
- package/bundles/datorama-core.umd.js +8 -8
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +29 -29
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +4 -4
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +3 -5
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +4 -5
- package/esm2015/lib/grid-v2/grid-store/util.js +4 -1
- package/esm2015/lib/grid-v2/grid-v2.util.js +1 -1
- package/esm2015/lib/icon/icon.types.js +1 -1
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +4 -4
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +3 -5
- package/esm5/lib/grid-v2/grid-store/grid.service.js +4 -5
- package/esm5/lib/grid-v2/grid-store/util.js +4 -1
- package/esm5/lib/grid-v2/grid-v2.util.js +1 -1
- package/esm5/lib/icon/icon.types.js +1 -1
- package/fesm2015/datorama-core.js +8 -8
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +8 -8
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/grid-v2/grid-store/util.d.ts +2 -0
- package/lib/grid-v2/grid-v2.util.d.ts +1 -1
- package/lib/icon/icon.types.d.ts +1 -1
- package/package.json +1 -1
package/bundle.scss
CHANGED
|
@@ -14324,10 +14324,6 @@ dato-input input:disabled:hover {
|
|
|
14324
14324
|
background-color: themify(primary-50);
|
|
14325
14325
|
}
|
|
14326
14326
|
|
|
14327
|
-
.dato-grid.pivot-style .ag-cell {
|
|
14328
|
-
color: themify(primary-500);
|
|
14329
|
-
}
|
|
14330
|
-
|
|
14331
14327
|
.dato-grid.pivot-style .ag-cell .ag-row-group-leaf-indent {
|
|
14332
14328
|
margin: 0 !important;
|
|
14333
14329
|
}
|
|
@@ -14345,10 +14341,6 @@ dato-input input:disabled:hover {
|
|
|
14345
14341
|
height: inherit;
|
|
14346
14342
|
}
|
|
14347
14343
|
|
|
14348
|
-
.dato-grid.pivot-style .ag-header .ag-header-row .ag-header-cell dato-grid-column-header > div span {
|
|
14349
|
-
color: themify(primary-500);
|
|
14350
|
-
}
|
|
14351
|
-
|
|
14352
14344
|
.dato-grid.pivot-style .ag-header .ag-header-row .ag-header-cell.top-border {
|
|
14353
14345
|
border-top: 1px solid themify(primary-200);
|
|
14354
14346
|
}
|
|
@@ -14372,7 +14364,6 @@ dato-input input:disabled:hover {
|
|
|
14372
14364
|
|
|
14373
14365
|
.dato-grid.pivot-style .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
|
|
14374
14366
|
height: auto;
|
|
14375
|
-
color: themify(primary-500);
|
|
14376
14367
|
}
|
|
14377
14368
|
|
|
14378
14369
|
.dato-grid.pivot-style .ag-header .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group {
|
|
@@ -11554,6 +11554,9 @@
|
|
|
11554
11554
|
}
|
|
11555
11555
|
return value;
|
|
11556
11556
|
}
|
|
11557
|
+
function isHtmlAllowedForCol(gridOptions, colDef) {
|
|
11558
|
+
return (!gridOptions.disabledHTMLRenderingFields || !gridOptions.disabledHTMLRenderingFields.includes(getColField(colDef)));
|
|
11559
|
+
}
|
|
11557
11560
|
|
|
11558
11561
|
var GridQuery = /** @class */ (function (_super) {
|
|
11559
11562
|
__extends(GridQuery, _super);
|
|
@@ -12126,9 +12129,9 @@
|
|
|
12126
12129
|
cellValue = DOMPurify.sanitize(cellValue);
|
|
12127
12130
|
}
|
|
12128
12131
|
searchTerm = (searchTerm || '').trim();
|
|
12129
|
-
return searchTerm
|
|
12130
|
-
cellValue.replace(new RegExp(searchTerm, 'gi'), function (str) { return "<span class=\"search-highlight\">" + str + "</span>"; })
|
|
12131
|
-
cellValue;
|
|
12132
|
+
return searchTerm
|
|
12133
|
+
? cellValue.replace(new RegExp(searchTerm, 'gi'), function (str) { return "<span class=\"search-highlight\">" + str + "</span>"; })
|
|
12134
|
+
: cellValue;
|
|
12132
12135
|
};
|
|
12133
12136
|
|
|
12134
12137
|
(function (GridMinWidths) {
|
|
@@ -14487,8 +14490,7 @@
|
|
|
14487
14490
|
!this.hasCellRenderer(normalized, gridOptions) &&
|
|
14488
14491
|
gridOptions.enableSearchHighlight) {
|
|
14489
14492
|
normalized.cellRenderer = function (params) {
|
|
14490
|
-
var
|
|
14491
|
-
var allowHTML = !gridOptions.disabledHTMLRenderingFields || !gridOptions.disabledHTMLRenderingFields.includes(colField);
|
|
14493
|
+
var allowHTML = isHtmlAllowedForCol(gridOptions, params.colDef);
|
|
14492
14494
|
var isEditable = (isFunction(normalized.editable) && normalized.editable(params)) ||
|
|
14493
14495
|
(!isFunction(normalized.editable) && normalized.editable);
|
|
14494
14496
|
return isEditable
|
|
@@ -15806,7 +15808,6 @@
|
|
|
15806
15808
|
}
|
|
15807
15809
|
var gridApi = { grid: api, columns: columnApi };
|
|
15808
15810
|
_this.gridService._setApi(gridApi, agGrid);
|
|
15809
|
-
debugger;
|
|
15810
15811
|
_this.gridQuery._setApi(gridApi, agGrid);
|
|
15811
15812
|
_this.gridService.initSettings(savedSettings || {});
|
|
15812
15813
|
_this.registerSettingsListeners(gridApi, agGrid);
|
|
@@ -16047,8 +16048,7 @@
|
|
|
16047
16048
|
var textOverflow = cell.offsetWidth < cell.scrollWidth;
|
|
16048
16049
|
if (textOverflow) {
|
|
16049
16050
|
clearTimeout(this.cellMouseOutTimer);
|
|
16050
|
-
var
|
|
16051
|
-
var allowHTML = !this.gridOptions.disabledHTMLRenderingFields || !this.gridOptions.disabledHTMLRenderingFields.includes(colField);
|
|
16051
|
+
var allowHTML = isHtmlAllowedForCol(this.gridOptions, event.colDef);
|
|
16052
16052
|
var params = { cell: cell, value: cell.innerText, allowHTML: allowHTML };
|
|
16053
16053
|
isNil(this.tooltip) ? this.createAndShowTooltip(params) : this.updateTooltip(params);
|
|
16054
16054
|
}
|