szld-libs 0.2.96 → 0.2.97

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.
@@ -1602,7 +1602,7 @@ const C3 = _3, yO = "backheader-module_main_cac53", gO = "backheader-module_titl
1602
1602
  title: gO,
1603
1603
  sub: xO,
1604
1604
  btn: _O
1605
- }, { Title: CO, Text: SO } = kk, lL = (n) => {
1605
+ }, { Title: CO, Text: SO } = kk, uL = (n) => {
1606
1606
  const { isBack: l = !0, title: a, extra: s, subTitle: d = null, className: v, style: h, titleStyle: g, level: _ = 2, icon: p, onBack: x } = n, w = Uk(), C = () => typeof d == "string" ? /* @__PURE__ */ he(SO, { className: Vm.sub, children: d }) : d, E = () => {
1607
1607
  if (x) {
1608
1608
  x == null || x();
@@ -12758,7 +12758,7 @@ Check the render method of \`` + e + "`." : "";
12758
12758
  };
12759
12759
  }
12760
12760
  }
12761
- function XN(e) {
12761
+ function JN(e) {
12762
12762
  return e;
12763
12763
  }
12764
12764
  function DD(e) {
@@ -15188,10 +15188,10 @@ Incoming: %s`, we, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
15188
15188
  }
15189
15189
  return [A, y];
15190
15190
  }
15191
- function JN(e, t, o) {
15192
- }
15193
15191
  function eL(e, t, o) {
15194
15192
  }
15193
+ function tL(e, t, o) {
15194
+ }
15195
15195
  function Tx(e, t, o) {
15196
15196
  var u = Xt, f = Xo(), y, b = jr();
15197
15197
  if (b) {
@@ -20595,7 +20595,7 @@ Check the render method of %s.`, vt(Pn) || "Unknown"));
20595
20595
  var LC = /* @__PURE__ */ ((n) => (n.zip = "application/zip", n.png = "image/png", n.jpg = "image/jpg", n.jpeg = "image/jpeg", n.pdf = "application/pdf", n.doc = "application/msword", n.docx = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", n.pptx = "application/vnd.openxmlformats-officedocument.presentationml.presentation", n.ppt = "application/vnd.ms-powerpoint", n.xlsx = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", n.xls = "application/vnd.ms-excel", n.txt = "text/plain", n.csv = "text/csv", n.svg = "image/svg+xml", n))(LC || {});
20596
20596
  const dC = new Map(Object.entries(LC));
20597
20597
  var $0 = /* @__PURE__ */ ((n) => (n.zip = ".zip", n.png = ".png", n.jpg = ".jpg", n.jpeg = ".jpeg", n.pdf = ".pdf", n.doc = ".doc", n.docx = ".docx", n.ppt = ".ppt", n.pptx = ".pptx", n.xls = ".xls", n.xlsx = ".xlsx", n.txt = ".txt", n.csv = ".csv", n.svg = ".svg", n.rar = ".rar", n))($0 || {});
20598
- const uL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20598
+ const sL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20599
20599
  __proto__: null,
20600
20600
  FileType: LC,
20601
20601
  FileTypeMap: dC,
@@ -20676,7 +20676,7 @@ const MO = () => {
20676
20676
  return JSON.parse(n.slice(l + 1));
20677
20677
  }
20678
20678
  return n;
20679
- }, sL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20679
+ }, cL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20680
20680
  __proto__: null,
20681
20681
  filterObject: RO,
20682
20682
  getBase64: E3,
@@ -25630,7 +25630,7 @@ const vM = "search-table-module_search_17add", mM = "search-table-module_table_5
25630
25630
  const { onResize: l, width: a, resizeable: s, ...d } = n;
25631
25631
  return !a || !s ? /* @__PURE__ */ he("th", { ...d }) : /* @__PURE__ */ he(hM, { width: a || 200, height: 0, onResize: l, draggableOpts: { enableUserSelectHack: !1 }, children: /* @__PURE__ */ he("th", { ...d }) });
25632
25632
  };
25633
- function fL(n) {
25633
+ function dL(n) {
25634
25634
  const { tableProps: l = {}, searchProps: a } = n, {
25635
25635
  minColumnWidth: s = 200,
25636
25636
  resizeable: d = !1,
@@ -25767,7 +25767,7 @@ function SM(n) {
25767
25767
  }
25768
25768
  )), /* @__PURE__ */ he("td", { ...w, children: O });
25769
25769
  }
25770
- function dL(n) {
25770
+ function pL(n) {
25771
25771
  const { columns: l, onChange: a, ...s } = n, d = {
25772
25772
  body: {
25773
25773
  row: CM,
@@ -25794,7 +25794,7 @@ function dL(n) {
25794
25794
  const EM = (n) => {
25795
25795
  const { auth: l = !0, ...a } = n;
25796
25796
  return l ? /* @__PURE__ */ he(W0, { ...a }) : null;
25797
- }, pL = (n) => {
25797
+ }, hL = (n) => {
25798
25798
  const { PId: l, auths: a, ...s } = n, d = I0(() => a ? !!(typeof l == "number" && a.find((v) => v.PId === l) || Array.isArray(l) && a.filter((v) => l.includes(v.PId)).length > 0) : !1, [l, a]);
25799
25799
  return /* @__PURE__ */ he(EM, { ...s, auth: d });
25800
25800
  }, bM = "LoopSlide-module_wrapper_dde90", wM = "LoopSlide-module_container_be123", DM = "LoopSlide-module_scrollContent_36ed7", RM = "LoopSlide-module_content_f392a", Ch = {
@@ -25802,7 +25802,7 @@ const EM = (n) => {
25802
25802
  container: wM,
25803
25803
  scrollContent: DM,
25804
25804
  content: RM
25805
- }, hL = ({
25805
+ }, vL = ({
25806
25806
  speed: n = 10,
25807
25807
  delay: l = 1,
25808
25808
  timingFunction: a = "linear",
@@ -25953,7 +25953,7 @@ const EM = (n) => {
25953
25953
  typeof s == "string" ? x[s] : s(x)
25954
25954
  ))
25955
25955
  ] });
25956
- }, vL = (n) => {
25956
+ }, mL = (n) => {
25957
25957
  const { current: l, data: a, rowKey: s, renderContent: d, currentIndex: v, ...h } = n;
25958
25958
  return (() => {
25959
25959
  AC.info({
@@ -25980,7 +25980,7 @@ const EM = (n) => {
25980
25980
  customPagination: jM,
25981
25981
  jumpBtns: IM
25982
25982
  };
25983
- function mL(n) {
25983
+ function yL(n) {
25984
25984
  const { totalText: l = "共", unitText: a = "条", jumpText: s = "跳至", pageText: d = "页", paginationProps: v } = n, [h, g] = ln(""), _ = (v == null ? void 0 : v.pageSize) || 10, p = (C) => {
25985
25985
  g(C.target.value);
25986
25986
  }, x = (C) => {
@@ -26439,7 +26439,7 @@ const Aa = w6.exports, VM = (n) => {
26439
26439
  return [];
26440
26440
  const l = (a) => a == null ? void 0 : a.map((s) => {
26441
26441
  const d = {};
26442
- return s.forEach((v) => {
26442
+ return Array.isArray(s) && s.forEach((v) => {
26443
26443
  var h;
26444
26444
  (h = v == null ? void 0 : v.children) != null && h.length ? d[v.attrid] = l(v.children) : d[v.attrid] = v.attrvalue;
26445
26445
  }), d;
@@ -26769,7 +26769,7 @@ const T6 = (n) => {
26769
26769
  }, JM = (n, l) => n.map((a) => ({
26770
26770
  ...a,
26771
26771
  attrvalue: l[a.attrid] || ""
26772
- })), yL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26772
+ })), gL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26773
26773
  __proto__: null,
26774
26774
  getJson: iy,
26775
26775
  base64ToString: JC,
@@ -28186,7 +28186,7 @@ function dN(n) {
28186
28186
  handleSetFormItemInitialValue: Tc
28187
28187
  };
28188
28188
  }
28189
- const gL = Tk((n, l) => {
28189
+ const xL = Tk((n, l) => {
28190
28190
  const {
28191
28191
  formConfig: a,
28192
28192
  setFormConfig: s,
@@ -28317,7 +28317,7 @@ const gL = Tk((n, l) => {
28317
28317
  }, RC = (n, l) => {
28318
28318
  let a = document.createElement("a");
28319
28319
  a.style.display = "none", a.href = n, a.target = "_blank", a.download = l, document.body.appendChild(a), a.click(), document.body.removeChild(a);
28320
- }, xL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28320
+ }, _L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28321
28321
  __proto__: null,
28322
28322
  downloadUrl: mN,
28323
28323
  downloadBlob: O6
@@ -28374,7 +28374,7 @@ const gL = Tk((n, l) => {
28374
28374
  pattern: /\S/,
28375
28375
  message: "输入内容不能只有空格"
28376
28376
  }
28377
- }, _L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28377
+ }, CL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28378
28378
  __proto__: null,
28379
28379
  default: B6
28380
28380
  }, Symbol.toStringTag, { value: "Module" }));
@@ -28434,7 +28434,7 @@ class gN {
28434
28434
  return "rgb(" + s + "," + d + "," + v + ")";
28435
28435
  }
28436
28436
  }
28437
- const CL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28437
+ const SL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28438
28438
  __proto__: null,
28439
28439
  getGVerify: gN
28440
28440
  }, Symbol.toStringTag, { value: "Module" }));
@@ -32306,7 +32306,7 @@ function GN() {
32306
32306
  });
32307
32307
  })(F6);
32308
32308
  const uu = F6.exports;
32309
- class SL {
32309
+ class EL {
32310
32310
  constructor() {
32311
32311
  Rc(this, "salt", "SzlDJd#4202");
32312
32312
  }
@@ -32321,7 +32321,7 @@ class SL {
32321
32321
  return uu.AES.decrypt(l, this.salt).toString(uu.enc.Utf8);
32322
32322
  }
32323
32323
  }
32324
- class EL {
32324
+ class bL {
32325
32325
  constructor(l) {
32326
32326
  Rc(this, "salt");
32327
32327
  this.salt = l;
@@ -32449,13 +32449,18 @@ const WN = async (n, l, a) => {
32449
32449
  }, KN = (n, l) => n.map((a) => ({
32450
32450
  ...a,
32451
32451
  attrvalue: l[a.attrid] || ""
32452
- })), bL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32452
+ })), QN = (n, l) => ({
32453
+ style: {
32454
+ backgroundColor: l !== void 0 && l % 2 === 1 ? "var(--bg-color-2)" : "var(--bg-color-3)"
32455
+ }
32456
+ }), wL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32453
32457
  __proto__: null,
32454
32458
  handleGetAttrList: WN,
32455
32459
  handleGetAttrDetail: ZN,
32456
- handleObjDetailToSignleAttrList: KN
32460
+ handleObjDetailToSignleAttrList: KN,
32461
+ handleSetTableRowColor: QN
32457
32462
  }, Symbol.toStringTag, { value: "Module" }));
32458
- function wL(n) {
32463
+ function DL(n) {
32459
32464
  const { imgKey: l = "Img" } = n, {
32460
32465
  data: a,
32461
32466
  loading: s,
@@ -32484,7 +32489,7 @@ function wL(n) {
32484
32489
  }
32485
32490
  ), loading: s, refresh: v };
32486
32491
  }
32487
- function DL(n) {
32492
+ function RL(n) {
32488
32493
  const { modal: l, message: a } = Lc.useApp(), [s] = xo.useForm(), d = [
32489
32494
  {
32490
32495
  dataIndex: "Password",
@@ -32539,14 +32544,14 @@ function DL(n) {
32539
32544
  });
32540
32545
  }) };
32541
32546
  }
32542
- const QN = "SzlDJd#4202";
32543
- function RL(n) {
32547
+ const XN = "SzlDJd#4202";
32548
+ function TL(n) {
32544
32549
  const [l, a] = ln(null);
32545
32550
  pa(() => {
32546
32551
  s();
32547
32552
  }, []);
32548
32553
  const s = () => {
32549
- const d = uu.AES.decrypt(n, QN);
32554
+ const d = uu.AES.decrypt(n, XN);
32550
32555
  try {
32551
32556
  const v = JSON.parse(d.toString(uu.enc.Utf8));
32552
32557
  a(v);
@@ -32555,7 +32560,7 @@ function RL(n) {
32555
32560
  };
32556
32561
  return l;
32557
32562
  }
32558
- function TL(n) {
32563
+ function AL(n) {
32559
32564
  const { secertKey: l, storageKey: a } = n;
32560
32565
  return { onParse: (v) => {
32561
32566
  const h = localStorage.getItem(a);
@@ -32581,7 +32586,7 @@ function TL(n) {
32581
32586
  b3(a, h.toString());
32582
32587
  } };
32583
32588
  }
32584
- function AL(n) {
32589
+ function kL(n) {
32585
32590
  const { dataSource: l, rowKey: a, defaultRows: s = [] } = n, d = go(s), [v, h] = ln([]), [g, _] = ln([]);
32586
32591
  return pa(() => {
32587
32592
  if (l && l.length > 0) {
@@ -32602,7 +32607,7 @@ function AL(n) {
32602
32607
  setSelectedKeys: _
32603
32608
  };
32604
32609
  }
32605
- function kL({
32610
+ function OL({
32606
32611
  detailInfo: n,
32607
32612
  labelSpan: l = 3,
32608
32613
  valueSpan: a = 9,
@@ -32695,33 +32700,33 @@ function kL({
32695
32700
  } };
32696
32701
  }
32697
32702
  export {
32698
- SL as AES,
32703
+ EL as AES,
32699
32704
  EM as AuthButton,
32700
- lL as BackHeader,
32701
- pL as CoralButton,
32705
+ uL as BackHeader,
32706
+ hL as CoralButton,
32702
32707
  o6 as CreateForm,
32703
- mL as CustomPagination,
32704
- gL as DynamicForm,
32705
- dL as EditTable,
32706
- _L as FormRules,
32707
- EL as HmacSHA512,
32708
+ yL as CustomPagination,
32709
+ xL as DynamicForm,
32710
+ pL as EditTable,
32711
+ CL as FormRules,
32712
+ bL as HmacSHA512,
32708
32713
  N6 as HmacSM3,
32709
- hL as LoopSlide,
32710
- fL as SearchTable,
32714
+ vL as LoopSlide,
32715
+ dL as SearchTable,
32711
32716
  $F as UploadFile,
32712
32717
  $M as WorkFlowNode,
32713
32718
  PF as compressionImage,
32714
- xL as download,
32715
- uL as fileType,
32716
- yL as method,
32717
- vL as showWorkFlow,
32718
- bL as szxkFunc,
32719
- wL as useCaptcha,
32720
- DL as useChangePwd,
32721
- RL as useConfig,
32722
- kL as useDetailRender,
32723
- TL as useRemember,
32724
- AL as useRowSelection,
32725
- sL as utils,
32726
- CL as verfyCode
32719
+ _L as download,
32720
+ sL as fileType,
32721
+ gL as method,
32722
+ mL as showWorkFlow,
32723
+ wL as szxkFunc,
32724
+ DL as useCaptcha,
32725
+ RL as useChangePwd,
32726
+ TL as useConfig,
32727
+ OL as useDetailRender,
32728
+ AL as useRemember,
32729
+ kL as useRowSelection,
32730
+ cL as utils,
32731
+ SL as verfyCode
32727
32732
  };