{"_id":"@bistri/pdfme-ui","_rev":"11-0c1f9acfd86c5c1f0e547658f84d290c","time":{"created":"2023-04-25T15:12:06.026Z","1.1.5":"2023-04-25T12:42:57.611Z","modified":"2023-07-21T12:50:13.826Z","1.1.9":"2023-04-25T15:12:06.310Z","1.1.10":"2023-04-26T07:54:00.301Z","1.1.11":"2023-04-27T09:03:58.075Z","1.1.12":"2023-05-05T13:41:57.979Z","1.1.13":"2023-05-05T13:46:02.274Z","1.1.14":"2023-05-05T13:55:36.163Z","1.1.15":"2023-07-06T12:58:59.722Z","1.1.16":"2023-07-07T09:06:52.266Z","1.1.17":"2023-07-21T12:50:13.634Z"},"name":"@bistri/pdfme-ui","dist-tags":{"latest":"1.1.17"},"versions":{"1.1.9":{"name":"@bistri/pdfme-ui","version":"1.1.9","sideEffects":false,"author":{"name":"hand-dot"},"license":"MIT","keywords":["pdf","pdf-generation","pdf-designer","pdf-viewer","typescript","react"],"description":"TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!","homepage":"https://pdfme.com","repository":{"type":"git","url":"git+ssh://git@github.com/pdfme/pdfme.git"},"bugs":{"url":"https://github.com/pdfme/pdfme/issues"},"main":"dist/index.js","module":"dist/index.js","types":"dist/types/index.d.ts","engines":{"node":">=14"},"scripts":{"develop":"webpack --watch --mode development","build":"NODE_ENV=production webpack --mode production","clean":"rimraf dist","lint":"tsc --noEmit","test":"jest","lint:watch":"tsc -w --noEmit","test:watch":"jest --coverage --watch","prune":"ts-prune src"},"dependencies":{"@dnd-kit/core":"^5.0.1","@dnd-kit/sortable":"^6.0.0","@heroicons/react":"^2.0.13","@pdfme/common":"^1.0.0","@scena/react-guides":"^0.16.0","hotkeys-js":"^3.8.7","pdfjs-dist":"^2.12.313","react":"^17.0.2","react-dom":"^17.0.2","react-moveable":"^0.30.3","react-selecto":"^1.12.0"},"devDependencies":{"@testing-library/jest-dom":"^5.16.1","@testing-library/react":"^12.1.2","@types/pdfjs-dist":"^2.7.4","@types/react":"^17.0.52","@types/react-dom":"^17.0.18","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","jest-canvas-mock":"^2.3.1","process":"^0.11.10","webpack":"^5.75.0","webpack-cli":"^5.0.1","worker-loader":"^3.0.8"},"jest":{"setupFiles":["jest-canvas-mock"],"moduleNameMapper":{"\\.(png)$":"<rootDir>/../../assetsTransformer.js"},"resolver":"ts-jest-resolver","moduleFileExtensions":["js","ts","tsx"],"transform":{"^.+\\.ts$":"ts-jest","^.+\\.tsx$":"ts-jest"},"globals":{"ts-jest":{"tsconfig":"tsconfig.json"}},"testMatch":["**/*.test.ts","**/*.test.tsx"]},"publishConfig":{"access":"public"},"gitHead":"928df4e59448da2e3807ce5b39f8133aae49f52d","_id":"@bistri/pdfme-ui@1.1.9","_nodeVersion":"14.15.4","_npmVersion":"8.6.0","dist":{"integrity":"sha512-OldhqXmuWNL7e2rm87kBAv0qWRhGUkkzGFF8DInMNWnEDLJ2FLq9Ku9/i96CJkIPAh/wA7MYvXg5q2sicc7vgQ==","shasum":"d540e71e0363280739af034fce602c9223720a6f","tarball":"https://registry.npmjs.org/@bistri/pdfme-ui/-/pdfme-ui-1.1.9.tgz","fileCount":94,"unpackedSize":10011478,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1yiuG865kNyCzO3qHoeVuSOBQUbBXBgpykVzAcW3CYAIhAONfB5aZqKvaCCy58IOa4WbcoxwVYfx5I5uR69TgbiVt"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkR+3GACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2NQ/8DCkzfD9PLcv/RIaBYIsOYWuxZnstzZKjsmuAJK32jvnmUQ22\r\nwTyiUCtpdpe24Y3XOWpuQ4WDvV5ZEmQekX1h3/LjHf9lhBTI6Y56uH86gPzs\r\nivZKn+uYmlZ8C+U9aemlZUkdwgo73gXmaSZmaVf1XXmb6cK9yc9KhxCTwug/\r\nPY9UtXA51/yE1VZWY5ht/gpPZNYLAdSEXpKzQaMMHz9AIoCtm2r7MhpusjQb\r\njEiR5qMeWxmJeD0Zz0HwDDF5kz2KY4C/EdRjYBvxX0g7LUJcEacN+LEEpII8\r\nAJxI9sho+Raen015mMiBxzIGpFnSJa0SAqXi+iQ9y4nIjdNAKxOAG9pk5qFu\r\nlLGL7VFjMFThkfW+ZBPbXNUlq+I4edVgq4Z2ZncLr6jv1A/nS/8X70ipRCjF\r\nahc4Oy/rUutzzHX34unQ5sfZfeEGMcclWDx3e8pw9G3597TkWaWjQ1n1h1OY\r\nXvADHqROPx18QX5gYIht2GgnpaaWfQE4TkFUAl1EEpvtI2ViyeIYrHOdmXRC\r\nUGJWzDd008DyQ4JQNoIulCgkOSSEAe4S1yLoWNzI/SnU+HiUG6C1txXyV17i\r\n1KhA13r2x1GaQZyouBNgDKZtgYl+wmtDbIQnPtiSCbi0H9wWS9wLsJlWtLLx\r\nmFfOvjo8F26mU7o1Q1Jjk+89a1+mM7pMVyE=\r\n=EGPB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bistri","email":"npm@bistri.com"},"directories":{},"maintainers":[{"name":"bistri","email":"npm@bistri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdfme-ui_1.1.9_1682435526089_0.5182617320432055"},"_hasShrinkwrap":false},"1.1.10":{"name":"@bistri/pdfme-ui","version":"1.1.10","sideEffects":false,"author":{"name":"hand-dot"},"license":"MIT","keywords":["pdf","pdf-generation","pdf-designer","pdf-viewer","typescript","react"],"description":"TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!","homepage":"https://pdfme.com","repository":{"type":"git","url":"git+ssh://git@github.com/pdfme/pdfme.git"},"bugs":{"url":"https://github.com/pdfme/pdfme/issues"},"main":"dist/index.js","module":"dist/index.js","types":"dist/types/index.d.ts","engines":{"node":">=14"},"scripts":{"develop":"webpack --watch --mode development","build":"NODE_ENV=production webpack --mode production","clean":"rimraf dist","lint":"tsc --noEmit","test":"jest","lint:watch":"tsc -w --noEmit","test:watch":"jest --coverage --watch","prune":"ts-prune src"},"dependencies":{"@dnd-kit/core":"^5.0.1","@dnd-kit/sortable":"^6.0.0","@heroicons/react":"^2.0.13","@pdfme/common":"^1.0.0","@scena/react-guides":"^0.16.0","hotkeys-js":"^3.8.7","pdfjs-dist":"^2.12.313","react":"^17.0.2","react-dom":"^17.0.2","react-moveable":"^0.30.3","react-selecto":"^1.12.0"},"devDependencies":{"@testing-library/jest-dom":"^5.16.1","@testing-library/react":"^12.1.2","@types/pdfjs-dist":"^2.7.4","@types/react":"^17.0.52","@types/react-dom":"^17.0.18","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","jest-canvas-mock":"^2.3.1","process":"^0.11.10","webpack":"^5.75.0","webpack-cli":"^5.0.1","worker-loader":"^3.0.8"},"jest":{"setupFiles":["jest-canvas-mock"],"moduleNameMapper":{"\\.(png)$":"<rootDir>/../../assetsTransformer.js"},"resolver":"ts-jest-resolver","moduleFileExtensions":["js","ts","tsx"],"transform":{"^.+\\.ts$":"ts-jest","^.+\\.tsx$":"ts-jest"},"globals":{"ts-jest":{"tsconfig":"tsconfig.json"}},"testMatch":["**/*.test.ts","**/*.test.tsx"]},"publishConfig":{"access":"public"},"gitHead":"928df4e59448da2e3807ce5b39f8133aae49f52d","_id":"@bistri/pdfme-ui@1.1.10","_nodeVersion":"14.15.4","_npmVersion":"8.6.0","dist":{"integrity":"sha512-KiDhRQ1z3k/DlU53qP68MAhE+nLyB1KnxCgkWE3PNmoWWiWbBLPvhqJ1Dz322CTH/orgwPwPzsTobail7oeNgw==","shasum":"d6d1d5965c90095796e62e4522d2431cb447ef49","tarball":"https://registry.npmjs.org/@bistri/pdfme-ui/-/pdfme-ui-1.1.10.tgz","fileCount":94,"unpackedSize":10015425,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq6kcjwaxtu65ca1dEbB75lGr8q7ztr3lH2ZKhr/ESGgIhANu9cOYmWcn961V94dsF4yTrWUzurs++NhMA5YXJiBGS"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSNiYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDUhAAgNboOrLQfpVicvDI/r7D2pNb2J/tkQ2Wgb23+vA3XJkJj/ju\r\nC/4iWjOFuFWhXKHULgGZDg9Lg+9fWkEbi2REON4g0OqrAbkoTVZVgiAsRvZ3\r\nb0olyl009rcJSpSfrZESpneH7C+vMATUndDi3MysbxXL7yaxjGxyMMnxI8dM\r\nftEj3JPWUiAawhAFXaqVVKxcwttvauFd/uXuM2b3GiZ1CVMMPG78dNsFMlHV\r\ndi8Y/LymxpFCY6saaiPi/A/cfKZ77GsXG/Ma5uFGFNXE74Q4hzZFtKJ4CZFw\r\neIKEpSQ1RIPLd96Er2/fql7GiBhD9hGwH4oWo+I6bMEIGF7T0XYEvXYVGMO9\r\n3hRDs0qHs0hJFdQTtX7xE99cBOFP2lqvCjieJty49M1N76ZfFV/Vrlz6cxFc\r\nI1H3kPCo8iCI0lBqDmBrRbKS0gTwJegDz/RZkrEheRKXNISUpXgywQkZytdm\r\nuMtIDjT4JytbMLyK+FGZy+O8VIfrFEqjCC90fPVjQMexOdC0SLQcG09dx8uY\r\nDnnizyQcYhJMjvFn5oKsvpeNI+kfx7yLMprzntZEbVOY//kzuVQHdery+1yp\r\n9/uCNtmad4DDRxSMcE5o3IctpHXbHMcR4gqCX9vAP9k3oj++0jc4Sm/7tpfS\r\nrroJNT+mlLMgYqPLJqgjpm3kT/z8f0d0y70=\r\n=p9g2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bistri","email":"npm@bistri.com"},"directories":{},"maintainers":[{"name":"bistri","email":"npm@bistri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdfme-ui_1.1.10_1682495640044_0.2517361785148753"},"_hasShrinkwrap":false},"1.1.11":{"name":"@bistri/pdfme-ui","version":"1.1.11","sideEffects":false,"author":{"name":"hand-dot"},"license":"MIT","keywords":["pdf","pdf-generation","pdf-designer","pdf-viewer","typescript","react"],"description":"TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!","homepage":"https://pdfme.com","repository":{"type":"git","url":"git+ssh://git@github.com/pdfme/pdfme.git"},"bugs":{"url":"https://github.com/pdfme/pdfme/issues"},"main":"dist/index.js","module":"dist/index.js","types":"dist/types/index.d.ts","engines":{"node":">=14"},"scripts":{"develop":"webpack --watch --mode development","build":"NODE_ENV=production webpack --mode production","clean":"rimraf dist","lint":"tsc --noEmit","test":"jest","lint:watch":"tsc -w --noEmit","test:watch":"jest --coverage --watch","prune":"ts-prune src"},"dependencies":{"@dnd-kit/core":"^5.0.1","@dnd-kit/sortable":"^6.0.0","@heroicons/react":"^2.0.13","@pdfme/common":"^1.0.0","@scena/react-guides":"^0.16.0","hotkeys-js":"^3.8.7","pdfjs-dist":"^2.12.313","react":"^17.0.2","react-dom":"^17.0.2","react-moveable":"^0.30.3","react-selecto":"^1.12.0"},"devDependencies":{"@testing-library/jest-dom":"^5.16.1","@testing-library/react":"^12.1.2","@types/pdfjs-dist":"^2.7.4","@types/react":"^17.0.52","@types/react-dom":"^17.0.18","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","jest-canvas-mock":"^2.3.1","process":"^0.11.10","webpack":"^5.75.0","webpack-cli":"^5.0.1","worker-loader":"^3.0.8"},"jest":{"setupFiles":["jest-canvas-mock"],"moduleNameMapper":{"\\.(png)$":"<rootDir>/../../assetsTransformer.js"},"resolver":"ts-jest-resolver","moduleFileExtensions":["js","ts","tsx"],"transform":{"^.+\\.ts$":"ts-jest","^.+\\.tsx$":"ts-jest"},"globals":{"ts-jest":{"tsconfig":"tsconfig.json"}},"testMatch":["**/*.test.ts","**/*.test.tsx"]},"publishConfig":{"access":"public"},"gitHead":"928df4e59448da2e3807ce5b39f8133aae49f52d","_id":"@bistri/pdfme-ui@1.1.11","_nodeVersion":"14.15.4","_npmVersion":"8.6.0","dist":{"integrity":"sha512-OgyW0H4kzHGzn2ed9BJ4OUbL2i4HFPu4wc58IQqXBDyphnhCU1jFSpB5moEGLeYJ8Mh85wup2Yf/bWQwLbhYig==","shasum":"3d3b14f9cd6537f4ec9302a6698784d9f4a0f979","tarball":"https://registry.npmjs.org/@bistri/pdfme-ui/-/pdfme-ui-1.1.11.tgz","fileCount":94,"unpackedSize":10015505,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9TXznmqhcEqxHmo9TL6WccvavGHvDEUk4vQu1GVsBGAIgE2dUlSIrSS7Ogs6X3yPPbTMr2ZzdpK32QULX6ujaEDo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSjp+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSbw/9EDbXk+xx5GNu4Z0jvo3Z03aE/Ra/3WyXjjf1GRvHWiUaLLlp\r\nxRtqNrOxl5B2gY1URX4MQnBd2DdcHsVH6os036k1rqjnlHFk+b2qtFrdp8Mf\r\nZ7sLoCIKxjcF96RptvadCsrZ7Kg8elS0qHhznOosslWKazVOmBpZ+WOCzEP8\r\nTR+jhsjgytygMecpSSL95GaYSWwtbIotY6sNcQ7jJbTui5lJF1Ta6YG90BX6\r\npELK7S+gtRpM/FxxdNitJlbQ6Ta7zD7YLH9JhQyIjybSVFuVwv6+kGLRIInm\r\nhaiyKO53Dx6OoIDGs8tvtvDnDAZgha5XWjEyqImZAlUgzjMmx5Sgiz2Z7VNl\r\n+P8v9uruT578xcNK5nLMtQTwUrgFaQaYRwrQay99oW74+djPAlwcunL30FrX\r\nu5L2dLbhAmvYQhthqB2fGYxM3C49zHt0n0FJq2HcmUAbL05p9GZqkTx6bllV\r\n1ETkelddRGKaoZ+Sypg5DpSxWNhODSSCBbrzt3WEEYOtVaITXvk0w4C+wuTI\r\nKO2BbpKC/EfNQveDruFrdpsDtXM5Hqr0PJXmVRclawk7OCIaG/k8w86Oe1LL\r\n5aClg8QUbDXRbWq/DySt0a6UD1ct6xR/sLTwucI5QROA3COQGfnZubMIGCnt\r\njR0i5UTV0UTl0L1cyWWAhw3Uq74aXR4olL4=\r\n=cMPn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bistri","email":"npm@bistri.com"},"directories":{},"maintainers":[{"name":"bistri","email":"npm@bistri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdfme-ui_1.1.11_1682586237788_0.7447380429457753"},"_hasShrinkwrap":false},"1.1.12":{"name":"@bistri/pdfme-ui","version":"1.1.12","sideEffects":false,"author":{"name":"hand-dot"},"license":"MIT","keywords":["pdf","pdf-generation","pdf-designer","pdf-viewer","typescript","react"],"description":"TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!","homepage":"https://pdfme.com","repository":{"type":"git","url":"git+ssh://git@github.com/pdfme/pdfme.git"},"bugs":{"url":"https://github.com/pdfme/pdfme/issues"},"main":"dist/index.js","module":"dist/index.js","types":"dist/types/index.d.ts","engines":{"node":">=14"},"scripts":{"develop":"webpack --watch --mode development","build":"NODE_ENV=production webpack --mode production","clean":"rimraf dist","lint":"tsc --noEmit","test":"jest","lint:watch":"tsc -w --noEmit","test:watch":"jest --coverage --watch","prune":"ts-prune src"},"dependencies":{"@dnd-kit/core":"^5.0.1","@dnd-kit/sortable":"^6.0.0","@heroicons/react":"^2.0.13","@pdfme/common":"^1.0.0","@scena/react-guides":"^0.16.0","hotkeys-js":"^3.8.7","pdfjs-dist":"^2.12.313","react":"^17.0.2","react-dom":"^17.0.2","react-moveable":"^0.30.3","react-selecto":"^1.12.0"},"devDependencies":{"@testing-library/jest-dom":"^5.16.1","@testing-library/react":"^12.1.2","@types/pdfjs-dist":"^2.7.4","@types/react":"^17.0.52","@types/react-dom":"^17.0.18","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","jest-canvas-mock":"^2.3.1","process":"^0.11.10","webpack":"^5.75.0","webpack-cli":"^5.0.1","worker-loader":"^3.0.8"},"jest":{"setupFiles":["jest-canvas-mock"],"moduleNameMapper":{"\\.(png)$":"<rootDir>/../../assetsTransformer.js"},"resolver":"ts-jest-resolver","moduleFileExtensions":["js","ts","tsx"],"transform":{"^.+\\.ts$":"ts-jest","^.+\\.tsx$":"ts-jest"},"globals":{"ts-jest":{"tsconfig":"tsconfig.json"}},"testMatch":["**/*.test.ts","**/*.test.tsx"]},"publishConfig":{"access":"public"},"gitHead":"928df4e59448da2e3807ce5b39f8133aae49f52d","_id":"@bistri/pdfme-ui@1.1.12","_nodeVersion":"14.15.4","_npmVersion":"8.6.0","dist":{"integrity":"sha512-JEGh1jvAegGfU9wrKCieSlBNdPVdLvV24f6aXHtO5WHrJO9dTOMsb7pcMqxLbO/fdxu9K/mYWLgOwREzHGaS2w==","shasum":"a9b5b5f8f268915f161c873ec6a24146edc2bad8","tarball":"https://registry.npmjs.org/@bistri/pdfme-ui/-/pdfme-ui-1.1.12.tgz","fileCount":94,"unpackedSize":10015714,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBs6EyrQfymfoHluEZY25xu2OoZxF7DMSb8yX70JZzdAAiAv/Ym85x9Mwr+BrGBviD/f0yPBusSVrF8NUyAPKmKRYQ=="}]},"_npmUser":{"name":"bistri","email":"npm@bistri.com"},"directories":{},"maintainers":[{"name":"bistri","email":"npm@bistri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdfme-ui_1.1.12_1683294117737_0.029072867772818034"},"_hasShrinkwrap":false},"1.1.13":{"name":"@bistri/pdfme-ui","version":"1.1.13","sideEffects":false,"author":{"name":"hand-dot"},"license":"MIT","keywords":["pdf","pdf-generation","pdf-designer","pdf-viewer","typescript","react"],"description":"TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!","homepage":"https://pdfme.com","repository":{"type":"git","url":"git+ssh://git@github.com/pdfme/pdfme.git"},"bugs":{"url":"https://github.com/pdfme/pdfme/issues"},"main":"dist/index.js","module":"dist/index.js","types":"dist/types/index.d.ts","engines":{"node":">=14"},"scripts":{"develop":"webpack --watch --mode development","build":"NODE_ENV=production webpack --mode production","clean":"rimraf dist","lint":"tsc --noEmit","test":"jest","lint:watch":"tsc -w --noEmit","test:watch":"jest --coverage --watch","prune":"ts-prune src"},"dependencies":{"@dnd-kit/core":"^5.0.1","@dnd-kit/sortable":"^6.0.0","@heroicons/react":"^2.0.13","@pdfme/common":"^1.0.0","@scena/react-guides":"^0.16.0","hotkeys-js":"^3.8.7","pdfjs-dist":"^2.12.313","react":"^17.0.2","react-dom":"^17.0.2","react-moveable":"^0.30.3","react-selecto":"^1.12.0"},"devDependencies":{"@testing-library/jest-dom":"^5.16.1","@testing-library/react":"^12.1.2","@types/pdfjs-dist":"^2.7.4","@types/react":"^17.0.52","@types/react-dom":"^17.0.18","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","jest-canvas-mock":"^2.3.1","process":"^0.11.10","webpack":"^5.75.0","webpack-cli":"^5.0.1","worker-loader":"^3.0.8"},"jest":{"setupFiles":["jest-canvas-mock"],"moduleNameMapper":{"\\.(png)$":"<rootDir>/../../assetsTransformer.js"},"resolver":"ts-jest-resolver","moduleFileExtensions":["js","ts","tsx"],"transform":{"^.+\\.ts$":"ts-jest","^.+\\.tsx$":"ts-jest"},"globals":{"ts-jest":{"tsconfig":"tsconfig.json"}},"testMatch":["**/*.test.ts","**/*.test.tsx"]},"publishConfig":{"access":"public"},"gitHead":"928df4e59448da2e3807ce5b39f8133aae49f52d","_id":"@bistri/pdfme-ui@1.1.13","_nodeVersion":"14.15.4","_npmVersion":"8.6.0","dist":{"integrity":"sha512-rvmLo5/Pb75TwlzdGGkPpPyAn7qm/7pkcZ/M0b4UAZP/CqivzMHNJ/q1l96OgKYi4ka2CTvm9BtX3x66AUyZvQ==","shasum":"be325614fe87fa65aeaa0bb0fcf954e00eaf7425","tarball":"https://registry.npmjs.org/@bistri/pdfme-ui/-/pdfme-ui-1.1.13.tgz","fileCount":94,"unpackedSize":10016632,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGA9yqa2MEwsZkMPNs9MKSilHCXAoZKGldMx7VoE0w/jAiA603ED9CTEKWWeXmVxloc4Ny39l22w+SLQS7DqUgXqFg=="}]},"_npmUser":{"name":"bistri","email":"npm@bistri.com"},"directories":{},"maintainers":[{"name":"bistri","email":"npm@bistri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdfme-ui_1.1.13_1683294361898_0.8091384769969421"},"_hasShrinkwrap":false},"1.1.14":{"name":"@bistri/pdfme-ui","version":"1.1.14","sideEffects":false,"author":{"name":"hand-dot"},"license":"MIT","keywords":["pdf","pdf-generation","pdf-designer","pdf-viewer","typescript","react"],"description":"TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!","homepage":"https://pdfme.com","repository":{"type":"git","url":"git+ssh://git@github.com/pdfme/pdfme.git"},"bugs":{"url":"https://github.com/pdfme/pdfme/issues"},"main":"dist/index.js","module":"dist/index.js","types":"dist/types/index.d.ts","engines":{"node":">=14"},"scripts":{"develop":"webpack --watch --mode development","build":"NODE_ENV=production webpack --mode production","clean":"rimraf dist","lint":"tsc --noEmit","test":"jest","lint:watch":"tsc -w --noEmit","test:watch":"jest --coverage --watch","prune":"ts-prune src"},"dependencies":{"@dnd-kit/core":"^5.0.1","@dnd-kit/sortable":"^6.0.0","@heroicons/react":"^2.0.13","@pdfme/common":"^1.0.0","@scena/react-guides":"^0.16.0","hotkeys-js":"^3.8.7","pdfjs-dist":"^2.12.313","react":"^17.0.2","react-dom":"^17.0.2","react-moveable":"^0.30.3","react-selecto":"^1.12.0"},"devDependencies":{"@testing-library/jest-dom":"^5.16.1","@testing-library/react":"^12.1.2","@types/pdfjs-dist":"^2.7.4","@types/react":"^17.0.52","@types/react-dom":"^17.0.18","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","jest-canvas-mock":"^2.3.1","process":"^0.11.10","webpack":"^5.75.0","webpack-cli":"^5.0.1","worker-loader":"^3.0.8"},"jest":{"setupFiles":["jest-canvas-mock"],"moduleNameMapper":{"\\.(png)$":"<rootDir>/../../assetsTransformer.js"},"resolver":"ts-jest-resolver","moduleFileExtensions":["js","ts","tsx"],"transform":{"^.+\\.ts$":"ts-jest","^.+\\.tsx$":"ts-jest"},"globals":{"ts-jest":{"tsconfig":"tsconfig.json"}},"testMatch":["**/*.test.ts","**/*.test.tsx"]},"publishConfig":{"access":"public"},"gitHead":"928df4e59448da2e3807ce5b39f8133aae49f52d","_id":"@bistri/pdfme-ui@1.1.14","_nodeVersion":"14.15.4","_npmVersion":"8.6.0","dist":{"integrity":"sha512-1e+tu7FozgukiHJanbJnx3ifm4vxILJCk/4kYz/oU1HX2sIYN60ZBIh/+wkblLDkjLa4JePCsGIZbVTrsxLATg==","shasum":"6706db0b88884544a37cfb27671d841fc44f37ea","tarball":"https://registry.npmjs.org/@bistri/pdfme-ui/-/pdfme-ui-1.1.14.tgz","fileCount":94,"unpackedSize":10016469,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCzF/Kw3m4eGxhEmv8P/B+f1iCn5sc+ivzIMveGzNDwgIhAJCtyVAo3NwvQFZ4D3HI3JWQzj01GgagUKyXiiN7a3xe"}]},"_npmUser":{"name":"bistri","email":"npm@bistri.com"},"directories":{},"maintainers":[{"name":"bistri","email":"npm@bistri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdfme-ui_1.1.14_1683294935952_0.4689187293594166"},"_hasShrinkwrap":false},"1.1.15":{"name":"@bistri/pdfme-ui","version":"1.1.15","sideEffects":false,"author":{"name":"hand-dot"},"license":"MIT","keywords":["pdf","pdf-generation","pdf-designer","pdf-viewer","typescript","react"],"description":"TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!","homepage":"https://pdfme.com","repository":{"type":"git","url":"git+ssh://git@github.com/pdfme/pdfme.git"},"bugs":{"url":"https://github.com/pdfme/pdfme/issues"},"main":"dist/index.js","module":"dist/index.js","types":"dist/types/index.d.ts","engines":{"node":">=14"},"scripts":{"develop":"webpack --watch --mode development","build":"NODE_ENV=production webpack --mode production","clean":"rimraf dist","lint":"tsc --noEmit","test":"jest","lint:watch":"tsc -w --noEmit","test:watch":"jest --coverage --watch","prune":"ts-prune src"},"dependencies":{"@dnd-kit/core":"^5.0.1","@dnd-kit/sortable":"^6.0.0","@heroicons/react":"^2.0.13","@pdfme/common":"^1.0.0","@scena/react-guides":"^0.16.0","hotkeys-js":"^3.8.7","pdfjs-dist":"^2.12.313","react":"^17.0.2","react-dom":"^17.0.2","react-moveable":"^0.30.3","react-selecto":"^1.12.0"},"devDependencies":{"@testing-library/jest-dom":"^5.16.1","@testing-library/react":"^12.1.2","@types/pdfjs-dist":"^2.7.4","@types/react":"^17.0.52","@types/react-dom":"^17.0.18","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","jest-canvas-mock":"^2.3.1","process":"^0.11.10","webpack":"^5.75.0","webpack-cli":"^5.0.1","worker-loader":"^3.0.8"},"jest":{"setupFiles":["jest-canvas-mock"],"moduleNameMapper":{"\\.(png)$":"<rootDir>/../../assetsTransformer.js"},"resolver":"ts-jest-resolver","moduleFileExtensions":["js","ts","tsx"],"transform":{"^.+\\.ts$":"ts-jest","^.+\\.tsx$":"ts-jest"},"globals":{"ts-jest":{"tsconfig":"tsconfig.json"}},"testMatch":["**/*.test.ts","**/*.test.tsx"]},"publishConfig":{"access":"public"},"gitHead":"928df4e59448da2e3807ce5b39f8133aae49f52d","_id":"@bistri/pdfme-ui@1.1.15","_nodeVersion":"14.15.4","_npmVersion":"8.6.0","dist":{"integrity":"sha512-JhXzgwhqAsHs3Qtf5DhaUYZT5F4N1V5LP/LrzZ0rEogRjjc2ikcuKlFU9VzxPJB1gQ8Q5d988NGxxYqkMsjG9g==","shasum":"75862b95407da712b4e9b599948d47dc876d19f8","tarball":"https://registry.npmjs.org/@bistri/pdfme-ui/-/pdfme-ui-1.1.15.tgz","fileCount":94,"unpackedSize":10016480,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDW7ul/8ghsYiCjUs7CvaTUyp3m/d0c0uyoLxKsrZfwEAIgXbL6aiuthP7ANQBRpivDoO4vnT6rf8xTnir8XaGZaAY="}]},"_npmUser":{"name":"bistri","email":"npm@bistri.com"},"directories":{},"maintainers":[{"name":"bistri","email":"npm@bistri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdfme-ui_1.1.15_1688648339510_0.8444111667122929"},"_hasShrinkwrap":false},"1.1.16":{"name":"@bistri/pdfme-ui","version":"1.1.16","sideEffects":false,"author":{"name":"hand-dot"},"license":"MIT","keywords":["pdf","pdf-generation","pdf-designer","pdf-viewer","typescript","react"],"description":"TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!","homepage":"https://pdfme.com","repository":{"type":"git","url":"git+ssh://git@github.com/pdfme/pdfme.git"},"bugs":{"url":"https://github.com/pdfme/pdfme/issues"},"main":"dist/index.js","module":"dist/index.js","types":"dist/types/index.d.ts","engines":{"node":">=14"},"scripts":{"develop":"webpack --watch --mode development","build":"NODE_ENV=production webpack --mode production","clean":"rimraf dist","lint":"tsc --noEmit","test":"jest","lint:watch":"tsc -w --noEmit","test:watch":"jest --coverage --watch","prune":"ts-prune src"},"dependencies":{"@dnd-kit/core":"^5.0.1","@dnd-kit/sortable":"^6.0.0","@heroicons/react":"^2.0.13","@pdfme/common":"^1.0.0","@scena/react-guides":"^0.16.0","hotkeys-js":"^3.8.7","pdfjs-dist":"^2.12.313","react":"^17.0.2","react-dom":"^17.0.2","react-moveable":"^0.30.3","react-selecto":"^1.12.0"},"devDependencies":{"@testing-library/jest-dom":"^5.16.1","@testing-library/react":"^12.1.2","@types/pdfjs-dist":"^2.7.4","@types/react":"^17.0.52","@types/react-dom":"^17.0.18","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","jest-canvas-mock":"^2.3.1","process":"^0.11.10","webpack":"^5.75.0","webpack-cli":"^5.0.1","worker-loader":"^3.0.8"},"jest":{"setupFiles":["jest-canvas-mock"],"moduleNameMapper":{"\\.(png)$":"<rootDir>/../../assetsTransformer.js"},"resolver":"ts-jest-resolver","moduleFileExtensions":["js","ts","tsx"],"transform":{"^.+\\.ts$":"ts-jest","^.+\\.tsx$":"ts-jest"},"globals":{"ts-jest":{"tsconfig":"tsconfig.json"}},"testMatch":["**/*.test.ts","**/*.test.tsx"]},"publishConfig":{"access":"public"},"gitHead":"928df4e59448da2e3807ce5b39f8133aae49f52d","_id":"@bistri/pdfme-ui@1.1.16","_nodeVersion":"14.15.4","_npmVersion":"8.6.0","dist":{"integrity":"sha512-V5dHDxPrifuSEitmKj0MFFUxyYbNYjGFF1coijG/I5oyJl4ngGI8J67NIEGx/7kGooxfR+PNyHyRDZRUos5ZyQ==","shasum":"a59cff2a107300b1c892b2e308ec143d90000a2f","tarball":"https://registry.npmjs.org/@bistri/pdfme-ui/-/pdfme-ui-1.1.16.tgz","fileCount":94,"unpackedSize":10016646,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDV7cvnmr7Rvlo4htn6u8utHbdaVnuehFLalVmue9ghugIgDngSti7M6zXhi4Kw6Y8dnSAhxu6yPQX3iAuL29y9ppU="}]},"_npmUser":{"name":"bistri","email":"npm@bistri.com"},"directories":{},"maintainers":[{"name":"bistri","email":"npm@bistri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdfme-ui_1.1.16_1688720811967_0.012218191365561015"},"_hasShrinkwrap":false},"1.1.17":{"name":"@bistri/pdfme-ui","version":"1.1.17","sideEffects":false,"author":{"name":"hand-dot"},"license":"MIT","keywords":["pdf","pdf-generation","pdf-designer","pdf-viewer","typescript","react"],"description":"TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!","homepage":"https://pdfme.com","repository":{"type":"git","url":"git+ssh://git@github.com/pdfme/pdfme.git"},"bugs":{"url":"https://github.com/pdfme/pdfme/issues"},"main":"dist/index.js","module":"dist/index.js","types":"dist/types/index.d.ts","engines":{"node":">=14"},"scripts":{"develop":"webpack --watch --mode development","build":"NODE_ENV=production webpack --mode production","clean":"rimraf dist","lint":"tsc --noEmit","test":"jest","lint:watch":"tsc -w --noEmit","test:watch":"jest --coverage --watch","prune":"ts-prune src"},"dependencies":{"@dnd-kit/core":"^5.0.1","@dnd-kit/sortable":"^6.0.0","@heroicons/react":"^2.0.13","@pdfme/common":"^1.0.0","@scena/react-guides":"^0.16.0","hotkeys-js":"^3.8.7","pdfjs-dist":"^2.12.313","react":"^17.0.2","react-dom":"^17.0.2","react-moveable":"^0.30.3","react-selecto":"^1.12.0"},"devDependencies":{"@testing-library/jest-dom":"^5.16.1","@testing-library/react":"^12.1.2","@types/pdfjs-dist":"^2.7.4","@types/react":"^17.0.52","@types/react-dom":"^17.0.18","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","jest-canvas-mock":"^2.3.1","process":"^0.11.10","webpack":"^5.75.0","webpack-cli":"^5.0.1","worker-loader":"^3.0.8"},"jest":{"setupFiles":["jest-canvas-mock"],"moduleNameMapper":{"\\.(png)$":"<rootDir>/../../assetsTransformer.js"},"resolver":"ts-jest-resolver","moduleFileExtensions":["js","ts","tsx"],"transform":{"^.+\\.ts$":"ts-jest","^.+\\.tsx$":"ts-jest"},"globals":{"ts-jest":{"tsconfig":"tsconfig.json"}},"testMatch":["**/*.test.ts","**/*.test.tsx"]},"publishConfig":{"access":"public"},"gitHead":"928df4e59448da2e3807ce5b39f8133aae49f52d","_id":"@bistri/pdfme-ui@1.1.17","_nodeVersion":"14.15.4","_npmVersion":"8.6.0","dist":{"integrity":"sha512-KAV4uIJu4956J2pqOGuyICRIXatL/1Gc+a+tvbAAUtPsRDRPrQm8gGykpbsWLcq41xYuekAOmnTVZUVnfsKwWQ==","shasum":"5f7b80af482cf1a602f00bba8bf3aacbeadfb269","tarball":"https://registry.npmjs.org/@bistri/pdfme-ui/-/pdfme-ui-1.1.17.tgz","fileCount":94,"unpackedSize":10016788,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+eBawsYBrn+hfnhVsRmvmF2BClT3B/BW0sPvmudwfeAiBa2IOAueI3Iu02qb8OfzJPezbfofR8JnfigwcwF4/bIw=="}]},"_npmUser":{"name":"bistri","email":"npm@bistri.com"},"directories":{},"maintainers":[{"name":"bistri","email":"npm@bistri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pdfme-ui_1.1.17_1689943813392_0.4627329963425122"},"_hasShrinkwrap":false}},"maintainers":[{"name":"bistri","email":"npm@bistri.com"}],"description":"TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!","homepage":"https://pdfme.com","keywords":["pdf","pdf-generation","pdf-designer","pdf-viewer","typescript","react"],"repository":{"type":"git","url":"git+ssh://git@github.com/pdfme/pdfme.git"},"author":{"name":"hand-dot"},"bugs":{"url":"https://github.com/pdfme/pdfme/issues"},"license":"MIT","readme":"# PDFME\n<p>\n  <a href=\"https://github.com/pdfme/pdfme/blob/master/LICENSE.md\">\n    <img src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"pdfme is released under the MIT license.\" />\n  </a>\n  <a href=\"https://github.com/pdfme/pdfme/actions/workflows/nodejs.yml\">\n    <img src=\"https://github.com/pdfme/pdfme/workflows/Unit%20Testing/badge.svg\" alt=\"Unit Testing status\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/@pdfme/ui\">\n    <img src=\"https://img.shields.io/npm/v/@pdfme/ui.svg\" alt=\"Current npm package version.\" />\n  </a>\n  <a href=\"https://npmcharts.com/compare/@pdfme/ui?minimal=true\">\n    <img src=\"https://img.shields.io/npm/dm/@pdfme/ui.svg\" alt=\"Downloads per month on npm.\" />\n  </a>\n  <a href=\"https://pdfme.com/help#contribution\">\n    <img src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" alt=\"PRs welcome!\" />\n  </a>\n  <a href=\"https://twitter.com/intent/tweet?text=Awesome+pdf+library%21&url=https://pdfme.com\">\n    <img src=\"https://img.shields.io/twitter/url/http/shields.io.svg?style=social\" alt=\"Tweet\" />\n  </a>\n</p>\n\nTypeScript base PDF generator and React base UI.\nOpen source, developed by the community, and completely free to use under the MIT license!\n\n<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/pdfme/pdfme/main/website/static/img/logo.svg\" width=\"300\"/>\n</p>\n\n## Features\n\n| Fast PDF Generator                                                                           | Easy PDF template design                              | Simple JSON template                                           |\n| -------------------------------------------------------------------------------------------- | ----------------------------------------------------- | -------------------------------------------------------------- |\n| Works on node and browser. Use templates to generate PDF, Complex operations are not needed. | Anyone can easily create templates with the designer. | Templates are JSON data that is easy to understand and handle. |\n\n---\n\n<!--\n    This is a copy of website/docs/getting-started.md from below.\n  - Replace the image path: /img/image.png -> /website/static/img/image.png\n  - Replace the link: / -> https://pdfme.com/\n -->\n\n## Introduction\n\npdfme was created to simplify the design and generation process of a PDF. It is especially useful for the following use cases:\n\n- Need to create a designed PDF with short code.\n- Need to integrate PDF editor features into an application.\n- Need to create a large number of PDFs without compromising performance\n\nAs an example, the author's service [https://labelmake.jp/](https://labelmake.jp/) can create more than 100 varieties of PDFs and generates more than 100,000 PDF files per month.\n\n## Installation\n\nThe operating requirements should be the node environment `>=14`. *Please see the note at the end of this section for usage on Node.js <16.*    \nThere are two packages in pdfme, generator and UI.\n\nThe package for generating PDF can be installed with the following command.\n\n```\nnpm i @pdfme/generator\n```\n\nThe packages for using PDF designer, forms and viewers can be installed with the following commands.\n\n```\nnpm i @pdfme/ui\n```\n\nThe following type, function and classes are available in pdfme.\n\n`@pdfme/generator`\n\n- [generate](https://pdfme.com/docs/getting-started#generator)\n- [Template](https://pdfme.com/docs/getting-started#template)\n\n`@pdfme/ui`\n\n- [Designer](https://pdfme.com/docs/getting-started#designer)\n- [Form](https://pdfme.com/docs/getting-started#form)\n- [Viewer](https://pdfme.com/docs/getting-started#viewer)\n- [Template](https://pdfme.com/docs/getting-started#template)\n\nIf your environment uses webpack, import the necessary items as shown below.\n\n```ts\nimport { Template, generate } from '@pdfme/generator';\n```\n\n```ts\nimport { Template, Designer, Form, Viewer } from '@pdfme/ui';\n```\n\n**All objects use `Template`, which will be briefly explained in the next section.**\n\n## Template\n\nThe core of pdfme library are Templates.  \nTemplate Type can be imported by both `@pdfme/generator` or `@pdfme/ui`. Templates are used everywhere.\n\nA template can be divided into two parts: a fixed part and a variable part.  \nWe call them basePdf and schema.\nThe following image is a good illustration of a template.\n\n![](https://raw.githubusercontent.com/pdfme/pdfme/main/website/static/img/template.png)\n\n- **basePdf**: PDF data for the fixed part of the PDF to be generated.\n- **schemas**: Definition data for the variable part of the PDF to be generated.\n\n**basePdf** can be given a `string`(base64), `ArrayBuffer`, or `Uint8Array`.  \nA blank A4 PDF can be imported with `BLANK_PDF`. You can use it to check how it works.\n\n**schemas** currently has the following types of data available\n\n- text\n- image\n- Various types of barcodes\n\nLet's take a look at some specific data.  \n(If you are using TypeScript, you can import the Template type.)\n\n### Minimal Template\n\n```ts\nimport { Template, BLANK_PDF } from '@pdfme/generator';\n// import { Template, BLANK_PDF } from '@pdfme/ui'; <- Template types and BLANK_PDF can also be imported from @pdfme/ui.\n\nconst template: Template = {\n  basePdf: BLANK_PDF,\n  schemas: [\n    {\n      a: {\n        type: 'text',\n        position: { x: 0, y: 0 },\n        width: 10,\n        height: 10,\n      },\n      b: {\n        type: 'text',\n        position: { x: 10, y: 10 },\n        width: 10,\n        height: 10,\n      },\n      c: {\n        type: 'text',\n        position: { x: 20, y: 20 },\n        width: 10,\n        height: 10,\n      },\n    },\n  ],\n};\n```\n\n[For more information, please refer to the API documentation of the Template type here](https://pdfme.com/docs/api/common/#template).\n\nYou can create a template from [Template Design page](https://pdfme.com/template-design). Or, if you want to integrate the template creation feature into your application, check out the [Designer section](https://pdfme.com/docs/getting-started#designer).\n\n## Generator\n\nThe PDF generator function, `generate`, takes 2 arguments of `template` and `inputs` for generate a PDF. It works both in Node.js and in the browser.\n\nThe code to generate a PDF file using the [template created above](https://pdfme.com/docs/getting-started#sample-template) is shown below.\n\n```ts\nimport { Template, generate } from '@pdfme/generator';\n\nconst template: Template = {\n  // skip...　Check the Template section.\n};\nconst inputs = [{ a: 'a1', b: 'b1', c: 'c1' }];\n\ngenerate({ template, inputs }).then((pdf) => {\n  console.log(pdf);\n\n  // Browser\n  // const blob = new Blob([pdf.buffer], { type: 'application/pdf' });\n  // window.open(URL.createObjectURL(blob));\n\n  // Node.js\n  // fs.writeFileSync(path.join(__dirname, `test.pdf`), pdf);\n});\n```\n\nYou can create a PDF file like the below.\n\n![](https://raw.githubusercontent.com/pdfme/pdfme/main/website/static/img/simplePdf.png)\n\nAlso, each element in the inputs array corresponds to a page in the PDF, you can create a multi-page PDF file by providing multiple elements of inputs.\n\n[For more information, please refer to the API documentation of the generate function here](https://pdfme.com/docs/api/generator/#generate).\n\n## UI\n\n### Designer\n\nThe Designer allows you to edit the Template schemas, making it easy for anyone to create Template json objects.\n\nYou can design your own template from [Template Design page](https://pdfme.com/template-design), or you can integrate the designer into your application.\n\nLet's integrate the designer using the template created above as the default template.\n\n```ts\nimport { Template, Designer } from '@pdfme/ui';\n\nconst domContainer = document.getElementById('container');\nconst template: Template = {\n  // skip...　Check the Template section.\n};\n\nconst designer = new Designer({ domContainer, template });\n```\n\nThe Designer class is instantiated as shown above, and the template designer is displayed in the `domContainer`.  \nYou can edit the template as shown below. The operation is like Google Slides, etc., so you can use common keyboard shortcuts.\n\n![](https://raw.githubusercontent.com/pdfme/pdfme/main/website/static/img/designer.gif)\n\nThe designer instance can be manipulated with the following methods.\n\n- `saveTemplate`\n- `updateTemplate`\n- `getTemplate`\n- `onChangeTemplate`\n- `onSaveTemplate`\n- `destroy`\n\n[For more information, please refer to the API documentation of the Designer class here](https://pdfme.com/docs/api/ui/classes/Designer).\n\n### Form\n\nYou can use templates to create forms and PDF viewers.\n\nThe Form creates a UI for the user to enter schemas based on the template.\n\n```ts\nimport { Template, Form } from '@pdfme/ui';\n\nconst domContainer = document.getElementById('container');\nconst template: Template = {\n  // skip...\n};\n// This is initial data.\nconst inputs = [{ a: 'a1', b: 'b1', c: 'c1' }];\n\nconst form = new Form({ domContainer, template, inputs });\n```\n\n![](https://raw.githubusercontent.com/pdfme/pdfme/main/website/static/img/form.gif)\n\nThe form instance has a method `getInputs` to get the user's input.\n\nYou can generate a PDF file based on the user's input by passing the data you get from `getInputs` as inputs to generate, as shown in the code below.\n\n```ts\ngenerate({ template, inputs: form.getInputs() }).then((pdf) => {\n  const blob = new Blob([pdf.buffer], { type: 'application/pdf' });\n  window.open(URL.createObjectURL(blob));\n});\n```\n\n[For more information, please refer to the API documentation of the Form class here](https://pdfme.com/docs/api/ui/classes/Form).\n\n### Viewer\n\nViewing a PDF file in a mobile browser is a pain, because it doesn't display well in an iframe.\n\nThe Viewer is a byproduct of the Form development process, but it allows you to show your users a preview of the PDF file you will create.\n\nUsing the Viewer is basically the same as using the Form, except that user cannot edit it.\n\n```ts\nimport { Template, Viewer } from '@pdfme/ui';\n\nconst domContainer = document.getElementById('container');\nconst template: Template = {\n  // skip...\n};\nconst inputs = [{ a: 'a1', b: 'b1', c: 'c1' }];\n\nconst viewer = new Viewer({ domContainer, template, inputs });\n```\n\n![](https://raw.githubusercontent.com/pdfme/pdfme/main/website/static/img/viewer.png)\n\n[For more information, please refer to the API documentation of the Viewer class here](https://pdfme.com/docs/api/ui/classes/Viewer).\n\n## Special Thanks\n\n- [pdf-lib](https://pdf-lib.js.org/): Used in PDF generation.\n- [PDF.js](https://mozilla.github.io/pdf.js/): Used in PDF viewing.\n- [React](https://reactjs.org/): Used in building the UI.\n- [react-moveable](https://daybrush.com/moveable/), [react-selecto](https://github.com/daybrush/selecto), [@scena/react-guides](https://daybrush.com/guides/): Used in Designer UI.\n- [dnd-kit](https://github.com/clauderic/dnd-kit): Used in Designer UI.\n- [bwip-js](https://github.com/metafloor/bwip-js): Used in barcode generation.\n- [zod](https://github.com/colinhacks/zod): Used in Validation.\n\nI definitely could not have created pdfme without these libraries. I am grateful to the developers of these libraries.\n","readmeFilename":"README.md"}