@datorama/core 22.9.9-rc.3 → 22.9.9

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 (46) hide show
  1. package/bundles/datorama-core.umd.js +61 -92
  2. package/bundles/datorama-core.umd.js.map +1 -1
  3. package/bundles/datorama-core.umd.min.js +16 -16
  4. package/bundles/datorama-core.umd.min.js.map +1 -1
  5. package/datorama-core.d.ts +0 -1
  6. package/datorama-core.metadata.json +1 -1
  7. package/esm2015/datorama-core.js +1 -2
  8. package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +2 -4
  9. package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
  10. package/esm2015/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +9 -7
  11. package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +2 -5
  12. package/esm2015/lib/grid-v2/grid-pagination/grid-pagination.component.js +3 -2
  13. package/esm2015/lib/grid-v2/grid-settings.js +2 -2
  14. package/esm2015/lib/grid-v2/grid-store/grid.service.js +2 -3
  15. package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -7
  16. package/esm2015/lib/loaders/page-loader/page-loader.component.js +2 -7
  17. package/esm2015/lib/rich-text/rich-text.directive.js +38 -20
  18. package/esm2015/lib/select/select.component.js +9 -4
  19. package/esm2015/lib/version.js +2 -2
  20. package/esm5/datorama-core.js +1 -2
  21. package/esm5/lib/breadcrumbs/breadcrumbs.component.js +2 -4
  22. package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
  23. package/esm5/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +9 -7
  24. package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +2 -5
  25. package/esm5/lib/grid-v2/grid-pagination/grid-pagination.component.js +5 -2
  26. package/esm5/lib/grid-v2/grid-settings.js +2 -2
  27. package/esm5/lib/grid-v2/grid-store/grid.service.js +2 -3
  28. package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -13
  29. package/esm5/lib/loaders/page-loader/page-loader.component.js +2 -7
  30. package/esm5/lib/rich-text/rich-text.directive.js +39 -21
  31. package/esm5/lib/select/select.component.js +9 -4
  32. package/esm5/lib/version.js +2 -2
  33. package/fesm2015/datorama-core.js +59 -84
  34. package/fesm2015/datorama-core.js.map +1 -1
  35. package/fesm5/datorama-core.js +62 -92
  36. package/fesm5/datorama-core.js.map +1 -1
  37. package/lib/grid-v2/grid/grid-v2.types.d.ts +3 -4
  38. package/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.d.ts +5 -2
  39. package/lib/grid-v2/grid-settings.d.ts +2 -2
  40. package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +0 -2
  41. package/lib/loaders/page-loader/page-loader.component.d.ts +0 -1
  42. package/lib/rich-text/rich-text.directive.d.ts +6 -4
  43. package/package.json +2 -2
  44. package/esm2015/lib/rich-text/rich-text.service.js +0 -50
  45. package/esm5/lib/rich-text/rich-text.service.js +0 -51
  46. package/lib/rich-text/rich-text.service.d.ts +0 -10
@@ -8748,8 +8748,9 @@
8748
8748
  DatoSelectComponent.prototype.writeValue = function (activeOptions) {
8749
8749
  this._model = activeOptions ? akita.coerceArray(activeOptions) : [];
8750
8750
  if (this.options) {
8751
+ var overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
8751
8752
  this.markAsActive(this._model, { deselectAll: true });
8752
- this.limitSelectedTo && this.updateDisabledState();
8753
+ overTheLimit && this.updateDisabledState();
8753
8754
  }
8754
8755
  /** For later updates */
8755
8756
  this.cdr.markForCheck();
@@ -8877,6 +8878,7 @@
8877
8878
  };
8878
8879
  DatoSelectComponent.prototype.removeOption = function (option) {
8879
8880
  var _this = this;
8881
+ var updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
8880
8882
  this._model = this._model.filter(function (current) { return current[_this.idKey] !== option[_this.idKey]; });
8881
8883
  var optionToRemove = this.options.find(function (datoOption) { return datoOption.option && datoOption.option[_this.idKey] === option[_this.idKey]; });
8882
8884
  /**
@@ -8886,7 +8888,7 @@
8886
8888
  if (optionToRemove) {
8887
8889
  optionToRemove.active = false;
8888
8890
  }
8889
- this.limitSelectedTo && this.updateDisabledState();
8891
+ updateDisabled && this.updateDisabledState();
8890
8892
  this.onChange(this._model);
8891
8893
  this.cdr.markForCheck();
8892
8894
  this.asyncUpdateDropdownPosition();
@@ -9234,6 +9236,9 @@
9234
9236
  if (!datoOption) {
9235
9237
  return;
9236
9238
  }
9239
+ var modelLength = this._model.length;
9240
+ var updateDisabled = this.limitSelectedTo &&
9241
+ (modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
9237
9242
  datoOption.active = !datoOption.active;
9238
9243
  var rawOption = datoOption.option;
9239
9244
  if (datoOption.active) {
@@ -9242,7 +9247,7 @@
9242
9247
  else {
9243
9248
  this._model = this._model.filter(function (current) { return current[_this.idKey] !== rawOption[_this.idKey]; });
9244
9249
  }
9245
- this.limitSelectedTo && this.updateDisabledState();
9250
+ updateDisabled && this.updateDisabledState();
9246
9251
  this.onChange(this._model);
9247
9252
  this.cdr.markForCheck();
9248
9253
  this.asyncUpdateDropdownPosition();
@@ -12047,7 +12052,7 @@
12047
12052
  return contextActions;
12048
12053
  }
12049
12054
 
12050
- var DATO_GRID_STORAGE_API = new core.InjectionToken('DATO_GRID_STORAGE_AP');
12055
+ var DATO_GRID_STORAGE_API = new core.InjectionToken('DATO_GRID_STORAGE_API');
12051
12056
 
12052
12057
  var defaultEditableColumnRenderer = function (params) {
12053
12058
  return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
@@ -14634,8 +14639,7 @@
14634
14639
  this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
14635
14640
  };
14636
14641
  GridService.prototype.saveSettingsToServer = function (settings) {
14637
- var isGlobal = this.gridQuery.getGridOptions().isGlobalSettings;
14638
- this.storageAPI.set(this.gridName, settings, isGlobal);
14642
+ this.storageAPI.set(this.gridName, settings);
14639
14643
  };
14640
14644
  /**
14641
14645
  * @internal used to log grid events to the platform's logging service
@@ -15640,10 +15644,7 @@
15640
15644
  .pipe(operators.switchMap(function () {
15641
15645
  _this.gridOptions = _this.normalizeOptions();
15642
15646
  agGrid.gridOptions = _this.gridOptions;
15643
- var isGlobal = _this.gridOptions.isGlobalSettings;
15644
- var settingsLoader = _this.gridOptions.saveSettings === false
15645
- ? rxjs.of(null)
15646
- : _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
15647
+ var settingsLoader = _this.gridOptions.saveSettings === false ? rxjs.of(null) : _this.storageAPI.get(_this.gridOptions.gridName);
15647
15648
  return rxjs.combineLatest([agGrid.gridReady, settingsLoader]);
15648
15649
  }), ngxTakeUntilDestroy.untilDestroyed(this))
15649
15650
  .subscribe(function (_a) {
@@ -16473,7 +16474,9 @@
16473
16474
  DatoGridPaginationV2Component.prototype.ngOnInit = function () {
16474
16475
  var _this = this;
16475
16476
  this.gridQuery
16476
- .waitForGrid(function () { return _this.gridQuery.gridRef.filterChanged; })
16477
+ .waitForGrid(function () {
16478
+ return rxjs.merge(_this.gridQuery.gridRef.filterChanged, _this.gridQuery.gridRef.rowGroupOpened, _this.gridQuery.gridRef.expandOrCollapseAll);
16479
+ })
16477
16480
  .pipe(ngxTakeUntilDestroy.untilDestroyed(this))
16478
16481
  .subscribe(function () {
16479
16482
  _this.gridApi.paginationGoToPage(0);
@@ -16925,18 +16928,6 @@
16925
16928
  this.registerGroupListeners();
16926
16929
  this.subscribeRowsSelectionData();
16927
16930
  };
16928
- DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
16929
- var _this = this;
16930
- return this.gridController.gridQuery.waitForGrid(function () {
16931
- return _this.gridQuery.gridRef.cellValueChanged.pipe(operators.debounceTime(100), ngxTakeUntilDestroy.untilDestroyed(_this));
16932
- });
16933
- };
16934
- DatoGridV2ToolbarComponent.prototype.getRowDataUpdatedEvent = function () {
16935
- var _this = this;
16936
- return this.gridController.gridQuery.waitForGrid(function () {
16937
- return _this.gridQuery.gridRef.rowDataUpdated.pipe(operators.debounceTime(100), ngxTakeUntilDestroy.untilDestroyed(_this));
16938
- });
16939
- };
16940
16931
  DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
16941
16932
  if (isFunction(action.onClick)) {
16942
16933
  var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
@@ -19551,7 +19542,6 @@
19551
19542
  function DatoPageLoaderComponent() {
19552
19543
  this.msg = '';
19553
19544
  this.salesforce = false;
19554
- this.size = 'medium';
19555
19545
  this.circleIds = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'];
19556
19546
  }
19557
19547
  __decorate([
@@ -19562,14 +19552,10 @@
19562
19552
  core.Input(),
19563
19553
  __metadata("design:type", Object)
19564
19554
  ], DatoPageLoaderComponent.prototype, "salesforce", void 0);
19565
- __decorate([
19566
- core.Input(),
19567
- __metadata("design:type", String)
19568
- ], DatoPageLoaderComponent.prototype, "size", void 0);
19569
19555
  DatoPageLoaderComponent = __decorate([
19570
19556
  core.Component({
19571
19557
  selector: 'dato-page-loader',
19572
- 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",
19558
+ 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>",
19573
19559
  changeDetection: core.ChangeDetectionStrategy.OnPush
19574
19560
  })
19575
19561
  ], DatoPageLoaderComponent);
@@ -20548,6 +20534,7 @@
20548
20534
  var DatoGridStatusCellComponent = /** @class */ (function () {
20549
20535
  function DatoGridStatusCellComponent(cdr) {
20550
20536
  this.cdr = cdr;
20537
+ this.DEFAULT_MIN_WIDTH = 100;
20551
20538
  }
20552
20539
  DatoGridStatusCellComponent.prototype.agInit = function (params) {
20553
20540
  var value = params.value, valueFormatted = params.valueFormatted, node = params.node;
@@ -20562,12 +20549,14 @@
20562
20549
  var mainCustomCellConfig = customCellConfig || {};
20563
20550
  var valueCustomCellConfig = valueToCustomCellConfig ? valueToCustomCellConfig[params.value] || {} : {};
20564
20551
  var config = __assign(__assign({}, mainCustomCellConfig), valueCustomCellConfig);
20565
- var textCssClass = config.textCssClass, icon = config.icon, iconCssClass = config.iconCssClass, showSpinner = config.showSpinner, getAdditionalText = config.getAdditionalText, additionalTextCssClass = config.additionalTextCssClass, getIsVisible = config.getIsVisible;
20552
+ 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;
20566
20553
  this.isVisible = !getIsVisible || getIsVisible(params.data);
20554
+ this.color = color || 'primary';
20555
+ this.backgroundClass = this.color + "-" + (this.color === 'accent' ? '100' : '200') + "-background-color";
20567
20556
  this.icon = icon;
20557
+ this.minWidth = minWidth || this.DEFAULT_MIN_WIDTH;
20558
+ this.cssClass = cssClass || '';
20568
20559
  this.iconCssClass = iconCssClass || '';
20569
- this.textCssClass = textCssClass || '';
20570
- this.additionalTextCssClass = additionalTextCssClass || '';
20571
20560
  this.showSpinner = showSpinner;
20572
20561
  this.additionalText = getAdditionalText ? getAdditionalText(params.data) : null;
20573
20562
  };
@@ -20582,9 +20571,8 @@
20582
20571
  DatoGridStatusCellComponent = __decorate([
20583
20572
  core.Component({
20584
20573
  selector: 'dato-grid-status-cell',
20585
- 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",
20586
- changeDetection: core.ChangeDetectionStrategy.OnPush,
20587
- styles: [".line-height-18{line-height:18px}"]
20574
+ 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",
20575
+ changeDetection: core.ChangeDetectionStrategy.OnPush
20588
20576
  }),
20589
20577
  __metadata("design:paramtypes", [core.ChangeDetectorRef])
20590
20578
  ], DatoGridStatusCellComponent);
@@ -21415,40 +21403,6 @@
21415
21403
  * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
21416
21404
  */
21417
21405
 
21418
- var RichTextService = /** @class */ (function () {
21419
- function RichTextService(http, config) {
21420
- this.http = http;
21421
- this.config = config;
21422
- }
21423
- RichTextService.prototype.getLib = function (appendScriptFunc, appendStyleFunc) {
21424
- if (!this.richTextScript$) {
21425
- this.initLib(appendScriptFunc, appendStyleFunc);
21426
- }
21427
- return this.richTextScript$;
21428
- };
21429
- RichTextService.prototype.initLib = function (appendScriptFunc, appendStyleFunc) {
21430
- this.richTextScript$ = rxjs.combineLatest([
21431
- this.http
21432
- .get(this.config.paths.richText + "/index.js", { responseType: 'text' })
21433
- .pipe(operators.tap(function (lib) { return appendScriptFunc(lib, 'rich-text-editor'); })),
21434
- this.http
21435
- .get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
21436
- .pipe(operators.tap(function (style) { return appendStyleFunc(style, 'tinymce-autocomplete'); }))
21437
- ]).pipe(operators.shareReplay(1));
21438
- };
21439
- RichTextService.ctorParameters = function () { return [
21440
- { type: http.HttpClient },
21441
- { type: undefined, decorators: [{ type: core.Inject, args: [DATO_CORE_CONFIG,] }] }
21442
- ]; };
21443
- RichTextService.ɵprov = core.ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
21444
- RichTextService = __decorate([
21445
- core.Injectable({ providedIn: 'root' }),
21446
- __param(1, core.Inject(DATO_CORE_CONFIG)),
21447
- __metadata("design:paramtypes", [http.HttpClient, Object])
21448
- ], RichTextService);
21449
- return RichTextService;
21450
- }());
21451
-
21452
21406
  /**
21453
21407
  * @license
21454
21408
  * Copyright Datorama. All Rights Reserved.
@@ -21462,20 +21416,20 @@
21462
21416
  var ɵ0$3 = getTinymce;
21463
21417
  var DatoRichTextDirective = /** @class */ (function (_super) {
21464
21418
  __extends(DatoRichTextDirective, _super);
21465
- function DatoRichTextDirective(ngZone, richTextService, config, host) {
21419
+ function DatoRichTextDirective(ngZone, http, host, config) {
21466
21420
  var _this = _super.call(this) || this;
21467
21421
  _this.ngZone = ngZone;
21468
- _this.richTextService = richTextService;
21469
- _this.config = config;
21422
+ _this.http = http;
21470
21423
  _this.host = host;
21424
+ _this.config = config;
21471
21425
  _this.autocompleteOptions = {};
21472
21426
  _this.forcePlainTextPasting = false;
21473
21427
  _this.format = 'html';
21474
21428
  _this.isOneLine = false;
21475
21429
  _this.initialValue = '';
21476
- _this.defaultPlugins = 'link fullscreen image lists table autocomplete';
21430
+ _this.defaultPlugins = 'link fullscreen textcolor colorpicker image lists table textpattern autocomplete';
21477
21431
  _this.defaultToolbar = [
21478
- 'fontfamily fontsize forecolor backcolor bold italic underline link',
21432
+ 'fontselect fontsizeselect forecolor backcolor bold italic underline link',
21479
21433
  'alignleft aligncenter alignright alignjustify outdent indent | table numlist bullist | image fullscreen'
21480
21434
  ];
21481
21435
  return _this;
@@ -21501,11 +21455,28 @@
21501
21455
  base: this.config.paths.richText,
21502
21456
  query: ''
21503
21457
  };
21504
- this.richTextService
21505
- .getLib(appendScript, appendStyle)
21506
- .pipe(ngxTakeUntilDestroy.untilDestroyed(this))
21507
- .subscribe(function () {
21508
- _this.init.call(_this);
21458
+ /**
21459
+ * We support only one instance in load time
21460
+ */
21461
+ if (window.tinymce) {
21462
+ this.init.call(this);
21463
+ }
21464
+ else {
21465
+ this.loadLib().subscribe(function (lib) {
21466
+ appendScript(lib, 'rich-text-editor');
21467
+ _this.init.call(_this);
21468
+ _this.loadAutoCompleteStyle();
21469
+ });
21470
+ }
21471
+ };
21472
+ DatoRichTextDirective.prototype.loadLib = function () {
21473
+ return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
21474
+ };
21475
+ DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
21476
+ this.http
21477
+ .get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
21478
+ .subscribe(function (style) {
21479
+ appendStyle(style, 'tinymce-autocomplete');
21509
21480
  });
21510
21481
  };
21511
21482
  DatoRichTextDirective.prototype.initEditor = function (_, editor) {
@@ -21529,6 +21500,8 @@
21529
21500
  target: this.host.nativeElement,
21530
21501
  width: this.width || 600,
21531
21502
  height: this.height || 300,
21503
+ force_br_newlines: true,
21504
+ force_p_newlines: false,
21532
21505
  resize: 'both',
21533
21506
  branding: false,
21534
21507
  inline: this.inline,
@@ -21536,12 +21509,10 @@
21536
21509
  readonly: this.disabled,
21537
21510
  plugins: this.plugins || this.defaultPlugins,
21538
21511
  toolbar: isNil(this.toolbar) ? this.defaultToolbar : this.toolbar,
21539
- font_size_formats: '8px 10px 12px 14px 18px 24px 36px',
21512
+ fontsize_formats: '8px 10px 12px 14px 18px 24px 36px',
21540
21513
  min_width: 480,
21541
21514
  menubar: false,
21542
21515
  autocomplete: this.autocompleteOptions,
21543
- suffix: '.min',
21544
- skin: 'tinymce-5',
21545
21516
  setup: function (editor) {
21546
21517
  _this.editor = editor;
21547
21518
  editor.on('init', function (e) {
@@ -21598,9 +21569,9 @@
21598
21569
  var DatoRichTextDirective_1;
21599
21570
  DatoRichTextDirective.ctorParameters = function () { return [
21600
21571
  { type: core.NgZone },
21601
- { type: RichTextService },
21602
- { type: undefined, decorators: [{ type: core.Inject, args: [DATO_CORE_CONFIG,] }] },
21603
- { type: core.ElementRef }
21572
+ { type: http.HttpClient },
21573
+ { type: core.ElementRef },
21574
+ { type: undefined, decorators: [{ type: core.Inject, args: [DATO_CORE_CONFIG,] }] }
21604
21575
  ]; };
21605
21576
  __decorate([
21606
21577
  core.Input(),
@@ -21666,9 +21637,10 @@
21666
21637
  }
21667
21638
  ]
21668
21639
  }),
21669
- __param(2, core.Inject(DATO_CORE_CONFIG)),
21640
+ __param(3, core.Inject(DATO_CORE_CONFIG)),
21670
21641
  __metadata("design:paramtypes", [core.NgZone,
21671
- RichTextService, Object, core.ElementRef])
21642
+ http.HttpClient,
21643
+ core.ElementRef, Object])
21672
21644
  ], DatoRichTextDirective);
21673
21645
  return DatoRichTextDirective;
21674
21646
  }(BaseCustomControl));
@@ -24191,9 +24163,7 @@
24191
24163
  };
24192
24164
  DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
24193
24165
  var _this = this;
24194
- this.headerControl.valueChanges
24195
- .pipe(operators.debounceTime(300), ngxTakeUntilDestroy.untilDestroyed(this))
24196
- .subscribe(function (res) {
24166
+ this.headerControl.valueChanges.pipe(operators.debounceTime(300), ngxTakeUntilDestroy.untilDestroyed(this)).subscribe(function (res) {
24197
24167
  _this.updateEditableText.emit(res);
24198
24168
  _this.cdr.detectChanges();
24199
24169
  });
@@ -25556,7 +25526,7 @@
25556
25526
  };
25557
25527
  }
25558
25528
 
25559
- window.coreVersion = '22.10.7-rc.';
25529
+ window.coreVersion = '22.9.9';
25560
25530
 
25561
25531
  exports.APP_TRANSLATE = APP_TRANSLATE;
25562
25532
  exports.AceService = AceService;
@@ -25998,7 +25968,6 @@
25998
25968
  exports.ɵl = DatoGridItemsCountCellComponent;
25999
25969
  exports.ɵm = DatoGridV2ToolbarMoreMenuComponent;
26000
25970
  exports.ɵn = DatoGridSearchBarComponent;
26001
- exports.ɵo = RichTextService;
26002
25971
 
26003
25972
  Object.defineProperty(exports, '__esModule', { value: true });
26004
25973