zyjj-web-sdk 1.1.6 → 1.1.7

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.
@@ -1,4 +1,4 @@
1
- import { g as E } from "./index-BSrufltx.js";
1
+ import { g as E } from "./index-CCOAg2q8.js";
2
2
  function S(T, L) {
3
3
  for (var f = 0; f < L.length; f++) {
4
4
  const h = L[f];
@@ -1,4 +1,4 @@
1
- import { g as So, c as Io } from "./index-BSrufltx.js";
1
+ import { g as So, c as Io } from "./index-CCOAg2q8.js";
2
2
  function Lo(pe, Ze) {
3
3
  for (var J = 0; J < Ze.length; J++) {
4
4
  const U = Ze[J];
@@ -1,4 +1,4 @@
1
- import { j as r } from "./index-BSrufltx.js";
1
+ import { j as r } from "./index-CCOAg2q8.js";
2
2
  import { Alert as o } from "@arco-design/web-react";
3
3
  function p(t) {
4
4
  var e, n;
@@ -1,5 +1,5 @@
1
- import { j as r } from "./index-BSrufltx.js";
2
- import { a as o } from "./common-CfdGosfW.js";
1
+ import { j as r } from "./index-CCOAg2q8.js";
2
+ import { a as o } from "./common-Dt4BHxCR.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-DWTnA4ix.js").then((l) => l.A).then((l) => {
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-DzHWoEvx.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-BSrufltx.js";
1
+ import { j as e } from "./index-CCOAg2q8.js";
2
2
  import { Space as m } from "@arco-design/web-react";
3
- import { I as t } from "./common-CfdGosfW.js";
3
+ import { I as t } from "./common-Dt4BHxCR.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-BSrufltx.js";
1
+ import { j as e } from "./index-CCOAg2q8.js";
2
2
  import { Image as o, Grid as t } from "@arco-design/web-react";
3
- import { I as n } from "./common-CfdGosfW.js";
3
+ import { I as n } from "./common-Dt4BHxCR.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,4 +1,4 @@
1
- import { j as a } from "./index-BSrufltx.js";
1
+ import { j as a } from "./index-CCOAg2q8.js";
2
2
  import { Input as n } from "@arco-design/web-react";
3
3
  function r(e) {
4
4
  var t;
@@ -1,4 +1,4 @@
1
- import { j as n } from "./index-BSrufltx.js";
1
+ import { j as n } from "./index-CCOAg2q8.js";
2
2
  import { InputNumber as u } from "@arco-design/web-react";
3
3
  function r(t) {
4
4
  var e, a, m;
@@ -1,4 +1,4 @@
1
- import { j as n } from "./index-BSrufltx.js";
1
+ import { j as n } from "./index-CCOAg2q8.js";
2
2
  import { Select as l } from "@arco-design/web-react";
3
3
  function i(e) {
4
4
  var a;
@@ -1,7 +1,7 @@
1
- import { j as A } from "./index-BSrufltx.js";
1
+ import { j as A } from "./index-CCOAg2q8.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-CfdGosfW.js";
4
+ import { S as rt, C as it } from "./common-Dt4BHxCR.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-BC44039e.js").then((o) => {
2246
+ import("./index-Bz8xGFkc.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 n } from "./index-BSrufltx.js";
1
+ import { j as n } from "./index-CCOAg2q8.js";
2
2
  import { Input as r } from "@arco-design/web-react";
3
3
  function m(e) {
4
4
  var a, t;
@@ -1,4 +1,4 @@
1
- import { j as i, F as x } from "./index-BSrufltx.js";
1
+ import { j as i, F as x } from "./index-CCOAg2q8.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-BSrufltx.js";
2
- import { a as n } from "./common-CfdGosfW.js";
1
+ import { j as t } from "./index-CCOAg2q8.js";
2
+ import { a as n } from "./common-Dt4BHxCR.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-j2WHPPym.js").then((r) => r.D).then((r) => {
8
+ !o || !e.value || import("./DPlayer.min-BSjMKfwC.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-BSrufltx.js";
1
+ import { j as a, d as W } from "./index-CCOAg2q8.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";
@@ -1,5 +1,5 @@
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 De, q as xr, t as kr, v as It, u as br } from "./ElementTypeText-CcDoswg4.js";
2
- import { c as _n, g as wr, j as Ke } from "./index-BSrufltx.js";
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 De, q as xr, t as kr, v as It, u as br } from "./ElementTypeText-DvAsOufc.js";
2
+ import { c as _n, g as wr, j as Ke } from "./index-CCOAg2q8.js";
3
3
  const Bn = document.createElement("i");
4
4
  function kn(e) {
5
5
  const n = "&" + e + ";";
@@ -4007,7 +4007,7 @@ const We = "task", ot = () => Ka("zyjj", 2, {
4007
4007
  }), po = ho.actions, cc = ho.reducer;
4008
4008
  var yr;
4009
4009
  (function(e) {
4010
- e[e.MqttListener = 0] = "MqttListener", e[e.CloudFileUpload = 1] = "CloudFileUpload", e[e.CloudFileDownload = 2] = "CloudFileDownload", e[e.GetInitData = 3] = "GetInitData", e[e.NavigateTo = 4] = "NavigateTo", e[e.CloseWindow = 5] = "CloseWindow", e[e.TaskAction = 6] = "TaskAction", e[e.SendRequest = 7] = "SendRequest", e[e.FFMPEG = 8] = "FFMPEG", e[e.FileDownload = 9] = "FileDownload", e[e.OpenVideoEditor = 10] = "OpenVideoEditor";
4010
+ e[e.MqttListener = 0] = "MqttListener", e[e.CloudFileUpload = 1] = "CloudFileUpload", e[e.CloudFileDownload = 2] = "CloudFileDownload", e[e.GetInitData = 3] = "GetInitData", e[e.NavigateTo = 4] = "NavigateTo", e[e.CloseWindow = 5] = "CloseWindow", e[e.TaskAction = 6] = "TaskAction", e[e.SendRequest = 7] = "SendRequest", e[e.FFMPEG = 8] = "FFMPEG", e[e.FileDownload = 9] = "FileDownload", e[e.OpenVideoEditor = 10] = "OpenVideoEditor", e[e.OpenTool = 11] = "OpenTool";
4011
4011
  })(yr || (yr = {}));
4012
4012
  var gr;
4013
4013
  (function(e) {
@@ -4082,7 +4082,7 @@ function jc(e) {
4082
4082
  return d.tp == "input" ? l = _.jsx(Ae, { allowClear: !0, placeholder: f.placeholder }) : d.tp == "custom" && (l = d.ele), _.jsx(ie.Item, { label: d.label, field: d.field, children: l }, d.field);
4083
4083
  }), _.jsx(ie.Item, { children: _.jsx($e, { htmlType: "submit", children: "搜索" }) })] }) : null, _.jsx(zo, { loading: n, pagination: s, onChange: (d) => i({ ...s, current: (d == null ? void 0 : d.current) || s.current, pageSize: (d == null ? void 0 : d.pageSize) || s.pageSize }), rowKey: e.id || "id", columns: e.columns, data: t })] });
4084
4084
  }
4085
- const fc = me(() => import("./ElementTypeInput-CZzdW5Dq.js")), dc = me(() => import("./ElementTypeSelect-C0QOG2s4.js")), hc = me(() => import("./ElementTypeTextArea-QdA2Oc7M.js")), bn = me(() => import("./ElementTypeText-CcDoswg4.js").then((e) => e.E)), pc = me(() => import("./ElementTypeAudio-B03fqxlI.js")), mc = me(() => import("./ElementTypeUpload-Dl8m_Nka.js")), yc = me(() => import("./ElementTypeNumber-DKtckJS2.js")), gc = me(() => import("./ElementTypeImageList-CWc6kKUq.js")), bc = me(() => import("./ElementTypeImage-DXbbzVZL.js")), wc = me(() => import("./ElementTypeAlert-D69MD1Hv.js")), Ec = me(() => import("./ElementTypeVideo-JPjwlOxb.js")), Sc = me(() => import("./ElementTypeNumber-DKtckJS2.js"));
4085
+ const fc = me(() => import("./ElementTypeInput-DFkJGBGe.js")), dc = me(() => import("./ElementTypeSelect-_Knpij9M.js")), hc = me(() => import("./ElementTypeTextArea-y_fkclYf.js")), bn = me(() => import("./ElementTypeText-DvAsOufc.js").then((e) => e.E)), pc = me(() => import("./ElementTypeAudio-Dl8eO6Fb.js")), mc = me(() => import("./ElementTypeUpload-CknB0Sic.js")), yc = me(() => import("./ElementTypeNumber-4B9M26Rq.js")), gc = me(() => import("./ElementTypeImageList-DP0Rjbdf.js")), bc = me(() => import("./ElementTypeImage-Cp4Xw8Db.js")), wc = me(() => import("./ElementTypeAlert-CvoOLqP1.js")), Ec = me(() => import("./ElementTypeVideo-Y1glzf4A.js")), Sc = me(() => import("./ElementTypeNumber-4B9M26Rq.js"));
4086
4086
  function Nc(e) {
4087
4087
  const { tp: t, isInput: r, data: n, value: o, onChange: s } = e;
4088
4088
  switch (t) {
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, E as o, L as m, P as n, a as l, S as r, T as t, U as E } from "./index-BSrufltx.js";
1
+ import { A as s, E as o, L as m, P as n, a as l, S as r, T as t, U as E } from "./index-CCOAg2q8.js";
2
2
  export {
3
3
  s as Api,
4
4
  o as Enum,