@wizishop/angular-components 0.0.103 → 0.0.106

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.
@@ -810,7 +810,7 @@
810
810
  TableComponent.prototype.setTablesFilters = function () {
811
811
  this.tableFilters = {
812
812
  sort: this._tableFiltersGroup.get('sort'),
813
- order: this._tableFiltersGroup.get('order'),
813
+ order: this._tableFiltersGroup.get('order') ? this._tableFiltersGroup.get('order') === 'true' : undefined,
814
814
  searchValue: this._tableFiltersGroup.get('searchValue'),
815
815
  itemsPerPage: this._tableFiltersGroup.get('itemsPerPage') ? parseInt(this._tableFiltersGroup.get('itemsPerPage')) : 0,
816
816
  currentPage: this._tableFiltersGroup.get('currentPage') ? parseInt(this._tableFiltersGroup.get('currentPage')) : 0,
@@ -865,7 +865,8 @@
865
865
  TagComponent.decorators = [
866
866
  { type: i0.Component, args: [{
867
867
  selector: 'wac-tag',
868
- template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big }\">\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n"
868
+ template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big }\">\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n",
869
+ encapsulation: i0.ViewEncapsulation.None
869
870
  },] }
870
871
  ];
871
872
  TagComponent.ctorParameters = function () { return []; };
@@ -1917,9 +1918,7 @@
1917
1918
  },
1918
1919
  set: function (link) {
1919
1920
  this._link = link;
1920
- if (link && this.renderer2) {
1921
- this.setAttributesLink();
1922
- }
1921
+ this.setAttributesLink();
1923
1922
  },
1924
1923
  enumerable: false,
1925
1924
  configurable: true