@coreui/angular 2.19.0 → 2.20.0

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.
Files changed (53) hide show
  1. package/README.md +8 -8
  2. package/fesm2022/coreui-angular.mjs +294 -267
  3. package/fesm2022/coreui-angular.mjs.map +1 -1
  4. package/index.d.ts +514 -3
  5. package/package.json +5 -5
  6. package/lib/aside/app-aside.component.d.ts +0 -19
  7. package/lib/aside/app-aside.module.d.ts +0 -7
  8. package/lib/aside/index.d.ts +0 -1
  9. package/lib/aside/public_api.d.ts +0 -2
  10. package/lib/breadcrumb/app-breadcrumb.component.d.ts +0 -19
  11. package/lib/breadcrumb/app-breadcrumb.module.d.ts +0 -10
  12. package/lib/breadcrumb/app-breadcrumb.service.d.ts +0 -12
  13. package/lib/breadcrumb/cui-breadcrumb.component.d.ts +0 -18
  14. package/lib/breadcrumb/index.d.ts +0 -1
  15. package/lib/breadcrumb/public_api.d.ts +0 -3
  16. package/lib/footer/app-footer.component.d.ts +0 -15
  17. package/lib/footer/app-footer.module.d.ts +0 -7
  18. package/lib/footer/index.d.ts +0 -1
  19. package/lib/footer/public_api.d.ts +0 -2
  20. package/lib/header/app-header.component.d.ts +0 -34
  21. package/lib/header/app-header.module.d.ts +0 -7
  22. package/lib/header/index.d.ts +0 -1
  23. package/lib/header/public_api.d.ts +0 -2
  24. package/lib/shared/classes.d.ts +0 -2
  25. package/lib/shared/index.d.ts +0 -1
  26. package/lib/shared/layout/layout.directive.d.ts +0 -78
  27. package/lib/shared/layout/layout.module.d.ts +0 -7
  28. package/lib/shared/public_api.d.ts +0 -4
  29. package/lib/shared/replace.d.ts +0 -1
  30. package/lib/shared/toggle-classes.d.ts +0 -12
  31. package/lib/sidebar/app-sidebar-footer.component.d.ts +0 -7
  32. package/lib/sidebar/app-sidebar-form.component.d.ts +0 -6
  33. package/lib/sidebar/app-sidebar-header.component.d.ts +0 -6
  34. package/lib/sidebar/app-sidebar-minimizer.component.d.ts +0 -11
  35. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-badge.pipe.d.ts +0 -7
  36. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-divider.component.d.ts +0 -7
  37. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-icon.pipe.d.ts +0 -7
  38. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-item-class.pipe.d.ts +0 -10
  39. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.d.ts +0 -27
  40. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-label.component.d.ts +0 -19
  41. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.d.ts +0 -34
  42. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.pipe.d.ts +0 -7
  43. package/lib/sidebar/app-sidebar-nav/app-sidebar-nav-title.component.d.ts +0 -16
  44. package/lib/sidebar/app-sidebar-nav.component.d.ts +0 -15
  45. package/lib/sidebar/app-sidebar-nav.d.ts +0 -50
  46. package/lib/sidebar/app-sidebar-nav.directive.d.ts +0 -20
  47. package/lib/sidebar/app-sidebar-nav.service.d.ts +0 -21
  48. package/lib/sidebar/app-sidebar.component.d.ts +0 -33
  49. package/lib/sidebar/app-sidebar.module.d.ts +0 -24
  50. package/lib/sidebar/app-sidebar.service.d.ts +0 -12
  51. package/lib/sidebar/index.d.ts +0 -1
  52. package/lib/sidebar/public_api.d.ts +0 -9
  53. package/public-api.d.ts +0 -5
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./app-footer.component";
3
- export declare class AppFooterModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<AppFooterModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<AppFooterModule, never, [typeof i1.AppFooterComponent], [typeof i1.AppFooterComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<AppFooterModule>;
7
- }
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1,2 +0,0 @@
1
- export { AppFooterComponent } from './app-footer.component';
2
- export { AppFooterModule } from './app-footer.module';
@@ -1,34 +0,0 @@
1
- import { OnInit, OnDestroy, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AppHeaderComponent implements OnInit, OnDestroy {
4
- private document;
5
- private renderer;
6
- fixed?: boolean;
7
- navbarBrand: any;
8
- navbarBrandFull: any;
9
- navbarBrandMinimized: any;
10
- navbarBrandText: any;
11
- navbarBrandHref: string;
12
- navbarBrandRouterLink: any[] | string;
13
- sidebarToggler: string | boolean;
14
- mobileSidebarToggler: boolean;
15
- asideMenuToggler: string | boolean;
16
- mobileAsideMenuToggler: boolean;
17
- private readonly fixedClass;
18
- appHeaderClass: boolean;
19
- navbarClass: boolean;
20
- navbarBrandImg: boolean;
21
- private readonly breakpoints;
22
- sidebarTogglerClass: string;
23
- sidebarTogglerMobileClass: string;
24
- asideTogglerClass: string;
25
- asideTogglerMobileClass: string;
26
- constructor(document: Document, renderer: Renderer2);
27
- ngOnInit(): void;
28
- ngOnDestroy(): void;
29
- isFixed(fixed?: boolean | undefined): void;
30
- setTogglerBreakpointClass(breakpoint?: string): string;
31
- setTogglerMobileBreakpointClass(breakpoint?: string): string;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<AppHeaderComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<AppHeaderComponent, "app-header, cui-header", never, { "fixed": { "alias": "fixed"; "required": false; }; "navbarBrand": { "alias": "navbarBrand"; "required": false; }; "navbarBrandFull": { "alias": "navbarBrandFull"; "required": false; }; "navbarBrandMinimized": { "alias": "navbarBrandMinimized"; "required": false; }; "navbarBrandText": { "alias": "navbarBrandText"; "required": false; }; "navbarBrandHref": { "alias": "navbarBrandHref"; "required": false; }; "navbarBrandRouterLink": { "alias": "navbarBrandRouterLink"; "required": false; }; "sidebarToggler": { "alias": "sidebarToggler"; "required": false; }; "mobileSidebarToggler": { "alias": "mobileSidebarToggler"; "required": false; }; "asideMenuToggler": { "alias": "asideMenuToggler"; "required": false; }; "mobileAsideMenuToggler": { "alias": "mobileAsideMenuToggler"; "required": false; }; }, {}, never, ["*"], true, never>;
34
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./app-header.component";
3
- export declare class AppHeaderModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<AppHeaderModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<AppHeaderModule, never, [typeof i1.AppHeaderComponent], [typeof i1.AppHeaderComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<AppHeaderModule>;
7
- }
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1,2 +0,0 @@
1
- export { AppHeaderComponent } from './app-header.component';
2
- export { AppHeaderModule } from './app-header.module';
@@ -1,2 +0,0 @@
1
- export declare const sidebarCssClasses: Array<string>;
2
- export declare const asideMenuCssClasses: Array<string>;
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1,78 +0,0 @@
1
- import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
- import { ClassToggler } from '../toggle-classes';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Allows the sidebar to be toggled via click.
6
- */
7
- export declare class SidebarToggleDirective implements OnInit {
8
- private classToggler;
9
- breakpoint: string | boolean;
10
- bp: string | boolean;
11
- constructor(classToggler: ClassToggler);
12
- ngOnInit(): void;
13
- toggleOpen($event: any): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarToggleDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarToggleDirective, "[appSidebarToggler]", never, { "breakpoint": { "alias": "appSidebarToggler"; "required": false; }; }, {}, never, never, true, never>;
16
- }
17
- export declare class SidebarMinimizeDirective {
18
- private document;
19
- private renderer;
20
- constructor(document: Document, renderer: Renderer2);
21
- toggleOpen($event: any): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarMinimizeDirective, never>;
23
- static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarMinimizeDirective, "[appSidebarMinimizer]", never, {}, {}, never, never, true, never>;
24
- }
25
- export declare class MobileSidebarToggleDirective {
26
- private document;
27
- private renderer;
28
- constructor(document: Document, renderer: Renderer2);
29
- toggleOpen($event: any): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<MobileSidebarToggleDirective, never>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<MobileSidebarToggleDirective, "[appMobileSidebarToggler]", never, {}, {}, never, never, true, never>;
32
- }
33
- /**
34
- * Allows the off-canvas sidebar to be closed via click.
35
- */
36
- export declare class SidebarOffCanvasCloseDirective {
37
- private document;
38
- private renderer;
39
- constructor(document: Document, renderer: Renderer2);
40
- toggleOpen($event: any): void;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarOffCanvasCloseDirective, never>;
42
- static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarOffCanvasCloseDirective, "[appSidebarClose]", never, {}, {}, never, never, true, never>;
43
- }
44
- export declare class BrandMinimizeDirective {
45
- private document;
46
- private renderer;
47
- constructor(document: Document, renderer: Renderer2);
48
- toggleOpen($event: any): void;
49
- static ɵfac: i0.ɵɵFactoryDeclaration<BrandMinimizeDirective, never>;
50
- static ɵdir: i0.ɵɵDirectiveDeclaration<BrandMinimizeDirective, "[appBrandMinimizer]", never, {}, {}, never, never, true, never>;
51
- }
52
- /**
53
- * Allows the aside to be toggled via click.
54
- */
55
- export declare class AsideToggleDirective implements OnInit {
56
- private classToggler;
57
- breakpoint: string | boolean;
58
- bp: string | boolean;
59
- constructor(classToggler: ClassToggler);
60
- ngOnInit(): void;
61
- toggleOpen($event: any): void;
62
- static ɵfac: i0.ɵɵFactoryDeclaration<AsideToggleDirective, never>;
63
- static ɵdir: i0.ɵɵDirectiveDeclaration<AsideToggleDirective, "[appAsideMenuToggler]", never, { "breakpoint": { "alias": "appAsideMenuToggler"; "required": false; }; }, {}, never, never, true, never>;
64
- }
65
- export declare class HtmlAttributesDirective implements OnInit {
66
- private renderer;
67
- private el;
68
- appHtmlAttr?: {
69
- [key: string]: string;
70
- };
71
- constructor(renderer: Renderer2, el: ElementRef);
72
- ngOnInit(): void;
73
- private setStyle;
74
- private addClass;
75
- private setAttrib;
76
- static ɵfac: i0.ɵɵFactoryDeclaration<HtmlAttributesDirective, never>;
77
- static ɵdir: i0.ɵɵDirectiveDeclaration<HtmlAttributesDirective, "[appHtmlAttr]", never, { "appHtmlAttr": { "alias": "appHtmlAttr"; "required": false; }; }, {}, never, never, true, never>;
78
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./layout.directive";
3
- export declare class LayoutModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, never, [typeof i1.AsideToggleDirective, typeof i1.BrandMinimizeDirective, typeof i1.SidebarToggleDirective, typeof i1.SidebarMinimizeDirective, typeof i1.SidebarOffCanvasCloseDirective, typeof i1.MobileSidebarToggleDirective, typeof i1.HtmlAttributesDirective], [typeof i1.AsideToggleDirective, typeof i1.BrandMinimizeDirective, typeof i1.MobileSidebarToggleDirective, typeof i1.SidebarToggleDirective, typeof i1.SidebarMinimizeDirective, typeof i1.SidebarOffCanvasCloseDirective, typeof i1.HtmlAttributesDirective]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<LayoutModule>;
7
- }
@@ -1,4 +0,0 @@
1
- export { AsideToggleDirective, BrandMinimizeDirective, MobileSidebarToggleDirective, SidebarMinimizeDirective, SidebarToggleDirective, SidebarOffCanvasCloseDirective, HtmlAttributesDirective } from './layout/layout.directive';
2
- export { LayoutModule } from './layout/layout.module';
3
- export * from './classes';
4
- export * from './replace';
@@ -1 +0,0 @@
1
- export declare function Replace(el: any): any;
@@ -1,12 +0,0 @@
1
- import { Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare const ToggleClasses: (Toggle: string, ClassNames: string[]) => void;
4
- export declare class ClassToggler {
5
- private document;
6
- private renderer;
7
- constructor(document: Document, renderer: Renderer2);
8
- removeClasses(NewClassNames: string[]): boolean;
9
- toggleClasses(Toggle: string, ClassNames: string[]): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ClassToggler, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<ClassToggler>;
12
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AppSidebarFooterComponent {
3
- sidebarFooterClass: boolean;
4
- constructor();
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarFooterComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarFooterComponent, "app-sidebar-footer, cui-sidebar-footer", never, {}, {}, never, ["*"], true, never>;
7
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AppSidebarFormComponent {
3
- sidebarFormClass: boolean;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarFormComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarFormComponent, "app-sidebar-form, cui-sidebar-form", never, {}, {}, never, ["*"], true, never>;
6
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AppSidebarHeaderComponent {
3
- sidebarHeaderClass: boolean;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarHeaderComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarHeaderComponent, "app-sidebar-header, cui-sidebar-header", never, {}, {}, never, ["*"], true, never>;
6
- }
@@ -1,11 +0,0 @@
1
- import { AppSidebarService } from './app-sidebar.service';
2
- import * as i0 from "@angular/core";
3
- export declare class AppSidebarMinimizerComponent {
4
- private sidebarService;
5
- role: string;
6
- sidebarMinimizerClass: boolean;
7
- toggleOpen($event: any): void;
8
- constructor(sidebarService: AppSidebarService);
9
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarMinimizerComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarMinimizerComponent, "app-sidebar-minimizer, cui-sidebar-minimizer", never, { "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>;
11
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AppSidebarNavBadgePipe implements PipeTransform {
4
- transform(item: any, args?: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarNavBadgePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<AppSidebarNavBadgePipe, "appSidebarNavBadge", true>;
7
- }
@@ -1,7 +0,0 @@
1
- import { INavData } from '../app-sidebar-nav';
2
- import * as i0 from "@angular/core";
3
- export declare class AppSidebarNavDividerComponent {
4
- item?: INavData;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarNavDividerComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarNavDividerComponent, "app-sidebar-nav-divider, cui-sidebar-nav-divider", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AppSidebarNavIconPipe implements PipeTransform {
4
- transform(item: any, args?: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarNavIconPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<AppSidebarNavIconPipe, "appSidebarNavIcon", true>;
7
- }
@@ -1,10 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { SidebarNavHelper } from '../app-sidebar-nav.service';
3
- import * as i0 from "@angular/core";
4
- export declare class AppSidebarNavItemClassPipe implements PipeTransform {
5
- helper: SidebarNavHelper;
6
- constructor(helper: SidebarNavHelper);
7
- transform(item: any, ...args: any[]): any;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarNavItemClassPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<AppSidebarNavItemClassPipe, "appSidebarNavItemClass", true>;
10
- }
@@ -1,27 +0,0 @@
1
- import { Renderer2 } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { SidebarNavHelper } from '../app-sidebar-nav.service';
4
- import { INavData } from '../app-sidebar-nav';
5
- import * as i0 from "@angular/core";
6
- export declare abstract class DropdownToken {
7
- }
8
- export declare class AppSidebarNavItemsComponent {
9
- private document;
10
- private renderer;
11
- router: Router;
12
- helper: SidebarNavHelper;
13
- protected _items: INavData[];
14
- set items(items: INavData[]);
15
- get items(): INavData[];
16
- constructor(document: Document, renderer: Renderer2, router: Router, helper: SidebarNavHelper);
17
- hideMobile(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarNavItemsComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarNavItemsComponent, "app-sidebar-nav-items, cui-sidebar-nav-items", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
20
- }
21
- export declare class AppSidebarNavDropdownComponent {
22
- helper: SidebarNavHelper;
23
- item: INavData;
24
- constructor(helper: SidebarNavHelper);
25
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarNavDropdownComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarNavDropdownComponent, "app-sidebar-nav-dropdown, cui-sidebar-nav-dropdown", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
27
- }
@@ -1,19 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { SidebarNavHelper } from '../app-sidebar-nav.service';
3
- import { INavData } from '../app-sidebar-nav';
4
- import * as i0 from "@angular/core";
5
- export declare class AppSidebarNavLabelComponent implements OnInit {
6
- helper: SidebarNavHelper;
7
- item: INavData;
8
- private classes;
9
- private iconClasses;
10
- constructor(helper: SidebarNavHelper);
11
- ngOnInit(): void;
12
- getItemClass(): {
13
- 'nav-label': boolean;
14
- active: boolean;
15
- };
16
- getLabelIconClass(): {};
17
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarNavLabelComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarNavLabelComponent, "app-sidebar-nav-label, cui-sidebar-nav-label", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
19
- }
@@ -1,34 +0,0 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { SidebarNavHelper } from '../app-sidebar-nav.service';
4
- import { INavData } from '../app-sidebar-nav';
5
- import * as i0 from "@angular/core";
6
- export declare class AppSidebarNavLinkContentComponent {
7
- helper: SidebarNavHelper;
8
- item: INavData;
9
- constructor(helper: SidebarNavHelper);
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarNavLinkContentComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarNavLinkContentComponent, "app-sidebar-nav-link-content, cui-sidebar-nav-link-content", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
12
- }
13
- export declare class AppSidebarNavLinkComponent implements OnInit, OnDestroy {
14
- router: Router;
15
- protected _Item: INavData;
16
- set item(item: INavData);
17
- get item(): INavData;
18
- linkClick: EventEmitter<any>;
19
- linkType: string;
20
- href: string;
21
- linkActive: boolean;
22
- private url;
23
- private navigationEndObservable;
24
- private navSubscription;
25
- constructor(router: Router);
26
- ngOnInit(): void;
27
- ngOnDestroy(): void;
28
- getLinkType(): "link" | "disabled" | "external";
29
- isDisabled(): true | null;
30
- isExternalLink(): boolean;
31
- linkClicked(): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarNavLinkComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarNavLinkComponent, "app-sidebar-nav-link, cui-sidebar-nav-link", never, { "item": { "alias": "item"; "required": false; }; }, { "linkClick": "linkClick"; }, never, never, true, never>;
34
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AppSidebarNavLinkPipe implements PipeTransform {
4
- transform(item: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarNavLinkPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<AppSidebarNavLinkPipe, "appSidebarNavLink", true>;
7
- }
@@ -1,16 +0,0 @@
1
- import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
- import { INavData } from '../app-sidebar-nav';
3
- import * as i0 from "@angular/core";
4
- export declare class AppSidebarNavTitleComponent implements OnInit {
5
- private el;
6
- private renderer;
7
- item: INavData;
8
- constructor(el: ElementRef, renderer: Renderer2);
9
- ngOnInit(): void;
10
- private addAttribs;
11
- private setStyle;
12
- private addClass;
13
- private setAttrib;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarNavTitleComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarNavTitleComponent, "app-sidebar-nav-title, cui-sidebar-nav-title", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
16
- }
@@ -1,15 +0,0 @@
1
- import { OnChanges, SimpleChanges } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { INavData } from './app-sidebar-nav';
4
- import * as i0 from "@angular/core";
5
- export declare class AppSidebarNavComponent implements OnChanges {
6
- router: Router;
7
- navItems: INavData[];
8
- sidebarNavClass: boolean;
9
- role: string;
10
- navItemsArray: INavData[];
11
- constructor(router: Router);
12
- ngOnChanges(changes: SimpleChanges): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarNavComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarNavComponent, "app-sidebar-nav, cui-sidebar-nav", never, { "navItems": { "alias": "navItems"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>;
15
- }
@@ -1,50 +0,0 @@
1
- import { IsActiveMatchOptions } from '@angular/router';
2
- export interface INavAttributes {
3
- [propName: string]: any;
4
- }
5
- export interface INavWrapper {
6
- attributes: INavAttributes;
7
- element: string;
8
- }
9
- export interface INavBadge {
10
- text: string;
11
- variant: string;
12
- class?: string;
13
- }
14
- export interface INavLabel {
15
- class?: string;
16
- variant: string;
17
- }
18
- export interface INavLinkProps {
19
- queryParams?: {
20
- [k: string]: any;
21
- };
22
- fragment?: string;
23
- queryParamsHandling?: 'merge' | 'preserve' | '';
24
- preserveFragment?: boolean;
25
- skipLocationChange?: boolean;
26
- replaceUrl?: boolean;
27
- state?: {
28
- [k: string]: any;
29
- };
30
- routerLinkActiveOptions?: {
31
- exact: boolean;
32
- } | IsActiveMatchOptions;
33
- routerLinkActive?: string | string[];
34
- }
35
- export interface INavData {
36
- name?: string;
37
- url?: string | any[];
38
- href?: string;
39
- icon?: string;
40
- badge?: INavBadge;
41
- title?: boolean;
42
- children?: INavData[];
43
- variant?: string;
44
- attributes?: INavAttributes;
45
- divider?: boolean;
46
- class?: string;
47
- label?: INavLabel;
48
- wrapper?: INavWrapper;
49
- linkProps?: INavLinkProps;
50
- }
@@ -1,20 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NavDropdownDirective {
4
- private elementRef;
5
- private renderer;
6
- constructor(elementRef: ElementRef, renderer: Renderer2);
7
- toggle(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<NavDropdownDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<NavDropdownDirective, "[appNavDropdown]", never, {}, {}, never, never, true, never>;
10
- }
11
- /**
12
- * Allows the dropdown to be toggled via click.
13
- */
14
- export declare class NavDropdownToggleDirective {
15
- private dropdown;
16
- constructor(dropdown: NavDropdownDirective);
17
- toggleOpen($event: any): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<NavDropdownToggleDirective, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<NavDropdownToggleDirective, "[appNavDropdownToggle]", never, {}, {}, never, never, true, never>;
20
- }
@@ -1,21 +0,0 @@
1
- import { INavData } from './app-sidebar-nav';
2
- import * as i0 from "@angular/core";
3
- export declare abstract class SidebarNavService {
4
- /**
5
- * Returns a sidebar-nav items config NavData
6
- */
7
- abstract getSidebarNavItemsConfig(): INavData[];
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<SidebarNavService>;
10
- }
11
- export declare class SidebarNavHelper {
12
- itemType(item: INavData): "divider" | "title" | "dropdown" | "label" | "empty" | "link";
13
- isActive(router: any, item: INavData): any;
14
- hasBadge: (item: INavData) => boolean;
15
- hasIcon: (item: INavData) => boolean;
16
- getIconClass(item: INavData): {
17
- 'nav-icon': boolean;
18
- };
19
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavHelper, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<SidebarNavHelper>;
21
- }
@@ -1,33 +0,0 @@
1
- import { EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
- import { AppSidebarService } from './app-sidebar.service';
3
- import * as i0 from "@angular/core";
4
- export declare class AppSidebarComponent implements OnInit, OnDestroy {
5
- private document;
6
- private renderer;
7
- private sidebarService;
8
- private subscriptionEvents;
9
- private _minimized;
10
- compact?: boolean;
11
- display: any;
12
- fixed?: boolean;
13
- offCanvas?: boolean;
14
- get minimized(): boolean;
15
- set minimized(value: boolean);
16
- /**
17
- * Emits whenever the minimized state of the sidebar changes.
18
- * Primarily used to facilitate two-way binding.
19
- */
20
- minimizedChange: EventEmitter<boolean>;
21
- sidebarClass: boolean;
22
- constructor(document: Document, renderer: Renderer2, sidebarService: AppSidebarService);
23
- ngOnInit(): void;
24
- ngOnDestroy(): void;
25
- isCompact(compact?: boolean | undefined): void;
26
- isFixed(fixed?: boolean | undefined): void;
27
- toggleMinimized(): void;
28
- isOffCanvas(offCanvas?: boolean | undefined): void;
29
- displayBreakpoint(display?: any): void;
30
- private _updateMinimized;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarComponent, "app-sidebar, cui-sidebar", never, { "compact": { "alias": "compact"; "required": false; }; "display": { "alias": "display"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "offCanvas": { "alias": "offCanvas"; "required": false; }; "minimized": { "alias": "minimized"; "required": false; }; }, { "minimizedChange": "minimizedChange"; }, never, ["*"], true, never>;
33
- }
@@ -1,24 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/router";
3
- import * as i2 from "./app-sidebar.component";
4
- import * as i3 from "./app-sidebar-footer.component";
5
- import * as i4 from "./app-sidebar-form.component";
6
- import * as i5 from "./app-sidebar-header.component";
7
- import * as i6 from "./app-sidebar-minimizer.component";
8
- import * as i7 from "./app-sidebar-nav.component";
9
- import * as i8 from "./app-sidebar-nav.directive";
10
- import * as i9 from "./app-sidebar-nav/app-sidebar-nav-items.component";
11
- import * as i10 from "./app-sidebar-nav/app-sidebar-nav-divider.component";
12
- import * as i11 from "./app-sidebar-nav/app-sidebar-nav-link.component";
13
- import * as i12 from "./app-sidebar-nav/app-sidebar-nav-title.component";
14
- import * as i13 from "./app-sidebar-nav/app-sidebar-nav-label.component";
15
- import * as i14 from "./app-sidebar-nav/app-sidebar-nav-icon.pipe";
16
- import * as i15 from "./app-sidebar-nav/app-sidebar-nav-badge.pipe";
17
- import * as i16 from "./app-sidebar-nav/app-sidebar-nav-link.pipe";
18
- import * as i17 from "./app-sidebar-nav/app-sidebar-nav-item-class.pipe";
19
- import * as i18 from "../shared/layout/layout.module";
20
- export declare class AppSidebarModule {
21
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<AppSidebarModule, never, [typeof i1.RouterModule, typeof i2.AppSidebarComponent, typeof i3.AppSidebarFooterComponent, typeof i4.AppSidebarFormComponent, typeof i5.AppSidebarHeaderComponent, typeof i6.AppSidebarMinimizerComponent, typeof i6.AppSidebarMinimizerComponent, typeof i7.AppSidebarNavComponent, typeof i8.NavDropdownDirective, typeof i9.AppSidebarNavItemsComponent, typeof i10.AppSidebarNavDividerComponent, typeof i9.AppSidebarNavDropdownComponent, typeof i11.AppSidebarNavLinkContentComponent, typeof i12.AppSidebarNavTitleComponent, typeof i13.AppSidebarNavLabelComponent, typeof i14.AppSidebarNavIconPipe, typeof i15.AppSidebarNavBadgePipe, typeof i16.AppSidebarNavLinkPipe, typeof i17.AppSidebarNavItemClassPipe, typeof i11.AppSidebarNavLinkComponent, typeof i8.NavDropdownToggleDirective, typeof i18.LayoutModule], [typeof i3.AppSidebarFooterComponent, typeof i4.AppSidebarFormComponent, typeof i5.AppSidebarHeaderComponent, typeof i6.AppSidebarMinimizerComponent, typeof i2.AppSidebarComponent, typeof i7.AppSidebarNavComponent]>;
23
- static ɵinj: i0.ɵɵInjectorDeclaration<AppSidebarModule>;
24
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export interface ISidebarAction {
3
- minimize?: boolean | 'toggle';
4
- }
5
- export declare class AppSidebarService {
6
- private events;
7
- events$: import("rxjs").Observable<ISidebarAction>;
8
- constructor();
9
- toggle(action: ISidebarAction): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<AppSidebarService>;
12
- }
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1,9 +0,0 @@
1
- export { INavData } from './app-sidebar-nav';
2
- export { AppSidebarComponent } from './app-sidebar.component';
3
- export { AppSidebarNavComponent } from './app-sidebar-nav.component';
4
- export { AppSidebarMinimizerComponent } from './app-sidebar-minimizer.component';
5
- export { SidebarNavHelper } from './app-sidebar-nav.service';
6
- export { AppSidebarModule } from './app-sidebar.module';
7
- export { AppSidebarFooterComponent } from './app-sidebar-footer.component';
8
- export { AppSidebarFormComponent } from './app-sidebar-form.component';
9
- export { AppSidebarHeaderComponent } from './app-sidebar-header.component';
package/public-api.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export * from './lib/aside';
2
- export * from './lib/breadcrumb';
3
- export * from './lib/footer';
4
- export * from './lib/header';
5
- export * from './lib/sidebar';