import { TUIStore, StoreName, NAME } from '../../TUICallService';
import { reactive, ref } from '../../adapter-vue';

export type TFloatWindowContextValue = {
  isFloatWindow: boolean,
};
const isFloatWindow = ref(TUIStore.getData(StoreName.CALL, NAME.IS_MINIMIZED));

export const floatWindowContextValue: TFloatWindowContextValue = reactive({ isFloatWindow });
export const FloatWindowContextKey = 'FloatWindowContextKey';
