@vasakgroup/vue-libvasak 0.15.1 → 0.16.1

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,6 +1,14 @@
1
1
  type __VLS_Props = {
2
2
  modelValue: string;
3
- type?: 'text' | 'password' | 'search' | 'url' | 'email' | 'number';
3
+ /**
4
+ * El tipo del campo.
5
+ *
6
+ * `date` y `time` están porque la configuración pone la fecha y la hora del
7
+ * sistema y programa la luz nocturna, y son cuatro campos de verdad. El
8
+ * navegador les dibuja su propio selector, que es justo lo que se quiere:
9
+ * uno escrito a mano no entiende de husos ni de formatos locales.
10
+ */
11
+ type?: 'text' | 'password' | 'search' | 'url' | 'email' | 'number' | 'date' | 'time';
4
12
  /** La otra mitad del `for` de `FormGroup`: sin esto la etiqueta no ata a nada. */
5
13
  id?: string;
6
14
  /** El nombre del campo cuando no hay etiqueta visible que se lo dé. */
@@ -34,11 +42,15 @@ type __VLS_Props = {
34
42
  lazy?: boolean;
35
43
  };
36
44
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
+ keydown: (evento: KeyboardEvent) => any;
46
+ keyup: (evento: KeyboardEvent) => any;
37
47
  "update:modelValue": (valor: string) => any;
38
48
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
49
+ onKeydown?: ((evento: KeyboardEvent) => any) | undefined;
50
+ onKeyup?: ((evento: KeyboardEvent) => any) | undefined;
39
51
  "onUpdate:modelValue"?: ((valor: string) => any) | undefined;
40
52
  }>, {
41
- type: "text" | "password" | "search" | "url" | "email" | "number";
53
+ type: "text" | "password" | "search" | "url" | "email" | "number" | "date" | "time";
42
54
  lazy: boolean;
43
55
  invalid: boolean;
44
56
  required: boolean;