@vasakgroup/vue-libvasak 1.7.1 → 1.9.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.
|
@@ -33,6 +33,15 @@ interface Props {
|
|
|
33
33
|
actionLabel?: string;
|
|
34
34
|
/** Qué dice mientras `isConnecting`. */
|
|
35
35
|
connectingLabel?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Si la acción deshace algo —desconectar, desvincular, olvidar—, va en rojo.
|
|
38
|
+
*
|
|
39
|
+
* No sale de `isConnected`, aunque en Bluetooth las dos cosas coincidan: hay
|
|
40
|
+
* tarjetas donde la acción del estado conectado no destruye nada, y otras
|
|
41
|
+
* donde la del desconectado sí —«olvidar este dispositivo»—. Atarlo al
|
|
42
|
+
* estado acertaría por casualidad en un caso y se equivocaría en el otro.
|
|
43
|
+
*/
|
|
44
|
+
actionKind?: 'primary' | 'destructive';
|
|
36
45
|
/** Mientras dura la acción: el botón queda deshabilitado y cambia el texto. */
|
|
37
46
|
isConnecting?: boolean;
|
|
38
47
|
showStatusIndicator?: boolean;
|
|
@@ -57,6 +66,7 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
57
66
|
showActionButton: boolean;
|
|
58
67
|
actionLabel: string;
|
|
59
68
|
connectingLabel: string;
|
|
69
|
+
actionKind: "primary" | "destructive";
|
|
60
70
|
isConnecting: boolean;
|
|
61
71
|
showStatusIndicator: boolean;
|
|
62
72
|
clickable: boolean;
|
|
@@ -13,10 +13,19 @@ interface Props {
|
|
|
13
13
|
tooltipClass?: string | Record<string, boolean>;
|
|
14
14
|
showCustomTooltip?: boolean;
|
|
15
15
|
customTooltipText?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Si hacer clic hace algo.
|
|
18
|
+
*
|
|
19
|
+
* Los que sólo informan —la batería, Bloq Mayús, el micrófono silenciado— se
|
|
20
|
+
* pintaban al pasar el mouse como si fueran botones: el resaltado promete un
|
|
21
|
+
* clic que no existe. Y peor, se anunciaban como «botón» a quien no ve el
|
|
22
|
+
* icono. Con esto quedan quietos y se dibujan como un `div`.
|
|
23
|
+
*/
|
|
24
|
+
interactive?: boolean;
|
|
16
25
|
}
|
|
17
|
-
declare var
|
|
26
|
+
declare var __VLS_17: {};
|
|
18
27
|
type __VLS_Slots = {} & {
|
|
19
|
-
default?: (props: typeof
|
|
28
|
+
default?: (props: typeof __VLS_17) => any;
|
|
20
29
|
};
|
|
21
30
|
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
31
|
click: () => any;
|
|
@@ -34,6 +43,7 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
|
|
|
34
43
|
tooltipClass: string | Record<string, boolean>;
|
|
35
44
|
showCustomTooltip: boolean;
|
|
36
45
|
customTooltipText: string;
|
|
46
|
+
interactive: boolean;
|
|
37
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
48
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
49
|
declare const _default: typeof __VLS_export;
|