@ynput/ayon-frontend-shared 0.9.0 → 0.10.0
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/DetailsPanel.es.js +39 -39
- package/dist/ListTable.es.js +738 -651
- package/dist/NewEntity.es.js +2 -2
- package/dist/ProjectTreeTable.es.js +827 -827
- package/dist/Slicer.es.js +10 -10
- package/dist/Views.es.js +36 -34
- package/dist/chunks/ColumnDropIndicator.es.js +27 -21
- package/dist/chunks/EntityPickerDialog.es.js +19 -19
- package/dist/chunks/Feed.es.js +77 -77
- package/dist/chunks/FilmstripEntityCard.es.js +1 -1
- package/dist/chunks/MetaWidget.es.js +444 -439
- package/dist/chunks/ReviewablesSelector.es.js +1 -1
- package/dist/chunks/Slicer.es.js +32 -32
- package/dist/chunks/TableExportContextInstance.es.js +408 -469
- package/dist/chunks/Watchers.es.js +1 -1
- package/dist/chunks/getUris.es.js +1069 -1057
- package/dist/chunks/useLocalStorage.es.js +78 -0
- package/dist/components.es.js +50 -50
- package/dist/context.es.js +348 -337
- package/dist/hooks.es.js +218 -187
- package/dist/types/Actions.d.ts +17 -16
- package/dist/types/ContextMenu.d.ts +17 -16
- package/dist/types/DetailsPanel.d.ts +17 -16
- package/dist/types/EntityPickerDialog.d.ts +17 -16
- package/dist/types/Feed.d.ts +17 -16
- package/dist/types/ListTable.d.ts +27 -17
- package/dist/types/NewEntity.d.ts +17 -16
- package/dist/types/ProjectTreeTable.d.ts +18 -16
- package/dist/types/ProjectsTable.d.ts +17 -16
- package/dist/types/RepresentationsList.d.ts +17 -16
- package/dist/types/SimpleTable.d.ts +17 -16
- package/dist/types/Slicer.d.ts +17 -16
- package/dist/types/Views.d.ts +18 -17
- package/dist/types/api.d.ts +18 -17
- package/dist/types/components.d.ts +18 -17
- package/dist/types/context.d.ts +26 -17
- package/dist/types/hooks.d.ts +20 -17
- package/dist/types/index.d.ts +17 -16
- package/dist/types/util.d.ts +17 -16
- package/package.json +1 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { useRef as f, useState as I, useEffect as L, useCallback as p } from "react";
|
|
2
|
+
const g = "local-storage", w = (t) => {
|
|
3
|
+
window.dispatchEvent(
|
|
4
|
+
new CustomEvent(g, { detail: { key: t } })
|
|
5
|
+
);
|
|
6
|
+
}, d = (t, e = null) => {
|
|
7
|
+
if (!t) return e;
|
|
8
|
+
try {
|
|
9
|
+
return JSON.parse(t);
|
|
10
|
+
} catch {
|
|
11
|
+
return e;
|
|
12
|
+
}
|
|
13
|
+
}, v = (t, e) => {
|
|
14
|
+
if (typeof window > "u") return e;
|
|
15
|
+
try {
|
|
16
|
+
return d(localStorage.getItem(t), e);
|
|
17
|
+
} catch {
|
|
18
|
+
return e;
|
|
19
|
+
}
|
|
20
|
+
}, N = (t, e) => {
|
|
21
|
+
if (!(typeof window > "u"))
|
|
22
|
+
try {
|
|
23
|
+
localStorage.setItem(t, JSON.stringify(e)), w(t);
|
|
24
|
+
} catch (s) {
|
|
25
|
+
console.error(s);
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
function y(t, e) {
|
|
29
|
+
const s = f(e);
|
|
30
|
+
s.current = e;
|
|
31
|
+
const c = f(null), [i, S] = I(() => {
|
|
32
|
+
const n = localStorage.getItem(t);
|
|
33
|
+
return c.current = n, d(n, e);
|
|
34
|
+
}), u = f(i);
|
|
35
|
+
u.current = i, L(() => {
|
|
36
|
+
const n = (r = !1) => {
|
|
37
|
+
const l = localStorage.getItem(t);
|
|
38
|
+
if (!r && l === c.current) return;
|
|
39
|
+
c.current = l;
|
|
40
|
+
const m = d(l, s.current);
|
|
41
|
+
u.current = m, S(m);
|
|
42
|
+
};
|
|
43
|
+
if (n(!0), !c.current)
|
|
44
|
+
try {
|
|
45
|
+
const r = JSON.stringify(s.current);
|
|
46
|
+
localStorage.setItem(t, r), c.current = r;
|
|
47
|
+
} catch (r) {
|
|
48
|
+
console.error(r);
|
|
49
|
+
}
|
|
50
|
+
function o(r) {
|
|
51
|
+
r.key !== null && r.key !== t || n();
|
|
52
|
+
}
|
|
53
|
+
function a(r) {
|
|
54
|
+
r.detail?.key === t && n();
|
|
55
|
+
}
|
|
56
|
+
return window.addEventListener("storage", o), window.addEventListener(g, a), () => {
|
|
57
|
+
window.removeEventListener("storage", o), window.removeEventListener(g, a);
|
|
58
|
+
};
|
|
59
|
+
}, [t]);
|
|
60
|
+
const E = p(
|
|
61
|
+
(n) => {
|
|
62
|
+
try {
|
|
63
|
+
const o = typeof n == "function" ? n(u.current) : n, a = JSON.stringify(o);
|
|
64
|
+
if (localStorage.getItem(t) !== a && (localStorage.setItem(t, a), setTimeout(() => w(t), 0)), a === c.current) return;
|
|
65
|
+
u.current = o, c.current = a, S(o);
|
|
66
|
+
} catch (o) {
|
|
67
|
+
console.error(o);
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
[t]
|
|
71
|
+
);
|
|
72
|
+
return [i, E];
|
|
73
|
+
}
|
|
74
|
+
export {
|
|
75
|
+
v as r,
|
|
76
|
+
y as u,
|
|
77
|
+
N as w
|
|
78
|
+
};
|
package/dist/components.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { C as gt, S as bt, A as Re, a as wt, T as vt, D as yt, b as Et, c as St, d as Ve, e as xe, f as kt, g as Ct, h as Ot, M as Tt, F as It, i as Pt, j as At, k as Dt, l as Rt, m as Vt, B as xt, L as Ft, n as _t, o as Lt, p as Mt, q as Nt, r as Ut, s as Bt } from "./chunks/ReviewablesSelector.es.js";
|
|
2
|
-
import { t as Lo, u as Mo, v as No, w as Uo, x as Bo, y as $o, z as Go, E as zo, G as Ho, H as Wo, I as Yo, J as jo, K as Ko, N as
|
|
2
|
+
import { t as Lo, u as Mo, v as No, w as Uo, x as Bo, y as $o, z as Go, E as zo, G as Ho, H as Wo, I as Yo, J as jo, K as Ko, N as Qo, O as qo, Q as Xo, P as Jo, U as Zo, R as en, V as tn, W as sn, X as an, Y as on, Z as nn, _ as rn, $ as ln, a0 as cn, a1 as un, a2 as dn, a3 as pn, a4 as fn, a5 as mn, a6 as hn } from "./chunks/ReviewablesSelector.es.js";
|
|
3
3
|
import { jsxs as F, jsx as d, Fragment as X } from "react/jsx-runtime";
|
|
4
4
|
import { useState as x, useRef as ie, useCallback as H, useEffect as W, useMemo as B, createElement as $t, useId as Gt, useContext as zt } from "react";
|
|
5
5
|
import { matchSorter as Fe } from "match-sorter";
|
|
6
6
|
import { InputText as Ke, Icon as pe, Panel as ve, InputPassword as Ht, Button as Te, Section as Wt, SEARCH_FILTER_ID as Yt } from "@ynput/ayon-react-components";
|
|
7
7
|
import ue from "clsx";
|
|
8
8
|
import { B as bn, a as wn, S as vn } from "./chunks/SimpleForm.es.js";
|
|
9
|
-
import {
|
|
9
|
+
import { d as Qe, P as jt } from "./chunks/MetaWidget.es.js";
|
|
10
10
|
import { A as En, k as Sn, l as kn, m as Cn, n as On, L as Tn, o as In, q as Pn, r as An, s as Dn } from "./chunks/MetaWidget.es.js";
|
|
11
11
|
import { createPortal as Kt } from "react-dom";
|
|
12
|
-
import { format as de, parseISO as
|
|
12
|
+
import { format as de, parseISO as qe, isValid as Xe } from "date-fns";
|
|
13
13
|
import { B as _e, e as Je, g as ke, h as Ce } from "./chunks/FilmstripEntityCard.es.js";
|
|
14
|
-
import { $ as Vn, j as xn, k as Fn, l as _n, m as Ln, n as Mn, o as Nn, q as Un, A as Bn, C as $n, a as Gn, r as zn, D as Hn, s as Wn, t as Yn, u as jn, v as Kn, w as
|
|
15
|
-
import { c as Ze,
|
|
16
|
-
import { d as Fr, D as _r,
|
|
14
|
+
import { $ as Vn, j as xn, k as Fn, l as _n, m as Ln, n as Mn, o as Nn, q as Un, A as Bn, C as $n, a as Gn, r as zn, D as Hn, s as Wn, t as Yn, u as jn, v as Kn, w as Qn, x as qn, F as Xn, y as Jn, I as Zn, z as er, E as tr, G as sr, H as ar, J as or, M as nr, K as rr, L as ir, N as lr, U as cr, Y as ur, O as dr, P as pr, Q as fr, R as mr, d as hr, f as gr, S as br, T as wr, V as vr, W as yr, X as Er, Z as Sr, _ as kr, a0 as Cr, a1 as Or, a2 as Tr, a3 as Ir, a4 as Pr, p as Ar, a5 as Dr, a6 as Rr, a7 as Vr } from "./chunks/FilmstripEntityCard.es.js";
|
|
15
|
+
import { c as Ze, o as et, b as tt, ao as st, as as at, au as Qt, n as qt, u as ot } from "./chunks/TableExportContextInstance.es.js";
|
|
16
|
+
import { d as Fr, D as _r, v as Lr } from "./chunks/TableExportContextInstance.es.js";
|
|
17
17
|
import { p as Xt, d as Le } from "./chunks/DeleteEntitiesConfirmDialog.es.js";
|
|
18
18
|
import { e as Nr, D as Ur, b as Br, a as $r, c as Gr, s as zr } from "./chunks/DeleteEntitiesConfirmDialog.es.js";
|
|
19
19
|
import { D as Wr } from "./chunks/DetailsDialog.es.js";
|
|
20
20
|
import { q as Jt, r as Zt, n as es } from "./chunks/Watchers.es.js";
|
|
21
|
-
import { s as jr, t as Kr, v as
|
|
21
|
+
import { s as jr, t as Kr, v as Qr, R as qr, c as Xr, b as Jr, w as Zr, x as ei, W as ti, u as si } from "./chunks/Watchers.es.js";
|
|
22
22
|
import { E as oi, P as ni } from "./chunks/EmptyPlaceholder.es.js";
|
|
23
23
|
import { E as ii, a as li } from "./chunks/EmptyPlaceholderFlex.styled.es.js";
|
|
24
24
|
import { I as ui } from "./chunks/InfoMessage.es.js";
|
|
@@ -30,7 +30,7 @@ import { bQ as as, bV as os, cC as ns, aO as rs, aT as is, bL as ls, bs as cs, d
|
|
|
30
30
|
export * from "primereact/confirmdialog";
|
|
31
31
|
import "@module-federation/enhanced/runtime";
|
|
32
32
|
import { loadPiece as hs, pieceContext as gs, reportContributionError as Ue, menuItemsAt as Be } from "@ynput/ayon-addon/host";
|
|
33
|
-
import { toast as
|
|
33
|
+
import { toast as q } from "react-toastify";
|
|
34
34
|
import { isEmpty as bs, upperFirst as me } from "lodash";
|
|
35
35
|
import "uuid";
|
|
36
36
|
import { a as ws } from "./chunks/afterStartup.es.js";
|
|
@@ -68,11 +68,11 @@ import { b as zi, c as Hi, d as Wi } from "./chunks/Menu.es.js";
|
|
|
68
68
|
import { A as xs, f as Fs } from "./chunks/SimpleTable.es.js";
|
|
69
69
|
import { s as ji, g as Ki } from "./chunks/SimpleTable.es.js";
|
|
70
70
|
import { e as _s, E as Ls } from "./chunks/EntityPickerDialog.es.js";
|
|
71
|
-
import { T as
|
|
71
|
+
import { T as qi } from "./chunks/EntityPickerDialog.es.js";
|
|
72
72
|
import "primereact-context/contextmenu";
|
|
73
73
|
import { u as Ms } from "./chunks/useCreateContextMenu.es.js";
|
|
74
74
|
import { g as re } from "./chunks/getEntityTypeIcon.es.js";
|
|
75
|
-
import { g as
|
|
75
|
+
import { g as Q } from "./chunks/iconUtils.es.js";
|
|
76
76
|
import { C as Ji, T as Zi } from "./chunks/ThumbnailSimple.es.js";
|
|
77
77
|
import { S as tl } from "./chunks/SimpleFormDialog.es.js";
|
|
78
78
|
import { e as Ns } from "./chunks/extractVersionFromFilename.es.js";
|
|
@@ -206,7 +206,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
206
206
|
}, He = (e) => {
|
|
207
207
|
if (!e) return "";
|
|
208
208
|
try {
|
|
209
|
-
const t =
|
|
209
|
+
const t = qe(e);
|
|
210
210
|
if (Xe(t))
|
|
211
211
|
return Je(t, "yyyy-MM-dd");
|
|
212
212
|
} catch {
|
|
@@ -216,7 +216,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
216
216
|
}, We = (e, t) => {
|
|
217
217
|
if (!e) return null;
|
|
218
218
|
try {
|
|
219
|
-
const n =
|
|
219
|
+
const n = qe(e);
|
|
220
220
|
if (Xe(n))
|
|
221
221
|
return Je(n, t);
|
|
222
222
|
} catch {
|
|
@@ -453,7 +453,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
453
453
|
version: A.version,
|
|
454
454
|
taskId: K || void 0
|
|
455
455
|
});
|
|
456
|
-
return n(S, N.id),
|
|
456
|
+
return n(S, N.id), q.success("Created new version"), {
|
|
457
457
|
productId: S,
|
|
458
458
|
versionId: N.id
|
|
459
459
|
};
|
|
@@ -473,7 +473,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
473
473
|
taskId: K || void 0
|
|
474
474
|
}
|
|
475
475
|
);
|
|
476
|
-
return n(N.id, z.id),
|
|
476
|
+
return n(N.id, z.id), q.success("Created new version"), {
|
|
477
477
|
productId: N.id,
|
|
478
478
|
versionId: z.id
|
|
479
479
|
};
|
|
@@ -898,7 +898,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
898
898
|
entityListPatchModel: O
|
|
899
899
|
});
|
|
900
900
|
} catch (w) {
|
|
901
|
-
console.error(w),
|
|
901
|
+
console.error(w), q.error("Failed to update list attribute: ", w.attrib.detail);
|
|
902
902
|
}
|
|
903
903
|
},
|
|
904
904
|
[t?.id, t?.attrib, e, E, p, r]
|
|
@@ -1045,7 +1045,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
1045
1045
|
views: {
|
|
1046
1046
|
...c,
|
|
1047
1047
|
settings: c.viewSettings,
|
|
1048
|
-
updateViewSettings: (...g) =>
|
|
1048
|
+
updateViewSettings: (...g) => Qt(...g, c, E, v, T)
|
|
1049
1049
|
},
|
|
1050
1050
|
context: {},
|
|
1051
1051
|
state: n,
|
|
@@ -1055,7 +1055,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
1055
1055
|
onGoToFrame: o,
|
|
1056
1056
|
onOpenViewer: u,
|
|
1057
1057
|
onUpdateEntity: l,
|
|
1058
|
-
toast:
|
|
1058
|
+
toast: q,
|
|
1059
1059
|
...p
|
|
1060
1060
|
}
|
|
1061
1061
|
);
|
|
@@ -1071,7 +1071,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
1071
1071
|
if (n && t) {
|
|
1072
1072
|
let u = null;
|
|
1073
1073
|
try {
|
|
1074
|
-
u =
|
|
1074
|
+
u = Qe();
|
|
1075
1075
|
} catch {
|
|
1076
1076
|
console.log("Slicer context not available for this addon page");
|
|
1077
1077
|
}
|
|
@@ -1104,7 +1104,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
1104
1104
|
}, []);
|
|
1105
1105
|
const M = async (C) => {
|
|
1106
1106
|
if (C.preventDefault(), !(a && u)) {
|
|
1107
|
-
|
|
1107
|
+
q.error("Please enter username and password to login");
|
|
1108
1108
|
return;
|
|
1109
1109
|
}
|
|
1110
1110
|
let b = null;
|
|
@@ -1112,14 +1112,14 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
1112
1112
|
b = await $e.post("/api/auth/login", { name: a, password: u });
|
|
1113
1113
|
} catch (y) {
|
|
1114
1114
|
const k = y;
|
|
1115
|
-
console.error("Login error", k.response?.data || k),
|
|
1115
|
+
console.error("Login error", k.response?.data || k), q.error(k.response?.data?.detail || `Unable to login: Error ${k.response?.status}`);
|
|
1116
1116
|
return;
|
|
1117
1117
|
}
|
|
1118
1118
|
if (!b || !b.data) {
|
|
1119
|
-
console.error("Login error", b),
|
|
1119
|
+
console.error("Login error", b), q.error("Unable to login, check the console for details");
|
|
1120
1120
|
return;
|
|
1121
1121
|
}
|
|
1122
|
-
localStorage.removeItem("auth-preferred-url"),
|
|
1122
|
+
localStorage.removeItem("auth-preferred-url"), q.info(b.data.detail), e({ user: b.data.user, accessToken: b.data.token }), r(Me.util.resetApiState());
|
|
1123
1123
|
}, U = async (C) => {
|
|
1124
1124
|
const b = window.location.pathname.split("/")[2];
|
|
1125
1125
|
if (!b || (console.debug("handleSSOCallback", b), !C?.length && b !== "_token")) return;
|
|
@@ -1137,7 +1137,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
1137
1137
|
console.debug("SSO Callback", k.callback), m = await $e.get(k.callback, { params: y }), i = !0;
|
|
1138
1138
|
} catch (P) {
|
|
1139
1139
|
const S = P;
|
|
1140
|
-
console.error("SSO Callback error", S.response?.data),
|
|
1140
|
+
console.error("SSO Callback error", S.response?.data), q.error(
|
|
1141
1141
|
/* @__PURE__ */ F(X, { children: [
|
|
1142
1142
|
/* @__PURE__ */ F("p", { children: [
|
|
1143
1143
|
"Unable to login using ",
|
|
@@ -1152,8 +1152,8 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
1152
1152
|
if (i && m?.data?.user) {
|
|
1153
1153
|
console.debug("SSO Callback response", m.data);
|
|
1154
1154
|
const P = m.data;
|
|
1155
|
-
|
|
1156
|
-
} else i && (
|
|
1155
|
+
q.info(P.detail || `Logged in as ${P.user.name}`), h = P.user, I = P.token, P.redirectUrl && (f = P.redirectUrl);
|
|
1156
|
+
} else i && (q.error("Unable to login using SSO"), i = !1);
|
|
1157
1157
|
i ? (!f && localStorage.getItem("auth-preferred-url") && (f = localStorage.getItem("auth-preferred-url")), f || (f = window.location.origin), T(!1), localStorage.removeItem("auth-preferred-url"), e({ user: h, accessToken: I, redirectUrl: f }), r(Me.util.resetApiState())) : (console.log("SSO Callback failed, clearing auth state"), T(!1), localStorage.removeItem("auth-preferred-url"));
|
|
1158
1158
|
};
|
|
1159
1159
|
W(() => {
|
|
@@ -1274,7 +1274,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
1274
1274
|
getParentFolderIds: r,
|
|
1275
1275
|
getChildFolderIds: s,
|
|
1276
1276
|
getFolderIdsWithoutChildren: a
|
|
1277
|
-
} =
|
|
1277
|
+
} = qt();
|
|
1278
1278
|
return B(
|
|
1279
1279
|
() => ({
|
|
1280
1280
|
// attrib is typed `object` in the api model
|
|
@@ -1295,7 +1295,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
1295
1295
|
]
|
|
1296
1296
|
);
|
|
1297
1297
|
}, vo = (e) => {
|
|
1298
|
-
const { data: t } = ps({ projectName: e }), { rowSelection: n, sliceType: r } =
|
|
1298
|
+
const { data: t } = ps({ projectName: e }), { rowSelection: n, sliceType: r } = Qe(), s = B(
|
|
1299
1299
|
() => ({
|
|
1300
1300
|
sliceType: r,
|
|
1301
1301
|
selection: Object.keys(n).filter((u) => n[u])
|
|
@@ -1406,7 +1406,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
1406
1406
|
o === "menu" && /* @__PURE__ */ d(rt, { id: _, target: C, children: /* @__PURE__ */ d(it, { menu: $ }) }),
|
|
1407
1407
|
y
|
|
1408
1408
|
] });
|
|
1409
|
-
},
|
|
1409
|
+
}, Qs = (e = []) => {
|
|
1410
1410
|
const t = {};
|
|
1411
1411
|
for (const { id: n, entityType: r } of e) {
|
|
1412
1412
|
if (!(r in _s)) continue;
|
|
@@ -1414,7 +1414,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
1414
1414
|
t[s] = { ...t[s], [n]: !0 };
|
|
1415
1415
|
}
|
|
1416
1416
|
return t;
|
|
1417
|
-
},
|
|
1417
|
+
}, qs = (e, t, n, r) => e.map((s, a) => {
|
|
1418
1418
|
const o = t[a];
|
|
1419
1419
|
return {
|
|
1420
1420
|
id: s,
|
|
@@ -1436,9 +1436,9 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
1436
1436
|
projectName: e,
|
|
1437
1437
|
entityType: t,
|
|
1438
1438
|
isMultiSelect: n,
|
|
1439
|
-
initialSelection:
|
|
1439
|
+
initialSelection: Qs(r),
|
|
1440
1440
|
onClose: a,
|
|
1441
|
-
onSubmit: (o, u) => s(
|
|
1441
|
+
onSubmit: (o, u) => s(qs(o, u, t, e))
|
|
1442
1442
|
}
|
|
1443
1443
|
), Xs = () => {
|
|
1444
1444
|
}, ko = ({ projectName: e }) => {
|
|
@@ -2016,7 +2016,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
2016
2016
|
id: s("taskType"),
|
|
2017
2017
|
type: "string",
|
|
2018
2018
|
label: "Task Type",
|
|
2019
|
-
icon:
|
|
2019
|
+
icon: Q("task"),
|
|
2020
2020
|
inverted: !1,
|
|
2021
2021
|
operator: "OR",
|
|
2022
2022
|
values: [],
|
|
@@ -2032,7 +2032,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
2032
2032
|
id: s("folderType"),
|
|
2033
2033
|
type: "string",
|
|
2034
2034
|
label: "Folder Type",
|
|
2035
|
-
icon:
|
|
2035
|
+
icon: Q("folder"),
|
|
2036
2036
|
inverted: !1,
|
|
2037
2037
|
operator: "OR",
|
|
2038
2038
|
values: [],
|
|
@@ -2048,7 +2048,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
2048
2048
|
id: s("productType"),
|
|
2049
2049
|
type: "string",
|
|
2050
2050
|
label: "Product Type",
|
|
2051
|
-
icon:
|
|
2051
|
+
icon: Q("product"),
|
|
2052
2052
|
inverted: !1,
|
|
2053
2053
|
operator: "OR",
|
|
2054
2054
|
values: [],
|
|
@@ -2064,7 +2064,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
2064
2064
|
id: s("productBaseType"),
|
|
2065
2065
|
type: "string",
|
|
2066
2066
|
label: "Product Base Type",
|
|
2067
|
-
icon:
|
|
2067
|
+
icon: Q("product"),
|
|
2068
2068
|
inverted: !1,
|
|
2069
2069
|
operator: "OR",
|
|
2070
2070
|
values: [],
|
|
@@ -2080,7 +2080,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
2080
2080
|
id: s("productNames"),
|
|
2081
2081
|
type: "string",
|
|
2082
2082
|
label: "Product Name",
|
|
2083
|
-
icon:
|
|
2083
|
+
icon: Q("productName", "string"),
|
|
2084
2084
|
inverted: !1,
|
|
2085
2085
|
operator: "OR",
|
|
2086
2086
|
values: [],
|
|
@@ -2096,7 +2096,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
2096
2096
|
id: s("status"),
|
|
2097
2097
|
type: "string",
|
|
2098
2098
|
label: "Status",
|
|
2099
|
-
icon:
|
|
2099
|
+
icon: Q("status"),
|
|
2100
2100
|
inverted: !1,
|
|
2101
2101
|
operator: "OR",
|
|
2102
2102
|
values: [],
|
|
@@ -2112,7 +2112,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
2112
2112
|
id: s("assignees"),
|
|
2113
2113
|
type: "list_of_strings",
|
|
2114
2114
|
label: "Assignee",
|
|
2115
|
-
icon:
|
|
2115
|
+
icon: Q("assignees"),
|
|
2116
2116
|
inverted: !1,
|
|
2117
2117
|
operator: "OR",
|
|
2118
2118
|
values: [],
|
|
@@ -2128,7 +2128,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
2128
2128
|
id: s("author"),
|
|
2129
2129
|
type: "string",
|
|
2130
2130
|
label: "Author",
|
|
2131
|
-
icon:
|
|
2131
|
+
icon: Q("author"),
|
|
2132
2132
|
inverted: !1,
|
|
2133
2133
|
operator: "OR",
|
|
2134
2134
|
values: [],
|
|
@@ -2144,7 +2144,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
2144
2144
|
id: s("tags"),
|
|
2145
2145
|
type: "list_of_strings",
|
|
2146
2146
|
label: "Tags",
|
|
2147
|
-
icon:
|
|
2147
|
+
icon: Q("tags"),
|
|
2148
2148
|
inverted: !1,
|
|
2149
2149
|
operator: "OR",
|
|
2150
2150
|
values: [],
|
|
@@ -2193,7 +2193,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
2193
2193
|
id: s("extension"),
|
|
2194
2194
|
type: "string",
|
|
2195
2195
|
label: "File Extension",
|
|
2196
|
-
icon:
|
|
2196
|
+
icon: Q("extension", "string"),
|
|
2197
2197
|
inverted: !1,
|
|
2198
2198
|
operator: "OR",
|
|
2199
2199
|
values: [],
|
|
@@ -2270,7 +2270,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
2270
2270
|
const s = e.data.title || e.name, a = r || n ? {
|
|
2271
2271
|
name: n || e.name,
|
|
2272
2272
|
label: n ? me(n) : s,
|
|
2273
|
-
icon: n ? re(n) :
|
|
2273
|
+
icon: n ? re(n) : Q(e.name, e.data.type, Ne(e.data))
|
|
2274
2274
|
} : void 0;
|
|
2275
2275
|
return {
|
|
2276
2276
|
id: dt(e.name, "attributes", t, n),
|
|
@@ -2284,7 +2284,7 @@ const ze = 500, zs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, no = ({
|
|
|
2284
2284
|
allowNoValue: t.enableRelativeValues,
|
|
2285
2285
|
allowExcludes: t?.enableExcludes,
|
|
2286
2286
|
operatorChangeable: t?.enableOperatorChange,
|
|
2287
|
-
icon:
|
|
2287
|
+
icon: Q(e.name, e.data.type, Ne(e.data)),
|
|
2288
2288
|
group: a,
|
|
2289
2289
|
tooltip: n ? `${me(n)} ${s}` : void 0,
|
|
2290
2290
|
value: n ? { icon: re(n) } : void 0,
|
|
@@ -2540,20 +2540,20 @@ export {
|
|
|
2540
2540
|
Bt as FEATURED_VERSION_TYPES,
|
|
2541
2541
|
jn as FILMSTRIP_ACTIVE_ATTRIBUTE,
|
|
2542
2542
|
Kn as FILMSTRIP_FILE_ATTRIBUTE,
|
|
2543
|
-
|
|
2543
|
+
Qn as FILMSTRIP_POSITION_ATTRIBUTE,
|
|
2544
2544
|
oa as FILTER_TYPES_BY_SCOPE,
|
|
2545
|
-
|
|
2545
|
+
qn as FLOATING_TOOLBAR,
|
|
2546
2546
|
Ko as FeaturedVersionOrder,
|
|
2547
2547
|
Ss as FeedbackContext,
|
|
2548
2548
|
co as FeedbackProvider,
|
|
2549
2549
|
Kr as FieldLabel,
|
|
2550
|
-
|
|
2550
|
+
Qr as FileThumbnail,
|
|
2551
2551
|
Xn as Filmstrip,
|
|
2552
2552
|
Jn as FilmstripEntityCard,
|
|
2553
2553
|
Pi as FilterErrorActions,
|
|
2554
2554
|
At as FreeTrialLink,
|
|
2555
|
-
|
|
2556
|
-
|
|
2555
|
+
Qo as GROUP_KEY_PREFIX,
|
|
2556
|
+
qo as GUEST_KEY_PREFIX,
|
|
2557
2557
|
Zn as INSERT_MENTION_TRIGGER_COMMAND,
|
|
2558
2558
|
ui as InfoMessage,
|
|
2559
2559
|
pi as JsonViewer,
|
|
@@ -2587,7 +2587,7 @@ export {
|
|
|
2587
2587
|
Ye as RemotePageWrapper,
|
|
2588
2588
|
Fs as ReportCrash,
|
|
2589
2589
|
en as RequiredAddonVersion,
|
|
2590
|
-
|
|
2590
|
+
qr as ReviewableCard,
|
|
2591
2591
|
Xr as ReviewableProgressCard,
|
|
2592
2592
|
Jr as ReviewableUpload,
|
|
2593
2593
|
gi as ReviewablesList,
|
|
@@ -2609,7 +2609,7 @@ export {
|
|
|
2609
2609
|
Mi as SyncButton,
|
|
2610
2610
|
dn as TEAM_KEY_PREFIX,
|
|
2611
2611
|
pn as TableGridSwitch,
|
|
2612
|
-
|
|
2612
|
+
qi as TableSearch,
|
|
2613
2613
|
_i as TableSettingsFallback,
|
|
2614
2614
|
ei as Thumbnail,
|
|
2615
2615
|
Zi as ThumbnailSimple,
|