@univerjs/sheets-hyper-link-ui 0.1.16 → 0.1.17
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/lib/cjs/index.js +2 -2
- package/lib/es/index.js +214 -215
- package/lib/umd/index.js +2 -2
- package/package.json +17 -19
package/lib/es/index.js
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
var Yt = Object.defineProperty;
|
|
2
2
|
var Gt = (e, t, n) => t in e ? Yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var D = (e, t, n) => Gt(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { Disposable as O, UniverInstanceType as w, OnLifecycle as N, LifecycleStages as $, IUniverInstanceService as ue, BooleanNumber as qt, ThemeService as Xt, isValidRange as Ye, LocaleService as pe, RANGE_TYPE as lt, Rectangle as ee, ICommandService as F, DEFAULT_EMPTY_DOCUMENT_VALUE as Jt, createInternalEditorID as Qt, Tools as le, CommandType as
|
|
5
|
-
import { RemoveSheetCommand as on, SheetInterceptorService as et, INTERCEPTOR_POINT as sn, SetSelectionsOperation as an, NORMAL_SELECTION_PLUGIN_NAME as cn, SetWorksheetActiveOperation as
|
|
6
|
-
import { Inject as h, Injector as
|
|
4
|
+
import { Disposable as O, UniverInstanceType as w, OnLifecycle as N, LifecycleStages as $, IUniverInstanceService as ue, BooleanNumber as qt, ThemeService as Xt, isValidRange as Ye, LocaleService as pe, RANGE_TYPE as lt, Rectangle as ee, ICommandService as F, DEFAULT_EMPTY_DOCUMENT_VALUE as Jt, createInternalEditorID as Qt, Tools as le, CommandType as He, CellValueType as en, ObjectMatrix as _t, Range as Qe, IPermissionService as tn, Plugin as nn, DependentOn as rn } from "@univerjs/core";
|
|
5
|
+
import { RemoveSheetCommand as on, SheetInterceptorService as et, INTERCEPTOR_POINT as sn, SetSelectionsOperation as an, NORMAL_SELECTION_PLUGIN_NAME as cn, SetWorksheetActiveOperation as Oe, getSheetCommandTarget as Ct, SelectionManagerService as yt, SetRangeValuesMutation as fe, SetRangeValuesUndoMutationFactory as dt, SetRangeValuesCommand as ln, ClearSelectionContentCommand as dn, ClearSelectionAllCommand as un, ClearSelectionFormatCommand as pn, WorkbookViewPermission as hn, WorksheetViewPermission as mn, RangeProtectionPermissionViewPoint as gn, WorkbookEditablePermission as Ne, WorksheetEditPermission as $e, WorksheetInsertHyperlinkPermission as Ae, RangeProtectionPermissionEditPoint as Be, WorkbookCopyPermission as fn, WorksheetCopyPermission as vn, WorksheetSetCellValuePermission as tt } from "@univerjs/sheets";
|
|
6
|
+
import { Inject as h, Injector as Ve } from "@wendellhu/redi";
|
|
7
7
|
import { RemoveHyperLinkMutation as M, AddHyperLinkMutation as x, HyperLinkModel as T, ERROR_RANGE as Ge, UpdateHyperLinkCommand as St, AddHyperLinkCommand as Lt, CancelHyperLinkCommand as _n, UniverSheetsHyperLinkPlugin as Cn } from "@univerjs/sheets-hyper-link";
|
|
8
|
-
import { SheetSkeletonManagerService as It, ScrollToRangeOperation as kt, SheetCanvasPopManagerService as yn, HoverManagerService as Sn, SheetPermissionInterceptorBaseController as Pt, whenSheetEditorFocused as Ln, getCurrentRangeDisable$ as bt, APPLY_TYPE as ne, IAutoFillService as In, virtualizeDiscreteRanges as qe, getAutoFillRepeatRange as kn, COPY_TYPE as ut, rangeToDiscreteRange as Pn, PREDEFINED_HOOK_NAME as
|
|
8
|
+
import { SheetSkeletonManagerService as It, ScrollToRangeOperation as kt, SheetCanvasPopManagerService as yn, HoverManagerService as Sn, SheetPermissionInterceptorBaseController as Pt, whenSheetEditorFocused as Ln, getCurrentRangeDisable$ as bt, APPLY_TYPE as ne, IAutoFillService as In, virtualizeDiscreteRanges as qe, getAutoFillRepeatRange as kn, COPY_TYPE as ut, rangeToDiscreteRange as Pn, PREDEFINED_HOOK_NAME as ve, getRepeatRange as bn, ISheetClipboardService as Rn } from "@univerjs/sheets-ui";
|
|
9
9
|
import { IRenderManagerService as nt } from "@univerjs/engine-render";
|
|
10
10
|
import { Subject as wn, BehaviorSubject as On, debounceTime as En } from "rxjs";
|
|
11
11
|
import Mn, { forwardRef as Z, useRef as Rt, createElement as z, useState as re, useEffect as xn, useMemo as Tn } from "react";
|
|
12
12
|
import { useDependency as k } from "@wendellhu/redi/react-bindings";
|
|
13
13
|
import pt from "clsx";
|
|
14
|
-
import { MessageType as ae, FormLayout as X, Input as ht, Select as Ze, Button as mt, Tooltip as
|
|
14
|
+
import { MessageType as ae, FormLayout as X, Input as ht, Select as Ze, Button as mt, Tooltip as _e } from "@univerjs/design";
|
|
15
15
|
import { IMessageService as wt, useObservable as Ot, useEvent as Un, RangeSelector as jn, ISidebarService as Et, KeyCode as Hn, MetaKeys as Nn, MenuItemType as Mt, MenuPosition as xt, getMenuHiddenObservable as Tt, MenuGroup as $n, ComponentManager as An, IShortcutService as Bn, IMenuService as Vn } from "@univerjs/ui";
|
|
16
|
-
import { deserializeRangeWithSheet as
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
for (var i = r > 1 ? void 0 : r ? zn(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
16
|
+
import { deserializeRangeWithSheet as Ee, serializeRangeWithSheet as Ut, IDefinedNamesService as jt, serializeRangeToRefString as Dn, serializeRange as Wn } from "@univerjs/engine-formula";
|
|
17
|
+
var Fn = Object.defineProperty, Zn = Object.getOwnPropertyDescriptor, zn = (e, t, n, r) => {
|
|
18
|
+
for (var i = r > 1 ? void 0 : r ? Zn(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
20
19
|
(s = e[o]) && (i = (r ? s(t, n, i) : s(i)) || i);
|
|
21
|
-
return r && i &&
|
|
20
|
+
return r && i && Fn(t, n, i), i;
|
|
22
21
|
}, ze = (e, t) => (n, r) => t(n, r, e);
|
|
23
|
-
let
|
|
22
|
+
let ye = class extends O {
|
|
24
23
|
constructor(e, t, n) {
|
|
25
24
|
super(), this._sheetInterceptorService = e, this._univerInstanceService = t, this._hyperLinkModel = n, this._initSheetChange();
|
|
26
25
|
}
|
|
@@ -59,16 +58,16 @@ let Ce = class extends O {
|
|
|
59
58
|
);
|
|
60
59
|
}
|
|
61
60
|
};
|
|
62
|
-
|
|
63
|
-
N($.Ready,
|
|
61
|
+
ye = zn([
|
|
62
|
+
N($.Ready, ye),
|
|
64
63
|
ze(0, h(et)),
|
|
65
64
|
ze(1, ue),
|
|
66
65
|
ze(2, h(T))
|
|
67
|
-
],
|
|
68
|
-
var
|
|
69
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
66
|
+
], ye);
|
|
67
|
+
var Kn = Object.defineProperty, Yn = Object.getOwnPropertyDescriptor, Ht = (e, t, n, r) => {
|
|
68
|
+
for (var i = r > 1 ? void 0 : r ? Yn(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
70
69
|
(s = e[o]) && (i = (r ? s(t, n, i) : s(i)) || i);
|
|
71
|
-
return r && i &&
|
|
70
|
+
return r && i && Kn(t, n, i), i;
|
|
72
71
|
}, Q = (e, t) => (n, r) => t(n, r, e);
|
|
73
72
|
let Xe = class extends O {
|
|
74
73
|
constructor(e, t, n, r) {
|
|
@@ -95,7 +94,7 @@ Xe = Ht([
|
|
|
95
94
|
Q(2, h(It)),
|
|
96
95
|
Q(3, nt)
|
|
97
96
|
], Xe);
|
|
98
|
-
let
|
|
97
|
+
let Se = class extends O {
|
|
99
98
|
constructor(e, t, n) {
|
|
100
99
|
super(), this._sheetInterceptorService = e, this._hyperLinkModel = t, this._themeService = n, this._initViewModelIntercept();
|
|
101
100
|
}
|
|
@@ -124,13 +123,13 @@ let ye = class extends O {
|
|
|
124
123
|
);
|
|
125
124
|
}
|
|
126
125
|
};
|
|
127
|
-
|
|
128
|
-
N($.Ready,
|
|
126
|
+
Se = Ht([
|
|
127
|
+
N($.Ready, Se),
|
|
129
128
|
Q(0, h(et)),
|
|
130
129
|
Q(1, h(T)),
|
|
131
130
|
Q(2, h(Xt))
|
|
132
|
-
],
|
|
133
|
-
var Nt = { exports: {} },
|
|
131
|
+
], Se);
|
|
132
|
+
var Nt = { exports: {} }, De = {};
|
|
134
133
|
/**
|
|
135
134
|
* @license React
|
|
136
135
|
* react-jsx-runtime.production.min.js
|
|
@@ -140,18 +139,18 @@ var Nt = { exports: {} }, Ve = {};
|
|
|
140
139
|
* This source code is licensed under the MIT license found in the
|
|
141
140
|
* LICENSE file in the root directory of this source tree.
|
|
142
141
|
*/
|
|
143
|
-
var
|
|
142
|
+
var Gn = Mn, qn = Symbol.for("react.element"), Xn = Symbol.for("react.fragment"), Jn = Object.prototype.hasOwnProperty, Qn = Gn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, er = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
144
143
|
function $t(e, t, n) {
|
|
145
144
|
var r, i = {}, o = null, s = null;
|
|
146
145
|
n !== void 0 && (o = "" + n), t.key !== void 0 && (o = "" + t.key), t.ref !== void 0 && (s = t.ref);
|
|
147
|
-
for (r in t)
|
|
146
|
+
for (r in t) Jn.call(t, r) && !er.hasOwnProperty(r) && (i[r] = t[r]);
|
|
148
147
|
if (e && e.defaultProps) for (r in t = e.defaultProps, t) i[r] === void 0 && (i[r] = t[r]);
|
|
149
|
-
return { $$typeof:
|
|
148
|
+
return { $$typeof: qn, type: e, key: o, ref: s, props: i, _owner: Qn.current };
|
|
150
149
|
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
Nt.exports =
|
|
150
|
+
De.Fragment = Xn;
|
|
151
|
+
De.jsx = $t;
|
|
152
|
+
De.jsxs = $t;
|
|
153
|
+
Nt.exports = De;
|
|
155
154
|
var d = Nt.exports, b = function() {
|
|
156
155
|
return b = Object.assign || function(e) {
|
|
157
156
|
for (var t, n = 1, r = arguments.length; n < r; n++) {
|
|
@@ -160,7 +159,7 @@ var d = Nt.exports, b = function() {
|
|
|
160
159
|
}
|
|
161
160
|
return e;
|
|
162
161
|
}, b.apply(this, arguments);
|
|
163
|
-
},
|
|
162
|
+
}, tr = function(e, t) {
|
|
164
163
|
var n = {};
|
|
165
164
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
166
165
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -168,15 +167,15 @@ var d = Nt.exports, b = function() {
|
|
|
168
167
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
169
168
|
return n;
|
|
170
169
|
}, K = Z(function(e, t) {
|
|
171
|
-
var n = e.icon, r = e.id, i = e.className, o = e.extend, s =
|
|
170
|
+
var n = e.icon, r = e.id, i = e.className, o = e.extend, s = tr(e, ["icon", "id", "className", "extend"]), c = "univerjs-icon univerjs-icon-".concat(r, " ").concat(i || "").trim(), a = Rt("_".concat(ir()));
|
|
172
171
|
return At(n, "".concat(r), { defIds: n.defIds, idSuffix: a.current }, b({ ref: t, className: c }, s), o);
|
|
173
172
|
});
|
|
174
173
|
function At(e, t, n, r, i) {
|
|
175
|
-
return z(e.tag, b(b({ key: t },
|
|
174
|
+
return z(e.tag, b(b({ key: t }, nr(e, n, i)), r), (rr(e, n).children || []).map(function(o, s) {
|
|
176
175
|
return At(o, "".concat(t, "-").concat(e.tag, "-").concat(s), n, void 0, i);
|
|
177
176
|
}));
|
|
178
177
|
}
|
|
179
|
-
function
|
|
178
|
+
function nr(e, t, n) {
|
|
180
179
|
var r = b({}, e.attrs);
|
|
181
180
|
n != null && n.colorChannel1 && r.fill === "colorChannel1" && (r.fill = n.colorChannel1);
|
|
182
181
|
var i = t.defIds;
|
|
@@ -185,70 +184,70 @@ function rr(e, t, n) {
|
|
|
185
184
|
typeof c == "string" && (r[s] = c.replace(/url\(#(.*)\)/, "url(#$1".concat(t.idSuffix, ")")));
|
|
186
185
|
})), r;
|
|
187
186
|
}
|
|
188
|
-
function
|
|
187
|
+
function rr(e, t) {
|
|
189
188
|
var n, r = t.defIds;
|
|
190
189
|
return !r || r.length === 0 ? e : e.tag === "defs" && (!((n = e.children) === null || n === void 0) && n.length) ? b(b({}, e), { children: e.children.map(function(i) {
|
|
191
190
|
return typeof i.attrs.id == "string" && r && r.indexOf(i.attrs.id) > -1 ? b(b({}, i), { attrs: b(b({}, i.attrs), { id: i.attrs.id + t.idSuffix }) }) : i;
|
|
192
191
|
}) }) : e;
|
|
193
192
|
}
|
|
194
|
-
function
|
|
193
|
+
function ir() {
|
|
195
194
|
return Math.random().toString(36).substring(2, 8);
|
|
196
195
|
}
|
|
197
196
|
K.displayName = "UniverIcon";
|
|
198
|
-
var
|
|
197
|
+
var or = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.9999 1.12915C8.03875 1.12915 8.07673 1.13284 8.11352 1.13989H12.2599C13.6958 1.13989 14.8599 2.30395 14.8599 3.73989V7.88619C14.867 7.92301 14.8707 7.96102 14.8707 7.9999C14.8707 8.03878 14.867 8.0768 14.8599 8.11362V12.2599C14.8599 13.6958 13.6958 14.8599 12.2599 14.8599H8.11362C8.0768 14.867 8.03878 14.8707 7.9999 14.8707C7.96102 14.8707 7.92301 14.867 7.88619 14.8599H3.73989C2.30396 14.8599 1.13989 13.6958 1.13989 12.2599V8.11352C1.13284 8.07673 1.12915 8.03875 1.12915 7.9999C1.12915 7.96106 1.13284 7.92308 1.13989 7.88629V3.73989C1.13989 2.30396 2.30395 1.13989 3.73989 1.13989H7.88629C7.92308 1.13284 7.96106 1.12915 7.9999 1.12915ZM2.33989 8.5999V12.2599C2.33989 13.0331 2.9667 13.6599 3.73989 13.6599H7.3999V8.5999H2.33989ZM7.3999 7.3999H2.33989V3.73989C2.33989 2.9667 2.96669 2.33989 3.73989 2.33989H7.3999V7.3999ZM8.5999 8.5999V13.6599H12.2599C13.0331 13.6599 13.6599 13.0331 13.6599 12.2599V8.5999H8.5999ZM13.6599 7.3999H8.5999V2.33989H12.2599C13.0331 2.33989 13.6599 2.96669 13.6599 3.73989V7.3999Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, Le = Z(function(e, t) {
|
|
199
198
|
return z(K, Object.assign({}, e, {
|
|
200
199
|
id: "all-border-single",
|
|
201
200
|
ref: t,
|
|
202
|
-
icon:
|
|
201
|
+
icon: or
|
|
203
202
|
}));
|
|
204
203
|
});
|
|
205
|
-
|
|
206
|
-
var
|
|
204
|
+
Le.displayName = "AllBorderSingle";
|
|
205
|
+
var sr = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M5.02547 12.4251C5.15328 13.7417 6.26305 14.7708 7.61318 14.7708H12.6132C14.0491 14.7708 15.2132 13.6067 15.2132 12.1708V6.1708C15.2132 4.78586 14.1303 3.65383 12.7651 3.57517C12.6373 2.25858 11.5275 1.22949 10.1774 1.22949H5.17739C3.74145 1.22949 2.57739 2.39355 2.57739 3.82949V9.82949C2.57739 11.2144 3.66024 12.3465 5.02547 12.4251ZM11.5535 3.5708H7.61318C6.17724 3.5708 5.01318 4.73486 5.01318 6.1708V11.22C4.31736 11.1387 3.77739 10.5471 3.77739 9.82949V3.82949C3.77739 3.05629 4.40419 2.42949 5.17739 2.42949H10.1774C10.8622 2.42949 11.4322 2.92119 11.5535 3.5708ZM14.0132 6.1708C14.0132 5.3976 13.3864 4.7708 12.6132 4.7708H7.61318C6.83998 4.7708 6.21318 5.3976 6.21318 6.1708V12.1708C6.21318 12.944 6.83998 13.5708 7.61318 13.5708H12.6132C13.3864 13.5708 14.0132 12.944 14.0132 12.1708V6.1708Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, Bt = Z(function(e, t) {
|
|
207
206
|
return z(K, Object.assign({}, e, {
|
|
208
207
|
id: "copy-single",
|
|
209
208
|
ref: t,
|
|
210
|
-
icon:
|
|
209
|
+
icon: sr
|
|
211
210
|
}));
|
|
212
211
|
});
|
|
213
212
|
Bt.displayName = "CopySingle";
|
|
214
|
-
var
|
|
213
|
+
var ar = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M5.9564 2.91332C4.91407 1.87102 3.22413 1.87101 2.18182 2.91333L2.18182 2.91333C1.13953 3.95567 1.13952 5.6456 2.18182 6.68791L8.27777 12.7838C9.72408 14.2302 12.069 14.2302 13.5154 12.7839L13.0911 12.3596L13.5154 12.7839C14.9617 11.3375 14.9617 8.99257 13.5154 7.54626L8.39476 2.42566C8.16044 2.19134 7.78054 2.19134 7.54623 2.42566C7.31191 2.65997 7.31191 3.03987 7.54623 3.27419L12.6668 8.39479L13.0911 7.97052L12.6668 8.39479C13.6445 9.37247 13.6445 10.9576 12.6668 11.9353L13.0399 12.3084L12.6668 11.9353C11.6891 12.913 10.104 12.913 9.1263 11.9353L3.03035 5.83938C2.45668 5.26571 2.45667 4.33556 3.03036 3.76184C3.60403 3.18818 4.53416 3.18817 5.10788 3.76185C5.10788 3.76186 5.10788 3.76186 5.10789 3.76186L11.2038 9.8578L11.601 9.46061L11.2038 9.8578C11.3735 10.0275 11.3735 10.3026 11.2038 10.4723L11.2038 10.4723C11.0341 10.642 10.759 10.642 10.5893 10.4723L5.46874 5.35171C5.23442 5.1174 4.85452 5.1174 4.62021 5.35171C4.38589 5.58602 4.38589 5.96592 4.62021 6.20024L9.74078 11.3208C10.3791 11.9591 11.414 11.9591 12.0523 11.3208C12.0523 11.3208 12.0523 11.3208 12.0523 11.3208M12.0523 11.3208C12.6907 10.6825 12.6906 9.64757 12.0523 9.00927L5.95641 2.91333L5.9564 2.91332", fillRule: "evenodd", clipRule: "evenodd" } }] }, Me = Z(function(e, t) {
|
|
215
214
|
return z(K, Object.assign({}, e, {
|
|
216
215
|
id: "link-single",
|
|
217
216
|
ref: t,
|
|
218
|
-
icon:
|
|
217
|
+
icon: ar
|
|
219
218
|
}));
|
|
220
219
|
});
|
|
221
|
-
|
|
222
|
-
var
|
|
220
|
+
Me.displayName = "LinkSingle";
|
|
221
|
+
var cr = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 17", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M12.5935 3.47302C11.6354 2.51492 10.082 2.51492 9.12388 3.47302L7.83534 4.76157C7.60102 4.99588 7.22112 4.99588 6.98681 4.76157 6.75249 4.52725 6.75249 4.14735 6.98681 3.91304L8.27535 2.62449C9.70209 1.19776 12.0153 1.19776 13.442 2.62449 14.8688 4.05123 14.8688 6.36442 13.442 7.79116L12.1535 9.0797C11.9192 9.31402 11.5393 9.31402 11.3049 9.0797 11.0706 8.84539 11.0706 8.46549 11.3049 8.23117L12.5935 6.94263C13.5516 5.98452 13.5516 4.43113 12.5935 3.47302zM3.40637 12.6606C2.44827 11.7025 2.44827 10.1491 3.40637 9.19102L4.69492 7.90248C4.92923 7.66816 4.92923 7.28826 4.69492 7.05395 4.4606 6.81963 4.0807 6.81963 3.84639 7.05395L2.55784 8.34249C1.13111 9.76923 1.13111 12.0824 2.55784 13.5092 3.98458 14.9359 6.29777 14.9359 7.72451 13.5092L9.01305 12.2206C9.24737 11.9863 9.24737 11.6064 9.01305 11.3721 8.77874 11.1378 8.39884 11.1378 8.16452 11.3721L6.87598 12.6606C5.91787 13.6187 4.36448 13.6187 3.40637 12.6606zM3.5852 2.80332C3.35088 2.569 2.97098 2.569 2.73667 2.80332 2.50235 3.03763 2.50235 3.41753 2.73667 3.65185L12.4151 13.3302C12.6494 13.5646 13.0293 13.5646 13.2636 13.3302 13.4979 13.0959 13.4979 12.716 13.2636 12.4817L3.5852 2.80332z" } }] }, Vt = Z(function(e, t) {
|
|
223
222
|
return z(K, Object.assign({}, e, {
|
|
224
223
|
id: "unlink-single",
|
|
225
224
|
ref: t,
|
|
226
|
-
icon:
|
|
225
|
+
icon: cr
|
|
227
226
|
}));
|
|
228
227
|
});
|
|
229
228
|
Vt.displayName = "UnlinkSingle";
|
|
230
|
-
var
|
|
229
|
+
var lr = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M12.6551 1.98906C11.7476 1.08113 10.2757 1.08149 9.3686 1.98987L4.82542 6.53955C4.75087 6.61421 4.69336 6.70411 4.65682 6.80309L3.2461 10.625C3.16506 10.8446 3.21909 11.0912 3.3845 11.2568C3.54991 11.4224 3.79651 11.4767 4.01616 11.3959L7.85031 9.98517C7.94979 9.94856 8.04014 9.89077 8.11508 9.81579L12.6552 5.27327C13.5618 4.36621 13.5618 2.89607 12.6551 1.98906ZM10.2177 2.83779C10.6562 2.39869 11.3677 2.39851 11.8064 2.8374C12.2447 3.27584 12.2447 3.9865 11.8065 4.42497L7.3392 8.89457L4.82213 9.82068L5.74706 7.31487L10.2177 2.83779Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.79238 13.2999C1.46101 13.2999 1.19238 13.5685 1.19238 13.8999C1.19238 14.2313 1.46101 14.4999 1.79238 14.4999H14.4924C14.8238 14.4999 15.0924 14.2313 15.0924 13.8999C15.0924 13.5685 14.8238 13.2999 14.4924 13.2999H1.79238Z" } }] }, Dt = Z(function(e, t) {
|
|
231
230
|
return z(K, Object.assign({}, e, {
|
|
232
231
|
id: "write-single",
|
|
233
232
|
ref: t,
|
|
234
|
-
icon:
|
|
233
|
+
icon: lr
|
|
235
234
|
}));
|
|
236
235
|
});
|
|
237
236
|
Dt.displayName = "WriteSingle";
|
|
238
|
-
var
|
|
237
|
+
var dr = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "#35BD4B", d: "M3.36396 1.12549C2.61066 1.12549 2 1.73615 2 2.48945V13.5104C2 14.2637 2.61066 14.8744 3.36396 14.8744H12.457C13.2103 14.8744 13.821 14.2637 13.821 13.5104V5.0992L9.91954 1.12549H3.36396Z" } }, { tag: "path", attrs: { fill: "#32A846", d: "M9.91797 1.12549L13.8209 5.09842H10.5846C10.2164 5.09842 9.91797 4.79994 9.91797 4.43175V1.12549Z" } }, { tag: "path", attrs: { fill: "#fff", d: "M7.71926 10.2949L6.28687 12.403C6.17306 12.5705 5.94501 12.614 5.77751 12.5002C5.61002 12.3864 5.56649 12.1584 5.6803 11.9909L7.27596 9.64252L5.85088 7.54519C5.73707 7.37769 5.78059 7.14964 5.94809 7.03583C6.11558 6.92202 6.34363 6.96555 6.45744 7.13304L7.71926 8.9901L8.98108 7.13304C9.09489 6.96555 9.32294 6.92202 9.49044 7.03583C9.65793 7.14964 9.70146 7.37769 9.58765 7.54519L8.16256 9.64252L9.75822 11.9909C9.87203 12.1584 9.82851 12.3864 9.66101 12.5002C9.49351 12.614 9.26547 12.5705 9.15166 12.403L7.71926 10.2949Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, Je = Z(function(e, t) {
|
|
239
238
|
return z(K, Object.assign({}, e, {
|
|
240
239
|
id: "xlsx",
|
|
241
240
|
ref: t,
|
|
242
|
-
icon:
|
|
241
|
+
icon: dr
|
|
243
242
|
}));
|
|
244
243
|
});
|
|
245
244
|
Je.displayName = "Xlsx";
|
|
246
|
-
var
|
|
247
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
245
|
+
var ur = Object.defineProperty, pr = Object.getOwnPropertyDescriptor, hr = (e, t, n, r) => {
|
|
246
|
+
for (var i = r > 1 ? void 0 : r ? pr(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
248
247
|
(s = e[o]) && (i = (r ? s(t, n, i) : s(i)) || i);
|
|
249
|
-
return r && i &&
|
|
248
|
+
return r && i && ur(t, n, i), i;
|
|
250
249
|
}, ie = (e, t) => (n, r) => t(n, r, e);
|
|
251
|
-
function
|
|
250
|
+
function mr(e, t) {
|
|
252
251
|
const n = t.getMergeData(), r = t.getMaxColumns() - 1, i = t.getMaxRows() - 1;
|
|
253
252
|
if (r < e.endColumn && (e.endColumn = r), i < e.endRow && (e.endRow = i), e.rangeType === lt.COLUMN || lt.ROW)
|
|
254
253
|
return e;
|
|
@@ -268,7 +267,7 @@ let W = class {
|
|
|
268
267
|
return null;
|
|
269
268
|
const o = t ? i.getSheetBySheetId(t) : i.getActiveSheet(), s = (c = o == null ? void 0 : o.getName()) != null ? c : "";
|
|
270
269
|
if (n) {
|
|
271
|
-
const a =
|
|
270
|
+
const a = Ee(n).range;
|
|
272
271
|
return Ye(a) && n !== Ge ? {
|
|
273
272
|
type: "range",
|
|
274
273
|
name: Ut(s, a)
|
|
@@ -306,7 +305,7 @@ let W = class {
|
|
|
306
305
|
const o = i.getUnitId();
|
|
307
306
|
if (r && this.navigateToDefineName(o, r), !!t) {
|
|
308
307
|
if (n) {
|
|
309
|
-
const s =
|
|
308
|
+
const s = Ee(n);
|
|
310
309
|
Ye(s.range) && n !== Ge && this.navigateToRange(o, t, s.range);
|
|
311
310
|
return;
|
|
312
311
|
}
|
|
@@ -343,7 +342,7 @@ let W = class {
|
|
|
343
342
|
async navigateToRange(e, t, n) {
|
|
344
343
|
const r = await this.navigateToSheetById(e, t);
|
|
345
344
|
if (r) {
|
|
346
|
-
const i =
|
|
345
|
+
const i = mr(n, r);
|
|
347
346
|
await this._commandService.executeCommand(
|
|
348
347
|
an.id,
|
|
349
348
|
{
|
|
@@ -378,7 +377,7 @@ let W = class {
|
|
|
378
377
|
return n.getHiddenWorksheets().indexOf(o) > -1 && this._messageService.show({
|
|
379
378
|
content: this._localeService.t("hyperLink.message.hiddenSheet"),
|
|
380
379
|
type: ae.Error
|
|
381
|
-
}), await this._commandService.executeCommand(
|
|
380
|
+
}), await this._commandService.executeCommand(Oe.id, { unitId: e, subUnitId: o });
|
|
382
381
|
}
|
|
383
382
|
async navigateToSheetById(e, t) {
|
|
384
383
|
const n = this._univerInstanceService.getUnit(e, w.UNIVER_SHEET);
|
|
@@ -393,7 +392,7 @@ let W = class {
|
|
|
393
392
|
return i ? n.getHiddenWorksheets().indexOf(t) > -1 ? (this._messageService.show({
|
|
394
393
|
content: this._localeService.t("hyperLink.message.hiddenSheet"),
|
|
395
394
|
type: ae.Error
|
|
396
|
-
}), !1) : await this._commandService.executeCommand(
|
|
395
|
+
}), !1) : await this._commandService.executeCommand(Oe.id, { unitId: e, subUnitId: t }) ? i : !1 : (this._messageService.show({
|
|
397
396
|
content: this._localeService.t("hyperLink.message.noSheet"),
|
|
398
397
|
type: ae.Error
|
|
399
398
|
}), !1);
|
|
@@ -405,31 +404,31 @@ let W = class {
|
|
|
405
404
|
window.open(e, "_blank", "noopener noreferrer");
|
|
406
405
|
}
|
|
407
406
|
};
|
|
408
|
-
W =
|
|
407
|
+
W = hr([
|
|
409
408
|
ie(0, ue),
|
|
410
409
|
ie(1, F),
|
|
411
410
|
ie(2, jt),
|
|
412
411
|
ie(3, wt),
|
|
413
412
|
ie(4, h(pe))
|
|
414
413
|
], W);
|
|
415
|
-
const
|
|
414
|
+
const gr = /[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/gi, fr = new RegExp(gr);
|
|
416
415
|
function de(e) {
|
|
417
|
-
return Number.isNaN(+e) ? e.startsWith("http://localhost:3002") || e.startsWith("localhost:3002") ? !0 : !!e.match(
|
|
416
|
+
return Number.isNaN(+e) ? e.startsWith("http://localhost:3002") || e.startsWith("localhost:3002") ? !0 : !!e.match(fr) : !1;
|
|
418
417
|
}
|
|
419
|
-
function
|
|
418
|
+
function vr(e) {
|
|
420
419
|
return /^[a-zA-Z]+:\/\//.test(e);
|
|
421
420
|
}
|
|
422
|
-
function
|
|
421
|
+
function _r(e) {
|
|
423
422
|
return /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/.test(e);
|
|
424
423
|
}
|
|
425
424
|
function rt(e) {
|
|
426
425
|
if (de(e)) {
|
|
427
|
-
const t =
|
|
426
|
+
const t = vr(e) ? e : _r(e) ? `mailto://${e}` : `http://${e}`, n = new URL(t);
|
|
428
427
|
return n.hostname === location.hostname && n.port === location.port && n.protocol === location.protocol && n.pathname === location.pathname && n.hash && !n.search ? n.hash : t;
|
|
429
428
|
}
|
|
430
429
|
return e;
|
|
431
430
|
}
|
|
432
|
-
function
|
|
431
|
+
function Cr(e) {
|
|
433
432
|
if (e === null)
|
|
434
433
|
return "";
|
|
435
434
|
if (e != null && e.p) {
|
|
@@ -441,9 +440,9 @@ function yr(e) {
|
|
|
441
440
|
}
|
|
442
441
|
return e == null ? void 0 : e.v;
|
|
443
442
|
}
|
|
444
|
-
const
|
|
445
|
-
cellLinkEditButtons:
|
|
446
|
-
},
|
|
443
|
+
const yr = "univer-cell-link-edit-buttons", Sr = {
|
|
444
|
+
cellLinkEditButtons: yr
|
|
445
|
+
}, xe = () => {
|
|
447
446
|
var te;
|
|
448
447
|
const [e, t] = re(""), [n, r] = re(""), [i, o] = re(
|
|
449
448
|
"link"
|
|
@@ -478,7 +477,7 @@ const Sr = "univer-cell-link-edit-buttons", Lr = {
|
|
|
478
477
|
), j.range === Ge)
|
|
479
478
|
c("");
|
|
480
479
|
else {
|
|
481
|
-
const ct = Ut(Kt,
|
|
480
|
+
const ct = Ut(Kt, Ee(j.range).range);
|
|
482
481
|
c(ct), ct === _.display && (y.current = !0);
|
|
483
482
|
}
|
|
484
483
|
return;
|
|
@@ -492,11 +491,11 @@ const Sr = "univer-cell-link-edit-buttons", Lr = {
|
|
|
492
491
|
}
|
|
493
492
|
}
|
|
494
493
|
}
|
|
495
|
-
const U = m.getUnit(l.unitId), R = U == null ? void 0 : U.getSheetBySheetId(l.subUnitId), zt = R == null ? void 0 : R.getCellRaw(l.row, l.column),
|
|
494
|
+
const U = m.getUnit(l.unitId), R = U == null ? void 0 : U.getSheetBySheetId(l.subUnitId), zt = R == null ? void 0 : R.getCellRaw(l.row, l.column), Fe = Cr(zt);
|
|
496
495
|
o(
|
|
497
496
|
"link"
|
|
498
497
|
/* link */
|
|
499
|
-
), c(""), r((
|
|
498
|
+
), c(""), r((Fe != null ? Fe : "").toString()), t("");
|
|
500
499
|
return;
|
|
501
500
|
}
|
|
502
501
|
o(
|
|
@@ -535,12 +534,12 @@ const Sr = "univer-cell-link-edit-buttons", Lr = {
|
|
|
535
534
|
if (u === "link")
|
|
536
535
|
return rt(C);
|
|
537
536
|
if (u === "range") {
|
|
538
|
-
const L =
|
|
537
|
+
const L = Ee(C), _ = P.getSheetBySheetName(L.sheetName);
|
|
539
538
|
if (_)
|
|
540
539
|
return `#gid=${_.getSheetId()}&range=${Wn(L.range)}`;
|
|
541
540
|
}
|
|
542
541
|
return `#${u}=${C}`;
|
|
543
|
-
},
|
|
542
|
+
}, We = Un((u) => {
|
|
544
543
|
var _;
|
|
545
544
|
const C = u[0];
|
|
546
545
|
if (!C || !Ye(C.range))
|
|
@@ -568,7 +567,7 @@ const Sr = "univer-cell-link-edit-buttons", Lr = {
|
|
|
568
567
|
display: n
|
|
569
568
|
}
|
|
570
569
|
})), l) {
|
|
571
|
-
await v.executeCommand(
|
|
570
|
+
await v.executeCommand(Oe.id, {
|
|
572
571
|
unitId: l.unitId,
|
|
573
572
|
subUnitId: l.subUnitId
|
|
574
573
|
});
|
|
@@ -582,7 +581,7 @@ const Sr = "univer-cell-link-edit-buttons", Lr = {
|
|
|
582
581
|
}
|
|
583
582
|
});
|
|
584
583
|
}
|
|
585
|
-
v.executeCommand(
|
|
584
|
+
v.executeCommand(Te.id);
|
|
586
585
|
};
|
|
587
586
|
return /* @__PURE__ */ d.jsxs("div", { children: [
|
|
588
587
|
/* @__PURE__ */ d.jsx(
|
|
@@ -635,7 +634,7 @@ const Sr = "univer-cell-link-edit-buttons", Lr = {
|
|
|
635
634
|
id: Qt("hyper-link-edit"),
|
|
636
635
|
isSingleChoice: !0,
|
|
637
636
|
value: Y,
|
|
638
|
-
onChange:
|
|
637
|
+
onChange: We
|
|
639
638
|
}
|
|
640
639
|
) }),
|
|
641
640
|
i === "gid" && /* @__PURE__ */ d.jsx(X, { error: I && !s ? a.t("hyperLink.form.selectError") : "", children: /* @__PURE__ */ d.jsx(
|
|
@@ -664,15 +663,15 @@ const Sr = "univer-cell-link-edit-buttons", Lr = {
|
|
|
664
663
|
}
|
|
665
664
|
}
|
|
666
665
|
) }),
|
|
667
|
-
/* @__PURE__ */ d.jsxs("div", { className:
|
|
666
|
+
/* @__PURE__ */ d.jsxs("div", { className: Sr.cellLinkEditButtons, children: [
|
|
668
667
|
/* @__PURE__ */ d.jsx(
|
|
669
668
|
mt,
|
|
670
669
|
{
|
|
671
670
|
onClick: () => {
|
|
672
|
-
l && v.executeCommand(
|
|
671
|
+
l && v.executeCommand(Oe.id, {
|
|
673
672
|
unitId: l.unitId,
|
|
674
673
|
subUnitId: l.subUnitId
|
|
675
|
-
}), v.executeCommand(
|
|
674
|
+
}), v.executeCommand(Te.id);
|
|
676
675
|
},
|
|
677
676
|
children: a.t("hyperLink.form.cancel")
|
|
678
677
|
}
|
|
@@ -695,9 +694,9 @@ const Sr = "univer-cell-link-edit-buttons", Lr = {
|
|
|
695
694
|
] })
|
|
696
695
|
] });
|
|
697
696
|
};
|
|
698
|
-
|
|
697
|
+
xe.componentKey = "univer.sheet.cell-link-edit";
|
|
699
698
|
const it = {
|
|
700
|
-
type:
|
|
699
|
+
type: He.OPERATION,
|
|
701
700
|
id: "sheet.operation.open-hyper-link-sidebar",
|
|
702
701
|
handler(e, t) {
|
|
703
702
|
if (!t)
|
|
@@ -708,19 +707,19 @@ const it = {
|
|
|
708
707
|
title: p ? "hyperLink.form.editTitle" : "hyperLink.form.addTitle"
|
|
709
708
|
},
|
|
710
709
|
children: {
|
|
711
|
-
label:
|
|
710
|
+
label: xe.componentKey
|
|
712
711
|
}
|
|
713
712
|
}), !0;
|
|
714
713
|
}
|
|
715
|
-
},
|
|
716
|
-
type:
|
|
714
|
+
}, Te = {
|
|
715
|
+
type: He.OPERATION,
|
|
717
716
|
id: "sheet.operation.close-hyper-link-sidebar",
|
|
718
717
|
handler(e) {
|
|
719
718
|
const t = e.get(Et), n = e.get(H);
|
|
720
719
|
return t.close(), n.endEditing(), !0;
|
|
721
720
|
}
|
|
722
721
|
}, ot = {
|
|
723
|
-
type:
|
|
722
|
+
type: He.OPERATION,
|
|
724
723
|
id: "sheet.operation.insert-hyper-link",
|
|
725
724
|
handler(e) {
|
|
726
725
|
const t = e.get(ue), n = Ct(t);
|
|
@@ -738,30 +737,30 @@ const it = {
|
|
|
738
737
|
});
|
|
739
738
|
}
|
|
740
739
|
}, st = {
|
|
741
|
-
type:
|
|
740
|
+
type: He.OPERATION,
|
|
742
741
|
id: "sheet.operation.insert-hyper-link-toolbar",
|
|
743
742
|
handler(e) {
|
|
744
743
|
const t = e.get(F);
|
|
745
|
-
return e.get(H).currentEditing ? t.executeCommand(
|
|
744
|
+
return e.get(H).currentEditing ? t.executeCommand(Te.id) : t.executeCommand(ot.id);
|
|
746
745
|
}
|
|
747
|
-
},
|
|
748
|
-
cellLink:
|
|
749
|
-
cellLinkType:
|
|
750
|
-
cellLinkContent:
|
|
751
|
-
cellLinkContentError:
|
|
752
|
-
cellLinkUrl:
|
|
753
|
-
cellLinkOperations:
|
|
754
|
-
cellLinkOperation:
|
|
755
|
-
cellLinkOperationError:
|
|
756
|
-
},
|
|
757
|
-
outer: /* @__PURE__ */ d.jsx(
|
|
758
|
-
link: /* @__PURE__ */ d.jsx(
|
|
746
|
+
}, Lr = "univer-cell-link", Ir = "univer-cell-link-type", kr = "univer-cell-link-content", Pr = "univer-cell-link-content-error", br = "univer-cell-link-url", Rr = "univer-cell-link-operations", wr = "univer-cell-link-operation", Or = "univer-cell-link-operation-error", E = {
|
|
747
|
+
cellLink: Lr,
|
|
748
|
+
cellLinkType: Ir,
|
|
749
|
+
cellLinkContent: kr,
|
|
750
|
+
cellLinkContentError: Pr,
|
|
751
|
+
cellLinkUrl: br,
|
|
752
|
+
cellLinkOperations: Rr,
|
|
753
|
+
cellLinkOperation: wr,
|
|
754
|
+
cellLinkOperationError: Or
|
|
755
|
+
}, Er = {
|
|
756
|
+
outer: /* @__PURE__ */ d.jsx(Me, {}),
|
|
757
|
+
link: /* @__PURE__ */ d.jsx(Me, {}),
|
|
759
758
|
sheet: /* @__PURE__ */ d.jsx(Je, {}),
|
|
760
|
-
range: /* @__PURE__ */ d.jsx(
|
|
761
|
-
defineName: /* @__PURE__ */ d.jsx(
|
|
762
|
-
"range-error": /* @__PURE__ */ d.jsx(
|
|
759
|
+
range: /* @__PURE__ */ d.jsx(Le, {}),
|
|
760
|
+
defineName: /* @__PURE__ */ d.jsx(Le, {}),
|
|
761
|
+
"range-error": /* @__PURE__ */ d.jsx(Le, {}),
|
|
763
762
|
"sheet-error": /* @__PURE__ */ d.jsx(Je, {})
|
|
764
|
-
},
|
|
763
|
+
}, Ue = () => {
|
|
765
764
|
const e = k(H), t = k(T), n = k(F), r = k(wt), i = k(pe), o = Ot(e.currentPopup$, e.currentPopup), s = k(W);
|
|
766
765
|
if (!o)
|
|
767
766
|
return null;
|
|
@@ -771,8 +770,8 @@ const it = {
|
|
|
771
770
|
const f = s.parseHyperLink(m.payload), l = f.type.indexOf("error") > -1;
|
|
772
771
|
return /* @__PURE__ */ d.jsxs("div", { className: E.cellLink, onClick: () => e.hideCurrentPopup(), children: [
|
|
773
772
|
/* @__PURE__ */ d.jsxs("div", { className: pt(E.cellLinkContent, { [E.cellLinkContentError]: l }), onClick: f.handler, children: [
|
|
774
|
-
/* @__PURE__ */ d.jsx("div", { className: E.cellLinkType, children:
|
|
775
|
-
/* @__PURE__ */ d.jsx(
|
|
773
|
+
/* @__PURE__ */ d.jsx("div", { className: E.cellLinkType, children: Er[f.type] }),
|
|
774
|
+
/* @__PURE__ */ d.jsx(_e, { showIfEllipsis: !0, title: f.name, children: /* @__PURE__ */ d.jsx("span", { className: E.cellLinkUrl, children: f.name }) })
|
|
776
775
|
] }),
|
|
777
776
|
/* @__PURE__ */ d.jsxs("div", { className: E.cellLinkOperations, children: [
|
|
778
777
|
o.copyPermission && /* @__PURE__ */ d.jsx(
|
|
@@ -792,7 +791,7 @@ const it = {
|
|
|
792
791
|
});
|
|
793
792
|
}
|
|
794
793
|
},
|
|
795
|
-
children: /* @__PURE__ */ d.jsx(
|
|
794
|
+
children: /* @__PURE__ */ d.jsx(_e, { placement: "bottom", title: i.t("hyperLink.popup.copy"), children: /* @__PURE__ */ d.jsx(Bt, {}) })
|
|
796
795
|
}
|
|
797
796
|
),
|
|
798
797
|
o.editPermission && /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
@@ -808,7 +807,7 @@ const it = {
|
|
|
808
807
|
column: m.column
|
|
809
808
|
});
|
|
810
809
|
},
|
|
811
|
-
children: /* @__PURE__ */ d.jsx(
|
|
810
|
+
children: /* @__PURE__ */ d.jsx(_e, { placement: "bottom", title: i.t("hyperLink.popup.edit"), children: /* @__PURE__ */ d.jsx(Dt, {}) })
|
|
812
811
|
}
|
|
813
812
|
),
|
|
814
813
|
/* @__PURE__ */ d.jsx(
|
|
@@ -822,20 +821,20 @@ const it = {
|
|
|
822
821
|
id: m.id
|
|
823
822
|
});
|
|
824
823
|
},
|
|
825
|
-
children: /* @__PURE__ */ d.jsx(
|
|
824
|
+
children: /* @__PURE__ */ d.jsx(_e, { placement: "bottom", title: i.t("hyperLink.popup.cancel"), children: /* @__PURE__ */ d.jsx(Vt, {}) })
|
|
826
825
|
}
|
|
827
826
|
)
|
|
828
827
|
] })
|
|
829
828
|
] })
|
|
830
829
|
] });
|
|
831
830
|
};
|
|
832
|
-
|
|
833
|
-
var
|
|
834
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
831
|
+
Ue.componentKey = "univer.sheet.cell-link-popup";
|
|
832
|
+
var Mr = Object.defineProperty, xr = Object.getOwnPropertyDescriptor, Tr = (e, t, n, r) => {
|
|
833
|
+
for (var i = r > 1 ? void 0 : r ? xr(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
835
834
|
(s = e[o]) && (i = (r ? s(t, n, i) : s(i)) || i);
|
|
836
|
-
return r && i &&
|
|
835
|
+
return r && i && Mr(t, n, i), i;
|
|
837
836
|
}, gt = (e, t) => (n, r) => t(n, r, e);
|
|
838
|
-
const
|
|
837
|
+
const Ur = (e, t) => e.unitId === t.unitId && e.subUnitId === t.subUnitId && e.row === t.row && e.col === t.col;
|
|
839
838
|
let H = class extends O {
|
|
840
839
|
constructor(t, n) {
|
|
841
840
|
super();
|
|
@@ -855,14 +854,14 @@ let H = class extends O {
|
|
|
855
854
|
return this._currentEditing$.getValue();
|
|
856
855
|
}
|
|
857
856
|
showPopup(t) {
|
|
858
|
-
if (this._currentPopup &&
|
|
857
|
+
if (this._currentPopup && Ur(t, this._currentPopup))
|
|
859
858
|
return;
|
|
860
859
|
this.hideCurrentPopup();
|
|
861
860
|
const { unitId: n, subUnitId: r, row: i, col: o } = t, s = this._hyperLinkModel.getHyperLinkByLocation(n, r, i, o);
|
|
862
861
|
if (!s)
|
|
863
862
|
return;
|
|
864
863
|
const c = this._sheetCanvasPopManagerService.attachPopupToCell(i, o, {
|
|
865
|
-
componentKey:
|
|
864
|
+
componentKey: Ue.componentKey,
|
|
866
865
|
direction: "bottom",
|
|
867
866
|
closeOnSelfTarget: !0,
|
|
868
867
|
onClickOutside: () => {
|
|
@@ -891,16 +890,16 @@ let H = class extends O {
|
|
|
891
890
|
this._currentEditing$.next(null);
|
|
892
891
|
}
|
|
893
892
|
};
|
|
894
|
-
H =
|
|
893
|
+
H = Tr([
|
|
895
894
|
gt(0, h(T)),
|
|
896
895
|
gt(1, h(yn))
|
|
897
896
|
], H);
|
|
898
|
-
var
|
|
899
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
897
|
+
var jr = Object.defineProperty, Hr = Object.getOwnPropertyDescriptor, Nr = (e, t, n, r) => {
|
|
898
|
+
for (var i = r > 1 ? void 0 : r ? Hr(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
900
899
|
(s = e[o]) && (i = (r ? s(t, n, i) : s(i)) || i);
|
|
901
|
-
return r && i &&
|
|
900
|
+
return r && i && jr(t, n, i), i;
|
|
902
901
|
}, oe = (e, t) => (n, r) => t(n, r, e);
|
|
903
|
-
let
|
|
902
|
+
let Ie = class extends O {
|
|
904
903
|
constructor(e, t, n, r, i) {
|
|
905
904
|
super(), this._sheetInterceptorService = e, this._injector = t, this._hyperLinkModel = n, this._selectionManagerService = r, this._univerInstanceService = i, this._initCommandInterceptor();
|
|
906
905
|
}
|
|
@@ -1088,20 +1087,20 @@ let Le = class extends O {
|
|
|
1088
1087
|
return (o = (i = this._univerInstanceService.getUnit(e, w.UNIVER_SHEET)) == null ? void 0 : i.getSheetBySheetId(t)) == null ? void 0 : o.getCell(n, r);
|
|
1089
1088
|
}
|
|
1090
1089
|
};
|
|
1091
|
-
|
|
1092
|
-
N($.Starting,
|
|
1090
|
+
Ie = Nr([
|
|
1091
|
+
N($.Starting, Ie),
|
|
1093
1092
|
oe(0, h(et)),
|
|
1094
|
-
oe(1, h(
|
|
1093
|
+
oe(1, h(Ve)),
|
|
1095
1094
|
oe(2, h(T)),
|
|
1096
1095
|
oe(3, h(yt)),
|
|
1097
1096
|
oe(4, ue)
|
|
1098
|
-
],
|
|
1099
|
-
var
|
|
1100
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
1097
|
+
], Ie);
|
|
1098
|
+
var $r = Object.defineProperty, Ar = Object.getOwnPropertyDescriptor, Br = (e, t, n, r) => {
|
|
1099
|
+
for (var i = r > 1 ? void 0 : r ? Ar(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
1101
1100
|
(s = e[o]) && (i = (r ? s(t, n, i) : s(i)) || i);
|
|
1102
|
-
return r && i &&
|
|
1101
|
+
return r && i && $r(t, n, i), i;
|
|
1103
1102
|
}, se = (e, t) => (n, r) => t(n, r, e);
|
|
1104
|
-
let
|
|
1103
|
+
let ke = class extends O {
|
|
1105
1104
|
constructor(e, t, n, r, i) {
|
|
1106
1105
|
super(), this._hoverManagerService = e, this._sheetsHyperLinkPopupService = t, this._renderManagerService = n, this._permissionService = r, this._sheetPermissionInterceptorBaseController = i, this._initHoverListener();
|
|
1107
1106
|
}
|
|
@@ -1126,9 +1125,9 @@ let Ie = class extends O {
|
|
|
1126
1125
|
return;
|
|
1127
1126
|
}
|
|
1128
1127
|
const c = this._sheetPermissionInterceptorBaseController.permissionCheckWithRanges({
|
|
1129
|
-
workbookTypes: [
|
|
1130
|
-
worksheetTypes: [
|
|
1131
|
-
rangeTypes: [
|
|
1128
|
+
workbookTypes: [Ne],
|
|
1129
|
+
worksheetTypes: [$e, Ae],
|
|
1130
|
+
rangeTypes: [Be]
|
|
1132
1131
|
}, [{ startRow: r, startColumn: n, endRow: r, endColumn: n }]), a = e.location.unitId, p = e.location.subUnitId, m = this._permissionService.composePermission([new fn(a).id, new vn(a, p).id]).every((g) => g.value);
|
|
1133
1132
|
this._sheetsHyperLinkPopupService.showPopup({
|
|
1134
1133
|
...e.location,
|
|
@@ -1141,23 +1140,23 @@ let Ie = class extends O {
|
|
|
1141
1140
|
);
|
|
1142
1141
|
}
|
|
1143
1142
|
};
|
|
1144
|
-
|
|
1145
|
-
N($.Rendered,
|
|
1143
|
+
ke = Br([
|
|
1144
|
+
N($.Rendered, ke),
|
|
1146
1145
|
se(0, h(Sn)),
|
|
1147
1146
|
se(1, h(H)),
|
|
1148
1147
|
se(2, h(nt)),
|
|
1149
1148
|
se(3, h(tn)),
|
|
1150
1149
|
se(4, h(Pt))
|
|
1151
|
-
],
|
|
1152
|
-
const
|
|
1150
|
+
], ke);
|
|
1151
|
+
const Vr = (e) => ({
|
|
1153
1152
|
id: ot.id,
|
|
1154
1153
|
type: Mt.BUTTON,
|
|
1155
1154
|
positions: [xt.CONTEXT_MENU],
|
|
1156
1155
|
title: "hyperLink.menu.add",
|
|
1157
1156
|
hidden$: Tt(e, w.UNIVER_SHEET),
|
|
1158
1157
|
icon: "LinkSingle",
|
|
1159
|
-
disabled$: bt(e, { workbookTypes: [
|
|
1160
|
-
}),
|
|
1158
|
+
disabled$: bt(e, { workbookTypes: [Ne], worksheetTypes: [$e, tt, Ae], rangeTypes: [Be] })
|
|
1159
|
+
}), Dr = (e) => ({
|
|
1161
1160
|
tooltip: "hyperLink.form.addTitle",
|
|
1162
1161
|
positions: xt.TOOLBAR_START,
|
|
1163
1162
|
group: $n.TOOLBAR_OTHERS,
|
|
@@ -1165,16 +1164,16 @@ const Dr = (e) => ({
|
|
|
1165
1164
|
type: Mt.BUTTON,
|
|
1166
1165
|
icon: "LinkSingle",
|
|
1167
1166
|
hidden$: Tt(e, w.UNIVER_SHEET),
|
|
1168
|
-
disabled$: bt(e, { workbookTypes: [
|
|
1167
|
+
disabled$: bt(e, { workbookTypes: [Ne], worksheetTypes: [$e, tt, Ae], rangeTypes: [Be] })
|
|
1169
1168
|
}), Wt = {
|
|
1170
1169
|
id: st.id,
|
|
1171
1170
|
binding: Hn.K | Nn.CTRL_COMMAND,
|
|
1172
1171
|
preconditions: Ln
|
|
1173
1172
|
};
|
|
1174
|
-
var
|
|
1175
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
1173
|
+
var Wr = Object.defineProperty, Fr = Object.getOwnPropertyDescriptor, Zr = (e, t, n, r) => {
|
|
1174
|
+
for (var i = r > 1 ? void 0 : r ? Fr(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
1176
1175
|
(s = e[o]) && (i = (r ? s(t, n, i) : s(i)) || i);
|
|
1177
|
-
return r && i &&
|
|
1176
|
+
return r && i && Wr(t, n, i), i;
|
|
1178
1177
|
}, J = (e, t) => (n, r) => t(n, r, e);
|
|
1179
1178
|
let ce = class extends O {
|
|
1180
1179
|
constructor(e, t, n, r, i, o, s) {
|
|
@@ -1182,9 +1181,9 @@ let ce = class extends O {
|
|
|
1182
1181
|
}
|
|
1183
1182
|
_initComponents() {
|
|
1184
1183
|
[
|
|
1185
|
-
[
|
|
1186
|
-
[
|
|
1187
|
-
[
|
|
1184
|
+
[Ue, Ue.componentKey],
|
|
1185
|
+
[xe, xe.componentKey],
|
|
1186
|
+
[Me, "LinkSingle"]
|
|
1188
1187
|
].forEach(([e, t]) => {
|
|
1189
1188
|
this._componentManager.register(t, e);
|
|
1190
1189
|
});
|
|
@@ -1192,7 +1191,7 @@ let ce = class extends O {
|
|
|
1192
1191
|
_initCommands() {
|
|
1193
1192
|
[
|
|
1194
1193
|
it,
|
|
1195
|
-
|
|
1194
|
+
Te,
|
|
1196
1195
|
ot,
|
|
1197
1196
|
st
|
|
1198
1197
|
].forEach((e) => {
|
|
@@ -1201,28 +1200,28 @@ let ce = class extends O {
|
|
|
1201
1200
|
}
|
|
1202
1201
|
_initMenus() {
|
|
1203
1202
|
var e, t, n, r;
|
|
1204
|
-
this._menuService.addMenuItem(
|
|
1203
|
+
this._menuService.addMenuItem(Vr(this._injector), (t = (e = this._config) == null ? void 0 : e.menu) != null ? t : {}), this._menuService.addMenuItem(Dr(this._injector), (r = (n = this._config) == null ? void 0 : n.menu) != null ? r : {});
|
|
1205
1204
|
}
|
|
1206
1205
|
_initShortCut() {
|
|
1207
1206
|
this._shortcutService.registerShortcut(Wt);
|
|
1208
1207
|
}
|
|
1209
1208
|
};
|
|
1210
|
-
ce =
|
|
1209
|
+
ce = Zr([
|
|
1211
1210
|
N($.Ready, ce),
|
|
1212
1211
|
J(1, h(An)),
|
|
1213
1212
|
J(2, F),
|
|
1214
1213
|
J(3, h(pe)),
|
|
1215
1214
|
J(4, Vn),
|
|
1216
|
-
J(5, h(
|
|
1215
|
+
J(5, h(Ve)),
|
|
1217
1216
|
J(6, h(Bn))
|
|
1218
1217
|
], ce);
|
|
1219
1218
|
const at = "SHEET_HYPER_LINK_UI_PLUGIN";
|
|
1220
|
-
var
|
|
1221
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
1219
|
+
var zr = Object.defineProperty, Kr = Object.getOwnPropertyDescriptor, Yr = (e, t, n, r) => {
|
|
1220
|
+
for (var i = r > 1 ? void 0 : r ? Kr(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
1222
1221
|
(s = e[o]) && (i = (r ? s(t, n, i) : s(i)) || i);
|
|
1223
|
-
return r && i &&
|
|
1222
|
+
return r && i && zr(t, n, i), i;
|
|
1224
1223
|
}, ft = (e, t) => (n, r) => t(n, r, e);
|
|
1225
|
-
let
|
|
1224
|
+
let Pe = class extends O {
|
|
1226
1225
|
constructor(e, t) {
|
|
1227
1226
|
super(), this._autoFillService = e, this._hyperLinkModel = t, this._initAutoFill();
|
|
1228
1227
|
}
|
|
@@ -1254,7 +1253,7 @@ let ke = class extends O {
|
|
|
1254
1253
|
endRow: G
|
|
1255
1254
|
},
|
|
1256
1255
|
A
|
|
1257
|
-
), { row: he, col:
|
|
1256
|
+
), { row: he, col: We } = l(q.startRow, q.startColumn), me = this._hyperLinkModel.getHyperLinkByLocation(c, a, he, We);
|
|
1258
1257
|
if (me) {
|
|
1259
1258
|
const te = ee.getPositionRange(
|
|
1260
1259
|
{
|
|
@@ -1312,17 +1311,17 @@ let ke = class extends O {
|
|
|
1312
1311
|
this.disposeWithMe(this._autoFillService.addHook(n));
|
|
1313
1312
|
}
|
|
1314
1313
|
};
|
|
1315
|
-
|
|
1316
|
-
N($.Ready,
|
|
1314
|
+
Pe = Yr([
|
|
1315
|
+
N($.Ready, Pe),
|
|
1317
1316
|
ft(0, In),
|
|
1318
1317
|
ft(1, h(T))
|
|
1319
|
-
],
|
|
1320
|
-
var
|
|
1321
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
1318
|
+
], Pe);
|
|
1319
|
+
var Gr = Object.defineProperty, qr = Object.getOwnPropertyDescriptor, Xr = (e, t, n, r) => {
|
|
1320
|
+
for (var i = r > 1 ? void 0 : r ? qr(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
1322
1321
|
(s = e[o]) && (i = (r ? s(t, n, i) : s(i)) || i);
|
|
1323
|
-
return r && i &&
|
|
1324
|
-
},
|
|
1325
|
-
let
|
|
1322
|
+
return r && i && Gr(t, n, i), i;
|
|
1323
|
+
}, Ce = (e, t) => (n, r) => t(n, r, e);
|
|
1324
|
+
let be = class extends O {
|
|
1326
1325
|
constructor(t, n, r, i) {
|
|
1327
1326
|
super();
|
|
1328
1327
|
D(this, "_copyInfo");
|
|
@@ -1413,10 +1412,10 @@ let Pe = class extends O {
|
|
|
1413
1412
|
if (!this._copyInfo || !this._copyInfo.matrix.getSizeOf() || !n.copyRange)
|
|
1414
1413
|
return { redos: [], undos: [] };
|
|
1415
1414
|
if ([
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1415
|
+
ve.SPECIAL_PASTE_COL_WIDTH,
|
|
1416
|
+
ve.SPECIAL_PASTE_VALUE,
|
|
1417
|
+
ve.SPECIAL_PASTE_FORMAT,
|
|
1418
|
+
ve.SPECIAL_PASTE_FORMULA
|
|
1420
1419
|
].includes(
|
|
1421
1420
|
n.pasteType
|
|
1422
1421
|
))
|
|
@@ -1475,19 +1474,19 @@ let Pe = class extends O {
|
|
|
1475
1474
|
};
|
|
1476
1475
|
}
|
|
1477
1476
|
};
|
|
1478
|
-
|
|
1479
|
-
N($.Ready,
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
],
|
|
1485
|
-
var
|
|
1486
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
1477
|
+
be = Xr([
|
|
1478
|
+
N($.Ready, be),
|
|
1479
|
+
Ce(0, Rn),
|
|
1480
|
+
Ce(1, h(T)),
|
|
1481
|
+
Ce(2, h(Ve)),
|
|
1482
|
+
Ce(3, h(W))
|
|
1483
|
+
], be);
|
|
1484
|
+
var Jr = Object.defineProperty, Qr = Object.getOwnPropertyDescriptor, ei = (e, t, n, r) => {
|
|
1485
|
+
for (var i = r > 1 ? void 0 : r ? Qr(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
1487
1486
|
(s = e[o]) && (i = (r ? s(t, n, i) : s(i)) || i);
|
|
1488
|
-
return r && i &&
|
|
1489
|
-
},
|
|
1490
|
-
let
|
|
1487
|
+
return r && i && Jr(t, n, i), i;
|
|
1488
|
+
}, ti = (e, t) => (n, r) => t(n, r, e);
|
|
1489
|
+
let Re = class extends O {
|
|
1491
1490
|
constructor(e) {
|
|
1492
1491
|
super(), this._resolverService = e, this._handleInitUrl();
|
|
1493
1492
|
}
|
|
@@ -1496,16 +1495,16 @@ let be = class extends O {
|
|
|
1496
1495
|
e && this._resolverService.parseHyperLink(e).handler();
|
|
1497
1496
|
}
|
|
1498
1497
|
};
|
|
1499
|
-
|
|
1500
|
-
N($.Rendered,
|
|
1501
|
-
|
|
1502
|
-
],
|
|
1503
|
-
var
|
|
1504
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
1498
|
+
Re = ei([
|
|
1499
|
+
N($.Rendered, Re),
|
|
1500
|
+
ti(0, h(W))
|
|
1501
|
+
], Re);
|
|
1502
|
+
var ni = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, ii = (e, t, n, r) => {
|
|
1503
|
+
for (var i = r > 1 ? void 0 : r ? ri(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
1505
1504
|
(s = e[o]) && (i = (r ? s(t, n, i) : s(i)) || i);
|
|
1506
|
-
return r && i &&
|
|
1505
|
+
return r && i && ni(t, n, i), i;
|
|
1507
1506
|
}, Ke = (e, t) => (n, r) => t(n, r, e);
|
|
1508
|
-
let
|
|
1507
|
+
let we = class extends O {
|
|
1509
1508
|
constructor(e, t, n) {
|
|
1510
1509
|
super(), this._localeService = e, this._commandService = t, this._sheetPermissionInterceptorBaseController = n, this._commandExecutedListener();
|
|
1511
1510
|
}
|
|
@@ -1513,26 +1512,26 @@ let Re = class extends O {
|
|
|
1513
1512
|
this.disposeWithMe(
|
|
1514
1513
|
this._commandService.beforeCommandExecuted((e) => {
|
|
1515
1514
|
e.id === Wt.id && (this._sheetPermissionInterceptorBaseController.permissionCheckWithRanges({
|
|
1516
|
-
workbookTypes: [
|
|
1517
|
-
rangeTypes: [
|
|
1518
|
-
worksheetTypes: [
|
|
1515
|
+
workbookTypes: [Ne],
|
|
1516
|
+
rangeTypes: [Be],
|
|
1517
|
+
worksheetTypes: [$e, tt, Ae]
|
|
1519
1518
|
}) || this._sheetPermissionInterceptorBaseController.haveNotPermissionHandle(this._localeService.t("permission.dialog.hyperLinkErr")));
|
|
1520
1519
|
})
|
|
1521
1520
|
);
|
|
1522
1521
|
}
|
|
1523
1522
|
};
|
|
1524
|
-
|
|
1525
|
-
N($.Rendered,
|
|
1523
|
+
we = ii([
|
|
1524
|
+
N($.Rendered, we),
|
|
1526
1525
|
Ke(0, h(pe)),
|
|
1527
1526
|
Ke(1, F),
|
|
1528
1527
|
Ke(2, h(Pt))
|
|
1529
|
-
],
|
|
1530
|
-
var Ft = Object.defineProperty,
|
|
1531
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
1528
|
+
], we);
|
|
1529
|
+
var Ft = Object.defineProperty, oi = Object.getOwnPropertyDescriptor, si = (e, t, n) => t in e ? Ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ai = (e, t, n, r) => {
|
|
1530
|
+
for (var i = r > 1 ? void 0 : r ? oi(t, n) : t, o = e.length - 1, s; o >= 0; o--)
|
|
1532
1531
|
(s = e[o]) && (i = (r ? s(t, n, i) : s(i)) || i);
|
|
1533
1532
|
return r && i && Ft(t, n, i), i;
|
|
1534
|
-
}, vt = (e, t) => (n, r) => t(n, r, e), Zt = (e, t, n) =>
|
|
1535
|
-
let
|
|
1533
|
+
}, vt = (e, t) => (n, r) => t(n, r, e), Zt = (e, t, n) => si(e, typeof t != "symbol" ? t + "" : t, n);
|
|
1534
|
+
let je = class extends nn {
|
|
1536
1535
|
constructor(e, t, n) {
|
|
1537
1536
|
super(), this._config = e, this._injector = t, this._renderManagerService = n;
|
|
1538
1537
|
}
|
|
@@ -1540,45 +1539,45 @@ let Ue = class extends nn {
|
|
|
1540
1539
|
[
|
|
1541
1540
|
[W],
|
|
1542
1541
|
[H],
|
|
1543
|
-
[Ce],
|
|
1544
1542
|
[ye],
|
|
1545
|
-
[
|
|
1543
|
+
[Se],
|
|
1546
1544
|
[Ie],
|
|
1545
|
+
[ke],
|
|
1547
1546
|
[
|
|
1548
1547
|
ce,
|
|
1549
1548
|
{
|
|
1550
1549
|
useFactory: () => this._injector.createInstance(ce, this._config)
|
|
1551
1550
|
}
|
|
1552
1551
|
],
|
|
1553
|
-
[ke],
|
|
1554
1552
|
[Pe],
|
|
1555
|
-
[
|
|
1556
|
-
[
|
|
1557
|
-
|
|
1553
|
+
[be],
|
|
1554
|
+
[we],
|
|
1555
|
+
[Re]
|
|
1556
|
+
].forEach((n) => e.add(n)), this._renderManagerService.registerRenderModule(w.UNIVER_SHEET, Xe);
|
|
1558
1557
|
}
|
|
1559
1558
|
};
|
|
1560
|
-
Zt(
|
|
1561
|
-
Zt(
|
|
1562
|
-
|
|
1559
|
+
Zt(je, "pluginName", at);
|
|
1560
|
+
Zt(je, "type", w.UNIVER_SHEET);
|
|
1561
|
+
je = ai([
|
|
1563
1562
|
rn(Cn),
|
|
1564
|
-
vt(1, h(
|
|
1563
|
+
vt(1, h(Ve)),
|
|
1565
1564
|
vt(2, nt)
|
|
1566
|
-
],
|
|
1565
|
+
], je);
|
|
1567
1566
|
export {
|
|
1568
|
-
|
|
1567
|
+
Te as CloseHyperLinkSidebarOperation,
|
|
1569
1568
|
ot as InsertHyperLinkOperation,
|
|
1570
1569
|
Wt as InsertLinkShortcut,
|
|
1571
1570
|
it as OpenHyperLinkSidebarOperation,
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1571
|
+
Ie as SheetHyperLinkSetRangeController,
|
|
1572
|
+
Re as SheetHyperLinkUrlController,
|
|
1573
|
+
Pe as SheetsHyperLinkAutoFillController,
|
|
1574
|
+
be as SheetsHyperLinkCopyPasteController,
|
|
1575
|
+
ke as SheetsHyperLinkPopupController,
|
|
1577
1576
|
H as SheetsHyperLinkPopupService,
|
|
1578
|
-
|
|
1577
|
+
ye as SheetsHyperLinkRemoveSheetController,
|
|
1579
1578
|
Xe as SheetsHyperLinkRenderController,
|
|
1580
|
-
|
|
1579
|
+
Se as SheetsHyperLinkRenderManagerController,
|
|
1581
1580
|
W as SheetsHyperLinkResolverService,
|
|
1582
1581
|
ce as SheetsHyperLinkUIController,
|
|
1583
|
-
|
|
1582
|
+
je as UniverSheetsHyperLinkUIPlugin
|
|
1584
1583
|
};
|