@wizishop/angular-components 14.4.41 → 14.4.42
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 +23 -22
- package/esm2020/lib/components/popin/popin.component.mjs +2 -2
- package/esm2020/lib/components/tree/tree.component.mjs +6 -8
- package/fesm2015/wizishop-angular-components.mjs +5 -7
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +5 -7
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/tree/tree.component.d.ts +2 -4
- package/package.json +1 -1
- package/wizishop-angular-components-14.4.42.tgz +0 -0
- package/wizishop-angular-components-14.4.41.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -2980,6 +2980,7 @@ wac-calendar {
|
|
|
2980
2980
|
opacity: 1;
|
|
2981
2981
|
visibility: visible;
|
|
2982
2982
|
transform: translateX(0);
|
|
2983
|
+
max-width: unset;
|
|
2983
2984
|
transition: 0s visibility, opacity .3s ease .05s, transform .3s ease .05s;
|
|
2984
2985
|
}
|
|
2985
2986
|
> div {
|
|
@@ -6683,28 +6684,6 @@ wac-optional-disable-container {
|
|
|
6683
6684
|
}
|
|
6684
6685
|
}
|
|
6685
6686
|
}
|
|
6686
|
-
span.wac-tooltip {
|
|
6687
|
-
position: relative;
|
|
6688
|
-
padding: 0.5rem;
|
|
6689
|
-
.tooltip-content {
|
|
6690
|
-
display: none;
|
|
6691
|
-
}
|
|
6692
|
-
&:hover {
|
|
6693
|
-
.tooltip-content {
|
|
6694
|
-
position: absolute;
|
|
6695
|
-
width: 500px;
|
|
6696
|
-
background-color: transparentize($wac-second-color, .1);
|
|
6697
|
-
color: $wac-white;
|
|
6698
|
-
font-size: rem(12);
|
|
6699
|
-
display: block;
|
|
6700
|
-
left: 30px;
|
|
6701
|
-
top: 0;
|
|
6702
|
-
padding: 4px;
|
|
6703
|
-
border-radius: 3px;
|
|
6704
|
-
z-index: 100;
|
|
6705
|
-
}
|
|
6706
|
-
}
|
|
6707
|
-
}
|
|
6708
6687
|
.wac-token-check {
|
|
6709
6688
|
display: inline-block;
|
|
6710
6689
|
position: relative;
|
|
@@ -6729,6 +6708,28 @@ span.wac-tooltip {
|
|
|
6729
6708
|
}
|
|
6730
6709
|
}
|
|
6731
6710
|
}
|
|
6711
|
+
span.wac-tooltip {
|
|
6712
|
+
position: relative;
|
|
6713
|
+
padding: 0.5rem;
|
|
6714
|
+
.tooltip-content {
|
|
6715
|
+
display: none;
|
|
6716
|
+
}
|
|
6717
|
+
&:hover {
|
|
6718
|
+
.tooltip-content {
|
|
6719
|
+
position: absolute;
|
|
6720
|
+
width: 500px;
|
|
6721
|
+
background-color: transparentize($wac-second-color, .1);
|
|
6722
|
+
color: $wac-white;
|
|
6723
|
+
font-size: rem(12);
|
|
6724
|
+
display: block;
|
|
6725
|
+
left: 30px;
|
|
6726
|
+
top: 0;
|
|
6727
|
+
padding: 4px;
|
|
6728
|
+
border-radius: 3px;
|
|
6729
|
+
z-index: 100;
|
|
6730
|
+
}
|
|
6731
|
+
}
|
|
6732
|
+
}
|
|
6732
6733
|
.wac-upload {
|
|
6733
6734
|
width: auto;
|
|
6734
6735
|
&__wrapper {
|
|
@@ -13,7 +13,7 @@ export class PopinComponent {
|
|
|
13
13
|
this.response = new EventEmitter();
|
|
14
14
|
this.background = true;
|
|
15
15
|
this.closeOnBackgroundClick = true;
|
|
16
|
-
this.firstOpen =
|
|
16
|
+
this.firstOpen = false;
|
|
17
17
|
}
|
|
18
18
|
ngOnInit() {
|
|
19
19
|
this.domService.setDocumentEventListener();
|
|
@@ -70,4 +70,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
70
70
|
}], closeOnBackgroundClick: [{
|
|
71
71
|
type: Input
|
|
72
72
|
}] } });
|
|
73
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
73
|
+
//# sourceMappingURL=data:application/json;base64,e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R0b25cIiAqbmdJZj1cImtvQnV0dG9uTGFiZWxcIj5cbiAgICAgICAgPHdhYy1idXR0b24gW2V4dHJhQ2xhc3Nlc109XCInaXMtZGFuZ2VyIGlzLW91dGxpbmVkJ1wiIFtsYWJlbF09XCJrb0J1dHRvbkxhYmVsXCIgW2hhc0xvYWRlcl09XCJ0cnVlXCIgKGNsaWNrKT1cInJlZnVzZVBvcGluKClcIj48L3dhYy1idXR0b24+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIDxkaXYgY2xhc3M9XCJ3YWMtZnJlZV9fYmFja2dyb3VuZFwiICpuZ0lmPVwiYmFja2dyb3VuZFwiPjwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@angular/common";
|
|
4
4
|
export class TreeComponent {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.treeDepth = 0;
|
|
7
7
|
}
|
|
8
|
-
ngOnInit() { }
|
|
9
8
|
}
|
|
10
9
|
TreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
TreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: TreeComponent, selector: "wac-tree", inputs: { items: "items", treeDepth: "treeDepth", optionTemplate: "optionTemplate" }, ngImport: i0, template: "<
|
|
10
|
+
TreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: TreeComponent, selector: "wac-tree", inputs: { items: "items", treeDepth: "treeDepth", optionTemplate: "optionTemplate" }, ngImport: i0, template: "<ul [ngClass]=\"['treeDepth-' + treeDepth]\">\n <li *ngFor=\"let item of items; let index = index\">\n\n <ng-template #defaultItem>\n {{ item?.treeLabel }}\n </ng-template>\n\n <ng-container\n [ngTemplateOutlet]=\"optionTemplate || defaultItem\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index }\"\n >\n </ng-container>\n\n <wac-tree [optionTemplate]=\"optionTemplate\" [items]=\"item.treeChildren\" *ngIf=\"item.treeChildren?.length\" [treeDepth]=\"treeDepth + 1\"></wac-tree>\n </li>\n</ul>", 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"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: TreeComponent, selector: "wac-tree", inputs: ["items", "treeDepth", "optionTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
12
11
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TreeComponent, decorators: [{
|
|
13
12
|
type: Component,
|
|
14
|
-
args: [{ selector: 'wac-tree',
|
|
15
|
-
}],
|
|
13
|
+
args: [{ selector: 'wac-tree', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ul [ngClass]=\"['treeDepth-' + treeDepth]\">\n <li *ngFor=\"let item of items; let index = index\">\n\n <ng-template #defaultItem>\n {{ item?.treeLabel }}\n </ng-template>\n\n <ng-container\n [ngTemplateOutlet]=\"optionTemplate || defaultItem\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index }\"\n >\n </ng-container>\n\n <wac-tree [optionTemplate]=\"optionTemplate\" [items]=\"item.treeChildren\" *ngIf=\"item.treeChildren?.length\" [treeDepth]=\"treeDepth + 1\"></wac-tree>\n </li>\n</ul>" }]
|
|
14
|
+
}], propDecorators: { items: [{
|
|
16
15
|
type: Input
|
|
17
16
|
}], treeDepth: [{
|
|
18
17
|
type: Input
|
|
19
18
|
}], optionTemplate: [{
|
|
20
|
-
type: Input
|
|
21
|
-
args: ["optionTemplate"]
|
|
19
|
+
type: Input
|
|
22
20
|
}] } });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3RyZWUvdHJlZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3RyZWUvdHJlZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBZSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBUzFHLE1BQU0sT0FBTyxhQUFhO0lBUDFCO1FBZ0JXLGNBQVMsR0FBVSxDQUFDLENBQUM7S0FHL0I7OzBHQVpZLGFBQWE7OEZBQWIsYUFBYSxzSUNUMUIsaWlCQWVLLGtoQkROUSxhQUFhOzJGQUFiLGFBQWE7a0JBUHpCLFNBQVM7K0JBQ0UsVUFBVSxtQkFFSCx1QkFBdUIsQ0FBQyxNQUFNLGlCQUNoQyxpQkFBaUIsQ0FBQyxJQU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WVMYWJlbCB9fVxuICAgIDwvbmctdGVtcGxhdGU+XG5cbiAgICA8bmctY29udGFpbmVyXG4gICAgICBbbmdUZW1wbGF0ZU91dGxldF09XCJvcHRpb25UZW1wbGF0ZSB8fCBkZWZhdWx0SXRlbVwiXG4gICAgICBbbmdUZW1wbGF0ZU91dGxldENvbnRleHRdPVwieyAkaW1wbGljaXQ6IGl0ZW0sIGluZGV4OiBpbmRleCB9XCJcbiAgICA+XG4gICAgPC9uZy1jb250YWluZXI+XG5cbiAgICA8d2FjLXRyZWUgW29wdGlvblRlbXBsYXRlXT1cIm9wdGlvblRlbXBsYXRlXCIgW2l0ZW1zXT1cIml0ZW0udHJlZUNoaWxkcmVuXCIgKm5nSWY9XCJpdGVtLnRyZWVDaGlsZHJlbj8ubGVuZ3RoXCIgW3RyZWVEZXB0aF09XCJ0cmVlRGVwdGggKyAxXCI+PC93YWMtdHJlZT5cbiAgIDwvbGk+XG48L3VsPiJdfQ==
|
|
@@ -3772,7 +3772,7 @@ class PopinComponent {
|
|
|
3772
3772
|
this.response = new EventEmitter();
|
|
3773
3773
|
this.background = true;
|
|
3774
3774
|
this.closeOnBackgroundClick = true;
|
|
3775
|
-
this.firstOpen =
|
|
3775
|
+
this.firstOpen = false;
|
|
3776
3776
|
}
|
|
3777
3777
|
ngOnInit() {
|
|
3778
3778
|
this.domService.setDocumentEventListener();
|
|
@@ -4403,20 +4403,18 @@ class TreeComponent {
|
|
|
4403
4403
|
constructor() {
|
|
4404
4404
|
this.treeDepth = 0;
|
|
4405
4405
|
}
|
|
4406
|
-
ngOnInit() { }
|
|
4407
4406
|
}
|
|
4408
4407
|
TreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4409
|
-
TreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: TreeComponent, selector: "wac-tree", inputs: { items: "items", treeDepth: "treeDepth", optionTemplate: "optionTemplate" }, ngImport: i0, template: "<
|
|
4408
|
+
TreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: TreeComponent, selector: "wac-tree", inputs: { items: "items", treeDepth: "treeDepth", optionTemplate: "optionTemplate" }, ngImport: i0, template: "<ul [ngClass]=\"['treeDepth-' + treeDepth]\">\n <li *ngFor=\"let item of items; let index = index\">\n\n <ng-template #defaultItem>\n {{ item?.treeLabel }}\n </ng-template>\n\n <ng-container\n [ngTemplateOutlet]=\"optionTemplate || defaultItem\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index }\"\n >\n </ng-container>\n\n <wac-tree [optionTemplate]=\"optionTemplate\" [items]=\"item.treeChildren\" *ngIf=\"item.treeChildren?.length\" [treeDepth]=\"treeDepth + 1\"></wac-tree>\n </li>\n</ul>", 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"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: TreeComponent, selector: "wac-tree", inputs: ["items", "treeDepth", "optionTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4410
4409
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TreeComponent, decorators: [{
|
|
4411
4410
|
type: Component,
|
|
4412
|
-
args: [{ selector: 'wac-tree',
|
|
4413
|
-
}],
|
|
4411
|
+
args: [{ selector: 'wac-tree', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ul [ngClass]=\"['treeDepth-' + treeDepth]\">\n <li *ngFor=\"let item of items; let index = index\">\n\n <ng-template #defaultItem>\n {{ item?.treeLabel }}\n </ng-template>\n\n <ng-container\n [ngTemplateOutlet]=\"optionTemplate || defaultItem\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index }\"\n >\n </ng-container>\n\n <wac-tree [optionTemplate]=\"optionTemplate\" [items]=\"item.treeChildren\" *ngIf=\"item.treeChildren?.length\" [treeDepth]=\"treeDepth + 1\"></wac-tree>\n </li>\n</ul>" }]
|
|
4412
|
+
}], propDecorators: { items: [{
|
|
4414
4413
|
type: Input
|
|
4415
4414
|
}], treeDepth: [{
|
|
4416
4415
|
type: Input
|
|
4417
4416
|
}], optionTemplate: [{
|
|
4418
|
-
type: Input
|
|
4419
|
-
args: ["optionTemplate"]
|
|
4417
|
+
type: Input
|
|
4420
4418
|
}] } });
|
|
4421
4419
|
|
|
4422
4420
|
class FormatObjectToRecursifTreePipe {
|