valtech-components 2.0.574 → 2.0.576
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/services/auth/auth.service.mjs +11 -1
- package/esm2022/lib/services/auth/oauth-callback.component.mjs +35 -7
- package/esm2022/lib/services/auth/oauth.service.mjs +65 -6
- package/fesm2022/valtech-components.mjs +108 -11
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +1 -1
- package/lib/components/atoms/text/text.component.d.ts +1 -1
- package/lib/components/organisms/article/article.component.d.ts +3 -3
- package/lib/services/auth/oauth.service.d.ts +9 -0
- package/package.json +1 -1
|
@@ -43,7 +43,7 @@ export declare class RightsFooterComponent {
|
|
|
43
43
|
/**
|
|
44
44
|
* Computed helper for color prop in template.
|
|
45
45
|
*/
|
|
46
|
-
propsColor: import("@angular/core").Signal<"success" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "
|
|
46
|
+
propsColor: import("@angular/core").Signal<"success" | "medium" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "dark">;
|
|
47
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<RightsFooterComponent, never>;
|
|
48
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<RightsFooterComponent, "val-rights-footer", never, { "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
49
49
|
}
|
|
@@ -11,7 +11,7 @@ export declare class TextComponent {
|
|
|
11
11
|
*/
|
|
12
12
|
displayContent: import("@angular/core").Signal<string>;
|
|
13
13
|
propsColor: import("@angular/core").Signal<import("@ionic/core").Color>;
|
|
14
|
-
propsSize: import("@angular/core").Signal<"
|
|
14
|
+
propsSize: import("@angular/core").Signal<"small" | "medium" | "large" | "xlarge">;
|
|
15
15
|
propsBold: import("@angular/core").Signal<boolean>;
|
|
16
16
|
propsProcessLinks: import("@angular/core").Signal<boolean>;
|
|
17
17
|
propsAllowPartialBold: import("@angular/core").Signal<boolean>;
|
|
@@ -45,7 +45,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
45
45
|
getVideoElement(element: ArticleElement): ArticleVideoElement;
|
|
46
46
|
getCustomElement(element: ArticleElement): ArticleCustomElement;
|
|
47
47
|
getQuoteTextProps(element: ArticleElement): {
|
|
48
|
-
size: "
|
|
48
|
+
size: "small" | "medium" | "large" | "xlarge";
|
|
49
49
|
color: import("@ionic/core").Color;
|
|
50
50
|
content?: string;
|
|
51
51
|
bold: boolean;
|
|
@@ -61,7 +61,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
61
61
|
showQuoteMark?: boolean;
|
|
62
62
|
};
|
|
63
63
|
getHighlightTextProps(element: ArticleElement): {
|
|
64
|
-
size: "
|
|
64
|
+
size: "small" | "medium" | "large" | "xlarge";
|
|
65
65
|
color: import("@ionic/core").Color;
|
|
66
66
|
content?: string;
|
|
67
67
|
bold: boolean;
|
|
@@ -92,7 +92,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
92
92
|
shape?: "round";
|
|
93
93
|
size?: "default" | "small" | "large";
|
|
94
94
|
fill?: "default" | "clear" | "outline" | "solid";
|
|
95
|
-
type: "
|
|
95
|
+
type: "reset" | "submit" | "button";
|
|
96
96
|
token?: string;
|
|
97
97
|
ref?: any;
|
|
98
98
|
handler?: (value: any) => any;
|
|
@@ -81,6 +81,15 @@ export declare class OAuthService {
|
|
|
81
81
|
* Verifica si el usuario tiene contraseña establecida.
|
|
82
82
|
*/
|
|
83
83
|
hasPassword(): Observable<HasPasswordResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* Revisa localStorage por datos de callback OAuth (fallback para COOP).
|
|
86
|
+
* Solo acepta datos recientes (últimos 30 segundos).
|
|
87
|
+
*/
|
|
88
|
+
private checkLocalStorageFallback;
|
|
89
|
+
/**
|
|
90
|
+
* Limpia datos de fallback de localStorage.
|
|
91
|
+
*/
|
|
92
|
+
private clearLocalStorageFallback;
|
|
84
93
|
/**
|
|
85
94
|
* Limpia recursos del popup.
|
|
86
95
|
*/
|