mirror of
https://github.com/nocobase/nocobase.git
synced 2026-09-19 02:23:00 +08:00
docs: update docs
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
---
|
||||
overview: true
|
||||
overviewHeaders: [2, 3]
|
||||
---
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
# Database
|
||||
# Database
|
||||
|
||||
|
||||
@@ -1 +1,91 @@
|
||||
# I18n
|
||||
# 国际化
|
||||
|
||||
在插件里,前后端的多语言文件都存放在 `src/locale` 文件夹里。
|
||||
|
||||
```bash
|
||||
|- /plugin-hello
|
||||
|- /src
|
||||
|- /locale # 多语言文件夹
|
||||
|- en-US.ts # 英文语言
|
||||
|- zh-CN.ts # 中文语言
|
||||
```
|
||||
|
||||
在对应的多语言文件(`/src/locale/${lang}.ts`)里添加翻译词条就可以了,如果是初次添加的多语言文件,需要重启应用才能生效,可以查看 `app:getLang` 接口来校验翻译词条是否已添加成功。
|
||||
|
||||
默认地址:http://localhost:13000/api/app:getLang?locale=zh-CN
|
||||
|
||||
## app.i18n
|
||||
|
||||
app.i18n 为全局 i18n 实例,一般用于 CLI 中。例如结合 inquirer 用于实现命令行的交互。
|
||||
|
||||
```ts
|
||||
import select from '@inquirer/select';
|
||||
import input from '@inquirer/input';
|
||||
|
||||
export class PluginSampleI18nServer extends Plugin {
|
||||
load() {
|
||||
this.app.command('test-i18n').action(async () => {
|
||||
const answer1 = await select({
|
||||
message: 'Select a language',
|
||||
choices: [
|
||||
{
|
||||
name: '中文',
|
||||
value: 'zh-CN',
|
||||
},
|
||||
{
|
||||
name: 'English',
|
||||
value: 'en-US',
|
||||
},
|
||||
],
|
||||
});
|
||||
await this.app.changeLanguage(answer1);
|
||||
const answer2 = await input({
|
||||
message: app.i18n.t('Enter your name'),
|
||||
});
|
||||
console.log(app.i18n.t(`Your name is {{name}}`, { name: answer2 }));
|
||||
});
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## app.t(text, options)
|
||||
|
||||
## ctx.i18n
|
||||
|
||||
ctx.i18n 是全局 app.i18n 的 cloneInstance,每个请求的 ctx 完全独立,根据客户端语言响应多语言信息。
|
||||
|
||||
客户端请求参数可以放在 query string 里
|
||||
|
||||
```bash
|
||||
GET /?locale=en-US HTTP/1.1
|
||||
Host: localhost:13000
|
||||
```
|
||||
|
||||
也可以放在 request headers 里(推荐)
|
||||
|
||||
```bash
|
||||
GET / HTTP/1.1
|
||||
Host: localhost:13000
|
||||
X-Locale: en-US
|
||||
```
|
||||
|
||||
示例
|
||||
|
||||
```ts
|
||||
export class PluginSampleI18nServer extends Plugin {
|
||||
load() {
|
||||
this.app.use(async (ctx, next) => {
|
||||
if (ctx.path === '/api/test-i18n') {
|
||||
ctx.body = `${ctx.i18n.t('Hello')} ${ctx.i18n.t('World')}`;
|
||||
}
|
||||
await next();
|
||||
});
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
查看 http://localhost:13000/api/test-i18n?locale=zh-CN
|
||||
|
||||
## ctx.t(text, options)
|
||||
|
||||
## plugin.t()
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
# ResourceManager
|
||||
|
||||
## resourceManager.registerActionHandlers()
|
||||
|
||||
## resourceManager.define()
|
||||
|
||||
## resourceManager.use()
|
||||
@@ -1,29 +1,10 @@
|
||||
---
|
||||
displayName: 权限控制
|
||||
displayName: "权限控制"
|
||||
packageName: '@nocobase/plugin-acl'
|
||||
supportedVersions:
|
||||
- 1.x
|
||||
- 2.x
|
||||
defaultInstalled: true
|
||||
description: "基于角色、资源和操作的权限控制,可以精确控制界面配置权限、数据操作权限、菜单访问权限、插件权限。"
|
||||
isFree: true
|
||||
description: 基于角色、资源和操作的权限控制,可以精确控制界面配置权限、数据操作权限、菜单访问权限、插件权限。
|
||||
outline: false
|
||||
sidebar: false
|
||||
builtIn: true
|
||||
defaultEnabled: true
|
||||
---
|
||||
|
||||
# 权限控制
|
||||
|
||||
## 使用手册
|
||||
|
||||
- [文档1](#)
|
||||
- [文档2](#)
|
||||
|
||||
## 开发指南
|
||||
|
||||
- [文档1](#)
|
||||
- [文档2](#)
|
||||
|
||||
## 更新日志
|
||||
|
||||
- [文档1](#)
|
||||
- [文档2](#)
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "操作:批量编辑"
|
||||
packageName: '@nocobase/plugin-action-bulk-edit'
|
||||
description: "对全部数据或选中的数据进行批量编辑。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 操作:批量编辑
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "操作:批量更新"
|
||||
packageName: '@nocobase/plugin-action-bulk-update'
|
||||
description: "对全部数据或选中的数据进行批量更新。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 操作:批量更新
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "操作:自定义请求"
|
||||
packageName: '@nocobase/plugin-action-custom-request'
|
||||
description: "向任意 HTTP 服务发送请求,支持将上下文数据发送给目标服务。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 操作:自定义请求
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "操作:复制记录"
|
||||
packageName: '@nocobase/plugin-action-duplicate'
|
||||
description: "复制一条记录,可以复制到表单中编辑后再提交,也可以直接复制并生成一条新记录。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 操作:复制记录
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "操作:导出记录 Pro"
|
||||
packageName: '@nocobase/plugin-action-export-pro'
|
||||
description: "增强数据导出功能。异步导出,支持大数据量。支持导出附件。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 操作:导出记录 Pro
|
||||
@@ -1,12 +0,0 @@
|
||||
---
|
||||
displayName: 操作:导出 Pro
|
||||
packageName: '@nocobase/plugin-action-export-pro'
|
||||
supportedVersions:
|
||||
- 1.x
|
||||
- 2.x
|
||||
points: 2
|
||||
defaultInstalled: false
|
||||
description: 增强数据导出功能。异步导出,支持大数据量。支持导出附件。
|
||||
---
|
||||
|
||||
# 操作:导出 Pro
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "操作:导出记录"
|
||||
packageName: '@nocobase/plugin-action-export'
|
||||
description: "导出筛选后的记录到 Excel 中,可以配置导出哪些字段。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 操作:导出记录
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "操作:导入记录 Pro"
|
||||
packageName: '@nocobase/plugin-action-import-pro'
|
||||
description: "增强数据导入功能。异步导入,支持大数据量。支持识别数据处理、更新数据、工作流触发等特性。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 操作:导入记录 Pro
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "操作:导入记录"
|
||||
packageName: '@nocobase/plugin-action-import'
|
||||
description: "使用 Excel 模板导入数据,可以配置导入哪些字段,自动生成模板。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 操作:导入记录
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "操作:打印"
|
||||
packageName: '@nocobase/plugin-action-print'
|
||||
description: "调用浏览器的打印功能实现单条数据的打印。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 操作:打印
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
displayName: "模板打印"
|
||||
packageName: '@nocobase/plugin-action-template-print'
|
||||
supportedVersions:
|
||||
- 1.x
|
||||
- 2.x
|
||||
description: "支持用户在 NocoBase 应用内打印模板。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 模板打印
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "AI LLM:GigaChat"
|
||||
packageName: '@nocobase/plugin-ai-gigachat'
|
||||
description: "支持接入 GigaChat LLM 服务。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# AI LLM:GigaChat
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "AI: 知识库"
|
||||
packageName: '@nocobase/plugin-ai-knowledge-base'
|
||||
description: "支持接入向量数据库,将文档向量化,为 AI 员工提供智能检索与知识支持。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# AI: 知识库
|
||||
@@ -1,26 +1,10 @@
|
||||
---
|
||||
displayName: AI 员工
|
||||
displayName: "AI 员工"
|
||||
packageName: '@nocobase/plugin-ai'
|
||||
supportedVersions:
|
||||
- 2.x
|
||||
description: 创建各种技能的 AI 员工,与人类协同,搭建系统,处理业务。
|
||||
description: "创建各种技能的 AI 员工,与人类协同,搭建系统,处理业务。"
|
||||
isFree: true
|
||||
defaultInstalled: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# AI 员工
|
||||
|
||||
## 使用手册
|
||||
|
||||
- [文档1](#)
|
||||
- [文档2](#)
|
||||
|
||||
## 开发指南
|
||||
|
||||
- [文档1](#)
|
||||
- [文档2](#)
|
||||
|
||||
## 更新日志
|
||||
|
||||
- [文档1](#)
|
||||
- [文档2](#)
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "API 文档"
|
||||
packageName: '@nocobase/plugin-api-doc'
|
||||
description: "NocoBase HTTP API 的 OpenAPI 文档生成器。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# API 文档
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "认证:API 密钥"
|
||||
packageName: '@nocobase/plugin-api-keys'
|
||||
description: "允许用户使用 API 密钥访问应用的 HTTP API"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 认证:API 密钥
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "异步任务管理器"
|
||||
packageName: '@nocobase/plugin-async-task-manager'
|
||||
description: "管理和监控数据导入导出等异步任务。支持任务进度跟踪和通知。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 异步任务管理器
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "审计日志"
|
||||
packageName: '@nocobase/plugin-audit-logger'
|
||||
description: "跟踪并记录系统内的用户活动和资源操作"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 审计日志
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
displayName: "审计日志(废弃)"
|
||||
packageName: '@nocobase/plugin-audit-logs'
|
||||
description: "该插件已废弃,请勿使用,未来将有新的审计日志插件。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
deprecated: true
|
||||
---
|
||||
|
||||
# 审计日志(废弃)
|
||||
|
||||
> 注意:本插件已废弃(deprecated)。
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "认证:CAS"
|
||||
packageName: '@nocobase/plugin-auth-cas'
|
||||
description: "通过 CAS 协议认证身份。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 认证:CAS
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "认证:钉钉"
|
||||
packageName: '@nocobase/plugin-auth-dingtalk'
|
||||
description: "通过钉钉账号认证身份。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 认证:钉钉
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "认证:LDAP"
|
||||
packageName: '@nocobase/plugin-auth-ldap'
|
||||
description: "通过 LDAP 协议认证身份。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 认证:LDAP
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "认证:OIDC"
|
||||
packageName: '@nocobase/plugin-auth-oidc'
|
||||
description: "通过 OIDC (OpenID Connect) 协议认证身份。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 认证:OIDC
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "认证:SAML 2.0"
|
||||
packageName: '@nocobase/plugin-auth-saml'
|
||||
description: "通过 SAML 2.0 协议认证身份。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 认证:SAML 2.0
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "认证:短信"
|
||||
packageName: '@nocobase/plugin-auth-sms'
|
||||
description: "通过短信验证码认证身份。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 认证:短信
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "企业微信"
|
||||
packageName: '@nocobase/plugin-auth-wecom'
|
||||
description: "提供企业微信集成的能力,包括认证方式、通知渠道和用户数据同步来源。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 企业微信
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "用户认证"
|
||||
packageName: '@nocobase/plugin-auth'
|
||||
description: "用户认证管理,包括基础的密码认证、短信认证、SSO 协议的认证等,可扩展。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 用户认证
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "应用的备份与还原(废弃)"
|
||||
packageName: '@nocobase/plugin-backup-restore'
|
||||
description: "备份和还原应用,可用于应用的复制、迁移、升级等场景。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 应用的备份与还原(废弃)
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "备份管理器"
|
||||
packageName: '@nocobase/plugin-backups'
|
||||
description: "提供备份与还原功能,支持定时备份,确保数据安全与快速恢复。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 备份管理器
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "区块:网格卡片"
|
||||
packageName: '@nocobase/plugin-block-grid-card'
|
||||
description: "以栅格列表形式展示数据,支持分页设置"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 区块:网格卡片
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "区块:iframe"
|
||||
packageName: '@nocobase/plugin-block-iframe'
|
||||
description: "在页面上创建和管理iframe,用于嵌入和展示外部网页或内容。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 区块:iframe
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "区块:列表"
|
||||
packageName: '@nocobase/plugin-block-list'
|
||||
description: "以列表形式展示数据,支持分页设置"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 区块:列表
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "Markdown"
|
||||
packageName: '@nocobase/plugin-block-markdown'
|
||||
description: "提供Markdown 区块"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# Markdown
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "区块:分步表单"
|
||||
packageName: '@nocobase/plugin-block-multi-step-form'
|
||||
description: "将包含很多字段的表单分成多个步骤填写,以减轻用户的负担。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 区块:分步表单
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "区块:引用"
|
||||
packageName: '@nocobase/plugin-block-reference'
|
||||
description: "此插件为实验性功能,生产环境请谨慎使用。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 区块:引用
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "区块:模板(已废弃)"
|
||||
packageName: '@nocobase/plugin-block-template'
|
||||
description: "创建和管理区块模板,用于在页面中重复使用。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 区块:模板(已废弃)
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "区块:树"
|
||||
packageName: '@nocobase/plugin-block-tree'
|
||||
description: "提供树结构的筛选区块"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 区块:树
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "区块:操作面板"
|
||||
packageName: '@nocobase/plugin-block-workbench'
|
||||
description: "集中管理和展示各种操作,方便用户快速执行任务。支持扩展,目前支持的操作类型有弹窗、链接、扫描、自定义请求。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 区块:操作面板
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "日历"
|
||||
packageName: '@nocobase/plugin-calendar'
|
||||
description: "提供日历数据表模板和区块,用于管理日期数据,通常用于事件、约会、任务等与日期/时间相关的信息。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 日历
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
displayName: "图表(废弃)"
|
||||
packageName: '@nocobase/plugin-charts'
|
||||
description: "已废弃插件,请使用数据可视化插件代替。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
deprecated: true
|
||||
---
|
||||
|
||||
# 图表(废弃)
|
||||
|
||||
> 注意:本插件已废弃(deprecated)。
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "WEB 客户端"
|
||||
packageName: '@nocobase/plugin-client'
|
||||
description: "为 NocoBase 服务端提供客户端界面"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# WEB 客户端
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据表:连接外部数据(FDW)"
|
||||
packageName: '@nocobase/plugin-collection-fdw'
|
||||
description: "基于数据库的 foreign data wrapper(FDW) 实现的连接远程数据表,目前支持 MySQL 和 PostgreSQL 数据库。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据表:连接外部数据(FDW)
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据表: SQL"
|
||||
packageName: '@nocobase/plugin-collection-sql'
|
||||
description: "提供 SQL 数据表模板"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据表: SQL
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据表:树"
|
||||
packageName: '@nocobase/plugin-collection-tree'
|
||||
description: "提供树数据表模板"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据表:树
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "评论"
|
||||
packageName: '@nocobase/plugin-comments'
|
||||
description: "提供评论数据表模板和区块,为任意数据表的数据添加评论功能。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 评论
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "自定义品牌"
|
||||
packageName: '@nocobase/plugin-custom-brand'
|
||||
description: "可定制品牌名字和更多品牌相关信息。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 自定义品牌
|
||||
@@ -1,26 +0,0 @@
|
||||
---
|
||||
displayName: 自定义品牌
|
||||
packageName: '@nocobase/plugin-custom-brand'
|
||||
supportedVersions:
|
||||
- 1.x
|
||||
- 2.x
|
||||
editionLevel: 1
|
||||
description: 可定制品牌名字和更多品牌相关信息。
|
||||
---
|
||||
|
||||
# 自定义品牌
|
||||
|
||||
## 使用手册
|
||||
|
||||
- [文档1](#)
|
||||
- [文档2](#)
|
||||
|
||||
## 开发指南
|
||||
|
||||
- [文档1](#)
|
||||
- [文档2](#)
|
||||
|
||||
## 更新日志
|
||||
|
||||
- [文档1](#)
|
||||
- [文档2](#)
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "自定义变量"
|
||||
packageName: '@nocobase/plugin-custom-variables'
|
||||
description: "支持新增和使用自定义变量"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 自定义变量
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据源:外部 MariaDB"
|
||||
packageName: '@nocobase/plugin-data-source-external-mariadb'
|
||||
description: "使用外部的 MariaDB 数据库作为数据源。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据源:外部 MariaDB
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据源:外部 SQL Server"
|
||||
packageName: '@nocobase/plugin-data-source-external-mssql'
|
||||
description: "使用外部的 SQL Server 数据库作为数据源。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据源:外部 SQL Server
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据源:外部 MySQL"
|
||||
packageName: '@nocobase/plugin-data-source-external-mysql'
|
||||
description: "使用外部的 MySQL 数据库作为数据源。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据源:外部 MySQL
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据源:外部 Oracle"
|
||||
packageName: '@nocobase/plugin-data-source-external-oracle'
|
||||
description: "使用外部的 Oracle 数据库作为数据源。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据源:外部 Oracle
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据源:外部 PostgreSQL"
|
||||
packageName: '@nocobase/plugin-data-source-external-postgres'
|
||||
description: "使用外部的 PostgreSQL 数据库作为数据源。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据源:外部 PostgreSQL
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据源:人大金仓(KingbaseES)"
|
||||
packageName: '@nocobase/plugin-data-source-kingbase'
|
||||
description: "使用人大金仓(KingbaseES)数据库作为数据源,可以作为主数据库,也可以作为外部数据库使用。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据源:人大金仓(KingbaseES)
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据源:主数据库"
|
||||
packageName: '@nocobase/plugin-data-source-main'
|
||||
description: "NocoBase 主数据库,支持 PostgreSQL、MySQL、MariaDB 等关系型数据库。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据源:主数据库
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据源管理"
|
||||
packageName: '@nocobase/plugin-data-source-manager'
|
||||
description: "管理数据源,包括内置的 Master 数据库,外部的数据库、API。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据源管理
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据源:REST API"
|
||||
packageName: '@nocobase/plugin-data-source-rest-api'
|
||||
description: "使用外部 REST API 数据源。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据源:REST API
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据可视化:EChrats"
|
||||
packageName: '@nocobase/plugin-data-visualization-echarts'
|
||||
description: "使用 ECharts 实现数据可视化,支持漏斗图、雷达图等更多图表类型,并提供更友好的可视化配置。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据可视化:EChrats
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据可视化"
|
||||
packageName: '@nocobase/plugin-data-visualization'
|
||||
description: "提供数据可视化功能,包含图表区块和图表筛选区块,支持折线图、面积图、柱状图等十几种图表,你也可以扩展更多图表类型。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据可视化
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "部门"
|
||||
packageName: '@nocobase/plugin-departments'
|
||||
description: "以部门来组织用户,设定上下级关系,绑定角色控制权限,并支持作为变量用于工作流和表达式。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 部门
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "邮件管理"
|
||||
packageName: '@nocobase/plugin-email-manager'
|
||||
description: "接入 Gmail、Outlook 等企业邮箱,在 NocoBase 中收取和发送邮件,就像在其他 CRM 产品中一样。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 邮件管理
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "嵌入 NocoBase"
|
||||
packageName: '@nocobase/plugin-embed'
|
||||
description: "将 NocoBase 嵌入外部系统或页面中,使其成为该系统或页面的一部分。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 嵌入 NocoBase
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "变量和密钥"
|
||||
packageName: '@nocobase/plugin-environment-variables'
|
||||
description: "集中管理环境变量和密钥,用于敏感数据存储、配置数据重用、多环境隔离等。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 变量和密钥
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "错误处理器"
|
||||
packageName: '@nocobase/plugin-error-handler'
|
||||
description: "处理应用程序中的错误和异常。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 错误处理器
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据表字段:附件(URL)"
|
||||
packageName: '@nocobase/plugin-field-attachment-url'
|
||||
description: "支持 URL 格式的附件。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据表字段:附件(URL)
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据表字段:中国行政区划"
|
||||
packageName: '@nocobase/plugin-field-china-region'
|
||||
description: "提供中国行政区划数据和字段类型。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据表字段:中国行政区划
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据表字段:代码"
|
||||
packageName: '@nocobase/plugin-field-code'
|
||||
description: "用于代码编辑和高亮显示,支持 Java、JavaScript、Python、SQL 等语言。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据表字段:代码
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "字段组件:掩码"
|
||||
packageName: '@nocobase/plugin-field-component-mask'
|
||||
description: "根据配置的规则将指定数据进行掩码显示,支持基本数据类型。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 字段组件:掩码
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据表字段:公式"
|
||||
packageName: '@nocobase/plugin-field-formula'
|
||||
description: "可以配置并存储同一条记录的多字段值之间的计算结果,支持 Math.js 和 Excel formula functions 两种引擎"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据表字段:公式
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据表字段:多对多 (数组)"
|
||||
packageName: '@nocobase/plugin-field-m2m-array'
|
||||
description: "支持通过在数组中存储目标表唯一键的方式建立多对多关系。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据表字段:多对多 (数组)
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据表字段:Markdown(Vditor)"
|
||||
packageName: '@nocobase/plugin-field-markdown-vditor'
|
||||
description: "用于存储 Markdown,并使用 Vditor 编辑器渲染,支持常见 Markdown 语法,如列表,代码,引用等,并支持上传图片,录音等。同时可以做到即时渲染,所见即所得。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据表字段:Markdown(Vditor)
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据表字段:自动编码"
|
||||
packageName: '@nocobase/plugin-field-sequence'
|
||||
description: "根据配置的规则自动生成编码,支持日期、数字、文本的组合。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据表字段:自动编码
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "数据表字段:排序"
|
||||
packageName: '@nocobase/plugin-field-sort'
|
||||
description: "用于对数据表的数据进行排序。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 数据表字段:排序
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "文件管理器"
|
||||
packageName: '@nocobase/plugin-file-manager'
|
||||
description: "提供文件存储服务,并提供了文件表模板和附件字段。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 文件管理器
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "Office 文件预览"
|
||||
packageName: '@nocobase/plugin-file-previewer-office'
|
||||
description: "基于微软在线服务预览 Office 文件的插件。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# Office 文件预览
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "文件存储:S3 (Pro)"
|
||||
packageName: '@nocobase/plugin-file-storage-s3-pro'
|
||||
description: "支持兼容 S3 协议的文件存储类型,例如亚马逊 S3、阿里云 OSS、腾讯云 COS、MinIO 等。支持文件直传、私有访问。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 文件存储:S3 (Pro)
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "前端流引擎"
|
||||
packageName: '@nocobase/plugin-flow-engine'
|
||||
description: ""
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 前端流引擎
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "表单草稿"
|
||||
packageName: '@nocobase/plugin-form-drafts'
|
||||
description: "支持在填写表单时保存草稿,稍后可继续编辑与提交。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 表单草稿
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "区块:甘特图"
|
||||
packageName: '@nocobase/plugin-gantt'
|
||||
description: "提供甘特图区块。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 区块:甘特图
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "可视化数据表管理"
|
||||
packageName: '@nocobase/plugin-graph-collection-manager'
|
||||
description: "类似 ER 图的工具,目前只支持主数据库。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 可视化数据表管理
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "IP 限制"
|
||||
packageName: '@nocobase/plugin-ip-restriction'
|
||||
description: " 通过设置 IP 黑名单和白名单,实现对系统访问权限的控制,确保安全性。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# IP 限制
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "区块:看板"
|
||||
packageName: '@nocobase/plugin-kanban'
|
||||
description: "提供看板区块。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 区块:看板
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "授权设置"
|
||||
packageName: '@nocobase/plugin-license'
|
||||
description: "实例 ID 和授权密钥设置"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 授权设置
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "翻译测试工具"
|
||||
packageName: '@nocobase/plugin-locale-tester'
|
||||
description: ""
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 翻译测试工具
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "本地化"
|
||||
packageName: '@nocobase/plugin-localization'
|
||||
description: "支持管理应用程序的本地化资源。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 本地化
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "Redis 分布式锁适配器"
|
||||
packageName: '@nocobase/plugin-lock-adapter-redis'
|
||||
description: "基于 Redis 的分布式锁实现"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# Redis 分布式锁适配器
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "日志"
|
||||
packageName: '@nocobase/plugin-logger'
|
||||
description: "服务端日志,主要包括接口请求日志和系统运行日志,并支持打包和下载日志文件。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 日志
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "区块:地图"
|
||||
packageName: '@nocobase/plugin-map'
|
||||
description: "地图区块,支持高德地图和 Google 地图,你也可以扩展更多地图类型。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 区块:地图
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "迁移管理"
|
||||
packageName: '@nocobase/plugin-migration-manager'
|
||||
description: "用于将配置内容从一个产品环境迁移到另一个产品环境。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 迁移管理
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
displayName: "移动端(已废弃)"
|
||||
packageName: '@nocobase/plugin-mobile-client'
|
||||
description: "提供移动端页面配置的能力。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
deprecated: true
|
||||
---
|
||||
|
||||
# 移动端(已废弃)
|
||||
|
||||
> 注意:本插件已废弃(deprecated)。
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "移动端(已废弃)"
|
||||
packageName: '@nocobase/plugin-mobile'
|
||||
description: "提供移动端页面配置的能力。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 移动端(已废弃)
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "多应用管理器(已废弃)"
|
||||
packageName: '@nocobase/plugin-multi-app-manager'
|
||||
description: "多应用以进程共享的方式运行,仅适合测试和演示环境,生产环境下请勿使用。"
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 多应用管理器(已废弃)
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
displayName: "多应用数据表共享"
|
||||
packageName: '@nocobase/plugin-multi-app-share-collection'
|
||||
description: ""
|
||||
isFree: true
|
||||
builtIn: true
|
||||
defaultEnabled: false
|
||||
deprecated: true
|
||||
---
|
||||
|
||||
# 多应用数据表共享
|
||||
|
||||
> 注意:本插件已废弃(deprecated)。
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "多应用"
|
||||
packageName: '@nocobase/plugin-multi-app'
|
||||
description: "在一个父应用中创建、管理和运行多个独立的子应用实例。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 多应用
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
displayName: "多关键词筛选"
|
||||
packageName: '@nocobase/plugin-multi-keyword-filter'
|
||||
description: "支持常见字段的多关键词筛选,支持快捷输入或从 Excel 批量导入关键词。"
|
||||
isFree: false
|
||||
builtIn: false
|
||||
defaultEnabled: false
|
||||
---
|
||||
|
||||
# 多关键词筛选
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user