@ynput/ayon-frontend-shared 0.6.1 → 0.6.2

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.
@@ -5,7 +5,7 @@ import "primereact/confirmdialog";
5
5
  import { toast as Q } from "react-toastify";
6
6
  import { c as _ } from "./copyToClipboard.es.js";
7
7
  import "uuid";
8
- import { aw as ne, aY as xe, bh as ie, a$ as we, b0 as ke, b1 as Ee, bj as Te, bn as Se, bv as De, bg as je, a as I, bo as Fe } from "./searchTerms.es.js";
8
+ import { aw as ne, aY as xe, bh as ie, a$ as we, b0 as ke, b1 as Ee, bj as Te, bn as Se, bw as De, bg as je, a as I, bo as Fe } from "./searchTerms.es.js";
9
9
  import d, { keyframes as se, css as le } from "styled-components";
10
10
  import z from "clsx";
11
11
  import { BorderedSection as V, Button as P, StatusSelect as Ce, AssigneeSelect as Ae, TagsSelect as Ne, EnumDropdown as $e, Icon as U, getMimeTypeIcon as Re, theme as ze, getFileSizeString as Me, WatcherSelect as Ue } from "@ynput/ayon-react-components";
@@ -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,