@univerjs/slides-ui 0.6.1-nightly.202502261607 → 0.6.2-nightly.202503031606

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,19 +1,19 @@
1
- var ln = Object.defineProperty;
2
- var dn = (i, e, t) => e in i ? ln(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var I = (i, e, t) => dn(i, typeof e != "symbol" ? e + "" : e, t);
4
- import { Inject as X, Injector as ke, IUniverInstanceService as T, RxDisposable as pe, UniverInstanceType as E, debounce as un, getColorStyle as gn, CommandType as V, Tools as hn, LocaleService as ee, ICommandService as B, generateRandomId as St, BasicShapes as mn, PageElementType as Ke, Disposable as Ve, DisposableCollection as Ge, IContextService as Ce, toDisposable as It, FOCUSING_COMMON_DRAWINGS as vn, createInternalEditorID as pn, createIdentifier as bt, EDITOR_ACTIVATED as xe, FOCUSING_EDITOR_STANDALONE as Pt, FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE as Et, DocumentDataModel as Cn, HorizontalAlign as Rt, VerticalAlign as ye, IUndoRedoService as fn, WrapStrategy as tt, FOCUSING_EDITOR_BUT_HIDDEN as _n, DEFAULT_EMPTY_DOCUMENT_VALUE as Sn, Direction as L, DocumentFlavor as In, FOCUSING_UNIVER_EDITOR as Ot, FORMULA_EDITOR_ACTIVATED as bn, Plugin as Pn, merge as En, mergeOverrideWithDependencies as nt, IConfigService as Rn } from "@univerjs/core";
5
- import { IRenderManagerService as Y, Viewport as it, ScrollBar as xt, Slide as On, Rect as yt, Scene as xn, ObjectType as ge, pxToNum as yn, DeviceInputEventType as J, convertTextRotation as rt, FIX_ONE_PIXEL_BLUR_OFFSET as se, fixLineWidthByScale as st } from "@univerjs/engine-render";
6
- import { ObjectProvider as Tn, SLIDE_KEY as oe } from "@univerjs/slides";
7
- import { useDependency as x, ISidebarService as Tt, ICanvasPopupService as Mn, ILayoutService as wn, KeyCode as M, ILocalFileService as Nn, useObservable as Dn, DISABLE_AUTO_FOCUS_KEY as ot, getMenuHiddenObservable as fe, MenuItemType as _e, RibbonStartGroup as Un, MetaKeys as Vn, IMenuManagerService as Bn, ComponentManager as jn, IUIPartsService as Ln, IShortcutService as An, BuiltInUIPart as at, connectInjector as ct } from "@univerjs/ui";
1
+ var dn = Object.defineProperty;
2
+ var un = (i, e, t) => e in i ? dn(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
+ var I = (i, e, t) => un(i, typeof e != "symbol" ? e + "" : e, t);
4
+ import { Inject as X, Injector as Ke, IUniverInstanceService as T, RxDisposable as pe, UniverInstanceType as E, debounce as gn, getColorStyle as hn, CommandType as V, Tools as mn, LocaleService as ee, ICommandService as B, generateRandomId as It, BasicShapes as vn, PageElementType as Ge, Disposable as Ve, DisposableCollection as Xe, IContextService as Ce, toDisposable as bt, FOCUSING_COMMON_DRAWINGS as pn, createInternalEditorID as Cn, createIdentifier as Pt, EDITOR_ACTIVATED as xe, FOCUSING_EDITOR_STANDALONE as Et, FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE as Rt, DocumentDataModel as fn, HorizontalAlign as Ot, VerticalAlign as ye, IUndoRedoService as _n, WrapStrategy as nt, FOCUSING_EDITOR_BUT_HIDDEN as Sn, DEFAULT_EMPTY_DOCUMENT_VALUE as In, Direction as L, DocumentFlavor as bn, FOCUSING_UNIVER_EDITOR as xt, FORMULA_EDITOR_ACTIVATED as Pn, Plugin as En, merge as Rn, mergeOverrideWithDependencies as it, IConfigService as On } from "@univerjs/core";
5
+ import { IRenderManagerService as Y, Viewport as rt, ScrollBar as yt, getCurrentTypeOfRenderer as $e, Slide as xn, Rect as Tt, Scene as yn, ObjectType as ge, pxToNum as Tn, DeviceInputEventType as J, convertTextRotation as st, FIX_ONE_PIXEL_BLUR_OFFSET as se, fixLineWidthByScale as ot } from "@univerjs/engine-render";
6
+ import { ObjectProvider as Mn, SLIDE_KEY as oe } from "@univerjs/slides";
7
+ import { useDependency as x, ISidebarService as Mt, ICanvasPopupService as wn, ILayoutService as Nn, KeyCode as M, ILocalFileService as Dn, useObservable as Un, DISABLE_AUTO_FOCUS_KEY as at, getMenuHiddenObservable as fe, MenuItemType as _e, RibbonStartGroup as Vn, MetaKeys as Bn, IMenuManagerService as jn, ComponentManager as Ln, IUIPartsService as An, IShortcutService as $n, BuiltInUIPart as ct, connectInjector as lt } from "@univerjs/ui";
8
8
  import { jsxs as R, jsx as u } from "react/jsx-runtime";
9
- import { clsx as y, Button as be, Dropdown as Mt, ColorPicker as $n, InputNumber as de, Scrollbar as Hn } from "@univerjs/design";
10
- import wt, { forwardRef as $, useRef as Nt, createElement as H, useState as G, useEffect as me, useMemo as Fn, useCallback as lt } from "react";
11
- import { BehaviorSubject as Q, Subject as Dt, filter as zn, takeUntil as dt } from "rxjs";
12
- import { DocSelectionManagerService as Wn, DocSkeletonManagerService as ut, RichTextEditingMutation as kn } from "@univerjs/docs";
13
- import { IEditorService as Xe, DocSelectionRenderService as gt, VIEWPORT_KEY as ht, DOCS_COMPONENT_MAIN_LAYER_INDEX as Kn, MoveSelectionOperation as Gn, MoveCursorOperation as Xn, DOCS_VIEW_KEY as Yn, DeleteLeftCommand as Zn } from "@univerjs/docs-ui";
14
- import { DRAWING_IMAGE_ALLOW_IMAGE_LIST as qn, IImageIoService as Jn, getImageSize as Qn } from "@univerjs/drawing";
15
- var ei = Object.getOwnPropertyDescriptor, ti = (i, e, t, n) => {
16
- for (var r = n > 1 ? void 0 : n ? ei(e, t) : e, s = i.length - 1, o; s >= 0; s--)
9
+ import { clsx as y, Button as be, Dropdown as wt, ColorPicker as Hn, InputNumber as de, Scrollbar as Fn } from "@univerjs/design";
10
+ import Nt, { forwardRef as $, useRef as Dt, createElement as H, useState as G, useEffect as me, useMemo as zn, useCallback as dt } from "react";
11
+ import { BehaviorSubject as Q, Subject as Ut, filter as Wn, takeUntil as ut } from "rxjs";
12
+ import { DocSelectionManagerService as kn, DocSkeletonManagerService as gt, RichTextEditingMutation as Kn } from "@univerjs/docs";
13
+ import { IEditorService as Ye, DocSelectionRenderService as ht, VIEWPORT_KEY as mt, DOCS_COMPONENT_MAIN_LAYER_INDEX as Gn, MoveSelectionOperation as Xn, MoveCursorOperation as Yn, DOCS_VIEW_KEY as Zn, DeleteLeftCommand as qn } from "@univerjs/docs-ui";
14
+ import { DRAWING_IMAGE_ALLOW_IMAGE_LIST as Jn, IImageIoService as Qn, getImageSize as ei } from "@univerjs/drawing";
15
+ var ti = Object.getOwnPropertyDescriptor, ni = (i, e, t, n) => {
16
+ for (var r = n > 1 ? void 0 : n ? ti(e, t) : e, s = i.length - 1, o; s >= 0; s--)
17
17
  (o = i[s]) && (r = o(r) || r);
18
18
  return r;
19
19
  }, Be = (i, e) => (t, n) => e(t, n, i);
@@ -21,10 +21,10 @@ let ve = class extends pe {
21
21
  constructor(e, t, n, r) {
22
22
  super();
23
23
  I(this, "_objectProvider", null);
24
- I(this, "_refreshThumb", un(() => {
24
+ I(this, "_refreshThumb", gn(() => {
25
25
  this.createThumbs();
26
26
  }, 300));
27
- this._renderContext = e, this._injector = t, this._univerInstanceService = n, this._renderManagerService = r, this._objectProvider = this._injector.createInstance(Tn), this._addNewRender();
27
+ this._renderContext = e, this._injector = t, this._univerInstanceService = n, this._renderManagerService = r, this._objectProvider = this._injector.createInstance(Mn), this._addNewRender();
28
28
  }
29
29
  _addNewRender() {
30
30
  const { unitId: e, engine: t, scene: n } = this._renderContext, r = this._getCurrUnitModel();
@@ -37,7 +37,7 @@ let ve = class extends pe {
37
37
  this.createThumbs();
38
38
  }, 300);
39
39
  });
40
- const o = new it(oe.VIEW, n, {
40
+ const o = new rt(oe.VIEW, n, {
41
41
  left: 0,
42
42
  top: 0,
43
43
  bottom: 0,
@@ -56,7 +56,7 @@ let ve = class extends pe {
56
56
  o.onMouseWheel(l, h);
57
57
  }), n.onFileLoaded$.subscribeEvent(() => {
58
58
  this._refreshThumb();
59
- }), xt.attachTo(o), this._renderManagerService.setCurrent(e);
59
+ }), yt.attachTo(o);
60
60
  const a = this._createSlide(n);
61
61
  this._renderContext.mainComponent = a, this._createSlidePages(r, a), this.createThumbs(), t.runRenderLoop(() => {
62
62
  n.render();
@@ -73,13 +73,13 @@ let ve = class extends pe {
73
73
  });
74
74
  }
75
75
  _currentRender() {
76
- return this._renderManagerService.getCurrentTypeOfRenderer(E.UNIVER_SLIDE);
76
+ return $e(E.UNIVER_SLIDE, this._univerInstanceService, this._renderManagerService);
77
77
  }
78
78
  /**
79
79
  * @param mainScene
80
80
  */
81
81
  _createSlide(e) {
82
- const t = this._univerInstanceService.getCurrentUnitForType(E.UNIVER_SLIDE), { width: n, height: r } = e, s = t.getPageSize(), { width: o = 100, height: a = 100 } = s, c = new On(oe.COMPONENT, {
82
+ const t = this._univerInstanceService.getCurrentUnitForType(E.UNIVER_SLIDE), { width: n, height: r } = e, s = t.getPageSize(), { width: o = 100, height: a = 100 } = s, c = new xn(oe.COMPONENT, {
83
83
  left: (n - o) / 2,
84
84
  top: (r - a) / 2,
85
85
  width: o,
@@ -89,14 +89,14 @@ let ve = class extends pe {
89
89
  return c.enableSelectedClipElement(), e.addObject(c), c;
90
90
  }
91
91
  _addBackgroundRect(e, t) {
92
- const r = this._univerInstanceService.getCurrentUnitForType(E.UNIVER_SLIDE).getPageSize(), { width: s = 0, height: o = 0 } = r, a = new yt("canvas", {
92
+ const r = this._univerInstanceService.getCurrentUnitForType(E.UNIVER_SLIDE).getPageSize(), { width: s = 0, height: o = 0 } = r, a = new Tt("canvas", {
93
93
  left: 0,
94
94
  top: 0,
95
95
  width: s,
96
96
  height: o,
97
97
  strokeWidth: 1,
98
98
  stroke: "rgba(198,198,198,1)",
99
- fill: gn(t) || "rgba(255,255,255,1)",
99
+ fill: hn(t) || "rgba(255,255,255,1)",
100
100
  zIndex: 0,
101
101
  evented: !1
102
102
  });
@@ -183,11 +183,11 @@ let ve = class extends pe {
183
183
  const n = this._renderContext;
184
184
  if (!n || !this._objectProvider)
185
185
  return;
186
- const { scene: r, mainComponent: s } = n, o = s, { width: a, height: c } = o, h = new xn(e, o, {
186
+ const { scene: r, mainComponent: s } = n, o = s, { width: a, height: c } = o, h = new yn(e, o, {
187
187
  width: a,
188
188
  height: c
189
189
  });
190
- new it(`PageViewer_${e}`, h, {
190
+ new rt(`PageViewer_${e}`, h, {
191
191
  left: 0,
192
192
  top: 0,
193
193
  bottom: 0,
@@ -249,16 +249,16 @@ let ve = class extends pe {
249
249
  s && o && s.addPageScene(o), e.appendPage(t), e.setActivePage(t);
250
250
  }
251
251
  };
252
- ve = ti([
253
- Be(1, X(ke)),
252
+ ve = ni([
253
+ Be(1, X(Ke)),
254
254
  Be(2, T),
255
255
  Be(3, Y)
256
256
  ], ve);
257
- var ni = Object.getOwnPropertyDescriptor, ii = (i, e, t, n) => {
258
- for (var r = n > 1 ? void 0 : n ? ni(e, t) : e, s = i.length - 1, o; s >= 0; s--)
257
+ var ii = Object.getOwnPropertyDescriptor, ri = (i, e, t, n) => {
258
+ for (var r = n > 1 ? void 0 : n ? ii(e, t) : e, s = i.length - 1, o; s >= 0; s--)
259
259
  (o = i[s]) && (r = o(r) || r);
260
260
  return r;
261
- }, ri = (i, e) => (t, n) => e(t, n, i);
261
+ }, si = (i, e) => (t, n) => e(t, n, i);
262
262
  let N = class extends pe {
263
263
  constructor(i) {
264
264
  super(), this._renderManagerService = i;
@@ -291,10 +291,10 @@ let N = class extends pe {
291
291
  this._getSlideRenderControllerFromRenderUnit(i).appendPage();
292
292
  }
293
293
  };
294
- N = ii([
295
- ri(0, Y)
294
+ N = ri([
295
+ si(0, Y)
296
296
  ], N);
297
- const si = "slides-ui.config", mt = {}, Ut = {
297
+ const oi = "slides-ui.config", vt = {}, Vt = {
298
298
  id: "slide.operation.delete-element",
299
299
  type: V.OPERATION,
300
300
  handler: (i, e) => {
@@ -313,7 +313,7 @@ var U = function() {
313
313
  }
314
314
  return i;
315
315
  }, U.apply(this, arguments);
316
- }, oi = function(i, e) {
316
+ }, ai = function(i, e) {
317
317
  var t = {};
318
318
  for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && e.indexOf(n) < 0 && (t[n] = i[n]);
319
319
  if (i != null && typeof Object.getOwnPropertySymbols == "function")
@@ -321,15 +321,15 @@ var U = function() {
321
321
  e.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(i, n[r]) && (t[n[r]] = i[n[r]]);
322
322
  return t;
323
323
  }, F = $(function(i, e) {
324
- var t = i.icon, n = i.id, r = i.className, s = i.extend, o = oi(i, ["icon", "id", "className", "extend"]), a = "univerjs-icon univerjs-icon-".concat(n, " ").concat(r || "").trim(), c = Nt("_".concat(li()));
325
- return Vt(t, "".concat(n), { defIds: t.defIds, idSuffix: c.current }, U({ ref: e, className: a }, o), s);
324
+ var t = i.icon, n = i.id, r = i.className, s = i.extend, o = ai(i, ["icon", "id", "className", "extend"]), a = "univerjs-icon univerjs-icon-".concat(n, " ").concat(r || "").trim(), c = Dt("_".concat(di()));
325
+ return Bt(t, "".concat(n), { defIds: t.defIds, idSuffix: c.current }, U({ ref: e, className: a }, o), s);
326
326
  });
327
- function Vt(i, e, t, n, r) {
328
- return H(i.tag, U(U({ key: e }, ai(i, t, r)), n), (ci(i, t).children || []).map(function(s, o) {
329
- return Vt(s, "".concat(e, "-").concat(i.tag, "-").concat(o), t, void 0, r);
327
+ function Bt(i, e, t, n, r) {
328
+ return H(i.tag, U(U({ key: e }, ci(i, t, r)), n), (li(i, t).children || []).map(function(s, o) {
329
+ return Bt(s, "".concat(e, "-").concat(i.tag, "-").concat(o), t, void 0, r);
330
330
  }));
331
331
  }
332
- function ai(i, e, t) {
332
+ function ci(i, e, t) {
333
333
  var n = U({}, i.attrs);
334
334
  t != null && t.colorChannel1 && n.fill === "colorChannel1" && (n.fill = t.colorChannel1), i.tag === "mask" && n.id && (n.id = n.id + e.idSuffix), Object.entries(n).forEach(function(s) {
335
335
  var o = s[0], a = s[1];
@@ -341,96 +341,96 @@ function ai(i, e, t) {
341
341
  typeof a == "string" && (n[o] = a.replace(/url\(#(.*)\)/, "url(#$1".concat(e.idSuffix, ")")));
342
342
  })), n;
343
343
  }
344
- function ci(i, e) {
344
+ function li(i, e) {
345
345
  var t, n = e.defIds;
346
346
  return !n || n.length === 0 ? i : i.tag === "defs" && (!((t = i.children) === null || t === void 0) && t.length) ? U(U({}, i), { children: i.children.map(function(r) {
347
347
  return typeof r.attrs.id == "string" && n && n.indexOf(r.attrs.id) > -1 ? U(U({}, r), { attrs: U(U({}, r.attrs), { id: r.attrs.id + e.idSuffix }) }) : r;
348
348
  }) }) : i;
349
349
  }
350
- function li() {
350
+ function di() {
351
351
  return Math.random().toString(36).substring(2, 8);
352
352
  }
353
353
  F.displayName = "UniverIcon";
354
- var di = { 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" } }] }, Bt = $(function(i, e) {
354
+ var ui = { 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" } }] }, jt = $(function(i, e) {
355
355
  return H(F, Object.assign({}, i, {
356
356
  id: "add-image-single",
357
357
  ref: e,
358
- icon: di
358
+ icon: ui
359
359
  }));
360
360
  });
361
- Bt.displayName = "AddImageSingle";
362
- var ui = { 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" } }] }, jt = $(function(i, e) {
361
+ jt.displayName = "AddImageSingle";
362
+ var gi = { 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" } }] }, Lt = $(function(i, e) {
363
363
  return H(F, Object.assign({}, i, {
364
364
  id: "autofill",
365
365
  ref: e,
366
- icon: ui
366
+ icon: gi
367
367
  }));
368
368
  });
369
- jt.displayName = "Autofill";
370
- var gi = { 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" } }] }, Lt = $(function(i, e) {
369
+ Lt.displayName = "Autofill";
370
+ var hi = { 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" } }] }, At = $(function(i, e) {
371
371
  return H(F, Object.assign({}, i, {
372
372
  id: "bottom-single",
373
373
  ref: e,
374
- icon: gi
374
+ icon: hi
375
375
  }));
376
376
  });
377
- Lt.displayName = "BottomSingle";
378
- var hi = { 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"] }, At = $(function(i, e) {
377
+ At.displayName = "BottomSingle";
378
+ var mi = { 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"] }, $t = $(function(i, e) {
379
379
  return H(F, Object.assign({}, i, {
380
380
  id: "graph-single",
381
381
  ref: e,
382
- icon: hi
382
+ icon: mi
383
383
  }));
384
384
  });
385
- At.displayName = "GraphSingle";
386
- var mi = { 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" } }] }, Ye = $(function(i, e) {
385
+ $t.displayName = "GraphSingle";
386
+ var vi = { 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" } }] }, Ze = $(function(i, e) {
387
387
  return H(F, Object.assign({}, i, {
388
388
  id: "more-down-single",
389
389
  ref: e,
390
- icon: mi
390
+ icon: vi
391
391
  }));
392
392
  });
393
- Ye.displayName = "MoreDownSingle";
394
- var vi = { 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" } }] }, $t = $(function(i, e) {
393
+ Ze.displayName = "MoreDownSingle";
394
+ 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" } }] }, Ht = $(function(i, e) {
395
395
  return H(F, Object.assign({}, i, {
396
396
  id: "move-down-single",
397
397
  ref: e,
398
- icon: vi
398
+ icon: pi
399
399
  }));
400
400
  });
401
- $t.displayName = "MoveDownSingle";
402
- 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 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" } }] }, Ht = $(function(i, e) {
401
+ Ht.displayName = "MoveDownSingle";
402
+ var Ci = { 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" } }] }, Ft = $(function(i, e) {
403
403
  return H(F, Object.assign({}, i, {
404
404
  id: "move-up-single",
405
405
  ref: e,
406
- icon: pi
406
+ icon: Ci
407
407
  }));
408
408
  });
409
- Ht.displayName = "MoveUpSingle";
410
- var Ci = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8.01281 1.36643C8.79386 0.585377 10.0602 0.585378 10.8412 1.36643L12.9223 3.44752C13.7034 4.22857 13.7034 5.4949 12.9223 6.27595L9.36445 9.83383C8.5834 10.6149 7.31707 10.6149 6.53602 9.83383L4.45493 7.75273C3.67388 6.97168 3.67388 5.70535 4.45493 4.9243L8.01281 1.36643ZM9.9927 2.21495C9.68028 1.90253 9.17375 1.90253 8.86133 2.21495L5.30346 5.77283L5.29671 5.77966L10.839 6.66224L12.0738 5.42742C12.3862 5.115 12.3862 4.60847 12.0738 4.29605L9.9927 2.21495Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M14.5179 9.48875C14.5179 9.99175 14.1101 10.3995 13.607 10.3995C13.1041 10.3995 12.6963 9.99175 12.6963 9.48875C12.6963 9.1773 13.0455 8.59966 13.3114 8.20487C13.4549 7.99177 13.7591 7.99177 13.9027 8.20486C14.1687 8.59965 14.5179 9.1773 14.5179 9.48875Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M1.98682 13.4992C1.98682 12.5603 2.74793 11.7992 3.68682 11.7992H14.2868C15.2257 11.7992 15.9868 12.5603 15.9868 13.4992V13.4992C15.9868 14.4381 15.2257 15.1992 14.2868 15.1992H3.68682C2.74793 15.1992 1.98682 14.4381 1.98682 13.4992V13.4992Z" } }] }, Ft = $(function(i, e) {
409
+ Ft.displayName = "MoveUpSingle";
410
+ var fi = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8.01281 1.36643C8.79386 0.585377 10.0602 0.585378 10.8412 1.36643L12.9223 3.44752C13.7034 4.22857 13.7034 5.4949 12.9223 6.27595L9.36445 9.83383C8.5834 10.6149 7.31707 10.6149 6.53602 9.83383L4.45493 7.75273C3.67388 6.97168 3.67388 5.70535 4.45493 4.9243L8.01281 1.36643ZM9.9927 2.21495C9.68028 1.90253 9.17375 1.90253 8.86133 2.21495L5.30346 5.77283L5.29671 5.77966L10.839 6.66224L12.0738 5.42742C12.3862 5.115 12.3862 4.60847 12.0738 4.29605L9.9927 2.21495Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M14.5179 9.48875C14.5179 9.99175 14.1101 10.3995 13.607 10.3995C13.1041 10.3995 12.6963 9.99175 12.6963 9.48875C12.6963 9.1773 13.0455 8.59966 13.3114 8.20487C13.4549 7.99177 13.7591 7.99177 13.9027 8.20486C14.1687 8.59965 14.5179 9.1773 14.5179 9.48875Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M1.98682 13.4992C1.98682 12.5603 2.74793 11.7992 3.68682 11.7992H14.2868C15.2257 11.7992 15.9868 12.5603 15.9868 13.4992V13.4992C15.9868 14.4381 15.2257 15.1992 14.2868 15.1992H3.68682C2.74793 15.1992 1.98682 14.4381 1.98682 13.4992V13.4992Z" } }] }, zt = $(function(i, e) {
411
411
  return H(F, Object.assign({}, i, {
412
412
  id: "paint-bucket",
413
413
  ref: e,
414
- icon: Ci
414
+ icon: fi
415
415
  }));
416
416
  });
417
- Ft.displayName = "PaintBucket";
418
- var fi = { 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"] }, zt = $(function(i, e) {
417
+ zt.displayName = "PaintBucket";
418
+ var _i = { 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"] }, Wt = $(function(i, e) {
419
419
  return H(F, Object.assign({}, i, {
420
420
  id: "text-single",
421
421
  ref: e,
422
- icon: fi
422
+ icon: _i
423
423
  }));
424
424
  });
425
- zt.displayName = "TextSingle";
426
- var _i = { 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" } }] }, Wt = $(function(i, e) {
425
+ Wt.displayName = "TextSingle";
426
+ var Si = { 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 = $(function(i, e) {
427
427
  return H(F, Object.assign({}, i, {
428
428
  id: "topmost-single",
429
429
  ref: e,
430
- icon: _i
430
+ icon: Si
431
431
  }));
432
432
  });
433
- Wt.displayName = "TopmostSingle";
433
+ kt.displayName = "TopmostSingle";
434
434
  const k = {
435
435
  id: "slide.operation.update-element",
436
436
  type: V.OPERATION,
@@ -438,20 +438,20 @@ const k = {
438
438
  const { oKey: t, props: n } = e, r = i.get(T), s = e == null ? void 0 : e.unitId, o = r.getUnit(s);
439
439
  if (!o) return !1;
440
440
  const a = o.getActivePage();
441
- return a.pageElements[t] = hn.deepMerge(a.pageElements[t], n), o.updatePage(a.id, a), !0;
442
- }
443
- }, Si = "univer-image-common-panel-grid", Ii = "univer-image-common-panel-border", bi = "univer-image-common-panel-title", Pi = "univer-image-common-panel-row", Ei = "univer-image-common-panel-column", Ri = "univer-image-common-panel-inline", Oi = "univer-image-common-panel-span2", xi = "univer-image-common-panel-span3", yi = "univer-image-common-panel-input", g = {
444
- imageCommonPanelGrid: Si,
445
- imageCommonPanelBorder: Ii,
446
- imageCommonPanelTitle: bi,
447
- imageCommonPanelRow: Pi,
448
- imageCommonPanelColumn: Ei,
449
- imageCommonPanelInline: Ri,
450
- imageCommonPanelSpan2: Oi,
451
- imageCommonPanelSpan3: xi,
452
- imageCommonPanelInput: yi
441
+ return a.pageElements[t] = mn.deepMerge(a.pageElements[t], n), o.updatePage(a.id, a), !0;
442
+ }
443
+ }, Ii = "univer-image-common-panel-grid", bi = "univer-image-common-panel-border", Pi = "univer-image-common-panel-title", Ei = "univer-image-common-panel-row", Ri = "univer-image-common-panel-column", Oi = "univer-image-common-panel-inline", xi = "univer-image-common-panel-span2", yi = "univer-image-common-panel-span3", Ti = "univer-image-common-panel-input", g = {
444
+ imageCommonPanelGrid: Ii,
445
+ imageCommonPanelBorder: bi,
446
+ imageCommonPanelTitle: Pi,
447
+ imageCommonPanelRow: Ei,
448
+ imageCommonPanelColumn: Ri,
449
+ imageCommonPanelInline: Oi,
450
+ imageCommonPanelSpan2: xi,
451
+ imageCommonPanelSpan3: yi,
452
+ imageCommonPanelInput: Ti
453
453
  };
454
- function Ti(i) {
454
+ function Mi(i) {
455
455
  const { pageId: e, unitId: t } = i, n = x(ee), r = x(N), s = x(B), o = r.getRenderUnitByPageId(e, t), a = o == null ? void 0 : o.scene;
456
456
  if (!a) return null;
457
457
  const c = a.getTransformer();
@@ -483,7 +483,7 @@ function Ti(i) {
483
483
  /* forward */
484
484
  );
485
485
  }, children: /* @__PURE__ */ R("span", { className: g.imageCommonPanelInline, children: [
486
- /* @__PURE__ */ u(Ht, {}),
486
+ /* @__PURE__ */ u(Ft, {}),
487
487
  n.t("image-panel.arrange.forward")
488
488
  ] }) }) }),
489
489
  /* @__PURE__ */ u("div", { className: y(g.imageCommonPanelColumn, g.imageCommonPanelSpan2), children: /* @__PURE__ */ u(be, { size: "small", onClick: () => {
@@ -492,7 +492,7 @@ function Ti(i) {
492
492
  /* backward */
493
493
  );
494
494
  }, children: /* @__PURE__ */ R("span", { className: g.imageCommonPanelInline, children: [
495
- /* @__PURE__ */ u($t, {}),
495
+ /* @__PURE__ */ u(Ht, {}),
496
496
  n.t("image-panel.arrange.backward")
497
497
  ] }) }) })
498
498
  ] }),
@@ -503,7 +503,7 @@ function Ti(i) {
503
503
  /* front */
504
504
  );
505
505
  }, children: /* @__PURE__ */ R("span", { className: g.imageCommonPanelInline, children: [
506
- /* @__PURE__ */ u(Wt, {}),
506
+ /* @__PURE__ */ u(kt, {}),
507
507
  n.t("image-panel.arrange.front")
508
508
  ] }) }) }),
509
509
  /* @__PURE__ */ u("div", { className: y(g.imageCommonPanelColumn, g.imageCommonPanelSpan2), children: /* @__PURE__ */ u(be, { size: "small", onClick: () => {
@@ -512,13 +512,13 @@ function Ti(i) {
512
512
  /* back */
513
513
  );
514
514
  }, children: /* @__PURE__ */ R("span", { className: g.imageCommonPanelInline, children: [
515
- /* @__PURE__ */ u(Lt, {}),
515
+ /* @__PURE__ */ u(At, {}),
516
516
  n.t("image-panel.arrange.back")
517
517
  ] }) }) })
518
518
  ] })
519
519
  ] });
520
520
  }
521
- function Mi(i) {
521
+ function wi(i) {
522
522
  var C, p;
523
523
  const { pageId: e, unitId: t } = i, n = x(ee), r = x(N), s = x(B), o = r.getRenderUnitByPageId(e, t), a = o == null ? void 0 : o.scene;
524
524
  if (!a) return null;
@@ -526,7 +526,7 @@ function Mi(i) {
526
526
  if (!c) return null;
527
527
  const l = c.getSelectedObjectMap().values().next().value;
528
528
  if (!l) return null;
529
- const [d, v] = wt.useState((p = (C = l.fill) == null ? void 0 : C.toString()) != null ? p : "");
529
+ const [d, v] = Nt.useState((p = (C = l.fill) == null ? void 0 : C.toString()) != null ? p : "");
530
530
  function f(m) {
531
531
  l == null || l.setProps({
532
532
  fill: m
@@ -551,18 +551,18 @@ function Mi(i) {
551
551
  children: /* @__PURE__ */ R("div", { className: g.imageCommonPanelGrid, children: [
552
552
  /* @__PURE__ */ u("div", { className: g.imageCommonPanelRow, children: /* @__PURE__ */ u("div", { className: y(g.imageCommonPanelColumn, g.imageCommonPanelTitle), children: /* @__PURE__ */ u("div", { children: n.t("slide.panel.fill.title") }) }) }),
553
553
  /* @__PURE__ */ u("div", { className: g.imageCommonPanelRow, children: /* @__PURE__ */ u("div", { className: y(g.imageCommonPanelColumn, g.imageCommonPanelSpan2), children: /* @__PURE__ */ u(
554
- Mt,
554
+ wt,
555
555
  {
556
556
  overlay: /* @__PURE__ */ u("div", { className: "univer-rounded-lg univer-p-4", children: /* @__PURE__ */ u(
557
- $n,
557
+ Hn,
558
558
  {
559
559
  value: "#fff",
560
560
  onChange: f
561
561
  }
562
562
  ) }),
563
563
  children: /* @__PURE__ */ R("a", { className: g.uiPluginSheetsBorderPanelButton, children: [
564
- /* @__PURE__ */ u(Ft, { extend: { colorChannel1: d != null ? d : "rgb(var(--primary-color))" } }),
565
- /* @__PURE__ */ u("span", { className: g.uiPluginSheetsBorderPanelMoreIcon, children: /* @__PURE__ */ u(Ye, {}) })
564
+ /* @__PURE__ */ u(zt, { extend: { colorChannel1: d != null ? d : "rgb(var(--primary-color))" } }),
565
+ /* @__PURE__ */ u("span", { className: g.uiPluginSheetsBorderPanelMoreIcon, children: /* @__PURE__ */ u(Ze, {}) })
566
566
  ] })
567
567
  }
568
568
  ) }) })
@@ -570,7 +570,7 @@ function Mi(i) {
570
570
  }
571
571
  );
572
572
  }
573
- function wi(i) {
573
+ function Ni(i) {
574
574
  const { pageId: e, unitId: t } = i, n = x(ee), r = x(N), s = x(B), o = r.getRenderUnitByPageId(e, t), a = o == null ? void 0 : o.scene;
575
575
  if (!a) return null;
576
576
  const c = a.getTransformer();
@@ -585,13 +585,13 @@ function wi(i) {
585
585
  angle: p = 0
586
586
  } = l, [m, _] = G(d), [b, P] = G(v), [w, D] = G(f), [j, O] = G(C), [K, ae] = G(p), z = (S) => {
587
587
  const { objects: ce } = S, le = ce.values().next().value, {
588
- width: rn = 0,
589
- height: sn = 0,
590
- left: on = 0,
591
- top: an = 0,
592
- angle: cn = 0
588
+ width: sn = 0,
589
+ height: on = 0,
590
+ left: an = 0,
591
+ top: cn = 0,
592
+ angle: ln = 0
593
593
  } = le;
594
- _(rn), P(sn), D(on), O(an), ae(cn);
594
+ _(sn), P(on), D(an), O(cn), ae(ln);
595
595
  };
596
596
  me(() => {
597
597
  const S = c.changeStart$.subscribe((le) => {
@@ -734,10 +734,10 @@ function wi(i) {
734
734
  }
735
735
  );
736
736
  }
737
- const Ni = "univer-image-common-panel", Di = {
738
- imageCommonPanel: Ni
737
+ const Di = "univer-image-common-panel", Ui = {
738
+ imageCommonPanel: Di
739
739
  }, Oe = "COMPONENT_SLIDE_SIDEBAR";
740
- function Ui() {
740
+ function Vi() {
741
741
  var h, l, d;
742
742
  const i = x(T), e = x(N), t = i.getCurrentUnitForType(E.UNIVER_SLIDE), n = (h = t == null ? void 0 : t.getActivePage()) == null ? void 0 : h.id;
743
743
  if (!n) return null;
@@ -747,25 +747,25 @@ function Ui() {
747
747
  if (!a)
748
748
  return null;
749
749
  const c = ((d = i.getFocusedUnit()) == null ? void 0 : d.getUnitId()) || "";
750
- return /* @__PURE__ */ R("section", { className: Di.imageCommonPanel, children: [
751
- /* @__PURE__ */ u(Ti, { pageId: n, unitId: c }),
752
- /* @__PURE__ */ u(wi, { pageId: n, unitId: c }),
753
- a.objectType === ge.RECT && /* @__PURE__ */ u(Mi, { pageId: n, unitId: c })
750
+ return /* @__PURE__ */ R("section", { className: Ui.imageCommonPanel, children: [
751
+ /* @__PURE__ */ u(Mi, { pageId: n, unitId: c }),
752
+ /* @__PURE__ */ u(Ni, { pageId: n, unitId: c }),
753
+ a.objectType === ge.RECT && /* @__PURE__ */ u(wi, { pageId: n, unitId: c })
754
754
  ] });
755
755
  }
756
- const Ze = {
756
+ const qe = {
757
757
  id: "slide.command.insert-float-shape",
758
758
  type: V.COMMAND,
759
759
  handler: async (i) => {
760
760
  var r;
761
761
  const e = i.get(B), n = (r = i.get(T).getFocusedUnit()) == null ? void 0 : r.getUnitId();
762
- return e.executeCommand(kt.id, { unitId: n });
762
+ return e.executeCommand(Kt.id, { unitId: n });
763
763
  }
764
- }, kt = {
764
+ }, Kt = {
765
765
  id: "slide.operation.insert-float-shape",
766
766
  type: V.OPERATION,
767
767
  handler: async (i, e) => {
768
- const t = St(6), n = i.get(T), r = e.unitId, s = n.getUnit(r);
768
+ const t = It(6), n = i.get(T), r = e.unitId, s = n.getUnit(r);
769
769
  if (!s) return !1;
770
770
  const o = s.getActivePage(), a = Object.values(o.pageElements), c = a != null && a.length ? Math.max(...a.map((v) => v.zIndex)) : 20, h = {
771
771
  id: t,
@@ -776,9 +776,9 @@ const Ze = {
776
776
  height: 250,
777
777
  title: t,
778
778
  description: "",
779
- type: Ke.SHAPE,
779
+ type: Ge.SHAPE,
780
780
  shape: {
781
- shapeType: mn.Rect,
781
+ shapeType: vn.Rect,
782
782
  text: "",
783
783
  shapeProperties: {
784
784
  shapeBackgroundFill: {
@@ -791,11 +791,11 @@ const Ze = {
791
791
  const l = i.get(N), d = l.createObjectToPage(h, o.id, r);
792
792
  return d && l.setObjectActiveByPage(d, o.id, r), !0;
793
793
  }
794
- }, $e = {
794
+ }, He = {
795
795
  id: "sidebar.operation.slide-shape",
796
796
  type: V.COMMAND,
797
797
  handler: async (i, e) => {
798
- const { visible: t, objectType: n } = e, r = i.get(Tt), s = i.get(ee);
798
+ const { visible: t, objectType: n } = e, r = i.get(Mt), s = i.get(ee);
799
799
  let o = "", a = "";
800
800
  return n === ge.RECT ? (o = "slide.sidebar.shape", a = Oe) : n === ge.IMAGE ? (o = "slide.sidebar.image", a = Oe) : n === ge.RICH_TEXT && (o = "slide.sidebar.text", a = Oe), t ? r.open({
801
801
  header: { title: s.t(o) },
@@ -805,14 +805,14 @@ const Ze = {
805
805
  width: 360
806
806
  }) : r.close(), !0;
807
807
  }
808
- }, Kt = "COMPONENT_SLIDE_IMAGE_POPUP_MENU";
809
- var Vi = Object.getOwnPropertyDescriptor, Bi = (i, e, t, n) => {
810
- for (var r = n > 1 ? void 0 : n ? Vi(e, t) : e, s = i.length - 1, o; s >= 0; s--)
808
+ }, Gt = "COMPONENT_SLIDE_IMAGE_POPUP_MENU";
809
+ var Bi = Object.getOwnPropertyDescriptor, ji = (i, e, t, n) => {
810
+ for (var r = n > 1 ? void 0 : n ? Bi(e, t) : e, s = i.length - 1, o; s >= 0; s--)
811
811
  (o = i[s]) && (r = o(r) || r);
812
812
  return r;
813
813
  }, Pe = (i, e) => (t, n) => e(t, n, i);
814
- function ji(i, e) {
815
- const t = vt(i.left, i.top, e), n = vt(i.right, i.bottom, e);
814
+ function Li(i, e) {
815
+ const t = pt(i.left, i.top, e), n = pt(i.right, i.bottom, e);
816
816
  return {
817
817
  left: t.x,
818
818
  top: t.y,
@@ -820,7 +820,7 @@ function ji(i, e) {
820
820
  bottom: n.y
821
821
  };
822
822
  }
823
- function vt(i, e, t) {
823
+ function pt(i, e, t) {
824
824
  const { scaleX: n, scaleY: r } = t.getAncestorScale(), s = t.getViewport(oe.VIEW);
825
825
  if (!s)
826
826
  return {
@@ -845,14 +845,14 @@ let Te = class extends Ve {
845
845
  right: c + l,
846
846
  top: h,
847
847
  bottom: h + d
848
- }, p = a.getCanvasElement(), m = p.getBoundingClientRect(), _ = yn(p.style.width), { scaleX: b, scaleY: P } = o.getAncestorScale(), w = ji(C, o), { top: D, left: j, width: O } = m, K = O / _;
848
+ }, p = a.getCanvasElement(), m = p.getBoundingClientRect(), _ = Tn(p.style.width), { scaleX: b, scaleY: P } = o.getAncestorScale(), w = Li(C, o), { top: D, left: j, width: O } = m, K = O / _;
849
849
  return {
850
850
  left: w.left * K * b + j + v,
851
851
  right: w.right * K * b + j + v,
852
852
  top: w.top * K * P + D + f,
853
853
  bottom: w.bottom * K * P + D + f
854
854
  };
855
- })(), r = new Q(n), s = new Ge();
855
+ })(), r = new Q(n), s = new Xe();
856
856
  return {
857
857
  position: n,
858
858
  position$: r,
@@ -881,14 +881,14 @@ let Te = class extends Ve {
881
881
  };
882
882
  }
883
883
  };
884
- Te = Bi([
885
- Pe(0, X(Mn)),
884
+ Te = ji([
885
+ Pe(0, X(wn)),
886
886
  Pe(1, Y),
887
887
  Pe(2, T),
888
888
  Pe(3, B)
889
889
  ], Te);
890
- var Li = Object.getOwnPropertyDescriptor, Ai = (i, e, t, n) => {
891
- for (var r = n > 1 ? void 0 : n ? Li(e, t) : e, s = i.length - 1, o; s >= 0; s--)
890
+ var Ai = Object.getOwnPropertyDescriptor, $i = (i, e, t, n) => {
891
+ for (var r = n > 1 ? void 0 : n ? Ai(e, t) : e, s = i.length - 1, o; s >= 0; s--)
892
892
  (o = i[s]) && (r = o(r) || r);
893
893
  return r;
894
894
  }, q = (i, e) => (t, n) => e(t, n, i);
@@ -919,7 +919,7 @@ let Me = class extends pe {
919
919
  if (!a) return;
920
920
  let c;
921
921
  this.disposeWithMe(
922
- It(
922
+ bt(
923
923
  a.createControl$.subscribe(() => {
924
924
  const l = a.getSelectedObjectMap();
925
925
  if (l.size > 1) {
@@ -931,13 +931,13 @@ let Me = class extends pe {
931
931
  return;
932
932
  const v = d.oKey;
933
933
  c == null || c.dispose(), c = this.disposeWithMe(this._canvasPopManagerService.attachPopupToObject(d, {
934
- componentKey: Kt,
934
+ componentKey: Gt,
935
935
  direction: "horizontal",
936
936
  offset: [2, 0],
937
937
  extraProps: {
938
938
  menuItems: this._getMenuItemsByObjectType(d.objectType, v, e)
939
939
  }
940
- })), this._sidebarService.visible && this._commandService.executeCommand($e.id, {
940
+ })), this._sidebarService.visible && this._commandService.executeCommand(He.id, {
941
941
  visible: !0,
942
942
  objectType: d.objectType
943
943
  });
@@ -945,7 +945,7 @@ let Me = class extends pe {
945
945
  )
946
946
  ), this.disposeWithMe(
947
947
  a.clearControl$.subscribe(() => {
948
- c == null || c.dispose(), this._contextService.setContextValue(vn, !1);
948
+ c == null || c.dispose(), this._contextService.setContextValue(pn, !1);
949
949
  })
950
950
  ), this.disposeWithMe(
951
951
  a.changing$.subscribe(() => {
@@ -974,7 +974,7 @@ let Me = class extends pe {
974
974
  return [{
975
975
  label: "slide.popup.edit",
976
976
  index: 0,
977
- commandId: $e.id,
977
+ commandId: He.id,
978
978
  commandParams: {
979
979
  visible: !0,
980
980
  objectType: e
@@ -983,7 +983,7 @@ let Me = class extends pe {
983
983
  }, {
984
984
  label: "slide.popup.delete",
985
985
  index: 5,
986
- commandId: Ut.id,
986
+ commandId: Vt.id,
987
987
  commandParams: {
988
988
  id: t,
989
989
  unitId: n
@@ -992,27 +992,27 @@ let Me = class extends pe {
992
992
  }];
993
993
  }
994
994
  };
995
- Me = Ai([
995
+ Me = $i([
996
996
  q(0, X(Te)),
997
997
  q(1, Y),
998
998
  q(2, T),
999
999
  q(3, Ce),
1000
1000
  q(4, X(N)),
1001
- q(5, Tt),
1001
+ q(5, Mt),
1002
1002
  q(6, B)
1003
1003
  ], Me);
1004
1004
  const we = {
1005
1005
  id: "slide.operation.edit-arrow",
1006
1006
  type: V.OPERATION,
1007
1007
  handler: () => !0
1008
- }, he = pn("SLIDE_EDITOR");
1009
- var $i = Object.getOwnPropertyDescriptor, Hi = (i, e, t, n) => {
1010
- for (var r = n > 1 ? void 0 : n ? $i(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1008
+ }, he = Cn("SLIDE_EDITOR");
1009
+ var Hi = Object.getOwnPropertyDescriptor, Fi = (i, e, t, n) => {
1010
+ for (var r = n > 1 ? void 0 : n ? Hi(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1011
1011
  (o = i[s]) && (r = o(r) || r);
1012
1012
  return r;
1013
1013
  }, je = (i, e) => (t, n) => e(t, n, i);
1014
- const qe = bt("univer.slide-editor-bridge.service");
1015
- let He = class extends Ve {
1014
+ const Je = Pt("univer.slide-editor-bridge.service");
1015
+ let Fe = class extends Ve {
1016
1016
  constructor(e, t, n) {
1017
1017
  super();
1018
1018
  I(this, "_editorUnitId", he);
@@ -1030,7 +1030,7 @@ let He = class extends Ve {
1030
1030
  I(this, "visible$", this._visible$.asObservable());
1031
1031
  I(this, "_afterVisible$", new Q(this._visibleParam));
1032
1032
  I(this, "afterVisible$", this._afterVisible$.asObservable());
1033
- I(this, "endEditing$", new Dt());
1033
+ I(this, "endEditing$", new Ut());
1034
1034
  I(this, "_currentEditRectInfo");
1035
1035
  this._editorService = e, this._contextService = t, this._renderManagerService = n;
1036
1036
  }
@@ -1045,7 +1045,7 @@ let He = class extends Ve {
1045
1045
  * @editorInfo editorInfo
1046
1046
  */
1047
1047
  setEditorRect(e) {
1048
- this._currentEditRectInfo = e, this._editorService.getFocusEditor() || (this._editorService.focus(he), this._contextService.setContextValue(xe, !1), this._contextService.setContextValue(Pt, !1), this._contextService.setContextValue(Et, !1));
1048
+ this._currentEditRectInfo = e, this._editorService.getFocusEditor() || (this._editorService.focus(he), this._contextService.setContextValue(xe, !1), this._contextService.setContextValue(Et, !1), this._contextService.setContextValue(Rt, !1));
1049
1049
  const t = this.getEditRectState();
1050
1050
  this._currentEditRectState = t, this._currentEditRectState$.next(t);
1051
1051
  }
@@ -1065,12 +1065,12 @@ let He = class extends Ve {
1065
1065
  pageSize: { width: t.richTextObj.width, height: 1 / 0 }
1066
1066
  };
1067
1067
  const o = {
1068
- documentModel: new Cn(r),
1068
+ documentModel: new fn(r),
1069
1069
  fontString: "document",
1070
1070
  textRotation: { a: 0, v: 0 },
1071
1071
  wrapStrategy: 0,
1072
1072
  verticalAlign: ye.TOP,
1073
- horizontalAlign: Rt.LEFT,
1073
+ horizontalAlign: Ot.LEFT,
1074
1074
  paddingData: { t: 0, b: 1, l: 2, r: 2 }
1075
1075
  }, a = t.richTextObj.width, c = t.richTextObj.height, h = t.richTextObj.left, l = t.richTextObj.top, d = {
1076
1076
  left: 0,
@@ -1149,12 +1149,12 @@ let He = class extends Ve {
1149
1149
  };
1150
1150
  }
1151
1151
  };
1152
- He = Hi([
1153
- je(0, Xe),
1152
+ Fe = Fi([
1153
+ je(0, Ye),
1154
1154
  je(1, Ce),
1155
1155
  je(2, Y)
1156
- ], He);
1157
- class Fi {
1156
+ ], Fe);
1157
+ class zi {
1158
1158
  constructor() {
1159
1159
  I(this, "_state", null);
1160
1160
  I(this, "_rect", null);
@@ -1188,16 +1188,16 @@ class Fi {
1188
1188
  this._state$.next(e);
1189
1189
  }
1190
1190
  }
1191
- const Je = bt(
1191
+ const Qe = Pt(
1192
1192
  "univer.slide-editor-manager.service"
1193
1193
  );
1194
- var Z = /* @__PURE__ */ ((i) => (i[i.InitialState = 0] = "InitialState", i[i.StartEditor = 1] = "StartEditor", i[i.CursorChange = 2] = "CursorChange", i))(Z || {}), zi = Object.getOwnPropertyDescriptor, Wi = (i, e, t, n) => {
1195
- for (var r = n > 1 ? void 0 : n ? zi(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1194
+ var Z = /* @__PURE__ */ ((i) => (i[i.InitialState = 0] = "InitialState", i[i.StartEditor = 1] = "StartEditor", i[i.CursorChange = 2] = "CursorChange", i))(Z || {}), Wi = Object.getOwnPropertyDescriptor, ki = (i, e, t, n) => {
1195
+ for (var r = n > 1 ? void 0 : n ? Wi(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1196
1196
  (o = i[s]) && (r = o(r) || r);
1197
1197
  return r;
1198
1198
  }, A = (i, e) => (t, n) => e(t, n, i);
1199
- const pt = -1e3, Ct = 5, ki = 2;
1200
- let Fe = class extends Ve {
1199
+ const Ct = -1e3, ft = 5, Ki = 2;
1200
+ let ze = class extends Ve {
1201
1201
  constructor(e, t, n, r, s, o, a, c, h, l, d, v) {
1202
1202
  super();
1203
1203
  /**
@@ -1224,7 +1224,7 @@ let Fe = class extends Ve {
1224
1224
  (e = this._d) == null || e.dispose(), this._d = null;
1225
1225
  }
1226
1226
  _init() {
1227
- const e = new Ge();
1227
+ const e = new Xe();
1228
1228
  return this._subscribeToCurrentCell(e), this._initialKeyboardListener(e), this._initialCursorSync(e), this._listenEditorFocus(e), this._commandExecutedListener(e), setTimeout(() => {
1229
1229
  this._cursorStateListener(e);
1230
1230
  }, 1e3), e;
@@ -1241,17 +1241,16 @@ let Fe = class extends Ve {
1241
1241
  }
1242
1242
  _getEditorSkeleton(e) {
1243
1243
  var t;
1244
- return (t = this._renderManagerService.getRenderById(e)) == null ? void 0 : t.with(ut).getSkeleton();
1244
+ return (t = this._renderManagerService.getRenderById(e)) == null ? void 0 : t.with(gt).getSkeleton();
1245
1245
  }
1246
1246
  _getEditorViewModel(e) {
1247
1247
  var t;
1248
- return (t = this._renderManagerService.getRenderById(e)) == null ? void 0 : t.with(ut).getViewModel();
1248
+ return (t = this._renderManagerService.getRenderById(e)) == null ? void 0 : t.with(gt).getViewModel();
1249
1249
  }
1250
1250
  _initialCursorSync(e) {
1251
- e.add(this._cellEditorManagerService.focus$.pipe(zn((t) => !!t)).subscribe(() => {
1252
- var n;
1253
- const t = (n = this._renderManagerService.getCurrentTypeOfRenderer(E.UNIVER_DOC)) == null ? void 0 : n.with(gt);
1254
- t && t.sync();
1251
+ e.add(this._cellEditorManagerService.focus$.pipe(Wn((t) => !!t)).subscribe(() => {
1252
+ var t;
1253
+ (t = $e(E.UNIVER_DOC, this._instanceSrv, this._renderManagerService)) == null || t.with(ht).sync();
1255
1254
  }));
1256
1255
  }
1257
1256
  /**
@@ -1260,21 +1259,19 @@ let Fe = class extends Ve {
1260
1259
  */
1261
1260
  _subscribeToCurrentCell(e) {
1262
1261
  e.add(this._editorBridgeService.currentEditRectState$.subscribe((t) => {
1263
- var v;
1264
- if (t == null || this._contextService.getContextValue(Pt) || this._contextService.getContextValue(Et))
1262
+ var d;
1263
+ if (t == null || this._contextService.getContextValue(Et) || this._contextService.getContextValue(Rt))
1265
1264
  return;
1266
1265
  const {
1267
1266
  position: { startX: n, endX: r },
1268
1267
  documentLayoutObject: { textRotation: s, wrapStrategy: o, documentModel: a },
1269
1268
  scaleX: c,
1270
1269
  editorUnitId: h
1271
- } = t, { vertexAngle: l } = rt(s);
1272
- a.updateDocumentId(h), o === tt.WRAP && l === 0 && a.updateDocumentDataPageSize((r - n) / c), this._instanceSrv.changeDoc(h, a), this._contextService.setContextValue(_n, !0), this._textSelectionManagerService.replaceTextRanges([{
1270
+ } = t, { vertexAngle: l } = st(s);
1271
+ a.updateDocumentId(h), o === nt.WRAP && l === 0 && a.updateDocumentDataPageSize((r - n) / c), this._instanceSrv.changeDoc(h, a), this._contextService.setContextValue(Sn, !0), this._textSelectionManagerService.replaceTextRanges([{
1273
1272
  startOffset: 0,
1274
1273
  endOffset: 0
1275
- }]);
1276
- const d = (v = this._renderManagerService.getCurrentTypeOfRenderer(E.UNIVER_DOC)) == null ? void 0 : v.with(gt);
1277
- d && d.activate(pt, pt);
1274
+ }]), (d = $e(E.UNIVER_DOC, this._instanceSrv, this._renderManagerService)) == null || d.with(ht).activate(Ct, Ct);
1278
1275
  }));
1279
1276
  }
1280
1277
  /**
@@ -1314,8 +1311,8 @@ let Fe = class extends Ve {
1314
1311
  * to determine whether it needs to be automatically widened.
1315
1312
  */
1316
1313
  _predictingSize(e, t, n, r, s = 1, o = 1) {
1317
- const { startX: a, endX: c } = e, { textRotation: h, wrapStrategy: l } = r, d = r.documentModel, { vertexAngle: v } = rt(h), f = document.body.clientWidth;
1318
- if (l === tt.WRAP && v === 0) {
1314
+ const { startX: a, endX: c } = e, { textRotation: h, wrapStrategy: l } = r, d = r.documentModel, { vertexAngle: v } = st(h), f = document.body.clientWidth;
1315
+ if (l === nt.WRAP && v === 0) {
1319
1316
  const { actualWidth: m, actualHeight: _ } = n.getActualSize();
1320
1317
  return {
1321
1318
  actualWidth: m * s,
@@ -1325,8 +1322,8 @@ let Fe = class extends Ve {
1325
1322
  d == null || d.updateDocumentDataPageSize((f - a - t.left) / s), n.calculate();
1326
1323
  const C = n.getActualSize();
1327
1324
  let p = c - a;
1328
- return p < C.actualWidth * s + Ct * s && (p = C.actualWidth * s + Ct * s), d == null || d.updateDocumentDataPageSize(p / s), d == null || d.updateDocumentRenderConfig({
1329
- horizontalAlign: Rt.UNSPECIFIED,
1325
+ return p < C.actualWidth * s + ft * s && (p = C.actualWidth * s + ft * s), d == null || d.updateDocumentDataPageSize(p / s), d == null || d.updateDocumentRenderConfig({
1326
+ horizontalAlign: Ot.UNSPECIFIED,
1330
1327
  cellValueType: void 0
1331
1328
  }), {
1332
1329
  actualWidth: p,
@@ -1348,9 +1345,9 @@ let Fe = class extends Ve {
1348
1345
  const d = this._renderContext.engine.getCanvasElement(), v = d.getBoundingClientRect(), f = h(d.style.width), { top: C, left: p, width: m } = v, _ = m / f;
1349
1346
  let { startX: b, startY: P } = n;
1350
1347
  b += r.left, P += r.top;
1351
- const { document: w, scene: D, engine: j } = c, O = D.getViewport(ht.VIEW_MAIN), K = document.body.clientHeight - P - r.top - ki * 2, ae = document.body.clientWidth - b - r.left;
1348
+ const { document: w, scene: D, engine: j } = c, O = D.getViewport(mt.VIEW_MAIN), K = document.body.clientHeight - P - r.top - Ki * 2, ae = document.body.clientWidth - b - r.left;
1352
1349
  let z = t, W = O == null ? void 0 : O.getScrollBar();
1353
- z > K ? (z = K, W == null ? O && new xt(O, { enableHorizontal: !1, barSize: 8 }) : O == null || O.resetCanvasSizeAndUpdateScroll()) : (W = null, (S = O == null ? void 0 : O.getScrollBar()) == null || S.dispose()), e += (W == null ? void 0 : W.barSize) || 0, e = Math.min(e, ae), b -= se, P -= se, this._addBackground(D, e / o, t / a, s);
1350
+ z > K ? (z = K, W == null ? O && new yt(O, { enableHorizontal: !1, barSize: 8 }) : O == null || O.resetCanvasSizeAndUpdateScroll()) : (W = null, (S = O == null ? void 0 : O.getScrollBar()) == null || S.dispose()), e += (W == null ? void 0 : W.barSize) || 0, e = Math.min(e, ae), b -= se, P -= se, this._addBackground(D, e / o, t / a, s);
1354
1351
  const { scaleX: te, scaleY: ne } = D.getPrecisionScale();
1355
1352
  D.transformByState({
1356
1353
  width: e * _ / o,
@@ -1359,8 +1356,8 @@ let Fe = class extends Ve {
1359
1356
  scaleY: a * _
1360
1357
  }), w.resize(e / o, t / a), setTimeout(() => {
1361
1358
  j.resizeBySize(
1362
- st(e, te),
1363
- st(z, ne)
1359
+ ot(e, te),
1360
+ ot(z, ne)
1364
1361
  );
1365
1362
  }, 0);
1366
1363
  const Se = this._layoutService.getContentElement().getBoundingClientRect(), Ie = d.getBoundingClientRect();
@@ -1379,14 +1376,14 @@ let Fe = class extends Ve {
1379
1376
  const s = "_backgroundRectHelperColor_", o = e.getObject(s);
1380
1377
  o == null && r == null || (o == null ? e.addObjects(
1381
1378
  [
1382
- new yt(s, {
1379
+ new Tt(s, {
1383
1380
  width: t,
1384
1381
  height: n,
1385
1382
  fill: r,
1386
1383
  evented: !1
1387
1384
  })
1388
1385
  ],
1389
- Kn
1386
+ Gn
1390
1387
  ) : r == null ? o.dispose() : (o.setProps({
1391
1388
  fill: r
1392
1389
  }), o.transformByState({
@@ -1427,7 +1424,7 @@ let Fe = class extends Ve {
1427
1424
  return;
1428
1425
  this._fitTextSize(r, o, C, s, a, c);
1429
1426
  const p = f.getBody().dataStream.length - 2 || 0;
1430
- (m = v.getViewport(ht.VIEW_MAIN)) == null || m.scrollToViewportPos({
1427
+ (m = v.getViewport(mt.VIEW_MAIN)) == null || m.scrollToViewportPos({
1431
1428
  viewportScrollX: Number.POSITIVE_INFINITY
1432
1429
  }), this._textSelectionManagerService.replaceTextRanges([
1433
1430
  {
@@ -1437,7 +1434,7 @@ let Fe = class extends Ve {
1437
1434
  ]), (_ = this._renderManagerService.getRenderById(l)) == null || _.scene.resetCursor();
1438
1435
  }
1439
1436
  _resetBodyStyle(e, t = !1) {
1440
- e.dataStream = Sn, 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 = [
1437
+ e.dataStream = In, 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 = [
1441
1438
  {
1442
1439
  startIndex: 0
1443
1440
  }
@@ -1452,7 +1449,7 @@ let Fe = class extends Ve {
1452
1449
  _showEditorByKeyboard(e) {
1453
1450
  }
1454
1451
  _commandExecutedListener(e) {
1455
- const t = [we.id], n = [kn.id];
1452
+ const t = [we.id], n = [Kn.id];
1456
1453
  e.add(this._commandService.onCommandExecuted((r) => {
1457
1454
  this._editorService.getFocusId() === he && (t.includes(r.id) && this._moveCursorCmdHandler(r), n.includes(r.id) && this._editorBridgeService.isVisible() && this._editingChangedHandler());
1458
1455
  }));
@@ -1471,7 +1468,7 @@ let Fe = class extends Ve {
1471
1468
  this._handleEditorVisible({ visible: !0, eventType: 3, unitId: n });
1472
1469
  }
1473
1470
  _getEditorObject() {
1474
- return Ki(this._editorBridgeService.getCurrentEditorId(), this._renderManagerService);
1471
+ return Gi(this._editorBridgeService.getCurrentEditorId(), this._renderManagerService);
1475
1472
  }
1476
1473
  async _handleEditorInvisible(e) {
1477
1474
  const { keycode: t } = e;
@@ -1522,40 +1519,40 @@ let Fe = class extends Ve {
1522
1519
  if (!t)
1523
1520
  return;
1524
1521
  const { document: n } = t;
1525
- e.add(It(n.onPointerDown$.subscribeEvent(() => {
1522
+ e.add(bt(n.onPointerDown$.subscribeEvent(() => {
1526
1523
  this._cursorChange === Z.StartEditor && (this._cursorChange = Z.CursorChange);
1527
1524
  })));
1528
1525
  }
1529
1526
  // TODO: @JOCS, is it necessary to move these commands MoveSelectionOperation\MoveCursorOperation to shortcut? and use multi-commands?
1530
1527
  _moveInEditor(e, t) {
1531
1528
  let n = L.LEFT;
1532
- e === M.ARROW_DOWN ? n = L.DOWN : e === M.ARROW_UP ? n = L.UP : e === M.ARROW_RIGHT && (n = L.RIGHT), t ? this._commandService.executeCommand(Gn.id, {
1529
+ e === M.ARROW_DOWN ? n = L.DOWN : e === M.ARROW_UP ? n = L.UP : e === M.ARROW_RIGHT && (n = L.RIGHT), t ? this._commandService.executeCommand(Xn.id, {
1533
1530
  direction: n
1534
- }) : this._commandService.executeCommand(Xn.id, {
1531
+ }) : this._commandService.executeCommand(Yn.id, {
1535
1532
  direction: n
1536
1533
  });
1537
1534
  }
1538
1535
  };
1539
- Fe = Wi([
1540
- A(1, wn),
1541
- A(2, fn),
1536
+ ze = ki([
1537
+ A(1, Nn),
1538
+ A(2, _n),
1542
1539
  A(3, Ce),
1543
1540
  A(4, T),
1544
1541
  A(5, Y),
1545
- A(6, qe),
1546
- A(7, Je),
1547
- A(8, X(Wn)),
1542
+ A(6, Je),
1543
+ A(7, Qe),
1544
+ A(8, X(kn)),
1548
1545
  A(9, B),
1549
1546
  A(10, X(ee)),
1550
- A(11, Xe)
1551
- ], Fe);
1552
- function Ki(i, e) {
1547
+ A(11, Ye)
1548
+ ], ze);
1549
+ function Gi(i, e) {
1553
1550
  if (i == null)
1554
1551
  return;
1555
1552
  const t = e.getRenderById(i);
1556
1553
  if (t == null)
1557
1554
  return;
1558
- const { mainComponent: n, scene: r, engine: s, components: o } = t, a = n, c = o.get(Yn.BACKGROUND);
1555
+ const { mainComponent: n, scene: r, engine: s, components: o } = t, a = n, c = o.get(Zn.BACKGROUND);
1559
1556
  return {
1560
1557
  document: a,
1561
1558
  docBackground: c,
@@ -1563,12 +1560,12 @@ function Ki(i, e) {
1563
1560
  engine: s
1564
1561
  };
1565
1562
  }
1566
- var Gi = Object.getOwnPropertyDescriptor, Xi = (i, e, t, n) => {
1567
- for (var r = n > 1 ? void 0 : n ? Gi(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1563
+ var Xi = Object.getOwnPropertyDescriptor, Yi = (i, e, t, n) => {
1564
+ for (var r = n > 1 ? void 0 : n ? Xi(e, t) : e, s = i.length - 1, o; s >= 0; s--)
1568
1565
  (o = i[s]) && (r = o(r) || r);
1569
1566
  return r;
1570
1567
  }, Le = (i, e) => (t, n) => e(t, n, i);
1571
- let ze = class extends pe {
1568
+ let We = class extends pe {
1572
1569
  constructor(e, t, n, r) {
1573
1570
  super();
1574
1571
  /**
@@ -1577,7 +1574,7 @@ let ze = class extends pe {
1577
1574
  // private _cursorChange: CursorChange = CursorChange.InitialState;
1578
1575
  /** If the corresponding unit is active and prepared for editing. */
1579
1576
  // private _isUnitEditing = false;
1580
- I(this, "setSlideTextEditor$", new Dt());
1577
+ I(this, "setSlideTextEditor$", new Ut());
1581
1578
  I(this, "_curRichText", null);
1582
1579
  I(this, "_d");
1583
1580
  this._renderContext = e, this._instanceSrv = t, this._commandService = n, this._editorBridgeService = r, this.disposeWithMe(this._instanceSrv.getCurrentTypeOfUnit$(E.UNIVER_SLIDE).subscribe((s) => {
@@ -1585,7 +1582,7 @@ let ze = class extends pe {
1585
1582
  }));
1586
1583
  }
1587
1584
  _init() {
1588
- const e = new Ge();
1585
+ const e = new Xe();
1589
1586
  return this._initEventListener(e), e;
1590
1587
  }
1591
1588
  _disposeCurrent() {
@@ -1676,12 +1673,12 @@ let ze = class extends pe {
1676
1673
  this._editorBridgeService.changeVisible({ visible: e, eventType: J.PointerDown, unitId: t });
1677
1674
  }
1678
1675
  };
1679
- ze = Xi([
1676
+ We = Yi([
1680
1677
  Le(1, T),
1681
1678
  Le(2, B),
1682
- Le(3, qe)
1683
- ], ze);
1684
- const Gt = {
1679
+ Le(3, Je)
1680
+ ], We);
1681
+ const Xt = {
1685
1682
  id: "slide.operation.activate-slide",
1686
1683
  type: V.OPERATION,
1687
1684
  handler: (i, e) => {
@@ -1693,28 +1690,28 @@ const Gt = {
1693
1690
  const c = (l = a.scene) == null ? void 0 : l.getTransformer();
1694
1691
  return c && c.clearControls(), n.activePage(e.id, t), !0;
1695
1692
  }
1696
- }, Xt = {
1693
+ }, Yt = {
1697
1694
  id: "slide.operation.append-slide",
1698
1695
  type: V.OPERATION,
1699
1696
  handler: (i, e) => {
1700
1697
  const t = e.unitId;
1701
1698
  return i.get(T).getUnit(t) ? (i.get(N).appendPage(t), !0) : !1;
1702
1699
  }
1703
- }, Qe = {
1700
+ }, et = {
1704
1701
  id: "slide.command.insert-float-image",
1705
1702
  type: V.COMMAND,
1706
1703
  handler: async (i, e) => {
1707
1704
  var j;
1708
1705
  const t = i.get(T), n = (j = t.getCurrentUnitForType(E.UNIVER_SLIDE)) == null ? void 0 : j.getUnitId();
1709
1706
  if (!n) return !1;
1710
- const s = await i.get(Nn).openFile({
1707
+ const s = await i.get(Dn).openFile({
1711
1708
  multiple: !0,
1712
- accept: qn.map((O) => `.${O.replace("image/", "")}`).join(",")
1709
+ accept: Jn.map((O) => `.${O.replace("image/", "")}`).join(",")
1713
1710
  });
1714
1711
  if (s.length !== 1) return !1;
1715
- const a = await i.get(Jn).saveImage(s[0]);
1712
+ const a = await i.get(Qn).saveImage(s[0]);
1716
1713
  if (!a) return !1;
1717
- const { imageId: c, imageSourceType: h, source: l, base64Cache: d } = a, { width: v, height: f, image: C } = await Qn(d || ""), p = t.getUnit(n);
1714
+ const { imageId: c, imageSourceType: h, source: l, base64Cache: d } = a, { width: v, height: f, image: C } = await ei(d || ""), p = t.getUnit(n);
1718
1715
  if (!p) return !1;
1719
1716
  const m = p.getActivePage(), _ = Object.values(m.pageElements), b = _ != null && _.length ? Math.max(..._.map((O) => O.zIndex)) : 20, P = {
1720
1717
  id: c,
@@ -1725,7 +1722,7 @@ const Gt = {
1725
1722
  height: f,
1726
1723
  title: "",
1727
1724
  description: "",
1728
- type: Ke.IMAGE,
1725
+ type: Ge.IMAGE,
1729
1726
  image: {
1730
1727
  imageProperties: {
1731
1728
  contentUrl: d,
@@ -1740,19 +1737,19 @@ const Gt = {
1740
1737
  const w = i.get(N), D = w.createObjectToPage(P, m.id, n);
1741
1738
  return D && w.setObjectActiveByPage(D, m.id, n), !0;
1742
1739
  }
1743
- }, et = {
1740
+ }, tt = {
1744
1741
  id: "slide.command.add-text",
1745
1742
  type: V.COMMAND,
1746
1743
  handler: async (i) => {
1747
1744
  var r;
1748
1745
  const e = i.get(B), n = (r = i.get(T).getFocusedUnit()) == null ? void 0 : r.getUnitId();
1749
- return await e.executeCommand(Yt.id, { unitId: n });
1746
+ return await e.executeCommand(Zt.id, { unitId: n });
1750
1747
  }
1751
- }, Yt = {
1748
+ }, Zt = {
1752
1749
  id: "slide.operation.add-text",
1753
1750
  type: V.OPERATION,
1754
1751
  handler: async (i, e) => {
1755
- const t = e.unitId, n = St(6), r = 220, s = 40, o = 230, a = 142, c = (e == null ? void 0 : e.text) || "A New Text", l = i.get(T).getUnit(t);
1752
+ const t = e.unitId, n = It(6), r = 220, s = 40, o = 230, a = 142, c = (e == null ? void 0 : e.text) || "A New Text", l = i.get(T).getUnit(t);
1756
1753
  if (!l) return !1;
1757
1754
  const d = l.getActivePage(), v = Object.values(d.pageElements), f = v != null && v.length ? Math.max(...v.map((_) => _.zIndex)) : 21, C = {
1758
1755
  id: n,
@@ -1763,7 +1760,7 @@ const Gt = {
1763
1760
  height: s,
1764
1761
  title: "text",
1765
1762
  description: "",
1766
- type: Ke.TEXT,
1763
+ type: Ge.TEXT,
1767
1764
  richText: {
1768
1765
  text: c,
1769
1766
  fs: 30,
@@ -1777,18 +1774,18 @@ const Gt = {
1777
1774
  const p = i.get(N), m = p.createObjectToPage(C, d.id, t);
1778
1775
  return m && p.setObjectActiveByPage(m, d.id, t), !0;
1779
1776
  }
1780
- }, Zt = {
1777
+ }, qt = {
1781
1778
  id: "slide.operation.set-slide-page-thumb",
1782
1779
  type: V.OPERATION,
1783
1780
  handler: (i, e) => (i.get(N).createThumbs(e.unitId), !0)
1784
- }, Yi = "univer-image-popup-menu", Zi = "univer-image-popup-menu-item", qi = "univer-image-popup-menu-item-title", Ji = "univer-btn-container", Qi = "univer-btn-container-expand", ue = {
1785
- imagePopupMenu: Yi,
1786
- imagePopupMenuItem: Zi,
1787
- imagePopupMenuItemTitle: qi,
1788
- btnContainer: Ji,
1789
- btnContainerExpand: Qi
1781
+ }, Zi = "univer-image-popup-menu", qi = "univer-image-popup-menu-item", Ji = "univer-image-popup-menu-item-title", Qi = "univer-btn-container", er = "univer-btn-container-expand", ue = {
1782
+ imagePopupMenu: Zi,
1783
+ imagePopupMenuItem: qi,
1784
+ imagePopupMenuItemTitle: Ji,
1785
+ btnContainer: Qi,
1786
+ btnContainerExpand: er
1790
1787
  };
1791
- function er(i) {
1788
+ function tr(i) {
1792
1789
  var C, p;
1793
1790
  const e = (p = (C = i.popup) == null ? void 0 : C.extraProps) == null ? void 0 : p.menuItems;
1794
1791
  if (!e)
@@ -1808,7 +1805,7 @@ function er(i) {
1808
1805
  onMouseEnter: c,
1809
1806
  onMouseLeave: h,
1810
1807
  children: /* @__PURE__ */ u(
1811
- Mt,
1808
+ wt,
1812
1809
  {
1813
1810
  align: "start",
1814
1811
  overlay: /* @__PURE__ */ u(
@@ -1838,13 +1835,13 @@ function er(i) {
1838
1835
  }),
1839
1836
  children: [
1840
1837
  /* @__PURE__ */ u(
1841
- jt,
1838
+ Lt,
1842
1839
  {
1843
1840
  style: { color: "#35322B" },
1844
1841
  extend: { colorChannel1: "rgb(var(--green-700, #409f11))" }
1845
1842
  }
1846
1843
  ),
1847
- v && /* @__PURE__ */ u(Ye, { style: { color: "#CCCCCC", fontSize: "8px", marginLeft: "8px" } })
1844
+ v && /* @__PURE__ */ u(Ze, { style: { color: "#CCCCCC", fontSize: "8px", marginLeft: "8px" } })
1848
1845
  ]
1849
1846
  }
1850
1847
  )
@@ -1853,20 +1850,20 @@ function er(i) {
1853
1850
  }
1854
1851
  );
1855
1852
  }
1856
- const tr = "univer-slide-bar", nr = "univer-slide-bar-content", ir = "univer-slide-bar-content-header", rr = "univer-slide-bar-item", sr = "univer-slide-bar-box", or = "univer-slide-bar-item-active", ie = {
1857
- slideBar: tr,
1858
- slideBarContent: nr,
1859
- slideBarContentHeader: ir,
1860
- slideBarItem: rr,
1861
- slideBarBox: sr,
1862
- slideBarItemActive: or
1853
+ const nr = "univer-slide-bar", ir = "univer-slide-bar-content", rr = "univer-slide-bar-content-header", sr = "univer-slide-bar-item", or = "univer-slide-bar-box", ar = "univer-slide-bar-item-active", ie = {
1854
+ slideBar: nr,
1855
+ slideBarContent: ir,
1856
+ slideBarContentHeader: rr,
1857
+ slideBarItem: sr,
1858
+ slideBarBox: or,
1859
+ slideBarItemActive: ar
1863
1860
  };
1864
- function ar() {
1861
+ function cr() {
1865
1862
  var C, p;
1866
- const i = x(T), e = x(B), t = x(Y), n = x(ee), r = Nt(null), s = i.getCurrentUnitForType(E.UNIVER_SLIDE), o = s == null ? void 0 : s.getPages(), a = s == null ? void 0 : s.getPageOrder();
1863
+ const i = x(T), e = x(B), t = x(Y), n = x(ee), r = Dt(null), s = i.getCurrentUnitForType(E.UNIVER_SLIDE), o = s == null ? void 0 : s.getPages(), a = s == null ? void 0 : s.getPageOrder();
1867
1864
  if (!o || !a)
1868
1865
  return null;
1869
- const c = a.map((m) => o[m]), [h, l] = G((p = (C = s == null ? void 0 : s.getActivePage()) == null ? void 0 : C.id) != null ? p : null), d = Fn(() => c.map(() => wt.createRef()), [c]);
1866
+ const c = a.map((m) => o[m]), [h, l] = G((p = (C = s == null ? void 0 : s.getActivePage()) == null ? void 0 : C.id) != null ? p : null), d = zn(() => c.map(() => Nt.createRef()), [c]);
1870
1867
  me(() => {
1871
1868
  const m = s == null ? void 0 : s.activePage$.subscribe((_) => {
1872
1869
  var P;
@@ -1883,14 +1880,14 @@ function ar() {
1883
1880
  const P = c[_];
1884
1881
  (b = t.getRenderById(P.id)) == null || b.engine.setContainer(m.current);
1885
1882
  }
1886
- }), d.length > 0 && e.syncExecuteCommand(Zt.id, { unitId: s == null ? void 0 : s.getUnitId() });
1883
+ }), d.length > 0 && e.syncExecuteCommand(qt.id, { unitId: s == null ? void 0 : s.getUnitId() });
1887
1884
  }, [d, c, t, e, s]);
1888
- const v = lt((m) => {
1889
- e.syncExecuteCommand(Gt.id, { id: m, unitId: s == null ? void 0 : s.getUnitId() });
1890
- }, [e, s]), f = lt(() => {
1891
- e.syncExecuteCommand(Xt.id, { unitId: s == null ? void 0 : s.getUnitId() });
1885
+ const v = dt((m) => {
1886
+ e.syncExecuteCommand(Xt.id, { id: m, unitId: s == null ? void 0 : s.getUnitId() });
1887
+ }, [e, s]), f = dt(() => {
1888
+ e.syncExecuteCommand(Yt.id, { unitId: s == null ? void 0 : s.getUnitId() });
1892
1889
  }, [e, s]);
1893
- return /* @__PURE__ */ u("aside", { className: ie.slideBar, ref: r, children: /* @__PURE__ */ u(Hn, { children: /* @__PURE__ */ R("div", { className: ie.slideBarContent, children: [
1890
+ return /* @__PURE__ */ u("aside", { className: ie.slideBar, ref: r, children: /* @__PURE__ */ u(Fn, { children: /* @__PURE__ */ R("div", { className: ie.slideBarContent, children: [
1894
1891
  /* @__PURE__ */ u("header", { className: ie.slideBarContentHeader, children: /* @__PURE__ */ u("a", { onClick: f, children: n.t("slide.append") }) }),
1895
1892
  c.map((m, _) => /* @__PURE__ */ R(
1896
1893
  "div",
@@ -1908,23 +1905,23 @@ function ar() {
1908
1905
  ))
1909
1906
  ] }) }) });
1910
1907
  }
1911
- const cr = "univer-slide-editor-container", lr = {
1912
- slideEditorContainer: cr
1913
- }, Ne = -1e3, ft = {
1908
+ const lr = "univer-slide-editor-container", dr = {
1909
+ slideEditorContainer: lr
1910
+ }, Ne = -1e3, _t = {
1914
1911
  width: 0,
1915
1912
  height: 0,
1916
1913
  top: Ne,
1917
1914
  left: Ne
1918
- }, dr = () => {
1915
+ }, ur = () => {
1919
1916
  const [i, e] = G({
1920
- ...ft
1921
- }), t = x(Je), n = x(Xe), r = x(Ce), s = Dn(
1922
- () => r.subscribeContextValue$(ot),
1917
+ ..._t
1918
+ }), t = x(Qe), n = x(Ye), r = x(Ce), s = Un(
1919
+ () => r.subscribeContextValue$(at),
1923
1920
  !1,
1924
1921
  void 0,
1925
- [r, ot]
1922
+ [r, at]
1926
1923
  );
1927
- return In.UNSPECIFIED, me(() => {
1924
+ return bn.UNSPECIFIED, me(() => {
1928
1925
  t.state$.subscribe((o) => {
1929
1926
  if (o == null)
1930
1927
  return;
@@ -1937,7 +1934,7 @@ const cr = "univer-slide-editor-container", lr = {
1937
1934
  } = o;
1938
1935
  if (!d)
1939
1936
  e({
1940
- ...ft
1937
+ ..._t
1941
1938
  });
1942
1939
  else {
1943
1940
  e({
@@ -1958,7 +1955,7 @@ const cr = "univer-slide-editor-container", lr = {
1958
1955
  }, [s, i]), /* @__PURE__ */ u(
1959
1956
  "div",
1960
1957
  {
1961
- className: lr.slideEditorContainer,
1958
+ className: dr.slideEditorContainer,
1962
1959
  style: {
1963
1960
  left: i.left,
1964
1961
  top: i.top,
@@ -1967,97 +1964,97 @@ const cr = "univer-slide-editor-container", lr = {
1967
1964
  }
1968
1965
  }
1969
1966
  );
1970
- }, qt = "addition-and-subtraction-single", Jt = "slide.menu.image";
1971
- function ur(i) {
1967
+ }, Jt = "addition-and-subtraction-single", Qt = "slide.menu.image";
1968
+ function gr(i) {
1972
1969
  return {
1973
- id: Jt,
1970
+ id: Qt,
1974
1971
  type: _e.SUBITEMS,
1975
- icon: qt,
1972
+ icon: Jt,
1976
1973
  tooltip: "slide.image.insert.title",
1977
1974
  hidden$: fe(i, E.UNIVER_SLIDE)
1978
1975
  };
1979
1976
  }
1980
- function gr(i) {
1977
+ function hr(i) {
1981
1978
  return {
1982
- id: Qe.id,
1979
+ id: et.id,
1983
1980
  title: "slide.image.insert.float",
1984
1981
  type: _e.BUTTON,
1985
1982
  hidden$: fe(i, E.UNIVER_SLIDE)
1986
1983
  };
1987
1984
  }
1988
- const Qt = "graph-single", en = "slide.menu.shape";
1989
- function hr(i) {
1985
+ const en = "graph-single", tn = "slide.menu.shape";
1986
+ function mr(i) {
1990
1987
  return {
1991
- id: en,
1988
+ id: tn,
1992
1989
  type: _e.SUBITEMS,
1993
- icon: Qt,
1990
+ icon: en,
1994
1991
  tooltip: "slide.shape.insert.title",
1995
1992
  hidden$: fe(i, E.UNIVER_SLIDE)
1996
1993
  // disabled$: getCurrentRangeDisable$(accessor, { workbookTypes: [WorkbookEditablePermission], worksheetTypes: [WorksheetEditPermission], rangeTypes: [RangeProtectionPermissionEditPoint] }),
1997
1994
  };
1998
1995
  }
1999
- function mr(i) {
1996
+ function vr(i) {
2000
1997
  return {
2001
- id: Ze.id,
1998
+ id: qe.id,
2002
1999
  title: "slide.shape.insert.rectangle",
2003
2000
  type: _e.BUTTON,
2004
2001
  hidden$: fe(i, E.UNIVER_SLIDE)
2005
2002
  };
2006
2003
  }
2007
- const tn = "text-single";
2008
- function vr(i) {
2004
+ const nn = "text-single";
2005
+ function pr(i) {
2009
2006
  return {
2010
- id: et.id,
2007
+ id: tt.id,
2011
2008
  type: _e.BUTTON,
2012
- icon: tn,
2009
+ icon: nn,
2013
2010
  tooltip: "slide.text.insert.title",
2014
2011
  hidden$: fe(i, E.UNIVER_SLIDE)
2015
2012
  };
2016
2013
  }
2017
- const pr = {
2018
- [Un.FORMAT]: {
2019
- [et.id]: {
2014
+ const Cr = {
2015
+ [Vn.FORMAT]: {
2016
+ [tt.id]: {
2020
2017
  order: 0,
2021
- menuItemFactory: vr
2018
+ menuItemFactory: pr
2022
2019
  },
2023
- [Jt]: {
2020
+ [Qt]: {
2024
2021
  order: 0,
2025
- menuItemFactory: ur,
2026
- [Qe.id]: {
2022
+ menuItemFactory: gr,
2023
+ [et.id]: {
2027
2024
  order: 0,
2028
- menuItemFactory: gr
2025
+ menuItemFactory: hr
2029
2026
  }
2030
2027
  },
2031
- [en]: {
2028
+ [tn]: {
2032
2029
  order: 0,
2033
- menuItemFactory: hr,
2034
- [Ze.id]: {
2030
+ menuItemFactory: mr,
2031
+ [qe.id]: {
2035
2032
  order: 0,
2036
- menuItemFactory: mr
2033
+ menuItemFactory: vr
2037
2034
  }
2038
2035
  }
2039
2036
  }
2040
2037
  };
2041
- function We(i) {
2042
- return i.getContextValue(Ot) && i.getContextValue(xe);
2038
+ function ke(i) {
2039
+ return i.getContextValue(xt) && i.getContextValue(xe);
2043
2040
  }
2044
- function Cr(i) {
2045
- return i.getContextValue(bn) && i.getContextValue(Ot);
2041
+ function fr(i) {
2042
+ return i.getContextValue(Pn) && i.getContextValue(xt);
2046
2043
  }
2047
- const nn = [
2044
+ const rn = [
2048
2045
  M.ARROW_DOWN,
2049
2046
  M.ARROW_UP,
2050
2047
  M.ARROW_LEFT,
2051
2048
  M.ARROW_RIGHT
2052
2049
  ];
2053
- [M.ENTER, M.TAB, ...nn];
2054
- function fr() {
2050
+ [M.ENTER, M.TAB, ...rn];
2051
+ function _r() {
2055
2052
  const i = [];
2056
- for (const e of nn)
2053
+ for (const e of rn)
2057
2054
  i.push({
2058
2055
  id: we.id,
2059
2056
  binding: e,
2060
- preconditions: (t) => We(t),
2057
+ preconditions: (t) => ke(t),
2061
2058
  staticParameters: {
2062
2059
  visible: !1,
2063
2060
  eventType: J.Keyboard,
@@ -2066,8 +2063,8 @@ function fr() {
2066
2063
  }
2067
2064
  }), i.push({
2068
2065
  id: we.id,
2069
- binding: e | Vn.SHIFT,
2070
- preconditions: (t) => We(t),
2066
+ binding: e | Bn.SHIFT,
2067
+ preconditions: (t) => ke(t),
2071
2068
  staticParameters: {
2072
2069
  visible: !1,
2073
2070
  eventType: J.Keyboard,
@@ -2077,13 +2074,13 @@ function fr() {
2077
2074
  });
2078
2075
  return i;
2079
2076
  }
2080
- const _r = {
2081
- id: Zn.id,
2082
- preconditions: (i) => We(i) || Cr(i),
2077
+ const Sr = {
2078
+ id: qn.id,
2079
+ preconditions: (i) => ke(i) || fr(i),
2083
2080
  binding: M.BACKSPACE
2084
2081
  };
2085
- var Sr = Object.getOwnPropertyDescriptor, Ir = (i, e, t, n) => {
2086
- for (var r = n > 1 ? void 0 : n ? Sr(e, t) : e, s = i.length - 1, o; s >= 0; s--)
2082
+ var Ir = Object.getOwnPropertyDescriptor, br = (i, e, t, n) => {
2083
+ for (var r = n > 1 ? void 0 : n ? Ir(e, t) : e, s = i.length - 1, o; s >= 0; s--)
2087
2084
  (o = i[s]) && (r = o(r) || r);
2088
2085
  return r;
2089
2086
  }, re = (i, e) => (t, n) => e(t, n, i);
@@ -2092,24 +2089,24 @@ let De = class extends Ve {
2092
2089
  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();
2093
2090
  }
2094
2091
  _initMenus() {
2095
- this._menuManagerService.mergeMenu(pr);
2092
+ this._menuManagerService.mergeMenu(Cr);
2096
2093
  }
2097
2094
  _initCustomComponents() {
2098
2095
  const i = this._componentManager;
2099
- this.disposeWithMe(i.register(qt, Bt)), this.disposeWithMe(i.register(tn, zt)), this.disposeWithMe(i.register(Qt, At)), this.disposeWithMe(i.register(Kt, er)), this.disposeWithMe(i.register(Oe, Ui));
2096
+ this.disposeWithMe(i.register(Jt, jt)), this.disposeWithMe(i.register(nn, Wt)), this.disposeWithMe(i.register(en, $t)), this.disposeWithMe(i.register(Gt, tr)), this.disposeWithMe(i.register(Oe, Vi));
2100
2097
  }
2101
2098
  _initCommands() {
2102
2099
  [
2103
- Xt,
2104
- Gt,
2105
- Zt,
2106
- Qe,
2107
2100
  Yt,
2101
+ Xt,
2102
+ qt,
2108
2103
  et,
2109
- kt,
2110
- Ze,
2111
- $e,
2112
- Ut,
2104
+ Zt,
2105
+ tt,
2106
+ Kt,
2107
+ qe,
2108
+ He,
2109
+ Vt,
2113
2110
  k,
2114
2111
  // commands for editor
2115
2112
  we
@@ -2117,30 +2114,30 @@ let De = class extends Ve {
2117
2114
  }
2118
2115
  _initUIComponents() {
2119
2116
  this.disposeWithMe(
2120
- this._uiPartsService.registerComponent(at.LEFT_SIDEBAR, () => ct(ar, this._injector))
2117
+ this._uiPartsService.registerComponent(ct.LEFT_SIDEBAR, () => lt(cr, this._injector))
2121
2118
  ), this.disposeWithMe(
2122
- this._uiPartsService.registerComponent(at.CONTENT, () => ct(dr, this._injector))
2119
+ this._uiPartsService.registerComponent(ct.CONTENT, () => lt(ur, this._injector))
2123
2120
  );
2124
2121
  }
2125
2122
  _initShortcuts() {
2126
2123
  [
2127
- _r,
2128
- ...fr()
2124
+ Sr,
2125
+ ..._r()
2129
2126
  ].forEach((i) => {
2130
2127
  this.disposeWithMe(this._shortcutService.registerShortcut(i));
2131
2128
  });
2132
2129
  }
2133
2130
  };
2134
- De = Ir([
2135
- re(0, X(ke)),
2136
- re(1, Bn),
2137
- re(2, X(jn)),
2138
- re(3, Ln),
2131
+ De = br([
2132
+ re(0, X(Ke)),
2133
+ re(1, jn),
2134
+ re(2, X(Ln)),
2135
+ re(3, An),
2139
2136
  re(4, B),
2140
- re(5, An)
2137
+ re(5, $n)
2141
2138
  ], De);
2142
- var br = Object.getOwnPropertyDescriptor, Pr = (i, e, t, n) => {
2143
- for (var r = n > 1 ? void 0 : n ? br(e, t) : e, s = i.length - 1, o; s >= 0; s--)
2139
+ var Pr = Object.getOwnPropertyDescriptor, Er = (i, e, t, n) => {
2140
+ for (var r = n > 1 ? void 0 : n ? Pr(e, t) : e, s = i.length - 1, o; s >= 0; s--)
2144
2141
  (o = i[s]) && (r = o(r) || r);
2145
2142
  return r;
2146
2143
  }, Ae = (i, e) => (t, n) => e(t, n, i);
@@ -2153,14 +2150,14 @@ let Ue = class extends pe {
2153
2150
  this._initSlideDataListener(), this._initContextListener();
2154
2151
  }
2155
2152
  _initSlideDataListener() {
2156
- this._instanceSrv.getTypeOfUnitAdded$(E.UNIVER_SLIDE).pipe(dt(this.dispose$)).subscribe((i) => {
2153
+ this._instanceSrv.getTypeOfUnitAdded$(E.UNIVER_SLIDE).pipe(ut(this.dispose$)).subscribe((i) => {
2157
2154
  this._createRenderer(i == null ? void 0 : i.getUnitId());
2158
2155
  }), this._instanceSrv.getAllUnitsForType(E.UNIVER_SLIDE).forEach((i) => {
2159
2156
  this._createRenderer(i.getUnitId());
2160
- }), this._instanceSrv.getTypeOfUnitDisposed$(E.UNIVER_SLIDE).pipe(dt(this.dispose$)).subscribe((i) => this._disposeRenderer(i));
2157
+ }), this._instanceSrv.getTypeOfUnitDisposed$(E.UNIVER_SLIDE).pipe(ut(this.dispose$)).subscribe((i) => this._disposeRenderer(i));
2161
2158
  }
2162
2159
  _createRenderer(i) {
2163
- i == null || this._instanceSrv.getUnit(i, E.UNIVER_SLIDE) == null || (this._renderManagerService.createRender(i), this._renderManagerService.setCurrent(i));
2160
+ i == null || this._instanceSrv.getUnit(i, E.UNIVER_SLIDE) == null || this._renderManagerService.createRender(i);
2164
2161
  }
2165
2162
  _disposeRenderer(i) {
2166
2163
  const e = i.getUnitId();
@@ -2169,34 +2166,34 @@ let Ue = class extends pe {
2169
2166
  _initContextListener() {
2170
2167
  }
2171
2168
  };
2172
- Ue = Pr([
2169
+ Ue = Er([
2173
2170
  Ae(0, Ce),
2174
2171
  Ae(1, T),
2175
2172
  Ae(2, Y)
2176
2173
  ], Ue);
2177
- var Er = Object.getOwnPropertyDescriptor, Rr = (i, e, t, n) => {
2178
- for (var r = n > 1 ? void 0 : n ? Er(e, t) : e, s = i.length - 1, o; s >= 0; s--)
2174
+ var Rr = Object.getOwnPropertyDescriptor, Or = (i, e, t, n) => {
2175
+ for (var r = n > 1 ? void 0 : n ? Rr(e, t) : e, s = i.length - 1, o; s >= 0; s--)
2179
2176
  (o = i[s]) && (r = o(r) || r);
2180
2177
  return r;
2181
2178
  }, Ee = (i, e) => (t, n) => e(t, n, i);
2182
- const Or = "SLIDE_UI";
2179
+ const xr = "SLIDE_UI";
2183
2180
  var Re;
2184
- let _t = (Re = class extends Pn {
2185
- constructor(i = mt, e, t, n, r) {
2181
+ let St = (Re = class extends En {
2182
+ constructor(i = vt, e, t, n, r) {
2186
2183
  super(), this._config = i, this._injector = e, this._renderManagerService = t, this._univerInstanceService = n, this._configService = r;
2187
- const { menu: s, ...o } = En(
2184
+ const { menu: s, ...o } = Rn(
2188
2185
  {},
2189
- mt,
2186
+ vt,
2190
2187
  this._config
2191
2188
  );
2192
- s && this._configService.setConfig("menu", s, { merge: !0 }), this._configService.setConfig(si, o);
2189
+ s && this._configService.setConfig("menu", s, { merge: !0 }), this._configService.setConfig(oi, o);
2193
2190
  }
2194
2191
  onStarting() {
2195
- nt([
2192
+ it([
2196
2193
  [Ue],
2197
- [qe, { useClass: He }],
2194
+ [Je, { useClass: Fe }],
2198
2195
  // used by SlideUIController --> EditorContainer
2199
- [Je, { useClass: Fi }],
2196
+ [Qe, { useClass: zi }],
2200
2197
  [Te]
2201
2198
  ], this._config.override).forEach((i) => this._injector.add(i));
2202
2199
  }
@@ -2206,7 +2203,7 @@ let _t = (Re = class extends Pn {
2206
2203
  [ve]
2207
2204
  ].forEach((i) => {
2208
2205
  this.disposeWithMe(this._renderManagerService.registerRenderModule(E.UNIVER_SLIDE, i));
2209
- }), nt([
2206
+ }), it([
2210
2207
  [N],
2211
2208
  // cannot register in _renderManagerService now.
2212
2209
  // [ISlideEditorBridgeService, { useClass: SlideEditorBridgeService }],
@@ -2226,8 +2223,8 @@ let _t = (Re = class extends Pn {
2226
2223
  [
2227
2224
  // need slideEditorBridgeService
2228
2225
  // need TextSelectionRenderService which init by EditorContainer
2229
- [ze],
2230
- [Fe]
2226
+ [We],
2227
+ [ze]
2231
2228
  ].forEach((i) => {
2232
2229
  this.disposeWithMe(this._renderManagerService.registerRenderModule(E.UNIVER_SLIDE, i));
2233
2230
  }), this._markSlideAsFocused(), this._injector.get(De);
@@ -2243,33 +2240,33 @@ let _t = (Re = class extends Pn {
2243
2240
  } catch {
2244
2241
  }
2245
2242
  }
2246
- }, I(Re, "pluginName", Or), I(Re, "type", E.UNIVER_SLIDE), Re);
2247
- _t = Rr([
2248
- Ee(1, X(ke)),
2243
+ }, I(Re, "pluginName", xr), I(Re, "type", E.UNIVER_SLIDE), Re);
2244
+ St = Or([
2245
+ Ee(1, X(Ke)),
2249
2246
  Ee(2, Y),
2250
2247
  Ee(3, T),
2251
- Ee(4, Rn)
2252
- ], _t);
2248
+ Ee(4, On)
2249
+ ], St);
2253
2250
  export {
2254
- Gt as ActivateSlidePageOperation,
2255
- Xt as AppendSlideOperation,
2251
+ Xt as ActivateSlidePageOperation,
2252
+ Yt as AppendSlideOperation,
2256
2253
  N as CanvasView,
2257
- Ut as DeleteSlideElementOperation,
2258
- qe as ISlideEditorBridgeService,
2259
- Qe as InsertSlideFloatImageCommand,
2260
- Ze as InsertSlideShapeRectangleCommand,
2261
- kt as InsertSlideShapeRectangleOperation,
2262
- en as SHAPE_MENU_ID,
2263
- Jt as SLIDES_IMAGE_MENU_ID,
2254
+ Vt as DeleteSlideElementOperation,
2255
+ Je as ISlideEditorBridgeService,
2256
+ et as InsertSlideFloatImageCommand,
2257
+ qe as InsertSlideShapeRectangleCommand,
2258
+ Kt as InsertSlideShapeRectangleOperation,
2259
+ tn as SHAPE_MENU_ID,
2260
+ Qt as SLIDES_IMAGE_MENU_ID,
2264
2261
  he as SLIDE_EDITOR_ID,
2265
- Zt as SetSlidePageThumbOperation,
2266
- et as SlideAddTextCommand,
2267
- Yt as SlideAddTextOperation,
2262
+ qt as SetSlidePageThumbOperation,
2263
+ tt as SlideAddTextCommand,
2264
+ Zt as SlideAddTextOperation,
2268
2265
  Te as SlideCanvasPopMangerService,
2269
- dr as SlideEditorContainer,
2270
- ar as SlideSideBar,
2266
+ ur as SlideEditorContainer,
2267
+ cr as SlideSideBar,
2271
2268
  De as SlidesUIController,
2272
- pr as SlidesUIMenuSchema,
2273
- _t as UniverSlidesUIPlugin,
2269
+ Cr as SlidesUIMenuSchema,
2270
+ St as UniverSlidesUIPlugin,
2274
2271
  k as UpdateSlideElementOperation
2275
2272
  };