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 🙏

© 2024 – Pkg Stats / Ryan Hefner

element-ui-cs

v1.1.2

Published

基于[email protected]定制开发的版本

Downloads

2

Readme

Instructions

基于[email protected]定制开发的版本,主要用于服务云系统UIUE风格统一。

Install

npm install element-ui-cs -S --registry=http://nexus.xiqu.servicetest.lenovo/repository/npm-group/

关于如何使用私有npm,请参考这里:http://fe.g.lenovo.com.cn/components/privateNpm.html

如果需要与element-ui 保持同步,需要定义一个remote git origin 即可进行相关操作。

Quick Start

import Vue from 'vue'
import Element from 'element-ui-cs'

Vue.use(Element)

// or
import {
  Select,
  Button
  // ...
} from 'element-ui-cs'

Vue.component(Select.name, Select)
Vue.component(Button.name, Button)

定制化内容

Input

  • type=text maxlength默认值=30
  • type=textarea maxlength默认值=200

Table

  • tooltip默认风格=light

Select

  • filterable默认值改为true

UI自动化测试

针对所有的el-buttonel-form-item 都将赋予一个唯一并且不随编译变化的ID,用于自动化UI 测试。 如果组件已赋予ID 将不再生成新的。

如何开启:

Vue.use(ElementUI, {
  autoId: true
})

例如:

  • el-button #ui-button-页面名称-按钮内容
  • el-form-item #ui-form-页面名称-表单项名称

需要注意的是,默认情况下按钮取值会受到内容的影响,导致多语言场景下会不一致,亦或是同一个页面可能存在多个相同内容(即相同ID)的情况。 这时可以额外的给el-button 赋予属性aid 来做指定。

Version

v1.1.2

  • fix: Table: revert sync fixed table rows height (#21486) 用于恢复table tree child checkbox 无法选中的问题;

v1.1.1

  • fix:解决下拉多选且折叠tag时,多选数量独占一行问题;

v1.1.0

  • fix: 修正库内部的引用,避免仍然需要安装原版element-ui 的问题;
  • feat: 添加表单元素的auto id,适用于UI 自动化测试;
  • feat: 同步element ui 的2.15.7 版本,可以参考:https://element.eleme.cn/#/zh-CN/component/changelog

v1.0.3

  • fix:限制下拉框最大宽度,防止下拉数据过长导致下拉组件超出屏幕宽度
  • fix:解决下拉多选tag超出输入框范围

v1.0.2

  • Input type=text maxlength默认值=30

v1.0.0

  • 基于element-ui 的定制版本初始化