zyjj-web-sdk 1.1.6 → 1.1.8
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-DWTnA4ix.js → APlayer.min-gOeObbSd.js} +1 -1
- package/lib/{DPlayer.min-j2WHPPym.js → DPlayer.min-kM1SccPm.js} +1 -1
- package/lib/{ElementTypeAlert-D69MD1Hv.js → ElementTypeAlert-H_xNixx6.js} +1 -1
- package/lib/{ElementTypeAudio-B03fqxlI.js → ElementTypeAudio-BBQFdBek.js} +3 -3
- package/lib/{ElementTypeImage-DXbbzVZL.js → ElementTypeImage-D4HNLPIn.js} +2 -2
- package/lib/{ElementTypeImageList-CWc6kKUq.js → ElementTypeImageList-CSeke5vJ.js} +2 -2
- package/lib/{ElementTypeInput-CZzdW5Dq.js → ElementTypeInput-CscpkYUk.js} +1 -1
- package/lib/{ElementTypeNumber-DKtckJS2.js → ElementTypeNumber-C64HYYEy.js} +1 -1
- package/lib/{ElementTypeSelect-C0QOG2s4.js → ElementTypeSelect-D540jLzS.js} +1 -1
- package/lib/{ElementTypeText-CcDoswg4.js → ElementTypeText-B6Relktc.js} +3 -3
- package/lib/{ElementTypeTextArea-QdA2Oc7M.js → ElementTypeTextArea-CfHF4AR8.js} +1 -1
- package/lib/{ElementTypeUpload-Dl8m_Nka.js → ElementTypeUpload-DfEbbf_j.js} +1 -1
- package/lib/{ElementTypeVideo-JPjwlOxb.js → ElementTypeVideo-DDpnzWxr.js} +3 -3
- package/lib/{common-CfdGosfW.js → common-svSgdeBM.js} +1 -1
- package/lib/{index-BSrufltx.js → index-Dwng81sg.js} +90 -90
- package/lib/{index-BC44039e.js → index-DxLJViBz.js} +2 -2
- package/lib/index.js +1 -1
- package/lib/index.umd.cjs +36 -36
- package/lib/types/new-local-task.d.ts +5 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as r } from "./index-
|
|
2
|
-
import { a as o } from "./common-
|
|
1
|
+
import { j as r } from "./index-Dwng81sg.js";
|
|
2
|
+
import { a as o } from "./common-svSgdeBM.js";
|
|
3
3
|
import { useState as s, useCallback as f } from "react";
|
|
4
4
|
import { Space as m } from "@arco-design/web-react";
|
|
5
5
|
function j(e) {
|
|
@@ -7,7 +7,7 @@ function j(e) {
|
|
|
7
7
|
if (!i || !e.value)
|
|
8
8
|
return;
|
|
9
9
|
let t = {};
|
|
10
|
-
typeof e.value == "string" ? (a(e.value), t.url = e.value, t.name = e.value.split("/").pop()) : (t = e.value, a(t.url)), import("./APlayer.min-
|
|
10
|
+
typeof e.value == "string" ? (a(e.value), t.url = e.value, t.name = e.value.split("/").pop()) : (t = e.value, a(t.url)), import("./APlayer.min-gOeObbSd.js").then((l) => l.A).then((l) => {
|
|
11
11
|
new l.default({
|
|
12
12
|
container: i,
|
|
13
13
|
loop: "none",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as e } from "./index-
|
|
1
|
+
import { j as e } from "./index-Dwng81sg.js";
|
|
2
2
|
import { Space as m } from "@arco-design/web-react";
|
|
3
|
-
import { I as t } from "./common-
|
|
3
|
+
import { I as t } from "./common-svSgdeBM.js";
|
|
4
4
|
function i(r) {
|
|
5
5
|
return r.value ? e.jsx(m, { children: e.jsx(t, { src: r.value }) }) : e.jsx(e.Fragment, {});
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as e } from "./index-
|
|
1
|
+
import { j as e } from "./index-Dwng81sg.js";
|
|
2
2
|
import { Image as o, Grid as t } from "@arco-design/web-react";
|
|
3
|
-
import { I as n } from "./common-
|
|
3
|
+
import { I as n } from "./common-svSgdeBM.js";
|
|
4
4
|
function u(r) {
|
|
5
5
|
var i;
|
|
6
6
|
return r.value ? e.jsx(o.PreviewGroup, { infinite: !0, children: e.jsx(t, { cols: 4, colGap: 5, rowGap: 5, children: (i = r.value) == null ? void 0 : i.map((m, a) => e.jsx(t.GridItem, { children: e.jsx(n, { src: m }) }, a)) }) }) : e.jsx(e.Fragment, {});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as A } from "./index-
|
|
1
|
+
import { j as A } from "./index-Dwng81sg.js";
|
|
2
2
|
import z, { useContext as Ce, useState as ae, useEffect as et } from "react";
|
|
3
3
|
import { Space as tt, Input as nt } from "@arco-design/web-react";
|
|
4
|
-
import { S as rt, C as it } from "./common-
|
|
4
|
+
import { S as rt, C as it } from "./common-svSgdeBM.js";
|
|
5
5
|
import { I as ve, _ as Ae, a as De } from "./context-tmjHwBoF.js";
|
|
6
6
|
function ue(e, n) {
|
|
7
7
|
var t = Object.keys(e);
|
|
@@ -2243,7 +2243,7 @@ function _r(e) {
|
|
|
2243
2243
|
function Mr(e) {
|
|
2244
2244
|
const [n, t] = ae(!1), [i, l] = ae();
|
|
2245
2245
|
return et(() => {
|
|
2246
|
-
import("./index-
|
|
2246
|
+
import("./index-DxLJViBz.js").then((o) => {
|
|
2247
2247
|
l(A.jsx(o.default, { remarkPlugins: [yt, _r], children: e.value }));
|
|
2248
2248
|
});
|
|
2249
2249
|
}, [e.value]), A.jsxs("div", { className: "zyjj-lab-markdown", style: { position: "relative" }, children: [e.value ? A.jsxs(tt, { style: { position: "absolute", right: 0, margin: 5, zIndex: 99 }, children: [A.jsx(rt, { noSuccess: !0, onClick: async () => t((o) => !o), icon: n ? A.jsx(X, {}) : A.jsx(Y, {}), tip: n ? "预览" : "编辑" }), A.jsx(it, { value: e.value })] }) : A.jsx(A.Fragment, {}), n ? A.jsx(nt.TextArea, { style: { borderRadius: 5, padding: 10 }, autoSize: !0, value: e.value, onChange: e.onChange }) : A.jsx("div", { style: { padding: 10 }, children: i })] });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as i, F as x } from "./index-
|
|
1
|
+
import { j as i, F as x } from "./index-Dwng81sg.js";
|
|
2
2
|
import l, { useContext as O, useState as j, useEffect as g } from "react";
|
|
3
3
|
import { Upload as y, Button as b, Message as h } from "@arco-design/web-react";
|
|
4
4
|
import { I as C, _ as w, a as P } from "./context-tmjHwBoF.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { j as t } from "./index-
|
|
2
|
-
import { a as n } from "./common-
|
|
1
|
+
import { j as t } from "./index-Dwng81sg.js";
|
|
2
|
+
import { a as n } from "./common-svSgdeBM.js";
|
|
3
3
|
import { Space as l } from "@arco-design/web-react";
|
|
4
4
|
import { useCallback as s } from "react";
|
|
5
5
|
function v(e) {
|
|
6
6
|
var i;
|
|
7
7
|
const a = s((o) => {
|
|
8
|
-
!o || !e.value || import("./DPlayer.min-
|
|
8
|
+
!o || !e.value || import("./DPlayer.min-kM1SccPm.js").then((r) => r.D).then((r) => {
|
|
9
9
|
var u;
|
|
10
10
|
new r.default({ container: o, screenshot: !0, video: { url: (u = e.value) == null ? void 0 : u.url } });
|
|
11
11
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as a, d as W } from "./index-
|
|
1
|
+
import { j as a, d as W } from "./index-Dwng81sg.js";
|
|
2
2
|
import i, { useContext as f, useState as O, useEffect as F } from "react";
|
|
3
3
|
import { Tooltip as H, Space as z, Image as T } from "@arco-design/web-react";
|
|
4
4
|
import { I as p, _ as u, a as d } from "./context-tmjHwBoF.js";
|