@angular-bootstrap/ngbootstrap 0.0.8 → 0.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-bootstrap/ngbootstrap",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Angular UI library providing datagrid, drag-and-drop, pagination, stepper, splitter, typeahead and chips components with Bootstrap-friendly styling.",
5
5
  "author": {
6
6
  "name": "Harmeet Singh"
@@ -670,6 +670,8 @@ declare class NgbTypeaheadComponent implements AfterViewInit, OnChanges, OnDestr
670
670
  updateOnTab: boolean;
671
671
  separator: string | string[];
672
672
  chips: boolean;
673
+ vScroll: boolean;
674
+ vItemSize: number;
673
675
  itemTemplate?: any;
674
676
  i18n?: NgbTypeaheadI18n;
675
677
  projectedItemTemplate?: any;
@@ -711,6 +713,7 @@ declare class NgbTypeaheadComponent implements AfterViewInit, OnChanges, OnDestr
711
713
  itemHeight: number;
712
714
  beforePadding: number;
713
715
  afterPadding: number;
716
+ private viewportStartIndex;
714
717
  private debounceId?;
715
718
  private onControlChange;
716
719
  private onControlTouched;
@@ -751,6 +754,8 @@ declare class NgbTypeaheadComponent implements AfterViewInit, OnChanges, OnDestr
751
754
  private updateViewport;
752
755
  private activatePreferredOption;
753
756
  private moveActive;
757
+ private activeGlobalIndex;
758
+ private setActiveGlobalIndex;
754
759
  private validateItem;
755
760
  private showOverlay;
756
761
  private hideOverlay;
@@ -760,7 +765,7 @@ declare class NgbTypeaheadComponent implements AfterViewInit, OnChanges, OnDestr
760
765
  private propagateControlValue;
761
766
  private coerceToItem;
762
767
  static ɵfac: i0.ɵɵFactoryDeclaration<NgbTypeaheadComponent, never>;
763
- static ɵcmp: i0.ɵɵComponentDeclaration<NgbTypeaheadComponent, "ngb-typeahead", never, { "data": { "alias": "data"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "characterTyped": { "alias": "characterTyped"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "selectExact": { "alias": "selectExact"; "required": false; }; "multiSelect": { "alias": "multiSelect"; "required": false; }; "matchSelection": { "alias": "matchSelection"; "required": false; }; "showDropdownButton": { "alias": "showDropdownButton"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "updateOnTab": { "alias": "updateOnTab"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "chips": { "alias": "chips"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; }, { "completeMethod": "completeMethod"; "onSelect": "onSelect"; "onUnselect": "onUnselect"; "onAdd": "onAdd"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onDropdownClick": "onDropdownClick"; "onClear": "onClear"; "onInputKeydown": "onInputKeydown"; "onKeyUp": "onKeyUp"; "onShow": "onShow"; "onHide": "onHide"; "onLazyLoad": "onLazyLoad"; "selectedItems": "selectedItems"; "selectionChange": "selectionChange"; "onChange": "onChange"; "onScrollEvent": "onScrollEvent"; }, ["projectedItemTemplate"], never, true, never>;
768
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgbTypeaheadComponent, "ngb-typeahead", never, { "data": { "alias": "data"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "characterTyped": { "alias": "characterTyped"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "selectExact": { "alias": "selectExact"; "required": false; }; "multiSelect": { "alias": "multiSelect"; "required": false; }; "matchSelection": { "alias": "matchSelection"; "required": false; }; "showDropdownButton": { "alias": "showDropdownButton"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "updateOnTab": { "alias": "updateOnTab"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "chips": { "alias": "chips"; "required": false; }; "vScroll": { "alias": "vScroll"; "required": false; }; "vItemSize": { "alias": "vItemSize"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; }, { "completeMethod": "completeMethod"; "onSelect": "onSelect"; "onUnselect": "onUnselect"; "onAdd": "onAdd"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onDropdownClick": "onDropdownClick"; "onClear": "onClear"; "onInputKeydown": "onInputKeydown"; "onKeyUp": "onKeyUp"; "onShow": "onShow"; "onHide": "onHide"; "onLazyLoad": "onLazyLoad"; "selectedItems": "selectedItems"; "selectionChange": "selectionChange"; "onChange": "onChange"; "onScrollEvent": "onScrollEvent"; }, ["projectedItemTemplate"], never, true, never>;
764
769
  }
765
770
 
766
771
  type NgbTreeType = 'text' | 'json';