valtech-components 2.0.687 → 2.0.688
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/organisms/bottom-nav/bottom-nav.component.mjs +3 -3
- package/esm2022/lib/services/firebase/firestore-collection.mjs +9 -1
- package/esm2022/lib/services/firebase/notifications.service.mjs +12 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +22 -3
- 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/molecules/features-list/features-list.component.d.ts +1 -1
- package/lib/components/organisms/article/article.component.d.ts +3 -3
- package/lib/services/firebase/firestore-collection.d.ts +5 -0
- package/lib/services/firebase/notifications.service.d.ts +5 -0
- package/lib/version.d.ts +1 -1
- 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<"
|
|
46
|
+
propsColor: import("@angular/core").Signal<"medium" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | "light" | "dark">;
|
|
47
47
|
/**
|
|
48
48
|
* Computed helper for withMargin prop in template.
|
|
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>;
|
|
@@ -48,7 +48,7 @@ export declare class FeaturesListComponent {
|
|
|
48
48
|
iconColor: string;
|
|
49
49
|
iconSize: number;
|
|
50
50
|
mode: "horizontal" | "vertical";
|
|
51
|
-
gap: "
|
|
51
|
+
gap: "small" | "medium" | "large";
|
|
52
52
|
alignment: "center" | "start";
|
|
53
53
|
}>;
|
|
54
54
|
/** Resolved icon color (handles Ionic colors and CSS colors) */
|
|
@@ -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?: "small" | "large" | "default";
|
|
94
94
|
fill?: "default" | "clear" | "outline" | "solid";
|
|
95
|
-
type: "
|
|
95
|
+
type: "button" | "submit" | "reset";
|
|
96
96
|
token?: string;
|
|
97
97
|
ref?: any;
|
|
98
98
|
handler?: (value: any) => any;
|
|
@@ -103,6 +103,11 @@ export declare class TypedCollection<T extends FirestoreDocument> {
|
|
|
103
103
|
* Nota: Esto carga todos los documentos, usar con cuidado en colecciones grandes.
|
|
104
104
|
*/
|
|
105
105
|
count(options?: QueryOptions): Promise<number>;
|
|
106
|
+
/**
|
|
107
|
+
* Obtiene todos los documentos (one-time fetch sin listener).
|
|
108
|
+
* A diferencia de watchAll(), no mantiene subscripciones activas.
|
|
109
|
+
*/
|
|
110
|
+
getAllOnce(options?: QueryOptions): Promise<T[]>;
|
|
106
111
|
/**
|
|
107
112
|
* Verifica si un documento existe.
|
|
108
113
|
*/
|
|
@@ -82,6 +82,11 @@ export declare class NotificationsService {
|
|
|
82
82
|
* Real-time: se actualiza automáticamente cuando cambian los datos.
|
|
83
83
|
*/
|
|
84
84
|
getAll(): Observable<NotificationDocument[]>;
|
|
85
|
+
/**
|
|
86
|
+
* Obtiene todas las notificaciones (one-time fetch sin listener).
|
|
87
|
+
* Útil para cargas iniciales sin necesidad de updates en tiempo real.
|
|
88
|
+
*/
|
|
89
|
+
getAllOnce(): Promise<NotificationDocument[]>;
|
|
85
90
|
/**
|
|
86
91
|
* Obtiene solo notificaciones no leídas.
|
|
87
92
|
*/
|
package/lib/version.d.ts
CHANGED