
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@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: 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 | - | 高亮数量限制 |
| limitCase | boolean | false | 是否区分大小写 |
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| value | any | - | 值 |
| isExist | (value: any) => boolean | isExist | 判断是否存在 |
| unExistText | string | '' | 不存在时的文本 |
| format | (value: any) => any | - | 格式化函数 |
FAQs
a complex component
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.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.