# @dzo/com

> 集公共组件库开发、调试、编写文档一体化

Latest version **2.0.6** (published 2024-09-25) · 0 weekly downloads

## Install

```sh
npm install @dzo/com
pnpm add @dzo/com
yarn add @dzo/com
bun add @dzo/com
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.6 |
| Published | 2024-09-25 |
| First published | 2021-09-14 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 12 |
| Unpacked size | 737.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | xkbhcq, jws132, dzweb, bruceliu68, kakarrotto, eric168 |

## Links

- npm: https://www.npmjs.com/package/@dzo/com
- npm.io page: https://npm.io/package/@dzo/com

## Dependencies (12)

- [lodash](https://npm.io/package/lodash.md) ^4.17.20
- [moment](https://npm.io/package/moment.md) ^2.29.4
- [@dzo/utils](https://npm.io/package/@dzo/utils.md) ^1.0.4
- [antd-style](https://npm.io/package/antd-style.md) ^3.6.1
- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2
- [install-peers](https://npm.io/package/install-peers.md) ^1.0.4
- [@ctrl/tinycolor](https://npm.io/package/@ctrl/tinycolor.md) ^3.6.0
- [@ant-design/icons](https://npm.io/package/@ant-design/icons.md) ^4.2.2
- [copy-to-clipboard](https://npm.io/package/copy-to-clipboard.md) ^3.3.1
- [eslint-plugin-html](https://npm.io/package/eslint-plugin-html.md) ^6.1.1
- [compression-webpack-plugin](https://npm.io/package/compression-webpack-plugin.md) ^11.1.0

## Recent versions

- 2.0.6 (latest) — 2024-09-25
- 2.0.5 — 2024-03-04
- 2.0.4 — 2024-03-04
- 2.0.3 — 2024-03-04
- 2.0.2 — 2024-03-01
- 2.0.1 — 2024-03-01
- 2.0.0 — 2024-03-01
- 1.1.11 — 2023-12-28
- 1.1.10 — 2023-04-24
- 1.1.9 — 2022-10-19
- 1.1.8 — 2022-10-19
- 1.1.7 — 2022-10-12
- 1.1.6 — 2022-09-29
- 1.1.5 — 2022-09-28
- 1.1.4 — 2022-09-14
- … 12 more at https://npm.io/package/@dzo/com/versions

## README

# @dzo/com

集公共组件库开发、调试、编写文档一体化

## 版本对应

| 版本 | 说明           |
| ---- | -------------- |
| 1.0  | 对应地 antd4.0 |
| 2.0  | 对应地 antd5.0 |

## Getting Started

Install dependencies,

```bash
$ npm i
```

Start the dev server,

```bash
$ npm start
```

Build documentation,

```bash
$ npm run docs:build
```

Build library via `father-build`,

```bash
$ npm run build
```

发包

```bash
$ npm run release
```

## 历史版本信息

- 1.0.2 新增 Ellipsis 组件
- 1.0.5 修复 GForm 的 hideInForm = true Col 占位
- 1.0.8 TableBtns 新增单个按钮
- 1.1.0 SearchTree 新增默认参数`expandedLevel = null`时不展开字节点，搜索清空默认展示选中的父级节点
- 1.1.1 npm 发布命令修改`npm run release`(会导致提交成功但是提示错误)中原先`npm run publish`改为`npm run pub`
- 1.1.4 修复 SearchTree 组件不支持 loadData 异步加载数据
- 1.1.5 修复 SearchTree 组件 onSelect，onCheck 丢失原始参数
- 1.1.6 新增 SearchTree 组件 onRightClickRender 方法新增 onCopy 复制函数
- 1.1.7

1. TableBtns.AuthBtn 组件修改 type=button 支持 confirm
2. DynamicFieldSet 组件新增 okButtonRender 属性 listFormSet 属性 renderChild 支持 function 支持序号：fieldIndex
3. Gform 组件 renderChild 支持 function 参数为 formSet 对象

- 1.1.8 新增 GDescriptions 组件
- 1.1.9 GDescriptions 组件新增 ellipsis 组件支持
- 1.1.10

1. 新增 registerComponent 全局表单组件注入函数
2. 新增 DZ.registerExternal 扩展方法，以及 DZ.external 扩展调用函数
3. 新增 SearchForm 组件

- 2.0.6
1. 新增DzRotate滚动列表组件
2. 修复ModalForm ref取值问题

---
_Source: https://npm.io/package/@dzo/com · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
