@datorama/core 22.10.9-rc.5 → 22.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle.scss +8 -1
- package/bundles/datorama-core.umd.js +70 -83
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +27 -27
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.d.ts +0 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/datorama-core.js +1 -2
- package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +2 -4
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +2 -5
- package/esm2015/lib/grid-v2/grid-filter/grid-filter.component.js +2 -1
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.query.js +2 -1
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +21 -7
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -7
- package/esm2015/lib/rich-text/rich-text.directive.js +38 -20
- package/esm2015/lib/select/select.component.js +9 -4
- package/esm2015/lib/version.js +2 -2
- package/esm5/datorama-core.js +1 -2
- package/esm5/lib/breadcrumbs/breadcrumbs.component.js +2 -4
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +2 -5
- package/esm5/lib/grid-v2/grid-filter/grid-filter.component.js +2 -1
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.query.js +2 -1
- package/esm5/lib/grid-v2/grid-store/grid.service.js +21 -7
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -13
- package/esm5/lib/rich-text/rich-text.directive.js +39 -21
- package/esm5/lib/select/select.component.js +9 -4
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +70 -75
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +71 -83
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/grid-v2/grid/grid-v2.types.d.ts +0 -1
- package/lib/grid-v2/grid-settings.d.ts +2 -2
- package/lib/grid-v2/grid-store/grid.service.d.ts +1 -0
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +0 -2
- package/lib/rich-text/rich-text.directive.d.ts +6 -4
- package/package.json +1 -1
- package/esm2015/lib/rich-text/rich-text.service.js +0 -50
- package/esm5/lib/rich-text/rich-text.service.js +0 -51
- package/lib/rich-text/rich-text.service.d.ts +0 -10
|
@@ -7604,8 +7604,9 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7604
7604
|
writeValue(activeOptions) {
|
|
7605
7605
|
this._model = activeOptions ? coerceArray$1(activeOptions) : [];
|
|
7606
7606
|
if (this.options) {
|
|
7607
|
+
const overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
|
|
7607
7608
|
this.markAsActive(this._model, { deselectAll: true });
|
|
7608
|
-
|
|
7609
|
+
overTheLimit && this.updateDisabledState();
|
|
7609
7610
|
}
|
|
7610
7611
|
/** For later updates */
|
|
7611
7612
|
this.cdr.markForCheck();
|
|
@@ -7710,6 +7711,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7710
7711
|
this.onChange(this._model);
|
|
7711
7712
|
}
|
|
7712
7713
|
removeOption(option) {
|
|
7714
|
+
const updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
|
|
7713
7715
|
this._model = this._model.filter(current => current[this.idKey] !== option[this.idKey]);
|
|
7714
7716
|
const optionToRemove = this.options.find(datoOption => datoOption.option && datoOption.option[this.idKey] === option[this.idKey]);
|
|
7715
7717
|
/**
|
|
@@ -7719,7 +7721,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7719
7721
|
if (optionToRemove) {
|
|
7720
7722
|
optionToRemove.active = false;
|
|
7721
7723
|
}
|
|
7722
|
-
|
|
7724
|
+
updateDisabled && this.updateDisabledState();
|
|
7723
7725
|
this.onChange(this._model);
|
|
7724
7726
|
this.cdr.markForCheck();
|
|
7725
7727
|
this.asyncUpdateDropdownPosition();
|
|
@@ -7993,6 +7995,9 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7993
7995
|
if (!datoOption) {
|
|
7994
7996
|
return;
|
|
7995
7997
|
}
|
|
7998
|
+
const modelLength = this._model.length;
|
|
7999
|
+
const updateDisabled = this.limitSelectedTo &&
|
|
8000
|
+
(modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
|
|
7996
8001
|
datoOption.active = !datoOption.active;
|
|
7997
8002
|
const rawOption = datoOption.option;
|
|
7998
8003
|
if (datoOption.active) {
|
|
@@ -8001,7 +8006,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
8001
8006
|
else {
|
|
8002
8007
|
this._model = this._model.filter(current => current[this.idKey] !== rawOption[this.idKey]);
|
|
8003
8008
|
}
|
|
8004
|
-
|
|
8009
|
+
updateDisabled && this.updateDisabledState();
|
|
8005
8010
|
this.onChange(this._model);
|
|
8006
8011
|
this.cdr.markForCheck();
|
|
8007
8012
|
this.asyncUpdateDropdownPosition();
|
|
@@ -10227,6 +10232,7 @@ let GridQuery = class GridQuery extends Query {
|
|
|
10227
10232
|
return this.select(state => state.serverSidePagination.selectAllRowsEnabled);
|
|
10228
10233
|
}
|
|
10229
10234
|
getSecondaryColumn(colId) {
|
|
10235
|
+
/** Use getPivotResultColumns from ver 28 */
|
|
10230
10236
|
const secondaryColumns = this.api.columns.getSecondaryColumns();
|
|
10231
10237
|
if (secondaryColumns) {
|
|
10232
10238
|
return secondaryColumns.find(col => col.getColId() === colId);
|
|
@@ -10513,7 +10519,7 @@ function toolbarActionToContextAction(params) {
|
|
|
10513
10519
|
return contextActions;
|
|
10514
10520
|
}
|
|
10515
10521
|
|
|
10516
|
-
const DATO_GRID_STORAGE_API = new InjectionToken('
|
|
10522
|
+
const DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
|
|
10517
10523
|
|
|
10518
10524
|
const defaultEditableColumnRenderer = params => params && params.value ? `<div class="value-wrapper ellipsis">${params.value}</div>` : null;
|
|
10519
10525
|
const editableCellRendererWithSearchHighlight = (params, searchTerm) => {
|
|
@@ -11320,6 +11326,7 @@ let DatoGridFilterComponent = class DatoGridFilterComponent {
|
|
|
11320
11326
|
const filtersConfig = colDef.filtersConfig || this.colDef.filtersConfig || {};
|
|
11321
11327
|
const colFilter = filter || colDef.filter;
|
|
11322
11328
|
const filterOptions = DatoGridFilterOptionsMap[colFilter];
|
|
11329
|
+
/** Use getPivotResultColumn from ver 28 */
|
|
11323
11330
|
this.pivotColumn = gridQuery.api.columns.getSecondaryPivotColumn(pivotKeys, pivotValueColumn);
|
|
11324
11331
|
this.inputConditionsOperator = filtersConfig.inputConditionsOperator;
|
|
11325
11332
|
if (!isNil(filtersConfig.showClearFiltersButton)) {
|
|
@@ -12608,11 +12615,24 @@ let GridService = class GridService {
|
|
|
12608
12615
|
this.initPivotSecondaryColsProcess(params);
|
|
12609
12616
|
params.gridOptions.enableV2_1 = true;
|
|
12610
12617
|
params.gridOptions.saveSettings = false;
|
|
12611
|
-
params.gridOptions.defaultColDef.cellClass
|
|
12612
|
-
params.gridOptions.autoGroupColumnDef.cellClass
|
|
12618
|
+
params.gridOptions.defaultColDef = Object.assign(Object.assign({}, params.gridOptions.defaultColDef), { cellClass: this.getPivotCellClass.bind(this), headerClass: this.getPivotHeaderClass.bind(this) });
|
|
12619
|
+
params.gridOptions.autoGroupColumnDef = Object.assign(Object.assign({}, params.gridOptions.autoGroupColumnDef), { cellClass: this.getPivotCellClass.bind(this), headerClass: this.getPivotHeaderClass.bind(this) });
|
|
12613
12620
|
}
|
|
12614
12621
|
return params.gridOptions;
|
|
12615
12622
|
}
|
|
12623
|
+
getPivotHeaderClass(params) {
|
|
12624
|
+
const gridQuery = params.colDef.headerComponentParams.gridQuery;
|
|
12625
|
+
let cellClass = '';
|
|
12626
|
+
if (gridQuery && gridQuery.api) {
|
|
12627
|
+
const { columns } = gridQuery.api;
|
|
12628
|
+
/** Use getPivotResultColumns from ver 28 */
|
|
12629
|
+
const pivotColumns = columns.getSecondaryColumns();
|
|
12630
|
+
if (pivotColumns && pivotColumns.length > 0) {
|
|
12631
|
+
cellClass += 'top-border';
|
|
12632
|
+
}
|
|
12633
|
+
}
|
|
12634
|
+
return cellClass;
|
|
12635
|
+
}
|
|
12616
12636
|
getPivotCellClass(params) {
|
|
12617
12637
|
const { leafGroup, childIndex, rowGroupIndex } = params.node;
|
|
12618
12638
|
const gridQuery = params.colDef.headerComponentParams.gridQuery;
|
|
@@ -12628,11 +12648,11 @@ let GridService = class GridService {
|
|
|
12628
12648
|
if (leafGroup) {
|
|
12629
12649
|
if (childIndex % 2 === 0) {
|
|
12630
12650
|
/** If row is even */
|
|
12631
|
-
cellClass += ' primary-
|
|
12651
|
+
cellClass += ' primary-0-background-color';
|
|
12632
12652
|
}
|
|
12633
12653
|
}
|
|
12634
12654
|
else {
|
|
12635
|
-
cellClass += 'primary-
|
|
12655
|
+
cellClass += 'bottom-border primary-100-background-color pointer dato-simple-bold';
|
|
12636
12656
|
}
|
|
12637
12657
|
}
|
|
12638
12658
|
}
|
|
@@ -12904,8 +12924,7 @@ let GridService = class GridService {
|
|
|
12904
12924
|
this.updateSettings({ gridAlignment, columnsSizes: null });
|
|
12905
12925
|
}
|
|
12906
12926
|
saveSettingsToServer(settings) {
|
|
12907
|
-
|
|
12908
|
-
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
12927
|
+
this.storageAPI.set(this.gridName, settings);
|
|
12909
12928
|
}
|
|
12910
12929
|
/**
|
|
12911
12930
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -13320,6 +13339,7 @@ let GridService = class GridService {
|
|
|
13320
13339
|
* we add the field name to the column header class in order to access it through the auto generated pivot column.
|
|
13321
13340
|
*/
|
|
13322
13341
|
initPivotSecondaryColsProcess({ gridOptions }) {
|
|
13342
|
+
/** Use processPivotResultColDef from ver 28 */
|
|
13323
13343
|
gridOptions.processSecondaryColDef = colDef => {
|
|
13324
13344
|
const userProvidedColDef = colDef.pivotValueColumn && colDef.pivotValueColumn.getUserProvidedColDef();
|
|
13325
13345
|
if (userProvidedColDef) {
|
|
@@ -13332,6 +13352,7 @@ let GridService = class GridService {
|
|
|
13332
13352
|
});
|
|
13333
13353
|
}
|
|
13334
13354
|
};
|
|
13355
|
+
/** Use processPivotResultColGroupDe from ver 28 */
|
|
13335
13356
|
gridOptions.processSecondaryColGroupDef = (colGroupDef) => {
|
|
13336
13357
|
if (colGroupDef.headerName) {
|
|
13337
13358
|
const parsedValue = tryParsePivotValue(colGroupDef.headerName);
|
|
@@ -13814,10 +13835,7 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
|
|
|
13814
13835
|
.pipe(switchMap(() => {
|
|
13815
13836
|
this.gridOptions = this.normalizeOptions();
|
|
13816
13837
|
agGrid.gridOptions = this.gridOptions;
|
|
13817
|
-
const
|
|
13818
|
-
const settingsLoader = this.gridOptions.saveSettings === false
|
|
13819
|
-
? of(null)
|
|
13820
|
-
: this.storageAPI.get(this.gridOptions.gridName, isGlobal);
|
|
13838
|
+
const settingsLoader = this.gridOptions.saveSettings === false ? of(null) : this.storageAPI.get(this.gridOptions.gridName);
|
|
13821
13839
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
13822
13840
|
}), untilDestroyed(this))
|
|
13823
13841
|
.subscribe(([{ api, columnApi }, savedSettings = {}]) => {
|
|
@@ -14956,12 +14974,6 @@ let DatoGridV2ToolbarComponent = class DatoGridV2ToolbarComponent {
|
|
|
14956
14974
|
this.registerGroupListeners();
|
|
14957
14975
|
this.subscribeRowsSelectionData();
|
|
14958
14976
|
}
|
|
14959
|
-
getCellValueChangeEvent() {
|
|
14960
|
-
return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(this)));
|
|
14961
|
-
}
|
|
14962
|
-
getRowDataUpdatedEvent() {
|
|
14963
|
-
return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(this)));
|
|
14964
|
-
}
|
|
14965
14977
|
onActionClick(action) {
|
|
14966
14978
|
if (isFunction(action.onClick)) {
|
|
14967
14979
|
const selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -19040,39 +19052,6 @@ DatoEditableHeaderModule = __decorate([
|
|
|
19040
19052
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
19041
19053
|
*/
|
|
19042
19054
|
|
|
19043
|
-
let RichTextService = class RichTextService {
|
|
19044
|
-
constructor(http, config) {
|
|
19045
|
-
this.http = http;
|
|
19046
|
-
this.config = config;
|
|
19047
|
-
}
|
|
19048
|
-
getLib(appendScriptFunc, appendStyleFunc) {
|
|
19049
|
-
if (!this.richTextScript$) {
|
|
19050
|
-
this.initLib(appendScriptFunc, appendStyleFunc);
|
|
19051
|
-
}
|
|
19052
|
-
return this.richTextScript$;
|
|
19053
|
-
}
|
|
19054
|
-
initLib(appendScriptFunc, appendStyleFunc) {
|
|
19055
|
-
this.richTextScript$ = combineLatest([
|
|
19056
|
-
this.http
|
|
19057
|
-
.get(`${this.config.paths.richText}/index.js`, { responseType: 'text' })
|
|
19058
|
-
.pipe(tap(lib => appendScriptFunc(lib, 'rich-text-editor'))),
|
|
19059
|
-
this.http
|
|
19060
|
-
.get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
|
|
19061
|
-
.pipe(tap(style => appendStyleFunc(style, 'tinymce-autocomplete')))
|
|
19062
|
-
]).pipe(shareReplay(1));
|
|
19063
|
-
}
|
|
19064
|
-
};
|
|
19065
|
-
RichTextService.ctorParameters = () => [
|
|
19066
|
-
{ type: HttpClient },
|
|
19067
|
-
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
19068
|
-
];
|
|
19069
|
-
RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
|
|
19070
|
-
RichTextService = __decorate([
|
|
19071
|
-
Injectable({ providedIn: 'root' }),
|
|
19072
|
-
__param(1, Inject(DATO_CORE_CONFIG)),
|
|
19073
|
-
__metadata("design:paramtypes", [HttpClient, Object])
|
|
19074
|
-
], RichTextService);
|
|
19075
|
-
|
|
19076
19055
|
/**
|
|
19077
19056
|
* @license
|
|
19078
19057
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -19086,20 +19065,20 @@ const getTinymce = () => {
|
|
|
19086
19065
|
};
|
|
19087
19066
|
const ɵ0$3 = getTinymce;
|
|
19088
19067
|
let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirective extends BaseCustomControl {
|
|
19089
|
-
constructor(ngZone,
|
|
19068
|
+
constructor(ngZone, http, host, config) {
|
|
19090
19069
|
super();
|
|
19091
19070
|
this.ngZone = ngZone;
|
|
19092
|
-
this.
|
|
19093
|
-
this.config = config;
|
|
19071
|
+
this.http = http;
|
|
19094
19072
|
this.host = host;
|
|
19073
|
+
this.config = config;
|
|
19095
19074
|
this.autocompleteOptions = {};
|
|
19096
19075
|
this.forcePlainTextPasting = false;
|
|
19097
19076
|
this.format = 'html';
|
|
19098
19077
|
this.isOneLine = false;
|
|
19099
19078
|
this.initialValue = '';
|
|
19100
|
-
this.defaultPlugins = 'link fullscreen image lists table autocomplete';
|
|
19079
|
+
this.defaultPlugins = 'link fullscreen textcolor colorpicker image lists table textpattern autocomplete';
|
|
19101
19080
|
this.defaultToolbar = [
|
|
19102
|
-
'
|
|
19081
|
+
'fontselect fontsizeselect forecolor backcolor bold italic underline link',
|
|
19103
19082
|
'alignleft aligncenter alignright alignjustify outdent indent | table numlist bullist | image fullscreen'
|
|
19104
19083
|
];
|
|
19105
19084
|
}
|
|
@@ -19118,11 +19097,28 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19118
19097
|
base: this.config.paths.richText,
|
|
19119
19098
|
query: ''
|
|
19120
19099
|
};
|
|
19121
|
-
|
|
19122
|
-
|
|
19123
|
-
|
|
19124
|
-
|
|
19100
|
+
/**
|
|
19101
|
+
* We support only one instance in load time
|
|
19102
|
+
*/
|
|
19103
|
+
if (window.tinymce) {
|
|
19125
19104
|
this.init.call(this);
|
|
19105
|
+
}
|
|
19106
|
+
else {
|
|
19107
|
+
this.loadLib().subscribe(lib => {
|
|
19108
|
+
appendScript(lib, 'rich-text-editor');
|
|
19109
|
+
this.init.call(this);
|
|
19110
|
+
this.loadAutoCompleteStyle();
|
|
19111
|
+
});
|
|
19112
|
+
}
|
|
19113
|
+
}
|
|
19114
|
+
loadLib() {
|
|
19115
|
+
return this.http.get(`${this.config.paths.richText}/index.js`, { responseType: 'text' });
|
|
19116
|
+
}
|
|
19117
|
+
loadAutoCompleteStyle() {
|
|
19118
|
+
this.http
|
|
19119
|
+
.get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
|
|
19120
|
+
.subscribe(style => {
|
|
19121
|
+
appendStyle(style, 'tinymce-autocomplete');
|
|
19126
19122
|
});
|
|
19127
19123
|
}
|
|
19128
19124
|
initEditor(_, editor) {
|
|
@@ -19143,6 +19139,8 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19143
19139
|
target: this.host.nativeElement,
|
|
19144
19140
|
width: this.width || 600,
|
|
19145
19141
|
height: this.height || 300,
|
|
19142
|
+
force_br_newlines: true,
|
|
19143
|
+
force_p_newlines: false,
|
|
19146
19144
|
resize: 'both',
|
|
19147
19145
|
branding: false,
|
|
19148
19146
|
inline: this.inline,
|
|
@@ -19150,12 +19148,10 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19150
19148
|
readonly: this.disabled,
|
|
19151
19149
|
plugins: this.plugins || this.defaultPlugins,
|
|
19152
19150
|
toolbar: isNil(this.toolbar) ? this.defaultToolbar : this.toolbar,
|
|
19153
|
-
|
|
19151
|
+
fontsize_formats: '8px 10px 12px 14px 18px 24px 36px',
|
|
19154
19152
|
min_width: 480,
|
|
19155
19153
|
menubar: false,
|
|
19156
19154
|
autocomplete: this.autocompleteOptions,
|
|
19157
|
-
suffix: '.min',
|
|
19158
|
-
skin: 'tinymce-5',
|
|
19159
19155
|
setup: editor => {
|
|
19160
19156
|
this.editor = editor;
|
|
19161
19157
|
editor.on('init', (e) => {
|
|
@@ -19223,9 +19219,9 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19223
19219
|
};
|
|
19224
19220
|
DatoRichTextDirective.ctorParameters = () => [
|
|
19225
19221
|
{ type: NgZone },
|
|
19226
|
-
{ type:
|
|
19227
|
-
{ type:
|
|
19228
|
-
{ type:
|
|
19222
|
+
{ type: HttpClient },
|
|
19223
|
+
{ type: ElementRef },
|
|
19224
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
19229
19225
|
];
|
|
19230
19226
|
__decorate([
|
|
19231
19227
|
Input(),
|
|
@@ -19291,9 +19287,10 @@ DatoRichTextDirective = DatoRichTextDirective_1 = __decorate([
|
|
|
19291
19287
|
}
|
|
19292
19288
|
]
|
|
19293
19289
|
}),
|
|
19294
|
-
__param(
|
|
19290
|
+
__param(3, Inject(DATO_CORE_CONFIG)),
|
|
19295
19291
|
__metadata("design:paramtypes", [NgZone,
|
|
19296
|
-
|
|
19292
|
+
HttpClient,
|
|
19293
|
+
ElementRef, Object])
|
|
19297
19294
|
], DatoRichTextDirective);
|
|
19298
19295
|
|
|
19299
19296
|
/**
|
|
@@ -21574,9 +21571,7 @@ let DatoBreadcrumbsComponent = class DatoBreadcrumbsComponent {
|
|
|
21574
21571
|
this._breadcrumbs = [...start, ...dots, ...end];
|
|
21575
21572
|
}
|
|
21576
21573
|
initEditableHeader() {
|
|
21577
|
-
this.headerControl.valueChanges
|
|
21578
|
-
.pipe(debounceTime(300), untilDestroyed(this))
|
|
21579
|
-
.subscribe((res) => {
|
|
21574
|
+
this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe((res) => {
|
|
21580
21575
|
this.updateEditableText.emit(res);
|
|
21581
21576
|
this.cdr.detectChanges();
|
|
21582
21577
|
});
|
|
@@ -22841,7 +22836,7 @@ function fixNgLeaks() {
|
|
|
22841
22836
|
};
|
|
22842
22837
|
}
|
|
22843
22838
|
|
|
22844
|
-
window.coreVersion = '22.
|
|
22839
|
+
window.coreVersion = '22.11.1';
|
|
22845
22840
|
|
|
22846
22841
|
/**
|
|
22847
22842
|
* @license
|
|
@@ -22855,5 +22850,5 @@ window.coreVersion = '22.10.9-rc.';
|
|
|
22855
22850
|
* Generated bundle index. Do not edit.
|
|
22856
22851
|
*/
|
|
22857
22852
|
|
|
22858
|
-
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
|
|
22853
|
+
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 };
|
|
22859
22854
|
//# sourceMappingURL=datorama-core.js.map
|