@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
|
@@ -3758,7 +3758,7 @@ class PopinComponent {
|
|
|
3758
3758
|
this.response = new EventEmitter();
|
|
3759
3759
|
this.background = true;
|
|
3760
3760
|
this.closeOnBackgroundClick = true;
|
|
3761
|
-
this.firstOpen =
|
|
3761
|
+
this.firstOpen = false;
|
|
3762
3762
|
}
|
|
3763
3763
|
ngOnInit() {
|
|
3764
3764
|
this.domService.setDocumentEventListener();
|
|
@@ -4388,20 +4388,18 @@ class TreeComponent {
|
|
|
4388
4388
|
constructor() {
|
|
4389
4389
|
this.treeDepth = 0;
|
|
4390
4390
|
}
|
|
4391
|
-
ngOnInit() { }
|
|
4392
4391
|
}
|
|
4393
4392
|
TreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4394
|
-
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: "<
|
|
4393
|
+
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 });
|
|
4395
4394
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TreeComponent, decorators: [{
|
|
4396
4395
|
type: Component,
|
|
4397
|
-
args: [{ selector: 'wac-tree',
|
|
4398
|
-
}],
|
|
4396
|
+
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>" }]
|
|
4397
|
+
}], propDecorators: { items: [{
|
|
4399
4398
|
type: Input
|
|
4400
4399
|
}], treeDepth: [{
|
|
4401
4400
|
type: Input
|
|
4402
4401
|
}], optionTemplate: [{
|
|
4403
|
-
type: Input
|
|
4404
|
-
args: ["optionTemplate"]
|
|
4402
|
+
type: Input
|
|
4405
4403
|
}] } });
|
|
4406
4404
|
|
|
4407
4405
|
class FormatObjectToRecursifTreePipe {
|