@quadrel-enterprise-ui/framework 20.28.1 → 20.30.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/index.d.ts CHANGED
@@ -19,7 +19,7 @@ import { Editor, Toolbar } from 'ngx-editor';
19
19
  import { Moment as Moment$1 } from 'moment';
20
20
  import { Highlightable, ActiveDescendantKeyManager } from '@angular/cdk/a11y';
21
21
  import * as _quadrel_enterprise_ui_framework from '@quadrel-enterprise-ui/framework';
22
- import * as i25 from '@ngrx/store';
22
+ import * as i26 from '@ngrx/store';
23
23
  import * as i5$1 from '@angular/cdk/stepper';
24
24
  import { CdkStep, CdkStepper, StepState, CdkStepHeader } from '@angular/cdk/stepper';
25
25
  import * as i21 from '@angular/cdk/scrolling';
@@ -2092,10 +2092,10 @@ interface QdTableRefreshConfig {
2092
2092
  */
2093
2093
  isEnabled?: boolean;
2094
2094
  /**
2095
- * @description Specifies the page to load when refreshing the table.
2096
- * - A specific page number (e.g., `2`) can be provided.
2095
+ * @description Specifies which page to load when the table refreshes.
2097
2096
  *
2098
- * @default 0
2097
+ * - A specific page number (e.g., `0` for the first page) jumps to that page.
2098
+ * - When omitted, the refresh keeps the current page.
2099
2099
  */
2100
2100
  page?: number;
2101
2101
  }
@@ -7965,6 +7965,7 @@ declare class QdRadioButtonsComponent implements OnInit, OnChanges, OnDestroy, C
7965
7965
  * The value for the HTML attribute [data-test-id].
7966
7966
  */
7967
7967
  testId: string;
7968
+ presentational: boolean;
7968
7969
  /**
7969
7970
  * Emits event when the value has changed. Return value matches the current value.
7970
7971
  */
@@ -8018,7 +8019,7 @@ declare class QdRadioButtonsComponent implements OnInit, OnChanges, OnDestroy, C
8018
8019
  private setInitialValue;
8019
8020
  private initOpModeSubscription;
8020
8021
  static ɵfac: i0.ɵɵFactoryDeclaration<QdRadioButtonsComponent, never>;
8021
- static ɵcmp: i0.ɵɵComponentDeclaration<QdRadioButtonsComponent, "qd-radio-buttons", never, { "value": { "alias": "value"; "required": false; }; "config": { "alias": "config"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "valueChange": "valueChange"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; }, never, never, false, never>;
8022
+ static ɵcmp: i0.ɵɵComponentDeclaration<QdRadioButtonsComponent, "qd-radio-buttons", never, { "value": { "alias": "value"; "required": false; }; "config": { "alias": "config"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "presentational": { "alias": "presentational"; "required": false; }; }, { "valueChange": "valueChange"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; }, never, never, false, never>;
8022
8023
  }
8023
8024
 
8024
8025
  /**
@@ -12146,11 +12147,23 @@ declare class QdFilterItemFreeTextComponent implements OnInit, OnDestroy {
12146
12147
  static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemFreeTextComponent, "qd-filter-item-free-text", never, { "filterId": { "alias": "filterId"; "required": false; }; "isInstantFiltering": { "alias": "isInstantFiltering"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "enterClick": "enterClick"; }, never, never, false, never>;
12147
12148
  }
12148
12149
 
12150
+ interface QdFilterListboxOption extends Highlightable {
12151
+ itemIndex: number;
12152
+ optionElementId: string;
12153
+ active: boolean;
12154
+ getLabel(): string;
12155
+ scrollIntoView(): void;
12156
+ }
12157
+ interface QdFilterListboxHost {
12158
+ registerOption(option: QdFilterListboxOption): void;
12159
+ unregisterOption(option: QdFilterListboxOption): void;
12160
+ }
12161
+
12149
12162
  interface QdFilterItemEntry {
12150
12163
  item: QdFilterItem;
12151
12164
  itemIndex: number;
12152
12165
  }
12153
- declare class QdFilterItemSelectCategoryComponent implements OnInit {
12166
+ declare class QdFilterItemSelectCategoryComponent implements OnInit, AfterViewInit, QdFilterListboxHost {
12154
12167
  private readonly filterService;
12155
12168
  private readonly breakpointService;
12156
12169
  readonly isMobile$: Observable<boolean>;
@@ -12158,6 +12171,7 @@ declare class QdFilterItemSelectCategoryComponent implements OnInit {
12158
12171
  categoryIndex: number;
12159
12172
  testId: string;
12160
12173
  popoverDirective: QdPopoverOnClickDirective;
12174
+ triggerRef: ElementRef<HTMLElement>;
12161
12175
  open: boolean;
12162
12176
  type: 'singleSelect' | 'multiSelect';
12163
12177
  i18n: string;
@@ -12170,6 +12184,9 @@ declare class QdFilterItemSelectCategoryComponent implements OnInit {
12170
12184
  private _destroyRef;
12171
12185
  private frozenSelectedKeys;
12172
12186
  private frozenUnselectedKeys;
12187
+ private keyManager;
12188
+ private readonly options;
12189
+ private readonly registeredOptions;
12173
12190
  get closeButton(): boolean;
12174
12191
  get activeItemCount(): number;
12175
12192
  get selectedDropdownEntries(): QdFilterItemEntry[];
@@ -12179,10 +12196,26 @@ declare class QdFilterItemSelectCategoryComponent implements OnInit {
12179
12196
  get buttonClassName(): string;
12180
12197
  get layerContentClassName(): string;
12181
12198
  get filterCategoryValue$(): Observable<string>;
12199
+ get listboxId(): string;
12200
+ get activeOptionId(): string | null;
12201
+ get triggerAriaControls(): string | null;
12202
+ optionId(index: number): string;
12182
12203
  ngOnInit(): void;
12204
+ ngAfterViewInit(): void;
12205
+ registerOption(option: QdFilterListboxOption): void;
12206
+ unregisterOption(option: QdFilterListboxOption): void;
12207
+ private publishOptions;
12183
12208
  onLayerOpened(): void;
12184
12209
  onLayerClosed(): void;
12185
12210
  closeLayer(): void;
12211
+ onListboxKeydown(event: KeyboardEvent): void;
12212
+ onListboxFocus(): void;
12213
+ onListboxBlur(): void;
12214
+ onFlyoutFocusout(event: FocusEvent): void;
12215
+ private ensureActiveOption;
12216
+ private initialActiveOption;
12217
+ private selectActiveOption;
12218
+ private closeAndRefocus;
12186
12219
  close(itemIndex: string): void;
12187
12220
  clearAll(): void;
12188
12221
  trackByItem(_index: number, entry: QdFilterItemEntry): string;
@@ -12215,30 +12248,43 @@ declare class QdFilterItemMultiSelectComponent implements OnInit, OnDestroy {
12215
12248
  static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemMultiSelectComponent, "qd-filter-item-multi-select", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
12216
12249
  }
12217
12250
 
12218
- declare class QdFilterItemSingleSelectComponent implements OnInit, OnDestroy {
12251
+ declare class QdFilterItemSingleSelectComponent implements OnInit, OnDestroy, QdFilterListboxOption {
12219
12252
  private filterService;
12253
+ private translateService;
12254
+ private elementRef;
12255
+ private category;
12220
12256
  filterId: string;
12221
12257
  categoryIndex: number;
12222
12258
  itemIndex: number;
12259
+ optionElementId: string;
12223
12260
  testId: string;
12224
12261
  closeEventEmitter: EventEmitter<string>;
12225
12262
  item: any;
12226
12263
  i18n: any;
12227
12264
  active: any;
12265
+ isActive: boolean;
12266
+ role: string;
12267
+ get idAttr(): string;
12268
+ get ariaSelected(): boolean;
12269
+ get activeClass(): boolean;
12228
12270
  get dataTestId(): string;
12229
12271
  private _destroyed$;
12230
12272
  ngOnInit(): void;
12231
12273
  ngOnDestroy(): void;
12274
+ setActiveStyles(): void;
12275
+ setInactiveStyles(): void;
12276
+ getLabel(): string;
12277
+ scrollIntoView(): void;
12232
12278
  handleActive(): void;
12233
12279
  setItems(): void;
12234
12280
  close(): void;
12235
12281
  static ɵfac: i0.ɵɵFactoryDeclaration<QdFilterItemSingleSelectComponent, never>;
12236
- static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemSingleSelectComponent, "qd-filter-item-single-select", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "closeEventEmitter": "closeEventEmitter"; }, never, never, false, never>;
12282
+ static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemSingleSelectComponent, "qd-filter-item-single-select", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "optionElementId": { "alias": "optionElementId"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "closeEventEmitter": "closeEventEmitter"; }, never, never, false, never>;
12237
12283
  }
12238
12284
 
12239
12285
  declare class QdFilterModule {
12240
12286
  static ɵfac: i0.ɵɵFactoryDeclaration<QdFilterModule, never>;
12241
- static ɵmod: i0.ɵɵNgModuleDeclaration<QdFilterModule, [typeof LocaleDatePipe, typeof QdFilterComponent, typeof QdFilterCategoryComponent, typeof QdFilterCategoryBooleanComponent, typeof QdFilterItemBooleanComponent, typeof QdFilterItemDateCategoryComponent, typeof QdFilterItemDateComponent, typeof QdFilterItemDateRangeCategoryComponent, typeof QdFilterItemDateRangeComponent, typeof QdFilterItemFreeTextCategoryComponent, typeof QdFilterItemFreeTextComponent, typeof QdFilterItemSelectCategoryComponent, typeof QdFilterItemMultiSelectComponent, typeof QdFilterItemSingleSelectComponent], [typeof i2.CommonModule, typeof i30.FormsModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdChipModule, typeof QdCoreModule, typeof QdFormModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdTooltipModule, typeof i25.StoreFeatureModule], [typeof QdFilterComponent]>;
12287
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QdFilterModule, [typeof LocaleDatePipe, typeof QdFilterComponent, typeof QdFilterCategoryComponent, typeof QdFilterCategoryBooleanComponent, typeof QdFilterItemBooleanComponent, typeof QdFilterItemDateCategoryComponent, typeof QdFilterItemDateComponent, typeof QdFilterItemDateRangeCategoryComponent, typeof QdFilterItemDateRangeComponent, typeof QdFilterItemFreeTextCategoryComponent, typeof QdFilterItemFreeTextComponent, typeof QdFilterItemSelectCategoryComponent, typeof QdFilterItemMultiSelectComponent, typeof QdFilterItemSingleSelectComponent], [typeof i2.CommonModule, typeof i30.FormsModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdChipModule, typeof QdCoreModule, typeof QdFormModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdTooltipModule, typeof QdAutofocusModule, typeof i26.StoreFeatureModule], [typeof QdFilterComponent]>;
12242
12288
  static ɵinj: i0.ɵɵInjectorDeclaration<QdFilterModule>;
12243
12289
  }
12244
12290
 
@@ -15262,7 +15308,7 @@ declare function qdSearchParameterize(search: QdSearchPostBodyData | undefined):
15262
15308
 
15263
15309
  declare class QdSearchModule {
15264
15310
  static ɵfac: i0.ɵɵFactoryDeclaration<QdSearchModule, never>;
15265
- static ɵmod: i0.ɵɵNgModuleDeclaration<QdSearchModule, [typeof QdSearchComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i25.StoreFeatureModule, typeof QdButtonModule, typeof QdFormModule, typeof QdIconModule, typeof QdTooltipModule], [typeof QdSearchComponent]>;
15311
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QdSearchModule, [typeof QdSearchComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i26.StoreFeatureModule, typeof QdButtonModule, typeof QdFormModule, typeof QdIconModule, typeof QdTooltipModule], [typeof QdSearchComponent]>;
15266
15312
  static ɵinj: i0.ɵɵInjectorDeclaration<QdSearchModule>;
15267
15313
  }
15268
15314
 
@@ -16613,13 +16659,13 @@ declare class QdTreeRowActionsSecondaryMenuComponent<T extends string> implement
16613
16659
 
16614
16660
  declare class QdTreeModule {
16615
16661
  static ɵfac: i0.ɵɵFactoryDeclaration<QdTreeModule, never>;
16616
- static ɵmod: i0.ɵɵNgModuleDeclaration<QdTreeModule, [typeof QdTreeComponent, typeof QdTreeHeadComponent, typeof QdTreeBodyComponent, typeof QdTreeRowComponent, typeof QdTreeEmptyStateComponent, typeof QdTreeRowActionsSecondaryMenuComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i25.StoreFeatureModule, typeof QdButtonModule, typeof QdChipModule, typeof QdDataFacetsModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdStatusIndicatorModule, typeof QdSpinnerModule, typeof QdTooltipModule], [typeof QdTreeComponent]>;
16662
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QdTreeModule, [typeof QdTreeComponent, typeof QdTreeHeadComponent, typeof QdTreeBodyComponent, typeof QdTreeRowComponent, typeof QdTreeEmptyStateComponent, typeof QdTreeRowActionsSecondaryMenuComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i26.StoreFeatureModule, typeof QdButtonModule, typeof QdChipModule, typeof QdDataFacetsModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdStatusIndicatorModule, typeof QdSpinnerModule, typeof QdTooltipModule], [typeof QdTreeComponent]>;
16617
16663
  static ɵinj: i0.ɵɵInjectorDeclaration<QdTreeModule>;
16618
16664
  }
16619
16665
 
16620
16666
  declare class QdTableModule {
16621
16667
  static ɵfac: i0.ɵɵFactoryDeclaration<QdTableModule, never>;
16622
- static ɵmod: i0.ɵɵNgModuleDeclaration<QdTableModule, [typeof QdScrollToPaginationDirective, typeof QdTableBodyComponent, typeof QdTableComponent, typeof QdTableEmptyStateComponent, typeof QdTableHeadComponent, typeof QdTablePaginatorComponent, typeof QdTablePaginatorPageSizeComponent, typeof QdTablePaginatorPageSizeDirective, typeof QdTableRowActionsSecondaryMenuComponent, typeof QdTableRowComponent, typeof QdTableRowSelectionComponent, typeof QdTableSortComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i25.StoreFeatureModule, typeof QdButtonModule, typeof QdChipModule, typeof QdDataFacetsModule, typeof QdDialogModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdStatusIndicatorModule, typeof QdSpinnerModule, typeof QdTooltipModule, typeof QdTreeModule], [typeof QdTableComponent, typeof QdTreeComponent]>;
16668
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QdTableModule, [typeof QdScrollToPaginationDirective, typeof QdTableBodyComponent, typeof QdTableComponent, typeof QdTableEmptyStateComponent, typeof QdTableHeadComponent, typeof QdTablePaginatorComponent, typeof QdTablePaginatorPageSizeComponent, typeof QdTablePaginatorPageSizeDirective, typeof QdTableRowActionsSecondaryMenuComponent, typeof QdTableRowComponent, typeof QdTableRowSelectionComponent, typeof QdTableSortComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i26.StoreFeatureModule, typeof QdButtonModule, typeof QdChipModule, typeof QdDataFacetsModule, typeof QdDialogModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdStatusIndicatorModule, typeof QdSpinnerModule, typeof QdTooltipModule, typeof QdTreeModule], [typeof QdTableComponent, typeof QdTreeComponent]>;
16623
16669
  static ɵinj: i0.ɵɵInjectorDeclaration<QdTableModule>;
16624
16670
  }
16625
16671
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadrel-enterprise-ui/framework",
3
- "version": "20.28.1",
3
+ "version": "20.30.0",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {