@datorama/core 22.6.3 → 22.8.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/datorama-core.umd.js +112 -84
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +15 -15
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.d.ts +1 -0
- package/datorama-core.metadata.json +1 -1
- package/esm2015/datorama-core.js +2 -1
- package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +4 -2
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +6 -3
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.query.js +19 -19
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +21 -22
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +7 -1
- package/esm2015/lib/rich-text/rich-text.directive.js +15 -33
- package/esm2015/lib/rich-text/rich-text.service.js +50 -0
- package/esm2015/lib/select/select.component.js +5 -10
- package/esm2015/lib/version.js +2 -2
- package/esm5/datorama-core.js +2 -1
- package/esm5/lib/breadcrumbs/breadcrumbs.component.js +4 -2
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +6 -3
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.query.js +19 -19
- package/esm5/lib/grid-v2/grid-store/grid.service.js +21 -22
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +13 -1
- package/esm5/lib/rich-text/rich-text.directive.js +16 -34
- package/esm5/lib/rich-text/rich-text.service.js +51 -0
- package/esm5/lib/select/select.component.js +5 -10
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +104 -84
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +112 -85
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/grid-v2/grid/grid-v2.types.d.ts +1 -0
- package/lib/grid-v2/grid-settings.d.ts +2 -2
- package/lib/grid-v2/grid-store/grid.query.d.ts +1 -0
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +2 -0
- package/lib/rich-text/rich-text.directive.d.ts +4 -6
- package/lib/rich-text/rich-text.service.d.ts +10 -0
- package/package.json +1 -1
package/fesm5/datorama-core.js
CHANGED
|
@@ -8549,9 +8549,8 @@ 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;
|
|
8553
8552
|
this.markAsActive(this._model, { deselectAll: true });
|
|
8554
|
-
|
|
8553
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
8555
8554
|
}
|
|
8556
8555
|
/** For later updates */
|
|
8557
8556
|
this.cdr.markForCheck();
|
|
@@ -8588,7 +8587,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8588
8587
|
*/
|
|
8589
8588
|
if (this.hasValue && this._initialOpen) {
|
|
8590
8589
|
this.markAsActive(this._model);
|
|
8591
|
-
if (this.limitSelectedTo
|
|
8590
|
+
if (this.limitSelectedTo) {
|
|
8592
8591
|
this.updateDisabledState();
|
|
8593
8592
|
}
|
|
8594
8593
|
this._initialOpen = false;
|
|
@@ -8677,7 +8676,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8677
8676
|
};
|
|
8678
8677
|
DatoSelectComponent.prototype.removeOption = function (option) {
|
|
8679
8678
|
var _this = this;
|
|
8680
|
-
var updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
|
|
8681
8679
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== option[_this.idKey]; });
|
|
8682
8680
|
var optionToRemove = this.options.find(function (datoOption) { return datoOption.option && datoOption.option[_this.idKey] === option[_this.idKey]; });
|
|
8683
8681
|
/**
|
|
@@ -8687,7 +8685,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8687
8685
|
if (optionToRemove) {
|
|
8688
8686
|
optionToRemove.active = false;
|
|
8689
8687
|
}
|
|
8690
|
-
|
|
8688
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
8691
8689
|
this.onChange(this._model);
|
|
8692
8690
|
this.cdr.markForCheck();
|
|
8693
8691
|
this.asyncUpdateDropdownPosition();
|
|
@@ -9035,9 +9033,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9035
9033
|
if (!datoOption) {
|
|
9036
9034
|
return;
|
|
9037
9035
|
}
|
|
9038
|
-
var modelLength = this._model.length;
|
|
9039
|
-
var updateDisabled = this.limitSelectedTo &&
|
|
9040
|
-
(modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
|
|
9041
9036
|
datoOption.active = !datoOption.active;
|
|
9042
9037
|
var rawOption = datoOption.option;
|
|
9043
9038
|
if (datoOption.active) {
|
|
@@ -9046,7 +9041,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9046
9041
|
else {
|
|
9047
9042
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== rawOption[_this.idKey]; });
|
|
9048
9043
|
}
|
|
9049
|
-
|
|
9044
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
9050
9045
|
this.onChange(this._model);
|
|
9051
9046
|
this.cdr.markForCheck();
|
|
9052
9047
|
this.asyncUpdateDropdownPosition();
|
|
@@ -11402,26 +11397,26 @@ var GridQuery = /** @class */ (function (_super) {
|
|
|
11402
11397
|
return settings;
|
|
11403
11398
|
};
|
|
11404
11399
|
GridQuery.prototype.getSort = function () {
|
|
11405
|
-
|
|
11406
|
-
|
|
11407
|
-
|
|
11408
|
-
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
|
|
11400
|
+
return this.api.grid.getSortModel().pop();
|
|
11401
|
+
};
|
|
11402
|
+
GridQuery.prototype.getExternalSort = function () {
|
|
11403
|
+
var _a = this.getSort() || {}, sort = _a.sort, colId = _a.colId;
|
|
11404
|
+
var column = this.api.columns.getColumn(colId);
|
|
11405
|
+
var allColumns = this.api.columns.getAllGridColumns();
|
|
11406
|
+
if (column) {
|
|
11407
|
+
return { colId: colId, sort: sort, field: getColField(column.getColDef()), sortIndex: allColumns.indexOf(column) };
|
|
11408
|
+
}
|
|
11409
|
+
else {
|
|
11410
|
+
var secondaryColumn = this.getSecondaryColumn(colId);
|
|
11411
|
+
if (secondaryColumn) {
|
|
11412
|
+
return {
|
|
11413
|
+
colId: colId,
|
|
11414
|
+
sort: sort,
|
|
11415
|
+
field: getColField(secondaryColumn.getColDef()),
|
|
11416
|
+
sortIndex: allColumns.indexOf(secondaryColumn)
|
|
11417
|
+
};
|
|
11422
11418
|
}
|
|
11423
11419
|
}
|
|
11424
|
-
return this.api.grid.getSortModel().pop();
|
|
11425
11420
|
};
|
|
11426
11421
|
GridQuery.prototype.selectSort = function () {
|
|
11427
11422
|
return this.select(function (state) { return state.settings.sort; });
|
|
@@ -11849,7 +11844,7 @@ function toolbarActionToContextAction(params) {
|
|
|
11849
11844
|
return contextActions;
|
|
11850
11845
|
}
|
|
11851
11846
|
|
|
11852
|
-
var DATO_GRID_STORAGE_API = new InjectionToken('
|
|
11847
|
+
var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_AP');
|
|
11853
11848
|
|
|
11854
11849
|
var defaultEditableColumnRenderer = function (params) {
|
|
11855
11850
|
return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
|
|
@@ -14267,37 +14262,35 @@ var GridService = /** @class */ (function () {
|
|
|
14267
14262
|
};
|
|
14268
14263
|
GridService.prototype.setGridSort = function (gridSort) {
|
|
14269
14264
|
if (this.api && gridSort) {
|
|
14270
|
-
var
|
|
14265
|
+
var colId_1 = gridSort.colId, sort = gridSort.sort, sortIndex = gridSort.sortIndex;
|
|
14266
|
+
var sortToApply = gridSort;
|
|
14271
14267
|
if (!isNil(sortIndex)) {
|
|
14272
14268
|
var gridColumns = this.api.columns.getAllGridColumns();
|
|
14273
14269
|
if (gridColumns) {
|
|
14274
|
-
var
|
|
14275
|
-
var
|
|
14276
|
-
|
|
14277
|
-
|
|
14270
|
+
var valueColumns = this.api.columns.getValueColumns();
|
|
14271
|
+
var valueColumn = valueColumns.find(function (col) { return col.getColId() === colId_1; });
|
|
14272
|
+
var isPivotColId = colId_1.startsWith('pivot');
|
|
14273
|
+
if (isPivotColId || valueColumn) {
|
|
14274
|
+
/** Column is pivot value column, sort by index */
|
|
14275
|
+
var columnByIndex = gridColumns[sortIndex];
|
|
14276
|
+
var valueColumnId = columnByIndex && columnByIndex.getColDef().pivotValueColumn.getColId();
|
|
14277
|
+
if (valueColumnId === colId_1) {
|
|
14278
|
+
sortToApply = { colId: columnByIndex.getColId(), sort: sort };
|
|
14279
|
+
}
|
|
14280
|
+
}
|
|
14281
|
+
else {
|
|
14282
|
+
/** Sort by column id */
|
|
14278
14283
|
var columnById = gridColumns.find(function (col) {
|
|
14279
14284
|
return (col.getColDef().showRowGroup || col.getColId()) === colId_1;
|
|
14280
14285
|
});
|
|
14281
14286
|
if (columnById) {
|
|
14282
|
-
|
|
14283
|
-
this.updateSettings({ sort: sortToApply });
|
|
14284
|
-
this.api.grid.setSortModel([sortToApply]);
|
|
14285
|
-
}
|
|
14286
|
-
}
|
|
14287
|
-
else {
|
|
14288
|
-
var columnByIndex = gridColumns[sortIndex];
|
|
14289
|
-
if (columnByIndex) {
|
|
14290
|
-
var sortToApply = { colId: columnByIndex.getColId(), sort: sort };
|
|
14291
|
-
this.updateSettings({ sort: sortToApply });
|
|
14292
|
-
this.api.grid.setSortModel([sortToApply]);
|
|
14287
|
+
sortToApply = { colId: columnById.getColId(), sort: sort };
|
|
14293
14288
|
}
|
|
14294
14289
|
}
|
|
14295
14290
|
}
|
|
14296
14291
|
}
|
|
14297
|
-
|
|
14298
|
-
|
|
14299
|
-
this.api.grid.setSortModel([gridSort]);
|
|
14300
|
-
}
|
|
14292
|
+
this.updateSettings({ sort: sortToApply });
|
|
14293
|
+
this.api.grid.setSortModel([sortToApply]);
|
|
14301
14294
|
}
|
|
14302
14295
|
};
|
|
14303
14296
|
GridService.prototype.updateFilter = function (column, filter) {
|
|
@@ -14355,7 +14348,8 @@ var GridService = /** @class */ (function () {
|
|
|
14355
14348
|
this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
|
|
14356
14349
|
};
|
|
14357
14350
|
GridService.prototype.saveSettingsToServer = function (settings) {
|
|
14358
|
-
this.
|
|
14351
|
+
var isGlobal = this.gridQuery.getGridOptions().isGlobalSettings;
|
|
14352
|
+
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
14359
14353
|
};
|
|
14360
14354
|
/**
|
|
14361
14355
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -15360,7 +15354,10 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15360
15354
|
.pipe(switchMap(function () {
|
|
15361
15355
|
_this.gridOptions = _this.normalizeOptions();
|
|
15362
15356
|
agGrid.gridOptions = _this.gridOptions;
|
|
15363
|
-
var
|
|
15357
|
+
var isGlobal = _this.gridOptions.isGlobalSettings;
|
|
15358
|
+
var settingsLoader = _this.gridOptions.saveSettings === false
|
|
15359
|
+
? of(null)
|
|
15360
|
+
: _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
|
|
15364
15361
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
15365
15362
|
}), untilDestroyed(this))
|
|
15366
15363
|
.subscribe(function (_a) {
|
|
@@ -15474,7 +15471,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15474
15471
|
var data = _this.getGridData();
|
|
15475
15472
|
_this.onGridChange.emit({
|
|
15476
15473
|
filter: _this.gridQuery.getExternalFilter(),
|
|
15477
|
-
sort: _this.gridQuery.
|
|
15474
|
+
sort: _this.gridQuery.getExternalSort(),
|
|
15478
15475
|
type: type,
|
|
15479
15476
|
data: data
|
|
15480
15477
|
});
|
|
@@ -16642,6 +16639,18 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
|
|
|
16642
16639
|
this.registerGroupListeners();
|
|
16643
16640
|
this.subscribeRowsSelectionData();
|
|
16644
16641
|
};
|
|
16642
|
+
DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
|
|
16643
|
+
var _this = this;
|
|
16644
|
+
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16645
|
+
return _this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16646
|
+
});
|
|
16647
|
+
};
|
|
16648
|
+
DatoGridV2ToolbarComponent.prototype.getRowDataUpdatedEvent = function () {
|
|
16649
|
+
var _this = this;
|
|
16650
|
+
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16651
|
+
return _this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16652
|
+
});
|
|
16653
|
+
};
|
|
16645
16654
|
DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
|
|
16646
16655
|
if (isFunction(action.onClick)) {
|
|
16647
16656
|
var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -21117,6 +21126,40 @@ var DatoEditableHeaderModule = /** @class */ (function () {
|
|
|
21117
21126
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
21118
21127
|
*/
|
|
21119
21128
|
|
|
21129
|
+
var RichTextService = /** @class */ (function () {
|
|
21130
|
+
function RichTextService(http, config) {
|
|
21131
|
+
this.http = http;
|
|
21132
|
+
this.config = config;
|
|
21133
|
+
}
|
|
21134
|
+
RichTextService.prototype.getLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21135
|
+
if (!this.richTextScript$) {
|
|
21136
|
+
this.initLib(appendScriptFunc, appendStyleFunc);
|
|
21137
|
+
}
|
|
21138
|
+
return this.richTextScript$;
|
|
21139
|
+
};
|
|
21140
|
+
RichTextService.prototype.initLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21141
|
+
this.richTextScript$ = combineLatest([
|
|
21142
|
+
this.http
|
|
21143
|
+
.get(this.config.paths.richText + "/index.js", { responseType: 'text' })
|
|
21144
|
+
.pipe(tap(function (lib) { return appendScriptFunc(lib, 'rich-text-editor'); })),
|
|
21145
|
+
this.http
|
|
21146
|
+
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21147
|
+
.pipe(tap(function (style) { return appendStyleFunc(style, 'tinymce-autocomplete'); }))
|
|
21148
|
+
]).pipe(shareReplay(1));
|
|
21149
|
+
};
|
|
21150
|
+
RichTextService.ctorParameters = function () { return [
|
|
21151
|
+
{ type: HttpClient },
|
|
21152
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21153
|
+
]; };
|
|
21154
|
+
RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
|
|
21155
|
+
RichTextService = __decorate([
|
|
21156
|
+
Injectable({ providedIn: 'root' }),
|
|
21157
|
+
__param(1, Inject(DATO_CORE_CONFIG)),
|
|
21158
|
+
__metadata("design:paramtypes", [HttpClient, Object])
|
|
21159
|
+
], RichTextService);
|
|
21160
|
+
return RichTextService;
|
|
21161
|
+
}());
|
|
21162
|
+
|
|
21120
21163
|
/**
|
|
21121
21164
|
* @license
|
|
21122
21165
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -21130,12 +21173,12 @@ var getTinymce = function () {
|
|
|
21130
21173
|
var ɵ0$3 = getTinymce;
|
|
21131
21174
|
var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
21132
21175
|
__extends(DatoRichTextDirective, _super);
|
|
21133
|
-
function DatoRichTextDirective(ngZone,
|
|
21176
|
+
function DatoRichTextDirective(ngZone, richTextService, config, host) {
|
|
21134
21177
|
var _this = _super.call(this) || this;
|
|
21135
21178
|
_this.ngZone = ngZone;
|
|
21136
|
-
_this.
|
|
21137
|
-
_this.host = host;
|
|
21179
|
+
_this.richTextService = richTextService;
|
|
21138
21180
|
_this.config = config;
|
|
21181
|
+
_this.host = host;
|
|
21139
21182
|
_this.autocompleteOptions = {};
|
|
21140
21183
|
_this.forcePlainTextPasting = false;
|
|
21141
21184
|
_this.format = 'html';
|
|
@@ -21169,28 +21212,11 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21169
21212
|
base: this.config.paths.richText,
|
|
21170
21213
|
query: ''
|
|
21171
21214
|
};
|
|
21172
|
-
|
|
21173
|
-
|
|
21174
|
-
|
|
21175
|
-
|
|
21176
|
-
|
|
21177
|
-
}
|
|
21178
|
-
else {
|
|
21179
|
-
this.loadLib().subscribe(function (lib) {
|
|
21180
|
-
appendScript(lib, 'rich-text-editor');
|
|
21181
|
-
_this.init.call(_this);
|
|
21182
|
-
_this.loadAutoCompleteStyle();
|
|
21183
|
-
});
|
|
21184
|
-
}
|
|
21185
|
-
};
|
|
21186
|
-
DatoRichTextDirective.prototype.loadLib = function () {
|
|
21187
|
-
return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
|
|
21188
|
-
};
|
|
21189
|
-
DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
|
|
21190
|
-
this.http
|
|
21191
|
-
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21192
|
-
.subscribe(function (style) {
|
|
21193
|
-
appendStyle(style, 'tinymce-autocomplete');
|
|
21215
|
+
this.richTextService
|
|
21216
|
+
.getLib(appendScript, appendStyle)
|
|
21217
|
+
.pipe(untilDestroyed(this))
|
|
21218
|
+
.subscribe(function () {
|
|
21219
|
+
_this.init.call(_this);
|
|
21194
21220
|
});
|
|
21195
21221
|
};
|
|
21196
21222
|
DatoRichTextDirective.prototype.initEditor = function (_, editor) {
|
|
@@ -21283,9 +21309,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21283
21309
|
var DatoRichTextDirective_1;
|
|
21284
21310
|
DatoRichTextDirective.ctorParameters = function () { return [
|
|
21285
21311
|
{ type: NgZone },
|
|
21286
|
-
{ type:
|
|
21287
|
-
{ type:
|
|
21288
|
-
{ type:
|
|
21312
|
+
{ type: RichTextService },
|
|
21313
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] },
|
|
21314
|
+
{ type: ElementRef }
|
|
21289
21315
|
]; };
|
|
21290
21316
|
__decorate([
|
|
21291
21317
|
Input(),
|
|
@@ -21351,10 +21377,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21351
21377
|
}
|
|
21352
21378
|
]
|
|
21353
21379
|
}),
|
|
21354
|
-
__param(
|
|
21380
|
+
__param(2, Inject(DATO_CORE_CONFIG)),
|
|
21355
21381
|
__metadata("design:paramtypes", [NgZone,
|
|
21356
|
-
|
|
21357
|
-
ElementRef, Object])
|
|
21382
|
+
RichTextService, Object, ElementRef])
|
|
21358
21383
|
], DatoRichTextDirective);
|
|
21359
21384
|
return DatoRichTextDirective;
|
|
21360
21385
|
}(BaseCustomControl));
|
|
@@ -23877,7 +23902,9 @@ var DatoBreadcrumbsComponent = /** @class */ (function () {
|
|
|
23877
23902
|
};
|
|
23878
23903
|
DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
|
|
23879
23904
|
var _this = this;
|
|
23880
|
-
this.headerControl.valueChanges
|
|
23905
|
+
this.headerControl.valueChanges
|
|
23906
|
+
.pipe(debounceTime(300), untilDestroyed(this))
|
|
23907
|
+
.subscribe(function (res) {
|
|
23881
23908
|
_this.updateEditableText.emit(res);
|
|
23882
23909
|
_this.cdr.detectChanges();
|
|
23883
23910
|
});
|
|
@@ -25240,7 +25267,7 @@ function fixNgLeaks() {
|
|
|
25240
25267
|
};
|
|
25241
25268
|
}
|
|
25242
25269
|
|
|
25243
|
-
window.coreVersion = '22.
|
|
25270
|
+
window.coreVersion = '22.8.1-rc.';
|
|
25244
25271
|
|
|
25245
25272
|
/**
|
|
25246
25273
|
* @license
|
|
@@ -25254,5 +25281,5 @@ window.coreVersion = '22.6.3';
|
|
|
25254
25281
|
* Generated bundle index. Do not edit.
|
|
25255
25282
|
*/
|
|
25256
25283
|
|
|
25257
|
-
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 };
|
|
25284
|
+
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, RichTextService as ɵo };
|
|
25258
25285
|
//# sourceMappingURL=datorama-core.js.map
|