@datorama/core 22.9.9 → 22.10.9-rc.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 +178 -11
- package/bundles/datorama-core.umd.js +135 -74
- 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 +1 -0
- package/datorama-core.metadata.json +1 -1
- package/esm2015/datorama-core.js +2 -1
- package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +4 -2
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +9 -1
- package/esm2015/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +19 -12
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +30 -13
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +3 -2
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +7 -1
- package/esm2015/lib/loaders/page-loader/page-loader.component.js +7 -2
- package/esm2015/lib/rich-text/rich-text.directive.js +20 -38
- package/esm2015/lib/rich-text/rich-text.service.js +50 -0
- package/esm2015/lib/select/select.component.js +4 -9
- package/esm2015/lib/version.js +2 -2
- package/esm5/datorama-core.js +2 -1
- package/esm5/lib/breadcrumbs/breadcrumbs.component.js +4 -2
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +9 -1
- package/esm5/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +20 -12
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +29 -15
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.service.js +3 -2
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +13 -1
- package/esm5/lib/loaders/page-loader/page-loader.component.js +7 -2
- package/esm5/lib/rich-text/rich-text.directive.js +21 -39
- package/esm5/lib/rich-text/rich-text.service.js +51 -0
- package/esm5/lib/select/select.component.js +4 -9
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +127 -72
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +135 -75
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/grid-v2/grid/grid-v2.types.d.ts +12 -3
- package/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.d.ts +3 -5
- package/lib/grid-v2/grid-controller/grid-controller.component.d.ts +1 -0
- package/lib/grid-v2/grid-settings.d.ts +2 -2
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +2 -0
- package/lib/loaders/page-loader/page-loader.component.d.ts +1 -0
- package/lib/rich-text/rich-text.directive.d.ts +4 -6
- package/lib/rich-text/rich-text.service.d.ts +10 -0
- package/package.json +1 -1
package/fesm5/datorama-core.js
CHANGED
|
@@ -8549,9 +8549,8 @@ 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;
|
|
8553
8552
|
this.markAsActive(this._model, { deselectAll: true });
|
|
8554
|
-
|
|
8553
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
8555
8554
|
}
|
|
8556
8555
|
/** For later updates */
|
|
8557
8556
|
this.cdr.markForCheck();
|
|
@@ -8679,7 +8678,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8679
8678
|
};
|
|
8680
8679
|
DatoSelectComponent.prototype.removeOption = function (option) {
|
|
8681
8680
|
var _this = this;
|
|
8682
|
-
var updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
|
|
8683
8681
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== option[_this.idKey]; });
|
|
8684
8682
|
var optionToRemove = this.options.find(function (datoOption) { return datoOption.option && datoOption.option[_this.idKey] === option[_this.idKey]; });
|
|
8685
8683
|
/**
|
|
@@ -8689,7 +8687,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8689
8687
|
if (optionToRemove) {
|
|
8690
8688
|
optionToRemove.active = false;
|
|
8691
8689
|
}
|
|
8692
|
-
|
|
8690
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
8693
8691
|
this.onChange(this._model);
|
|
8694
8692
|
this.cdr.markForCheck();
|
|
8695
8693
|
this.asyncUpdateDropdownPosition();
|
|
@@ -9037,9 +9035,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9037
9035
|
if (!datoOption) {
|
|
9038
9036
|
return;
|
|
9039
9037
|
}
|
|
9040
|
-
var modelLength = this._model.length;
|
|
9041
|
-
var updateDisabled = this.limitSelectedTo &&
|
|
9042
|
-
(modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
|
|
9043
9038
|
datoOption.active = !datoOption.active;
|
|
9044
9039
|
var rawOption = datoOption.option;
|
|
9045
9040
|
if (datoOption.active) {
|
|
@@ -9048,7 +9043,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9048
9043
|
else {
|
|
9049
9044
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== rawOption[_this.idKey]; });
|
|
9050
9045
|
}
|
|
9051
|
-
|
|
9046
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
9052
9047
|
this.onChange(this._model);
|
|
9053
9048
|
this.cdr.markForCheck();
|
|
9054
9049
|
this.asyncUpdateDropdownPosition();
|
|
@@ -11853,7 +11848,7 @@ function toolbarActionToContextAction(params) {
|
|
|
11853
11848
|
return contextActions;
|
|
11854
11849
|
}
|
|
11855
11850
|
|
|
11856
|
-
var DATO_GRID_STORAGE_API = new InjectionToken('
|
|
11851
|
+
var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_AP');
|
|
11857
11852
|
|
|
11858
11853
|
var defaultEditableColumnRenderer = function (params) {
|
|
11859
11854
|
return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
|
|
@@ -11892,6 +11887,14 @@ var GridRowSelectionType;
|
|
|
11892
11887
|
GridRowSelectionType["SINGLE"] = "single";
|
|
11893
11888
|
GridRowSelectionType["MULTIPLE"] = "multiple";
|
|
11894
11889
|
})(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 = {}));
|
|
11895
11898
|
|
|
11896
11899
|
/**
|
|
11897
11900
|
* @license
|
|
@@ -14440,7 +14443,8 @@ var GridService = /** @class */ (function () {
|
|
|
14440
14443
|
this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
|
|
14441
14444
|
};
|
|
14442
14445
|
GridService.prototype.saveSettingsToServer = function (settings) {
|
|
14443
|
-
this.
|
|
14446
|
+
var isGlobal = this.gridQuery.getGridOptions().isGlobalSettings;
|
|
14447
|
+
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
14444
14448
|
};
|
|
14445
14449
|
/**
|
|
14446
14450
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -15428,7 +15432,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15428
15432
|
});
|
|
15429
15433
|
DatoGridControllerComponent.prototype.ngOnDestroy = function () {
|
|
15430
15434
|
this.contentInit.complete();
|
|
15431
|
-
this.
|
|
15435
|
+
this.clearTooltip();
|
|
15432
15436
|
this.rowHoverComponent && this.rowHoverComponent.destroy();
|
|
15433
15437
|
this.rowHoverComponent = null;
|
|
15434
15438
|
};
|
|
@@ -15445,7 +15449,10 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15445
15449
|
.pipe(switchMap(function () {
|
|
15446
15450
|
_this.gridOptions = _this.normalizeOptions();
|
|
15447
15451
|
agGrid.gridOptions = _this.gridOptions;
|
|
15448
|
-
var
|
|
15452
|
+
var isGlobal = _this.gridOptions.isGlobalSettings;
|
|
15453
|
+
var settingsLoader = _this.gridOptions.saveSettings === false
|
|
15454
|
+
? of(null)
|
|
15455
|
+
: _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
|
|
15449
15456
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
15450
15457
|
}), untilDestroyed(this))
|
|
15451
15458
|
.subscribe(function (_a) {
|
|
@@ -15655,40 +15662,51 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15655
15662
|
});
|
|
15656
15663
|
this.addOnHoverElement();
|
|
15657
15664
|
}
|
|
15658
|
-
agGrid.cellMouseOver
|
|
15659
|
-
.
|
|
15660
|
-
|
|
15661
|
-
|
|
15662
|
-
|
|
15663
|
-
|
|
15664
|
-
lastHoveredCell =
|
|
15665
|
+
agGrid.cellMouseOver.pipe(untilDestroyed(this)).subscribe(function (event) {
|
|
15666
|
+
var node = event.node, column = event.column;
|
|
15667
|
+
if (lastHoveredCell === node.id + "-" + column.getColId()) {
|
|
15668
|
+
clearTimeout(_this.cellMouseOutTimer);
|
|
15669
|
+
return;
|
|
15670
|
+
}
|
|
15671
|
+
lastHoveredCell = node.id + "-" + column.getColId();
|
|
15665
15672
|
_this.showTooltip(event);
|
|
15666
15673
|
var row = event.event.target.parentElement;
|
|
15667
|
-
if (onHoverEnabled && (
|
|
15674
|
+
if (onHoverEnabled && (node.group === false || isNil(node.group)) && _this.lastHoveredRow !== row) {
|
|
15668
15675
|
var previousNode = _this.lastHoveredRow;
|
|
15669
15676
|
_this.lastHoveredRow = row;
|
|
15670
15677
|
_this.toggleRowHoverClass([previousNode, _this.lastHoveredRow]);
|
|
15671
15678
|
_this.setOnHoverState(true, event);
|
|
15672
15679
|
}
|
|
15673
15680
|
});
|
|
15674
|
-
var onTooltipOut = merge$1(fromEvent(bodyViewport, 'scroll'), fromEvent(this.agGridEl, 'mouseleave')
|
|
15675
|
-
onTooltipOut
|
|
15681
|
+
var onTooltipOut = merge$1(fromEvent(bodyViewport, 'scroll'), fromEvent(this.agGridEl, 'mouseleave'));
|
|
15682
|
+
onTooltipOut.pipe(untilDestroyed(this)).subscribe(function () {
|
|
15683
|
+
lastHoveredCell = null;
|
|
15684
|
+
_this.clearTooltip();
|
|
15685
|
+
});
|
|
15686
|
+
agGrid.cellMouseOut
|
|
15676
15687
|
.pipe(filter$1(function () { return !isNil(_this.tooltip); }), untilDestroyed(this))
|
|
15677
15688
|
.subscribe(function () {
|
|
15678
|
-
_this.clearTooltip();
|
|
15689
|
+
_this.cellMouseOutTimer = window.setTimeout(function () { return _this.clearTooltip(); });
|
|
15679
15690
|
});
|
|
15680
15691
|
};
|
|
15681
15692
|
/**
|
|
15682
15693
|
* Dispose the tooltip
|
|
15683
15694
|
*/
|
|
15684
15695
|
DatoGridControllerComponent.prototype.clearTooltip = function () {
|
|
15685
|
-
this.tooltip.dispose();
|
|
15696
|
+
this.tooltip && this.tooltip.dispose();
|
|
15686
15697
|
this.tooltip = null;
|
|
15687
15698
|
};
|
|
15688
15699
|
DatoGridControllerComponent.prototype.showTooltip = function (event) {
|
|
15689
15700
|
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
|
+
}
|
|
15690
15707
|
var textOverflow = cell.offsetWidth < cell.scrollWidth;
|
|
15691
15708
|
if (textOverflow) {
|
|
15709
|
+
clearTimeout(this.cellMouseOutTimer);
|
|
15692
15710
|
var params = { cell: cell, value: cell.innerText };
|
|
15693
15711
|
isNil(this.tooltip) ? this.createAndShowTooltip(params) : this.updateTooltip(params);
|
|
15694
15712
|
}
|
|
@@ -16729,6 +16747,18 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
|
|
|
16729
16747
|
this.registerGroupListeners();
|
|
16730
16748
|
this.subscribeRowsSelectionData();
|
|
16731
16749
|
};
|
|
16750
|
+
DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
|
|
16751
|
+
var _this = this;
|
|
16752
|
+
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16753
|
+
return _this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16754
|
+
});
|
|
16755
|
+
};
|
|
16756
|
+
DatoGridV2ToolbarComponent.prototype.getRowDataUpdatedEvent = function () {
|
|
16757
|
+
var _this = this;
|
|
16758
|
+
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16759
|
+
return _this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16760
|
+
});
|
|
16761
|
+
};
|
|
16732
16762
|
DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
|
|
16733
16763
|
if (isFunction(action.onClick)) {
|
|
16734
16764
|
var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -19343,6 +19373,7 @@ var DatoPageLoaderComponent = /** @class */ (function () {
|
|
|
19343
19373
|
function DatoPageLoaderComponent() {
|
|
19344
19374
|
this.msg = '';
|
|
19345
19375
|
this.salesforce = false;
|
|
19376
|
+
this.size = 'medium';
|
|
19346
19377
|
this.circleIds = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'];
|
|
19347
19378
|
}
|
|
19348
19379
|
__decorate([
|
|
@@ -19353,10 +19384,14 @@ var DatoPageLoaderComponent = /** @class */ (function () {
|
|
|
19353
19384
|
Input(),
|
|
19354
19385
|
__metadata("design:type", Object)
|
|
19355
19386
|
], DatoPageLoaderComponent.prototype, "salesforce", void 0);
|
|
19387
|
+
__decorate([
|
|
19388
|
+
Input(),
|
|
19389
|
+
__metadata("design:type", String)
|
|
19390
|
+
], DatoPageLoaderComponent.prototype, "size", void 0);
|
|
19356
19391
|
DatoPageLoaderComponent = __decorate([
|
|
19357
19392
|
Component({
|
|
19358
19393
|
selector: 'dato-page-loader',
|
|
19359
|
-
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-
|
|
19394
|
+
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_brand\" [ngClass]=\"'slds-spinner_' + size\">\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>\n",
|
|
19360
19395
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
19361
19396
|
})
|
|
19362
19397
|
], DatoPageLoaderComponent);
|
|
@@ -20334,8 +20369,15 @@ var DatoGridV2ToolbarMoreMenuComponent = /** @class */ (function () {
|
|
|
20334
20369
|
|
|
20335
20370
|
var DatoGridStatusCellComponent = /** @class */ (function () {
|
|
20336
20371
|
function DatoGridStatusCellComponent(cdr) {
|
|
20372
|
+
var _a;
|
|
20337
20373
|
this.cdr = cdr;
|
|
20338
|
-
this.
|
|
20374
|
+
this.defaultConfigByStatus = (_a = {},
|
|
20375
|
+
_a[GridStatusColumnTypes.SUCCESS] = { icon: 'success-line', iconCssClass: 'green-400-color' },
|
|
20376
|
+
_a[GridStatusColumnTypes.FAILURE] = { icon: 'failed-line', iconCssClass: 'red-400-color' },
|
|
20377
|
+
_a[GridStatusColumnTypes.PENDING] = { icon: 'time', iconCssClass: 'yellow-400-color' },
|
|
20378
|
+
_a[GridStatusColumnTypes.WAITING] = { icon: 'info-line', iconCssClass: 'orange-400-color' },
|
|
20379
|
+
_a[GridStatusColumnTypes.IN_PROGRESS] = { showSpinner: true },
|
|
20380
|
+
_a);
|
|
20339
20381
|
}
|
|
20340
20382
|
DatoGridStatusCellComponent.prototype.agInit = function (params) {
|
|
20341
20383
|
var value = params.value, valueFormatted = params.valueFormatted, node = params.node;
|
|
@@ -20350,15 +20392,14 @@ var DatoGridStatusCellComponent = /** @class */ (function () {
|
|
|
20350
20392
|
var mainCustomCellConfig = customCellConfig || {};
|
|
20351
20393
|
var valueCustomCellConfig = valueToCustomCellConfig ? valueToCustomCellConfig[params.value] || {} : {};
|
|
20352
20394
|
var config = __assign(__assign({}, mainCustomCellConfig), valueCustomCellConfig);
|
|
20353
|
-
var
|
|
20395
|
+
var textCssClass = config.textCssClass, icon = config.icon, iconCssClass = config.iconCssClass, showSpinner = config.showSpinner, getAdditionalText = config.getAdditionalText, additionalTextCssClass = config.additionalTextCssClass, getIsVisible = config.getIsVisible, status = config.status;
|
|
20396
|
+
var defaultConfig = this.defaultConfigByStatus[status] || {};
|
|
20354
20397
|
this.isVisible = !getIsVisible || getIsVisible(params.data);
|
|
20355
|
-
this.
|
|
20356
|
-
this.
|
|
20357
|
-
this.
|
|
20358
|
-
this.
|
|
20359
|
-
this.
|
|
20360
|
-
this.iconCssClass = iconCssClass || '';
|
|
20361
|
-
this.showSpinner = showSpinner;
|
|
20398
|
+
this.icon = icon || defaultConfig.icon;
|
|
20399
|
+
this.iconCssClass = iconCssClass || defaultConfig.iconCssClass || '';
|
|
20400
|
+
this.textCssClass = textCssClass || '';
|
|
20401
|
+
this.additionalTextCssClass = additionalTextCssClass || '';
|
|
20402
|
+
this.showSpinner = !!showSpinner || !!defaultConfig.showSpinner;
|
|
20362
20403
|
this.additionalText = getAdditionalText ? getAdditionalText(params.data) : null;
|
|
20363
20404
|
};
|
|
20364
20405
|
DatoGridStatusCellComponent.prototype.refresh = function (params) {
|
|
@@ -20372,8 +20413,9 @@ var DatoGridStatusCellComponent = /** @class */ (function () {
|
|
|
20372
20413
|
DatoGridStatusCellComponent = __decorate([
|
|
20373
20414
|
Component({
|
|
20374
20415
|
selector: 'dato-grid-status-cell',
|
|
20375
|
-
template: "<div *ngIf=\"!isGroup && isVisible\" class=\"height-100 d-flex items-center\">\n <
|
|
20376
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
20416
|
+
template: "<div *ngIf=\"!isGroup && isVisible\" class=\"height-100 d-flex items-center\">\n <dato-icon *ngIf=\"icon\" class=\"mr-6 {{iconCssClass}}\" [icon]=\"icon\" datoSize=\"sm\"></dato-icon>\n <dato-page-loader *ngIf=\"showSpinner\" [salesforce]=\"true\" size=\"x-small\" class=\"mr-10 mt-15\"></dato-page-loader>\n <div class=\"dato-simple status line-height-18 {{textCssClass}}\" [class.ellipsis]=\"!additionalText\"\n [datoTooltipV2]=\"status\" [showOnlyOnTextOverflow]=\"true\" [tooltipCheckInView]=\"false\">\n {{status}}\n </div>\n <div *ngIf=\"additionalText\" class=\"dato-simple ml-3 ellipsis line-height-18 {{additionalTextCssClass}}\"\n [datoTooltipV2]=\"status + ' ' + additionalText\" [showOnlyOnTextOverflow]=\"true\" [tooltipCheckInView]=\"false\">\n {{additionalText}}\n </div>\n</div>\n<span *ngIf=\"isGroup\">{{status}}</span>\n",
|
|
20417
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20418
|
+
styles: [".line-height-18{line-height:18px}"]
|
|
20377
20419
|
}),
|
|
20378
20420
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
|
20379
20421
|
], DatoGridStatusCellComponent);
|
|
@@ -21204,6 +21246,40 @@ var DatoEditableHeaderModule = /** @class */ (function () {
|
|
|
21204
21246
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
21205
21247
|
*/
|
|
21206
21248
|
|
|
21249
|
+
var RichTextService = /** @class */ (function () {
|
|
21250
|
+
function RichTextService(http, config) {
|
|
21251
|
+
this.http = http;
|
|
21252
|
+
this.config = config;
|
|
21253
|
+
}
|
|
21254
|
+
RichTextService.prototype.getLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21255
|
+
if (!this.richTextScript$) {
|
|
21256
|
+
this.initLib(appendScriptFunc, appendStyleFunc);
|
|
21257
|
+
}
|
|
21258
|
+
return this.richTextScript$;
|
|
21259
|
+
};
|
|
21260
|
+
RichTextService.prototype.initLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21261
|
+
this.richTextScript$ = combineLatest([
|
|
21262
|
+
this.http
|
|
21263
|
+
.get(this.config.paths.richText + "/index.js", { responseType: 'text' })
|
|
21264
|
+
.pipe(tap(function (lib) { return appendScriptFunc(lib, 'rich-text-editor'); })),
|
|
21265
|
+
this.http
|
|
21266
|
+
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21267
|
+
.pipe(tap(function (style) { return appendStyleFunc(style, 'tinymce-autocomplete'); }))
|
|
21268
|
+
]).pipe(shareReplay(1));
|
|
21269
|
+
};
|
|
21270
|
+
RichTextService.ctorParameters = function () { return [
|
|
21271
|
+
{ type: HttpClient },
|
|
21272
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21273
|
+
]; };
|
|
21274
|
+
RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
|
|
21275
|
+
RichTextService = __decorate([
|
|
21276
|
+
Injectable({ providedIn: 'root' }),
|
|
21277
|
+
__param(1, Inject(DATO_CORE_CONFIG)),
|
|
21278
|
+
__metadata("design:paramtypes", [HttpClient, Object])
|
|
21279
|
+
], RichTextService);
|
|
21280
|
+
return RichTextService;
|
|
21281
|
+
}());
|
|
21282
|
+
|
|
21207
21283
|
/**
|
|
21208
21284
|
* @license
|
|
21209
21285
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -21217,20 +21293,20 @@ var getTinymce = function () {
|
|
|
21217
21293
|
var ɵ0$3 = getTinymce;
|
|
21218
21294
|
var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
21219
21295
|
__extends(DatoRichTextDirective, _super);
|
|
21220
|
-
function DatoRichTextDirective(ngZone,
|
|
21296
|
+
function DatoRichTextDirective(ngZone, richTextService, config, host) {
|
|
21221
21297
|
var _this = _super.call(this) || this;
|
|
21222
21298
|
_this.ngZone = ngZone;
|
|
21223
|
-
_this.
|
|
21224
|
-
_this.host = host;
|
|
21299
|
+
_this.richTextService = richTextService;
|
|
21225
21300
|
_this.config = config;
|
|
21301
|
+
_this.host = host;
|
|
21226
21302
|
_this.autocompleteOptions = {};
|
|
21227
21303
|
_this.forcePlainTextPasting = false;
|
|
21228
21304
|
_this.format = 'html';
|
|
21229
21305
|
_this.isOneLine = false;
|
|
21230
21306
|
_this.initialValue = '';
|
|
21231
|
-
_this.defaultPlugins = 'link fullscreen
|
|
21307
|
+
_this.defaultPlugins = 'link fullscreen image lists table autocomplete';
|
|
21232
21308
|
_this.defaultToolbar = [
|
|
21233
|
-
'
|
|
21309
|
+
'fontfamily fontsize forecolor backcolor bold italic underline link',
|
|
21234
21310
|
'alignleft aligncenter alignright alignjustify outdent indent | table numlist bullist | image fullscreen'
|
|
21235
21311
|
];
|
|
21236
21312
|
return _this;
|
|
@@ -21256,28 +21332,11 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21256
21332
|
base: this.config.paths.richText,
|
|
21257
21333
|
query: ''
|
|
21258
21334
|
};
|
|
21259
|
-
|
|
21260
|
-
|
|
21261
|
-
|
|
21262
|
-
|
|
21263
|
-
|
|
21264
|
-
}
|
|
21265
|
-
else {
|
|
21266
|
-
this.loadLib().subscribe(function (lib) {
|
|
21267
|
-
appendScript(lib, 'rich-text-editor');
|
|
21268
|
-
_this.init.call(_this);
|
|
21269
|
-
_this.loadAutoCompleteStyle();
|
|
21270
|
-
});
|
|
21271
|
-
}
|
|
21272
|
-
};
|
|
21273
|
-
DatoRichTextDirective.prototype.loadLib = function () {
|
|
21274
|
-
return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
|
|
21275
|
-
};
|
|
21276
|
-
DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
|
|
21277
|
-
this.http
|
|
21278
|
-
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21279
|
-
.subscribe(function (style) {
|
|
21280
|
-
appendStyle(style, 'tinymce-autocomplete');
|
|
21335
|
+
this.richTextService
|
|
21336
|
+
.getLib(appendScript, appendStyle)
|
|
21337
|
+
.pipe(untilDestroyed(this))
|
|
21338
|
+
.subscribe(function () {
|
|
21339
|
+
_this.init.call(_this);
|
|
21281
21340
|
});
|
|
21282
21341
|
};
|
|
21283
21342
|
DatoRichTextDirective.prototype.initEditor = function (_, editor) {
|
|
@@ -21301,8 +21360,6 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21301
21360
|
target: this.host.nativeElement,
|
|
21302
21361
|
width: this.width || 600,
|
|
21303
21362
|
height: this.height || 300,
|
|
21304
|
-
force_br_newlines: true,
|
|
21305
|
-
force_p_newlines: false,
|
|
21306
21363
|
resize: 'both',
|
|
21307
21364
|
branding: false,
|
|
21308
21365
|
inline: this.inline,
|
|
@@ -21310,10 +21367,12 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21310
21367
|
readonly: this.disabled,
|
|
21311
21368
|
plugins: this.plugins || this.defaultPlugins,
|
|
21312
21369
|
toolbar: isNil(this.toolbar) ? this.defaultToolbar : this.toolbar,
|
|
21313
|
-
|
|
21370
|
+
font_size_formats: '8px 10px 12px 14px 18px 24px 36px',
|
|
21314
21371
|
min_width: 480,
|
|
21315
21372
|
menubar: false,
|
|
21316
21373
|
autocomplete: this.autocompleteOptions,
|
|
21374
|
+
suffix: '.min',
|
|
21375
|
+
skin: 'tinymce-5',
|
|
21317
21376
|
setup: function (editor) {
|
|
21318
21377
|
_this.editor = editor;
|
|
21319
21378
|
editor.on('init', function (e) {
|
|
@@ -21370,9 +21429,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21370
21429
|
var DatoRichTextDirective_1;
|
|
21371
21430
|
DatoRichTextDirective.ctorParameters = function () { return [
|
|
21372
21431
|
{ type: NgZone },
|
|
21373
|
-
{ type:
|
|
21374
|
-
{ type:
|
|
21375
|
-
{ type:
|
|
21432
|
+
{ type: RichTextService },
|
|
21433
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] },
|
|
21434
|
+
{ type: ElementRef }
|
|
21376
21435
|
]; };
|
|
21377
21436
|
__decorate([
|
|
21378
21437
|
Input(),
|
|
@@ -21438,10 +21497,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21438
21497
|
}
|
|
21439
21498
|
]
|
|
21440
21499
|
}),
|
|
21441
|
-
__param(
|
|
21500
|
+
__param(2, Inject(DATO_CORE_CONFIG)),
|
|
21442
21501
|
__metadata("design:paramtypes", [NgZone,
|
|
21443
|
-
|
|
21444
|
-
ElementRef, Object])
|
|
21502
|
+
RichTextService, Object, ElementRef])
|
|
21445
21503
|
], DatoRichTextDirective);
|
|
21446
21504
|
return DatoRichTextDirective;
|
|
21447
21505
|
}(BaseCustomControl));
|
|
@@ -23964,7 +24022,9 @@ var DatoBreadcrumbsComponent = /** @class */ (function () {
|
|
|
23964
24022
|
};
|
|
23965
24023
|
DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
|
|
23966
24024
|
var _this = this;
|
|
23967
|
-
this.headerControl.valueChanges
|
|
24025
|
+
this.headerControl.valueChanges
|
|
24026
|
+
.pipe(debounceTime(300), untilDestroyed(this))
|
|
24027
|
+
.subscribe(function (res) {
|
|
23968
24028
|
_this.updateEditableText.emit(res);
|
|
23969
24029
|
_this.cdr.detectChanges();
|
|
23970
24030
|
});
|
|
@@ -25327,7 +25387,7 @@ function fixNgLeaks() {
|
|
|
25327
25387
|
};
|
|
25328
25388
|
}
|
|
25329
25389
|
|
|
25330
|
-
window.coreVersion = '22.9.
|
|
25390
|
+
window.coreVersion = '22.10.9-rc.';
|
|
25331
25391
|
|
|
25332
25392
|
/**
|
|
25333
25393
|
* @license
|
|
@@ -25341,5 +25401,5 @@ window.coreVersion = '22.9.9';
|
|
|
25341
25401
|
* Generated bundle index. Do not edit.
|
|
25342
25402
|
*/
|
|
25343
25403
|
|
|
25344
|
-
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 };
|
|
25404
|
+
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, GridStatusColumnTypes, 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, RichTextService as ɵo };
|
|
25345
25405
|
//# sourceMappingURL=datorama-core.js.map
|