@skyux/lookup 5.0.2 → 5.1.1

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.
Files changed (50) hide show
  1. package/README.md +0 -1
  2. package/bundles/skyux-lookup-testing.umd.js +11 -15
  3. package/bundles/skyux-lookup.umd.js +1954 -1885
  4. package/documentation.json +734 -702
  5. package/esm2015/modules/autocomplete/autocomplete-adapter.service.js +5 -5
  6. package/esm2015/modules/autocomplete/autocomplete-default-search-function.js +9 -8
  7. package/esm2015/modules/autocomplete/autocomplete-input.directive.js +11 -19
  8. package/esm2015/modules/autocomplete/autocomplete.component.js +77 -39
  9. package/esm2015/modules/autocomplete/autocomplete.module.js +10 -18
  10. package/esm2015/modules/autocomplete/types/autocomplete-default-search-function-options.js +1 -1
  11. package/esm2015/modules/autocomplete/types/autocomplete-message-type.js +5 -1
  12. package/esm2015/modules/autocomplete/types/autocomplete-message.js +1 -1
  13. package/esm2015/modules/autocomplete/types/autocomplete-search-function-filter.js +1 -1
  14. package/esm2015/modules/autocomplete/types/autocomplete-search-function.js +1 -1
  15. package/esm2015/modules/autocomplete/types/autocomplete-show-more-args.js +1 -1
  16. package/esm2015/modules/country-field/country-field.component.js +32 -42
  17. package/esm2015/modules/country-field/country-field.module.js +9 -13
  18. package/esm2015/modules/country-field/types/country.js +1 -1
  19. package/esm2015/modules/lookup/lookup-adapter.service.js +4 -4
  20. package/esm2015/modules/lookup/lookup-autocomplete-adapter.js +9 -8
  21. package/esm2015/modules/lookup/lookup-show-more-modal.component.js +50 -38
  22. package/esm2015/modules/lookup/lookup.component.js +60 -41
  23. package/esm2015/modules/lookup/lookup.module.js +10 -18
  24. package/esm2015/modules/lookup/types/lookup-add-click-callback-args.js +1 -1
  25. package/esm2015/modules/lookup/types/lookup-add-click-event-args.js +1 -1
  26. package/esm2015/modules/lookup/types/lookup-select-mode.js +1 -1
  27. package/esm2015/modules/lookup/types/lookup-show-more-config.js +1 -1
  28. package/esm2015/modules/lookup/types/lookup-show-more-custom-picker.js +1 -1
  29. package/esm2015/modules/lookup/types/lookup-show-more-native-picker-config.js +1 -1
  30. package/esm2015/modules/lookup/types/lookup-show-more-native-picker-context.js +1 -1
  31. package/esm2015/modules/search/search-adapter.service.js +6 -5
  32. package/esm2015/modules/search/search.component.js +35 -35
  33. package/esm2015/modules/search/search.module.js +9 -13
  34. package/esm2015/modules/shared/sky-lookup-resources.module.js +40 -12
  35. package/esm2015/modules/shared/sky-lookup-string-utils.js +8 -0
  36. package/esm2015/polyfills.js +4 -3
  37. package/esm2015/testing/country-field/country-field-fixture.js +2 -2
  38. package/esm2015/testing/country-field/country-field-testing.module.js +6 -8
  39. package/esm2015/testing/search/search-fixture.js +1 -1
  40. package/esm2015/testing/search/search-testing.module.js +6 -8
  41. package/fesm2015/skyux-lookup-testing.js +11 -15
  42. package/fesm2015/skyux-lookup-testing.js.map +1 -1
  43. package/fesm2015/skyux-lookup.js +360 -291
  44. package/fesm2015/skyux-lookup.js.map +1 -1
  45. package/modules/autocomplete/autocomplete.component.d.ts +6 -1
  46. package/modules/autocomplete/types/autocomplete-message-type.d.ts +5 -1
  47. package/modules/shared/sky-lookup-string-utils.d.ts +5 -0
  48. package/package.json +12 -12
  49. package/bundles/skyux-lookup-testing.umd.js.map +0 -1
  50. package/bundles/skyux-lookup.umd.js.map +0 -1
package/README.md CHANGED
@@ -3,4 +3,3 @@
3
3
  [![npm](https://img.shields.io/npm/v/@skyux/lookup.svg)](https://www.npmjs.com/package/@skyux/lookup)
4
4
  ![SKY UX CI](https://github.com/blackbaud/skyux-lookup/workflows/SKY%20UX%20CI/badge.svg)
5
5
  [![coverage](https://codecov.io/gh/blackbaud/skyux-lookup/branch/master/graphs/badge.svg?branch=master)](https://codecov.io/gh/blackbaud/skyux-lookup/branch/master)
6
-
@@ -496,7 +496,7 @@
496
496
  return [4 /*yield*/, this.searchAndGetResults(newValue, fixture)];
497
497
  case 1:
498
498
  searchResults = _a.sent();
499
- if (searchResults.length < (index + 1)) {
499
+ if (searchResults.length < index + 1) {
500
500
  throw new Error('Index out of range for results');
501
501
  }
502
502
  // Note: the ordering of these events is important!
@@ -516,15 +516,13 @@
516
516
  }
517
517
  return SkyCountryFieldTestingModule;
518
518
  }());
519
- SkyCountryFieldTestingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0__namespace, type: SkyCountryFieldTestingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
520
- SkyCountryFieldTestingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0__namespace, type: SkyCountryFieldTestingModule, exports: [lookup.SkyCountryFieldModule] });
521
- SkyCountryFieldTestingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0__namespace, type: SkyCountryFieldTestingModule, imports: [lookup.SkyCountryFieldModule] });
522
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0__namespace, type: SkyCountryFieldTestingModule, decorators: [{
519
+ SkyCountryFieldTestingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyCountryFieldTestingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
520
+ SkyCountryFieldTestingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyCountryFieldTestingModule, exports: [lookup.SkyCountryFieldModule] });
521
+ SkyCountryFieldTestingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyCountryFieldTestingModule, imports: [lookup.SkyCountryFieldModule] });
522
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyCountryFieldTestingModule, decorators: [{
523
523
  type: i0.NgModule,
524
524
  args: [{
525
- exports: [
526
- lookup.SkyCountryFieldModule
527
- ]
525
+ exports: [lookup.SkyCountryFieldModule],
528
526
  }]
529
527
  }] });
530
528
 
@@ -597,15 +595,13 @@
597
595
  }
598
596
  return SkySearchTestingModule;
599
597
  }());
600
- SkySearchTestingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0__namespace, type: SkySearchTestingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
601
- SkySearchTestingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0__namespace, type: SkySearchTestingModule, exports: [lookup.SkySearchModule] });
602
- SkySearchTestingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0__namespace, type: SkySearchTestingModule, imports: [lookup.SkySearchModule] });
603
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0__namespace, type: SkySearchTestingModule, decorators: [{
598
+ SkySearchTestingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkySearchTestingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
599
+ SkySearchTestingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkySearchTestingModule, exports: [lookup.SkySearchModule] });
600
+ SkySearchTestingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkySearchTestingModule, imports: [lookup.SkySearchModule] });
601
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkySearchTestingModule, decorators: [{
604
602
  type: i0.NgModule,
605
603
  args: [{
606
- exports: [
607
- lookup.SkySearchModule
608
- ]
604
+ exports: [lookup.SkySearchModule],
609
605
  }]
610
606
  }] });
611
607