@4tw/vue-cli-plugin-pdfjs-viewer 1.6.0 → 1.7.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/CHANGELOG.md +4 -0
- package/assets/build/pdf.mjs +206 -122
- package/assets/build/pdf.mjs.map +1 -1
- package/assets/build/pdf.sandbox.mjs +4 -4
- package/assets/build/pdf.worker.mjs +187 -52
- package/assets/build/pdf.worker.mjs.map +1 -1
- package/assets/web/locale/zh-TW/viewer.ftl +17 -25
- package/assets/web/viewer.css +8 -0
- package/assets/web/viewer.html +1 -1
- package/assets/web/viewer.mjs +267 -179
- package/assets/web/viewer.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -51,12 +51,6 @@ pdfjs-download-button-label = 下載
|
|
|
51
51
|
pdfjs-bookmark-button =
|
|
52
52
|
.title = 目前頁面(含目前檢視頁面的網址)
|
|
53
53
|
pdfjs-bookmark-button-label = 目前頁面
|
|
54
|
-
# Used in Firefox for Android.
|
|
55
|
-
pdfjs-open-in-app-button =
|
|
56
|
-
.title = 在應用程式中開啟
|
|
57
|
-
# Used in Firefox for Android.
|
|
58
|
-
# Length of the translation matters since we are in a mobile context, with limited screen estate.
|
|
59
|
-
pdfjs-open-in-app-button-label = 用程式開啟
|
|
60
54
|
|
|
61
55
|
## Secondary toolbar and context menu
|
|
62
56
|
|
|
@@ -82,8 +76,8 @@ pdfjs-cursor-hand-tool-button =
|
|
|
82
76
|
.title = 開啟頁面移動工具
|
|
83
77
|
pdfjs-cursor-hand-tool-button-label = 頁面移動工具
|
|
84
78
|
pdfjs-scroll-page-button =
|
|
85
|
-
.title =
|
|
86
|
-
pdfjs-scroll-page-button-label =
|
|
79
|
+
.title = 使用單頁捲動版面
|
|
80
|
+
pdfjs-scroll-page-button-label = 單頁捲動
|
|
87
81
|
pdfjs-scroll-vertical-button =
|
|
88
82
|
.title = 使用垂直捲動版面
|
|
89
83
|
pdfjs-scroll-vertical-button-label = 垂直捲動
|
|
@@ -108,8 +102,8 @@ pdfjs-spread-even-button-label = 偶數跨頁
|
|
|
108
102
|
pdfjs-document-properties-button =
|
|
109
103
|
.title = 文件內容…
|
|
110
104
|
pdfjs-document-properties-button-label = 文件內容…
|
|
111
|
-
pdfjs-document-properties-file-name =
|
|
112
|
-
pdfjs-document-properties-file-size =
|
|
105
|
+
pdfjs-document-properties-file-name = 檔案名稱:
|
|
106
|
+
pdfjs-document-properties-file-size = 檔案大小:
|
|
113
107
|
# Variables:
|
|
114
108
|
# $size_kb (Number) - the PDF file size in kilobytes
|
|
115
109
|
# $size_b (Number) - the PDF file size in bytes
|
|
@@ -118,21 +112,21 @@ pdfjs-document-properties-kb = { $size_kb } KB({ $size_b } 位元組)
|
|
|
118
112
|
# $size_mb (Number) - the PDF file size in megabytes
|
|
119
113
|
# $size_b (Number) - the PDF file size in bytes
|
|
120
114
|
pdfjs-document-properties-mb = { $size_mb } MB({ $size_b } 位元組)
|
|
121
|
-
pdfjs-document-properties-title =
|
|
122
|
-
pdfjs-document-properties-author =
|
|
123
|
-
pdfjs-document-properties-subject =
|
|
124
|
-
pdfjs-document-properties-keywords =
|
|
125
|
-
pdfjs-document-properties-creation-date =
|
|
126
|
-
pdfjs-document-properties-modification-date =
|
|
115
|
+
pdfjs-document-properties-title = 標題:
|
|
116
|
+
pdfjs-document-properties-author = 作者:
|
|
117
|
+
pdfjs-document-properties-subject = 主旨:
|
|
118
|
+
pdfjs-document-properties-keywords = 關鍵字:
|
|
119
|
+
pdfjs-document-properties-creation-date = 建立日期:
|
|
120
|
+
pdfjs-document-properties-modification-date = 修改日期:
|
|
127
121
|
# Variables:
|
|
128
122
|
# $date (Date) - the creation/modification date of the PDF file
|
|
129
123
|
# $time (Time) - the creation/modification time of the PDF file
|
|
130
124
|
pdfjs-document-properties-date-string = { $date } { $time }
|
|
131
|
-
pdfjs-document-properties-creator =
|
|
132
|
-
pdfjs-document-properties-producer = PDF
|
|
133
|
-
pdfjs-document-properties-version = PDF
|
|
134
|
-
pdfjs-document-properties-page-count =
|
|
135
|
-
pdfjs-document-properties-page-size =
|
|
125
|
+
pdfjs-document-properties-creator = 建立者:
|
|
126
|
+
pdfjs-document-properties-producer = PDF 產生器:
|
|
127
|
+
pdfjs-document-properties-version = PDF 版本:
|
|
128
|
+
pdfjs-document-properties-page-count = 頁數:
|
|
129
|
+
pdfjs-document-properties-page-size = 頁面大小:
|
|
136
130
|
pdfjs-document-properties-page-size-unit-inches = in
|
|
137
131
|
pdfjs-document-properties-page-size-unit-millimeters = mm
|
|
138
132
|
pdfjs-document-properties-page-size-orientation-portrait = 垂直
|
|
@@ -156,7 +150,7 @@ pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $hei
|
|
|
156
150
|
|
|
157
151
|
# The linearization status of the document; usually called "Fast Web View" in
|
|
158
152
|
# English locales of Adobe software.
|
|
159
|
-
pdfjs-document-properties-linearized = 快速 Web
|
|
153
|
+
pdfjs-document-properties-linearized = 快速 Web 檢視:
|
|
160
154
|
pdfjs-document-properties-linearized-yes = 是
|
|
161
155
|
pdfjs-document-properties-linearized-no = 否
|
|
162
156
|
pdfjs-document-properties-close-button = 關閉
|
|
@@ -296,8 +290,6 @@ pdfjs-editor-stamp-button-label = 新增或編輯圖片
|
|
|
296
290
|
pdfjs-editor-highlight-button =
|
|
297
291
|
.title = 強調
|
|
298
292
|
pdfjs-editor-highlight-button-label = 強調
|
|
299
|
-
pdfjs-highlight-floating-button =
|
|
300
|
-
.title = 強調
|
|
301
293
|
pdfjs-highlight-floating-button1 =
|
|
302
294
|
.title = 強調
|
|
303
295
|
.aria-label = 強調
|
|
@@ -331,7 +323,7 @@ pdfjs-editor-free-highlight-thickness-title =
|
|
|
331
323
|
.title = 更改強調文字以外的項目時的線條粗細
|
|
332
324
|
pdfjs-free-text =
|
|
333
325
|
.aria-label = 文本編輯器
|
|
334
|
-
pdfjs-free-text-default-content =
|
|
326
|
+
pdfjs-free-text-default-content = 在此打字…
|
|
335
327
|
pdfjs-ink =
|
|
336
328
|
.aria-label = 圖形編輯器
|
|
337
329
|
pdfjs-ink-canvas =
|
package/assets/web/viewer.css
CHANGED
|
@@ -1448,6 +1448,14 @@
|
|
|
1448
1448
|
cursor:auto;
|
|
1449
1449
|
}
|
|
1450
1450
|
|
|
1451
|
+
.annotationEditorLayer .selectedEditor{
|
|
1452
|
+
z-index:100000 !important;
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
.annotationEditorLayer.drawing *{
|
|
1456
|
+
pointer-events:none !important;
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1451
1459
|
.annotationEditorLayer.waiting{
|
|
1452
1460
|
content:"";
|
|
1453
1461
|
cursor:wait;
|
package/assets/web/viewer.html
CHANGED
|
@@ -304,7 +304,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|
|
304
304
|
<button id="editorInk" class="toolbarButton" disabled="disabled" title="Draw" role="radio" aria-checked="false" aria-controls="editorInkParamsToolbar" tabindex="33" data-l10n-id="pdfjs-editor-ink-button">
|
|
305
305
|
<span data-l10n-id="pdfjs-editor-ink-button-label">Draw</span>
|
|
306
306
|
</button>
|
|
307
|
-
<button id="editorStamp" class="toolbarButton
|
|
307
|
+
<button id="editorStamp" class="toolbarButton" disabled="disabled" title="Add or edit images" role="radio" aria-checked="false" aria-controls="editorStampParamsToolbar" tabindex="34" data-l10n-id="pdfjs-editor-stamp-button">
|
|
308
308
|
<span data-l10n-id="pdfjs-editor-stamp-button-label">Add or edit images</span>
|
|
309
309
|
</button>
|
|
310
310
|
</div>
|