@datorama/core 22.1.1-rc.2 → 22.2.4
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 +16 -17
- package/bundles/datorama-core.umd.js +173 -145
- 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 +14 -17
- 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-pagination/grid-pagination.component.js +5 -5
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.query.js +19 -14
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +46 -27
- 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/progress-bar/progress-bar.component.js +36 -16
- 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 +14 -17
- 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-pagination/grid-pagination.component.js +5 -5
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.query.js +19 -14
- package/esm5/lib/grid-v2/grid-store/grid.service.js +48 -29
- 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/progress-bar/progress-bar.component.js +36 -16
- 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 +171 -135
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +174 -145
- 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 +6 -2
- package/lib/grid-v2/grid-controller/grid-controller.component.d.ts +1 -2
- package/lib/grid-v2/grid-filter/grid-filter.types.d.ts +3 -1
- package/lib/grid-v2/grid-pagination/grid-pagination.component.d.ts +1 -0
- package/lib/grid-v2/grid-settings.d.ts +2 -2
- package/lib/grid-v2/grid-store/grid.service.d.ts +2 -1
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +0 -2
- package/lib/icon/icon.types.d.ts +1 -1
- package/lib/progress-bar/progress-bar.component.d.ts +8 -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
|
@@ -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();
|
|
@@ -11379,20 +11384,23 @@ var GridQuery = /** @class */ (function (_super) {
|
|
|
11379
11384
|
if (this.gridRef.gridOptions.pivotMode) {
|
|
11380
11385
|
var _a = this.api.grid.getSortModel().pop() || {}, sort = _a.sort, colId = _a.colId;
|
|
11381
11386
|
var column = this.api.columns.getColumn(colId);
|
|
11382
|
-
var
|
|
11383
|
-
if (
|
|
11384
|
-
|
|
11385
|
-
var secondaryColumn = this.getSecondaryColumn(pivotedColumn.getColId());
|
|
11386
|
-
var pivotColIndex = uniquePivotParents.indexOf(secondaryColumn.getParent());
|
|
11387
|
-
return { colId: getColField(pivotedColumn.getColDef()), sort: sort, pivotColIndex: pivotColIndex };
|
|
11387
|
+
var allColumns = this.api.columns.getAllGridColumns();
|
|
11388
|
+
if (column) {
|
|
11389
|
+
return { colId: colId, sort: sort, field: getColField(column.getColDef()), sortIndex: allColumns.indexOf(column) };
|
|
11388
11390
|
}
|
|
11389
|
-
else
|
|
11390
|
-
|
|
11391
|
+
else {
|
|
11392
|
+
var secondaryColumn = this.getSecondaryColumn(colId);
|
|
11393
|
+
if (secondaryColumn) {
|
|
11394
|
+
return {
|
|
11395
|
+
colId: colId,
|
|
11396
|
+
sort: sort,
|
|
11397
|
+
field: getColField(secondaryColumn.getColDef()),
|
|
11398
|
+
sortIndex: allColumns.indexOf(secondaryColumn)
|
|
11399
|
+
};
|
|
11400
|
+
}
|
|
11391
11401
|
}
|
|
11392
11402
|
}
|
|
11393
|
-
|
|
11394
|
-
return this.api.grid.getSortModel().pop();
|
|
11395
|
-
}
|
|
11403
|
+
return this.api.grid.getSortModel().pop();
|
|
11396
11404
|
};
|
|
11397
11405
|
GridQuery.prototype.selectSort = function () {
|
|
11398
11406
|
return this.select(function (state) { return state.settings.sort; });
|
|
@@ -11489,7 +11497,10 @@ var GridQuery = /** @class */ (function (_super) {
|
|
|
11489
11497
|
};
|
|
11490
11498
|
GridQuery.prototype.getSecondaryColumn = function (colId) {
|
|
11491
11499
|
var secondaryColumns = this.api.columns.getSecondaryColumns();
|
|
11492
|
-
|
|
11500
|
+
if (secondaryColumns) {
|
|
11501
|
+
return secondaryColumns.find(function (col) { return col.getColId() === colId; });
|
|
11502
|
+
}
|
|
11503
|
+
return null;
|
|
11493
11504
|
};
|
|
11494
11505
|
GridQuery.prototype.filterCheckboxSelectionColumn = function (columns) {
|
|
11495
11506
|
return columns.filter(function (column) { return !column.getUserProvidedColDef() || !column.getUserProvidedColDef().checkboxSelection; });
|
|
@@ -11541,6 +11552,8 @@ var DatoFilterConditions;
|
|
|
11541
11552
|
DatoFilterConditions["NOT_IN_LIST"] = "NOT_IN_LIST";
|
|
11542
11553
|
DatoFilterConditions["IS_EMPTY"] = "IS_EMPTY";
|
|
11543
11554
|
DatoFilterConditions["NOT_EMPTY"] = "NOT_EMPTY";
|
|
11555
|
+
DatoFilterConditions["IS_NULL"] = "IS_NULL";
|
|
11556
|
+
DatoFilterConditions["NOT_NULL"] = "NOT_NULL";
|
|
11544
11557
|
})(DatoFilterConditions || (DatoFilterConditions = {}));
|
|
11545
11558
|
var DatoGridDateFilterOptions = [
|
|
11546
11559
|
DatoFilterConditions.IN_RANGE,
|
|
@@ -11624,8 +11637,10 @@ function validateNumberCondition(unparsedRowValue, _a, filterKey) {
|
|
|
11624
11637
|
case DatoFilterConditions.IN_RANGE:
|
|
11625
11638
|
return rowValue >= filterValue && rowValue <= parseFloat(rangeEnd);
|
|
11626
11639
|
case DatoFilterConditions.IS_EMPTY:
|
|
11640
|
+
case DatoFilterConditions.IS_NULL:
|
|
11627
11641
|
return isNil(rowValue);
|
|
11628
11642
|
case DatoFilterConditions.NOT_EMPTY:
|
|
11643
|
+
case DatoFilterConditions.NOT_NULL:
|
|
11629
11644
|
return !isNil(rowValue);
|
|
11630
11645
|
}
|
|
11631
11646
|
}
|
|
@@ -11811,7 +11826,7 @@ function toolbarActionToContextAction(params) {
|
|
|
11811
11826
|
return contextActions;
|
|
11812
11827
|
}
|
|
11813
11828
|
|
|
11814
|
-
var DATO_GRID_STORAGE_API = new InjectionToken('
|
|
11829
|
+
var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
|
|
11815
11830
|
|
|
11816
11831
|
var defaultEditableColumnRenderer = function (params) {
|
|
11817
11832
|
return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
|
|
@@ -12626,10 +12641,11 @@ var DatoGridFilterComponent = /** @class */ (function () {
|
|
|
12626
12641
|
var _a;
|
|
12627
12642
|
var _this = this;
|
|
12628
12643
|
var _b = this.popover.data, gridService = _b.gridService, gridQuery = _b.gridQuery;
|
|
12629
|
-
var _c = this.colDef, filter = _c.filter,
|
|
12644
|
+
var _c = this.colDef, filter = _c.filter, pivotValueColumn = _c.pivotValueColumn, pivotKeys = _c.pivotKeys;
|
|
12630
12645
|
var colDefs = gridQuery.api.columns.getAllColumns().map(function (column) { return column.getColDef(); });
|
|
12631
12646
|
this.colField = getColField(this.colDef);
|
|
12632
12647
|
var colDef = colDefs.find(function (colDef) { return colDef.field === _this.colField; });
|
|
12648
|
+
var filtersConfig = colDef.filtersConfig || this.colDef.filtersConfig || {};
|
|
12633
12649
|
var colFilter = filter || colDef.filter;
|
|
12634
12650
|
var filterOptions = DatoGridFilterOptionsMap[colFilter];
|
|
12635
12651
|
this.pivotColumn = gridQuery.api.columns.getSecondaryPivotColumn(pivotKeys, pivotValueColumn);
|
|
@@ -12651,7 +12667,11 @@ var DatoGridFilterComponent = /** @class */ (function () {
|
|
|
12651
12667
|
if (this.filterSections.Conditional) {
|
|
12652
12668
|
var filterConditions = filterOptions || DatoGridStringFilterOptions;
|
|
12653
12669
|
if (filtersConfig.showEmptyConditions) {
|
|
12654
|
-
|
|
12670
|
+
var emptyConditions = [DatoFilterConditions.IS_EMPTY, DatoFilterConditions.NOT_EMPTY];
|
|
12671
|
+
if (this.filterType === DatoGridFilterTypes.Number) {
|
|
12672
|
+
emptyConditions = [DatoFilterConditions.IS_NULL, DatoFilterConditions.NOT_NULL];
|
|
12673
|
+
}
|
|
12674
|
+
filterConditions = __spread(filterConditions, emptyConditions);
|
|
12655
12675
|
}
|
|
12656
12676
|
this.conditionalFilterOptions = filterConditions.map(function (operand, id) { return ({
|
|
12657
12677
|
id: id,
|
|
@@ -13042,7 +13062,10 @@ var DatoGridFilterComponent = /** @class */ (function () {
|
|
|
13042
13062
|
valueControl.updateValueAndValidity();
|
|
13043
13063
|
};
|
|
13044
13064
|
DatoGridFilterComponent.prototype.isEmptyOperand = function (operand) {
|
|
13045
|
-
return operand === DatoFilterConditions.IS_EMPTY ||
|
|
13065
|
+
return (operand === DatoFilterConditions.IS_EMPTY ||
|
|
13066
|
+
operand === DatoFilterConditions.NOT_EMPTY ||
|
|
13067
|
+
operand === DatoFilterConditions.IS_NULL ||
|
|
13068
|
+
operand === DatoFilterConditions.NOT_NULL);
|
|
13046
13069
|
};
|
|
13047
13070
|
DatoGridFilterComponent.prototype.isStringArray = function (value) {
|
|
13048
13071
|
return isString(value[0]);
|
|
@@ -14182,19 +14205,13 @@ var GridService = /** @class */ (function () {
|
|
|
14182
14205
|
}
|
|
14183
14206
|
};
|
|
14184
14207
|
GridService.prototype.setGridFilters = function (filters) {
|
|
14185
|
-
var e_2, _a;
|
|
14186
|
-
if (this.api) {
|
|
14208
|
+
var e_2, _a, _b;
|
|
14209
|
+
if (this.api && filters) {
|
|
14210
|
+
var appliedFilter = {};
|
|
14187
14211
|
try {
|
|
14188
14212
|
for (var filters_1 = __values(filters), filters_1_1 = filters_1.next(); !filters_1_1.done; filters_1_1 = filters_1.next()) {
|
|
14189
|
-
var
|
|
14190
|
-
|
|
14191
|
-
if (column) {
|
|
14192
|
-
this.setColumnFilter(column, filter);
|
|
14193
|
-
}
|
|
14194
|
-
else {
|
|
14195
|
-
var pivotColumn = this.gridQuery.getSecondaryColumn(filter.colId);
|
|
14196
|
-
this.setColumnFilter(pivotColumn, filter);
|
|
14197
|
-
}
|
|
14213
|
+
var _c = filters_1_1.value, filter = _c.filter, field = _c.field;
|
|
14214
|
+
appliedFilter = __assign(__assign({}, appliedFilter), (_b = {}, _b[field] = filter, _b));
|
|
14198
14215
|
}
|
|
14199
14216
|
}
|
|
14200
14217
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
@@ -14204,7 +14221,28 @@ var GridService = /** @class */ (function () {
|
|
|
14204
14221
|
}
|
|
14205
14222
|
finally { if (e_2) throw e_2.error; }
|
|
14206
14223
|
}
|
|
14207
|
-
this.
|
|
14224
|
+
this.updateSettings({ filter: appliedFilter });
|
|
14225
|
+
this.api.grid.onFilterChanged();
|
|
14226
|
+
}
|
|
14227
|
+
};
|
|
14228
|
+
GridService.prototype.setGridSort = function (gridSort) {
|
|
14229
|
+
if (this.api && gridSort) {
|
|
14230
|
+
var sort = gridSort.sort, sortIndex = gridSort.sortIndex;
|
|
14231
|
+
if (!isNil(sortIndex)) {
|
|
14232
|
+
var columns = this.api.columns.getAllGridColumns();
|
|
14233
|
+
if (columns) {
|
|
14234
|
+
var column = columns[sortIndex];
|
|
14235
|
+
if (column) {
|
|
14236
|
+
var sortToApply = { colId: column.getColId(), sort: sort };
|
|
14237
|
+
this.updateSettings({ sort: sortToApply });
|
|
14238
|
+
this.api.grid.setSortModel([sortToApply]);
|
|
14239
|
+
}
|
|
14240
|
+
}
|
|
14241
|
+
}
|
|
14242
|
+
else {
|
|
14243
|
+
this.updateSettings({ sort: gridSort });
|
|
14244
|
+
this.api.grid.setSortModel([gridSort]);
|
|
14245
|
+
}
|
|
14208
14246
|
}
|
|
14209
14247
|
};
|
|
14210
14248
|
GridService.prototype.updateFilter = function (column, filter) {
|
|
@@ -14262,8 +14300,7 @@ var GridService = /** @class */ (function () {
|
|
|
14262
14300
|
this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
|
|
14263
14301
|
};
|
|
14264
14302
|
GridService.prototype.saveSettingsToServer = function (settings) {
|
|
14265
|
-
|
|
14266
|
-
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
14303
|
+
this.storageAPI.set(this.gridName, settings);
|
|
14267
14304
|
};
|
|
14268
14305
|
/**
|
|
14269
14306
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -14670,6 +14707,13 @@ var GridService = /** @class */ (function () {
|
|
|
14670
14707
|
column: column
|
|
14671
14708
|
};
|
|
14672
14709
|
}
|
|
14710
|
+
if (condition === DatoFilterConditions.IS_NULL || condition === DatoFilterConditions.NOT_NULL) {
|
|
14711
|
+
return {
|
|
14712
|
+
condition: DatoFilterConditions.IS_NULL,
|
|
14713
|
+
value: condition === DatoFilterConditions.IS_NULL ? 'true' : 'false',
|
|
14714
|
+
column: column
|
|
14715
|
+
};
|
|
14716
|
+
}
|
|
14673
14717
|
return __assign(__assign({}, item), { column: column });
|
|
14674
14718
|
})
|
|
14675
14719
|
};
|
|
@@ -14733,13 +14777,12 @@ var GridService = /** @class */ (function () {
|
|
|
14733
14777
|
if (userProvidedColDef) {
|
|
14734
14778
|
colDef.filter = userProvidedColDef.filter;
|
|
14735
14779
|
}
|
|
14736
|
-
|
|
14737
|
-
|
|
14738
|
-
|
|
14739
|
-
|
|
14740
|
-
|
|
14741
|
-
|
|
14742
|
-
// }
|
|
14780
|
+
if (colDef.pivotKeys) {
|
|
14781
|
+
colDef.pivotKeys = colDef.pivotKeys.map(function (key) {
|
|
14782
|
+
var parsedKey = tryParsePivotValue(key);
|
|
14783
|
+
return (parsedKey && parsedKey.value) || '';
|
|
14784
|
+
});
|
|
14785
|
+
}
|
|
14743
14786
|
};
|
|
14744
14787
|
gridOptions.processSecondaryColGroupDef = function (colGroupDef) {
|
|
14745
14788
|
if (colGroupDef.headerName) {
|
|
@@ -14764,13 +14807,12 @@ var GridService = /** @class */ (function () {
|
|
|
14764
14807
|
else {
|
|
14765
14808
|
colGroupDef.headerClass = ['empty-pivot-header'];
|
|
14766
14809
|
}
|
|
14767
|
-
|
|
14768
|
-
|
|
14769
|
-
|
|
14770
|
-
|
|
14771
|
-
|
|
14772
|
-
|
|
14773
|
-
// }
|
|
14810
|
+
if (colGroupDef.pivotKeys) {
|
|
14811
|
+
colGroupDef.pivotKeys = colGroupDef.pivotKeys.map(function (key) {
|
|
14812
|
+
var parsedKey = tryParsePivotValue(key);
|
|
14813
|
+
return (parsedKey && parsedKey.value) || '';
|
|
14814
|
+
});
|
|
14815
|
+
}
|
|
14774
14816
|
};
|
|
14775
14817
|
};
|
|
14776
14818
|
GridService.prototype.setPivotModeRows = function (data) {
|
|
@@ -15263,10 +15305,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15263
15305
|
.pipe(switchMap(function () {
|
|
15264
15306
|
_this.gridOptions = _this.normalizeOptions();
|
|
15265
15307
|
agGrid.gridOptions = _this.gridOptions;
|
|
15266
|
-
var
|
|
15267
|
-
var settingsLoader = _this.gridOptions.saveSettings === false
|
|
15268
|
-
? of(null)
|
|
15269
|
-
: _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
|
|
15308
|
+
var settingsLoader = _this.gridOptions.saveSettings === false ? of(null) : _this.storageAPI.get(_this.gridOptions.gridName);
|
|
15270
15309
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
15271
15310
|
}), untilDestroyed(this))
|
|
15272
15311
|
.subscribe(function (_a) {
|
|
@@ -15274,6 +15313,11 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15274
15313
|
if (!_this.gridOptions.rowData) {
|
|
15275
15314
|
api.showLoadingOverlay();
|
|
15276
15315
|
}
|
|
15316
|
+
if (!_this.gridOptions.statusBar) {
|
|
15317
|
+
/** Fix ag-grid bug that doesn't add ag-hidden class to the status bar, which only get fixed in later versions */
|
|
15318
|
+
var el = agGridEl.querySelector('.ag-status-bar');
|
|
15319
|
+
addClass(el, 'ag-hidden');
|
|
15320
|
+
}
|
|
15277
15321
|
var gridApi = { grid: api, columns: columnApi };
|
|
15278
15322
|
_this.gridService._setApi(gridApi, agGrid);
|
|
15279
15323
|
_this.gridQuery._setApi(gridApi, agGrid);
|
|
@@ -15313,11 +15357,8 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15313
15357
|
DatoGridControllerComponent.prototype.setGridFilters = function (filters) {
|
|
15314
15358
|
this.gridService.setGridFilters(filters);
|
|
15315
15359
|
};
|
|
15316
|
-
DatoGridControllerComponent.prototype.
|
|
15317
|
-
|
|
15318
|
-
};
|
|
15319
|
-
DatoGridControllerComponent.prototype.onSortChanged = function () {
|
|
15320
|
-
return this.gridQuery.selectSort();
|
|
15360
|
+
DatoGridControllerComponent.prototype.setGridSort = function (sort) {
|
|
15361
|
+
this.gridService.setGridSort(sort);
|
|
15321
15362
|
};
|
|
15322
15363
|
DatoGridControllerComponent.prototype.getGridIcons = function () {
|
|
15323
15364
|
var moveColumnIcon = "<span class=\"da-grid-icon pointer d-flex column-move\">" + this.iconRegistry.getSvg('move-column') + "</span>";
|
|
@@ -15366,8 +15407,8 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15366
15407
|
};
|
|
15367
15408
|
DatoGridControllerComponent.prototype.listenToGridEvents = function (agGrid) {
|
|
15368
15409
|
var _this = this;
|
|
15369
|
-
var columnVisible = agGrid.columnVisible, sortChanged = agGrid.sortChanged, columnRowGroupChanged = agGrid.columnRowGroupChanged, columnPinned = agGrid.columnPinned, dragStopped = agGrid.dragStopped;
|
|
15370
|
-
merge$1(columnVisible, sortChanged, columnRowGroupChanged, columnPinned, dragStopped)
|
|
15410
|
+
var columnVisible = agGrid.columnVisible, sortChanged = agGrid.sortChanged, columnRowGroupChanged = agGrid.columnRowGroupChanged, columnPinned = agGrid.columnPinned, dragStopped = agGrid.dragStopped, filterChanged = agGrid.filterChanged;
|
|
15411
|
+
merge$1(columnVisible, sortChanged, columnRowGroupChanged, columnPinned, dragStopped, filterChanged)
|
|
15371
15412
|
.pipe(
|
|
15372
15413
|
/* Skip the initial sorting event fired by the grid when adding rows */
|
|
15373
15414
|
skip(1), untilDestroyed(this))
|
|
@@ -15376,10 +15417,8 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15376
15417
|
var settingsDiff = _this.gridService.getSettingsDiff();
|
|
15377
15418
|
_this.gridService.updateSettings(settingsDiff);
|
|
15378
15419
|
var data = _this.getGridData();
|
|
15379
|
-
_this.onGridChange.emit({
|
|
15380
|
-
|
|
15381
|
-
data: data
|
|
15382
|
-
});
|
|
15420
|
+
_this.onGridChange.emit(__assign(__assign({}, settingsDiff), { type: type,
|
|
15421
|
+
data: data }));
|
|
15383
15422
|
});
|
|
15384
15423
|
};
|
|
15385
15424
|
DatoGridControllerComponent.prototype.listenToStoreSettingsChanges = function () {
|
|
@@ -16051,6 +16090,7 @@ var DatoGridPaginationV2Component = /** @class */ (function () {
|
|
|
16051
16090
|
// Show fit cell content and collapse/expand row groups controls
|
|
16052
16091
|
this.showBottomControls = false;
|
|
16053
16092
|
this.isExpanded = true;
|
|
16093
|
+
this.hasRowGroupColumns = false;
|
|
16054
16094
|
this.isServerSidePagination = false;
|
|
16055
16095
|
// The number of pages displayed in the navigation panel for each view as defined by product.
|
|
16056
16096
|
this.MINI_DISPLAY_LENGTH = 2;
|
|
@@ -16099,8 +16139,10 @@ var DatoGridPaginationV2Component = /** @class */ (function () {
|
|
|
16099
16139
|
});
|
|
16100
16140
|
this.gridQuery.gridReady$
|
|
16101
16141
|
.pipe(tap(function () {
|
|
16142
|
+
var rowGroupColumns = _this.gridQuery.api.columns.getRowGroupColumns();
|
|
16102
16143
|
_this.gridApi = _this.gridQuery.api.grid;
|
|
16103
16144
|
_this.showBottomControls = _this.gridQuery.getGridOptions().showBottomControls;
|
|
16145
|
+
_this.hasRowGroupColumns = rowGroupColumns && rowGroupColumns.length > 0;
|
|
16104
16146
|
}), switchMap(function () {
|
|
16105
16147
|
_this.isServerSidePagination = _this.gridQuery.isServerSide;
|
|
16106
16148
|
return _this.isServerSidePagination ? _this.gridQuery.serverDataLoaded$ : _this.gridQuery.rowDataChanged$;
|
|
@@ -16226,9 +16268,6 @@ var DatoGridPaginationV2Component = /** @class */ (function () {
|
|
|
16226
16268
|
DatoGridPaginationV2Component.prototype.toggleGroupsState = function () {
|
|
16227
16269
|
this.isExpanded ? this.gridApi.collapseAll() : this.gridApi.expandAll();
|
|
16228
16270
|
this.isExpanded = !this.isExpanded;
|
|
16229
|
-
// this.gridApi.forEachNode((node: RowNode) => {
|
|
16230
|
-
// node.setExpanded(this.isExpanded);
|
|
16231
|
-
// });
|
|
16232
16271
|
};
|
|
16233
16272
|
DatoGridPaginationV2Component.prototype.autoFitGrid = function (type) {
|
|
16234
16273
|
this.gridService.fitGrid(type);
|
|
@@ -16321,7 +16360,7 @@ var DatoGridPaginationV2Component = /** @class */ (function () {
|
|
|
16321
16360
|
Component({
|
|
16322
16361
|
selector: 'dato-grid-pagination-v2',
|
|
16323
16362
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16324
|
-
template: "<div class=\"d-flex-row d-flex-auto d-flex-wrap container\" [class.small]=\"smallVersion\"\n [attr.data-pages-count]=\"totalPages\"\n [attr.data-current-page]=\"pageNumbersDisplay.currentPage\"\n [attr.data-page-size]=\"rowsPerPage\"\n [attr.data-rows-count]=\"rowCount\">\n <div *ngIf=\"totalPages > 1\" #navigation\n class=\"navigation d-flex-row d-flex-0-0-auto align-center\">\n\n <!-- First Page -->\n <dato-icon-button *ngIf=\"!disableButtons\"\n class=\"mr-4\" data-auto-id=\"pagiantion-first-page\"\n icon=\"chevron-left-double\"\n datoType=\"secondary\"\n datoSize=\"md\"\n [disabled]=\"prevPageDisabled\"\n (click)=\"navigateFirstPage()\">\n </dato-icon-button>\n\n <!-- Previous Page -->\n <dato-icon-button icon=\"arrow-left\" datoType=\"secondary\" datoSize=\"md\"\n [disabled]=\"prevPageDisabled\" data-auto-id=\"pagiantion-previous-page\"\n (click)=\"navigatePrevPage()\">\n </dato-icon-button>\n\n\n <div class=\"d-flex mx-5 align-center number-container\">\n <dato-link class=\"page-number mx-5\" datoType=\"secondary\" datoSize=\"sm\" data-auto-id=\"pagiantion-previous-batch\"\n *ngIf=\"pageNumbersDisplay.showFirstEllipsis && !smallVersion\"\n (click)=\"showPreviousBatch()\">...\n </dato-link>\n <dato-link class=\"page-number mx-5\" [datoType]=\"page === pageNumbersDisplay.currentPage ? 'primary' : 'secondary'\" datoSize=\"sm\"\n *ngFor=\"let page of pageNumbersDisplay.pages; index as i; trackBy: trackByPage;\" [attr.data-auto-id]=\"'pagiantion-page-' + i\"\n (click)=\"navigatePage(page - 1)\">\n {{page}}\n </dato-link>\n\n <div class=\"d-flex\" *ngIf=\"pageNumbersDisplay.showLastPage && !smallVersion\">\n <dato-link class=\"page-number mx-5\" datoType=\"secondary\" datoSize=\"sm\" data-auto-id=\"pagiantion-next-batch\"\n (click)=\"showNextBatch()\">...</dato-link>\n <dato-link class=\"page-number mx-5\" datoType=\"secondary\" datoSize=\"sm\"\n [attr.data-auto-id]=\"'pagiantion-page-' + totalPages\"\n (click)=\"navigatePage(totalPages - 1)\">\n {{totalPages}}\n </dato-link>\n </div>\n\n </div>\n\n <!-- Next Page -->\n <dato-icon-button icon=\"arrow-right\" datoType=\"secondary\" datoSize=\"md\"\n (click)=\"navigateNextPage()\" data-auto-id=\"pagiantion-next-page\"\n [disabled]=\"nextPageDisabled\">\n </dato-icon-button>\n\n <!-- Last Page -->\n <dato-icon-button *ngIf=\"!disableButtons\"\n class=\"ml-4\" icon=\"chevron-right-double\"\n datoType=\"secondary\" datoSize=\"md\" data-auto-id=\"pagiantion-last-page\"\n [disabled]=\"nextPageDisabled\"\n (click)=\"navigatePage(totalPages - 1)\">\n </dato-icon-button>\n\n </div>\n\n <div *ngIf=\"totalPages > 1 && !smallVersion\"\n class=\"separator mx-10 my-auto primary-100-background-color\">\n </div>\n\n <div class=\"total d-flex-0-0-auto d-flex-row align-center\">\n <span class=\"dato-note primary-300-color\">{{rowsRange}}</span>\n </div>\n\n <div *ngIf=\"showBottomControls\" class=\"grid-controls d-flex d-flex-1 justify-end\">\n <dato-icon-button [icon]=\"isExpanded ? 'collapse' : 'expand'\" datoType=\"secondary\"
|
|
16363
|
+
template: "<div class=\"d-flex-row d-flex-auto d-flex-wrap container\" [class.small]=\"smallVersion\"\n [attr.data-pages-count]=\"totalPages\"\n [attr.data-current-page]=\"pageNumbersDisplay.currentPage\"\n [attr.data-page-size]=\"rowsPerPage\"\n [attr.data-rows-count]=\"rowCount\">\n <div *ngIf=\"totalPages > 1\" #navigation\n class=\"navigation d-flex-row d-flex-0-0-auto align-center\">\n\n <!-- First Page -->\n <dato-icon-button *ngIf=\"!disableButtons\"\n class=\"mr-4\" data-auto-id=\"pagiantion-first-page\"\n icon=\"chevron-left-double\"\n datoType=\"secondary\"\n datoSize=\"md\"\n [disabled]=\"prevPageDisabled\"\n (click)=\"navigateFirstPage()\">\n </dato-icon-button>\n\n <!-- Previous Page -->\n <dato-icon-button icon=\"arrow-left\" datoType=\"secondary\" datoSize=\"md\"\n [disabled]=\"prevPageDisabled\" data-auto-id=\"pagiantion-previous-page\"\n (click)=\"navigatePrevPage()\">\n </dato-icon-button>\n\n\n <div class=\"d-flex mx-5 align-center number-container\">\n <dato-link class=\"page-number mx-5\" datoType=\"secondary\" datoSize=\"sm\" data-auto-id=\"pagiantion-previous-batch\"\n *ngIf=\"pageNumbersDisplay.showFirstEllipsis && !smallVersion\"\n (click)=\"showPreviousBatch()\">...\n </dato-link>\n <dato-link class=\"page-number mx-5\" [datoType]=\"page === pageNumbersDisplay.currentPage ? 'primary' : 'secondary'\" datoSize=\"sm\"\n *ngFor=\"let page of pageNumbersDisplay.pages; index as i; trackBy: trackByPage;\" [attr.data-auto-id]=\"'pagiantion-page-' + i\"\n (click)=\"navigatePage(page - 1)\">\n {{page}}\n </dato-link>\n\n <div class=\"d-flex\" *ngIf=\"pageNumbersDisplay.showLastPage && !smallVersion\">\n <dato-link class=\"page-number mx-5\" datoType=\"secondary\" datoSize=\"sm\" data-auto-id=\"pagiantion-next-batch\"\n (click)=\"showNextBatch()\">...</dato-link>\n <dato-link class=\"page-number mx-5\" datoType=\"secondary\" datoSize=\"sm\"\n [attr.data-auto-id]=\"'pagiantion-page-' + totalPages\"\n (click)=\"navigatePage(totalPages - 1)\">\n {{totalPages}}\n </dato-link>\n </div>\n\n </div>\n\n <!-- Next Page -->\n <dato-icon-button icon=\"arrow-right\" datoType=\"secondary\" datoSize=\"md\"\n (click)=\"navigateNextPage()\" data-auto-id=\"pagiantion-next-page\"\n [disabled]=\"nextPageDisabled\">\n </dato-icon-button>\n\n <!-- Last Page -->\n <dato-icon-button *ngIf=\"!disableButtons\"\n class=\"ml-4\" icon=\"chevron-right-double\"\n datoType=\"secondary\" datoSize=\"md\" data-auto-id=\"pagiantion-last-page\"\n [disabled]=\"nextPageDisabled\"\n (click)=\"navigatePage(totalPages - 1)\">\n </dato-icon-button>\n\n </div>\n\n <div *ngIf=\"totalPages > 1 && !smallVersion\"\n class=\"separator mx-10 my-auto primary-100-background-color\">\n </div>\n\n <div class=\"total d-flex-0-0-auto d-flex-row align-center\">\n <span class=\"dato-note primary-300-color\">{{rowsRange}}</span>\n </div>\n\n <div *ngIf=\"showBottomControls\" class=\"grid-controls d-flex d-flex-1 justify-end\">\n <dato-icon-button *ngIf=\"hasRowGroupColumns\" [icon]=\"isExpanded ? 'collapse' : 'expand'\" datoType=\"secondary\"\n datoSize=\"md\" (click)=\"toggleGroupsState()\" data-auto-id=\"pagination-expand-collapse\"\n [datoTooltipV2]=\"isExpanded ? 'core.collapse-rows' : 'core.expand-rows'\">\n </dato-icon-button>\n\n <dato-icon-button class=\"mx-4\" icon=\"maximize-horizontal\" datoType=\"secondary\" datoSize=\"md\"\n (click)=\"autoFitGrid('content')\" [datoTooltipV2]=\"'core.fit-to-content'\"\n data-auto-id=\"pagination-fit-to-content\">\n </dato-icon-button>\n\n <dato-icon-button icon=\"minimize-horizontal\" datoType=\"secondary\" datoSize=\"md\"\n (click)=\"autoFitGrid('container')\" [datoTooltipV2]=\"'core.fit-to-container'\"\n data-auto-id=\"pagination-fit-to-container\">\n </dato-icon-button>\n </div>\n</div>\n",
|
|
16325
16364
|
providers: [DecimalPipe],
|
|
16326
16365
|
styles: [":host{padding:12px 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;min-height:25px}:host .container{height:25px}:host .navigation .page-number{transition:color .3s ease-in-out}:host .navigation .page-number:first-of-type{margin-left:7px}:host .navigation .page-number:last-of-type{margin-right:7px}:host .separator{width:1px;height:25px}:host .container.small .navigation,:host .container.small .total{margin-top:8px;margin-left:auto;margin-right:auto}"]
|
|
16327
16366
|
}),
|
|
@@ -16544,18 +16583,6 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
|
|
|
16544
16583
|
this.registerGroupListeners();
|
|
16545
16584
|
this.subscribeRowsSelectionData();
|
|
16546
16585
|
};
|
|
16547
|
-
DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
|
|
16548
|
-
var _this = this;
|
|
16549
|
-
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16550
|
-
return _this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16551
|
-
});
|
|
16552
|
-
};
|
|
16553
|
-
DatoGridV2ToolbarComponent.prototype.getRowDataUpdatedEvent = function () {
|
|
16554
|
-
var _this = this;
|
|
16555
|
-
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16556
|
-
return _this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16557
|
-
});
|
|
16558
|
-
};
|
|
16559
16586
|
DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
|
|
16560
16587
|
if (isFunction(action.onClick)) {
|
|
16561
16588
|
var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -21031,40 +21058,6 @@ var DatoEditableHeaderModule = /** @class */ (function () {
|
|
|
21031
21058
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
21032
21059
|
*/
|
|
21033
21060
|
|
|
21034
|
-
var RichTextService = /** @class */ (function () {
|
|
21035
|
-
function RichTextService(http, config) {
|
|
21036
|
-
this.http = http;
|
|
21037
|
-
this.config = config;
|
|
21038
|
-
}
|
|
21039
|
-
RichTextService.prototype.getLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21040
|
-
if (!this.richTextScript$) {
|
|
21041
|
-
this.initLib(appendScriptFunc, appendStyleFunc);
|
|
21042
|
-
}
|
|
21043
|
-
return this.richTextScript$;
|
|
21044
|
-
};
|
|
21045
|
-
RichTextService.prototype.initLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21046
|
-
this.richTextScript$ = combineLatest([
|
|
21047
|
-
this.http
|
|
21048
|
-
.get(this.config.paths.richText + "/index.js", { responseType: 'text' })
|
|
21049
|
-
.pipe(tap(function (lib) { return appendScriptFunc(lib, 'rich-text-editor'); })),
|
|
21050
|
-
this.http
|
|
21051
|
-
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21052
|
-
.pipe(tap(function (style) { return appendStyleFunc(style, 'tinymce-autocomplete'); }))
|
|
21053
|
-
]).pipe(shareReplay(1));
|
|
21054
|
-
};
|
|
21055
|
-
RichTextService.ctorParameters = function () { return [
|
|
21056
|
-
{ type: HttpClient },
|
|
21057
|
-
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21058
|
-
]; };
|
|
21059
|
-
RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
|
|
21060
|
-
RichTextService = __decorate([
|
|
21061
|
-
Injectable({ providedIn: 'root' }),
|
|
21062
|
-
__param(1, Inject(DATO_CORE_CONFIG)),
|
|
21063
|
-
__metadata("design:paramtypes", [HttpClient, Object])
|
|
21064
|
-
], RichTextService);
|
|
21065
|
-
return RichTextService;
|
|
21066
|
-
}());
|
|
21067
|
-
|
|
21068
21061
|
/**
|
|
21069
21062
|
* @license
|
|
21070
21063
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -21078,12 +21071,12 @@ var getTinymce = function () {
|
|
|
21078
21071
|
var ɵ0$3 = getTinymce;
|
|
21079
21072
|
var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
21080
21073
|
__extends(DatoRichTextDirective, _super);
|
|
21081
|
-
function DatoRichTextDirective(ngZone,
|
|
21074
|
+
function DatoRichTextDirective(ngZone, http, host, config) {
|
|
21082
21075
|
var _this = _super.call(this) || this;
|
|
21083
21076
|
_this.ngZone = ngZone;
|
|
21084
|
-
_this.
|
|
21085
|
-
_this.config = config;
|
|
21077
|
+
_this.http = http;
|
|
21086
21078
|
_this.host = host;
|
|
21079
|
+
_this.config = config;
|
|
21087
21080
|
_this.autocompleteOptions = {};
|
|
21088
21081
|
_this.forcePlainTextPasting = false;
|
|
21089
21082
|
_this.format = 'html';
|
|
@@ -21117,11 +21110,28 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21117
21110
|
base: this.config.paths.richText,
|
|
21118
21111
|
query: ''
|
|
21119
21112
|
};
|
|
21120
|
-
|
|
21121
|
-
|
|
21122
|
-
|
|
21123
|
-
|
|
21124
|
-
|
|
21113
|
+
/**
|
|
21114
|
+
* We support only one instance in load time
|
|
21115
|
+
*/
|
|
21116
|
+
if (window.tinymce) {
|
|
21117
|
+
this.init.call(this);
|
|
21118
|
+
}
|
|
21119
|
+
else {
|
|
21120
|
+
this.loadLib().subscribe(function (lib) {
|
|
21121
|
+
appendScript(lib, 'rich-text-editor');
|
|
21122
|
+
_this.init.call(_this);
|
|
21123
|
+
_this.loadAutoCompleteStyle();
|
|
21124
|
+
});
|
|
21125
|
+
}
|
|
21126
|
+
};
|
|
21127
|
+
DatoRichTextDirective.prototype.loadLib = function () {
|
|
21128
|
+
return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
|
|
21129
|
+
};
|
|
21130
|
+
DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
|
|
21131
|
+
this.http
|
|
21132
|
+
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21133
|
+
.subscribe(function (style) {
|
|
21134
|
+
appendStyle(style, 'tinymce-autocomplete');
|
|
21125
21135
|
});
|
|
21126
21136
|
};
|
|
21127
21137
|
DatoRichTextDirective.prototype.initEditor = function (_, editor) {
|
|
@@ -21214,9 +21224,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21214
21224
|
var DatoRichTextDirective_1;
|
|
21215
21225
|
DatoRichTextDirective.ctorParameters = function () { return [
|
|
21216
21226
|
{ type: NgZone },
|
|
21217
|
-
{ type:
|
|
21218
|
-
{ type:
|
|
21219
|
-
{ type:
|
|
21227
|
+
{ type: HttpClient },
|
|
21228
|
+
{ type: ElementRef },
|
|
21229
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21220
21230
|
]; };
|
|
21221
21231
|
__decorate([
|
|
21222
21232
|
Input(),
|
|
@@ -21282,9 +21292,10 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21282
21292
|
}
|
|
21283
21293
|
]
|
|
21284
21294
|
}),
|
|
21285
|
-
__param(
|
|
21295
|
+
__param(3, Inject(DATO_CORE_CONFIG)),
|
|
21286
21296
|
__metadata("design:paramtypes", [NgZone,
|
|
21287
|
-
|
|
21297
|
+
HttpClient,
|
|
21298
|
+
ElementRef, Object])
|
|
21288
21299
|
], DatoRichTextDirective);
|
|
21289
21300
|
return DatoRichTextDirective;
|
|
21290
21301
|
}(BaseCustomControl));
|
|
@@ -23807,9 +23818,7 @@ var DatoBreadcrumbsComponent = /** @class */ (function () {
|
|
|
23807
23818
|
};
|
|
23808
23819
|
DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
|
|
23809
23820
|
var _this = this;
|
|
23810
|
-
this.headerControl.valueChanges
|
|
23811
|
-
.pipe(debounceTime(300), untilDestroyed(this))
|
|
23812
|
-
.subscribe(function (res) {
|
|
23821
|
+
this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe(function (res) {
|
|
23813
23822
|
_this.updateEditableText.emit(res);
|
|
23814
23823
|
_this.cdr.detectChanges();
|
|
23815
23824
|
});
|
|
@@ -24498,22 +24507,17 @@ var DatoPillsModule = /** @class */ (function () {
|
|
|
24498
24507
|
}());
|
|
24499
24508
|
|
|
24500
24509
|
var DatoProgressBarComponent = /** @class */ (function () {
|
|
24501
|
-
function DatoProgressBarComponent() {
|
|
24510
|
+
function DatoProgressBarComponent(cdr) {
|
|
24511
|
+
this.cdr = cdr;
|
|
24502
24512
|
this.barColor = 'primary-100';
|
|
24503
24513
|
this.thresholds = [33, 66];
|
|
24504
24514
|
}
|
|
24505
24515
|
DatoProgressBarComponent.prototype.ngOnInit = function () {
|
|
24506
|
-
if (!this.parts
|
|
24507
|
-
|
|
24508
|
-
|
|
24509
|
-
|
|
24510
|
-
this.
|
|
24511
|
-
{
|
|
24512
|
-
percent: this.percent,
|
|
24513
|
-
color: this.color,
|
|
24514
|
-
tooltip: this.tooltip
|
|
24515
|
-
}
|
|
24516
|
-
];
|
|
24516
|
+
if (!this.parts) {
|
|
24517
|
+
this.percent = this.percent || 0;
|
|
24518
|
+
this.isByPercent = true;
|
|
24519
|
+
this.hasInitialColor = !!this.color;
|
|
24520
|
+
this.initSinglePart();
|
|
24517
24521
|
}
|
|
24518
24522
|
else if (this.parts &&
|
|
24519
24523
|
this.parts.every(function (part) { return part.weight >= 0; }) &&
|
|
@@ -24521,6 +24525,27 @@ var DatoProgressBarComponent = /** @class */ (function () {
|
|
|
24521
24525
|
this.initPartsPercent();
|
|
24522
24526
|
}
|
|
24523
24527
|
};
|
|
24528
|
+
DatoProgressBarComponent.prototype.ngOnChanges = function (changes) {
|
|
24529
|
+
if (this.isByPercent &&
|
|
24530
|
+
((changes.percent && !changes.percent.firstChange) ||
|
|
24531
|
+
(changes.color && !changes.color.firstChange) ||
|
|
24532
|
+
(changes.tooltip && !changes.tooltip.firstChange))) {
|
|
24533
|
+
this.initSinglePart();
|
|
24534
|
+
this.cdr.detectChanges();
|
|
24535
|
+
}
|
|
24536
|
+
};
|
|
24537
|
+
DatoProgressBarComponent.prototype.initSinglePart = function () {
|
|
24538
|
+
if (!this.color || !this.hasInitialColor) {
|
|
24539
|
+
this.initColor();
|
|
24540
|
+
}
|
|
24541
|
+
this.parts = [
|
|
24542
|
+
{
|
|
24543
|
+
percent: this.percent,
|
|
24544
|
+
color: this.color,
|
|
24545
|
+
tooltip: this.tooltip
|
|
24546
|
+
}
|
|
24547
|
+
];
|
|
24548
|
+
};
|
|
24524
24549
|
DatoProgressBarComponent.prototype.initColor = function () {
|
|
24525
24550
|
if (isEmpty(this.thresholds)) {
|
|
24526
24551
|
this.color = 'accent-400';
|
|
@@ -24561,6 +24586,9 @@ var DatoProgressBarComponent = /** @class */ (function () {
|
|
|
24561
24586
|
}
|
|
24562
24587
|
}
|
|
24563
24588
|
};
|
|
24589
|
+
DatoProgressBarComponent.ctorParameters = function () { return [
|
|
24590
|
+
{ type: ChangeDetectorRef }
|
|
24591
|
+
]; };
|
|
24564
24592
|
__decorate([
|
|
24565
24593
|
Input(),
|
|
24566
24594
|
__metadata("design:type", String)
|
|
@@ -24596,11 +24624,12 @@ var DatoProgressBarComponent = /** @class */ (function () {
|
|
|
24596
24624
|
DatoProgressBarComponent = __decorate([
|
|
24597
24625
|
Component({
|
|
24598
24626
|
selector: 'dato-progress-bar',
|
|
24599
|
-
template: "<div class=\"bar d-flex width-100 overflow-hidden\"\n [style.width]=\"width\"\n [class]=\"barColor + '-background-color'\">\n <div *ngFor=\"let part of parts; index as i\"\n class=\"part height-100\"\n [ngClass]=\"part.color ? part.color + '-background-color' : ''\"\n [style.width]=\"i > 0 ? 'calc(' + part.percent + '% + 8px)' : part.percent + '%'\"\n [style.z-index]=\"100 - i\"\n [datoTooltipV2]=\"part.tooltip\">\n </div>\n</div>\n\n<div *ngIf=\"showLegend\" class=\"d-flex mt-12\">\n <div *ngFor=\"let part of parts; index as i\" class=\"d-flex mr-16\">\n <div class=\"d-flex dato-note primary-400-color\">\n <div class=\"legend-color mr-6\" [ngClass]=\"part.color ? part.color + '-background-color' : ''\"></div>\n <div>{{ part.legendLabel || part.tooltip }}</div>\n </div>\n </div>\n</div>\n",
|
|
24627
|
+
template: "<div class=\"bar d-flex width-100 overflow-hidden\"\n [style.width]=\"width\"\n [class]=\"barColor + '-background-color'\">\n <div *ngFor=\"let part of parts; index as i\"\n class=\"part height-100\"\n [ngClass]=\"part.color ? part.color + '-background-color' : ''\"\n [style.width]=\"i > 0 ? 'calc(' + part.percent + '% + 8px)' : part.percent + '%'\"\n [style.z-index]=\"100 - i\"\n [datoTooltipV2]=\"part.tooltip\">\n </div>\n</div>\n\n<ng-content></ng-content>\n\n<div *ngIf=\"showLegend\" class=\"d-flex mt-12\">\n <div *ngFor=\"let part of parts; index as i\" class=\"d-flex mr-16\">\n <div class=\"d-flex dato-note primary-400-color\">\n <div class=\"legend-color mr-6\" [ngClass]=\"part.color ? part.color + '-background-color' : ''\"></div>\n <div>{{ part.legendLabel || part.tooltip }}</div>\n </div>\n </div>\n</div>\n",
|
|
24600
24628
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
24601
24629
|
encapsulation: ViewEncapsulation.None,
|
|
24602
24630
|
styles: ["dato-progress-bar .bar{height:8px;border-radius:4px}dato-progress-bar .part{border-radius:0 4px 4px 0}dato-progress-bar .part:not(:first-child){margin-left:-8px}dato-progress-bar .legend-color{width:16px;height:16px;min-width:16px;border-radius:50%}"]
|
|
24603
|
-
})
|
|
24631
|
+
}),
|
|
24632
|
+
__metadata("design:paramtypes", [ChangeDetectorRef])
|
|
24604
24633
|
], DatoProgressBarComponent);
|
|
24605
24634
|
return DatoProgressBarComponent;
|
|
24606
24635
|
}());
|
|
@@ -25152,7 +25181,7 @@ function fixNgLeaks() {
|
|
|
25152
25181
|
};
|
|
25153
25182
|
}
|
|
25154
25183
|
|
|
25155
|
-
window.coreVersion = '22.
|
|
25184
|
+
window.coreVersion = '22.2.4';
|
|
25156
25185
|
|
|
25157
25186
|
/**
|
|
25158
25187
|
* @license
|
|
@@ -25166,5 +25195,5 @@ window.coreVersion = '22.1.1-rc.';
|
|
|
25166
25195
|
* Generated bundle index. Do not edit.
|
|
25167
25196
|
*/
|
|
25168
25197
|
|
|
25169
|
-
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
|
|
25198
|
+
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 };
|
|
25170
25199
|
//# sourceMappingURL=datorama-core.js.map
|