@volo/ngx-lepton-x.core 1.0.0 → 2.0.0-rc.2

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 (34) hide show
  1. package/esm2020/index.mjs +2 -1
  2. package/esm2020/lib/components/breadcrumb/breadcrumb-route-listener.service.mjs +5 -2
  3. package/esm2020/lib/components/footer/footer-links.service.mjs +21 -0
  4. package/esm2020/lib/components/footer/footer.component.mjs +20 -0
  5. package/esm2020/lib/components/footer/footer.module.mjs +25 -0
  6. package/esm2020/lib/components/footer/index.mjs +4 -0
  7. package/esm2020/lib/components/index.mjs +2 -1
  8. package/esm2020/lib/panels/breadcrumb-panel.directive.mjs +16 -0
  9. package/esm2020/lib/panels/footer-panel.directive.mjs +16 -0
  10. package/esm2020/lib/panels/index.mjs +8 -0
  11. package/esm2020/lib/panels/mobile-navbar-panel.directive.mjs +16 -0
  12. package/esm2020/lib/panels/navbar-panel.directive.mjs +16 -0
  13. package/esm2020/lib/panels/panels.module.mjs +41 -0
  14. package/esm2020/lib/panels/toolbar-panel.directive.mjs +16 -0
  15. package/esm2020/lib/panels/top-navbar-panel.directive.mjs +16 -0
  16. package/fesm2015/volo-ngx-lepton-x.core.mjs +173 -2
  17. package/fesm2015/volo-ngx-lepton-x.core.mjs.map +1 -1
  18. package/fesm2020/volo-ngx-lepton-x.core.mjs +173 -2
  19. package/fesm2020/volo-ngx-lepton-x.core.mjs.map +1 -1
  20. package/index.d.ts +1 -0
  21. package/lib/components/footer/footer-links.service.d.ts +17 -0
  22. package/lib/components/footer/footer.component.d.ts +10 -0
  23. package/lib/components/footer/footer.module.d.ts +11 -0
  24. package/lib/components/footer/index.d.ts +3 -0
  25. package/lib/components/index.d.ts +1 -0
  26. package/lib/panels/breadcrumb-panel.directive.d.ts +8 -0
  27. package/lib/panels/footer-panel.directive.d.ts +8 -0
  28. package/lib/panels/index.d.ts +7 -0
  29. package/lib/panels/mobile-navbar-panel.directive.d.ts +8 -0
  30. package/lib/panels/navbar-panel.directive.d.ts +8 -0
  31. package/lib/panels/panels.module.d.ts +13 -0
  32. package/lib/panels/toolbar-panel.directive.d.ts +8 -0
  33. package/lib/panels/top-navbar-panel.directive.d.ts +8 -0
  34. package/package.json +3 -2
package/index.d.ts CHANGED
@@ -8,3 +8,4 @@ export * from './lib/services/index';
8
8
  export * from './lib/style/index';
9
9
  export * from './lib/tokens/index';
10
10
  export * from './lib/utils/index';
11
+ export * from './lib/panels/index';
@@ -0,0 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ export interface FooterLink {
3
+ link: string;
4
+ text: string;
5
+ }
6
+ export interface FooterNav {
7
+ descUrl?: string;
8
+ desc: string;
9
+ footerLinks?: FooterLink[];
10
+ }
11
+ export declare class FooterLinksService {
12
+ private store;
13
+ footerInfo$: import("rxjs").Observable<FooterNav>;
14
+ setFooterInfo(links: FooterNav): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<FooterLinksService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<FooterLinksService>;
17
+ }
@@ -0,0 +1,10 @@
1
+ import { FooterLinksService } from './footer-links.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FooterComponent {
4
+ private service;
5
+ footerValues$: import("rxjs").Observable<import("./footer-links.service").FooterNav>;
6
+ currentYear: number;
7
+ constructor(service: FooterLinksService);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "lpx-footer", never, {}, {}, never, never, false>;
10
+ }
@@ -0,0 +1,11 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./footer.component";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "@angular/router";
6
+ export declare class LpxFooterModule {
7
+ static forRoot(): ModuleWithProviders<LpxFooterModule>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<LpxFooterModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LpxFooterModule, [typeof i1.FooterComponent], [typeof i2.CommonModule, typeof i3.RouterModule], [typeof i1.FooterComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<LpxFooterModule>;
11
+ }
@@ -0,0 +1,3 @@
1
+ export * from './footer.component';
2
+ export * from './footer.module';
3
+ export * from './footer-links.service';
@@ -3,3 +3,4 @@ export * from './brand-logo/index';
3
3
  export * from './breadcrumb/index';
4
4
  export * from './icon/index';
5
5
  export * from './navbar/index';
6
+ export * from './footer/index';
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BreadcrumbPanelDirective {
4
+ template: TemplateRef<any>;
5
+ constructor(template: TemplateRef<any>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbPanelDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BreadcrumbPanelDirective, "ng-template[lpx-breadcrumb-panel]", never, {}, {}, never, never, false>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FooterPanelDirective {
4
+ template: TemplateRef<any>;
5
+ constructor(template: TemplateRef<any>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FooterPanelDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FooterPanelDirective, "ng-template[lpx-footer-panel]", never, {}, {}, never, never, false>;
8
+ }
@@ -0,0 +1,7 @@
1
+ export * from './navbar-panel.directive';
2
+ export * from './breadcrumb-panel.directive';
3
+ export * from './footer-panel.directive';
4
+ export * from './mobile-navbar-panel.directive';
5
+ export * from './toolbar-panel.directive';
6
+ export * from './top-navbar-panel.directive';
7
+ export * from './panels.module';
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MobileNavbarPanelDirective {
4
+ template: TemplateRef<any>;
5
+ constructor(template: TemplateRef<any>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MobileNavbarPanelDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MobileNavbarPanelDirective, "ng-template[lpx-mobile-navbar-panel]", never, {}, {}, never, never, false>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NavbarPanelDirective {
4
+ template: TemplateRef<any>;
5
+ constructor(template: TemplateRef<any>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavbarPanelDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NavbarPanelDirective, "ng-template[lpx-navbar-panel]", never, {}, {}, never, never, false>;
8
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./breadcrumb-panel.directive";
3
+ import * as i2 from "./navbar-panel.directive";
4
+ import * as i3 from "./footer-panel.directive";
5
+ import * as i4 from "./mobile-navbar-panel.directive";
6
+ import * as i5 from "./toolbar-panel.directive";
7
+ import * as i6 from "./top-navbar-panel.directive";
8
+ import * as i7 from "@angular/common";
9
+ export declare class PanelsModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelsModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PanelsModule, [typeof i1.BreadcrumbPanelDirective, typeof i2.NavbarPanelDirective, typeof i3.FooterPanelDirective, typeof i4.MobileNavbarPanelDirective, typeof i5.ToolbarPanelDirective, typeof i6.TopNavbarPanelDirective], [typeof i7.CommonModule], [typeof i1.BreadcrumbPanelDirective, typeof i2.NavbarPanelDirective, typeof i3.FooterPanelDirective, typeof i4.MobileNavbarPanelDirective, typeof i5.ToolbarPanelDirective, typeof i6.TopNavbarPanelDirective]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<PanelsModule>;
13
+ }
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ToolbarPanelDirective {
4
+ template: TemplateRef<any>;
5
+ constructor(template: TemplateRef<any>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarPanelDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ToolbarPanelDirective, "ng-template[lpx-toolbar-panel]", never, {}, {}, never, never, false>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TopNavbarPanelDirective {
4
+ template: TemplateRef<any>;
5
+ constructor(template: TemplateRef<any>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TopNavbarPanelDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TopNavbarPanelDirective, "ng-template[lpx-top-navbar-panel]", never, {}, {}, never, never, false>;
8
+ }
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@volo/ngx-lepton-x.core",
3
- "version": "1.0.0",
3
+ "version": "2.0.0-rc.2",
4
4
  "dependencies": {
5
- "tslib": "^2.3.0"
5
+ "tslib": "^2.3.0",
6
+ "ts-toolbelt": "^6.15.4"
6
7
  },
7
8
  "publishConfig": {
8
9
  "access": "public"