@vertexvis/doc-viewer 1.0.0-testing.7 → 1.0.0-testing.8

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/loader/cdn.js ADDED
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
3
+ */
4
+ module.exports = require('../dist/cjs/loader.cjs.js');
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
3
+ */
4
+ module.exports = require('../dist/cjs/loader.cjs.js');
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
3
+ */
4
+ module.exports = require('../dist/cjs/loader.cjs.js');
@@ -0,0 +1,24 @@
1
+ export * from '../dist/types/components';
2
+ export interface CustomElementsDefineOptions {
3
+ exclude?: string[];
4
+ resourcesUrl?: string;
5
+ syncQueue?: boolean;
6
+ jmp?: (c: Function) => any;
7
+ raf?: (c: FrameRequestCallback) => number;
8
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
9
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
+ }
11
+ export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
12
+ /**
13
+ * @deprecated
14
+ */
15
+ export declare function applyPolyfills(): Promise<void>;
16
+
17
+ /**
18
+ * Used to specify a nonce value that corresponds with an application's CSP.
19
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
20
+ * Alternatively, the nonce value can be set on a meta tag in the DOM head
21
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) which
22
+ * will result in the same behavior.
23
+ */
24
+ export declare function setNonce(nonce: string): void;
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
3
+ */
4
+ export * from '../dist/esm/loader.js';
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
3
+ */
4
+ (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
5
+ export * from '../dist/esm/loader.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertexvis/doc-viewer",
3
- "version": "1.0.0-testing.7",
3
+ "version": "1.0.0-testing.8",
4
4
  "description": "The Vertex SDK for viewing documents.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -48,6 +48,9 @@
48
48
  "./assets/pdf.worker.min.mjs": {
49
49
  "import": "./assets/pdf.worker.min.mjs",
50
50
  "default": "./assets/pdf.worker.min.mjs"
51
+ },
52
+ "./dist/doc-viewer/doc-viewer.css": {
53
+ "default": "./dist/doc-viewer/doc-viewer.css"
51
54
  }
52
55
  },
53
56
  "files": [
@@ -92,11 +95,11 @@
92
95
  "typescript": "~5.8.3"
93
96
  },
94
97
  "dependencies": {
95
- "@vertexvis/geometry": "1.0.0-testing.7",
96
- "@vertexvis/utils": "1.0.0-testing.7",
98
+ "@vertexvis/geometry": "1.0.0-testing.8",
99
+ "@vertexvis/utils": "1.0.0-testing.8",
97
100
  "classnames": "^2.5.1",
98
101
  "pdfjs-dist": "^5.5.207",
99
102
  "resize-observer": "^1.0.4"
100
103
  },
101
- "gitHead": "3aa17c6bd28c50a9c2a4e782355f24e39e11bc73"
104
+ "gitHead": "7e9ed2544c3275dbeeeadb576e87a536df2531a3"
102
105
  }