@univerjs/drawing-ui 0.5.1 → 0.5.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/es/index.js CHANGED
@@ -1,14 +1,14 @@
1
- var Dn = Object.defineProperty;
2
- var En = (i, t, n) => t in i ? Dn(i, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : i[t] = n;
3
- var Q = (i, t, n) => En(i, typeof t != "symbol" ? t + "" : t, n);
4
- import { UniverInstanceType as xe, DrawingTypeEnum as ee, CommandType as _e, useDependency as L, ICommandService as me, LocaleService as ne, ArrangeTypeEnum as Ie, Tools as Tn, debounce as Pe, Inject as Ae, Disposable as He, checkIfMove as on, toDisposable as we, IUniverInstanceService as Ke, Injector as Bn, Plugin as Un, IConfigService as An } from "@univerjs/core";
5
- import { getDrawingShapeKeyByDrawingSearch as G, ImageSourceType as Hn, IDrawingManagerService as te, IImageIoService as cn } from "@univerjs/drawing";
6
- import { Group as ve, DRAWING_OBJECT_LAYER_INDEX as Ye, Image as ze, IRenderManagerService as ue, getGroupState as Ln, transformObjectOutOfGroup as Vn, RENDER_CLASS_TYPE as qe, Shape as Gn, Rect as Wn, Canvas as $n, precisionTo as ye, CURSOR_TYPE as Oe, Vector2 as Ge, degToRad as Je } from "@univerjs/engine-render";
7
- import { IDialogService as ln, ComponentManager as kn, IMessageService as zn } from "@univerjs/ui";
8
- import Fn, { useState as H, forwardRef as Y, useRef as mn, createElement as Z, useEffect as Se } from "react";
9
- import { Select as gn, Button as ce, InputNumber as fe, Checkbox as Kn, Dropdown as Yn, MessageType as Qe } from "@univerjs/design";
10
- import { filter as Zn, switchMap as Xn } from "rxjs";
11
- function qn(i, t, n, e) {
1
+ var En = Object.defineProperty;
2
+ var Tn = (i, t, n) => t in i ? En(i, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : i[t] = n;
3
+ var Q = (i, t, n) => Tn(i, typeof t != "symbol" ? t + "" : t, n);
4
+ import { UniverInstanceType as xe, DrawingTypeEnum as ee, CommandType as _e, useDependency as L, ICommandService as me, LocaleService as ne, ArrangeTypeEnum as Ie, Tools as Bn, debounce as Pe, Inject as Ae, Disposable as He, checkIfMove as cn, toDisposable as we, IUniverInstanceService as Ke, Injector as Un, Plugin as An, merge as Hn, IConfigService as Ln } from "@univerjs/core";
5
+ import { getDrawingShapeKeyByDrawingSearch as G, ImageSourceType as Vn, IDrawingManagerService as te, IImageIoService as ln } from "@univerjs/drawing";
6
+ import { Group as ve, DRAWING_OBJECT_LAYER_INDEX as Ye, Image as ze, IRenderManagerService as ue, getGroupState as Gn, transformObjectOutOfGroup as Wn, RENDER_CLASS_TYPE as qe, Shape as $n, Rect as kn, Canvas as zn, precisionTo as ye, CURSOR_TYPE as Oe, Vector2 as Ge, degToRad as Je } from "@univerjs/engine-render";
7
+ import { IDialogService as mn, ComponentManager as Fn, IMessageService as Kn } from "@univerjs/ui";
8
+ import Yn, { useState as H, forwardRef as Y, useRef as gn, createElement as Z, useEffect as Se } from "react";
9
+ import { Select as un, Button as ce, InputNumber as fe, Checkbox as Zn, DropdownLegacy as Xn, MessageType as Qe } from "@univerjs/design";
10
+ import { filter as qn, switchMap as Jn } from "rxjs";
11
+ function Qn(i, t, n, e) {
12
12
  const r = e.getDrawingByParam(i);
13
13
  if (r == null)
14
14
  return;
@@ -30,7 +30,7 @@ function qn(i, t, n, e) {
30
30
  }
31
31
  );
32
32
  }
33
- function un(i, t) {
33
+ function dn(i, t) {
34
34
  var s;
35
35
  const n = t ? i.getUnit(t) : i.getFocusedUnit();
36
36
  if (n == null)
@@ -39,11 +39,11 @@ function un(i, t) {
39
39
  let r;
40
40
  return n.type === xe.UNIVER_SHEET ? r = (s = n.getActiveSheet()) == null ? void 0 : s.getSheetId() : (n.type === xe.UNIVER_DOC || n.type === xe.UNIVER_SLIDE) && (r = e), { unitId: e, subUnitId: r, current: n };
41
41
  }
42
- const dn = "COMPONENT_IMAGE_VIEWER";
43
- var Jn = Object.defineProperty, Qn = Object.getOwnPropertyDescriptor, et = (i, t, n, e) => {
44
- for (var r = e > 1 ? void 0 : e ? Qn(t, n) : t, s = i.length - 1, a; s >= 0; s--)
42
+ const hn = "COMPONENT_IMAGE_VIEWER";
43
+ var et = Object.defineProperty, nt = Object.getOwnPropertyDescriptor, tt = (i, t, n, e) => {
44
+ for (var r = e > 1 ? void 0 : e ? nt(t, n) : t, s = i.length - 1, a; s >= 0; s--)
45
45
  (a = i[s]) && (r = (e ? a(t, n, r) : a(r)) || r);
46
- return e && r && Jn(t, n, r), r;
46
+ return e && r && et(t, n, r), r;
47
47
  }, We = (i, t) => (n, e) => t(n, e, i);
48
48
  const en = 50;
49
49
  let Ne = class {
@@ -80,7 +80,7 @@ let Ne = class {
80
80
  if (be != null)
81
81
  q.image = be;
82
82
  else {
83
- if (s === Hn.UUID)
83
+ if (s === Vn.UUID)
84
84
  try {
85
85
  q.url = await this._imageIoService.getImage(r);
86
86
  } catch (Ve) {
@@ -95,7 +95,7 @@ let Ne = class {
95
95
  continue;
96
96
  q.printable = !0;
97
97
  const k = new ze(B, q);
98
- ie && this._imageIoService.addImageSourceCache(r, s, k.getNative()), this._drawingManagerService.getDrawingVisible() && (t.addObject(k, Ye), this._drawingManagerService.getDrawingEditable() && t.attachTransformerTo(k), c && qn({ drawingId: c, unitId: g, subUnitId: m }, k, t, this._drawingManagerService), o != null && k.setPrstGeom(o), a != null && k.setSrcRect(a), w.push(k));
98
+ ie && this._imageIoService.addImageSourceCache(r, s, k.getNative()), this._drawingManagerService.getDrawingVisible() && (t.addObject(k, Ye), this._drawingManagerService.getDrawingEditable() && t.attachTransformerTo(k), c && Qn({ drawingId: c, unitId: g, subUnitId: m }, k, t, this._drawingManagerService), o != null && k.setPrstGeom(o), a != null && k.setSrcRect(a), w.push(k));
99
99
  }
100
100
  return w;
101
101
  }
@@ -114,7 +114,7 @@ let Ne = class {
114
114
  style: { margin: "0", top: "50%", left: "50%", transform: "translate(-50%, -50%)" },
115
115
  children: {
116
116
  label: {
117
- name: dn,
117
+ name: hn,
118
118
  props: {
119
119
  src: t,
120
120
  width: o.width,
@@ -142,10 +142,10 @@ let Ne = class {
142
142
  };
143
143
  }
144
144
  };
145
- Ne = et([
145
+ Ne = tt([
146
146
  We(0, te),
147
- We(1, cn),
148
- We(2, ln)
147
+ We(1, ln),
148
+ We(2, mn)
149
149
  ], Ne);
150
150
  function Le(i, t) {
151
151
  const n = [];
@@ -180,10 +180,10 @@ var $e = { exports: {} }, pe = {};
180
180
  * LICENSE file in the root directory of this source tree.
181
181
  */
182
182
  var nn;
183
- function nt() {
183
+ function rt() {
184
184
  if (nn) return pe;
185
185
  nn = 1;
186
- var i = Fn, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), e = Object.prototype.hasOwnProperty, r = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
186
+ var i = Yn, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), e = Object.prototype.hasOwnProperty, r = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
187
187
  function a(o, c, g) {
188
188
  var m, d = {}, h = null, f = null;
189
189
  g !== void 0 && (h = "" + g), c.key !== void 0 && (h = "" + c.key), c.ref !== void 0 && (f = c.ref);
@@ -194,21 +194,21 @@ function nt() {
194
194
  return pe.Fragment = n, pe.jsx = a, pe.jsxs = a, pe;
195
195
  }
196
196
  var tn;
197
- function tt() {
198
- return tn || (tn = 1, $e.exports = nt()), $e.exports;
197
+ function it() {
198
+ return tn || (tn = 1, $e.exports = rt()), $e.exports;
199
199
  }
200
- var l = tt();
201
- function hn(i) {
200
+ var l = it();
201
+ function fn(i) {
202
202
  var t, n, e = "";
203
203
  if (typeof i == "string" || typeof i == "number") e += i;
204
204
  else if (typeof i == "object") if (Array.isArray(i)) {
205
205
  var r = i.length;
206
- for (t = 0; t < r; t++) i[t] && (n = hn(i[t])) && (e && (e += " "), e += n);
206
+ for (t = 0; t < r; t++) i[t] && (n = fn(i[t])) && (e && (e += " "), e += n);
207
207
  } else for (n in i) i[n] && (e && (e += " "), e += n);
208
208
  return e;
209
209
  }
210
210
  function O() {
211
- for (var i, t, n = 0, e = "", r = arguments.length; n < r; n++) (i = arguments[n]) && (t = hn(i)) && (e && (e += " "), e += t);
211
+ for (var i, t, n = 0, e = "", r = arguments.length; n < r; n++) (i = arguments[n]) && (t = fn(i)) && (e && (e += " "), e += t);
212
212
  return e;
213
213
  }
214
214
  var R = /* @__PURE__ */ ((i) => (i.default = "0", i.left = "1", i.center = "2", i.right = "3", i.top = "4", i.middle = "5", i.bottom = "6", i.horizon = "7", i.vertical = "8", i))(R || {});
@@ -216,21 +216,21 @@ const Ze = {
216
216
  id: "sheet.operation.set-image-align",
217
217
  type: _e.OPERATION,
218
218
  handler: (i, t) => !0
219
- }, rt = "univer-image-common-panel", it = "univer-image-common-panel-grid", at = "univer-image-common-panel-border", st = "univer-image-common-panel-title", ot = "univer-image-common-panel-subtitle", ct = "univer-image-common-panel-row", lt = "univer-image-common-panel-row-vertical", mt = "univer-image-common-panel-column", gt = "univer-image-common-panel-column-center", ut = "univer-image-common-panel-inline", dt = "univer-image-common-panel-span2", ht = "univer-image-common-panel-span3", ft = "univer-image-common-panel-input", u = {
220
- imageCommonPanel: rt,
221
- imageCommonPanelGrid: it,
222
- imageCommonPanelBorder: at,
223
- imageCommonPanelTitle: st,
224
- imageCommonPanelSubtitle: ot,
225
- imageCommonPanelRow: ct,
226
- imageCommonPanelRowVertical: lt,
227
- imageCommonPanelColumn: mt,
228
- imageCommonPanelColumnCenter: gt,
229
- imageCommonPanelInline: ut,
230
- imageCommonPanelSpan2: dt,
231
- imageCommonPanelSpan3: ht,
232
- imageCommonPanelInput: ft
233
- }, pt = (i) => {
219
+ }, at = "univer-image-common-panel", st = "univer-image-common-panel-grid", ot = "univer-image-common-panel-border", ct = "univer-image-common-panel-title", lt = "univer-image-common-panel-subtitle", mt = "univer-image-common-panel-row", gt = "univer-image-common-panel-row-vertical", ut = "univer-image-common-panel-column", dt = "univer-image-common-panel-column-center", ht = "univer-image-common-panel-inline", ft = "univer-image-common-panel-span2", pt = "univer-image-common-panel-span3", Ct = "univer-image-common-panel-input", u = {
220
+ imageCommonPanel: at,
221
+ imageCommonPanelGrid: st,
222
+ imageCommonPanelBorder: ot,
223
+ imageCommonPanelTitle: ct,
224
+ imageCommonPanelSubtitle: lt,
225
+ imageCommonPanelRow: mt,
226
+ imageCommonPanelRowVertical: gt,
227
+ imageCommonPanelColumn: ut,
228
+ imageCommonPanelColumnCenter: dt,
229
+ imageCommonPanelInline: ht,
230
+ imageCommonPanelSpan2: ft,
231
+ imageCommonPanelSpan3: pt,
232
+ imageCommonPanelInput: Ct
233
+ }, wt = (i) => {
234
234
  const t = L(me), n = L(ne), { alignShow: e } = i, [r, s] = H(R.default), a = [
235
235
  {
236
236
  label: n.t("image-panel.align.default"),
@@ -289,7 +289,7 @@ const Ze = {
289
289
  const c = (g) => g ? "block" : "none";
290
290
  return /* @__PURE__ */ l.jsxs("div", { className: O(u.imageCommonPanelGrid, u.imageCommonPanelBorder), style: { display: c(e) }, children: [
291
291
  /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelTitle), children: /* @__PURE__ */ l.jsx("div", { children: n.t("image-panel.align.title") }) }) }),
292
- /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn), children: /* @__PURE__ */ l.jsx(gn, { value: r, options: a, onChange: o }) }) })
292
+ /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn), children: /* @__PURE__ */ l.jsx(un, { value: r, options: a, onChange: o }) }) })
293
293
  ] });
294
294
  };
295
295
  var $ = function() {
@@ -300,7 +300,7 @@ var $ = function() {
300
300
  }
301
301
  return i;
302
302
  }, $.apply(this, arguments);
303
- }, Ct = function(i, t) {
303
+ }, vt = function(i, t) {
304
304
  var n = {};
305
305
  for (var e in i) Object.prototype.hasOwnProperty.call(i, e) && t.indexOf(e) < 0 && (n[e] = i[e]);
306
306
  if (i != null && typeof Object.getOwnPropertySymbols == "function")
@@ -308,15 +308,15 @@ var $ = function() {
308
308
  t.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(i, e[r]) && (n[e[r]] = i[e[r]]);
309
309
  return n;
310
310
  }, X = Y(function(i, t) {
311
- var n = i.icon, e = i.id, r = i.className, s = i.extend, a = Ct(i, ["icon", "id", "className", "extend"]), o = "univerjs-icon univerjs-icon-".concat(e, " ").concat(r || "").trim(), c = mn("_".concat(_t()));
312
- return fn(n, "".concat(e), { defIds: n.defIds, idSuffix: c.current }, $({ ref: t, className: o }, a), s);
311
+ var n = i.icon, e = i.id, r = i.className, s = i.extend, a = vt(i, ["icon", "id", "className", "extend"]), o = "univerjs-icon univerjs-icon-".concat(e, " ").concat(r || "").trim(), c = gn("_".concat(bt()));
312
+ return pn(n, "".concat(e), { defIds: n.defIds, idSuffix: c.current }, $({ ref: t, className: o }, a), s);
313
313
  });
314
- function fn(i, t, n, e, r) {
315
- return Z(i.tag, $($({ key: t }, wt(i, n, r)), e), (vt(i, n).children || []).map(function(s, a) {
316
- return fn(s, "".concat(t, "-").concat(i.tag, "-").concat(a), n, void 0, r);
314
+ function pn(i, t, n, e, r) {
315
+ return Z(i.tag, $($({ key: t }, _t(i, n, r)), e), (St(i, n).children || []).map(function(s, a) {
316
+ return pn(s, "".concat(t, "-").concat(i.tag, "-").concat(a), n, void 0, r);
317
317
  }));
318
318
  }
319
- function wt(i, t, n) {
319
+ function _t(i, t, n) {
320
320
  var e = $({}, i.attrs);
321
321
  n != null && n.colorChannel1 && e.fill === "colorChannel1" && (e.fill = n.colorChannel1);
322
322
  var r = t.defIds;
@@ -325,89 +325,89 @@ function wt(i, t, n) {
325
325
  typeof o == "string" && (e[a] = o.replace(/url\(#(.*)\)/, "url(#$1".concat(t.idSuffix, ")")));
326
326
  })), e;
327
327
  }
328
- function vt(i, t) {
328
+ function St(i, t) {
329
329
  var n, e = t.defIds;
330
330
  return !e || e.length === 0 ? i : i.tag === "defs" && (!((n = i.children) === null || n === void 0) && n.length) ? $($({}, i), { children: i.children.map(function(r) {
331
331
  return typeof r.attrs.id == "string" && e && e.indexOf(r.attrs.id) > -1 ? $($({}, r), { attrs: $($({}, r.attrs), { id: r.attrs.id + t.idSuffix }) }) : r;
332
332
  }) }) : i;
333
333
  }
334
- function _t() {
334
+ function bt() {
335
335
  return Math.random().toString(36).substring(2, 8);
336
336
  }
337
337
  X.displayName = "UniverIcon";
338
- var St = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M11.0363 12.2367V14.0367C11.0363 14.3681 11.3049 14.6367 11.6363 14.6367C11.9676 14.6367 12.2363 14.3681 12.2363 14.0367V12.2367H14.0364C14.3677 12.2367 14.6364 11.9681 14.6364 11.6367C14.6364 11.3054 14.3677 11.0367 14.0364 11.0367H12.2363V9.23672C12.2363 8.90535 11.9676 8.63672 11.6363 8.63672C11.3049 8.63672 11.0363 8.90535 11.0363 9.23672V11.0367H9.23635C8.90498 11.0367 8.63635 11.3054 8.63635 11.6367C8.63635 11.9681 8.90498 12.2367 9.23635 12.2367H11.0363Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M2.56365 1.36377C1.90091 1.36377 1.36365 1.90103 1.36365 2.56377V6.16377C1.36365 6.82651 1.90091 7.36377 2.56365 7.36377H6.16365C6.82639 7.36377 7.36365 6.82651 7.36365 6.16377V2.56377C7.36365 1.90103 6.82639 1.36377 6.16365 1.36377H2.56365zM6.16365 2.56377H2.56365L2.56365 6.16377H6.16365V2.56377zM2.56365 8.63647C1.90091 8.63647 1.36365 9.17373 1.36365 9.83647V13.4365C1.36365 14.0992 1.90091 14.6365 2.56365 14.6365H6.16365C6.82639 14.6365 7.36365 14.0992 7.36365 13.4365V9.83647C7.36365 9.17373 6.82639 8.63647 6.16365 8.63647H2.56365zM6.16365 9.83647H2.56365L2.56365 13.4365H6.16365V9.83647zM9.83635 7.36377C9.17361 7.36377 8.63635 6.82651 8.63635 6.16377V2.56377C8.63635 1.90103 9.17361 1.36377 9.83635 1.36377H13.4364C14.0991 1.36377 14.6364 1.90103 14.6364 2.56377V6.16377C14.6364 6.82651 14.0991 7.36377 13.4364 7.36377H9.83635zM9.83635 6.16377V2.56377L13.4364 2.56377V6.16377H9.83635z", fillRule: "evenodd", clipRule: "evenodd" } }] }, pn = Y(function(i, t) {
338
+ var It = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M11.0363 12.2367V14.0367C11.0363 14.3681 11.3049 14.6367 11.6363 14.6367C11.9676 14.6367 12.2363 14.3681 12.2363 14.0367V12.2367H14.0364C14.3677 12.2367 14.6364 11.9681 14.6364 11.6367C14.6364 11.3054 14.3677 11.0367 14.0364 11.0367H12.2363V9.23672C12.2363 8.90535 11.9676 8.63672 11.6363 8.63672C11.3049 8.63672 11.0363 8.90535 11.0363 9.23672V11.0367H9.23635C8.90498 11.0367 8.63635 11.3054 8.63635 11.6367C8.63635 11.9681 8.90498 12.2367 9.23635 12.2367H11.0363Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M2.56365 1.36377C1.90091 1.36377 1.36365 1.90103 1.36365 2.56377V6.16377C1.36365 6.82651 1.90091 7.36377 2.56365 7.36377H6.16365C6.82639 7.36377 7.36365 6.82651 7.36365 6.16377V2.56377C7.36365 1.90103 6.82639 1.36377 6.16365 1.36377H2.56365zM6.16365 2.56377H2.56365L2.56365 6.16377H6.16365V2.56377zM2.56365 8.63647C1.90091 8.63647 1.36365 9.17373 1.36365 9.83647V13.4365C1.36365 14.0992 1.90091 14.6365 2.56365 14.6365H6.16365C6.82639 14.6365 7.36365 14.0992 7.36365 13.4365V9.83647C7.36365 9.17373 6.82639 8.63647 6.16365 8.63647H2.56365zM6.16365 9.83647H2.56365L2.56365 13.4365H6.16365V9.83647zM9.83635 7.36377C9.17361 7.36377 8.63635 6.82651 8.63635 6.16377V2.56377C8.63635 1.90103 9.17361 1.36377 9.83635 1.36377H13.4364C14.0991 1.36377 14.6364 1.90103 14.6364 2.56377V6.16377C14.6364 6.82651 14.0991 7.36377 13.4364 7.36377H9.83635zM9.83635 6.16377V2.56377L13.4364 2.56377V6.16377H9.83635z", fillRule: "evenodd", clipRule: "evenodd" } }] }, Cn = Y(function(i, t) {
339
339
  return Z(X, Object.assign({}, i, {
340
340
  id: "autofill",
341
341
  ref: t,
342
- icon: St
342
+ icon: It
343
343
  }));
344
344
  });
345
- pn.displayName = "Autofill";
346
- var bt = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M14.0045 4.4334C14.8881 4.4334 15.6045 3.71705 15.6045 2.8334 15.6045 1.94974 14.8881 1.2334 14.0045 1.2334H3.70449C2.82084 1.2334 2.10449 1.94974 2.10449 2.8334 2.10449 3.71705 2.82084 4.4334 3.70449 4.4334H14.0045zM14.4045 2.8334C14.4045 3.05431 14.2254 3.2334 14.0045 3.2334H3.70449C3.48358 3.2334 3.30449 3.05431 3.30449 2.8334 3.30449 2.61248 3.48358 2.4334 3.70449 2.4334H14.0045C14.2254 2.4334 14.4045 2.61249 14.4045 2.8334zM14.1544 8.5999C15.038 8.5999 15.7544 7.88356 15.7544 6.9999 15.7544 6.11625 15.038 5.3999 14.1544 5.3999H3.85439C2.97074 5.3999 2.25439 6.11625 2.25439 6.9999 2.25439 7.88356 2.97074 8.5999 3.85439 8.5999H14.1544zM14.5544 6.9999C14.5544 7.22082 14.3753 7.3999 14.1544 7.3999H3.85439C3.63348 7.3999 3.45439 7.22082 3.45439 6.9999 3.45439 6.77899 3.63348 6.5999 3.85439 6.5999H14.1544C14.3753 6.5999 14.5544 6.77899 14.5544 6.9999z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M8.57975 14.5902L6.58023 12.5907C6.34591 12.3564 6.34591 11.9765 6.58023 11.7421 6.81454 11.5078 7.19444 11.5078 7.42876 11.7421L8.40449 12.7179V10.1664C8.40449 9.83504 8.67312 9.56641 9.00449 9.56641 9.33586 9.56641 9.60449 9.83504 9.60449 10.1664V12.7179L10.5802 11.7421C10.8145 11.5078 11.1944 11.5078 11.4288 11.7421 11.6631 11.9765 11.6631 12.3564 11.4288 12.5907L9.42923 14.5902M8.57975 14.5902C8.58121 14.5917 8.58268 14.5931 8.58416 14.5946 8.64077 14.6502 8.70566 14.6923 8.77482 14.7209 8.84557 14.7502 8.92314 14.7664 9.00449 14.7664 9.08585 14.7664 9.16342 14.7502 9.23416 14.7209 9.30332 14.6923 9.36821 14.6502 9.42482 14.5946" } }] }, Cn = Y(function(i, t) {
345
+ Cn.displayName = "Autofill";
346
+ var Pt = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M14.0045 4.4334C14.8881 4.4334 15.6045 3.71705 15.6045 2.8334 15.6045 1.94974 14.8881 1.2334 14.0045 1.2334H3.70449C2.82084 1.2334 2.10449 1.94974 2.10449 2.8334 2.10449 3.71705 2.82084 4.4334 3.70449 4.4334H14.0045zM14.4045 2.8334C14.4045 3.05431 14.2254 3.2334 14.0045 3.2334H3.70449C3.48358 3.2334 3.30449 3.05431 3.30449 2.8334 3.30449 2.61248 3.48358 2.4334 3.70449 2.4334H14.0045C14.2254 2.4334 14.4045 2.61249 14.4045 2.8334zM14.1544 8.5999C15.038 8.5999 15.7544 7.88356 15.7544 6.9999 15.7544 6.11625 15.038 5.3999 14.1544 5.3999H3.85439C2.97074 5.3999 2.25439 6.11625 2.25439 6.9999 2.25439 7.88356 2.97074 8.5999 3.85439 8.5999H14.1544zM14.5544 6.9999C14.5544 7.22082 14.3753 7.3999 14.1544 7.3999H3.85439C3.63348 7.3999 3.45439 7.22082 3.45439 6.9999 3.45439 6.77899 3.63348 6.5999 3.85439 6.5999H14.1544C14.3753 6.5999 14.5544 6.77899 14.5544 6.9999z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M8.57975 14.5902L6.58023 12.5907C6.34591 12.3564 6.34591 11.9765 6.58023 11.7421 6.81454 11.5078 7.19444 11.5078 7.42876 11.7421L8.40449 12.7179V10.1664C8.40449 9.83504 8.67312 9.56641 9.00449 9.56641 9.33586 9.56641 9.60449 9.83504 9.60449 10.1664V12.7179L10.5802 11.7421C10.8145 11.5078 11.1944 11.5078 11.4288 11.7421 11.6631 11.9765 11.6631 12.3564 11.4288 12.5907L9.42923 14.5902M8.57975 14.5902C8.58121 14.5917 8.58268 14.5931 8.58416 14.5946 8.64077 14.6502 8.70566 14.6923 8.77482 14.7209 8.84557 14.7502 8.92314 14.7664 9.00449 14.7664 9.08585 14.7664 9.16342 14.7502 9.23416 14.7209 9.30332 14.6923 9.36821 14.6502 9.42482 14.5946" } }] }, wn = Y(function(i, t) {
347
347
  return Z(X, Object.assign({}, i, {
348
348
  id: "bottom-single",
349
349
  ref: t,
350
- icon: bt
350
+ icon: Pt
351
351
  }));
352
352
  });
353
- Cn.displayName = "BottomSingle";
354
- var It = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M5.97705 7.51296C5.97705 7.18159 6.24568 6.91296 6.57705 6.91296H8.48632C8.81769 6.91296 9.08632 7.18159 9.08632 7.51296 9.08632 7.84433 8.81769 8.11296 8.48632 8.11296H6.57705C6.24568 8.11296 5.97705 7.84433 5.97705 7.51296zM6.57705 9.41028C6.24568 9.41028 5.97705 9.67891 5.97705 10.0103 5.97705 10.3416 6.24568 10.6103 6.57705 10.6103H10.8199C11.1512 10.6103 11.4199 10.3416 11.4199 10.0103 11.4199 9.67891 11.1512 9.41028 10.8199 9.41028H6.57705z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M3.51074 2.37063C3.51074 1.48697 4.22709 0.77063 5.11074 0.77063H9.80318L9.81294 0.770708C9.97168 0.768161 10.1311 0.82824 10.2511 0.95055L14.4317 5.21408C14.5165 5.30049 14.5697 5.406 14.5917 5.51645C14.6041 5.5644 14.6106 5.61467 14.6106 5.66648V11.6406C14.6106 12.5243 13.8943 13.2406 13.0106 13.2406H5.11074C4.22709 13.2406 3.51074 12.5243 3.51074 11.6406V2.37063ZM10.4032 4.66648V2.81964L12.6063 5.06648H10.8032C10.5823 5.06648 10.4032 4.88739 10.4032 4.66648ZM5.11074 1.97063C4.88983 1.97063 4.71074 2.14972 4.71074 2.37063V11.6406C4.71074 11.8615 4.88983 12.0406 5.11074 12.0406H13.0106C13.2316 12.0406 13.4106 11.8615 13.4106 11.6406V6.26648H10.8032C9.91953 6.26648 9.20318 5.55013 9.20318 4.66648V1.97063H5.11074Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M2.58916 6.6741C2.58916 6.34273 2.32053 6.0741 1.98916 6.0741C1.65779 6.0741 1.38916 6.34273 1.38916 6.6741V12.6294C1.38916 14.0653 2.55322 15.2294 3.98916 15.2294H9.41408C9.74545 15.2294 10.0141 14.9607 10.0141 14.6294C10.0141 14.298 9.74545 14.0294 9.41408 14.0294H3.98916C3.21596 14.0294 2.58916 13.4026 2.58916 12.6294V6.6741Z" } }] }, wn = Y(function(i, t) {
353
+ wn.displayName = "BottomSingle";
354
+ var yt = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M5.97705 7.51296C5.97705 7.18159 6.24568 6.91296 6.57705 6.91296H8.48632C8.81769 6.91296 9.08632 7.18159 9.08632 7.51296 9.08632 7.84433 8.81769 8.11296 8.48632 8.11296H6.57705C6.24568 8.11296 5.97705 7.84433 5.97705 7.51296zM6.57705 9.41028C6.24568 9.41028 5.97705 9.67891 5.97705 10.0103 5.97705 10.3416 6.24568 10.6103 6.57705 10.6103H10.8199C11.1512 10.6103 11.4199 10.3416 11.4199 10.0103 11.4199 9.67891 11.1512 9.41028 10.8199 9.41028H6.57705z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M3.51074 2.37063C3.51074 1.48697 4.22709 0.77063 5.11074 0.77063H9.80318L9.81294 0.770708C9.97168 0.768161 10.1311 0.82824 10.2511 0.95055L14.4317 5.21408C14.5165 5.30049 14.5697 5.406 14.5917 5.51645C14.6041 5.5644 14.6106 5.61467 14.6106 5.66648V11.6406C14.6106 12.5243 13.8943 13.2406 13.0106 13.2406H5.11074C4.22709 13.2406 3.51074 12.5243 3.51074 11.6406V2.37063ZM10.4032 4.66648V2.81964L12.6063 5.06648H10.8032C10.5823 5.06648 10.4032 4.88739 10.4032 4.66648ZM5.11074 1.97063C4.88983 1.97063 4.71074 2.14972 4.71074 2.37063V11.6406C4.71074 11.8615 4.88983 12.0406 5.11074 12.0406H13.0106C13.2316 12.0406 13.4106 11.8615 13.4106 11.6406V6.26648H10.8032C9.91953 6.26648 9.20318 5.55013 9.20318 4.66648V1.97063H5.11074Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M2.58916 6.6741C2.58916 6.34273 2.32053 6.0741 1.98916 6.0741C1.65779 6.0741 1.38916 6.34273 1.38916 6.6741V12.6294C1.38916 14.0653 2.55322 15.2294 3.98916 15.2294H9.41408C9.74545 15.2294 10.0141 14.9607 10.0141 14.6294C10.0141 14.298 9.74545 14.0294 9.41408 14.0294H3.98916C3.21596 14.0294 2.58916 13.4026 2.58916 12.6294V6.6741Z" } }] }, vn = Y(function(i, t) {
355
355
  return Z(X, Object.assign({}, i, {
356
356
  id: "create-copy-single",
357
357
  ref: t,
358
- icon: It
358
+ icon: yt
359
359
  }));
360
360
  });
361
- wn.displayName = "CreateCopySingle";
362
- var Pt = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.38125 1.16211C6.49759 1.16211 5.78125 1.87845 5.78125 2.76211V5.6377H2.87783C1.99418 5.6377 1.27783 6.35404 1.27783 7.2377V13.2377C1.27783 14.1214 1.99418 14.8377 2.87783 14.8377H8.87783C9.76149 14.8377 10.4778 14.1214 10.4778 13.2377V10.3621H13.3813C14.2649 10.3621 14.9813 9.64577 14.9813 8.76211V2.76211C14.9813 1.87845 14.2649 1.16211 13.3813 1.16211H7.38125ZM10.4778 9.16211H13.3813C13.6022 9.16211 13.7812 8.98302 13.7812 8.76211V2.76211C13.7812 2.5412 13.6022 2.36211 13.3813 2.36211H7.38125C7.16034 2.36211 6.98125 2.5412 6.98125 2.76211V5.6377H8.87783C9.76149 5.6377 10.4778 6.35404 10.4778 7.2377V9.16211ZM6.98125 6.8377H8.87783C9.09875 6.8377 9.27783 7.01678 9.27783 7.2377V9.16211H7.38125C7.16034 9.16211 6.98125 8.98302 6.98125 8.76211V6.8377ZM5.78125 6.8377V8.76211C5.78125 9.64577 6.49759 10.3621 7.38125 10.3621H9.27783V13.2377C9.27783 13.4586 9.09875 13.6377 8.87783 13.6377H2.87783C2.65692 13.6377 2.47783 13.4586 2.47783 13.2377V7.2377C2.47783 7.01678 2.65692 6.8377 2.87783 6.8377H5.78125Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, vn = Y(function(i, t) {
361
+ vn.displayName = "CreateCopySingle";
362
+ var Rt = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.38125 1.16211C6.49759 1.16211 5.78125 1.87845 5.78125 2.76211V5.6377H2.87783C1.99418 5.6377 1.27783 6.35404 1.27783 7.2377V13.2377C1.27783 14.1214 1.99418 14.8377 2.87783 14.8377H8.87783C9.76149 14.8377 10.4778 14.1214 10.4778 13.2377V10.3621H13.3813C14.2649 10.3621 14.9813 9.64577 14.9813 8.76211V2.76211C14.9813 1.87845 14.2649 1.16211 13.3813 1.16211H7.38125ZM10.4778 9.16211H13.3813C13.6022 9.16211 13.7812 8.98302 13.7812 8.76211V2.76211C13.7812 2.5412 13.6022 2.36211 13.3813 2.36211H7.38125C7.16034 2.36211 6.98125 2.5412 6.98125 2.76211V5.6377H8.87783C9.76149 5.6377 10.4778 6.35404 10.4778 7.2377V9.16211ZM6.98125 6.8377H8.87783C9.09875 6.8377 9.27783 7.01678 9.27783 7.2377V9.16211H7.38125C7.16034 9.16211 6.98125 8.98302 6.98125 8.76211V6.8377ZM5.78125 6.8377V8.76211C5.78125 9.64577 6.49759 10.3621 7.38125 10.3621H9.27783V13.2377C9.27783 13.4586 9.09875 13.6377 8.87783 13.6377H2.87783C2.65692 13.6377 2.47783 13.4586 2.47783 13.2377V7.2377C2.47783 7.01678 2.65692 6.8377 2.87783 6.8377H5.78125Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, _n = Y(function(i, t) {
363
363
  return Z(X, Object.assign({}, i, {
364
364
  id: "group-single",
365
365
  ref: t,
366
- icon: Pt
366
+ icon: Rt
367
367
  }));
368
368
  });
369
- vn.displayName = "GroupSingle";
370
- var yt = { 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" } }] }, _n = Y(function(i, t) {
369
+ _n.displayName = "GroupSingle";
370
+ var jt = { 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" } }] }, Sn = Y(function(i, t) {
371
371
  return Z(X, Object.assign({}, i, {
372
372
  id: "more-down-single",
373
373
  ref: t,
374
- icon: yt
374
+ icon: jt
375
375
  }));
376
376
  });
377
- _n.displayName = "MoreDownSingle";
378
- var Rt = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.25 2.96401C1.25 3.84767 1.96634 4.56401 2.85 4.56401H13.15C14.0337 4.56401 14.75 3.84767 14.75 2.96401C14.75 2.08036 14.0337 1.36401 13.15 1.36401H2.85C1.96635 1.36401 1.25 2.08036 1.25 2.96401ZM2.85 3.36401C2.62909 3.36401 2.45 3.18493 2.45 2.96401C2.45 2.7431 2.62909 2.56401 2.85 2.56401H13.15C13.3709 2.56401 13.55 2.7431 13.55 2.96401C13.55 3.18493 13.3709 3.36401 13.15 3.36401H2.85Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M5.57564 11.6118C5.80995 11.3774 6.18985 11.3774 6.42417 11.6118L7.3999 12.5875V6.36951C7.3999 6.03814 7.66853 5.76951 7.9999 5.76951C8.33127 5.76951 8.5999 6.03814 8.5999 6.36951V12.5875L9.57564 11.6118C9.80995 11.3774 10.1899 11.3774 10.4242 11.6118C10.6585 11.8461 10.6585 12.226 10.4242 12.4603L8.4324 14.452C8.32324 14.5655 8.16982 14.6362 7.9999 14.6362C7.82998 14.6362 7.67655 14.5655 7.56739 14.452L5.57564 12.4603C5.34132 12.226 5.34132 11.8461 5.57564 11.6118Z" } }] }, Sn = Y(function(i, t) {
377
+ Sn.displayName = "MoreDownSingle";
378
+ var Mt = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.25 2.96401C1.25 3.84767 1.96634 4.56401 2.85 4.56401H13.15C14.0337 4.56401 14.75 3.84767 14.75 2.96401C14.75 2.08036 14.0337 1.36401 13.15 1.36401H2.85C1.96635 1.36401 1.25 2.08036 1.25 2.96401ZM2.85 3.36401C2.62909 3.36401 2.45 3.18493 2.45 2.96401C2.45 2.7431 2.62909 2.56401 2.85 2.56401H13.15C13.3709 2.56401 13.55 2.7431 13.55 2.96401C13.55 3.18493 13.3709 3.36401 13.15 3.36401H2.85Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M5.57564 11.6118C5.80995 11.3774 6.18985 11.3774 6.42417 11.6118L7.3999 12.5875V6.36951C7.3999 6.03814 7.66853 5.76951 7.9999 5.76951C8.33127 5.76951 8.5999 6.03814 8.5999 6.36951V12.5875L9.57564 11.6118C9.80995 11.3774 10.1899 11.3774 10.4242 11.6118C10.6585 11.8461 10.6585 12.226 10.4242 12.4603L8.4324 14.452C8.32324 14.5655 8.16982 14.6362 7.9999 14.6362C7.82998 14.6362 7.67655 14.5655 7.56739 14.452L5.57564 12.4603C5.34132 12.226 5.34132 11.8461 5.57564 11.6118Z" } }] }, bn = Y(function(i, t) {
379
379
  return Z(X, Object.assign({}, i, {
380
380
  id: "move-down-single",
381
381
  ref: t,
382
- icon: Rt
382
+ icon: Mt
383
383
  }));
384
384
  });
385
- Sn.displayName = "MoveDownSingle";
386
- var jt = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.25 13.036C1.25 12.1523 1.96634 11.436 2.85 11.436H13.15C14.0337 11.436 14.75 12.1523 14.75 13.036C14.75 13.9196 14.0337 14.636 13.15 14.636H2.85C1.96635 14.636 1.25 13.9196 1.25 13.036ZM2.85 12.636C2.62909 12.636 2.45 12.8151 2.45 13.036C2.45 13.2569 2.62909 13.436 2.85 13.436H13.15C13.3709 13.436 13.55 13.2569 13.55 13.036C13.55 12.8151 13.3709 12.636 13.15 12.636H2.85Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M5.57564 4.38825C5.80995 4.62256 6.18985 4.62256 6.42417 4.38825L7.3999 3.41251V9.63049C7.3999 9.96186 7.66853 10.2305 7.9999 10.2305C8.33127 10.2305 8.5999 9.96186 8.5999 9.63049V3.41251L9.57564 4.38825C9.80995 4.62256 10.1899 4.62256 10.4242 4.38825C10.6585 4.15393 10.6585 3.77403 10.4242 3.53972L8.4324 1.54796C8.32324 1.43445 8.16982 1.36382 7.9999 1.36382C7.82998 1.36382 7.67655 1.43446 7.56739 1.54797L5.57564 3.53972C5.34132 3.77403 5.34132 4.15393 5.57564 4.38825Z" } }] }, bn = Y(function(i, t) {
385
+ bn.displayName = "MoveDownSingle";
386
+ var xt = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.25 13.036C1.25 12.1523 1.96634 11.436 2.85 11.436H13.15C14.0337 11.436 14.75 12.1523 14.75 13.036C14.75 13.9196 14.0337 14.636 13.15 14.636H2.85C1.96635 14.636 1.25 13.9196 1.25 13.036ZM2.85 12.636C2.62909 12.636 2.45 12.8151 2.45 13.036C2.45 13.2569 2.62909 13.436 2.85 13.436H13.15C13.3709 13.436 13.55 13.2569 13.55 13.036C13.55 12.8151 13.3709 12.636 13.15 12.636H2.85Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M5.57564 4.38825C5.80995 4.62256 6.18985 4.62256 6.42417 4.38825L7.3999 3.41251V9.63049C7.3999 9.96186 7.66853 10.2305 7.9999 10.2305C8.33127 10.2305 8.5999 9.96186 8.5999 9.63049V3.41251L9.57564 4.38825C9.80995 4.62256 10.1899 4.62256 10.4242 4.38825C10.6585 4.15393 10.6585 3.77403 10.4242 3.53972L8.4324 1.54796C8.32324 1.43445 8.16982 1.36382 7.9999 1.36382C7.82998 1.36382 7.67655 1.43446 7.56739 1.54797L5.57564 3.53972C5.34132 3.77403 5.34132 4.15393 5.57564 4.38825Z" } }] }, In = Y(function(i, t) {
387
387
  return Z(X, Object.assign({}, i, {
388
388
  id: "move-up-single",
389
389
  ref: t,
390
- icon: jt
390
+ icon: xt
391
391
  }));
392
392
  });
393
- bn.displayName = "MoveUpSingle";
394
- var Mt = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.82994 1.40913C7.88746 1.35161 7.95376 1.30821 8.02453 1.27893C8.09527 1.24959 8.17285 1.2334 8.2542 1.2334C8.33555 1.2334 8.41313 1.24959 8.48387 1.27893C8.55464 1.30821 8.62094 1.35161 8.67846 1.40913L10.6785 3.40913C10.9128 3.64345 10.9128 4.02335 10.6785 4.25766C10.4441 4.49198 10.0642 4.49198 9.82994 4.25766L8.8542 3.28193V5.8334C8.8542 6.16477 8.58557 6.4334 8.2542 6.4334C7.92283 6.4334 7.6542 6.16477 7.6542 5.8334V3.28193L6.67846 4.25766C6.44415 4.49198 6.06425 4.49198 5.82994 4.25766C5.59562 4.02335 5.59562 3.64345 5.82994 3.40913L7.82994 1.40913Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.50439 9C1.50439 8.11634 2.22074 7.4 3.10439 7.4H13.4044C14.288 7.4 15.0044 8.11634 15.0044 9 15.0044 9.88366 14.2881 10.6 13.4044 10.6H3.1044C2.22074 10.6 1.50439 9.88366 1.50439 9zM3.10439 8.6C2.88348 8.6 2.70439 8.77909 2.70439 9 2.70439 9.22091 2.88348 9.4 3.1044 9.4H13.4044C13.6253 9.4 13.8044 9.22091 13.8044 9 13.8044 8.77909 13.6253 8.6 13.4044 8.6H3.10439zM1.6543 13.1665C1.6543 12.2828 2.37064 11.5665 3.2543 11.5665H13.5543C14.438 11.5665 15.1543 12.2828 15.1543 13.1665 15.1543 14.0502 14.438 14.7665 13.5543 14.7665H3.2543C2.37064 14.7665 1.6543 14.0502 1.6543 13.1665zM3.2543 12.7665C3.03338 12.7665 2.8543 12.9456 2.8543 13.1665 2.8543 13.3874 3.03338 13.5665 3.2543 13.5665H13.5543C13.7752 13.5665 13.9543 13.3874 13.9543 13.1665 13.9543 12.9456 13.7752 12.7665 13.5543 12.7665H3.2543z", fillRule: "evenodd", clipRule: "evenodd" } }] }, In = Y(function(i, t) {
393
+ In.displayName = "MoveUpSingle";
394
+ var Ot = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.82994 1.40913C7.88746 1.35161 7.95376 1.30821 8.02453 1.27893C8.09527 1.24959 8.17285 1.2334 8.2542 1.2334C8.33555 1.2334 8.41313 1.24959 8.48387 1.27893C8.55464 1.30821 8.62094 1.35161 8.67846 1.40913L10.6785 3.40913C10.9128 3.64345 10.9128 4.02335 10.6785 4.25766C10.4441 4.49198 10.0642 4.49198 9.82994 4.25766L8.8542 3.28193V5.8334C8.8542 6.16477 8.58557 6.4334 8.2542 6.4334C7.92283 6.4334 7.6542 6.16477 7.6542 5.8334V3.28193L6.67846 4.25766C6.44415 4.49198 6.06425 4.49198 5.82994 4.25766C5.59562 4.02335 5.59562 3.64345 5.82994 3.40913L7.82994 1.40913Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.50439 9C1.50439 8.11634 2.22074 7.4 3.10439 7.4H13.4044C14.288 7.4 15.0044 8.11634 15.0044 9 15.0044 9.88366 14.2881 10.6 13.4044 10.6H3.1044C2.22074 10.6 1.50439 9.88366 1.50439 9zM3.10439 8.6C2.88348 8.6 2.70439 8.77909 2.70439 9 2.70439 9.22091 2.88348 9.4 3.1044 9.4H13.4044C13.6253 9.4 13.8044 9.22091 13.8044 9 13.8044 8.77909 13.6253 8.6 13.4044 8.6H3.10439zM1.6543 13.1665C1.6543 12.2828 2.37064 11.5665 3.2543 11.5665H13.5543C14.438 11.5665 15.1543 12.2828 15.1543 13.1665 15.1543 14.0502 14.438 14.7665 13.5543 14.7665H3.2543C2.37064 14.7665 1.6543 14.0502 1.6543 13.1665zM3.2543 12.7665C3.03338 12.7665 2.8543 12.9456 2.8543 13.1665 2.8543 13.3874 3.03338 13.5665 3.2543 13.5665H13.5543C13.7752 13.5665 13.9543 13.3874 13.9543 13.1665 13.9543 12.9456 13.7752 12.7665 13.5543 12.7665H3.2543z", fillRule: "evenodd", clipRule: "evenodd" } }] }, Pn = Y(function(i, t) {
395
395
  return Z(X, Object.assign({}, i, {
396
396
  id: "topmost-single",
397
397
  ref: t,
398
- icon: Mt
398
+ icon: Ot
399
399
  }));
400
400
  });
401
- In.displayName = "TopmostSingle";
402
- var xt = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.46855 2.83731C7.46855 2.61639 7.64764 2.4373 7.86855 2.4373H13.8603C14.0812 2.4373 14.2603 2.61639 14.2603 2.8373V9.5049C14.2603 9.72581 14.0812 9.90489 13.8603 9.90489H12.866C12.5346 9.90489 12.266 10.1735 12.266 10.5049C12.266 10.8363 12.5346 11.1049 12.866 11.1049H13.8603C14.7439 11.1049 15.4603 10.3886 15.4603 9.5049V2.8373C15.4603 1.95365 14.7439 1.2373 13.8603 1.2373H7.86855C6.9849 1.2373 6.26855 1.95365 6.26855 2.83731V3.48688C6.26855 3.81825 6.53718 4.08688 6.86855 4.08688C7.19993 4.08688 7.46855 3.81825 7.46855 3.48688V2.83731Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M3.19888 5.56299C2.31522 5.56299 1.59888 6.27933 1.59888 7.16299V13.163C1.59888 14.0466 2.31522 14.763 3.19888 14.763H9.19888C10.0825 14.763 10.7989 14.0466 10.7989 13.163V7.16299C10.7989 6.27933 10.0825 5.56299 9.19888 5.56299H3.19888ZM2.79888 7.16299C2.79888 6.94207 2.97796 6.76299 3.19888 6.76299H9.19888C9.41979 6.76299 9.59888 6.94207 9.59888 7.16299V13.163C9.59888 13.3839 9.41979 13.563 9.19888 13.563H3.19888C2.97796 13.563 2.79888 13.3839 2.79888 13.163V7.16299Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, Pn = Y(function(i, t) {
401
+ Pn.displayName = "TopmostSingle";
402
+ var Nt = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.46855 2.83731C7.46855 2.61639 7.64764 2.4373 7.86855 2.4373H13.8603C14.0812 2.4373 14.2603 2.61639 14.2603 2.8373V9.5049C14.2603 9.72581 14.0812 9.90489 13.8603 9.90489H12.866C12.5346 9.90489 12.266 10.1735 12.266 10.5049C12.266 10.8363 12.5346 11.1049 12.866 11.1049H13.8603C14.7439 11.1049 15.4603 10.3886 15.4603 9.5049V2.8373C15.4603 1.95365 14.7439 1.2373 13.8603 1.2373H7.86855C6.9849 1.2373 6.26855 1.95365 6.26855 2.83731V3.48688C6.26855 3.81825 6.53718 4.08688 6.86855 4.08688C7.19993 4.08688 7.46855 3.81825 7.46855 3.48688V2.83731Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M3.19888 5.56299C2.31522 5.56299 1.59888 6.27933 1.59888 7.16299V13.163C1.59888 14.0466 2.31522 14.763 3.19888 14.763H9.19888C10.0825 14.763 10.7989 14.0466 10.7989 13.163V7.16299C10.7989 6.27933 10.0825 5.56299 9.19888 5.56299H3.19888ZM2.79888 7.16299C2.79888 6.94207 2.97796 6.76299 3.19888 6.76299H9.19888C9.41979 6.76299 9.59888 6.94207 9.59888 7.16299V13.163C9.59888 13.3839 9.41979 13.563 9.19888 13.563H3.19888C2.97796 13.563 2.79888 13.3839 2.79888 13.163V7.16299Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, yn = Y(function(i, t) {
403
403
  return Z(X, Object.assign({}, i, {
404
404
  id: "ungroup-single",
405
405
  ref: t,
406
- icon: xt
406
+ icon: Nt
407
407
  }));
408
408
  });
409
- Pn.displayName = "UngroupSingle";
410
- const Ot = (i) => {
409
+ yn.displayName = "UngroupSingle";
410
+ const Dt = (i) => {
411
411
  const { arrangeShow: t, drawings: n } = i, e = L(ne), r = L(te), s = (g) => g ? "block" : "none", [a, o] = H(n);
412
412
  Se(() => {
413
413
  const g = r.focus$.subscribe((m) => {
@@ -427,13 +427,13 @@ const Ot = (i) => {
427
427
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan2), children: /* @__PURE__ */ l.jsx(ce, { size: "small", onClick: () => {
428
428
  c(Ie.forward);
429
429
  }, children: /* @__PURE__ */ l.jsxs("span", { className: u.imageCommonPanelInline, children: [
430
- /* @__PURE__ */ l.jsx(bn, {}),
430
+ /* @__PURE__ */ l.jsx(In, {}),
431
431
  e.t("image-panel.arrange.forward")
432
432
  ] }) }) }),
433
433
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan2), children: /* @__PURE__ */ l.jsx(ce, { size: "small", onClick: () => {
434
434
  c(Ie.backward);
435
435
  }, children: /* @__PURE__ */ l.jsxs("span", { className: u.imageCommonPanelInline, children: [
436
- /* @__PURE__ */ l.jsx(Sn, {}),
436
+ /* @__PURE__ */ l.jsx(bn, {}),
437
437
  e.t("image-panel.arrange.backward")
438
438
  ] }) }) })
439
439
  ] }),
@@ -441,20 +441,20 @@ const Ot = (i) => {
441
441
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan2), children: /* @__PURE__ */ l.jsx(ce, { size: "small", onClick: () => {
442
442
  c(Ie.front);
443
443
  }, children: /* @__PURE__ */ l.jsxs("span", { className: u.imageCommonPanelInline, children: [
444
- /* @__PURE__ */ l.jsx(In, {}),
444
+ /* @__PURE__ */ l.jsx(Pn, {}),
445
445
  e.t("image-panel.arrange.front")
446
446
  ] }) }) }),
447
447
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan2), children: /* @__PURE__ */ l.jsx(ce, { size: "small", onClick: () => {
448
448
  c(Ie.back);
449
449
  }, children: /* @__PURE__ */ l.jsxs("span", { className: u.imageCommonPanelInline, children: [
450
- /* @__PURE__ */ l.jsx(Cn, {}),
450
+ /* @__PURE__ */ l.jsx(wn, {}),
451
451
  e.t("image-panel.arrange.back")
452
452
  ] }) }) })
453
453
  ] })
454
454
  ] });
455
- }, Nt = (i) => {
455
+ }, Et = (i) => {
456
456
  const t = L(ne), n = L(ue), e = L(te), { hasGroup: r, drawings: s } = i, [a, o] = H(!1), [c, g] = H(!0), [m, d] = H(!0), h = (p) => p ? "block" : "none", f = () => {
457
- const p = e.getFocusDrawings(), { unitId: S, subUnitId: _ } = p[0], j = Tn.generateRandomId(10), b = Ln(0, 0, p.map((y) => y.transform || {})), N = {
457
+ const p = e.getFocusDrawings(), { unitId: S, subUnitId: _ } = p[0], j = Bn.generateRandomId(10), b = Gn(0, 0, p.map((y) => y.transform || {})), N = {
458
458
  unitId: S,
459
459
  subUnitId: _,
460
460
  drawingId: j,
@@ -488,7 +488,7 @@ const Ot = (i) => {
488
488
  if (N.length === 0)
489
489
  return;
490
490
  const I = N.map((y) => {
491
- const { transform: P } = y, { unitId: M, subUnitId: D, drawingId: B } = y, E = Vn(P || {}, b, b.width || 0, b.height || 0);
491
+ const { transform: P } = y, { unitId: M, subUnitId: D, drawingId: B } = y, E = Wn(P || {}, b, b.width || 0, b.height || 0);
492
492
  return {
493
493
  unitId: M,
494
494
  subUnitId: D,
@@ -533,18 +533,18 @@ const Ot = (i) => {
533
533
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan2, u.imageCommonPanelColumnCenter), children: /* @__PURE__ */ l.jsx(ce, { size: "small", onClick: () => {
534
534
  f();
535
535
  }, style: { display: h(c) }, children: /* @__PURE__ */ l.jsxs("span", { className: u.imageCommonPanelInline, children: [
536
- /* @__PURE__ */ l.jsx(vn, {}),
536
+ /* @__PURE__ */ l.jsx(_n, {}),
537
537
  t.t("image-panel.group.group")
538
538
  ] }) }) }),
539
539
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan2, u.imageCommonPanelColumnCenter), children: /* @__PURE__ */ l.jsx(ce, { size: "small", onClick: () => {
540
540
  w();
541
541
  }, style: { display: h(m) }, children: /* @__PURE__ */ l.jsxs("span", { className: u.imageCommonPanelInline, children: [
542
- /* @__PURE__ */ l.jsx(Pn, {}),
542
+ /* @__PURE__ */ l.jsx(yn, {}),
543
543
  t.t("image-panel.group.unGroup")
544
544
  ] }) }) })
545
545
  ] })
546
546
  ] });
547
- }, se = 20, Dt = 20, Et = [-3600, 3600], Re = 300, Tt = (i) => {
547
+ }, se = 20, Tt = 20, Bt = [-3600, 3600], Re = 300, Ut = (i) => {
548
548
  var Xe;
549
549
  const t = L(ne), n = L(te), e = L(ue), { drawings: r, transformShow: s } = i, a = r[0];
550
550
  if (a == null)
@@ -635,12 +635,12 @@ const Ot = (i) => {
635
635
  const V = { unitId: c, subUnitId: g, drawingId: m, drawingType: d, transform: { width: C } };
636
636
  if (q) {
637
637
  let U = C / N * y;
638
- if (U = Math.max(U, Dt), U > A)
638
+ if (U = Math.max(U, Tt), U > A)
639
639
  return;
640
640
  P(U), V.transform.height = U;
641
641
  }
642
642
  I(C), n.featurePluginUpdateNotification([V]), w.refreshControls().changeNotification();
643
- }, Re), Rn = Pe((C) => {
643
+ }, Re), jn = Pe((C) => {
644
644
  if (C == null)
645
645
  return;
646
646
  C = Math.max(C, se);
@@ -654,31 +654,31 @@ const Ot = (i) => {
654
654
  I(U), V.transform.width = U;
655
655
  }
656
656
  P(C), n.featurePluginUpdateNotification([V]), w.refreshControls().changeNotification();
657
- }, Re), jn = Pe((C) => {
657
+ }, Re), Mn = Pe((C) => {
658
658
  if (C == null)
659
659
  return;
660
660
  const { limitLeft: x } = ie(C, B, N, y);
661
661
  C = x;
662
662
  const A = { unitId: c, subUnitId: g, drawingId: m, drawingType: d, transform: { left: C } };
663
663
  D(C), n.featurePluginUpdateNotification([A]), w.refreshControls().changeNotification();
664
- }, Re), Mn = Pe((C) => {
664
+ }, Re), xn = Pe((C) => {
665
665
  if (C == null)
666
666
  return;
667
667
  const { limitTop: x } = ie(M, C, N, y);
668
668
  C = x;
669
669
  const A = { unitId: c, subUnitId: g, drawingId: m, drawingType: d, transform: { top: C } };
670
670
  E(C), n.featurePluginUpdateNotification([A]), w.refreshControls().changeNotification();
671
- }, Re), xn = (C) => {
671
+ }, Re), On = (C) => {
672
672
  if (C == null)
673
673
  return;
674
- const [x, A] = Et;
674
+ const [x, A] = Bt;
675
675
  C < x && (C = x), C > A && (C = A);
676
676
  const V = { unitId: c, subUnitId: g, drawingId: m, drawingType: d, transform: { angle: C } };
677
677
  W(C), n.featurePluginUpdateNotification([V]), w.refreshControls().changeNotification();
678
- }, On = (C) => {
678
+ }, Nn = (C) => {
679
679
  be(C), w.keepRatio = C;
680
- }, Nn = (C) => C ? "block" : "none";
681
- return /* @__PURE__ */ l.jsxs("div", { className: O(u.imageCommonPanelGrid, u.imageCommonPanelBorder), style: { display: Nn(s) }, children: [
680
+ }, Dn = (C) => C ? "block" : "none";
681
+ return /* @__PURE__ */ l.jsxs("div", { className: O(u.imageCommonPanelGrid, u.imageCommonPanelBorder), style: { display: Dn(s) }, children: [
682
682
  /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelTitle), children: /* @__PURE__ */ l.jsx("div", { children: t.t("image-panel.transform.title") }) }) }),
683
683
  /* @__PURE__ */ l.jsxs("div", { className: u.imageCommonPanelRow, children: [
684
684
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan3), children: /* @__PURE__ */ l.jsxs("label", { children: [
@@ -690,30 +690,30 @@ const Ot = (i) => {
690
690
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan3), children: /* @__PURE__ */ l.jsxs("label", { children: [
691
691
  /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelColumn, children: t.t("image-panel.transform.height") }) }),
692
692
  /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelColumn, children: /* @__PURE__ */ l.jsx(fe, { precision: 1, value: y, onChange: (C) => {
693
- Rn(C);
693
+ jn(C);
694
694
  }, className: u.imageCommonPanelInput }) }) })
695
695
  ] }) }),
696
696
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan3), children: /* @__PURE__ */ l.jsxs("label", { children: [
697
697
  /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelColumn, children: t.t("image-panel.transform.lock") }) }),
698
- /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelRow, u.imageCommonPanelRowVertical), children: /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelColumn, children: /* @__PURE__ */ l.jsx(Kn, { checked: q, onChange: On }) }) })
698
+ /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelRow, u.imageCommonPanelRowVertical), children: /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelColumn, children: /* @__PURE__ */ l.jsx(Zn, { checked: q, onChange: Nn }) }) })
699
699
  ] }) })
700
700
  ] }),
701
701
  /* @__PURE__ */ l.jsxs("div", { className: u.imageCommonPanelRow, children: [
702
702
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan3), children: /* @__PURE__ */ l.jsxs("label", { children: [
703
703
  /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelColumn, children: t.t("image-panel.transform.x") }) }),
704
704
  /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelColumn, children: /* @__PURE__ */ l.jsx(fe, { precision: 1, value: M, onChange: (C) => {
705
- jn(C);
705
+ Mn(C);
706
706
  }, className: u.imageCommonPanelInput }) }) })
707
707
  ] }) }),
708
708
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan3), children: /* @__PURE__ */ l.jsxs("label", { children: [
709
709
  /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelColumn, children: t.t("image-panel.transform.y") }) }),
710
710
  /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelColumn, children: /* @__PURE__ */ l.jsx(fe, { precision: 1, value: B, onChange: (C) => {
711
- Mn(C);
711
+ xn(C);
712
712
  }, className: u.imageCommonPanelInput }) }) })
713
713
  ] }) }),
714
714
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan3), children: /* @__PURE__ */ l.jsxs("label", { children: [
715
715
  /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelColumn, children: t.t("image-panel.transform.rotate") }) }),
716
- /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelColumn, children: /* @__PURE__ */ l.jsx(fe, { precision: 1, value: re, onChange: xn, className: u.imageCommonPanelInput }) }) })
716
+ /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelRow, children: /* @__PURE__ */ l.jsx("div", { className: u.imageCommonPanelColumn, children: /* @__PURE__ */ l.jsx(fe, { precision: 1, value: re, onChange: On, className: u.imageCommonPanelInput }) }) })
717
717
  ] }) })
718
718
  ] })
719
719
  ] });
@@ -731,11 +731,11 @@ const De = {
731
731
  id: "sheet.operation.Auto-image-crop",
732
732
  type: _e.OPERATION,
733
733
  handler: (i, t) => !0
734
- }, Bt = (i) => {
734
+ }, At = (i) => {
735
735
  const t = L(me), n = L(ne), { drawings: e, cropperShow: r } = i;
736
736
  if (e[0] == null)
737
737
  return;
738
- const [a, o] = H(T.FREE), c = mn(!1), g = [
738
+ const [a, o] = H(T.FREE), c = gn(!1), g = [
739
739
  {
740
740
  label: n.t("image-panel.crop.mode"),
741
741
  value: T.FREE
@@ -804,13 +804,13 @@ const De = {
804
804
  /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan2), children: /* @__PURE__ */ l.jsx(ce, { size: "small", onClick: () => {
805
805
  h(a);
806
806
  }, children: /* @__PURE__ */ l.jsxs("span", { className: u.imageCommonPanelInline, children: [
807
- /* @__PURE__ */ l.jsx(wn, {}),
807
+ /* @__PURE__ */ l.jsx(vn, {}),
808
808
  n.t("image-panel.crop.start")
809
809
  ] }) }) }),
810
- /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan2), children: /* @__PURE__ */ l.jsx(gn, { value: a, options: g, onChange: m }) })
810
+ /* @__PURE__ */ l.jsx("div", { className: O(u.imageCommonPanelColumn, u.imageCommonPanelSpan2), children: /* @__PURE__ */ l.jsx(un, { value: a, options: g, onChange: m }) })
811
811
  ] })
812
812
  ] });
813
- }, wr = (i) => {
813
+ }, vr = (i) => {
814
814
  const t = L(te), n = L(ue), e = L(ne), { drawings: r, hasArrange: s = !0, hasTransform: a = !0, hasAlign: o = !0, hasCropper: c = !0, hasGroup: g = !0 } = i, m = r[0];
815
815
  if (m == null)
816
816
  return;
@@ -832,21 +832,21 @@ const De = {
832
832
  };
833
833
  }, []), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
834
834
  /* @__PURE__ */ l.jsx("div", { style: { display: y === !0 ? "block" : "none", height: "100%" }, children: /* @__PURE__ */ l.jsx("div", { style: { display: "flex", justifyContent: "center", alignItems: "center", height: "100%", top: "50%", marginTop: "-100px" }, children: /* @__PURE__ */ l.jsx("span", { children: e.t("image-panel.null") }) }) }),
835
- /* @__PURE__ */ l.jsx(Ot, { arrangeShow: s === !0 ? w : !1, drawings: r }),
836
- /* @__PURE__ */ l.jsx(Tt, { transformShow: a === !0 ? S : !1, drawings: r }),
837
- /* @__PURE__ */ l.jsx(pt, { alignShow: o === !0 ? j : !1, drawings: r }),
838
- /* @__PURE__ */ l.jsx(Bt, { cropperShow: c === !0 ? N : !1, drawings: r }),
839
- /* @__PURE__ */ l.jsx(Nt, { hasGroup: g, drawings: r })
835
+ /* @__PURE__ */ l.jsx(Dt, { arrangeShow: s === !0 ? w : !1, drawings: r }),
836
+ /* @__PURE__ */ l.jsx(Ut, { transformShow: a === !0 ? S : !1, drawings: r }),
837
+ /* @__PURE__ */ l.jsx(wt, { alignShow: o === !0 ? j : !1, drawings: r }),
838
+ /* @__PURE__ */ l.jsx(At, { cropperShow: c === !0 ? N : !1, drawings: r }),
839
+ /* @__PURE__ */ l.jsx(Et, { hasGroup: g, drawings: r })
840
840
  ] });
841
- }, Ut = "univer-image-popup-menu", At = "univer-image-popup-menu-item", Ht = "univer-image-popup-menu-item-icon", Lt = "univer-image-popup-menu-item-title", Vt = "univer-image-popup-menu-item-hide", Gt = "univer-btn-container", Wt = "univer-btn-container-expand", Ce = {
842
- imagePopupMenu: Ut,
843
- imagePopupMenuItem: At,
844
- imagePopupMenuItemIcon: Ht,
845
- imagePopupMenuItemTitle: Lt,
846
- imagePopupMenuItemHide: Vt,
847
- btnContainer: Gt,
848
- btnContainerExpand: Wt
849
- }, $t = (i) => {
841
+ }, Ht = "univer-image-popup-menu", Lt = "univer-image-popup-menu-item", Vt = "univer-image-popup-menu-item-icon", Gt = "univer-image-popup-menu-item-title", Wt = "univer-image-popup-menu-item-hide", $t = "univer-btn-container", kt = "univer-btn-container-expand", Ce = {
842
+ imagePopupMenu: Ht,
843
+ imagePopupMenuItem: Lt,
844
+ imagePopupMenuItemIcon: Vt,
845
+ imagePopupMenuItemTitle: Gt,
846
+ imagePopupMenuItemHide: Wt,
847
+ btnContainer: $t,
848
+ btnContainerExpand: kt
849
+ }, zt = (i) => {
850
850
  var v, w;
851
851
  const t = (w = (v = i.popup) == null ? void 0 : v.extraProps) == null ? void 0 : w.menuItems;
852
852
  if (!t)
@@ -866,7 +866,7 @@ const De = {
866
866
  onMouseEnter: c,
867
867
  onMouseLeave: g,
868
868
  children: /* @__PURE__ */ l.jsx(
869
- Yn,
869
+ Xn,
870
870
  {
871
871
  placement: "bottomLeft",
872
872
  trigger: ["click"],
@@ -889,13 +889,13 @@ const De = {
889
889
  }),
890
890
  children: [
891
891
  /* @__PURE__ */ l.jsx(
892
- pn,
892
+ Cn,
893
893
  {
894
894
  style: { color: "#35322B" },
895
895
  extend: { colorChannel1: "rgb(var(--green-700, #409f11))" }
896
896
  }
897
897
  ),
898
- h && /* @__PURE__ */ l.jsx(_n, { style: { color: "#CCCCCC", fontSize: "8px", marginLeft: "8px" } })
898
+ h && /* @__PURE__ */ l.jsx(Sn, { style: { color: "#CCCCCC", fontSize: "8px", marginLeft: "8px" } })
899
899
  ]
900
900
  }
901
901
  )
@@ -903,32 +903,32 @@ const De = {
903
903
  )
904
904
  }
905
905
  );
906
- }, kt = "COMPONENT_IMAGE_POPUP_MENU", zt = "drawing-ui.config", Ft = {}, yn = {
906
+ }, Ft = "COMPONENT_IMAGE_POPUP_MENU", Kt = "drawing-ui.config", rn = {}, Rn = {
907
907
  id: "sheet.operation.image-reset-size",
908
908
  type: _e.OPERATION,
909
909
  handler: (i, t) => !0
910
- }, Kt = (i) => {
910
+ }, Yt = (i) => {
911
911
  const { src: t } = i;
912
912
  return t ? /* @__PURE__ */ l.jsx("div", { children: /* @__PURE__ */ l.jsx("img", { src: t, alt: "Univer Image Viewer", style: { width: "100%", height: "100%", position: "relative" } }) }) : null;
913
913
  };
914
- var Yt = Object.defineProperty, Zt = Object.getOwnPropertyDescriptor, Xt = (i, t, n, e) => {
915
- for (var r = e > 1 ? void 0 : e ? Zt(t, n) : t, s = i.length - 1, a; s >= 0; s--)
914
+ var Zt = Object.defineProperty, Xt = Object.getOwnPropertyDescriptor, qt = (i, t, n, e) => {
915
+ for (var r = e > 1 ? void 0 : e ? Xt(t, n) : t, s = i.length - 1, a; s >= 0; s--)
916
916
  (a = i[s]) && (r = (e ? a(t, n, r) : a(r)) || r);
917
- return e && r && Yt(t, n, r), r;
918
- }, rn = (i, t) => (n, e) => t(n, e, i);
917
+ return e && r && Zt(t, n, r), r;
918
+ }, an = (i, t) => (n, e) => t(n, e, i);
919
919
  let Ee = class extends He {
920
920
  constructor(i, t) {
921
921
  super(), this._componentManager = i, this._commandService = t, this._init();
922
922
  }
923
923
  _initCustomComponents() {
924
924
  const i = this._componentManager;
925
- this.disposeWithMe(i.register(kt, $t)), this.disposeWithMe(i.register(dn, Kt));
925
+ this.disposeWithMe(i.register(Ft, zt)), this.disposeWithMe(i.register(hn, Yt));
926
926
  }
927
927
  _initCommands() {
928
928
  [
929
929
  Fe,
930
930
  le,
931
- yn,
931
+ Rn,
932
932
  Ze,
933
933
  De
934
934
  ].forEach((i) => this.disposeWithMe(this._commandService.registerCommand(i)));
@@ -937,14 +937,14 @@ let Ee = class extends He {
937
937
  this._initCommands(), this._initCustomComponents();
938
938
  }
939
939
  };
940
- Ee = Xt([
941
- rn(0, Ae(kn)),
942
- rn(1, me)
940
+ Ee = qt([
941
+ an(0, Ae(Fn)),
942
+ an(1, me)
943
943
  ], Ee);
944
- var qt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, Qt = (i, t, n, e) => {
945
- for (var r = e > 1 ? void 0 : e ? Jt(t, n) : t, s = i.length - 1, a; s >= 0; s--)
944
+ var Jt = Object.defineProperty, Qt = Object.getOwnPropertyDescriptor, er = (i, t, n, e) => {
945
+ for (var r = e > 1 ? void 0 : e ? Qt(t, n) : t, s = i.length - 1, a; s >= 0; s--)
946
946
  (a = i[s]) && (r = (e ? a(t, n, r) : a(r)) || r);
947
- return e && r && qt(t, n, r), r;
947
+ return e && r && Jt(t, n, r), r;
948
948
  }, je = (i, t) => (n, e) => t(n, e, i);
949
949
  let Te = class extends He {
950
950
  constructor(t, n, e, r) {
@@ -959,7 +959,7 @@ let Te = class extends He {
959
959
  this._recoveryImages(), this._drawingAddListener(), this._drawingRemoveListener(), this._drawingUpdateListener(), this._commandExecutedListener(), this._drawingArrangeListener(), this._drawingGroupListener(), this._drawingRefreshListener(), this._drawingVisibleListener();
960
960
  }
961
961
  _recoveryImages() {
962
- const t = this._drawingManagerService.drawingManagerData, n = un(this._currentUniverService);
962
+ const t = this._drawingManagerService.drawingManagerData, n = dn(this._currentUniverService);
963
963
  if (n == null)
964
964
  return;
965
965
  const { unitId: e, subUnitId: r } = n;
@@ -1339,7 +1339,7 @@ let Te = class extends He {
1339
1339
  if (e == null)
1340
1340
  return !1;
1341
1341
  const { transform: s } = e;
1342
- return on(s, n == null ? void 0 : n[r]);
1342
+ return cn(s, n == null ? void 0 : n[r]);
1343
1343
  });
1344
1344
  }
1345
1345
  // group?.getObjects().forEach((o) => {
@@ -1387,13 +1387,13 @@ let Te = class extends He {
1387
1387
  );
1388
1388
  }
1389
1389
  };
1390
- Te = Qt([
1390
+ Te = er([
1391
1391
  je(0, Ke),
1392
1392
  je(1, me),
1393
1393
  je(2, ue),
1394
1394
  je(3, te)
1395
1395
  ], Te);
1396
- class Me extends Gn {
1396
+ class Me extends $n {
1397
1397
  constructor(n, e) {
1398
1398
  e == null && (e = {}), e.transformerConfig = {
1399
1399
  keepRatio: !1,
@@ -1436,7 +1436,7 @@ class Me extends Gn {
1436
1436
  const r = this.getScene().getEngine(), { width: s, height: a } = r;
1437
1437
  this._initialCacheCanvas(), (c = this._cacheCanvas) == null || c.clear();
1438
1438
  const o = (g = this._cacheCanvas) == null ? void 0 : g.getContext();
1439
- o != null && (o.save(), Wn.drawWith(o, {
1439
+ o != null && (o.save(), kn.drawWith(o, {
1440
1440
  left: 0,
1441
1441
  top: 0,
1442
1442
  width: s,
@@ -1480,7 +1480,7 @@ class Me extends Gn {
1480
1480
  return;
1481
1481
  const n = this.getScene();
1482
1482
  if (n == null) return;
1483
- this._cacheCanvas = new $n();
1483
+ this._cacheCanvas = new zn();
1484
1484
  const e = n.getEngine();
1485
1485
  this._cacheCanvas.setSize(e.width, e.height), e.onTransformChange$.subscribeEvent(() => {
1486
1486
  var r;
@@ -1488,10 +1488,10 @@ class Me extends Gn {
1488
1488
  });
1489
1489
  }
1490
1490
  }
1491
- var er = Object.defineProperty, nr = Object.getOwnPropertyDescriptor, tr = (i, t, n, e) => {
1492
- for (var r = e > 1 ? void 0 : e ? nr(t, n) : t, s = i.length - 1, a; s >= 0; s--)
1491
+ var nr = Object.defineProperty, tr = Object.getOwnPropertyDescriptor, rr = (i, t, n, e) => {
1492
+ for (var r = e > 1 ? void 0 : e ? tr(t, n) : t, s = i.length - 1, a; s >= 0; s--)
1493
1493
  (a = i[s]) && (r = (e ? a(t, n, r) : a(r)) || r);
1494
- return e && r && er(t, n, r), r;
1494
+ return e && r && nr(t, n, r), r;
1495
1495
  }, ge = (i, t) => (n, e) => t(n, e, i);
1496
1496
  let Be = class extends He {
1497
1497
  constructor(t, n, e, r, s, a) {
@@ -1663,8 +1663,8 @@ let Be = class extends He {
1663
1663
  })
1664
1664
  );
1665
1665
  const t = this._univerInstanceService.getCurrentTypeOfUnit$(xe.UNIVER_SHEET).pipe(
1666
- Zn((n) => !!n),
1667
- Xn((n) => n.activeSheet$)
1666
+ qn((n) => !!n),
1667
+ Jn((n) => n.activeSheet$)
1668
1668
  );
1669
1669
  this.disposeWithMe(t.subscribe(() => {
1670
1670
  this._commandService.syncExecuteCommand(le.id);
@@ -1693,7 +1693,7 @@ let Be = class extends He {
1693
1693
  if (a == null || !(a instanceof Me))
1694
1694
  return;
1695
1695
  const { left: o, top: c, height: g, width: m, angle: d } = a;
1696
- if (!on({ left: o, top: c, height: g, width: m, angle: d }, e))
1696
+ if (!cn({ left: o, top: c, height: g, width: m, angle: d }, e))
1697
1697
  return;
1698
1698
  const h = this._getApplyObjectByCropObject(a);
1699
1699
  if (h == null)
@@ -1743,18 +1743,18 @@ let Be = class extends He {
1743
1743
  };
1744
1744
  }
1745
1745
  };
1746
- Be = tr([
1746
+ Be = rr([
1747
1747
  ge(0, me),
1748
1748
  ge(1, te),
1749
1749
  ge(2, ue),
1750
1750
  ge(3, Ke),
1751
- ge(4, zn),
1751
+ ge(4, Kn),
1752
1752
  ge(5, Ae(ne))
1753
1753
  ], Be);
1754
- var rr = Object.defineProperty, ir = Object.getOwnPropertyDescriptor, ar = (i, t, n, e) => {
1755
- for (var r = e > 1 ? void 0 : e ? ir(t, n) : t, s = i.length - 1, a; s >= 0; s--)
1754
+ var ir = Object.defineProperty, ar = Object.getOwnPropertyDescriptor, sr = (i, t, n, e) => {
1755
+ for (var r = e > 1 ? void 0 : e ? ar(t, n) : t, s = i.length - 1, a; s >= 0; s--)
1756
1756
  (a = i[s]) && (r = (e ? a(t, n, r) : a(r)) || r);
1757
- return e && r && rr(t, n, r), r;
1757
+ return e && r && ir(t, n, r), r;
1758
1758
  }, oe = (i, t) => (n, e) => t(n, e, i);
1759
1759
  let Ue = class extends He {
1760
1760
  constructor(i, t, n, e, r, s, a) {
@@ -1769,7 +1769,7 @@ let Ue = class extends He {
1769
1769
  _commandExecutedListener() {
1770
1770
  this.disposeWithMe(
1771
1771
  this._commandService.onCommandExecuted((i) => {
1772
- if (i.id === yn.id) {
1772
+ if (i.id === Rn.id) {
1773
1773
  const t = i.params;
1774
1774
  if (t == null)
1775
1775
  return;
@@ -1828,7 +1828,7 @@ let Ue = class extends He {
1828
1828
  _insertImages(i) {
1829
1829
  i.forEach(async (t) => {
1830
1830
  var g;
1831
- const { unitId: n, subUnitId: e, drawingId: r } = t, s = this._getSceneAndTransformerByDrawingSearch(n), a = (g = un(this._currentUniverService, n)) == null ? void 0 : g.subUnitId;
1831
+ const { unitId: n, subUnitId: e, drawingId: r } = t, s = this._getSceneAndTransformerByDrawingSearch(n), a = (g = dn(this._currentUniverService, n)) == null ? void 0 : g.subUnitId;
1832
1832
  if (s == null || a !== e)
1833
1833
  return;
1834
1834
  const o = this._drawingManagerService.getDrawingByParam(t);
@@ -1890,27 +1890,31 @@ let Ue = class extends He {
1890
1890
  );
1891
1891
  }
1892
1892
  };
1893
- Ue = ar([
1893
+ Ue = sr([
1894
1894
  oe(0, me),
1895
1895
  oe(1, ue),
1896
1896
  oe(2, te),
1897
- oe(3, ln),
1898
- oe(4, cn),
1897
+ oe(3, mn),
1898
+ oe(4, ln),
1899
1899
  oe(5, Ke),
1900
1900
  oe(6, Ae(Ne))
1901
1901
  ], Ue);
1902
- var sr = Object.defineProperty, or = Object.getOwnPropertyDescriptor, cr = (i, t, n, e) => {
1903
- for (var r = e > 1 ? void 0 : e ? or(t, n) : t, s = i.length - 1, a; s >= 0; s--)
1902
+ var or = Object.defineProperty, cr = Object.getOwnPropertyDescriptor, lr = (i, t, n, e) => {
1903
+ for (var r = e > 1 ? void 0 : e ? cr(t, n) : t, s = i.length - 1, a; s >= 0; s--)
1904
1904
  (a = i[s]) && (r = (e ? a(t, n, r) : a(r)) || r);
1905
- return e && r && sr(t, n, r), r;
1906
- }, an = (i, t) => (n, e) => t(n, e, i);
1907
- const lr = "UNIVER_DRAWING_UI_PLUGIN";
1905
+ return e && r && or(t, n, r), r;
1906
+ }, sn = (i, t) => (n, e) => t(n, e, i);
1907
+ const mr = "UNIVER_DRAWING_UI_PLUGIN";
1908
1908
  var ke;
1909
- let sn = (ke = class extends Un {
1910
- constructor(i = Ft, t, n) {
1909
+ let on = (ke = class extends An {
1910
+ constructor(i = rn, t, n) {
1911
1911
  super(), this._config = i, this._injector = t, this._configService = n;
1912
- const { menu: e, ...r } = this._config;
1913
- e && this._configService.setConfig("menu", e, { merge: !0 }), this._configService.setConfig(zt, r);
1912
+ const { menu: e, ...r } = Hn(
1913
+ {},
1914
+ rn,
1915
+ this._config
1916
+ );
1917
+ e && this._configService.setConfig("menu", e, { merge: !0 }), this._configService.setConfig(Kt, r);
1914
1918
  }
1915
1919
  onStarting() {
1916
1920
  this._initDependencies();
@@ -1927,22 +1931,22 @@ let sn = (ke = class extends Un {
1927
1931
  [Ue]
1928
1932
  ].forEach((t) => this._injector.add(t));
1929
1933
  }
1930
- }, Q(ke, "pluginName", lr), ke);
1931
- sn = cr([
1932
- an(1, Ae(Bn)),
1933
- an(2, An)
1934
- ], sn);
1934
+ }, Q(ke, "pluginName", mr), ke);
1935
+ on = lr([
1936
+ sn(1, Ae(Un)),
1937
+ sn(2, Ln)
1938
+ ], on);
1935
1939
  export {
1936
1940
  De as AutoImageCropOperation,
1937
- kt as COMPONENT_IMAGE_POPUP_MENU,
1941
+ Ft as COMPONENT_IMAGE_POPUP_MENU,
1938
1942
  le as CloseImageCropOperation,
1939
- wr as DrawingCommonPanel,
1943
+ vr as DrawingCommonPanel,
1940
1944
  Ne as DrawingRenderService,
1941
1945
  Me as ImageCropperObject,
1942
- $t as ImagePopupMenu,
1943
- yn as ImageResetSizeOperation,
1946
+ zt as ImagePopupMenu,
1947
+ Rn as ImageResetSizeOperation,
1944
1948
  Fe as OpenImageCropOperation,
1945
1949
  Ze as SetDrawingAlignOperation,
1946
- sn as UniverDrawingUIPlugin,
1950
+ on as UniverDrawingUIPlugin,
1947
1951
  Le as getUpdateParams
1948
1952
  };