@datorama/core 22.0.5-rc.1 → 22.0.5

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.
Files changed (51) hide show
  1. package/bundle.scss +13 -13
  2. package/bundles/datorama-core.umd.js +78 -90
  3. package/bundles/datorama-core.umd.js.map +1 -1
  4. package/bundles/datorama-core.umd.min.js +14 -14
  5. package/bundles/datorama-core.umd.min.js.map +1 -1
  6. package/datorama-core.d.ts +0 -1
  7. package/datorama-core.metadata.json +1 -1
  8. package/esm2015/datorama-core.js +1 -2
  9. package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +2 -4
  10. package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
  11. package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +8 -6
  12. package/esm2015/lib/grid-v2/grid-filter/filter-validator.js +3 -1
  13. package/esm2015/lib/grid-v2/grid-filter/grid-filter.component.js +12 -4
  14. package/esm2015/lib/grid-v2/grid-filter/grid-filter.types.js +3 -1
  15. package/esm2015/lib/grid-v2/grid-settings.js +2 -2
  16. package/esm2015/lib/grid-v2/grid-store/grid.service.js +9 -3
  17. package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -7
  18. package/esm2015/lib/icon/icon.types.js +1 -1
  19. package/esm2015/lib/rich-text/rich-text.directive.js +33 -15
  20. package/esm2015/lib/select/select.component.js +16 -16
  21. package/esm2015/lib/version.js +2 -2
  22. package/esm5/datorama-core.js +1 -2
  23. package/esm5/lib/breadcrumbs/breadcrumbs.component.js +2 -4
  24. package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
  25. package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +8 -6
  26. package/esm5/lib/grid-v2/grid-filter/filter-validator.js +3 -1
  27. package/esm5/lib/grid-v2/grid-filter/grid-filter.component.js +12 -4
  28. package/esm5/lib/grid-v2/grid-filter/grid-filter.types.js +3 -1
  29. package/esm5/lib/grid-v2/grid-settings.js +2 -2
  30. package/esm5/lib/grid-v2/grid-store/grid.service.js +9 -3
  31. package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -13
  32. package/esm5/lib/icon/icon.types.js +1 -1
  33. package/esm5/lib/rich-text/rich-text.directive.js +34 -16
  34. package/esm5/lib/select/select.component.js +16 -17
  35. package/esm5/lib/version.js +2 -2
  36. package/fesm2015/datorama-core.js +78 -81
  37. package/fesm2015/datorama-core.js.map +1 -1
  38. package/fesm5/datorama-core.js +79 -90
  39. package/fesm5/datorama-core.js.map +1 -1
  40. package/i18n/locale-en_US.json +2 -0
  41. package/lib/grid-v2/grid/grid-v2.types.d.ts +0 -1
  42. package/lib/grid-v2/grid-filter/grid-filter.types.d.ts +3 -1
  43. package/lib/grid-v2/grid-settings.d.ts +2 -2
  44. package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +0 -2
  45. package/lib/icon/icon.types.d.ts +1 -1
  46. package/lib/rich-text/rich-text.directive.d.ts +6 -4
  47. package/lib/select/select.component.d.ts +0 -1
  48. package/package.json +2 -2
  49. package/esm2015/lib/rich-text/rich-text.service.js +0 -50
  50. package/esm5/lib/rich-text/rich-text.service.js +0 -51
  51. package/lib/rich-text/rich-text.service.d.ts +0 -10
@@ -8430,8 +8430,9 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8430
8430
  DatoSelectComponent.prototype.writeValue = function (activeOptions) {
8431
8431
  this._model = activeOptions ? coerceArray$1(activeOptions) : [];
8432
8432
  if (this.options) {
8433
+ var overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
8433
8434
  this.markAsActive(this._model, { deselectAll: true });
8434
- this.limitSelectedTo && this.updateDisabledState();
8435
+ overTheLimit && this.updateDisabledState();
8435
8436
  }
8436
8437
  /** For later updates */
8437
8438
  this.cdr.markForCheck();
@@ -8468,7 +8469,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8468
8469
  */
8469
8470
  if (this.hasValue && this._initialOpen) {
8470
8471
  this.markAsActive(this._model);
8471
- if (this.limitSelectedTo) {
8472
+ if (this.limitSelectedTo && this._model.length === this.limitSelectedTo) {
8472
8473
  this.updateDisabledState();
8473
8474
  }
8474
8475
  this._initialOpen = false;
@@ -8548,8 +8549,8 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8548
8549
  }
8549
8550
  }
8550
8551
  this.onChange(this._model);
8552
+ this.datoOverlay.scheduleUpdate();
8551
8553
  this.cdr.markForCheck();
8552
- this.asyncUpdateDropdownPosition();
8553
8554
  };
8554
8555
  DatoSelectComponent.prototype.reorderOptions = function (newOrder) {
8555
8556
  this._model = newOrder;
@@ -8557,6 +8558,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8557
8558
  };
8558
8559
  DatoSelectComponent.prototype.removeOption = function (option) {
8559
8560
  var _this = this;
8561
+ var updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
8560
8562
  this._model = this._model.filter(function (current) { return current[_this.idKey] !== option[_this.idKey]; });
8561
8563
  var optionToRemove = this.options.find(function (datoOption) { return datoOption.option && datoOption.option[_this.idKey] === option[_this.idKey]; });
8562
8564
  /**
@@ -8566,10 +8568,12 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8566
8568
  if (optionToRemove) {
8567
8569
  optionToRemove.active = false;
8568
8570
  }
8569
- this.limitSelectedTo && this.updateDisabledState();
8571
+ updateDisabled && this.updateDisabledState();
8570
8572
  this.onChange(this._model);
8571
8573
  this.cdr.markForCheck();
8572
- this.asyncUpdateDropdownPosition();
8574
+ if (this.datoOverlay.attached) {
8575
+ this.datoOverlay.scheduleUpdate();
8576
+ }
8573
8577
  };
8574
8578
  DatoSelectComponent.prototype.preventBodyScroll = function (event) {
8575
8579
  if (isArrowUpDown(event)) {
@@ -8824,7 +8828,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8824
8828
  _this.searchTerm = value;
8825
8829
  _this.keyManager.setActiveItem(-1);
8826
8830
  _this.cdr.markForCheck();
8827
- _this.asyncUpdateDropdownPosition();
8831
+ _this.datoOverlay && _this.datoOverlay.scheduleUpdate();
8828
8832
  });
8829
8833
  };
8830
8834
  /**
@@ -8914,6 +8918,9 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8914
8918
  if (!datoOption) {
8915
8919
  return;
8916
8920
  }
8921
+ var modelLength = this._model.length;
8922
+ var updateDisabled = this.limitSelectedTo &&
8923
+ (modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
8917
8924
  datoOption.active = !datoOption.active;
8918
8925
  var rawOption = datoOption.option;
8919
8926
  if (datoOption.active) {
@@ -8922,10 +8929,10 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8922
8929
  else {
8923
8930
  this._model = this._model.filter(function (current) { return current[_this.idKey] !== rawOption[_this.idKey]; });
8924
8931
  }
8925
- this.limitSelectedTo && this.updateDisabledState();
8932
+ updateDisabled && this.updateDisabledState();
8926
8933
  this.onChange(this._model);
8927
8934
  this.cdr.markForCheck();
8928
- this.asyncUpdateDropdownPosition();
8935
+ this.datoOverlay.scheduleUpdate();
8929
8936
  };
8930
8937
  DatoSelectComponent.prototype.activateInfiniteScroll = function () {
8931
8938
  var _this = this;
@@ -8978,14 +8985,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8978
8985
  finally { if (e_9) throw e_9.error; }
8979
8986
  }
8980
8987
  };
8981
- // Make sure the overlay will be update AFTER Change Detection was done
8982
- // So the items in the input (and its height) is update
8983
- DatoSelectComponent.prototype.asyncUpdateDropdownPosition = function () {
8984
- var _this = this;
8985
- if (this.datoOverlay && this.datoOverlay.attached) {
8986
- setTimeout(function () { return _this.datoOverlay.scheduleUpdate(); }, 0);
8987
- }
8988
- };
8989
8988
  DatoSelectComponent.ctorParameters = function () { return [
8990
8989
  { type: ChangeDetectorRef },
8991
8990
  { type: DatoTranslateService },
@@ -11547,6 +11546,8 @@ var DatoFilterConditions;
11547
11546
  DatoFilterConditions["NOT_IN_LIST"] = "NOT_IN_LIST";
11548
11547
  DatoFilterConditions["IS_EMPTY"] = "IS_EMPTY";
11549
11548
  DatoFilterConditions["NOT_EMPTY"] = "NOT_EMPTY";
11549
+ DatoFilterConditions["IS_NULL"] = "IS_NULL";
11550
+ DatoFilterConditions["NOT_NULL"] = "NOT_NULL";
11550
11551
  })(DatoFilterConditions || (DatoFilterConditions = {}));
11551
11552
  var DatoGridDateFilterOptions = [
11552
11553
  DatoFilterConditions.IN_RANGE,
@@ -11630,8 +11631,10 @@ function validateNumberCondition(unparsedRowValue, _a, filterKey) {
11630
11631
  case DatoFilterConditions.IN_RANGE:
11631
11632
  return rowValue >= filterValue && rowValue <= parseFloat(rangeEnd);
11632
11633
  case DatoFilterConditions.IS_EMPTY:
11634
+ case DatoFilterConditions.IS_NULL:
11633
11635
  return isNil(rowValue);
11634
11636
  case DatoFilterConditions.NOT_EMPTY:
11637
+ case DatoFilterConditions.NOT_NULL:
11635
11638
  return !isNil(rowValue);
11636
11639
  }
11637
11640
  }
@@ -11817,7 +11820,7 @@ function toolbarActionToContextAction(params) {
11817
11820
  return contextActions;
11818
11821
  }
11819
11822
 
11820
- var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_AP');
11823
+ var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
11821
11824
 
11822
11825
  var defaultEditableColumnRenderer = function (params) {
11823
11826
  return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
@@ -12632,10 +12635,11 @@ var DatoGridFilterComponent = /** @class */ (function () {
12632
12635
  var _a;
12633
12636
  var _this = this;
12634
12637
  var _b = this.popover.data, gridService = _b.gridService, gridQuery = _b.gridQuery;
12635
- var _c = this.colDef, filter = _c.filter, _d = _c.filtersConfig, filtersConfig = _d === void 0 ? {} : _d, pivotValueColumn = _c.pivotValueColumn, pivotKeys = _c.pivotKeys;
12638
+ var _c = this.colDef, filter = _c.filter, pivotValueColumn = _c.pivotValueColumn, pivotKeys = _c.pivotKeys;
12636
12639
  var colDefs = gridQuery.api.columns.getAllColumns().map(function (column) { return column.getColDef(); });
12637
12640
  this.colField = getColField(this.colDef);
12638
12641
  var colDef = colDefs.find(function (colDef) { return colDef.field === _this.colField; });
12642
+ var filtersConfig = colDef.filtersConfig || this.colDef.filtersConfig || {};
12639
12643
  var colFilter = filter || colDef.filter;
12640
12644
  var filterOptions = DatoGridFilterOptionsMap[colFilter];
12641
12645
  this.pivotColumn = gridQuery.api.columns.getSecondaryPivotColumn(pivotKeys, pivotValueColumn);
@@ -12657,7 +12661,11 @@ var DatoGridFilterComponent = /** @class */ (function () {
12657
12661
  if (this.filterSections.Conditional) {
12658
12662
  var filterConditions = filterOptions || DatoGridStringFilterOptions;
12659
12663
  if (filtersConfig.showEmptyConditions) {
12660
- filterConditions = __spread(filterConditions, [DatoFilterConditions.IS_EMPTY, DatoFilterConditions.NOT_EMPTY]);
12664
+ var emptyConditions = [DatoFilterConditions.IS_EMPTY, DatoFilterConditions.NOT_EMPTY];
12665
+ if (this.filterType === DatoGridFilterTypes.Number) {
12666
+ emptyConditions = [DatoFilterConditions.IS_NULL, DatoFilterConditions.NOT_NULL];
12667
+ }
12668
+ filterConditions = __spread(filterConditions, emptyConditions);
12661
12669
  }
12662
12670
  this.conditionalFilterOptions = filterConditions.map(function (operand, id) { return ({
12663
12671
  id: id,
@@ -13048,7 +13056,10 @@ var DatoGridFilterComponent = /** @class */ (function () {
13048
13056
  valueControl.updateValueAndValidity();
13049
13057
  };
13050
13058
  DatoGridFilterComponent.prototype.isEmptyOperand = function (operand) {
13051
- return operand === DatoFilterConditions.IS_EMPTY || operand === DatoFilterConditions.NOT_EMPTY;
13059
+ return (operand === DatoFilterConditions.IS_EMPTY ||
13060
+ operand === DatoFilterConditions.NOT_EMPTY ||
13061
+ operand === DatoFilterConditions.IS_NULL ||
13062
+ operand === DatoFilterConditions.NOT_NULL);
13052
13063
  };
13053
13064
  DatoGridFilterComponent.prototype.isStringArray = function (value) {
13054
13065
  return isString(value[0]);
@@ -14268,8 +14279,7 @@ var GridService = /** @class */ (function () {
14268
14279
  this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
14269
14280
  };
14270
14281
  GridService.prototype.saveSettingsToServer = function (settings) {
14271
- var isGlobal = this.gridQuery.getGridOptions().isGlobalSettings;
14272
- this.storageAPI.set(this.gridName, settings, isGlobal);
14282
+ this.storageAPI.set(this.gridName, settings);
14273
14283
  };
14274
14284
  /**
14275
14285
  * @internal used to log grid events to the platform's logging service
@@ -14676,6 +14686,13 @@ var GridService = /** @class */ (function () {
14676
14686
  column: column
14677
14687
  };
14678
14688
  }
14689
+ if (condition === DatoFilterConditions.IS_NULL || condition === DatoFilterConditions.NOT_NULL) {
14690
+ return {
14691
+ condition: DatoFilterConditions.IS_NULL,
14692
+ value: condition === DatoFilterConditions.IS_NULL ? 'true' : 'false',
14693
+ column: column
14694
+ };
14695
+ }
14679
14696
  return __assign(__assign({}, item), { column: column });
14680
14697
  })
14681
14698
  };
@@ -15267,10 +15284,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
15267
15284
  .pipe(switchMap(function () {
15268
15285
  _this.gridOptions = _this.normalizeOptions();
15269
15286
  agGrid.gridOptions = _this.gridOptions;
15270
- var isGlobal = _this.gridOptions.isGlobalSettings;
15271
- var settingsLoader = _this.gridOptions.saveSettings === false
15272
- ? of(null)
15273
- : _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
15287
+ var settingsLoader = _this.gridOptions.saveSettings === false ? of(null) : _this.storageAPI.get(_this.gridOptions.gridName);
15274
15288
  return combineLatest([agGrid.gridReady, settingsLoader]);
15275
15289
  }), untilDestroyed(this))
15276
15290
  .subscribe(function (_a) {
@@ -15278,6 +15292,11 @@ var DatoGridControllerComponent = /** @class */ (function () {
15278
15292
  if (!_this.gridOptions.rowData) {
15279
15293
  api.showLoadingOverlay();
15280
15294
  }
15295
+ if (!_this.gridOptions.statusBar) {
15296
+ /** Fix ag-grid bug that doesn't add ag-hidden class to the status bar, which only get fixed in later versions */
15297
+ var el = agGridEl.querySelector('.ag-status-bar');
15298
+ addClass(el, 'ag-hidden');
15299
+ }
15281
15300
  var gridApi = { grid: api, columns: columnApi };
15282
15301
  _this.gridService._setApi(gridApi, agGrid);
15283
15302
  _this.gridQuery._setApi(gridApi, agGrid);
@@ -16545,18 +16564,6 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
16545
16564
  this.registerGroupListeners();
16546
16565
  this.subscribeRowsSelectionData();
16547
16566
  };
16548
- DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
16549
- var _this = this;
16550
- return this.gridController.gridQuery.waitForGrid(function () {
16551
- return _this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(_this));
16552
- });
16553
- };
16554
- DatoGridV2ToolbarComponent.prototype.getRowDataUpdatedEvent = function () {
16555
- var _this = this;
16556
- return this.gridController.gridQuery.waitForGrid(function () {
16557
- return _this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(_this));
16558
- });
16559
- };
16560
16567
  DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
16561
16568
  if (isFunction(action.onClick)) {
16562
16569
  var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
@@ -21032,40 +21039,6 @@ var DatoEditableHeaderModule = /** @class */ (function () {
21032
21039
  * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
21033
21040
  */
21034
21041
 
21035
- var RichTextService = /** @class */ (function () {
21036
- function RichTextService(http, config) {
21037
- this.http = http;
21038
- this.config = config;
21039
- }
21040
- RichTextService.prototype.getLib = function (appendScriptFunc, appendStyleFunc) {
21041
- if (!this.richTextScript$) {
21042
- this.initLib(appendScriptFunc, appendStyleFunc);
21043
- }
21044
- return this.richTextScript$;
21045
- };
21046
- RichTextService.prototype.initLib = function (appendScriptFunc, appendStyleFunc) {
21047
- this.richTextScript$ = combineLatest([
21048
- this.http
21049
- .get(this.config.paths.richText + "/index.js", { responseType: 'text' })
21050
- .pipe(tap(function (lib) { return appendScriptFunc(lib, 'rich-text-editor'); })),
21051
- this.http
21052
- .get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
21053
- .pipe(tap(function (style) { return appendStyleFunc(style, 'tinymce-autocomplete'); }))
21054
- ]).pipe(shareReplay(1));
21055
- };
21056
- RichTextService.ctorParameters = function () { return [
21057
- { type: HttpClient },
21058
- { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
21059
- ]; };
21060
- RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
21061
- RichTextService = __decorate([
21062
- Injectable({ providedIn: 'root' }),
21063
- __param(1, Inject(DATO_CORE_CONFIG)),
21064
- __metadata("design:paramtypes", [HttpClient, Object])
21065
- ], RichTextService);
21066
- return RichTextService;
21067
- }());
21068
-
21069
21042
  /**
21070
21043
  * @license
21071
21044
  * Copyright Datorama. All Rights Reserved.
@@ -21079,12 +21052,12 @@ var getTinymce = function () {
21079
21052
  var ɵ0$3 = getTinymce;
21080
21053
  var DatoRichTextDirective = /** @class */ (function (_super) {
21081
21054
  __extends(DatoRichTextDirective, _super);
21082
- function DatoRichTextDirective(ngZone, richTextService, config, host) {
21055
+ function DatoRichTextDirective(ngZone, http, host, config) {
21083
21056
  var _this = _super.call(this) || this;
21084
21057
  _this.ngZone = ngZone;
21085
- _this.richTextService = richTextService;
21086
- _this.config = config;
21058
+ _this.http = http;
21087
21059
  _this.host = host;
21060
+ _this.config = config;
21088
21061
  _this.autocompleteOptions = {};
21089
21062
  _this.forcePlainTextPasting = false;
21090
21063
  _this.format = 'html';
@@ -21118,11 +21091,28 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
21118
21091
  base: this.config.paths.richText,
21119
21092
  query: ''
21120
21093
  };
21121
- this.richTextService
21122
- .getLib(appendScript, appendStyle)
21123
- .pipe(untilDestroyed(this))
21124
- .subscribe(function () {
21125
- _this.init.call(_this);
21094
+ /**
21095
+ * We support only one instance in load time
21096
+ */
21097
+ if (window.tinymce) {
21098
+ this.init.call(this);
21099
+ }
21100
+ else {
21101
+ this.loadLib().subscribe(function (lib) {
21102
+ appendScript(lib, 'rich-text-editor');
21103
+ _this.init.call(_this);
21104
+ _this.loadAutoCompleteStyle();
21105
+ });
21106
+ }
21107
+ };
21108
+ DatoRichTextDirective.prototype.loadLib = function () {
21109
+ return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
21110
+ };
21111
+ DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
21112
+ this.http
21113
+ .get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
21114
+ .subscribe(function (style) {
21115
+ appendStyle(style, 'tinymce-autocomplete');
21126
21116
  });
21127
21117
  };
21128
21118
  DatoRichTextDirective.prototype.initEditor = function (_, editor) {
@@ -21215,9 +21205,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
21215
21205
  var DatoRichTextDirective_1;
21216
21206
  DatoRichTextDirective.ctorParameters = function () { return [
21217
21207
  { type: NgZone },
21218
- { type: RichTextService },
21219
- { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] },
21220
- { type: ElementRef }
21208
+ { type: HttpClient },
21209
+ { type: ElementRef },
21210
+ { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
21221
21211
  ]; };
21222
21212
  __decorate([
21223
21213
  Input(),
@@ -21283,9 +21273,10 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
21283
21273
  }
21284
21274
  ]
21285
21275
  }),
21286
- __param(2, Inject(DATO_CORE_CONFIG)),
21276
+ __param(3, Inject(DATO_CORE_CONFIG)),
21287
21277
  __metadata("design:paramtypes", [NgZone,
21288
- RichTextService, Object, ElementRef])
21278
+ HttpClient,
21279
+ ElementRef, Object])
21289
21280
  ], DatoRichTextDirective);
21290
21281
  return DatoRichTextDirective;
21291
21282
  }(BaseCustomControl));
@@ -23808,9 +23799,7 @@ var DatoBreadcrumbsComponent = /** @class */ (function () {
23808
23799
  };
23809
23800
  DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
23810
23801
  var _this = this;
23811
- this.headerControl.valueChanges
23812
- .pipe(debounceTime(300), untilDestroyed(this))
23813
- .subscribe(function (res) {
23802
+ this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe(function (res) {
23814
23803
  _this.updateEditableText.emit(res);
23815
23804
  _this.cdr.detectChanges();
23816
23805
  });
@@ -25173,7 +25162,7 @@ function fixNgLeaks() {
25173
25162
  };
25174
25163
  }
25175
25164
 
25176
- window.coreVersion = '22.1.4-rc.';
25165
+ window.coreVersion = '22.0.5';
25177
25166
 
25178
25167
  /**
25179
25168
  * @license
@@ -25187,5 +25176,5 @@ window.coreVersion = '22.1.4-rc.';
25187
25176
  * Generated bundle index. Do not edit.
25188
25177
  */
25189
25178
 
25190
- 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, RichTextService as ɵo };
25179
+ 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 };
25191
25180
  //# sourceMappingURL=datorama-core.js.map