@ynput/ayon-frontend-shared 0.6.9 → 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/ListTable.es.js +420 -420
- package/dist/NewEntity.es.js +42 -41
- 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 +19 -18
- 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 +864 -859
- 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 +2457 -2196
- package/dist/chunks/PlayableIcon.es.js +77 -76
- package/dist/chunks/ProjectContext.es.js +6 -6
- package/dist/chunks/RepresentationsList.es.js +1 -1
- package/dist/chunks/ReviewablesSelector.es.js +625 -609
- package/dist/chunks/SimpleForm.es.js +1 -1
- package/dist/chunks/SimpleTable.es.js +386 -363
- package/dist/chunks/Slicer.es.js +954 -821
- 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 +222 -221
- package/dist/chunks/getBundleMode.es.js +1 -1
- 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/useHierarchySelection.es.js +6 -5
- package/dist/chunks/useLoadModule.es.js +24 -23
- package/dist/chunks/viewUpdateHelper.es.js +16 -15
- package/dist/components.es.js +565 -531
- package/dist/context.es.js +529 -503
- package/dist/hooks.es.js +13 -13
- package/dist/index.es.js +4 -4
- package/dist/types/ContextMenu.d.ts +4 -1
- package/dist/types/Feed.d.ts +1 -1
- package/dist/types/ListTable.d.ts +1 -1
- package/dist/types/ProjectTreeTable.d.ts +123 -13
- 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 +30 -4
- package/dist/types/context.d.ts +94 -2
- package/dist/types/util.d.ts +54 -0
- package/dist/util.es.js +129 -119
- 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,7 +303,7 @@ const gr = ({ name: t, fullName: e, imageKey: n, ...o }) => t ? /* @__PURE__ */
|
|
|
302
303
|
"numberList",
|
|
303
304
|
"bulletList",
|
|
304
305
|
"checkList"
|
|
305
|
-
],
|
|
306
|
+
], Bl = [
|
|
306
307
|
"h1",
|
|
307
308
|
"h2",
|
|
308
309
|
"h3",
|
|
@@ -522,7 +523,7 @@ class ye extends gn {
|
|
|
522
523
|
);
|
|
523
524
|
}
|
|
524
525
|
}
|
|
525
|
-
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) => {
|
|
526
527
|
const e = /* @__PURE__ */ new Set();
|
|
527
528
|
let n = !1;
|
|
528
529
|
for (const o of String(t || "").split(`
|
|
@@ -2312,7 +2313,7 @@ const Hi = ({ placement: t = "inline", menuParent: e }) => {
|
|
|
2312
2313
|
),
|
|
2313
2314
|
[t]
|
|
2314
2315
|
), null;
|
|
2315
|
-
}, 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) => {
|
|
2316
2317
|
if (!t) return null;
|
|
2317
2318
|
const e = t.match(/^source:([0-9a-f]{32})(?:\?(.*))?$/);
|
|
2318
2319
|
if (e) {
|
|
@@ -3649,7 +3650,7 @@ const js = (t, e) => {
|
|
|
3649
3650
|
keywords: d,
|
|
3650
3651
|
relevance: n.relevance
|
|
3651
3652
|
};
|
|
3652
|
-
}),
|
|
3653
|
+
}), Kl = ({
|
|
3653
3654
|
suggestions: t = {},
|
|
3654
3655
|
// version options read the product types
|
|
3655
3656
|
project: e = { productTypes: [] },
|
|
@@ -3938,10 +3939,10 @@ const js = (t, e) => {
|
|
|
3938
3939
|
values: z["last-year"](),
|
|
3939
3940
|
icon: "calendar_month"
|
|
3940
3941
|
}
|
|
3941
|
-
],
|
|
3942
|
+
], Ul = An(), ia = () => [
|
|
3942
3943
|
ra,
|
|
3943
3944
|
...An()
|
|
3944
|
-
],
|
|
3945
|
+
], Hl = ia(), jl = (t, e) => {
|
|
3945
3946
|
if (!t || !e) return null;
|
|
3946
3947
|
try {
|
|
3947
3948
|
const n = B(t), o = B(e);
|
|
@@ -4090,7 +4091,7 @@ const js = (t, e) => {
|
|
|
4090
4091
|
o.set("activity", e);
|
|
4091
4092
|
const i = new URL(`${window.location.origin}/projects/${t}/${r}`);
|
|
4092
4093
|
return i.search = o.toString(), i.toString();
|
|
4093
|
-
},
|
|
4094
|
+
}, Gl = x.div`
|
|
4094
4095
|
/* use grid tick for auto height transition */
|
|
4095
4096
|
display: grid;
|
|
4096
4097
|
height: 100%;
|
|
@@ -4118,7 +4119,7 @@ const js = (t, e) => {
|
|
|
4118
4119
|
--button-color-secondary: ${e};
|
|
4119
4120
|
--button-text-color: ${to(t)};
|
|
4120
4121
|
--border-color: ${t};
|
|
4121
|
-
`,
|
|
4122
|
+
`, Wl = x.div`
|
|
4122
4123
|
/* VARS */
|
|
4123
4124
|
--background-color: var(--md-sys-color-surface-container);
|
|
4124
4125
|
--button-color: var(--md-sys-color-primary);
|
|
@@ -4216,14 +4217,14 @@ const js = (t, e) => {
|
|
|
4216
4217
|
/* remove outline */
|
|
4217
4218
|
outline: none;
|
|
4218
4219
|
}
|
|
4219
|
-
`,
|
|
4220
|
+
`, Yl = x.div`
|
|
4220
4221
|
padding: 4px 4px 0;
|
|
4221
|
-
`,
|
|
4222
|
+
`, ql = x.span`
|
|
4222
4223
|
width: 1px;
|
|
4223
4224
|
height: 18px;
|
|
4224
4225
|
margin: 0 4px;
|
|
4225
4226
|
background-color: var(--md-sys-color-surface-container-hover);
|
|
4226
|
-
`,
|
|
4227
|
+
`, Vl = x.footer`
|
|
4227
4228
|
display: flex;
|
|
4228
4229
|
justify-content: space-between;
|
|
4229
4230
|
padding: var(--padding-m);
|
|
@@ -4264,7 +4265,7 @@ const js = (t, e) => {
|
|
|
4264
4265
|
}
|
|
4265
4266
|
}
|
|
4266
4267
|
}
|
|
4267
|
-
`,
|
|
4268
|
+
`, Ql = x.div`
|
|
4268
4269
|
display: inline-flex;
|
|
4269
4270
|
align-items: center;
|
|
4270
4271
|
border-radius: var(--border-radius-m);
|
|
@@ -4278,14 +4279,14 @@ const js = (t, e) => {
|
|
|
4278
4279
|
background-color: var(--md-sys-color-primary-container-hover);
|
|
4279
4280
|
}
|
|
4280
4281
|
}
|
|
4281
|
-
`,
|
|
4282
|
+
`, Jl = x(te)`
|
|
4282
4283
|
color: inherit;
|
|
4283
4284
|
background: transparent;
|
|
4284
4285
|
|
|
4285
4286
|
&:hover {
|
|
4286
4287
|
background-color: var(--md-sys-color-primary-container-hover) !important;
|
|
4287
4288
|
}
|
|
4288
|
-
`,
|
|
4289
|
+
`, Xl = x(te)`
|
|
4289
4290
|
width: 100%;
|
|
4290
4291
|
padding: 4px 6px;
|
|
4291
4292
|
white-space: nowrap;
|
|
@@ -4295,14 +4296,14 @@ const js = (t, e) => {
|
|
|
4295
4296
|
&:hover {
|
|
4296
4297
|
background-color: var(--md-sys-color-surface-container-low) !important;
|
|
4297
4298
|
}
|
|
4298
|
-
`,
|
|
4299
|
+
`, Zl = x(eo)`
|
|
4299
4300
|
min-width: 0;
|
|
4300
4301
|
padding: 4px 8px;
|
|
4301
|
-
`,
|
|
4302
|
+
`, ec = x(ma)`
|
|
4302
4303
|
margin-left: auto;
|
|
4303
4304
|
flex-shrink: 1;
|
|
4304
4305
|
overflow: hidden;
|
|
4305
|
-
`,
|
|
4306
|
+
`, tc = x.div`
|
|
4306
4307
|
position: absolute;
|
|
4307
4308
|
inset: 0;
|
|
4308
4309
|
user-select: none;
|
|
@@ -4326,18 +4327,18 @@ const js = (t, e) => {
|
|
|
4326
4327
|
.icon {
|
|
4327
4328
|
font-size: 40px;
|
|
4328
4329
|
}
|
|
4329
|
-
`,
|
|
4330
|
+
`, nc = x.span`
|
|
4330
4331
|
padding: 12px 15px;
|
|
4331
4332
|
/* italic */
|
|
4332
4333
|
font-style: italic;
|
|
4333
4334
|
opacity: 0.4;
|
|
4334
|
-
`,
|
|
4335
|
+
`, oc = x.div`
|
|
4335
4336
|
display: grid;
|
|
4336
4337
|
gap: var(--base-gap-medium);
|
|
4337
4338
|
grid-template-columns: 1fr 1fr;
|
|
4338
|
-
`,
|
|
4339
|
+
`, rc = x.div`
|
|
4339
4340
|
margin-top: var(--padding-m);
|
|
4340
|
-
`,
|
|
4341
|
+
`, ic = x(te)`
|
|
4341
4342
|
background: transparent;
|
|
4342
4343
|
border: solid 1px currentColor;
|
|
4343
4344
|
flex-grow: 1;
|
|
@@ -4372,7 +4373,7 @@ const js = (t, e) => {
|
|
|
4372
4373
|
pointer-events: none;
|
|
4373
4374
|
}
|
|
4374
4375
|
}
|
|
4375
|
-
`,
|
|
4376
|
+
`, sc = x.div`
|
|
4376
4377
|
border-radius: var(--border-radius-l);
|
|
4377
4378
|
margin-bottom: var(--padding-m);
|
|
4378
4379
|
user-select: none;
|
|
@@ -4400,7 +4401,7 @@ const js = (t, e) => {
|
|
|
4400
4401
|
x.div`
|
|
4401
4402
|
border-radius: var(--border-radius-m);
|
|
4402
4403
|
`;
|
|
4403
|
-
const
|
|
4404
|
+
const ac = x.li`
|
|
4404
4405
|
/* VARS */
|
|
4405
4406
|
--background-color: var(--md-sys-color-surface-container);
|
|
4406
4407
|
--button-color-secondary: var(--md-sys-color-surface-container-high);
|
|
@@ -4450,7 +4451,7 @@ const sc = x.li`
|
|
|
4450
4451
|
&.isHighlighted {
|
|
4451
4452
|
background-color: var(--md-sys-color-secondary-container);
|
|
4452
4453
|
}
|
|
4453
|
-
`,
|
|
4454
|
+
`, lc = x.div`
|
|
4454
4455
|
background-color: var(--background-color);
|
|
4455
4456
|
border-radius: var(--border-radius-m);
|
|
4456
4457
|
padding: var(--padding-m);
|
|
@@ -4682,7 +4683,7 @@ const Wt = x.pre`
|
|
|
4682
4683
|
color: var(--md-sys-color-tertiary);
|
|
4683
4684
|
white-space: pre-wrap;
|
|
4684
4685
|
word-break: break-word;
|
|
4685
|
-
`,
|
|
4686
|
+
`, cc = x.div`
|
|
4686
4687
|
display: flex;
|
|
4687
4688
|
position: absolute;
|
|
4688
4689
|
right: 4px;
|
|
@@ -4695,7 +4696,7 @@ const Wt = x.pre`
|
|
|
4695
4696
|
|
|
4696
4697
|
/* by default hidden */
|
|
4697
4698
|
opacity: 0;
|
|
4698
|
-
`,
|
|
4699
|
+
`, dc = x(te)`
|
|
4699
4700
|
&.hasIcon {
|
|
4700
4701
|
padding: 4px;
|
|
4701
4702
|
}
|
|
@@ -4710,7 +4711,7 @@ const Wt = x.pre`
|
|
|
4710
4711
|
position: relative;
|
|
4711
4712
|
top: -1px;
|
|
4712
4713
|
}
|
|
4713
|
-
`,
|
|
4714
|
+
`, uc = x.span`
|
|
4714
4715
|
background-color: var(--md-sys-color-secondary-container);
|
|
4715
4716
|
display: flex;
|
|
4716
4717
|
align-items: center;
|
|
@@ -4731,14 +4732,14 @@ const Wt = x.pre`
|
|
|
4731
4732
|
.icon {
|
|
4732
4733
|
font-size: 24px;
|
|
4733
4734
|
}
|
|
4734
|
-
`,
|
|
4735
|
+
`, mc = x.div`
|
|
4735
4736
|
display: flex;
|
|
4736
4737
|
align-items: center;
|
|
4737
4738
|
gap: var(--base-gap-small);
|
|
4738
4739
|
min-width: 0;
|
|
4739
4740
|
overflow-x: auto;
|
|
4740
4741
|
padding-bottom: 4px;
|
|
4741
|
-
`,
|
|
4742
|
+
`, pc = x.button`
|
|
4742
4743
|
display: inline-flex;
|
|
4743
4744
|
align-items: center;
|
|
4744
4745
|
gap: var(--base-gap-small);
|
|
@@ -4794,7 +4795,7 @@ const Wt = x.pre`
|
|
|
4794
4795
|
}
|
|
4795
4796
|
}
|
|
4796
4797
|
return {};
|
|
4797
|
-
}, 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 }, {
|
|
4798
4799
|
entityId: n,
|
|
4799
4800
|
entityType: o,
|
|
4800
4801
|
userName: r,
|
|
@@ -4863,17 +4864,17 @@ const Wt = x.pre`
|
|
|
4863
4864
|
children: w
|
|
4864
4865
|
}
|
|
4865
4866
|
);
|
|
4866
|
-
},
|
|
4867
|
+
}, hc = ({ type: t, checked: e, ...n }, { activity: o, onCheckChange: r }) => t === "checkbox" ? /* @__PURE__ */ l(
|
|
4867
4868
|
aa,
|
|
4868
4869
|
{
|
|
4869
4870
|
checked: !!e,
|
|
4870
4871
|
onChange: (i) => r && r(i, o)
|
|
4871
4872
|
}
|
|
4872
|
-
) : /* @__PURE__ */ l("input", { type: t, disabled: !0, ...n }),
|
|
4873
|
+
) : /* @__PURE__ */ l("input", { type: t, disabled: !0, ...n }), fc = ({ node: t, className: e, children: n }) => {
|
|
4873
4874
|
if (!(!!e?.startsWith("language-") || t?.position && t.position.start.line !== t.position.end.line)) return /* @__PURE__ */ l(pa, { children: n });
|
|
4874
4875
|
const r = e?.replace(/^language-/, ""), i = typeof n == "string" ? n.replace(/\n$/, "") : null, s = i !== null ? yr(i, r) : null;
|
|
4875
4876
|
return s !== null ? /* @__PURE__ */ l(Wt, { children: /* @__PURE__ */ l("code", { className: e, dangerouslySetInnerHTML: { __html: s } }) }) : /* @__PURE__ */ l(Wt, { children: n });
|
|
4876
|
-
},
|
|
4877
|
+
}, bc = ({ children: t }) => {
|
|
4877
4878
|
const e = qt.Children.toArray(t).find((o) => !!o?.props)?.props?.children;
|
|
4878
4879
|
if (!e) return /* @__PURE__ */ l("blockquote", { children: t });
|
|
4879
4880
|
const n = [];
|
|
@@ -4923,7 +4924,7 @@ const Wt = x.pre`
|
|
|
4923
4924
|
z-index: 0;
|
|
4924
4925
|
border-radius: 100%;
|
|
4925
4926
|
}
|
|
4926
|
-
`,
|
|
4927
|
+
`, yc = Vt(
|
|
4927
4928
|
({ className: t, ...e }, n) => /* @__PURE__ */ l(ba, { className: P("playable", t), ...e, ref: n, children: /* @__PURE__ */ l(J, { icon: "play_circle" }) })
|
|
4928
4929
|
);
|
|
4929
4930
|
export {
|
|
@@ -4935,64 +4936,64 @@ export {
|
|
|
4935
4936
|
be as E,
|
|
4936
4937
|
Cr as F,
|
|
4937
4938
|
ye as G,
|
|
4938
|
-
|
|
4939
|
+
Kl as H,
|
|
4939
4940
|
vt as I,
|
|
4940
|
-
|
|
4941
|
-
|
|
4941
|
+
Hl as J,
|
|
4942
|
+
Ul as K,
|
|
4942
4943
|
ia as L,
|
|
4943
4944
|
Br as M,
|
|
4944
4945
|
Se as N,
|
|
4945
|
-
|
|
4946
|
+
zl as O,
|
|
4946
4947
|
$s as P,
|
|
4947
4948
|
vn as Q,
|
|
4948
4949
|
_r as R,
|
|
4949
4950
|
bt as S,
|
|
4950
|
-
|
|
4951
|
+
Fl as T,
|
|
4951
4952
|
gr as U,
|
|
4952
4953
|
Rr as V,
|
|
4953
4954
|
ai as W,
|
|
4954
4955
|
ze as X,
|
|
4955
4956
|
Nr as Y,
|
|
4956
4957
|
j as Z,
|
|
4957
|
-
|
|
4958
|
+
yc as _,
|
|
4958
4959
|
na as a,
|
|
4959
4960
|
ga as a0,
|
|
4960
4961
|
rt as a1,
|
|
4961
4962
|
Js as a2,
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
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,
|
|
4971
4972
|
ma as ac,
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
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,
|
|
4981
4982
|
ua as am,
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
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,
|
|
4992
|
+
Dl as e,
|
|
4992
4993
|
z as f,
|
|
4993
4994
|
ra as g,
|
|
4994
4995
|
An as h,
|
|
4995
|
-
|
|
4996
|
+
hc as i,
|
|
4996
4997
|
De as j,
|
|
4997
4998
|
pe as k,
|
|
4998
4999
|
Rt as l,
|
|
@@ -5001,8 +5002,8 @@ export {
|
|
|
5001
5002
|
Sr as o,
|
|
5002
5003
|
re as p,
|
|
5003
5004
|
et as q,
|
|
5004
|
-
|
|
5005
|
-
|
|
5005
|
+
Pl as r,
|
|
5006
|
+
Bl as s,
|
|
5006
5007
|
ta as t,
|
|
5007
5008
|
Pe as u,
|
|
5008
5009
|
Qr as v,
|
|
@@ -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) {
|