Antares is an SQL client that aims to become an useful and complete tool, especially for developers.
15 |The main goal is to develop a totally free, full featured, cross platform and open source alternative. 16 | A modern application created with minimalism and semplicity in mind, with features in the right places, not hundreds of tiny buttons, nested tabs or submenu; productivity comes first.
17 |Supported database:
18 |7 | {{ t('application.noOpenTabs') }} 8 |
9 |4 | {{ t('database.thereAreNoTableFields') }} 5 |
6 |${sk}
`
37 | )))
38 | .join('+')
39 | .replaceAll('CommandOrControl', isMacOS ? 'Command' : 'Control')
40 | ).join(', ');
41 | };
42 |
43 | return {
44 | cutText,
45 | formatDate,
46 | wrapNumber,
47 | lastPart,
48 | localeString,
49 | parseKeys
50 | };
51 | }
52 |
--------------------------------------------------------------------------------
/src/renderer/composables/useFocusTrap.ts:
--------------------------------------------------------------------------------
1 | import { customRef, ref } from 'vue';
2 |
3 | const focusableElementsSelector =
4 | 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])';
5 |
6 | const useFocusTrap = (args?: {disableAutofocus?: boolean}) => {
7 | let localArgs = {
8 | disableAutofocus: false
9 | };
10 |
11 | if (args) {
12 | localArgs = {
13 | ...localArgs,
14 | ...args
15 | };
16 | }
17 |
18 | let focusableElements: NodeListOf