@datorama/core 22.8.1-rc.3 → 22.8.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.
Files changed (44) hide show
  1. package/bundles/datorama-core.umd.js +96 -118
  2. package/bundles/datorama-core.umd.js.map +1 -1
  3. package/bundles/datorama-core.umd.min.js +15 -15
  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/breadcrumbs/breadcrumbs.component.js +2 -4
  9. package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
  10. package/esm2015/lib/grid-v2/grid-column-header/grid-column-header.component.js +9 -3
  11. package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +3 -6
  12. package/esm2015/lib/grid-v2/grid-settings.js +2 -2
  13. package/esm2015/lib/grid-v2/grid-store/grid.query.js +23 -22
  14. package/esm2015/lib/grid-v2/grid-store/grid.service.js +21 -22
  15. package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -7
  16. package/esm2015/lib/rich-text/rich-text.directive.js +33 -15
  17. package/esm2015/lib/select/select.component.js +10 -5
  18. package/esm2015/lib/version.js +2 -2
  19. package/esm5/datorama-core.js +1 -2
  20. package/esm5/lib/breadcrumbs/breadcrumbs.component.js +2 -4
  21. package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
  22. package/esm5/lib/grid-v2/grid-column-header/grid-column-header.component.js +9 -3
  23. package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +3 -6
  24. package/esm5/lib/grid-v2/grid-settings.js +2 -2
  25. package/esm5/lib/grid-v2/grid-store/grid.query.js +24 -22
  26. package/esm5/lib/grid-v2/grid-store/grid.service.js +21 -22
  27. package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -13
  28. package/esm5/lib/rich-text/rich-text.directive.js +34 -16
  29. package/esm5/lib/select/select.component.js +10 -5
  30. package/esm5/lib/version.js +2 -2
  31. package/fesm2015/datorama-core.js +95 -110
  32. package/fesm2015/datorama-core.js.map +1 -1
  33. package/fesm5/datorama-core.js +97 -118
  34. package/fesm5/datorama-core.js.map +1 -1
  35. package/lib/grid-v2/grid/grid-v2.types.d.ts +1 -1
  36. package/lib/grid-v2/grid-settings.d.ts +2 -2
  37. package/lib/grid-v2/grid-store/grid.query.d.ts +3 -3
  38. package/lib/grid-v2/grid-store/grid.service.d.ts +1 -0
  39. package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +0 -2
  40. package/lib/rich-text/rich-text.directive.d.ts +6 -4
  41. package/package.json +1 -1
  42. package/esm2015/lib/rich-text/rich-text.service.js +0 -50
  43. package/esm5/lib/rich-text/rich-text.service.js +0 -51
  44. package/lib/rich-text/rich-text.service.d.ts +0 -10
@@ -7604,8 +7604,9 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7604
7604
  writeValue(activeOptions) {
7605
7605
  this._model = activeOptions ? coerceArray$1(activeOptions) : [];
7606
7606
  if (this.options) {
7607
+ const overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
7607
7608
  this.markAsActive(this._model, { deselectAll: true });
7608
- this.limitSelectedTo && this.updateDisabledState();
7609
+ overTheLimit && this.updateDisabledState();
7609
7610
  }
7610
7611
  /** For later updates */
7611
7612
  this.cdr.markForCheck();
@@ -7641,7 +7642,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7641
7642
  */
7642
7643
  if (this.hasValue && this._initialOpen) {
7643
7644
  this.markAsActive(this._model);
7644
- if (this.limitSelectedTo) {
7645
+ if (this.limitSelectedTo && this._model.length === this.limitSelectedTo) {
7645
7646
  this.updateDisabledState();
7646
7647
  }
7647
7648
  this._initialOpen = false;
@@ -7708,6 +7709,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7708
7709
  this.onChange(this._model);
7709
7710
  }
7710
7711
  removeOption(option) {
7712
+ const updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
7711
7713
  this._model = this._model.filter(current => current[this.idKey] !== option[this.idKey]);
7712
7714
  const optionToRemove = this.options.find(datoOption => datoOption.option && datoOption.option[this.idKey] === option[this.idKey]);
7713
7715
  /**
@@ -7717,7 +7719,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7717
7719
  if (optionToRemove) {
7718
7720
  optionToRemove.active = false;
7719
7721
  }
7720
- this.limitSelectedTo && this.updateDisabledState();
7722
+ updateDisabled && this.updateDisabledState();
7721
7723
  this.onChange(this._model);
7722
7724
  this.cdr.markForCheck();
7723
7725
  this.asyncUpdateDropdownPosition();
@@ -7991,6 +7993,9 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7991
7993
  if (!datoOption) {
7992
7994
  return;
7993
7995
  }
7996
+ const modelLength = this._model.length;
7997
+ const updateDisabled = this.limitSelectedTo &&
7998
+ (modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
7994
7999
  datoOption.active = !datoOption.active;
7995
8000
  const rawOption = datoOption.option;
7996
8001
  if (datoOption.active) {
@@ -7999,7 +8004,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
7999
8004
  else {
8000
8005
  this._model = this._model.filter(current => current[this.idKey] !== rawOption[this.idKey]);
8001
8006
  }
8002
- this.limitSelectedTo && this.updateDisabledState();
8007
+ updateDisabled && this.updateDisabledState();
8003
8008
  this.onChange(this._model);
8004
8009
  this.cdr.markForCheck();
8005
8010
  this.asyncUpdateDropdownPosition();
@@ -10092,7 +10097,7 @@ let GridQuery = class GridQuery extends Query {
10092
10097
  const storeSettings = this.getValue().settings;
10093
10098
  const settings = {
10094
10099
  gridAlignment: storeSettings.gridAlignment,
10095
- sort: this.getSort(),
10100
+ sort: this.getGridOptions().sortByStore ? this.getSavedSort() : this.getSortModel(),
10096
10101
  hiddenColumns,
10097
10102
  groupedColumns: groupedColumns.map(toColId),
10098
10103
  filter: this.getFilter(),
@@ -10106,30 +10111,31 @@ let GridQuery = class GridQuery extends Query {
10106
10111
  }
10107
10112
  return settings;
10108
10113
  }
10109
- getSort() {
10114
+ getSortModel() {
10110
10115
  return this.api.grid.getSortModel().pop();
10111
10116
  }
10112
- getExternalSort() {
10113
- const { sort, colId } = this.getSort() || {};
10114
- const column = this.api.columns.getColumn(colId);
10115
- const allColumns = this.api.columns.getAllGridColumns();
10116
- if (column) {
10117
- return { colId, sort, field: getColField(column.getColDef()), sortIndex: allColumns.indexOf(column) };
10118
- }
10119
- else {
10120
- const secondaryColumn = this.getSecondaryColumn(colId);
10121
- if (secondaryColumn) {
10122
- return {
10123
- colId,
10124
- sort,
10125
- field: getColField(secondaryColumn.getColDef()),
10126
- sortIndex: allColumns.indexOf(secondaryColumn)
10127
- };
10117
+ getSavedSort() {
10118
+ return this.getValue().settings.sort || this.getSortModel();
10119
+ }
10120
+ getSort(savedSort = this.getSavedSort()) {
10121
+ if (savedSort) {
10122
+ const { colId, sort, sortIndex } = savedSort;
10123
+ const column = this.api.columns.getColumn(colId);
10124
+ const allColumns = this.api.columns.getAllGridColumns();
10125
+ if (column) {
10126
+ const field = getColField(column.getColDef());
10127
+ return { colId, sort, field };
10128
+ }
10129
+ else {
10130
+ const secondaryColumn = this.getSecondaryColumn(colId);
10131
+ if (secondaryColumn) {
10132
+ const columnIndex = sortIndex || allColumns.indexOf(secondaryColumn);
10133
+ const field = getColField(secondaryColumn.getColDef());
10134
+ return { colId, sort, field, sortIndex: columnIndex };
10135
+ }
10128
10136
  }
10129
10137
  }
10130
- }
10131
- selectSort() {
10132
- return this.select(state => state.settings.sort);
10138
+ return { colId: null, sort: null };
10133
10139
  }
10134
10140
  /* @internal */
10135
10141
  _setApi(api, gridRef) {
@@ -10510,7 +10516,7 @@ function toolbarActionToContextAction(params) {
10510
10516
  return contextActions;
10511
10517
  }
10512
10518
 
10513
- const DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_AP');
10519
+ const DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
10514
10520
 
10515
10521
  const defaultEditableColumnRenderer = params => params && params.value ? `<div class="value-wrapper ellipsis">${params.value}</div>` : null;
10516
10522
  const editableCellRendererWithSearchHighlight = (params, searchTerm) => {
@@ -11830,6 +11836,7 @@ let DatoGridColumnHeaderComponent = class DatoGridColumnHeaderComponent {
11830
11836
  const sortingOrder = this.column.getColDef() ? this.column.getColDef().sortingOrder : null;
11831
11837
  let sort;
11832
11838
  const currentSort = this.column.getSort();
11839
+ const colId = this.column.getColId();
11833
11840
  if (sortingOrder && sortingOrder.length > 0) {
11834
11841
  const currentSortIndex = sortingOrder.indexOf(currentSort);
11835
11842
  let newSortIndex;
@@ -11846,10 +11853,15 @@ let DatoGridColumnHeaderComponent = class DatoGridColumnHeaderComponent {
11846
11853
  }
11847
11854
  gridService._logEvent("Grids - Column Action" /* GRID_COLUMN_ACTION */, {
11848
11855
  action: 'Sort',
11849
- column: this.column.getColId()
11856
+ column: colId
11850
11857
  });
11851
11858
  gridQuery.isServerSide && gridService.setLoading(true);
11852
- this.params.setSort(sort);
11859
+ if (gridQuery.getGridOptions().sortByStore) {
11860
+ gridService.setSortByColumn(colId, sort);
11861
+ }
11862
+ else {
11863
+ this.params.setSort(sort);
11864
+ }
11853
11865
  });
11854
11866
  this.sortingInfo$ = gridQuery
11855
11867
  .waitForGrid(() => gridQuery.gridRef.sortChanged)
@@ -12715,38 +12727,38 @@ let GridService = class GridService {
12715
12727
  this.notifyFilterUpdate();
12716
12728
  }
12717
12729
  }
12730
+ setSortByColumn(colId, sort) {
12731
+ const sortToSet = this.gridQuery.getSort({ colId, sort });
12732
+ this.setGridSort(sortToSet);
12733
+ }
12718
12734
  setGridSort(gridSort) {
12719
12735
  if (gridSort && this.api && this.api.grid.getDisplayedRowCount() > 0) {
12720
12736
  const { colId, sort, sortIndex } = gridSort;
12721
- let sortToApply = gridSort;
12722
- if (!isNil(sortIndex)) {
12723
- const gridColumns = this.api.columns.getAllGridColumns();
12724
- if (gridColumns) {
12737
+ const gridColumns = this.api.columns.getAllGridColumns();
12738
+ if (gridColumns) {
12739
+ let sortToApply = gridSort;
12740
+ if (!isNil(sortIndex)) {
12725
12741
  const valueColumns = this.api.columns.getValueColumns();
12726
12742
  const valueColumn = valueColumns.find((col) => col.getColId() === colId);
12727
12743
  const isPivotColId = colId.startsWith('pivot');
12728
12744
  if (isPivotColId || valueColumn) {
12729
12745
  /** Column is pivot value column, sort by index */
12730
12746
  const columnByIndex = gridColumns[sortIndex];
12731
- const pivotValueColumn = columnByIndex && columnByIndex.getColDef().pivotValueColumn;
12732
- const pivotValueColumnId = pivotValueColumn && pivotValueColumn.getColId();
12733
- if (pivotValueColumnId === colId) {
12734
- sortToApply = { colId: columnByIndex.getColId(), sort };
12735
- }
12747
+ sortToApply = { colId: columnByIndex.getColId(), sort, sortIndex };
12736
12748
  }
12737
- else {
12738
- /** Sort by column id */
12739
- const columnById = gridColumns.find((col) => {
12740
- return (col.getColDef().showRowGroup || col.getColId()) === colId;
12741
- });
12742
- if (columnById) {
12743
- sortToApply = { colId: columnById.getColId(), sort };
12744
- }
12749
+ }
12750
+ else {
12751
+ /** Sort by column id */
12752
+ const columnById = gridColumns.find((col) => {
12753
+ return (col.getColDef().showRowGroup || col.getColId()) === colId;
12754
+ });
12755
+ if (columnById) {
12756
+ sortToApply = { colId: columnById.getColId(), sort };
12745
12757
  }
12746
12758
  }
12759
+ this.updateSettings({ sort: sortToApply });
12760
+ this.api.grid.setSortModel([sortToApply]);
12747
12761
  }
12748
- this.updateSettings({ sort: sortToApply });
12749
- this.api.grid.setSortModel([sortToApply]);
12750
12762
  }
12751
12763
  }
12752
12764
  updateFilter(column, filter) {
@@ -12803,8 +12815,7 @@ let GridService = class GridService {
12803
12815
  this.updateSettings({ gridAlignment, columnsSizes: null });
12804
12816
  }
12805
12817
  saveSettingsToServer(settings) {
12806
- const isGlobal = this.gridQuery.getGridOptions().isGlobalSettings;
12807
- this.storageAPI.set(this.gridName, settings, isGlobal);
12818
+ this.storageAPI.set(this.gridName, settings);
12808
12819
  }
12809
12820
  /**
12810
12821
  * @internal used to log grid events to the platform's logging service
@@ -13713,10 +13724,7 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
13713
13724
  .pipe(switchMap(() => {
13714
13725
  this.gridOptions = this.normalizeOptions();
13715
13726
  agGrid.gridOptions = this.gridOptions;
13716
- const isGlobal = this.gridOptions.isGlobalSettings;
13717
- const settingsLoader = this.gridOptions.saveSettings === false
13718
- ? of(null)
13719
- : this.storageAPI.get(this.gridOptions.gridName, isGlobal);
13727
+ const settingsLoader = this.gridOptions.saveSettings === false ? of(null) : this.storageAPI.get(this.gridOptions.gridName);
13720
13728
  return combineLatest([agGrid.gridReady, settingsLoader]);
13721
13729
  }), untilDestroyed(this))
13722
13730
  .subscribe(([{ api, columnApi }, savedSettings = {}]) => {
@@ -13819,7 +13827,7 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
13819
13827
  const data = this.getGridData();
13820
13828
  this.onGridChange.emit({
13821
13829
  filter: this.gridQuery.getExternalFilter(),
13822
- sort: this.gridQuery.getExternalSort(),
13830
+ sort: this.gridQuery.getSort(),
13823
13831
  type,
13824
13832
  data
13825
13833
  });
@@ -14841,12 +14849,6 @@ let DatoGridV2ToolbarComponent = class DatoGridV2ToolbarComponent {
14841
14849
  this.registerGroupListeners();
14842
14850
  this.subscribeRowsSelectionData();
14843
14851
  }
14844
- getCellValueChangeEvent() {
14845
- return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(this)));
14846
- }
14847
- getRowDataUpdatedEvent() {
14848
- return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(this)));
14849
- }
14850
14852
  onActionClick(action) {
14851
14853
  if (isFunction(action.onClick)) {
14852
14854
  const selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
@@ -18914,39 +18916,6 @@ DatoEditableHeaderModule = __decorate([
18914
18916
  * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
18915
18917
  */
18916
18918
 
18917
- let RichTextService = class RichTextService {
18918
- constructor(http, config) {
18919
- this.http = http;
18920
- this.config = config;
18921
- }
18922
- getLib(appendScriptFunc, appendStyleFunc) {
18923
- if (!this.richTextScript$) {
18924
- this.initLib(appendScriptFunc, appendStyleFunc);
18925
- }
18926
- return this.richTextScript$;
18927
- }
18928
- initLib(appendScriptFunc, appendStyleFunc) {
18929
- this.richTextScript$ = combineLatest([
18930
- this.http
18931
- .get(`${this.config.paths.richText}/index.js`, { responseType: 'text' })
18932
- .pipe(tap(lib => appendScriptFunc(lib, 'rich-text-editor'))),
18933
- this.http
18934
- .get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
18935
- .pipe(tap(style => appendStyleFunc(style, 'tinymce-autocomplete')))
18936
- ]).pipe(shareReplay(1));
18937
- }
18938
- };
18939
- RichTextService.ctorParameters = () => [
18940
- { type: HttpClient },
18941
- { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
18942
- ];
18943
- RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
18944
- RichTextService = __decorate([
18945
- Injectable({ providedIn: 'root' }),
18946
- __param(1, Inject(DATO_CORE_CONFIG)),
18947
- __metadata("design:paramtypes", [HttpClient, Object])
18948
- ], RichTextService);
18949
-
18950
18919
  /**
18951
18920
  * @license
18952
18921
  * Copyright Datorama. All Rights Reserved.
@@ -18960,12 +18929,12 @@ const getTinymce = () => {
18960
18929
  };
18961
18930
  const ɵ0$3 = getTinymce;
18962
18931
  let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirective extends BaseCustomControl {
18963
- constructor(ngZone, richTextService, config, host) {
18932
+ constructor(ngZone, http, host, config) {
18964
18933
  super();
18965
18934
  this.ngZone = ngZone;
18966
- this.richTextService = richTextService;
18967
- this.config = config;
18935
+ this.http = http;
18968
18936
  this.host = host;
18937
+ this.config = config;
18969
18938
  this.autocompleteOptions = {};
18970
18939
  this.forcePlainTextPasting = false;
18971
18940
  this.format = 'html';
@@ -18992,11 +18961,28 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
18992
18961
  base: this.config.paths.richText,
18993
18962
  query: ''
18994
18963
  };
18995
- this.richTextService
18996
- .getLib(appendScript, appendStyle)
18997
- .pipe(untilDestroyed(this))
18998
- .subscribe(() => {
18964
+ /**
18965
+ * We support only one instance in load time
18966
+ */
18967
+ if (window.tinymce) {
18999
18968
  this.init.call(this);
18969
+ }
18970
+ else {
18971
+ this.loadLib().subscribe(lib => {
18972
+ appendScript(lib, 'rich-text-editor');
18973
+ this.init.call(this);
18974
+ this.loadAutoCompleteStyle();
18975
+ });
18976
+ }
18977
+ }
18978
+ loadLib() {
18979
+ return this.http.get(`${this.config.paths.richText}/index.js`, { responseType: 'text' });
18980
+ }
18981
+ loadAutoCompleteStyle() {
18982
+ this.http
18983
+ .get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
18984
+ .subscribe(style => {
18985
+ appendStyle(style, 'tinymce-autocomplete');
19000
18986
  });
19001
18987
  }
19002
18988
  initEditor(_, editor) {
@@ -19097,9 +19083,9 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
19097
19083
  };
19098
19084
  DatoRichTextDirective.ctorParameters = () => [
19099
19085
  { type: NgZone },
19100
- { type: RichTextService },
19101
- { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] },
19102
- { type: ElementRef }
19086
+ { type: HttpClient },
19087
+ { type: ElementRef },
19088
+ { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
19103
19089
  ];
19104
19090
  __decorate([
19105
19091
  Input(),
@@ -19165,9 +19151,10 @@ DatoRichTextDirective = DatoRichTextDirective_1 = __decorate([
19165
19151
  }
19166
19152
  ]
19167
19153
  }),
19168
- __param(2, Inject(DATO_CORE_CONFIG)),
19154
+ __param(3, Inject(DATO_CORE_CONFIG)),
19169
19155
  __metadata("design:paramtypes", [NgZone,
19170
- RichTextService, Object, ElementRef])
19156
+ HttpClient,
19157
+ ElementRef, Object])
19171
19158
  ], DatoRichTextDirective);
19172
19159
 
19173
19160
  /**
@@ -21448,9 +21435,7 @@ let DatoBreadcrumbsComponent = class DatoBreadcrumbsComponent {
21448
21435
  this._breadcrumbs = [...start, ...dots, ...end];
21449
21436
  }
21450
21437
  initEditableHeader() {
21451
- this.headerControl.valueChanges
21452
- .pipe(debounceTime(300), untilDestroyed(this))
21453
- .subscribe((res) => {
21438
+ this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe((res) => {
21454
21439
  this.updateEditableText.emit(res);
21455
21440
  this.cdr.detectChanges();
21456
21441
  });
@@ -22715,7 +22700,7 @@ function fixNgLeaks() {
22715
22700
  };
22716
22701
  }
22717
22702
 
22718
- window.coreVersion = '22.8.1-rc.';
22703
+ window.coreVersion = '22.8.1';
22719
22704
 
22720
22705
  /**
22721
22706
  * @license
@@ -22729,5 +22714,5 @@ window.coreVersion = '22.8.1-rc.';
22729
22714
  * Generated bundle index. Do not edit.
22730
22715
  */
22731
22716
 
22732
- 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 };
22717
+ 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 };
22733
22718
  //# sourceMappingURL=datorama-core.js.map