@datorama/core 21.4.0-rc.1 → 21.4.0-rc.12

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 (40) hide show
  1. package/bundle.scss +12 -1
  2. package/bundles/datorama-core.umd.js +137 -44
  3. package/bundles/datorama-core.umd.js.map +1 -1
  4. package/bundles/datorama-core.umd.min.js +49 -49
  5. package/bundles/datorama-core.umd.min.js.map +1 -1
  6. package/datorama-core.metadata.json +1 -1
  7. package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +5 -2
  8. package/esm2015/lib/grid-v2/grid-filter/filter-validator.js +7 -14
  9. package/esm2015/lib/grid-v2/grid-filter/grid-filter.component.js +14 -5
  10. package/esm2015/lib/grid-v2/grid-filter/grid-filter.types.js +1 -1
  11. package/esm2015/lib/grid-v2/grid-store/grid.query.js +34 -9
  12. package/esm2015/lib/grid-v2/grid-store/grid.service.js +53 -11
  13. package/esm2015/lib/grid-v2/grid-store/grid.store.types.js +1 -1
  14. package/esm2015/lib/grid-v2/grid-store/public_api.js +2 -0
  15. package/esm2015/lib/grid-v2/grid-store/util.js +11 -1
  16. package/esm2015/lib/grid-v2/public_api.js +2 -2
  17. package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +5 -2
  18. package/esm5/lib/grid-v2/grid-filter/filter-validator.js +7 -14
  19. package/esm5/lib/grid-v2/grid-filter/grid-filter.component.js +13 -5
  20. package/esm5/lib/grid-v2/grid-filter/grid-filter.types.js +1 -1
  21. package/esm5/lib/grid-v2/grid-store/grid.query.js +34 -9
  22. package/esm5/lib/grid-v2/grid-store/grid.service.js +75 -20
  23. package/esm5/lib/grid-v2/grid-store/grid.store.types.js +1 -1
  24. package/esm5/lib/grid-v2/grid-store/public_api.js +2 -0
  25. package/esm5/lib/grid-v2/grid-store/util.js +11 -1
  26. package/esm5/lib/grid-v2/public_api.js +2 -2
  27. package/fesm2015/datorama-core.js +116 -36
  28. package/fesm2015/datorama-core.js.map +1 -1
  29. package/fesm5/datorama-core.js +137 -45
  30. package/fesm5/datorama-core.js.map +1 -1
  31. package/i18n/locale-en_US.json +2 -1
  32. package/lib/grid-v2/grid-controller/grid-controller.component.d.ts +3 -2
  33. package/lib/grid-v2/grid-filter/grid-filter.types.d.ts +7 -1
  34. package/lib/grid-v2/grid-store/grid.query.d.ts +3 -1
  35. package/lib/grid-v2/grid-store/grid.service.d.ts +4 -2
  36. package/lib/grid-v2/grid-store/grid.store.types.d.ts +4 -0
  37. package/lib/grid-v2/grid-store/public_api.d.ts +2 -0
  38. package/lib/grid-v2/grid-store/util.d.ts +2 -0
  39. package/lib/grid-v2/public_api.d.ts +1 -2
  40. package/package.json +1 -1
@@ -11267,6 +11267,16 @@ function getColField(colDef) {
11267
11267
  var field = colDef.field, showRowGroup = colDef.showRowGroup, pivotValueColumn = colDef.pivotValueColumn;
11268
11268
  return pivotValueColumn ? pivotValueColumn.getColId() : field || showRowGroup;
11269
11269
  }
11270
+ function tryParsePivotValue(str) {
11271
+ var value;
11272
+ try {
11273
+ value = JSON.parse(str);
11274
+ }
11275
+ catch (e) {
11276
+ // Do nothing
11277
+ }
11278
+ return value;
11279
+ }
11270
11280
 
11271
11281
  var GridQuery = /** @class */ (function (_super) {
11272
11282
  __extends(GridQuery, _super);
@@ -11366,14 +11376,23 @@ var GridQuery = /** @class */ (function (_super) {
11366
11376
  return settings;
11367
11377
  };
11368
11378
  GridQuery.prototype.getSort = function () {
11369
- var _a = this.api.grid.getSortModel().pop() || {}, sort = _a.sort, colId = _a.colId;
11370
- var column = this.api.columns.getColumn(colId);
11371
- var secondaryColumns = this.api.columns.getSecondaryColumns();
11372
- var pivotedColumn = secondaryColumns && secondaryColumns.find(function (col) { return col.getColId() === colId; });
11373
- var sortColumn = column || pivotedColumn;
11374
- var sortField = sortColumn && getColField(sortColumn.getColDef());
11375
- var pivotColIndex = secondaryColumns && pivotedColumn && secondaryColumns.indexOf(pivotedColumn);
11376
- return { colId: sortField, sort: sort, pivotColIndex: pivotColIndex };
11379
+ if (this.gridRef.gridOptions.pivotMode) {
11380
+ var _a = this.api.grid.getSortModel().pop() || {}, sort = _a.sort, colId = _a.colId;
11381
+ var column = this.api.columns.getColumn(colId);
11382
+ var pivotedColumn = this.getSecondaryColumn(colId);
11383
+ if (pivotedColumn) {
11384
+ var uniquePivotParents = uniq(this.api.columns.getSecondaryColumns().map(function (column) { return column.getParent(); }));
11385
+ var secondaryColumn = this.getSecondaryColumn(pivotedColumn.getColId());
11386
+ var pivotColIndex = uniquePivotParents.indexOf(secondaryColumn.getParent());
11387
+ return { colId: getColField(pivotedColumn.getColDef()), sort: sort, pivotColIndex: pivotColIndex };
11388
+ }
11389
+ else if (column) {
11390
+ return { colId: getColField(column.getColDef()), sort: sort };
11391
+ }
11392
+ }
11393
+ else {
11394
+ return this.api.grid.getSortModel().pop();
11395
+ }
11377
11396
  };
11378
11397
  GridQuery.prototype.selectSort = function () {
11379
11398
  return this.select(function (state) { return state.settings.sort; });
@@ -11397,6 +11416,17 @@ var GridQuery = /** @class */ (function (_super) {
11397
11416
  GridQuery.prototype.selectFilter = function () {
11398
11417
  return this.select(function (state) { return state.settings.filter; });
11399
11418
  };
11419
+ GridQuery.prototype.filterChanged = function () {
11420
+ return this.selectFilter().pipe(map$1(function (filter) {
11421
+ return Object.keys(filter).reduce(function (filters, field) {
11422
+ var datoFilter = filter[field];
11423
+ if (datoFilter) {
11424
+ filters.push({ field: field, filter: datoFilter });
11425
+ }
11426
+ return filters;
11427
+ }, []);
11428
+ }));
11429
+ };
11400
11430
  GridQuery.prototype.getSearchTerm = function () {
11401
11431
  return this.getValue().settings.searchTerm;
11402
11432
  };
@@ -11457,6 +11487,10 @@ var GridQuery = /** @class */ (function (_super) {
11457
11487
  GridQuery.prototype.selectIsSelectAllRowsEnabled = function () {
11458
11488
  return this.select(function (state) { return state.serverSidePagination.selectAllRowsEnabled; });
11459
11489
  };
11490
+ GridQuery.prototype.getSecondaryColumn = function (colId) {
11491
+ var secondaryColumns = this.api.columns.getSecondaryColumns();
11492
+ return secondaryColumns && secondaryColumns.find(function (col) { return col.getColId() === colId; });
11493
+ };
11460
11494
  GridQuery.prototype.filterCheckboxSelectionColumn = function (columns) {
11461
11495
  return columns.filter(function (column) { return !column.getUserProvidedColDef() || !column.getUserProvidedColDef().checkboxSelection; });
11462
11496
  };
@@ -11549,7 +11583,7 @@ var OperatorTypes;
11549
11583
  function validateStringCondition(rowValue, _a) {
11550
11584
  var condition = _a.condition, filterValue = _a.value;
11551
11585
  var filterTextLowerCase = filterValue ? filterValue.toLowerCase() : '';
11552
- var valueLowerCase = rowValue ? rowValue.toLowerCase() : '';
11586
+ var valueLowerCase = rowValue ? ("" + rowValue).toLowerCase() : '';
11553
11587
  switch (condition) {
11554
11588
  case DatoFilterConditions.EQUALS:
11555
11589
  return valueLowerCase === filterTextLowerCase;
@@ -11640,7 +11674,7 @@ function validateFilter(_a, activeFilters) {
11640
11674
  var currentRowPivotKeys = row.parent.childrenMapped && getRowPivotKeys(row.parent.childrenMapped);
11641
11675
  var rowValue = api.getValue(filter, row);
11642
11676
  /** If value is under a pivoted column but doesn't match the filter pivot */
11643
- if (pivotKeys && !isArrayValuesEqual(pivotKeys, currentRowPivotKeys)) {
11677
+ if (pivotKeys && pivotKeys.length > 0 && !isArrayValuesEqual(pivotKeys, currentRowPivotKeys)) {
11644
11678
  return { value: true };
11645
11679
  }
11646
11680
  if (conditional) {
@@ -11680,17 +11714,9 @@ function validateFilter(_a, activeFilters) {
11680
11714
  function getRowPivotKeys(childrenMapped, keys) {
11681
11715
  if (keys === void 0) { keys = []; }
11682
11716
  var key = Object.keys(childrenMapped)[0];
11683
- var parsedKey;
11684
- try {
11685
- parsedKey = JSON.parse(key);
11686
- }
11687
- catch (e) {
11688
- console.error("Can't parse " + key + " from JSON");
11689
- }
11690
- finally {
11691
- if (parsedKey) {
11692
- keys = getRowPivotKeys(childrenMapped[key], __spread(keys, [parsedKey.value]));
11693
- }
11717
+ var parsedKey = tryParsePivotValue(key);
11718
+ if (parsedKey) {
11719
+ keys = getRowPivotKeys(childrenMapped[key], __spread(keys, [parsedKey.value]));
11694
11720
  }
11695
11721
  return keys;
11696
11722
  }
@@ -12641,7 +12667,7 @@ var DatoGridFilterComponent = /** @class */ (function () {
12641
12667
  var columnValues = this.getColumnValues();
12642
12668
  this.columnValues = columnValues.map(function (_a) {
12643
12669
  var value = _a.value;
12644
- return value;
12670
+ return _this.pivotColumn ? value[_this.colField] : value;
12645
12671
  });
12646
12672
  this.listOptions = columnValues.map(mapToListItemWithFormatted);
12647
12673
  }
@@ -12681,6 +12707,7 @@ var DatoGridFilterComponent = /** @class */ (function () {
12681
12707
  isEmpty(filter)
12682
12708
  ? this.gridService.clearColumnFilter(this.colField)
12683
12709
  : this.gridService.setColumnFilter(column, filter);
12710
+ this.gridService.notifyFilterUpdate();
12684
12711
  }
12685
12712
  };
12686
12713
  DatoGridFilterComponent.prototype.clearFilters = function () {
@@ -12731,11 +12758,17 @@ var DatoGridFilterComponent = /** @class */ (function () {
12731
12758
  return this.columnValues.filter(function (value) { return !includedSet.has(value); });
12732
12759
  };
12733
12760
  DatoGridFilterComponent.prototype.buildFilter = function () {
12761
+ var _this = this;
12734
12762
  var _a = this.filterForm.value, byValue = _a.byValue, conditional = _a.conditional;
12735
- var filter = {};
12763
+ var filter = { colId: this.colDef.colId };
12736
12764
  filter.pivotKeys = this.pivotKeys;
12737
12765
  if (this.pivotColumn) {
12738
- filter.pivotFields = this.getPivotFields(this.pivotColumn.getParent());
12766
+ filter.pivotFieldsMap = this.getPivotFields(this.pivotColumn.getParent()).reduce(function (fieldMap, field, index) {
12767
+ if (_this.pivotKeys[index]) {
12768
+ fieldMap[field] = _this.pivotKeys[index];
12769
+ }
12770
+ return fieldMap;
12771
+ }, {});
12739
12772
  }
12740
12773
  if (this.filterSections.Conditional) {
12741
12774
  this.setConditionalFilter(filter, conditional);
@@ -13071,10 +13104,11 @@ var DatoGridFilterComponent = /** @class */ (function () {
13071
13104
  DatoGridFilterComponent.prototype.getPivotFields = function (parent, fields) {
13072
13105
  if (fields === void 0) { fields = []; }
13073
13106
  var grandParent = parent.getParent();
13107
+ var headerClass = parent.getOriginalColumnGroup().getColGroupDef().headerClass;
13074
13108
  if (grandParent) {
13075
13109
  this.getPivotFields(grandParent, fields);
13076
13110
  }
13077
- fields.push(parent.getOriginalColumnGroup().getColGroupDef().headerClass);
13111
+ headerClass && fields.push(headerClass[0]);
13078
13112
  return fields;
13079
13113
  };
13080
13114
  DatoGridFilterComponent.ctorParameters = function () { return [
@@ -14123,12 +14157,43 @@ var GridService = /** @class */ (function () {
14123
14157
  });
14124
14158
  this.notifyFilterUpdate();
14125
14159
  };
14126
- GridService.prototype.setColumnFilter = function (column, filter) {
14160
+ GridService.prototype.setColumnFilter = function (column, filter, notifyGrid) {
14161
+ if (notifyGrid === void 0) { notifyGrid = true; }
14127
14162
  this._logEvent("Grids - Filter Applied" /* GRID_FILTER_APPLIED */, {
14128
14163
  column: column.getColId(),
14129
14164
  numOfConditions: (filter.conditional && filter.conditional.conditions.length) || 0,
14130
14165
  byValue: !!filter.byValue ? 'Yes' : 'No'
14131
14166
  });
14167
+ this.updateFilter(column, filter);
14168
+ if (notifyGrid) {
14169
+ this.notifyFilterUpdate();
14170
+ }
14171
+ };
14172
+ GridService.prototype.setGridFilters = function (filters) {
14173
+ var e_2, _a;
14174
+ try {
14175
+ for (var filters_1 = __values(filters), filters_1_1 = filters_1.next(); !filters_1_1.done; filters_1_1 = filters_1.next()) {
14176
+ var filter = filters_1_1.value.filter;
14177
+ var column = this.api.columns.getColumn(filter.colId);
14178
+ if (column) {
14179
+ this.setColumnFilter(column, filter);
14180
+ }
14181
+ else {
14182
+ var pivotColumn = this.gridQuery.getSecondaryColumn(filter.colId);
14183
+ this.setColumnFilter(pivotColumn, filter);
14184
+ }
14185
+ }
14186
+ }
14187
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
14188
+ finally {
14189
+ try {
14190
+ if (filters_1_1 && !filters_1_1.done && (_a = filters_1.return)) _a.call(filters_1);
14191
+ }
14192
+ finally { if (e_2) throw e_2.error; }
14193
+ }
14194
+ this.notifyFilterUpdate();
14195
+ };
14196
+ GridService.prototype.updateFilter = function (column, filter) {
14132
14197
  var colField = getColField(column.getColDef());
14133
14198
  this.store.update(function (state) {
14134
14199
  var _a;
@@ -14136,7 +14201,6 @@ var GridService = /** @class */ (function () {
14136
14201
  settings: __assign(__assign({}, state.settings), { filter: __assign(__assign({}, state.settings.filter), (_a = {}, _a[colField] = filter, _a)) })
14137
14202
  };
14138
14203
  });
14139
- this.notifyFilterUpdate();
14140
14204
  };
14141
14205
  GridService.prototype.setSearchTerm = function (searchTerm) {
14142
14206
  this.store.update(function (state) {
@@ -14429,7 +14493,7 @@ var GridService = /** @class */ (function () {
14429
14493
  this.api.grid.onFilterChanged();
14430
14494
  };
14431
14495
  GridService.prototype.buildServerRequestFilters = function (filter) {
14432
- var e_2, _a;
14496
+ var e_3, _a;
14433
14497
  var columnsFilters = {};
14434
14498
  try {
14435
14499
  for (var _b = __values(Object.entries(filter)), _c = _b.next(); !_c.done; _c = _b.next()) {
@@ -14465,12 +14529,12 @@ var GridService = /** @class */ (function () {
14465
14529
  }
14466
14530
  }
14467
14531
  }
14468
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
14532
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
14469
14533
  finally {
14470
14534
  try {
14471
14535
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
14472
14536
  }
14473
- finally { if (e_2) throw e_2.error; }
14537
+ finally { if (e_3) throw e_3.error; }
14474
14538
  }
14475
14539
  return columnsFilters;
14476
14540
  };
@@ -14523,7 +14587,7 @@ var GridService = /** @class */ (function () {
14523
14587
  return { operator: OperatorTypes.AND, filters: [columnFilter, searchFilter] };
14524
14588
  };
14525
14589
  GridService.prototype.buildServerColumnFilters_v2_1 = function (filter) {
14526
- var e_3, _a;
14590
+ var e_4, _a;
14527
14591
  var columnFilters = [];
14528
14592
  try {
14529
14593
  for (var _b = __values(Object.entries(filter)), _c = _b.next(); !_c.done; _c = _b.next()) {
@@ -14548,12 +14612,12 @@ var GridService = /** @class */ (function () {
14548
14612
  columnFilters.push(columnFilter);
14549
14613
  }
14550
14614
  }
14551
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
14615
+ catch (e_4_1) { e_4 = { error: e_4_1 }; }
14552
14616
  finally {
14553
14617
  try {
14554
14618
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
14555
14619
  }
14556
- finally { if (e_3) throw e_3.error; }
14620
+ finally { if (e_4) throw e_4.error; }
14557
14621
  }
14558
14622
  return columnFilters;
14559
14623
  };
@@ -14649,9 +14713,10 @@ var GridService = /** @class */ (function () {
14649
14713
  * @private
14650
14714
  */
14651
14715
  GridService.prototype.initPivotSecondaryColsProcess = function (_a) {
14716
+ var _this = this;
14652
14717
  var gridOptions = _a.gridOptions;
14653
14718
  gridOptions.processSecondaryColDef = function (colDef) {
14654
- var api = colDef.headerComponentParams.gridQuery.api;
14719
+ var api = colDef.headerComponentParams && colDef.headerComponentParams.gridQuery.api;
14655
14720
  if (api) {
14656
14721
  var valueColumns = colDef.headerComponentParams.gridQuery.api.columns.getValueColumns();
14657
14722
  var originalColDef = valueColumns
@@ -14668,38 +14733,62 @@ var GridService = /** @class */ (function () {
14668
14733
  }
14669
14734
  }
14670
14735
  if (colDef.pivotKeys) {
14671
- colDef.pivotKeys = colDef.pivotKeys.map(function (key) { return JSON.parse(key).value; });
14736
+ colDef.pivotKeys = colDef.pivotKeys.map(function (key) {
14737
+ var parsedKey = tryParsePivotValue(key);
14738
+ return (parsedKey && parsedKey.value) || '';
14739
+ });
14672
14740
  }
14673
14741
  };
14674
14742
  gridOptions.processSecondaryColGroupDef = function (colGroupDef) {
14675
14743
  if (colGroupDef.headerName) {
14676
- var _a = JSON.parse(colGroupDef.headerName), field = _a.field, value = _a.value;
14677
- colGroupDef.headerClass = field;
14678
- colGroupDef.headerName = value;
14744
+ var parsedValue = tryParsePivotValue(colGroupDef.headerName);
14745
+ if (parsedValue) {
14746
+ var field = parsedValue.field, value = parsedValue.value;
14747
+ colGroupDef.headerClass = [field];
14748
+ colGroupDef.headerName = value;
14749
+ if (colGroupDef.children && colGroupDef.children.length > 1) {
14750
+ colGroupDef.headerClass.push('group-pivot-cell');
14751
+ }
14752
+ }
14753
+ }
14754
+ else if (colGroupDef.children) {
14755
+ var _a = __read(colGroupDef.children, 1), colChild = _a[0];
14756
+ var pivotTotalColumnIds = colChild && colChild.pivotTotalColumnIds;
14757
+ if (pivotTotalColumnIds && pivotTotalColumnIds.length > 0) {
14758
+ colGroupDef.headerClass = ['total-pivot-cell'];
14759
+ colGroupDef.headerName = _this.translate.transform('core.total');
14760
+ }
14761
+ }
14762
+ else {
14763
+ colGroupDef.headerClass = ['empty-pivot-header'];
14679
14764
  }
14680
14765
  if (colGroupDef.pivotKeys) {
14681
- colGroupDef.pivotKeys = colGroupDef.pivotKeys.map(function (key) { return JSON.parse(key).value; });
14766
+ colGroupDef.pivotKeys = colGroupDef.pivotKeys.map(function (key) {
14767
+ var parsedKey = tryParsePivotValue(key);
14768
+ return (parsedKey && parsedKey.value) || '';
14769
+ });
14682
14770
  }
14683
14771
  };
14684
14772
  };
14685
14773
  GridService.prototype.setPivotModeRows = function (data) {
14686
14774
  var pivotColumns = this.gridQuery.getAllPivotColumns();
14687
14775
  var convertedData = data.map(function (currentValue, index) {
14688
- var e_4, _a;
14776
+ var e_5, _a;
14689
14777
  var mappedValues = __assign({}, currentValue);
14690
14778
  try {
14691
14779
  for (var pivotColumns_1 = __values(pivotColumns), pivotColumns_1_1 = pivotColumns_1.next(); !pivotColumns_1_1.done; pivotColumns_1_1 = pivotColumns_1.next()) {
14692
14780
  var col = pivotColumns_1_1.value;
14693
14781
  var field = col.getColDef().field;
14694
- mappedValues[field] = JSON.stringify({ field: field, value: currentValue[field] });
14782
+ var pivotValue = { field: field, value: currentValue[field] };
14783
+ mappedValues[field] = JSON.stringify(pivotValue);
14695
14784
  }
14696
14785
  }
14697
- catch (e_4_1) { e_4 = { error: e_4_1 }; }
14786
+ catch (e_5_1) { e_5 = { error: e_5_1 }; }
14698
14787
  finally {
14699
14788
  try {
14700
14789
  if (pivotColumns_1_1 && !pivotColumns_1_1.done && (_a = pivotColumns_1.return)) _a.call(pivotColumns_1);
14701
14790
  }
14702
- finally { if (e_4) throw e_4.error; }
14791
+ finally { if (e_5) throw e_5.error; }
14703
14792
  }
14704
14793
  return mappedValues;
14705
14794
  });
@@ -15218,8 +15307,11 @@ var DatoGridControllerComponent = /** @class */ (function () {
15218
15307
  DatoGridControllerComponent.prototype.setGridRows = function (data) {
15219
15308
  this.gridService.setRows(data);
15220
15309
  };
15310
+ DatoGridControllerComponent.prototype.setGridFilters = function (filters) {
15311
+ this.gridService.setGridFilters(filters);
15312
+ };
15221
15313
  DatoGridControllerComponent.prototype.onFilterChanged = function () {
15222
- return this.gridQuery.selectFilter();
15314
+ return this.gridQuery.filterChanged();
15223
15315
  };
15224
15316
  DatoGridControllerComponent.prototype.onSortChanged = function () {
15225
15317
  return this.gridQuery.selectSort();
@@ -25063,5 +25155,5 @@ window.coreVersion = '21.4.0-rc.';
25063
25155
  * Generated bundle index. Do not edit.
25064
25156
  */
25065
25157
 
25066
- 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, 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 };
25158
+ 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 };
25067
25159
  //# sourceMappingURL=datorama-core.js.map