@datorama/core 22.8.1-rc.1 → 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 +97 -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 +22 -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 +22 -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 +96 -110
  32. package/fesm2015/datorama-core.js.map +1 -1
  33. package/fesm5/datorama-core.js +98 -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,37 +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
- if (this.api && gridSort) {
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 valueColumnId = columnByIndex && columnByIndex.getColDef().pivotValueColumn.getColId();
12732
- if (valueColumnId === colId) {
12733
- sortToApply = { colId: columnByIndex.getColId(), sort };
12734
- }
12747
+ sortToApply = { colId: columnByIndex.getColId(), sort, sortIndex };
12735
12748
  }
12736
- else {
12737
- /** Sort by column id */
12738
- const columnById = gridColumns.find((col) => {
12739
- return (col.getColDef().showRowGroup || col.getColId()) === colId;
12740
- });
12741
- if (columnById) {
12742
- sortToApply = { colId: columnById.getColId(), sort };
12743
- }
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 };
12744
12757
  }
12745
12758
  }
12759
+ this.updateSettings({ sort: sortToApply });
12760
+ this.api.grid.setSortModel([sortToApply]);
12746
12761
  }
12747
- this.updateSettings({ sort: sortToApply });
12748
- this.api.grid.setSortModel([sortToApply]);
12749
12762
  }
12750
12763
  }
12751
12764
  updateFilter(column, filter) {
@@ -12802,8 +12815,7 @@ let GridService = class GridService {
12802
12815
  this.updateSettings({ gridAlignment, columnsSizes: null });
12803
12816
  }
12804
12817
  saveSettingsToServer(settings) {
12805
- const isGlobal = this.gridQuery.getGridOptions().isGlobalSettings;
12806
- this.storageAPI.set(this.gridName, settings, isGlobal);
12818
+ this.storageAPI.set(this.gridName, settings);
12807
12819
  }
12808
12820
  /**
12809
12821
  * @internal used to log grid events to the platform's logging service
@@ -13712,10 +13724,7 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
13712
13724
  .pipe(switchMap(() => {
13713
13725
  this.gridOptions = this.normalizeOptions();
13714
13726
  agGrid.gridOptions = this.gridOptions;
13715
- const isGlobal = this.gridOptions.isGlobalSettings;
13716
- const settingsLoader = this.gridOptions.saveSettings === false
13717
- ? of(null)
13718
- : this.storageAPI.get(this.gridOptions.gridName, isGlobal);
13727
+ const settingsLoader = this.gridOptions.saveSettings === false ? of(null) : this.storageAPI.get(this.gridOptions.gridName);
13719
13728
  return combineLatest([agGrid.gridReady, settingsLoader]);
13720
13729
  }), untilDestroyed(this))
13721
13730
  .subscribe(([{ api, columnApi }, savedSettings = {}]) => {
@@ -13818,7 +13827,7 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
13818
13827
  const data = this.getGridData();
13819
13828
  this.onGridChange.emit({
13820
13829
  filter: this.gridQuery.getExternalFilter(),
13821
- sort: this.gridQuery.getExternalSort(),
13830
+ sort: this.gridQuery.getSort(),
13822
13831
  type,
13823
13832
  data
13824
13833
  });
@@ -14840,12 +14849,6 @@ let DatoGridV2ToolbarComponent = class DatoGridV2ToolbarComponent {
14840
14849
  this.registerGroupListeners();
14841
14850
  this.subscribeRowsSelectionData();
14842
14851
  }
14843
- getCellValueChangeEvent() {
14844
- return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(this)));
14845
- }
14846
- getRowDataUpdatedEvent() {
14847
- return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(this)));
14848
- }
14849
14852
  onActionClick(action) {
14850
14853
  if (isFunction(action.onClick)) {
14851
14854
  const selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
@@ -18913,39 +18916,6 @@ DatoEditableHeaderModule = __decorate([
18913
18916
  * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
18914
18917
  */
18915
18918
 
18916
- let RichTextService = class RichTextService {
18917
- constructor(http, config) {
18918
- this.http = http;
18919
- this.config = config;
18920
- }
18921
- getLib(appendScriptFunc, appendStyleFunc) {
18922
- if (!this.richTextScript$) {
18923
- this.initLib(appendScriptFunc, appendStyleFunc);
18924
- }
18925
- return this.richTextScript$;
18926
- }
18927
- initLib(appendScriptFunc, appendStyleFunc) {
18928
- this.richTextScript$ = combineLatest([
18929
- this.http
18930
- .get(`${this.config.paths.richText}/index.js`, { responseType: 'text' })
18931
- .pipe(tap(lib => appendScriptFunc(lib, 'rich-text-editor'))),
18932
- this.http
18933
- .get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
18934
- .pipe(tap(style => appendStyleFunc(style, 'tinymce-autocomplete')))
18935
- ]).pipe(shareReplay(1));
18936
- }
18937
- };
18938
- RichTextService.ctorParameters = () => [
18939
- { type: HttpClient },
18940
- { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
18941
- ];
18942
- RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
18943
- RichTextService = __decorate([
18944
- Injectable({ providedIn: 'root' }),
18945
- __param(1, Inject(DATO_CORE_CONFIG)),
18946
- __metadata("design:paramtypes", [HttpClient, Object])
18947
- ], RichTextService);
18948
-
18949
18919
  /**
18950
18920
  * @license
18951
18921
  * Copyright Datorama. All Rights Reserved.
@@ -18959,12 +18929,12 @@ const getTinymce = () => {
18959
18929
  };
18960
18930
  const ɵ0$3 = getTinymce;
18961
18931
  let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirective extends BaseCustomControl {
18962
- constructor(ngZone, richTextService, config, host) {
18932
+ constructor(ngZone, http, host, config) {
18963
18933
  super();
18964
18934
  this.ngZone = ngZone;
18965
- this.richTextService = richTextService;
18966
- this.config = config;
18935
+ this.http = http;
18967
18936
  this.host = host;
18937
+ this.config = config;
18968
18938
  this.autocompleteOptions = {};
18969
18939
  this.forcePlainTextPasting = false;
18970
18940
  this.format = 'html';
@@ -18991,11 +18961,28 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
18991
18961
  base: this.config.paths.richText,
18992
18962
  query: ''
18993
18963
  };
18994
- this.richTextService
18995
- .getLib(appendScript, appendStyle)
18996
- .pipe(untilDestroyed(this))
18997
- .subscribe(() => {
18964
+ /**
18965
+ * We support only one instance in load time
18966
+ */
18967
+ if (window.tinymce) {
18998
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');
18999
18986
  });
19000
18987
  }
19001
18988
  initEditor(_, editor) {
@@ -19096,9 +19083,9 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
19096
19083
  };
19097
19084
  DatoRichTextDirective.ctorParameters = () => [
19098
19085
  { type: NgZone },
19099
- { type: RichTextService },
19100
- { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] },
19101
- { type: ElementRef }
19086
+ { type: HttpClient },
19087
+ { type: ElementRef },
19088
+ { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
19102
19089
  ];
19103
19090
  __decorate([
19104
19091
  Input(),
@@ -19164,9 +19151,10 @@ DatoRichTextDirective = DatoRichTextDirective_1 = __decorate([
19164
19151
  }
19165
19152
  ]
19166
19153
  }),
19167
- __param(2, Inject(DATO_CORE_CONFIG)),
19154
+ __param(3, Inject(DATO_CORE_CONFIG)),
19168
19155
  __metadata("design:paramtypes", [NgZone,
19169
- RichTextService, Object, ElementRef])
19156
+ HttpClient,
19157
+ ElementRef, Object])
19170
19158
  ], DatoRichTextDirective);
19171
19159
 
19172
19160
  /**
@@ -21447,9 +21435,7 @@ let DatoBreadcrumbsComponent = class DatoBreadcrumbsComponent {
21447
21435
  this._breadcrumbs = [...start, ...dots, ...end];
21448
21436
  }
21449
21437
  initEditableHeader() {
21450
- this.headerControl.valueChanges
21451
- .pipe(debounceTime(300), untilDestroyed(this))
21452
- .subscribe((res) => {
21438
+ this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe((res) => {
21453
21439
  this.updateEditableText.emit(res);
21454
21440
  this.cdr.detectChanges();
21455
21441
  });
@@ -22714,7 +22700,7 @@ function fixNgLeaks() {
22714
22700
  };
22715
22701
  }
22716
22702
 
22717
- window.coreVersion = '22.8.1-rc.';
22703
+ window.coreVersion = '22.8.1';
22718
22704
 
22719
22705
  /**
22720
22706
  * @license
@@ -22728,5 +22714,5 @@ window.coreVersion = '22.8.1-rc.';
22728
22714
  * Generated bundle index. Do not edit.
22729
22715
  */
22730
22716
 
22731
- 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 };
22732
22718
  //# sourceMappingURL=datorama-core.js.map