node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
'use strict';
var jsxRuntime = require('react/jsx-runtime');
var strapiAdmin = require('@strapi/admin/strapi-admin');
var designSystem = require('@strapi/design-system');
var styledComponents = require('styled-components');
const EmptyAssetCard = styledComponents.styled(designSystem.Box)`
background: linear-gradient(
180deg,
rgba(234, 234, 239, 0) 0%,
${({ theme })=>theme.colors.neutral200} 100%
);
opacity: 0.33;
`;
const PlaceholderSize = {
S: 138,
M: 234
};
const EmptyAssetGrid = ({ count, size })=>{
return /*#__PURE__*/ jsxRuntime.jsx(strapiAdmin.Layouts.Grid, {
size: size,
children: Array(count).fill(null).map((_, idx)=>/*#__PURE__*/ jsxRuntime.jsx(EmptyAssetCard, {
height: `${PlaceholderSize[size]}px`,
hasRadius: true
}, `empty-asset-card-${idx}`))
});
};
exports.EmptyAssetGrid = EmptyAssetGrid;
//# sourceMappingURL=EmptyAssetGrid.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"EmptyAssetGrid.js","sources":["../../../../admin/src/components/EmptyAssets/EmptyAssetGrid.tsx"],"sourcesContent":["import { Layouts } from '@strapi/admin/strapi-admin';\nimport { Box } from '@strapi/design-system';\nimport { styled } from 'styled-components';\n\nconst EmptyAssetCard = styled(Box)`\n background: linear-gradient(\n 180deg,\n rgba(234, 234, 239, 0) 0%,\n ${({ theme }) => theme.colors.neutral200} 100%\n );\n opacity: 0.33;\n`;\n\nconst PlaceholderSize = {\n S: 138,\n M: 234,\n};\n\ninterface EmptyAssetGridProps {\n count: number;\n size: 'S' | 'M';\n}\n\nexport const EmptyAssetGrid = ({ count, size }: EmptyAssetGridProps) => {\n return (\n <Layouts.Grid size={size}>\n {Array(count)\n .fill(null)\n .map((_, idx) => (\n <EmptyAssetCard\n // eslint-disable-next-line react/no-array-index-key\n key={`empty-asset-card-${idx}`}\n height={`${PlaceholderSize[size]}px`}\n hasRadius\n />\n ))}\n </Layouts.Grid>\n );\n};\n"],"names":["EmptyAssetCard","styled","Box","theme","colors","neutral200","PlaceholderSize","S","M","EmptyAssetGrid","count","size","_jsx","Layouts","Grid","Array","fill","map","_","idx","height","hasRadius"],"mappings":";;;;;;;AAIA,MAAMA,cAAAA,GAAiBC,uBAAOC,CAAAA,gBAAAA,CAAI;;;;IAI9B,EAAE,CAAC,EAAEC,KAAK,EAAE,GAAKA,KAAMC,CAAAA,MAAM,CAACC,UAAU,CAAC;;;AAG7C,CAAC;AAED,MAAMC,eAAkB,GAAA;IACtBC,CAAG,EAAA,GAAA;IACHC,CAAG,EAAA;AACL,CAAA;MAOaC,cAAiB,GAAA,CAAC,EAAEC,KAAK,EAAEC,IAAI,EAAuB,GAAA;IACjE,qBACEC,cAAA,CAACC,oBAAQC,IAAI,EAAA;QAACH,IAAMA,EAAAA,IAAAA;kBACjBI,KAAML,CAAAA,KAAAA,CAAAA,CACJM,IAAI,CAAC,IAAA,CAAA,CACLC,GAAG,CAAC,CAACC,CAAGC,EAAAA,GAAAA,iBACPP,cAACZ,CAAAA,cAAAA,EAAAA;AAGCoB,gBAAAA,MAAAA,EAAQ,CAAC,EAAEd,eAAe,CAACK,IAAK,CAAA,CAAC,EAAE,CAAC;gBACpCU,SAAS,EAAA;eAFJ,CAAC,iBAAiB,EAAEF,GAAAA,CAAI,CAAC,CAAA;;AAO1C;;;;"}

View File

@@ -0,0 +1,29 @@
import { jsx } from 'react/jsx-runtime';
import { Layouts } from '@strapi/admin/strapi-admin';
import { Box } from '@strapi/design-system';
import { styled } from 'styled-components';
const EmptyAssetCard = styled(Box)`
background: linear-gradient(
180deg,
rgba(234, 234, 239, 0) 0%,
${({ theme })=>theme.colors.neutral200} 100%
);
opacity: 0.33;
`;
const PlaceholderSize = {
S: 138,
M: 234
};
const EmptyAssetGrid = ({ count, size })=>{
return /*#__PURE__*/ jsx(Layouts.Grid, {
size: size,
children: Array(count).fill(null).map((_, idx)=>/*#__PURE__*/ jsx(EmptyAssetCard, {
height: `${PlaceholderSize[size]}px`,
hasRadius: true
}, `empty-asset-card-${idx}`))
});
};
export { EmptyAssetGrid };
//# sourceMappingURL=EmptyAssetGrid.mjs.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"EmptyAssetGrid.mjs","sources":["../../../../admin/src/components/EmptyAssets/EmptyAssetGrid.tsx"],"sourcesContent":["import { Layouts } from '@strapi/admin/strapi-admin';\nimport { Box } from '@strapi/design-system';\nimport { styled } from 'styled-components';\n\nconst EmptyAssetCard = styled(Box)`\n background: linear-gradient(\n 180deg,\n rgba(234, 234, 239, 0) 0%,\n ${({ theme }) => theme.colors.neutral200} 100%\n );\n opacity: 0.33;\n`;\n\nconst PlaceholderSize = {\n S: 138,\n M: 234,\n};\n\ninterface EmptyAssetGridProps {\n count: number;\n size: 'S' | 'M';\n}\n\nexport const EmptyAssetGrid = ({ count, size }: EmptyAssetGridProps) => {\n return (\n <Layouts.Grid size={size}>\n {Array(count)\n .fill(null)\n .map((_, idx) => (\n <EmptyAssetCard\n // eslint-disable-next-line react/no-array-index-key\n key={`empty-asset-card-${idx}`}\n height={`${PlaceholderSize[size]}px`}\n hasRadius\n />\n ))}\n </Layouts.Grid>\n );\n};\n"],"names":["EmptyAssetCard","styled","Box","theme","colors","neutral200","PlaceholderSize","S","M","EmptyAssetGrid","count","size","_jsx","Layouts","Grid","Array","fill","map","_","idx","height","hasRadius"],"mappings":";;;;;AAIA,MAAMA,cAAAA,GAAiBC,MAAOC,CAAAA,GAAAA,CAAI;;;;IAI9B,EAAE,CAAC,EAAEC,KAAK,EAAE,GAAKA,KAAMC,CAAAA,MAAM,CAACC,UAAU,CAAC;;;AAG7C,CAAC;AAED,MAAMC,eAAkB,GAAA;IACtBC,CAAG,EAAA,GAAA;IACHC,CAAG,EAAA;AACL,CAAA;MAOaC,cAAiB,GAAA,CAAC,EAAEC,KAAK,EAAEC,IAAI,EAAuB,GAAA;IACjE,qBACEC,GAAA,CAACC,QAAQC,IAAI,EAAA;QAACH,IAAMA,EAAAA,IAAAA;kBACjBI,KAAML,CAAAA,KAAAA,CAAAA,CACJM,IAAI,CAAC,IAAA,CAAA,CACLC,GAAG,CAAC,CAACC,CAAGC,EAAAA,GAAAA,iBACPP,GAACZ,CAAAA,cAAAA,EAAAA;AAGCoB,gBAAAA,MAAAA,EAAQ,CAAC,EAAEd,eAAe,CAACK,IAAK,CAAA,CAAC,EAAE,CAAC;gBACpCU,SAAS,EAAA;eAFJ,CAAC,iBAAiB,EAAEF,GAAAA,CAAI,CAAC,CAAA;;AAO1C;;;;"}

View File

@@ -0,0 +1,53 @@
'use strict';
var jsxRuntime = require('react/jsx-runtime');
var designSystem = require('@strapi/design-system');
var symbols = require('@strapi/icons/symbols');
var EmptyAssetGrid = require('./EmptyAssetGrid.js');
// TODO: find a better naming convention for the file that was an index file before
const EmptyAssets = ({ icon: Icon = symbols.EmptyDocuments, content, action, size = 'M', count = 12 })=>{
return /*#__PURE__*/ jsxRuntime.jsxs(designSystem.Box, {
position: "relative",
children: [
/*#__PURE__*/ jsxRuntime.jsx(EmptyAssetGrid.EmptyAssetGrid, {
size: size,
count: count
}),
/*#__PURE__*/ jsxRuntime.jsx(designSystem.Box, {
position: "absolute",
top: 11,
width: "100%",
children: /*#__PURE__*/ jsxRuntime.jsxs(designSystem.Flex, {
direction: "column",
alignItems: "center",
gap: 4,
textAlign: "center",
children: [
/*#__PURE__*/ jsxRuntime.jsxs(designSystem.Flex, {
direction: "column",
alignItems: "center",
gap: 6,
children: [
/*#__PURE__*/ jsxRuntime.jsx(Icon, {
width: "160px",
height: "88px"
}),
/*#__PURE__*/ jsxRuntime.jsx(designSystem.Typography, {
variant: "delta",
tag: "p",
textColor: "neutral600",
children: content
})
]
}),
action
]
})
})
]
});
};
exports.EmptyAssets = EmptyAssets;
//# sourceMappingURL=EmptyAssets.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"EmptyAssets.js","sources":["../../../../admin/src/components/EmptyAssets/EmptyAssets.tsx"],"sourcesContent":["// TODO: find a better naming convention for the file that was an index file before\nimport { Box, Flex, Typography } from '@strapi/design-system';\nimport { EmptyDocuments } from '@strapi/icons/symbols';\n\nimport { EmptyAssetGrid } from './EmptyAssetGrid';\n\ninterface EmptyAssetsProps {\n action?: React.ReactNode;\n icon?: React.ElementType;\n content: string;\n size?: 'S' | 'M';\n count?: number;\n}\n\nexport const EmptyAssets = ({\n icon: Icon = EmptyDocuments,\n content,\n action,\n size = 'M',\n count = 12,\n}: EmptyAssetsProps) => {\n return (\n <Box position=\"relative\">\n <EmptyAssetGrid size={size} count={count} />\n\n <Box position=\"absolute\" top={11} width=\"100%\">\n <Flex direction=\"column\" alignItems=\"center\" gap={4} textAlign=\"center\">\n <Flex direction=\"column\" alignItems=\"center\" gap={6}>\n <Icon width=\"160px\" height=\"88px\" />\n\n <Typography variant=\"delta\" tag=\"p\" textColor=\"neutral600\">\n {content}\n </Typography>\n </Flex>\n\n {action}\n </Flex>\n </Box>\n </Box>\n );\n};\n"],"names":["EmptyAssets","icon","Icon","EmptyDocuments","content","action","size","count","_jsxs","Box","position","_jsx","EmptyAssetGrid","top","width","Flex","direction","alignItems","gap","textAlign","height","Typography","variant","tag","textColor"],"mappings":";;;;;;;AAAA;MAcaA,WAAc,GAAA,CAAC,EAC1BC,IAAAA,EAAMC,OAAOC,sBAAc,EAC3BC,OAAO,EACPC,MAAM,EACNC,IAAAA,GAAO,GAAG,EACVC,KAAAA,GAAQ,EAAE,EACO,GAAA;AACjB,IAAA,qBACEC,eAACC,CAAAA,gBAAAA,EAAAA;QAAIC,QAAS,EAAA,UAAA;;0BACZC,cAACC,CAAAA,6BAAAA,EAAAA;gBAAeN,IAAMA,EAAAA,IAAAA;gBAAMC,KAAOA,EAAAA;;0BAEnCI,cAACF,CAAAA,gBAAAA,EAAAA;gBAAIC,QAAS,EAAA,UAAA;gBAAWG,GAAK,EAAA,EAAA;gBAAIC,KAAM,EAAA,MAAA;AACtC,gBAAA,QAAA,gBAAAN,eAACO,CAAAA,iBAAAA,EAAAA;oBAAKC,SAAU,EAAA,QAAA;oBAASC,UAAW,EAAA,QAAA;oBAASC,GAAK,EAAA,CAAA;oBAAGC,SAAU,EAAA,QAAA;;sCAC7DX,eAACO,CAAAA,iBAAAA,EAAAA;4BAAKC,SAAU,EAAA,QAAA;4BAASC,UAAW,EAAA,QAAA;4BAASC,GAAK,EAAA,CAAA;;8CAChDP,cAACT,CAAAA,IAAAA,EAAAA;oCAAKY,KAAM,EAAA,OAAA;oCAAQM,MAAO,EAAA;;8CAE3BT,cAACU,CAAAA,uBAAAA,EAAAA;oCAAWC,OAAQ,EAAA,OAAA;oCAAQC,GAAI,EAAA,GAAA;oCAAIC,SAAU,EAAA,YAAA;AAC3CpB,oCAAAA,QAAAA,EAAAA;;;;AAIJC,wBAAAA;;;;;;AAKX;;;;"}

View File

@@ -0,0 +1,51 @@
import { jsxs, jsx } from 'react/jsx-runtime';
import { Box, Flex, Typography } from '@strapi/design-system';
import { EmptyDocuments } from '@strapi/icons/symbols';
import { EmptyAssetGrid } from './EmptyAssetGrid.mjs';
// TODO: find a better naming convention for the file that was an index file before
const EmptyAssets = ({ icon: Icon = EmptyDocuments, content, action, size = 'M', count = 12 })=>{
return /*#__PURE__*/ jsxs(Box, {
position: "relative",
children: [
/*#__PURE__*/ jsx(EmptyAssetGrid, {
size: size,
count: count
}),
/*#__PURE__*/ jsx(Box, {
position: "absolute",
top: 11,
width: "100%",
children: /*#__PURE__*/ jsxs(Flex, {
direction: "column",
alignItems: "center",
gap: 4,
textAlign: "center",
children: [
/*#__PURE__*/ jsxs(Flex, {
direction: "column",
alignItems: "center",
gap: 6,
children: [
/*#__PURE__*/ jsx(Icon, {
width: "160px",
height: "88px"
}),
/*#__PURE__*/ jsx(Typography, {
variant: "delta",
tag: "p",
textColor: "neutral600",
children: content
})
]
}),
action
]
})
})
]
});
};
export { EmptyAssets };
//# sourceMappingURL=EmptyAssets.mjs.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"EmptyAssets.mjs","sources":["../../../../admin/src/components/EmptyAssets/EmptyAssets.tsx"],"sourcesContent":["// TODO: find a better naming convention for the file that was an index file before\nimport { Box, Flex, Typography } from '@strapi/design-system';\nimport { EmptyDocuments } from '@strapi/icons/symbols';\n\nimport { EmptyAssetGrid } from './EmptyAssetGrid';\n\ninterface EmptyAssetsProps {\n action?: React.ReactNode;\n icon?: React.ElementType;\n content: string;\n size?: 'S' | 'M';\n count?: number;\n}\n\nexport const EmptyAssets = ({\n icon: Icon = EmptyDocuments,\n content,\n action,\n size = 'M',\n count = 12,\n}: EmptyAssetsProps) => {\n return (\n <Box position=\"relative\">\n <EmptyAssetGrid size={size} count={count} />\n\n <Box position=\"absolute\" top={11} width=\"100%\">\n <Flex direction=\"column\" alignItems=\"center\" gap={4} textAlign=\"center\">\n <Flex direction=\"column\" alignItems=\"center\" gap={6}>\n <Icon width=\"160px\" height=\"88px\" />\n\n <Typography variant=\"delta\" tag=\"p\" textColor=\"neutral600\">\n {content}\n </Typography>\n </Flex>\n\n {action}\n </Flex>\n </Box>\n </Box>\n );\n};\n"],"names":["EmptyAssets","icon","Icon","EmptyDocuments","content","action","size","count","_jsxs","Box","position","_jsx","EmptyAssetGrid","top","width","Flex","direction","alignItems","gap","textAlign","height","Typography","variant","tag","textColor"],"mappings":";;;;;AAAA;MAcaA,WAAc,GAAA,CAAC,EAC1BC,IAAAA,EAAMC,OAAOC,cAAc,EAC3BC,OAAO,EACPC,MAAM,EACNC,IAAAA,GAAO,GAAG,EACVC,KAAAA,GAAQ,EAAE,EACO,GAAA;AACjB,IAAA,qBACEC,IAACC,CAAAA,GAAAA,EAAAA;QAAIC,QAAS,EAAA,UAAA;;0BACZC,GAACC,CAAAA,cAAAA,EAAAA;gBAAeN,IAAMA,EAAAA,IAAAA;gBAAMC,KAAOA,EAAAA;;0BAEnCI,GAACF,CAAAA,GAAAA,EAAAA;gBAAIC,QAAS,EAAA,UAAA;gBAAWG,GAAK,EAAA,EAAA;gBAAIC,KAAM,EAAA,MAAA;AACtC,gBAAA,QAAA,gBAAAN,IAACO,CAAAA,IAAAA,EAAAA;oBAAKC,SAAU,EAAA,QAAA;oBAASC,UAAW,EAAA,QAAA;oBAASC,GAAK,EAAA,CAAA;oBAAGC,SAAU,EAAA,QAAA;;sCAC7DX,IAACO,CAAAA,IAAAA,EAAAA;4BAAKC,SAAU,EAAA,QAAA;4BAASC,UAAW,EAAA,QAAA;4BAASC,GAAK,EAAA,CAAA;;8CAChDP,GAACT,CAAAA,IAAAA,EAAAA;oCAAKY,KAAM,EAAA,OAAA;oCAAQM,MAAO,EAAA;;8CAE3BT,GAACU,CAAAA,UAAAA,EAAAA;oCAAWC,OAAQ,EAAA,OAAA;oCAAQC,GAAI,EAAA,GAAA;oCAAIC,SAAU,EAAA,YAAA;AAC3CpB,oCAAAA,QAAAA,EAAAA;;;;AAIJC,wBAAAA;;;;;;AAKX;;;;"}