@datorama/core 22.0.5 → 22.0.6-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/datorama-core.umd.js +207 -156
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +24 -24
- 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/accordion/accordion/accordion.component.js +11 -3
- package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +4 -2
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +5 -2
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +3 -2
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +7 -1
- package/esm2015/lib/rich-text/rich-text.directive.js +15 -33
- package/esm2015/lib/rich-text/rich-text.service.js +50 -0
- package/esm2015/lib/select/select.component.js +16 -16
- package/esm2015/lib/sortable/sortable.component.js +7 -2
- package/esm2015/lib/version.js +2 -2
- package/esm5/datorama-core.js +2 -1
- package/esm5/lib/accordion/accordion/accordion.component.js +15 -3
- package/esm5/lib/breadcrumbs/breadcrumbs.component.js +4 -2
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +5 -2
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.service.js +3 -2
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +13 -1
- package/esm5/lib/rich-text/rich-text.directive.js +16 -34
- package/esm5/lib/rich-text/rich-text.service.js +51 -0
- package/esm5/lib/select/select.component.js +17 -16
- package/esm5/lib/sortable/sortable.component.js +7 -2
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +188 -150
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +207 -157
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/accordion/accordion/accordion.component.d.ts +4 -1
- package/lib/grid-v2/grid/grid-v2.types.d.ts +1 -0
- package/lib/grid-v2/grid-settings.d.ts +2 -2
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +2 -0
- package/lib/rich-text/rich-text.directive.d.ts +4 -6
- package/lib/rich-text/rich-text.service.d.ts +10 -0
- package/lib/select/select.component.d.ts +1 -0
- package/lib/sortable/sortable.component.d.ts +3 -1
- package/package.json +2 -2
package/fesm5/datorama-core.js
CHANGED
|
@@ -7410,6 +7410,114 @@ var defaultClientSearchStrategy = function (searchIn, searchValue, labelKey) {
|
|
|
7410
7410
|
return false;
|
|
7411
7411
|
};
|
|
7412
7412
|
|
|
7413
|
+
/**
|
|
7414
|
+
* @license
|
|
7415
|
+
* Copyright Datorama. All Rights Reserved.
|
|
7416
|
+
*
|
|
7417
|
+
* Use of this source code is governed by an Apache License 2.0 license that can be
|
|
7418
|
+
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
7419
|
+
*/
|
|
7420
|
+
var DatoSortableComponent = /** @class */ (function () {
|
|
7421
|
+
function DatoSortableComponent() {
|
|
7422
|
+
this.list = [];
|
|
7423
|
+
this.noop = noop;
|
|
7424
|
+
/**
|
|
7425
|
+
* Sortablejs options
|
|
7426
|
+
*/
|
|
7427
|
+
this.datoOptions = {};
|
|
7428
|
+
/**
|
|
7429
|
+
* Fired once items order has changed
|
|
7430
|
+
*/
|
|
7431
|
+
this.orderUpdated = new EventEmitter();
|
|
7432
|
+
this.defaultOptions = {
|
|
7433
|
+
handle: '.dato-sortable-handler',
|
|
7434
|
+
ghostClass: 'dato-sortable-ghost',
|
|
7435
|
+
chosenClass: 'dato-sortable-chosen',
|
|
7436
|
+
dragClass: 'dato-sortable-drag'
|
|
7437
|
+
};
|
|
7438
|
+
}
|
|
7439
|
+
Object.defineProperty(DatoSortableComponent.prototype, "datoList", {
|
|
7440
|
+
set: function (list) {
|
|
7441
|
+
var isArr = Array.isArray(list);
|
|
7442
|
+
var validInput = isArr || (list instanceof FormControl && Array.isArray(list.value));
|
|
7443
|
+
if (!validInput) {
|
|
7444
|
+
throw new Error("DatoSortable - datoList expected array or form control but got " + typeof list);
|
|
7445
|
+
}
|
|
7446
|
+
if (!isArr) {
|
|
7447
|
+
this.formControl = list;
|
|
7448
|
+
this.list = __spread(this.formControl.value);
|
|
7449
|
+
}
|
|
7450
|
+
else {
|
|
7451
|
+
this.list = list;
|
|
7452
|
+
}
|
|
7453
|
+
},
|
|
7454
|
+
enumerable: true,
|
|
7455
|
+
configurable: true
|
|
7456
|
+
});
|
|
7457
|
+
DatoSortableComponent.prototype.ngOnInit = function () {
|
|
7458
|
+
var _this = this;
|
|
7459
|
+
var _a = this.datoOptions, dynamicGhostHeight = _a.dynamicGhostHeight, hasStaticItems = _a.hasStaticItems, sortableOptions = __rest(_a, ["dynamicGhostHeight", "hasStaticItems"]);
|
|
7460
|
+
var mergedOptions = __assign(__assign(__assign({}, this.defaultOptions), sortableOptions), { onUpdate: function (event) { return (sortableOptions.onUpdate ? sortableOptions.onUpdate(event) : _this.emitUpdate(event)); } });
|
|
7461
|
+
if (dynamicGhostHeight) {
|
|
7462
|
+
mergedOptions.onStart = function (event) { return _this.setGhostHeight(event); };
|
|
7463
|
+
}
|
|
7464
|
+
if (hasStaticItems) {
|
|
7465
|
+
mergedOptions.onMove = function (event) {
|
|
7466
|
+
if (event.related.classList.contains('dato-sortable-static-item')) {
|
|
7467
|
+
return false;
|
|
7468
|
+
}
|
|
7469
|
+
return sortableOptions.onMove ? sortableOptions.onMove(event) : true;
|
|
7470
|
+
};
|
|
7471
|
+
}
|
|
7472
|
+
this.mergedOptions = mergedOptions;
|
|
7473
|
+
};
|
|
7474
|
+
DatoSortableComponent.prototype.emitUpdate = function (event) {
|
|
7475
|
+
if (this.formControl) {
|
|
7476
|
+
this.formControl.setValue(this.list);
|
|
7477
|
+
}
|
|
7478
|
+
this.orderUpdated.emit(event);
|
|
7479
|
+
};
|
|
7480
|
+
DatoSortableComponent.prototype.setGhostHeight = function (event) {
|
|
7481
|
+
var originalEl = event.from.children[event.oldIndex];
|
|
7482
|
+
setStyle(originalEl, 'display', 'block');
|
|
7483
|
+
var height = originalEl.getBoundingClientRect().height;
|
|
7484
|
+
setStyle(originalEl, 'display', 'none');
|
|
7485
|
+
var ghostEl = query('.dato-sortable-ghost');
|
|
7486
|
+
setStyle(ghostEl, 'height', height + "px");
|
|
7487
|
+
};
|
|
7488
|
+
__decorate([
|
|
7489
|
+
ContentChildren(DatoAccordionGroupComponent),
|
|
7490
|
+
__metadata("design:type", QueryList)
|
|
7491
|
+
], DatoSortableComponent.prototype, "accordionGroups", void 0);
|
|
7492
|
+
__decorate([
|
|
7493
|
+
Input(),
|
|
7494
|
+
__metadata("design:type", Object),
|
|
7495
|
+
__metadata("design:paramtypes", [Object])
|
|
7496
|
+
], DatoSortableComponent.prototype, "datoList", null);
|
|
7497
|
+
__decorate([
|
|
7498
|
+
Input(),
|
|
7499
|
+
__metadata("design:type", Object)
|
|
7500
|
+
], DatoSortableComponent.prototype, "datoOptions", void 0);
|
|
7501
|
+
__decorate([
|
|
7502
|
+
Input(),
|
|
7503
|
+
__metadata("design:type", String)
|
|
7504
|
+
], DatoSortableComponent.prototype, "containerClass", void 0);
|
|
7505
|
+
__decorate([
|
|
7506
|
+
Output(),
|
|
7507
|
+
__metadata("design:type", Object)
|
|
7508
|
+
], DatoSortableComponent.prototype, "orderUpdated", void 0);
|
|
7509
|
+
DatoSortableComponent = __decorate([
|
|
7510
|
+
Component({
|
|
7511
|
+
selector: 'dato-sortable',
|
|
7512
|
+
template: "<section [sortablejs]=\"list\" [sortablejsOptions]=\"mergedOptions\" [ngClass]=\"containerClass\"\n (update.stop)=\"noop()\" (add.stop)=\"noop()\" (sort.stop)=\"noop()\" (remove.stop)=\"noop()\"\n (filter.stop)=\"noop()\" (change.stop)=\"noop()\" (drag.stop)=\"noop()\">\n <ng-content></ng-content>\n</section>",
|
|
7513
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7514
|
+
encapsulation: ViewEncapsulation.None,
|
|
7515
|
+
styles: ["dato-sortable{display:inline-block}dato-sortable .dato-sortable-handler{cursor:move;cursor:-webkit-grabbing}.dato-sortable-ghost>*{display:none!important}.dato-sortable-drag{box-shadow:0 2px 14px 0 rgba(0,0,0,.2)}"]
|
|
7516
|
+
})
|
|
7517
|
+
], DatoSortableComponent);
|
|
7518
|
+
return DatoSortableComponent;
|
|
7519
|
+
}());
|
|
7520
|
+
|
|
7413
7521
|
/**
|
|
7414
7522
|
* @license
|
|
7415
7523
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -7455,6 +7563,13 @@ var DatoAccordionComponent = /** @class */ (function () {
|
|
|
7455
7563
|
enumerable: true,
|
|
7456
7564
|
configurable: true
|
|
7457
7565
|
});
|
|
7566
|
+
Object.defineProperty(DatoAccordionComponent.prototype, "groups", {
|
|
7567
|
+
get: function () {
|
|
7568
|
+
return this.sortable && this.sortable.accordionGroups.length > 0 ? this.sortable.accordionGroups : this.childGroups;
|
|
7569
|
+
},
|
|
7570
|
+
enumerable: true,
|
|
7571
|
+
configurable: true
|
|
7572
|
+
});
|
|
7458
7573
|
DatoAccordionComponent.prototype.ngOnChanges = function (changes) {
|
|
7459
7574
|
var _this = this;
|
|
7460
7575
|
if (changes.expandAll && !changes.expandAll.firstChange) {
|
|
@@ -7672,11 +7787,15 @@ var DatoAccordionComponent = /** @class */ (function () {
|
|
|
7672
7787
|
__decorate([
|
|
7673
7788
|
ContentChildren(DatoAccordionGroupComponent),
|
|
7674
7789
|
__metadata("design:type", QueryList)
|
|
7675
|
-
], DatoAccordionComponent.prototype, "
|
|
7790
|
+
], DatoAccordionComponent.prototype, "childGroups", void 0);
|
|
7676
7791
|
__decorate([
|
|
7677
7792
|
ContentChildren(DatoAccordionComponent_1, { descendants: true }),
|
|
7678
7793
|
__metadata("design:type", QueryList)
|
|
7679
7794
|
], DatoAccordionComponent.prototype, "childAccordion", void 0);
|
|
7795
|
+
__decorate([
|
|
7796
|
+
ContentChild(DatoSortableComponent, { static: true }),
|
|
7797
|
+
__metadata("design:type", DatoSortableComponent)
|
|
7798
|
+
], DatoAccordionComponent.prototype, "sortable", void 0);
|
|
7680
7799
|
__decorate([
|
|
7681
7800
|
Input(),
|
|
7682
7801
|
__metadata("design:type", Object)
|
|
@@ -8430,9 +8549,8 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8430
8549
|
DatoSelectComponent.prototype.writeValue = function (activeOptions) {
|
|
8431
8550
|
this._model = activeOptions ? coerceArray$1(activeOptions) : [];
|
|
8432
8551
|
if (this.options) {
|
|
8433
|
-
var overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
|
|
8434
8552
|
this.markAsActive(this._model, { deselectAll: true });
|
|
8435
|
-
|
|
8553
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
8436
8554
|
}
|
|
8437
8555
|
/** For later updates */
|
|
8438
8556
|
this.cdr.markForCheck();
|
|
@@ -8469,7 +8587,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8469
8587
|
*/
|
|
8470
8588
|
if (this.hasValue && this._initialOpen) {
|
|
8471
8589
|
this.markAsActive(this._model);
|
|
8472
|
-
if (this.limitSelectedTo
|
|
8590
|
+
if (this.limitSelectedTo) {
|
|
8473
8591
|
this.updateDisabledState();
|
|
8474
8592
|
}
|
|
8475
8593
|
this._initialOpen = false;
|
|
@@ -8549,8 +8667,8 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8549
8667
|
}
|
|
8550
8668
|
}
|
|
8551
8669
|
this.onChange(this._model);
|
|
8552
|
-
this.datoOverlay.scheduleUpdate();
|
|
8553
8670
|
this.cdr.markForCheck();
|
|
8671
|
+
this.asyncUpdateDropdownPosition();
|
|
8554
8672
|
};
|
|
8555
8673
|
DatoSelectComponent.prototype.reorderOptions = function (newOrder) {
|
|
8556
8674
|
this._model = newOrder;
|
|
@@ -8558,7 +8676,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8558
8676
|
};
|
|
8559
8677
|
DatoSelectComponent.prototype.removeOption = function (option) {
|
|
8560
8678
|
var _this = this;
|
|
8561
|
-
var updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
|
|
8562
8679
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== option[_this.idKey]; });
|
|
8563
8680
|
var optionToRemove = this.options.find(function (datoOption) { return datoOption.option && datoOption.option[_this.idKey] === option[_this.idKey]; });
|
|
8564
8681
|
/**
|
|
@@ -8568,12 +8685,10 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8568
8685
|
if (optionToRemove) {
|
|
8569
8686
|
optionToRemove.active = false;
|
|
8570
8687
|
}
|
|
8571
|
-
|
|
8688
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
8572
8689
|
this.onChange(this._model);
|
|
8573
8690
|
this.cdr.markForCheck();
|
|
8574
|
-
|
|
8575
|
-
this.datoOverlay.scheduleUpdate();
|
|
8576
|
-
}
|
|
8691
|
+
this.asyncUpdateDropdownPosition();
|
|
8577
8692
|
};
|
|
8578
8693
|
DatoSelectComponent.prototype.preventBodyScroll = function (event) {
|
|
8579
8694
|
if (isArrowUpDown(event)) {
|
|
@@ -8828,7 +8943,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8828
8943
|
_this.searchTerm = value;
|
|
8829
8944
|
_this.keyManager.setActiveItem(-1);
|
|
8830
8945
|
_this.cdr.markForCheck();
|
|
8831
|
-
_this.
|
|
8946
|
+
_this.asyncUpdateDropdownPosition();
|
|
8832
8947
|
});
|
|
8833
8948
|
};
|
|
8834
8949
|
/**
|
|
@@ -8918,9 +9033,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8918
9033
|
if (!datoOption) {
|
|
8919
9034
|
return;
|
|
8920
9035
|
}
|
|
8921
|
-
var modelLength = this._model.length;
|
|
8922
|
-
var updateDisabled = this.limitSelectedTo &&
|
|
8923
|
-
(modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
|
|
8924
9036
|
datoOption.active = !datoOption.active;
|
|
8925
9037
|
var rawOption = datoOption.option;
|
|
8926
9038
|
if (datoOption.active) {
|
|
@@ -8929,10 +9041,10 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8929
9041
|
else {
|
|
8930
9042
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== rawOption[_this.idKey]; });
|
|
8931
9043
|
}
|
|
8932
|
-
|
|
9044
|
+
this.limitSelectedTo && this.updateDisabledState();
|
|
8933
9045
|
this.onChange(this._model);
|
|
8934
9046
|
this.cdr.markForCheck();
|
|
8935
|
-
this.
|
|
9047
|
+
this.asyncUpdateDropdownPosition();
|
|
8936
9048
|
};
|
|
8937
9049
|
DatoSelectComponent.prototype.activateInfiniteScroll = function () {
|
|
8938
9050
|
var _this = this;
|
|
@@ -8985,6 +9097,14 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8985
9097
|
finally { if (e_9) throw e_9.error; }
|
|
8986
9098
|
}
|
|
8987
9099
|
};
|
|
9100
|
+
// Make sure the overlay will be update AFTER Change Detection was done
|
|
9101
|
+
// So the items in the input (and its height) is update
|
|
9102
|
+
DatoSelectComponent.prototype.asyncUpdateDropdownPosition = function () {
|
|
9103
|
+
var _this = this;
|
|
9104
|
+
if (this.datoOverlay && this.datoOverlay.attached) {
|
|
9105
|
+
setTimeout(function () { return _this.datoOverlay.scheduleUpdate(); }, 0);
|
|
9106
|
+
}
|
|
9107
|
+
};
|
|
8988
9108
|
DatoSelectComponent.ctorParameters = function () { return [
|
|
8989
9109
|
{ type: ChangeDetectorRef },
|
|
8990
9110
|
{ type: DatoTranslateService },
|
|
@@ -9977,110 +10097,6 @@ var DatoOptionsModule = /** @class */ (function () {
|
|
|
9977
10097
|
return DatoOptionsModule;
|
|
9978
10098
|
}());
|
|
9979
10099
|
|
|
9980
|
-
/**
|
|
9981
|
-
* @license
|
|
9982
|
-
* Copyright Datorama. All Rights Reserved.
|
|
9983
|
-
*
|
|
9984
|
-
* Use of this source code is governed by an Apache License 2.0 license that can be
|
|
9985
|
-
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
9986
|
-
*/
|
|
9987
|
-
var DatoSortableComponent = /** @class */ (function () {
|
|
9988
|
-
function DatoSortableComponent() {
|
|
9989
|
-
this.list = [];
|
|
9990
|
-
this.noop = noop;
|
|
9991
|
-
/**
|
|
9992
|
-
* Sortablejs options
|
|
9993
|
-
*/
|
|
9994
|
-
this.datoOptions = {};
|
|
9995
|
-
/**
|
|
9996
|
-
* Fired once items order has changed
|
|
9997
|
-
*/
|
|
9998
|
-
this.orderUpdated = new EventEmitter();
|
|
9999
|
-
this.defaultOptions = {
|
|
10000
|
-
handle: '.dato-sortable-handler',
|
|
10001
|
-
ghostClass: 'dato-sortable-ghost',
|
|
10002
|
-
chosenClass: 'dato-sortable-chosen',
|
|
10003
|
-
dragClass: 'dato-sortable-drag'
|
|
10004
|
-
};
|
|
10005
|
-
}
|
|
10006
|
-
Object.defineProperty(DatoSortableComponent.prototype, "datoList", {
|
|
10007
|
-
set: function (list) {
|
|
10008
|
-
var isArr = Array.isArray(list);
|
|
10009
|
-
var validInput = isArr || (list instanceof FormControl && Array.isArray(list.value));
|
|
10010
|
-
if (!validInput) {
|
|
10011
|
-
throw new Error("DatoSortable - datoList expected array or form control but got " + typeof list);
|
|
10012
|
-
}
|
|
10013
|
-
if (!isArr) {
|
|
10014
|
-
this.formControl = list;
|
|
10015
|
-
this.list = __spread(this.formControl.value);
|
|
10016
|
-
}
|
|
10017
|
-
else {
|
|
10018
|
-
this.list = list;
|
|
10019
|
-
}
|
|
10020
|
-
},
|
|
10021
|
-
enumerable: true,
|
|
10022
|
-
configurable: true
|
|
10023
|
-
});
|
|
10024
|
-
DatoSortableComponent.prototype.ngOnInit = function () {
|
|
10025
|
-
var _this = this;
|
|
10026
|
-
var _a = this.datoOptions, dynamicGhostHeight = _a.dynamicGhostHeight, hasStaticItems = _a.hasStaticItems, sortableOptions = __rest(_a, ["dynamicGhostHeight", "hasStaticItems"]);
|
|
10027
|
-
var mergedOptions = __assign(__assign(__assign({}, this.defaultOptions), sortableOptions), { onUpdate: function (event) { return (sortableOptions.onUpdate ? sortableOptions.onUpdate(event) : _this.emitUpdate(event)); } });
|
|
10028
|
-
if (dynamicGhostHeight) {
|
|
10029
|
-
mergedOptions.onStart = function (event) { return _this.setGhostHeight(event); };
|
|
10030
|
-
}
|
|
10031
|
-
if (hasStaticItems) {
|
|
10032
|
-
mergedOptions.onMove = function (event) {
|
|
10033
|
-
if (event.related.classList.contains('dato-sortable-static-item')) {
|
|
10034
|
-
return false;
|
|
10035
|
-
}
|
|
10036
|
-
return sortableOptions.onMove ? sortableOptions.onMove(event) : true;
|
|
10037
|
-
};
|
|
10038
|
-
}
|
|
10039
|
-
this.mergedOptions = mergedOptions;
|
|
10040
|
-
};
|
|
10041
|
-
DatoSortableComponent.prototype.emitUpdate = function (event) {
|
|
10042
|
-
if (this.formControl) {
|
|
10043
|
-
this.formControl.setValue(this.list);
|
|
10044
|
-
}
|
|
10045
|
-
this.orderUpdated.emit(event);
|
|
10046
|
-
};
|
|
10047
|
-
DatoSortableComponent.prototype.setGhostHeight = function (event) {
|
|
10048
|
-
var originalEl = event.from.children[event.oldIndex];
|
|
10049
|
-
setStyle(originalEl, 'display', 'block');
|
|
10050
|
-
var height = originalEl.getBoundingClientRect().height;
|
|
10051
|
-
setStyle(originalEl, 'display', 'none');
|
|
10052
|
-
var ghostEl = query('.dato-sortable-ghost');
|
|
10053
|
-
setStyle(ghostEl, 'height', height + "px");
|
|
10054
|
-
};
|
|
10055
|
-
__decorate([
|
|
10056
|
-
Input(),
|
|
10057
|
-
__metadata("design:type", Object),
|
|
10058
|
-
__metadata("design:paramtypes", [Object])
|
|
10059
|
-
], DatoSortableComponent.prototype, "datoList", null);
|
|
10060
|
-
__decorate([
|
|
10061
|
-
Input(),
|
|
10062
|
-
__metadata("design:type", Object)
|
|
10063
|
-
], DatoSortableComponent.prototype, "datoOptions", void 0);
|
|
10064
|
-
__decorate([
|
|
10065
|
-
Input(),
|
|
10066
|
-
__metadata("design:type", String)
|
|
10067
|
-
], DatoSortableComponent.prototype, "containerClass", void 0);
|
|
10068
|
-
__decorate([
|
|
10069
|
-
Output(),
|
|
10070
|
-
__metadata("design:type", Object)
|
|
10071
|
-
], DatoSortableComponent.prototype, "orderUpdated", void 0);
|
|
10072
|
-
DatoSortableComponent = __decorate([
|
|
10073
|
-
Component({
|
|
10074
|
-
selector: 'dato-sortable',
|
|
10075
|
-
template: "<section [sortablejs]=\"list\" [sortablejsOptions]=\"mergedOptions\" [ngClass]=\"containerClass\"\n (update.stop)=\"noop()\" (add.stop)=\"noop()\" (sort.stop)=\"noop()\" (remove.stop)=\"noop()\"\n (filter.stop)=\"noop()\" (change.stop)=\"noop()\" (drag.stop)=\"noop()\">\n <ng-content></ng-content>\n</section>",
|
|
10076
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10077
|
-
encapsulation: ViewEncapsulation.None,
|
|
10078
|
-
styles: ["dato-sortable{display:inline-block}dato-sortable .dato-sortable-handler{cursor:move;cursor:-webkit-grabbing}.dato-sortable-ghost>*{display:none!important}.dato-sortable-drag{box-shadow:0 2px 14px 0 rgba(0,0,0,.2)}"]
|
|
10079
|
-
})
|
|
10080
|
-
], DatoSortableComponent);
|
|
10081
|
-
return DatoSortableComponent;
|
|
10082
|
-
}());
|
|
10083
|
-
|
|
10084
10100
|
/**
|
|
10085
10101
|
* @license
|
|
10086
10102
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -11820,7 +11836,7 @@ function toolbarActionToContextAction(params) {
|
|
|
11820
11836
|
return contextActions;
|
|
11821
11837
|
}
|
|
11822
11838
|
|
|
11823
|
-
var DATO_GRID_STORAGE_API = new InjectionToken('
|
|
11839
|
+
var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_AP');
|
|
11824
11840
|
|
|
11825
11841
|
var defaultEditableColumnRenderer = function (params) {
|
|
11826
11842
|
return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
|
|
@@ -14279,7 +14295,8 @@ var GridService = /** @class */ (function () {
|
|
|
14279
14295
|
this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
|
|
14280
14296
|
};
|
|
14281
14297
|
GridService.prototype.saveSettingsToServer = function (settings) {
|
|
14282
|
-
this.
|
|
14298
|
+
var isGlobal = this.gridQuery.getGridOptions().isGlobalSettings;
|
|
14299
|
+
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
14283
14300
|
};
|
|
14284
14301
|
/**
|
|
14285
14302
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -15284,7 +15301,10 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15284
15301
|
.pipe(switchMap(function () {
|
|
15285
15302
|
_this.gridOptions = _this.normalizeOptions();
|
|
15286
15303
|
agGrid.gridOptions = _this.gridOptions;
|
|
15287
|
-
var
|
|
15304
|
+
var isGlobal = _this.gridOptions.isGlobalSettings;
|
|
15305
|
+
var settingsLoader = _this.gridOptions.saveSettings === false
|
|
15306
|
+
? of(null)
|
|
15307
|
+
: _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
|
|
15288
15308
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
15289
15309
|
}), untilDestroyed(this))
|
|
15290
15310
|
.subscribe(function (_a) {
|
|
@@ -16564,6 +16584,18 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
|
|
|
16564
16584
|
this.registerGroupListeners();
|
|
16565
16585
|
this.subscribeRowsSelectionData();
|
|
16566
16586
|
};
|
|
16587
|
+
DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
|
|
16588
|
+
var _this = this;
|
|
16589
|
+
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16590
|
+
return _this.gridQuery.gridRef.cellValueChanged.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16591
|
+
});
|
|
16592
|
+
};
|
|
16593
|
+
DatoGridV2ToolbarComponent.prototype.getRowDataUpdatedEvent = function () {
|
|
16594
|
+
var _this = this;
|
|
16595
|
+
return this.gridController.gridQuery.waitForGrid(function () {
|
|
16596
|
+
return _this.gridQuery.gridRef.rowDataUpdated.pipe(debounceTime(100), untilDestroyed(_this));
|
|
16597
|
+
});
|
|
16598
|
+
};
|
|
16567
16599
|
DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
|
|
16568
16600
|
if (isFunction(action.onClick)) {
|
|
16569
16601
|
var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -21039,6 +21071,40 @@ var DatoEditableHeaderModule = /** @class */ (function () {
|
|
|
21039
21071
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
21040
21072
|
*/
|
|
21041
21073
|
|
|
21074
|
+
var RichTextService = /** @class */ (function () {
|
|
21075
|
+
function RichTextService(http, config) {
|
|
21076
|
+
this.http = http;
|
|
21077
|
+
this.config = config;
|
|
21078
|
+
}
|
|
21079
|
+
RichTextService.prototype.getLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21080
|
+
if (!this.richTextScript$) {
|
|
21081
|
+
this.initLib(appendScriptFunc, appendStyleFunc);
|
|
21082
|
+
}
|
|
21083
|
+
return this.richTextScript$;
|
|
21084
|
+
};
|
|
21085
|
+
RichTextService.prototype.initLib = function (appendScriptFunc, appendStyleFunc) {
|
|
21086
|
+
this.richTextScript$ = combineLatest([
|
|
21087
|
+
this.http
|
|
21088
|
+
.get(this.config.paths.richText + "/index.js", { responseType: 'text' })
|
|
21089
|
+
.pipe(tap(function (lib) { return appendScriptFunc(lib, 'rich-text-editor'); })),
|
|
21090
|
+
this.http
|
|
21091
|
+
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21092
|
+
.pipe(tap(function (style) { return appendStyleFunc(style, 'tinymce-autocomplete'); }))
|
|
21093
|
+
]).pipe(shareReplay(1));
|
|
21094
|
+
};
|
|
21095
|
+
RichTextService.ctorParameters = function () { return [
|
|
21096
|
+
{ type: HttpClient },
|
|
21097
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21098
|
+
]; };
|
|
21099
|
+
RichTextService.ɵprov = ɵɵdefineInjectable({ factory: function RichTextService_Factory() { return new RichTextService(ɵɵinject(HttpClient), ɵɵinject(DATO_CORE_CONFIG)); }, token: RichTextService, providedIn: "root" });
|
|
21100
|
+
RichTextService = __decorate([
|
|
21101
|
+
Injectable({ providedIn: 'root' }),
|
|
21102
|
+
__param(1, Inject(DATO_CORE_CONFIG)),
|
|
21103
|
+
__metadata("design:paramtypes", [HttpClient, Object])
|
|
21104
|
+
], RichTextService);
|
|
21105
|
+
return RichTextService;
|
|
21106
|
+
}());
|
|
21107
|
+
|
|
21042
21108
|
/**
|
|
21043
21109
|
* @license
|
|
21044
21110
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -21052,12 +21118,12 @@ var getTinymce = function () {
|
|
|
21052
21118
|
var ɵ0$3 = getTinymce;
|
|
21053
21119
|
var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
21054
21120
|
__extends(DatoRichTextDirective, _super);
|
|
21055
|
-
function DatoRichTextDirective(ngZone,
|
|
21121
|
+
function DatoRichTextDirective(ngZone, richTextService, config, host) {
|
|
21056
21122
|
var _this = _super.call(this) || this;
|
|
21057
21123
|
_this.ngZone = ngZone;
|
|
21058
|
-
_this.
|
|
21059
|
-
_this.host = host;
|
|
21124
|
+
_this.richTextService = richTextService;
|
|
21060
21125
|
_this.config = config;
|
|
21126
|
+
_this.host = host;
|
|
21061
21127
|
_this.autocompleteOptions = {};
|
|
21062
21128
|
_this.forcePlainTextPasting = false;
|
|
21063
21129
|
_this.format = 'html';
|
|
@@ -21091,28 +21157,11 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21091
21157
|
base: this.config.paths.richText,
|
|
21092
21158
|
query: ''
|
|
21093
21159
|
};
|
|
21094
|
-
|
|
21095
|
-
|
|
21096
|
-
|
|
21097
|
-
|
|
21098
|
-
|
|
21099
|
-
}
|
|
21100
|
-
else {
|
|
21101
|
-
this.loadLib().subscribe(function (lib) {
|
|
21102
|
-
appendScript(lib, 'rich-text-editor');
|
|
21103
|
-
_this.init.call(_this);
|
|
21104
|
-
_this.loadAutoCompleteStyle();
|
|
21105
|
-
});
|
|
21106
|
-
}
|
|
21107
|
-
};
|
|
21108
|
-
DatoRichTextDirective.prototype.loadLib = function () {
|
|
21109
|
-
return this.http.get(this.config.paths.richText + "/index.js", { responseType: 'text' });
|
|
21110
|
-
};
|
|
21111
|
-
DatoRichTextDirective.prototype.loadAutoCompleteStyle = function () {
|
|
21112
|
-
this.http
|
|
21113
|
-
.get(this.config.paths.richText + "/plugins/autocomplete/plugin.css", { responseType: 'text' })
|
|
21114
|
-
.subscribe(function (style) {
|
|
21115
|
-
appendStyle(style, 'tinymce-autocomplete');
|
|
21160
|
+
this.richTextService
|
|
21161
|
+
.getLib(appendScript, appendStyle)
|
|
21162
|
+
.pipe(untilDestroyed(this))
|
|
21163
|
+
.subscribe(function () {
|
|
21164
|
+
_this.init.call(_this);
|
|
21116
21165
|
});
|
|
21117
21166
|
};
|
|
21118
21167
|
DatoRichTextDirective.prototype.initEditor = function (_, editor) {
|
|
@@ -21205,9 +21254,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21205
21254
|
var DatoRichTextDirective_1;
|
|
21206
21255
|
DatoRichTextDirective.ctorParameters = function () { return [
|
|
21207
21256
|
{ type: NgZone },
|
|
21208
|
-
{ type:
|
|
21209
|
-
{ type:
|
|
21210
|
-
{ type:
|
|
21257
|
+
{ type: RichTextService },
|
|
21258
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] },
|
|
21259
|
+
{ type: ElementRef }
|
|
21211
21260
|
]; };
|
|
21212
21261
|
__decorate([
|
|
21213
21262
|
Input(),
|
|
@@ -21273,10 +21322,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21273
21322
|
}
|
|
21274
21323
|
]
|
|
21275
21324
|
}),
|
|
21276
|
-
__param(
|
|
21325
|
+
__param(2, Inject(DATO_CORE_CONFIG)),
|
|
21277
21326
|
__metadata("design:paramtypes", [NgZone,
|
|
21278
|
-
|
|
21279
|
-
ElementRef, Object])
|
|
21327
|
+
RichTextService, Object, ElementRef])
|
|
21280
21328
|
], DatoRichTextDirective);
|
|
21281
21329
|
return DatoRichTextDirective;
|
|
21282
21330
|
}(BaseCustomControl));
|
|
@@ -23799,7 +23847,9 @@ var DatoBreadcrumbsComponent = /** @class */ (function () {
|
|
|
23799
23847
|
};
|
|
23800
23848
|
DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
|
|
23801
23849
|
var _this = this;
|
|
23802
|
-
this.headerControl.valueChanges
|
|
23850
|
+
this.headerControl.valueChanges
|
|
23851
|
+
.pipe(debounceTime(300), untilDestroyed(this))
|
|
23852
|
+
.subscribe(function (res) {
|
|
23803
23853
|
_this.updateEditableText.emit(res);
|
|
23804
23854
|
_this.cdr.detectChanges();
|
|
23805
23855
|
});
|
|
@@ -25162,7 +25212,7 @@ function fixNgLeaks() {
|
|
|
25162
25212
|
};
|
|
25163
25213
|
}
|
|
25164
25214
|
|
|
25165
|
-
window.coreVersion = '22.
|
|
25215
|
+
window.coreVersion = '22.1.5-rc.';
|
|
25166
25216
|
|
|
25167
25217
|
/**
|
|
25168
25218
|
* @license
|
|
@@ -25176,5 +25226,5 @@ window.coreVersion = '22.0.5';
|
|
|
25176
25226
|
* Generated bundle index. Do not edit.
|
|
25177
25227
|
*/
|
|
25178
25228
|
|
|
25179
|
-
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 };
|
|
25229
|
+
export { APP_TRANSLATE, AceService, BaseCustomControl, COMPARE_RESULT, CUSTOM_RANGE_ID, ColorPalette, ConfirmationType, ContentRef, ContentType, CustomHeaderControllerService, DATE_PICKER_CONFIG, DATE_PICKER_POPOVER_ID, DATO_CORE_LOGGER, DATO_FORM_ERRORS, DATO_GRID_STORAGE_API, DEFAULT_FORMAT, DEFAULT_GRID_SEARCH_DEBOUNCE_TIME, DatePickerConfig, DatePickerMonthComponent, DateType, DatoAccordionComponent, DatoAccordionContentComponent, DatoAccordionGroupComponent, DatoAccordionHeaderComponent, DatoAccordionModule, DatoAceDirective, DatoAceDraggableDirective, DatoAceModule, DatoActionType, DatoAutoCompleteContentDirective, DatoAutoFocusDirective, DatoAutocompleteComponent, DatoAutocompleteDirective, DatoAutocompleteModule, DatoBreadcrumbsComponent, DatoBreadcrumbsModule, DatoButtonComponent, DatoButtonGroupComponent, DatoButtonGroupModule, DatoButtonModule, DatoCamelCasePipe, DatoCarouselComponent, DatoCarouselItemDirective, DatoCarouselItemElement, DatoCarouselModule, DatoCheckboxComponent, DatoCheckboxModule, DatoClipboardDirective, DatoColorDirective, DatoConfirmationDialogComponent, DatoControlErrorComponent, DatoControlErrorContainerDirective, DatoControlErrorsDirective, DatoCoreError, DatoCoreModule, DatoCustomHeaderTemplateComponent, DatoCustomHeaderTemplateDirective, DatoCustomMoreMenuTemplateDirective, DatoDatePickerContainerComponent, DatoDatePickerModule, DatoDatePickerRangeComponent, DatoDatePickerSingleComponent, DatoDialog, DatoDialogCloseDirective, DatoDialogComponent, DatoDialogContentComponent, DatoDialogDismissDirective, DatoDialogFooterComponent, DatoDialogHeaderComponent, DatoDialogModule, DatoDialogRef, DatoDirectivesModule, DatoDisableControlDirective, DatoDraggableDirective, DatoDynamicContentComponent, DatoDynamicContentModule, DatoEditableHeaderComponent, DatoEditableHeaderModule, DatoFileInputComponent, DatoFileInputDefaultComponent, DatoFileInputModule, DatoFilterConditions, DatoFontDirective, DatoFontIconComponent, DatoFontIconModule, DatoFormSubmitDirective, DatoFormValidationModule, DatoGrid, DatoGridAPI, DatoGridAvatarCellComponent, DatoGridColumnDisplayMenuComponent, DatoGridColumnHeaderComponent, DatoGridColumnHeaderMoreMenuComponent, DatoGridColumnTypes, DatoGridComponent, DatoGridControllerComponent, DatoGridDateFilterOptions, DatoGridFilterComponent, DatoGridFilterOptionsMap, DatoGridFilterSections, DatoGridFilterTypes, DatoGridGroupsMenuComponent, DatoGridHeaderComponent, DatoGridHeaderV2Component, DatoGridInitialsCellComponent, DatoGridItemsCellComponent, DatoGridModule, DatoGridMoreMenuActions, DatoGridNumberFilterOptions, DatoGridOnHoverComponent, DatoGridPaginationComponent, DatoGridPaginationV2Component, DatoGridStatusCellComponent, DatoGridStringFilterOptions, DatoGridToolbarComponent, DatoGridToolbarItemDirective, DatoGridToolbarItemElementDirective, DatoGridV2Component, DatoGridV2LoaderComponent, DatoGridV2Module, DatoGridV2NoDataOverlayComponent, DatoGridV2ToolbarButtonComponent, DatoGridV2ToolbarComponent, DatoGroupComponent, DatoHighlightPipe, DatoHotkeys, DatoHotkeysDirective, DatoHotkeysHelpComponent, DatoHotkeysModule, DatoIconButtonComponent, DatoIconButtonModule, DatoIconComponent, DatoIconModule, DatoInfiniteScrollComponent, DatoInfiniteScrollModule, DatoInputComponent, DatoInputModule, DatoInputNumberComponent, DatoInputNumberDirective, DatoInputNumberModule, DatoKebabCasePipe, DatoLinkButtonComponent, DatoLinkButtonModule, DatoListComponent, DatoListModule, DatoListNoDataComponent, DatoListNoResultComponent, DatoListV2Component, DatoListV2Module, DatoLoaderComponent, DatoLoadersModule, DatoMenuComponent, DatoMenuContentDirective, DatoMenuItemDirective, DatoMenuModule, DatoMenuTriggerForDirective, DatoMultiOptionComponent, DatoMultiOptionV2Component, DatoOperatorTogglerComponent, DatoOperatorTogglerModule, DatoOptionComponent, DatoOptionV2Component, DatoOptionsModule, DatoOriginDirective, DatoOverlay, DatoPageLoaderComponent, DatoPanel, DatoPanelComponent, DatoPanelContentComponent, DatoPanelFooterComponent, DatoPanelHeaderComponent, DatoPanelInternalConfig, DatoPanelModule, DatoPanelRef, DatoPillsComponent, DatoPillsModule, DatoPipesModule, DatoPopover, DatoPopoverComponent, DatoPopoverModule, DatoProgressBarComponent, DatoProgressBarModule, DatoRadioComponent, DatoRadioModule, DatoRichTextDirective, DatoRichTextModule, DatoSearchResultsGroupSortPipe, DatoSearchResultsSortPipe, DatoSearchableContainerComponent, DatoSearchableDirective, DatoSearchableHighlightDirective, DatoSearchableModule, DatoSelectActiveDirective, DatoSelectComponent, DatoSelectEmptyComponent, DatoSelectModule, DatoSliderComponent, DatoSliderModule, DatoSnackbar, DatoSnackbarComponent, DatoSnackbarModule, DatoSortableComponent, DatoSortableHandleDirective, DatoSortableModule, DatoStaticImageSrcDirective, DatoStaticImagesSrcModule, DatoSubscribeContext, DatoSubscribeDirective, DatoTab, DatoTabContent, DatoTabTitle, DatoTabsModule, DatoTabset, DatoTemplatePortal, DatoTextModule, DatoThemesModule, DatoToast, DatoToastComponent, DatoToastModule, DatoTogglerComponent, DatoTogglerModule, DatoTooltipDirective, DatoTooltipV2Directive, DatoTrackByPropPipe, DatoTranslateService, DatoTreePipe, DatoTriggerMulti, DatoTriggerSingle, DialogConfig, DialogResultStatus, Dimensions, EventModifiersPlugin, GridActionType, GridMinWidths, GridRowSelectionType, GridToolbarService, ISO_FORMAT, IconRegistry, KeyCodes, KeyboardEventKeys, ListValueTypes, MockService, OperatorTypes, POPPER_BOUNDARY, PaletteDirective, PanelResultCloseTrigger, PillType, PopoverCloseDirective, PopoverContentDirective, PopoverRef, PopoverTrigger, ROOT_NODE_ID, RelativeDateType, RenderMethod, RowSelectionType, RowSelectionTypeV2, SELECT_MAX_HEIGHT, SUPPORTED_LOCALES, SelectType, SnackbarRef, SnackbarType, Store, SvgRegistry, ToolbarActionType, ToolbarArea, ToolbarConfirmation, ToolbarDeleteConfirmation, ToolbarHandler, TranslatePipe, Types, _valueChanges, a, addClass, addJSObjectCompletor, allowedFileTypes, alphabeticalGroupSort, alphabeticalSort, appendChild, appendScript, appendStyle, appendToBody, assertString, camelCase, capitalize, cloneDeep, closest, coerceArray, coerceElement, compareWith, compose, convertFromTreeData, convertToTreeData, copyToClipboard, createComponent, createElement, createGUID, createHTMLCompletor, curry, dateCompare, daysOfTheMonth, debounce, declarations$2 as declarations, deepEqual, deepmerge, defaultActions$1 as defaultActions, defaultConfig, defaultEditableColumnRenderer, defaultGridOptions, defaultGridTreeLabel, defaultOptionsDisplayLimit, defaultTreeOptions, dialogSizePreset, diff, difference, differenceBy, dimensionsChanges, directives, drop, editableCellRendererWithSearchHighlight, escape, escapeRegExp, filter, filterByControlValue, filterByTerm, filterDialogDismissed, filterDialogSuccess, filterGroupByControlValue, filterGroupByTerm, filterKey, find, findIndex, findKey, fixNgLeaks, forEach, formatKeys, generateMonths, get, getAttr, getCustomRange, getDateISOString, getDefaultConfirmationOptions, getDefaultOptions, getDefaultsToastOptions, getElementCoords, getFunctionName, getGridConfiguration, getGridModel, getInitials, getLocalizedFormat, getMultiTemplate, getOptionTemplate, getPopperDefaults, getUTCDate, getVisibleActions, gridTreeFilePathKey, groupBy, groupSortOrder, has, inView, intersection, invert, isArrayValuesEqual, isArrowUpDown, isBoolean, isEmpty, isEmptyString, isEnter, isEqual, isEscape, isFraction, isFunction, isMacintosh, isNil, isNumber, isObject, isRangeCondition, isRangeCustom, isString, isTestEnv, isValidMediaLink, kebabCase, keyBy, keysSymbols, last, map, mapKeys, mapValues, maxFileSize, merge, minBy, mockInDev, mocks, ngContentResolver, noop, normalizeData, omit, omitBy, optionalDebounce, pallete, parseDateString, partial, polling, prependChild, publicApi$1 as publicApi, query, queryAll, random, rawDiff, reject, relativeDateTypes, removeClass, resolveRange, round, searchHighlightCellRenderer, searchResultsGroupSort, searchResultsSort, setAttr, setAttribute, setDimensions, setEmptyFolderClass, setGridConfiguration, setGridModel, setMaxDimensions, setMinDimensions, setStyle, setStyles, size, sortBy, stubs, supportedLocales, tapLog, tapOnce, throttle, toBoolean, toFormData, toNumber, toResponseBody, toString, toggleClass, toolbarActionToContextAction, tryParsePivotValue, unescape, union, uniq, uniqBy, uploadProgress, validBase64Image, validUrl, validateCondition, validateDate, validateDateCondition, validateFilter, validateNumberCondition, validateRange, validateStringCondition, values, workerMap, zoneStable, ɵ0$2 as ɵ0, ɵ1$2 as ɵ1, ɵ2, DATO_CORE_CONFIG as ɵb, DatoGridHelper as ɵc, Popper as ɵd, GridQuery as ɵe, GridStore as ɵf, GridService as ɵg, DatoDateRangesFilterPipe as ɵh, ListStore as ɵi, DatoListSelectAllComponent as ɵj, DatoGridMultiSelectColumnHeaderComponent as ɵk, DatoGridItemsCountCellComponent as ɵl, DatoGridV2ToolbarMoreMenuComponent as ɵm, DatoGridSearchBarComponent as ɵn, RichTextService as ɵo };
|
|
25180
25230
|
//# sourceMappingURL=datorama-core.js.map
|