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