@univerjs/sheets-table-ui 0.7.0-nightly.202505111606 → 0.7.0-nightly.202505131607

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/es/index.js CHANGED
@@ -1,20 +1,20 @@
1
- var Rn = Object.defineProperty;
2
- var Nn = (n, e, t) => e in n ? Rn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var V = (n, e, t) => Nn(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { Inject as N, IUniverInstanceService as _e, ICommandService as ce, Disposable as He, ObjectMatrix as En, cellToRange as At, Rectangle as Ce, LocaleService as ue, Injector as Ve, dayjs as be, IPermissionService as Ut, IContextService as St, CommandType as Wt, IConfigService as jt, ThemeService as xn, RxDisposable as Zt, InterceptorEffectEnum as Ln, ErrorService as $n, ColorKit as oe, UniverInstanceType as at, DependentOn as On, Plugin as Pn, registerDependencies as kn, touchDependencies as Bn } from "@univerjs/core";
5
- import { IRenderManagerService as qt, SHEET_VIEWPORT_KEY as Dn, convertTransformToOffsetX as Fn, convertTransformToOffsetY as Hn, Rect as Rt, Shape as Vn } from "@univerjs/engine-render";
6
- import { TableManager as ne, SheetTableService as An, SetSheetTableFilterCommand as Nt, isConditionFilter as Un, isManualFilter as Wn, TableDateCompareTypeEnum as s, TableStringCompareTypeEnum as W, TableConditionTypeEnum as D, TableNumberCompareTypeEnum as $, SheetsTableSortStateEnum as Ye, TableColumnFilterTypeEnum as Et, AddSheetTableCommand as jn, SHEET_TABLE_CUSTOM_THEME_PREFIX as Zn, DeleteSheetTableCommand as qn, SetSheetTableCommand as bt, SheetsTableButtonStateEnum as $e, processStyleWithBorderStyle as xt, customEmptyThemeWithBorderStyle as Yn, AddTableThemeCommand as Qn, RemoveTableThemeCommand as zn, SheetTableRemoveColCommand as Yt, SheetTableRemoveRowCommand as Qt, SheetTableInsertColCommand as zt, SheetTableInsertRowCommand as Gt, SheetsTableController as Xt, UniverSheetTablePlugin as Gn } from "@univerjs/sheets-table";
7
- import { SheetCanvasPopManagerService as Xn, SheetSkeletonManagerService as st, SheetScrollManagerService as Kn, SetZoomRatioOperation as Jn, SetScrollOperation as er, getSheetObject as tr, getCoordByCell as nr, SelectAllCommand as rr } from "@univerjs/sheets-ui";
8
- import { useDependency as R, ComponentManager as Kt, IDialogService as Jt, ISidebarService as ir, useObservable as Me, IUIPartsService as ar, BuiltInUIPart as sr, connectInjector as lr, MenuItemType as Ee, ContextMenuPosition as or, ContextMenuGroup as cr, RibbonStartGroup as ur, IMenuManagerService as dr } from "@univerjs/ui";
9
- import { startWith as en, distinctUntilChanged as hr, Subject as vr, BehaviorSubject as Lt, merge as _t, filter as gr, debounceTime as br, switchMap as Re, of as J, map as mr, takeUntil as pr } from "rxjs";
1
+ var Nn = Object.defineProperty;
2
+ var En = (n, e, t) => e in n ? Nn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var V = (n, e, t) => En(n, typeof e != "symbol" ? e + "" : e, t);
4
+ import { Inject as N, IUniverInstanceService as _e, ICommandService as ce, Disposable as He, ObjectMatrix as xn, cellToRange as Ut, Rectangle as Ce, LocaleService as ue, Injector as Ve, dayjs as be, IPermissionService as Wt, IContextService as St, CommandType as jt, IConfigService as Zt, ThemeService as Ln, RxDisposable as qt, InterceptorEffectEnum as $n, ErrorService as Pn, ColorKit as oe, UniverInstanceType as at, DependentOn as kn, Plugin as On, merge as Bn, registerDependencies as Dn, touchDependencies as Fn } from "@univerjs/core";
5
+ import { IRenderManagerService as Yt, SHEET_VIEWPORT_KEY as Hn, convertTransformToOffsetX as Vn, convertTransformToOffsetY as An, Rect as Rt, Shape as Un } from "@univerjs/engine-render";
6
+ import { TableManager as ne, SheetTableService as Wn, SetSheetTableFilterCommand as Nt, isConditionFilter as jn, isManualFilter as Zn, TableDateCompareTypeEnum as l, TableStringCompareTypeEnum as W, TableConditionTypeEnum as D, TableNumberCompareTypeEnum as $, SheetsTableSortStateEnum as Ye, TableColumnFilterTypeEnum as Et, AddSheetTableCommand as qn, SHEET_TABLE_CUSTOM_THEME_PREFIX as Yn, DeleteSheetTableCommand as Qn, SetSheetTableCommand as bt, SheetsTableButtonStateEnum as $e, processStyleWithBorderStyle as xt, customEmptyThemeWithBorderStyle as zn, AddTableThemeCommand as Gn, RemoveTableThemeCommand as Xn, SheetTableRemoveColCommand as Qt, SheetTableRemoveRowCommand as zt, SheetTableInsertColCommand as Gt, SheetTableInsertRowCommand as Xt, SheetsTableController as Kt, UniverSheetsTablePlugin as Kn } from "@univerjs/sheets-table";
7
+ import { SheetCanvasPopManagerService as Jn, SheetSkeletonManagerService as st, SheetScrollManagerService as er, SetZoomRatioOperation as tr, SetScrollOperation as nr, getSheetObject as rr, getCoordByCell as ir, SelectAllCommand as ar } from "@univerjs/sheets-ui";
8
+ import { useDependency as R, ComponentManager as Jt, IDialogService as en, ISidebarService as sr, useObservable as Me, IUIPartsService as lr, BuiltInUIPart as or, connectInjector as cr, MenuItemType as Ee, ContextMenuPosition as ur, ContextMenuGroup as dr, RibbonStartGroup as hr, IMenuManagerService as vr } from "@univerjs/ui";
9
+ import { startWith as tn, distinctUntilChanged as gr, Subject as br, BehaviorSubject as Lt, merge as _t, filter as mr, debounceTime as fr, switchMap as Re, of as J, map as pr, takeUntil as Cr } from "rxjs";
10
10
  import { jsxs as w, jsx as o, Fragment as Tt } from "react/jsx-runtime";
11
- import { Dropdown as Be, clsx as B, borderClassName as A, CascaderList as fr, Input as wt, InputNumber as dt, DatePicker as Cr, DateRangePicker as Sr, Select as _r, Checkbox as $t, scrollbarClassName as Tr, ButtonGroup as wr, Button as ye, Segmented as Ir, ColorPicker as Qe } from "@univerjs/design";
12
- import { SetRangeValuesMutation as yr, WorkbookEditablePermission as tn, getSheetCommandTarget as lt, SheetsSelectionsService as ot, isSingleCellSelection as Mr, expandToContinuousRange as Rr, SetRangeThemeMutation as nn, WorkbookPermissionService as rn, SheetRangeThemeModel as an, SheetInterceptorService as sn, INTERCEPTOR_POINT as Nr, RangeThemeStyle as Er, getPrimaryForRange as Ot, SetSelectionsOperation as Pt } from "@univerjs/sheets";
13
- import { SortRangeCommand as xr, SortType as kt } from "@univerjs/sheets-sort";
14
- import { forwardRef as re, useRef as Lr, createElement as ie, useState as Z, useMemo as ln, useCallback as Bt, useEffect as on } from "react";
15
- import { serializeRange as Dt, deserializeRangeWithSheet as $r } from "@univerjs/engine-formula";
11
+ import { Dropdown as Be, clsx as B, borderClassName as A, CascaderList as Sr, Input as wt, InputNumber as dt, DatePicker as _r, DateRangePicker as Tr, Select as wr, Checkbox as $t, scrollbarClassName as Ir, ButtonGroup as yr, Button as ye, Segmented as Mr, ColorPicker as Qe } from "@univerjs/design";
12
+ import { SetRangeValuesMutation as Rr, WorkbookEditablePermission as nn, getSheetCommandTarget as lt, SheetsSelectionsService as ot, isSingleCellSelection as Nr, expandToContinuousRange as Er, SetRangeThemeMutation as rn, WorkbookPermissionService as an, SheetRangeThemeModel as sn, SheetInterceptorService as ln, INTERCEPTOR_POINT as xr, RangeThemeStyle as Lr, getPrimaryForRange as Pt, SetSelectionsOperation as kt } from "@univerjs/sheets";
13
+ import { SortRangeCommand as $r, SortType as Ot } from "@univerjs/sheets-sort";
14
+ import { forwardRef as re, useRef as Pr, createElement as ie, useState as Z, useMemo as on, useCallback as Bt, useEffect as cn } from "react";
15
+ import { serializeRange as Dt, deserializeRangeWithSheet as kr } from "@univerjs/engine-formula";
16
16
  import { RangeSelector as Or } from "@univerjs/sheets-formula-ui";
17
- const Pr = "SHEET_TABLE_UI_PLUGIN", pe = "SHEETS_TABLE_FILTER_PANEL_OPENED_KEY", kr = "UNIVER_SHEET_Table_FILTER_PANEL_ID", cn = "TABLE_TOOLBAR_BUTTON", ke = "TABLE_SELECTOR_DIALOG", Br = "SHEET_TABLE_THEME_PANEL_ID", un = "SHEET_TABLE_THEME_PANEL", ht = "table-custom-", Dr = "table-default-", me = "rgb(255, 255, 255)", z = "none", Oe = "1px solid rgb(var(--grey-200))", Ft = "1px solid rgb(var(--blue-500))";
17
+ const Br = "SHEET_TABLE_UI_PLUGIN", fe = "SHEETS_TABLE_FILTER_PANEL_OPENED_KEY", Dr = "UNIVER_SHEET_Table_FILTER_PANEL_ID", un = "TABLE_TOOLBAR_BUTTON", Oe = "TABLE_SELECTOR_DIALOG", Fr = "SHEET_TABLE_THEME_PANEL_ID", dn = "SHEET_TABLE_THEME_PANEL", ht = "table-custom-", Hr = "table-default-", me = "rgb(255, 255, 255)", z = "none", Pe = "1px solid rgb(var(--grey-200))", Ft = "1px solid rgb(var(--blue-500))";
18
18
  var G = function() {
19
19
  return G = Object.assign || function(n) {
20
20
  for (var e, t = 1, r = arguments.length; t < r; t++) {
@@ -23,7 +23,7 @@ var G = function() {
23
23
  }
24
24
  return n;
25
25
  }, G.apply(this, arguments);
26
- }, Fr = function(n, e) {
26
+ }, Vr = function(n, e) {
27
27
  var t = {};
28
28
  for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
29
29
  if (n != null && typeof Object.getOwnPropertySymbols == "function")
@@ -31,111 +31,111 @@ var G = function() {
31
31
  e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(n, r[i]) && (t[r[i]] = n[r[i]]);
32
32
  return t;
33
33
  }, ae = re(function(n, e) {
34
- var t = n.icon, r = n.id, i = n.className, a = n.extend, l = Fr(n, ["icon", "id", "className", "extend"]), c = "univerjs-icon univerjs-icon-".concat(r, " ").concat(i || "").trim(), d = Lr("_".concat(Ar()));
35
- return dn(t, "".concat(r), { defIds: t.defIds, idSuffix: d.current }, G({ ref: e, className: c }, l), a);
34
+ var t = n.icon, r = n.id, i = n.className, a = n.extend, s = Vr(n, ["icon", "id", "className", "extend"]), c = "univerjs-icon univerjs-icon-".concat(r, " ").concat(i || "").trim(), d = Pr("_".concat(Wr()));
35
+ return hn(t, "".concat(r), { defIds: t.defIds, idSuffix: d.current }, G({ ref: e, className: c }, s), a);
36
36
  });
37
- function dn(n, e, t, r, i) {
38
- return ie(n.tag, G(G({ key: e }, Hr(n, t, i)), r), (Vr(n, t).children || []).map(function(a, l) {
39
- return dn(a, "".concat(e, "-").concat(n.tag, "-").concat(l), t, void 0, i);
37
+ function hn(n, e, t, r, i) {
38
+ return ie(n.tag, G(G({ key: e }, Ar(n, t, i)), r), (Ur(n, t).children || []).map(function(a, s) {
39
+ return hn(a, "".concat(e, "-").concat(n.tag, "-").concat(s), t, void 0, i);
40
40
  }));
41
41
  }
42
- function Hr(n, e, t) {
42
+ function Ar(n, e, t) {
43
43
  var r = G({}, n.attrs);
44
44
  t != null && t.colorChannel1 && r.fill === "colorChannel1" && (r.fill = t.colorChannel1), n.tag === "mask" && r.id && (r.id = r.id + e.idSuffix), Object.entries(r).forEach(function(a) {
45
- var l = a[0], c = a[1];
46
- l === "mask" && typeof c == "string" && (r[l] = c.replace(/url\(#(.*)\)/, "url(#$1".concat(e.idSuffix, ")")));
45
+ var s = a[0], c = a[1];
46
+ s === "mask" && typeof c == "string" && (r[s] = c.replace(/url\(#(.*)\)/, "url(#$1".concat(e.idSuffix, ")")));
47
47
  });
48
48
  var i = e.defIds;
49
49
  return !i || i.length === 0 || (n.tag === "use" && r["xlink:href"] && (r["xlink:href"] = r["xlink:href"] + e.idSuffix), Object.entries(r).forEach(function(a) {
50
- var l = a[0], c = a[1];
51
- typeof c == "string" && (r[l] = c.replace(/url\(#(.*)\)/, "url(#$1".concat(e.idSuffix, ")")));
50
+ var s = a[0], c = a[1];
51
+ typeof c == "string" && (r[s] = c.replace(/url\(#(.*)\)/, "url(#$1".concat(e.idSuffix, ")")));
52
52
  })), r;
53
53
  }
54
- function Vr(n, e) {
54
+ function Ur(n, e) {
55
55
  var t, r = e.defIds;
56
56
  return !r || r.length === 0 ? n : n.tag === "defs" && (!((t = n.children) === null || t === void 0) && t.length) ? G(G({}, n), { children: n.children.map(function(i) {
57
57
  return typeof i.attrs.id == "string" && r && r.indexOf(i.attrs.id) > -1 ? G(G({}, i), { attrs: G(G({}, i.attrs), { id: i.attrs.id + e.idSuffix }) }) : i;
58
58
  }) }) : n;
59
59
  }
60
- function Ar() {
60
+ function Wr() {
61
61
  return Math.random().toString(36).substring(2, 8);
62
62
  }
63
63
  ae.displayName = "UniverIcon";
64
- var Ur = { 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" } }] }, hn = re(function(n, e) {
64
+ var jr = { 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" } }] }, vn = re(function(n, e) {
65
65
  return ie(ae, Object.assign({}, n, {
66
66
  id: "ascending- single",
67
67
  ref: e,
68
- icon: Ur
68
+ icon: jr
69
69
  }));
70
70
  });
71
- hn.displayName = "AscendingSingle";
72
- var Wr = { 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" } }] }, vn = re(function(n, e) {
71
+ vn.displayName = "AscendingSingle";
72
+ var Zr = { 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" } }] }, gn = re(function(n, e) {
73
73
  return ie(ae, Object.assign({}, n, {
74
74
  id: "delete-single",
75
75
  ref: e,
76
- icon: Wr
76
+ icon: Zr
77
77
  }));
78
78
  });
79
- vn.displayName = "DeleteSingle";
80
- var jr = { 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" } }] }, gn = re(function(n, e) {
79
+ gn.displayName = "DeleteSingle";
80
+ var qr = { 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" } }] }, bn = re(function(n, e) {
81
81
  return ie(ae, Object.assign({}, n, {
82
82
  id: "descending-single",
83
83
  ref: e,
84
- icon: jr
84
+ icon: qr
85
85
  }));
86
86
  });
87
- gn.displayName = "DescendingSingle";
88
- var Zr = { 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" } }] }, We = re(function(n, e) {
87
+ bn.displayName = "DescendingSingle";
88
+ var Yr = { 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" } }] }, We = re(function(n, e) {
89
89
  return ie(ae, Object.assign({}, n, {
90
90
  id: "dropdown-single",
91
91
  ref: e,
92
- icon: Zr
92
+ icon: Yr
93
93
  }));
94
94
  });
95
95
  We.displayName = "DropdownSingle";
96
- var qr = { 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" } }] }, bn = re(function(n, e) {
96
+ var Qr = { 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" } }] }, mn = re(function(n, e) {
97
97
  return ie(ae, Object.assign({}, n, {
98
98
  id: "grid-outline-single",
99
99
  ref: e,
100
- icon: qr
100
+ icon: Qr
101
101
  }));
102
102
  });
103
- bn.displayName = "GridOutlineSingle";
104
- var Yr = { 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" } }] }, It = re(function(n, e) {
103
+ mn.displayName = "GridOutlineSingle";
104
+ var zr = { 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" } }] }, It = re(function(n, e) {
105
105
  return ie(ae, Object.assign({}, n, {
106
106
  id: "more-down-single",
107
107
  ref: e,
108
- icon: Yr
108
+ icon: zr
109
109
  }));
110
110
  });
111
111
  It.displayName = "MoreDownSingle";
112
- var Qr = { 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" } }] }, mn = re(function(n, e) {
112
+ var Gr = { 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" } }] }, fn = re(function(n, e) {
113
113
  return ie(ae, Object.assign({}, n, {
114
114
  id: "paint-bucket",
115
115
  ref: e,
116
- icon: Qr
116
+ icon: Gr
117
117
  }));
118
118
  });
119
- mn.displayName = "PaintBucket";
120
- var zr = { 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" } }] }, pn = re(function(n, e) {
119
+ fn.displayName = "PaintBucket";
120
+ var Xr = { 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" } }] }, pn = re(function(n, e) {
121
121
  return ie(ae, Object.assign({}, n, {
122
122
  id: "rename-single",
123
123
  ref: e,
124
- icon: zr
124
+ icon: Xr
125
125
  }));
126
126
  });
127
127
  pn.displayName = "RenameSingle";
128
- var Gr = { 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" } }] }, fn = re(function(n, e) {
128
+ var Kr = { 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" } }] }, Cn = re(function(n, e) {
129
129
  return ie(ae, Object.assign({}, n, {
130
130
  id: "table-single",
131
131
  ref: e,
132
- icon: Gr
132
+ icon: Kr
133
133
  }));
134
134
  });
135
- fn.displayName = "TableSingle";
136
- var Se = /* @__PURE__ */ ((n) => (n.Items = "items", n.Condition = "condition", n))(Se || {}), Xr = Object.getOwnPropertyDescriptor, Kr = (n, e, t, r) => {
137
- for (var i = r > 1 ? void 0 : r ? Xr(e, t) : e, a = n.length - 1, l; a >= 0; a--)
138
- (l = n[a]) && (i = l(i) || i);
135
+ Cn.displayName = "TableSingle";
136
+ var Se = /* @__PURE__ */ ((n) => (n.Items = "items", n.Condition = "condition", n))(Se || {}), Jr = Object.getOwnPropertyDescriptor, ei = (n, e, t, r) => {
137
+ for (var i = r > 1 ? void 0 : r ? Jr(e, t) : e, a = n.length - 1, s; a >= 0; a--)
138
+ (s = n[a]) && (i = s(i) || i);
139
139
  return i;
140
140
  }, ze = (n, e) => (t, r) => e(t, r, n);
141
141
  let De = class extends He {
@@ -146,12 +146,12 @@ let De = class extends He {
146
146
  }
147
147
  _registerTableFilterChangeEvent() {
148
148
  this._commandService.onCommandExecuted((e) => {
149
- if (e.id === yr.id) {
149
+ if (e.id === Rr.id) {
150
150
  const { unitId: t, subUnitId: r, cellValue: i } = e.params, a = this._tableManager.getTablesBySubunitId(t, r);
151
151
  if (!a.length)
152
152
  return;
153
- new En(i).forValue((c, d, h) => {
154
- const u = At(c, d), g = a.find((_) => {
153
+ new xn(i).forValue((c, d, h) => {
154
+ const u = Ut(c, d), g = a.find((_) => {
155
155
  const S = _.getTableFilterRange();
156
156
  return Ce.intersects(S, u);
157
157
  });
@@ -174,68 +174,68 @@ let De = class extends He {
174
174
  });
175
175
  }
176
176
  getTableFilterPanelInitProps(e, t, r, i) {
177
- const a = this._tableManager.getTable(e, r), l = a.getRange(), c = a.getTableFilterColumn(i - l.startColumn);
177
+ const a = this._tableManager.getTable(e, r), s = a.getRange(), c = a.getTableFilterColumn(i - s.startColumn);
178
178
  return {
179
179
  unitId: e,
180
180
  subUnitId: t,
181
181
  tableFilter: c,
182
- currentFilterBy: Un(c) ? Se.Condition : Se.Items,
182
+ currentFilterBy: jn(c) ? Se.Condition : Se.Items,
183
183
  tableId: r,
184
- columnIndex: i - l.startColumn
184
+ columnIndex: i - s.startColumn
185
185
  };
186
186
  }
187
187
  getTableFilterCheckedItems(e, t, r) {
188
188
  const i = this._tableManager.getTable(e, t), a = [];
189
189
  if (i) {
190
- const l = i.getTableFilterColumn(r);
191
- l && Wn(l) && a.push(...l.values);
190
+ const s = i.getTableFilterColumn(r);
191
+ s && Zn(s) && a.push(...s.values);
192
192
  }
193
193
  return a;
194
194
  }
195
195
  setTableFilter(e, t, r, i) {
196
196
  if (!this._tableManager.getTable(e, t))
197
197
  return;
198
- const l = {
198
+ const s = {
199
199
  unitId: e,
200
200
  tableId: t,
201
201
  column: r,
202
202
  tableFilter: i
203
203
  };
204
- this._commandService.executeCommand(Nt.id, l);
204
+ this._commandService.executeCommand(Nt.id, s);
205
205
  }
206
206
  getTableFilterItems(e, t, r, i) {
207
- var O;
207
+ var P;
208
208
  if (this._itemsCache.has(r + i))
209
209
  return this._itemsCache.get(r + i) || { data: [], itemsCountMap: /* @__PURE__ */ new Map(), allItemsCount: 0 };
210
210
  const a = this._tableManager.getTable(e, r);
211
211
  if (!a)
212
212
  return { data: [], itemsCountMap: /* @__PURE__ */ new Map(), allItemsCount: 0 };
213
- const l = a.getTableFilterRange(), { startRow: c, endRow: d, startColumn: h } = l, u = h + i, g = (O = this._univerInstanceService.getUnit(e)) == null ? void 0 : O.getSheetBySheetId(t);
213
+ const s = a.getTableFilterRange(), { startRow: c, endRow: d, startColumn: h } = s, u = h + i, g = (P = this._univerInstanceService.getUnit(e)) == null ? void 0 : P.getSheetBySheetId(t);
214
214
  if (!g)
215
215
  return { data: [], itemsCountMap: /* @__PURE__ */ new Map(), allItemsCount: 0 };
216
216
  const _ = [], S = /* @__PURE__ */ new Map();
217
217
  let T = 0;
218
- for (let f = c; f <= d; f++) {
219
- if (g.isRowFiltered(f))
218
+ for (let p = c; p <= d; p++) {
219
+ if (g.isRowFiltered(p))
220
220
  continue;
221
- const y = this._sheetTableService.getCellValueWithConditionType(g, f, u);
221
+ const y = this._sheetTableService.getCellValueWithConditionType(g, p, u);
222
222
  S.has(y) || _.push({
223
223
  title: y,
224
- key: `${u}_${f}`,
224
+ key: `${u}_${p}`,
225
225
  leaf: !0
226
226
  }), T++, S.set(y, (S.get(y) || 0) + 1);
227
227
  }
228
228
  return this._itemsCache.set(r + i, { data: _, itemsCountMap: S, allItemsCount: T }), { data: _, itemsCountMap: S, allItemsCount: T };
229
229
  }
230
230
  };
231
- De = Kr([
231
+ De = ei([
232
232
  ze(0, N(ne)),
233
- ze(1, N(An)),
233
+ ze(1, N(Wn)),
234
234
  ze(2, N(_e)),
235
235
  ze(3, ce)
236
236
  ], De);
237
237
  var j = /* @__PURE__ */ ((n) => (n.DatePicker = "DatePicker", n.DateRange = "DateRange", n.Input = "Input", n.Inputs = "Inputs", n.Select = "Select", n.None = "None", n))(j || {});
238
- function Jr(n) {
238
+ function ti(n) {
239
239
  const t = n.get(ue).t;
240
240
  return [
241
241
  {
@@ -323,170 +323,170 @@ function Jr(n) {
323
323
  label: t(`sheets-table.condition.${D.Date}`),
324
324
  children: [
325
325
  {
326
- value: s.Equal,
327
- label: t(`sheets-table.date.compare.${s.Equal}`)
326
+ value: l.Equal,
327
+ label: t(`sheets-table.date.compare.${l.Equal}`)
328
328
  },
329
329
  {
330
- value: s.NotEqual,
331
- label: t(`sheets-table.date.compare.${s.NotEqual}`)
330
+ value: l.NotEqual,
331
+ label: t(`sheets-table.date.compare.${l.NotEqual}`)
332
332
  },
333
333
  {
334
- value: s.After,
335
- label: t(`sheets-table.date.compare.${s.After}`)
334
+ value: l.After,
335
+ label: t(`sheets-table.date.compare.${l.After}`)
336
336
  },
337
337
  {
338
- value: s.AfterOrEqual,
339
- label: t(`sheets-table.date.compare.${s.AfterOrEqual}`)
338
+ value: l.AfterOrEqual,
339
+ label: t(`sheets-table.date.compare.${l.AfterOrEqual}`)
340
340
  },
341
341
  {
342
- value: s.Before,
343
- label: t(`sheets-table.date.compare.${s.Before}`)
342
+ value: l.Before,
343
+ label: t(`sheets-table.date.compare.${l.Before}`)
344
344
  },
345
345
  {
346
- value: s.BeforeOrEqual,
347
- label: t(`sheets-table.date.compare.${s.BeforeOrEqual}`)
346
+ value: l.BeforeOrEqual,
347
+ label: t(`sheets-table.date.compare.${l.BeforeOrEqual}`)
348
348
  },
349
349
  {
350
- value: s.Between,
351
- label: t(`sheets-table.date.compare.${s.Between}`)
350
+ value: l.Between,
351
+ label: t(`sheets-table.date.compare.${l.Between}`)
352
352
  },
353
353
  {
354
- value: s.NotBetween,
355
- label: t(`sheets-table.date.compare.${s.NotBetween}`)
354
+ value: l.NotBetween,
355
+ label: t(`sheets-table.date.compare.${l.NotBetween}`)
356
356
  },
357
357
  {
358
- value: s.Today,
359
- label: t(`sheets-table.date.compare.${s.Today}`)
358
+ value: l.Today,
359
+ label: t(`sheets-table.date.compare.${l.Today}`)
360
360
  },
361
361
  {
362
- value: s.Yesterday,
363
- label: t(`sheets-table.date.compare.${s.Yesterday}`)
362
+ value: l.Yesterday,
363
+ label: t(`sheets-table.date.compare.${l.Yesterday}`)
364
364
  },
365
365
  {
366
- value: s.Tomorrow,
367
- label: t(`sheets-table.date.compare.${s.Tomorrow}`)
366
+ value: l.Tomorrow,
367
+ label: t(`sheets-table.date.compare.${l.Tomorrow}`)
368
368
  },
369
369
  {
370
- value: s.ThisWeek,
371
- label: t(`sheets-table.date.compare.${s.ThisWeek}`)
370
+ value: l.ThisWeek,
371
+ label: t(`sheets-table.date.compare.${l.ThisWeek}`)
372
372
  },
373
373
  {
374
- value: s.LastWeek,
375
- label: t(`sheets-table.date.compare.${s.LastWeek}`)
374
+ value: l.LastWeek,
375
+ label: t(`sheets-table.date.compare.${l.LastWeek}`)
376
376
  },
377
377
  {
378
- value: s.NextWeek,
379
- label: t(`sheets-table.date.compare.${s.NextWeek}`)
378
+ value: l.NextWeek,
379
+ label: t(`sheets-table.date.compare.${l.NextWeek}`)
380
380
  },
381
381
  {
382
- value: s.ThisMonth,
383
- label: t(`sheets-table.date.compare.${s.ThisMonth}`)
382
+ value: l.ThisMonth,
383
+ label: t(`sheets-table.date.compare.${l.ThisMonth}`)
384
384
  },
385
385
  {
386
- value: s.LastMonth,
387
- label: t(`sheets-table.date.compare.${s.LastMonth}`)
386
+ value: l.LastMonth,
387
+ label: t(`sheets-table.date.compare.${l.LastMonth}`)
388
388
  },
389
389
  {
390
- value: s.NextMonth,
391
- label: t(`sheets-table.date.compare.${s.NextMonth}`)
390
+ value: l.NextMonth,
391
+ label: t(`sheets-table.date.compare.${l.NextMonth}`)
392
392
  },
393
393
  {
394
- value: s.ThisYear,
395
- label: t(`sheets-table.date.compare.${s.ThisYear}`)
394
+ value: l.ThisYear,
395
+ label: t(`sheets-table.date.compare.${l.ThisYear}`)
396
396
  },
397
397
  {
398
- value: s.LastYear,
399
- label: t(`sheets-table.date.compare.${s.LastYear}`)
398
+ value: l.LastYear,
399
+ label: t(`sheets-table.date.compare.${l.LastYear}`)
400
400
  },
401
401
  {
402
- value: s.NextYear,
403
- label: t(`sheets-table.date.compare.${s.NextYear}`)
402
+ value: l.NextYear,
403
+ label: t(`sheets-table.date.compare.${l.NextYear}`)
404
404
  },
405
405
  {
406
- value: s.Quarter,
407
- label: t(`sheets-table.date.compare.${s.Quarter}`)
406
+ value: l.Quarter,
407
+ label: t(`sheets-table.date.compare.${l.Quarter}`)
408
408
  },
409
409
  {
410
- value: s.Month,
411
- label: t(`sheets-table.date.compare.${s.Month}`)
410
+ value: l.Month,
411
+ label: t(`sheets-table.date.compare.${l.Month}`)
412
412
  }
413
413
  ]
414
414
  }
415
415
  ];
416
416
  }
417
- function ei(n, e) {
417
+ function ni(n, e) {
418
418
  if (!e)
419
419
  return [];
420
420
  const r = n.get(ue).t;
421
421
  switch (e) {
422
- case s.Quarter:
422
+ case l.Quarter:
423
423
  return [
424
424
  {
425
- value: s.Q1,
426
- label: r(`sheets-table.date.compare.${s.Q1}`)
425
+ value: l.Q1,
426
+ label: r(`sheets-table.date.compare.${l.Q1}`)
427
427
  },
428
428
  {
429
- value: s.Q2,
430
- label: r(`sheets-table.date.compare.${s.Q2}`)
429
+ value: l.Q2,
430
+ label: r(`sheets-table.date.compare.${l.Q2}`)
431
431
  },
432
432
  {
433
- value: s.Q3,
434
- label: r(`sheets-table.date.compare.${s.Q3}`)
433
+ value: l.Q3,
434
+ label: r(`sheets-table.date.compare.${l.Q3}`)
435
435
  },
436
436
  {
437
- value: s.Q4,
438
- label: r(`sheets-table.date.compare.${s.Q4}`)
437
+ value: l.Q4,
438
+ label: r(`sheets-table.date.compare.${l.Q4}`)
439
439
  }
440
440
  ];
441
- case s.Month:
441
+ case l.Month:
442
442
  return [
443
443
  {
444
- value: s.M1,
445
- label: r(`sheets-table.date.compare.${s.M1}`)
444
+ value: l.M1,
445
+ label: r(`sheets-table.date.compare.${l.M1}`)
446
446
  },
447
447
  {
448
- value: s.M2,
449
- label: r(`sheets-table.date.compare.${s.M2}`)
448
+ value: l.M2,
449
+ label: r(`sheets-table.date.compare.${l.M2}`)
450
450
  },
451
451
  {
452
- value: s.M3,
453
- label: r(`sheets-table.date.compare.${s.M3}`)
452
+ value: l.M3,
453
+ label: r(`sheets-table.date.compare.${l.M3}`)
454
454
  },
455
455
  {
456
- value: s.M4,
457
- label: r(`sheets-table.date.compare.${s.M4}`)
456
+ value: l.M4,
457
+ label: r(`sheets-table.date.compare.${l.M4}`)
458
458
  },
459
459
  {
460
- value: s.M5,
461
- label: r(`sheets-table.date.compare.${s.M5}`)
460
+ value: l.M5,
461
+ label: r(`sheets-table.date.compare.${l.M5}`)
462
462
  },
463
463
  {
464
- value: s.M6,
465
- label: r(`sheets-table.date.compare.${s.M6}`)
464
+ value: l.M6,
465
+ label: r(`sheets-table.date.compare.${l.M6}`)
466
466
  },
467
467
  {
468
- value: s.M7,
469
- label: r(`sheets-table.date.compare.${s.M7}`)
468
+ value: l.M7,
469
+ label: r(`sheets-table.date.compare.${l.M7}`)
470
470
  },
471
471
  {
472
- value: s.M8,
473
- label: r(`sheets-table.date.compare.${s.M8}`)
472
+ value: l.M8,
473
+ label: r(`sheets-table.date.compare.${l.M8}`)
474
474
  },
475
475
  {
476
- value: s.M9,
477
- label: r(`sheets-table.date.compare.${s.M9}`)
476
+ value: l.M9,
477
+ label: r(`sheets-table.date.compare.${l.M9}`)
478
478
  },
479
479
  {
480
- value: s.M10,
481
- label: r(`sheets-table.date.compare.${s.M10}`)
480
+ value: l.M10,
481
+ label: r(`sheets-table.date.compare.${l.M10}`)
482
482
  },
483
483
  {
484
- value: s.M11,
485
- label: r(`sheets-table.date.compare.${s.M11}`)
484
+ value: l.M11,
485
+ label: r(`sheets-table.date.compare.${l.M11}`)
486
486
  },
487
487
  {
488
- value: s.M12,
489
- label: r(`sheets-table.date.compare.${s.M12}`)
488
+ value: l.M12,
489
+ label: r(`sheets-table.date.compare.${l.M12}`)
490
490
  }
491
491
  ];
492
492
  default:
@@ -494,17 +494,17 @@ function ei(n, e) {
494
494
  }
495
495
  }
496
496
  const yt = /* @__PURE__ */ new Set([
497
- s.Equal,
498
- s.NotEqual,
499
- s.After,
500
- s.AfterOrEqual,
501
- s.Before,
502
- s.BeforeOrEqual
497
+ l.Equal,
498
+ l.NotEqual,
499
+ l.After,
500
+ l.AfterOrEqual,
501
+ l.Before,
502
+ l.BeforeOrEqual
503
503
  ]);
504
- function ti(n, e) {
505
- return e ? n === D.String ? j.Input : n === D.Number ? e === $.Between || e === $.NotBetween ? j.Inputs : j.Input : n === D.Date ? e === s.Between || e === s.NotBetween ? j.DateRange : e === s.Quarter || e === s.Month ? j.Select : yt.has(e) ? j.DatePicker : j.None : j.None : j.None;
504
+ function ri(n, e) {
505
+ return e ? n === D.String ? j.Input : n === D.Number ? e === $.Between || e === $.NotBetween ? j.Inputs : j.Input : n === D.Date ? e === l.Between || e === l.NotBetween ? j.DateRange : e === l.Quarter || e === l.Month ? j.Select : yt.has(e) ? j.DatePicker : j.None : j.None : j.None;
506
506
  }
507
- function ni(n) {
507
+ function ii(n) {
508
508
  if (!n || n.filterType !== "condition")
509
509
  return {
510
510
  type: D.String,
@@ -512,13 +512,13 @@ function ni(n) {
512
512
  info: {}
513
513
  };
514
514
  const e = n.filterInfo, { conditionType: t, compareType: r } = e;
515
- return t === D.Date ? r === s.Between || r === s.NotBetween ? {
515
+ return t === D.Date ? r === l.Between || r === l.NotBetween ? {
516
516
  type: t,
517
517
  compare: r,
518
518
  info: {
519
519
  dateRange: e.expectedValue
520
520
  }
521
- } : r === s.Today || r === s.Yesterday || r === s.Tomorrow || r === s.ThisWeek || r === s.LastWeek || r === s.NextWeek || r === s.ThisMonth || r === s.LastMonth || r === s.NextMonth || r === s.ThisYear || r === s.LastYear || r === s.NextYear ? {
521
+ } : r === l.Today || r === l.Yesterday || r === l.Tomorrow || r === l.ThisWeek || r === l.LastWeek || r === l.NextWeek || r === l.ThisMonth || r === l.LastMonth || r === l.NextMonth || r === l.ThisYear || r === l.LastYear || r === l.NextYear ? {
522
522
  type: t,
523
523
  compare: r,
524
524
  info: {}
@@ -528,15 +528,15 @@ function ni(n) {
528
528
  info: {
529
529
  date: e.expectedValue
530
530
  }
531
- } : (/* @__PURE__ */ new Set([s.Q1, s.Q2, s.Q3, s.Q4])).has(r) ? {
531
+ } : (/* @__PURE__ */ new Set([l.Q1, l.Q2, l.Q3, l.Q4])).has(r) ? {
532
532
  type: t,
533
- compare: s.Quarter,
533
+ compare: l.Quarter,
534
534
  info: {
535
535
  dateSelect: e.compareType
536
536
  }
537
537
  } : {
538
538
  type: t,
539
- compare: s.Month,
539
+ compare: l.Month,
540
540
  info: {
541
541
  dateSelect: e.compareType
542
542
  }
@@ -564,24 +564,24 @@ function ni(n) {
564
564
  info: {}
565
565
  };
566
566
  }
567
- const ri = (n) => {
568
- var S, T, O, f, E, y, k;
569
- const { conditionInfo: e, onChange: t } = n, r = R(ue), [i, a] = Z(!1), l = R(Ve), c = Jr(l), d = (v, p, L) => {
567
+ const ai = (n) => {
568
+ var S, T, P, p, E, y, O;
569
+ const { conditionInfo: e, onChange: t } = n, r = R(ue), [i, a] = Z(!1), s = R(Ve), c = ti(s), d = (v, f, L) => {
570
570
  t({
571
- type: p != null ? p : e.type,
571
+ type: f != null ? f : e.type,
572
572
  compare: L != null ? L : e.compare,
573
573
  info: v
574
574
  });
575
575
  }, h = (v) => {
576
576
  var C;
577
- const p = v[0], L = v[1];
577
+ const f = v[0], L = v[1];
578
578
  L && a(!1);
579
579
  const M = {};
580
- p === D.Date ? L === s.Quarter ? M.dateSelect = s.Q1 : L === s.Month ? M.dateSelect = s.M1 : yt.has(L) ? M.date = /* @__PURE__ */ new Date() : M.dateRange = [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()] : p === D.Number ? M.number = 0 : p === D.String && (M.string = ""), d(M, v[0], (C = v[1]) != null ? C : W.Equal);
581
- }, u = ti(e.type, e.compare);
580
+ f === D.Date ? L === l.Quarter ? M.dateSelect = l.Q1 : L === l.Month ? M.dateSelect = l.M1 : yt.has(L) ? M.date = /* @__PURE__ */ new Date() : M.dateRange = [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()] : f === D.Number ? M.number = 0 : f === D.String && (M.string = ""), d(M, v[0], (C = v[1]) != null ? C : W.Equal);
581
+ }, u = ri(e.type, e.compare);
582
582
  let g = "";
583
583
  e.compare ? g = `${r.t(`sheets-table.condition.${e.type}`)} - ${r.t(`sheets-table.${e.type}.compare.${e.compare}`)}` : g = r.t(`sheets-table.condition.${e.type}`);
584
- const _ = ei(l, e.compare);
584
+ const _ = ni(s, e.compare);
585
585
  return /* @__PURE__ */ w("div", { children: [
586
586
  /* @__PURE__ */ o(
587
587
  Be,
@@ -590,7 +590,7 @@ const ri = (n) => {
590
590
  open: i,
591
591
  onOpenChange: a,
592
592
  overlay: /* @__PURE__ */ o(
593
- fr,
593
+ Sr,
594
594
  {
595
595
  value: [e.type, e.compare],
596
596
  options: c,
@@ -602,14 +602,7 @@ const ri = (n) => {
602
602
  children: /* @__PURE__ */ w(
603
603
  "div",
604
604
  {
605
- className: B(`
606
- univer-box-border univer-flex univer-h-8 univer-w-full univer-items-center univer-justify-between
607
- univer-rounded-md univer-bg-white univer-px-2 univer-text-sm univer-transition-colors
608
- univer-duration-200
609
- dark:univer-bg-gray-700 dark:univer-text-white
610
- focus:univer-border-primary-600 focus:univer-outline-none focus:univer-ring-2
611
- hover:univer-border-primary-600
612
- `, A),
605
+ className: B("univer-box-border univer-flex univer-h-8 univer-w-full univer-items-center univer-justify-between univer-rounded-md univer-bg-white univer-px-2 univer-text-sm univer-transition-colors univer-duration-200 dark:univer-bg-gray-700 dark:univer-text-white focus:univer-border-primary-600 focus:univer-outline-none focus:univer-ring-2 hover:univer-border-primary-600", A),
613
606
  children: [
614
607
  /* @__PURE__ */ o("span", { children: g }),
615
608
  /* @__PURE__ */ o(It, {})
@@ -639,7 +632,7 @@ const ri = (n) => {
639
632
  }
640
633
  ) }),
641
634
  u === j.DatePicker && /* @__PURE__ */ o("div", { id: "univer-table-date-picker-wrapper", style: { background: "#fff", position: "relative" }, children: /* @__PURE__ */ o(
642
- Cr,
635
+ _r,
643
636
  {
644
637
  value: be(e.info.date),
645
638
  defaultPickerValue: be(),
@@ -650,12 +643,12 @@ const ri = (n) => {
650
643
  }
651
644
  ) }),
652
645
  u === j.DateRange && /* @__PURE__ */ o("div", { id: "univer-table-date-range-wrapper", style: { background: "#fff", position: "relative" }, children: /* @__PURE__ */ o(
653
- Sr,
646
+ Tr,
654
647
  {
655
- value: [(T = be((S = e.info.dateRange) == null ? void 0 : S[0])) != null ? T : be(), (f = be((O = e.info.dateRange) == null ? void 0 : O[1])) != null ? f : be()],
648
+ value: [(T = be((S = e.info.dateRange) == null ? void 0 : S[0])) != null ? T : be(), (p = be((P = e.info.dateRange) == null ? void 0 : P[1])) != null ? p : be()],
656
649
  defaultPickerValue: [be(), be()],
657
650
  onChange: (v) => {
658
- d(v ? { dateRange: v.map((p) => p == null ? void 0 : p.toDate()) } : {});
651
+ d(v ? { dateRange: v.map((f) => f == null ? void 0 : f.toDate()) } : {});
659
652
  },
660
653
  getPopupContainer: () => document.getElementById("univer-table-date-range-wrapper") || document.body,
661
654
  classNames: { popup: "univer-w-[400px]" },
@@ -669,8 +662,8 @@ const ri = (n) => {
669
662
  className: "univer-w-full",
670
663
  value: (E = e.info.numberRange) == null ? void 0 : E[0],
671
664
  onChange: (v) => {
672
- var p;
673
- v !== null && d({ numberRange: [v, (p = e.info.numberRange) == null ? void 0 : p[1]] });
665
+ var f;
666
+ v !== null && d({ numberRange: [v, (f = e.info.numberRange) == null ? void 0 : f[1]] });
674
667
  },
675
668
  controls: !1
676
669
  }
@@ -683,61 +676,58 @@ const ri = (n) => {
683
676
  value: (y = e.info.numberRange) == null ? void 0 : y[1],
684
677
  controls: !1,
685
678
  onChange: (v) => {
686
- var p;
687
- v !== null && d({ numberRange: [(p = e.info.numberRange) == null ? void 0 : p[0], v] });
679
+ var f;
680
+ v !== null && d({ numberRange: [(f = e.info.numberRange) == null ? void 0 : f[0], v] });
688
681
  }
689
682
  }
690
683
  )
691
684
  ] }),
692
685
  u === j.Select && /* @__PURE__ */ o(
693
- _r,
686
+ wr,
694
687
  {
695
688
  className: "univer-w-full",
696
- value: (k = e.info.dateSelect) != null ? k : _[0].value,
689
+ value: (O = e.info.dateSelect) != null ? O : _[0].value,
697
690
  options: _,
698
691
  onChange: (v) => d({ dateSelect: v })
699
692
  }
700
693
  )
701
694
  ] })
702
695
  ] });
703
- }, ii = (n) => {
696
+ }, si = (n) => {
704
697
  let e = 0;
705
698
  return n.forEach((t) => {
706
699
  e += t;
707
700
  }), e;
708
701
  };
709
- function ai(n) {
710
- const { unitId: e, tableId: t, subUnitId: r, columnIndex: i, checkedItemSet: a, setCheckedItemSet: l, tableFilter: c } = n, d = R(ue), h = R(De), { data: u, itemsCountMap: g, allItemsCount: _ } = h.getTableFilterItems(e, r, t, i), [S, T] = Z(c === void 0 ? !0 : a.size === g.size), [O, f] = Z(S ? _ : ii(g)), E = !S && a.size > 0, [y, k] = Z(""), v = ln(() => y ? u.filter((C) => String(C.title).toLowerCase().includes(y.toLowerCase())) : u, [y, u]), p = Bt(() => {
711
- S ? (a.clear(), l(new Set(a)), T(!1)) : (v.forEach((C) => {
702
+ function li(n) {
703
+ const { unitId: e, tableId: t, subUnitId: r, columnIndex: i, checkedItemSet: a, setCheckedItemSet: s, tableFilter: c } = n, d = R(ue), h = R(De), { data: u, itemsCountMap: g, allItemsCount: _ } = h.getTableFilterItems(e, r, t, i), [S, T] = Z(c === void 0 ? !0 : a.size === g.size), [P, p] = Z(S ? _ : si(g)), E = !S && a.size > 0, [y, O] = Z(""), v = on(() => y ? u.filter((C) => String(C.title).toLowerCase().includes(y.toLowerCase())) : u, [y, u]), f = Bt(() => {
704
+ S ? (a.clear(), s(new Set(a)), T(!1)) : (v.forEach((C) => {
712
705
  a.add(C.title);
713
- }), l(new Set(a)), T(!0));
706
+ }), s(new Set(a)), T(!0));
714
707
  }, [S]), L = Bt((C) => {
715
708
  C === "" ? (T(!0), u.forEach((F) => {
716
709
  a.add(F.title);
717
- }), f(_)) : (a.clear(), T(!1), f(0)), k(C);
710
+ }), p(_)) : (a.clear(), T(!1), p(0)), O(C);
718
711
  }, []), M = (C) => {
719
712
  if (S) {
720
713
  T(!1);
721
714
  const F = /* @__PURE__ */ new Set();
722
715
  for (const { title: x } of u)
723
716
  C !== x && F.add(x);
724
- f(_ - g.get(C)), l(F);
717
+ p(_ - g.get(C)), s(F);
725
718
  } else
726
- a.has(C) ? (a.delete(C), f(O - g.get(C))) : (a.add(C), f(O + g.get(C))), l(new Set(a));
719
+ a.has(C) ? (a.delete(C), p(P - g.get(C))) : (a.add(C), p(P + g.get(C))), s(new Set(a));
727
720
  };
728
721
  return /* @__PURE__ */ w("div", { className: "univer-flex univer-h-full univer-flex-col", children: [
729
722
  /* @__PURE__ */ o(wt, { autoFocus: !0, value: y, placeholder: d.t("sheets-filter.panel.search-placeholder"), onChange: L }),
730
723
  /* @__PURE__ */ o(
731
724
  "div",
732
725
  {
733
- className: B(`
734
- univer-mt-2 univer-box-border univer-flex univer-h-[180px] univer-max-h-[180px] univer-flex-grow
735
- univer-flex-col univer-overflow-hidden univer-rounded-md univer-py-1.5 univer-pl-2
736
- `, A),
726
+ className: B("univer-mt-2 univer-box-border univer-flex univer-h-[180px] univer-max-h-[180px] univer-flex-grow univer-flex-col univer-overflow-hidden univer-rounded-md univer-py-1.5 univer-pl-2", A),
737
727
  children: /* @__PURE__ */ o(
738
728
  "div",
739
729
  {
740
- className: B("univer-h-40 univer-overflow-y-auto univer-py-1 univer-pl-2", Tr),
730
+ className: B("univer-h-40 univer-overflow-y-auto univer-py-1 univer-pl-2", Ir),
741
731
  children: /* @__PURE__ */ w("div", { className: "univer-h-full", children: [
742
732
  /* @__PURE__ */ o("div", { className: "univer-flex univer-items-center univer-px-2 univer-py-1", children: /* @__PURE__ */ o(
743
733
  $t,
@@ -745,10 +735,10 @@ function ai(n) {
745
735
  indeterminate: E,
746
736
  disabled: u.length === 0,
747
737
  checked: S,
748
- onChange: p,
738
+ onChange: f,
749
739
  children: /* @__PURE__ */ w("div", { className: "univer-flex univer-h-5 univer-flex-1 univer-items-center univer-text-sm", children: [
750
740
  /* @__PURE__ */ o("span", { className: "univer-inline-block univer-truncate", children: `${d.t("sheets-filter.panel.select-all")}` }),
751
- /* @__PURE__ */ o("span", { className: "univer-ml univer-text-gray-400", children: `(${O}/${y ? v.length : _})` })
741
+ /* @__PURE__ */ o("span", { className: "univer-ml univer-text-gray-400", children: `(${P}/${y ? v.length : _})` })
752
742
  ] })
753
743
  }
754
744
  ) }),
@@ -779,36 +769,36 @@ function ai(n) {
779
769
  )
780
770
  ] });
781
771
  }
782
- function si() {
772
+ function oi() {
783
773
  var de;
784
- const n = R(ue), e = li(n), t = R(De), r = R(ne), i = R(ce), a = R(Ut), l = R(Fe), c = l.getCurrentTableFilterInfo(), d = t.getTableFilterPanelInitProps(c.unitId, c.subUnitId, c.tableId, c.column), { unitId: h, subUnitId: u, tableId: g, tableFilter: _, currentFilterBy: S, columnIndex: T } = d, { data: O } = t.getTableFilterItems(h, u, g, T), f = t.getTableFilterCheckedItems(h, g, T), [E, y] = Z(new Set(f)), [k, v] = Z(S || Se.Items), [p, L] = Z(() => {
774
+ const n = R(ue), e = ci(n), t = R(De), r = R(ne), i = R(ce), a = R(Wt), s = R(Fe), c = s.getCurrentTableFilterInfo(), d = t.getTableFilterPanelInitProps(c.unitId, c.subUnitId, c.tableId, c.column), { unitId: h, subUnitId: u, tableId: g, tableFilter: _, currentFilterBy: S, columnIndex: T } = d, { data: P } = t.getTableFilterItems(h, u, g, T), p = t.getTableFilterCheckedItems(h, g, T), [E, y] = Z(new Set(p)), [O, v] = Z(S || Se.Items), [f, L] = Z(() => {
785
775
  const b = d.tableFilter;
786
- return ni(b);
776
+ return ii(b);
787
777
  }), M = r.getTable(h, g);
788
778
  if (!M) return null;
789
779
  const C = M.getTableFilters(), F = C.getSortState();
790
780
  F.columnIndex === T && (F.sortState, Ye.Asc), F.columnIndex === T && (F.sortState, Ye.Desc);
791
781
  const x = () => {
792
- l.closeFilterPanel();
782
+ s.closeFilterPanel();
793
783
  }, Q = () => {
794
784
  x();
795
785
  }, U = (b) => {
796
- const P = M.getTableFilterRange();
797
- i.executeCommand(xr.id, {
786
+ const k = M.getTableFilterRange();
787
+ i.executeCommand($r.id, {
798
788
  unitId: h,
799
789
  subUnitId: u,
800
- range: P,
801
- orderRules: [{ colIndex: T + P.startColumn, type: b ? kt.ASC : kt.DESC }],
790
+ range: k,
791
+ orderRules: [{ colIndex: T + k.startColumn, type: b ? Ot.ASC : Ot.DESC }],
802
792
  hasTitle: !1
803
793
  }), C.setSortState(T, b ? Ye.Asc : Ye.Desc), x();
804
794
  }, ee = () => {
805
- if (k === Se.Items) {
795
+ if (O === Se.Items) {
806
796
  const b = [];
807
- for (const q of O)
797
+ for (const q of P)
808
798
  E.has(q.title) && b.push(q.title);
809
- const P = M.getTableFilterColumn(T);
810
- if (P) {
811
- if (P.values.join(",") === b.join(",")) {
799
+ const k = M.getTableFilterColumn(T);
800
+ if (k) {
801
+ if (k.values.join(",") === b.join(",")) {
812
802
  x();
813
803
  return;
814
804
  }
@@ -823,54 +813,50 @@ function si() {
823
813
  t.setTableFilter(h, g, T, H);
824
814
  } else {
825
815
  let b;
826
- p.compare === s.Quarter || p.compare === s.Month ? b = {
827
- conditionType: p.type,
828
- compareType: Object.values(p.info)[0]
816
+ f.compare === l.Quarter || f.compare === l.Month ? b = {
817
+ conditionType: f.type,
818
+ compareType: Object.values(f.info)[0]
829
819
  } : b = {
830
- conditionType: p.type,
831
- compareType: p.compare,
832
- expectedValue: Object.values(p.info)[0]
820
+ conditionType: f.type,
821
+ compareType: f.compare,
822
+ expectedValue: Object.values(f.info)[0]
833
823
  };
834
- const P = {
824
+ const k = {
835
825
  filterType: Et.condition,
836
826
  // @ts-ignore
837
827
  filterInfo: b
838
828
  };
839
- t.setTableFilter(h, g, T, P);
829
+ t.setTableFilter(h, g, T, k);
840
830
  }
841
831
  x();
842
832
  }, xe = () => {
843
833
  t.setTableFilter(h, g, T, void 0), x();
844
- }, Le = new tn(h).id, Te = (de = a.getPermissionPoint(Le)) == null ? void 0 : de.value;
834
+ }, Le = new nn(h).id, Te = (de = a.getPermissionPoint(Le)) == null ? void 0 : de.value;
845
835
  return /* @__PURE__ */ w(
846
836
  "div",
847
837
  {
848
- className: `
849
- univer-box-border univer-flex univer-w-[312px] univer-flex-col univer-rounded-[10px] univer-bg-white
850
- univer-p-4 univer-shadow-lg
851
- dark:univer-border-gray-600 dark:univer-bg-gray-700
852
- `,
838
+ className: "univer-box-border univer-flex univer-w-[312px] univer-flex-col univer-rounded-[10px] univer-bg-white univer-p-4 univer-shadow-lg dark:univer-border-gray-600 dark:univer-bg-gray-700",
853
839
  children: [
854
- Te && /* @__PURE__ */ o("div", { className: "univer-mb-3 univer-flex", children: /* @__PURE__ */ w(wr, { className: "univer-mb-3 univer-w-full", children: [
840
+ Te && /* @__PURE__ */ o("div", { className: "univer-mb-3 univer-flex", children: /* @__PURE__ */ w(yr, { className: "univer-mb-3 univer-w-full", children: [
855
841
  /* @__PURE__ */ w(ye, { className: "univer-w-1/2", onClick: () => U(!0), children: [
856
- /* @__PURE__ */ o(hn, { className: "univer-mr-1" }),
842
+ /* @__PURE__ */ o(vn, { className: "univer-mr-1" }),
857
843
  n.t("sheets-sort.general.sort-asc")
858
844
  ] }),
859
845
  /* @__PURE__ */ w(ye, { className: "univer-w-1/2", onClick: () => U(!1), children: [
860
- /* @__PURE__ */ o(gn, { className: "univer-mr-1" }),
846
+ /* @__PURE__ */ o(bn, { className: "univer-mr-1" }),
861
847
  n.t("sheets-sort.general.sort-desc")
862
848
  ] })
863
849
  ] }) }),
864
850
  /* @__PURE__ */ o("div", { className: "univer-w-full", children: /* @__PURE__ */ o(
865
- Ir,
851
+ Mr,
866
852
  {
867
- value: k,
853
+ value: O,
868
854
  items: e,
869
855
  onChange: (b) => v(b)
870
856
  }
871
857
  ) }),
872
- /* @__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: k === Se.Items ? /* @__PURE__ */ o(
873
- ai,
858
+ /* @__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: O === Se.Items ? /* @__PURE__ */ o(
859
+ li,
874
860
  {
875
861
  tableFilter: _,
876
862
  unitId: h,
@@ -881,24 +867,21 @@ function si() {
881
867
  setCheckedItemSet: y
882
868
  }
883
869
  ) : /* @__PURE__ */ o(
884
- ri,
870
+ ai,
885
871
  {
886
872
  tableFilter: _,
887
873
  unitId: h,
888
874
  subUnitId: u,
889
875
  tableId: g,
890
876
  columnIndex: T,
891
- conditionInfo: p,
877
+ conditionInfo: f,
892
878
  onChange: L
893
879
  }
894
880
  ) }) }),
895
881
  /* @__PURE__ */ w(
896
882
  "div",
897
883
  {
898
- className: `
899
- univer-mt-4 univer-inline-flex univer-flex-shrink-0 univer-flex-grow-0 univer-flex-wrap-nowrap
900
- univer-justify-between univer-overflow-hidden
901
- `,
884
+ className: "univer-mt-4 univer-inline-flex univer-flex-shrink-0 univer-flex-grow-0 univer-flex-wrap-nowrap univer-justify-between univer-overflow-hidden",
902
885
  children: [
903
886
  /* @__PURE__ */ o(
904
887
  ye,
@@ -919,16 +902,16 @@ function si() {
919
902
  }
920
903
  );
921
904
  }
922
- function li(n) {
905
+ function ci(n) {
923
906
  const e = n.getCurrentLocale();
924
- return ln(() => [
907
+ return on(() => [
925
908
  { label: n.t("sheets-filter.panel.by-values"), value: Se.Items },
926
909
  { label: n.t("sheets-filter.panel.by-conditions"), value: Se.Condition }
927
910
  ], [e, n]);
928
911
  }
929
- var oi = Object.getOwnPropertyDescriptor, ci = (n, e, t, r) => {
930
- for (var i = r > 1 ? void 0 : r ? oi(e, t) : e, a = n.length - 1, l; a >= 0; a--)
931
- (l = n[a]) && (i = l(i) || i);
912
+ var ui = Object.getOwnPropertyDescriptor, di = (n, e, t, r) => {
913
+ for (var i = r > 1 ? void 0 : r ? ui(e, t) : e, a = n.length - 1, s; a >= 0; a--)
914
+ (s = n[a]) && (i = s(i) || i);
932
915
  return i;
933
916
  }, Ge = (n, e) => (t, r) => e(t, r, n);
934
917
  let Fe = class extends He {
@@ -949,18 +932,18 @@ let Fe = class extends He {
949
932
  }
950
933
  _initComponents() {
951
934
  [
952
- [pe, si]
935
+ [fe, oi]
953
936
  ].forEach(([e, t]) => {
954
937
  this.disposeWithMe(this._componentManager.register(e, t));
955
938
  });
956
939
  }
957
940
  _initUIPopup() {
958
- this.disposeWithMe(this._contextService.subscribeContextValue$(pe).pipe(en(void 0), hr()).subscribe((e) => {
941
+ this.disposeWithMe(this._contextService.subscribeContextValue$(fe).pipe(tn(void 0), gr()).subscribe((e) => {
959
942
  e ? this._openFilterPopup() : e === !1 && this._closeFilterPopup();
960
943
  }));
961
944
  }
962
945
  closeFilterPanel() {
963
- this._contextService.setContextValue(pe, !1);
946
+ this._contextService.setContextValue(fe, !1);
964
947
  }
965
948
  _openFilterPopup() {
966
949
  const e = this._currentTableFilterInfo;
@@ -968,10 +951,10 @@ let Fe = class extends He {
968
951
  throw new Error("[SheetsFilterUIController]: no filter model when opening filter popup!");
969
952
  const { row: t, column: r } = e;
970
953
  this._popupDisposable = this._sheetCanvasPopupService.attachPopupToCell(t, r, {
971
- componentKey: pe,
954
+ componentKey: fe,
972
955
  direction: "horizontal",
973
956
  onClickOutside: () => {
974
- this._dialogService.close(kr), this._contextService.setContextValue(pe, !1);
957
+ this._dialogService.close(Dr), this._contextService.setContextValue(fe, !1);
975
958
  },
976
959
  offset: [5, 0]
977
960
  });
@@ -981,35 +964,35 @@ let Fe = class extends He {
981
964
  (e = this._popupDisposable) == null || e.dispose(), this._popupDisposable = null, this.clearCurrentTableFilterInfo();
982
965
  }
983
966
  };
984
- Fe = ci([
985
- Ge(0, N(Kt)),
967
+ Fe = di([
968
+ Ge(0, N(Jt)),
986
969
  Ge(1, St),
987
- Ge(2, N(Xn)),
988
- Ge(3, N(Jt))
970
+ Ge(2, N(Jn)),
971
+ Ge(3, N(en))
989
972
  ], Fe);
990
973
  const mt = {
991
- type: Wt.OPERATION,
974
+ type: jt.OPERATION,
992
975
  id: "sheet.operation.open-table-filter-panel",
993
976
  async handler(n, e) {
994
977
  if (!e)
995
978
  return !1;
996
- const { row: t, col: r, unitId: i, subUnitId: a, tableId: l } = e, c = n.get(ne), d = n.get(St), h = n.get(Fe);
997
- return c.getTable(i, l) ? (d.getContextValue(pe) || (h.setCurrentTableFilterInfo({ unitId: i, subUnitId: a, row: t, tableId: l, column: r }), d.setContextValue(pe, !0)), !0) : !1;
979
+ const { row: t, col: r, unitId: i, subUnitId: a, tableId: s } = e, c = n.get(ne), d = n.get(St), h = n.get(Fe);
980
+ return c.getTable(i, s) ? (d.getContextValue(fe) || (h.setCurrentTableFilterInfo({ unitId: i, subUnitId: a, row: t, tableId: s, column: r }), d.setContextValue(fe, !0)), !0) : !1;
998
981
  }
999
982
  }, Mt = {
1000
- type: Wt.OPERATION,
983
+ type: jt.OPERATION,
1001
984
  id: "sheet.operation.open-table-selector",
1002
985
  async handler(n) {
1003
986
  var S;
1004
987
  const e = n.get(_e), t = n.get(ce), r = lt(e);
1005
988
  if (!r)
1006
989
  return !1;
1007
- const { unitId: i, subUnitId: a, worksheet: l } = r, d = n.get(ot).getCurrentLastSelection(), h = (S = d == null ? void 0 : d.range) != null ? S : { startRow: 0, endRow: 0, startColumn: 0, endColumn: 0 }, g = Mr(d) ? Rr(h, { up: !0, left: !0, right: !0, down: !0 }, l) : h, _ = await Cn(n, i, a, g);
1008
- return _ ? (t.executeCommand(jn.id, { ..._ }), !0) : !1;
990
+ const { unitId: i, subUnitId: a, worksheet: s } = r, d = n.get(ot).getCurrentLastSelection(), h = (S = d == null ? void 0 : d.range) != null ? S : { startRow: 0, endRow: 0, startColumn: 0, endColumn: 0 }, g = Nr(d) ? Er(h, { up: !0, left: !0, right: !0, down: !0 }, s) : h, _ = await Sn(n, i, a, g);
991
+ return _ ? (t.executeCommand(qn.id, { ..._ }), !0) : !1;
1009
992
  }
1010
993
  };
1011
- async function Cn(n, e, t, r, i) {
1012
- const a = n.get(Jt), l = n.get(ue);
994
+ async function Sn(n, e, t, r, i) {
995
+ const a = n.get(en), s = n.get(ue);
1013
996
  return new Promise((c) => {
1014
997
  const d = {
1015
998
  unitId: e,
@@ -1017,88 +1000,91 @@ async function Cn(n, e, t, r, i) {
1017
1000
  range: r,
1018
1001
  tableId: i,
1019
1002
  onConfirm: (h) => {
1020
- c(h), a.close(ke);
1003
+ c(h), a.close(Oe);
1021
1004
  },
1022
1005
  onCancel: () => {
1023
- c(null), a.close(ke);
1006
+ c(null), a.close(Oe);
1024
1007
  }
1025
1008
  };
1026
1009
  a.open({
1027
- id: ke,
1028
- title: { title: l.t("sheets-table.selectRange") },
1010
+ id: Oe,
1011
+ title: { title: s.t("sheets-table.selectRange") },
1029
1012
  draggable: !0,
1030
1013
  destroyOnClose: !0,
1031
1014
  mask: !1,
1032
1015
  maskClosable: !1,
1033
1016
  children: {
1034
1017
  label: {
1035
- name: ke,
1018
+ name: Oe,
1036
1019
  props: d
1037
1020
  }
1038
1021
  },
1039
1022
  width: 300,
1040
1023
  onClose: () => {
1041
- c(null), a.close(ke);
1024
+ c(null), a.close(Oe);
1042
1025
  }
1043
1026
  });
1044
1027
  });
1045
1028
  }
1046
- const Sn = "sheets-table-ui.config";
1047
- var ui = Object.getOwnPropertyDescriptor, di = (n, e, t, r) => {
1048
- for (var i = r > 1 ? void 0 : r ? ui(e, t) : e, a = n.length - 1, l; a >= 0; a--)
1049
- (l = n[a]) && (i = l(i) || i);
1029
+ const _n = "sheets-table-ui.config", Ht = {
1030
+ anchorHeight: 24,
1031
+ anchorBackgroundColor: "rgb(134,139,156)"
1032
+ };
1033
+ var hi = Object.getOwnPropertyDescriptor, vi = (n, e, t, r) => {
1034
+ for (var i = r > 1 ? void 0 : r ? hi(e, t) : e, a = n.length - 1, s; a >= 0; a--)
1035
+ (s = n[a]) && (i = s(i) || i);
1050
1036
  return i;
1051
- }, hi = (n, e) => (t, r) => e(t, r, n);
1037
+ }, gi = (n, e) => (t, r) => e(t, r, n);
1052
1038
  let Ne = class extends He {
1053
1039
  constructor(e) {
1054
1040
  super();
1055
- V(this, "_refreshTable", new vr());
1041
+ V(this, "_refreshTable", new br());
1056
1042
  V(this, "refreshTable$", this._refreshTable.asObservable());
1057
1043
  this._commandService = e, this._initListener();
1058
1044
  }
1059
1045
  _initListener() {
1060
1046
  this.disposeWithMe(
1061
1047
  this._commandService.onCommandExecuted((e) => {
1062
- if (e.id === nn.id) {
1048
+ if (e.id === rn.id) {
1063
1049
  const t = e.params, { styleName: r } = t;
1064
- r.startsWith(Zn) && this._refreshTable.next(Math.random());
1050
+ r.startsWith(Yn) && this._refreshTable.next(Math.random());
1065
1051
  }
1066
1052
  })
1067
1053
  );
1068
1054
  }
1069
1055
  };
1070
- Ne = di([
1071
- hi(0, N(ce))
1056
+ Ne = vi([
1057
+ gi(0, N(ce))
1072
1058
  ], Ne);
1073
- const vi = () => {
1059
+ const bi = () => {
1074
1060
  var Te, de;
1075
- const [n, e] = Z(""), [t, r] = Z(""), i = R(ir), [a, l] = Z({}), c = R(Ve), d = R(tt), h = Me(d.anchorPosition$), u = R(ce), g = R(_e), _ = R(rn), S = Me(_.unitPermissionInitStateChange$, !1), T = R(ne), O = R(an), f = R(Ne), E = Me(f.refreshTable$), y = R(ue), k = R(ot), v = Me(k.selectionChanged$, [{ range: At(0, 0), primary: null }]), [, p] = Z(Math.random()), M = R(jt).getConfig(Sn), C = (Te = M == null ? void 0 : M.anchorHeight) != null ? Te : 24, F = (de = M == null ? void 0 : M.anchorBackgroundColor) != null ? de : "rgb(53,91,183)", x = (b, P) => {
1076
- l((H) => ({
1061
+ const [n, e] = Z(""), [t, r] = Z(""), i = R(sr), [a, s] = Z({}), c = R(Ve), d = R(tt), h = Me(d.anchorPosition$), u = R(ce), g = R(_e), _ = R(an), S = Me(_.unitPermissionInitStateChange$, !1), T = R(ne), P = R(sn), p = R(Ne), E = Me(p.refreshTable$), y = R(ue), O = R(ot), v = Me(O.selectionChanged$, [{ range: Ut(0, 0), primary: null }]), [, f] = Z(Math.random()), M = R(Zt).getConfig(_n), C = (Te = M == null ? void 0 : M.anchorHeight) != null ? Te : 24, F = (de = M == null ? void 0 : M.anchorBackgroundColor) != null ? de : "rgb(53,91,183)", x = (b, k) => {
1062
+ s((H) => ({
1077
1063
  ...H,
1078
- [b]: P
1064
+ [b]: k
1079
1065
  }));
1080
1066
  };
1081
- if (on(() => {
1082
- p(Math.random());
1067
+ if (cn(() => {
1068
+ f(Math.random());
1083
1069
  }, [E]), !(h != null && h.length))
1084
1070
  return null;
1085
1071
  const Q = lt(g);
1086
1072
  if (!Q) return null;
1087
- const { unitId: U, subUnitId: ee } = Q, xe = (b, P) => {
1073
+ const { unitId: U, subUnitId: ee } = Q, xe = (b, k) => {
1088
1074
  var q;
1089
- if (((q = T.getTableById(U, b)) == null ? void 0 : q.getDisplayName()) === P) {
1075
+ if (((q = T.getTableById(U, b)) == null ? void 0 : q.getDisplayName()) === k) {
1090
1076
  e(""), r("");
1091
1077
  return;
1092
1078
  }
1093
1079
  u.executeCommand(bt.id, {
1094
1080
  tableId: b,
1095
1081
  unitId: U,
1096
- name: P
1082
+ name: k
1097
1083
  }), r(""), e("");
1098
1084
  }, Le = async (b) => {
1099
- const P = T.getTableById(U, b);
1100
- if (!P) return;
1101
- const H = P.getRange(), q = await Cn(c, U, ee, H, b);
1085
+ const k = T.getTableById(U, b);
1086
+ if (!k) return;
1087
+ const H = k.getRange(), q = await Sn(c, U, ee, H, b);
1102
1088
  q && u.executeCommand(bt.id, {
1103
1089
  tableId: b,
1104
1090
  unitId: U,
@@ -1114,19 +1100,16 @@ const vi = () => {
1114
1100
  style: {},
1115
1101
  children: h.map((b) => {
1116
1102
  var X, K, se, le, he, ve, ge;
1117
- const P = T.getTableById(U, b.tableId);
1118
- if (!P) return null;
1119
- const H = O.getRangeThemeStyle(U, P.getTableStyleId()), q = (se = (K = (X = H == null ? void 0 : H.getHeaderRowStyle()) == null ? void 0 : X.bg) == null ? void 0 : K.rgb) != null ? se : F, je = (ve = (he = (le = H == null ? void 0 : H.getHeaderRowStyle()) == null ? void 0 : le.cl) == null ? void 0 : he.rgb) != null ? ve : "rgb(255, 255, 255)", Ze = P.getRange();
1103
+ const k = T.getTableById(U, b.tableId);
1104
+ if (!k) return null;
1105
+ const H = P.getRangeThemeStyle(U, k.getTableStyleId()), q = (se = (K = (X = H == null ? void 0 : H.getHeaderRowStyle()) == null ? void 0 : X.bg) == null ? void 0 : K.rgb) != null ? se : F, je = (ve = (he = (le = H == null ? void 0 : H.getHeaderRowStyle()) == null ? void 0 : le.cl) == null ? void 0 : he.rgb) != null ? ve : "rgb(255, 255, 255)", Ze = k.getRange();
1120
1106
  if (!(v != null && v.length))
1121
1107
  return null;
1122
1108
  const qe = v[v.length - 1].range, I = !Ce.intersects(Ze, qe) && b.y <= 20;
1123
1109
  return /* @__PURE__ */ w(
1124
1110
  "div",
1125
1111
  {
1126
- className: B(`
1127
- univer-absolute univer-box-border univer-flex univer-cursor-pointer univer-items-center
1128
- univer-rounded-xl univer-pl-2 univer-pr-2 univer-shadow-xs
1129
- `, A),
1112
+ className: B("univer-absolute univer-box-border univer-flex univer-cursor-pointer univer-items-center univer-rounded-xl univer-pl-2 univer-pr-2 univer-shadow-xs", A),
1130
1113
  style: {
1131
1114
  left: b.x,
1132
1115
  top: Math.max(b.y, 0),
@@ -1162,11 +1145,7 @@ const vi = () => {
1162
1145
  /* @__PURE__ */ w(
1163
1146
  "div",
1164
1147
  {
1165
- className: `
1166
- univer-flex univer-min-w-32 univer-cursor-pointer univer-items-center
1167
- univer-pb-1 univer-pl-2 univer-pr-2 univer-pt-1 univer-text-sm
1168
- hover:univer-bg-gray-200
1169
- `,
1148
+ className: "univer-flex univer-min-w-32 univer-cursor-pointer univer-items-center univer-pb-1 univer-pl-2 univer-pr-2 univer-pt-1 univer-text-sm hover:univer-bg-gray-200",
1170
1149
  onClick: () => {
1171
1150
  e(b.tableId), r(b.tableName);
1172
1151
  },
@@ -1179,22 +1158,16 @@ const vi = () => {
1179
1158
  /* @__PURE__ */ o(
1180
1159
  "div",
1181
1160
  {
1182
- className: `
1183
- univer-mb-1 univer-mt-1 univer-h-px univer-w-full univer-bg-gray-200
1184
- `
1161
+ className: "univer-mb-1 univer-mt-1 univer-h-px univer-w-full univer-bg-gray-200"
1185
1162
  }
1186
1163
  ),
1187
1164
  /* @__PURE__ */ w(
1188
1165
  "div",
1189
1166
  {
1190
1167
  onClick: () => Le(b.tableId),
1191
- className: `
1192
- univer-flex univer-min-w-32 univer-cursor-pointer univer-items-center
1193
- univer-pb-1 univer-pl-2 univer-pr-2 univer-pt-1 univer-text-sm
1194
- hover:univer-bg-gray-200
1195
- `,
1168
+ className: "univer-flex univer-min-w-32 univer-cursor-pointer univer-items-center univer-pb-1 univer-pl-2 univer-pr-2 univer-pt-1 univer-text-sm hover:univer-bg-gray-200",
1196
1169
  children: [
1197
- /* @__PURE__ */ o(bn, { className: "univer-mr-2" }),
1170
+ /* @__PURE__ */ o(mn, { className: "univer-mr-2" }),
1198
1171
  y.t("sheets-table.updateRange")
1199
1172
  ]
1200
1173
  }
@@ -1202,20 +1175,16 @@ const vi = () => {
1202
1175
  /* @__PURE__ */ w(
1203
1176
  "div",
1204
1177
  {
1205
- className: `
1206
- univer-flex univer-min-w-32 univer-cursor-pointer univer-items-center
1207
- univer-pb-1 univer-pl-2 univer-pr-2 univer-pt-1 univer-text-sm
1208
- hover:univer-bg-gray-200
1209
- `,
1178
+ className: "univer-flex univer-min-w-32 univer-cursor-pointer univer-items-center univer-pb-1 univer-pl-2 univer-pr-2 univer-pt-1 univer-text-sm hover:univer-bg-gray-200",
1210
1179
  onClick: () => {
1211
1180
  x(b.tableId, !1);
1212
1181
  const Y = T.getTableById(U, b.tableId);
1213
1182
  if (!Y) return;
1214
1183
  const we = Y.getTableConfig(), Ie = {
1215
- id: Br,
1184
+ id: Fr,
1216
1185
  header: { title: y.t("sheets-table.tableStyle") },
1217
1186
  children: {
1218
- label: un,
1187
+ label: dn,
1219
1188
  oldConfig: we,
1220
1189
  unitId: U,
1221
1190
  subUnitId: ee,
@@ -1227,7 +1196,7 @@ const vi = () => {
1227
1196
  },
1228
1197
  children: [
1229
1198
  /* @__PURE__ */ o(
1230
- mn,
1199
+ fn,
1231
1200
  {
1232
1201
  extend: { colorChannel1: "rgb(53,91,183)" },
1233
1202
  className: "univer-mr-2"
@@ -1240,28 +1209,22 @@ const vi = () => {
1240
1209
  /* @__PURE__ */ o(
1241
1210
  "div",
1242
1211
  {
1243
- className: `
1244
- univer-mb-1 univer-mt-1 univer-h-px univer-w-full univer-bg-gray-200
1245
- `
1212
+ className: "univer-mb-1 univer-mt-1 univer-h-px univer-w-full univer-bg-gray-200"
1246
1213
  }
1247
1214
  ),
1248
1215
  /* @__PURE__ */ w(
1249
1216
  "div",
1250
1217
  {
1251
- className: `
1252
- univer-flex univer-min-w-32 univer-cursor-pointer univer-items-center
1253
- univer-pb-1 univer-pl-2 univer-pr-2 univer-pt-1 univer-text-sm
1254
- hover:univer-bg-gray-200
1255
- `,
1218
+ className: "univer-flex univer-min-w-32 univer-cursor-pointer univer-items-center univer-pb-1 univer-pl-2 univer-pr-2 univer-pt-1 univer-text-sm hover:univer-bg-gray-200",
1256
1219
  onClick: () => {
1257
- x(b.tableId, !1), u.executeCommand(qn.id, {
1220
+ x(b.tableId, !1), u.executeCommand(Qn.id, {
1258
1221
  tableId: b.tableId,
1259
1222
  subUnitId: ee,
1260
1223
  unitId: U
1261
1224
  });
1262
1225
  },
1263
1226
  children: [
1264
- /* @__PURE__ */ o(vn, { className: "univer-mr-2" }),
1227
+ /* @__PURE__ */ o(gn, { className: "univer-mr-2" }),
1265
1228
  y.t("sheets-table.removeTable")
1266
1229
  ]
1267
1230
  }
@@ -1280,29 +1243,29 @@ const vi = () => {
1280
1243
  }
1281
1244
  ) : null;
1282
1245
  };
1283
- var gi = Object.getOwnPropertyDescriptor, bi = (n, e, t, r) => {
1284
- for (var i = r > 1 ? void 0 : r ? gi(e, t) : e, a = n.length - 1, l; a >= 0; a--)
1285
- (l = n[a]) && (i = l(i) || i);
1246
+ var mi = Object.getOwnPropertyDescriptor, fi = (n, e, t, r) => {
1247
+ for (var i = r > 1 ? void 0 : r ? mi(e, t) : e, a = n.length - 1, s; a >= 0; a--)
1248
+ (s = n[a]) && (i = s(i) || i);
1286
1249
  return i;
1287
1250
  }, te = (n, e) => (t, r) => e(t, r, n);
1288
1251
  let tt = class extends He {
1289
- constructor(e, t, r, i, a, l, c, d, h, u, g) {
1252
+ constructor(e, t, r, i, a, s, c, d, h, u, g) {
1290
1253
  super();
1291
1254
  V(this, "_anchorVisible$", new Lt(!0));
1292
1255
  V(this, "_timer");
1293
1256
  V(this, "_anchorPosition$", new Lt([]));
1294
1257
  V(this, "anchorPosition$", this._anchorPosition$.asObservable());
1295
- this._context = e, this._injector = t, this._sheetSkeletonManagerService = r, this._renderManagerService = i, this._commandService = a, this._univerInstanceService = l, this._uiPartsService = c, this._tableManager = d, this._scrollManagerService = h, this._workbookPermissionService = u, this._permissionService = g, this._initUI(), this._initListener(), this._initTableAnchor();
1258
+ this._context = e, this._injector = t, this._sheetSkeletonManagerService = r, this._renderManagerService = i, this._commandService = a, this._univerInstanceService = s, this._uiPartsService = c, this._tableManager = d, this._scrollManagerService = h, this._workbookPermissionService = u, this._permissionService = g, this._initUI(), this._initListener(), this._initTableAnchor();
1296
1259
  }
1297
1260
  _initUI() {
1298
1261
  this.disposeWithMe(
1299
- this._uiPartsService.registerComponent(sr.CONTENT, () => lr(vi, this._injector))
1262
+ this._uiPartsService.registerComponent(or.CONTENT, () => cr(bi, this._injector))
1300
1263
  );
1301
1264
  }
1302
1265
  _initListener() {
1303
1266
  this.disposeWithMe(
1304
1267
  this._commandService.onCommandExecuted((e) => {
1305
- (e.id === Jn.id || e.id === er.id) && (this._anchorVisible$.next(!1), this._timer && clearTimeout(this._timer), this._timer = setTimeout(() => {
1268
+ (e.id === tr.id || e.id === nr.id) && (this._anchorVisible$.next(!1), this._timer && clearTimeout(this._timer), this._timer = setTimeout(() => {
1306
1269
  this._anchorVisible$.next(!0);
1307
1270
  }, 300));
1308
1271
  })
@@ -1319,8 +1282,8 @@ let tt = class extends He {
1319
1282
  this._tableManager.tableNameChanged$,
1320
1283
  this._tableManager.tableRangeChanged$,
1321
1284
  this._tableManager.tableThemeChanged$,
1322
- this._workbookPermissionService.unitPermissionInitStateChange$.pipe(gr((e) => e)),
1323
- this._permissionService.permissionPointUpdate$.pipe(br(300)),
1285
+ this._workbookPermissionService.unitPermissionInitStateChange$.pipe(mr((e) => e)),
1286
+ this._permissionService.permissionPointUpdate$.pipe(fr(300)),
1324
1287
  this._anchorVisible$
1325
1288
  ).subscribe(() => {
1326
1289
  var h;
@@ -1328,25 +1291,25 @@ let tt = class extends He {
1328
1291
  this._anchorPosition$.next([]);
1329
1292
  return;
1330
1293
  }
1331
- const t = this._context.unit, r = t.getActiveSheet(), i = r == null ? void 0 : r.getSheetId(), a = this._tableManager.getTableList(this._context.unitId).filter((u) => u.subUnitId === i), l = this._renderManagerService.getRenderById(this._context.unitId);
1332
- if (!l) {
1294
+ const t = this._context.unit, r = t.getActiveSheet(), i = r == null ? void 0 : r.getSheetId(), a = this._tableManager.getTableList(this._context.unitId).filter((u) => u.subUnitId === i), s = this._renderManagerService.getRenderById(this._context.unitId);
1295
+ if (!s) {
1333
1296
  this._anchorPosition$.next([]);
1334
1297
  return;
1335
1298
  }
1336
- if (!((h = this._permissionService.getPermissionPoint(new tn(t.getUnitId()).id)) == null ? void 0 : h.value)) {
1299
+ if (!((h = this._permissionService.getPermissionPoint(new nn(t.getUnitId()).id)) == null ? void 0 : h.value)) {
1337
1300
  this._anchorPosition$.next([]);
1338
1301
  return;
1339
1302
  }
1340
1303
  const d = a.reduce((u, g) => {
1341
- const { startRow: _, startColumn: S } = g.range, T = l.with(st), O = tr(this._univerInstanceService, this._renderManagerService);
1342
- if (!O) return u;
1343
- const { scene: f } = O, E = f.getViewport(Dn.VIEW_MAIN);
1304
+ const { startRow: _, startColumn: S } = g.range, T = s.with(st), P = rr(this._univerInstanceService, this._renderManagerService);
1305
+ if (!P) return u;
1306
+ const { scene: p } = P, E = p.getViewport(Hn.VIEW_MAIN);
1344
1307
  if (!E) return u;
1345
- const y = f == null ? void 0 : f.scaleX, k = f == null ? void 0 : f.scaleY, v = f == null ? void 0 : f.getViewportScrollXY(E);
1346
- if (!y || !f || !k || !v) return u;
1347
- const p = T.getCurrentSkeleton();
1348
- if (!p) return u;
1349
- const L = p.getNoMergeCellWithCoordByIndex(_, S), M = Fn(L.startX, y, v), C = Hn(L.startY, k, v) - 25 - 4;
1308
+ const y = p == null ? void 0 : p.scaleX, O = p == null ? void 0 : p.scaleY, v = p == null ? void 0 : p.getViewportScrollXY(E);
1309
+ if (!y || !p || !O || !v) return u;
1310
+ const f = T.getCurrentSkeleton();
1311
+ if (!f) return u;
1312
+ const L = f.getNoMergeCellWithCoordByIndex(_, S), M = Vn(L.startX, y, v), C = An(L.startY, O, v) - 25 - 4;
1350
1313
  return C >= -10 && M >= 45 && u.push({
1351
1314
  x: M,
1352
1315
  y: C,
@@ -1359,72 +1322,72 @@ let tt = class extends He {
1359
1322
  );
1360
1323
  }
1361
1324
  };
1362
- tt = bi([
1325
+ tt = fi([
1363
1326
  te(1, N(Ve)),
1364
1327
  te(2, N(st)),
1365
- te(3, qt),
1328
+ te(3, Yt),
1366
1329
  te(4, ce),
1367
1330
  te(5, _e),
1368
- te(6, ar),
1331
+ te(6, lr),
1369
1332
  te(7, N(ne)),
1370
- te(8, N(Kn)),
1371
- te(9, N(rn)),
1372
- te(10, N(Ut))
1333
+ te(8, N(er)),
1334
+ te(9, N(an)),
1335
+ te(10, N(Wt))
1373
1336
  ], tt);
1374
- const Pe = 16;
1337
+ const ke = 16;
1375
1338
  new Path2D("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");
1376
- class Ht {
1339
+ class Vt {
1377
1340
  static drawNoSetting(e, t, r, i) {
1378
1341
  e.save(), Rt.drawWith(e, {
1379
1342
  radius: 2,
1380
- width: Pe,
1381
- height: Pe,
1343
+ width: ke,
1344
+ height: ke,
1382
1345
  fill: i
1383
- }), e.lineCap = "square", e.strokeStyle = r, e.scale(t / Pe, t / Pe), e.beginPath(), e.lineWidth = 1, e.lineCap = "round", e.moveTo(3, 4), e.lineTo(13, 4), e.moveTo(4.5, 8), e.lineTo(11.5, 8), e.moveTo(6, 12), e.lineTo(10, 12), e.stroke(), e.restore();
1346
+ }), e.lineCap = "square", e.strokeStyle = r, e.scale(t / ke, t / ke), e.beginPath(), e.lineWidth = 1, e.lineCap = "round", e.moveTo(3, 4), e.lineTo(13, 4), e.moveTo(4.5, 8), e.lineTo(11.5, 8), e.moveTo(6, 12), e.lineTo(10, 12), e.stroke(), e.restore();
1384
1347
  }
1385
1348
  static drawIconByPath(e, t, r, i) {
1386
1349
  e.save(), e.strokeStyle = r, e.fillStyle = i, Rt.drawWith(e, {
1387
1350
  radius: 2,
1388
- width: Pe,
1389
- height: Pe,
1351
+ width: ke,
1352
+ height: ke,
1390
1353
  fill: i
1391
1354
  }), t.forEach((a) => {
1392
- const l = new Path2D(a);
1393
- e.fillStyle = r, e.fill(l, "evenodd");
1355
+ const s = new Path2D(a);
1356
+ e.fillStyle = r, e.fill(s, "evenodd");
1394
1357
  }), e.restore();
1395
1358
  }
1396
1359
  }
1397
- const mi = [
1360
+ const pi = [
1398
1361
  "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"
1399
- ], pi = [
1362
+ ], Ci = [
1400
1363
  "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",
1401
1364
  "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"
1402
- ], fi = [
1365
+ ], Si = [
1403
1366
  "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",
1404
1367
  "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"
1405
- ], Ci = [
1368
+ ], _i = [
1406
1369
  "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",
1407
1370
  "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",
1408
1371
  "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"
1409
- ], Si = [
1372
+ ], Ti = [
1410
1373
  "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",
1411
1374
  "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",
1412
1375
  "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"
1413
1376
  ];
1414
- var _i = Object.getOwnPropertyDescriptor, Ti = (n, e, t, r) => {
1415
- for (var i = r > 1 ? void 0 : r ? _i(e, t) : e, a = n.length - 1, l; a >= 0; a--)
1416
- (l = n[a]) && (i = l(i) || i);
1377
+ var wi = Object.getOwnPropertyDescriptor, Ii = (n, e, t, r) => {
1378
+ for (var i = r > 1 ? void 0 : r ? wi(e, t) : e, a = n.length - 1, s; a >= 0; a--)
1379
+ (s = n[a]) && (i = s(i) || i);
1417
1380
  return i;
1418
1381
  }, vt = (n, e) => (t, r) => e(t, r, n);
1419
- const fe = 16, Xe = 1;
1420
- let pt = class extends Vn {
1382
+ const pe = 16, Xe = 1;
1383
+ let ft = class extends Un {
1421
1384
  constructor(e, t, r, i, a) {
1422
1385
  super(e, t);
1423
1386
  V(this, "_cellWidth", 0);
1424
1387
  V(this, "_cellHeight", 0);
1425
1388
  V(this, "_filterParams");
1426
1389
  V(this, "_hovered", !1);
1427
- this._contextService = r, this._commandService = i, this._themeService = a, this.setShapeProps(t), this.onPointerDown$.subscribeEvent((l) => this.onPointerDown(l)), this.onPointerEnter$.subscribeEvent(() => this.onPointerEnter()), this.onPointerLeave$.subscribeEvent(() => this.onPointerLeave());
1390
+ this._contextService = r, this._commandService = i, this._themeService = a, this.setShapeProps(t), this.onPointerDown$.subscribeEvent((s) => this.onPointerDown(s)), this.onPointerEnter$.subscribeEvent(() => this.onPointerEnter()), this.onPointerLeave$.subscribeEvent(() => this.onPointerLeave());
1428
1391
  }
1429
1392
  setShapeProps(e) {
1430
1393
  typeof e.cellHeight < "u" && (this._cellHeight = e.cellHeight), typeof e.cellWidth < "u" && (this._cellWidth = e.cellWidth), typeof e.filterParams < "u" && (this._filterParams = e.filterParams), this.transformByState({
@@ -1433,44 +1396,44 @@ let pt = class extends Vn {
1433
1396
  });
1434
1397
  }
1435
1398
  _draw(e) {
1436
- const t = this._cellHeight, r = this._cellWidth, i = fe - r, a = fe - t;
1399
+ const t = this._cellHeight, r = this._cellWidth, i = pe - r, a = pe - t;
1437
1400
  e.save();
1438
- const l = new Path2D();
1439
- l.rect(i, a, r, t), e.clip(l);
1401
+ const s = new Path2D();
1402
+ s.rect(i, a, r, t), e.clip(s);
1440
1403
  const { buttonState: c } = this._filterParams, d = this._themeService.getColorFromTheme("primary.600"), h = this._hovered ? this._themeService.getColorFromTheme("gray.50") : "rgba(255, 255, 255, 1.0)";
1441
1404
  let u;
1442
1405
  switch (c) {
1443
1406
  case $e.FilteredSortNone:
1444
- u = mi;
1407
+ u = pi;
1445
1408
  break;
1446
1409
  case $e.FilteredSortAsc:
1447
- u = pi;
1410
+ u = Ci;
1448
1411
  break;
1449
1412
  case $e.FilteredSortDesc:
1450
- u = fi;
1413
+ u = Si;
1451
1414
  break;
1452
1415
  case $e.FilterNoneSortNone:
1453
1416
  break;
1454
1417
  case $e.FilterNoneSortAsc:
1455
- u = Ci;
1418
+ u = _i;
1456
1419
  break;
1457
1420
  case $e.FilterNoneSortDesc:
1458
- u = Si;
1421
+ u = Ti;
1459
1422
  break;
1460
1423
  }
1461
- u ? Ht.drawIconByPath(e, u, d, h) : c !== void 0 && Ht.drawNoSetting(e, fe, d, h), e.restore();
1424
+ u ? Vt.drawIconByPath(e, u, d, h) : c !== void 0 && Vt.drawNoSetting(e, pe, d, h), e.restore();
1462
1425
  }
1463
1426
  onPointerDown(e) {
1464
1427
  if (e.button === 2)
1465
1428
  return;
1466
- const { row: t, col: r, unitId: i, subUnitId: a, tableId: l } = this._filterParams;
1467
- this._contextService.getContextValue(pe) || !this._commandService.hasCommand(mt.id) || setTimeout(() => {
1429
+ const { row: t, col: r, unitId: i, subUnitId: a, tableId: s } = this._filterParams;
1430
+ this._contextService.getContextValue(fe) || !this._commandService.hasCommand(mt.id) || setTimeout(() => {
1468
1431
  const d = {
1469
1432
  row: t,
1470
1433
  col: r,
1471
1434
  unitId: i,
1472
1435
  subUnitId: a,
1473
- tableId: l
1436
+ tableId: s
1474
1437
  };
1475
1438
  this._commandService.executeCommand(mt.id, d);
1476
1439
  }, 200);
@@ -1482,18 +1445,18 @@ let pt = class extends Vn {
1482
1445
  this._hovered = !1, this.makeDirty(!0);
1483
1446
  }
1484
1447
  };
1485
- pt = Ti([
1448
+ ft = Ii([
1486
1449
  vt(2, St),
1487
1450
  vt(3, ce),
1488
- vt(4, N(xn))
1489
- ], pt);
1490
- var wi = Object.getOwnPropertyDescriptor, Ii = (n, e, t, r) => {
1491
- for (var i = r > 1 ? void 0 : r ? wi(e, t) : e, a = n.length - 1, l; a >= 0; a--)
1492
- (l = n[a]) && (i = l(i) || i);
1451
+ vt(4, N(Ln))
1452
+ ], ft);
1453
+ var yi = Object.getOwnPropertyDescriptor, Mi = (n, e, t, r) => {
1454
+ for (var i = r > 1 ? void 0 : r ? yi(e, t) : e, a = n.length - 1, s; a >= 0; a--)
1455
+ (s = n[a]) && (i = s(i) || i);
1493
1456
  return i;
1494
1457
  }, Ke = (n, e) => (t, r) => e(t, r, n);
1495
- const yi = 5e3;
1496
- let ft = class extends Zt {
1458
+ const Ri = 5e3;
1459
+ let pt = class extends qt {
1497
1460
  constructor(e, t, r, i, a) {
1498
1461
  super();
1499
1462
  V(this, "_buttonRenderDisposable", null);
@@ -1509,7 +1472,7 @@ let ft = class extends Zt {
1509
1472
  Re((t) => {
1510
1473
  var c;
1511
1474
  if (!t) return J(null);
1512
- const { unit: r, unitId: i } = this._context, a = ((c = r.getActiveSheet()) == null ? void 0 : c.getSheetId()) || "", l = () => ({
1475
+ const { unit: r, unitId: i } = this._context, a = ((c = r.getActiveSheet()) == null ? void 0 : c.getSheetId()) || "", s = () => ({
1513
1476
  unitId: i,
1514
1477
  worksheetId: a,
1515
1478
  tableFilterRanges: this._tableManager.getSheetFilterRangeWithState(r.getUnitId(), a),
@@ -1523,50 +1486,50 @@ let ft = class extends Zt {
1523
1486
  e.tableDelete$,
1524
1487
  e.tableFilterChanged$
1525
1488
  ).pipe(
1526
- mr(() => l()),
1527
- en(l())
1489
+ pr(() => s()),
1490
+ tn(s())
1528
1491
  );
1529
1492
  }),
1530
- pr(this.dispose$)
1493
+ Cr(this.dispose$)
1531
1494
  ).subscribe((t) => {
1532
1495
  this._disposeRendering(), !(!t || !t.tableFilterRanges) && this._renderButtons(t);
1533
1496
  });
1534
1497
  }
1535
1498
  _renderButtons(e) {
1536
- const { tableFilterRanges: t, unitId: r, skeleton: i, worksheetId: a } = e, { scene: l } = this._context;
1499
+ const { tableFilterRanges: t, unitId: r, skeleton: i, worksheetId: a } = e, { scene: s } = this._context;
1537
1500
  for (const { range: c, states: d, tableId: h } of t) {
1538
1501
  const { startRow: u, startColumn: g, endColumn: _ } = c;
1539
1502
  this._interceptCellContent(r, a, c);
1540
1503
  for (let S = g; S <= _; S++) {
1541
- const T = `sheets-table-filter-button-${u}-${S}`, O = nr(u, S, l, i), { startX: f, startY: E, endX: y, endY: k } = O, v = y - f, p = k - E;
1542
- if (p <= Xe || v <= Xe)
1504
+ const T = `sheets-table-filter-button-${u}-${S}`, P = ir(u, S, s, i), { startX: p, startY: E, endX: y, endY: O } = P, v = y - p, f = O - E;
1505
+ if (f <= Xe || v <= Xe)
1543
1506
  continue;
1544
- const L = d[S - g], M = y - fe - Xe, C = k - fe - Xe, F = {
1507
+ const L = d[S - g], M = y - pe - Xe, C = O - pe - Xe, F = {
1545
1508
  left: M,
1546
1509
  top: C,
1547
- height: fe,
1548
- width: fe,
1549
- zIndex: yi,
1550
- cellHeight: p,
1510
+ height: pe,
1511
+ width: pe,
1512
+ zIndex: Ri,
1513
+ cellHeight: f,
1551
1514
  cellWidth: v,
1552
1515
  filterParams: { unitId: r, subUnitId: a, row: u, col: S, buttonState: L, tableId: h }
1553
- }, x = this._injector.createInstance(pt, T, F);
1516
+ }, x = this._injector.createInstance(ft, T, F);
1554
1517
  this._tableFilterButtonShapes.push(x);
1555
1518
  }
1556
1519
  }
1557
- l.addObjects(this._tableFilterButtonShapes), l.makeDirty();
1520
+ s.addObjects(this._tableFilterButtonShapes), s.makeDirty();
1558
1521
  }
1559
1522
  _interceptCellContent(e, t, r) {
1560
- const { startRow: i, startColumn: a, endColumn: l } = r;
1561
- this._buttonRenderDisposable = this._sheetInterceptorService.intercept(Nr.CELL_CONTENT, {
1562
- effect: Ln.Style,
1523
+ const { startRow: i, startColumn: a, endColumn: s } = r;
1524
+ this._buttonRenderDisposable = this._sheetInterceptorService.intercept(xr.CELL_CONTENT, {
1525
+ effect: $n.Style,
1563
1526
  handler: (c, d, h) => {
1564
1527
  const { row: u, col: g, unitId: _, subUnitId: S } = d;
1565
- return _ !== e || S !== t || u !== i || g < a || g > l ? h(c) : h({
1528
+ return _ !== e || S !== t || u !== i || g < a || g > s ? h(c) : h({
1566
1529
  ...c,
1567
1530
  fontRenderExtension: {
1568
1531
  ...c == null ? void 0 : c.fontRenderExtension,
1569
- rightOffset: fe
1532
+ rightOffset: pe
1570
1533
  }
1571
1534
  });
1572
1535
  },
@@ -1578,14 +1541,14 @@ let ft = class extends Zt {
1578
1541
  this._tableFilterButtonShapes.forEach((t) => t.dispose()), (e = this._buttonRenderDisposable) == null || e.dispose(), this._buttonRenderDisposable = null, this._tableFilterButtonShapes = [];
1579
1542
  }
1580
1543
  };
1581
- ft = Ii([
1544
+ pt = Mi([
1582
1545
  Ke(1, N(Ve)),
1583
1546
  Ke(2, N(st)),
1584
- Ke(3, N(sn)),
1547
+ Ke(3, N(ln)),
1585
1548
  Ke(4, N(ne))
1586
- ], ft);
1587
- const Mi = (n) => {
1588
- const { unitId: e, subUnitId: t, range: r, onCancel: i, onConfirm: a, tableId: l } = n, c = R(ne), [d, h] = Z(r), [u, g] = Z(""), _ = R(ue), S = R(_e);
1549
+ ], pt);
1550
+ const Ni = (n) => {
1551
+ const { unitId: e, subUnitId: t, range: r, onCancel: i, onConfirm: a, tableId: s } = n, c = R(ne), [d, h] = Z(r), [u, g] = Z(""), _ = R(ue), S = R(_e);
1589
1552
  return /* @__PURE__ */ w(Tt, { children: [
1590
1553
  /* @__PURE__ */ o(
1591
1554
  Or,
@@ -1594,8 +1557,8 @@ const Mi = (n) => {
1594
1557
  unitId: e,
1595
1558
  subUnitId: t,
1596
1559
  initialValue: Dt(r),
1597
- onChange: (T, O) => {
1598
- const f = Dt(r), E = $r(O).range, y = lt(S, { unitId: e, subUnitId: t });
1560
+ onChange: (T, P) => {
1561
+ const p = Dt(r), E = kr(P).range, y = lt(S, { unitId: e, subUnitId: t });
1599
1562
  if (!y)
1600
1563
  return;
1601
1564
  if (y.worksheet.getMergeData().some((x) => Ce.intersects(E, x))) {
@@ -1603,7 +1566,7 @@ const Mi = (n) => {
1603
1566
  return;
1604
1567
  }
1605
1568
  if (c.getTablesBySubunitId(e, t).some((x) => {
1606
- if (x.getId() === l)
1569
+ if (x.getId() === s)
1607
1570
  return !1;
1608
1571
  const Q = x.getRange();
1609
1572
  return Ce.intersects(E, Q);
@@ -1616,9 +1579,9 @@ const Mi = (n) => {
1616
1579
  g(_.t("sheets-table.tableRangeSingleRowError"));
1617
1580
  return;
1618
1581
  }
1619
- if (f !== O) {
1620
- if (l) {
1621
- const x = c.getTableById(e, l);
1582
+ if (p !== P) {
1583
+ if (s) {
1584
+ const x = c.getTableById(e, s);
1622
1585
  if (x) {
1623
1586
  const Q = x.getRange();
1624
1587
  if (Ce.intersects(E, Q) && Q.startRow === E.startRow) {
@@ -1660,56 +1623,56 @@ const Mi = (n) => {
1660
1623
  )
1661
1624
  ] })
1662
1625
  ] });
1663
- }, Ri = (n) => {
1664
- var Le, Te, de, b, P, H, q, ct, je, Ze, ut, qe;
1665
- const { unitId: e, subUnitId: t, tableId: r } = n, i = R(ce), a = R(ue), l = R(ne), c = l.getTableById(e, r), d = R(an), h = R(Ne), u = Me(d.rangeThemeMapChange$), g = Me(h.refreshTable$), _ = R($n), [, S] = Z(Math.random()), T = Me(l.tableThemeChanged$, {
1626
+ }, Ei = (n) => {
1627
+ var Le, Te, de, b, k, H, q, ct, je, Ze, ut, qe;
1628
+ const { unitId: e, subUnitId: t, tableId: r } = n, i = R(ce), a = R(ue), s = R(ne), c = s.getTableById(e, r), d = R(sn), h = R(Ne), u = Me(d.rangeThemeMapChange$), g = Me(h.refreshTable$), _ = R(Pn), [, S] = Z(Math.random()), T = Me(s.tableThemeChanged$, {
1666
1629
  theme: c == null ? void 0 : c.getTableStyleId(),
1667
1630
  oldTheme: c == null ? void 0 : c.getTableStyleId(),
1668
1631
  unitId: e,
1669
1632
  subUnitId: t,
1670
1633
  tableId: r
1671
- }), O = d.getRegisteredRangeThemes().filter((m) => m == null ? void 0 : m.startsWith(Dr)), f = d.getALLRegisteredTheme(e).filter((m) => m == null ? void 0 : m.startsWith(ht)), E = c == null ? void 0 : c.getTableStyleId(), y = f.find((m) => m === E), k = y || f[0], v = d.getCustomRangeThemeStyle(e, k), p = (de = (Te = (Le = v == null ? void 0 : v.getHeaderRowStyle()) == null ? void 0 : Le.bg) == null ? void 0 : Te.rgb) != null ? de : me, L = (H = (P = (b = v == null ? void 0 : v.getFirstRowStyle()) == null ? void 0 : b.bg) == null ? void 0 : P.rgb) != null ? H : me, M = (je = (ct = (q = v == null ? void 0 : v.getSecondRowStyle()) == null ? void 0 : q.bg) == null ? void 0 : ct.rgb) != null ? je : me, C = (qe = (ut = (Ze = v == null ? void 0 : v.getLastRowStyle()) == null ? void 0 : Ze.bg) == null ? void 0 : ut.rgb) != null ? qe : me, [F, x] = Z(null), Q = (m) => {
1634
+ }), P = d.getRegisteredRangeThemes().filter((m) => m == null ? void 0 : m.startsWith(Hr)), p = d.getALLRegisteredTheme(e).filter((m) => m == null ? void 0 : m.startsWith(ht)), E = c == null ? void 0 : c.getTableStyleId(), y = p.find((m) => m === E), O = y || p[0], v = d.getCustomRangeThemeStyle(e, O), f = (de = (Te = (Le = v == null ? void 0 : v.getHeaderRowStyle()) == null ? void 0 : Le.bg) == null ? void 0 : Te.rgb) != null ? de : me, L = (H = (k = (b = v == null ? void 0 : v.getFirstRowStyle()) == null ? void 0 : b.bg) == null ? void 0 : k.rgb) != null ? H : me, M = (je = (ct = (q = v == null ? void 0 : v.getSecondRowStyle()) == null ? void 0 : q.bg) == null ? void 0 : ct.rgb) != null ? je : me, C = (qe = (ut = (Ze = v == null ? void 0 : v.getLastRowStyle()) == null ? void 0 : Ze.bg) == null ? void 0 : ut.rgb) != null ? qe : me, [F, x] = Z(null), Q = (m) => {
1672
1635
  i.executeCommand(bt.id, {
1673
1636
  unitId: e,
1674
1637
  tableId: r,
1675
1638
  theme: m
1676
1639
  });
1677
1640
  }, U = () => {
1678
- if (f.length >= 11) {
1641
+ if (p.length >= 11) {
1679
1642
  _.emit(a.t("sheets-table.customTooMore"));
1680
1643
  return;
1681
1644
  }
1682
- const m = f[f.length - 1];
1645
+ const m = p[p.length - 1];
1683
1646
  let I = `${ht}1`;
1684
1647
  if (m) {
1685
1648
  const K = Number(m.split("-")[2]);
1686
1649
  I = `${ht}${K + 1}`;
1687
1650
  }
1688
- const X = new Er(I, { ...Yn });
1689
- i.executeCommand(Qn.id, {
1651
+ const X = new Lr(I, { ...zn });
1652
+ i.executeCommand(Gn.id, {
1690
1653
  unitId: e,
1691
1654
  tableId: r,
1692
1655
  themeStyle: X
1693
1656
  });
1694
1657
  }, ee = (m, I) => {
1695
- i.executeCommand(nn.id, {
1658
+ i.executeCommand(rn.id, {
1696
1659
  unitId: e,
1697
1660
  subUnitId: t,
1698
1661
  styleName: m,
1699
1662
  style: I
1700
1663
  });
1701
1664
  }, xe = (m) => {
1702
- i.executeCommand(zn.id, {
1665
+ i.executeCommand(Xn.id, {
1703
1666
  unitId: e,
1704
1667
  tableId: r,
1705
1668
  themeName: m
1706
1669
  });
1707
1670
  };
1708
- return on(() => {
1671
+ return cn(() => {
1709
1672
  S(Math.random());
1710
1673
  }, [u, g]), c ? /* @__PURE__ */ w("div", { children: [
1711
1674
  /* @__PURE__ */ o("h5", { children: a.t("sheets-table.defaultStyle") }),
1712
- /* @__PURE__ */ o("div", { className: "univer-flex univer-gap-2", children: O.map((m) => {
1675
+ /* @__PURE__ */ o("div", { className: "univer-flex univer-gap-2", children: P.map((m) => {
1713
1676
  var he, ve, ge, Y, we, Ie, Ae, Ue;
1714
1677
  const I = d.getDefaultRangeThemeStyle(m), X = ((ve = (he = I == null ? void 0 : I.getHeaderRowStyle()) == null ? void 0 : he.bg) == null ? void 0 : ve.rgb) || me, K = ((Y = (ge = I == null ? void 0 : I.getFirstRowStyle()) == null ? void 0 : ge.bg) == null ? void 0 : Y.rgb) || me, se = ((Ie = (we = I == null ? void 0 : I.getSecondRowStyle()) == null ? void 0 : we.bg) == null ? void 0 : Ie.rgb) || me, le = ((Ue = (Ae = I == null ? void 0 : I.getLastRowStyle()) == null ? void 0 : Ae.bg) == null ? void 0 : Ue.rgb) || me;
1715
1678
  return /* @__PURE__ */ w(
@@ -1718,7 +1681,7 @@ const Mi = (n) => {
1718
1681
  className: "univer-h-10 univer-w-8 univer-cursor-pointer univer-p-px",
1719
1682
  onClick: () => Q(m),
1720
1683
  style: {
1721
- border: m === T.theme ? Ft : Oe
1684
+ border: m === T.theme ? Ft : Pe
1722
1685
  },
1723
1686
  children: [
1724
1687
  /* @__PURE__ */ o("div", { className: "univer-box-border univer-h-2.5", style: { background: X, border: `${z}` } }),
@@ -1736,14 +1699,12 @@ const Mi = (n) => {
1736
1699
  /* @__PURE__ */ o(
1737
1700
  "div",
1738
1701
  {
1739
- className: B(`
1740
- univer-h-10 univer-w-8 univer-cursor-pointer univer-p-px univer-text-center univer-leading-10
1741
- `, A),
1702
+ className: B("univer-h-10 univer-w-8 univer-cursor-pointer univer-p-px univer-text-center univer-leading-10", A),
1742
1703
  onClick: U,
1743
1704
  children: "+"
1744
1705
  }
1745
1706
  ),
1746
- f.map((m) => {
1707
+ p.map((m) => {
1747
1708
  var he, ve, ge, Y, we, Ie, Ae, Ue;
1748
1709
  const I = d.getCustomRangeThemeStyle(e, m), X = (ve = (he = I == null ? void 0 : I.getHeaderRowStyle()) == null ? void 0 : he.bg) == null ? void 0 : ve.rgb, K = (Y = (ge = I == null ? void 0 : I.getFirstRowStyle()) == null ? void 0 : ge.bg) == null ? void 0 : Y.rgb, se = (Ie = (we = I == null ? void 0 : I.getSecondRowStyle()) == null ? void 0 : we.bg) == null ? void 0 : Ie.rgb, le = (Ue = (Ae = I == null ? void 0 : I.getLastRowStyle()) == null ? void 0 : Ae.bg) == null ? void 0 : Ue.rgb;
1749
1710
  return /* @__PURE__ */ w(
@@ -1752,26 +1713,22 @@ const Mi = (n) => {
1752
1713
  className: "univer-relative univer-h-10 univer-w-8 univer-cursor-pointer univer-p-px",
1753
1714
  onClick: () => Q(m),
1754
1715
  style: {
1755
- border: m === T.theme ? Ft : Oe
1716
+ border: m === T.theme ? Ft : Pe
1756
1717
  },
1757
1718
  onMouseEnter: () => x(m),
1758
1719
  onMouseLeave: () => x(null),
1759
1720
  children: [
1760
- /* @__PURE__ */ o("div", { className: "univer-box-border univer-h-2.5", style: { background: X != null ? X : z, border: `${X ? z : Oe}` } }),
1761
- /* @__PURE__ */ o("div", { className: "univer-box-border univer-h-2.5", style: { background: K != null ? K : z, border: `${K ? z : Oe}` } }),
1762
- /* @__PURE__ */ o("div", { className: "univer-box-border univer-h-2.5", style: { background: se != null ? se : z, border: `${se ? z : Oe}` } }),
1763
- /* @__PURE__ */ o("div", { className: "univer-box-border univer-h-2.5", style: { background: le != null ? le : z, border: `${le ? z : Oe}` } }),
1721
+ /* @__PURE__ */ o("div", { className: "univer-box-border univer-h-2.5", style: { background: X != null ? X : z, border: `${X ? z : Pe}` } }),
1722
+ /* @__PURE__ */ o("div", { className: "univer-box-border univer-h-2.5", style: { background: K != null ? K : z, border: `${K ? z : Pe}` } }),
1723
+ /* @__PURE__ */ o("div", { className: "univer-box-border univer-h-2.5", style: { background: se != null ? se : z, border: `${se ? z : Pe}` } }),
1724
+ /* @__PURE__ */ o("div", { className: "univer-box-border univer-h-2.5", style: { background: le != null ? le : z, border: `${le ? z : Pe}` } }),
1764
1725
  /* @__PURE__ */ o(
1765
1726
  "div",
1766
1727
  {
1767
- className: `
1768
- univer-absolute univer-right-[-3px] univer-top-[-3px] univer-h-3 univer-w-3
1769
- univer-rounded-md univer-bg-gray-200 univer-text-center univer-text-xs
1770
- univer-leading-[10px]
1771
- `,
1728
+ className: "univer-absolute univer-right-[-3px] univer-top-[-3px] univer-h-3 univer-w-3 univer-rounded-md univer-bg-gray-200 univer-text-center univer-text-xs univer-leading-[10px]",
1772
1729
  style: { display: F === m ? "block" : "none" },
1773
- onClick: (Mn) => {
1774
- Mn.stopPropagation(), xe(m);
1730
+ onClick: (Rn) => {
1731
+ Rn.stopPropagation(), xe(m);
1775
1732
  },
1776
1733
  children: "x"
1777
1734
  }
@@ -1789,13 +1746,10 @@ const Mi = (n) => {
1789
1746
  /* @__PURE__ */ o(
1790
1747
  "div",
1791
1748
  {
1792
- className: B(`
1793
- univer-box-border univer-h-full univer-w-52 univer-rounded-sm univer-text-center
1794
- univer-leading-9
1795
- `, A),
1749
+ className: B("univer-box-border univer-h-full univer-w-52 univer-rounded-sm univer-text-center univer-leading-9", A),
1796
1750
  style: {
1797
- background: p,
1798
- color: new oe(p).isDark() ? "#fff" : "#000"
1751
+ background: f,
1752
+ color: new oe(f).isDark() ? "#fff" : "#000"
1799
1753
  },
1800
1754
  children: a.t("sheets-table.header")
1801
1755
  }
@@ -1806,7 +1760,7 @@ const Mi = (n) => {
1806
1760
  overlay: /* @__PURE__ */ o("div", { className: "univer-p-2", children: /* @__PURE__ */ o(
1807
1761
  Qe,
1808
1762
  {
1809
- value: p,
1763
+ value: f,
1810
1764
  onChange: (m) => {
1811
1765
  const I = xt("headerRowStyle", {
1812
1766
  bg: {
@@ -1823,18 +1777,15 @@ const Mi = (n) => {
1823
1777
  children: /* @__PURE__ */ w(
1824
1778
  "div",
1825
1779
  {
1826
- className: B(`
1827
- univer-flex univer-cursor-pointer univer-items-center univer-gap-2
1828
- univer-rounded-sm univer-bg-white univer-p-1
1829
- `, A),
1780
+ className: B("univer-flex univer-cursor-pointer univer-items-center univer-gap-2 univer-rounded-sm univer-bg-white univer-p-1", A),
1830
1781
  children: [
1831
1782
  /* @__PURE__ */ o(
1832
1783
  "div",
1833
1784
  {
1834
1785
  className: B("univer-h-4 univer-w-4 univer-rounded-lg univer-bg-gray-400", A),
1835
1786
  style: {
1836
- background: p,
1837
- color: new oe(p).isDark() ? "#fff" : "#000"
1787
+ background: f,
1788
+ color: new oe(f).isDark() ? "#fff" : "#000"
1838
1789
  }
1839
1790
  }
1840
1791
  ),
@@ -1849,10 +1800,7 @@ const Mi = (n) => {
1849
1800
  /* @__PURE__ */ o(
1850
1801
  "div",
1851
1802
  {
1852
- className: B(`
1853
- univer-box-border univer-h-full univer-w-52 univer-rounded-sm univer-text-center
1854
- univer-leading-9
1855
- `, A),
1803
+ className: B("univer-box-border univer-h-full univer-w-52 univer-rounded-sm univer-text-center univer-leading-9", A),
1856
1804
  style: {
1857
1805
  background: L,
1858
1806
  color: new oe(L).isDark() ? "#fff" : "#000"
@@ -1884,10 +1832,7 @@ const Mi = (n) => {
1884
1832
  children: /* @__PURE__ */ w(
1885
1833
  "div",
1886
1834
  {
1887
- className: B(`
1888
- univer-flex univer-cursor-pointer univer-items-center univer-gap-2
1889
- univer-rounded-sm univer-bg-white univer-p-1
1890
- `, A),
1835
+ className: B("univer-flex univer-cursor-pointer univer-items-center univer-gap-2 univer-rounded-sm univer-bg-white univer-p-1", A),
1891
1836
  children: [
1892
1837
  /* @__PURE__ */ o(
1893
1838
  "div",
@@ -1907,10 +1852,7 @@ const Mi = (n) => {
1907
1852
  /* @__PURE__ */ o(
1908
1853
  "div",
1909
1854
  {
1910
- className: B(`
1911
- univer-box-border univer-h-full univer-w-52 univer-rounded-sm univer-text-center
1912
- univer-leading-9
1913
- `, A),
1855
+ className: B("univer-box-border univer-h-full univer-w-52 univer-rounded-sm univer-text-center univer-leading-9", A),
1914
1856
  style: {
1915
1857
  background: M,
1916
1858
  color: new oe(M).isDark() ? "#fff" : "#000"
@@ -1940,10 +1882,7 @@ const Mi = (n) => {
1940
1882
  children: /* @__PURE__ */ w(
1941
1883
  "div",
1942
1884
  {
1943
- className: B(`
1944
- univer-flex univer-cursor-pointer univer-items-center univer-gap-2
1945
- univer-rounded-sm univer-bg-white univer-p-1
1946
- `),
1885
+ className: B("univer-flex univer-cursor-pointer univer-items-center univer-gap-2 univer-rounded-sm univer-bg-white univer-p-1"),
1947
1886
  children: [
1948
1887
  /* @__PURE__ */ o(
1949
1888
  "div",
@@ -1963,10 +1902,7 @@ const Mi = (n) => {
1963
1902
  /* @__PURE__ */ o(
1964
1903
  "div",
1965
1904
  {
1966
- className: B(`
1967
- univer-box-border univer-h-full univer-w-52 univer-rounded-sm univer-text-center
1968
- univer-leading-9
1969
- `, A),
1905
+ className: B("univer-box-border univer-h-full univer-w-52 univer-rounded-sm univer-text-center univer-leading-9", A),
1970
1906
  style: {
1971
1907
  background: C,
1972
1908
  color: new oe(C).isDark() ? "#fff" : "#000"
@@ -1997,10 +1933,7 @@ const Mi = (n) => {
1997
1933
  children: /* @__PURE__ */ w(
1998
1934
  "div",
1999
1935
  {
2000
- className: B(`
2001
- univer-flex univer-cursor-pointer univer-items-center univer-gap-2
2002
- univer-rounded-sm univer-bg-white univer-p-1
2003
- `, A),
1936
+ className: B("univer-flex univer-cursor-pointer univer-items-center univer-gap-2 univer-rounded-sm univer-bg-white univer-p-1", A),
2004
1937
  children: [
2005
1938
  /* @__PURE__ */ o(
2006
1939
  "div",
@@ -2020,86 +1953,86 @@ const Mi = (n) => {
2020
1953
  ] })
2021
1954
  ] })
2022
1955
  ] }) : null;
2023
- }, _n = "sheet.table.context-insert_menu-id", Tn = "sheet.table.context-remove_menu-id";
2024
- function Ni(n) {
1956
+ }, Tn = "sheet.table.context-insert_menu-id", wn = "sheet.table.context-remove_menu-id";
1957
+ function xi(n) {
2025
1958
  return {
2026
1959
  id: Mt.id,
2027
1960
  type: Ee.BUTTON,
2028
- icon: cn,
1961
+ icon: un,
2029
1962
  tooltip: "sheets-table.title",
2030
1963
  title: "sheets-table.title"
2031
1964
  };
2032
1965
  }
2033
- function Ei(n) {
1966
+ function Li(n) {
2034
1967
  return {
2035
- id: _n,
1968
+ id: Tn,
2036
1969
  type: Ee.SUBITEMS,
2037
1970
  icon: "Insert",
2038
1971
  title: "sheets-table.insert.main",
2039
- hidden$: wn(n)
1972
+ hidden$: In(n)
2040
1973
  };
2041
1974
  }
2042
- function xi(n) {
1975
+ function $i(n) {
2043
1976
  return {
2044
- id: Tn,
1977
+ id: wn,
2045
1978
  type: Ee.SUBITEMS,
2046
1979
  icon: "Reduce",
2047
1980
  title: "sheets-table.remove.main",
2048
- hidden$: wn(n)
1981
+ hidden$: In(n)
2049
1982
  };
2050
1983
  }
2051
- function Li(n) {
1984
+ function Pi(n) {
2052
1985
  return {
2053
- id: Gt.id,
1986
+ id: Xt.id,
2054
1987
  type: Ee.BUTTON,
2055
1988
  title: "sheets-table.insert.row",
2056
- hidden$: In(n)
1989
+ hidden$: yn(n)
2057
1990
  };
2058
1991
  }
2059
- function $i(n) {
1992
+ function ki(n) {
2060
1993
  return {
2061
- id: zt.id,
1994
+ id: Gt.id,
2062
1995
  title: "sheets-table.insert.col",
2063
1996
  type: Ee.BUTTON
2064
1997
  };
2065
1998
  }
2066
1999
  function Oi(n) {
2067
2000
  return {
2068
- id: Qt.id,
2001
+ id: zt.id,
2069
2002
  type: Ee.BUTTON,
2070
2003
  title: "sheets-table.remove.row",
2071
- hidden$: In(n)
2004
+ hidden$: yn(n)
2072
2005
  };
2073
2006
  }
2074
- function Pi(n) {
2007
+ function Bi(n) {
2075
2008
  return {
2076
- id: Yt.id,
2009
+ id: Qt.id,
2077
2010
  title: "sheets-table.remove.col",
2078
2011
  type: Ee.BUTTON
2079
2012
  };
2080
2013
  }
2081
- function wn(n) {
2014
+ function In(n) {
2082
2015
  const e = n.get(ot);
2083
2016
  return n.get(_e).getCurrentTypeOfUnit$(at.UNIVER_SHEET).pipe(
2084
2017
  Re((i) => i ? i.activeSheet$.pipe(
2085
2018
  Re((a) => a ? e.selectionMoveEnd$.pipe(
2086
- Re((l) => {
2087
- if (!l.length || l.length > 1) return J(!0);
2088
- const d = l[0].range, u = n.get(Xt).getContainerTableWithRange(i.getUnitId(), a.getSheetId(), d);
2019
+ Re((s) => {
2020
+ if (!s.length || s.length > 1) return J(!0);
2021
+ const d = s[0].range, u = n.get(Kt).getContainerTableWithRange(i.getUnitId(), a.getSheetId(), d);
2089
2022
  return J(!u);
2090
2023
  })
2091
2024
  ) : J(!0))
2092
2025
  ) : J(!0))
2093
2026
  );
2094
2027
  }
2095
- function In(n) {
2028
+ function yn(n) {
2096
2029
  const e = n.get(ot);
2097
2030
  return n.get(_e).getCurrentTypeOfUnit$(at.UNIVER_SHEET).pipe(
2098
2031
  Re((i) => i ? i.activeSheet$.pipe(
2099
2032
  Re((a) => a ? e.selectionMoveEnd$.pipe(
2100
- Re((l) => {
2101
- if (!l.length || l.length > 1) return J(!0);
2102
- const d = l[0].range, u = n.get(Xt).getContainerTableWithRange(i.getUnitId(), a.getSheetId(), d);
2033
+ Re((s) => {
2034
+ if (!s.length || s.length > 1) return J(!0);
2035
+ const d = s[0].range, u = n.get(Kt).getContainerTableWithRange(i.getUnitId(), a.getSheetId(), d);
2103
2036
  if (!u)
2104
2037
  return J(!0);
2105
2038
  const g = u.getRange();
@@ -2109,74 +2042,74 @@ function In(n) {
2109
2042
  ) : J(!0))
2110
2043
  );
2111
2044
  }
2112
- const ki = {
2113
- [ur.FORMULAS_VIEW]: {
2045
+ const Di = {
2046
+ [hr.FORMULAS_VIEW]: {
2114
2047
  [Mt.id]: {
2115
2048
  order: 0,
2116
- menuItemFactory: Ni
2049
+ menuItemFactory: xi
2117
2050
  }
2118
2051
  },
2119
- [or.MAIN_AREA]: {
2120
- [cr.LAYOUT]: {
2121
- [_n]: {
2052
+ [ur.MAIN_AREA]: {
2053
+ [dr.LAYOUT]: {
2054
+ [Tn]: {
2122
2055
  order: 5,
2123
- menuItemFactory: Ei,
2124
- [Gt.id]: {
2056
+ menuItemFactory: Li,
2057
+ [Xt.id]: {
2125
2058
  order: 1,
2126
- menuItemFactory: Li
2059
+ menuItemFactory: Pi
2127
2060
  },
2128
- [zt.id]: {
2061
+ [Gt.id]: {
2129
2062
  order: 2,
2130
- menuItemFactory: $i
2063
+ menuItemFactory: ki
2131
2064
  }
2132
2065
  },
2133
- [Tn]: {
2066
+ [wn]: {
2134
2067
  order: 6,
2135
- menuItemFactory: xi,
2136
- [Qt.id]: {
2068
+ menuItemFactory: $i,
2069
+ [zt.id]: {
2137
2070
  order: 1,
2138
2071
  menuItemFactory: Oi
2139
2072
  },
2140
- [Yt.id]: {
2073
+ [Qt.id]: {
2141
2074
  order: 2,
2142
- menuItemFactory: Pi
2075
+ menuItemFactory: Bi
2143
2076
  }
2144
2077
  }
2145
2078
  }
2146
2079
  }
2147
2080
  };
2148
- var Bi = Object.getOwnPropertyDescriptor, Di = (n, e, t, r) => {
2149
- for (var i = r > 1 ? void 0 : r ? Bi(e, t) : e, a = n.length - 1, l; a >= 0; a--)
2150
- (l = n[a]) && (i = l(i) || i);
2081
+ var Fi = Object.getOwnPropertyDescriptor, Hi = (n, e, t, r) => {
2082
+ for (var i = r > 1 ? void 0 : r ? Fi(e, t) : e, a = n.length - 1, s; a >= 0; a--)
2083
+ (s = n[a]) && (i = s(i) || i);
2151
2084
  return i;
2152
- }, Vt = (n, e) => (t, r) => e(t, r, n);
2085
+ }, At = (n, e) => (t, r) => e(t, r, n);
2153
2086
  let nt = class extends He {
2154
2087
  constructor(n, e) {
2155
2088
  super(), this._componentManager = n, this._menuManagerService = e, this._initComponents(), this._initMenu();
2156
2089
  }
2157
2090
  _initComponents() {
2158
2091
  [
2159
- [cn, fn],
2160
- [ke, Mi],
2161
- [un, Ri]
2092
+ [un, Cn],
2093
+ [Oe, Ni],
2094
+ [dn, Ei]
2162
2095
  ].forEach(([n, e]) => {
2163
2096
  this.disposeWithMe(this._componentManager.register(n, e));
2164
2097
  });
2165
2098
  }
2166
2099
  _initMenu() {
2167
- this._menuManagerService.mergeMenu(ki);
2100
+ this._menuManagerService.mergeMenu(Di);
2168
2101
  }
2169
2102
  };
2170
- nt = Di([
2171
- Vt(0, N(Kt)),
2172
- Vt(1, N(dr))
2103
+ nt = Hi([
2104
+ At(0, N(Jt)),
2105
+ At(1, N(vr))
2173
2106
  ], nt);
2174
- var Fi = Object.getOwnPropertyDescriptor, Hi = (n, e, t, r) => {
2175
- for (var i = r > 1 ? void 0 : r ? Fi(e, t) : e, a = n.length - 1, l; a >= 0; a--)
2176
- (l = n[a]) && (i = l(i) || i);
2107
+ var Vi = Object.getOwnPropertyDescriptor, Ai = (n, e, t, r) => {
2108
+ for (var i = r > 1 ? void 0 : r ? Vi(e, t) : e, a = n.length - 1, s; a >= 0; a--)
2109
+ (s = n[a]) && (i = s(i) || i);
2177
2110
  return i;
2178
2111
  }, Je = (n, e) => (t, r) => e(t, r, n);
2179
- let Ct = class extends Zt {
2112
+ let Ct = class extends qt {
2180
2113
  constructor(n, e, t, r, i) {
2181
2114
  super(), this._context = n, this._injector = e, this._sheetSkeletonManagerService = t, this._tableManager = r, this._sheetTableThemeUIController = i, this._initListener();
2182
2115
  }
@@ -2207,15 +2140,15 @@ let Ct = class extends Zt {
2207
2140
  );
2208
2141
  }
2209
2142
  };
2210
- Ct = Hi([
2143
+ Ct = Ai([
2211
2144
  Je(1, N(Ve)),
2212
2145
  Je(2, N(st)),
2213
2146
  Je(3, N(ne)),
2214
2147
  Je(4, N(Ne))
2215
2148
  ], Ct);
2216
- var Vi = Object.getOwnPropertyDescriptor, Ai = (n, e, t, r) => {
2217
- for (var i = r > 1 ? void 0 : r ? Vi(e, t) : e, a = n.length - 1, l; a >= 0; a--)
2218
- (l = n[a]) && (i = l(i) || i);
2149
+ var Ui = Object.getOwnPropertyDescriptor, Wi = (n, e, t, r) => {
2150
+ for (var i = r > 1 ? void 0 : r ? Ui(e, t) : e, a = n.length - 1, s; a >= 0; a--)
2151
+ (s = n[a]) && (i = s(i) || i);
2219
2152
  return i;
2220
2153
  }, gt = (n, e) => (t, r) => e(t, r, n);
2221
2154
  let rt = class extends He {
@@ -2226,11 +2159,11 @@ let rt = class extends He {
2226
2159
  this.disposeWithMe(
2227
2160
  this._sheetInterceptorService.interceptCommand({
2228
2161
  getMutations: (n) => {
2229
- if (n.id === rr.id) {
2162
+ if (n.id === ar.id) {
2230
2163
  const e = lt(this._univerInstanceService);
2231
2164
  if (!e)
2232
2165
  return { redos: [], undos: [] };
2233
- const t = n.params, { range: r } = t, { unitId: i, subUnitId: a, worksheet: l } = e, d = this._tableManager.getTablesBySubunitId(i, a).find((h) => {
2166
+ const t = n.params, { range: r } = t, { unitId: i, subUnitId: a, worksheet: s } = e, d = this._tableManager.getTablesBySubunitId(i, a).find((h) => {
2234
2167
  const u = h.getRange();
2235
2168
  return Ce.contains(u, r);
2236
2169
  });
@@ -2243,14 +2176,14 @@ let rt = class extends He {
2243
2176
  undos: [],
2244
2177
  redos: [
2245
2178
  {
2246
- id: Pt.id,
2179
+ id: kt.id,
2247
2180
  params: {
2248
2181
  unitId: i,
2249
2182
  subUnitId: a,
2250
2183
  selections: [
2251
2184
  {
2252
2185
  range: h,
2253
- primary: Ot(h, l)
2186
+ primary: Pt(h, s)
2254
2187
  }
2255
2188
  ]
2256
2189
  }
@@ -2260,14 +2193,14 @@ let rt = class extends He {
2260
2193
  undos: [],
2261
2194
  redos: [
2262
2195
  {
2263
- id: Pt.id,
2196
+ id: kt.id,
2264
2197
  params: {
2265
2198
  unitId: i,
2266
2199
  subUnitId: a,
2267
2200
  selections: [
2268
2201
  {
2269
2202
  range: u,
2270
- primary: Ot(u, l)
2203
+ primary: Pt(u, s)
2271
2204
  }
2272
2205
  ]
2273
2206
  }
@@ -2282,22 +2215,28 @@ let rt = class extends He {
2282
2215
  );
2283
2216
  }
2284
2217
  };
2285
- rt = Ai([
2286
- gt(0, N(sn)),
2218
+ rt = Wi([
2219
+ gt(0, N(ln)),
2287
2220
  gt(1, N(_e)),
2288
2221
  gt(2, N(ne))
2289
2222
  ], rt);
2290
- var Ui = Object.defineProperty, Wi = Object.getOwnPropertyDescriptor, ji = (n, e, t) => e in n ? Ui(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Zi = (n, e, t, r) => {
2291
- for (var i = r > 1 ? void 0 : r ? Wi(e, t) : e, a = n.length - 1, l; a >= 0; a--)
2292
- (l = n[a]) && (i = l(i) || i);
2223
+ var ji = Object.defineProperty, Zi = Object.getOwnPropertyDescriptor, qi = (n, e, t) => e in n ? ji(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Yi = (n, e, t, r) => {
2224
+ for (var i = r > 1 ? void 0 : r ? Zi(e, t) : e, a = n.length - 1, s; a >= 0; a--)
2225
+ (s = n[a]) && (i = s(i) || i);
2293
2226
  return i;
2294
- }, et = (n, e) => (t, r) => e(t, r, n), yn = (n, e, t) => ji(n, typeof e != "symbol" ? e + "" : e, t);
2295
- let it = class extends Pn {
2296
- constructor(n = {}, e, t, r, i) {
2297
- super(), this._config = n, this._injector = e, this._commandService = t, this._configService = r, this._renderManagerService = i, this._initRegisterCommand(), this._configService.setConfig(Sn, this._config);
2227
+ }, et = (n, e) => (t, r) => e(t, r, n), Mn = (n, e, t) => qi(n, typeof e != "symbol" ? e + "" : e, t);
2228
+ let it = class extends On {
2229
+ constructor(n = Ht, e, t, r, i) {
2230
+ super(), this._config = n, this._injector = e, this._commandService = t, this._configService = r, this._renderManagerService = i;
2231
+ const { menu: a, ...s } = Bn(
2232
+ {},
2233
+ Ht,
2234
+ this._config
2235
+ );
2236
+ a && this._configService.setConfig("menu", a, { merge: !0 }), this._configService.setConfig(_n, s), this._initRegisterCommand();
2298
2237
  }
2299
2238
  onStarting() {
2300
- kn(this._injector, [
2239
+ Dn(this._injector, [
2301
2240
  [Fe],
2302
2241
  [De],
2303
2242
  [nt],
@@ -2306,7 +2245,7 @@ let it = class extends Pn {
2306
2245
  ]);
2307
2246
  }
2308
2247
  onReady() {
2309
- Bn(this._injector, [
2248
+ Fn(this._injector, [
2310
2249
  [Fe],
2311
2250
  [De],
2312
2251
  [nt],
@@ -2319,7 +2258,7 @@ let it = class extends Pn {
2319
2258
  }
2320
2259
  _registerRenderModules() {
2321
2260
  const n = [
2322
- [ft],
2261
+ [pt],
2323
2262
  [Ct]
2324
2263
  ];
2325
2264
  this._config.hideAnchor !== !0 && n.push([tt]), n.forEach((e) => {
@@ -2333,15 +2272,15 @@ let it = class extends Pn {
2333
2272
  ].forEach((n) => this._commandService.registerCommand(n));
2334
2273
  }
2335
2274
  };
2336
- yn(it, "pluginName", Pr);
2337
- yn(it, "type", at.UNIVER_SHEET);
2338
- it = Zi([
2339
- On(Gn),
2275
+ Mn(it, "pluginName", Br);
2276
+ Mn(it, "type", at.UNIVER_SHEET);
2277
+ it = Yi([
2278
+ kn(Kn),
2340
2279
  et(1, N(Ve)),
2341
2280
  et(2, N(ce)),
2342
- et(3, jt),
2343
- et(4, qt)
2281
+ et(3, Zt),
2282
+ et(4, Yt)
2344
2283
  ], it);
2345
2284
  export {
2346
- it as UniverSheetTableUIPlugin
2285
+ it as UniverSheetsTableUIPlugin
2347
2286
  };