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

@arronqzy/vue-view

v0.1.27

Published

Vue 3 visual view editor for Abuilder (Ant Design Vue)

Readme

@arronqzy/vue-view

Vue 3 视图编辑器,功能对齐 @arronqzy/react-view,组件用 Ant Design Vue。大多数 Vue 宿主应直接用 @arronqzy/abuilder-vue。

物料、画布、配置和图层

能力

  • 无限平移 / 缩放(Infinite Viewer)、Moveable、Selecto 框选
  • 图表、文本、表格、图片、音视频、几何、网格、三维、引用节点
  • 多图层、映射图层、主图层、锁定与合并
  • 按物料类型的配置侧栏,支持 Scope 模版
  • IndexedDB 多项目、导入导出、跨标签同步
  • 分屏蓝图(@arronqzy/vue-blueprint)和调试时的 Scope 回写
  • VueViewOnlinePreview 只读预览

打开蓝图后的分屏和 React 版一样:上面视图,下面节点:

分屏蓝图

使用

import { createApp } from "vue";
import Antd from "ant-design-vue";
import "ant-design-vue/dist/reset.css";
import { VueViewPanel } from "@arronqzy/vue-view";

createApp(VueViewPanel).use(Antd).mount("#app");

在线预览

import { VueViewOnlinePreview, parseOnlinePreviewSearchParams } from "@arronqzy/vue-view";

URL:?preview=online&projectId=<id>&pid=<instanceId>。传入 workspace 时优先于 projectId。

宿主集成

import {
  addEventSubscription,
  AbuilderEvents,
  parseWorkspaceData,
  createEmptyWorkspace,
  createWorkspaceProjectId,
} from "@arronqzy/vue-view";

创建 / 同步发出 workspace:add / workspace:sync(载荷含 nameSpace),删除发出 workspace:delete。另有 blueprint-library:changed / api-collection:changed。parseWorkspaceData 的 value 可作 initialWorkspace;带 id 时默认同步进 IndexedDB。也支持 workspaceId prop、ref(AbuilderViewHandle)以及 put* / openWorkspace / getCurrentWorkspace / getPreviewSnapshot 等与 React 对齐的公开 API。

和 React 版的差别

  • UI 是 Ant Design Vue
  • 标尺是 canvas 实现(可换成 @scena/ruler)
  • 画布状态仍是共享的 @arronqzy/rx-store

依赖

@arronqzy/rx-store、@arronqzy/vue-rx-store、@arronqzy/vue-blueprint、@arronqzy/blueprint-dsl、ant-design-vue、echarts、moveable、selecto、infinite-viewer。

许可证

MIT