@datorama/core 22.0.4-rc.3 → 22.0.5
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/bundle.scss +13 -13
- package/bundles/datorama-core.umd.js +72 -78
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +14 -14
- 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 +8 -6
- package/esm2015/lib/grid-v2/grid-filter/filter-validator.js +3 -1
- package/esm2015/lib/grid-v2/grid-filter/grid-filter.component.js +12 -4
- package/esm2015/lib/grid-v2/grid-filter/grid-filter.types.js +3 -1
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +9 -3
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -7
- package/esm2015/lib/icon/icon.types.js +1 -1
- package/esm2015/lib/rich-text/rich-text.directive.js +33 -15
- package/esm2015/lib/select/select.component.js +10 -5
- 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 +8 -6
- package/esm5/lib/grid-v2/grid-filter/filter-validator.js +3 -1
- package/esm5/lib/grid-v2/grid-filter/grid-filter.component.js +12 -4
- package/esm5/lib/grid-v2/grid-filter/grid-filter.types.js +3 -1
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.service.js +9 -3
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -13
- package/esm5/lib/icon/icon.types.js +1 -1
- package/esm5/lib/rich-text/rich-text.directive.js +34 -16
- package/esm5/lib/select/select.component.js +10 -5
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +72 -70
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +73 -78
- package/fesm5/datorama-core.js.map +1 -1
- package/i18n/locale-en_US.json +2 -0
- package/lib/grid-v2/grid/grid-v2.types.d.ts +0 -1
- package/lib/grid-v2/grid-filter/grid-filter.types.d.ts +3 -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/icon/icon.types.d.ts +1 -1
- package/lib/rich-text/rich-text.directive.d.ts +6 -4
- package/package.json +2 -2
- 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
|
@@ -8430,8 +8430,9 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8430
8430
|
DatoSelectComponent.prototype.writeValue = function (activeOptions) {
|
|
8431
8431
|
this._model = activeOptions ? coerceArray$1(activeOptions) : [];
|
|
8432
8432
|
if (this.options) {
|
|
8433
|
+
var overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
|
|
8433
8434
|
this.markAsActive(this._model, { deselectAll: true });
|
|
8434
|
-
|
|
8435
|
+
overTheLimit && this.updateDisabledState();
|
|
8435
8436
|
}
|
|
8436
8437
|
/** For later updates */
|
|
8437
8438
|
this.cdr.markForCheck();
|
|
@@ -8468,7 +8469,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8468
8469
|
*/
|
|
8469
8470
|
if (this.hasValue && this._initialOpen) {
|
|
8470
8471
|
this.markAsActive(this._model);
|
|
8471
|
-
if (this.limitSelectedTo) {
|
|
8472
|
+
if (this.limitSelectedTo && this._model.length === this.limitSelectedTo) {
|
|
8472
8473
|
this.updateDisabledState();
|
|
8473
8474
|
}
|
|
8474
8475
|
this._initialOpen = false;
|
|
@@ -8557,6 +8558,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8557
8558
|
};
|
|
8558
8559
|
DatoSelectComponent.prototype.removeOption = function (option) {
|
|
8559
8560
|
var _this = this;
|
|
8561
|
+
var updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
|
|
8560
8562
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== option[_this.idKey]; });
|
|
8561
8563
|
var optionToRemove = this.options.find(function (datoOption) { return datoOption.option && datoOption.option[_this.idKey] === option[_this.idKey]; });
|
|
8562
8564
|
/**
|
|
@@ -8566,7 +8568,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8566
8568
|
if (optionToRemove) {
|
|
8567
8569
|
optionToRemove.active = false;
|
|
8568
8570
|
}
|
|
8569
|
-
|
|
8571
|
+
updateDisabled && this.updateDisabledState();
|
|
8570
8572
|
this.onChange(this._model);
|
|
8571
8573
|
this.cdr.markForCheck();
|
|
8572
8574
|
if (this.datoOverlay.attached) {
|
|
@@ -8916,6 +8918,9 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8916
8918
|
if (!datoOption) {
|
|
8917
8919
|
return;
|
|
8918
8920
|
}
|
|
8921
|
+
var modelLength = this._model.length;
|
|
8922
|
+
var updateDisabled = this.limitSelectedTo &&
|
|
8923
|
+
(modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
|
|
8919
8924
|
datoOption.active = !datoOption.active;
|
|
8920
8925
|
var rawOption = datoOption.option;
|
|
8921
8926
|
if (datoOption.active) {
|
|
@@ -8924,7 +8929,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8924
8929
|
else {
|
|
8925
8930
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== rawOption[_this.idKey]; });
|
|
8926
8931
|
}
|
|
8927
|
-
|
|
8932
|
+
updateDisabled && this.updateDisabledState();
|
|
8928
8933
|
this.onChange(this._model);
|
|
8929
8934
|
this.cdr.markForCheck();
|
|
8930
8935
|
this.datoOverlay.scheduleUpdate();
|
|
@@ -11541,6 +11546,8 @@ var DatoFilterConditions;
|
|
|
11541
11546
|
DatoFilterConditions["NOT_IN_LIST"] = "NOT_IN_LIST";
|
|
11542
11547
|
DatoFilterConditions["IS_EMPTY"] = "IS_EMPTY";
|
|
11543
11548
|
DatoFilterConditions["NOT_EMPTY"] = "NOT_EMPTY";
|
|
11549
|
+
DatoFilterConditions["IS_NULL"] = "IS_NULL";
|
|
11550
|
+
DatoFilterConditions["NOT_NULL"] = "NOT_NULL";
|
|
11544
11551
|
})(DatoFilterConditions || (DatoFilterConditions = {}));
|
|
11545
11552
|
var DatoGridDateFilterOptions = [
|
|
11546
11553
|
DatoFilterConditions.IN_RANGE,
|
|
@@ -11624,8 +11631,10 @@ function validateNumberCondition(unparsedRowValue, _a, filterKey) {
|
|
|
11624
11631
|
case DatoFilterConditions.IN_RANGE:
|
|
11625
11632
|
return rowValue >= filterValue && rowValue <= parseFloat(rangeEnd);
|
|
11626
11633
|
case DatoFilterConditions.IS_EMPTY:
|
|
11634
|
+
case DatoFilterConditions.IS_NULL:
|
|
11627
11635
|
return isNil(rowValue);
|
|
11628
11636
|
case DatoFilterConditions.NOT_EMPTY:
|
|
11637
|
+
case DatoFilterConditions.NOT_NULL:
|
|
11629
11638
|
return !isNil(rowValue);
|
|
11630
11639
|
}
|
|
11631
11640
|
}
|
|
@@ -11811,7 +11820,7 @@ function toolbarActionToContextAction(params) {
|
|
|
11811
11820
|
return contextActions;
|
|
11812
11821
|
}
|
|
11813
11822
|
|
|
11814
|
-
var DATO_GRID_STORAGE_API = new InjectionToken('
|
|
11823
|
+
var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
|
|
11815
11824
|
|
|
11816
11825
|
var defaultEditableColumnRenderer = function (params) {
|
|
11817
11826
|
return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
|
|
@@ -12626,10 +12635,11 @@ var DatoGridFilterComponent = /** @class */ (function () {
|
|
|
12626
12635
|
var _a;
|
|
12627
12636
|
var _this = this;
|
|
12628
12637
|
var _b = this.popover.data, gridService = _b.gridService, gridQuery = _b.gridQuery;
|
|
12629
|
-
var _c = this.colDef, filter = _c.filter,
|
|
12638
|
+
var _c = this.colDef, filter = _c.filter, pivotValueColumn = _c.pivotValueColumn, pivotKeys = _c.pivotKeys;
|
|
12630
12639
|
var colDefs = gridQuery.api.columns.getAllColumns().map(function (column) { return column.getColDef(); });
|
|
12631
12640
|
this.colField = getColField(this.colDef);
|
|
12632
12641
|
var colDef = colDefs.find(function (colDef) { return colDef.field === _this.colField; });
|
|
12642
|
+
var filtersConfig = colDef.filtersConfig || this.colDef.filtersConfig || {};
|
|
12633
12643
|
var colFilter = filter || colDef.filter;
|
|
12634
12644
|
var filterOptions = DatoGridFilterOptionsMap[colFilter];
|
|
12635
12645
|
this.pivotColumn = gridQuery.api.columns.getSecondaryPivotColumn(pivotKeys, pivotValueColumn);
|
|
@@ -12651,7 +12661,11 @@ var DatoGridFilterComponent = /** @class */ (function () {
|
|
|
12651
12661
|
if (this.filterSections.Conditional) {
|
|
12652
12662
|
var filterConditions = filterOptions || DatoGridStringFilterOptions;
|
|
12653
12663
|
if (filtersConfig.showEmptyConditions) {
|
|
12654
|
-
|
|
12664
|
+
var emptyConditions = [DatoFilterConditions.IS_EMPTY, DatoFilterConditions.NOT_EMPTY];
|
|
12665
|
+
if (this.filterType === DatoGridFilterTypes.Number) {
|
|
12666
|
+
emptyConditions = [DatoFilterConditions.IS_NULL, DatoFilterConditions.NOT_NULL];
|
|
12667
|
+
}
|
|
12668
|
+
filterConditions = __spread(filterConditions, emptyConditions);
|
|
12655
12669
|
}
|
|
12656
12670
|
this.conditionalFilterOptions = filterConditions.map(function (operand, id) { return ({
|
|
12657
12671
|
id: id,
|
|
@@ -13042,7 +13056,10 @@ var DatoGridFilterComponent = /** @class */ (function () {
|
|
|
13042
13056
|
valueControl.updateValueAndValidity();
|
|
13043
13057
|
};
|
|
13044
13058
|
DatoGridFilterComponent.prototype.isEmptyOperand = function (operand) {
|
|
13045
|
-
return operand === DatoFilterConditions.IS_EMPTY ||
|
|
13059
|
+
return (operand === DatoFilterConditions.IS_EMPTY ||
|
|
13060
|
+
operand === DatoFilterConditions.NOT_EMPTY ||
|
|
13061
|
+
operand === DatoFilterConditions.IS_NULL ||
|
|
13062
|
+
operand === DatoFilterConditions.NOT_NULL);
|
|
13046
13063
|
};
|
|
13047
13064
|
DatoGridFilterComponent.prototype.isStringArray = function (value) {
|
|
13048
13065
|
return isString(value[0]);
|
|
@@ -14262,8 +14279,7 @@ var GridService = /** @class */ (function () {
|
|
|
14262
14279
|
this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
|
|
14263
14280
|
};
|
|
14264
14281
|
GridService.prototype.saveSettingsToServer = function (settings) {
|
|
14265
|
-
|
|
14266
|
-
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
14282
|
+
this.storageAPI.set(this.gridName, settings);
|
|
14267
14283
|
};
|
|
14268
14284
|
/**
|
|
14269
14285
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -14670,6 +14686,13 @@ var GridService = /** @class */ (function () {
|
|
|
14670
14686
|
column: column
|
|
14671
14687
|
};
|
|
14672
14688
|
}
|
|
14689
|
+
if (condition === DatoFilterConditions.IS_NULL || condition === DatoFilterConditions.NOT_NULL) {
|
|
14690
|
+
return {
|
|
14691
|
+
condition: DatoFilterConditions.IS_NULL,
|
|
14692
|
+
value: condition === DatoFilterConditions.IS_NULL ? 'true' : 'false',
|
|
14693
|
+
column: column
|
|
14694
|
+
};
|
|
14695
|
+
}
|
|
14673
14696
|
return __assign(__assign({}, item), { column: column });
|
|
14674
14697
|
})
|
|
14675
14698
|
};
|
|
@@ -15261,10 +15284,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15261
15284
|
.pipe(switchMap(function () {
|
|
15262
15285
|
_this.gridOptions = _this.normalizeOptions();
|
|
15263
15286
|
agGrid.gridOptions = _this.gridOptions;
|
|
15264
|
-
var
|
|
15265
|
-
var settingsLoader = _this.gridOptions.saveSettings === false
|
|
15266
|
-
? of(null)
|
|
15267
|
-
: _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
|
|
15287
|
+
var settingsLoader = _this.gridOptions.saveSettings === false ? of(null) : _this.storageAPI.get(_this.gridOptions.gridName);
|
|
15268
15288
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
15269
15289
|
}), untilDestroyed(this))
|
|
15270
15290
|
.subscribe(function (_a) {
|
|
@@ -15272,6 +15292,11 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15272
15292
|
if (!_this.gridOptions.rowData) {
|
|
15273
15293
|
api.showLoadingOverlay();
|
|
15274
15294
|
}
|
|
15295
|
+
if (!_this.gridOptions.statusBar) {
|
|
15296
|
+
/** Fix ag-grid bug that doesn't add ag-hidden class to the status bar, which only get fixed in later versions */
|
|
15297
|
+
var el = agGridEl.querySelector('.ag-status-bar');
|
|
15298
|
+
addClass(el, 'ag-hidden');
|
|
15299
|
+
}
|
|
15275
15300
|
var gridApi = { grid: api, columns: columnApi };
|
|
15276
15301
|
_this.gridService._setApi(gridApi, agGrid);
|
|
15277
15302
|
_this.gridQuery._setApi(gridApi, agGrid);
|
|
@@ -16539,18 +16564,6 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
|
|
|
16539
16564
|
this.registerGroupListeners();
|
|
16540
16565
|
this.subscribeRowsSelectionData();
|
|
16541
16566
|
};
|
|
16542
|
-
DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
|
|
16543
|
-
var _this = this;
|
|
16544
|
-
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16545
|
-
return _this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16546
|
-
});
|
|
16547
|
-
};
|
|
16548
|
-
DatoGridV2ToolbarComponent.prototype.getRowDataUpdatedEvent = function () {
|
|
16549
|
-
var _this = this;
|
|
16550
|
-
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16551
|
-
return _this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16552
|
-
});
|
|
16553
|
-
};
|
|
16554
16567
|
DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
|
|
16555
16568
|
if (isFunction(action.onClick)) {
|
|
16556
16569
|
var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -21026,40 +21039,6 @@ var DatoEditableHeaderModule = /** @class */ (function () {
|
|
|
21026
21039
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
21027
21040
|
*/
|
|
21028
21041
|
|
|
21029
|
-
var RichTextService = /** @class */ (function () {
|
|
21030
|
-
function RichTextService(http, config) {
|
|
21031
|
-
this.http = http;
|
|
21032
|
-
this.config = config;
|
|
21033
|
-
}
|
|
21034
|
-
RichTextService.prototype.getLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21035
|
-
if (!this.richTextScript$) {
|
|
21036
|
-
this.initLib(appendScriptFunc, appendStyleFunc);
|
|
21037
|
-
}
|
|
21038
|
-
return this.richTextScript$;
|
|
21039
|
-
};
|
|
21040
|
-
RichTextService.prototype.initLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21041
|
-
this.richTextScript$ = combineLatest([
|
|
21042
|
-
this.http
|
|
21043
|
-
.get(this.config.paths.richText + "/index.js", { responseType: 'text' })
|
|
21044
|
-
.pipe(tap(function (lib) { return appendScriptFunc(lib, 'rich-text-editor'); })),
|
|
21045
|
-
this.http
|
|
21046
|
-
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21047
|
-
.pipe(tap(function (style) { return appendStyleFunc(style, 'tinymce-autocomplete'); }))
|
|
21048
|
-
]).pipe(shareReplay(1));
|
|
21049
|
-
};
|
|
21050
|
-
RichTextService.ctorParameters = function () { return [
|
|
21051
|
-
{ type: HttpClient },
|
|
21052
|
-
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21053
|
-
]; };
|
|
21054
|
-
RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
|
|
21055
|
-
RichTextService = __decorate([
|
|
21056
|
-
Injectable({ providedIn: 'root' }),
|
|
21057
|
-
__param(1, Inject(DATO_CORE_CONFIG)),
|
|
21058
|
-
__metadata("design:paramtypes", [HttpClient, Object])
|
|
21059
|
-
], RichTextService);
|
|
21060
|
-
return RichTextService;
|
|
21061
|
-
}());
|
|
21062
|
-
|
|
21063
21042
|
/**
|
|
21064
21043
|
* @license
|
|
21065
21044
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -21073,12 +21052,12 @@ var getTinymce = function () {
|
|
|
21073
21052
|
var ɵ0$3 = getTinymce;
|
|
21074
21053
|
var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
21075
21054
|
__extends(DatoRichTextDirective, _super);
|
|
21076
|
-
function DatoRichTextDirective(ngZone,
|
|
21055
|
+
function DatoRichTextDirective(ngZone, http, host, config) {
|
|
21077
21056
|
var _this = _super.call(this) || this;
|
|
21078
21057
|
_this.ngZone = ngZone;
|
|
21079
|
-
_this.
|
|
21080
|
-
_this.config = config;
|
|
21058
|
+
_this.http = http;
|
|
21081
21059
|
_this.host = host;
|
|
21060
|
+
_this.config = config;
|
|
21082
21061
|
_this.autocompleteOptions = {};
|
|
21083
21062
|
_this.forcePlainTextPasting = false;
|
|
21084
21063
|
_this.format = 'html';
|
|
@@ -21112,11 +21091,28 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21112
21091
|
base: this.config.paths.richText,
|
|
21113
21092
|
query: ''
|
|
21114
21093
|
};
|
|
21115
|
-
|
|
21116
|
-
|
|
21117
|
-
|
|
21118
|
-
|
|
21119
|
-
|
|
21094
|
+
/**
|
|
21095
|
+
* We support only one instance in load time
|
|
21096
|
+
*/
|
|
21097
|
+
if (window.tinymce) {
|
|
21098
|
+
this.init.call(this);
|
|
21099
|
+
}
|
|
21100
|
+
else {
|
|
21101
|
+
this.loadLib().subscribe(function (lib) {
|
|
21102
|
+
appendScript(lib, 'rich-text-editor');
|
|
21103
|
+
_this.init.call(_this);
|
|
21104
|
+
_this.loadAutoCompleteStyle();
|
|
21105
|
+
});
|
|
21106
|
+
}
|
|
21107
|
+
};
|
|
21108
|
+
DatoRichTextDirective.prototype.loadLib = function () {
|
|
21109
|
+
return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
|
|
21110
|
+
};
|
|
21111
|
+
DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
|
|
21112
|
+
this.http
|
|
21113
|
+
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21114
|
+
.subscribe(function (style) {
|
|
21115
|
+
appendStyle(style, 'tinymce-autocomplete');
|
|
21120
21116
|
});
|
|
21121
21117
|
};
|
|
21122
21118
|
DatoRichTextDirective.prototype.initEditor = function (_, editor) {
|
|
@@ -21209,9 +21205,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21209
21205
|
var DatoRichTextDirective_1;
|
|
21210
21206
|
DatoRichTextDirective.ctorParameters = function () { return [
|
|
21211
21207
|
{ type: NgZone },
|
|
21212
|
-
{ type:
|
|
21213
|
-
{ type:
|
|
21214
|
-
{ type:
|
|
21208
|
+
{ type: HttpClient },
|
|
21209
|
+
{ type: ElementRef },
|
|
21210
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21215
21211
|
]; };
|
|
21216
21212
|
__decorate([
|
|
21217
21213
|
Input(),
|
|
@@ -21277,9 +21273,10 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21277
21273
|
}
|
|
21278
21274
|
]
|
|
21279
21275
|
}),
|
|
21280
|
-
__param(
|
|
21276
|
+
__param(3, Inject(DATO_CORE_CONFIG)),
|
|
21281
21277
|
__metadata("design:paramtypes", [NgZone,
|
|
21282
|
-
|
|
21278
|
+
HttpClient,
|
|
21279
|
+
ElementRef, Object])
|
|
21283
21280
|
], DatoRichTextDirective);
|
|
21284
21281
|
return DatoRichTextDirective;
|
|
21285
21282
|
}(BaseCustomControl));
|
|
@@ -23802,9 +23799,7 @@ var DatoBreadcrumbsComponent = /** @class */ (function () {
|
|
|
23802
23799
|
};
|
|
23803
23800
|
DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
|
|
23804
23801
|
var _this = this;
|
|
23805
|
-
this.headerControl.valueChanges
|
|
23806
|
-
.pipe(debounceTime(300), untilDestroyed(this))
|
|
23807
|
-
.subscribe(function (res) {
|
|
23802
|
+
this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe(function (res) {
|
|
23808
23803
|
_this.updateEditableText.emit(res);
|
|
23809
23804
|
_this.cdr.detectChanges();
|
|
23810
23805
|
});
|
|
@@ -25167,7 +25162,7 @@ function fixNgLeaks() {
|
|
|
25167
25162
|
};
|
|
25168
25163
|
}
|
|
25169
25164
|
|
|
25170
|
-
window.coreVersion = '22.
|
|
25165
|
+
window.coreVersion = '22.0.5';
|
|
25171
25166
|
|
|
25172
25167
|
/**
|
|
25173
25168
|
* @license
|
|
@@ -25181,5 +25176,5 @@ window.coreVersion = '22.1.3-rc.';
|
|
|
25181
25176
|
* Generated bundle index. Do not edit.
|
|
25182
25177
|
*/
|
|
25183
25178
|
|
|
25184
|
-
export { APP_TRANSLATE, AceService, BaseCustomControl, COMPARE_RESULT, CUSTOM_RANGE_ID, ColorPalette, ConfirmationType, ContentRef, ContentType, CustomHeaderControllerService, DATE_PICKER_CONFIG, DATE_PICKER_POPOVER_ID, DATO_CORE_LOGGER, DATO_FORM_ERRORS, DATO_GRID_STORAGE_API, DEFAULT_FORMAT, DEFAULT_GRID_SEARCH_DEBOUNCE_TIME, DatePickerConfig, DatePickerMonthComponent, DateType, DatoAccordionComponent, DatoAccordionContentComponent, DatoAccordionGroupComponent, DatoAccordionHeaderComponent, DatoAccordionModule, DatoAceDirective, DatoAceDraggableDirective, DatoAceModule, DatoActionType, DatoAutoCompleteContentDirective, DatoAutoFocusDirective, DatoAutocompleteComponent, DatoAutocompleteDirective, DatoAutocompleteModule, DatoBreadcrumbsComponent, DatoBreadcrumbsModule, DatoButtonComponent, DatoButtonGroupComponent, DatoButtonGroupModule, DatoButtonModule, DatoCamelCasePipe, DatoCarouselComponent, DatoCarouselItemDirective, DatoCarouselItemElement, DatoCarouselModule, DatoCheckboxComponent, DatoCheckboxModule, DatoClipboardDirective, DatoColorDirective, DatoConfirmationDialogComponent, DatoControlErrorComponent, DatoControlErrorContainerDirective, DatoControlErrorsDirective, DatoCoreError, DatoCoreModule, DatoCustomHeaderTemplateComponent, DatoCustomHeaderTemplateDirective, DatoCustomMoreMenuTemplateDirective, DatoDatePickerContainerComponent, DatoDatePickerModule, DatoDatePickerRangeComponent, DatoDatePickerSingleComponent, DatoDialog, DatoDialogCloseDirective, DatoDialogComponent, DatoDialogContentComponent, DatoDialogDismissDirective, DatoDialogFooterComponent, DatoDialogHeaderComponent, DatoDialogModule, DatoDialogRef, DatoDirectivesModule, DatoDisableControlDirective, DatoDraggableDirective, DatoDynamicContentComponent, DatoDynamicContentModule, DatoEditableHeaderComponent, DatoEditableHeaderModule, DatoFileInputComponent, DatoFileInputDefaultComponent, DatoFileInputModule, DatoFilterConditions, DatoFontDirective, DatoFontIconComponent, DatoFontIconModule, DatoFormSubmitDirective, DatoFormValidationModule, DatoGrid, DatoGridAPI, DatoGridAvatarCellComponent, DatoGridColumnDisplayMenuComponent, DatoGridColumnHeaderComponent, DatoGridColumnHeaderMoreMenuComponent, DatoGridColumnTypes, DatoGridComponent, DatoGridControllerComponent, DatoGridDateFilterOptions, DatoGridFilterComponent, DatoGridFilterOptionsMap, DatoGridFilterSections, DatoGridFilterTypes, DatoGridGroupsMenuComponent, DatoGridHeaderComponent, DatoGridHeaderV2Component, DatoGridInitialsCellComponent, DatoGridItemsCellComponent, DatoGridModule, DatoGridMoreMenuActions, DatoGridNumberFilterOptions, DatoGridOnHoverComponent, DatoGridPaginationComponent, DatoGridPaginationV2Component, DatoGridStatusCellComponent, DatoGridStringFilterOptions, DatoGridToolbarComponent, DatoGridToolbarItemDirective, DatoGridToolbarItemElementDirective, DatoGridV2Component, DatoGridV2LoaderComponent, DatoGridV2Module, DatoGridV2NoDataOverlayComponent, DatoGridV2ToolbarButtonComponent, DatoGridV2ToolbarComponent, DatoGroupComponent, DatoHighlightPipe, DatoHotkeys, DatoHotkeysDirective, DatoHotkeysHelpComponent, DatoHotkeysModule, DatoIconButtonComponent, DatoIconButtonModule, DatoIconComponent, DatoIconModule, DatoInfiniteScrollComponent, DatoInfiniteScrollModule, DatoInputComponent, DatoInputModule, DatoInputNumberComponent, DatoInputNumberDirective, DatoInputNumberModule, DatoKebabCasePipe, DatoLinkButtonComponent, DatoLinkButtonModule, DatoListComponent, DatoListModule, DatoListNoDataComponent, DatoListNoResultComponent, DatoListV2Component, DatoListV2Module, DatoLoaderComponent, DatoLoadersModule, DatoMenuComponent, DatoMenuContentDirective, DatoMenuItemDirective, DatoMenuModule, DatoMenuTriggerForDirective, DatoMultiOptionComponent, DatoMultiOptionV2Component, DatoOperatorTogglerComponent, DatoOperatorTogglerModule, DatoOptionComponent, DatoOptionV2Component, DatoOptionsModule, DatoOriginDirective, DatoOverlay, DatoPageLoaderComponent, DatoPanel, DatoPanelComponent, DatoPanelContentComponent, DatoPanelFooterComponent, DatoPanelHeaderComponent, DatoPanelInternalConfig, DatoPanelModule, DatoPanelRef, DatoPillsComponent, DatoPillsModule, DatoPipesModule, DatoPopover, DatoPopoverComponent, DatoPopoverModule, DatoProgressBarComponent, DatoProgressBarModule, DatoRadioComponent, DatoRadioModule, DatoRichTextDirective, DatoRichTextModule, DatoSearchResultsGroupSortPipe, DatoSearchResultsSortPipe, DatoSearchableContainerComponent, DatoSearchableDirective, DatoSearchableHighlightDirective, DatoSearchableModule, DatoSelectActiveDirective, DatoSelectComponent, DatoSelectEmptyComponent, DatoSelectModule, DatoSliderComponent, DatoSliderModule, DatoSnackbar, DatoSnackbarComponent, DatoSnackbarModule, DatoSortableComponent, DatoSortableHandleDirective, DatoSortableModule, DatoStaticImageSrcDirective, DatoStaticImagesSrcModule, DatoSubscribeContext, DatoSubscribeDirective, DatoTab, DatoTabContent, DatoTabTitle, DatoTabsModule, DatoTabset, DatoTemplatePortal, DatoTextModule, DatoThemesModule, DatoToast, DatoToastComponent, DatoToastModule, DatoTogglerComponent, DatoTogglerModule, DatoTooltipDirective, DatoTooltipV2Directive, DatoTrackByPropPipe, DatoTranslateService, DatoTreePipe, DatoTriggerMulti, DatoTriggerSingle, DialogConfig, DialogResultStatus, Dimensions, EventModifiersPlugin, GridActionType, GridMinWidths, GridRowSelectionType, GridToolbarService, ISO_FORMAT, IconRegistry, KeyCodes, KeyboardEventKeys, ListValueTypes, MockService, OperatorTypes, POPPER_BOUNDARY, PaletteDirective, PanelResultCloseTrigger, PillType, PopoverCloseDirective, PopoverContentDirective, PopoverRef, PopoverTrigger, ROOT_NODE_ID, RelativeDateType, RenderMethod, RowSelectionType, RowSelectionTypeV2, SELECT_MAX_HEIGHT, SUPPORTED_LOCALES, SelectType, SnackbarRef, SnackbarType, Store, SvgRegistry, ToolbarActionType, ToolbarArea, ToolbarConfirmation, ToolbarDeleteConfirmation, ToolbarHandler, TranslatePipe, Types, _valueChanges, a, addClass, addJSObjectCompletor, allowedFileTypes, alphabeticalGroupSort, alphabeticalSort, appendChild, appendScript, appendStyle, appendToBody, assertString, camelCase, capitalize, cloneDeep, closest, coerceArray, coerceElement, compareWith, compose, convertFromTreeData, convertToTreeData, copyToClipboard, createComponent, createElement, createGUID, createHTMLCompletor, curry, dateCompare, daysOfTheMonth, debounce, declarations$2 as declarations, deepEqual, deepmerge, defaultActions$1 as defaultActions, defaultConfig, defaultEditableColumnRenderer, defaultGridOptions, defaultGridTreeLabel, defaultOptionsDisplayLimit, defaultTreeOptions, dialogSizePreset, diff, difference, differenceBy, dimensionsChanges, directives, drop, editableCellRendererWithSearchHighlight, escape, escapeRegExp, filter, filterByControlValue, filterByTerm, filterDialogDismissed, filterDialogSuccess, filterGroupByControlValue, filterGroupByTerm, filterKey, find, findIndex, findKey, fixNgLeaks, forEach, formatKeys, generateMonths, get, getAttr, getCustomRange, getDateISOString, getDefaultConfirmationOptions, getDefaultOptions, getDefaultsToastOptions, getElementCoords, getFunctionName, getGridConfiguration, getGridModel, getInitials, getLocalizedFormat, getMultiTemplate, getOptionTemplate, getPopperDefaults, getUTCDate, getVisibleActions, gridTreeFilePathKey, groupBy, groupSortOrder, has, inView, intersection, invert, isArrayValuesEqual, isArrowUpDown, isBoolean, isEmpty, isEmptyString, isEnter, isEqual, isEscape, isFraction, isFunction, isMacintosh, isNil, isNumber, isObject, isRangeCondition, isRangeCustom, isString, isTestEnv, isValidMediaLink, kebabCase, keyBy, keysSymbols, last, map, mapKeys, mapValues, maxFileSize, merge, minBy, mockInDev, mocks, ngContentResolver, noop, normalizeData, omit, omitBy, optionalDebounce, pallete, parseDateString, partial, polling, prependChild, publicApi$1 as publicApi, query, queryAll, random, rawDiff, reject, relativeDateTypes, removeClass, resolveRange, round, searchHighlightCellRenderer, searchResultsGroupSort, searchResultsSort, setAttr, setAttribute, setDimensions, setEmptyFolderClass, setGridConfiguration, setGridModel, setMaxDimensions, setMinDimensions, setStyle, setStyles, size, sortBy, stubs, supportedLocales, tapLog, tapOnce, throttle, toBoolean, toFormData, toNumber, toResponseBody, toString, toggleClass, toolbarActionToContextAction, tryParsePivotValue, unescape, union, uniq, uniqBy, uploadProgress, validBase64Image, validUrl, validateCondition, validateDate, validateDateCondition, validateFilter, validateNumberCondition, validateRange, validateStringCondition, values, workerMap, zoneStable, ɵ0$2 as ɵ0, ɵ1$2 as ɵ1, ɵ2, DATO_CORE_CONFIG as ɵb, DatoGridHelper as ɵc, Popper as ɵd, GridQuery as ɵe, GridStore as ɵf, GridService as ɵg, DatoDateRangesFilterPipe as ɵh, ListStore as ɵi, DatoListSelectAllComponent as ɵj, DatoGridMultiSelectColumnHeaderComponent as ɵk, DatoGridItemsCountCellComponent as ɵl, DatoGridV2ToolbarMoreMenuComponent as ɵm, DatoGridSearchBarComponent as ɵn
|
|
25179
|
+
export { APP_TRANSLATE, AceService, BaseCustomControl, COMPARE_RESULT, CUSTOM_RANGE_ID, ColorPalette, ConfirmationType, ContentRef, ContentType, CustomHeaderControllerService, DATE_PICKER_CONFIG, DATE_PICKER_POPOVER_ID, DATO_CORE_LOGGER, DATO_FORM_ERRORS, DATO_GRID_STORAGE_API, DEFAULT_FORMAT, DEFAULT_GRID_SEARCH_DEBOUNCE_TIME, DatePickerConfig, DatePickerMonthComponent, DateType, DatoAccordionComponent, DatoAccordionContentComponent, DatoAccordionGroupComponent, DatoAccordionHeaderComponent, DatoAccordionModule, DatoAceDirective, DatoAceDraggableDirective, DatoAceModule, DatoActionType, DatoAutoCompleteContentDirective, DatoAutoFocusDirective, DatoAutocompleteComponent, DatoAutocompleteDirective, DatoAutocompleteModule, DatoBreadcrumbsComponent, DatoBreadcrumbsModule, DatoButtonComponent, DatoButtonGroupComponent, DatoButtonGroupModule, DatoButtonModule, DatoCamelCasePipe, DatoCarouselComponent, DatoCarouselItemDirective, DatoCarouselItemElement, DatoCarouselModule, DatoCheckboxComponent, DatoCheckboxModule, DatoClipboardDirective, DatoColorDirective, DatoConfirmationDialogComponent, DatoControlErrorComponent, DatoControlErrorContainerDirective, DatoControlErrorsDirective, DatoCoreError, DatoCoreModule, DatoCustomHeaderTemplateComponent, DatoCustomHeaderTemplateDirective, DatoCustomMoreMenuTemplateDirective, DatoDatePickerContainerComponent, DatoDatePickerModule, DatoDatePickerRangeComponent, DatoDatePickerSingleComponent, DatoDialog, DatoDialogCloseDirective, DatoDialogComponent, DatoDialogContentComponent, DatoDialogDismissDirective, DatoDialogFooterComponent, DatoDialogHeaderComponent, DatoDialogModule, DatoDialogRef, DatoDirectivesModule, DatoDisableControlDirective, DatoDraggableDirective, DatoDynamicContentComponent, DatoDynamicContentModule, DatoEditableHeaderComponent, DatoEditableHeaderModule, DatoFileInputComponent, DatoFileInputDefaultComponent, DatoFileInputModule, DatoFilterConditions, DatoFontDirective, DatoFontIconComponent, DatoFontIconModule, DatoFormSubmitDirective, DatoFormValidationModule, DatoGrid, DatoGridAPI, DatoGridAvatarCellComponent, DatoGridColumnDisplayMenuComponent, DatoGridColumnHeaderComponent, DatoGridColumnHeaderMoreMenuComponent, DatoGridColumnTypes, DatoGridComponent, DatoGridControllerComponent, DatoGridDateFilterOptions, DatoGridFilterComponent, DatoGridFilterOptionsMap, DatoGridFilterSections, DatoGridFilterTypes, DatoGridGroupsMenuComponent, DatoGridHeaderComponent, DatoGridHeaderV2Component, DatoGridInitialsCellComponent, DatoGridItemsCellComponent, DatoGridModule, DatoGridMoreMenuActions, DatoGridNumberFilterOptions, DatoGridOnHoverComponent, DatoGridPaginationComponent, DatoGridPaginationV2Component, DatoGridStatusCellComponent, DatoGridStringFilterOptions, DatoGridToolbarComponent, DatoGridToolbarItemDirective, DatoGridToolbarItemElementDirective, DatoGridV2Component, DatoGridV2LoaderComponent, DatoGridV2Module, DatoGridV2NoDataOverlayComponent, DatoGridV2ToolbarButtonComponent, DatoGridV2ToolbarComponent, DatoGroupComponent, DatoHighlightPipe, DatoHotkeys, DatoHotkeysDirective, DatoHotkeysHelpComponent, DatoHotkeysModule, DatoIconButtonComponent, DatoIconButtonModule, DatoIconComponent, DatoIconModule, DatoInfiniteScrollComponent, DatoInfiniteScrollModule, DatoInputComponent, DatoInputModule, DatoInputNumberComponent, DatoInputNumberDirective, DatoInputNumberModule, DatoKebabCasePipe, DatoLinkButtonComponent, DatoLinkButtonModule, DatoListComponent, DatoListModule, DatoListNoDataComponent, DatoListNoResultComponent, DatoListV2Component, DatoListV2Module, DatoLoaderComponent, DatoLoadersModule, DatoMenuComponent, DatoMenuContentDirective, DatoMenuItemDirective, DatoMenuModule, DatoMenuTriggerForDirective, DatoMultiOptionComponent, DatoMultiOptionV2Component, DatoOperatorTogglerComponent, DatoOperatorTogglerModule, DatoOptionComponent, DatoOptionV2Component, DatoOptionsModule, DatoOriginDirective, DatoOverlay, DatoPageLoaderComponent, DatoPanel, DatoPanelComponent, DatoPanelContentComponent, DatoPanelFooterComponent, DatoPanelHeaderComponent, DatoPanelInternalConfig, DatoPanelModule, DatoPanelRef, DatoPillsComponent, DatoPillsModule, DatoPipesModule, DatoPopover, DatoPopoverComponent, DatoPopoverModule, DatoProgressBarComponent, DatoProgressBarModule, DatoRadioComponent, DatoRadioModule, DatoRichTextDirective, DatoRichTextModule, DatoSearchResultsGroupSortPipe, DatoSearchResultsSortPipe, DatoSearchableContainerComponent, DatoSearchableDirective, DatoSearchableHighlightDirective, DatoSearchableModule, DatoSelectActiveDirective, DatoSelectComponent, DatoSelectEmptyComponent, DatoSelectModule, DatoSliderComponent, DatoSliderModule, DatoSnackbar, DatoSnackbarComponent, DatoSnackbarModule, DatoSortableComponent, DatoSortableHandleDirective, DatoSortableModule, DatoStaticImageSrcDirective, DatoStaticImagesSrcModule, DatoSubscribeContext, DatoSubscribeDirective, DatoTab, DatoTabContent, DatoTabTitle, DatoTabsModule, DatoTabset, DatoTemplatePortal, DatoTextModule, DatoThemesModule, DatoToast, DatoToastComponent, DatoToastModule, DatoTogglerComponent, DatoTogglerModule, DatoTooltipDirective, DatoTooltipV2Directive, DatoTrackByPropPipe, DatoTranslateService, DatoTreePipe, DatoTriggerMulti, DatoTriggerSingle, DialogConfig, DialogResultStatus, Dimensions, EventModifiersPlugin, GridActionType, GridMinWidths, GridRowSelectionType, GridToolbarService, ISO_FORMAT, IconRegistry, KeyCodes, KeyboardEventKeys, ListValueTypes, MockService, OperatorTypes, POPPER_BOUNDARY, PaletteDirective, PanelResultCloseTrigger, PillType, PopoverCloseDirective, PopoverContentDirective, PopoverRef, PopoverTrigger, ROOT_NODE_ID, RelativeDateType, RenderMethod, RowSelectionType, RowSelectionTypeV2, SELECT_MAX_HEIGHT, SUPPORTED_LOCALES, SelectType, SnackbarRef, SnackbarType, Store, SvgRegistry, ToolbarActionType, ToolbarArea, ToolbarConfirmation, ToolbarDeleteConfirmation, ToolbarHandler, TranslatePipe, Types, _valueChanges, a, addClass, addJSObjectCompletor, allowedFileTypes, alphabeticalGroupSort, alphabeticalSort, appendChild, appendScript, appendStyle, appendToBody, assertString, camelCase, capitalize, cloneDeep, closest, coerceArray, coerceElement, compareWith, compose, convertFromTreeData, convertToTreeData, copyToClipboard, createComponent, createElement, createGUID, createHTMLCompletor, curry, dateCompare, daysOfTheMonth, debounce, declarations$2 as declarations, deepEqual, deepmerge, defaultActions$1 as defaultActions, defaultConfig, defaultEditableColumnRenderer, defaultGridOptions, defaultGridTreeLabel, defaultOptionsDisplayLimit, defaultTreeOptions, dialogSizePreset, diff, difference, differenceBy, dimensionsChanges, directives, drop, editableCellRendererWithSearchHighlight, escape, escapeRegExp, filter, filterByControlValue, filterByTerm, filterDialogDismissed, filterDialogSuccess, filterGroupByControlValue, filterGroupByTerm, filterKey, find, findIndex, findKey, fixNgLeaks, forEach, formatKeys, generateMonths, get, getAttr, getCustomRange, getDateISOString, getDefaultConfirmationOptions, getDefaultOptions, getDefaultsToastOptions, getElementCoords, getFunctionName, getGridConfiguration, getGridModel, getInitials, getLocalizedFormat, getMultiTemplate, getOptionTemplate, getPopperDefaults, getUTCDate, getVisibleActions, gridTreeFilePathKey, groupBy, groupSortOrder, has, inView, intersection, invert, isArrayValuesEqual, isArrowUpDown, isBoolean, isEmpty, isEmptyString, isEnter, isEqual, isEscape, isFraction, isFunction, isMacintosh, isNil, isNumber, isObject, isRangeCondition, isRangeCustom, isString, isTestEnv, isValidMediaLink, kebabCase, keyBy, keysSymbols, last, map, mapKeys, mapValues, maxFileSize, merge, minBy, mockInDev, mocks, ngContentResolver, noop, normalizeData, omit, omitBy, optionalDebounce, pallete, parseDateString, partial, polling, prependChild, publicApi$1 as publicApi, query, queryAll, random, rawDiff, reject, relativeDateTypes, removeClass, resolveRange, round, searchHighlightCellRenderer, searchResultsGroupSort, searchResultsSort, setAttr, setAttribute, setDimensions, setEmptyFolderClass, setGridConfiguration, setGridModel, setMaxDimensions, setMinDimensions, setStyle, setStyles, size, sortBy, stubs, supportedLocales, tapLog, tapOnce, throttle, toBoolean, toFormData, toNumber, toResponseBody, toString, toggleClass, toolbarActionToContextAction, tryParsePivotValue, unescape, union, uniq, uniqBy, uploadProgress, validBase64Image, validUrl, validateCondition, validateDate, validateDateCondition, validateFilter, validateNumberCondition, validateRange, validateStringCondition, values, workerMap, zoneStable, ɵ0$2 as ɵ0, ɵ1$2 as ɵ1, ɵ2, DATO_CORE_CONFIG as ɵb, DatoGridHelper as ɵc, Popper as ɵd, GridQuery as ɵe, GridStore as ɵf, GridService as ɵg, DatoDateRangesFilterPipe as ɵh, ListStore as ɵi, DatoListSelectAllComponent as ɵj, DatoGridMultiSelectColumnHeaderComponent as ɵk, DatoGridItemsCountCellComponent as ɵl, DatoGridV2ToolbarMoreMenuComponent as ɵm, DatoGridSearchBarComponent as ɵn };
|
|
25185
25180
|
//# sourceMappingURL=datorama-core.js.map
|