@colijnit/corecomponents_v12 12.0.57 → 12.0.59
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 +249 -116
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12-12.0.59.tgz +0 -0
- package/colijnit-corecomponents_v12.d.ts +4 -4
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/colijnit-corecomponents_v12.js +5 -5
- package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.component.js +64 -0
- package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.module.js +23 -0
- package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +9 -1
- package/esm2015/lib/components/input-date-picker/input-date-picker.module.js +4 -2
- package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +4 -3
- package/esm2015/lib/core/enum/co-direction.js +9 -0
- package/esm2015/lib/core/enum/co-orientation.js +17 -0
- package/esm2015/lib/core/utils/direction-enum-utils.js +14 -0
- package/esm2015/public-api.js +5 -1
- package/fesm2015/colijnit-corecomponents_v12.js +234 -111
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/base/commit-buttons/style/_layout.scss +2 -2
- package/lib/components/icon-collapse-handle/icon-collapse-handle.component.d.ts +21 -0
- package/lib/components/icon-collapse-handle/icon-collapse-handle.module.d.ts +2 -0
- package/lib/components/icon-collapse-handle/style/_layout.scss +95 -0
- package/lib/components/icon-collapse-handle/style/_material-definition.scss +0 -0
- package/lib/components/icon-collapse-handle/style/_theme.scss +6 -0
- package/lib/components/icon-collapse-handle/style/material.scss +5 -0
- package/lib/components/input-date-picker/style/material.scss +2 -0
- package/lib/core/enum/co-direction.d.ts +6 -0
- package/lib/core/enum/co-orientation.d.ts +6 -0
- package/lib/core/utils/direction-enum-utils.d.ts +5 -0
- package/lib/style/_mixin.scss +7 -0
- package/lib/style/_variables.scss +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/colijnit-corecomponents_v12-12.0.57.tgz +0 -0
|
@@ -6034,6 +6034,135 @@
|
|
|
6034
6034
|
},] }
|
|
6035
6035
|
];
|
|
6036
6036
|
|
|
6037
|
+
// Direction type for regular straight directions.
|
|
6038
|
+
exports.CoDirection = void 0;
|
|
6039
|
+
(function (CoDirection) {
|
|
6040
|
+
CoDirection["Right"] = "right";
|
|
6041
|
+
CoDirection["Left"] = "left";
|
|
6042
|
+
CoDirection["Up"] = "top";
|
|
6043
|
+
CoDirection["Down"] = "bottom";
|
|
6044
|
+
})(exports.CoDirection || (exports.CoDirection = {}));
|
|
6045
|
+
|
|
6046
|
+
// Represents a bi-directional orientation.
|
|
6047
|
+
exports.CoOrientation = void 0;
|
|
6048
|
+
(function (CoOrientation) {
|
|
6049
|
+
CoOrientation["Horizontal"] = "horizontal";
|
|
6050
|
+
CoOrientation["Vertical"] = "vertical";
|
|
6051
|
+
})(exports.CoOrientation || (exports.CoOrientation = {}));
|
|
6052
|
+
var _orientationsOfDirections = new Map([
|
|
6053
|
+
[exports.CoDirection.Right, exports.CoOrientation.Vertical],
|
|
6054
|
+
[exports.CoDirection.Left, exports.CoOrientation.Vertical],
|
|
6055
|
+
[exports.CoDirection.Up, exports.CoOrientation.Horizontal],
|
|
6056
|
+
[exports.CoDirection.Down, exports.CoOrientation.Horizontal]
|
|
6057
|
+
]);
|
|
6058
|
+
function OrientationOfDirection(direction) {
|
|
6059
|
+
return _orientationsOfDirections.get(direction);
|
|
6060
|
+
}
|
|
6061
|
+
|
|
6062
|
+
// @dynamic
|
|
6063
|
+
var DirectionEnumUtils = /** @class */ (function () {
|
|
6064
|
+
function DirectionEnumUtils() {
|
|
6065
|
+
}
|
|
6066
|
+
DirectionEnumUtils.OppositeOf = function (direction) {
|
|
6067
|
+
return this._OppositeDirections.get(direction);
|
|
6068
|
+
};
|
|
6069
|
+
return DirectionEnumUtils;
|
|
6070
|
+
}());
|
|
6071
|
+
DirectionEnumUtils._OppositeDirections = new Map([
|
|
6072
|
+
[exports.CoDirection.Right, exports.CoDirection.Left],
|
|
6073
|
+
[exports.CoDirection.Left, exports.CoDirection.Right],
|
|
6074
|
+
[exports.CoDirection.Up, exports.CoDirection.Down],
|
|
6075
|
+
[exports.CoDirection.Down, exports.CoDirection.Up]
|
|
6076
|
+
]);
|
|
6077
|
+
|
|
6078
|
+
var IconCollapseHandleComponent = /** @class */ (function () {
|
|
6079
|
+
function IconCollapseHandleComponent() {
|
|
6080
|
+
this.orientation = exports.CoOrientation.Horizontal;
|
|
6081
|
+
this.twoArrows = false;
|
|
6082
|
+
this.iconColorClass = "action-color";
|
|
6083
|
+
this.Icons = exports.CoreComponentsIcon;
|
|
6084
|
+
this._arrowDirection = exports.CoDirection.Up;
|
|
6085
|
+
this._oppositeArrowDirection = exports.CoDirection.Down;
|
|
6086
|
+
}
|
|
6087
|
+
IconCollapseHandleComponent.prototype.showClass = function () {
|
|
6088
|
+
return true;
|
|
6089
|
+
};
|
|
6090
|
+
Object.defineProperty(IconCollapseHandleComponent.prototype, "arrowDirection", {
|
|
6091
|
+
get: function () {
|
|
6092
|
+
return this._arrowDirection;
|
|
6093
|
+
},
|
|
6094
|
+
set: function (arrowDirection) {
|
|
6095
|
+
this._arrowDirection = arrowDirection;
|
|
6096
|
+
this._oppositeArrowDirection = DirectionEnumUtils.OppositeOf(this._arrowDirection);
|
|
6097
|
+
},
|
|
6098
|
+
enumerable: false,
|
|
6099
|
+
configurable: true
|
|
6100
|
+
});
|
|
6101
|
+
Object.defineProperty(IconCollapseHandleComponent.prototype, "isVertical", {
|
|
6102
|
+
get: function () {
|
|
6103
|
+
return this.orientation === exports.CoOrientation.Vertical;
|
|
6104
|
+
},
|
|
6105
|
+
enumerable: false,
|
|
6106
|
+
configurable: true
|
|
6107
|
+
});
|
|
6108
|
+
Object.defineProperty(IconCollapseHandleComponent.prototype, "arrowsOrientatedHorizontally", {
|
|
6109
|
+
get: function () {
|
|
6110
|
+
return OrientationOfDirection(this._arrowDirection) === exports.CoOrientation.Horizontal;
|
|
6111
|
+
},
|
|
6112
|
+
enumerable: false,
|
|
6113
|
+
configurable: true
|
|
6114
|
+
});
|
|
6115
|
+
Object.defineProperty(IconCollapseHandleComponent.prototype, "oppositeArrowDirection", {
|
|
6116
|
+
get: function () {
|
|
6117
|
+
return this._oppositeArrowDirection;
|
|
6118
|
+
},
|
|
6119
|
+
enumerable: false,
|
|
6120
|
+
configurable: true
|
|
6121
|
+
});
|
|
6122
|
+
return IconCollapseHandleComponent;
|
|
6123
|
+
}());
|
|
6124
|
+
IconCollapseHandleComponent.decorators = [
|
|
6125
|
+
{ type: core.Component, args: [{
|
|
6126
|
+
selector: "co-icon-collapse-handle",
|
|
6127
|
+
template: "\n <div class=\"wrap\">\n <co-icon [icon]=\"Icons.ArrowPointUp\" [class]=\"'first ' + arrowDirection + ' ' + iconColorClass\"></co-icon>\n <co-icon *ngIf=\"twoArrows\" [icon]=\"Icons.ArrowPointUp\"\n [class]=\"'second ' + oppositeArrowDirection + ' ' + iconColorClass\"></co-icon>\n </div>\n <div class=\"absolute-fill-parent\" md-ripple></div>\n ",
|
|
6128
|
+
encapsulation: core.ViewEncapsulation.None
|
|
6129
|
+
},] }
|
|
6130
|
+
];
|
|
6131
|
+
IconCollapseHandleComponent.ctorParameters = function () { return []; };
|
|
6132
|
+
IconCollapseHandleComponent.propDecorators = {
|
|
6133
|
+
showClass: [{ type: core.HostBinding, args: ["class.co-icon-collapse-handle",] }],
|
|
6134
|
+
orientation: [{ type: core.Input }],
|
|
6135
|
+
arrowDirection: [{ type: core.Input }],
|
|
6136
|
+
twoArrows: [{ type: core.Input }, { type: core.HostBinding, args: ["class.two-arrows",] }],
|
|
6137
|
+
isVertical: [{ type: core.HostBinding, args: ["class.vertical",] }],
|
|
6138
|
+
arrowsOrientatedHorizontally: [{ type: core.HostBinding, args: ["class.arrows-orientated-horizontally",] }],
|
|
6139
|
+
hidden: [{ type: core.HostBinding, args: ["class.hidden",] }]
|
|
6140
|
+
};
|
|
6141
|
+
__decorate([
|
|
6142
|
+
InputBoolean()
|
|
6143
|
+
], IconCollapseHandleComponent.prototype, "twoArrows", void 0);
|
|
6144
|
+
|
|
6145
|
+
var IconCollapseHandleModule = /** @class */ (function () {
|
|
6146
|
+
function IconCollapseHandleModule() {
|
|
6147
|
+
}
|
|
6148
|
+
return IconCollapseHandleModule;
|
|
6149
|
+
}());
|
|
6150
|
+
IconCollapseHandleModule.decorators = [
|
|
6151
|
+
{ type: core.NgModule, args: [{
|
|
6152
|
+
imports: [
|
|
6153
|
+
common.CommonModule,
|
|
6154
|
+
IconModule,
|
|
6155
|
+
RippleModule
|
|
6156
|
+
],
|
|
6157
|
+
declarations: [
|
|
6158
|
+
IconCollapseHandleComponent
|
|
6159
|
+
],
|
|
6160
|
+
exports: [
|
|
6161
|
+
IconCollapseHandleComponent
|
|
6162
|
+
]
|
|
6163
|
+
},] }
|
|
6164
|
+
];
|
|
6165
|
+
|
|
6037
6166
|
var InputCheckboxComponent = /** @class */ (function (_super) {
|
|
6038
6167
|
__extends(InputCheckboxComponent, _super);
|
|
6039
6168
|
function InputCheckboxComponent(formComponent, iconCacheService, changeDetector, componentFactoryResolver, formUserChangeListener, ngZoneWrapper, elementRef) {
|
|
@@ -6352,7 +6481,7 @@
|
|
|
6352
6481
|
InputDatePickerComponent.decorators = [
|
|
6353
6482
|
{ type: core.Component, args: [{
|
|
6354
6483
|
selector: "co-input-date",
|
|
6355
|
-
template: "\n <ejs-datepicker #ejsDatePicker\n floatLabelType=\"Auto\"\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></ejs-datepicker>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
6484
|
+
template: "\n <ejs-datepicker #ejsDatePicker\n floatLabelType=\"Auto\"\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n [readonly]=\"readonly\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></ejs-datepicker>\n <co-commit-buttons *ngIf=\"showSaveCancel && focused && canSaveOrCancel\"\n [committing]=\"committing\"\n [commitFinished]=\"commitFinished\"\n (commitClick)=\"commitClick($event)\"\n (cancelClick)=\"cancelClick($event)\"\n >\n </co-commit-buttons>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
6356
6485
|
providers: [{
|
|
6357
6486
|
provide: COMPONENT_INTERFACE_NAME, useExisting: core.forwardRef(function () { return InputDatePickerComponent; })
|
|
6358
6487
|
}, {
|
|
@@ -6382,6 +6511,115 @@
|
|
|
6382
6511
|
showClass: [{ type: core.HostBinding, args: ["class.co-input-date",] }]
|
|
6383
6512
|
};
|
|
6384
6513
|
|
|
6514
|
+
var CommitButtonsComponent = /** @class */ (function () {
|
|
6515
|
+
function CommitButtonsComponent(_renderer) {
|
|
6516
|
+
var _this = this;
|
|
6517
|
+
this._renderer = _renderer;
|
|
6518
|
+
this.cancelClick = new core.EventEmitter();
|
|
6519
|
+
this.commitClick = new core.EventEmitter();
|
|
6520
|
+
this._committing = false;
|
|
6521
|
+
this._commitFinished = false;
|
|
6522
|
+
this._handleAnimationIteration = function (event) {
|
|
6523
|
+
_this._renderer.removeClass(event.currentTarget, 'animate');
|
|
6524
|
+
event.currentTarget.removeEventListener('animationiteration', _this._handleAnimationIteration);
|
|
6525
|
+
// elem.removeEventListener('webkitAnimationIteration', () => this._handleAnimationIteration(elem));
|
|
6526
|
+
};
|
|
6527
|
+
}
|
|
6528
|
+
Object.defineProperty(CommitButtonsComponent.prototype, "content", {
|
|
6529
|
+
set: function (children) {
|
|
6530
|
+
this.animateDivs = children.toArray();
|
|
6531
|
+
this._checkAnimation();
|
|
6532
|
+
},
|
|
6533
|
+
enumerable: false,
|
|
6534
|
+
configurable: true
|
|
6535
|
+
});
|
|
6536
|
+
Object.defineProperty(CommitButtonsComponent.prototype, "committing", {
|
|
6537
|
+
get: function () {
|
|
6538
|
+
return this._committing;
|
|
6539
|
+
},
|
|
6540
|
+
set: function (value) {
|
|
6541
|
+
this._committing = value;
|
|
6542
|
+
this._checkAnimation();
|
|
6543
|
+
},
|
|
6544
|
+
enumerable: false,
|
|
6545
|
+
configurable: true
|
|
6546
|
+
});
|
|
6547
|
+
Object.defineProperty(CommitButtonsComponent.prototype, "commitFinished", {
|
|
6548
|
+
get: function () {
|
|
6549
|
+
return this._commitFinished;
|
|
6550
|
+
},
|
|
6551
|
+
set: function (value) {
|
|
6552
|
+
this._commitFinished = value;
|
|
6553
|
+
this._checkAnimationFinished();
|
|
6554
|
+
},
|
|
6555
|
+
enumerable: false,
|
|
6556
|
+
configurable: true
|
|
6557
|
+
});
|
|
6558
|
+
CommitButtonsComponent.prototype.showClass = function () {
|
|
6559
|
+
return true;
|
|
6560
|
+
};
|
|
6561
|
+
CommitButtonsComponent.prototype._checkAnimation = function () {
|
|
6562
|
+
var _this = this;
|
|
6563
|
+
if (this.committing && this.animateDivs) {
|
|
6564
|
+
this.animateDivs.forEach(function (a) { return _this._renderer.addClass(a.nativeElement, 'animate'); });
|
|
6565
|
+
}
|
|
6566
|
+
};
|
|
6567
|
+
CommitButtonsComponent.prototype._checkAnimationFinished = function () {
|
|
6568
|
+
var _this = this;
|
|
6569
|
+
if (this.commitFinished && this.animateDivs) {
|
|
6570
|
+
this.animateDivs.forEach(function (a) {
|
|
6571
|
+
a.nativeElement.addEventListener('animationiteration', _this._handleAnimationIteration);
|
|
6572
|
+
// a.nativeElement.addEventListener('webkitAnimationIteration', (event) => this._handleAnimationIteration(event));
|
|
6573
|
+
});
|
|
6574
|
+
}
|
|
6575
|
+
};
|
|
6576
|
+
return CommitButtonsComponent;
|
|
6577
|
+
}());
|
|
6578
|
+
CommitButtonsComponent.decorators = [
|
|
6579
|
+
{ type: core.Component, args: [{
|
|
6580
|
+
selector: "co-commit-buttons",
|
|
6581
|
+
template: "\n <div class=\"commit-buttons-wrapper\" @showHideSaveCancel>\n <div class=\"commit-buttons-button save\" [class.finished]=\"commitFinished\"\n (click)=\"commitClick.emit($event)\">\n <div class=\"save-button-spinner\" *ngIf=\"committing || commitFinished\">\n <div #animatediv></div>\n <div #animatediv></div>\n <div #animatediv></div>\n <div #animatediv></div>\n </div>\n <div class=\"spinner-checkmark\" *ngIf=\"!committing || commitFinished\"></div>\n </div>\n <div class=\"commit-buttons-button cancel\" (click)=\"cancelClick.emit($event)\">\n <div class=\"cancel-button\"></div>\n </div>\n </div>\n ",
|
|
6582
|
+
animations: [
|
|
6583
|
+
animations.trigger('showHideSaveCancel', [
|
|
6584
|
+
animations.state('*', animations.style({ transform: 'scaleY(1)', opacity: 1 })),
|
|
6585
|
+
animations.state('void', animations.style({ transform: 'scaleY(0)', opacity: 0 })),
|
|
6586
|
+
animations.transition('void <=> *', animations.animate(200))
|
|
6587
|
+
]),
|
|
6588
|
+
],
|
|
6589
|
+
encapsulation: core.ViewEncapsulation.None
|
|
6590
|
+
},] }
|
|
6591
|
+
];
|
|
6592
|
+
CommitButtonsComponent.ctorParameters = function () { return [
|
|
6593
|
+
{ type: core.Renderer2 }
|
|
6594
|
+
]; };
|
|
6595
|
+
CommitButtonsComponent.propDecorators = {
|
|
6596
|
+
content: [{ type: core.ViewChildren, args: ['animatediv', { read: core.ElementRef },] }],
|
|
6597
|
+
committing: [{ type: core.Input }],
|
|
6598
|
+
commitFinished: [{ type: core.Input }],
|
|
6599
|
+
cancelClick: [{ type: core.Output }],
|
|
6600
|
+
commitClick: [{ type: core.Output }],
|
|
6601
|
+
showClass: [{ type: core.HostBinding, args: ["class.co-commit-buttons",] }]
|
|
6602
|
+
};
|
|
6603
|
+
|
|
6604
|
+
var CommitButtonsModule = /** @class */ (function () {
|
|
6605
|
+
function CommitButtonsModule() {
|
|
6606
|
+
}
|
|
6607
|
+
return CommitButtonsModule;
|
|
6608
|
+
}());
|
|
6609
|
+
CommitButtonsModule.decorators = [
|
|
6610
|
+
{ type: core.NgModule, args: [{
|
|
6611
|
+
imports: [
|
|
6612
|
+
common.CommonModule
|
|
6613
|
+
],
|
|
6614
|
+
declarations: [
|
|
6615
|
+
CommitButtonsComponent
|
|
6616
|
+
],
|
|
6617
|
+
exports: [
|
|
6618
|
+
CommitButtonsComponent
|
|
6619
|
+
]
|
|
6620
|
+
},] }
|
|
6621
|
+
];
|
|
6622
|
+
|
|
6385
6623
|
var InputDatePickerModule = /** @class */ (function () {
|
|
6386
6624
|
function InputDatePickerModule() {
|
|
6387
6625
|
}
|
|
@@ -6395,7 +6633,8 @@
|
|
|
6395
6633
|
forms.FormsModule,
|
|
6396
6634
|
IconModule,
|
|
6397
6635
|
AppendPipeModule,
|
|
6398
|
-
ej2AngularCalendars.DatePickerModule
|
|
6636
|
+
ej2AngularCalendars.DatePickerModule,
|
|
6637
|
+
CommitButtonsModule
|
|
6399
6638
|
],
|
|
6400
6639
|
schemas: [
|
|
6401
6640
|
core.NO_ERRORS_SCHEMA
|
|
@@ -6434,7 +6673,7 @@
|
|
|
6434
6673
|
InputDateRangePickerComponent.decorators = [
|
|
6435
6674
|
{ type: core.Component, args: [{
|
|
6436
6675
|
selector: "co-input-date-range",
|
|
6437
|
-
template: "\n <ejs-daterangepicker\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n (ngModelChange)=\"rangeChange()\"\n (close)=\"close.next($event)\"\n (select)=\"select.next($event)\"\n (cleared)=\"cleared.next($event)\"\n
|
|
6676
|
+
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 ",
|
|
6438
6677
|
encapsulation: core.ViewEncapsulation.None
|
|
6439
6678
|
},] }
|
|
6440
6679
|
];
|
|
@@ -7321,115 +7560,6 @@
|
|
|
7321
7560
|
},] }
|
|
7322
7561
|
];
|
|
7323
7562
|
|
|
7324
|
-
var CommitButtonsComponent = /** @class */ (function () {
|
|
7325
|
-
function CommitButtonsComponent(_renderer) {
|
|
7326
|
-
var _this = this;
|
|
7327
|
-
this._renderer = _renderer;
|
|
7328
|
-
this.cancelClick = new core.EventEmitter();
|
|
7329
|
-
this.commitClick = new core.EventEmitter();
|
|
7330
|
-
this._committing = false;
|
|
7331
|
-
this._commitFinished = false;
|
|
7332
|
-
this._handleAnimationIteration = function (event) {
|
|
7333
|
-
_this._renderer.removeClass(event.currentTarget, 'animate');
|
|
7334
|
-
event.currentTarget.removeEventListener('animationiteration', _this._handleAnimationIteration);
|
|
7335
|
-
// elem.removeEventListener('webkitAnimationIteration', () => this._handleAnimationIteration(elem));
|
|
7336
|
-
};
|
|
7337
|
-
}
|
|
7338
|
-
Object.defineProperty(CommitButtonsComponent.prototype, "content", {
|
|
7339
|
-
set: function (children) {
|
|
7340
|
-
this.animateDivs = children.toArray();
|
|
7341
|
-
this._checkAnimation();
|
|
7342
|
-
},
|
|
7343
|
-
enumerable: false,
|
|
7344
|
-
configurable: true
|
|
7345
|
-
});
|
|
7346
|
-
Object.defineProperty(CommitButtonsComponent.prototype, "committing", {
|
|
7347
|
-
get: function () {
|
|
7348
|
-
return this._committing;
|
|
7349
|
-
},
|
|
7350
|
-
set: function (value) {
|
|
7351
|
-
this._committing = value;
|
|
7352
|
-
this._checkAnimation();
|
|
7353
|
-
},
|
|
7354
|
-
enumerable: false,
|
|
7355
|
-
configurable: true
|
|
7356
|
-
});
|
|
7357
|
-
Object.defineProperty(CommitButtonsComponent.prototype, "commitFinished", {
|
|
7358
|
-
get: function () {
|
|
7359
|
-
return this._commitFinished;
|
|
7360
|
-
},
|
|
7361
|
-
set: function (value) {
|
|
7362
|
-
this._commitFinished = value;
|
|
7363
|
-
this._checkAnimationFinished();
|
|
7364
|
-
},
|
|
7365
|
-
enumerable: false,
|
|
7366
|
-
configurable: true
|
|
7367
|
-
});
|
|
7368
|
-
CommitButtonsComponent.prototype.showClass = function () {
|
|
7369
|
-
return true;
|
|
7370
|
-
};
|
|
7371
|
-
CommitButtonsComponent.prototype._checkAnimation = function () {
|
|
7372
|
-
var _this = this;
|
|
7373
|
-
if (this.committing && this.animateDivs) {
|
|
7374
|
-
this.animateDivs.forEach(function (a) { return _this._renderer.addClass(a.nativeElement, 'animate'); });
|
|
7375
|
-
}
|
|
7376
|
-
};
|
|
7377
|
-
CommitButtonsComponent.prototype._checkAnimationFinished = function () {
|
|
7378
|
-
var _this = this;
|
|
7379
|
-
if (this.commitFinished && this.animateDivs) {
|
|
7380
|
-
this.animateDivs.forEach(function (a) {
|
|
7381
|
-
a.nativeElement.addEventListener('animationiteration', _this._handleAnimationIteration);
|
|
7382
|
-
// a.nativeElement.addEventListener('webkitAnimationIteration', (event) => this._handleAnimationIteration(event));
|
|
7383
|
-
});
|
|
7384
|
-
}
|
|
7385
|
-
};
|
|
7386
|
-
return CommitButtonsComponent;
|
|
7387
|
-
}());
|
|
7388
|
-
CommitButtonsComponent.decorators = [
|
|
7389
|
-
{ type: core.Component, args: [{
|
|
7390
|
-
selector: "co-commit-buttons",
|
|
7391
|
-
template: "\n <div class=\"commit-buttons-wrapper\" @showHideSaveCancel>\n <div class=\"commit-buttons-button save\" [class.finished]=\"commitFinished\"\n (click)=\"commitClick.emit($event)\">\n <div class=\"save-button-spinner\" *ngIf=\"committing || commitFinished\">\n <div #animatediv></div>\n <div #animatediv></div>\n <div #animatediv></div>\n <div #animatediv></div>\n </div>\n <div class=\"spinner-checkmark\" *ngIf=\"!committing || commitFinished\"></div>\n </div>\n <div class=\"commit-buttons-button cancel\" (click)=\"cancelClick.emit($event)\">\n <div class=\"cancel-button\"></div>\n </div>\n </div>\n ",
|
|
7392
|
-
animations: [
|
|
7393
|
-
animations.trigger('showHideSaveCancel', [
|
|
7394
|
-
animations.state('*', animations.style({ transform: 'scaleY(1)', opacity: 1 })),
|
|
7395
|
-
animations.state('void', animations.style({ transform: 'scaleY(0)', opacity: 0 })),
|
|
7396
|
-
animations.transition('void <=> *', animations.animate(200))
|
|
7397
|
-
]),
|
|
7398
|
-
],
|
|
7399
|
-
encapsulation: core.ViewEncapsulation.None
|
|
7400
|
-
},] }
|
|
7401
|
-
];
|
|
7402
|
-
CommitButtonsComponent.ctorParameters = function () { return [
|
|
7403
|
-
{ type: core.Renderer2 }
|
|
7404
|
-
]; };
|
|
7405
|
-
CommitButtonsComponent.propDecorators = {
|
|
7406
|
-
content: [{ type: core.ViewChildren, args: ['animatediv', { read: core.ElementRef },] }],
|
|
7407
|
-
committing: [{ type: core.Input }],
|
|
7408
|
-
commitFinished: [{ type: core.Input }],
|
|
7409
|
-
cancelClick: [{ type: core.Output }],
|
|
7410
|
-
commitClick: [{ type: core.Output }],
|
|
7411
|
-
showClass: [{ type: core.HostBinding, args: ["class.co-commit-buttons",] }]
|
|
7412
|
-
};
|
|
7413
|
-
|
|
7414
|
-
var CommitButtonsModule = /** @class */ (function () {
|
|
7415
|
-
function CommitButtonsModule() {
|
|
7416
|
-
}
|
|
7417
|
-
return CommitButtonsModule;
|
|
7418
|
-
}());
|
|
7419
|
-
CommitButtonsModule.decorators = [
|
|
7420
|
-
{ type: core.NgModule, args: [{
|
|
7421
|
-
imports: [
|
|
7422
|
-
common.CommonModule
|
|
7423
|
-
],
|
|
7424
|
-
declarations: [
|
|
7425
|
-
CommitButtonsComponent
|
|
7426
|
-
],
|
|
7427
|
-
exports: [
|
|
7428
|
-
CommitButtonsComponent
|
|
7429
|
-
]
|
|
7430
|
-
},] }
|
|
7431
|
-
];
|
|
7432
|
-
|
|
7433
7563
|
var InputTextModule = /** @class */ (function () {
|
|
7434
7564
|
function InputTextModule() {
|
|
7435
7565
|
}
|
|
@@ -11084,6 +11214,8 @@
|
|
|
11084
11214
|
exports.GridToolbarComponent = GridToolbarComponent;
|
|
11085
11215
|
exports.GridToolbarModule = GridToolbarModule;
|
|
11086
11216
|
exports.IconCacheService = IconCacheService;
|
|
11217
|
+
exports.IconCollapseHandleComponent = IconCollapseHandleComponent;
|
|
11218
|
+
exports.IconCollapseHandleModule = IconCollapseHandleModule;
|
|
11087
11219
|
exports.IconComponent = IconComponent;
|
|
11088
11220
|
exports.IconModule = IconModule;
|
|
11089
11221
|
exports.ImageComponent = ImageComponent;
|
|
@@ -11115,6 +11247,7 @@
|
|
|
11115
11247
|
exports.MultiSelectListComponent = MultiSelectListComponent;
|
|
11116
11248
|
exports.MultiSelectListModule = MultiSelectListModule;
|
|
11117
11249
|
exports.ObserveVisibilityModule = ObserveVisibilityModule;
|
|
11250
|
+
exports.OrientationOfDirection = OrientationOfDirection;
|
|
11118
11251
|
exports.PaginationBarComponent = PaginationBarComponent;
|
|
11119
11252
|
exports.PaginationBarModule = PaginationBarModule;
|
|
11120
11253
|
exports.PaginationComponent = PaginationComponent;
|
|
@@ -11158,10 +11291,10 @@
|
|
|
11158
11291
|
exports["ɵq"] = BaseGridComponent;
|
|
11159
11292
|
exports["ɵr"] = AppendPipeModule;
|
|
11160
11293
|
exports["ɵs"] = AppendPipe;
|
|
11161
|
-
exports["ɵt"] =
|
|
11162
|
-
exports["ɵu"] =
|
|
11163
|
-
exports["ɵv"] =
|
|
11164
|
-
exports["ɵw"] =
|
|
11294
|
+
exports["ɵt"] = CommitButtonsModule;
|
|
11295
|
+
exports["ɵu"] = CommitButtonsComponent;
|
|
11296
|
+
exports["ɵv"] = ValidationErrorModule;
|
|
11297
|
+
exports["ɵw"] = ValidationErrorComponent;
|
|
11165
11298
|
exports["ɵx"] = PopupShowerService;
|
|
11166
11299
|
exports["ɵy"] = BaseSimpleGridComponent;
|
|
11167
11300
|
exports["ɵz"] = ObserveVisibilityDirective;
|