@ynput/ayon-frontend-shared 0.6.8 → 0.7.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/ContextMenu.es.js +44 -27
- package/dist/DetailsPanel.es.js +225 -224
- package/dist/Feed.es.js +64 -58
- package/dist/ListTable.es.js +423 -423
- package/dist/NewEntity.es.js +44 -43
- package/dist/ProjectTreeTable.es.js +3517 -3378
- package/dist/Slicer.es.js +301 -276
- package/dist/Views.es.js +366 -352
- package/dist/api.es.js +428 -413
- package/dist/chunks/Actions.es.js +18 -17
- package/dist/chunks/ColumnDropIndicator.es.js +21 -20
- package/dist/chunks/ColumnHeaderMenuUI.es.js +2 -2
- package/dist/chunks/ContextMenuContextInstance.es.js +4 -3
- package/dist/chunks/DeleteEntitiesConfirmDialog.es.js +53 -41
- package/dist/chunks/DetailsDialog.es.js +26 -24
- package/dist/chunks/EmptyPlaceholder.es.js +3 -3
- package/dist/chunks/EmptyPlaceholderFlex.styled.es.js +40 -0
- package/dist/chunks/EntityPath.es.js +60 -59
- package/dist/chunks/EntityPickerDialog.es.js +88 -83
- package/dist/chunks/EntityTooltip.es.js +15 -14
- package/dist/chunks/EntityUpdatesContext.es.js +11 -11
- package/dist/chunks/Feed.es.js +1072 -1088
- package/dist/chunks/FilterErrorActions.es.js +4 -3
- package/dist/chunks/Menu.es.js +633 -289
- package/dist/chunks/MenuContext.es.js +1 -1
- package/dist/chunks/MetaWidget.es.js +2449 -2199
- package/dist/chunks/PlayableIcon.es.js +128 -88
- package/dist/chunks/ProjectContext.es.js +6 -6
- package/dist/chunks/RepresentationsList.es.js +1 -1
- package/dist/chunks/ReviewablesSelector.es.js +627 -611
- package/dist/chunks/SimpleForm.es.js +11 -10
- package/dist/chunks/SimpleTable.es.js +386 -363
- package/dist/chunks/Slicer.es.js +956 -823
- package/dist/chunks/{DeleteEntitiesContextInstance.es.js → TableExportContextInstance.es.js} +190 -186
- package/dist/chunks/TableSettingsFallback.es.js +4 -3
- package/dist/chunks/ThumbnailSimple.es.js +100 -99
- package/dist/chunks/VideoPlayer.es.js +1 -1
- package/dist/chunks/Watchers.es.js +224 -223
- package/dist/chunks/getBundleMode.es.js +33 -25
- package/dist/chunks/getEntityTypeIcon.es.js +5 -4
- package/dist/chunks/getUris.es.js +3873 -3736
- package/dist/chunks/realtimeUpdatesUtils.es.js +91 -82
- package/dist/chunks/searchTerms.es.js +621 -499
- package/dist/chunks/sortLists.es.js +22 -0
- package/dist/chunks/useAttributeEnums.es.js +43 -43
- package/dist/chunks/useDateRangeFilter.es.js +85 -59
- package/dist/chunks/useHierarchySelection.es.js +6 -5
- package/dist/chunks/useLoadModule.es.js +24 -23
- package/dist/chunks/viewUpdateHelper.es.js +41 -40
- package/dist/components.es.js +963 -891
- package/dist/context.es.js +528 -501
- package/dist/hooks.es.js +15 -15
- package/dist/index.es.js +6 -6
- package/dist/types/ContextMenu.d.ts +4 -1
- package/dist/types/Feed.d.ts +55 -1
- package/dist/types/ListTable.d.ts +1 -1
- package/dist/types/ProjectTreeTable.d.ts +128 -15
- package/dist/types/SimpleTable.d.ts +2 -1
- package/dist/types/Slicer.d.ts +26 -1
- package/dist/types/Views.d.ts +2 -0
- package/dist/types/api.d.ts +2359 -590
- package/dist/types/components.d.ts +542 -4
- package/dist/types/context.d.ts +94 -2
- package/dist/types/util.d.ts +58 -0
- package/dist/util.es.js +141 -129
- package/package.json +2 -2
- package/dist/chunks/MenuItem.es.js +0 -420
|
@@ -5,7 +5,7 @@ import "primereact/confirmdialog";
|
|
|
5
5
|
import "react-toastify";
|
|
6
6
|
import { g as it } from "./getEntityTypeIcon.es.js";
|
|
7
7
|
import "uuid";
|
|
8
|
-
import {
|
|
8
|
+
import { bc as Vn } from "./searchTerms.es.js";
|
|
9
9
|
import qt, { useRef as O, useState as U, useLayoutEffect as oe, useCallback as H, useMemo as _e, useEffect as R, Fragment as Qn, useImperativeHandle as Jn, forwardRef as Vt, useContext as Xn } from "react";
|
|
10
10
|
import { jsx as l, jsxs as S, Fragment as me } from "react/jsx-runtime";
|
|
11
11
|
import P from "clsx";
|
|
@@ -60,12 +60,13 @@ import $t from "emojilib/ordered.json";
|
|
|
60
60
|
import { LexicalTypeaheadMenuPlugin as pt, MenuOption as gt } from "@lexical/react/LexicalTypeaheadMenuPlugin";
|
|
61
61
|
import { $findMatchingParent as W, mergeRegister as q, $getNearestNodeOfType as ir, $unwrapNode as sr } from "@lexical/utils";
|
|
62
62
|
import { createPortal as fe } from "react-dom";
|
|
63
|
-
import {
|
|
63
|
+
import { bi as ar } from "./getUris.es.js";
|
|
64
64
|
import "@module-federation/enhanced/runtime";
|
|
65
|
-
import { d as lr,
|
|
65
|
+
import { d as lr, H as cr } from "./TableExportContextInstance.es.js";
|
|
66
66
|
import "semver";
|
|
67
67
|
import "./ContextMenuContextInstance.es.js";
|
|
68
68
|
import "react-redux";
|
|
69
|
+
import "react-router-dom";
|
|
69
70
|
import { $setBlocksType as Me } from "@lexical/selection";
|
|
70
71
|
import { PrismTokenizer as dr, registerCodeHighlighting as ur } from "@lexical/code-prism";
|
|
71
72
|
import { $getClipboardDataFromSelection as mr, copyToClipboard as pr } from "@lexical/clipboard";
|
|
@@ -77,7 +78,7 @@ const gr = ({ name: t, fullName: e, imageKey: n, ...o }) => t ? /* @__PURE__ */
|
|
|
77
78
|
src: `/api/users/${t}/avatar?key=${n || ""}`,
|
|
78
79
|
...o
|
|
79
80
|
}
|
|
80
|
-
) : /* @__PURE__ */ l(Tt, { name: "", className: P(o.className, "loading"), ...o }),
|
|
81
|
+
) : /* @__PURE__ */ l(Tt, { name: "", className: P(o.className, "loading"), ...o }), Dl = (t, e) => {
|
|
81
82
|
const n = new Date(t.getTime() + t.getTimezoneOffset() * 6e4);
|
|
82
83
|
return Bn(n, e);
|
|
83
84
|
}, ae = "block-dialog-close", hr = x.div`
|
|
@@ -86,7 +87,7 @@ const gr = ({ name: t, fullName: e, imageKey: n, ...o }) => t ? /* @__PURE__ */
|
|
|
86
87
|
overflow: hidden;
|
|
87
88
|
display: flex;
|
|
88
89
|
flex-direction: column;
|
|
89
|
-
`,
|
|
90
|
+
`, Pl = ({
|
|
90
91
|
isEditing: t,
|
|
91
92
|
anchorId: e,
|
|
92
93
|
containerClassName: n = "table-container",
|
|
@@ -302,6 +303,21 @@ const gr = ({ name: t, fullName: e, imageKey: n, ...o }) => t ? /* @__PURE__ */
|
|
|
302
303
|
"numberList",
|
|
303
304
|
"bulletList",
|
|
304
305
|
"checkList"
|
|
306
|
+
], Bl = [
|
|
307
|
+
"h1",
|
|
308
|
+
"h2",
|
|
309
|
+
"h3",
|
|
310
|
+
"|",
|
|
311
|
+
"bold",
|
|
312
|
+
"italic",
|
|
313
|
+
"strikethrough",
|
|
314
|
+
"link",
|
|
315
|
+
"|",
|
|
316
|
+
"codeBlock",
|
|
317
|
+
"quote",
|
|
318
|
+
"|",
|
|
319
|
+
"numberList",
|
|
320
|
+
"bulletList"
|
|
305
321
|
], Cr = [
|
|
306
322
|
"bold",
|
|
307
323
|
"italic",
|
|
@@ -507,7 +523,7 @@ class ye extends gn {
|
|
|
507
523
|
);
|
|
508
524
|
}
|
|
509
525
|
}
|
|
510
|
-
const pe = (t) => at(new ye(t.trim())), Sr = (t) => t instanceof ye, bn = ["mp4", "mov", "webm", "mkv", "m4v", "ogv", "avi"], Or = ["png", "jpg", "jpeg", "gif", "webp", "svg", "avif", "bmp"], yn = (t) => t?.split(/[?#]/)[0].split(".").pop()?.toLowerCase() || "", vn = (t, ...e) => t?.startsWith("video/") ? "video" : t?.startsWith("image/") ? "image" : e.some((n) => bn.includes(yn(n))) ? "video" : "image", Rr = (t) => t.type.startsWith("image/") || t.type.startsWith("video/") || [...Or, ...bn].includes(yn(t.name)), Ir = /\/api\/projects\/[^/]+\/files\/([\w-]+)/, bt = (t) => t?.match(Ir)?.[1] ?? null, Ar = /^\s*!\[[^\]]*\]\(<?([^\s)>]+)>?(?:\s+"[^"]*")?\)\s*$/, Dr = /^\s*(```|~~~)/,
|
|
526
|
+
const pe = (t) => at(new ye(t.trim())), Sr = (t) => t instanceof ye, bn = ["mp4", "mov", "webm", "mkv", "m4v", "ogv", "avi"], Or = ["png", "jpg", "jpeg", "gif", "webp", "svg", "avif", "bmp"], yn = (t) => t?.split(/[?#]/)[0].split(".").pop()?.toLowerCase() || "", vn = (t, ...e) => t?.startsWith("video/") ? "video" : t?.startsWith("image/") ? "image" : e.some((n) => bn.includes(yn(n))) ? "video" : "image", Rr = (t) => t.type.startsWith("image/") || t.type.startsWith("video/") || [...Or, ...bn].includes(yn(t.name)), Ir = /\/api\/projects\/[^/]+\/files\/([\w-]+)/, bt = (t) => t?.match(Ir)?.[1] ?? null, Ar = /^\s*!\[[^\]]*\]\(<?([^\s)>]+)>?(?:\s+"[^"]*")?\)\s*$/, Dr = /^\s*(```|~~~)/, zl = (t) => {
|
|
511
527
|
const e = /* @__PURE__ */ new Set();
|
|
512
528
|
let n = !1;
|
|
513
529
|
for (const o of String(t || "").split(`
|
|
@@ -2297,7 +2313,7 @@ const Hi = ({ placement: t = "inline", menuParent: e }) => {
|
|
|
2297
2313
|
),
|
|
2298
2314
|
[t]
|
|
2299
2315
|
), null;
|
|
2300
|
-
}, Ft = /^[0-9a-f]{32}$/,
|
|
2316
|
+
}, Ft = /^[0-9a-f]{32}$/, Fl = (t, e) => `source:${t}` + (e ? `?${new URLSearchParams({ type: e.type, id: e.id })}` : ""), ze = (t) => {
|
|
2301
2317
|
if (!t) return null;
|
|
2302
2318
|
const e = t.match(/^source:([0-9a-f]{32})(?:\?(.*))?$/);
|
|
2303
2319
|
if (e) {
|
|
@@ -3634,7 +3650,7 @@ const js = (t, e) => {
|
|
|
3634
3650
|
keywords: d,
|
|
3635
3651
|
relevance: n.relevance
|
|
3636
3652
|
};
|
|
3637
|
-
}),
|
|
3653
|
+
}), Kl = ({
|
|
3638
3654
|
suggestions: t = {},
|
|
3639
3655
|
// version options read the product types
|
|
3640
3656
|
project: e = { productTypes: [] },
|
|
@@ -3923,10 +3939,10 @@ const js = (t, e) => {
|
|
|
3923
3939
|
values: z["last-year"](),
|
|
3924
3940
|
icon: "calendar_month"
|
|
3925
3941
|
}
|
|
3926
|
-
],
|
|
3942
|
+
], Ul = An(), ia = () => [
|
|
3927
3943
|
ra,
|
|
3928
3944
|
...An()
|
|
3929
|
-
],
|
|
3945
|
+
], Hl = ia(), jl = (t, e) => {
|
|
3930
3946
|
if (!t || !e) return null;
|
|
3931
3947
|
try {
|
|
3932
3948
|
const n = B(t), o = B(e);
|
|
@@ -4075,7 +4091,7 @@ const js = (t, e) => {
|
|
|
4075
4091
|
o.set("activity", e);
|
|
4076
4092
|
const i = new URL(`${window.location.origin}/projects/${t}/${r}`);
|
|
4077
4093
|
return i.search = o.toString(), i.toString();
|
|
4078
|
-
},
|
|
4094
|
+
}, Gl = x.div`
|
|
4079
4095
|
/* use grid tick for auto height transition */
|
|
4080
4096
|
display: grid;
|
|
4081
4097
|
height: 100%;
|
|
@@ -4103,7 +4119,7 @@ const js = (t, e) => {
|
|
|
4103
4119
|
--button-color-secondary: ${e};
|
|
4104
4120
|
--button-text-color: ${to(t)};
|
|
4105
4121
|
--border-color: ${t};
|
|
4106
|
-
`,
|
|
4122
|
+
`, Wl = x.div`
|
|
4107
4123
|
/* VARS */
|
|
4108
4124
|
--background-color: var(--md-sys-color-surface-container);
|
|
4109
4125
|
--button-color: var(--md-sys-color-primary);
|
|
@@ -4201,14 +4217,14 @@ const js = (t, e) => {
|
|
|
4201
4217
|
/* remove outline */
|
|
4202
4218
|
outline: none;
|
|
4203
4219
|
}
|
|
4204
|
-
`,
|
|
4220
|
+
`, Yl = x.div`
|
|
4205
4221
|
padding: 4px 4px 0;
|
|
4206
|
-
`,
|
|
4222
|
+
`, ql = x.span`
|
|
4207
4223
|
width: 1px;
|
|
4208
4224
|
height: 18px;
|
|
4209
4225
|
margin: 0 4px;
|
|
4210
4226
|
background-color: var(--md-sys-color-surface-container-hover);
|
|
4211
|
-
`,
|
|
4227
|
+
`, Vl = x.footer`
|
|
4212
4228
|
display: flex;
|
|
4213
4229
|
justify-content: space-between;
|
|
4214
4230
|
padding: var(--padding-m);
|
|
@@ -4249,7 +4265,7 @@ const js = (t, e) => {
|
|
|
4249
4265
|
}
|
|
4250
4266
|
}
|
|
4251
4267
|
}
|
|
4252
|
-
`,
|
|
4268
|
+
`, Ql = x.div`
|
|
4253
4269
|
display: inline-flex;
|
|
4254
4270
|
align-items: center;
|
|
4255
4271
|
border-radius: var(--border-radius-m);
|
|
@@ -4263,14 +4279,14 @@ const js = (t, e) => {
|
|
|
4263
4279
|
background-color: var(--md-sys-color-primary-container-hover);
|
|
4264
4280
|
}
|
|
4265
4281
|
}
|
|
4266
|
-
`,
|
|
4282
|
+
`, Jl = x(te)`
|
|
4267
4283
|
color: inherit;
|
|
4268
4284
|
background: transparent;
|
|
4269
4285
|
|
|
4270
4286
|
&:hover {
|
|
4271
4287
|
background-color: var(--md-sys-color-primary-container-hover) !important;
|
|
4272
4288
|
}
|
|
4273
|
-
`,
|
|
4289
|
+
`, Xl = x(te)`
|
|
4274
4290
|
width: 100%;
|
|
4275
4291
|
padding: 4px 6px;
|
|
4276
4292
|
white-space: nowrap;
|
|
@@ -4280,14 +4296,14 @@ const js = (t, e) => {
|
|
|
4280
4296
|
&:hover {
|
|
4281
4297
|
background-color: var(--md-sys-color-surface-container-low) !important;
|
|
4282
4298
|
}
|
|
4283
|
-
`,
|
|
4299
|
+
`, Zl = x(eo)`
|
|
4284
4300
|
min-width: 0;
|
|
4285
4301
|
padding: 4px 8px;
|
|
4286
|
-
`,
|
|
4302
|
+
`, ec = x(ma)`
|
|
4287
4303
|
margin-left: auto;
|
|
4288
4304
|
flex-shrink: 1;
|
|
4289
4305
|
overflow: hidden;
|
|
4290
|
-
`,
|
|
4306
|
+
`, tc = x.div`
|
|
4291
4307
|
position: absolute;
|
|
4292
4308
|
inset: 0;
|
|
4293
4309
|
user-select: none;
|
|
@@ -4311,18 +4327,18 @@ const js = (t, e) => {
|
|
|
4311
4327
|
.icon {
|
|
4312
4328
|
font-size: 40px;
|
|
4313
4329
|
}
|
|
4314
|
-
`,
|
|
4330
|
+
`, nc = x.span`
|
|
4315
4331
|
padding: 12px 15px;
|
|
4316
4332
|
/* italic */
|
|
4317
4333
|
font-style: italic;
|
|
4318
4334
|
opacity: 0.4;
|
|
4319
|
-
`,
|
|
4335
|
+
`, oc = x.div`
|
|
4320
4336
|
display: grid;
|
|
4321
4337
|
gap: var(--base-gap-medium);
|
|
4322
4338
|
grid-template-columns: 1fr 1fr;
|
|
4323
|
-
`,
|
|
4339
|
+
`, rc = x.div`
|
|
4324
4340
|
margin-top: var(--padding-m);
|
|
4325
|
-
`,
|
|
4341
|
+
`, ic = x(te)`
|
|
4326
4342
|
background: transparent;
|
|
4327
4343
|
border: solid 1px currentColor;
|
|
4328
4344
|
flex-grow: 1;
|
|
@@ -4357,7 +4373,7 @@ const js = (t, e) => {
|
|
|
4357
4373
|
pointer-events: none;
|
|
4358
4374
|
}
|
|
4359
4375
|
}
|
|
4360
|
-
`,
|
|
4376
|
+
`, sc = x.div`
|
|
4361
4377
|
border-radius: var(--border-radius-l);
|
|
4362
4378
|
margin-bottom: var(--padding-m);
|
|
4363
4379
|
user-select: none;
|
|
@@ -4385,7 +4401,7 @@ const js = (t, e) => {
|
|
|
4385
4401
|
x.div`
|
|
4386
4402
|
border-radius: var(--border-radius-m);
|
|
4387
4403
|
`;
|
|
4388
|
-
const
|
|
4404
|
+
const ac = x.li`
|
|
4389
4405
|
/* VARS */
|
|
4390
4406
|
--background-color: var(--md-sys-color-surface-container);
|
|
4391
4407
|
--button-color-secondary: var(--md-sys-color-surface-container-high);
|
|
@@ -4435,7 +4451,7 @@ const ic = x.li`
|
|
|
4435
4451
|
&.isHighlighted {
|
|
4436
4452
|
background-color: var(--md-sys-color-secondary-container);
|
|
4437
4453
|
}
|
|
4438
|
-
`,
|
|
4454
|
+
`, lc = x.div`
|
|
4439
4455
|
background-color: var(--background-color);
|
|
4440
4456
|
border-radius: var(--border-radius-m);
|
|
4441
4457
|
padding: var(--padding-m);
|
|
@@ -4667,7 +4683,7 @@ const Wt = x.pre`
|
|
|
4667
4683
|
color: var(--md-sys-color-tertiary);
|
|
4668
4684
|
white-space: pre-wrap;
|
|
4669
4685
|
word-break: break-word;
|
|
4670
|
-
`,
|
|
4686
|
+
`, cc = x.div`
|
|
4671
4687
|
display: flex;
|
|
4672
4688
|
position: absolute;
|
|
4673
4689
|
right: 4px;
|
|
@@ -4680,7 +4696,7 @@ const Wt = x.pre`
|
|
|
4680
4696
|
|
|
4681
4697
|
/* by default hidden */
|
|
4682
4698
|
opacity: 0;
|
|
4683
|
-
`,
|
|
4699
|
+
`, dc = x(te)`
|
|
4684
4700
|
&.hasIcon {
|
|
4685
4701
|
padding: 4px;
|
|
4686
4702
|
}
|
|
@@ -4695,7 +4711,7 @@ const Wt = x.pre`
|
|
|
4695
4711
|
position: relative;
|
|
4696
4712
|
top: -1px;
|
|
4697
4713
|
}
|
|
4698
|
-
`,
|
|
4714
|
+
`, uc = x.span`
|
|
4699
4715
|
background-color: var(--md-sys-color-secondary-container);
|
|
4700
4716
|
display: flex;
|
|
4701
4717
|
align-items: center;
|
|
@@ -4716,14 +4732,14 @@ const Wt = x.pre`
|
|
|
4716
4732
|
.icon {
|
|
4717
4733
|
font-size: 24px;
|
|
4718
4734
|
}
|
|
4719
|
-
`,
|
|
4735
|
+
`, mc = x.div`
|
|
4720
4736
|
display: flex;
|
|
4721
4737
|
align-items: center;
|
|
4722
4738
|
gap: var(--base-gap-small);
|
|
4723
4739
|
min-width: 0;
|
|
4724
4740
|
overflow-x: auto;
|
|
4725
4741
|
padding-bottom: 4px;
|
|
4726
|
-
`,
|
|
4742
|
+
`, pc = x.button`
|
|
4727
4743
|
display: inline-flex;
|
|
4728
4744
|
align-items: center;
|
|
4729
4745
|
gap: var(--base-gap-small);
|
|
@@ -4779,7 +4795,7 @@ const Wt = x.pre`
|
|
|
4779
4795
|
}
|
|
4780
4796
|
}
|
|
4781
4797
|
return {};
|
|
4782
|
-
}, fa = (t) => qt.Children.toArray(t).map((e) => typeof e == "string" || typeof e == "number" ? String(e) : "").join(""),
|
|
4798
|
+
}, fa = (t) => qt.Children.toArray(t).map((e) => typeof e == "string" || typeof e == "number" ? String(e) : "").join(""), gc = ({ children: t, href: e }, {
|
|
4783
4799
|
entityId: n,
|
|
4784
4800
|
entityType: o,
|
|
4785
4801
|
userName: r,
|
|
@@ -4848,17 +4864,17 @@ const Wt = x.pre`
|
|
|
4848
4864
|
children: w
|
|
4849
4865
|
}
|
|
4850
4866
|
);
|
|
4851
|
-
},
|
|
4867
|
+
}, hc = ({ type: t, checked: e, ...n }, { activity: o, onCheckChange: r }) => t === "checkbox" ? /* @__PURE__ */ l(
|
|
4852
4868
|
aa,
|
|
4853
4869
|
{
|
|
4854
4870
|
checked: !!e,
|
|
4855
4871
|
onChange: (i) => r && r(i, o)
|
|
4856
4872
|
}
|
|
4857
|
-
) : /* @__PURE__ */ l("input", { type: t, disabled: !0, ...n }),
|
|
4873
|
+
) : /* @__PURE__ */ l("input", { type: t, disabled: !0, ...n }), fc = ({ node: t, className: e, children: n }) => {
|
|
4858
4874
|
if (!(!!e?.startsWith("language-") || t?.position && t.position.start.line !== t.position.end.line)) return /* @__PURE__ */ l(pa, { children: n });
|
|
4859
4875
|
const r = e?.replace(/^language-/, ""), i = typeof n == "string" ? n.replace(/\n$/, "") : null, s = i !== null ? yr(i, r) : null;
|
|
4860
4876
|
return s !== null ? /* @__PURE__ */ l(Wt, { children: /* @__PURE__ */ l("code", { className: e, dangerouslySetInnerHTML: { __html: s } }) }) : /* @__PURE__ */ l(Wt, { children: n });
|
|
4861
|
-
},
|
|
4877
|
+
}, bc = ({ children: t }) => {
|
|
4862
4878
|
const e = qt.Children.toArray(t).find((o) => !!o?.props)?.props?.children;
|
|
4863
4879
|
if (!e) return /* @__PURE__ */ l("blockquote", { children: t });
|
|
4864
4880
|
const n = [];
|
|
@@ -4908,67 +4924,91 @@ const Wt = x.pre`
|
|
|
4908
4924
|
z-index: 0;
|
|
4909
4925
|
border-radius: 100%;
|
|
4910
4926
|
}
|
|
4911
|
-
`,
|
|
4927
|
+
`, yc = Vt(
|
|
4912
4928
|
({ className: t, ...e }, n) => /* @__PURE__ */ l(ba, { className: P("playable", t), ...e, ref: n, children: /* @__PURE__ */ l(J, { icon: "play_circle" }) })
|
|
4913
4929
|
);
|
|
4914
4930
|
export {
|
|
4915
|
-
|
|
4916
|
-
|
|
4931
|
+
Ae as $,
|
|
4932
|
+
$n as A,
|
|
4917
4933
|
ae as B,
|
|
4918
4934
|
oa as C,
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4935
|
+
Er as D,
|
|
4936
|
+
be as E,
|
|
4937
|
+
Cr as F,
|
|
4938
|
+
ye as G,
|
|
4939
|
+
Kl as H,
|
|
4940
|
+
vt as I,
|
|
4941
|
+
Hl as J,
|
|
4942
|
+
Ul as K,
|
|
4943
|
+
ia as L,
|
|
4944
|
+
Br as M,
|
|
4929
4945
|
Se as N,
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4946
|
+
zl as O,
|
|
4947
|
+
$s as P,
|
|
4948
|
+
vn as Q,
|
|
4949
|
+
_r as R,
|
|
4950
|
+
bt as S,
|
|
4951
|
+
Fl as T,
|
|
4936
4952
|
gr as U,
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4953
|
+
Rr as V,
|
|
4954
|
+
ai as W,
|
|
4955
|
+
ze as X,
|
|
4940
4956
|
Nr as Y,
|
|
4941
|
-
|
|
4942
|
-
|
|
4957
|
+
j as Z,
|
|
4958
|
+
yc as _,
|
|
4943
4959
|
na as a,
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4960
|
+
ga as a0,
|
|
4961
|
+
rt as a1,
|
|
4962
|
+
Js as a2,
|
|
4963
|
+
sc as a3,
|
|
4964
|
+
oc as a4,
|
|
4965
|
+
ic as a5,
|
|
4966
|
+
Gl as a6,
|
|
4967
|
+
Wl as a7,
|
|
4968
|
+
Yl as a8,
|
|
4969
|
+
ql as a9,
|
|
4970
|
+
nc as aa,
|
|
4971
|
+
Vl as ab,
|
|
4972
|
+
ma as ac,
|
|
4973
|
+
Ql as ad,
|
|
4974
|
+
Jl as ae,
|
|
4975
|
+
Zl as af,
|
|
4976
|
+
Xl as ag,
|
|
4977
|
+
ec as ah,
|
|
4978
|
+
tc as ai,
|
|
4979
|
+
rc as aj,
|
|
4980
|
+
mc as ak,
|
|
4981
|
+
pc as al,
|
|
4982
|
+
ua as am,
|
|
4983
|
+
ac as an,
|
|
4984
|
+
lc as ao,
|
|
4985
|
+
cc as ap,
|
|
4986
|
+
dc as aq,
|
|
4987
|
+
uc as ar,
|
|
4988
|
+
gc as as,
|
|
4989
|
+
bc as b,
|
|
4990
|
+
fc as c,
|
|
4991
|
+
jl as d,
|
|
4952
4992
|
Dl as e,
|
|
4953
4993
|
z as f,
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4994
|
+
ra as g,
|
|
4995
|
+
An as h,
|
|
4996
|
+
hc as i,
|
|
4997
|
+
De as j,
|
|
4998
|
+
pe as k,
|
|
4999
|
+
Rt as l,
|
|
5000
|
+
Xe as m,
|
|
5001
|
+
hn as n,
|
|
5002
|
+
Sr as o,
|
|
4963
5003
|
re as p,
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
5004
|
+
et as q,
|
|
5005
|
+
Pl as r,
|
|
5006
|
+
Bl as s,
|
|
5007
|
+
ta as t,
|
|
5008
|
+
Pe as u,
|
|
5009
|
+
Qr as v,
|
|
5010
|
+
ht as w,
|
|
5011
|
+
wr as x,
|
|
5012
|
+
Hs as y,
|
|
5013
|
+
ve as z
|
|
4974
5014
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as P } from "react/jsx-runtime";
|
|
2
2
|
import { useState as M, useCallback as u } from "react";
|
|
3
|
-
import { u as
|
|
4
|
-
import { T as
|
|
3
|
+
import { u as F } from "./useCreateContextMenu.es.js";
|
|
4
|
+
import { T as G, P as S } from "./TableExportContextInstance.es.js";
|
|
5
5
|
import "./searchTerms.es.js";
|
|
6
|
-
import {
|
|
6
|
+
import { c9 as _, c6 as w, dG as B } from "./getUris.es.js";
|
|
7
7
|
import "primereact/confirmdialog";
|
|
8
8
|
import "lodash";
|
|
9
9
|
import "react-toastify";
|
|
@@ -15,7 +15,7 @@ const W = ({
|
|
|
15
15
|
versionsInputRef: e,
|
|
16
16
|
canUploadVersion: r = !1
|
|
17
17
|
}) => {
|
|
18
|
-
const [, a] = M(!1), [T] =
|
|
18
|
+
const [, a] = M(!1), [T] = F(), f = () => a(!1), d = () => {
|
|
19
19
|
c?.current && (c.current.click(), a(!0));
|
|
20
20
|
}, i = () => {
|
|
21
21
|
e?.current && (e.current.click(), a(!0));
|
|
@@ -37,7 +37,7 @@ const W = ({
|
|
|
37
37
|
T(y, s);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ P(
|
|
40
|
-
|
|
40
|
+
G.Provider,
|
|
41
41
|
{
|
|
42
42
|
value: {
|
|
43
43
|
resetFileUploadState: f,
|
|
@@ -97,7 +97,7 @@ const X = ({
|
|
|
97
97
|
} = _({ projectName: t }, { skip: !t }), { data: l = {}, refetch: y } = w(
|
|
98
98
|
{ projectName: t },
|
|
99
99
|
{ skip: !t }
|
|
100
|
-
), s = l.product_base_types?.default, { data: g } =
|
|
100
|
+
), s = l.product_base_types?.default, { data: g } = B(
|
|
101
101
|
{ projectName: t },
|
|
102
102
|
{
|
|
103
103
|
skip: !t
|
|
@@ -12,7 +12,7 @@ import "uuid";
|
|
|
12
12
|
import "./searchTerms.es.js";
|
|
13
13
|
import { u as E } from "./useCreateContextMenu.es.js";
|
|
14
14
|
import { D as F } from "./DetailsDialog.es.js";
|
|
15
|
-
import {
|
|
15
|
+
import { c6 as H } from "./getUris.es.js";
|
|
16
16
|
const I = (d = []) => {
|
|
17
17
|
let n = [];
|
|
18
18
|
for (const t of d) {
|