@wizishop/angular-components 0.0.65 → 0.0.69

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.
@@ -118,6 +118,14 @@ $wac-color-success-popup-alert: #6DCC95!default;
118
118
  width: rem(36);
119
119
  height: rem(36);
120
120
  }
121
+
122
+ .wac-table__head__cell--checkbox .wac-field-checkbox.alone .is-checkradio[type=checkbox]:not(:checked) + label:before {
123
+ background-color: $wac-white;
124
+ }
125
+
126
+ .wac-table__head__cell--checkbox .wac-field-checkbox__row {
127
+ transform: translateX(5px);
128
+ }
121
129
  .wac-radio {
122
130
  .is-checkradio[type='radio'] {
123
131
  outline: 0 !important;
@@ -2432,6 +2440,10 @@ $wac-color-success-popup-alert: #6DCC95!default;
2432
2440
  width: 100%;
2433
2441
  border-bottom: 1px solid $wac-textarea-border-color;
2434
2442
 
2443
+ &:first-child:last-child {
2444
+ border-bottom: none;
2445
+ }
2446
+
2435
2447
  &__cell {
2436
2448
  @include flexbox();
2437
2449
  @include flex(1);
@@ -2506,8 +2518,8 @@ $wac-color-success-popup-alert: #6DCC95!default;
2506
2518
  font-size: rem(14);
2507
2519
  line-height: rem(16);
2508
2520
  border-radius: rem(3);
2509
- padding: rem(8) rem(15);
2510
- font-weight: 500;
2521
+ padding: rem(9);
2522
+ font-weight: 600;
2511
2523
  transition: 0.3s ease;
2512
2524
 
2513
2525
  &.big {
@@ -5587,7 +5599,7 @@ a.wac-link {
5587
5599
 
5588
5600
  &__sublevel {
5589
5601
  position: absolute;
5590
- width: 160px;
5602
+ min-width: 160px;
5591
5603
  top: 100%;
5592
5604
  right: 0;
5593
5605
  z-index: -1;
@@ -5601,6 +5613,7 @@ a.wac-link {
5601
5613
  &__container {
5602
5614
  padding: 10px 10px;
5603
5615
  border: 1px solid $wac-border-color;
5616
+ border-radius: 3px;
5604
5617
 
5605
5618
  &__item {
5606
5619
  padding: 5.7px 10px;
@@ -3301,6 +3301,7 @@
3301
3301
  function FreePopinComponent(domService) {
3302
3302
  this.domService = domService;
3303
3303
  this.visible = false;
3304
+ this.disableCloseOutside = false;
3304
3305
  this.visibleChange = new i0.EventEmitter();
3305
3306
  this.response = new i0.EventEmitter();
3306
3307
  this.background = true;
@@ -3318,7 +3319,7 @@
3318
3319
  this.closePopin();
3319
3320
  };
3320
3321
  FreePopinComponent.prototype.closePopin = function () {
3321
- if (!this.firstOpen) {
3322
+ if (!this.firstOpen || this.disableCloseOutside) {
3322
3323
  this.visible = false;
3323
3324
  this.visibleChange.emit(this.visible);
3324
3325
  this.firstOpen = true;
@@ -3332,7 +3333,7 @@
3332
3333
  FreePopinComponent.decorators = [
3333
3334
  { type: i0.Component, args: [{
3334
3335
  selector: 'wac-free-popin',
3335
- template: "<div class=\"wac-free-popin\" *ngIf=\"visible\">\n\n\n <div class=\"wac-free-popin__wrapper\" wzAutoHide (clickOutside)=\"closePopin()\">\n <a class=\"wac-free-popin__wrapper__button-close\" (click)=\"closePopin()\">\n <i class=\"fas fa-times\"></i>\n </a>\n <div class=\"wac-free-popin__wrapper__content\">\n <perfect-scrollbar [config]=\"{ suppressScrollX: true }\">\n <ng-content></ng-content>\n </perfect-scrollbar>\n </div>\n <div class=\"wac-free-popin__wrapper__buttons\">\n <div class=\"wac-free-popin__wrapper__buttons__button\" *ngIf=\"okButtonLabel\">\n <wac-button [extraClasses]=\"'is-success'\" [label]=\"okButtonLabel\" hasLoader=\"true\" (click)=\"validatePopin()\"></wac-button>\n </div>\n <div class=\"wac-free-popin__wrapper__buttons__button\" *ngIf=\"koButtonLabel\">\n <wac-button [extraClasses]=\"'is-danger is-outlined'\" [label]=\"koButtonLabel\" hasLoader=\"true\" (click)=\"refusePopin()\"></wac-button>\n </div>\n </div>\n </div>\n <div class=\"wac-free-popin__background\" *ngIf=\"background\"></div>\n</div>\n"
3336
+ template: "<div class=\"wac-free-popin\" *ngIf=\"visible\">\n\n\n <div class=\"wac-free-popin__wrapper\" wzAutoHide (clickOutside)=\"!disableCloseOutside ? closePopin() : ''\">\n <a class=\"wac-free-popin__wrapper__button-close\" (click)=\"closePopin()\">\n <i class=\"fas fa-times\"></i>\n </a>\n <div class=\"wac-free-popin__wrapper__content\">\n <perfect-scrollbar [config]=\"{ suppressScrollX: true }\">\n <ng-content></ng-content>\n </perfect-scrollbar>\n </div>\n <div class=\"wac-free-popin__wrapper__buttons\">\n <div class=\"wac-free-popin__wrapper__buttons__button\" *ngIf=\"okButtonLabel\">\n <wac-button [extraClasses]=\"'is-success'\" [label]=\"okButtonLabel\" hasLoader=\"true\" (click)=\"validatePopin()\"></wac-button>\n </div>\n <div class=\"wac-free-popin__wrapper__buttons__button\" *ngIf=\"koButtonLabel\">\n <wac-button [extraClasses]=\"'is-danger is-outlined'\" [label]=\"koButtonLabel\" hasLoader=\"true\" (click)=\"refusePopin()\"></wac-button>\n </div>\n </div>\n </div>\n <div class=\"wac-free-popin__background\" *ngIf=\"background\"></div>\n</div>\n"
3336
3337
  },] }
3337
3338
  ];
3338
3339
  FreePopinComponent.ctorParameters = function () { return [
@@ -3342,6 +3343,7 @@
3342
3343
  okButtonLabel: [{ type: i0.Input }],
3343
3344
  koButtonLabel: [{ type: i0.Input }],
3344
3345
  visible: [{ type: i0.Input }],
3346
+ disableCloseOutside: [{ type: i0.Input }],
3345
3347
  visibleChange: [{ type: i0.Output }],
3346
3348
  response: [{ type: i0.Output }],
3347
3349
  background: [{ type: i0.Input }]