@wizishop/angular-components 0.0.101 → 0.0.102
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.
- package/angular-components.scss +7 -4
- package/bundles/wizishop-angular-components.umd.js +9 -7
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +1 -1
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/table/shared/table-filters-group.model.js +7 -1
- package/esm2015/lib/components/table/table.component.js +1 -1
- package/esm2015/lib/components/tag/tag.component.js +4 -8
- package/fesm2015/wizishop-angular-components.js +9 -7
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/table/shared/table-filters-group.model.d.ts +2 -0
- package/lib/components/tag/tag.component.d.ts +1 -1
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.102.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.101.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -4613,6 +4613,7 @@ a.wac-link {
|
|
|
4613
4613
|
padding: rem(9);
|
|
4614
4614
|
font-weight: 600;
|
|
4615
4615
|
transition: 0.3s ease;
|
|
4616
|
+
cursor: default;
|
|
4616
4617
|
|
|
4617
4618
|
&.big {
|
|
4618
4619
|
padding: rem(11) rem(15);
|
|
@@ -4626,10 +4627,6 @@ a.wac-link {
|
|
|
4626
4627
|
}
|
|
4627
4628
|
}
|
|
4628
4629
|
|
|
4629
|
-
&.hover {
|
|
4630
|
-
cursor: pointer;
|
|
4631
|
-
}
|
|
4632
|
-
|
|
4633
4630
|
i {
|
|
4634
4631
|
color: $wac-white;
|
|
4635
4632
|
font-weight: 400;
|
|
@@ -4706,6 +4703,12 @@ a.wac-link {
|
|
|
4706
4703
|
background-color: darken($wac-border-light, 15%);
|
|
4707
4704
|
}
|
|
4708
4705
|
}
|
|
4706
|
+
|
|
4707
|
+
&__close {
|
|
4708
|
+
&:hover {
|
|
4709
|
+
cursor: pointer;
|
|
4710
|
+
}
|
|
4711
|
+
}
|
|
4709
4712
|
}
|
|
4710
4713
|
.wac-text {
|
|
4711
4714
|
font-size: rem(14);
|
|
@@ -850,18 +850,14 @@
|
|
|
850
850
|
|
|
851
851
|
var TagComponent = /** @class */ (function () {
|
|
852
852
|
function TagComponent() {
|
|
853
|
-
//todo Refacto, open/close should be handle outside this component
|
|
854
853
|
this.label = '';
|
|
855
854
|
this.hasClose = false;
|
|
856
855
|
this.big = false;
|
|
857
856
|
this.isOpen = true;
|
|
858
857
|
this.isOpenChange = new i0.EventEmitter();
|
|
859
858
|
}
|
|
860
|
-
TagComponent.prototype.
|
|
861
|
-
|
|
862
|
-
return;
|
|
863
|
-
}
|
|
864
|
-
this.isOpen = false;
|
|
859
|
+
TagComponent.prototype.toggleTag = function () {
|
|
860
|
+
this.isOpen = !this.isOpen;
|
|
865
861
|
this.isOpenChange.next(this.isOpen);
|
|
866
862
|
};
|
|
867
863
|
return TagComponent;
|
|
@@ -869,7 +865,7 @@
|
|
|
869
865
|
TagComponent.decorators = [
|
|
870
866
|
{ type: i0.Component, args: [{
|
|
871
867
|
selector: 'wac-tag',
|
|
872
|
-
template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big }\"
|
|
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"
|
|
873
869
|
},] }
|
|
874
870
|
];
|
|
875
871
|
TagComponent.ctorParameters = function () { return []; };
|
|
@@ -4051,6 +4047,12 @@
|
|
|
4051
4047
|
function TableFiltersGroup() {
|
|
4052
4048
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
4053
4049
|
}
|
|
4050
|
+
TableFiltersGroup.prototype.set = function (key, value) {
|
|
4051
|
+
_super.prototype.set.call(this, key, value);
|
|
4052
|
+
};
|
|
4053
|
+
TableFiltersGroup.prototype.resetToFirstPage = function () {
|
|
4054
|
+
this.set("currentPage", 1);
|
|
4055
|
+
};
|
|
4054
4056
|
return TableFiltersGroup;
|
|
4055
4057
|
}(i1$1.NwbFilterGroup));
|
|
4056
4058
|
|