forked from spinnaker/deck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(core/help): make help field work in ng2
* add code to make the help field component work in ng2 components. * create framework for wiring in upgraded ng1 components.
- Loading branch information
Showing
6 changed files
with
62 additions
and
8 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
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
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,7 @@ | ||
import {Type} from '@angular/core'; | ||
|
||
import {HelpFieldComponentDirective} from './helpField.component'; | ||
|
||
export const HELP_DIRECTIVE_UPGRADES: Type<any>[] = [ | ||
HelpFieldComponentDirective | ||
]; |
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
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 |
---|---|---|
@@ -1,10 +1,16 @@ | ||
import {Type} from '@angular/core'; | ||
|
||
import {IDowngradeItem} from 'core/domain/IDowngradeItem'; | ||
import {CORE_MODULE_DOWNGRADES, CORE_COMPONENT_MODULE_DOWNGRADES} from './core'; | ||
import {CORE_MODULE_DOWNGRADES, CORE_COMPONENT_MODULE_DOWNGRADES, CORE_DIRECTIVE_UPGRADES} from './core'; | ||
|
||
export const SPINNAKER_DOWNGRADES: IDowngradeItem[] = [ | ||
...CORE_MODULE_DOWNGRADES | ||
]; | ||
|
||
export const SPINNAKER_COMPONENT_DOWNGRADES: IDowngradeItem[] = [ | ||
...CORE_COMPONENT_MODULE_DOWNGRADES | ||
...CORE_COMPONENT_MODULE_DOWNGRADES, | ||
]; | ||
|
||
export const SPINNAKER_DIRECTIVE_UPGRADES: Type<any>[] = [ | ||
...CORE_DIRECTIVE_UPGRADES | ||
]; |
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 |
---|---|---|
|
@@ -97,7 +97,7 @@ | |
"check-type" | ||
], | ||
"directive-selector": [ | ||
true, | ||
false, | ||
"attribute", | ||
"deck", | ||
"camelCase" | ||
|