@ynput/ayon-frontend-shared 0.6.1 → 0.6.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.
@@ -6185,7 +6185,7 @@ const Oa = PubSub, Da = (t) => !!t?.enum?.length || !!t?.enumResolver, La = (t)
6185
6185
  useSetFrontendPreferencesMutation: ds,
6186
6186
  useInviteUserMutation: ps,
6187
6187
  useAcceptInviteMutation: cs
6188
- } = Nt, ls = (t) => t.split(",").map((e) => e.trim().split(/\s+/).filter(Boolean)).filter((e) => e.length > 0), _ = (t, e) => Object.freeze({
6188
+ } = Nt, ls = (t) => t.split(/[,\r\n\t]/).map((e) => e.trim().split(/\s+/).filter(Boolean)).filter((e) => e.length > 0), _ = (t, e) => Object.freeze({
6189
6189
  rankedValue: "",
6190
6190
  rank: t,
6191
6191
  accessorIndex: -1,
@@ -6207,7 +6207,7 @@ const Oa = PubSub, Da = (t) => !!t?.enum?.length || !!t?.enumResolver, La = (t)
6207
6207
  p && (!a || p.rank > a.rank) && (a = p);
6208
6208
  }
6209
6209
  return a ?? Tt;
6210
- };
6210
+ }, us = (t) => /[\r\n\t]/.test(t) ? t.replace(/[\r\n\t]+/g, ",").replace(/,+/g, ",").replace(/^,|,$/g, "") : null;
6211
6211
  export {
6212
6212
  Ut as $,
6213
6213
  Ct as A,
@@ -6333,8 +6333,9 @@ export {
6333
6333
  Ma as br,
6334
6334
  ms as bs,
6335
6335
  ls as bt,
6336
- E as bu,
6337
- Va as bv,
6336
+ us as bu,
6337
+ E as bv,
6338
+ Va as bw,
6338
6339
  Dt as c,
6339
6340
  Lt as d,
6340
6341
  Rt as e,
@@ -909,7 +909,7 @@ const Fe = 500, qt = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, js = ({
909
909
  Id: t?.id,
910
910
  "Entity type": t?.entityType,
911
911
  "List type": t?.entityListType,
912
- "Items count": t?.items?.length,
912
+ "Items count": t?.data?.count ?? t?.items?.length,
913
913
  Owner: t?.owner,
914
914
  "Created at": t?.createdAt && re(new Date(t?.createdAt), "PPpp"),
915
915
  "Created by": t?.createdBy,