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

vue3-drag-table

v0.2.20

Published

- 文档-api:http://39.97.251.151:18080/home

Readme

演示地址

  • 文档-api:http://39.97.251.151:18080/home

0.2.20 :2020.03.23

  • bugFix
    • 修改BaseCell中公式计算部分,早先由于用户对空数据的替代标识会出现'-' 或者'/'等计算符号,导致合计计算数值有误。

0.2.19 :2019.8.15

  • bugFix
    • 修改vue修饰v-for 中:key的绑定,该bug导致控制台异常报错
    • 修改BaseTbody的render函数,此前bug:边循环tbodycontainer 边进行tbodyConfig设置,导致如果前A单元格(含公式) 基于B单元格(含公式,且公式由表头控制)的值计算 出现问题,因为B单元格公式还未赋予,所以获得B的值为0。解决方案:将预处理的tbodycontainer加入队列,预处理完成后统一渲染。
  • change
    • 对于setTbodyData方法的事件回调中加补充objectName:'setTbodyData'

0.2.18 :2019.5.31

  • new
    • 对已展开的树形容器(treeContainer)进行删除,会连同#treeParent中children里的container一同删除。

0.2.17 :2019.5.23

  • new
    • BaseTable中getTheadLeavesList1方法加入第二入参 needResize,该值为false时不调用BaseThead的resize方法,即获取上一次渲染后的状态。

0.2.16 :2019.5.20

  • bugFix
    • 修复当通过addReplace方法添加带有treeContainer的容器时,不能添加孩子bug

    • 修改dragstartData中的withchilren不能传入dropHand中;

    • 修改getDataByWeight中 权重bug

0.2.14 :2019.3.25

  • new
    • 增加tbody垃圾清理机制,暂时只是在表格保存时自动清理。
  • change
    • 2019/4/2因为时间不够 逻辑未明确 所以注释该语句,解决$ICObject所存数据未及时更新bug,但产生的后果是,公式中单元格位置变动时,不能自动更新公式

0.2.13 :2019.3.20

  • new
    • 增加dragOver,dragLeave事件回调处理,当返回'cancel'时,取消默认dragover,dragLeave事件;

0.2.12 :2019.3.18

  • new
    • 增加 drop事件回调处理,当返回'cancel'时,取消用户拖拽操作(可进行自定义添加事件);

0.2.11 :2019.3.14

  • new
    • 增加 'dragLeave' | 'dragEnter' | 'dragEnd' |事件回调
  • change
    • 简化View层逻辑

0.2.10 :2019.3.13

  • new
    • BaseCell里增加 nullReplace 默认为'',用于替换当value为null、''、undefined的情况
    • 增加 dragOver 事件回调
  • bugFix
    • 修改BaseTbody类中setData方法,bug导致SetTbodyData后公式计算错误;

0.2.9 :2019.3.5

  • change
    • 修改数据存储导出结构

0.2.7 :2019.3.1

  • bugFix
    • 修改 TopLeltCell 宽高计算bug

0.2.6 :2019.2.28

  • bugFix
    • 修改(修改indexContainer的id属性为renderId)产生显示bug

0.2.5 :2019.2.28

  • change
    • 修改indexContainer的id属性为renderId,原有Id改为对应的行列号
    • 修改TbodyContainer中renderByThead属性的更新机制
  • bugFix
    • 按住Ctrl选择单元格 不能从下往上选
    • 多拽到单元格上方样式错位bug

0.2.4 :2019.2.27

  • change
    • 修改DragTable类中的setDefaultConfig方法名为setConfig
  • bugFix
    • 按住Ctrl选择单元格 重复bug
    • 修改treeContainer的padding计算bug
    • 修改表头blur时间报错bug
    • 修复dragEnd的Bug

0.2.3 :2019.2.21

  • bugFix
    • 恢复拖动到单元格上方无反应的bug
    • 修改selectBox会遮挡其他单元格bug,将最外层div的display属性更改为contents,
  • change
    • 更改InnerContainer类为TreeContainer,相关使用修改查看官网实例
    • SubjectMsgInterface中加入render:boolean,用于替换原来RenderEvent:string[]作用(判断是否需要渲染)
    • 去除TreeContainer中无关属性
    • 修改表头纵表渲染方式(左表)
  • new
    • 加入TheadContainer中加入selfContainers:SelfContainer[],可以自定义加入按钮
    • 表头中加入hideType:'visible' | 'hideChildrenHeight' | 'hideAll' | 'hideSelf'属性,用于控制表头显示隐藏
      • 'visible' :可见
      • 'hideChildrenHeight': 仅仅隐藏孩子节点高度
      • 'hideAll': 隐藏该单元格及孩子节点
      • 'hideSelf':仅仅隐藏该单元格
    • 表头加入显示所有单元格的方法1、临时改变 2、永久改变

0.2.2 :2019.2.15

  • bugFix
    • 修复树形展开bug
  • new
    • 加入默认展开
    • 异步数据加载

0.2.1 :2019.2.12

  • bugFix
    • 复杂左表头显示bug
    • 单元格默认宽度统一
  • change
    • 修改dragstart dragover等拖拽事件;
    • 调整架构

0.2.0

  • new
    • 透露接口DragTable.ts代替index.ts
    • 添加树展开功能
  • bugFix