@datorama/core 22.12.1 → 22.12.3-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 (44) hide show
  1. package/bundles/datorama-core.umd.js +96 -52
  2. package/bundles/datorama-core.umd.js.map +1 -1
  3. package/bundles/datorama-core.umd.min.js +14 -14
  4. package/bundles/datorama-core.umd.min.js.map +1 -1
  5. package/datorama-core.d.ts +1 -0
  6. package/datorama-core.metadata.json +1 -1
  7. package/esm2015/datorama-core.js +2 -1
  8. package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +4 -2
  9. package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
  10. package/esm2015/lib/grid-v2/grid-column-header/grid-column-header.component.js +16 -2
  11. package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +5 -2
  12. package/esm2015/lib/grid-v2/grid-settings.js +2 -2
  13. package/esm2015/lib/grid-v2/grid-store/grid.service.js +3 -2
  14. package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +7 -1
  15. package/esm2015/lib/progress-bar/progress-bar.component.js +3 -3
  16. package/esm2015/lib/rich-text/rich-text.directive.js +20 -38
  17. package/esm2015/lib/rich-text/rich-text.service.js +50 -0
  18. package/esm2015/lib/select/select.component.js +4 -9
  19. package/esm2015/lib/version.js +2 -2
  20. package/esm5/datorama-core.js +2 -1
  21. package/esm5/lib/breadcrumbs/breadcrumbs.component.js +4 -2
  22. package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
  23. package/esm5/lib/grid-v2/grid-column-header/grid-column-header.component.js +16 -2
  24. package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +5 -2
  25. package/esm5/lib/grid-v2/grid-settings.js +2 -2
  26. package/esm5/lib/grid-v2/grid-store/grid.service.js +3 -2
  27. package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +13 -1
  28. package/esm5/lib/progress-bar/progress-bar.component.js +3 -3
  29. package/esm5/lib/rich-text/rich-text.directive.js +21 -39
  30. package/esm5/lib/rich-text/rich-text.service.js +51 -0
  31. package/esm5/lib/select/select.component.js +4 -9
  32. package/esm5/lib/version.js +2 -2
  33. package/fesm2015/datorama-core.js +88 -52
  34. package/fesm2015/datorama-core.js.map +1 -1
  35. package/fesm5/datorama-core.js +96 -53
  36. package/fesm5/datorama-core.js.map +1 -1
  37. package/lib/grid-v2/grid/grid-v2.types.d.ts +2 -0
  38. package/lib/grid-v2/grid-column-header/grid-column-header.component.d.ts +2 -0
  39. package/lib/grid-v2/grid-settings.d.ts +2 -2
  40. package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +2 -0
  41. package/lib/progress-bar/progress-bar.component.d.ts +1 -0
  42. package/lib/rich-text/rich-text.directive.d.ts +4 -6
  43. package/lib/rich-text/rich-text.service.d.ts +10 -0
  44. package/package.json +2 -2
@@ -8833,9 +8833,8 @@
8833
8833
  DatoSelectComponent.prototype.writeValue = function (activeOptions) {
8834
8834
  this._model = activeOptions ? akita.coerceArray(activeOptions) : [];
8835
8835
  if (this.options) {
8836
- var overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
8837
8836
  this.markAsActive(this._model, { deselectAll: true });
8838
- overTheLimit && this.updateDisabledState();
8837
+ this.limitSelectedTo && this.updateDisabledState();
8839
8838
  }
8840
8839
  /** For later updates */
8841
8840
  this.cdr.markForCheck();
@@ -8963,7 +8962,6 @@
8963
8962
  };
8964
8963
  DatoSelectComponent.prototype.removeOption = function (option) {
8965
8964
  var _this = this;
8966
- var updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
8967
8965
  this._model = this._model.filter(function (current) { return current[_this.idKey] !== option[_this.idKey]; });
8968
8966
  var optionToRemove = this.options.find(function (datoOption) { return datoOption.option && datoOption.option[_this.idKey] === option[_this.idKey]; });
8969
8967
  /**
@@ -8973,7 +8971,7 @@
8973
8971
  if (optionToRemove) {
8974
8972
  optionToRemove.active = false;
8975
8973
  }
8976
- updateDisabled && this.updateDisabledState();
8974
+ this.limitSelectedTo && this.updateDisabledState();
8977
8975
  this.onChange(this._model);
8978
8976
  this.cdr.markForCheck();
8979
8977
  this.asyncUpdateDropdownPosition();
@@ -9321,9 +9319,6 @@
9321
9319
  if (!datoOption) {
9322
9320
  return;
9323
9321
  }
9324
- var modelLength = this._model.length;
9325
- var updateDisabled = this.limitSelectedTo &&
9326
- (modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
9327
9322
  datoOption.active = !datoOption.active;
9328
9323
  var rawOption = datoOption.option;
9329
9324
  if (datoOption.active) {
@@ -9332,7 +9327,7 @@
9332
9327
  else {
9333
9328
  this._model = this._model.filter(function (current) { return current[_this.idKey] !== rawOption[_this.idKey]; });
9334
9329
  }
9335
- updateDisabled && this.updateDisabledState();
9330
+ this.limitSelectedTo && this.updateDisabledState();
9336
9331
  this.onChange(this._model);
9337
9332
  this.cdr.markForCheck();
9338
9333
  this.asyncUpdateDropdownPosition();
@@ -12065,7 +12060,7 @@
12065
12060
  return contextActions;
12066
12061
  }
12067
12062
 
12068
- var DATO_GRID_STORAGE_API = new core.InjectionToken('DATO_GRID_STORAGE_API');
12063
+ var DATO_GRID_STORAGE_API = new core.InjectionToken('DATO_GRID_STORAGE_AP');
12069
12064
 
12070
12065
  var defaultEditableColumnRenderer = function (params) {
12071
12066
  return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
@@ -13580,6 +13575,7 @@
13580
13575
  this.showFilter = colDef.filter !== exports.DatoGridFilterTypes.None;
13581
13576
  this.showMoreMenu = isNil(colDef.moreMenuActions) || colDef.moreMenuActions.length > 0;
13582
13577
  this.field = getColField(colDef);
13578
+ this.headerTooltip = this.getHeaderTooltip(colDef);
13583
13579
  this.context = {
13584
13580
  api: {
13585
13581
  grid: params.api,
@@ -13662,6 +13658,19 @@
13662
13658
  });
13663
13659
  };
13664
13660
  DatoGridColumnHeaderComponent.prototype.ngOnDestroy = function () { };
13661
+ DatoGridColumnHeaderComponent.prototype.getHeaderTooltip = function (initialColDef) {
13662
+ if (this.params) {
13663
+ var colDef_1 = initialColDef;
13664
+ if (colDef_1.showRowGroup) {
13665
+ var rowGroupColumns = this.params.columnApi.getRowGroupColumns();
13666
+ var rowGroupColumn = rowGroupColumns && rowGroupColumns.find(function (col) { return col.getColId() === colDef_1.showRowGroup; });
13667
+ var rowGroupColDef = rowGroupColumn && rowGroupColumn.getColDef();
13668
+ colDef_1 = rowGroupColDef || colDef_1;
13669
+ }
13670
+ return colDef_1.customHeaderTooltip || colDef_1.headerName;
13671
+ }
13672
+ return '';
13673
+ };
13665
13674
  DatoGridColumnHeaderComponent.ctorParameters = function () { return [
13666
13675
  { type: core.ViewContainerRef },
13667
13676
  { type: CustomHeaderControllerService },
@@ -13671,7 +13680,7 @@
13671
13680
  DatoGridColumnHeaderComponent = __decorate([
13672
13681
  core.Component({
13673
13682
  selector: 'dato-grid-column-header',
13674
- template: "<div class=\"d-flex align-start-center\" [attr.data-auto-id]=\"field + '-column-header'\" [attr.data-field]=\"field\">\n <ng-container *ngIf=\"customTemplates && customTemplates.customHeader as customHeader\">\n <div class=\"mr-5\" [attr.data-auto-id]=\"field + '-dynamic-section'\">\n <ng-container *ngTemplateOutlet=\"customHeader; context: context\"></ng-container>\n </div>\n </ng-container>\n <div class=\"d-flex d-flex-grow align-start-center min-width-0 items-center\">\n <span class=\"dato-simple-bold primary-400-color ellipsis min-width-0 mr-5\" [datoTooltip]=\"headerName\"\n datoTooltipPosition=\"bottom\">{{headerName}}</span>\n <div>\n <dato-icon class=\"primary-300-color\" *ngIf=\"headerInfo\" [datoTooltip]=\"headerInfo\" datoTooltipPosition=\"bottom\" datoIcon=\"question\"></dato-icon>\n </div>\n </div>\n <div class=\"sort-icon opacity-0\" *ngIf=\"params.enableSorting && (sortingInfo$ | async) as sortingInfo\"\n [class.active]=\"sortingInfo.active\">\n <dato-icon width=\"24px\" height=\"16px\" class=\"primary-300-color\"\n [attr.data-auto-id]=\"field + '-sort'\"\n [icon]=\"sortingInfo.icon\"></dato-icon>\n </div>\n <ng-container *ngIf=\"showFilter\">\n <div class=\"filter relative\" *datoSubscribe=\"filterActive$ as filterActive\">\n <dato-icon-button (click.stop)=\"openFilters(filters)\" datoTooltip=\"core.filters\" datoTooltipPosition=\"bottom\"\n datoType=\"none\" [attr.data-auto-id]=\"field + '-filter'\" class=\"filter-icon opacity-0\"\n [class.active]=\"filtersMenuOpen || filterActive\"\n datoSize=\"md\" icon=\"filter\"\n #filters></dato-icon-button>\n <div [class.opacity-100]=\"filterActive\"\n class=\"opacity-0 filter-active-circle accent-400-background-color absolute\"></div>\n </div>\n </ng-container>\n <dato-icon-button *ngIf=\"showMoreMenu\" (click.stop)=\"openMoreMenu(moreMenu)\" datoTooltip=\"core.more-options\" datoTooltipPosition=\"bottom\"\n datoType=\"none\" [attr.data-auto-id]=\"field + '-more-menu'\" [class.active]=\"moreMenuOpen\"\n datoSize=\"md\" icon=\"more-vertical\" #moreMenu></dato-icon-button>\n</div>\n",
13683
+ template: "<div class=\"d-flex align-start-center\" [attr.data-auto-id]=\"field + '-column-header'\" [attr.data-field]=\"field\">\n <ng-container *ngIf=\"customTemplates && customTemplates.customHeader as customHeader\">\n <div class=\"mr-5\" [attr.data-auto-id]=\"field + '-dynamic-section'\">\n <ng-container *ngTemplateOutlet=\"customHeader; context: context\"></ng-container>\n </div>\n </ng-container>\n <div class=\"d-flex d-flex-grow align-start-center min-width-0 items-center\">\n <span class=\"dato-simple-bold primary-400-color ellipsis min-width-0 mr-5\" [datoTooltip]=\"headerTooltip\"\n datoTooltipPosition=\"bottom\">{{headerName}}</span>\n <div>\n <dato-icon class=\"primary-300-color\" *ngIf=\"headerInfo\" [datoTooltip]=\"headerInfo\" datoTooltipPosition=\"bottom\" datoIcon=\"question\"></dato-icon>\n </div>\n </div>\n <div class=\"sort-icon opacity-0\" *ngIf=\"params.enableSorting && (sortingInfo$ | async) as sortingInfo\"\n [class.active]=\"sortingInfo.active\">\n <dato-icon width=\"24px\" height=\"16px\" class=\"primary-300-color\"\n [attr.data-auto-id]=\"field + '-sort'\"\n [icon]=\"sortingInfo.icon\"></dato-icon>\n </div>\n <ng-container *ngIf=\"showFilter\">\n <div class=\"filter relative\" *datoSubscribe=\"filterActive$ as filterActive\">\n <dato-icon-button (click.stop)=\"openFilters(filters)\" datoTooltip=\"core.filters\" datoTooltipPosition=\"bottom\"\n datoType=\"none\" [attr.data-auto-id]=\"field + '-filter'\" class=\"filter-icon opacity-0\"\n [class.active]=\"filtersMenuOpen || filterActive\"\n datoSize=\"md\" icon=\"filter\"\n #filters></dato-icon-button>\n <div [class.opacity-100]=\"filterActive\"\n class=\"opacity-0 filter-active-circle accent-400-background-color absolute\"></div>\n </div>\n </ng-container>\n <dato-icon-button *ngIf=\"showMoreMenu\" (click.stop)=\"openMoreMenu(moreMenu)\" datoTooltip=\"core.more-options\" datoTooltipPosition=\"bottom\"\n datoType=\"none\" [attr.data-auto-id]=\"field + '-more-menu'\" [class.active]=\"moreMenuOpen\"\n datoSize=\"md\" icon=\"more-vertical\" #moreMenu></dato-icon-button>\n</div>\n",
13675
13684
  styles: [":host .filter-icon,:host .sort-icon{transition:opacity .25s linear,width .25s ease-in-out;width:0}:host .sort-icon{height:16px}:host .filter-icon.active,:host .sort-icon.active{opacity:1;width:24px}:host:hover .filter-icon,:host:hover .sort-icon{opacity:1;width:24px}:host .filter-active-circle{pointer-events:none;transition:opacity .2s ease-in-out;position:absolute;height:8px;width:8px;top:2px;right:2px;border-radius:4px;border:1px solid #fff}:host ::ng-deep .filter dato-icon-button dato-icon{transition:color .2s ease-in-out}"]
13676
13685
  }),
13677
13686
  __metadata("design:paramtypes", [core.ViewContainerRef,
@@ -14713,7 +14722,8 @@
14713
14722
  this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
14714
14723
  };
14715
14724
  GridService.prototype.saveSettingsToServer = function (settings) {
14716
- this.storageAPI.set(this.gridName, settings);
14725
+ var isGlobal = this.gridQuery.getGridOptions().isGlobalSettings;
14726
+ this.storageAPI.set(this.gridName, settings, isGlobal);
14717
14727
  };
14718
14728
  /**
14719
14729
  * @internal used to log grid events to the platform's logging service
@@ -15723,7 +15733,10 @@
15723
15733
  .pipe(operators.switchMap(function () {
15724
15734
  _this.gridOptions = _this.normalizeOptions();
15725
15735
  agGrid.gridOptions = _this.gridOptions;
15726
- var settingsLoader = _this.gridOptions.saveSettings === false ? rxjs.of(null) : _this.storageAPI.get(_this.gridOptions.gridName);
15736
+ var isGlobal = _this.gridOptions.isGlobalSettings;
15737
+ var settingsLoader = _this.gridOptions.saveSettings === false
15738
+ ? rxjs.of(null)
15739
+ : _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
15727
15740
  return rxjs.combineLatest([agGrid.gridReady, settingsLoader]);
15728
15741
  }), ngxTakeUntilDestroy.untilDestroyed(this))
15729
15742
  .subscribe(function (_a) {
@@ -17018,6 +17031,18 @@
17018
17031
  this.registerGroupListeners();
17019
17032
  this.subscribeRowsSelectionData();
17020
17033
  };
17034
+ DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
17035
+ var _this = this;
17036
+ return this.gridController.gridQuery.waitForGrid(function () {
17037
+ return _this.gridQuery.gridRef.cellValueChanged.pipe(operators.debounceTime(100), ngxTakeUntilDestroy.untilDestroyed(_this));
17038
+ });
17039
+ };
17040
+ DatoGridV2ToolbarComponent.prototype.getRowDataUpdatedEvent = function () {
17041
+ var _this = this;
17042
+ return this.gridController.gridQuery.waitForGrid(function () {
17043
+ return _this.gridQuery.gridRef.rowDataUpdated.pipe(operators.debounceTime(100), ngxTakeUntilDestroy.untilDestroyed(_this));
17044
+ });
17045
+ };
17021
17046
  DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
17022
17047
  if (isFunction(action.onClick)) {
17023
17048
  var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
@@ -21505,6 +21530,40 @@
21505
21530
  * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
21506
21531
  */
21507
21532
 
21533
+ var RichTextService = /** @class */ (function () {
21534
+ function RichTextService(http, config) {
21535
+ this.http = http;
21536
+ this.config = config;
21537
+ }
21538
+ RichTextService.prototype.getLib = function (appendScriptFunc, appendStyleFunc) {
21539
+ if (!this.richTextScript$) {
21540
+ this.initLib(appendScriptFunc, appendStyleFunc);
21541
+ }
21542
+ return this.richTextScript$;
21543
+ };
21544
+ RichTextService.prototype.initLib = function (appendScriptFunc, appendStyleFunc) {
21545
+ this.richTextScript$ = rxjs.combineLatest([
21546
+ this.http
21547
+ .get(this.config.paths.richText + "/index.js", { responseType: 'text' })
21548
+ .pipe(operators.tap(function (lib) { return appendScriptFunc(lib, 'rich-text-editor'); })),
21549
+ this.http
21550
+ .get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
21551
+ .pipe(operators.tap(function (style) { return appendStyleFunc(style, 'tinymce-autocomplete'); }))
21552
+ ]).pipe(operators.shareReplay(1));
21553
+ };
21554
+ RichTextService.ctorParameters = function () { return [
21555
+ { type: http.HttpClient },
21556
+ { type: undefined, decorators: [{ type: core.Inject, args: [DATO_CORE_CONFIG,] }] }
21557
+ ]; };
21558
+ RichTextService.ɵprov = core.ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
21559
+ RichTextService = __decorate([
21560
+ core.Injectable({ providedIn: 'root' }),
21561
+ __param(1, core.Inject(DATO_CORE_CONFIG)),
21562
+ __metadata("design:paramtypes", [http.HttpClient, Object])
21563
+ ], RichTextService);
21564
+ return RichTextService;
21565
+ }());
21566
+
21508
21567
  /**
21509
21568
  * @license
21510
21569
  * Copyright Datorama. All Rights Reserved.
@@ -21518,20 +21577,20 @@
21518
21577
  var ɵ0$3 = getTinymce;
21519
21578
  var DatoRichTextDirective = /** @class */ (function (_super) {
21520
21579
  __extends(DatoRichTextDirective, _super);
21521
- function DatoRichTextDirective(ngZone, http, host, config) {
21580
+ function DatoRichTextDirective(ngZone, richTextService, config, host) {
21522
21581
  var _this = _super.call(this) || this;
21523
21582
  _this.ngZone = ngZone;
21524
- _this.http = http;
21525
- _this.host = host;
21583
+ _this.richTextService = richTextService;
21526
21584
  _this.config = config;
21585
+ _this.host = host;
21527
21586
  _this.autocompleteOptions = {};
21528
21587
  _this.forcePlainTextPasting = false;
21529
21588
  _this.format = 'html';
21530
21589
  _this.isOneLine = false;
21531
21590
  _this.initialValue = '';
21532
- _this.defaultPlugins = 'link fullscreen textcolor colorpicker image lists table textpattern autocomplete';
21591
+ _this.defaultPlugins = 'link fullscreen image lists table autocomplete';
21533
21592
  _this.defaultToolbar = [
21534
- 'fontselect fontsizeselect forecolor backcolor bold italic underline link',
21593
+ 'fontfamily fontsize forecolor backcolor bold italic underline link',
21535
21594
  'alignleft aligncenter alignright alignjustify outdent indent | table numlist bullist | image fullscreen'
21536
21595
  ];
21537
21596
  return _this;
@@ -21557,28 +21616,11 @@
21557
21616
  base: this.config.paths.richText,
21558
21617
  query: ''
21559
21618
  };
21560
- /**
21561
- * We support only one instance in load time
21562
- */
21563
- if (window.tinymce) {
21564
- this.init.call(this);
21565
- }
21566
- else {
21567
- this.loadLib().subscribe(function (lib) {
21568
- appendScript(lib, 'rich-text-editor');
21569
- _this.init.call(_this);
21570
- _this.loadAutoCompleteStyle();
21571
- });
21572
- }
21573
- };
21574
- DatoRichTextDirective.prototype.loadLib = function () {
21575
- return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
21576
- };
21577
- DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
21578
- this.http
21579
- .get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
21580
- .subscribe(function (style) {
21581
- appendStyle(style, 'tinymce-autocomplete');
21619
+ this.richTextService
21620
+ .getLib(appendScript, appendStyle)
21621
+ .pipe(ngxTakeUntilDestroy.untilDestroyed(this))
21622
+ .subscribe(function () {
21623
+ _this.init.call(_this);
21582
21624
  });
21583
21625
  };
21584
21626
  DatoRichTextDirective.prototype.initEditor = function (_, editor) {
@@ -21602,8 +21644,6 @@
21602
21644
  target: this.host.nativeElement,
21603
21645
  width: this.width || 600,
21604
21646
  height: this.height || 300,
21605
- force_br_newlines: true,
21606
- force_p_newlines: false,
21607
21647
  resize: 'both',
21608
21648
  branding: false,
21609
21649
  inline: this.inline,
@@ -21611,10 +21651,12 @@
21611
21651
  readonly: this.disabled,
21612
21652
  plugins: this.plugins || this.defaultPlugins,
21613
21653
  toolbar: isNil(this.toolbar) ? this.defaultToolbar : this.toolbar,
21614
- fontsize_formats: '8px 10px 12px 14px 18px 24px 36px',
21654
+ font_size_formats: '8px 10px 12px 14px 18px 24px 36px',
21615
21655
  min_width: 480,
21616
21656
  menubar: false,
21617
21657
  autocomplete: this.autocompleteOptions,
21658
+ suffix: '.min',
21659
+ skin: 'tinymce-5',
21618
21660
  setup: function (editor) {
21619
21661
  _this.editor = editor;
21620
21662
  editor.on('init', function (e) {
@@ -21671,9 +21713,9 @@
21671
21713
  var DatoRichTextDirective_1;
21672
21714
  DatoRichTextDirective.ctorParameters = function () { return [
21673
21715
  { type: core.NgZone },
21674
- { type: http.HttpClient },
21675
- { type: core.ElementRef },
21676
- { type: undefined, decorators: [{ type: core.Inject, args: [DATO_CORE_CONFIG,] }] }
21716
+ { type: RichTextService },
21717
+ { type: undefined, decorators: [{ type: core.Inject, args: [DATO_CORE_CONFIG,] }] },
21718
+ { type: core.ElementRef }
21677
21719
  ]; };
21678
21720
  __decorate([
21679
21721
  core.Input(),
@@ -21739,10 +21781,9 @@
21739
21781
  }
21740
21782
  ]
21741
21783
  }),
21742
- __param(3, core.Inject(DATO_CORE_CONFIG)),
21784
+ __param(2, core.Inject(DATO_CORE_CONFIG)),
21743
21785
  __metadata("design:paramtypes", [core.NgZone,
21744
- http.HttpClient,
21745
- core.ElementRef, Object])
21786
+ RichTextService, Object, core.ElementRef])
21746
21787
  ], DatoRichTextDirective);
21747
21788
  return DatoRichTextDirective;
21748
21789
  }(BaseCustomControl));
@@ -24265,7 +24306,9 @@
24265
24306
  };
24266
24307
  DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
24267
24308
  var _this = this;
24268
- this.headerControl.valueChanges.pipe(operators.debounceTime(300), ngxTakeUntilDestroy.untilDestroyed(this)).subscribe(function (res) {
24309
+ this.headerControl.valueChanges
24310
+ .pipe(operators.debounceTime(300), ngxTakeUntilDestroy.untilDestroyed(this))
24311
+ .subscribe(function (res) {
24269
24312
  _this.updateEditableText.emit(res);
24270
24313
  _this.cdr.detectChanges();
24271
24314
  });
@@ -25071,10 +25114,10 @@
25071
25114
  DatoProgressBarComponent = __decorate([
25072
25115
  core.Component({
25073
25116
  selector: 'dato-progress-bar',
25074
- template: "<div class=\"bar d-flex width-100 overflow-hidden\"\n [style.width]=\"width\"\n [class]=\"barColor + '-background-color'\">\n <div *ngFor=\"let part of parts; index as i\"\n class=\"part height-100\"\n [ngClass]=\"part.color ? part.color + '-background-color' : ''\"\n [style.width]=\"i > 0 ? 'calc(' + part.percent + '% + 8px)' : part.percent + '%'\"\n [style.z-index]=\"100 - i\"\n [datoTooltipV2]=\"part.tooltip\">\n </div>\n</div>\n\n<ng-content></ng-content>\n\n<div *ngIf=\"showLegend\" class=\"d-flex mt-12\">\n <div *ngFor=\"let part of parts; index as i\" class=\"d-flex mr-16\">\n <div class=\"d-flex dato-note primary-400-color\">\n <div class=\"legend-color mr-6\" [ngClass]=\"part.color ? part.color + '-background-color' : ''\"></div>\n <div>{{ part.legendLabel || part.tooltip }}</div>\n </div>\n </div>\n</div>\n",
25117
+ template: "<div class=\"bar d-flex width-100 overflow-hidden\"\n [style.width]=\"width\"\n [class]=\"barColor + '-background-color'\">\n <div *ngFor=\"let part of parts; index as i\"\n class=\"part height-100\"\n [ngClass]=\"part.color ? part.color + '-background-color' : ''\"\n [style.width]=\"i > 0 ? 'calc(' + part.percent + '% + 8px)' : part.percent + '%'\"\n [style.z-index]=\"100 - i\"\n [datoTooltipV2]=\"part.tooltip\">\n </div>\n</div>\n\n<ng-content></ng-content>\n\n<div *ngIf=\"showLegend\" class=\"d-flex mt-12\">\n <div *ngFor=\"let part of parts; index as i\" class=\"d-flex mr-16\">\n <div class=\"d-flex items-center dato-note primary-400-color\">\n <div class=\"legend-color mr-4\" [ngClass]=\"part.color ? part.color + '-background-color' : ''\"></div>\n <div>{{ part.legendLabel || part.tooltip }}</div>\n <div class=\"primary-300-color ml-3\" *ngIf=\"part.legendSecondaryLabel\">{{ part.legendSecondaryLabel }}</div>\n </div>\n </div>\n</div>\n",
25075
25118
  changeDetection: core.ChangeDetectionStrategy.OnPush,
25076
25119
  encapsulation: core.ViewEncapsulation.None,
25077
- styles: ["dato-progress-bar .bar{height:8px;border-radius:4px}dato-progress-bar .part{border-radius:0 4px 4px 0}dato-progress-bar .part:not(:first-child){margin-left:-8px}dato-progress-bar .legend-color{width:16px;height:16px;min-width:16px;border-radius:50%}"]
25120
+ styles: ["dato-progress-bar .bar{height:8px;border-radius:4px}dato-progress-bar .part{border-radius:0 4px 4px 0}dato-progress-bar .part:not(:first-child){margin-left:-8px}dato-progress-bar .legend-color{width:8px;height:8px;min-width:8px;border-radius:50%}"]
25078
25121
  }),
25079
25122
  __metadata("design:paramtypes", [core.ChangeDetectorRef])
25080
25123
  ], DatoProgressBarComponent);
@@ -25628,7 +25671,7 @@
25628
25671
  };
25629
25672
  }
25630
25673
 
25631
- window.coreVersion = '22.12.1';
25674
+ window.coreVersion = '22.13.2-rc.';
25632
25675
 
25633
25676
  exports.APP_TRANSLATE = APP_TRANSLATE;
25634
25677
  exports.AceService = AceService;
@@ -26070,6 +26113,7 @@
26070
26113
  exports.ɵl = DatoGridItemsCountCellComponent;
26071
26114
  exports.ɵm = DatoGridV2ToolbarMoreMenuComponent;
26072
26115
  exports.ɵn = DatoGridSearchBarComponent;
26116
+ exports.ɵo = RichTextService;
26073
26117
 
26074
26118
  Object.defineProperty(exports, '__esModule', { value: true });
26075
26119