This repository has been archived by the owner on Jul 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to make the library more extendable for the client. fixes: #369 BREAKING CHANGE: new client API
- Loading branch information
Showing
126 changed files
with
2,199 additions
and
4,773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
36 changes: 13 additions & 23 deletions
36
...ster-createapp-nextstep.component.spec.ts → ...tivate-booster-nextstep.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...ncher/src/lib/components/activate-booster-nextstep/activate-booster-nextstep.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { | ||
Component, | ||
Host, | ||
ViewEncapsulation | ||
} from '@angular/core'; | ||
|
||
import { LauncherComponent } from '../../launcher.component'; | ||
import { DependencyCheck } from '../../model/dependency-check.model'; | ||
import { Projectile } from '../../model/projectile.model'; | ||
import { TargetEnvironmentSelection } from '../../model/target-environment.model'; | ||
|
||
@Component({ | ||
encapsulation: ViewEncapsulation.None, | ||
selector: 'f8launcher-activatebooster-nextstep', | ||
templateUrl: './activate-booster-nextstep.component.html', | ||
styleUrls: ['./activate-booster-nextstep.component.less'] | ||
}) | ||
export class ActivateBoosterNextstepComponent { | ||
|
||
constructor(@Host() public launcherComponent: LauncherComponent, | ||
private projectile: Projectile<TargetEnvironmentSelection>) { | ||
} | ||
|
||
get dependencyCheck(): DependencyCheck { | ||
return this.projectile.sharedState.state; | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...auncher/src/lib/components/dependency-editor-step/dependency-editor-review.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<div class="col-xs-12"> | ||
<div id="dep-editor" class="card-pf card-pf--small"> | ||
<div *ngIf="data.dep.dependencySnapshot === undefined; | ||
then showNoDependencyTemplate else showDependencyTemplate"></div> | ||
<ng-template #showNoDependencyTemplate> | ||
<div class="card-pf-heading"> | ||
<h2 class="card-pf-title"> | ||
Selected Dependencies | ||
</h2> | ||
</div> | ||
<div class="card-pf-body f8launcher-project-summary-data-unavailable dependency noData-label"> | ||
<h2> | ||
<b>You haven't selected any additional dependencies</b> | ||
</h2> | ||
<p>To add additional dependencies, complete this section. Required dependencies are added for you automatically based on your mission and runtime.</p> | ||
<button class="btn btn-default btn-lg f8launcher-authorize-account" | ||
(click)="navToStep()">Complete Section</button> | ||
</div> | ||
</ng-template> | ||
<ng-template #showDependencyTemplate> | ||
<div class="card-pf-heading"> | ||
<h2 class="card-pf-title"> | ||
Selected Dependencies | ||
</h2> | ||
</div> | ||
<div class="card-pf-body"> | ||
<div class="list-group-item"> | ||
<div class="list-view-pf-main-info"> | ||
<div class="list-view-pf-body"> | ||
<div class="list-view-pf-description f8launcher-project-summary-data-unavailable dependency"> | ||
<ng-container> | ||
<span class="dependencies-added" *ngFor="let snapshot of data.dep.dependencySnapshot"> | ||
{{snapshot.package}} | ||
</span> | ||
</ng-container> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</ng-template> | ||
</div> | ||
</div> |
15 changes: 15 additions & 0 deletions
15
...-launcher/src/lib/components/dependency-editor-step/dependency-editor-review.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component } from '@angular/core'; | ||
import { Broadcaster } from 'ngx-base'; | ||
import { Projectile } from '../../model/projectile.model'; | ||
import { ReviewComponent } from '../../review.component'; | ||
|
||
@Component({ | ||
selector: 'f8launcher-dependency-editor-review', | ||
templateUrl: './dependency-editor-review.component.html' | ||
}) | ||
export class DependencyEditorReviewComponent extends ReviewComponent { | ||
|
||
constructor(broadcaster: Broadcaster, projectile: Projectile<any>) { | ||
super(broadcaster, projectile); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.