szld-libs 0.2.19 → 0.2.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.
@@ -21115,7 +21115,7 @@ const k_ = (v) => {
21115
21115
  const { auth: x = !0, ...f } = v;
21116
21116
  return x ? /* @__PURE__ */ Ve(om, { ...f }) : null;
21117
21117
  }, PT = (v) => {
21118
- const { PId: x, auths: f, ...m } = v, D = Zd(() => !!(f && f.find((_) => _.PId === x)), [x, f]);
21118
+ const { PId: x, auths: f, ...m } = v, D = Zd(() => f ? !!(typeof x == "number" && f.find((_) => _.PId === x) || Array.isArray(x) && f.filter((_) => x.includes(_.PId)).length > 0) : !1, [x, f]);
21119
21119
  return /* @__PURE__ */ Ve(k_, { ...m, auth: D });
21120
21120
  }, B_ = "workflownode-module_main_dce7f", F_ = "workflownode-module_item_73d7c", O_ = "workflownode-module_tail_3cb51", N_ = "workflownode-module_node_005fd", L_ = "workflownode-module_content_8334f", z_ = "workflownode-module_btn_b0c06", M_ = "workflownode-module_collpase_f2468", U_ = "workflownode-module_title_cb34c", H_ = "workflownode-module_dateWrapper_94849", P_ = "workflownode-module_remark_4f910", j_ = "workflownode-module_itemActive_2a29d", V_ = "workflownode-module_itemDone_489bc", I_ = "workflownode-module_itemUnDo_2914c", sr = {
21121
21121
  main: B_,