@datorama/core 22.10.9-rc.4 → 22.11.0
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 +63 -104
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +27 -27
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.d.ts +0 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/datorama-core.js +1 -2
- package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +2 -4
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +13 -30
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +3 -4
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -7
- package/esm2015/lib/rich-text/rich-text.directive.js +38 -20
- package/esm2015/lib/select/select.component.js +9 -4
- package/esm2015/lib/version.js +2 -2
- package/esm5/datorama-core.js +1 -2
- package/esm5/lib/breadcrumbs/breadcrumbs.component.js +2 -4
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +15 -29
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.service.js +3 -4
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -13
- package/esm5/lib/rich-text/rich-text.directive.js +39 -21
- package/esm5/lib/select/select.component.js +9 -4
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +61 -97
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +64 -104
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/grid-v2/grid/grid-v2.types.d.ts +0 -1
- package/lib/grid-v2/grid-controller/grid-controller.component.d.ts +0 -1
- package/lib/grid-v2/grid-settings.d.ts +2 -2
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +0 -2
- package/lib/rich-text/rich-text.directive.d.ts +6 -4
- package/package.json +1 -1
- package/esm2015/lib/rich-text/rich-text.service.js +0 -50
- package/esm5/lib/rich-text/rich-text.service.js +0 -51
- package/lib/rich-text/rich-text.service.d.ts +0 -10
package/fesm5/datorama-core.js
CHANGED
|
@@ -8549,8 +8549,9 @@ 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;
|
|
8552
8553
|
this.markAsActive(this._model, { deselectAll: true });
|
|
8553
|
-
|
|
8554
|
+
overTheLimit && this.updateDisabledState();
|
|
8554
8555
|
}
|
|
8555
8556
|
/** For later updates */
|
|
8556
8557
|
this.cdr.markForCheck();
|
|
@@ -8678,6 +8679,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8678
8679
|
};
|
|
8679
8680
|
DatoSelectComponent.prototype.removeOption = function (option) {
|
|
8680
8681
|
var _this = this;
|
|
8682
|
+
var updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
|
|
8681
8683
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== option[_this.idKey]; });
|
|
8682
8684
|
var optionToRemove = this.options.find(function (datoOption) { return datoOption.option && datoOption.option[_this.idKey] === option[_this.idKey]; });
|
|
8683
8685
|
/**
|
|
@@ -8687,7 +8689,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8687
8689
|
if (optionToRemove) {
|
|
8688
8690
|
optionToRemove.active = false;
|
|
8689
8691
|
}
|
|
8690
|
-
|
|
8692
|
+
updateDisabled && this.updateDisabledState();
|
|
8691
8693
|
this.onChange(this._model);
|
|
8692
8694
|
this.cdr.markForCheck();
|
|
8693
8695
|
this.asyncUpdateDropdownPosition();
|
|
@@ -9035,6 +9037,9 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9035
9037
|
if (!datoOption) {
|
|
9036
9038
|
return;
|
|
9037
9039
|
}
|
|
9040
|
+
var modelLength = this._model.length;
|
|
9041
|
+
var updateDisabled = this.limitSelectedTo &&
|
|
9042
|
+
(modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
|
|
9038
9043
|
datoOption.active = !datoOption.active;
|
|
9039
9044
|
var rawOption = datoOption.option;
|
|
9040
9045
|
if (datoOption.active) {
|
|
@@ -9043,7 +9048,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9043
9048
|
else {
|
|
9044
9049
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== rawOption[_this.idKey]; });
|
|
9045
9050
|
}
|
|
9046
|
-
|
|
9051
|
+
updateDisabled && this.updateDisabledState();
|
|
9047
9052
|
this.onChange(this._model);
|
|
9048
9053
|
this.cdr.markForCheck();
|
|
9049
9054
|
this.asyncUpdateDropdownPosition();
|
|
@@ -11848,7 +11853,7 @@ function toolbarActionToContextAction(params) {
|
|
|
11848
11853
|
return contextActions;
|
|
11849
11854
|
}
|
|
11850
11855
|
|
|
11851
|
-
var DATO_GRID_STORAGE_API = new InjectionToken('
|
|
11856
|
+
var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
|
|
11852
11857
|
|
|
11853
11858
|
var defaultEditableColumnRenderer = function (params) {
|
|
11854
11859
|
return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
|
|
@@ -14146,7 +14151,7 @@ var GridService = /** @class */ (function () {
|
|
|
14146
14151
|
var _a = params.node, leafGroup = _a.leafGroup, childIndex = _a.childIndex, rowGroupIndex = _a.rowGroupIndex;
|
|
14147
14152
|
var gridQuery = params.colDef.headerComponentParams.gridQuery;
|
|
14148
14153
|
var cellClass = "";
|
|
14149
|
-
if (gridQuery) {
|
|
14154
|
+
if (gridQuery && gridQuery.api) {
|
|
14150
14155
|
var columns = gridQuery.api.columns;
|
|
14151
14156
|
var allDisplayedColumns = columns.getAllDisplayedColumns();
|
|
14152
14157
|
var col = allDisplayedColumns.find(function (column) {
|
|
@@ -14470,8 +14475,7 @@ var GridService = /** @class */ (function () {
|
|
|
14470
14475
|
this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
|
|
14471
14476
|
};
|
|
14472
14477
|
GridService.prototype.saveSettingsToServer = function (settings) {
|
|
14473
|
-
|
|
14474
|
-
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
14478
|
+
this.storageAPI.set(this.gridName, settings);
|
|
14475
14479
|
};
|
|
14476
14480
|
/**
|
|
14477
14481
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -15459,7 +15463,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15459
15463
|
});
|
|
15460
15464
|
DatoGridControllerComponent.prototype.ngOnDestroy = function () {
|
|
15461
15465
|
this.contentInit.complete();
|
|
15462
|
-
this.clearTooltip();
|
|
15466
|
+
this.tooltip && this.clearTooltip();
|
|
15463
15467
|
this.rowHoverComponent && this.rowHoverComponent.destroy();
|
|
15464
15468
|
this.rowHoverComponent = null;
|
|
15465
15469
|
};
|
|
@@ -15476,10 +15480,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15476
15480
|
.pipe(switchMap(function () {
|
|
15477
15481
|
_this.gridOptions = _this.normalizeOptions();
|
|
15478
15482
|
agGrid.gridOptions = _this.gridOptions;
|
|
15479
|
-
var
|
|
15480
|
-
var settingsLoader = _this.gridOptions.saveSettings === false
|
|
15481
|
-
? of(null)
|
|
15482
|
-
: _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
|
|
15483
|
+
var settingsLoader = _this.gridOptions.saveSettings === false ? of(null) : _this.storageAPI.get(_this.gridOptions.gridName);
|
|
15483
15484
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
15484
15485
|
}), untilDestroyed(this))
|
|
15485
15486
|
.subscribe(function (_a) {
|
|
@@ -15689,51 +15690,40 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15689
15690
|
});
|
|
15690
15691
|
this.addOnHoverElement();
|
|
15691
15692
|
}
|
|
15692
|
-
agGrid.cellMouseOver
|
|
15693
|
-
|
|
15694
|
-
|
|
15695
|
-
|
|
15696
|
-
|
|
15697
|
-
|
|
15698
|
-
lastHoveredCell = node.id + "-" + column.getColId();
|
|
15693
|
+
agGrid.cellMouseOver
|
|
15694
|
+
.pipe(filter$1(function (_a) {
|
|
15695
|
+
var node = _a.node, column = _a.column;
|
|
15696
|
+
return lastHoveredCell !== node.id + "-" + column.getColId();
|
|
15697
|
+
}), untilDestroyed(this))
|
|
15698
|
+
.subscribe(function (event) {
|
|
15699
|
+
lastHoveredCell = event.node.id + "-" + event.column.getColId();
|
|
15699
15700
|
_this.showTooltip(event);
|
|
15700
15701
|
var row = event.event.target.parentElement;
|
|
15701
|
-
if (onHoverEnabled && (node.group === false || isNil(node.group)) && _this.lastHoveredRow !== row) {
|
|
15702
|
+
if (onHoverEnabled && (event.node.group === false || isNil(event.node.group)) && _this.lastHoveredRow !== row) {
|
|
15702
15703
|
var previousNode = _this.lastHoveredRow;
|
|
15703
15704
|
_this.lastHoveredRow = row;
|
|
15704
15705
|
_this.toggleRowHoverClass([previousNode, _this.lastHoveredRow]);
|
|
15705
15706
|
_this.setOnHoverState(true, event);
|
|
15706
15707
|
}
|
|
15707
15708
|
});
|
|
15708
|
-
var onTooltipOut = merge$1(fromEvent(bodyViewport, 'scroll'), fromEvent(this.agGridEl, 'mouseleave'));
|
|
15709
|
-
onTooltipOut
|
|
15710
|
-
lastHoveredCell = null;
|
|
15711
|
-
_this.clearTooltip();
|
|
15712
|
-
});
|
|
15713
|
-
agGrid.cellMouseOut
|
|
15709
|
+
var onTooltipOut = merge$1(fromEvent(bodyViewport, 'scroll'), fromEvent(this.agGridEl, 'mouseleave'), agGrid.cellMouseOut);
|
|
15710
|
+
onTooltipOut
|
|
15714
15711
|
.pipe(filter$1(function () { return !isNil(_this.tooltip); }), untilDestroyed(this))
|
|
15715
15712
|
.subscribe(function () {
|
|
15716
|
-
_this.
|
|
15713
|
+
_this.clearTooltip();
|
|
15717
15714
|
});
|
|
15718
15715
|
};
|
|
15719
15716
|
/**
|
|
15720
15717
|
* Dispose the tooltip
|
|
15721
15718
|
*/
|
|
15722
15719
|
DatoGridControllerComponent.prototype.clearTooltip = function () {
|
|
15723
|
-
this.tooltip
|
|
15720
|
+
this.tooltip.dispose();
|
|
15724
15721
|
this.tooltip = null;
|
|
15725
15722
|
};
|
|
15726
15723
|
DatoGridControllerComponent.prototype.showTooltip = function (event) {
|
|
15727
15724
|
var cell = event.event.target;
|
|
15728
|
-
if (cell.tagName === 'SPAN' && cell.scrollWidth === 0) {
|
|
15729
|
-
cell = cell.parentElement;
|
|
15730
|
-
}
|
|
15731
|
-
if (event.colDef.editable) {
|
|
15732
|
-
cell = cell.querySelector('.value-wrapper') || cell;
|
|
15733
|
-
}
|
|
15734
15725
|
var textOverflow = cell.offsetWidth < cell.scrollWidth;
|
|
15735
15726
|
if (textOverflow) {
|
|
15736
|
-
clearTimeout(this.cellMouseOutTimer);
|
|
15737
15727
|
var params = { cell: cell, value: cell.innerText };
|
|
15738
15728
|
isNil(this.tooltip) ? this.createAndShowTooltip(params) : this.updateTooltip(params);
|
|
15739
15729
|
}
|
|
@@ -16774,18 +16764,6 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
|
|
|
16774
16764
|
this.registerGroupListeners();
|
|
16775
16765
|
this.subscribeRowsSelectionData();
|
|
16776
16766
|
};
|
|
16777
|
-
DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
|
|
16778
|
-
var _this = this;
|
|
16779
|
-
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16780
|
-
return _this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16781
|
-
});
|
|
16782
|
-
};
|
|
16783
|
-
DatoGridV2ToolbarComponent.prototype.getRowDataUpdatedEvent = function () {
|
|
16784
|
-
var _this = this;
|
|
16785
|
-
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16786
|
-
return _this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16787
|
-
});
|
|
16788
|
-
};
|
|
16789
16767
|
DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
|
|
16790
16768
|
if (isFunction(action.onClick)) {
|
|
16791
16769
|
var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -21273,40 +21251,6 @@ var DatoEditableHeaderModule = /** @class */ (function () {
|
|
|
21273
21251
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
21274
21252
|
*/
|
|
21275
21253
|
|
|
21276
|
-
var RichTextService = /** @class */ (function () {
|
|
21277
|
-
function RichTextService(http, config) {
|
|
21278
|
-
this.http = http;
|
|
21279
|
-
this.config = config;
|
|
21280
|
-
}
|
|
21281
|
-
RichTextService.prototype.getLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21282
|
-
if (!this.richTextScript$) {
|
|
21283
|
-
this.initLib(appendScriptFunc, appendStyleFunc);
|
|
21284
|
-
}
|
|
21285
|
-
return this.richTextScript$;
|
|
21286
|
-
};
|
|
21287
|
-
RichTextService.prototype.initLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21288
|
-
this.richTextScript$ = combineLatest([
|
|
21289
|
-
this.http
|
|
21290
|
-
.get(this.config.paths.richText + "/index.js", { responseType: 'text' })
|
|
21291
|
-
.pipe(tap(function (lib) { return appendScriptFunc(lib, 'rich-text-editor'); })),
|
|
21292
|
-
this.http
|
|
21293
|
-
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21294
|
-
.pipe(tap(function (style) { return appendStyleFunc(style, 'tinymce-autocomplete'); }))
|
|
21295
|
-
]).pipe(shareReplay(1));
|
|
21296
|
-
};
|
|
21297
|
-
RichTextService.ctorParameters = function () { return [
|
|
21298
|
-
{ type: HttpClient },
|
|
21299
|
-
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21300
|
-
]; };
|
|
21301
|
-
RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
|
|
21302
|
-
RichTextService = __decorate([
|
|
21303
|
-
Injectable({ providedIn: 'root' }),
|
|
21304
|
-
__param(1, Inject(DATO_CORE_CONFIG)),
|
|
21305
|
-
__metadata("design:paramtypes", [HttpClient, Object])
|
|
21306
|
-
], RichTextService);
|
|
21307
|
-
return RichTextService;
|
|
21308
|
-
}());
|
|
21309
|
-
|
|
21310
21254
|
/**
|
|
21311
21255
|
* @license
|
|
21312
21256
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -21320,20 +21264,20 @@ var getTinymce = function () {
|
|
|
21320
21264
|
var ɵ0$3 = getTinymce;
|
|
21321
21265
|
var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
21322
21266
|
__extends(DatoRichTextDirective, _super);
|
|
21323
|
-
function DatoRichTextDirective(ngZone,
|
|
21267
|
+
function DatoRichTextDirective(ngZone, http, host, config) {
|
|
21324
21268
|
var _this = _super.call(this) || this;
|
|
21325
21269
|
_this.ngZone = ngZone;
|
|
21326
|
-
_this.
|
|
21327
|
-
_this.config = config;
|
|
21270
|
+
_this.http = http;
|
|
21328
21271
|
_this.host = host;
|
|
21272
|
+
_this.config = config;
|
|
21329
21273
|
_this.autocompleteOptions = {};
|
|
21330
21274
|
_this.forcePlainTextPasting = false;
|
|
21331
21275
|
_this.format = 'html';
|
|
21332
21276
|
_this.isOneLine = false;
|
|
21333
21277
|
_this.initialValue = '';
|
|
21334
|
-
_this.defaultPlugins = 'link fullscreen image lists table autocomplete';
|
|
21278
|
+
_this.defaultPlugins = 'link fullscreen textcolor colorpicker image lists table textpattern autocomplete';
|
|
21335
21279
|
_this.defaultToolbar = [
|
|
21336
|
-
'
|
|
21280
|
+
'fontselect fontsizeselect forecolor backcolor bold italic underline link',
|
|
21337
21281
|
'alignleft aligncenter alignright alignjustify outdent indent | table numlist bullist | image fullscreen'
|
|
21338
21282
|
];
|
|
21339
21283
|
return _this;
|
|
@@ -21359,11 +21303,28 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21359
21303
|
base: this.config.paths.richText,
|
|
21360
21304
|
query: ''
|
|
21361
21305
|
};
|
|
21362
|
-
|
|
21363
|
-
|
|
21364
|
-
|
|
21365
|
-
|
|
21366
|
-
|
|
21306
|
+
/**
|
|
21307
|
+
* We support only one instance in load time
|
|
21308
|
+
*/
|
|
21309
|
+
if (window.tinymce) {
|
|
21310
|
+
this.init.call(this);
|
|
21311
|
+
}
|
|
21312
|
+
else {
|
|
21313
|
+
this.loadLib().subscribe(function (lib) {
|
|
21314
|
+
appendScript(lib, 'rich-text-editor');
|
|
21315
|
+
_this.init.call(_this);
|
|
21316
|
+
_this.loadAutoCompleteStyle();
|
|
21317
|
+
});
|
|
21318
|
+
}
|
|
21319
|
+
};
|
|
21320
|
+
DatoRichTextDirective.prototype.loadLib = function () {
|
|
21321
|
+
return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
|
|
21322
|
+
};
|
|
21323
|
+
DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
|
|
21324
|
+
this.http
|
|
21325
|
+
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21326
|
+
.subscribe(function (style) {
|
|
21327
|
+
appendStyle(style, 'tinymce-autocomplete');
|
|
21367
21328
|
});
|
|
21368
21329
|
};
|
|
21369
21330
|
DatoRichTextDirective.prototype.initEditor = function (_, editor) {
|
|
@@ -21387,6 +21348,8 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21387
21348
|
target: this.host.nativeElement,
|
|
21388
21349
|
width: this.width || 600,
|
|
21389
21350
|
height: this.height || 300,
|
|
21351
|
+
force_br_newlines: true,
|
|
21352
|
+
force_p_newlines: false,
|
|
21390
21353
|
resize: 'both',
|
|
21391
21354
|
branding: false,
|
|
21392
21355
|
inline: this.inline,
|
|
@@ -21394,12 +21357,10 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21394
21357
|
readonly: this.disabled,
|
|
21395
21358
|
plugins: this.plugins || this.defaultPlugins,
|
|
21396
21359
|
toolbar: isNil(this.toolbar) ? this.defaultToolbar : this.toolbar,
|
|
21397
|
-
|
|
21360
|
+
fontsize_formats: '8px 10px 12px 14px 18px 24px 36px',
|
|
21398
21361
|
min_width: 480,
|
|
21399
21362
|
menubar: false,
|
|
21400
21363
|
autocomplete: this.autocompleteOptions,
|
|
21401
|
-
suffix: '.min',
|
|
21402
|
-
skin: 'tinymce-5',
|
|
21403
21364
|
setup: function (editor) {
|
|
21404
21365
|
_this.editor = editor;
|
|
21405
21366
|
editor.on('init', function (e) {
|
|
@@ -21456,9 +21417,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21456
21417
|
var DatoRichTextDirective_1;
|
|
21457
21418
|
DatoRichTextDirective.ctorParameters = function () { return [
|
|
21458
21419
|
{ type: NgZone },
|
|
21459
|
-
{ type:
|
|
21460
|
-
{ type:
|
|
21461
|
-
{ type:
|
|
21420
|
+
{ type: HttpClient },
|
|
21421
|
+
{ type: ElementRef },
|
|
21422
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21462
21423
|
]; };
|
|
21463
21424
|
__decorate([
|
|
21464
21425
|
Input(),
|
|
@@ -21524,9 +21485,10 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21524
21485
|
}
|
|
21525
21486
|
]
|
|
21526
21487
|
}),
|
|
21527
|
-
__param(
|
|
21488
|
+
__param(3, Inject(DATO_CORE_CONFIG)),
|
|
21528
21489
|
__metadata("design:paramtypes", [NgZone,
|
|
21529
|
-
|
|
21490
|
+
HttpClient,
|
|
21491
|
+
ElementRef, Object])
|
|
21530
21492
|
], DatoRichTextDirective);
|
|
21531
21493
|
return DatoRichTextDirective;
|
|
21532
21494
|
}(BaseCustomControl));
|
|
@@ -24049,9 +24011,7 @@ var DatoBreadcrumbsComponent = /** @class */ (function () {
|
|
|
24049
24011
|
};
|
|
24050
24012
|
DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
|
|
24051
24013
|
var _this = this;
|
|
24052
|
-
this.headerControl.valueChanges
|
|
24053
|
-
.pipe(debounceTime(300), untilDestroyed(this))
|
|
24054
|
-
.subscribe(function (res) {
|
|
24014
|
+
this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe(function (res) {
|
|
24055
24015
|
_this.updateEditableText.emit(res);
|
|
24056
24016
|
_this.cdr.detectChanges();
|
|
24057
24017
|
});
|
|
@@ -25414,7 +25374,7 @@ function fixNgLeaks() {
|
|
|
25414
25374
|
};
|
|
25415
25375
|
}
|
|
25416
25376
|
|
|
25417
|
-
window.coreVersion = '22.
|
|
25377
|
+
window.coreVersion = '22.11.0';
|
|
25418
25378
|
|
|
25419
25379
|
/**
|
|
25420
25380
|
* @license
|
|
@@ -25428,5 +25388,5 @@ window.coreVersion = '22.10.9-rc.';
|
|
|
25428
25388
|
* Generated bundle index. Do not edit.
|
|
25429
25389
|
*/
|
|
25430
25390
|
|
|
25431
|
-
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
|
|
25391
|
+
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 };
|
|
25432
25392
|
//# sourceMappingURL=datorama-core.js.map
|