@seniorsistemas/angular-components 16.6.1 → 16.6.3

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.
@@ -99,7 +99,7 @@ var BadgeComponent = /** @class */ (function () {
99
99
  BadgeComponent = __decorate([
100
100
  Component({
101
101
  selector: "s-badge",
102
- template: "<span\n class=\"badge\"\n [ngClass]=\"{ \n 'badge--red': color == 'red',\n 'badge--orange': color == 'orange',\n 'badge--yellow': color == 'yellow',\n 'badge--blue': color == 'blue',\n 'badge--green': color == 'green',\n 'badge--gray': color == 'gray',\n 'badge--selectable': selectable\n }\">\n <span\n *ngIf=\"iconClass\"\n class=\"badge-icon\"\n [ngClass]=\"{\n 'fas fa-rocket': true,\n 'badge-icon--left': iconPosition == 'left' && text,\n 'badge-icon--right': iconPosition == 'right' && text\n }\">\n </span>\n <p class=\"badge-text\">{{ text }}</p>\n</span>",
102
+ template: "<span\n class=\"badge\"\n [ngClass]=\"{ \n 'badge--red': color == 'red',\n 'badge--orange': color == 'orange',\n 'badge--yellow': color == 'yellow',\n 'badge--blue': color == 'blue',\n 'badge--green': color == 'green',\n 'badge--gray': color == 'gray',\n 'badge--selectable': selectable\n }\">\n <span\n *ngIf=\"iconClass\"\n [class]=\"'badge-icon ' + iconClass\"\n [ngClass]=\"{\n 'badge-icon--left': iconPosition == 'left' && text,\n 'badge-icon--right': iconPosition == 'right' && text\n }\">\n </span>\n <p class=\"badge-text\">{{ text }}</p>\n</span>",
103
103
  styles: [".badge{-ms-flex-align:center;align-items:center;border-radius:12px;display:-ms-inline-flexbox;display:inline-flex;height:1.25rem;-ms-flex-pack:center;justify-content:center;min-width:20px;padding:0 .5rem}.badge .badge-text{color:#333;font-family:\"Open Sans\",sans-serif;font-size:.75rem;font-weight:400;line-height:150%}.badge .badge-icon{color:#333;font-size:10px}.badge .badge-icon--left{margin-right:8px}.badge .badge-icon--right{margin-left:8px;-ms-flex-order:2;order:2}.badge--red{background-color:#fcd2d2;border:1px solid #c13018}.badge--orange{background-color:#fce3ba;border:1px solid #f8931f}.badge--yellow{background-color:#fef4e3;border:1px solid #fcbf10}.badge--blue{background-color:#d5e8ec;border:1px solid #428bca}.badge--green{background-color:#e6ffb3;border:1px solid #0c9348}.badge--gray{background-color:#e5eaea;border:1px solid #697882}.badge--selectable{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}"]
104
104
  })
105
105
  ], BadgeComponent);
@@ -2148,7 +2148,7 @@ var LookupComponent = /** @class */ (function () {
2148
2148
  this.onSelect.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () { return _this.onChange(_this.value); });
2149
2149
  this.onUnselect.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () { return _this.onChange(_this.value); });
2150
2150
  this.onClear.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () {
2151
- if (_this.multiple || !_this.value) {
2151
+ if (_this.multiple || _this.value) {
2152
2152
  return;
2153
2153
  }
2154
2154
  _this.onChange(null);