@doubleelec/dsh-workspace-explorer 0.9.0 → 0.9.1
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/dsh.plugin.json +1 -1
- package/lib/client.js +130 -95
- package/manifest.json +1 -1
- package/package.json +1 -1
package/dsh.plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-external/elec-workspace-explorer",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"description": "工作区文件资源管理器:右侧面板展示目录树,点击/拖拽插入文件引用,含搜索/预览/国际化。Workspace file explorer panel with click/drag references, search, preview, i18n.",
|
|
6
6
|
"engines": {
|
package/lib/client.js
CHANGED
|
@@ -17,117 +17,117 @@ window.__ModuleLoader__.load({
|
|
|
17
17
|
document.head.appendChild(tag);
|
|
18
18
|
}
|
|
19
19
|
var _dsh_css_panel_module_css_default = {
|
|
20
|
-
"dshwe-
|
|
21
|
-
"dshwe-
|
|
22
|
-
"dshwe-
|
|
20
|
+
"dshwe-act": "_4fxDUa_dshwe-act",
|
|
21
|
+
"dshwe-act-on": "_4fxDUa_dshwe-act-on",
|
|
22
|
+
"dshwe-addbtn": "_4fxDUa_dshwe-addbtn",
|
|
23
23
|
"dshwe-body": "_4fxDUa_dshwe-body",
|
|
24
|
-
"dshwe-
|
|
25
|
-
"dshwe-
|
|
26
|
-
"dshwe-
|
|
27
|
-
"dshwe-
|
|
28
|
-
"dshwe-
|
|
29
|
-
"dshwe-
|
|
30
|
-
"dshwe-
|
|
31
|
-
"dshwe-
|
|
32
|
-
"dshwe-
|
|
24
|
+
"dshwe-chev": "_4fxDUa_dshwe-chev",
|
|
25
|
+
"dshwe-chev-on": "_4fxDUa_dshwe-chev-on",
|
|
26
|
+
"dshwe-chev-slot": "_4fxDUa_dshwe-chev-slot",
|
|
27
|
+
"dshwe-edit-saveerr": "_4fxDUa_dshwe-edit-saveerr",
|
|
28
|
+
"dshwe-edit-saving": "_4fxDUa_dshwe-edit-saving",
|
|
29
|
+
"dshwe-editor": "_4fxDUa_dshwe-editor",
|
|
30
|
+
"dshwe-empty": "_4fxDUa_dshwe-empty",
|
|
31
|
+
"dshwe-empty-ico": "_4fxDUa_dshwe-empty-ico",
|
|
32
|
+
"dshwe-file-ico-btn": "_4fxDUa_dshwe-file-ico-btn",
|
|
33
|
+
"dshwe-filter": "_4fxDUa_dshwe-filter",
|
|
34
|
+
"dshwe-filter-clear": "_4fxDUa_dshwe-filter-clear",
|
|
35
|
+
"dshwe-filterrow": "_4fxDUa_dshwe-filterrow",
|
|
33
36
|
"dshwe-folder-svg": "_4fxDUa_dshwe-folder-svg",
|
|
34
|
-
"dshwe-md-h2": "_4fxDUa_dshwe-md-h2",
|
|
35
|
-
"dshwe-md-tablewrap": "_4fxDUa_dshwe-md-tablewrap",
|
|
36
37
|
"dshwe-head": "_4fxDUa_dshwe-head",
|
|
37
|
-
"dshwe-edit-saving": "_4fxDUa_dshwe-edit-saving",
|
|
38
|
-
"dshwe-mm": "_4fxDUa_dshwe-mm",
|
|
39
|
-
"dshwe-hintline": "_4fxDUa_dshwe-hintline",
|
|
40
|
-
"dshwe-preview-slot": "_4fxDUa_dshwe-preview-slot",
|
|
41
|
-
"dshwe-chev-slot": "_4fxDUa_dshwe-chev-slot",
|
|
42
38
|
"dshwe-head-ico": "_4fxDUa_dshwe-head-ico",
|
|
43
|
-
"dshwe-mm-bar": "_4fxDUa_dshwe-mm-bar",
|
|
44
|
-
"dshwe-preview-actions": "_4fxDUa_dshwe-preview-actions",
|
|
45
|
-
"dshwe-md-check-on": "_4fxDUa_dshwe-md-check-on",
|
|
46
|
-
"dshwe-filter-clear": "_4fxDUa_dshwe-filter-clear",
|
|
47
39
|
"dshwe-hicon": "_4fxDUa_dshwe-hicon",
|
|
48
|
-
"dshwe-
|
|
49
|
-
"dshwe-
|
|
40
|
+
"dshwe-hicon-on": "_4fxDUa_dshwe-hicon-on",
|
|
41
|
+
"dshwe-hint": "_4fxDUa_dshwe-hint",
|
|
42
|
+
"dshwe-hint-chip": "_4fxDUa_dshwe-hint-chip",
|
|
43
|
+
"dshwe-hintline": "_4fxDUa_dshwe-hintline",
|
|
50
44
|
"dshwe-ico": "_4fxDUa_dshwe-ico",
|
|
51
|
-
"dshwe-
|
|
52
|
-
"dshwe-
|
|
53
|
-
"dshwe-note": "_4fxDUa_dshwe-note",
|
|
54
|
-
"dshwe-preview-btn-on": "_4fxDUa_dshwe-preview-btn-on",
|
|
55
|
-
"dshwe-preview-panel": "_4fxDUa_dshwe-preview-panel",
|
|
45
|
+
"dshwe-icobtn": "_4fxDUa_dshwe-icobtn",
|
|
46
|
+
"dshwe-layer": "_4fxDUa_dshwe-layer",
|
|
56
47
|
"dshwe-md": "_4fxDUa_dshwe-md",
|
|
57
|
-
"dshwe-md-
|
|
58
|
-
"dshwe-
|
|
48
|
+
"dshwe-md-check": "_4fxDUa_dshwe-md-check",
|
|
49
|
+
"dshwe-md-check-on": "_4fxDUa_dshwe-md-check-on",
|
|
50
|
+
"dshwe-md-code": "_4fxDUa_dshwe-md-code",
|
|
51
|
+
"dshwe-md-h": "_4fxDUa_dshwe-md-h",
|
|
52
|
+
"dshwe-md-h1": "_4fxDUa_dshwe-md-h1",
|
|
53
|
+
"dshwe-md-h2": "_4fxDUa_dshwe-md-h2",
|
|
54
|
+
"dshwe-md-h3": "_4fxDUa_dshwe-md-h3",
|
|
59
55
|
"dshwe-md-h4": "_4fxDUa_dshwe-md-h4",
|
|
60
|
-
"dshwe-
|
|
56
|
+
"dshwe-md-h5": "_4fxDUa_dshwe-md-h5",
|
|
57
|
+
"dshwe-md-h6": "_4fxDUa_dshwe-md-h6",
|
|
58
|
+
"dshwe-md-hr": "_4fxDUa_dshwe-md-hr",
|
|
59
|
+
"dshwe-md-lang": "_4fxDUa_dshwe-md-lang",
|
|
60
|
+
"dshwe-md-link": "_4fxDUa_dshwe-md-link",
|
|
61
|
+
"dshwe-md-ol": "_4fxDUa_dshwe-md-ol",
|
|
62
|
+
"dshwe-md-p": "_4fxDUa_dshwe-md-p",
|
|
63
|
+
"dshwe-md-pre": "_4fxDUa_dshwe-md-pre",
|
|
64
|
+
"dshwe-md-quote": "_4fxDUa_dshwe-md-quote",
|
|
61
65
|
"dshwe-md-table": "_4fxDUa_dshwe-md-table",
|
|
62
|
-
"dshwe-
|
|
63
|
-
"dshwe-
|
|
66
|
+
"dshwe-md-tablewrap": "_4fxDUa_dshwe-md-tablewrap",
|
|
67
|
+
"dshwe-md-task": "_4fxDUa_dshwe-md-task",
|
|
68
|
+
"dshwe-md-ul": "_4fxDUa_dshwe-md-ul",
|
|
69
|
+
"dshwe-mm": "_4fxDUa_dshwe-mm",
|
|
70
|
+
"dshwe-mm-bar": "_4fxDUa_dshwe-mm-bar",
|
|
71
|
+
"dshwe-mm-svg": "_4fxDUa_dshwe-mm-svg",
|
|
72
|
+
"dshwe-name": "_4fxDUa_dshwe-name",
|
|
73
|
+
"dshwe-note": "_4fxDUa_dshwe-note",
|
|
74
|
+
"dshwe-note-err": "_4fxDUa_dshwe-note-err",
|
|
75
|
+
"dshwe-pager-btn": "_4fxDUa_dshwe-pager-btn",
|
|
64
76
|
"dshwe-panel": "_4fxDUa_dshwe-panel",
|
|
65
|
-
"dshwe-
|
|
77
|
+
"dshwe-popup": "_4fxDUa_dshwe-popup",
|
|
78
|
+
"dshwe-popup-full": "_4fxDUa_dshwe-popup-full",
|
|
79
|
+
"dshwe-popup-on": "_4fxDUa_dshwe-popup-on",
|
|
80
|
+
"dshwe-prevbtn": "_4fxDUa_dshwe-prevbtn",
|
|
81
|
+
"dshwe-prevbtn-on": "_4fxDUa_dshwe-prevbtn-on",
|
|
82
|
+
"dshwe-preview-actions": "_4fxDUa_dshwe-preview-actions",
|
|
83
|
+
"dshwe-preview-btn": "_4fxDUa_dshwe-preview-btn",
|
|
84
|
+
"dshwe-preview-btn-on": "_4fxDUa_dshwe-preview-btn-on",
|
|
85
|
+
"dshwe-preview-head": "_4fxDUa_dshwe-preview-head",
|
|
66
86
|
"dshwe-preview-meta": "_4fxDUa_dshwe-preview-meta",
|
|
67
|
-
"dshwe-
|
|
68
|
-
"dshwe-
|
|
69
|
-
"dshwe-
|
|
87
|
+
"dshwe-preview-name": "_4fxDUa_dshwe-preview-name",
|
|
88
|
+
"dshwe-preview-panel": "_4fxDUa_dshwe-preview-panel",
|
|
89
|
+
"dshwe-preview-pre": "_4fxDUa_dshwe-preview-pre",
|
|
90
|
+
"dshwe-preview-slot": "_4fxDUa_dshwe-preview-slot",
|
|
91
|
+
"dshwe-preview-tab": "_4fxDUa_dshwe-preview-tab",
|
|
92
|
+
"dshwe-resize-corner": "_4fxDUa_dshwe-resize-corner",
|
|
70
93
|
"dshwe-resize-corner-bar": "_4fxDUa_dshwe-resize-corner-bar",
|
|
71
|
-
"dshwe-
|
|
72
|
-
"dshwe-
|
|
73
|
-
"dshwe-act-on": "_4fxDUa_dshwe-act-on",
|
|
74
|
-
"dshwe-spin": "_4fxDUa_dshwe-spin",
|
|
94
|
+
"dshwe-row": "_4fxDUa_dshwe-row",
|
|
95
|
+
"dshwe-row-active": "_4fxDUa_dshwe-row-active",
|
|
75
96
|
"dshwe-row-dir": "_4fxDUa_dshwe-row-dir",
|
|
97
|
+
"dshwe-row-file": "_4fxDUa_dshwe-row-file",
|
|
98
|
+
"dshwe-row-preview-dot": "_4fxDUa_dshwe-row-preview-dot",
|
|
99
|
+
"dshwe-row-sel": "_4fxDUa_dshwe-row-sel",
|
|
76
100
|
"dshwe-selbar": "_4fxDUa_dshwe-selbar",
|
|
77
|
-
"dshwe-
|
|
78
|
-
"dshwe-name": "_4fxDUa_dshwe-name",
|
|
79
|
-
"dshwe-share-btn": "_4fxDUa_dshwe-share-btn",
|
|
80
|
-
"dshwe-md-lang": "_4fxDUa_dshwe-md-lang",
|
|
101
|
+
"dshwe-selbar-count": "_4fxDUa_dshwe-selbar-count",
|
|
81
102
|
"dshwe-set": "_4fxDUa_dshwe-set",
|
|
82
|
-
"dshwe-
|
|
83
|
-
"dshwe-chev-on": "_4fxDUa_dshwe-chev-on",
|
|
84
|
-
"dshwe-row-sel": "_4fxDUa_dshwe-row-sel",
|
|
85
|
-
"dshwe-tab": "_4fxDUa_dshwe-tab",
|
|
86
|
-
"dshwe-preview-head": "_4fxDUa_dshwe-preview-head",
|
|
87
|
-
"dshwe-hicon-on": "_4fxDUa_dshwe-hicon-on",
|
|
88
|
-
"dshwe-md-h6": "_4fxDUa_dshwe-md-h6",
|
|
89
|
-
"dshwe-md-ul": "_4fxDUa_dshwe-md-ul",
|
|
90
|
-
"dshwe-row-preview-dot": "_4fxDUa_dshwe-row-preview-dot",
|
|
91
|
-
"dshwe-editor": "_4fxDUa_dshwe-editor",
|
|
92
|
-
"dshwe-act": "_4fxDUa_dshwe-act",
|
|
93
|
-
"dshwe-setsec": "_4fxDUa_dshwe-setsec",
|
|
94
|
-
"dshwe-resize-corner": "_4fxDUa_dshwe-resize-corner",
|
|
95
|
-
"dshwe-md-h": "_4fxDUa_dshwe-md-h",
|
|
96
|
-
"dshwe-setrow": "_4fxDUa_dshwe-setrow",
|
|
97
|
-
"dshwe-tab-on": "_4fxDUa_dshwe-tab-on",
|
|
98
|
-
"dshwe-md-hr": "_4fxDUa_dshwe-md-hr",
|
|
99
|
-
"dshwe-md-h3": "_4fxDUa_dshwe-md-h3",
|
|
100
|
-
"dshwe-setlabel": "_4fxDUa_dshwe-setlabel",
|
|
101
|
-
"dshwe-switch": "_4fxDUa_dshwe-switch",
|
|
102
|
-
"dshwe-row-file": "_4fxDUa_dshwe-row-file",
|
|
103
|
-
"dshwe-md-check": "_4fxDUa_dshwe-md-check",
|
|
104
|
-
"dshwe-md-h1": "_4fxDUa_dshwe-md-h1",
|
|
105
|
-
"dshwe-mm-svg": "_4fxDUa_dshwe-mm-svg",
|
|
106
|
-
"dshwe-setinfo": "_4fxDUa_dshwe-setinfo",
|
|
107
|
-
"dshwe-setselect": "_4fxDUa_dshwe-setselect",
|
|
103
|
+
"dshwe-setcap": "_4fxDUa_dshwe-setcap",
|
|
108
104
|
"dshwe-setfoot": "_4fxDUa_dshwe-setfoot",
|
|
105
|
+
"dshwe-setinfo": "_4fxDUa_dshwe-setinfo",
|
|
106
|
+
"dshwe-setlabel": "_4fxDUa_dshwe-setlabel",
|
|
109
107
|
"dshwe-setnote": "_4fxDUa_dshwe-setnote",
|
|
108
|
+
"dshwe-setpage": "_4fxDUa_dshwe-setpage",
|
|
109
|
+
"dshwe-setrow": "_4fxDUa_dshwe-setrow",
|
|
110
|
+
"dshwe-setsec": "_4fxDUa_dshwe-setsec",
|
|
111
|
+
"dshwe-setselect": "_4fxDUa_dshwe-setselect",
|
|
112
|
+
"dshwe-share-btn": "_4fxDUa_dshwe-share-btn",
|
|
113
|
+
"dshwe-share-btn-on": "_4fxDUa_dshwe-share-btn-on",
|
|
114
|
+
"dshwe-size": "_4fxDUa_dshwe-size",
|
|
115
|
+
"dshwe-slide-in": "_4fxDUa_dshwe-slide-in",
|
|
116
|
+
"dshwe-spin": "_4fxDUa_dshwe-spin",
|
|
110
117
|
"dshwe-star-info": "_4fxDUa_dshwe-star-info",
|
|
111
|
-
"dshwe-
|
|
118
|
+
"dshwe-star-label": "_4fxDUa_dshwe-star-label",
|
|
112
119
|
"dshwe-star-link": "_4fxDUa_dshwe-star-link",
|
|
113
|
-
"dshwe-
|
|
114
|
-
"dshwe-
|
|
115
|
-
"dshwe-
|
|
116
|
-
"dshwe-
|
|
117
|
-
"dshwe-preview-pre": "_4fxDUa_dshwe-preview-pre",
|
|
118
|
-
"dshwe-md-h5": "_4fxDUa_dshwe-md-h5",
|
|
119
|
-
"dshwe-popup": "_4fxDUa_dshwe-popup",
|
|
120
|
-
"dshwe-filterrow": "_4fxDUa_dshwe-filterrow",
|
|
121
|
-
"dshwe-chev": "_4fxDUa_dshwe-chev",
|
|
122
|
-
"dshwe-row": "_4fxDUa_dshwe-row",
|
|
123
|
-
"dshwe-icobtn": "_4fxDUa_dshwe-icobtn",
|
|
124
|
-
"dshwe-preview-tab": "_4fxDUa_dshwe-preview-tab",
|
|
125
|
-
"dshwe-hint": "_4fxDUa_dshwe-hint",
|
|
126
|
-
"dshwe-hint-chip": "_4fxDUa_dshwe-hint-chip",
|
|
120
|
+
"dshwe-star-row": "_4fxDUa_dshwe-star-row",
|
|
121
|
+
"dshwe-star-section": "_4fxDUa_dshwe-star-section",
|
|
122
|
+
"dshwe-switch": "_4fxDUa_dshwe-switch",
|
|
123
|
+
"dshwe-tab": "_4fxDUa_dshwe-tab",
|
|
127
124
|
"dshwe-tab-ind": "_4fxDUa_dshwe-tab-ind",
|
|
128
|
-
"dshwe-
|
|
129
|
-
"dshwe-
|
|
130
|
-
"dshwe-
|
|
125
|
+
"dshwe-tab-on": "_4fxDUa_dshwe-tab-on",
|
|
126
|
+
"dshwe-tabbody": "_4fxDUa_dshwe-tabbody",
|
|
127
|
+
"dshwe-tabs": "_4fxDUa_dshwe-tabs",
|
|
128
|
+
"dshwe-title": "_4fxDUa_dshwe-title",
|
|
129
|
+
"dshwe-tree": "_4fxDUa_dshwe-tree",
|
|
130
|
+
"dshwe-tree-col": "_4fxDUa_dshwe-tree-col"
|
|
131
131
|
};
|
|
132
132
|
//#endregion
|
|
133
133
|
//#region src/client/format.ts
|
|
@@ -585,7 +585,7 @@ window.__ModuleLoader__.load({
|
|
|
585
585
|
}
|
|
586
586
|
//#endregion
|
|
587
587
|
//#region package.json
|
|
588
|
-
var version = "0.9.
|
|
588
|
+
var version = "0.9.1";
|
|
589
589
|
//#endregion
|
|
590
590
|
//#region src/client/previewState.ts
|
|
591
591
|
let savedTab = "files";
|
|
@@ -683,6 +683,9 @@ window.__ModuleLoader__.load({
|
|
|
683
683
|
"preview.lines": "{n} 行",
|
|
684
684
|
"preview.prev": "上一页",
|
|
685
685
|
"preview.next": "下一页",
|
|
686
|
+
"font.dec": "缩小字体",
|
|
687
|
+
"font.inc": "放大字体",
|
|
688
|
+
"font.reset": "重置字体大小",
|
|
686
689
|
"edit": "编辑",
|
|
687
690
|
"edit.save": "保存",
|
|
688
691
|
"edit.discard": "放弃",
|
|
@@ -768,6 +771,9 @@ window.__ModuleLoader__.load({
|
|
|
768
771
|
"preview.lines": "{n} lines",
|
|
769
772
|
"preview.prev": "Previous page",
|
|
770
773
|
"preview.next": "Next page",
|
|
774
|
+
"font.dec": "Decrease font size",
|
|
775
|
+
"font.inc": "Increase font size",
|
|
776
|
+
"font.reset": "Reset font size",
|
|
771
777
|
"edit": "Edit",
|
|
772
778
|
"edit.save": "Save",
|
|
773
779
|
"edit.discard": "Discard",
|
|
@@ -1496,6 +1502,16 @@ window.__ModuleLoader__.load({
|
|
|
1496
1502
|
const [selAnchor, setSelAnchor] = (0, react.useState)(null);
|
|
1497
1503
|
const [tab, setTab] = (0, react.useState)(() => getSavedTab());
|
|
1498
1504
|
const [mdView, setMdView] = (0, react.useState)(() => getSavedMdView());
|
|
1505
|
+
const [fontStep, setFontStep] = (0, react.useState)(0);
|
|
1506
|
+
const fontScale = [
|
|
1507
|
+
.85,
|
|
1508
|
+
1,
|
|
1509
|
+
1.18,
|
|
1510
|
+
1.36,
|
|
1511
|
+
1.56
|
|
1512
|
+
][Math.min(Math.max(fontStep + 1, 0), 4)] ?? 1;
|
|
1513
|
+
const fontDec = () => setFontStep((s) => Math.max(-1, s - 1));
|
|
1514
|
+
const fontInc = () => setFontStep((s) => Math.min(3, s + 1));
|
|
1499
1515
|
const [c, setC] = (0, react.useState)(getCfg());
|
|
1500
1516
|
(0, react.useEffect)(() => subscribeCfg(setC), []);
|
|
1501
1517
|
(0, react.useEffect)(() => {
|
|
@@ -2039,10 +2055,12 @@ window.__ModuleLoader__.load({
|
|
|
2039
2055
|
});
|
|
2040
2056
|
else if (mdRendered && mdView === "rendered") contentArea = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2041
2057
|
className: C("dshwe-md"),
|
|
2058
|
+
style: { fontSize: `${fontScale}em` },
|
|
2042
2059
|
children: renderMdBlocks(parseMarkdown(d?.content ?? ""), preview.entry.rel)
|
|
2043
2060
|
});
|
|
2044
2061
|
else contentArea = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("pre", {
|
|
2045
2062
|
className: C("dshwe-preview-pre"),
|
|
2063
|
+
style: { fontSize: `${fontScale}em` },
|
|
2046
2064
|
children: d?.content ?? ""
|
|
2047
2065
|
});
|
|
2048
2066
|
pv = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -2106,7 +2124,7 @@ window.__ModuleLoader__.load({
|
|
|
2106
2124
|
})
|
|
2107
2125
|
})
|
|
2108
2126
|
] }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
2109
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2127
|
+
(preview.page > 0 || d?.hasMore === true) && !preview.loading ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2110
2128
|
type: "button",
|
|
2111
2129
|
className: C("dshwe-pager-btn"),
|
|
2112
2130
|
disabled: preview.page === 0 || preview.loading,
|
|
@@ -2114,8 +2132,7 @@ window.__ModuleLoader__.load({
|
|
|
2114
2132
|
title: tr("preview.prev"),
|
|
2115
2133
|
"aria-label": tr("preview.prev"),
|
|
2116
2134
|
children: "‹"
|
|
2117
|
-
}),
|
|
2118
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2135
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2119
2136
|
type: "button",
|
|
2120
2137
|
className: C("dshwe-pager-btn"),
|
|
2121
2138
|
disabled: d?.hasMore !== true || preview.loading,
|
|
@@ -2123,6 +2140,24 @@ window.__ModuleLoader__.load({
|
|
|
2123
2140
|
title: tr("preview.next"),
|
|
2124
2141
|
"aria-label": tr("preview.next"),
|
|
2125
2142
|
children: "›"
|
|
2143
|
+
})] }) : null,
|
|
2144
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2145
|
+
type: "button",
|
|
2146
|
+
className: C("dshwe-pager-btn"),
|
|
2147
|
+
disabled: fontStep <= -1 || preview.loading,
|
|
2148
|
+
onClick: fontDec,
|
|
2149
|
+
title: tr("font.dec"),
|
|
2150
|
+
"aria-label": tr("font.dec"),
|
|
2151
|
+
children: "A-"
|
|
2152
|
+
}),
|
|
2153
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2154
|
+
type: "button",
|
|
2155
|
+
className: C("dshwe-pager-btn"),
|
|
2156
|
+
disabled: fontStep >= 3 || preview.loading,
|
|
2157
|
+
onClick: fontInc,
|
|
2158
|
+
title: tr("font.inc"),
|
|
2159
|
+
"aria-label": tr("font.inc"),
|
|
2160
|
+
children: "A+"
|
|
2126
2161
|
}),
|
|
2127
2162
|
mdRendered ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2128
2163
|
type: "button",
|
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doubleelec/dsh-workspace-explorer",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "DeepSeek Harness 工作区文件资源管理器(原生插件):右侧面板展示工作区目录树,点击/拖拽插入文件引用,含搜索/预览/国际化 | Native DSH plugin: workspace file-tree panel with click/drag references, search, preview, i18n.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|