@vasakgroup/vue-libvasak 0.6.2 → 0.7.0
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/dist/types/forms/SelectField.vue.d.ts +32 -21
- package/dist/vue-libvasak.es.js +301 -299
- package/dist/vue-libvasak.umd.js +1 -1
- package/package.json +1 -1
|
@@ -1,24 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
declare const __VLS_export: <T extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
3
|
+
label?: string;
|
|
4
|
+
} & {
|
|
5
|
+
/**
|
|
6
|
+
* El modelo, del tipo que use quien lo pone.
|
|
7
|
+
*
|
|
8
|
+
* Era `string | number` fijo, y eso obliga a quien tiene un `ref<string>` —o
|
|
9
|
+
* algo más estrecho, como los cuatro lados de la barra— a aceptar de vuelta un
|
|
10
|
+
* `number` que nunca va a llegar. Con `strictTemplates` eso dejó de pasar en
|
|
11
|
+
* silencio: `Type 'string | number' is not assignable to type '"top" | …'`.
|
|
12
|
+
*/
|
|
13
|
+
modelValue: T;
|
|
14
|
+
}) & {
|
|
15
|
+
onChange?: ((evento: Event) => any) | undefined;
|
|
16
|
+
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
17
|
+
}> & (typeof globalThis extends {
|
|
18
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
19
|
+
} ? P : {});
|
|
20
|
+
expose: (exposed: {}) => void;
|
|
21
|
+
attrs: any;
|
|
22
|
+
slots: {
|
|
23
|
+
default?: (props: {}) => any;
|
|
24
|
+
};
|
|
25
|
+
emit: ((evt: "change", evento: Event) => void) & ((event: "update:modelValue", value: T) => void);
|
|
26
|
+
}>) => import("vue").VNode & {
|
|
27
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
11
28
|
};
|
|
12
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
"update:modelValue": (value: string | number) => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
29
|
declare const _default: typeof __VLS_export;
|
|
19
30
|
export default _default;
|
|
20
|
-
type
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
31
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} : {
|
|
34
|
+
[K in keyof T as K]: T[K];
|
|
35
|
+
}) & {};
|