npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

antdv-next-pro

v0.1.3

Published

Vue 3 ProTable, EditableProTable and SchemaForm powered by Antdv Next

Readme

antdv-next-pro

Vue 3 ProTable, EditableProTable, SchemaForm, and ProFormFields powered by Antdv Next.

The API follows the major workflows of @ant-design/[email protected], expressed through idiomatic Vue v-model, events, slots, and component refs.

Install

pnpm add antdv-next-pro antdv-next vue
import AntdvNextPro from 'antdv-next-pro'
import 'antdv-next-pro/style.css'

app.use(AntdvNextPro)

Named imports are available:

import {
  EditableProTable,
  ProFormSelect,
  ProFormText,
  ProFormUploadButton,
  ProTable,
  SchemaForm,
  type EditableProTableInstance,
  type ProColumns,
  type ProTableInstance,
  type SchemaFormColumn,
  type SchemaFormInstance,
} from 'antdv-next-pro'

ProTable

<ProTable
  ref="tableRef"
  v-model:editable-keys="editableKeys"
  :columns="columns"
  :request="request"
  row-key="id"
/>

The request contract is independent of your HTTP client:

request(params, sort, filter): Promise<{
  data: T[]
  total?: number
  success?: boolean
}>

ProTable coordinates search, pagination, sorting, filters, selection, column persistence, polling, focus revalidation, and optional row editing.

EditableProTable

<EditableProTable
  v-model:value="rows"
  v-model:editable-keys="editableKeys"
  :columns="columns"
  :editable="{ type: 'multiple', onSave, onDelete }"
  :record-creator-props="{
    record: () => ({ id: crypto.randomUUID(), name: '' }),
    newRecordType: 'dataSource',
  }"
  row-key="id"
/>

EditableProTable treats the complete table as a controlled value. It supports cached or immediate row creation, maximum row counts, tree parent keys, and async edit callbacks.

SchemaForm

<SchemaForm ref="formRef" v-model="form" :columns="columns" @finish="save" />

Available layouts are Form, Embed, ModalForm, DrawerForm, QueryFilter, LightFilter, StepForm, and StepsForm. Composition value types include group, formList, formSet, divider, and dependency.

convertValue transforms inbound values; transform shapes submitted values.

SchemaForm and the table search/edit controls share the same field registry. In addition to the existing types, treeSelect, slider, and segmented are available across these consumers; SchemaForm also supports timeRange.

ProFormFields

Each field is independently importable, uses standard Vue v-model, and includes an Antdv Next FormItem by default. Set fieldMode="field" when a table cell, custom grid, or parent component already owns the FormItem.

<script setup lang="ts">
import { Form } from 'antdv-next'
import { reactive } from 'vue'
import { ProFormSelect, ProFormText } from 'antdv-next-pro'

const form = reactive({ title: '', owner: undefined as string | undefined })

async function loadOwners() {
  return [
    { label: 'Ada', value: 'ada' },
    { label: 'Lin', value: 'lin' },
  ]
}
</script>

<template>
  <Form :model="form" layout="vertical">
    <ProFormText v-model="form.title" name="title" label="Title" />
    <ProFormSelect v-model="form.owner" name="owner" label="Owner" :request="loadOwners" />
  </Form>
</template>

The 19 template-friendly field exports are:

  • Text and numeric: ProFormText, ProFormTextPassword, ProFormTextArea, ProFormDigit, ProFormMoney, ProFormCaptcha.
  • Date/time: ProFormDatePicker, ProFormDateTimePicker, ProFormDateRangePicker, ProFormDateTimeRangePicker.
  • Choice and state: ProFormSelect, ProFormTreeSelect, ProFormCheckbox, ProFormRadioGroup, ProFormSlider, ProFormSwitch, ProFormSegmented.
  • Upload: ProFormUploadButton, ProFormUploadDragger.

ProFormText.Password aliases ProFormTextPassword, and ProFormRadio.Group aliases ProFormRadioGroup. Captcha only manages callback/loading/countdown state and never sends a code by itself. Upload fields bridge fileList to v-model but do not provide an upload backend; configure action or customRequest in fieldProps. Captcha and both Upload fields are standalone components rather than Schema/table valueType values.

中文简介

antdv-next-pro 为 Vue 3 + Antdv Next 提供高阶表格、Schema 表单和 19 个独立 ProFormFields。表格与表单共享字段核心,支持通用 Promise 请求、受控双向绑定、异步选项/编辑以及普通、查询、弹层和步骤表单。

License

MIT