dream-num / univer Goto Github PK
View Code? Open in Web Editor NEWUniver is a set of enterprise document and data collaboration solutions, integrating spreadsheets, documents, and slides.
Home Page: https://univer.ai
License: Apache License 2.0
Univer is a set of enterprise document and data collaboration solutions, integrating spreadsheets, documents, and slides.
Home Page: https://univer.ai
License: Apache License 2.0
比如公司会设置一些单据或者工单,模板肯定是不能让用户编辑的,只能编辑可填项,这种需求目前有API可以实现吗?
Implements basic components and services to improve code reuse and provide consistent behavior across different plugins and platforms.
Deadline Oct 14, 2023
Message
Button
Icon
: integrate @univerjs/icon
Input
@DushusirInputNumber
@DushusirContainer
Layout
Slider
Tooltip
Services should be platform-agnostic.
IMessageService
Deadline Oct 27, 2023
Dropdown
CanvasIcon
: rename CanvasIcon
to BorderLine
Menu
Item
NeoCustomLabel
CustomLabel
: completely deprecate theCustomLabel
componentSelect
ColorPicker
ColorPickerCircleButton
Deadline Nov 4, 2023
Tabs
Dialog
: rename Modal
to Dialog
Notification
@DushusirConfirm
INotificationService
@DushusirIDialogService
IConfirmService
Deadline Nov 11, 2023
CellRange
Collapse
Separator
ResizeDialog
SiderModal
Avatar
Checkbox
CheckboxGroup
Radio
RadioGroup
Drag
Slot
Modal
Not in plan
DatePicker
The last step to Univer Architecture Ready milestone is to clean up legacy code.
SheetInterceptorService
ViewModel
CellEditorService
移除 Worksheet
Workbook
Range
RangeList
上的 mutate 方法,接入新的命令系统
Univer很惊艳,能把Office三大利器制作成在线编辑这个难度极高。
但是,我们目前遇到的最大问题其实是:在线预览Word和Excel
这个需求极大,或者说这个是刚需,至于在线编辑Word和Excel,反而并不那么大。
因为,更多用户还是喜欢用Office软件本地编辑。
所以,希望能最先开发这个功能:在线预览Word和Excel。
(1)比如 https://officeweb365.com?src=Word_Online_URL
(2)微软的 https://view.officeapps.live.com/op/view.aspx?src=URL
(3)葡萄城的开发组件 https://www.grapecity.com.cn/ 等
都是通过云服务收费,提供在线预览。
你这个如果做成这种最好,通过URL传递远程word或者exel, 然后在线预览。
https://dream-num.github.io/doc?url=http://xx.com/test.docx
https://dream-num.github.io/xls?url=http://xx.com/test.xls
很高兴能看到这么优秀的开源项目,通过架构介绍和源码结构,让我学到了很多。
我虽然看到了README中宏伟的开发计划,但是作为新人,想要参与开发,也很难找到切入点。
因此,斗胆建议管理员使用issue将研发任务拆分到issue中。
I found that the framework core records all user commands in the _undoStack
, including non editing operations such as selecting cells.
This results in if I modify the table content and frequently switch between selected cells, and then want to undo the modified content, I will need to click the undo button multiple times.
I have a problem with the setRangeMerge function. When I try to use it I get the following error:
api.js:3114
Uncaught TypeError: Cannot set properties of undefined (setting '9_3')
at Object.setRangeMerge (api.js:3094:41)
at UnisciCelle (prova_LuckySheet.html:45:20)
at HTMLInputElement.onclick (prova_LuckySheet.html:21:98)
This is my code:
<script src="https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/plugins/js/plugin.js"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/luckysheet.umd.js "></script><title>EasyGrooming</title>
<input type='button' id='btnUnisci' value='Unisci celle' onclick='UnisciCelle()'>
<input type='button' id='btnLeggiCella' value='Leggi cella' onclick='LeggiCella()'>
<div id="luckysheet" style="margin:0px;padding:0px;position:absolute;width:600px;height:70%;"></div>
<script>
$(function ()
{
//Configuration item
var options = {
container: 'luckysheet' //luckysheet is the container id
};
luckysheet.create(options);
});
function UnisciCelle()
{
alert("Here I am!");
luckysheet.cancelFrozen();
luckysheet.setRangeMerge("all", "D10:E15");
}
function LeggiCella()
{
luckysheet.setRowHeight({5:50, 6:80});
luckysheet.setCellValue(3, 4, "puppa");
luckysheet.setCellFormat(4, 5, "bd", {borderType: "border-right",style: "1", color: "#ff0000"});
luckysheet.setRangeShow("D10:E15");
var sVal = luckysheet.getCellValue(0, 0);
alert("Valore : " + sVal);
}
</script>
</html>
Can somebody help me?
Many thanks
什么时候才有正式的使用文档呢?
运行npm run dev:sheet报错Uncaught SyntaxError: The requested module '/@fs/F:/univer/packages/core/src/DI/Decorators.ts?t=1689907140611' does not provide an export named 'AsyncDependencyItem'
To the developers who will be responsible for implementing these features, please ensure that:
To reach this milestone, we should diligently implement essential components and fundamental features, with the aim of providing a solid foundation to support future advancements and developments.
Deadline October 21th, 2023
How do I export or save it?
I can't find the exported code
no
我尝试使用npm安装发现失败了
Component
and PureComponent
packages/base-ui/src/Framework/Preact.tsx
Focus on transforming the core. After the structure is stable, plug-ins will be involved
Architecture related tasks
worksheet
workbook
should be split into model and api, the former only includes snapshot and get related, the latter is set modification @eiji-thStyles
module changed to worksheet. When transferring, the modification of the worksheet does not depend on the workbook, and the two are decoupled @eiji-thAction
Apply
@DushusirServer
@DushusirInterface
Enum
Types
Const
These directories are merged into the Types
directory @Dushusir./index
支持把插入图片设置背景吗
Select one or more cells, click to set the text color, and then click the undo button three times to return to the previous state.
请问作者 这个现在怎么使用呢,需要下载源码后自己打包,和luckysheet一样?
Facade expose API to SDK users and it also serves as an interpreter of AppScript.
有没有后端的代码呀,谢谢
exports
in pluginsCommandManager
用了lucksheet2.0感觉功能很好,就是没有导出,用了别人的导出的方法都不太好。在这里蹲一个最新的包
Range
RangeList
and other models should not rely on ICurrentUniverService
.
Range
RangeList
Workbook
Worksheet
好像都还是在开发状态?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.