@datorama/core 22.10.9-rc.4 → 22.11.0
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 +63 -104
- 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 +13 -30
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +3 -4
- 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 +15 -29
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.service.js +3 -4
- 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 +61 -97
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +64 -104
- 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-controller/grid-controller.component.d.ts +0 -1
- package/lib/grid-v2/grid-settings.d.ts +2 -2
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +0 -2
- package/lib/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();
|
|
@@ -10513,7 +10518,7 @@ function toolbarActionToContextAction(params) {
|
|
|
10513
10518
|
return contextActions;
|
|
10514
10519
|
}
|
|
10515
10520
|
|
|
10516
|
-
const DATO_GRID_STORAGE_API = new InjectionToken('
|
|
10521
|
+
const DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
|
|
10517
10522
|
|
|
10518
10523
|
const defaultEditableColumnRenderer = params => params && params.value ? `<div class="value-wrapper ellipsis">${params.value}</div>` : null;
|
|
10519
10524
|
const editableCellRendererWithSearchHighlight = (params, searchTerm) => {
|
|
@@ -12617,7 +12622,7 @@ let GridService = class GridService {
|
|
|
12617
12622
|
const { leafGroup, childIndex, rowGroupIndex } = params.node;
|
|
12618
12623
|
const gridQuery = params.colDef.headerComponentParams.gridQuery;
|
|
12619
12624
|
let cellClass = ``;
|
|
12620
|
-
if (gridQuery) {
|
|
12625
|
+
if (gridQuery && gridQuery.api) {
|
|
12621
12626
|
const { columns } = gridQuery.api;
|
|
12622
12627
|
const allDisplayedColumns = columns.getAllDisplayedColumns();
|
|
12623
12628
|
const col = allDisplayedColumns.find(column => {
|
|
@@ -12904,8 +12909,7 @@ let GridService = class GridService {
|
|
|
12904
12909
|
this.updateSettings({ gridAlignment, columnsSizes: null });
|
|
12905
12910
|
}
|
|
12906
12911
|
saveSettingsToServer(settings) {
|
|
12907
|
-
|
|
12908
|
-
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
12912
|
+
this.storageAPI.set(this.gridName, settings);
|
|
12909
12913
|
}
|
|
12910
12914
|
/**
|
|
12911
12915
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -13798,7 +13802,7 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
|
|
|
13798
13802
|
}
|
|
13799
13803
|
ngOnDestroy() {
|
|
13800
13804
|
this.contentInit.complete();
|
|
13801
|
-
this.clearTooltip();
|
|
13805
|
+
this.tooltip && this.clearTooltip();
|
|
13802
13806
|
this.rowHoverComponent && this.rowHoverComponent.destroy();
|
|
13803
13807
|
this.rowHoverComponent = null;
|
|
13804
13808
|
}
|
|
@@ -13814,10 +13818,7 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
|
|
|
13814
13818
|
.pipe(switchMap(() => {
|
|
13815
13819
|
this.gridOptions = this.normalizeOptions();
|
|
13816
13820
|
agGrid.gridOptions = this.gridOptions;
|
|
13817
|
-
const
|
|
13818
|
-
const settingsLoader = this.gridOptions.saveSettings === false
|
|
13819
|
-
? of(null)
|
|
13820
|
-
: this.storageAPI.get(this.gridOptions.gridName, isGlobal);
|
|
13821
|
+
const settingsLoader = this.gridOptions.saveSettings === false ? of(null) : this.storageAPI.get(this.gridOptions.gridName);
|
|
13821
13822
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
13822
13823
|
}), untilDestroyed(this))
|
|
13823
13824
|
.subscribe(([{ api, columnApi }, savedSettings = {}]) => {
|
|
@@ -14002,51 +14003,37 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
|
|
|
14002
14003
|
});
|
|
14003
14004
|
this.addOnHoverElement();
|
|
14004
14005
|
}
|
|
14005
|
-
agGrid.cellMouseOver
|
|
14006
|
-
|
|
14007
|
-
|
|
14008
|
-
|
|
14009
|
-
return;
|
|
14010
|
-
}
|
|
14011
|
-
lastHoveredCell = `${node.id}-${column.getColId()}`;
|
|
14006
|
+
agGrid.cellMouseOver
|
|
14007
|
+
.pipe(filter$1(({ node, column }) => lastHoveredCell !== `${node.id}-${column.getColId()}`), untilDestroyed(this))
|
|
14008
|
+
.subscribe((event) => {
|
|
14009
|
+
lastHoveredCell = `${event.node.id}-${event.column.getColId()}`;
|
|
14012
14010
|
this.showTooltip(event);
|
|
14013
14011
|
const row = event.event.target.parentElement;
|
|
14014
|
-
if (onHoverEnabled && (node.group === false || isNil(node.group)) && this.lastHoveredRow !== row) {
|
|
14012
|
+
if (onHoverEnabled && (event.node.group === false || isNil(event.node.group)) && this.lastHoveredRow !== row) {
|
|
14015
14013
|
const previousNode = this.lastHoveredRow;
|
|
14016
14014
|
this.lastHoveredRow = row;
|
|
14017
14015
|
this.toggleRowHoverClass([previousNode, this.lastHoveredRow]);
|
|
14018
14016
|
this.setOnHoverState(true, event);
|
|
14019
14017
|
}
|
|
14020
14018
|
});
|
|
14021
|
-
const onTooltipOut = merge$1(fromEvent(bodyViewport, 'scroll'), fromEvent(this.agGridEl, 'mouseleave'));
|
|
14022
|
-
onTooltipOut
|
|
14023
|
-
lastHoveredCell = null;
|
|
14024
|
-
this.clearTooltip();
|
|
14025
|
-
});
|
|
14026
|
-
agGrid.cellMouseOut
|
|
14019
|
+
const onTooltipOut = merge$1(fromEvent(bodyViewport, 'scroll'), fromEvent(this.agGridEl, 'mouseleave'), agGrid.cellMouseOut);
|
|
14020
|
+
onTooltipOut
|
|
14027
14021
|
.pipe(filter$1(() => !isNil(this.tooltip)), untilDestroyed(this))
|
|
14028
14022
|
.subscribe(() => {
|
|
14029
|
-
this.
|
|
14023
|
+
this.clearTooltip();
|
|
14030
14024
|
});
|
|
14031
14025
|
}
|
|
14032
14026
|
/**
|
|
14033
14027
|
* Dispose the tooltip
|
|
14034
14028
|
*/
|
|
14035
14029
|
clearTooltip() {
|
|
14036
|
-
this.tooltip
|
|
14030
|
+
this.tooltip.dispose();
|
|
14037
14031
|
this.tooltip = null;
|
|
14038
14032
|
}
|
|
14039
14033
|
showTooltip(event) {
|
|
14040
|
-
|
|
14041
|
-
if (cell.tagName === 'SPAN' && cell.scrollWidth === 0) {
|
|
14042
|
-
cell = cell.parentElement;
|
|
14043
|
-
}
|
|
14044
|
-
if (event.colDef.editable) {
|
|
14045
|
-
cell = cell.querySelector('.value-wrapper') || cell;
|
|
14046
|
-
}
|
|
14034
|
+
const cell = event.event.target;
|
|
14047
14035
|
const textOverflow = cell.offsetWidth < cell.scrollWidth;
|
|
14048
14036
|
if (textOverflow) {
|
|
14049
|
-
clearTimeout(this.cellMouseOutTimer);
|
|
14050
14037
|
const params = { cell, value: cell.innerText };
|
|
14051
14038
|
isNil(this.tooltip) ? this.createAndShowTooltip(params) : this.updateTooltip(params);
|
|
14052
14039
|
}
|
|
@@ -14956,12 +14943,6 @@ let DatoGridV2ToolbarComponent = class DatoGridV2ToolbarComponent {
|
|
|
14956
14943
|
this.registerGroupListeners();
|
|
14957
14944
|
this.subscribeRowsSelectionData();
|
|
14958
14945
|
}
|
|
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
14946
|
onActionClick(action) {
|
|
14966
14947
|
if (isFunction(action.onClick)) {
|
|
14967
14948
|
const selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -19040,39 +19021,6 @@ DatoEditableHeaderModule = __decorate([
|
|
|
19040
19021
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
19041
19022
|
*/
|
|
19042
19023
|
|
|
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
19024
|
/**
|
|
19077
19025
|
* @license
|
|
19078
19026
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -19086,20 +19034,20 @@ const getTinymce = () => {
|
|
|
19086
19034
|
};
|
|
19087
19035
|
const ɵ0$3 = getTinymce;
|
|
19088
19036
|
let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirective extends BaseCustomControl {
|
|
19089
|
-
constructor(ngZone,
|
|
19037
|
+
constructor(ngZone, http, host, config) {
|
|
19090
19038
|
super();
|
|
19091
19039
|
this.ngZone = ngZone;
|
|
19092
|
-
this.
|
|
19093
|
-
this.config = config;
|
|
19040
|
+
this.http = http;
|
|
19094
19041
|
this.host = host;
|
|
19042
|
+
this.config = config;
|
|
19095
19043
|
this.autocompleteOptions = {};
|
|
19096
19044
|
this.forcePlainTextPasting = false;
|
|
19097
19045
|
this.format = 'html';
|
|
19098
19046
|
this.isOneLine = false;
|
|
19099
19047
|
this.initialValue = '';
|
|
19100
|
-
this.defaultPlugins = 'link fullscreen image lists table autocomplete';
|
|
19048
|
+
this.defaultPlugins = 'link fullscreen textcolor colorpicker image lists table textpattern autocomplete';
|
|
19101
19049
|
this.defaultToolbar = [
|
|
19102
|
-
'
|
|
19050
|
+
'fontselect fontsizeselect forecolor backcolor bold italic underline link',
|
|
19103
19051
|
'alignleft aligncenter alignright alignjustify outdent indent | table numlist bullist | image fullscreen'
|
|
19104
19052
|
];
|
|
19105
19053
|
}
|
|
@@ -19118,11 +19066,28 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19118
19066
|
base: this.config.paths.richText,
|
|
19119
19067
|
query: ''
|
|
19120
19068
|
};
|
|
19121
|
-
|
|
19122
|
-
|
|
19123
|
-
|
|
19124
|
-
|
|
19069
|
+
/**
|
|
19070
|
+
* We support only one instance in load time
|
|
19071
|
+
*/
|
|
19072
|
+
if (window.tinymce) {
|
|
19125
19073
|
this.init.call(this);
|
|
19074
|
+
}
|
|
19075
|
+
else {
|
|
19076
|
+
this.loadLib().subscribe(lib => {
|
|
19077
|
+
appendScript(lib, 'rich-text-editor');
|
|
19078
|
+
this.init.call(this);
|
|
19079
|
+
this.loadAutoCompleteStyle();
|
|
19080
|
+
});
|
|
19081
|
+
}
|
|
19082
|
+
}
|
|
19083
|
+
loadLib() {
|
|
19084
|
+
return this.http.get(`${this.config.paths.richText}/index.js`, { responseType: 'text' });
|
|
19085
|
+
}
|
|
19086
|
+
loadAutoCompleteStyle() {
|
|
19087
|
+
this.http
|
|
19088
|
+
.get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
|
|
19089
|
+
.subscribe(style => {
|
|
19090
|
+
appendStyle(style, 'tinymce-autocomplete');
|
|
19126
19091
|
});
|
|
19127
19092
|
}
|
|
19128
19093
|
initEditor(_, editor) {
|
|
@@ -19143,6 +19108,8 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19143
19108
|
target: this.host.nativeElement,
|
|
19144
19109
|
width: this.width || 600,
|
|
19145
19110
|
height: this.height || 300,
|
|
19111
|
+
force_br_newlines: true,
|
|
19112
|
+
force_p_newlines: false,
|
|
19146
19113
|
resize: 'both',
|
|
19147
19114
|
branding: false,
|
|
19148
19115
|
inline: this.inline,
|
|
@@ -19150,12 +19117,10 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19150
19117
|
readonly: this.disabled,
|
|
19151
19118
|
plugins: this.plugins || this.defaultPlugins,
|
|
19152
19119
|
toolbar: isNil(this.toolbar) ? this.defaultToolbar : this.toolbar,
|
|
19153
|
-
|
|
19120
|
+
fontsize_formats: '8px 10px 12px 14px 18px 24px 36px',
|
|
19154
19121
|
min_width: 480,
|
|
19155
19122
|
menubar: false,
|
|
19156
19123
|
autocomplete: this.autocompleteOptions,
|
|
19157
|
-
suffix: '.min',
|
|
19158
|
-
skin: 'tinymce-5',
|
|
19159
19124
|
setup: editor => {
|
|
19160
19125
|
this.editor = editor;
|
|
19161
19126
|
editor.on('init', (e) => {
|
|
@@ -19223,9 +19188,9 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19223
19188
|
};
|
|
19224
19189
|
DatoRichTextDirective.ctorParameters = () => [
|
|
19225
19190
|
{ type: NgZone },
|
|
19226
|
-
{ type:
|
|
19227
|
-
{ type:
|
|
19228
|
-
{ type:
|
|
19191
|
+
{ type: HttpClient },
|
|
19192
|
+
{ type: ElementRef },
|
|
19193
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
19229
19194
|
];
|
|
19230
19195
|
__decorate([
|
|
19231
19196
|
Input(),
|
|
@@ -19291,9 +19256,10 @@ DatoRichTextDirective = DatoRichTextDirective_1 = __decorate([
|
|
|
19291
19256
|
}
|
|
19292
19257
|
]
|
|
19293
19258
|
}),
|
|
19294
|
-
__param(
|
|
19259
|
+
__param(3, Inject(DATO_CORE_CONFIG)),
|
|
19295
19260
|
__metadata("design:paramtypes", [NgZone,
|
|
19296
|
-
|
|
19261
|
+
HttpClient,
|
|
19262
|
+
ElementRef, Object])
|
|
19297
19263
|
], DatoRichTextDirective);
|
|
19298
19264
|
|
|
19299
19265
|
/**
|
|
@@ -21574,9 +21540,7 @@ let DatoBreadcrumbsComponent = class DatoBreadcrumbsComponent {
|
|
|
21574
21540
|
this._breadcrumbs = [...start, ...dots, ...end];
|
|
21575
21541
|
}
|
|
21576
21542
|
initEditableHeader() {
|
|
21577
|
-
this.headerControl.valueChanges
|
|
21578
|
-
.pipe(debounceTime(300), untilDestroyed(this))
|
|
21579
|
-
.subscribe((res) => {
|
|
21543
|
+
this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe((res) => {
|
|
21580
21544
|
this.updateEditableText.emit(res);
|
|
21581
21545
|
this.cdr.detectChanges();
|
|
21582
21546
|
});
|
|
@@ -22841,7 +22805,7 @@ function fixNgLeaks() {
|
|
|
22841
22805
|
};
|
|
22842
22806
|
}
|
|
22843
22807
|
|
|
22844
|
-
window.coreVersion = '22.
|
|
22808
|
+
window.coreVersion = '22.11.0';
|
|
22845
22809
|
|
|
22846
22810
|
/**
|
|
22847
22811
|
* @license
|
|
@@ -22855,5 +22819,5 @@ window.coreVersion = '22.10.9-rc.';
|
|
|
22855
22819
|
* Generated bundle index. Do not edit.
|
|
22856
22820
|
*/
|
|
22857
22821
|
|
|
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
|
|
22822
|
+
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
22823
|
//# sourceMappingURL=datorama-core.js.map
|