@colijnit/corecomponents_v12 12.0.76 → 12.0.78
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/colijnit-corecomponents_v12.umd.js +162 -5
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.d.ts +1 -0
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/colijnit-corecomponents_v12.js +2 -1
- package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.component.js +87 -0
- package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.module.js +19 -0
- package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +13 -3
- package/esm2015/lib/components/input-radio-button/input-radio-button.component.js +11 -7
- package/esm2015/lib/pipes/filter.pipe.js +16 -0
- package/esm2015/lib/pipes/filter.pipe.module.js +15 -0
- package/esm2015/public-api.js +4 -1
- package/fesm2015/colijnit-corecomponents_v12.js +149 -7
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/carousel/style/_layout.scss +2 -0
- package/lib/components/carousel/style/_material-definition.scss +2 -0
- package/lib/components/checkmark-overlay/checkmark-overlay.component.d.ts +17 -0
- package/lib/components/checkmark-overlay/checkmark-overlay.module.d.ts +2 -0
- package/lib/components/checkmark-overlay/style/_layout.scss +118 -0
- package/lib/components/checkmark-overlay/style/_material-definition.scss +2 -0
- package/lib/components/checkmark-overlay/style/_theme.scss +20 -0
- package/lib/components/checkmark-overlay/style/material.scss +4 -0
- package/lib/components/input-date-range-picker/input-date-range-picker.component.d.ts +2 -2
- package/lib/components/input-radio-button/input-radio-button.component.d.ts +3 -2
- package/lib/components/input-radio-button/style/_layout.scss +15 -14
- package/lib/components/input-radio-button/style/_material-definition.scss +13 -3
- package/lib/components/input-radio-button/style/_theme.scss +4 -0
- package/lib/components/simple-grid/style/_layout.scss +1 -0
- package/lib/components/simple-grid/style/_material-definition.scss +2 -0
- package/lib/components/simple-grid/style/_theme.scss +1 -1
- package/lib/pipes/filter.pipe.d.ts +4 -0
- package/lib/pipes/filter.pipe.module.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -6909,13 +6909,21 @@
|
|
|
6909
6909
|
if (this.startDate && this.endDate) {
|
|
6910
6910
|
this.dateRangeChange.emit([this.startDate, this.endDate]);
|
|
6911
6911
|
}
|
|
6912
|
+
this.model = [this.startDate, this.endDate];
|
|
6913
|
+
this.modelChange.emit(this.model);
|
|
6912
6914
|
};
|
|
6913
6915
|
return InputDateRangePickerComponent;
|
|
6914
6916
|
}(BaseInputComponent));
|
|
6915
6917
|
InputDateRangePickerComponent.decorators = [
|
|
6916
6918
|
{ type: i0.Component, args: [{
|
|
6917
6919
|
selector: "co-input-date-range",
|
|
6918
|
-
template: "\n <ejs-daterangepicker\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n [(startDate)]=\"startDate\"\n [(endDate)]=\"endDate\"\n [readonly]=\"readonly\"\n (ngModelChange)=\"rangeChange()\"\n (close)=\"close.next($event)\"\n (select)=\"select.next($event)\"\n (cleared)=\"cleared.next($event)\"\n ></ejs-daterangepicker>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
6920
|
+
template: "\n <ejs-daterangepicker #ejsDateRangePicker\n [format]=\"dateFormat\"\n floatLabelType=\"Auto\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n [(startDate)]=\"startDate\"\n [(endDate)]=\"endDate\"\n [readonly]=\"readonly\"\n (ngModelChange)=\"rangeChange()\"\n (close)=\"close.next($event)\"\n (select)=\"select.next($event)\"\n (cleared)=\"cleared.next($event)\"\n ></ejs-daterangepicker>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
6921
|
+
providers: [{
|
|
6922
|
+
provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputDateRangePickerComponent; })
|
|
6923
|
+
}, {
|
|
6924
|
+
provide: BaseInputComponent,
|
|
6925
|
+
useExisting: InputDateRangePickerComponent
|
|
6926
|
+
}],
|
|
6919
6927
|
encapsulation: i0.ViewEncapsulation.None
|
|
6920
6928
|
},] }
|
|
6921
6929
|
];
|
|
@@ -7860,10 +7868,17 @@
|
|
|
7860
7868
|
_super.prototype._markAsOnPush.call(_this);
|
|
7861
7869
|
return _this;
|
|
7862
7870
|
}
|
|
7871
|
+
Object.defineProperty(InputRadioButtonComponent.prototype, "isModelSelected", {
|
|
7872
|
+
get: function () {
|
|
7873
|
+
return this.model;
|
|
7874
|
+
},
|
|
7875
|
+
enumerable: false,
|
|
7876
|
+
configurable: true
|
|
7877
|
+
});
|
|
7863
7878
|
InputRadioButtonComponent.prototype.showClass = function () {
|
|
7864
7879
|
return true;
|
|
7865
7880
|
};
|
|
7866
|
-
InputRadioButtonComponent.prototype.
|
|
7881
|
+
InputRadioButtonComponent.prototype.handleClick = function (event) {
|
|
7867
7882
|
event.preventDefault();
|
|
7868
7883
|
event.stopPropagation();
|
|
7869
7884
|
if (!this.readonly) {
|
|
@@ -7876,7 +7891,7 @@
|
|
|
7876
7891
|
InputRadioButtonComponent.decorators = [
|
|
7877
7892
|
{ type: i0.Component, args: [{
|
|
7878
7893
|
selector: "co-input-radio-button",
|
|
7879
|
-
template: "\n <div class=\"outer-circle\" [class.selected]=\"model\"
|
|
7894
|
+
template: "\n <div class=\"outer-circle\" [class.selected]=\"model\">\n <div class=\"inner-circle\" *ngIf=\"model\" @showSelected></div>\n </div>\n <div class=\"label\" *ngIf=\"label\" [textContent]=\"label\"></div>\n <input #input [ngModel]=\"model\" type=\"hidden\">\n ",
|
|
7880
7895
|
providers: [{
|
|
7881
7896
|
provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputRadioButtonComponent; })
|
|
7882
7897
|
}, {
|
|
@@ -7890,7 +7905,6 @@
|
|
|
7890
7905
|
animations.transition("void <=> *", animations.animate("200ms ease-in-out")),
|
|
7891
7906
|
])
|
|
7892
7907
|
],
|
|
7893
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
7894
7908
|
encapsulation: i0.ViewEncapsulation.None
|
|
7895
7909
|
},] }
|
|
7896
7910
|
];
|
|
@@ -7903,7 +7917,9 @@
|
|
|
7903
7917
|
{ type: i0.ElementRef }
|
|
7904
7918
|
]; };
|
|
7905
7919
|
InputRadioButtonComponent.propDecorators = {
|
|
7906
|
-
|
|
7920
|
+
isModelSelected: [{ type: i0.HostBinding, args: ["class.selected",] }],
|
|
7921
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-radio-button",] }],
|
|
7922
|
+
handleClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }]
|
|
7907
7923
|
};
|
|
7908
7924
|
|
|
7909
7925
|
var InputRadioButtonModule = /** @class */ (function () {
|
|
@@ -10972,6 +10988,40 @@
|
|
|
10972
10988
|
},] }
|
|
10973
10989
|
];
|
|
10974
10990
|
|
|
10991
|
+
var FilterPipe = /** @class */ (function () {
|
|
10992
|
+
function FilterPipe() {
|
|
10993
|
+
}
|
|
10994
|
+
FilterPipe.prototype.transform = function (items, field, value) {
|
|
10995
|
+
if (!items || !field) {
|
|
10996
|
+
return items;
|
|
10997
|
+
}
|
|
10998
|
+
return items.filter(function (item) { return item[field] === value; });
|
|
10999
|
+
};
|
|
11000
|
+
return FilterPipe;
|
|
11001
|
+
}());
|
|
11002
|
+
FilterPipe.decorators = [
|
|
11003
|
+
{ type: i0.Pipe, args: [{
|
|
11004
|
+
name: "filter",
|
|
11005
|
+
pure: false
|
|
11006
|
+
},] }
|
|
11007
|
+
];
|
|
11008
|
+
|
|
11009
|
+
var FilterPipeModule = /** @class */ (function () {
|
|
11010
|
+
function FilterPipeModule() {
|
|
11011
|
+
}
|
|
11012
|
+
return FilterPipeModule;
|
|
11013
|
+
}());
|
|
11014
|
+
FilterPipeModule.decorators = [
|
|
11015
|
+
{ type: i0.NgModule, args: [{
|
|
11016
|
+
declarations: [
|
|
11017
|
+
FilterPipe
|
|
11018
|
+
],
|
|
11019
|
+
exports: [
|
|
11020
|
+
FilterPipe
|
|
11021
|
+
]
|
|
11022
|
+
},] }
|
|
11023
|
+
];
|
|
11024
|
+
|
|
10975
11025
|
var FilterItemComponent = /** @class */ (function () {
|
|
10976
11026
|
function FilterItemComponent(iconService) {
|
|
10977
11027
|
this.iconService = iconService;
|
|
@@ -11427,6 +11477,109 @@
|
|
|
11427
11477
|
},] }
|
|
11428
11478
|
];
|
|
11429
11479
|
|
|
11480
|
+
var CheckmarkOverlayComponent = /** @class */ (function () {
|
|
11481
|
+
function CheckmarkOverlayComponent(_renderer) {
|
|
11482
|
+
var _this = this;
|
|
11483
|
+
this._renderer = _renderer;
|
|
11484
|
+
this.showOverlay = false;
|
|
11485
|
+
this.showWrapper = false;
|
|
11486
|
+
this._visible = false;
|
|
11487
|
+
this._handleAnimationIteration = function (event) {
|
|
11488
|
+
_this.animateDivs.forEach(function (a) { return _this._renderer.removeClass(a.nativeElement, 'animate'); });
|
|
11489
|
+
event.currentTarget.removeEventListener('animationiteration', _this._handleAnimationIteration);
|
|
11490
|
+
};
|
|
11491
|
+
}
|
|
11492
|
+
Object.defineProperty(CheckmarkOverlayComponent.prototype, "content", {
|
|
11493
|
+
set: function (children) {
|
|
11494
|
+
this.animateDivs = children.toArray();
|
|
11495
|
+
this._checkAnimation();
|
|
11496
|
+
},
|
|
11497
|
+
enumerable: false,
|
|
11498
|
+
configurable: true
|
|
11499
|
+
});
|
|
11500
|
+
Object.defineProperty(CheckmarkOverlayComponent.prototype, "visible", {
|
|
11501
|
+
get: function () {
|
|
11502
|
+
return this._visible;
|
|
11503
|
+
},
|
|
11504
|
+
set: function (value) {
|
|
11505
|
+
var _this = this;
|
|
11506
|
+
if (value) {
|
|
11507
|
+
this.showOverlay = true;
|
|
11508
|
+
this.showWrapper = true;
|
|
11509
|
+
}
|
|
11510
|
+
else {
|
|
11511
|
+
setTimeout(function () { return _this.showOverlay = false; }, 800);
|
|
11512
|
+
setTimeout(function () { return _this.showWrapper = false; }, 600);
|
|
11513
|
+
}
|
|
11514
|
+
this._visible = value;
|
|
11515
|
+
this._checkAnimation();
|
|
11516
|
+
this._checkAnimationFinished();
|
|
11517
|
+
},
|
|
11518
|
+
enumerable: false,
|
|
11519
|
+
configurable: true
|
|
11520
|
+
});
|
|
11521
|
+
CheckmarkOverlayComponent.prototype.showClass = function () {
|
|
11522
|
+
return true;
|
|
11523
|
+
};
|
|
11524
|
+
CheckmarkOverlayComponent.prototype._checkAnimation = function () {
|
|
11525
|
+
var _this = this;
|
|
11526
|
+
if (this.visible && this.animateDivs) {
|
|
11527
|
+
this.animateDivs.forEach(function (a) { return _this._renderer.addClass(a.nativeElement, 'animate'); });
|
|
11528
|
+
}
|
|
11529
|
+
};
|
|
11530
|
+
CheckmarkOverlayComponent.prototype._checkAnimationFinished = function () {
|
|
11531
|
+
var _this = this;
|
|
11532
|
+
if (!this.visible && this.animateDivs) {
|
|
11533
|
+
this.animateDivs.forEach(function (a) {
|
|
11534
|
+
a.nativeElement.addEventListener('animationiteration', _this._handleAnimationIteration);
|
|
11535
|
+
});
|
|
11536
|
+
}
|
|
11537
|
+
};
|
|
11538
|
+
return CheckmarkOverlayComponent;
|
|
11539
|
+
}());
|
|
11540
|
+
CheckmarkOverlayComponent.decorators = [
|
|
11541
|
+
{ type: i0.Component, args: [{
|
|
11542
|
+
selector: "co-checkmark-overlay",
|
|
11543
|
+
template: "\n <div *ngIf=\"showOverlay\">\n <div class=\"checkmark-overlay-wrapper\" *ngIf=\"showWrapper\" @showHideSaveCancel>\n <div class=\"checkmark-buttons-button save\" [class.finished]=\"!visible\">\n <div class=\"save-button-spinner\">\n <div #animatediv></div>\n <div #animatediv></div>\n <div #animatediv></div>\n <div #animatediv></div>\n </div>\n <div class=\"spinner-checkmark\" *ngIf=\"!visible && successful\"></div>\n </div>\n </div>\n </div>\n ",
|
|
11544
|
+
animations: [
|
|
11545
|
+
animations.trigger('showHideSaveCancel', [
|
|
11546
|
+
animations.state('*', animations.style({ transform: 'scaleY(1)', opacity: 1 })),
|
|
11547
|
+
animations.state('void', animations.style({ transform: 'scaleY(0)', opacity: 0 })),
|
|
11548
|
+
animations.transition('void <=> *', animations.animate(200))
|
|
11549
|
+
]),
|
|
11550
|
+
],
|
|
11551
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
11552
|
+
},] }
|
|
11553
|
+
];
|
|
11554
|
+
CheckmarkOverlayComponent.ctorParameters = function () { return [
|
|
11555
|
+
{ type: i0.Renderer2 }
|
|
11556
|
+
]; };
|
|
11557
|
+
CheckmarkOverlayComponent.propDecorators = {
|
|
11558
|
+
content: [{ type: i0.ViewChildren, args: ['animatediv', { read: i0.ElementRef },] }],
|
|
11559
|
+
visible: [{ type: i0.Input }],
|
|
11560
|
+
successful: [{ type: i0.Input }],
|
|
11561
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-checkmark-overlay",] }]
|
|
11562
|
+
};
|
|
11563
|
+
|
|
11564
|
+
var CheckmarkOverlayModule = /** @class */ (function () {
|
|
11565
|
+
function CheckmarkOverlayModule() {
|
|
11566
|
+
}
|
|
11567
|
+
return CheckmarkOverlayModule;
|
|
11568
|
+
}());
|
|
11569
|
+
CheckmarkOverlayModule.decorators = [
|
|
11570
|
+
{ type: i0.NgModule, args: [{
|
|
11571
|
+
imports: [
|
|
11572
|
+
common.CommonModule
|
|
11573
|
+
],
|
|
11574
|
+
declarations: [
|
|
11575
|
+
CheckmarkOverlayComponent
|
|
11576
|
+
],
|
|
11577
|
+
exports: [
|
|
11578
|
+
CheckmarkOverlayComponent
|
|
11579
|
+
]
|
|
11580
|
+
},] }
|
|
11581
|
+
];
|
|
11582
|
+
|
|
11430
11583
|
var ColorSequenceService = /** @class */ (function () {
|
|
11431
11584
|
function ColorSequenceService() {
|
|
11432
11585
|
this.colors = new Map();
|
|
@@ -11471,6 +11624,7 @@
|
|
|
11471
11624
|
exports.CarouselComponent = CarouselComponent;
|
|
11472
11625
|
exports.CarouselHammerConfig = CarouselHammerConfig;
|
|
11473
11626
|
exports.CarouselModule = CarouselModule;
|
|
11627
|
+
exports.CheckmarkOverlayModule = CheckmarkOverlayModule;
|
|
11474
11628
|
exports.ClickoutsideModule = ClickoutsideModule;
|
|
11475
11629
|
exports.CoDialogComponent = CoDialogComponent;
|
|
11476
11630
|
exports.CoDialogModule = CoDialogModule;
|
|
@@ -11499,6 +11653,8 @@
|
|
|
11499
11653
|
exports.DropDownModule = DropDownModule;
|
|
11500
11654
|
exports.FilterItemComponent = FilterItemComponent;
|
|
11501
11655
|
exports.FilterItemModule = FilterItemModule;
|
|
11656
|
+
exports.FilterPipe = FilterPipe;
|
|
11657
|
+
exports.FilterPipeModule = FilterPipeModule;
|
|
11502
11658
|
exports.FormComponent = FormComponent;
|
|
11503
11659
|
exports.FormMasterService = FormMasterService;
|
|
11504
11660
|
exports.FormModule = FormModule;
|
|
@@ -11568,6 +11724,7 @@
|
|
|
11568
11724
|
exports["ɵbe"] = PrependPipe;
|
|
11569
11725
|
exports["ɵbf"] = ClickOutsideDirective;
|
|
11570
11726
|
exports["ɵbg"] = ClickOutsideMasterService;
|
|
11727
|
+
exports["ɵbh"] = CheckmarkOverlayComponent;
|
|
11571
11728
|
exports["ɵc"] = CoRippleDirective;
|
|
11572
11729
|
exports["ɵd"] = CoViewportRulerService;
|
|
11573
11730
|
exports["ɵe"] = CoScrollDispatcherService;
|