diff --git a/packages/core/app/client/public/file-placeholder/ai-200-200.png b/packages/core/app/client/public/file-placeholder/ai-200-200.png new file mode 100644 index 000000000..8cf26a9af Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/ai-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/audio-200-200.png b/packages/core/app/client/public/file-placeholder/audio-200-200.png new file mode 100644 index 000000000..3b20a2772 Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/audio-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/docx-200-200.png b/packages/core/app/client/public/file-placeholder/docx-200-200.png new file mode 100644 index 000000000..1132c9596 Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/docx-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/eps-200-200.png b/packages/core/app/client/public/file-placeholder/eps-200-200.png new file mode 100644 index 000000000..73422d56f Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/eps-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/gif-200-200.png b/packages/core/app/client/public/file-placeholder/gif-200-200.png new file mode 100644 index 000000000..750684978 Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/gif-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/jpeg-200-200.png b/packages/core/app/client/public/file-placeholder/jpeg-200-200.png new file mode 100644 index 000000000..2c2f18270 Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/jpeg-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/pdf-200-200.png b/packages/core/app/client/public/file-placeholder/pdf-200-200.png new file mode 100644 index 000000000..98459d4bf Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/pdf-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/png-200-200.png b/packages/core/app/client/public/file-placeholder/png-200-200.png new file mode 100644 index 000000000..3b42889be Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/png-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/pptx-200-200.png b/packages/core/app/client/public/file-placeholder/pptx-200-200.png new file mode 100644 index 000000000..80158b842 Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/pptx-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/psd-200-200.png b/packages/core/app/client/public/file-placeholder/psd-200-200.png new file mode 100644 index 000000000..3f53acd99 Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/psd-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/svg-200-200.png b/packages/core/app/client/public/file-placeholder/svg-200-200.png new file mode 100644 index 000000000..746a557ec Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/svg-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/unknown-200-200.png b/packages/core/app/client/public/file-placeholder/unknown-200-200.png new file mode 100644 index 000000000..a0c6d976b Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/unknown-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/video-200-200.png b/packages/core/app/client/public/file-placeholder/video-200-200.png new file mode 100644 index 000000000..982a02e22 Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/video-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/xlsx-200-200.png b/packages/core/app/client/public/file-placeholder/xlsx-200-200.png new file mode 100644 index 000000000..ed60bb5b8 Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/xlsx-200-200.png differ diff --git a/packages/core/app/client/public/file-placeholder/zip-200-200.png b/packages/core/app/client/public/file-placeholder/zip-200-200.png new file mode 100644 index 000000000..12ede7f1a Binary files /dev/null and b/packages/core/app/client/public/file-placeholder/zip-200-200.png differ diff --git a/packages/core/client/src/schema-component/antd/upload/placeholder.ts b/packages/core/client/src/schema-component/antd/upload/placeholder.ts index 18a28fc02..b5a25bb4a 100644 --- a/packages/core/client/src/schema-component/antd/upload/placeholder.ts +++ b/packages/core/client/src/schema-component/antd/upload/placeholder.ts @@ -10,60 +10,60 @@ export const UPLOAD_PLACEHOLDER = [ { ext: /\.docx?$/i, - icon: '//img.alicdn.com/tfs/TB1n8jfr1uSBuNjy1XcXXcYjFXa-200-200.png', + icon: '/file-placeholder/docx-200-200.png', }, { ext: /\.pptx?$/i, - icon: '//img.alicdn.com/tfs/TB1ItgWr_tYBeNjy1XdXXXXyVXa-200-200.png', + icon: '/file-placeholder/pptx-200-200.png', }, { ext: /\.jpe?g$/i, - icon: '//img.alicdn.com/tfs/TB1wrT5r9BYBeNjy0FeXXbnmFXa-200-200.png', + icon: '/file-placeholder/jpeg-200-200.png', }, { ext: /\.pdf$/i, - icon: '//img.alicdn.com/tfs/TB1GwD8r9BYBeNjy0FeXXbnmFXa-200-200.png', + icon: '/file-placeholder/pdf-200-200.png', }, { ext: /\.png$/i, - icon: '//img.alicdn.com/tfs/TB1BHT5r9BYBeNjy0FeXXbnmFXa-200-200.png', + icon: '/file-placeholder/png-200-200.png', }, { ext: /\.eps$/i, - icon: '//img.alicdn.com/tfs/TB1G_iGrVOWBuNjy0FiXXXFxVXa-200-200.png', + icon: '/file-placeholder/eps-200-200.png', }, { ext: /\.ai$/i, - icon: '//img.alicdn.com/tfs/TB1B2cVr_tYBeNjy1XdXXXXyVXa-200-200.png', + icon: '/file-placeholder/ai-200-200.png', }, { ext: /\.gif$/i, - icon: '//img.alicdn.com/tfs/TB1DTiGrVOWBuNjy0FiXXXFxVXa-200-200.png', + icon: '/file-placeholder/gif-200-200.png', }, { ext: /\.svg$/i, - icon: '//img.alicdn.com/tfs/TB1uUm9rY9YBuNjy0FgXXcxcXXa-200-200.png', + icon: '/file-placeholder/svg-200-200.png', }, { ext: /\.xlsx?$/i, - icon: '//img.alicdn.com/tfs/TB1any1r1OSBuNjy0FdXXbDnVXa-200-200.png', + icon: '/file-placeholder/xlsx-200-200.png', }, { ext: /\.psd?$/i, - icon: '//img.alicdn.com/tfs/TB1_nu1r1OSBuNjy0FdXXbDnVXa-200-200.png', + icon: '/file-placeholder/psd-200-200.png', }, { ext: /\.(wav|aif|aiff|au|mp1|mp2|mp3|ra|rm|ram|mid|rmi)$/i, - icon: '//img.alicdn.com/tfs/TB1jPvwr49YBuNjy0FfXXXIsVXa-200-200.png', + icon: '/file-placeholder/audio-200-200.png', }, { ext: /\.(avi|wmv|mpg|mpeg|vob|dat|3gp|mp4|mkv|rm|rmvb|mov|flv)$/i, - icon: '//img.alicdn.com/tfs/TB1FrT5r9BYBeNjy0FeXXbnmFXa-200-200.png', + icon: '/file-placeholder/video-200-200.png', }, { ext: /\.(zip|rar|arj|z|gz|iso|jar|ace|tar|uue|dmg|pkg|lzh|cab)$/i, - icon: '//img.alicdn.com/tfs/TB10jmfr29TBuNjy0FcXXbeiFXa-200-200.png', + icon: '/file-placeholder/zip-200-200.png', }, ]; -export const UNKNOWN_FILE_ICON = '//img.alicdn.com/tfs/TB10.R4r3mTBuNjy1XbXXaMrVXa-200-200.png'; +export const UNKNOWN_FILE_ICON = '/file-placeholder/unknown-200-200.png';