@halo-dev/richtext-editor 0.0.0-alpha.13 → 0.0.0-alpha.15

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, onMounted, onBeforeUnmount, h, reactive, markRaw, getCurrentInstance, watchEffect, nextTick, unref, Teleport, shallowRef, customRef, provide, pushScopeId, popScopeId, openBlock, createBlock, createElementBlock, normalizeClass, renderSlot, normalizeProps, guardReactiveProps, withScopeId, resolveComponent, normalizeStyle, withKeys, createElementVNode, Fragment as Fragment$1, createCommentVNode, withCtx, createVNode, renderList, resolveDynamicComponent, toDisplayString, watch, computed, withDirectives, isRef, vModelSelect, vModelText, getCurrentScope, onScopeDispose } from "vue";
1
+ import { defineComponent, ref, onMounted, onBeforeUnmount, h, reactive, markRaw, getCurrentInstance, watchEffect, nextTick, unref, Teleport, shallowRef, customRef, provide, pushScopeId, popScopeId, openBlock, createBlock, createElementBlock, normalizeClass, renderSlot, normalizeProps, guardReactiveProps, withScopeId, resolveComponent, normalizeStyle, withKeys, createElementVNode, Fragment as Fragment$1, createCommentVNode, withCtx, createVNode, createApp, mergeProps, toDisplayString, renderList, withDirectives, resolveDynamicComponent, watch, computed, isRef, vModelSelect, vModelText, getCurrentScope, onScopeDispose } from "vue";
2
2
  function OrderedMap(content) {
3
3
  this.content = content;
4
4
  }
@@ -4005,14 +4005,14 @@ class Transaction extends Transform$1 {
4005
4005
  return (this.updated & UPDATED_SCROLL) > 0;
4006
4006
  }
4007
4007
  }
4008
- function bind(f, self2) {
4008
+ function bind$1(f, self2) {
4009
4009
  return !self2 || !f ? f : f.bind(self2);
4010
4010
  }
4011
4011
  class FieldDesc {
4012
4012
  constructor(name, desc, self2) {
4013
4013
  this.name = name;
4014
- this.init = bind(desc.init, self2);
4015
- this.apply = bind(desc.apply, self2);
4014
+ this.init = bind$1(desc.init, self2);
4015
+ this.apply = bind$1(desc.apply, self2);
4016
4016
  }
4017
4017
  }
4018
4018
  const baseFields = [
@@ -16069,7 +16069,7 @@ function getChildren(popper2) {
16069
16069
  })
16070
16070
  };
16071
16071
  }
16072
- function render$B(instance) {
16072
+ function render$F(instance) {
16073
16073
  var popper2 = div();
16074
16074
  var box = div();
16075
16075
  box.className = BOX_CLASS;
@@ -16124,7 +16124,7 @@ function render$B(instance) {
16124
16124
  onUpdate
16125
16125
  };
16126
16126
  }
16127
- render$B.$$tippy = true;
16127
+ render$F.$$tippy = true;
16128
16128
  var idCounter = 1;
16129
16129
  var mouseMoveListeners = [];
16130
16130
  var mountedInstances = [];
@@ -16897,7 +16897,7 @@ Object.assign({}, applyStyles$1, {
16897
16897
  }
16898
16898
  });
16899
16899
  tippy.setDefaultProps({
16900
- render: render$B
16900
+ render: render$F
16901
16901
  });
16902
16902
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
16903
16903
  function isObject$2(value) {
@@ -20120,10 +20120,10 @@ const _hoisted_1$2$1 = {
20120
20120
  tabindex: "-1"
20121
20121
  };
20122
20122
  popScopeId();
20123
- const render$A = /* @__PURE__ */ _withId((_ctx, _cache, $props, $setup, $data, $options) => {
20123
+ const render$E = /* @__PURE__ */ _withId((_ctx, _cache, $props, $setup, $data, $options) => {
20124
20124
  return openBlock(), createBlock("div", _hoisted_1$2$1);
20125
20125
  });
20126
- script.render = render$A;
20126
+ script.render = render$E;
20127
20127
  script.__scopeId = "data-v-b329ee4c";
20128
20128
  script.__file = "src/components/ResizeObserver.vue";
20129
20129
  var PrivateThemeClass = (prop = "theme") => ({
@@ -20170,10 +20170,10 @@ const _hoisted_2$1$1 = {
20170
20170
  ref: "inner",
20171
20171
  class: "v-popper__inner"
20172
20172
  };
20173
- const _hoisted_3$F = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-outer" }, null, -1);
20173
+ const _hoisted_3$J = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-outer" }, null, -1);
20174
20174
  const _hoisted_4$2 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-inner" }, null, -1);
20175
- const _hoisted_5$1 = [
20176
- _hoisted_3$F,
20175
+ const _hoisted_5$2 = [
20176
+ _hoisted_3$J,
20177
20177
  _hoisted_4$2
20178
20178
  ];
20179
20179
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
@@ -20233,7 +20233,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
20233
20233
  left: _ctx.toPx(_ctx.result.arrow.x),
20234
20234
  top: _ctx.toPx(_ctx.result.arrow.y)
20235
20235
  } : void 0)
20236
- }, _hoisted_5$1, 4)
20236
+ }, _hoisted_5$2, 4)
20237
20237
  ], 4)
20238
20238
  ], 46, _hoisted_1$1$1);
20239
20239
  }
@@ -20351,7 +20351,7 @@ defineComponent(__spreadProps(__spreadValues$1({}, PrivatePopperWrapper), {
20351
20351
  name: "VTooltip",
20352
20352
  vPopperTheme: "tooltip"
20353
20353
  }));
20354
- defineComponent({
20354
+ const _sfc_main$7 = defineComponent({
20355
20355
  name: "VTooltipDirective",
20356
20356
  components: {
20357
20357
  Popper: PrivatePopper(),
@@ -20442,11 +20442,202 @@ defineComponent({
20442
20442
  }
20443
20443
  }
20444
20444
  });
20445
+ const _hoisted_1$L = ["innerHTML"];
20446
+ const _hoisted_2$K = ["textContent"];
20447
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
20448
+ const _component_PopperContent = resolveComponent("PopperContent");
20449
+ const _component_Popper = resolveComponent("Popper");
20450
+ return openBlock(), createBlock(_component_Popper, mergeProps({ ref: "popper" }, _ctx.$attrs, {
20451
+ theme: _ctx.theme,
20452
+ "popper-node": () => _ctx.$refs.popperContent.$el,
20453
+ onApplyShow: _ctx.onShow,
20454
+ onApplyHide: _ctx.onHide
20455
+ }), {
20456
+ default: withCtx(({
20457
+ popperId,
20458
+ isShown,
20459
+ shouldMountContent,
20460
+ skipTransition,
20461
+ autoHide,
20462
+ hide: hide2,
20463
+ handleResize,
20464
+ onResize,
20465
+ classes,
20466
+ result
20467
+ }) => [
20468
+ createVNode(_component_PopperContent, {
20469
+ ref: "popperContent",
20470
+ class: normalizeClass({
20471
+ "v-popper--tooltip-loading": _ctx.loading
20472
+ }),
20473
+ "popper-id": popperId,
20474
+ theme: _ctx.theme,
20475
+ shown: isShown,
20476
+ mounted: shouldMountContent,
20477
+ "skip-transition": skipTransition,
20478
+ "auto-hide": autoHide,
20479
+ "handle-resize": handleResize,
20480
+ classes,
20481
+ result,
20482
+ onHide: hide2,
20483
+ onResize
20484
+ }, {
20485
+ default: withCtx(() => [
20486
+ _ctx.html ? (openBlock(), createElementBlock("div", {
20487
+ key: 0,
20488
+ innerHTML: _ctx.finalContent
20489
+ }, null, 8, _hoisted_1$L)) : (openBlock(), createElementBlock("div", {
20490
+ key: 1,
20491
+ textContent: toDisplayString(_ctx.finalContent)
20492
+ }, null, 8, _hoisted_2$K))
20493
+ ]),
20494
+ _: 2
20495
+ }, 1032, ["class", "popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
20496
+ ]),
20497
+ _: 1
20498
+ }, 16, ["theme", "popper-node", "onApplyShow", "onApplyHide"]);
20499
+ }
20500
+ var PrivateTooltipDirective = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render]]);
20501
+ const TARGET_CLASS = "v-popper--has-tooltip";
20502
+ function getPlacement(options2, modifiers2) {
20503
+ let result = options2.placement;
20504
+ if (!result && modifiers2) {
20505
+ for (const pos of placements) {
20506
+ if (modifiers2[pos]) {
20507
+ result = pos;
20508
+ }
20509
+ }
20510
+ }
20511
+ if (!result) {
20512
+ result = getDefaultConfig(options2.theme || "tooltip", "placement");
20513
+ }
20514
+ return result;
20515
+ }
20516
+ function getOptions(el, value, modifiers2) {
20517
+ let options2;
20518
+ const type = typeof value;
20519
+ if (type === "string") {
20520
+ options2 = { content: value };
20521
+ } else if (value && type === "object") {
20522
+ options2 = value;
20523
+ } else {
20524
+ options2 = { content: false };
20525
+ }
20526
+ options2.placement = getPlacement(options2, modifiers2);
20527
+ options2.targetNodes = () => [el];
20528
+ options2.referenceNode = () => el;
20529
+ return options2;
20530
+ }
20531
+ let directiveApp;
20532
+ let directives;
20533
+ let uid = 0;
20534
+ function ensureDirectiveApp() {
20535
+ if (directiveApp)
20536
+ return;
20537
+ directives = ref([]);
20538
+ directiveApp = createApp({
20539
+ name: "VTooltipDirectiveApp",
20540
+ setup() {
20541
+ return {
20542
+ directives
20543
+ };
20544
+ },
20545
+ render() {
20546
+ return this.directives.map((directive) => {
20547
+ return h(PrivateTooltipDirective, __spreadProps(__spreadValues$1({}, directive.options), {
20548
+ shown: directive.shown || directive.options.shown,
20549
+ key: directive.id
20550
+ }));
20551
+ });
20552
+ },
20553
+ devtools: {
20554
+ hide: true
20555
+ }
20556
+ });
20557
+ const mountTarget = document.createElement("div");
20558
+ document.body.appendChild(mountTarget);
20559
+ directiveApp.mount(mountTarget);
20560
+ }
20561
+ function createTooltip(el, value, modifiers2) {
20562
+ ensureDirectiveApp();
20563
+ const options2 = ref(getOptions(el, value, modifiers2));
20564
+ const shown = ref(false);
20565
+ const item = {
20566
+ id: uid++,
20567
+ options: options2,
20568
+ shown
20569
+ };
20570
+ directives.value.push(item);
20571
+ if (el.classList) {
20572
+ el.classList.add(TARGET_CLASS);
20573
+ }
20574
+ const result = el.$_popper = {
20575
+ options: options2,
20576
+ item,
20577
+ show() {
20578
+ shown.value = true;
20579
+ },
20580
+ hide() {
20581
+ shown.value = false;
20582
+ }
20583
+ };
20584
+ return result;
20585
+ }
20586
+ function destroyTooltip(el) {
20587
+ if (el.$_popper) {
20588
+ const index2 = directives.value.indexOf(el.$_popper.item);
20589
+ if (index2 !== -1)
20590
+ directives.value.splice(index2, 1);
20591
+ delete el.$_popper;
20592
+ delete el.$_popperOldShown;
20593
+ delete el.$_popperMountTarget;
20594
+ }
20595
+ if (el.classList) {
20596
+ el.classList.remove(TARGET_CLASS);
20597
+ }
20598
+ }
20599
+ function bind(el, { value, modifiers: modifiers2 }) {
20600
+ const options2 = getOptions(el, value, modifiers2);
20601
+ if (!options2.content || getDefaultConfig(options2.theme || "tooltip", "disabled")) {
20602
+ destroyTooltip(el);
20603
+ } else {
20604
+ let directive;
20605
+ if (el.$_popper) {
20606
+ directive = el.$_popper;
20607
+ directive.options.value = options2;
20608
+ } else {
20609
+ directive = createTooltip(el, value, modifiers2);
20610
+ }
20611
+ if (typeof value.shown !== "undefined" && value.shown !== el.$_popperOldShown) {
20612
+ el.$_popperOldShown = value.shown;
20613
+ value.shown ? directive.show() : directive.hide();
20614
+ }
20615
+ }
20616
+ }
20617
+ var PrivateVTooltip = {
20618
+ beforeMount: bind,
20619
+ updated: bind,
20620
+ beforeUnmount(el) {
20621
+ destroyTooltip(el);
20622
+ }
20623
+ };
20624
+ const VTooltip = PrivateVTooltip;
20445
20625
  const Menu = _sfc_main$2$1;
20446
- const _hoisted_1$G = { class: "editor-header flex items-center py-1 space-x-0.5 justify-center border-b drop-shadow-sm bg-white" };
20447
- const _hoisted_2$F = ["onClick"];
20448
- const _hoisted_3$E = { class: "relative rounded-md bg-white overflow-hidden drop-shadow w-48 p-1 max-h-72 overflow-y-auto" };
20449
- const _hoisted_4$1 = ["onClick"];
20626
+ const _hoisted_1$K = { class: "editor-header flex items-center py-1 space-x-0.5 justify-center border-b drop-shadow-sm bg-white" };
20627
+ const _hoisted_2$J = {
20628
+ key: 0,
20629
+ class: "px-1"
20630
+ };
20631
+ const _hoisted_3$I = /* @__PURE__ */ createElementVNode("div", {
20632
+ class: "h-5 bg-gray-100",
20633
+ style: { "width": "1px" }
20634
+ }, null, -1);
20635
+ const _hoisted_4$1 = [
20636
+ _hoisted_3$I
20637
+ ];
20638
+ const _hoisted_5$1 = ["onClick"];
20639
+ const _hoisted_6$1 = { class: "relative rounded-md bg-white overflow-hidden drop-shadow w-48 p-1 max-h-72 overflow-y-auto" };
20640
+ const _hoisted_7 = ["onClick"];
20450
20641
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
20451
20642
  __name: "EditorHeader",
20452
20643
  props: {
@@ -20458,54 +20649,58 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
20458
20649
  },
20459
20650
  setup(__props) {
20460
20651
  return (_ctx, _cache) => {
20461
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
20652
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
20462
20653
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.menuItems, (menuItem, index2) => {
20463
20654
  var _a2, _b;
20464
20655
  return openBlock(), createElementBlock("div", {
20465
20656
  key: index2,
20466
20657
  class: "inline-flex items-center justify-center"
20467
20658
  }, [
20468
- !((_a2 = menuItem.children) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("button", {
20469
- key: 0,
20470
- class: normalizeClass([{ "bg-gray-200": (_b = menuItem.isActive) == null ? void 0 : _b.call(menuItem) }, "hover:bg-gray-100 p-1 rounded-sm"]),
20471
- onClick: menuItem.action
20472
- }, [
20473
- (openBlock(), createBlock(resolveDynamicComponent(menuItem.icon)))
20474
- ], 10, _hoisted_2$F)) : (openBlock(), createBlock(unref(Menu), {
20475
- key: 1,
20476
- class: "inline-flex"
20477
- }, {
20478
- popper: withCtx(() => [
20479
- createElementVNode("div", _hoisted_3$E, [
20480
- (openBlock(true), createElementBlock(Fragment$1, null, renderList(menuItem.children, (child, childIndex) => {
20481
- var _a3, _b2, _c;
20482
- return openBlock(), createElementBlock("div", {
20483
- key: childIndex,
20484
- class: normalizeClass([{ "!bg-gray-100": (_a3 = child.isActive) == null ? void 0 : _a3.call(child) }, "flex flex-row items-center rounded gap-4 p-1 hover:bg-gray-100 group cursor-pointer"]),
20485
- onClick: child.action
20659
+ menuItem.type === "separator" ? (openBlock(), createElementBlock("div", _hoisted_2$J, _hoisted_4$1)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
20660
+ !((_a2 = menuItem.children) == null ? void 0 : _a2.length) ? withDirectives((openBlock(), createElementBlock("button", {
20661
+ key: 0,
20662
+ class: normalizeClass([{ "bg-gray-200": (_b = menuItem.isActive) == null ? void 0 : _b.call(menuItem) }, "hover:bg-gray-100 p-1 rounded-sm"]),
20663
+ onClick: menuItem.action
20664
+ }, [
20665
+ (openBlock(), createBlock(resolveDynamicComponent(menuItem.icon)))
20666
+ ], 10, _hoisted_5$1)), [
20667
+ [unref(VTooltip), menuItem.title]
20668
+ ]) : (openBlock(), createBlock(unref(Menu), {
20669
+ key: 1,
20670
+ class: "inline-flex"
20671
+ }, {
20672
+ popper: withCtx(() => [
20673
+ createElementVNode("div", _hoisted_6$1, [
20674
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(menuItem.children, (child, childIndex) => {
20675
+ var _a3, _b2, _c;
20676
+ return openBlock(), createElementBlock("div", {
20677
+ key: childIndex,
20678
+ class: normalizeClass([{ "!bg-gray-100": (_a3 = child.isActive) == null ? void 0 : _a3.call(child) }, "flex flex-row items-center rounded gap-4 p-1 hover:bg-gray-100 group cursor-pointer"]),
20679
+ onClick: child.action
20680
+ }, [
20681
+ (openBlock(), createBlock(resolveDynamicComponent(child.icon), {
20682
+ class: normalizeClass(["bg-gray-100 p-1 rounded w-6 h-6 group-hover:bg-white", { "!bg-white": (_b2 = child.isActive) == null ? void 0 : _b2.call(child) }])
20683
+ }, null, 8, ["class"])),
20684
+ createElementVNode("span", {
20685
+ class: normalizeClass(["text-xs text-gray-600 group-hover:text-gray-900 group-hover:font-medium", { "!text-gray-900 !font-medium": (_c = child.isActive) == null ? void 0 : _c.call(child) }])
20686
+ }, toDisplayString(child.title), 3)
20687
+ ], 10, _hoisted_7);
20688
+ }), 128))
20689
+ ])
20690
+ ]),
20691
+ default: withCtx(() => {
20692
+ var _a3;
20693
+ return [
20694
+ createElementVNode("button", {
20695
+ class: normalizeClass([{ "bg-gray-200": (_a3 = menuItem.isActive) == null ? void 0 : _a3.call(menuItem) }, "hover:bg-gray-100 p-1 rounded-sm"])
20486
20696
  }, [
20487
- (openBlock(), createBlock(resolveDynamicComponent(child.icon), {
20488
- class: normalizeClass(["bg-gray-100 p-1 rounded w-6 h-6 group-hover:bg-white", { "!bg-white": (_b2 = child.isActive) == null ? void 0 : _b2.call(child) }])
20489
- }, null, 8, ["class"])),
20490
- createElementVNode("span", {
20491
- class: normalizeClass(["text-xs text-gray-600 group-hover:text-gray-900 group-hover:font-medium", { "!text-gray-900 !font-medium": (_c = child.isActive) == null ? void 0 : _c.call(child) }])
20492
- }, toDisplayString(child.title), 3)
20493
- ], 10, _hoisted_4$1);
20494
- }), 128))
20495
- ])
20496
- ]),
20497
- default: withCtx(() => {
20498
- var _a3;
20499
- return [
20500
- createElementVNode("button", {
20501
- class: normalizeClass([{ "bg-gray-200": (_a3 = menuItem.isActive) == null ? void 0 : _a3.call(menuItem) }, "hover:bg-gray-100 p-1 rounded-sm"])
20502
- }, [
20503
- (openBlock(), createBlock(resolveDynamicComponent(menuItem.icon)))
20504
- ], 2)
20505
- ];
20506
- }),
20507
- _: 2
20508
- }, 1024))
20697
+ (openBlock(), createBlock(resolveDynamicComponent(menuItem.icon)))
20698
+ ], 2)
20699
+ ];
20700
+ }),
20701
+ _: 2
20702
+ }, 1024))
20703
+ ], 64))
20509
20704
  ]);
20510
20705
  }), 128))
20511
20706
  ]);
@@ -20513,8 +20708,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
20513
20708
  }
20514
20709
  });
20515
20710
  const svgArrow = "";
20516
- const _hoisted_1$F = { class: "bg-white flex items-center rounded p-1 border drop-shadow space-x-0.5" };
20517
- const _hoisted_2$E = ["title", "onClick"];
20711
+ const _hoisted_1$J = { class: "bg-white flex items-center rounded p-1 border drop-shadow space-x-0.5" };
20712
+ const _hoisted_2$I = ["title", "onClick"];
20518
20713
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
20519
20714
  __name: "EditorBubbleMenu",
20520
20715
  props: {
@@ -20535,7 +20730,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
20535
20730
  "tippy-options": { duration: 100, arrow: unref(ROUND_ARROW), maxWidth: "100%" }
20536
20731
  }, {
20537
20732
  default: withCtx(() => [
20538
- createElementVNode("div", _hoisted_1$F, [
20733
+ createElementVNode("div", _hoisted_1$J, [
20539
20734
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.menuItems, (menuItem, index2) => {
20540
20735
  var _a2;
20541
20736
  return openBlock(), createElementBlock("button", {
@@ -20547,8 +20742,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
20547
20742
  return (_a3 = menuItem.action) == null ? void 0 : _a3.call(menuItem);
20548
20743
  }
20549
20744
  }, [
20550
- (openBlock(), createBlock(resolveDynamicComponent(menuItem.icon)))
20551
- ], 10, _hoisted_2$E);
20745
+ withDirectives((openBlock(), createBlock(resolveDynamicComponent(menuItem.icon), null, null, 512)), [
20746
+ [unref(VTooltip), menuItem.title]
20747
+ ])
20748
+ ], 10, _hoisted_2$I);
20552
20749
  }), 128))
20553
20750
  ])
20554
20751
  ]),
@@ -20557,12 +20754,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
20557
20754
  };
20558
20755
  }
20559
20756
  });
20560
- const _hoisted_1$E = {
20757
+ const _hoisted_1$I = {
20561
20758
  key: 0,
20562
20759
  class: "halo-rich-text-editor"
20563
20760
  };
20564
- const _hoisted_2$D = { class: "h-full flex flex-row w-full" };
20565
- const _hoisted_3$D = { class: "h-full" };
20761
+ const _hoisted_2$H = { class: "h-full flex flex-row w-full" };
20762
+ const _hoisted_3$H = { class: "h-full" };
20566
20763
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
20567
20764
  __name: "Editor",
20568
20765
  props: {
@@ -20588,18 +20785,18 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
20588
20785
  },
20589
20786
  setup(__props) {
20590
20787
  return (_ctx, _cache) => {
20591
- return __props.editor ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
20788
+ return __props.editor ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
20592
20789
  createVNode(_sfc_main$5, {
20593
20790
  editor: __props.editor,
20594
20791
  "menu-items": __props.bubbleMenuItems
20595
20792
  }, null, 8, ["editor", "menu-items"]),
20596
20793
  createVNode(_sfc_main$6, { "menu-items": __props.toolbarMenuItems }, null, 8, ["menu-items"]),
20597
- createElementVNode("div", _hoisted_2$D, [
20794
+ createElementVNode("div", _hoisted_2$H, [
20598
20795
  createVNode(unref(EditorContent), {
20599
20796
  editor: __props.editor,
20600
20797
  class: "editor-content prose prose-base !max-w-none prose-pre:p-0 bg-white prose-p:mt-3 prose-p:mb-3 prose-img:mt-0 prose-img:mb-0"
20601
20798
  }, null, 8, ["editor"]),
20602
- createElementVNode("div", _hoisted_3$D, [
20799
+ createElementVNode("div", _hoisted_3$H, [
20603
20800
  renderSlot(_ctx.$slots, "extra")
20604
20801
  ])
20605
20802
  ])
@@ -20611,7 +20808,7 @@ const index = "";
20611
20808
  const tailwind = "";
20612
20809
  const style = "";
20613
20810
  const githubDark = "";
20614
- const inputRegex$6 = /^\s*>\s$/;
20811
+ const inputRegex$7 = /^\s*>\s$/;
20615
20812
  const Blockquote = Node.create({
20616
20813
  name: "blockquote",
20617
20814
  addOptions() {
@@ -20651,7 +20848,7 @@ const Blockquote = Node.create({
20651
20848
  addInputRules() {
20652
20849
  return [
20653
20850
  wrappingInputRule({
20654
- find: inputRegex$6,
20851
+ find: inputRegex$7,
20655
20852
  type: this.type
20656
20853
  })
20657
20854
  ];
@@ -20730,7 +20927,7 @@ const Bold = Mark.create({
20730
20927
  ];
20731
20928
  }
20732
20929
  });
20733
- const inputRegex$5 = /^\s*([-+*])\s$/;
20930
+ const inputRegex$6 = /^\s*([-+*])\s$/;
20734
20931
  const BulletList = Node.create({
20735
20932
  name: "bulletList",
20736
20933
  addOptions() {
@@ -20766,14 +20963,14 @@ const BulletList = Node.create({
20766
20963
  addInputRules() {
20767
20964
  return [
20768
20965
  wrappingInputRule({
20769
- find: inputRegex$5,
20966
+ find: inputRegex$6,
20770
20967
  type: this.type
20771
20968
  })
20772
20969
  ];
20773
20970
  }
20774
20971
  });
20775
- const inputRegex$4 = /(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;
20776
- const pasteRegex$1 = /(?:^|\s)((?:`)((?:[^`]+))(?:`))/g;
20972
+ const inputRegex$5 = /(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;
20973
+ const pasteRegex$2 = /(?:^|\s)((?:`)((?:[^`]+))(?:`))/g;
20777
20974
  const Code = Mark.create({
20778
20975
  name: "code",
20779
20976
  addOptions() {
@@ -20813,7 +21010,7 @@ const Code = Mark.create({
20813
21010
  addInputRules() {
20814
21011
  return [
20815
21012
  markInputRule({
20816
- find: inputRegex$4,
21013
+ find: inputRegex$5,
20817
21014
  type: this.type
20818
21015
  })
20819
21016
  ];
@@ -20821,7 +21018,7 @@ const Code = Mark.create({
20821
21018
  addPasteRules() {
20822
21019
  return [
20823
21020
  markPasteRule({
20824
- find: pasteRegex$1,
21021
+ find: pasteRegex$2,
20825
21022
  type: this.type
20826
21023
  })
20827
21024
  ];
@@ -23801,7 +23998,7 @@ const ListItem = Node.create({
23801
23998
  };
23802
23999
  }
23803
24000
  });
23804
- const inputRegex$3 = /^(\d+)\.\s$/;
24001
+ const inputRegex$4 = /^(\d+)\.\s$/;
23805
24002
  const OrderedList = Node.create({
23806
24003
  name: "orderedList",
23807
24004
  addOptions() {
@@ -23850,7 +24047,7 @@ const OrderedList = Node.create({
23850
24047
  addInputRules() {
23851
24048
  return [
23852
24049
  wrappingInputRule({
23853
- find: inputRegex$3,
24050
+ find: inputRegex$4,
23854
24051
  type: this.type,
23855
24052
  getAttributes: (match) => ({ start: +match[1] }),
23856
24053
  joinPredicate: (match, node) => node.childCount + node.attrs.start === +match[1]
@@ -23889,8 +24086,8 @@ const Paragraph = Node.create({
23889
24086
  };
23890
24087
  }
23891
24088
  });
23892
- const inputRegex$2 = /(?:^|\s)((?:~~)((?:[^~]+))(?:~~))$/;
23893
- const pasteRegex = /(?:^|\s)((?:~~)((?:[^~]+))(?:~~))/g;
24089
+ const inputRegex$3 = /(?:^|\s)((?:~~)((?:[^~]+))(?:~~))$/;
24090
+ const pasteRegex$1 = /(?:^|\s)((?:~~)((?:[^~]+))(?:~~))/g;
23894
24091
  const Strike = Mark.create({
23895
24092
  name: "strike",
23896
24093
  addOptions() {
@@ -23940,7 +24137,7 @@ const Strike = Mark.create({
23940
24137
  addInputRules() {
23941
24138
  return [
23942
24139
  markInputRule({
23943
- find: inputRegex$2,
24140
+ find: inputRegex$3,
23944
24141
  type: this.type
23945
24142
  })
23946
24143
  ];
@@ -23948,7 +24145,7 @@ const Strike = Mark.create({
23948
24145
  addPasteRules() {
23949
24146
  return [
23950
24147
  markPasteRule({
23951
- find: pasteRegex,
24148
+ find: pasteRegex$1,
23952
24149
  type: this.type
23953
24150
  })
23954
24151
  ];
@@ -23994,7 +24191,7 @@ const TaskList = Node.create({
23994
24191
  };
23995
24192
  }
23996
24193
  });
23997
- const inputRegex$1 = /^\s*(\[([( |x])?\])\s$/;
24194
+ const inputRegex$2 = /^\s*(\[([( |x])?\])\s$/;
23998
24195
  const TaskItem = Node.create({
23999
24196
  name: "taskItem",
24000
24197
  addOptions() {
@@ -24125,7 +24322,7 @@ const TaskItem = Node.create({
24125
24322
  addInputRules() {
24126
24323
  return [
24127
24324
  wrappingInputRule({
24128
- find: inputRegex$1,
24325
+ find: inputRegex$2,
24129
24326
  type: this.type,
24130
24327
  getAttributes: (match) => ({
24131
24328
  checked: match[match.length - 1] === "x"
@@ -25365,6 +25562,81 @@ const Placeholder = Extension.create({
25365
25562
  ];
25366
25563
  }
25367
25564
  });
25565
+ const inputRegex$1 = /(?:^|\s)((?:==)((?:[^~=]+))(?:==))$/;
25566
+ const pasteRegex = /(?:^|\s)((?:==)((?:[^~=]+))(?:==))/g;
25567
+ const Highlight = Mark.create({
25568
+ name: "highlight",
25569
+ addOptions() {
25570
+ return {
25571
+ multicolor: false,
25572
+ HTMLAttributes: {}
25573
+ };
25574
+ },
25575
+ addAttributes() {
25576
+ if (!this.options.multicolor) {
25577
+ return {};
25578
+ }
25579
+ return {
25580
+ color: {
25581
+ default: null,
25582
+ parseHTML: (element) => element.getAttribute("data-color") || element.style.backgroundColor,
25583
+ renderHTML: (attributes) => {
25584
+ if (!attributes.color) {
25585
+ return {};
25586
+ }
25587
+ return {
25588
+ "data-color": attributes.color,
25589
+ style: `background-color: ${attributes.color}; color: inherit`
25590
+ };
25591
+ }
25592
+ }
25593
+ };
25594
+ },
25595
+ parseHTML() {
25596
+ return [
25597
+ {
25598
+ tag: "mark"
25599
+ }
25600
+ ];
25601
+ },
25602
+ renderHTML({ HTMLAttributes }) {
25603
+ return ["mark", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
25604
+ },
25605
+ addCommands() {
25606
+ return {
25607
+ setHighlight: (attributes) => ({ commands: commands2 }) => {
25608
+ return commands2.setMark(this.name, attributes);
25609
+ },
25610
+ toggleHighlight: (attributes) => ({ commands: commands2 }) => {
25611
+ return commands2.toggleMark(this.name, attributes);
25612
+ },
25613
+ unsetHighlight: () => ({ commands: commands2 }) => {
25614
+ return commands2.unsetMark(this.name);
25615
+ }
25616
+ };
25617
+ },
25618
+ addKeyboardShortcuts() {
25619
+ return {
25620
+ "Mod-Shift-h": () => this.editor.commands.toggleHighlight()
25621
+ };
25622
+ },
25623
+ addInputRules() {
25624
+ return [
25625
+ markInputRule({
25626
+ find: inputRegex$1,
25627
+ type: this.type
25628
+ })
25629
+ ];
25630
+ },
25631
+ addPasteRules() {
25632
+ return [
25633
+ markPasteRule({
25634
+ find: pasteRegex,
25635
+ type: this.type
25636
+ })
25637
+ ];
25638
+ }
25639
+ });
25368
25640
  function findSuggestionMatch(config2) {
25369
25641
  var _a2;
25370
25642
  const { char, allowSpaces, allowedPrefixes, startOfLine, $position } = config2;
@@ -25585,9 +25857,9 @@ const ExtensionCommands = Extension.create({
25585
25857
  ];
25586
25858
  }
25587
25859
  });
25588
- const _hoisted_1$D = { class: "command-items" };
25589
- const _hoisted_2$C = ["id", "onClick"];
25590
- const _hoisted_3$C = { class: "command-title group-hover:text-gray-900 group-hover:font-medium" };
25860
+ const _hoisted_1$H = { class: "command-items" };
25861
+ const _hoisted_2$G = ["id", "onClick"];
25862
+ const _hoisted_3$G = { class: "command-title group-hover:text-gray-900 group-hover:font-medium" };
25591
25863
  const _hoisted_4 = {
25592
25864
  key: 1,
25593
25865
  class: "command-empty"
@@ -25663,7 +25935,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
25663
25935
  onKeyDown
25664
25936
  });
25665
25937
  return (_ctx, _cache) => {
25666
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
25938
+ return openBlock(), createElementBlock("div", _hoisted_1$H, [
25667
25939
  __props.items.length ? (openBlock(true), createElementBlock(Fragment$1, { key: 0 }, renderList(__props.items, (item, index2) => {
25668
25940
  return openBlock(), createElementBlock("div", {
25669
25941
  id: `command-item-${index2}`,
@@ -25672,14 +25944,78 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
25672
25944
  onClick: ($event) => handleSelectItem(index2)
25673
25945
  }, [
25674
25946
  (openBlock(), createBlock(resolveDynamicComponent(item.icon), { class: "command-icon group-hover:!bg-white" })),
25675
- createElementVNode("span", _hoisted_3$C, toDisplayString(item.title), 1)
25676
- ], 10, _hoisted_2$C);
25947
+ createElementVNode("span", _hoisted_3$G, toDisplayString(item.title), 1)
25948
+ ], 10, _hoisted_2$G);
25677
25949
  }), 128)) : (openBlock(), createElementBlock("div", _hoisted_4, _hoisted_6))
25678
25950
  ]);
25679
25951
  };
25680
25952
  }
25681
25953
  });
25682
25954
  const CommandsView_vue_vue_type_style_index_0_lang = "";
25955
+ const _hoisted_1$G = {
25956
+ viewBox: "0 0 24 24",
25957
+ width: "1.2em",
25958
+ height: "1.2em"
25959
+ };
25960
+ const _hoisted_2$F = /* @__PURE__ */ createElementVNode("path", {
25961
+ fill: "currentColor",
25962
+ d: "M13 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4h-2v6H9V4h4m0 6a2 2 0 0 0 2-2a2 2 0 0 0-2-2h-2v4h2Z"
25963
+ }, null, -1);
25964
+ const _hoisted_3$F = [
25965
+ _hoisted_2$F
25966
+ ];
25967
+ function render$D(_ctx, _cache) {
25968
+ return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_3$F);
25969
+ }
25970
+ const MdiFormatParagraph = { name: "mdi-format-paragraph", render: render$D };
25971
+ const _hoisted_1$F = {
25972
+ viewBox: "0 0 24 24",
25973
+ width: "1.2em",
25974
+ height: "1.2em"
25975
+ };
25976
+ const _hoisted_2$E = /* @__PURE__ */ createElementVNode("path", {
25977
+ fill: "currentColor",
25978
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m11 14v-2h2V6.31l-2.5 1.44V5.44L16 4h2v12h2v2h-6Z"
25979
+ }, null, -1);
25980
+ const _hoisted_3$E = [
25981
+ _hoisted_2$E
25982
+ ];
25983
+ function render$C(_ctx, _cache) {
25984
+ return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_3$E);
25985
+ }
25986
+ const MdiFormatHeader1 = { name: "mdi-format-header-1", render: render$C };
25987
+ const _hoisted_1$E = {
25988
+ viewBox: "0 0 24 24",
25989
+ width: "1.2em",
25990
+ height: "1.2em"
25991
+ };
25992
+ const _hoisted_2$D = /* @__PURE__ */ createElementVNode("path", {
25993
+ fill: "currentColor",
25994
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m18 14h-6a2 2 0 0 1-2-2c0-.53.2-1 .54-1.36l4.87-5.23c.37-.36.59-.86.59-1.41a2 2 0 0 0-2-2a2 2 0 0 0-2 2h-2a4 4 0 0 1 4-4a4 4 0 0 1 4 4c0 1.1-.45 2.1-1.17 2.83L15 16h6v2Z"
25995
+ }, null, -1);
25996
+ const _hoisted_3$D = [
25997
+ _hoisted_2$D
25998
+ ];
25999
+ function render$B(_ctx, _cache) {
26000
+ return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_3$D);
26001
+ }
26002
+ const MdiFormatHeader2 = { name: "mdi-format-header-2", render: render$B };
26003
+ const _hoisted_1$D = {
26004
+ viewBox: "0 0 24 24",
26005
+ width: "1.2em",
26006
+ height: "1.2em"
26007
+ };
26008
+ const _hoisted_2$C = /* @__PURE__ */ createElementVNode("path", {
26009
+ fill: "currentColor",
26010
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m12 0h4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-1h2v1h4v-4h-4v-2h4V6h-4v1h-2V6a2 2 0 0 1 2-2Z"
26011
+ }, null, -1);
26012
+ const _hoisted_3$C = [
26013
+ _hoisted_2$C
26014
+ ];
26015
+ function render$A(_ctx, _cache) {
26016
+ return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_3$C);
26017
+ }
26018
+ const MdiFormatHeader3 = { name: "mdi-format-header-3", render: render$A };
25683
26019
  const _hoisted_1$C = {
25684
26020
  viewBox: "0 0 24 24",
25685
26021
  width: "1.2em",
@@ -25687,7 +26023,7 @@ const _hoisted_1$C = {
25687
26023
  };
25688
26024
  const _hoisted_2$B = /* @__PURE__ */ createElementVNode("path", {
25689
26025
  fill: "currentColor",
25690
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m11 14v-2h2V6.31l-2.5 1.44V5.44L16 4h2v12h2v2h-6Z"
26026
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m15 14v-5h-5v-2l5-7h2v7h1v2h-1v5h-2m0-7V7.42L15.45 11H18Z"
25691
26027
  }, null, -1);
25692
26028
  const _hoisted_3$B = [
25693
26029
  _hoisted_2$B
@@ -25695,7 +26031,7 @@ const _hoisted_3$B = [
25695
26031
  function render$z(_ctx, _cache) {
25696
26032
  return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_3$B);
25697
26033
  }
25698
- const MdiFormatHeader1 = { name: "mdi-format-header-1", render: render$z };
26034
+ const MdiFormatHeader4 = { name: "mdi-format-header-4", render: render$z };
25699
26035
  const _hoisted_1$B = {
25700
26036
  viewBox: "0 0 24 24",
25701
26037
  width: "1.2em",
@@ -25703,7 +26039,7 @@ const _hoisted_1$B = {
25703
26039
  };
25704
26040
  const _hoisted_2$A = /* @__PURE__ */ createElementVNode("path", {
25705
26041
  fill: "currentColor",
25706
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m18 14h-6a2 2 0 0 1-2-2c0-.53.2-1 .54-1.36l4.87-5.23c.37-.36.59-.86.59-1.41a2 2 0 0 0-2-2a2 2 0 0 0-2 2h-2a4 4 0 0 1 4-4a4 4 0 0 1 4 4c0 1.1-.45 2.1-1.17 2.83L15 16h6v2Z"
26042
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m12 0h5v2h-5v4h2a4 4 0 0 1 4 4a4 4 0 0 1-4 4h-2a2 2 0 0 1-2-2v-1h2v1h2a2 2 0 0 0 2-2a2 2 0 0 0-2-2h-2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z"
25707
26043
  }, null, -1);
25708
26044
  const _hoisted_3$A = [
25709
26045
  _hoisted_2$A
@@ -25711,7 +26047,7 @@ const _hoisted_3$A = [
25711
26047
  function render$y(_ctx, _cache) {
25712
26048
  return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_3$A);
25713
26049
  }
25714
- const MdiFormatHeader2 = { name: "mdi-format-header-2", render: render$y };
26050
+ const MdiFormatHeader5 = { name: "mdi-format-header-5", render: render$y };
25715
26051
  const _hoisted_1$A = {
25716
26052
  viewBox: "0 0 24 24",
25717
26053
  width: "1.2em",
@@ -25719,7 +26055,7 @@ const _hoisted_1$A = {
25719
26055
  };
25720
26056
  const _hoisted_2$z = /* @__PURE__ */ createElementVNode("path", {
25721
26057
  fill: "currentColor",
25722
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m12 0h4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-1h2v1h4v-4h-4v-2h4V6h-4v1h-2V6a2 2 0 0 1 2-2Z"
26058
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m12 0h4a2 2 0 0 1 2 2v1h-2V6h-4v4h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2m0 8v4h4v-4h-4Z"
25723
26059
  }, null, -1);
25724
26060
  const _hoisted_3$z = [
25725
26061
  _hoisted_2$z
@@ -25727,7 +26063,7 @@ const _hoisted_3$z = [
25727
26063
  function render$x(_ctx, _cache) {
25728
26064
  return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$z);
25729
26065
  }
25730
- const MdiFormatHeader3 = { name: "mdi-format-header-3", render: render$x };
26066
+ const MdiFormatHeader6 = { name: "mdi-format-header-6", render: render$x };
25731
26067
  const _hoisted_1$z = {
25732
26068
  viewBox: "0 0 24 24",
25733
26069
  width: "1.2em",
@@ -25735,7 +26071,7 @@ const _hoisted_1$z = {
25735
26071
  };
25736
26072
  const _hoisted_2$y = /* @__PURE__ */ createElementVNode("path", {
25737
26073
  fill: "currentColor",
25738
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m15 14v-5h-5v-2l5-7h2v7h1v2h-1v5h-2m0-7V7.42L15.45 11H18Z"
26074
+ d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-8 5H9v2c0 1.1-.9 2-2 2c1.1 0 2 .9 2 2v2h2v2H9c-1.1 0-2-.9-2-2v-1c0-1.1-.9-2-2-2v-2c1.1 0 2-.9 2-2V8c0-1.1.9-2 2-2h2v2m8 5c-1.1 0-2 .9-2 2v1c0 1.1-.9 2-2 2h-2v-2h2v-2c0-1.1.9-2 2-2c-1.1 0-2-.9-2-2V8h-2V6h2c1.1 0 2 .9 2 2v1c0 1.1.9 2 2 2v2Z"
25739
26075
  }, null, -1);
25740
26076
  const _hoisted_3$y = [
25741
26077
  _hoisted_2$y
@@ -25743,7 +26079,7 @@ const _hoisted_3$y = [
25743
26079
  function render$w(_ctx, _cache) {
25744
26080
  return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_3$y);
25745
26081
  }
25746
- const MdiFormatHeader4 = { name: "mdi-format-header-4", render: render$w };
26082
+ const MdiCodeBracesBox = { name: "mdi-code-braces-box", render: render$w };
25747
26083
  const _hoisted_1$y = {
25748
26084
  viewBox: "0 0 24 24",
25749
26085
  width: "1.2em",
@@ -25751,7 +26087,7 @@ const _hoisted_1$y = {
25751
26087
  };
25752
26088
  const _hoisted_2$x = /* @__PURE__ */ createElementVNode("path", {
25753
26089
  fill: "currentColor",
25754
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m12 0h5v2h-5v4h2a4 4 0 0 1 4 4a4 4 0 0 1-4 4h-2a2 2 0 0 1-2-2v-1h2v1h2a2 2 0 0 0 2-2a2 2 0 0 0-2-2h-2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z"
26090
+ d: "M7 5h14v2H7V5m0 8v-2h14v2H7M4 4.5A1.5 1.5 0 0 1 5.5 6A1.5 1.5 0 0 1 4 7.5A1.5 1.5 0 0 1 2.5 6A1.5 1.5 0 0 1 4 4.5m0 6A1.5 1.5 0 0 1 5.5 12A1.5 1.5 0 0 1 4 13.5A1.5 1.5 0 0 1 2.5 12A1.5 1.5 0 0 1 4 10.5M7 19v-2h14v2H7m-3-2.5A1.5 1.5 0 0 1 5.5 18A1.5 1.5 0 0 1 4 19.5A1.5 1.5 0 0 1 2.5 18A1.5 1.5 0 0 1 4 16.5Z"
25755
26091
  }, null, -1);
25756
26092
  const _hoisted_3$x = [
25757
26093
  _hoisted_2$x
@@ -25759,7 +26095,7 @@ const _hoisted_3$x = [
25759
26095
  function render$v(_ctx, _cache) {
25760
26096
  return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$x);
25761
26097
  }
25762
- const MdiFormatHeader5 = { name: "mdi-format-header-5", render: render$v };
26098
+ const MdiFormatListBulleted = { name: "mdi-format-list-bulleted", render: render$v };
25763
26099
  const _hoisted_1$x = {
25764
26100
  viewBox: "0 0 24 24",
25765
26101
  width: "1.2em",
@@ -25767,7 +26103,7 @@ const _hoisted_1$x = {
25767
26103
  };
25768
26104
  const _hoisted_2$w = /* @__PURE__ */ createElementVNode("path", {
25769
26105
  fill: "currentColor",
25770
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m12 0h4a2 2 0 0 1 2 2v1h-2V6h-4v4h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2m0 8v4h4v-4h-4Z"
26106
+ d: "M21 19v-2H8v2h13m0-6v-2H8v2h13M8 7h13V5H8v2M4 5v2h2V5H4M3 5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5m1 6v2h2v-2H4m-1 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-2m1 6v2h2v-2H4m-1 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-2Z"
25771
26107
  }, null, -1);
25772
26108
  const _hoisted_3$w = [
25773
26109
  _hoisted_2$w
@@ -25775,7 +26111,7 @@ const _hoisted_3$w = [
25775
26111
  function render$u(_ctx, _cache) {
25776
26112
  return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$w);
25777
26113
  }
25778
- const MdiFormatHeader6 = { name: "mdi-format-header-6", render: render$u };
26114
+ const MdiFormatListCheckbox = { name: "mdi-format-list-checkbox", render: render$u };
25779
26115
  const _hoisted_1$w = {
25780
26116
  viewBox: "0 0 24 24",
25781
26117
  width: "1.2em",
@@ -25783,7 +26119,7 @@ const _hoisted_1$w = {
25783
26119
  };
25784
26120
  const _hoisted_2$v = /* @__PURE__ */ createElementVNode("path", {
25785
26121
  fill: "currentColor",
25786
- d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-8 5H9v2c0 1.1-.9 2-2 2c1.1 0 2 .9 2 2v2h2v2H9c-1.1 0-2-.9-2-2v-1c0-1.1-.9-2-2-2v-2c1.1 0 2-.9 2-2V8c0-1.1.9-2 2-2h2v2m8 5c-1.1 0-2 .9-2 2v1c0 1.1-.9 2-2 2h-2v-2h2v-2c0-1.1.9-2 2-2c-1.1 0-2-.9-2-2V8h-2V6h2c1.1 0 2 .9 2 2v1c0 1.1.9 2 2 2v2Z"
26122
+ d: "M7 13v-2h14v2H7m0 6v-2h14v2H7M7 7V5h14v2H7M3 8V5H2V4h2v4H3m-1 9v-1h3v4H2v-1h2v-.5H3v-1h1V17H2m2.25-7a.75.75 0 0 1 .75.75c0 .2-.08.39-.21.52L3.12 13H5v1H2v-.92L4 11H2v-1h2.25Z"
25787
26123
  }, null, -1);
25788
26124
  const _hoisted_3$v = [
25789
26125
  _hoisted_2$v
@@ -25791,7 +26127,7 @@ const _hoisted_3$v = [
25791
26127
  function render$t(_ctx, _cache) {
25792
26128
  return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$v);
25793
26129
  }
25794
- const MdiCodeBracesBox = { name: "mdi-code-braces-box", render: render$t };
26130
+ const MdiFormatListNumbered = { name: "mdi-format-list-numbered", render: render$t };
25795
26131
  const _hoisted_1$v = {
25796
26132
  viewBox: "0 0 24 24",
25797
26133
  width: "1.2em",
@@ -25799,7 +26135,7 @@ const _hoisted_1$v = {
25799
26135
  };
25800
26136
  const _hoisted_2$u = /* @__PURE__ */ createElementVNode("path", {
25801
26137
  fill: "currentColor",
25802
- d: "M16.36 14c.08-.66.14-1.32.14-2c0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2m-5.15 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56M14.34 14H9.66c-.1-.66-.16-1.32-.16-2c0-.68.06-1.35.16-2h4.68c.09.65.16 1.32.16 2c0 .68-.07 1.34-.16 2M12 19.96c-.83-1.2-1.5-2.53-1.91-3.96h3.82c-.41 1.43-1.08 2.76-1.91 3.96M8 8H5.08A7.923 7.923 0 0 1 9.4 4.44C8.8 5.55 8.35 6.75 8 8m-2.92 8H8c.35 1.25.8 2.45 1.4 3.56A8.008 8.008 0 0 1 5.08 16m-.82-2C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2c0 .68.06 1.34.14 2M12 4.03c.83 1.2 1.5 2.54 1.91 3.97h-3.82c.41-1.43 1.08-2.77 1.91-3.97M18.92 8h-2.95a15.65 15.65 0 0 0-1.38-3.56c1.84.63 3.37 1.9 4.33 3.56M12 2C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"
26138
+ d: "M5 4h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2m0 4v4h6V8H5m8 0v4h6V8h-6m-8 6v4h6v-4H5m8 0v4h6v-4h-6Z"
25803
26139
  }, null, -1);
25804
26140
  const _hoisted_3$u = [
25805
26141
  _hoisted_2$u
@@ -25807,7 +26143,31 @@ const _hoisted_3$u = [
25807
26143
  function render$s(_ctx, _cache) {
25808
26144
  return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$u);
25809
26145
  }
25810
- const MdiWeb = { name: "mdi-web", render: render$s };
26146
+ const MdiTable = { name: "mdi-table", render: render$s };
26147
+ const _hoisted_1$u = {
26148
+ viewBox: "0 0 24 24",
26149
+ width: "1.2em",
26150
+ height: "1.2em"
26151
+ };
26152
+ const _hoisted_2$t = /* @__PURE__ */ createElementVNode("path", {
26153
+ fill: "currentColor",
26154
+ d: "M16.36 14c.08-.66.14-1.32.14-2c0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2m-5.15 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56M14.34 14H9.66c-.1-.66-.16-1.32-.16-2c0-.68.06-1.35.16-2h4.68c.09.65.16 1.32.16 2c0 .68-.07 1.34-.16 2M12 19.96c-.83-1.2-1.5-2.53-1.91-3.96h3.82c-.41 1.43-1.08 2.76-1.91 3.96M8 8H5.08A7.923 7.923 0 0 1 9.4 4.44C8.8 5.55 8.35 6.75 8 8m-2.92 8H8c.35 1.25.8 2.45 1.4 3.56A8.008 8.008 0 0 1 5.08 16m-.82-2C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2c0 .68.06 1.34.14 2M12 4.03c.83 1.2 1.5 2.54 1.91 3.97h-3.82c.41-1.43 1.08-2.77 1.91-3.97M18.92 8h-2.95a15.65 15.65 0 0 0-1.38-3.56c1.84.63 3.37 1.9 4.33 3.56M12 2C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"
26155
+ }, null, -1);
26156
+ const _hoisted_3$t = [
26157
+ _hoisted_2$t
26158
+ ];
26159
+ function render$r(_ctx, _cache) {
26160
+ return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$t);
26161
+ }
26162
+ const MdiWeb = { name: "mdi-web", render: render$r };
26163
+ const CommentParagraph = {
26164
+ icon: markRaw(MdiFormatParagraph),
26165
+ title: "\u666E\u901A\u6587\u672C",
26166
+ keywords: ["paragraph", "text", "\u666E\u901A\u6587\u672C", "putongwenben"],
26167
+ command: ({ editor, range }) => {
26168
+ editor.chain().focus().deleteRange(range).setParagraph().run();
26169
+ }
26170
+ };
25811
26171
  const CommandHeader1 = {
25812
26172
  icon: markRaw(MdiFormatHeader1),
25813
26173
  title: "\u4E00\u7EA7\u6807\u9898",
@@ -25875,65 +26235,54 @@ const CommandIframe = {
25875
26235
  ]).run();
25876
26236
  }
25877
26237
  };
26238
+ const CommandTable = {
26239
+ icon: markRaw(MdiTable),
26240
+ title: "\u8868\u683C",
26241
+ keywords: ["table", "biaoge"],
26242
+ command: ({ editor, range }) => {
26243
+ editor.chain().focus().deleteRange(range).insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run();
26244
+ }
26245
+ };
26246
+ const CommandBulletList = {
26247
+ icon: markRaw(MdiFormatListBulleted),
26248
+ title: "\u65E0\u5E8F\u5217\u8868",
26249
+ keywords: ["bulletlist", "wuxuliebiao"],
26250
+ command: ({ editor, range }) => {
26251
+ editor.chain().focus().deleteRange(range).toggleBulletList().run();
26252
+ }
26253
+ };
26254
+ const CommandOrderedList = {
26255
+ icon: markRaw(MdiFormatListNumbered),
26256
+ title: "\u6709\u5E8F\u5217\u8868",
26257
+ keywords: ["orderedlist", "youxuliebiao"],
26258
+ command: ({ editor, range }) => {
26259
+ editor.chain().focus().deleteRange(range).toggleOrderedList().run();
26260
+ }
26261
+ };
26262
+ const CommandTaskList = {
26263
+ icon: markRaw(MdiFormatListCheckbox),
26264
+ title: "\u4EFB\u52A1\u5217\u8868",
26265
+ keywords: ["tasklist", "renwuliebiao"],
26266
+ command: ({ editor, range }) => {
26267
+ editor.chain().focus().deleteRange(range).toggleTaskList().run();
26268
+ }
26269
+ };
25878
26270
  const suggestion = {
25879
26271
  items: ({ query }) => {
25880
26272
  return [
25881
- {
25882
- icon: markRaw(MdiFormatHeader1),
25883
- title: "\u4E00\u7EA7\u6807\u9898",
25884
- keywords: ["h1", "header1", "1", "yijibiaoti"],
25885
- command: ({ editor, range }) => {
25886
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 1 }).run();
25887
- }
25888
- },
25889
- {
25890
- icon: markRaw(MdiFormatHeader2),
25891
- title: "\u4E8C\u7EA7\u6807\u9898",
25892
- keywords: ["h2", "header2", "2", "erjibiaoti"],
25893
- command: ({ editor, range }) => {
25894
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 2 }).run();
25895
- }
25896
- },
25897
- {
25898
- icon: markRaw(MdiFormatHeader3),
25899
- title: "\u4E09\u7EA7\u6807\u9898",
25900
- keywords: ["h3", "header3", "3", "sanjibiaoti"],
25901
- command: ({ editor, range }) => {
25902
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 3 }).run();
25903
- }
25904
- },
25905
- {
25906
- icon: markRaw(MdiFormatHeader4),
25907
- title: "\u56DB\u7EA7\u6807\u9898",
25908
- keywords: ["h4", "header4", "4", "sijibiaoti"],
25909
- command: ({ editor, range }) => {
25910
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 4 }).run();
25911
- }
25912
- },
25913
- {
25914
- icon: markRaw(MdiFormatHeader5),
25915
- title: "\u4E94\u7EA7\u6807\u9898",
25916
- keywords: ["h5", "header5", "5", "wujibiaoti"],
25917
- command: ({ editor, range }) => {
25918
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 5 }).run();
25919
- }
25920
- },
25921
- {
25922
- icon: markRaw(MdiFormatHeader6),
25923
- title: "\u516D\u7EA7\u6807\u9898",
25924
- keywords: ["h6", "header6", "6", "liujibiaoti"],
25925
- command: ({ editor, range }) => {
25926
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 6 }).run();
25927
- }
25928
- },
25929
- {
25930
- icon: markRaw(MdiCodeBracesBox),
25931
- title: "\u4EE3\u7801\u5757",
25932
- keywords: ["codeblock", "daimakuai"],
25933
- command: ({ editor, range }) => {
25934
- editor.chain().focus().deleteRange(range).setCodeBlock().run();
25935
- }
25936
- }
26273
+ CommentParagraph,
26274
+ CommandHeader1,
26275
+ CommandHeader2,
26276
+ CommandHeader3,
26277
+ CommandHeader4,
26278
+ CommandHeader5,
26279
+ CommandHeader6,
26280
+ CommandCodeBlock,
26281
+ CommandTable,
26282
+ CommandBulletList,
26283
+ CommandOrderedList,
26284
+ CommandTaskList,
26285
+ CommandIframe
25937
26286
  ].filter(
25938
26287
  (item) => [...item.keywords, item.title].some(
25939
26288
  (keyword) => keyword.includes(query)
@@ -40999,9 +41348,9 @@ lowlight$1.registerLanguage("wasm", wasm);
40999
41348
  lowlight$1.registerLanguage("xml", xml);
41000
41349
  lowlight$1.registerLanguage("yaml", yaml);
41001
41350
  const lowlight = lowlight$1;
41002
- const _hoisted_1$u = { class: "px-2 py-1.5" };
41003
- const _hoisted_2$t = /* @__PURE__ */ createElementVNode("option", { value: null }, "auto", -1);
41004
- const _hoisted_3$t = ["value"];
41351
+ const _hoisted_1$t = { class: "px-2 py-1.5" };
41352
+ const _hoisted_2$s = /* @__PURE__ */ createElementVNode("option", { value: null }, "auto", -1);
41353
+ const _hoisted_3$s = ["value"];
41005
41354
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
41006
41355
  __name: "CodeBlockViewRenderer",
41007
41356
  props: {
@@ -41031,18 +41380,18 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
41031
41380
  return (_ctx, _cache) => {
41032
41381
  return openBlock(), createBlock(unref(NodeViewWrapper), { class: "code-block divide-gray-100 bg-gray-100 overflow-hidden rounded-md my-3" }, {
41033
41382
  default: withCtx(() => [
41034
- createElementVNode("div", _hoisted_1$u, [
41383
+ createElementVNode("div", _hoisted_1$t, [
41035
41384
  withDirectives(createElementVNode("select", {
41036
41385
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(selectedLanguage) ? selectedLanguage.value = $event : null),
41037
41386
  contenteditable: "false",
41038
41387
  class: "block px-2 py-1.5 text-sm text-gray-900 border border-gray-300 rounded-md bg-gray-50 focus:ring-blue-500 focus:border-blue-500"
41039
41388
  }, [
41040
- _hoisted_2$t,
41389
+ _hoisted_2$s,
41041
41390
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(languages), (language, index2) => {
41042
41391
  return openBlock(), createElementBlock("option", {
41043
41392
  key: index2,
41044
41393
  value: language
41045
- }, toDisplayString(language), 9, _hoisted_3$t);
41394
+ }, toDisplayString(language), 9, _hoisted_3$s);
41046
41395
  }), 128))
41047
41396
  ], 512), [
41048
41397
  [vModelSelect, unref(selectedLanguage)]
@@ -41064,9 +41413,9 @@ const ExtensionCodeBlock = CodeBlockLowlight.extend({
41064
41413
  return VueNodeViewRenderer(_sfc_main$2);
41065
41414
  }
41066
41415
  });
41067
- const _hoisted_1$t = { class: "block w-full relative" };
41068
- const _hoisted_2$s = { class: "px-2 py-1.5" };
41069
- const _hoisted_3$s = ["src", "width", "height"];
41416
+ const _hoisted_1$s = { class: "block w-full relative" };
41417
+ const _hoisted_2$r = { class: "px-2 py-1.5" };
41418
+ const _hoisted_3$r = ["src", "width", "height"];
41070
41419
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
41071
41420
  __name: "IframeView",
41072
41421
  props: {
@@ -41096,8 +41445,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
41096
41445
  class: "divide-gray-100 bg-gray-100 overflow-hidden rounded-md w-full my-3"
41097
41446
  }, {
41098
41447
  default: withCtx(() => [
41099
- createElementVNode("div", _hoisted_1$t, [
41100
- createElementVNode("div", _hoisted_2$s, [
41448
+ createElementVNode("div", _hoisted_1$s, [
41449
+ createElementVNode("div", _hoisted_2$r, [
41101
41450
  withDirectives(createElementVNode("input", {
41102
41451
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(src) ? src.value = $event : null),
41103
41452
  class: "block px-2 w-full py-1.5 text-sm text-gray-900 border border-gray-300 rounded-md bg-gray-50 focus:ring-blue-500 focus:border-blue-500",
@@ -41117,7 +41466,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
41117
41466
  frameborder: "no",
41118
41467
  framespacing: "0",
41119
41468
  allowfullscreen: "true"
41120
- }, null, 8, _hoisted_3$s)) : createCommentVNode("", true)
41469
+ }, null, 8, _hoisted_3$r)) : createCommentVNode("", true)
41121
41470
  ])
41122
41471
  ]),
41123
41472
  _: 1
@@ -41462,7 +41811,7 @@ const _TransitionPresets = {
41462
41811
  __spreadValues({
41463
41812
  linear: identity
41464
41813
  }, _TransitionPresets);
41465
- const _hoisted_1$s = ["src", "title", "alt"];
41814
+ const _hoisted_1$r = ["src", "title", "alt"];
41466
41815
  const _sfc_main = /* @__PURE__ */ defineComponent({
41467
41816
  __name: "ImageView",
41468
41817
  props: {
@@ -41514,7 +41863,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41514
41863
  title: __props.node.attrs.title,
41515
41864
  alt: unref(alt),
41516
41865
  class: "w-full h-full"
41517
- }, null, 8, _hoisted_1$s)
41866
+ }, null, 8, _hoisted_1$r)
41518
41867
  ], 6)
41519
41868
  ]),
41520
41869
  _: 1
@@ -43835,6 +44184,7 @@ const allExtensions = [
43835
44184
  Image,
43836
44185
  TaskList,
43837
44186
  TaskItem,
44187
+ Highlight,
43838
44188
  Link.configure({
43839
44189
  autolink: true,
43840
44190
  openOnClick: false
@@ -43859,22 +44209,6 @@ const allExtensions = [
43859
44209
  }),
43860
44210
  Iframe
43861
44211
  ];
43862
- const _hoisted_1$r = {
43863
- viewBox: "0 0 24 24",
43864
- width: "1.2em",
43865
- height: "1.2em"
43866
- };
43867
- const _hoisted_2$r = /* @__PURE__ */ createElementVNode("path", {
43868
- fill: "currentColor",
43869
- d: "M13.5 15.5H10v-3h3.5A1.5 1.5 0 0 1 15 14a1.5 1.5 0 0 1-1.5 1.5m-3.5-9h3A1.5 1.5 0 0 1 14.5 8A1.5 1.5 0 0 1 13 9.5h-3m5.6 1.29c.97-.68 1.65-1.79 1.65-2.79c0-2.26-1.75-4-4-4H7v14h7.04c2.1 0 3.71-1.7 3.71-3.79c0-1.52-.86-2.82-2.15-3.42Z"
43870
- }, null, -1);
43871
- const _hoisted_3$r = [
43872
- _hoisted_2$r
43873
- ];
43874
- function render$r(_ctx, _cache) {
43875
- return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$r);
43876
- }
43877
- const MdiFormatBold = { name: "mdi-format-bold", render: render$r };
43878
44212
  const _hoisted_1$q = {
43879
44213
  viewBox: "0 0 24 24",
43880
44214
  width: "1.2em",
@@ -43882,7 +44216,7 @@ const _hoisted_1$q = {
43882
44216
  };
43883
44217
  const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
43884
44218
  fill: "currentColor",
43885
- d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4h-8Z"
44219
+ d: "M13.5 15.5H10v-3h3.5A1.5 1.5 0 0 1 15 14a1.5 1.5 0 0 1-1.5 1.5m-3.5-9h3A1.5 1.5 0 0 1 14.5 8A1.5 1.5 0 0 1 13 9.5h-3m5.6 1.29c.97-.68 1.65-1.79 1.65-2.79c0-2.26-1.75-4-4-4H7v14h7.04c2.1 0 3.71-1.7 3.71-3.79c0-1.52-.86-2.82-2.15-3.42Z"
43886
44220
  }, null, -1);
43887
44221
  const _hoisted_3$q = [
43888
44222
  _hoisted_2$q
@@ -43890,7 +44224,7 @@ const _hoisted_3$q = [
43890
44224
  function render$q(_ctx, _cache) {
43891
44225
  return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$q);
43892
44226
  }
43893
- const MdiFormatItalic = { name: "mdi-format-italic", render: render$q };
44227
+ const MdiFormatBold = { name: "mdi-format-bold", render: render$q };
43894
44228
  const _hoisted_1$p = {
43895
44229
  viewBox: "0 0 24 24",
43896
44230
  width: "1.2em",
@@ -43898,7 +44232,7 @@ const _hoisted_1$p = {
43898
44232
  };
43899
44233
  const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
43900
44234
  fill: "currentColor",
43901
- d: "M3 14h18v-2H3m2-8v3h5v3h4V7h5V4m-9 15h4v-3h-4v3Z"
44235
+ d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4h-8Z"
43902
44236
  }, null, -1);
43903
44237
  const _hoisted_3$p = [
43904
44238
  _hoisted_2$p
@@ -43906,7 +44240,7 @@ const _hoisted_3$p = [
43906
44240
  function render$p(_ctx, _cache) {
43907
44241
  return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$p);
43908
44242
  }
43909
- const MdiFormatStrikethrough = { name: "mdi-format-strikethrough", render: render$p };
44243
+ const MdiFormatItalic = { name: "mdi-format-italic", render: render$p };
43910
44244
  const _hoisted_1$o = {
43911
44245
  viewBox: "0 0 24 24",
43912
44246
  width: "1.2em",
@@ -43914,7 +44248,7 @@ const _hoisted_1$o = {
43914
44248
  };
43915
44249
  const _hoisted_2$o = /* @__PURE__ */ createElementVNode("path", {
43916
44250
  fill: "currentColor",
43917
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m10 4h2.31l.32-3h2l-.32 3h2l.32-3h2l-.32 3H23v2h-1.9l-.2 2H23v2h-2.31l-.32 3h-2l.32-3h-2l-.32 3h-2l.32-3H13v-2h1.9l.2-2H13V8m4.1 2l-.2 2h2l.2-2h-2Z"
44251
+ d: "M3 14h18v-2H3m2-8v3h5v3h4V7h5V4m-9 15h4v-3h-4v3Z"
43918
44252
  }, null, -1);
43919
44253
  const _hoisted_3$o = [
43920
44254
  _hoisted_2$o
@@ -43922,7 +44256,7 @@ const _hoisted_3$o = [
43922
44256
  function render$o(_ctx, _cache) {
43923
44257
  return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_3$o);
43924
44258
  }
43925
- const MdiFormatHeaderPound = { name: "mdi-format-header-pound", render: render$o };
44259
+ const MdiFormatStrikethrough = { name: "mdi-format-strikethrough", render: render$o };
43926
44260
  const _hoisted_1$n = {
43927
44261
  viewBox: "0 0 24 24",
43928
44262
  width: "1.2em",
@@ -43930,7 +44264,7 @@ const _hoisted_1$n = {
43930
44264
  };
43931
44265
  const _hoisted_2$n = /* @__PURE__ */ createElementVNode("path", {
43932
44266
  fill: "currentColor",
43933
- d: "M13 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4h-2v6H9V4h4m0 6a2 2 0 0 0 2-2a2 2 0 0 0-2-2h-2v4h2Z"
44267
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m10 4h2.31l.32-3h2l-.32 3h2l.32-3h2l-.32 3H23v2h-1.9l-.2 2H23v2h-2.31l-.32 3h-2l.32-3h-2l-.32 3h-2l.32-3H13v-2h1.9l.2-2H13V8m4.1 2l-.2 2h2l.2-2h-2Z"
43934
44268
  }, null, -1);
43935
44269
  const _hoisted_3$n = [
43936
44270
  _hoisted_2$n
@@ -43938,7 +44272,7 @@ const _hoisted_3$n = [
43938
44272
  function render$n(_ctx, _cache) {
43939
44273
  return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$n);
43940
44274
  }
43941
- const MdiFormatParagraph = { name: "mdi-format-paragraph", render: render$n };
44275
+ const MdiFormatHeaderPound = { name: "mdi-format-header-pound", render: render$n };
43942
44276
  const _hoisted_1$m = {
43943
44277
  viewBox: "0 0 24 24",
43944
44278
  width: "1.2em",
@@ -44122,7 +44456,7 @@ const _hoisted_1$b = {
44122
44456
  };
44123
44457
  const _hoisted_2$b = /* @__PURE__ */ createElementVNode("path", {
44124
44458
  fill: "currentColor",
44125
- d: "M5 4h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2m0 4v4h6V8H5m8 0v4h6V8h-6m-8 6v4h6v-4H5m8 0v4h6v-4h-6Z"
44459
+ d: "M18 14h2v3h3v2h-3v3h-2v-3h-3v-2h3v-3M4 3h14a2 2 0 0 1 2 2v7.08a6.01 6.01 0 0 0-4.32.92H12v4h1.08c-.11.68-.11 1.35 0 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m0 4v4h6V7H4m8 0v4h6V7h-6m-8 6v4h6v-4H4Z"
44126
44460
  }, null, -1);
44127
44461
  const _hoisted_3$b = [
44128
44462
  _hoisted_2$b
@@ -44130,7 +44464,7 @@ const _hoisted_3$b = [
44130
44464
  function render$b(_ctx, _cache) {
44131
44465
  return openBlock(), createElementBlock("svg", _hoisted_1$b, _hoisted_3$b);
44132
44466
  }
44133
- const MdiTable = { name: "mdi-table", render: render$b };
44467
+ const MdiTablePlus = { name: "mdi-table-plus", render: render$b };
44134
44468
  const _hoisted_1$a = {
44135
44469
  viewBox: "0 0 24 24",
44136
44470
  width: "1.2em",
@@ -44138,7 +44472,7 @@ const _hoisted_1$a = {
44138
44472
  };
44139
44473
  const _hoisted_2$a = /* @__PURE__ */ createElementVNode("path", {
44140
44474
  fill: "currentColor",
44141
- d: "M18 14h2v3h3v2h-3v3h-2v-3h-3v-2h3v-3M4 3h14a2 2 0 0 1 2 2v7.08a6.01 6.01 0 0 0-4.32.92H12v4h1.08c-.11.68-.11 1.35 0 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m0 4v4h6V7H4m8 0v4h6V7h-6m-8 6v4h6v-4H4Z"
44475
+ d: "M13 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h9V2h-9m7 8v4h-7v-4h7m0 6v4h-7v-4h7m0-12v4h-7V4h7M9 11H6V8H4v3H1v2h3v3h2v-3h3v-2Z"
44142
44476
  }, null, -1);
44143
44477
  const _hoisted_3$a = [
44144
44478
  _hoisted_2$a
@@ -44146,7 +44480,7 @@ const _hoisted_3$a = [
44146
44480
  function render$a(_ctx, _cache) {
44147
44481
  return openBlock(), createElementBlock("svg", _hoisted_1$a, _hoisted_3$a);
44148
44482
  }
44149
- const MdiTablePlus = { name: "mdi-table-plus", render: render$a };
44483
+ const MdiTableColumnPlusBefore = { name: "mdi-table-column-plus-before", render: render$a };
44150
44484
  const _hoisted_1$9 = {
44151
44485
  viewBox: "0 0 24 24",
44152
44486
  width: "1.2em",
@@ -44154,7 +44488,7 @@ const _hoisted_1$9 = {
44154
44488
  };
44155
44489
  const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("path", {
44156
44490
  fill: "currentColor",
44157
- d: "M13 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h9V2h-9m7 8v4h-7v-4h7m0 6v4h-7v-4h7m0-12v4h-7V4h7M9 11H6V8H4v3H1v2h3v3h2v-3h3v-2Z"
44491
+ d: "M11 2a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H2V2h9m-7 8v4h7v-4H4m0 6v4h7v-4H4M4 4v4h7V4H4m11 7h3V8h2v3h3v2h-3v3h-2v-3h-3v-2Z"
44158
44492
  }, null, -1);
44159
44493
  const _hoisted_3$9 = [
44160
44494
  _hoisted_2$9
@@ -44162,7 +44496,7 @@ const _hoisted_3$9 = [
44162
44496
  function render$9(_ctx, _cache) {
44163
44497
  return openBlock(), createElementBlock("svg", _hoisted_1$9, _hoisted_3$9);
44164
44498
  }
44165
- const MdiTableColumnPlusBefore = { name: "mdi-table-column-plus-before", render: render$9 };
44499
+ const MdiTableColumnPlusAfter = { name: "mdi-table-column-plus-after", render: render$9 };
44166
44500
  const _hoisted_1$8 = {
44167
44501
  viewBox: "0 0 24 24",
44168
44502
  width: "1.2em",
@@ -44170,7 +44504,7 @@ const _hoisted_1$8 = {
44170
44504
  };
44171
44505
  const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("path", {
44172
44506
  fill: "currentColor",
44173
- d: "M11 2a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H2V2h9m-7 8v4h7v-4H4m0 6v4h7v-4H4M4 4v4h7V4H4m11 7h3V8h2v3h3v2h-3v3h-2v-3h-3v-2Z"
44507
+ d: "M22 10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V3h2v2h4V3h2v2h4V3h2v2h4V3h2v7M4 10h4V7H4v3m6 0h4V7h-4v3m10 0V7h-4v3h4m-9 4h2v3h3v2h-3v3h-2v-3H8v-2h3v-3Z"
44174
44508
  }, null, -1);
44175
44509
  const _hoisted_3$8 = [
44176
44510
  _hoisted_2$8
@@ -44178,7 +44512,7 @@ const _hoisted_3$8 = [
44178
44512
  function render$8(_ctx, _cache) {
44179
44513
  return openBlock(), createElementBlock("svg", _hoisted_1$8, _hoisted_3$8);
44180
44514
  }
44181
- const MdiTableColumnPlusAfter = { name: "mdi-table-column-plus-after", render: render$8 };
44515
+ const MdiTableRowPlusAfter = { name: "mdi-table-row-plus-after", render: render$8 };
44182
44516
  const _hoisted_1$7 = {
44183
44517
  viewBox: "0 0 24 24",
44184
44518
  width: "1.2em",
@@ -44186,7 +44520,7 @@ const _hoisted_1$7 = {
44186
44520
  };
44187
44521
  const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("path", {
44188
44522
  fill: "currentColor",
44189
- d: "M22 10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V3h2v2h4V3h2v2h4V3h2v2h4V3h2v7M4 10h4V7H4v3m6 0h4V7h-4v3m10 0V7h-4v3h4m-9 4h2v3h3v2h-3v3h-2v-3H8v-2h3v-3Z"
44523
+ d: "M22 14a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7h2v-2h4v2h2v-2h4v2h2v-2h4v2h2v-7M4 14h4v3H4v-3m6 0h4v3h-4v-3m10 0v3h-4v-3h4m-9-4h2V7h3V5h-3V2h-2v3H8v2h3v3Z"
44190
44524
  }, null, -1);
44191
44525
  const _hoisted_3$7 = [
44192
44526
  _hoisted_2$7
@@ -44194,7 +44528,7 @@ const _hoisted_3$7 = [
44194
44528
  function render$7(_ctx, _cache) {
44195
44529
  return openBlock(), createElementBlock("svg", _hoisted_1$7, _hoisted_3$7);
44196
44530
  }
44197
- const MdiTableRowPlusAfter = { name: "mdi-table-row-plus-after", render: render$7 };
44531
+ const MdiTableRowPlusBefore = { name: "mdi-table-row-plus-before", render: render$7 };
44198
44532
  const _hoisted_1$6 = {
44199
44533
  viewBox: "0 0 24 24",
44200
44534
  width: "1.2em",
@@ -44202,7 +44536,7 @@ const _hoisted_1$6 = {
44202
44536
  };
44203
44537
  const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("path", {
44204
44538
  fill: "currentColor",
44205
- d: "M22 14a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7h2v-2h4v2h2v-2h4v2h2v-2h4v2h2v-7M4 14h4v3H4v-3m6 0h4v3h-4v-3m10 0v3h-4v-3h4m-9-4h2V7h3V5h-3V2h-2v3H8v2h3v3Z"
44539
+ d: "M4 2h7a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2m0 8v4h7v-4H4m0 6v4h7v-4H4M4 4v4h7V4H4m13.59 8L15 9.41L16.41 8L19 10.59L21.59 8L23 9.41L20.41 12L23 14.59L21.59 16L19 13.41L16.41 16L15 14.59L17.59 12Z"
44206
44540
  }, null, -1);
44207
44541
  const _hoisted_3$6 = [
44208
44542
  _hoisted_2$6
@@ -44210,7 +44544,7 @@ const _hoisted_3$6 = [
44210
44544
  function render$6(_ctx, _cache) {
44211
44545
  return openBlock(), createElementBlock("svg", _hoisted_1$6, _hoisted_3$6);
44212
44546
  }
44213
- const MdiTableRowPlusBefore = { name: "mdi-table-row-plus-before", render: render$6 };
44547
+ const MdiTableColumnRemove = { name: "mdi-table-column-remove", render: render$6 };
44214
44548
  const _hoisted_1$5 = {
44215
44549
  viewBox: "0 0 24 24",
44216
44550
  width: "1.2em",
@@ -44218,7 +44552,7 @@ const _hoisted_1$5 = {
44218
44552
  };
44219
44553
  const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("path", {
44220
44554
  fill: "currentColor",
44221
- d: "M4 2h7a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2m0 8v4h7v-4H4m0 6v4h7v-4H4M4 4v4h7V4H4m13.59 8L15 9.41L16.41 8L19 10.59L21.59 8L23 9.41L20.41 12L23 14.59L21.59 16L19 13.41L16.41 16L15 14.59L17.59 12Z"
44555
+ d: "M9.41 13L12 15.59L14.59 13L16 14.41L13.41 17L16 19.59L14.59 21L12 18.41L9.41 21L8 19.59L10.59 17L8 14.41L9.41 13M22 9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v3M4 9h4V6H4v3m6 0h4V6h-4v3m6 0h4V6h-4v3Z"
44222
44556
  }, null, -1);
44223
44557
  const _hoisted_3$5 = [
44224
44558
  _hoisted_2$5
@@ -44226,7 +44560,7 @@ const _hoisted_3$5 = [
44226
44560
  function render$5(_ctx, _cache) {
44227
44561
  return openBlock(), createElementBlock("svg", _hoisted_1$5, _hoisted_3$5);
44228
44562
  }
44229
- const MdiTableColumnRemove = { name: "mdi-table-column-remove", render: render$5 };
44563
+ const MdiTableRowRemove = { name: "mdi-table-row-remove", render: render$5 };
44230
44564
  const _hoisted_1$4 = {
44231
44565
  viewBox: "0 0 24 24",
44232
44566
  width: "1.2em",
@@ -44234,7 +44568,7 @@ const _hoisted_1$4 = {
44234
44568
  };
44235
44569
  const _hoisted_2$4 = /* @__PURE__ */ createElementVNode("path", {
44236
44570
  fill: "currentColor",
44237
- d: "M9.41 13L12 15.59L14.59 13L16 14.41L13.41 17L16 19.59L14.59 21L12 18.41L9.41 21L8 19.59L10.59 17L8 14.41L9.41 13M22 9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v3M4 9h4V6H4v3m6 0h4V6h-4v3m6 0h4V6h-4v3Z"
44571
+ d: "m15.46 15.88l1.42-1.42L19 16.59l2.12-2.13l1.42 1.42L20.41 18l2.13 2.12l-1.42 1.42L19 19.41l-2.12 2.13l-1.42-1.42L17.59 18l-2.13-2.12M4 3h14a2 2 0 0 1 2 2v7.08a6.01 6.01 0 0 0-4.32.92H12v4h1.08c-.11.68-.11 1.35 0 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m0 4v4h6V7H4m8 0v4h6V7h-6m-8 6v4h6v-4H4Z"
44238
44572
  }, null, -1);
44239
44573
  const _hoisted_3$4 = [
44240
44574
  _hoisted_2$4
@@ -44242,7 +44576,7 @@ const _hoisted_3$4 = [
44242
44576
  function render$4(_ctx, _cache) {
44243
44577
  return openBlock(), createElementBlock("svg", _hoisted_1$4, _hoisted_3$4);
44244
44578
  }
44245
- const MdiTableRowRemove = { name: "mdi-table-row-remove", render: render$4 };
44579
+ const MdiTableRemove = { name: "mdi-table-remove", render: render$4 };
44246
44580
  const _hoisted_1$3 = {
44247
44581
  viewBox: "0 0 24 24",
44248
44582
  width: "1.2em",
@@ -44250,7 +44584,7 @@ const _hoisted_1$3 = {
44250
44584
  };
44251
44585
  const _hoisted_2$3 = /* @__PURE__ */ createElementVNode("path", {
44252
44586
  fill: "currentColor",
44253
- d: "m15.46 15.88l1.42-1.42L19 16.59l2.12-2.13l1.42 1.42L20.41 18l2.13 2.12l-1.42 1.42L19 19.41l-2.12 2.13l-1.42-1.42L17.59 18l-2.13-2.12M4 3h14a2 2 0 0 1 2 2v7.08a6.01 6.01 0 0 0-4.32.92H12v4h1.08c-.11.68-.11 1.35 0 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m0 4v4h6V7H4m8 0v4h6V7h-6m-8 6v4h6v-4H4Z"
44587
+ d: "M1 6v13a2 2 0 0 0 2 2h6V11h12V6a2 2 0 0 0-2-2H3a2 2 0 0 0-2 2m2 0h4v3H3m4 10H3v-3h4m0-2H3v-3h4m2-2V6h4v3m6 0h-4V6h4m-2 10a1 1 0 1 1-1 1a1 1 0 0 1 1-1m0-3a6.45 6.45 0 0 1 6 4a6.5 6.5 0 0 1-12 0a6.45 6.45 0 0 1 6-4m0 1.5a2.5 2.5 0 1 0 2.5 2.5a2.5 2.5 0 0 0-2.5-2.5"
44254
44588
  }, null, -1);
44255
44589
  const _hoisted_3$3 = [
44256
44590
  _hoisted_2$3
@@ -44258,7 +44592,7 @@ const _hoisted_3$3 = [
44258
44592
  function render$3(_ctx, _cache) {
44259
44593
  return openBlock(), createElementBlock("svg", _hoisted_1$3, _hoisted_3$3);
44260
44594
  }
44261
- const MdiTableRemove = { name: "mdi-table-remove", render: render$3 };
44595
+ const MdiTableHeadersEye = { name: "mdi-table-headers-eye", render: render$3 };
44262
44596
  const _hoisted_1$2 = {
44263
44597
  viewBox: "0 0 24 24",
44264
44598
  width: "1.2em",
@@ -44266,7 +44600,7 @@ const _hoisted_1$2 = {
44266
44600
  };
44267
44601
  const _hoisted_2$2 = /* @__PURE__ */ createElementVNode("path", {
44268
44602
  fill: "currentColor",
44269
- d: "M1 6v13a2 2 0 0 0 2 2h6V11h12V6a2 2 0 0 0-2-2H3a2 2 0 0 0-2 2m2 0h4v3H3m4 10H3v-3h4m0-2H3v-3h4m2-2V6h4v3m6 0h-4V6h4m-2 10a1 1 0 1 1-1 1a1 1 0 0 1 1-1m0-3a6.45 6.45 0 0 1 6 4a6.5 6.5 0 0 1-12 0a6.45 6.45 0 0 1 6-4m0 1.5a2.5 2.5 0 1 0 2.5 2.5a2.5 2.5 0 0 0-2.5-2.5"
44603
+ d: "M5 10H3V4h8v2H5v4m14 8h-6v2h8v-6h-2v4M5 18v-4H3v6h8v-2H5M21 4h-8v2h6v4h2V4M8 13v2l3-3l-3-3v2H3v2h5m8-2V9l-3 3l3 3v-2h5v-2h-5Z"
44270
44604
  }, null, -1);
44271
44605
  const _hoisted_3$2 = [
44272
44606
  _hoisted_2$2
@@ -44274,7 +44608,7 @@ const _hoisted_3$2 = [
44274
44608
  function render$2(_ctx, _cache) {
44275
44609
  return openBlock(), createElementBlock("svg", _hoisted_1$2, _hoisted_3$2);
44276
44610
  }
44277
- const MdiTableHeadersEye = { name: "mdi-table-headers-eye", render: render$2 };
44611
+ const MdiTableMergeCells = { name: "mdi-table-merge-cells", render: render$2 };
44278
44612
  const _hoisted_1$1 = {
44279
44613
  viewBox: "0 0 24 24",
44280
44614
  width: "1.2em",
@@ -44282,7 +44616,7 @@ const _hoisted_1$1 = {
44282
44616
  };
44283
44617
  const _hoisted_2$1 = /* @__PURE__ */ createElementVNode("path", {
44284
44618
  fill: "currentColor",
44285
- d: "M5 10H3V4h8v2H5v4m14 8h-6v2h8v-6h-2v4M5 18v-4H3v6h8v-2H5M21 4h-8v2h6v4h2V4M8 13v2l3-3l-3-3v2H3v2h5m8-2V9l-3 3l3 3v-2h5v-2h-5Z"
44619
+ d: "M19 14h2v6H3v-6h2v4h14v-4M3 4v6h2V6h14v4h2V4H3m8 7v2H8v2l-3-3l3-3v2h3m5 0V9l3 3l-3 3v-2h-3v-2h3Z"
44286
44620
  }, null, -1);
44287
44621
  const _hoisted_3$1 = [
44288
44622
  _hoisted_2$1
@@ -44290,7 +44624,7 @@ const _hoisted_3$1 = [
44290
44624
  function render$1(_ctx, _cache) {
44291
44625
  return openBlock(), createElementBlock("svg", _hoisted_1$1, _hoisted_3$1);
44292
44626
  }
44293
- const MdiTableMergeCells = { name: "mdi-table-merge-cells", render: render$1 };
44627
+ const MdiTableSplitCell = { name: "mdi-table-split-cell", render: render$1 };
44294
44628
  const _hoisted_1 = {
44295
44629
  viewBox: "0 0 24 24",
44296
44630
  width: "1.2em",
@@ -44298,7 +44632,7 @@ const _hoisted_1 = {
44298
44632
  };
44299
44633
  const _hoisted_2 = /* @__PURE__ */ createElementVNode("path", {
44300
44634
  fill: "currentColor",
44301
- d: "M19 14h2v6H3v-6h2v4h14v-4M3 4v6h2V6h14v4h2V4H3m8 7v2H8v2l-3-3l3-3v2h3m5 0V9l3 3l-3 3v-2h-3v-2h3Z"
44635
+ d: "m4 17l2.75-2.75l-.03-.02c-.58-.59-.58-1.54 0-2.12l4.74-4.74l4.24 4.24l-4.74 4.74c-.57.58-1.5.58-2.09.02l-.63.63H4M15.91 2.91c.59-.58 1.54-.58 2.12 0l2.13 2.12c.58.59.58 1.54 0 2.13l-3.3 3.29l-4.24-4.24l3.29-3.3Z"
44302
44636
  }, null, -1);
44303
44637
  const _hoisted_3 = [
44304
44638
  _hoisted_2
@@ -44306,12 +44640,12 @@ const _hoisted_3 = [
44306
44640
  function render(_ctx, _cache) {
44307
44641
  return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
44308
44642
  }
44309
- const MdiTableSplitCell = { name: "mdi-table-split-cell", render };
44643
+ const MdiFormatColorHighlight = { name: "mdi-format-color-highlight", render };
44310
44644
  function UndoMenuItem(editor) {
44311
44645
  return {
44312
44646
  type: "button",
44313
- icon: MdiUndoVariant,
44314
- title: "Undo",
44647
+ icon: markRaw(MdiUndoVariant),
44648
+ title: "\u64A4\u9500",
44315
44649
  action: () => editor.chain().undo().run(),
44316
44650
  isActive: () => false
44317
44651
  };
@@ -44319,8 +44653,8 @@ function UndoMenuItem(editor) {
44319
44653
  function RedoMenuItem(editor) {
44320
44654
  return {
44321
44655
  type: "button",
44322
- icon: MdiRedoVariant,
44323
- title: "Redo",
44656
+ icon: markRaw(MdiRedoVariant),
44657
+ title: "\u6062\u590D",
44324
44658
  action: () => editor.chain().redo().run(),
44325
44659
  isActive: () => false
44326
44660
  };
@@ -44328,8 +44662,8 @@ function RedoMenuItem(editor) {
44328
44662
  function BoldMenuItem(editor) {
44329
44663
  return {
44330
44664
  type: "button",
44331
- icon: MdiFormatBold,
44332
- title: "Bold",
44665
+ icon: markRaw(MdiFormatBold),
44666
+ title: "\u7C97\u4F53",
44333
44667
  action: () => editor.chain().focus().toggleBold().run(),
44334
44668
  isActive: () => editor.isActive("bold")
44335
44669
  };
@@ -44337,8 +44671,8 @@ function BoldMenuItem(editor) {
44337
44671
  function ItalicMenuItem(editor) {
44338
44672
  return {
44339
44673
  type: "button",
44340
- icon: MdiFormatItalic,
44341
- title: "Italic",
44674
+ icon: markRaw(MdiFormatItalic),
44675
+ title: "\u659C\u4F53",
44342
44676
  action: () => editor.chain().focus().toggleItalic().run(),
44343
44677
  isActive: () => editor.isActive("italic")
44344
44678
  };
@@ -44346,8 +44680,8 @@ function ItalicMenuItem(editor) {
44346
44680
  function UnderlineMenuItem(editor) {
44347
44681
  return {
44348
44682
  type: "button",
44349
- icon: MdiFormatUnderline,
44350
- title: "Underline",
44683
+ icon: markRaw(MdiFormatUnderline),
44684
+ title: "\u4E0B\u5212\u7EBF",
44351
44685
  action: () => editor.chain().focus().toggleUnderline().run(),
44352
44686
  isActive: () => editor.isActive("underline")
44353
44687
  };
@@ -44355,8 +44689,8 @@ function UnderlineMenuItem(editor) {
44355
44689
  function StrikeMenuItem(editor) {
44356
44690
  return {
44357
44691
  type: "button",
44358
- icon: MdiFormatStrikethrough,
44359
- title: "Strikethrough",
44692
+ icon: markRaw(MdiFormatStrikethrough),
44693
+ title: "\u5220\u9664\u7EBF",
44360
44694
  action: () => editor.chain().focus().toggleStrike().run(),
44361
44695
  isActive: () => editor.isActive("strike")
44362
44696
  };
@@ -44364,8 +44698,8 @@ function StrikeMenuItem(editor) {
44364
44698
  function QuoteMenuItem(editor) {
44365
44699
  return {
44366
44700
  type: "button",
44367
- icon: MdiFormatQuoteOpen,
44368
- title: "Quote",
44701
+ icon: markRaw(MdiFormatQuoteOpen),
44702
+ title: "\u5F15\u7528",
44369
44703
  action: () => editor.chain().focus().toggleBlockquote().run(),
44370
44704
  isActive: () => editor.isActive("blockquote")
44371
44705
  };
@@ -44373,8 +44707,8 @@ function QuoteMenuItem(editor) {
44373
44707
  function CodeMenuItem(editor) {
44374
44708
  return {
44375
44709
  type: "button",
44376
- icon: MdiCodeTags,
44377
- title: "Code",
44710
+ icon: markRaw(MdiCodeTags),
44711
+ title: "\u884C\u5185\u4EE3\u7801",
44378
44712
  action: () => editor.chain().focus().toggleCode().run(),
44379
44713
  isActive: () => editor.isActive("code")
44380
44714
  };
@@ -44382,8 +44716,8 @@ function CodeMenuItem(editor) {
44382
44716
  function SuperScriptMenuItem(editor) {
44383
44717
  return {
44384
44718
  type: "button",
44385
- icon: MdiFormatSuperscript,
44386
- title: "Superscript",
44719
+ icon: markRaw(MdiFormatSuperscript),
44720
+ title: "\u4E0A\u89D2\u6807",
44387
44721
  action: () => editor.chain().focus().toggleSuperscript().run(),
44388
44722
  isActive: () => editor.isActive("superscript")
44389
44723
  };
@@ -44391,8 +44725,8 @@ function SuperScriptMenuItem(editor) {
44391
44725
  function SubScriptMenuItem(editor) {
44392
44726
  return {
44393
44727
  type: "button",
44394
- icon: MdiFormatSubscript,
44395
- title: "Subscript",
44728
+ icon: markRaw(MdiFormatSubscript),
44729
+ title: "\u4E0B\u89D2\u6807",
44396
44730
  action: () => editor.chain().focus().toggleSubscript().run(),
44397
44731
  isActive: () => editor.isActive("subscript")
44398
44732
  };
@@ -44400,8 +44734,8 @@ function SubScriptMenuItem(editor) {
44400
44734
  function CodeBlockMenuItem(editor) {
44401
44735
  return {
44402
44736
  type: "button",
44403
- icon: MdiCodeBracesBox,
44404
- title: "Code Block",
44737
+ icon: markRaw(MdiCodeBracesBox),
44738
+ title: "\u4EE3\u7801\u5757",
44405
44739
  action: () => editor.chain().focus().toggleCodeBlock().run(),
44406
44740
  isActive: () => editor.isActive("codeBlock")
44407
44741
  };
@@ -44409,55 +44743,55 @@ function CodeBlockMenuItem(editor) {
44409
44743
  function HeadingMenuItem(editor) {
44410
44744
  return {
44411
44745
  type: "button",
44412
- icon: MdiFormatHeaderPound,
44413
- title: "\u666E\u901A\u6587\u672C",
44746
+ icon: markRaw(MdiFormatHeaderPound),
44747
+ title: "\u6587\u672C\u7C7B\u578B",
44414
44748
  isActive: () => editor.isActive("heading") || editor.isActive("paragraph"),
44415
44749
  children: [
44416
44750
  {
44417
44751
  type: "button",
44418
- icon: MdiFormatParagraph,
44752
+ icon: markRaw(MdiFormatParagraph),
44419
44753
  title: "\u666E\u901A\u6587\u672C",
44420
44754
  action: () => editor.chain().focus().setParagraph().run(),
44421
44755
  isActive: () => editor.isActive("paragraph")
44422
44756
  },
44423
44757
  {
44424
44758
  type: "button",
44425
- icon: MdiFormatHeader1,
44759
+ icon: markRaw(MdiFormatHeader1),
44426
44760
  title: "\u6807\u9898 1",
44427
44761
  action: () => editor.chain().focus().toggleHeading({ level: 1 }).run(),
44428
44762
  isActive: () => editor.isActive("heading", { level: 1 })
44429
44763
  },
44430
44764
  {
44431
44765
  type: "button",
44432
- icon: MdiFormatHeader2,
44766
+ icon: markRaw(MdiFormatHeader2),
44433
44767
  title: "\u6807\u9898 2",
44434
44768
  action: () => editor.chain().focus().toggleHeading({ level: 2 }).run(),
44435
44769
  isActive: () => editor.isActive("heading", { level: 2 })
44436
44770
  },
44437
44771
  {
44438
44772
  type: "button",
44439
- icon: MdiFormatHeader3,
44773
+ icon: markRaw(MdiFormatHeader3),
44440
44774
  title: "\u6807\u9898 3",
44441
44775
  action: () => editor.chain().focus().toggleHeading({ level: 3 }).run(),
44442
44776
  isActive: () => editor.isActive("heading", { level: 3 })
44443
44777
  },
44444
44778
  {
44445
44779
  type: "button",
44446
- icon: MdiFormatHeader4,
44780
+ icon: markRaw(MdiFormatHeader4),
44447
44781
  title: "\u6807\u9898 4",
44448
44782
  action: () => editor.chain().focus().toggleHeading({ level: 4 }).run(),
44449
44783
  isActive: () => editor.isActive("heading", { level: 4 })
44450
44784
  },
44451
44785
  {
44452
44786
  type: "button",
44453
- icon: MdiFormatHeader5,
44787
+ icon: markRaw(MdiFormatHeader5),
44454
44788
  title: "\u6807\u9898 5",
44455
44789
  action: () => editor.chain().focus().toggleHeading({ level: 5 }).run(),
44456
44790
  isActive: () => editor.isActive("heading", { level: 5 })
44457
44791
  },
44458
44792
  {
44459
44793
  type: "button",
44460
- icon: MdiFormatHeader6,
44794
+ icon: markRaw(MdiFormatHeader6),
44461
44795
  title: "\u6807\u9898 6",
44462
44796
  action: () => editor.chain().focus().toggleHeading({ level: 6 }).run(),
44463
44797
  isActive: () => editor.isActive("heading", { level: 6 })
@@ -44468,8 +44802,8 @@ function HeadingMenuItem(editor) {
44468
44802
  function AlignLeftMenuItem(editor) {
44469
44803
  return {
44470
44804
  type: "button",
44471
- icon: MdiFormatAlignLeft,
44472
- title: "Align Left",
44805
+ icon: markRaw(MdiFormatAlignLeft),
44806
+ title: "\u5DE6\u5BF9\u9F50",
44473
44807
  action: () => editor.chain().focus().setTextAlign("left").run(),
44474
44808
  isActive: () => editor.isActive({ textAlign: "left" })
44475
44809
  };
@@ -44477,8 +44811,8 @@ function AlignLeftMenuItem(editor) {
44477
44811
  function AlignCenterMenuItem(editor) {
44478
44812
  return {
44479
44813
  type: "button",
44480
- icon: MdiFormatAlignCenter,
44481
- title: "Align Center",
44814
+ icon: markRaw(MdiFormatAlignCenter),
44815
+ title: "\u5C45\u4E2D",
44482
44816
  action: () => editor.chain().focus().setTextAlign("center").run(),
44483
44817
  isActive: () => editor.isActive({ textAlign: "center" })
44484
44818
  };
@@ -44486,8 +44820,8 @@ function AlignCenterMenuItem(editor) {
44486
44820
  function AlignRightMenuItem(editor) {
44487
44821
  return {
44488
44822
  type: "button",
44489
- icon: MdiFormatAlignRight,
44490
- title: "Align Right",
44823
+ icon: markRaw(MdiFormatAlignRight),
44824
+ title: "\u53F3\u5BF9\u9F50",
44491
44825
  action: () => editor.chain().focus().setTextAlign("right").run(),
44492
44826
  isActive: () => editor.isActive({ textAlign: "right" })
44493
44827
  };
@@ -44495,8 +44829,8 @@ function AlignRightMenuItem(editor) {
44495
44829
  function AlignJustifyMenuItem(editor) {
44496
44830
  return {
44497
44831
  type: "button",
44498
- icon: MdiFormatAlignJustify,
44499
- title: "Align Justify",
44832
+ icon: markRaw(MdiFormatAlignJustify),
44833
+ title: "\u4E24\u7AEF\u5BF9\u9F50",
44500
44834
  action: () => editor.chain().focus().setTextAlign("justify").run(),
44501
44835
  isActive: () => editor.isActive({ textAlign: "justify" })
44502
44836
  };
@@ -44504,90 +44838,90 @@ function AlignJustifyMenuItem(editor) {
44504
44838
  function TableMenuItem(editor) {
44505
44839
  return {
44506
44840
  type: "button",
44507
- icon: MdiTable,
44841
+ icon: markRaw(MdiTable),
44508
44842
  title: "\u8868\u683C",
44509
44843
  isActive: () => editor.isActive("heading"),
44510
44844
  children: [
44511
44845
  {
44512
44846
  type: "button",
44513
- icon: MdiTablePlus,
44847
+ icon: markRaw(MdiTablePlus),
44514
44848
  title: "\u63D2\u5165\u8868\u683C",
44515
44849
  action: () => editor.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run(),
44516
44850
  isActive: () => false
44517
44851
  },
44518
44852
  {
44519
44853
  type: "button",
44520
- icon: MdiTableColumnPlusBefore,
44854
+ icon: markRaw(MdiTableColumnPlusBefore),
44521
44855
  title: "\u5411\u524D\u63D2\u5165\u5217",
44522
44856
  action: () => editor.chain().focus().addColumnBefore().run(),
44523
44857
  isActive: () => false
44524
44858
  },
44525
44859
  {
44526
44860
  type: "button",
44527
- icon: MdiTableColumnPlusAfter,
44861
+ icon: markRaw(MdiTableColumnPlusAfter),
44528
44862
  title: "\u5411\u540E\u63D2\u5165\u5217",
44529
44863
  action: () => editor.chain().focus().addColumnAfter().run(),
44530
44864
  isActive: () => false
44531
44865
  },
44532
44866
  {
44533
44867
  type: "button",
44534
- icon: MdiTableHeadersEye,
44868
+ icon: markRaw(MdiTableHeadersEye),
44535
44869
  title: "\u663E\u793A/\u9690\u85CF\u5217\u8868\u5934",
44536
44870
  action: () => editor.chain().focus().toggleHeaderColumn().run(),
44537
44871
  isActive: () => false
44538
44872
  },
44539
44873
  {
44540
44874
  type: "button",
44541
- icon: MdiTableColumnRemove,
44875
+ icon: markRaw(MdiTableColumnRemove),
44542
44876
  title: "\u5220\u9664\u5F53\u524D\u5217",
44543
44877
  action: () => editor.chain().focus().deleteColumn().run(),
44544
44878
  isActive: () => false
44545
44879
  },
44546
44880
  {
44547
44881
  type: "button",
44548
- icon: MdiTableRowPlusBefore,
44882
+ icon: markRaw(MdiTableRowPlusBefore),
44549
44883
  title: "\u5411\u4E0A\u63D2\u5165\u884C",
44550
44884
  action: () => editor.chain().focus().addRowBefore().run(),
44551
44885
  isActive: () => false
44552
44886
  },
44553
44887
  {
44554
44888
  type: "button",
44555
- icon: MdiTableRowPlusAfter,
44889
+ icon: markRaw(MdiTableRowPlusAfter),
44556
44890
  title: "\u5411\u4E0B\u63D2\u5165\u884C",
44557
44891
  action: () => editor.chain().focus().addRowAfter().run(),
44558
44892
  isActive: () => false
44559
44893
  },
44560
44894
  {
44561
44895
  type: "button",
44562
- icon: MdiTableHeadersEye,
44896
+ icon: markRaw(MdiTableHeadersEye),
44563
44897
  title: "\u663E\u793A/\u9690\u85CF\u884C\u8868\u5934",
44564
44898
  action: () => editor.chain().focus().toggleHeaderRow().run(),
44565
44899
  isActive: () => false
44566
44900
  },
44567
44901
  {
44568
44902
  type: "button",
44569
- icon: MdiTableRowRemove,
44903
+ icon: markRaw(MdiTableRowRemove),
44570
44904
  title: "\u5220\u9664\u5F53\u524D\u884C",
44571
44905
  action: () => editor.chain().focus().deleteRow().run(),
44572
44906
  isActive: () => false
44573
44907
  },
44574
44908
  {
44575
44909
  type: "button",
44576
- icon: MdiTableMergeCells,
44910
+ icon: markRaw(MdiTableMergeCells),
44577
44911
  title: "\u5408\u5E76\u5355\u5143\u683C",
44578
44912
  action: () => editor.chain().focus().mergeCells().run(),
44579
44913
  isActive: () => false
44580
44914
  },
44581
44915
  {
44582
44916
  type: "button",
44583
- icon: MdiTableSplitCell,
44917
+ icon: markRaw(MdiTableSplitCell),
44584
44918
  title: "\u5206\u5272\u5355\u5143\u683C",
44585
44919
  action: () => editor.chain().focus().splitCell().run(),
44586
44920
  isActive: () => false
44587
44921
  },
44588
44922
  {
44589
44923
  type: "button",
44590
- icon: MdiTableRemove,
44924
+ icon: markRaw(MdiTableRemove),
44591
44925
  title: "\u5220\u9664\u8868\u683C",
44592
44926
  action: () => editor.chain().focus().deleteTable().run(),
44593
44927
  isActive: () => false
@@ -44595,6 +44929,47 @@ function TableMenuItem(editor) {
44595
44929
  ]
44596
44930
  };
44597
44931
  }
44932
+ function BulletListMenuItem(editor) {
44933
+ return {
44934
+ type: "button",
44935
+ icon: markRaw(MdiFormatListBulleted),
44936
+ title: "\u65E0\u5E8F\u5217\u8868",
44937
+ action: () => editor.chain().focus().toggleBulletList().run(),
44938
+ isActive: () => editor.isActive("bulletList")
44939
+ };
44940
+ }
44941
+ function OrderedListMenuItem(editor) {
44942
+ return {
44943
+ type: "button",
44944
+ icon: markRaw(MdiFormatListNumbered),
44945
+ title: "\u6709\u5E8F\u5217\u8868",
44946
+ action: () => editor.chain().focus().toggleOrderedList().run(),
44947
+ isActive: () => editor.isActive("orderedList")
44948
+ };
44949
+ }
44950
+ function TaskListMenuItem(editor) {
44951
+ return {
44952
+ type: "button",
44953
+ icon: markRaw(MdiFormatListCheckbox),
44954
+ title: "\u4EFB\u52A1\u5217\u8868",
44955
+ action: () => editor.chain().focus().toggleTaskList().run(),
44956
+ isActive: () => editor.isActive("taskList")
44957
+ };
44958
+ }
44959
+ function HighlightMenuItem(editor) {
44960
+ return {
44961
+ type: "button",
44962
+ icon: markRaw(MdiFormatColorHighlight),
44963
+ title: "\u9AD8\u4EAE",
44964
+ action: () => editor.chain().focus().toggleHighlight().run(),
44965
+ isActive: () => editor.isActive("highlight")
44966
+ };
44967
+ }
44968
+ function Separator() {
44969
+ return {
44970
+ type: "separator"
44971
+ };
44972
+ }
44598
44973
  const plugin = {
44599
44974
  install(app) {
44600
44975
  app.component("RichTextEditor", _sfc_main$4);
@@ -44607,8 +44982,10 @@ export {
44607
44982
  AlignRightMenuItem,
44608
44983
  BoldMenuItem,
44609
44984
  BubbleMenu,
44985
+ BulletListMenuItem,
44610
44986
  CodeBlockMenuItem,
44611
44987
  CodeMenuItem,
44988
+ CommandBulletList,
44612
44989
  CommandCodeBlock,
44613
44990
  CommandHeader1,
44614
44991
  CommandHeader2,
@@ -44618,7 +44995,11 @@ export {
44618
44995
  CommandHeader6,
44619
44996
  CommandIframe,
44620
44997
  CommandManager,
44998
+ CommandOrderedList,
44999
+ CommandTable,
45000
+ CommandTaskList,
44621
45001
  suggestion as CommandsSuggestion,
45002
+ CommentParagraph,
44622
45003
  Editor,
44623
45004
  EditorContent,
44624
45005
  Extension,
@@ -44633,6 +45014,7 @@ export {
44633
45014
  Gapcursor as ExtensionGapcursor,
44634
45015
  HardBreak as ExtensionHardBreak,
44635
45016
  Heading as ExtensionHeading,
45017
+ Highlight as ExtensionHighlight,
44636
45018
  History as ExtensionHistory,
44637
45019
  HorizontalRule as ExtensionHorizontalRule,
44638
45020
  Iframe as ExtensionIframe,
@@ -44654,6 +45036,7 @@ export {
44654
45036
  Underline as ExtensionUnderline,
44655
45037
  FloatingMenu,
44656
45038
  HeadingMenuItem,
45039
+ HighlightMenuItem,
44657
45040
  InputRule,
44658
45041
  ItalicMenuItem,
44659
45042
  Mark,
@@ -44661,14 +45044,17 @@ export {
44661
45044
  NodeView,
44662
45045
  NodeViewContent,
44663
45046
  NodeViewWrapper,
45047
+ OrderedListMenuItem,
44664
45048
  PasteRule,
44665
45049
  QuoteMenuItem,
44666
45050
  RedoMenuItem,
44667
45051
  _sfc_main$4 as RichTextEditor,
45052
+ Separator,
44668
45053
  StrikeMenuItem,
44669
45054
  SubScriptMenuItem,
44670
45055
  SuperScriptMenuItem,
44671
45056
  TableMenuItem,
45057
+ TaskListMenuItem,
44672
45058
  Tracker,
44673
45059
  UnderlineMenuItem,
44674
45060
  UndoMenuItem,