otimus-library 0.2.90 → 0.2.92

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.
@@ -1,4 +1,4 @@
1
- import { AfterContentChecked, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
1
+ import { AfterContentChecked, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, Renderer2, SimpleChanges } from '@angular/core';
2
2
  import { OcAutoCompleteType } from '../../interfaces/oc-autocomplete';
3
3
  import { InternationalizationService } from '../../services/internationalization.service';
4
4
  import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
@@ -14,6 +14,7 @@ export declare class OcAutocompleteComponent implements AfterViewInit, OnChanges
14
14
  input: ElementRef;
15
15
  options: ElementRef;
16
16
  outerDiv: ElementRef<HTMLDivElement>;
17
+ listOptionsElements: QueryList<ElementRef<HTMLLIElement>>;
17
18
  ocPrefix: any;
18
19
  ocSuffix: any;
19
20
  private _ocData;
@@ -75,6 +76,7 @@ export declare class OcAutocompleteComponent implements AfterViewInit, OnChanges
75
76
  protected incrementCounter(option: OcAutoCompleteType): void;
76
77
  protected decrementCounter(option: OcAutoCompleteType): void;
77
78
  emitCounterSelectChange(): void;
79
+ moveSelection(delta: number): void;
78
80
  protected onKeyDown(event: Event): void;
79
81
  static ɵfac: i0.ɵɵFactoryDeclaration<OcAutocompleteComponent, never>;
80
82
  static ɵcmp: i0.ɵɵComponentDeclaration<OcAutocompleteComponent, "oc-autocomplete", never, { "ocData": { "alias": "ocData"; "required": false; }; "ocPlaceholder": { "alias": "ocPlaceholder"; "required": false; }; "ocError": { "alias": "ocError"; "required": false; }; "ocSize": { "alias": "ocSize"; "required": false; }; "ocValue": { "alias": "ocValue"; "required": false; }; "ocClearOnChange": { "alias": "ocClearOnChange"; "required": false; }; "ocWidth": { "alias": "ocWidth"; "required": false; }; "ocMinWidth": { "alias": "ocMinWidth"; "required": false; }; "ocMaxWidth": { "alias": "ocMaxWidth"; "required": false; }; "ocOptionsMaxHeight": { "alias": "ocOptionsMaxHeight"; "required": false; }; "ocOptionsWidth": { "alias": "ocOptionsWidth"; "required": false; }; "ocRequired": { "alias": "ocRequired"; "required": false; }; "ocMaxResults": { "alias": "ocMaxResults"; "required": false; }; "ocAllowNotListedValue": { "alias": "ocAllowNotListedValue"; "required": false; }; "ocNoAvailableOptionsText": { "alias": "ocNoAvailableOptionsText"; "required": false; }; "ocTypeForMoreResultsText": { "alias": "ocTypeForMoreResultsText"; "required": false; }; "ocLoading": { "alias": "ocLoading"; "required": false; }; "ocSemanticLike": { "alias": "ocSemanticLike"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; "ocTabIndex": { "alias": "ocTabIndex"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "ocSelectByTyping": { "alias": "ocSelectByTyping"; "required": false; }; "ocDisabled": { "alias": "ocDisabled"; "required": false; }; "ocType": { "alias": "ocType"; "required": false; }; "ocHasDeleteButton": { "alias": "ocHasDeleteButton"; "required": false; }; "ocEnableKeyboard": { "alias": "ocEnableKeyboard"; "required": false; }; }, { "ocValueChange": "ocValueChange"; "ocChange": "ocChange"; "ocCounterSelectChange": "ocCounterSelectChange"; "ocOptionNotFound": "ocOptionNotFound"; "ocClick": "ocClick"; }, ["ocPrefix", "ocSuffix"], ["*", "ocPrefix", "ocSuffix"], true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otimus-library",
3
- "version": "0.2.90",
3
+ "version": "0.2.92",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^18.2.14",