pdf-master-landing 0.0.2 → 0.0.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 +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 +86 -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 +94705 -90172
- 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
package/dist/index.html
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="zh-CN">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
|
|
8
|
-
<meta name="theme-color" content="#0e0f12" media="(prefers-color-scheme: dark)" />
|
|
9
|
-
<meta
|
|
10
|
-
name="description"
|
|
11
|
-
content="PDF Master:一个干净的跨平台 PDF 阅读器。支持阅读、批注、本地书库。macOS / Windows / Linux / iOS / Android / Web。"
|
|
12
|
-
/>
|
|
13
|
-
<title>PDF Master · 跨平台 PDF 阅读器</title>
|
|
14
|
-
|
|
15
|
-
<link rel="prefetch" href="/app/flutter_bootstrap.js" as="script" />
|
|
16
|
-
<link rel="prefetch" href="/app/manifest.json" />
|
|
17
|
-
<script type="module" crossorigin src="/assets/main-
|
|
18
|
-
<link rel="modulepreload" crossorigin href="/assets/tokens-
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
|
|
8
|
+
<meta name="theme-color" content="#0e0f12" media="(prefers-color-scheme: dark)" />
|
|
9
|
+
<meta
|
|
10
|
+
name="description"
|
|
11
|
+
content="PDF Master:一个干净的跨平台 PDF 阅读器。支持阅读、批注、本地书库。macOS / Windows / Linux / iOS / Android / Web。"
|
|
12
|
+
/>
|
|
13
|
+
<title>PDF Master · 跨平台 PDF 阅读器</title>
|
|
14
|
+
|
|
15
|
+
<link rel="prefetch" href="/app/flutter_bootstrap.js" as="script" />
|
|
16
|
+
<link rel="prefetch" href="/app/manifest.json" />
|
|
17
|
+
<script type="module" crossorigin src="/assets/main-Dj5bpMLs.js"></script>
|
|
18
|
+
<link rel="modulepreload" crossorigin href="/assets/tokens-7q7KlOem.js">
|
|
19
19
|
<link rel="stylesheet" crossorigin href="/assets/style-DPCEmzUq.css">
|
|
20
|
-
</head>
|
|
21
|
-
<body>
|
|
22
|
-
<div id="root"></div>
|
|
23
|
-
</body>
|
|
24
|
-
</html>
|
|
20
|
+
</head>
|
|
21
|
+
<body>
|
|
22
|
+
<div id="root"></div>
|
|
23
|
+
</body>
|
|
24
|
+
</html>
|
package/dist/privacy.html
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="zh-CN">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
|
|
8
|
-
<meta name="theme-color" content="#0e0f12" media="(prefers-color-scheme: dark)" />
|
|
9
|
-
<meta
|
|
10
|
-
name="description"
|
|
11
|
-
content="PDF Master 隐私协议:了解 PDF Master 如何处理本地文件、浏览器存储、权限和反馈邮件。"
|
|
12
|
-
/>
|
|
13
|
-
<title>PDF Master · 隐私协议</title>
|
|
14
|
-
<script type="module" crossorigin src="/assets/privacy-
|
|
15
|
-
<link rel="modulepreload" crossorigin href="/assets/tokens-
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
|
|
8
|
+
<meta name="theme-color" content="#0e0f12" media="(prefers-color-scheme: dark)" />
|
|
9
|
+
<meta
|
|
10
|
+
name="description"
|
|
11
|
+
content="PDF Master 隐私协议:了解 PDF Master 如何处理本地文件、浏览器存储、权限和反馈邮件。"
|
|
12
|
+
/>
|
|
13
|
+
<title>PDF Master · 隐私协议</title>
|
|
14
|
+
<script type="module" crossorigin src="/assets/privacy-D4WxiAu6.js"></script>
|
|
15
|
+
<link rel="modulepreload" crossorigin href="/assets/tokens-7q7KlOem.js">
|
|
16
16
|
<link rel="stylesheet" crossorigin href="/assets/style-DPCEmzUq.css">
|
|
17
|
-
</head>
|
|
18
|
-
<body>
|
|
19
|
-
<div id="root"></div>
|
|
20
|
-
</body>
|
|
21
|
-
</html>
|
|
17
|
+
</head>
|
|
18
|
+
<body>
|
|
19
|
+
<div id="root"></div>
|
|
20
|
+
</body>
|
|
21
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pdf-master-landing",
|
|
3
|
-
"description": "PDF Master static landing site.",
|
|
4
|
-
"version": "0.0.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "UNLICENSED",
|
|
7
|
-
"files": [
|
|
8
|
-
"bin",
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"bin": {
|
|
12
|
-
"pdf-master-landing": "bin/deploy.mjs",
|
|
13
|
-
"pdfmaster-deploy": "bin/deploy.mjs"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"sync:app": "node scripts/sync-flutter-web.mjs",
|
|
17
|
-
"sync:app:no-build": "node scripts/sync-flutter-web.mjs --no-build",
|
|
18
|
-
"predev": "node scripts/sync-flutter-web.mjs --no-build",
|
|
19
|
-
"dev": "vite",
|
|
20
|
-
"prebuild": "node scripts/sync-flutter-web.mjs",
|
|
21
|
-
"build": "tsc -b && vite build",
|
|
22
|
-
"prepack": "npm run build",
|
|
23
|
-
"preview": "vite preview",
|
|
24
|
-
"lint": "tsc --noEmit"
|
|
25
|
-
},
|
|
26
|
-
"engines": {
|
|
27
|
-
"node": ">=18"
|
|
28
|
-
},
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"react": "^18.3.1",
|
|
31
|
-
"react-dom": "^18.3.1"
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@types/node": "^25.8.0",
|
|
35
|
-
"@types/react": "^18.3.12",
|
|
36
|
-
"@types/react-dom": "^18.3.1",
|
|
37
|
-
"@vitejs/plugin-react": "^4.3.4",
|
|
38
|
-
"typescript": "^5.6.3",
|
|
39
|
-
"vite": "^5.4.11"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "pdf-master-landing",
|
|
3
|
+
"description": "PDF Master static landing site.",
|
|
4
|
+
"version": "0.0.5",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"files": [
|
|
8
|
+
"bin",
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"bin": {
|
|
12
|
+
"pdf-master-landing": "bin/deploy.mjs",
|
|
13
|
+
"pdfmaster-deploy": "bin/deploy.mjs"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"sync:app": "node scripts/sync-flutter-web.mjs",
|
|
17
|
+
"sync:app:no-build": "node scripts/sync-flutter-web.mjs --no-build",
|
|
18
|
+
"predev": "node scripts/sync-flutter-web.mjs --no-build",
|
|
19
|
+
"dev": "vite",
|
|
20
|
+
"prebuild": "node scripts/sync-flutter-web.mjs",
|
|
21
|
+
"build": "tsc -b && vite build",
|
|
22
|
+
"prepack": "npm run build",
|
|
23
|
+
"preview": "vite preview",
|
|
24
|
+
"lint": "tsc --noEmit"
|
|
25
|
+
},
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=18"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"react": "^18.3.1",
|
|
31
|
+
"react-dom": "^18.3.1"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/node": "^25.8.0",
|
|
35
|
+
"@types/react": "^18.3.12",
|
|
36
|
+
"@types/react-dom": "^18.3.1",
|
|
37
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
38
|
+
"typescript": "^5.6.3",
|
|
39
|
+
"vite": "^5.4.11"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as c,j as e,s as m,r as p,L as w,H as f,F as _,c as v}from"./tokens-dhEWX-dA.js";const d=new Set,g="/app/".replace(/\/?$/,"/");function a(s){return g+s.replace(/^\//,"")}function N(s,n,t={}){if(d.has(s+":"+n))return;d.add(s+":"+n);const i=document.createElement("link");i.rel=s,i.href=n,Object.entries(t).forEach(([o,u])=>i.setAttribute(o,u)),document.head.appendChild(i)}function r(s,n){N("prefetch",s,n?{as:n,crossorigin:"anonymous"}:{})}function k(){const s=navigator.connection;return s?!!(s.saveData||s.effectiveType&&/(^|-)(2g|slow-2g)$/.test(s.effectiveType)):!1}let h=!1;function l(){if(h||(h=!0,r(a("flutter_bootstrap.js"),"script"),r(a("manifest.json")),k()))return;("requestIdleCallback"in window?n=>window.requestIdleCallback(n):n=>setTimeout(n,600))(()=>{r(a("main.dart.js"),"script"),r(a("flutter.js"),"script"),r(a("flutter_service_worker.js"),"script"),r(a("canvaskit/canvaskit.js"),"script"),r(a("canvaskit/canvaskit.wasm"),"fetch"),r(a("canvaskit/skwasm.wasm"),"fetch"),r(a("sqlite3.wasm"),"fetch"),r(a("drift_worker.dart.js"),"script"),r(a("icons/Icon-192.png"),"image")})}function x(s="_self"){const n=a("index.html");s==="_blank"?window.open(n,"_blank","noopener"):window.location.href=n}function y(){const{t:s}=c();return e.jsx("section",{id:"top",className:"hero",children:e.jsxs("div",{className:"wrap hero__inner",children:[e.jsxs("div",{className:"hero__copy",children:[e.jsxs("h1",{className:"hero__title",children:[s.heroTitleLine1,e.jsx("br",{}),s.heroTitleLine2]}),e.jsx("p",{className:"hero__lede",children:s.heroLede}),e.jsxs("div",{className:"hero__actions",children:[e.jsx("a",{href:"#download",className:"btn btn--primary btn--lg",onClick:m("download"),children:s.heroDownload}),e.jsx("button",{type:"button",className:"btn btn--ghost btn--lg",onClick:()=>x("_self"),onMouseEnter:l,children:s.heroExperience})]})]}),e.jsx("div",{className:"hero__visual","aria-hidden":!0,children:e.jsxs("div",{className:"window",children:[e.jsxs("div",{className:"window__bar",children:[e.jsxs("span",{className:"window__dots",children:[e.jsx("i",{}),e.jsx("i",{}),e.jsx("i",{})]}),e.jsx("span",{className:"window__title",children:"document.pdf"})]}),e.jsxs("div",{className:"window__body",children:[e.jsxs("aside",{className:"window__sidebar",children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]}),e.jsxs("div",{className:"window__page",children:[e.jsx("img",{src:"/brand/app-mark.png",alt:"",className:"window__mark"}),e.jsx("span",{className:"page-line",style:{width:"90%"}}),e.jsx("span",{className:"page-line",style:{width:"74%"}}),e.jsx("span",{className:"page-line page-line--hl",style:{width:"60%"}}),e.jsx("span",{className:"page-line",style:{width:"88%"}}),e.jsx("span",{className:"page-line",style:{width:"52%"}}),e.jsx("span",{className:"page-line",style:{width:"82%"}}),e.jsx("span",{className:"page-line",style:{width:"68%"}})]})]})]})})]})})}function b(){const{t:s}=c(),n=s.features;return e.jsx("section",{id:"features",className:"features",children:e.jsxs("div",{className:"wrap",children:[e.jsxs("header",{className:"features__head",children:[e.jsx("h2",{children:s.featuresTitle}),e.jsx("p",{children:s.featuresLead})]}),e.jsx("div",{className:"features__grid",children:n.map(t=>e.jsxs("article",{className:"card",children:[e.jsx("div",{className:"card__icon",children:e.jsx(M,{name:t.icon})}),e.jsx("h3",{children:t.title}),e.jsx("p",{children:t.body})]},t.title))})]})})}function M({name:s}){const n={width:22,height:22,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0};switch(s){case"annotate":return e.jsxs("svg",{...n,children:[e.jsx("path",{d:"M4 18l4-1 11-11a2 2 0 0 0-3-3L5 14l-1 4z"}),e.jsx("path",{d:"M14 5l3 3"})]});case"merge":return e.jsxs("svg",{...n,children:[e.jsx("rect",{x:"4",y:"4",width:"8",height:"10",rx:"1.5"}),e.jsx("rect",{x:"12",y:"10",width:"8",height:"10",rx:"1.5"}),e.jsx("path",{d:"M8 16v2a2 2 0 0 0 2 2h2M14 4h1a2 2 0 0 1 2 2v2"})]});case"image":return e.jsxs("svg",{...n,children:[e.jsx("rect",{x:"3",y:"5",width:"18",height:"16",rx:"2"}),e.jsx("path",{d:"M7 15l3-3 3 3 2-2 4 4"}),e.jsx("path",{d:"M8 9h.01"})]});case"secure":return e.jsxs("svg",{...n,children:[e.jsx("path",{d:"M12 2l7 4v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-4z"}),e.jsx("path",{d:"M9 12h6M10 12v-2a2 2 0 0 1 4 0v2M10 12v4h4v-4"})]});case"cross":return e.jsxs("svg",{...n,children:[e.jsx("rect",{x:"2",y:"4",width:"14",height:"10",rx:"1.5"}),e.jsx("rect",{x:"14",y:"9",width:"8",height:"11",rx:"1.5"}),e.jsx("path",{d:"M5 18h6"})]});case"offline":return e.jsxs("svg",{...n,children:[e.jsx("path",{d:"M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z"}),e.jsx("path",{d:"M9 12l2 2 4-4"})]})}}const j="9PF542ZFDZQL",z=`ms-windows-store://pdp/?productid=${j}`,E=`https://apps.microsoft.com/detail/${j}`,L=[{key:"mac",brand:"apple"},{key:"ios",brand:"apple"},{key:"windows",brand:"windows"},{key:"android",brand:"play"},{key:"linux",brand:"flathub"},{key:"pwa",brand:"chrome"}];function S(){const{t:s}=c();return e.jsx("section",{id:"download",className:"download",children:e.jsxs("div",{className:"wrap",children:[e.jsx("header",{className:"download__head",children:e.jsx("h2",{children:s.downloadTitle})}),e.jsx("div",{className:"store-grid",children:L.map(n=>e.jsx(C,{store:n},n.key))})]})})}function C({store:s}){const{t:n}=c(),t=n.stores[s.key],i=s.key==="pwa",o=()=>{if(i){x("_self");return}if(s.key==="windows"){window.location.href=A();return}if(s.href){window.open(s.href,"_blank","noopener");return}alert(n.storeComingSoon(t.store))};return e.jsxs("button",{type:"button",className:"store",onClick:o,onMouseEnter:i?l:void 0,children:[e.jsx("span",{className:"store__logo",children:e.jsx(D,{name:s.brand})}),e.jsxs("div",{className:"store__text",children:[e.jsx("span",{className:"store__store",children:t.store}),e.jsxs("span",{className:"store__meta",children:[e.jsx("span",{className:"store__platform",children:t.platform}),e.jsx("span",{className:"store__dot","aria-hidden":!0,children:"·"}),t.meta]})]})]})}function A(){return T()?z:E}function T(){const n=navigator.userAgentData?.platform||navigator.platform;return/win/i.test(n)||/windows/i.test(navigator.userAgent)}function D({name:s}){const n={width:20,height:20,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0};switch(s){case"apple":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M16.7 12.7c0-2.4 2-3.5 2-3.6-1.1-1.6-2.8-1.8-3.4-1.9-1.4-.1-2.8.9-3.5.9s-1.8-.9-3-.9c-1.5 0-3 .9-3.8 2.3-1.6 2.8-.4 7 1.2 9.3.7 1.1 1.6 2.4 2.8 2.4 1.1 0 1.6-.7 2.9-.7s1.7.7 3 .7c1.2 0 2-.7 2.7-1.8.6-.9.9-1.8 1.1-2.7-2.4-1-2-3.7-2-4zM14.6 5.5c.6-.7 1-1.7 1-2.7-.9 0-2 .6-2.6 1.3-.6.6-1.1 1.6-1 2.6 1 .1 2-.5 2.6-1.2z"})});case"windows":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M3 5.5l8-1.1V12H3V5.5zM12 4.3l9-1.3V12h-9V4.3zM3 13h8v6.6l-8-1.1V13zm9 0h9v8.7l-9-1.3V13z"})});case"play":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M3.609 1.814L13.792 12 3.61 22.186a.996.996 0 01-.61-.92V2.734a1 1 0 01.609-.92zm10.89 10.893l2.302 2.303-10.937 6.333 8.635-8.636zm3.199-3.198l2.808 1.626a1 1 0 010 1.73l-2.808 1.626L15.297 12l2.401-2.491zM5.864 2.658L16.802 8.99l-2.303 2.303L5.864 2.658z"})});case"flathub":return e.jsx("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"currentColor","aria-hidden":!0,children:e.jsx("path",{d:"M12 2L3 6v6c0 5 3.8 9.4 9 10 5.2-.6 9-5 9-10V6l-9-4zm-1 5h2v2h-2V7zm-3 4h8v2H8v-2zm0 4h8v2H8v-2z"})});case"chrome":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M12 0C8.21 0 4.831 1.757 2.632 4.501l3.953 6.848A5.454 5.454 0 0 1 12 6.545h10.691A12 12 0 0 0 12 0zM1.931 5.47A11.943 11.943 0 0 0 0 12c0 6.012 4.42 10.991 10.189 11.864l3.953-6.847a5.45 5.45 0 0 1-6.865-2.29zm13.342 2.166a5.446 5.446 0 0 1 1.45 7.09l.002.001h-.002l-5.344 9.257c.206.01.413.016.621.016 6.627 0 12-5.373 12-12 0-1.54-.29-3.011-.818-4.364zM12 16.364a4.364 4.364 0 1 1 0-8.728 4.364 4.364 0 0 1 0 8.728Z"})})}}function I(){return p.useEffect(()=>{l()},[]),e.jsxs(w,{children:[e.jsx(f,{}),e.jsxs("main",{children:[e.jsx(y,{}),e.jsx(b,{}),e.jsx(S,{})]}),e.jsx(_,{})]})}l();v(document.getElementById("root")).render(e.jsx(p.StrictMode,{children:e.jsx(I,{})}));
|