@quadrel-enterprise-ui/framework 21.12.21 → 21.12.23

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": "@quadrel-enterprise-ui/framework",
3
- "version": "21.12.21",
3
+ "version": "21.12.23",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {
@@ -205,5 +205,6 @@
205
205
  "i18n.qd.section.toolbar.defaultAction": "Aktion",
206
206
  "i18n.qd.quick.edit.createButtonLabel": "Hinzufügen",
207
207
  "i18n.qd.quick.edit.removeButtonLabel": "Löschen",
208
- "i18n.qd.quick.edit.removeConfirmation.message": "Möchten Sie diesen Eintrag wirklich löschen?"
208
+ "i18n.qd.quick.edit.removeConfirmation.message": "Möchten Sie diesen Eintrag wirklich löschen?",
209
+ "i18n.qd.quick.edit.a11y.moreActions": "Weitere Aktionen"
209
210
  }
@@ -205,5 +205,6 @@
205
205
  "i18n.qd.quick.edit.createButtonLabel": "Add",
206
206
  "i18n.qd.quick.edit.removeButtonLabel": "Remove",
207
207
  "i18n.qd.quick.edit.removeConfirmation.message": "Are you sure you want to remove this entry?",
208
+ "i18n.qd.quick.edit.a11y.moreActions": "More actions",
208
209
  "i18n.contact.tag": "AEO"
209
210
  }
@@ -205,5 +205,6 @@
205
205
  "i18n.qd.quick.edit.createButtonLabel": "Ajouter",
206
206
  "i18n.qd.quick.edit.removeButtonLabel": "Retirer",
207
207
  "i18n.qd.quick.edit.removeConfirmation.message": "Voulez-vous vraiment retirer cette entrée ?",
208
+ "i18n.qd.quick.edit.a11y.moreActions": "Autres actions",
208
209
  "i18n.contact.tag": "AEO"
209
210
  }
@@ -204,6 +204,7 @@
204
204
  "i18n.qd.quick.edit.createButtonLabel": "Aggiungere",
205
205
  "i18n.qd.quick.edit.removeButtonLabel": "Eliminare",
206
206
  "i18n.qd.quick.edit.removeConfirmation.message": "Vuoi davvero eliminare questa voce?",
207
+ "i18n.qd.quick.edit.a11y.moreActions": "Altre azioni",
207
208
  "i18n.contact.tag": "AEO",
208
209
  "i18n.qd.page.footer.saveDraft": "Salva bozza"
209
210
  }
@@ -2067,6 +2067,8 @@ type QdDataFacetsLinkConfig = {
2067
2067
  *
2068
2068
  * - Receives a context object with dynamic parameters.
2069
2069
  * - Can return `void` (synchronous) or an `Observable<boolean>` (asynchronous).
2070
+ * - The `Observable` should complete, e.g. one HTTP call or `take(1)`. The facet does not stop it
2071
+ * when it is removed, so a running save is not cut off. Until it completes, the facet stays in memory.
2070
2072
  */
2071
2073
  handler: (params: unknown) => QdDataFacetsLinkActionResult;
2072
2074
  /**
@@ -2689,6 +2691,7 @@ declare class QdDataFacetsIntegerComponent {
2689
2691
  declare class QdDataFacetsLinkComponent {
2690
2692
  private readonly contextService;
2691
2693
  private readonly actionService;
2694
+ private readonly _destroyRef;
2692
2695
  config: QdDataFacetsLinkConfig;
2693
2696
  data?: string | string[];
2694
2697
  testId?: string;
@@ -12768,6 +12771,7 @@ declare class QdFilterItemFreeTextCategoryComponent implements OnInit {
12768
12771
  declare class QdFilterCategoryComponent implements OnInit {
12769
12772
  private readonly filterService;
12770
12773
  readonly translateService: TranslateService;
12774
+ private readonly _destroyRef;
12771
12775
  filterId: string;
12772
12776
  isInstantFiltering: boolean;
12773
12777
  categoryIndex: number;
@@ -12796,6 +12800,7 @@ declare class QdFilterCategoryComponent implements OnInit {
12796
12800
 
12797
12801
  declare class QdFilterCategoryBooleanComponent implements OnInit {
12798
12802
  private readonly filterService;
12803
+ private readonly _destroyRef;
12799
12804
  filterId: string;
12800
12805
  categoryIndex: number;
12801
12806
  testId: string;
@@ -19454,6 +19459,9 @@ declare class QdCommentsModule {
19454
19459
  interface QdPageStepResolver {
19455
19460
  /**
19456
19461
  * Resolves the data based on the specified resolver properties.
19462
+ *
19463
+ * The `Observable` should complete, e.g. one HTTP call or `take(1)`. The stepper does not stop it
19464
+ * when it is removed, so a running request is not cut off. Until it completes, the stepper stays in memory.
19457
19465
  */
19458
19466
  resolve(index: number): Observable<void>;
19459
19467
  }
@@ -19986,6 +19994,7 @@ declare class QdQuickEditComponent<T extends string> implements OnInit, OnChange
19986
19994
  private controlContainer;
19987
19995
  private confirmationDialogService;
19988
19996
  private readonly _destroyRef;
19997
+ private readonly _document;
19989
19998
  /**
19990
19999
  * Configuration of the QuickEdit. The generic type names the columns.
19991
20000
  *
@@ -20064,6 +20073,10 @@ declare class QdQuickEditComponent<T extends string> implements OnInit, OnChange
20064
20073
  trackByColumnName(_: number, column: QdQuickEditColumn<T>): string;
20065
20074
  get isFormControl(): boolean;
20066
20075
  togglerDrawing: boolean;
20076
+ protected openRowMenuIndex: number | null;
20077
+ private static _rowMenuIdCounter;
20078
+ private readonly _rowMenuIdPrefix;
20079
+ private _isOpeningRowMenuByKeyboard;
20067
20080
  constructor();
20068
20081
  ngOnInit(): void;
20069
20082
  ngOnChanges(changes: SimpleChanges): void;
@@ -20077,6 +20090,11 @@ declare class QdQuickEditComponent<T extends string> implements OnInit, OnChange
20077
20090
  * The handler receives the row value only, never its position.
20078
20091
  */
20079
20092
  handleSecondaryAction(action: QdQuickEditSecondaryAction<T>, rowIndex: number): void;
20093
+ protected rowMenuId(rowIndex: number): string;
20094
+ protected markRowMenuOpeningByKeyboard(rowIndex: number): void;
20095
+ protected openRowMenu(rowIndex: number): void;
20096
+ protected closeRowMenu(): void;
20097
+ protected handleRowMenuKeydown(event: KeyboardEvent, popover: QdPopoverOnClickDirective): void;
20080
20098
  /**
20081
20099
  * Maps a column type onto a facet component.
20082
20100
  *
@@ -20109,6 +20127,8 @@ declare class QdQuickEditComponent<T extends string> implements OnInit, OnChange
20109
20127
  private redrawOnNextChange;
20110
20128
  private initActionsStream;
20111
20129
  private filterActionsByMode;
20130
+ private rowMenuItems;
20131
+ private rowMenuItemForKey;
20112
20132
  private initManualChangeDetectionForControlReset;
20113
20133
  static ɵfac: i0.ɵɵFactoryDeclaration<QdQuickEditComponent<any>, never>;
20114
20134
  static ɵcmp: i0.ɵɵComponentDeclaration<QdQuickEditComponent<any>, "qd-quick-edit", never, { "config": { "alias": "config"; "required": true; }; "data": { "alias": "data"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "formGroupChange": "formGroupChange"; "addNewClicked": "addNewClicked"; }, never, never, false, never>;