2021-04-13 13:32:59 +12:00
|
|
|
import { GetterTree } from "vuex"
|
|
|
|
import { StateInterface } from "../index"
|
|
|
|
import { FloatingWindowsStateInteface } from "./state"
|
|
|
|
|
|
|
|
const getters: GetterTree<FloatingWindowsStateInteface, StateInterface> = {
|
|
|
|
getAdvSearchWindowVisible (context) {
|
|
|
|
return context.advSearchWindowVisible
|
2021-05-02 02:31:33 +12:00
|
|
|
},
|
2021-06-07 12:57:36 +12:00
|
|
|
getNoteCorkboardWindowVisible (context) {
|
2021-05-02 02:31:33 +12:00
|
|
|
return context.noteCorkboardWindowVisible
|
2021-06-07 12:57:36 +12:00
|
|
|
},
|
|
|
|
getDocumentPreviewVisible (context) {
|
|
|
|
return context.documentPreviewVisible
|
|
|
|
},
|
|
|
|
getDocumentPreviewWindowID (context) {
|
|
|
|
return context.documentPreviewWindowID
|
2021-04-13 13:32:59 +12:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default getters
|