@datorama/core 22.10.9-rc.5 → 22.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle.scss +8 -1
- package/bundles/datorama-core.umd.js +70 -83
- 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 +2 -5
- package/esm2015/lib/grid-v2/grid-filter/grid-filter.component.js +2 -1
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.query.js +2 -1
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +21 -7
- 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 +2 -5
- package/esm5/lib/grid-v2/grid-filter/grid-filter.component.js +2 -1
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.query.js +2 -1
- package/esm5/lib/grid-v2/grid-store/grid.service.js +21 -7
- 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 +70 -75
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +71 -83
- 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-settings.d.ts +2 -2
- package/lib/grid-v2/grid-store/grid.service.d.ts +1 -0
- 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();
|
|
@@ -11518,6 +11523,7 @@ var GridQuery = /** @class */ (function (_super) {
|
|
|
11518
11523
|
return this.select(function (state) { return state.serverSidePagination.selectAllRowsEnabled; });
|
|
11519
11524
|
};
|
|
11520
11525
|
GridQuery.prototype.getSecondaryColumn = function (colId) {
|
|
11526
|
+
/** Use getPivotResultColumns from ver 28 */
|
|
11521
11527
|
var secondaryColumns = this.api.columns.getSecondaryColumns();
|
|
11522
11528
|
if (secondaryColumns) {
|
|
11523
11529
|
return secondaryColumns.find(function (col) { return col.getColId() === colId; });
|
|
@@ -11848,7 +11854,7 @@ function toolbarActionToContextAction(params) {
|
|
|
11848
11854
|
return contextActions;
|
|
11849
11855
|
}
|
|
11850
11856
|
|
|
11851
|
-
var DATO_GRID_STORAGE_API = new InjectionToken('
|
|
11857
|
+
var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
|
|
11852
11858
|
|
|
11853
11859
|
var defaultEditableColumnRenderer = function (params) {
|
|
11854
11860
|
return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
|
|
@@ -12761,6 +12767,7 @@ var DatoGridFilterComponent = /** @class */ (function () {
|
|
|
12761
12767
|
var filtersConfig = colDef.filtersConfig || this.colDef.filtersConfig || {};
|
|
12762
12768
|
var colFilter = filter || colDef.filter;
|
|
12763
12769
|
var filterOptions = DatoGridFilterOptionsMap[colFilter];
|
|
12770
|
+
/** Use getPivotResultColumn from ver 28 */
|
|
12764
12771
|
this.pivotColumn = gridQuery.api.columns.getSecondaryPivotColumn(pivotKeys, pivotValueColumn);
|
|
12765
12772
|
this.inputConditionsOperator = filtersConfig.inputConditionsOperator;
|
|
12766
12773
|
if (!isNil(filtersConfig.showClearFiltersButton)) {
|
|
@@ -14137,11 +14144,24 @@ var GridService = /** @class */ (function () {
|
|
|
14137
14144
|
this.initPivotSecondaryColsProcess(params);
|
|
14138
14145
|
params.gridOptions.enableV2_1 = true;
|
|
14139
14146
|
params.gridOptions.saveSettings = false;
|
|
14140
|
-
params.gridOptions.defaultColDef.cellClass
|
|
14141
|
-
params.gridOptions.autoGroupColumnDef.cellClass
|
|
14147
|
+
params.gridOptions.defaultColDef = __assign(__assign({}, params.gridOptions.defaultColDef), { cellClass: this.getPivotCellClass.bind(this), headerClass: this.getPivotHeaderClass.bind(this) });
|
|
14148
|
+
params.gridOptions.autoGroupColumnDef = __assign(__assign({}, params.gridOptions.autoGroupColumnDef), { cellClass: this.getPivotCellClass.bind(this), headerClass: this.getPivotHeaderClass.bind(this) });
|
|
14142
14149
|
}
|
|
14143
14150
|
return params.gridOptions;
|
|
14144
14151
|
};
|
|
14152
|
+
GridService.prototype.getPivotHeaderClass = function (params) {
|
|
14153
|
+
var gridQuery = params.colDef.headerComponentParams.gridQuery;
|
|
14154
|
+
var cellClass = '';
|
|
14155
|
+
if (gridQuery && gridQuery.api) {
|
|
14156
|
+
var columns = gridQuery.api.columns;
|
|
14157
|
+
/** Use getPivotResultColumns from ver 28 */
|
|
14158
|
+
var pivotColumns = columns.getSecondaryColumns();
|
|
14159
|
+
if (pivotColumns && pivotColumns.length > 0) {
|
|
14160
|
+
cellClass += 'top-border';
|
|
14161
|
+
}
|
|
14162
|
+
}
|
|
14163
|
+
return cellClass;
|
|
14164
|
+
};
|
|
14145
14165
|
GridService.prototype.getPivotCellClass = function (params) {
|
|
14146
14166
|
var _a = params.node, leafGroup = _a.leafGroup, childIndex = _a.childIndex, rowGroupIndex = _a.rowGroupIndex;
|
|
14147
14167
|
var gridQuery = params.colDef.headerComponentParams.gridQuery;
|
|
@@ -14157,11 +14177,11 @@ var GridService = /** @class */ (function () {
|
|
|
14157
14177
|
if (leafGroup) {
|
|
14158
14178
|
if (childIndex % 2 === 0) {
|
|
14159
14179
|
/** If row is even */
|
|
14160
|
-
cellClass += ' primary-
|
|
14180
|
+
cellClass += ' primary-0-background-color';
|
|
14161
14181
|
}
|
|
14162
14182
|
}
|
|
14163
14183
|
else {
|
|
14164
|
-
cellClass += 'primary-
|
|
14184
|
+
cellClass += 'bottom-border primary-100-background-color pointer dato-simple-bold';
|
|
14165
14185
|
}
|
|
14166
14186
|
}
|
|
14167
14187
|
}
|
|
@@ -14470,8 +14490,7 @@ var GridService = /** @class */ (function () {
|
|
|
14470
14490
|
this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
|
|
14471
14491
|
};
|
|
14472
14492
|
GridService.prototype.saveSettingsToServer = function (settings) {
|
|
14473
|
-
|
|
14474
|
-
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
14493
|
+
this.storageAPI.set(this.gridName, settings);
|
|
14475
14494
|
};
|
|
14476
14495
|
/**
|
|
14477
14496
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -14943,6 +14962,7 @@ var GridService = /** @class */ (function () {
|
|
|
14943
14962
|
GridService.prototype.initPivotSecondaryColsProcess = function (_a) {
|
|
14944
14963
|
var _this = this;
|
|
14945
14964
|
var gridOptions = _a.gridOptions;
|
|
14965
|
+
/** Use processPivotResultColDef from ver 28 */
|
|
14946
14966
|
gridOptions.processSecondaryColDef = function (colDef) {
|
|
14947
14967
|
var userProvidedColDef = colDef.pivotValueColumn && colDef.pivotValueColumn.getUserProvidedColDef();
|
|
14948
14968
|
if (userProvidedColDef) {
|
|
@@ -14955,6 +14975,7 @@ var GridService = /** @class */ (function () {
|
|
|
14955
14975
|
});
|
|
14956
14976
|
}
|
|
14957
14977
|
};
|
|
14978
|
+
/** Use processPivotResultColGroupDe from ver 28 */
|
|
14958
14979
|
gridOptions.processSecondaryColGroupDef = function (colGroupDef) {
|
|
14959
14980
|
if (colGroupDef.headerName) {
|
|
14960
14981
|
var parsedValue = tryParsePivotValue(colGroupDef.headerName);
|
|
@@ -15476,10 +15497,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15476
15497
|
.pipe(switchMap(function () {
|
|
15477
15498
|
_this.gridOptions = _this.normalizeOptions();
|
|
15478
15499
|
agGrid.gridOptions = _this.gridOptions;
|
|
15479
|
-
var
|
|
15480
|
-
var settingsLoader = _this.gridOptions.saveSettings === false
|
|
15481
|
-
? of(null)
|
|
15482
|
-
: _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
|
|
15500
|
+
var settingsLoader = _this.gridOptions.saveSettings === false ? of(null) : _this.storageAPI.get(_this.gridOptions.gridName);
|
|
15483
15501
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
15484
15502
|
}), untilDestroyed(this))
|
|
15485
15503
|
.subscribe(function (_a) {
|
|
@@ -16774,18 +16792,6 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
|
|
|
16774
16792
|
this.registerGroupListeners();
|
|
16775
16793
|
this.subscribeRowsSelectionData();
|
|
16776
16794
|
};
|
|
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
16795
|
DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
|
|
16790
16796
|
if (isFunction(action.onClick)) {
|
|
16791
16797
|
var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -21273,40 +21279,6 @@ var DatoEditableHeaderModule = /** @class */ (function () {
|
|
|
21273
21279
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
21274
21280
|
*/
|
|
21275
21281
|
|
|
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
21282
|
/**
|
|
21311
21283
|
* @license
|
|
21312
21284
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -21320,20 +21292,20 @@ var getTinymce = function () {
|
|
|
21320
21292
|
var ɵ0$3 = getTinymce;
|
|
21321
21293
|
var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
21322
21294
|
__extends(DatoRichTextDirective, _super);
|
|
21323
|
-
function DatoRichTextDirective(ngZone,
|
|
21295
|
+
function DatoRichTextDirective(ngZone, http, host, config) {
|
|
21324
21296
|
var _this = _super.call(this) || this;
|
|
21325
21297
|
_this.ngZone = ngZone;
|
|
21326
|
-
_this.
|
|
21327
|
-
_this.config = config;
|
|
21298
|
+
_this.http = http;
|
|
21328
21299
|
_this.host = host;
|
|
21300
|
+
_this.config = config;
|
|
21329
21301
|
_this.autocompleteOptions = {};
|
|
21330
21302
|
_this.forcePlainTextPasting = false;
|
|
21331
21303
|
_this.format = 'html';
|
|
21332
21304
|
_this.isOneLine = false;
|
|
21333
21305
|
_this.initialValue = '';
|
|
21334
|
-
_this.defaultPlugins = 'link fullscreen image lists table autocomplete';
|
|
21306
|
+
_this.defaultPlugins = 'link fullscreen textcolor colorpicker image lists table textpattern autocomplete';
|
|
21335
21307
|
_this.defaultToolbar = [
|
|
21336
|
-
'
|
|
21308
|
+
'fontselect fontsizeselect forecolor backcolor bold italic underline link',
|
|
21337
21309
|
'alignleft aligncenter alignright alignjustify outdent indent | table numlist bullist | image fullscreen'
|
|
21338
21310
|
];
|
|
21339
21311
|
return _this;
|
|
@@ -21359,11 +21331,28 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21359
21331
|
base: this.config.paths.richText,
|
|
21360
21332
|
query: ''
|
|
21361
21333
|
};
|
|
21362
|
-
|
|
21363
|
-
|
|
21364
|
-
|
|
21365
|
-
|
|
21366
|
-
|
|
21334
|
+
/**
|
|
21335
|
+
* We support only one instance in load time
|
|
21336
|
+
*/
|
|
21337
|
+
if (window.tinymce) {
|
|
21338
|
+
this.init.call(this);
|
|
21339
|
+
}
|
|
21340
|
+
else {
|
|
21341
|
+
this.loadLib().subscribe(function (lib) {
|
|
21342
|
+
appendScript(lib, 'rich-text-editor');
|
|
21343
|
+
_this.init.call(_this);
|
|
21344
|
+
_this.loadAutoCompleteStyle();
|
|
21345
|
+
});
|
|
21346
|
+
}
|
|
21347
|
+
};
|
|
21348
|
+
DatoRichTextDirective.prototype.loadLib = function () {
|
|
21349
|
+
return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
|
|
21350
|
+
};
|
|
21351
|
+
DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
|
|
21352
|
+
this.http
|
|
21353
|
+
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21354
|
+
.subscribe(function (style) {
|
|
21355
|
+
appendStyle(style, 'tinymce-autocomplete');
|
|
21367
21356
|
});
|
|
21368
21357
|
};
|
|
21369
21358
|
DatoRichTextDirective.prototype.initEditor = function (_, editor) {
|
|
@@ -21387,6 +21376,8 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21387
21376
|
target: this.host.nativeElement,
|
|
21388
21377
|
width: this.width || 600,
|
|
21389
21378
|
height: this.height || 300,
|
|
21379
|
+
force_br_newlines: true,
|
|
21380
|
+
force_p_newlines: false,
|
|
21390
21381
|
resize: 'both',
|
|
21391
21382
|
branding: false,
|
|
21392
21383
|
inline: this.inline,
|
|
@@ -21394,12 +21385,10 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21394
21385
|
readonly: this.disabled,
|
|
21395
21386
|
plugins: this.plugins || this.defaultPlugins,
|
|
21396
21387
|
toolbar: isNil(this.toolbar) ? this.defaultToolbar : this.toolbar,
|
|
21397
|
-
|
|
21388
|
+
fontsize_formats: '8px 10px 12px 14px 18px 24px 36px',
|
|
21398
21389
|
min_width: 480,
|
|
21399
21390
|
menubar: false,
|
|
21400
21391
|
autocomplete: this.autocompleteOptions,
|
|
21401
|
-
suffix: '.min',
|
|
21402
|
-
skin: 'tinymce-5',
|
|
21403
21392
|
setup: function (editor) {
|
|
21404
21393
|
_this.editor = editor;
|
|
21405
21394
|
editor.on('init', function (e) {
|
|
@@ -21456,9 +21445,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21456
21445
|
var DatoRichTextDirective_1;
|
|
21457
21446
|
DatoRichTextDirective.ctorParameters = function () { return [
|
|
21458
21447
|
{ type: NgZone },
|
|
21459
|
-
{ type:
|
|
21460
|
-
{ type:
|
|
21461
|
-
{ type:
|
|
21448
|
+
{ type: HttpClient },
|
|
21449
|
+
{ type: ElementRef },
|
|
21450
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21462
21451
|
]; };
|
|
21463
21452
|
__decorate([
|
|
21464
21453
|
Input(),
|
|
@@ -21524,9 +21513,10 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21524
21513
|
}
|
|
21525
21514
|
]
|
|
21526
21515
|
}),
|
|
21527
|
-
__param(
|
|
21516
|
+
__param(3, Inject(DATO_CORE_CONFIG)),
|
|
21528
21517
|
__metadata("design:paramtypes", [NgZone,
|
|
21529
|
-
|
|
21518
|
+
HttpClient,
|
|
21519
|
+
ElementRef, Object])
|
|
21530
21520
|
], DatoRichTextDirective);
|
|
21531
21521
|
return DatoRichTextDirective;
|
|
21532
21522
|
}(BaseCustomControl));
|
|
@@ -24049,9 +24039,7 @@ var DatoBreadcrumbsComponent = /** @class */ (function () {
|
|
|
24049
24039
|
};
|
|
24050
24040
|
DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
|
|
24051
24041
|
var _this = this;
|
|
24052
|
-
this.headerControl.valueChanges
|
|
24053
|
-
.pipe(debounceTime(300), untilDestroyed(this))
|
|
24054
|
-
.subscribe(function (res) {
|
|
24042
|
+
this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe(function (res) {
|
|
24055
24043
|
_this.updateEditableText.emit(res);
|
|
24056
24044
|
_this.cdr.detectChanges();
|
|
24057
24045
|
});
|
|
@@ -25414,7 +25402,7 @@ function fixNgLeaks() {
|
|
|
25414
25402
|
};
|
|
25415
25403
|
}
|
|
25416
25404
|
|
|
25417
|
-
window.coreVersion = '22.
|
|
25405
|
+
window.coreVersion = '22.11.1';
|
|
25418
25406
|
|
|
25419
25407
|
/**
|
|
25420
25408
|
* @license
|
|
@@ -25428,5 +25416,5 @@ window.coreVersion = '22.10.9-rc.';
|
|
|
25428
25416
|
* Generated bundle index. Do not edit.
|
|
25429
25417
|
*/
|
|
25430
25418
|
|
|
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
|
|
25419
|
+
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
25420
|
//# sourceMappingURL=datorama-core.js.map
|