@strapi/upload 5.0.0-rc.8 → 5.0.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/_chunks/{index-CiIJv_Bn.mjs → index-BE_75e6q.mjs} +4 -4
- package/dist/_chunks/index-BE_75e6q.mjs.map +1 -0
- package/dist/_chunks/{index-BgnsBW-4.mjs → index-BsdHnx77.mjs} +68 -59
- package/dist/_chunks/index-BsdHnx77.mjs.map +1 -0
- package/dist/_chunks/{index-C3CfaRKc.js → index-BxlIY8_C.js} +68 -59
- package/dist/_chunks/index-BxlIY8_C.js.map +1 -0
- package/dist/_chunks/{index-C9feUisQ.mjs → index-C-azC_fq.mjs} +5 -5
- package/dist/_chunks/index-C-azC_fq.mjs.map +1 -0
- package/dist/_chunks/{index-BX9yw847.mjs → index-C43LhapC.mjs} +88 -76
- package/dist/_chunks/index-C43LhapC.mjs.map +1 -0
- package/dist/_chunks/{index-B0H-C5mc.js → index-DREq-dKv.js} +88 -76
- package/dist/_chunks/index-DREq-dKv.js.map +1 -0
- package/dist/_chunks/{index-b9YY-1Cn.js → index-WoakSQD0.js} +5 -5
- package/dist/_chunks/index-WoakSQD0.js.map +1 -0
- package/dist/_chunks/{index-On9Ka5Mj.js → index-mZzQHKD_.js} +4 -4
- package/dist/_chunks/index-mZzQHKD_.js.map +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/package.json +8 -8
- package/dist/_chunks/index-B0H-C5mc.js.map +0 -1
- package/dist/_chunks/index-BX9yw847.mjs.map +0 -1
- package/dist/_chunks/index-BgnsBW-4.mjs.map +0 -1
- package/dist/_chunks/index-C3CfaRKc.js.map +0 -1
- package/dist/_chunks/index-C9feUisQ.mjs.map +0 -1
- package/dist/_chunks/index-CiIJv_Bn.mjs.map +0 -1
- package/dist/_chunks/index-On9Ka5Mj.js.map +0 -1
- package/dist/_chunks/index-b9YY-1Cn.js.map +0 -1
- package/strapi-server.js +0 -3
|
@@ -60,7 +60,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path) => {
|
|
|
60
60
|
});
|
|
61
61
|
};
|
|
62
62
|
const name$1 = "@strapi/upload";
|
|
63
|
-
const version = "5.0.0-rc.
|
|
63
|
+
const version = "5.0.0-rc.30";
|
|
64
64
|
const description = "Makes it easy to upload images and files to your Strapi Application.";
|
|
65
65
|
const license = "SEE LICENSE IN LICENSE";
|
|
66
66
|
const author = {
|
|
@@ -105,10 +105,10 @@ const scripts = {
|
|
|
105
105
|
watch: "pack-up watch"
|
|
106
106
|
};
|
|
107
107
|
const dependencies = {
|
|
108
|
-
"@strapi/design-system": "2.0.0-
|
|
109
|
-
"@strapi/icons": "2.0.0-
|
|
110
|
-
"@strapi/provider-upload-local": "
|
|
111
|
-
"@strapi/utils": "
|
|
108
|
+
"@strapi/design-system": "2.0.0-rc.11",
|
|
109
|
+
"@strapi/icons": "2.0.0-rc.11",
|
|
110
|
+
"@strapi/provider-upload-local": "workspace:*",
|
|
111
|
+
"@strapi/utils": "workspace:*",
|
|
112
112
|
"byte-size": "8.1.1",
|
|
113
113
|
cropperjs: "1.6.1",
|
|
114
114
|
"date-fns": "2.30.0",
|
|
@@ -130,9 +130,9 @@ const dependencies = {
|
|
|
130
130
|
yup: "0.32.9"
|
|
131
131
|
};
|
|
132
132
|
const devDependencies = {
|
|
133
|
-
"@strapi/admin": "
|
|
133
|
+
"@strapi/admin": "workspace:*",
|
|
134
134
|
"@strapi/pack-up": "5.0.0",
|
|
135
|
-
"@strapi/types": "
|
|
135
|
+
"@strapi/types": "workspace:*",
|
|
136
136
|
"@testing-library/dom": "10.1.0",
|
|
137
137
|
"@testing-library/react": "15.0.7",
|
|
138
138
|
"@testing-library/user-event": "14.5.2",
|
|
@@ -843,7 +843,10 @@ const useSelectionState = (keys, initialValue) => {
|
|
|
843
843
|
}
|
|
844
844
|
};
|
|
845
845
|
const selectOnly = (nextSelection) => {
|
|
846
|
-
|
|
846
|
+
const index2 = selections.findIndex(
|
|
847
|
+
(currentSelection) => keys.every((key) => currentSelection[key] === nextSelection[key])
|
|
848
|
+
);
|
|
849
|
+
if (index2 > -1) {
|
|
847
850
|
setSelections([]);
|
|
848
851
|
} else {
|
|
849
852
|
setSelections([nextSelection]);
|
|
@@ -999,7 +1002,7 @@ const ContextInfo = ({ blocks }) => {
|
|
|
999
1002
|
paddingTop: 4,
|
|
1000
1003
|
paddingBottom: 4,
|
|
1001
1004
|
background: "neutral100",
|
|
1002
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Root, { gap: 4, children: blocks.map(({ label, value }) => /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 6, xs: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 1, children: [
|
|
1005
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Root, { gap: 4, children: blocks.map(({ label, value }) => /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 6, xs: 12, direction: "column", alignItems: "stretch", children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 1, children: [
|
|
1003
1006
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", children: label }),
|
|
1004
1007
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral700", children: value })
|
|
1005
1008
|
] }) }, label)) })
|
|
@@ -2130,7 +2133,7 @@ const EditAssetContent = ({
|
|
|
2130
2133
|
children: ({ values, errors, handleChange, setFieldValue }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2131
2134
|
/* @__PURE__ */ jsxRuntime.jsx(DialogHeader, {}),
|
|
2132
2135
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Body, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Grid.Root, { gap: 4, children: [
|
|
2133
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { xs: 12, col: 6, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2136
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { xs: 12, col: 6, direction: "column", alignItems: "stretch", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2134
2137
|
PreviewBox,
|
|
2135
2138
|
{
|
|
2136
2139
|
asset,
|
|
@@ -2145,7 +2148,7 @@ const EditAssetContent = ({
|
|
|
2145
2148
|
trackedLocation
|
|
2146
2149
|
}
|
|
2147
2150
|
) }),
|
|
2148
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { xs: 12, col: 6, children: /* @__PURE__ */ jsxRuntime.jsxs(formik.Form, { noValidate: true, children: [
|
|
2151
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { xs: 12, col: 6, direction: "column", alignItems: "stretch", children: /* @__PURE__ */ jsxRuntime.jsxs(formik.Form, { noValidate: true, children: [
|
|
2149
2152
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 3, children: [
|
|
2150
2153
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2151
2154
|
ContextInfo,
|
|
@@ -2524,7 +2527,7 @@ const EditFolderContent = ({ onClose, folder, location, parentFolderId }) => {
|
|
|
2524
2527
|
children: ({ values, errors, handleChange, setFieldValue }) => /* @__PURE__ */ jsxRuntime.jsxs(formik.Form, { noValidate: true, children: [
|
|
2525
2528
|
/* @__PURE__ */ jsxRuntime.jsx(EditFolderModalHeader, { isEditing }),
|
|
2526
2529
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Body, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Grid.Root, { gap: 4, children: [
|
|
2527
|
-
isEditing && /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { xs: 12, col: 12, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2530
|
+
isEditing && /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { xs: 12, col: 12, direction: "column", alignItems: "stretch", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2528
2531
|
ContextInfo,
|
|
2529
2532
|
{
|
|
2530
2533
|
blocks: [
|
|
@@ -2554,7 +2557,7 @@ const EditFolderContent = ({ onClose, folder, location, parentFolderId }) => {
|
|
|
2554
2557
|
]
|
|
2555
2558
|
}
|
|
2556
2559
|
) }),
|
|
2557
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { xs: 12, col: 6, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Field.Root, { name: "name", error: errors.name, children: [
|
|
2560
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { xs: 12, col: 6, direction: "column", alignItems: "stretch", children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Field.Root, { name: "name", error: errors.name, children: [
|
|
2558
2561
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Field.Label, { children: formatMessage({
|
|
2559
2562
|
id: getTrad("form.input.label.folder-name"),
|
|
2560
2563
|
defaultMessage: "Name"
|
|
@@ -2569,7 +2572,7 @@ const EditFolderContent = ({ onClose, folder, location, parentFolderId }) => {
|
|
|
2569
2572
|
),
|
|
2570
2573
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Field.Error, {})
|
|
2571
2574
|
] }) }),
|
|
2572
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { xs: 12, col: 6, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Field.Root, { id: "folder-parent", children: [
|
|
2575
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { xs: 12, col: 6, direction: "column", alignItems: "stretch", children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Field.Root, { id: "folder-parent", children: [
|
|
2573
2576
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Field.Label, { children: formatMessage({
|
|
2574
2577
|
id: getTrad("form.input.label.folder-location"),
|
|
2575
2578
|
defaultMessage: "Location"
|
|
@@ -3107,7 +3110,7 @@ const AssetGridList = ({
|
|
|
3107
3110
|
}
|
|
3108
3111
|
) }) }, asset.id);
|
|
3109
3112
|
}
|
|
3110
|
-
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 3, height: "100%", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3113
|
+
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 3, height: "100%", direction: "column", alignItems: "stretch", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3111
3114
|
AssetCard,
|
|
3112
3115
|
{
|
|
3113
3116
|
allowedTypes,
|
|
@@ -3666,14 +3669,14 @@ const TableRows = ({
|
|
|
3666
3669
|
contentType === "folder" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3667
3670
|
designSystem.IconButton,
|
|
3668
3671
|
{
|
|
3669
|
-
tag: folderURL ? reactRouterDom.Link :
|
|
3672
|
+
tag: folderURL ? reactRouterDom.Link : "button",
|
|
3670
3673
|
label: formatMessage({
|
|
3671
3674
|
id: getTrad("list.folders.link-label"),
|
|
3672
3675
|
defaultMessage: "Access folder"
|
|
3673
3676
|
}),
|
|
3674
3677
|
to: folderURL,
|
|
3675
3678
|
onClick: () => !folderURL && onChangeFolder(id2),
|
|
3676
|
-
|
|
3679
|
+
variant: "ghost",
|
|
3677
3680
|
children: /* @__PURE__ */ jsxRuntime.jsx(icons.Eye, {})
|
|
3678
3681
|
}
|
|
3679
3682
|
),
|
|
@@ -3685,7 +3688,7 @@ const TableRows = ({
|
|
|
3685
3688
|
defaultMessage: "Edit"
|
|
3686
3689
|
}),
|
|
3687
3690
|
onClick: () => contentType === "asset" ? onEditAsset(element) : onEditFolder(element),
|
|
3688
|
-
|
|
3691
|
+
variant: "ghost",
|
|
3689
3692
|
children: /* @__PURE__ */ jsxRuntime.jsx(icons.Pencil, {})
|
|
3690
3693
|
}
|
|
3691
3694
|
)
|
|
@@ -3758,7 +3761,7 @@ const TableList = ({
|
|
|
3758
3761
|
{
|
|
3759
3762
|
label: sortLabel,
|
|
3760
3763
|
onClick: () => handleClickSort(isSorted, name2),
|
|
3761
|
-
|
|
3764
|
+
variant: "ghost",
|
|
3762
3765
|
children: isUp ? /* @__PURE__ */ jsxRuntime.jsx(icons.CaretUp, {}) : /* @__PURE__ */ jsxRuntime.jsx(icons.CaretDown, {})
|
|
3763
3766
|
}
|
|
3764
3767
|
),
|
|
@@ -4841,65 +4844,74 @@ const BrowseStep = ({
|
|
|
4841
4844
|
{ count: folderCount }
|
|
4842
4845
|
) || "",
|
|
4843
4846
|
children: folders.map((folder) => {
|
|
4844
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4845
|
-
|
|
4847
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4848
|
+
designSystem.Grid.Item,
|
|
4846
4849
|
{
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
{
|
|
4853
|
-
withTooltip: false,
|
|
4854
|
-
label: formatMessage({
|
|
4855
|
-
id: getTrad("list.folder.edit"),
|
|
4856
|
-
defaultMessage: "Edit folder"
|
|
4857
|
-
}),
|
|
4858
|
-
onClick: () => onEditFolder(folder),
|
|
4859
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(icons.Pencil, {})
|
|
4860
|
-
}
|
|
4861
|
-
),
|
|
4862
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(FolderCardBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4863
|
-
FolderCardBodyAction,
|
|
4850
|
+
col: 3,
|
|
4851
|
+
direction: "column",
|
|
4852
|
+
alignItems: "stretch",
|
|
4853
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4854
|
+
FolderCard,
|
|
4864
4855
|
{
|
|
4856
|
+
ariaLabel: folder.name,
|
|
4857
|
+
id: `folder-${folder.id}`,
|
|
4865
4858
|
onClick: () => handleClickFolderCard(folder.id, folder.path),
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
ellipsis: true,
|
|
4886
|
-
children: formatMessage(
|
|
4859
|
+
cardActions: onEditFolder && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4860
|
+
designSystem.IconButton,
|
|
4861
|
+
{
|
|
4862
|
+
withTooltip: false,
|
|
4863
|
+
label: formatMessage({
|
|
4864
|
+
id: getTrad("list.folder.edit"),
|
|
4865
|
+
defaultMessage: "Edit folder"
|
|
4866
|
+
}),
|
|
4867
|
+
onClick: () => onEditFolder(folder),
|
|
4868
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(icons.Pencil, {})
|
|
4869
|
+
}
|
|
4870
|
+
),
|
|
4871
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(FolderCardBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4872
|
+
FolderCardBodyAction,
|
|
4873
|
+
{
|
|
4874
|
+
onClick: () => handleClickFolderCard(folder.id, folder.path),
|
|
4875
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { tag: "h2", direction: "column", alignItems: "start", maxWidth: "100%", children: [
|
|
4876
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4877
|
+
TypographyMaxWidth,
|
|
4887
4878
|
{
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4879
|
+
fontWeight: "semiBold",
|
|
4880
|
+
ellipsis: true,
|
|
4881
|
+
textColor: "neutral800",
|
|
4882
|
+
children: [
|
|
4883
|
+
folder.name,
|
|
4884
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.VisuallyHidden, { children: "-" })
|
|
4885
|
+
]
|
|
4886
|
+
}
|
|
4887
|
+
),
|
|
4888
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4889
|
+
TypographyMaxWidth,
|
|
4891
4890
|
{
|
|
4892
|
-
|
|
4893
|
-
|
|
4891
|
+
tag: "span",
|
|
4892
|
+
textColor: "neutral600",
|
|
4893
|
+
variant: "pi",
|
|
4894
|
+
ellipsis: true,
|
|
4895
|
+
children: formatMessage(
|
|
4896
|
+
{
|
|
4897
|
+
id: getTrad("list.folder.subtitle"),
|
|
4898
|
+
defaultMessage: "{folderCount, plural, =0 {# folder} one {# folder} other {# folders}}, {filesCount, plural, =0 {# asset} one {# asset} other {# assets}}"
|
|
4899
|
+
},
|
|
4900
|
+
{
|
|
4901
|
+
folderCount: folder.children.count,
|
|
4902
|
+
filesCount: folder.files.count
|
|
4903
|
+
}
|
|
4904
|
+
)
|
|
4894
4905
|
}
|
|
4895
4906
|
)
|
|
4896
|
-
}
|
|
4897
|
-
|
|
4898
|
-
|
|
4907
|
+
] })
|
|
4908
|
+
}
|
|
4909
|
+
) })
|
|
4899
4910
|
}
|
|
4900
|
-
)
|
|
4901
|
-
}
|
|
4902
|
-
|
|
4911
|
+
)
|
|
4912
|
+
},
|
|
4913
|
+
`folder-${folder.id}`
|
|
4914
|
+
);
|
|
4903
4915
|
})
|
|
4904
4916
|
}
|
|
4905
4917
|
),
|
|
@@ -5545,7 +5557,7 @@ const FromUrlForm = ({ onClose, onAddAsset, trackedLocation }) => {
|
|
|
5545
5557
|
error: error?.message || (errors.urls ? formatMessage({ id: errors.urls, defaultMessage: "An error occured" }) : void 0),
|
|
5546
5558
|
children: [
|
|
5547
5559
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Field.Label, { children: formatMessage({ id: getTrad("input.url.label"), defaultMessage: "URL" }) }),
|
|
5548
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Textarea, { onChange: handleChange, value: values.urls }),
|
|
5560
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Textarea, { name: "urls", onChange: handleChange, value: values.urls }),
|
|
5549
5561
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Field.Hint, {}),
|
|
5550
5562
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Field.Error, {})
|
|
5551
5563
|
]
|
|
@@ -5799,7 +5811,7 @@ const PendingAssetStep = ({
|
|
|
5799
5811
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.KeyboardNavigable, { tagName: "article", children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Root, { gap: 4, children: assets.map((asset) => {
|
|
5800
5812
|
const assetKey = asset.url;
|
|
5801
5813
|
if (uploadStatus === Status.Uploading || uploadStatus === Status.Intermediate) {
|
|
5802
|
-
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 4, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5814
|
+
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 4, direction: "column", alignItems: "stretch", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5803
5815
|
UploadingAssetCard,
|
|
5804
5816
|
{
|
|
5805
5817
|
addUploadedFiles,
|
|
@@ -5812,7 +5824,7 @@ const PendingAssetStep = ({
|
|
|
5812
5824
|
}
|
|
5813
5825
|
) }, assetKey);
|
|
5814
5826
|
}
|
|
5815
|
-
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 4, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5827
|
+
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 4, direction: "column", alignItems: "stretch", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5816
5828
|
AssetCard,
|
|
5817
5829
|
{
|
|
5818
5830
|
asset,
|
|
@@ -6557,7 +6569,7 @@ const index = {
|
|
|
6557
6569
|
defaultMessage: "Media Library"
|
|
6558
6570
|
},
|
|
6559
6571
|
permissions: PERMISSIONS.main,
|
|
6560
|
-
Component: () => Promise.resolve().then(() => require("./index-
|
|
6572
|
+
Component: () => Promise.resolve().then(() => require("./index-BxlIY8_C.js")),
|
|
6561
6573
|
position: 4
|
|
6562
6574
|
});
|
|
6563
6575
|
app.addSettingsLink("global", {
|
|
@@ -6567,7 +6579,7 @@ const index = {
|
|
|
6567
6579
|
defaultMessage: "Media Library"
|
|
6568
6580
|
},
|
|
6569
6581
|
to: "media-library",
|
|
6570
|
-
Component: () => Promise.resolve().then(() => require("./index-
|
|
6582
|
+
Component: () => Promise.resolve().then(() => require("./index-WoakSQD0.js")),
|
|
6571
6583
|
permissions: PERMISSIONS.settings
|
|
6572
6584
|
});
|
|
6573
6585
|
app.addFields({ type: "media", Component: MediaLibraryInput });
|
|
@@ -6636,4 +6648,4 @@ exports.useMediaLibraryPermissions = useMediaLibraryPermissions;
|
|
|
6636
6648
|
exports.usePersistentState = usePersistentState;
|
|
6637
6649
|
exports.useSelectionState = useSelectionState;
|
|
6638
6650
|
exports.viewOptions = viewOptions;
|
|
6639
|
-
//# sourceMappingURL=index-
|
|
6651
|
+
//# sourceMappingURL=index-DREq-dKv.js.map
|