@dev-tcloud/tcloud-ui 6.14.0 → 6.14.2
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/dev-tcloud-tcloud-ui.mjs +529 -483
- package/fesm2022/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/lib/_modules/tcloud-ui-modal/components/tcloud-ui-modal-footer/tcloud-ui-modal-footer.component.d.ts +6 -0
- package/lib/_modules/tcloud-ui-modal/tcloud-ui-modal.component.d.ts +5 -5
- package/lib/_modules/tcloud-ui-modal/tcloud-ui-modal.d.ts +1 -0
- package/package.json +1 -1
|
@@ -9,14 +9,20 @@ export declare class TCloudUiModalFooterComponent implements OnInit, OnDestroy {
|
|
|
9
9
|
private _tCloudUiLayoutService;
|
|
10
10
|
private tcloudModalService;
|
|
11
11
|
actions: boolean;
|
|
12
|
+
private _BTN_CLOSE_TEXT;
|
|
12
13
|
btnCloseText: string;
|
|
14
|
+
private _BTN_CANCEL_TEXT;
|
|
13
15
|
btnCancelText: string;
|
|
16
|
+
private _BTN_CONFIRM_TEXT;
|
|
14
17
|
btnConfirmText: string;
|
|
15
18
|
_formulario: NgForm | undefined;
|
|
16
19
|
txt_value: string;
|
|
17
20
|
param_confirm: IConfirm;
|
|
18
21
|
loading: boolean;
|
|
19
22
|
subscription: Subscription | undefined;
|
|
23
|
+
private readonly i18nService;
|
|
24
|
+
type_the_word: string;
|
|
25
|
+
to_confirm: string;
|
|
20
26
|
constructor(_tCloudUiLayoutService: TCloudUiLayoutService, tcloudModalService: TcloudModalService);
|
|
21
27
|
get layout(): string;
|
|
22
28
|
ngOnInit(): void;
|
|
@@ -3,12 +3,11 @@ import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
|
3
3
|
import { TcloudModalService } from './services/tcloud-modal.service';
|
|
4
4
|
import { IConfirm } from './tcloud-ui-modal';
|
|
5
5
|
import { TCloudUiLayoutService } from '../../_services/tcloud-ui-layout.services';
|
|
6
|
-
import { TCloudUiLocaleService } from '../../_services/tcloud-ui-locale.service';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class TCloudUiModalComponent implements OnInit, OnDestroy {
|
|
9
8
|
private _tCloudUiLayoutService;
|
|
10
|
-
private _tCloudUiLocaleService;
|
|
11
9
|
private tcloudModalService;
|
|
10
|
+
private readonly i18nService;
|
|
12
11
|
/**
|
|
13
12
|
* tcloud-ui-modal - Cria e exibe um modal
|
|
14
13
|
*
|
|
@@ -19,6 +18,7 @@ export declare class TCloudUiModalComponent implements OnInit, OnDestroy {
|
|
|
19
18
|
param_confirm: IConfirm;
|
|
20
19
|
private _confirm;
|
|
21
20
|
private _confirmText;
|
|
21
|
+
private _confirmInput;
|
|
22
22
|
/**
|
|
23
23
|
* confirm boolean - Indica se será um modal do tipo confirmação - default false
|
|
24
24
|
*/
|
|
@@ -27,6 +27,7 @@ export declare class TCloudUiModalComponent implements OnInit, OnDestroy {
|
|
|
27
27
|
* confirmText string - Texto que deverá ser digitado - defualt Confirmo
|
|
28
28
|
*/
|
|
29
29
|
set confirmText(v: string);
|
|
30
|
+
set confirmInput(v: boolean);
|
|
30
31
|
subscription: Subscription;
|
|
31
32
|
/**
|
|
32
33
|
* autoClose boolean - Indica se deverá ser fechado quando confirmar uma ação - default true
|
|
@@ -91,13 +92,12 @@ export declare class TCloudUiModalComponent implements OnInit, OnDestroy {
|
|
|
91
92
|
toConfirm: EventEmitter<boolean>;
|
|
92
93
|
toCancel: EventEmitter<boolean>;
|
|
93
94
|
toAction: EventEmitter<"close" | "cancel" | "confirmed">;
|
|
94
|
-
constructor(_tCloudUiLayoutService: TCloudUiLayoutService,
|
|
95
|
+
constructor(_tCloudUiLayoutService: TCloudUiLayoutService, tcloudModalService: TcloudModalService);
|
|
95
96
|
get layout(): string;
|
|
96
|
-
get locale(): string;
|
|
97
97
|
ngOnInit(): void;
|
|
98
98
|
toClose(action?: any | undefined): void;
|
|
99
99
|
checkIsOpen(): void;
|
|
100
100
|
ngOnDestroy(): void;
|
|
101
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiModalComponent, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiModalComponent, "tcloud-ui-modal", never, { "confirm": { "alias": "confirm"; "required": false; }; "confirmText": { "alias": "confirmText"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "title": { "alias": "title"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "position": { "alias": "position"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "window": { "alias": "window"; "required": false; }; "open": { "alias": "open"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "openChange": "openChange"; "toConfirm": "toConfirm"; "toCancel": "toCancel"; "toAction": "toAction"; }, never, ["*"], true, never>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiModalComponent, "tcloud-ui-modal", never, { "confirm": { "alias": "confirm"; "required": false; }; "confirmText": { "alias": "confirmText"; "required": false; }; "confirmInput": { "alias": "confirmInput"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "title": { "alias": "title"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "position": { "alias": "position"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "window": { "alias": "window"; "required": false; }; "open": { "alias": "open"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "openChange": "openChange"; "toConfirm": "toConfirm"; "toCancel": "toCancel"; "toAction": "toAction"; }, never, ["*"], true, never>;
|
|
103
103
|
}
|