@datorama/core 22.12.3-rc.2 → 22.12.3
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 +92 -80
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +55 -55
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.d.ts +0 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/datorama-core.js +1 -2
- package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +2 -4
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +2 -5
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +2 -3
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -7
- package/esm2015/lib/pipes/pipes.module.js +4 -2
- package/esm2015/lib/pipes/public_api.js +2 -1
- package/esm2015/lib/pipes/short-number.pipe.js +15 -0
- package/esm2015/lib/rich-text/rich-text.directive.js +38 -20
- package/esm2015/lib/select/select.component.js +9 -4
- package/esm2015/lib/utils/number.js +24 -1
- package/esm2015/lib/version.js +2 -2
- package/esm5/datorama-core.js +1 -2
- package/esm5/lib/breadcrumbs/breadcrumbs.component.js +2 -4
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +2 -5
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.service.js +2 -3
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -13
- package/esm5/lib/pipes/pipes.module.js +4 -2
- package/esm5/lib/pipes/public_api.js +2 -1
- package/esm5/lib/pipes/short-number.pipe.js +19 -0
- package/esm5/lib/rich-text/rich-text.directive.js +39 -21
- package/esm5/lib/select/select.component.js +9 -4
- package/esm5/lib/utils/number.js +25 -1
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +85 -72
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +91 -80
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/date-picker/date-picker-config.d.ts +1 -1
- package/lib/grid-v2/grid/grid-v2.types.d.ts +0 -1
- package/lib/grid-v2/grid-settings.d.ts +2 -2
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +0 -2
- package/lib/pipes/public_api.d.ts +1 -0
- package/lib/pipes/short-number.pipe.d.ts +4 -0
- package/lib/rich-text/rich-text.directive.d.ts +6 -4
- package/lib/utils/number.d.ts +1 -0
- package/package.json +2 -2
- package/esm2015/lib/rich-text/rich-text.service.js +0 -50
- package/esm5/lib/rich-text/rich-text.service.js +0 -51
- package/lib/rich-text/rich-text.service.d.ts +0 -10
package/fesm5/datorama-core.js
CHANGED
|
@@ -1450,6 +1450,30 @@ function isFraction(number) {
|
|
|
1450
1450
|
function isNaN$1(number) {
|
|
1451
1451
|
return typeof number === 'number' && number !== number;
|
|
1452
1452
|
}
|
|
1453
|
+
function shortNumber(value, decimalPlaces) {
|
|
1454
|
+
if (decimalPlaces === void 0) { decimalPlaces = 0; }
|
|
1455
|
+
if (!isNumber(value)) {
|
|
1456
|
+
return '';
|
|
1457
|
+
}
|
|
1458
|
+
if (value < 1000) {
|
|
1459
|
+
return value.toString();
|
|
1460
|
+
}
|
|
1461
|
+
var suffixes = [
|
|
1462
|
+
{ suffix: 'Q', minValue: Math.pow(10, 15) },
|
|
1463
|
+
{ suffix: 'T', minValue: Math.pow(10, 12) },
|
|
1464
|
+
{ suffix: 'B', minValue: Math.pow(10, 9) },
|
|
1465
|
+
{ suffix: 'M', minValue: Math.pow(10, 6) },
|
|
1466
|
+
{ suffix: 'K', minValue: 1000 }
|
|
1467
|
+
];
|
|
1468
|
+
var round = function (num) { return Number(num.toFixed(decimalPlaces)); };
|
|
1469
|
+
for (var i = 0; i < suffixes.length; i++) {
|
|
1470
|
+
var _a = suffixes[i], minValue = _a.minValue, suffix = _a.suffix;
|
|
1471
|
+
if (value >= minValue) {
|
|
1472
|
+
return "" + round(value / minValue) + suffix;
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
return "" + round(value);
|
|
1476
|
+
}
|
|
1453
1477
|
|
|
1454
1478
|
/**
|
|
1455
1479
|
*
|
|
@@ -4678,6 +4702,21 @@ var DatoTreePipe = /** @class */ (function () {
|
|
|
4678
4702
|
return DatoTreePipe;
|
|
4679
4703
|
}());
|
|
4680
4704
|
|
|
4705
|
+
var DatoShortNumberPipe = /** @class */ (function () {
|
|
4706
|
+
function DatoShortNumberPipe() {
|
|
4707
|
+
}
|
|
4708
|
+
DatoShortNumberPipe.prototype.transform = function (value, decimalPlaces) {
|
|
4709
|
+
if (decimalPlaces === void 0) { decimalPlaces = 0; }
|
|
4710
|
+
return shortNumber(value, decimalPlaces);
|
|
4711
|
+
};
|
|
4712
|
+
DatoShortNumberPipe = __decorate([
|
|
4713
|
+
Pipe({
|
|
4714
|
+
name: 'shortNumber'
|
|
4715
|
+
})
|
|
4716
|
+
], DatoShortNumberPipe);
|
|
4717
|
+
return DatoShortNumberPipe;
|
|
4718
|
+
}());
|
|
4719
|
+
|
|
4681
4720
|
/**
|
|
4682
4721
|
* @license
|
|
4683
4722
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -4693,7 +4732,8 @@ var pipes = [
|
|
|
4693
4732
|
DatoSearchResultsGroupSortPipe,
|
|
4694
4733
|
DatoSearchResultsSortPipe,
|
|
4695
4734
|
DatoTrackByPropPipe,
|
|
4696
|
-
DatoTreePipe
|
|
4735
|
+
DatoTreePipe,
|
|
4736
|
+
DatoShortNumberPipe
|
|
4697
4737
|
];
|
|
4698
4738
|
var DatoPipesModule = /** @class */ (function () {
|
|
4699
4739
|
function DatoPipesModule() {
|
|
@@ -8634,8 +8674,9 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8634
8674
|
DatoSelectComponent.prototype.writeValue = function (activeOptions) {
|
|
8635
8675
|
this._model = activeOptions ? coerceArray$1(activeOptions) : [];
|
|
8636
8676
|
if (this.options) {
|
|
8677
|
+
var overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
|
|
8637
8678
|
this.markAsActive(this._model, { deselectAll: true });
|
|
8638
|
-
|
|
8679
|
+
overTheLimit && this.updateDisabledState();
|
|
8639
8680
|
}
|
|
8640
8681
|
/** For later updates */
|
|
8641
8682
|
this.cdr.markForCheck();
|
|
@@ -8763,6 +8804,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8763
8804
|
};
|
|
8764
8805
|
DatoSelectComponent.prototype.removeOption = function (option) {
|
|
8765
8806
|
var _this = this;
|
|
8807
|
+
var updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
|
|
8766
8808
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== option[_this.idKey]; });
|
|
8767
8809
|
var optionToRemove = this.options.find(function (datoOption) { return datoOption.option && datoOption.option[_this.idKey] === option[_this.idKey]; });
|
|
8768
8810
|
/**
|
|
@@ -8772,7 +8814,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8772
8814
|
if (optionToRemove) {
|
|
8773
8815
|
optionToRemove.active = false;
|
|
8774
8816
|
}
|
|
8775
|
-
|
|
8817
|
+
updateDisabled && this.updateDisabledState();
|
|
8776
8818
|
this.onChange(this._model);
|
|
8777
8819
|
this.cdr.markForCheck();
|
|
8778
8820
|
this.asyncUpdateDropdownPosition();
|
|
@@ -9120,6 +9162,9 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9120
9162
|
if (!datoOption) {
|
|
9121
9163
|
return;
|
|
9122
9164
|
}
|
|
9165
|
+
var modelLength = this._model.length;
|
|
9166
|
+
var updateDisabled = this.limitSelectedTo &&
|
|
9167
|
+
(modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
|
|
9123
9168
|
datoOption.active = !datoOption.active;
|
|
9124
9169
|
var rawOption = datoOption.option;
|
|
9125
9170
|
if (datoOption.active) {
|
|
@@ -9128,7 +9173,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9128
9173
|
else {
|
|
9129
9174
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== rawOption[_this.idKey]; });
|
|
9130
9175
|
}
|
|
9131
|
-
|
|
9176
|
+
updateDisabled && this.updateDisabledState();
|
|
9132
9177
|
this.onChange(this._model);
|
|
9133
9178
|
this.cdr.markForCheck();
|
|
9134
9179
|
this.asyncUpdateDropdownPosition();
|
|
@@ -11861,7 +11906,7 @@ function toolbarActionToContextAction(params) {
|
|
|
11861
11906
|
return contextActions;
|
|
11862
11907
|
}
|
|
11863
11908
|
|
|
11864
|
-
var DATO_GRID_STORAGE_API = new InjectionToken('
|
|
11909
|
+
var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
|
|
11865
11910
|
|
|
11866
11911
|
var defaultEditableColumnRenderer = function (params) {
|
|
11867
11912
|
return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
|
|
@@ -14523,8 +14568,7 @@ var GridService = /** @class */ (function () {
|
|
|
14523
14568
|
this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
|
|
14524
14569
|
};
|
|
14525
14570
|
GridService.prototype.saveSettingsToServer = function (settings) {
|
|
14526
|
-
|
|
14527
|
-
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
14571
|
+
this.storageAPI.set(this.gridName, settings);
|
|
14528
14572
|
};
|
|
14529
14573
|
/**
|
|
14530
14574
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -15534,10 +15578,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15534
15578
|
.pipe(switchMap(function () {
|
|
15535
15579
|
_this.gridOptions = _this.normalizeOptions();
|
|
15536
15580
|
agGrid.gridOptions = _this.gridOptions;
|
|
15537
|
-
var
|
|
15538
|
-
var settingsLoader = _this.gridOptions.saveSettings === false
|
|
15539
|
-
? of(null)
|
|
15540
|
-
: _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
|
|
15581
|
+
var settingsLoader = _this.gridOptions.saveSettings === false ? of(null) : _this.storageAPI.get(_this.gridOptions.gridName);
|
|
15541
15582
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
15542
15583
|
}), untilDestroyed(this))
|
|
15543
15584
|
.subscribe(function (_a) {
|
|
@@ -16832,18 +16873,6 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
|
|
|
16832
16873
|
this.registerGroupListeners();
|
|
16833
16874
|
this.subscribeRowsSelectionData();
|
|
16834
16875
|
};
|
|
16835
|
-
DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
|
|
16836
|
-
var _this = this;
|
|
16837
|
-
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16838
|
-
return _this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16839
|
-
});
|
|
16840
|
-
};
|
|
16841
|
-
DatoGridV2ToolbarComponent.prototype.getRowDataUpdatedEvent = function () {
|
|
16842
|
-
var _this = this;
|
|
16843
|
-
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16844
|
-
return _this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16845
|
-
});
|
|
16846
|
-
};
|
|
16847
16876
|
DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
|
|
16848
16877
|
if (isFunction(action.onClick)) {
|
|
16849
16878
|
var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -21331,40 +21360,6 @@ var DatoEditableHeaderModule = /** @class */ (function () {
|
|
|
21331
21360
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
21332
21361
|
*/
|
|
21333
21362
|
|
|
21334
|
-
var RichTextService = /** @class */ (function () {
|
|
21335
|
-
function RichTextService(http, config) {
|
|
21336
|
-
this.http = http;
|
|
21337
|
-
this.config = config;
|
|
21338
|
-
}
|
|
21339
|
-
RichTextService.prototype.getLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21340
|
-
if (!this.richTextScript$) {
|
|
21341
|
-
this.initLib(appendScriptFunc, appendStyleFunc);
|
|
21342
|
-
}
|
|
21343
|
-
return this.richTextScript$;
|
|
21344
|
-
};
|
|
21345
|
-
RichTextService.prototype.initLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21346
|
-
this.richTextScript$ = combineLatest([
|
|
21347
|
-
this.http
|
|
21348
|
-
.get(this.config.paths.richText + "/index.js", { responseType: 'text' })
|
|
21349
|
-
.pipe(tap(function (lib) { return appendScriptFunc(lib, 'rich-text-editor'); })),
|
|
21350
|
-
this.http
|
|
21351
|
-
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21352
|
-
.pipe(tap(function (style) { return appendStyleFunc(style, 'tinymce-autocomplete'); }))
|
|
21353
|
-
]).pipe(shareReplay(1));
|
|
21354
|
-
};
|
|
21355
|
-
RichTextService.ctorParameters = function () { return [
|
|
21356
|
-
{ type: HttpClient },
|
|
21357
|
-
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21358
|
-
]; };
|
|
21359
|
-
RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
|
|
21360
|
-
RichTextService = __decorate([
|
|
21361
|
-
Injectable({ providedIn: 'root' }),
|
|
21362
|
-
__param(1, Inject(DATO_CORE_CONFIG)),
|
|
21363
|
-
__metadata("design:paramtypes", [HttpClient, Object])
|
|
21364
|
-
], RichTextService);
|
|
21365
|
-
return RichTextService;
|
|
21366
|
-
}());
|
|
21367
|
-
|
|
21368
21363
|
/**
|
|
21369
21364
|
* @license
|
|
21370
21365
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -21378,20 +21373,20 @@ var getTinymce = function () {
|
|
|
21378
21373
|
var ɵ0$3 = getTinymce;
|
|
21379
21374
|
var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
21380
21375
|
__extends(DatoRichTextDirective, _super);
|
|
21381
|
-
function DatoRichTextDirective(ngZone,
|
|
21376
|
+
function DatoRichTextDirective(ngZone, http, host, config) {
|
|
21382
21377
|
var _this = _super.call(this) || this;
|
|
21383
21378
|
_this.ngZone = ngZone;
|
|
21384
|
-
_this.
|
|
21385
|
-
_this.config = config;
|
|
21379
|
+
_this.http = http;
|
|
21386
21380
|
_this.host = host;
|
|
21381
|
+
_this.config = config;
|
|
21387
21382
|
_this.autocompleteOptions = {};
|
|
21388
21383
|
_this.forcePlainTextPasting = false;
|
|
21389
21384
|
_this.format = 'html';
|
|
21390
21385
|
_this.isOneLine = false;
|
|
21391
21386
|
_this.initialValue = '';
|
|
21392
|
-
_this.defaultPlugins = 'link fullscreen image lists table autocomplete';
|
|
21387
|
+
_this.defaultPlugins = 'link fullscreen textcolor colorpicker image lists table textpattern autocomplete';
|
|
21393
21388
|
_this.defaultToolbar = [
|
|
21394
|
-
'
|
|
21389
|
+
'fontselect fontsizeselect forecolor backcolor bold italic underline link',
|
|
21395
21390
|
'alignleft aligncenter alignright alignjustify outdent indent | table numlist bullist | image fullscreen'
|
|
21396
21391
|
];
|
|
21397
21392
|
return _this;
|
|
@@ -21417,11 +21412,28 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21417
21412
|
base: this.config.paths.richText,
|
|
21418
21413
|
query: ''
|
|
21419
21414
|
};
|
|
21420
|
-
|
|
21421
|
-
|
|
21422
|
-
|
|
21423
|
-
|
|
21424
|
-
|
|
21415
|
+
/**
|
|
21416
|
+
* We support only one instance in load time
|
|
21417
|
+
*/
|
|
21418
|
+
if (window.tinymce) {
|
|
21419
|
+
this.init.call(this);
|
|
21420
|
+
}
|
|
21421
|
+
else {
|
|
21422
|
+
this.loadLib().subscribe(function (lib) {
|
|
21423
|
+
appendScript(lib, 'rich-text-editor');
|
|
21424
|
+
_this.init.call(_this);
|
|
21425
|
+
_this.loadAutoCompleteStyle();
|
|
21426
|
+
});
|
|
21427
|
+
}
|
|
21428
|
+
};
|
|
21429
|
+
DatoRichTextDirective.prototype.loadLib = function () {
|
|
21430
|
+
return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
|
|
21431
|
+
};
|
|
21432
|
+
DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
|
|
21433
|
+
this.http
|
|
21434
|
+
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21435
|
+
.subscribe(function (style) {
|
|
21436
|
+
appendStyle(style, 'tinymce-autocomplete');
|
|
21425
21437
|
});
|
|
21426
21438
|
};
|
|
21427
21439
|
DatoRichTextDirective.prototype.initEditor = function (_, editor) {
|
|
@@ -21445,6 +21457,8 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21445
21457
|
target: this.host.nativeElement,
|
|
21446
21458
|
width: this.width || 600,
|
|
21447
21459
|
height: this.height || 300,
|
|
21460
|
+
force_br_newlines: true,
|
|
21461
|
+
force_p_newlines: false,
|
|
21448
21462
|
resize: 'both',
|
|
21449
21463
|
branding: false,
|
|
21450
21464
|
inline: this.inline,
|
|
@@ -21452,12 +21466,10 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21452
21466
|
readonly: this.disabled,
|
|
21453
21467
|
plugins: this.plugins || this.defaultPlugins,
|
|
21454
21468
|
toolbar: isNil(this.toolbar) ? this.defaultToolbar : this.toolbar,
|
|
21455
|
-
|
|
21469
|
+
fontsize_formats: '8px 10px 12px 14px 18px 24px 36px',
|
|
21456
21470
|
min_width: 480,
|
|
21457
21471
|
menubar: false,
|
|
21458
21472
|
autocomplete: this.autocompleteOptions,
|
|
21459
|
-
suffix: '.min',
|
|
21460
|
-
skin: 'tinymce-5',
|
|
21461
21473
|
setup: function (editor) {
|
|
21462
21474
|
_this.editor = editor;
|
|
21463
21475
|
editor.on('init', function (e) {
|
|
@@ -21514,9 +21526,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21514
21526
|
var DatoRichTextDirective_1;
|
|
21515
21527
|
DatoRichTextDirective.ctorParameters = function () { return [
|
|
21516
21528
|
{ type: NgZone },
|
|
21517
|
-
{ type:
|
|
21518
|
-
{ type:
|
|
21519
|
-
{ type:
|
|
21529
|
+
{ type: HttpClient },
|
|
21530
|
+
{ type: ElementRef },
|
|
21531
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21520
21532
|
]; };
|
|
21521
21533
|
__decorate([
|
|
21522
21534
|
Input(),
|
|
@@ -21582,9 +21594,10 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21582
21594
|
}
|
|
21583
21595
|
]
|
|
21584
21596
|
}),
|
|
21585
|
-
__param(
|
|
21597
|
+
__param(3, Inject(DATO_CORE_CONFIG)),
|
|
21586
21598
|
__metadata("design:paramtypes", [NgZone,
|
|
21587
|
-
|
|
21599
|
+
HttpClient,
|
|
21600
|
+
ElementRef, Object])
|
|
21588
21601
|
], DatoRichTextDirective);
|
|
21589
21602
|
return DatoRichTextDirective;
|
|
21590
21603
|
}(BaseCustomControl));
|
|
@@ -24107,9 +24120,7 @@ var DatoBreadcrumbsComponent = /** @class */ (function () {
|
|
|
24107
24120
|
};
|
|
24108
24121
|
DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
|
|
24109
24122
|
var _this = this;
|
|
24110
|
-
this.headerControl.valueChanges
|
|
24111
|
-
.pipe(debounceTime(300), untilDestroyed(this))
|
|
24112
|
-
.subscribe(function (res) {
|
|
24123
|
+
this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe(function (res) {
|
|
24113
24124
|
_this.updateEditableText.emit(res);
|
|
24114
24125
|
_this.cdr.detectChanges();
|
|
24115
24126
|
});
|
|
@@ -25472,7 +25483,7 @@ function fixNgLeaks() {
|
|
|
25472
25483
|
};
|
|
25473
25484
|
}
|
|
25474
25485
|
|
|
25475
|
-
window.coreVersion = '22.
|
|
25486
|
+
window.coreVersion = '22.12.3';
|
|
25476
25487
|
|
|
25477
25488
|
/**
|
|
25478
25489
|
* @license
|
|
@@ -25486,5 +25497,5 @@ window.coreVersion = '22.13.2-rc.';
|
|
|
25486
25497
|
* Generated bundle index. Do not edit.
|
|
25487
25498
|
*/
|
|
25488
25499
|
|
|
25489
|
-
export { APP_TRANSLATE, AceService, BaseCustomControl, COMPARE_RESULT, CUSTOM_RANGE_ID, ColorPalette, ConfirmationType, ContentRef, ContentType, CustomHeaderControllerService, DATE_PICKER_CONFIG, DATE_PICKER_POPOVER_ID, DATO_CORE_LOGGER, DATO_FORM_ERRORS, DATO_GRID_STORAGE_API, DEFAULT_FORMAT, DEFAULT_GRID_SEARCH_DEBOUNCE_TIME, DatePickerConfig, DatePickerMonthComponent, DateType, DatoAccordionComponent, DatoAccordionContentComponent, DatoAccordionGroupComponent, DatoAccordionHeaderComponent, DatoAccordionModule, DatoAceDirective, DatoAceDraggableDirective, DatoAceModule, DatoActionType, DatoAutoCompleteContentDirective, DatoAutoFocusDirective, DatoAutocompleteComponent, DatoAutocompleteDirective, DatoAutocompleteModule, DatoBreadcrumbsComponent, DatoBreadcrumbsModule, DatoButtonComponent, DatoButtonGroupComponent, DatoButtonGroupModule, DatoButtonModule, DatoCamelCasePipe, DatoCarouselComponent, DatoCarouselItemDirective, DatoCarouselItemElement, DatoCarouselModule, DatoCheckboxComponent, DatoCheckboxModule, DatoClipboardDirective, DatoColorDirective, DatoConfirmationDialogComponent, DatoControlErrorComponent, DatoControlErrorContainerDirective, DatoControlErrorsDirective, DatoCoreError, DatoCoreModule, DatoCustomHeaderTemplateComponent, DatoCustomHeaderTemplateDirective, DatoCustomMoreMenuTemplateDirective, DatoDatePickerContainerComponent, DatoDatePickerModule, DatoDatePickerRangeComponent, DatoDatePickerSingleComponent, DatoDialog, DatoDialogCloseDirective, DatoDialogComponent, DatoDialogContentComponent, DatoDialogDismissDirective, DatoDialogFooterComponent, DatoDialogHeaderComponent, DatoDialogModule, DatoDialogRef, DatoDirectivesModule, DatoDisableControlDirective, DatoDraggableDirective, DatoDynamicContentComponent, DatoDynamicContentModule, DatoEditableHeaderComponent, DatoEditableHeaderModule, DatoFileInputComponent, DatoFileInputDefaultComponent, DatoFileInputModule, DatoFilterConditions, DatoFontDirective, DatoFontIconComponent, DatoFontIconModule, DatoFormSubmitDirective, DatoFormValidationModule, DatoGrid, DatoGridAPI, DatoGridAvatarCellComponent, DatoGridColumnDisplayMenuComponent, DatoGridColumnHeaderComponent, DatoGridColumnHeaderMoreMenuComponent, DatoGridColumnTypes, DatoGridComponent, DatoGridControllerComponent, DatoGridDateFilterOptions, DatoGridFilterComponent, DatoGridFilterOptionsMap, DatoGridFilterSections, DatoGridFilterTypes, DatoGridGroupsMenuComponent, DatoGridHeaderComponent, DatoGridHeaderV2Component, DatoGridInitialsCellComponent, DatoGridItemsCellComponent, DatoGridModule, DatoGridMoreMenuActions, DatoGridNumberFilterOptions, DatoGridOnHoverComponent, DatoGridPaginationComponent, DatoGridPaginationV2Component, DatoGridStatusCellComponent, DatoGridStringFilterOptions, DatoGridToolbarComponent, DatoGridToolbarItemDirective, DatoGridToolbarItemElementDirective, DatoGridV2Component, DatoGridV2LoaderComponent, DatoGridV2Module, DatoGridV2NoDataOverlayComponent, DatoGridV2ToolbarButtonComponent, DatoGridV2ToolbarComponent, DatoGroupComponent, DatoHighlightPipe, DatoHotkeys, DatoHotkeysDirective, DatoHotkeysHelpComponent, DatoHotkeysModule, DatoIconButtonComponent, DatoIconButtonModule, DatoIconComponent, DatoIconModule, DatoInfiniteScrollComponent, DatoInfiniteScrollModule, DatoInputComponent, DatoInputModule, DatoInputNumberComponent, DatoInputNumberDirective, DatoInputNumberModule, DatoKebabCasePipe, DatoLinkButtonComponent, DatoLinkButtonModule, DatoListComponent, DatoListModule, DatoListNoDataComponent, DatoListNoResultComponent, DatoListV2Component, DatoListV2Module, DatoLoaderComponent, DatoLoadersModule, DatoMenuComponent, DatoMenuContentDirective, DatoMenuItemDirective, DatoMenuModule, DatoMenuTriggerForDirective, DatoMultiOptionComponent, DatoMultiOptionV2Component, DatoOperatorTogglerComponent, DatoOperatorTogglerModule, DatoOptionComponent, DatoOptionV2Component, DatoOptionsModule, DatoOriginDirective, DatoOverlay, DatoPageLoaderComponent, DatoPanel, DatoPanelComponent, DatoPanelContentComponent, DatoPanelFooterComponent, DatoPanelHeaderComponent, DatoPanelInternalConfig, DatoPanelModule, DatoPanelRef, DatoPillsComponent, DatoPillsModule, DatoPipesModule, DatoPopover, DatoPopoverComponent, DatoPopoverModule, DatoProgressBarComponent, DatoProgressBarModule, DatoRadioComponent, DatoRadioModule, DatoRichTextDirective, DatoRichTextModule, DatoSearchResultsGroupSortPipe, DatoSearchResultsSortPipe, DatoSearchableContainerComponent, DatoSearchableDirective, DatoSearchableHighlightDirective, DatoSearchableModule, DatoSelectActiveDirective, DatoSelectComponent, DatoSelectEmptyComponent, DatoSelectModule, DatoSliderComponent, DatoSliderModule, DatoSnackbar, DatoSnackbarComponent, DatoSnackbarModule, DatoSortableComponent, DatoSortableHandleDirective, DatoSortableModule, DatoStaticImageSrcDirective, DatoStaticImagesSrcModule, DatoSubscribeContext, DatoSubscribeDirective, DatoTab, DatoTabContent, DatoTabTitle, DatoTabsModule, DatoTabset, DatoTemplatePortal, DatoTextModule, DatoThemesModule, DatoToast, DatoToastComponent, DatoToastModule, DatoTogglerComponent, DatoTogglerModule, DatoTooltipDirective, DatoTooltipV2Directive, DatoTrackByPropPipe, DatoTranslateService, DatoTreePipe, DatoTriggerMulti, DatoTriggerSingle, DialogConfig, DialogResultStatus, Dimensions, EventModifiersPlugin, GridActionType, GridMinWidths, GridRowSelectionType, GridStatusColumnTypes, GridToolbarService, ISO_FORMAT, IconRegistry, KeyCodes, KeyboardEventKeys, ListValueTypes, MockService, OperatorTypes, POPPER_BOUNDARY, PaletteDirective, PanelResultCloseTrigger, PillType, PopoverCloseDirective, PopoverContentDirective, PopoverRef, PopoverTrigger, ROOT_NODE_ID, RelativeDateType, RenderMethod, RowSelectionType, RowSelectionTypeV2, SELECT_MAX_HEIGHT, SUPPORTED_LOCALES, SelectType, SnackbarRef, SnackbarType, Store, SvgRegistry, ToolbarActionType, ToolbarArea, ToolbarConfirmation, ToolbarDeleteConfirmation, ToolbarHandler, TranslatePipe, Types, _valueChanges, a, addClass, addJSObjectCompletor, allowedFileTypes, alphabeticalGroupSort, alphabeticalSort, appendChild, appendScript, appendStyle, appendToBody, assertString, camelCase, capitalize, cloneDeep, closest, coerceArray, coerceElement, compareWith, compose, convertFromTreeData, convertToTreeData, copyToClipboard, createComponent, createElement, createGUID, createHTMLCompletor, curry, dateCompare, daysOfTheMonth, debounce, declarations$2 as declarations, deepEqual, deepmerge, defaultActions$1 as defaultActions, defaultConfig, defaultEditableColumnRenderer, defaultGridOptions, defaultGridTreeLabel, defaultOptionsDisplayLimit, defaultTreeOptions, dialogSizePreset, diff, difference, differenceBy, dimensionsChanges, directives, drop, editableCellRendererWithSearchHighlight, escape, escapeRegExp, filter, filterByControlValue, filterByTerm, filterDialogDismissed, filterDialogSuccess, filterGroupByControlValue, filterGroupByTerm, filterKey, find, findIndex, findKey, fixNgLeaks, forEach, formatKeys, generateMonths, get, getAttr, getCustomRange, getDateISOString, getDefaultConfirmationOptions, getDefaultOptions, getDefaultsToastOptions, getElementCoords, getFunctionName, getGridConfiguration, getGridModel, getInitials, getLocalizedFormat, getMultiTemplate, getOptionTemplate, getPopperDefaults, getUTCDate, getVisibleActions, gridTreeFilePathKey, groupBy, groupSortOrder, has, inView, intersection, invert, isArrayValuesEqual, isArrowUpDown, isBoolean, isEmpty, isEmptyString, isEnter, isEqual, isEscape, isFraction, isFunction, isMacintosh, isNil, isNumber, isObject, isRangeCondition, isRangeCustom, isString, isTestEnv, isValidMediaLink, kebabCase, keyBy, keysSymbols, last, map, mapKeys, mapValues, maxFileSize, merge, minBy, mockInDev, mocks, ngContentResolver, noop, normalizeData, omit, omitBy, optionalDebounce, pallete, parseDateString, partial, polling, prependChild, publicApi$1 as publicApi, query, queryAll, random, rawDiff, reject, relativeDateTypes, removeClass, resolveRange, round, searchHighlightCellRenderer, searchResultsGroupSort, searchResultsSort, setAttr, setAttribute, setDimensions, setEmptyFolderClass, setGridConfiguration, setGridModel, setMaxDimensions, setMinDimensions, setStyle, setStyles, size, sortBy, stubs, supportedLocales, tapLog, tapOnce, throttle, toBoolean, toFormData, toNumber, toResponseBody, toString, toggleClass, toolbarActionToContextAction, tryParsePivotValue, unescape, union, uniq, uniqBy, uploadProgress, validBase64Image, validUrl, validateCondition, validateDate, validateDateCondition, validateFilter, validateNumberCondition, validateRange, validateStringCondition, values, workerMap, zoneStable, ɵ0$2 as ɵ0, ɵ1$2 as ɵ1, ɵ2, DATO_CORE_CONFIG as ɵb, DatoGridHelper as ɵc, Popper as ɵd, GridQuery as ɵe, GridStore as ɵf, GridService as ɵg, DatoDateRangesFilterPipe as ɵh, ListStore as ɵi, DatoListSelectAllComponent as ɵj, DatoGridMultiSelectColumnHeaderComponent as ɵk, DatoGridItemsCountCellComponent as ɵl, DatoGridV2ToolbarMoreMenuComponent as ɵm, DatoGridSearchBarComponent as ɵn
|
|
25500
|
+
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, DatoShortNumberPipe, DatoSliderComponent, DatoSliderModule, DatoSnackbar, DatoSnackbarComponent, DatoSnackbarModule, DatoSortableComponent, DatoSortableHandleDirective, DatoSortableModule, DatoStaticImageSrcDirective, DatoStaticImagesSrcModule, DatoSubscribeContext, DatoSubscribeDirective, DatoTab, DatoTabContent, DatoTabTitle, DatoTabsModule, DatoTabset, DatoTemplatePortal, DatoTextModule, DatoThemesModule, DatoToast, DatoToastComponent, DatoToastModule, DatoTogglerComponent, DatoTogglerModule, DatoTooltipDirective, DatoTooltipV2Directive, DatoTrackByPropPipe, DatoTranslateService, DatoTreePipe, DatoTriggerMulti, DatoTriggerSingle, DialogConfig, DialogResultStatus, Dimensions, EventModifiersPlugin, GridActionType, GridMinWidths, GridRowSelectionType, GridStatusColumnTypes, GridToolbarService, ISO_FORMAT, IconRegistry, KeyCodes, KeyboardEventKeys, ListValueTypes, MockService, OperatorTypes, POPPER_BOUNDARY, PaletteDirective, PanelResultCloseTrigger, PillType, PopoverCloseDirective, PopoverContentDirective, PopoverRef, PopoverTrigger, ROOT_NODE_ID, RelativeDateType, RenderMethod, RowSelectionType, RowSelectionTypeV2, SELECT_MAX_HEIGHT, SUPPORTED_LOCALES, SelectType, SnackbarRef, SnackbarType, Store, SvgRegistry, ToolbarActionType, ToolbarArea, ToolbarConfirmation, ToolbarDeleteConfirmation, ToolbarHandler, TranslatePipe, Types, _valueChanges, a, addClass, addJSObjectCompletor, allowedFileTypes, alphabeticalGroupSort, alphabeticalSort, appendChild, appendScript, appendStyle, appendToBody, assertString, camelCase, capitalize, cloneDeep, closest, coerceArray, coerceElement, compareWith, compose, convertFromTreeData, convertToTreeData, copyToClipboard, createComponent, createElement, createGUID, createHTMLCompletor, curry, dateCompare, daysOfTheMonth, debounce, declarations$2 as declarations, deepEqual, deepmerge, defaultActions$1 as defaultActions, defaultConfig, defaultEditableColumnRenderer, defaultGridOptions, defaultGridTreeLabel, defaultOptionsDisplayLimit, defaultTreeOptions, dialogSizePreset, diff, difference, differenceBy, dimensionsChanges, directives, drop, editableCellRendererWithSearchHighlight, escape, escapeRegExp, filter, filterByControlValue, filterByTerm, filterDialogDismissed, filterDialogSuccess, filterGroupByControlValue, filterGroupByTerm, filterKey, find, findIndex, findKey, fixNgLeaks, forEach, formatKeys, generateMonths, get, getAttr, getCustomRange, getDateISOString, getDefaultConfirmationOptions, getDefaultOptions, getDefaultsToastOptions, getElementCoords, getFunctionName, getGridConfiguration, getGridModel, getInitials, getLocalizedFormat, getMultiTemplate, getOptionTemplate, getPopperDefaults, getUTCDate, getVisibleActions, gridTreeFilePathKey, groupBy, groupSortOrder, has, inView, intersection, invert, isArrayValuesEqual, isArrowUpDown, isBoolean, isEmpty, isEmptyString, isEnter, isEqual, isEscape, isFraction, isFunction, isMacintosh, isNil, isNumber, isObject, isRangeCondition, isRangeCustom, isString, isTestEnv, isValidMediaLink, kebabCase, keyBy, keysSymbols, last, map, mapKeys, mapValues, maxFileSize, merge, minBy, mockInDev, mocks, ngContentResolver, noop, normalizeData, omit, omitBy, optionalDebounce, pallete, parseDateString, partial, polling, prependChild, publicApi$1 as publicApi, query, queryAll, random, rawDiff, reject, relativeDateTypes, removeClass, resolveRange, round, searchHighlightCellRenderer, searchResultsGroupSort, searchResultsSort, setAttr, setAttribute, setDimensions, setEmptyFolderClass, setGridConfiguration, setGridModel, setMaxDimensions, setMinDimensions, setStyle, setStyles, shortNumber, 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 };
|
|
25490
25501
|
//# sourceMappingURL=datorama-core.js.map
|