@univerjs/sheets-sort-ui 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1,21 +1,21 @@
1
1
  var Ve = Object.defineProperty;
2
2
  var Ge = (e, t, n) => t in e ? Ve(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var K = (e, t, n) => Ge(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { LocaleService as P, IUniverInstanceService as xe, Inject as R, ICommandService as _e, Disposable as We, UniverInstanceType as Y, Tools as ze, LocaleType as J, CommandType as M, throttle as Ye, Injector as Ie, RxDisposable as qe, DependentOn as Xe, IConfigService as Ke, Plugin as Je, merge as Qe } from "@univerjs/core";
5
- import { jsxs as C, jsx as c } from "react/jsx-runtime";
3
+ var X = (e, t, n) => Ge(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { LocaleService as P, IUniverInstanceService as _e, Inject as R, ICommandService as xe, Disposable as We, UniverInstanceType as Y, Tools as ze, LocaleType as Ce, CommandType as M, throttle as Ye, Injector as we, RxDisposable as qe, DependentOn as Xe, IConfigService as Ke, Plugin as Je, merge as Qe } from "@univerjs/core";
5
+ import { jsxs as g, jsx as c } from "react/jsx-runtime";
6
6
  import { SheetsSelectionsService as et, getPrimaryForRange as tt, SetSelectionsOperation as rt, expandToContinuousRange as fe, getSheetCommandTarget as nt, RangeProtectionPermissionEditPoint as O, WorksheetSortPermission as N, WorksheetEditPermission as k, WorkbookEditablePermission as L } from "@univerjs/sheets";
7
- import { SheetsSortService as we, SortType as U, SortRangeCommand as ot, UniverSheetsSortPlugin as it } from "@univerjs/sheets-sort";
8
- import { useDependency as E, IConfirmService as st, useObservable as ct, MenuItemType as S, getMenuHiddenObservable as Me, ContextMenuPosition as at, ContextMenuGroup as lt, RibbonDataGroup as dt, IMenuManagerService as ut, IDialogService as ht, ILayoutService as gt, IUIPartsService as Ct, ComponentManager as mt, connectInjector as vt } from "@univerjs/ui";
7
+ import { SheetsSortService as Ie, SortType as U, SortRangeCommand as ot, UniverSheetsSortPlugin as it } from "@univerjs/sheets-sort";
8
+ import { useDependency as E, IConfirmService as st, useObservable as ct, MenuItemType as S, getMenuHiddenObservable as Me, ContextMenuPosition as at, ContextMenuGroup as lt, RibbonDataGroup as dt, IMenuManagerService as ut, IDialogService as ht, ILayoutService as gt, IUIPartsService as mt, ComponentManager as vt, connectInjector as Ct } from "@univerjs/ui";
9
9
  import { BehaviorSubject as ft, takeUntil as St } from "rxjs";
10
- import { RadioGroup as Re, Radio as V, Checkbox as pt, clsx as Ee, DraggableList as yt, scrollbarClassName as Te, Button as G, Dropdown as xt, ButtonGroup as _t } from "@univerjs/design";
11
- import { useState as Z, forwardRef as y, useRef as be, createElement as x, useCallback as b, useEffect as Oe } from "react";
12
- import { serializeRange as It } from "@univerjs/engine-formula";
13
- import { getCurrentRangeDisable$ as D, getCurrentExclusiveRangeInterest$ as wt, SheetsRenderService as Mt, SheetsUIPart as Rt } from "@univerjs/sheets-ui";
10
+ import { RadioGroup as Re, Radio as V, Checkbox as pt, clsx as K, DraggableList as yt, scrollbarClassName as Ee, Button as G, Dropdown as _t, ButtonGroup as xt } from "@univerjs/design";
11
+ import { useState as j, forwardRef as y, useRef as Te, createElement as _, useCallback as b, useEffect as be } from "react";
12
+ import { serializeRange as wt } from "@univerjs/engine-formula";
13
+ import { getCurrentRangeDisable$ as D, getCurrentExclusiveRangeInterest$ as It, SheetsRenderService as Mt, SheetsUIPart as Rt } from "@univerjs/sheets-ui";
14
14
  const Et = (e) => {
15
- const [t, n] = Z("0"), r = E(P);
16
- return /* @__PURE__ */ C("div", { className: "univer-text-sm", children: [
15
+ const [t, n] = j("0"), r = E(P);
16
+ return /* @__PURE__ */ g("div", { className: "univer-text-sm", children: [
17
17
  /* @__PURE__ */ c("div", { className: "extend-confirm-desc", children: r.t("sheets-sort.dialog.sort-reminder-desc") }),
18
- /* @__PURE__ */ C(
18
+ /* @__PURE__ */ g(
19
19
  Re,
20
20
  {
21
21
  className: "univer-mt-4",
@@ -43,11 +43,11 @@ const F = {
43
43
  SINGLE_ERROR: "sheets-sort.error.single",
44
44
  FORMULA_ARRAY: "sheets-sort.error.formula-array"
45
45
  };
46
- let g = class extends We {
46
+ let m = class extends We {
47
47
  constructor(t, n, r, o, i, s) {
48
48
  super();
49
- K(this, "_customSortState$", new ft(null));
50
- K(this, "customSortState$", this._customSortState$.asObservable());
49
+ X(this, "_customSortState$", new ft(null));
50
+ X(this, "customSortState$", this._customSortState$.asObservable());
51
51
  this._univerInstanceService = t, this._confirmService = n, this._selectionManagerService = r, this._sheetsSortService = o, this._localeService = i, this._commandService = s;
52
52
  }
53
53
  async triggerSortDirectly(t, n, r) {
@@ -79,12 +79,12 @@ let g = class extends We {
79
79
  if (!s)
80
80
  return [];
81
81
  const a = Ot(this._localeService);
82
- return Array.from({ length: i.endColumn - i.startColumn + 1 }, (I, v) => {
83
- var m;
84
- const T = (m = s.getCell(i.startRow, v + i.startColumn)) == null ? void 0 : m.v;
82
+ return Array.from({ length: i.endColumn - i.startColumn + 1 }, (w, C) => {
83
+ var v;
84
+ const T = (v = s.getCell(i.startRow, C + i.startColumn)) == null ? void 0 : v.v;
85
85
  return {
86
- index: v + i.startColumn,
87
- label: t ? `${T != null ? T : a(v + i.startColumn)}` : a(v + i.startColumn)
86
+ index: C + i.startColumn,
87
+ label: t ? `${T != null ? T : a(C + i.startColumn)}` : a(C + i.startColumn)
88
88
  };
89
89
  });
90
90
  }
@@ -167,67 +167,67 @@ let g = class extends We {
167
167
  };
168
168
  }
169
169
  };
170
- g = bt([
171
- H(0, xe),
170
+ m = bt([
171
+ H(0, _e),
172
172
  H(1, st),
173
173
  H(2, R(et)),
174
- H(3, R(we)),
174
+ H(3, R(Ie)),
175
175
  H(4, R(P)),
176
- H(5, _e)
177
- ], g);
176
+ H(5, xe)
177
+ ], m);
178
178
  function Ot(e) {
179
179
  return (t) => {
180
180
  const n = ze.chatAtABC(t);
181
181
  switch (e.getCurrentLocale()) {
182
- case J.ZH_CN:
182
+ case Ce.ZH_CN:
183
183
  return `"${n}"列`;
184
- case J.EN_US:
184
+ case Ce.EN_US:
185
185
  return `Column "${n}"`;
186
186
  default:
187
187
  return `Column "${n}"`;
188
188
  }
189
189
  };
190
190
  }
191
- const ee = {
191
+ const Q = {
192
192
  id: "sheet.command.sort-range-asc",
193
193
  type: M.COMMAND,
194
- handler: async (e) => await e.get(g).triggerSortDirectly(!0, !1)
195
- }, te = {
194
+ handler: async (e) => await e.get(m).triggerSortDirectly(!0, !1)
195
+ }, ee = {
196
196
  id: "sheet.command.sort-range-asc-ext",
197
197
  type: M.COMMAND,
198
- handler: async (e) => await e.get(g).triggerSortDirectly(!0, !0)
199
- }, re = {
198
+ handler: async (e) => await e.get(m).triggerSortDirectly(!0, !0)
199
+ }, te = {
200
200
  id: "sheet.command.sort-range-desc",
201
201
  type: M.COMMAND,
202
- handler: async (e) => await e.get(g).triggerSortDirectly(!1, !1)
203
- }, ne = {
202
+ handler: async (e) => await e.get(m).triggerSortDirectly(!1, !1)
203
+ }, re = {
204
204
  id: "sheet.command.sort-range-desc-ext",
205
205
  type: M.COMMAND,
206
- handler: async (e) => await e.get(g).triggerSortDirectly(!1, !0)
207
- }, oe = {
206
+ handler: async (e) => await e.get(m).triggerSortDirectly(!1, !0)
207
+ }, ne = {
208
208
  id: "sheet.command.sort-range-custom",
209
209
  type: M.COMMAND,
210
- handler: async (e) => await e.get(g).triggerSortCustomize()
211
- }, ie = {
210
+ handler: async (e) => await e.get(m).triggerSortCustomize()
211
+ }, oe = {
212
212
  id: "sheet.command.sort-range-asc-ctx",
213
213
  type: M.COMMAND,
214
- handler: async (e) => await e.get(g).triggerSortDirectly(!0, !1)
215
- }, se = {
214
+ handler: async (e) => await e.get(m).triggerSortDirectly(!0, !1)
215
+ }, ie = {
216
216
  id: "sheet.command.sort-range-asc-ext-ctx",
217
217
  type: M.COMMAND,
218
- handler: async (e) => await e.get(g).triggerSortDirectly(!0, !0)
219
- }, ce = {
218
+ handler: async (e) => await e.get(m).triggerSortDirectly(!0, !0)
219
+ }, se = {
220
220
  id: "sheet.command.sort-range-desc-ctx",
221
221
  type: M.COMMAND,
222
- handler: async (e) => await e.get(g).triggerSortDirectly(!1, !1)
223
- }, ae = {
222
+ handler: async (e) => await e.get(m).triggerSortDirectly(!1, !1)
223
+ }, ce = {
224
224
  id: "sheet.command.sort-range-desc-ext-ctx",
225
225
  type: M.COMMAND,
226
- handler: async (e) => await e.get(g).triggerSortDirectly(!1, !0)
227
- }, le = {
226
+ handler: async (e) => await e.get(m).triggerSortDirectly(!1, !0)
227
+ }, ae = {
228
228
  id: "sheet.command.sort-range-custom-ctx",
229
229
  type: M.COMMAND,
230
- handler: async (e) => await e.get(g).triggerSortCustomize()
230
+ handler: async (e) => await e.get(m).triggerSortCustomize()
231
231
  }, Nt = "sheets-sort-ui.config", Se = {};
232
232
  var f = function() {
233
233
  return f = Object.assign || function(e) {
@@ -244,13 +244,13 @@ var f = function() {
244
244
  for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
245
245
  t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
246
246
  return n;
247
- }, _ = y(function(e, t) {
248
- var n = e.icon, r = e.id, o = e.className, i = e.extend, s = kt(e, ["icon", "id", "className", "extend"]), a = "univerjs-icon univerjs-icon-".concat(r, " ").concat(o || "").trim(), l = be("_".concat(Ht()));
249
- return Ne(n, "".concat(r), { defIds: n.defIds, idSuffix: l.current }, f({ ref: t, className: a }, s), i);
247
+ }, x = y(function(e, t) {
248
+ var n = e.icon, r = e.id, o = e.className, i = e.extend, s = kt(e, ["icon", "id", "className", "extend"]), a = "univerjs-icon univerjs-icon-".concat(r, " ").concat(o || "").trim(), l = Te("_".concat(Ht()));
249
+ return Oe(n, "".concat(r), { defIds: n.defIds, idSuffix: l.current }, f({ ref: t, className: a }, s), i);
250
250
  });
251
- function Ne(e, t, n, r, o) {
252
- return x(e.tag, f(f({ key: t }, Lt(e, n, o)), r), (Dt(e, n).children || []).map(function(i, s) {
253
- return Ne(i, "".concat(t, "-").concat(e.tag, "-").concat(s), n, void 0, o);
251
+ function Oe(e, t, n, r, o) {
252
+ return _(e.tag, f(f({ key: t }, Lt(e, n, o)), r), (Dt(e, n).children || []).map(function(i, s) {
253
+ return Oe(i, "".concat(t, "-").concat(e.tag, "-").concat(s), n, void 0, o);
254
254
  }));
255
255
  }
256
256
  function Lt(e, t, n) {
@@ -274,136 +274,136 @@ function Dt(e, t) {
274
274
  function Ht() {
275
275
  return Math.random().toString(36).substring(2, 8);
276
276
  }
277
- _.displayName = "UniverIcon";
278
- var Ut = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", 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.67983C1.38967 9.34846 1.6583 9.07983 1.98967 9.07983H6.50138C6.74406 9.07983 6.96284 9.22602 7.05571 9.45022C7.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.1916C7.10138 14.5229 6.83276 14.7916 6.50138 14.7916H1.98967C1.74699 14.7916 1.52821 14.6454 1.43534 14.4212C1.34247 14.197 1.3938 13.9389 1.5654 13.7673L5.05286 10.2798H1.98967Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M5.1846 1.86439C4.8641 0.989866 3.62725 0.989866 3.30674 1.86439L1.34882 7.20672C1.23479 7.51786 1.39458 7.86252 1.70571 7.97655C2.01684 8.09058 2.3615 7.93079 2.47553 7.61966L3.06159 6.02055L3.06338 6.02056H5.42975L6.01581 7.61966C6.12984 7.93079 6.4745 8.09058 6.78563 7.97655C7.09677 7.86252 7.25655 7.51786 7.14252 7.20672L5.1846 1.86439ZM4.98996 4.82056L4.24567 2.78971L3.50138 4.82056H4.98996Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, de = y(function(e, t) {
279
- return x(_, Object.assign({}, e, {
277
+ x.displayName = "UniverIcon";
278
+ var Ut = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", 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.67983C1.38967 9.34846 1.6583 9.07983 1.98967 9.07983H6.50138C6.74406 9.07983 6.96284 9.22602 7.05571 9.45022C7.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.1916C7.10138 14.5229 6.83276 14.7916 6.50138 14.7916H1.98967C1.74699 14.7916 1.52821 14.6454 1.43534 14.4212C1.34247 14.197 1.3938 13.9389 1.5654 13.7673L5.05286 10.2798H1.98967Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M5.1846 1.86439C4.8641 0.989866 3.62725 0.989866 3.30674 1.86439L1.34882 7.20672C1.23479 7.51786 1.39458 7.86252 1.70571 7.97655C2.01684 8.09058 2.3615 7.93079 2.47553 7.61966L3.06159 6.02055L3.06338 6.02056H5.42975L6.01581 7.61966C6.12984 7.93079 6.4745 8.09058 6.78563 7.97655C7.09677 7.86252 7.25655 7.51786 7.14252 7.20672L5.1846 1.86439ZM4.98996 4.82056L4.24567 2.78971L3.50138 4.82056H4.98996Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, le = y(function(e, t) {
279
+ return _(x, Object.assign({}, e, {
280
280
  id: "ascending-icon",
281
281
  ref: t,
282
282
  icon: Ut
283
283
  }));
284
284
  });
285
- de.displayName = "AscendingIcon";
286
- var Pt = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M14.1544 3.75557C14.3887 3.98988 14.3887 4.36978 14.1544 4.6041L6.51409 12.2444C6.40157 12.3569 6.24896 12.4201 6.08983 12.4201C5.9307 12.4201 5.77808 12.3569 5.66556 12.2444L1.84541 8.42425C1.6111 8.18993 1.6111 7.81003 1.84541 7.57572C2.07973 7.34141 2.45963 7.34141 2.69394 7.57572L6.08983 10.9716L13.3059 3.75557C13.5402 3.52126 13.9201 3.52126 14.1544 3.75557Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, ke = y(function(e, t) {
287
- return x(_, Object.assign({}, e, {
285
+ le.displayName = "AscendingIcon";
286
+ var Pt = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M14.1544 3.75557C14.3887 3.98988 14.3887 4.36978 14.1544 4.6041L6.51409 12.2444C6.40157 12.3569 6.24896 12.4201 6.08983 12.4201C5.9307 12.4201 5.77808 12.3569 5.66556 12.2444L1.84541 8.42425C1.6111 8.18993 1.6111 7.81003 1.84541 7.57572C2.07973 7.34141 2.45963 7.34141 2.69394 7.57572L6.08983 10.9716L13.3059 3.75557C13.5402 3.52126 13.9201 3.52126 14.1544 3.75557Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, Ne = y(function(e, t) {
287
+ return _(x, Object.assign({}, e, {
288
288
  id: "check-mark-icon",
289
289
  ref: t,
290
290
  icon: Pt
291
291
  }));
292
292
  });
293
- ke.displayName = "CheckMarkIcon";
294
- var At = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M9.77445 9.24306L9.77457 11.9573C9.77458 12.2887 9.50597 12.5574 9.17459 12.5574C8.84322 12.5574 8.57458 12.2888 8.57457 11.9574L8.57439 7.79509C8.57438 7.46372 8.84299 7.19508 9.17436 7.19507C9.3281 7.19493 9.48196 7.25351 9.59925 7.3708L11.3465 9.11808C11.5808 9.3524 11.5808 9.7323 11.3465 9.96661C11.1122 10.2009 10.7323 10.2009 10.498 9.96661L9.77445 9.24306Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M6.22584 10.5094L6.22572 7.79514C6.22571 7.46377 6.49433 7.19513 6.8257 7.19512C7.15707 7.1951 7.42571 7.46372 7.42572 7.79509L7.4259 11.9574C7.42592 12.2888 7.1573 12.5574 6.82593 12.5574C6.67228 12.5575 6.51828 12.4989 6.40104 12.3817L4.65376 10.6344C4.41945 10.4001 4.41945 10.0202 4.65376 9.78588C4.88808 9.55156 5.26798 9.55156 5.50229 9.78588L6.22584 10.5094Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.14014 3.73989C1.14014 2.30396 2.3042 1.13989 3.74014 1.13989H12.2601C13.6961 1.13989 14.8601 2.30395 14.8601 3.73989V12.2599C14.8601 13.6958 13.6961 14.8599 12.2601 14.8599H3.74014C2.3042 14.8599 1.14014 13.6958 1.14014 12.2599V3.73989ZM2.34014 5.86724V12.2599C2.34014 13.0331 2.96694 13.6599 3.74014 13.6599H12.2601C13.0333 13.6599 13.6601 13.0331 13.6601 12.2599V5.86724H2.34014ZM13.6601 4.66724H2.34014V3.73989C2.34014 2.9667 2.96694 2.33989 3.74014 2.33989H12.2601C13.0333 2.33989 13.6601 2.96669 13.6601 3.73989V4.66724Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, Le = y(function(e, t) {
295
- return x(_, Object.assign({}, e, {
293
+ Ne.displayName = "CheckMarkIcon";
294
+ var At = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M9.77445 9.24306L9.77457 11.9573C9.77458 12.2887 9.50597 12.5574 9.17459 12.5574C8.84322 12.5574 8.57458 12.2888 8.57457 11.9574L8.57439 7.79509C8.57438 7.46372 8.84299 7.19508 9.17436 7.19507C9.3281 7.19493 9.48196 7.25351 9.59925 7.3708L11.3465 9.11808C11.5808 9.3524 11.5808 9.7323 11.3465 9.96661C11.1122 10.2009 10.7323 10.2009 10.498 9.96661L9.77445 9.24306Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M6.22584 10.5094L6.22572 7.79514C6.22571 7.46377 6.49433 7.19513 6.8257 7.19512C7.15707 7.1951 7.42571 7.46372 7.42572 7.79509L7.4259 11.9574C7.42592 12.2888 7.1573 12.5574 6.82593 12.5574C6.67228 12.5575 6.51828 12.4989 6.40104 12.3817L4.65376 10.6344C4.41945 10.4001 4.41945 10.0202 4.65376 9.78588C4.88808 9.55156 5.26798 9.55156 5.50229 9.78588L6.22584 10.5094Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.14014 3.73989C1.14014 2.30396 2.3042 1.13989 3.74014 1.13989H12.2601C13.6961 1.13989 14.8601 2.30395 14.8601 3.73989V12.2599C14.8601 13.6958 13.6961 14.8599 12.2601 14.8599H3.74014C2.3042 14.8599 1.14014 13.6958 1.14014 12.2599V3.73989ZM2.34014 5.86724V12.2599C2.34014 13.0331 2.96694 13.6599 3.74014 13.6599H12.2601C13.0333 13.6599 13.6601 13.0331 13.6601 12.2599V5.86724H2.34014ZM13.6601 4.66724H2.34014V3.73989C2.34014 2.9667 2.96694 2.33989 3.74014 2.33989H12.2601C13.0333 2.33989 13.6601 2.96669 13.6601 3.73989V4.66724Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, ke = y(function(e, t) {
295
+ return _(x, Object.assign({}, e, {
296
296
  id: "custom-sort-icon",
297
297
  ref: t,
298
298
  icon: At
299
299
  }));
300
300
  });
301
- Le.displayName = "CustomSortIcon";
302
- var $t = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", 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 0.866699 5.9313 0.866699H10.069C10.4004 0.866699 10.669 1.13533 10.669 1.4667C10.669 1.79807 10.4004 2.0667 10.069 2.0667H5.9313C5.59993 2.0667 5.3313 1.79807 5.3313 1.4667Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.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.64443C14.8999 3.9758 14.6312 4.24443 14.2999 4.24443H1.69985C1.36848 4.24443 1.09985 3.9758 1.09985 3.64443Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M4.75332 5.22217C3.86966 5.22217 3.15332 5.93851 3.15332 6.82217V13.1332C3.15332 14.2377 4.04875 15.1332 5.15332 15.1332H10.8465C11.9511 15.1332 12.8465 14.2377 12.8465 13.1331V6.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.82217V13.1331C11.6465 13.575 11.2884 13.9331 10.8465 13.9331H5.15332C4.71149 13.9331 4.35332 13.575 4.35332 13.1332V6.82217Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, De = y(function(e, t) {
303
- return x(_, Object.assign({}, e, {
301
+ ke.displayName = "CustomSortIcon";
302
+ var $t = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", 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 0.866699 5.9313 0.866699H10.069C10.4004 0.866699 10.669 1.13533 10.669 1.4667C10.669 1.79807 10.4004 2.0667 10.069 2.0667H5.9313C5.59993 2.0667 5.3313 1.79807 5.3313 1.4667Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.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.64443C14.8999 3.9758 14.6312 4.24443 14.2999 4.24443H1.69985C1.36848 4.24443 1.09985 3.9758 1.09985 3.64443Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M4.75332 5.22217C3.86966 5.22217 3.15332 5.93851 3.15332 6.82217V13.1332C3.15332 14.2377 4.04875 15.1332 5.15332 15.1332H10.8465C11.9511 15.1332 12.8465 14.2377 12.8465 13.1331V6.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.82217V13.1331C11.6465 13.575 11.2884 13.9331 10.8465 13.9331H5.15332C4.71149 13.9331 4.35332 13.575 4.35332 13.1332V6.82217Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, Le = y(function(e, t) {
303
+ return _(x, Object.assign({}, e, {
304
304
  id: "delete-empty-icon",
305
305
  ref: t,
306
306
  icon: $t
307
307
  }));
308
308
  });
309
- De.displayName = "DeleteEmptyIcon";
310
- var Zt = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", 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.67983C1.38967 9.34846 1.6583 9.07983 1.98967 9.07983H6.50138C6.74406 9.07983 6.96284 9.22602 7.05571 9.45022C7.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.1916C7.10138 14.5229 6.83276 14.7916 6.50138 14.7916H1.98967C1.74699 14.7916 1.52821 14.6454 1.43534 14.4212C1.34247 14.197 1.3938 13.9389 1.5654 13.7673L5.05286 10.2798H1.98967Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M5.1846 1.86439C4.8641 0.989866 3.62725 0.989866 3.30674 1.86439L1.34882 7.20672C1.23479 7.51786 1.39458 7.86252 1.70571 7.97655C2.01684 8.09058 2.3615 7.93079 2.47553 7.61966L3.06159 6.02055L3.06338 6.02056H5.42975L6.01581 7.61966C6.12984 7.93079 6.4745 8.09058 6.78563 7.97655C7.09677 7.86252 7.25655 7.51786 7.14252 7.20672L5.1846 1.86439ZM4.98996 4.82056L4.24567 2.78971L3.50138 4.82056H4.98996Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, ue = y(function(e, t) {
311
- return x(_, Object.assign({}, e, {
309
+ Le.displayName = "DeleteEmptyIcon";
310
+ var jt = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", 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.67983C1.38967 9.34846 1.6583 9.07983 1.98967 9.07983H6.50138C6.74406 9.07983 6.96284 9.22602 7.05571 9.45022C7.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.1916C7.10138 14.5229 6.83276 14.7916 6.50138 14.7916H1.98967C1.74699 14.7916 1.52821 14.6454 1.43534 14.4212C1.34247 14.197 1.3938 13.9389 1.5654 13.7673L5.05286 10.2798H1.98967Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M5.1846 1.86439C4.8641 0.989866 3.62725 0.989866 3.30674 1.86439L1.34882 7.20672C1.23479 7.51786 1.39458 7.86252 1.70571 7.97655C2.01684 8.09058 2.3615 7.93079 2.47553 7.61966L3.06159 6.02055L3.06338 6.02056H5.42975L6.01581 7.61966C6.12984 7.93079 6.4745 8.09058 6.78563 7.97655C7.09677 7.86252 7.25655 7.51786 7.14252 7.20672L5.1846 1.86439ZM4.98996 4.82056L4.24567 2.78971L3.50138 4.82056H4.98996Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, de = y(function(e, t) {
311
+ return _(x, Object.assign({}, e, {
312
312
  id: "descending-icon",
313
313
  ref: t,
314
- icon: Zt
314
+ icon: jt
315
315
  }));
316
316
  });
317
- ue.displayName = "DescendingIcon";
318
- var jt = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.9064 3.20024C1.57503 3.20024 1.3064 2.93161 1.3064 2.60024C1.3064 2.26887 1.57503 2.00024 1.9064 2.00024H4.57306C4.90443 2.00024 5.17306 2.26887 5.17306 2.60024C5.17306 2.93161 4.90443 3.20024 4.57306 3.20024H1.9064ZM1.3064 6.19985C1.3064 6.53122 1.57503 6.79985 1.9064 6.79985H5.9064C6.23777 6.79985 6.5064 6.53122 6.5064 6.19985C6.5064 5.86848 6.23777 5.59985 5.9064 5.59985H1.9064C1.57503 5.59985 1.3064 5.86848 1.3064 6.19985ZM1.9064 10.3997C1.57503 10.3997 1.3064 10.1311 1.3064 9.79971C1.3064 9.46834 1.57503 9.19971 1.9064 9.19971H7.23973C7.5711 9.19971 7.83973 9.46834 7.83973 9.79971C7.83973 10.1311 7.5711 10.3997 7.23973 10.3997H1.9064ZM1.9064 13.9996C1.57503 13.9996 1.3064 13.7309 1.3064 13.3996C1.3064 13.0682 1.57503 12.7996 1.9064 12.7996H8.57306C8.90443 12.7996 9.17306 13.0682 9.17306 13.3996C9.17306 13.7309 8.90443 13.9996 8.57306 13.9996H1.9064Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M12.4267 14.2667C12.4267 14.5981 12.1581 14.8667 11.8267 14.8667C11.4953 14.8667 11.2267 14.5981 11.2267 14.2667V3.18198L9.98447 4.42422C9.75015 4.65853 9.37026 4.65853 9.13594 4.42422C8.90163 4.1899 8.90163 3.81 9.13594 3.57569L11.4026 1.30902C11.6369 1.07471 12.0168 1.07471 12.2511 1.30902L14.5178 3.57569C14.7521 3.81 14.7521 4.1899 14.5178 4.42422C14.2835 4.65853 13.9036 4.65853 13.6693 4.42422L12.4267 3.18165V14.2667Z" } }] }, He = y(function(e, t) {
319
- return x(_, Object.assign({}, e, {
317
+ de.displayName = "DescendingIcon";
318
+ var Zt = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.9064 3.20024C1.57503 3.20024 1.3064 2.93161 1.3064 2.60024C1.3064 2.26887 1.57503 2.00024 1.9064 2.00024H4.57306C4.90443 2.00024 5.17306 2.26887 5.17306 2.60024C5.17306 2.93161 4.90443 3.20024 4.57306 3.20024H1.9064ZM1.3064 6.19985C1.3064 6.53122 1.57503 6.79985 1.9064 6.79985H5.9064C6.23777 6.79985 6.5064 6.53122 6.5064 6.19985C6.5064 5.86848 6.23777 5.59985 5.9064 5.59985H1.9064C1.57503 5.59985 1.3064 5.86848 1.3064 6.19985ZM1.9064 10.3997C1.57503 10.3997 1.3064 10.1311 1.3064 9.79971C1.3064 9.46834 1.57503 9.19971 1.9064 9.19971H7.23973C7.5711 9.19971 7.83973 9.46834 7.83973 9.79971C7.83973 10.1311 7.5711 10.3997 7.23973 10.3997H1.9064ZM1.9064 13.9996C1.57503 13.9996 1.3064 13.7309 1.3064 13.3996C1.3064 13.0682 1.57503 12.7996 1.9064 12.7996H8.57306C8.90443 12.7996 9.17306 13.0682 9.17306 13.3996C9.17306 13.7309 8.90443 13.9996 8.57306 13.9996H1.9064Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M12.4267 14.2667C12.4267 14.5981 12.1581 14.8667 11.8267 14.8667C11.4953 14.8667 11.2267 14.5981 11.2267 14.2667V3.18198L9.98447 4.42422C9.75015 4.65853 9.37026 4.65853 9.13594 4.42422C8.90163 4.1899 8.90163 3.81 9.13594 3.57569L11.4026 1.30902C11.6369 1.07471 12.0168 1.07471 12.2511 1.30902L14.5178 3.57569C14.7521 3.81 14.7521 4.1899 14.5178 4.42422C14.2835 4.65853 13.9036 4.65853 13.6693 4.42422L12.4267 3.18165V14.2667Z" } }] }, De = y(function(e, t) {
319
+ return _(x, Object.assign({}, e, {
320
320
  id: "expand-ascending-icon",
321
321
  ref: t,
322
- icon: jt
322
+ icon: Zt
323
323
  }));
324
324
  });
325
- He.displayName = "ExpandAscendingIcon";
326
- var Bt = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.9064 12.7998C1.57503 12.7998 1.3064 13.0684 1.3064 13.3998C1.3064 13.7311 1.57503 13.9998 1.9064 13.9998H4.57306C4.90443 13.9998 5.17306 13.7311 5.17306 13.3998C5.17306 13.0684 4.90443 12.7998 4.57306 12.7998H1.9064ZM1.3064 9.80015C1.3064 9.46878 1.57503 9.20015 1.9064 9.20015H5.9064C6.23777 9.20015 6.5064 9.46878 6.5064 9.80015C6.5064 10.1315 6.23777 10.4001 5.9064 10.4001H1.9064C1.57503 10.4001 1.3064 10.1315 1.3064 9.80015ZM1.9064 5.60029C1.57503 5.60029 1.3064 5.86892 1.3064 6.20029C1.3064 6.53166 1.57503 6.80029 1.9064 6.80029H7.23973C7.5711 6.80029 7.83973 6.53166 7.83973 6.20029C7.83973 5.86892 7.5711 5.60029 7.23973 5.60029H1.9064ZM1.9064 2.00044C1.57503 2.00044 1.3064 2.26907 1.3064 2.60044C1.3064 2.93181 1.57503 3.20044 1.9064 3.20044H8.57306C8.90443 3.20044 9.17306 2.93181 9.17306 2.60044C9.17306 2.26907 8.90443 2.00044 8.57306 2.00044H1.9064Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M12.4267 1.7333C12.4267 1.40193 12.1581 1.1333 11.8267 1.1333C11.4953 1.1333 11.2267 1.40193 11.2267 1.7333V12.818L9.98447 11.5758C9.75015 11.3415 9.37026 11.3415 9.13594 11.5758C8.90163 11.8101 8.90163 12.19 9.13594 12.4243L11.4026 14.691C11.6369 14.9253 12.0168 14.9253 12.2511 14.691L14.5178 12.4243C14.7521 12.19 14.7521 11.8101 14.5178 11.5758C14.2835 11.3415 13.9036 11.3415 13.6693 11.5758L12.4267 12.8183V1.7333Z" } }] }, Ue = y(function(e, t) {
327
- return x(_, Object.assign({}, e, {
325
+ De.displayName = "ExpandAscendingIcon";
326
+ var Bt = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.9064 12.7998C1.57503 12.7998 1.3064 13.0684 1.3064 13.3998C1.3064 13.7311 1.57503 13.9998 1.9064 13.9998H4.57306C4.90443 13.9998 5.17306 13.7311 5.17306 13.3998C5.17306 13.0684 4.90443 12.7998 4.57306 12.7998H1.9064ZM1.3064 9.80015C1.3064 9.46878 1.57503 9.20015 1.9064 9.20015H5.9064C6.23777 9.20015 6.5064 9.46878 6.5064 9.80015C6.5064 10.1315 6.23777 10.4001 5.9064 10.4001H1.9064C1.57503 10.4001 1.3064 10.1315 1.3064 9.80015ZM1.9064 5.60029C1.57503 5.60029 1.3064 5.86892 1.3064 6.20029C1.3064 6.53166 1.57503 6.80029 1.9064 6.80029H7.23973C7.5711 6.80029 7.83973 6.53166 7.83973 6.20029C7.83973 5.86892 7.5711 5.60029 7.23973 5.60029H1.9064ZM1.9064 2.00044C1.57503 2.00044 1.3064 2.26907 1.3064 2.60044C1.3064 2.93181 1.57503 3.20044 1.9064 3.20044H8.57306C8.90443 3.20044 9.17306 2.93181 9.17306 2.60044C9.17306 2.26907 8.90443 2.00044 8.57306 2.00044H1.9064Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M12.4267 1.7333C12.4267 1.40193 12.1581 1.1333 11.8267 1.1333C11.4953 1.1333 11.2267 1.40193 11.2267 1.7333V12.818L9.98447 11.5758C9.75015 11.3415 9.37026 11.3415 9.13594 11.5758C8.90163 11.8101 8.90163 12.19 9.13594 12.4243L11.4026 14.691C11.6369 14.9253 12.0168 14.9253 12.2511 14.691L14.5178 12.4243C14.7521 12.19 14.7521 11.8101 14.5178 11.5758C14.2835 11.3415 13.9036 11.3415 13.6693 11.5758L12.4267 12.8183V1.7333Z" } }] }, He = y(function(e, t) {
327
+ return _(x, Object.assign({}, e, {
328
328
  id: "expand-descending-icon",
329
329
  ref: t,
330
330
  icon: Bt
331
331
  }));
332
332
  });
333
- Ue.displayName = "ExpandDescendingIcon";
334
- var Ft = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8.6 1.99991C8.60001 1.66854 8.33138 1.39991 8.00001 1.3999C7.66864 1.3999 7.40001 1.66853 7.4 1.9999L7.39996 7.3999H1.9999C1.66853 7.3999 1.3999 7.66853 1.3999 7.9999C1.3999 8.33127 1.66853 8.5999 1.9999 8.5999H7.39995L7.3999 13.9999C7.3999 14.3313 7.66853 14.5999 7.9999 14.5999C8.33127 14.5999 8.5999 14.3313 8.5999 13.9999L8.59995 8.5999H13.9999C14.3313 8.5999 14.5999 8.33127 14.5999 7.9999C14.5999 7.66853 14.3313 7.3999 13.9999 7.3999H8.59996L8.6 1.99991Z" } }] }, Q = y(function(e, t) {
335
- return x(_, Object.assign({}, e, {
333
+ He.displayName = "ExpandDescendingIcon";
334
+ var Ft = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8.6 1.99991C8.60001 1.66854 8.33138 1.39991 8.00001 1.3999C7.66864 1.3999 7.40001 1.66853 7.4 1.9999L7.39996 7.3999H1.9999C1.66853 7.3999 1.3999 7.66853 1.3999 7.9999C1.3999 8.33127 1.66853 8.5999 1.9999 8.5999H7.39995L7.3999 13.9999C7.3999 14.3313 7.66853 14.5999 7.9999 14.5999C8.33127 14.5999 8.5999 14.3313 8.5999 13.9999L8.59995 8.5999H13.9999C14.3313 8.5999 14.5999 8.33127 14.5999 7.9999C14.5999 7.66853 14.3313 7.3999 13.9999 7.3999H8.59996L8.6 1.99991Z" } }] }, J = y(function(e, t) {
335
+ return _(x, Object.assign({}, e, {
336
336
  id: "increase-icon",
337
337
  ref: t,
338
338
  icon: Ft
339
339
  }));
340
340
  });
341
- Q.displayName = "IncreaseIcon";
342
- var Vt = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", 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" } }] }, Pe = y(function(e, t) {
343
- return x(_, Object.assign({}, e, {
341
+ J.displayName = "IncreaseIcon";
342
+ var Vt = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", 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" } }] }, Ue = y(function(e, t) {
343
+ return _(x, Object.assign({}, e, {
344
344
  id: "more-down-icon",
345
345
  ref: t,
346
346
  icon: Vt
347
347
  }));
348
348
  });
349
- Pe.displayName = "MoreDownIcon";
350
- var Gt = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_622_8", width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { fill: "currentColor", mask: "url(#mask0_622_8)" }, children: [{ tag: "path", attrs: { d: "M6 5C6.55228 5 7 4.55228 7 4C7 3.44772 6.55228 3 6 3C5.44772 3 5 3.44772 5 4C5 4.55228 5.44772 5 6 5Z" } }, { tag: "path", attrs: { d: "M6 9C6.55228 9 7 8.55229 7 8C7 7.44772 6.55228 7 6 7C5.44772 7 5 7.44772 5 8C5 8.55229 5.44772 9 6 9Z" } }, { tag: "path", attrs: { d: "M7 12C7 12.5523 6.55228 13 6 13C5.44772 13 5 12.5523 5 12C5 11.4477 5.44772 11 6 11C6.55228 11 7 11.4477 7 12Z" } }, { tag: "path", attrs: { d: "M10 5C10.5523 5 11 4.55228 11 4C11 3.44772 10.5523 3 10 3C9.44771 3 9 3.44772 9 4C9 4.55228 9.44771 5 10 5Z" } }, { tag: "path", attrs: { d: "M11 8C11 8.55229 10.5523 9 10 9C9.44771 9 9 8.55229 9 8C9 7.44772 9.44771 7 10 7C10.5523 7 11 7.44772 11 8Z" } }, { tag: "path", attrs: { d: "M10 13C10.5523 13 11 12.5523 11 12C11 11.4477 10.5523 11 10 11C9.44771 11 9 11.4477 9 12C9 12.5523 9.44771 13 10 13Z" } }] }] }, Ae = y(function(e, t) {
351
- return x(_, Object.assign({}, e, {
349
+ Ue.displayName = "MoreDownIcon";
350
+ var Gt = { tag: "svg", attrs: { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_622_8", width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { fill: "currentColor", mask: "url(#mask0_622_8)" }, children: [{ tag: "path", attrs: { d: "M6 5C6.55228 5 7 4.55228 7 4C7 3.44772 6.55228 3 6 3C5.44772 3 5 3.44772 5 4C5 4.55228 5.44772 5 6 5Z" } }, { tag: "path", attrs: { d: "M6 9C6.55228 9 7 8.55229 7 8C7 7.44772 6.55228 7 6 7C5.44772 7 5 7.44772 5 8C5 8.55229 5.44772 9 6 9Z" } }, { tag: "path", attrs: { d: "M7 12C7 12.5523 6.55228 13 6 13C5.44772 13 5 12.5523 5 12C5 11.4477 5.44772 11 6 11C6.55228 11 7 11.4477 7 12Z" } }, { tag: "path", attrs: { d: "M10 5C10.5523 5 11 4.55228 11 4C11 3.44772 10.5523 3 10 3C9.44771 3 9 3.44772 9 4C9 4.55228 9.44771 5 10 5Z" } }, { tag: "path", attrs: { d: "M11 8C11 8.55229 10.5523 9 10 9C9.44771 9 9 8.55229 9 8C9 7.44772 9.44771 7 10 7C10.5523 7 11 7.44772 11 8Z" } }, { tag: "path", attrs: { d: "M10 13C10.5523 13 11 12.5523 11 12C11 11.4477 10.5523 11 10 11C9.44771 11 9 11.4477 9 12C9 12.5523 9.44771 13 10 13Z" } }] }] }, Pe = y(function(e, t) {
351
+ return _(x, Object.assign({}, e, {
352
352
  id: "sequence-icon",
353
353
  ref: t,
354
354
  icon: Gt
355
355
  }));
356
356
  });
357
- Ae.displayName = "SequenceIcon";
357
+ Pe.displayName = "SequenceIcon";
358
358
  function Wt() {
359
- const e = E(g), t = ct(e.customSortState$);
359
+ const e = E(m), t = ct(e.customSortState$);
360
360
  return !t || !t.location ? null : /* @__PURE__ */ c(zt, { state: t });
361
361
  }
362
362
  function zt({ state: e }) {
363
- const t = E(we), n = E(P), r = E(g), [o, i] = Z(!1), [s, a] = Z(0), l = be(null), { range: u, unitId: I, subUnitId: v } = e.location, T = r.getTitles(o), [m, A] = Z([
363
+ const t = E(Ie), n = E(P), r = E(m), [o, i] = j(!1), [s, a] = j(0), l = Te(null), { range: u, unitId: w, subUnitId: C } = e.location, T = r.getTitles(o), [v, A] = j([
364
364
  { type: U.ASC, colIndex: u.startColumn }
365
- ]), q = b((d, p) => {
366
- const $ = [...m];
365
+ ]), B = b((d, p) => {
366
+ const $ = [...v];
367
367
  p === null ? $.splice(d, 1) : $[d] = p, A($);
368
- }, [m]), B = b(
368
+ }, [v]), h = b(
369
369
  Ye(() => {
370
- const d = [...m], p = qt(u, m);
370
+ const d = [...v], p = qt(u, v);
371
371
  p !== null && (d.push({ type: U.ASC, colIndex: p }), A(d));
372
372
  }, 200),
373
- [m, u]
374
- ), h = b((d, p) => {
373
+ [v, u]
374
+ ), q = b((d, p) => {
375
375
  t.applySort({ range: u, orderRules: d, hasTitle: p }), r.closeCustomSortPanel();
376
- }, [t, r, u]), X = b(() => {
376
+ }, [t, r, u]), Ze = b(() => {
377
377
  r.closeCustomSortPanel();
378
378
  }, [r]), Be = b((d) => {
379
- i(d), d ? r.setSelection(I, v, { ...u, startRow: u.startRow + 1 }) : r.setSelection(I, v, u);
380
- }, [r, u, v, I]);
381
- Oe(() => {
382
- l.current && m.length > 5 && (l.current.scrollTop = l.current.scrollHeight);
383
- }, [m]);
384
- const Fe = m.length < T.length, ve = m.map((d) => ({ ...d, id: `${d.colIndex}` }));
385
- return /* @__PURE__ */ C("div", { children: [
386
- /* @__PURE__ */ C("div", { onMouseDown: (d) => {
379
+ i(d), d ? r.setSelection(w, C, { ...u, startRow: u.startRow + 1 }) : r.setSelection(w, C, u);
380
+ }, [r, u, C, w]);
381
+ be(() => {
382
+ l.current && v.length > 5 && (l.current.scrollTop = l.current.scrollHeight);
383
+ }, [v]);
384
+ const Fe = v.length < T.length, ve = v.map((d) => ({ ...d, id: `${d.colIndex}` }));
385
+ return /* @__PURE__ */ g("div", { children: [
386
+ /* @__PURE__ */ g("div", { onMouseDown: (d) => {
387
387
  d.stopPropagation();
388
388
  }, children: [
389
- /* @__PURE__ */ C("div", { className: "univer-flex univer-items-center univer-justify-between", children: [
389
+ /* @__PURE__ */ g("div", { className: "univer-flex univer-items-center univer-justify-between", children: [
390
390
  /* @__PURE__ */ c(pt, { checked: o, onChange: (d) => Be(!!d), children: n.t("sheets-sort.dialog.first-row-check") }),
391
- Fe ? /* @__PURE__ */ C(
391
+ Fe ? /* @__PURE__ */ g(
392
392
  "div",
393
393
  {
394
394
  className: "univer-flex univer-cursor-pointer univer-select-none univer-items-center univer-text-base",
395
- onClick: B,
395
+ onClick: h,
396
396
  children: [
397
- /* @__PURE__ */ c(Q, {}),
397
+ /* @__PURE__ */ c(J, {}),
398
398
  /* @__PURE__ */ c("span", { className: "univer-ml-1.5", children: n.t("sheets-sort.dialog.add-condition") })
399
399
  ]
400
400
  }
401
- ) : /* @__PURE__ */ C(
401
+ ) : /* @__PURE__ */ g(
402
402
  "div",
403
403
  {
404
404
  className: "univer-flex univer-cursor-pointer univer-select-none univer-items-center univer-text-base univer-text-primary-500 disabled:univer-cursor-not-allowed disabled:univer-divide-opacity-30 disabled:univer-text-gray-800",
405
405
  children: [
406
- /* @__PURE__ */ c(Q, {}),
406
+ /* @__PURE__ */ c(J, {}),
407
407
  /* @__PURE__ */ c("span", { className: "univer-ml-1.5 univer-text-xs", children: n.t("sheets-sort.dialog.add-condition") })
408
408
  ]
409
409
  }
@@ -413,7 +413,7 @@ function zt({ state: e }) {
413
413
  "div",
414
414
  {
415
415
  ref: l,
416
- className: Ee("univer-max-h-[310px] univer-overflow-y-auto univer-overflow-x-hidden", Te),
416
+ className: K("univer-max-h-[310px] univer-overflow-y-auto univer-overflow-x-hidden", Ee),
417
417
  onScroll: (d) => {
418
418
  const p = d.currentTarget.scrollTop;
419
419
  a(p);
@@ -421,6 +421,7 @@ function zt({ state: e }) {
421
421
  children: /* @__PURE__ */ c(
422
422
  yt,
423
423
  {
424
+ className: "[&_.react-grid-item]:univer-transition-none [&_.react-grid-placeholder]:univer-rounded [&_.react-grid-placeholder]:!univer-bg-gray-200",
424
425
  list: ve,
425
426
  onListChange: A,
426
427
  idKey: "id",
@@ -431,7 +432,7 @@ function zt({ state: e }) {
431
432
  titles: T,
432
433
  list: ve,
433
434
  item: d,
434
- onChange: (p, $) => q($, p),
435
+ onChange: (p, $) => B($, p),
435
436
  scrollPosition: s
436
437
  }
437
438
  ),
@@ -442,12 +443,12 @@ function zt({ state: e }) {
442
443
  }
443
444
  )
444
445
  ] }),
445
- /* @__PURE__ */ C("div", { className: "univer-mt-5 univer-flex univer-justify-end", children: [
446
+ /* @__PURE__ */ g("div", { className: "univer-mt-5 univer-flex univer-justify-end", children: [
446
447
  /* @__PURE__ */ c(
447
448
  G,
448
449
  {
449
450
  className: "univer-ml-3",
450
- onClick: () => X(),
451
+ onClick: () => Ze(),
451
452
  children: n.t("sheets-sort.dialog.cancel")
452
453
  }
453
454
  ),
@@ -456,7 +457,7 @@ function zt({ state: e }) {
456
457
  {
457
458
  className: "univer-ml-3",
458
459
  variant: "primary",
459
- onClick: () => h(m, o),
460
+ onClick: () => q(v, o),
460
461
  children: n.t("sheets-sort.dialog.confirm")
461
462
  }
462
463
  )
@@ -465,53 +466,52 @@ function zt({ state: e }) {
465
466
  }
466
467
  function Yt(e) {
467
468
  var B;
468
- const { list: t, item: n, titles: r, onChange: o, scrollPosition: i } = e, s = E(P), a = r.filter((h) => !t.some((X) => X.colIndex === h.index) || h.index === n.colIndex), l = t.findIndex((h) => h.colIndex === n.colIndex), u = b((h) => {
469
- o({ ...n, colIndex: h.index }, l), v(!1);
470
- }, [l, n, o]), [I, v] = Z(!1), T = (h) => {
471
- v(h);
469
+ const { list: t, item: n, titles: r, onChange: o, scrollPosition: i } = e, s = E(P), a = r.filter((h) => !t.some((q) => q.colIndex === h.index) || h.index === n.colIndex), l = t.findIndex((h) => h.colIndex === n.colIndex), u = b((h) => {
470
+ o({ ...n, colIndex: h.index }, l), C(!1);
471
+ }, [l, n, o]), [w, C] = j(!1), T = (h) => {
472
+ C(h);
472
473
  };
473
- Oe(() => {
474
- v(!1);
474
+ be(() => {
475
+ C(!1);
475
476
  }, [i]);
476
- const m = t.length > 1, A = (B = r.find((h) => h.index === n.colIndex)) == null ? void 0 : B.label, q = s.getCurrentLocale() === J.ZH_CN ? "univer-flex univer-px-5" : "univer-flex univer-px-2.5";
477
- return /* @__PURE__ */ C("div", { className: "univer-flex univer-items-center", children: [
478
- /* @__PURE__ */ C("div", { className: "univer-flex univer-items-center", children: [
477
+ const v = t.length > 1, A = (B = r.find((h) => h.index === n.colIndex)) == null ? void 0 : B.label;
478
+ return /* @__PURE__ */ g("div", { className: "univer-grid univer-grid-flow-col univer-grid-cols-2 univer-items-center univer-gap-2", children: [
479
+ /* @__PURE__ */ g("div", { className: "univer-flex univer-items-center", children: [
479
480
  /* @__PURE__ */ c(
480
481
  "div",
481
482
  {
482
483
  "data-u-comp": "sort-panel-item-handler",
483
484
  className: "univer-flex univer-cursor-pointer univer-items-center univer-justify-center univer-text-base univer-text-gray-700",
484
- children: /* @__PURE__ */ c(Ae, {})
485
+ children: /* @__PURE__ */ c(Pe, {})
485
486
  }
486
487
  ),
487
- /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(
488
- xt,
488
+ /* @__PURE__ */ c(
489
+ _t,
489
490
  {
490
- align: "start",
491
491
  overlay: /* @__PURE__ */ c(
492
492
  "ul",
493
493
  {
494
- className: Ee("univer-my-0 univer-box-border univer-grid univer-max-h-[310px] univer-items-center univer-gap-1 univer-overflow-y-auto univer-overflow-x-hidden univer-rounded-lg univer-border univer-bg-white univer-p-1 univer-text-base univer-shadow-lg", Te),
495
- children: a.map((h) => /* @__PURE__ */ C(
494
+ className: K("univer-my-0 univer-box-border univer-grid univer-max-h-[310px] univer-w-[var(--radix-popper-anchor-width)] univer-items-center univer-gap-1 univer-overflow-y-auto univer-overflow-x-hidden univer-rounded-lg univer-border univer-bg-white univer-p-1 univer-text-base univer-shadow-lg", Ee),
495
+ children: a.map((h) => /* @__PURE__ */ g(
496
496
  "li",
497
497
  {
498
498
  onClick: () => u(h),
499
499
  className: "univer-relative univer-box-border univer-flex univer-h-7 univer-cursor-pointer univer-list-none univer-items-center univer-justify-between univer-rounded univer-px-2 univer-text-sm univer-transition-all hover:univer-bg-gray-100 dark:hover:!univer-bg-gray-700",
500
500
  children: [
501
501
  /* @__PURE__ */ c("span", { className: "univer-max-w-[220px] univer-truncate", children: h.label }),
502
- /* @__PURE__ */ c("span", { children: h.index === n.colIndex && /* @__PURE__ */ c(ke, {}) })
502
+ /* @__PURE__ */ c("span", { children: h.index === n.colIndex && /* @__PURE__ */ c(Ne, {}) })
503
503
  ]
504
504
  },
505
505
  h.index
506
506
  ))
507
507
  }
508
508
  ),
509
- open: I,
509
+ open: w,
510
510
  onOpenChange: T,
511
- children: /* @__PURE__ */ C(
511
+ children: /* @__PURE__ */ g(
512
512
  "div",
513
513
  {
514
- className: "univer-ml-2 univer-flex univer-w-[236px] univer-items-center univer-justify-between univer-overflow-hidden univer-rounded-md univer-border univer-border-gray-200 univer-px-2.5 univer-py-1.5 univer-text-sm univer-text-gray-900 dark:!univer-text-white",
514
+ className: K("univer-ml-2 univer-flex univer-w-full univer-items-center univer-justify-between univer-overflow-hidden univer-rounded-md univer-py-1.5 univer-text-sm univer-text-gray-900 dark:!univer-text-white"),
515
515
  children: [
516
516
  /* @__PURE__ */ c(
517
517
  "span",
@@ -520,28 +520,36 @@ function Yt(e) {
520
520
  children: A
521
521
  }
522
522
  ),
523
- /* @__PURE__ */ c(Pe, {})
523
+ /* @__PURE__ */ c(Ue, {})
524
524
  ]
525
525
  }
526
526
  )
527
527
  }
528
- ) })
528
+ )
529
529
  ] }),
530
- /* @__PURE__ */ c("div", { children: /* @__PURE__ */ C(
531
- Re,
532
- {
533
- className: q,
534
- value: n.type,
535
- onChange: (h) => {
536
- o({ ...n, type: h }, l);
537
- },
538
- children: [
539
- /* @__PURE__ */ c(V, { value: U.ASC, children: s.t("sheets-sort.general.sort-asc") }),
540
- /* @__PURE__ */ c(V, { value: U.DESC, children: s.t("sheets-sort.general.sort-desc") })
541
- ]
542
- }
543
- ) }),
544
- /* @__PURE__ */ c("div", { className: "univer-s-[14px] univer-absolute univer-right-0 univer-cursor-pointer univer-text-sm", children: m && /* @__PURE__ */ c(De, { onClick: () => o(null, l) }) })
530
+ /* @__PURE__ */ g("div", { className: "univer-flex univer-items-center univer-justify-end univer-gap-2", children: [
531
+ /* @__PURE__ */ g(
532
+ Re,
533
+ {
534
+ value: n.type,
535
+ onChange: (h) => {
536
+ o({ ...n, type: h }, l);
537
+ },
538
+ children: [
539
+ /* @__PURE__ */ c(V, { value: U.ASC, children: s.t("sheets-sort.general.sort-asc") }),
540
+ /* @__PURE__ */ c(V, { value: U.DESC, children: s.t("sheets-sort.general.sort-desc") })
541
+ ]
542
+ }
543
+ ),
544
+ /* @__PURE__ */ c(
545
+ "a",
546
+ {
547
+ className: "univer-flex univer-cursor-pointer univer-items-center univer-text-sm univer-transition-colors hover:univer-text-red-500",
548
+ onClick: () => o(null, l),
549
+ children: !v && /* @__PURE__ */ c(Le, {})
550
+ }
551
+ )
552
+ ] })
545
553
  ] });
546
554
  }
547
555
  function qt(e, t) {
@@ -552,32 +560,32 @@ function qt(e, t) {
552
560
  return null;
553
561
  }
554
562
  function Xt(e) {
555
- const { range: t, colIndex: n, onClose: r } = e, o = E(g), i = E(xe), s = E(P), a = b((l) => {
556
- const { unitId: u, subUnitId: I } = nt(i) || {};
557
- if (t && u && I) {
558
- const v = { ...t, startRow: t.startRow + 1 };
559
- o.triggerSortDirectly(l, !1, { unitId: u, subUnitId: I, range: v, colIndex: n });
563
+ const { range: t, colIndex: n, onClose: r } = e, o = E(m), i = E(_e), s = E(P), a = b((l) => {
564
+ const { unitId: u, subUnitId: w } = nt(i) || {};
565
+ if (t && u && w) {
566
+ const C = { ...t, startRow: t.startRow + 1 };
567
+ o.triggerSortDirectly(l, !1, { unitId: u, subUnitId: w, range: C, colIndex: n });
560
568
  } else
561
- throw new Error(`Cannot find the target to sort. unitId: ${u}, subUnitId: ${I}, range: ${t}, colIndex: ${n}`);
569
+ throw new Error(`Cannot find the target to sort. unitId: ${u}, subUnitId: ${w}, range: ${t}, colIndex: ${n}`);
562
570
  r();
563
571
  }, [t, n, o, i, r]);
564
- return /* @__PURE__ */ C(_t, { className: "univer-mb-3 univer-w-full univer-grid-cols-2", children: [
565
- /* @__PURE__ */ C(G, { onClick: () => a(!0), children: [
566
- /* @__PURE__ */ c(de, {}),
572
+ return /* @__PURE__ */ g(xt, { className: "univer-mb-3 univer-w-full univer-grid-cols-2", children: [
573
+ /* @__PURE__ */ g(G, { onClick: () => a(!0), children: [
574
+ /* @__PURE__ */ c(le, {}),
567
575
  s.t("sheets-sort.general.sort-asc")
568
576
  ] }),
569
- /* @__PURE__ */ C(G, { onClick: () => a(!1), children: [
570
- /* @__PURE__ */ c(ue, {}),
577
+ /* @__PURE__ */ g(G, { onClick: () => a(!1), children: [
578
+ /* @__PURE__ */ c(de, {}),
571
579
  s.t("sheets-sort.general.sort-desc")
572
580
  ] })
573
581
  ] });
574
582
  }
575
- const $e = "sheet.menu.sheets-sort", Ze = "sheet.menu.sheets-sort-ctx", j = "AscendingIcon", he = "ExpandAscendingIcon", ge = "DescendingIcon", Ce = "ExpandDescendingIcon", me = "CustomSortIcon";
583
+ const Ae = "sheet.menu.sheets-sort", $e = "sheet.menu.sheets-sort-ctx", Z = "AscendingIcon", ue = "ExpandAscendingIcon", he = "DescendingIcon", ge = "ExpandDescendingIcon", me = "CustomSortIcon";
576
584
  function Kt(e) {
577
585
  return {
578
- id: $e,
586
+ id: Ae,
579
587
  type: S.SUBITEMS,
580
- icon: j,
588
+ icon: Z,
581
589
  tooltip: "sheets-sort.general.sort",
582
590
  hidden$: Me(e, Y.UNIVER_SHEET),
583
591
  disabled$: D(e, { workbookTypes: [L], worksheetTypes: [N, k], rangeTypes: [O] })
@@ -585,40 +593,40 @@ function Kt(e) {
585
593
  }
586
594
  function Jt(e) {
587
595
  return {
588
- id: ee.id,
589
- icon: j,
596
+ id: Q.id,
597
+ icon: Z,
590
598
  title: "sheets-sort.general.sort-asc-cur",
591
599
  type: S.BUTTON,
592
- hidden$: wt(e)
600
+ hidden$: It(e)
593
601
  };
594
602
  }
595
603
  function Qt(e) {
596
604
  return {
597
- id: te.id,
605
+ id: ee.id,
598
606
  title: "sheets-sort.general.sort-asc-ext",
599
- icon: he,
607
+ icon: ue,
600
608
  type: S.BUTTON
601
609
  };
602
610
  }
603
611
  function er(e) {
604
612
  return {
605
- id: re.id,
613
+ id: te.id,
606
614
  title: "sheets-sort.general.sort-desc-cur",
607
- icon: ge,
615
+ icon: he,
608
616
  type: S.BUTTON
609
617
  };
610
618
  }
611
619
  function tr(e) {
612
620
  return {
613
- id: ne.id,
621
+ id: re.id,
614
622
  title: "sheets-sort.general.sort-desc-ext",
615
- icon: Ce,
623
+ icon: ge,
616
624
  type: S.BUTTON
617
625
  };
618
626
  }
619
627
  function rr(e) {
620
628
  return {
621
- id: oe.id,
629
+ id: ne.id,
622
630
  title: "sheets-sort.general.sort-custom",
623
631
  type: S.BUTTON,
624
632
  icon: me
@@ -626,10 +634,10 @@ function rr(e) {
626
634
  }
627
635
  function nr(e) {
628
636
  return {
629
- id: Ze,
637
+ id: $e,
630
638
  title: "sheets-sort.general.sort",
631
639
  type: S.SUBITEMS,
632
- icon: j,
640
+ icon: Z,
633
641
  hidden$: Me(e, Y.UNIVER_SHEET),
634
642
  disabled$: D(e, {
635
643
  workbookTypes: [L],
@@ -640,43 +648,43 @@ function nr(e) {
640
648
  }
641
649
  function or(e) {
642
650
  return {
643
- id: ie.id,
651
+ id: oe.id,
644
652
  title: "sheets-sort.general.sort-asc-cur",
645
653
  type: S.BUTTON,
646
- icon: j,
654
+ icon: Z,
647
655
  disabled$: D(e, { workbookTypes: [L], worksheetTypes: [N, k], rangeTypes: [O] })
648
656
  };
649
657
  }
650
658
  function ir(e) {
651
659
  return {
652
- id: se.id,
660
+ id: ie.id,
653
661
  title: "sheets-sort.general.sort-asc-ext",
654
662
  type: S.BUTTON,
655
- icon: he,
663
+ icon: ue,
656
664
  disabled$: D(e, { workbookTypes: [L], worksheetTypes: [N, k], rangeTypes: [O] })
657
665
  };
658
666
  }
659
667
  function sr(e) {
660
668
  return {
661
- id: ce.id,
669
+ id: se.id,
662
670
  title: "sheets-sort.general.sort-desc-cur",
663
671
  type: S.BUTTON,
664
- icon: ge,
672
+ icon: he,
665
673
  disabled$: D(e, { workbookTypes: [L], worksheetTypes: [N, k], rangeTypes: [O] })
666
674
  };
667
675
  }
668
676
  function cr(e) {
669
677
  return {
670
- id: ae.id,
678
+ id: ce.id,
671
679
  title: "sheets-sort.general.sort-desc-ext",
672
680
  type: S.BUTTON,
673
- icon: Ce,
681
+ icon: ge,
674
682
  disabled$: D(e, { workbookTypes: [L], worksheetTypes: [N, k], rangeTypes: [O] })
675
683
  };
676
684
  }
677
685
  function ar(e) {
678
686
  return {
679
- id: le.id,
687
+ id: ae.id,
680
688
  title: "sheets-sort.general.sort-custom",
681
689
  type: S.BUTTON,
682
690
  icon: me,
@@ -685,26 +693,26 @@ function ar(e) {
685
693
  }
686
694
  const lr = {
687
695
  [dt.ORGANIZATION]: {
688
- [$e]: {
696
+ [Ae]: {
689
697
  order: 3,
690
698
  menuItemFactory: Kt,
691
- [ee.id]: {
699
+ [Q.id]: {
692
700
  order: 0,
693
701
  menuItemFactory: Jt
694
702
  },
695
- [te.id]: {
703
+ [ee.id]: {
696
704
  order: 1,
697
705
  menuItemFactory: Qt
698
706
  },
699
- [re.id]: {
707
+ [te.id]: {
700
708
  order: 2,
701
709
  menuItemFactory: er
702
710
  },
703
- [ne.id]: {
711
+ [re.id]: {
704
712
  order: 3,
705
713
  menuItemFactory: tr
706
714
  },
707
- [oe.id]: {
715
+ [ne.id]: {
708
716
  order: 4,
709
717
  menuItemFactory: rr
710
718
  }
@@ -712,26 +720,26 @@ const lr = {
712
720
  },
713
721
  [at.MAIN_AREA]: {
714
722
  [lt.DATA]: {
715
- [Ze]: {
723
+ [$e]: {
716
724
  order: 0,
717
725
  menuItemFactory: nr,
718
- [ie.id]: {
726
+ [oe.id]: {
719
727
  order: 0,
720
728
  menuItemFactory: or
721
729
  },
722
- [se.id]: {
730
+ [ie.id]: {
723
731
  order: 1,
724
732
  menuItemFactory: ir
725
733
  },
726
- [ce.id]: {
734
+ [se.id]: {
727
735
  order: 2,
728
736
  menuItemFactory: sr
729
737
  },
730
- [ae.id]: {
738
+ [ce.id]: {
731
739
  order: 3,
732
740
  menuItemFactory: cr
733
741
  },
734
- [le.id]: {
742
+ [ae.id]: {
735
743
  order: 4,
736
744
  menuItemFactory: ar
737
745
  }
@@ -743,7 +751,7 @@ var dr = Object.getOwnPropertyDescriptor, ur = (e, t, n, r) => {
743
751
  for (var o = r > 1 ? void 0 : r ? dr(t, n) : t, i = e.length - 1, s; i >= 0; i--)
744
752
  (s = e[i]) && (o = s(o) || o);
745
753
  return o;
746
- }, w = (e, t) => (n, r) => t(n, r, e);
754
+ }, I = (e, t) => (n, r) => t(n, r, e);
747
755
  const pe = "custom-sort-dialog", hr = 560;
748
756
  let W = class extends qe {
749
757
  constructor(e, t, n, r, o, i, s, a, l, u) {
@@ -754,6 +762,7 @@ let W = class extends qe {
754
762
  }
755
763
  _initCommands() {
756
764
  [
765
+ Q,
757
766
  ee,
758
767
  te,
759
768
  re,
@@ -762,20 +771,19 @@ let W = class extends qe {
762
771
  ie,
763
772
  se,
764
773
  ce,
765
- ae,
766
- le
774
+ ae
767
775
  ].forEach((e) => this.disposeWithMe(this._commandService.registerCommand(e))), this.disposeWithMe(this._sheetRenderService.registerSkeletonChangingMutations(ot.id));
768
776
  }
769
777
  _initUI() {
770
778
  this.disposeWithMe(
771
- this._uiPartsService.registerComponent(Rt.FILTER_PANEL_EMBED_POINT, () => vt(Xt, this._injector))
779
+ this._uiPartsService.registerComponent(Rt.FILTER_PANEL_EMBED_POINT, () => Ct(Xt, this._injector))
772
780
  ), [
773
781
  ["CustomSortPanel", Wt],
774
- [j, de],
775
- [he, He],
776
- [ge, ue],
777
- [Ce, Ue],
778
- [me, Le]
782
+ [Z, le],
783
+ [ue, De],
784
+ [he, de],
785
+ [ge, He],
786
+ [me, ke]
779
787
  ].forEach(([e, t]) => {
780
788
  this.disposeWithMe(
781
789
  this._componentManager.register(e, t)
@@ -789,7 +797,7 @@ let W = class extends qe {
789
797
  id: pe,
790
798
  draggable: !0,
791
799
  width: hr,
792
- title: { title: `${this._localeService.t("sheets-sort.general.sort-custom")}: ${It(e.range)}` },
800
+ title: { title: `${this._localeService.t("sheets-sort.general.sort-custom")}: ${wt(e.range)}` },
793
801
  children: { label: "CustomSortPanel" },
794
802
  destroyOnClose: !0,
795
803
  defaultPosition: gr(),
@@ -803,25 +811,25 @@ let W = class extends qe {
803
811
  }
804
812
  };
805
813
  W = ur([
806
- w(0, _e),
807
- w(1, ut),
808
- w(2, ht),
809
- w(3, gt),
810
- w(4, Ct),
811
- w(5, R(Mt)),
812
- w(6, R(P)),
813
- w(7, R(g)),
814
- w(8, R(Ie)),
815
- w(9, R(mt))
814
+ I(0, xe),
815
+ I(1, ut),
816
+ I(2, ht),
817
+ I(3, gt),
818
+ I(4, mt),
819
+ I(5, R(Mt)),
820
+ I(6, R(P)),
821
+ I(7, R(m)),
822
+ I(8, R(we)),
823
+ I(9, R(vt))
816
824
  ], W);
817
825
  function gr() {
818
826
  return { x: 0, y: 0 };
819
827
  }
820
- var Cr = Object.defineProperty, mr = Object.getOwnPropertyDescriptor, vr = (e, t, n) => t in e ? Cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, fr = (e, t, n, r) => {
821
- for (var o = r > 1 ? void 0 : r ? mr(t, n) : t, i = e.length - 1, s; i >= 0; i--)
828
+ var mr = Object.defineProperty, vr = Object.getOwnPropertyDescriptor, Cr = (e, t, n) => t in e ? mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, fr = (e, t, n, r) => {
829
+ for (var o = r > 1 ? void 0 : r ? vr(t, n) : t, i = e.length - 1, s; i >= 0; i--)
822
830
  (s = e[i]) && (o = s(o) || o);
823
831
  return o;
824
- }, ye = (e, t) => (n, r) => t(n, r, e), je = (e, t, n) => vr(e, typeof t != "symbol" ? t + "" : t, n);
832
+ }, ye = (e, t) => (n, r) => t(n, r, e), je = (e, t, n) => Cr(e, typeof t != "symbol" ? t + "" : t, n);
825
833
  const Sr = "SHEET_SORT_UI_PLUGIN";
826
834
  let z = class extends Je {
827
835
  constructor(e = Se, t, n) {
@@ -835,7 +843,7 @@ let z = class extends Je {
835
843
  }
836
844
  onStarting() {
837
845
  [
838
- [g],
846
+ [m],
839
847
  [W]
840
848
  ].forEach((e) => this._injector.add(e));
841
849
  }
@@ -847,19 +855,19 @@ je(z, "type", Y.UNIVER_SHEET);
847
855
  je(z, "pluginName", Sr);
848
856
  z = fr([
849
857
  Xe(it),
850
- ye(1, R(Ie)),
858
+ ye(1, R(we)),
851
859
  ye(2, Ke)
852
860
  ], z);
853
861
  export {
854
- ee as SortRangeAscCommand,
855
- te as SortRangeAscExtCommand,
856
- se as SortRangeAscExtInCtxMenuCommand,
857
- ie as SortRangeAscInCtxMenuCommand,
858
- oe as SortRangeCustomCommand,
859
- le as SortRangeCustomInCtxMenuCommand,
860
- re as SortRangeDescCommand,
861
- ne as SortRangeDescExtCommand,
862
- ae as SortRangeDescExtInCtxMenuCommand,
863
- ce as SortRangeDescInCtxMenuCommand,
862
+ Q as SortRangeAscCommand,
863
+ ee as SortRangeAscExtCommand,
864
+ ie as SortRangeAscExtInCtxMenuCommand,
865
+ oe as SortRangeAscInCtxMenuCommand,
866
+ ne as SortRangeCustomCommand,
867
+ ae as SortRangeCustomInCtxMenuCommand,
868
+ te as SortRangeDescCommand,
869
+ re as SortRangeDescExtCommand,
870
+ ce as SortRangeDescExtInCtxMenuCommand,
871
+ se as SortRangeDescInCtxMenuCommand,
864
872
  z as UniverSheetsSortUIPlugin
865
873
  };