nicecode-v2/packages/hooks/lib/useJump/constants.js
2024-01-10 15:15:12 +08:00

62 lines
1.6 KiB
JavaScript

var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/useJump/constants.ts
var constants_exports = {};
__export(constants_exports, {
JumpKey: () => JumpKey,
TYPE: () => TYPE
});
module.exports = __toCommonJS(constants_exports);
var JumpKey = "ROUTER-JUMP";
var TYPE = {
OFFLINE: 1,
HISTORY: 2,
OFFLINE_JUMP: 3,
HISTORY_JUMP: 4,
MONITOR_DETAIL_JUMP: 5,
VIDEOGROUP: 6,
//跳到回溯
VIDEOGROUP_JUMP: 7,
UNKNOW_JUMP: 8,
//未实现
MONITOR_MAP_JUMP: 9,
SEARCH: 10,
//检索界面
CURRENT_SEARCH: 11,
//
TAG_CAMERA: 12,
//预案
//智能追踪两种方式
TRACK_IMAGE: 13,
//跳到追踪上传图片
TRACK_CAMERA: 14,
//跳到追踪选择摄像头
PEER_ANALYSIS: 15,
//同行人分析
BASELINE_TASKS: 16,
//线索摸排
JOINTASK: 17
//路人库任务
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
JumpKey,
TYPE
});