@quadrel-enterprise-ui/framework 21.12.20 → 21.12.22

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.20",
3
+ "version": "21.12.22",
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
  }
@@ -19986,6 +19986,7 @@ declare class QdQuickEditComponent<T extends string> implements OnInit, OnChange
19986
19986
  private controlContainer;
19987
19987
  private confirmationDialogService;
19988
19988
  private readonly _destroyRef;
19989
+ private readonly _document;
19989
19990
  /**
19990
19991
  * Configuration of the QuickEdit. The generic type names the columns.
19991
19992
  *
@@ -20064,6 +20065,10 @@ declare class QdQuickEditComponent<T extends string> implements OnInit, OnChange
20064
20065
  trackByColumnName(_: number, column: QdQuickEditColumn<T>): string;
20065
20066
  get isFormControl(): boolean;
20066
20067
  togglerDrawing: boolean;
20068
+ protected openRowMenuIndex: number | null;
20069
+ private static _rowMenuIdCounter;
20070
+ private readonly _rowMenuIdPrefix;
20071
+ private _isOpeningRowMenuByKeyboard;
20067
20072
  constructor();
20068
20073
  ngOnInit(): void;
20069
20074
  ngOnChanges(changes: SimpleChanges): void;
@@ -20077,6 +20082,11 @@ declare class QdQuickEditComponent<T extends string> implements OnInit, OnChange
20077
20082
  * The handler receives the row value only, never its position.
20078
20083
  */
20079
20084
  handleSecondaryAction(action: QdQuickEditSecondaryAction<T>, rowIndex: number): void;
20085
+ protected rowMenuId(rowIndex: number): string;
20086
+ protected markRowMenuOpeningByKeyboard(rowIndex: number): void;
20087
+ protected openRowMenu(rowIndex: number): void;
20088
+ protected closeRowMenu(): void;
20089
+ protected handleRowMenuKeydown(event: KeyboardEvent, popover: QdPopoverOnClickDirective): void;
20080
20090
  /**
20081
20091
  * Maps a column type onto a facet component.
20082
20092
  *
@@ -20109,6 +20119,8 @@ declare class QdQuickEditComponent<T extends string> implements OnInit, OnChange
20109
20119
  private redrawOnNextChange;
20110
20120
  private initActionsStream;
20111
20121
  private filterActionsByMode;
20122
+ private rowMenuItems;
20123
+ private rowMenuItemForKey;
20112
20124
  private initManualChangeDetectionForControlReset;
20113
20125
  static ɵfac: i0.ɵɵFactoryDeclaration<QdQuickEditComponent<any>, never>;
20114
20126
  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>;