zyjj-web-sdk 1.0.29 → 1.0.31
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/lib/{APlayer.min-Bv2ffroT.js → APlayer.min-CwNgk6YZ.js} +1 -1
- package/lib/{DPlayer.min-C3ysDalm.js → DPlayer.min-xfvYSWDp.js} +1 -1
- package/lib/{index-Bz79YISv.js → index-D4HHVtv8.js} +1 -1
- package/lib/{index-DtKd3Sji.js → index-DSCqzbZR.js} +6 -6
- package/lib/index.js +1 -1
- package/lib/index.umd.cjs +2 -2
- package/lib/types/local-task.d.ts +10 -13
- package/lib/types/new-local-task.d.ts +6 -17
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Z, p as ne, r as xn, s as xe, c as Mn, b as ue, d as sn, e as dr, m as R, f as H, g as gr, h as yr, i as cn, j as A, k as ee, n as Ee, l as Qe, o as _n, q as De, t as xr, u as kr, v as It, w as br, x as wr, y as Ke } from "./index-
|
|
1
|
+
import { a as Z, p as ne, r as xn, s as xe, c as Mn, b as ue, d as sn, e as dr, m as R, f as H, g as gr, h as yr, i as cn, j as A, k as ee, n as Ee, l as Qe, o as _n, q as De, t as xr, u as kr, v as It, w as br, x as wr, y as Ke } from "./index-DSCqzbZR.js";
|
|
2
2
|
const Bn = document.createElement("i");
|
|
3
3
|
function kn(e) {
|
|
4
4
|
const n = "&" + e + ";";
|
|
@@ -31589,11 +31589,11 @@ var jp;
|
|
|
31589
31589
|
})(jp || (jp = {}));
|
|
31590
31590
|
var Ip;
|
|
31591
31591
|
(function(e) {
|
|
31592
|
-
e[e.
|
|
31592
|
+
e[e.TaskAction = 0] = "TaskAction", e[e.WorkAction = 1] = "WorkAction", e[e.MqttSend = 3] = "MqttSend", e[e.ActionClose = 4] = "ActionClose", e[e.MqttReconnect = 5] = "MqttReconnect", e[e.NavigateTo = 7] = "NavigateTo", e[e.ExtensionBlobConvert = 8] = "ExtensionBlobConvert", e[e.ExtensionGetId = 9] = "ExtensionGetId", e[e.OpenTool = 10] = "OpenTool", e[e.DownloadFile = 11] = "DownloadFile";
|
|
31593
31593
|
})(Ip || (Ip = {}));
|
|
31594
31594
|
var Np;
|
|
31595
31595
|
(function(e) {
|
|
31596
|
-
e[e.
|
|
31596
|
+
e[e.TaskAction = 0] = "TaskAction", e[e.NavigateTo = 3] = "NavigateTo", e[e.OpenTool = 6] = "OpenTool", e[e.MqttBack = 1] = "MqttBack", e[e.ExtensionBlobUrl = 4] = "ExtensionBlobUrl", e[e.ExtensionId = 5] = "ExtensionId", e[e.UrlCallback = 7] = "UrlCallback", e[e.DownloadFileRes = 8] = "DownloadFileRes";
|
|
31597
31597
|
})(Np || (Np = {}));
|
|
31598
31598
|
var kp;
|
|
31599
31599
|
(function(e) {
|
|
@@ -33550,7 +33550,7 @@ const Ele = {
|
|
|
33550
33550
|
e.addCase(qp.fulfilled, (r, t) => {
|
|
33551
33551
|
t.payload != null ? (r.isLogin = !0, r.userInfo = t.payload) : r.isLogin = !1;
|
|
33552
33552
|
}), e.addCase(qp.rejected, (r) => {
|
|
33553
|
-
|
|
33553
|
+
r.isLogin = !1, r.userInfo = void 0;
|
|
33554
33554
|
});
|
|
33555
33555
|
}
|
|
33556
33556
|
}), _le = SA.actions, Sle = SA.reducer, Kp = (e, r) => r.some((t) => e instanceof t);
|
|
@@ -57481,7 +57481,7 @@ function _be(e) {
|
|
|
57481
57481
|
function K8(e) {
|
|
57482
57482
|
const [r, t] = it(!1), [n, o] = it();
|
|
57483
57483
|
return pt(() => {
|
|
57484
|
-
import("./index-
|
|
57484
|
+
import("./index-D4HHVtv8.js").then((s) => {
|
|
57485
57485
|
o(te.jsx(s.default, { remarkPlugins: [u1e, _be], children: e.value }));
|
|
57486
57486
|
});
|
|
57487
57487
|
}, [e.value]), te.jsxs("div", { className: "zyjj-lab-markdown", style: { position: "relative" }, children: [e.value ? te.jsxs(Po, { style: { position: "absolute", right: 0, margin: 5, zIndex: 99 }, children: [te.jsx(Wu, { noSuccess: !0, onClick: async () => t((s) => !s), icon: r ? te.jsx(hu, {}) : te.jsx(Sg, {}), tip: r ? "预览" : "编辑" }), te.jsx(Z0e, { value: e.value })] }) : te.jsx(te.Fragment, {}), r ? te.jsx(Ur.TextArea, { style: { borderRadius: 5, padding: 10 }, autoSize: !0, value: e.value, onChange: e.onChange }) : te.jsx("div", { style: { padding: 10 }, children: n })] });
|
|
@@ -57509,7 +57509,7 @@ function Pbe(e) {
|
|
|
57509
57509
|
if (!o || !e.value)
|
|
57510
57510
|
return;
|
|
57511
57511
|
let s = {};
|
|
57512
|
-
typeof e.value == "string" ? (t(e.value), s.url = e.value, s.name = e.value.split("/").pop()) : (s = e.value, t(s.url)), import("./APlayer.min-
|
|
57512
|
+
typeof e.value == "string" ? (t(e.value), s.url = e.value, s.name = e.value.split("/").pop()) : (s = e.value, t(s.url)), import("./APlayer.min-CwNgk6YZ.js").then((a) => a.A).then((a) => {
|
|
57513
57513
|
new a.default({
|
|
57514
57514
|
container: o,
|
|
57515
57515
|
loop: "none",
|
|
@@ -57534,7 +57534,7 @@ function Nbe(e) {
|
|
|
57534
57534
|
function kbe(e) {
|
|
57535
57535
|
var t;
|
|
57536
57536
|
const r = Qt((n) => {
|
|
57537
|
-
!n || !e.value || import("./DPlayer.min-
|
|
57537
|
+
!n || !e.value || import("./DPlayer.min-xfvYSWDp.js").then((o) => o.D).then((o) => {
|
|
57538
57538
|
var s;
|
|
57539
57539
|
new o.default({ container: n, screenshot: !0, video: { url: (s = e.value) == null ? void 0 : s.url } });
|
|
57540
57540
|
});
|
package/lib/index.js
CHANGED