@univerjs/uniscript 0.4.0-alpha.0 → 0.4.0-nightly.202410121605
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/abap-BZS-1p12.js +6 -0
- package/lib/abap-D8H3nII2.mjs +1404 -0
- package/lib/apex-B2xdRF0k.js +6 -0
- package/lib/apex-BVHYDV51.mjs +334 -0
- package/lib/azcli-BwJ4gbR1.mjs +74 -0
- package/lib/azcli-CKk2q0zF.js +6 -0
- package/lib/bat-BDmMqWXx.mjs +106 -0
- package/lib/bat-Ehz5Z_mk.js +6 -0
- package/lib/bicep-B5L2IbSj.mjs +110 -0
- package/lib/bicep-WbLMPUMj.js +7 -0
- package/lib/cameligo-B_ldnAvM.js +6 -0
- package/lib/cameligo-CmyOPZUd.mjs +180 -0
- package/lib/cjs/index.js +1 -9
- package/lib/clojure-Dg-qgg-1.js +6 -0
- package/lib/clojure-iSXHsTlR.mjs +767 -0
- package/lib/coffee-BCg0pb49.js +6 -0
- package/lib/coffee-BUCk2FHC.mjs +238 -0
- package/lib/cpp-CJWZ7Zo7.js +6 -0
- package/lib/cpp-MUyeqRt5.mjs +395 -0
- package/lib/csharp-B9vyMfVU.mjs +332 -0
- package/lib/csharp-BZypj8XG.js +6 -0
- package/lib/csp-BfXxGnNN.js +6 -0
- package/lib/csp-CbylPXe5.mjs +59 -0
- package/lib/css-BPDnvT2s.js +8 -0
- package/lib/css-BQSMT8k7.mjs +193 -0
- package/lib/cssMode-B_of5tVd.js +9 -0
- package/lib/cssMode-BuX-eUHc.mjs +1604 -0
- package/lib/cypher-3bNWMNCJ.js +6 -0
- package/lib/cypher-D7IWy_82.mjs +269 -0
- package/lib/dart-BCVbUKaH.mjs +287 -0
- package/lib/dart-C9Glm5m-.js +6 -0
- package/lib/dockerfile-CjnlcV5o.js +6 -0
- package/lib/dockerfile-D2-hSnDX.mjs +136 -0
- package/lib/ecl-DRJlPmOb.mjs +462 -0
- package/lib/ecl-UyoSfv7F.js +6 -0
- package/lib/elixir-Bol0p0Ia.js +6 -0
- package/lib/elixir-D8NBXKCb.mjs +575 -0
- package/lib/es/index.js +5 -262
- package/lib/flow9-Be1OUdJl.js +6 -0
- package/lib/flow9-Dp7h8rKW.mjs +148 -0
- package/lib/freemarker2-D8-fH4uC.mjs +1001 -0
- package/lib/freemarker2-S5ay_GEf.js +8 -0
- package/lib/fsharp-CJxdVP7r.mjs +223 -0
- package/lib/fsharp-CKIYWNYJ.js +6 -0
- package/lib/go-DWj6zslQ.js +6 -0
- package/lib/go-IPaMO3Uz.mjs +224 -0
- package/lib/graphql-BzJpwfxN.js +6 -0
- package/lib/graphql-CMoDK5uf.mjs +157 -0
- package/lib/handlebars-CEMNnGaU.mjs +427 -0
- package/lib/handlebars-CM3PRDRO.js +6 -0
- package/lib/hcl-BCY6T0iq.js +6 -0
- package/lib/hcl-BTAYK4pT.mjs +189 -0
- package/lib/html-BSUn7oJR.mjs +316 -0
- package/lib/html-Df-Osxjs.js +6 -0
- package/lib/htmlMode-Bj4CfAzA.js +9 -0
- package/lib/htmlMode-xJPwX0cD.mjs +1615 -0
- package/lib/index-D6nY5NdF.mjs +116821 -0
- package/lib/index-rYV4VmC2.js +1163 -0
- package/lib/index.css +1 -1
- package/lib/ini-CC3_THb4.js +6 -0
- package/lib/ini-CiaphB6F.mjs +77 -0
- package/lib/java-CwRV8Dsg.js +6 -0
- package/lib/java-DxksziCw.mjs +238 -0
- package/lib/javascript-D1eKEotE.js +6 -0
- package/lib/javascript-c8D1_K05.mjs +76 -0
- package/lib/jsonMode-8-L3-E9k.mjs +2042 -0
- package/lib/jsonMode-BdBVsN9_.js +15 -0
- package/lib/julia-7Z1jwT4W.js +6 -0
- package/lib/julia-TTty8och.mjs +517 -0
- package/lib/kotlin-BAXgl2QX.js +6 -0
- package/lib/kotlin-Dzand-bM.mjs +259 -0
- package/lib/less-CSG9Zdoy.js +7 -0
- package/lib/less-CWDFQI_i.mjs +168 -0
- package/lib/lexon-BiTtMD9F.js +6 -0
- package/lib/lexon-bZpjZioh.mjs +163 -0
- package/lib/liquid-BmlJOXgY.js +6 -0
- package/lib/liquid-Bs7DM5cg.mjs +248 -0
- package/lib/lua-CoWYKXUu.mjs +168 -0
- package/lib/lua-o7UTFJ05.js +6 -0
- package/lib/m3-DIJY3uEe.mjs +216 -0
- package/lib/m3-DOYTRLxi.js +6 -0
- package/lib/markdown-CDlkMTMZ.mjs +235 -0
- package/lib/markdown-Di5faXtP.js +6 -0
- package/lib/mdx-BEI71kqO.mjs +173 -0
- package/lib/mdx-DJV2KJ98.js +6 -0
- package/lib/mips-CIiuS33B.mjs +204 -0
- package/lib/mips-CjGjcf9D.js +6 -0
- package/lib/msdax-4_jBeazN.mjs +381 -0
- package/lib/msdax-DZFpIwAH.js +6 -0
- package/lib/mysql-6Y0DL_eO.js +6 -0
- package/lib/mysql-D_KZRjSR.mjs +884 -0
- package/lib/objective-c-7nsY1fc1.mjs +189 -0
- package/lib/objective-c-BtrzMwBz.js +6 -0
- package/lib/pascal-BF06Dt9I.js +6 -0
- package/lib/pascal-BHpF9PW1.mjs +257 -0
- package/lib/pascaligo-BDrxVOcH.js +6 -0
- package/lib/pascaligo-C3mRbxmU.mjs +170 -0
- package/lib/perl-BMlqAyyD.js +6 -0
- package/lib/perl-F3tWDMLI.mjs +632 -0
- package/lib/pgsql-D62t1RD_.mjs +857 -0
- package/lib/pgsql-DXYBcnYD.js +6 -0
- package/lib/php-C8GGPjjI.mjs +506 -0
- package/lib/php-DmDmMNs3.js +6 -0
- package/lib/pla-2A6q3K8_.js +6 -0
- package/lib/pla-C_W_x2fV.mjs +143 -0
- package/lib/postiats-CMS8WwLg.mjs +913 -0
- package/lib/postiats-DQ-6iLGI.js +6 -0
- package/lib/powerquery-CuZPk7NC.js +6 -0
- package/lib/powerquery-Dcs0XplE.mjs +896 -0
- package/lib/powershell-Brx1N_3T.mjs +245 -0
- package/lib/powershell-D7BqJxnS.js +6 -0
- package/lib/protobuf-CkqkhuUG.js +7 -0
- package/lib/protobuf-UEJDuX6l.mjs +426 -0
- package/lib/pug-65DF18O8.js +6 -0
- package/lib/pug-LDwDmrMc.mjs +408 -0
- package/lib/python-BOeTitp9.mjs +309 -0
- package/lib/python-DRyE-VQQ.js +6 -0
- package/lib/qsharp-Cb7hPwnM.mjs +307 -0
- package/lib/qsharp-Dw07PXbd.js +6 -0
- package/lib/r-BHuY0po5.js +6 -0
- package/lib/r-BiFgSgcs.mjs +249 -0
- package/lib/razor-D0RPXCAO.mjs +558 -0
- package/lib/razor-DtDOotKq.js +6 -0
- package/lib/redis-BdzqoKC2.mjs +308 -0
- package/lib/redis-_Q4kv9ug.js +6 -0
- package/lib/redshift-DNNCHCLR.js +6 -0
- package/lib/redshift-Df6PoiEL.mjs +815 -0
- package/lib/restructuredtext-C9FM3r80.js +6 -0
- package/lib/restructuredtext-CW0ZtQ2l.mjs +180 -0
- package/lib/ruby-DyIFepcy.mjs +517 -0
- package/lib/ruby-DyJmXCYh.js +6 -0
- package/lib/rust-BiRHKB0S.mjs +349 -0
- package/lib/rust-DVvzZ_uH.js +6 -0
- package/lib/sb-CFwmZh3c.js +6 -0
- package/lib/sb-CahkGwPC.mjs +121 -0
- package/lib/scala-Cg9Wfw6B.mjs +376 -0
- package/lib/scala-DjaRe0PR.js +6 -0
- package/lib/scheme-Bqb0wlMX.mjs +114 -0
- package/lib/scheme-ZdeLzG0d.js +6 -0
- package/lib/scss-3qd2syug.mjs +268 -0
- package/lib/scss-Dqv1RljX.js +8 -0
- package/lib/shell-B5iW6U-v.mjs +227 -0
- package/lib/shell-BJ5zD_-e.js +6 -0
- package/lib/solidity-8Ys0iSgd.mjs +1373 -0
- package/lib/solidity-CagYWQAe.js +6 -0
- package/lib/sophia-PnZfErC3.mjs +205 -0
- package/lib/sophia-szuux90p.js +6 -0
- package/lib/sparql-CXz1-gkd.js +6 -0
- package/lib/sparql-CgWX-KRM.mjs +207 -0
- package/lib/sql-CN3Vg4Sm.mjs +859 -0
- package/lib/sql-CWZ5x4mg.js +6 -0
- package/lib/st-CcWMPoh3.js +6 -0
- package/lib/st-DKDuarOh.mjs +422 -0
- package/lib/swift-DUBoAkDR.js +8 -0
- package/lib/swift-DnXH6Con.mjs +318 -0
- package/lib/systemverilog-5hQzl-99.js +6 -0
- package/lib/systemverilog-pJOgZU46.mjs +582 -0
- package/lib/tcl-Bls9iNXn.mjs +238 -0
- package/lib/tcl-CiK0GhJi.js +6 -0
- package/lib/tsMode-BB2mDc5d.mjs +906 -0
- package/lib/tsMode-N-LS5RKx.js +16 -0
- package/lib/twig-B14HEeE0.mjs +398 -0
- package/lib/twig-Cbq-Ua-E.js +6 -0
- package/lib/typescript-CZplv8KD.js +6 -0
- package/lib/typescript-f9PHTVoW.mjs +351 -0
- package/lib/typespec-Br_LC070.js +6 -0
- package/lib/typespec-dAaIdBal.mjs +125 -0
- package/lib/umd/index.js +1914 -2
- package/lib/vb-B1HzwoGL.js +6 -0
- package/lib/vb-CPBujGrP.mjs +378 -0
- package/lib/wgsl-BNAUPMiJ.js +303 -0
- package/lib/wgsl-CqCqdnZC.mjs +448 -0
- package/lib/xml-BSe-ETnG.js +6 -0
- package/lib/xml-Dv0cmUxw.mjs +103 -0
- package/lib/yaml-O_DoXtBP.js +6 -0
- package/lib/yaml-eXS7QSgG.mjs +214 -0
- package/package.json +9 -16
- package/LICENSE +0 -176
@@ -0,0 +1,214 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
|
3
|
+
import { m as monaco_editor_core_star } from "./index-D6nY5NdF.mjs";
|
4
|
+
/*!-----------------------------------------------------------------------------
|
5
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
6
|
+
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
7
|
+
* Released under the MIT license
|
8
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
9
|
+
*-----------------------------------------------------------------------------*/
|
10
|
+
var __defProp2 = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __hasOwnProp = Object.prototype.hasOwnProperty, __copyProps = /* @__PURE__ */ __name((to, from, except, desc) => {
|
11
|
+
if (from && typeof from == "object" || typeof from == "function")
|
12
|
+
for (let key of __getOwnPropNames(from))
|
13
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp2(to, key, { get: /* @__PURE__ */ __name(() => from[key], "get"), enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
14
|
+
return to;
|
15
|
+
}, "__copyProps"), __reExport = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget), "__reExport"), monaco_editor_core_exports = {};
|
16
|
+
__reExport(monaco_editor_core_exports, monaco_editor_core_star);
|
17
|
+
var conf = {
|
18
|
+
comments: {
|
19
|
+
lineComment: "#"
|
20
|
+
},
|
21
|
+
brackets: [
|
22
|
+
["{", "}"],
|
23
|
+
["[", "]"],
|
24
|
+
["(", ")"]
|
25
|
+
],
|
26
|
+
autoClosingPairs: [
|
27
|
+
{ open: "{", close: "}" },
|
28
|
+
{ open: "[", close: "]" },
|
29
|
+
{ open: "(", close: ")" },
|
30
|
+
{ open: '"', close: '"' },
|
31
|
+
{ open: "'", close: "'" }
|
32
|
+
],
|
33
|
+
surroundingPairs: [
|
34
|
+
{ open: "{", close: "}" },
|
35
|
+
{ open: "[", close: "]" },
|
36
|
+
{ open: "(", close: ")" },
|
37
|
+
{ open: '"', close: '"' },
|
38
|
+
{ open: "'", close: "'" }
|
39
|
+
],
|
40
|
+
folding: {
|
41
|
+
offSide: !0
|
42
|
+
},
|
43
|
+
onEnterRules: [
|
44
|
+
{
|
45
|
+
beforeText: /:\s*$/,
|
46
|
+
action: {
|
47
|
+
indentAction: monaco_editor_core_exports.languages.IndentAction.Indent
|
48
|
+
}
|
49
|
+
}
|
50
|
+
]
|
51
|
+
}, language = {
|
52
|
+
tokenPostfix: ".yaml",
|
53
|
+
brackets: [
|
54
|
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
55
|
+
{ token: "delimiter.square", open: "[", close: "]" }
|
56
|
+
],
|
57
|
+
keywords: ["true", "True", "TRUE", "false", "False", "FALSE", "null", "Null", "Null", "~"],
|
58
|
+
numberInteger: /(?:0|[+-]?[0-9]+)/,
|
59
|
+
numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
|
60
|
+
numberOctal: /0o[0-7]+/,
|
61
|
+
numberHex: /0x[0-9a-fA-F]+/,
|
62
|
+
numberInfinity: /[+-]?\.(?:inf|Inf|INF)/,
|
63
|
+
numberNaN: /\.(?:nan|Nan|NAN)/,
|
64
|
+
numberDate: /\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,
|
65
|
+
escapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
66
|
+
tokenizer: {
|
67
|
+
root: [
|
68
|
+
{ include: "@whitespace" },
|
69
|
+
{ include: "@comment" },
|
70
|
+
// Directive
|
71
|
+
[/%[^ ]+.*$/, "meta.directive"],
|
72
|
+
// Document Markers
|
73
|
+
[/---/, "operators.directivesEnd"],
|
74
|
+
[/\.{3}/, "operators.documentEnd"],
|
75
|
+
// Block Structure Indicators
|
76
|
+
[/[-?:](?= )/, "operators"],
|
77
|
+
{ include: "@anchor" },
|
78
|
+
{ include: "@tagHandle" },
|
79
|
+
{ include: "@flowCollections" },
|
80
|
+
{ include: "@blockStyle" },
|
81
|
+
// Numbers
|
82
|
+
[/@numberInteger(?![ \t]*\S+)/, "number"],
|
83
|
+
[/@numberFloat(?![ \t]*\S+)/, "number.float"],
|
84
|
+
[/@numberOctal(?![ \t]*\S+)/, "number.octal"],
|
85
|
+
[/@numberHex(?![ \t]*\S+)/, "number.hex"],
|
86
|
+
[/@numberInfinity(?![ \t]*\S+)/, "number.infinity"],
|
87
|
+
[/@numberNaN(?![ \t]*\S+)/, "number.nan"],
|
88
|
+
[/@numberDate(?![ \t]*\S+)/, "number.date"],
|
89
|
+
// Key:Value pair
|
90
|
+
[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/, ["type", "white", "operators", "white"]],
|
91
|
+
{ include: "@flowScalars" },
|
92
|
+
// String nodes
|
93
|
+
[
|
94
|
+
/.+?(?=(\s+#|$))/,
|
95
|
+
{
|
96
|
+
cases: {
|
97
|
+
"@keywords": "keyword",
|
98
|
+
"@default": "string"
|
99
|
+
}
|
100
|
+
}
|
101
|
+
]
|
102
|
+
],
|
103
|
+
// Flow Collection: Flow Mapping
|
104
|
+
object: [
|
105
|
+
{ include: "@whitespace" },
|
106
|
+
{ include: "@comment" },
|
107
|
+
// Flow Mapping termination
|
108
|
+
[/\}/, "@brackets", "@pop"],
|
109
|
+
// Flow Mapping delimiter
|
110
|
+
[/,/, "delimiter.comma"],
|
111
|
+
// Flow Mapping Key:Value delimiter
|
112
|
+
[/:(?= )/, "operators"],
|
113
|
+
// Flow Mapping Key:Value key
|
114
|
+
[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/, "type"],
|
115
|
+
// Start Flow Style
|
116
|
+
{ include: "@flowCollections" },
|
117
|
+
{ include: "@flowScalars" },
|
118
|
+
// Scalar Data types
|
119
|
+
{ include: "@tagHandle" },
|
120
|
+
{ include: "@anchor" },
|
121
|
+
{ include: "@flowNumber" },
|
122
|
+
// Other value (keyword or string)
|
123
|
+
[
|
124
|
+
/[^\},]+/,
|
125
|
+
{
|
126
|
+
cases: {
|
127
|
+
"@keywords": "keyword",
|
128
|
+
"@default": "string"
|
129
|
+
}
|
130
|
+
}
|
131
|
+
]
|
132
|
+
],
|
133
|
+
// Flow Collection: Flow Sequence
|
134
|
+
array: [
|
135
|
+
{ include: "@whitespace" },
|
136
|
+
{ include: "@comment" },
|
137
|
+
// Flow Sequence termination
|
138
|
+
[/\]/, "@brackets", "@pop"],
|
139
|
+
// Flow Sequence delimiter
|
140
|
+
[/,/, "delimiter.comma"],
|
141
|
+
// Start Flow Style
|
142
|
+
{ include: "@flowCollections" },
|
143
|
+
{ include: "@flowScalars" },
|
144
|
+
// Scalar Data types
|
145
|
+
{ include: "@tagHandle" },
|
146
|
+
{ include: "@anchor" },
|
147
|
+
{ include: "@flowNumber" },
|
148
|
+
// Other value (keyword or string)
|
149
|
+
[
|
150
|
+
/[^\],]+/,
|
151
|
+
{
|
152
|
+
cases: {
|
153
|
+
"@keywords": "keyword",
|
154
|
+
"@default": "string"
|
155
|
+
}
|
156
|
+
}
|
157
|
+
]
|
158
|
+
],
|
159
|
+
// First line of a Block Style
|
160
|
+
multiString: [[/^( +).+$/, "string", "@multiStringContinued.$1"]],
|
161
|
+
// Further lines of a Block Style
|
162
|
+
// Workaround for indentation detection
|
163
|
+
multiStringContinued: [
|
164
|
+
[
|
165
|
+
/^( *).+$/,
|
166
|
+
{
|
167
|
+
cases: {
|
168
|
+
"$1==$S2": "string",
|
169
|
+
"@default": { token: "@rematch", next: "@popall" }
|
170
|
+
}
|
171
|
+
}
|
172
|
+
]
|
173
|
+
],
|
174
|
+
whitespace: [[/[ \t\r\n]+/, "white"]],
|
175
|
+
// Only line comments
|
176
|
+
comment: [[/#.*$/, "comment"]],
|
177
|
+
// Start Flow Collections
|
178
|
+
flowCollections: [
|
179
|
+
[/\[/, "@brackets", "@array"],
|
180
|
+
[/\{/, "@brackets", "@object"]
|
181
|
+
],
|
182
|
+
// Start Flow Scalars (quoted strings)
|
183
|
+
flowScalars: [
|
184
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
185
|
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
186
|
+
[/'[^']*'/, "string"],
|
187
|
+
[/"/, "string", "@doubleQuotedString"]
|
188
|
+
],
|
189
|
+
doubleQuotedString: [
|
190
|
+
[/[^\\"]+/, "string"],
|
191
|
+
[/@escapes/, "string.escape"],
|
192
|
+
[/\\./, "string.escape.invalid"],
|
193
|
+
[/"/, "string", "@pop"]
|
194
|
+
],
|
195
|
+
// Start Block Scalar
|
196
|
+
blockStyle: [[/[>|][0-9]*[+-]?$/, "operators", "@multiString"]],
|
197
|
+
// Numbers in Flow Collections (terminate with ,]})
|
198
|
+
flowNumber: [
|
199
|
+
[/@numberInteger(?=[ \t]*[,\]\}])/, "number"],
|
200
|
+
[/@numberFloat(?=[ \t]*[,\]\}])/, "number.float"],
|
201
|
+
[/@numberOctal(?=[ \t]*[,\]\}])/, "number.octal"],
|
202
|
+
[/@numberHex(?=[ \t]*[,\]\}])/, "number.hex"],
|
203
|
+
[/@numberInfinity(?=[ \t]*[,\]\}])/, "number.infinity"],
|
204
|
+
[/@numberNaN(?=[ \t]*[,\]\}])/, "number.nan"],
|
205
|
+
[/@numberDate(?=[ \t]*[,\]\}])/, "number.date"]
|
206
|
+
],
|
207
|
+
tagHandle: [[/\![^ ]*/, "tag"]],
|
208
|
+
anchor: [[/[&*][^ ]+/, "namespace"]]
|
209
|
+
}
|
210
|
+
};
|
211
|
+
export {
|
212
|
+
conf,
|
213
|
+
language
|
214
|
+
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@univerjs/uniscript",
|
3
|
-
"version": "0.4.0-
|
3
|
+
"version": "0.4.0-nightly.202410121605",
|
4
4
|
"private": false,
|
5
5
|
"description": "UI component library for building exceptional Univer.",
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
@@ -47,25 +47,18 @@
|
|
47
47
|
"lib"
|
48
48
|
],
|
49
49
|
"peerDependencies": {
|
50
|
-
"monaco-editor": ">=0.44.0",
|
51
50
|
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
|
52
|
-
"rxjs": ">=7.0.0"
|
53
|
-
"@univerjs/core": "0.4.0-alpha.0",
|
54
|
-
"@univerjs/design": "0.4.0-alpha.0",
|
55
|
-
"@univerjs/facade": "0.4.0-alpha.0",
|
56
|
-
"@univerjs/sheets": "0.4.0-alpha.0",
|
57
|
-
"@univerjs/sheets-ui": "0.4.0-alpha.0",
|
58
|
-
"@univerjs/ui": "0.4.0-alpha.0"
|
51
|
+
"rxjs": ">=7.0.0"
|
59
52
|
},
|
60
53
|
"dependencies": {
|
61
54
|
"@univerjs/protocol": "0.1.39-alpha.15",
|
62
55
|
"monaco-editor": "0.52.0",
|
63
|
-
"@univerjs/core": "0.4.0-
|
64
|
-
"@univerjs/
|
65
|
-
"@univerjs/facade": "0.4.0-
|
66
|
-
"@univerjs/sheets": "0.4.0-
|
67
|
-
"@univerjs/ui": "0.4.0-
|
68
|
-
"@univerjs/
|
56
|
+
"@univerjs/core": "0.4.0-nightly.202410121605",
|
57
|
+
"@univerjs/sheets-ui": "0.4.0-nightly.202410121605",
|
58
|
+
"@univerjs/facade": "0.4.0-nightly.202410121605",
|
59
|
+
"@univerjs/sheets": "0.4.0-nightly.202410121605",
|
60
|
+
"@univerjs/ui": "0.4.0-nightly.202410121605",
|
61
|
+
"@univerjs/design": "0.4.0-nightly.202410121605"
|
69
62
|
},
|
70
63
|
"devDependencies": {
|
71
64
|
"@types/react": "^18.3.11",
|
@@ -74,7 +67,7 @@
|
|
74
67
|
"typescript": "^5.6.3",
|
75
68
|
"vite": "^5.4.8",
|
76
69
|
"vitest": "^2.1.2",
|
77
|
-
"@univerjs-infra/shared": "0.4.0-alpha.
|
70
|
+
"@univerjs-infra/shared": "0.4.0-alpha.1"
|
78
71
|
},
|
79
72
|
"univerSpace": {
|
80
73
|
".": {
|
package/LICENSE
DELETED
@@ -1,176 +0,0 @@
|
|
1
|
-
Apache License
|
2
|
-
Version 2.0, January 2004
|
3
|
-
http://www.apache.org/licenses/
|
4
|
-
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
-
|
7
|
-
1. Definitions.
|
8
|
-
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
-
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
-
the copyright owner that is granting the License.
|
14
|
-
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
-
other entities that control, are controlled by, or are under common
|
17
|
-
control with that entity. For the purposes of this definition,
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
19
|
-
direction or management of such entity, whether by contract or
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
-
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
-
exercising permissions granted by this License.
|
25
|
-
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
27
|
-
including but not limited to software source code, documentation
|
28
|
-
source, and configuration files.
|
29
|
-
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
31
|
-
transformation or translation of a Source form, including but
|
32
|
-
not limited to compiled object code, generated documentation,
|
33
|
-
and conversions to other media types.
|
34
|
-
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
36
|
-
Object form, made available under the License, as indicated by a
|
37
|
-
copyright notice that is included in or attached to the work
|
38
|
-
(an example is provided in the Appendix below).
|
39
|
-
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
-
the Work and Derivative Works thereof.
|
47
|
-
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
49
|
-
the original version of the Work and any modifications or additions
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
-
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
64
|
-
subsequently incorporated within the Work.
|
65
|
-
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
72
|
-
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
-
where such license applies only to those patent claims licensable
|
79
|
-
by such Contributor that are necessarily infringed by their
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
82
|
-
institute patent litigation against any entity (including a
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
85
|
-
or contributory patent infringement, then any patent licenses
|
86
|
-
granted to You under this License for that Work shall terminate
|
87
|
-
as of the date such litigation is filed.
|
88
|
-
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
91
|
-
modifications, and in Source or Object form, provided that You
|
92
|
-
meet the following conditions:
|
93
|
-
|
94
|
-
(a) You must give any other recipients of the Work or
|
95
|
-
Derivative Works a copy of this License; and
|
96
|
-
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
98
|
-
stating that You changed the files; and
|
99
|
-
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
102
|
-
attribution notices from the Source form of the Work,
|
103
|
-
excluding those notices that do not pertain to any part of
|
104
|
-
the Derivative Works; and
|
105
|
-
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
108
|
-
include a readable copy of the attribution notices contained
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
111
|
-
of the following places: within a NOTICE text file distributed
|
112
|
-
as part of the Derivative Works; within the Source form or
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
114
|
-
within a display generated by the Derivative Works, if and
|
115
|
-
wherever such third-party notices normally appear. The contents
|
116
|
-
of the NOTICE file are for informational purposes only and
|
117
|
-
do not modify the License. You may add Your own attribution
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
120
|
-
that such additional attribution notices cannot be construed
|
121
|
-
as modifying the License.
|
122
|
-
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
124
|
-
may provide additional or different license terms and conditions
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
128
|
-
the conditions stated in this License.
|
129
|
-
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
133
|
-
this License, without any additional terms or conditions.
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
-
the terms of any separate license agreement you may have executed
|
136
|
-
with Licensor regarding such Contributions.
|
137
|
-
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
140
|
-
except as required for reasonable and customary use in describing the
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
-
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
152
|
-
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
158
|
-
incidental, or consequential damages of any character arising as a
|
159
|
-
result of this License or out of the use or inability to use the
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
162
|
-
other commercial damages or losses), even if such Contributor
|
163
|
-
has been advised of the possibility of such damages.
|
164
|
-
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
-
or other liability obligations and/or rights consistent with this
|
169
|
-
License. However, in accepting such obligations, You may act only
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
174
|
-
of your accepting any such warranty or additional liability.
|
175
|
-
|
176
|
-
END OF TERMS AND CONDITIONS
|