@nutrient-sdk/viewer 1.10.0-nightly.20251214 → 1.10.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/ACKNOWLEDGEMENTS.md +0 -271
- package/README.md +127 -80
- package/dist/index.d.ts +3 -30
- package/dist/nutrient-viewer-lib/{chunk-848-15d4c21cf06f260a.js → chunk-848-9d64932ddb17aba2.js} +1 -1
- package/dist/nutrient-viewer-lib/chunk-core-worker-b3b94379353fe020.js +13 -0
- package/dist/nutrient-viewer-lib/chunk-gdpicture-6d923ea0a8d52700.js +13 -0
- package/dist/nutrient-viewer-lib/chunk-gdpicture-worker-65064067fe3d0789.js +13 -0
- package/dist/nutrient-viewer-lib/{chunk-lazy-sha-defae8dcc8e2c854.js → chunk-lazy-sha-cbe1d56afe394810.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ar-57066245d72712bb.js → chunk-locale-ar-36f0f9c8aee08b0f.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-cs-8e60406d62f3bfa5.js → chunk-locale-cs-17458c2796d35601.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-cy-13b7a5d06cecf0dc.js → chunk-locale-cy-762cc519d150f875.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-da-25896b3624f0eefc.js → chunk-locale-da-3469ab511105b8cb.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-de-d3065b6f91c4b150.js → chunk-locale-de-f406524e552c59b8.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-el-4040f8f82f419220.js → chunk-locale-el-a924f737497fe671.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-en-GB-89eb2ef7a3f804b4.js → chunk-locale-en-GB-fb26d9d4174bf5c9.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-es-59d9386180e05db7.js → chunk-locale-es-fe09b3ad660c2f65.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fi-d5db36df32939bb7.js → chunk-locale-fi-ed91ae70012f7018.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-5071fc63380a196e.js → chunk-locale-fr-79ec4592218321ea.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-CA-6deff6f0f97011fd.js → chunk-locale-fr-CA-2d287069df20ba30.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-he-fd99b1bcea0d7c5c.js → chunk-locale-he-89148dc8ec29f7ec.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-hr-95d83675e9e76f8a.js → chunk-locale-hr-7a860f77b8ff942b.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-id-044fdc0bd8ea3e6b.js → chunk-locale-id-51adb79974f48e5c.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-it-f276c1d533f35fa2.js → chunk-locale-it-a269c95152d0a7f0.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ja-0a545dba08ce8383.js → chunk-locale-ja-668b298244eae0e5.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ko-34f33b6a4085d9d9.js → chunk-locale-ko-c4216710254ef561.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ms-be9d802c1302b2f6.js → chunk-locale-ms-69ec6f0448d8c89a.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-nb-NO-de4691651ba54d1d.js → chunk-locale-nb-NO-0fe1f5cae331f0a3.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-nl-e22df23639cf61c2.js → chunk-locale-nl-777118c35d25a07d.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pl-a42dc60828c11afd.js → chunk-locale-pl-21fb56b97628371a.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-24c78c5cad15079c.js → chunk-locale-pt-8fa13e7a11bd8163.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-PT-bb6fa94107a9750f.js → chunk-locale-pt-PT-e33dcdfc2fbfd972.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ru-c2b8503a6dfeba6a.js → chunk-locale-ru-d41b632b298dc526.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sk-796fc59fb5e47de9.js → chunk-locale-sk-2475c1a99867e651.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sl-788bddee32b28342.js → chunk-locale-sl-00eb6ed55c2c9f86.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sv-eb277a3be1d8e518.js → chunk-locale-sv-fca95e7ca8076fb1.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-th-581b4cd99c1e53c8.js → chunk-locale-th-af8fe7ded2d5c4c0.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-tr-c579114f010f92d2.js → chunk-locale-tr-247e59c25ad724e1.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-uk-2b6f88636f3f28c0.js → chunk-locale-uk-34cdb1f8e1be0891.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hans-0e65c5085cec1c3b.js → chunk-locale-zh-Hans-8ba6d1ac3facceaf.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hant-54369264733e0f20.js → chunk-locale-zh-Hant-99f2a7e338904262.js} +1 -1
- package/dist/nutrient-viewer-lib/chunk-offscreen-renderer-worker-a25666ff3b463f21.js +13 -0
- package/dist/nutrient-viewer-lib/chunk-server-4956f1d805e844be.js +13 -0
- package/dist/nutrient-viewer-lib/{chunk-server-instant-4b8ac69e80b39c08.js → chunk-server-instant-44f8b181db73c432.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-server-rest-fb16768b53a3bbe3.js → chunk-server-rest-8dd3a03c401a8881.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-standalone-425e7ff9eaf5f50c.js → chunk-standalone-d8ab92626c14ae44.js} +2 -2
- package/dist/nutrient-viewer-lib/chunk-standalone-server-737808befb88d73f.js +13 -0
- package/dist/nutrient-viewer-lib/core-worker.js +2 -2
- package/dist/nutrient-viewer-lib/dark-402cc98d3d69bff8.css +1 -1
- package/dist/nutrient-viewer-lib/gdpicture-worker.js +2 -2
- package/dist/nutrient-viewer-lib/{nutrient-viewer-1.10.0-d432cd1.css → nutrient-viewer-1.10.0.css} +1 -1
- package/dist/nutrient-viewer-lib/{nutrient-viewer-4fbec46a255d43a8.wasm → nutrient-viewer-7b18585f06a65a99.wasm} +0 -0
- package/dist/nutrient-viewer-lib/nutrient-viewer-9303291e7f6b26aa.wasm.js +1 -1
- package/dist/nutrient-viewer-lib/offscreen-render-worker.js +1 -1
- package/dist/nutrient-viewer.js +2 -2
- package/package.json +1 -1
- package/dist/nutrient-viewer-lib/chunk-core-worker-cc8817061b306c87.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-gdpicture-04623f21390d7aa9.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-gdpicture-worker-93adf6cf33ca61fb.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-offscreen-renderer-worker-dcf7077066031ca4.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-server-5d1350ab38337413.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-standalone-server-164c6a1cf33114c9.js +0 -13
package/ACKNOWLEDGEMENTS.md
CHANGED
|
@@ -2323,23 +2323,6 @@ THE SOFTWARE.
|
|
|
2323
2323
|
|
|
2324
2324
|
-----
|
|
2325
2325
|
|
|
2326
|
-
The following software may be included in this product: buffer-equal-constant-time. A copy of the source code may be downloaded from git@github.com:goinstant/buffer-equal-constant-time.git. This software contains the following license and notice below:
|
|
2327
|
-
|
|
2328
|
-
Copyright (c) 2013, GoInstant Inc., a salesforce.com company
|
|
2329
|
-
All rights reserved.
|
|
2330
|
-
|
|
2331
|
-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
2332
|
-
|
|
2333
|
-
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
2334
|
-
|
|
2335
|
-
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
2336
|
-
|
|
2337
|
-
* Neither the name of salesforce.com, nor GoInstant, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
2338
|
-
|
|
2339
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2340
|
-
|
|
2341
|
-
-----
|
|
2342
|
-
|
|
2343
2326
|
The following software may be included in this product: call-bind-apply-helpers, es-define-property, es-errors, es-object-atoms. A copy of the source code may be downloaded from git+https://github.com/ljharb/call-bind-apply-helpers.git (call-bind-apply-helpers), git+https://github.com/ljharb/es-define-property.git (es-define-property), git+https://github.com/ljharb/es-errors.git (es-errors), git+https://github.com/ljharb/es-object-atoms.git (es-object-atoms). This software contains the following license and notice below:
|
|
2344
2327
|
|
|
2345
2328
|
MIT License
|
|
@@ -3671,212 +3654,6 @@ SOFTWARE.
|
|
|
3671
3654
|
|
|
3672
3655
|
-----
|
|
3673
3656
|
|
|
3674
|
-
The following software may be included in this product: ecdsa-sig-formatter. A copy of the source code may be downloaded from git+ssh://git@github.com/Brightspace/node-ecdsa-sig-formatter.git. This software contains the following license and notice below:
|
|
3675
|
-
|
|
3676
|
-
Apache License
|
|
3677
|
-
Version 2.0, January 2004
|
|
3678
|
-
http://www.apache.org/licenses/
|
|
3679
|
-
|
|
3680
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
3681
|
-
|
|
3682
|
-
1. Definitions.
|
|
3683
|
-
|
|
3684
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
3685
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
3686
|
-
|
|
3687
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
3688
|
-
the copyright owner that is granting the License.
|
|
3689
|
-
|
|
3690
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
3691
|
-
other entities that control, are controlled by, or are under common
|
|
3692
|
-
control with that entity. For the purposes of this definition,
|
|
3693
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
3694
|
-
direction or management of such entity, whether by contract or
|
|
3695
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
3696
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
3697
|
-
|
|
3698
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
3699
|
-
exercising permissions granted by this License.
|
|
3700
|
-
|
|
3701
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
3702
|
-
including but not limited to software source code, documentation
|
|
3703
|
-
source, and configuration files.
|
|
3704
|
-
|
|
3705
|
-
"Object" form shall mean any form resulting from mechanical
|
|
3706
|
-
transformation or translation of a Source form, including but
|
|
3707
|
-
not limited to compiled object code, generated documentation,
|
|
3708
|
-
and conversions to other media types.
|
|
3709
|
-
|
|
3710
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
3711
|
-
Object form, made available under the License, as indicated by a
|
|
3712
|
-
copyright notice that is included in or attached to the work
|
|
3713
|
-
(an example is provided in the Appendix below).
|
|
3714
|
-
|
|
3715
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
3716
|
-
form, that is based on (or derived from) the Work and for which the
|
|
3717
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
3718
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
3719
|
-
of this License, Derivative Works shall not include works that remain
|
|
3720
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
3721
|
-
the Work and Derivative Works thereof.
|
|
3722
|
-
|
|
3723
|
-
"Contribution" shall mean any work of authorship, including
|
|
3724
|
-
the original version of the Work and any modifications or additions
|
|
3725
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
3726
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
3727
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
3728
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
3729
|
-
means any form of electronic, verbal, or written communication sent
|
|
3730
|
-
to the Licensor or its representatives, including but not limited to
|
|
3731
|
-
communication on electronic mailing lists, source code control systems,
|
|
3732
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
3733
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
3734
|
-
excluding communication that is conspicuously marked or otherwise
|
|
3735
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
3736
|
-
|
|
3737
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
3738
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
3739
|
-
subsequently incorporated within the Work.
|
|
3740
|
-
|
|
3741
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
3742
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
3743
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
3744
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
3745
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
3746
|
-
Work and such Derivative Works in Source or Object form.
|
|
3747
|
-
|
|
3748
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
3749
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
3750
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
3751
|
-
(except as stated in this section) patent license to make, have made,
|
|
3752
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
3753
|
-
where such license applies only to those patent claims licensable
|
|
3754
|
-
by such Contributor that are necessarily infringed by their
|
|
3755
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
3756
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
3757
|
-
institute patent litigation against any entity (including a
|
|
3758
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
3759
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
3760
|
-
or contributory patent infringement, then any patent licenses
|
|
3761
|
-
granted to You under this License for that Work shall terminate
|
|
3762
|
-
as of the date such litigation is filed.
|
|
3763
|
-
|
|
3764
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
3765
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
3766
|
-
modifications, and in Source or Object form, provided that You
|
|
3767
|
-
meet the following conditions:
|
|
3768
|
-
|
|
3769
|
-
(a) You must give any other recipients of the Work or
|
|
3770
|
-
Derivative Works a copy of this License; and
|
|
3771
|
-
|
|
3772
|
-
(b) You must cause any modified files to carry prominent notices
|
|
3773
|
-
stating that You changed the files; and
|
|
3774
|
-
|
|
3775
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
3776
|
-
that You distribute, all copyright, patent, trademark, and
|
|
3777
|
-
attribution notices from the Source form of the Work,
|
|
3778
|
-
excluding those notices that do not pertain to any part of
|
|
3779
|
-
the Derivative Works; and
|
|
3780
|
-
|
|
3781
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
3782
|
-
distribution, then any Derivative Works that You distribute must
|
|
3783
|
-
include a readable copy of the attribution notices contained
|
|
3784
|
-
within such NOTICE file, excluding those notices that do not
|
|
3785
|
-
pertain to any part of the Derivative Works, in at least one
|
|
3786
|
-
of the following places: within a NOTICE text file distributed
|
|
3787
|
-
as part of the Derivative Works; within the Source form or
|
|
3788
|
-
documentation, if provided along with the Derivative Works; or,
|
|
3789
|
-
within a display generated by the Derivative Works, if and
|
|
3790
|
-
wherever such third-party notices normally appear. The contents
|
|
3791
|
-
of the NOTICE file are for informational purposes only and
|
|
3792
|
-
do not modify the License. You may add Your own attribution
|
|
3793
|
-
notices within Derivative Works that You distribute, alongside
|
|
3794
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
3795
|
-
that such additional attribution notices cannot be construed
|
|
3796
|
-
as modifying the License.
|
|
3797
|
-
|
|
3798
|
-
You may add Your own copyright statement to Your modifications and
|
|
3799
|
-
may provide additional or different license terms and conditions
|
|
3800
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
3801
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
3802
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
3803
|
-
the conditions stated in this License.
|
|
3804
|
-
|
|
3805
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
3806
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
3807
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
3808
|
-
this License, without any additional terms or conditions.
|
|
3809
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
3810
|
-
the terms of any separate license agreement you may have executed
|
|
3811
|
-
with Licensor regarding such Contributions.
|
|
3812
|
-
|
|
3813
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
3814
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
3815
|
-
except as required for reasonable and customary use in describing the
|
|
3816
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
3817
|
-
|
|
3818
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
3819
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
3820
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
3821
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
3822
|
-
implied, including, without limitation, any warranties or conditions
|
|
3823
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
3824
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
3825
|
-
appropriateness of using or redistributing the Work and assume any
|
|
3826
|
-
risks associated with Your exercise of permissions under this License.
|
|
3827
|
-
|
|
3828
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
3829
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
3830
|
-
unless required by applicable law (such as deliberate and grossly
|
|
3831
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
3832
|
-
liable to You for damages, including any direct, indirect, special,
|
|
3833
|
-
incidental, or consequential damages of any character arising as a
|
|
3834
|
-
result of this License or out of the use or inability to use the
|
|
3835
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
3836
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
3837
|
-
other commercial damages or losses), even if such Contributor
|
|
3838
|
-
has been advised of the possibility of such damages.
|
|
3839
|
-
|
|
3840
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
3841
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
3842
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
3843
|
-
or other liability obligations and/or rights consistent with this
|
|
3844
|
-
License. However, in accepting such obligations, You may act only
|
|
3845
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
3846
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
3847
|
-
defend, and hold each Contributor harmless for any liability
|
|
3848
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
3849
|
-
of your accepting any such warranty or additional liability.
|
|
3850
|
-
|
|
3851
|
-
END OF TERMS AND CONDITIONS
|
|
3852
|
-
|
|
3853
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
3854
|
-
|
|
3855
|
-
To apply the Apache License to your work, attach the following
|
|
3856
|
-
boilerplate notice, with the fields enclosed by brackets "{}"
|
|
3857
|
-
replaced with your own identifying information. (Don't include
|
|
3858
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
3859
|
-
comment syntax for the file format. We also recommend that a
|
|
3860
|
-
file or class name and description of purpose be included on the
|
|
3861
|
-
same "printed page" as the copyright notice for easier
|
|
3862
|
-
identification within third-party archives.
|
|
3863
|
-
|
|
3864
|
-
Copyright 2015 D2L Corporation
|
|
3865
|
-
|
|
3866
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
3867
|
-
you may not use this file except in compliance with the License.
|
|
3868
|
-
You may obtain a copy of the License at
|
|
3869
|
-
|
|
3870
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
3871
|
-
|
|
3872
|
-
Unless required by applicable law or agreed to in writing, software
|
|
3873
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
3874
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3875
|
-
See the License for the specific language governing permissions and
|
|
3876
|
-
limitations under the License.
|
|
3877
|
-
|
|
3878
|
-
-----
|
|
3879
|
-
|
|
3880
3657
|
The following software may be included in this product: engine.io-client. A copy of the source code may be downloaded from git+https://github.com/socketio/socket.io.git. This software contains the following license and notice below:
|
|
3881
3658
|
|
|
3882
3659
|
(The MIT License)
|
|
@@ -5114,28 +4891,6 @@ THE SOFTWARE.
|
|
|
5114
4891
|
|
|
5115
4892
|
-----
|
|
5116
4893
|
|
|
5117
|
-
The following software may be included in this product: jwa, jws. A copy of the source code may be downloaded from git://github.com/brianloveswords/node-jwa.git (jwa), git://github.com/brianloveswords/node-jws.git (jws). This software contains the following license and notice below:
|
|
5118
|
-
|
|
5119
|
-
Copyright (c) 2013 Brian J. Brennan
|
|
5120
|
-
|
|
5121
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5122
|
-
of this software and associated documentation files (the "Software"), to deal in
|
|
5123
|
-
the Software without restriction, including without limitation the rights to use,
|
|
5124
|
-
copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
|
|
5125
|
-
Software, and to permit persons to whom the Software is furnished to do so,
|
|
5126
|
-
subject to the following conditions:
|
|
5127
|
-
|
|
5128
|
-
The above copyright notice and this permission notice shall be included in all
|
|
5129
|
-
copies or substantial portions of the Software.
|
|
5130
|
-
|
|
5131
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
|
5132
|
-
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
|
5133
|
-
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
|
|
5134
|
-
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
5135
|
-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
5136
|
-
|
|
5137
|
-
-----
|
|
5138
|
-
|
|
5139
4894
|
The following software may be included in this product: kdbush. A copy of the source code may be downloaded from git://github.com/mourner/kdbush.git. This software contains the following license and notice below:
|
|
5140
4895
|
|
|
5141
4896
|
ISC License
|
|
@@ -7510,32 +7265,6 @@ Repository: https://github.com/yargs/yargs-parser.git
|
|
|
7510
7265
|
|
|
7511
7266
|
-----
|
|
7512
7267
|
|
|
7513
|
-
The following software may be included in this product: safe-buffer. A copy of the source code may be downloaded from git://github.com/feross/safe-buffer.git. This software contains the following license and notice below:
|
|
7514
|
-
|
|
7515
|
-
The MIT License (MIT)
|
|
7516
|
-
|
|
7517
|
-
Copyright (c) Feross Aboukhadijeh
|
|
7518
|
-
|
|
7519
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7520
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7521
|
-
in the Software without restriction, including without limitation the rights
|
|
7522
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7523
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
7524
|
-
furnished to do so, subject to the following conditions:
|
|
7525
|
-
|
|
7526
|
-
The above copyright notice and this permission notice shall be included in
|
|
7527
|
-
all copies or substantial portions of the Software.
|
|
7528
|
-
|
|
7529
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
7530
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
7531
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
7532
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
7533
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
7534
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
7535
|
-
THE SOFTWARE.
|
|
7536
|
-
|
|
7537
|
-
-----
|
|
7538
|
-
|
|
7539
7268
|
The following software may be included in this product: shebang-command. A copy of the source code may be downloaded from https://github.com/kevva/shebang-command.git. This software contains the following license and notice below:
|
|
7540
7269
|
|
|
7541
7270
|
MIT License
|
package/README.md
CHANGED
|
@@ -1,116 +1,163 @@
|
|
|
1
|
-
|
|
1
|
+
**PDF SDK for document viewing and editing in the browser**
|
|
2
2
|
|
|
3
|
-
Nutrient Web SDK (
|
|
3
|
+
Nutrient Web SDK (previously PSPDFKit for Web) is a secure [JavaScript PDF library][] for viewing, annotating, and editing PDFs, Office documents, TIFFs, JPGs, and PNGs directly in the browser. It offers developers a way to quickly add document and image functionality to any web application. There are many [awesome][awesome nutrient] [examples][], and it comes supported by the amazing team at [Nutrient][company about]. Our PDF SDK is fully compatible with [React][], [Angular][], [Vue][], [Svelte][], [Next.js][], [Nuxt][], [Vite][], [Electron][], and any other [JavaScript][] or [TypeScript][] framework.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Nutrient Web SDK can also be integrated into your [Salesforce][] instance, as well as Microsoft [Sharepoint][], [Teams][], and [OneDrive][].
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- **Customizable** — Robust API for configuring behavior and appearance
|
|
8
|
+
- **Client-side** — Workload is offloaded to client (no server needed)
|
|
9
|
+
- **Secure** — Battle-tested, reliable PDFium-based PDF rendering engine
|
|
10
|
+
- **Office document support** — View and convert Office documents without third-party dependencies
|
|
8
11
|
|
|
9
|
-
|
|
10
|
-
* **Enhanced security** — Built on a battle-tested, reliable PDFium-based rendering engine.
|
|
11
|
-
* **Highly customizable** — A powerful, robust API allows for precise configuration of both behavior and visual appearance.
|
|
12
|
-
* **Office document support** — View and convert Office documents without external dependencies.
|
|
13
|
-
* **Framework agnostic** — Fully compatible with all major JavaScript/TypeScript frameworks, including React, Angular, Vue, Svelte, Next.js, Nuxt, Vite, and Electron.
|
|
12
|
+
<img src="https://www.nutrient.io/images/intercom/pspdfkit-npm.png" alt="Image showcasing the popular features of Nutrient Web SDK" width="100%" />
|
|
14
13
|
|
|
15
|
-
|
|
14
|
+
## Getting started
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
| --- | --- |
|
|
19
|
-
| **PDF** | PDF, PDF/A (1, 2, 3, 4) |
|
|
20
|
-
| **Office documents** | DOCX, DOC, DOTX, DOCM, XLSX, XLS, XLSM, PPTX, PPT, PPTM |
|
|
21
|
-
| **Images** | PNG, JPEG, JPG, TIFF, TIF |
|
|
22
|
-
| **Text/data** | TXT, XFDF, Instant JSON |
|
|
16
|
+
The guide below explains how to integrate our Web PDF SDK into a Vanilla JavaScript project. For other scenarios, refer to the [step-by-step guides][guides gs].
|
|
23
17
|
|
|
24
|
-
|
|
18
|
+
1. Go to your project's root folder and run the following command in the terminal. It installs the Nutrient npm package and adds it as a project dependency:
|
|
25
19
|
|
|
26
|
-
|
|
20
|
+
```npm
|
|
21
|
+
npm install --save @nutrient-sdk/viewer
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
2. Run the following command to copy the Nutrient Web SDK distribution to the `assets` directory in your project’s root folder:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
cp -R ./node_modules/@nutrient-sdk/viewer/dist/ ./assets/
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
3. Rename the PDF document you want to display in your application to `document.pdf`, and then add the PDF document to your project’s root directory. You can use [this demo document][demo document] as an example.
|
|
31
|
+
|
|
32
|
+
4. Add an empty `<div>` element with a defined width and height to where Nutrient Web SDK will be mounted:
|
|
27
33
|
|
|
28
|
-
|
|
34
|
+
```html
|
|
35
|
+
<div id="nutrient" style="width: 100%; height: 100vh;"></div>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
5. Add the following code to the main JavaScript file of your application. This imports and instantiates Nutrient Web SDK:
|
|
39
|
+
|
|
40
|
+
```js
|
|
41
|
+
import "./assets/nutrient-viewer.js";
|
|
42
|
+
|
|
43
|
+
const baseUrl = `${window.location.protocol}//${window.location.host}/assets/`;
|
|
44
|
+
|
|
45
|
+
NutrientViewer.load({
|
|
46
|
+
baseUrl,
|
|
47
|
+
container: "#nutrient",
|
|
48
|
+
document: "document.pdf"
|
|
49
|
+
});
|
|
50
|
+
```
|
|
29
51
|
|
|
30
52
|
## Web demos
|
|
31
53
|
|
|
32
|
-
|
|
54
|
+
- [Document viewing][]
|
|
55
|
+
- [Customizable UI][]
|
|
56
|
+
- [Adding annotations][]
|
|
57
|
+
- [Filling PDF forms][]
|
|
58
|
+
- [Creating PDF forms][]
|
|
59
|
+
- [Signatures][]
|
|
60
|
+
- [Document editing][]
|
|
61
|
+
- [Document generation][]
|
|
62
|
+
- [Generate PDFs from DOCX templates][]
|
|
63
|
+
- [Real-time collaboration][]
|
|
64
|
+
- And [more][]
|
|
33
65
|
|
|
34
|
-
|
|
35
|
-
* [Customizable UI][]
|
|
36
|
-
* [Adding annotations][]
|
|
37
|
-
* [Filling PDF forms][]
|
|
38
|
-
* [Creating PDF forms][]
|
|
39
|
-
* [Signatures][signature demo]
|
|
40
|
-
* [Document editing][]
|
|
41
|
-
* [Document generation][]
|
|
42
|
-
* [Generate PDFs from DOCX templates][]
|
|
43
|
-
* [Real-time collaboration][]
|
|
44
|
-
* And [more][]
|
|
66
|
+
## File type support
|
|
45
67
|
|
|
46
|
-
|
|
68
|
+
Nutrient Web SDK enables client-side viewing and conversion of PDF, Word, Excel, PowerPoint, TIFF, JPG, and PNG files directly on any browser — no server dependencies or MS Office licenses are required.
|
|
69
|
+
|
|
70
|
+
- PDF, PDF/A (1, 2, 3, 4)
|
|
71
|
+
- DOCX, DOC, DOTX, DOCM, XLSX, XLS, XLSM, PPTX, PPT, PPTM
|
|
72
|
+
- PNG, JPEG, JPG, TIFF, TIF
|
|
47
73
|
|
|
48
|
-
|
|
74
|
+
## Browser support
|
|
49
75
|
|
|
50
|
-
|
|
76
|
+
Our PDF SDK supports the latest versions of all commonly used browsers: Chrome, Mozilla Firefox, Safari, Edge, and Firefox ESR.
|
|
51
77
|
|
|
52
|
-
|
|
78
|
+
## Integrations
|
|
53
79
|
|
|
54
|
-
|
|
80
|
+
Nutrient Web SDK is compatible with Salesforce, SharePoint, Microsoft Teams, and Microsoft OneDrive.
|
|
55
81
|
|
|
56
|
-
|
|
82
|
+
## Documentation
|
|
57
83
|
|
|
58
|
-
|
|
59
|
-
| --- | --- |
|
|
60
|
-
| **Viewing** | [PDF viewer][], [Search][] |
|
|
61
|
-
| **Editing and markup** | [Annotation][], [Editor][], [Redaction][] |
|
|
62
|
-
| **Forms and signatures** | [Forms][], [Signatures][] |
|
|
63
|
-
| **Document processing** | [Conversion][], [Office conversion][], [Extraction][], [PDF generation][] |
|
|
64
|
-
| **Security** | [Document security][] |
|
|
84
|
+
Nutrient offers comprehensive [guides][guides docs] and [code samples][] to help you quickly integrate and customize your application. It comes with [full technical support][support] that includes direct access to the engineers who built the product. Whether you have questions getting started with our PDF SDK, or you want to know how to best integrate new features into your app, we’re here to help you find a solution.
|
|
65
85
|
|
|
66
|
-
|
|
86
|
+
Most popular guides:
|
|
67
87
|
|
|
68
|
-
[
|
|
88
|
+
- [PDF viewer][]
|
|
89
|
+
- [Office conversion][]
|
|
90
|
+
- [Annotation][]
|
|
91
|
+
- [Forms][]
|
|
92
|
+
- [Signatures][]
|
|
93
|
+
- [Editor][]
|
|
94
|
+
- [PDF generation][]
|
|
95
|
+
- [Conversion][]
|
|
96
|
+
- [Extraction][]
|
|
97
|
+
- [Redaction][]
|
|
98
|
+
- [Document security][]
|
|
99
|
+
- [Search][]
|
|
69
100
|
|
|
70
|
-
##
|
|
101
|
+
## API
|
|
71
102
|
|
|
72
|
-
|
|
103
|
+
[Read the full API reference][api reference].
|
|
73
104
|
|
|
74
|
-
##
|
|
105
|
+
## Changelog
|
|
75
106
|
|
|
76
|
-
For
|
|
107
|
+
For a detailed list of the changes included in each version, refer to the [changelog][].
|
|
77
108
|
|
|
78
|
-
## License and
|
|
109
|
+
## License and support
|
|
79
110
|
|
|
80
|
-
Nutrient
|
|
111
|
+
Nutrient is a commercial product that offers a [free trial license][trial] to evaluate and integrate it into your product. Visit our [pricing page][pricing] to learn more about licensing our solution.
|
|
81
112
|
|
|
82
|
-
Copyright © 2010
|
|
113
|
+
Copyright © 2010-2025 PSPDFKit GmbH.
|
|
83
114
|
|
|
84
|
-
[
|
|
85
|
-
[nutrient]: https://
|
|
86
|
-
[
|
|
87
|
-
[
|
|
115
|
+
[javascript pdf library]: https://www.nutrient.io/guides/web/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
116
|
+
[awesome nutrient]: https://github.com/PSPDFKit/awesome-nutrient?tab=readme-ov-file#web
|
|
117
|
+
[examples]: https://www.nutrient.io/guides/web/samples/
|
|
118
|
+
[company about]: https://www.nutrient.io//company/about/
|
|
119
|
+
[react]: https://www.nutrient.io//getting-started/web/?frontend=react&project=new-project
|
|
120
|
+
[angular]: https://www.nutrient.io//getting-started/web/?frontend=angular&project=new-project
|
|
121
|
+
[vue]: https://www.nutrient.io//getting-started/web/?frontend=vuejs&project=new-project
|
|
122
|
+
[svelte]: https://www.nutrient.io//getting-started/web/?frontend=svelte&project=new-project
|
|
123
|
+
[next.js]: https://www.nutrient.io//getting-started/web/?frontend=nextjs&download=npm&integration=global-variable&project=new-project
|
|
124
|
+
[nuxt]: https://www.nutrient.io/getting-started/web/?frontend=nuxtjs&download=npm&integration=global-variable&project=new-project
|
|
125
|
+
[vite]: https://www.nutrient.io/getting-started/web/?frontend=vite&download=npm&integration=global-variable&project=new-project
|
|
126
|
+
[electron]: https://www.nutrient.io/getting-started/web/?frontend=electron&download=npm&integration=global-variable&project=new-project
|
|
127
|
+
[javascript]: https://www.nutrient.io/getting-started/web/?frontend=vanillajs&download=npm&integration=global-variable
|
|
128
|
+
[typescript]: https://www.nutrient.io/getting-started/web/?frontend=typescript&download=npm&integration=global-variable&project=new-project
|
|
129
|
+
[salesforce]: https://www.nutrient.io/getting-started/web-integrations/?product=salesforce&project=new-project
|
|
130
|
+
[sharepoint]: https://www.nutrient.io/getting-started/web-integrations/?product=sharepoint&deployment=on-premises&project=new-project
|
|
131
|
+
[teams]: https://www.nutrient.io/getting-started/web-integrations/?product=teams
|
|
132
|
+
[onedrive]: https://www.nutrient.io/getting-started/web-integrations/?product=onedrive
|
|
133
|
+
[guides gs]: https://www.nutrient.io/getting-started/web/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
134
|
+
[demo document]: https://www.nutrient.io/downloads/pspdfkit-web-demo.pdf
|
|
135
|
+
[document viewing]: https://www.nutrient.io/demo/viewer?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
88
136
|
[customizable ui]: https://www.nutrient.io/demo/ui
|
|
89
|
-
[adding annotations]: https://www.nutrient.io/demo/annotations
|
|
137
|
+
[adding annotations]: https://www.nutrient.io/demo/annotations?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
90
138
|
[filling pdf forms]: https://www.nutrient.io/demo/forms?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
91
139
|
[creating pdf forms]: https://www.nutrient.io/demo/pdf-form-creator
|
|
92
|
-
[
|
|
140
|
+
[signatures]: https://www.nutrient.io/demo/signatures?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
93
141
|
[document editing]: https://www.nutrient.io/demo/editor?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
94
142
|
[document generation]: https://www.nutrient.io/demo/document-generation
|
|
95
143
|
[generate pdfs from docx templates]: https://www.nutrient.io/demo/generation-from-office-template
|
|
96
|
-
[real-time collaboration]: https://www.nutrient.io/demo/instant-collaboration
|
|
97
|
-
[more]: https://www.nutrient.io/demo
|
|
98
|
-
[guides]: https://www.nutrient.io/guides/web
|
|
99
|
-
[code samples]: https://www.nutrient.io/guides/web/samples
|
|
100
|
-
[
|
|
101
|
-
[
|
|
102
|
-
[
|
|
103
|
-
[
|
|
104
|
-
[
|
|
105
|
-
[
|
|
106
|
-
[
|
|
107
|
-
[conversion]: https://www.nutrient.io/guides/web/conversion
|
|
108
|
-
[
|
|
109
|
-
[
|
|
110
|
-
[
|
|
111
|
-
[
|
|
112
|
-
[
|
|
113
|
-
[changelog]: https://www.nutrient.io/
|
|
114
|
-
[
|
|
115
|
-
[
|
|
116
|
-
[pricing page]: https://www.nutrient.io/sdk/pricing/
|
|
144
|
+
[real-time collaboration]: https://www.nutrient.io/demo/instant-collaboration?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
145
|
+
[more]: https://www.nutrient.io/demo/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
146
|
+
[guides docs]: https://www.nutrient.io/guides/web/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
147
|
+
[code samples]: https://www.nutrient.io/guides/web/samples/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
148
|
+
[support]: http://www.nutrient.io/support/request/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
149
|
+
[pdf viewer]: https://www.nutrient.io/guides/web/viewer/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
150
|
+
[office conversion]: https://www.nutrient.io/guides/web/conversion/office-to-pdf/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
151
|
+
[annotation]: https://www.nutrient.io/guides/web/annotations/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
152
|
+
[forms]: https://www.nutrient.io/guides/web/forms/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
153
|
+
[editor]: https://www.nutrient.io/guides/web/editor/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
154
|
+
[pdf generation]: https://www.nutrient.io/guides/web/pdf-generation/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
155
|
+
[conversion]: https://www.nutrient.io/guides/web/conversion/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
156
|
+
[extraction]: https://www.nutrient.io/guides/web/extraction/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
157
|
+
[redaction]: https://www.nutrient.io/guides/web/redaction/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
158
|
+
[document security]: https://www.nutrient.io/guides/web/document-security/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
159
|
+
[search]: https://www.nutrient.io/guides/web/search/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
160
|
+
[api reference]: https://www.nutrient.io/api/web/NutrientViewer.html
|
|
161
|
+
[changelog]: https://www.nutrient.io/changelog/web/?utm_source=npm&utm_medium=referral&utm_campaign=readme
|
|
162
|
+
[trial]: https://www.nutrient.io/try/
|
|
163
|
+
[pricing]: https://www.nutrient.io/sdk/pricing
|
package/dist/index.d.ts
CHANGED
|
@@ -7563,12 +7563,7 @@ declare type DocumentValidationStatusType = keyof typeof DocumentValidationStatu
|
|
|
7563
7563
|
/** @inline */
|
|
7564
7564
|
declare type DoNotSpellCheckPropertyPair = XOR<Record<'doNotSpellCheck', boolean>, Record<'doNotSpellcheck', boolean>>;
|
|
7565
7565
|
|
|
7566
|
-
declare type
|
|
7567
|
-
invokeMethodAsync(methodName: 'GetStream'): Promise<Blob>;
|
|
7568
|
-
invokeMethodAsync(methodName: 'Dispose'): Promise<void>;
|
|
7569
|
-
};
|
|
7570
|
-
|
|
7571
|
-
declare type DotNetObject = {
|
|
7566
|
+
declare type dotNetObject = {
|
|
7572
7567
|
invokeMethodAsync(methodName: string, ...args: any): Promise<any>;
|
|
7573
7568
|
};
|
|
7574
7569
|
|
|
@@ -10666,7 +10661,6 @@ export declare namespace FormFields {
|
|
|
10666
10661
|
RadioButtonFormField,
|
|
10667
10662
|
TextFormField,
|
|
10668
10663
|
SignatureFormField,
|
|
10669
|
-
UnknownFormField,
|
|
10670
10664
|
serializeFormField as toSerializableObject,
|
|
10671
10665
|
deserializeFormField as fromSerializableObject };
|
|
10672
10666
|
|
|
@@ -11794,11 +11788,10 @@ declare class ImageAnnotationSerializer extends AnnotationSerializer {
|
|
|
11794
11788
|
}
|
|
11795
11789
|
|
|
11796
11790
|
declare interface IMauiBridge {
|
|
11797
|
-
initialize(webEventDispatcher:
|
|
11791
|
+
initialize(webEventDispatcher: dotNetObject): void;
|
|
11798
11792
|
addAdvanceAccessScript(path: string): Promise<void>;
|
|
11799
11793
|
loadDocumentFromPath(path: string, viewerConfigurationJson: string): Promise<void>;
|
|
11800
11794
|
loadDocumentFromBase64String(fileContentAsBase64String: string, viewerConfigurationJson: string): Promise<void>;
|
|
11801
|
-
loadDocumentFromStream(streamReference: DotNetDisposableStreamReference, viewerConfigurationJson: string): Promise<void>;
|
|
11802
11795
|
loadDocumentFromBuffer(documentBuffer: Uint8Array, viewerConfigurationJson: string): Promise<void>;
|
|
11803
11796
|
setMainToolbarItems(toolbarItems: string): void;
|
|
11804
11797
|
setAnnotationToolbarItems(annotationType: string, toolbarItems: string): void;
|
|
@@ -20865,13 +20858,7 @@ export declare namespace Serializers {
|
|
|
20865
20858
|
/**
|
|
20866
20859
|
* @group FormField
|
|
20867
20860
|
*/
|
|
20868
|
-
export
|
|
20869
|
-
type: 'pspdfkit/form-field/unknown';
|
|
20870
|
-
}
|
|
20871
|
-
/**
|
|
20872
|
-
* @group FormField
|
|
20873
|
-
*/
|
|
20874
|
-
export type FormFieldJSON = ListBoxFormFieldJSON | ComboBoxFormFieldJSON | RadioButtonFormFieldJSON | CheckBoxFormFieldJSON | TextFormFieldJSON | ButtonFormFieldJSON | SignatureFormFieldJSON | UnknownFormFieldJSON;
|
|
20861
|
+
export type FormFieldJSON = ListBoxFormFieldJSON | ComboBoxFormFieldJSON | RadioButtonFormFieldJSON | CheckBoxFormFieldJSON | TextFormFieldJSON | ButtonFormFieldJSON | SignatureFormFieldJSON;
|
|
20875
20862
|
/**
|
|
20876
20863
|
* @group FormFieldValue
|
|
20877
20864
|
*/
|
|
@@ -26854,20 +26841,6 @@ declare class UnknownAnnotationSerializer extends AnnotationSerializer {
|
|
|
26854
26841
|
static fromJSON(id: ID | null, json: Omit<Serializers.UnknownAnnotationJSON, 'id' | 'group' | 'permissions'>, options?: ICollaboratorPermissionsOptions): UnknownAnnotation;
|
|
26855
26842
|
}
|
|
26856
26843
|
|
|
26857
|
-
/**
|
|
26858
|
-
* @class
|
|
26859
|
-
*
|
|
26860
|
-
* An unknown form field type.
|
|
26861
|
-
*
|
|
26862
|
-
* To retrieve a list of all form fields, use {@link NutrientViewer.Instance#getFormFields}.
|
|
26863
|
-
* @public
|
|
26864
|
-
* @summary An unknown form field type.
|
|
26865
|
-
*/
|
|
26866
|
-
declare class UnknownFormField extends FormField {
|
|
26867
|
-
additionalActions: FormFieldAdditionalActionsType | null | undefined;
|
|
26868
|
-
static defaultValues: IObject;
|
|
26869
|
-
}
|
|
26870
|
-
|
|
26871
26844
|
/**
|
|
26872
26845
|
* Unloads an existing NutrientViewer instance.
|
|
26873
26846
|
*
|