@cqa-lib/cqa-ui 1.1.383 → 1.1.385

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.
@@ -91,6 +91,7 @@ export declare class DynamicSelectFieldComponent implements OnInit, OnChanges {
91
91
  private lastOptionsLength;
92
92
  loadingMore: boolean;
93
93
  private panelScrollEl?;
94
+ private documentKeydownListener?;
94
95
  /**
95
96
  * Guard to ensure load-more is only triggered after the user has scrolled
96
97
  * at least once since opening the panel. Prevents auto-load on open.
@@ -134,6 +135,16 @@ export declare class DynamicSelectFieldComponent implements OnInit, OnChanges {
134
135
  onToggleSelectAll(select: MatSelect): void;
135
136
  onSelectOpenedChange(opened: boolean, _select: MatSelect): void;
136
137
  onSearch(key: string, value: string): void;
138
+ /**
139
+ * Handles keyboard events on the search input to enable navigation with arrow keys
140
+ * and selection with Enter key, while still allowing typing in the search box.
141
+ */
142
+ onSearchInputKeydown(event: KeyboardEvent): void;
143
+ /**
144
+ * Manually navigates through options when arrow keys are pressed from search input.
145
+ * @param direction 1 for down, -1 for up
146
+ */
147
+ private navigateOptions;
137
148
  /**
138
149
  * Returns the currently selected option ids for the configured control.
139
150
  */
@@ -160,6 +171,11 @@ export declare class DynamicSelectFieldComponent implements OnInit, OnChanges {
160
171
  * Checks if highlighting is enabled for this component.
161
172
  */
162
173
  get hasHighlighting(): boolean;
174
+ /**
175
+ * Sets up a document-level keyboard listener to handle arrow key navigation
176
+ * when the panel is open and the search input is not focused.
177
+ */
178
+ private setupDocumentKeydownListener;
163
179
  private setupLoadMoreObserver;
164
180
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicSelectFieldComponent, never>;
165
181
  static ɵcmp: i0.ɵɵComponentDeclaration<DynamicSelectFieldComponent, "cqa-dynamic-select", never, { "form": "form"; "config": "config"; }, { "selectionChange": "selectionChange"; "selectClick": "selectClick"; "searchChange": "searchChange"; "loadMore": "loadMore"; "addCustomValue": "addCustomValue"; }, never, never>;
@@ -1,4 +1,4 @@
1
- import { EventEmitter, ElementRef, AfterViewInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter, ElementRef, AfterViewInit, OnDestroy, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
2
2
  import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
3
3
  import * as i0 from "@angular/core";
4
4
  export interface StepMarker {
@@ -17,6 +17,7 @@ declare type SegmentOption = {
17
17
  };
18
18
  export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnChanges {
19
19
  private sanitizer;
20
+ private cdr;
20
21
  videoUrl: string;
21
22
  videoUrls: string[];
22
23
  videoCurrentDuration: number;
@@ -70,7 +71,10 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
70
71
  private operationQueue;
71
72
  get hasDeviceFrame(): boolean;
72
73
  get isPlayerSwitching(): boolean;
73
- get shouldApplySmallHeightClasses(): boolean;
74
+ get isAspectRatioMatched(): boolean;
75
+ get liveContentContainerStyle(): {
76
+ [key: string]: string;
77
+ };
74
78
  segments: SegmentOption[];
75
79
  speedSegments: SegmentOption[];
76
80
  private videoEventListenerCleanup;
@@ -96,7 +100,8 @@ export declare class SimulatorComponent implements AfterViewInit, OnDestroy, OnC
96
100
  height: number;
97
101
  };
98
102
  private readonly deviceFrameConfigs;
99
- constructor(sanitizer: DomSanitizer);
103
+ constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
104
+ onWindowResize(): void;
100
105
  private get deviceFrameConfig();
101
106
  get deviceMockupImage(): string;
102
107
  get deviceScreenStyle(): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.383",
3
+ "version": "1.1.385",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",