@univerjs/slides-ui 0.5.4 → 0.5.5-nightly.202501201336

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,29 +1,29 @@
1
- var pn = Object.defineProperty;
2
- var fn = (i, e, t) => e in i ? pn(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var P = (i, e, t) => fn(i, typeof e != "symbol" ? e + "" : e, t);
4
- import { Inject as X, Injector as Ge, RxDisposable as fe, UniverInstanceType as x, debounce as Cn, getColorStyle as vn, IUniverInstanceService as j, CommandType as D, Tools as _n, useDependency as O, LocaleService as ee, ICommandService as U, generateRandomId as Et, PageElementType as Xe, BasicShapes as Sn, Disposable as Ue, DisposableCollection as Ye, toDisposable as Rt, FOCUSING_COMMON_DRAWINGS as In, IContextService as Ce, createInternalEditorID as Pn, createIdentifier as Ot, EDITOR_ACTIVATED as Oe, FOCUSING_EDITOR_STANDALONE as jt, FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE as yt, DocumentDataModel as bn, VerticalAlign as je, HorizontalAlign as Tt, WrapStrategy as it, FOCUSING_EDITOR_BUT_HIDDEN as xn, DEFAULT_EMPTY_DOCUMENT_VALUE as Mt, Direction as B, IUndoRedoService as En, DocumentFlavor as Rn, FOCUSING_UNIVER_EDITOR as wt, FORMULA_EDITOR_ACTIVATED as On, connectInjector as rt, Plugin as jn, merge as yn, mergeOverrideWithDependencies as st, IConfigService as Tn } from "@univerjs/core";
5
- import { Viewport as ot, ScrollBar as Nt, Slide as Mn, Rect as Dt, Scene as wn, IRenderManagerService as Y, ObjectType as he, pxToNum as Nn, DeviceInputEventType as q, convertTextRotation as at, FIX_ONE_PIXEL_BLUR_OFFSET as se, fixLineWidthByScale as ct } from "@univerjs/engine-render";
6
- import { ObjectProvider as Dn, SLIDE_KEY as oe } from "@univerjs/slides";
7
- import { ISidebarService as Ut, ICanvasPopupService as Un, KeyCode as y, ILayoutService as Vn, ILocalFileService as Bn, useObservable as Ln, DISABLE_AUTO_FOCUS_KEY as lt, MenuItemType as ve, getMenuHiddenObservable as _e, RibbonStartGroup as An, MetaKeys as $n, ComponentManager as Hn, BuiltInUIPart as dt, IMenuManagerService as Fn, IUIPartsService as zn, IShortcutService as Wn } from "@univerjs/ui";
8
- import ke, { forwardRef as A, useRef as Vt, createElement as $, useState as W, useEffect as ae, useCallback as ut } from "react";
9
- import { Button as Pe, InputNumber as ue, DropdownLegacy as Bt, ColorPicker as Kn, Scrollbar as Gn } from "@univerjs/design";
10
- import { BehaviorSubject as J, Subject as Lt, filter as Xn, takeUntil as mt } from "rxjs";
11
- import { DocSelectionManagerService as Yn, DocSkeletonManagerService as gt, RichTextEditingMutation as kn } from "@univerjs/docs";
12
- import { IEditorService as Ze, DocSelectionRenderService as ht, VIEWPORT_KEY as pt, DOCS_COMPONENT_MAIN_LAYER_INDEX as Zn, MoveSelectionOperation as qn, MoveCursorOperation as Jn, DOCS_VIEW_KEY as Qn, TextEditor as ei, DeleteLeftCommand as ti } from "@univerjs/docs-ui";
13
- import { DRAWING_IMAGE_ALLOW_IMAGE_LIST as ni, IImageIoService as ii, getImageSize as ri } from "@univerjs/drawing";
14
- var si = Object.defineProperty, oi = Object.getOwnPropertyDescriptor, ai = (i, e, t, n) => {
15
- for (var r = n > 1 ? void 0 : n ? oi(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1
+ var hn = Object.defineProperty;
2
+ var pn = (i, e, t) => e in i ? hn(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
+ var P = (i, e, t) => pn(i, typeof e != "symbol" ? e + "" : e, t);
4
+ import { Inject as X, Injector as Ge, RxDisposable as fe, UniverInstanceType as x, debounce as fn, getColorStyle as Cn, IUniverInstanceService as j, CommandType as D, Tools as vn, useDependency as O, LocaleService as Q, ICommandService as U, generateRandomId as xt, PageElementType as Xe, BasicShapes as _n, Disposable as Ue, DisposableCollection as Ye, toDisposable as Et, FOCUSING_COMMON_DRAWINGS as Sn, IContextService as Ce, createInternalEditorID as In, createIdentifier as Rt, EDITOR_ACTIVATED as Oe, FOCUSING_EDITOR_STANDALONE as Ot, FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE as jt, DocumentDataModel as Pn, VerticalAlign as je, HorizontalAlign as yt, WrapStrategy as it, FOCUSING_EDITOR_BUT_HIDDEN as bn, DEFAULT_EMPTY_DOCUMENT_VALUE as Tt, Direction as B, IUndoRedoService as xn, DocumentFlavor as En, FOCUSING_UNIVER_EDITOR as Mt, FORMULA_EDITOR_ACTIVATED as Rn, connectInjector as rt, Plugin as On, merge as jn, mergeOverrideWithDependencies as st, IConfigService as yn } from "@univerjs/core";
5
+ import { Viewport as ot, ScrollBar as wt, Slide as Tn, Rect as Nt, Scene as Mn, IRenderManagerService as Y, ObjectType as he, pxToNum as wn, DeviceInputEventType as q, convertTextRotation as at, FIX_ONE_PIXEL_BLUR_OFFSET as re, fixLineWidthByScale as ct } from "@univerjs/engine-render";
6
+ import { ObjectProvider as Nn, SLIDE_KEY as se } from "@univerjs/slides";
7
+ import { ISidebarService as Dt, ICanvasPopupService as Dn, KeyCode as y, ILayoutService as Un, ILocalFileService as Vn, useObservable as Bn, DISABLE_AUTO_FOCUS_KEY as lt, MenuItemType as ve, getMenuHiddenObservable as _e, RibbonStartGroup as Ln, MetaKeys as An, ComponentManager as $n, BuiltInUIPart as dt, IMenuManagerService as Hn, IUIPartsService as Fn, IShortcutService as zn } from "@univerjs/ui";
8
+ import ke, { forwardRef as A, useRef as Ut, createElement as $, useState as W, useEffect as oe, useCallback as ut } from "react";
9
+ import { Button as Pe, InputNumber as ue, DropdownLegacy as Vt, ColorPicker as Wn, Scrollbar as Kn } from "@univerjs/design";
10
+ import { BehaviorSubject as J, Subject as Bt, filter as Gn, takeUntil as mt } from "rxjs";
11
+ import { DocSelectionManagerService as Xn, DocSkeletonManagerService as gt, RichTextEditingMutation as Yn } from "@univerjs/docs";
12
+ import { IEditorService as Ze, DocSelectionRenderService as ht, VIEWPORT_KEY as pt, DOCS_COMPONENT_MAIN_LAYER_INDEX as kn, MoveSelectionOperation as Zn, MoveCursorOperation as qn, DOCS_VIEW_KEY as Jn, DeleteLeftCommand as Qn } from "@univerjs/docs-ui";
13
+ import { DRAWING_IMAGE_ALLOW_IMAGE_LIST as ei, IImageIoService as ti, getImageSize as ni } from "@univerjs/drawing";
14
+ var ii = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, si = (i, e, t, n) => {
15
+ for (var r = n > 1 ? void 0 : n ? ri(e, t) : e, s = i.length - 1, o; s >= 0; s--)
16
16
  (o = i[s]) && (r = (n ? o(e, t, r) : o(r)) || r);
17
- return n && r && si(e, t, r), r;
17
+ return n && r && ii(e, t, r), r;
18
18
  }, Ve = (i, e) => (t, n) => e(t, n, i);
19
19
  let pe = class extends fe {
20
20
  constructor(e, t, n, r) {
21
21
  super();
22
22
  P(this, "_objectProvider", null);
23
- P(this, "_refreshThumb", Cn(() => {
23
+ P(this, "_refreshThumb", fn(() => {
24
24
  this.createThumbs();
25
25
  }, 300));
26
- this._renderContext = e, this._injector = t, this._univerInstanceService = n, this._renderManagerService = r, this._objectProvider = this._injector.createInstance(Dn), this._addNewRender();
26
+ this._renderContext = e, this._injector = t, this._univerInstanceService = n, this._renderManagerService = r, this._objectProvider = this._injector.createInstance(Nn), this._addNewRender();
27
27
  }
28
28
  _addNewRender() {
29
29
  const { unitId: e, engine: t, scene: n } = this._renderContext, r = this._getCurrUnitModel();
@@ -36,7 +36,7 @@ let pe = class extends fe {
36
36
  this.createThumbs();
37
37
  }, 300);
38
38
  });
39
- const o = new ot(oe.VIEW, n, {
39
+ const o = new ot(se.VIEW, n, {
40
40
  left: 0,
41
41
  top: 0,
42
42
  bottom: 0,
@@ -55,7 +55,7 @@ let pe = class extends fe {
55
55
  o.onMouseWheel(l, g);
56
56
  }), n.onFileLoaded$.subscribeEvent(() => {
57
57
  this._refreshThumb();
58
- }), Nt.attachTo(o), this._renderManagerService.setCurrent(e);
58
+ }), wt.attachTo(o), this._renderManagerService.setCurrent(e);
59
59
  const a = this._createSlide(n);
60
60
  this._renderContext.mainComponent = a, this._createSlidePages(r, a), this.createThumbs(), t.runRenderLoop(() => {
61
61
  n.render();
@@ -63,7 +63,7 @@ let pe = class extends fe {
63
63
  }
64
64
  _scrollToCenter() {
65
65
  var c;
66
- const e = (c = this._currentRender()) == null ? void 0 : c.scene, t = e == null ? void 0 : e.getViewport(oe.VIEW), n = this._getCenterPositionViewPort(e);
66
+ const e = (c = this._currentRender()) == null ? void 0 : c.scene, t = e == null ? void 0 : e.getViewport(se.VIEW), n = this._getCenterPositionViewPort(e);
67
67
  if (!t || !n) return;
68
68
  const { left: r, top: s } = n, { x: o, y: a } = t.transViewportScroll2ScrollValue(r, s);
69
69
  t.scrollToBarPos({
@@ -78,7 +78,7 @@ let pe = class extends fe {
78
78
  * @param mainScene
79
79
  */
80
80
  _createSlide(e) {
81
- const t = this._univerInstanceService.getCurrentUnitForType(x.UNIVER_SLIDE), { width: n, height: r } = e, s = t.getPageSize(), { width: o = 100, height: a = 100 } = s, c = new Mn(oe.COMPONENT, {
81
+ const t = this._univerInstanceService.getCurrentUnitForType(x.UNIVER_SLIDE), { width: n, height: r } = e, s = t.getPageSize(), { width: o = 100, height: a = 100 } = s, c = new Tn(se.COMPONENT, {
82
82
  left: (n - o) / 2,
83
83
  top: (r - a) / 2,
84
84
  width: o,
@@ -88,14 +88,14 @@ let pe = class extends fe {
88
88
  return c.enableSelectedClipElement(), e.addObject(c), c;
89
89
  }
90
90
  _addBackgroundRect(e, t) {
91
- const r = this._univerInstanceService.getCurrentUnitForType(x.UNIVER_SLIDE).getPageSize(), { width: s = 0, height: o = 0 } = r, a = new Dt("canvas", {
91
+ const r = this._univerInstanceService.getCurrentUnitForType(x.UNIVER_SLIDE).getPageSize(), { width: s = 0, height: o = 0 } = r, a = new Nt("canvas", {
92
92
  left: 0,
93
93
  top: 0,
94
94
  width: s,
95
95
  height: o,
96
96
  strokeWidth: 1,
97
97
  stroke: "rgba(198,198,198,1)",
98
- fill: vn(t) || "rgba(255,255,255,1)",
98
+ fill: Cn(t) || "rgba(255,255,255,1)",
99
99
  zIndex: 0,
100
100
  evented: !1
101
101
  });
@@ -182,7 +182,7 @@ let pe = class extends fe {
182
182
  const n = this._renderContext;
183
183
  if (!n || !this._objectProvider)
184
184
  return;
185
- const { scene: r, mainComponent: s } = n, o = s, { width: a, height: c } = o, g = new wn(e, o, {
185
+ const { scene: r, mainComponent: s } = n, o = s, { width: a, height: c } = o, g = new Mn(e, o, {
186
186
  width: a,
187
187
  height: c
188
188
  });
@@ -194,10 +194,10 @@ let pe = class extends fe {
194
194
  explicitViewportWidthSet: !1,
195
195
  explicitViewportHeightSet: !1
196
196
  }).closeClip();
197
- const { pageElements: u, pageBackgroundFill: h } = t, C = this._objectProvider.convertToRenderObjects(u, r);
198
- if (!C || !o) return;
199
- this._addBackgroundRect(g, h), g.addObjects(C), g.initTransformer(), C.forEach((v) => {
200
- g.attachTransformerTo(v);
197
+ const { pageElements: u, pageBackgroundFill: h } = t, v = this._objectProvider.convertToRenderObjects(u, r);
198
+ if (!v || !o) return;
199
+ this._addBackgroundRect(g, h), g.addObjects(v), g.initTransformer(), v.forEach((C) => {
200
+ g.attachTransformerTo(C);
201
201
  });
202
202
  const _ = g.getTransformer();
203
203
  return _ == null || _.changeEnd$.subscribe(() => {
@@ -248,16 +248,16 @@ let pe = class extends fe {
248
248
  s && o && s.addPageScene(o), e.appendPage(t), e.setActivePage(t);
249
249
  }
250
250
  };
251
- pe = ai([
251
+ pe = si([
252
252
  Ve(1, X(Ge)),
253
253
  Ve(2, j),
254
254
  Ve(3, Y)
255
255
  ], pe);
256
- var ci = Object.defineProperty, li = Object.getOwnPropertyDescriptor, di = (i, e, t, n) => {
257
- for (var r = n > 1 ? void 0 : n ? li(e, t) : e, s = i.length - 1, o; s >= 0; s--)
256
+ var oi = Object.defineProperty, ai = Object.getOwnPropertyDescriptor, ci = (i, e, t, n) => {
257
+ for (var r = n > 1 ? void 0 : n ? ai(e, t) : e, s = i.length - 1, o; s >= 0; s--)
258
258
  (o = i[s]) && (r = (n ? o(e, t, r) : o(r)) || r);
259
- return n && r && ci(e, t, r), r;
260
- }, ui = (i, e) => (t, n) => e(t, n, i);
259
+ return n && r && oi(e, t, r), r;
260
+ }, li = (i, e) => (t, n) => e(t, n, i);
261
261
  let M = class extends fe {
262
262
  constructor(i) {
263
263
  super(), this._renderManagerService = i;
@@ -290,10 +290,10 @@ let M = class extends fe {
290
290
  this._getSlideRenderControllerFromRenderUnit(i).appendPage();
291
291
  }
292
292
  };
293
- M = di([
294
- ui(0, Y)
293
+ M = ci([
294
+ li(0, Y)
295
295
  ], M);
296
- const mi = "slides-ui.config", ft = {}, At = {
296
+ const di = "slides-ui.config", ft = {}, Lt = {
297
297
  id: "slide.operation.delete-element",
298
298
  type: D.OPERATION,
299
299
  handler: (i, e) => {
@@ -315,35 +315,35 @@ var Be = { exports: {} }, me = {};
315
315
  * LICENSE file in the root directory of this source tree.
316
316
  */
317
317
  var Ct;
318
- function gi() {
318
+ function ui() {
319
319
  if (Ct) return me;
320
320
  Ct = 1;
321
321
  var i = ke, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = 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 };
322
322
  function o(a, c, g) {
323
- var l, u = {}, h = null, C = null;
324
- g !== void 0 && (h = "" + g), c.key !== void 0 && (h = "" + c.key), c.ref !== void 0 && (C = c.ref);
323
+ var l, u = {}, h = null, v = null;
324
+ g !== void 0 && (h = "" + g), c.key !== void 0 && (h = "" + c.key), c.ref !== void 0 && (v = c.ref);
325
325
  for (l in c) n.call(c, l) && !s.hasOwnProperty(l) && (u[l] = c[l]);
326
326
  if (a && a.defaultProps) for (l in c = a.defaultProps, c) u[l] === void 0 && (u[l] = c[l]);
327
- return { $$typeof: e, type: a, key: h, ref: C, props: u, _owner: r.current };
327
+ return { $$typeof: e, type: a, key: h, ref: v, props: u, _owner: r.current };
328
328
  }
329
329
  return me.Fragment = t, me.jsx = o, me.jsxs = o, me;
330
330
  }
331
331
  var vt;
332
- function hi() {
333
- return vt || (vt = 1, Be.exports = gi()), Be.exports;
332
+ function mi() {
333
+ return vt || (vt = 1, Be.exports = ui()), Be.exports;
334
334
  }
335
- var d = hi();
336
- function $t(i) {
335
+ var d = mi();
336
+ function At(i) {
337
337
  var e, t, n = "";
338
338
  if (typeof i == "string" || typeof i == "number") n += i;
339
339
  else if (typeof i == "object") if (Array.isArray(i)) {
340
340
  var r = i.length;
341
- for (e = 0; e < r; e++) i[e] && (t = $t(i[e])) && (n && (n += " "), n += t);
341
+ for (e = 0; e < r; e++) i[e] && (t = At(i[e])) && (n && (n += " "), n += t);
342
342
  } else for (t in i) i[t] && (n && (n += " "), n += t);
343
343
  return n;
344
344
  }
345
345
  function T() {
346
- for (var i, e, t = 0, n = "", r = arguments.length; t < r; t++) (i = arguments[t]) && (e = $t(i)) && (n && (n += " "), n += e);
346
+ for (var i, e, t = 0, n = "", r = arguments.length; t < r; t++) (i = arguments[t]) && (e = At(i)) && (n && (n += " "), n += e);
347
347
  return n;
348
348
  }
349
349
  var N = function() {
@@ -354,7 +354,7 @@ var N = function() {
354
354
  }
355
355
  return i;
356
356
  }, N.apply(this, arguments);
357
- }, pi = function(i, e) {
357
+ }, gi = function(i, e) {
358
358
  var t = {};
359
359
  for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && e.indexOf(n) < 0 && (t[n] = i[n]);
360
360
  if (i != null && typeof Object.getOwnPropertySymbols == "function")
@@ -362,15 +362,15 @@ var N = function() {
362
362
  e.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(i, n[r]) && (t[n[r]] = i[n[r]]);
363
363
  return t;
364
364
  }, H = A(function(i, e) {
365
- var t = i.icon, n = i.id, r = i.className, s = i.extend, o = pi(i, ["icon", "id", "className", "extend"]), a = "univerjs-icon univerjs-icon-".concat(n, " ").concat(r || "").trim(), c = Vt("_".concat(vi()));
366
- return Ht(t, "".concat(n), { defIds: t.defIds, idSuffix: c.current }, N({ ref: e, className: a }, o), s);
365
+ var t = i.icon, n = i.id, r = i.className, s = i.extend, o = gi(i, ["icon", "id", "className", "extend"]), a = "univerjs-icon univerjs-icon-".concat(n, " ").concat(r || "").trim(), c = Ut("_".concat(fi()));
366
+ return $t(t, "".concat(n), { defIds: t.defIds, idSuffix: c.current }, N({ ref: e, className: a }, o), s);
367
367
  });
368
- function Ht(i, e, t, n, r) {
369
- return $(i.tag, N(N({ key: e }, fi(i, t, r)), n), (Ci(i, t).children || []).map(function(s, o) {
370
- return Ht(s, "".concat(e, "-").concat(i.tag, "-").concat(o), t, void 0, r);
368
+ function $t(i, e, t, n, r) {
369
+ return $(i.tag, N(N({ key: e }, hi(i, t, r)), n), (pi(i, t).children || []).map(function(s, o) {
370
+ return $t(s, "".concat(e, "-").concat(i.tag, "-").concat(o), t, void 0, r);
371
371
  }));
372
372
  }
373
- function fi(i, e, t) {
373
+ function hi(i, e, t) {
374
374
  var n = N({}, i.attrs);
375
375
  t != null && t.colorChannel1 && n.fill === "colorChannel1" && (n.fill = t.colorChannel1);
376
376
  var r = e.defIds;
@@ -379,96 +379,96 @@ function fi(i, e, t) {
379
379
  typeof a == "string" && (n[o] = a.replace(/url\(#(.*)\)/, "url(#$1".concat(e.idSuffix, ")")));
380
380
  })), n;
381
381
  }
382
- function Ci(i, e) {
382
+ function pi(i, e) {
383
383
  var t, n = e.defIds;
384
384
  return !n || n.length === 0 ? i : i.tag === "defs" && (!((t = i.children) === null || t === void 0) && t.length) ? N(N({}, i), { children: i.children.map(function(r) {
385
385
  return typeof r.attrs.id == "string" && n && n.indexOf(r.attrs.id) > -1 ? N(N({}, r), { attrs: N(N({}, r.attrs), { id: r.attrs.id + e.idSuffix }) }) : r;
386
386
  }) }) : i;
387
387
  }
388
- function vi() {
388
+ function fi() {
389
389
  return Math.random().toString(36).substring(2, 8);
390
390
  }
391
391
  H.displayName = "UniverIcon";
392
- var _i = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.2498 3.65005C2.2498 2.87685 2.87661 2.25005 3.64981 2.25005H7.9998C8.33118 2.25005 8.5998 1.98142 8.5998 1.65005C8.5998 1.31868 8.33118 1.05005 7.9998 1.05005H3.64981C2.21387 1.05005 1.0498 2.21411 1.0498 3.65005V12.35C1.0498 13.786 2.21386 14.95 3.6498 14.95H12.3498C13.7857 14.95 14.9498 13.786 14.9498 12.3501V8.00005C14.9498 7.66868 14.6812 7.40005 14.3498 7.40005C14.0184 7.40005 13.7498 7.66868 13.7498 8.00005V9.23974L12.2385 8.1063C11.7252 7.72129 11.0068 7.7723 10.5531 8.22605L9.00869 9.77041L6.73916 7.8251C6.24387 7.40055 5.5095 7.41278 5.02864 7.85359L2.2498 10.4009V3.65005ZM2.2498 12.0287V12.35C2.2498 13.1232 2.87661 13.75 3.6498 13.75H12.3498C13.123 13.75 13.7498 13.1232 13.7498 12.3501V10.7397L11.5186 9.06631C11.4829 9.03956 11.433 9.04314 11.4016 9.07458L9.92249 10.5537L11.1015 11.5642C11.3531 11.7799 11.3822 12.1587 11.1666 12.4103C10.9509 12.6619 10.5721 12.691 10.3205 12.4753L5.9582 8.7362C5.92384 8.70674 5.87288 8.70758 5.83952 8.73816L2.2498 12.0287Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M11.8097 1.14783C12.1411 1.14783 12.4097 1.41646 12.4097 1.74783V3.297H14.1541C14.4855 3.297 14.7541 3.56563 14.7541 3.897C14.7541 4.22837 14.4855 4.497 14.1541 4.497H12.4097V6.24167C12.4097 6.57304 12.1411 6.84167 11.8097 6.84167C11.4783 6.84167 11.2097 6.57304 11.2097 6.24167V4.497H9.6603C9.32893 4.497 9.0603 4.22837 9.0603 3.897C9.0603 3.56563 9.32893 3.297 9.6603 3.297H11.2097V1.74783C11.2097 1.41646 11.4783 1.14783 11.8097 1.14783Z" } }] }, Ft = A(function(i, e) {
392
+ var Ci = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.2498 3.65005C2.2498 2.87685 2.87661 2.25005 3.64981 2.25005H7.9998C8.33118 2.25005 8.5998 1.98142 8.5998 1.65005C8.5998 1.31868 8.33118 1.05005 7.9998 1.05005H3.64981C2.21387 1.05005 1.0498 2.21411 1.0498 3.65005V12.35C1.0498 13.786 2.21386 14.95 3.6498 14.95H12.3498C13.7857 14.95 14.9498 13.786 14.9498 12.3501V8.00005C14.9498 7.66868 14.6812 7.40005 14.3498 7.40005C14.0184 7.40005 13.7498 7.66868 13.7498 8.00005V9.23974L12.2385 8.1063C11.7252 7.72129 11.0068 7.7723 10.5531 8.22605L9.00869 9.77041L6.73916 7.8251C6.24387 7.40055 5.5095 7.41278 5.02864 7.85359L2.2498 10.4009V3.65005ZM2.2498 12.0287V12.35C2.2498 13.1232 2.87661 13.75 3.6498 13.75H12.3498C13.123 13.75 13.7498 13.1232 13.7498 12.3501V10.7397L11.5186 9.06631C11.4829 9.03956 11.433 9.04314 11.4016 9.07458L9.92249 10.5537L11.1015 11.5642C11.3531 11.7799 11.3822 12.1587 11.1666 12.4103C10.9509 12.6619 10.5721 12.691 10.3205 12.4753L5.9582 8.7362C5.92384 8.70674 5.87288 8.70758 5.83952 8.73816L2.2498 12.0287Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M11.8097 1.14783C12.1411 1.14783 12.4097 1.41646 12.4097 1.74783V3.297H14.1541C14.4855 3.297 14.7541 3.56563 14.7541 3.897C14.7541 4.22837 14.4855 4.497 14.1541 4.497H12.4097V6.24167C12.4097 6.57304 12.1411 6.84167 11.8097 6.84167C11.4783 6.84167 11.2097 6.57304 11.2097 6.24167V4.497H9.6603C9.32893 4.497 9.0603 4.22837 9.0603 3.897C9.0603 3.56563 9.32893 3.297 9.6603 3.297H11.2097V1.74783C11.2097 1.41646 11.4783 1.14783 11.8097 1.14783Z" } }] }, Ht = A(function(i, e) {
393
393
  return $(H, Object.assign({}, i, {
394
394
  id: "add-image-single",
395
395
  ref: e,
396
- icon: _i
396
+ icon: Ci
397
397
  }));
398
398
  });
399
- Ft.displayName = "AddImageSingle";
400
- var Si = { 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" } }] }, zt = A(function(i, e) {
399
+ Ht.displayName = "AddImageSingle";
400
+ var vi = { 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" } }] }, Ft = A(function(i, e) {
401
401
  return $(H, Object.assign({}, i, {
402
402
  id: "autofill",
403
403
  ref: e,
404
- icon: Si
404
+ icon: vi
405
405
  }));
406
406
  });
407
- zt.displayName = "Autofill";
408
- var Ii = { 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" } }] }, Wt = A(function(i, e) {
407
+ Ft.displayName = "Autofill";
408
+ var _i = { 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" } }] }, zt = A(function(i, e) {
409
409
  return $(H, Object.assign({}, i, {
410
410
  id: "bottom-single",
411
411
  ref: e,
412
- icon: Ii
412
+ icon: _i
413
413
  }));
414
414
  });
415
- Wt.displayName = "BottomSingle";
416
- var Pi = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "g", attrs: { clipPath: "url(#graph-single_clip0_1293_28)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M6.29541 11.1896C3.83208 10.7489 1.9624 8.59552 1.9624 6.00544C1.9624 3.09673 4.32036 0.73877 7.22907 0.73877C9.93483 0.73877 12.164 2.77918 12.4619 5.40527H13.5621C14.998 5.40527 16.1621 6.56933 16.1621 8.00527V12.6719C16.1621 14.1079 14.998 15.2719 13.5621 15.2719H8.89541C7.45947 15.2719 6.29541 14.1079 6.29541 12.6719V11.1896ZM3.1624 6.00544C3.1624 3.75947 4.98311 1.93877 7.22907 1.93877C9.27112 1.93877 10.9616 3.44388 11.2518 5.40527H8.89541C7.45947 5.40527 6.29541 6.56933 6.29541 8.00527V9.96442C4.49946 9.5425 3.1624 7.93012 3.1624 6.00544ZM7.49541 8.00527C7.49541 7.23207 8.12221 6.60527 8.89541 6.60527H13.5621C14.3353 6.60527 14.9621 7.23207 14.9621 8.00527V12.6719C14.9621 13.4451 14.3353 14.0719 13.5621 14.0719H8.89541C8.12221 14.0719 7.49541 13.4451 7.49541 12.6719V8.00527Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, { tag: "defs", attrs: {}, children: [{ tag: "clipPath", attrs: { id: "graph-single_clip0_1293_28" }, children: [{ tag: "path", attrs: { fill: "#fff", d: "M0 0H16V16H0z", transform: "translate(.9)" } }] }] }], defIds: ["graph-single_clip0_1293_28"] }, Kt = A(function(i, e) {
415
+ zt.displayName = "BottomSingle";
416
+ var Si = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "g", attrs: { clipPath: "url(#graph-single_clip0_1293_28)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M6.29541 11.1896C3.83208 10.7489 1.9624 8.59552 1.9624 6.00544C1.9624 3.09673 4.32036 0.73877 7.22907 0.73877C9.93483 0.73877 12.164 2.77918 12.4619 5.40527H13.5621C14.998 5.40527 16.1621 6.56933 16.1621 8.00527V12.6719C16.1621 14.1079 14.998 15.2719 13.5621 15.2719H8.89541C7.45947 15.2719 6.29541 14.1079 6.29541 12.6719V11.1896ZM3.1624 6.00544C3.1624 3.75947 4.98311 1.93877 7.22907 1.93877C9.27112 1.93877 10.9616 3.44388 11.2518 5.40527H8.89541C7.45947 5.40527 6.29541 6.56933 6.29541 8.00527V9.96442C4.49946 9.5425 3.1624 7.93012 3.1624 6.00544ZM7.49541 8.00527C7.49541 7.23207 8.12221 6.60527 8.89541 6.60527H13.5621C14.3353 6.60527 14.9621 7.23207 14.9621 8.00527V12.6719C14.9621 13.4451 14.3353 14.0719 13.5621 14.0719H8.89541C8.12221 14.0719 7.49541 13.4451 7.49541 12.6719V8.00527Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, { tag: "defs", attrs: {}, children: [{ tag: "clipPath", attrs: { id: "graph-single_clip0_1293_28" }, children: [{ tag: "path", attrs: { fill: "#fff", d: "M0 0H16V16H0z", transform: "translate(.9)" } }] }] }], defIds: ["graph-single_clip0_1293_28"] }, Wt = A(function(i, e) {
417
417
  return $(H, Object.assign({}, i, {
418
418
  id: "graph-single",
419
419
  ref: e,
420
- icon: Pi
420
+ icon: Si
421
421
  }));
422
422
  });
423
- Kt.displayName = "GraphSingle";
424
- var bi = { 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" } }] }, qe = A(function(i, e) {
423
+ Wt.displayName = "GraphSingle";
424
+ var Ii = { 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" } }] }, qe = A(function(i, e) {
425
425
  return $(H, Object.assign({}, i, {
426
426
  id: "more-down-single",
427
427
  ref: e,
428
- icon: bi
428
+ icon: Ii
429
429
  }));
430
430
  });
431
431
  qe.displayName = "MoreDownSingle";
432
- var xi = { 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" } }] }, Gt = A(function(i, e) {
432
+ var Pi = { 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" } }] }, Kt = A(function(i, e) {
433
433
  return $(H, Object.assign({}, i, {
434
434
  id: "move-down-single",
435
435
  ref: e,
436
- icon: xi
436
+ icon: Pi
437
437
  }));
438
438
  });
439
- Gt.displayName = "MoveDownSingle";
440
- var Ei = { 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" } }] }, Xt = A(function(i, e) {
439
+ Kt.displayName = "MoveDownSingle";
440
+ var bi = { 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" } }] }, Gt = A(function(i, e) {
441
441
  return $(H, Object.assign({}, i, {
442
442
  id: "move-up-single",
443
443
  ref: e,
444
- icon: Ei
444
+ icon: bi
445
445
  }));
446
446
  });
447
- Xt.displayName = "MoveUpSingle";
448
- var Ri = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1204", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1204)" }, children: [{ tag: "rect", attrs: { width: 12.62, height: 2.79, x: 1.69, y: 12.25, fill: "colorChannel1", rx: 1.4 } }, { tag: "path", attrs: { fill: "currentColor", d: "M7.74646 2.1642C7.34284 1.65121 6.85947 1.28205 6.38447 1.09593C5.86863 0.893787 5.15166 0.852126 4.70047 1.42917C4.29842 1.94344 4.33082 2.70249 4.57691 3.50395C4.68808 3.8661 4.86846 4.22254 5.12522 4.56617C5.13695 4.58185 5.14927 4.5968 5.16211 4.61102C5.17152 4.6214 5.18122 4.63139 5.19115 4.64096C5.20459 4.65393 5.21855 4.66618 5.23296 4.6777L3.5064 6.40422C3.26756 6.64306 3.26756 7.03033 3.5064 7.26919L7.23756 11.0004C7.47648 11.2392 7.86375 11.2392 8.1026 11.0004L12.8329 6.27001C13.0717 6.03117 13.0717 5.6439 12.8329 5.40505L9.10172 1.67387C8.86288 1.43503 8.47561 1.43503 8.23676 1.67387L7.74646 2.1642ZM7.46162 4.50638C7.47252 4.57574 7.48163 4.64652 7.4888 4.71868C7.52232 5.05481 7.82194 5.30013 8.15807 5.26661C8.4942 5.23311 8.73954 4.93345 8.70601 4.59732C8.65786 4.11463 8.54251 3.6666 8.37892 3.26169L8.66928 2.97135L11.5354 5.83753L10.6106 6.76237H4.87824L7.40802 4.2326C7.42885 4.32128 7.44684 4.41255 7.46162 4.50638ZM6.87284 3.03784C6.57441 2.62008 6.22261 2.34634 5.93815 2.23487C5.80233 2.18165 5.71528 2.17827 5.67638 2.18335C5.6725 2.18387 5.66929 2.18443 5.6666 2.18497L5.6619 2.18607C5.64166 2.21954 5.53594 2.45979 5.74626 3.1449C5.81241 3.36036 5.92262 3.58602 6.09307 3.81761L6.87284 3.03784Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M12.1932 11.5463C12.6454 11.5463 13.012 11.1797 13.012 10.7275C13.012 10.4475 12.6981 9.92821 12.459 9.5733C12.3299 9.38173 12.0564 9.38174 11.9274 9.57331C11.6883 9.92822 11.3744 10.4475 11.3744 10.7275C11.3744 11.1797 11.741 11.5463 12.1932 11.5463Z" } }] }] }, Yt = A(function(i, e) {
447
+ Gt.displayName = "MoveUpSingle";
448
+ var xi = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1204", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1204)" }, children: [{ tag: "rect", attrs: { width: 12.62, height: 2.79, x: 1.69, y: 12.25, fill: "colorChannel1", rx: 1.4 } }, { tag: "path", attrs: { fill: "currentColor", d: "M7.74646 2.1642C7.34284 1.65121 6.85947 1.28205 6.38447 1.09593C5.86863 0.893787 5.15166 0.852126 4.70047 1.42917C4.29842 1.94344 4.33082 2.70249 4.57691 3.50395C4.68808 3.8661 4.86846 4.22254 5.12522 4.56617C5.13695 4.58185 5.14927 4.5968 5.16211 4.61102C5.17152 4.6214 5.18122 4.63139 5.19115 4.64096C5.20459 4.65393 5.21855 4.66618 5.23296 4.6777L3.5064 6.40422C3.26756 6.64306 3.26756 7.03033 3.5064 7.26919L7.23756 11.0004C7.47648 11.2392 7.86375 11.2392 8.1026 11.0004L12.8329 6.27001C13.0717 6.03117 13.0717 5.6439 12.8329 5.40505L9.10172 1.67387C8.86288 1.43503 8.47561 1.43503 8.23676 1.67387L7.74646 2.1642ZM7.46162 4.50638C7.47252 4.57574 7.48163 4.64652 7.4888 4.71868C7.52232 5.05481 7.82194 5.30013 8.15807 5.26661C8.4942 5.23311 8.73954 4.93345 8.70601 4.59732C8.65786 4.11463 8.54251 3.6666 8.37892 3.26169L8.66928 2.97135L11.5354 5.83753L10.6106 6.76237H4.87824L7.40802 4.2326C7.42885 4.32128 7.44684 4.41255 7.46162 4.50638ZM6.87284 3.03784C6.57441 2.62008 6.22261 2.34634 5.93815 2.23487C5.80233 2.18165 5.71528 2.17827 5.67638 2.18335C5.6725 2.18387 5.66929 2.18443 5.6666 2.18497L5.6619 2.18607C5.64166 2.21954 5.53594 2.45979 5.74626 3.1449C5.81241 3.36036 5.92262 3.58602 6.09307 3.81761L6.87284 3.03784Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M12.1932 11.5463C12.6454 11.5463 13.012 11.1797 13.012 10.7275C13.012 10.4475 12.6981 9.92821 12.459 9.5733C12.3299 9.38173 12.0564 9.38174 11.9274 9.57331C11.6883 9.92822 11.3744 10.4475 11.3744 10.7275C11.3744 11.1797 11.741 11.5463 12.1932 11.5463Z" } }] }] }, Xt = A(function(i, e) {
449
449
  return $(H, Object.assign({}, i, {
450
450
  id: "paint-bucket",
451
451
  ref: e,
452
- icon: Ri
452
+ icon: xi
453
453
  }));
454
454
  });
455
- Yt.displayName = "PaintBucket";
456
- var Oi = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "g", attrs: { fill: "currentColor", clipPath: "url(#text-single_clip0_1293_26)" }, children: [{ tag: "path", attrs: { d: "M2.22891 2.07227C1.89754 2.07227 1.62891 2.34089 1.62891 2.67227C1.62891 3.00364 1.89754 3.27227 2.22891 3.27227H6.29541V14.0056C6.29541 14.337 6.56404 14.6056 6.89541 14.6056C7.22678 14.6056 7.49541 14.337 7.49541 14.0056V3.27227H11.5622C11.8936 3.27227 12.1622 3.00364 12.1622 2.67227C12.1622 2.34089 11.8936 2.07227 11.5622 2.07227H2.22891Z" } }, { tag: "path", attrs: { d: "M10.2289 6.40552C9.89754 6.40552 9.62891 6.67415 9.62891 7.00552C9.62891 7.33689 9.89754 7.60552 10.2289 7.60552H12.2954V14.0055C12.2954 14.3369 12.564 14.6055 12.8954 14.6055C13.2268 14.6055 13.4954 14.3369 13.4954 14.0055V7.60552H15.5622C15.8936 7.60552 16.1622 7.33689 16.1622 7.00552C16.1622 6.67415 15.8936 6.40552 15.5622 6.40552H10.2289Z" } }] }, { tag: "defs", attrs: {}, children: [{ tag: "clipPath", attrs: { id: "text-single_clip0_1293_26" }, children: [{ tag: "path", attrs: { fill: "#fff", d: "M0 0H16V16H0z", transform: "translate(.9)" } }] }] }], defIds: ["text-single_clip0_1293_26"] }, kt = A(function(i, e) {
455
+ Xt.displayName = "PaintBucket";
456
+ var Ei = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "g", attrs: { fill: "currentColor", clipPath: "url(#text-single_clip0_1293_26)" }, children: [{ tag: "path", attrs: { d: "M2.22891 2.07227C1.89754 2.07227 1.62891 2.34089 1.62891 2.67227C1.62891 3.00364 1.89754 3.27227 2.22891 3.27227H6.29541V14.0056C6.29541 14.337 6.56404 14.6056 6.89541 14.6056C7.22678 14.6056 7.49541 14.337 7.49541 14.0056V3.27227H11.5622C11.8936 3.27227 12.1622 3.00364 12.1622 2.67227C12.1622 2.34089 11.8936 2.07227 11.5622 2.07227H2.22891Z" } }, { tag: "path", attrs: { d: "M10.2289 6.40552C9.89754 6.40552 9.62891 6.67415 9.62891 7.00552C9.62891 7.33689 9.89754 7.60552 10.2289 7.60552H12.2954V14.0055C12.2954 14.3369 12.564 14.6055 12.8954 14.6055C13.2268 14.6055 13.4954 14.3369 13.4954 14.0055V7.60552H15.5622C15.8936 7.60552 16.1622 7.33689 16.1622 7.00552C16.1622 6.67415 15.8936 6.40552 15.5622 6.40552H10.2289Z" } }] }, { tag: "defs", attrs: {}, children: [{ tag: "clipPath", attrs: { id: "text-single_clip0_1293_26" }, children: [{ tag: "path", attrs: { fill: "#fff", d: "M0 0H16V16H0z", transform: "translate(.9)" } }] }] }], defIds: ["text-single_clip0_1293_26"] }, Yt = A(function(i, e) {
457
457
  return $(H, Object.assign({}, i, {
458
458
  id: "text-single",
459
459
  ref: e,
460
- icon: Oi
460
+ icon: Ei
461
461
  }));
462
462
  });
463
- kt.displayName = "TextSingle";
464
- var ji = { 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" } }] }, Zt = A(function(i, e) {
463
+ Yt.displayName = "TextSingle";
464
+ var Ri = { 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" } }] }, kt = A(function(i, e) {
465
465
  return $(H, Object.assign({}, i, {
466
466
  id: "topmost-single",
467
467
  ref: e,
468
- icon: ji
468
+ icon: Ri
469
469
  }));
470
470
  });
471
- Zt.displayName = "TopmostSingle";
471
+ kt.displayName = "TopmostSingle";
472
472
  const K = {
473
473
  id: "slide.operation.update-element",
474
474
  type: D.OPERATION,
@@ -476,38 +476,38 @@ const K = {
476
476
  const { oKey: t, props: n } = e, r = i.get(j), s = e == null ? void 0 : e.unitId, o = r.getUnit(s);
477
477
  if (!o) return !1;
478
478
  const a = o.getActivePage();
479
- return a.pageElements[t] = _n.deepMerge(a.pageElements[t], n), o.updatePage(a.id, a), !0;
480
- }
481
- }, yi = "univer-image-common-panel", Ti = "univer-image-common-panel-grid", Mi = "univer-image-common-panel-border", wi = "univer-image-common-panel-title", Ni = "univer-image-common-panel-subtitle", Di = "univer-image-common-panel-row", Ui = "univer-image-common-panel-row-vertical", Vi = "univer-image-common-panel-column", Bi = "univer-image-common-panel-column-center", Li = "univer-image-common-panel-inline", Ai = "univer-image-common-panel-span2", $i = "univer-image-common-panel-span3", Hi = "univer-image-common-panel-input", Fi = "univer-slide-panel-color-picker", m = {
482
- imageCommonPanel: yi,
483
- imageCommonPanelGrid: Ti,
484
- imageCommonPanelBorder: Mi,
485
- imageCommonPanelTitle: wi,
486
- imageCommonPanelSubtitle: Ni,
487
- imageCommonPanelRow: Di,
488
- imageCommonPanelRowVertical: Ui,
489
- imageCommonPanelColumn: Vi,
490
- imageCommonPanelColumnCenter: Bi,
491
- imageCommonPanelInline: Li,
492
- imageCommonPanelSpan2: Ai,
493
- imageCommonPanelSpan3: $i,
494
- imageCommonPanelInput: Hi,
495
- slidePanelColorPicker: Fi
479
+ return a.pageElements[t] = vn.deepMerge(a.pageElements[t], n), o.updatePage(a.id, a), !0;
480
+ }
481
+ }, Oi = "univer-image-common-panel", ji = "univer-image-common-panel-grid", yi = "univer-image-common-panel-border", Ti = "univer-image-common-panel-title", Mi = "univer-image-common-panel-subtitle", wi = "univer-image-common-panel-row", Ni = "univer-image-common-panel-row-vertical", Di = "univer-image-common-panel-column", Ui = "univer-image-common-panel-column-center", Vi = "univer-image-common-panel-inline", Bi = "univer-image-common-panel-span2", Li = "univer-image-common-panel-span3", Ai = "univer-image-common-panel-input", $i = "univer-slide-panel-color-picker", m = {
482
+ imageCommonPanel: Oi,
483
+ imageCommonPanelGrid: ji,
484
+ imageCommonPanelBorder: yi,
485
+ imageCommonPanelTitle: Ti,
486
+ imageCommonPanelSubtitle: Mi,
487
+ imageCommonPanelRow: wi,
488
+ imageCommonPanelRowVertical: Ni,
489
+ imageCommonPanelColumn: Di,
490
+ imageCommonPanelColumnCenter: Ui,
491
+ imageCommonPanelInline: Vi,
492
+ imageCommonPanelSpan2: Bi,
493
+ imageCommonPanelSpan3: Li,
494
+ imageCommonPanelInput: Ai,
495
+ slidePanelColorPicker: $i
496
496
  };
497
- function zi(i) {
498
- const { pageId: e, unitId: t } = i, n = O(ee), r = O(M), s = O(U), o = r.getRenderUnitByPageId(e, t), a = o == null ? void 0 : o.scene;
497
+ function Hi(i) {
498
+ const { pageId: e, unitId: t } = i, n = O(Q), r = O(M), s = O(U), o = r.getRenderUnitByPageId(e, t), a = o == null ? void 0 : o.scene;
499
499
  if (!a) return null;
500
500
  const c = a.getTransformer();
501
501
  if (!c) return null;
502
502
  const l = c.getSelectedObjectMap().values().next().value;
503
503
  if (!l) return null;
504
504
  const u = (h) => {
505
- const C = a.getAllObjects(), [_, v] = C.reduce(([f, I], b) => {
505
+ const v = a.getAllObjects(), [_, C] = v.reduce(([f, I], b) => {
506
506
  const E = b.zIndex, w = E < f ? E : f, V = E > I ? E : I;
507
507
  return [w, V];
508
508
  }, [0, 0]);
509
509
  let p = l.zIndex;
510
- h === 3 ? p = _ - 1 : h === 2 ? p = v + 1 : h === 0 ? p = l.zIndex + 1 : h === 1 && (p = l.zIndex - 1), l.setProps({
510
+ h === 3 ? p = _ - 1 : h === 2 ? p = C + 1 : h === 0 ? p = l.zIndex + 1 : h === 1 && (p = l.zIndex - 1), l.setProps({
511
511
  zIndex: p
512
512
  }), s.executeCommand(K.id, {
513
513
  unitId: t,
@@ -526,7 +526,7 @@ function zi(i) {
526
526
  /* forward */
527
527
  );
528
528
  }, children: /* @__PURE__ */ d.jsxs("span", { className: m.imageCommonPanelInline, children: [
529
- /* @__PURE__ */ d.jsx(Xt, {}),
529
+ /* @__PURE__ */ d.jsx(Gt, {}),
530
530
  n.t("image-panel.arrange.forward")
531
531
  ] }) }) }),
532
532
  /* @__PURE__ */ d.jsx("div", { className: T(m.imageCommonPanelColumn, m.imageCommonPanelSpan2), children: /* @__PURE__ */ d.jsx(Pe, { size: "small", onClick: () => {
@@ -535,7 +535,7 @@ function zi(i) {
535
535
  /* backward */
536
536
  );
537
537
  }, children: /* @__PURE__ */ d.jsxs("span", { className: m.imageCommonPanelInline, children: [
538
- /* @__PURE__ */ d.jsx(Gt, {}),
538
+ /* @__PURE__ */ d.jsx(Kt, {}),
539
539
  n.t("image-panel.arrange.backward")
540
540
  ] }) }) })
541
541
  ] }),
@@ -546,7 +546,7 @@ function zi(i) {
546
546
  /* front */
547
547
  );
548
548
  }, children: /* @__PURE__ */ d.jsxs("span", { className: m.imageCommonPanelInline, children: [
549
- /* @__PURE__ */ d.jsx(Zt, {}),
549
+ /* @__PURE__ */ d.jsx(kt, {}),
550
550
  n.t("image-panel.arrange.front")
551
551
  ] }) }) }),
552
552
  /* @__PURE__ */ d.jsx("div", { className: T(m.imageCommonPanelColumn, m.imageCommonPanelSpan2), children: /* @__PURE__ */ d.jsx(Pe, { size: "small", onClick: () => {
@@ -555,14 +555,14 @@ function zi(i) {
555
555
  /* back */
556
556
  );
557
557
  }, children: /* @__PURE__ */ d.jsxs("span", { className: m.imageCommonPanelInline, children: [
558
- /* @__PURE__ */ d.jsx(Wt, {}),
558
+ /* @__PURE__ */ d.jsx(zt, {}),
559
559
  n.t("image-panel.arrange.back")
560
560
  ] }) }) })
561
561
  ] })
562
562
  ] });
563
563
  }
564
- function Wi(i) {
565
- const { pageId: e, unitId: t } = i, n = O(ee), r = O(M), s = O(U), o = r.getRenderUnitByPageId(e, t), a = o == null ? void 0 : o.scene;
564
+ function Fi(i) {
565
+ const { pageId: e, unitId: t } = i, n = O(Q), r = O(M), s = O(U), o = r.getRenderUnitByPageId(e, t), a = o == null ? void 0 : o.scene;
566
566
  if (!a) return null;
567
567
  const c = a.getTransformer();
568
568
  if (!c) return null;
@@ -571,20 +571,20 @@ function Wi(i) {
571
571
  const {
572
572
  width: u = 0,
573
573
  height: h = 0,
574
- left: C = 0,
574
+ left: v = 0,
575
575
  top: _ = 0,
576
- angle: v = 0
577
- } = l, [p, f] = W(u), [I, b] = W(h), [E, w] = W(C), [V, R] = W(_), [G, ce] = W(v), F = (S) => {
576
+ angle: C = 0
577
+ } = l, [p, f] = W(u), [I, b] = W(h), [E, w] = W(v), [V, R] = W(_), [G, ce] = W(C), F = (S) => {
578
578
  const { objects: le } = S, de = le.values().next().value, {
579
- width: dn = 0,
580
- height: un = 0,
581
- left: mn = 0,
582
- top: gn = 0,
583
- angle: hn = 0
579
+ width: ln = 0,
580
+ height: dn = 0,
581
+ left: un = 0,
582
+ top: mn = 0,
583
+ angle: gn = 0
584
584
  } = de;
585
- f(dn), b(un), w(mn), R(gn), ce(hn);
585
+ f(ln), b(dn), w(un), R(mn), ce(gn);
586
586
  };
587
- ae(() => {
587
+ oe(() => {
588
588
  const S = c.changeStart$.subscribe((de) => {
589
589
  F(de);
590
590
  }), le = c.changing$.subscribe((de) => {
@@ -603,7 +603,7 @@ function Wi(i) {
603
603
  }
604
604
  }), l == null || l.resize(S, l.height), f(S), c == null || c.refreshControls());
605
605
  }
606
- function te(S) {
606
+ function ee(S) {
607
607
  !S || !l || (s.executeCommand(K.id, {
608
608
  pageId: e,
609
609
  oKey: l.oKey,
@@ -612,7 +612,7 @@ function Wi(i) {
612
612
  }
613
613
  }), l == null || l.resize(l.width, S), b(S), c == null || c.refreshControls());
614
614
  }
615
- function ne(S) {
615
+ function te(S) {
616
616
  !S || !l || (s.executeCommand(K.id, {
617
617
  pageId: e,
618
618
  oKey: l.oKey,
@@ -671,7 +671,7 @@ function Wi(i) {
671
671
  min: 1,
672
672
  value: I,
673
673
  onChange: (S) => {
674
- te(S);
674
+ ee(S);
675
675
  }
676
676
  }
677
677
  ) }) })
@@ -688,7 +688,7 @@ function Wi(i) {
688
688
  min: 0,
689
689
  value: E,
690
690
  onChange: (S) => {
691
- ne(S);
691
+ te(S);
692
692
  }
693
693
  }
694
694
  ) }) })
@@ -725,16 +725,16 @@ function Wi(i) {
725
725
  }
726
726
  );
727
727
  }
728
- function Ki(i) {
729
- var _, v;
730
- const { pageId: e, unitId: t } = i, n = O(ee), r = O(M), s = O(U), o = r.getRenderUnitByPageId(e, t), a = o == null ? void 0 : o.scene;
728
+ function zi(i) {
729
+ var _, C;
730
+ const { pageId: e, unitId: t } = i, n = O(Q), r = O(M), s = O(U), o = r.getRenderUnitByPageId(e, t), a = o == null ? void 0 : o.scene;
731
731
  if (!a) return null;
732
732
  const c = a.getTransformer();
733
733
  if (!c) return null;
734
734
  const l = c.getSelectedObjectMap().values().next().value;
735
735
  if (!l) return null;
736
- const [u, h] = ke.useState((v = (_ = l.fill) == null ? void 0 : _.toString()) != null ? v : "");
737
- function C(p) {
736
+ const [u, h] = ke.useState((C = (_ = l.fill) == null ? void 0 : _.toString()) != null ? C : "");
737
+ function v(p) {
738
738
  l == null || l.setProps({
739
739
  fill: p
740
740
  }), s.executeCommand(K.id, {
@@ -758,20 +758,20 @@ function Ki(i) {
758
758
  children: /* @__PURE__ */ d.jsxs("div", { className: m.imageCommonPanelGrid, children: [
759
759
  /* @__PURE__ */ d.jsx("div", { className: m.imageCommonPanelRow, children: /* @__PURE__ */ d.jsx("div", { className: T(m.imageCommonPanelColumn, m.imageCommonPanelTitle), children: /* @__PURE__ */ d.jsx("div", { children: n.t("slide.panel.fill.title") }) }) }),
760
760
  /* @__PURE__ */ d.jsx("div", { className: m.imageCommonPanelRow, children: /* @__PURE__ */ d.jsx("div", { className: T(m.imageCommonPanelColumn, m.imageCommonPanelSpan2), children: /* @__PURE__ */ d.jsx(
761
- Bt,
761
+ Vt,
762
762
  {
763
763
  align: {
764
764
  offset: [0, 18]
765
765
  },
766
766
  overlay: /* @__PURE__ */ d.jsx("section", { className: m.slidePanelColorPicker, children: /* @__PURE__ */ d.jsx(
767
- Kn,
767
+ Wn,
768
768
  {
769
769
  value: "#fff",
770
- onChange: C
770
+ onChange: v
771
771
  }
772
772
  ) }),
773
773
  children: /* @__PURE__ */ d.jsxs("a", { className: m.uiPluginSheetsBorderPanelButton, children: [
774
- /* @__PURE__ */ d.jsx(Yt, { extend: { colorChannel1: u != null ? u : "rgb(var(--primary-color))" } }),
774
+ /* @__PURE__ */ d.jsx(Xt, { extend: { colorChannel1: u != null ? u : "rgb(var(--primary-color))" } }),
775
775
  /* @__PURE__ */ d.jsx("span", { className: m.uiPluginSheetsBorderPanelMoreIcon, children: /* @__PURE__ */ d.jsx(qe, {}) })
776
776
  ] })
777
777
  }
@@ -780,22 +780,22 @@ function Ki(i) {
780
780
  }
781
781
  );
782
782
  }
783
- const Gi = "univer-image-common-panel", Xi = "univer-image-common-panel-grid", Yi = "univer-image-common-panel-border", ki = "univer-image-common-panel-title", Zi = "univer-image-common-panel-subtitle", qi = "univer-image-common-panel-row", Ji = "univer-image-common-panel-row-vertical", Qi = "univer-image-common-panel-column", er = "univer-image-common-panel-column-center", tr = "univer-image-common-panel-inline", nr = "univer-image-common-panel-span2", ir = "univer-image-common-panel-span3", rr = "univer-image-common-panel-input", sr = {
784
- imageCommonPanel: Gi,
785
- imageCommonPanelGrid: Xi,
786
- imageCommonPanelBorder: Yi,
787
- imageCommonPanelTitle: ki,
788
- imageCommonPanelSubtitle: Zi,
789
- imageCommonPanelRow: qi,
790
- imageCommonPanelRowVertical: Ji,
791
- imageCommonPanelColumn: Qi,
792
- imageCommonPanelColumnCenter: er,
793
- imageCommonPanelInline: tr,
794
- imageCommonPanelSpan2: nr,
795
- imageCommonPanelSpan3: ir,
796
- imageCommonPanelInput: rr
783
+ const Wi = "univer-image-common-panel", Ki = "univer-image-common-panel-grid", Gi = "univer-image-common-panel-border", Xi = "univer-image-common-panel-title", Yi = "univer-image-common-panel-subtitle", ki = "univer-image-common-panel-row", Zi = "univer-image-common-panel-row-vertical", qi = "univer-image-common-panel-column", Ji = "univer-image-common-panel-column-center", Qi = "univer-image-common-panel-inline", er = "univer-image-common-panel-span2", tr = "univer-image-common-panel-span3", nr = "univer-image-common-panel-input", ir = {
784
+ imageCommonPanel: Wi,
785
+ imageCommonPanelGrid: Ki,
786
+ imageCommonPanelBorder: Gi,
787
+ imageCommonPanelTitle: Xi,
788
+ imageCommonPanelSubtitle: Yi,
789
+ imageCommonPanelRow: ki,
790
+ imageCommonPanelRowVertical: Zi,
791
+ imageCommonPanelColumn: qi,
792
+ imageCommonPanelColumnCenter: Ji,
793
+ imageCommonPanelInline: Qi,
794
+ imageCommonPanelSpan2: er,
795
+ imageCommonPanelSpan3: tr,
796
+ imageCommonPanelInput: nr
797
797
  }, Re = "COMPONENT_SLIDE_SIDEBAR";
798
- function or() {
798
+ function rr() {
799
799
  var g, l, u;
800
800
  const i = O(j), e = O(M), t = i.getCurrentUnitForType(x.UNIVER_SLIDE), n = (g = t == null ? void 0 : t.getActivePage()) == null ? void 0 : g.id;
801
801
  if (!n) return null;
@@ -805,10 +805,10 @@ function or() {
805
805
  if (!a)
806
806
  return null;
807
807
  const c = ((u = i.getFocusedUnit()) == null ? void 0 : u.getUnitId()) || "";
808
- return /* @__PURE__ */ d.jsxs("section", { className: sr.imageCommonPanel, children: [
809
- /* @__PURE__ */ d.jsx(zi, { pageId: n, unitId: c }),
810
- /* @__PURE__ */ d.jsx(Wi, { pageId: n, unitId: c }),
811
- a.objectType === he.RECT && /* @__PURE__ */ d.jsx(Ki, { pageId: n, unitId: c })
808
+ return /* @__PURE__ */ d.jsxs("section", { className: ir.imageCommonPanel, children: [
809
+ /* @__PURE__ */ d.jsx(Hi, { pageId: n, unitId: c }),
810
+ /* @__PURE__ */ d.jsx(Fi, { pageId: n, unitId: c }),
811
+ a.objectType === he.RECT && /* @__PURE__ */ d.jsx(zi, { pageId: n, unitId: c })
812
812
  ] });
813
813
  }
814
814
  const Je = {
@@ -817,13 +817,13 @@ const Je = {
817
817
  handler: async (i) => {
818
818
  var r;
819
819
  const e = i.get(U), n = (r = i.get(j).getFocusedUnit()) == null ? void 0 : r.getUnitId();
820
- return e.executeCommand(qt.id, { unitId: n });
820
+ return e.executeCommand(Zt.id, { unitId: n });
821
821
  }
822
- }, qt = {
822
+ }, Zt = {
823
823
  id: "slide.operation.insert-float-shape",
824
824
  type: D.OPERATION,
825
825
  handler: async (i, e) => {
826
- const t = Et(6), n = i.get(j), r = e.unitId, s = n.getUnit(r);
826
+ const t = xt(6), n = i.get(j), r = e.unitId, s = n.getUnit(r);
827
827
  if (!s) return !1;
828
828
  const o = s.getActivePage(), a = Object.values(o.pageElements), c = a != null && a.length ? Math.max(...a.map((h) => h.zIndex)) : 20, g = {
829
829
  id: t,
@@ -836,7 +836,7 @@ const Je = {
836
836
  description: "",
837
837
  type: Xe.SHAPE,
838
838
  shape: {
839
- shapeType: Sn.Rect,
839
+ shapeType: _n.Rect,
840
840
  text: "",
841
841
  shapeProperties: {
842
842
  shapeBackgroundFill: {
@@ -853,7 +853,7 @@ const Je = {
853
853
  id: "sidebar.operation.slide-shape",
854
854
  type: D.COMMAND,
855
855
  handler: async (i, e) => {
856
- const { visible: t, objectType: n } = e, r = i.get(Ut), s = i.get(ee);
856
+ const { visible: t, objectType: n } = e, r = i.get(Dt), s = i.get(Q);
857
857
  let o = "", a = "";
858
858
  return n === he.RECT ? (o = "slide.sidebar.shape", a = Re) : n === he.IMAGE ? (o = "slide.sidebar.image", a = Re) : n === he.RICH_TEXT && (o = "slide.sidebar.text", a = Re), t ? r.open({
859
859
  header: { title: s.t(o) },
@@ -863,13 +863,13 @@ const Je = {
863
863
  width: 360
864
864
  }) : r.close(), !0;
865
865
  }
866
- }, Jt = "COMPONENT_SLIDE_IMAGE_POPUP_MENU";
867
- var ar = Object.defineProperty, cr = Object.getOwnPropertyDescriptor, lr = (i, e, t, n) => {
868
- for (var r = n > 1 ? void 0 : n ? cr(e, t) : e, s = i.length - 1, o; s >= 0; s--)
866
+ }, qt = "COMPONENT_SLIDE_IMAGE_POPUP_MENU";
867
+ var sr = Object.defineProperty, or = Object.getOwnPropertyDescriptor, ar = (i, e, t, n) => {
868
+ for (var r = n > 1 ? void 0 : n ? or(e, t) : e, s = i.length - 1, o; s >= 0; s--)
869
869
  (o = i[s]) && (r = (n ? o(e, t, r) : o(r)) || r);
870
- return n && r && ar(e, t, r), r;
870
+ return n && r && sr(e, t, r), r;
871
871
  }, be = (i, e) => (t, n) => e(t, n, i);
872
- function dr(i, e) {
872
+ function cr(i, e) {
873
873
  const t = _t(i.left, i.top, e), n = _t(i.right, i.bottom, e);
874
874
  return {
875
875
  left: t.x,
@@ -879,7 +879,7 @@ function dr(i, e) {
879
879
  };
880
880
  }
881
881
  function _t(i, e, t) {
882
- const { scaleX: n, scaleY: r } = t.getAncestorScale(), s = t.getViewport(oe.VIEW);
882
+ const { scaleX: n, scaleY: r } = t.getAncestorScale(), s = t.getViewport(se.VIEW);
883
883
  if (!s)
884
884
  return {
885
885
  x: i,
@@ -897,18 +897,18 @@ let ye = class extends Ue {
897
897
  }
898
898
  _createObjectPositionObserver(i, e) {
899
899
  const n = (() => {
900
- var F, z, te, ne;
901
- const { scene: o, engine: a } = e, { left: c, top: g, width: l, height: u } = i, h = (o.width - ((z = (F = e.mainComponent) == null ? void 0 : F.width) != null ? z : 0)) / 2, C = (o.height - ((ne = (te = e.mainComponent) == null ? void 0 : te.height) != null ? ne : 0)) / 2, _ = {
900
+ var F, z, ee, te;
901
+ const { scene: o, engine: a } = e, { left: c, top: g, width: l, height: u } = i, h = (o.width - ((z = (F = e.mainComponent) == null ? void 0 : F.width) != null ? z : 0)) / 2, v = (o.height - ((te = (ee = e.mainComponent) == null ? void 0 : ee.height) != null ? te : 0)) / 2, _ = {
902
902
  left: c,
903
903
  right: c + l,
904
904
  top: g,
905
905
  bottom: g + u
906
- }, v = a.getCanvasElement(), p = v.getBoundingClientRect(), f = Nn(v.style.width), { scaleX: I, scaleY: b } = o.getAncestorScale(), E = dr(_, o), { top: w, left: V, width: R } = p, G = R / f;
906
+ }, C = a.getCanvasElement(), p = C.getBoundingClientRect(), f = wn(C.style.width), { scaleX: I, scaleY: b } = o.getAncestorScale(), E = cr(_, o), { top: w, left: V, width: R } = p, G = R / f;
907
907
  return {
908
908
  left: E.left * G * I + V + h,
909
909
  right: E.right * G * I + V + h,
910
- top: E.top * G * b + w + C,
911
- bottom: E.bottom * G * b + w + C
910
+ top: E.top * G * b + w + v,
911
+ bottom: E.bottom * G * b + w + v
912
912
  };
913
913
  })(), r = new J(n), s = new Ye();
914
914
  return {
@@ -939,16 +939,16 @@ let ye = class extends Ue {
939
939
  };
940
940
  }
941
941
  };
942
- ye = lr([
943
- be(0, X(Un)),
942
+ ye = ar([
943
+ be(0, X(Dn)),
944
944
  be(1, Y),
945
945
  be(2, j),
946
946
  be(3, U)
947
947
  ], ye);
948
- var ur = Object.defineProperty, mr = Object.getOwnPropertyDescriptor, gr = (i, e, t, n) => {
949
- for (var r = n > 1 ? void 0 : n ? mr(e, t) : e, s = i.length - 1, o; s >= 0; s--)
948
+ var lr = Object.defineProperty, dr = Object.getOwnPropertyDescriptor, ur = (i, e, t, n) => {
949
+ for (var r = n > 1 ? void 0 : n ? dr(e, t) : e, s = i.length - 1, o; s >= 0; s--)
950
950
  (o = i[s]) && (r = (n ? o(e, t, r) : o(r)) || r);
951
- return n && r && ur(e, t, r), r;
951
+ return n && r && lr(e, t, r), r;
952
952
  }, Z = (i, e) => (t, n) => e(t, n, i);
953
953
  let Te = class extends fe {
954
954
  constructor(e, t, n, r, s, o, a) {
@@ -977,7 +977,7 @@ let Te = class extends fe {
977
977
  if (!a) return;
978
978
  let c;
979
979
  this.disposeWithMe(
980
- Rt(
980
+ Et(
981
981
  a.createControl$.subscribe(() => {
982
982
  const l = a.getSelectedObjectMap();
983
983
  if (l.size > 1) {
@@ -989,7 +989,7 @@ let Te = class extends fe {
989
989
  return;
990
990
  const h = u.oKey;
991
991
  c == null || c.dispose(), c = this.disposeWithMe(this._canvasPopManagerService.attachPopupToObject(u, {
992
- componentKey: Jt,
992
+ componentKey: qt,
993
993
  direction: "horizontal",
994
994
  offset: [2, 0],
995
995
  extraProps: {
@@ -1003,7 +1003,7 @@ let Te = class extends fe {
1003
1003
  )
1004
1004
  ), this.disposeWithMe(
1005
1005
  a.clearControl$.subscribe(() => {
1006
- c == null || c.dispose(), this._contextService.setContextValue(In, !1);
1006
+ c == null || c.dispose(), this._contextService.setContextValue(Sn, !1);
1007
1007
  })
1008
1008
  ), this.disposeWithMe(
1009
1009
  a.changing$.subscribe(() => {
@@ -1041,7 +1041,7 @@ let Te = class extends fe {
1041
1041
  }, {
1042
1042
  label: "slide.popup.delete",
1043
1043
  index: 5,
1044
- commandId: At.id,
1044
+ commandId: Lt.id,
1045
1045
  commandParams: {
1046
1046
  id: t,
1047
1047
  unitId: n
@@ -1050,30 +1050,30 @@ let Te = class extends fe {
1050
1050
  }];
1051
1051
  }
1052
1052
  };
1053
- Te = gr([
1053
+ Te = ur([
1054
1054
  Z(0, X(ye)),
1055
1055
  Z(1, Y),
1056
1056
  Z(2, j),
1057
1057
  Z(3, Ce),
1058
1058
  Z(4, X(M)),
1059
- Z(5, Ut),
1059
+ Z(5, Dt),
1060
1060
  Z(6, U)
1061
1061
  ], Te);
1062
1062
  const Me = {
1063
1063
  id: "slide.operation.edit-arrow",
1064
1064
  type: D.OPERATION,
1065
1065
  handler: () => !0
1066
- }, Q = Pn("SLIDE_EDITOR");
1067
- var hr = Object.defineProperty, pr = Object.getOwnPropertyDescriptor, fr = (i, e, t, n) => {
1068
- for (var r = n > 1 ? void 0 : n ? pr(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1066
+ }, ae = In("SLIDE_EDITOR");
1067
+ var mr = Object.defineProperty, gr = Object.getOwnPropertyDescriptor, hr = (i, e, t, n) => {
1068
+ for (var r = n > 1 ? void 0 : n ? gr(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1069
1069
  (o = i[s]) && (r = (n ? o(e, t, r) : o(r)) || r);
1070
- return n && r && hr(e, t, r), r;
1070
+ return n && r && mr(e, t, r), r;
1071
1071
  }, Le = (i, e) => (t, n) => e(t, n, i);
1072
- const Qe = Ot("univer.slide-editor-bridge.service");
1072
+ const Qe = Rt("univer.slide-editor-bridge.service");
1073
1073
  let Fe = class extends Ue {
1074
1074
  constructor(e, t, n) {
1075
1075
  super();
1076
- P(this, "_editorUnitId", Q);
1076
+ P(this, "_editorUnitId", ae);
1077
1077
  P(this, "_isForceKeepVisible", !1);
1078
1078
  P(this, "_editorIsDirty", !1);
1079
1079
  P(this, "_currentEditRectState", null);
@@ -1088,7 +1088,7 @@ let Fe = class extends Ue {
1088
1088
  P(this, "visible$", this._visible$.asObservable());
1089
1089
  P(this, "_afterVisible$", new J(this._visibleParam));
1090
1090
  P(this, "afterVisible$", this._afterVisible$.asObservable());
1091
- P(this, "endEditing$", new Lt());
1091
+ P(this, "endEditing$", new Bt());
1092
1092
  P(this, "_currentEditRectInfo");
1093
1093
  this._editorService = e, this._contextService = t, this._renderManagerService = n;
1094
1094
  }
@@ -1103,7 +1103,7 @@ let Fe = class extends Ue {
1103
1103
  * @editorInfo editorInfo
1104
1104
  */
1105
1105
  setEditorRect(e) {
1106
- this._currentEditRectInfo = e, this._editorService.getFocusEditor() || (this._editorService.focus(Q), this._contextService.setContextValue(Oe, !1), this._contextService.setContextValue(jt, !1), this._contextService.setContextValue(yt, !1));
1106
+ this._currentEditRectInfo = e, this._editorService.getFocusEditor() || (this._editorService.focus(ae), this._contextService.setContextValue(Oe, !1), this._contextService.setContextValue(Ot, !1), this._contextService.setContextValue(jt, !1));
1107
1107
  const t = this.getEditRectState();
1108
1108
  this._currentEditRectState = t, this._currentEditRectState$.next(t);
1109
1109
  }
@@ -1117,25 +1117,25 @@ let Fe = class extends Ue {
1117
1117
  * && this@setEditorRect
1118
1118
  */
1119
1119
  getEditRectState() {
1120
- const e = Q, t = this._currentEditRectInfo, n = t.unitId, r = t.richTextObj.documentData;
1120
+ const e = ae, t = this._currentEditRectInfo, n = t.unitId, r = t.richTextObj.documentData;
1121
1121
  r.id = e, r.documentStyle = {
1122
1122
  ...r.documentStyle,
1123
1123
  pageSize: { width: t.richTextObj.width, height: 1 / 0 }
1124
1124
  };
1125
1125
  const o = {
1126
- documentModel: new bn(r),
1126
+ documentModel: new Pn(r),
1127
1127
  fontString: "document",
1128
1128
  textRotation: { a: 0, v: 0 },
1129
1129
  wrapStrategy: 0,
1130
1130
  verticalAlign: je.TOP,
1131
- horizontalAlign: Tt.LEFT,
1131
+ horizontalAlign: yt.LEFT,
1132
1132
  paddingData: { t: 0, b: 1, l: 2, r: 2 }
1133
1133
  }, a = t.richTextObj.width, c = t.richTextObj.height, g = t.richTextObj.left, l = t.richTextObj.top, u = {
1134
1134
  left: 0,
1135
1135
  top: 0
1136
- }, h = this._renderManagerService.getRenderById(n), C = h == null ? void 0 : h.scene, _ = C == null ? void 0 : C.getViewport(oe.VIEW), v = C == null ? void 0 : C.getObject(oe.COMPONENT), p = {
1137
- x: (v == null ? void 0 : v.left) || 0,
1138
- y: (v == null ? void 0 : v.top) || 0
1136
+ }, h = this._renderManagerService.getRenderById(n), v = h == null ? void 0 : h.scene, _ = v == null ? void 0 : v.getViewport(se.VIEW), C = v == null ? void 0 : v.getObject(se.COMPONENT), p = {
1137
+ x: (C == null ? void 0 : C.left) || 0,
1138
+ y: (C == null ? void 0 : C.top) || 0
1139
1139
  }, f = (_ == null ? void 0 : _.viewportScrollX) || 0, I = (_ == null ? void 0 : _.viewportScrollY) || 0;
1140
1140
  return u.left = p.x - f, u.top = p.y - I, {
1141
1141
  position: {
@@ -1207,12 +1207,12 @@ let Fe = class extends Ue {
1207
1207
  };
1208
1208
  }
1209
1209
  };
1210
- Fe = fr([
1210
+ Fe = hr([
1211
1211
  Le(0, Ze),
1212
1212
  Le(1, Ce),
1213
1213
  Le(2, Y)
1214
1214
  ], Fe);
1215
- class Cr {
1215
+ class pr {
1216
1216
  constructor() {
1217
1217
  P(this, "_state", null);
1218
1218
  P(this, "_rect", null);
@@ -1246,15 +1246,15 @@ class Cr {
1246
1246
  this._state$.next(e);
1247
1247
  }
1248
1248
  }
1249
- const et = Ot(
1249
+ const et = Rt(
1250
1250
  "univer.slide-editor-manager.service"
1251
1251
  );
1252
- var k = /* @__PURE__ */ ((i) => (i[i.InitialState = 0] = "InitialState", i[i.StartEditor = 1] = "StartEditor", i[i.CursorChange = 2] = "CursorChange", i))(k || {}), vr = Object.defineProperty, _r = Object.getOwnPropertyDescriptor, Sr = (i, e, t, n) => {
1253
- for (var r = n > 1 ? void 0 : n ? _r(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1252
+ var k = /* @__PURE__ */ ((i) => (i[i.InitialState = 0] = "InitialState", i[i.StartEditor = 1] = "StartEditor", i[i.CursorChange = 2] = "CursorChange", i))(k || {}), fr = Object.defineProperty, Cr = Object.getOwnPropertyDescriptor, vr = (i, e, t, n) => {
1253
+ for (var r = n > 1 ? void 0 : n ? Cr(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1254
1254
  (o = i[s]) && (r = (n ? o(e, t, r) : o(r)) || r);
1255
- return n && r && vr(e, t, r), r;
1255
+ return n && r && fr(e, t, r), r;
1256
1256
  }, L = (i, e) => (t, n) => e(t, n, i);
1257
- const St = -1e3, It = 5, Ir = 2;
1257
+ const St = -1e3, It = 5, _r = 2;
1258
1258
  let ze = class extends Ue {
1259
1259
  constructor(e, t, n, r, s, o, a, c, g, l, u, h) {
1260
1260
  super();
@@ -1265,8 +1265,8 @@ let ze = class extends Ue {
1265
1265
  /** If the corresponding unit is active and prepared for editing. */
1266
1266
  P(this, "_isUnitEditing", !1);
1267
1267
  P(this, "_d");
1268
- this._renderContext = e, this._layoutService = t, this._undoRedoService = n, this._contextService = r, this._instanceSrv = s, this._renderManagerService = o, this._editorBridgeService = a, this._cellEditorManagerService = c, this._textSelectionManagerService = g, this._commandService = l, this._localService = u, this._editorService = h, this.disposeWithMe(this._instanceSrv.getCurrentTypeOfUnit$(x.UNIVER_SLIDE).subscribe((C) => {
1269
- C && C.getUnitId() === this._renderContext.unitId ? this._d = this._init() : (this._disposeCurrent(), this._isUnitEditing && (this._handleEditorInvisible({
1268
+ this._renderContext = e, this._layoutService = t, this._undoRedoService = n, this._contextService = r, this._instanceSrv = s, this._renderManagerService = o, this._editorBridgeService = a, this._cellEditorManagerService = c, this._textSelectionManagerService = g, this._commandService = l, this._localService = u, this._editorService = h, this.disposeWithMe(this._instanceSrv.getCurrentTypeOfUnit$(x.UNIVER_SLIDE).subscribe((v) => {
1269
+ v && v.getUnitId() === this._renderContext.unitId ? this._d = this._init() : (this._disposeCurrent(), this._isUnitEditing && (this._handleEditorInvisible({
1270
1270
  visible: !1,
1271
1271
  eventType: q.Keyboard,
1272
1272
  keycode: y.ESC,
@@ -1306,7 +1306,7 @@ let ze = class extends Ue {
1306
1306
  return (t = this._renderManagerService.getRenderById(e)) == null ? void 0 : t.with(gt).getViewModel();
1307
1307
  }
1308
1308
  _initialCursorSync(e) {
1309
- e.add(this._cellEditorManagerService.focus$.pipe(Xn((t) => !!t)).subscribe(() => {
1309
+ e.add(this._cellEditorManagerService.focus$.pipe(Gn((t) => !!t)).subscribe(() => {
1310
1310
  var n;
1311
1311
  const t = (n = this._renderManagerService.getCurrentTypeOfRenderer(x.UNIVER_DOC)) == null ? void 0 : n.with(ht);
1312
1312
  t && t.sync();
@@ -1319,7 +1319,7 @@ let ze = class extends Ue {
1319
1319
  _subscribeToCurrentCell(e) {
1320
1320
  e.add(this._editorBridgeService.currentEditRectState$.subscribe((t) => {
1321
1321
  var h;
1322
- if (t == null || this._contextService.getContextValue(jt) || this._contextService.getContextValue(yt))
1322
+ if (t == null || this._contextService.getContextValue(Ot) || this._contextService.getContextValue(jt))
1323
1323
  return;
1324
1324
  const {
1325
1325
  position: { startX: n, endX: r },
@@ -1327,7 +1327,7 @@ let ze = class extends Ue {
1327
1327
  scaleX: c,
1328
1328
  editorUnitId: g
1329
1329
  } = t, { vertexAngle: l } = at(s);
1330
- a.updateDocumentId(g), o === it.WRAP && l === 0 && a.updateDocumentDataPageSize((r - n) / c), this._instanceSrv.changeDoc(g, a), this._contextService.setContextValue(xn, !0), this._textSelectionManagerService.replaceTextRanges([{
1330
+ a.updateDocumentId(g), o === it.WRAP && l === 0 && a.updateDocumentDataPageSize((r - n) / c), this._instanceSrv.changeDoc(g, a), this._contextService.setContextValue(bn, !0), this._textSelectionManagerService.replaceTextRanges([{
1331
1331
  startOffset: 0,
1332
1332
  endOffset: 0
1333
1333
  }]);
@@ -1348,20 +1348,20 @@ let ze = class extends Ue {
1348
1348
  const { startX: a, startY: c, endX: g, endY: l } = e, u = r.documentModel;
1349
1349
  if (u == null)
1350
1350
  return;
1351
- const { actualWidth: h, actualHeight: C } = this._predictingSize(
1351
+ const { actualWidth: h, actualHeight: v } = this._predictingSize(
1352
1352
  e,
1353
1353
  t,
1354
1354
  n,
1355
1355
  r,
1356
1356
  s,
1357
1357
  o
1358
- ), { verticalAlign: _, paddingData: v, fill: p } = r;
1358
+ ), { verticalAlign: _, paddingData: C, fill: p } = r;
1359
1359
  let f = g - a, I = l - c;
1360
- if (f < h && (f = h), I < C)
1361
- I = C, u.updateDocumentDataMargin(v);
1360
+ if (f < h && (f = h), I < v)
1361
+ I = v, u.updateDocumentDataMargin(C);
1362
1362
  else {
1363
1363
  let b = 0;
1364
- _ === je.MIDDLE ? b = (I - C) / 2 / o : _ === je.TOP ? b = v.t || 0 : b = (I - C) / o - (v.b || 0), b = b < (v.t || 0) ? v.t || 0 : b, u.updateDocumentDataMargin({
1364
+ _ === je.MIDDLE ? b = (I - v) / 2 / o : _ === je.TOP ? b = C.t || 0 : b = (I - v) / o - (C.b || 0), b = b < (C.t || 0) ? C.t || 0 : b, u.updateDocumentDataMargin({
1365
1365
  t: b
1366
1366
  });
1367
1367
  }
@@ -1372,7 +1372,7 @@ let ze = class extends Ue {
1372
1372
  * to determine whether it needs to be automatically widened.
1373
1373
  */
1374
1374
  _predictingSize(e, t, n, r, s = 1, o = 1) {
1375
- const { startX: a, endX: c } = e, { textRotation: g, wrapStrategy: l } = r, u = r.documentModel, { vertexAngle: h } = at(g), C = document.body.clientWidth;
1375
+ const { startX: a, endX: c } = e, { textRotation: g, wrapStrategy: l } = r, u = r.documentModel, { vertexAngle: h } = at(g), v = document.body.clientWidth;
1376
1376
  if (l === it.WRAP && h === 0) {
1377
1377
  const { actualWidth: p, actualHeight: f } = n.getActualSize();
1378
1378
  return {
@@ -1380,14 +1380,14 @@ let ze = class extends Ue {
1380
1380
  actualHeight: f * o
1381
1381
  };
1382
1382
  }
1383
- u == null || u.updateDocumentDataPageSize((C - a - t.left) / s), n.calculate();
1383
+ u == null || u.updateDocumentDataPageSize((v - a - t.left) / s), n.calculate();
1384
1384
  const _ = n.getActualSize();
1385
- let v = c - a;
1386
- return v < _.actualWidth * s + It * s && (v = _.actualWidth * s + It * s), u == null || u.updateDocumentDataPageSize(v / s), u == null || u.updateDocumentRenderConfig({
1387
- horizontalAlign: Tt.UNSPECIFIED,
1385
+ let C = c - a;
1386
+ return C < _.actualWidth * s + It * s && (C = _.actualWidth * s + It * s), u == null || u.updateDocumentDataPageSize(C / s), u == null || u.updateDocumentRenderConfig({
1387
+ horizontalAlign: yt.UNSPECIFIED,
1388
1388
  cellValueType: void 0
1389
1389
  }), {
1390
- actualWidth: v,
1390
+ actualWidth: C,
1391
1391
  actualHeight: _.actualHeight * o
1392
1392
  };
1393
1393
  }
@@ -1403,13 +1403,13 @@ let ze = class extends Ue {
1403
1403
  function g(le) {
1404
1404
  return Number.parseInt(le.replace("px", ""));
1405
1405
  }
1406
- const u = this._renderContext.engine.getCanvasElement(), h = u.getBoundingClientRect(), C = g(u.style.width), { top: _, left: v, width: p } = h, f = p / C;
1406
+ const u = this._renderContext.engine.getCanvasElement(), h = u.getBoundingClientRect(), v = g(u.style.width), { top: _, left: C, width: p } = h, f = p / v;
1407
1407
  let { startX: I, startY: b } = n;
1408
1408
  I += r.left, b += r.top;
1409
- const { document: E, scene: w, engine: V } = c, R = w.getViewport(pt.VIEW_MAIN), G = document.body.clientHeight - b - r.top - Ir * 2, ce = document.body.clientWidth - I - r.left;
1409
+ const { document: E, scene: w, engine: V } = c, R = w.getViewport(pt.VIEW_MAIN), G = document.body.clientHeight - b - r.top - _r * 2, ce = document.body.clientWidth - I - r.left;
1410
1410
  let F = t, z = R == null ? void 0 : R.getScrollBar();
1411
- F > G ? (F = G, z == null ? R && new Nt(R, { enableHorizontal: !1, barSize: 8 }) : R == null || R.resetCanvasSizeAndUpdateScroll()) : (z = null, (S = R == null ? void 0 : R.getScrollBar()) == null || S.dispose()), e += (z == null ? void 0 : z.barSize) || 0, e = Math.min(e, ce), I -= se, b -= se, this._addBackground(w, e / o, t / a, s);
1412
- const { scaleX: te, scaleY: ne } = w.getPrecisionScale();
1411
+ F > G ? (F = G, z == null ? R && new wt(R, { enableHorizontal: !1, barSize: 8 }) : R == null || R.resetCanvasSizeAndUpdateScroll()) : (z = null, (S = R == null ? void 0 : R.getScrollBar()) == null || S.dispose()), e += (z == null ? void 0 : z.barSize) || 0, e = Math.min(e, ce), I -= re, b -= re, this._addBackground(w, e / o, t / a, s);
1412
+ const { scaleX: ee, scaleY: te } = w.getPrecisionScale();
1413
1413
  w.transformByState({
1414
1414
  width: e * f / o,
1415
1415
  height: t * f / a,
@@ -1417,8 +1417,8 @@ let ze = class extends Ue {
1417
1417
  scaleY: a * f
1418
1418
  }), E.resize(e / o, t / a), setTimeout(() => {
1419
1419
  V.resizeBySize(
1420
- ct(e, te),
1421
- ct(F, ne)
1420
+ ct(e, ee),
1421
+ ct(F, te)
1422
1422
  );
1423
1423
  }, 0);
1424
1424
  const Se = this._layoutService.getContentElement().getBoundingClientRect(), Ie = u.getBoundingClientRect();
@@ -1437,14 +1437,14 @@ let ze = class extends Ue {
1437
1437
  const s = "_backgroundRectHelperColor_", o = e.getObject(s);
1438
1438
  o == null && r == null || (o == null ? e.addObjects(
1439
1439
  [
1440
- new Dt(s, {
1440
+ new Nt(s, {
1441
1441
  width: t,
1442
1442
  height: n,
1443
1443
  fill: r,
1444
1444
  evented: !1
1445
1445
  })
1446
1446
  ],
1447
- Zn
1447
+ kn
1448
1448
  ) : r == null ? o.dispose() : (o.setProps({
1449
1449
  fill: r
1450
1450
  }), o.transformByState({
@@ -1480,22 +1480,22 @@ let ze = class extends Ue {
1480
1480
  return;
1481
1481
  const { scene: h } = u;
1482
1482
  this._contextService.setContextValue(Oe, !0);
1483
- const { documentModel: C } = s, _ = this._getEditorSkeleton(g);
1484
- if (!_ || !C)
1483
+ const { documentModel: v } = s, _ = this._getEditorSkeleton(g);
1484
+ if (!_ || !v)
1485
1485
  return;
1486
1486
  this._fitTextSize(r, o, _, s, a, c);
1487
- const v = C.getBody().dataStream.length - 2 || 0;
1487
+ const C = v.getBody().dataStream.length - 2 || 0;
1488
1488
  (p = h.getViewport(pt.VIEW_MAIN)) == null || p.scrollToViewportPos({
1489
1489
  viewportScrollX: Number.POSITIVE_INFINITY
1490
1490
  }), this._textSelectionManagerService.replaceTextRanges([
1491
1491
  {
1492
- startOffset: v,
1493
- endOffset: v
1492
+ startOffset: C,
1493
+ endOffset: C
1494
1494
  }
1495
1495
  ]), (f = this._renderManagerService.getRenderById(l)) == null || f.scene.resetCursor();
1496
1496
  }
1497
1497
  _resetBodyStyle(e, t = !1) {
1498
- e.dataStream = Mt, e.textRuns != null && (e.textRuns.length === 1 && !t ? (e.textRuns[0].st = 0, e.textRuns[0].ed = 1) : e.textRuns = void 0), e.paragraphs != null && (e.paragraphs.length === 1 ? e.paragraphs[0].startIndex = 0 : e.paragraphs = [
1498
+ e.dataStream = Tt, e.textRuns != null && (e.textRuns.length === 1 && !t ? (e.textRuns[0].st = 0, e.textRuns[0].ed = 1) : e.textRuns = void 0), e.paragraphs != null && (e.paragraphs.length === 1 ? e.paragraphs[0].startIndex = 0 : e.paragraphs = [
1499
1499
  {
1500
1500
  startIndex: 0
1501
1501
  }
@@ -1510,9 +1510,9 @@ let ze = class extends Ue {
1510
1510
  _showEditorByKeyboard(e) {
1511
1511
  }
1512
1512
  _commandExecutedListener(e) {
1513
- const t = [Me.id], n = [kn.id];
1513
+ const t = [Me.id], n = [Yn.id];
1514
1514
  e.add(this._commandService.onCommandExecuted((r) => {
1515
- this._editorService.getFocusId() === Q && (t.includes(r.id) && this._moveCursorCmdHandler(r), n.includes(r.id) && this._editorBridgeService.isVisible() && this._editingChangedHandler());
1515
+ this._editorService.getFocusId() === ae && (t.includes(r.id) && this._moveCursorCmdHandler(r), n.includes(r.id) && this._editorBridgeService.isVisible() && this._editingChangedHandler());
1516
1516
  }));
1517
1517
  }
1518
1518
  _moveCursorCmdHandler(e) {
@@ -1528,17 +1528,12 @@ let ze = class extends Ue {
1528
1528
  const { unitId: n } = this._renderContext;
1529
1529
  this._handleEditorVisible({ visible: !0, eventType: 3, unitId: n });
1530
1530
  }
1531
- _setOpenForCurrent(e, t) {
1532
- const n = this._editorService.getAllEditor();
1533
- for (const [r, s] of n)
1534
- s.setOpenForSheetUnitId(e), s.setOpenForSheetSubUnitId(t);
1535
- }
1536
1531
  _getEditorObject() {
1537
- return Pr(this._editorBridgeService.getCurrentEditorId(), this._renderManagerService);
1532
+ return Sr(this._editorBridgeService.getCurrentEditorId(), this._renderManagerService);
1538
1533
  }
1539
1534
  async _handleEditorInvisible(e) {
1540
1535
  const { keycode: t } = e;
1541
- if (this._setOpenForCurrent(null, null), this._cursorChange = k.InitialState, this._exitInput(e), this._editorBridgeService.getEditRectState() == null)
1536
+ if (this._cursorChange = k.InitialState, this._exitInput(e), this._editorBridgeService.getEditRectState() == null)
1542
1537
  return;
1543
1538
  if (this._editorBridgeService.getEditorDirty() === !1) {
1544
1539
  this._moveCursor(t);
@@ -1581,41 +1576,44 @@ let ze = class extends Ue {
1581
1576
  * The logic here predicts the user's first cursor movement behavior based on this rule
1582
1577
  */
1583
1578
  _cursorStateListener(e) {
1584
- const t = this._getEditorObject(), { document: n } = t;
1585
- e.add(Rt(n.onPointerDown$.subscribeEvent(() => {
1579
+ const t = this._getEditorObject();
1580
+ if (!t)
1581
+ return;
1582
+ const { document: n } = t;
1583
+ e.add(Et(n.onPointerDown$.subscribeEvent(() => {
1586
1584
  this._cursorChange === k.StartEditor && (this._cursorChange = k.CursorChange);
1587
1585
  })));
1588
1586
  }
1589
1587
  // TODO: @JOCS, is it necessary to move these commands MoveSelectionOperation\MoveCursorOperation to shortcut? and use multi-commands?
1590
1588
  _moveInEditor(e, t) {
1591
1589
  let n = B.LEFT;
1592
- e === y.ARROW_DOWN ? n = B.DOWN : e === y.ARROW_UP ? n = B.UP : e === y.ARROW_RIGHT && (n = B.RIGHT), t ? this._commandService.executeCommand(qn.id, {
1590
+ e === y.ARROW_DOWN ? n = B.DOWN : e === y.ARROW_UP ? n = B.UP : e === y.ARROW_RIGHT && (n = B.RIGHT), t ? this._commandService.executeCommand(Zn.id, {
1593
1591
  direction: n
1594
- }) : this._commandService.executeCommand(Jn.id, {
1592
+ }) : this._commandService.executeCommand(qn.id, {
1595
1593
  direction: n
1596
1594
  });
1597
1595
  }
1598
1596
  };
1599
- ze = Sr([
1600
- L(1, Vn),
1601
- L(2, En),
1597
+ ze = vr([
1598
+ L(1, Un),
1599
+ L(2, xn),
1602
1600
  L(3, Ce),
1603
1601
  L(4, j),
1604
1602
  L(5, Y),
1605
1603
  L(6, Qe),
1606
1604
  L(7, et),
1607
- L(8, X(Yn)),
1605
+ L(8, X(Xn)),
1608
1606
  L(9, U),
1609
- L(10, X(ee)),
1607
+ L(10, X(Q)),
1610
1608
  L(11, Ze)
1611
1609
  ], ze);
1612
- function Pr(i, e) {
1610
+ function Sr(i, e) {
1613
1611
  if (i == null)
1614
1612
  return;
1615
1613
  const t = e.getRenderById(i);
1616
1614
  if (t == null)
1617
1615
  return;
1618
- const { mainComponent: n, scene: r, engine: s, components: o } = t, a = n, c = o.get(Qn.BACKGROUND);
1616
+ const { mainComponent: n, scene: r, engine: s, components: o } = t, a = n, c = o.get(Jn.BACKGROUND);
1619
1617
  return {
1620
1618
  document: a,
1621
1619
  docBackground: c,
@@ -1623,10 +1621,10 @@ function Pr(i, e) {
1623
1621
  engine: s
1624
1622
  };
1625
1623
  }
1626
- var br = Object.defineProperty, xr = Object.getOwnPropertyDescriptor, Er = (i, e, t, n) => {
1627
- for (var r = n > 1 ? void 0 : n ? xr(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1624
+ var Ir = Object.defineProperty, Pr = Object.getOwnPropertyDescriptor, br = (i, e, t, n) => {
1625
+ for (var r = n > 1 ? void 0 : n ? Pr(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1628
1626
  (o = i[s]) && (r = (n ? o(e, t, r) : o(r)) || r);
1629
- return n && r && br(e, t, r), r;
1627
+ return n && r && Ir(e, t, r), r;
1630
1628
  }, Ae = (i, e) => (t, n) => e(t, n, i);
1631
1629
  let We = class extends fe {
1632
1630
  constructor(e, t, n, r) {
@@ -1637,7 +1635,7 @@ let We = class extends fe {
1637
1635
  // private _cursorChange: CursorChange = CursorChange.InitialState;
1638
1636
  /** If the corresponding unit is active and prepared for editing. */
1639
1637
  // private _isUnitEditing = false;
1640
- P(this, "setSlideTextEditor$", new Lt());
1638
+ P(this, "setSlideTextEditor$", new Bt());
1641
1639
  P(this, "_curRichText", null);
1642
1640
  P(this, "_d");
1643
1641
  this._renderContext = e, this._instanceSrv = t, this._commandService = n, this._editorBridgeService = r, this.disposeWithMe(this._instanceSrv.getCurrentTypeOfUnit$(x.UNIVER_SLIDE).subscribe((s) => {
@@ -1736,12 +1734,12 @@ let We = class extends fe {
1736
1734
  this._editorBridgeService.changeVisible({ visible: e, eventType: q.PointerDown, unitId: t });
1737
1735
  }
1738
1736
  };
1739
- We = Er([
1737
+ We = br([
1740
1738
  Ae(1, j),
1741
1739
  Ae(2, U),
1742
1740
  Ae(3, Qe)
1743
1741
  ], We);
1744
- const Qt = {
1742
+ const Jt = {
1745
1743
  id: "slide.operation.activate-slide",
1746
1744
  type: D.OPERATION,
1747
1745
  handler: (i, e) => {
@@ -1753,7 +1751,7 @@ const Qt = {
1753
1751
  const c = (l = a.scene) == null ? void 0 : l.getTransformer();
1754
1752
  return c && c.clearControls(), n.activePage(e.id, t), !0;
1755
1753
  }
1756
- }, en = {
1754
+ }, Qt = {
1757
1755
  id: "slide.operation.append-slide",
1758
1756
  type: D.OPERATION,
1759
1757
  handler: (i, e) => {
@@ -1767,22 +1765,22 @@ const Qt = {
1767
1765
  var V;
1768
1766
  const t = i.get(j), n = (V = t.getCurrentUnitForType(x.UNIVER_SLIDE)) == null ? void 0 : V.getUnitId();
1769
1767
  if (!n) return !1;
1770
- const s = await i.get(Bn).openFile({
1768
+ const s = await i.get(Vn).openFile({
1771
1769
  multiple: !0,
1772
- accept: ni.map((R) => `.${R.replace("image/", "")}`).join(",")
1770
+ accept: ei.map((R) => `.${R.replace("image/", "")}`).join(",")
1773
1771
  });
1774
1772
  if (s.length !== 1) return !1;
1775
- const a = await i.get(ii).saveImage(s[0]);
1773
+ const a = await i.get(ti).saveImage(s[0]);
1776
1774
  if (!a) return !1;
1777
- const { imageId: c, imageSourceType: g, source: l, base64Cache: u } = a, { width: h, height: C, image: _ } = await ri(u || ""), v = t.getUnit(n);
1778
- if (!v) return !1;
1779
- const p = v.getActivePage(), f = Object.values(p.pageElements), I = f != null && f.length ? Math.max(...f.map((R) => R.zIndex)) : 20, b = {
1775
+ const { imageId: c, imageSourceType: g, source: l, base64Cache: u } = a, { width: h, height: v, image: _ } = await ni(u || ""), C = t.getUnit(n);
1776
+ if (!C) return !1;
1777
+ const p = C.getActivePage(), f = Object.values(p.pageElements), I = f != null && f.length ? Math.max(...f.map((R) => R.zIndex)) : 20, b = {
1780
1778
  id: c,
1781
1779
  zIndex: I + 1,
1782
1780
  left: 0,
1783
1781
  top: 0,
1784
1782
  width: h,
1785
- height: C,
1783
+ height: v,
1786
1784
  title: "",
1787
1785
  description: "",
1788
1786
  type: Xe.IMAGE,
@@ -1796,7 +1794,7 @@ const Qt = {
1796
1794
  }
1797
1795
  }
1798
1796
  };
1799
- p.pageElements[c] = b, v.updatePage(p.id, p);
1797
+ p.pageElements[c] = b, C.updatePage(p.id, p);
1800
1798
  const E = i.get(M), w = E.createObjectToPage(b, p.id, n);
1801
1799
  return w && E.setObjectActiveByPage(w, p.id, n), !0;
1802
1800
  }
@@ -1806,17 +1804,17 @@ const Qt = {
1806
1804
  handler: async (i) => {
1807
1805
  var r;
1808
1806
  const e = i.get(U), n = (r = i.get(j).getFocusedUnit()) == null ? void 0 : r.getUnitId();
1809
- return await e.executeCommand(tn.id, { unitId: n });
1807
+ return await e.executeCommand(en.id, { unitId: n });
1810
1808
  }
1811
- }, tn = {
1809
+ }, en = {
1812
1810
  id: "slide.operation.add-text",
1813
1811
  type: D.OPERATION,
1814
1812
  handler: async (i, e) => {
1815
- const t = e.unitId, n = Et(6), r = 220, s = 40, o = 230, a = 142, c = (e == null ? void 0 : e.text) || "A New Text", l = i.get(j).getUnit(t);
1813
+ const t = e.unitId, n = xt(6), r = 220, s = 40, o = 230, a = 142, c = (e == null ? void 0 : e.text) || "A New Text", l = i.get(j).getUnit(t);
1816
1814
  if (!l) return !1;
1817
- const u = l.getActivePage(), h = Object.values(u.pageElements), C = h != null && h.length ? Math.max(...h.map((f) => f.zIndex)) : 21, _ = {
1815
+ const u = l.getActivePage(), h = Object.values(u.pageElements), v = h != null && h.length ? Math.max(...h.map((f) => f.zIndex)) : 21, _ = {
1818
1816
  id: n,
1819
- zIndex: C + 1,
1817
+ zIndex: v + 1,
1820
1818
  left: o,
1821
1819
  top: a,
1822
1820
  width: r,
@@ -1834,27 +1832,27 @@ const Qt = {
1834
1832
  }
1835
1833
  };
1836
1834
  u.pageElements[n] = _, l.updatePage(u.id, u);
1837
- const v = i.get(M), p = v.createObjectToPage(_, u.id, t);
1838
- return p && v.setObjectActiveByPage(p, u.id, t), !0;
1835
+ const C = i.get(M), p = C.createObjectToPage(_, u.id, t);
1836
+ return p && C.setObjectActiveByPage(p, u.id, t), !0;
1839
1837
  }
1840
- }, nn = {
1838
+ }, tn = {
1841
1839
  id: "slide.operation.set-slide-page-thumb",
1842
1840
  type: D.OPERATION,
1843
1841
  handler: (i, e) => (i.get(M).createThumbs(e.unitId), !0)
1844
- }, Rr = "univer-image-popup-menu", Or = "univer-image-popup-menu-item", jr = "univer-image-popup-menu-item-icon", yr = "univer-image-popup-menu-item-title", Tr = "univer-image-popup-menu-item-hide", Mr = "univer-btn-container", wr = "univer-btn-container-expand", ge = {
1845
- imagePopupMenu: Rr,
1846
- imagePopupMenuItem: Or,
1847
- imagePopupMenuItemIcon: jr,
1848
- imagePopupMenuItemTitle: yr,
1849
- imagePopupMenuItemHide: Tr,
1850
- btnContainer: Mr,
1851
- btnContainerExpand: wr
1852
- }, Nr = (i) => {
1853
- var _, v;
1854
- const e = (v = (_ = i.popup) == null ? void 0 : _.extraProps) == null ? void 0 : v.menuItems;
1842
+ }, xr = "univer-image-popup-menu", Er = "univer-image-popup-menu-item", Rr = "univer-image-popup-menu-item-icon", Or = "univer-image-popup-menu-item-title", jr = "univer-image-popup-menu-item-hide", yr = "univer-btn-container", Tr = "univer-btn-container-expand", ge = {
1843
+ imagePopupMenu: xr,
1844
+ imagePopupMenuItem: Er,
1845
+ imagePopupMenuItemIcon: Rr,
1846
+ imagePopupMenuItemTitle: Or,
1847
+ imagePopupMenuItemHide: jr,
1848
+ btnContainer: yr,
1849
+ btnContainerExpand: Tr
1850
+ }, Mr = (i) => {
1851
+ var _, C;
1852
+ const e = (C = (_ = i.popup) == null ? void 0 : _.extraProps) == null ? void 0 : C.menuItems;
1855
1853
  if (!e)
1856
1854
  return null;
1857
- const t = O(U), n = O(ee), [r, s] = W(!1), [o, a] = W(!1), c = () => {
1855
+ const t = O(U), n = O(Q), [r, s] = W(!1), [o, a] = W(!1), c = () => {
1858
1856
  a(!0);
1859
1857
  }, g = () => {
1860
1858
  a(!1);
@@ -1862,18 +1860,18 @@ const Qt = {
1862
1860
  s(p);
1863
1861
  }, u = (p) => {
1864
1862
  t.executeCommand(p.commandId, p.commandParams), s(!1);
1865
- }, h = r || o, C = e.filter((p) => !p.disable);
1863
+ }, h = r || o, v = e.filter((p) => !p.disable);
1866
1864
  return /* @__PURE__ */ d.jsx(
1867
1865
  "div",
1868
1866
  {
1869
1867
  onMouseEnter: c,
1870
1868
  onMouseLeave: g,
1871
1869
  children: /* @__PURE__ */ d.jsx(
1872
- Bt,
1870
+ Vt,
1873
1871
  {
1874
1872
  placement: "bottomLeft",
1875
1873
  trigger: ["click"],
1876
- overlay: /* @__PURE__ */ d.jsx("ul", { className: ge.imagePopupMenu, children: C.map((p) => /* @__PURE__ */ d.jsx(
1874
+ overlay: /* @__PURE__ */ d.jsx("ul", { className: ge.imagePopupMenu, children: v.map((p) => /* @__PURE__ */ d.jsx(
1877
1875
  "li",
1878
1876
  {
1879
1877
  onClick: () => u(p),
@@ -1892,7 +1890,7 @@ const Qt = {
1892
1890
  }),
1893
1891
  children: [
1894
1892
  /* @__PURE__ */ d.jsx(
1895
- zt,
1893
+ Ft,
1896
1894
  {
1897
1895
  style: { color: "#35322B" },
1898
1896
  extend: { colorChannel1: "rgb(var(--green-700, #409f11))" }
@@ -1906,24 +1904,24 @@ const Qt = {
1906
1904
  )
1907
1905
  }
1908
1906
  );
1909
- }, Dr = "univer-slide-bar", Ur = "univer-slide-bar-content", Vr = "univer-slide-bar-content-header", Br = "univer-slide-bar-item", Lr = "univer-slide-bar-box", Ar = "univer-slide-bar-item-active", $r = "univer-slide-add-button", ie = {
1910
- slideBar: Dr,
1911
- slideBarContent: Ur,
1912
- slideBarContentHeader: Vr,
1913
- slideBarItem: Br,
1914
- slideBarBox: Lr,
1915
- slideBarItemActive: Ar,
1916
- slideAddButton: $r
1907
+ }, wr = "univer-slide-bar", Nr = "univer-slide-bar-content", Dr = "univer-slide-bar-content-header", Ur = "univer-slide-bar-item", Vr = "univer-slide-bar-box", Br = "univer-slide-bar-item-active", Lr = "univer-slide-add-button", ne = {
1908
+ slideBar: wr,
1909
+ slideBarContent: Nr,
1910
+ slideBarContentHeader: Dr,
1911
+ slideBarItem: Ur,
1912
+ slideBarBox: Vr,
1913
+ slideBarItemActive: Br,
1914
+ slideAddButton: Lr
1917
1915
  };
1918
- function Hr() {
1919
- var v, p;
1920
- const i = O(j), e = O(U), t = O(Y), n = O(ee), r = Vt(null), s = i.getCurrentUnitForType(x.UNIVER_SLIDE), o = s == null ? void 0 : s.getPages(), a = s == null ? void 0 : s.getPageOrder();
1916
+ function Ar() {
1917
+ var C, p;
1918
+ const i = O(j), e = O(U), t = O(Y), n = O(Q), r = Ut(null), s = i.getCurrentUnitForType(x.UNIVER_SLIDE), o = s == null ? void 0 : s.getPages(), a = s == null ? void 0 : s.getPageOrder();
1921
1919
  if (!o || !a)
1922
1920
  return null;
1923
- const c = a.map((f) => o[f]), [g, l] = W([]), [u, h] = W((p = (v = s == null ? void 0 : s.getActivePage()) == null ? void 0 : v.id) != null ? p : null);
1924
- ae(() => {
1921
+ const c = a.map((f) => o[f]), [g, l] = W([]), [u, h] = W((p = (C = s == null ? void 0 : s.getActivePage()) == null ? void 0 : C.id) != null ? p : null);
1922
+ oe(() => {
1925
1923
  l(c.map((f) => ke.createRef()));
1926
- }, [c.length]), ae(() => {
1924
+ }, [c.length]), oe(() => {
1927
1925
  const f = s == null ? void 0 : s.activePage$.subscribe((I) => {
1928
1926
  var E;
1929
1927
  const b = (E = I == null ? void 0 : I.id) != null ? E : null;
@@ -1932,134 +1930,109 @@ function Hr() {
1932
1930
  return () => {
1933
1931
  f == null || f.unsubscribe();
1934
1932
  };
1935
- }, []), ae(() => {
1933
+ }, []), oe(() => {
1936
1934
  g.forEach((f, I) => {
1937
1935
  var b;
1938
1936
  if (f.current) {
1939
1937
  const E = c[I];
1940
1938
  (b = t.getRenderById(E.id)) == null || b.engine.setContainer(f.current);
1941
1939
  }
1942
- }), g.length > 0 && e.syncExecuteCommand(nn.id, { unitId: s == null ? void 0 : s.getUnitId() });
1940
+ }), g.length > 0 && e.syncExecuteCommand(tn.id, { unitId: s == null ? void 0 : s.getUnitId() });
1943
1941
  }, [g, c, t, e, s]);
1944
- const C = ut((f) => {
1945
- e.syncExecuteCommand(Qt.id, { id: f, unitId: s == null ? void 0 : s.getUnitId() });
1942
+ const v = ut((f) => {
1943
+ e.syncExecuteCommand(Jt.id, { id: f, unitId: s == null ? void 0 : s.getUnitId() });
1946
1944
  }, [e, s]), _ = ut(() => {
1947
- e.syncExecuteCommand(en.id, { unitId: s == null ? void 0 : s.getUnitId() });
1945
+ e.syncExecuteCommand(Qt.id, { unitId: s == null ? void 0 : s.getUnitId() });
1948
1946
  }, [e, s]);
1949
- return /* @__PURE__ */ d.jsx("aside", { className: ie.slideBar, ref: r, children: /* @__PURE__ */ d.jsx(Gn, { children: /* @__PURE__ */ d.jsxs("div", { className: ie.slideBarContent, children: [
1950
- /* @__PURE__ */ d.jsx("header", { className: ie.slideBarContentHeader, children: /* @__PURE__ */ d.jsx("a", { onClick: _, children: n.t("slide.append") }) }),
1947
+ return /* @__PURE__ */ d.jsx("aside", { className: ne.slideBar, ref: r, children: /* @__PURE__ */ d.jsx(Kn, { children: /* @__PURE__ */ d.jsxs("div", { className: ne.slideBarContent, children: [
1948
+ /* @__PURE__ */ d.jsx("header", { className: ne.slideBarContentHeader, children: /* @__PURE__ */ d.jsx("a", { onClick: _, children: n.t("slide.append") }) }),
1951
1949
  c.map((f, I) => /* @__PURE__ */ d.jsxs(
1952
1950
  "div",
1953
1951
  {
1954
- className: T(ie.slideBarItem, {
1955
- [ie.slideBarItemActive]: f.id === u
1952
+ className: T(ne.slideBarItem, {
1953
+ [ne.slideBarItemActive]: f.id === u
1956
1954
  }),
1957
- onClick: () => C(f.id),
1955
+ onClick: () => v(f.id),
1958
1956
  children: [
1959
1957
  /* @__PURE__ */ d.jsx("span", { children: I + 1 }),
1960
- /* @__PURE__ */ d.jsx("div", { ref: g[I], className: ie.slideBarBox })
1958
+ /* @__PURE__ */ d.jsx("div", { ref: g[I], className: ne.slideBarBox })
1961
1959
  ]
1962
1960
  },
1963
1961
  f.id
1964
1962
  ))
1965
1963
  ] }) }) });
1966
1964
  }
1967
- const Fr = "univer-slide-editor-container", zr = "univer-editor-input", Pt = {
1968
- slideEditorContainer: Fr,
1969
- editorInput: zr
1970
- }, we = -1e3, bt = {
1965
+ const $r = "univer-slide-editor-container", Hr = "univer-editor-input", Fr = {
1966
+ slideEditorContainer: $r,
1967
+ editorInput: Hr
1968
+ }, we = -1e3, Pt = {
1971
1969
  width: 0,
1972
1970
  height: 0,
1973
1971
  top: we,
1974
1972
  left: we
1975
- }, Wr = () => {
1973
+ }, zr = () => {
1976
1974
  const [i, e] = W({
1977
- ...bt
1978
- }), t = O(et), n = O(Ze), r = O(Ce), s = Ln(
1975
+ ...Pt
1976
+ }), t = O(et), n = O(Ze), r = O(Ce), s = Bn(
1979
1977
  () => r.subscribeContextValue$(lt),
1980
1978
  !1,
1981
1979
  void 0,
1982
1980
  [r, lt]
1983
- ), o = {
1984
- id: Q,
1985
- body: {
1986
- dataStream: `${Mt}`,
1987
- textRuns: [],
1988
- paragraphs: [
1989
- {
1990
- startIndex: 0
1991
- }
1992
- ]
1993
- },
1994
- documentStyle: {
1995
- documentFlavor: Rn.UNSPECIFIED
1996
- }
1997
- };
1998
- return ae(() => {
1999
- t.state$.subscribe((a) => {
2000
- if (a == null)
1981
+ );
1982
+ return `${Tt}`, En.UNSPECIFIED, oe(() => {
1983
+ t.state$.subscribe((o) => {
1984
+ if (o == null)
2001
1985
  return;
2002
1986
  const {
2003
- startX: c = we,
2004
- startY: g = we,
2005
- endX: l = 0,
2006
- endY: u = 0,
2007
- show: h = !1
2008
- } = a;
2009
- if (!h)
1987
+ startX: a = we,
1988
+ startY: c = we,
1989
+ endX: g = 0,
1990
+ endY: l = 0,
1991
+ show: u = !1
1992
+ } = o;
1993
+ if (!u)
2010
1994
  e({
2011
- ...bt
1995
+ ...Pt
2012
1996
  });
2013
1997
  else {
2014
1998
  e({
2015
- width: l - c - se + 2,
2016
- height: u - g - se + 2,
2017
- left: c + se,
2018
- top: g + se
1999
+ width: g - a - re + 2,
2000
+ height: l - c - re + 2,
2001
+ left: a + re,
2002
+ top: c + re
2019
2003
  });
2020
- const C = n.getEditor(Q);
2021
- if (C == null)
2004
+ const h = n.getEditor(ae);
2005
+ if (h == null)
2022
2006
  return;
2023
- const { left: _, top: v, width: p, height: f } = C.getBoundingClientRect();
2024
- t.setRect({ left: _, top: v, width: p, height: f });
2007
+ const { left: v, top: _, width: C, height: p } = h.getBoundingClientRect();
2008
+ t.setRect({ left: v, top: _, width: C, height: p });
2025
2009
  }
2026
2010
  });
2027
- }, []), ae(() => {
2011
+ }, []), oe(() => {
2028
2012
  s || t.setFocus(!0);
2029
2013
  }, [s, i]), /* @__PURE__ */ d.jsx(
2030
2014
  "div",
2031
2015
  {
2032
- className: Pt.slideEditorContainer,
2016
+ className: Fr.slideEditorContainer,
2033
2017
  style: {
2034
2018
  left: i.left,
2035
2019
  top: i.top,
2036
2020
  width: i.width,
2037
2021
  height: i.height
2038
- },
2039
- children: /* @__PURE__ */ d.jsx(
2040
- ei,
2041
- {
2042
- id: Q,
2043
- className: Pt.editorInput,
2044
- snapshot: o,
2045
- cancelDefaultResizeListener: !1,
2046
- isSheetEditor: !1,
2047
- isSingle: !1
2048
- }
2049
- )
2022
+ }
2050
2023
  }
2051
2024
  );
2052
- }, rn = "addition-and-subtraction-single", sn = "slide.menu.image";
2053
- function Kr(i) {
2025
+ }, nn = "addition-and-subtraction-single", rn = "slide.menu.image";
2026
+ function Wr(i) {
2054
2027
  return {
2055
- id: sn,
2028
+ id: rn,
2056
2029
  type: ve.SUBITEMS,
2057
- icon: rn,
2030
+ icon: nn,
2058
2031
  tooltip: "slide.image.insert.title",
2059
2032
  hidden$: _e(i, x.UNIVER_SLIDE)
2060
2033
  };
2061
2034
  }
2062
- function Gr(i) {
2035
+ function Kr(i) {
2063
2036
  return {
2064
2037
  id: tt.id,
2065
2038
  title: "slide.image.insert.float",
@@ -2067,18 +2040,18 @@ function Gr(i) {
2067
2040
  hidden$: _e(i, x.UNIVER_SLIDE)
2068
2041
  };
2069
2042
  }
2070
- const on = "graph-single", an = "slide.menu.shape";
2071
- function Xr(i) {
2043
+ const sn = "graph-single", on = "slide.menu.shape";
2044
+ function Gr(i) {
2072
2045
  return {
2073
- id: an,
2046
+ id: on,
2074
2047
  type: ve.SUBITEMS,
2075
- icon: on,
2048
+ icon: sn,
2076
2049
  tooltip: "slide.shape.insert.title",
2077
2050
  hidden$: _e(i, x.UNIVER_SLIDE)
2078
2051
  // disabled$: getCurrentRangeDisable$(accessor, { workbookTypes: [WorkbookEditablePermission], worksheetTypes: [WorksheetEditPermission], rangeTypes: [RangeProtectionPermissionEditPoint] }),
2079
2052
  };
2080
2053
  }
2081
- function Yr(i) {
2054
+ function Xr(i) {
2082
2055
  return {
2083
2056
  id: Je.id,
2084
2057
  title: "slide.shape.insert.rectangle",
@@ -2086,56 +2059,56 @@ function Yr(i) {
2086
2059
  hidden$: _e(i, x.UNIVER_SLIDE)
2087
2060
  };
2088
2061
  }
2089
- const cn = "text-single";
2090
- function kr(i) {
2062
+ const an = "text-single";
2063
+ function Yr(i) {
2091
2064
  return {
2092
2065
  id: nt.id,
2093
2066
  type: ve.BUTTON,
2094
- icon: cn,
2067
+ icon: an,
2095
2068
  tooltip: "slide.text.insert.title",
2096
2069
  hidden$: _e(i, x.UNIVER_SLIDE)
2097
2070
  };
2098
2071
  }
2099
- const Zr = {
2100
- [An.FORMAT]: {
2072
+ const kr = {
2073
+ [Ln.FORMAT]: {
2101
2074
  [nt.id]: {
2102
2075
  order: 0,
2103
- menuItemFactory: kr
2076
+ menuItemFactory: Yr
2104
2077
  },
2105
- [sn]: {
2078
+ [rn]: {
2106
2079
  order: 0,
2107
- menuItemFactory: Kr,
2080
+ menuItemFactory: Wr,
2108
2081
  [tt.id]: {
2109
2082
  order: 0,
2110
- menuItemFactory: Gr
2083
+ menuItemFactory: Kr
2111
2084
  }
2112
2085
  },
2113
- [an]: {
2086
+ [on]: {
2114
2087
  order: 0,
2115
- menuItemFactory: Xr,
2088
+ menuItemFactory: Gr,
2116
2089
  [Je.id]: {
2117
2090
  order: 0,
2118
- menuItemFactory: Yr
2091
+ menuItemFactory: Xr
2119
2092
  }
2120
2093
  }
2121
2094
  }
2122
2095
  };
2123
2096
  function Ke(i) {
2124
- return i.getContextValue(wt) && i.getContextValue(Oe);
2097
+ return i.getContextValue(Mt) && i.getContextValue(Oe);
2125
2098
  }
2126
- function qr(i) {
2127
- return i.getContextValue(On) && i.getContextValue(wt);
2099
+ function Zr(i) {
2100
+ return i.getContextValue(Rn) && i.getContextValue(Mt);
2128
2101
  }
2129
- const ln = [
2102
+ const cn = [
2130
2103
  y.ARROW_DOWN,
2131
2104
  y.ARROW_UP,
2132
2105
  y.ARROW_LEFT,
2133
2106
  y.ARROW_RIGHT
2134
2107
  ];
2135
- [y.ENTER, y.TAB, ...ln];
2136
- function Jr() {
2108
+ [y.ENTER, y.TAB, ...cn];
2109
+ function qr() {
2137
2110
  const i = [];
2138
- for (const e of ln)
2111
+ for (const e of cn)
2139
2112
  i.push({
2140
2113
  id: Me.id,
2141
2114
  binding: e,
@@ -2148,7 +2121,7 @@ function Jr() {
2148
2121
  }
2149
2122
  }), i.push({
2150
2123
  id: Me.id,
2151
- binding: e | $n.SHIFT,
2124
+ binding: e | An.SHIFT,
2152
2125
  preconditions: (t) => Ke(t),
2153
2126
  staticParameters: {
2154
2127
  visible: !1,
@@ -2159,39 +2132,39 @@ function Jr() {
2159
2132
  });
2160
2133
  return i;
2161
2134
  }
2162
- const Qr = {
2163
- id: ti.id,
2164
- preconditions: (i) => Ke(i) || qr(i),
2135
+ const Jr = {
2136
+ id: Qn.id,
2137
+ preconditions: (i) => Ke(i) || Zr(i),
2165
2138
  binding: y.BACKSPACE
2166
2139
  };
2167
- var es = Object.defineProperty, ts = Object.getOwnPropertyDescriptor, ns = (i, e, t, n) => {
2168
- for (var r = n > 1 ? void 0 : n ? ts(e, t) : e, s = i.length - 1, o; s >= 0; s--)
2140
+ var Qr = Object.defineProperty, es = Object.getOwnPropertyDescriptor, ts = (i, e, t, n) => {
2141
+ for (var r = n > 1 ? void 0 : n ? es(e, t) : e, s = i.length - 1, o; s >= 0; s--)
2169
2142
  (o = i[s]) && (r = (n ? o(e, t, r) : o(r)) || r);
2170
- return n && r && es(e, t, r), r;
2171
- }, re = (i, e) => (t, n) => e(t, n, i);
2143
+ return n && r && Qr(e, t, r), r;
2144
+ }, ie = (i, e) => (t, n) => e(t, n, i);
2172
2145
  let Ne = class extends Ue {
2173
2146
  constructor(i, e, t, n, r, s) {
2174
2147
  super(), this._injector = i, this._menuManagerService = e, this._componentManager = t, this._uiPartsService = n, this._commandService = r, this._shortcutService = s, this._initCommands(), this._initCustomComponents(), this._initUIComponents(), this._initMenus(), this._initShortcuts();
2175
2148
  }
2176
2149
  _initMenus() {
2177
- this._menuManagerService.mergeMenu(Zr);
2150
+ this._menuManagerService.mergeMenu(kr);
2178
2151
  }
2179
2152
  _initCustomComponents() {
2180
2153
  const i = this._componentManager;
2181
- this.disposeWithMe(i.register(rn, Ft)), this.disposeWithMe(i.register(cn, kt)), this.disposeWithMe(i.register(on, Kt)), this.disposeWithMe(i.register(Jt, Nr)), this.disposeWithMe(i.register(Re, or));
2154
+ this.disposeWithMe(i.register(nn, Ht)), this.disposeWithMe(i.register(an, Yt)), this.disposeWithMe(i.register(sn, Wt)), this.disposeWithMe(i.register(qt, Mr)), this.disposeWithMe(i.register(Re, rr));
2182
2155
  }
2183
2156
  _initCommands() {
2184
2157
  [
2185
- en,
2186
2158
  Qt,
2187
- nn,
2188
- tt,
2159
+ Jt,
2189
2160
  tn,
2161
+ tt,
2162
+ en,
2190
2163
  nt,
2191
- qt,
2164
+ Zt,
2192
2165
  Je,
2193
2166
  He,
2194
- At,
2167
+ Lt,
2195
2168
  K,
2196
2169
  // commands for editor
2197
2170
  Me
@@ -2199,32 +2172,32 @@ let Ne = class extends Ue {
2199
2172
  }
2200
2173
  _initUIComponents() {
2201
2174
  this.disposeWithMe(
2202
- this._uiPartsService.registerComponent(dt.LEFT_SIDEBAR, () => rt(Hr, this._injector))
2175
+ this._uiPartsService.registerComponent(dt.LEFT_SIDEBAR, () => rt(Ar, this._injector))
2203
2176
  ), this.disposeWithMe(
2204
- this._uiPartsService.registerComponent(dt.CONTENT, () => rt(Wr, this._injector))
2177
+ this._uiPartsService.registerComponent(dt.CONTENT, () => rt(zr, this._injector))
2205
2178
  );
2206
2179
  }
2207
2180
  _initShortcuts() {
2208
2181
  [
2209
- Qr,
2210
- ...Jr()
2182
+ Jr,
2183
+ ...qr()
2211
2184
  ].forEach((i) => {
2212
2185
  this.disposeWithMe(this._shortcutService.registerShortcut(i));
2213
2186
  });
2214
2187
  }
2215
2188
  };
2216
- Ne = ns([
2217
- re(0, X(Ge)),
2218
- re(1, Fn),
2219
- re(2, X(Hn)),
2220
- re(3, zn),
2221
- re(4, U),
2222
- re(5, Wn)
2189
+ Ne = ts([
2190
+ ie(0, X(Ge)),
2191
+ ie(1, Hn),
2192
+ ie(2, X($n)),
2193
+ ie(3, Fn),
2194
+ ie(4, U),
2195
+ ie(5, zn)
2223
2196
  ], Ne);
2224
- var is = Object.defineProperty, rs = Object.getOwnPropertyDescriptor, ss = (i, e, t, n) => {
2225
- for (var r = n > 1 ? void 0 : n ? rs(e, t) : e, s = i.length - 1, o; s >= 0; s--)
2197
+ var ns = Object.defineProperty, is = Object.getOwnPropertyDescriptor, rs = (i, e, t, n) => {
2198
+ for (var r = n > 1 ? void 0 : n ? is(e, t) : e, s = i.length - 1, o; s >= 0; s--)
2226
2199
  (o = i[s]) && (r = (n ? o(e, t, r) : o(r)) || r);
2227
- return n && r && is(e, t, r), r;
2200
+ return n && r && ns(e, t, r), r;
2228
2201
  }, $e = (i, e) => (t, n) => e(t, n, i);
2229
2202
  let De = class extends fe {
2230
2203
  // private _skeletonChangeMutations = new Set<string>();
@@ -2251,34 +2224,34 @@ let De = class extends fe {
2251
2224
  _initContextListener() {
2252
2225
  }
2253
2226
  };
2254
- De = ss([
2227
+ De = rs([
2255
2228
  $e(0, Ce),
2256
2229
  $e(1, j),
2257
2230
  $e(2, Y)
2258
2231
  ], De);
2259
- var os = Object.defineProperty, as = Object.getOwnPropertyDescriptor, cs = (i, e, t, n) => {
2260
- for (var r = n > 1 ? void 0 : n ? as(e, t) : e, s = i.length - 1, o; s >= 0; s--)
2232
+ var ss = Object.defineProperty, os = Object.getOwnPropertyDescriptor, as = (i, e, t, n) => {
2233
+ for (var r = n > 1 ? void 0 : n ? os(e, t) : e, s = i.length - 1, o; s >= 0; s--)
2261
2234
  (o = i[s]) && (r = (n ? o(e, t, r) : o(r)) || r);
2262
- return n && r && os(e, t, r), r;
2235
+ return n && r && ss(e, t, r), r;
2263
2236
  }, xe = (i, e) => (t, n) => e(t, n, i);
2264
- const ls = "SLIDE_UI";
2237
+ const cs = "SLIDE_UI";
2265
2238
  var Ee;
2266
- let xt = (Ee = class extends jn {
2239
+ let bt = (Ee = class extends On {
2267
2240
  constructor(i = ft, e, t, n, r) {
2268
2241
  super(), this._config = i, this._injector = e, this._renderManagerService = t, this._univerInstanceService = n, this._configService = r;
2269
- const { menu: s, ...o } = yn(
2242
+ const { menu: s, ...o } = jn(
2270
2243
  {},
2271
2244
  ft,
2272
2245
  this._config
2273
2246
  );
2274
- s && this._configService.setConfig("menu", s, { merge: !0 }), this._configService.setConfig(mi, o);
2247
+ s && this._configService.setConfig("menu", s, { merge: !0 }), this._configService.setConfig(di, o);
2275
2248
  }
2276
2249
  onStarting() {
2277
2250
  st([
2278
2251
  [De],
2279
2252
  [Qe, { useClass: Fe }],
2280
2253
  // used by SlideUIController --> EditorContainer
2281
- [et, { useClass: Cr }],
2254
+ [et, { useClass: pr }],
2282
2255
  [ye]
2283
2256
  ], this._config.override).forEach((i) => this._injector.add(i));
2284
2257
  }
@@ -2325,33 +2298,33 @@ let xt = (Ee = class extends jn {
2325
2298
  } catch {
2326
2299
  }
2327
2300
  }
2328
- }, P(Ee, "pluginName", ls), P(Ee, "type", x.UNIVER_SLIDE), Ee);
2329
- xt = cs([
2301
+ }, P(Ee, "pluginName", cs), P(Ee, "type", x.UNIVER_SLIDE), Ee);
2302
+ bt = as([
2330
2303
  xe(1, X(Ge)),
2331
2304
  xe(2, Y),
2332
2305
  xe(3, j),
2333
- xe(4, Tn)
2334
- ], xt);
2306
+ xe(4, yn)
2307
+ ], bt);
2335
2308
  export {
2336
- Qt as ActivateSlidePageOperation,
2337
- en as AppendSlideOperation,
2309
+ Jt as ActivateSlidePageOperation,
2310
+ Qt as AppendSlideOperation,
2338
2311
  M as CanvasView,
2339
- At as DeleteSlideElementOperation,
2312
+ Lt as DeleteSlideElementOperation,
2340
2313
  Qe as ISlideEditorBridgeService,
2341
2314
  tt as InsertSlideFloatImageCommand,
2342
2315
  Je as InsertSlideShapeRectangleCommand,
2343
- qt as InsertSlideShapeRectangleOperation,
2344
- an as SHAPE_MENU_ID,
2345
- sn as SLIDES_IMAGE_MENU_ID,
2346
- Q as SLIDE_EDITOR_ID,
2347
- nn as SetSlidePageThumbOperation,
2316
+ Zt as InsertSlideShapeRectangleOperation,
2317
+ on as SHAPE_MENU_ID,
2318
+ rn as SLIDES_IMAGE_MENU_ID,
2319
+ ae as SLIDE_EDITOR_ID,
2320
+ tn as SetSlidePageThumbOperation,
2348
2321
  nt as SlideAddTextCommand,
2349
- tn as SlideAddTextOperation,
2322
+ en as SlideAddTextOperation,
2350
2323
  ye as SlideCanvasPopMangerService,
2351
- Wr as SlideEditorContainer,
2352
- Hr as SlideSideBar,
2324
+ zr as SlideEditorContainer,
2325
+ Ar as SlideSideBar,
2353
2326
  Ne as SlidesUIController,
2354
- Zr as SlidesUIMenuSchema,
2355
- xt as UniverSlidesUIPlugin,
2327
+ kr as SlidesUIMenuSchema,
2328
+ bt as UniverSlidesUIPlugin,
2356
2329
  K as UpdateSlideElementOperation
2357
2330
  };