oasis-editor 0.0.118 → 0.0.119

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.
@@ -2440,14 +2440,14 @@ function I18nProvider(props) {
2440
2440
  });
2441
2441
  }
2442
2442
  const oasisMarkBase64 = "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";
2443
- var _tmpl$$_ = /* @__PURE__ */ template(`<img alt aria-hidden=true>`);
2443
+ var _tmpl$$11 = /* @__PURE__ */ template(`<img alt aria-hidden=true>`);
2444
2444
  const OASIS_MARK_DATA_URI = `data:image/webp;base64,${oasisMarkBase64}`;
2445
2445
  const MARK_ASPECT = 3 / 4;
2446
2446
  function OasisBrandMark(props) {
2447
2447
  const height = () => props.height ?? 64;
2448
2448
  const width = () => Math.round(height() * MARK_ASPECT);
2449
2449
  return (() => {
2450
- var _el$ = _tmpl$$_();
2450
+ var _el$ = _tmpl$$11();
2451
2451
  setAttribute(_el$, "src", OASIS_MARK_DATA_URI);
2452
2452
  setAttribute(_el$, "draggable", false);
2453
2453
  createRenderEffect((_p$) => {
@@ -2464,7 +2464,7 @@ function OasisBrandMark(props) {
2464
2464
  return _el$;
2465
2465
  })();
2466
2466
  }
2467
- var _tmpl$$Z = /* @__PURE__ */ template(`<div class=oasis-editor-import-progress-label>`), _tmpl$2$C = /* @__PURE__ */ template(`<div role=status aria-live=polite><div class=oasis-editor-import-card><div class=oasis-editor-import-title></div><div class=oasis-editor-import-progress-track><div>`), _tmpl$3$p = /* @__PURE__ */ template(`<span class=oasis-editor-import-done-icon>Done`);
2467
+ var _tmpl$$10 = /* @__PURE__ */ template(`<div class=oasis-editor-import-progress-label>`), _tmpl$2$D = /* @__PURE__ */ template(`<div role=status aria-live=polite><div class=oasis-editor-import-card><div class=oasis-editor-import-title></div><div class=oasis-editor-import-progress-track><div>`), _tmpl$3$q = /* @__PURE__ */ template(`<span class=oasis-editor-import-done-icon>Done`);
2468
2468
  function OasisEditorLoading(props) {
2469
2469
  const t = useI18n();
2470
2470
  const variant = () => props.variant ?? "overlay";
@@ -2474,7 +2474,7 @@ function OasisEditorLoading(props) {
2474
2474
  };
2475
2475
  const isDone = () => (pct() ?? 0) >= 100;
2476
2476
  return (() => {
2477
- var _el$ = _tmpl$2$C(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling, _el$5 = _el$4.firstChild;
2477
+ var _el$ = _tmpl$2$D(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling, _el$5 = _el$4.firstChild;
2478
2478
  insert(_el$2, createComponent(OasisBrandMark, {
2479
2479
  height: 40,
2480
2480
  "class": "oasis-editor-loading-mark"
@@ -2485,10 +2485,10 @@ function OasisEditorLoading(props) {
2485
2485
  return pct() != null;
2486
2486
  },
2487
2487
  get children() {
2488
- var _el$6 = _tmpl$$Z();
2488
+ var _el$6 = _tmpl$$10();
2489
2489
  insert(_el$6, (() => {
2490
2490
  var _c$ = memo(() => !!isDone());
2491
- return () => _c$() ? _tmpl$3$p() : `${pct()}%`;
2491
+ return () => _c$() ? _tmpl$3$q() : `${pct()}%`;
2492
2492
  })());
2493
2493
  return _el$6;
2494
2494
  }
@@ -2539,7 +2539,7 @@ function OasisEditorAppLazy(props = {}) {
2539
2539
  onCleanup(() => {
2540
2540
  cancelled = true;
2541
2541
  });
2542
- import("./OasisEditorApp-DxTXNB8H.js").then((m) => {
2542
+ import("./OasisEditorApp-1pwk-3zw.js").then((m) => {
2543
2543
  cancelled = true;
2544
2544
  setProgress(1);
2545
2545
  setTimeout(() => setApp(() => m.OasisEditorApp), 180);
@@ -5096,9 +5096,9 @@ function mount(target, props = {}) {
5096
5096
  unmount: () => client.dispose()
5097
5097
  });
5098
5098
  }
5099
- var _tmpl$$Y = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg width=24 height=24 viewBox="0 0 24 24"fill=none aria-hidden=true><text x=2 y=18 font-family="'Segoe UI', Arial, sans-serif"font-size=14 font-weight=700 fill=currentColor>ab</text><text x=15.5 y=11 font-family="'Segoe UI', Arial, sans-serif"font-size=10 font-weight=700 fill=#c00000>1`), _tmpl$2$B = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg width=24 height=24 viewBox="0 0 24 24"aria-hidden=true><g fill=currentColor><path d="M3.375 4.875 L7.125 8.625 L3.375 12.375 L2.25 11.25 L4.875 8.625 L2.25 6 Z"></path><rect x=10.125 y=6 width=9 height=1.6875 rx=0.25></rect><rect x=5.625 y=10.875 width=13.5 height=1.6875 rx=0.25></rect><rect x=5.625 y=15.75 width=13.5 height=1.6875 rx=0.25>`), _tmpl$3$o = /* @__PURE__ */ template(`<i>`);
5100
- const FootnoteIcon = () => _tmpl$$Y();
5101
- const SpecialIndentFirstLineIcon = () => _tmpl$2$B();
5099
+ var _tmpl$$$ = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg width=24 height=24 viewBox="0 0 24 24"fill=none aria-hidden=true><text x=2 y=18 font-family="'Segoe UI', Arial, sans-serif"font-size=14 font-weight=700 fill=currentColor>ab</text><text x=15.5 y=11 font-family="'Segoe UI', Arial, sans-serif"font-size=10 font-weight=700 fill=#c00000>1`), _tmpl$2$C = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg width=24 height=24 viewBox="0 0 24 24"aria-hidden=true><g fill=currentColor><path d="M3.375 4.875 L7.125 8.625 L3.375 12.375 L2.25 11.25 L4.875 8.625 L2.25 6 Z"></path><rect x=10.125 y=6 width=9 height=1.6875 rx=0.25></rect><rect x=5.625 y=10.875 width=13.5 height=1.6875 rx=0.25></rect><rect x=5.625 y=15.75 width=13.5 height=1.6875 rx=0.25>`), _tmpl$3$p = /* @__PURE__ */ template(`<i>`);
5100
+ const FootnoteIcon = () => _tmpl$$$();
5101
+ const SpecialIndentFirstLineIcon = () => _tmpl$2$C();
5102
5102
  const CUSTOM_ICONS = {
5103
5103
  footnote: FootnoteIcon,
5104
5104
  specialIndentFirstLine: SpecialIndentFirstLineIcon
@@ -5113,7 +5113,7 @@ function ToolIcon(props) {
5113
5113
  },
5114
5114
  get fallback() {
5115
5115
  return (() => {
5116
- var _el$3 = _tmpl$3$o();
5116
+ var _el$3 = _tmpl$3$p();
5117
5117
  createRenderEffect(() => setAttribute(_el$3, "data-lucide", props.name));
5118
5118
  return _el$3;
5119
5119
  })();
@@ -5121,11 +5121,11 @@ function ToolIcon(props) {
5121
5121
  children: (render2) => render2()()
5122
5122
  });
5123
5123
  }
5124
- var _tmpl$$X = /* @__PURE__ */ template(`<button>`);
5124
+ var _tmpl$$_ = /* @__PURE__ */ template(`<button>`);
5125
5125
  function SurfaceButton(props) {
5126
5126
  const [local, others] = splitProps(props, ["type", "icon", "label", "variant", "size", "active", "class", "classList", "children"]);
5127
5127
  return (() => {
5128
- var _el$ = _tmpl$$X();
5128
+ var _el$ = _tmpl$$_();
5129
5129
  spread(_el$, mergeProps({
5130
5130
  get type() {
5131
5131
  return local.type ?? "button";
@@ -5186,7 +5186,7 @@ function Text$1(props) {
5186
5186
  }
5187
5187
  }));
5188
5188
  }
5189
- var _tmpl$$W = /* @__PURE__ */ template(`<div class=oasis-menubar role=menubar>`), _tmpl$2$A = /* @__PURE__ */ template(`<div class=oasis-menubar-dropdown role=menu>`), _tmpl$3$n = /* @__PURE__ */ template(`<div class=oasis-menubar-menu>`), _tmpl$4$i = /* @__PURE__ */ template(`<div class=oasis-menubar-separator role=separator>`), _tmpl$5$d = /* @__PURE__ */ template(`<i class=oasis-menubar-submenu-icon data-lucide=chevron-right>`), _tmpl$6$8 = /* @__PURE__ */ template(`<div class=oasis-menubar-submenu role=menu>`);
5189
+ var _tmpl$$Z = /* @__PURE__ */ template(`<div class=oasis-menubar role=menubar>`), _tmpl$2$B = /* @__PURE__ */ template(`<div class=oasis-menubar-dropdown role=menu>`), _tmpl$3$o = /* @__PURE__ */ template(`<div class=oasis-menubar-menu>`), _tmpl$4$j = /* @__PURE__ */ template(`<div class=oasis-menubar-separator role=separator>`), _tmpl$5$d = /* @__PURE__ */ template(`<i class=oasis-menubar-submenu-icon data-lucide=chevron-right>`), _tmpl$6$8 = /* @__PURE__ */ template(`<div class=oasis-menubar-submenu role=menu>`);
5190
5190
  function Menubar(props) {
5191
5191
  const t = useI18n();
5192
5192
  const [activeMenu, setActiveMenu] = createSignal(null);
@@ -5254,13 +5254,13 @@ function Menubar(props) {
5254
5254
  });
5255
5255
  const topLevelItems = () => pruneTree(menuTree());
5256
5256
  return (() => {
5257
- var _el$ = _tmpl$$W();
5257
+ var _el$ = _tmpl$$Z();
5258
5258
  insert(_el$, createComponent(For, {
5259
5259
  get each() {
5260
5260
  return topLevelItems();
5261
5261
  },
5262
5262
  children: (topLevel) => (() => {
5263
- var _el$2 = _tmpl$3$n();
5263
+ var _el$2 = _tmpl$3$o();
5264
5264
  _el$2.addEventListener("mouseenter", () => {
5265
5265
  if (activeMenu() && activeMenu() !== topLevel.id) {
5266
5266
  setActiveMenu(topLevel.id);
@@ -5295,7 +5295,7 @@ function Menubar(props) {
5295
5295
  return activeMenu() === topLevel.id;
5296
5296
  },
5297
5297
  get children() {
5298
- var _el$3 = _tmpl$2$A();
5298
+ var _el$3 = _tmpl$2$B();
5299
5299
  insert(_el$3, createComponent(For, {
5300
5300
  get each() {
5301
5301
  return topLevel.children;
@@ -5326,7 +5326,7 @@ function MenuNode(props) {
5326
5326
  } = props;
5327
5327
  const isSeparator = (_a = node.item) == null ? void 0 : _a.separator;
5328
5328
  if (isSeparator) {
5329
- return _tmpl$4$i();
5329
+ return _tmpl$4$j();
5330
5330
  }
5331
5331
  const hasChildren = node.children.length > 0;
5332
5332
  const [showSub, setShowSub] = createSignal(false);
@@ -5428,10 +5428,10 @@ function MenuNode(props) {
5428
5428
  }
5429
5429
  });
5430
5430
  }
5431
- var _tmpl$$V = /* @__PURE__ */ template(`<div class=oasis-titlebar><div class=oasis-titlebar-left><div class=oasis-titlebar-menubar-slot>`);
5431
+ var _tmpl$$Y = /* @__PURE__ */ template(`<div class=oasis-titlebar><div class=oasis-titlebar-left><div class=oasis-titlebar-menubar-slot>`);
5432
5432
  function TitleBar(props) {
5433
5433
  return (() => {
5434
- var _el$ = _tmpl$$V(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild;
5434
+ var _el$ = _tmpl$$Y(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild;
5435
5435
  insert(_el$3, () => props.children);
5436
5436
  return _el$;
5437
5437
  })();
@@ -5524,7 +5524,7 @@ function getCaretRectFromSnapshot(snapshot, position2, paragraphOffset) {
5524
5524
  );
5525
5525
  return rectFromBox(slot.left, slot.top, 1, slot.height || line.height);
5526
5526
  }
5527
- var _tmpl$$U = /* @__PURE__ */ template(`<span class=oasis-outline-title>`), _tmpl$2$z = /* @__PURE__ */ template(`<div class=oasis-outline-list>`), _tmpl$3$m = /* @__PURE__ */ template(`<div class=oasis-outline-panel><div class=oasis-outline-header><button class=oasis-outline-toggle><i>`), _tmpl$4$h = /* @__PURE__ */ template(`<div class=oasis-outline-empty>`), _tmpl$5$c = /* @__PURE__ */ template(`<div class=oasis-outline-item>`);
5527
+ var _tmpl$$X = /* @__PURE__ */ template(`<span class=oasis-outline-title>`), _tmpl$2$A = /* @__PURE__ */ template(`<div class=oasis-outline-list>`), _tmpl$3$n = /* @__PURE__ */ template(`<div class=oasis-outline-panel><div class=oasis-outline-header><button class=oasis-outline-toggle><i>`), _tmpl$4$i = /* @__PURE__ */ template(`<div class=oasis-outline-empty>`), _tmpl$5$c = /* @__PURE__ */ template(`<div class=oasis-outline-item>`);
5528
5528
  function OutlinePanel(props) {
5529
5529
  const t = useI18n();
5530
5530
  const [collapsed, setCollapsed] = createSignal(props.defaultCollapsed ?? false);
@@ -5595,13 +5595,13 @@ function OutlinePanel(props) {
5595
5595
  }
5596
5596
  });
5597
5597
  return (() => {
5598
- var _el$ = _tmpl$3$m(), _el$2 = _el$.firstChild, _el$4 = _el$2.firstChild, _el$5 = _el$4.firstChild;
5598
+ var _el$ = _tmpl$3$n(), _el$2 = _el$.firstChild, _el$4 = _el$2.firstChild, _el$5 = _el$4.firstChild;
5599
5599
  insert(_el$2, createComponent(Show, {
5600
5600
  get when() {
5601
5601
  return !collapsed();
5602
5602
  },
5603
5603
  get children() {
5604
- var _el$3 = _tmpl$$U();
5604
+ var _el$3 = _tmpl$$X();
5605
5605
  insert(_el$3, () => t("menu.view.outline") || "Outline");
5606
5606
  return _el$3;
5607
5607
  }
@@ -5612,14 +5612,14 @@ function OutlinePanel(props) {
5612
5612
  return !collapsed();
5613
5613
  },
5614
5614
  get children() {
5615
- var _el$6 = _tmpl$2$z();
5615
+ var _el$6 = _tmpl$2$A();
5616
5616
  insert(_el$6, createComponent(Show, {
5617
5617
  get when() {
5618
5618
  return items().length > 0;
5619
5619
  },
5620
5620
  get fallback() {
5621
5621
  return (() => {
5622
- var _el$7 = _tmpl$4$h();
5622
+ var _el$7 = _tmpl$4$i();
5623
5623
  insert(_el$7, () => t("outline.empty"));
5624
5624
  return _el$7;
5625
5625
  })();
@@ -5669,7 +5669,7 @@ function OutlinePanel(props) {
5669
5669
  })();
5670
5670
  }
5671
5671
  delegateEvents(["click"]);
5672
- var _tmpl$$T = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-overflow-manager style="display:flex;align-items:center;flex:1 1 0%;min-width:0;position:relative;margin-right:8px"><button type=button class="oasis-editor-tool-button oasis-editor-tool-button-dropdown oasis-editor-toolbar-more-measure"aria-hidden=true tabindex=-1 style=position:absolute;visibility:hidden;pointer-events:none;right:0><i data-lucide=ellipsis></i></button><div style="display:flex;align-items:center;gap:8px;flex:1 1 0;min-width:0;overflow:hidden"></div><div style=flex-shrink:0;padding-left:8px;padding-right:16px;align-items:center><button type=button class="oasis-editor-tool-button oasis-editor-tool-button-dropdown"data-testid=editor-toolbar-overflow-dropdown><i data-lucide=ellipsis></i></button></div><div class="oasis-editor-toolbar-overflow-dropdown-menu oasis-editor-toolbar-overflow-menu"style="flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px;padding:8px;background:var(--oasis-paper);border:1px solid var(--oasis-toolbar-border);border-radius:var(--oasis-radius);box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);max-width:calc(100vw - 16px);overflow-x:hidden;overflow-y:auto">`), _tmpl$2$y = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-item-wrapper style=display:flex;align-items:center;flex-shrink:0>`);
5672
+ var _tmpl$$W = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-overflow-manager style="display:flex;align-items:center;flex:1 1 0%;min-width:0;position:relative;margin-right:8px"><button type=button class="oasis-editor-tool-button oasis-editor-tool-button-dropdown oasis-editor-toolbar-more-measure"aria-hidden=true tabindex=-1 style=position:absolute;visibility:hidden;pointer-events:none;right:0><i data-lucide=ellipsis></i></button><div style="display:flex;align-items:center;gap:8px;flex:1 1 0;min-width:0;overflow:hidden"></div><div style=flex-shrink:0;padding-left:8px;padding-right:16px;align-items:center><button type=button class="oasis-editor-tool-button oasis-editor-tool-button-dropdown"data-testid=editor-toolbar-overflow-dropdown><i data-lucide=ellipsis></i></button></div><div class="oasis-editor-toolbar-overflow-dropdown-menu oasis-editor-toolbar-overflow-menu"style="flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px;padding:8px;background:var(--oasis-paper);border:1px solid var(--oasis-toolbar-border);border-radius:var(--oasis-radius);box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);max-width:calc(100vw - 16px);overflow-x:hidden;overflow-y:auto">`), _tmpl$2$z = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-item-wrapper style=display:flex;align-items:center;flex-shrink:0>`);
5673
5673
  function ToolbarOverflowManager(props) {
5674
5674
  const t = useI18n();
5675
5675
  const [overflowCount, setOverflowCount] = createSignal(0);
@@ -5813,7 +5813,7 @@ function ToolbarOverflowManager(props) {
5813
5813
  };
5814
5814
  };
5815
5815
  return (() => {
5816
- var _el$ = _tmpl$$T(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.nextSibling, _el$5 = _el$4.firstChild, _el$6 = _el$4.nextSibling;
5816
+ var _el$ = _tmpl$$W(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.nextSibling, _el$5 = _el$4.firstChild, _el$6 = _el$4.nextSibling;
5817
5817
  var _ref$ = containerRef;
5818
5818
  typeof _ref$ === "function" ? use(_ref$, _el$) : containerRef = _el$;
5819
5819
  var _ref$2 = moreMeasureRef;
@@ -5825,7 +5825,7 @@ function ToolbarOverflowManager(props) {
5825
5825
  return items();
5826
5826
  },
5827
5827
  children: (item) => (() => {
5828
- var _el$7 = _tmpl$2$y();
5828
+ var _el$7 = _tmpl$2$z();
5829
5829
  insert(_el$7, item);
5830
5830
  return _el$7;
5831
5831
  })()
@@ -5901,12 +5901,12 @@ function resolveLabel(item, api) {
5901
5901
  if (item.labelKey) return api.t(item.labelKey);
5902
5902
  return void 0;
5903
5903
  }
5904
- var _tmpl$$S = /* @__PURE__ */ template(`<span>`), _tmpl$2$x = /* @__PURE__ */ template(`<button type=button>`);
5904
+ var _tmpl$$V = /* @__PURE__ */ template(`<span>`), _tmpl$2$y = /* @__PURE__ */ template(`<button type=button>`);
5905
5905
  function Button$1(props) {
5906
5906
  const [local, others] = splitProps(props, ["icon", "label", "active", "tooltip", "wide", "ribbonSize", "aria-label", "class", "classList"]);
5907
5907
  const ariaLabel = () => local["aria-label"] || local.tooltip || local.label || "";
5908
5908
  return (() => {
5909
- var _el$ = _tmpl$2$x();
5909
+ var _el$ = _tmpl$2$y();
5910
5910
  spread(_el$, mergeProps({
5911
5911
  get ["class"]() {
5912
5912
  return `oasis-editor-tool-button ${local.class || ""}`;
@@ -5943,7 +5943,7 @@ function Button$1(props) {
5943
5943
  return local.label;
5944
5944
  },
5945
5945
  get children() {
5946
- var _el$2 = _tmpl$$S();
5946
+ var _el$2 = _tmpl$$V();
5947
5947
  insert(_el$2, () => local.label);
5948
5948
  return _el$2;
5949
5949
  }
@@ -6025,7 +6025,7 @@ function useDismiss(options) {
6025
6025
  });
6026
6026
  });
6027
6027
  }
6028
- var _tmpl$$R = /* @__PURE__ */ template(`<div>`);
6028
+ var _tmpl$$U = /* @__PURE__ */ template(`<div>`);
6029
6029
  function Popover(props) {
6030
6030
  let anchorRef;
6031
6031
  let panelRef;
@@ -6042,7 +6042,7 @@ function Popover(props) {
6042
6042
  closeOnEscape: props.closeOnEscape
6043
6043
  });
6044
6044
  const panel = (portalled) => (() => {
6045
- var _el$ = _tmpl$$R();
6045
+ var _el$ = _tmpl$$U();
6046
6046
  addEventListener(_el$, "mouseleave", props.onPanelMouseLeave);
6047
6047
  var _ref$ = panelRef;
6048
6048
  typeof _ref$ === "function" ? use(_ref$, _el$) : panelRef = _el$;
@@ -6094,12 +6094,12 @@ function Popover(props) {
6094
6094
  }
6095
6095
  })];
6096
6096
  }
6097
- var _tmpl$$Q = /* @__PURE__ */ template(`<div>`), _tmpl$2$w = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-dropdown>`), _tmpl$3$l = /* @__PURE__ */ template(`<i>`), _tmpl$4$g = /* @__PURE__ */ template(`<span class=oasis-editor-tool-button-label>`), _tmpl$5$b = /* @__PURE__ */ template(`<i data-lucide=chevron-down class=oasis-editor-dropdown-chevron>`), _tmpl$6$7 = /* @__PURE__ */ template(`<button type=button class="oasis-editor-tool-button oasis-editor-tool-button-dropdown"aria-haspopup=menu>`);
6097
+ var _tmpl$$T = /* @__PURE__ */ template(`<div>`), _tmpl$2$x = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-dropdown>`), _tmpl$3$m = /* @__PURE__ */ template(`<i>`), _tmpl$4$h = /* @__PURE__ */ template(`<span class=oasis-editor-tool-button-label>`), _tmpl$5$b = /* @__PURE__ */ template(`<i data-lucide=chevron-down class=oasis-editor-dropdown-chevron>`), _tmpl$6$7 = /* @__PURE__ */ template(`<button type=button class="oasis-editor-tool-button oasis-editor-tool-button-dropdown"aria-haspopup=menu>`);
6098
6098
  function Menu(props) {
6099
6099
  const [open, setOpen] = createSignal(false);
6100
6100
  const ariaLabel = () => props.tooltip || props.label || "";
6101
6101
  return (() => {
6102
- var _el$ = _tmpl$2$w();
6102
+ var _el$ = _tmpl$2$x();
6103
6103
  insert(_el$, createComponent(Popover, {
6104
6104
  get open() {
6105
6105
  return open();
@@ -6122,7 +6122,7 @@ function Menu(props) {
6122
6122
  return props.icon;
6123
6123
  },
6124
6124
  get children() {
6125
- var _el$4 = _tmpl$3$l();
6125
+ var _el$4 = _tmpl$3$m();
6126
6126
  createRenderEffect(() => setAttribute(_el$4, "data-lucide", props.icon));
6127
6127
  return _el$4;
6128
6128
  }
@@ -6132,7 +6132,7 @@ function Menu(props) {
6132
6132
  return props.label;
6133
6133
  },
6134
6134
  get children() {
6135
- var _el$5 = _tmpl$4$g();
6135
+ var _el$5 = _tmpl$4$h();
6136
6136
  insert(_el$5, () => props.label);
6137
6137
  return _el$5;
6138
6138
  }
@@ -6167,7 +6167,7 @@ function Menu(props) {
6167
6167
  return _el$3;
6168
6168
  })(),
6169
6169
  get children() {
6170
- var _el$2 = _tmpl$$Q();
6170
+ var _el$2 = _tmpl$$T();
6171
6171
  _el$2.$$click = (event) => {
6172
6172
  const el = event.target;
6173
6173
  if (el.closest("button") && !el.closest(".oasis-editor-tool-button-dropdown") && !el.closest(".oasis-editor-toolbar-list-options")) {
@@ -6182,7 +6182,7 @@ function Menu(props) {
6182
6182
  })();
6183
6183
  }
6184
6184
  delegateEvents(["click"]);
6185
- var _tmpl$$P = /* @__PURE__ */ template(`<select>`);
6185
+ var _tmpl$$S = /* @__PURE__ */ template(`<select>`);
6186
6186
  function Select(props) {
6187
6187
  let selectRef;
6188
6188
  const [local, others] = splitProps(props, ["wide", "small", "class", "tooltip", "aria-label", "value"]);
@@ -6198,7 +6198,7 @@ function Select(props) {
6198
6198
  }
6199
6199
  });
6200
6200
  return (() => {
6201
- var _el$ = _tmpl$$P();
6201
+ var _el$ = _tmpl$$S();
6202
6202
  var _ref$ = selectRef;
6203
6203
  typeof _ref$ === "function" ? use(_ref$, _el$) : selectRef = _el$;
6204
6204
  spread(_el$, mergeProps({
@@ -6225,15 +6225,15 @@ function Select(props) {
6225
6225
  return _el$;
6226
6226
  })();
6227
6227
  }
6228
- var _tmpl$$O = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-separator>`);
6228
+ var _tmpl$$R = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-separator>`);
6229
6229
  function Separator(props) {
6230
6230
  return (() => {
6231
- var _el$ = _tmpl$$O();
6231
+ var _el$ = _tmpl$$R();
6232
6232
  createRenderEffect((_$p) => setStyleProperty(_el$, "display", props.hidden ? "none" : void 0));
6233
6233
  return _el$;
6234
6234
  })();
6235
6235
  }
6236
- var _tmpl$$N = /* @__PURE__ */ template(`<div><button type=button class=oasis-editor-color-split-main></button><button type=button class=oasis-editor-color-split-menu-button aria-haspopup=menu><i data-lucide=chevron-down>`);
6236
+ var _tmpl$$Q = /* @__PURE__ */ template(`<div><button type=button class=oasis-editor-color-split-main></button><button type=button class=oasis-editor-color-split-menu-button aria-haspopup=menu><i data-lucide=chevron-down>`);
6237
6237
  function SplitButton(props) {
6238
6238
  return createComponent(Popover, {
6239
6239
  get open() {
@@ -6252,7 +6252,7 @@ function SplitButton(props) {
6252
6252
  return props.onPanelMouseLeave;
6253
6253
  },
6254
6254
  trigger: (api) => (() => {
6255
- var _el$ = _tmpl$$N(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
6255
+ var _el$ = _tmpl$$Q(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
6256
6256
  use((el) => api.ref(el), _el$);
6257
6257
  _el$2.$$click = () => props.onMain();
6258
6258
  insert(_el$2, () => props.mainContent);
@@ -6290,7 +6290,7 @@ function SplitButton(props) {
6290
6290
  });
6291
6291
  }
6292
6292
  delegateEvents(["click"]);
6293
- var _tmpl$$M = /* @__PURE__ */ template(`<i data-lucide=type>`), _tmpl$2$v = /* @__PURE__ */ template(`<button type=button class=oasis-editor-color-menu-action role=menuitem><span class=oasis-editor-color-menu-action-swatch></span><span>`), _tmpl$3$k = /* @__PURE__ */ template(`<div class=oasis-editor-color-menu-section><div class=oasis-editor-color-menu-heading></div><div class=oasis-editor-color-theme-grid>`), _tmpl$4$f = /* @__PURE__ */ template(`<div class=oasis-editor-color-menu-section><div class=oasis-editor-color-menu-heading></div><div class=oasis-editor-color-standard-grid>`), _tmpl$5$a = /* @__PURE__ */ template(`<button type=button class=oasis-editor-color-menu-action role=menuitem><span class="oasis-editor-color-menu-action-swatch oasis-editor-color-menu-more-swatch"></span><span>`), _tmpl$6$6 = /* @__PURE__ */ template(`<input type=color class=oasis-editor-color-custom-input>`), _tmpl$7$2 = /* @__PURE__ */ template(`<span class=oasis-editor-color-split-icon><i></i><span class=oasis-editor-color-split-indicator>`), _tmpl$8$1 = /* @__PURE__ */ template(`<i data-lucide=slash>`), _tmpl$9 = /* @__PURE__ */ template(`<div class=oasis-editor-color-theme-column>`), _tmpl$0 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-color-swatch>`);
6293
+ var _tmpl$$P = /* @__PURE__ */ template(`<i data-lucide=type>`), _tmpl$2$w = /* @__PURE__ */ template(`<button type=button class=oasis-editor-color-menu-action role=menuitem><span class=oasis-editor-color-menu-action-swatch></span><span>`), _tmpl$3$l = /* @__PURE__ */ template(`<div class=oasis-editor-color-menu-section><div class=oasis-editor-color-menu-heading></div><div class=oasis-editor-color-theme-grid>`), _tmpl$4$g = /* @__PURE__ */ template(`<div class=oasis-editor-color-menu-section><div class=oasis-editor-color-menu-heading></div><div class=oasis-editor-color-standard-grid>`), _tmpl$5$a = /* @__PURE__ */ template(`<button type=button class=oasis-editor-color-menu-action role=menuitem><span class="oasis-editor-color-menu-action-swatch oasis-editor-color-menu-more-swatch"></span><span>`), _tmpl$6$6 = /* @__PURE__ */ template(`<input type=color class=oasis-editor-color-custom-input>`), _tmpl$7$2 = /* @__PURE__ */ template(`<span class=oasis-editor-color-split-icon><i></i><span class=oasis-editor-color-split-indicator>`), _tmpl$8$1 = /* @__PURE__ */ template(`<i data-lucide=slash>`), _tmpl$9 = /* @__PURE__ */ template(`<div class=oasis-editor-color-theme-column>`), _tmpl$0 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-color-swatch>`);
6294
6294
  const normalizeColor = (value) => (value == null ? void 0 : value.trim().toLowerCase()) ?? "";
6295
6295
  function ColorPicker(props) {
6296
6296
  const [isOpen, setIsOpen] = createSignal(false);
@@ -6355,7 +6355,7 @@ function ColorPicker(props) {
6355
6355
  return clearLabel();
6356
6356
  },
6357
6357
  get children() {
6358
- var _el$ = _tmpl$2$v(), _el$2 = _el$.firstChild, _el$4 = _el$2.nextSibling;
6358
+ var _el$ = _tmpl$2$w(), _el$2 = _el$.firstChild, _el$4 = _el$2.nextSibling;
6359
6359
  _el$.$$click = () => applyColor(null);
6360
6360
  insert(_el$2, createComponent(Show, {
6361
6361
  get when() {
@@ -6365,7 +6365,7 @@ function ColorPicker(props) {
6365
6365
  return _tmpl$8$1();
6366
6366
  },
6367
6367
  get children() {
6368
- return _tmpl$$M();
6368
+ return _tmpl$$P();
6369
6369
  }
6370
6370
  }));
6371
6371
  insert(_el$4, clearLabel);
@@ -6373,7 +6373,7 @@ function ColorPicker(props) {
6373
6373
  return _el$;
6374
6374
  }
6375
6375
  }), (() => {
6376
- var _el$5 = _tmpl$3$k(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling;
6376
+ var _el$5 = _tmpl$3$l(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling;
6377
6377
  insert(_el$6, () => props.themeColorsLabel);
6378
6378
  insert(_el$7, createComponent(For, {
6379
6379
  get each() {
@@ -6413,7 +6413,7 @@ function ColorPicker(props) {
6413
6413
  }));
6414
6414
  return _el$5;
6415
6415
  })(), (() => {
6416
- var _el$8 = _tmpl$4$f(), _el$9 = _el$8.firstChild, _el$0 = _el$9.nextSibling;
6416
+ var _el$8 = _tmpl$4$g(), _el$9 = _el$8.firstChild, _el$0 = _el$9.nextSibling;
6417
6417
  insert(_el$9, () => props.standardColorsLabel);
6418
6418
  insert(_el$0, createComponent(For, {
6419
6419
  get each() {
@@ -6478,7 +6478,7 @@ function ColorPicker(props) {
6478
6478
  });
6479
6479
  }
6480
6480
  delegateEvents(["click", "input"]);
6481
- var _tmpl$$L = /* @__PURE__ */ template(`<div class=oasis-editor-table-grid-picker-status>`), _tmpl$2$u = /* @__PURE__ */ template(`<div class=oasis-editor-table-grid-picker-grid>`), _tmpl$3$j = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-dropdown>`), _tmpl$4$e = /* @__PURE__ */ template(`<button type=button class=oasis-editor-tool-button><i>`), _tmpl$5$9 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-table-grid-picker-cell>`);
6481
+ var _tmpl$$O = /* @__PURE__ */ template(`<div class=oasis-editor-table-grid-picker-status>`), _tmpl$2$v = /* @__PURE__ */ template(`<div class=oasis-editor-table-grid-picker-grid>`), _tmpl$3$k = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-dropdown>`), _tmpl$4$f = /* @__PURE__ */ template(`<button type=button class=oasis-editor-tool-button><i>`), _tmpl$5$9 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-table-grid-picker-cell>`);
6482
6482
  function GridPicker(props) {
6483
6483
  const t = useI18n();
6484
6484
  const [isOpen, setIsOpen] = createSignal(false);
@@ -6553,7 +6553,7 @@ function GridPicker(props) {
6553
6553
  return h.row === 0 || h.col === 0 ? t("toolbar.table") : `${h.row} × ${h.col}`;
6554
6554
  };
6555
6555
  return (() => {
6556
- var _el$ = _tmpl$3$j();
6556
+ var _el$ = _tmpl$3$k();
6557
6557
  insert(_el$, createComponent(Popover, {
6558
6558
  get open() {
6559
6559
  return isOpen();
@@ -6565,7 +6565,7 @@ function GridPicker(props) {
6565
6565
  col: 0
6566
6566
  }),
6567
6567
  trigger: (api) => (() => {
6568
- var _el$4 = _tmpl$4$e(), _el$5 = _el$4.firstChild;
6568
+ var _el$4 = _tmpl$4$f(), _el$5 = _el$4.firstChild;
6569
6569
  _el$4.$$click = () => api.toggle();
6570
6570
  use((el) => api.ref(el), _el$4);
6571
6571
  createRenderEffect((_p$) => {
@@ -6587,11 +6587,11 @@ function GridPicker(props) {
6587
6587
  })(),
6588
6588
  get children() {
6589
6589
  return [(() => {
6590
- var _el$2 = _tmpl$$L();
6590
+ var _el$2 = _tmpl$$O();
6591
6591
  insert(_el$2, statusLabel);
6592
6592
  return _el$2;
6593
6593
  })(), (() => {
6594
- var _el$3 = _tmpl$2$u();
6594
+ var _el$3 = _tmpl$2$v();
6595
6595
  insert(_el$3, createComponent(For, {
6596
6596
  get each() {
6597
6597
  return rows();
@@ -6691,7 +6691,7 @@ const DEFAULT_PALETTE = {
6691
6691
  standardColors: STANDARD_COLORS,
6692
6692
  allowCustom: true
6693
6693
  };
6694
- var _tmpl$$K = /* @__PURE__ */ template(`<button type=button class=oasis-editor-style-gallery-card role=option><span>`), _tmpl$2$t = /* @__PURE__ */ template(`<div class=oasis-editor-style-gallery-grid>`), _tmpl$3$i = /* @__PURE__ */ template(`<div class=oasis-editor-style-gallery><div class=oasis-editor-style-gallery-ribbon><div class=oasis-editor-style-gallery-strip role=listbox></div><button type=button class=oasis-editor-style-gallery-expand aria-haspopup=listbox><i data-lucide=chevron-down>`), _tmpl$4$d = /* @__PURE__ */ template(`<option>`);
6694
+ var _tmpl$$N = /* @__PURE__ */ template(`<button type=button class=oasis-editor-style-gallery-card role=option><span>`), _tmpl$2$u = /* @__PURE__ */ template(`<div class=oasis-editor-style-gallery-grid>`), _tmpl$3$j = /* @__PURE__ */ template(`<div class=oasis-editor-style-gallery><div class=oasis-editor-style-gallery-ribbon><div class=oasis-editor-style-gallery-strip role=listbox></div><button type=button class=oasis-editor-style-gallery-expand aria-haspopup=listbox><i data-lucide=chevron-down>`), _tmpl$4$e = /* @__PURE__ */ template(`<option>`);
6695
6695
  function getQuickStyles(styles) {
6696
6696
  const applicable = styles.filter((style2) => style2.type !== "table" && (!style2.semiHidden || style2.unhideWhenUsed && style2.isUsed));
6697
6697
  const hasQuickStyles = applicable.some((style2) => style2.qFormat === true);
@@ -6771,7 +6771,7 @@ function StyleGallery(props) {
6771
6771
  return styles();
6772
6772
  },
6773
6773
  children: (style$1) => (() => {
6774
- var _el$ = _tmpl$$K(), _el$2 = _el$.firstChild;
6774
+ var _el$ = _tmpl$$N(), _el$2 = _el$.firstChild;
6775
6775
  _el$.$$click = () => apply(style$1);
6776
6776
  insert(_el$2, () => style$1.name);
6777
6777
  createRenderEffect((_p$) => {
@@ -6802,7 +6802,7 @@ function StyleGallery(props) {
6802
6802
  panelRole: "listbox",
6803
6803
  panelTestId,
6804
6804
  trigger: (popover) => (() => {
6805
- var _el$4 = _tmpl$3$i(), _el$5 = _el$4.firstChild, _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling;
6805
+ var _el$4 = _tmpl$3$j(), _el$5 = _el$4.firstChild, _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling;
6806
6806
  var _ref$ = popover.ref;
6807
6807
  typeof _ref$ === "function" ? use(_ref$, _el$4) : popover.ref = _el$4;
6808
6808
  insert(_el$4, createComponent(Select, {
@@ -6826,7 +6826,7 @@ function StyleGallery(props) {
6826
6826
  return styles();
6827
6827
  },
6828
6828
  children: (style2) => (() => {
6829
- var _el$8 = _tmpl$4$d();
6829
+ var _el$8 = _tmpl$4$e();
6830
6830
  insert(_el$8, () => style2.name);
6831
6831
  createRenderEffect(() => _el$8.value = style2.id);
6832
6832
  return _el$8;
@@ -6851,7 +6851,7 @@ function StyleGallery(props) {
6851
6851
  return _el$4;
6852
6852
  })(),
6853
6853
  get children() {
6854
- var _el$3 = _tmpl$2$t();
6854
+ var _el$3 = _tmpl$2$u();
6855
6855
  _el$3.$$keydown = onPanelKeyDown;
6856
6856
  insert(_el$3, cards);
6857
6857
  return _el$3;
@@ -6859,7 +6859,7 @@ function StyleGallery(props) {
6859
6859
  });
6860
6860
  }
6861
6861
  delegateEvents(["click", "keydown"]);
6862
- var _tmpl$$J = /* @__PURE__ */ template(`<option value>`), _tmpl$2$s = /* @__PURE__ */ template(`<option>`), _tmpl$3$h = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-item style=align-items:center>`);
6862
+ var _tmpl$$M = /* @__PURE__ */ template(`<option value>`), _tmpl$2$t = /* @__PURE__ */ template(`<option>`), _tmpl$3$i = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-item style=align-items:center>`);
6863
6863
  function renderMenuContent(content, api) {
6864
6864
  if (content.kind === "custom") {
6865
6865
  return content.render(api);
@@ -7041,7 +7041,7 @@ function RenderSelect(props) {
7041
7041
  return props.item.placeholder !== void 0;
7042
7042
  },
7043
7043
  get children() {
7044
- var _el$ = _tmpl$$J();
7044
+ var _el$ = _tmpl$$M();
7045
7045
  insert(_el$, () => props.item.placeholder);
7046
7046
  return _el$;
7047
7047
  }
@@ -7050,7 +7050,7 @@ function RenderSelect(props) {
7050
7050
  return props.item.options(props.api);
7051
7051
  },
7052
7052
  children: (option) => (() => {
7053
- var _el$2 = _tmpl$2$s();
7053
+ var _el$2 = _tmpl$2$t();
7054
7054
  insert(_el$2, () => option.label);
7055
7055
  createRenderEffect(() => _el$2.value = option.value);
7056
7056
  return _el$2;
@@ -7188,7 +7188,7 @@ function ToolbarItemRenderer(props) {
7188
7188
  const binding = bindItem(props.item, props.api);
7189
7189
  const component = () => resolveRenderer(props.item.type);
7190
7190
  return (() => {
7191
- var _el$3 = _tmpl$3$h();
7191
+ var _el$3 = _tmpl$3$i();
7192
7192
  insert(_el$3, createComponent(Show, {
7193
7193
  get when() {
7194
7194
  return component();
@@ -7599,7 +7599,7 @@ function resolveResponsiveRibbonGroups(groups, availableWidth, measurements = {}
7599
7599
  allocatedWidth: allocatedWidths.get(group.id)
7600
7600
  }));
7601
7601
  }
7602
- var _tmpl$$I = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-tabs role=tablist>`), _tmpl$2$r = /* @__PURE__ */ template(`<button type=button class=oasis-editor-ribbon-tab role=tab>`);
7602
+ var _tmpl$$L = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-tabs role=tablist>`), _tmpl$2$s = /* @__PURE__ */ template(`<button type=button class=oasis-editor-ribbon-tab role=tab>`);
7603
7603
  function RibbonTabs(props) {
7604
7604
  const tabs = buildRibbonTabDefinitions(useI18n());
7605
7605
  const moveTab = (current, delta) => {
@@ -7608,11 +7608,11 @@ function RibbonTabs(props) {
7608
7608
  if (next) props.setActiveTab(next.id);
7609
7609
  };
7610
7610
  return (() => {
7611
- var _el$ = _tmpl$$I();
7611
+ var _el$ = _tmpl$$L();
7612
7612
  insert(_el$, createComponent(For, {
7613
7613
  each: tabs,
7614
7614
  children: (tab) => (() => {
7615
- var _el$2 = _tmpl$2$r();
7615
+ var _el$2 = _tmpl$2$s();
7616
7616
  _el$2.$$keydown = (event) => {
7617
7617
  if (event.key === "ArrowRight") {
7618
7618
  event.preventDefault();
@@ -7654,10 +7654,10 @@ function RibbonTabs(props) {
7654
7654
  })();
7655
7655
  }
7656
7656
  delegateEvents(["click", "keydown"]);
7657
- var _tmpl$$H = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-row>`);
7657
+ var _tmpl$$K = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-row>`);
7658
7658
  function RibbonRow(props) {
7659
7659
  return (() => {
7660
- var _el$ = _tmpl$$H();
7660
+ var _el$ = _tmpl$$K();
7661
7661
  insert(_el$, createComponent(For, {
7662
7662
  get each() {
7663
7663
  return props.items;
@@ -7672,7 +7672,7 @@ function RibbonRow(props) {
7672
7672
  return _el$;
7673
7673
  })();
7674
7674
  }
7675
- var _tmpl$$G = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-large-items>`), _tmpl$2$q = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-group-rows><div class=oasis-editor-ribbon-normal-rows>`), _tmpl$3$g = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-group-label>`), _tmpl$4$c = /* @__PURE__ */ template(`<section class=oasis-editor-ribbon-group>`), _tmpl$5$8 = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-collapsed-items>`), _tmpl$6$5 = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-group-rows>`);
7675
+ var _tmpl$$J = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-large-items>`), _tmpl$2$r = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-group-rows><div class=oasis-editor-ribbon-normal-rows>`), _tmpl$3$h = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-group-label>`), _tmpl$4$d = /* @__PURE__ */ template(`<section class=oasis-editor-ribbon-group>`), _tmpl$5$8 = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-collapsed-items>`), _tmpl$6$5 = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-group-rows>`);
7676
7676
  function groupItems(group) {
7677
7677
  return [...group.largeItems, ...group.rows[1], ...group.rows[2]];
7678
7678
  }
@@ -7683,7 +7683,7 @@ function groupStyle(group) {
7683
7683
  }
7684
7684
  function RibbonGroup(props) {
7685
7685
  return (() => {
7686
- var _el$ = _tmpl$4$c();
7686
+ var _el$ = _tmpl$4$d();
7687
7687
  insert(_el$, createComponent(Show, {
7688
7688
  get when() {
7689
7689
  return props.group.resizeState !== "collapsed";
@@ -7724,20 +7724,20 @@ function RibbonGroup(props) {
7724
7724
  }));
7725
7725
  return _el$6;
7726
7726
  })(), (() => {
7727
- var _el$8 = _tmpl$3$g();
7727
+ var _el$8 = _tmpl$3$h();
7728
7728
  insert(_el$8, () => props.group.label);
7729
7729
  return _el$8;
7730
7730
  })()];
7731
7731
  },
7732
7732
  get children() {
7733
7733
  return [(() => {
7734
- var _el$2 = _tmpl$2$q(), _el$4 = _el$2.firstChild;
7734
+ var _el$2 = _tmpl$2$r(), _el$4 = _el$2.firstChild;
7735
7735
  insert(_el$2, createComponent(Show, {
7736
7736
  get when() {
7737
7737
  return props.group.largeItems.length > 0;
7738
7738
  },
7739
7739
  get children() {
7740
- var _el$3 = _tmpl$$G();
7740
+ var _el$3 = _tmpl$$J();
7741
7741
  insert(_el$3, createComponent(For, {
7742
7742
  get each() {
7743
7743
  return props.group.largeItems;
@@ -7770,7 +7770,7 @@ function RibbonGroup(props) {
7770
7770
  }), null);
7771
7771
  return _el$2;
7772
7772
  })(), (() => {
7773
- var _el$5 = _tmpl$3$g();
7773
+ var _el$5 = _tmpl$3$h();
7774
7774
  insert(_el$5, () => props.group.label);
7775
7775
  return _el$5;
7776
7776
  })()];
@@ -7798,7 +7798,7 @@ function RibbonGroup(props) {
7798
7798
  return _el$;
7799
7799
  })();
7800
7800
  }
7801
- var _tmpl$$F = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-panel role=tabpanel data-testid=editor-ribbon-panel>`);
7801
+ var _tmpl$$I = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-panel role=tabpanel data-testid=editor-ribbon-panel>`);
7802
7802
  function RibbonPanel(props) {
7803
7803
  const [availableWidth, setAvailableWidth] = createSignal(null);
7804
7804
  const [measurements, setMeasurements] = createSignal({});
@@ -7843,7 +7843,7 @@ function RibbonPanel(props) {
7843
7843
  requestAnimationFrame(measureGroups);
7844
7844
  });
7845
7845
  return (() => {
7846
- var _el$ = _tmpl$$F();
7846
+ var _el$ = _tmpl$$I();
7847
7847
  var _ref$ = panelRef;
7848
7848
  typeof _ref$ === "function" ? use(_ref$, _el$) : panelRef = _el$;
7849
7849
  insert(_el$, createComponent(For, {
@@ -7869,7 +7869,7 @@ function RibbonPanel(props) {
7869
7869
  return _el$;
7870
7870
  })();
7871
7871
  }
7872
- var _tmpl$$E = /* @__PURE__ */ template(`<section class=oasis-editor-toolbar>`), _tmpl$2$p = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-wrap-strip>`);
7872
+ var _tmpl$$H = /* @__PURE__ */ template(`<section class=oasis-editor-toolbar>`), _tmpl$2$q = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-wrap-strip>`);
7873
7873
  const shouldAllowNativeMouseDown = (target) => target instanceof Element && target.closest("select, input, textarea, label") !== null;
7874
7874
  function Toolbar(props) {
7875
7875
  const api = createToolbarApi(props.host, useI18n());
@@ -7899,7 +7899,7 @@ function Toolbar(props) {
7899
7899
  })
7900
7900
  });
7901
7901
  return (() => {
7902
- var _el$ = _tmpl$$E();
7902
+ var _el$ = _tmpl$$H();
7903
7903
  _el$.$$mousedown = (event) => {
7904
7904
  if (shouldAllowNativeMouseDown(event.target)) {
7905
7905
  return;
@@ -7920,7 +7920,7 @@ function Toolbar(props) {
7920
7920
  return renderItems();
7921
7921
  }
7922
7922
  }) : (() => {
7923
- var _el$2 = _tmpl$2$p();
7923
+ var _el$2 = _tmpl$2$q();
7924
7924
  insert(_el$2, renderItems);
7925
7925
  return _el$2;
7926
7926
  })();
@@ -18433,11 +18433,11 @@ function buildCanvasTableLayout(options) {
18433
18433
  unsupported: Array.from(new Set(unsupported))
18434
18434
  };
18435
18435
  }
18436
- var _tmpl$$D = /* @__PURE__ */ template(`<div class=oasis-editor-page-break style="display:flex;align-items:center;justify-content:center;margin:16px 0;position:relative;user-select:none"><div style="position:absolute;left:0;right:0;top:50%;border-top:1px dashed var(--oasis-toolbar-border, #e0e3e7)"></div><div style="background:var(--oasis-bg, #f6f8fb);padding:0 12px;color:var(--oasis-text-muted, #5f6368);font-size:12px;font-family:var(--oasis-font-ui, sans-serif);z-index:1">`);
18436
+ var _tmpl$$G = /* @__PURE__ */ template(`<div class=oasis-editor-page-break style="display:flex;align-items:center;justify-content:center;margin:16px 0;position:relative;user-select:none"><div style="position:absolute;left:0;right:0;top:50%;border-top:1px dashed var(--oasis-toolbar-border, #e0e3e7)"></div><div style="background:var(--oasis-bg, #f6f8fb);padding:0 12px;color:var(--oasis-text-muted, #5f6368);font-size:12px;font-family:var(--oasis-font-ui, sans-serif);z-index:1">`);
18437
18437
  function PageBreak(_props) {
18438
18438
  const t = useI18n();
18439
18439
  return (() => {
18440
- var _el$ = _tmpl$$D(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
18440
+ var _el$ = _tmpl$$G(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
18441
18441
  insert(_el$3, () => t("metric.pageBreak") || "Page Break");
18442
18442
  return _el$;
18443
18443
  })();
@@ -21944,7 +21944,7 @@ function createCanvasPageRenderer(options) {
21944
21944
  }
21945
21945
  };
21946
21946
  }
21947
- var _tmpl$$C = /* @__PURE__ */ template(`<div class="oasis-editor-paper-stack oasis-editor-canvas-stack"style=position:relative>`), _tmpl$2$o = /* @__PURE__ */ template(`<div class=oasis-editor-canvas-page-slot style=position:relative>`), _tmpl$3$f = /* @__PURE__ */ template(`<div class=oasis-editor-paper data-renderer=canvas data-testid=editor-page style=position:relative;z-index:1><canvas>`), _tmpl$4$b = /* @__PURE__ */ template(`<div class=oasis-editor-table-revision-hit style=position:absolute;pointer-events:auto;background:transparent>`);
21947
+ var _tmpl$$F = /* @__PURE__ */ template(`<div class="oasis-editor-paper-stack oasis-editor-canvas-stack"style=position:relative>`), _tmpl$2$p = /* @__PURE__ */ template(`<div class=oasis-editor-canvas-page-slot style=position:relative>`), _tmpl$3$g = /* @__PURE__ */ template(`<div class=oasis-editor-paper data-renderer=canvas data-testid=editor-page style=position:relative;z-index:1><canvas>`), _tmpl$4$c = /* @__PURE__ */ template(`<div class=oasis-editor-table-revision-hit style=position:absolute;pointer-events:auto;background:transparent>`);
21948
21948
  const surfaceLogger = createEditorLogger("canvas-surface");
21949
21949
  function checkBrowserFonts(families) {
21950
21950
  if (typeof document === "undefined" || !document.fonts) {
@@ -22004,7 +22004,7 @@ function CanvasEditorSurface(props) {
22004
22004
  return layout;
22005
22005
  });
22006
22006
  return (() => {
22007
- var _el$ = _tmpl$$C();
22007
+ var _el$ = _tmpl$$F();
22008
22008
  insert(_el$, createComponent(Index, {
22009
22009
  get each() {
22010
22010
  return documentLayout().pages;
@@ -22016,7 +22016,7 @@ function CanvasEditorSurface(props) {
22016
22016
  // inserting an image that triggers re-pagination in a narrow viewport),
22017
22017
  // causing "Failed to execute 'insertBefore'" errors.
22018
22018
  (() => {
22019
- var _el$2 = _tmpl$2$o();
22019
+ var _el$2 = _tmpl$2$p();
22020
22020
  insert(_el$2, createComponent(Show, {
22021
22021
  when: index > 0,
22022
22022
  get children() {
@@ -22146,7 +22146,7 @@ function CanvasPage(props) {
22146
22146
  });
22147
22147
  onCleanup(() => renderer.dispose());
22148
22148
  return (() => {
22149
- var _el$3 = _tmpl$3$f(), _el$4 = _el$3.firstChild;
22149
+ var _el$3 = _tmpl$3$g(), _el$4 = _el$3.firstChild;
22150
22150
  addEventListener(_el$3, "dblclick", props.onSurfaceDblClick, true);
22151
22151
  addEventListener(_el$3, "mousemove", props.onSurfaceMouseMove, true);
22152
22152
  addEventListener(_el$3, "click", props.onSurfaceClick, true);
@@ -22158,7 +22158,7 @@ function CanvasPage(props) {
22158
22158
  return revisionCells();
22159
22159
  },
22160
22160
  children: (revision) => (() => {
22161
- var _el$5 = _tmpl$4$b();
22161
+ var _el$5 = _tmpl$4$c();
22162
22162
  addEventListener(_el$5, "mousedown", props.onSurfaceMouseDown, true);
22163
22163
  _el$5.addEventListener("mouseleave", (event) => {
22164
22164
  var _a;
@@ -22512,7 +22512,7 @@ function computeRulerTicks(pageWidth, contentLeft, unit) {
22512
22512
  pushSide(-1);
22513
22513
  return ticks;
22514
22514
  }
22515
- var _tmpl$$B = /* @__PURE__ */ template(`<div class=oasis-editor-horizontal-ruler data-testid=editor-horizontal-ruler role=presentation><div class=oasis-editor-horizontal-ruler-track><div class=oasis-editor-horizontal-ruler-page><div class=oasis-editor-horizontal-ruler-margin style=left:0px></div><div class=oasis-editor-horizontal-ruler-margin></div><div class=oasis-editor-horizontal-ruler-content></div><button type=button class=oasis-editor-horizontal-ruler-margin-handle></button><button type=button class=oasis-editor-horizontal-ruler-margin-handle></button><button type=button class="oasis-editor-ruler-marker oasis-editor-ruler-marker-first-line"></button><button type=button class="oasis-editor-ruler-marker oasis-editor-ruler-marker-hanging"></button><button type=button class="oasis-editor-ruler-marker oasis-editor-ruler-marker-left-box"></button><button type=button class="oasis-editor-ruler-marker oasis-editor-ruler-marker-right-indent">`), _tmpl$2$n = /* @__PURE__ */ template(`<div>`), _tmpl$3$e = /* @__PURE__ */ template(`<div class=oasis-editor-horizontal-ruler-label>`);
22515
+ var _tmpl$$E = /* @__PURE__ */ template(`<div class=oasis-editor-horizontal-ruler data-testid=editor-horizontal-ruler role=presentation><div class=oasis-editor-horizontal-ruler-track><div class=oasis-editor-horizontal-ruler-page><div class=oasis-editor-horizontal-ruler-margin style=left:0px></div><div class=oasis-editor-horizontal-ruler-margin></div><div class=oasis-editor-horizontal-ruler-content></div><button type=button class=oasis-editor-horizontal-ruler-margin-handle></button><button type=button class=oasis-editor-horizontal-ruler-margin-handle></button><button type=button class="oasis-editor-ruler-marker oasis-editor-ruler-marker-first-line"></button><button type=button class="oasis-editor-ruler-marker oasis-editor-ruler-marker-hanging"></button><button type=button class="oasis-editor-ruler-marker oasis-editor-ruler-marker-left-box"></button><button type=button class="oasis-editor-ruler-marker oasis-editor-ruler-marker-right-indent">`), _tmpl$2$o = /* @__PURE__ */ template(`<div>`), _tmpl$3$f = /* @__PURE__ */ template(`<div class=oasis-editor-horizontal-ruler-label>`);
22516
22516
  function getActivePageSettings(state) {
22517
22517
  var _a;
22518
22518
  const idx = getActiveSectionIndex(state);
@@ -22718,7 +22718,7 @@ function HorizontalRuler(props) {
22718
22718
  }
22719
22719
  };
22720
22720
  return (() => {
22721
- var _el$ = _tmpl$$B(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling, _el$6 = _el$5.nextSibling, _el$7 = _el$6.nextSibling, _el$8 = _el$7.nextSibling, _el$9 = _el$8.nextSibling, _el$0 = _el$9.nextSibling, _el$1 = _el$0.nextSibling, _el$10 = _el$1.nextSibling;
22721
+ var _el$ = _tmpl$$E(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling, _el$6 = _el$5.nextSibling, _el$7 = _el$6.nextSibling, _el$8 = _el$7.nextSibling, _el$9 = _el$8.nextSibling, _el$0 = _el$9.nextSibling, _el$1 = _el$0.nextSibling, _el$10 = _el$1.nextSibling;
22722
22722
  var _ref$ = pageRef;
22723
22723
  typeof _ref$ === "function" ? use(_ref$, _el$3) : pageRef = _el$3;
22724
22724
  insert(_el$3, createComponent(For, {
@@ -22726,7 +22726,7 @@ function HorizontalRuler(props) {
22726
22726
  return ticks();
22727
22727
  },
22728
22728
  children: (tick) => [(() => {
22729
- var _el$11 = _tmpl$2$n();
22729
+ var _el$11 = _tmpl$2$o();
22730
22730
  createRenderEffect((_p$) => {
22731
22731
  var _v$27 = `oasis-editor-horizontal-ruler-tick oasis-editor-horizontal-ruler-tick-${tick.kind}`, _v$28 = `${sx(tick.x)}px`;
22732
22732
  _v$27 !== _p$.e && className(_el$11, _p$.e = _v$27);
@@ -22738,7 +22738,7 @@ function HorizontalRuler(props) {
22738
22738
  });
22739
22739
  return _el$11;
22740
22740
  })(), memo(() => memo(() => !!tick.label)() && (() => {
22741
- var _el$12 = _tmpl$3$e();
22741
+ var _el$12 = _tmpl$3$f();
22742
22742
  insert(_el$12, () => tick.label);
22743
22743
  createRenderEffect((_$p) => setStyleProperty(_el$12, "left", `${sx(tick.x)}px`));
22744
22744
  return _el$12;
@@ -22815,10 +22815,10 @@ function HorizontalRuler(props) {
22815
22815
  })();
22816
22816
  }
22817
22817
  delegateEvents(["pointerdown"]);
22818
- var _tmpl$$A = /* @__PURE__ */ template(`<span aria-hidden=true class=oasis-editor-caret>`);
22818
+ var _tmpl$$D = /* @__PURE__ */ template(`<span aria-hidden=true class=oasis-editor-caret>`);
22819
22819
  function CaretOverlay(props) {
22820
22820
  return (() => {
22821
- var _el$ = _tmpl$$A();
22821
+ var _el$ = _tmpl$$D();
22822
22822
  createRenderEffect((_p$) => {
22823
22823
  var _v$ = !!props.active, _v$2 = {
22824
22824
  left: `${props.left}px`,
@@ -22839,16 +22839,16 @@ function CaretOverlay(props) {
22839
22839
  return _el$;
22840
22840
  })();
22841
22841
  }
22842
- var _tmpl$$z = /* @__PURE__ */ template(`<div aria-hidden=true class=oasis-editor-selection-overlay-root>`), _tmpl$2$m = /* @__PURE__ */ template(`<span aria-hidden=true class=oasis-editor-selection-box data-testid=editor-selection-box>`);
22842
+ var _tmpl$$C = /* @__PURE__ */ template(`<div aria-hidden=true class=oasis-editor-selection-overlay-root>`), _tmpl$2$n = /* @__PURE__ */ template(`<span aria-hidden=true class=oasis-editor-selection-box data-testid=editor-selection-box>`);
22843
22843
  function SelectionOverlay(props) {
22844
22844
  return (() => {
22845
- var _el$ = _tmpl$$z();
22845
+ var _el$ = _tmpl$$C();
22846
22846
  insert(_el$, createComponent(Index, {
22847
22847
  get each() {
22848
22848
  return props.boxes;
22849
22849
  },
22850
22850
  children: (box) => (() => {
22851
- var _el$2 = _tmpl$2$m();
22851
+ var _el$2 = _tmpl$2$n();
22852
22852
  createRenderEffect((_p$) => {
22853
22853
  var _v$ = `${box().left}px`, _v$2 = `${box().top}px`, _v$3 = `${box().width}px`, _v$4 = `${box().height}px`;
22854
22854
  _v$ !== _p$.e && setStyleProperty(_el$2, "left", _p$.e = _v$);
@@ -22868,7 +22868,7 @@ function SelectionOverlay(props) {
22868
22868
  return _el$;
22869
22869
  })();
22870
22870
  }
22871
- var _tmpl$$y = /* @__PURE__ */ template(`<div class=oasis-editor-revision-overlay data-testid=editor-revision-overlay><div class=oasis-editor-revision-overlay-content><span class=oasis-editor-revision-overlay-author><strong>:</strong> </span><span class=oasis-editor-revision-overlay-date></span></div><div class=oasis-editor-revision-overlay-arrow>`);
22871
+ var _tmpl$$B = /* @__PURE__ */ template(`<div class=oasis-editor-revision-overlay data-testid=editor-revision-overlay><div class=oasis-editor-revision-overlay-content><span class=oasis-editor-revision-overlay-author><strong>:</strong> </span><span class=oasis-editor-revision-overlay-date></span></div><div class=oasis-editor-revision-overlay-arrow>`);
22872
22872
  function RevisionOverlay(props) {
22873
22873
  const formattedDate = () => {
22874
22874
  try {
@@ -22883,7 +22883,7 @@ function RevisionOverlay(props) {
22883
22883
  return "Alterado por";
22884
22884
  };
22885
22885
  return (() => {
22886
- var _el$ = _tmpl$$y(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild;
22886
+ var _el$ = _tmpl$$B(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild;
22887
22887
  _el$4.nextSibling;
22888
22888
  var _el$7 = _el$3.nextSibling;
22889
22889
  insert(_el$4, label, _el$5);
@@ -22901,7 +22901,7 @@ function RevisionOverlay(props) {
22901
22901
  return _el$;
22902
22902
  })();
22903
22903
  }
22904
- var _tmpl$$x = /* @__PURE__ */ template(`<div aria-hidden=true class=oasis-editor-comment-overlay-root>`), _tmpl$2$l = /* @__PURE__ */ template(`<span class=oasis-editor-comment-highlight data-testid=editor-comment-highlight>`), _tmpl$3$d = /* @__PURE__ */ template(`<span class=oasis-editor-comment-popup-date>`), _tmpl$4$a = /* @__PURE__ */ template(`<span class=oasis-editor-comment-popup-resolved>✓`), _tmpl$5$7 = /* @__PURE__ */ template(`<div class=oasis-editor-comment-popup data-testid=editor-comment-popup><div class=oasis-editor-comment-popup-header><span class=oasis-editor-comment-popup-author></span></div><div class=oasis-editor-comment-popup-body>`);
22904
+ var _tmpl$$A = /* @__PURE__ */ template(`<div aria-hidden=true class=oasis-editor-comment-overlay-root>`), _tmpl$2$m = /* @__PURE__ */ template(`<span class=oasis-editor-comment-highlight data-testid=editor-comment-highlight>`), _tmpl$3$e = /* @__PURE__ */ template(`<span class=oasis-editor-comment-popup-date>`), _tmpl$4$b = /* @__PURE__ */ template(`<span class=oasis-editor-comment-popup-resolved>✓`), _tmpl$5$7 = /* @__PURE__ */ template(`<div class=oasis-editor-comment-popup data-testid=editor-comment-popup><div class=oasis-editor-comment-popup-header><span class=oasis-editor-comment-popup-author></span></div><div class=oasis-editor-comment-popup-body>`);
22905
22905
  function CommentHighlightOverlay(props) {
22906
22906
  const [activeCommentId, setActiveCommentId] = createSignal(null);
22907
22907
  const activeComment = createMemo(() => {
@@ -22928,13 +22928,13 @@ function CommentHighlightOverlay(props) {
22928
22928
  }
22929
22929
  };
22930
22930
  return (() => {
22931
- var _el$ = _tmpl$$x();
22931
+ var _el$ = _tmpl$$A();
22932
22932
  insert(_el$, createComponent(For, {
22933
22933
  get each() {
22934
22934
  return props.boxes();
22935
22935
  },
22936
22936
  children: (box) => (() => {
22937
- var _el$2 = _tmpl$2$l();
22937
+ var _el$2 = _tmpl$2$m();
22938
22938
  _el$2.$$click = () => setActiveCommentId(box.commentId);
22939
22939
  _el$2.addEventListener("mouseenter", () => setActiveCommentId(box.commentId));
22940
22940
  createRenderEffect((_p$) => {
@@ -22974,7 +22974,7 @@ function CommentHighlightOverlay(props) {
22974
22974
  return comment.date !== void 0;
22975
22975
  },
22976
22976
  get children() {
22977
- var _el$6 = _tmpl$3$d();
22977
+ var _el$6 = _tmpl$3$e();
22978
22978
  insert(_el$6, () => formattedDate(comment.date));
22979
22979
  return _el$6;
22980
22980
  }
@@ -22984,7 +22984,7 @@ function CommentHighlightOverlay(props) {
22984
22984
  return comment.resolved;
22985
22985
  },
22986
22986
  get children() {
22987
- return _tmpl$4$a();
22987
+ return _tmpl$4$b();
22988
22988
  }
22989
22989
  }), null);
22990
22990
  insert(_el$8, () => comment.text);
@@ -23034,7 +23034,7 @@ function useSurfaceRect(surfaceRef) {
23034
23034
  });
23035
23035
  return { rect, tick, refresh };
23036
23036
  }
23037
- var _tmpl$$w = /* @__PURE__ */ template(`<div class=oasis-editor-floating-toolbar data-testid=editor-floating-table-toolbar><div class=oasis-editor-toolbar-group></div><div class=oasis-editor-toolbar-group></div><div class=oasis-editor-toolbar-group></div><div class=oasis-editor-toolbar-group></div><div class=oasis-editor-toolbar-group>`);
23037
+ var _tmpl$$z = /* @__PURE__ */ template(`<div class=oasis-editor-floating-toolbar data-testid=editor-floating-table-toolbar><div class=oasis-editor-toolbar-group></div><div class=oasis-editor-toolbar-group></div><div class=oasis-editor-toolbar-group></div><div class=oasis-editor-toolbar-group></div><div class=oasis-editor-toolbar-group>`);
23038
23038
  function FloatingTableToolbar(props) {
23039
23039
  const t = useI18n();
23040
23040
  const host = () => props.host();
@@ -23092,7 +23092,7 @@ function FloatingTableToolbar(props) {
23092
23092
  return document.body;
23093
23093
  },
23094
23094
  get children() {
23095
- var _el$ = _tmpl$$w(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.nextSibling, _el$5 = _el$4.nextSibling, _el$6 = _el$5.nextSibling;
23095
+ var _el$ = _tmpl$$z(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.nextSibling, _el$5 = _el$4.nextSibling, _el$6 = _el$5.nextSibling;
23096
23096
  _el$.$$mousedown = (event) => event.preventDefault();
23097
23097
  insert(_el$2, createComponent(Button$1, {
23098
23098
  icon: "combine",
@@ -23252,7 +23252,7 @@ function FloatingTableToolbar(props) {
23252
23252
  });
23253
23253
  }
23254
23254
  delegateEvents(["mousedown"]);
23255
- var _tmpl$$v = /* @__PURE__ */ template(`<svg><rect height=2 rx=1 fill=#9aa0a6></svg>`, false, true, false), _tmpl$2$k = /* @__PURE__ */ template(`<svg><rect rx=1.5></svg>`, false, true, false), _tmpl$3$c = /* @__PURE__ */ template(`<svg><polygon points="29,4 37,12 29,20 21,12"fill=#1a73e8></svg>`, false, true, false), _tmpl$4$9 = /* @__PURE__ */ template(`<svg><polygon points="20,8 26,14 20,20 14,14"fill=#1a73e8></svg>`, false, true, false), _tmpl$5$6 = /* @__PURE__ */ template(`<svg viewBox="0 0 40 32"fill=none aria-hidden=true>`), _tmpl$6$4 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-layout-options-anchor data-testid=editor-layout-options-anchor><svg viewBox="0 0 24 24"fill=none aria-hidden=true><rect x=3 y=4 width=10 height=10 rx=1.5 fill=#1a73e8></rect><rect x=3 y=17 width=18 height=2 rx=1 fill=#9aa0a6></rect><rect x=15 y=5 width=6 height=2 rx=1 fill=#9aa0a6></rect><rect x=15 y=9 width=6 height=2 rx=1 fill=#9aa0a6>`), _tmpl$7$1 = /* @__PURE__ */ template(`<div class=oasis-editor-layout-options-popup data-testid=editor-layout-options-popup><div class=oasis-editor-layout-options-popup-header><span class=oasis-editor-layout-options-title></span><button type=button class=oasis-editor-layout-options-close>×</button></div><div class=oasis-editor-layout-options-group-label></div><div class=oasis-editor-layout-options-grid><button type=button class=oasis-editor-layout-options-cell data-testid=editor-layout-options-inline><svg viewBox="0 0 40 32"fill=none aria-hidden=true><rect x=4 y=7 width=9 height=2 rx=1 fill=#9aa0a6></rect><rect x=15 y=4 width=11 height=11 rx=1.5 fill=#1a73e8></rect><rect x=28 y=7 width=8 height=2 rx=1 fill=#9aa0a6></rect><rect x=4 y=20 width=32 height=2 rx=1 fill=#9aa0a6></rect><rect x=4 y=26 width=32 height=2 rx=1 fill=#9aa0a6></rect></svg></button></div><div class=oasis-editor-layout-options-group-label></div><div class=oasis-editor-layout-options-grid></div><div class=oasis-editor-layout-options-radios><label class=oasis-editor-layout-options-radio><input type=radio name=oasis-layout-position></label><label class=oasis-editor-layout-options-radio><input type=radio name=oasis-layout-position>`), _tmpl$8 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-layout-options-cell>`);
23255
+ var _tmpl$$y = /* @__PURE__ */ template(`<svg><rect height=2 rx=1 fill=#9aa0a6></svg>`, false, true, false), _tmpl$2$l = /* @__PURE__ */ template(`<svg><rect rx=1.5></svg>`, false, true, false), _tmpl$3$d = /* @__PURE__ */ template(`<svg><polygon points="29,4 37,12 29,20 21,12"fill=#1a73e8></svg>`, false, true, false), _tmpl$4$a = /* @__PURE__ */ template(`<svg><polygon points="20,8 26,14 20,20 14,14"fill=#1a73e8></svg>`, false, true, false), _tmpl$5$6 = /* @__PURE__ */ template(`<svg viewBox="0 0 40 32"fill=none aria-hidden=true>`), _tmpl$6$4 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-layout-options-anchor data-testid=editor-layout-options-anchor><svg viewBox="0 0 24 24"fill=none aria-hidden=true><rect x=3 y=4 width=10 height=10 rx=1.5 fill=#1a73e8></rect><rect x=3 y=17 width=18 height=2 rx=1 fill=#9aa0a6></rect><rect x=15 y=5 width=6 height=2 rx=1 fill=#9aa0a6></rect><rect x=15 y=9 width=6 height=2 rx=1 fill=#9aa0a6>`), _tmpl$7$1 = /* @__PURE__ */ template(`<div class=oasis-editor-layout-options-popup data-testid=editor-layout-options-popup><div class=oasis-editor-layout-options-popup-header><span class=oasis-editor-layout-options-title></span><button type=button class=oasis-editor-layout-options-close>×</button></div><div class=oasis-editor-layout-options-group-label></div><div class=oasis-editor-layout-options-grid><button type=button class=oasis-editor-layout-options-cell data-testid=editor-layout-options-inline><svg viewBox="0 0 40 32"fill=none aria-hidden=true><rect x=4 y=7 width=9 height=2 rx=1 fill=#9aa0a6></rect><rect x=15 y=4 width=11 height=11 rx=1.5 fill=#1a73e8></rect><rect x=28 y=7 width=8 height=2 rx=1 fill=#9aa0a6></rect><rect x=4 y=20 width=32 height=2 rx=1 fill=#9aa0a6></rect><rect x=4 y=26 width=32 height=2 rx=1 fill=#9aa0a6></rect></svg></button></div><div class=oasis-editor-layout-options-group-label></div><div class=oasis-editor-layout-options-grid></div><div class=oasis-editor-layout-options-radios><label class=oasis-editor-layout-options-radio><input type=radio name=oasis-layout-position></label><label class=oasis-editor-layout-options-radio><input type=radio name=oasis-layout-position>`), _tmpl$8 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-layout-options-cell>`);
23256
23256
  const WRAP_OPTIONS = [{
23257
23257
  preset: "square",
23258
23258
  labelKey: "layoutOptions.square"
@@ -23274,14 +23274,14 @@ const WRAP_OPTIONS = [{
23274
23274
  }];
23275
23275
  function WrapIcon(props) {
23276
23276
  const line = (x, y, w) => (() => {
23277
- var _el$ = _tmpl$$v();
23277
+ var _el$ = _tmpl$$y();
23278
23278
  setAttribute(_el$, "x", x);
23279
23279
  setAttribute(_el$, "y", y);
23280
23280
  setAttribute(_el$, "width", w);
23281
23281
  return _el$;
23282
23282
  })();
23283
23283
  const box = (x, y, w, h, fill = "#1a73e8") => (() => {
23284
- var _el$2 = _tmpl$2$k();
23284
+ var _el$2 = _tmpl$2$l();
23285
23285
  setAttribute(_el$2, "x", x);
23286
23286
  setAttribute(_el$2, "y", y);
23287
23287
  setAttribute(_el$2, "width", w);
@@ -23304,7 +23304,7 @@ function WrapIcon(props) {
23304
23304
  return props.preset === "tight";
23305
23305
  },
23306
23306
  get children() {
23307
- return [memo(() => line(4, 6, 12)), memo(() => line(4, 12, 10)), memo(() => line(4, 18, 12)), memo(() => line(4, 24, 32)), _tmpl$3$c()];
23307
+ return [memo(() => line(4, 6, 12)), memo(() => line(4, 12, 10)), memo(() => line(4, 18, 12)), memo(() => line(4, 24, 32)), _tmpl$3$d()];
23308
23308
  }
23309
23309
  }), null);
23310
23310
  insert(_el$3, createComponent(Show, {
@@ -23312,7 +23312,7 @@ function WrapIcon(props) {
23312
23312
  return props.preset === "through";
23313
23313
  },
23314
23314
  get children() {
23315
- return [memo(() => line(4, 6, 32)), memo(() => line(4, 12, 9)), memo(() => line(27, 12, 9)), memo(() => line(4, 18, 32)), _tmpl$4$9()];
23315
+ return [memo(() => line(4, 6, 32)), memo(() => line(4, 12, 9)), memo(() => line(27, 12, 9)), memo(() => line(4, 18, 32)), _tmpl$4$a()];
23316
23316
  }
23317
23317
  }), null);
23318
23318
  insert(_el$3, createComponent(Show, {
@@ -32831,7 +32831,7 @@ function stripUndefined(value) {
32831
32831
  function emptyOrUndefined(obj) {
32832
32832
  return Object.keys(obj).length > 0 ? obj : void 0;
32833
32833
  }
32834
- function mergeStyles(base, local) {
32834
+ function mergeStyles$1(base, local) {
32835
32835
  return emptyOrUndefined({ ...base ?? {}, ...local ?? {} });
32836
32836
  }
32837
32837
  function parseShdFill(element, colors) {
@@ -34293,8 +34293,8 @@ function parseImportedStyles(stylesXml, theme) {
34293
34293
  uiPriority,
34294
34294
  semiHidden,
34295
34295
  unhideWhenUsed,
34296
- paragraphStyle: type === "paragraph" && isDefaultParagraph ? mergeStyles(defaultParagraphStyle, paragraphStyle) : paragraphStyle,
34297
- textStyle: type === "paragraph" && isDefaultParagraph ? mergeStyles(defaultTextStyle, textStyle) : textStyle,
34296
+ paragraphStyle: type === "paragraph" && isDefaultParagraph ? mergeStyles$1(defaultParagraphStyle, paragraphStyle) : paragraphStyle,
34297
+ textStyle: type === "paragraph" && isDefaultParagraph ? mergeStyles$1(defaultTextStyle, textStyle) : textStyle,
34298
34298
  tableStyle
34299
34299
  };
34300
34300
  }
@@ -37683,10 +37683,10 @@ function resolveResizedDimensions(geometry, deltaX, deltaY, preserveAspectRatio,
37683
37683
  nextHeight = clamp(nextWidth / aspectRatio, MIN_RESIZE_SIZE_PX);
37684
37684
  return { width: nextWidth, height: nextHeight };
37685
37685
  }
37686
- var _tmpl$$u = /* @__PURE__ */ template(`<button aria-hidden=true class=oasis-editor-rotate-handle tabindex=-1 type=button>`), _tmpl$2$j = /* @__PURE__ */ template(`<div aria-hidden=true style=transform-origin:center>`), _tmpl$3$b = /* @__PURE__ */ template(`<button aria-hidden=true class=oasis-editor-resize-handle tabindex=-1 type=button>`);
37686
+ var _tmpl$$x = /* @__PURE__ */ template(`<button aria-hidden=true class=oasis-editor-rotate-handle tabindex=-1 type=button>`), _tmpl$2$k = /* @__PURE__ */ template(`<div aria-hidden=true style=transform-origin:center>`), _tmpl$3$c = /* @__PURE__ */ template(`<button aria-hidden=true class=oasis-editor-resize-handle tabindex=-1 type=button>`);
37687
37687
  function ResizeHandlesOverlay(props) {
37688
37688
  return (() => {
37689
- var _el$ = _tmpl$2$j();
37689
+ var _el$ = _tmpl$2$k();
37690
37690
  _el$.$$mousedown = (event) => {
37691
37691
  if (props.readOnly || !props.box() || !props.onBodyMouseDown) {
37692
37692
  return;
@@ -37702,7 +37702,7 @@ function ResizeHandlesOverlay(props) {
37702
37702
  return [createComponent(For, {
37703
37703
  each: RESIZE_HANDLE_DIRECTIONS,
37704
37704
  children: (direction) => (() => {
37705
- var _el$3 = _tmpl$3$b();
37705
+ var _el$3 = _tmpl$3$c();
37706
37706
  _el$3.$$mousedown = (event) => {
37707
37707
  if (!props.box()) {
37708
37708
  return;
@@ -37717,7 +37717,7 @@ function ResizeHandlesOverlay(props) {
37717
37717
  return props.onRotateStart;
37718
37718
  },
37719
37719
  get children() {
37720
- var _el$2 = _tmpl$$u();
37720
+ var _el$2 = _tmpl$$x();
37721
37721
  _el$2.$$mousedown = (event) => {
37722
37722
  var _a;
37723
37723
  if (!props.box()) {
@@ -37773,7 +37773,7 @@ function createEditorZoom(initial = ZOOM_DEFAULT) {
37773
37773
  const zoomFactor = createMemo(() => zoomPercent() / 100);
37774
37774
  return { zoomPercent, setZoomPercent, adjustZoom, zoomFactor };
37775
37775
  }
37776
- var _tmpl$$t = /* @__PURE__ */ template(`<div data-testid=editor-editor-shell><div class=oasis-editor-editor data-testid=editor-editor><div class=oasis-editor-editor-zoom-sizer><div class=oasis-editor-editor-scroll-content data-testid=editor-editor-scroll-content style="position:absolute;top:0px;transform-origin:top left"><textarea aria-label="Editor input"autocomplete=off autocapitalize=off class=oasis-editor-input data-testid=editor-input value style=pointer-events:none></textarea><input data-testid=editor-import-docx-input type=file style=display:none><input accept="image/png, image/jpeg, image/gif"data-testid=editor-insert-image-input type=file style=display:none></div></div></div><div class=oasis-editor-statusbar data-testid=editor-statusbar><div class="oasis-editor-statusbar-group oasis-editor-statusbar-start"><span class=oasis-editor-statusbar-item data-testid=editor-statusbar-word-count></span><span class=oasis-editor-statusbar-item data-testid=editor-statusbar-character-count></span><span class=oasis-editor-statusbar-item></span></div><div class="oasis-editor-statusbar-group oasis-editor-statusbar-end"><div class=oasis-editor-statusbar-zoom data-testid=editor-statusbar-zoom-control><button type=button class=oasis-editor-zoom-button>−</button><input class=oasis-editor-zoom-slider type=range><button type=button class=oasis-editor-zoom-button>+</button><span class="oasis-editor-statusbar-item oasis-editor-zoom-value"data-testid=editor-statusbar-zoom>%`), _tmpl$2$i = /* @__PURE__ */ template(`<div class=oasis-editor-import-overlay data-testid=editor-import-overlay role=status aria-live=polite><div class=oasis-editor-import-card><div class=oasis-editor-import-title></div><div class=oasis-editor-import-phase data-testid=editor-import-phase></div><div class=oasis-editor-import-progress-track><div class=oasis-editor-import-progress-bar data-testid=editor-import-progress-bar></div></div><div class=oasis-editor-import-progress-label>`), _tmpl$3$a = /* @__PURE__ */ template(`<span class=oasis-editor-import-done-icon>`), _tmpl$4$8 = /* @__PURE__ */ template(`<span class=oasis-editor-import-error-icon>`), _tmpl$5$5 = /* @__PURE__ */ template(`<span>`);
37776
+ var _tmpl$$w = /* @__PURE__ */ template(`<div data-testid=editor-editor-shell><div class=oasis-editor-editor data-testid=editor-editor><div class=oasis-editor-editor-zoom-sizer><div class=oasis-editor-editor-scroll-content data-testid=editor-editor-scroll-content style="position:absolute;top:0px;transform-origin:top left"><textarea aria-label="Editor input"autocomplete=off autocapitalize=off class=oasis-editor-input data-testid=editor-input value style=pointer-events:none></textarea><input data-testid=editor-import-docx-input type=file style=display:none><input accept="image/png, image/jpeg, image/gif"data-testid=editor-insert-image-input type=file style=display:none></div></div></div><div class=oasis-editor-statusbar data-testid=editor-statusbar><div class="oasis-editor-statusbar-group oasis-editor-statusbar-start"><span class=oasis-editor-statusbar-item data-testid=editor-statusbar-word-count></span><span class=oasis-editor-statusbar-item data-testid=editor-statusbar-character-count></span><span class=oasis-editor-statusbar-item></span></div><div class="oasis-editor-statusbar-group oasis-editor-statusbar-end"><div class=oasis-editor-statusbar-zoom data-testid=editor-statusbar-zoom-control><button type=button class=oasis-editor-zoom-button>−</button><input class=oasis-editor-zoom-slider type=range><button type=button class=oasis-editor-zoom-button>+</button><span class="oasis-editor-statusbar-item oasis-editor-zoom-value"data-testid=editor-statusbar-zoom>%`), _tmpl$2$j = /* @__PURE__ */ template(`<div class=oasis-editor-import-overlay data-testid=editor-import-overlay role=status aria-live=polite><div class=oasis-editor-import-card><div class=oasis-editor-import-title></div><div class=oasis-editor-import-phase data-testid=editor-import-phase></div><div class=oasis-editor-import-progress-track><div class=oasis-editor-import-progress-bar data-testid=editor-import-progress-bar></div></div><div class=oasis-editor-import-progress-label>`), _tmpl$3$b = /* @__PURE__ */ template(`<span class=oasis-editor-import-done-icon>`), _tmpl$4$9 = /* @__PURE__ */ template(`<span class=oasis-editor-import-error-icon>`), _tmpl$5$5 = /* @__PURE__ */ template(`<span>`);
37777
37777
  function OasisEditorEditor(props) {
37778
37778
  const t = useI18n();
37779
37779
  const layout = () => props.layout;
@@ -37901,7 +37901,7 @@ function OasisEditorEditor(props) {
37901
37901
  queueMicrotask(recomputeViewportPageIndex);
37902
37902
  });
37903
37903
  return (() => {
37904
- var _el$ = _tmpl$$t(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild, _el$6 = _el$5.nextSibling, _el$7 = _el$6.nextSibling, _el$8 = _el$2.nextSibling, _el$9 = _el$8.firstChild, _el$0 = _el$9.firstChild, _el$1 = _el$0.nextSibling, _el$10 = _el$1.nextSibling, _el$11 = _el$9.nextSibling, _el$12 = _el$11.firstChild, _el$13 = _el$12.firstChild, _el$14 = _el$13.nextSibling, _el$15 = _el$14.nextSibling, _el$16 = _el$15.nextSibling, _el$17 = _el$16.firstChild;
37904
+ var _el$ = _tmpl$$w(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild, _el$6 = _el$5.nextSibling, _el$7 = _el$6.nextSibling, _el$8 = _el$2.nextSibling, _el$9 = _el$8.firstChild, _el$0 = _el$9.firstChild, _el$1 = _el$0.nextSibling, _el$10 = _el$1.nextSibling, _el$11 = _el$9.nextSibling, _el$12 = _el$11.firstChild, _el$13 = _el$12.firstChild, _el$14 = _el$13.nextSibling, _el$15 = _el$14.nextSibling, _el$16 = _el$15.nextSibling, _el$17 = _el$16.firstChild;
37905
37905
  insert(_el$, createComponent(Show, {
37906
37906
  get when() {
37907
37907
  return memo(() => !!layout().showHorizontalRuler)() && overlays().toolbarHost;
@@ -38185,7 +38185,7 @@ function OasisEditorEditor(props) {
38185
38185
  const isDone = progress().phase === "done";
38186
38186
  const isError = progress().phase === "error";
38187
38187
  return (() => {
38188
- var _el$18 = _tmpl$2$i(), _el$19 = _el$18.firstChild, _el$20 = _el$19.firstChild, _el$21 = _el$20.nextSibling, _el$22 = _el$21.nextSibling, _el$23 = _el$22.firstChild, _el$24 = _el$22.nextSibling;
38188
+ var _el$18 = _tmpl$2$j(), _el$19 = _el$18.firstChild, _el$20 = _el$19.firstChild, _el$21 = _el$20.nextSibling, _el$22 = _el$21.nextSibling, _el$23 = _el$22.firstChild, _el$24 = _el$22.nextSibling;
38189
38189
  _el$18.classList.toggle("oasis-editor-import-overlay-done", !!isDone);
38190
38190
  _el$18.classList.toggle("oasis-editor-import-overlay-error", !!isError);
38191
38191
  setAttribute(_el$18, "aria-busy", !isDone && !isError);
@@ -38198,11 +38198,11 @@ function OasisEditorEditor(props) {
38198
38198
  _el$23.classList.toggle("oasis-editor-import-progress-bar-done", !!isDone);
38199
38199
  _el$23.classList.toggle("oasis-editor-import-progress-bar-error", !!isError);
38200
38200
  insert(_el$24, isDone ? (() => {
38201
- var _el$25 = _tmpl$3$a();
38201
+ var _el$25 = _tmpl$3$b();
38202
38202
  insert(_el$25, () => t("import.phase.done"));
38203
38203
  return _el$25;
38204
38204
  })() : isError ? (() => {
38205
- var _el$26 = _tmpl$4$8();
38205
+ var _el$26 = _tmpl$4$9();
38206
38206
  insert(_el$26, () => t("import.phase.error"));
38207
38207
  return _el$26;
38208
38208
  })() : [memo(() => Math.round(progress().progress)), "%"]);
@@ -38971,11 +38971,11 @@ function createCanvasLayoutSnapshotProvider() {
38971
38971
  }
38972
38972
  };
38973
38973
  }
38974
- var _tmpl$$s = /* @__PURE__ */ template(`<button>`);
38974
+ var _tmpl$$v = /* @__PURE__ */ template(`<button>`);
38975
38975
  function FloatingActionButton(props) {
38976
38976
  const [local, others] = splitProps(props, ["type", "icon", "label", "active", "class", "classList"]);
38977
38977
  return (() => {
38978
- var _el$ = _tmpl$$s();
38978
+ var _el$ = _tmpl$$v();
38979
38979
  spread(_el$, mergeProps({
38980
38980
  get type() {
38981
38981
  return local.type ?? "button";
@@ -39004,7 +39004,7 @@ function FloatingActionButton(props) {
39004
39004
  return _el$;
39005
39005
  })();
39006
39006
  }
39007
- var _tmpl$$r = /* @__PURE__ */ template(`<aside>`), _tmpl$2$h = /* @__PURE__ */ template(`<div>`);
39007
+ var _tmpl$$u = /* @__PURE__ */ template(`<aside>`), _tmpl$2$i = /* @__PURE__ */ template(`<div>`);
39008
39008
  function SidePanel(props) {
39009
39009
  const [local, others] = splitProps(props, ["mode", "width", "class", "classList", "children", "style"]);
39010
39010
  const width = () => {
@@ -39014,7 +39014,7 @@ function SidePanel(props) {
39014
39014
  return local.width ?? "360px";
39015
39015
  };
39016
39016
  return (() => {
39017
- var _el$ = _tmpl$$r();
39017
+ var _el$ = _tmpl$$u();
39018
39018
  spread(_el$, mergeProps({
39019
39019
  get ["class"]() {
39020
39020
  return `oasis-editor-plugin-side-panel ${local.class ?? ""}`;
@@ -39039,7 +39039,7 @@ function SidePanel(props) {
39039
39039
  function SidePanelHeader(props) {
39040
39040
  const [local, others] = splitProps(props, ["class", "children"]);
39041
39041
  return (() => {
39042
- var _el$2 = _tmpl$2$h();
39042
+ var _el$2 = _tmpl$2$i();
39043
39043
  spread(_el$2, mergeProps({
39044
39044
  get ["class"]() {
39045
39045
  return `oasis-editor-plugin-side-panel-header ${local.class ?? ""}`;
@@ -39052,7 +39052,7 @@ function SidePanelHeader(props) {
39052
39052
  function SidePanelBody(props) {
39053
39053
  const [local, others] = splitProps(props, ["class", "children"]);
39054
39054
  return (() => {
39055
- var _el$3 = _tmpl$2$h();
39055
+ var _el$3 = _tmpl$2$i();
39056
39056
  spread(_el$3, mergeProps({
39057
39057
  get ["class"]() {
39058
39058
  return `oasis-editor-plugin-side-panel-body ${local.class ?? ""}`;
@@ -39065,7 +39065,7 @@ function SidePanelBody(props) {
39065
39065
  function SidePanelFooter(props) {
39066
39066
  const [local, others] = splitProps(props, ["class", "children"]);
39067
39067
  return (() => {
39068
- var _el$4 = _tmpl$2$h();
39068
+ var _el$4 = _tmpl$2$i();
39069
39069
  spread(_el$4, mergeProps({
39070
39070
  get ["class"]() {
39071
39071
  return `oasis-editor-plugin-side-panel-footer ${local.class ?? ""}`;
@@ -39075,11 +39075,11 @@ function SidePanelFooter(props) {
39075
39075
  return _el$4;
39076
39076
  })();
39077
39077
  }
39078
- var _tmpl$$q = /* @__PURE__ */ template(`<button>`);
39078
+ var _tmpl$$t = /* @__PURE__ */ template(`<button>`);
39079
39079
  function IconButton(props) {
39080
39080
  const [local, others] = splitProps(props, ["type", "icon", "label", "active", "variant", "size", "class", "classList"]);
39081
39081
  return (() => {
39082
- var _el$ = _tmpl$$q();
39082
+ var _el$ = _tmpl$$t();
39083
39083
  spread(_el$, mergeProps({
39084
39084
  get type() {
39085
39085
  return local.type ?? "button";
@@ -39110,7 +39110,7 @@ function IconButton(props) {
39110
39110
  return _el$;
39111
39111
  })();
39112
39112
  }
39113
- var _tmpl$$p = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-floating-actions>`), _tmpl$2$g = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-ui-host><div class=oasis-editor-plugin-ui-main>`), _tmpl$3$9 = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-side-panel-overlay>`), _tmpl$4$7 = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-side-panel-title>`);
39113
+ var _tmpl$$s = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-floating-actions>`), _tmpl$2$h = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-ui-host><div class=oasis-editor-plugin-ui-main>`), _tmpl$3$a = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-side-panel-overlay>`), _tmpl$4$8 = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-side-panel-title>`);
39114
39114
  const EMPTY_SNAPSHOT = {
39115
39115
  floatingActions: [],
39116
39116
  sidePanels: [],
@@ -39142,7 +39142,7 @@ function PluginUiHost(props) {
39142
39142
  return groupActionsByPlacement(actions());
39143
39143
  },
39144
39144
  children: (group) => (() => {
39145
- var _el$ = _tmpl$$p();
39145
+ var _el$ = _tmpl$$s();
39146
39146
  insert(_el$, createComponent(For, {
39147
39147
  get each() {
39148
39148
  return group.actions;
@@ -39171,7 +39171,7 @@ function PluginUiHost(props) {
39171
39171
  })()
39172
39172
  });
39173
39173
  return (() => {
39174
- var _el$2 = _tmpl$2$g(), _el$3 = _el$2.firstChild;
39174
+ var _el$2 = _tmpl$2$h(), _el$3 = _el$2.firstChild;
39175
39175
  insert(_el$3, resolvedChildren);
39176
39176
  insert(_el$2, createComponent(Show, {
39177
39177
  get when() {
@@ -39184,7 +39184,7 @@ function PluginUiHost(props) {
39184
39184
  return overlayPanel();
39185
39185
  },
39186
39186
  children: (panel) => (() => {
39187
- var _el$4 = _tmpl$3$9();
39187
+ var _el$4 = _tmpl$3$a();
39188
39188
  insert(_el$4, () => renderPanel(props.editor, panel(), t));
39189
39189
  return _el$4;
39190
39190
  })()
@@ -39235,7 +39235,7 @@ function renderPanel(editor, panel, t) {
39235
39235
  return [createComponent(SidePanelHeader, {
39236
39236
  get children() {
39237
39237
  return [(() => {
39238
- var _el$5 = _tmpl$4$7();
39238
+ var _el$5 = _tmpl$4$8();
39239
39239
  insert(_el$5, createComponent(Show, {
39240
39240
  get when() {
39241
39241
  return panel.icon;
@@ -39294,7 +39294,7 @@ function groupActionsByPlacement(actions) {
39294
39294
  actions: groupActions
39295
39295
  }));
39296
39296
  }
39297
- var _tmpl$$o = /* @__PURE__ */ template(`<div class=oasis-editor-main-container><section class=oasis-editor-stage>`);
39297
+ var _tmpl$$r = /* @__PURE__ */ template(`<div class=oasis-editor-main-container><section class=oasis-editor-stage>`);
39298
39298
  function DocumentShell(props) {
39299
39299
  let surfaceEl;
39300
39300
  let viewportEl;
@@ -39421,7 +39421,7 @@ function DocumentShell(props) {
39421
39421
  return props.runtimeEditor;
39422
39422
  },
39423
39423
  get children() {
39424
- var _el$ = _tmpl$$o(), _el$2 = _el$.firstChild;
39424
+ var _el$ = _tmpl$$r(), _el$2 = _el$.firstChild;
39425
39425
  insert(_el$, createComponent(Show, {
39426
39426
  get when() {
39427
39427
  return memo(() => !!props.showChrome)() && props.showOutline;
@@ -39486,10 +39486,10 @@ function DocumentShell(props) {
39486
39486
  }
39487
39487
  })];
39488
39488
  }
39489
- var _tmpl$$n = /* @__PURE__ */ template(`<div class=oasis-editor-main-container><section class=oasis-editor-stage style=padding:0>`), _tmpl$2$f = /* @__PURE__ */ template(`<div class=oasis-inline-shell style="border:1px solid var(--oasis-toolbar-border);border-radius:var(--oasis-radius);overflow:hidden;display:flex;flex-direction:column">`);
39489
+ var _tmpl$$q = /* @__PURE__ */ template(`<div class=oasis-editor-main-container><section class=oasis-editor-stage style=padding:0>`), _tmpl$2$g = /* @__PURE__ */ template(`<div class=oasis-inline-shell style="border:1px solid var(--oasis-toolbar-border);border-radius:var(--oasis-radius);overflow:hidden;display:flex;flex-direction:column">`);
39490
39490
  function InlineShell(props) {
39491
39491
  return (() => {
39492
- var _el$ = _tmpl$2$f();
39492
+ var _el$ = _tmpl$2$g();
39493
39493
  insert(_el$, createComponent(Show, {
39494
39494
  get when() {
39495
39495
  return memo(() => !!props.showChrome)() && props.showToolbar;
@@ -39516,7 +39516,7 @@ function InlineShell(props) {
39516
39516
  return props.runtimeEditor;
39517
39517
  },
39518
39518
  get children() {
39519
- var _el$2 = _tmpl$$n(), _el$3 = _el$2.firstChild;
39519
+ var _el$2 = _tmpl$$q(), _el$3 = _el$2.firstChild;
39520
39520
  insert(_el$3, createComponent(OasisEditorEditor, {
39521
39521
  state: () => props.state,
39522
39522
  get layout() {
@@ -39556,16 +39556,16 @@ function InlineShell(props) {
39556
39556
  return _el$;
39557
39557
  })();
39558
39558
  }
39559
- var _tmpl$$m = /* @__PURE__ */ template(`<div class=oasis-editor-main-container><section class=oasis-editor-stage style=padding:0>`), _tmpl$2$e = /* @__PURE__ */ template(`<div class=oasis-balloon-shell>`);
39559
+ var _tmpl$$p = /* @__PURE__ */ template(`<div class=oasis-editor-main-container><section class=oasis-editor-stage style=padding:0>`), _tmpl$2$f = /* @__PURE__ */ template(`<div class=oasis-balloon-shell>`);
39560
39560
  function BalloonShell(props) {
39561
39561
  return (() => {
39562
- var _el$ = _tmpl$2$e();
39562
+ var _el$ = _tmpl$2$f();
39563
39563
  insert(_el$, createComponent(PluginUiHost, {
39564
39564
  get editor() {
39565
39565
  return props.runtimeEditor;
39566
39566
  },
39567
39567
  get children() {
39568
- var _el$2 = _tmpl$$m(), _el$3 = _el$2.firstChild;
39568
+ var _el$2 = _tmpl$$p(), _el$3 = _el$2.firstChild;
39569
39569
  insert(_el$3, createComponent(OasisEditorEditor, {
39570
39570
  state: () => props.state,
39571
39571
  get layout() {
@@ -39605,7 +39605,7 @@ function BalloonShell(props) {
39605
39605
  return _el$;
39606
39606
  })();
39607
39607
  }
39608
- var _tmpl$$l = /* @__PURE__ */ template(`<div class=oasis-editor-dialog-footer data-testid=editor-dialog-footer>`), _tmpl$2$d = /* @__PURE__ */ template(`<div class=oasis-editor-dialog-overlay><div role=dialog aria-modal=true data-testid=editor-dialog><div class=oasis-editor-dialog-header><h3 class=oasis-editor-dialog-title></h3><button class=oasis-editor-dialog-close data-testid=editor-dialog-close><i data-lucide=x></i></button></div><div data-testid=editor-dialog-body>`);
39608
+ var _tmpl$$o = /* @__PURE__ */ template(`<div class=oasis-editor-dialog-footer data-testid=editor-dialog-footer>`), _tmpl$2$e = /* @__PURE__ */ template(`<div class=oasis-editor-dialog-overlay><div role=dialog aria-modal=true data-testid=editor-dialog><div class=oasis-editor-dialog-header><h3 class=oasis-editor-dialog-title></h3><button class=oasis-editor-dialog-close data-testid=editor-dialog-close><i data-lucide=x></i></button></div><div data-testid=editor-dialog-body>`);
39609
39609
  function Dialog(props) {
39610
39610
  const t = useI18n();
39611
39611
  let dialogRef;
@@ -39630,7 +39630,7 @@ function Dialog(props) {
39630
39630
  return props.isOpen;
39631
39631
  },
39632
39632
  get children() {
39633
- var _el$ = _tmpl$2$d(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling, _el$6 = _el$3.nextSibling;
39633
+ var _el$ = _tmpl$2$e(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling, _el$6 = _el$3.nextSibling;
39634
39634
  _el$.$$click = () => {
39635
39635
  if (props.closeOnOverlayClick ?? true) {
39636
39636
  props.onClose();
@@ -39647,7 +39647,7 @@ function Dialog(props) {
39647
39647
  return props.footer;
39648
39648
  },
39649
39649
  get children() {
39650
- var _el$7 = _tmpl$$l();
39650
+ var _el$7 = _tmpl$$o();
39651
39651
  insert(_el$7, () => props.footer);
39652
39652
  return _el$7;
39653
39653
  }
@@ -39676,7 +39676,7 @@ function Dialog(props) {
39676
39676
  });
39677
39677
  }
39678
39678
  delegateEvents(["click"]);
39679
- var _tmpl$$k = /* @__PURE__ */ template(`<div><div class=oasis-editor-tabs-list role=tablist>`), _tmpl$2$c = /* @__PURE__ */ template(`<button type=button role=tab class=oasis-editor-tabs-tab>`), _tmpl$3$8 = /* @__PURE__ */ template(`<div role=tabpanel class=oasis-editor-tabs-panel>`);
39679
+ var _tmpl$$n = /* @__PURE__ */ template(`<div><div class=oasis-editor-tabs-list role=tablist>`), _tmpl$2$d = /* @__PURE__ */ template(`<button type=button role=tab class=oasis-editor-tabs-tab>`), _tmpl$3$9 = /* @__PURE__ */ template(`<div role=tabpanel class=oasis-editor-tabs-panel>`);
39680
39680
  function findEnabledItem(items, startIndex, direction) {
39681
39681
  if (!items.length) return void 0;
39682
39682
  for (let step = 0; step < items.length; step += 1) {
@@ -39727,7 +39727,7 @@ function Tabs(props) {
39727
39727
  selectItem(findEnabledItem(items(), currentIndex + direction, direction), true);
39728
39728
  };
39729
39729
  return (() => {
39730
- var _el$ = _tmpl$$k(), _el$2 = _el$.firstChild;
39730
+ var _el$ = _tmpl$$n(), _el$2 = _el$.firstChild;
39731
39731
  _el$2.$$keydown = handleKeyDown;
39732
39732
  insert(_el$2, createComponent(For, {
39733
39733
  get each() {
@@ -39737,7 +39737,7 @@ function Tabs(props) {
39737
39737
  const tabId = `${baseId}-${item.id}-tab`;
39738
39738
  const panelId = `${baseId}-${item.id}-panel`;
39739
39739
  return (() => {
39740
- var _el$3 = _tmpl$2$c();
39740
+ var _el$3 = _tmpl$2$d();
39741
39741
  _el$3.$$click = () => selectItem(item);
39742
39742
  use((element) => {
39743
39743
  tabRefs[index()] = element;
@@ -39772,7 +39772,7 @@ function Tabs(props) {
39772
39772
  return items();
39773
39773
  },
39774
39774
  children: (item) => (() => {
39775
- var _el$4 = _tmpl$3$8();
39775
+ var _el$4 = _tmpl$3$9();
39776
39776
  insert(_el$4, () => item.panel);
39777
39777
  createRenderEffect((_p$) => {
39778
39778
  var _a, _b;
@@ -39804,12 +39804,12 @@ function Tabs(props) {
39804
39804
  })();
39805
39805
  }
39806
39806
  delegateEvents(["keydown", "click"]);
39807
- var _tmpl$$j = /* @__PURE__ */ template(`<button><span class=oasis-editor-ui-button-label>`);
39807
+ var _tmpl$$m = /* @__PURE__ */ template(`<button><span class=oasis-editor-ui-button-label>`);
39808
39808
  function Button(props) {
39809
39809
  const [local, others] = splitProps(props, ["type", "variant", "size", "icon", "iconPosition", "fullWidth", "class", "classList", "children"]);
39810
39810
  const iconPosition = () => local.iconPosition ?? "start";
39811
39811
  return (() => {
39812
- var _el$ = _tmpl$$j(), _el$2 = _el$.firstChild;
39812
+ var _el$ = _tmpl$$m(), _el$2 = _el$.firstChild;
39813
39813
  spread(_el$, mergeProps({
39814
39814
  get type() {
39815
39815
  return local.type ?? "button";
@@ -39889,11 +39889,11 @@ function StatusText(props) {
39889
39889
  }
39890
39890
  }, others));
39891
39891
  }
39892
- var _tmpl$$i = /* @__PURE__ */ template(`<div>`);
39892
+ var _tmpl$$l = /* @__PURE__ */ template(`<div>`);
39893
39893
  function ActionRow(props) {
39894
39894
  const [local, others] = splitProps(props, ["align", "wrap", "class", "classList", "children"]);
39895
39895
  return (() => {
39896
- var _el$ = _tmpl$$i();
39896
+ var _el$ = _tmpl$$l();
39897
39897
  spread(_el$, mergeProps({
39898
39898
  get ["class"]() {
39899
39899
  return `oasis-editor-ui-action-row ${local.class ?? ""}`;
@@ -39910,14 +39910,163 @@ function ActionRow(props) {
39910
39910
  return _el$;
39911
39911
  })();
39912
39912
  }
39913
- var _tmpl$$h = /* @__PURE__ */ template(`<label>`), _tmpl$2$b = /* @__PURE__ */ template(`<div>`);
39913
+ const BREAKPOINTS = ["xs", "sm", "md", "lg", "xl"];
39914
+ function isResponsiveObject(value) {
39915
+ return typeof value === "object" && value !== null && !Array.isArray(value) && BREAKPOINTS.some((breakpoint) => breakpoint in value);
39916
+ }
39917
+ function toResponsiveRecord(value) {
39918
+ if (value === void 0) return {};
39919
+ if (isResponsiveObject(value)) return value;
39920
+ return { xs: value };
39921
+ }
39922
+ function spacingToCss(value) {
39923
+ return typeof value === "number" ? `${value * 8}px` : value;
39924
+ }
39925
+ function responsiveCssVars(prefix2, value, transform2) {
39926
+ const vars = {};
39927
+ const record = toResponsiveRecord(value);
39928
+ for (const breakpoint of BREAKPOINTS) {
39929
+ const breakpointValue = record[breakpoint];
39930
+ if (breakpointValue !== void 0) {
39931
+ vars[`--${prefix2}-${breakpoint}`] = transform2(breakpointValue);
39932
+ }
39933
+ }
39934
+ return vars;
39935
+ }
39936
+ function mergeStyles(...styles) {
39937
+ const serializeObjectStyle = (style2) => Object.entries(style2).map(([key, value]) => `${key}: ${String(value)}`).join("; ");
39938
+ const objectStyles = styles.filter(
39939
+ (style2) => typeof style2 === "object" && style2 !== null
39940
+ );
39941
+ const stringStyle = styles.find(
39942
+ (style2) => typeof style2 === "string"
39943
+ );
39944
+ if (stringStyle && objectStyles.length === 0) return stringStyle;
39945
+ if (stringStyle) {
39946
+ const mergedObjectStyle = Object.assign({}, ...objectStyles);
39947
+ const serialized = serializeObjectStyle(mergedObjectStyle);
39948
+ return serialized ? `${stringStyle}; ${serialized}` : stringStyle;
39949
+ }
39950
+ return Object.assign({}, ...objectStyles);
39951
+ }
39952
+ var _tmpl$$k = /* @__PURE__ */ template(`<span class=oasis-editor-ui-stack-divider-item aria-hidden=true>`);
39953
+ function childArray(value) {
39954
+ if (Array.isArray(value)) return value;
39955
+ if (value === null || value === void 0 || value === false) return [];
39956
+ return [value];
39957
+ }
39958
+ function Stack(props) {
39959
+ const [local, others] = splitProps(props, ["direction", "spacing", "divider", "useFlexGap", "alignItems", "justifyContent", "component", "class", "classList", "style", "children"]);
39960
+ const resolvedChildren = children$1(() => local.children);
39961
+ const items = () => childArray(resolvedChildren());
39962
+ const renderDivider = (index) => typeof local.divider === "function" ? local.divider(index) : local.divider;
39963
+ const style2 = () => mergeStyles(responsiveCssVars("oasis-stack-direction", local.direction ?? "column", String), responsiveCssVars("oasis-stack-spacing", local.spacing ?? 0, spacingToCss), responsiveCssVars("oasis-stack-align", local.alignItems, String), responsiveCssVars("oasis-stack-justify", local.justifyContent, String), local.style);
39964
+ return createComponent(Dynamic, mergeProps({
39965
+ get component() {
39966
+ return local.component ?? "div";
39967
+ },
39968
+ get ["class"]() {
39969
+ return `oasis-editor-ui-stack ${local.class ?? ""}`;
39970
+ },
39971
+ get classList() {
39972
+ return {
39973
+ "oasis-editor-ui-stack-flex-gap": local.useFlexGap !== false,
39974
+ "oasis-editor-ui-stack-divider": Boolean(local.divider),
39975
+ ...local.classList
39976
+ };
39977
+ },
39978
+ get style() {
39979
+ return style2();
39980
+ }
39981
+ }, others, {
39982
+ get children() {
39983
+ return createComponent(For, {
39984
+ get each() {
39985
+ return items();
39986
+ },
39987
+ children: (item, index) => [createComponent(Show, {
39988
+ get when() {
39989
+ return memo(() => index() > 0)() && local.divider;
39990
+ },
39991
+ get children() {
39992
+ var _el$ = _tmpl$$k();
39993
+ insert(_el$, () => renderDivider(index()));
39994
+ return _el$;
39995
+ }
39996
+ }), item]
39997
+ });
39998
+ }
39999
+ }));
40000
+ }
40001
+ function gridSizeVars(value) {
40002
+ const vars = {};
40003
+ const record = toResponsiveRecord(value);
40004
+ for (const breakpoint of BREAKPOINTS) {
40005
+ const size = record[breakpoint];
40006
+ if (size === void 0) continue;
40007
+ if (typeof size === "number") {
40008
+ const basis = `calc(${size} / var(--oasis-grid-columns-current) * 100%)`;
40009
+ vars[`--oasis-grid-size-basis-${breakpoint}`] = basis;
40010
+ vars[`--oasis-grid-size-grow-${breakpoint}`] = "0";
40011
+ vars[`--oasis-grid-size-max-${breakpoint}`] = basis;
40012
+ continue;
40013
+ }
40014
+ if (size === "grow") {
40015
+ vars[`--oasis-grid-size-basis-${breakpoint}`] = "0";
40016
+ vars[`--oasis-grid-size-grow-${breakpoint}`] = "1";
40017
+ vars[`--oasis-grid-size-max-${breakpoint}`] = "100%";
40018
+ continue;
40019
+ }
40020
+ vars[`--oasis-grid-size-basis-${breakpoint}`] = "auto";
40021
+ vars[`--oasis-grid-size-grow-${breakpoint}`] = "0";
40022
+ vars[`--oasis-grid-size-max-${breakpoint}`] = "none";
40023
+ }
40024
+ return vars;
40025
+ }
40026
+ function gridOffsetVars(value) {
40027
+ const vars = {};
40028
+ const record = toResponsiveRecord(value);
40029
+ for (const breakpoint of BREAKPOINTS) {
40030
+ const offset = record[breakpoint];
40031
+ if (offset === void 0) continue;
40032
+ vars[`--oasis-grid-offset-${breakpoint}`] = offset === "auto" ? "auto" : `calc(${offset} / var(--oasis-grid-columns-current) * 100%)`;
40033
+ }
40034
+ return vars;
40035
+ }
40036
+ function Grid(props) {
40037
+ const [local, others] = splitProps(props, ["container", "size", "columns", "spacing", "rowSpacing", "columnSpacing", "direction", "offset", "wrap", "alignItems", "justifyContent", "component", "class", "classList", "style", "children"]);
40038
+ const style2 = () => mergeStyles(gridSizeVars(local.size), gridOffsetVars(local.offset), responsiveCssVars("oasis-grid-columns", local.columns, String), responsiveCssVars("oasis-grid-row-spacing", local.rowSpacing ?? local.spacing, spacingToCss), responsiveCssVars("oasis-grid-column-spacing", local.columnSpacing ?? local.spacing, spacingToCss), responsiveCssVars("oasis-grid-direction", local.direction ?? "row", String), responsiveCssVars("oasis-grid-wrap", local.wrap ?? "wrap", String), responsiveCssVars("oasis-grid-align", local.alignItems, String), responsiveCssVars("oasis-grid-justify", local.justifyContent, String), local.style);
40039
+ return createComponent(Dynamic, mergeProps({
40040
+ get component() {
40041
+ return local.component ?? "div";
40042
+ },
40043
+ get ["class"]() {
40044
+ return `oasis-editor-ui-grid ${local.class ?? ""}`;
40045
+ },
40046
+ get classList() {
40047
+ return {
40048
+ "oasis-editor-ui-grid-container": local.container,
40049
+ "oasis-editor-ui-grid-item": true,
40050
+ ...local.classList
40051
+ };
40052
+ },
40053
+ get style() {
40054
+ return style2();
40055
+ }
40056
+ }, others, {
40057
+ get children() {
40058
+ return local.children;
40059
+ }
40060
+ }));
40061
+ }
40062
+ var _tmpl$$j = /* @__PURE__ */ template(`<label>`), _tmpl$2$c = /* @__PURE__ */ template(`<div>`);
39914
40063
  function FormField(props) {
39915
40064
  const fallbackId = createUniqueId();
39916
40065
  const [local, others] = splitProps(props, ["label", "for", "description", "error", "labelClass", "class", "classList", "children"]);
39917
40066
  const descriptionId = () => local.for ?? `${fallbackId}-description`;
39918
40067
  const errorId = () => local.for ?? `${fallbackId}-error`;
39919
40068
  return (() => {
39920
- var _el$ = _tmpl$2$b();
40069
+ var _el$ = _tmpl$2$c();
39921
40070
  spread(_el$, mergeProps({
39922
40071
  get ["class"]() {
39923
40072
  return `oasis-editor-ui-field ${local.class ?? ""}`;
@@ -39931,7 +40080,7 @@ function FormField(props) {
39931
40080
  return local.label;
39932
40081
  },
39933
40082
  get children() {
39934
- var _el$2 = _tmpl$$h();
40083
+ var _el$2 = _tmpl$$j();
39935
40084
  insert(_el$2, () => local.label);
39936
40085
  createRenderEffect((_p$) => {
39937
40086
  var _v$ = `oasis-editor-ui-field-label ${local.labelClass ?? ""}`, _v$2 = local.for;
@@ -39982,21 +40131,21 @@ function FormField(props) {
39982
40131
  return _el$;
39983
40132
  })();
39984
40133
  }
39985
- var _tmpl$$g = /* @__PURE__ */ template(`<span>`), _tmpl$2$a = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$3$7 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-error>`), _tmpl$4$6 = /* @__PURE__ */ template(`<label><input>`);
40134
+ var _tmpl$$i = /* @__PURE__ */ template(`<span>`), _tmpl$2$b = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$3$8 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-error>`), _tmpl$4$7 = /* @__PURE__ */ template(`<label><input>`);
39986
40135
  function TextField(props) {
39987
40136
  const fallbackId = createUniqueId();
39988
- const [local, others] = splitProps(props, ["label", "description", "error", "labelClass", "controlClass", "onChange", "class", "id"]);
40137
+ const [local, others] = splitProps(props, ["label", "description", "error", "labelClass", "controlClass", "onChange", "class", "classList", "id"]);
39989
40138
  const id = () => local.id ?? fallbackId;
39990
40139
  const descriptionId = () => `${id()}-description`;
39991
40140
  const errorId = () => `${id()}-error`;
39992
40141
  return (() => {
39993
- var _el$ = _tmpl$4$6(), _el$3 = _el$.firstChild;
40142
+ var _el$ = _tmpl$4$7(), _el$3 = _el$.firstChild;
39994
40143
  insert(_el$, createComponent(Show, {
39995
40144
  get when() {
39996
40145
  return local.label;
39997
40146
  },
39998
40147
  get children() {
39999
- var _el$2 = _tmpl$$g();
40148
+ var _el$2 = _tmpl$$i();
40000
40149
  insert(_el$2, () => local.label);
40001
40150
  createRenderEffect(() => className(_el$2, `oasis-editor-ui-field-label ${local.labelClass ?? ""}`));
40002
40151
  return _el$2;
@@ -40025,7 +40174,7 @@ function TextField(props) {
40025
40174
  return local.description;
40026
40175
  },
40027
40176
  get children() {
40028
- var _el$4 = _tmpl$2$a();
40177
+ var _el$4 = _tmpl$2$b();
40029
40178
  insert(_el$4, () => local.description);
40030
40179
  createRenderEffect(() => setAttribute(_el$4, "id", descriptionId()));
40031
40180
  return _el$4;
@@ -40036,26 +40185,28 @@ function TextField(props) {
40036
40185
  return local.error;
40037
40186
  },
40038
40187
  get children() {
40039
- var _el$5 = _tmpl$3$7();
40188
+ var _el$5 = _tmpl$3$8();
40040
40189
  insert(_el$5, () => local.error);
40041
40190
  createRenderEffect(() => setAttribute(_el$5, "id", errorId()));
40042
40191
  return _el$5;
40043
40192
  }
40044
40193
  }), null);
40045
40194
  createRenderEffect((_p$) => {
40046
- var _v$ = `oasis-editor-ui-field ${local.class ?? ""}`, _v$2 = id();
40195
+ var _v$ = `oasis-editor-ui-field ${local.class ?? ""}`, _v$2 = local.classList, _v$3 = id();
40047
40196
  _v$ !== _p$.e && className(_el$, _p$.e = _v$);
40048
- _v$2 !== _p$.t && setAttribute(_el$, "for", _p$.t = _v$2);
40197
+ _p$.t = classList(_el$, _v$2, _p$.t);
40198
+ _v$3 !== _p$.a && setAttribute(_el$, "for", _p$.a = _v$3);
40049
40199
  return _p$;
40050
40200
  }, {
40051
40201
  e: void 0,
40052
- t: void 0
40202
+ t: void 0,
40203
+ a: void 0
40053
40204
  });
40054
40205
  return _el$;
40055
40206
  })();
40056
40207
  }
40057
40208
  delegateEvents(["input"]);
40058
- var _tmpl$$f = /* @__PURE__ */ template(`<textarea>`);
40209
+ var _tmpl$$h = /* @__PURE__ */ template(`<textarea>`);
40059
40210
  function TextAreaField(props) {
40060
40211
  const fallbackId = createUniqueId();
40061
40212
  const [local, others] = splitProps(props, ["label", "description", "error", "labelClass", "controlClass", "onChange", "class", "id"]);
@@ -40081,7 +40232,7 @@ function TextAreaField(props) {
40081
40232
  return local.error;
40082
40233
  },
40083
40234
  get children() {
40084
- var _el$ = _tmpl$$f();
40235
+ var _el$ = _tmpl$$h();
40085
40236
  _el$.$$input = (event) => {
40086
40237
  var _a;
40087
40238
  return (_a = local.onChange) == null ? void 0 : _a.call(local, event.currentTarget.value);
@@ -40105,7 +40256,19 @@ function TextAreaField(props) {
40105
40256
  });
40106
40257
  }
40107
40258
  delegateEvents(["input"]);
40108
- var _tmpl$$e = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$2$9 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-error>`), _tmpl$3$6 = /* @__PURE__ */ template(`<label><input type=checkbox class=oasis-editor-ui-checkbox-input><span class=oasis-editor-ui-checkbox-copy><span class=oasis-editor-ui-field-label>`);
40259
+ function ColorField(props) {
40260
+ const [local, others] = splitProps(props, ["controlClass", "onChange"]);
40261
+ return createComponent(TextField, mergeProps({
40262
+ type: "color",
40263
+ get controlClass() {
40264
+ return `oasis-editor-ui-color-input ${local.controlClass ?? ""}`;
40265
+ },
40266
+ get onChange() {
40267
+ return local.onChange;
40268
+ }
40269
+ }, others));
40270
+ }
40271
+ var _tmpl$$g = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$2$a = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-error>`), _tmpl$3$7 = /* @__PURE__ */ template(`<label><input type=checkbox class=oasis-editor-ui-checkbox-input><span class=oasis-editor-ui-checkbox-copy><span class=oasis-editor-ui-field-label>`);
40109
40272
  function Checkbox(props) {
40110
40273
  const fallbackId = createUniqueId();
40111
40274
  const [local, others] = splitProps(props, ["label", "description", "error", "onChange", "class", "id"]);
@@ -40113,7 +40276,7 @@ function Checkbox(props) {
40113
40276
  const descriptionId = () => `${id()}-description`;
40114
40277
  const errorId = () => `${id()}-error`;
40115
40278
  return (() => {
40116
- var _el$ = _tmpl$3$6(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.firstChild;
40279
+ var _el$ = _tmpl$3$7(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.firstChild;
40117
40280
  _el$2.addEventListener("change", (event) => {
40118
40281
  var _a;
40119
40282
  return (_a = local.onChange) == null ? void 0 : _a.call(local, event.currentTarget.checked);
@@ -40135,7 +40298,7 @@ function Checkbox(props) {
40135
40298
  return local.description;
40136
40299
  },
40137
40300
  get children() {
40138
- var _el$5 = _tmpl$$e();
40301
+ var _el$5 = _tmpl$$g();
40139
40302
  insert(_el$5, () => local.description);
40140
40303
  createRenderEffect(() => setAttribute(_el$5, "id", descriptionId()));
40141
40304
  return _el$5;
@@ -40146,7 +40309,7 @@ function Checkbox(props) {
40146
40309
  return local.error;
40147
40310
  },
40148
40311
  get children() {
40149
- var _el$6 = _tmpl$2$9();
40312
+ var _el$6 = _tmpl$2$a();
40150
40313
  insert(_el$6, () => local.error);
40151
40314
  createRenderEffect(() => setAttribute(_el$6, "id", errorId()));
40152
40315
  return _el$6;
@@ -40164,21 +40327,21 @@ function Checkbox(props) {
40164
40327
  return _el$;
40165
40328
  })();
40166
40329
  }
40167
- var _tmpl$$d = /* @__PURE__ */ template(`<span>`), _tmpl$2$8 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$3$5 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-error>`), _tmpl$4$5 = /* @__PURE__ */ template(`<label><select>`), _tmpl$5$4 = /* @__PURE__ */ template(`<option>`);
40330
+ var _tmpl$$f = /* @__PURE__ */ template(`<span>`), _tmpl$2$9 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$3$6 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-error>`), _tmpl$4$6 = /* @__PURE__ */ template(`<label><select>`), _tmpl$5$4 = /* @__PURE__ */ template(`<option>`);
40168
40331
  function SelectField(props) {
40169
40332
  const fallbackId = createUniqueId();
40170
- const [local, others] = splitProps(props, ["label", "description", "error", "labelClass", "controlClass", "options", "onChange", "class", "id"]);
40333
+ const [local, others] = splitProps(props, ["label", "description", "error", "labelClass", "controlClass", "options", "onChange", "class", "classList", "id"]);
40171
40334
  const id = () => local.id ?? fallbackId;
40172
40335
  const descriptionId = () => `${id()}-description`;
40173
40336
  const errorId = () => `${id()}-error`;
40174
40337
  return (() => {
40175
- var _el$ = _tmpl$4$5(), _el$3 = _el$.firstChild;
40338
+ var _el$ = _tmpl$4$6(), _el$3 = _el$.firstChild;
40176
40339
  insert(_el$, createComponent(Show, {
40177
40340
  get when() {
40178
40341
  return local.label;
40179
40342
  },
40180
40343
  get children() {
40181
- var _el$2 = _tmpl$$d();
40344
+ var _el$2 = _tmpl$$f();
40182
40345
  insert(_el$2, () => local.label);
40183
40346
  createRenderEffect(() => className(_el$2, `oasis-editor-ui-field-label ${local.labelClass ?? ""}`));
40184
40347
  return _el$2;
@@ -40219,7 +40382,7 @@ function SelectField(props) {
40219
40382
  return local.description;
40220
40383
  },
40221
40384
  get children() {
40222
- var _el$4 = _tmpl$2$8();
40385
+ var _el$4 = _tmpl$2$9();
40223
40386
  insert(_el$4, () => local.description);
40224
40387
  createRenderEffect(() => setAttribute(_el$4, "id", descriptionId()));
40225
40388
  return _el$4;
@@ -40230,20 +40393,22 @@ function SelectField(props) {
40230
40393
  return local.error;
40231
40394
  },
40232
40395
  get children() {
40233
- var _el$5 = _tmpl$3$5();
40396
+ var _el$5 = _tmpl$3$6();
40234
40397
  insert(_el$5, () => local.error);
40235
40398
  createRenderEffect(() => setAttribute(_el$5, "id", errorId()));
40236
40399
  return _el$5;
40237
40400
  }
40238
40401
  }), null);
40239
40402
  createRenderEffect((_p$) => {
40240
- var _v$ = `oasis-editor-ui-field ${local.class ?? ""}`, _v$2 = id();
40403
+ var _v$ = `oasis-editor-ui-field ${local.class ?? ""}`, _v$2 = local.classList, _v$3 = id();
40241
40404
  _v$ !== _p$.e && className(_el$, _p$.e = _v$);
40242
- _v$2 !== _p$.t && setAttribute(_el$, "for", _p$.t = _v$2);
40405
+ _p$.t = classList(_el$, _v$2, _p$.t);
40406
+ _v$3 !== _p$.a && setAttribute(_el$, "for", _p$.a = _v$3);
40243
40407
  return _p$;
40244
40408
  }, {
40245
40409
  e: void 0,
40246
- t: void 0
40410
+ t: void 0,
40411
+ a: void 0
40247
40412
  });
40248
40413
  return _el$;
40249
40414
  })();
@@ -40263,7 +40428,135 @@ function NumberField(props) {
40263
40428
  }
40264
40429
  }, others));
40265
40430
  }
40266
- var _tmpl$$c = /* @__PURE__ */ template(`<div>`);
40431
+ var _tmpl$$e = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$2$8 = /* @__PURE__ */ template(`<label><input type=radio class=oasis-editor-ui-radio-input><span class=oasis-editor-ui-checkbox-copy><span class=oasis-editor-ui-field-label>`), _tmpl$3$5 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-label>`), _tmpl$4$5 = /* @__PURE__ */ template(`<div role=radiogroup>`);
40432
+ const RadioGroupCtx = createContext();
40433
+ function Radio(props) {
40434
+ const fallbackId = createUniqueId();
40435
+ const group = useContext(RadioGroupCtx);
40436
+ const [local, others] = splitProps(props, ["label", "description", "value", "onChange", "class", "id", "checked", "name", "disabled"]);
40437
+ const id = () => local.id ?? fallbackId;
40438
+ const descriptionId = () => `${id()}-description`;
40439
+ const checked = () => group ? group.value() === local.value : Boolean(local.checked);
40440
+ const disabled = () => Boolean(local.disabled) || (group ? group.disabled() : false);
40441
+ return (() => {
40442
+ var _el$ = _tmpl$2$8(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.firstChild;
40443
+ _el$2.addEventListener("change", (event) => {
40444
+ var _a;
40445
+ if (group) group.onSelect(local.value);
40446
+ (_a = local.onChange) == null ? void 0 : _a.call(local, event.currentTarget.checked);
40447
+ });
40448
+ spread(_el$2, mergeProps({
40449
+ get id() {
40450
+ return id();
40451
+ },
40452
+ get name() {
40453
+ return local.name ?? (group == null ? void 0 : group.name);
40454
+ },
40455
+ get value() {
40456
+ return local.value;
40457
+ },
40458
+ get checked() {
40459
+ return checked();
40460
+ },
40461
+ get disabled() {
40462
+ return disabled();
40463
+ },
40464
+ get ["aria-describedby"]() {
40465
+ return memo(() => !!local.description)() ? descriptionId() : void 0;
40466
+ }
40467
+ }, others), false, false);
40468
+ insert(_el$4, () => local.label);
40469
+ insert(_el$3, createComponent(Show, {
40470
+ get when() {
40471
+ return local.description;
40472
+ },
40473
+ get children() {
40474
+ var _el$5 = _tmpl$$e();
40475
+ insert(_el$5, () => local.description);
40476
+ createRenderEffect(() => setAttribute(_el$5, "id", descriptionId()));
40477
+ return _el$5;
40478
+ }
40479
+ }), null);
40480
+ createRenderEffect((_p$) => {
40481
+ var _v$ = `oasis-editor-ui-radio ${local.class ?? ""}`, _v$2 = id();
40482
+ _v$ !== _p$.e && className(_el$, _p$.e = _v$);
40483
+ _v$2 !== _p$.t && setAttribute(_el$, "for", _p$.t = _v$2);
40484
+ return _p$;
40485
+ }, {
40486
+ e: void 0,
40487
+ t: void 0
40488
+ });
40489
+ return _el$;
40490
+ })();
40491
+ }
40492
+ function RadioGroup(props) {
40493
+ const fallbackName = createUniqueId();
40494
+ const ctx = {
40495
+ name: props.name ?? fallbackName,
40496
+ value: () => props.value,
40497
+ onSelect: (value) => {
40498
+ var _a;
40499
+ return (_a = props.onChange) == null ? void 0 : _a.call(props, value);
40500
+ },
40501
+ disabled: () => Boolean(props.disabled)
40502
+ };
40503
+ return createComponent(RadioGroupCtx.Provider, {
40504
+ value: ctx,
40505
+ get children() {
40506
+ var _el$6 = _tmpl$4$5();
40507
+ insert(_el$6, createComponent(Show, {
40508
+ get when() {
40509
+ return props.label;
40510
+ },
40511
+ get children() {
40512
+ var _el$7 = _tmpl$3$5();
40513
+ insert(_el$7, () => props.label);
40514
+ return _el$7;
40515
+ }
40516
+ }), null);
40517
+ insert(_el$6, createComponent(Show, {
40518
+ get when() {
40519
+ return props.options;
40520
+ },
40521
+ get fallback() {
40522
+ return props.children;
40523
+ },
40524
+ get children() {
40525
+ return createComponent(For, {
40526
+ get each() {
40527
+ return props.options;
40528
+ },
40529
+ children: (option) => createComponent(Radio, {
40530
+ get value() {
40531
+ return option.value;
40532
+ },
40533
+ get label() {
40534
+ return option.label;
40535
+ },
40536
+ get description() {
40537
+ return option.description;
40538
+ },
40539
+ get disabled() {
40540
+ return option.disabled;
40541
+ }
40542
+ })
40543
+ });
40544
+ }
40545
+ }), null);
40546
+ createRenderEffect((_p$) => {
40547
+ var _v$3 = `oasis-editor-ui-radio-group ${props.class ?? ""}`, _v$4 = props.label;
40548
+ _v$3 !== _p$.e && className(_el$6, _p$.e = _v$3);
40549
+ _v$4 !== _p$.t && setAttribute(_el$6, "aria-label", _p$.t = _v$4);
40550
+ return _p$;
40551
+ }, {
40552
+ e: void 0,
40553
+ t: void 0
40554
+ });
40555
+ return _el$6;
40556
+ }
40557
+ });
40558
+ }
40559
+ var _tmpl$$d = /* @__PURE__ */ template(`<div>`);
40267
40560
  const ALIGN_MAP = {
40268
40561
  start: "flex-start",
40269
40562
  center: "center",
@@ -40273,7 +40566,7 @@ const ALIGN_MAP = {
40273
40566
  function FieldRow(props) {
40274
40567
  const [local, others] = splitProps(props, ["align", "class", "style", "children"]);
40275
40568
  return (() => {
40276
- var _el$ = _tmpl$$c();
40569
+ var _el$ = _tmpl$$d();
40277
40570
  spread(_el$, mergeProps({
40278
40571
  get ["class"]() {
40279
40572
  return `oasis-editor-ui-field-row ${local.class ?? ""}`;
@@ -40289,7 +40582,7 @@ function FieldRow(props) {
40289
40582
  return _el$;
40290
40583
  })();
40291
40584
  }
40292
- var _tmpl$$b = /* @__PURE__ */ template(`<legend>`), _tmpl$2$7 = /* @__PURE__ */ template(`<fieldset>`);
40585
+ var _tmpl$$c = /* @__PURE__ */ template(`<legend>`), _tmpl$2$7 = /* @__PURE__ */ template(`<fieldset>`);
40293
40586
  function FieldGroup(props) {
40294
40587
  const [local, others] = splitProps(props, ["legend", "legendClass", "class", "children"]);
40295
40588
  return (() => {
@@ -40304,7 +40597,7 @@ function FieldGroup(props) {
40304
40597
  return local.legend;
40305
40598
  },
40306
40599
  get children() {
40307
- var _el$2 = _tmpl$$b();
40600
+ var _el$2 = _tmpl$$c();
40308
40601
  insert(_el$2, () => local.legend);
40309
40602
  createRenderEffect(() => className(_el$2, `oasis-editor-ui-field-group-legend ${local.legendClass ?? ""}`));
40310
40603
  return _el$2;
@@ -40314,6 +40607,35 @@ function FieldGroup(props) {
40314
40607
  return _el$;
40315
40608
  })();
40316
40609
  }
40610
+ var _tmpl$$b = /* @__PURE__ */ template(`<label><input type=checkbox class=oasis-editor-ui-toggle-chip-input><span class=oasis-editor-ui-toggle-chip-label>`);
40611
+ function ToggleChip(props) {
40612
+ const [local, others] = splitProps(props, ["label", "labelStyle", "onChange", "class", "checked"]);
40613
+ return (() => {
40614
+ var _el$ = _tmpl$$b(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
40615
+ _el$2.addEventListener("change", (event) => {
40616
+ var _a;
40617
+ return (_a = local.onChange) == null ? void 0 : _a.call(local, event.currentTarget.checked);
40618
+ });
40619
+ spread(_el$2, mergeProps({
40620
+ get checked() {
40621
+ return local.checked;
40622
+ }
40623
+ }, others), false, false);
40624
+ insert(_el$3, () => local.label);
40625
+ createRenderEffect((_p$) => {
40626
+ var _v$ = `oasis-editor-ui-toggle-chip ${local.class ?? ""}`, _v$2 = !!Boolean(local.checked), _v$3 = local.labelStyle;
40627
+ _v$ !== _p$.e && className(_el$, _p$.e = _v$);
40628
+ _v$2 !== _p$.t && _el$.classList.toggle("is-active", _p$.t = _v$2);
40629
+ _p$.a = style(_el$3, _v$3, _p$.a);
40630
+ return _p$;
40631
+ }, {
40632
+ e: void 0,
40633
+ t: void 0,
40634
+ a: void 0
40635
+ });
40636
+ return _el$;
40637
+ })();
40638
+ }
40317
40639
  var _tmpl$$a = /* @__PURE__ */ template(`<div>`);
40318
40640
  function DialogFooter(props) {
40319
40641
  const [local, others] = splitProps(props, ["align", "class", "classList", "children"]);
@@ -40807,7 +41129,7 @@ function ListOptionsControl(props) {
40807
41129
  }
40808
41130
  });
40809
41131
  }
40810
- var _tmpl$$7 = /* @__PURE__ */ template(`<div class=oasis-editor-dialog-input-group><label class=oasis-editor-dialog-label></label><div class=oasis-editor-dialog-preview data-testid=editor-line-spacing-dialog-preview><br>`);
41132
+ var _tmpl$$7 = /* @__PURE__ */ template(`<div class=oasis-editor-dialog-preview data-testid=editor-line-spacing-dialog-preview><br>`);
40811
41133
  function LineSpacingDialog(props) {
40812
41134
  const t = useI18n();
40813
41135
  const parseNumber = (value) => {
@@ -40869,55 +41191,87 @@ function LineSpacingDialog(props) {
40869
41191
  })];
40870
41192
  },
40871
41193
  get children() {
40872
- return [createComponent(FieldRow, {
41194
+ return [createComponent(Grid, {
41195
+ container: true,
41196
+ spacing: 1.5,
40873
41197
  get children() {
40874
- return createComponent(NumberField, {
40875
- get label() {
40876
- return t("lineSpacing.lineSpacingLabel");
40877
- },
40878
- min: "0.5",
40879
- step: "0.05",
40880
- get value() {
40881
- return lineHeight() ?? "";
41198
+ return createComponent(Grid, {
41199
+ size: {
41200
+ xs: 12,
41201
+ md: 6
40882
41202
  },
40883
- onChange: setLineHeight,
40884
- "data-testid": "editor-line-spacing-dialog-line-height"
41203
+ get children() {
41204
+ return createComponent(NumberField, {
41205
+ get label() {
41206
+ return t("lineSpacing.lineSpacingLabel");
41207
+ },
41208
+ min: "0.5",
41209
+ step: "0.05",
41210
+ get value() {
41211
+ return lineHeight() ?? "";
41212
+ },
41213
+ onChange: setLineHeight,
41214
+ "data-testid": "editor-line-spacing-dialog-line-height"
41215
+ });
41216
+ }
40885
41217
  });
40886
41218
  }
40887
- }), createComponent(FieldRow, {
41219
+ }), createComponent(Grid, {
41220
+ container: true,
41221
+ spacing: 1.5,
40888
41222
  get children() {
40889
- return [createComponent(NumberField, {
40890
- get label() {
40891
- return t("lineSpacing.spacingBeforeLabel");
40892
- },
40893
- min: "0",
40894
- step: "1",
40895
- get value() {
40896
- return spacingBefore() ?? "";
41223
+ return [createComponent(Grid, {
41224
+ size: {
41225
+ xs: 12,
41226
+ md: 6
40897
41227
  },
40898
- onChange: setSpacingBefore,
40899
- "data-testid": "editor-line-spacing-dialog-spacing-before"
40900
- }), createComponent(NumberField, {
40901
- get label() {
40902
- return t("lineSpacing.spacingAfterLabel");
40903
- },
40904
- min: "0",
40905
- step: "1",
40906
- get value() {
40907
- return spacingAfter() ?? "";
41228
+ get children() {
41229
+ return createComponent(NumberField, {
41230
+ get label() {
41231
+ return t("lineSpacing.spacingBeforeLabel");
41232
+ },
41233
+ min: "0",
41234
+ step: "1",
41235
+ get value() {
41236
+ return spacingBefore() ?? "";
41237
+ },
41238
+ onChange: setSpacingBefore,
41239
+ "data-testid": "editor-line-spacing-dialog-spacing-before"
41240
+ });
41241
+ }
41242
+ }), createComponent(Grid, {
41243
+ size: {
41244
+ xs: 12,
41245
+ md: 6
40908
41246
  },
40909
- onChange: setSpacingAfter,
40910
- "data-testid": "editor-line-spacing-dialog-spacing-after"
41247
+ get children() {
41248
+ return createComponent(NumberField, {
41249
+ get label() {
41250
+ return t("lineSpacing.spacingAfterLabel");
41251
+ },
41252
+ min: "0",
41253
+ step: "1",
41254
+ get value() {
41255
+ return spacingAfter() ?? "";
41256
+ },
41257
+ onChange: setSpacingAfter,
41258
+ "data-testid": "editor-line-spacing-dialog-spacing-after"
41259
+ });
41260
+ }
40911
41261
  })];
40912
41262
  }
40913
- }), (() => {
40914
- var _el$ = _tmpl$$7(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.firstChild;
40915
- insert(_el$2, () => t("lineSpacing.preview"));
40916
- insert(_el$3, () => t("lineSpacing.previewText"), _el$4);
40917
- insert(_el$3, () => t("lineSpacing.previewText"), null);
40918
- createRenderEffect((_$p) => style(_el$3, previewStyle2(), _$p));
40919
- return _el$;
40920
- })()];
41263
+ }), createComponent(FormField, {
41264
+ get label() {
41265
+ return t("lineSpacing.preview");
41266
+ },
41267
+ get children() {
41268
+ var _el$ = _tmpl$$7(), _el$2 = _el$.firstChild;
41269
+ insert(_el$, () => t("lineSpacing.previewText"), _el$2);
41270
+ insert(_el$, () => t("lineSpacing.previewText"), null);
41271
+ createRenderEffect((_$p) => style(_el$, previewStyle2(), _$p));
41272
+ return _el$;
41273
+ }
41274
+ })];
40921
41275
  }
40922
41276
  });
40923
41277
  }
@@ -43023,229 +43377,229 @@ const OASIS_MENU_ITEMS = {
43023
43377
  formatListsNumbered: "format_lists_numbered"
43024
43378
  };
43025
43379
  export {
43026
- findParagraphIndex as $,
43027
- For as A,
43028
- createContext as B,
43029
- template as C,
43030
- createUniqueId as D,
43380
+ isParagraphTag as $,
43381
+ getParagraphLength as A,
43382
+ getActiveZone as B,
43383
+ getActiveSectionIndex as C,
43384
+ getParagraphs as D,
43031
43385
  EMPTY_PROJECTION_CONTEXT as E,
43032
43386
  FOOTNOTE_MARKER_GUTTER_PX as F,
43033
- style as G,
43034
- visitRun as H,
43035
- assertNever as I,
43036
- createSignal as J,
43037
- createEditorStateFromDocument as K,
43038
- createInitialEditorState as L,
43039
- STANDARD_FONT_SIZES_PT as M,
43040
- fontSizePxToPt as N,
43041
- probeLocalFontFamilies as O,
43042
- createEditorParagraphFromRuns as P,
43043
- isInlineObjectRun as Q,
43044
- createEditorStyledRun as R,
43045
- Show as S,
43046
- getParagraphLength as T,
43047
- getActiveZone as U,
43048
- getActiveSectionIndex as V,
43049
- getParagraphs as W,
43050
- normalizeSelection as X,
43051
- positionToParagraphOffset as Y,
43052
- paragraphOffsetToPosition as Z,
43053
- clampPosition as _,
43387
+ normalizeSelection as G,
43388
+ positionToParagraphOffset as H,
43389
+ paragraphOffsetToPosition as I,
43390
+ clampPosition as J,
43391
+ findParagraphIndex as K,
43392
+ createCollapsedSelection as L,
43393
+ isSelectionCollapsed as M,
43394
+ parseFontSizePtToPx as N,
43395
+ formatFontSizePt as O,
43396
+ createEditorParagraph as P,
43397
+ findParagraphTableLocation as Q,
43398
+ buildTableCellLayout as R,
43399
+ STANDARD_FONT_SIZES_PT as S,
43400
+ PT_PER_PX as T,
43401
+ createEditorTableCell as U,
43402
+ createEditorTableRow as V,
43403
+ createEditorTable as W,
43404
+ PX_PER_POINT as X,
43405
+ underlineStyleToCssDecorationStyle as Y,
43406
+ resolveImageSrc as Z,
43407
+ listKindForTag as _,
43054
43408
  getPageBodyBottom as a,
43055
- resolveEffectiveTextStyleForParagraph as a$,
43056
- createCollapsedSelection as a0,
43057
- isSelectionCollapsed as a1,
43058
- parseFontSizePtToPx as a2,
43059
- formatFontSizePt as a3,
43060
- createEditorParagraph as a4,
43061
- findParagraphTableLocation as a5,
43062
- buildTableCellLayout as a6,
43063
- PT_PER_PX as a7,
43064
- createEditorTableCell as a8,
43065
- createEditorTableRow as a9,
43066
- Checkbox as aA,
43067
- StatusText as aB,
43068
- FieldGroup as aC,
43069
- Tabs as aD,
43070
- FieldRow as aE,
43071
- NumberField as aF,
43072
- createStore as aG,
43073
- reconcile as aH,
43074
- TextAreaField as aI,
43075
- SurfaceButton as aJ,
43076
- ActionRow as aK,
43077
- onMount as aL,
43078
- onCleanup as aM,
43079
- use as aN,
43080
- PluginUiHost as aO,
43081
- OasisEditorEditor as aP,
43082
- OasisBrandMark as aQ,
43083
- setPreciseFontPreference as aR,
43084
- setWelcomeSeen as aS,
43085
- enablePreciseFontMode as aT,
43086
- TWIPS_PER_POINT as aU,
43087
- PX_PER_INCH as aV,
43088
- TWIPS_PER_INCH as aW,
43089
- normalizeHex6 as aX,
43090
- TABLE_CONDITIONAL_FLAG_ATTRIBUTES as aY,
43091
- TABLE_BORDER_EDGE_KEYS as aZ,
43092
- resolveEffectiveParagraphStyle as a_,
43093
- createEditorTable as aa,
43094
- PX_PER_POINT as ab,
43095
- underlineStyleToCssDecorationStyle as ac,
43096
- resolveImageSrc as ad,
43097
- listKindForTag as ae,
43098
- isParagraphTag as af,
43099
- collectInlineRuns as ag,
43100
- parseParagraphStyle as ah,
43101
- getRunImage as ai,
43102
- InlineShell as aj,
43103
- BalloonShell as ak,
43104
- DocumentShell as al,
43105
- createMemo as am,
43106
- getCaretRectFromSnapshot as an,
43107
- getParagraphRectFromSnapshot as ao,
43108
- CaretOverlay as ap,
43109
- setStyleProperty as aq,
43110
- Button as ar,
43111
- useI18n as as,
43112
- createEffect as at,
43113
- TextField as au,
43114
- Dialog as av,
43115
- SelectField as aw,
43116
- UNDERLINE_STYLE_OPTIONS as ax,
43117
- delegateEvents as ay,
43118
- Text$1 as az,
43409
+ EMU_PER_PT as a$,
43410
+ collectInlineRuns as a0,
43411
+ parseParagraphStyle as a1,
43412
+ getRunImage as a2,
43413
+ InlineShell as a3,
43414
+ BalloonShell as a4,
43415
+ DocumentShell as a5,
43416
+ createMemo as a6,
43417
+ getCaretRectFromSnapshot as a7,
43418
+ getParagraphRectFromSnapshot as a8,
43419
+ createComponent as a9,
43420
+ Tabs as aA,
43421
+ NumberField as aB,
43422
+ createStore as aC,
43423
+ reconcile as aD,
43424
+ RadioGroup as aE,
43425
+ Radio as aF,
43426
+ TextAreaField as aG,
43427
+ Text$1 as aH,
43428
+ SurfaceButton as aI,
43429
+ delegateEvents as aJ,
43430
+ onMount as aK,
43431
+ onCleanup as aL,
43432
+ use as aM,
43433
+ PluginUiHost as aN,
43434
+ OasisEditorEditor as aO,
43435
+ OasisBrandMark as aP,
43436
+ setPreciseFontPreference as aQ,
43437
+ setWelcomeSeen as aR,
43438
+ enablePreciseFontMode as aS,
43439
+ TWIPS_PER_POINT as aT,
43440
+ PX_PER_INCH as aU,
43441
+ TWIPS_PER_INCH as aV,
43442
+ normalizeHex6 as aW,
43443
+ TABLE_CONDITIONAL_FLAG_ATTRIBUTES as aX,
43444
+ TABLE_BORDER_EDGE_KEYS as aY,
43445
+ resolveEffectiveParagraphStyle as aZ,
43446
+ resolveEffectiveTextStyleForParagraph as a_,
43447
+ CaretOverlay as aa,
43448
+ Show as ab,
43449
+ createRenderEffect as ac,
43450
+ style as ad,
43451
+ setAttribute as ae,
43452
+ setStyleProperty as af,
43453
+ memo as ag,
43454
+ template as ah,
43455
+ Button as ai,
43456
+ useI18n as aj,
43457
+ createEffect as ak,
43458
+ TextField as al,
43459
+ Dialog as am,
43460
+ insert as an,
43461
+ className as ao,
43462
+ Grid as ap,
43463
+ SelectField as aq,
43464
+ StatusText as ar,
43465
+ ColorField as as,
43466
+ UNDERLINE_STYLE_OPTIONS as at,
43467
+ Stack as au,
43468
+ For as av,
43469
+ ToggleChip as aw,
43470
+ FormField as ax,
43471
+ Checkbox as ay,
43472
+ FieldGroup as az,
43119
43473
  getPageBodyTop as b,
43120
- getTableCellContentWidthForParagraph as b$,
43121
- EMU_PER_PT as b0,
43122
- OOXML_ROTATION_UNITS as b1,
43123
- OOXML_PERCENT_DENOMINATOR as b2,
43124
- parseHexColorToRgb255 as b3,
43125
- EMU_PER_PX as b4,
43126
- getRunEndnoteReference as b5,
43127
- iterateFootnoteReferenceRuns as b6,
43128
- iterateEndnoteReferenceRuns as b7,
43129
- imageContentTypeDefaults as b8,
43130
- getRunFieldChar as b9,
43131
- resolveListLabel as bA,
43132
- getListLabelInset as bB,
43133
- getAlignedListLabelInset as bC,
43134
- getParagraphBorderInsets as bD,
43135
- buildSegmentTable as bE,
43136
- buildCanvasTableLayout as bF,
43137
- resolveCanvasTableWidth as bG,
43138
- resolveFloatingTableRect as bH,
43139
- normalizeFamily as bI,
43140
- ROBOTO_FONT_FILES as bJ,
43141
- loadFontAsset as bK,
43142
- OFFICE_COMPAT_FONT_FAMILIES as bL,
43143
- BinaryReader as bM,
43144
- buildSfnt as bN,
43145
- defaultFontDecoderRegistry as bO,
43146
- SfntFontProgram as bP,
43147
- collectPdfFontFamilies as bQ,
43148
- outlineFrom as bR,
43149
- getPageHeaderZoneTop as bS,
43150
- getPageColumnRects as bT,
43151
- findFootnoteReference as bU,
43152
- resolveImporterForFile as bV,
43153
- roundTo as bW,
43154
- getDocumentSectionsCanonical as bX,
43155
- getDocumentParagraphsCanonical as bY,
43156
- getDocumentParagraphs as bZ,
43157
- getDocumentPageSettings as b_,
43158
- getRunFieldInstruction as ba,
43159
- createEditorRun as bb,
43160
- JSZip as bc,
43161
- imageExtensionFromMime as bd,
43162
- pxToPt as be,
43163
- resolveFloatingObjectRect as bf,
43164
- getTextBoxFloatingGeometry as bg,
43165
- getPresetPathSegments as bh,
43166
- buildListLabels as bi,
43167
- DEFAULT_FONT_SIZE_PX as bj,
43168
- resolveGradientAxis as bk,
43169
- isDoubleUnderlineStyle as bl,
43170
- isWavyUnderlineStyle as bm,
43171
- underlineStyleLineWidthPx as bn,
43172
- WAVY_UNDERLINE_WAVELENGTH_PX as bo,
43173
- WAVY_UNDERLINE_AMPLITUDE_PX as bp,
43174
- DOUBLE_UNDERLINE_OFFSET_PX as bq,
43175
- underlineStyleDashArray as br,
43176
- EMPHASIS_GLYPH as bs,
43177
- rgb255ToHex as bt,
43178
- getImageFloatingGeometry as bu,
43179
- textStyleToFontSizePt as bv,
43180
- TEXT_BASELINE_RATIO as bw,
43181
- resolveOpenTypeFeatureTags as bx,
43182
- resolveDecorationLineY as by,
43183
- DOUBLE_STRIKE_OFFSET_PX as bz,
43474
+ layoutMetricsEpoch as b$,
43475
+ OOXML_ROTATION_UNITS as b0,
43476
+ OOXML_PERCENT_DENOMINATOR as b1,
43477
+ parseHexColorToRgb255 as b2,
43478
+ EMU_PER_PX as b3,
43479
+ getRunEndnoteReference as b4,
43480
+ iterateFootnoteReferenceRuns as b5,
43481
+ iterateEndnoteReferenceRuns as b6,
43482
+ imageContentTypeDefaults as b7,
43483
+ getRunFieldChar as b8,
43484
+ getRunFieldInstruction as b9,
43485
+ getListLabelInset as bA,
43486
+ getAlignedListLabelInset as bB,
43487
+ getParagraphBorderInsets as bC,
43488
+ buildSegmentTable as bD,
43489
+ buildCanvasTableLayout as bE,
43490
+ resolveCanvasTableWidth as bF,
43491
+ resolveFloatingTableRect as bG,
43492
+ normalizeFamily as bH,
43493
+ ROBOTO_FONT_FILES as bI,
43494
+ loadFontAsset as bJ,
43495
+ OFFICE_COMPAT_FONT_FAMILIES as bK,
43496
+ BinaryReader as bL,
43497
+ buildSfnt as bM,
43498
+ defaultFontDecoderRegistry as bN,
43499
+ SfntFontProgram as bO,
43500
+ collectPdfFontFamilies as bP,
43501
+ outlineFrom as bQ,
43502
+ getPageHeaderZoneTop as bR,
43503
+ getPageColumnRects as bS,
43504
+ findFootnoteReference as bT,
43505
+ resolveImporterForFile as bU,
43506
+ roundTo as bV,
43507
+ getDocumentSectionsCanonical as bW,
43508
+ getDocumentParagraphsCanonical as bX,
43509
+ getDocumentParagraphs as bY,
43510
+ getDocumentPageSettings as bZ,
43511
+ getTableCellContentWidthForParagraph as b_,
43512
+ createEditorRun as ba,
43513
+ JSZip as bb,
43514
+ imageExtensionFromMime as bc,
43515
+ pxToPt as bd,
43516
+ resolveFloatingObjectRect as be,
43517
+ getTextBoxFloatingGeometry as bf,
43518
+ getPresetPathSegments as bg,
43519
+ buildListLabels as bh,
43520
+ DEFAULT_FONT_SIZE_PX as bi,
43521
+ resolveGradientAxis as bj,
43522
+ isDoubleUnderlineStyle as bk,
43523
+ isWavyUnderlineStyle as bl,
43524
+ underlineStyleLineWidthPx as bm,
43525
+ WAVY_UNDERLINE_WAVELENGTH_PX as bn,
43526
+ WAVY_UNDERLINE_AMPLITUDE_PX as bo,
43527
+ DOUBLE_UNDERLINE_OFFSET_PX as bp,
43528
+ underlineStyleDashArray as bq,
43529
+ EMPHASIS_GLYPH as br,
43530
+ rgb255ToHex as bs,
43531
+ getImageFloatingGeometry as bt,
43532
+ textStyleToFontSizePt as bu,
43533
+ TEXT_BASELINE_RATIO as bv,
43534
+ resolveOpenTypeFeatureTags as bw,
43535
+ resolveDecorationLineY as bx,
43536
+ DOUBLE_STRIKE_OFFSET_PX as by,
43537
+ resolveListLabel as bz,
43184
43538
  getPageContentWidth as c,
43185
43539
  IconButton as c$,
43186
- layoutMetricsEpoch as c0,
43187
- bumpLayoutMetricsEpoch as c1,
43188
- createCanvasLayoutSnapshotProvider as c2,
43189
- on as c3,
43190
- debounce as c4,
43191
- unwrap as c5,
43192
- perfTimer as c6,
43193
- getRunTextBox as c7,
43194
- createEditorDocument as c8,
43195
- resolveResizedDimensions as c9,
43196
- MenuRegistry as cA,
43197
- createToolbarRegistry as cB,
43198
- Editor as cC,
43199
- resolveCommandRef as cD,
43200
- commandRefName as cE,
43201
- createOasisEditorClient as cF,
43202
- createEditorZoom as cG,
43203
- startLongTaskObserver as cH,
43204
- installGlobalReport as cI,
43205
- applyStoredPreciseFontPreference as cJ,
43206
- getWelcomeSeen as cK,
43207
- isLocalFontAccessSupported as cL,
43208
- EDITOR_SCROLL_PADDING_PX as cM,
43209
- Toolbar as cN,
43210
- OasisEditorLoading as cO,
43211
- I18nProvider as cP,
43212
- createTranslator as cQ,
43213
- createEditorLogger as cR,
43214
- registerDomStatsSurface as cS,
43540
+ bumpLayoutMetricsEpoch as c0,
43541
+ createCanvasLayoutSnapshotProvider as c1,
43542
+ on as c2,
43543
+ debounce as c3,
43544
+ unwrap as c4,
43545
+ perfTimer as c5,
43546
+ getRunTextBox as c6,
43547
+ createEditorDocument as c7,
43548
+ resolveResizedDimensions as c8,
43549
+ resolveTextBoxRenderHeight as c9,
43550
+ createToolbarRegistry as cA,
43551
+ Editor as cB,
43552
+ resolveCommandRef as cC,
43553
+ commandRefName as cD,
43554
+ createOasisEditorClient as cE,
43555
+ createEditorZoom as cF,
43556
+ startLongTaskObserver as cG,
43557
+ installGlobalReport as cH,
43558
+ applyStoredPreciseFontPreference as cI,
43559
+ getWelcomeSeen as cJ,
43560
+ isLocalFontAccessSupported as cK,
43561
+ EDITOR_SCROLL_PADDING_PX as cL,
43562
+ Toolbar as cM,
43563
+ OasisEditorLoading as cN,
43564
+ I18nProvider as cO,
43565
+ createTranslator as cP,
43566
+ createEditorLogger as cQ,
43567
+ registerDomStatsSurface as cR,
43568
+ ActionRow as cS,
43215
43569
  ColorPicker as cT,
43216
43570
  CommandRegistry as cU,
43217
43571
  DEFAULT_PALETTE as cV,
43218
43572
  DialogFooter as cW,
43219
- FloatingActionButton as cX,
43220
- FormField as cY,
43573
+ FieldRow as cX,
43574
+ FloatingActionButton as cY,
43221
43575
  GridPicker as cZ,
43222
43576
  Heading as c_,
43223
- resolveTextBoxRenderHeight as ca,
43224
- getToolbarStyleState as cb,
43225
- VERTICAL_HIT_WEIGHT as cc,
43226
- getCachedCanvasImage as cd,
43227
- measureParagraphMinContentWidthPx as ce,
43228
- getEditableBlocksForZone as cf,
43229
- findParagraphLocation as cg,
43230
- createSectionBoundaryParagraph as ch,
43231
- normalizePageSettings as ci,
43232
- DEFAULT_EDITOR_PAGE_SETTINGS as cj,
43233
- markStart as ck,
43234
- markEnd as cl,
43235
- getParagraphEntries as cm,
43236
- getParagraphById as cn,
43237
- createEditorFootnote as co,
43238
- createFootnoteReferenceRun as cp,
43239
- renumberFootnotes as cq,
43240
- getHeadingLevel as cr,
43241
- preciseFontModeVersion as cs,
43242
- isPreciseFontModeEnabled as ct,
43243
- resolveNamedTextStyle as cu,
43244
- togglePreciseFontMode as cv,
43245
- nextFontSizePt as cw,
43246
- previousFontSizePt as cx,
43247
- fontSizePtToPx as cy,
43248
- createDefaultToolbarPreset as cz,
43577
+ getToolbarStyleState as ca,
43578
+ VERTICAL_HIT_WEIGHT as cb,
43579
+ getCachedCanvasImage as cc,
43580
+ measureParagraphMinContentWidthPx as cd,
43581
+ getEditableBlocksForZone as ce,
43582
+ findParagraphLocation as cf,
43583
+ createSectionBoundaryParagraph as cg,
43584
+ normalizePageSettings as ch,
43585
+ DEFAULT_EDITOR_PAGE_SETTINGS as ci,
43586
+ markStart as cj,
43587
+ markEnd as ck,
43588
+ getParagraphEntries as cl,
43589
+ getParagraphById as cm,
43590
+ createEditorFootnote as cn,
43591
+ createFootnoteReferenceRun as co,
43592
+ renumberFootnotes as cp,
43593
+ getHeadingLevel as cq,
43594
+ preciseFontModeVersion as cr,
43595
+ isPreciseFontModeEnabled as cs,
43596
+ resolveNamedTextStyle as ct,
43597
+ togglePreciseFontMode as cu,
43598
+ nextFontSizePt as cv,
43599
+ previousFontSizePt as cw,
43600
+ fontSizePtToPx as cx,
43601
+ createDefaultToolbarPreset as cy,
43602
+ MenuRegistry as cz,
43249
43603
  domTextMeasurer as d,
43250
43604
  Menu as d0,
43251
43605
  OASIS_BUILTIN_COMMANDS as d1,
@@ -43283,14 +43637,14 @@ export {
43283
43637
  getRunField as n,
43284
43638
  projectBlocksLayout as o,
43285
43639
  projectParagraphLayout as p,
43286
- spread as q,
43287
- mergeProps as r,
43288
- splitProps as s,
43289
- memo as t,
43290
- useContext as u,
43291
- insert as v,
43292
- createComponent as w,
43293
- createRenderEffect as x,
43294
- setAttribute as y,
43295
- className as z
43640
+ assertNever as q,
43641
+ createSignal as r,
43642
+ createEditorStateFromDocument as s,
43643
+ createInitialEditorState as t,
43644
+ fontSizePxToPt as u,
43645
+ visitRun as v,
43646
+ probeLocalFontFamilies as w,
43647
+ createEditorParagraphFromRuns as x,
43648
+ isInlineObjectRun as y,
43649
+ createEditorStyledRun as z
43296
43650
  };