@datorama/core 22.0.6-rc.1 → 22.0.6
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 +158 -209
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +25 -25
- 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/accordion/accordion/accordion.component.js +3 -11
- package/esm2015/lib/breadcrumbs/breadcrumbs.component.js +2 -4
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +2 -5
- package/esm2015/lib/grid-v2/grid-settings.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.query.js +3 -3
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +2 -3
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -7
- package/esm2015/lib/icon/icon.types.js +1 -1
- package/esm2015/lib/rich-text/rich-text.directive.js +33 -15
- package/esm2015/lib/select/select.component.js +16 -16
- package/esm2015/lib/sortable/sortable.component.js +2 -7
- package/esm2015/lib/version.js +2 -2
- package/esm5/datorama-core.js +1 -2
- package/esm5/lib/accordion/accordion/accordion.component.js +3 -15
- package/esm5/lib/breadcrumbs/breadcrumbs.component.js +2 -4
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +2 -5
- package/esm5/lib/grid-v2/grid-settings.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.query.js +3 -3
- package/esm5/lib/grid-v2/grid-store/grid.service.js +2 -3
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +1 -13
- package/esm5/lib/icon/icon.types.js +1 -1
- package/esm5/lib/rich-text/rich-text.directive.js +34 -16
- package/esm5/lib/select/select.component.js +16 -17
- package/esm5/lib/sortable/sortable.component.js +2 -7
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +152 -190
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +159 -209
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/accordion/accordion/accordion.component.d.ts +1 -4
- package/lib/grid-v2/grid/grid-v2.types.d.ts +1 -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/lib/select/select.component.d.ts +0 -1
- package/lib/sortable/sortable.component.d.ts +1 -3
- 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
package/fesm5/datorama-core.js
CHANGED
|
@@ -7410,114 +7410,6 @@ 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
|
-
|
|
7521
7413
|
/**
|
|
7522
7414
|
* @license
|
|
7523
7415
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -7563,13 +7455,6 @@ var DatoAccordionComponent = /** @class */ (function () {
|
|
|
7563
7455
|
enumerable: true,
|
|
7564
7456
|
configurable: true
|
|
7565
7457
|
});
|
|
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
|
-
});
|
|
7573
7458
|
DatoAccordionComponent.prototype.ngOnChanges = function (changes) {
|
|
7574
7459
|
var _this = this;
|
|
7575
7460
|
if (changes.expandAll && !changes.expandAll.firstChange) {
|
|
@@ -7787,15 +7672,11 @@ var DatoAccordionComponent = /** @class */ (function () {
|
|
|
7787
7672
|
__decorate([
|
|
7788
7673
|
ContentChildren(DatoAccordionGroupComponent),
|
|
7789
7674
|
__metadata("design:type", QueryList)
|
|
7790
|
-
], DatoAccordionComponent.prototype, "
|
|
7675
|
+
], DatoAccordionComponent.prototype, "groups", void 0);
|
|
7791
7676
|
__decorate([
|
|
7792
7677
|
ContentChildren(DatoAccordionComponent_1, { descendants: true }),
|
|
7793
7678
|
__metadata("design:type", QueryList)
|
|
7794
7679
|
], DatoAccordionComponent.prototype, "childAccordion", void 0);
|
|
7795
|
-
__decorate([
|
|
7796
|
-
ContentChild(DatoSortableComponent, { static: true }),
|
|
7797
|
-
__metadata("design:type", DatoSortableComponent)
|
|
7798
|
-
], DatoAccordionComponent.prototype, "sortable", void 0);
|
|
7799
7680
|
__decorate([
|
|
7800
7681
|
Input(),
|
|
7801
7682
|
__metadata("design:type", Object)
|
|
@@ -8549,8 +8430,9 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8549
8430
|
DatoSelectComponent.prototype.writeValue = function (activeOptions) {
|
|
8550
8431
|
this._model = activeOptions ? coerceArray$1(activeOptions) : [];
|
|
8551
8432
|
if (this.options) {
|
|
8433
|
+
var overTheLimit = this.limitSelectedTo && this.isMulti && this._model.length >= this.limitSelectedTo;
|
|
8552
8434
|
this.markAsActive(this._model, { deselectAll: true });
|
|
8553
|
-
|
|
8435
|
+
overTheLimit && this.updateDisabledState();
|
|
8554
8436
|
}
|
|
8555
8437
|
/** For later updates */
|
|
8556
8438
|
this.cdr.markForCheck();
|
|
@@ -8587,7 +8469,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8587
8469
|
*/
|
|
8588
8470
|
if (this.hasValue && this._initialOpen) {
|
|
8589
8471
|
this.markAsActive(this._model);
|
|
8590
|
-
if (this.limitSelectedTo) {
|
|
8472
|
+
if (this.limitSelectedTo && this._model.length === this.limitSelectedTo) {
|
|
8591
8473
|
this.updateDisabledState();
|
|
8592
8474
|
}
|
|
8593
8475
|
this._initialOpen = false;
|
|
@@ -8667,8 +8549,8 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8667
8549
|
}
|
|
8668
8550
|
}
|
|
8669
8551
|
this.onChange(this._model);
|
|
8552
|
+
this.datoOverlay.scheduleUpdate();
|
|
8670
8553
|
this.cdr.markForCheck();
|
|
8671
|
-
this.asyncUpdateDropdownPosition();
|
|
8672
8554
|
};
|
|
8673
8555
|
DatoSelectComponent.prototype.reorderOptions = function (newOrder) {
|
|
8674
8556
|
this._model = newOrder;
|
|
@@ -8676,6 +8558,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8676
8558
|
};
|
|
8677
8559
|
DatoSelectComponent.prototype.removeOption = function (option) {
|
|
8678
8560
|
var _this = this;
|
|
8561
|
+
var updateDisabled = this.limitSelectedTo && this._model.length === this.limitSelectedTo;
|
|
8679
8562
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== option[_this.idKey]; });
|
|
8680
8563
|
var optionToRemove = this.options.find(function (datoOption) { return datoOption.option && datoOption.option[_this.idKey] === option[_this.idKey]; });
|
|
8681
8564
|
/**
|
|
@@ -8685,10 +8568,12 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8685
8568
|
if (optionToRemove) {
|
|
8686
8569
|
optionToRemove.active = false;
|
|
8687
8570
|
}
|
|
8688
|
-
|
|
8571
|
+
updateDisabled && this.updateDisabledState();
|
|
8689
8572
|
this.onChange(this._model);
|
|
8690
8573
|
this.cdr.markForCheck();
|
|
8691
|
-
this.
|
|
8574
|
+
if (this.datoOverlay.attached) {
|
|
8575
|
+
this.datoOverlay.scheduleUpdate();
|
|
8576
|
+
}
|
|
8692
8577
|
};
|
|
8693
8578
|
DatoSelectComponent.prototype.preventBodyScroll = function (event) {
|
|
8694
8579
|
if (isArrowUpDown(event)) {
|
|
@@ -8943,7 +8828,7 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
8943
8828
|
_this.searchTerm = value;
|
|
8944
8829
|
_this.keyManager.setActiveItem(-1);
|
|
8945
8830
|
_this.cdr.markForCheck();
|
|
8946
|
-
_this.
|
|
8831
|
+
_this.datoOverlay && _this.datoOverlay.scheduleUpdate();
|
|
8947
8832
|
});
|
|
8948
8833
|
};
|
|
8949
8834
|
/**
|
|
@@ -9033,6 +8918,9 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9033
8918
|
if (!datoOption) {
|
|
9034
8919
|
return;
|
|
9035
8920
|
}
|
|
8921
|
+
var modelLength = this._model.length;
|
|
8922
|
+
var updateDisabled = this.limitSelectedTo &&
|
|
8923
|
+
(modelLength === this.limitSelectedTo || (modelLength === this.limitSelectedTo - 1 && !datoOption.active));
|
|
9036
8924
|
datoOption.active = !datoOption.active;
|
|
9037
8925
|
var rawOption = datoOption.option;
|
|
9038
8926
|
if (datoOption.active) {
|
|
@@ -9041,10 +8929,10 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9041
8929
|
else {
|
|
9042
8930
|
this._model = this._model.filter(function (current) { return current[_this.idKey] !== rawOption[_this.idKey]; });
|
|
9043
8931
|
}
|
|
9044
|
-
|
|
8932
|
+
updateDisabled && this.updateDisabledState();
|
|
9045
8933
|
this.onChange(this._model);
|
|
9046
8934
|
this.cdr.markForCheck();
|
|
9047
|
-
this.
|
|
8935
|
+
this.datoOverlay.scheduleUpdate();
|
|
9048
8936
|
};
|
|
9049
8937
|
DatoSelectComponent.prototype.activateInfiniteScroll = function () {
|
|
9050
8938
|
var _this = this;
|
|
@@ -9097,14 +8985,6 @@ var DatoSelectComponent = /** @class */ (function (_super) {
|
|
|
9097
8985
|
finally { if (e_9) throw e_9.error; }
|
|
9098
8986
|
}
|
|
9099
8987
|
};
|
|
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
|
-
};
|
|
9108
8988
|
DatoSelectComponent.ctorParameters = function () { return [
|
|
9109
8989
|
{ type: ChangeDetectorRef },
|
|
9110
8990
|
{ type: DatoTranslateService },
|
|
@@ -10097,6 +9977,110 @@ var DatoOptionsModule = /** @class */ (function () {
|
|
|
10097
9977
|
return DatoOptionsModule;
|
|
10098
9978
|
}());
|
|
10099
9979
|
|
|
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
|
+
|
|
10100
10084
|
/**
|
|
10101
10085
|
* @license
|
|
10102
10086
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -11405,10 +11389,10 @@ var GridQuery = /** @class */ (function (_super) {
|
|
|
11405
11389
|
var uniquePivotParents = uniq(this.api.columns.getSecondaryColumns().map(function (column) { return column.getParent(); }));
|
|
11406
11390
|
var secondaryColumn = this.getSecondaryColumn(pivotedColumn.getColId());
|
|
11407
11391
|
var pivotColIndex = uniquePivotParents.indexOf(secondaryColumn.getParent());
|
|
11408
|
-
return { colId:
|
|
11392
|
+
return { colId: colId, sort: sort, pivotColIndex: pivotColIndex, colField: getColField(pivotedColumn.getColDef()) };
|
|
11409
11393
|
}
|
|
11410
11394
|
else if (column) {
|
|
11411
|
-
return { colId: getColField(column.getColDef())
|
|
11395
|
+
return { colId: colId, sort: sort, colField: getColField(column.getColDef()) };
|
|
11412
11396
|
}
|
|
11413
11397
|
}
|
|
11414
11398
|
else {
|
|
@@ -11836,7 +11820,7 @@ function toolbarActionToContextAction(params) {
|
|
|
11836
11820
|
return contextActions;
|
|
11837
11821
|
}
|
|
11838
11822
|
|
|
11839
|
-
var DATO_GRID_STORAGE_API = new InjectionToken('
|
|
11823
|
+
var DATO_GRID_STORAGE_API = new InjectionToken('DATO_GRID_STORAGE_API');
|
|
11840
11824
|
|
|
11841
11825
|
var defaultEditableColumnRenderer = function (params) {
|
|
11842
11826
|
return params && params.value ? "<div class=\"value-wrapper ellipsis\">" + params.value + "</div>" : null;
|
|
@@ -14295,8 +14279,7 @@ var GridService = /** @class */ (function () {
|
|
|
14295
14279
|
this.updateSettings({ gridAlignment: gridAlignment, columnsSizes: null });
|
|
14296
14280
|
};
|
|
14297
14281
|
GridService.prototype.saveSettingsToServer = function (settings) {
|
|
14298
|
-
|
|
14299
|
-
this.storageAPI.set(this.gridName, settings, isGlobal);
|
|
14282
|
+
this.storageAPI.set(this.gridName, settings);
|
|
14300
14283
|
};
|
|
14301
14284
|
/**
|
|
14302
14285
|
* @internal used to log grid events to the platform's logging service
|
|
@@ -15301,10 +15284,7 @@ var DatoGridControllerComponent = /** @class */ (function () {
|
|
|
15301
15284
|
.pipe(switchMap(function () {
|
|
15302
15285
|
_this.gridOptions = _this.normalizeOptions();
|
|
15303
15286
|
agGrid.gridOptions = _this.gridOptions;
|
|
15304
|
-
var
|
|
15305
|
-
var settingsLoader = _this.gridOptions.saveSettings === false
|
|
15306
|
-
? of(null)
|
|
15307
|
-
: _this.storageAPI.get(_this.gridOptions.gridName, isGlobal);
|
|
15287
|
+
var settingsLoader = _this.gridOptions.saveSettings === false ? of(null) : _this.storageAPI.get(_this.gridOptions.gridName);
|
|
15308
15288
|
return combineLatest([agGrid.gridReady, settingsLoader]);
|
|
15309
15289
|
}), untilDestroyed(this))
|
|
15310
15290
|
.subscribe(function (_a) {
|
|
@@ -16584,18 +16564,6 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
|
|
|
16584
16564
|
this.registerGroupListeners();
|
|
16585
16565
|
this.subscribeRowsSelectionData();
|
|
16586
16566
|
};
|
|
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
|
-
};
|
|
16599
16567
|
DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
|
|
16600
16568
|
if (isFunction(action.onClick)) {
|
|
16601
16569
|
var selectedRowsCount = this.gridController.gridQuery.getSelectedRowsCount();
|
|
@@ -21071,40 +21039,6 @@ var DatoEditableHeaderModule = /** @class */ (function () {
|
|
|
21071
21039
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
21072
21040
|
*/
|
|
21073
21041
|
|
|
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
|
-
|
|
21108
21042
|
/**
|
|
21109
21043
|
* @license
|
|
21110
21044
|
* Copyright Datorama. All Rights Reserved.
|
|
@@ -21118,12 +21052,12 @@ var getTinymce = function () {
|
|
|
21118
21052
|
var ɵ0$3 = getTinymce;
|
|
21119
21053
|
var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
21120
21054
|
__extends(DatoRichTextDirective, _super);
|
|
21121
|
-
function DatoRichTextDirective(ngZone,
|
|
21055
|
+
function DatoRichTextDirective(ngZone, http, host, config) {
|
|
21122
21056
|
var _this = _super.call(this) || this;
|
|
21123
21057
|
_this.ngZone = ngZone;
|
|
21124
|
-
_this.
|
|
21125
|
-
_this.config = config;
|
|
21058
|
+
_this.http = http;
|
|
21126
21059
|
_this.host = host;
|
|
21060
|
+
_this.config = config;
|
|
21127
21061
|
_this.autocompleteOptions = {};
|
|
21128
21062
|
_this.forcePlainTextPasting = false;
|
|
21129
21063
|
_this.format = 'html';
|
|
@@ -21157,11 +21091,28 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21157
21091
|
base: this.config.paths.richText,
|
|
21158
21092
|
query: ''
|
|
21159
21093
|
};
|
|
21160
|
-
|
|
21161
|
-
|
|
21162
|
-
|
|
21163
|
-
|
|
21164
|
-
|
|
21094
|
+
/**
|
|
21095
|
+
* We support only one instance in load time
|
|
21096
|
+
*/
|
|
21097
|
+
if (window.tinymce) {
|
|
21098
|
+
this.init.call(this);
|
|
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');
|
|
21165
21116
|
});
|
|
21166
21117
|
};
|
|
21167
21118
|
DatoRichTextDirective.prototype.initEditor = function (_, editor) {
|
|
@@ -21254,9 +21205,9 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21254
21205
|
var DatoRichTextDirective_1;
|
|
21255
21206
|
DatoRichTextDirective.ctorParameters = function () { return [
|
|
21256
21207
|
{ type: NgZone },
|
|
21257
|
-
{ type:
|
|
21258
|
-
{ type:
|
|
21259
|
-
{ type:
|
|
21208
|
+
{ type: HttpClient },
|
|
21209
|
+
{ type: ElementRef },
|
|
21210
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DATO_CORE_CONFIG,] }] }
|
|
21260
21211
|
]; };
|
|
21261
21212
|
__decorate([
|
|
21262
21213
|
Input(),
|
|
@@ -21322,9 +21273,10 @@ var DatoRichTextDirective = /** @class */ (function (_super) {
|
|
|
21322
21273
|
}
|
|
21323
21274
|
]
|
|
21324
21275
|
}),
|
|
21325
|
-
__param(
|
|
21276
|
+
__param(3, Inject(DATO_CORE_CONFIG)),
|
|
21326
21277
|
__metadata("design:paramtypes", [NgZone,
|
|
21327
|
-
|
|
21278
|
+
HttpClient,
|
|
21279
|
+
ElementRef, Object])
|
|
21328
21280
|
], DatoRichTextDirective);
|
|
21329
21281
|
return DatoRichTextDirective;
|
|
21330
21282
|
}(BaseCustomControl));
|
|
@@ -23847,9 +23799,7 @@ var DatoBreadcrumbsComponent = /** @class */ (function () {
|
|
|
23847
23799
|
};
|
|
23848
23800
|
DatoBreadcrumbsComponent.prototype.initEditableHeader = function () {
|
|
23849
23801
|
var _this = this;
|
|
23850
|
-
this.headerControl.valueChanges
|
|
23851
|
-
.pipe(debounceTime(300), untilDestroyed(this))
|
|
23852
|
-
.subscribe(function (res) {
|
|
23802
|
+
this.headerControl.valueChanges.pipe(debounceTime(300), untilDestroyed(this)).subscribe(function (res) {
|
|
23853
23803
|
_this.updateEditableText.emit(res);
|
|
23854
23804
|
_this.cdr.detectChanges();
|
|
23855
23805
|
});
|
|
@@ -25212,7 +25162,7 @@ function fixNgLeaks() {
|
|
|
25212
25162
|
};
|
|
25213
25163
|
}
|
|
25214
25164
|
|
|
25215
|
-
window.coreVersion = '22.
|
|
25165
|
+
window.coreVersion = '22.0.6';
|
|
25216
25166
|
|
|
25217
25167
|
/**
|
|
25218
25168
|
* @license
|
|
@@ -25226,5 +25176,5 @@ window.coreVersion = '22.1.5-rc.';
|
|
|
25226
25176
|
* Generated bundle index. Do not edit.
|
|
25227
25177
|
*/
|
|
25228
25178
|
|
|
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
|
|
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 };
|
|
25230
25180
|
//# sourceMappingURL=datorama-core.js.map
|