
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
@complex-suite/component
Advanced tools
一个复杂的组件库。
npm install @complex-suite/component
<template>
<NumberArea :data="12345.67" unit="元" />
</template>
<script lang="ts" setup>
import { NumberArea } from '@complex-suite/component'
</script>
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| data | number | - | 数字 |
| color | string | - | 颜色 |
| time | number | - | 动画时间 |
| decimal | number | 0 | 小数位数 |
| comma | string | , | 分隔符 |
| format | (n: string) => number | string | - | 格式化函数(入参为已做千分位处理的字符串) |
| unit | string | - | 单位 |
| unitOption | object | - | 单位样式 |
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| index | number | - | 索引 |
| pagination | object | - | 分页对象 |
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| accept | string | - | 文件类型 |
| multiple | boolean | object | false | 是否多选 |
| disabled | boolean | false | 是否禁用 |
| size | number | 0 | 文件大小限制(MB) |
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| data | string | number | - | 文本 |
| target | string | - | 高亮目标 |
| defaultOption | object | - | 默认样式 |
| highOption | object | - | 高亮样式 |
| limitNum | number | - | 高亮数量限制 |
| ignoreCase | boolean | false | 是否忽略大小写 |
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| value | any | - | 值 |
| isExist | (value: any) => boolean | isExist | 判断是否存在 |
| unExistText | string | '' | 不存在时的文本 |
| format | (value: any) => any | - | 格式化函数 |
FAQs
a complex component
The npm package @complex-suite/component receives a total of 221 weekly downloads. As such, @complex-suite/component popularity was classified as not popular.
We found that @complex-suite/component demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.