chore: PSPDFKit Versionen 2023.5.2 und 2024.3.2 separat hinzugefügt, weiterhin 2023.5.2 verwenden

This commit is contained in:
Developer 02
2024-07-25 16:51:20 +02:00
parent 4b600cb190
commit da483706b1
1466 changed files with 5221 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
{
"runtimeOptions": {
"tfm": "net7.0",
"includedFrameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "7.0.18"
}
],
"configProperties": {
"Microsoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmability": true,
"System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization": false,
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Resources.ResourceManager.AllowCustomResourceTypes": false,
"System.Runtime.InteropServices.BuiltInComInterop.IsSupported": false,
"System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting": false,
"System.Runtime.InteropServices.EnableCppCLIHostActivation": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"System.StartupHookProvider.IsSupported": false,
"System.Threading.Thread.EnableAutoreleasePool": false,
"System.Text.Encoding.EnableUnsafeUTF7Encoding": false
},
"wasmHostProperties": {
"runtimeArgs": [],
"perHostConfig": [],
"mainAssembly": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll"
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<html><body><script type="module" src="initDotnet.js"></script></body></html>

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}}

View File

@@ -0,0 +1,372 @@
{
"mainAssemblyName": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll",
"assemblyRootFolder": "managed",
"debugLevel": 0,
"assets": [
{
"behavior": "assembly",
"name": "ACadSharp.dll"
},
{
"behavior": "assembly",
"name": "BouncyCastle.Cryptography.dll"
},
{
"behavior": "assembly",
"name": "ChromeHtmlToPdfLib.dll"
},
{
"behavior": "assembly",
"name": "DocumentFormat.OpenXml.dll"
},
{
"behavior": "assembly",
"name": "DocumentFormat.OpenXml.Framework.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.API.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.barcode.1d.writer.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.barcode.2d.writer.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.CAD.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.Common.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.Document.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.Imaging.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.Imaging.Formats.Conversion.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.Imaging.Formats.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.Imaging.Rendering.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.MSOfficeBinary.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.OpenDocument.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.OpenXML.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.PDF.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.RTF.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.14.SVG.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.OpenXML.Templating.Wasm.NET7.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll"
},
{
"behavior": "assembly",
"name": "GdPicture.NET.Wasm.NET7.dll"
},
{
"behavior": "assembly",
"name": "Microsoft.CSharp.dll"
},
{
"behavior": "assembly",
"name": "Microsoft.Win32.Registry.dll"
},
{
"behavior": "assembly",
"name": "MsgReader.dll"
},
{
"behavior": "assembly",
"name": "Newtonsoft.Json.dll"
},
{
"behavior": "assembly",
"name": "OpenMcdf.dll"
},
{
"behavior": "assembly",
"name": "protobuf-net.Core.dll"
},
{
"behavior": "assembly",
"name": "protobuf-net.dll"
},
{
"behavior": "assembly",
"name": "RtfPipe.dll"
},
{
"behavior": "assembly",
"name": "System.Collections.Concurrent.dll"
},
{
"behavior": "assembly",
"name": "System.Collections.dll"
},
{
"behavior": "assembly",
"name": "System.Collections.Immutable.dll"
},
{
"behavior": "assembly",
"name": "System.Collections.NonGeneric.dll"
},
{
"behavior": "assembly",
"name": "System.Collections.Specialized.dll"
},
{
"behavior": "assembly",
"name": "System.ComponentModel.dll"
},
{
"behavior": "assembly",
"name": "System.ComponentModel.EventBasedAsync.dll"
},
{
"behavior": "assembly",
"name": "System.ComponentModel.Primitives.dll"
},
{
"behavior": "assembly",
"name": "System.ComponentModel.TypeConverter.dll"
},
{
"behavior": "assembly",
"name": "System.Console.dll"
},
{
"behavior": "assembly",
"name": "System.Data.Common.dll"
},
{
"behavior": "assembly",
"name": "System.Diagnostics.DiagnosticSource.dll"
},
{
"behavior": "assembly",
"name": "System.Diagnostics.Process.dll"
},
{
"behavior": "assembly",
"name": "System.Diagnostics.TraceSource.dll"
},
{
"behavior": "assembly",
"name": "System.dll"
},
{
"behavior": "assembly",
"name": "System.Drawing.dll"
},
{
"behavior": "assembly",
"name": "System.Drawing.Primitives.dll"
},
{
"behavior": "assembly",
"name": "System.Formats.Asn1.dll"
},
{
"behavior": "assembly",
"name": "System.IO.Compression.dll"
},
{
"behavior": "assembly",
"name": "System.IO.Packaging.dll"
},
{
"behavior": "assembly",
"name": "System.Linq.dll"
},
{
"behavior": "assembly",
"name": "System.Linq.Expressions.dll"
},
{
"behavior": "assembly",
"name": "System.Memory.dll"
},
{
"behavior": "assembly",
"name": "System.Net.Http.dll"
},
{
"behavior": "assembly",
"name": "System.Net.Http.Formatting.dll"
},
{
"behavior": "assembly",
"name": "System.Net.Mail.dll"
},
{
"behavior": "assembly",
"name": "System.Net.NetworkInformation.dll"
},
{
"behavior": "assembly",
"name": "System.Net.Primitives.dll"
},
{
"behavior": "assembly",
"name": "System.Net.Requests.dll"
},
{
"behavior": "assembly",
"name": "System.Net.Security.dll"
},
{
"behavior": "assembly",
"name": "System.Net.ServicePoint.dll"
},
{
"behavior": "assembly",
"name": "System.Net.Sockets.dll"
},
{
"behavior": "assembly",
"name": "System.Net.WebHeaderCollection.dll"
},
{
"behavior": "assembly",
"name": "System.Net.WebSockets.Client.dll"
},
{
"behavior": "assembly",
"name": "System.Net.WebSockets.dll"
},
{
"behavior": "assembly",
"name": "System.ObjectModel.dll"
},
{
"behavior": "assembly",
"name": "System.Private.CoreLib.dll"
},
{
"behavior": "assembly",
"name": "System.Private.Uri.dll"
},
{
"behavior": "assembly",
"name": "System.Private.Xml.dll"
},
{
"behavior": "assembly",
"name": "System.Private.Xml.Linq.dll"
},
{
"behavior": "assembly",
"name": "System.Runtime.dll"
},
{
"behavior": "assembly",
"name": "System.Runtime.InteropServices.JavaScript.dll"
},
{
"behavior": "assembly",
"name": "System.Runtime.Numerics.dll"
},
{
"behavior": "assembly",
"name": "System.Runtime.Serialization.Formatters.dll"
},
{
"behavior": "assembly",
"name": "System.Runtime.Serialization.Primitives.dll"
},
{
"behavior": "assembly",
"name": "System.Security.Cryptography.dll"
},
{
"behavior": "assembly",
"name": "System.Security.Cryptography.Pkcs.dll"
},
{
"behavior": "assembly",
"name": "System.Text.Encoding.CodePages.dll"
},
{
"behavior": "assembly",
"name": "System.Text.Encodings.Web.dll"
},
{
"behavior": "assembly",
"name": "System.Text.Json.dll"
},
{
"behavior": "assembly",
"name": "System.Text.RegularExpressions.dll"
},
{
"behavior": "assembly",
"name": "System.Threading.Tasks.Parallel.dll"
},
{
"behavior": "assembly",
"name": "System.Windows.Extensions.dll"
},
{
"behavior": "assembly",
"name": "System.Xml.Linq.dll"
},
{
"virtualPath": "runtimeconfig.bin",
"behavior": "vfs",
"name": "supportFiles/0_runtimeconfig.bin"
},
{
"loadRemote": false,
"behavior": "icu",
"name": "icudt.dat"
},
{
"virtualPath": "/usr/share/zoneinfo/",
"behavior": "vfs",
"name": "dotnet.timezones.blat"
},
{
"behavior": "dotnetwasm",
"name": "dotnet.wasm"
}
],
"remoteSources": [],
"pthreadPoolSize": 0
}

View File

@@ -0,0 +1 @@
let require,resources;const ENVIRONMENT_IS_NODE="string"==typeof globalThis.process?.versions?.node,ENVIRONMENT_IS_DENO="object"==typeof window&&"Deno"in window||"object"==typeof self&&"Deno"in self;export async function initialize(){if(ENVIRONMENT_IS_NODE){const{createRequire:e}=await import("module");require=e(import.meta.url)}else if(ENVIRONMENT_IS_DENO){const e=new URL("./resources/list.json",import.meta.url),r=await globalThis.fetch(e).then((e=>e.json())),t=await Promise.all(r.map((e=>{const r=new URL(`./resources/${e}`,import.meta.url);return globalThis.fetch(r).then((async e=>{if(e.ok)return e.arrayBuffer()})).then((r=>({buffer:r,filename:e}))).catch((()=>({buffer:void 0,filename:e})))})));resources=t.reduce(((e,{filename:r,buffer:t})=>(e[`${globalThis.gdPicture.baseUrl}/resources/${decodeURI(r)}`]=t,e)),{})}}export function fetchResource(e,r){fetch(`${globalThis.gdPicture.baseUrl}/resources/${e}`,r)}export function fetch(e,r){try{if(ENVIRONMENT_IS_NODE){const t=require("node:fs"),o=require("node:path"),i=t.readFileSync(o.normalize(e));globalThis.gdPicture.module.FS.writeFile(r,new Uint8Array(i))}else if(ENVIRONMENT_IS_DENO)globalThis.gdPicture.module.FS.writeFile(r,new Uint8Array(resources[e]));else{const t=new XMLHttpRequest;t.open("GET",e,!1),t.overrideMimeType("text/plain; charset=x-user-defined"),t.send(),200===t.status?globalThis.gdPicture.module.FS.writeFile(r,stringToArrayBuffer(t.response)):console.error(`Could not retrieve resource. Status: ${t.status}`)}}catch(e){console.error(`Could not retrieve resource. Exception: ${e}`)}}function stringToArrayBuffer(e){const r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(let r=0,o=e.length;r<o;r++)t[r]=e.charCodeAt(r);return t}

View File

@@ -0,0 +1,3 @@
x<EFBFBD>-̽j<CCBD>`<14><><EFBFBD>:y<0F><>+p<>{)<29><06><><EFBFBD>yB<>v. ]<5D><>.NB&_<>G<EFBFBD>G<EFBFBD><47><EFBFBD><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD>?<3F><>O<>a<EFBFBD>^<5E>xr<>3<EFBFBD><33>&^<5E>ͦ<1A><><EFBFBD>f<1A><>is
_<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-m<>b0D<30>)<29>*<04><><EFBFBD>!<21>F%G<><47>J<EFBFBD>;<3B>%<25>**4*5j<35>*Wh<<3C>”'W<><57>+<2B><><EFBFBD>
s^\a<>_WX<57><58>

Some files were not shown because too many files have changed in this diff Show More