Skip to content

Commit 2630c46

Browse files
author
Sharma
committed
Changed component's directory structure anf few other changes
1 parent 8ef55da commit 2630c46

16 files changed

+11
-7
lines changed

sdk-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"comment_sdk_config": "This is the configuration file for the Angular SDK",
33
"sdk_optional_configs_doc_comment": "See the document(link below) for more details on all the available config settings",
44
"sdk_optional_configs_doc": "https://docs.pega.com/bundle/constellation-sdk/page/constellation-sdks/sdks/configuring-sdk-config-json.html",
5+
"theme": "light",
56
"authConfig": {
67
"authService": "pega",
78

sdk-local-component-map.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Statically load all "local" components that aren't yet in the npm package
22

3-
// import sdkMediaCoComponentMap from 'sdk-mediaco-component-map';
3+
// import sdkMediaCoComponentMap from './src/app/_samples/mediaco/sdk-mediaco-component-map';
44
/* import end - DO NOT REMOVE */
55

66
// localSdkComponentMap is the JSON object where we'll store the components that are

src/app/_samples/mediaco/overrides/app-shell/app-shell.component.html renamed to src/app/_samples/mediaco/components/app-shell/app-shell.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@
88
[props]="{ pConn$, appName$, homePage: pages$[0], pages$: links, caseTypes$, arChildren$, portalLogoImage$: imageURL }"
99
></component-mapper>
1010
</div>
11+
<div *ngIf="portalTemplate === 'wss'">
12+
<app-footer></app-footer>
13+
</div>
1114
</div>

src/app/_samples/mediaco/overrides/app-shell/app-shell.component.scss renamed to src/app/_samples/mediaco/components/app-shell/app-shell.component.scss

File renamed without changes.

src/app/_samples/mediaco/overrides/app-shell/app-shell.component.spec.ts renamed to src/app/_samples/mediaco/components/app-shell/app-shell.component.spec.ts

File renamed without changes.

src/app/_samples/mediaco/overrides/app-shell/app-shell.component.ts renamed to src/app/_samples/mediaco/components/app-shell/app-shell.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { Component, OnInit, Input, NgZone, forwardRef, OnDestroy } from '@angula
22
import { CommonModule } from '@angular/common';
33
import { MatSnackBarModule, MatSnackBar } from '@angular/material/snack-bar';
44
import { Subscription } from 'rxjs';
5+
import { FooterComponent } from '../footer/footer.component';
56
import { AngularPConnectData, AngularPConnectService, Utils } from '@pega/angular-sdk-components';
67
import { ErrorMessagesService } from '@pega/angular-sdk-components';
78
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
@@ -31,7 +32,7 @@ interface AppShellProps {
3132
selector: 'app-app-shell',
3233
templateUrl: './app-shell.component.html',
3334
styleUrls: ['./app-shell.component.scss'],
34-
imports: [CommonModule, MatSnackBarModule, forwardRef(() => ComponentMapperComponent)]
35+
imports: [CommonModule, MatSnackBarModule, FooterComponent, forwardRef(() => ComponentMapperComponent)]
3536
})
3637
export class AppShellComponent implements OnInit, OnDestroy {
3738
@Input() pConn$: typeof PConnect;

src/app/_samples/mediaco/overrides/banner/banner.component.html renamed to src/app/_samples/mediaco/components/banner/banner.component.html

File renamed without changes.

src/app/_samples/mediaco/overrides/banner/banner.component.scss renamed to src/app/_samples/mediaco/components/banner/banner.component.scss

File renamed without changes.

src/app/_samples/mediaco/overrides/banner/banner.component.spec.ts renamed to src/app/_samples/mediaco/components/banner/banner.component.spec.ts

File renamed without changes.

src/app/_samples/mediaco/overrides/banner/banner.component.ts renamed to src/app/_samples/mediaco/components/banner/banner.component.ts

File renamed without changes.

0 commit comments

Comments
 (0)