inl-ui 0.1.2 → 0.1.3
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 +5 -28
- package/dist/components/index.js +5 -28
- package/dist/index.cjs +6 -29
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -29
- package/dist/video/index.cjs +5 -28
- package/dist/video/index.js +5 -28
- package/package.json +2 -2
|
@@ -7992,6 +7992,9 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
7992
7992
|
token: sessionStorage.getItem("token")
|
|
7993
7993
|
}
|
|
7994
7994
|
});
|
|
7995
|
+
setTimeout(() => {
|
|
7996
|
+
getThingValue();
|
|
7997
|
+
}, 3e3);
|
|
7995
7998
|
infos.value.forEach(info => {
|
|
7996
7999
|
if (info.thingDeviceId) {
|
|
7997
8000
|
const obj = res.data.data?.shift();
|
|
@@ -8052,12 +8055,7 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
8052
8055
|
clearInterval(interval);
|
|
8053
8056
|
clearInterval(intervalSet);
|
|
8054
8057
|
getVideoParams(val);
|
|
8055
|
-
intervalSet = setInterval(() => {
|
|
8056
|
-
getVideoParams(val);
|
|
8057
|
-
}, 1800 * 1e3);
|
|
8058
|
-
interval = setInterval(() => {
|
|
8059
|
-
getThingValue();
|
|
8060
|
-
}, 3e3);
|
|
8058
|
+
intervalSet = setInterval(() => {}, 1800 * 1e3);
|
|
8061
8059
|
getVideoDetail(val);
|
|
8062
8060
|
const fillVal = localStorage.getItem(val);
|
|
8063
8061
|
if (fillVal) {
|
|
@@ -8338,28 +8336,7 @@ const PollingPlay = vue.defineComponent({
|
|
|
8338
8336
|
});
|
|
8339
8337
|
const alarmList = vue.ref([]);
|
|
8340
8338
|
const getAlarm = async () => {
|
|
8341
|
-
|
|
8342
|
-
instanceCodeList: data.pointList,
|
|
8343
|
-
relationCodeList: ["DEVICE_MT"],
|
|
8344
|
-
targetProperetyCodeList: ["ALARM"]
|
|
8345
|
-
}, {
|
|
8346
|
-
headers: {
|
|
8347
|
-
token: sessionStorage.getItem("token") || ""
|
|
8348
|
-
}
|
|
8349
|
-
});
|
|
8350
|
-
data.pointList.forEach((uuid, index) => {
|
|
8351
|
-
const alarmConfig = res.data?.data?.[uuid];
|
|
8352
|
-
if (alarmConfig?.length && alarmConfig?.length !== 0) {
|
|
8353
|
-
const have = alarmConfig.find(element => element.alarmDTO?.alarmId);
|
|
8354
|
-
if (have) {
|
|
8355
|
-
alarmList.value[index] = true;
|
|
8356
|
-
} else {
|
|
8357
|
-
alarmList.value[index] = false;
|
|
8358
|
-
}
|
|
8359
|
-
} else {
|
|
8360
|
-
alarmList.value[index] = false;
|
|
8361
|
-
}
|
|
8362
|
-
});
|
|
8339
|
+
return;
|
|
8363
8340
|
};
|
|
8364
8341
|
return () => vue.createVNode("div", {
|
|
8365
8342
|
"class": "playVideos"
|
package/dist/components/index.js
CHANGED
|
@@ -7982,6 +7982,9 @@ const VideoBoxV2 = defineComponent({
|
|
|
7982
7982
|
token: sessionStorage.getItem("token")
|
|
7983
7983
|
}
|
|
7984
7984
|
});
|
|
7985
|
+
setTimeout(() => {
|
|
7986
|
+
getThingValue();
|
|
7987
|
+
}, 3e3);
|
|
7985
7988
|
infos.value.forEach(info => {
|
|
7986
7989
|
if (info.thingDeviceId) {
|
|
7987
7990
|
const obj = res.data.data?.shift();
|
|
@@ -8042,12 +8045,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
8042
8045
|
clearInterval(interval);
|
|
8043
8046
|
clearInterval(intervalSet);
|
|
8044
8047
|
getVideoParams(val);
|
|
8045
|
-
intervalSet = setInterval(() => {
|
|
8046
|
-
getVideoParams(val);
|
|
8047
|
-
}, 1800 * 1e3);
|
|
8048
|
-
interval = setInterval(() => {
|
|
8049
|
-
getThingValue();
|
|
8050
|
-
}, 3e3);
|
|
8048
|
+
intervalSet = setInterval(() => {}, 1800 * 1e3);
|
|
8051
8049
|
getVideoDetail(val);
|
|
8052
8050
|
const fillVal = localStorage.getItem(val);
|
|
8053
8051
|
if (fillVal) {
|
|
@@ -8328,28 +8326,7 @@ const PollingPlay = defineComponent({
|
|
|
8328
8326
|
});
|
|
8329
8327
|
const alarmList = ref([]);
|
|
8330
8328
|
const getAlarm = async () => {
|
|
8331
|
-
|
|
8332
|
-
instanceCodeList: data.pointList,
|
|
8333
|
-
relationCodeList: ["DEVICE_MT"],
|
|
8334
|
-
targetProperetyCodeList: ["ALARM"]
|
|
8335
|
-
}, {
|
|
8336
|
-
headers: {
|
|
8337
|
-
token: sessionStorage.getItem("token") || ""
|
|
8338
|
-
}
|
|
8339
|
-
});
|
|
8340
|
-
data.pointList.forEach((uuid, index) => {
|
|
8341
|
-
const alarmConfig = res.data?.data?.[uuid];
|
|
8342
|
-
if (alarmConfig?.length && alarmConfig?.length !== 0) {
|
|
8343
|
-
const have = alarmConfig.find(element => element.alarmDTO?.alarmId);
|
|
8344
|
-
if (have) {
|
|
8345
|
-
alarmList.value[index] = true;
|
|
8346
|
-
} else {
|
|
8347
|
-
alarmList.value[index] = false;
|
|
8348
|
-
}
|
|
8349
|
-
} else {
|
|
8350
|
-
alarmList.value[index] = false;
|
|
8351
|
-
}
|
|
8352
|
-
});
|
|
8329
|
+
return;
|
|
8353
8330
|
};
|
|
8354
8331
|
return () => createVNode("div", {
|
|
8355
8332
|
"class": "playVideos"
|
package/dist/index.cjs
CHANGED
|
@@ -43,7 +43,7 @@ var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
|
43
43
|
var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
44
44
|
var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
|
|
45
45
|
|
|
46
|
-
var version = "0.1.
|
|
46
|
+
var version = "0.1.2";
|
|
47
47
|
|
|
48
48
|
const setTheme = theme => {
|
|
49
49
|
if (theme === "dark") {
|
|
@@ -8997,6 +8997,9 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
8997
8997
|
token: sessionStorage.getItem("token")
|
|
8998
8998
|
}
|
|
8999
8999
|
});
|
|
9000
|
+
setTimeout(() => {
|
|
9001
|
+
getThingValue();
|
|
9002
|
+
}, 3e3);
|
|
9000
9003
|
infos.value.forEach(info => {
|
|
9001
9004
|
if (info.thingDeviceId) {
|
|
9002
9005
|
const obj = res.data.data?.shift();
|
|
@@ -9057,12 +9060,7 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
9057
9060
|
clearInterval(interval);
|
|
9058
9061
|
clearInterval(intervalSet);
|
|
9059
9062
|
getVideoParams(val);
|
|
9060
|
-
intervalSet = setInterval(() => {
|
|
9061
|
-
getVideoParams(val);
|
|
9062
|
-
}, 1800 * 1e3);
|
|
9063
|
-
interval = setInterval(() => {
|
|
9064
|
-
getThingValue();
|
|
9065
|
-
}, 3e3);
|
|
9063
|
+
intervalSet = setInterval(() => {}, 1800 * 1e3);
|
|
9066
9064
|
getVideoDetail(val);
|
|
9067
9065
|
const fillVal = localStorage.getItem(val);
|
|
9068
9066
|
if (fillVal) {
|
|
@@ -9343,28 +9341,7 @@ const PollingPlay = vue.defineComponent({
|
|
|
9343
9341
|
});
|
|
9344
9342
|
const alarmList = vue.ref([]);
|
|
9345
9343
|
const getAlarm = async () => {
|
|
9346
|
-
|
|
9347
|
-
instanceCodeList: data.pointList,
|
|
9348
|
-
relationCodeList: ["DEVICE_MT"],
|
|
9349
|
-
targetProperetyCodeList: ["ALARM"]
|
|
9350
|
-
}, {
|
|
9351
|
-
headers: {
|
|
9352
|
-
token: sessionStorage.getItem("token") || ""
|
|
9353
|
-
}
|
|
9354
|
-
});
|
|
9355
|
-
data.pointList.forEach((uuid, index) => {
|
|
9356
|
-
const alarmConfig = res.data?.data?.[uuid];
|
|
9357
|
-
if (alarmConfig?.length && alarmConfig?.length !== 0) {
|
|
9358
|
-
const have = alarmConfig.find(element => element.alarmDTO?.alarmId);
|
|
9359
|
-
if (have) {
|
|
9360
|
-
alarmList.value[index] = true;
|
|
9361
|
-
} else {
|
|
9362
|
-
alarmList.value[index] = false;
|
|
9363
|
-
}
|
|
9364
|
-
} else {
|
|
9365
|
-
alarmList.value[index] = false;
|
|
9366
|
-
}
|
|
9367
|
-
});
|
|
9344
|
+
return;
|
|
9368
9345
|
};
|
|
9369
9346
|
return () => vue.createVNode("div", {
|
|
9370
9347
|
"class": "playVideos"
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { Key } from 'ant-design-vue/lib/table/interface';
|
|
|
11
11
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
12
12
|
import * as _ant_design_icons_vue_lib_components_IconFont from '@ant-design/icons-vue/lib/components/IconFont';
|
|
13
13
|
|
|
14
|
-
var version = "0.1.
|
|
14
|
+
var version = "0.1.2";
|
|
15
15
|
|
|
16
16
|
declare const _default$o: {
|
|
17
17
|
set(theme: string): void;
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { XPopup, CommentBlock, setAxiosOption } from '@sszj-temp/mobile';
|
|
|
13
13
|
import { marked } from 'marked';
|
|
14
14
|
import '@sszj-temp/mobile/style.css';
|
|
15
15
|
|
|
16
|
-
var version = "0.1.
|
|
16
|
+
var version = "0.1.2";
|
|
17
17
|
|
|
18
18
|
const setTheme = theme => {
|
|
19
19
|
if (theme === "dark") {
|
|
@@ -8967,6 +8967,9 @@ const VideoBoxV2 = defineComponent({
|
|
|
8967
8967
|
token: sessionStorage.getItem("token")
|
|
8968
8968
|
}
|
|
8969
8969
|
});
|
|
8970
|
+
setTimeout(() => {
|
|
8971
|
+
getThingValue();
|
|
8972
|
+
}, 3e3);
|
|
8970
8973
|
infos.value.forEach(info => {
|
|
8971
8974
|
if (info.thingDeviceId) {
|
|
8972
8975
|
const obj = res.data.data?.shift();
|
|
@@ -9027,12 +9030,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
9027
9030
|
clearInterval(interval);
|
|
9028
9031
|
clearInterval(intervalSet);
|
|
9029
9032
|
getVideoParams(val);
|
|
9030
|
-
intervalSet = setInterval(() => {
|
|
9031
|
-
getVideoParams(val);
|
|
9032
|
-
}, 1800 * 1e3);
|
|
9033
|
-
interval = setInterval(() => {
|
|
9034
|
-
getThingValue();
|
|
9035
|
-
}, 3e3);
|
|
9033
|
+
intervalSet = setInterval(() => {}, 1800 * 1e3);
|
|
9036
9034
|
getVideoDetail(val);
|
|
9037
9035
|
const fillVal = localStorage.getItem(val);
|
|
9038
9036
|
if (fillVal) {
|
|
@@ -9313,28 +9311,7 @@ const PollingPlay = defineComponent({
|
|
|
9313
9311
|
});
|
|
9314
9312
|
const alarmList = ref([]);
|
|
9315
9313
|
const getAlarm = async () => {
|
|
9316
|
-
|
|
9317
|
-
instanceCodeList: data.pointList,
|
|
9318
|
-
relationCodeList: ["DEVICE_MT"],
|
|
9319
|
-
targetProperetyCodeList: ["ALARM"]
|
|
9320
|
-
}, {
|
|
9321
|
-
headers: {
|
|
9322
|
-
token: sessionStorage.getItem("token") || ""
|
|
9323
|
-
}
|
|
9324
|
-
});
|
|
9325
|
-
data.pointList.forEach((uuid, index) => {
|
|
9326
|
-
const alarmConfig = res.data?.data?.[uuid];
|
|
9327
|
-
if (alarmConfig?.length && alarmConfig?.length !== 0) {
|
|
9328
|
-
const have = alarmConfig.find(element => element.alarmDTO?.alarmId);
|
|
9329
|
-
if (have) {
|
|
9330
|
-
alarmList.value[index] = true;
|
|
9331
|
-
} else {
|
|
9332
|
-
alarmList.value[index] = false;
|
|
9333
|
-
}
|
|
9334
|
-
} else {
|
|
9335
|
-
alarmList.value[index] = false;
|
|
9336
|
-
}
|
|
9337
|
-
});
|
|
9314
|
+
return;
|
|
9338
9315
|
};
|
|
9339
9316
|
return () => createVNode("div", {
|
|
9340
9317
|
"class": "playVideos"
|
package/dist/video/index.cjs
CHANGED
|
@@ -5185,6 +5185,9 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
5185
5185
|
token: sessionStorage.getItem("token")
|
|
5186
5186
|
}
|
|
5187
5187
|
});
|
|
5188
|
+
setTimeout(() => {
|
|
5189
|
+
getThingValue();
|
|
5190
|
+
}, 3e3);
|
|
5188
5191
|
infos.value.forEach(info => {
|
|
5189
5192
|
if (info.thingDeviceId) {
|
|
5190
5193
|
const obj = res.data.data?.shift();
|
|
@@ -5245,12 +5248,7 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
5245
5248
|
clearInterval(interval);
|
|
5246
5249
|
clearInterval(intervalSet);
|
|
5247
5250
|
getVideoParams(val);
|
|
5248
|
-
intervalSet = setInterval(() => {
|
|
5249
|
-
getVideoParams(val);
|
|
5250
|
-
}, 1800 * 1e3);
|
|
5251
|
-
interval = setInterval(() => {
|
|
5252
|
-
getThingValue();
|
|
5253
|
-
}, 3e3);
|
|
5251
|
+
intervalSet = setInterval(() => {}, 1800 * 1e3);
|
|
5254
5252
|
getVideoDetail(val);
|
|
5255
5253
|
const fillVal = localStorage.getItem(val);
|
|
5256
5254
|
if (fillVal) {
|
|
@@ -5531,28 +5529,7 @@ const PollingPlay = vue.defineComponent({
|
|
|
5531
5529
|
});
|
|
5532
5530
|
const alarmList = vue.ref([]);
|
|
5533
5531
|
const getAlarm = async () => {
|
|
5534
|
-
|
|
5535
|
-
instanceCodeList: data.pointList,
|
|
5536
|
-
relationCodeList: ["DEVICE_MT"],
|
|
5537
|
-
targetProperetyCodeList: ["ALARM"]
|
|
5538
|
-
}, {
|
|
5539
|
-
headers: {
|
|
5540
|
-
token: sessionStorage.getItem("token") || ""
|
|
5541
|
-
}
|
|
5542
|
-
});
|
|
5543
|
-
data.pointList.forEach((uuid, index) => {
|
|
5544
|
-
const alarmConfig = res.data?.data?.[uuid];
|
|
5545
|
-
if (alarmConfig?.length && alarmConfig?.length !== 0) {
|
|
5546
|
-
const have = alarmConfig.find(element => element.alarmDTO?.alarmId);
|
|
5547
|
-
if (have) {
|
|
5548
|
-
alarmList.value[index] = true;
|
|
5549
|
-
} else {
|
|
5550
|
-
alarmList.value[index] = false;
|
|
5551
|
-
}
|
|
5552
|
-
} else {
|
|
5553
|
-
alarmList.value[index] = false;
|
|
5554
|
-
}
|
|
5555
|
-
});
|
|
5532
|
+
return;
|
|
5556
5533
|
};
|
|
5557
5534
|
return () => vue.createVNode("div", {
|
|
5558
5535
|
"class": "playVideos"
|
package/dist/video/index.js
CHANGED
|
@@ -5177,6 +5177,9 @@ const VideoBoxV2 = defineComponent({
|
|
|
5177
5177
|
token: sessionStorage.getItem("token")
|
|
5178
5178
|
}
|
|
5179
5179
|
});
|
|
5180
|
+
setTimeout(() => {
|
|
5181
|
+
getThingValue();
|
|
5182
|
+
}, 3e3);
|
|
5180
5183
|
infos.value.forEach(info => {
|
|
5181
5184
|
if (info.thingDeviceId) {
|
|
5182
5185
|
const obj = res.data.data?.shift();
|
|
@@ -5237,12 +5240,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
5237
5240
|
clearInterval(interval);
|
|
5238
5241
|
clearInterval(intervalSet);
|
|
5239
5242
|
getVideoParams(val);
|
|
5240
|
-
intervalSet = setInterval(() => {
|
|
5241
|
-
getVideoParams(val);
|
|
5242
|
-
}, 1800 * 1e3);
|
|
5243
|
-
interval = setInterval(() => {
|
|
5244
|
-
getThingValue();
|
|
5245
|
-
}, 3e3);
|
|
5243
|
+
intervalSet = setInterval(() => {}, 1800 * 1e3);
|
|
5246
5244
|
getVideoDetail(val);
|
|
5247
5245
|
const fillVal = localStorage.getItem(val);
|
|
5248
5246
|
if (fillVal) {
|
|
@@ -5523,28 +5521,7 @@ const PollingPlay = defineComponent({
|
|
|
5523
5521
|
});
|
|
5524
5522
|
const alarmList = ref([]);
|
|
5525
5523
|
const getAlarm = async () => {
|
|
5526
|
-
|
|
5527
|
-
instanceCodeList: data.pointList,
|
|
5528
|
-
relationCodeList: ["DEVICE_MT"],
|
|
5529
|
-
targetProperetyCodeList: ["ALARM"]
|
|
5530
|
-
}, {
|
|
5531
|
-
headers: {
|
|
5532
|
-
token: sessionStorage.getItem("token") || ""
|
|
5533
|
-
}
|
|
5534
|
-
});
|
|
5535
|
-
data.pointList.forEach((uuid, index) => {
|
|
5536
|
-
const alarmConfig = res.data?.data?.[uuid];
|
|
5537
|
-
if (alarmConfig?.length && alarmConfig?.length !== 0) {
|
|
5538
|
-
const have = alarmConfig.find(element => element.alarmDTO?.alarmId);
|
|
5539
|
-
if (have) {
|
|
5540
|
-
alarmList.value[index] = true;
|
|
5541
|
-
} else {
|
|
5542
|
-
alarmList.value[index] = false;
|
|
5543
|
-
}
|
|
5544
|
-
} else {
|
|
5545
|
-
alarmList.value[index] = false;
|
|
5546
|
-
}
|
|
5547
|
-
});
|
|
5524
|
+
return;
|
|
5548
5525
|
};
|
|
5549
5526
|
return () => createVNode("div", {
|
|
5550
5527
|
"class": "playVideos"
|
package/package.json
CHANGED