@wizishop/angular-components 0.0.143 → 0.0.146

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.
@@ -608,6 +608,9 @@ $wac-subtitle-color: #7A87A1!default;
608
608
  justify-content: center;
609
609
  position: relative;
610
610
  padding: 10px;
611
+ &:not(.valid) {
612
+ cursor: pointer;
613
+ }
611
614
  @include media('<desktop') {
612
615
  width: auto;
613
616
  min-width: unset;
@@ -675,6 +678,15 @@ $wac-subtitle-color: #7A87A1!default;
675
678
  display: none;
676
679
  }
677
680
  }
681
+ &:hover:not(.valid), &:focus:not(.valid) {
682
+ .round {
683
+ background-color: $wac-wizishop-blue;
684
+ border-color: $wac-wizishop-blue;
685
+ > span, > i {
686
+ color: $wac-white;
687
+ }
688
+ }
689
+ }
678
690
  }
679
691
  }
680
692
  .wac-button {
@@ -6488,7 +6500,7 @@ div.wac-field-input-search {
6488
6500
  bottom: -3px;
6489
6501
  left: 0;
6490
6502
  width: 100%;
6491
- height: 1px;
6503
+ height: 1.5px;
6492
6504
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23e95656' stroke-width='1' stroke-dasharray='3%2c 6' stroke-dashoffset='4' stroke-linecap='square'/%3e%3c/svg%3e");
6493
6505
  background-position: left top;
6494
6506
  }
@@ -3117,7 +3117,7 @@
3117
3117
  SelectInTextComponent.decorators = [
3118
3118
  { type: i0.Component, args: [{
3119
3119
  selector: 'wac-select-in-text',
3120
- template: "<div class=\"wac-select-in-text\" wzAutoHide (clickOutside)=\"onClose()\" [ngStyle]=\"{ 'max-width': maxWidth }\">\n <div class=\"wac-select-in-text__prepend\" [innerHTML]=\"preText\" *ngIf=\"preText\"></div>\n <div #current class=\"wac-select-in-text__current\" (click)=\"openCategories = !openCategories\">\n <span>{{ currentLabel }}</span>\n <div\n class=\"wac-select-in-text__content\"\n [ngClass]=\"{ hidden: !openCategories && !alwaysOpen, open: type === 'open' }\"\n [ngStyle]=\"{ 'max-width': maxWidthItems }\"\n >\n <perfect-scrollbar [config]=\"{ suppressScrollX: true }\" *ngIf=\"items.length > 0\">\n <div class=\"wac-select-in-text__content__item\" *ngFor=\"let item of items; trackBy: customTB; let index = index;\">\n <div [ngClass]=\"{ selected: item.selected }\" (click)=\"onSelectItem(index)\">\n <span class=\"icon\" [innerHTML]=\"item.icon\" *ngIf=\"item.icon\"></span>{{ item.name }}\n </div>\n </div>\n </perfect-scrollbar>\n </div>\n </div>\n <div class=\"wac-select-in-text__after\" [innerHTML]=\"postText\" *ngIf=\"postText\"></div>\n</div>\n"
3120
+ template: "<div class=\"wac-select-in-text\" wzAutoHide (clickOutside)=\"onClose()\" [ngStyle]=\"{ 'max-width': maxWidth }\" [zIndexToggle]=\"openCategories\">\n <div class=\"wac-select-in-text__prepend\" [innerHTML]=\"preText\" *ngIf=\"preText\"></div>\n <div #current class=\"wac-select-in-text__current\" (click)=\"openCategories = !openCategories\">\n <span>{{ currentLabel }}</span>\n <div\n class=\"wac-select-in-text__content\"\n [ngClass]=\"{ hidden: !openCategories && !alwaysOpen, open: type === 'open' }\"\n [ngStyle]=\"{ 'max-width': maxWidthItems }\"\n >\n <perfect-scrollbar [config]=\"{ suppressScrollX: true }\" *ngIf=\"items.length > 0\">\n <div class=\"wac-select-in-text__content__item\" *ngFor=\"let item of items; trackBy: customTB; let index = index;\">\n <div [ngClass]=\"{ selected: item.selected }\" (click)=\"onSelectItem(index)\">\n <span class=\"icon\" [innerHTML]=\"item.icon\" *ngIf=\"item.icon\"></span>{{ item.name }}\n </div>\n </div>\n </perfect-scrollbar>\n </div>\n </div>\n <div class=\"wac-select-in-text__after\" [innerHTML]=\"postText\" *ngIf=\"postText\"></div>\n</div>\n"
3121
3121
  },] }
3122
3122
  ];
3123
3123
  SelectInTextComponent.ctorParameters = function () { return []; };
@@ -4212,24 +4212,33 @@
4212
4212
 
4213
4213
  var BreadcrumbsComponent = /** @class */ (function () {
4214
4214
  function BreadcrumbsComponent() {
4215
+ this.index = 0;
4216
+ this.indexChange = new i0.EventEmitter();
4215
4217
  }
4216
4218
  BreadcrumbsComponent.prototype.ngOnInit = function () {
4217
4219
  };
4220
+ BreadcrumbsComponent.prototype.valueChanged = function (i) {
4221
+ this.index = i;
4222
+ this.indexChange.emit(this.index);
4223
+ };
4218
4224
  return BreadcrumbsComponent;
4219
4225
  }());
4220
4226
  BreadcrumbsComponent.decorators = [
4221
4227
  { type: i0.Component, args: [{
4222
4228
  selector: 'wac-breadcrumbs',
4223
- template: "<div class=\"wac-breadcrumbs\">\n <div class=\"wac-breadcrumbs__wrapper\">\n <div class=\"wac-breadcrumbs__item\" *ngFor=\"let b of breadcrumbs; let i = index;\">\n <div class=\"round\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\"><span *ngIf=\"!b.valid\"><span *ngIf=\"i < 9\">0</span>{{ i + 1 }}</span><i class=\"fas fa-check\" *ngIf=\"b.valid\"></i></div>\n <div class=\"name\" [ngClass]=\"{'valid': b.valid}\">{{ b.name }}</div>\n <i class=\"fas fa-chevron-right\"></i>\n </div>\n </div>\n</div>\n"
4229
+ template: "<div class=\"wac-breadcrumbs\">\n <div class=\"wac-breadcrumbs__wrapper\">\n <div class=\"wac-breadcrumbs__item\" *ngFor=\"let b of breadcrumbs; let i = index;\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\" (click)=\"valueChanged(i)\">\n <div class=\"round\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\"><span *ngIf=\"!b.valid\"><span *ngIf=\"i < 9\">0</span>{{ i + 1 }}</span><i class=\"fas fa-check\" *ngIf=\"b.valid\"></i></div>\n <div class=\"name\" [ngClass]=\"{'valid': b.valid}\">{{ b.name }}</div>\n <i class=\"fas fa-chevron-right\"></i>\n </div>\n </div>\n</div>\n"
4224
4230
  },] }
4225
4231
  ];
4226
4232
  BreadcrumbsComponent.ctorParameters = function () { return []; };
4227
4233
  BreadcrumbsComponent.propDecorators = {
4228
- breadcrumbs: [{ type: i0.Input }]
4234
+ breadcrumbs: [{ type: i0.Input }],
4235
+ indexChange: [{ type: i0.Output }]
4229
4236
  };
4230
4237
 
4231
4238
  var CardPriceComponent = /** @class */ (function () {
4232
4239
  function CardPriceComponent() {
4240
+ this.disabled = false;
4241
+ this.btnTextcolor = '#ffffff';
4233
4242
  this.click = new i0.EventEmitter();
4234
4243
  }
4235
4244
  CardPriceComponent.prototype.ngOnInit = function () {
@@ -4242,7 +4251,7 @@
4242
4251
  CardPriceComponent.decorators = [
4243
4252
  { type: i0.Component, args: [{
4244
4253
  selector: 'wac-card-price',
4245
- template: "<div class=\"wac-card-price\">\n <strong>{{amount}}</strong>\n <p>{{title}}</p>\n <div class=\"price\">\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\">{{priceWording}}</span>\n </div>\n <div class=\"subtitle\">{{subtitle}}</div>\n <div class=\"cta\">\n <wac-button [label]=\"btnLabel\" extraClasses=\"is-success\" (click)=\"triggerClick()\"></wac-button>\n </div>\n</div>\n"
4254
+ template: "<div class=\"wac-card-price\">\n <strong>{{amount}}</strong>\n <p>{{title}}</p>\n <div class=\"price\">\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\">{{priceWording}}</span>\n </div>\n <div class=\"subtitle\">{{subtitle}}</div>\n <div class=\"cta\">\n <wac-button [label]=\"btnLabel\" extraClasses=\"is-success\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [textcolor]=\"btnTextcolor\"></wac-button>\n </div>\n</div>\n"
4246
4255
  },] }
4247
4256
  ];
4248
4257
  CardPriceComponent.ctorParameters = function () { return []; };
@@ -4254,6 +4263,8 @@
4254
4263
  priceWording: [{ type: i0.Input }],
4255
4264
  subtitle: [{ type: i0.Input }],
4256
4265
  btnLabel: [{ type: i0.Input }],
4266
+ disabled: [{ type: i0.Input }],
4267
+ btnTextcolor: [{ type: i0.Input }],
4257
4268
  click: [{ type: i0.Output }]
4258
4269
  };
4259
4270