@quadrel-enterprise-ui/framework 20.9.0 → 20.10.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/fesm2022/quadrel-enterprise-ui-framework.mjs +20 -20
- package/fesm2022/quadrel-enterprise-ui-framework.mjs.map +1 -1
- package/index.d.ts +22 -3
- package/package.json +1 -1
- package/src/assets/i18n/de.json +2 -1
- package/src/assets/i18n/en.json +1 -0
- package/src/assets/i18n/fr.json +1 -0
- package/src/assets/i18n/it.json +1 -0
package/index.d.ts
CHANGED
|
@@ -6662,6 +6662,7 @@ declare class QdInputComponent implements OnInit, OnChanges, OnDestroy, ControlV
|
|
|
6662
6662
|
hasAutofocus: boolean;
|
|
6663
6663
|
hasOptions: boolean;
|
|
6664
6664
|
_value: QdInputValueWithUnit;
|
|
6665
|
+
_displayValue: string;
|
|
6665
6666
|
control: AbstractControl | QdFormControl<any>;
|
|
6666
6667
|
private _optionsResolver;
|
|
6667
6668
|
private _subs;
|
|
@@ -17014,17 +17015,35 @@ interface QdQuickEditConfig<T extends string> {
|
|
|
17014
17015
|
*/
|
|
17015
17016
|
canAdd?: boolean;
|
|
17016
17017
|
/**
|
|
17017
|
-
* @description
|
|
17018
|
+
* @description Enables a confirmation dialog before a row is removed via the built-in remove button.
|
|
17018
17019
|
*
|
|
17019
|
-
* When
|
|
17020
|
-
* If not provided, the row is removed directly.
|
|
17020
|
+
* When set to `true`, a confirmation dialog with a framework default message is shown. The row is only removed if the user confirms.
|
|
17021
17021
|
* Only applies when `canAdd` is true and the remove button is visible.
|
|
17022
17022
|
*
|
|
17023
|
+
* @default false
|
|
17024
|
+
*
|
|
17025
|
+
* @example
|
|
17026
|
+
* ```ts
|
|
17027
|
+
* {
|
|
17028
|
+
* columns: [...],
|
|
17029
|
+
* canAdd: true,
|
|
17030
|
+
* hasRemoveConfirmation: true
|
|
17031
|
+
* }
|
|
17032
|
+
* ```
|
|
17033
|
+
*/
|
|
17034
|
+
hasRemoveConfirmation?: boolean;
|
|
17035
|
+
/**
|
|
17036
|
+
* @description Overrides the default message of the remove confirmation dialog.
|
|
17037
|
+
*
|
|
17038
|
+
* When set, the confirmation dialog is shown with the provided message (setting this also enables the dialog for backward compatibility).
|
|
17039
|
+
* If omitted, the framework default message is shown when the dialog is enabled via `hasRemoveConfirmation`.
|
|
17040
|
+
*
|
|
17023
17041
|
* @example
|
|
17024
17042
|
* ```ts
|
|
17025
17043
|
* {
|
|
17026
17044
|
* columns: [...],
|
|
17027
17045
|
* canAdd: true,
|
|
17046
|
+
* hasRemoveConfirmation: true,
|
|
17028
17047
|
* removeConfirmationMessage: { i18n: 'i18n.app.remove.entry.confirmation' }
|
|
17029
17048
|
* }
|
|
17030
17049
|
* ```
|
package/package.json
CHANGED
package/src/assets/i18n/de.json
CHANGED
|
@@ -171,5 +171,6 @@
|
|
|
171
171
|
"i18n.qd.section.toolbar.defaultAction": "Aktion",
|
|
172
172
|
"i18n.qd.quick.edit.submitButtonLabel": "Speichern",
|
|
173
173
|
"i18n.qd.quick.edit.createButtonLabel": "Hinzufügen",
|
|
174
|
-
"i18n.qd.quick.edit.removeButtonLabel": "Löschen"
|
|
174
|
+
"i18n.qd.quick.edit.removeButtonLabel": "Löschen",
|
|
175
|
+
"i18n.qd.quick.edit.removeConfirmation.message": "Möchten Sie diesen Eintrag wirklich löschen?"
|
|
175
176
|
}
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -171,5 +171,6 @@
|
|
|
171
171
|
"i18n.qd.quick.edit.submitButtonLabel": "Save",
|
|
172
172
|
"i18n.qd.quick.edit.createButtonLabel": "Add",
|
|
173
173
|
"i18n.qd.quick.edit.removeButtonLabel": "Remove",
|
|
174
|
+
"i18n.qd.quick.edit.removeConfirmation.message": "Are you sure you want to remove this entry?",
|
|
174
175
|
"i18n.contact.tag": "AEO"
|
|
175
176
|
}
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -171,5 +171,6 @@
|
|
|
171
171
|
"i18n.qd.quick.edit.submitButtonLabel": "Enregistrer",
|
|
172
172
|
"i18n.qd.quick.edit.createButtonLabel": "Ajouter",
|
|
173
173
|
"i18n.qd.quick.edit.removeButtonLabel": "Retirer",
|
|
174
|
+
"i18n.qd.quick.edit.removeConfirmation.message": "Voulez-vous vraiment retirer cette entrée ?",
|
|
174
175
|
"i18n.contact.tag": "AEO"
|
|
175
176
|
}
|
package/src/assets/i18n/it.json
CHANGED
|
@@ -171,6 +171,7 @@
|
|
|
171
171
|
"i18n.qd.quick.edit.submitButtonLabel": "Trasferire",
|
|
172
172
|
"i18n.qd.quick.edit.createButtonLabel": "Aggiungere",
|
|
173
173
|
"i18n.qd.quick.edit.removeButtonLabel": "Eliminare",
|
|
174
|
+
"i18n.qd.quick.edit.removeConfirmation.message": "Vuoi davvero eliminare questa voce?",
|
|
174
175
|
"i18n.contact.tag": "AEO",
|
|
175
176
|
"i18n.qd.page.footer.saveDraft": "Entwurf speichern"
|
|
176
177
|
}
|