@datorama/core 22.9.10 → 22.10.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/bundle.scss +137 -131
- package/bundles/datorama-core.umd.js +104 -136
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +38 -38
- 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 -9
- package/esm2015/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +12 -19
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +13 -30
- package/esm2015/lib/grid-v2/grid-pagination/grid-pagination.component.js +3 -2
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +29 -3
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -7
- package/esm2015/lib/loaders/page-loader/page-loader.component.js +2 -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 -9
- package/esm5/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +12 -20
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +15 -29
- package/esm5/lib/grid-v2/grid-pagination/grid-pagination.component.js +5 -2
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.service.js +29 -3
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -13
- package/esm5/lib/loaders/page-loader/page-loader.component.js +2 -7
- 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 +100 -128
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +105 -136
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/grid-v2/grid/grid-v2.types.d.ts +3 -12
- package/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.d.ts +5 -3
- 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-store/grid.service.d.ts +1 -0
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +0 -2
- package/lib/loaders/page-loader/page-loader.component.d.ts +0 -1
- package/lib/rich-text/rich-text.directive.d.ts +6 -4
- package/package.json +2 -2
- package/esm2015/lib/rich-text/rich-text.service.js +0 -50
- package/esm5/lib/rich-text/rich-text.service.js +0 -51
- package/lib/rich-text/rich-text.service.d.ts +0 -10
|
@@ -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) => {
|
|
@@ -10550,14 +10555,6 @@ var GridRowSelectionType;
|
|
|
10550
10555
|
GridRowSelectionType["SINGLE"] = "single";
|
|
10551
10556
|
GridRowSelectionType["MULTIPLE"] = "multiple";
|
|
10552
10557
|
})(GridRowSelectionType || (GridRowSelectionType = {}));
|
|
10553
|
-
var GridStatusColumnTypes;
|
|
10554
|
-
(function (GridStatusColumnTypes) {
|
|
10555
|
-
GridStatusColumnTypes["SUCCESS"] = "SUCCESS";
|
|
10556
|
-
GridStatusColumnTypes["FAILURE"] = "FAILURE";
|
|
10557
|
-
GridStatusColumnTypes["IN_PROGRESS"] = "IN_PROGRESS";
|
|
10558
|
-
GridStatusColumnTypes["PENDING"] = "PENDING";
|
|
10559
|
-
GridStatusColumnTypes["WAITING"] = "WAITING";
|
|
10560
|
-
})(GridStatusColumnTypes || (GridStatusColumnTypes = {}));
|
|
10561
10558
|
|
|
10562
10559
|
/**
|
|
10563
10560
|
* @license
|
|
@@ -12608,9 +12605,36 @@ let GridService = class GridService {
|
|
|
12608
12605
|
this.initPivotSecondaryColsProcess(params);
|
|
12609
12606
|
params.gridOptions.enableV2_1 = true;
|
|
12610
12607
|
params.gridOptions.saveSettings = false;
|
|
12608
|
+
params.gridOptions.defaultColDef.cellClass = this.getPivotCellClass.bind(this);
|
|
12609
|
+
params.gridOptions.autoGroupColumnDef.cellClass = this.getPivotCellClass.bind(this);
|
|
12611
12610
|
}
|
|
12612
12611
|
return params.gridOptions;
|
|
12613
12612
|
}
|
|
12613
|
+
getPivotCellClass(params) {
|
|
12614
|
+
const { leafGroup, childIndex, rowGroupIndex } = params.node;
|
|
12615
|
+
const gridQuery = params.colDef.headerComponentParams.gridQuery;
|
|
12616
|
+
let cellClass = ``;
|
|
12617
|
+
if (gridQuery && gridQuery.api) {
|
|
12618
|
+
const { columns } = gridQuery.api;
|
|
12619
|
+
const allDisplayedColumns = columns.getAllDisplayedColumns();
|
|
12620
|
+
const col = allDisplayedColumns.find(column => {
|
|
12621
|
+
return column.getColId() === params.colDef.colId;
|
|
12622
|
+
});
|
|
12623
|
+
const colIndex = allDisplayedColumns.indexOf(col);
|
|
12624
|
+
if (rowGroupIndex <= colIndex) {
|
|
12625
|
+
if (leafGroup) {
|
|
12626
|
+
if (childIndex % 2 === 0) {
|
|
12627
|
+
/** If row is even */
|
|
12628
|
+
cellClass += ' primary-100-background-color';
|
|
12629
|
+
}
|
|
12630
|
+
}
|
|
12631
|
+
else {
|
|
12632
|
+
cellClass += 'primary-0-background-color pointer dato-simple-bold';
|
|
12633
|
+
}
|
|
12634
|
+
}
|
|
12635
|
+
}
|
|
12636
|
+
return cellClass;
|
|
12637
|
+
}
|
|
12614
12638
|
normalizeColumns(colDefs, gridOptions = null) {
|
|
12615
12639
|
if (!gridOptions) {
|
|
12616
12640
|
gridOptions = this.gridQuery.getGridOptions();
|
|
@@ -12877,8 +12901,7 @@ let GridService = class GridService {
|
|
|
12877
12901
|
this.updateSettings({ gridAlignment, columnsSizes: null });
|
|
12878
12902
|
}
|
|
12879
12903
|
saveSettingsToServer(settings) {
|
|
12880
|
-
|
|
12881
|
-
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
12904
|
+
this.storageAPI.set(this.gridName, settings);
|
|
12882
12905
|
}
|
|
12883
12906
|
/**
|
|
12884
12907
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -13771,7 +13794,7 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
|
|
|
13771
13794
|
}
|
|
13772
13795
|
ngOnDestroy() {
|
|
13773
13796
|
this.contentInit.complete();
|
|
13774
|
-
this.clearTooltip();
|
|
13797
|
+
this.tooltip && this.clearTooltip();
|
|
13775
13798
|
this.rowHoverComponent && this.rowHoverComponent.destroy();
|
|
13776
13799
|
this.rowHoverComponent = null;
|
|
13777
13800
|
}
|
|
@@ -13787,10 +13810,7 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
|
|
|
13787
13810
|
.pipe(switchMap(() => {
|
|
13788
13811
|
this.gridOptions = this.normalizeOptions();
|
|
13789
13812
|
agGrid.gridOptions = this.gridOptions;
|
|
13790
|
-
const
|
|
13791
|
-
const settingsLoader = this.gridOptions.saveSettings === false
|
|
13792
|
-
? of(null)
|
|
13793
|
-
: this.storageAPI.get(this.gridOptions.gridName, isGlobal);
|
|
13813
|
+
const settingsLoader = this.gridOptions.saveSettings === false ? of(null) : this.storageAPI.get(this.gridOptions.gridName);
|
|
13794
13814
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
13795
13815
|
}), untilDestroyed(this))
|
|
13796
13816
|
.subscribe(([{ api, columnApi }, savedSettings = {}]) => {
|
|
@@ -13975,51 +13995,37 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
|
|
|
13975
13995
|
});
|
|
13976
13996
|
this.addOnHoverElement();
|
|
13977
13997
|
}
|
|
13978
|
-
agGrid.cellMouseOver
|
|
13979
|
-
|
|
13980
|
-
|
|
13981
|
-
|
|
13982
|
-
return;
|
|
13983
|
-
}
|
|
13984
|
-
lastHoveredCell = `${node.id}-${column.getColId()}`;
|
|
13998
|
+
agGrid.cellMouseOver
|
|
13999
|
+
.pipe(filter$1(({ node, column }) => lastHoveredCell !== `${node.id}-${column.getColId()}`), untilDestroyed(this))
|
|
14000
|
+
.subscribe((event) => {
|
|
14001
|
+
lastHoveredCell = `${event.node.id}-${event.column.getColId()}`;
|
|
13985
14002
|
this.showTooltip(event);
|
|
13986
14003
|
const row = event.event.target.parentElement;
|
|
13987
|
-
if (onHoverEnabled && (node.group === false || isNil(node.group)) && this.lastHoveredRow !== row) {
|
|
14004
|
+
if (onHoverEnabled && (event.node.group === false || isNil(event.node.group)) && this.lastHoveredRow !== row) {
|
|
13988
14005
|
const previousNode = this.lastHoveredRow;
|
|
13989
14006
|
this.lastHoveredRow = row;
|
|
13990
14007
|
this.toggleRowHoverClass([previousNode, this.lastHoveredRow]);
|
|
13991
14008
|
this.setOnHoverState(true, event);
|
|
13992
14009
|
}
|
|
13993
14010
|
});
|
|
13994
|
-
const onTooltipOut = merge$1(fromEvent(bodyViewport, 'scroll'), fromEvent(this.agGridEl, 'mouseleave'));
|
|
13995
|
-
onTooltipOut
|
|
13996
|
-
lastHoveredCell = null;
|
|
13997
|
-
this.clearTooltip();
|
|
13998
|
-
});
|
|
13999
|
-
agGrid.cellMouseOut
|
|
14011
|
+
const onTooltipOut = merge$1(fromEvent(bodyViewport, 'scroll'), fromEvent(this.agGridEl, 'mouseleave'), agGrid.cellMouseOut);
|
|
14012
|
+
onTooltipOut
|
|
14000
14013
|
.pipe(filter$1(() => !isNil(this.tooltip)), untilDestroyed(this))
|
|
14001
14014
|
.subscribe(() => {
|
|
14002
|
-
this.
|
|
14015
|
+
this.clearTooltip();
|
|
14003
14016
|
});
|
|
14004
14017
|
}
|
|
14005
14018
|
/**
|
|
14006
14019
|
* Dispose the tooltip
|
|
14007
14020
|
*/
|
|
14008
14021
|
clearTooltip() {
|
|
14009
|
-
this.tooltip
|
|
14022
|
+
this.tooltip.dispose();
|
|
14010
14023
|
this.tooltip = null;
|
|
14011
14024
|
}
|
|
14012
14025
|
showTooltip(event) {
|
|
14013
|
-
|
|
14014
|
-
if (cell.tagName === 'SPAN' && cell.scrollWidth === 0) {
|
|
14015
|
-
cell = cell.parentElement;
|
|
14016
|
-
}
|
|
14017
|
-
if (event.colDef.editable) {
|
|
14018
|
-
cell = cell.querySelector('.value-wrapper') || cell;
|
|
14019
|
-
}
|
|
14026
|
+
const cell = event.event.target;
|
|
14020
14027
|
const textOverflow = cell.offsetWidth < cell.scrollWidth;
|
|
14021
14028
|
if (textOverflow) {
|
|
14022
|
-
clearTimeout(this.cellMouseOutTimer);
|
|
14023
14029
|
const params = { cell, value: cell.innerText };
|
|
14024
14030
|
isNil(this.tooltip) ? this.createAndShowTooltip(params) : this.updateTooltip(params);
|
|
14025
14031
|
}
|
|
@@ -14531,7 +14537,7 @@ let DatoGridPaginationV2Component = class DatoGridPaginationV2Component {
|
|
|
14531
14537
|
}
|
|
14532
14538
|
ngOnInit() {
|
|
14533
14539
|
this.gridQuery
|
|
14534
|
-
.waitForGrid(() => this.gridQuery.gridRef.filterChanged)
|
|
14540
|
+
.waitForGrid(() => merge$1(this.gridQuery.gridRef.filterChanged, this.gridQuery.gridRef.rowGroupOpened, this.gridQuery.gridRef.expandOrCollapseAll))
|
|
14535
14541
|
.pipe(untilDestroyed(this))
|
|
14536
14542
|
.subscribe(() => {
|
|
14537
14543
|
this.gridApi.paginationGoToPage(0);
|
|
@@ -14929,12 +14935,6 @@ let DatoGridV2ToolbarComponent = class DatoGridV2ToolbarComponent {
|
|
|
14929
14935
|
this.registerGroupListeners();
|
|
14930
14936
|
this.subscribeRowsSelectionData();
|
|
14931
14937
|
}
|
|
14932
|
-
getCellValueChangeEvent() {
|
|
14933
|
-
return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(this)));
|
|
14934
|
-
}
|
|
14935
|
-
getRowDataUpdatedEvent() {
|
|
14936
|
-
return this.gridController.gridQuery.waitForGrid(() => this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(this)));
|
|
14937
|
-
}
|
|
14938
14938
|
onActionClick(action) {
|
|
14939
14939
|
if (isFunction(action.onClick)) {
|
|
14940
14940
|
const selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -17305,7 +17305,6 @@ let DatoPageLoaderComponent = class DatoPageLoaderComponent {
|
|
|
17305
17305
|
constructor() {
|
|
17306
17306
|
this.msg = '';
|
|
17307
17307
|
this.salesforce = false;
|
|
17308
|
-
this.size = 'medium';
|
|
17309
17308
|
this.circleIds = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'];
|
|
17310
17309
|
}
|
|
17311
17310
|
};
|
|
@@ -17317,14 +17316,10 @@ __decorate([
|
|
|
17317
17316
|
Input(),
|
|
17318
17317
|
__metadata("design:type", Object)
|
|
17319
17318
|
], DatoPageLoaderComponent.prototype, "salesforce", void 0);
|
|
17320
|
-
__decorate([
|
|
17321
|
-
Input(),
|
|
17322
|
-
__metadata("design:type", String)
|
|
17323
|
-
], DatoPageLoaderComponent.prototype, "size", void 0);
|
|
17324
17319
|
DatoPageLoaderComponent = __decorate([
|
|
17325
17320
|
Component({
|
|
17326
17321
|
selector: 'dato-page-loader',
|
|
17327
|
-
template: "<div class=\"d-flex-column align-center\">\n <ng-container *ngIf=\"salesforce; else datoramaPageLoader\">\n <div class=\"slds-spinner_container\">\n <div role=\"status\" class=\"slds-spinner slds-
|
|
17322
|
+
template: "<div class=\"d-flex-column align-center\">\n <ng-container *ngIf=\"salesforce; else datoramaPageLoader\">\n <div class=\"slds-spinner_container\">\n <div role=\"status\" class=\"slds-spinner slds-spinner_medium slds-spinner_brand\">\n <div class=\"slds-spinner__dot-a\"></div>\n <div class=\"slds-spinner__dot-b\"></div>\n </div>\n </div>\n </ng-container>\n <ng-template #datoramaPageLoader>\n <div class=\"animation-container d-flex align-center d-flex-wrap\">\n <div class=\"circle d-flex align-center\" *ngFor=\"let id of circleIds\" [ngClass]=\"'circle-' + id\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\">\n <circle cx=\"6\" cy=\"6\" r=\"5\" />\n </svg>\n </div>\n </div>\n </ng-template>\n <span class=\"loading-message simple-bold\">{{msg | translate}}</span>\n</div>",
|
|
17328
17323
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
17329
17324
|
})
|
|
17330
17325
|
], DatoPageLoaderComponent);
|
|
@@ -18212,13 +18207,7 @@ DatoGridV2ToolbarMoreMenuComponent = __decorate([
|
|
|
18212
18207
|
let DatoGridStatusCellComponent = class DatoGridStatusCellComponent {
|
|
18213
18208
|
constructor(cdr) {
|
|
18214
18209
|
this.cdr = cdr;
|
|
18215
|
-
this.
|
|
18216
|
-
[GridStatusColumnTypes.SUCCESS]: { icon: 'success-line', iconCssClass: 'green-400-color' },
|
|
18217
|
-
[GridStatusColumnTypes.FAILURE]: { icon: 'failed-line', iconCssClass: 'red-400-color' },
|
|
18218
|
-
[GridStatusColumnTypes.PENDING]: { icon: 'time', iconCssClass: 'yellow-400-color' },
|
|
18219
|
-
[GridStatusColumnTypes.WAITING]: { icon: 'info-line', iconCssClass: 'orange-400-color' },
|
|
18220
|
-
[GridStatusColumnTypes.IN_PROGRESS]: { showSpinner: true }
|
|
18221
|
-
};
|
|
18210
|
+
this.DEFAULT_MIN_WIDTH = 100;
|
|
18222
18211
|
}
|
|
18223
18212
|
agInit(params) {
|
|
18224
18213
|
const { value, valueFormatted, node } = params;
|
|
@@ -18233,14 +18222,15 @@ let DatoGridStatusCellComponent = class DatoGridStatusCellComponent {
|
|
|
18233
18222
|
const mainCustomCellConfig = customCellConfig || {};
|
|
18234
18223
|
const valueCustomCellConfig = valueToCustomCellConfig ? valueToCustomCellConfig[params.value] || {} : {};
|
|
18235
18224
|
const config = Object.assign(Object.assign({}, mainCustomCellConfig), valueCustomCellConfig);
|
|
18236
|
-
const {
|
|
18237
|
-
const defaultConfig = this.defaultConfigByStatus[status] || {};
|
|
18225
|
+
const { color, icon, cssClass, iconCssClass, minWidth, showSpinner, getAdditionalText, getIsVisible } = config;
|
|
18238
18226
|
this.isVisible = !getIsVisible || getIsVisible(params.data);
|
|
18239
|
-
this.
|
|
18240
|
-
this.
|
|
18241
|
-
this.
|
|
18242
|
-
this.
|
|
18243
|
-
this.
|
|
18227
|
+
this.color = color || 'primary';
|
|
18228
|
+
this.backgroundClass = `${this.color}-${this.color === 'accent' ? '100' : '200'}-background-color`;
|
|
18229
|
+
this.icon = icon;
|
|
18230
|
+
this.minWidth = minWidth || this.DEFAULT_MIN_WIDTH;
|
|
18231
|
+
this.cssClass = cssClass || '';
|
|
18232
|
+
this.iconCssClass = iconCssClass || '';
|
|
18233
|
+
this.showSpinner = showSpinner;
|
|
18244
18234
|
this.additionalText = getAdditionalText ? getAdditionalText(params.data) : null;
|
|
18245
18235
|
}
|
|
18246
18236
|
refresh(params) {
|
|
@@ -18255,9 +18245,8 @@ DatoGridStatusCellComponent.ctorParameters = () => [
|
|
|
18255
18245
|
DatoGridStatusCellComponent = __decorate([
|
|
18256
18246
|
Component({
|
|
18257
18247
|
selector: 'dato-grid-status-cell',
|
|
18258
|
-
template: "<div *ngIf=\"!isGroup && isVisible\" class=\"height-100 d-flex items-center\">\n <
|
|
18259
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
18260
|
-
styles: [".line-height-18{line-height:18px}"]
|
|
18248
|
+
template: "<div *ngIf=\"!isGroup && isVisible\" class=\"height-100 d-flex items-center\">\n <div *ngIf=\"status\" class=\"d-flex justify-center items-center px-15 py-5 {{backgroundClass}} {{cssClass}}\" [style.min-width.px]=\"minWidth\">\n <dato-icon *ngIf=\"icon\" class=\"mr-5 {{iconCssClass}}\" [icon]=\"icon\" datoSize=\"sm\"></dato-icon>\n <div class=\"dato-note {{color}}-800-color\" [class.ellipsis]=\"!additionalText\"\n [datoTooltipV2]=\"status\" [showOnlyOnTextOverflow]=\"true\" [tooltipCheckInView]=\"false\" [datoTooltipDisabled]=\"!!additionalText\">\n {{status}}\n </div>\n <div *ngIf=\"additionalText\" class=\"dato-note {{color}}-800-color ml-3 ellipsis\"\n [datoTooltipV2]=\"status + ' ' + additionalText\" [showOnlyOnTextOverflow]=\"true\" [tooltipCheckInView]=\"false\">\n {{additionalText}}\n </div>\n <span *ngIf=\"showSpinner\" class=\"dato-spinner-loader ml-5\"></span>\n </div>\n</div>\n<span *ngIf=\"isGroup\">{{status}}</span>\n",
|
|
18249
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
18261
18250
|
}),
|
|
18262
18251
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
|
18263
18252
|
], DatoGridStatusCellComponent);
|
|
@@ -19013,39 +19002,6 @@ DatoEditableHeaderModule = __decorate([
|
|
|
19013
19002
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
19014
19003
|
*/
|
|
19015
19004
|
|
|
19016
|
-
let RichTextService = class RichTextService {
|
|
19017
|
-
constructor(http, config) {
|
|
19018
|
-
this.http = http;
|
|
19019
|
-
this.config = config;
|
|
19020
|
-
}
|
|
19021
|
-
getLib(appendScriptFunc, appendStyleFunc) {
|
|
19022
|
-
if (!this.richTextScript$) {
|
|
19023
|
-
this.initLib(appendScriptFunc, appendStyleFunc);
|
|
19024
|
-
}
|
|
19025
|
-
return this.richTextScript$;
|
|
19026
|
-
}
|
|
19027
|
-
initLib(appendScriptFunc, appendStyleFunc) {
|
|
19028
|
-
this.richTextScript$ = combineLatest([
|
|
19029
|
-
this.http
|
|
19030
|
-
.get(`${this.config.paths.richText}/index.js`, { responseType: 'text' })
|
|
19031
|
-
.pipe(tap(lib => appendScriptFunc(lib, 'rich-text-editor'))),
|
|
19032
|
-
this.http
|
|
19033
|
-
.get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
|
|
19034
|
-
.pipe(tap(style => appendStyleFunc(style, 'tinymce-autocomplete')))
|
|
19035
|
-
]).pipe(shareReplay(1));
|
|
19036
|
-
}
|
|
19037
|
-
};
|
|
19038
|
-
RichTextService.ctorParameters = () => [
|
|
19039
|
-
{ type: HttpClient },
|
|
19040
|
-
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
19041
|
-
];
|
|
19042
|
-
RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
|
|
19043
|
-
RichTextService = __decorate([
|
|
19044
|
-
Injectable({ providedIn: 'root' }),
|
|
19045
|
-
__param(1, Inject(DATO_CORE_CONFIG)),
|
|
19046
|
-
__metadata("design:paramtypes", [HttpClient, Object])
|
|
19047
|
-
], RichTextService);
|
|
19048
|
-
|
|
19049
19005
|
/**
|
|
19050
19006
|
* @license
|
|
19051
19007
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -19059,20 +19015,20 @@ const getTinymce = () => {
|
|
|
19059
19015
|
};
|
|
19060
19016
|
const ɵ0$3 = getTinymce;
|
|
19061
19017
|
let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirective extends BaseCustomControl {
|
|
19062
|
-
constructor(ngZone,
|
|
19018
|
+
constructor(ngZone, http, host, config) {
|
|
19063
19019
|
super();
|
|
19064
19020
|
this.ngZone = ngZone;
|
|
19065
|
-
this.
|
|
19066
|
-
this.config = config;
|
|
19021
|
+
this.http = http;
|
|
19067
19022
|
this.host = host;
|
|
19023
|
+
this.config = config;
|
|
19068
19024
|
this.autocompleteOptions = {};
|
|
19069
19025
|
this.forcePlainTextPasting = false;
|
|
19070
19026
|
this.format = 'html';
|
|
19071
19027
|
this.isOneLine = false;
|
|
19072
19028
|
this.initialValue = '';
|
|
19073
|
-
this.defaultPlugins = 'link fullscreen image lists table autocomplete';
|
|
19029
|
+
this.defaultPlugins = 'link fullscreen textcolor colorpicker image lists table textpattern autocomplete';
|
|
19074
19030
|
this.defaultToolbar = [
|
|
19075
|
-
'
|
|
19031
|
+
'fontselect fontsizeselect forecolor backcolor bold italic underline link',
|
|
19076
19032
|
'alignleft aligncenter alignright alignjustify outdent indent | table numlist bullist | image fullscreen'
|
|
19077
19033
|
];
|
|
19078
19034
|
}
|
|
@@ -19091,11 +19047,28 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19091
19047
|
base: this.config.paths.richText,
|
|
19092
19048
|
query: ''
|
|
19093
19049
|
};
|
|
19094
|
-
|
|
19095
|
-
|
|
19096
|
-
|
|
19097
|
-
|
|
19050
|
+
/**
|
|
19051
|
+
* We support only one instance in load time
|
|
19052
|
+
*/
|
|
19053
|
+
if (window.tinymce) {
|
|
19098
19054
|
this.init.call(this);
|
|
19055
|
+
}
|
|
19056
|
+
else {
|
|
19057
|
+
this.loadLib().subscribe(lib => {
|
|
19058
|
+
appendScript(lib, 'rich-text-editor');
|
|
19059
|
+
this.init.call(this);
|
|
19060
|
+
this.loadAutoCompleteStyle();
|
|
19061
|
+
});
|
|
19062
|
+
}
|
|
19063
|
+
}
|
|
19064
|
+
loadLib() {
|
|
19065
|
+
return this.http.get(`${this.config.paths.richText}/index.js`, { responseType: 'text' });
|
|
19066
|
+
}
|
|
19067
|
+
loadAutoCompleteStyle() {
|
|
19068
|
+
this.http
|
|
19069
|
+
.get(`${this.config.paths.richText}/plugins/autocomplete/plugin.css`, { responseType: 'text' })
|
|
19070
|
+
.subscribe(style => {
|
|
19071
|
+
appendStyle(style, 'tinymce-autocomplete');
|
|
19099
19072
|
});
|
|
19100
19073
|
}
|
|
19101
19074
|
initEditor(_, editor) {
|
|
@@ -19116,6 +19089,8 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19116
19089
|
target: this.host.nativeElement,
|
|
19117
19090
|
width: this.width || 600,
|
|
19118
19091
|
height: this.height || 300,
|
|
19092
|
+
force_br_newlines: true,
|
|
19093
|
+
force_p_newlines: false,
|
|
19119
19094
|
resize: 'both',
|
|
19120
19095
|
branding: false,
|
|
19121
19096
|
inline: this.inline,
|
|
@@ -19123,12 +19098,10 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19123
19098
|
readonly: this.disabled,
|
|
19124
19099
|
plugins: this.plugins || this.defaultPlugins,
|
|
19125
19100
|
toolbar: isNil(this.toolbar) ? this.defaultToolbar : this.toolbar,
|
|
19126
|
-
|
|
19101
|
+
fontsize_formats: '8px 10px 12px 14px 18px 24px 36px',
|
|
19127
19102
|
min_width: 480,
|
|
19128
19103
|
menubar: false,
|
|
19129
19104
|
autocomplete: this.autocompleteOptions,
|
|
19130
|
-
suffix: '.min',
|
|
19131
|
-
skin: 'tinymce-5',
|
|
19132
19105
|
setup: editor => {
|
|
19133
19106
|
this.editor = editor;
|
|
19134
19107
|
editor.on('init', (e) => {
|
|
@@ -19196,9 +19169,9 @@ let DatoRichTextDirective = DatoRichTextDirective_1 = class DatoRichTextDirectiv
|
|
|
19196
19169
|
};
|
|
19197
19170
|
DatoRichTextDirective.ctorParameters = () => [
|
|
19198
19171
|
{ type: NgZone },
|
|
19199
|
-
{ type:
|
|
19200
|
-
{ type:
|
|
19201
|
-
{ type:
|
|
19172
|
+
{ type: HttpClient },
|
|
19173
|
+
{ type: ElementRef },
|
|
19174
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
19202
19175
|
];
|
|
19203
19176
|
__decorate([
|
|
19204
19177
|
Input(),
|
|
@@ -19264,9 +19237,10 @@ DatoRichTextDirective = DatoRichTextDirective_1 = __decorate([
|
|
|
19264
19237
|
}
|
|
19265
19238
|
]
|
|
19266
19239
|
}),
|
|
19267
|
-
__param(
|
|
19240
|
+
__param(3, Inject(DATO_CORE_CONFIG)),
|
|
19268
19241
|
__metadata("design:paramtypes", [NgZone,
|
|
19269
|
-
|
|
19242
|
+
HttpClient,
|
|
19243
|
+
ElementRef, Object])
|
|
19270
19244
|
], DatoRichTextDirective);
|
|
19271
19245
|
|
|
19272
19246
|
/**
|
|
@@ -21547,9 +21521,7 @@ let DatoBreadcrumbsComponent = class DatoBreadcrumbsComponent {
|
|
|
21547
21521
|
this._breadcrumbs = [...start, ...dots, ...end];
|
|
21548
21522
|
}
|
|
21549
21523
|
initEditableHeader() {
|
|
21550
|
-
this.headerControl.valueChanges
|
|
21551
|
-
.pipe(debounceTime(300), untilDestroyed(this))
|
|
21552
|
-
.subscribe((res) => {
|
|
21524
|
+
this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe((res) => {
|
|
21553
21525
|
this.updateEditableText.emit(res);
|
|
21554
21526
|
this.cdr.detectChanges();
|
|
21555
21527
|
});
|
|
@@ -22814,7 +22786,7 @@ function fixNgLeaks() {
|
|
|
22814
22786
|
};
|
|
22815
22787
|
}
|
|
22816
22788
|
|
|
22817
|
-
window.coreVersion = '22.10.
|
|
22789
|
+
window.coreVersion = '22.10.0';
|
|
22818
22790
|
|
|
22819
22791
|
/**
|
|
22820
22792
|
* @license
|
|
@@ -22828,5 +22800,5 @@ window.coreVersion = '22.10.7-rc.';
|
|
|
22828
22800
|
* Generated bundle index. Do not edit.
|
|
22829
22801
|
*/
|
|
22830
22802
|
|
|
22831
|
-
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,
|
|
22803
|
+
export { APP_TRANSLATE, AceService, BaseCustomControl, COMPARE_RESULT, CUSTOM_RANGE_ID, ColorPalette, ConfirmationType, ContentRef, ContentType, CustomHeaderControllerService, DATE_PICKER_CONFIG, DATE_PICKER_POPOVER_ID, DATO_CORE_LOGGER, DATO_FORM_ERRORS, DATO_GRID_STORAGE_API, DEFAULT_FORMAT, DEFAULT_GRID_SEARCH_DEBOUNCE_TIME, DatePickerConfig, DatePickerMonthComponent, DateType, DatoAccordionComponent, DatoAccordionContentComponent, DatoAccordionGroupComponent, DatoAccordionHeaderComponent, DatoAccordionModule, DatoAceDirective, DatoAceDraggableDirective, DatoAceModule, DatoActionType, DatoAutoCompleteContentDirective, DatoAutoFocusDirective, DatoAutocompleteComponent, DatoAutocompleteDirective, DatoAutocompleteModule, DatoBreadcrumbsComponent, DatoBreadcrumbsModule, DatoButtonComponent, DatoButtonGroupComponent, DatoButtonGroupModule, DatoButtonModule, DatoCamelCasePipe, DatoCarouselComponent, DatoCarouselItemDirective, DatoCarouselItemElement, DatoCarouselModule, DatoCheckboxComponent, DatoCheckboxModule, DatoClipboardDirective, DatoColorDirective, DatoConfirmationDialogComponent, DatoControlErrorComponent, DatoControlErrorContainerDirective, DatoControlErrorsDirective, DatoCoreError, DatoCoreModule, DatoCustomHeaderTemplateComponent, DatoCustomHeaderTemplateDirective, DatoCustomMoreMenuTemplateDirective, DatoDatePickerContainerComponent, DatoDatePickerModule, DatoDatePickerRangeComponent, DatoDatePickerSingleComponent, DatoDialog, DatoDialogCloseDirective, DatoDialogComponent, DatoDialogContentComponent, DatoDialogDismissDirective, DatoDialogFooterComponent, DatoDialogHeaderComponent, DatoDialogModule, DatoDialogRef, DatoDirectivesModule, DatoDisableControlDirective, DatoDraggableDirective, DatoDynamicContentComponent, DatoDynamicContentModule, DatoEditableHeaderComponent, DatoEditableHeaderModule, DatoFileInputComponent, DatoFileInputDefaultComponent, DatoFileInputModule, DatoFilterConditions, DatoFontDirective, DatoFontIconComponent, DatoFontIconModule, DatoFormSubmitDirective, DatoFormValidationModule, DatoGrid, DatoGridAPI, DatoGridAvatarCellComponent, DatoGridColumnDisplayMenuComponent, DatoGridColumnHeaderComponent, DatoGridColumnHeaderMoreMenuComponent, DatoGridColumnTypes, DatoGridComponent, DatoGridControllerComponent, DatoGridDateFilterOptions, DatoGridFilterComponent, DatoGridFilterOptionsMap, DatoGridFilterSections, DatoGridFilterTypes, DatoGridGroupsMenuComponent, DatoGridHeaderComponent, DatoGridHeaderV2Component, DatoGridInitialsCellComponent, DatoGridItemsCellComponent, DatoGridModule, DatoGridMoreMenuActions, DatoGridNumberFilterOptions, DatoGridOnHoverComponent, DatoGridPaginationComponent, DatoGridPaginationV2Component, DatoGridStatusCellComponent, DatoGridStringFilterOptions, DatoGridToolbarComponent, DatoGridToolbarItemDirective, DatoGridToolbarItemElementDirective, DatoGridV2Component, DatoGridV2LoaderComponent, DatoGridV2Module, DatoGridV2NoDataOverlayComponent, DatoGridV2ToolbarButtonComponent, DatoGridV2ToolbarComponent, DatoGroupComponent, DatoHighlightPipe, DatoHotkeys, DatoHotkeysDirective, DatoHotkeysHelpComponent, DatoHotkeysModule, DatoIconButtonComponent, DatoIconButtonModule, DatoIconComponent, DatoIconModule, DatoInfiniteScrollComponent, DatoInfiniteScrollModule, DatoInputComponent, DatoInputModule, DatoInputNumberComponent, DatoInputNumberDirective, DatoInputNumberModule, DatoKebabCasePipe, DatoLinkButtonComponent, DatoLinkButtonModule, DatoListComponent, DatoListModule, DatoListNoDataComponent, DatoListNoResultComponent, DatoListV2Component, DatoListV2Module, DatoLoaderComponent, DatoLoadersModule, DatoMenuComponent, DatoMenuContentDirective, DatoMenuItemDirective, DatoMenuModule, DatoMenuTriggerForDirective, DatoMultiOptionComponent, DatoMultiOptionV2Component, DatoOperatorTogglerComponent, DatoOperatorTogglerModule, DatoOptionComponent, DatoOptionV2Component, DatoOptionsModule, DatoOriginDirective, DatoOverlay, DatoPageLoaderComponent, DatoPanel, DatoPanelComponent, DatoPanelContentComponent, DatoPanelFooterComponent, DatoPanelHeaderComponent, DatoPanelInternalConfig, DatoPanelModule, DatoPanelRef, DatoPillsComponent, DatoPillsModule, DatoPipesModule, DatoPopover, DatoPopoverComponent, DatoPopoverModule, DatoProgressBarComponent, DatoProgressBarModule, DatoRadioComponent, DatoRadioModule, DatoRichTextDirective, DatoRichTextModule, DatoSearchResultsGroupSortPipe, DatoSearchResultsSortPipe, DatoSearchableContainerComponent, DatoSearchableDirective, DatoSearchableHighlightDirective, DatoSearchableModule, DatoSelectActiveDirective, DatoSelectComponent, DatoSelectEmptyComponent, DatoSelectModule, DatoSliderComponent, DatoSliderModule, DatoSnackbar, DatoSnackbarComponent, DatoSnackbarModule, DatoSortableComponent, DatoSortableHandleDirective, DatoSortableModule, DatoStaticImageSrcDirective, DatoStaticImagesSrcModule, DatoSubscribeContext, DatoSubscribeDirective, DatoTab, DatoTabContent, DatoTabTitle, DatoTabsModule, DatoTabset, DatoTemplatePortal, DatoTextModule, DatoThemesModule, DatoToast, DatoToastComponent, DatoToastModule, DatoTogglerComponent, DatoTogglerModule, DatoTooltipDirective, DatoTooltipV2Directive, DatoTrackByPropPipe, DatoTranslateService, DatoTreePipe, DatoTriggerMulti, DatoTriggerSingle, DialogConfig, DialogResultStatus, Dimensions, EventModifiersPlugin, GridActionType, GridMinWidths, GridRowSelectionType, GridToolbarService, ISO_FORMAT, IconRegistry, KeyCodes, KeyboardEventKeys, ListValueTypes, MockService, OperatorTypes, POPPER_BOUNDARY, PaletteDirective, PanelResultCloseTrigger, PillType, PopoverCloseDirective, PopoverContentDirective, PopoverRef, PopoverTrigger, ROOT_NODE_ID, RelativeDateType, RenderMethod, RowSelectionType, RowSelectionTypeV2, SELECT_MAX_HEIGHT, SUPPORTED_LOCALES, SelectType, SnackbarRef, SnackbarType, Store, SvgRegistry, ToolbarActionType, ToolbarArea, ToolbarConfirmation, ToolbarDeleteConfirmation, ToolbarHandler, TranslatePipe, Types, _valueChanges, a, addClass, addJSObjectCompletor, allowedFileTypes, alphabeticalGroupSort, alphabeticalSort, appendChild, appendScript, appendStyle, appendToBody, assertString, camelCase, capitalize, cloneDeep, closest, coerceArray, coerceElement, compareWith, compose, convertFromTreeData, convertToTreeData, copyToClipboard, createComponent, createElement, createGUID, createHTMLCompletor, curry, dateCompare, daysOfTheMonth, debounce, declarations$2 as declarations, deepEqual, deepmerge, defaultActions$1 as defaultActions, defaultConfig, defaultEditableColumnRenderer, defaultGridOptions, defaultGridTreeLabel, defaultOptionsDisplayLimit, defaultTreeOptions, dialogSizePreset, diff, difference, differenceBy, dimensionsChanges, directives, drop, editableCellRendererWithSearchHighlight, escape, escapeRegExp, filter, filterByControlValue, filterByTerm, filterDialogDismissed, filterDialogSuccess, filterGroupByControlValue, filterGroupByTerm, filterKey, find, findIndex, findKey, fixNgLeaks, forEach, formatKeys, generateMonths, get, getAttr, getCustomRange, getDateISOString, getDefaultConfirmationOptions, getDefaultOptions, getDefaultsToastOptions, getElementCoords, getFunctionName, getGridConfiguration, getGridModel, getInitials, getLocalizedFormat, getMultiTemplate, getOptionTemplate, getPopperDefaults, getUTCDate, getVisibleActions, gridTreeFilePathKey, groupBy, groupSortOrder, has, inView, intersection, invert, isArrayValuesEqual, isArrowUpDown, isBoolean, isEmpty, isEmptyString, isEnter, isEqual, isEscape, isFraction, isFunction, isMacintosh, isNil, isNumber, isObject, isRangeCondition, isRangeCustom, isString, isTestEnv, isValidMediaLink, kebabCase, keyBy, keysSymbols, last, map, mapKeys, mapValues, maxFileSize, merge, minBy, mockInDev, mocks, ngContentResolver, noop, normalizeData, omit, omitBy, optionalDebounce, pallete, parseDateString, partial, polling, prependChild, publicApi$1 as publicApi, query, queryAll, random, rawDiff, reject, relativeDateTypes, removeClass, resolveRange, round, searchHighlightCellRenderer, searchResultsGroupSort, searchResultsSort, setAttr, setAttribute, setDimensions, setEmptyFolderClass, setGridConfiguration, setGridModel, setMaxDimensions, setMinDimensions, setStyle, setStyles, size, sortBy, stubs, supportedLocales, tapLog, tapOnce, throttle, toBoolean, toFormData, toNumber, toResponseBody, toString, toggleClass, toolbarActionToContextAction, tryParsePivotValue, unescape, union, uniq, uniqBy, uploadProgress, validBase64Image, validUrl, validateCondition, validateDate, validateDateCondition, validateFilter, validateNumberCondition, validateRange, validateStringCondition, values, workerMap, zoneStable, ɵ0$2 as ɵ0, ɵ1$2 as ɵ1, ɵ2, DATO_CORE_CONFIG as ɵb, DatoGridHelper as ɵc, Popper as ɵd, GridQuery as ɵe, GridStore as ɵf, GridService as ɵg, DatoDateRangesFilterPipe as ɵh, ListStore as ɵi, DatoListSelectAllComponent as ɵj, DatoGridMultiSelectColumnHeaderComponent as ɵk, DatoGridItemsCountCellComponent as ɵl, DatoGridV2ToolbarMoreMenuComponent as ɵm, DatoGridSearchBarComponent as ɵn };
|
|
22832
22804
|
//# sourceMappingURL=datorama-core.js.map
|