Files
vuefilemanager/public/js/chunks/app-settings.js
2022-02-01 11:36:25 +01:00

1 line
2.0 KiB
JavaScript
Vendored

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4738],{9635:(t,e,a)=>{a.d(e,{Z:()=>r});const n={name:"CardNavigation",props:["pages"],computed:{routeName:function(){return this.$route.name}},data:function(){return{fixedNav:!1}},created:function(){var t=this;window.addEventListener("scroll",(function(){var e=document.getElementById("card-navigation");t.fixedNav=e.getBoundingClientRect().top<0}))}};const r=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mb-7",staticStyle:{height:"62px"},attrs:{id:"card-navigation"}},[a("div",{class:{"fixed top-0 left-0 right-0 px-6 rounded-none backdrop-filter backdrop-blur-lg dark:bg-dark-foreground bg-white bg-opacity-50 z-10":t.fixedNav}},[a("div",{staticClass:"whitespace-nowrap overflow-x-auto"},t._l(t.pages,(function(e,n){return a("router-link",{key:n,staticClass:"inline-block text-sm font-bold px-4 py-5 border-b-2 border-transparent border-bottom-theme",class:{"text-theme":t.routeName===e.route,"dark:text-gray-100 text-gray-600":t.routeName!==e.route},attrs:{to:{name:e.route},replace:""}},[t._v("\n\t\t\t\t"+t._s(e.title)+"\n\t\t\t")])})),1)])])}),[],!1,null,null,null).exports},8661:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});const n={name:"AppSettings",components:{CardNavigation:a(9635).Z},data:function(){return{pages:[{title:this.$t("admin_settings.tabs.others"),route:"AppOthers"},{title:this.$t("Login & Registration"),route:"AppSignInUp"},{title:this.$t("admin_settings.tabs.appearance"),route:"AppAppearance"},{title:this.$t("Homepage"),route:"AppIndex"},{title:this.$t("admin_settings.tabs.email"),route:"AppEmail"}]}},mounted:function(){this.$router.push({name:"AppOthers"})}};const r=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"card shadow-card z-10",staticStyle:{"padding-bottom":"0","padding-top":"0"}},[a("CardNavigation",{staticClass:"-mx-1",attrs:{pages:t.pages}})],1),t._v(" "),a("router-view")],1)}),[],!1,null,null,null).exports}}]);