feat: initial commit

This commit is contained in:
s.esmaeili
2026-09-09 06:46:27 +03:30
commit 0ed6bed028
214 changed files with 20177 additions and 0 deletions
@@ -0,0 +1,27 @@
// Ported from legacy henza_pwa/src/store/transitionStore.ts.
import { defineStore } from 'pinia'
interface TransitionState {
transitionFlag: boolean
transitionEnded: boolean
headerHeight: number
}
export const useTransitionStore = defineStore('transition', {
state: (): TransitionState => ({
transitionFlag: true,
transitionEnded: true,
headerHeight: 0,
}),
actions: {
setTransitionFlag(transitionFlag: boolean) {
this.transitionFlag = transitionFlag
},
setTransitionEnded(transitionEnded: boolean) {
this.transitionEnded = transitionEnded
},
setHeaderHeight(height: number) {
this.headerHeight = height
},
},
})