@halo-dev/richtext-editor 0.0.0-alpha.14 → 0.0.0-alpha.16

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: {
@@ -20584,22 +20781,28 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
20584
20781
  type: Array,
20585
20782
  required: false,
20586
20783
  default: () => []
20784
+ },
20785
+ contentStyles: {
20786
+ type: Object,
20787
+ required: false,
20788
+ default: () => ({})
20587
20789
  }
20588
20790
  },
20589
20791
  setup(__props) {
20590
20792
  return (_ctx, _cache) => {
20591
- return __props.editor ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
20793
+ return __props.editor ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
20592
20794
  createVNode(_sfc_main$5, {
20593
20795
  editor: __props.editor,
20594
20796
  "menu-items": __props.bubbleMenuItems
20595
20797
  }, null, 8, ["editor", "menu-items"]),
20596
20798
  createVNode(_sfc_main$6, { "menu-items": __props.toolbarMenuItems }, null, 8, ["menu-items"]),
20597
- createElementVNode("div", _hoisted_2$D, [
20799
+ createElementVNode("div", _hoisted_2$H, [
20598
20800
  createVNode(unref(EditorContent), {
20599
20801
  editor: __props.editor,
20802
+ style: normalizeStyle(__props.contentStyles),
20600
20803
  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
- }, null, 8, ["editor"]),
20602
- createElementVNode("div", _hoisted_3$D, [
20804
+ }, null, 8, ["editor", "style"]),
20805
+ createElementVNode("div", _hoisted_3$H, [
20603
20806
  renderSlot(_ctx.$slots, "extra")
20604
20807
  ])
20605
20808
  ])
@@ -20611,7 +20814,7 @@ const index = "";
20611
20814
  const tailwind = "";
20612
20815
  const style = "";
20613
20816
  const githubDark = "";
20614
- const inputRegex$6 = /^\s*>\s$/;
20817
+ const inputRegex$7 = /^\s*>\s$/;
20615
20818
  const Blockquote = Node.create({
20616
20819
  name: "blockquote",
20617
20820
  addOptions() {
@@ -20651,7 +20854,7 @@ const Blockquote = Node.create({
20651
20854
  addInputRules() {
20652
20855
  return [
20653
20856
  wrappingInputRule({
20654
- find: inputRegex$6,
20857
+ find: inputRegex$7,
20655
20858
  type: this.type
20656
20859
  })
20657
20860
  ];
@@ -20730,7 +20933,7 @@ const Bold = Mark.create({
20730
20933
  ];
20731
20934
  }
20732
20935
  });
20733
- const inputRegex$5 = /^\s*([-+*])\s$/;
20936
+ const inputRegex$6 = /^\s*([-+*])\s$/;
20734
20937
  const BulletList = Node.create({
20735
20938
  name: "bulletList",
20736
20939
  addOptions() {
@@ -20766,14 +20969,14 @@ const BulletList = Node.create({
20766
20969
  addInputRules() {
20767
20970
  return [
20768
20971
  wrappingInputRule({
20769
- find: inputRegex$5,
20972
+ find: inputRegex$6,
20770
20973
  type: this.type
20771
20974
  })
20772
20975
  ];
20773
20976
  }
20774
20977
  });
20775
- const inputRegex$4 = /(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;
20776
- const pasteRegex$1 = /(?:^|\s)((?:`)((?:[^`]+))(?:`))/g;
20978
+ const inputRegex$5 = /(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;
20979
+ const pasteRegex$2 = /(?:^|\s)((?:`)((?:[^`]+))(?:`))/g;
20777
20980
  const Code = Mark.create({
20778
20981
  name: "code",
20779
20982
  addOptions() {
@@ -20813,7 +21016,7 @@ const Code = Mark.create({
20813
21016
  addInputRules() {
20814
21017
  return [
20815
21018
  markInputRule({
20816
- find: inputRegex$4,
21019
+ find: inputRegex$5,
20817
21020
  type: this.type
20818
21021
  })
20819
21022
  ];
@@ -20821,7 +21024,7 @@ const Code = Mark.create({
20821
21024
  addPasteRules() {
20822
21025
  return [
20823
21026
  markPasteRule({
20824
- find: pasteRegex$1,
21027
+ find: pasteRegex$2,
20825
21028
  type: this.type
20826
21029
  })
20827
21030
  ];
@@ -23801,7 +24004,7 @@ const ListItem = Node.create({
23801
24004
  };
23802
24005
  }
23803
24006
  });
23804
- const inputRegex$3 = /^(\d+)\.\s$/;
24007
+ const inputRegex$4 = /^(\d+)\.\s$/;
23805
24008
  const OrderedList = Node.create({
23806
24009
  name: "orderedList",
23807
24010
  addOptions() {
@@ -23850,7 +24053,7 @@ const OrderedList = Node.create({
23850
24053
  addInputRules() {
23851
24054
  return [
23852
24055
  wrappingInputRule({
23853
- find: inputRegex$3,
24056
+ find: inputRegex$4,
23854
24057
  type: this.type,
23855
24058
  getAttributes: (match) => ({ start: +match[1] }),
23856
24059
  joinPredicate: (match, node) => node.childCount + node.attrs.start === +match[1]
@@ -23889,8 +24092,8 @@ const Paragraph = Node.create({
23889
24092
  };
23890
24093
  }
23891
24094
  });
23892
- const inputRegex$2 = /(?:^|\s)((?:~~)((?:[^~]+))(?:~~))$/;
23893
- const pasteRegex = /(?:^|\s)((?:~~)((?:[^~]+))(?:~~))/g;
24095
+ const inputRegex$3 = /(?:^|\s)((?:~~)((?:[^~]+))(?:~~))$/;
24096
+ const pasteRegex$1 = /(?:^|\s)((?:~~)((?:[^~]+))(?:~~))/g;
23894
24097
  const Strike = Mark.create({
23895
24098
  name: "strike",
23896
24099
  addOptions() {
@@ -23940,7 +24143,7 @@ const Strike = Mark.create({
23940
24143
  addInputRules() {
23941
24144
  return [
23942
24145
  markInputRule({
23943
- find: inputRegex$2,
24146
+ find: inputRegex$3,
23944
24147
  type: this.type
23945
24148
  })
23946
24149
  ];
@@ -23948,7 +24151,7 @@ const Strike = Mark.create({
23948
24151
  addPasteRules() {
23949
24152
  return [
23950
24153
  markPasteRule({
23951
- find: pasteRegex,
24154
+ find: pasteRegex$1,
23952
24155
  type: this.type
23953
24156
  })
23954
24157
  ];
@@ -23994,7 +24197,7 @@ const TaskList = Node.create({
23994
24197
  };
23995
24198
  }
23996
24199
  });
23997
- const inputRegex$1 = /^\s*(\[([( |x])?\])\s$/;
24200
+ const inputRegex$2 = /^\s*(\[([( |x])?\])\s$/;
23998
24201
  const TaskItem = Node.create({
23999
24202
  name: "taskItem",
24000
24203
  addOptions() {
@@ -24125,7 +24328,7 @@ const TaskItem = Node.create({
24125
24328
  addInputRules() {
24126
24329
  return [
24127
24330
  wrappingInputRule({
24128
- find: inputRegex$1,
24331
+ find: inputRegex$2,
24129
24332
  type: this.type,
24130
24333
  getAttributes: (match) => ({
24131
24334
  checked: match[match.length - 1] === "x"
@@ -25365,6 +25568,81 @@ const Placeholder = Extension.create({
25365
25568
  ];
25366
25569
  }
25367
25570
  });
25571
+ const inputRegex$1 = /(?:^|\s)((?:==)((?:[^~=]+))(?:==))$/;
25572
+ const pasteRegex = /(?:^|\s)((?:==)((?:[^~=]+))(?:==))/g;
25573
+ const Highlight = Mark.create({
25574
+ name: "highlight",
25575
+ addOptions() {
25576
+ return {
25577
+ multicolor: false,
25578
+ HTMLAttributes: {}
25579
+ };
25580
+ },
25581
+ addAttributes() {
25582
+ if (!this.options.multicolor) {
25583
+ return {};
25584
+ }
25585
+ return {
25586
+ color: {
25587
+ default: null,
25588
+ parseHTML: (element) => element.getAttribute("data-color") || element.style.backgroundColor,
25589
+ renderHTML: (attributes) => {
25590
+ if (!attributes.color) {
25591
+ return {};
25592
+ }
25593
+ return {
25594
+ "data-color": attributes.color,
25595
+ style: `background-color: ${attributes.color}; color: inherit`
25596
+ };
25597
+ }
25598
+ }
25599
+ };
25600
+ },
25601
+ parseHTML() {
25602
+ return [
25603
+ {
25604
+ tag: "mark"
25605
+ }
25606
+ ];
25607
+ },
25608
+ renderHTML({ HTMLAttributes }) {
25609
+ return ["mark", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
25610
+ },
25611
+ addCommands() {
25612
+ return {
25613
+ setHighlight: (attributes) => ({ commands: commands2 }) => {
25614
+ return commands2.setMark(this.name, attributes);
25615
+ },
25616
+ toggleHighlight: (attributes) => ({ commands: commands2 }) => {
25617
+ return commands2.toggleMark(this.name, attributes);
25618
+ },
25619
+ unsetHighlight: () => ({ commands: commands2 }) => {
25620
+ return commands2.unsetMark(this.name);
25621
+ }
25622
+ };
25623
+ },
25624
+ addKeyboardShortcuts() {
25625
+ return {
25626
+ "Mod-Shift-h": () => this.editor.commands.toggleHighlight()
25627
+ };
25628
+ },
25629
+ addInputRules() {
25630
+ return [
25631
+ markInputRule({
25632
+ find: inputRegex$1,
25633
+ type: this.type
25634
+ })
25635
+ ];
25636
+ },
25637
+ addPasteRules() {
25638
+ return [
25639
+ markPasteRule({
25640
+ find: pasteRegex,
25641
+ type: this.type
25642
+ })
25643
+ ];
25644
+ }
25645
+ });
25368
25646
  function findSuggestionMatch(config2) {
25369
25647
  var _a2;
25370
25648
  const { char, allowSpaces, allowedPrefixes, startOfLine, $position } = config2;
@@ -25585,9 +25863,9 @@ const ExtensionCommands = Extension.create({
25585
25863
  ];
25586
25864
  }
25587
25865
  });
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" };
25866
+ const _hoisted_1$H = { class: "command-items" };
25867
+ const _hoisted_2$G = ["id", "onClick"];
25868
+ const _hoisted_3$G = { class: "command-title group-hover:text-gray-900 group-hover:font-medium" };
25591
25869
  const _hoisted_4 = {
25592
25870
  key: 1,
25593
25871
  class: "command-empty"
@@ -25663,7 +25941,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
25663
25941
  onKeyDown
25664
25942
  });
25665
25943
  return (_ctx, _cache) => {
25666
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
25944
+ return openBlock(), createElementBlock("div", _hoisted_1$H, [
25667
25945
  __props.items.length ? (openBlock(true), createElementBlock(Fragment$1, { key: 0 }, renderList(__props.items, (item, index2) => {
25668
25946
  return openBlock(), createElementBlock("div", {
25669
25947
  id: `command-item-${index2}`,
@@ -25672,14 +25950,78 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
25672
25950
  onClick: ($event) => handleSelectItem(index2)
25673
25951
  }, [
25674
25952
  (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);
25953
+ createElementVNode("span", _hoisted_3$G, toDisplayString(item.title), 1)
25954
+ ], 10, _hoisted_2$G);
25677
25955
  }), 128)) : (openBlock(), createElementBlock("div", _hoisted_4, _hoisted_6))
25678
25956
  ]);
25679
25957
  };
25680
25958
  }
25681
25959
  });
25682
25960
  const CommandsView_vue_vue_type_style_index_0_lang = "";
25961
+ const _hoisted_1$G = {
25962
+ viewBox: "0 0 24 24",
25963
+ width: "1.2em",
25964
+ height: "1.2em"
25965
+ };
25966
+ const _hoisted_2$F = /* @__PURE__ */ createElementVNode("path", {
25967
+ fill: "currentColor",
25968
+ 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"
25969
+ }, null, -1);
25970
+ const _hoisted_3$F = [
25971
+ _hoisted_2$F
25972
+ ];
25973
+ function render$D(_ctx, _cache) {
25974
+ return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_3$F);
25975
+ }
25976
+ const MdiFormatParagraph = { name: "mdi-format-paragraph", render: render$D };
25977
+ const _hoisted_1$F = {
25978
+ viewBox: "0 0 24 24",
25979
+ width: "1.2em",
25980
+ height: "1.2em"
25981
+ };
25982
+ const _hoisted_2$E = /* @__PURE__ */ createElementVNode("path", {
25983
+ fill: "currentColor",
25984
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m11 14v-2h2V6.31l-2.5 1.44V5.44L16 4h2v12h2v2h-6Z"
25985
+ }, null, -1);
25986
+ const _hoisted_3$E = [
25987
+ _hoisted_2$E
25988
+ ];
25989
+ function render$C(_ctx, _cache) {
25990
+ return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_3$E);
25991
+ }
25992
+ const MdiFormatHeader1 = { name: "mdi-format-header-1", render: render$C };
25993
+ const _hoisted_1$E = {
25994
+ viewBox: "0 0 24 24",
25995
+ width: "1.2em",
25996
+ height: "1.2em"
25997
+ };
25998
+ const _hoisted_2$D = /* @__PURE__ */ createElementVNode("path", {
25999
+ fill: "currentColor",
26000
+ 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"
26001
+ }, null, -1);
26002
+ const _hoisted_3$D = [
26003
+ _hoisted_2$D
26004
+ ];
26005
+ function render$B(_ctx, _cache) {
26006
+ return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_3$D);
26007
+ }
26008
+ const MdiFormatHeader2 = { name: "mdi-format-header-2", render: render$B };
26009
+ const _hoisted_1$D = {
26010
+ viewBox: "0 0 24 24",
26011
+ width: "1.2em",
26012
+ height: "1.2em"
26013
+ };
26014
+ const _hoisted_2$C = /* @__PURE__ */ createElementVNode("path", {
26015
+ fill: "currentColor",
26016
+ 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"
26017
+ }, null, -1);
26018
+ const _hoisted_3$C = [
26019
+ _hoisted_2$C
26020
+ ];
26021
+ function render$A(_ctx, _cache) {
26022
+ return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_3$C);
26023
+ }
26024
+ const MdiFormatHeader3 = { name: "mdi-format-header-3", render: render$A };
25683
26025
  const _hoisted_1$C = {
25684
26026
  viewBox: "0 0 24 24",
25685
26027
  width: "1.2em",
@@ -25687,7 +26029,7 @@ const _hoisted_1$C = {
25687
26029
  };
25688
26030
  const _hoisted_2$B = /* @__PURE__ */ createElementVNode("path", {
25689
26031
  fill: "currentColor",
25690
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m11 14v-2h2V6.31l-2.5 1.44V5.44L16 4h2v12h2v2h-6Z"
26032
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m15 14v-5h-5v-2l5-7h2v7h1v2h-1v5h-2m0-7V7.42L15.45 11H18Z"
25691
26033
  }, null, -1);
25692
26034
  const _hoisted_3$B = [
25693
26035
  _hoisted_2$B
@@ -25695,7 +26037,7 @@ const _hoisted_3$B = [
25695
26037
  function render$z(_ctx, _cache) {
25696
26038
  return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_3$B);
25697
26039
  }
25698
- const MdiFormatHeader1 = { name: "mdi-format-header-1", render: render$z };
26040
+ const MdiFormatHeader4 = { name: "mdi-format-header-4", render: render$z };
25699
26041
  const _hoisted_1$B = {
25700
26042
  viewBox: "0 0 24 24",
25701
26043
  width: "1.2em",
@@ -25703,7 +26045,7 @@ const _hoisted_1$B = {
25703
26045
  };
25704
26046
  const _hoisted_2$A = /* @__PURE__ */ createElementVNode("path", {
25705
26047
  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"
26048
+ 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
26049
  }, null, -1);
25708
26050
  const _hoisted_3$A = [
25709
26051
  _hoisted_2$A
@@ -25711,7 +26053,7 @@ const _hoisted_3$A = [
25711
26053
  function render$y(_ctx, _cache) {
25712
26054
  return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_3$A);
25713
26055
  }
25714
- const MdiFormatHeader2 = { name: "mdi-format-header-2", render: render$y };
26056
+ const MdiFormatHeader5 = { name: "mdi-format-header-5", render: render$y };
25715
26057
  const _hoisted_1$A = {
25716
26058
  viewBox: "0 0 24 24",
25717
26059
  width: "1.2em",
@@ -25719,7 +26061,7 @@ const _hoisted_1$A = {
25719
26061
  };
25720
26062
  const _hoisted_2$z = /* @__PURE__ */ createElementVNode("path", {
25721
26063
  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"
26064
+ 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
26065
  }, null, -1);
25724
26066
  const _hoisted_3$z = [
25725
26067
  _hoisted_2$z
@@ -25727,7 +26069,7 @@ const _hoisted_3$z = [
25727
26069
  function render$x(_ctx, _cache) {
25728
26070
  return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$z);
25729
26071
  }
25730
- const MdiFormatHeader3 = { name: "mdi-format-header-3", render: render$x };
26072
+ const MdiFormatHeader6 = { name: "mdi-format-header-6", render: render$x };
25731
26073
  const _hoisted_1$z = {
25732
26074
  viewBox: "0 0 24 24",
25733
26075
  width: "1.2em",
@@ -25735,7 +26077,7 @@ const _hoisted_1$z = {
25735
26077
  };
25736
26078
  const _hoisted_2$y = /* @__PURE__ */ createElementVNode("path", {
25737
26079
  fill: "currentColor",
25738
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m15 14v-5h-5v-2l5-7h2v7h1v2h-1v5h-2m0-7V7.42L15.45 11H18Z"
26080
+ 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
26081
  }, null, -1);
25740
26082
  const _hoisted_3$y = [
25741
26083
  _hoisted_2$y
@@ -25743,7 +26085,7 @@ const _hoisted_3$y = [
25743
26085
  function render$w(_ctx, _cache) {
25744
26086
  return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_3$y);
25745
26087
  }
25746
- const MdiFormatHeader4 = { name: "mdi-format-header-4", render: render$w };
26088
+ const MdiCodeBracesBox = { name: "mdi-code-braces-box", render: render$w };
25747
26089
  const _hoisted_1$y = {
25748
26090
  viewBox: "0 0 24 24",
25749
26091
  width: "1.2em",
@@ -25751,7 +26093,7 @@ const _hoisted_1$y = {
25751
26093
  };
25752
26094
  const _hoisted_2$x = /* @__PURE__ */ createElementVNode("path", {
25753
26095
  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"
26096
+ 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
26097
  }, null, -1);
25756
26098
  const _hoisted_3$x = [
25757
26099
  _hoisted_2$x
@@ -25759,7 +26101,7 @@ const _hoisted_3$x = [
25759
26101
  function render$v(_ctx, _cache) {
25760
26102
  return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$x);
25761
26103
  }
25762
- const MdiFormatHeader5 = { name: "mdi-format-header-5", render: render$v };
26104
+ const MdiFormatListBulleted = { name: "mdi-format-list-bulleted", render: render$v };
25763
26105
  const _hoisted_1$x = {
25764
26106
  viewBox: "0 0 24 24",
25765
26107
  width: "1.2em",
@@ -25767,7 +26109,7 @@ const _hoisted_1$x = {
25767
26109
  };
25768
26110
  const _hoisted_2$w = /* @__PURE__ */ createElementVNode("path", {
25769
26111
  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"
26112
+ 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
26113
  }, null, -1);
25772
26114
  const _hoisted_3$w = [
25773
26115
  _hoisted_2$w
@@ -25775,7 +26117,7 @@ const _hoisted_3$w = [
25775
26117
  function render$u(_ctx, _cache) {
25776
26118
  return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$w);
25777
26119
  }
25778
- const MdiFormatHeader6 = { name: "mdi-format-header-6", render: render$u };
26120
+ const MdiFormatListCheckbox = { name: "mdi-format-list-checkbox", render: render$u };
25779
26121
  const _hoisted_1$w = {
25780
26122
  viewBox: "0 0 24 24",
25781
26123
  width: "1.2em",
@@ -25783,7 +26125,7 @@ const _hoisted_1$w = {
25783
26125
  };
25784
26126
  const _hoisted_2$v = /* @__PURE__ */ createElementVNode("path", {
25785
26127
  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"
26128
+ 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
26129
  }, null, -1);
25788
26130
  const _hoisted_3$v = [
25789
26131
  _hoisted_2$v
@@ -25791,7 +26133,7 @@ const _hoisted_3$v = [
25791
26133
  function render$t(_ctx, _cache) {
25792
26134
  return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$v);
25793
26135
  }
25794
- const MdiCodeBracesBox = { name: "mdi-code-braces-box", render: render$t };
26136
+ const MdiFormatListNumbered = { name: "mdi-format-list-numbered", render: render$t };
25795
26137
  const _hoisted_1$v = {
25796
26138
  viewBox: "0 0 24 24",
25797
26139
  width: "1.2em",
@@ -25799,7 +26141,7 @@ const _hoisted_1$v = {
25799
26141
  };
25800
26142
  const _hoisted_2$u = /* @__PURE__ */ createElementVNode("path", {
25801
26143
  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"
26144
+ 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
26145
  }, null, -1);
25804
26146
  const _hoisted_3$u = [
25805
26147
  _hoisted_2$u
@@ -25807,7 +26149,31 @@ const _hoisted_3$u = [
25807
26149
  function render$s(_ctx, _cache) {
25808
26150
  return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$u);
25809
26151
  }
25810
- const MdiWeb = { name: "mdi-web", render: render$s };
26152
+ const MdiTable = { name: "mdi-table", render: render$s };
26153
+ const _hoisted_1$u = {
26154
+ viewBox: "0 0 24 24",
26155
+ width: "1.2em",
26156
+ height: "1.2em"
26157
+ };
26158
+ const _hoisted_2$t = /* @__PURE__ */ createElementVNode("path", {
26159
+ fill: "currentColor",
26160
+ 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"
26161
+ }, null, -1);
26162
+ const _hoisted_3$t = [
26163
+ _hoisted_2$t
26164
+ ];
26165
+ function render$r(_ctx, _cache) {
26166
+ return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$t);
26167
+ }
26168
+ const MdiWeb = { name: "mdi-web", render: render$r };
26169
+ const CommentParagraph = {
26170
+ icon: markRaw(MdiFormatParagraph),
26171
+ title: "\u666E\u901A\u6587\u672C",
26172
+ keywords: ["paragraph", "text", "\u666E\u901A\u6587\u672C", "putongwenben"],
26173
+ command: ({ editor, range }) => {
26174
+ editor.chain().focus().deleteRange(range).setParagraph().run();
26175
+ }
26176
+ };
25811
26177
  const CommandHeader1 = {
25812
26178
  icon: markRaw(MdiFormatHeader1),
25813
26179
  title: "\u4E00\u7EA7\u6807\u9898",
@@ -25875,65 +26241,54 @@ const CommandIframe = {
25875
26241
  ]).run();
25876
26242
  }
25877
26243
  };
26244
+ const CommandTable = {
26245
+ icon: markRaw(MdiTable),
26246
+ title: "\u8868\u683C",
26247
+ keywords: ["table", "biaoge"],
26248
+ command: ({ editor, range }) => {
26249
+ editor.chain().focus().deleteRange(range).insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run();
26250
+ }
26251
+ };
26252
+ const CommandBulletList = {
26253
+ icon: markRaw(MdiFormatListBulleted),
26254
+ title: "\u65E0\u5E8F\u5217\u8868",
26255
+ keywords: ["bulletlist", "wuxuliebiao"],
26256
+ command: ({ editor, range }) => {
26257
+ editor.chain().focus().deleteRange(range).toggleBulletList().run();
26258
+ }
26259
+ };
26260
+ const CommandOrderedList = {
26261
+ icon: markRaw(MdiFormatListNumbered),
26262
+ title: "\u6709\u5E8F\u5217\u8868",
26263
+ keywords: ["orderedlist", "youxuliebiao"],
26264
+ command: ({ editor, range }) => {
26265
+ editor.chain().focus().deleteRange(range).toggleOrderedList().run();
26266
+ }
26267
+ };
26268
+ const CommandTaskList = {
26269
+ icon: markRaw(MdiFormatListCheckbox),
26270
+ title: "\u4EFB\u52A1\u5217\u8868",
26271
+ keywords: ["tasklist", "renwuliebiao"],
26272
+ command: ({ editor, range }) => {
26273
+ editor.chain().focus().deleteRange(range).toggleTaskList().run();
26274
+ }
26275
+ };
25878
26276
  const suggestion = {
25879
26277
  items: ({ query }) => {
25880
26278
  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
- }
26279
+ CommentParagraph,
26280
+ CommandHeader1,
26281
+ CommandHeader2,
26282
+ CommandHeader3,
26283
+ CommandHeader4,
26284
+ CommandHeader5,
26285
+ CommandHeader6,
26286
+ CommandCodeBlock,
26287
+ CommandTable,
26288
+ CommandBulletList,
26289
+ CommandOrderedList,
26290
+ CommandTaskList,
26291
+ CommandIframe
25937
26292
  ].filter(
25938
26293
  (item) => [...item.keywords, item.title].some(
25939
26294
  (keyword) => keyword.includes(query)
@@ -40999,9 +41354,9 @@ lowlight$1.registerLanguage("wasm", wasm);
40999
41354
  lowlight$1.registerLanguage("xml", xml);
41000
41355
  lowlight$1.registerLanguage("yaml", yaml);
41001
41356
  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"];
41357
+ const _hoisted_1$t = { class: "px-2 py-1.5" };
41358
+ const _hoisted_2$s = /* @__PURE__ */ createElementVNode("option", { value: null }, "auto", -1);
41359
+ const _hoisted_3$s = ["value"];
41005
41360
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
41006
41361
  __name: "CodeBlockViewRenderer",
41007
41362
  props: {
@@ -41031,18 +41386,18 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
41031
41386
  return (_ctx, _cache) => {
41032
41387
  return openBlock(), createBlock(unref(NodeViewWrapper), { class: "code-block divide-gray-100 bg-gray-100 overflow-hidden rounded-md my-3" }, {
41033
41388
  default: withCtx(() => [
41034
- createElementVNode("div", _hoisted_1$u, [
41389
+ createElementVNode("div", _hoisted_1$t, [
41035
41390
  withDirectives(createElementVNode("select", {
41036
41391
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(selectedLanguage) ? selectedLanguage.value = $event : null),
41037
41392
  contenteditable: "false",
41038
41393
  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
41394
  }, [
41040
- _hoisted_2$t,
41395
+ _hoisted_2$s,
41041
41396
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(languages), (language, index2) => {
41042
41397
  return openBlock(), createElementBlock("option", {
41043
41398
  key: index2,
41044
41399
  value: language
41045
- }, toDisplayString(language), 9, _hoisted_3$t);
41400
+ }, toDisplayString(language), 9, _hoisted_3$s);
41046
41401
  }), 128))
41047
41402
  ], 512), [
41048
41403
  [vModelSelect, unref(selectedLanguage)]
@@ -41064,9 +41419,9 @@ const ExtensionCodeBlock = CodeBlockLowlight.extend({
41064
41419
  return VueNodeViewRenderer(_sfc_main$2);
41065
41420
  }
41066
41421
  });
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"];
41422
+ const _hoisted_1$s = { class: "block w-full relative" };
41423
+ const _hoisted_2$r = { class: "px-2 py-1.5" };
41424
+ const _hoisted_3$r = ["src", "width", "height"];
41070
41425
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
41071
41426
  __name: "IframeView",
41072
41427
  props: {
@@ -41096,8 +41451,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
41096
41451
  class: "divide-gray-100 bg-gray-100 overflow-hidden rounded-md w-full my-3"
41097
41452
  }, {
41098
41453
  default: withCtx(() => [
41099
- createElementVNode("div", _hoisted_1$t, [
41100
- createElementVNode("div", _hoisted_2$s, [
41454
+ createElementVNode("div", _hoisted_1$s, [
41455
+ createElementVNode("div", _hoisted_2$r, [
41101
41456
  withDirectives(createElementVNode("input", {
41102
41457
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(src) ? src.value = $event : null),
41103
41458
  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 +41472,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
41117
41472
  frameborder: "no",
41118
41473
  framespacing: "0",
41119
41474
  allowfullscreen: "true"
41120
- }, null, 8, _hoisted_3$s)) : createCommentVNode("", true)
41475
+ }, null, 8, _hoisted_3$r)) : createCommentVNode("", true)
41121
41476
  ])
41122
41477
  ]),
41123
41478
  _: 1
@@ -41462,7 +41817,7 @@ const _TransitionPresets = {
41462
41817
  __spreadValues({
41463
41818
  linear: identity
41464
41819
  }, _TransitionPresets);
41465
- const _hoisted_1$s = ["src", "title", "alt"];
41820
+ const _hoisted_1$r = ["src", "title", "alt"];
41466
41821
  const _sfc_main = /* @__PURE__ */ defineComponent({
41467
41822
  __name: "ImageView",
41468
41823
  props: {
@@ -41514,7 +41869,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41514
41869
  title: __props.node.attrs.title,
41515
41870
  alt: unref(alt),
41516
41871
  class: "w-full h-full"
41517
- }, null, 8, _hoisted_1$s)
41872
+ }, null, 8, _hoisted_1$r)
41518
41873
  ], 6)
41519
41874
  ]),
41520
41875
  _: 1
@@ -43835,6 +44190,7 @@ const allExtensions = [
43835
44190
  Image,
43836
44191
  TaskList,
43837
44192
  TaskItem,
44193
+ Highlight,
43838
44194
  Link.configure({
43839
44195
  autolink: true,
43840
44196
  openOnClick: false
@@ -43859,22 +44215,6 @@ const allExtensions = [
43859
44215
  }),
43860
44216
  Iframe
43861
44217
  ];
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
44218
  const _hoisted_1$q = {
43879
44219
  viewBox: "0 0 24 24",
43880
44220
  width: "1.2em",
@@ -43882,7 +44222,7 @@ const _hoisted_1$q = {
43882
44222
  };
43883
44223
  const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
43884
44224
  fill: "currentColor",
43885
- d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4h-8Z"
44225
+ 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
44226
  }, null, -1);
43887
44227
  const _hoisted_3$q = [
43888
44228
  _hoisted_2$q
@@ -43890,7 +44230,7 @@ const _hoisted_3$q = [
43890
44230
  function render$q(_ctx, _cache) {
43891
44231
  return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$q);
43892
44232
  }
43893
- const MdiFormatItalic = { name: "mdi-format-italic", render: render$q };
44233
+ const MdiFormatBold = { name: "mdi-format-bold", render: render$q };
43894
44234
  const _hoisted_1$p = {
43895
44235
  viewBox: "0 0 24 24",
43896
44236
  width: "1.2em",
@@ -43898,7 +44238,7 @@ const _hoisted_1$p = {
43898
44238
  };
43899
44239
  const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
43900
44240
  fill: "currentColor",
43901
- d: "M3 14h18v-2H3m2-8v3h5v3h4V7h5V4m-9 15h4v-3h-4v3Z"
44241
+ d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4h-8Z"
43902
44242
  }, null, -1);
43903
44243
  const _hoisted_3$p = [
43904
44244
  _hoisted_2$p
@@ -43906,7 +44246,7 @@ const _hoisted_3$p = [
43906
44246
  function render$p(_ctx, _cache) {
43907
44247
  return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$p);
43908
44248
  }
43909
- const MdiFormatStrikethrough = { name: "mdi-format-strikethrough", render: render$p };
44249
+ const MdiFormatItalic = { name: "mdi-format-italic", render: render$p };
43910
44250
  const _hoisted_1$o = {
43911
44251
  viewBox: "0 0 24 24",
43912
44252
  width: "1.2em",
@@ -43914,7 +44254,7 @@ const _hoisted_1$o = {
43914
44254
  };
43915
44255
  const _hoisted_2$o = /* @__PURE__ */ createElementVNode("path", {
43916
44256
  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"
44257
+ d: "M3 14h18v-2H3m2-8v3h5v3h4V7h5V4m-9 15h4v-3h-4v3Z"
43918
44258
  }, null, -1);
43919
44259
  const _hoisted_3$o = [
43920
44260
  _hoisted_2$o
@@ -43922,7 +44262,7 @@ const _hoisted_3$o = [
43922
44262
  function render$o(_ctx, _cache) {
43923
44263
  return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_3$o);
43924
44264
  }
43925
- const MdiFormatHeaderPound = { name: "mdi-format-header-pound", render: render$o };
44265
+ const MdiFormatStrikethrough = { name: "mdi-format-strikethrough", render: render$o };
43926
44266
  const _hoisted_1$n = {
43927
44267
  viewBox: "0 0 24 24",
43928
44268
  width: "1.2em",
@@ -43930,7 +44270,7 @@ const _hoisted_1$n = {
43930
44270
  };
43931
44271
  const _hoisted_2$n = /* @__PURE__ */ createElementVNode("path", {
43932
44272
  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"
44273
+ 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
44274
  }, null, -1);
43935
44275
  const _hoisted_3$n = [
43936
44276
  _hoisted_2$n
@@ -43938,7 +44278,7 @@ const _hoisted_3$n = [
43938
44278
  function render$n(_ctx, _cache) {
43939
44279
  return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$n);
43940
44280
  }
43941
- const MdiFormatParagraph = { name: "mdi-format-paragraph", render: render$n };
44281
+ const MdiFormatHeaderPound = { name: "mdi-format-header-pound", render: render$n };
43942
44282
  const _hoisted_1$m = {
43943
44283
  viewBox: "0 0 24 24",
43944
44284
  width: "1.2em",
@@ -44122,7 +44462,7 @@ const _hoisted_1$b = {
44122
44462
  };
44123
44463
  const _hoisted_2$b = /* @__PURE__ */ createElementVNode("path", {
44124
44464
  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"
44465
+ 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
44466
  }, null, -1);
44127
44467
  const _hoisted_3$b = [
44128
44468
  _hoisted_2$b
@@ -44130,7 +44470,7 @@ const _hoisted_3$b = [
44130
44470
  function render$b(_ctx, _cache) {
44131
44471
  return openBlock(), createElementBlock("svg", _hoisted_1$b, _hoisted_3$b);
44132
44472
  }
44133
- const MdiTable = { name: "mdi-table", render: render$b };
44473
+ const MdiTablePlus = { name: "mdi-table-plus", render: render$b };
44134
44474
  const _hoisted_1$a = {
44135
44475
  viewBox: "0 0 24 24",
44136
44476
  width: "1.2em",
@@ -44138,7 +44478,7 @@ const _hoisted_1$a = {
44138
44478
  };
44139
44479
  const _hoisted_2$a = /* @__PURE__ */ createElementVNode("path", {
44140
44480
  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"
44481
+ 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
44482
  }, null, -1);
44143
44483
  const _hoisted_3$a = [
44144
44484
  _hoisted_2$a
@@ -44146,7 +44486,7 @@ const _hoisted_3$a = [
44146
44486
  function render$a(_ctx, _cache) {
44147
44487
  return openBlock(), createElementBlock("svg", _hoisted_1$a, _hoisted_3$a);
44148
44488
  }
44149
- const MdiTablePlus = { name: "mdi-table-plus", render: render$a };
44489
+ const MdiTableColumnPlusBefore = { name: "mdi-table-column-plus-before", render: render$a };
44150
44490
  const _hoisted_1$9 = {
44151
44491
  viewBox: "0 0 24 24",
44152
44492
  width: "1.2em",
@@ -44154,7 +44494,7 @@ const _hoisted_1$9 = {
44154
44494
  };
44155
44495
  const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("path", {
44156
44496
  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"
44497
+ 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
44498
  }, null, -1);
44159
44499
  const _hoisted_3$9 = [
44160
44500
  _hoisted_2$9
@@ -44162,7 +44502,7 @@ const _hoisted_3$9 = [
44162
44502
  function render$9(_ctx, _cache) {
44163
44503
  return openBlock(), createElementBlock("svg", _hoisted_1$9, _hoisted_3$9);
44164
44504
  }
44165
- const MdiTableColumnPlusBefore = { name: "mdi-table-column-plus-before", render: render$9 };
44505
+ const MdiTableColumnPlusAfter = { name: "mdi-table-column-plus-after", render: render$9 };
44166
44506
  const _hoisted_1$8 = {
44167
44507
  viewBox: "0 0 24 24",
44168
44508
  width: "1.2em",
@@ -44170,7 +44510,7 @@ const _hoisted_1$8 = {
44170
44510
  };
44171
44511
  const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("path", {
44172
44512
  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"
44513
+ 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
44514
  }, null, -1);
44175
44515
  const _hoisted_3$8 = [
44176
44516
  _hoisted_2$8
@@ -44178,7 +44518,7 @@ const _hoisted_3$8 = [
44178
44518
  function render$8(_ctx, _cache) {
44179
44519
  return openBlock(), createElementBlock("svg", _hoisted_1$8, _hoisted_3$8);
44180
44520
  }
44181
- const MdiTableColumnPlusAfter = { name: "mdi-table-column-plus-after", render: render$8 };
44521
+ const MdiTableRowPlusAfter = { name: "mdi-table-row-plus-after", render: render$8 };
44182
44522
  const _hoisted_1$7 = {
44183
44523
  viewBox: "0 0 24 24",
44184
44524
  width: "1.2em",
@@ -44186,7 +44526,7 @@ const _hoisted_1$7 = {
44186
44526
  };
44187
44527
  const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("path", {
44188
44528
  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"
44529
+ 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
44530
  }, null, -1);
44191
44531
  const _hoisted_3$7 = [
44192
44532
  _hoisted_2$7
@@ -44194,7 +44534,7 @@ const _hoisted_3$7 = [
44194
44534
  function render$7(_ctx, _cache) {
44195
44535
  return openBlock(), createElementBlock("svg", _hoisted_1$7, _hoisted_3$7);
44196
44536
  }
44197
- const MdiTableRowPlusAfter = { name: "mdi-table-row-plus-after", render: render$7 };
44537
+ const MdiTableRowPlusBefore = { name: "mdi-table-row-plus-before", render: render$7 };
44198
44538
  const _hoisted_1$6 = {
44199
44539
  viewBox: "0 0 24 24",
44200
44540
  width: "1.2em",
@@ -44202,7 +44542,7 @@ const _hoisted_1$6 = {
44202
44542
  };
44203
44543
  const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("path", {
44204
44544
  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"
44545
+ 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
44546
  }, null, -1);
44207
44547
  const _hoisted_3$6 = [
44208
44548
  _hoisted_2$6
@@ -44210,7 +44550,7 @@ const _hoisted_3$6 = [
44210
44550
  function render$6(_ctx, _cache) {
44211
44551
  return openBlock(), createElementBlock("svg", _hoisted_1$6, _hoisted_3$6);
44212
44552
  }
44213
- const MdiTableRowPlusBefore = { name: "mdi-table-row-plus-before", render: render$6 };
44553
+ const MdiTableColumnRemove = { name: "mdi-table-column-remove", render: render$6 };
44214
44554
  const _hoisted_1$5 = {
44215
44555
  viewBox: "0 0 24 24",
44216
44556
  width: "1.2em",
@@ -44218,7 +44558,7 @@ const _hoisted_1$5 = {
44218
44558
  };
44219
44559
  const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("path", {
44220
44560
  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"
44561
+ 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
44562
  }, null, -1);
44223
44563
  const _hoisted_3$5 = [
44224
44564
  _hoisted_2$5
@@ -44226,7 +44566,7 @@ const _hoisted_3$5 = [
44226
44566
  function render$5(_ctx, _cache) {
44227
44567
  return openBlock(), createElementBlock("svg", _hoisted_1$5, _hoisted_3$5);
44228
44568
  }
44229
- const MdiTableColumnRemove = { name: "mdi-table-column-remove", render: render$5 };
44569
+ const MdiTableRowRemove = { name: "mdi-table-row-remove", render: render$5 };
44230
44570
  const _hoisted_1$4 = {
44231
44571
  viewBox: "0 0 24 24",
44232
44572
  width: "1.2em",
@@ -44234,7 +44574,7 @@ const _hoisted_1$4 = {
44234
44574
  };
44235
44575
  const _hoisted_2$4 = /* @__PURE__ */ createElementVNode("path", {
44236
44576
  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"
44577
+ 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
44578
  }, null, -1);
44239
44579
  const _hoisted_3$4 = [
44240
44580
  _hoisted_2$4
@@ -44242,7 +44582,7 @@ const _hoisted_3$4 = [
44242
44582
  function render$4(_ctx, _cache) {
44243
44583
  return openBlock(), createElementBlock("svg", _hoisted_1$4, _hoisted_3$4);
44244
44584
  }
44245
- const MdiTableRowRemove = { name: "mdi-table-row-remove", render: render$4 };
44585
+ const MdiTableRemove = { name: "mdi-table-remove", render: render$4 };
44246
44586
  const _hoisted_1$3 = {
44247
44587
  viewBox: "0 0 24 24",
44248
44588
  width: "1.2em",
@@ -44250,7 +44590,7 @@ const _hoisted_1$3 = {
44250
44590
  };
44251
44591
  const _hoisted_2$3 = /* @__PURE__ */ createElementVNode("path", {
44252
44592
  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"
44593
+ 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
44594
  }, null, -1);
44255
44595
  const _hoisted_3$3 = [
44256
44596
  _hoisted_2$3
@@ -44258,7 +44598,7 @@ const _hoisted_3$3 = [
44258
44598
  function render$3(_ctx, _cache) {
44259
44599
  return openBlock(), createElementBlock("svg", _hoisted_1$3, _hoisted_3$3);
44260
44600
  }
44261
- const MdiTableRemove = { name: "mdi-table-remove", render: render$3 };
44601
+ const MdiTableHeadersEye = { name: "mdi-table-headers-eye", render: render$3 };
44262
44602
  const _hoisted_1$2 = {
44263
44603
  viewBox: "0 0 24 24",
44264
44604
  width: "1.2em",
@@ -44266,7 +44606,7 @@ const _hoisted_1$2 = {
44266
44606
  };
44267
44607
  const _hoisted_2$2 = /* @__PURE__ */ createElementVNode("path", {
44268
44608
  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"
44609
+ d: "M5 10H3V4h8v2H5v4m14 8h-6v2h8v-6h-2v4M5 18v-4H3v6h8v-2H5M21 4h-8v2h6v4h2V4M8 13v2l3-3l-3-3v2H3v2h5m8-2V9l-3 3l3 3v-2h5v-2h-5Z"
44270
44610
  }, null, -1);
44271
44611
  const _hoisted_3$2 = [
44272
44612
  _hoisted_2$2
@@ -44274,7 +44614,7 @@ const _hoisted_3$2 = [
44274
44614
  function render$2(_ctx, _cache) {
44275
44615
  return openBlock(), createElementBlock("svg", _hoisted_1$2, _hoisted_3$2);
44276
44616
  }
44277
- const MdiTableHeadersEye = { name: "mdi-table-headers-eye", render: render$2 };
44617
+ const MdiTableMergeCells = { name: "mdi-table-merge-cells", render: render$2 };
44278
44618
  const _hoisted_1$1 = {
44279
44619
  viewBox: "0 0 24 24",
44280
44620
  width: "1.2em",
@@ -44282,7 +44622,7 @@ const _hoisted_1$1 = {
44282
44622
  };
44283
44623
  const _hoisted_2$1 = /* @__PURE__ */ createElementVNode("path", {
44284
44624
  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"
44625
+ d: "M19 14h2v6H3v-6h2v4h14v-4M3 4v6h2V6h14v4h2V4H3m8 7v2H8v2l-3-3l3-3v2h3m5 0V9l3 3l-3 3v-2h-3v-2h3Z"
44286
44626
  }, null, -1);
44287
44627
  const _hoisted_3$1 = [
44288
44628
  _hoisted_2$1
@@ -44290,7 +44630,7 @@ const _hoisted_3$1 = [
44290
44630
  function render$1(_ctx, _cache) {
44291
44631
  return openBlock(), createElementBlock("svg", _hoisted_1$1, _hoisted_3$1);
44292
44632
  }
44293
- const MdiTableMergeCells = { name: "mdi-table-merge-cells", render: render$1 };
44633
+ const MdiTableSplitCell = { name: "mdi-table-split-cell", render: render$1 };
44294
44634
  const _hoisted_1 = {
44295
44635
  viewBox: "0 0 24 24",
44296
44636
  width: "1.2em",
@@ -44298,7 +44638,7 @@ const _hoisted_1 = {
44298
44638
  };
44299
44639
  const _hoisted_2 = /* @__PURE__ */ createElementVNode("path", {
44300
44640
  fill: "currentColor",
44301
- d: "M19 14h2v6H3v-6h2v4h14v-4M3 4v6h2V6h14v4h2V4H3m8 7v2H8v2l-3-3l3-3v2h3m5 0V9l3 3l-3 3v-2h-3v-2h3Z"
44641
+ 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
44642
  }, null, -1);
44303
44643
  const _hoisted_3 = [
44304
44644
  _hoisted_2
@@ -44306,12 +44646,12 @@ const _hoisted_3 = [
44306
44646
  function render(_ctx, _cache) {
44307
44647
  return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
44308
44648
  }
44309
- const MdiTableSplitCell = { name: "mdi-table-split-cell", render };
44649
+ const MdiFormatColorHighlight = { name: "mdi-format-color-highlight", render };
44310
44650
  function UndoMenuItem(editor) {
44311
44651
  return {
44312
44652
  type: "button",
44313
- icon: MdiUndoVariant,
44314
- title: "Undo",
44653
+ icon: markRaw(MdiUndoVariant),
44654
+ title: "\u64A4\u9500",
44315
44655
  action: () => editor.chain().undo().run(),
44316
44656
  isActive: () => false
44317
44657
  };
@@ -44319,8 +44659,8 @@ function UndoMenuItem(editor) {
44319
44659
  function RedoMenuItem(editor) {
44320
44660
  return {
44321
44661
  type: "button",
44322
- icon: MdiRedoVariant,
44323
- title: "Redo",
44662
+ icon: markRaw(MdiRedoVariant),
44663
+ title: "\u6062\u590D",
44324
44664
  action: () => editor.chain().redo().run(),
44325
44665
  isActive: () => false
44326
44666
  };
@@ -44328,8 +44668,8 @@ function RedoMenuItem(editor) {
44328
44668
  function BoldMenuItem(editor) {
44329
44669
  return {
44330
44670
  type: "button",
44331
- icon: MdiFormatBold,
44332
- title: "Bold",
44671
+ icon: markRaw(MdiFormatBold),
44672
+ title: "\u7C97\u4F53",
44333
44673
  action: () => editor.chain().focus().toggleBold().run(),
44334
44674
  isActive: () => editor.isActive("bold")
44335
44675
  };
@@ -44337,8 +44677,8 @@ function BoldMenuItem(editor) {
44337
44677
  function ItalicMenuItem(editor) {
44338
44678
  return {
44339
44679
  type: "button",
44340
- icon: MdiFormatItalic,
44341
- title: "Italic",
44680
+ icon: markRaw(MdiFormatItalic),
44681
+ title: "\u659C\u4F53",
44342
44682
  action: () => editor.chain().focus().toggleItalic().run(),
44343
44683
  isActive: () => editor.isActive("italic")
44344
44684
  };
@@ -44346,8 +44686,8 @@ function ItalicMenuItem(editor) {
44346
44686
  function UnderlineMenuItem(editor) {
44347
44687
  return {
44348
44688
  type: "button",
44349
- icon: MdiFormatUnderline,
44350
- title: "Underline",
44689
+ icon: markRaw(MdiFormatUnderline),
44690
+ title: "\u4E0B\u5212\u7EBF",
44351
44691
  action: () => editor.chain().focus().toggleUnderline().run(),
44352
44692
  isActive: () => editor.isActive("underline")
44353
44693
  };
@@ -44355,8 +44695,8 @@ function UnderlineMenuItem(editor) {
44355
44695
  function StrikeMenuItem(editor) {
44356
44696
  return {
44357
44697
  type: "button",
44358
- icon: MdiFormatStrikethrough,
44359
- title: "Strikethrough",
44698
+ icon: markRaw(MdiFormatStrikethrough),
44699
+ title: "\u5220\u9664\u7EBF",
44360
44700
  action: () => editor.chain().focus().toggleStrike().run(),
44361
44701
  isActive: () => editor.isActive("strike")
44362
44702
  };
@@ -44364,8 +44704,8 @@ function StrikeMenuItem(editor) {
44364
44704
  function QuoteMenuItem(editor) {
44365
44705
  return {
44366
44706
  type: "button",
44367
- icon: MdiFormatQuoteOpen,
44368
- title: "Quote",
44707
+ icon: markRaw(MdiFormatQuoteOpen),
44708
+ title: "\u5F15\u7528",
44369
44709
  action: () => editor.chain().focus().toggleBlockquote().run(),
44370
44710
  isActive: () => editor.isActive("blockquote")
44371
44711
  };
@@ -44373,8 +44713,8 @@ function QuoteMenuItem(editor) {
44373
44713
  function CodeMenuItem(editor) {
44374
44714
  return {
44375
44715
  type: "button",
44376
- icon: MdiCodeTags,
44377
- title: "Code",
44716
+ icon: markRaw(MdiCodeTags),
44717
+ title: "\u884C\u5185\u4EE3\u7801",
44378
44718
  action: () => editor.chain().focus().toggleCode().run(),
44379
44719
  isActive: () => editor.isActive("code")
44380
44720
  };
@@ -44382,8 +44722,8 @@ function CodeMenuItem(editor) {
44382
44722
  function SuperScriptMenuItem(editor) {
44383
44723
  return {
44384
44724
  type: "button",
44385
- icon: MdiFormatSuperscript,
44386
- title: "Superscript",
44725
+ icon: markRaw(MdiFormatSuperscript),
44726
+ title: "\u4E0A\u89D2\u6807",
44387
44727
  action: () => editor.chain().focus().toggleSuperscript().run(),
44388
44728
  isActive: () => editor.isActive("superscript")
44389
44729
  };
@@ -44391,8 +44731,8 @@ function SuperScriptMenuItem(editor) {
44391
44731
  function SubScriptMenuItem(editor) {
44392
44732
  return {
44393
44733
  type: "button",
44394
- icon: MdiFormatSubscript,
44395
- title: "Subscript",
44734
+ icon: markRaw(MdiFormatSubscript),
44735
+ title: "\u4E0B\u89D2\u6807",
44396
44736
  action: () => editor.chain().focus().toggleSubscript().run(),
44397
44737
  isActive: () => editor.isActive("subscript")
44398
44738
  };
@@ -44400,8 +44740,8 @@ function SubScriptMenuItem(editor) {
44400
44740
  function CodeBlockMenuItem(editor) {
44401
44741
  return {
44402
44742
  type: "button",
44403
- icon: MdiCodeBracesBox,
44404
- title: "Code Block",
44743
+ icon: markRaw(MdiCodeBracesBox),
44744
+ title: "\u4EE3\u7801\u5757",
44405
44745
  action: () => editor.chain().focus().toggleCodeBlock().run(),
44406
44746
  isActive: () => editor.isActive("codeBlock")
44407
44747
  };
@@ -44409,55 +44749,55 @@ function CodeBlockMenuItem(editor) {
44409
44749
  function HeadingMenuItem(editor) {
44410
44750
  return {
44411
44751
  type: "button",
44412
- icon: MdiFormatHeaderPound,
44413
- title: "\u666E\u901A\u6587\u672C",
44752
+ icon: markRaw(MdiFormatHeaderPound),
44753
+ title: "\u6587\u672C\u7C7B\u578B",
44414
44754
  isActive: () => editor.isActive("heading") || editor.isActive("paragraph"),
44415
44755
  children: [
44416
44756
  {
44417
44757
  type: "button",
44418
- icon: MdiFormatParagraph,
44758
+ icon: markRaw(MdiFormatParagraph),
44419
44759
  title: "\u666E\u901A\u6587\u672C",
44420
44760
  action: () => editor.chain().focus().setParagraph().run(),
44421
44761
  isActive: () => editor.isActive("paragraph")
44422
44762
  },
44423
44763
  {
44424
44764
  type: "button",
44425
- icon: MdiFormatHeader1,
44765
+ icon: markRaw(MdiFormatHeader1),
44426
44766
  title: "\u6807\u9898 1",
44427
44767
  action: () => editor.chain().focus().toggleHeading({ level: 1 }).run(),
44428
44768
  isActive: () => editor.isActive("heading", { level: 1 })
44429
44769
  },
44430
44770
  {
44431
44771
  type: "button",
44432
- icon: MdiFormatHeader2,
44772
+ icon: markRaw(MdiFormatHeader2),
44433
44773
  title: "\u6807\u9898 2",
44434
44774
  action: () => editor.chain().focus().toggleHeading({ level: 2 }).run(),
44435
44775
  isActive: () => editor.isActive("heading", { level: 2 })
44436
44776
  },
44437
44777
  {
44438
44778
  type: "button",
44439
- icon: MdiFormatHeader3,
44779
+ icon: markRaw(MdiFormatHeader3),
44440
44780
  title: "\u6807\u9898 3",
44441
44781
  action: () => editor.chain().focus().toggleHeading({ level: 3 }).run(),
44442
44782
  isActive: () => editor.isActive("heading", { level: 3 })
44443
44783
  },
44444
44784
  {
44445
44785
  type: "button",
44446
- icon: MdiFormatHeader4,
44786
+ icon: markRaw(MdiFormatHeader4),
44447
44787
  title: "\u6807\u9898 4",
44448
44788
  action: () => editor.chain().focus().toggleHeading({ level: 4 }).run(),
44449
44789
  isActive: () => editor.isActive("heading", { level: 4 })
44450
44790
  },
44451
44791
  {
44452
44792
  type: "button",
44453
- icon: MdiFormatHeader5,
44793
+ icon: markRaw(MdiFormatHeader5),
44454
44794
  title: "\u6807\u9898 5",
44455
44795
  action: () => editor.chain().focus().toggleHeading({ level: 5 }).run(),
44456
44796
  isActive: () => editor.isActive("heading", { level: 5 })
44457
44797
  },
44458
44798
  {
44459
44799
  type: "button",
44460
- icon: MdiFormatHeader6,
44800
+ icon: markRaw(MdiFormatHeader6),
44461
44801
  title: "\u6807\u9898 6",
44462
44802
  action: () => editor.chain().focus().toggleHeading({ level: 6 }).run(),
44463
44803
  isActive: () => editor.isActive("heading", { level: 6 })
@@ -44468,8 +44808,8 @@ function HeadingMenuItem(editor) {
44468
44808
  function AlignLeftMenuItem(editor) {
44469
44809
  return {
44470
44810
  type: "button",
44471
- icon: MdiFormatAlignLeft,
44472
- title: "Align Left",
44811
+ icon: markRaw(MdiFormatAlignLeft),
44812
+ title: "\u5DE6\u5BF9\u9F50",
44473
44813
  action: () => editor.chain().focus().setTextAlign("left").run(),
44474
44814
  isActive: () => editor.isActive({ textAlign: "left" })
44475
44815
  };
@@ -44477,8 +44817,8 @@ function AlignLeftMenuItem(editor) {
44477
44817
  function AlignCenterMenuItem(editor) {
44478
44818
  return {
44479
44819
  type: "button",
44480
- icon: MdiFormatAlignCenter,
44481
- title: "Align Center",
44820
+ icon: markRaw(MdiFormatAlignCenter),
44821
+ title: "\u5C45\u4E2D",
44482
44822
  action: () => editor.chain().focus().setTextAlign("center").run(),
44483
44823
  isActive: () => editor.isActive({ textAlign: "center" })
44484
44824
  };
@@ -44486,8 +44826,8 @@ function AlignCenterMenuItem(editor) {
44486
44826
  function AlignRightMenuItem(editor) {
44487
44827
  return {
44488
44828
  type: "button",
44489
- icon: MdiFormatAlignRight,
44490
- title: "Align Right",
44829
+ icon: markRaw(MdiFormatAlignRight),
44830
+ title: "\u53F3\u5BF9\u9F50",
44491
44831
  action: () => editor.chain().focus().setTextAlign("right").run(),
44492
44832
  isActive: () => editor.isActive({ textAlign: "right" })
44493
44833
  };
@@ -44495,8 +44835,8 @@ function AlignRightMenuItem(editor) {
44495
44835
  function AlignJustifyMenuItem(editor) {
44496
44836
  return {
44497
44837
  type: "button",
44498
- icon: MdiFormatAlignJustify,
44499
- title: "Align Justify",
44838
+ icon: markRaw(MdiFormatAlignJustify),
44839
+ title: "\u4E24\u7AEF\u5BF9\u9F50",
44500
44840
  action: () => editor.chain().focus().setTextAlign("justify").run(),
44501
44841
  isActive: () => editor.isActive({ textAlign: "justify" })
44502
44842
  };
@@ -44504,90 +44844,90 @@ function AlignJustifyMenuItem(editor) {
44504
44844
  function TableMenuItem(editor) {
44505
44845
  return {
44506
44846
  type: "button",
44507
- icon: MdiTable,
44847
+ icon: markRaw(MdiTable),
44508
44848
  title: "\u8868\u683C",
44509
44849
  isActive: () => editor.isActive("heading"),
44510
44850
  children: [
44511
44851
  {
44512
44852
  type: "button",
44513
- icon: MdiTablePlus,
44853
+ icon: markRaw(MdiTablePlus),
44514
44854
  title: "\u63D2\u5165\u8868\u683C",
44515
44855
  action: () => editor.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run(),
44516
44856
  isActive: () => false
44517
44857
  },
44518
44858
  {
44519
44859
  type: "button",
44520
- icon: MdiTableColumnPlusBefore,
44860
+ icon: markRaw(MdiTableColumnPlusBefore),
44521
44861
  title: "\u5411\u524D\u63D2\u5165\u5217",
44522
44862
  action: () => editor.chain().focus().addColumnBefore().run(),
44523
44863
  isActive: () => false
44524
44864
  },
44525
44865
  {
44526
44866
  type: "button",
44527
- icon: MdiTableColumnPlusAfter,
44867
+ icon: markRaw(MdiTableColumnPlusAfter),
44528
44868
  title: "\u5411\u540E\u63D2\u5165\u5217",
44529
44869
  action: () => editor.chain().focus().addColumnAfter().run(),
44530
44870
  isActive: () => false
44531
44871
  },
44532
44872
  {
44533
44873
  type: "button",
44534
- icon: MdiTableHeadersEye,
44874
+ icon: markRaw(MdiTableHeadersEye),
44535
44875
  title: "\u663E\u793A/\u9690\u85CF\u5217\u8868\u5934",
44536
44876
  action: () => editor.chain().focus().toggleHeaderColumn().run(),
44537
44877
  isActive: () => false
44538
44878
  },
44539
44879
  {
44540
44880
  type: "button",
44541
- icon: MdiTableColumnRemove,
44881
+ icon: markRaw(MdiTableColumnRemove),
44542
44882
  title: "\u5220\u9664\u5F53\u524D\u5217",
44543
44883
  action: () => editor.chain().focus().deleteColumn().run(),
44544
44884
  isActive: () => false
44545
44885
  },
44546
44886
  {
44547
44887
  type: "button",
44548
- icon: MdiTableRowPlusBefore,
44888
+ icon: markRaw(MdiTableRowPlusBefore),
44549
44889
  title: "\u5411\u4E0A\u63D2\u5165\u884C",
44550
44890
  action: () => editor.chain().focus().addRowBefore().run(),
44551
44891
  isActive: () => false
44552
44892
  },
44553
44893
  {
44554
44894
  type: "button",
44555
- icon: MdiTableRowPlusAfter,
44895
+ icon: markRaw(MdiTableRowPlusAfter),
44556
44896
  title: "\u5411\u4E0B\u63D2\u5165\u884C",
44557
44897
  action: () => editor.chain().focus().addRowAfter().run(),
44558
44898
  isActive: () => false
44559
44899
  },
44560
44900
  {
44561
44901
  type: "button",
44562
- icon: MdiTableHeadersEye,
44902
+ icon: markRaw(MdiTableHeadersEye),
44563
44903
  title: "\u663E\u793A/\u9690\u85CF\u884C\u8868\u5934",
44564
44904
  action: () => editor.chain().focus().toggleHeaderRow().run(),
44565
44905
  isActive: () => false
44566
44906
  },
44567
44907
  {
44568
44908
  type: "button",
44569
- icon: MdiTableRowRemove,
44909
+ icon: markRaw(MdiTableRowRemove),
44570
44910
  title: "\u5220\u9664\u5F53\u524D\u884C",
44571
44911
  action: () => editor.chain().focus().deleteRow().run(),
44572
44912
  isActive: () => false
44573
44913
  },
44574
44914
  {
44575
44915
  type: "button",
44576
- icon: MdiTableMergeCells,
44916
+ icon: markRaw(MdiTableMergeCells),
44577
44917
  title: "\u5408\u5E76\u5355\u5143\u683C",
44578
44918
  action: () => editor.chain().focus().mergeCells().run(),
44579
44919
  isActive: () => false
44580
44920
  },
44581
44921
  {
44582
44922
  type: "button",
44583
- icon: MdiTableSplitCell,
44923
+ icon: markRaw(MdiTableSplitCell),
44584
44924
  title: "\u5206\u5272\u5355\u5143\u683C",
44585
44925
  action: () => editor.chain().focus().splitCell().run(),
44586
44926
  isActive: () => false
44587
44927
  },
44588
44928
  {
44589
44929
  type: "button",
44590
- icon: MdiTableRemove,
44930
+ icon: markRaw(MdiTableRemove),
44591
44931
  title: "\u5220\u9664\u8868\u683C",
44592
44932
  action: () => editor.chain().focus().deleteTable().run(),
44593
44933
  isActive: () => false
@@ -44595,6 +44935,47 @@ function TableMenuItem(editor) {
44595
44935
  ]
44596
44936
  };
44597
44937
  }
44938
+ function BulletListMenuItem(editor) {
44939
+ return {
44940
+ type: "button",
44941
+ icon: markRaw(MdiFormatListBulleted),
44942
+ title: "\u65E0\u5E8F\u5217\u8868",
44943
+ action: () => editor.chain().focus().toggleBulletList().run(),
44944
+ isActive: () => editor.isActive("bulletList")
44945
+ };
44946
+ }
44947
+ function OrderedListMenuItem(editor) {
44948
+ return {
44949
+ type: "button",
44950
+ icon: markRaw(MdiFormatListNumbered),
44951
+ title: "\u6709\u5E8F\u5217\u8868",
44952
+ action: () => editor.chain().focus().toggleOrderedList().run(),
44953
+ isActive: () => editor.isActive("orderedList")
44954
+ };
44955
+ }
44956
+ function TaskListMenuItem(editor) {
44957
+ return {
44958
+ type: "button",
44959
+ icon: markRaw(MdiFormatListCheckbox),
44960
+ title: "\u4EFB\u52A1\u5217\u8868",
44961
+ action: () => editor.chain().focus().toggleTaskList().run(),
44962
+ isActive: () => editor.isActive("taskList")
44963
+ };
44964
+ }
44965
+ function HighlightMenuItem(editor) {
44966
+ return {
44967
+ type: "button",
44968
+ icon: markRaw(MdiFormatColorHighlight),
44969
+ title: "\u9AD8\u4EAE",
44970
+ action: () => editor.chain().focus().toggleHighlight().run(),
44971
+ isActive: () => editor.isActive("highlight")
44972
+ };
44973
+ }
44974
+ function Separator() {
44975
+ return {
44976
+ type: "separator"
44977
+ };
44978
+ }
44598
44979
  const plugin = {
44599
44980
  install(app) {
44600
44981
  app.component("RichTextEditor", _sfc_main$4);
@@ -44607,8 +44988,10 @@ export {
44607
44988
  AlignRightMenuItem,
44608
44989
  BoldMenuItem,
44609
44990
  BubbleMenu,
44991
+ BulletListMenuItem,
44610
44992
  CodeBlockMenuItem,
44611
44993
  CodeMenuItem,
44994
+ CommandBulletList,
44612
44995
  CommandCodeBlock,
44613
44996
  CommandHeader1,
44614
44997
  CommandHeader2,
@@ -44618,7 +45001,11 @@ export {
44618
45001
  CommandHeader6,
44619
45002
  CommandIframe,
44620
45003
  CommandManager,
45004
+ CommandOrderedList,
45005
+ CommandTable,
45006
+ CommandTaskList,
44621
45007
  suggestion as CommandsSuggestion,
45008
+ CommentParagraph,
44622
45009
  Editor,
44623
45010
  EditorContent,
44624
45011
  Extension,
@@ -44633,6 +45020,7 @@ export {
44633
45020
  Gapcursor as ExtensionGapcursor,
44634
45021
  HardBreak as ExtensionHardBreak,
44635
45022
  Heading as ExtensionHeading,
45023
+ Highlight as ExtensionHighlight,
44636
45024
  History as ExtensionHistory,
44637
45025
  HorizontalRule as ExtensionHorizontalRule,
44638
45026
  Iframe as ExtensionIframe,
@@ -44654,6 +45042,7 @@ export {
44654
45042
  Underline as ExtensionUnderline,
44655
45043
  FloatingMenu,
44656
45044
  HeadingMenuItem,
45045
+ HighlightMenuItem,
44657
45046
  InputRule,
44658
45047
  ItalicMenuItem,
44659
45048
  Mark,
@@ -44661,14 +45050,17 @@ export {
44661
45050
  NodeView,
44662
45051
  NodeViewContent,
44663
45052
  NodeViewWrapper,
45053
+ OrderedListMenuItem,
44664
45054
  PasteRule,
44665
45055
  QuoteMenuItem,
44666
45056
  RedoMenuItem,
44667
45057
  _sfc_main$4 as RichTextEditor,
45058
+ Separator,
44668
45059
  StrikeMenuItem,
44669
45060
  SubScriptMenuItem,
44670
45061
  SuperScriptMenuItem,
44671
45062
  TableMenuItem,
45063
+ TaskListMenuItem,
44672
45064
  Tracker,
44673
45065
  UnderlineMenuItem,
44674
45066
  UndoMenuItem,