inl-ui 0.1.120 → 0.1.121-mtapi
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.cjs +33 -32
- package/dist/components/index.js +33 -32
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +43 -42
- package/dist/index.d.ts +1 -1
- package/dist/index.js +43 -42
- package/dist/tplib/index.cjs +9 -9
- package/dist/tplib/index.js +9 -9
- package/dist/utils/index.cjs +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/video/index.cjs +12 -12
- package/dist/video/index.js +12 -12
- package/package.json +1 -1
package/dist/video/index.js
CHANGED
|
@@ -6143,7 +6143,7 @@ const VideoBox = defineComponent({
|
|
|
6143
6143
|
}]];
|
|
6144
6144
|
const infos = ref([]);
|
|
6145
6145
|
const videoMove = async direction => {
|
|
6146
|
-
await axios$2.get("/
|
|
6146
|
+
await axios$2.get("/mtapi/vms/v1/control/hik/control", {
|
|
6147
6147
|
params: {
|
|
6148
6148
|
cameraUuid: _prop.camera,
|
|
6149
6149
|
command: direction
|
|
@@ -6158,7 +6158,7 @@ const VideoBox = defineComponent({
|
|
|
6158
6158
|
const arr = infos.value.map(info => {
|
|
6159
6159
|
return {};
|
|
6160
6160
|
});
|
|
6161
|
-
const res = await axios$2.get("/
|
|
6161
|
+
const res = await axios$2.get("/mtapi/vms/v1/camera/getThingDevice", {
|
|
6162
6162
|
params: {
|
|
6163
6163
|
cameraUuid: uuid
|
|
6164
6164
|
},
|
|
@@ -6174,7 +6174,7 @@ const VideoBox = defineComponent({
|
|
|
6174
6174
|
};
|
|
6175
6175
|
const camera = ref({});
|
|
6176
6176
|
const getVideoDetail = async val => {
|
|
6177
|
-
const res = await axios$2.get(`/
|
|
6177
|
+
const res = await axios$2.get(`/mtapi/vms/v1/camera/getByUuid?uuid=${val}`, {
|
|
6178
6178
|
headers: {
|
|
6179
6179
|
token: sessionStorage.getItem("token") || ""
|
|
6180
6180
|
}
|
|
@@ -6205,7 +6205,7 @@ const VideoBox = defineComponent({
|
|
|
6205
6205
|
immediate: true
|
|
6206
6206
|
});
|
|
6207
6207
|
const changeStream = async code => {
|
|
6208
|
-
const res = await axios$2.get(`/
|
|
6208
|
+
const res = await axios$2.get(`/mtapi/vms/v1/camera/getWebrtcUrls`, {
|
|
6209
6209
|
headers: {
|
|
6210
6210
|
token: sessionStorage.getItem("token") || ""
|
|
6211
6211
|
},
|
|
@@ -6436,7 +6436,7 @@ var Tree = defineComponent({
|
|
|
6436
6436
|
});
|
|
6437
6437
|
const getQueryGroup = async params => {
|
|
6438
6438
|
return new Promise(async resolve => {
|
|
6439
|
-
const res = await axios$2.get("/
|
|
6439
|
+
const res = await axios$2.get("/mtapi/vms/v1/cameraGroup/tree", {
|
|
6440
6440
|
headers: {
|
|
6441
6441
|
token: sessionStorage.getItem("token") || ""
|
|
6442
6442
|
},
|
|
@@ -6454,7 +6454,7 @@ var Tree = defineComponent({
|
|
|
6454
6454
|
};
|
|
6455
6455
|
const getGroup = async () => {
|
|
6456
6456
|
return new Promise(async resolve => {
|
|
6457
|
-
const res = await axios$2.get("/
|
|
6457
|
+
const res = await axios$2.get("/mtapi/vms/v1/cameraGroupType/findAll", {
|
|
6458
6458
|
headers: {
|
|
6459
6459
|
token: sessionStorage.getItem("token") || ""
|
|
6460
6460
|
}
|
|
@@ -6730,7 +6730,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
6730
6730
|
showInfo.value = _prop.showInfo;
|
|
6731
6731
|
});
|
|
6732
6732
|
const videoMove = async direction => {
|
|
6733
|
-
await axios$2.get("/
|
|
6733
|
+
await axios$2.get("/mtapi/vms/v1/control/hik/control", {
|
|
6734
6734
|
params: {
|
|
6735
6735
|
cameraUuid: _prop.camera,
|
|
6736
6736
|
command: direction
|
|
@@ -6755,7 +6755,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
6755
6755
|
if (tcpcArr.length === 0) {
|
|
6756
6756
|
return;
|
|
6757
6757
|
}
|
|
6758
|
-
const res = await axios$2.post("/
|
|
6758
|
+
const res = await axios$2.post("/mtapi/mtip/thing/v2/thingClient/getPropertiesValueById", tcpcArr, {
|
|
6759
6759
|
headers: {
|
|
6760
6760
|
token: sessionStorage.getItem("token")
|
|
6761
6761
|
}
|
|
@@ -6776,7 +6776,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
6776
6776
|
const arr = infos.value.map(info => {
|
|
6777
6777
|
return {};
|
|
6778
6778
|
});
|
|
6779
|
-
const res = await axios$2.post("/
|
|
6779
|
+
const res = await axios$2.post("/mtapi/vms/v1/cameraRelThing/getByParam", {
|
|
6780
6780
|
cameraUuid: uuid2
|
|
6781
6781
|
}, {
|
|
6782
6782
|
headers: {
|
|
@@ -6796,7 +6796,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
6796
6796
|
};
|
|
6797
6797
|
const camera = ref({});
|
|
6798
6798
|
const getVideoDetail = async val => {
|
|
6799
|
-
const res = await axios$2.get(`/
|
|
6799
|
+
const res = await axios$2.get(`/mtapi/vms/v1/camera/getByUuid?uuid=${val}`, {
|
|
6800
6800
|
headers: {
|
|
6801
6801
|
token: sessionStorage.getItem("token") || ""
|
|
6802
6802
|
}
|
|
@@ -6913,7 +6913,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
6913
6913
|
immediate: true
|
|
6914
6914
|
});
|
|
6915
6915
|
const changeStream = async code => {
|
|
6916
|
-
const res = await axios$2.get(`/
|
|
6916
|
+
const res = await axios$2.get(`/mtapi/vms/v1/camera/getWebrtcUrls`, {
|
|
6917
6917
|
headers: {
|
|
6918
6918
|
token: sessionStorage.getItem("token") || ""
|
|
6919
6919
|
},
|
|
@@ -7520,7 +7520,7 @@ const VideoPlayerV1 = defineComponent({
|
|
|
7520
7520
|
videoInfo2.value = camera;
|
|
7521
7521
|
init();
|
|
7522
7522
|
} else if (camera && typeof camera === "string") {
|
|
7523
|
-
const res = await axios$2.post(`/
|
|
7523
|
+
const res = await axios$2.post(`/mtapi/sfvideo/v1/camera/getCameraByCameraId`, {
|
|
7524
7524
|
id: camera
|
|
7525
7525
|
}, {
|
|
7526
7526
|
headers: {
|