mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-11 17:50:39 +01:00
1 line
1.7 KiB
Plaintext
1 line
1.7 KiB
Plaintext
|
{"version":3,"file":"SettingTabs-CcdxaQB3.js","sources":["../../../resources/js/layouts/SettingTabs.vue"],"sourcesContent":["<script setup>\n const tabs = ref([\n {\n 'name' : 'settings.options',\n 'view' : 'settings.options',\n 'id' : 'lnkTabOptions'\n },\n {\n 'name' : 'settings.account',\n 'view' : 'settings.account',\n 'id' : 'lnkTabAccount'\n },\n {\n 'name' : 'settings.oauth',\n 'view' : 'settings.oauth.tokens',\n 'id' : 'lnkTabOAuth'\n },\n {\n 'name' : 'settings.webauthn',\n 'view' : 'settings.webauthn.devices',\n 'id' : 'lnkTabWebauthn'\n },\n ])\n\n const props = defineProps({\n activeTab: {\n type: String,\n default: ''\n },\n })\n</script>\n\n<template>\n <div class=\"options-header\">\n <ResponsiveWidthWrapper>\n <div class=\"tabs is-centered is-fullwidth\">\n <ul>\n <li v-for=\"tab in tabs\" :key=\"tab.view\" :class=\"{ 'is-active': tab.view === props.activeTab }\">\n <RouterLink :id=\"tab.id\" :to=\"{ name: tab.view }\">{{ $t(tab.name) }}</RouterLink>\n </li>\n </ul>\n </div>\n </ResponsiveWidthWrapper>\n </div>\n</template>"],"names":["tabs","ref","props","__props"],"mappings":"yWACI,MAAMA,EAAOC,EAAI,CACb,CACI,KAAS,mBACT,KAAS,mBACT,GAAS,eACZ,EACD,CACI,KAAS,mBACT,KAAS,mBACT,GAAS,eACZ,EACD,CACI,KAAS,iBACT,KAAS,wBACT,GAAS,aACZ,EACD,CACI,KAAS,oBACT,KAAS,4BACT,GAAS,gBACZ,CACJ,CAAA,EAEKC,EAAQC"}
|