cm-reporting 0.1.6 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.cjs +20 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5149 -4989
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,6 +76,7 @@ export function App() {
|
|
|
76
76
|
| `onLocaleChange` | `(locale: Locale) => void` | - | 语言变化回调 |
|
|
77
77
|
| `theme` | `object` | - | Ant Design 主题 token 覆盖 |
|
|
78
78
|
| `cssVariables` | `object` | - | CSS 变量覆盖 |
|
|
79
|
+
| `readOnly` | `boolean` | - | 全局只读模式(默认 `false`)。启用后进入“仅浏览”态:禁用输入并隐藏 checker/必填横幅/上下页动作及新增删除等编辑入口。 |
|
|
79
80
|
| `maxContentWidth` | `number` | - | 内容区最大宽度(不设则撑满父容器) |
|
|
80
81
|
| `integrations` | `CMReportingIntegrations` | - | 外部选择/回写扩展点,见 [Integrations](#integrations) |
|
|
81
82
|
| `initialSnapshot` | `ReportSnapshotV1` | - | 初始快照(用于编辑旧报告) |
|