@dev-tcloud/tcloud-ui 6.28.2 → 6.28.3
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/docs/tcloud-ui-dialog.md +19 -0
- package/fesm2022/dev-tcloud-tcloud-ui.mjs +11 -6
- package/fesm2022/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/js/tcloud-ui-app.js +1 -1
- package/lib/_modules/tcloud-ui-dialog/models/tcloud-ui-dialog.model.d.ts +3 -1
- package/lib/_modules/tcloud-ui-dialog/tcloud-ui-dialog.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TCloudUiDialogTextConfirmationEnum } from '../enums/tcloud-ui-dialog-text-confirmation.enum';
|
|
2
2
|
export declare class TCloudUiDialogModel {
|
|
3
|
-
constructor(_title: string, _description: string, _loading: boolean, _disable: boolean, _disableClickOutside: boolean, _inputConfirmationText: TCloudUiDialogTextConfirmationEnum, _buttonConfirmText: string, _buttonCancelText: string);
|
|
3
|
+
constructor(_title: string, _description: string, _loading: boolean, _disable: boolean, _disableClickOutside: boolean, _inputConfirmationText: TCloudUiDialogTextConfirmationEnum, _buttonConfirmText: string, _buttonCancelText: string, _showInputConfirmation?: boolean);
|
|
4
4
|
title?: string;
|
|
5
5
|
message?: string;
|
|
6
6
|
loading?: boolean;
|
|
@@ -9,4 +9,6 @@ export declare class TCloudUiDialogModel {
|
|
|
9
9
|
disableClickOutside?: boolean;
|
|
10
10
|
buttonConfirmText?: string;
|
|
11
11
|
buttonCancelText?: string;
|
|
12
|
+
/** Quando `false`, o input de confirmação não é exibido — apenas os botões. Padrão `true`. */
|
|
13
|
+
showInputConfirmation?: boolean;
|
|
12
14
|
}
|
|
@@ -13,6 +13,8 @@ export declare class TCloudUiDialogComponent implements DoCheck {
|
|
|
13
13
|
private cancelFunction;
|
|
14
14
|
private isClosing;
|
|
15
15
|
private readonly i18n;
|
|
16
|
+
/** `true` quando o input de confirmação deve ser exibido/validado (flag + texto definidos). */
|
|
17
|
+
get hasInputConfirmation(): boolean;
|
|
16
18
|
onKeydownHandler(event: Event): void;
|
|
17
19
|
ngDoCheck(): void;
|
|
18
20
|
/**
|