pdf.js/src/display
Jonas Jenwald d022912719 Remove most build-time require-calls from the src/display/-folder
By leveraging import maps we can get rid of *most* of the remaining `require`-calls in the `src/display/`-folder, since we should strive to use modern `import`-statements wherever possible.
The only remaining cases are Node.js-specific dependencies, since those seem very difficult to convert unless we start producing a bundle *specifically* for Node.js environments.
2023-07-17 19:47:13 +02:00
..
editor [Editor] Use 2 decimals for editor positions and dimensions 2023-07-17 15:08:09 +02:00
annotation_layer.js Remove most build-time require-calls from the src/display/-folder 2023-07-17 19:47:13 +02:00
annotation_storage.js [Editor] Support svg images in the stamp annotation 2023-07-07 15:59:13 +02:00
api.js Remove most build-time require-calls from the src/display/-folder 2023-07-17 19:47:13 +02:00
base_factory.js Improve highlightments and popups in HCM (bug 1830850) 2023-06-26 14:45:03 +02:00
canvas.js Move the isNodeJS-helper into the src/shared/util.js file 2023-07-17 16:42:25 +02:00
content_disposition.js Enable the unicorn/prefer-optional-catch-binding ESLint plugin rule 2023-06-12 11:46:11 +02:00
display_utils.js Improve highlightments and popups in HCM (bug 1830850) 2023-06-26 14:45:03 +02:00
fetch_stream.js Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00
font_loader.js Move the isNodeJS-helper into the src/shared/util.js file 2023-07-17 16:42:25 +02:00
metadata.js Convert Metadata to use private class fields 2021-10-22 22:01:19 +02:00
network_utils.js Enable the unicorn/prefer-optional-catch-binding ESLint plugin rule 2023-06-12 11:46:11 +02:00
network.js Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00
node_stream.js Remove most build-time require-calls from the src/display/-folder 2023-07-17 19:47:13 +02:00
node_utils.js Move the isNodeJS-helper into the src/shared/util.js file 2023-07-17 16:42:25 +02:00
optional_content_config.js [api-minor] Add basic support for the SetOCGState action (issue 15372) 2022-09-01 17:34:24 +02:00
pattern_helper.js Simplify initialization of static class properties in the worker-thread 2023-04-29 13:49:38 +02:00
stubs.js Remove most build-time require-calls from the src/display/-folder 2023-07-17 19:47:13 +02:00
svg.js Move the isNodeJS-helper into the src/shared/util.js file 2023-07-17 16:42:25 +02:00
text_layer.js Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00
transport_stream.js Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00
worker_options.js Simplify setting the GlobalWorkerOptions default values (PR 9480 follow-up) 2023-01-26 14:16:01 +01:00
xfa_layer.js Replace element ids with custom attributes in the xfaLayer 2022-07-10 15:44:54 +02:00
xfa_text.js XFA - Support text search in XFA documents. 2021-08-23 08:44:20 -07:00