oasis-editor 0.0.132 → 0.0.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{OasisEditorApp-D-v1-Asf.js → OasisEditorApp-DmXn9H33.js} +9 -3
- package/dist/{index-DEBNBBUG.js → index-BOj4-NlJ.js} +425 -396
- package/dist/oasis-editor.css +1 -1
- package/dist/oasis-editor.js +49 -49
- package/dist/oasis-editor.umd.cjs +4 -4
- package/dist/ui/components/Toolbar/LineSpacingButton.d.ts +10 -0
- package/dist/ui/components/Toolbar/primitives/DropdownChevron.d.ts +20 -0
- package/dist/ui/utils/customIcons.d.ts +30 -0
- package/package.json +1 -1
|
@@ -2562,14 +2562,14 @@ function I18nProvider(props) {
|
|
|
2562
2562
|
});
|
|
2563
2563
|
}
|
|
2564
2564
|
const oasisMarkBase64 = "UklGRmQXAABXRUJQVlA4IFgXAACwWwCdASrAAAABPjEWiUMiISESyL50IAMEswHYDxjW/947Oi5/a/7H+1P90/ar5n65/UvwH+Q/QZm27Sf5n9r/I/5m/2n/p+wv9E/9j3AP07/0X92/HLuKeYL+mf4r/zf3f3tf9x+rnvH/z/qAfzf/J/9/sM/QX/bv02P28+Fb9s/2s+B39h//51gH//6yfrV/QO1z/CdMx6vl0OAGqD8Z+4X6H+9/up8b/6vvP+IeoL+Lfyr/CflxwuoAPz7+0/7T1iPk/9p6R/zXqAflpxyVAX8y+hD/5/6f0W/UX7UfAl/Ov75/zOxr6SR2HAT+kJLsdULBbdVn3b+sl8uZdjuThjIe3NwBwjfGz5SniiBN2m7i7b0hA/wxE1PuC+4EcbOyjUkU3CDDghPY1Va4tpUped9TFa05Qb1z7O+Ye73ccvEl10Sgdj6Hhy71hb/XpA23GjXBN/obAlaswz9gKwvW9d9npbC69rQeTm6DEr/cjrNngjQaHgFGjh4uVY1bY9Q+/iG037f80w0bLlYIe7smzz4tG1kC8r/KyWvzd3IXXrR2bKmhoB3Md69ltbERYFBI/2f+w7J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wcfwADHiInAdeqVgyLiABR8P6u+q5XYOLFlS5rZ1Kpe7uqoHg6rIvAN/gVp/JR0jDVURc9CTdVvWQNne/upBb3VgGGhdLlbcfVEjHw5HwHeOjIx3HP/lXoWaUdTbiLB7DDLQD+VOaVqCh9An7btAcCd6RzgEW165Hqx2ZXLlq8OLCczkDlN8rCAtz8O+4AzSyPK8grVM8ObUU+qc6ZGcCgxaVvvbiTPP2kb765qIU5/Dj+q60L9YPOU6t+1FP6od8x4iXUpAtBsclYfJhOrwv66P13ocoB3LV1x09Eb5wq33vepBq3qYQJQyOHbj/jl4eLRUxXLQgLorpnB4HNs4v40tGGosw2Ka6eDt5K6P8DQK5ozy56BizczJenDjZ5DYx1Xu3YLmI/quRSR8ORIJqwhWFwM+Q8/gNfUL/YgQHlHmfhYi5vjU0TzsgnLyhP/kOFSnR9zjJkIMcYAFB/Ft1tfks1aQiBMtgP4sabdMsauWXINaIyR9ClOZLdIZQVGHUgLjxKW6YiFUs72zTJmKtf/RovsidqZlmEXrWGZ3UuGplChFUtjEkvwi2XxICgc0grD+9/tRt47usAAADGbVjPUInsKZHILQ8Tdvbj09q/9k2Mg7uynD2e+HudOmr+jOK+SyWmKsSZ4pH89FUSffyxPKUMVNp8o1m1apG/WDvwhmHllHVfELy0BgfyAIevaAuIOzl4NX3ayQnv+tsCnIGxjvF1IwPLyoflKFrL2OBFh3pJ57ChDdzSC9IDKqpaycKVMm2mWUPGBLK2cpD+b4VPleMoNCtKZz4AileaHHtk77gduJB8sihmMPR1lV1Vba4pOywdJgGueqt4IcTd2RJFxeSRNjuzHcR4tYGdli66ijJZC20ODhr8miT+cauMIflgiAAAAA=";
|
|
2565
|
-
var _tmpl$$
|
|
2565
|
+
var _tmpl$$14 = /* @__PURE__ */ template(`<img alt aria-hidden=true>`);
|
|
2566
2566
|
const OASIS_MARK_DATA_URI = `data:image/webp;base64,${oasisMarkBase64}`;
|
|
2567
2567
|
const MARK_ASPECT = 3 / 4;
|
|
2568
2568
|
function OasisBrandMark(props) {
|
|
2569
2569
|
const height = () => props.height ?? 64;
|
|
2570
2570
|
const width = () => Math.round(height() * MARK_ASPECT);
|
|
2571
2571
|
return (() => {
|
|
2572
|
-
var _el$ = _tmpl$$
|
|
2572
|
+
var _el$ = _tmpl$$14();
|
|
2573
2573
|
setAttribute(_el$, "src", OASIS_MARK_DATA_URI);
|
|
2574
2574
|
setAttribute(_el$, "draggable", false);
|
|
2575
2575
|
createRenderEffect((_p$) => {
|
|
@@ -2586,7 +2586,7 @@ function OasisBrandMark(props) {
|
|
|
2586
2586
|
return _el$;
|
|
2587
2587
|
})();
|
|
2588
2588
|
}
|
|
2589
|
-
var _tmpl$$
|
|
2589
|
+
var _tmpl$$13 = /* @__PURE__ */ template(`<div class=oasis-editor-import-progress-label>`), _tmpl$2$E = /* @__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$r = /* @__PURE__ */ template(`<span class=oasis-editor-import-done-icon>Done`);
|
|
2590
2590
|
function OasisEditorLoading(props) {
|
|
2591
2591
|
const t = useI18n();
|
|
2592
2592
|
const variant = () => props.variant ?? "overlay";
|
|
@@ -2607,7 +2607,7 @@ function OasisEditorLoading(props) {
|
|
|
2607
2607
|
return pct() != null;
|
|
2608
2608
|
},
|
|
2609
2609
|
get children() {
|
|
2610
|
-
var _el$6 = _tmpl$$
|
|
2610
|
+
var _el$6 = _tmpl$$13();
|
|
2611
2611
|
insert(_el$6, (() => {
|
|
2612
2612
|
var _c$ = memo(() => !!isDone());
|
|
2613
2613
|
return () => _c$() ? _tmpl$3$r() : `${pct()}%`;
|
|
@@ -2661,7 +2661,7 @@ function OasisEditorAppLazy(props = {}) {
|
|
|
2661
2661
|
onCleanup(() => {
|
|
2662
2662
|
cancelled = true;
|
|
2663
2663
|
});
|
|
2664
|
-
import("./OasisEditorApp-
|
|
2664
|
+
import("./OasisEditorApp-DmXn9H33.js").then((m) => {
|
|
2665
2665
|
cancelled = true;
|
|
2666
2666
|
setProgress(1);
|
|
2667
2667
|
setTimeout(() => setApp(() => m.OasisEditorApp), 180);
|
|
@@ -5259,12 +5259,81 @@ function mount(target, props = {}) {
|
|
|
5259
5259
|
unmount: () => client.dispose()
|
|
5260
5260
|
});
|
|
5261
5261
|
}
|
|
5262
|
-
var _tmpl$$
|
|
5263
|
-
|
|
5264
|
-
|
|
5262
|
+
var _tmpl$$12 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg aria-hidden=true>`), _tmpl$2$D = /* @__PURE__ */ template(`<svg><text x=2 y=18 font-family="'Segoe UI', Arial, sans-serif"font-size=14 font-weight=700 fill=currentColor>ab</svg>`, false, true, false), _tmpl$3$q = /* @__PURE__ */ template(`<svg><text x=15.5 y=11 font-family="'Segoe UI', Arial, sans-serif"font-size=10 font-weight=700 fill=#c00000>1</svg>`, false, true, false), _tmpl$4$i = /* @__PURE__ */ template(`<svg><g><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></svg>`, false, true, false), _tmpl$5$b = /* @__PURE__ */ template(`<svg><polyline points="4 7 7 4 10 7"></svg>`, false, true, false), _tmpl$6$8 = /* @__PURE__ */ template(`<svg><line x1=7 y1=4 x2=7 y2=20></svg>`, false, true, false), _tmpl$7$3 = /* @__PURE__ */ template(`<svg><polyline points="4 17 7 20 10 17"></svg>`, false, true, false), _tmpl$8$2 = /* @__PURE__ */ template(`<svg><line x1=13 y1=6 x2=21 y2=6></svg>`, false, true, false), _tmpl$9$1 = /* @__PURE__ */ template(`<svg><line x1=13 y1=12 x2=21 y2=12></svg>`, false, true, false), _tmpl$0$1 = /* @__PURE__ */ template(`<svg><line x1=13 y1=18 x2=21 y2=18></svg>`, false, true, false), _tmpl$1$1 = /* @__PURE__ */ template(`<svg><polyline points="20 6 9 17 4 12"></svg>`, false, true, false), _tmpl$10 = /* @__PURE__ */ template(`<i>`);
|
|
5263
|
+
function SvgIcon(props) {
|
|
5264
|
+
return (() => {
|
|
5265
|
+
var _el$ = _tmpl$$12();
|
|
5266
|
+
insert(_el$, () => props.children);
|
|
5267
|
+
createRenderEffect((_p$) => {
|
|
5268
|
+
var _v$ = props.width ?? 24, _v$2 = props.height ?? 24, _v$3 = props.viewBox ?? "0 0 24 24", _v$4 = props.fill ?? "none", _v$5 = props.stroke, _v$6 = props["stroke-width"], _v$7 = props["stroke-linecap"], _v$8 = props["stroke-linejoin"], _v$9 = props.class;
|
|
5269
|
+
_v$ !== _p$.e && setAttribute(_el$, "width", _p$.e = _v$);
|
|
5270
|
+
_v$2 !== _p$.t && setAttribute(_el$, "height", _p$.t = _v$2);
|
|
5271
|
+
_v$3 !== _p$.a && setAttribute(_el$, "viewBox", _p$.a = _v$3);
|
|
5272
|
+
_v$4 !== _p$.o && setAttribute(_el$, "fill", _p$.o = _v$4);
|
|
5273
|
+
_v$5 !== _p$.i && setAttribute(_el$, "stroke", _p$.i = _v$5);
|
|
5274
|
+
_v$6 !== _p$.n && setAttribute(_el$, "stroke-width", _p$.n = _v$6);
|
|
5275
|
+
_v$7 !== _p$.s && setAttribute(_el$, "stroke-linecap", _p$.s = _v$7);
|
|
5276
|
+
_v$8 !== _p$.h && setAttribute(_el$, "stroke-linejoin", _p$.h = _v$8);
|
|
5277
|
+
_v$9 !== _p$.r && setAttribute(_el$, "class", _p$.r = _v$9);
|
|
5278
|
+
return _p$;
|
|
5279
|
+
}, {
|
|
5280
|
+
e: void 0,
|
|
5281
|
+
t: void 0,
|
|
5282
|
+
a: void 0,
|
|
5283
|
+
o: void 0,
|
|
5284
|
+
i: void 0,
|
|
5285
|
+
n: void 0,
|
|
5286
|
+
s: void 0,
|
|
5287
|
+
h: void 0,
|
|
5288
|
+
r: void 0
|
|
5289
|
+
});
|
|
5290
|
+
return _el$;
|
|
5291
|
+
})();
|
|
5292
|
+
}
|
|
5293
|
+
const FootnoteIcon = () => createComponent(SvgIcon, {
|
|
5294
|
+
fill: "none",
|
|
5295
|
+
get children() {
|
|
5296
|
+
return [_tmpl$2$D(), _tmpl$3$q()];
|
|
5297
|
+
}
|
|
5298
|
+
});
|
|
5299
|
+
const SpecialIndentFirstLineIcon = () => createComponent(SvgIcon, {
|
|
5300
|
+
fill: "currentColor",
|
|
5301
|
+
get children() {
|
|
5302
|
+
return _tmpl$4$i();
|
|
5303
|
+
}
|
|
5304
|
+
});
|
|
5305
|
+
const LineSpacingIcon = () => createComponent(SvgIcon, {
|
|
5306
|
+
width: 18,
|
|
5307
|
+
height: 18,
|
|
5308
|
+
stroke: "currentColor",
|
|
5309
|
+
"stroke-width": 2,
|
|
5310
|
+
"stroke-linecap": "round",
|
|
5311
|
+
"stroke-linejoin": "round",
|
|
5312
|
+
get children() {
|
|
5313
|
+
return [_tmpl$5$b(), _tmpl$6$8(), _tmpl$7$3(), _tmpl$8$2(), _tmpl$9$1(), _tmpl$0$1()];
|
|
5314
|
+
}
|
|
5315
|
+
});
|
|
5316
|
+
const CheckIcon = (props) => createComponent(SvgIcon, {
|
|
5317
|
+
get width() {
|
|
5318
|
+
return props.size ?? 14;
|
|
5319
|
+
},
|
|
5320
|
+
get height() {
|
|
5321
|
+
return props.size ?? 14;
|
|
5322
|
+
},
|
|
5323
|
+
viewBox: "0 0 24 24",
|
|
5324
|
+
fill: "none",
|
|
5325
|
+
stroke: "currentColor",
|
|
5326
|
+
"stroke-width": 2.5,
|
|
5327
|
+
"stroke-linecap": "round",
|
|
5328
|
+
"stroke-linejoin": "round",
|
|
5329
|
+
get children() {
|
|
5330
|
+
return _tmpl$1$1();
|
|
5331
|
+
}
|
|
5332
|
+
});
|
|
5265
5333
|
const CUSTOM_ICONS = {
|
|
5266
5334
|
footnote: FootnoteIcon,
|
|
5267
|
-
specialIndentFirstLine: SpecialIndentFirstLineIcon
|
|
5335
|
+
specialIndentFirstLine: SpecialIndentFirstLineIcon,
|
|
5336
|
+
lineSpacing: LineSpacingIcon
|
|
5268
5337
|
};
|
|
5269
5338
|
function getCustomIcon(name) {
|
|
5270
5339
|
return name ? CUSTOM_ICONS[name] : void 0;
|
|
@@ -5276,19 +5345,19 @@ function ToolIcon(props) {
|
|
|
5276
5345
|
},
|
|
5277
5346
|
get fallback() {
|
|
5278
5347
|
return (() => {
|
|
5279
|
-
var _el$
|
|
5280
|
-
createRenderEffect(() => setAttribute(_el$
|
|
5281
|
-
return _el$
|
|
5348
|
+
var _el$10 = _tmpl$10();
|
|
5349
|
+
createRenderEffect(() => setAttribute(_el$10, "data-lucide", props.name));
|
|
5350
|
+
return _el$10;
|
|
5282
5351
|
})();
|
|
5283
5352
|
},
|
|
5284
5353
|
children: (render2) => render2()()
|
|
5285
5354
|
});
|
|
5286
5355
|
}
|
|
5287
|
-
var _tmpl$$
|
|
5356
|
+
var _tmpl$$11 = /* @__PURE__ */ template(`<button>`);
|
|
5288
5357
|
function SurfaceButton(props) {
|
|
5289
5358
|
const [local, others] = splitProps(props, ["type", "icon", "label", "variant", "size", "active", "class", "classList", "children"]);
|
|
5290
5359
|
return (() => {
|
|
5291
|
-
var _el$ = _tmpl$$
|
|
5360
|
+
var _el$ = _tmpl$$11();
|
|
5292
5361
|
spread(_el$, mergeProps({
|
|
5293
5362
|
get type() {
|
|
5294
5363
|
return local.type ?? "button";
|
|
@@ -5349,7 +5418,7 @@ function Text$1(props) {
|
|
|
5349
5418
|
}
|
|
5350
5419
|
}));
|
|
5351
5420
|
}
|
|
5352
|
-
var _tmpl
|
|
5421
|
+
var _tmpl$$10 = /* @__PURE__ */ template(`<div class=oasis-menubar role=menubar>`), _tmpl$2$C = /* @__PURE__ */ template(`<div class=oasis-menubar-dropdown role=menu>`), _tmpl$3$p = /* @__PURE__ */ template(`<div class=oasis-menubar-menu>`), _tmpl$4$h = /* @__PURE__ */ template(`<div class=oasis-menubar-separator role=separator>`), _tmpl$5$a = /* @__PURE__ */ template(`<i class=oasis-menubar-submenu-icon data-lucide=chevron-right>`), _tmpl$6$7 = /* @__PURE__ */ template(`<div class=oasis-menubar-submenu role=menu>`);
|
|
5353
5422
|
function Menubar(props) {
|
|
5354
5423
|
const t = useI18n();
|
|
5355
5424
|
const [activeMenu, setActiveMenu] = createSignal(null);
|
|
@@ -5417,7 +5486,7 @@ function Menubar(props) {
|
|
|
5417
5486
|
});
|
|
5418
5487
|
const topLevelItems = () => pruneTree(menuTree());
|
|
5419
5488
|
return (() => {
|
|
5420
|
-
var _el$ = _tmpl
|
|
5489
|
+
var _el$ = _tmpl$$10();
|
|
5421
5490
|
insert(_el$, createComponent(For, {
|
|
5422
5491
|
get each() {
|
|
5423
5492
|
return topLevelItems();
|
|
@@ -5489,7 +5558,7 @@ function MenuNode(props) {
|
|
|
5489
5558
|
} = props;
|
|
5490
5559
|
const isSeparator = (_a = node.item) == null ? void 0 : _a.separator;
|
|
5491
5560
|
if (isSeparator) {
|
|
5492
|
-
return _tmpl$4$
|
|
5561
|
+
return _tmpl$4$h();
|
|
5493
5562
|
}
|
|
5494
5563
|
const hasChildren = node.children.length > 0;
|
|
5495
5564
|
const [showSub, setShowSub] = createSignal(false);
|
|
@@ -5565,14 +5634,14 @@ function MenuNode(props) {
|
|
|
5565
5634
|
}), createComponent(Show, {
|
|
5566
5635
|
when: hasChildren,
|
|
5567
5636
|
get children() {
|
|
5568
|
-
return _tmpl$5$
|
|
5637
|
+
return _tmpl$5$a();
|
|
5569
5638
|
}
|
|
5570
5639
|
}), createComponent(Show, {
|
|
5571
5640
|
get when() {
|
|
5572
5641
|
return showSub() && hasChildren;
|
|
5573
5642
|
},
|
|
5574
5643
|
get children() {
|
|
5575
|
-
var _el$6 = _tmpl$6$
|
|
5644
|
+
var _el$6 = _tmpl$6$7();
|
|
5576
5645
|
insert(_el$6, createComponent(For, {
|
|
5577
5646
|
get each() {
|
|
5578
5647
|
return node.children;
|
|
@@ -5591,10 +5660,10 @@ function MenuNode(props) {
|
|
|
5591
5660
|
}
|
|
5592
5661
|
});
|
|
5593
5662
|
}
|
|
5594
|
-
var _tmpl
|
|
5663
|
+
var _tmpl$$$ = /* @__PURE__ */ template(`<div class=oasis-titlebar><div class=oasis-titlebar-left><div class=oasis-titlebar-menubar-slot>`);
|
|
5595
5664
|
function TitleBar(props) {
|
|
5596
5665
|
return (() => {
|
|
5597
|
-
var _el$ = _tmpl
|
|
5666
|
+
var _el$ = _tmpl$$$(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild;
|
|
5598
5667
|
insert(_el$3, () => props.children);
|
|
5599
5668
|
return _el$;
|
|
5600
5669
|
})();
|
|
@@ -5689,7 +5758,7 @@ function getCaretRectFromSnapshot(snapshot, position2, paragraphOffset) {
|
|
|
5689
5758
|
);
|
|
5690
5759
|
return rectFromBox(slot.left, slot.top, 1, slot.height || line.height);
|
|
5691
5760
|
}
|
|
5692
|
-
var _tmpl$$
|
|
5761
|
+
var _tmpl$$_ = /* @__PURE__ */ template(`<span class=oasis-outline-title>`), _tmpl$2$B = /* @__PURE__ */ template(`<div class=oasis-outline-list>`), _tmpl$3$o = /* @__PURE__ */ template(`<div class=oasis-outline-panel><div class=oasis-outline-header><button class=oasis-outline-toggle><i>`), _tmpl$4$g = /* @__PURE__ */ template(`<div class=oasis-outline-empty>`), _tmpl$5$9 = /* @__PURE__ */ template(`<div class=oasis-outline-item>`);
|
|
5693
5762
|
function OutlinePanel(props) {
|
|
5694
5763
|
const t = useI18n();
|
|
5695
5764
|
const [collapsed, setCollapsed] = createSignal(props.defaultCollapsed ?? false);
|
|
@@ -5766,7 +5835,7 @@ function OutlinePanel(props) {
|
|
|
5766
5835
|
return !collapsed();
|
|
5767
5836
|
},
|
|
5768
5837
|
get children() {
|
|
5769
|
-
var _el$3 = _tmpl$$
|
|
5838
|
+
var _el$3 = _tmpl$$_();
|
|
5770
5839
|
insert(_el$3, () => t("menu.view.outline") || "Outline");
|
|
5771
5840
|
return _el$3;
|
|
5772
5841
|
}
|
|
@@ -5784,7 +5853,7 @@ function OutlinePanel(props) {
|
|
|
5784
5853
|
},
|
|
5785
5854
|
get fallback() {
|
|
5786
5855
|
return (() => {
|
|
5787
|
-
var _el$7 = _tmpl$4$
|
|
5856
|
+
var _el$7 = _tmpl$4$g();
|
|
5788
5857
|
insert(_el$7, () => t("outline.empty"));
|
|
5789
5858
|
return _el$7;
|
|
5790
5859
|
})();
|
|
@@ -5795,7 +5864,7 @@ function OutlinePanel(props) {
|
|
|
5795
5864
|
return items();
|
|
5796
5865
|
},
|
|
5797
5866
|
children: (item) => (() => {
|
|
5798
|
-
var _el$8 = _tmpl$5$
|
|
5867
|
+
var _el$8 = _tmpl$5$9();
|
|
5799
5868
|
_el$8.$$click = () => props.onNavigate(item.anchor);
|
|
5800
5869
|
insert(_el$8, () => item.text);
|
|
5801
5870
|
createRenderEffect((_p$) => {
|
|
@@ -5834,7 +5903,7 @@ function OutlinePanel(props) {
|
|
|
5834
5903
|
})();
|
|
5835
5904
|
}
|
|
5836
5905
|
delegateEvents(["click"]);
|
|
5837
|
-
var _tmpl$$
|
|
5906
|
+
var _tmpl$$Z = /* @__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$A = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-item-wrapper style=display:flex;align-items:center;flex-shrink:0>`);
|
|
5838
5907
|
function ToolbarOverflowManager(props) {
|
|
5839
5908
|
const t = useI18n();
|
|
5840
5909
|
const [overflowCount, setOverflowCount] = createSignal(0);
|
|
@@ -5978,7 +6047,7 @@ function ToolbarOverflowManager(props) {
|
|
|
5978
6047
|
};
|
|
5979
6048
|
};
|
|
5980
6049
|
return (() => {
|
|
5981
|
-
var _el$ = _tmpl$$
|
|
6050
|
+
var _el$ = _tmpl$$Z(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.nextSibling, _el$5 = _el$4.firstChild, _el$6 = _el$4.nextSibling;
|
|
5982
6051
|
var _ref$ = containerRef;
|
|
5983
6052
|
typeof _ref$ === "function" ? use(_ref$, _el$) : containerRef = _el$;
|
|
5984
6053
|
var _ref$2 = moreMeasureRef;
|
|
@@ -6066,7 +6135,7 @@ function resolveLabel(item, api) {
|
|
|
6066
6135
|
if (item.labelKey) return api.t(item.labelKey);
|
|
6067
6136
|
return void 0;
|
|
6068
6137
|
}
|
|
6069
|
-
var _tmpl$$
|
|
6138
|
+
var _tmpl$$Y = /* @__PURE__ */ template(`<span>`), _tmpl$2$z = /* @__PURE__ */ template(`<button type=button>`);
|
|
6070
6139
|
function Button$1(props) {
|
|
6071
6140
|
const [local, others] = splitProps(props, ["icon", "label", "active", "tooltip", "wide", "ribbonSize", "aria-label", "class", "classList"]);
|
|
6072
6141
|
const ariaLabel = () => local["aria-label"] || local.tooltip || local.label || "";
|
|
@@ -6108,7 +6177,7 @@ function Button$1(props) {
|
|
|
6108
6177
|
return local.label;
|
|
6109
6178
|
},
|
|
6110
6179
|
get children() {
|
|
6111
|
-
var _el$2 = _tmpl$$
|
|
6180
|
+
var _el$2 = _tmpl$$Y();
|
|
6112
6181
|
insert(_el$2, () => local.label);
|
|
6113
6182
|
return _el$2;
|
|
6114
6183
|
}
|
|
@@ -6190,7 +6259,7 @@ function useDismiss(options) {
|
|
|
6190
6259
|
});
|
|
6191
6260
|
});
|
|
6192
6261
|
}
|
|
6193
|
-
var _tmpl$$
|
|
6262
|
+
var _tmpl$$X = /* @__PURE__ */ template(`<div>`);
|
|
6194
6263
|
function Popover(props) {
|
|
6195
6264
|
let anchorRef;
|
|
6196
6265
|
let panelRef;
|
|
@@ -6207,7 +6276,7 @@ function Popover(props) {
|
|
|
6207
6276
|
closeOnEscape: props.closeOnEscape
|
|
6208
6277
|
});
|
|
6209
6278
|
const panel = (portalled) => (() => {
|
|
6210
|
-
var _el$ = _tmpl$$
|
|
6279
|
+
var _el$ = _tmpl$$X();
|
|
6211
6280
|
addEventListener(_el$, "mouseleave", props.onPanelMouseLeave);
|
|
6212
6281
|
var _ref$ = panelRef;
|
|
6213
6282
|
typeof _ref$ === "function" ? use(_ref$, _el$) : panelRef = _el$;
|
|
@@ -6259,7 +6328,15 @@ function Popover(props) {
|
|
|
6259
6328
|
}
|
|
6260
6329
|
})];
|
|
6261
6330
|
}
|
|
6262
|
-
var _tmpl$$
|
|
6331
|
+
var _tmpl$$W = /* @__PURE__ */ template(`<i data-lucide=chevron-down>`);
|
|
6332
|
+
function DropdownChevron(props) {
|
|
6333
|
+
return (() => {
|
|
6334
|
+
var _el$ = _tmpl$$W();
|
|
6335
|
+
createRenderEffect(() => className(_el$, `oasis-editor-dropdown-chevron${props.class ? ` ${props.class}` : ""}`));
|
|
6336
|
+
return _el$;
|
|
6337
|
+
})();
|
|
6338
|
+
}
|
|
6339
|
+
var _tmpl$$V = /* @__PURE__ */ template(`<div>`), _tmpl$2$y = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-dropdown>`), _tmpl$3$n = /* @__PURE__ */ template(`<span class=oasis-editor-tool-button-label>`), _tmpl$4$f = /* @__PURE__ */ template(`<button type=button class="oasis-editor-tool-button oasis-editor-tool-button-dropdown"aria-haspopup=menu>`);
|
|
6263
6340
|
function Menu(props) {
|
|
6264
6341
|
const [open, setOpen] = createSignal(false);
|
|
6265
6342
|
const ariaLabel = () => props.tooltip || props.label || "";
|
|
@@ -6279,7 +6356,7 @@ function Menu(props) {
|
|
|
6279
6356
|
},
|
|
6280
6357
|
onPanelMouseLeave: void 0,
|
|
6281
6358
|
trigger: (api) => (() => {
|
|
6282
|
-
var _el$3 = _tmpl$
|
|
6359
|
+
var _el$3 = _tmpl$4$f();
|
|
6283
6360
|
_el$3.$$click = () => api.toggle();
|
|
6284
6361
|
use((el) => api.ref(el), _el$3);
|
|
6285
6362
|
insert(_el$3, createComponent(Show, {
|
|
@@ -6287,9 +6364,11 @@ function Menu(props) {
|
|
|
6287
6364
|
return props.icon;
|
|
6288
6365
|
},
|
|
6289
6366
|
get children() {
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6367
|
+
return createComponent(ToolIcon, {
|
|
6368
|
+
get name() {
|
|
6369
|
+
return props.icon;
|
|
6370
|
+
}
|
|
6371
|
+
});
|
|
6293
6372
|
}
|
|
6294
6373
|
}), null);
|
|
6295
6374
|
insert(_el$3, createComponent(Show, {
|
|
@@ -6297,9 +6376,9 @@ function Menu(props) {
|
|
|
6297
6376
|
return props.label;
|
|
6298
6377
|
},
|
|
6299
6378
|
get children() {
|
|
6300
|
-
var _el$
|
|
6301
|
-
insert(_el$
|
|
6302
|
-
return _el$
|
|
6379
|
+
var _el$4 = _tmpl$3$n();
|
|
6380
|
+
insert(_el$4, () => props.label);
|
|
6381
|
+
return _el$4;
|
|
6303
6382
|
}
|
|
6304
6383
|
}), null);
|
|
6305
6384
|
insert(_el$3, createComponent(Show, {
|
|
@@ -6307,7 +6386,7 @@ function Menu(props) {
|
|
|
6307
6386
|
return !props.hideChevron;
|
|
6308
6387
|
},
|
|
6309
6388
|
get children() {
|
|
6310
|
-
return
|
|
6389
|
+
return createComponent(DropdownChevron, {});
|
|
6311
6390
|
}
|
|
6312
6391
|
}), null);
|
|
6313
6392
|
createRenderEffect((_p$) => {
|
|
@@ -6422,7 +6501,7 @@ function Separator(props) {
|
|
|
6422
6501
|
return _el$;
|
|
6423
6502
|
})();
|
|
6424
6503
|
}
|
|
6425
|
-
var _tmpl$$S = /* @__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
|
|
6504
|
+
var _tmpl$$S = /* @__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>`);
|
|
6426
6505
|
function SplitButton(props) {
|
|
6427
6506
|
return createComponent(Popover, {
|
|
6428
6507
|
get open() {
|
|
@@ -6446,6 +6525,7 @@ function SplitButton(props) {
|
|
|
6446
6525
|
_el$2.$$click = () => props.onMain();
|
|
6447
6526
|
insert(_el$2, () => props.mainContent);
|
|
6448
6527
|
_el$3.$$click = () => api.toggle();
|
|
6528
|
+
insert(_el$3, createComponent(DropdownChevron, {}));
|
|
6449
6529
|
createRenderEffect((_p$) => {
|
|
6450
6530
|
var _v$ = props.rootClass ?? "oasis-editor-color-split", _v$2 = !!(props.rootActive ?? api.open), _v$3 = !!(props.ribbonSize === "large"), _v$4 = props.tooltip, _v$5 = props.mainTestId, _v$6 = props.mainAriaLabel ?? props.tooltip, _v$7 = props.mainPressed, _v$8 = !!api.open, _v$9 = props.menuTestId, _v$0 = props.menuAriaLabel ?? `${props.tooltip ?? ""} menu`, _v$1 = api.open;
|
|
6451
6531
|
_v$ !== _p$.e && className(_el$, _p$.e = _v$);
|
|
@@ -6481,7 +6561,7 @@ function SplitButton(props) {
|
|
|
6481
6561
|
});
|
|
6482
6562
|
}
|
|
6483
6563
|
delegateEvents(["click"]);
|
|
6484
|
-
var _tmpl$$R = /* @__PURE__ */ template(`<i data-lucide=type>`), _tmpl$2$w = /* @__PURE__ */ template(`<button type=button class=oasis-editor-color-menu-action role=menuitem><span class=oasis-editor-color-menu-action-swatch></span><span>`), _tmpl$3$l = /* @__PURE__ */ template(`<div class=oasis-editor-color-menu-section><div class=oasis-editor-color-menu-heading></div><div class=oasis-editor-color-theme-grid>`), _tmpl$4$
|
|
6564
|
+
var _tmpl$$R = /* @__PURE__ */ template(`<i data-lucide=type>`), _tmpl$2$w = /* @__PURE__ */ template(`<button type=button class=oasis-editor-color-menu-action role=menuitem><span class=oasis-editor-color-menu-action-swatch></span><span>`), _tmpl$3$l = /* @__PURE__ */ template(`<div class=oasis-editor-color-menu-section><div class=oasis-editor-color-menu-heading></div><div class=oasis-editor-color-theme-grid>`), _tmpl$4$e = /* @__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$8 = /* @__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(`<span>`), _tmpl$9 = /* @__PURE__ */ template(`<i data-lucide=slash>`), _tmpl$0 = /* @__PURE__ */ template(`<div class=oasis-editor-color-theme-column>`), _tmpl$1 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-color-swatch>`);
|
|
6485
6565
|
const normalizeColor = (value) => (value == null ? void 0 : value.trim().toLowerCase()) ?? "";
|
|
6486
6566
|
function ColorPicker(props) {
|
|
6487
6567
|
const [isOpen, setIsOpen] = createSignal(false);
|
|
@@ -6616,7 +6696,7 @@ function ColorPicker(props) {
|
|
|
6616
6696
|
}));
|
|
6617
6697
|
return _el$5;
|
|
6618
6698
|
})(), (() => {
|
|
6619
|
-
var _el$8 = _tmpl$4$
|
|
6699
|
+
var _el$8 = _tmpl$4$e(), _el$9 = _el$8.firstChild, _el$0 = _el$9.nextSibling;
|
|
6620
6700
|
insert(_el$9, () => props.standardColorsLabel);
|
|
6621
6701
|
insert(_el$0, createComponent(For, {
|
|
6622
6702
|
get each() {
|
|
@@ -6653,13 +6733,13 @@ function ColorPicker(props) {
|
|
|
6653
6733
|
},
|
|
6654
6734
|
get children() {
|
|
6655
6735
|
return [(() => {
|
|
6656
|
-
var _el$1 = _tmpl$5$
|
|
6736
|
+
var _el$1 = _tmpl$5$8(), _el$10 = _el$1.firstChild, _el$11 = _el$10.nextSibling;
|
|
6657
6737
|
_el$1.$$click = () => customColorInputRef == null ? void 0 : customColorInputRef.click();
|
|
6658
6738
|
insert(_el$11, () => props.moreColorsLabel);
|
|
6659
6739
|
createRenderEffect(() => setAttribute(_el$1, "data-testid", `${props.testId}-more-colors`));
|
|
6660
6740
|
return _el$1;
|
|
6661
6741
|
})(), (() => {
|
|
6662
|
-
var _el$12 = _tmpl$6$
|
|
6742
|
+
var _el$12 = _tmpl$6$6();
|
|
6663
6743
|
_el$12.$$input = (event) => applyColor(event.currentTarget.value);
|
|
6664
6744
|
var _ref$ = customColorInputRef;
|
|
6665
6745
|
typeof _ref$ === "function" ? use(_ref$, _el$12) : customColorInputRef = _el$12;
|
|
@@ -6681,7 +6761,7 @@ function ColorPicker(props) {
|
|
|
6681
6761
|
});
|
|
6682
6762
|
}
|
|
6683
6763
|
delegateEvents(["click", "input"]);
|
|
6684
|
-
var _tmpl$$Q = /* @__PURE__ */ template(`<div class=oasis-editor-table-grid-picker-status>`), _tmpl$2$v = /* @__PURE__ */ template(`<div class=oasis-editor-table-grid-picker-grid>`), _tmpl$3$k = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-dropdown>`), _tmpl$4$
|
|
6764
|
+
var _tmpl$$Q = /* @__PURE__ */ template(`<div class=oasis-editor-table-grid-picker-status>`), _tmpl$2$v = /* @__PURE__ */ template(`<div class=oasis-editor-table-grid-picker-grid>`), _tmpl$3$k = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-dropdown>`), _tmpl$4$d = /* @__PURE__ */ template(`<span>`), _tmpl$5$7 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-tool-button>`), _tmpl$6$5 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-table-grid-picker-cell>`);
|
|
6685
6765
|
function GridPicker(props) {
|
|
6686
6766
|
const t = useI18n();
|
|
6687
6767
|
const [isOpen, setIsOpen] = createSignal(false);
|
|
@@ -6768,35 +6848,38 @@ function GridPicker(props) {
|
|
|
6768
6848
|
col: 0
|
|
6769
6849
|
}),
|
|
6770
6850
|
trigger: (api) => (() => {
|
|
6771
|
-
var _el$4 = _tmpl$5$
|
|
6851
|
+
var _el$4 = _tmpl$5$7();
|
|
6772
6852
|
_el$4.$$click = () => api.toggle();
|
|
6773
6853
|
use((el) => api.ref(el), _el$4);
|
|
6854
|
+
insert(_el$4, createComponent(ToolIcon, {
|
|
6855
|
+
get name() {
|
|
6856
|
+
return icon();
|
|
6857
|
+
}
|
|
6858
|
+
}), null);
|
|
6774
6859
|
insert(_el$4, createComponent(Show, {
|
|
6775
6860
|
get when() {
|
|
6776
6861
|
return props.label;
|
|
6777
6862
|
},
|
|
6778
6863
|
get children() {
|
|
6779
|
-
var _el$
|
|
6780
|
-
insert(_el$
|
|
6781
|
-
return _el$
|
|
6864
|
+
var _el$5 = _tmpl$4$d();
|
|
6865
|
+
insert(_el$5, () => props.label);
|
|
6866
|
+
return _el$5;
|
|
6782
6867
|
}
|
|
6783
6868
|
}), null);
|
|
6784
6869
|
createRenderEffect((_p$) => {
|
|
6785
|
-
var _v$3 = !!api.open, _v$4 = !!(props.ribbonSize === "large"), _v$5 = tooltip(), _v$6 = tooltip(), _v$7 = props.testId
|
|
6870
|
+
var _v$3 = !!api.open, _v$4 = !!(props.ribbonSize === "large"), _v$5 = tooltip(), _v$6 = tooltip(), _v$7 = props.testId;
|
|
6786
6871
|
_v$3 !== _p$.e && _el$4.classList.toggle("oasis-editor-tool-button-active", _p$.e = _v$3);
|
|
6787
6872
|
_v$4 !== _p$.t && _el$4.classList.toggle("oasis-editor-tool-button-ribbon-large", _p$.t = _v$4);
|
|
6788
6873
|
_v$5 !== _p$.a && setAttribute(_el$4, "title", _p$.a = _v$5);
|
|
6789
6874
|
_v$6 !== _p$.o && setAttribute(_el$4, "aria-label", _p$.o = _v$6);
|
|
6790
6875
|
_v$7 !== _p$.i && setAttribute(_el$4, "data-testid", _p$.i = _v$7);
|
|
6791
|
-
_v$8 !== _p$.n && setAttribute(_el$5, "data-lucide", _p$.n = _v$8);
|
|
6792
6876
|
return _p$;
|
|
6793
6877
|
}, {
|
|
6794
6878
|
e: void 0,
|
|
6795
6879
|
t: void 0,
|
|
6796
6880
|
a: void 0,
|
|
6797
6881
|
o: void 0,
|
|
6798
|
-
i: void 0
|
|
6799
|
-
n: void 0
|
|
6882
|
+
i: void 0
|
|
6800
6883
|
});
|
|
6801
6884
|
return _el$4;
|
|
6802
6885
|
})(),
|
|
@@ -6816,17 +6899,17 @@ function GridPicker(props) {
|
|
|
6816
6899
|
return cols();
|
|
6817
6900
|
},
|
|
6818
6901
|
children: (c) => (() => {
|
|
6819
|
-
var _el$
|
|
6820
|
-
_el$
|
|
6821
|
-
_el$
|
|
6822
|
-
_el$
|
|
6902
|
+
var _el$6 = _tmpl$6$5();
|
|
6903
|
+
_el$6.$$click = () => selectGridSize(r, c);
|
|
6904
|
+
_el$6.$$mousedown = (event) => event.preventDefault();
|
|
6905
|
+
_el$6.addEventListener("mouseenter", () => setHover({
|
|
6823
6906
|
row: r,
|
|
6824
6907
|
col: c
|
|
6825
6908
|
}));
|
|
6826
|
-
setAttribute(_el$
|
|
6827
|
-
setAttribute(_el$
|
|
6828
|
-
createRenderEffect(() => _el$
|
|
6829
|
-
return _el$
|
|
6909
|
+
setAttribute(_el$6, "data-testid", `editor-toolbar-table-grid-${r}x${c}`);
|
|
6910
|
+
setAttribute(_el$6, "aria-label", `${r} × ${c}`);
|
|
6911
|
+
createRenderEffect(() => _el$6.classList.toggle("oasis-editor-table-grid-picker-cell-active", !!(r <= hover().row && c <= hover().col)));
|
|
6912
|
+
return _el$6;
|
|
6830
6913
|
})()
|
|
6831
6914
|
})
|
|
6832
6915
|
}));
|
|
@@ -6906,7 +6989,7 @@ const DEFAULT_PALETTE = {
|
|
|
6906
6989
|
standardColors: STANDARD_COLORS,
|
|
6907
6990
|
allowCustom: true
|
|
6908
6991
|
};
|
|
6909
|
-
var _tmpl$$P = /* @__PURE__ */ template(`<button type=button class=oasis-editor-style-gallery-card role=option><span>`), _tmpl$2$u = /* @__PURE__ */ template(`<div class=oasis-editor-style-gallery-grid>`), _tmpl$3$j = /* @__PURE__ */ template(`<div class=oasis-editor-style-gallery><div class=oasis-editor-style-gallery-ribbon><div class=oasis-editor-style-gallery-strip role=listbox></div><button type=button class=oasis-editor-style-gallery-expand aria-haspopup=listbox
|
|
6992
|
+
var _tmpl$$P = /* @__PURE__ */ template(`<button type=button class=oasis-editor-style-gallery-card role=option><span>`), _tmpl$2$u = /* @__PURE__ */ template(`<div class=oasis-editor-style-gallery-grid>`), _tmpl$3$j = /* @__PURE__ */ template(`<div class=oasis-editor-style-gallery><div class=oasis-editor-style-gallery-ribbon><div class=oasis-editor-style-gallery-strip role=listbox></div><button type=button class=oasis-editor-style-gallery-expand aria-haspopup=listbox>`), _tmpl$4$c = /* @__PURE__ */ template(`<option>`);
|
|
6910
6993
|
function getQuickStyles(styles) {
|
|
6911
6994
|
const applicable = styles.filter((style2) => style2.type !== "table" && (!style2.semiHidden || style2.unhideWhenUsed && style2.isUsed));
|
|
6912
6995
|
const hasQuickStyles = applicable.some((style2) => style2.qFormat === true);
|
|
@@ -7041,7 +7124,7 @@ function StyleGallery(props) {
|
|
|
7041
7124
|
return styles();
|
|
7042
7125
|
},
|
|
7043
7126
|
children: (style2) => (() => {
|
|
7044
|
-
var _el$8 = _tmpl$4$
|
|
7127
|
+
var _el$8 = _tmpl$4$c();
|
|
7045
7128
|
insert(_el$8, () => style2.name);
|
|
7046
7129
|
createRenderEffect(() => _el$8.value = style2.id);
|
|
7047
7130
|
return _el$8;
|
|
@@ -7052,6 +7135,7 @@ function StyleGallery(props) {
|
|
|
7052
7135
|
insert(_el$6, cards);
|
|
7053
7136
|
_el$7.$$click = () => popover.toggle();
|
|
7054
7137
|
setAttribute(_el$7, "data-testid", expandTestId);
|
|
7138
|
+
insert(_el$7, createComponent(DropdownChevron, {}));
|
|
7055
7139
|
createRenderEffect((_p$) => {
|
|
7056
7140
|
var _v$6 = props.api.t("toolbar.style"), _v$7 = props.api.t("toolbar.style"), _v$8 = popover.open;
|
|
7057
7141
|
_v$6 !== _p$.e && setAttribute(_el$7, "title", _p$.e = _v$6);
|
|
@@ -7089,37 +7173,7 @@ function renderMenuContent(content, api) {
|
|
|
7089
7173
|
})
|
|
7090
7174
|
});
|
|
7091
7175
|
}
|
|
7092
|
-
function
|
|
7093
|
-
const b = bindItem(props.item, props.api);
|
|
7094
|
-
return createComponent(Button$1, {
|
|
7095
|
-
get icon() {
|
|
7096
|
-
return props.item.iconName;
|
|
7097
|
-
},
|
|
7098
|
-
get label() {
|
|
7099
|
-
return resolveLabel(props.item, props.api);
|
|
7100
|
-
},
|
|
7101
|
-
get wide() {
|
|
7102
|
-
return props.item.wide;
|
|
7103
|
-
},
|
|
7104
|
-
get ribbonSize() {
|
|
7105
|
-
return props.item.ribbonSize;
|
|
7106
|
-
},
|
|
7107
|
-
get active() {
|
|
7108
|
-
return b.active();
|
|
7109
|
-
},
|
|
7110
|
-
get disabled() {
|
|
7111
|
-
return b.disabled();
|
|
7112
|
-
},
|
|
7113
|
-
get ["data-testid"]() {
|
|
7114
|
-
return props.item.testId;
|
|
7115
|
-
},
|
|
7116
|
-
get tooltip() {
|
|
7117
|
-
return resolveTooltip(props.item, props.api);
|
|
7118
|
-
},
|
|
7119
|
-
onClick: () => runItem(props.item, props.api)
|
|
7120
|
-
});
|
|
7121
|
-
}
|
|
7122
|
-
function RenderToggle(props) {
|
|
7176
|
+
function RenderActionButton(props) {
|
|
7123
7177
|
const b = bindItem(props.item, props.api);
|
|
7124
7178
|
return createComponent(Button$1, {
|
|
7125
7179
|
get icon() {
|
|
@@ -7398,8 +7452,8 @@ function RenderCustom(props) {
|
|
|
7398
7452
|
return props.item.render(props.api);
|
|
7399
7453
|
}
|
|
7400
7454
|
const TOOLBAR_RENDERERS = {
|
|
7401
|
-
button:
|
|
7402
|
-
toggle:
|
|
7455
|
+
button: RenderActionButton,
|
|
7456
|
+
toggle: RenderActionButton,
|
|
7403
7457
|
split: RenderSplit,
|
|
7404
7458
|
menu: RenderMenu,
|
|
7405
7459
|
select: RenderSelect,
|
|
@@ -7959,7 +8013,7 @@ function RibbonRow(props) {
|
|
|
7959
8013
|
return _el$;
|
|
7960
8014
|
})();
|
|
7961
8015
|
}
|
|
7962
|
-
var _tmpl$$L = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-large-items>`), _tmpl$2$r = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-group-rows><div class=oasis-editor-ribbon-normal-rows>`), _tmpl$3$h = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-group-label>`), _tmpl$4$
|
|
8016
|
+
var _tmpl$$L = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-large-items>`), _tmpl$2$r = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-group-rows><div class=oasis-editor-ribbon-normal-rows>`), _tmpl$3$h = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-group-label>`), _tmpl$4$b = /* @__PURE__ */ template(`<section class=oasis-editor-ribbon-group>`), _tmpl$5$6 = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-collapsed-items>`), _tmpl$6$4 = /* @__PURE__ */ template(`<div class=oasis-editor-ribbon-group-rows>`);
|
|
7963
8017
|
function groupItems(group) {
|
|
7964
8018
|
return [...group.largeItems, ...group.rows[1], ...group.rows[2]];
|
|
7965
8019
|
}
|
|
@@ -7970,14 +8024,14 @@ function groupStyle(group) {
|
|
|
7970
8024
|
}
|
|
7971
8025
|
function RibbonGroup(props) {
|
|
7972
8026
|
return (() => {
|
|
7973
|
-
var _el$ = _tmpl$4$
|
|
8027
|
+
var _el$ = _tmpl$4$b();
|
|
7974
8028
|
insert(_el$, createComponent(Show, {
|
|
7975
8029
|
get when() {
|
|
7976
8030
|
return props.group.resizeState !== "collapsed";
|
|
7977
8031
|
},
|
|
7978
8032
|
get fallback() {
|
|
7979
8033
|
return [(() => {
|
|
7980
|
-
var _el$6 = _tmpl$6$
|
|
8034
|
+
var _el$6 = _tmpl$6$4();
|
|
7981
8035
|
insert(_el$6, createComponent(Menu, {
|
|
7982
8036
|
get icon() {
|
|
7983
8037
|
return props.group.resizePolicy.collapsedIcon;
|
|
@@ -7994,7 +8048,7 @@ function RibbonGroup(props) {
|
|
|
7994
8048
|
ribbonSize: "large",
|
|
7995
8049
|
panelClass: "oasis-editor-ribbon-collapsed-menu",
|
|
7996
8050
|
get children() {
|
|
7997
|
-
var _el$7 = _tmpl$5$
|
|
8051
|
+
var _el$7 = _tmpl$5$6();
|
|
7998
8052
|
insert(_el$7, createComponent(For, {
|
|
7999
8053
|
get each() {
|
|
8000
8054
|
return groupItems(props.group);
|
|
@@ -22433,7 +22487,7 @@ function createCanvasPageRenderer(options) {
|
|
|
22433
22487
|
}
|
|
22434
22488
|
};
|
|
22435
22489
|
}
|
|
22436
|
-
var _tmpl$$H = /* @__PURE__ */ template(`<div class="oasis-editor-paper-stack oasis-editor-canvas-stack"style=position:relative>`), _tmpl$2$p = /* @__PURE__ */ template(`<div class=oasis-editor-canvas-page-slot style=position:relative>`), _tmpl$3$g = /* @__PURE__ */ template(`<div class=oasis-editor-paper data-renderer=canvas data-testid=editor-page style=position:relative;z-index:1><canvas>`), _tmpl$4$
|
|
22490
|
+
var _tmpl$$H = /* @__PURE__ */ template(`<div class="oasis-editor-paper-stack oasis-editor-canvas-stack"style=position:relative>`), _tmpl$2$p = /* @__PURE__ */ template(`<div class=oasis-editor-canvas-page-slot style=position:relative>`), _tmpl$3$g = /* @__PURE__ */ template(`<div class=oasis-editor-paper data-renderer=canvas data-testid=editor-page style=position:relative;z-index:1><canvas>`), _tmpl$4$a = /* @__PURE__ */ template(`<div class=oasis-editor-table-revision-hit style=position:absolute;pointer-events:auto;background:transparent>`);
|
|
22437
22491
|
const surfaceLogger = createEditorLogger("canvas-surface");
|
|
22438
22492
|
function checkBrowserFonts(families) {
|
|
22439
22493
|
if (typeof document === "undefined" || !document.fonts) {
|
|
@@ -22647,7 +22701,7 @@ function CanvasPage(props) {
|
|
|
22647
22701
|
return revisionCells();
|
|
22648
22702
|
},
|
|
22649
22703
|
children: (revision) => (() => {
|
|
22650
|
-
var _el$5 = _tmpl$4$
|
|
22704
|
+
var _el$5 = _tmpl$4$a();
|
|
22651
22705
|
addEventListener(_el$5, "mousedown", props.onSurfaceMouseDown, true);
|
|
22652
22706
|
_el$5.addEventListener("mouseleave", (event) => {
|
|
22653
22707
|
var _a;
|
|
@@ -23416,7 +23470,7 @@ function RevisionOverlay(props) {
|
|
|
23416
23470
|
return _el$;
|
|
23417
23471
|
})();
|
|
23418
23472
|
}
|
|
23419
|
-
var _tmpl$$C = /* @__PURE__ */ template(`<div aria-hidden=true class=oasis-editor-comment-overlay-root>`), _tmpl$2$m = /* @__PURE__ */ template(`<span class=oasis-editor-comment-highlight data-testid=editor-comment-highlight>`), _tmpl$3$e = /* @__PURE__ */ template(`<span class=oasis-editor-comment-popup-date>`), _tmpl$4$
|
|
23473
|
+
var _tmpl$$C = /* @__PURE__ */ template(`<div aria-hidden=true class=oasis-editor-comment-overlay-root>`), _tmpl$2$m = /* @__PURE__ */ template(`<span class=oasis-editor-comment-highlight data-testid=editor-comment-highlight>`), _tmpl$3$e = /* @__PURE__ */ template(`<span class=oasis-editor-comment-popup-date>`), _tmpl$4$9 = /* @__PURE__ */ template(`<span class=oasis-editor-comment-popup-resolved>✓`), _tmpl$5$5 = /* @__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>`);
|
|
23420
23474
|
function CommentHighlightOverlay(props) {
|
|
23421
23475
|
const [activeCommentId, setActiveCommentId] = createSignal(null);
|
|
23422
23476
|
const activeComment = createMemo(() => {
|
|
@@ -23481,7 +23535,7 @@ function CommentHighlightOverlay(props) {
|
|
|
23481
23535
|
const comment = activeComment();
|
|
23482
23536
|
const anchor = popupAnchor();
|
|
23483
23537
|
return (() => {
|
|
23484
|
-
var _el$3 = _tmpl$5$
|
|
23538
|
+
var _el$3 = _tmpl$5$5(), _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild, _el$8 = _el$4.nextSibling;
|
|
23485
23539
|
_el$3.addEventListener("mouseleave", () => setActiveCommentId(null));
|
|
23486
23540
|
insert(_el$5, () => comment.author || "—");
|
|
23487
23541
|
insert(_el$4, createComponent(Show, {
|
|
@@ -23499,7 +23553,7 @@ function CommentHighlightOverlay(props) {
|
|
|
23499
23553
|
return comment.resolved;
|
|
23500
23554
|
},
|
|
23501
23555
|
get children() {
|
|
23502
|
-
return _tmpl$4$
|
|
23556
|
+
return _tmpl$4$9();
|
|
23503
23557
|
}
|
|
23504
23558
|
}), null);
|
|
23505
23559
|
insert(_el$8, () => comment.text);
|
|
@@ -23767,7 +23821,7 @@ function FloatingTableToolbar(props) {
|
|
|
23767
23821
|
});
|
|
23768
23822
|
}
|
|
23769
23823
|
delegateEvents(["mousedown"]);
|
|
23770
|
-
var _tmpl$$A = /* @__PURE__ */ template(`<svg><rect height=2 rx=1 fill=#9aa0a6></svg>`, false, true, false), _tmpl$2$l = /* @__PURE__ */ template(`<svg><rect rx=1.5></svg>`, false, true, false), _tmpl$3$d = /* @__PURE__ */ template(`<svg><polygon points="29,4 37,12 29,20 21,12"fill=#1a73e8></svg>`, false, true, false), _tmpl$4$
|
|
23824
|
+
var _tmpl$$A = /* @__PURE__ */ template(`<svg><rect height=2 rx=1 fill=#9aa0a6></svg>`, false, true, false), _tmpl$2$l = /* @__PURE__ */ template(`<svg><rect rx=1.5></svg>`, false, true, false), _tmpl$3$d = /* @__PURE__ */ template(`<svg><polygon points="29,4 37,12 29,20 21,12"fill=#1a73e8></svg>`, false, true, false), _tmpl$4$8 = /* @__PURE__ */ template(`<svg><polygon points="20,8 26,14 20,20 14,14"fill=#1a73e8></svg>`, false, true, false), _tmpl$5$4 = /* @__PURE__ */ template(`<svg viewBox="0 0 40 32"fill=none aria-hidden=true>`), _tmpl$6$3 = /* @__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>`);
|
|
23771
23825
|
const WRAP_OPTIONS = [{
|
|
23772
23826
|
preset: "square",
|
|
23773
23827
|
labelKey: "layoutOptions.square"
|
|
@@ -23805,7 +23859,7 @@ function WrapIcon(props) {
|
|
|
23805
23859
|
return _el$2;
|
|
23806
23860
|
})();
|
|
23807
23861
|
return (() => {
|
|
23808
|
-
var _el$3 = _tmpl$5$
|
|
23862
|
+
var _el$3 = _tmpl$5$4();
|
|
23809
23863
|
insert(_el$3, createComponent(Show, {
|
|
23810
23864
|
get when() {
|
|
23811
23865
|
return props.preset === "square";
|
|
@@ -23827,7 +23881,7 @@ function WrapIcon(props) {
|
|
|
23827
23881
|
return props.preset === "through";
|
|
23828
23882
|
},
|
|
23829
23883
|
get children() {
|
|
23830
|
-
return [memo(() => line(4, 6, 32)), memo(() => line(4, 12, 9)), memo(() => line(27, 12, 9)), memo(() => line(4, 18, 32)), _tmpl$4$
|
|
23884
|
+
return [memo(() => line(4, 6, 32)), memo(() => line(4, 12, 9)), memo(() => line(27, 12, 9)), memo(() => line(4, 18, 32)), _tmpl$4$8()];
|
|
23831
23885
|
}
|
|
23832
23886
|
}), null);
|
|
23833
23887
|
insert(_el$3, createComponent(Show, {
|
|
@@ -23897,7 +23951,7 @@ function FloatingLayoutOptions(props) {
|
|
|
23897
23951
|
},
|
|
23898
23952
|
get children() {
|
|
23899
23953
|
return [(() => {
|
|
23900
|
-
var _el$6 = _tmpl$6$
|
|
23954
|
+
var _el$6 = _tmpl$6$3();
|
|
23901
23955
|
_el$6.$$click = () => setOpen((value) => !value);
|
|
23902
23956
|
_el$6.$$mousedown = (event) => event.preventDefault();
|
|
23903
23957
|
createRenderEffect((_p$) => {
|
|
@@ -39894,7 +39948,7 @@ function IconButton(props) {
|
|
|
39894
39948
|
return _el$;
|
|
39895
39949
|
})();
|
|
39896
39950
|
}
|
|
39897
|
-
var _tmpl$$r = /* @__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$a = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-side-panel-overlay>`), _tmpl$4$
|
|
39951
|
+
var _tmpl$$r = /* @__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$a = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-side-panel-overlay>`), _tmpl$4$7 = /* @__PURE__ */ template(`<div class=oasis-editor-plugin-side-panel-title>`);
|
|
39898
39952
|
const EMPTY_SNAPSHOT = {
|
|
39899
39953
|
floatingActions: [],
|
|
39900
39954
|
sidePanels: [],
|
|
@@ -40019,7 +40073,7 @@ function renderPanel(editor, panel, t) {
|
|
|
40019
40073
|
return [createComponent(SidePanelHeader, {
|
|
40020
40074
|
get children() {
|
|
40021
40075
|
return [(() => {
|
|
40022
|
-
var _el$5 = _tmpl$4$
|
|
40076
|
+
var _el$5 = _tmpl$4$7();
|
|
40023
40077
|
insert(_el$5, createComponent(Show, {
|
|
40024
40078
|
get when() {
|
|
40025
40079
|
return panel.icon;
|
|
@@ -40924,7 +40978,7 @@ function FormField(props) {
|
|
|
40924
40978
|
return _el$;
|
|
40925
40979
|
})();
|
|
40926
40980
|
}
|
|
40927
|
-
var _tmpl$$h = /* @__PURE__ */ template(`<span>`), _tmpl$2$a = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$3$8 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-error>`), _tmpl$4$
|
|
40981
|
+
var _tmpl$$h = /* @__PURE__ */ template(`<span>`), _tmpl$2$a = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$3$8 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-error>`), _tmpl$4$6 = /* @__PURE__ */ template(`<label><input>`);
|
|
40928
40982
|
function TextField(props) {
|
|
40929
40983
|
const fallbackId = createUniqueId();
|
|
40930
40984
|
const [local, others] = splitProps(props, ["label", "description", "error", "labelClass", "controlClass", "onChange", "class", "classList", "id"]);
|
|
@@ -40932,7 +40986,7 @@ function TextField(props) {
|
|
|
40932
40986
|
const descriptionId = () => `${id()}-description`;
|
|
40933
40987
|
const errorId = () => `${id()}-error`;
|
|
40934
40988
|
return (() => {
|
|
40935
|
-
var _el$ = _tmpl$4$
|
|
40989
|
+
var _el$ = _tmpl$4$6(), _el$3 = _el$.firstChild;
|
|
40936
40990
|
insert(_el$, createComponent(Show, {
|
|
40937
40991
|
get when() {
|
|
40938
40992
|
return local.label;
|
|
@@ -41120,7 +41174,7 @@ function Checkbox(props) {
|
|
|
41120
41174
|
return _el$;
|
|
41121
41175
|
})();
|
|
41122
41176
|
}
|
|
41123
|
-
var _tmpl$$e = /* @__PURE__ */ template(`<span>`), _tmpl$2$8 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$3$6 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-error>`), _tmpl$4$
|
|
41177
|
+
var _tmpl$$e = /* @__PURE__ */ template(`<span>`), _tmpl$2$8 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$3$6 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-error>`), _tmpl$4$5 = /* @__PURE__ */ template(`<label><select>`), _tmpl$5$3 = /* @__PURE__ */ template(`<option>`);
|
|
41124
41178
|
function SelectField(props) {
|
|
41125
41179
|
const fallbackId = createUniqueId();
|
|
41126
41180
|
const [local, others] = splitProps(props, ["label", "description", "error", "labelClass", "controlClass", "options", "onChange", "class", "classList", "id", "value"]);
|
|
@@ -41129,7 +41183,7 @@ function SelectField(props) {
|
|
|
41129
41183
|
const descriptionId = () => `${id()}-description`;
|
|
41130
41184
|
const errorId = () => `${id()}-error`;
|
|
41131
41185
|
return (() => {
|
|
41132
|
-
var _el$ = _tmpl$4$
|
|
41186
|
+
var _el$ = _tmpl$4$5(), _el$3 = _el$.firstChild;
|
|
41133
41187
|
insert(_el$, createComponent(Show, {
|
|
41134
41188
|
get when() {
|
|
41135
41189
|
return local.label;
|
|
@@ -41168,7 +41222,7 @@ function SelectField(props) {
|
|
|
41168
41222
|
return local.options;
|
|
41169
41223
|
},
|
|
41170
41224
|
children: (option) => (() => {
|
|
41171
|
-
var _el$6 = _tmpl$5$
|
|
41225
|
+
var _el$6 = _tmpl$5$3();
|
|
41172
41226
|
insert(_el$6, () => option.label);
|
|
41173
41227
|
createRenderEffect((_p$) => {
|
|
41174
41228
|
var _v$4 = option.disabled, _v$5 = option.value === currentValue();
|
|
@@ -41234,7 +41288,7 @@ function NumberField(props) {
|
|
|
41234
41288
|
}
|
|
41235
41289
|
}, others));
|
|
41236
41290
|
}
|
|
41237
|
-
var _tmpl$$d = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$2$7 = /* @__PURE__ */ template(`<label><input type=radio class=oasis-editor-ui-radio-input><span class=oasis-editor-ui-checkbox-copy><span class=oasis-editor-ui-field-label>`), _tmpl$3$5 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-label>`), _tmpl$4$
|
|
41291
|
+
var _tmpl$$d = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-description>`), _tmpl$2$7 = /* @__PURE__ */ template(`<label><input type=radio class=oasis-editor-ui-radio-input><span class=oasis-editor-ui-checkbox-copy><span class=oasis-editor-ui-field-label>`), _tmpl$3$5 = /* @__PURE__ */ template(`<span class=oasis-editor-ui-field-label>`), _tmpl$4$4 = /* @__PURE__ */ template(`<div role=radiogroup>`);
|
|
41238
41292
|
const RadioGroupCtx = createContext();
|
|
41239
41293
|
function Radio(props) {
|
|
41240
41294
|
const fallbackId = createUniqueId();
|
|
@@ -41309,7 +41363,7 @@ function RadioGroup(props) {
|
|
|
41309
41363
|
return createComponent(RadioGroupCtx.Provider, {
|
|
41310
41364
|
value: ctx,
|
|
41311
41365
|
get children() {
|
|
41312
|
-
var _el$6 = _tmpl$4$
|
|
41366
|
+
var _el$6 = _tmpl$4$4();
|
|
41313
41367
|
insert(_el$6, createComponent(Show, {
|
|
41314
41368
|
get when() {
|
|
41315
41369
|
return props.label;
|
|
@@ -41702,7 +41756,7 @@ const UNDERLINE_STYLE_OPTIONS = [
|
|
|
41702
41756
|
}
|
|
41703
41757
|
}
|
|
41704
41758
|
];
|
|
41705
|
-
var _tmpl$$8 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-color-menu-action data-testid=editor-toolbar-underline-remove role=menuitem><span class=oasis-editor-color-menu-action-swatch><i data-lucide=slash></i></span><span>`), _tmpl$2$5 = /* @__PURE__ */ template(`<div class=oasis-editor-underline-menu-list>`), _tmpl$3$4 = /* @__PURE__ */ template(`<span class="oasis-editor-color-split-icon oasis-editor-underline-split-icon"><span class=oasis-editor-underline-split-glyph aria-hidden=true>U</span><span class=oasis-editor-underline-split-indicator>`), _tmpl$4$
|
|
41759
|
+
var _tmpl$$8 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-color-menu-action data-testid=editor-toolbar-underline-remove role=menuitem><span class=oasis-editor-color-menu-action-swatch><i data-lucide=slash></i></span><span>`), _tmpl$2$5 = /* @__PURE__ */ template(`<div class=oasis-editor-underline-menu-list>`), _tmpl$3$4 = /* @__PURE__ */ template(`<span class="oasis-editor-color-split-icon oasis-editor-underline-split-icon"><span class=oasis-editor-underline-split-glyph aria-hidden=true>U</span><span class=oasis-editor-underline-split-indicator>`), _tmpl$4$3 = /* @__PURE__ */ template(`<span class="oasis-editor-underline-menu-stroke oasis-editor-underline-menu-stroke-svg">`), _tmpl$5$2 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-underline-menu-item role=menuitemradio><span class=oasis-editor-underline-menu-preview></span><span class=oasis-editor-underline-menu-label>`), _tmpl$6$2 = /* @__PURE__ */ template(`<span class=oasis-editor-underline-menu-stroke>`);
|
|
41706
41760
|
const mod$1 = /Mac/i.test(navigator.userAgent) ? "⌘" : "Ctrl";
|
|
41707
41761
|
const TEST_ID = "editor-toolbar-underline";
|
|
41708
41762
|
function UnderlineControl(props) {
|
|
@@ -41774,7 +41828,7 @@ function UnderlineControl(props) {
|
|
|
41774
41828
|
children: (option) => {
|
|
41775
41829
|
const isActive = () => active() && activeStyleValue() === option.value.toLowerCase();
|
|
41776
41830
|
return (() => {
|
|
41777
|
-
var _el$8 = _tmpl$5$
|
|
41831
|
+
var _el$8 = _tmpl$5$2(), _el$9 = _el$8.firstChild, _el$1 = _el$9.nextSibling;
|
|
41778
41832
|
_el$8.$$click = () => {
|
|
41779
41833
|
applyUnderlineStyle(option.value);
|
|
41780
41834
|
setOpen(false);
|
|
@@ -41785,7 +41839,7 @@ function UnderlineControl(props) {
|
|
|
41785
41839
|
},
|
|
41786
41840
|
get fallback() {
|
|
41787
41841
|
return (() => {
|
|
41788
|
-
var _el$10 = _tmpl$6$
|
|
41842
|
+
var _el$10 = _tmpl$6$2();
|
|
41789
41843
|
createRenderEffect((_$p) => style(_el$10, option.preview.borderStyle === "wavy" ? void 0 : {
|
|
41790
41844
|
"border-bottom-style": option.preview.borderStyle,
|
|
41791
41845
|
"border-bottom-width": option.preview.borderBottomWidth ?? "1px"
|
|
@@ -41794,7 +41848,7 @@ function UnderlineControl(props) {
|
|
|
41794
41848
|
})();
|
|
41795
41849
|
},
|
|
41796
41850
|
get children() {
|
|
41797
|
-
var _el$0 = _tmpl$4$
|
|
41851
|
+
var _el$0 = _tmpl$4$3();
|
|
41798
41852
|
createRenderEffect(() => _el$0.innerHTML = option.preview.svg);
|
|
41799
41853
|
return _el$0;
|
|
41800
41854
|
}
|
|
@@ -41823,7 +41877,7 @@ function UnderlineControl(props) {
|
|
|
41823
41877
|
});
|
|
41824
41878
|
}
|
|
41825
41879
|
delegateEvents(["click"]);
|
|
41826
|
-
var _tmpl$$7 = /* @__PURE__ */ template(`<option value=decimal>`), _tmpl$2$4 = /* @__PURE__ */ template(`<option value=lowerLetter>`), _tmpl$3$3 = /* @__PURE__ */ template(`<option value=upperLetter>`), _tmpl$4$
|
|
41880
|
+
var _tmpl$$7 = /* @__PURE__ */ template(`<option value=decimal>`), _tmpl$2$4 = /* @__PURE__ */ template(`<option value=lowerLetter>`), _tmpl$3$3 = /* @__PURE__ */ template(`<option value=upperLetter>`), _tmpl$4$2 = /* @__PURE__ */ template(`<option value=lowerRoman>`), _tmpl$5$1 = /* @__PURE__ */ template(`<option value=upperRoman>`), _tmpl$6$1 = /* @__PURE__ */ template(`<option value=bullet>`), _tmpl$7 = /* @__PURE__ */ template(`<div class=oasis-editor-toolbar-list-options><label class=oasis-editor-toolbar-field><span></span></label><label class=oasis-editor-toolbar-field><span></span><input type=number class=oasis-editor-tool-number data-testid=editor-toolbar-list-start-at min=1 step=1 placeholder=1>`);
|
|
41827
41881
|
function ListOptionsControl(props) {
|
|
41828
41882
|
const t = useI18n();
|
|
41829
41883
|
const api = props.api;
|
|
@@ -41857,15 +41911,15 @@ function ListOptionsControl(props) {
|
|
|
41857
41911
|
insert(_el$6, () => t("toolbar.formatUpperLetter"));
|
|
41858
41912
|
return _el$6;
|
|
41859
41913
|
})(), (() => {
|
|
41860
|
-
var _el$7 = _tmpl$4$
|
|
41914
|
+
var _el$7 = _tmpl$4$2();
|
|
41861
41915
|
insert(_el$7, () => t("toolbar.formatLowerRoman"));
|
|
41862
41916
|
return _el$7;
|
|
41863
41917
|
})(), (() => {
|
|
41864
|
-
var _el$8 = _tmpl$5$
|
|
41918
|
+
var _el$8 = _tmpl$5$1();
|
|
41865
41919
|
insert(_el$8, () => t("toolbar.formatUpperRoman"));
|
|
41866
41920
|
return _el$8;
|
|
41867
41921
|
})(), (() => {
|
|
41868
|
-
var _el$9 = _tmpl$6$
|
|
41922
|
+
var _el$9 = _tmpl$6$1();
|
|
41869
41923
|
insert(_el$9, () => t("toolbar.formatBullet"));
|
|
41870
41924
|
return _el$9;
|
|
41871
41925
|
})()];
|
|
@@ -42024,7 +42078,7 @@ function LineSpacingDialog(props) {
|
|
|
42024
42078
|
}
|
|
42025
42079
|
});
|
|
42026
42080
|
}
|
|
42027
|
-
var _tmpl$$5 = /* @__PURE__ */ template(`<div class=oasis-editor-line-spacing-menu-separator role=separator>`), _tmpl$2$3 = /* @__PURE__ */ template(`<button type=button class="oasis-editor-line-spacing-item oasis-editor-line-spacing-item-more"role=menuitem data-testid=editor-toolbar-line-spacing-options><span class=oasis-editor-line-spacing-item-check aria-hidden=true></span><span class=oasis-editor-line-spacing-item-label>`), _tmpl$3$2 = /* @__PURE__ */ template(`<
|
|
42081
|
+
var _tmpl$$5 = /* @__PURE__ */ template(`<div class=oasis-editor-line-spacing-menu-separator role=separator>`), _tmpl$2$3 = /* @__PURE__ */ template(`<button type=button class="oasis-editor-line-spacing-item oasis-editor-line-spacing-item-more"role=menuitem data-testid=editor-toolbar-line-spacing-options><span class=oasis-editor-line-spacing-item-check aria-hidden=true></span><span class=oasis-editor-line-spacing-item-label>`), _tmpl$3$2 = /* @__PURE__ */ template(`<button type=button class=oasis-editor-line-spacing-item role=menuitemradio><span class=oasis-editor-line-spacing-item-check aria-hidden=true></span><span class=oasis-editor-line-spacing-item-label>`);
|
|
42028
42082
|
const PRESET_VALUES = [1, 1.15, 1.5, 2, 2.5, 3];
|
|
42029
42083
|
function formatPreset(value) {
|
|
42030
42084
|
return value.toFixed(value === Math.floor(value) ? 1 : 2);
|
|
@@ -42038,7 +42092,6 @@ function toStr(value) {
|
|
|
42038
42092
|
function LineSpacingButton(props) {
|
|
42039
42093
|
const t = useI18n();
|
|
42040
42094
|
const api = props.api;
|
|
42041
|
-
const [isOpen, setIsOpen] = createSignal(false);
|
|
42042
42095
|
const [dialogOpen, setDialogOpen] = createSignal(false);
|
|
42043
42096
|
const [dialogInitial, setDialogInitial] = createSignal({
|
|
42044
42097
|
lineHeight: "",
|
|
@@ -42051,11 +42104,9 @@ function LineSpacingButton(props) {
|
|
|
42051
42104
|
const num = Number(raw);
|
|
42052
42105
|
return Number.isFinite(num) ? num : null;
|
|
42053
42106
|
});
|
|
42054
|
-
const close = () => setIsOpen(false);
|
|
42055
42107
|
const applyPreset = (value) => {
|
|
42056
42108
|
api.commands.execute("setLineHeight", value);
|
|
42057
42109
|
api.focusEditor();
|
|
42058
|
-
close();
|
|
42059
42110
|
};
|
|
42060
42111
|
const openDialog = () => {
|
|
42061
42112
|
setDialogInitial({
|
|
@@ -42064,7 +42115,6 @@ function LineSpacingButton(props) {
|
|
|
42064
42115
|
spacingAfter: toStr(api.commands.state("setSpacingAfter").value)
|
|
42065
42116
|
});
|
|
42066
42117
|
setDialogOpen(true);
|
|
42067
|
-
close();
|
|
42068
42118
|
};
|
|
42069
42119
|
const handleDialogApply = (values, original) => {
|
|
42070
42120
|
const originalLH = original.lineHeight ? Number(original.lineHeight) : null;
|
|
@@ -42081,102 +42131,80 @@ function LineSpacingButton(props) {
|
|
|
42081
42131
|
}
|
|
42082
42132
|
api.focusEditor();
|
|
42083
42133
|
};
|
|
42084
|
-
return (
|
|
42085
|
-
|
|
42086
|
-
|
|
42087
|
-
|
|
42088
|
-
|
|
42089
|
-
|
|
42090
|
-
|
|
42091
|
-
|
|
42092
|
-
|
|
42093
|
-
|
|
42094
|
-
|
|
42095
|
-
|
|
42096
|
-
|
|
42097
|
-
|
|
42098
|
-
|
|
42099
|
-
|
|
42100
|
-
|
|
42101
|
-
|
|
42102
|
-
|
|
42103
|
-
|
|
42104
|
-
|
|
42105
|
-
|
|
42106
|
-
t: void 0,
|
|
42107
|
-
a: void 0,
|
|
42108
|
-
o: void 0
|
|
42109
|
-
});
|
|
42110
|
-
return _el$6;
|
|
42111
|
-
})(),
|
|
42112
|
-
get children() {
|
|
42113
|
-
return [createComponent(For, {
|
|
42114
|
-
each: PRESET_VALUES,
|
|
42115
|
-
children: (value) => {
|
|
42116
|
-
const label = formatPreset(value);
|
|
42117
|
-
const isActive = () => {
|
|
42118
|
-
const lh = currentLineHeight();
|
|
42119
|
-
return lh !== null && approxEqual(lh, value);
|
|
42120
|
-
};
|
|
42121
|
-
return (() => {
|
|
42122
|
-
var _el$7 = _tmpl$6$1(), _el$8 = _el$7.firstChild, _el$0 = _el$8.nextSibling;
|
|
42123
|
-
_el$7.$$click = () => applyPreset(value);
|
|
42124
|
-
insert(_el$8, createComponent(Show, {
|
|
42125
|
-
get when() {
|
|
42126
|
-
return isActive();
|
|
42127
|
-
},
|
|
42128
|
-
get children() {
|
|
42129
|
-
return _tmpl$5$1();
|
|
42130
|
-
}
|
|
42131
|
-
}));
|
|
42132
|
-
insert(_el$0, label);
|
|
42133
|
-
createRenderEffect((_p$) => {
|
|
42134
|
-
var _v$5 = !!isActive(), _v$6 = isActive(), _v$7 = `editor-toolbar-line-spacing-${label.replace(".", "_")}`, _v$8 = t("metric.lineSpacingOption", [label]);
|
|
42135
|
-
_v$5 !== _p$.e && _el$7.classList.toggle("oasis-editor-line-spacing-item-active", _p$.e = _v$5);
|
|
42136
|
-
_v$6 !== _p$.t && setAttribute(_el$7, "aria-checked", _p$.t = _v$6);
|
|
42137
|
-
_v$7 !== _p$.a && setAttribute(_el$7, "data-testid", _p$.a = _v$7);
|
|
42138
|
-
_v$8 !== _p$.o && setAttribute(_el$7, "title", _p$.o = _v$8);
|
|
42139
|
-
return _p$;
|
|
42140
|
-
}, {
|
|
42141
|
-
e: void 0,
|
|
42142
|
-
t: void 0,
|
|
42143
|
-
a: void 0,
|
|
42144
|
-
o: void 0
|
|
42145
|
-
});
|
|
42146
|
-
return _el$7;
|
|
42147
|
-
})();
|
|
42148
|
-
}
|
|
42149
|
-
}), _tmpl$$5(), (() => {
|
|
42150
|
-
var _el$3 = _tmpl$2$3(), _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling;
|
|
42151
|
-
_el$3.$$click = openDialog;
|
|
42152
|
-
insert(_el$5, () => t("metric.lineSpacingOptions"));
|
|
42153
|
-
return _el$3;
|
|
42154
|
-
})()];
|
|
42155
|
-
}
|
|
42156
|
-
}), null);
|
|
42157
|
-
insert(_el$, createComponent(Show, {
|
|
42158
|
-
get when() {
|
|
42159
|
-
return dialogOpen();
|
|
42160
|
-
},
|
|
42161
|
-
get children() {
|
|
42162
|
-
return createComponent(Portal, {
|
|
42163
|
-
get children() {
|
|
42164
|
-
return createComponent(LineSpacingDialog, {
|
|
42165
|
-
get isOpen() {
|
|
42166
|
-
return dialogOpen();
|
|
42167
|
-
},
|
|
42168
|
-
get initial() {
|
|
42169
|
-
return dialogInitial();
|
|
42134
|
+
return [createComponent(Menu, {
|
|
42135
|
+
icon: "lineSpacing",
|
|
42136
|
+
testId: "editor-toolbar-line-spacing",
|
|
42137
|
+
get tooltip() {
|
|
42138
|
+
return t("metric.lineSpacing");
|
|
42139
|
+
},
|
|
42140
|
+
panelClass: "oasis-editor-line-spacing-menu",
|
|
42141
|
+
get children() {
|
|
42142
|
+
return [createComponent(For, {
|
|
42143
|
+
each: PRESET_VALUES,
|
|
42144
|
+
children: (value) => {
|
|
42145
|
+
const label = formatPreset(value);
|
|
42146
|
+
const isActive = () => {
|
|
42147
|
+
const lh = currentLineHeight();
|
|
42148
|
+
return lh !== null && approxEqual(lh, value);
|
|
42149
|
+
};
|
|
42150
|
+
return (() => {
|
|
42151
|
+
var _el$5 = _tmpl$3$2(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling;
|
|
42152
|
+
_el$5.$$click = () => applyPreset(value);
|
|
42153
|
+
insert(_el$6, createComponent(Show, {
|
|
42154
|
+
get when() {
|
|
42155
|
+
return isActive();
|
|
42170
42156
|
},
|
|
42171
|
-
|
|
42172
|
-
|
|
42157
|
+
get children() {
|
|
42158
|
+
return createComponent(CheckIcon, {
|
|
42159
|
+
size: 14
|
|
42160
|
+
});
|
|
42161
|
+
}
|
|
42162
|
+
}));
|
|
42163
|
+
insert(_el$7, label);
|
|
42164
|
+
createRenderEffect((_p$) => {
|
|
42165
|
+
var _v$ = !!isActive(), _v$2 = isActive(), _v$3 = `editor-toolbar-line-spacing-${label.replace(".", "_")}`, _v$4 = t("metric.lineSpacingOption", [label]);
|
|
42166
|
+
_v$ !== _p$.e && _el$5.classList.toggle("oasis-editor-line-spacing-item-active", _p$.e = _v$);
|
|
42167
|
+
_v$2 !== _p$.t && setAttribute(_el$5, "aria-checked", _p$.t = _v$2);
|
|
42168
|
+
_v$3 !== _p$.a && setAttribute(_el$5, "data-testid", _p$.a = _v$3);
|
|
42169
|
+
_v$4 !== _p$.o && setAttribute(_el$5, "title", _p$.o = _v$4);
|
|
42170
|
+
return _p$;
|
|
42171
|
+
}, {
|
|
42172
|
+
e: void 0,
|
|
42173
|
+
t: void 0,
|
|
42174
|
+
a: void 0,
|
|
42175
|
+
o: void 0
|
|
42173
42176
|
});
|
|
42174
|
-
|
|
42175
|
-
|
|
42176
|
-
|
|
42177
|
-
|
|
42178
|
-
|
|
42179
|
-
|
|
42177
|
+
return _el$5;
|
|
42178
|
+
})();
|
|
42179
|
+
}
|
|
42180
|
+
}), _tmpl$$5(), (() => {
|
|
42181
|
+
var _el$2 = _tmpl$2$3(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling;
|
|
42182
|
+
_el$2.$$click = openDialog;
|
|
42183
|
+
insert(_el$4, () => t("metric.lineSpacingOptions"));
|
|
42184
|
+
return _el$2;
|
|
42185
|
+
})()];
|
|
42186
|
+
}
|
|
42187
|
+
}), createComponent(Show, {
|
|
42188
|
+
get when() {
|
|
42189
|
+
return dialogOpen();
|
|
42190
|
+
},
|
|
42191
|
+
get children() {
|
|
42192
|
+
return createComponent(Portal, {
|
|
42193
|
+
get children() {
|
|
42194
|
+
return createComponent(LineSpacingDialog, {
|
|
42195
|
+
get isOpen() {
|
|
42196
|
+
return dialogOpen();
|
|
42197
|
+
},
|
|
42198
|
+
get initial() {
|
|
42199
|
+
return dialogInitial();
|
|
42200
|
+
},
|
|
42201
|
+
onClose: () => setDialogOpen(false),
|
|
42202
|
+
onApply: handleDialogApply
|
|
42203
|
+
});
|
|
42204
|
+
}
|
|
42205
|
+
});
|
|
42206
|
+
}
|
|
42207
|
+
})];
|
|
42180
42208
|
}
|
|
42181
42209
|
delegateEvents(["click"]);
|
|
42182
42210
|
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-panel-grid>`);
|
|
@@ -44343,7 +44371,7 @@ export {
|
|
|
44343
44371
|
underlineStyleToCssDecorationStyle as Z,
|
|
44344
44372
|
resolveImageSrc as _,
|
|
44345
44373
|
getPageBodyBottom as a,
|
|
44346
|
-
|
|
44374
|
+
TABLE_BORDER_EDGE_KEYS as a$,
|
|
44347
44375
|
isParagraphTag as a0,
|
|
44348
44376
|
collectInlineRuns as a1,
|
|
44349
44377
|
parseParagraphStyle as a2,
|
|
@@ -44368,19 +44396,19 @@ export {
|
|
|
44368
44396
|
delegateEvents as aL,
|
|
44369
44397
|
onMount as aM,
|
|
44370
44398
|
onCleanup as aN,
|
|
44371
|
-
|
|
44372
|
-
|
|
44373
|
-
|
|
44374
|
-
|
|
44375
|
-
|
|
44376
|
-
|
|
44377
|
-
|
|
44378
|
-
|
|
44379
|
-
|
|
44380
|
-
|
|
44381
|
-
|
|
44382
|
-
|
|
44383
|
-
|
|
44399
|
+
CheckIcon as aO,
|
|
44400
|
+
use as aP,
|
|
44401
|
+
PluginUiHost as aQ,
|
|
44402
|
+
OasisEditorEditor as aR,
|
|
44403
|
+
OasisBrandMark as aS,
|
|
44404
|
+
setPreciseFontPreference as aT,
|
|
44405
|
+
setWelcomeSeen as aU,
|
|
44406
|
+
enablePreciseFontMode as aV,
|
|
44407
|
+
TWIPS_PER_POINT as aW,
|
|
44408
|
+
PX_PER_INCH as aX,
|
|
44409
|
+
TWIPS_PER_INCH as aY,
|
|
44410
|
+
normalizeHex6 as aZ,
|
|
44411
|
+
TABLE_CONDITIONAL_FLAG_ATTRIBUTES as a_,
|
|
44384
44412
|
createComponent as aa,
|
|
44385
44413
|
CaretOverlay as ab,
|
|
44386
44414
|
Show as ac,
|
|
@@ -44408,164 +44436,165 @@ export {
|
|
|
44408
44436
|
FormField as ay,
|
|
44409
44437
|
Checkbox as az,
|
|
44410
44438
|
getPageBodyTop as b,
|
|
44411
|
-
|
|
44412
|
-
|
|
44413
|
-
|
|
44414
|
-
|
|
44415
|
-
|
|
44416
|
-
|
|
44417
|
-
|
|
44418
|
-
|
|
44419
|
-
|
|
44420
|
-
|
|
44421
|
-
|
|
44422
|
-
|
|
44423
|
-
|
|
44424
|
-
|
|
44425
|
-
|
|
44426
|
-
|
|
44427
|
-
|
|
44428
|
-
|
|
44429
|
-
|
|
44430
|
-
|
|
44431
|
-
|
|
44432
|
-
|
|
44433
|
-
|
|
44434
|
-
|
|
44435
|
-
|
|
44436
|
-
|
|
44437
|
-
|
|
44438
|
-
|
|
44439
|
-
|
|
44440
|
-
|
|
44441
|
-
|
|
44442
|
-
|
|
44443
|
-
|
|
44444
|
-
|
|
44445
|
-
|
|
44446
|
-
|
|
44447
|
-
|
|
44448
|
-
|
|
44449
|
-
|
|
44450
|
-
|
|
44451
|
-
|
|
44452
|
-
|
|
44453
|
-
|
|
44454
|
-
|
|
44455
|
-
|
|
44456
|
-
|
|
44457
|
-
|
|
44458
|
-
|
|
44459
|
-
|
|
44460
|
-
|
|
44461
|
-
|
|
44462
|
-
|
|
44463
|
-
|
|
44464
|
-
|
|
44465
|
-
|
|
44466
|
-
|
|
44467
|
-
|
|
44468
|
-
|
|
44469
|
-
|
|
44470
|
-
|
|
44471
|
-
|
|
44472
|
-
|
|
44473
|
-
|
|
44474
|
-
|
|
44439
|
+
getDocumentSectionsCanonical as b$,
|
|
44440
|
+
resolveEffectiveParagraphStyle as b0,
|
|
44441
|
+
resolveEffectiveTextStyleForParagraph as b1,
|
|
44442
|
+
EMU_PER_PT as b2,
|
|
44443
|
+
OOXML_ROTATION_UNITS as b3,
|
|
44444
|
+
OOXML_PERCENT_DENOMINATOR as b4,
|
|
44445
|
+
parseHexColorToRgb255 as b5,
|
|
44446
|
+
EMU_PER_PX as b6,
|
|
44447
|
+
getRunEndnoteReference as b7,
|
|
44448
|
+
iterateFootnoteReferenceRuns as b8,
|
|
44449
|
+
iterateEndnoteReferenceRuns as b9,
|
|
44450
|
+
resolveOpenTypeFeatureTags as bA,
|
|
44451
|
+
resolveDecorationLineY as bB,
|
|
44452
|
+
DOUBLE_STRIKE_OFFSET_PX as bC,
|
|
44453
|
+
resolveListLabel as bD,
|
|
44454
|
+
getListLabelInset as bE,
|
|
44455
|
+
getAlignedListLabelInset as bF,
|
|
44456
|
+
getParagraphBorderInsets as bG,
|
|
44457
|
+
buildSegmentTable as bH,
|
|
44458
|
+
buildCanvasTableLayout as bI,
|
|
44459
|
+
resolveCanvasTableWidth as bJ,
|
|
44460
|
+
resolveFloatingTableRect as bK,
|
|
44461
|
+
paragraphBetweenBorderMatches as bL,
|
|
44462
|
+
normalizeFamily as bM,
|
|
44463
|
+
ROBOTO_FONT_FILES as bN,
|
|
44464
|
+
loadFontAsset as bO,
|
|
44465
|
+
OFFICE_COMPAT_FONT_FAMILIES as bP,
|
|
44466
|
+
BinaryReader as bQ,
|
|
44467
|
+
buildSfnt as bR,
|
|
44468
|
+
defaultFontDecoderRegistry as bS,
|
|
44469
|
+
SfntFontProgram as bT,
|
|
44470
|
+
collectPdfFontFamilies as bU,
|
|
44471
|
+
outlineFrom as bV,
|
|
44472
|
+
getPageHeaderZoneTop as bW,
|
|
44473
|
+
getPageColumnRects as bX,
|
|
44474
|
+
findFootnoteReference as bY,
|
|
44475
|
+
resolveImporterForFile as bZ,
|
|
44476
|
+
roundTo as b_,
|
|
44477
|
+
imageContentTypeDefaults as ba,
|
|
44478
|
+
getRunFieldChar as bb,
|
|
44479
|
+
getRunFieldInstruction as bc,
|
|
44480
|
+
createEditorRun as bd,
|
|
44481
|
+
JSZip as be,
|
|
44482
|
+
imageExtensionFromMime as bf,
|
|
44483
|
+
pxToPt as bg,
|
|
44484
|
+
resolveFloatingObjectRect as bh,
|
|
44485
|
+
getTextBoxFloatingGeometry as bi,
|
|
44486
|
+
getPresetPathSegments as bj,
|
|
44487
|
+
buildListLabels as bk,
|
|
44488
|
+
DEFAULT_FONT_SIZE_PX as bl,
|
|
44489
|
+
resolveGradientAxis as bm,
|
|
44490
|
+
isDoubleUnderlineStyle as bn,
|
|
44491
|
+
isWavyUnderlineStyle as bo,
|
|
44492
|
+
underlineStyleLineWidthPx as bp,
|
|
44493
|
+
WAVY_UNDERLINE_WAVELENGTH_PX as bq,
|
|
44494
|
+
WAVY_UNDERLINE_AMPLITUDE_PX as br,
|
|
44495
|
+
DOUBLE_UNDERLINE_OFFSET_PX as bs,
|
|
44496
|
+
underlineStyleDashArray as bt,
|
|
44497
|
+
EMPHASIS_GLYPH as bu,
|
|
44498
|
+
rgb255ToHex as bv,
|
|
44499
|
+
getImageFloatingGeometry as bw,
|
|
44500
|
+
textStyleToFontSizePt as bx,
|
|
44501
|
+
resolveTextAlignmentBaselineOffset as by,
|
|
44502
|
+
TEXT_BASELINE_RATIO as bz,
|
|
44475
44503
|
getPageContentWidth as c,
|
|
44476
|
-
|
|
44477
|
-
|
|
44478
|
-
|
|
44479
|
-
|
|
44480
|
-
|
|
44481
|
-
|
|
44482
|
-
|
|
44483
|
-
|
|
44484
|
-
|
|
44485
|
-
|
|
44486
|
-
|
|
44487
|
-
|
|
44488
|
-
|
|
44489
|
-
|
|
44490
|
-
|
|
44491
|
-
|
|
44492
|
-
|
|
44493
|
-
|
|
44494
|
-
|
|
44495
|
-
|
|
44496
|
-
|
|
44497
|
-
|
|
44498
|
-
|
|
44499
|
-
|
|
44500
|
-
|
|
44501
|
-
|
|
44502
|
-
|
|
44503
|
-
|
|
44504
|
-
|
|
44505
|
-
|
|
44506
|
-
|
|
44507
|
-
|
|
44508
|
-
|
|
44509
|
-
|
|
44510
|
-
|
|
44511
|
-
|
|
44512
|
-
|
|
44513
|
-
|
|
44514
|
-
|
|
44515
|
-
|
|
44516
|
-
|
|
44517
|
-
|
|
44518
|
-
|
|
44519
|
-
|
|
44520
|
-
|
|
44521
|
-
|
|
44522
|
-
|
|
44523
|
-
|
|
44524
|
-
|
|
44525
|
-
|
|
44526
|
-
|
|
44527
|
-
|
|
44528
|
-
|
|
44529
|
-
|
|
44530
|
-
|
|
44531
|
-
|
|
44532
|
-
|
|
44533
|
-
|
|
44534
|
-
|
|
44535
|
-
|
|
44536
|
-
|
|
44537
|
-
|
|
44538
|
-
|
|
44539
|
-
|
|
44504
|
+
DialogFooter as c$,
|
|
44505
|
+
getDocumentParagraphsCanonical as c0,
|
|
44506
|
+
getDocumentParagraphs as c1,
|
|
44507
|
+
getDocumentPageSettings as c2,
|
|
44508
|
+
getTableCellContentWidthForParagraph as c3,
|
|
44509
|
+
layoutMetricsEpoch as c4,
|
|
44510
|
+
bumpLayoutMetricsEpoch as c5,
|
|
44511
|
+
createCanvasLayoutSnapshotProvider as c6,
|
|
44512
|
+
on as c7,
|
|
44513
|
+
debounce as c8,
|
|
44514
|
+
unwrap as c9,
|
|
44515
|
+
previousFontSizePt as cA,
|
|
44516
|
+
fontSizePtToPx as cB,
|
|
44517
|
+
resolveNamedTextStyle as cC,
|
|
44518
|
+
createDefaultToolbarPreset as cD,
|
|
44519
|
+
MenuRegistry as cE,
|
|
44520
|
+
createToolbarRegistry as cF,
|
|
44521
|
+
Editor as cG,
|
|
44522
|
+
resolveCommandRef as cH,
|
|
44523
|
+
commandRefName as cI,
|
|
44524
|
+
createOasisEditorClient as cJ,
|
|
44525
|
+
createEditorZoom as cK,
|
|
44526
|
+
startLongTaskObserver as cL,
|
|
44527
|
+
installGlobalReport as cM,
|
|
44528
|
+
applyStoredPreciseFontPreference as cN,
|
|
44529
|
+
getWelcomeSeen as cO,
|
|
44530
|
+
isLocalFontAccessSupported as cP,
|
|
44531
|
+
EDITOR_SCROLL_PADDING_PX as cQ,
|
|
44532
|
+
Toolbar as cR,
|
|
44533
|
+
OasisEditorLoading as cS,
|
|
44534
|
+
I18nProvider as cT,
|
|
44535
|
+
createTranslator as cU,
|
|
44536
|
+
registerDomStatsSurface as cV,
|
|
44537
|
+
createEditorLogger as cW,
|
|
44538
|
+
ActionRow as cX,
|
|
44539
|
+
ColorPicker as cY,
|
|
44540
|
+
CommandRegistry as cZ,
|
|
44541
|
+
DEFAULT_PALETTE as c_,
|
|
44542
|
+
perfTimer as ca,
|
|
44543
|
+
getRunTextBox as cb,
|
|
44544
|
+
createEditorDocument as cc,
|
|
44545
|
+
resolveResizedDimensions as cd,
|
|
44546
|
+
resolveTextBoxRenderHeight as ce,
|
|
44547
|
+
getToolbarStyleState as cf,
|
|
44548
|
+
VERTICAL_HIT_WEIGHT as cg,
|
|
44549
|
+
getCachedCanvasImage as ch,
|
|
44550
|
+
measureParagraphMinContentWidthPx as ci,
|
|
44551
|
+
getEditableBlocksForZone as cj,
|
|
44552
|
+
findParagraphLocation as ck,
|
|
44553
|
+
createSectionBoundaryParagraph as cl,
|
|
44554
|
+
normalizePageSettings as cm,
|
|
44555
|
+
DEFAULT_EDITOR_PAGE_SETTINGS as cn,
|
|
44556
|
+
markStart as co,
|
|
44557
|
+
markEnd as cp,
|
|
44558
|
+
getParagraphEntries as cq,
|
|
44559
|
+
getParagraphById as cr,
|
|
44560
|
+
createEditorFootnote as cs,
|
|
44561
|
+
createFootnoteReferenceRun as ct,
|
|
44562
|
+
renumberFootnotes as cu,
|
|
44563
|
+
preciseFontModeVersion as cv,
|
|
44564
|
+
isPreciseFontModeEnabled as cw,
|
|
44565
|
+
getHeadingLevel as cx,
|
|
44566
|
+
togglePreciseFontMode as cy,
|
|
44567
|
+
nextFontSizePt as cz,
|
|
44540
44568
|
domTextMeasurer as d,
|
|
44541
|
-
|
|
44542
|
-
|
|
44543
|
-
|
|
44544
|
-
|
|
44545
|
-
|
|
44546
|
-
|
|
44547
|
-
|
|
44548
|
-
|
|
44549
|
-
|
|
44550
|
-
|
|
44551
|
-
|
|
44552
|
-
|
|
44553
|
-
|
|
44554
|
-
|
|
44555
|
-
|
|
44556
|
-
|
|
44557
|
-
|
|
44558
|
-
|
|
44559
|
-
|
|
44560
|
-
|
|
44561
|
-
|
|
44562
|
-
|
|
44563
|
-
|
|
44564
|
-
|
|
44565
|
-
|
|
44566
|
-
|
|
44567
|
-
|
|
44568
|
-
|
|
44569
|
+
FieldRow as d0,
|
|
44570
|
+
FloatingActionButton as d1,
|
|
44571
|
+
GridPicker as d2,
|
|
44572
|
+
Heading as d3,
|
|
44573
|
+
IconButton as d4,
|
|
44574
|
+
Menu as d5,
|
|
44575
|
+
OASIS_BUILTIN_COMMANDS as d6,
|
|
44576
|
+
OASIS_MENU_ITEMS as d7,
|
|
44577
|
+
OASIS_TOOLBAR_ITEMS as d8,
|
|
44578
|
+
OasisEditorAppLazy as d9,
|
|
44579
|
+
OasisEditorContainer as da,
|
|
44580
|
+
PluginCollection as db,
|
|
44581
|
+
Popover as dc,
|
|
44582
|
+
RIBBON_TABS as dd,
|
|
44583
|
+
Select as de,
|
|
44584
|
+
Separator as df,
|
|
44585
|
+
SidePanel as dg,
|
|
44586
|
+
SidePanelBody as dh,
|
|
44587
|
+
SidePanelFooter as di,
|
|
44588
|
+
SidePanelHeader as dj,
|
|
44589
|
+
SplitButton as dk,
|
|
44590
|
+
StyleGallery as dl,
|
|
44591
|
+
Button$1 as dm,
|
|
44592
|
+
buildRibbonTabDefinitions as dn,
|
|
44593
|
+
createEditorCommandBus as dp,
|
|
44594
|
+
createOasisEditor as dq,
|
|
44595
|
+
createOasisEditorContainer as dr,
|
|
44596
|
+
mount as ds,
|
|
44597
|
+
registerToolbarRenderer as dt,
|
|
44569
44598
|
estimateTableBlockHeight as e,
|
|
44570
44599
|
getParagraphText as f,
|
|
44571
44600
|
getProjectedParagraphBlockHeight as g,
|