pdfjs_viewer 0.1.1 → 0.1.2
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/helpers/pdfjs_viewer/application_helper.rb +1 -1
- data/app/views/pdfjs_viewer/viewer/show.html.erb +9 -9
- data/lib/pdfjs_viewer/version.rb +1 -1
- data/public/web/viewer.css +10 -0
- data/public/web/viewer.html +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70499460d3103b4775502e85198eb48916c8c319a3b942b17a45a6223e14b329
|
4
|
+
data.tar.gz: 61e6183bbee174cf530135e812c12de24a546c3d18de0e5f9ca817318254b057
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2861d2507cb24d4d55fcf945e17438218d93192059d80d62303818a9ad22ce18147a89584e473485d67eac2fcb43ceadddb2ef5bcb5cc779208161e7228024d5
|
7
|
+
data.tar.gz: 8187d7f115412fd0ce8ebddb52dcc1aeeea242250bf4d622480fb7e9c81da1c6809ed04069feee5000ca364f22ed4f11f35a665d190ae1e0bb29b3f5b55b3c46
|
data/Gemfile.lock
CHANGED
@@ -199,7 +199,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|
199
199
|
</div>
|
200
200
|
</div>
|
201
201
|
<div id="editorHighlight" class="toolbarButtonWithContainer">
|
202
|
-
<button id="editorHighlightButton"
|
202
|
+
<button id="editorHighlightButton" class="toolbarButton <%= toggle_action(:show_highlight_button) %>" type="button" disabled="disabled" role="radio" aria-expanded="false" aria-haspopup="true" aria-controls="editorHighlightParamsToolbar" tabindex="0" data-l10n-id="pdfjs-editor-highlight-button">
|
203
203
|
<span data-l10n-id="pdfjs-editor-highlight-button-label"></span>
|
204
204
|
</button>
|
205
205
|
<div class="editorParamsToolbar hidden doorHangerRight" id="editorHighlightParamsToolbar">
|
@@ -224,7 +224,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|
224
224
|
</div>
|
225
225
|
</div>
|
226
226
|
<div id="editorFreeText" class="toolbarButtonWithContainer">
|
227
|
-
<button id="editorFreeTextButton"
|
227
|
+
<button id="editorFreeTextButton" class="toolbarButton <%= toggle_action(:show_text_button) %>" type="button" disabled="disabled" role="radio" aria-expanded="false" aria-haspopup="true" aria-controls="editorFreeTextParamsToolbar" tabindex="0" data-l10n-id="pdfjs-editor-free-text-button">
|
228
228
|
<span data-l10n-id="pdfjs-editor-free-text-button-label"></span>
|
229
229
|
</button>
|
230
230
|
<div class="editorParamsToolbar hidden doorHangerRight" id="editorFreeTextParamsToolbar">
|
@@ -241,7 +241,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|
241
241
|
</div>
|
242
242
|
</div>
|
243
243
|
<div id="editorInk" class="toolbarButtonWithContainer">
|
244
|
-
<button id="editorInkButton"
|
244
|
+
<button id="editorInkButton" class="toolbarButton <%= toggle_action(:show_draw_button) %>" type="button" disabled="disabled" role="radio" aria-expanded="false" aria-haspopup="true" aria-controls="editorInkParamsToolbar" tabindex="0" data-l10n-id="pdfjs-editor-ink-button">
|
245
245
|
<span data-l10n-id="pdfjs-editor-ink-button-label"></span>
|
246
246
|
</button>
|
247
247
|
<div class="editorParamsToolbar hidden doorHangerRight" id="editorInkParamsToolbar">
|
@@ -262,7 +262,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|
262
262
|
</div>
|
263
263
|
</div>
|
264
264
|
<div id="editorStamp" class="toolbarButtonWithContainer">
|
265
|
-
<button id="editorStampButton"
|
265
|
+
<button id="editorStampButton" class="toolbarButton <%= toggle_action(:show_add_edit_image_button) %>" type="button" disabled="disabled" role="radio" aria-expanded="false" aria-haspopup="true" aria-controls="editorStampParamsToolbar" tabindex="0" data-l10n-id="pdfjs-editor-stamp-button">
|
266
266
|
<span data-l10n-id="pdfjs-editor-stamp-button-label"></span>
|
267
267
|
</button>
|
268
268
|
<div class="editorParamsToolbar hidden doorHangerRight menu" id="editorStampParamsToolbar">
|
@@ -278,10 +278,10 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|
278
278
|
<div id="editorModeSeparator" class="verticalToolbarSeparator"></div>
|
279
279
|
|
280
280
|
<div class="toolbarHorizontalGroup hiddenMediumView">
|
281
|
-
<button id="printButton"
|
281
|
+
<button id="printButton" class="toolbarButton <%= toggle_action(:show_print_button) %>" type="button" tabindex="0" data-l10n-id="pdfjs-print-button">
|
282
282
|
<span data-l10n-id="pdfjs-print-button-label"></span>
|
283
283
|
</button>
|
284
|
-
<button id="downloadButton"
|
284
|
+
<button id="downloadButton" class="toolbarButton <%= toggle_action(:show_save_button) %>" type="button" tabindex="0" data-l10n-id="pdfjs-save-button">
|
285
285
|
<span data-l10n-id="pdfjs-save-button-label"></span>
|
286
286
|
</button>
|
287
287
|
</div>
|
@@ -294,7 +294,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|
294
294
|
</button>
|
295
295
|
<div id="secondaryToolbar" class="hidden doorHangerRight menu">
|
296
296
|
<div id="secondaryToolbarButtonContainer" class="menuContainer">
|
297
|
-
<button id="secondaryOpenFile"
|
297
|
+
<button id="secondaryOpenFile" class="toolbarButton labeled <%= toggle_action(:show_open_file_button) %>" type="button" tabindex="0" data-l10n-id="pdfjs-open-file-button">
|
298
298
|
<span data-l10n-id="pdfjs-open-file-button-label"></span>
|
299
299
|
</button>
|
300
300
|
|
@@ -309,7 +309,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|
309
309
|
|
310
310
|
</div>
|
311
311
|
|
312
|
-
<div class="horizontalToolbarSeparator"
|
312
|
+
<div class="horizontalToolbarSeparator" class="<%= toggle_action(:show_open_file_button) %>"></div>
|
313
313
|
|
314
314
|
<button id="presentationMode" class="toolbarButton labeled" type="button" tabindex="0" data-l10n-id="pdfjs-presentation-mode-button">
|
315
315
|
<span data-l10n-id="pdfjs-presentation-mode-button-label"></span>
|
@@ -735,7 +735,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|
735
735
|
</div>
|
736
736
|
</dialog>
|
737
737
|
|
738
|
-
<dialog id="printServiceDialog"
|
738
|
+
<dialog id="printServiceDialog" class="w-200">
|
739
739
|
<div class="row">
|
740
740
|
<span data-l10n-id="pdfjs-print-progress-message"></span>
|
741
741
|
</div>
|
data/lib/pdfjs_viewer/version.rb
CHANGED
data/public/web/viewer.css
CHANGED
@@ -13,6 +13,16 @@
|
|
13
13
|
* limitations under the License.
|
14
14
|
*/
|
15
15
|
|
16
|
+
/* Added to satisfy csp, ensure this stays if pdf viewer package is updated */
|
17
|
+
.w-200 {
|
18
|
+
width: 200px
|
19
|
+
}
|
20
|
+
|
21
|
+
.hide {
|
22
|
+
display: none !important;
|
23
|
+
}
|
24
|
+
/* end */
|
25
|
+
|
16
26
|
.messageBar{
|
17
27
|
--closing-button-icon:url(images/messageBar_closingButton.svg);
|
18
28
|
--message-bar-close-button-color:var(--text-primary-color);
|
data/public/web/viewer.html
CHANGED
@@ -734,7 +734,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|
734
734
|
</div>
|
735
735
|
</dialog>
|
736
736
|
|
737
|
-
<dialog id="printServiceDialog"
|
737
|
+
<dialog id="printServiceDialog" class="w-200">
|
738
738
|
<div class="row">
|
739
739
|
<span data-l10n-id="pdfjs-print-progress-message"></span>
|
740
740
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdfjs_viewer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Toliver
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|