|
@@ -20,6 +20,7 @@ export enum DisabledCom {
|
|
floors = "floors",
|
|
floors = "floors",
|
|
lmenu = "lmenu",
|
|
lmenu = "lmenu",
|
|
autoLeave = "autoLeave",
|
|
autoLeave = "autoLeave",
|
|
|
|
+ Mode = 'mode'
|
|
}
|
|
}
|
|
|
|
|
|
export const searchDisabledStack = stackFactory(ref(false));
|
|
export const searchDisabledStack = stackFactory(ref(false));
|
|
@@ -39,6 +40,7 @@ export const toolDisabled = stackFactory(ref(false));
|
|
export const floorsDisabled = stackFactory(ref(false));
|
|
export const floorsDisabled = stackFactory(ref(false));
|
|
export const lmenuDisabled = stackFactory(ref(false));
|
|
export const lmenuDisabled = stackFactory(ref(false));
|
|
export const autoLeaveDisabled = stackFactory(ref(false));
|
|
export const autoLeaveDisabled = stackFactory(ref(false));
|
|
|
|
+export const modeDisabled = stackFactory(ref(false));
|
|
|
|
|
|
export const disabledMapStack = {
|
|
export const disabledMapStack = {
|
|
[DisabledCom.Search]: searchDisabledStack,
|
|
[DisabledCom.Search]: searchDisabledStack,
|
|
@@ -59,6 +61,7 @@ export const disabledMapStack = {
|
|
[DisabledCom.floors]: floorsDisabled,
|
|
[DisabledCom.floors]: floorsDisabled,
|
|
[DisabledCom.lmenu]: lmenuDisabled,
|
|
[DisabledCom.lmenu]: lmenuDisabled,
|
|
[DisabledCom.autoLeave]: autoLeaveDisabled,
|
|
[DisabledCom.autoLeave]: autoLeaveDisabled,
|
|
|
|
+ [DisabledCom.Mode]: modeDisabled,
|
|
} as { [key in DisabledCom]: Stack<Ref<boolean>> };
|
|
} as { [key in DisabledCom]: Stack<Ref<boolean>> };
|
|
|
|
|
|
export type DisabledMapStack = typeof disabledMapStack;
|
|
export type DisabledMapStack = typeof disabledMapStack;
|