比特派官网app|univer
univer: Univer 是一套开源的企业文档和数据协作解决方案,包括电子表格、文档和幻灯片。 Univer 高度可扩展的设计允许开发人员轻松地定制个性化功能。
univer: Univer 是一套开源的企业文档和数据协作解决方案,包括电子表格、文档和幻灯片。 Univer 高度可扩展的设计允许开发人员轻松地定制个性化功能。
登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
Gitee AI
NEW
我知道了
查看详情
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
2
Star
18
Fork
4
Dream Num / univer
代码
Issues
0
Pull Requests
0
统计
流水线
服务
Gitee Pages
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
我知道了,不再自动展开
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号?
立即登录
返回
dev
管理
管理
分支 (2)
标签 (12)
dev
main
v0.1.2
v0.1.1
v0.1.0
v0.1.0-beta.5
v0.1.0-beta.4
v0.1.0-beta.3
v0.1.0-beta.2
v0.1.0-beta.1
v0.1.0-beta.0
v0.1.0-alpha.3
v0.1.0-alpha.2
v0.1.0-alpha.1
克隆/下载
克隆/下载
HTTPS
SSH
SVN
SVN+SSH
下载ZIP
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
git config --global user.name userName
git config --global user.email userEmail
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1
生成 RSA 密钥
2
获取 RSA 公钥内容,并配置到 SSH公钥 中
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com':
#
私人令牌
新建文件
新建 Diagram 文件
新建子模块
上传文件
分支 2
标签 12
贡献代码
同步代码
创建 Pull Request
了解更多
对比差异
通过 Pull Request 同步
同步更新到分支
通过 Pull Request 同步
将会在向当前分支创建一个 Pull Request,合入后将完成同步
Univer
feat(formula): support cubeValueObject (#1...
1c77658
1852 次提交
提交
取消
提示:
由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
.github
保存
取消
.husky
保存
取消
.vscode
保存
取消
common
保存
取消
docs
保存
取消
e2e
保存
取消
examples
保存
取消
packages
保存
取消
.editorconfig
保存
取消
.gitignore
保存
取消
.npmrc
保存
取消
.nvmrc
保存
取消
.release-it.json
保存
取消
CHANGELOG.md
保存
取消
CODE_OF_CONDUCT.md
保存
取消
CONTRIBUTING.md
保存
取消
LICENSE
保存
取消
README-ja.md
保存
取消
README-zh.md
保存
取消
README.md
保存
取消
codecov.yml
保存
取消
commitlint.config.cjs
保存
取消
eslint.config.js
保存
取消
package.json
保存
取消
playwright.config.ts
保存
取消
pnpm-lock.yaml
保存
取消
pnpm-workspace.yaml
保存
取消
turbo.json
保存
取消
Loading...
README
Apache-2.0
English
|
简体中文
|
日本語
该项目仍在开发中,请注意可能会有较大的 API 变更。欢迎向我们提交问题以及建议。
介绍
Univer 是一套企业文档与数据协同解决方案,包括电子表格、文档和幻灯片三大文档类型,高可扩展性设计使得开发者可以在 Univer 的基础上定制个性化功能。
Univer 的功能特性包括:
支持电子表格,后续还会支持文档和幻灯片
高度可扩展的架构设计
插件化架构,文档的能力可按需组合,支持自定义插件,方便二次开发
提供组件库和图标以帮助开发者呈现一致的用户体验
⚡ 高性能
✏️ 统一高效的渲染引擎和公式引擎,基于 Canvas
高性能的公式引擎,支持 Web Worker
国际化支持
点击这里以了解 Univer 目前已经推出的功能。
例子
链接
预览
多实例在同一个网页中运行多个 Univer 实例
Uniscript使用 Uniscript 来自动化工作流
使用
我们建议通过将 Univer 作为 npm 包使用,请参考文档上的快速开始小节。我们还准备了一个在线 playground,你无需在本地安装 Univer 就可以体验使用 Univer 开发。
Univer 基于插件化架构设计,你可以安装以下包来增强 Univer 的功能。
Packages
包名
描述
版本
core
Univer 核心包,实现 Univer 架构和插件机制、基础服务,以及各个文档类型的基本模型
design
实现 Univer 设计语言,提供了一套 CSS 以及一套基于 React 的组件
docs
实现了富文本文档的基本业务,同时支持其他业务的文本编辑
docs-ui
实现了富文本文档的用户交互
engine-formula
实现公式引擎
engine-numfmt
实现数字格式引擎
engine-render
实现渲染引擎
facade
提供了一个让 Univer 更加易用的 API 层
find-replace
实现 Univer 的查找替换
network
实现了 Univer 的网络服务,包括 WebSocket 和 HTTP。
rpc
实现 RPC 机制,以及在主从文档副本之间同步数据的方法,方便 web worker 等跨线程场景的开发
sheets
实现电子表格的基本业务
sheets-find-replace
实现电子表格的查找替换
sheets-formula
实现电子表格的公式编辑
sheets-numfmt
实现电子表格中的数字格式编辑
sheets-zen-editor
实现电子表格中的禅编辑模式
sheets-ui
实现电子表格的用户交互
ui
实现基本的用户交互服务,并基于 React 提供了一套桌面端的交互布局
uniscript (实验性)
一套基于 TypeScript 的 DSL,让用户可以通过脚本语言操纵 Univer 完成更复杂的任务
贡献
我们欢迎各种形式的贡献,你可以向我们提交问题或功能请求。请先阅读我们的贡献指南。
如果你想要提交代码,也请先阅读贡献指南,它会指导你如何在本地搭建开发环境以及提交 pull request。
赞助
Univer 持续稳定发展离不开它的支持者和赞助者,如果你想要支持我们的项目,请考虑成为我们的赞助者。你可以通过 Open Collective 赞助我们。
感谢支持我们的赞助者,受篇幅限制,仅列举部分,排名不分先后:
关注者
链接
文档
在线 Playground
官方网站
社区
Discord 社区
Github Discussions
微信扫描下方二维码,加入 Univer 中文社群
授权
Univer 基于 Apache-2.0 协议分发。
上海梦数科技有限公司 2023 版权所有
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
Starred
18
Star
18
Fork
4
捐赠
0 人次
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
举报类型
请选择举报类型
举报原因
取消
发送
误判申诉
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
取消
提交
简介
Univer 是一套开源的企业文档和数据协作解决方案,包括电子表格、文档和幻灯片。 Univer 高度可扩展的设计允许开发人员轻松地定制个性化功能。
展开
收起
暂无标签
TypeScript
等 3 种语言
TypeScript
97.9%
Less
1.9%
JavaScript
0.2%
Apache-2.0
使用 Apache-2.0 开源许可协议
Code of conduct
保存更改
取消
发行版
暂无发行版
贡献者
全部
近期动态
加载更多
不能加载更多了
编辑仓库简介
简介内容
Univer 是一套开源的企业文档和数据协作解决方案,包括电子表格、文档和幻灯片。 Univer 高度可扩展的设计允许开发人员轻松地定制个性化功能。
主页
取消
保存更改
TypeScript
1
https://gitee.com/dream-num/univer.git
git@gitee.com:dream-num/univer.git
dream-num
univer
univer
dev
深圳市奥思网络科技有限公司版权所有
Git 大全
Git 命令学习
CopyCat 代码克隆检测
APP与插件下载
Gitee Reward
Gitee 封面人物
GVP 项目
Gitee 博客
Gitee 公益计划
Gitee 持续集成
OpenAPI
帮助文档
在线自助服务
更新日志
关于我们
加入我们
使用条款
意见建议
合作伙伴
售前咨询客服
技术交流QQ群
微信服务号
client#oschina.cn
企业版在线使用:400-606-0201
专业版私有部署:
13670252304
13352947997
开放原子开源基金会
合作代码托管平台
违法和不良信息举报中心
粤ICP备12009483号
简 体
/
繁 體
/
English
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册
安装和引入 | Univer Docs
装和引入 | Univer Docs跳转到内容 Univer Docs æ�œç´¢ å�–消 GitHub Discord 选择主题 深色浅色自动 选择è¯è¨€ 简体ä¸æ–‡English日本èª� 🔰 指å�— Univer 介ç»� 快速上手 安装和引入 åŠ è½½æ•°æ�®å’Œå˜å‚¨æ•°æ�® 扩展 Univer 国际化 使用 UMD 简å�•ä½¿ç”¨ Univer 使用 Facade æ“�作范围 注册公å¼� 创建 Websocket 功能一览 其他å�‘行版 常è§�问题 路线图 贡献指å�— æ�¶æ�„ Univer æ�¶æ�„ å…¬å¼�引æ“�æ�¶æ�„设计 渲染引æ“�æ�¶æ�„设计 Web Worker æ�¶æ�„ æ�’件 common @univerjs/core @univerjs/design @univerjs/engine-formula @univerjs/engine-numfmt @univerjs/engine-render @univerjs/facade @univerjs/icons @univerjs/network @univerjs/rpc @univerjs/ui @univerjs/uniscript experimental docs @univerjs/docs @univerjs/docs-ui experimental sheets @univerjs/sheets @univerjs/sheets-formula @univerjs/sheets-numfmt @univerjs/sheets-ui @univerjs/sheets-zen-editor 扩展 扩展命令 æ�’件自定义模å�‹ æ�ƒé™� 自定义主题 拓展 UI 自定义æ�’件 æº�ç �阅读指引 💼 æœ�务端ç§�有部署 功能介ç»� 部署指å�— 🔌 API Reference 🧩 Playground GitHub Discord 选择主题 深色浅色自动 选择è¯è¨€ 简体ä¸æ–‡English日本èª� 本页内容 概述 安装 使用 更多 本页内容 概述 安装 使用 更多 安装和引入 我们æ�¨è��使用 Viteã€�esbuild 或 Webpack 5 ç‰å¯¹ ES Module 支æŒ�较好的æ�„建工具æ�¥æ�„建 Univer 应用。如æ�œä½ 使用了其它æ�„建工具(例如 Webpack 4),å�¯èƒ½ä¼šéœ€è¦�一些é¢�外的é…�置,请阅读 更多 以å�Š 常è§�问题 è�·å�–更多信æ�¯ã€‚
安装
Univer çš„å‰�端通过多个 npm 包å�‘å¸ƒï¼Œä½ å�¯ä»¥æ ¹æ�®éœ€è¦�安装对应的包。
安装 Sheets 所需的包:
npm pnpm ��使用 npm >= 8.0.0,以便自动安装 peerDependencies。Terminal windownpm install @univerjs/core @univerjs/design @univerjs/docs @univerjs/docs-ui @univerjs/engine-formula @univerjs/engine-render @univerjs/sheets @univerjs/sheets-formula @univerjs/sheets-ui @univerjs/ui Terminal windowpnpm add @univerjs/core @univerjs/design @univerjs/docs @univerjs/docs-ui @univerjs/engine-formula @univerjs/engine-render @univerjs/sheets @univerjs/sheets-formula @univerjs/sheets-ui @univerjs/ui
使用
ä½ éœ€è¦�在项目ä¸å¼•å…¥ Univer çš„æ ·å¼�文件,以å�Šä¸€äº›å¿…è¦�çš„æ�’件:
main.tsimport "@univerjs/design/lib/index.css";import "@univerjs/ui/lib/index.css";import "@univerjs/docs-ui/lib/index.css";import "@univerjs/sheets-ui/lib/index.css";import "@univerjs/sheets-formula/lib/index.css";
import { Univer } from "@univerjs/core";import { defaultTheme } from "@univerjs/design";import { UniverDocsPlugin } from "@univerjs/docs";import { UniverDocsUIPlugin } from "@univerjs/docs-ui";import { UniverFormulaEnginePlugin } from "@univerjs/engine-formula";import { UniverRenderEnginePlugin } from "@univerjs/engine-render";import { UniverSheetsPlugin } from "@univerjs/sheets";import { UniverSheetsFormulaPlugin } from "@univerjs/sheets-formula";import { UniverSheetsUIPlugin } from "@univerjs/sheets-ui";import { UniverUIPlugin } from "@univerjs/ui";
然�创建一个 Univer �例,并注册这些�件:
main.tsconst univer = new Univer({ theme: defaultTheme,});
// core pluginsuniver.registerPlugin(UniverRenderEnginePlugin);univer.registerPlugin(UniverFormulaEnginePlugin);univer.registerPlugin(UniverUIPlugin, { container: "app", header: true, toolbar: true, footer: true,});
// doc pluginsuniver.registerPlugin(UniverDocsPlugin, { hasScroll: false,});univer.registerPlugin(UniverDocsUIPlugin);
// sheet pluginsuniver.registerPlugin(UniverSheetsPlugin);univer.registerPlugin(UniverSheetsUIPlugin);univer.registerPlugin(UniverSheetsFormulaPlugin);
注æ„�,在注册 UniverUIPlugin çš„æ—¶å€™ï¼Œä½ éœ€è¦�ä¼ é€’ä¸€ä¸ª container å�‚数,这个å�‚数是一个 CSS 选择器,用äº�指定 Univer çš„å®¹å™¨å…ƒç´ ã€‚
注æ„�ä½ å�¯ä»¥é€šè¿‡åˆ›å»ºå¤šä¸ª Univer 对象,并在注册 UniverUIPlugin æ—¶æ��ä¾›ä¸�å�Œçš„容器,ä»�而在一个页é�¢ä¸Šåˆ›å»ºå¤šä¸ª Univerï¼�请å�‚考我们的 playground。
最�通过 createUniverSheet 方法创建一个空白的 Univer Sheet:
main.tsuniver.createUniverSheet({});
å…³äº�如何在新创建的 Univer åŠ è½½ç”µå�è¡¨æ ¼ï¼Œè¯·å�‚考下一节。
更多
我们æ��ä¾›äº†ä¸€äº›ç¤ºä¾‹å¸®åŠ©ä½ åœ¨ä¸�å�Œçš„脚手æ�¶å·¥å…·ä¸å¼•å…¥ Univer:
Vite
Webpack 4
ä½ å�¯ä»¥é€šè¿‡