@transcommerce/cwm-shared 1.1.17 → 1.1.19

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.
@@ -0,0 +1,17 @@
1
+ import { AfterViewInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ExternalNavigationComponent implements AfterViewInit {
5
+ private router;
6
+ protected route: string;
7
+ constructor(router: Router);
8
+ ngAfterViewInit(): void;
9
+ navigateToRoute(): void;
10
+ navigate(): void;
11
+ navigateByUrl(): void;
12
+ navigateToExternalUrl(): void;
13
+ navigateToExternalHref(): void;
14
+ onKeyPress($event: KeyboardEvent): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExternalNavigationComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExternalNavigationComponent, "cwm-external-navigation", never, {}, {}, never, never, false, never>;
17
+ }
@@ -0,0 +1,13 @@
1
+ import { AfterViewInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NavigateToRouteComponent implements AfterViewInit {
5
+ private router;
6
+ route: string;
7
+ constructor(router: Router);
8
+ ngAfterViewInit(): void;
9
+ navigateToRoute(): void;
10
+ onKeyPress($event: KeyboardEvent): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigateToRouteComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavigateToRouteComponent, "cwm-navigate-to-route", never, {}, {}, never, never, false, never>;
13
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class PageNotFoundComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageNotFoundComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageNotFoundComponent, "cwm-page-not-found", never, {}, {}, never, never, false, never>;
5
+ }
@@ -1,10 +1,14 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "../pipes/safe-html.pipe";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/platform-browser";
5
- import * as i4 from "@azure/msal-angular";
2
+ import * as i1 from "../components/external-navigation/external-navigation.component";
3
+ import * as i2 from "../components/navigate-to-route/navigate-to-route.component";
4
+ import * as i3 from "../components/page-not-found/page-not-found.component";
5
+ import * as i4 from "../pipes/safe-html.pipe";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@angular/platform-browser";
8
+ import * as i7 from "@azure/msal-angular";
9
+ import * as i8 from "@angular/forms";
6
10
  export declare class CwmSharedModule {
7
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CwmSharedModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<CwmSharedModule, [typeof i1.SafeHtmlPipe], [typeof i2.CommonModule, typeof i3.BrowserModule, typeof i4.MsalModule], never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CwmSharedModule, [typeof i1.ExternalNavigationComponent, typeof i2.NavigateToRouteComponent, typeof i3.PageNotFoundComponent, typeof i4.SafeHtmlPipe], [typeof i5.CommonModule, typeof i6.BrowserModule, typeof i7.MsalModule, typeof i8.FormsModule], [typeof i5.CommonModule, typeof i6.BrowserModule, typeof i7.MsalModule, typeof i8.FormsModule, typeof i1.ExternalNavigationComponent, typeof i2.NavigateToRouteComponent, typeof i3.PageNotFoundComponent, typeof i4.SafeHtmlPipe]>;
9
13
  static ɵinj: i0.ɵɵInjectorDeclaration<CwmSharedModule>;
10
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transcommerce/cwm-shared",
3
- "version": "1.1.17",
3
+ "version": "1.1.19",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.0",
6
6
  "@angular/core": "^19.2.0",
@@ -25,4 +25,4 @@
25
25
  "default": "./fesm2022/transcommerce-cwm-shared.mjs"
26
26
  }
27
27
  }
28
- }
28
+ }
package/public-api.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ export * from './lib/components/external-navigation/external-navigation.component';
2
+ export * from './lib/components/navigate-to-route/navigate-to-route.component';
3
+ export * from './lib/components/page-not-found/page-not-found.component';
1
4
  export * from './lib/factories/msal.guard.config.factory';
2
5
  export * from './lib/factories/msal.instance.factory';
3
6
  export * from './lib/factories/msal-interceptor-config.factory';
@@ -38,9 +41,11 @@ export * from './lib/models/user-types';
38
41
  export * from './lib/models/weight-tier-information';
39
42
  export * from './lib/models/window';
40
43
  export * from './lib/modules/cwm-shared.module';
44
+ export * from '@angular/common';
45
+ export * from '@azure/msal-angular';
41
46
  export * from './lib/pipes/safe-html.pipe';
42
47
  export * from './lib/services/mocks/mock-inventory-api-response';
43
- export * from './lib/services/mocks/mock-location-config';
48
+ export * from './lib/services/mocks/mock-config';
44
49
  export * from './lib/services/mocks/mock-profile';
45
50
  export * from './lib/services/auth.service';
46
51
  export * from './lib/services/base-api.service';