|
@@ -2,6 +2,7 @@ import { Mode, PointInfo, Pos } from "@/sdk/types";
|
|
|
import { stackFactory, Stack, fastStacksValue, os } from "@/utils/vue";
|
|
|
import { Ref, ref } from "vue";
|
|
|
import {FixPoint} from "@/store/fixPoint";
|
|
|
+import {BasePoint} from "@/store/basePoint";
|
|
|
|
|
|
export enum DisabledCom {
|
|
|
Search = "search",
|
|
@@ -79,6 +80,7 @@ export enum CustomCom {
|
|
|
MagnifierMode = "magnifier",
|
|
|
CustomMouseMenu = "cMoseMenu",
|
|
|
ActiveFixPoint = "activeFixPoint",
|
|
|
+ ActiveBasePoint = "activeBasePoint",
|
|
|
ResidenMouseMenu = "rMouseMenu",
|
|
|
CarryView = "carryView",
|
|
|
SysView = "sysView",
|
|
@@ -126,12 +128,14 @@ export const boxWidthStack = stackFactory(
|
|
|
export const autoSysViewLeftStack = stackFactory(ref<string>("70px"));
|
|
|
export const controlFullStack = stackFactory(ref<boolean>(false));
|
|
|
export const activeFixPointStack = stackFactory(ref<FixPoint>());
|
|
|
+export const activeBasePointStack = stackFactory(ref<BasePoint>());
|
|
|
|
|
|
export const customMapStack = {
|
|
|
[CustomCom.LaserMode]: laserModeStack,
|
|
|
[CustomCom.FullView]: fullViewStack,
|
|
|
[CustomCom.SpiltView]: spiltViewModeStack,
|
|
|
[CustomCom.ActiveFixPoint]: activeFixPointStack,
|
|
|
+ [CustomCom.ActiveBasePoint]: activeBasePointStack,
|
|
|
[CustomCom.MagnifierMode]: magnifierModeStack,
|
|
|
[CustomCom.ResidenMouseMenu]: residenMouseMenuStack,
|
|
|
[CustomCom.CustomMouseMenu]: customMouseMenuStack,
|