@embedpdf/plugin-scroll 1.0.7 → 1.0.9

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/dist/index.js CHANGED
@@ -121,6 +121,53 @@ var PdfUnwantedTextMarkers = Object.freeze([
121
121
  PdfNonCharacterFFFF
122
122
  ]);
123
123
  var PdfUnwantedTextRegex = new RegExp(`[${PdfUnwantedTextMarkers.join("")}]`, "g");
124
+ var PdfAnnotationFlagName = Object.freeze({
125
+ [
126
+ 1
127
+ /* INVISIBLE */
128
+ ]: "invisible",
129
+ [
130
+ 2
131
+ /* HIDDEN */
132
+ ]: "hidden",
133
+ [
134
+ 4
135
+ /* PRINT */
136
+ ]: "print",
137
+ [
138
+ 8
139
+ /* NO_ZOOM */
140
+ ]: "noZoom",
141
+ [
142
+ 16
143
+ /* NO_ROTATE */
144
+ ]: "noRotate",
145
+ [
146
+ 32
147
+ /* NO_VIEW */
148
+ ]: "noView",
149
+ [
150
+ 64
151
+ /* READ_ONLY */
152
+ ]: "readOnly",
153
+ [
154
+ 128
155
+ /* LOCKED */
156
+ ]: "locked",
157
+ [
158
+ 256
159
+ /* TOGGLE_NOVIEW */
160
+ ]: "toggleNoView"
161
+ });
162
+ var PdfAnnotationFlagValue = Object.entries(
163
+ PdfAnnotationFlagName
164
+ ).reduce(
165
+ (acc, [bit, name]) => {
166
+ acc[name] = Number(bit);
167
+ return acc;
168
+ },
169
+ {}
170
+ );
124
171
 
125
172
  // src/lib/types.ts
126
173
  var ScrollStrategy = /* @__PURE__ */ ((ScrollStrategy2) => {