valtech-components 4.0.973 → 4.0.975

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.
@@ -53,11 +53,11 @@ export declare class RightsFooterComponent {
53
53
  /**
54
54
  * Computed helper for align prop in template.
55
55
  */
56
- propsAlign: import("@angular/core").Signal<"left" | "center" | "right">;
56
+ propsAlign: import("@angular/core").Signal<"right" | "left" | "center">;
57
57
  /**
58
58
  * Computed helper for color prop in template.
59
59
  */
60
- propsColor: import("@angular/core").Signal<"success" | "medium" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "dark">;
60
+ propsColor: import("@angular/core").Signal<"medium" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | "light" | "dark">;
61
61
  /**
62
62
  * Computed helper for withMargin prop in template.
63
63
  */
@@ -26,7 +26,7 @@ export declare class LoadMoreComponent {
26
26
  readonly color: import("@angular/core").Signal<string>;
27
27
  readonly fill: import("@angular/core").Signal<string>;
28
28
  readonly shape: import("@angular/core").Signal<string>;
29
- readonly size: import("@angular/core").Signal<"small" | "default" | "large">;
29
+ readonly size: import("@angular/core").Signal<"small" | "large" | "default">;
30
30
  readonly threshold: import("@angular/core").Signal<string>;
31
31
  readonly label: import("@angular/core").Signal<string>;
32
32
  private readonly _pendingComplete;
@@ -69,7 +69,7 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
69
69
  linkConfig?: import("valtech-components").LinkProcessorConfig;
70
70
  allowPartialBold?: boolean;
71
71
  authorColor?: import("@ionic/core").Color;
72
- alignment?: "left" | "center" | "right";
72
+ alignment?: "right" | "left" | "center";
73
73
  showQuoteMark?: boolean;
74
74
  };
75
75
  getHighlightTextProps(element: ArticleElement): {
@@ -103,7 +103,7 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
103
103
  contentInterpolation?: Record<string, string | number>;
104
104
  icon?: import("valtech-components").IconMetada;
105
105
  shape?: "round";
106
- size?: "small" | "default" | "large";
106
+ size?: "small" | "large" | "default";
107
107
  fill?: "default" | "clear" | "outline" | "solid" | "tint";
108
108
  type: "reset" | "submit" | "button";
109
109
  token?: string;
@@ -158,13 +158,20 @@ export declare class StorageService {
158
158
  * Elimina un archivo.
159
159
  *
160
160
  * @param path - Ruta del archivo a eliminar
161
+ * @param options.skipPrefix - Si es true, no aplica el prefix de appId (para
162
+ * borrar un archivo subido con `uploadAndGetUrl(path, file, { skipPrefix:
163
+ * true })` hay que pasar el mismo flag, o el path queda mal armado y el
164
+ * delete falla contra un objeto que no existe).
161
165
  *
162
166
  * @example
163
167
  * ```typescript
164
168
  * await storage.delete('images/old-photo.jpg');
169
+ * await storage.delete('apps/merotz/orgs/x/public/images/parts/y/z.png', { skipPrefix: true });
165
170
  * ```
166
171
  */
167
- delete(path: string): Promise<void>;
172
+ delete(path: string, options?: {
173
+ skipPrefix?: boolean;
174
+ }): Promise<void>;
168
175
  /**
169
176
  * Elimina múltiples archivos.
170
177
  *
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.973";
5
+ export declare const VERSION = "4.0.975";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.973",
3
+ "version": "4.0.975",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"