feat: enhance modal functionality and integrate new components

- Added keyframes and animation for a smooth scale-in effect in the Tailwind configuration.
- Updated Image component to improve quality handling and style definitions.
- Introduced WordViewer and WordViewerModal components for document viewing capabilities.
- Enhanced Modal component to support embedded mode with customizable position and dimensions.
- Integrated IframeModal across various pages for user assistance and content display.
- Updated Content and Menu pages to utilize new components and improve user interaction.
- Added utility function to retrieve public paths for resources.
This commit is contained in:
zhongyidian committed 2025-10-29 00:18:06 +08:00
1 parent 13dd84a8a7
commit 4ce7520066
44 files changed
+1209 -100

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
declare module "mammoth" {
interface ConvertToHtmlOptions {
arrayBuffer: ArrayBuffer;
}
interface ConvertToHtmlResult {
value: string;
messages: Array<{
type: string;
message: string;
}>;
}
function convertToHtml(
options: ConvertToHtmlOptions
): Promise<ConvertToHtmlResult>;
export default {
convertToHtml,
};
}