From c090fb595fc8d2863579646d96e532abe53d23e9 Mon Sep 17 00:00:00 2001 From: PJ Date: Sat, 27 Jun 2026 09:32:22 -0400 Subject: [PATCH] changes --- index.html | 2 +- src-tauri/capabilities/default.json | 4 +- src-tauri/capabilities/desktop.json | 8 + src-tauri/gen/apple/.gitignore | 3 + .../AppIcon.appiconset/AppIcon-20x20@1x.png | Bin 0 -> 1036 bytes .../AppIcon.appiconset/AppIcon-20x20@2x-1.png | Bin 0 -> 2216 bytes .../AppIcon.appiconset/AppIcon-20x20@2x.png | Bin 0 -> 2216 bytes .../AppIcon.appiconset/AppIcon-20x20@3x.png | Bin 0 -> 3512 bytes .../AppIcon.appiconset/AppIcon-29x29@1x.png | Bin 0 -> 1568 bytes .../AppIcon.appiconset/AppIcon-29x29@2x-1.png | Bin 0 -> 3394 bytes .../AppIcon.appiconset/AppIcon-29x29@2x.png | Bin 0 -> 3394 bytes .../AppIcon.appiconset/AppIcon-29x29@3x.png | Bin 0 -> 5228 bytes .../AppIcon.appiconset/AppIcon-40x40@1x.png | Bin 0 -> 2216 bytes .../AppIcon.appiconset/AppIcon-40x40@2x-1.png | Bin 0 -> 4794 bytes .../AppIcon.appiconset/AppIcon-40x40@2x.png | Bin 0 -> 4794 bytes .../AppIcon.appiconset/AppIcon-40x40@3x.png | Bin 0 -> 7288 bytes .../AppIcon.appiconset/AppIcon-512@2x.png | Bin 0 -> 121323 bytes .../AppIcon.appiconset/AppIcon-60x60@2x.png | Bin 0 -> 7288 bytes .../AppIcon.appiconset/AppIcon-60x60@3x.png | Bin 0 -> 11091 bytes .../AppIcon.appiconset/AppIcon-76x76@1x.png | Bin 0 -> 4515 bytes .../AppIcon.appiconset/AppIcon-76x76@2x.png | Bin 0 -> 9257 bytes .../AppIcon-83.5x83.5@2x.png | Bin 0 -> 10219 bytes .../AppIcon.appiconset/Contents.json | 116 + .../gen/apple/Assets.xcassets/Contents.json | 6 + src-tauri/gen/apple/ExportOptions.plist | 8 + src-tauri/gen/apple/LaunchScreen.storyboard | 30 + src-tauri/gen/apple/Podfile | 21 + .../Sources/margin-app/bindings/bindings.h | 8 + .../gen/apple/Sources/margin-app/main.mm | 6 + .../dictionaries/en/SCOWL-license.txt | 347 + .../resources/dictionaries/en/index.aff | 205 + .../resources/dictionaries/en/index.dic | 49569 ++++++++++++++++ .../margin-app.xcodeproj/project.pbxproj | 474 + .../contents.xcworkspacedata | 7 + .../xcshareddata/WorkspaceSettings.xcsettings | 10 + .../xcschemes/margin-app_iOS.xcscheme | 131 + src-tauri/gen/apple/margin-app_iOS/Info.plist | 44 + .../margin-app_iOS.entitlements | 5 + src-tauri/gen/apple/project.yml | 88 + src-tauri/resources/dictionaries/en/tech.txt | 304 + src-tauri/src/lib.rs | 44 +- src-tauri/src/proofing.rs | 20 +- src/App.tsx | 7 +- src/components/EditorView.tsx | 211 +- src/components/ExportPreview.tsx | 339 + src/components/RowMenu.tsx | 38 +- src/components/Sidebar.tsx | 14 +- src/editor/FloatingToolbar.tsx | 37 + src/editor/align.ts | 64 + src/editor/extensions.ts | 4 + src/editor/paste.ts | 76 + src/editor/proofing.ts | 12 +- src/export/epub.ts | 14 +- src/export/typst.ts | 29 +- src/import/epub.ts | 4 +- src/model/book.ts | 11 +- src/store/useBook.ts | 9 +- src/store/useExportPreview.ts | 13 + src/styles/app.css | 283 +- src/styles/tokens.css | 1 + src/useMedia.ts | 15 + 61 files changed, 52534 insertions(+), 107 deletions(-) create mode 100644 src-tauri/capabilities/desktop.json create mode 100644 src-tauri/gen/apple/.gitignore create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@1x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x-1.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@3x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@1x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x-1.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@3x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@1x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x-1.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@3x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@2x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@3x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@1x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@2x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png create mode 100644 src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 src-tauri/gen/apple/Assets.xcassets/Contents.json create mode 100644 src-tauri/gen/apple/ExportOptions.plist create mode 100644 src-tauri/gen/apple/LaunchScreen.storyboard create mode 100644 src-tauri/gen/apple/Podfile create mode 100644 src-tauri/gen/apple/Sources/margin-app/bindings/bindings.h create mode 100644 src-tauri/gen/apple/Sources/margin-app/main.mm create mode 100644 src-tauri/gen/apple/assets/resources/dictionaries/en/SCOWL-license.txt create mode 100644 src-tauri/gen/apple/assets/resources/dictionaries/en/index.aff create mode 100644 src-tauri/gen/apple/assets/resources/dictionaries/en/index.dic create mode 100644 src-tauri/gen/apple/margin-app.xcodeproj/project.pbxproj create mode 100644 src-tauri/gen/apple/margin-app.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 src-tauri/gen/apple/margin-app.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings create mode 100644 src-tauri/gen/apple/margin-app.xcodeproj/xcshareddata/xcschemes/margin-app_iOS.xcscheme create mode 100644 src-tauri/gen/apple/margin-app_iOS/Info.plist create mode 100644 src-tauri/gen/apple/margin-app_iOS/margin-app_iOS.entitlements create mode 100644 src-tauri/gen/apple/project.yml create mode 100644 src-tauri/resources/dictionaries/en/tech.txt create mode 100644 src/components/ExportPreview.tsx create mode 100644 src/editor/align.ts create mode 100644 src/editor/paste.ts create mode 100644 src/store/useExportPreview.ts create mode 100644 src/useMedia.ts diff --git a/index.html b/index.html index 3567db6..e2c128e 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - +