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.
- package/esm2022/lib/components/molecules/links-accordion/links-accordion.component.mjs +3 -3
- package/esm2022/lib/components/organisms/api-keys-modal/api-keys-modal.component.mjs +105 -106
- package/esm2022/lib/components/organisms/settings-hub/settings-hub.i18n.mjs +5 -1
- package/esm2022/lib/components/organisms/settings-hub/settings-sections.mjs +13 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +118 -104
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/api-keys-modal/api-keys-modal.component.d.ts +8 -5
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/components/styles/overrides.scss +10 -0
|
@@ -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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
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
package/package.json
CHANGED
|
@@ -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,
|