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

el-pc

v0.0.4

Published

天源pc端UI库

Readme

说明

ty-pc 基于elementui二次开发的UI框架,用于管理平台界面的快速开发。 它帮助您构建大型复杂的单页应用程序。我相信无论你需要什么,这个框架都会帮助你。

安装

# npm方式安装
npm i ty-pc

快速上手

  1. main.js引入框架文件
//全部组件引入
import tyPc from 'ty-pc';
Vue.use(tyPc);

//按需引入
import {TySelectArea,TyCaptcha} from 'ty-pc';
Vue.component('TySelectArea', TySelectArea);
Vue.component('TyCaptcha', TyCaptcha);
  1. main.js引入框架样式
import 'ty-common/lib/ty-ui.css'

使用方法

无需import组件,直接引用即可。

<template>
	<ty-select-area v-model="area"></ty-select-area>
</template>


## 更新记录

## 1.2.8 20200930
* 扩展ty-table组件分页复选框的功能

## 1.2.9 20201029
* 添加导出组件 ty-export
* 上传组件和上传图片组件扩展参数,以及上传图片支持裁剪功能

## 1.3.1 20201106
* 表单解析器动态设置验证规则不生效问题修复

## 1.3.2 20201120
* 优化表单设计器(新增支持业务组件的添加,设置初始值的功能)

## 1.3.3 20201127
* 优化表单设计器(添加保存触发save事件,表单属性添加插槽)

## 1.3.4 20201203
* 优化表单设计器(业务组件key标识添加)

## 1.3.7 20201223
* 表单设计器计数器组件最大值和最小值不生效问题修复,业务列表crud组件添加

## 1.3.8 20201228
* 单选框复选框组件添加,业务列表crud组件优化

## 1.3.9 20201229
* 业务列表crud组件分页格式属性添加

## 1.4.2 20201231
* 表单设计器上传组件添加接口参数,滑块组件强制值为数字类型

## 1.4.3 20201231
* crud组件支持字段插槽

## 1.4.4 20200106
* ty-table复选框是否可用支持外部传方法控制

## 1.4.5 20200106
* ty-table添加展开行,列表树形菜单的功能,数据字典组件默认开启调用接口方法

## 1.4.6 20200107
* ty-table添加自定义表头,控制合并单元格功能

## 1.4.7 20200107
* ty-icon 添加微信,支付宝图标

## 1.4.10 20200108
* ty-cascader 扩展级联选择器功能,ty-bisiness-crud 支持选择复选框事件,控制搜索栏的显示隐藏

## 1.5.0 20200112
* 表单设计器集成ty-cascader,上传图片展示变形问题

## 1.5.1 20200113
* ty-table支持带状态表格以及控制是否显示斑马线,crud删除接口添加参数转换方法


## 1.5.3 20200114
* ty-table宽度无限增长的问题,对应api文档问题修复

## 1.5.4 20200114
* 将表单设计器移动端和pc端组合解析同一个json数据

## 1.5.5 20200115
* 导出组件更新

## 1.5.6 20200115
* table组件添加尺寸属性

## 1.5.7 20200119
* 上传组件的值返回接口返回的所有参数

## 1.5.8 20200119
* 编辑器不能修改值的问题修复,crud选中值修改方法添加

## 1.5.9 20200120
* crud按钮类型参数添加,编辑器图片上传参数添加


## 1.6.0 20200126
* 表单设计器添加电话类型验证

## 1.6.1 20200127
* 表单设计器添加清除按钮的控制

## 1.6.3 20200204
* crud 获取搜索表单的值

## 1.6.5 20200206
* 表单修改字段名时,规则提示没更新的问题

## 1.6.6 20200223
* 表单设计器单选框复选框允许换行展示

## 1.6.8 20200223
* 下拉框组件默认值修改

## 1.6.9 20200225
* 修改拦截器以及添加表单管理业务组件

## 1.7.2 20200226
* 完善表单管理业务组件

## 1.7.4 20200304
* crud组件添加高级查询模式,添加操作按钮换行的模式

## 1.7.6 20200305
* crud组件复选框清空功能完善,级联选择修改初始父级id修改的功能

## 1.7.7 20200309
* 上传组件支持接口数据返回值格式转换以及表单设计器单选框组件禁用不生效问题修复

## 1.7.8 20200309
* 添加钱包图标

## 1.7.9 20200310
* 编辑列表优化

## 1.8.0 20200312
* 编辑列表添加获取删除列表的方法,表单设计器下拉框支持多选

## 1.8.1 20200315
* 列表添加选择select事件

## 1.8.2 20200316
* 上传组件添加转换格式参数

## 1.8.3 20200317
* 上传组件上传个数为1时不能删除的问题

## 1.8.4 20200322
* 表单级联组件必填时第一次非空验证失败的问题


## 1.8.6 20200324
* 表单模板编辑业务组件表格行添加插槽,编辑表格添加插槽

## 1.8.8 20200329
* 表单添加身份证类型验证

## 1.8.9 20200330
* 编辑列表添加下标回调,以及插槽值修改不能自动添加行的bug

## 1.9.0 20200401
* 编辑列表级联组件新增不了行的问题修复

## 1.9.1 20200408
* 编辑列表添加表单验证以及是否可编辑控制方法

## 1.9.2 20200409
* 添加表单验证的方法,排除最后一行什么也没输入的情况

## 1.9.4 20200415
* 请求的响应数据preview预览和response数值不准确问题

## 1.9.5 20200416
* 上传组件删除操作控制失效问题修复

## 1.9.6 20200420
* cobs拦截器修改,因为有些个别接口返回的数据是字符串

## 1.9.7 20200421
* 编辑器添加修改上传图片接口和参数

## 1.9.8 20200421
* 表单头模板cbos中自定义不了的问题

## 1.9.9 20200422
* 搜索条样式调整

## 2.0.1 20200423
* 表单设计器单选复选打开就触发验证的问题修复

## 2.0.2 20200425
* 编辑列表如果id为数字类型时获取删除id方法失效问题修复

## 2.0.3 20200425
* 搜索样式调整,查询就收起查询面板

## 2.0.5 20200428
* crud搜索栏样式调整

## 2.0.6 20200429
* 调整样式

## 2.0.7 20200430
* 退出图标修改,列表添加序号

## 2.0.8 20200430
* 表单解析不可编辑状态是不触发验证

## 2.1.0 20200513
* 拦截器401状态时添加回调方法

## 2.1.1 20200519
* 编辑列表的支持最大添加行数

## 2.1.2 20200526
* 添加审批按钮和审批页面组件

## 2.1.3 20200527
* 修改审批iframe的地址

## 2.1.4 20200528
* 修改审批iframe的参数地址

## 2.1.5 20200601
* 添加新业务的审批参数

## 2.1.6 20200602
* 扩展pdf导出组件

## 2.1.7 20200602
* pdf导出组件修改

## 2.1.8 20200603
* 风险辨识审批查看页面地址修改

## 2.1.9 20200603
* 修改审批的标题

## 2.2.0 20200604
* 添加提交审批前处理方法

## 2.2.2 20200607
* pdf导出问题修复

## 2.2.3 20200608
* pdf导出图片问题修复

## 2.2.4 20200609
* 列表复选框选中人员顺序调整

## 2.2.5 20200609
* pdf导出图片缓存问题修复,解决跨域问题

## 2.2.6 20200616
* ios系统pdf图片导出不了的问题

## 2.2.7 20200624
* 上传文件添加控制上传列表控制参数,添加文件列表的插槽控制

## 2.2.9 20200629
* 合并修改审批流参数的分支

## 2.3.0 20200629
* 上传图片组件允许拖拽排序