@skyux/lookup 5.0.4 → 5.1.0
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.
- package/bundles/skyux-lookup-testing.umd.js +8 -8
- package/bundles/skyux-lookup.umd.js +1009 -958
- package/bundles/skyux-lookup.umd.js.map +1 -1
- package/documentation.json +557 -525
- package/esm2015/modules/autocomplete/autocomplete-adapter.service.js +3 -3
- package/esm2015/modules/autocomplete/autocomplete-default-search-function.js +6 -4
- package/esm2015/modules/autocomplete/autocomplete-input.directive.js +3 -3
- package/esm2015/modules/autocomplete/autocomplete.component.js +45 -7
- package/esm2015/modules/autocomplete/autocomplete.module.js +4 -4
- package/esm2015/modules/autocomplete/types/autocomplete-message-type.js +5 -1
- package/esm2015/modules/country-field/country-field.component.js +3 -3
- package/esm2015/modules/country-field/country-field.module.js +4 -4
- package/esm2015/modules/lookup/lookup-adapter.service.js +3 -3
- package/esm2015/modules/lookup/lookup-autocomplete-adapter.js +3 -3
- package/esm2015/modules/lookup/lookup-show-more-modal.component.js +3 -3
- package/esm2015/modules/lookup/lookup.component.js +5 -4
- package/esm2015/modules/lookup/lookup.module.js +4 -4
- package/esm2015/modules/search/search-adapter.service.js +3 -3
- package/esm2015/modules/search/search.component.js +3 -3
- package/esm2015/modules/search/search.module.js +4 -4
- package/esm2015/modules/shared/sky-lookup-resources.module.js +4 -4
- package/esm2015/modules/shared/sky-lookup-string-utils.js +8 -0
- package/esm2015/testing/country-field/country-field-testing.module.js +4 -4
- package/esm2015/testing/search/search-testing.module.js +4 -4
- package/fesm2015/skyux-lookup-testing.js +8 -8
- package/fesm2015/skyux-lookup.js +107 -56
- package/fesm2015/skyux-lookup.js.map +1 -1
- package/modules/autocomplete/autocomplete.component.d.ts +6 -1
- package/modules/autocomplete/types/autocomplete-message-type.d.ts +5 -1
- package/modules/shared/sky-lookup-string-utils.d.ts +5 -0
- package/package.json +8 -8
|
@@ -10,15 +10,15 @@ import { SkySearchComponent } from './search.component';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export class SkySearchModule {
|
|
12
12
|
}
|
|
13
|
-
SkySearchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14
|
-
SkySearchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
13
|
+
SkySearchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkySearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
SkySearchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkySearchModule, declarations: [SkySearchComponent], imports: [CommonModule,
|
|
15
15
|
SkyInputBoxModule,
|
|
16
16
|
SkyLookupResourcesModule,
|
|
17
17
|
FormsModule,
|
|
18
18
|
SkyIconModule,
|
|
19
19
|
SkyThemeModule,
|
|
20
20
|
SkyIdModule], exports: [SkySearchComponent] });
|
|
21
|
-
SkySearchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
21
|
+
SkySearchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkySearchModule, imports: [[
|
|
22
22
|
CommonModule,
|
|
23
23
|
SkyInputBoxModule,
|
|
24
24
|
SkyLookupResourcesModule,
|
|
@@ -27,7 +27,7 @@ SkySearchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
27
27
|
SkyThemeModule,
|
|
28
28
|
SkyIdModule,
|
|
29
29
|
]] });
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkySearchModule, decorators: [{
|
|
31
31
|
type: NgModule,
|
|
32
32
|
args: [{
|
|
33
33
|
declarations: [SkySearchComponent],
|
|
@@ -44,16 +44,16 @@ export class SkyLookupResourcesProvider {
|
|
|
44
44
|
*/
|
|
45
45
|
export class SkyLookupResourcesModule {
|
|
46
46
|
}
|
|
47
|
-
SkyLookupResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
48
|
-
SkyLookupResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
49
|
-
SkyLookupResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
47
|
+
SkyLookupResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkyLookupResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
48
|
+
SkyLookupResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkyLookupResourcesModule, exports: [SkyI18nModule] });
|
|
49
|
+
SkyLookupResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkyLookupResourcesModule, providers: [
|
|
50
50
|
{
|
|
51
51
|
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
|
52
52
|
useClass: SkyLookupResourcesProvider,
|
|
53
53
|
multi: true,
|
|
54
54
|
},
|
|
55
55
|
], imports: [SkyI18nModule] });
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkyLookupResourcesModule, decorators: [{
|
|
57
57
|
type: NgModule,
|
|
58
58
|
args: [{
|
|
59
59
|
exports: [SkyI18nModule],
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Removes diacritical characters from strings and replaces them with their normalized equivalent.
|
|
3
|
+
* For example: è becomes e, Å becomes A.
|
|
4
|
+
*/
|
|
5
|
+
export function normalizeDiacritics(value) {
|
|
6
|
+
return value.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2t5LWxvb2t1cC1zdHJpbmctdXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sb29rdXAvc3JjL21vZHVsZXMvc2hhcmVkL3NreS1sb29rdXAtc3RyaW5nLXV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7R0FHRztBQUNILE1BQU0sVUFBVSxtQkFBbUIsQ0FBQyxLQUFhO0lBQy9DLE9BQU8sS0FBSyxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxPQUFPLENBQUMsa0JBQWtCLEVBQUUsRUFBRSxDQUFDLENBQUM7QUFDaEUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogUmVtb3ZlcyBkaWFjcml0aWNhbCBjaGFyYWN0ZXJzIGZyb20gc3RyaW5ncyBhbmQgcmVwbGFjZXMgdGhlbSB3aXRoIHRoZWlyIG5vcm1hbGl6ZWQgZXF1aXZhbGVudC5cbiAqIEZvciBleGFtcGxlOiDDqCBiZWNvbWVzIGUsIMOFIGJlY29tZXMgQS5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIG5vcm1hbGl6ZURpYWNyaXRpY3ModmFsdWU6IHN0cmluZyk6IHN0cmluZyB7XG4gIHJldHVybiB2YWx1ZS5ub3JtYWxpemUoJ05GRCcpLnJlcGxhY2UoL1tcXHUwMzAwLVxcdTAzNmZdL2csICcnKTtcbn1cbiJdfQ==
|
|
@@ -3,10 +3,10 @@ import { SkyCountryFieldModule } from '@skyux/lookup';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class SkyCountryFieldTestingModule {
|
|
5
5
|
}
|
|
6
|
-
SkyCountryFieldTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
7
|
-
SkyCountryFieldTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
8
|
-
SkyCountryFieldTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
6
|
+
SkyCountryFieldTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkyCountryFieldTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
SkyCountryFieldTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkyCountryFieldTestingModule, exports: [SkyCountryFieldModule] });
|
|
8
|
+
SkyCountryFieldTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkyCountryFieldTestingModule, imports: [SkyCountryFieldModule] });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkyCountryFieldTestingModule, decorators: [{
|
|
10
10
|
type: NgModule,
|
|
11
11
|
args: [{
|
|
12
12
|
exports: [SkyCountryFieldModule],
|
|
@@ -3,10 +3,10 @@ import { SkySearchModule } from '@skyux/lookup';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class SkySearchTestingModule {
|
|
5
5
|
}
|
|
6
|
-
SkySearchTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
7
|
-
SkySearchTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
8
|
-
SkySearchTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
6
|
+
SkySearchTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkySearchTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
SkySearchTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkySearchTestingModule, exports: [SkySearchModule] });
|
|
8
|
+
SkySearchTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkySearchTestingModule, imports: [SkySearchModule] });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkySearchTestingModule, decorators: [{
|
|
10
10
|
type: NgModule,
|
|
11
11
|
args: [{
|
|
12
12
|
exports: [SkySearchModule],
|
|
@@ -127,10 +127,10 @@ class SkyCountryFieldFixture {
|
|
|
127
127
|
|
|
128
128
|
class SkyCountryFieldTestingModule {
|
|
129
129
|
}
|
|
130
|
-
SkyCountryFieldTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
131
|
-
SkyCountryFieldTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
132
|
-
SkyCountryFieldTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
130
|
+
SkyCountryFieldTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkyCountryFieldTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
131
|
+
SkyCountryFieldTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkyCountryFieldTestingModule, exports: [SkyCountryFieldModule] });
|
|
132
|
+
SkyCountryFieldTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkyCountryFieldTestingModule, imports: [SkyCountryFieldModule] });
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkyCountryFieldTestingModule, decorators: [{
|
|
134
134
|
type: NgModule,
|
|
135
135
|
args: [{
|
|
136
136
|
exports: [SkyCountryFieldModule],
|
|
@@ -194,10 +194,10 @@ class SkySearchFixture {
|
|
|
194
194
|
|
|
195
195
|
class SkySearchTestingModule {
|
|
196
196
|
}
|
|
197
|
-
SkySearchTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
198
|
-
SkySearchTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
199
|
-
SkySearchTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
197
|
+
SkySearchTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkySearchTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
198
|
+
SkySearchTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkySearchTestingModule, exports: [SkySearchModule] });
|
|
199
|
+
SkySearchTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkySearchTestingModule, imports: [SkySearchModule] });
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: SkySearchTestingModule, decorators: [{
|
|
201
201
|
type: NgModule,
|
|
202
202
|
args: [{
|
|
203
203
|
exports: [SkySearchModule],
|