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,22 @@
// Ported from legacy henza_pwa/src/store/windowData.ts.
import { defineStore } from 'pinia'
interface WindowDataState {
width: number
pullingDown: boolean
}
export const useWindowDataStore = defineStore('windowData', {
state: (): WindowDataState => ({
width: 0,
pullingDown: false,
}),
actions: {
setWidth(width: number) {
this.width = width
},
setPullingDown(pulling: boolean) {
this.pullingDown = pulling
},
},
})