pdf-master-landing 0.0.2 → 0.0.4
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 +82 -82
- package/bin/deploy.mjs +164 -164
- package/dist/_diag.html +159 -159
- package/dist/app/.last_build_id +1 -1
- package/dist/app/README.md +49 -49
- package/dist/app/assets/NOTICES +54 -50
- package/dist/app/assets/fonts/MaterialIcons-Regular.otf +0 -0
- package/dist/app/assets/packages/pdfrx/assets/pdfium_client.js +65 -65
- package/dist/app/assets/packages/pdfrx/assets/pdfium_worker.js +5206 -5206
- package/dist/app/canvaskit/canvaskit.wasm +0 -0
- package/dist/app/canvaskit/chromium/canvaskit.wasm +0 -0
- package/dist/app/canvaskit/experimental_webparagraph/canvaskit.wasm +0 -0
- package/dist/app/canvaskit/skwasm.wasm +0 -0
- package/dist/app/canvaskit/skwasm_heavy.wasm +0 -0
- package/dist/app/canvaskit/wimp.wasm +0 -0
- package/dist/app/drift_worker.dart.js +13271 -13271
- package/dist/app/flutter_bootstrap.js +1 -1
- package/dist/app/flutter_service_worker.js +31 -31
- package/dist/app/index.html +59 -59
- package/dist/app/main.dart.js +93282 -88866
- package/dist/app/main.dart.wasm +0 -0
- package/dist/app/manifest.json +34 -34
- package/dist/app/version.json +1 -1
- package/dist/assets/main-Dj5bpMLs.js +1 -0
- package/dist/assets/{privacy-DpLJ_d-e.js → privacy-D4WxiAu6.js} +1 -1
- package/dist/assets/{tokens-dhEWX-dA.js → tokens-7q7KlOem.js} +1 -1
- package/dist/index.html +23 -23
- package/dist/privacy.html +20 -20
- package/package.json +41 -41
- package/dist/assets/main-qphtmh1g.js +0 -1
|
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"c416acfeb8126e097f758c664aaa3da929e27d
|
|
|
37
37
|
|
|
38
38
|
_flutter.loader.load({
|
|
39
39
|
serviceWorkerSettings: {
|
|
40
|
-
serviceWorkerVersion: "
|
|
40
|
+
serviceWorkerVersion: "1334610213" /* 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
|
+
});
|
package/dist/app/index.html
CHANGED
|
@@ -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>
|