@wizishop/angular-components 14.3.29 → 14.3.30
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 +230 -132
- package/esm2020/lib/components/tag/tag.component.mjs +6 -3
- package/fesm2015/wizishop-angular-components.mjs +5 -2
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +5 -2
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/tag/tag.component.d.ts +3 -2
- package/package.json +1 -1
- package/wizishop-angular-components-14.3.30.tgz +0 -0
- package/wizishop-angular-components-14.3.29.tgz +0 -0
|
@@ -1432,6 +1432,7 @@ class TagComponent {
|
|
|
1432
1432
|
constructor() {
|
|
1433
1433
|
this.label = '';
|
|
1434
1434
|
this.hasClose = false;
|
|
1435
|
+
this.draggable = false;
|
|
1435
1436
|
this.big = false;
|
|
1436
1437
|
this.isOpen = true;
|
|
1437
1438
|
this.isOpenChange = new EventEmitter();
|
|
@@ -1442,16 +1443,18 @@ class TagComponent {
|
|
|
1442
1443
|
}
|
|
1443
1444
|
}
|
|
1444
1445
|
TagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1445
|
-
TagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: TagComponent, selector: "wac-tag", inputs: { label: "label", class: "class", hasClose: "hasClose", big: "big", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngImport: i0, 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", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1446
|
+
TagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: TagComponent, selector: "wac-tag", inputs: { label: "label", class: "class", hasClose: "hasClose", draggable: "draggable", big: "big", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngImport: i0, template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big , draggable: draggable}\">\n <div *ngIf=\"draggable\" class=\"wac-tag__draggable\"></div>\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1446
1447
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TagComponent, decorators: [{
|
|
1447
1448
|
type: Component,
|
|
1448
|
-
args: [{ selector: 'wac-tag', 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" }]
|
|
1449
|
+
args: [{ selector: 'wac-tag', template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big , draggable: draggable}\">\n <div *ngIf=\"draggable\" class=\"wac-tag__draggable\"></div>\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n" }]
|
|
1449
1450
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
1450
1451
|
type: Input
|
|
1451
1452
|
}], class: [{
|
|
1452
1453
|
type: Input
|
|
1453
1454
|
}], hasClose: [{
|
|
1454
1455
|
type: Input
|
|
1456
|
+
}], draggable: [{
|
|
1457
|
+
type: Input
|
|
1455
1458
|
}], big: [{
|
|
1456
1459
|
type: Input
|
|
1457
1460
|
}], isOpen: [{
|