pdf-master-landing 0.0.6 → 0.1.0

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.
Files changed (40) hide show
  1. package/README.md +82 -82
  2. package/bin/deploy.mjs +164 -164
  3. package/dist/_diag.html +159 -159
  4. package/dist/app/.last_build_id +1 -1
  5. package/dist/app/README.md +49 -49
  6. package/dist/app/assets/AssetManifest.bin +1 -1
  7. package/dist/app/assets/AssetManifest.bin.json +1 -1
  8. package/dist/app/assets/FontManifest.json +1 -1
  9. package/dist/app/assets/NOTICES +235 -104
  10. package/dist/app/assets/assets/fonts/MiSans-Medium.ttf +0 -0
  11. package/dist/app/assets/assets/fonts/MiSans-Regular.ttf +0 -0
  12. package/dist/app/assets/assets/fonts/MiSans-Semibold.ttf +0 -0
  13. package/dist/app/assets/fonts/MaterialIcons-Regular.otf +0 -0
  14. package/dist/app/assets/packages/lucide_icons_flutter/assets/build_font/LucideVariable-w100.ttf +0 -0
  15. package/dist/app/assets/packages/lucide_icons_flutter/assets/build_font/LucideVariable-w200.ttf +0 -0
  16. package/dist/app/assets/packages/lucide_icons_flutter/assets/build_font/LucideVariable-w300.ttf +0 -0
  17. package/dist/app/assets/packages/lucide_icons_flutter/assets/build_font/LucideVariable-w400.ttf +0 -0
  18. package/dist/app/assets/packages/lucide_icons_flutter/assets/build_font/LucideVariable-w500.ttf +0 -0
  19. package/dist/app/assets/packages/lucide_icons_flutter/assets/build_font/LucideVariable-w600.ttf +0 -0
  20. package/dist/app/assets/packages/lucide_icons_flutter/assets/lucide.ttf +0 -0
  21. package/dist/app/assets/packages/pdfrx/assets/pdfium_client.js +65 -65
  22. package/dist/app/assets/packages/pdfrx/assets/pdfium_worker.js +5327 -5206
  23. package/dist/app/canvaskit/canvaskit.wasm +0 -0
  24. package/dist/app/canvaskit/chromium/canvaskit.wasm +0 -0
  25. package/dist/app/canvaskit/experimental_webparagraph/canvaskit.wasm +0 -0
  26. package/dist/app/canvaskit/skwasm.wasm +0 -0
  27. package/dist/app/canvaskit/skwasm_heavy.wasm +0 -0
  28. package/dist/app/canvaskit/wimp.wasm +0 -0
  29. package/dist/app/drift_worker.dart.js +13271 -13271
  30. package/dist/app/flutter_bootstrap.js +2 -2
  31. package/dist/app/flutter_service_worker.js +31 -31
  32. package/dist/app/index.html +59 -59
  33. package/dist/app/main.dart.js +104160 -93754
  34. package/dist/app/main.dart.mjs +496 -494
  35. package/dist/app/main.dart.wasm +0 -0
  36. package/dist/app/manifest.json +34 -34
  37. package/dist/app/version.json +1 -1
  38. package/dist/index.html +21 -21
  39. package/dist/privacy.html +18 -18
  40. package/package.json +41 -41
@@ -33,10 +33,10 @@ addEventListener("message", eventListener);
33
33
  if (!window._flutter) {
34
34
  window._flutter = {};
35
35
  }
36
- _flutter.buildConfig = {"engineRevision":"c416acfeb8126e097f758c664aaa3da929e27da0","builds":[{"compileTarget":"dart2wasm","renderer":"skwasm","mainWasmPath":"main.dart.wasm","jsSupportRuntimePath":"main.dart.mjs"},{"compileTarget":"dart2js","renderer":"canvaskit","mainJsPath":"main.dart.js"}]};
36
+ _flutter.buildConfig = {"engineRevision":"77e2e94772b6eb43759e34ed1ad7da4674e19cab","builds":[{"compileTarget":"dart2wasm","renderer":"skwasm","mainWasmPath":"main.dart.wasm","jsSupportRuntimePath":"main.dart.mjs"},{"compileTarget":"dart2js","renderer":"canvaskit","mainJsPath":"main.dart.js"}]};
37
37
 
38
38
  _flutter.loader.load({
39
39
  serviceWorkerSettings: {
40
- serviceWorkerVersion: "3666838205" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
40
+ serviceWorkerVersion: "533477910" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
41
41
  }
42
42
  });
@@ -1,31 +1,31 @@
1
- 'use strict';
2
-
3
- self.addEventListener('install', () => {
4
- self.skipWaiting();
5
- });
6
-
7
- self.addEventListener('activate', (event) => {
8
- event.waitUntil(
9
- (async () => {
10
- try {
11
- await self.registration.unregister();
12
- } catch (e) {
13
- console.warn('Failed to unregister the service worker:', e);
14
- }
15
-
16
- try {
17
- const clients = await self.clients.matchAll({
18
- type: 'window',
19
- });
20
- // Reload clients to ensure they are not using the old service worker.
21
- clients.forEach((client) => {
22
- if (client.url && 'navigate' in client) {
23
- client.navigate(client.url);
24
- }
25
- });
26
- } catch (e) {
27
- console.warn('Failed to navigate some service worker clients:', e);
28
- }
29
- })()
30
- );
31
- });
1
+ 'use strict';
2
+
3
+ self.addEventListener('install', () => {
4
+ self.skipWaiting();
5
+ });
6
+
7
+ self.addEventListener('activate', (event) => {
8
+ event.waitUntil(
9
+ (async () => {
10
+ try {
11
+ await self.registration.unregister();
12
+ } catch (e) {
13
+ console.warn('Failed to unregister the service worker:', e);
14
+ }
15
+
16
+ try {
17
+ const clients = await self.clients.matchAll({
18
+ type: 'window',
19
+ });
20
+ // Reload clients to ensure they are not using the old service worker.
21
+ clients.forEach((client) => {
22
+ if (client.url && 'navigate' in client) {
23
+ client.navigate(client.url);
24
+ }
25
+ });
26
+ } catch (e) {
27
+ console.warn('Failed to navigate some service worker clients:', e);
28
+ }
29
+ })()
30
+ );
31
+ });
@@ -1,59 +1,59 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <!--
5
- If you are serving your web app in a path other than the root, change the
6
- href value below to reflect the base path you are serving from.
7
-
8
- The path provided below has to start and end with a slash "/" in order for
9
- it to work correctly.
10
-
11
- For more details:
12
- * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
13
-
14
- This is a placeholder for base href that will be replaced by the value of
15
- the `--base-href` argument provided to `flutter build`.
16
- -->
17
- <base href="/app/">
18
-
19
- <meta charset="UTF-8">
20
- <meta content="IE=Edge" http-equiv="X-UA-Compatible">
21
- <meta name="description" content="PDF 阅读 / 标注 / 整理。">
22
-
23
- <!-- iOS meta tags & icons -->
24
- <meta name="mobile-web-app-capable" content="yes">
25
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
26
- <meta name="apple-mobile-web-app-title" content="PDF Master">
27
- <link rel="apple-touch-icon" href="apple-touch-icon.png">
28
-
29
- <!-- Favicon: 多份分辨率让浏览器按 DPR 自己挑,避免被一张 16x16 拉糊 -->
30
- <link rel="icon" type="image/png" sizes="32x32" href="favicon-32.png"/>
31
- <link rel="icon" type="image/png" sizes="96x96" href="favicon-96.png"/>
32
- <link rel="icon" type="image/png" sizes="192x192" href="icons/Icon-192.png"/>
33
-
34
- <title>PDF Master</title>
35
- <link rel="manifest" href="manifest.json">
36
-
37
- <style>
38
- html, body { margin: 0; padding: 0; height: 100%; background: #FFFFFF; }
39
- @media (prefers-color-scheme: dark) {
40
- html, body { background: #0A0B0F; }
41
- }
42
- </style>
43
- <script>
44
- // 给 Dart 端用的隐藏入口:保留兼容空实现,调用安全。
45
- window.hideAppLoader = function () {};
46
- </script>
47
- </head>
48
- <body>
49
- <!--
50
- You can customize the "flutter_bootstrap.js" script.
51
- This is useful to provide a custom configuration to the Flutter loader
52
- or to give the user feedback during the initialization process.
53
-
54
- For more details:
55
- * https://docs.flutter.dev/platform-integration/web/initialization
56
- -->
57
- <script src="flutter_bootstrap.js" async></script>
58
- </body>
59
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <!--
5
+ If you are serving your web app in a path other than the root, change the
6
+ href value below to reflect the base path you are serving from.
7
+
8
+ The path provided below has to start and end with a slash "/" in order for
9
+ it to work correctly.
10
+
11
+ For more details:
12
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
13
+
14
+ This is a placeholder for base href that will be replaced by the value of
15
+ the `--base-href` argument provided to `flutter build`.
16
+ -->
17
+ <base href="/app/">
18
+
19
+ <meta charset="UTF-8">
20
+ <meta content="IE=Edge" http-equiv="X-UA-Compatible">
21
+ <meta name="description" content="PDF 阅读 / 标注 / 整理。">
22
+
23
+ <!-- iOS meta tags & icons -->
24
+ <meta name="mobile-web-app-capable" content="yes">
25
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
26
+ <meta name="apple-mobile-web-app-title" content="PDF Master">
27
+ <link rel="apple-touch-icon" href="apple-touch-icon.png">
28
+
29
+ <!-- Favicon: 多份分辨率让浏览器按 DPR 自己挑,避免被一张 16x16 拉糊 -->
30
+ <link rel="icon" type="image/png" sizes="32x32" href="favicon-32.png"/>
31
+ <link rel="icon" type="image/png" sizes="96x96" href="favicon-96.png"/>
32
+ <link rel="icon" type="image/png" sizes="192x192" href="icons/Icon-192.png"/>
33
+
34
+ <title>PDF Master</title>
35
+ <link rel="manifest" href="manifest.json">
36
+
37
+ <style>
38
+ html, body { margin: 0; padding: 0; height: 100%; background: #FFFFFF; }
39
+ @media (prefers-color-scheme: dark) {
40
+ html, body { background: #0A0B0F; }
41
+ }
42
+ </style>
43
+ <script>
44
+ // 给 Dart 端用的隐藏入口:保留兼容空实现,调用安全。
45
+ window.hideAppLoader = function () {};
46
+ </script>
47
+ </head>
48
+ <body>
49
+ <!--
50
+ You can customize the "flutter_bootstrap.js" script.
51
+ This is useful to provide a custom configuration to the Flutter loader
52
+ or to give the user feedback during the initialization process.
53
+
54
+ For more details:
55
+ * https://docs.flutter.dev/platform-integration/web/initialization
56
+ -->
57
+ <script src="flutter_bootstrap.js" async></script>
58
+ </body>
59
+ </html>