@wizishop/angular-components 15.1.76 → 15.1.77

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.
@@ -1,12 +1,19 @@
1
- import { ChangeDetectorRef } from '@angular/core';
1
+ import { TemplatePortal } from '@angular/cdk/portal';
2
+ import { ChangeDetectorRef, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
2
3
  import * as i0 from "@angular/core";
3
- export declare class TabComponent {
4
+ export declare class TabComponent implements OnInit {
4
5
  private changeDetectorRef;
6
+ private viewContainerRef;
5
7
  label: string;
6
8
  set selected(value: boolean);
7
9
  get selected(): boolean;
8
10
  private _selected;
9
- constructor(changeDetectorRef: ChangeDetectorRef);
11
+ private contentPortal;
12
+ get content(): TemplatePortal | null;
13
+ private _explicitContent;
14
+ _implicitContent: TemplateRef<any>;
15
+ constructor(changeDetectorRef: ChangeDetectorRef, viewContainerRef: ViewContainerRef);
16
+ ngOnInit(): void;
10
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "wac-tab", never, { "label": "label"; "selected": "selected"; }, {}, never, ["*"], true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "wac-tab", never, { "label": "label"; "selected": "selected"; }, {}, ["_explicitContent"], ["*"], true, never>;
12
19
  }
@@ -0,0 +1,9 @@
1
+ import { TemplatePortal } from '@angular/cdk/portal';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TabBodyComponent {
4
+ content: TemplatePortal;
5
+ active: boolean;
6
+ get display(): string;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabBodyComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabBodyComponent, "wac-tab-body", never, { "content": "content"; "active": "active"; }, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,14 @@
1
+ import { CdkPortalOutlet } from '@angular/cdk/portal';
2
+ import { ComponentFactoryResolver, OnInit, ViewContainerRef } from '@angular/core';
3
+ import { TabBodyComponent } from './tab-body.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TabBodyDirective extends CdkPortalOutlet implements OnInit {
6
+ private componentFactoryResolver;
7
+ private viewContainerRef;
8
+ private document;
9
+ private host;
10
+ constructor(componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, document: any, host: TabBodyComponent);
11
+ ngOnInit(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabBodyDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabBodyDirective, "[wacTabBody]", ["wacTabBody"], {}, {}, never, never, true, never>;
14
+ }
@@ -21,6 +21,12 @@ export declare class TabsComponent implements AfterViewInit {
21
21
  button: boolean;
22
22
  right: boolean;
23
23
  marginBottom: string;
24
+ get defaultViewModel(): {
25
+ index: number;
26
+ tabList: any[];
27
+ listIsOpen: boolean;
28
+ selected: any;
29
+ };
24
30
  constructor(changeDetectorRef: ChangeDetectorRef);
25
31
  ngAfterViewInit(): void;
26
32
  writeValue(selectedIndex: number): void;
@@ -32,5 +38,5 @@ export declare class TabsComponent implements AfterViewInit {
32
38
  private setIndex;
33
39
  openList($event: any): void;
34
40
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "wac-tabs", never, { "underline": "underline"; "button": "button"; "right": "right"; "marginBottom": "marginBottom"; }, {}, ["tabList"], ["*"], true, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "wac-tabs", never, { "underline": "underline"; "button": "button"; "right": "right"; "marginBottom": "marginBottom"; }, {}, ["tabList"], never, true, never>;
36
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "15.1.76",
3
+ "version": "15.1.77",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~15.0.2",
6
6
  "@angular/cdk": "^15.0.1",