
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
wqs_printer
Advanced tools
A Vue 3 based print designer component library
npm install print-designer
import { PrintDesigner } from 'print-designer'
import 'print-designer/dist/style.css'
// Register components
app.use(PrintDesigner)
MIT
一个基于 Vue 3 + Vite 开发的可视化打印模板设计器,支持拖拽式设计、多页面管理、数据绑定和打印预览等功能。
npm install
npm run dev
npm run build
npm run preview
从左侧组件面板拖拽组件到画布,或点击组件自动添加到画布中心。
fieldName 字段名dataSource 数据源名称field 属性映射数据字段items){
"items": [
{ "name": "产品A", "price": "100" },
{ "name": "产品B", "price": "200" }
]
}
src/
├── components/ # 组件目录
│ ├── Text/ # 文本组件
│ ├── Table/ # 表格组件
│ ├── PageNumber/ # 页码组件
│ ├── QRCode/ # 二维码组件
│ ├── Barcode/ # 条形码组件
│ ├── Image/ # 图片组件
│ ├── Circle/ # 圆形组件
│ ├── Polygon/ # 多边形组件
│ ├── HorizontalLine/ # 横线组件
│ ├── VerticalLine/ # 竖线组件
│ ├── MultiLineText/ # 多行文本组件
│ ├── PropertyPanel.vue # 属性面板
│ ├── CanvasPropertyPanel.vue # 画布属性面板
│ ├── PreviewModal.vue # 预览模态框
│ ├── HistoryPanel.vue # 历史记录面板
│ ├── ResourcePanel.vue # 资源管理面板
│ ├── Ruler.vue # 标尺组件
│ └── registry.js # 组件注册中心
├── stores/ # Pinia状态管理
│ └── designer.js # 设计器状态
├── utils/ # 工具函数
│ ├── elementGenerators/ # 元素HTML生成器
│ ├── print.js # 打印功能
│ ├── wqsPrint.js # 打印管理器
│ └── wqsTemplate.js # 模板管理器
├── App.vue # 主应用
├── main.js # 入口文件
└── style.css # 全局样式
src/components/ 创建组件目录index.vue(组件视图)config.js(组件配置)PropertyPanel.vue(属性面板)registry.js 注册组件utils/elementGenerators/ 添加HTML生成器MIT License
欢迎提交 Issue 和 Pull Request!
FAQs
A Vue 3 based print designer component library
The npm package wqs_printer receives a total of 0 weekly downloads. As such, wqs_printer popularity was classified as not popular.
We found that wqs_printer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.