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

@tmaito/icon

v1.0.6

Published

基于 antd Icon 自定义图标库

Downloads

5

Readme

Quick Start

Install

npm i @tmaito/icon
// or
yarn add @tmaito/icon

Use

import Icon form '@tmaito/icon'

Api

| 参数 | 说明 | 类型 | 默认值 | | ---- | -------- | --------------- | ------ | | mode | 图标类型 | string | - | | type | 对应图标 | string|number | - |

mode 为空时,默认 icon 展示

mode

| 参数 | 说明 | 类型 | | ------------------ | ----------------- | ----------------------------- | | invoiceType | 发票类型 | string | | joint | 发票联次 | string | | preInvoiceStatus | 预制发票 | string | | cooperateStatus | 协同状态 | string | | invoiceStatus | 发票状态 | string | | billStatus | 结算单状态 | string | | signStatus | 签收状态 - 发票池 | string | | billSignStatus | 签收状态 - 结算单 | string | | scanStatus | 扫描状态 | string | | paymentStatus | 付款状态 - 发票池 | string | | billPaymentStatus | 付款状态 - 结算单 | string | | authStatus | 结算单认证状态 | string | | invoiceAuthStatus | 发票池认证状态 | string | | invoiceCheckStatus | 发票池勾选状态 | string | | approveStatus | 审验状态 | string | | invoiceMark | 发票红蓝标识 | string | | imageUploadStatus | 影像上传状态 | string | | stamp | 印章 | string | | default | 默认图标 | string |

invoiceType

发票类型对应的 type 值:

| 参数 | 说明 | | ---- | ---------------------------- | | c | 增值税普通发票 | | ce | 增值税电子普通发票 | | s | 增值税专用发票 | | se | 增值税电子专用发票 | | ju | 增值税普通发票(卷票) | | ct | 增值税电子普通发票(通行费) | | v | 机动车销售统一发票 | | vs | 二手机动车销售统一发票 | | ceb | 电子普通发票(区块链) | | t | 普通发票 | | x | 形式发票 | | m | 多票种 |

joint

发票联次对应的 type 值:

| 参数 | 说明 | | ---- | ------ | | 1 | 发票联 | | 2 | 记账联 | | 3 | 抵扣联 |

preInvoiceStatus

预制发票对应的 type 值:

| 参数 | 说明 | | ---- | ---------- | | -2 | 未预制发票 | | -1 | 未预制发票 | | 0 | 未预制发票 | | 1 | 已预制发票 |

cooperateStatus

协同状态对应的 type 值:

| 参数 | 说明 | | ---- | ------ | | 0 | 未协同 | | 1 | 已协同 |

invoiceStatus

发票状态对应的 type 值:

| 参数 | 说明 | | ---- | ------------ | | 0 | 未生成发票 | | 1 | 已生成发票 | | 2 | 部分生成发票 | | 3 | 已生成发票 | | 4 | 部分生成发票 | | 5 | 未生成发票 |

billStatus

结算单状态对应的 type 值:

| 参数 | 说明 | | ---- | ------------------ | | 0 | 未生成结算票 | | 1 | 已生成结算票 | | 2 | 结算单发票回填失败 |

signStatus

【发票池】: 签收状态对应的 type 值:

| 参数 | 说明 | | ---- | ------ | | 0 | 未签收 | | 1 | 未签收 | | 2 | 已签收 |

billSignStatus

【结算单】: 签收状态对应的 type 值:

| 参数 | 说明 | | ---- | -------- | | 0 | 未签收 | | 1 | 已签收 | | 2 | 部分签收 |

scanStatus

扫描状态对应的 type 值:

| 参数 | 说明 | | ---- | -------- | | 0 | 未扫描 | | 1 | 已扫描 | | 2 | 部分扫描 |

paymentStatus

【发票池】:付款状态对应的 type 值:

| 参数 | 说明 | | ---- | -------- | | 0 | 未付款 | | 1 | 部分付款 | | 2 | 已付款 |

billPaymentStatus

【结算单】:付款状态对应的 type 值:

| 参数 | 说明 | | ---- | -------- | | 0 | 未付款 | | 1 | 已付款 | | 2 | 部分付款 |

authStatus

【结算单】:认证状态对应的 type 值:

| 参数 | 说明 | | ---- | -------- | | 0 | 未认证 | | 1 | 已认证 | | 2 | 部分认证 |

invoiceAuthStatus

【发票池】:认证状态对应的 type 值:

| 参数 | 说明 | | ---- | -------- | | 0 | 未认证 | | 1 | 未认证 | | 2 | 未认证 | | 3 | 未认证 | | 4 | 未认证 | | 5 | 认证失败 | | 6 | 未认证 | | 7 | 未认证 | | 8 | 已认证 |

invoiceCheckStatus

发票池勾选状态对应的 type 值:

| 参数 | 说明 | | ---- | ------ | | 0 | 未勾选 | | 1 | 已勾选 |

approveStatus

审验状态对应的 type 值:

| 参数 | 说明 | | ---- | -------- | | 0 | 未审验 | | 1 | 已审验 | | 2 | 部分审验 |

invoiceMark

发票红蓝标识对应的 type 值:

| 参数 | 说明 | | ---- | ------ | | 0 | 废票 | | 1 | 蓝票 | | 2 | 红票 | | 3 | 红票 | | 13 | 红蓝票 |

imageUploadStatus

影像上传状态对应的 type 值:

| 参数 | 说明 | | ---- | ------ | | 0 | 未生成 | | 1 | 已生成 |

stamp

印章状态对应的 type 值:

| 参数 | 说明 | | ----- | -------- | | 2 | 已作废 | | 4 | 已红冲 | | 8 | 失控 | | 9 | 红字发票 | | stamp | 已开具 |

default

默认图标,对应的 type 值:

| 参数 | 说明 | | --------- | ---------- | | lock | 🔒 | | unlock | 🔓 | | hook | 已勾选 | | unHook | 未勾选 | | notHook | 不可勾选 | | match | 匹配 | | money | 发票、金额 | | statement | 结算单 | | back | 退 | | change | 改 | | split | 拆 | | service | 客服头像 | | subscript | 角标 | | company | 企业 |