valtech-components 2.0.1011 → 2.0.1013

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.
@@ -1,4 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { FormMetadata, FormSubmit } from '../../types';
2
3
  import { ClientApiKey, ClientApiKeyWithSecret } from '../../../services/apikeys/types';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
@@ -25,15 +26,17 @@ export declare class ApiKeysModalComponent implements OnInit {
25
26
  readonly errorMsg: import("@angular/core").WritableSignal<string>;
26
27
  readonly secret: import("@angular/core").WritableSignal<ClientApiKeyWithSecret>;
27
28
  readonly copied: import("@angular/core").WritableSignal<boolean>;
28
- name: string;
29
- expiresInDays: number | null;
30
- readonly selectedPerms: import("@angular/core").WritableSignal<Set<string>>;
29
+ /**
30
+ * FormMetadata del form de crear key (val-form). Reactivo a idioma + permisos
31
+ * disponibles + estado submitting. Reemplaza los ion-input/ion-checkbox crudos
32
+ * por val-form (consistencia con el resto de modales del factory).
33
+ */
34
+ readonly createForm: import("@angular/core").Signal<FormMetadata>;
31
35
  constructor();
32
36
  ngOnInit(): void;
33
37
  private refresh;
34
38
  openCreate(): void;
35
- togglePerm(perm: string, ev: Event): void;
36
- submit(): void;
39
+ onCreateSubmit(event: FormSubmit): void;
37
40
  revoke(key: ClientApiKey): void;
38
41
  copy(secret: string): Promise<void>;
39
42
  finishSecret(): void;
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 = "2.0.1011";
5
+ export declare const VERSION = "2.0.1013";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.1011",
3
+ "version": "2.0.1013",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"
@@ -6,6 +6,16 @@
6
6
 
7
7
  /** core **/
8
8
 
9
+ /* Evita que Safari/Chrome móvil auto-inflen el texto en páginas con cierto
10
+ * layout (síntoma: el label del val-bottom-nav se veía más grande en home que en
11
+ * otras vistas). Los font-size en rem son root-relative; el text-size-adjust del
12
+ * navegador los escalaba por página. Fijarlo en 100% lo hace consistente en TODA
13
+ * app que consuma estos overrides. */
14
+ html {
15
+ -webkit-text-size-adjust: 100%;
16
+ text-size-adjust: 100%;
17
+ }
18
+
9
19
  h1,
10
20
  h2,
11
21
  h3,