@eternalheart/react-file-preview 1.1.3 → 1.1.5
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/README.md +6 -6
- package/README.zh-CN.md +6 -6
- package/lib/FilePreviewContent.d.ts.map +1 -1
- package/lib/index.cjs +18 -11
- package/lib/index.cjs.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.mjs +3578 -3238
- package/lib/index.mjs.map +1 -1
- package/lib/renderers/EpubRenderer.d.ts +19 -0
- package/lib/renderers/EpubRenderer.d.ts.map +1 -0
- package/lib/types.d.ts +2 -22
- package/lib/types.d.ts.map +1 -1
- package/lib/utils/excelDataConverter.d.ts +1 -45
- package/lib/utils/excelDataConverter.d.ts.map +1 -1
- package/lib/utils/fileNormalizer.d.ts +1 -17
- package/lib/utils/fileNormalizer.d.ts.map +1 -1
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# React File Preview [](https://www.npmjs.com/package/@eternalheart/react-file-preview)[](https://github.com/wh131462/
|
|
1
|
+
# React File Preview [](https://www.npmjs.com/package/@eternalheart/react-file-preview)[](https://github.com/wh131462/file-preview/blob/master/LICENSE)[](https://www.npmjs.com/package/@eternalheart/react-file-preview)
|
|
2
2
|
|
|
3
3
|
English | [简体中文](./README.zh-CN.md)
|
|
4
4
|
|
|
@@ -445,7 +445,7 @@ The component is built with Tailwind CSS. You can customize styles by overriding
|
|
|
445
445
|
|
|
446
446
|
## 📚 Documentation
|
|
447
447
|
|
|
448
|
-
- [Online Demo](https://wh131462.github.io/
|
|
448
|
+
- [Online Demo](https://wh131462.github.io/file-preview) - Live demo
|
|
449
449
|
|
|
450
450
|
## 🤖 Context7 Support
|
|
451
451
|
|
|
@@ -491,7 +491,7 @@ This project supports [Context7](https://context7.com) MCP Server. If you are us
|
|
|
491
491
|
|
|
492
492
|
```bash
|
|
493
493
|
# Clone repository
|
|
494
|
-
git clone https://github.com/wh131462/
|
|
494
|
+
git clone https://github.com/wh131462/file-preview.git
|
|
495
495
|
|
|
496
496
|
# Install dependencies
|
|
497
497
|
pnpm install
|
|
@@ -533,7 +533,7 @@ Issues and Pull Requests are welcome!
|
|
|
533
533
|
|
|
534
534
|
## 🔗 Links
|
|
535
535
|
|
|
536
|
-
- [GitHub](https://github.com/wh131462/
|
|
536
|
+
- [GitHub](https://github.com/wh131462/file-preview)
|
|
537
537
|
- [npm](https://www.npmjs.com/package/@eternalheart/react-file-preview)
|
|
538
|
-
- [Online Demo](https://wh131462.github.io/
|
|
539
|
-
- [Issue Tracker](https://github.com/wh131462/
|
|
538
|
+
- [Online Demo](https://wh131462.github.io/file-preview)
|
|
539
|
+
- [Issue Tracker](https://github.com/wh131462/file-preview/issues)
|
package/README.zh-CN.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# React File Preview [](https://www.npmjs.com/package/@eternalheart/react-file-preview)[](https://github.com/wh131462/
|
|
1
|
+
# React File Preview [](https://www.npmjs.com/package/@eternalheart/react-file-preview)[](https://github.com/wh131462/file-preview/blob/master/LICENSE)[](https://www.npmjs.com/package/@eternalheart/react-file-preview)
|
|
2
2
|
|
|
3
3
|
[English](./README.md) | 简体中文
|
|
4
4
|
|
|
@@ -443,7 +443,7 @@ const files = [
|
|
|
443
443
|
|
|
444
444
|
## 📚 文档
|
|
445
445
|
|
|
446
|
-
- [在线演示](https://wh131462.github.io/
|
|
446
|
+
- [在线演示](https://wh131462.github.io/file-preview) - 在线 Demo
|
|
447
447
|
|
|
448
448
|
## 🤖 Context7 支持
|
|
449
449
|
|
|
@@ -489,7 +489,7 @@ const files = [
|
|
|
489
489
|
|
|
490
490
|
```bash
|
|
491
491
|
# 克隆仓库
|
|
492
|
-
git clone https://github.com/wh131462/
|
|
492
|
+
git clone https://github.com/wh131462/file-preview.git
|
|
493
493
|
|
|
494
494
|
# 安装依赖
|
|
495
495
|
pnpm install
|
|
@@ -531,8 +531,8 @@ react-file-preview/
|
|
|
531
531
|
|
|
532
532
|
## 🔗 相关链接
|
|
533
533
|
|
|
534
|
-
- [GitHub](https://github.com/wh131462/
|
|
534
|
+
- [GitHub](https://github.com/wh131462/file-preview)
|
|
535
535
|
- [npm](https://www.npmjs.com/package/@eternalheart/react-file-preview)
|
|
536
|
-
- [在线演示](https://wh131462.github.io/
|
|
537
|
-
- [问题反馈](https://github.com/wh131462/
|
|
536
|
+
- [在线演示](https://wh131462.github.io/file-preview)
|
|
537
|
+
- [问题反馈](https://github.com/wh131462/file-preview/issues)
|
|
538
538
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilePreviewContent.d.ts","sourceRoot":"","sources":["../src/FilePreviewContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FilePreviewContent.d.ts","sourceRoot":"","sources":["../src/FilePreviewContent.tsx"],"names":[],"mappings":"AAmCA,OAAO,EAAe,gBAAgB,EAAY,cAAc,EAAE,MAAM,SAAS,CAAC;AAgBlF,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,cAAc,EAAE,CAAC;IACnC,iCAAiC;IACjC,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,wBAAwB;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAkDD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA+gBhE,CAAC"}
|