szld-libs 0.4.22 → 0.4.24

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.
@@ -26503,7 +26503,7 @@ const en = rO.exports, Vm = (e, r) => {
26503
26503
  } catch {
26504
26504
  t = [];
26505
26505
  }
26506
- return r === "time-picker" && !t && ((p = e.json) != null && p["auto-generate"]) && ((m = e.json) == null ? void 0 : m["auto-generate-type"]) === "currenttime" && (t = en()), e.attrtype === 1 && (t = cV(e.children || [])), t || null;
26506
+ return r === "time-picker" && !t && ((p = e.json) != null && p["auto-generate"]) && ((m = e.json) == null ? void 0 : m["auto-generate-type"]) === "currenttime" && (t = en().format("YYYY-MM-DD HH:mm:ss:ss")), e.attrtype === 1 && (t = cV(e.children || [])), t || null;
26507
26507
  }, sT = (e) => e && e < en().startOf("day"), uT = (e, r, t) => {
26508
26508
  let i = [];
26509
26509
  return t.forEach((l) => {
@@ -26633,10 +26633,6 @@ const hV = (e, r) => {
26633
26633
  let t = ss.cloneDeep(e);
26634
26634
  const { attr_list: i = [] } = t, { isMobile: l = !1, guid: f, isListToObj: c = !1, isAutoFill: p = !0, onlyNumber: m = "" } = e;
26635
26635
  let d = [];
26636
- p && ((b = t == null ? void 0 : t.attr_list) == null || b.forEach((x) => {
26637
- var _, T, S, R, k, D;
26638
- (_ = x == null ? void 0 : x.json) != null && _["auto-generate"] && ((T = x == null ? void 0 : x.json) != null && T["auto-generate-type"]) && (((S = x == null ? void 0 : x.json) == null ? void 0 : S["auto-generate-type"]) === "currenttime" && (x.attrvalue = en().format("YYYY-MM-DD HH:mm:ss")), ((R = x == null ? void 0 : x.json) == null ? void 0 : R["auto-generate-type"]) === "guid" && (x.attrvalue = m || f || "")), (k = x == null ? void 0 : x.json) != null && k.default && (x.attrvalue = (D = x == null ? void 0 : x.json) == null ? void 0 : D.default);
26639
- }));
26640
26636
  const g = (x, _) => {
26641
26637
  try {
26642
26638
  const T = new Map(x.map((S, R) => [S.attrid, R]));
@@ -26707,7 +26703,11 @@ const hV = (e, r) => {
26707
26703
  }
26708
26704
  return x;
26709
26705
  };
26710
- return t.attr_list && Array.isArray(t.attr_list) && g(i, r), {
26706
+ return t.attr_list && Array.isArray(t.attr_list) && g(i, r), p && ((b = t == null ? void 0 : t.attr_list) == null || b.forEach((x) => {
26707
+ var T, S, R, k, D, O;
26708
+ const _ = (x == null ? void 0 : x.attrvalue) || "";
26709
+ (T = x == null ? void 0 : x.json) != null && T["auto-generate"] && ((S = x == null ? void 0 : x.json) != null && S["auto-generate-type"]) && !_ && (((R = x == null ? void 0 : x.json) == null ? void 0 : R["auto-generate-type"]) === "currenttime" && (x.attrvalue = en().format("YYYY-MM-DD HH:mm:ss")), ((k = x == null ? void 0 : x.json) == null ? void 0 : k["auto-generate-type"]) === "guid" && !_ && (x.attrvalue = m || f || "")), (D = x == null ? void 0 : x.json) != null && D.default && !_ && (x.attrvalue = (O = x == null ? void 0 : x.json) == null ? void 0 : O.default);
26710
+ })), {
26711
26711
  updatedData: c ? lO(t.attr_list || []) : t,
26712
26712
  uploadedFiles: d
26713
26713
  };