@datorama/core 22.0.3 → 22.0.4-rc.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 +109 -59
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +14 -14
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.d.ts +1 -0
- package/datorama-core.metadata.json +1 -1
- package/esm2015/datorama-core.js +2 -1
- package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +4 -2
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +5 -2
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +3 -2
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +7 -1
- package/esm2015/lib/progress-bar/progress-bar.component.js +36 -16
- package/esm2015/lib/rich-text/rich-text.directive.js +15 -33
- package/esm2015/lib/rich-text/rich-text.service.js +50 -0
- package/esm2015/lib/select/select.component.js +5 -10
- package/esm2015/lib/version.js +2 -2
- package/esm5/datorama-core.js +2 -1
- package/esm5/lib/breadcrumbs/breadcrumbs.component.js +4 -2
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +5 -2
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.service.js +3 -2
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +13 -1
- package/esm5/lib/progress-bar/progress-bar.component.js +36 -16
- package/esm5/lib/rich-text/rich-text.directive.js +16 -34
- package/esm5/lib/rich-text/rich-text.service.js +51 -0
- package/esm5/lib/select/select.component.js +5 -10
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +101 -59
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +109 -60
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/grid-v2/grid/grid-v2.types.d.ts +1 -0
- package/lib/grid-v2/grid-settings.d.ts +2 -2
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +2 -0
- package/lib/progress-bar/progress-bar.component.d.ts +8 -2
- package/lib/rich-text/rich-text.directive.d.ts +4 -6
- package/lib/rich-text/rich-text.service.d.ts +10 -0
- package/package.json +2 -2
|
@@ -7495,9 +7495,8 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7495
7495
|
writeValue(activeOptions) {
|
|
7496
7496
|
this._model = activeOptions ? coerceArray$1(activeOptions) : [];
|
|
7497
7497
|
if (this.options) {
|
|
7498
|
-
const overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
|
|
7499
7498
|
this.markAsActive(this._model, { deselectAll: true });
|
|
7500
|
-
|
|
7499
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
7501
7500
|
}
|
|
7502
7501
|
/** For later updates */
|
|
7503
7502
|
this.cdr.markForCheck();
|
|
@@ -7533,7 +7532,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7533
7532
|
*/
|
|
7534
7533
|
if (this.hasValue && this._initialOpen) {
|
|
7535
7534
|
this.markAsActive(this._model);
|
|
7536
|
-
if (this.limitSelectedTo
|
|
7535
|
+
if (this.limitSelectedTo) {
|
|
7537
7536
|
this.updateDisabledState();
|
|
7538
7537
|
}
|
|
7539
7538
|
this._initialOpen = false;
|
|
@@ -7600,7 +7599,6 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7600
7599
|
this.onChange(this._model);
|
|
7601
7600
|
}
|
|
7602
7601
|
removeOption(option) {
|
|
7603
|
-
const updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
|
|
7604
7602
|
this._model = this._model.filter(current => current[this.idKey] !== option[this.idKey]);
|
|
7605
7603
|
const optionToRemove = this.options.find(datoOption => datoOption.option && datoOption.option[this.idKey] === option[this.idKey]);
|
|
7606
7604
|
/**
|
|
@@ -7610,7 +7608,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7610
7608
|
if (optionToRemove) {
|
|
7611
7609
|
optionToRemove.active = false;
|
|
7612
7610
|
}
|
|
7613
|
-
|
|
7611
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
7614
7612
|
this.onChange(this._model);
|
|
7615
7613
|
this.cdr.markForCheck();
|
|
7616
7614
|
if (this.datoOverlay.attached) {
|
|
@@ -7886,9 +7884,6 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7886
7884
|
if (!datoOption) {
|
|
7887
7885
|
return;
|
|
7888
7886
|
}
|
|
7889
|
-
const modelLength = this._model.length;
|
|
7890
|
-
const updateDisabled = this.limitSelectedTo &&
|
|
7891
|
-
(modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
|
|
7892
7887
|
datoOption.active = !datoOption.active;
|
|
7893
7888
|
const rawOption = datoOption.option;
|
|
7894
7889
|
if (datoOption.active) {
|
|
@@ -7897,7 +7892,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7897
7892
|
else {
|
|
7898
7893
|
this._model = this._model.filter(current => current[this.idKey] !== rawOption[this.idKey]);
|
|
7899
7894
|
}
|
|
7900
|
-
|
|
7895
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
7901
7896
|
this.onChange(this._model);
|
|
7902
7897
|
this.cdr.markForCheck();
|
|
7903
7898
|
this.datoOverlay.scheduleUpdate();
|
|
@@ -10487,7 +10482,7 @@ function toolbarActionToContextAction(params) {
|
|
|
10487
10482
|
return contextActions;
|
|
10488
10483
|
}
|
|
10489
10484
|
|
|
10490
|
-
const DATO_GRID_STORAGE_API = new InjectionToken('
|
|
10485
|
+
const DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_AP');
|
|
10491
10486
|
|
|
10492
10487
|
const defaultEditableColumnRenderer = params => params && params.value ? `<div class="value-wrapper ellipsis">${params.value}</div>` : null;
|
|
10493
10488
|
const editableCellRendererWithSearchHighlight = (params, searchTerm) => {
|
|
@@ -12730,7 +12725,8 @@ let GridService = class GridService {
|
|
|
12730
12725
|
this.updateSettings({ gridAlignment, columnsSizes: null });
|
|
12731
12726
|
}
|
|
12732
12727
|
saveSettingsToServer(settings) {
|
|
12733
|
-
this.
|
|
12728
|
+
const isGlobal = this.gridQuery.getGridOptions().isGlobalSettings;
|
|
12729
|
+
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
12734
12730
|
}
|
|
12735
12731
|
/**
|
|
12736
12732
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -13632,7 +13628,10 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
|
|
|
13632
13628
|
.pipe(switchMap(() => {
|
|
13633
13629
|
this.gridOptions = this.normalizeOptions();
|
|
13634
13630
|
agGrid.gridOptions = this.gridOptions;
|
|
13635
|
-
const
|
|
13631
|
+
const isGlobal = this.gridOptions.isGlobalSettings;
|
|
13632
|
+
const settingsLoader = this.gridOptions.saveSettings === false
|
|
13633
|
+
? of(null)
|
|
13634
|
+
: this.storageAPI.get(this.gridOptions.gridName, isGlobal);
|
|
13636
13635
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
13637
13636
|
}), untilDestroyed(this))
|
|
13638
13637
|
.subscribe(([{ api, columnApi }, savedSettings = {}]) => {
|
|
@@ -14750,6 +14749,12 @@ let DatoGridV2ToolbarComponent = class DatoGridV2ToolbarComponent {
|
|
|
14750
14749
|
this.registerGroupListeners();
|
|
14751
14750
|
this.subscribeRowsSelectionData();
|
|
14752
14751
|
}
|
|
14752
|
+
getCellValueChangeEvent() {
|
|
14753
|
+
return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(this)));
|
|
14754
|
+
}
|
|
14755
|
+
getRowDataUpdatedEvent() {
|
|
14756
|
+
return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(this)));
|
|
14757
|
+
}
|
|
14753
14758
|
onActionClick(action) {
|
|
14754
14759
|
if (isFunction(action.onClick)) {
|
|
14755
14760
|
const selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -18817,6 +18822,39 @@ DatoEditableHeaderModule = __decorate([
|
|
|
18817
18822
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
18818
18823
|
*/
|
|
18819
18824
|
|
|
18825
|
+
let RichTextService = class RichTextService {
|
|
18826
|
+
constructor(http, config) {
|
|
18827
|
+
this.http = http;
|
|
18828
|
+
this.config = config;
|
|
18829
|
+
}
|
|
18830
|
+
getLib(appendScriptFunc, appendStyleFunc) {
|
|
18831
|
+
if (!this.richTextScript$) {
|
|
18832
|
+
this.initLib(appendScriptFunc, appendStyleFunc);
|
|
18833
|
+
}
|
|
18834
|
+
return this.richTextScript$;
|
|
18835
|
+
}
|
|
18836
|
+
initLib(appendScriptFunc, appendStyleFunc) {
|
|
18837
|
+
this.richTextScript$ = combineLatest([
|
|
18838
|
+
this.http
|
|
18839
|
+
.get(`${this.config.paths.richText}/index.js`, { responseType: 'text' })
|
|
18840
|
+
.pipe(tap(lib => appendScriptFunc(lib, 'rich-text-editor'))),
|
|
18841
|
+
this.http
|
|
18842
|
+
.get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
|
|
18843
|
+
.pipe(tap(style => appendStyleFunc(style, 'tinymce-autocomplete')))
|
|
18844
|
+
]).pipe(shareReplay(1));
|
|
18845
|
+
}
|
|
18846
|
+
};
|
|
18847
|
+
RichTextService.ctorParameters = () => [
|
|
18848
|
+
{ type: HttpClient },
|
|
18849
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
18850
|
+
];
|
|
18851
|
+
RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
|
|
18852
|
+
RichTextService = __decorate([
|
|
18853
|
+
Injectable({ providedIn: 'root' }),
|
|
18854
|
+
__param(1, Inject(DATO_CORE_CONFIG)),
|
|
18855
|
+
__metadata("design:paramtypes", [HttpClient, Object])
|
|
18856
|
+
], RichTextService);
|
|
18857
|
+
|
|
18820
18858
|
/**
|
|
18821
18859
|
* @license
|
|
18822
18860
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -18830,12 +18868,12 @@ const getTinymce = () => {
|
|
|
18830
18868
|
};
|
|
18831
18869
|
const ɵ0$3 = getTinymce;
|
|
18832
18870
|
let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirective extends BaseCustomControl {
|
|
18833
|
-
constructor(ngZone,
|
|
18871
|
+
constructor(ngZone, richTextService, config, host) {
|
|
18834
18872
|
super();
|
|
18835
18873
|
this.ngZone = ngZone;
|
|
18836
|
-
this.
|
|
18837
|
-
this.host = host;
|
|
18874
|
+
this.richTextService = richTextService;
|
|
18838
18875
|
this.config = config;
|
|
18876
|
+
this.host = host;
|
|
18839
18877
|
this.autocompleteOptions = {};
|
|
18840
18878
|
this.forcePlainTextPasting = false;
|
|
18841
18879
|
this.format = 'html';
|
|
@@ -18862,28 +18900,11 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
18862
18900
|
base: this.config.paths.richText,
|
|
18863
18901
|
query: ''
|
|
18864
18902
|
};
|
|
18865
|
-
|
|
18866
|
-
|
|
18867
|
-
|
|
18868
|
-
|
|
18903
|
+
this.richTextService
|
|
18904
|
+
.getLib(appendScript, appendStyle)
|
|
18905
|
+
.pipe(untilDestroyed(this))
|
|
18906
|
+
.subscribe(() => {
|
|
18869
18907
|
this.init.call(this);
|
|
18870
|
-
}
|
|
18871
|
-
else {
|
|
18872
|
-
this.loadLib().subscribe(lib => {
|
|
18873
|
-
appendScript(lib, 'rich-text-editor');
|
|
18874
|
-
this.init.call(this);
|
|
18875
|
-
this.loadAutoCompleteStyle();
|
|
18876
|
-
});
|
|
18877
|
-
}
|
|
18878
|
-
}
|
|
18879
|
-
loadLib() {
|
|
18880
|
-
return this.http.get(`${this.config.paths.richText}/index.js`, { responseType: 'text' });
|
|
18881
|
-
}
|
|
18882
|
-
loadAutoCompleteStyle() {
|
|
18883
|
-
this.http
|
|
18884
|
-
.get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
|
|
18885
|
-
.subscribe(style => {
|
|
18886
|
-
appendStyle(style, 'tinymce-autocomplete');
|
|
18887
18908
|
});
|
|
18888
18909
|
}
|
|
18889
18910
|
initEditor(_, editor) {
|
|
@@ -18984,9 +19005,9 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
18984
19005
|
};
|
|
18985
19006
|
DatoRichTextDirective.ctorParameters = () => [
|
|
18986
19007
|
{ type: NgZone },
|
|
18987
|
-
{ type:
|
|
18988
|
-
{ type:
|
|
18989
|
-
{ type:
|
|
19008
|
+
{ type: RichTextService },
|
|
19009
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] },
|
|
19010
|
+
{ type: ElementRef }
|
|
18990
19011
|
];
|
|
18991
19012
|
__decorate([
|
|
18992
19013
|
Input(),
|
|
@@ -19052,10 +19073,9 @@ DatoRichTextDirective = DatoRichTextDirective_1 = __decorate([
|
|
|
19052
19073
|
}
|
|
19053
19074
|
]
|
|
19054
19075
|
}),
|
|
19055
|
-
__param(
|
|
19076
|
+
__param(2, Inject(DATO_CORE_CONFIG)),
|
|
19056
19077
|
__metadata("design:paramtypes", [NgZone,
|
|
19057
|
-
|
|
19058
|
-
ElementRef, Object])
|
|
19078
|
+
RichTextService, Object, ElementRef])
|
|
19059
19079
|
], DatoRichTextDirective);
|
|
19060
19080
|
|
|
19061
19081
|
/**
|
|
@@ -21336,7 +21356,9 @@ let DatoBreadcrumbsComponent = class DatoBreadcrumbsComponent {
|
|
|
21336
21356
|
this._breadcrumbs = [...start, ...dots, ...end];
|
|
21337
21357
|
}
|
|
21338
21358
|
initEditableHeader() {
|
|
21339
|
-
this.headerControl.valueChanges
|
|
21359
|
+
this.headerControl.valueChanges
|
|
21360
|
+
.pipe(debounceTime(300), untilDestroyed(this))
|
|
21361
|
+
.subscribe((res) => {
|
|
21340
21362
|
this.updateEditableText.emit(res);
|
|
21341
21363
|
this.cdr.detectChanges();
|
|
21342
21364
|
});
|
|
@@ -21959,22 +21981,17 @@ DatoPillsModule = __decorate([
|
|
|
21959
21981
|
], DatoPillsModule);
|
|
21960
21982
|
|
|
21961
21983
|
let DatoProgressBarComponent = class DatoProgressBarComponent {
|
|
21962
|
-
constructor() {
|
|
21984
|
+
constructor(cdr) {
|
|
21985
|
+
this.cdr = cdr;
|
|
21963
21986
|
this.barColor = 'primary-100';
|
|
21964
21987
|
this.thresholds = [33, 66];
|
|
21965
21988
|
}
|
|
21966
21989
|
ngOnInit() {
|
|
21967
|
-
if (!this.parts
|
|
21968
|
-
|
|
21969
|
-
|
|
21970
|
-
|
|
21971
|
-
this.
|
|
21972
|
-
{
|
|
21973
|
-
percent: this.percent,
|
|
21974
|
-
color: this.color,
|
|
21975
|
-
tooltip: this.tooltip
|
|
21976
|
-
}
|
|
21977
|
-
];
|
|
21990
|
+
if (!this.parts) {
|
|
21991
|
+
this.percent = this.percent || 0;
|
|
21992
|
+
this.isByPercent = true;
|
|
21993
|
+
this.hasInitialColor = !!this.color;
|
|
21994
|
+
this.initSinglePart();
|
|
21978
21995
|
}
|
|
21979
21996
|
else if (this.parts &&
|
|
21980
21997
|
this.parts.every((part) => part.weight >= 0) &&
|
|
@@ -21982,6 +21999,27 @@ let DatoProgressBarComponent = class DatoProgressBarComponent {
|
|
|
21982
21999
|
this.initPartsPercent();
|
|
21983
22000
|
}
|
|
21984
22001
|
}
|
|
22002
|
+
ngOnChanges(changes) {
|
|
22003
|
+
if (this.isByPercent &&
|
|
22004
|
+
((changes.percent && !changes.percent.firstChange) ||
|
|
22005
|
+
(changes.color && !changes.color.firstChange) ||
|
|
22006
|
+
(changes.tooltip && !changes.tooltip.firstChange))) {
|
|
22007
|
+
this.initSinglePart();
|
|
22008
|
+
this.cdr.detectChanges();
|
|
22009
|
+
}
|
|
22010
|
+
}
|
|
22011
|
+
initSinglePart() {
|
|
22012
|
+
if (!this.color || !this.hasInitialColor) {
|
|
22013
|
+
this.initColor();
|
|
22014
|
+
}
|
|
22015
|
+
this.parts = [
|
|
22016
|
+
{
|
|
22017
|
+
percent: this.percent,
|
|
22018
|
+
color: this.color,
|
|
22019
|
+
tooltip: this.tooltip
|
|
22020
|
+
}
|
|
22021
|
+
];
|
|
22022
|
+
}
|
|
21985
22023
|
initColor() {
|
|
21986
22024
|
if (isEmpty(this.thresholds)) {
|
|
21987
22025
|
this.color = 'accent-400';
|
|
@@ -22023,6 +22061,9 @@ let DatoProgressBarComponent = class DatoProgressBarComponent {
|
|
|
22023
22061
|
}
|
|
22024
22062
|
}
|
|
22025
22063
|
};
|
|
22064
|
+
DatoProgressBarComponent.ctorParameters = () => [
|
|
22065
|
+
{ type: ChangeDetectorRef }
|
|
22066
|
+
];
|
|
22026
22067
|
__decorate([
|
|
22027
22068
|
Input(),
|
|
22028
22069
|
__metadata("design:type", String)
|
|
@@ -22058,11 +22099,12 @@ __decorate([
|
|
|
22058
22099
|
DatoProgressBarComponent = __decorate([
|
|
22059
22100
|
Component({
|
|
22060
22101
|
selector: 'dato-progress-bar',
|
|
22061
|
-
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",
|
|
22102
|
+
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",
|
|
22062
22103
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
22063
22104
|
encapsulation: ViewEncapsulation.None,
|
|
22064
22105
|
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%}"]
|
|
22065
|
-
})
|
|
22106
|
+
}),
|
|
22107
|
+
__metadata("design:paramtypes", [ChangeDetectorRef])
|
|
22066
22108
|
], DatoProgressBarComponent);
|
|
22067
22109
|
|
|
22068
22110
|
const declarations$4 = [DatoProgressBarComponent];
|
|
@@ -22581,7 +22623,7 @@ function fixNgLeaks() {
|
|
|
22581
22623
|
};
|
|
22582
22624
|
}
|
|
22583
22625
|
|
|
22584
|
-
window.coreVersion = '22.
|
|
22626
|
+
window.coreVersion = '22.1.3-rc.';
|
|
22585
22627
|
|
|
22586
22628
|
/**
|
|
22587
22629
|
* @license
|
|
@@ -22595,5 +22637,5 @@ window.coreVersion = '22.0.3';
|
|
|
22595
22637
|
* Generated bundle index. Do not edit.
|
|
22596
22638
|
*/
|
|
22597
22639
|
|
|
22598
|
-
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 };
|
|
22640
|
+
export { APP_TRANSLATE, AceService, BaseCustomControl, COMPARE_RESULT, CUSTOM_RANGE_ID, ColorPalette, ConfirmationType, ContentRef, ContentType, CustomHeaderControllerService, DATE_PICKER_CONFIG, DATE_PICKER_POPOVER_ID, DATO_CORE_LOGGER, DATO_FORM_ERRORS, DATO_GRID_STORAGE_API, DEFAULT_FORMAT, DEFAULT_GRID_SEARCH_DEBOUNCE_TIME, DatePickerConfig, DatePickerMonthComponent, DateType, DatoAccordionComponent, DatoAccordionContentComponent, DatoAccordionGroupComponent, DatoAccordionHeaderComponent, DatoAccordionModule, DatoAceDirective, DatoAceDraggableDirective, DatoAceModule, DatoActionType, DatoAutoCompleteContentDirective, DatoAutoFocusDirective, DatoAutocompleteComponent, DatoAutocompleteDirective, DatoAutocompleteModule, DatoBreadcrumbsComponent, DatoBreadcrumbsModule, DatoButtonComponent, DatoButtonGroupComponent, DatoButtonGroupModule, DatoButtonModule, DatoCamelCasePipe, DatoCarouselComponent, DatoCarouselItemDirective, DatoCarouselItemElement, DatoCarouselModule, DatoCheckboxComponent, DatoCheckboxModule, DatoClipboardDirective, DatoColorDirective, DatoConfirmationDialogComponent, DatoControlErrorComponent, DatoControlErrorContainerDirective, DatoControlErrorsDirective, DatoCoreError, DatoCoreModule, DatoCustomHeaderTemplateComponent, DatoCustomHeaderTemplateDirective, DatoCustomMoreMenuTemplateDirective, DatoDatePickerContainerComponent, DatoDatePickerModule, DatoDatePickerRangeComponent, DatoDatePickerSingleComponent, DatoDialog, DatoDialogCloseDirective, DatoDialogComponent, DatoDialogContentComponent, DatoDialogDismissDirective, DatoDialogFooterComponent, DatoDialogHeaderComponent, DatoDialogModule, DatoDialogRef, DatoDirectivesModule, DatoDisableControlDirective, DatoDraggableDirective, DatoDynamicContentComponent, DatoDynamicContentModule, DatoEditableHeaderComponent, DatoEditableHeaderModule, DatoFileInputComponent, DatoFileInputDefaultComponent, DatoFileInputModule, DatoFilterConditions, DatoFontDirective, DatoFontIconComponent, DatoFontIconModule, DatoFormSubmitDirective, DatoFormValidationModule, DatoGrid, DatoGridAPI, DatoGridAvatarCellComponent, DatoGridColumnDisplayMenuComponent, DatoGridColumnHeaderComponent, DatoGridColumnHeaderMoreMenuComponent, DatoGridColumnTypes, DatoGridComponent, DatoGridControllerComponent, DatoGridDateFilterOptions, DatoGridFilterComponent, DatoGridFilterOptionsMap, DatoGridFilterSections, DatoGridFilterTypes, DatoGridGroupsMenuComponent, DatoGridHeaderComponent, DatoGridHeaderV2Component, DatoGridInitialsCellComponent, DatoGridItemsCellComponent, DatoGridModule, DatoGridMoreMenuActions, DatoGridNumberFilterOptions, DatoGridOnHoverComponent, DatoGridPaginationComponent, DatoGridPaginationV2Component, DatoGridStatusCellComponent, DatoGridStringFilterOptions, DatoGridToolbarComponent, DatoGridToolbarItemDirective, DatoGridToolbarItemElementDirective, DatoGridV2Component, DatoGridV2LoaderComponent, DatoGridV2Module, DatoGridV2NoDataOverlayComponent, DatoGridV2ToolbarButtonComponent, DatoGridV2ToolbarComponent, DatoGroupComponent, DatoHighlightPipe, DatoHotkeys, DatoHotkeysDirective, DatoHotkeysHelpComponent, DatoHotkeysModule, DatoIconButtonComponent, DatoIconButtonModule, DatoIconComponent, DatoIconModule, DatoInfiniteScrollComponent, DatoInfiniteScrollModule, DatoInputComponent, DatoInputModule, DatoInputNumberComponent, DatoInputNumberDirective, DatoInputNumberModule, DatoKebabCasePipe, DatoLinkButtonComponent, DatoLinkButtonModule, DatoListComponent, DatoListModule, DatoListNoDataComponent, DatoListNoResultComponent, DatoListV2Component, DatoListV2Module, DatoLoaderComponent, DatoLoadersModule, DatoMenuComponent, DatoMenuContentDirective, DatoMenuItemDirective, DatoMenuModule, DatoMenuTriggerForDirective, DatoMultiOptionComponent, DatoMultiOptionV2Component, DatoOperatorTogglerComponent, DatoOperatorTogglerModule, DatoOptionComponent, DatoOptionV2Component, DatoOptionsModule, DatoOriginDirective, DatoOverlay, DatoPageLoaderComponent, DatoPanel, DatoPanelComponent, DatoPanelContentComponent, DatoPanelFooterComponent, DatoPanelHeaderComponent, DatoPanelInternalConfig, DatoPanelModule, DatoPanelRef, DatoPillsComponent, DatoPillsModule, DatoPipesModule, DatoPopover, DatoPopoverComponent, DatoPopoverModule, DatoProgressBarComponent, DatoProgressBarModule, DatoRadioComponent, DatoRadioModule, DatoRichTextDirective, DatoRichTextModule, DatoSearchResultsGroupSortPipe, DatoSearchResultsSortPipe, DatoSearchableContainerComponent, DatoSearchableDirective, DatoSearchableHighlightDirective, DatoSearchableModule, DatoSelectActiveDirective, DatoSelectComponent, DatoSelectEmptyComponent, DatoSelectModule, DatoSliderComponent, DatoSliderModule, DatoSnackbar, DatoSnackbarComponent, DatoSnackbarModule, DatoSortableComponent, DatoSortableHandleDirective, DatoSortableModule, DatoStaticImageSrcDirective, DatoStaticImagesSrcModule, DatoSubscribeContext, DatoSubscribeDirective, DatoTab, DatoTabContent, DatoTabTitle, DatoTabsModule, DatoTabset, DatoTemplatePortal, DatoTextModule, DatoThemesModule, DatoToast, DatoToastComponent, DatoToastModule, DatoTogglerComponent, DatoTogglerModule, DatoTooltipDirective, DatoTooltipV2Directive, DatoTrackByPropPipe, DatoTranslateService, DatoTreePipe, DatoTriggerMulti, DatoTriggerSingle, DialogConfig, DialogResultStatus, Dimensions, EventModifiersPlugin, GridActionType, GridMinWidths, GridRowSelectionType, GridToolbarService, ISO_FORMAT, IconRegistry, KeyCodes, KeyboardEventKeys, ListValueTypes, MockService, OperatorTypes, POPPER_BOUNDARY, PaletteDirective, PanelResultCloseTrigger, PillType, PopoverCloseDirective, PopoverContentDirective, PopoverRef, PopoverTrigger, ROOT_NODE_ID, RelativeDateType, RenderMethod, RowSelectionType, RowSelectionTypeV2, SELECT_MAX_HEIGHT, SUPPORTED_LOCALES, SelectType, SnackbarRef, SnackbarType, Store, SvgRegistry, ToolbarActionType, ToolbarArea, ToolbarConfirmation, ToolbarDeleteConfirmation, ToolbarHandler, TranslatePipe, Types, _valueChanges, a, addClass, addJSObjectCompletor, allowedFileTypes, alphabeticalGroupSort, alphabeticalSort, appendChild, appendScript, appendStyle, appendToBody, assertString, camelCase, capitalize, cloneDeep, closest, coerceArray, coerceElement, compareWith, compose, convertFromTreeData, convertToTreeData, copyToClipboard, createComponent, createElement, createGUID, createHTMLCompletor, curry, dateCompare, daysOfTheMonth, debounce, declarations$2 as declarations, deepEqual, deepmerge, defaultActions$1 as defaultActions, defaultConfig, defaultEditableColumnRenderer, defaultGridOptions, defaultGridTreeLabel, defaultOptionsDisplayLimit, defaultTreeOptions, dialogSizePreset, diff, difference, differenceBy, dimensionsChanges, directives, drop, editableCellRendererWithSearchHighlight, escape, escapeRegExp, filter, filterByControlValue, filterByTerm, filterDialogDismissed, filterDialogSuccess, filterGroupByControlValue, filterGroupByTerm, filterKey, find, findIndex, findKey, fixNgLeaks, forEach, formatKeys, generateMonths, get, getAttr, getCustomRange, getDateISOString, getDefaultConfirmationOptions, getDefaultOptions, getDefaultsToastOptions, getElementCoords, getFunctionName, getGridConfiguration, getGridModel, getInitials, getLocalizedFormat, getMultiTemplate, getOptionTemplate, getPopperDefaults, getUTCDate, getVisibleActions, gridTreeFilePathKey, groupBy, groupSortOrder, has, inView, intersection, invert, isArrayValuesEqual, isArrowUpDown, isBoolean, isEmpty, isEmptyString, isEnter, isEqual, isEscape, isFraction, isFunction, isMacintosh, isNil, isNumber, isObject, isRangeCondition, isRangeCustom, isString, isTestEnv, isValidMediaLink, kebabCase, keyBy, keysSymbols, last, map, mapKeys, mapValues, maxFileSize, merge, minBy, mockInDev, mocks, ngContentResolver, noop, normalizeData, omit, omitBy, optionalDebounce, pallete, parseDateString, partial, polling, prependChild, publicApi$1 as publicApi, query, queryAll, random, rawDiff, reject, relativeDateTypes, removeClass, resolveRange, round, searchHighlightCellRenderer, searchResultsGroupSort, searchResultsSort, setAttr, setAttribute, setDimensions, setEmptyFolderClass, setGridConfiguration, setGridModel, setMaxDimensions, setMinDimensions, setStyle, setStyles, size, sortBy, stubs, supportedLocales, tapLog, tapOnce, throttle, toBoolean, toFormData, toNumber, toResponseBody, toString, toggleClass, toolbarActionToContextAction, tryParsePivotValue, unescape, union, uniq, uniqBy, uploadProgress, validBase64Image, validUrl, validateCondition, validateDate, validateDateCondition, validateFilter, validateNumberCondition, validateRange, validateStringCondition, values, workerMap, zoneStable, ɵ0$2 as ɵ0, ɵ1$2 as ɵ1, ɵ2, DATO_CORE_CONFIG as ɵb, DatoGridHelper as ɵc, Popper as ɵd, GridQuery as ɵe, GridStore as ɵf, GridService as ɵg, DatoDateRangesFilterPipe as ɵh, ListStore as ɵi, DatoListSelectAllComponent as ɵj, DatoGridMultiSelectColumnHeaderComponent as ɵk, DatoGridItemsCountCellComponent as ɵl, DatoGridV2ToolbarMoreMenuComponent as ɵm, DatoGridSearchBarComponent as ɵn, RichTextService as ɵo };
|
|
22599
22641
|
//# sourceMappingURL=datorama-core.js.map
|