update pspdfkit

This commit is contained in:
Jonathan Jenne
2023-10-31 09:04:45 +01:00
parent ff5536d3ea
commit b5e0908149
1362 changed files with 1541 additions and 3394 deletions

View File

@@ -0,0 +1 @@
import{dotnet}from"./dotnet.js";export async function initDotnet(t){if(null===t||"string"!=typeof t||0===t.trim().length)throw Error("`baseUrl` must be a string passed to `initDotnet` and be non-empty.");const{getAssemblyExports:e,getConfig:i,Module:o}=await dotnet.withModuleConfig({locateFile:e=>`${t}/${e}`}).create();globalThis.gdPicture={module:o,baseUrl:t};const n=await e(i().mainAssemblyName);return await n.GdPictureWasm.API.Initialize(),{Assemblies:n,Module:o,BaseUrl:t}}