@datorama/core 22.0.6-rc.1 → 22.0.6

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 (49) hide show
  1. package/bundles/datorama-core.umd.js +158 -209
  2. package/bundles/datorama-core.umd.js.map +1 -1
  3. package/bundles/datorama-core.umd.min.js +25 -25
  4. package/bundles/datorama-core.umd.min.js.map +1 -1
  5. package/datorama-core.d.ts +0 -1
  6. package/datorama-core.metadata.json +1 -1
  7. package/esm2015/datorama-core.js +1 -2
  8. package/esm2015/lib/accordion/accordion/accordion.component.js +3 -11
  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 +2 -5
  12. package/esm2015/lib/grid-v2/grid-settings.js +2 -2
  13. package/esm2015/lib/grid-v2/grid-store/grid.query.js +3 -3
  14. package/esm2015/lib/grid-v2/grid-store/grid.service.js +2 -3
  15. package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -7
  16. package/esm2015/lib/icon/icon.types.js +1 -1
  17. package/esm2015/lib/rich-text/rich-text.directive.js +33 -15
  18. package/esm2015/lib/select/select.component.js +16 -16
  19. package/esm2015/lib/sortable/sortable.component.js +2 -7
  20. package/esm2015/lib/version.js +2 -2
  21. package/esm5/datorama-core.js +1 -2
  22. package/esm5/lib/accordion/accordion/accordion.component.js +3 -15
  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 +2 -5
  26. package/esm5/lib/grid-v2/grid-settings.js +2 -2
  27. package/esm5/lib/grid-v2/grid-store/grid.query.js +3 -3
  28. package/esm5/lib/grid-v2/grid-store/grid.service.js +2 -3
  29. package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -13
  30. package/esm5/lib/icon/icon.types.js +1 -1
  31. package/esm5/lib/rich-text/rich-text.directive.js +34 -16
  32. package/esm5/lib/select/select.component.js +16 -17
  33. package/esm5/lib/sortable/sortable.component.js +2 -7
  34. package/esm5/lib/version.js +2 -2
  35. package/fesm2015/datorama-core.js +152 -190
  36. package/fesm2015/datorama-core.js.map +1 -1
  37. package/fesm5/datorama-core.js +159 -209
  38. package/fesm5/datorama-core.js.map +1 -1
  39. package/lib/accordion/accordion/accordion.component.d.ts +1 -4
  40. package/lib/grid-v2/grid/grid-v2.types.d.ts +1 -1
  41. package/lib/grid-v2/grid-settings.d.ts +2 -2
  42. package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +0 -2
  43. package/lib/rich-text/rich-text.directive.d.ts +6 -4
  44. package/lib/select/select.component.d.ts +0 -1
  45. package/lib/sortable/sortable.component.d.ts +1 -3
  46. package/package.json +2 -2
  47. package/esm2015/lib/rich-text/rich-text.service.js +0 -50
  48. package/esm5/lib/rich-text/rich-text.service.js +0 -51
  49. package/lib/rich-text/rich-text.service.d.ts +0 -10
@@ -6633,108 +6633,6 @@ const defaultClientSearchStrategy = (searchIn, searchValue, labelKey) => {
6633
6633
  return false;
6634
6634
  };
6635
6635
 
6636
- /**
6637
- * @license
6638
- * Copyright Datorama. All Rights Reserved.
6639
- *
6640
- * Use of this source code is governed by an Apache License 2.0 license that can be
6641
- * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
6642
- */
6643
- let DatoSortableComponent = class DatoSortableComponent {
6644
- constructor() {
6645
- this.list = [];
6646
- this.noop = noop;
6647
- /**
6648
- * Sortablejs options
6649
- */
6650
- this.datoOptions = {};
6651
- /**
6652
- * Fired once items order has changed
6653
- */
6654
- this.orderUpdated = new EventEmitter();
6655
- this.defaultOptions = {
6656
- handle: '.dato-sortable-handler',
6657
- ghostClass: 'dato-sortable-ghost',
6658
- chosenClass: 'dato-sortable-chosen',
6659
- dragClass: 'dato-sortable-drag'
6660
- };
6661
- }
6662
- set datoList(list) {
6663
- const isArr = Array.isArray(list);
6664
- const validInput = isArr || (list instanceof FormControl && Array.isArray(list.value));
6665
- if (!validInput) {
6666
- throw new Error(`DatoSortable - datoList expected array or form control but got ${typeof list}`);
6667
- }
6668
- if (!isArr) {
6669
- this.formControl = list;
6670
- this.list = [...this.formControl.value];
6671
- }
6672
- else {
6673
- this.list = list;
6674
- }
6675
- }
6676
- ngOnInit() {
6677
- const _a = this.datoOptions, { dynamicGhostHeight, hasStaticItems } = _a, sortableOptions = __rest(_a, ["dynamicGhostHeight", "hasStaticItems"]);
6678
- const mergedOptions = Object.assign(Object.assign(Object.assign({}, this.defaultOptions), sortableOptions), { onUpdate: event => (sortableOptions.onUpdate ? sortableOptions.onUpdate(event) : this.emitUpdate(event)) });
6679
- if (dynamicGhostHeight) {
6680
- mergedOptions.onStart = event => this.setGhostHeight(event);
6681
- }
6682
- if (hasStaticItems) {
6683
- mergedOptions.onMove = event => {
6684
- if (event.related.classList.contains('dato-sortable-static-item')) {
6685
- return false;
6686
- }
6687
- return sortableOptions.onMove ? sortableOptions.onMove(event) : true;
6688
- };
6689
- }
6690
- this.mergedOptions = mergedOptions;
6691
- }
6692
- emitUpdate(event) {
6693
- if (this.formControl) {
6694
- this.formControl.setValue(this.list);
6695
- }
6696
- this.orderUpdated.emit(event);
6697
- }
6698
- setGhostHeight(event) {
6699
- const originalEl = event.from.children[event.oldIndex];
6700
- setStyle(originalEl, 'display', 'block');
6701
- const { height } = originalEl.getBoundingClientRect();
6702
- setStyle(originalEl, 'display', 'none');
6703
- const ghostEl = query('.dato-sortable-ghost');
6704
- setStyle(ghostEl, 'height', `${height}px`);
6705
- }
6706
- };
6707
- __decorate([
6708
- ContentChildren(DatoAccordionGroupComponent),
6709
- __metadata("design:type", QueryList)
6710
- ], DatoSortableComponent.prototype, "accordionGroups", void 0);
6711
- __decorate([
6712
- Input(),
6713
- __metadata("design:type", Object),
6714
- __metadata("design:paramtypes", [Object])
6715
- ], DatoSortableComponent.prototype, "datoList", null);
6716
- __decorate([
6717
- Input(),
6718
- __metadata("design:type", Object)
6719
- ], DatoSortableComponent.prototype, "datoOptions", void 0);
6720
- __decorate([
6721
- Input(),
6722
- __metadata("design:type", String)
6723
- ], DatoSortableComponent.prototype, "containerClass", void 0);
6724
- __decorate([
6725
- Output(),
6726
- __metadata("design:type", Object)
6727
- ], DatoSortableComponent.prototype, "orderUpdated", void 0);
6728
- DatoSortableComponent = __decorate([
6729
- Component({
6730
- selector: 'dato-sortable',
6731
- template: "<section [sortablejs]=\"list\" [sortablejsOptions]=\"mergedOptions\" [ngClass]=\"containerClass\"\n (update.stop)=\"noop()\" (add.stop)=\"noop()\" (sort.stop)=\"noop()\" (remove.stop)=\"noop()\"\n (filter.stop)=\"noop()\" (change.stop)=\"noop()\" (drag.stop)=\"noop()\">\n <ng-content></ng-content>\n</section>",
6732
- changeDetection: ChangeDetectionStrategy.OnPush,
6733
- encapsulation: ViewEncapsulation.None,
6734
- styles: ["dato-sortable{display:inline-block}dato-sortable .dato-sortable-handler{cursor:move;cursor:-webkit-grabbing}.dato-sortable-ghost>*{display:none!important}.dato-sortable-drag{box-shadow:0 2px 14px 0 rgba(0,0,0,.2)}"]
6735
- })
6736
- ], DatoSortableComponent);
6737
-
6738
6636
  /**
6739
6637
  * @license
6740
6638
  * Copyright Datorama. All Rights Reserved.
@@ -6776,9 +6674,6 @@ let DatoAccordionComponent = DatoAccordionComponent_1 = class DatoAccordionCompo
6776
6674
  }
6777
6675
  }
6778
6676
  }
6779
- get groups() {
6780
- return this.sortable && this.sortable.accordionGroups.length > 0 ? this.sortable.accordionGroups : this.childGroups;
6781
- }
6782
6677
  ngOnChanges(changes) {
6783
6678
  if (changes.expandAll && !changes.expandAll.firstChange) {
6784
6679
  this.setExpandAll();
@@ -6950,15 +6845,11 @@ DatoAccordionComponent.ctorParameters = () => [
6950
6845
  __decorate([
6951
6846
  ContentChildren(DatoAccordionGroupComponent),
6952
6847
  __metadata("design:type", QueryList)
6953
- ], DatoAccordionComponent.prototype, "childGroups", void 0);
6848
+ ], DatoAccordionComponent.prototype, "groups", void 0);
6954
6849
  __decorate([
6955
6850
  ContentChildren(DatoAccordionComponent_1, { descendants: true }),
6956
6851
  __metadata("design:type", QueryList)
6957
6852
  ], DatoAccordionComponent.prototype, "childAccordion", void 0);
6958
- __decorate([
6959
- ContentChild(DatoSortableComponent, { static: true }),
6960
- __metadata("design:type", DatoSortableComponent)
6961
- ], DatoAccordionComponent.prototype, "sortable", void 0);
6962
6853
  __decorate([
6963
6854
  Input(),
6964
6855
  __metadata("design:type", Object)
@@ -7604,8 +7495,9 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7604
7495
  writeValue(activeOptions) {
7605
7496
  this._model = activeOptions ? coerceArray$1(activeOptions) : [];
7606
7497
  if (this.options) {
7498
+ const overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
7607
7499
  this.markAsActive(this._model, { deselectAll: true });
7608
- this.limitSelectedTo && this.updateDisabledState();
7500
+ overTheLimit && this.updateDisabledState();
7609
7501
  }
7610
7502
  /** For later updates */
7611
7503
  this.cdr.markForCheck();
@@ -7641,7 +7533,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7641
7533
  */
7642
7534
  if (this.hasValue && this._initialOpen) {
7643
7535
  this.markAsActive(this._model);
7644
- if (this.limitSelectedTo) {
7536
+ if (this.limitSelectedTo && this._model.length === this.limitSelectedTo) {
7645
7537
  this.updateDisabledState();
7646
7538
  }
7647
7539
  this._initialOpen = false;
@@ -7700,14 +7592,15 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7700
7592
  }
7701
7593
  }
7702
7594
  this.onChange(this._model);
7595
+ this.datoOverlay.scheduleUpdate();
7703
7596
  this.cdr.markForCheck();
7704
- this.asyncUpdateDropdownPosition();
7705
7597
  }
7706
7598
  reorderOptions(newOrder) {
7707
7599
  this._model = newOrder;
7708
7600
  this.onChange(this._model);
7709
7601
  }
7710
7602
  removeOption(option) {
7603
+ const updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
7711
7604
  this._model = this._model.filter(current => current[this.idKey] !== option[this.idKey]);
7712
7605
  const optionToRemove = this.options.find(datoOption => datoOption.option && datoOption.option[this.idKey] === option[this.idKey]);
7713
7606
  /**
@@ -7717,10 +7610,12 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7717
7610
  if (optionToRemove) {
7718
7611
  optionToRemove.active = false;
7719
7612
  }
7720
- this.limitSelectedTo && this.updateDisabledState();
7613
+ updateDisabled && this.updateDisabledState();
7721
7614
  this.onChange(this._model);
7722
7615
  this.cdr.markForCheck();
7723
- this.asyncUpdateDropdownPosition();
7616
+ if (this.datoOverlay.attached) {
7617
+ this.datoOverlay.scheduleUpdate();
7618
+ }
7724
7619
  }
7725
7620
  preventBodyScroll(event) {
7726
7621
  if (isArrowUpDown(event)) {
@@ -7917,7 +7812,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7917
7812
  this.searchTerm = value;
7918
7813
  this.keyManager.setActiveItem(-1);
7919
7814
  this.cdr.markForCheck();
7920
- this.asyncUpdateDropdownPosition();
7815
+ this.datoOverlay && this.datoOverlay.scheduleUpdate();
7921
7816
  });
7922
7817
  }
7923
7818
  /**
@@ -7991,6 +7886,9 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7991
7886
  if (!datoOption) {
7992
7887
  return;
7993
7888
  }
7889
+ const modelLength = this._model.length;
7890
+ const updateDisabled = this.limitSelectedTo &&
7891
+ (modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
7994
7892
  datoOption.active = !datoOption.active;
7995
7893
  const rawOption = datoOption.option;
7996
7894
  if (datoOption.active) {
@@ -7999,10 +7897,10 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7999
7897
  else {
8000
7898
  this._model = this._model.filter(current => current[this.idKey] !== rawOption[this.idKey]);
8001
7899
  }
8002
- this.limitSelectedTo && this.updateDisabledState();
7900
+ updateDisabled && this.updateDisabledState();
8003
7901
  this.onChange(this._model);
8004
7902
  this.cdr.markForCheck();
8005
- this.asyncUpdateDropdownPosition();
7903
+ this.datoOverlay.scheduleUpdate();
8006
7904
  }
8007
7905
  activateInfiniteScroll() {
8008
7906
  this.infiniteSubscription = fromEvent(document.querySelector('.dato-select__dropdown'), 'scroll')
@@ -8043,13 +7941,6 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
8043
7941
  }
8044
7942
  }
8045
7943
  }
8046
- // Make sure the overlay will be update AFTER Change Detection was done
8047
- // So the items in the input (and its height) is update
8048
- asyncUpdateDropdownPosition() {
8049
- if (this.datoOverlay && this.datoOverlay.attached) {
8050
- setTimeout(() => this.datoOverlay.scheduleUpdate(), 0);
8051
- }
8052
- }
8053
7944
  };
8054
7945
  DatoSelectComponent.ctorParameters = () => [
8055
7946
  { type: ChangeDetectorRef },
@@ -8959,6 +8850,104 @@ DatoOptionsModule = __decorate([
8959
8850
  })
8960
8851
  ], DatoOptionsModule);
8961
8852
 
8853
+ /**
8854
+ * @license
8855
+ * Copyright Datorama. All Rights Reserved.
8856
+ *
8857
+ * Use of this source code is governed by an Apache License 2.0 license that can be
8858
+ * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
8859
+ */
8860
+ let DatoSortableComponent = class DatoSortableComponent {
8861
+ constructor() {
8862
+ this.list = [];
8863
+ this.noop = noop;
8864
+ /**
8865
+ * Sortablejs options
8866
+ */
8867
+ this.datoOptions = {};
8868
+ /**
8869
+ * Fired once items order has changed
8870
+ */
8871
+ this.orderUpdated = new EventEmitter();
8872
+ this.defaultOptions = {
8873
+ handle: '.dato-sortable-handler',
8874
+ ghostClass: 'dato-sortable-ghost',
8875
+ chosenClass: 'dato-sortable-chosen',
8876
+ dragClass: 'dato-sortable-drag'
8877
+ };
8878
+ }
8879
+ set datoList(list) {
8880
+ const isArr = Array.isArray(list);
8881
+ const validInput = isArr || (list instanceof FormControl && Array.isArray(list.value));
8882
+ if (!validInput) {
8883
+ throw new Error(`DatoSortable - datoList expected array or form control but got ${typeof list}`);
8884
+ }
8885
+ if (!isArr) {
8886
+ this.formControl = list;
8887
+ this.list = [...this.formControl.value];
8888
+ }
8889
+ else {
8890
+ this.list = list;
8891
+ }
8892
+ }
8893
+ ngOnInit() {
8894
+ const _a = this.datoOptions, { dynamicGhostHeight, hasStaticItems } = _a, sortableOptions = __rest(_a, ["dynamicGhostHeight", "hasStaticItems"]);
8895
+ const mergedOptions = Object.assign(Object.assign(Object.assign({}, this.defaultOptions), sortableOptions), { onUpdate: event => (sortableOptions.onUpdate ? sortableOptions.onUpdate(event) : this.emitUpdate(event)) });
8896
+ if (dynamicGhostHeight) {
8897
+ mergedOptions.onStart = event => this.setGhostHeight(event);
8898
+ }
8899
+ if (hasStaticItems) {
8900
+ mergedOptions.onMove = event => {
8901
+ if (event.related.classList.contains('dato-sortable-static-item')) {
8902
+ return false;
8903
+ }
8904
+ return sortableOptions.onMove ? sortableOptions.onMove(event) : true;
8905
+ };
8906
+ }
8907
+ this.mergedOptions = mergedOptions;
8908
+ }
8909
+ emitUpdate(event) {
8910
+ if (this.formControl) {
8911
+ this.formControl.setValue(this.list);
8912
+ }
8913
+ this.orderUpdated.emit(event);
8914
+ }
8915
+ setGhostHeight(event) {
8916
+ const originalEl = event.from.children[event.oldIndex];
8917
+ setStyle(originalEl, 'display', 'block');
8918
+ const { height } = originalEl.getBoundingClientRect();
8919
+ setStyle(originalEl, 'display', 'none');
8920
+ const ghostEl = query('.dato-sortable-ghost');
8921
+ setStyle(ghostEl, 'height', `${height}px`);
8922
+ }
8923
+ };
8924
+ __decorate([
8925
+ Input(),
8926
+ __metadata("design:type", Object),
8927
+ __metadata("design:paramtypes", [Object])
8928
+ ], DatoSortableComponent.prototype, "datoList", null);
8929
+ __decorate([
8930
+ Input(),
8931
+ __metadata("design:type", Object)
8932
+ ], DatoSortableComponent.prototype, "datoOptions", void 0);
8933
+ __decorate([
8934
+ Input(),
8935
+ __metadata("design:type", String)
8936
+ ], DatoSortableComponent.prototype, "containerClass", void 0);
8937
+ __decorate([
8938
+ Output(),
8939
+ __metadata("design:type", Object)
8940
+ ], DatoSortableComponent.prototype, "orderUpdated", void 0);
8941
+ DatoSortableComponent = __decorate([
8942
+ Component({
8943
+ selector: 'dato-sortable',
8944
+ template: "<section [sortablejs]=\"list\" [sortablejsOptions]=\"mergedOptions\" [ngClass]=\"containerClass\"\n (update.stop)=\"noop()\" (add.stop)=\"noop()\" (sort.stop)=\"noop()\" (remove.stop)=\"noop()\"\n (filter.stop)=\"noop()\" (change.stop)=\"noop()\" (drag.stop)=\"noop()\">\n <ng-content></ng-content>\n</section>",
8945
+ changeDetection: ChangeDetectionStrategy.OnPush,
8946
+ encapsulation: ViewEncapsulation.None,
8947
+ styles: ["dato-sortable{display:inline-block}dato-sortable .dato-sortable-handler{cursor:move;cursor:-webkit-grabbing}.dato-sortable-ghost>*{display:none!important}.dato-sortable-drag{box-shadow:0 2px 14px 0 rgba(0,0,0,.2)}"]
8948
+ })
8949
+ ], DatoSortableComponent);
8950
+
8962
8951
  /**
8963
8952
  * @license
8964
8953
  * Copyright Datorama. All Rights Reserved.
@@ -10115,10 +10104,10 @@ let GridQuery = class GridQuery extends Query {
10115
10104
  const uniquePivotParents = uniq(this.api.columns.getSecondaryColumns().map(column => column.getParent()));
10116
10105
  const secondaryColumn = this.getSecondaryColumn(pivotedColumn.getColId());
10117
10106
  const pivotColIndex = uniquePivotParents.indexOf(secondaryColumn.getParent());
10118
- return { colId: getColField(pivotedColumn.getColDef()), sort, pivotColIndex };
10107
+ return { colId, sort, pivotColIndex, colField: getColField(pivotedColumn.getColDef()) };
10119
10108
  }
10120
10109
  else if (column) {
10121
- return { colId: getColField(column.getColDef()), sort };
10110
+ return { colId, sort, colField: getColField(column.getColDef()) };
10122
10111
  }
10123
10112
  }
10124
10113
  else {
@@ -10502,7 +10491,7 @@ function toolbarActionToContextAction(params) {
10502
10491
  return contextActions;
10503
10492
  }
10504
10493
 
10505
- const DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_AP');
10494
+ const DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
10506
10495
 
10507
10496
  const defaultEditableColumnRenderer = params => params && params.value ? `<div class="value-wrapper ellipsis">${params.value}</div>` : null;
10508
10497
  const editableCellRendererWithSearchHighlight = (params, searchTerm) => {
@@ -12753,8 +12742,7 @@ let GridService = class GridService {
12753
12742
  this.updateSettings({ gridAlignment, columnsSizes: null });
12754
12743
  }
12755
12744
  saveSettingsToServer(settings) {
12756
- const isGlobal = this.gridQuery.getGridOptions().isGlobalSettings;
12757
- this.storageAPI.set(this.gridName, settings, isGlobal);
12745
+ this.storageAPI.set(this.gridName, settings);
12758
12746
  }
12759
12747
  /**
12760
12748
  * @internal used to log grid events to the platform's logging service
@@ -13663,10 +13651,7 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
13663
13651
  .pipe(switchMap(() => {
13664
13652
  this.gridOptions = this.normalizeOptions();
13665
13653
  agGrid.gridOptions = this.gridOptions;
13666
- const isGlobal = this.gridOptions.isGlobalSettings;
13667
- const settingsLoader = this.gridOptions.saveSettings === false
13668
- ? of(null)
13669
- : this.storageAPI.get(this.gridOptions.gridName, isGlobal);
13654
+ const settingsLoader = this.gridOptions.saveSettings === false ? of(null) : this.storageAPI.get(this.gridOptions.gridName);
13670
13655
  return combineLatest([agGrid.gridReady, settingsLoader]);
13671
13656
  }), untilDestroyed(this))
13672
13657
  .subscribe(([{ api, columnApi }, savedSettings = {}]) => {
@@ -14789,12 +14774,6 @@ let DatoGridV2ToolbarComponent = class DatoGridV2ToolbarComponent {
14789
14774
  this.registerGroupListeners();
14790
14775
  this.subscribeRowsSelectionData();
14791
14776
  }
14792
- getCellValueChangeEvent() {
14793
- return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(this)));
14794
- }
14795
- getRowDataUpdatedEvent() {
14796
- return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(this)));
14797
- }
14798
14777
  onActionClick(action) {
14799
14778
  if (isFunction(action.onClick)) {
14800
14779
  const selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
@@ -18862,39 +18841,6 @@ DatoEditableHeaderModule = __decorate([
18862
18841
  * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
18863
18842
  */
18864
18843
 
18865
- let RichTextService = class RichTextService {
18866
- constructor(http, config) {
18867
- this.http = http;
18868
- this.config = config;
18869
- }
18870
- getLib(appendScriptFunc, appendStyleFunc) {
18871
- if (!this.richTextScript$) {
18872
- this.initLib(appendScriptFunc, appendStyleFunc);
18873
- }
18874
- return this.richTextScript$;
18875
- }
18876
- initLib(appendScriptFunc, appendStyleFunc) {
18877
- this.richTextScript$ = combineLatest([
18878
- this.http
18879
- .get(`${this.config.paths.richText}/index.js`, { responseType: 'text' })
18880
- .pipe(tap(lib => appendScriptFunc(lib, 'rich-text-editor'))),
18881
- this.http
18882
- .get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
18883
- .pipe(tap(style => appendStyleFunc(style, 'tinymce-autocomplete')))
18884
- ]).pipe(shareReplay(1));
18885
- }
18886
- };
18887
- RichTextService.ctorParameters = () => [
18888
- { type: HttpClient },
18889
- { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
18890
- ];
18891
- RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
18892
- RichTextService = __decorate([
18893
- Injectable({ providedIn: 'root' }),
18894
- __param(1, Inject(DATO_CORE_CONFIG)),
18895
- __metadata("design:paramtypes", [HttpClient, Object])
18896
- ], RichTextService);
18897
-
18898
18844
  /**
18899
18845
  * @license
18900
18846
  * Copyright Datorama. All Rights Reserved.
@@ -18908,12 +18854,12 @@ const getTinymce = () => {
18908
18854
  };
18909
18855
  const ɵ0$3 = getTinymce;
18910
18856
  let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirective extends BaseCustomControl {
18911
- constructor(ngZone, richTextService, config, host) {
18857
+ constructor(ngZone, http, host, config) {
18912
18858
  super();
18913
18859
  this.ngZone = ngZone;
18914
- this.richTextService = richTextService;
18915
- this.config = config;
18860
+ this.http = http;
18916
18861
  this.host = host;
18862
+ this.config = config;
18917
18863
  this.autocompleteOptions = {};
18918
18864
  this.forcePlainTextPasting = false;
18919
18865
  this.format = 'html';
@@ -18940,11 +18886,28 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
18940
18886
  base: this.config.paths.richText,
18941
18887
  query: ''
18942
18888
  };
18943
- this.richTextService
18944
- .getLib(appendScript, appendStyle)
18945
- .pipe(untilDestroyed(this))
18946
- .subscribe(() => {
18889
+ /**
18890
+ * We support only one instance in load time
18891
+ */
18892
+ if (window.tinymce) {
18947
18893
  this.init.call(this);
18894
+ }
18895
+ else {
18896
+ this.loadLib().subscribe(lib => {
18897
+ appendScript(lib, 'rich-text-editor');
18898
+ this.init.call(this);
18899
+ this.loadAutoCompleteStyle();
18900
+ });
18901
+ }
18902
+ }
18903
+ loadLib() {
18904
+ return this.http.get(`${this.config.paths.richText}/index.js`, { responseType: 'text' });
18905
+ }
18906
+ loadAutoCompleteStyle() {
18907
+ this.http
18908
+ .get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
18909
+ .subscribe(style => {
18910
+ appendStyle(style, 'tinymce-autocomplete');
18948
18911
  });
18949
18912
  }
18950
18913
  initEditor(_, editor) {
@@ -19045,9 +19008,9 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
19045
19008
  };
19046
19009
  DatoRichTextDirective.ctorParameters = () => [
19047
19010
  { type: NgZone },
19048
- { type: RichTextService },
19049
- { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] },
19050
- { type: ElementRef }
19011
+ { type: HttpClient },
19012
+ { type: ElementRef },
19013
+ { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
19051
19014
  ];
19052
19015
  __decorate([
19053
19016
  Input(),
@@ -19113,9 +19076,10 @@ DatoRichTextDirective = DatoRichTextDirective_1 = __decorate([
19113
19076
  }
19114
19077
  ]
19115
19078
  }),
19116
- __param(2, Inject(DATO_CORE_CONFIG)),
19079
+ __param(3, Inject(DATO_CORE_CONFIG)),
19117
19080
  __metadata("design:paramtypes", [NgZone,
19118
- RichTextService, Object, ElementRef])
19081
+ HttpClient,
19082
+ ElementRef, Object])
19119
19083
  ], DatoRichTextDirective);
19120
19084
 
19121
19085
  /**
@@ -21396,9 +21360,7 @@ let DatoBreadcrumbsComponent = class DatoBreadcrumbsComponent {
21396
21360
  this._breadcrumbs = [...start, ...dots, ...end];
21397
21361
  }
21398
21362
  initEditableHeader() {
21399
- this.headerControl.valueChanges
21400
- .pipe(debounceTime(300), untilDestroyed(this))
21401
- .subscribe((res) => {
21363
+ this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe((res) => {
21402
21364
  this.updateEditableText.emit(res);
21403
21365
  this.cdr.detectChanges();
21404
21366
  });
@@ -22663,7 +22625,7 @@ function fixNgLeaks() {
22663
22625
  };
22664
22626
  }
22665
22627
 
22666
- window.coreVersion = '22.1.5-rc.';
22628
+ window.coreVersion = '22.0.6';
22667
22629
 
22668
22630
  /**
22669
22631
  * @license
@@ -22677,5 +22639,5 @@ window.coreVersion = '22.1.5-rc.';
22677
22639
  * Generated bundle index. Do not edit.
22678
22640
  */
22679
22641
 
22680
- 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 };
22642
+ 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 };
22681
22643
  //# sourceMappingURL=datorama-core.js.map