This repository was archived by the owner on Dec 8, 2022. It is now read-only.
Commit 79d44cd 1 parent 6522f59 commit 79d44cd Copy full SHA for 79d44cd
File tree 6 files changed +48
-16
lines changed
6 files changed +48
-16
lines changed Original file line number Diff line number Diff line change 30
30
"@angular/core" : " ^4.3.6" ,
31
31
"@angular/router" : " ^4.3.6" ,
32
32
"@skyux/core" : " ^3.1.0" ,
33
- "@skyux/i18n" : " ^3.0.1 " ,
33
+ "@skyux/i18n" : " ^3.2.0 " ,
34
34
"@skyux/indicators" : " ^3.0.0-rc.0" ,
35
- "@skyux/popovers" : " ^3.0.0-rc.0" ,
36
- "rxjs" : " ^5.4.3"
35
+ "@skyux/popovers" : " ^3.0.0-rc.0"
37
36
},
38
37
"dependencies" : {},
39
38
"devDependencies" : {
48
47
"@angular/platform-browser-dynamic" : " 4.3.6" ,
49
48
"@angular/router" : " 4.3.6" ,
50
49
"@blackbaud/skyux" : " 2.26.0" ,
51
- "@blackbaud/skyux-builder" : " 1.24 .0" ,
50
+ "@blackbaud/skyux-builder" : " 1.25 .0" ,
52
51
"@skyux/core" : " 3.1.0" ,
53
- "@skyux/i18n" : " 3.0.1 " ,
52
+ "@skyux/i18n" : " 3.2.0 " ,
54
53
"@skyux/indicators" : " 3.0.0-rc.0" ,
55
54
"@skyux/popovers" : " 3.0.0-rc.0" ,
56
- "@skyux-sdk/builder-plugin-skyux" : " 1.0.0-rc.0 " ,
55
+ "@skyux-sdk/builder-plugin-skyux" : " 1.0.0-rc.3 " ,
57
56
"core-js" : " 2.4.1" ,
58
57
"rxjs" : " 5.4.3" ,
59
58
"ts-node" : " 3.0.4" ,
Original file line number Diff line number Diff line change 3
3
< button
4
4
class ="sky-btn sky-btn-default sky-search-btn-open "
5
5
type ="button "
6
- [attr.title] ="'skyux_search_open' | skyAppResources "
6
+ [attr.title] ="'skyux_search_open' | skyLibResources "
7
7
[hidden] ="!searchButtonShown "
8
8
[ngClass] ="{'sky-search-btn-open-applied': clearButtonShown} "
9
9
(click) ="toggleSearchInput(true) "
33
33
< input
34
34
class ="sky-form-control sky-search-input sky-rounded-corners "
35
35
type ="text "
36
- [attr.aria-label] ="'skyux_search_label' | skyAppResources "
37
- [attr.placeholder] ="placeholderText || ('skyux_search_placeholder' | skyAppResources ) "
36
+ [attr.aria-label] ="'skyux_search_label' | skyLibResources "
37
+ [attr.placeholder] ="placeholderText || ('skyux_search_placeholder' | skyLibResources ) "
38
38
[disabled] ="disabled "
39
39
[ngModel] ="searchText "
40
40
(blur) ="inputFocused(false) "
65
65
< button
66
66
class ="sky-btn sky-btn-default sky-search-btn sky-search-btn-apply "
67
67
type ="button "
68
- [attr.aria-label] ="'skyux_search_label' | skyAppResources "
68
+ [attr.aria-label] ="'skyux_search_label' | skyLibResources "
69
69
[disabled] ="disabled "
70
70
(click) ="applySearchText(searchText) "
71
71
>
85
85
*ngIf ="mobileSearchShown "
86
86
class ="sky-btn sky-btn-secondary sky-search-btn-dismiss "
87
87
type ="button "
88
- [attr.title] ="'skyux_search_dismiss' | skyAppResources "
88
+ [attr.title] ="'skyux_search_dismiss' | skyLibResources "
89
89
(click) ="toggleSearchInput(false) "
90
90
>
91
91
< sky-icon
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ import {
15
15
SkyMediaQueryModule
16
16
} from '@skyux/core' ;
17
17
18
- import {
19
- SkyI18nModule
20
- } from '@skyux/i18n' ;
21
-
22
18
import {
23
19
SkyIconModule
24
20
} from '@skyux/indicators' ;
25
21
22
+ import {
23
+ SkyLookupResourcesModule
24
+ } from '../shared' ;
25
+
26
26
import {
27
27
SkySearchComponent
28
28
} from './search.component' ;
@@ -34,7 +34,7 @@ import {
34
34
imports : [
35
35
BrowserAnimationsModule ,
36
36
CommonModule ,
37
- SkyI18nModule ,
37
+ SkyLookupResourcesModule ,
38
38
SkyMediaQueryModule ,
39
39
FormsModule ,
40
40
SkyIconModule
Original file line number Diff line number Diff line change
1
+ export * from './lookup-resources.module' ;
Original file line number Diff line number Diff line change
1
+ import {
2
+ NgModule
3
+ } from '@angular/core' ;
4
+
5
+ import {
6
+ SKY_LIB_RESOURCES_PROVIDERS ,
7
+ SkyI18nModule
8
+ } from '@skyux/i18n' ;
9
+
10
+ import {
11
+ SkyLookupResourcesProvider
12
+ } from '../../plugin-resources/lookup-resources-provider' ;
13
+
14
+ @NgModule ( {
15
+ exports : [
16
+ SkyI18nModule
17
+ ] ,
18
+ providers : [ {
19
+ provide : SKY_LIB_RESOURCES_PROVIDERS ,
20
+ useClass : SkyLookupResourcesProvider ,
21
+ multi : true
22
+ } ]
23
+ } )
24
+ export class SkyLookupResourcesModule { }
Original file line number Diff line number Diff line change
1
+ import {
2
+ SkyAppLocaleInfo ,
3
+ SkyLibResourcesProvider
4
+ } from '@skyux/i18n' ;
5
+
6
+ export class SkyLookupResourcesProvider implements SkyLibResourcesProvider {
7
+ public getString : ( localeInfo : SkyAppLocaleInfo , ...args : any [ ] ) => string ;
8
+ }
You can’t perform that action at this time.
0 commit comments