This commit is contained in:
mohadese namavar
2024-06-16 00:22:14 +04:30
commit ec84dfd222
322 changed files with 77942 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
import MiniMenu from '../components/app/desktop/header/MiniMenu.vue'
import CartList from '../components/app/desktop/header/cart/List.vue'
export default () => {
const { t } = useI18n()
return reactive({
btns: {
login: {
props: {
label: t("registerOrLogin"),
icon: "isax isax-login",
iconPos: "right",
}
},
logged: {
account: {
props: {
label: t("userAccount"),
icon: "isax isax-user",
iconPos: "right",
severity: "secondary",
outlined: true,
},
component: MiniMenu
},
cart: {
props: {
icon: "isax isax-shopping-cart",
severity: "secondary",
badge: computed(() => useCartStore().count),
disabled: computed(() => useCartStore().count < 1),
outlined: true,
},
component: CartList
},
},
}
})
}