@vasakgroup/vue-libvasak 0.12.0 → 0.13.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/feedback/AlertMessage.vue.d.ts +8 -2
- package/dist/types/forms/SwitchToggle.vue.d.ts +9 -13
- package/dist/types/forms/SwitchTrack.vue.d.ts +9 -0
- package/dist/types/forms/TextInput.vue.d.ts +12 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/vue-libvasak.es.js +792 -745
- package/dist/vue-libvasak.umd.js +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import { type TonoDelAviso } from './tonos';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
tone?: TonoDelAviso;
|
|
4
|
+
/** Una línea que dice de qué se trata, para no tener que leerlo todo. */
|
|
5
|
+
title?: string;
|
|
6
|
+
/** Nombre de icono del tema. Sin esto no se dibuja ninguno. */
|
|
7
|
+
icon?: string;
|
|
8
|
+
iconType?: 'icon' | 'symbol';
|
|
4
9
|
};
|
|
5
|
-
declare var
|
|
10
|
+
declare var __VLS_6: {};
|
|
6
11
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
12
|
+
default?: (props: typeof __VLS_6) => any;
|
|
8
13
|
};
|
|
9
14
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
15
|
tone: TonoDelAviso;
|
|
16
|
+
iconType: "icon" | "symbol";
|
|
11
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: boolean;
|
|
3
|
+
/** Qué controla este interruptor. Es su nombre accesible. */
|
|
4
|
+
label: string;
|
|
3
5
|
disabled?: boolean;
|
|
4
6
|
size?: 'small' | 'medium';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
toggle: (value: boolean) => any;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
12
|
-
onToggle?: ((value: boolean) => any) | undefined;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (valor: boolean) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((valor: boolean) => any) | undefined;
|
|
13
12
|
}>, {
|
|
14
13
|
size: "small" | "medium";
|
|
15
14
|
disabled: boolean;
|
|
16
|
-
customClass: string;
|
|
17
|
-
activeClass: string;
|
|
18
|
-
inactiveClass: string;
|
|
19
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
16
|
declare const _default: typeof __VLS_export;
|
|
21
17
|
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
on: boolean;
|
|
3
|
+
size?: 'small' | 'medium';
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
size: "small" | "medium";
|
|
7
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -5,6 +5,18 @@ type __VLS_Props = {
|
|
|
5
5
|
id?: string;
|
|
6
6
|
/** El nombre del campo cuando no hay etiqueta visible que se lo dé. */
|
|
7
7
|
ariaLabel?: string;
|
|
8
|
+
/**
|
|
9
|
+
* El `id` del texto que explica el error o la ayuda de abajo.
|
|
10
|
+
*
|
|
11
|
+
* Sin esto, el mensaje de error se ve pero no se anuncia: quien no mira la
|
|
12
|
+
* pantalla oye que el campo es inválido y nunca por qué.
|
|
13
|
+
*/
|
|
14
|
+
describedBy?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Qué autocompletar. Va declarado y no por caída de atributos porque con
|
|
17
|
+
* `strictTemplates` lo que no está declarado no se puede pasar.
|
|
18
|
+
*/
|
|
19
|
+
autocomplete?: string;
|
|
8
20
|
placeholder?: string;
|
|
9
21
|
disabled?: boolean;
|
|
10
22
|
readonly?: boolean;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ import FormGroup from "./forms/FormGroup.vue";
|
|
|
35
35
|
import ListCard from "./cards/ListCard.vue";
|
|
36
36
|
import SliderControl from "./forms/SliderControl.vue";
|
|
37
37
|
import SwitchToggle from "./forms/SwitchToggle.vue";
|
|
38
|
+
import SwitchTrack from "./forms/SwitchTrack.vue";
|
|
38
39
|
import ToggleControl from "./controls/ToggleControl.vue";
|
|
39
40
|
import Tooltip from "./tooltip/Tooltip.vue";
|
|
40
41
|
import TooltipContent from "./tooltip/TooltipContent.vue";
|
|
@@ -45,7 +46,7 @@ declare const _default: {
|
|
|
45
46
|
install(app: App): void;
|
|
46
47
|
};
|
|
47
48
|
export default _default;
|
|
48
|
-
export { SideBar, SideButton, SideGroup, SelectField, ThemeIcon, WindowFrame, AppBar, WindowControls, TabBar, TabItem, BarSearch, ActionButton, AlertMessage, EmptyState, ProgressBar, SearchField, SearchSelect, TextInput, ToastArea, ConfigSection, DeviceCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, FormGroup, ListCard, SliderControl, SwitchToggle, ToggleControl, Tooltip, TooltipContent, TooltipTrigger, TrayIconButton, };
|
|
49
|
+
export { SideBar, SideButton, SideGroup, SelectField, ThemeIcon, WindowFrame, AppBar, WindowControls, TabBar, TabItem, BarSearch, ActionButton, AlertMessage, EmptyState, ProgressBar, SearchField, SearchSelect, TextInput, ToastArea, ConfigSection, DeviceCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, FormGroup, ListCard, SliderControl, SwitchToggle, SwitchTrack, ToggleControl, Tooltip, TooltipContent, TooltipTrigger, TrayIconButton, };
|
|
49
50
|
export type { AvisoTransitorio } from "./feedback/ToastArea.vue";
|
|
50
51
|
export type { TonoDelAviso } from "./feedback/tonos";
|
|
51
52
|
export { CLASES_POR_TONO, rolDelTono } from "./feedback/tonos";
|