@univerjs/uniscript 0.4.1-nightly.202410291304 → 0.4.2
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/LICENSE +176 -0
- package/lib/cjs/index.js +1 -1
- package/lib/{cssMode-BFpUjq8v.js → cssMode-B_of5tVd.js} +1 -1
- package/lib/{cssMode-BCQBRdx1.mjs → cssMode-BuX-eUHc.mjs} +1 -1
- package/lib/es/index.js +1 -1
- package/lib/{freemarker2-DyRztPQN.mjs → freemarker2-D8-fH4uC.mjs} +1 -1
- package/lib/{freemarker2-DdTiSBi2.js → freemarker2-S5ay_GEf.js} +1 -1
- package/lib/{handlebars-Blgo7aqR.mjs → handlebars-CEMNnGaU.mjs} +1 -1
- package/lib/{handlebars-BcCn01qB.js → handlebars-CM3PRDRO.js} +1 -1
- package/lib/{html-CxEqoPGh.mjs → html-BSUn7oJR.mjs} +1 -1
- package/lib/{html-Babag4PV.js → html-Df-Osxjs.js} +1 -1
- package/lib/{htmlMode-BHLqs4-w.js → htmlMode-Bj4CfAzA.js} +1 -1
- package/lib/{htmlMode-DkZMCebd.mjs → htmlMode-xJPwX0cD.mjs} +1 -1
- package/lib/{index-CKu_pcs4.mjs → index-D6nY5NdF.mjs} +23 -22
- package/lib/{index-B3fJXKxC.js → index-rYV4VmC2.js} +17 -17
- package/lib/{javascript-rn8o-ead.js → javascript-D1eKEotE.js} +1 -1
- package/lib/{javascript-BaDtklYB.mjs → javascript-c8D1_K05.mjs} +1 -1
- package/lib/{jsonMode-DSD5Ik2f.mjs → jsonMode-8-L3-E9k.mjs} +1 -1
- package/lib/{jsonMode-Csu0RiVw.js → jsonMode-BdBVsN9_.js} +1 -1
- package/lib/{liquid-8CCoxyQp.js → liquid-BmlJOXgY.js} +1 -1
- package/lib/{liquid-q19teVI6.mjs → liquid-Bs7DM5cg.mjs} +1 -1
- package/lib/{mdx-PW21M9I1.mjs → mdx-BEI71kqO.mjs} +1 -1
- package/lib/{mdx-DzuJn6Wv.js → mdx-DJV2KJ98.js} +1 -1
- package/lib/{python-BwZ__8p3.mjs → python-BOeTitp9.mjs} +1 -1
- package/lib/{python-DVUPIVxh.js → python-DRyE-VQQ.js} +1 -1
- package/lib/{razor-DQMksoV9.mjs → razor-D0RPXCAO.mjs} +1 -1
- package/lib/{razor-aXktutOF.js → razor-DtDOotKq.js} +1 -1
- package/lib/{tsMode-w7xtQAYq.mjs → tsMode-BB2mDc5d.mjs} +1 -1
- package/lib/{tsMode-CnRtVXQY.js → tsMode-N-LS5RKx.js} +1 -1
- package/lib/{typescript-CHqNbo9C.js → typescript-CZplv8KD.js} +1 -1
- package/lib/{typescript-98-SUXVw.mjs → typescript-f9PHTVoW.mjs} +1 -1
- package/lib/umd/index.js +2 -2
- package/lib/{xml-DkULQKNC.js → xml-BSe-ETnG.js} +1 -1
- package/lib/{xml-9CzKJT1G.mjs → xml-Dv0cmUxw.mjs} +1 -1
- package/lib/{yaml-DNNNA-GG.js → yaml-O_DoXtBP.js} +1 -1
- package/lib/{yaml-BxP_V9uW.mjs → yaml-eXS7QSgG.mjs} +1 -1
- package/package.json +9 -9
package/LICENSE
ADDED
@@ -0,0 +1,176 @@
|
|
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
|
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const index=require("../index-
|
1
|
+
"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const index=require("../index-rYV4VmC2.js");exports.IUniscriptExecutionService=index.IUniscriptExecutionService;Object.defineProperty(exports,"ScriptEditorService",{enumerable:!0,get:__name(()=>index.ScriptEditorService,"get")});exports.ToggleScriptPanelOperation=index.ToggleScriptPanelOperation;Object.defineProperty(exports,"UniverUniscriptPlugin",{enumerable:!0,get:__name(()=>index.UniverUniscriptPlugin,"get")});
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const index=require("./index-
|
1
|
+
"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const index=require("./index-rYV4VmC2.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
4
4
|
* Released under the MIT license
|
@@ -1,6 +1,6 @@
|
|
1
1
|
var __defProp = Object.defineProperty;
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
|
3
|
-
import { m as monaco_editor_core_star } from "./index-
|
3
|
+
import { m as monaco_editor_core_star } from "./index-D6nY5NdF.mjs";
|
4
4
|
/*!-----------------------------------------------------------------------------
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
6
6
|
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
package/lib/es/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
var __defProp = Object.defineProperty;
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
|
3
|
-
import { m as monaco_editor_core_star } from "./index-
|
3
|
+
import { m as monaco_editor_core_star } from "./index-D6nY5NdF.mjs";
|
4
4
|
/*!-----------------------------------------------------------------------------
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
6
6
|
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const index=require("./index-
|
1
|
+
"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const index=require("./index-rYV4VmC2.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
4
4
|
* Released under the MIT license
|
@@ -1,6 +1,6 @@
|
|
1
1
|
var __defProp = Object.defineProperty;
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
|
3
|
-
import { m as monaco_editor_core_star } from "./index-
|
3
|
+
import { m as monaco_editor_core_star } from "./index-D6nY5NdF.mjs";
|
4
4
|
/*!-----------------------------------------------------------------------------
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
6
6
|
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const index=require("./index-
|
1
|
+
"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const index=require("./index-rYV4VmC2.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
4
4
|
* Released under the MIT license
|
@@ -1,6 +1,6 @@
|
|
1
1
|
var __defProp = Object.defineProperty;
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
|
3
|
-
import { m as monaco_editor_core_star } from "./index-
|
3
|
+
import { m as monaco_editor_core_star } from "./index-D6nY5NdF.mjs";
|
4
4
|
/*!-----------------------------------------------------------------------------
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
6
6
|
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const index=require("./index-
|
1
|
+
"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const index=require("./index-rYV4VmC2.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
4
4
|
* Released under the MIT license
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const index=require("./index-
|
1
|
+
"use strict";var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const index=require("./index-rYV4VmC2.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
4
4
|
* Released under the MIT license
|
@@ -1,6 +1,6 @@
|
|
1
1
|
var __defProp = Object.defineProperty;
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
|
3
|
-
import { m as monaco_editor_core_star } from "./index-
|
3
|
+
import { m as monaco_editor_core_star } from "./index-D6nY5NdF.mjs";
|
4
4
|
/*!-----------------------------------------------------------------------------
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
6
6
|
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
@@ -2,11 +2,12 @@ var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value;
|
3
3
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key != "symbol" ? key + "" : key, value);
|
5
|
-
import { Disposable as Disposable$1, CommandType, toDisposable as toDisposable$1, IConfigService, createIdentifier, Inject, Injector, ILogService as ILogService$1,
|
5
|
+
import { Disposable as Disposable$1, CommandType, toDisposable as toDisposable$1, IConfigService, createIdentifier, Inject, Injector, ILogService as ILogService$1, useDependency, LocaleService, DisposableCollection, UniverInstanceType, ICommandService as ICommandService$1, Plugin } from "@univerjs/core";
|
6
6
|
import { ISidebarService, IShortcutService, IMessageService, MenuItemType, getMenuHiddenObservable, RibbonStartGroup, ComponentManager, IMenuManagerService } from "@univerjs/ui";
|
7
7
|
import { BehaviorSubject, distinctUntilChanged } from "rxjs";
|
8
8
|
import require$$0, { useRef, useEffect, useCallback } from "react";
|
9
9
|
import { Button as Button$1, MessageType } from "@univerjs/design";
|
10
|
+
import { FUniver } from "@univerjs/facade";
|
10
11
|
import { getCurrentRangeDisable$ } from "@univerjs/sheets-ui";
|
11
12
|
import { WorkbookEditablePermission, WorksheetEditPermission, WorksheetSetCellStylePermission, WorksheetSetCellValuePermission, RangeProtectionPermissionEditPoint } from "@univerjs/sheets";
|
12
13
|
const PLUGIN_CONFIG_KEY = "uniscript.config", defaultPluginConfig = {}, _ScriptPanelService = class _ScriptPanelService extends Disposable$1 {
|
@@ -80542,37 +80543,37 @@ registerLanguage({
|
|
80542
80543
|
id: "freemarker2",
|
80543
80544
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
80544
80545
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
80545
|
-
loader: /* @__PURE__ */ __name(() => import("./freemarker2-
|
80546
|
+
loader: /* @__PURE__ */ __name(() => import("./freemarker2-D8-fH4uC.mjs").then((m2) => m2.TagAutoInterpolationDollar), "loader")
|
80546
80547
|
});
|
80547
80548
|
registerLanguage({
|
80548
80549
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
80549
80550
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
80550
|
-
loader: /* @__PURE__ */ __name(() => import("./freemarker2-
|
80551
|
+
loader: /* @__PURE__ */ __name(() => import("./freemarker2-D8-fH4uC.mjs").then((m2) => m2.TagAngleInterpolationDollar), "loader")
|
80551
80552
|
});
|
80552
80553
|
registerLanguage({
|
80553
80554
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
80554
80555
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
80555
|
-
loader: /* @__PURE__ */ __name(() => import("./freemarker2-
|
80556
|
+
loader: /* @__PURE__ */ __name(() => import("./freemarker2-D8-fH4uC.mjs").then((m2) => m2.TagBracketInterpolationDollar), "loader")
|
80556
80557
|
});
|
80557
80558
|
registerLanguage({
|
80558
80559
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
80559
80560
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
80560
|
-
loader: /* @__PURE__ */ __name(() => import("./freemarker2-
|
80561
|
+
loader: /* @__PURE__ */ __name(() => import("./freemarker2-D8-fH4uC.mjs").then((m2) => m2.TagAngleInterpolationBracket), "loader")
|
80561
80562
|
});
|
80562
80563
|
registerLanguage({
|
80563
80564
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
80564
80565
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
80565
|
-
loader: /* @__PURE__ */ __name(() => import("./freemarker2-
|
80566
|
+
loader: /* @__PURE__ */ __name(() => import("./freemarker2-D8-fH4uC.mjs").then((m2) => m2.TagBracketInterpolationBracket), "loader")
|
80566
80567
|
});
|
80567
80568
|
registerLanguage({
|
80568
80569
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
80569
80570
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
80570
|
-
loader: /* @__PURE__ */ __name(() => import("./freemarker2-
|
80571
|
+
loader: /* @__PURE__ */ __name(() => import("./freemarker2-D8-fH4uC.mjs").then((m2) => m2.TagAutoInterpolationDollar), "loader")
|
80571
80572
|
});
|
80572
80573
|
registerLanguage({
|
80573
80574
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
80574
80575
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
80575
|
-
loader: /* @__PURE__ */ __name(() => import("./freemarker2-
|
80576
|
+
loader: /* @__PURE__ */ __name(() => import("./freemarker2-D8-fH4uC.mjs").then((m2) => m2.TagAutoInterpolationBracket), "loader")
|
80576
80577
|
});
|
80577
80578
|
/*!-----------------------------------------------------------------------------
|
80578
80579
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -80610,7 +80611,7 @@ registerLanguage({
|
|
80610
80611
|
extensions: [".handlebars", ".hbs"],
|
80611
80612
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
80612
80613
|
mimetypes: ["text/x-handlebars-template"],
|
80613
|
-
loader: /* @__PURE__ */ __name(() => import("./handlebars-
|
80614
|
+
loader: /* @__PURE__ */ __name(() => import("./handlebars-CEMNnGaU.mjs"), "loader")
|
80614
80615
|
});
|
80615
80616
|
/*!-----------------------------------------------------------------------------
|
80616
80617
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -80635,7 +80636,7 @@ registerLanguage({
|
|
80635
80636
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
80636
80637
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
80637
80638
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
80638
|
-
loader: /* @__PURE__ */ __name(() => import("./html-
|
80639
|
+
loader: /* @__PURE__ */ __name(() => import("./html-BSUn7oJR.mjs"), "loader")
|
80639
80640
|
});
|
80640
80641
|
/*!-----------------------------------------------------------------------------
|
80641
80642
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -80676,7 +80677,7 @@ registerLanguage({
|
|
80676
80677
|
filenames: ["jakefile"],
|
80677
80678
|
aliases: ["JavaScript", "javascript", "js"],
|
80678
80679
|
mimetypes: ["text/javascript"],
|
80679
|
-
loader: /* @__PURE__ */ __name(() => import("./javascript-
|
80680
|
+
loader: /* @__PURE__ */ __name(() => import("./javascript-c8D1_K05.mjs"), "loader")
|
80680
80681
|
});
|
80681
80682
|
/*!-----------------------------------------------------------------------------
|
80682
80683
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -80751,7 +80752,7 @@ registerLanguage({
|
|
80751
80752
|
extensions: [".liquid", ".html.liquid"],
|
80752
80753
|
aliases: ["Liquid", "liquid"],
|
80753
80754
|
mimetypes: ["application/liquid"],
|
80754
|
-
loader: /* @__PURE__ */ __name(() => import("./liquid-
|
80755
|
+
loader: /* @__PURE__ */ __name(() => import("./liquid-Bs7DM5cg.mjs"), "loader")
|
80755
80756
|
});
|
80756
80757
|
/*!-----------------------------------------------------------------------------
|
80757
80758
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -80787,7 +80788,7 @@ registerLanguage({
|
|
80787
80788
|
id: "mdx",
|
80788
80789
|
extensions: [".mdx"],
|
80789
80790
|
aliases: ["MDX", "mdx"],
|
80790
|
-
loader: /* @__PURE__ */ __name(() => import("./mdx-
|
80791
|
+
loader: /* @__PURE__ */ __name(() => import("./mdx-BEI71kqO.mjs"), "loader")
|
80791
80792
|
});
|
80792
80793
|
/*!-----------------------------------------------------------------------------
|
80793
80794
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -80982,7 +80983,7 @@ registerLanguage({
|
|
80982
80983
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
80983
80984
|
aliases: ["Python", "py"],
|
80984
80985
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
80985
|
-
loader: /* @__PURE__ */ __name(() => import("./python-
|
80986
|
+
loader: /* @__PURE__ */ __name(() => import("./python-BOeTitp9.mjs"), "loader")
|
80986
80987
|
});
|
80987
80988
|
/*!-----------------------------------------------------------------------------
|
80988
80989
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -81019,7 +81020,7 @@ registerLanguage({
|
|
81019
81020
|
extensions: [".cshtml"],
|
81020
81021
|
aliases: ["Razor", "razor"],
|
81021
81022
|
mimetypes: ["text/x-cshtml"],
|
81022
|
-
loader: /* @__PURE__ */ __name(() => import("./razor-
|
81023
|
+
loader: /* @__PURE__ */ __name(() => import("./razor-D0RPXCAO.mjs"), "loader")
|
81023
81024
|
});
|
81024
81025
|
/*!-----------------------------------------------------------------------------
|
81025
81026
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -81271,7 +81272,7 @@ registerLanguage({
|
|
81271
81272
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
81272
81273
|
aliases: ["TypeScript", "ts", "typescript"],
|
81273
81274
|
mimetypes: ["text/typescript"],
|
81274
|
-
loader: /* @__PURE__ */ __name(() => import("./typescript-
|
81275
|
+
loader: /* @__PURE__ */ __name(() => import("./typescript-f9PHTVoW.mjs"), "loader")
|
81275
81276
|
});
|
81276
81277
|
/*!-----------------------------------------------------------------------------
|
81277
81278
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -81339,7 +81340,7 @@ registerLanguage({
|
|
81339
81340
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
81340
81341
|
aliases: ["XML", "xml"],
|
81341
81342
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
81342
|
-
loader: /* @__PURE__ */ __name(() => import("./xml-
|
81343
|
+
loader: /* @__PURE__ */ __name(() => import("./xml-Dv0cmUxw.mjs"), "loader")
|
81343
81344
|
});
|
81344
81345
|
/*!-----------------------------------------------------------------------------
|
81345
81346
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -81352,7 +81353,7 @@ registerLanguage({
|
|
81352
81353
|
extensions: [".yaml", ".yml"],
|
81353
81354
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
81354
81355
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
81355
|
-
loader: /* @__PURE__ */ __name(() => import("./yaml-
|
81356
|
+
loader: /* @__PURE__ */ __name(() => import("./yaml-eXS7QSgG.mjs"), "loader")
|
81356
81357
|
});
|
81357
81358
|
/*!-----------------------------------------------------------------------------
|
81358
81359
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -81455,7 +81456,7 @@ var _a132, LanguageServiceDefaultsImpl$3 = (_a132 = class {
|
|
81455
81456
|
);
|
81456
81457
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
81457
81458
|
function getMode$3() {
|
81458
|
-
return import("./cssMode-
|
81459
|
+
return import("./cssMode-BuX-eUHc.mjs");
|
81459
81460
|
}
|
81460
81461
|
__name(getMode$3, "getMode$3");
|
81461
81462
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
@@ -81563,7 +81564,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
81563
81564
|
registerHTMLLanguageService
|
81564
81565
|
};
|
81565
81566
|
function getMode$2() {
|
81566
|
-
return import("./htmlMode-
|
81567
|
+
return import("./htmlMode-xJPwX0cD.mjs");
|
81567
81568
|
}
|
81568
81569
|
__name(getMode$2, "getMode$2");
|
81569
81570
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
@@ -81642,7 +81643,7 @@ var _a134, LanguageServiceDefaultsImpl$1 = (_a134 = class {
|
|
81642
81643
|
), getWorker = /* @__PURE__ */ __name(() => getMode$1().then((mode) => mode.getWorker()), "getWorker");
|
81643
81644
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults, getWorker };
|
81644
81645
|
function getMode$1() {
|
81645
|
-
return import("./jsonMode-
|
81646
|
+
return import("./jsonMode-8-L3-E9k.mjs");
|
81646
81647
|
}
|
81647
81648
|
__name(getMode$1, "getMode$1");
|
81648
81649
|
monaco_editor_core_exports$1.languages.register({
|
@@ -81807,7 +81808,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
81807
81808
|
getJavaScriptWorker
|
81808
81809
|
};
|
81809
81810
|
function getMode() {
|
81810
|
-
return import("./tsMode-
|
81811
|
+
return import("./tsMode-BB2mDc5d.mjs");
|
81811
81812
|
}
|
81812
81813
|
__name(getMode, "getMode");
|
81813
81814
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => getMode().then((mode) => mode.setupTypeScript(typescriptDefaults)));
|