@qzsy/dsh-image-viewer 0.0.0-stage → 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.
- package/LICENSE +21 -0
- package/README.md +56 -2
- package/cordis.patch.yml +3 -0
- package/dist/client.js +1394 -0
- package/dist/index.js +7 -0
- package/icon.svg +13 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +73 -4
package/dist/index.js
ADDED
package/icon.svg
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="48" height="48" role="img" aria-label="Image viewer">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="qiv-bg" x1="0" y1="0" x2="48" y2="48" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop stop-color="#1F2937"/>
|
|
5
|
+
<stop offset="1" stop-color="#0B1220"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="48" height="48" rx="12" fill="url(#qiv-bg)"/>
|
|
9
|
+
<rect x="11" y="13" width="26" height="22" rx="4" fill="none" stroke="#E5E7EB" stroke-width="2.2"/>
|
|
10
|
+
<circle cx="19" cy="20" r="2.6" fill="#FBBF24"/>
|
|
11
|
+
<path d="M12.5 32 21 24.5l5 4.5 4-3.2 6.5 6.2" fill="none" stroke="#60A5FA" stroke-width="2.2" stroke-linejoin="round" stroke-linecap="round"/>
|
|
12
|
+
<path d="M33 7h8v8M41 7l-7 7" fill="none" stroke="#E5E7EB" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
13
|
+
</svg>
|
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,75 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qzsy/dsh-image-viewer",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "iPhone Photos-style full-screen image viewer for the DSH conversation: zoom from thumbnail, pinch/double-tap zoom, momentum pan, swipe between images, swipe down to close.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "qzsy",
|
|
8
|
+
"contributors": [
|
|
9
|
+
{
|
|
10
|
+
"name": "qzsy"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"keywords": [
|
|
14
|
+
"dsh",
|
|
15
|
+
"deepseek-harness",
|
|
16
|
+
"plugin",
|
|
17
|
+
"image-viewer",
|
|
18
|
+
"lightbox",
|
|
19
|
+
"pinch-zoom",
|
|
20
|
+
"gallery"
|
|
21
|
+
],
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://codeup.aliyun.com/qzsy/dshmarket/deepseek-harness-market",
|
|
25
|
+
"directory": "plugins/packages/dsh-image-viewer"
|
|
26
|
+
},
|
|
27
|
+
"homepage": "https://codeup.aliyun.com/qzsy/dshmarket/deepseek-harness-market",
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://codeup.aliyun.com/qzsy/dshmarket/deepseek-harness-market/issues"
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=20.9.0"
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist",
|
|
36
|
+
"cordis.patch.yml",
|
|
37
|
+
"README.md",
|
|
38
|
+
"LICENSE",
|
|
39
|
+
"locale/*.json",
|
|
40
|
+
"icon.svg"
|
|
41
|
+
],
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public"
|
|
44
|
+
},
|
|
45
|
+
"dsh": {
|
|
46
|
+
"bundle": {
|
|
47
|
+
"patch": "./cordis.patch.yml"
|
|
48
|
+
},
|
|
49
|
+
"client": {
|
|
50
|
+
"platform": "web",
|
|
51
|
+
"immediately": true,
|
|
52
|
+
"inject": [
|
|
53
|
+
"@deepseek-ai/dsh-client-locale"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"build": "bun run ../../scripts/build-package.mjs .",
|
|
59
|
+
"typecheck": "bun exec tsc -p tsconfig.json --noEmit",
|
|
60
|
+
"test": "node test/smoke.mjs"
|
|
61
|
+
},
|
|
62
|
+
"dshBuild": {
|
|
63
|
+
"host": "src/index.ts",
|
|
64
|
+
"client": "runtime/client.js",
|
|
65
|
+
"copy": []
|
|
66
|
+
},
|
|
67
|
+
"main": "./dist/index.js",
|
|
68
|
+
"exports": {
|
|
69
|
+
".": "./dist/index.js",
|
|
70
|
+
"./client": "./dist/client.js",
|
|
71
|
+
"./locale/*.json": "./locale/*.json",
|
|
72
|
+
"./icon": "./icon.svg",
|
|
73
|
+
"./package.json": "./package.json"
|
|
74
|
+
}
|
|
75
|
+
}
|