valtech-components 4.0.1023 → 4.0.1024
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/esm2022/lib/components/molecules/select-input/select-input.component.mjs +20 -5
- package/esm2022/lib/components/organisms/change-email-modal/change-email-modal.component.mjs +6 -8
- package/esm2022/lib/components/organisms/change-password-modal/change-password-modal.component.mjs +5 -4
- package/esm2022/lib/components/organisms/delete-account-modal/delete-account-modal.component.mjs +9 -28
- package/esm2022/lib/components/organisms/login-attempt-modal/login-attempt-modal.component.mjs +42 -59
- package/esm2022/lib/components/organisms/mfa-modal/mfa-modal.component.mjs +6 -8
- package/esm2022/lib/components/organisms/profile-modal/profile-modal.component.mjs +9 -27
- package/esm2022/lib/components/organisms/session-list-modal/session-list-modal.component.mjs +9 -34
- package/esm2022/lib/components/types.mjs +1 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +86 -156
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/select-input/select-input.component.d.ts +1 -0
- package/lib/components/organisms/login-attempt-modal/login-attempt-modal.component.d.ts +6 -3
- package/lib/components/organisms/profile-modal/profile-modal.component.d.ts +1 -1
- package/lib/components/types.d.ts +4 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -46,6 +46,7 @@ export declare class SearchSelectorComponent implements OnInit, OnChanges {
|
|
|
46
46
|
*/
|
|
47
47
|
private resolveProps;
|
|
48
48
|
private setupComponent;
|
|
49
|
+
iconMask(src: string): string;
|
|
49
50
|
/**
|
|
50
51
|
* Busca un key en `_global` primero, luego en `Common`, finalmente cae al
|
|
51
52
|
* default hardcoded. Útil para textos cross-cutting (cancel/ok/close/etc.)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ModalLayoutActionEvent } from '../../molecules/modal-layout/types';
|
|
1
2
|
import { ButtonMetadata } from '../../types';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
@@ -50,9 +51,11 @@ export declare class LoginAttemptModalComponent {
|
|
|
50
51
|
/** "No fui yo" — ejecuta el bloqueo y pasa a estado done. */
|
|
51
52
|
confirmBlock(): Promise<void>;
|
|
52
53
|
close(): void;
|
|
53
|
-
|
|
54
|
-
get
|
|
55
|
-
get
|
|
54
|
+
handleAction(event: ModalLayoutActionEvent): void;
|
|
55
|
+
get actions(): ButtonMetadata[];
|
|
56
|
+
get mineBtn(): ButtonMetadata;
|
|
57
|
+
get blockBtn(): ButtonMetadata;
|
|
58
|
+
get closeBtn(): ButtonMetadata;
|
|
56
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginAttemptModalComponent, never>;
|
|
57
60
|
static ɵcmp: i0.ɵɵComponentDeclaration<LoginAttemptModalComponent, "val-login-attempt-modal", never, { "title": { "alias": "title"; "required": false; }; "body": { "alias": "body"; "required": false; }; "deviceLabel": { "alias": "deviceLabel"; "required": false; }; "metaLabel": { "alias": "metaLabel"; "required": false; }; "doneLabel": { "alias": "doneLabel"; "required": false; }; "mineLabel": { "alias": "mineLabel"; "required": false; }; "blockLabel": { "alias": "blockLabel"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "onBlock": { "alias": "onBlock"; "required": false; }; "_modalRef": { "alias": "_modalRef"; "required": false; }; }, {}, never, never, true, never>;
|
|
58
61
|
}
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* perfil desde el avatar del header. Se abre vía `ModalService.open({ component })`
|
|
6
6
|
* (recibe `_modalRef` por componentProps) o lo despacha `HeaderActionsService`.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* Usa `val-modal-layout` como shell estándar de modales.
|
|
9
9
|
*/
|
|
10
10
|
export declare class ProfileModalComponent {
|
|
11
11
|
private readonly i18n;
|
|
@@ -86,7 +86,10 @@ export type InputOption = {
|
|
|
86
86
|
name: string;
|
|
87
87
|
/** Optional icon shown next to the option label */
|
|
88
88
|
icon?: {
|
|
89
|
-
name
|
|
89
|
+
/** Ionicon name. */
|
|
90
|
+
name?: string;
|
|
91
|
+
/** Image/SVG asset URL. Takes precedence over name when present. */
|
|
92
|
+
src?: string;
|
|
90
93
|
color?: string;
|
|
91
94
|
};
|
|
92
95
|
/** Whether the option is selected by default */
|
package/lib/version.d.ts
CHANGED