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

sx-web-ui

v0.5.1

Published

顺心畅游内部组件库

Downloads

408

Readme

Using npm to install:

npm i sx-web-ui

Fix bug

0.2.98

  • SxWebFormItem
    • 数字输入框时,输入合法数据后才进行自动补零操作
  • SxWebFreightRate
    • 运价来源下对应的运价类型为空时,不再进行过滤,正常展示,校验以正常逻辑进行

0.2.92

  • SxWebCabinRule 恢复初始化时渲染已选择数据

0.2.87

  • SxWebCabinRule 高度调整

0.2.86

  • 新增 SxWebCabinRule 组件,退改签弹框内容

0.2.30

  • Select 修复自定义搜索时,因存储的原始数据未记录 options 变更,导致 options 一直恢复初始化数据的问题

0.2.29

  • Select 修复多选时各个尺寸最小高度失效的问题

0.2.24

  • Input-Number 保留,新增 Input-NumberStr
  • Input-NumberStr 修复清空值后,返回值不为 undefined 的问题

0.2.23

  • Input-Number 支持输入时精度不足时自动补 0
  • Input-Number 不再处理 max/min
  • Input-Number 不再处理位数超过精度时自动截取
  • Input-Number 支持以 text 文本显示数值时自动补 0

0.2.21

  • Select 修复宽度未铺满问题

0.2.20

  • Input-Number 修复值为 0 时不显示问题
  • Select 修复自定义搜索条件时,默认搜索失效问题

2023.4.20

0.2.19

  • Input-Number 修复返回值不为 Number 类型的问题
  • Input-Number 支持将 Number 转换为 String 显示
  • Input-Number 覆盖原组件进行精度处理时,数值被强制进行四舍五入的操作
  • Select 支持自定义过滤条件(filterableProps:Array)

2023.4.20

新增 Storage 处理,内部处理加解密的数据存储过程

  • setVirtualDirectory -- 设置虚拟目录,
  • setLocalStorage,
  • getLocalStorage,
  • setSessionStorage,
  • getSessionStorage,
  • removeLocalStorage,
  • removeSessionStorage,
  • getEmployee,
  • getPlateForm,
  • clearCookies,
  • getToken,
  • setToken,
  • removeToken,
  • getUser,
  • setUser,
  • removeUser

Using yarn or pnpm:

yarn add sx-web-ui

pnpm add sx-web-ui

Quickstart

import sxWebUI from "sx-web-ui";

Vue.use(sxWebUI)
import { table,button } from "sx-web-ui";

Vue.use(table)

Vue.use(button)

.babelrc Config

{
  "presets": [
    [
      "@babel/preset-env",
      {
        "modules": false
      }
    ],
    "@vue/cli-plugin-babel/preset"
  ],
  "plugins": [
    "@babel/transform-runtime",
    [
      "import",
      {
        "libraryName": "sx-web-ui",
        "style": true,
        "cssFilePath": "style"
      }
    ]
  ]
}