pdfwright-web 0.2.0__tar.gz → 0.2.2__tar.gz
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.
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/PKG-INFO +2 -2
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/eslint.config.js +5 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/package.json +15 -14
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/pnpm-lock.yaml +526 -908
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/App.vue +3 -3
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/api/client.ts +4 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/designer/JsonPanel.vue +4 -1
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/fill/FillView.vue +2 -2
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/expand.ts +4 -2
- pdfwright_web-0.2.2/frontend/src/lib/markup.spec.ts +58 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/markup.ts +20 -2
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/store/designer.spec.ts +37 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/store/designer.ts +17 -3
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/types/schema.ts +1 -1
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/tsconfig.json +1 -2
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/pyproject.toml +2 -2
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/__init__.py +1 -1
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/app.py +1 -1
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/routers/convert.py +3 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/routers/examples.py +5 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/schemas.py +14 -4
- pdfwright_web-0.2.2/src/pdfwright_web/static/assets/index-BgTOK7V4.js +86 -0
- pdfwright_web-0.2.2/src/pdfwright_web/static/assets/index-DrWAVhY-.css +1 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/static/index.html +2 -2
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/tests/test_api.py +3 -2
- pdfwright_web-0.2.0/frontend/src/lib/markup.spec.ts +0 -14
- pdfwright_web-0.2.0/src/pdfwright_web/static/assets/index-BOB5COxV.css +0 -1
- pdfwright_web-0.2.0/src/pdfwright_web/static/assets/index-DAv_h-ZW.js +0 -115
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/.gitignore +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/README.md +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/env.d.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/index.html +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/components/BoxInput.spec.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/components/BoxInput.vue +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/components/UnitInput.vue +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/designer/CanvasArea.vue +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/designer/ComponentPalette.vue +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/designer/ElementTree.vue +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/designer/ElementTreeNode.vue +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/designer/PropsPanel.spec.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/designer/PropsPanel.vue +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/clone.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/download.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/expand.spec.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/fonts.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/format.spec.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/format.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/table.spec.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/table.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/template.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/tree.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/units.spec.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/lib/units.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/main.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/renderer/ElementRenderer.spec.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/renderer/ElementRenderer.vue +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/renderer/InlineText.vue +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/renderer/WatermarkLayer.vue +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/src/styles/main.css +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/frontend/vite.config.ts +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/concurrency.py +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/meta.py +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/routers/__init__.py +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/routers/batch.py +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/routers/codes.py +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/routers/meta.py +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/routers/options.py +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/routers/render.py +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/routers/verify.py +0 -0
- {pdfwright_web-0.2.0 → pdfwright_web-0.2.2}/src/pdfwright_web/security_defaults.py +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pdfwright-web
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: pdfwright 的无状态 Web 服务:可视化配置编辑器 + HTML/PDF 预览 + 对外渲染 API(不存储任何数据与内容)
|
|
5
5
|
License: Proprietary
|
|
6
6
|
Requires-Python: >=3.12
|
|
7
7
|
Requires-Dist: fastapi>=0.115
|
|
8
|
-
Requires-Dist: pdfwright>=0.2.
|
|
8
|
+
Requires-Dist: pdfwright>=0.2.1
|
|
9
9
|
Requires-Dist: pydantic>=2.9
|
|
10
10
|
Requires-Dist: python-multipart>=0.0.9
|
|
11
11
|
Requires-Dist: uvicorn>=0.30
|
|
@@ -13,6 +13,11 @@ export default tseslint.config(
|
|
|
13
13
|
languageOptions: {
|
|
14
14
|
parserOptions: { parser: tseslint.parser },
|
|
15
15
|
},
|
|
16
|
+
rules: {
|
|
17
|
+
// TS 已由 vue-tsc 做未定义变量检查(typescript-eslint 官方建议关闭 no-undef);
|
|
18
|
+
// eslint-plugin-vue v10 起不再为 .vue 注入 browser globals,故此处显式关闭。
|
|
19
|
+
'no-undef': 'off',
|
|
20
|
+
},
|
|
16
21
|
},
|
|
17
22
|
{
|
|
18
23
|
rules: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pdfwright-designer",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
@@ -15,28 +15,29 @@
|
|
|
15
15
|
"test": "vitest run"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@element-plus/icons-vue": "^2.3.
|
|
19
|
-
"element-plus": "^2.
|
|
18
|
+
"@element-plus/icons-vue": "^2.3.2",
|
|
19
|
+
"element-plus": "^2.14.6",
|
|
20
20
|
"nunjucks": "^3.2.4",
|
|
21
|
-
"vue": "^3.5.
|
|
21
|
+
"vue": "^3.5.43",
|
|
22
22
|
"vuedraggable": "^4.1.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@eslint/js": "^10.0.1",
|
|
26
|
-
"@tailwindcss/vite": "^4.
|
|
26
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
27
27
|
"@types/node": "^26.6.2",
|
|
28
28
|
"@types/nunjucks": "^3.2.6",
|
|
29
|
-
"@vitejs/plugin-vue": "^
|
|
29
|
+
"@vitejs/plugin-vue": "^6.0.9",
|
|
30
30
|
"@vue/server-renderer": "^3.5.43",
|
|
31
|
-
"eslint": "^
|
|
32
|
-
"eslint-plugin-vue": "^
|
|
33
|
-
"prettier": "^3.
|
|
34
|
-
"tailwindcss": "^4.
|
|
35
|
-
"typescript": "^
|
|
36
|
-
"typescript-eslint": "^8.
|
|
37
|
-
"vite": "^
|
|
31
|
+
"eslint": "^10.11.0",
|
|
32
|
+
"eslint-plugin-vue": "^10.11.0",
|
|
33
|
+
"prettier": "^3.9.8",
|
|
34
|
+
"tailwindcss": "^4.3.3",
|
|
35
|
+
"typescript": "^6.0.3",
|
|
36
|
+
"typescript-eslint": "^8.70.0",
|
|
37
|
+
"vite": "^8.3.0",
|
|
38
38
|
"vitest": "^5.0.1",
|
|
39
|
-
"vue-
|
|
39
|
+
"vue-eslint-parser": "^10.4.1",
|
|
40
|
+
"vue-tsc": "^3.3.11"
|
|
40
41
|
},
|
|
41
42
|
"pnpm": {
|
|
42
43
|
"onlyBuiltDependencies": [
|