qms-angular 1.1.29 → 1.1.31
Sign up to get free protection for your applications and to get access to all the features.
- package/bundles/qms-angular.umd.js +15 -11
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/components/breadcrumb/breadcrumb-item.directive.js +2 -2
- package/esm2015/lib/components/list/list.js +9 -6
- package/esm2015/lib/directives/chips/chip.directive.js +2 -2
- package/esm2015/lib/directives/dropdown-menu/dropdown-item.directive.js +2 -2
- package/esm2015/lib/directives/file-upload/file-upload-multiple.directive.js +2 -2
- package/esm2015/lib/directives/file-upload/file-upload.directive.js +2 -2
- package/esm2015/lib/directives/search-field.directive.js +2 -2
- package/fesm2015/qms-angular.js +14 -11
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/directives/file-upload/file-upload-multiple.directive.d.ts +1 -1
- package/lib/directives/search-field.directive.d.ts +1 -1
- package/package.json +1 -1
- package/qms-angular.metadata.json +1 -1
@@ -1305,7 +1305,7 @@
|
|
1305
1305
|
this.ele = ele;
|
1306
1306
|
}
|
1307
1307
|
QMSInputChipDirective.prototype.ngOnChanges = function (changes) {
|
1308
|
-
if (
|
1308
|
+
if (this.selected) {
|
1309
1309
|
this.ele.nativeElement.classList.add('qms-chip-selected');
|
1310
1310
|
}
|
1311
1311
|
else {
|
@@ -1339,7 +1339,7 @@
|
|
1339
1339
|
this.ele = ele;
|
1340
1340
|
}
|
1341
1341
|
QMSDropdownMenuItem.prototype.ngOnChanges = function (changes) {
|
1342
|
-
if (
|
1342
|
+
if (this.selected) {
|
1343
1343
|
this.ele.nativeElement.classList.add('qms-dropdown-menu-item-selected');
|
1344
1344
|
}
|
1345
1345
|
else {
|
@@ -1557,7 +1557,7 @@
|
|
1557
1557
|
this.ele = ele;
|
1558
1558
|
}
|
1559
1559
|
QMSFileUploadMultipleDirective.prototype.ngOnChanges = function (changes) {
|
1560
|
-
if (
|
1560
|
+
if (this.isLoading) {
|
1561
1561
|
this.ele.nativeElement.classList.add('qms-file-upload-loading');
|
1562
1562
|
}
|
1563
1563
|
else {
|
@@ -1734,7 +1734,7 @@
|
|
1734
1734
|
};
|
1735
1735
|
}
|
1736
1736
|
QMSFileUploadDirective.prototype.ngOnChanges = function (changes) {
|
1737
|
-
if (
|
1737
|
+
if (this.isLoading) {
|
1738
1738
|
this.ele.nativeElement.classList.add('qms-file-upload-loading');
|
1739
1739
|
}
|
1740
1740
|
else {
|
@@ -1987,7 +1987,7 @@
|
|
1987
1987
|
this.renderer = renderer;
|
1988
1988
|
}
|
1989
1989
|
QMSSearchFieldDirective.prototype.ngOnChanges = function (changes) {
|
1990
|
-
if (
|
1990
|
+
if (this.isLoading) {
|
1991
1991
|
this.ele.nativeElement.classList.add('qms-search-field-loading');
|
1992
1992
|
}
|
1993
1993
|
else {
|
@@ -4378,11 +4378,15 @@
|
|
4378
4378
|
this.renderer = renderer;
|
4379
4379
|
}
|
4380
4380
|
QMSListExpansionHeader.prototype.onClick = function ($event) {
|
4381
|
-
var
|
4382
|
-
|
4383
|
-
|
4384
|
-
|
4385
|
-
|
4381
|
+
var _this = this;
|
4382
|
+
setTimeout(function () {
|
4383
|
+
if (_this.elRef.nativeElement.classList.contains('mat-expanded')) {
|
4384
|
+
_this.renderer.addClass(_this.elRef.nativeElement, 'active-item');
|
4385
|
+
}
|
4386
|
+
else {
|
4387
|
+
_this.renderer.removeClass(_this.elRef.nativeElement, 'active-item');
|
4388
|
+
}
|
4389
|
+
}, 200);
|
4386
4390
|
};
|
4387
4391
|
QMSListExpansionHeader.prototype.ngAfterContentInit = function () {
|
4388
4392
|
core.setLines(this._lines, this.elRef);
|
@@ -5016,7 +5020,7 @@
|
|
5016
5020
|
}, 1000);
|
5017
5021
|
};
|
5018
5022
|
QMSBreadcrumbItemDirective.prototype.ngOnChanges = function (changes) {
|
5019
|
-
if (
|
5023
|
+
if (this.isLastItem) {
|
5020
5024
|
this.ele.nativeElement.classList.add('qms-breadcrumb-last-item');
|
5021
5025
|
}
|
5022
5026
|
else {
|