@datorama/core 22.12.7-beta.1 → 22.12.8-rc
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 +100 -57
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +41 -41
- 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 +4 -4
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +7 -6
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +12 -6
- package/esm2015/lib/grid-v2/grid-store/util.js +4 -1
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +13 -1
- package/esm2015/lib/grid-v2/grid-v2.util.js +1 -1
- package/esm2015/lib/icon/icon.types.js +1 -1
- package/esm2015/lib/rich-text/rich-text.directive.js +20 -38
- package/esm2015/lib/rich-text/rich-text.service.js +50 -0
- package/esm2015/lib/select/select.component.js +4 -9
- 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 +4 -4
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +7 -6
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.service.js +12 -6
- package/esm5/lib/grid-v2/grid-store/util.js +4 -1
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +20 -1
- package/esm5/lib/grid-v2/grid-v2.util.js +1 -1
- package/esm5/lib/icon/icon.types.js +1 -1
- package/esm5/lib/rich-text/rich-text.directive.js +21 -39
- package/esm5/lib/rich-text/rich-text.service.js +51 -0
- package/esm5/lib/select/select.component.js +4 -9
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +91 -57
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +100 -58
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/grid-v2/grid/grid-v2.types.d.ts +1 -0
- package/lib/grid-v2/grid-settings.d.ts +2 -2
- package/lib/grid-v2/grid-store/grid.service.d.ts +4 -0
- package/lib/grid-v2/grid-store/util.d.ts +2 -0
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +3 -0
- package/lib/grid-v2/grid-v2.util.d.ts +1 -1
- 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
|
@@ -7707,9 +7707,8 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7707
7707
|
writeValue(activeOptions) {
|
|
7708
7708
|
this._model = activeOptions ? coerceArray$1(activeOptions) : [];
|
|
7709
7709
|
if (this.options) {
|
|
7710
|
-
const overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
|
|
7711
7710
|
this.markAsActive(this._model, { deselectAll: true });
|
|
7712
|
-
|
|
7711
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
7713
7712
|
}
|
|
7714
7713
|
/** For later updates */
|
|
7715
7714
|
this.cdr.markForCheck();
|
|
@@ -7814,7 +7813,6 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7814
7813
|
this.onChange(this._model);
|
|
7815
7814
|
}
|
|
7816
7815
|
removeOption(option) {
|
|
7817
|
-
const updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
|
|
7818
7816
|
this._model = this._model.filter(current => current[this.idKey] !== option[this.idKey]);
|
|
7819
7817
|
const optionToRemove = this.options.find(datoOption => datoOption.option && datoOption.option[this.idKey] === option[this.idKey]);
|
|
7820
7818
|
/**
|
|
@@ -7824,7 +7822,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
7824
7822
|
if (optionToRemove) {
|
|
7825
7823
|
optionToRemove.active = false;
|
|
7826
7824
|
}
|
|
7827
|
-
|
|
7825
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
7828
7826
|
this.onChange(this._model);
|
|
7829
7827
|
this.cdr.markForCheck();
|
|
7830
7828
|
this.asyncUpdateDropdownPosition();
|
|
@@ -8098,9 +8096,6 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
8098
8096
|
if (!datoOption) {
|
|
8099
8097
|
return;
|
|
8100
8098
|
}
|
|
8101
|
-
const modelLength = this._model.length;
|
|
8102
|
-
const updateDisabled = this.limitSelectedTo &&
|
|
8103
|
-
(modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
|
|
8104
8099
|
datoOption.active = !datoOption.active;
|
|
8105
8100
|
const rawOption = datoOption.option;
|
|
8106
8101
|
if (datoOption.active) {
|
|
@@ -8109,7 +8104,7 @@ let DatoSelectComponent = class DatoSelectComponent extends BaseCustomControl {
|
|
|
8109
8104
|
else {
|
|
8110
8105
|
this._model = this._model.filter(current => current[this.idKey] !== rawOption[this.idKey]);
|
|
8111
8106
|
}
|
|
8112
|
-
|
|
8107
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
8113
8108
|
this.onChange(this._model);
|
|
8114
8109
|
this.cdr.markForCheck();
|
|
8115
8110
|
this.asyncUpdateDropdownPosition();
|
|
@@ -10088,6 +10083,9 @@ function tryParsePivotValue(str) {
|
|
|
10088
10083
|
}
|
|
10089
10084
|
return value;
|
|
10090
10085
|
}
|
|
10086
|
+
function isHtmlAllowedForCol(gridOptions, colDef) {
|
|
10087
|
+
return (!gridOptions.disabledHTMLRenderingFields || !gridOptions.disabledHTMLRenderingFields.includes(getColField(colDef)));
|
|
10088
|
+
}
|
|
10091
10089
|
|
|
10092
10090
|
let GridQuery = class GridQuery extends Query {
|
|
10093
10091
|
constructor(store) {
|
|
@@ -10566,7 +10564,7 @@ function toolbarActionToContextAction(params) {
|
|
|
10566
10564
|
return contextActions;
|
|
10567
10565
|
}
|
|
10568
10566
|
|
|
10569
|
-
const DATO_GRID_STORAGE_API = new InjectionToken('
|
|
10567
|
+
const DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_AP');
|
|
10570
10568
|
|
|
10571
10569
|
const defaultEditableColumnRenderer = params => params && params.value ? `<div class="value-wrapper ellipsis">${params.value}</div>` : null;
|
|
10572
10570
|
const editableCellRendererWithSearchHighlight = (params, searchTerm, allowHTML) => {
|
|
@@ -10584,9 +10582,9 @@ const searchHighlightCellRenderer = (params, searchTerm, allowHTML = true) => {
|
|
|
10584
10582
|
cellValue = DOMPurify.sanitize(cellValue);
|
|
10585
10583
|
}
|
|
10586
10584
|
searchTerm = (searchTerm || '').trim();
|
|
10587
|
-
return searchTerm
|
|
10588
|
-
cellValue.replace(new RegExp(searchTerm, 'gi'), (str) => `<span class="search-highlight">${str}</span>`)
|
|
10589
|
-
cellValue;
|
|
10585
|
+
return searchTerm
|
|
10586
|
+
? cellValue.replace(new RegExp(searchTerm, 'gi'), (str) => `<span class="search-highlight">${str}</span>`)
|
|
10587
|
+
: cellValue;
|
|
10590
10588
|
};
|
|
10591
10589
|
var GridMinWidths;
|
|
10592
10590
|
(function (GridMinWidths) {
|
|
@@ -12535,6 +12533,12 @@ let GridService = class GridService {
|
|
|
12535
12533
|
? context
|
|
12536
12534
|
: deepmerge(this.gridRef.gridOptions.context || {}, context);
|
|
12537
12535
|
}
|
|
12536
|
+
updateGridActions() {
|
|
12537
|
+
this.updateGridActionsSubject.next(true);
|
|
12538
|
+
}
|
|
12539
|
+
getUpdateGridActionsStatus() {
|
|
12540
|
+
return this.updateGridActionsSubject.asObservable();
|
|
12541
|
+
}
|
|
12538
12542
|
/**
|
|
12539
12543
|
* @deprecated use selectRows instead
|
|
12540
12544
|
* @param row
|
|
@@ -12750,8 +12754,7 @@ let GridService = class GridService {
|
|
|
12750
12754
|
!this.hasCellRenderer(normalized, gridOptions) &&
|
|
12751
12755
|
gridOptions.enableSearchHighlight) {
|
|
12752
12756
|
normalized.cellRenderer = (params) => {
|
|
12753
|
-
const
|
|
12754
|
-
const allowHTML = !gridOptions.disabledHTMLRenderingFields || !gridOptions.disabledHTMLRenderingFields.includes(colField);
|
|
12757
|
+
const allowHTML = isHtmlAllowedForCol(gridOptions, params.colDef);
|
|
12755
12758
|
const isEditable = (isFunction(normalized.editable) && normalized.editable(params)) ||
|
|
12756
12759
|
(!isFunction(normalized.editable) && normalized.editable);
|
|
12757
12760
|
return isEditable
|
|
@@ -12982,7 +12985,8 @@ let GridService = class GridService {
|
|
|
12982
12985
|
this.updateSettings({ gridAlignment, columnsSizes: null });
|
|
12983
12986
|
}
|
|
12984
12987
|
saveSettingsToServer(settings) {
|
|
12985
|
-
this.
|
|
12988
|
+
const isGlobal = this.gridQuery.getGridOptions().isGlobalSettings;
|
|
12989
|
+
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
12986
12990
|
}
|
|
12987
12991
|
/**
|
|
12988
12992
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -13924,7 +13928,10 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
|
|
|
13924
13928
|
.pipe(switchMap(() => {
|
|
13925
13929
|
this.gridOptions = this.normalizeOptions();
|
|
13926
13930
|
agGrid.gridOptions = this.gridOptions;
|
|
13927
|
-
const
|
|
13931
|
+
const isGlobal = this.gridOptions.isGlobalSettings;
|
|
13932
|
+
const settingsLoader = this.gridOptions.saveSettings === false
|
|
13933
|
+
? of(null)
|
|
13934
|
+
: this.storageAPI.get(this.gridOptions.gridName, isGlobal);
|
|
13928
13935
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
13929
13936
|
}), untilDestroyed(this))
|
|
13930
13937
|
.subscribe(([{ api, columnApi }, savedSettings = {}]) => {
|
|
@@ -13938,7 +13945,6 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
|
|
|
13938
13945
|
}
|
|
13939
13946
|
const gridApi = { grid: api, columns: columnApi };
|
|
13940
13947
|
this.gridService._setApi(gridApi, agGrid);
|
|
13941
|
-
debugger;
|
|
13942
13948
|
this.gridQuery._setApi(gridApi, agGrid);
|
|
13943
13949
|
this.gridService.initSettings(savedSettings || {});
|
|
13944
13950
|
this.registerSettingsListeners(gridApi, agGrid);
|
|
@@ -14155,8 +14161,7 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
|
|
|
14155
14161
|
const textOverflow = cell.offsetWidth < cell.scrollWidth;
|
|
14156
14162
|
if (textOverflow) {
|
|
14157
14163
|
clearTimeout(this.cellMouseOutTimer);
|
|
14158
|
-
const
|
|
14159
|
-
const allowHTML = !this.gridOptions.disabledHTMLRenderingFields || !this.gridOptions.disabledHTMLRenderingFields.includes(colField);
|
|
14164
|
+
const allowHTML = isHtmlAllowedForCol(this.gridOptions, event.colDef);
|
|
14160
14165
|
const params = { cell, value: cell.innerText, allowHTML };
|
|
14161
14166
|
isNil(this.tooltip) ? this.createAndShowTooltip(params) : this.updateTooltip(params);
|
|
14162
14167
|
}
|
|
@@ -15065,6 +15070,13 @@ let DatoGridV2ToolbarComponent = class DatoGridV2ToolbarComponent {
|
|
|
15065
15070
|
});
|
|
15066
15071
|
this.registerGroupListeners();
|
|
15067
15072
|
this.subscribeRowsSelectionData();
|
|
15073
|
+
this.subscribeUpdateGridActions();
|
|
15074
|
+
}
|
|
15075
|
+
getCellValueChangeEvent() {
|
|
15076
|
+
return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(this)));
|
|
15077
|
+
}
|
|
15078
|
+
getRowDataUpdatedEvent() {
|
|
15079
|
+
return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(this)));
|
|
15068
15080
|
}
|
|
15069
15081
|
onActionClick(action) {
|
|
15070
15082
|
if (isFunction(action.onClick)) {
|
|
@@ -15301,6 +15313,11 @@ let DatoGridV2ToolbarComponent = class DatoGridV2ToolbarComponent {
|
|
|
15301
15313
|
this.cdr.detectChanges();
|
|
15302
15314
|
});
|
|
15303
15315
|
}
|
|
15316
|
+
subscribeUpdateGridActions() {
|
|
15317
|
+
this.gridService.getUpdateGridActionsStatus().subscribe(() => {
|
|
15318
|
+
this.initGridActions();
|
|
15319
|
+
});
|
|
15320
|
+
}
|
|
15304
15321
|
selectAllPages() {
|
|
15305
15322
|
if (this.gridQuery.isServerSide) {
|
|
15306
15323
|
this.gridService.setServerSidePagination({ selectAllRowsEnabled: true, excludedFromSelectAll: [] });
|
|
@@ -19144,6 +19161,39 @@ DatoEditableHeaderModule = __decorate([
|
|
|
19144
19161
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
19145
19162
|
*/
|
|
19146
19163
|
|
|
19164
|
+
let RichTextService = class RichTextService {
|
|
19165
|
+
constructor(http, config) {
|
|
19166
|
+
this.http = http;
|
|
19167
|
+
this.config = config;
|
|
19168
|
+
}
|
|
19169
|
+
getLib(appendScriptFunc, appendStyleFunc) {
|
|
19170
|
+
if (!this.richTextScript$) {
|
|
19171
|
+
this.initLib(appendScriptFunc, appendStyleFunc);
|
|
19172
|
+
}
|
|
19173
|
+
return this.richTextScript$;
|
|
19174
|
+
}
|
|
19175
|
+
initLib(appendScriptFunc, appendStyleFunc) {
|
|
19176
|
+
this.richTextScript$ = combineLatest([
|
|
19177
|
+
this.http
|
|
19178
|
+
.get(`${this.config.paths.richText}/index.js`, { responseType: 'text' })
|
|
19179
|
+
.pipe(tap(lib => appendScriptFunc(lib, 'rich-text-editor'))),
|
|
19180
|
+
this.http
|
|
19181
|
+
.get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
|
|
19182
|
+
.pipe(tap(style => appendStyleFunc(style, 'tinymce-autocomplete')))
|
|
19183
|
+
]).pipe(shareReplay(1));
|
|
19184
|
+
}
|
|
19185
|
+
};
|
|
19186
|
+
RichTextService.ctorParameters = () => [
|
|
19187
|
+
{ type: HttpClient },
|
|
19188
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
19189
|
+
];
|
|
19190
|
+
RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
|
|
19191
|
+
RichTextService = __decorate([
|
|
19192
|
+
Injectable({ providedIn: 'root' }),
|
|
19193
|
+
__param(1, Inject(DATO_CORE_CONFIG)),
|
|
19194
|
+
__metadata("design:paramtypes", [HttpClient, Object])
|
|
19195
|
+
], RichTextService);
|
|
19196
|
+
|
|
19147
19197
|
/**
|
|
19148
19198
|
* @license
|
|
19149
19199
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -19157,20 +19207,20 @@ const getTinymce = () => {
|
|
|
19157
19207
|
};
|
|
19158
19208
|
const ɵ0$3 = getTinymce;
|
|
19159
19209
|
let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirective extends BaseCustomControl {
|
|
19160
|
-
constructor(ngZone,
|
|
19210
|
+
constructor(ngZone, richTextService, config, host) {
|
|
19161
19211
|
super();
|
|
19162
19212
|
this.ngZone = ngZone;
|
|
19163
|
-
this.
|
|
19164
|
-
this.host = host;
|
|
19213
|
+
this.richTextService = richTextService;
|
|
19165
19214
|
this.config = config;
|
|
19215
|
+
this.host = host;
|
|
19166
19216
|
this.autocompleteOptions = {};
|
|
19167
19217
|
this.forcePlainTextPasting = false;
|
|
19168
19218
|
this.format = 'html';
|
|
19169
19219
|
this.isOneLine = false;
|
|
19170
19220
|
this.initialValue = '';
|
|
19171
|
-
this.defaultPlugins = 'link fullscreen
|
|
19221
|
+
this.defaultPlugins = 'link fullscreen image lists table autocomplete';
|
|
19172
19222
|
this.defaultToolbar = [
|
|
19173
|
-
'
|
|
19223
|
+
'fontfamily fontsize forecolor backcolor bold italic underline link',
|
|
19174
19224
|
'alignleft aligncenter alignright alignjustify outdent indent | table numlist bullist | image fullscreen'
|
|
19175
19225
|
];
|
|
19176
19226
|
}
|
|
@@ -19189,28 +19239,11 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19189
19239
|
base: this.config.paths.richText,
|
|
19190
19240
|
query: ''
|
|
19191
19241
|
};
|
|
19192
|
-
|
|
19193
|
-
|
|
19194
|
-
|
|
19195
|
-
|
|
19242
|
+
this.richTextService
|
|
19243
|
+
.getLib(appendScript, appendStyle)
|
|
19244
|
+
.pipe(untilDestroyed(this))
|
|
19245
|
+
.subscribe(() => {
|
|
19196
19246
|
this.init.call(this);
|
|
19197
|
-
}
|
|
19198
|
-
else {
|
|
19199
|
-
this.loadLib().subscribe(lib => {
|
|
19200
|
-
appendScript(lib, 'rich-text-editor');
|
|
19201
|
-
this.init.call(this);
|
|
19202
|
-
this.loadAutoCompleteStyle();
|
|
19203
|
-
});
|
|
19204
|
-
}
|
|
19205
|
-
}
|
|
19206
|
-
loadLib() {
|
|
19207
|
-
return this.http.get(`${this.config.paths.richText}/index.js`, { responseType: 'text' });
|
|
19208
|
-
}
|
|
19209
|
-
loadAutoCompleteStyle() {
|
|
19210
|
-
this.http
|
|
19211
|
-
.get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
|
|
19212
|
-
.subscribe(style => {
|
|
19213
|
-
appendStyle(style, 'tinymce-autocomplete');
|
|
19214
19247
|
});
|
|
19215
19248
|
}
|
|
19216
19249
|
initEditor(_, editor) {
|
|
@@ -19231,8 +19264,6 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19231
19264
|
target: this.host.nativeElement,
|
|
19232
19265
|
width: this.width || 600,
|
|
19233
19266
|
height: this.height || 300,
|
|
19234
|
-
force_br_newlines: true,
|
|
19235
|
-
force_p_newlines: false,
|
|
19236
19267
|
resize: 'both',
|
|
19237
19268
|
branding: false,
|
|
19238
19269
|
inline: this.inline,
|
|
@@ -19240,10 +19271,12 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19240
19271
|
readonly: this.disabled,
|
|
19241
19272
|
plugins: this.plugins || this.defaultPlugins,
|
|
19242
19273
|
toolbar: isNil(this.toolbar) ? this.defaultToolbar : this.toolbar,
|
|
19243
|
-
|
|
19274
|
+
font_size_formats: '8px 10px 12px 14px 18px 24px 36px',
|
|
19244
19275
|
min_width: 480,
|
|
19245
19276
|
menubar: false,
|
|
19246
19277
|
autocomplete: this.autocompleteOptions,
|
|
19278
|
+
suffix: '.min',
|
|
19279
|
+
skin: 'tinymce-5',
|
|
19247
19280
|
setup: editor => {
|
|
19248
19281
|
this.editor = editor;
|
|
19249
19282
|
editor.on('init', (e) => {
|
|
@@ -19311,9 +19344,9 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19311
19344
|
};
|
|
19312
19345
|
DatoRichTextDirective.ctorParameters = () => [
|
|
19313
19346
|
{ type: NgZone },
|
|
19314
|
-
{ type:
|
|
19315
|
-
{ type:
|
|
19316
|
-
{ type:
|
|
19347
|
+
{ type: RichTextService },
|
|
19348
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] },
|
|
19349
|
+
{ type: ElementRef }
|
|
19317
19350
|
];
|
|
19318
19351
|
__decorate([
|
|
19319
19352
|
Input(),
|
|
@@ -19379,10 +19412,9 @@ DatoRichTextDirective = DatoRichTextDirective_1 = __decorate([
|
|
|
19379
19412
|
}
|
|
19380
19413
|
]
|
|
19381
19414
|
}),
|
|
19382
|
-
__param(
|
|
19415
|
+
__param(2, Inject(DATO_CORE_CONFIG)),
|
|
19383
19416
|
__metadata("design:paramtypes", [NgZone,
|
|
19384
|
-
|
|
19385
|
-
ElementRef, Object])
|
|
19417
|
+
RichTextService, Object, ElementRef])
|
|
19386
19418
|
], DatoRichTextDirective);
|
|
19387
19419
|
|
|
19388
19420
|
/**
|
|
@@ -21663,7 +21695,9 @@ let DatoBreadcrumbsComponent = class DatoBreadcrumbsComponent {
|
|
|
21663
21695
|
this._breadcrumbs = [...start, ...dots, ...end];
|
|
21664
21696
|
}
|
|
21665
21697
|
initEditableHeader() {
|
|
21666
|
-
this.headerControl.valueChanges
|
|
21698
|
+
this.headerControl.valueChanges
|
|
21699
|
+
.pipe(debounceTime(300), untilDestroyed(this))
|
|
21700
|
+
.subscribe((res) => {
|
|
21667
21701
|
this.updateEditableText.emit(res);
|
|
21668
21702
|
this.cdr.detectChanges();
|
|
21669
21703
|
});
|
|
@@ -22928,7 +22962,7 @@ function fixNgLeaks() {
|
|
|
22928
22962
|
};
|
|
22929
22963
|
}
|
|
22930
22964
|
|
|
22931
|
-
window.coreVersion = '22.
|
|
22965
|
+
window.coreVersion = '22.13.7-rc.';
|
|
22932
22966
|
|
|
22933
22967
|
/**
|
|
22934
22968
|
* @license
|
|
@@ -22942,5 +22976,5 @@ window.coreVersion = '22.12.7';
|
|
|
22942
22976
|
* Generated bundle index. Do not edit.
|
|
22943
22977
|
*/
|
|
22944
22978
|
|
|
22945
|
-
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 };
|
|
22979
|
+
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, RichTextService as ɵo };
|
|
22946
22980
|
//# sourceMappingURL=datorama-core.js.map
|