@strapi/upload 5.4.2 → 5.5.1
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/{App-B_qq8rgN.js → App-BuGrGYjm.js} +4 -5
- package/dist/_chunks/{App-B_qq8rgN.js.map → App-BuGrGYjm.js.map} +1 -1
- package/dist/_chunks/{App-BnJnub6y.mjs → App-YGEZKoYI.mjs} +3 -3
- package/dist/_chunks/{App-BnJnub6y.mjs.map → App-YGEZKoYI.mjs.map} +1 -1
- package/dist/_chunks/{ConfigureTheView-vQ7SyJK-.js → ConfigureTheView-C-_svLrS.js} +3 -4
- package/dist/_chunks/{ConfigureTheView-vQ7SyJK-.js.map → ConfigureTheView-C-_svLrS.js.map} +1 -1
- package/dist/_chunks/{ConfigureTheView-MSDjw9SU.mjs → ConfigureTheView-CBbTLTLN.mjs} +2 -2
- package/dist/_chunks/{ConfigureTheView-MSDjw9SU.mjs.map → ConfigureTheView-CBbTLTLN.mjs.map} +1 -1
- package/dist/_chunks/{SettingsPage-C5mG_qOn.js → SettingsPage-ByLSOdfk.js} +3 -4
- package/dist/_chunks/{SettingsPage-C5mG_qOn.js.map → SettingsPage-ByLSOdfk.js.map} +1 -1
- package/dist/_chunks/{SettingsPage-NQUNwQi_.mjs → SettingsPage-Ca1_e_5V.mjs} +2 -2
- package/dist/_chunks/{SettingsPage-NQUNwQi_.mjs.map → SettingsPage-Ca1_e_5V.mjs.map} +1 -1
- package/dist/_chunks/{graphql-68BJxih-.mjs → graphql-DMPTPlvx.mjs} +2 -2
- package/dist/_chunks/{graphql-68BJxih-.mjs.map → graphql-DMPTPlvx.mjs.map} +1 -1
- package/dist/_chunks/{graphql-DkkRswQX.js → graphql-QF5Y36Qj.js} +2 -2
- package/dist/_chunks/{graphql-DkkRswQX.js.map → graphql-QF5Y36Qj.js.map} +1 -1
- package/dist/_chunks/{index-Bc0RmE2T.js → index-7Ki8NZxH.js} +97 -57
- package/dist/_chunks/index-7Ki8NZxH.js.map +1 -0
- package/dist/_chunks/{index-DR3Ggk1w.mjs → index-B2-z7eWa.mjs} +105 -65
- package/dist/_chunks/index-B2-z7eWa.mjs.map +1 -0
- package/dist/_chunks/{index-BDq2waDf.js → index-D57iKFts.js} +9 -16
- package/dist/_chunks/{index-BDq2waDf.js.map → index-D57iKFts.js.map} +1 -1
- package/dist/_chunks/{index-BGwOh3pn.mjs → index-sOlgMDiZ.mjs} +9 -16
- package/dist/_chunks/{index-BGwOh3pn.mjs.map → index-sOlgMDiZ.mjs.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/index.mjs +1 -1
- package/package.json +10 -10
- package/dist/_chunks/index-Bc0RmE2T.js.map +0 -1
- package/dist/_chunks/index-DR3Ggk1w.mjs.map +0 -1
|
@@ -15,23 +15,31 @@ import { Formik, Form } from "formik";
|
|
|
15
15
|
import isEqual from "lodash/isEqual";
|
|
16
16
|
import ReactSelect, { components } from "react-select";
|
|
17
17
|
import Cropper from "cropperjs";
|
|
18
|
+
import MuxPlayer from "@mux/mux-player-react";
|
|
18
19
|
import "cropperjs/dist/cropper.css";
|
|
19
20
|
import isEmpty from "lodash/isEmpty";
|
|
20
21
|
import { useDrop, useDrag } from "react-dnd";
|
|
21
22
|
import { useLocation, Link as Link$1, NavLink } from "react-router-dom";
|
|
22
23
|
import { EmptyDocuments } from "@strapi/icons/symbols";
|
|
23
24
|
import parseISO from "date-fns/parseISO";
|
|
24
|
-
const __variableDynamicImportRuntimeHelper = (glob, path) => {
|
|
25
|
+
const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
|
|
25
26
|
const v = glob[path];
|
|
26
27
|
if (v) {
|
|
27
28
|
return typeof v === "function" ? v() : Promise.resolve(v);
|
|
28
29
|
}
|
|
29
30
|
return new Promise((_, reject) => {
|
|
30
|
-
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(
|
|
31
|
+
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(
|
|
32
|
+
reject.bind(
|
|
33
|
+
null,
|
|
34
|
+
new Error(
|
|
35
|
+
"Unknown variable dynamic import: " + path + (path.split("/").length !== segs ? ". Note that variables only represent file names one level deep." : "")
|
|
36
|
+
)
|
|
37
|
+
)
|
|
38
|
+
);
|
|
31
39
|
});
|
|
32
40
|
};
|
|
33
41
|
const name$1 = "@strapi/upload";
|
|
34
|
-
const version = "5.
|
|
42
|
+
const version = "5.5.0";
|
|
35
43
|
const description = "Makes it easy to upload images and files to your Strapi Application.";
|
|
36
44
|
const license = "SEE LICENSE IN LICENSE";
|
|
37
45
|
const author = {
|
|
@@ -87,10 +95,11 @@ const scripts = {
|
|
|
87
95
|
watch: "pack-up watch"
|
|
88
96
|
};
|
|
89
97
|
const dependencies = {
|
|
90
|
-
"@
|
|
91
|
-
"@strapi/
|
|
92
|
-
"@strapi/
|
|
93
|
-
"@strapi/
|
|
98
|
+
"@mux/mux-player-react": "3.1.0",
|
|
99
|
+
"@strapi/design-system": "2.0.0-rc.14",
|
|
100
|
+
"@strapi/icons": "2.0.0-rc.14",
|
|
101
|
+
"@strapi/provider-upload-local": "workspace:*",
|
|
102
|
+
"@strapi/utils": "workspace:*",
|
|
94
103
|
"byte-size": "8.1.1",
|
|
95
104
|
cropperjs: "1.6.1",
|
|
96
105
|
"date-fns": "2.30.0",
|
|
@@ -112,9 +121,9 @@ const dependencies = {
|
|
|
112
121
|
yup: "0.32.9"
|
|
113
122
|
};
|
|
114
123
|
const devDependencies = {
|
|
115
|
-
"@strapi/admin": "
|
|
116
|
-
"@strapi/pack-up": "5.0.
|
|
117
|
-
"@strapi/types": "
|
|
124
|
+
"@strapi/admin": "workspace:*",
|
|
125
|
+
"@strapi/pack-up": "5.0.2",
|
|
126
|
+
"@strapi/types": "workspace:*",
|
|
118
127
|
"@testing-library/dom": "10.1.0",
|
|
119
128
|
"@testing-library/react": "15.0.7",
|
|
120
129
|
"@testing-library/user-event": "14.5.2",
|
|
@@ -150,7 +159,6 @@ const strapi = {
|
|
|
150
159
|
required: true,
|
|
151
160
|
kind: "plugin"
|
|
152
161
|
};
|
|
153
|
-
const gitHead = "7d785703f52464577d077c4618cbe68b44f8a9cd";
|
|
154
162
|
const pluginPkg = {
|
|
155
163
|
name: name$1,
|
|
156
164
|
version,
|
|
@@ -165,8 +173,7 @@ const pluginPkg = {
|
|
|
165
173
|
devDependencies,
|
|
166
174
|
peerDependencies,
|
|
167
175
|
engines,
|
|
168
|
-
strapi
|
|
169
|
-
gitHead
|
|
176
|
+
strapi
|
|
170
177
|
};
|
|
171
178
|
const pluginId = pluginPkg.name.replace(/^@strapi\//i, "");
|
|
172
179
|
const useAssets = ({ skipWhen = false, query = {} } = {}) => {
|
|
@@ -1602,42 +1609,43 @@ const RemoveAssetDialog = ({ open, onClose, asset }) => {
|
|
|
1602
1609
|
};
|
|
1603
1610
|
return /* @__PURE__ */ jsx(Dialog.Root, { open, onOpenChange: onClose, children: /* @__PURE__ */ jsx(ConfirmDialog, { onConfirm: handleConfirm }) });
|
|
1604
1611
|
};
|
|
1605
|
-
const usePersistentState = (key, defaultValue) => {
|
|
1606
|
-
const [value, setValue] = useState(() => {
|
|
1607
|
-
const stickyValue = window.localStorage.getItem(key);
|
|
1608
|
-
if (stickyValue !== null) {
|
|
1609
|
-
try {
|
|
1610
|
-
return JSON.parse(stickyValue);
|
|
1611
|
-
} catch {
|
|
1612
|
-
return stickyValue;
|
|
1613
|
-
}
|
|
1614
|
-
}
|
|
1615
|
-
return defaultValue;
|
|
1616
|
-
});
|
|
1617
|
-
useEffect(() => {
|
|
1618
|
-
window.localStorage.setItem(key, JSON.stringify(value));
|
|
1619
|
-
}, [key, value]);
|
|
1620
|
-
return [value, setValue];
|
|
1621
|
-
};
|
|
1622
1612
|
const CardAsset$1 = styled(Flex)`
|
|
1613
|
+
min-height: 26.4rem;
|
|
1623
1614
|
border-radius: ${({ theme }) => theme.borderRadius} ${({ theme }) => theme.borderRadius} 0 0;
|
|
1624
|
-
background: linear-gradient(
|
|
1615
|
+
background: linear-gradient(
|
|
1616
|
+
180deg,
|
|
1617
|
+
${({ theme }) => theme.colors.neutral0} 0%,
|
|
1618
|
+
${({ theme }) => theme.colors.neutral100} 121.48%
|
|
1619
|
+
);
|
|
1625
1620
|
`;
|
|
1626
1621
|
const AssetPreview = React.forwardRef(({ mime, url, name: name2, ...props }, ref) => {
|
|
1627
|
-
const
|
|
1622
|
+
const theme = useTheme();
|
|
1623
|
+
const { formatMessage } = useIntl();
|
|
1628
1624
|
if (mime.includes(AssetType.Image)) {
|
|
1629
1625
|
return /* @__PURE__ */ jsx("img", { ref, src: url, alt: name2, ...props });
|
|
1630
1626
|
}
|
|
1631
1627
|
if (mime.includes(AssetType.Video)) {
|
|
1632
|
-
return /* @__PURE__ */ jsx(
|
|
1628
|
+
return /* @__PURE__ */ jsx(MuxPlayer, { src: url, accentColor: theme.colors.primary500 });
|
|
1633
1629
|
}
|
|
1634
1630
|
if (mime.includes(AssetType.Audio)) {
|
|
1635
|
-
return /* @__PURE__ */ jsx("audio", { controls: true, src: url, ref, ...props, children: name2 });
|
|
1631
|
+
return /* @__PURE__ */ jsx(Box, { margin: "5", children: /* @__PURE__ */ jsx("audio", { controls: true, src: url, ref, ...props, children: name2 }) });
|
|
1636
1632
|
}
|
|
1637
1633
|
if (mime.includes("pdf")) {
|
|
1638
|
-
return /* @__PURE__ */ jsx(CardAsset$1, { justifyContent: "center", ...props, children: /* @__PURE__ */
|
|
1634
|
+
return /* @__PURE__ */ jsx(CardAsset$1, { width: "100%", justifyContent: "center", ...props, children: /* @__PURE__ */ jsxs(Flex, { gap: 2, direction: "column", alignItems: "center", children: [
|
|
1635
|
+
/* @__PURE__ */ jsx(FilePdf, { "aria-label": name2, fill: "neutral500", width: 24, height: 24 }),
|
|
1636
|
+
/* @__PURE__ */ jsx(Typography, { textColor: "neutral500", variant: "pi", children: formatMessage({
|
|
1637
|
+
id: "noPreview",
|
|
1638
|
+
defaultMessage: "No preview available"
|
|
1639
|
+
}) })
|
|
1640
|
+
] }) });
|
|
1639
1641
|
}
|
|
1640
|
-
return /* @__PURE__ */ jsx(CardAsset$1, { justifyContent: "center", ...props, children: /* @__PURE__ */
|
|
1642
|
+
return /* @__PURE__ */ jsx(CardAsset$1, { width: "100%", justifyContent: "center", ...props, children: /* @__PURE__ */ jsxs(Flex, { gap: 2, direction: "column", alignItems: "center", children: [
|
|
1643
|
+
/* @__PURE__ */ jsx(File$1, { "aria-label": name2, fill: "neutral500", width: 24, height: 24 }),
|
|
1644
|
+
/* @__PURE__ */ jsx(Typography, { textColor: "neutral500", variant: "pi", children: formatMessage({
|
|
1645
|
+
id: "noPreview",
|
|
1646
|
+
defaultMessage: "No preview available"
|
|
1647
|
+
}) })
|
|
1648
|
+
] }) });
|
|
1641
1649
|
});
|
|
1642
1650
|
AssetPreview.displayName = "AssetPreview";
|
|
1643
1651
|
const RelativeBox = styled(Box)`
|
|
@@ -1654,17 +1662,28 @@ const Wrapper$1 = styled.div`
|
|
|
1654
1662
|
50% / 20px 20px;
|
|
1655
1663
|
|
|
1656
1664
|
svg {
|
|
1657
|
-
|
|
1658
|
-
height: 26.4rem;
|
|
1665
|
+
height: 26px;
|
|
1659
1666
|
}
|
|
1660
1667
|
|
|
1661
1668
|
img,
|
|
1662
|
-
|
|
1669
|
+
mux-player {
|
|
1663
1670
|
margin: 0;
|
|
1664
1671
|
padding: 0;
|
|
1665
1672
|
max-height: 26.4rem;
|
|
1666
1673
|
max-width: 100%;
|
|
1667
1674
|
}
|
|
1675
|
+
|
|
1676
|
+
mux-player {
|
|
1677
|
+
--play-button: inline-flex;
|
|
1678
|
+
--mute-button: inline-flex;
|
|
1679
|
+
--pip-button: inline-flex;
|
|
1680
|
+
--fullscreen-button: inline-flex;
|
|
1681
|
+
--playback-rate-button: inline-flex;
|
|
1682
|
+
--volume-range: inline-flex;
|
|
1683
|
+
--time-range: inline-flex;
|
|
1684
|
+
--time-display: inline-flex;
|
|
1685
|
+
--duration-display: inline-flex;
|
|
1686
|
+
}
|
|
1668
1687
|
`;
|
|
1669
1688
|
const ActionRow = styled(Flex)`
|
|
1670
1689
|
height: 5.2rem;
|
|
@@ -2645,6 +2664,23 @@ const useFolder = (id, { enabled = true } = {}) => {
|
|
|
2645
2664
|
);
|
|
2646
2665
|
return { data, error, isLoading };
|
|
2647
2666
|
};
|
|
2667
|
+
const usePersistentState = (key, defaultValue) => {
|
|
2668
|
+
const [value, setValue] = useState(() => {
|
|
2669
|
+
const stickyValue = window.localStorage.getItem(key);
|
|
2670
|
+
if (stickyValue !== null) {
|
|
2671
|
+
try {
|
|
2672
|
+
return JSON.parse(stickyValue);
|
|
2673
|
+
} catch {
|
|
2674
|
+
return stickyValue;
|
|
2675
|
+
}
|
|
2676
|
+
}
|
|
2677
|
+
return defaultValue;
|
|
2678
|
+
});
|
|
2679
|
+
useEffect(() => {
|
|
2680
|
+
window.localStorage.setItem(key, JSON.stringify(value));
|
|
2681
|
+
}, [key, value]);
|
|
2682
|
+
return [value, setValue];
|
|
2683
|
+
};
|
|
2648
2684
|
const Extension$1 = styled.span`
|
|
2649
2685
|
text-transform: uppercase;
|
|
2650
2686
|
`;
|
|
@@ -2744,16 +2780,15 @@ const AudioAssetCard = ({
|
|
|
2744
2780
|
selected = false,
|
|
2745
2781
|
...restProps
|
|
2746
2782
|
}) => {
|
|
2747
|
-
return /* @__PURE__ */ jsx(AssetCardBase, { name: name2, selected, ...restProps, variant: "Audio", children: /* @__PURE__ */ jsx(CardAsset$2, { size, children: /* @__PURE__ */ jsx(AudioPreviewWrapper$1, { size, children: /* @__PURE__ */ jsx(AudioPreview, { url, alt: name2 }) }) }) });
|
|
2783
|
+
return /* @__PURE__ */ jsx(AssetCardBase, { name: name2, selected, ...restProps, variant: "Audio", children: /* @__PURE__ */ jsx(CardAsset$2, { size, children: /* @__PURE__ */ jsx(Flex, { alignItems: "center", children: /* @__PURE__ */ jsx(AudioPreviewWrapper$1, { size, children: /* @__PURE__ */ jsx(AudioPreview, { url, alt: name2 }) }) }) }) });
|
|
2748
2784
|
};
|
|
2749
|
-
const IconWrapper$1 = styled.span`
|
|
2750
|
-
svg {
|
|
2751
|
-
font-size: 4.8rem;
|
|
2752
|
-
}
|
|
2753
|
-
`;
|
|
2754
2785
|
const CardAsset = styled(Flex)`
|
|
2755
2786
|
border-radius: ${({ theme }) => theme.borderRadius} ${({ theme }) => theme.borderRadius} 0 0;
|
|
2756
|
-
background: linear-gradient(
|
|
2787
|
+
background: linear-gradient(
|
|
2788
|
+
180deg,
|
|
2789
|
+
${({ theme }) => theme.colors.neutral0} 0%,
|
|
2790
|
+
${({ theme }) => theme.colors.neutral100} 121.48%
|
|
2791
|
+
);
|
|
2757
2792
|
`;
|
|
2758
2793
|
const DocAssetCard = ({
|
|
2759
2794
|
name: name2,
|
|
@@ -2762,6 +2797,7 @@ const DocAssetCard = ({
|
|
|
2762
2797
|
selected = false,
|
|
2763
2798
|
...restProps
|
|
2764
2799
|
}) => {
|
|
2800
|
+
const { formatMessage } = useIntl();
|
|
2765
2801
|
return /* @__PURE__ */ jsx(
|
|
2766
2802
|
AssetCardBase,
|
|
2767
2803
|
{
|
|
@@ -2770,7 +2806,13 @@ const DocAssetCard = ({
|
|
|
2770
2806
|
selected,
|
|
2771
2807
|
...restProps,
|
|
2772
2808
|
variant: "Doc",
|
|
2773
|
-
children: /* @__PURE__ */ jsx(CardAsset, { width: "100%", height: size === "S" ? `8.8rem` : `16.4rem`, justifyContent: "center", children: /* @__PURE__ */
|
|
2809
|
+
children: /* @__PURE__ */ jsx(CardAsset, { width: "100%", height: size === "S" ? `8.8rem` : `16.4rem`, justifyContent: "center", children: /* @__PURE__ */ jsxs(Flex, { gap: 2, direction: "column", alignItems: "center", children: [
|
|
2810
|
+
extension === "pdf" ? /* @__PURE__ */ jsx(FilePdf, { "aria-label": name2, fill: "neutral500", width: 24, height: 24 }) : /* @__PURE__ */ jsx(File$1, { "aria-label": name2, fill: "neutral500", width: 24, height: 24 }),
|
|
2811
|
+
/* @__PURE__ */ jsx(Typography, { textColor: "neutral500", variant: "pi", children: formatMessage({
|
|
2812
|
+
id: "noPreview",
|
|
2813
|
+
defaultMessage: "No preview available"
|
|
2814
|
+
}) })
|
|
2815
|
+
] }) })
|
|
2774
2816
|
}
|
|
2775
2817
|
);
|
|
2776
2818
|
};
|
|
@@ -2813,8 +2855,7 @@ const VideoPreview = ({
|
|
|
2813
2855
|
};
|
|
2814
2856
|
const handleThumbnailVisibility = (e) => {
|
|
2815
2857
|
const video = e.currentTarget;
|
|
2816
|
-
if (video.readyState < HAVE_FUTURE_DATA)
|
|
2817
|
-
return;
|
|
2858
|
+
if (video.readyState < HAVE_FUTURE_DATA) return;
|
|
2818
2859
|
video.play();
|
|
2819
2860
|
};
|
|
2820
2861
|
return /* @__PURE__ */ jsxs(Box, { tag: "figure", ...props, children: [
|
|
@@ -4346,8 +4387,7 @@ const SearchAsset = ({ onChangeSearch, queryValue = null }) => {
|
|
|
4346
4387
|
return /* @__PURE__ */ jsx(IconButton, { label: "Search", onClick: handleToggle, children: /* @__PURE__ */ jsx(Search, {}) });
|
|
4347
4388
|
};
|
|
4348
4389
|
const isSelectable = (allowedTypes, mime = "") => {
|
|
4349
|
-
if (!mime)
|
|
4350
|
-
return false;
|
|
4390
|
+
if (!mime) return false;
|
|
4351
4391
|
const fileType = mime.split("/")[0];
|
|
4352
4392
|
return allowedTypes.includes(fileType) || allowedTypes.includes("file") && !["video", "image", "audio"].includes(fileType);
|
|
4353
4393
|
};
|
|
@@ -5987,7 +6027,7 @@ const admin = {
|
|
|
5987
6027
|
defaultMessage: "Media Library"
|
|
5988
6028
|
},
|
|
5989
6029
|
permissions: PERMISSIONS.main,
|
|
5990
|
-
Component: () => import("./App-
|
|
6030
|
+
Component: () => import("./App-YGEZKoYI.mjs").then((mod) => ({ default: mod.Upload })),
|
|
5991
6031
|
position: 4
|
|
5992
6032
|
});
|
|
5993
6033
|
app.addSettingsLink("global", {
|
|
@@ -5998,7 +6038,7 @@ const admin = {
|
|
|
5998
6038
|
defaultMessage: "Media Library"
|
|
5999
6039
|
},
|
|
6000
6040
|
async Component() {
|
|
6001
|
-
const { ProtectedSettingsPage } = await import("./SettingsPage-
|
|
6041
|
+
const { ProtectedSettingsPage } = await import("./SettingsPage-Ca1_e_5V.mjs");
|
|
6002
6042
|
return { default: ProtectedSettingsPage };
|
|
6003
6043
|
},
|
|
6004
6044
|
permissions: PERMISSIONS.settings
|
|
@@ -6021,7 +6061,7 @@ const admin = {
|
|
|
6021
6061
|
async registerTrads({ locales }) {
|
|
6022
6062
|
const importedTrads = await Promise.all(
|
|
6023
6063
|
locales.map((locale) => {
|
|
6024
|
-
return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ca.json": () => import("./ca-B2_I-q1t.mjs"), "./translations/de.json": () => import("./de-A7mEKx6c.mjs"), "./translations/dk.json": () => import("./dk-BPfkJb9q.mjs"), "./translations/en.json": () => import("./en-oDx2Gnre.mjs"), "./translations/es.json": () => import("./es-CuWi2pOn.mjs"), "./translations/fr.json": () => import("./fr-BN6ndmWf.mjs"), "./translations/he.json": () => import("./he-C9ZOXBB-.mjs"), "./translations/it.json": () => import("./it-B7rmoZNx.mjs"), "./translations/ja.json": () => import("./ja-DlaJTi_3.mjs"), "./translations/ko.json": () => import("./ko-vJl9kPpn.mjs"), "./translations/ms.json": () => import("./ms-CqwG8v8l.mjs"), "./translations/pl.json": () => import("./pl-Cj8jChOO.mjs"), "./translations/pt-BR.json": () => import("./pt-BR-B4LJHJIp.mjs"), "./translations/pt.json": () => import("./pt-CNOOM_7x.mjs"), "./translations/ru.json": () => import("./ru-DqglvSUC.mjs"), "./translations/sk.json": () => import("./sk-Dgpb3lnz.mjs"), "./translations/th.json": () => import("./th-DRfzuiFf.mjs"), "./translations/tr.json": () => import("./tr--GzWXE_A.mjs"), "./translations/uk.json": () => import("./uk-DVMT2Piq.mjs"), "./translations/zh-Hans.json": () => import("./zh-Hans-Cpmhg8uH.mjs"), "./translations/zh.json": () => import("./zh-HOnih0is.mjs") }), `./translations/${locale}.json
|
|
6064
|
+
return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ca.json": () => import("./ca-B2_I-q1t.mjs"), "./translations/de.json": () => import("./de-A7mEKx6c.mjs"), "./translations/dk.json": () => import("./dk-BPfkJb9q.mjs"), "./translations/en.json": () => import("./en-oDx2Gnre.mjs"), "./translations/es.json": () => import("./es-CuWi2pOn.mjs"), "./translations/fr.json": () => import("./fr-BN6ndmWf.mjs"), "./translations/he.json": () => import("./he-C9ZOXBB-.mjs"), "./translations/it.json": () => import("./it-B7rmoZNx.mjs"), "./translations/ja.json": () => import("./ja-DlaJTi_3.mjs"), "./translations/ko.json": () => import("./ko-vJl9kPpn.mjs"), "./translations/ms.json": () => import("./ms-CqwG8v8l.mjs"), "./translations/pl.json": () => import("./pl-Cj8jChOO.mjs"), "./translations/pt-BR.json": () => import("./pt-BR-B4LJHJIp.mjs"), "./translations/pt.json": () => import("./pt-CNOOM_7x.mjs"), "./translations/ru.json": () => import("./ru-DqglvSUC.mjs"), "./translations/sk.json": () => import("./sk-Dgpb3lnz.mjs"), "./translations/th.json": () => import("./th-DRfzuiFf.mjs"), "./translations/tr.json": () => import("./tr--GzWXE_A.mjs"), "./translations/uk.json": () => import("./uk-DVMT2Piq.mjs"), "./translations/zh-Hans.json": () => import("./zh-Hans-Cpmhg8uH.mjs"), "./translations/zh.json": () => import("./zh-HOnih0is.mjs") }), `./translations/${locale}.json`, 3).then(({ default: data }) => {
|
|
6025
6065
|
return {
|
|
6026
6066
|
data: prefixPluginTranslations(data, pluginId),
|
|
6027
6067
|
locale
|
|
@@ -6060,20 +6100,20 @@ export {
|
|
|
6060
6100
|
useAssets as i,
|
|
6061
6101
|
useFolders as j,
|
|
6062
6102
|
containsAssetFilter as k,
|
|
6063
|
-
|
|
6064
|
-
|
|
6103
|
+
useFolder as l,
|
|
6104
|
+
useSelectionState as m,
|
|
6065
6105
|
normalizeAPIError as n,
|
|
6066
|
-
|
|
6106
|
+
SortPicker as o,
|
|
6067
6107
|
pluginId as p,
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6108
|
+
FolderGridList as q,
|
|
6109
|
+
FolderCard as r,
|
|
6110
|
+
FolderCardBody as s,
|
|
6111
|
+
FolderCardBodyAction as t,
|
|
6072
6112
|
useFolderCard as u,
|
|
6073
6113
|
viewOptions as v,
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6114
|
+
EditFolderDialog as w,
|
|
6115
|
+
EditAssetDialog as x,
|
|
6116
|
+
localStorageKeys as y,
|
|
6077
6117
|
useConfig as z
|
|
6078
6118
|
};
|
|
6079
|
-
//# sourceMappingURL=index-
|
|
6119
|
+
//# sourceMappingURL=index-B2-z7eWa.mjs.map
|