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

ldd-antd-ex

v3.0.0

Published

VRV LiNKDOOD antd extend

Downloads

122

Readme

ldd-antd-ex

描述:ldd-antd-ex 仅适用于 ant design 扩展(偏向业务综合,非功能性扩展)

目录介绍:

examples:本地测试页面 启动:npm run dev src: 核心项目文件夹 components: 组件集存放处 composition: composition提供工具库 config: 组件设置入口,用于设置组件集全局参数信息 directive: 公用指令 env: 常用env定义 locales: 国际化(内部使用) service:axios.create 定义 统一定义接口请求错误处理与相关注入方法 utils:工具类/源生扩展类

组件类:

ColorPicker 颜色选择器 Icon 使用 iconfont 图标 不支持 antd 自带 icon OperationButton 查询列表操作按钮用于支持 Icon OrgUserModal1/OrgUserModal2/OrgUserModal3 仅支持各种场景下组织机构查询用户列表信息 Popover 问号提示卡片(功能固定) Tree 根据自身业务,从新编写组件 Upload 仅支持图片上传(修改 antd 上传方式,改调用内部 axios,便于错误信息拦截处理), 待扩展 Spin 扩展 a-spin 在外层提供空白页,加载图标位置水平垂直居中

配置类:

Provider 全局化配置,用于传入 locale、codes; 用于组件国际化与 axios 处理错误信息国际化

辅助类:

service axios 公共业务处理封装 扩展类似源功能 interceptors,可以使用 service.interceptors[error|request|response|params].use() 扩展自身业务处理 提供:axiosGet、axiosPost、axiosPage、axiosUpload 方法调用 ajax, vue 模板中已植入到 prototype 中 可以使用 this.$axiosGet js 中 import { axiosGet } from 'ldd-antd-ex';

formModalMixin 扩展使用 Modal 嵌套 form 提供基本公用方法

公共类:

prototype 扩展 String.prototype.formats