|
|
|
@ -1,12 +1,9 @@ |
|
|
|
import { ref, unref } from 'vue'; |
|
|
|
import { ref, unref } from "vue"; |
|
|
|
|
|
|
|
import { DEFAULT_TIME_ZONE_OPTIONS } from '@vben-core/preferences'; |
|
|
|
import { |
|
|
|
getCurrentTimezone, |
|
|
|
setCurrentTimezone, |
|
|
|
} from '@vben-core/shared/utils'; |
|
|
|
import { DEFAULT_TIME_ZONE_OPTIONS } from "@vben-core/preferences"; |
|
|
|
import { getCurrentTimezone, setCurrentTimezone } from "@vben-core/shared/utils"; |
|
|
|
|
|
|
|
import { acceptHMRUpdate, defineStore } from 'pinia'; |
|
|
|
import { acceptHMRUpdate, defineStore } from "pinia"; |
|
|
|
|
|
|
|
interface TimezoneHandler { |
|
|
|
getTimezone?: () => Promise<null | string | undefined>; |
|
|
|
|