@quadrel-enterprise-ui/framework 20.27.6-beta.242.1 → 20.27.7

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
@@ -14,7 +14,7 @@ import { TranslateService } from '@ngx-translate/core';
14
14
  import { OverlayRef, OverlayPositionBuilder, Overlay, ConnectedPosition } from '@angular/cdk/overlay';
15
15
  import * as i4 from '@angular/router';
16
16
  import { Params } from '@angular/router';
17
- import * as i38 from 'ngx-editor';
17
+ import * as i39 from 'ngx-editor';
18
18
  import { Editor, Toolbar } from 'ngx-editor';
19
19
  import { Moment as Moment$1 } from 'moment';
20
20
  import { Highlightable, ActiveDescendantKeyManager } from '@angular/cdk/a11y';
@@ -6138,6 +6138,7 @@ declare class QdCheckboxChipsComponent implements ControlValueAccessor, OnInit,
6138
6138
  }
6139
6139
 
6140
6140
  declare class QdCheckboxComponent implements ControlValueAccessor {
6141
+ private readonly keyboardDetection;
6141
6142
  inputData: QdFormCheckboxOption;
6142
6143
  value: string;
6143
6144
  testId: string;
@@ -6281,6 +6282,7 @@ declare class QdCheckboxesComponent implements OnInit, OnChanges, OnDestroy, Con
6281
6282
  registerOnTouched(fn: any): void;
6282
6283
  writeValue(values: any): void;
6283
6284
  setDisabledState(disabled: boolean): void;
6285
+ getCheckboxId(_index: number, checkbox: QdFormCheckboxOption): number;
6284
6286
  handleClick(checkbox: any): void;
6285
6287
  changeValue($event: any): void;
6286
6288
  private haveOptionsChanged;
@@ -6403,6 +6405,7 @@ declare class QdDatepickerComponent implements ControlValueAccessor, OnInit, OnC
6403
6405
  displayedDateTime: string;
6404
6406
  label: string;
6405
6407
  hint: string;
6408
+ hasAutofocus: boolean;
6406
6409
  readonlyAction: boolean;
6407
6410
  viewonlyAction: boolean;
6408
6411
  language: string;
@@ -6652,9 +6655,18 @@ declare class QdDropdownComponent implements ControlValueAccessor, OnInit, OnCha
6652
6655
  */
6653
6656
  readonly valueChange: EventEmitter<string>;
6654
6657
  /**
6655
- * Emits event when the value has changed. Note: Emits on keyup.
6658
+ * Emits when the dropdown is opened.
6659
+ *
6660
+ * @deprecated The name no longer reflects the behavior (it fires on every open, not just on a
6661
+ * click). Use {@link dropdownOpened} instead. Will be removed in v22.
6656
6662
  */
6657
6663
  readonly enterClick: EventEmitter<any>;
6664
+ /**
6665
+ * Emits whenever the dropdown opens or closes, regardless of input modality
6666
+ * (mouse click or keyboard Enter/Space). The boolean payload is the open state:
6667
+ * `true` when opened, `false` when closed.
6668
+ */
6669
+ readonly dropdownOpened: EventEmitter<boolean>;
6658
6670
  /**
6659
6671
  * Emits event when the hint is clicked/tapped. `hintAction` must be set to `true` for this.
6660
6672
  */
@@ -6735,7 +6747,7 @@ declare class QdDropdownComponent implements ControlValueAccessor, OnInit, OnCha
6735
6747
  private updateSelectedOption;
6736
6748
  private initOpModeSubscription;
6737
6749
  static ɵfac: i0.ɵɵFactoryDeclaration<QdDropdownComponent, never>;
6738
- static ɵcmp: i0.ɵɵComponentDeclaration<QdDropdownComponent, "qd-dropdown", never, { "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "qdPopoverMaxHeight": { "alias": "qdPopoverMaxHeight"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "valueChange": "valueChange"; "enterClick": "enterClick"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; "optionsResolved": "optionsResolved"; }, never, never, false, never>;
6750
+ static ɵcmp: i0.ɵɵComponentDeclaration<QdDropdownComponent, "qd-dropdown", never, { "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "qdPopoverMaxHeight": { "alias": "qdPopoverMaxHeight"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "valueChange": "valueChange"; "enterClick": "enterClick"; "dropdownOpened": "dropdownOpened"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; "optionsResolved": "optionsResolved"; }, never, never, false, never>;
6739
6751
  }
6740
6752
 
6741
6753
  /**
@@ -7914,6 +7926,7 @@ declare class QdRadioButtonsComponent implements OnInit, OnChanges, OnDestroy, C
7914
7926
  private readonly controlContainer;
7915
7927
  private readonly ngZone;
7916
7928
  private readonly eventBrokerService;
7929
+ private readonly keyboardDetection;
7917
7930
  /**
7918
7931
  * The current form item value, if you are working with Model Binding.
7919
7932
  *
@@ -7969,9 +7982,11 @@ declare class QdRadioButtonsComponent implements OnInit, OnChanges, OnDestroy, C
7969
7982
  get hasHint(): boolean;
7970
7983
  get required(): boolean;
7971
7984
  get activeOptionAsList(): QdFormOption[];
7985
+ get tabStopValue(): string | null;
7972
7986
  label: string;
7973
7987
  align: 'vertical' | 'horizontal';
7974
7988
  filter: boolean;
7989
+ hasAutofocus: boolean;
7975
7990
  options: QdFormOption[];
7976
7991
  isLabelDisabled: boolean;
7977
7992
  id: string;
@@ -9036,6 +9051,12 @@ declare class QdAutofocusModule {
9036
9051
  static ɵinj: i0.ɵɵInjectorDeclaration<QdAutofocusModule>;
9037
9052
  }
9038
9053
 
9054
+ declare class QdIconButtonModule {
9055
+ static ɵfac: i0.ɵɵFactoryDeclaration<QdIconButtonModule, never>;
9056
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QdIconButtonModule, [typeof QdIconButtonComponent], [typeof i2.CommonModule], [typeof QdIconButtonComponent]>;
9057
+ static ɵinj: i0.ɵɵInjectorDeclaration<QdIconButtonModule>;
9058
+ }
9059
+
9039
9060
  declare class QdTooltipComponent {
9040
9061
  content?: {
9041
9062
  headline?: string;
@@ -9086,7 +9107,7 @@ declare class QdTooltipModule {
9086
9107
 
9087
9108
  declare class QdFormModule {
9088
9109
  static ɵfac: i0.ɵɵFactoryDeclaration<QdFormModule, never>;
9089
- static ɵmod: i0.ɵɵNgModuleDeclaration<QdFormModule, [typeof QdCalendarComponent, typeof QdCheckboxChipsComponent, typeof QdCheckboxChipsItemComponent, typeof QdCheckboxComponent, typeof QdCheckboxesComponent, typeof QdDatepickerComponent, typeof QdDropdownComponent, typeof QdDropdownOptionsComponent, typeof QdFilterFormItemsComponent, typeof QdFormErrorComponent, typeof QdFormHintComponent, typeof QdFormLabelComponent, typeof QdFormReadonlyComponent, typeof QdFormViewonlyComponent, typeof QdInputComponent, typeof QdInputUnitsComponent, typeof QdInputOptionsComponent, typeof QdMultiInputChipComponent, typeof QdMultiInputMenuComponent, typeof QdMultiInputComponent, typeof QdPinCodeComponent, typeof QdRadioButtonsComponent, typeof QdSwitchComponent, typeof QdSwitchesComponent, typeof QdTextareaComponent, typeof QdFormInputComponent, typeof QdRichtextComponent, typeof QdFileUploadComponent], [typeof i2.CommonModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof i5.TranslateModule, typeof QdAutofocusModule, typeof QdChipModule, typeof QdCoreModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdTooltipModule, typeof i38.NgxEditorModule], [typeof QdCheckboxChipsComponent, typeof QdCheckboxComponent, typeof QdCheckboxesComponent, typeof QdDatepickerComponent, typeof QdDropdownComponent, typeof QdFilterFormItemsComponent, typeof QdInputComponent, typeof QdMultiInputComponent, typeof QdPinCodeComponent, typeof QdRadioButtonsComponent, typeof QdSwitchComponent, typeof QdSwitchesComponent, typeof QdTextareaComponent, typeof QdRichtextComponent, typeof QdFileUploadComponent]>;
9110
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QdFormModule, [typeof QdCalendarComponent, typeof QdCheckboxChipsComponent, typeof QdCheckboxChipsItemComponent, typeof QdCheckboxComponent, typeof QdCheckboxesComponent, typeof QdDatepickerComponent, typeof QdDropdownComponent, typeof QdDropdownOptionsComponent, typeof QdFilterFormItemsComponent, typeof QdFormErrorComponent, typeof QdFormHintComponent, typeof QdFormLabelComponent, typeof QdFormReadonlyComponent, typeof QdFormViewonlyComponent, typeof QdInputComponent, typeof QdInputUnitsComponent, typeof QdInputOptionsComponent, typeof QdMultiInputChipComponent, typeof QdMultiInputMenuComponent, typeof QdMultiInputComponent, typeof QdPinCodeComponent, typeof QdRadioButtonsComponent, typeof QdSwitchComponent, typeof QdSwitchesComponent, typeof QdTextareaComponent, typeof QdFormInputComponent, typeof QdRichtextComponent, typeof QdFileUploadComponent], [typeof i2.CommonModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof i5.TranslateModule, typeof QdAutofocusModule, typeof QdChipModule, typeof QdCoreModule, typeof QdIconButtonModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdTooltipModule, typeof i39.NgxEditorModule], [typeof QdCheckboxChipsComponent, typeof QdCheckboxComponent, typeof QdCheckboxesComponent, typeof QdDatepickerComponent, typeof QdDropdownComponent, typeof QdFilterFormItemsComponent, typeof QdInputComponent, typeof QdMultiInputComponent, typeof QdPinCodeComponent, typeof QdRadioButtonsComponent, typeof QdSwitchComponent, typeof QdSwitchesComponent, typeof QdTextareaComponent, typeof QdRichtextComponent, typeof QdFileUploadComponent]>;
9090
9111
  static ɵinj: i0.ɵɵInjectorDeclaration<QdFormModule>;
9091
9112
  }
9092
9113
 
@@ -9098,7 +9119,7 @@ declare class QdNotificationsModule {
9098
9119
 
9099
9120
  declare class QdButtonModule {
9100
9121
  static ɵfac: i0.ɵɵFactoryDeclaration<QdButtonModule, never>;
9101
- static ɵmod: i0.ɵɵNgModuleDeclaration<QdButtonModule, [typeof QdButtonComponent, typeof QdButtonGhostDirective, typeof QdButtonGridComponent, typeof QdButtonLinkDirective, typeof QdButtonStackButtonComponent, typeof QdButtonStackComponent, typeof QdIconButtonComponent, typeof QdMenuButtonComponent, typeof QdButtonAdditionalInfoComponent, typeof QdSanitizeHtmlPipe], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdIconModule, typeof QdTextSectionModule, typeof QdPopoverModule, typeof QdCoreModule, typeof QdNotificationsModule], [typeof QdButtonComponent, typeof QdButtonGhostDirective, typeof QdButtonGridComponent, typeof QdButtonLinkDirective, typeof QdButtonStackButtonComponent, typeof QdButtonStackComponent, typeof QdIconButtonComponent, typeof QdMenuButtonComponent]>;
9122
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QdButtonModule, [typeof QdButtonComponent, typeof QdButtonGhostDirective, typeof QdButtonGridComponent, typeof QdButtonLinkDirective, typeof QdButtonStackButtonComponent, typeof QdButtonStackComponent, typeof QdMenuButtonComponent, typeof QdButtonAdditionalInfoComponent, typeof QdSanitizeHtmlPipe], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdIconModule, typeof QdTextSectionModule, typeof QdPopoverModule, typeof QdCoreModule, typeof QdNotificationsModule, typeof QdIconButtonModule], [typeof QdButtonComponent, typeof QdButtonGhostDirective, typeof QdButtonGridComponent, typeof QdButtonLinkDirective, typeof QdButtonStackButtonComponent, typeof QdButtonStackComponent, typeof QdIconButtonComponent, typeof QdMenuButtonComponent]>;
9102
9123
  static ɵinj: i0.ɵɵInjectorDeclaration<QdButtonModule>;
9103
9124
  }
9104
9125
 
@@ -14454,6 +14475,7 @@ declare class QdPageComponent<T extends object> implements OnInit, OnChanges, Af
14454
14475
  * ### **Filling a form right after connecting it**
14455
14476
  * - You can fill a connected form right after registration — e.g. an `effect` that adds controls or pushes `FormArray` rows. This first fill is the form's starting point, not a user change.
14456
14477
  * - So loading data into a fresh form never triggers a false "unsaved changes" prompt. Only later edits count.
14478
+ * - This only covers fills that happen right after registration, in the same task. Data that arrives later — e.g. an HTTP response — counts as a user change. For async loads, render the form only once the data is there (e.g. with `@if`).
14457
14479
  *
14458
14480
  * ### **Page-Dialog (FullWidth) – Unsaved-Changes Close Contract**
14459
14481
  * - When a QdPage is embedded in a full-width page dialog, the directive’s registered form groups are also used to guard dialog closing.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadrel-enterprise-ui/framework",
3
- "version": "20.27.6-beta.242.1",
3
+ "version": "20.27.7",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {