@datorama/core 22.9.9-rc → 22.9.9-rc.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 (49) hide show
  1. package/bundle.scss +6 -6
  2. package/bundles/datorama-core.umd.js +137 -81
  3. package/bundles/datorama-core.umd.js.map +1 -1
  4. package/bundles/datorama-core.umd.min.js +38 -38
  5. package/bundles/datorama-core.umd.min.js.map +1 -1
  6. package/datorama-core.d.ts +1 -0
  7. package/datorama-core.metadata.json +1 -1
  8. package/esm2015/datorama-core.js +2 -1
  9. package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +4 -2
  10. package/esm2015/lib/grid-v2/grid/grid-v2.types.js +9 -1
  11. package/esm2015/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +19 -12
  12. package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +30 -13
  13. package/esm2015/lib/grid-v2/grid-settings.js +2 -2
  14. package/esm2015/lib/grid-v2/grid-store/grid.service.js +3 -2
  15. package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +7 -1
  16. package/esm2015/lib/loaders/page-loader/page-loader.component.js +7 -2
  17. package/esm2015/lib/rich-text/rich-text.directive.js +20 -38
  18. package/esm2015/lib/rich-text/rich-text.service.js +50 -0
  19. package/esm2015/lib/select/select.component.js +5 -10
  20. package/esm2015/lib/select/trigger-single/trigger-single.component.js +2 -7
  21. package/esm2015/lib/version.js +2 -2
  22. package/esm5/datorama-core.js +2 -1
  23. package/esm5/lib/breadcrumbs/breadcrumbs.component.js +4 -2
  24. package/esm5/lib/grid-v2/grid/grid-v2.types.js +9 -1
  25. package/esm5/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +20 -12
  26. package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +29 -15
  27. package/esm5/lib/grid-v2/grid-settings.js +2 -2
  28. package/esm5/lib/grid-v2/grid-store/grid.service.js +3 -2
  29. package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +13 -1
  30. package/esm5/lib/loaders/page-loader/page-loader.component.js +7 -2
  31. package/esm5/lib/rich-text/rich-text.directive.js +21 -39
  32. package/esm5/lib/rich-text/rich-text.service.js +51 -0
  33. package/esm5/lib/select/select.component.js +5 -10
  34. package/esm5/lib/select/trigger-single/trigger-single.component.js +2 -7
  35. package/esm5/lib/version.js +2 -2
  36. package/fesm2015/datorama-core.js +129 -79
  37. package/fesm2015/datorama-core.js.map +1 -1
  38. package/fesm5/datorama-core.js +137 -82
  39. package/fesm5/datorama-core.js.map +1 -1
  40. package/lib/grid-v2/grid/grid-v2.types.d.ts +12 -3
  41. package/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.d.ts +3 -5
  42. package/lib/grid-v2/grid-controller/grid-controller.component.d.ts +1 -0
  43. package/lib/grid-v2/grid-settings.d.ts +2 -2
  44. package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +2 -0
  45. package/lib/loaders/page-loader/page-loader.component.d.ts +1 -0
  46. package/lib/rich-text/rich-text.directive.d.ts +4 -6
  47. package/lib/rich-text/rich-text.service.d.ts +10 -0
  48. package/lib/select/trigger-single/trigger-single.component.d.ts +1 -2
  49. package/package.json +2 -2
@@ -8549,9 +8549,8 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8549
8549
  DatoSelectComponent.prototype.writeValue = function (activeOptions) {
8550
8550
  this._model = activeOptions ? coerceArray$1(activeOptions) : [];
8551
8551
  if (this.options) {
8552
- var overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
8553
8552
  this.markAsActive(this._model, { deselectAll: true });
8554
- overTheLimit && this.updateDisabledState();
8553
+ this.limitSelectedTo && this.updateDisabledState();
8555
8554
  }
8556
8555
  /** For later updates */
8557
8556
  this.cdr.markForCheck();
@@ -8679,7 +8678,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8679
8678
  };
8680
8679
  DatoSelectComponent.prototype.removeOption = function (option) {
8681
8680
  var _this = this;
8682
- var updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
8683
8681
  this._model = this._model.filter(function (current) { return current[_this.idKey] !== option[_this.idKey]; });
8684
8682
  var optionToRemove = this.options.find(function (datoOption) { return datoOption.option && datoOption.option[_this.idKey] === option[_this.idKey]; });
8685
8683
  /**
@@ -8689,7 +8687,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
8689
8687
  if (optionToRemove) {
8690
8688
  optionToRemove.active = false;
8691
8689
  }
8692
- updateDisabled && this.updateDisabledState();
8690
+ this.limitSelectedTo && this.updateDisabledState();
8693
8691
  this.onChange(this._model);
8694
8692
  this.cdr.markForCheck();
8695
8693
  this.asyncUpdateDropdownPosition();
@@ -9037,9 +9035,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
9037
9035
  if (!datoOption) {
9038
9036
  return;
9039
9037
  }
9040
- var modelLength = this._model.length;
9041
- var updateDisabled = this.limitSelectedTo &&
9042
- (modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
9043
9038
  datoOption.active = !datoOption.active;
9044
9039
  var rawOption = datoOption.option;
9045
9040
  if (datoOption.active) {
@@ -9048,7 +9043,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
9048
9043
  else {
9049
9044
  this._model = this._model.filter(function (current) { return current[_this.idKey] !== rawOption[_this.idKey]; });
9050
9045
  }
9051
- updateDisabled && this.updateDisabledState();
9046
+ this.limitSelectedTo && this.updateDisabledState();
9052
9047
  this.onChange(this._model);
9053
9048
  this.cdr.markForCheck();
9054
9049
  this.asyncUpdateDropdownPosition();
@@ -9287,7 +9282,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
9287
9282
  DatoSelectComponent = __decorate([
9288
9283
  Component({
9289
9284
  selector: 'dato-select',
9290
- template: "<section class=\"dato-select__trigger\" [class.dato-select--naked]=\"_naked\" [class.dato-select--disabled]=\"_disabled\">\n\n <div class=\"dato-select__single\" *ngIf=\"isSingle\" [ngClass]=\"_dropdownClass\">\n <dato-input [class.force-hide]=\"(!open && isCombo) || !isCombo\" [placeholder]=\"searchPlaceholder | translate\"\n (keyup)=\"keyup($event)\" [isFocused]=\"_focus\" [isLoading]=\"isLoading\" [formControl]=\"searchControl\" type=\"search\">\n </dato-input>\n\n <dato-trigger-single [isLoading]=\"isLoading\" [loadingTemplate]=\"loadingTemplate\" [active]=\"active\" datoErrorValidationBorderAnchor tabindex=\"0\" [labelKey]=\"labelKey\"\n [context]=\"_model[0]\" [class.force-hide]=\"open && isCombo\" [placeholder]=\"placeholder | translate\"\n class=\"ontop-overlay\" (keydown)=\"preventBodyScroll($event)\" (keyup)=\"keyup($event)\" (click)=\"openDropdown()\">\n </dato-trigger-single>\n </div>\n\n <dato-trigger-multi [loadingTemplate]=\"loadingTemplate\" [options]=\"_model\" datoErrorValidationBorderAnchor [control]=\"searchControl\"\n [placeholder]=\"placeholder | translate\" [labelKey]=\"labelKey\" [idKey]=\"idKey\" (keyup)=\"keyup($event)\"\n [isLoading]=\"isLoading\" [keepFocus]=\"keepFocus\" [limitTo]=\"limitTo\" [clickOutside]=\"_clickOutside\" [isSortable]=\"isSortable\"\n [selectAllChipTxt]=\"selectAllChipTxt\"\n [showSelectAllChip]=\"selectAllChipTxt && showSelectAllChip\"\n (unselectAll)=\"checkAll(false)\"\n (removeOption)=\"removeOption($event)\" (reorderOptions)=\"reorderOptions($event)\" *ngIf=\"isMulti\"\n (click)=\"openDropdown($event)\"></dato-trigger-multi>\n\n</section>\n\n<ng-template #dropdown>\n <section class=\"dato-select__dropdown-container\" tabindex=\"0\" (keyup)=\"keyup($event)\">\n\n <!-- HEADER -->\n\n <header class=\"dato-select__header dato-select__option dato-select__option--simple\" data-is-floating\n *ngIf=\"isMulti && allowSelectAll\" [class.force-hide]=\"_showEmptyResults\" [class.ml-10]=\"containsGroups\">\n <dato-checkbox [checked]=\"_isAllChecked\" (check)=\"checkAll($event)\"\n [indeterminatelyChecked]=\"_isIndeterminatelyChecked\">\n {{'core.select-all' | translate}}<span class=\"primary-300-color note-italic ml-5\">{{_count}}</span>\n </dato-checkbox>\n </header>\n\n <!-- END HEADER -->\n\n <!-- DROPDOWN -->\n\n <div class=\"dato-select__dropdown\">\n\n <ng-content></ng-content>\n\n <dato-select-empty [show]=\"_showEmptyResults\">{{_noItemsLabel}}</dato-select-empty>\n <div class=\"dato-select__option dato-select-infinite-spinner\" data-is-floating *ngIf=\"infiniteScrollLoading\">\n <span class=\"dato-input__spinner\"></span>\n </div>\n\n </div>\n\n <!-- END DROPDOWN -->\n\n\n <!-- FOOTER -->\n\n <footer class=\"dato-select__footer d-flex\" [class.with-actions]=\"_withActions\">\n\n <ng-content select=\"[datoSelectFooter]\"></ng-content>\n\n <ng-container *ngIf=\"_withActions\">\n <dato-link class=\"mr-20\" datoType=\"secondary\" (click)=\"close()\">Cancel</dato-link>\n <dato-button datoSize=\"sm\" (click)=\"save.emit(); close();\">Save</dato-button>\n </ng-container>\n\n </footer>\n\n <!-- END FOOTER -->\n\n </section>\n\n</ng-template>\n",
9285
+ template: "<section class=\"dato-select__trigger\" [class.dato-select--naked]=\"_naked\" [class.dato-select--disabled]=\"_disabled\">\n\n <div class=\"dato-select__single\" *ngIf=\"isSingle\" [ngClass]=\"_dropdownClass\">\n <dato-input [class.force-hide]=\"(!open && isCombo) || !isCombo\" [placeholder]=\"searchPlaceholder | translate\"\n (keyup)=\"keyup($event)\" [isFocused]=\"_focus\" [isLoading]=\"isLoading\" [formControl]=\"searchControl\" type=\"search\">\n </dato-input>\n\n <dato-trigger-single [loadingTemplate]=\"loadingTemplate\" [active]=\"active\" datoErrorValidationBorderAnchor tabindex=\"0\" [labelKey]=\"labelKey\"\n [context]=\"_model[0]\" [class.force-hide]=\"open && isCombo\" [placeholder]=\"placeholder | translate\"\n class=\"ontop-overlay\" (keydown)=\"preventBodyScroll($event)\" (keyup)=\"keyup($event)\" (click)=\"openDropdown()\">\n </dato-trigger-single>\n </div>\n\n <dato-trigger-multi [loadingTemplate]=\"loadingTemplate\" [options]=\"_model\" datoErrorValidationBorderAnchor [control]=\"searchControl\"\n [placeholder]=\"placeholder | translate\" [labelKey]=\"labelKey\" [idKey]=\"idKey\" (keyup)=\"keyup($event)\"\n [isLoading]=\"isLoading\" [keepFocus]=\"keepFocus\" [limitTo]=\"limitTo\" [clickOutside]=\"_clickOutside\" [isSortable]=\"isSortable\"\n [selectAllChipTxt]=\"selectAllChipTxt\"\n [showSelectAllChip]=\"selectAllChipTxt && showSelectAllChip\"\n (unselectAll)=\"checkAll(false)\"\n (removeOption)=\"removeOption($event)\" (reorderOptions)=\"reorderOptions($event)\" *ngIf=\"isMulti\"\n (click)=\"openDropdown($event)\"></dato-trigger-multi>\n\n</section>\n\n<ng-template #dropdown>\n <section class=\"dato-select__dropdown-container\" tabindex=\"0\" (keyup)=\"keyup($event)\">\n\n <!-- HEADER -->\n\n <header class=\"dato-select__header dato-select__option dato-select__option--simple\" data-is-floating\n *ngIf=\"isMulti && allowSelectAll\" [class.force-hide]=\"_showEmptyResults\" [class.ml-10]=\"containsGroups\">\n <dato-checkbox [checked]=\"_isAllChecked\" (check)=\"checkAll($event)\"\n [indeterminatelyChecked]=\"_isIndeterminatelyChecked\">\n {{'core.select-all' | translate}}<span class=\"primary-300-color note-italic ml-5\">{{_count}}</span>\n </dato-checkbox>\n </header>\n\n <!-- END HEADER -->\n\n <!-- DROPDOWN -->\n\n <div class=\"dato-select__dropdown\">\n\n <ng-content></ng-content>\n\n <dato-select-empty [show]=\"_showEmptyResults\">{{_noItemsLabel}}</dato-select-empty>\n <div class=\"dato-select__option dato-select-infinite-spinner\" data-is-floating *ngIf=\"infiniteScrollLoading\">\n <span class=\"dato-input__spinner\"></span>\n </div>\n\n </div>\n\n <!-- END DROPDOWN -->\n\n\n <!-- FOOTER -->\n\n <footer class=\"dato-select__footer d-flex\" [class.with-actions]=\"_withActions\">\n\n <ng-content select=\"[datoSelectFooter]\"></ng-content>\n\n <ng-container *ngIf=\"_withActions\">\n <dato-link class=\"mr-20\" datoType=\"secondary\" (click)=\"close()\">Cancel</dato-link>\n <dato-button datoSize=\"sm\" (click)=\"save.emit(); close();\">Save</dato-button>\n </ng-container>\n\n </footer>\n\n <!-- END FOOTER -->\n\n </section>\n\n</ng-template>\n",
9291
9286
  preserveWhitespaces: false,
9292
9287
  providers: [valueAccessor$3, DatoOverlay],
9293
9288
  encapsulation: ViewEncapsulation.None,
@@ -9315,7 +9310,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
9315
9310
  var DatoTriggerSingle = /** @class */ (function () {
9316
9311
  function DatoTriggerSingle(cdr) {
9317
9312
  this.cdr = cdr;
9318
- this.isLoading = false;
9319
9313
  this._placeholder = '';
9320
9314
  }
9321
9315
  Object.defineProperty(DatoTriggerSingle.prototype, "placeholder", {
@@ -9354,10 +9348,6 @@ var DatoTriggerSingle = /** @class */ (function () {
9354
9348
  DatoTriggerSingle.ctorParameters = function () { return [
9355
9349
  { type: ChangeDetectorRef }
9356
9350
  ]; };
9357
- __decorate([
9358
- Input(),
9359
- __metadata("design:type", Object)
9360
- ], DatoTriggerSingle.prototype, "isLoading", void 0);
9361
9351
  __decorate([
9362
9352
  Input(),
9363
9353
  __metadata("design:type", TemplateRef)
@@ -9383,7 +9373,7 @@ var DatoTriggerSingle = /** @class */ (function () {
9383
9373
  DatoTriggerSingle = __decorate([
9384
9374
  Component({
9385
9375
  selector: 'dato-trigger-single',
9386
- template: "<ng-template *ngIf=\"isLoading\" [ngTemplateOutlet]=\"loadingTemplate\"></ng-template>\n<ng-container\n *ngIf=\"active && !hidePlaceholder\"\n [ngTemplateOutlet]=\"active.tpl\"\n [ngTemplateOutletContext]=\"_model\">\n</ng-container>\n<ng-container *ngIf=\"!active\">{{getLabel | translate}}</ng-container>\n<span class=\"dato-select__placeholder\" *ngIf=\"hidePlaceholder\">{{_placeholder}}</span>\n<dato-icon datoIcon=\"arrow-down\" datoSize=\"sm\" class=\"dato-select__single__arrow\"></dato-icon>\n",
9376
+ template: "<ng-template *ngIf=\"loadingTemplate\" [ngTemplateOutlet]=\"loadingTemplate\"></ng-template>\n<ng-container\n *ngIf=\"active && !hidePlaceholder\"\n [ngTemplateOutlet]=\"active.tpl\"\n [ngTemplateOutletContext]=\"_model\">\n</ng-container>\n<ng-container *ngIf=\"!active\">{{getLabel | translate}}</ng-container>\n<span class=\"dato-select__placeholder\" *ngIf=\"hidePlaceholder\">{{_placeholder}}</span>\n<dato-icon datoIcon=\"arrow-down\" datoSize=\"sm\" class=\"dato-select__single__arrow\"></dato-icon>\n",
9387
9377
  changeDetection: ChangeDetectionStrategy.OnPush,
9388
9378
  styles: [":host{display:block;position:relative;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host dato-icon{position:absolute;top:50%;transform:translateY(-50%);right:10px}"]
9389
9379
  }),
@@ -11858,7 +11848,7 @@ function toolbarActionToContextAction(params) {
11858
11848
  return contextActions;
11859
11849
  }
11860
11850
 
11861
- var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
11851
+ var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_AP');
11862
11852
 
11863
11853
  var defaultEditableColumnRenderer = function (params) {
11864
11854
  return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
@@ -11897,6 +11887,14 @@ var GridRowSelectionType;
11897
11887
  GridRowSelectionType["SINGLE"] = "single";
11898
11888
  GridRowSelectionType["MULTIPLE"] = "multiple";
11899
11889
  })(GridRowSelectionType || (GridRowSelectionType = {}));
11890
+ var GridStatusColumnTypes;
11891
+ (function (GridStatusColumnTypes) {
11892
+ GridStatusColumnTypes["SUCCESS"] = "SUCCESS";
11893
+ GridStatusColumnTypes["FAILURE"] = "FAILURE";
11894
+ GridStatusColumnTypes["IN_PROGRESS"] = "IN_PROGRESS";
11895
+ GridStatusColumnTypes["PENDING"] = "PENDING";
11896
+ GridStatusColumnTypes["WAITING"] = "WAITING";
11897
+ })(GridStatusColumnTypes || (GridStatusColumnTypes = {}));
11900
11898
 
11901
11899
  /**
11902
11900
  * @license
@@ -14445,7 +14443,8 @@ var GridService = /** @class */ (function () {
14445
14443
  this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
14446
14444
  };
14447
14445
  GridService.prototype.saveSettingsToServer = function (settings) {
14448
- this.storageAPI.set(this.gridName, settings);
14446
+ var isGlobal = this.gridQuery.getGridOptions().isGlobalSettings;
14447
+ this.storageAPI.set(this.gridName, settings, isGlobal);
14449
14448
  };
14450
14449
  /**
14451
14450
  * @internal used to log grid events to the platform's logging service
@@ -15433,7 +15432,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
15433
15432
  });
15434
15433
  DatoGridControllerComponent.prototype.ngOnDestroy = function () {
15435
15434
  this.contentInit.complete();
15436
- this.tooltip && this.clearTooltip();
15435
+ this.clearTooltip();
15437
15436
  this.rowHoverComponent && this.rowHoverComponent.destroy();
15438
15437
  this.rowHoverComponent = null;
15439
15438
  };
@@ -15450,7 +15449,10 @@ var DatoGridControllerComponent = /** @class */ (function () {
15450
15449
  .pipe(switchMap(function () {
15451
15450
  _this.gridOptions = _this.normalizeOptions();
15452
15451
  agGrid.gridOptions = _this.gridOptions;
15453
- var settingsLoader = _this.gridOptions.saveSettings === false ? of(null) : _this.storageAPI.get(_this.gridOptions.gridName);
15452
+ var isGlobal = _this.gridOptions.isGlobalSettings;
15453
+ var settingsLoader = _this.gridOptions.saveSettings === false
15454
+ ? of(null)
15455
+ : _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
15454
15456
  return combineLatest([agGrid.gridReady, settingsLoader]);
15455
15457
  }), untilDestroyed(this))
15456
15458
  .subscribe(function (_a) {
@@ -15660,40 +15662,51 @@ var DatoGridControllerComponent = /** @class */ (function () {
15660
15662
  });
15661
15663
  this.addOnHoverElement();
15662
15664
  }
15663
- agGrid.cellMouseOver
15664
- .pipe(filter$1(function (_a) {
15665
- var node = _a.node, column = _a.column;
15666
- return lastHoveredCell !== node.id + "-" + column.getColId();
15667
- }), untilDestroyed(this))
15668
- .subscribe(function (event) {
15669
- lastHoveredCell = event.node.id + "-" + event.column.getColId();
15665
+ agGrid.cellMouseOver.pipe(untilDestroyed(this)).subscribe(function (event) {
15666
+ var node = event.node, column = event.column;
15667
+ if (lastHoveredCell === node.id + "-" + column.getColId()) {
15668
+ clearTimeout(_this.cellMouseOutTimer);
15669
+ return;
15670
+ }
15671
+ lastHoveredCell = node.id + "-" + column.getColId();
15670
15672
  _this.showTooltip(event);
15671
15673
  var row = event.event.target.parentElement;
15672
- if (onHoverEnabled && (event.node.group === false || isNil(event.node.group)) && _this.lastHoveredRow !== row) {
15674
+ if (onHoverEnabled && (node.group === false || isNil(node.group)) && _this.lastHoveredRow !== row) {
15673
15675
  var previousNode = _this.lastHoveredRow;
15674
15676
  _this.lastHoveredRow = row;
15675
15677
  _this.toggleRowHoverClass([previousNode, _this.lastHoveredRow]);
15676
15678
  _this.setOnHoverState(true, event);
15677
15679
  }
15678
15680
  });
15679
- var onTooltipOut = merge$1(fromEvent(bodyViewport, 'scroll'), fromEvent(this.agGridEl, 'mouseleave'), agGrid.cellMouseOut);
15680
- onTooltipOut
15681
+ var onTooltipOut = merge$1(fromEvent(bodyViewport, 'scroll'), fromEvent(this.agGridEl, 'mouseleave'));
15682
+ onTooltipOut.pipe(untilDestroyed(this)).subscribe(function () {
15683
+ lastHoveredCell = null;
15684
+ _this.clearTooltip();
15685
+ });
15686
+ agGrid.cellMouseOut
15681
15687
  .pipe(filter$1(function () { return !isNil(_this.tooltip); }), untilDestroyed(this))
15682
15688
  .subscribe(function () {
15683
- _this.clearTooltip();
15689
+ _this.cellMouseOutTimer = window.setTimeout(function () { return _this.clearTooltip(); });
15684
15690
  });
15685
15691
  };
15686
15692
  /**
15687
15693
  * Dispose the tooltip
15688
15694
  */
15689
15695
  DatoGridControllerComponent.prototype.clearTooltip = function () {
15690
- this.tooltip.dispose();
15696
+ this.tooltip && this.tooltip.dispose();
15691
15697
  this.tooltip = null;
15692
15698
  };
15693
15699
  DatoGridControllerComponent.prototype.showTooltip = function (event) {
15694
15700
  var cell = event.event.target;
15701
+ if (cell.tagName === 'SPAN' && cell.scrollWidth === 0) {
15702
+ cell = cell.parentElement;
15703
+ }
15704
+ if (event.colDef.editable) {
15705
+ cell = cell.querySelector('.value-wrapper') || cell;
15706
+ }
15695
15707
  var textOverflow = cell.offsetWidth < cell.scrollWidth;
15696
15708
  if (textOverflow) {
15709
+ clearTimeout(this.cellMouseOutTimer);
15697
15710
  var params = { cell: cell, value: cell.innerText };
15698
15711
  isNil(this.tooltip) ? this.createAndShowTooltip(params) : this.updateTooltip(params);
15699
15712
  }
@@ -16732,6 +16745,18 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
16732
16745
  this.registerGroupListeners();
16733
16746
  this.subscribeRowsSelectionData();
16734
16747
  };
16748
+ DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
16749
+ var _this = this;
16750
+ return this.gridController.gridQuery.waitForGrid(function () {
16751
+ return _this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(_this));
16752
+ });
16753
+ };
16754
+ DatoGridV2ToolbarComponent.prototype.getRowDataUpdatedEvent = function () {
16755
+ var _this = this;
16756
+ return this.gridController.gridQuery.waitForGrid(function () {
16757
+ return _this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(_this));
16758
+ });
16759
+ };
16735
16760
  DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
16736
16761
  if (isFunction(action.onClick)) {
16737
16762
  var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
@@ -19346,6 +19371,7 @@ var DatoPageLoaderComponent = /** @class */ (function () {
19346
19371
  function DatoPageLoaderComponent() {
19347
19372
  this.msg = '';
19348
19373
  this.salesforce = false;
19374
+ this.size = 'medium';
19349
19375
  this.circleIds = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'];
19350
19376
  }
19351
19377
  __decorate([
@@ -19356,10 +19382,14 @@ var DatoPageLoaderComponent = /** @class */ (function () {
19356
19382
  Input(),
19357
19383
  __metadata("design:type", Object)
19358
19384
  ], DatoPageLoaderComponent.prototype, "salesforce", void 0);
19385
+ __decorate([
19386
+ Input(),
19387
+ __metadata("design:type", String)
19388
+ ], DatoPageLoaderComponent.prototype, "size", void 0);
19359
19389
  DatoPageLoaderComponent = __decorate([
19360
19390
  Component({
19361
19391
  selector: 'dato-page-loader',
19362
- template: "<div class=\"d-flex-column align-center\">\n <ng-container *ngIf=\"salesforce; else datoramaPageLoader\">\n <div class=\"slds-spinner_container\">\n <div role=\"status\" class=\"slds-spinner slds-spinner_medium slds-spinner_brand\">\n <div class=\"slds-spinner__dot-a\"></div>\n <div class=\"slds-spinner__dot-b\"></div>\n </div>\n </div>\n </ng-container>\n <ng-template #datoramaPageLoader>\n <div class=\"animation-container d-flex align-center d-flex-wrap\">\n <div class=\"circle d-flex align-center\" *ngFor=\"let id of circleIds\" [ngClass]=\"'circle-' + id\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\">\n <circle cx=\"6\" cy=\"6\" r=\"5\" />\n </svg>\n </div>\n </div>\n </ng-template>\n <span class=\"loading-message simple-bold\">{{msg | translate}}</span>\n</div>",
19392
+ template: "<div class=\"d-flex-column align-center\">\n <ng-container *ngIf=\"salesforce; else datoramaPageLoader\">\n <div class=\"slds-spinner_container\">\n <div role=\"status\" class=\"slds-spinner slds-spinner_brand\" [ngClass]=\"'slds-spinner_' + size\">\n <div class=\"slds-spinner__dot-a\"></div>\n <div class=\"slds-spinner__dot-b\"></div>\n </div>\n </div>\n </ng-container>\n <ng-template #datoramaPageLoader>\n <div class=\"animation-container d-flex align-center d-flex-wrap\">\n <div class=\"circle d-flex align-center\" *ngFor=\"let id of circleIds\" [ngClass]=\"'circle-' + id\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\">\n <circle cx=\"6\" cy=\"6\" r=\"5\" />\n </svg>\n </div>\n </div>\n </ng-template>\n <span class=\"loading-message simple-bold\">{{msg | translate}}</span>\n</div>\n",
19363
19393
  changeDetection: ChangeDetectionStrategy.OnPush
19364
19394
  })
19365
19395
  ], DatoPageLoaderComponent);
@@ -20337,8 +20367,15 @@ var DatoGridV2ToolbarMoreMenuComponent = /** @class */ (function () {
20337
20367
 
20338
20368
  var DatoGridStatusCellComponent = /** @class */ (function () {
20339
20369
  function DatoGridStatusCellComponent(cdr) {
20370
+ var _a;
20340
20371
  this.cdr = cdr;
20341
- this.DEFAULT_MIN_WIDTH = 100;
20372
+ this.defaultConfigByStatus = (_a = {},
20373
+ _a[GridStatusColumnTypes.SUCCESS] = { icon: 'success-line', iconCssClass: 'green-400-color' },
20374
+ _a[GridStatusColumnTypes.FAILURE] = { icon: 'failed-line', iconCssClass: 'red-400-color' },
20375
+ _a[GridStatusColumnTypes.PENDING] = { icon: 'time', iconCssClass: 'yellow-400-color' },
20376
+ _a[GridStatusColumnTypes.WAITING] = { icon: 'info-line', iconCssClass: 'orange-400-color' },
20377
+ _a[GridStatusColumnTypes.IN_PROGRESS] = { showSpinner: true },
20378
+ _a);
20342
20379
  }
20343
20380
  DatoGridStatusCellComponent.prototype.agInit = function (params) {
20344
20381
  var value = params.value, valueFormatted = params.valueFormatted, node = params.node;
@@ -20353,15 +20390,14 @@ var DatoGridStatusCellComponent = /** @class */ (function () {
20353
20390
  var mainCustomCellConfig = customCellConfig || {};
20354
20391
  var valueCustomCellConfig = valueToCustomCellConfig ? valueToCustomCellConfig[params.value] || {} : {};
20355
20392
  var config = __assign(__assign({}, mainCustomCellConfig), valueCustomCellConfig);
20356
- var color = config.color, icon = config.icon, cssClass = config.cssClass, iconCssClass = config.iconCssClass, minWidth = config.minWidth, showSpinner = config.showSpinner, getAdditionalText = config.getAdditionalText, getIsVisible = config.getIsVisible;
20393
+ var textCssClass = config.textCssClass, icon = config.icon, iconCssClass = config.iconCssClass, showSpinner = config.showSpinner, getAdditionalText = config.getAdditionalText, additionalTextCssClass = config.additionalTextCssClass, getIsVisible = config.getIsVisible, status = config.status;
20394
+ var defaultConfig = this.defaultConfigByStatus[status] || {};
20357
20395
  this.isVisible = !getIsVisible || getIsVisible(params.data);
20358
- this.color = color || 'primary';
20359
- this.backgroundClass = this.color + "-" + (this.color === 'accent' ? '100' : '200') + "-background-color";
20360
- this.icon = icon;
20361
- this.minWidth = minWidth || this.DEFAULT_MIN_WIDTH;
20362
- this.cssClass = cssClass || '';
20363
- this.iconCssClass = iconCssClass || '';
20364
- this.showSpinner = showSpinner;
20396
+ this.icon = icon || defaultConfig.icon;
20397
+ this.iconCssClass = iconCssClass || defaultConfig.iconCssClass || '';
20398
+ this.textCssClass = textCssClass || '';
20399
+ this.additionalTextCssClass = additionalTextCssClass || '';
20400
+ this.showSpinner = !!showSpinner || !!defaultConfig.showSpinner;
20365
20401
  this.additionalText = getAdditionalText ? getAdditionalText(params.data) : null;
20366
20402
  };
20367
20403
  DatoGridStatusCellComponent.prototype.refresh = function (params) {
@@ -20375,8 +20411,9 @@ var DatoGridStatusCellComponent = /** @class */ (function () {
20375
20411
  DatoGridStatusCellComponent = __decorate([
20376
20412
  Component({
20377
20413
  selector: 'dato-grid-status-cell',
20378
- template: "<div *ngIf=\"!isGroup && isVisible\" class=\"height-100 d-flex items-center\">\n <div *ngIf=\"status\" class=\"d-flex justify-center items-center px-15 py-5 {{backgroundClass}} {{cssClass}}\" [style.min-width.px]=\"minWidth\">\n <dato-icon *ngIf=\"icon\" class=\"mr-5 {{iconCssClass}}\" [icon]=\"icon\" datoSize=\"sm\"></dato-icon>\n <div class=\"dato-note {{color}}-800-color\" [class.ellipsis]=\"!additionalText\"\n [datoTooltipV2]=\"status\" [showOnlyOnTextOverflow]=\"true\" [tooltipCheckInView]=\"false\" [datoTooltipDisabled]=\"!!additionalText\">\n {{status}}\n </div>\n <div *ngIf=\"additionalText\" class=\"dato-note {{color}}-800-color ml-3 ellipsis\"\n [datoTooltipV2]=\"status + ' ' + additionalText\" [showOnlyOnTextOverflow]=\"true\" [tooltipCheckInView]=\"false\">\n {{additionalText}}\n </div>\n <span *ngIf=\"showSpinner\" class=\"dato-spinner-loader ml-5\"></span>\n </div>\n</div>\n<span *ngIf=\"isGroup\">{{status}}</span>\n",
20379
- changeDetection: ChangeDetectionStrategy.OnPush
20414
+ template: "<div *ngIf=\"!isGroup && isVisible\" class=\"height-100 d-flex items-center\">\n <dato-icon *ngIf=\"icon\" class=\"mr-6 {{iconCssClass}}\" [icon]=\"icon\" datoSize=\"sm\"></dato-icon>\n <dato-page-loader *ngIf=\"showSpinner\" [salesforce]=\"true\" size=\"x-small\" class=\"mr-10 mt-15\"></dato-page-loader>\n <div class=\"dato-simple status line-height-18 {{textCssClass}}\" [class.ellipsis]=\"!additionalText\"\n [datoTooltipV2]=\"status\" [showOnlyOnTextOverflow]=\"true\" [tooltipCheckInView]=\"false\">\n {{status}}\n </div>\n <div *ngIf=\"additionalText\" class=\"dato-simple ml-3 ellipsis line-height-18 {{additionalTextCssClass}}\"\n [datoTooltipV2]=\"status + ' ' + additionalText\" [showOnlyOnTextOverflow]=\"true\" [tooltipCheckInView]=\"false\">\n {{additionalText}}\n </div>\n</div>\n<span *ngIf=\"isGroup\">{{status}}</span>\n",
20415
+ changeDetection: ChangeDetectionStrategy.OnPush,
20416
+ styles: [".line-height-18{line-height:18px}"]
20380
20417
  }),
20381
20418
  __metadata("design:paramtypes", [ChangeDetectorRef])
20382
20419
  ], DatoGridStatusCellComponent);
@@ -21207,6 +21244,40 @@ var DatoEditableHeaderModule = /** @class */ (function () {
21207
21244
  * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
21208
21245
  */
21209
21246
 
21247
+ var RichTextService = /** @class */ (function () {
21248
+ function RichTextService(http, config) {
21249
+ this.http = http;
21250
+ this.config = config;
21251
+ }
21252
+ RichTextService.prototype.getLib = function (appendScriptFunc, appendStyleFunc) {
21253
+ if (!this.richTextScript$) {
21254
+ this.initLib(appendScriptFunc, appendStyleFunc);
21255
+ }
21256
+ return this.richTextScript$;
21257
+ };
21258
+ RichTextService.prototype.initLib = function (appendScriptFunc, appendStyleFunc) {
21259
+ this.richTextScript$ = combineLatest([
21260
+ this.http
21261
+ .get(this.config.paths.richText + "/index.js", { responseType: 'text' })
21262
+ .pipe(tap(function (lib) { return appendScriptFunc(lib, 'rich-text-editor'); })),
21263
+ this.http
21264
+ .get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
21265
+ .pipe(tap(function (style) { return appendStyleFunc(style, 'tinymce-autocomplete'); }))
21266
+ ]).pipe(shareReplay(1));
21267
+ };
21268
+ RichTextService.ctorParameters = function () { return [
21269
+ { type: HttpClient },
21270
+ { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
21271
+ ]; };
21272
+ RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
21273
+ RichTextService = __decorate([
21274
+ Injectable({ providedIn: 'root' }),
21275
+ __param(1, Inject(DATO_CORE_CONFIG)),
21276
+ __metadata("design:paramtypes", [HttpClient, Object])
21277
+ ], RichTextService);
21278
+ return RichTextService;
21279
+ }());
21280
+
21210
21281
  /**
21211
21282
  * @license
21212
21283
  * Copyright Datorama. All Rights Reserved.
@@ -21220,20 +21291,20 @@ var getTinymce = function () {
21220
21291
  var ɵ0$3 = getTinymce;
21221
21292
  var DatoRichTextDirective = /** @class */ (function (_super) {
21222
21293
  __extends(DatoRichTextDirective, _super);
21223
- function DatoRichTextDirective(ngZone, http, host, config) {
21294
+ function DatoRichTextDirective(ngZone, richTextService, config, host) {
21224
21295
  var _this = _super.call(this) || this;
21225
21296
  _this.ngZone = ngZone;
21226
- _this.http = http;
21227
- _this.host = host;
21297
+ _this.richTextService = richTextService;
21228
21298
  _this.config = config;
21299
+ _this.host = host;
21229
21300
  _this.autocompleteOptions = {};
21230
21301
  _this.forcePlainTextPasting = false;
21231
21302
  _this.format = 'html';
21232
21303
  _this.isOneLine = false;
21233
21304
  _this.initialValue = '';
21234
- _this.defaultPlugins = 'link fullscreen textcolor colorpicker image lists table textpattern autocomplete';
21305
+ _this.defaultPlugins = 'link fullscreen image lists table autocomplete';
21235
21306
  _this.defaultToolbar = [
21236
- 'fontselect fontsizeselect forecolor backcolor bold italic underline link',
21307
+ 'fontfamily fontsize forecolor backcolor bold italic underline link',
21237
21308
  'alignleft aligncenter alignright alignjustify outdent indent | table numlist bullist | image fullscreen'
21238
21309
  ];
21239
21310
  return _this;
@@ -21259,28 +21330,11 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
21259
21330
  base: this.config.paths.richText,
21260
21331
  query: ''
21261
21332
  };
21262
- /**
21263
- * We support only one instance in load time
21264
- */
21265
- if (window.tinymce) {
21266
- this.init.call(this);
21267
- }
21268
- else {
21269
- this.loadLib().subscribe(function (lib) {
21270
- appendScript(lib, 'rich-text-editor');
21271
- _this.init.call(_this);
21272
- _this.loadAutoCompleteStyle();
21273
- });
21274
- }
21275
- };
21276
- DatoRichTextDirective.prototype.loadLib = function () {
21277
- return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
21278
- };
21279
- DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
21280
- this.http
21281
- .get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
21282
- .subscribe(function (style) {
21283
- appendStyle(style, 'tinymce-autocomplete');
21333
+ this.richTextService
21334
+ .getLib(appendScript, appendStyle)
21335
+ .pipe(untilDestroyed(this))
21336
+ .subscribe(function () {
21337
+ _this.init.call(_this);
21284
21338
  });
21285
21339
  };
21286
21340
  DatoRichTextDirective.prototype.initEditor = function (_, editor) {
@@ -21304,8 +21358,6 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
21304
21358
  target: this.host.nativeElement,
21305
21359
  width: this.width || 600,
21306
21360
  height: this.height || 300,
21307
- force_br_newlines: true,
21308
- force_p_newlines: false,
21309
21361
  resize: 'both',
21310
21362
  branding: false,
21311
21363
  inline: this.inline,
@@ -21313,10 +21365,12 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
21313
21365
  readonly: this.disabled,
21314
21366
  plugins: this.plugins || this.defaultPlugins,
21315
21367
  toolbar: isNil(this.toolbar) ? this.defaultToolbar : this.toolbar,
21316
- fontsize_formats: '8px 10px 12px 14px 18px 24px 36px',
21368
+ font_size_formats: '8px 10px 12px 14px 18px 24px 36px',
21317
21369
  min_width: 480,
21318
21370
  menubar: false,
21319
21371
  autocomplete: this.autocompleteOptions,
21372
+ suffix: '.min',
21373
+ skin: 'tinymce-5',
21320
21374
  setup: function (editor) {
21321
21375
  _this.editor = editor;
21322
21376
  editor.on('init', function (e) {
@@ -21373,9 +21427,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
21373
21427
  var DatoRichTextDirective_1;
21374
21428
  DatoRichTextDirective.ctorParameters = function () { return [
21375
21429
  { type: NgZone },
21376
- { type: HttpClient },
21377
- { type: ElementRef },
21378
- { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
21430
+ { type: RichTextService },
21431
+ { type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] },
21432
+ { type: ElementRef }
21379
21433
  ]; };
21380
21434
  __decorate([
21381
21435
  Input(),
@@ -21441,10 +21495,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
21441
21495
  }
21442
21496
  ]
21443
21497
  }),
21444
- __param(3, Inject(DATO_CORE_CONFIG)),
21498
+ __param(2, Inject(DATO_CORE_CONFIG)),
21445
21499
  __metadata("design:paramtypes", [NgZone,
21446
- HttpClient,
21447
- ElementRef, Object])
21500
+ RichTextService, Object, ElementRef])
21448
21501
  ], DatoRichTextDirective);
21449
21502
  return DatoRichTextDirective;
21450
21503
  }(BaseCustomControl));
@@ -23967,7 +24020,9 @@ var DatoBreadcrumbsComponent = /** @class */ (function () {
23967
24020
  };
23968
24021
  DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
23969
24022
  var _this = this;
23970
- this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe(function (res) {
24023
+ this.headerControl.valueChanges
24024
+ .pipe(debounceTime(300), untilDestroyed(this))
24025
+ .subscribe(function (res) {
23971
24026
  _this.updateEditableText.emit(res);
23972
24027
  _this.cdr.detectChanges();
23973
24028
  });
@@ -25330,7 +25385,7 @@ function fixNgLeaks() {
25330
25385
  };
25331
25386
  }
25332
25387
 
25333
- window.coreVersion = '22.9.7';
25388
+ window.coreVersion = '22.10.7-rc.';
25334
25389
 
25335
25390
  /**
25336
25391
  * @license
@@ -25344,5 +25399,5 @@ window.coreVersion = '22.9.7';
25344
25399
  * Generated bundle index. Do not edit.
25345
25400
  */
25346
25401
 
25347
- 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 };
25402
+ 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, GridStatusColumnTypes, 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 };
25348
25403
  //# sourceMappingURL=datorama-core.js.map