@wizishop/angular-components 15.1.98 → 15.1.99
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 +211 -196
- package/esm2020/lib/components/tag-dropdown/tag-dropdown.component.mjs +4 -3
- package/fesm2015/wizishop-angular-components.mjs +3 -2
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +3 -2
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/tag-dropdown/tag-dropdown.component.d.ts +1 -1
- package/package.json +1 -1
- package/wizishop-angular-components-15.1.99.tgz +0 -0
- package/wizishop-angular-components-15.1.98.tgz +0 -0
|
@@ -6339,6 +6339,7 @@ class TagDropdownComponent {
|
|
|
6339
6339
|
this.hasIcons = false;
|
|
6340
6340
|
this.items = [];
|
|
6341
6341
|
this.label = '';
|
|
6342
|
+
this.class = 'default';
|
|
6342
6343
|
this.icon = '';
|
|
6343
6344
|
this.iconFontSize = 12;
|
|
6344
6345
|
this.isDropdown = true;
|
|
@@ -6349,10 +6350,10 @@ class TagDropdownComponent {
|
|
|
6349
6350
|
}
|
|
6350
6351
|
}
|
|
6351
6352
|
TagDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TagDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6352
|
-
TagDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: TagDropdownComponent, selector: "wac-tag-dropdown", inputs: { hasIcons: "hasIcons", items: "items", label: "label", class: "class", icon: "icon", iconNext: "iconNext", colorIcon: "colorIcon", iconFontSize: "iconFontSize", isDropdown: "isDropdown" }, outputs: { userInput: "userInput" }, ngImport: i0, template: "<div class=\"wac-tag-dropdown\">\n <div class=\"wac-tag-dropdown__wrapper\">\n <div class=\"wac-tag-dropdown__wrapper__firstlevel\">\n <div [classList]=\"'wac-tag-dropdown__wrapper__firstlevel--' + class\">\n <i *ngIf=\"icon\" [ngClass]=\"icon\" [style.color]=\"colorIcon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext\" [style.color]=\"colorIcon\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n <i *ngIf=\"isDropdown\" [ngClass]=\"'fas fa-angle-down'\" [style.font-size.px]=\"iconFontSize\"></i>\n </div>\n </div>\n <div class=\"wac-tag-dropdown__wrapper__sublevel\" *ngIf=\"isDropdown\">\n <ul class=\"wac-tag-dropdown__wrapper__sublevel__container\">\n <li\n *ngFor=\"let item of items\"\n class=\"wac-tag-dropdown__wrapper__sublevel__container__item\"\n (click)=\"onUserInput(item.index)\"\n >\n <i\n *ngIf=\"hasIcons\"\n [class]=\"item.icon\"\n [style.font-size.px]=\"item.iconFontSize ? item.iconFontSize : '14'\"\n ></i>\n <span>{{ item.label }}</span>\n </li>\n </ul>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
6353
|
+
TagDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: TagDropdownComponent, selector: "wac-tag-dropdown", inputs: { hasIcons: "hasIcons", items: "items", label: "label", class: "class", icon: "icon", iconNext: "iconNext", colorIcon: "colorIcon", iconFontSize: "iconFontSize", isDropdown: "isDropdown" }, outputs: { userInput: "userInput" }, ngImport: i0, template: "<div class=\"wac-tag-dropdown\">\r\n <div class=\"wac-tag-dropdown__wrapper\" [ngClass]=\"{'hover': isDropdown}\">\r\n <div class=\"wac-tag-dropdown__wrapper__firstlevel\">\r\n <div [classList]=\"'wac-tag-dropdown__wrapper__firstlevel--' + class\">\r\n <i *ngIf=\"icon\" [ngClass]=\"icon + ' i-primary'\" [style.color]=\"colorIcon\" [style.font-size.px]=\"iconFontSize\"></i>\r\n {{ label }}\r\n <i *ngIf=\"iconNext\" [style.color]=\"colorIcon\" [ngClass]=\"iconNext + ' i-next'\" [style.font-size.px]=\"iconFontSize\"></i>\r\n <i *ngIf=\"isDropdown\" [ngClass]=\"'fas fa-angle-down i-dropdown'\" [style.font-size.px]=\"iconFontSize\"></i>\r\n </div>\r\n </div>\r\n <div class=\"wac-tag-dropdown__wrapper__sublevel\" *ngIf=\"isDropdown\">\r\n <ul class=\"wac-tag-dropdown__wrapper__sublevel__container\">\r\n <li\r\n *ngFor=\"let item of items\"\r\n class=\"wac-tag-dropdown__wrapper__sublevel__container__item\"\r\n (click)=\"onUserInput(item.index)\"\r\n >\r\n <i\r\n *ngIf=\"hasIcons\"\r\n [class]=\"item.icon\"\r\n [style.font-size.px]=\"item.iconFontSize ? item.iconFontSize : '14'\"\r\n ></i>\r\n <span>{{ item.label }}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
6353
6354
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TagDropdownComponent, decorators: [{
|
|
6354
6355
|
type: Component,
|
|
6355
|
-
args: [{ selector: 'wac-tag-dropdown', template: "<div class=\"wac-tag-dropdown\">\n <div class=\"wac-tag-dropdown__wrapper\">\n <div class=\"wac-tag-dropdown__wrapper__firstlevel\">\n <div [classList]=\"'wac-tag-dropdown__wrapper__firstlevel--' + class\">\n <i *ngIf=\"icon\" [ngClass]=\"icon\" [style.color]=\"colorIcon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext\" [style.color]=\"colorIcon\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n <i *ngIf=\"isDropdown\" [ngClass]=\"'fas fa-angle-down'\" [style.font-size.px]=\"iconFontSize\"></i>\n </div>\n </div>\n <div class=\"wac-tag-dropdown__wrapper__sublevel\" *ngIf=\"isDropdown\">\n <ul class=\"wac-tag-dropdown__wrapper__sublevel__container\">\n <li\n *ngFor=\"let item of items\"\n class=\"wac-tag-dropdown__wrapper__sublevel__container__item\"\n (click)=\"onUserInput(item.index)\"\n >\n <i\n *ngIf=\"hasIcons\"\n [class]=\"item.icon\"\n [style.font-size.px]=\"item.iconFontSize ? item.iconFontSize : '14'\"\n ></i>\n <span>{{ item.label }}</span>\n </li>\n </ul>\n </div>\n </div>\n</div>\n" }]
|
|
6356
|
+
args: [{ selector: 'wac-tag-dropdown', template: "<div class=\"wac-tag-dropdown\">\r\n <div class=\"wac-tag-dropdown__wrapper\" [ngClass]=\"{'hover': isDropdown}\">\r\n <div class=\"wac-tag-dropdown__wrapper__firstlevel\">\r\n <div [classList]=\"'wac-tag-dropdown__wrapper__firstlevel--' + class\">\r\n <i *ngIf=\"icon\" [ngClass]=\"icon + ' i-primary'\" [style.color]=\"colorIcon\" [style.font-size.px]=\"iconFontSize\"></i>\r\n {{ label }}\r\n <i *ngIf=\"iconNext\" [style.color]=\"colorIcon\" [ngClass]=\"iconNext + ' i-next'\" [style.font-size.px]=\"iconFontSize\"></i>\r\n <i *ngIf=\"isDropdown\" [ngClass]=\"'fas fa-angle-down i-dropdown'\" [style.font-size.px]=\"iconFontSize\"></i>\r\n </div>\r\n </div>\r\n <div class=\"wac-tag-dropdown__wrapper__sublevel\" *ngIf=\"isDropdown\">\r\n <ul class=\"wac-tag-dropdown__wrapper__sublevel__container\">\r\n <li\r\n *ngFor=\"let item of items\"\r\n class=\"wac-tag-dropdown__wrapper__sublevel__container__item\"\r\n (click)=\"onUserInput(item.index)\"\r\n >\r\n <i\r\n *ngIf=\"hasIcons\"\r\n [class]=\"item.icon\"\r\n [style.font-size.px]=\"item.iconFontSize ? item.iconFontSize : '14'\"\r\n ></i>\r\n <span>{{ item.label }}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
6356
6357
|
}], ctorParameters: function () { return []; }, propDecorators: { hasIcons: [{
|
|
6357
6358
|
type: Input
|
|
6358
6359
|
}], items: [{
|