oasis-editor 0.0.117 → 0.0.118

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$$V = /* @__PURE__ */ template(`<img alt aria-hidden=true>`);
2443
+ var _tmpl$$_ = /* @__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$$V();
2450
+ var _el$ = _tmpl$$_();
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$$U = /* @__PURE__ */ template(`<div class=oasis-editor-import-progress-label>`), _tmpl$2$A = /* @__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$$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`);
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$A(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling, _el$5 = _el$4.firstChild;
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;
2478
2478
  insert(_el$2, createComponent(OasisBrandMark, {
2479
2479
  height: 40,
2480
2480
  "class": "oasis-editor-loading-mark"
@@ -2485,7 +2485,7 @@ function OasisEditorLoading(props) {
2485
2485
  return pct() != null;
2486
2486
  },
2487
2487
  get children() {
2488
- var _el$6 = _tmpl$$U();
2488
+ var _el$6 = _tmpl$$Z();
2489
2489
  insert(_el$6, (() => {
2490
2490
  var _c$ = memo(() => !!isDone());
2491
2491
  return () => _c$() ? _tmpl$3$p() : `${pct()}%`;
@@ -2539,7 +2539,7 @@ function OasisEditorAppLazy(props = {}) {
2539
2539
  onCleanup(() => {
2540
2540
  cancelled = true;
2541
2541
  });
2542
- import("./OasisEditorApp-DijR5F-O.js").then((m) => {
2542
+ import("./OasisEditorApp-DxTXNB8H.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$$T = /* @__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$z = /* @__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$$T();
5101
- const SpecialIndentFirstLineIcon = () => _tmpl$2$z();
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();
5102
5102
  const CUSTOM_ICONS = {
5103
5103
  footnote: FootnoteIcon,
5104
5104
  specialIndentFirstLine: SpecialIndentFirstLineIcon
@@ -5121,7 +5121,72 @@ function ToolIcon(props) {
5121
5121
  children: (render2) => render2()()
5122
5122
  });
5123
5123
  }
5124
- var _tmpl$$S = /* @__PURE__ */ template(`<div class=oasis-menubar role=menubar>`), _tmpl$2$y = /* @__PURE__ */ template(`<div class=oasis-menubar-dropdown role=menu>`), _tmpl$3$n = /* @__PURE__ */ template(`<div class=oasis-menubar-menu><div class=oasis-menubar-button role=menuitem aria-haspopup=true>`), _tmpl$4$i = /* @__PURE__ */ template(`<div class=oasis-menubar-separator role=separator>`), _tmpl$5$e = /* @__PURE__ */ template(`<span class=oasis-menubar-item-icon aria-hidden=true>`), _tmpl$6$8 = /* @__PURE__ */ template(`<span class=oasis-menubar-shortcut>`), _tmpl$7$3 = /* @__PURE__ */ template(`<i class=oasis-menubar-submenu-icon data-lucide=chevron-right>`), _tmpl$8$2 = /* @__PURE__ */ template(`<div class=oasis-menubar-submenu role=menu>`), _tmpl$9$1 = /* @__PURE__ */ template(`<div class=oasis-menubar-item role=menuitem><span class=oasis-menubar-item-main><span>`);
5124
+ var _tmpl$$X = /* @__PURE__ */ template(`<button>`);
5125
+ function SurfaceButton(props) {
5126
+ const [local, others] = splitProps(props, ["type", "icon", "label", "variant", "size", "active", "class", "classList", "children"]);
5127
+ return (() => {
5128
+ var _el$ = _tmpl$$X();
5129
+ spread(_el$, mergeProps({
5130
+ get type() {
5131
+ return local.type ?? "button";
5132
+ },
5133
+ get ["class"]() {
5134
+ return `oasis-editor-ui-surface-button ${local.class ?? ""}`;
5135
+ },
5136
+ get classList() {
5137
+ return {
5138
+ [`oasis-editor-ui-surface-button-${local.variant ?? "ghost"}`]: true,
5139
+ [`oasis-editor-ui-surface-button-${local.size ?? "md"}`]: true,
5140
+ "is-active": local.active,
5141
+ ...local.classList
5142
+ };
5143
+ },
5144
+ get ["aria-label"]() {
5145
+ return local.label;
5146
+ },
5147
+ get title() {
5148
+ return local.label;
5149
+ }
5150
+ }, others), false, true);
5151
+ insert(_el$, createComponent(Show, {
5152
+ get when() {
5153
+ return local.icon;
5154
+ },
5155
+ get children() {
5156
+ return createComponent(ToolIcon, {
5157
+ get name() {
5158
+ return local.icon;
5159
+ }
5160
+ });
5161
+ }
5162
+ }), null);
5163
+ insert(_el$, () => local.children, null);
5164
+ return _el$;
5165
+ })();
5166
+ }
5167
+ function Text$1(props) {
5168
+ const [local, others] = splitProps(props, ["as", "tone", "size", "class", "classList", "children"]);
5169
+ return createComponent(Dynamic, mergeProps({
5170
+ get component() {
5171
+ return local.as ?? "span";
5172
+ },
5173
+ get ["class"]() {
5174
+ return `oasis-editor-ui-text ${local.class ?? ""}`;
5175
+ },
5176
+ get classList() {
5177
+ return {
5178
+ [`oasis-editor-ui-text-${local.tone ?? "default"}`]: true,
5179
+ [`oasis-editor-ui-text-${local.size ?? "md"}`]: true,
5180
+ ...local.classList
5181
+ };
5182
+ }
5183
+ }, others, {
5184
+ get children() {
5185
+ return local.children;
5186
+ }
5187
+ }));
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>`);
5125
5190
  function Menubar(props) {
5126
5191
  const t = useI18n();
5127
5192
  const [activeMenu, setActiveMenu] = createSignal(null);
@@ -5189,34 +5254,49 @@ function Menubar(props) {
5189
5254
  });
5190
5255
  const topLevelItems = () => pruneTree(menuTree());
5191
5256
  return (() => {
5192
- var _el$ = _tmpl$$S();
5257
+ var _el$ = _tmpl$$W();
5193
5258
  insert(_el$, createComponent(For, {
5194
5259
  get each() {
5195
5260
  return topLevelItems();
5196
5261
  },
5197
5262
  children: (topLevel) => (() => {
5198
- var _el$2 = _tmpl$3$n(), _el$3 = _el$2.firstChild;
5263
+ var _el$2 = _tmpl$3$n();
5199
5264
  _el$2.addEventListener("mouseenter", () => {
5200
5265
  if (activeMenu() && activeMenu() !== topLevel.id) {
5201
5266
  setActiveMenu(topLevel.id);
5202
5267
  }
5203
5268
  });
5204
- _el$3.$$click = (e) => {
5205
- e.stopPropagation();
5206
- if (activeMenu() === topLevel.id) {
5207
- setActiveMenu(null);
5208
- } else {
5209
- setActiveMenu(topLevel.id);
5269
+ insert(_el$2, createComponent(SurfaceButton, {
5270
+ "class": "oasis-menubar-button",
5271
+ get classList() {
5272
+ return {
5273
+ "oasis-menubar-button-active": activeMenu() === topLevel.id
5274
+ };
5275
+ },
5276
+ onClick: (e) => {
5277
+ e.stopPropagation();
5278
+ if (activeMenu() === topLevel.id) {
5279
+ setActiveMenu(null);
5280
+ } else {
5281
+ setActiveMenu(topLevel.id);
5282
+ }
5283
+ },
5284
+ role: "menuitem",
5285
+ "aria-haspopup": "true",
5286
+ get ["aria-expanded"]() {
5287
+ return activeMenu() === topLevel.id;
5288
+ },
5289
+ get children() {
5290
+ return t("menu." + topLevel.label.toLowerCase()) || topLevel.label;
5210
5291
  }
5211
- };
5212
- insert(_el$3, () => t("menu." + topLevel.label.toLowerCase()) || topLevel.label);
5292
+ }), null);
5213
5293
  insert(_el$2, createComponent(Show, {
5214
5294
  get when() {
5215
5295
  return activeMenu() === topLevel.id;
5216
5296
  },
5217
5297
  get children() {
5218
- var _el$4 = _tmpl$2$y();
5219
- insert(_el$4, createComponent(For, {
5298
+ var _el$3 = _tmpl$2$A();
5299
+ insert(_el$3, createComponent(For, {
5220
5300
  get each() {
5221
5301
  return topLevel.children;
5222
5302
  },
@@ -5228,18 +5308,9 @@ function Menubar(props) {
5228
5308
  onClose: () => setActiveMenu(null)
5229
5309
  })
5230
5310
  }));
5231
- return _el$4;
5311
+ return _el$3;
5232
5312
  }
5233
5313
  }), null);
5234
- createRenderEffect((_p$) => {
5235
- var _v$ = !!(activeMenu() === topLevel.id), _v$2 = activeMenu() === topLevel.id;
5236
- _v$ !== _p$.e && _el$3.classList.toggle("oasis-menubar-button-active", _p$.e = _v$);
5237
- _v$2 !== _p$.t && setAttribute(_el$3, "aria-expanded", _p$.t = _v$2);
5238
- return _p$;
5239
- }, {
5240
- e: void 0,
5241
- t: void 0
5242
- });
5243
5314
  return _el$2;
5244
5315
  })()
5245
5316
  }));
@@ -5275,78 +5346,92 @@ function MenuNode(props) {
5275
5346
  }
5276
5347
  onClose();
5277
5348
  };
5278
- return (() => {
5279
- var _el$6 = _tmpl$9$1(), _el$7 = _el$6.firstChild, _el$9 = _el$7.firstChild;
5280
- _el$6.$$click = handleClick;
5281
- _el$6.addEventListener("mouseleave", () => {
5282
- if (hasChildren) setShowSub(false);
5283
- });
5284
- _el$6.addEventListener("mouseenter", () => {
5349
+ return createComponent(SurfaceButton, {
5350
+ "class": "oasis-menubar-item",
5351
+ label,
5352
+ onMouseEnter: () => {
5285
5353
  if (hasChildren) setShowSub(true);
5286
- });
5287
- setAttribute(_el$6, "aria-haspopup", hasChildren);
5288
- insert(_el$7, createComponent(Show, {
5289
- get when() {
5290
- return icon();
5291
- },
5292
- get children() {
5293
- var _el$8 = _tmpl$5$e();
5294
- insert(_el$8, createComponent(ToolIcon, {
5295
- get name() {
5296
- return icon();
5297
- }
5298
- }));
5299
- return _el$8;
5300
- }
5301
- }), _el$9);
5302
- insert(_el$9, label);
5303
- insert(_el$6, createComponent(Show, {
5304
- get when() {
5305
- var _a2;
5306
- return (_a2 = node.item) == null ? void 0 : _a2.shortcut;
5307
- },
5308
- get children() {
5309
- var _el$0 = _tmpl$6$8();
5310
- insert(_el$0, () => node.item.shortcut);
5311
- return _el$0;
5312
- }
5313
- }), null);
5314
- insert(_el$6, createComponent(Show, {
5315
- when: hasChildren,
5316
- get children() {
5317
- return _tmpl$7$3();
5318
- }
5319
- }), null);
5320
- insert(_el$6, createComponent(Show, {
5321
- get when() {
5322
- return showSub() && hasChildren;
5323
- },
5324
- get children() {
5325
- var _el$10 = _tmpl$8$2();
5326
- insert(_el$10, createComponent(For, {
5327
- get each() {
5328
- return node.children;
5329
- },
5330
- children: (child) => createComponent(MenuNode, {
5331
- node: child,
5332
- get host() {
5333
- return props.host;
5354
+ },
5355
+ onMouseLeave: () => {
5356
+ if (hasChildren) setShowSub(false);
5357
+ },
5358
+ onClick: handleClick,
5359
+ role: "menuitem",
5360
+ "aria-haspopup": hasChildren,
5361
+ get ["aria-expanded"]() {
5362
+ return showSub();
5363
+ },
5364
+ get children() {
5365
+ return [createComponent(Text$1, {
5366
+ "class": "oasis-menubar-item-main",
5367
+ get children() {
5368
+ return [createComponent(Show, {
5369
+ get when() {
5370
+ return icon();
5334
5371
  },
5335
- onClose
5336
- })
5337
- }));
5338
- return _el$10;
5339
- }
5340
- }), null);
5341
- createRenderEffect(() => setAttribute(_el$6, "aria-expanded", showSub()));
5342
- return _el$6;
5343
- })();
5372
+ get children() {
5373
+ return createComponent(Text$1, {
5374
+ "class": "oasis-menubar-item-icon",
5375
+ "aria-hidden": "true",
5376
+ get children() {
5377
+ return createComponent(ToolIcon, {
5378
+ get name() {
5379
+ return icon();
5380
+ }
5381
+ });
5382
+ }
5383
+ });
5384
+ }
5385
+ }), createComponent(Text$1, {
5386
+ children: label
5387
+ })];
5388
+ }
5389
+ }), createComponent(Show, {
5390
+ get when() {
5391
+ var _a2;
5392
+ return (_a2 = node.item) == null ? void 0 : _a2.shortcut;
5393
+ },
5394
+ get children() {
5395
+ return createComponent(Text$1, {
5396
+ "class": "oasis-menubar-shortcut",
5397
+ get children() {
5398
+ return node.item.shortcut;
5399
+ }
5400
+ });
5401
+ }
5402
+ }), createComponent(Show, {
5403
+ when: hasChildren,
5404
+ get children() {
5405
+ return _tmpl$5$d();
5406
+ }
5407
+ }), createComponent(Show, {
5408
+ get when() {
5409
+ return showSub() && hasChildren;
5410
+ },
5411
+ get children() {
5412
+ var _el$6 = _tmpl$6$8();
5413
+ insert(_el$6, createComponent(For, {
5414
+ get each() {
5415
+ return node.children;
5416
+ },
5417
+ children: (child) => createComponent(MenuNode, {
5418
+ node: child,
5419
+ get host() {
5420
+ return props.host;
5421
+ },
5422
+ onClose
5423
+ })
5424
+ }));
5425
+ return _el$6;
5426
+ }
5427
+ })];
5428
+ }
5429
+ });
5344
5430
  }
5345
- delegateEvents(["click"]);
5346
- var _tmpl$$R = /* @__PURE__ */ template(`<div class=oasis-titlebar><div class=oasis-titlebar-left><div class=oasis-titlebar-menubar-slot>`);
5431
+ var _tmpl$$V = /* @__PURE__ */ template(`<div class=oasis-titlebar><div class=oasis-titlebar-left><div class=oasis-titlebar-menubar-slot>`);
5347
5432
  function TitleBar(props) {
5348
5433
  return (() => {
5349
- var _el$ = _tmpl$$R(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild;
5434
+ var _el$ = _tmpl$$V(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild;
5350
5435
  insert(_el$3, () => props.children);
5351
5436
  return _el$;
5352
5437
  })();
@@ -5439,7 +5524,7 @@ function getCaretRectFromSnapshot(snapshot, position2, paragraphOffset) {
5439
5524
  );
5440
5525
  return rectFromBox(slot.left, slot.top, 1, slot.height || line.height);
5441
5526
  }
5442
- var _tmpl$$Q = /* @__PURE__ */ template(`<span class=oasis-outline-title>`), _tmpl$2$x = /* @__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$d = /* @__PURE__ */ template(`<div class=oasis-outline-item>`);
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>`);
5443
5528
  function OutlinePanel(props) {
5444
5529
  const t = useI18n();
5445
5530
  const [collapsed, setCollapsed] = createSignal(props.defaultCollapsed ?? false);
@@ -5516,7 +5601,7 @@ function OutlinePanel(props) {
5516
5601
  return !collapsed();
5517
5602
  },
5518
5603
  get children() {
5519
- var _el$3 = _tmpl$$Q();
5604
+ var _el$3 = _tmpl$$U();
5520
5605
  insert(_el$3, () => t("menu.view.outline") || "Outline");
5521
5606
  return _el$3;
5522
5607
  }
@@ -5527,7 +5612,7 @@ function OutlinePanel(props) {
5527
5612
  return !collapsed();
5528
5613
  },
5529
5614
  get children() {
5530
- var _el$6 = _tmpl$2$x();
5615
+ var _el$6 = _tmpl$2$z();
5531
5616
  insert(_el$6, createComponent(Show, {
5532
5617
  get when() {
5533
5618
  return items().length > 0;
@@ -5545,7 +5630,7 @@ function OutlinePanel(props) {
5545
5630
  return items();
5546
5631
  },
5547
5632
  children: (item) => (() => {
5548
- var _el$8 = _tmpl$5$d();
5633
+ var _el$8 = _tmpl$5$c();
5549
5634
  _el$8.$$click = () => props.onNavigate(item.anchor);
5550
5635
  insert(_el$8, () => item.text);
5551
5636
  createRenderEffect((_p$) => {
@@ -5584,7 +5669,7 @@ function OutlinePanel(props) {
5584
5669
  })();
5585
5670
  }
5586
5671
  delegateEvents(["click"]);
5587
- var _tmpl$$P = /* @__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$w = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-item-wrapper style=display:flex;align-items:center;flex-shrink:0>`);
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>`);
5588
5673
  function ToolbarOverflowManager(props) {
5589
5674
  const t = useI18n();
5590
5675
  const [overflowCount, setOverflowCount] = createSignal(0);
@@ -5728,7 +5813,7 @@ function ToolbarOverflowManager(props) {
5728
5813
  };
5729
5814
  };
5730
5815
  return (() => {
5731
- var _el$ = _tmpl$$P(), _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$$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;
5732
5817
  var _ref$ = containerRef;
5733
5818
  typeof _ref$ === "function" ? use(_ref$, _el$) : containerRef = _el$;
5734
5819
  var _ref$2 = moreMeasureRef;
@@ -5740,7 +5825,7 @@ function ToolbarOverflowManager(props) {
5740
5825
  return items();
5741
5826
  },
5742
5827
  children: (item) => (() => {
5743
- var _el$7 = _tmpl$2$w();
5828
+ var _el$7 = _tmpl$2$y();
5744
5829
  insert(_el$7, item);
5745
5830
  return _el$7;
5746
5831
  })()
@@ -5816,12 +5901,12 @@ function resolveLabel(item, api) {
5816
5901
  if (item.labelKey) return api.t(item.labelKey);
5817
5902
  return void 0;
5818
5903
  }
5819
- var _tmpl$$O = /* @__PURE__ */ template(`<span>`), _tmpl$2$v = /* @__PURE__ */ template(`<button type=button>`);
5904
+ var _tmpl$$S = /* @__PURE__ */ template(`<span>`), _tmpl$2$x = /* @__PURE__ */ template(`<button type=button>`);
5820
5905
  function Button$1(props) {
5821
5906
  const [local, others] = splitProps(props, ["icon", "label", "active", "tooltip", "wide", "ribbonSize", "aria-label", "class", "classList"]);
5822
5907
  const ariaLabel = () => local["aria-label"] || local.tooltip || local.label || "";
5823
5908
  return (() => {
5824
- var _el$ = _tmpl$2$v();
5909
+ var _el$ = _tmpl$2$x();
5825
5910
  spread(_el$, mergeProps({
5826
5911
  get ["class"]() {
5827
5912
  return `oasis-editor-tool-button ${local.class || ""}`;
@@ -5858,7 +5943,7 @@ function Button$1(props) {
5858
5943
  return local.label;
5859
5944
  },
5860
5945
  get children() {
5861
- var _el$2 = _tmpl$$O();
5946
+ var _el$2 = _tmpl$$S();
5862
5947
  insert(_el$2, () => local.label);
5863
5948
  return _el$2;
5864
5949
  }
@@ -5940,7 +6025,7 @@ function useDismiss(options) {
5940
6025
  });
5941
6026
  });
5942
6027
  }
5943
- var _tmpl$$N = /* @__PURE__ */ template(`<div>`);
6028
+ var _tmpl$$R = /* @__PURE__ */ template(`<div>`);
5944
6029
  function Popover(props) {
5945
6030
  let anchorRef;
5946
6031
  let panelRef;
@@ -5957,7 +6042,7 @@ function Popover(props) {
5957
6042
  closeOnEscape: props.closeOnEscape
5958
6043
  });
5959
6044
  const panel = (portalled) => (() => {
5960
- var _el$ = _tmpl$$N();
6045
+ var _el$ = _tmpl$$R();
5961
6046
  addEventListener(_el$, "mouseleave", props.onPanelMouseLeave);
5962
6047
  var _ref$ = panelRef;
5963
6048
  typeof _ref$ === "function" ? use(_ref$, _el$) : panelRef = _el$;
@@ -6009,12 +6094,12 @@ function Popover(props) {
6009
6094
  }
6010
6095
  })];
6011
6096
  }
6012
- var _tmpl$$M = /* @__PURE__ */ template(`<div>`), _tmpl$2$u = /* @__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$c = /* @__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$$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>`);
6013
6098
  function Menu(props) {
6014
6099
  const [open, setOpen] = createSignal(false);
6015
6100
  const ariaLabel = () => props.tooltip || props.label || "";
6016
6101
  return (() => {
6017
- var _el$ = _tmpl$2$u();
6102
+ var _el$ = _tmpl$2$w();
6018
6103
  insert(_el$, createComponent(Popover, {
6019
6104
  get open() {
6020
6105
  return open();
@@ -6057,7 +6142,7 @@ function Menu(props) {
6057
6142
  return !props.hideChevron;
6058
6143
  },
6059
6144
  get children() {
6060
- return _tmpl$5$c();
6145
+ return _tmpl$5$b();
6061
6146
  }
6062
6147
  }), null);
6063
6148
  createRenderEffect((_p$) => {
@@ -6082,7 +6167,7 @@ function Menu(props) {
6082
6167
  return _el$3;
6083
6168
  })(),
6084
6169
  get children() {
6085
- var _el$2 = _tmpl$$M();
6170
+ var _el$2 = _tmpl$$Q();
6086
6171
  _el$2.$$click = (event) => {
6087
6172
  const el = event.target;
6088
6173
  if (el.closest("button") && !el.closest(".oasis-editor-tool-button-dropdown") && !el.closest(".oasis-editor-toolbar-list-options")) {
@@ -6097,7 +6182,7 @@ function Menu(props) {
6097
6182
  })();
6098
6183
  }
6099
6184
  delegateEvents(["click"]);
6100
- var _tmpl$$L = /* @__PURE__ */ template(`<select>`);
6185
+ var _tmpl$$P = /* @__PURE__ */ template(`<select>`);
6101
6186
  function Select(props) {
6102
6187
  let selectRef;
6103
6188
  const [local, others] = splitProps(props, ["wide", "small", "class", "tooltip", "aria-label", "value"]);
@@ -6113,7 +6198,7 @@ function Select(props) {
6113
6198
  }
6114
6199
  });
6115
6200
  return (() => {
6116
- var _el$ = _tmpl$$L();
6201
+ var _el$ = _tmpl$$P();
6117
6202
  var _ref$ = selectRef;
6118
6203
  typeof _ref$ === "function" ? use(_ref$, _el$) : selectRef = _el$;
6119
6204
  spread(_el$, mergeProps({
@@ -6140,15 +6225,15 @@ function Select(props) {
6140
6225
  return _el$;
6141
6226
  })();
6142
6227
  }
6143
- var _tmpl$$K = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-separator>`);
6228
+ var _tmpl$$O = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-separator>`);
6144
6229
  function Separator(props) {
6145
6230
  return (() => {
6146
- var _el$ = _tmpl$$K();
6231
+ var _el$ = _tmpl$$O();
6147
6232
  createRenderEffect((_$p) => setStyleProperty(_el$, "display", props.hidden ? "none" : void 0));
6148
6233
  return _el$;
6149
6234
  })();
6150
6235
  }
6151
- var _tmpl$$J = /* @__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$$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>`);
6152
6237
  function SplitButton(props) {
6153
6238
  return createComponent(Popover, {
6154
6239
  get open() {
@@ -6167,7 +6252,7 @@ function SplitButton(props) {
6167
6252
  return props.onPanelMouseLeave;
6168
6253
  },
6169
6254
  trigger: (api) => (() => {
6170
- var _el$ = _tmpl$$J(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
6255
+ var _el$ = _tmpl$$N(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
6171
6256
  use((el) => api.ref(el), _el$);
6172
6257
  _el$2.$$click = () => props.onMain();
6173
6258
  insert(_el$2, () => props.mainContent);
@@ -6205,7 +6290,7 @@ function SplitButton(props) {
6205
6290
  });
6206
6291
  }
6207
6292
  delegateEvents(["click"]);
6208
- var _tmpl$$I = /* @__PURE__ */ template(`<i data-lucide=type>`), _tmpl$2$t = /* @__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$b = /* @__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$$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>`);
6209
6294
  const normalizeColor = (value) => (value == null ? void 0 : value.trim().toLowerCase()) ?? "";
6210
6295
  function ColorPicker(props) {
6211
6296
  const [isOpen, setIsOpen] = createSignal(false);
@@ -6270,7 +6355,7 @@ function ColorPicker(props) {
6270
6355
  return clearLabel();
6271
6356
  },
6272
6357
  get children() {
6273
- var _el$ = _tmpl$2$t(), _el$2 = _el$.firstChild, _el$4 = _el$2.nextSibling;
6358
+ var _el$ = _tmpl$2$v(), _el$2 = _el$.firstChild, _el$4 = _el$2.nextSibling;
6274
6359
  _el$.$$click = () => applyColor(null);
6275
6360
  insert(_el$2, createComponent(Show, {
6276
6361
  get when() {
@@ -6280,7 +6365,7 @@ function ColorPicker(props) {
6280
6365
  return _tmpl$8$1();
6281
6366
  },
6282
6367
  get children() {
6283
- return _tmpl$$I();
6368
+ return _tmpl$$M();
6284
6369
  }
6285
6370
  }));
6286
6371
  insert(_el$4, clearLabel);
@@ -6365,7 +6450,7 @@ function ColorPicker(props) {
6365
6450
  },
6366
6451
  get children() {
6367
6452
  return [(() => {
6368
- var _el$1 = _tmpl$5$b(), _el$10 = _el$1.firstChild, _el$11 = _el$10.nextSibling;
6453
+ var _el$1 = _tmpl$5$a(), _el$10 = _el$1.firstChild, _el$11 = _el$10.nextSibling;
6369
6454
  _el$1.$$click = () => customColorInputRef == null ? void 0 : customColorInputRef.click();
6370
6455
  insert(_el$11, () => props.moreColorsLabel);
6371
6456
  createRenderEffect(() => setAttribute(_el$1, "data-testid", `${props.testId}-more-colors`));
@@ -6393,7 +6478,7 @@ function ColorPicker(props) {
6393
6478
  });
6394
6479
  }
6395
6480
  delegateEvents(["click", "input"]);
6396
- var _tmpl$$H = /* @__PURE__ */ template(`<div class=oasis-editor-table-grid-picker-status>`), _tmpl$2$s = /* @__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$a = /* @__PURE__ */ template(`<button type=button class=oasis-editor-table-grid-picker-cell>`);
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>`);
6397
6482
  function GridPicker(props) {
6398
6483
  const t = useI18n();
6399
6484
  const [isOpen, setIsOpen] = createSignal(false);
@@ -6502,11 +6587,11 @@ function GridPicker(props) {
6502
6587
  })(),
6503
6588
  get children() {
6504
6589
  return [(() => {
6505
- var _el$2 = _tmpl$$H();
6590
+ var _el$2 = _tmpl$$L();
6506
6591
  insert(_el$2, statusLabel);
6507
6592
  return _el$2;
6508
6593
  })(), (() => {
6509
- var _el$3 = _tmpl$2$s();
6594
+ var _el$3 = _tmpl$2$u();
6510
6595
  insert(_el$3, createComponent(For, {
6511
6596
  get each() {
6512
6597
  return rows();
@@ -6516,7 +6601,7 @@ function GridPicker(props) {
6516
6601
  return cols();
6517
6602
  },
6518
6603
  children: (c) => (() => {
6519
- var _el$6 = _tmpl$5$a();
6604
+ var _el$6 = _tmpl$5$9();
6520
6605
  _el$6.$$click = () => selectGridSize(r, c);
6521
6606
  _el$6.$$mousedown = (event) => event.preventDefault();
6522
6607
  _el$6.addEventListener("mouseenter", () => setHover({
@@ -6606,7 +6691,7 @@ const DEFAULT_PALETTE = {
6606
6691
  standardColors: STANDARD_COLORS,
6607
6692
  allowCustom: true
6608
6693
  };
6609
- var _tmpl$$G = /* @__PURE__ */ template(`<button type=button class=oasis-editor-style-gallery-card role=option><span>`), _tmpl$2$r = /* @__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$$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>`);
6610
6695
  function getQuickStyles(styles) {
6611
6696
  const applicable = styles.filter((style2) => style2.type !== "table" && (!style2.semiHidden || style2.unhideWhenUsed && style2.isUsed));
6612
6697
  const hasQuickStyles = applicable.some((style2) => style2.qFormat === true);
@@ -6686,7 +6771,7 @@ function StyleGallery(props) {
6686
6771
  return styles();
6687
6772
  },
6688
6773
  children: (style$1) => (() => {
6689
- var _el$ = _tmpl$$G(), _el$2 = _el$.firstChild;
6774
+ var _el$ = _tmpl$$K(), _el$2 = _el$.firstChild;
6690
6775
  _el$.$$click = () => apply(style$1);
6691
6776
  insert(_el$2, () => style$1.name);
6692
6777
  createRenderEffect((_p$) => {
@@ -6766,7 +6851,7 @@ function StyleGallery(props) {
6766
6851
  return _el$4;
6767
6852
  })(),
6768
6853
  get children() {
6769
- var _el$3 = _tmpl$2$r();
6854
+ var _el$3 = _tmpl$2$t();
6770
6855
  _el$3.$$keydown = onPanelKeyDown;
6771
6856
  insert(_el$3, cards);
6772
6857
  return _el$3;
@@ -6774,7 +6859,7 @@ function StyleGallery(props) {
6774
6859
  });
6775
6860
  }
6776
6861
  delegateEvents(["click", "keydown"]);
6777
- var _tmpl$$F = /* @__PURE__ */ template(`<option value>`), _tmpl$2$q = /* @__PURE__ */ template(`<option>`), _tmpl$3$h = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-item style=align-items:center>`);
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>`);
6778
6863
  function renderMenuContent(content, api) {
6779
6864
  if (content.kind === "custom") {
6780
6865
  return content.render(api);
@@ -6956,7 +7041,7 @@ function RenderSelect(props) {
6956
7041
  return props.item.placeholder !== void 0;
6957
7042
  },
6958
7043
  get children() {
6959
- var _el$ = _tmpl$$F();
7044
+ var _el$ = _tmpl$$J();
6960
7045
  insert(_el$, () => props.item.placeholder);
6961
7046
  return _el$;
6962
7047
  }
@@ -6965,7 +7050,7 @@ function RenderSelect(props) {
6965
7050
  return props.item.options(props.api);
6966
7051
  },
6967
7052
  children: (option) => (() => {
6968
- var _el$2 = _tmpl$2$q();
7053
+ var _el$2 = _tmpl$2$s();
6969
7054
  insert(_el$2, () => option.label);
6970
7055
  createRenderEffect(() => _el$2.value = option.value);
6971
7056
  return _el$2;
@@ -7514,7 +7599,7 @@ function resolveResponsiveRibbonGroups(groups, availableWidth, measurements = {}
7514
7599
  allocatedWidth: allocatedWidths.get(group.id)
7515
7600
  }));
7516
7601
  }
7517
- var _tmpl$$E = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-tabs role=tablist>`), _tmpl$2$p = /* @__PURE__ */ template(`<button type=button class=oasis-editor-ribbon-tab role=tab>`);
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>`);
7518
7603
  function RibbonTabs(props) {
7519
7604
  const tabs = buildRibbonTabDefinitions(useI18n());
7520
7605
  const moveTab = (current, delta) => {
@@ -7523,11 +7608,11 @@ function RibbonTabs(props) {
7523
7608
  if (next) props.setActiveTab(next.id);
7524
7609
  };
7525
7610
  return (() => {
7526
- var _el$ = _tmpl$$E();
7611
+ var _el$ = _tmpl$$I();
7527
7612
  insert(_el$, createComponent(For, {
7528
7613
  each: tabs,
7529
7614
  children: (tab) => (() => {
7530
- var _el$2 = _tmpl$2$p();
7615
+ var _el$2 = _tmpl$2$r();
7531
7616
  _el$2.$$keydown = (event) => {
7532
7617
  if (event.key === "ArrowRight") {
7533
7618
  event.preventDefault();
@@ -7569,10 +7654,10 @@ function RibbonTabs(props) {
7569
7654
  })();
7570
7655
  }
7571
7656
  delegateEvents(["click", "keydown"]);
7572
- var _tmpl$$D = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-row>`);
7657
+ var _tmpl$$H = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-row>`);
7573
7658
  function RibbonRow(props) {
7574
7659
  return (() => {
7575
- var _el$ = _tmpl$$D();
7660
+ var _el$ = _tmpl$$H();
7576
7661
  insert(_el$, createComponent(For, {
7577
7662
  get each() {
7578
7663
  return props.items;
@@ -7587,7 +7672,7 @@ function RibbonRow(props) {
7587
7672
  return _el$;
7588
7673
  })();
7589
7674
  }
7590
- var _tmpl$$C = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-large-items>`), _tmpl$2$o = /* @__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$9 = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-collapsed-items>`), _tmpl$6$5 = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-group-rows>`);
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>`);
7591
7676
  function groupItems(group) {
7592
7677
  return [...group.largeItems, ...group.rows[1], ...group.rows[2]];
7593
7678
  }
@@ -7622,7 +7707,7 @@ function RibbonGroup(props) {
7622
7707
  ribbonSize: "large",
7623
7708
  panelClass: "oasis-editor-ribbon-collapsed-menu",
7624
7709
  get children() {
7625
- var _el$7 = _tmpl$5$9();
7710
+ var _el$7 = _tmpl$5$8();
7626
7711
  insert(_el$7, createComponent(For, {
7627
7712
  get each() {
7628
7713
  return groupItems(props.group);
@@ -7646,13 +7731,13 @@ function RibbonGroup(props) {
7646
7731
  },
7647
7732
  get children() {
7648
7733
  return [(() => {
7649
- var _el$2 = _tmpl$2$o(), _el$4 = _el$2.firstChild;
7734
+ var _el$2 = _tmpl$2$q(), _el$4 = _el$2.firstChild;
7650
7735
  insert(_el$2, createComponent(Show, {
7651
7736
  get when() {
7652
7737
  return props.group.largeItems.length > 0;
7653
7738
  },
7654
7739
  get children() {
7655
- var _el$3 = _tmpl$$C();
7740
+ var _el$3 = _tmpl$$G();
7656
7741
  insert(_el$3, createComponent(For, {
7657
7742
  get each() {
7658
7743
  return props.group.largeItems;
@@ -7713,7 +7798,7 @@ function RibbonGroup(props) {
7713
7798
  return _el$;
7714
7799
  })();
7715
7800
  }
7716
- var _tmpl$$B = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-panel role=tabpanel data-testid=editor-ribbon-panel>`);
7801
+ var _tmpl$$F = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-panel role=tabpanel data-testid=editor-ribbon-panel>`);
7717
7802
  function RibbonPanel(props) {
7718
7803
  const [availableWidth, setAvailableWidth] = createSignal(null);
7719
7804
  const [measurements, setMeasurements] = createSignal({});
@@ -7758,7 +7843,7 @@ function RibbonPanel(props) {
7758
7843
  requestAnimationFrame(measureGroups);
7759
7844
  });
7760
7845
  return (() => {
7761
- var _el$ = _tmpl$$B();
7846
+ var _el$ = _tmpl$$F();
7762
7847
  var _ref$ = panelRef;
7763
7848
  typeof _ref$ === "function" ? use(_ref$, _el$) : panelRef = _el$;
7764
7849
  insert(_el$, createComponent(For, {
@@ -7784,7 +7869,7 @@ function RibbonPanel(props) {
7784
7869
  return _el$;
7785
7870
  })();
7786
7871
  }
7787
- var _tmpl$$A = /* @__PURE__ */ template(`<section class=oasis-editor-toolbar>`), _tmpl$2$n = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-wrap-strip>`);
7872
+ var _tmpl$$E = /* @__PURE__ */ template(`<section class=oasis-editor-toolbar>`), _tmpl$2$p = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-wrap-strip>`);
7788
7873
  const shouldAllowNativeMouseDown = (target) => target instanceof Element && target.closest("select, input, textarea, label") !== null;
7789
7874
  function Toolbar(props) {
7790
7875
  const api = createToolbarApi(props.host, useI18n());
@@ -7814,7 +7899,7 @@ function Toolbar(props) {
7814
7899
  })
7815
7900
  });
7816
7901
  return (() => {
7817
- var _el$ = _tmpl$$A();
7902
+ var _el$ = _tmpl$$E();
7818
7903
  _el$.$$mousedown = (event) => {
7819
7904
  if (shouldAllowNativeMouseDown(event.target)) {
7820
7905
  return;
@@ -7835,7 +7920,7 @@ function Toolbar(props) {
7835
7920
  return renderItems();
7836
7921
  }
7837
7922
  }) : (() => {
7838
- var _el$2 = _tmpl$2$n();
7923
+ var _el$2 = _tmpl$2$p();
7839
7924
  insert(_el$2, renderItems);
7840
7925
  return _el$2;
7841
7926
  })();
@@ -18348,11 +18433,11 @@ function buildCanvasTableLayout(options) {
18348
18433
  unsupported: Array.from(new Set(unsupported))
18349
18434
  };
18350
18435
  }
18351
- var _tmpl$$z = /* @__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$$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">`);
18352
18437
  function PageBreak(_props) {
18353
18438
  const t = useI18n();
18354
18439
  return (() => {
18355
- var _el$ = _tmpl$$z(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
18440
+ var _el$ = _tmpl$$D(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
18356
18441
  insert(_el$3, () => t("metric.pageBreak") || "Page Break");
18357
18442
  return _el$;
18358
18443
  })();
@@ -21859,7 +21944,7 @@ function createCanvasPageRenderer(options) {
21859
21944
  }
21860
21945
  };
21861
21946
  }
21862
- var _tmpl$$y = /* @__PURE__ */ template(`<div class="oasis-editor-paper-stack oasis-editor-canvas-stack"style=position:relative>`), _tmpl$2$m = /* @__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$$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>`);
21863
21948
  const surfaceLogger = createEditorLogger("canvas-surface");
21864
21949
  function checkBrowserFonts(families) {
21865
21950
  if (typeof document === "undefined" || !document.fonts) {
@@ -21919,7 +22004,7 @@ function CanvasEditorSurface(props) {
21919
22004
  return layout;
21920
22005
  });
21921
22006
  return (() => {
21922
- var _el$ = _tmpl$$y();
22007
+ var _el$ = _tmpl$$C();
21923
22008
  insert(_el$, createComponent(Index, {
21924
22009
  get each() {
21925
22010
  return documentLayout().pages;
@@ -21931,7 +22016,7 @@ function CanvasEditorSurface(props) {
21931
22016
  // inserting an image that triggers re-pagination in a narrow viewport),
21932
22017
  // causing "Failed to execute 'insertBefore'" errors.
21933
22018
  (() => {
21934
- var _el$2 = _tmpl$2$m();
22019
+ var _el$2 = _tmpl$2$o();
21935
22020
  insert(_el$2, createComponent(Show, {
21936
22021
  when: index > 0,
21937
22022
  get children() {
@@ -22427,7 +22512,7 @@ function computeRulerTicks(pageWidth, contentLeft, unit) {
22427
22512
  pushSide(-1);
22428
22513
  return ticks;
22429
22514
  }
22430
- var _tmpl$$x = /* @__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$l = /* @__PURE__ */ template(`<div>`), _tmpl$3$e = /* @__PURE__ */ template(`<div class=oasis-editor-horizontal-ruler-label>`);
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>`);
22431
22516
  function getActivePageSettings(state) {
22432
22517
  var _a;
22433
22518
  const idx = getActiveSectionIndex(state);
@@ -22633,7 +22718,7 @@ function HorizontalRuler(props) {
22633
22718
  }
22634
22719
  };
22635
22720
  return (() => {
22636
- var _el$ = _tmpl$$x(), _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$$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;
22637
22722
  var _ref$ = pageRef;
22638
22723
  typeof _ref$ === "function" ? use(_ref$, _el$3) : pageRef = _el$3;
22639
22724
  insert(_el$3, createComponent(For, {
@@ -22641,7 +22726,7 @@ function HorizontalRuler(props) {
22641
22726
  return ticks();
22642
22727
  },
22643
22728
  children: (tick) => [(() => {
22644
- var _el$11 = _tmpl$2$l();
22729
+ var _el$11 = _tmpl$2$n();
22645
22730
  createRenderEffect((_p$) => {
22646
22731
  var _v$27 = `oasis-editor-horizontal-ruler-tick oasis-editor-horizontal-ruler-tick-${tick.kind}`, _v$28 = `${sx(tick.x)}px`;
22647
22732
  _v$27 !== _p$.e && className(_el$11, _p$.e = _v$27);
@@ -22730,10 +22815,10 @@ function HorizontalRuler(props) {
22730
22815
  })();
22731
22816
  }
22732
22817
  delegateEvents(["pointerdown"]);
22733
- var _tmpl$$w = /* @__PURE__ */ template(`<span aria-hidden=true class=oasis-editor-caret>`);
22818
+ var _tmpl$$A = /* @__PURE__ */ template(`<span aria-hidden=true class=oasis-editor-caret>`);
22734
22819
  function CaretOverlay(props) {
22735
22820
  return (() => {
22736
- var _el$ = _tmpl$$w();
22821
+ var _el$ = _tmpl$$A();
22737
22822
  createRenderEffect((_p$) => {
22738
22823
  var _v$ = !!props.active, _v$2 = {
22739
22824
  left: `${props.left}px`,
@@ -22754,16 +22839,16 @@ function CaretOverlay(props) {
22754
22839
  return _el$;
22755
22840
  })();
22756
22841
  }
22757
- var _tmpl$$v = /* @__PURE__ */ template(`<div aria-hidden=true class=oasis-editor-selection-overlay-root>`), _tmpl$2$k = /* @__PURE__ */ template(`<span aria-hidden=true class=oasis-editor-selection-box data-testid=editor-selection-box>`);
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>`);
22758
22843
  function SelectionOverlay(props) {
22759
22844
  return (() => {
22760
- var _el$ = _tmpl$$v();
22845
+ var _el$ = _tmpl$$z();
22761
22846
  insert(_el$, createComponent(Index, {
22762
22847
  get each() {
22763
22848
  return props.boxes;
22764
22849
  },
22765
22850
  children: (box) => (() => {
22766
- var _el$2 = _tmpl$2$k();
22851
+ var _el$2 = _tmpl$2$m();
22767
22852
  createRenderEffect((_p$) => {
22768
22853
  var _v$ = `${box().left}px`, _v$2 = `${box().top}px`, _v$3 = `${box().width}px`, _v$4 = `${box().height}px`;
22769
22854
  _v$ !== _p$.e && setStyleProperty(_el$2, "left", _p$.e = _v$);
@@ -22783,7 +22868,7 @@ function SelectionOverlay(props) {
22783
22868
  return _el$;
22784
22869
  })();
22785
22870
  }
22786
- var _tmpl$$u = /* @__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$$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>`);
22787
22872
  function RevisionOverlay(props) {
22788
22873
  const formattedDate = () => {
22789
22874
  try {
@@ -22798,7 +22883,7 @@ function RevisionOverlay(props) {
22798
22883
  return "Alterado por";
22799
22884
  };
22800
22885
  return (() => {
22801
- var _el$ = _tmpl$$u(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild;
22886
+ var _el$ = _tmpl$$y(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild;
22802
22887
  _el$4.nextSibling;
22803
22888
  var _el$7 = _el$3.nextSibling;
22804
22889
  insert(_el$4, label, _el$5);
@@ -22816,7 +22901,7 @@ function RevisionOverlay(props) {
22816
22901
  return _el$;
22817
22902
  })();
22818
22903
  }
22819
- var _tmpl$$t = /* @__PURE__ */ template(`<div aria-hidden=true class=oasis-editor-comment-overlay-root>`), _tmpl$2$j = /* @__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$8 = /* @__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$$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>`);
22820
22905
  function CommentHighlightOverlay(props) {
22821
22906
  const [activeCommentId, setActiveCommentId] = createSignal(null);
22822
22907
  const activeComment = createMemo(() => {
@@ -22843,13 +22928,13 @@ function CommentHighlightOverlay(props) {
22843
22928
  }
22844
22929
  };
22845
22930
  return (() => {
22846
- var _el$ = _tmpl$$t();
22931
+ var _el$ = _tmpl$$x();
22847
22932
  insert(_el$, createComponent(For, {
22848
22933
  get each() {
22849
22934
  return props.boxes();
22850
22935
  },
22851
22936
  children: (box) => (() => {
22852
- var _el$2 = _tmpl$2$j();
22937
+ var _el$2 = _tmpl$2$l();
22853
22938
  _el$2.$$click = () => setActiveCommentId(box.commentId);
22854
22939
  _el$2.addEventListener("mouseenter", () => setActiveCommentId(box.commentId));
22855
22940
  createRenderEffect((_p$) => {
@@ -22881,7 +22966,7 @@ function CommentHighlightOverlay(props) {
22881
22966
  const comment = activeComment();
22882
22967
  const anchor = popupAnchor();
22883
22968
  return (() => {
22884
- var _el$3 = _tmpl$5$8(), _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild, _el$8 = _el$4.nextSibling;
22969
+ var _el$3 = _tmpl$5$7(), _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild, _el$8 = _el$4.nextSibling;
22885
22970
  _el$3.addEventListener("mouseleave", () => setActiveCommentId(null));
22886
22971
  insert(_el$5, () => comment.author || "—");
22887
22972
  insert(_el$4, createComponent(Show, {
@@ -22949,7 +23034,7 @@ function useSurfaceRect(surfaceRef) {
22949
23034
  });
22950
23035
  return { rect, tick, refresh };
22951
23036
  }
22952
- var _tmpl$$s = /* @__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$$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>`);
22953
23038
  function FloatingTableToolbar(props) {
22954
23039
  const t = useI18n();
22955
23040
  const host = () => props.host();
@@ -23007,7 +23092,7 @@ function FloatingTableToolbar(props) {
23007
23092
  return document.body;
23008
23093
  },
23009
23094
  get children() {
23010
- var _el$ = _tmpl$$s(), _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$$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;
23011
23096
  _el$.$$mousedown = (event) => event.preventDefault();
23012
23097
  insert(_el$2, createComponent(Button$1, {
23013
23098
  icon: "combine",
@@ -23167,7 +23252,7 @@ function FloatingTableToolbar(props) {
23167
23252
  });
23168
23253
  }
23169
23254
  delegateEvents(["mousedown"]);
23170
- var _tmpl$$r = /* @__PURE__ */ template(`<svg><rect height=2 rx=1 fill=#9aa0a6></svg>`, false, true, false), _tmpl$2$i = /* @__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$7 = /* @__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$$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>`);
23171
23256
  const WRAP_OPTIONS = [{
23172
23257
  preset: "square",
23173
23258
  labelKey: "layoutOptions.square"
@@ -23189,14 +23274,14 @@ const WRAP_OPTIONS = [{
23189
23274
  }];
23190
23275
  function WrapIcon(props) {
23191
23276
  const line = (x, y, w) => (() => {
23192
- var _el$ = _tmpl$$r();
23277
+ var _el$ = _tmpl$$v();
23193
23278
  setAttribute(_el$, "x", x);
23194
23279
  setAttribute(_el$, "y", y);
23195
23280
  setAttribute(_el$, "width", w);
23196
23281
  return _el$;
23197
23282
  })();
23198
23283
  const box = (x, y, w, h, fill = "#1a73e8") => (() => {
23199
- var _el$2 = _tmpl$2$i();
23284
+ var _el$2 = _tmpl$2$k();
23200
23285
  setAttribute(_el$2, "x", x);
23201
23286
  setAttribute(_el$2, "y", y);
23202
23287
  setAttribute(_el$2, "width", w);
@@ -23205,7 +23290,7 @@ function WrapIcon(props) {
23205
23290
  return _el$2;
23206
23291
  })();
23207
23292
  return (() => {
23208
- var _el$3 = _tmpl$5$7();
23293
+ var _el$3 = _tmpl$5$6();
23209
23294
  insert(_el$3, createComponent(Show, {
23210
23295
  get when() {
23211
23296
  return props.preset === "square";
@@ -37598,10 +37683,10 @@ function resolveResizedDimensions(geometry, deltaX, deltaY, preserveAspectRatio,
37598
37683
  nextHeight = clamp(nextWidth / aspectRatio, MIN_RESIZE_SIZE_PX);
37599
37684
  return { width: nextWidth, height: nextHeight };
37600
37685
  }
37601
- var _tmpl$$q = /* @__PURE__ */ template(`<button aria-hidden=true class=oasis-editor-rotate-handle tabindex=-1 type=button>`), _tmpl$2$h = /* @__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$$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>`);
37602
37687
  function ResizeHandlesOverlay(props) {
37603
37688
  return (() => {
37604
- var _el$ = _tmpl$2$h();
37689
+ var _el$ = _tmpl$2$j();
37605
37690
  _el$.$$mousedown = (event) => {
37606
37691
  if (props.readOnly || !props.box() || !props.onBodyMouseDown) {
37607
37692
  return;
@@ -37632,7 +37717,7 @@ function ResizeHandlesOverlay(props) {
37632
37717
  return props.onRotateStart;
37633
37718
  },
37634
37719
  get children() {
37635
- var _el$2 = _tmpl$$q();
37720
+ var _el$2 = _tmpl$$u();
37636
37721
  _el$2.$$mousedown = (event) => {
37637
37722
  var _a;
37638
37723
  if (!props.box()) {
@@ -37688,7 +37773,7 @@ function createEditorZoom(initial = ZOOM_DEFAULT) {
37688
37773
  const zoomFactor = createMemo(() => zoomPercent() / 100);
37689
37774
  return { zoomPercent, setZoomPercent, adjustZoom, zoomFactor };
37690
37775
  }
37691
- var _tmpl$$p = /* @__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$g = /* @__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$6 = /* @__PURE__ */ template(`<span>`);
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>`);
37692
37777
  function OasisEditorEditor(props) {
37693
37778
  const t = useI18n();
37694
37779
  const layout = () => props.layout;
@@ -37816,7 +37901,7 @@ function OasisEditorEditor(props) {
37816
37901
  queueMicrotask(recomputeViewportPageIndex);
37817
37902
  });
37818
37903
  return (() => {
37819
- var _el$ = _tmpl$$p(), _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$$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;
37820
37905
  insert(_el$, createComponent(Show, {
37821
37906
  get when() {
37822
37907
  return memo(() => !!layout().showHorizontalRuler)() && overlays().toolbarHost;
@@ -38100,7 +38185,7 @@ function OasisEditorEditor(props) {
38100
38185
  const isDone = progress().phase === "done";
38101
38186
  const isError = progress().phase === "error";
38102
38187
  return (() => {
38103
- var _el$18 = _tmpl$2$g(), _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$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;
38104
38189
  _el$18.classList.toggle("oasis-editor-import-overlay-done", !!isDone);
38105
38190
  _el$18.classList.toggle("oasis-editor-import-overlay-error", !!isError);
38106
38191
  setAttribute(_el$18, "aria-busy", !isDone && !isError);
@@ -38156,7 +38241,7 @@ function OasisEditorEditor(props) {
38156
38241
  return createComponent(Show, {
38157
38242
  when: key,
38158
38243
  get children() {
38159
- var _el$27 = _tmpl$5$6();
38244
+ var _el$27 = _tmpl$5$5();
38160
38245
  insert(_el$27, () => t(key));
38161
38246
  createRenderEffect(() => className(_el$27, `oasis-editor-statusbar-item oasis-editor-persistence-status oasis-editor-status-${status.replace("...", "ing").replace(".", "")}`));
38162
38247
  return _el$27;
@@ -38886,11 +38971,11 @@ function createCanvasLayoutSnapshotProvider() {
38886
38971
  }
38887
38972
  };
38888
38973
  }
38889
- var _tmpl$$o = /* @__PURE__ */ template(`<button>`);
38974
+ var _tmpl$$s = /* @__PURE__ */ template(`<button>`);
38890
38975
  function FloatingActionButton(props) {
38891
38976
  const [local, others] = splitProps(props, ["type", "icon", "label", "active", "class", "classList"]);
38892
38977
  return (() => {
38893
- var _el$ = _tmpl$$o();
38978
+ var _el$ = _tmpl$$s();
38894
38979
  spread(_el$, mergeProps({
38895
38980
  get type() {
38896
38981
  return local.type ?? "button";
@@ -38919,7 +39004,7 @@ function FloatingActionButton(props) {
38919
39004
  return _el$;
38920
39005
  })();
38921
39006
  }
38922
- var _tmpl$$n = /* @__PURE__ */ template(`<aside>`), _tmpl$2$f = /* @__PURE__ */ template(`<div>`);
39007
+ var _tmpl$$r = /* @__PURE__ */ template(`<aside>`), _tmpl$2$h = /* @__PURE__ */ template(`<div>`);
38923
39008
  function SidePanel(props) {
38924
39009
  const [local, others] = splitProps(props, ["mode", "width", "class", "classList", "children", "style"]);
38925
39010
  const width = () => {
@@ -38929,7 +39014,7 @@ function SidePanel(props) {
38929
39014
  return local.width ?? "360px";
38930
39015
  };
38931
39016
  return (() => {
38932
- var _el$ = _tmpl$$n();
39017
+ var _el$ = _tmpl$$r();
38933
39018
  spread(_el$, mergeProps({
38934
39019
  get ["class"]() {
38935
39020
  return `oasis-editor-plugin-side-panel ${local.class ?? ""}`;
@@ -38954,7 +39039,7 @@ function SidePanel(props) {
38954
39039
  function SidePanelHeader(props) {
38955
39040
  const [local, others] = splitProps(props, ["class", "children"]);
38956
39041
  return (() => {
38957
- var _el$2 = _tmpl$2$f();
39042
+ var _el$2 = _tmpl$2$h();
38958
39043
  spread(_el$2, mergeProps({
38959
39044
  get ["class"]() {
38960
39045
  return `oasis-editor-plugin-side-panel-header ${local.class ?? ""}`;
@@ -38967,7 +39052,7 @@ function SidePanelHeader(props) {
38967
39052
  function SidePanelBody(props) {
38968
39053
  const [local, others] = splitProps(props, ["class", "children"]);
38969
39054
  return (() => {
38970
- var _el$3 = _tmpl$2$f();
39055
+ var _el$3 = _tmpl$2$h();
38971
39056
  spread(_el$3, mergeProps({
38972
39057
  get ["class"]() {
38973
39058
  return `oasis-editor-plugin-side-panel-body ${local.class ?? ""}`;
@@ -38980,7 +39065,7 @@ function SidePanelBody(props) {
38980
39065
  function SidePanelFooter(props) {
38981
39066
  const [local, others] = splitProps(props, ["class", "children"]);
38982
39067
  return (() => {
38983
- var _el$4 = _tmpl$2$f();
39068
+ var _el$4 = _tmpl$2$h();
38984
39069
  spread(_el$4, mergeProps({
38985
39070
  get ["class"]() {
38986
39071
  return `oasis-editor-plugin-side-panel-footer ${local.class ?? ""}`;
@@ -38990,11 +39075,11 @@ function SidePanelFooter(props) {
38990
39075
  return _el$4;
38991
39076
  })();
38992
39077
  }
38993
- var _tmpl$$m = /* @__PURE__ */ template(`<button>`);
39078
+ var _tmpl$$q = /* @__PURE__ */ template(`<button>`);
38994
39079
  function IconButton(props) {
38995
39080
  const [local, others] = splitProps(props, ["type", "icon", "label", "active", "variant", "size", "class", "classList"]);
38996
39081
  return (() => {
38997
- var _el$ = _tmpl$$m();
39082
+ var _el$ = _tmpl$$q();
38998
39083
  spread(_el$, mergeProps({
38999
39084
  get type() {
39000
39085
  return local.type ?? "button";
@@ -39025,7 +39110,7 @@ function IconButton(props) {
39025
39110
  return _el$;
39026
39111
  })();
39027
39112
  }
39028
- var _tmpl$$l = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-floating-actions>`), _tmpl$2$e = /* @__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(`<span class=oasis-editor-plugin-side-panel-icon>`), _tmpl$5$5 = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-side-panel-title><span>`);
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>`);
39029
39114
  const EMPTY_SNAPSHOT = {
39030
39115
  floatingActions: [],
39031
39116
  sidePanels: [],
@@ -39057,7 +39142,7 @@ function PluginUiHost(props) {
39057
39142
  return groupActionsByPlacement(actions());
39058
39143
  },
39059
39144
  children: (group) => (() => {
39060
- var _el$ = _tmpl$$l();
39145
+ var _el$ = _tmpl$$p();
39061
39146
  insert(_el$, createComponent(For, {
39062
39147
  get each() {
39063
39148
  return group.actions;
@@ -39086,7 +39171,7 @@ function PluginUiHost(props) {
39086
39171
  })()
39087
39172
  });
39088
39173
  return (() => {
39089
- var _el$2 = _tmpl$2$e(), _el$3 = _el$2.firstChild;
39174
+ var _el$2 = _tmpl$2$g(), _el$3 = _el$2.firstChild;
39090
39175
  insert(_el$3, resolvedChildren);
39091
39176
  insert(_el$2, createComponent(Show, {
39092
39177
  get when() {
@@ -39150,25 +39235,29 @@ function renderPanel(editor, panel, t) {
39150
39235
  return [createComponent(SidePanelHeader, {
39151
39236
  get children() {
39152
39237
  return [(() => {
39153
- var _el$5 = _tmpl$5$5(), _el$7 = _el$5.firstChild;
39238
+ var _el$5 = _tmpl$4$7();
39154
39239
  insert(_el$5, createComponent(Show, {
39155
39240
  get when() {
39156
39241
  return panel.icon;
39157
39242
  },
39158
39243
  get children() {
39159
- var _el$6 = _tmpl$4$7();
39160
- insert(_el$6, createComponent(ToolIcon, {
39161
- get name() {
39162
- return panel.icon;
39244
+ return createComponent(Text$1, {
39245
+ "class": "oasis-editor-plugin-side-panel-icon",
39246
+ get children() {
39247
+ return createComponent(ToolIcon, {
39248
+ get name() {
39249
+ return panel.icon;
39250
+ }
39251
+ });
39163
39252
  }
39164
- }));
39165
- return _el$6;
39253
+ });
39166
39254
  }
39167
- }), _el$7);
39168
- insert(_el$7, (() => {
39169
- var _c$ = memo(() => !!panel.titleKey);
39170
- return () => _c$() ? t(panel.titleKey) : panel.title;
39171
- })());
39255
+ }), null);
39256
+ insert(_el$5, createComponent(Text$1, {
39257
+ get children() {
39258
+ return memo(() => !!panel.titleKey)() ? t(panel.titleKey) : panel.title;
39259
+ }
39260
+ }), null);
39172
39261
  return _el$5;
39173
39262
  })(), createComponent(IconButton, {
39174
39263
  icon: "x",
@@ -39205,7 +39294,7 @@ function groupActionsByPlacement(actions) {
39205
39294
  actions: groupActions
39206
39295
  }));
39207
39296
  }
39208
- var _tmpl$$k = /* @__PURE__ */ template(`<div class=oasis-editor-main-container><section class=oasis-editor-stage>`);
39297
+ var _tmpl$$o = /* @__PURE__ */ template(`<div class=oasis-editor-main-container><section class=oasis-editor-stage>`);
39209
39298
  function DocumentShell(props) {
39210
39299
  let surfaceEl;
39211
39300
  let viewportEl;
@@ -39332,7 +39421,7 @@ function DocumentShell(props) {
39332
39421
  return props.runtimeEditor;
39333
39422
  },
39334
39423
  get children() {
39335
- var _el$ = _tmpl$$k(), _el$2 = _el$.firstChild;
39424
+ var _el$ = _tmpl$$o(), _el$2 = _el$.firstChild;
39336
39425
  insert(_el$, createComponent(Show, {
39337
39426
  get when() {
39338
39427
  return memo(() => !!props.showChrome)() && props.showOutline;
@@ -39397,10 +39486,10 @@ function DocumentShell(props) {
39397
39486
  }
39398
39487
  })];
39399
39488
  }
39400
- var _tmpl$$j = /* @__PURE__ */ template(`<div class=oasis-editor-main-container><section class=oasis-editor-stage style=padding:0>`), _tmpl$2$d = /* @__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$$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">`);
39401
39490
  function InlineShell(props) {
39402
39491
  return (() => {
39403
- var _el$ = _tmpl$2$d();
39492
+ var _el$ = _tmpl$2$f();
39404
39493
  insert(_el$, createComponent(Show, {
39405
39494
  get when() {
39406
39495
  return memo(() => !!props.showChrome)() && props.showToolbar;
@@ -39427,7 +39516,7 @@ function InlineShell(props) {
39427
39516
  return props.runtimeEditor;
39428
39517
  },
39429
39518
  get children() {
39430
- var _el$2 = _tmpl$$j(), _el$3 = _el$2.firstChild;
39519
+ var _el$2 = _tmpl$$n(), _el$3 = _el$2.firstChild;
39431
39520
  insert(_el$3, createComponent(OasisEditorEditor, {
39432
39521
  state: () => props.state,
39433
39522
  get layout() {
@@ -39467,16 +39556,16 @@ function InlineShell(props) {
39467
39556
  return _el$;
39468
39557
  })();
39469
39558
  }
39470
- var _tmpl$$i = /* @__PURE__ */ template(`<div class=oasis-editor-main-container><section class=oasis-editor-stage style=padding:0>`), _tmpl$2$c = /* @__PURE__ */ template(`<div class=oasis-balloon-shell>`);
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>`);
39471
39560
  function BalloonShell(props) {
39472
39561
  return (() => {
39473
- var _el$ = _tmpl$2$c();
39562
+ var _el$ = _tmpl$2$e();
39474
39563
  insert(_el$, createComponent(PluginUiHost, {
39475
39564
  get editor() {
39476
39565
  return props.runtimeEditor;
39477
39566
  },
39478
39567
  get children() {
39479
- var _el$2 = _tmpl$$i(), _el$3 = _el$2.firstChild;
39568
+ var _el$2 = _tmpl$$m(), _el$3 = _el$2.firstChild;
39480
39569
  insert(_el$3, createComponent(OasisEditorEditor, {
39481
39570
  state: () => props.state,
39482
39571
  get layout() {
@@ -39516,7 +39605,7 @@ function BalloonShell(props) {
39516
39605
  return _el$;
39517
39606
  })();
39518
39607
  }
39519
- var _tmpl$$h = /* @__PURE__ */ template(`<div class=oasis-editor-dialog-footer data-testid=editor-dialog-footer>`), _tmpl$2$b = /* @__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$$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>`);
39520
39609
  function Dialog(props) {
39521
39610
  const t = useI18n();
39522
39611
  let dialogRef;
@@ -39541,7 +39630,7 @@ function Dialog(props) {
39541
39630
  return props.isOpen;
39542
39631
  },
39543
39632
  get children() {
39544
- var _el$ = _tmpl$2$b(), _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$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;
39545
39634
  _el$.$$click = () => {
39546
39635
  if (props.closeOnOverlayClick ?? true) {
39547
39636
  props.onClose();
@@ -39558,7 +39647,7 @@ function Dialog(props) {
39558
39647
  return props.footer;
39559
39648
  },
39560
39649
  get children() {
39561
- var _el$7 = _tmpl$$h();
39650
+ var _el$7 = _tmpl$$l();
39562
39651
  insert(_el$7, () => props.footer);
39563
39652
  return _el$7;
39564
39653
  }
@@ -39587,7 +39676,7 @@ function Dialog(props) {
39587
39676
  });
39588
39677
  }
39589
39678
  delegateEvents(["click"]);
39590
- var _tmpl$$g = /* @__PURE__ */ template(`<div><div class=oasis-editor-tabs-list role=tablist>`), _tmpl$2$a = /* @__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$$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>`);
39591
39680
  function findEnabledItem(items, startIndex, direction) {
39592
39681
  if (!items.length) return void 0;
39593
39682
  for (let step = 0; step < items.length; step += 1) {
@@ -39638,7 +39727,7 @@ function Tabs(props) {
39638
39727
  selectItem(findEnabledItem(items(), currentIndex + direction, direction), true);
39639
39728
  };
39640
39729
  return (() => {
39641
- var _el$ = _tmpl$$g(), _el$2 = _el$.firstChild;
39730
+ var _el$ = _tmpl$$k(), _el$2 = _el$.firstChild;
39642
39731
  _el$2.$$keydown = handleKeyDown;
39643
39732
  insert(_el$2, createComponent(For, {
39644
39733
  get each() {
@@ -39648,7 +39737,7 @@ function Tabs(props) {
39648
39737
  const tabId = `${baseId}-${item.id}-tab`;
39649
39738
  const panelId = `${baseId}-${item.id}-panel`;
39650
39739
  return (() => {
39651
- var _el$3 = _tmpl$2$a();
39740
+ var _el$3 = _tmpl$2$c();
39652
39741
  _el$3.$$click = () => selectItem(item);
39653
39742
  use((element) => {
39654
39743
  tabRefs[index()] = element;
@@ -39715,12 +39804,12 @@ function Tabs(props) {
39715
39804
  })();
39716
39805
  }
39717
39806
  delegateEvents(["keydown", "click"]);
39718
- var _tmpl$$f = /* @__PURE__ */ template(`<button><span class=oasis-editor-ui-button-label>`);
39807
+ var _tmpl$$j = /* @__PURE__ */ template(`<button><span class=oasis-editor-ui-button-label>`);
39719
39808
  function Button(props) {
39720
39809
  const [local, others] = splitProps(props, ["type", "variant", "size", "icon", "iconPosition", "fullWidth", "class", "classList", "children"]);
39721
39810
  const iconPosition = () => local.iconPosition ?? "start";
39722
39811
  return (() => {
39723
- var _el$ = _tmpl$$f(), _el$2 = _el$.firstChild;
39812
+ var _el$ = _tmpl$$j(), _el$2 = _el$.firstChild;
39724
39813
  spread(_el$, mergeProps({
39725
39814
  get type() {
39726
39815
  return local.type ?? "button";
@@ -39765,10 +39854,138 @@ function Button(props) {
39765
39854
  return _el$;
39766
39855
  })();
39767
39856
  }
39768
- var _tmpl$$e = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-label>`), _tmpl$2$9 = /* @__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 class=oasis-editor-ui-input>`);
39857
+ function Heading(props) {
39858
+ const [local, others] = splitProps(props, ["level", "class", "classList", "children"]);
39859
+ const level = local.level ?? 2;
39860
+ return createComponent(Dynamic, mergeProps({
39861
+ component: `h${level}`,
39862
+ get ["class"]() {
39863
+ return `oasis-editor-ui-heading ${local.class ?? ""}`;
39864
+ },
39865
+ get classList() {
39866
+ return {
39867
+ [`oasis-editor-ui-heading-${level}`]: true,
39868
+ ...local.classList
39869
+ };
39870
+ }
39871
+ }, others, {
39872
+ get children() {
39873
+ return local.children;
39874
+ }
39875
+ }));
39876
+ }
39877
+ function StatusText(props) {
39878
+ const [local, others] = splitProps(props, ["tone", "as", "class"]);
39879
+ return createComponent(Text$1, mergeProps({
39880
+ get as() {
39881
+ return local.as ?? "span";
39882
+ },
39883
+ get tone() {
39884
+ return memo(() => local.tone === "success")() ? "default" : local.tone ?? "muted";
39885
+ },
39886
+ size: "sm",
39887
+ get ["class"]() {
39888
+ return `oasis-editor-ui-status-text ${local.class ?? ""}`;
39889
+ }
39890
+ }, others));
39891
+ }
39892
+ var _tmpl$$i = /* @__PURE__ */ template(`<div>`);
39893
+ function ActionRow(props) {
39894
+ const [local, others] = splitProps(props, ["align", "wrap", "class", "classList", "children"]);
39895
+ return (() => {
39896
+ var _el$ = _tmpl$$i();
39897
+ spread(_el$, mergeProps({
39898
+ get ["class"]() {
39899
+ return `oasis-editor-ui-action-row ${local.class ?? ""}`;
39900
+ },
39901
+ get classList() {
39902
+ return {
39903
+ [`oasis-editor-ui-action-row-${local.align ?? "start"}`]: true,
39904
+ "oasis-editor-ui-action-row-nowrap": local.wrap === false,
39905
+ ...local.classList
39906
+ };
39907
+ }
39908
+ }, others), false, true);
39909
+ insert(_el$, () => local.children);
39910
+ return _el$;
39911
+ })();
39912
+ }
39913
+ var _tmpl$$h = /* @__PURE__ */ template(`<label>`), _tmpl$2$b = /* @__PURE__ */ template(`<div>`);
39914
+ function FormField(props) {
39915
+ const fallbackId = createUniqueId();
39916
+ const [local, others] = splitProps(props, ["label", "for", "description", "error", "labelClass", "class", "classList", "children"]);
39917
+ const descriptionId = () => local.for ?? `${fallbackId}-description`;
39918
+ const errorId = () => local.for ?? `${fallbackId}-error`;
39919
+ return (() => {
39920
+ var _el$ = _tmpl$2$b();
39921
+ spread(_el$, mergeProps({
39922
+ get ["class"]() {
39923
+ return `oasis-editor-ui-field ${local.class ?? ""}`;
39924
+ },
39925
+ get classList() {
39926
+ return local.classList;
39927
+ }
39928
+ }, others), false, true);
39929
+ insert(_el$, createComponent(Show, {
39930
+ get when() {
39931
+ return local.label;
39932
+ },
39933
+ get children() {
39934
+ var _el$2 = _tmpl$$h();
39935
+ insert(_el$2, () => local.label);
39936
+ createRenderEffect((_p$) => {
39937
+ var _v$ = `oasis-editor-ui-field-label ${local.labelClass ?? ""}`, _v$2 = local.for;
39938
+ _v$ !== _p$.e && className(_el$2, _p$.e = _v$);
39939
+ _v$2 !== _p$.t && setAttribute(_el$2, "for", _p$.t = _v$2);
39940
+ return _p$;
39941
+ }, {
39942
+ e: void 0,
39943
+ t: void 0
39944
+ });
39945
+ return _el$2;
39946
+ }
39947
+ }), null);
39948
+ insert(_el$, () => local.children, null);
39949
+ insert(_el$, createComponent(Show, {
39950
+ get when() {
39951
+ return local.description;
39952
+ },
39953
+ get children() {
39954
+ return createComponent(StatusText, {
39955
+ get id() {
39956
+ return descriptionId();
39957
+ },
39958
+ "class": "oasis-editor-ui-field-description",
39959
+ get children() {
39960
+ return local.description;
39961
+ }
39962
+ });
39963
+ }
39964
+ }), null);
39965
+ insert(_el$, createComponent(Show, {
39966
+ get when() {
39967
+ return local.error;
39968
+ },
39969
+ get children() {
39970
+ return createComponent(StatusText, {
39971
+ get id() {
39972
+ return errorId();
39973
+ },
39974
+ tone: "danger",
39975
+ "class": "oasis-editor-ui-field-error",
39976
+ get children() {
39977
+ return local.error;
39978
+ }
39979
+ });
39980
+ }
39981
+ }), null);
39982
+ return _el$;
39983
+ })();
39984
+ }
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>`);
39769
39986
  function TextField(props) {
39770
39987
  const fallbackId = createUniqueId();
39771
- const [local, others] = splitProps(props, ["label", "description", "error", "onChange", "class", "id"]);
39988
+ const [local, others] = splitProps(props, ["label", "description", "error", "labelClass", "controlClass", "onChange", "class", "id"]);
39772
39989
  const id = () => local.id ?? fallbackId;
39773
39990
  const descriptionId = () => `${id()}-description`;
39774
39991
  const errorId = () => `${id()}-error`;
@@ -39779,8 +39996,9 @@ function TextField(props) {
39779
39996
  return local.label;
39780
39997
  },
39781
39998
  get children() {
39782
- var _el$2 = _tmpl$$e();
39999
+ var _el$2 = _tmpl$$g();
39783
40000
  insert(_el$2, () => local.label);
40001
+ createRenderEffect(() => className(_el$2, `oasis-editor-ui-field-label ${local.labelClass ?? ""}`));
39784
40002
  return _el$2;
39785
40003
  }
39786
40004
  }), _el$3);
@@ -39792,6 +40010,9 @@ function TextField(props) {
39792
40010
  get id() {
39793
40011
  return id();
39794
40012
  },
40013
+ get ["class"]() {
40014
+ return `oasis-editor-ui-input ${local.controlClass ?? ""}`;
40015
+ },
39795
40016
  get ["aria-invalid"]() {
39796
40017
  return local.error ? "true" : void 0;
39797
40018
  },
@@ -39804,7 +40025,7 @@ function TextField(props) {
39804
40025
  return local.description;
39805
40026
  },
39806
40027
  get children() {
39807
- var _el$4 = _tmpl$2$9();
40028
+ var _el$4 = _tmpl$2$a();
39808
40029
  insert(_el$4, () => local.description);
39809
40030
  createRenderEffect(() => setAttribute(_el$4, "id", descriptionId()));
39810
40031
  return _el$4;
@@ -39834,7 +40055,57 @@ function TextField(props) {
39834
40055
  })();
39835
40056
  }
39836
40057
  delegateEvents(["input"]);
39837
- var _tmpl$$d = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$2$8 = /* @__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>`);
40058
+ var _tmpl$$f = /* @__PURE__ */ template(`<textarea>`);
40059
+ function TextAreaField(props) {
40060
+ const fallbackId = createUniqueId();
40061
+ const [local, others] = splitProps(props, ["label", "description", "error", "labelClass", "controlClass", "onChange", "class", "id"]);
40062
+ const id = () => local.id ?? fallbackId;
40063
+ const describedBy = () => [local.description ? `${id()}-description` : null, local.error ? `${id()}-error` : null].filter(Boolean).join(" ");
40064
+ return createComponent(FormField, {
40065
+ get ["class"]() {
40066
+ return local.class;
40067
+ },
40068
+ get label() {
40069
+ return local.label;
40070
+ },
40071
+ get ["for"]() {
40072
+ return id();
40073
+ },
40074
+ get labelClass() {
40075
+ return local.labelClass;
40076
+ },
40077
+ get description() {
40078
+ return local.description;
40079
+ },
40080
+ get error() {
40081
+ return local.error;
40082
+ },
40083
+ get children() {
40084
+ var _el$ = _tmpl$$f();
40085
+ _el$.$$input = (event) => {
40086
+ var _a;
40087
+ return (_a = local.onChange) == null ? void 0 : _a.call(local, event.currentTarget.value);
40088
+ };
40089
+ spread(_el$, mergeProps({
40090
+ get id() {
40091
+ return id();
40092
+ },
40093
+ get ["class"]() {
40094
+ return `oasis-editor-ui-input oasis-editor-ui-textarea ${local.controlClass ?? ""}`;
40095
+ },
40096
+ get ["aria-invalid"]() {
40097
+ return local.error ? "true" : void 0;
40098
+ },
40099
+ get ["aria-describedby"]() {
40100
+ return describedBy() || void 0;
40101
+ }
40102
+ }, others), false, false);
40103
+ return _el$;
40104
+ }
40105
+ });
40106
+ }
40107
+ 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>`);
39838
40109
  function Checkbox(props) {
39839
40110
  const fallbackId = createUniqueId();
39840
40111
  const [local, others] = splitProps(props, ["label", "description", "error", "onChange", "class", "id"]);
@@ -39864,7 +40135,7 @@ function Checkbox(props) {
39864
40135
  return local.description;
39865
40136
  },
39866
40137
  get children() {
39867
- var _el$5 = _tmpl$$d();
40138
+ var _el$5 = _tmpl$$e();
39868
40139
  insert(_el$5, () => local.description);
39869
40140
  createRenderEffect(() => setAttribute(_el$5, "id", descriptionId()));
39870
40141
  return _el$5;
@@ -39875,7 +40146,7 @@ function Checkbox(props) {
39875
40146
  return local.error;
39876
40147
  },
39877
40148
  get children() {
39878
- var _el$6 = _tmpl$2$8();
40149
+ var _el$6 = _tmpl$2$9();
39879
40150
  insert(_el$6, () => local.error);
39880
40151
  createRenderEffect(() => setAttribute(_el$6, "id", errorId()));
39881
40152
  return _el$6;
@@ -39893,10 +40164,10 @@ function Checkbox(props) {
39893
40164
  return _el$;
39894
40165
  })();
39895
40166
  }
39896
- var _tmpl$$c = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-label>`), _tmpl$2$7 = /* @__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 class=oasis-editor-ui-select>`), _tmpl$5$4 = /* @__PURE__ */ template(`<option>`);
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>`);
39897
40168
  function SelectField(props) {
39898
40169
  const fallbackId = createUniqueId();
39899
- const [local, others] = splitProps(props, ["label", "description", "error", "options", "onChange", "class", "id"]);
40170
+ const [local, others] = splitProps(props, ["label", "description", "error", "labelClass", "controlClass", "options", "onChange", "class", "id"]);
39900
40171
  const id = () => local.id ?? fallbackId;
39901
40172
  const descriptionId = () => `${id()}-description`;
39902
40173
  const errorId = () => `${id()}-error`;
@@ -39907,8 +40178,9 @@ function SelectField(props) {
39907
40178
  return local.label;
39908
40179
  },
39909
40180
  get children() {
39910
- var _el$2 = _tmpl$$c();
40181
+ var _el$2 = _tmpl$$d();
39911
40182
  insert(_el$2, () => local.label);
40183
+ createRenderEffect(() => className(_el$2, `oasis-editor-ui-field-label ${local.labelClass ?? ""}`));
39912
40184
  return _el$2;
39913
40185
  }
39914
40186
  }), _el$3);
@@ -39920,6 +40192,9 @@ function SelectField(props) {
39920
40192
  get id() {
39921
40193
  return id();
39922
40194
  },
40195
+ get ["class"]() {
40196
+ return `oasis-editor-ui-select ${local.controlClass ?? ""}`;
40197
+ },
39923
40198
  get ["aria-invalid"]() {
39924
40199
  return local.error ? "true" : void 0;
39925
40200
  },
@@ -39944,7 +40219,7 @@ function SelectField(props) {
39944
40219
  return local.description;
39945
40220
  },
39946
40221
  get children() {
39947
- var _el$4 = _tmpl$2$7();
40222
+ var _el$4 = _tmpl$2$8();
39948
40223
  insert(_el$4, () => local.description);
39949
40224
  createRenderEffect(() => setAttribute(_el$4, "id", descriptionId()));
39950
40225
  return _el$4;
@@ -39988,7 +40263,7 @@ function NumberField(props) {
39988
40263
  }
39989
40264
  }, others));
39990
40265
  }
39991
- var _tmpl$$b = /* @__PURE__ */ template(`<div>`);
40266
+ var _tmpl$$c = /* @__PURE__ */ template(`<div>`);
39992
40267
  const ALIGN_MAP = {
39993
40268
  start: "flex-start",
39994
40269
  center: "center",
@@ -39998,7 +40273,7 @@ const ALIGN_MAP = {
39998
40273
  function FieldRow(props) {
39999
40274
  const [local, others] = splitProps(props, ["align", "class", "style", "children"]);
40000
40275
  return (() => {
40001
- var _el$ = _tmpl$$b();
40276
+ var _el$ = _tmpl$$c();
40002
40277
  spread(_el$, mergeProps({
40003
40278
  get ["class"]() {
40004
40279
  return `oasis-editor-ui-field-row ${local.class ?? ""}`;
@@ -40014,6 +40289,31 @@ function FieldRow(props) {
40014
40289
  return _el$;
40015
40290
  })();
40016
40291
  }
40292
+ var _tmpl$$b = /* @__PURE__ */ template(`<legend>`), _tmpl$2$7 = /* @__PURE__ */ template(`<fieldset>`);
40293
+ function FieldGroup(props) {
40294
+ const [local, others] = splitProps(props, ["legend", "legendClass", "class", "children"]);
40295
+ return (() => {
40296
+ var _el$ = _tmpl$2$7();
40297
+ spread(_el$, mergeProps({
40298
+ get ["class"]() {
40299
+ return `oasis-editor-ui-field-group ${local.class ?? ""}`;
40300
+ }
40301
+ }, others), false, true);
40302
+ insert(_el$, createComponent(Show, {
40303
+ get when() {
40304
+ return local.legend;
40305
+ },
40306
+ get children() {
40307
+ var _el$2 = _tmpl$$b();
40308
+ insert(_el$2, () => local.legend);
40309
+ createRenderEffect(() => className(_el$2, `oasis-editor-ui-field-group-legend ${local.legendClass ?? ""}`));
40310
+ return _el$2;
40311
+ }
40312
+ }), null);
40313
+ insert(_el$, () => local.children, null);
40314
+ return _el$;
40315
+ })();
40316
+ }
40017
40317
  var _tmpl$$a = /* @__PURE__ */ template(`<div>`);
40018
40318
  function DialogFooter(props) {
40019
40319
  const [local, others] = splitProps(props, ["align", "class", "classList", "children"]);
@@ -40776,7 +41076,7 @@ function LineSpacingButton(props) {
40776
41076
  })();
40777
41077
  }
40778
41078
  delegateEvents(["click"]);
40779
- var _tmpl$$5 = /* @__PURE__ */ template(`<div class="oasis-editor-toolbar-panel-section oasis-editor-toolbar-panel-actions">`), _tmpl$2$3 = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-panel-grid><label class=oasis-editor-tool-metric><span></span><input type=number class=oasis-editor-tool-number data-testid=editor-toolbar-spacing-after min=0 step=1></label><label class=oasis-editor-tool-metric><span></span><input type=number class=oasis-editor-tool-number data-testid=editor-toolbar-indent-left min=0 step=1></label><label class=oasis-editor-tool-metric><span></span><input type=number class=oasis-editor-tool-number data-testid=editor-toolbar-indent-first-line step=1></label><label class=oasis-editor-tool-metric><span></span><input type=number class=oasis-editor-tool-number data-testid=editor-toolbar-indent-hanging min=0 step=1></label><label class=oasis-editor-tool-color><span></span><input type=color class=oasis-editor-tool-color-input data-testid=editor-toolbar-paragraph-shading>`);
41079
+ var _tmpl$$5 = /* @__PURE__ */ template(`<div class="oasis-editor-toolbar-panel-section oasis-editor-toolbar-panel-actions">`), _tmpl$2$3 = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-panel-grid>`);
40780
41080
  const numValue = (api, command) => {
40781
41081
  const value = api.commands.state(command).value;
40782
41082
  return value == null ? "" : String(value);
@@ -40784,7 +41084,6 @@ const numValue = (api, command) => {
40784
41084
  function MetricGroup(props) {
40785
41085
  const t = useI18n();
40786
41086
  const api = props.api;
40787
- const onNumber = (command) => (event) => api.commands.execute(command, event.currentTarget.value);
40788
41087
  return createComponent(Menu, {
40789
41088
  icon: "sliders-horizontal",
40790
41089
  testId: "editor-toolbar-metrics-dropdown",
@@ -40821,17 +41120,95 @@ function MetricGroup(props) {
40821
41120
  }), null);
40822
41121
  return _el$;
40823
41122
  })(), (() => {
40824
- var _el$2 = _tmpl$2$3(), _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling, _el$6 = _el$3.nextSibling, _el$7 = _el$6.firstChild, _el$8 = _el$7.nextSibling, _el$9 = _el$6.nextSibling, _el$0 = _el$9.firstChild, _el$1 = _el$0.nextSibling, _el$10 = _el$9.nextSibling, _el$11 = _el$10.firstChild, _el$12 = _el$11.nextSibling, _el$13 = _el$10.nextSibling, _el$14 = _el$13.firstChild, _el$15 = _el$14.nextSibling;
40825
- insert(_el$4, () => t("metric.after"));
40826
- addEventListener(_el$5, "change", onNumber("setSpacingAfter"));
40827
- insert(_el$7, () => t("metric.indent"));
40828
- addEventListener(_el$8, "change", onNumber("setIndentLeft"));
40829
- insert(_el$0, () => t("metric.first"));
40830
- addEventListener(_el$1, "change", onNumber("setIndentFirstLine"));
40831
- insert(_el$11, () => t("metric.hang"));
40832
- addEventListener(_el$12, "change", onNumber("setIndentHanging"));
40833
- insert(_el$14, () => t("metric.paraBg"));
40834
- _el$15.$$input = (event) => api.commands.execute("setParagraphShading", event.currentTarget.value);
41123
+ var _el$2 = _tmpl$2$3();
41124
+ insert(_el$2, createComponent(NumberField, {
41125
+ "class": "oasis-editor-tool-metric",
41126
+ labelClass: "oasis-editor-tool-metric-label",
41127
+ get title() {
41128
+ return t("metric.spacingAfter");
41129
+ },
41130
+ get label() {
41131
+ return t("metric.after");
41132
+ },
41133
+ controlClass: "oasis-editor-tool-number",
41134
+ "data-testid": "editor-toolbar-spacing-after",
41135
+ min: "0",
41136
+ step: "1",
41137
+ get value() {
41138
+ return numValue(api, "setSpacingAfter");
41139
+ },
41140
+ onChange: (value) => api.commands.execute("setSpacingAfter", value == null ? "" : String(value))
41141
+ }), null);
41142
+ insert(_el$2, createComponent(NumberField, {
41143
+ "class": "oasis-editor-tool-metric",
41144
+ labelClass: "oasis-editor-tool-metric-label",
41145
+ get title() {
41146
+ return t("metric.leftIndent");
41147
+ },
41148
+ get label() {
41149
+ return t("metric.indent");
41150
+ },
41151
+ controlClass: "oasis-editor-tool-number",
41152
+ "data-testid": "editor-toolbar-indent-left",
41153
+ min: "0",
41154
+ step: "1",
41155
+ get value() {
41156
+ return numValue(api, "setIndentLeft");
41157
+ },
41158
+ onChange: (value) => api.commands.execute("setIndentLeft", value == null ? "" : String(value))
41159
+ }), null);
41160
+ insert(_el$2, createComponent(NumberField, {
41161
+ "class": "oasis-editor-tool-metric",
41162
+ labelClass: "oasis-editor-tool-metric-label",
41163
+ get title() {
41164
+ return t("metric.firstLineIndent");
41165
+ },
41166
+ get label() {
41167
+ return t("metric.first");
41168
+ },
41169
+ controlClass: "oasis-editor-tool-number",
41170
+ "data-testid": "editor-toolbar-indent-first-line",
41171
+ step: "1",
41172
+ get value() {
41173
+ return numValue(api, "setIndentFirstLine");
41174
+ },
41175
+ onChange: (value) => api.commands.execute("setIndentFirstLine", value == null ? "" : String(value))
41176
+ }), null);
41177
+ insert(_el$2, createComponent(NumberField, {
41178
+ "class": "oasis-editor-tool-metric",
41179
+ labelClass: "oasis-editor-tool-metric-label",
41180
+ get title() {
41181
+ return t("metric.hangingIndent");
41182
+ },
41183
+ get label() {
41184
+ return t("metric.hang");
41185
+ },
41186
+ controlClass: "oasis-editor-tool-number",
41187
+ "data-testid": "editor-toolbar-indent-hanging",
41188
+ min: "0",
41189
+ step: "1",
41190
+ get value() {
41191
+ return numValue(api, "setIndentHanging");
41192
+ },
41193
+ onChange: (value) => api.commands.execute("setIndentHanging", value == null ? "" : String(value))
41194
+ }), null);
41195
+ insert(_el$2, createComponent(TextField, {
41196
+ "class": "oasis-editor-tool-color",
41197
+ labelClass: "oasis-editor-tool-metric-label",
41198
+ get title() {
41199
+ return t("metric.paragraphBgColor");
41200
+ },
41201
+ get label() {
41202
+ return t("metric.paraBg");
41203
+ },
41204
+ type: "color",
41205
+ controlClass: "oasis-editor-tool-color-input",
41206
+ "data-testid": "editor-toolbar-paragraph-shading",
41207
+ get value() {
41208
+ return numValue(api, "setParagraphShading") || "#ffffff";
41209
+ },
41210
+ onChange: (value) => api.commands.execute("setParagraphShading", value)
41211
+ }), null);
40835
41212
  insert(_el$2, createComponent(Button$1, {
40836
41213
  icon: "frame",
40837
41214
  "data-testid": "editor-toolbar-paragraph-borders",
@@ -40840,32 +41217,11 @@ function MetricGroup(props) {
40840
41217
  return t("metric.applyBorders");
40841
41218
  }
40842
41219
  }), null);
40843
- createRenderEffect((_p$) => {
40844
- var _v$ = t("metric.spacingAfter"), _v$2 = t("metric.leftIndent"), _v$3 = t("metric.firstLineIndent"), _v$4 = t("metric.hangingIndent"), _v$5 = t("metric.paragraphBgColor");
40845
- _v$ !== _p$.e && setAttribute(_el$3, "title", _p$.e = _v$);
40846
- _v$2 !== _p$.t && setAttribute(_el$6, "title", _p$.t = _v$2);
40847
- _v$3 !== _p$.a && setAttribute(_el$9, "title", _p$.a = _v$3);
40848
- _v$4 !== _p$.o && setAttribute(_el$10, "title", _p$.o = _v$4);
40849
- _v$5 !== _p$.i && setAttribute(_el$13, "title", _p$.i = _v$5);
40850
- return _p$;
40851
- }, {
40852
- e: void 0,
40853
- t: void 0,
40854
- a: void 0,
40855
- o: void 0,
40856
- i: void 0
40857
- });
40858
- createRenderEffect(() => _el$5.value = numValue(api, "setSpacingAfter"));
40859
- createRenderEffect(() => _el$8.value = numValue(api, "setIndentLeft"));
40860
- createRenderEffect(() => _el$1.value = numValue(api, "setIndentFirstLine"));
40861
- createRenderEffect(() => _el$12.value = numValue(api, "setIndentHanging"));
40862
- createRenderEffect(() => _el$15.value = numValue(api, "setParagraphShading") || "#ffffff");
40863
41220
  return _el$2;
40864
41221
  })()];
40865
41222
  }
40866
41223
  });
40867
41224
  }
40868
- delegateEvents(["input"]);
40869
41225
  var _tmpl$$4 = /* @__PURE__ */ template(`<div class="oasis-editor-toolbar-panel-section oasis-editor-toolbar-panel-actions">`), _tmpl$2$2 = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-badge data-testid=editor-table-selection-label>`);
40870
41226
  function TableGroup(props) {
40871
41227
  const t = useI18n();
@@ -42696,7 +43052,7 @@ export {
42696
43052
  paragraphOffsetToPosition as Z,
42697
43053
  clampPosition as _,
42698
43054
  getPageBodyBottom as a,
42699
- EMU_PER_PX as a$,
43055
+ resolveEffectiveTextStyleForParagraph as a$,
42700
43056
  createCollapsedSelection as a0,
42701
43057
  isSelectionCollapsed as a1,
42702
43058
  parseFontSizePtToPx as a2,
@@ -42707,33 +43063,33 @@ export {
42707
43063
  PT_PER_PX as a7,
42708
43064
  createEditorTableCell as a8,
42709
43065
  createEditorTableRow as a9,
42710
- Tabs as aA,
42711
- FieldRow as aB,
42712
- NumberField as aC,
42713
- createStore as aD,
42714
- reconcile as aE,
42715
- addEventListener as aF,
42716
- onMount as aG,
42717
- onCleanup as aH,
42718
- use as aI,
42719
- PluginUiHost as aJ,
42720
- OasisEditorEditor as aK,
42721
- OasisBrandMark as aL,
42722
- setPreciseFontPreference as aM,
42723
- setWelcomeSeen as aN,
42724
- enablePreciseFontMode as aO,
42725
- TWIPS_PER_POINT as aP,
42726
- PX_PER_INCH as aQ,
42727
- TWIPS_PER_INCH as aR,
42728
- normalizeHex6 as aS,
42729
- TABLE_CONDITIONAL_FLAG_ATTRIBUTES as aT,
42730
- TABLE_BORDER_EDGE_KEYS as aU,
42731
- resolveEffectiveParagraphStyle as aV,
42732
- resolveEffectiveTextStyleForParagraph as aW,
42733
- EMU_PER_PT as aX,
42734
- OOXML_ROTATION_UNITS as aY,
42735
- OOXML_PERCENT_DENOMINATOR as aZ,
42736
- parseHexColorToRgb255 as a_,
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_,
42737
43093
  createEditorTable as aa,
42738
43094
  PX_PER_POINT as ab,
42739
43095
  underlineStyleToCssDecorationStyle as ac,
@@ -42759,155 +43115,162 @@ export {
42759
43115
  SelectField as aw,
42760
43116
  UNDERLINE_STYLE_OPTIONS as ax,
42761
43117
  delegateEvents as ay,
42762
- Checkbox as az,
43118
+ Text$1 as az,
42763
43119
  getPageBodyTop as b,
42764
- debounce as b$,
42765
- getRunEndnoteReference as b0,
42766
- iterateFootnoteReferenceRuns as b1,
42767
- iterateEndnoteReferenceRuns as b2,
42768
- imageContentTypeDefaults as b3,
42769
- getRunFieldChar as b4,
42770
- getRunFieldInstruction as b5,
42771
- createEditorRun as b6,
42772
- JSZip as b7,
42773
- imageExtensionFromMime as b8,
42774
- pxToPt as b9,
42775
- buildCanvasTableLayout as bA,
42776
- resolveCanvasTableWidth as bB,
42777
- resolveFloatingTableRect as bC,
42778
- normalizeFamily as bD,
42779
- ROBOTO_FONT_FILES as bE,
42780
- loadFontAsset as bF,
42781
- OFFICE_COMPAT_FONT_FAMILIES as bG,
42782
- BinaryReader as bH,
42783
- buildSfnt as bI,
42784
- defaultFontDecoderRegistry as bJ,
42785
- SfntFontProgram as bK,
42786
- collectPdfFontFamilies as bL,
42787
- outlineFrom as bM,
42788
- getPageHeaderZoneTop as bN,
42789
- getPageColumnRects as bO,
42790
- findFootnoteReference as bP,
42791
- resolveImporterForFile as bQ,
42792
- roundTo as bR,
42793
- getDocumentSectionsCanonical as bS,
42794
- getDocumentParagraphsCanonical as bT,
42795
- getDocumentParagraphs as bU,
42796
- getDocumentPageSettings as bV,
42797
- getTableCellContentWidthForParagraph as bW,
42798
- layoutMetricsEpoch as bX,
42799
- bumpLayoutMetricsEpoch as bY,
42800
- createCanvasLayoutSnapshotProvider as bZ,
42801
- on as b_,
42802
- resolveFloatingObjectRect as ba,
42803
- getTextBoxFloatingGeometry as bb,
42804
- getPresetPathSegments as bc,
42805
- buildListLabels as bd,
42806
- DEFAULT_FONT_SIZE_PX as be,
42807
- resolveGradientAxis as bf,
42808
- isDoubleUnderlineStyle as bg,
42809
- isWavyUnderlineStyle as bh,
42810
- underlineStyleLineWidthPx as bi,
42811
- WAVY_UNDERLINE_WAVELENGTH_PX as bj,
42812
- WAVY_UNDERLINE_AMPLITUDE_PX as bk,
42813
- DOUBLE_UNDERLINE_OFFSET_PX as bl,
42814
- underlineStyleDashArray as bm,
42815
- EMPHASIS_GLYPH as bn,
42816
- rgb255ToHex as bo,
42817
- getImageFloatingGeometry as bp,
42818
- textStyleToFontSizePt as bq,
42819
- TEXT_BASELINE_RATIO as br,
42820
- resolveOpenTypeFeatureTags as bs,
42821
- resolveDecorationLineY as bt,
42822
- DOUBLE_STRIKE_OFFSET_PX as bu,
42823
- resolveListLabel as bv,
42824
- getListLabelInset as bw,
42825
- getAlignedListLabelInset as bx,
42826
- getParagraphBorderInsets as by,
42827
- buildSegmentTable as bz,
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,
42828
43184
  getPageContentWidth as c,
42829
- PluginCollection as c$,
42830
- unwrap as c0,
42831
- perfTimer as c1,
42832
- getRunTextBox as c2,
42833
- createEditorDocument as c3,
42834
- resolveResizedDimensions as c4,
42835
- resolveTextBoxRenderHeight as c5,
42836
- getToolbarStyleState as c6,
42837
- VERTICAL_HIT_WEIGHT as c7,
42838
- getCachedCanvasImage as c8,
42839
- measureParagraphMinContentWidthPx as c9,
42840
- createOasisEditorClient as cA,
42841
- createEditorZoom as cB,
42842
- startLongTaskObserver as cC,
42843
- installGlobalReport as cD,
42844
- applyStoredPreciseFontPreference as cE,
42845
- getWelcomeSeen as cF,
42846
- isLocalFontAccessSupported as cG,
42847
- EDITOR_SCROLL_PADDING_PX as cH,
42848
- Toolbar as cI,
42849
- OasisEditorLoading as cJ,
42850
- I18nProvider as cK,
42851
- createTranslator as cL,
42852
- createEditorLogger as cM,
42853
- registerDomStatsSurface as cN,
42854
- ColorPicker as cO,
42855
- CommandRegistry as cP,
42856
- DEFAULT_PALETTE as cQ,
42857
- DialogFooter as cR,
42858
- FloatingActionButton as cS,
42859
- GridPicker as cT,
42860
- IconButton as cU,
42861
- Menu as cV,
42862
- OASIS_BUILTIN_COMMANDS as cW,
42863
- OASIS_MENU_ITEMS as cX,
42864
- OASIS_TOOLBAR_ITEMS as cY,
42865
- OasisEditorAppLazy as cZ,
42866
- OasisEditorContainer as c_,
42867
- getEditableBlocksForZone as ca,
42868
- findParagraphLocation as cb,
42869
- createSectionBoundaryParagraph as cc,
42870
- normalizePageSettings as cd,
42871
- DEFAULT_EDITOR_PAGE_SETTINGS as ce,
42872
- markStart as cf,
42873
- markEnd as cg,
42874
- getParagraphEntries as ch,
42875
- getParagraphById as ci,
42876
- createEditorFootnote as cj,
42877
- createFootnoteReferenceRun as ck,
42878
- renumberFootnotes as cl,
42879
- getHeadingLevel as cm,
42880
- preciseFontModeVersion as cn,
42881
- isPreciseFontModeEnabled as co,
42882
- resolveNamedTextStyle as cp,
42883
- togglePreciseFontMode as cq,
42884
- nextFontSizePt as cr,
42885
- previousFontSizePt as cs,
42886
- fontSizePtToPx as ct,
42887
- createDefaultToolbarPreset as cu,
42888
- MenuRegistry as cv,
42889
- createToolbarRegistry as cw,
42890
- Editor as cx,
42891
- resolveCommandRef as cy,
42892
- commandRefName as cz,
43185
+ 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,
43215
+ ColorPicker as cT,
43216
+ CommandRegistry as cU,
43217
+ DEFAULT_PALETTE as cV,
43218
+ DialogFooter as cW,
43219
+ FloatingActionButton as cX,
43220
+ FormField as cY,
43221
+ GridPicker as cZ,
43222
+ 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,
42893
43249
  domTextMeasurer as d,
42894
- Popover as d0,
42895
- RIBBON_TABS as d1,
42896
- Select as d2,
42897
- Separator as d3,
42898
- SidePanel as d4,
42899
- SidePanelBody as d5,
42900
- SidePanelFooter as d6,
42901
- SidePanelHeader as d7,
42902
- SplitButton as d8,
42903
- StyleGallery as d9,
42904
- Button$1 as da,
42905
- buildRibbonTabDefinitions as db,
42906
- createEditorCommandBus as dc,
42907
- createOasisEditor as dd,
42908
- createOasisEditorContainer as de,
42909
- mount as df,
42910
- registerToolbarRenderer as dg,
43250
+ Menu as d0,
43251
+ OASIS_BUILTIN_COMMANDS as d1,
43252
+ OASIS_MENU_ITEMS as d2,
43253
+ OASIS_TOOLBAR_ITEMS as d3,
43254
+ OasisEditorAppLazy as d4,
43255
+ OasisEditorContainer as d5,
43256
+ PluginCollection as d6,
43257
+ Popover as d7,
43258
+ RIBBON_TABS as d8,
43259
+ Select as d9,
43260
+ Separator as da,
43261
+ SidePanel as db,
43262
+ SidePanelBody as dc,
43263
+ SidePanelFooter as dd,
43264
+ SidePanelHeader as de,
43265
+ SplitButton as df,
43266
+ StyleGallery as dg,
43267
+ Button$1 as dh,
43268
+ buildRibbonTabDefinitions as di,
43269
+ createEditorCommandBus as dj,
43270
+ createOasisEditor as dk,
43271
+ createOasisEditorContainer as dl,
43272
+ mount as dm,
43273
+ registerToolbarRenderer as dn,
42911
43274
  estimateTableBlockHeight as e,
42912
43275
  getParagraphText as f,
42913
43276
  getProjectedParagraphBlockHeight as g,