@indice/ng-components 0.2.167-beta.34 → 0.2.167-beta.35

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,23 +1,20 @@
1
- import { IShellConfig } from './../../../types';
2
- import { AfterViewInit, OnInit, OnDestroy, QueryList, AfterViewChecked } from '@angular/core';
3
- import { Location } from '@angular/common';
1
+ import { AfterViewInit, OnInit, OnDestroy, AfterViewChecked, TemplateRef } from '@angular/core';
4
2
  import { Router } from '@angular/router';
5
- import { DynamicComponentHostDirective } from '../../../directives/dynamic-component-host.directive';
3
+ import { IShellConfig } from './../../../types';
6
4
  import { ComponentLoaderFactory } from '../../../services/component-loader/component-loader.factory';
7
5
  import * as i0 from "@angular/core";
8
6
  export declare class ShellLayoutComponent implements OnInit, OnDestroy, AfterViewInit, AfterViewChecked {
9
- private document;
10
- private router;
11
- private location;
12
- private config;
13
- private componentLoaderFactory;
14
- dynamicComponentHosts: QueryList<DynamicComponentHostDirective> | null;
7
+ private _router;
8
+ private _componentLoaderFactory;
9
+ private _config;
10
+ private _dynamicComponentHosts;
11
+ private _routerSub$;
12
+ constructor(_router: Router, _componentLoaderFactory: ComponentLoaderFactory, _config: IShellConfig | undefined);
13
+ sidebarFooterTemplate?: TemplateRef<any>;
15
14
  showRightPaneSM: boolean;
16
- private routerSub$;
17
15
  activeConfig: IShellConfig;
18
16
  loaded: boolean;
19
17
  hideSidebar: boolean;
20
- constructor(document: any, router: Router, location: Location, config: IShellConfig | undefined, componentLoaderFactory: ComponentLoaderFactory);
21
18
  ngAfterViewChecked(): void;
22
19
  ngOnInit(): void;
23
20
  ngAfterViewInit(): void;
@@ -25,5 +22,5 @@ export declare class ShellLayoutComponent implements OnInit, OnDestroy, AfterVie
25
22
  ngOnDestroy(): void;
26
23
  private loadCustomComponent;
27
24
  static ɵfac: i0.ɵɵFactoryDeclaration<ShellLayoutComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<ShellLayoutComponent, "lib-shell-layout", never, {}, {}, never, never, false>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShellLayoutComponent, "lib-shell-layout", never, { "sidebarFooterTemplate": "sidebarFooterTemplate"; }, {}, never, never, false>;
29
26
  }
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnInit, TemplateRef } from '@angular/core';
2
2
  import { IShellConfig } from '../../../types';
3
3
  import { UserSettingsService } from '../../../services/user-settings.service';
4
4
  import * as i0 from "@angular/core";
@@ -6,9 +6,10 @@ export declare class ShellSidebarLayoutComponent implements OnInit {
6
6
  private _userSettings;
7
7
  constructor(_userSettings: UserSettingsService);
8
8
  config: IShellConfig | undefined;
9
+ sidebarFooterTemplate?: TemplateRef<any>;
9
10
  showMobileSidebar: boolean;
10
11
  ngOnInit(): void;
11
12
  toggleMobileSidebar(): void;
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<ShellSidebarLayoutComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<ShellSidebarLayoutComponent, "lib-shell-sidebar-layout", never, { "config": "config"; }, {}, never, never, false>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShellSidebarLayoutComponent, "lib-shell-sidebar-layout", never, { "config": "config"; "sidebarFooterTemplate": "sidebarFooterTemplate"; }, {}, never, never, false>;
14
15
  }
package/lib/types.d.ts CHANGED
@@ -50,7 +50,8 @@ export declare class ViewAction {
50
50
  param: any;
51
51
  icon: string;
52
52
  tooltip: string | null;
53
- constructor(type: string, key: string | null, param: any, icon: string, tooltip: string | null);
53
+ text?: string;
54
+ constructor(type: string, key: string | null, param: any, icon: string, tooltip: string | null, text?: string);
54
55
  }
55
56
  export declare class ListViewType {
56
57
  static Tiles: string;
@@ -61,7 +62,7 @@ export declare class ListViewType {
61
62
  export declare class RouterViewAction extends ViewAction {
62
63
  outlet: string | null;
63
64
  link: string | null;
64
- constructor(icon: string, link: string, outlet: string | null, tooltip: string | null);
65
+ constructor(icon: string, link: string, outlet: string | null, tooltip: string | null, text?: string);
65
66
  }
66
67
  export declare class SwitchViewAction extends ViewAction {
67
68
  constructor(view: string, icon: string, tooltip: string | null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indice/ng-components",
3
- "version": "0.2.167-beta.34",
3
+ "version": "0.2.167-beta.35",
4
4
  "description": "Indice common components for Angular v12",
5
5
  "repository": {
6
6
  "type": "git",