@datorama/core 22.9.10 → 22.10.0
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 +137 -131
- package/bundles/datorama-core.umd.js +104 -136
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +38 -38
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.d.ts +0 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/datorama-core.js +1 -2
- package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +2 -4
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -9
- package/esm2015/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +12 -19
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +13 -30
- package/esm2015/lib/grid-v2/grid-pagination/grid-pagination.component.js +3 -2
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +29 -3
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -7
- package/esm2015/lib/loaders/page-loader/page-loader.component.js +2 -7
- package/esm2015/lib/rich-text/rich-text.directive.js +38 -20
- package/esm2015/lib/select/select.component.js +9 -4
- package/esm2015/lib/version.js +2 -2
- package/esm5/datorama-core.js +1 -2
- package/esm5/lib/breadcrumbs/breadcrumbs.component.js +2 -4
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -9
- package/esm5/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +12 -20
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +15 -29
- package/esm5/lib/grid-v2/grid-pagination/grid-pagination.component.js +5 -2
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.service.js +29 -3
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -13
- package/esm5/lib/loaders/page-loader/page-loader.component.js +2 -7
- package/esm5/lib/rich-text/rich-text.directive.js +39 -21
- package/esm5/lib/select/select.component.js +9 -4
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +100 -128
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +105 -136
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/grid-v2/grid/grid-v2.types.d.ts +3 -12
- package/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.d.ts +5 -3
- package/lib/grid-v2/grid-controller/grid-controller.component.d.ts +0 -1
- package/lib/grid-v2/grid-settings.d.ts +2 -2
- package/lib/grid-v2/grid-store/grid.service.d.ts +1 -0
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +0 -2
- package/lib/loaders/page-loader/page-loader.component.d.ts +0 -1
- package/lib/rich-text/rich-text.directive.d.ts +6 -4
- package/package.json +2 -2
- package/esm2015/lib/rich-text/rich-text.service.js +0 -50
- package/esm5/lib/rich-text/rich-text.service.js +0 -51
- package/lib/rich-text/rich-text.service.d.ts +0 -10
package/fesm5/datorama-core.js
CHANGED
|
@@ -8549,8 +8549,9 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8549
8549
|
DatoSelectComponent.prototype.writeValue = function (activeOptions) {
|
|
8550
8550
|
this._model = activeOptions ? coerceArray$1(activeOptions) : [];
|
|
8551
8551
|
if (this.options) {
|
|
8552
|
+
var overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
|
|
8552
8553
|
this.markAsActive(this._model, { deselectAll: true });
|
|
8553
|
-
|
|
8554
|
+
overTheLimit && this.updateDisabledState();
|
|
8554
8555
|
}
|
|
8555
8556
|
/** For later updates */
|
|
8556
8557
|
this.cdr.markForCheck();
|
|
@@ -8678,6 +8679,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8678
8679
|
};
|
|
8679
8680
|
DatoSelectComponent.prototype.removeOption = function (option) {
|
|
8680
8681
|
var _this = this;
|
|
8682
|
+
var updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
|
|
8681
8683
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== option[_this.idKey]; });
|
|
8682
8684
|
var optionToRemove = this.options.find(function (datoOption) { return datoOption.option && datoOption.option[_this.idKey] === option[_this.idKey]; });
|
|
8683
8685
|
/**
|
|
@@ -8687,7 +8689,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8687
8689
|
if (optionToRemove) {
|
|
8688
8690
|
optionToRemove.active = false;
|
|
8689
8691
|
}
|
|
8690
|
-
|
|
8692
|
+
updateDisabled && this.updateDisabledState();
|
|
8691
8693
|
this.onChange(this._model);
|
|
8692
8694
|
this.cdr.markForCheck();
|
|
8693
8695
|
this.asyncUpdateDropdownPosition();
|
|
@@ -9035,6 +9037,9 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9035
9037
|
if (!datoOption) {
|
|
9036
9038
|
return;
|
|
9037
9039
|
}
|
|
9040
|
+
var modelLength = this._model.length;
|
|
9041
|
+
var updateDisabled = this.limitSelectedTo &&
|
|
9042
|
+
(modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
|
|
9038
9043
|
datoOption.active = !datoOption.active;
|
|
9039
9044
|
var rawOption = datoOption.option;
|
|
9040
9045
|
if (datoOption.active) {
|
|
@@ -9043,7 +9048,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9043
9048
|
else {
|
|
9044
9049
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== rawOption[_this.idKey]; });
|
|
9045
9050
|
}
|
|
9046
|
-
|
|
9051
|
+
updateDisabled && this.updateDisabledState();
|
|
9047
9052
|
this.onChange(this._model);
|
|
9048
9053
|
this.cdr.markForCheck();
|
|
9049
9054
|
this.asyncUpdateDropdownPosition();
|
|
@@ -11848,7 +11853,7 @@ function toolbarActionToContextAction(params) {
|
|
|
11848
11853
|
return contextActions;
|
|
11849
11854
|
}
|
|
11850
11855
|
|
|
11851
|
-
var DATO_GRID_STORAGE_API = new InjectionToken('
|
|
11856
|
+
var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
|
|
11852
11857
|
|
|
11853
11858
|
var defaultEditableColumnRenderer = function (params) {
|
|
11854
11859
|
return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
|
|
@@ -11887,14 +11892,6 @@ var GridRowSelectionType;
|
|
|
11887
11892
|
GridRowSelectionType["SINGLE"] = "single";
|
|
11888
11893
|
GridRowSelectionType["MULTIPLE"] = "multiple";
|
|
11889
11894
|
})(GridRowSelectionType || (GridRowSelectionType = {}));
|
|
11890
|
-
var GridStatusColumnTypes;
|
|
11891
|
-
(function (GridStatusColumnTypes) {
|
|
11892
|
-
GridStatusColumnTypes["SUCCESS"] = "SUCCESS";
|
|
11893
|
-
GridStatusColumnTypes["FAILURE"] = "FAILURE";
|
|
11894
|
-
GridStatusColumnTypes["IN_PROGRESS"] = "IN_PROGRESS";
|
|
11895
|
-
GridStatusColumnTypes["PENDING"] = "PENDING";
|
|
11896
|
-
GridStatusColumnTypes["WAITING"] = "WAITING";
|
|
11897
|
-
})(GridStatusColumnTypes || (GridStatusColumnTypes = {}));
|
|
11898
11895
|
|
|
11899
11896
|
/**
|
|
11900
11897
|
* @license
|
|
@@ -14137,9 +14134,36 @@ var GridService = /** @class */ (function () {
|
|
|
14137
14134
|
this.initPivotSecondaryColsProcess(params);
|
|
14138
14135
|
params.gridOptions.enableV2_1 = true;
|
|
14139
14136
|
params.gridOptions.saveSettings = false;
|
|
14137
|
+
params.gridOptions.defaultColDef.cellClass = this.getPivotCellClass.bind(this);
|
|
14138
|
+
params.gridOptions.autoGroupColumnDef.cellClass = this.getPivotCellClass.bind(this);
|
|
14140
14139
|
}
|
|
14141
14140
|
return params.gridOptions;
|
|
14142
14141
|
};
|
|
14142
|
+
GridService.prototype.getPivotCellClass = function (params) {
|
|
14143
|
+
var _a = params.node, leafGroup = _a.leafGroup, childIndex = _a.childIndex, rowGroupIndex = _a.rowGroupIndex;
|
|
14144
|
+
var gridQuery = params.colDef.headerComponentParams.gridQuery;
|
|
14145
|
+
var cellClass = "";
|
|
14146
|
+
if (gridQuery && gridQuery.api) {
|
|
14147
|
+
var columns = gridQuery.api.columns;
|
|
14148
|
+
var allDisplayedColumns = columns.getAllDisplayedColumns();
|
|
14149
|
+
var col = allDisplayedColumns.find(function (column) {
|
|
14150
|
+
return column.getColId() === params.colDef.colId;
|
|
14151
|
+
});
|
|
14152
|
+
var colIndex = allDisplayedColumns.indexOf(col);
|
|
14153
|
+
if (rowGroupIndex <= colIndex) {
|
|
14154
|
+
if (leafGroup) {
|
|
14155
|
+
if (childIndex % 2 === 0) {
|
|
14156
|
+
/** If row is even */
|
|
14157
|
+
cellClass += ' primary-100-background-color';
|
|
14158
|
+
}
|
|
14159
|
+
}
|
|
14160
|
+
else {
|
|
14161
|
+
cellClass += 'primary-0-background-color pointer dato-simple-bold';
|
|
14162
|
+
}
|
|
14163
|
+
}
|
|
14164
|
+
}
|
|
14165
|
+
return cellClass;
|
|
14166
|
+
};
|
|
14143
14167
|
GridService.prototype.normalizeColumns = function (colDefs, gridOptions) {
|
|
14144
14168
|
var _this = this;
|
|
14145
14169
|
if (gridOptions === void 0) { gridOptions = null; }
|
|
@@ -14443,8 +14467,7 @@ var GridService = /** @class */ (function () {
|
|
|
14443
14467
|
this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
|
|
14444
14468
|
};
|
|
14445
14469
|
GridService.prototype.saveSettingsToServer = function (settings) {
|
|
14446
|
-
|
|
14447
|
-
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
14470
|
+
this.storageAPI.set(this.gridName, settings);
|
|
14448
14471
|
};
|
|
14449
14472
|
/**
|
|
14450
14473
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -15432,7 +15455,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15432
15455
|
});
|
|
15433
15456
|
DatoGridControllerComponent.prototype.ngOnDestroy = function () {
|
|
15434
15457
|
this.contentInit.complete();
|
|
15435
|
-
this.clearTooltip();
|
|
15458
|
+
this.tooltip && this.clearTooltip();
|
|
15436
15459
|
this.rowHoverComponent && this.rowHoverComponent.destroy();
|
|
15437
15460
|
this.rowHoverComponent = null;
|
|
15438
15461
|
};
|
|
@@ -15449,10 +15472,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15449
15472
|
.pipe(switchMap(function () {
|
|
15450
15473
|
_this.gridOptions = _this.normalizeOptions();
|
|
15451
15474
|
agGrid.gridOptions = _this.gridOptions;
|
|
15452
|
-
var
|
|
15453
|
-
var settingsLoader = _this.gridOptions.saveSettings === false
|
|
15454
|
-
? of(null)
|
|
15455
|
-
: _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
|
|
15475
|
+
var settingsLoader = _this.gridOptions.saveSettings === false ? of(null) : _this.storageAPI.get(_this.gridOptions.gridName);
|
|
15456
15476
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
15457
15477
|
}), untilDestroyed(this))
|
|
15458
15478
|
.subscribe(function (_a) {
|
|
@@ -15662,51 +15682,40 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15662
15682
|
});
|
|
15663
15683
|
this.addOnHoverElement();
|
|
15664
15684
|
}
|
|
15665
|
-
agGrid.cellMouseOver
|
|
15666
|
-
|
|
15667
|
-
|
|
15668
|
-
|
|
15669
|
-
|
|
15670
|
-
|
|
15671
|
-
lastHoveredCell = node.id + "-" + column.getColId();
|
|
15685
|
+
agGrid.cellMouseOver
|
|
15686
|
+
.pipe(filter$1(function (_a) {
|
|
15687
|
+
var node = _a.node, column = _a.column;
|
|
15688
|
+
return lastHoveredCell !== node.id + "-" + column.getColId();
|
|
15689
|
+
}), untilDestroyed(this))
|
|
15690
|
+
.subscribe(function (event) {
|
|
15691
|
+
lastHoveredCell = event.node.id + "-" + event.column.getColId();
|
|
15672
15692
|
_this.showTooltip(event);
|
|
15673
15693
|
var row = event.event.target.parentElement;
|
|
15674
|
-
if (onHoverEnabled && (node.group === false || isNil(node.group)) && _this.lastHoveredRow !== row) {
|
|
15694
|
+
if (onHoverEnabled && (event.node.group === false || isNil(event.node.group)) && _this.lastHoveredRow !== row) {
|
|
15675
15695
|
var previousNode = _this.lastHoveredRow;
|
|
15676
15696
|
_this.lastHoveredRow = row;
|
|
15677
15697
|
_this.toggleRowHoverClass([previousNode, _this.lastHoveredRow]);
|
|
15678
15698
|
_this.setOnHoverState(true, event);
|
|
15679
15699
|
}
|
|
15680
15700
|
});
|
|
15681
|
-
var onTooltipOut = merge$1(fromEvent(bodyViewport, 'scroll'), fromEvent(this.agGridEl, 'mouseleave'));
|
|
15682
|
-
onTooltipOut
|
|
15683
|
-
lastHoveredCell = null;
|
|
15684
|
-
_this.clearTooltip();
|
|
15685
|
-
});
|
|
15686
|
-
agGrid.cellMouseOut
|
|
15701
|
+
var onTooltipOut = merge$1(fromEvent(bodyViewport, 'scroll'), fromEvent(this.agGridEl, 'mouseleave'), agGrid.cellMouseOut);
|
|
15702
|
+
onTooltipOut
|
|
15687
15703
|
.pipe(filter$1(function () { return !isNil(_this.tooltip); }), untilDestroyed(this))
|
|
15688
15704
|
.subscribe(function () {
|
|
15689
|
-
_this.
|
|
15705
|
+
_this.clearTooltip();
|
|
15690
15706
|
});
|
|
15691
15707
|
};
|
|
15692
15708
|
/**
|
|
15693
15709
|
* Dispose the tooltip
|
|
15694
15710
|
*/
|
|
15695
15711
|
DatoGridControllerComponent.prototype.clearTooltip = function () {
|
|
15696
|
-
this.tooltip
|
|
15712
|
+
this.tooltip.dispose();
|
|
15697
15713
|
this.tooltip = null;
|
|
15698
15714
|
};
|
|
15699
15715
|
DatoGridControllerComponent.prototype.showTooltip = function (event) {
|
|
15700
15716
|
var cell = event.event.target;
|
|
15701
|
-
if (cell.tagName === 'SPAN' && cell.scrollWidth === 0) {
|
|
15702
|
-
cell = cell.parentElement;
|
|
15703
|
-
}
|
|
15704
|
-
if (event.colDef.editable) {
|
|
15705
|
-
cell = cell.querySelector('.value-wrapper') || cell;
|
|
15706
|
-
}
|
|
15707
15717
|
var textOverflow = cell.offsetWidth < cell.scrollWidth;
|
|
15708
15718
|
if (textOverflow) {
|
|
15709
|
-
clearTimeout(this.cellMouseOutTimer);
|
|
15710
15719
|
var params = { cell: cell, value: cell.innerText };
|
|
15711
15720
|
isNil(this.tooltip) ? this.createAndShowTooltip(params) : this.updateTooltip(params);
|
|
15712
15721
|
}
|
|
@@ -16293,7 +16302,9 @@ var DatoGridPaginationV2Component = /** @class */ (function () {
|
|
|
16293
16302
|
DatoGridPaginationV2Component.prototype.ngOnInit = function () {
|
|
16294
16303
|
var _this = this;
|
|
16295
16304
|
this.gridQuery
|
|
16296
|
-
.waitForGrid(function () {
|
|
16305
|
+
.waitForGrid(function () {
|
|
16306
|
+
return merge$1(_this.gridQuery.gridRef.filterChanged, _this.gridQuery.gridRef.rowGroupOpened, _this.gridQuery.gridRef.expandOrCollapseAll);
|
|
16307
|
+
})
|
|
16297
16308
|
.pipe(untilDestroyed(this))
|
|
16298
16309
|
.subscribe(function () {
|
|
16299
16310
|
_this.gridApi.paginationGoToPage(0);
|
|
@@ -16745,18 +16756,6 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
|
|
|
16745
16756
|
this.registerGroupListeners();
|
|
16746
16757
|
this.subscribeRowsSelectionData();
|
|
16747
16758
|
};
|
|
16748
|
-
DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
|
|
16749
|
-
var _this = this;
|
|
16750
|
-
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16751
|
-
return _this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16752
|
-
});
|
|
16753
|
-
};
|
|
16754
|
-
DatoGridV2ToolbarComponent.prototype.getRowDataUpdatedEvent = function () {
|
|
16755
|
-
var _this = this;
|
|
16756
|
-
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16757
|
-
return _this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16758
|
-
});
|
|
16759
|
-
};
|
|
16760
16759
|
DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
|
|
16761
16760
|
if (isFunction(action.onClick)) {
|
|
16762
16761
|
var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -19371,7 +19370,6 @@ var DatoPageLoaderComponent = /** @class */ (function () {
|
|
|
19371
19370
|
function DatoPageLoaderComponent() {
|
|
19372
19371
|
this.msg = '';
|
|
19373
19372
|
this.salesforce = false;
|
|
19374
|
-
this.size = 'medium';
|
|
19375
19373
|
this.circleIds = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'];
|
|
19376
19374
|
}
|
|
19377
19375
|
__decorate([
|
|
@@ -19382,14 +19380,10 @@ var DatoPageLoaderComponent = /** @class */ (function () {
|
|
|
19382
19380
|
Input(),
|
|
19383
19381
|
__metadata("design:type", Object)
|
|
19384
19382
|
], DatoPageLoaderComponent.prototype, "salesforce", void 0);
|
|
19385
|
-
__decorate([
|
|
19386
|
-
Input(),
|
|
19387
|
-
__metadata("design:type", String)
|
|
19388
|
-
], DatoPageLoaderComponent.prototype, "size", void 0);
|
|
19389
19383
|
DatoPageLoaderComponent = __decorate([
|
|
19390
19384
|
Component({
|
|
19391
19385
|
selector: 'dato-page-loader',
|
|
19392
|
-
template: "<div class=\"d-flex-column align-center\">\n <ng-container *ngIf=\"salesforce; else datoramaPageLoader\">\n <div class=\"slds-spinner_container\">\n <div role=\"status\" class=\"slds-spinner slds-
|
|
19386
|
+
template: "<div class=\"d-flex-column align-center\">\n <ng-container *ngIf=\"salesforce; else datoramaPageLoader\">\n <div class=\"slds-spinner_container\">\n <div role=\"status\" class=\"slds-spinner slds-spinner_medium slds-spinner_brand\">\n <div class=\"slds-spinner__dot-a\"></div>\n <div class=\"slds-spinner__dot-b\"></div>\n </div>\n </div>\n </ng-container>\n <ng-template #datoramaPageLoader>\n <div class=\"animation-container d-flex align-center d-flex-wrap\">\n <div class=\"circle d-flex align-center\" *ngFor=\"let id of circleIds\" [ngClass]=\"'circle-' + id\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\">\n <circle cx=\"6\" cy=\"6\" r=\"5\" />\n </svg>\n </div>\n </div>\n </ng-template>\n <span class=\"loading-message simple-bold\">{{msg | translate}}</span>\n</div>",
|
|
19393
19387
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
19394
19388
|
})
|
|
19395
19389
|
], DatoPageLoaderComponent);
|
|
@@ -20367,15 +20361,8 @@ var DatoGridV2ToolbarMoreMenuComponent = /** @class */ (function () {
|
|
|
20367
20361
|
|
|
20368
20362
|
var DatoGridStatusCellComponent = /** @class */ (function () {
|
|
20369
20363
|
function DatoGridStatusCellComponent(cdr) {
|
|
20370
|
-
var _a;
|
|
20371
20364
|
this.cdr = cdr;
|
|
20372
|
-
this.
|
|
20373
|
-
_a[GridStatusColumnTypes.SUCCESS] = { icon: 'success-line', iconCssClass: 'green-400-color' },
|
|
20374
|
-
_a[GridStatusColumnTypes.FAILURE] = { icon: 'failed-line', iconCssClass: 'red-400-color' },
|
|
20375
|
-
_a[GridStatusColumnTypes.PENDING] = { icon: 'time', iconCssClass: 'yellow-400-color' },
|
|
20376
|
-
_a[GridStatusColumnTypes.WAITING] = { icon: 'info-line', iconCssClass: 'orange-400-color' },
|
|
20377
|
-
_a[GridStatusColumnTypes.IN_PROGRESS] = { showSpinner: true },
|
|
20378
|
-
_a);
|
|
20365
|
+
this.DEFAULT_MIN_WIDTH = 100;
|
|
20379
20366
|
}
|
|
20380
20367
|
DatoGridStatusCellComponent.prototype.agInit = function (params) {
|
|
20381
20368
|
var value = params.value, valueFormatted = params.valueFormatted, node = params.node;
|
|
@@ -20390,14 +20377,15 @@ var DatoGridStatusCellComponent = /** @class */ (function () {
|
|
|
20390
20377
|
var mainCustomCellConfig = customCellConfig || {};
|
|
20391
20378
|
var valueCustomCellConfig = valueToCustomCellConfig ? valueToCustomCellConfig[params.value] || {} : {};
|
|
20392
20379
|
var config = __assign(__assign({}, mainCustomCellConfig), valueCustomCellConfig);
|
|
20393
|
-
var
|
|
20394
|
-
var defaultConfig = this.defaultConfigByStatus[status] || {};
|
|
20380
|
+
var color = config.color, icon = config.icon, cssClass = config.cssClass, iconCssClass = config.iconCssClass, minWidth = config.minWidth, showSpinner = config.showSpinner, getAdditionalText = config.getAdditionalText, getIsVisible = config.getIsVisible;
|
|
20395
20381
|
this.isVisible = !getIsVisible || getIsVisible(params.data);
|
|
20396
|
-
this.
|
|
20397
|
-
this.
|
|
20398
|
-
this.
|
|
20399
|
-
this.
|
|
20400
|
-
this.
|
|
20382
|
+
this.color = color || 'primary';
|
|
20383
|
+
this.backgroundClass = this.color + "-" + (this.color === 'accent' ? '100' : '200') + "-background-color";
|
|
20384
|
+
this.icon = icon;
|
|
20385
|
+
this.minWidth = minWidth || this.DEFAULT_MIN_WIDTH;
|
|
20386
|
+
this.cssClass = cssClass || '';
|
|
20387
|
+
this.iconCssClass = iconCssClass || '';
|
|
20388
|
+
this.showSpinner = showSpinner;
|
|
20401
20389
|
this.additionalText = getAdditionalText ? getAdditionalText(params.data) : null;
|
|
20402
20390
|
};
|
|
20403
20391
|
DatoGridStatusCellComponent.prototype.refresh = function (params) {
|
|
@@ -20411,9 +20399,8 @@ var DatoGridStatusCellComponent = /** @class */ (function () {
|
|
|
20411
20399
|
DatoGridStatusCellComponent = __decorate([
|
|
20412
20400
|
Component({
|
|
20413
20401
|
selector: 'dato-grid-status-cell',
|
|
20414
|
-
template: "<div *ngIf=\"!isGroup && isVisible\" class=\"height-100 d-flex items-center\">\n <
|
|
20415
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
20416
|
-
styles: [".line-height-18{line-height:18px}"]
|
|
20402
|
+
template: "<div *ngIf=\"!isGroup && isVisible\" class=\"height-100 d-flex items-center\">\n <div *ngIf=\"status\" class=\"d-flex justify-center items-center px-15 py-5 {{backgroundClass}} {{cssClass}}\" [style.min-width.px]=\"minWidth\">\n <dato-icon *ngIf=\"icon\" class=\"mr-5 {{iconCssClass}}\" [icon]=\"icon\" datoSize=\"sm\"></dato-icon>\n <div class=\"dato-note {{color}}-800-color\" [class.ellipsis]=\"!additionalText\"\n [datoTooltipV2]=\"status\" [showOnlyOnTextOverflow]=\"true\" [tooltipCheckInView]=\"false\" [datoTooltipDisabled]=\"!!additionalText\">\n {{status}}\n </div>\n <div *ngIf=\"additionalText\" class=\"dato-note {{color}}-800-color ml-3 ellipsis\"\n [datoTooltipV2]=\"status + ' ' + additionalText\" [showOnlyOnTextOverflow]=\"true\" [tooltipCheckInView]=\"false\">\n {{additionalText}}\n </div>\n <span *ngIf=\"showSpinner\" class=\"dato-spinner-loader ml-5\"></span>\n </div>\n</div>\n<span *ngIf=\"isGroup\">{{status}}</span>\n",
|
|
20403
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
20417
20404
|
}),
|
|
20418
20405
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
|
20419
20406
|
], DatoGridStatusCellComponent);
|
|
@@ -21244,40 +21231,6 @@ var DatoEditableHeaderModule = /** @class */ (function () {
|
|
|
21244
21231
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
21245
21232
|
*/
|
|
21246
21233
|
|
|
21247
|
-
var RichTextService = /** @class */ (function () {
|
|
21248
|
-
function RichTextService(http, config) {
|
|
21249
|
-
this.http = http;
|
|
21250
|
-
this.config = config;
|
|
21251
|
-
}
|
|
21252
|
-
RichTextService.prototype.getLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21253
|
-
if (!this.richTextScript$) {
|
|
21254
|
-
this.initLib(appendScriptFunc, appendStyleFunc);
|
|
21255
|
-
}
|
|
21256
|
-
return this.richTextScript$;
|
|
21257
|
-
};
|
|
21258
|
-
RichTextService.prototype.initLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21259
|
-
this.richTextScript$ = combineLatest([
|
|
21260
|
-
this.http
|
|
21261
|
-
.get(this.config.paths.richText + "/index.js", { responseType: 'text' })
|
|
21262
|
-
.pipe(tap(function (lib) { return appendScriptFunc(lib, 'rich-text-editor'); })),
|
|
21263
|
-
this.http
|
|
21264
|
-
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21265
|
-
.pipe(tap(function (style) { return appendStyleFunc(style, 'tinymce-autocomplete'); }))
|
|
21266
|
-
]).pipe(shareReplay(1));
|
|
21267
|
-
};
|
|
21268
|
-
RichTextService.ctorParameters = function () { return [
|
|
21269
|
-
{ type: HttpClient },
|
|
21270
|
-
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21271
|
-
]; };
|
|
21272
|
-
RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
|
|
21273
|
-
RichTextService = __decorate([
|
|
21274
|
-
Injectable({ providedIn: 'root' }),
|
|
21275
|
-
__param(1, Inject(DATO_CORE_CONFIG)),
|
|
21276
|
-
__metadata("design:paramtypes", [HttpClient, Object])
|
|
21277
|
-
], RichTextService);
|
|
21278
|
-
return RichTextService;
|
|
21279
|
-
}());
|
|
21280
|
-
|
|
21281
21234
|
/**
|
|
21282
21235
|
* @license
|
|
21283
21236
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -21291,20 +21244,20 @@ var getTinymce = function () {
|
|
|
21291
21244
|
var ɵ0$3 = getTinymce;
|
|
21292
21245
|
var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
21293
21246
|
__extends(DatoRichTextDirective, _super);
|
|
21294
|
-
function DatoRichTextDirective(ngZone,
|
|
21247
|
+
function DatoRichTextDirective(ngZone, http, host, config) {
|
|
21295
21248
|
var _this = _super.call(this) || this;
|
|
21296
21249
|
_this.ngZone = ngZone;
|
|
21297
|
-
_this.
|
|
21298
|
-
_this.config = config;
|
|
21250
|
+
_this.http = http;
|
|
21299
21251
|
_this.host = host;
|
|
21252
|
+
_this.config = config;
|
|
21300
21253
|
_this.autocompleteOptions = {};
|
|
21301
21254
|
_this.forcePlainTextPasting = false;
|
|
21302
21255
|
_this.format = 'html';
|
|
21303
21256
|
_this.isOneLine = false;
|
|
21304
21257
|
_this.initialValue = '';
|
|
21305
|
-
_this.defaultPlugins = 'link fullscreen image lists table autocomplete';
|
|
21258
|
+
_this.defaultPlugins = 'link fullscreen textcolor colorpicker image lists table textpattern autocomplete';
|
|
21306
21259
|
_this.defaultToolbar = [
|
|
21307
|
-
'
|
|
21260
|
+
'fontselect fontsizeselect forecolor backcolor bold italic underline link',
|
|
21308
21261
|
'alignleft aligncenter alignright alignjustify outdent indent | table numlist bullist | image fullscreen'
|
|
21309
21262
|
];
|
|
21310
21263
|
return _this;
|
|
@@ -21330,11 +21283,28 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21330
21283
|
base: this.config.paths.richText,
|
|
21331
21284
|
query: ''
|
|
21332
21285
|
};
|
|
21333
|
-
|
|
21334
|
-
|
|
21335
|
-
|
|
21336
|
-
|
|
21337
|
-
|
|
21286
|
+
/**
|
|
21287
|
+
* We support only one instance in load time
|
|
21288
|
+
*/
|
|
21289
|
+
if (window.tinymce) {
|
|
21290
|
+
this.init.call(this);
|
|
21291
|
+
}
|
|
21292
|
+
else {
|
|
21293
|
+
this.loadLib().subscribe(function (lib) {
|
|
21294
|
+
appendScript(lib, 'rich-text-editor');
|
|
21295
|
+
_this.init.call(_this);
|
|
21296
|
+
_this.loadAutoCompleteStyle();
|
|
21297
|
+
});
|
|
21298
|
+
}
|
|
21299
|
+
};
|
|
21300
|
+
DatoRichTextDirective.prototype.loadLib = function () {
|
|
21301
|
+
return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
|
|
21302
|
+
};
|
|
21303
|
+
DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
|
|
21304
|
+
this.http
|
|
21305
|
+
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21306
|
+
.subscribe(function (style) {
|
|
21307
|
+
appendStyle(style, 'tinymce-autocomplete');
|
|
21338
21308
|
});
|
|
21339
21309
|
};
|
|
21340
21310
|
DatoRichTextDirective.prototype.initEditor = function (_, editor) {
|
|
@@ -21358,6 +21328,8 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21358
21328
|
target: this.host.nativeElement,
|
|
21359
21329
|
width: this.width || 600,
|
|
21360
21330
|
height: this.height || 300,
|
|
21331
|
+
force_br_newlines: true,
|
|
21332
|
+
force_p_newlines: false,
|
|
21361
21333
|
resize: 'both',
|
|
21362
21334
|
branding: false,
|
|
21363
21335
|
inline: this.inline,
|
|
@@ -21365,12 +21337,10 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21365
21337
|
readonly: this.disabled,
|
|
21366
21338
|
plugins: this.plugins || this.defaultPlugins,
|
|
21367
21339
|
toolbar: isNil(this.toolbar) ? this.defaultToolbar : this.toolbar,
|
|
21368
|
-
|
|
21340
|
+
fontsize_formats: '8px 10px 12px 14px 18px 24px 36px',
|
|
21369
21341
|
min_width: 480,
|
|
21370
21342
|
menubar: false,
|
|
21371
21343
|
autocomplete: this.autocompleteOptions,
|
|
21372
|
-
suffix: '.min',
|
|
21373
|
-
skin: 'tinymce-5',
|
|
21374
21344
|
setup: function (editor) {
|
|
21375
21345
|
_this.editor = editor;
|
|
21376
21346
|
editor.on('init', function (e) {
|
|
@@ -21427,9 +21397,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21427
21397
|
var DatoRichTextDirective_1;
|
|
21428
21398
|
DatoRichTextDirective.ctorParameters = function () { return [
|
|
21429
21399
|
{ type: NgZone },
|
|
21430
|
-
{ type:
|
|
21431
|
-
{ type:
|
|
21432
|
-
{ type:
|
|
21400
|
+
{ type: HttpClient },
|
|
21401
|
+
{ type: ElementRef },
|
|
21402
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21433
21403
|
]; };
|
|
21434
21404
|
__decorate([
|
|
21435
21405
|
Input(),
|
|
@@ -21495,9 +21465,10 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21495
21465
|
}
|
|
21496
21466
|
]
|
|
21497
21467
|
}),
|
|
21498
|
-
__param(
|
|
21468
|
+
__param(3, Inject(DATO_CORE_CONFIG)),
|
|
21499
21469
|
__metadata("design:paramtypes", [NgZone,
|
|
21500
|
-
|
|
21470
|
+
HttpClient,
|
|
21471
|
+
ElementRef, Object])
|
|
21501
21472
|
], DatoRichTextDirective);
|
|
21502
21473
|
return DatoRichTextDirective;
|
|
21503
21474
|
}(BaseCustomControl));
|
|
@@ -24020,9 +23991,7 @@ var DatoBreadcrumbsComponent = /** @class */ (function () {
|
|
|
24020
23991
|
};
|
|
24021
23992
|
DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
|
|
24022
23993
|
var _this = this;
|
|
24023
|
-
this.headerControl.valueChanges
|
|
24024
|
-
.pipe(debounceTime(300), untilDestroyed(this))
|
|
24025
|
-
.subscribe(function (res) {
|
|
23994
|
+
this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe(function (res) {
|
|
24026
23995
|
_this.updateEditableText.emit(res);
|
|
24027
23996
|
_this.cdr.detectChanges();
|
|
24028
23997
|
});
|
|
@@ -25385,7 +25354,7 @@ function fixNgLeaks() {
|
|
|
25385
25354
|
};
|
|
25386
25355
|
}
|
|
25387
25356
|
|
|
25388
|
-
window.coreVersion = '22.10.
|
|
25357
|
+
window.coreVersion = '22.10.0';
|
|
25389
25358
|
|
|
25390
25359
|
/**
|
|
25391
25360
|
* @license
|
|
@@ -25399,5 +25368,5 @@ window.coreVersion = '22.10.7-rc.';
|
|
|
25399
25368
|
* Generated bundle index. Do not edit.
|
|
25400
25369
|
*/
|
|
25401
25370
|
|
|
25402
|
-
export { APP_TRANSLATE, AceService, BaseCustomControl, COMPARE_RESULT, CUSTOM_RANGE_ID, ColorPalette, ConfirmationType, ContentRef, ContentType, CustomHeaderControllerService, DATE_PICKER_CONFIG, DATE_PICKER_POPOVER_ID, DATO_CORE_LOGGER, DATO_FORM_ERRORS, DATO_GRID_STORAGE_API, DEFAULT_FORMAT, DEFAULT_GRID_SEARCH_DEBOUNCE_TIME, DatePickerConfig, DatePickerMonthComponent, DateType, DatoAccordionComponent, DatoAccordionContentComponent, DatoAccordionGroupComponent, DatoAccordionHeaderComponent, DatoAccordionModule, DatoAceDirective, DatoAceDraggableDirective, DatoAceModule, DatoActionType, DatoAutoCompleteContentDirective, DatoAutoFocusDirective, DatoAutocompleteComponent, DatoAutocompleteDirective, DatoAutocompleteModule, DatoBreadcrumbsComponent, DatoBreadcrumbsModule, DatoButtonComponent, DatoButtonGroupComponent, DatoButtonGroupModule, DatoButtonModule, DatoCamelCasePipe, DatoCarouselComponent, DatoCarouselItemDirective, DatoCarouselItemElement, DatoCarouselModule, DatoCheckboxComponent, DatoCheckboxModule, DatoClipboardDirective, DatoColorDirective, DatoConfirmationDialogComponent, DatoControlErrorComponent, DatoControlErrorContainerDirective, DatoControlErrorsDirective, DatoCoreError, DatoCoreModule, DatoCustomHeaderTemplateComponent, DatoCustomHeaderTemplateDirective, DatoCustomMoreMenuTemplateDirective, DatoDatePickerContainerComponent, DatoDatePickerModule, DatoDatePickerRangeComponent, DatoDatePickerSingleComponent, DatoDialog, DatoDialogCloseDirective, DatoDialogComponent, DatoDialogContentComponent, DatoDialogDismissDirective, DatoDialogFooterComponent, DatoDialogHeaderComponent, DatoDialogModule, DatoDialogRef, DatoDirectivesModule, DatoDisableControlDirective, DatoDraggableDirective, DatoDynamicContentComponent, DatoDynamicContentModule, DatoEditableHeaderComponent, DatoEditableHeaderModule, DatoFileInputComponent, DatoFileInputDefaultComponent, DatoFileInputModule, DatoFilterConditions, DatoFontDirective, DatoFontIconComponent, DatoFontIconModule, DatoFormSubmitDirective, DatoFormValidationModule, DatoGrid, DatoGridAPI, DatoGridAvatarCellComponent, DatoGridColumnDisplayMenuComponent, DatoGridColumnHeaderComponent, DatoGridColumnHeaderMoreMenuComponent, DatoGridColumnTypes, DatoGridComponent, DatoGridControllerComponent, DatoGridDateFilterOptions, DatoGridFilterComponent, DatoGridFilterOptionsMap, DatoGridFilterSections, DatoGridFilterTypes, DatoGridGroupsMenuComponent, DatoGridHeaderComponent, DatoGridHeaderV2Component, DatoGridInitialsCellComponent, DatoGridItemsCellComponent, DatoGridModule, DatoGridMoreMenuActions, DatoGridNumberFilterOptions, DatoGridOnHoverComponent, DatoGridPaginationComponent, DatoGridPaginationV2Component, DatoGridStatusCellComponent, DatoGridStringFilterOptions, DatoGridToolbarComponent, DatoGridToolbarItemDirective, DatoGridToolbarItemElementDirective, DatoGridV2Component, DatoGridV2LoaderComponent, DatoGridV2Module, DatoGridV2NoDataOverlayComponent, DatoGridV2ToolbarButtonComponent, DatoGridV2ToolbarComponent, DatoGroupComponent, DatoHighlightPipe, DatoHotkeys, DatoHotkeysDirective, DatoHotkeysHelpComponent, DatoHotkeysModule, DatoIconButtonComponent, DatoIconButtonModule, DatoIconComponent, DatoIconModule, DatoInfiniteScrollComponent, DatoInfiniteScrollModule, DatoInputComponent, DatoInputModule, DatoInputNumberComponent, DatoInputNumberDirective, DatoInputNumberModule, DatoKebabCasePipe, DatoLinkButtonComponent, DatoLinkButtonModule, DatoListComponent, DatoListModule, DatoListNoDataComponent, DatoListNoResultComponent, DatoListV2Component, DatoListV2Module, DatoLoaderComponent, DatoLoadersModule, DatoMenuComponent, DatoMenuContentDirective, DatoMenuItemDirective, DatoMenuModule, DatoMenuTriggerForDirective, DatoMultiOptionComponent, DatoMultiOptionV2Component, DatoOperatorTogglerComponent, DatoOperatorTogglerModule, DatoOptionComponent, DatoOptionV2Component, DatoOptionsModule, DatoOriginDirective, DatoOverlay, DatoPageLoaderComponent, DatoPanel, DatoPanelComponent, DatoPanelContentComponent, DatoPanelFooterComponent, DatoPanelHeaderComponent, DatoPanelInternalConfig, DatoPanelModule, DatoPanelRef, DatoPillsComponent, DatoPillsModule, DatoPipesModule, DatoPopover, DatoPopoverComponent, DatoPopoverModule, DatoProgressBarComponent, DatoProgressBarModule, DatoRadioComponent, DatoRadioModule, DatoRichTextDirective, DatoRichTextModule, DatoSearchResultsGroupSortPipe, DatoSearchResultsSortPipe, DatoSearchableContainerComponent, DatoSearchableDirective, DatoSearchableHighlightDirective, DatoSearchableModule, DatoSelectActiveDirective, DatoSelectComponent, DatoSelectEmptyComponent, DatoSelectModule, DatoSliderComponent, DatoSliderModule, DatoSnackbar, DatoSnackbarComponent, DatoSnackbarModule, DatoSortableComponent, DatoSortableHandleDirective, DatoSortableModule, DatoStaticImageSrcDirective, DatoStaticImagesSrcModule, DatoSubscribeContext, DatoSubscribeDirective, DatoTab, DatoTabContent, DatoTabTitle, DatoTabsModule, DatoTabset, DatoTemplatePortal, DatoTextModule, DatoThemesModule, DatoToast, DatoToastComponent, DatoToastModule, DatoTogglerComponent, DatoTogglerModule, DatoTooltipDirective, DatoTooltipV2Directive, DatoTrackByPropPipe, DatoTranslateService, DatoTreePipe, DatoTriggerMulti, DatoTriggerSingle, DialogConfig, DialogResultStatus, Dimensions, EventModifiersPlugin, GridActionType, GridMinWidths, GridRowSelectionType,
|
|
25371
|
+
export { APP_TRANSLATE, AceService, BaseCustomControl, COMPARE_RESULT, CUSTOM_RANGE_ID, ColorPalette, ConfirmationType, ContentRef, ContentType, CustomHeaderControllerService, DATE_PICKER_CONFIG, DATE_PICKER_POPOVER_ID, DATO_CORE_LOGGER, DATO_FORM_ERRORS, DATO_GRID_STORAGE_API, DEFAULT_FORMAT, DEFAULT_GRID_SEARCH_DEBOUNCE_TIME, DatePickerConfig, DatePickerMonthComponent, DateType, DatoAccordionComponent, DatoAccordionContentComponent, DatoAccordionGroupComponent, DatoAccordionHeaderComponent, DatoAccordionModule, DatoAceDirective, DatoAceDraggableDirective, DatoAceModule, DatoActionType, DatoAutoCompleteContentDirective, DatoAutoFocusDirective, DatoAutocompleteComponent, DatoAutocompleteDirective, DatoAutocompleteModule, DatoBreadcrumbsComponent, DatoBreadcrumbsModule, DatoButtonComponent, DatoButtonGroupComponent, DatoButtonGroupModule, DatoButtonModule, DatoCamelCasePipe, DatoCarouselComponent, DatoCarouselItemDirective, DatoCarouselItemElement, DatoCarouselModule, DatoCheckboxComponent, DatoCheckboxModule, DatoClipboardDirective, DatoColorDirective, DatoConfirmationDialogComponent, DatoControlErrorComponent, DatoControlErrorContainerDirective, DatoControlErrorsDirective, DatoCoreError, DatoCoreModule, DatoCustomHeaderTemplateComponent, DatoCustomHeaderTemplateDirective, DatoCustomMoreMenuTemplateDirective, DatoDatePickerContainerComponent, DatoDatePickerModule, DatoDatePickerRangeComponent, DatoDatePickerSingleComponent, DatoDialog, DatoDialogCloseDirective, DatoDialogComponent, DatoDialogContentComponent, DatoDialogDismissDirective, DatoDialogFooterComponent, DatoDialogHeaderComponent, DatoDialogModule, DatoDialogRef, DatoDirectivesModule, DatoDisableControlDirective, DatoDraggableDirective, DatoDynamicContentComponent, DatoDynamicContentModule, DatoEditableHeaderComponent, DatoEditableHeaderModule, DatoFileInputComponent, DatoFileInputDefaultComponent, DatoFileInputModule, DatoFilterConditions, DatoFontDirective, DatoFontIconComponent, DatoFontIconModule, DatoFormSubmitDirective, DatoFormValidationModule, DatoGrid, DatoGridAPI, DatoGridAvatarCellComponent, DatoGridColumnDisplayMenuComponent, DatoGridColumnHeaderComponent, DatoGridColumnHeaderMoreMenuComponent, DatoGridColumnTypes, DatoGridComponent, DatoGridControllerComponent, DatoGridDateFilterOptions, DatoGridFilterComponent, DatoGridFilterOptionsMap, DatoGridFilterSections, DatoGridFilterTypes, DatoGridGroupsMenuComponent, DatoGridHeaderComponent, DatoGridHeaderV2Component, DatoGridInitialsCellComponent, DatoGridItemsCellComponent, DatoGridModule, DatoGridMoreMenuActions, DatoGridNumberFilterOptions, DatoGridOnHoverComponent, DatoGridPaginationComponent, DatoGridPaginationV2Component, DatoGridStatusCellComponent, DatoGridStringFilterOptions, DatoGridToolbarComponent, DatoGridToolbarItemDirective, DatoGridToolbarItemElementDirective, DatoGridV2Component, DatoGridV2LoaderComponent, DatoGridV2Module, DatoGridV2NoDataOverlayComponent, DatoGridV2ToolbarButtonComponent, DatoGridV2ToolbarComponent, DatoGroupComponent, DatoHighlightPipe, DatoHotkeys, DatoHotkeysDirective, DatoHotkeysHelpComponent, DatoHotkeysModule, DatoIconButtonComponent, DatoIconButtonModule, DatoIconComponent, DatoIconModule, DatoInfiniteScrollComponent, DatoInfiniteScrollModule, DatoInputComponent, DatoInputModule, DatoInputNumberComponent, DatoInputNumberDirective, DatoInputNumberModule, DatoKebabCasePipe, DatoLinkButtonComponent, DatoLinkButtonModule, DatoListComponent, DatoListModule, DatoListNoDataComponent, DatoListNoResultComponent, DatoListV2Component, DatoListV2Module, DatoLoaderComponent, DatoLoadersModule, DatoMenuComponent, DatoMenuContentDirective, DatoMenuItemDirective, DatoMenuModule, DatoMenuTriggerForDirective, DatoMultiOptionComponent, DatoMultiOptionV2Component, DatoOperatorTogglerComponent, DatoOperatorTogglerModule, DatoOptionComponent, DatoOptionV2Component, DatoOptionsModule, DatoOriginDirective, DatoOverlay, DatoPageLoaderComponent, DatoPanel, DatoPanelComponent, DatoPanelContentComponent, DatoPanelFooterComponent, DatoPanelHeaderComponent, DatoPanelInternalConfig, DatoPanelModule, DatoPanelRef, DatoPillsComponent, DatoPillsModule, DatoPipesModule, DatoPopover, DatoPopoverComponent, DatoPopoverModule, DatoProgressBarComponent, DatoProgressBarModule, DatoRadioComponent, DatoRadioModule, DatoRichTextDirective, DatoRichTextModule, DatoSearchResultsGroupSortPipe, DatoSearchResultsSortPipe, DatoSearchableContainerComponent, DatoSearchableDirective, DatoSearchableHighlightDirective, DatoSearchableModule, DatoSelectActiveDirective, DatoSelectComponent, DatoSelectEmptyComponent, DatoSelectModule, DatoSliderComponent, DatoSliderModule, DatoSnackbar, DatoSnackbarComponent, DatoSnackbarModule, DatoSortableComponent, DatoSortableHandleDirective, DatoSortableModule, DatoStaticImageSrcDirective, DatoStaticImagesSrcModule, DatoSubscribeContext, DatoSubscribeDirective, DatoTab, DatoTabContent, DatoTabTitle, DatoTabsModule, DatoTabset, DatoTemplatePortal, DatoTextModule, DatoThemesModule, DatoToast, DatoToastComponent, DatoToastModule, DatoTogglerComponent, DatoTogglerModule, DatoTooltipDirective, DatoTooltipV2Directive, DatoTrackByPropPipe, DatoTranslateService, DatoTreePipe, DatoTriggerMulti, DatoTriggerSingle, DialogConfig, DialogResultStatus, Dimensions, EventModifiersPlugin, GridActionType, GridMinWidths, GridRowSelectionType, GridToolbarService, ISO_FORMAT, IconRegistry, KeyCodes, KeyboardEventKeys, ListValueTypes, MockService, OperatorTypes, POPPER_BOUNDARY, PaletteDirective, PanelResultCloseTrigger, PillType, PopoverCloseDirective, PopoverContentDirective, PopoverRef, PopoverTrigger, ROOT_NODE_ID, RelativeDateType, RenderMethod, RowSelectionType, RowSelectionTypeV2, SELECT_MAX_HEIGHT, SUPPORTED_LOCALES, SelectType, SnackbarRef, SnackbarType, Store, SvgRegistry, ToolbarActionType, ToolbarArea, ToolbarConfirmation, ToolbarDeleteConfirmation, ToolbarHandler, TranslatePipe, Types, _valueChanges, a, addClass, addJSObjectCompletor, allowedFileTypes, alphabeticalGroupSort, alphabeticalSort, appendChild, appendScript, appendStyle, appendToBody, assertString, camelCase, capitalize, cloneDeep, closest, coerceArray, coerceElement, compareWith, compose, convertFromTreeData, convertToTreeData, copyToClipboard, createComponent, createElement, createGUID, createHTMLCompletor, curry, dateCompare, daysOfTheMonth, debounce, declarations$2 as declarations, deepEqual, deepmerge, defaultActions$1 as defaultActions, defaultConfig, defaultEditableColumnRenderer, defaultGridOptions, defaultGridTreeLabel, defaultOptionsDisplayLimit, defaultTreeOptions, dialogSizePreset, diff, difference, differenceBy, dimensionsChanges, directives, drop, editableCellRendererWithSearchHighlight, escape, escapeRegExp, filter, filterByControlValue, filterByTerm, filterDialogDismissed, filterDialogSuccess, filterGroupByControlValue, filterGroupByTerm, filterKey, find, findIndex, findKey, fixNgLeaks, forEach, formatKeys, generateMonths, get, getAttr, getCustomRange, getDateISOString, getDefaultConfirmationOptions, getDefaultOptions, getDefaultsToastOptions, getElementCoords, getFunctionName, getGridConfiguration, getGridModel, getInitials, getLocalizedFormat, getMultiTemplate, getOptionTemplate, getPopperDefaults, getUTCDate, getVisibleActions, gridTreeFilePathKey, groupBy, groupSortOrder, has, inView, intersection, invert, isArrayValuesEqual, isArrowUpDown, isBoolean, isEmpty, isEmptyString, isEnter, isEqual, isEscape, isFraction, isFunction, isMacintosh, isNil, isNumber, isObject, isRangeCondition, isRangeCustom, isString, isTestEnv, isValidMediaLink, kebabCase, keyBy, keysSymbols, last, map, mapKeys, mapValues, maxFileSize, merge, minBy, mockInDev, mocks, ngContentResolver, noop, normalizeData, omit, omitBy, optionalDebounce, pallete, parseDateString, partial, polling, prependChild, publicApi$1 as publicApi, query, queryAll, random, rawDiff, reject, relativeDateTypes, removeClass, resolveRange, round, searchHighlightCellRenderer, searchResultsGroupSort, searchResultsSort, setAttr, setAttribute, setDimensions, setEmptyFolderClass, setGridConfiguration, setGridModel, setMaxDimensions, setMinDimensions, setStyle, setStyles, size, sortBy, stubs, supportedLocales, tapLog, tapOnce, throttle, toBoolean, toFormData, toNumber, toResponseBody, toString, toggleClass, toolbarActionToContextAction, tryParsePivotValue, unescape, union, uniq, uniqBy, uploadProgress, validBase64Image, validUrl, validateCondition, validateDate, validateDateCondition, validateFilter, validateNumberCondition, validateRange, validateStringCondition, values, workerMap, zoneStable, ɵ0$2 as ɵ0, ɵ1$2 as ɵ1, ɵ2, DATO_CORE_CONFIG as ɵb, DatoGridHelper as ɵc, Popper as ɵd, GridQuery as ɵe, GridStore as ɵf, GridService as ɵg, DatoDateRangesFilterPipe as ɵh, ListStore as ɵi, DatoListSelectAllComponent as ɵj, DatoGridMultiSelectColumnHeaderComponent as ɵk, DatoGridItemsCountCellComponent as ɵl, DatoGridV2ToolbarMoreMenuComponent as ɵm, DatoGridSearchBarComponent as ɵn };
|
|
25403
25372
|
//# sourceMappingURL=datorama-core.js.map
|