zyjj-web-sdk 1.0.19 → 1.0.20

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-C3NqC98t.js";
1
+ import { g as E } from "./index-DtMxRUqJ.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-C3NqC98t.js";
1
+ import { g as So, c as Io } from "./index-DtMxRUqJ.js";
2
2
  function Lo(pe, Ze) {
3
3
  for (var J = 0; J < Ze.length; J++) {
4
4
  const U = Ze[J];
@@ -1,3 +1,3 @@
1
1
  import { ElementTypeProps } from "./common.tsx";
2
2
  import { TextAreaData } from "../../types/tool-task.ts";
3
- export default function ElementTypeInputArea(props: ElementTypeProps<string, TextAreaData>): import("react/jsx-runtime").JSX.Element;
3
+ export default function ElementTypeTextArea(props: ElementTypeProps<string, TextAreaData>): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { c as _n, v as xr, g as kr, j as Ke } from "./index-C3NqC98t.js";
1
+ import { c as _n, v as xr, g as kr, j as Ke } from "./index-DtMxRUqJ.js";
2
2
  function br(e, n) {
3
3
  const t = n || {};
4
4
  return (e[e.length - 1] === "" ? [...e, ""] : e).join(
@@ -58061,7 +58061,7 @@ function R2e(e) {
58061
58061
  }
58062
58062
  function M2e(e) {
58063
58063
  var n, t;
58064
- return z.jsx(Dr.TextArea, { value: e.value, onChange: e.onChange, autoSize: !0, maxLength: (n = e.data) == null ? void 0 : n.max_len, showWordLimit: !0, placeholder: (t = e.data) == null ? void 0 : t.placeholder });
58064
+ return z.jsx(Dr.TextArea, { value: e.value, onChange: e.onChange, rows: 10, maxLength: (n = e.data) == null ? void 0 : n.max_len, showWordLimit: !0, placeholder: (t = e.data) == null ? void 0 : t.placeholder });
58065
58065
  }
58066
58066
  const Nf = (e) => {
58067
58067
  const [n, t] = Ve(e.icon), [r, o] = Ve(e.tip), [a, s] = Ve(!1);
@@ -58310,7 +58310,7 @@ function eOe() {
58310
58310
  function D6(e) {
58311
58311
  const [n, t] = Ve(!1), [r, o] = Ve();
58312
58312
  return lt(() => {
58313
- import("./index-B999Ds2H.js").then((a) => {
58313
+ import("./index-DYCuXcu7.js").then((a) => {
58314
58314
  o(z.jsx(a.default, { remarkPlugins: [eOe], children: e.value }));
58315
58315
  });
58316
58316
  }, [e.value]), z.jsxs("div", { style: { position: "relative" }, children: [e.value ? z.jsxs(Yr, { style: { position: "absolute", right: 0, margin: 5, zIndex: 99 }, children: [z.jsx(Nf, { noSuccess: !0, onClick: async () => t((a) => !a), icon: n ? z.jsx(Yu, {}) : z.jsx(Q0, {}), tip: n ? "预览" : "编辑" }), z.jsx($2e, { value: e.value })] }) : z.jsx(z.Fragment, {}), n ? z.jsx(Dr.TextArea, { style: { borderRadius: 5, padding: 10 }, autoSize: !0, value: e.value, onChange: e.onChange }) : z.jsx("div", { style: { padding: 10 }, children: r })] });
@@ -58338,7 +58338,7 @@ function rOe(e) {
58338
58338
  if (!o || !e.value)
58339
58339
  return;
58340
58340
  let a = {};
58341
- typeof e.value == "string" ? (t(e.value), a.url = e.value, a.name = e.value.split("/").pop()) : (a = e.value, t(a.url)), import("./APlayer.min-cG85u3Ce.js").then((s) => s.A).then((s) => {
58341
+ typeof e.value == "string" ? (t(e.value), a.url = e.value, a.name = e.value.split("/").pop()) : (a = e.value, t(a.url)), import("./APlayer.min-9ukXWHtq.js").then((s) => s.A).then((s) => {
58342
58342
  new s.default({
58343
58343
  container: o,
58344
58344
  loop: "none",
@@ -58363,7 +58363,7 @@ function iOe(e) {
58363
58363
  function aOe(e) {
58364
58364
  var t;
58365
58365
  const n = Xt((r) => {
58366
- !r || !e.value || import("./DPlayer.min-Cah7PG12.js").then((o) => o.D).then((o) => {
58366
+ !r || !e.value || import("./DPlayer.min-Cl9WiJp7.js").then((o) => o.D).then((o) => {
58367
58367
  var a;
58368
58368
  new o.default({ container: r, screenshot: !0, video: { url: (a = e.value) == null ? void 0 : a.url } });
58369
58369
  });
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as e, C as o, E as t, L as r, M as i, P as l, e as n, S as L, d as T, T as b, a as g, b as m, U as E } from "./index-C3NqC98t.js";
1
+ import { A as e, C as o, E as t, L as r, M as i, P as l, e as n, S as L, d as T, T as b, a as g, b as m, U as E } from "./index-DtMxRUqJ.js";
2
2
  export {
3
3
  e as Api,
4
4
  o as ConcatButton,