szld-libs 0.2.1 → 0.2.3

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/dist/style.css CHANGED
@@ -1 +1 @@
1
- .backheader-module_main_cac53{display:flex;align-items:center;justify-content:space-between;width:100%;gap:24px}.backheader-module_main_cac53 .backheader-module_title_33439{margin:.5em 0}.backheader-module_main_cac53 .backheader-module_sub_1d015{margin-left:10px;font-weight:400;font-size:14px}.create-form-module_fieldModal_8bf3d{position:relative;display:inline-flex;width:100%;min-width:0;padding:4px 11px;color:#000000e0;font-size:14px;line-height:1.57142857;background-color:#fff;background-image:none;border-width:1px;border-style:solid;border-color:#d9d9d9;border-radius:6px;transition:all .2s;cursor:pointer;white-space:nowrap}.create-form-module_fieldModal_8bf3d:hover{border-color:#4096ff}.create-form-module_fieldModal_8bf3d .create-form-module_content_61f84{flex:1}.create-form-module_fieldModal_8bf3d .create-form-module_suffix_42205{flex:none;font-size:12px;color:#00000073;cursor:pointer;transition:color .3s;margin:0;vertical-align:-1px;display:flex;align-items:center}.create-form-module_fieldModal_8bf3d .create-form-module_placeholder_90d6a{color:#d4d4d4;text-overflow:ellipsis}.search-table-module_search_17add{margin-bottom:20px}.editable-module_editableCellValueWrap_3b3d9{padding:4px 11px;border:1px solid #d9d9d9;border-radius:6px;cursor:pointer}[data-theme=dark] .editable-module_editableCellValueWrap_3b3d9:hover{border:1px solid #434343}.workflownode-module_main_dce7f{margin:10px 0 0;list-style:none}.workflownode-module_main_dce7f .workflownode-module_item_73d7c{padding-bottom:20px;position:relative;margin-bottom:4px}.workflownode-module_main_dce7f .workflownode-module_item_73d7c:last-child .workflownode-module_tail_3cb51{display:none}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_tail_3cb51{position:absolute;left:8px;top:0px;height:100%;padding-top:15px;display:block;box-sizing:border-box}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_tail_3cb51:after{content:"";display:inline-block;width:1px;height:100%;background-color:#cecece}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_node_005fd{position:absolute;border-radius:50%;display:flex;align-items:center;justify-content:center;background-color:#1864ff;left:4px;width:9px;height:9px}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f{position:relative;padding-left:28px;top:-3px}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_btn_b0c06{display:flex;align-items:center;gap:8px;color:#1864ff;cursor:pointer;font-size:12px;margin-top:12px}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_collpase_f2468{top:0px;position:relative;display:flex;align-items:center;gap:16px;font-size:12px;color:#999}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_collpase_f2468 span{color:#1864ff}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_collpase_f2468 .workflownode-module_btn_b0c06{margin-top:0}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_title_cb34c{font-size:16px;font-weight:400;color:#333;margin-bottom:8px}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_dateWrapper_94849{display:flex;align-items:center;gap:20px;font-size:14px;color:#666}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_remark_4f910{margin-top:10px;background:#ffffff;border:4px solid #fafafa;border-radius:2px;font-size:14px;font-weight:400;color:#666;padding:20px;word-break:break-all}.workflownode-module_main_dce7f .workflownode-module_itemActive_2a29d .workflownode-module_tail_3cb51{padding-top:17px}.workflownode-module_main_dce7f .workflownode-module_itemActive_2a29d .workflownode-module_node_005fd{background-color:#1864ff;width:12px;height:12px;left:2px;box-shadow:0 0 10px 2px #1864ff}.workflownode-module_main_dce7f .workflownode-module_itemActive_2a29d .workflownode-module_content_8334f .workflownode-module_title_cb34c{color:#1864ff}.workflownode-module_main_dce7f .workflownode-module_itemDone_489bc .workflownode-module_tail_3cb51:after{background-color:#1864ff}.workflownode-module_main_dce7f .workflownode-module_itemDone_489bc .workflownode-module_node_005fd{background-color:#1864ff}.workflownode-module_main_dce7f .workflownode-module_itemUnDo_2914c .workflownode-module_node_005fd{background-color:#cecece}
1
+ .backheader-module_main_cac53{display:flex;align-items:center;justify-content:space-between;width:100%;gap:24px}.backheader-module_main_cac53 .backheader-module_title_33439{margin:.5em 0}.backheader-module_main_cac53 .backheader-module_sub_1d015{margin-left:10px;font-weight:400;font-size:14px}.create-form-module_fieldModal_8bf3d{position:relative;display:inline-flex;width:100%;min-width:0;padding:4px 11px;color:#000000e0;font-size:14px;line-height:1.57142857;background-color:#fff;background-image:none;border-width:1px;border-style:solid;border-color:#d9d9d9;border-radius:6px;transition:all .2s;cursor:pointer;white-space:nowrap}.create-form-module_fieldModal_8bf3d:hover{border-color:#4096ff}.create-form-module_fieldModal_8bf3d .create-form-module_content_61f84{flex:1}.create-form-module_fieldModal_8bf3d .create-form-module_suffix_42205{flex:none;font-size:12px;color:#00000073;cursor:pointer;transition:color .3s;margin:0;vertical-align:-1px;display:flex;align-items:center}.create-form-module_fieldModal_8bf3d .create-form-module_placeholder_90d6a{color:#d4d4d4;text-overflow:ellipsis}.search-table-module_search_17add{margin-bottom:20px}.editable-module_editableCellValueWrap_3b3d9{padding:4px 11px;border:1px solid #d9d9d9;border-radius:6px;cursor:pointer}[data-theme=dark] .editable-module_editableCellValueWrap_3b3d9:hover{border:1px solid #434343}.workflownode-module_main_dce7f{margin:10px 0 0;list-style:none}.workflownode-module_main_dce7f .workflownode-module_item_73d7c{padding-bottom:20px;position:relative;margin-bottom:4px}.workflownode-module_main_dce7f .workflownode-module_item_73d7c:last-child .workflownode-module_tail_3cb51{display:none}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_tail_3cb51{position:absolute;left:8px;top:0px;height:100%;padding-top:15px;display:block;box-sizing:border-box}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_tail_3cb51:after{content:"";display:inline-block;width:1px;height:100%;background-color:#cecece}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_node_005fd{position:absolute;border-radius:50%;display:flex;align-items:center;justify-content:center;background-color:#1864ff;left:4px;width:9px;height:9px}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f{position:relative;padding-left:28px;top:-3px}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_btn_b0c06{display:flex;align-items:center;gap:8px;color:#1864ff;cursor:pointer;font-size:12px;margin-top:12px}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_collpase_f2468{top:0px;position:relative;display:flex;align-items:center;gap:16px;font-size:12px;color:#999}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_collpase_f2468 span{color:#1864ff}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_collpase_f2468 .workflownode-module_btn_b0c06{margin-top:0}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_title_cb34c{font-size:16px;font-weight:400;color:#333;margin-bottom:8px}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_dateWrapper_94849{display:flex;align-items:center;gap:20px;font-size:14px;color:#666}.workflownode-module_main_dce7f .workflownode-module_item_73d7c .workflownode-module_content_8334f .workflownode-module_remark_4f910{margin-top:10px;background:#ffffff;border:4px solid #fafafa;border-radius:2px;font-size:14px;font-weight:400;color:#666;padding:20px;word-break:break-all;white-space:pre-wrap}.workflownode-module_main_dce7f .workflownode-module_itemActive_2a29d .workflownode-module_tail_3cb51{padding-top:17px}.workflownode-module_main_dce7f .workflownode-module_itemActive_2a29d .workflownode-module_node_005fd{background-color:#1864ff;width:12px;height:12px;left:2px;box-shadow:0 0 10px 2px #1864ff}.workflownode-module_main_dce7f .workflownode-module_itemActive_2a29d .workflownode-module_content_8334f .workflownode-module_title_cb34c{color:#1864ff}.workflownode-module_main_dce7f .workflownode-module_itemDone_489bc .workflownode-module_tail_3cb51:after{background-color:#1864ff}.workflownode-module_main_dce7f .workflownode-module_itemDone_489bc .workflownode-module_node_005fd{background-color:#1864ff}.workflownode-module_main_dce7f .workflownode-module_itemUnDo_2914c .workflownode-module_node_005fd{background-color:#cecece}
@@ -1496,7 +1496,7 @@ const QO = /* @__PURE__ */ Nr.forwardRef(Dw), WO = "backheader-module_main_cac53
1496
1496
  main: WO,
1497
1497
  title: GO,
1498
1498
  sub: qO
1499
- }, { Title: XO, Text: KO } = b_, lM = (v) => {
1499
+ }, { Title: XO, Text: KO } = b_, oM = (v) => {
1500
1500
  const {
1501
1501
  isBack: g = !0,
1502
1502
  title: p,
@@ -1523,7 +1523,7 @@ const QO = /* @__PURE__ */ Nr.forwardRef(Dw), WO = "backheader-module_main_cac53
1523
1523
  var JS = /* @__PURE__ */ ((v) => (v.zip = "application/zip", v.png = "image/png", v.jpg = "image/jpg", v.jpeg = "image/jpeg", v.pdf = "application/pdf", v.doc = "application/msword", v.docx = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", v.pptx = "application/vnd.openxmlformats-officedocument.presentationml.presentation", v.ppt = "application/vnd.ms-powerpoint", v.xlsx = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", v.xls = "application/vnd.ms-excel", v.txt = "text/plain", v.csv = "text/csv", v.svg = "image/svg+xml", v))(JS || {});
1524
1524
  const GS = new Map(Object.entries(JS));
1525
1525
  var Cf = /* @__PURE__ */ ((v) => (v.zip = ".zip", v.png = ".png", v.jpg = ".jpg", v.jpeg = ".jpeg", v.pdf = ".pdf", v.doc = ".doc", v.docx = ".docx", v.ppt = ".ppt", v.pptx = ".pptx", v.xls = ".xls", v.xlsx = ".xlsx", v.txt = ".txt", v.csv = ".csv", v.svg = ".svg", v.rar = ".rar", v))(Cf || {});
1526
- const uM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1526
+ const sM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1527
1527
  __proto__: null,
1528
1528
  FileType: JS,
1529
1529
  FileTypeMap: GS,
@@ -1590,7 +1590,15 @@ const uM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1590
1590
  }
1591
1591
  return g;
1592
1592
  }
1593
- }, oM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1593
+ };
1594
+ function uN() {
1595
+ var v = URL.createObjectURL(new Blob()), g = v.toString();
1596
+ return URL.revokeObjectURL(v), g.substr(g.lastIndexOf("/") + 1);
1597
+ }
1598
+ const oN = () => {
1599
+ const v = "FORCERELOAD";
1600
+ sessionStorage.getItem(v) !== "1" ? (sessionStorage.setItem(v, "1"), window.location.reload()) : sessionStorage.removeItem(v);
1601
+ }, cM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1594
1602
  __proto__: null,
1595
1603
  filterObject: ZO,
1596
1604
  getBase64: _w,
@@ -1603,11 +1611,13 @@ const uM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1603
1611
  getSessionStorage: aN,
1604
1612
  removeSessionStorage: iN,
1605
1613
  arrayDeduplication: lN,
1606
- JSONParse: e1
1614
+ JSONParse: e1,
1615
+ uuid: uN,
1616
+ forceReload: oN
1607
1617
  }, Symbol.toStringTag, { value: "Module" }));
1608
- var uN = { exports: {} }, ga = {}, VS = { exports: {} }, PS = {};
1618
+ var sN = { exports: {} }, ga = {}, VS = { exports: {} }, PS = {};
1609
1619
  var ew;
1610
- function oN() {
1620
+ function cN() {
1611
1621
  return ew || (ew = 1, function(v) {
1612
1622
  function g(J, xe) {
1613
1623
  var se = J.length;
@@ -1826,7 +1836,7 @@ function oN() {
1826
1836
  }
1827
1837
  var BS = {};
1828
1838
  var tw;
1829
- function sN() {
1839
+ function fN() {
1830
1840
  return tw || (tw = 1, function(v) {
1831
1841
  process.env.NODE_ENV !== "production" && function() {
1832
1842
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
@@ -2093,11 +2103,11 @@ function sN() {
2093
2103
  var nw;
2094
2104
  function Ow() {
2095
2105
  return nw || (nw = 1, function(v) {
2096
- process.env.NODE_ENV === "production" ? v.exports = oN() : v.exports = sN();
2106
+ process.env.NODE_ENV === "production" ? v.exports = cN() : v.exports = fN();
2097
2107
  }(VS)), VS.exports;
2098
2108
  }
2099
2109
  var rw;
2100
- function cN() {
2110
+ function dN() {
2101
2111
  if (rw)
2102
2112
  return ga;
2103
2113
  rw = 1;
@@ -7724,7 +7734,7 @@ Error generating stack: ` + d.message + `
7724
7734
  }
7725
7735
  var Sa = {};
7726
7736
  var aw;
7727
- function fN() {
7737
+ function pN() {
7728
7738
  return aw || (aw = 1, process.env.NODE_ENV !== "production" && function() {
7729
7739
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
7730
7740
  var v = cu, g = Ow(), p = v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, R = !1;
@@ -12748,7 +12758,7 @@ Check the render method of \`` + e + "`." : "";
12748
12758
  };
12749
12759
  }
12750
12760
  }
12751
- function ZN(e) {
12761
+ function eM(e) {
12752
12762
  return e;
12753
12763
  }
12754
12764
  function wR(e) {
@@ -15178,9 +15188,9 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
15178
15188
  }
15179
15189
  return [h, s];
15180
15190
  }
15181
- function JN(e, t, a) {
15191
+ function tM(e, t, a) {
15182
15192
  }
15183
- function eM(e, t, a) {
15193
+ function nM(e, t, a) {
15184
15194
  }
15185
15195
  function s0(e, t, a) {
15186
15196
  var i = gt, u = cl(), s, f = lr();
@@ -20587,34 +20597,34 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
20587
20597
  }
20588
20598
  }
20589
20599
  }
20590
- process.env.NODE_ENV === "production" ? (g(), v.exports = cN()) : v.exports = fN();
20591
- })(uN);
20592
- const dN = (v) => new Promise((g) => {
20600
+ process.env.NODE_ENV === "production" ? (g(), v.exports = dN()) : v.exports = pN();
20601
+ })(sN);
20602
+ const vN = (v) => new Promise((g) => {
20593
20603
  const p = new FileReader();
20594
20604
  p.onloadend = (R) => g(R.target.result), p.readAsDataURL(v);
20595
- }), pN = (v) => new Promise((g) => {
20605
+ }), hN = (v) => new Promise((g) => {
20596
20606
  const p = new Image();
20597
20607
  p.onload = () => g(p), p.src = v;
20598
- }), vN = (v, g, p) => new Promise(
20608
+ }), mN = (v, g, p) => new Promise(
20599
20609
  (R) => v.toBlob((_) => R(_), g, p)
20600
- ), hN = (v) => {
20610
+ ), yN = (v) => {
20601
20611
  const R = v.width, _ = v.height;
20602
20612
  let A = v.width, S = v.height;
20603
20613
  return (R > 1400 || _ > 1400) && (R / _ > 1400 / 1400 ? (A = 1400, S = Math.round(1400 * (_ / R))) : (S = 1400, A = Math.round(1400 * (R / _)))), {
20604
20614
  width: A,
20605
20615
  height: S
20606
20616
  };
20607
- }, mN = async (v, g = "image/jpeg", p = 0.5, R = 300) => {
20617
+ }, gN = async (v, g = "image/jpeg", p = 0.5, R = 300) => {
20608
20618
  const _ = v.name;
20609
20619
  if (v.size / 1024 < R)
20610
20620
  return v;
20611
- const A = document.createElement("canvas"), S = A.getContext("2d"), Q = await dN(v), H = await pN(Q), j = hN(H);
20621
+ const A = document.createElement("canvas"), S = A.getContext("2d"), Q = await vN(v), H = await hN(Q), j = yN(H);
20612
20622
  A.width = j.width, A.height = j.height, S.clearRect(0, 0, j.width, j.height), S.drawImage(H, 0, 0, j.width, j.height);
20613
- const K = await vN(A, g, p);
20623
+ const K = await mN(A, g, p);
20614
20624
  return new File([K], _, {
20615
20625
  type: g
20616
20626
  });
20617
- }, iw = [Cf.jpeg, Cf.jpg, Cf.png], yN = (v) => {
20627
+ }, iw = [Cf.jpeg, Cf.jpg, Cf.png], SN = (v) => {
20618
20628
  const {
20619
20629
  maxCount: g = 1,
20620
20630
  listType: p = "picture-card",
@@ -20635,8 +20645,8 @@ const dN = (v) => new Promise((g) => {
20635
20645
  Q
20636
20646
  ] }), Ue = (Se) => new Promise((rt, Be) => {
20637
20647
  const Ct = A.split(","), Ie = Gm(Se.name) || "";
20638
- Ct.includes(Ie) || (FT.error(`只允许上传 ${A} 文件`), Be(!1)), Se.size / 1024 / 1024 < _ || (FT.error(`文件必须小于${_}MB`), Be(!1)), H && rt(
20639
- mN(
20648
+ A && !Ct.includes(Ie) && (FT.error(`只允许上传 ${A} 文件`), Be(!1)), Se.size / 1024 / 1024 < _ || (FT.error(`文件必须小于${_}MB`), Be(!1)), H && rt(
20649
+ gN(
20640
20650
  Se,
20641
20651
  H.type,
20642
20652
  H.quality,
@@ -20692,12 +20702,12 @@ const dN = (v) => new Promise((g) => {
20692
20702
  }
20693
20703
  )
20694
20704
  ] });
20695
- }, gN = "create-form-module_fieldModal_8bf3d", SN = "create-form-module_content_61f84", CN = "create-form-module_suffix_42205", EN = "create-form-module_placeholder_90d6a", Wm = {
20696
- fieldModal: gN,
20697
- content: SN,
20698
- suffix: CN,
20699
- placeholder: EN
20700
- }, TN = {
20705
+ }, CN = "create-form-module_fieldModal_8bf3d", EN = "create-form-module_content_61f84", TN = "create-form-module_suffix_42205", wN = "create-form-module_placeholder_90d6a", Wm = {
20706
+ fieldModal: CN,
20707
+ content: EN,
20708
+ suffix: TN,
20709
+ placeholder: wN
20710
+ }, RN = {
20701
20711
  labelCol: {
20702
20712
  span: 4
20703
20713
  },
@@ -20713,7 +20723,7 @@ const dN = (v) => new Promise((g) => {
20713
20723
  default:
20714
20724
  return "value";
20715
20725
  }
20716
- }, wN = (v) => {
20726
+ }, xN = (v) => {
20717
20727
  const {
20718
20728
  items: g,
20719
20729
  rowProps: p,
@@ -20743,7 +20753,7 @@ const dN = (v) => new Promise((g) => {
20743
20753
  {
20744
20754
  layout: "horizontal",
20745
20755
  form: R == null ? void 0 : R.form,
20746
- ...TN,
20756
+ ...RN,
20747
20757
  ...R || {},
20748
20758
  children: /* @__PURE__ */ Ce(D_, { gutter: 16, ...p, children: g.filter((j) => !j.hidden).map((j, K) => /* @__PURE__ */ Ce(
20749
20759
  __,
@@ -20788,7 +20798,7 @@ const dN = (v) => new Promise((g) => {
20788
20798
  H = /* @__PURE__ */ Ce(NS.Password, { ...p });
20789
20799
  break;
20790
20800
  case "modal":
20791
- H = /* @__PURE__ */ Ce(RN, { ...p });
20801
+ H = /* @__PURE__ */ Ce(bN, { ...p });
20792
20802
  break;
20793
20803
  case "checkbox":
20794
20804
  H = /* @__PURE__ */ Ce(A_.Group, { ...p });
@@ -20869,7 +20879,7 @@ const dN = (v) => new Promise((g) => {
20869
20879
  );
20870
20880
  break;
20871
20881
  case "upload":
20872
- H = /* @__PURE__ */ Ce(yN, { ...p });
20882
+ H = /* @__PURE__ */ Ce(SN, { ...p });
20873
20883
  break;
20874
20884
  case "btns":
20875
20885
  H = /* @__PURE__ */ Ce(ow, { children: p == null ? void 0 : p.map((j) => /* @__PURE__ */ R_(
@@ -20901,7 +20911,7 @@ const dN = (v) => new Promise((g) => {
20901
20911
  onChange: _,
20902
20912
  ref: S
20903
20913
  });
20904
- }, RN = (v) => {
20914
+ }, bN = (v) => {
20905
20915
  const { placeholder: g, labelKey: p, onToggle: R, value: _, onClear: A, className: S, style: Q } = v;
20906
20916
  return /* @__PURE__ */ dn(
20907
20917
  "div",
@@ -20914,13 +20924,13 @@ const dN = (v) => new Promise((g) => {
20914
20924
  ]
20915
20925
  }
20916
20926
  );
20917
- }, xN = "search-table-module_search_17add", bN = {
20918
- search: xN
20927
+ }, kN = "search-table-module_search_17add", DN = {
20928
+ search: kN
20919
20929
  };
20920
- function sM(v) {
20930
+ function fM(v) {
20921
20931
  const { tableProps: g = {}, searchProps: p } = v, { columns: R = [], minColumnWidth: _ = 200, ...A } = g;
20922
20932
  return /* @__PURE__ */ dn(Xm, { children: [
20923
- p && /* @__PURE__ */ Ce(wN, { hiddenTitle: !0, ...p, items: p.items }),
20933
+ p && /* @__PURE__ */ Ce(xN, { hiddenTitle: !0, ...p, items: p.items }),
20924
20934
  /* @__PURE__ */ Ce(
20925
20935
  cw,
20926
20936
  {
@@ -20932,7 +20942,7 @@ function sM(v) {
20932
20942
  )
20933
20943
  },
20934
20944
  ...A,
20935
- className: $p(bN.table, g == null ? void 0 : g.className),
20945
+ className: $p(DN.table, g == null ? void 0 : g.className),
20936
20946
  pagination: typeof (g == null ? void 0 : g.pagination) == "boolean" ? g.pagination : {
20937
20947
  hideOnSinglePage: !0,
20938
20948
  showPrevNextJumpers: !0,
@@ -20945,13 +20955,13 @@ function sM(v) {
20945
20955
  )
20946
20956
  ] });
20947
20957
  }
20948
- const kN = "editable-module_editableCellValueWrap_3b3d9", DN = {
20949
- editableCellValueWrap: kN
20950
- }, Mw = cu.createContext(null), _N = ({ index: v, ...g }) => {
20958
+ const _N = "editable-module_editableCellValueWrap_3b3d9", ON = {
20959
+ editableCellValueWrap: _N
20960
+ }, Mw = cu.createContext(null), NN = ({ index: v, ...g }) => {
20951
20961
  const [p] = Ip.useForm();
20952
20962
  return /* @__PURE__ */ Ce(Ip, { form: p, component: !1, children: /* @__PURE__ */ Ce(Mw.Provider, { value: p, children: /* @__PURE__ */ Ce("tr", { ...g }) }) });
20953
20963
  };
20954
- function ON(v) {
20964
+ function MN(v) {
20955
20965
  console.log(v, "props");
20956
20966
  const {
20957
20967
  title: g,
@@ -20995,11 +21005,11 @@ function ON(v) {
20995
21005
  }
20996
21006
  )), /* @__PURE__ */ Ce("td", { children: Ze });
20997
21007
  }
20998
- function cM(v) {
21008
+ function dM(v) {
20999
21009
  const { columns: g, onChange: p, ...R } = v, _ = {
21000
21010
  body: {
21001
- row: _N,
21002
- cell: ON
21011
+ row: NN,
21012
+ cell: MN
21003
21013
  }
21004
21014
  }, A = g == null ? void 0 : g.map((S) => S.editable ? {
21005
21015
  ...S,
@@ -21014,32 +21024,32 @@ function cM(v) {
21014
21024
  {
21015
21025
  ...R,
21016
21026
  components: _,
21017
- rowClassName: () => DN.editableRow,
21027
+ rowClassName: () => ON.editableRow,
21018
21028
  columns: A
21019
21029
  }
21020
21030
  );
21021
21031
  }
21022
- const NN = (v) => {
21032
+ const LN = (v) => {
21023
21033
  const { auth: g = !0, ...p } = v;
21024
21034
  return g ? /* @__PURE__ */ Ce(XS, { ...p }) : null;
21025
- }, fM = (v) => {
21035
+ }, pM = (v) => {
21026
21036
  const { PId: g, auths: p, ...R } = v, _ = qm(() => !!(p && p.find((A) => A.PId === g)), [g, p]);
21027
- return /* @__PURE__ */ Ce(NN, { ...R, auth: _ });
21028
- }, MN = "workflownode-module_main_dce7f", LN = "workflownode-module_item_73d7c", zN = "workflownode-module_tail_3cb51", UN = "workflownode-module_node_005fd", AN = "workflownode-module_content_8334f", FN = "workflownode-module_btn_b0c06", HN = "workflownode-module_collpase_f2468", jN = "workflownode-module_title_cb34c", VN = "workflownode-module_dateWrapper_94849", PN = "workflownode-module_remark_4f910", BN = "workflownode-module_itemActive_2a29d", IN = "workflownode-module_itemDone_489bc", $N = "workflownode-module_itemUnDo_2914c", Pn = {
21029
- main: MN,
21030
- item: LN,
21031
- tail: zN,
21032
- node: UN,
21033
- content: AN,
21034
- btn: FN,
21035
- collpase: HN,
21036
- title: jN,
21037
- dateWrapper: VN,
21038
- remark: PN,
21039
- itemActive: BN,
21040
- itemDone: IN,
21041
- itemUnDo: $N
21042
- }, YN = (v) => {
21037
+ return /* @__PURE__ */ Ce(LN, { ...R, auth: _ });
21038
+ }, zN = "workflownode-module_main_dce7f", UN = "workflownode-module_item_73d7c", AN = "workflownode-module_tail_3cb51", FN = "workflownode-module_node_005fd", HN = "workflownode-module_content_8334f", jN = "workflownode-module_btn_b0c06", VN = "workflownode-module_collpase_f2468", PN = "workflownode-module_title_cb34c", BN = "workflownode-module_dateWrapper_94849", IN = "workflownode-module_remark_4f910", $N = "workflownode-module_itemActive_2a29d", YN = "workflownode-module_itemDone_489bc", QN = "workflownode-module_itemUnDo_2914c", Pn = {
21039
+ main: zN,
21040
+ item: UN,
21041
+ tail: AN,
21042
+ node: FN,
21043
+ content: HN,
21044
+ btn: jN,
21045
+ collpase: VN,
21046
+ title: PN,
21047
+ dateWrapper: BN,
21048
+ remark: IN,
21049
+ itemActive: $N,
21050
+ itemDone: YN,
21051
+ itemUnDo: QN
21052
+ }, WN = (v) => {
21043
21053
  const { data: g, current: p, rowKey: R, renderContent: _ } = v, [A, S] = IS(!1), Q = qm(() => v.currentIndex !== void 0 ? v.currentIndex : !p || g.length === 0 ? 0 : g.findIndex((G) => G.PNId === p), [p, g]), H = qm(() => Q > 1 ? A ? 0 : Q - 1 : 0, [Q, A]), j = () => {
21044
21054
  S(!0);
21045
21055
  };
@@ -21094,7 +21104,7 @@ const NN = (v) => {
21094
21104
  typeof R == "string" ? K[R] : R(K)
21095
21105
  ))
21096
21106
  ] });
21097
- }, dM = (v) => {
21107
+ }, vM = (v) => {
21098
21108
  const { current: g, data: p, rowKey: R, renderContent: _, currentIndex: A, ...S } = v;
21099
21109
  return (() => {
21100
21110
  sw.info({
@@ -21102,7 +21112,7 @@ const NN = (v) => {
21102
21112
  title: "流程节点",
21103
21113
  width: 700,
21104
21114
  content: /* @__PURE__ */ Ce(
21105
- YN,
21115
+ WN,
21106
21116
  {
21107
21117
  rowKey: R,
21108
21118
  renderContent: _,
@@ -21117,34 +21127,34 @@ const NN = (v) => {
21117
21127
  ...S
21118
21128
  });
21119
21129
  })(), null;
21120
- }, QN = (v, g) => {
21130
+ }, GN = (v, g) => {
21121
21131
  const p = new URL(v), R = new URL(g);
21122
21132
  return p.protocol === R.protocol && p.host === R.host && p.port === R.port;
21123
- }, WN = (v) => {
21133
+ }, qN = (v) => {
21124
21134
  const g = String(v).split("/");
21125
21135
  return g[g.length - 1];
21126
- }, GN = (v) => {
21136
+ }, XN = (v) => {
21127
21137
  var p;
21128
21138
  return (p = v.headers.get("content-disposition")) == null ? void 0 : p.split(";")[1].split("=")[1];
21129
- }, qN = (v, g) => {
21130
- const p = g || WN(v);
21131
- if (QN(v, window.location.href)) {
21139
+ }, KN = (v, g) => {
21140
+ const p = g || qN(v);
21141
+ if (GN(v, window.location.href)) {
21132
21142
  qS(v, p);
21133
21143
  return;
21134
21144
  }
21135
21145
  let R = g;
21136
- fetch(v, { method: "get" }).then((_) => (R || (R = GN(_)), _.blob())).then((_) => {
21146
+ fetch(v, { method: "get" }).then((_) => (R || (R = XN(_)), _.blob())).then((_) => {
21137
21147
  Lw(_, R || p);
21138
21148
  }).catch(() => {
21139
21149
  qS(v, "");
21140
21150
  });
21141
- }, XN = (v) => {
21151
+ }, ZN = (v) => {
21142
21152
  for (var g = v.split(","), p = g[0].match(/:(.*?);/)[1], R = window.atob(g[1]), _ = R.length, A = new Uint8Array(_); _--; )
21143
21153
  A[_] = R.charCodeAt(_);
21144
21154
  return new Blob([A], { type: p });
21145
21155
  }, Lw = (v, g) => {
21146
21156
  let p = "";
21147
- v instanceof Blob ? p = window.URL.createObjectURL(v) : p = window.URL.createObjectURL(XN(v));
21157
+ v instanceof Blob ? p = window.URL.createObjectURL(v) : p = window.URL.createObjectURL(ZN(v));
21148
21158
  const R = window.navigator;
21149
21159
  if (R.msSaveOrOpenBlob) {
21150
21160
  R.msSaveOrOpenBlob(v, g);
@@ -21154,12 +21164,12 @@ const NN = (v) => {
21154
21164
  }, qS = (v, g) => {
21155
21165
  let p = document.createElement("a");
21156
21166
  p.style.display = "none", p.href = v, p.target = "_blank", p.download = g, document.body.appendChild(p), p.click(), document.body.removeChild(p);
21157
- }, pM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21167
+ }, hM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21158
21168
  __proto__: null,
21159
- downloadUrl: qN,
21169
+ downloadUrl: KN,
21160
21170
  downloadBlob: Lw
21161
21171
  }, Symbol.toStringTag, { value: "Module" }));
21162
- class KN {
21172
+ class JN {
21163
21173
  constructor(g) {
21164
21174
  UT(this, "options", {
21165
21175
  id: "",
@@ -21215,21 +21225,21 @@ class KN {
21215
21225
  return "rgb(" + R + "," + _ + "," + A + ")";
21216
21226
  }
21217
21227
  }
21218
- const vM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21228
+ const mM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21219
21229
  __proto__: null,
21220
- getGVerify: KN
21230
+ getGVerify: JN
21221
21231
  }, Symbol.toStringTag, { value: "Module" }));
21222
21232
  export {
21223
- NN as AuthButton,
21224
- lM as BackHeader,
21225
- fM as CoralButton,
21226
- wN as CreateForm,
21227
- cM as EditTable,
21228
- sM as SearchTable,
21229
- yN as UploadFile,
21230
- pM as download,
21231
- uM as fileType,
21232
- dM as showWorkFlow,
21233
- oM as utils,
21234
- vM as verfyCode
21233
+ LN as AuthButton,
21234
+ oM as BackHeader,
21235
+ pM as CoralButton,
21236
+ xN as CreateForm,
21237
+ dM as EditTable,
21238
+ fM as SearchTable,
21239
+ SN as UploadFile,
21240
+ hM as download,
21241
+ sM as fileType,
21242
+ vM as showWorkFlow,
21243
+ cM as utils,
21244
+ mM as verfyCode
21235
21245
  };