@univerjs/sheets-table-ui 0.7.0-beta.0 → 0.7.0-nightly.202504301607
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 +13 -14
- package/lib/es/index.js +137 -137
- package/lib/index.css +1 -0
- package/lib/index.js +137 -137
- package/lib/types/index.d.ts +1 -0
- package/lib/umd/index.js +15 -16
- package/package.json +13 -13
- package/LICENSE +0 -176
package/lib/es/index.js
CHANGED
|
@@ -8,13 +8,13 @@ import { SheetCanvasPopManagerService as qr, SheetSkeletonManagerService as at,
|
|
|
8
8
|
import { useDependency as R, ComponentManager as Xt, IDialogService as Kt, ISidebarService as en, useObservable as Me, IUIPartsService as tn, BuiltInUIPart as rn, connectInjector as nn, MenuItemType as Ne, ContextMenuPosition as an, ContextMenuGroup as sn, RibbonStartGroup as ln, IMenuManagerService as on } from "@univerjs/ui";
|
|
9
9
|
import { startWith as Jt, distinctUntilChanged as cn, Subject as un, BehaviorSubject as xt, merge as Ct, filter as dn, debounceTime as hn, switchMap as Re, of as X, map as vn, takeUntil as bn } from "rxjs";
|
|
10
10
|
import { jsxs as T, jsx as o, Fragment as St } from "react/jsx-runtime";
|
|
11
|
-
import { LegacySelect as gn, CascaderList as mn, Input as _t, InputNumber as ct, DatePicker as pn, DateRangePicker as fn, Select as Cn,
|
|
12
|
-
import { SetRangeValuesMutation as
|
|
13
|
-
import { SortRangeCommand as
|
|
14
|
-
import { forwardRef as re, useRef as
|
|
15
|
-
import { serializeRange as Ot, deserializeRangeWithSheet as
|
|
16
|
-
import { RangeSelector as
|
|
17
|
-
const
|
|
11
|
+
import { LegacySelect as gn, CascaderList as mn, Input as _t, InputNumber as ct, DatePicker as pn, DateRangePicker as fn, Select as Cn, clsx as Sn, Checkbox as Nt, scrollbarClassName as _n, Segmented as Tn, Button as We, Dropdown as Ue, ColorPicker as Qe } from "@univerjs/design";
|
|
12
|
+
import { SetRangeValuesMutation as yn, WorkbookEditablePermission as er, getSheetCommandTarget as st, SheetsSelectionsService as lt, isSingleCellSelection as wn, expandToContinuousRange as In, SetRangeThemeMutation as tr, WorkbookPermissionService as rr, SheetRangeThemeModel as nr, SheetInterceptorService as ir, INTERCEPTOR_POINT as Mn, RangeThemeStyle as Rn, getPrimaryForRange as Et, SetSelectionsOperation as Lt } from "@univerjs/sheets";
|
|
13
|
+
import { SortRangeCommand as xn, SortType as $t } from "@univerjs/sheets-sort";
|
|
14
|
+
import { forwardRef as re, useRef as Nn, createElement as ne, useState as W, useMemo as ar, useCallback as kt, useEffect as sr } from "react";
|
|
15
|
+
import { serializeRange as Ot, deserializeRangeWithSheet as En } from "@univerjs/engine-formula";
|
|
16
|
+
import { RangeSelector as Ln } from "@univerjs/sheets-formula-ui";
|
|
17
|
+
const $n = "SHEET_TABLE_UI_PLUGIN", ge = "SHEETS_TABLE_FILTER_PANEL_OPENED_KEY", kn = "UNIVER_SHEET_Table_FILTER_PANEL_ID", lr = "TABLE_TOOLBAR_BUTTON", Oe = "TABLE_SELECTOR_DIALOG", On = "SHEET_TABLE_THEME_PANEL_ID", or = "SHEET_TABLE_THEME_PANEL", ut = "table-custom-", Pn = "table-default-", be = "rgb(255, 255, 255)", Y = "none", $e = "1px solid rgb(var(--grey-200))", Pt = "1px solid rgb(var(--blue-500))";
|
|
18
18
|
var Q = function() {
|
|
19
19
|
return Q = Object.assign || function(r) {
|
|
20
20
|
for (var e, t = 1, n = arguments.length; t < n; t++) {
|
|
@@ -23,7 +23,7 @@ var Q = function() {
|
|
|
23
23
|
}
|
|
24
24
|
return r;
|
|
25
25
|
}, Q.apply(this, arguments);
|
|
26
|
-
},
|
|
26
|
+
}, Dn = function(r, e) {
|
|
27
27
|
var t = {};
|
|
28
28
|
for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && e.indexOf(n) < 0 && (t[n] = r[n]);
|
|
29
29
|
if (r != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -31,15 +31,15 @@ var Q = function() {
|
|
|
31
31
|
e.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(r, n[i]) && (t[n[i]] = r[n[i]]);
|
|
32
32
|
return t;
|
|
33
33
|
}, ie = re(function(r, e) {
|
|
34
|
-
var t = r.icon, n = r.id, i = r.className, a = r.extend, s =
|
|
34
|
+
var t = r.icon, n = r.id, i = r.className, a = r.extend, s = Dn(r, ["icon", "id", "className", "extend"]), c = "univerjs-icon univerjs-icon-".concat(n, " ").concat(i || "").trim(), h = Nn("_".concat(Hn()));
|
|
35
35
|
return cr(t, "".concat(n), { defIds: t.defIds, idSuffix: h.current }, Q({ ref: e, className: c }, s), a);
|
|
36
36
|
});
|
|
37
37
|
function cr(r, e, t, n, i) {
|
|
38
|
-
return ne(r.tag, Q(Q({ key: e },
|
|
38
|
+
return ne(r.tag, Q(Q({ key: e }, Bn(r, t, i)), n), (Fn(r, t).children || []).map(function(a, s) {
|
|
39
39
|
return cr(a, "".concat(e, "-").concat(r.tag, "-").concat(s), t, void 0, i);
|
|
40
40
|
}));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Bn(r, e, t) {
|
|
43
43
|
var n = Q({}, r.attrs);
|
|
44
44
|
t != null && t.colorChannel1 && n.fill === "colorChannel1" && (n.fill = t.colorChannel1), r.tag === "mask" && n.id && (n.id = n.id + e.idSuffix), Object.entries(n).forEach(function(a) {
|
|
45
45
|
var s = a[0], c = a[1];
|
|
@@ -51,90 +51,90 @@ function Dn(r, e, t) {
|
|
|
51
51
|
typeof c == "string" && (n[s] = c.replace(/url\(#(.*)\)/, "url(#$1".concat(e.idSuffix, ")")));
|
|
52
52
|
})), n;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Fn(r, e) {
|
|
55
55
|
var t, n = e.defIds;
|
|
56
56
|
return !n || n.length === 0 ? r : r.tag === "defs" && (!((t = r.children) === null || t === void 0) && t.length) ? Q(Q({}, r), { children: r.children.map(function(i) {
|
|
57
57
|
return typeof i.attrs.id == "string" && n && n.indexOf(i.attrs.id) > -1 ? Q(Q({}, i), { attrs: Q(Q({}, i.attrs), { id: i.attrs.id + e.idSuffix }) }) : i;
|
|
58
58
|
}) }) : r;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Hn() {
|
|
61
61
|
return Math.random().toString(36).substring(2, 8);
|
|
62
62
|
}
|
|
63
63
|
ie.displayName = "UniverIcon";
|
|
64
|
-
var
|
|
64
|
+
var Vn = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M12.4208 14.4667C12.4208 14.798 12.1522 15.0667 11.8208 15.0667C11.4895 15.0667 11.2208 14.798 11.2208 14.4667V2.98193L9.97861 4.22417C9.7443 4.45848 9.3644 4.45848 9.13008 4.22417C8.89577 3.98985 8.89577 3.60995 9.13008 3.37564L11.3967 1.10897C11.6311 0.874657 12.011 0.874657 12.2453 1.10897L14.5119 3.37564C14.7463 3.60995 14.7463 3.98985 14.5119 4.22417C14.2776 4.45848 13.8977 4.45848 13.6634 4.22417L12.4208 2.9816V14.4667Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.98967 10.2798C1.6583 10.2798 1.38967 10.0112 1.38967 9.67983 1.38967 9.34846 1.6583 9.07983 1.98967 9.07983H6.50138C6.74406 9.07983 6.96284 9.22602 7.05571 9.45022 7.14858 9.67443 7.09725 9.9325 6.92565 10.1041L3.43819 13.5916H6.50138C6.83276 13.5916 7.10138 13.8602 7.10138 14.1916 7.10138 14.5229 6.83276 14.7916 6.50138 14.7916H1.98967C1.74699 14.7916 1.52821 14.6454 1.43534 14.4212 1.34247 14.197 1.3938 13.9389 1.5654 13.7673L5.05286 10.2798H1.98967zM5.1846 1.86439C4.8641.989866 3.62725.989866 3.30674 1.86439L1.34882 7.20672C1.23479 7.51786 1.39458 7.86252 1.70571 7.97655 2.01684 8.09058 2.3615 7.93079 2.47553 7.61966L3.06159 6.02055 3.06338 6.02056H5.42975L6.01581 7.61966C6.12984 7.93079 6.4745 8.09058 6.78563 7.97655 7.09677 7.86252 7.25655 7.51786 7.14252 7.20672L5.1846 1.86439zM4.98996 4.82056L4.24567 2.78971 3.50138 4.82056H4.98996z", fillRule: "evenodd", clipRule: "evenodd" } }] }, ur = re(function(r, e) {
|
|
65
65
|
return ne(ie, Object.assign({}, r, {
|
|
66
66
|
id: "ascending- single",
|
|
67
67
|
ref: e,
|
|
68
|
-
icon:
|
|
68
|
+
icon: Vn
|
|
69
69
|
}));
|
|
70
70
|
});
|
|
71
71
|
ur.displayName = "AscendingSingle";
|
|
72
|
-
var
|
|
72
|
+
var An = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M5.3313 1.4667C5.3313 1.13533 5.59993.866699 5.9313.866699H10.069C10.4004.866699 10.669 1.13533 10.669 1.4667 10.669 1.79807 10.4004 2.0667 10.069 2.0667H5.9313C5.59993 2.0667 5.3313 1.79807 5.3313 1.4667zM1.09985 3.64443C1.09985 3.31306 1.36848 3.04443 1.69985 3.04443H14.2999C14.6312 3.04443 14.8999 3.31306 14.8999 3.64443 14.8999 3.9758 14.6312 4.24443 14.2999 4.24443H1.69985C1.36848 4.24443 1.09985 3.9758 1.09985 3.64443zM6.12398 8.30171C6.35829 8.0674 6.73819 8.0674 6.97251 8.30171L8.00007 9.32928 9.02764 8.30171C9.26195 8.0674 9.64185 8.0674 9.87617 8.30171 10.1105 8.53603 10.1105 8.91593 9.87617 9.15024L8.8486 10.1778 9.87617 11.2054C10.1105 11.4397 10.1105 11.8196 9.87617 12.0539 9.64185 12.2882 9.26195 12.2882 9.02764 12.0539L8.00007 11.0263 6.97251 12.0539C6.73819 12.2882 6.35829 12.2882 6.12398 12.0539 5.88966 11.8196 5.88966 11.4397 6.12398 11.2054L7.15154 10.1778 6.12398 9.15024C5.88966 8.91593 5.88966 8.53603 6.12398 8.30171z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M4.75332 5.22217C3.86966 5.22217 3.15332 5.93851 3.15332 6.82217V12.5331C3.15332 13.9691 4.31738 15.1332 5.75332 15.1332H10.2465C11.6825 15.1332 12.8465 13.9691 12.8465 12.5331V6.82217C12.8465 5.93851 12.1302 5.22217 11.2465 5.22217H4.75332ZM4.35332 6.82217C4.35332 6.60125 4.53241 6.42217 4.75332 6.42217H11.2465C11.4674 6.42217 11.6465 6.60125 11.6465 6.82217V12.5331C11.6465 13.3063 11.0197 13.9332 10.2465 13.9332H5.75332C4.98012 13.9332 4.35332 13.3063 4.35332 12.5331V6.82217Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, dr = re(function(r, e) {
|
|
73
73
|
return ne(ie, Object.assign({}, r, {
|
|
74
74
|
id: "delete-single",
|
|
75
75
|
ref: e,
|
|
76
|
-
icon:
|
|
76
|
+
icon: An
|
|
77
77
|
}));
|
|
78
78
|
});
|
|
79
79
|
dr.displayName = "DeleteSingle";
|
|
80
|
-
var
|
|
80
|
+
var Un = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M12.4208 1.53335C12.4208 1.20198 12.1522 0.93335 11.8208 0.93335C11.4895 0.93335 11.2208 1.20198 11.2208 1.53335V13.0181L9.97861 11.7758C9.7443 11.5415 9.3644 11.5415 9.13008 11.7758C8.89577 12.0101 8.89577 12.39 9.13008 12.6244L11.3967 14.891C11.6311 15.1253 12.011 15.1253 12.2453 14.891L14.5119 12.6244C14.7463 12.39 14.7463 12.0101 14.5119 11.7758C14.2776 11.5415 13.8977 11.5415 13.6634 11.7758L12.4208 13.0184V1.53335Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.98967 10.2798C1.6583 10.2798 1.38967 10.0112 1.38967 9.67983 1.38967 9.34846 1.6583 9.07983 1.98967 9.07983H6.50138C6.74406 9.07983 6.96284 9.22602 7.05571 9.45022 7.14858 9.67443 7.09725 9.9325 6.92565 10.1041L3.43819 13.5916H6.50138C6.83276 13.5916 7.10138 13.8602 7.10138 14.1916 7.10138 14.5229 6.83276 14.7916 6.50138 14.7916H1.98967C1.74699 14.7916 1.52821 14.6454 1.43534 14.4212 1.34247 14.197 1.3938 13.9389 1.5654 13.7673L5.05286 10.2798H1.98967zM5.1846 1.86439C4.8641.989866 3.62725.989866 3.30674 1.86439L1.34882 7.20672C1.23479 7.51786 1.39458 7.86252 1.70571 7.97655 2.01684 8.09058 2.3615 7.93079 2.47553 7.61966L3.06159 6.02055 3.06338 6.02056H5.42975L6.01581 7.61966C6.12984 7.93079 6.4745 8.09058 6.78563 7.97655 7.09677 7.86252 7.25655 7.51786 7.14252 7.20672L5.1846 1.86439zM4.98996 4.82056L4.24567 2.78971 3.50138 4.82056H4.98996z", fillRule: "evenodd", clipRule: "evenodd" } }] }, hr = re(function(r, e) {
|
|
81
81
|
return ne(ie, Object.assign({}, r, {
|
|
82
82
|
id: "descending-single",
|
|
83
83
|
ref: e,
|
|
84
|
-
icon:
|
|
84
|
+
icon: Un
|
|
85
85
|
}));
|
|
86
86
|
});
|
|
87
87
|
hr.displayName = "DescendingSingle";
|
|
88
|
-
var
|
|
88
|
+
var jn = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8.85869 12.9216C8.38445 13.4708 7.61555 13.4708 7.14131 12.9216L0.358114 5.06726C-0.406895 4.18144 0.134916 2.66683 1.2168 2.66683L14.7832 2.66683C15.8651 2.66683 16.4069 4.18144 15.6419 5.06726L8.85869 12.9216Z" } }] }, je = re(function(r, e) {
|
|
89
89
|
return ne(ie, Object.assign({}, r, {
|
|
90
90
|
id: "dropdown-single",
|
|
91
91
|
ref: e,
|
|
92
|
-
icon:
|
|
92
|
+
icon: jn
|
|
93
93
|
}));
|
|
94
94
|
});
|
|
95
95
|
je.displayName = "DropdownSingle";
|
|
96
|
-
var
|
|
96
|
+
var Wn = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3.33333 3.33333V6H6V3.33333H3.33333ZM2 3.238C2 2.55427 2.55427 2 3.238 2H6.09533C6.77906 2 7.33333 2.55427 7.33333 3.238V6.09533C7.33333 6.77906 6.77906 7.33333 6.09533 7.33333H3.238C2.55427 7.33333 2 6.77906 2 6.09533V3.238ZM10 3.33333V6H12.6667V3.33333H10ZM8.66667 3.238C8.66667 2.55427 9.22094 2 9.90467 2H12.762C13.4457 2 14 2.55427 14 3.238V6.09533C14 6.77906 13.4457 7.33333 12.762 7.33333H9.90467C9.22094 7.33333 8.66667 6.77906 8.66667 6.09533V3.238ZM3.33333 10V12.6667H6V10H3.33333ZM2 9.90467C2 9.22094 2.55427 8.66667 3.238 8.66667H6.09533C6.77906 8.66667 7.33333 9.22094 7.33333 9.90467V12.762C7.33333 13.4457 6.77906 14 6.09533 14H3.238C2.55427 14 2 13.4457 2 12.762V9.90467ZM10 10V12.6667H12.6667V10H10ZM8.66667 9.90467C8.66667 9.22094 9.22094 8.66667 9.90467 8.66667H12.762C13.4457 8.66667 14 9.22094 14 9.90467V12.762C14 13.4457 13.4457 14 12.762 14H9.90467C9.22094 14 8.66667 13.4457 8.66667 12.762V9.90467Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, vr = re(function(r, e) {
|
|
97
97
|
return ne(ie, Object.assign({}, r, {
|
|
98
98
|
id: "grid-outline-single",
|
|
99
99
|
ref: e,
|
|
100
|
-
icon:
|
|
100
|
+
icon: Wn
|
|
101
101
|
}));
|
|
102
102
|
});
|
|
103
103
|
vr.displayName = "GridOutlineSingle";
|
|
104
|
-
var
|
|
104
|
+
var Zn = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M11.3536 6.14645C11.5488 6.34171 11.5488 6.65829 11.3536 6.85355L8.35355 9.85355C8.15829 10.0488 7.84171 10.0488 7.64645 9.85355L4.64645 6.85355C4.45118 6.65829 4.45118 6.34171 4.64645 6.14645C4.84171 5.95118 5.15829 5.95118 5.35355 6.14645L8 8.79289L10.6464 6.14645C10.8417 5.95118 11.1583 5.95118 11.3536 6.14645Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, br = re(function(r, e) {
|
|
105
105
|
return ne(ie, Object.assign({}, r, {
|
|
106
106
|
id: "more-down-single",
|
|
107
107
|
ref: e,
|
|
108
|
-
icon:
|
|
108
|
+
icon: Zn
|
|
109
109
|
}));
|
|
110
110
|
});
|
|
111
111
|
br.displayName = "MoreDownSingle";
|
|
112
|
-
var
|
|
112
|
+
var qn = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8.01281 1.36643C8.79386 0.585377 10.0602 0.585378 10.8412 1.36643L12.9223 3.44752C13.7034 4.22857 13.7034 5.4949 12.9223 6.27595L9.36445 9.83383C8.5834 10.6149 7.31707 10.6149 6.53602 9.83383L4.45493 7.75273C3.67388 6.97168 3.67388 5.70535 4.45493 4.9243L8.01281 1.36643ZM9.9927 2.21495C9.68028 1.90253 9.17375 1.90253 8.86133 2.21495L5.30346 5.77283L5.29671 5.77966L10.839 6.66224L12.0738 5.42742C12.3862 5.115 12.3862 4.60847 12.0738 4.29605L9.9927 2.21495Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M14.5179 9.48875C14.5179 9.99175 14.1101 10.3995 13.607 10.3995C13.1041 10.3995 12.6963 9.99175 12.6963 9.48875C12.6963 9.1773 13.0455 8.59966 13.3114 8.20487C13.4549 7.99177 13.7591 7.99177 13.9027 8.20486C14.1687 8.59965 14.5179 9.1773 14.5179 9.48875Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M1.98682 13.4992C1.98682 12.5603 2.74793 11.7992 3.68682 11.7992H14.2868C15.2257 11.7992 15.9868 12.5603 15.9868 13.4992V13.4992C15.9868 14.4381 15.2257 15.1992 14.2868 15.1992H3.68682C2.74793 15.1992 1.98682 14.4381 1.98682 13.4992V13.4992Z" } }] }, gr = re(function(r, e) {
|
|
113
113
|
return ne(ie, Object.assign({}, r, {
|
|
114
114
|
id: "paint-bucket",
|
|
115
115
|
ref: e,
|
|
116
|
-
icon:
|
|
116
|
+
icon: qn
|
|
117
117
|
}));
|
|
118
118
|
});
|
|
119
119
|
gr.displayName = "PaintBucket";
|
|
120
|
-
var
|
|
120
|
+
var Yn = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3.80068 2.57257L7.27955 2.57256C7.61092 2.57256 7.87954 2.30393 7.87954 1.97256C7.87954 1.64119 7.61091 1.37256 7.27954 1.37256L3.80068 1.37257C2.36473 1.37257 1.20067 2.53665 1.20068 3.97259L1.20074 12.3001C1.20075 13.736 2.36481 14.9 3.80074 14.9H12.1282C13.5641 14.9 14.7282 13.736 14.7282 12.3V8.82116C14.7282 8.48979 14.4595 8.22116 14.1282 8.22116C13.7968 8.22116 13.5282 8.48979 13.5282 8.82116V12.3C13.5282 13.0732 12.9014 13.7 12.1282 13.7H3.80074C3.02754 13.7 2.40074 13.0732 2.40074 12.3001L2.40068 3.97258C2.40068 3.19938 3.02748 2.57257 3.80068 2.57257Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M14.0072 2.0955C13.0997 1.18757 11.6278 1.18794 10.7207 2.09632L6.17749 6.646C6.10294 6.72065 6.04543 6.81056 6.00889 6.90954L4.59817 10.7315C4.51713 10.951 4.57116 11.1977 4.73657 11.3633C4.90198 11.5288 5.14858 11.5831 5.36823 11.5023L9.20237 10.0916C9.30186 10.055 9.3922 9.99722 9.46714 9.92224L14.0073 5.37972C14.9139 4.47266 14.9138 3.00252 14.0072 2.0955ZM11.5698 2.94424C12.0083 2.50513 12.7198 2.50496 13.1585 2.94384C13.5968 3.38229 13.5968 4.09294 13.1585 4.53141L8.69127 9.00102L6.1742 9.92713L7.09912 7.42132L11.5698 2.94424Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, mr = re(function(r, e) {
|
|
121
121
|
return ne(ie, Object.assign({}, r, {
|
|
122
122
|
id: "rename-single",
|
|
123
123
|
ref: e,
|
|
124
|
-
icon:
|
|
124
|
+
icon: Yn
|
|
125
125
|
}));
|
|
126
126
|
});
|
|
127
127
|
mr.displayName = "RenameSingle";
|
|
128
|
-
var
|
|
128
|
+
var Qn = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.7643 4.13354C1.7643 2.82523 2.82488 1.76465 4.13319 1.76465H11.8665C13.1748 1.76465 14.2354 2.82524 14.2354 4.13354V11.8669C14.2354 13.1752 13.1748 14.2358 11.8665 14.2358H4.13318C2.82488 14.2358 1.7643 13.1752 1.7643 11.8669V6.1462C1.76388 6.13711 1.76367 6.12797 1.76367 6.11878C1.76367 6.10959 1.76388 6.10045 1.7643 6.09136V4.13354ZM2.94652 6.70989V11.8669C2.94652 12.5222 3.47781 13.0535 4.13318 13.0535H5.52732V6.70989H2.94652ZM5.52732 5.52767H2.94652V4.13354C2.94652 3.47816 3.47781 2.94687 4.13319 2.94687H5.52732V5.52767ZM6.70954 6.70989V13.0535H11.8665C12.5219 13.0535 13.0532 12.5222 13.0532 11.8669V6.70989L6.70954 6.70989ZM13.0532 5.52767L6.70954 5.52767V2.94687H11.8665C12.5219 2.94687 13.0532 3.47816 13.0532 4.13354V5.52767Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, pr = re(function(r, e) {
|
|
129
129
|
return ne(ie, Object.assign({}, r, {
|
|
130
130
|
id: "table-single",
|
|
131
131
|
ref: e,
|
|
132
|
-
icon:
|
|
132
|
+
icon: Qn
|
|
133
133
|
}));
|
|
134
134
|
});
|
|
135
135
|
pr.displayName = "TableSingle";
|
|
136
|
-
var fe = /* @__PURE__ */ ((r) => (r.Items = "items", r.Condition = "condition", r))(fe || {}),
|
|
137
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
136
|
+
var fe = /* @__PURE__ */ ((r) => (r.Items = "items", r.Condition = "condition", r))(fe || {}), zn = Object.getOwnPropertyDescriptor, Gn = (r, e, t, n) => {
|
|
137
|
+
for (var i = n > 1 ? void 0 : n ? zn(e, t) : e, a = r.length - 1, s; a >= 0; a--)
|
|
138
138
|
(s = r[a]) && (i = s(i) || i);
|
|
139
139
|
return i;
|
|
140
140
|
}, ze = (r, e) => (t, n) => e(t, n, r);
|
|
@@ -146,7 +146,7 @@ let Pe = class extends Be {
|
|
|
146
146
|
}
|
|
147
147
|
_registerTableFilterChangeEvent() {
|
|
148
148
|
this._commandService.onCommandExecuted((e) => {
|
|
149
|
-
if (e.id ===
|
|
149
|
+
if (e.id === yn.id) {
|
|
150
150
|
const { unitId: t, subUnitId: n, cellValue: i } = e.params, a = this._tableManager.getTablesBySubunitId(t, n);
|
|
151
151
|
if (!a.length)
|
|
152
152
|
return;
|
|
@@ -228,14 +228,14 @@ let Pe = class extends Be {
|
|
|
228
228
|
return this._itemsCache.set(n + i, { data: S, itemsCountMap: C, allItemsCount: _ }), { data: S, itemsCountMap: C, allItemsCount: _ };
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
|
-
Pe =
|
|
231
|
+
Pe = Gn([
|
|
232
232
|
ze(0, N(te)),
|
|
233
233
|
ze(1, N(Br)),
|
|
234
234
|
ze(2, N(Ce)),
|
|
235
235
|
ze(3, ee)
|
|
236
236
|
], Pe);
|
|
237
237
|
var j = /* @__PURE__ */ ((r) => (r.DatePicker = "DatePicker", r.DateRange = "DateRange", r.Input = "Input", r.Inputs = "Inputs", r.Select = "Select", r.None = "None", r))(j || {});
|
|
238
|
-
function
|
|
238
|
+
function Xn(r) {
|
|
239
239
|
const t = r.get(oe).t;
|
|
240
240
|
return [
|
|
241
241
|
{
|
|
@@ -414,7 +414,7 @@ function Gn(r) {
|
|
|
414
414
|
}
|
|
415
415
|
];
|
|
416
416
|
}
|
|
417
|
-
function
|
|
417
|
+
function Kn(r, e) {
|
|
418
418
|
if (!e)
|
|
419
419
|
return [];
|
|
420
420
|
const n = r.get(oe).t;
|
|
@@ -501,10 +501,10 @@ const Tt = /* @__PURE__ */ new Set([
|
|
|
501
501
|
l.Before,
|
|
502
502
|
l.BeforeOrEqual
|
|
503
503
|
]);
|
|
504
|
-
function
|
|
504
|
+
function Jn(r, e) {
|
|
505
505
|
return e ? r === H.String ? j.Input : r === H.Number ? e === $.Between || e === $.NotBetween ? j.Inputs : j.Input : r === H.Date ? e === l.Between || e === l.NotBetween ? j.DateRange : e === l.Quarter || e === l.Month ? j.Select : Tt.has(e) ? j.DatePicker : j.None : j.None : j.None;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function ei(r) {
|
|
508
508
|
if (!r || r.filterType !== "condition")
|
|
509
509
|
return {
|
|
510
510
|
type: H.String,
|
|
@@ -564,15 +564,15 @@ function Jn(r) {
|
|
|
564
564
|
info: {}
|
|
565
565
|
};
|
|
566
566
|
}
|
|
567
|
-
const
|
|
567
|
+
const ti = (r) => {
|
|
568
568
|
var C, _, k, p, E, I, P;
|
|
569
|
-
const { conditionInfo: e, onChange: t } = r, n = R(oe), [i, a] = W(Math.random()), s = R(Fe), c =
|
|
569
|
+
const { conditionInfo: e, onChange: t } = r, n = R(oe), [i, a] = W(Math.random()), s = R(Fe), c = Xn(s), h = (b) => {
|
|
570
570
|
var f;
|
|
571
571
|
const m = b[0], L = b[1];
|
|
572
572
|
L && a(Math.random());
|
|
573
573
|
const M = {};
|
|
574
574
|
m === H.Date ? L === l.Quarter ? M.dateSelect = l.Q1 : L === l.Month ? M.dateSelect = l.M1 : Tt.has(L) ? M.date = /* @__PURE__ */ new Date() : M.dateRange = [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()] : m === H.Number ? M.number = 0 : m === H.String && (M.string = ""), v(M, b[0], (f = b[1]) != null ? f : U.Equal);
|
|
575
|
-
}, d =
|
|
575
|
+
}, d = Jn(e.type, e.compare);
|
|
576
576
|
let u = "";
|
|
577
577
|
e.compare ? u = `${n.t(`sheets-table.condition.${e.type}`)} - ${n.t(`sheets-table.${e.type}.compare.${e.compare}`)}` : u = n.t(`sheets-table.condition.${e.type}`);
|
|
578
578
|
const v = (b, m, L) => {
|
|
@@ -581,11 +581,12 @@ const ei = (r) => {
|
|
|
581
581
|
compare: L != null ? L : e.compare,
|
|
582
582
|
info: b
|
|
583
583
|
});
|
|
584
|
-
}, S =
|
|
584
|
+
}, S = Kn(s, e.compare);
|
|
585
585
|
return /* @__PURE__ */ T("div", { children: [
|
|
586
586
|
/* @__PURE__ */ o(
|
|
587
587
|
gn,
|
|
588
588
|
{
|
|
589
|
+
className: "univer-w-full",
|
|
589
590
|
dropdownRender: () => /* @__PURE__ */ o(
|
|
590
591
|
mn,
|
|
591
592
|
{
|
|
@@ -593,7 +594,7 @@ const ei = (r) => {
|
|
|
593
594
|
options: c,
|
|
594
595
|
onChange: h,
|
|
595
596
|
contentClassName: "univer-flex-1",
|
|
596
|
-
wrapperClassName: "univer-
|
|
597
|
+
wrapperClassName: "!univer-h-[150px]"
|
|
597
598
|
}
|
|
598
599
|
),
|
|
599
600
|
value: u,
|
|
@@ -684,14 +685,14 @@ const ei = (r) => {
|
|
|
684
685
|
)
|
|
685
686
|
] })
|
|
686
687
|
] });
|
|
687
|
-
},
|
|
688
|
+
}, ri = (r) => {
|
|
688
689
|
let e = 0;
|
|
689
690
|
return r.forEach((t) => {
|
|
690
691
|
e += t;
|
|
691
692
|
}), e;
|
|
692
693
|
};
|
|
693
|
-
function
|
|
694
|
-
const { unitId: e, tableId: t, subUnitId: n, columnIndex: i, checkedItemSet: a, setCheckedItemSet: s, tableFilter: c } = r, h = R(oe), d = R(Pe), { data: u, itemsCountMap: v, allItemsCount: S } = d.getTableFilterItems(e, n, t, i), [C, _] = W(c === void 0 ? !0 : a.size === v.size), [k, p] = W(C ? S :
|
|
694
|
+
function ni(r) {
|
|
695
|
+
const { unitId: e, tableId: t, subUnitId: n, columnIndex: i, checkedItemSet: a, setCheckedItemSet: s, tableFilter: c } = r, h = R(oe), d = R(Pe), { data: u, itemsCountMap: v, allItemsCount: S } = d.getTableFilterItems(e, n, t, i), [C, _] = W(c === void 0 ? !0 : a.size === v.size), [k, p] = W(C ? S : ri(v)), E = !C && a.size > 0, [I, P] = W(""), b = ar(() => I ? u.filter((f) => String(f.title).toLowerCase().includes(I.toLowerCase())) : u, [I, u]), m = kt(() => {
|
|
695
696
|
C ? (a.clear(), s(new Set(a)), _(!1)) : (b.forEach((f) => {
|
|
696
697
|
a.add(f.title);
|
|
697
698
|
}), s(new Set(a)), _(!0));
|
|
@@ -722,8 +723,8 @@ function ri(r) {
|
|
|
722
723
|
children: /* @__PURE__ */ o(
|
|
723
724
|
"div",
|
|
724
725
|
{
|
|
725
|
-
className: "univer-h-40 univer-overflow-y-
|
|
726
|
-
children: /* @__PURE__ */
|
|
726
|
+
className: Sn("univer-h-40 univer-overflow-y-auto univer-py-1 univer-pl-2", _n),
|
|
727
|
+
children: /* @__PURE__ */ T("div", { className: "univer-h-full", children: [
|
|
727
728
|
/* @__PURE__ */ T(
|
|
728
729
|
"div",
|
|
729
730
|
{
|
|
@@ -742,9 +743,8 @@ function ri(r) {
|
|
|
742
743
|
"div",
|
|
743
744
|
{
|
|
744
745
|
className: `
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
`,
|
|
746
|
+
univer-ml-1 univer-flex univer-h-5 univer-flex-1 univer-items-center univer-text-sm
|
|
747
|
+
`,
|
|
748
748
|
children: [
|
|
749
749
|
/* @__PURE__ */ o("span", { className: "univer-inline-block univer-truncate", children: `${h.t("sheets-filter.panel.select-all")}` }),
|
|
750
750
|
/* @__PURE__ */ o("span", { className: "univer-ml univer-text-gray-400", children: `(${k}/${I ? b.length : S})` })
|
|
@@ -766,9 +766,9 @@ function ri(r) {
|
|
|
766
766
|
"div",
|
|
767
767
|
{
|
|
768
768
|
className: `
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
769
|
+
univer-ml-1 univer-flex univer-h-5 univer-flex-1 univer-items-start
|
|
770
|
+
univer-text-sm
|
|
771
|
+
`,
|
|
772
772
|
children: [
|
|
773
773
|
/* @__PURE__ */ o("span", { className: "univer-inline-block univer-truncate", children: f.title }),
|
|
774
774
|
/* @__PURE__ */ o("span", { className: "univer-ml-1 univer-text-gray-400", children: `(${v.get(f.title) || 0})` })
|
|
@@ -779,18 +779,18 @@ function ri(r) {
|
|
|
779
779
|
},
|
|
780
780
|
f.key
|
|
781
781
|
))
|
|
782
|
-
] })
|
|
782
|
+
] })
|
|
783
783
|
}
|
|
784
784
|
)
|
|
785
785
|
}
|
|
786
786
|
)
|
|
787
787
|
] });
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function ii() {
|
|
790
790
|
var V;
|
|
791
|
-
const r = R(oe), e =
|
|
791
|
+
const r = R(oe), e = ai(r), t = R(Pe), n = R(te), i = R(ee), a = R(Vt), s = R(De), c = s.getCurrentTableFilterInfo(), h = t.getTableFilterPanelInitProps(c.unitId, c.subUnitId, c.tableId, c.column), { unitId: d, subUnitId: u, tableId: v, tableFilter: S, currentFilterBy: C, columnIndex: _ } = h, { data: k } = t.getTableFilterItems(d, u, v, _), p = t.getTableFilterCheckedItems(d, v, _), [E, I] = W(new Set(p)), [P, b] = W(C || fe.Items), [m, L] = W(() => {
|
|
792
792
|
const x = h.tableFilter;
|
|
793
|
-
return
|
|
793
|
+
return ei(x);
|
|
794
794
|
}), M = n.getTable(d, v);
|
|
795
795
|
if (!M) return null;
|
|
796
796
|
const f = M.getTableFilters(), A = f.getSortState(), O = A.columnIndex === _ && A.sortState === Ye.Asc, q = A.columnIndex === _ && A.sortState === Ye.Desc, D = () => {
|
|
@@ -799,7 +799,7 @@ function ni() {
|
|
|
799
799
|
D();
|
|
800
800
|
}, Se = (x) => {
|
|
801
801
|
const B = M.getTableFilterRange();
|
|
802
|
-
i.executeCommand(
|
|
802
|
+
i.executeCommand(xn.id, {
|
|
803
803
|
unitId: d,
|
|
804
804
|
subUnitId: u,
|
|
805
805
|
range: B,
|
|
@@ -892,7 +892,7 @@ function ni() {
|
|
|
892
892
|
)
|
|
893
893
|
] }),
|
|
894
894
|
/* @__PURE__ */ o("div", { className: "univer-w-full", children: /* @__PURE__ */ o(
|
|
895
|
-
|
|
895
|
+
Tn,
|
|
896
896
|
{
|
|
897
897
|
value: P,
|
|
898
898
|
items: e,
|
|
@@ -900,7 +900,7 @@ function ni() {
|
|
|
900
900
|
}
|
|
901
901
|
) }),
|
|
902
902
|
/* @__PURE__ */ o("div", { className: "univer-z-10 univer-h-60 univer-w-[280px]", children: /* @__PURE__ */ o("div", { className: "univer-mt-3 univer-h-full univer-w-full", children: P === fe.Items ? /* @__PURE__ */ o(
|
|
903
|
-
|
|
903
|
+
ni,
|
|
904
904
|
{
|
|
905
905
|
tableFilter: S,
|
|
906
906
|
unitId: d,
|
|
@@ -911,7 +911,7 @@ function ni() {
|
|
|
911
911
|
setCheckedItemSet: I
|
|
912
912
|
}
|
|
913
913
|
) : /* @__PURE__ */ o(
|
|
914
|
-
|
|
914
|
+
ti,
|
|
915
915
|
{
|
|
916
916
|
tableFilter: S,
|
|
917
917
|
unitId: d,
|
|
@@ -949,15 +949,15 @@ function ni() {
|
|
|
949
949
|
}
|
|
950
950
|
);
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function ai(r) {
|
|
953
953
|
const e = r.getCurrentLocale();
|
|
954
954
|
return ar(() => [
|
|
955
955
|
{ label: r.t("sheets-filter.panel.by-values"), value: fe.Items },
|
|
956
956
|
{ label: r.t("sheets-filter.panel.by-conditions"), value: fe.Condition }
|
|
957
957
|
], [e, r]);
|
|
958
958
|
}
|
|
959
|
-
var
|
|
960
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
959
|
+
var si = Object.getOwnPropertyDescriptor, li = (r, e, t, n) => {
|
|
960
|
+
for (var i = n > 1 ? void 0 : n ? si(e, t) : e, a = r.length - 1, s; a >= 0; a--)
|
|
961
961
|
(s = r[a]) && (i = s(i) || i);
|
|
962
962
|
return i;
|
|
963
963
|
}, Ge = (r, e) => (t, n) => e(t, n, r);
|
|
@@ -979,7 +979,7 @@ let De = class extends Be {
|
|
|
979
979
|
}
|
|
980
980
|
_initComponents() {
|
|
981
981
|
[
|
|
982
|
-
[ge,
|
|
982
|
+
[ge, ii]
|
|
983
983
|
].forEach(([e, t]) => {
|
|
984
984
|
this.disposeWithMe(this._componentManager.register(e, t));
|
|
985
985
|
});
|
|
@@ -1001,7 +1001,7 @@ let De = class extends Be {
|
|
|
1001
1001
|
componentKey: ge,
|
|
1002
1002
|
direction: "horizontal",
|
|
1003
1003
|
onClickOutside: () => {
|
|
1004
|
-
this._dialogService.close(
|
|
1004
|
+
this._dialogService.close(kn), this._contextService.setContextValue(ge, !1);
|
|
1005
1005
|
},
|
|
1006
1006
|
offset: [5, 0]
|
|
1007
1007
|
});
|
|
@@ -1011,7 +1011,7 @@ let De = class extends Be {
|
|
|
1011
1011
|
(e = this._popupDisposable) == null || e.dispose(), this._popupDisposable = null, this.clearCurrentTableFilterInfo();
|
|
1012
1012
|
}
|
|
1013
1013
|
};
|
|
1014
|
-
De =
|
|
1014
|
+
De = li([
|
|
1015
1015
|
Ge(0, N(Xt)),
|
|
1016
1016
|
Ge(1, ft),
|
|
1017
1017
|
Ge(2, N(qr)),
|
|
@@ -1034,7 +1034,7 @@ const bt = {
|
|
|
1034
1034
|
const e = r.get(Ce), t = r.get(ee), n = st(e);
|
|
1035
1035
|
if (!n)
|
|
1036
1036
|
return !1;
|
|
1037
|
-
const { unitId: i, subUnitId: a, worksheet: s } = n, h = r.get(lt).getCurrentLastSelection(), d = (C = h == null ? void 0 : h.range) != null ? C : { startRow: 0, endRow: 0, startColumn: 0, endColumn: 0 }, v =
|
|
1037
|
+
const { unitId: i, subUnitId: a, worksheet: s } = n, h = r.get(lt).getCurrentLastSelection(), d = (C = h == null ? void 0 : h.range) != null ? C : { startRow: 0, endRow: 0, startColumn: 0, endColumn: 0 }, v = wn(h) ? In(d, { up: !0, left: !0, right: !0, down: !0 }, s) : d, S = await fr(r, i, a, v);
|
|
1038
1038
|
return S ? (t.executeCommand(Vr.id, { ...S }), !0) : !1;
|
|
1039
1039
|
}
|
|
1040
1040
|
};
|
|
@@ -1074,11 +1074,11 @@ async function fr(r, e, t, n, i) {
|
|
|
1074
1074
|
});
|
|
1075
1075
|
}
|
|
1076
1076
|
const Cr = "sheets-table-ui.config";
|
|
1077
|
-
var
|
|
1078
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1077
|
+
var oi = Object.getOwnPropertyDescriptor, ci = (r, e, t, n) => {
|
|
1078
|
+
for (var i = n > 1 ? void 0 : n ? oi(e, t) : e, a = r.length - 1, s; a >= 0; a--)
|
|
1079
1079
|
(s = r[a]) && (i = s(i) || i);
|
|
1080
1080
|
return i;
|
|
1081
|
-
},
|
|
1081
|
+
}, ui = (r, e) => (t, n) => e(t, n, r);
|
|
1082
1082
|
let xe = class extends Be {
|
|
1083
1083
|
constructor(e) {
|
|
1084
1084
|
super();
|
|
@@ -1097,10 +1097,10 @@ let xe = class extends Be {
|
|
|
1097
1097
|
);
|
|
1098
1098
|
}
|
|
1099
1099
|
};
|
|
1100
|
-
xe =
|
|
1101
|
-
|
|
1100
|
+
xe = ci([
|
|
1101
|
+
ui(0, N(ee))
|
|
1102
1102
|
], xe);
|
|
1103
|
-
const
|
|
1103
|
+
const di = () => {
|
|
1104
1104
|
var _e, Te;
|
|
1105
1105
|
const [r, e] = W(""), [t, n] = W(""), i = R(en), [a, s] = W({}), c = R(Fe), h = R(rt), d = Me(h.anchorPosition$), u = R(ee), v = R(Ce), S = R(rr), C = Me(S.unitPermissionInitStateChange$, !1), _ = R(te), k = R(nr), p = R(xe), E = Me(p.refreshTable$), I = R(oe), P = R(lt), b = Me(P.selectionChanged$, [{ range: Ht(0, 0), primary: null }]), [, m] = W(Math.random()), M = R(Ut).getConfig(Cr), f = (_e = M == null ? void 0 : M.anchorHeight) != null ? _e : 24, A = (Te = M == null ? void 0 : M.anchorBackgroundColor) != null ? Te : "rgb(53,91,183)", O = (w, V) => {
|
|
1106
1106
|
s((x) => ({
|
|
@@ -1245,7 +1245,7 @@ const ui = () => {
|
|
|
1245
1245
|
const Z = _.getTableById(D, w.tableId);
|
|
1246
1246
|
if (!Z) return;
|
|
1247
1247
|
const ye = Z.getTableConfig(), we = {
|
|
1248
|
-
id:
|
|
1248
|
+
id: On,
|
|
1249
1249
|
header: { title: I.t("sheets-table.tableStyle") },
|
|
1250
1250
|
children: {
|
|
1251
1251
|
label: or,
|
|
@@ -1313,8 +1313,8 @@ const ui = () => {
|
|
|
1313
1313
|
}
|
|
1314
1314
|
) : null;
|
|
1315
1315
|
};
|
|
1316
|
-
var
|
|
1317
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1316
|
+
var hi = Object.getOwnPropertyDescriptor, vi = (r, e, t, n) => {
|
|
1317
|
+
for (var i = n > 1 ? void 0 : n ? hi(e, t) : e, a = r.length - 1, s; a >= 0; a--)
|
|
1318
1318
|
(s = r[a]) && (i = s(i) || i);
|
|
1319
1319
|
return i;
|
|
1320
1320
|
}, J = (r, e) => (t, n) => e(t, n, r);
|
|
@@ -1329,7 +1329,7 @@ let rt = class extends Be {
|
|
|
1329
1329
|
}
|
|
1330
1330
|
_initUI() {
|
|
1331
1331
|
this.disposeWithMe(
|
|
1332
|
-
this._uiPartsService.registerComponent(rn.CONTENT, () => nn(
|
|
1332
|
+
this._uiPartsService.registerComponent(rn.CONTENT, () => nn(di, this._injector))
|
|
1333
1333
|
);
|
|
1334
1334
|
}
|
|
1335
1335
|
_initListener() {
|
|
@@ -1392,7 +1392,7 @@ let rt = class extends Be {
|
|
|
1392
1392
|
);
|
|
1393
1393
|
}
|
|
1394
1394
|
};
|
|
1395
|
-
rt =
|
|
1395
|
+
rt = vi([
|
|
1396
1396
|
J(1, N(Fe)),
|
|
1397
1397
|
J(2, N(at)),
|
|
1398
1398
|
J(3, Zt),
|
|
@@ -1427,25 +1427,25 @@ class Dt {
|
|
|
1427
1427
|
}), e.restore();
|
|
1428
1428
|
}
|
|
1429
1429
|
}
|
|
1430
|
-
const
|
|
1430
|
+
const bi = [
|
|
1431
1431
|
"M3.30363 3C2.79117 3 2.51457 3.60097 2.84788 3.99024L6.8 8.60593V12.5662C6.8 12.7184 6.8864 12.8575 7.02289 12.9249L8.76717 13.7863C8.96655 13.8847 9.2 13.7396 9.2 13.5173V8.60593L13.1521 3.99024C13.4854 3.60097 13.2088 3 12.6964 3H3.30363Z"
|
|
1432
|
-
],
|
|
1432
|
+
], gi = [
|
|
1433
1433
|
"M12.4008 13.1831C12.6907 13.1831 12.9258 12.9481 12.9258 12.6581V4.60873L14.013 5.69597C14.218 5.901 14.5505 5.901 14.7555 5.69597C14.9605 5.49094 14.9605 5.15853 14.7555 4.95351L12.7721 2.97017C12.5671 2.76515 12.2347 2.76515 12.0297 2.97017L10.0463 4.95351C9.84132 5.15853 9.84132 5.49094 10.0463 5.69597C10.2514 5.901 10.5838 5.901 10.7888 5.69597L11.8758 4.60901V12.6581C11.8758 12.9481 12.1108 13.1831 12.4008 13.1831Z",
|
|
1434
1434
|
"M1.28069 4.85447C0.842195 4.33439 1.21191 3.5391 1.89218 3.5391H8.59333C9.2736 3.5391 9.64331 4.33439 9.20482 4.85447L6.51052 8.0501V11.6601C6.51052 12.2245 5.94174 12.6114 5.41683 12.404L4.48092 12.0343C4.1756 11.9136 3.97498 11.6187 3.97498 11.2904V8.0501L1.28069 4.85447Z"
|
|
1435
|
-
],
|
|
1435
|
+
], mi = [
|
|
1436
1436
|
"M12.4008 2.81641C12.6907 2.81641 12.9258 3.05146 12.9258 3.34141V11.3908L14.013 10.3036C14.218 10.0986 14.5505 10.0986 14.7555 10.3036C14.9605 10.5086 14.9605 10.841 14.7555 11.046L12.7721 13.0294C12.5671 13.2344 12.2347 13.2344 12.0297 13.0294L10.0463 11.046C9.84132 10.841 9.84132 10.5086 10.0463 10.3036C10.2514 10.0986 10.5838 10.0986 10.7888 10.3036L11.8758 11.3905V3.34141C11.8758 3.05146 12.1108 2.81641 12.4008 2.81641Z",
|
|
1437
1437
|
"M1.28069 4.85444C0.842195 4.33435 1.21191 3.53906 1.89218 3.53906H8.59333C9.2736 3.53906 9.64331 4.33435 9.20482 4.85443L6.51052 8.05006V11.6601C6.51052 12.2245 5.94174 12.6113 5.41683 12.404L4.48092 12.0342C4.1756 11.9136 3.97498 11.6186 3.97498 11.2903V8.05006L1.28069 4.85444Z"
|
|
1438
|
-
],
|
|
1438
|
+
], pi = [
|
|
1439
1439
|
"M11.9003 13.7046C11.9003 13.9969 11.6633 14.2339 11.371 14.2339C11.0787 14.2339 10.8417 13.9969 10.8417 13.7046V3.57272L9.74577 4.66862C9.53906 4.87534 9.20391 4.87534 8.9972 4.66862C8.79048 4.46191 8.79048 4.12676 8.9972 3.92005L10.9969 1.92039C11.2036 1.71368 11.5387 1.71368 11.7454 1.92039L13.7451 3.92005C13.9518 4.12676 13.9518 4.46191 13.7451 4.66862C13.5384 4.87534 13.2032 4.87534 12.9965 4.66862L11.9003 3.57243V13.7046Z",
|
|
1440
1440
|
"M2.69779 10.0113C2.40546 10.0113 2.16847 9.77429 2.16847 9.48196C2.16847 9.18962 2.40546 8.95264 2.69779 8.95264H6.67804C6.89213 8.95264 7.08514 9.0816 7.16707 9.2794C7.249 9.47719 7.20371 9.70486 7.05233 9.85624L3.97569 12.9329H6.67804C6.97038 12.9329 7.20736 13.1699 7.20736 13.4622C7.20736 13.7545 6.97038 13.9915 6.67804 13.9915H2.69779C2.4837 13.9915 2.29069 13.8626 2.20876 13.6648C2.12684 13.467 2.17212 13.2393 2.32351 13.0879L5.40015 10.0113H2.69779Z",
|
|
1441
1441
|
"M5.51638 2.58693C5.23363 1.81542 4.14248 1.81543 3.85973 2.58693L2.13245 7.29995C2.03185 7.57443 2.17281 7.87849 2.4473 7.97909C2.72178 8.07969 3.02584 7.93872 3.12644 7.66424L3.64346 6.25351L3.64504 6.25351H5.73266L6.24968 7.66424C6.35027 7.93872 6.65433 8.07969 6.92882 7.97909C7.2033 7.87849 7.34426 7.57443 7.24367 7.29995L5.51638 2.58693ZM5.34467 5.19487L4.68806 3.40325L4.03144 5.19487H5.34467Z"
|
|
1442
|
-
],
|
|
1442
|
+
], fi = [
|
|
1443
1443
|
"M11.9003 2.29495C11.9003 2.00261 11.6633 1.76562 11.371 1.76562C11.0787 1.76562 10.8417 2.00261 10.8417 2.29495V12.4268L9.74577 11.3309C9.53906 11.1242 9.20391 11.1242 8.9972 11.3309C8.79048 11.5376 8.79048 11.8727 8.9972 12.0795L10.9969 14.0791C11.2036 14.2858 11.5387 14.2858 11.7454 14.0791L13.7451 12.0795C13.9518 11.8727 13.9518 11.5376 13.7451 11.3309C13.5384 11.1242 13.2032 11.1242 12.9965 11.3309L11.9003 12.4271V2.29495Z",
|
|
1444
1444
|
"M2.69792 10.0113C2.40558 10.0113 2.16859 9.77429 2.16859 9.48196C2.16859 9.18962 2.40558 8.95264 2.69792 8.95264H6.67816C6.89225 8.95264 7.08526 9.0816 7.16719 9.2794C7.24912 9.47719 7.20384 9.70486 7.05245 9.85624L3.97581 12.9329H6.67816C6.9705 12.9329 7.20749 13.1699 7.20749 13.4622C7.20749 13.7545 6.9705 13.9915 6.67816 13.9915H2.69792C2.48383 13.9915 2.29082 13.8626 2.20889 13.6648C2.12696 13.467 2.17224 13.2393 2.32363 13.0879L5.40027 10.0113H2.69792Z",
|
|
1445
1445
|
"M5.5165 2.58693C5.23375 1.81542 4.1426 1.81543 3.85985 2.58693L2.13257 7.29995C2.03197 7.57443 2.17294 7.8785 2.44742 7.97909C2.7219 8.07969 3.02596 7.93872 3.12656 7.66424L3.64358 6.25351L3.64516 6.25351H5.73278L6.2498 7.66424C6.35039 7.93872 6.65446 8.07969 6.92894 7.97909C7.20342 7.8785 7.34438 7.57443 7.24379 7.29995L5.5165 2.58693ZM5.34479 5.19487L4.68818 3.40325L4.03156 5.19487H5.34479Z"
|
|
1446
1446
|
];
|
|
1447
|
-
var
|
|
1448
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1447
|
+
var Ci = Object.getOwnPropertyDescriptor, Si = (r, e, t, n) => {
|
|
1448
|
+
for (var i = n > 1 ? void 0 : n ? Ci(e, t) : e, a = r.length - 1, s; a >= 0; a--)
|
|
1449
1449
|
(s = r[a]) && (i = s(i) || i);
|
|
1450
1450
|
return i;
|
|
1451
1451
|
}, dt = (r, e) => (t, n) => e(t, n, r);
|
|
@@ -1474,21 +1474,21 @@ let gt = class extends Dr {
|
|
|
1474
1474
|
let u;
|
|
1475
1475
|
switch (c) {
|
|
1476
1476
|
case Le.FilteredSortNone:
|
|
1477
|
-
u =
|
|
1477
|
+
u = bi;
|
|
1478
1478
|
break;
|
|
1479
1479
|
case Le.FilteredSortAsc:
|
|
1480
|
-
u =
|
|
1480
|
+
u = gi;
|
|
1481
1481
|
break;
|
|
1482
1482
|
case Le.FilteredSortDesc:
|
|
1483
|
-
u =
|
|
1483
|
+
u = mi;
|
|
1484
1484
|
break;
|
|
1485
1485
|
case Le.FilterNoneSortNone:
|
|
1486
1486
|
break;
|
|
1487
1487
|
case Le.FilterNoneSortAsc:
|
|
1488
|
-
u =
|
|
1488
|
+
u = pi;
|
|
1489
1489
|
break;
|
|
1490
1490
|
case Le.FilterNoneSortDesc:
|
|
1491
|
-
u =
|
|
1491
|
+
u = fi;
|
|
1492
1492
|
break;
|
|
1493
1493
|
}
|
|
1494
1494
|
u ? Dt.drawIconByPath(e, u, h, d) : c !== void 0 && Dt.drawNoSetting(e, me, h, d), e.restore();
|
|
@@ -1515,17 +1515,17 @@ let gt = class extends Dr {
|
|
|
1515
1515
|
this._hovered = !1, this.makeDirty(!0);
|
|
1516
1516
|
}
|
|
1517
1517
|
};
|
|
1518
|
-
gt =
|
|
1518
|
+
gt = Si([
|
|
1519
1519
|
dt(2, ft),
|
|
1520
1520
|
dt(3, ee),
|
|
1521
1521
|
dt(4, N(jt))
|
|
1522
1522
|
], gt);
|
|
1523
|
-
var
|
|
1524
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1523
|
+
var _i = Object.getOwnPropertyDescriptor, Ti = (r, e, t, n) => {
|
|
1524
|
+
for (var i = n > 1 ? void 0 : n ? _i(e, t) : e, a = r.length - 1, s; a >= 0; a--)
|
|
1525
1525
|
(s = r[a]) && (i = s(i) || i);
|
|
1526
1526
|
return i;
|
|
1527
1527
|
}, Ie = (r, e) => (t, n) => e(t, n, r);
|
|
1528
|
-
const
|
|
1528
|
+
const yi = 5e3;
|
|
1529
1529
|
let mt = class extends Wt {
|
|
1530
1530
|
constructor(e, t, n, i, a, s, c, h) {
|
|
1531
1531
|
super();
|
|
@@ -1579,7 +1579,7 @@ let mt = class extends Wt {
|
|
|
1579
1579
|
top: f,
|
|
1580
1580
|
height: me,
|
|
1581
1581
|
width: me,
|
|
1582
|
-
zIndex:
|
|
1582
|
+
zIndex: yi,
|
|
1583
1583
|
cellHeight: m,
|
|
1584
1584
|
cellWidth: b,
|
|
1585
1585
|
filterParams: { unitId: n, subUnitId: a, row: u, col: C, buttonState: L, tableId: d }
|
|
@@ -1591,7 +1591,7 @@ let mt = class extends Wt {
|
|
|
1591
1591
|
}
|
|
1592
1592
|
_interceptCellContent(e, t, n) {
|
|
1593
1593
|
const { startRow: i, startColumn: a, endColumn: s } = n;
|
|
1594
|
-
this._buttonRenderDisposable = this._sheetInterceptorService.intercept(
|
|
1594
|
+
this._buttonRenderDisposable = this._sheetInterceptorService.intercept(Mn.CELL_CONTENT, {
|
|
1595
1595
|
effect: xr.Style,
|
|
1596
1596
|
handler: (c, h, d) => {
|
|
1597
1597
|
const { row: u, col: v, unitId: S, subUnitId: C } = h;
|
|
@@ -1611,7 +1611,7 @@ let mt = class extends Wt {
|
|
|
1611
1611
|
this._tableFilterButtonShapes.forEach((t) => t.dispose()), (e = this._buttonRenderDisposable) == null || e.dispose(), this._buttonRenderDisposable = null, this._tableFilterButtonShapes = [];
|
|
1612
1612
|
}
|
|
1613
1613
|
};
|
|
1614
|
-
mt =
|
|
1614
|
+
mt = Ti([
|
|
1615
1615
|
Ie(1, N(Fe)),
|
|
1616
1616
|
Ie(2, N(at)),
|
|
1617
1617
|
Ie(3, N(jt)),
|
|
@@ -1620,18 +1620,18 @@ mt = _i([
|
|
|
1620
1620
|
Ie(6, Xr),
|
|
1621
1621
|
Ie(7, N(te))
|
|
1622
1622
|
], mt);
|
|
1623
|
-
const
|
|
1623
|
+
const wi = (r) => {
|
|
1624
1624
|
const { unitId: e, subUnitId: t, range: n, onCancel: i, onConfirm: a, tableId: s } = r, c = R(te), [h, d] = W(n), [u, v] = W(""), S = R(oe), C = R(Ce);
|
|
1625
1625
|
return /* @__PURE__ */ T(St, { children: [
|
|
1626
1626
|
/* @__PURE__ */ o(
|
|
1627
|
-
|
|
1627
|
+
Ln,
|
|
1628
1628
|
{
|
|
1629
1629
|
maxRangeCount: 1,
|
|
1630
1630
|
unitId: e,
|
|
1631
1631
|
subUnitId: t,
|
|
1632
1632
|
initialValue: Ot(n),
|
|
1633
1633
|
onChange: (_, k) => {
|
|
1634
|
-
const p = Ot(n), E =
|
|
1634
|
+
const p = Ot(n), E = En(k).range, I = st(C, { unitId: e, subUnitId: t });
|
|
1635
1635
|
if (!I)
|
|
1636
1636
|
return;
|
|
1637
1637
|
if (I.worksheet.getMergeData().some((O) => pe.intersects(E, O))) {
|
|
@@ -1696,7 +1696,7 @@ const yi = (r) => {
|
|
|
1696
1696
|
)
|
|
1697
1697
|
] })
|
|
1698
1698
|
] });
|
|
1699
|
-
},
|
|
1699
|
+
}, Ii = (r) => {
|
|
1700
1700
|
var Ee, _e, Te, w, V, x, B, He, ce, Ze, ot, qe;
|
|
1701
1701
|
const { unitId: e, subUnitId: t, tableId: n } = r, i = R(ee), a = R(oe), s = R(te), c = s.getTableById(e, n), h = R(nr), d = R(xe), u = Me(h.rangeThemeMapChange$), v = Me(d.refreshTable$), S = R(Nr), [, C] = W(Math.random()), _ = Me(s.tableThemeChanged$, {
|
|
1702
1702
|
theme: c == null ? void 0 : c.getTableStyleId(),
|
|
@@ -1704,7 +1704,7 @@ const yi = (r) => {
|
|
|
1704
1704
|
unitId: e,
|
|
1705
1705
|
subUnitId: t,
|
|
1706
1706
|
tableId: n
|
|
1707
|
-
}), k = h.getRegisteredRangeThemes().filter((g) => g == null ? void 0 : g.startsWith(
|
|
1707
|
+
}), k = h.getRegisteredRangeThemes().filter((g) => g == null ? void 0 : g.startsWith(Pn)), p = h.getALLRegisteredTheme(e).filter((g) => g == null ? void 0 : g.startsWith(ut)), E = c == null ? void 0 : c.getTableStyleId(), I = p.find((g) => g === E), P = I || p[0], b = h.getCustomRangeThemeStyle(e, P), m = (Te = (_e = (Ee = b == null ? void 0 : b.getHeaderRowStyle()) == null ? void 0 : Ee.bg) == null ? void 0 : _e.rgb) != null ? Te : be, L = (x = (V = (w = b == null ? void 0 : b.getFirstRowStyle()) == null ? void 0 : w.bg) == null ? void 0 : V.rgb) != null ? x : be, M = (ce = (He = (B = b == null ? void 0 : b.getSecondRowStyle()) == null ? void 0 : B.bg) == null ? void 0 : He.rgb) != null ? ce : be, f = (qe = (ot = (Ze = b == null ? void 0 : b.getLastRowStyle()) == null ? void 0 : Ze.bg) == null ? void 0 : ot.rgb) != null ? qe : be, [A, O] = W(null), q = (g) => {
|
|
1708
1708
|
i.executeCommand(vt.id, {
|
|
1709
1709
|
unitId: e,
|
|
1710
1710
|
tableId: n,
|
|
@@ -1721,7 +1721,7 @@ const yi = (r) => {
|
|
|
1721
1721
|
const G = Number(g.split("-")[2]);
|
|
1722
1722
|
y = `${ut}${G + 1}`;
|
|
1723
1723
|
}
|
|
1724
|
-
const z = new
|
|
1724
|
+
const z = new Rn(y, { ...jr });
|
|
1725
1725
|
i.executeCommand(Wr.id, {
|
|
1726
1726
|
unitId: e,
|
|
1727
1727
|
tableId: n,
|
|
@@ -2074,7 +2074,7 @@ const yi = (r) => {
|
|
|
2074
2074
|
] })
|
|
2075
2075
|
] }) : null;
|
|
2076
2076
|
}, Sr = "sheet.table.context-insert_menu-id", _r = "sheet.table.context-remove_menu-id";
|
|
2077
|
-
function
|
|
2077
|
+
function Mi(r) {
|
|
2078
2078
|
return {
|
|
2079
2079
|
id: yt.id,
|
|
2080
2080
|
type: Ne.BUTTON,
|
|
@@ -2083,7 +2083,7 @@ function Ii(r) {
|
|
|
2083
2083
|
title: "sheets-table.title"
|
|
2084
2084
|
};
|
|
2085
2085
|
}
|
|
2086
|
-
function
|
|
2086
|
+
function Ri(r) {
|
|
2087
2087
|
return {
|
|
2088
2088
|
id: Sr,
|
|
2089
2089
|
type: Ne.SUBITEMS,
|
|
@@ -2092,7 +2092,7 @@ function Mi(r) {
|
|
|
2092
2092
|
hidden$: Tr(r)
|
|
2093
2093
|
};
|
|
2094
2094
|
}
|
|
2095
|
-
function
|
|
2095
|
+
function xi(r) {
|
|
2096
2096
|
return {
|
|
2097
2097
|
id: _r,
|
|
2098
2098
|
type: Ne.SUBITEMS,
|
|
@@ -2101,7 +2101,7 @@ function Ri(r) {
|
|
|
2101
2101
|
hidden$: Tr(r)
|
|
2102
2102
|
};
|
|
2103
2103
|
}
|
|
2104
|
-
function
|
|
2104
|
+
function Ni(r) {
|
|
2105
2105
|
return {
|
|
2106
2106
|
id: zt.id,
|
|
2107
2107
|
type: Ne.BUTTON,
|
|
@@ -2109,14 +2109,14 @@ function xi(r) {
|
|
|
2109
2109
|
hidden$: yr(r)
|
|
2110
2110
|
};
|
|
2111
2111
|
}
|
|
2112
|
-
function
|
|
2112
|
+
function Ei(r) {
|
|
2113
2113
|
return {
|
|
2114
2114
|
id: Qt.id,
|
|
2115
2115
|
title: "sheets-table.insert.col",
|
|
2116
2116
|
type: Ne.BUTTON
|
|
2117
2117
|
};
|
|
2118
2118
|
}
|
|
2119
|
-
function
|
|
2119
|
+
function Li(r) {
|
|
2120
2120
|
return {
|
|
2121
2121
|
id: Yt.id,
|
|
2122
2122
|
type: Ne.BUTTON,
|
|
@@ -2124,7 +2124,7 @@ function Ei(r) {
|
|
|
2124
2124
|
hidden$: yr(r)
|
|
2125
2125
|
};
|
|
2126
2126
|
}
|
|
2127
|
-
function
|
|
2127
|
+
function $i(r) {
|
|
2128
2128
|
return {
|
|
2129
2129
|
id: qt.id,
|
|
2130
2130
|
title: "sheets-table.remove.col",
|
|
@@ -2162,44 +2162,44 @@ function yr(r) {
|
|
|
2162
2162
|
) : X(!0))
|
|
2163
2163
|
);
|
|
2164
2164
|
}
|
|
2165
|
-
const
|
|
2165
|
+
const ki = {
|
|
2166
2166
|
[ln.FORMULAS_VIEW]: {
|
|
2167
2167
|
[yt.id]: {
|
|
2168
2168
|
order: 0,
|
|
2169
|
-
menuItemFactory:
|
|
2169
|
+
menuItemFactory: Mi
|
|
2170
2170
|
}
|
|
2171
2171
|
},
|
|
2172
2172
|
[an.MAIN_AREA]: {
|
|
2173
2173
|
[sn.LAYOUT]: {
|
|
2174
2174
|
[Sr]: {
|
|
2175
2175
|
order: 5,
|
|
2176
|
-
menuItemFactory:
|
|
2176
|
+
menuItemFactory: Ri,
|
|
2177
2177
|
[zt.id]: {
|
|
2178
2178
|
order: 1,
|
|
2179
|
-
menuItemFactory:
|
|
2179
|
+
menuItemFactory: Ni
|
|
2180
2180
|
},
|
|
2181
2181
|
[Qt.id]: {
|
|
2182
2182
|
order: 2,
|
|
2183
|
-
menuItemFactory:
|
|
2183
|
+
menuItemFactory: Ei
|
|
2184
2184
|
}
|
|
2185
2185
|
},
|
|
2186
2186
|
[_r]: {
|
|
2187
2187
|
order: 6,
|
|
2188
|
-
menuItemFactory:
|
|
2188
|
+
menuItemFactory: xi,
|
|
2189
2189
|
[Yt.id]: {
|
|
2190
2190
|
order: 1,
|
|
2191
|
-
menuItemFactory:
|
|
2191
|
+
menuItemFactory: Li
|
|
2192
2192
|
},
|
|
2193
2193
|
[qt.id]: {
|
|
2194
2194
|
order: 2,
|
|
2195
|
-
menuItemFactory:
|
|
2195
|
+
menuItemFactory: $i
|
|
2196
2196
|
}
|
|
2197
2197
|
}
|
|
2198
2198
|
}
|
|
2199
2199
|
}
|
|
2200
2200
|
};
|
|
2201
|
-
var
|
|
2202
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2201
|
+
var Oi = Object.getOwnPropertyDescriptor, Pi = (r, e, t, n) => {
|
|
2202
|
+
for (var i = n > 1 ? void 0 : n ? Oi(e, t) : e, a = r.length - 1, s; a >= 0; a--)
|
|
2203
2203
|
(s = r[a]) && (i = s(i) || i);
|
|
2204
2204
|
return i;
|
|
2205
2205
|
}, Bt = (r, e) => (t, n) => e(t, n, r);
|
|
@@ -2210,22 +2210,22 @@ let nt = class extends Be {
|
|
|
2210
2210
|
_initComponents() {
|
|
2211
2211
|
[
|
|
2212
2212
|
[lr, pr],
|
|
2213
|
-
[Oe,
|
|
2214
|
-
[or,
|
|
2213
|
+
[Oe, wi],
|
|
2214
|
+
[or, Ii]
|
|
2215
2215
|
].forEach(([r, e]) => {
|
|
2216
2216
|
this.disposeWithMe(this._componentManager.register(r, e));
|
|
2217
2217
|
});
|
|
2218
2218
|
}
|
|
2219
2219
|
_initMenu() {
|
|
2220
|
-
this._menuManagerService.mergeMenu(
|
|
2220
|
+
this._menuManagerService.mergeMenu(ki);
|
|
2221
2221
|
}
|
|
2222
2222
|
};
|
|
2223
|
-
nt =
|
|
2223
|
+
nt = Pi([
|
|
2224
2224
|
Bt(0, N(Xt)),
|
|
2225
2225
|
Bt(1, N(on))
|
|
2226
2226
|
], nt);
|
|
2227
|
-
var
|
|
2228
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2227
|
+
var Di = Object.getOwnPropertyDescriptor, Bi = (r, e, t, n) => {
|
|
2228
|
+
for (var i = n > 1 ? void 0 : n ? Di(e, t) : e, a = r.length - 1, s; a >= 0; a--)
|
|
2229
2229
|
(s = r[a]) && (i = s(i) || i);
|
|
2230
2230
|
return i;
|
|
2231
2231
|
}, Ke = (r, e) => (t, n) => e(t, n, r);
|
|
@@ -2260,14 +2260,14 @@ let pt = class extends Wt {
|
|
|
2260
2260
|
);
|
|
2261
2261
|
}
|
|
2262
2262
|
};
|
|
2263
|
-
pt =
|
|
2263
|
+
pt = Bi([
|
|
2264
2264
|
Ke(1, N(Fe)),
|
|
2265
2265
|
Ke(2, N(at)),
|
|
2266
2266
|
Ke(3, N(te)),
|
|
2267
2267
|
Ke(4, N(xe))
|
|
2268
2268
|
], pt);
|
|
2269
|
-
var
|
|
2270
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2269
|
+
var Fi = Object.getOwnPropertyDescriptor, Hi = (r, e, t, n) => {
|
|
2270
|
+
for (var i = n > 1 ? void 0 : n ? Fi(e, t) : e, a = r.length - 1, s; a >= 0; a--)
|
|
2271
2271
|
(s = r[a]) && (i = s(i) || i);
|
|
2272
2272
|
return i;
|
|
2273
2273
|
}, ht = (r, e) => (t, n) => e(t, n, r);
|
|
@@ -2335,13 +2335,13 @@ let it = class extends Be {
|
|
|
2335
2335
|
);
|
|
2336
2336
|
}
|
|
2337
2337
|
};
|
|
2338
|
-
it =
|
|
2338
|
+
it = Hi([
|
|
2339
2339
|
ht(0, N(ir)),
|
|
2340
2340
|
ht(1, N(Ce)),
|
|
2341
2341
|
ht(2, N(te))
|
|
2342
2342
|
], it);
|
|
2343
|
-
var
|
|
2344
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2343
|
+
var Vi = Object.getOwnPropertyDescriptor, Ai = (r, e, t, n) => {
|
|
2344
|
+
for (var i = n > 1 ? void 0 : n ? Vi(e, t) : e, a = r.length - 1, s; a >= 0; a--)
|
|
2345
2345
|
(s = r[a]) && (i = s(i) || i);
|
|
2346
2346
|
return i;
|
|
2347
2347
|
}, Je = (r, e) => (t, n) => e(t, n, r), et;
|
|
@@ -2385,8 +2385,8 @@ let Ft = (et = class extends Er {
|
|
|
2385
2385
|
yt
|
|
2386
2386
|
].forEach((r) => this._commandService.registerCommand(r));
|
|
2387
2387
|
}
|
|
2388
|
-
}, F(et, "pluginName",
|
|
2389
|
-
Ft =
|
|
2388
|
+
}, F(et, "pluginName", $n), F(et, "type", tt.UNIVER_SHEET), et);
|
|
2389
|
+
Ft = Ai([
|
|
2390
2390
|
Je(1, N(Fe)),
|
|
2391
2391
|
Je(2, N(ee)),
|
|
2392
2392
|
Je(3, Ut),
|