ECMAScript.FilePond 1.0.0-preview.9

This is a prerelease version of ECMAScript.FilePond.
dotnet add package ECMAScript.FilePond --version 1.0.0-preview.9
                    
NuGet\Install-Package ECMAScript.FilePond -Version 1.0.0-preview.9
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ECMAScript.FilePond" Version="1.0.0-preview.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ECMAScript.FilePond" Version="1.0.0-preview.9" />
                    
Directory.Packages.props
<PackageReference Include="ECMAScript.FilePond" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ECMAScript.FilePond --version 1.0.0-preview.9
                    
#r "nuget: ECMAScript.FilePond, 1.0.0-preview.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ECMAScript.FilePond@1.0.0-preview.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ECMAScript.FilePond&version=1.0.0-preview.9&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=ECMAScript.FilePond&version=1.0.0-preview.9&prerelease
                    
Install as a Cake Tool

ECMAScript.FilePond

FilePond 与其官方 Vue 适配器的 C# 绑定,作为 Jazor 的 JS resource library 交付:包内锁定 上游多包版本,manifest.json(schema 2)和 inventory.json 记录 package、入口、 完整性与许可证元数据。

Strongly typed C# bindings for FilePond and its official Vue adapter, shipped as a Jazor JS resource library with locked upstream package versions. Runtime files remain in npm; [Style] declarations carry stylesheet edges and package metadata records the entries and licenses.

上游锁定 Upstream lock

项 值
作者入口 vue-filepond
版本 见 manifest.json / inventory.json
闭包包 vue-filepond(适配器)、filepond(核心,锁定版本)
许可证 MIT(licenses/*-LICENSE)
样式 filepond/dist/filepond.css(由 FilePond/VueFilePond 的 [Style] 声明)
peer 依赖 vue(由 ECMAScript.Vue 资源库提供)

首期范围 First slice

  • 核心命令式 API(filepond 入口):create/destroy/find/getOptions/setOptions/supported
  • 实例 API(FilePondInstance):SetOptions、AddFile、GetFiles/GetFile、RemoveFile/RemoveFiles、ProcessFile/ProcessFiles、Browse、Destroy
  • 选项(FilePondOptions):服务端配置、多文件、拖拽/浏览/粘贴/移除/回退/重排开关、MaxFiles、AcceptedFileTypes、LabelIdle 等
  • 回调:OnAddFile、OnProcessFile、OnProcessFileError、OnProcessFileProgress、OnRemoveFile、OnUpdateFiles、OnError、OnWarning、BeforeAddFile
  • 组件代理:VueFilePond(按上游默认导出工厂绑定;Options 承载选项/回调,其余 HTML 属性透传)

未绑定:registerPlugin(插件是各 @pqina/* 包的默认导出,尚无强类型契约;用 object 兜底违反绑定库强类型规则)、prepareFile/moveFile/sort 等次要实例方法。

SSR 边界 SSR boundary

上传依赖真实 DOM、文件 API 与表单提交。create、FilePondInstance 与全部回调必须在浏览器生命周期内使用;SSR 期间不得创建实例。

使用示例 Authoring

var pond = FilePond.Create(element, new FilePondOptions
{
    Server = "/api/upload",
    AllowMultiple = true,
    OnProcessFile = (error, file) => { /* 处理完成 */ }
});
<VueFilePond Options="@Options" />

再生成 Regeneration

dotnet run --file scripts/csharp/generate-file-pond.cs -- --version <adapter-version>
dotnet run --file scripts/csharp/generate-file-pond.cs -- --source .tmp/p3c --version <adapter-version>

核心版本按上游 peer 区间锁定于生成器内的常量;生成器同样执行浏览器安全闸门(拒绝顶层 process.env)。

测试 Tests

src/ECMAScript.FilePond.Test 覆盖 manifest/inventory 元数据、npm integrity、样式入口、上游导出 drift 与编译器 emission。

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-preview.9 50 10/10/2026
1.0.0-preview.8 47 10/9/2026
1.0.0-preview.7 60 9/29/2026
1.0.0-preview.6 59 9/28/2026
1.0.0-preview.5 57 9/28/2026