@wizishop/angular-components 0.0.64 → 0.0.68

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,13 +3319,16 @@
3318
3319
  this.closePopin();
3319
3320
  };
3320
3321
  FreePopinComponent.prototype.closePopin = function () {
3322
+ console.log('ici');
3321
3323
  if (!this.firstOpen) {
3322
3324
  this.visible = false;
3323
3325
  this.visibleChange.emit(this.visible);
3324
3326
  this.firstOpen = true;
3327
+ console.log('ici2');
3325
3328
  }
3326
3329
  else {
3327
3330
  this.firstOpen = false;
3331
+ console.log('ici3');
3328
3332
  }
3329
3333
  };
3330
3334
  return FreePopinComponent;
@@ -3332,7 +3336,7 @@
3332
3336
  FreePopinComponent.decorators = [
3333
3337
  { type: i0.Component, args: [{
3334
3338
  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"
3339
+ 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
3340
  },] }
3337
3341
  ];
3338
3342
  FreePopinComponent.ctorParameters = function () { return [
@@ -3342,6 +3346,7 @@
3342
3346
  okButtonLabel: [{ type: i0.Input }],
3343
3347
  koButtonLabel: [{ type: i0.Input }],
3344
3348
  visible: [{ type: i0.Input }],
3349
+ disableCloseOutside: [{ type: i0.Input }],
3345
3350
  visibleChange: [{ type: i0.Output }],
3346
3351
  response: [{ type: i0.Output }],
3347
3352
  background: [{ type: i0.Input }]
@@ -3686,7 +3691,9 @@
3686
3691
  var SelectedListComponent = /** @class */ (function () {
3687
3692
  function SelectedListComponent() {
3688
3693
  this.enableSelectAll = true;
3689
- this.selectedItems = new i0.EventEmitter();
3694
+ this.selectedItemsIndex = new i0.EventEmitter();
3695
+ this.selectedItemsAll = new i0.EventEmitter();
3696
+ this.unSelectedItemsAll = new i0.EventEmitter();
3690
3697
  this.selectedOptionIndex = [];
3691
3698
  this.switchSelectAll = false;
3692
3699
  }
@@ -3706,7 +3713,7 @@
3706
3713
  _this.selectedOptionIndex.push(i);
3707
3714
  });
3708
3715
  this.switchSelectAll = true;
3709
- this.selectedItems.emit(this.selectedOptionIndex);
3716
+ this.selectedItemsAll.emit(this.selectedOptionIndex);
3710
3717
  };
3711
3718
  SelectedListComponent.prototype.checkSelectedItem = function () {
3712
3719
  var _this = this;
@@ -3724,12 +3731,12 @@
3724
3731
  _this.options[i].checked = false;
3725
3732
  });
3726
3733
  this.switchSelectAll = false;
3727
- this.selectedItems.emit(this.selectedOptionIndex);
3734
+ this.unSelectedItemsAll.emit(this.selectedOptionIndex);
3728
3735
  };
3729
3736
  SelectedListComponent.prototype.selectItem = function (i) {
3730
3737
  this.options[i].checked = !this.options[i].checked;
3731
3738
  this.checkSelectedItem();
3732
- this.selectedItems.emit(this.selectedOptionIndex);
3739
+ this.selectedItemsIndex.emit(i);
3733
3740
  };
3734
3741
  return SelectedListComponent;
3735
3742
  }());
@@ -3745,7 +3752,9 @@
3745
3752
  textSelectAll: [{ type: i0.Input }],
3746
3753
  textUnSelectAll: [{ type: i0.Input }],
3747
3754
  enableSelectAll: [{ type: i0.Input }],
3748
- selectedItems: [{ type: i0.Output }]
3755
+ selectedItemsIndex: [{ type: i0.Output }],
3756
+ selectedItemsAll: [{ type: i0.Output }],
3757
+ unSelectedItemsAll: [{ type: i0.Output }]
3749
3758
  };
3750
3759
 
3751
3760
  var components = [