@doderasoftware/restify-ai 0.1.0-beta.1 → 0.1.0-beta.3
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,14 +1,18 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
1
3
|
export interface UseKeyboardShortcutOptions {
|
|
2
4
|
shortcut?: string | null;
|
|
3
5
|
onToggle: () => void;
|
|
4
6
|
enabled?: boolean;
|
|
5
7
|
}
|
|
6
8
|
export declare function useKeyboardShortcut(options: UseKeyboardShortcutOptions): {
|
|
7
|
-
isActive:
|
|
9
|
+
isActive: Ref<boolean, boolean>;
|
|
8
10
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Simple hook for opening/closing the AI drawer with keyboard shortcut
|
|
13
|
+
* Uses the store directly if no ref is provided
|
|
14
|
+
*/
|
|
15
|
+
export declare function useAiDrawerShortcut(drawerRef?: Ref<boolean>): {
|
|
16
|
+
isActive: Ref<boolean, boolean>;
|
|
13
17
|
};
|
|
14
18
|
//# sourceMappingURL=useKeyboardShortcut.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKeyboardShortcut.d.ts","sourceRoot":"","sources":["../../src/composables/useKeyboardShortcut.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useKeyboardShortcut.d.ts","sourceRoot":"","sources":["../../src/composables/useKeyboardShortcut.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAI3D,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AA8CD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,0BAA0B;;EAmDtE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;;EAa3D"}
|