@namahapdf/react 0.1.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/LICENSE +16 -0
- package/README.md +25 -0
- package/dist/chunk-R5KFRMXF.js +2 -0
- package/dist/fontkit.es-6MF4HMXW.js +48 -0
- package/dist/index.cjs +90 -0
- package/dist/index.d.cts +95 -0
- package/dist/index.d.ts +95 -0
- package/dist/index.js +43 -0
- package/dist/pdf.image_decoders.min-ABCYWBEM.js +3 -0
- package/dist/styles.css +1 -0
- package/package.json +40 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
NamahaPDF SDK License (Proprietary)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 NamahaPDF. All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software (the "SDK") is licensed, not sold. Use of the SDK in any application
|
|
6
|
+
requires a valid commercial license key issued by NamahaPDF. Without a valid key the
|
|
7
|
+
SDK operates in a restricted, watermarked evaluation mode and may not be used in
|
|
8
|
+
production.
|
|
9
|
+
|
|
10
|
+
You may NOT, except to the extent permitted by your commercial license agreement:
|
|
11
|
+
remove, disable, or circumvent the license enforcement or watermarking; redistribute,
|
|
12
|
+
sublicense, or resell the SDK; or use the SDK beyond the scope (domains, seats,
|
|
13
|
+
features, term) granted by your license.
|
|
14
|
+
|
|
15
|
+
THE SDK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. To obtain a license, see
|
|
16
|
+
https://namahapdf.com/sdk.
|
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# @namahapdf/react
|
|
2
|
+
|
|
3
|
+
A complete in-browser PDF editor as a React component — view, edit, annotate, sign,
|
|
4
|
+
redact, and fill forms, fully on-device. Part of the **NamahaPDF SDK**.
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
npm i @namahapdf/react
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
```tsx
|
|
11
|
+
import { NamahaEditor } from '@namahapdf/react';
|
|
12
|
+
import '@namahapdf/react/styles.css';
|
|
13
|
+
|
|
14
|
+
export default function App() {
|
|
15
|
+
return <NamahaEditor licenseKey="YOUR_KEY" />;
|
|
16
|
+
}
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
- Pass your `licenseKey` to remove the evaluation watermark and unlock licensed features.
|
|
20
|
+
Get one at **namahapdf.com/sdk**.
|
|
21
|
+
- Styles are scoped under `.namahapdf-root` and ship without a CSS reset, so they won't
|
|
22
|
+
affect the rest of your page.
|
|
23
|
+
- Works in the Next.js App Router (the component is marked `"use client"`).
|
|
24
|
+
|
|
25
|
+
For the headless engine without the UI, see **@namahapdf/core**.
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var i=Object.create;var f=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var g=a=>{throw TypeError(a)};var n=(a,b,c)=>b in a?f(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c;var p=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var o=(a,b,c,d)=>{if(b&&typeof b=="object"||typeof b=="function")for(let e of k(b))!m.call(a,e)&&e!==c&&f(a,e,{get:()=>b[e],enumerable:!(d=j(b,e))||d.enumerable});return a};var q=(a,b,c)=>(c=a!=null?i(l(a)):{},o(b||!a||!a.__esModule?f(c,"default",{value:a,enumerable:!0}):c,a));var r=(a,b,c)=>n(a,typeof b!="symbol"?b+"":b,c),h=(a,b,c)=>b.has(a)||g("Cannot "+c);var s=(a,b,c)=>(h(a,b,"read from private field"),c?c.call(a):b.get(a)),t=(a,b,c)=>b.has(a)?g("Cannot add the same private member more than once"):b instanceof WeakSet?b.add(a):b.set(a,c),u=(a,b,c,d)=>(h(a,b,"write to private field"),d?d.call(a,c):b.set(a,c),c);export{p as a,q as b,r as c,s as d,t as e,u as f};
|