@halo-dev/richtext-editor 0.0.0-alpha.3 → 0.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rich-text-editor.es.js +123 -116
- package/dist/rich-text-editor.es.js.map +1 -1
- package/dist/rich-text-editor.iife.js +123 -116
- package/dist/rich-text-editor.iife.js.map +1 -1
- package/dist/style.css +16 -3
- package/package.json +1 -1
|
@@ -18389,10 +18389,10 @@ const _hoisted_2$1$1 = {
|
|
|
18389
18389
|
ref: "inner",
|
|
18390
18390
|
class: "v-popper__inner"
|
|
18391
18391
|
};
|
|
18392
|
-
const _hoisted_3$
|
|
18392
|
+
const _hoisted_3$s = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-outer" }, null, -1);
|
|
18393
18393
|
const _hoisted_4$1 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-inner" }, null, -1);
|
|
18394
18394
|
const _hoisted_5$1 = [
|
|
18395
|
-
_hoisted_3$
|
|
18395
|
+
_hoisted_3$s,
|
|
18396
18396
|
_hoisted_4$1
|
|
18397
18397
|
];
|
|
18398
18398
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -18668,15 +18668,15 @@ const _hoisted_1$s = {
|
|
|
18668
18668
|
width: "1.2em",
|
|
18669
18669
|
height: "1.2em"
|
|
18670
18670
|
};
|
|
18671
|
-
const _hoisted_2$
|
|
18671
|
+
const _hoisted_2$s = /* @__PURE__ */ createElementVNode("path", {
|
|
18672
18672
|
fill: "currentColor",
|
|
18673
18673
|
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"
|
|
18674
18674
|
}, null, -1);
|
|
18675
|
-
const _hoisted_3$
|
|
18676
|
-
_hoisted_2$
|
|
18675
|
+
const _hoisted_3$r = [
|
|
18676
|
+
_hoisted_2$s
|
|
18677
18677
|
];
|
|
18678
18678
|
function render$n(_ctx, _cache) {
|
|
18679
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$
|
|
18679
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$r);
|
|
18680
18680
|
}
|
|
18681
18681
|
const MdiFormatBold = { name: "mdi-format-bold", render: render$n };
|
|
18682
18682
|
const _hoisted_1$r = {
|
|
@@ -18685,15 +18685,15 @@ const _hoisted_1$r = {
|
|
|
18685
18685
|
width: "1.2em",
|
|
18686
18686
|
height: "1.2em"
|
|
18687
18687
|
};
|
|
18688
|
-
const _hoisted_2$
|
|
18688
|
+
const _hoisted_2$r = /* @__PURE__ */ createElementVNode("path", {
|
|
18689
18689
|
fill: "currentColor",
|
|
18690
18690
|
d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4h-8Z"
|
|
18691
18691
|
}, null, -1);
|
|
18692
|
-
const _hoisted_3$
|
|
18693
|
-
_hoisted_2$
|
|
18692
|
+
const _hoisted_3$q = [
|
|
18693
|
+
_hoisted_2$r
|
|
18694
18694
|
];
|
|
18695
18695
|
function render$m(_ctx, _cache) {
|
|
18696
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$
|
|
18696
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$q);
|
|
18697
18697
|
}
|
|
18698
18698
|
const MdiFormatItalic = { name: "mdi-format-italic", render: render$m };
|
|
18699
18699
|
const _hoisted_1$q = {
|
|
@@ -18702,15 +18702,15 @@ const _hoisted_1$q = {
|
|
|
18702
18702
|
width: "1.2em",
|
|
18703
18703
|
height: "1.2em"
|
|
18704
18704
|
};
|
|
18705
|
-
const _hoisted_2$
|
|
18705
|
+
const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
|
|
18706
18706
|
fill: "currentColor",
|
|
18707
18707
|
d: "M3 14h18v-2H3m2-8v3h5v3h4V7h5V4m-9 15h4v-3h-4v3Z"
|
|
18708
18708
|
}, null, -1);
|
|
18709
|
-
const _hoisted_3$
|
|
18710
|
-
_hoisted_2$
|
|
18709
|
+
const _hoisted_3$p = [
|
|
18710
|
+
_hoisted_2$q
|
|
18711
18711
|
];
|
|
18712
18712
|
function render$l(_ctx, _cache) {
|
|
18713
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$
|
|
18713
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$p);
|
|
18714
18714
|
}
|
|
18715
18715
|
const MdiFormatStrikethrough = { name: "mdi-format-strikethrough", render: render$l };
|
|
18716
18716
|
const _hoisted_1$p = {
|
|
@@ -18719,15 +18719,15 @@ const _hoisted_1$p = {
|
|
|
18719
18719
|
width: "1.2em",
|
|
18720
18720
|
height: "1.2em"
|
|
18721
18721
|
};
|
|
18722
|
-
const _hoisted_2$
|
|
18722
|
+
const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
|
|
18723
18723
|
fill: "currentColor",
|
|
18724
18724
|
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"
|
|
18725
18725
|
}, null, -1);
|
|
18726
|
-
const _hoisted_3$
|
|
18727
|
-
_hoisted_2$
|
|
18726
|
+
const _hoisted_3$o = [
|
|
18727
|
+
_hoisted_2$p
|
|
18728
18728
|
];
|
|
18729
18729
|
function render$k(_ctx, _cache) {
|
|
18730
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$
|
|
18730
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$o);
|
|
18731
18731
|
}
|
|
18732
18732
|
const MdiFormatHeaderPound = { name: "mdi-format-header-pound", render: render$k };
|
|
18733
18733
|
const _hoisted_1$o = {
|
|
@@ -18736,15 +18736,15 @@ const _hoisted_1$o = {
|
|
|
18736
18736
|
width: "1.2em",
|
|
18737
18737
|
height: "1.2em"
|
|
18738
18738
|
};
|
|
18739
|
-
const _hoisted_2$
|
|
18739
|
+
const _hoisted_2$o = /* @__PURE__ */ createElementVNode("path", {
|
|
18740
18740
|
fill: "currentColor",
|
|
18741
18741
|
d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m11 14v-2h2V6.31l-2.5 1.44V5.44L16 4h2v12h2v2h-6Z"
|
|
18742
18742
|
}, null, -1);
|
|
18743
|
-
const _hoisted_3$
|
|
18744
|
-
_hoisted_2$
|
|
18743
|
+
const _hoisted_3$n = [
|
|
18744
|
+
_hoisted_2$o
|
|
18745
18745
|
];
|
|
18746
18746
|
function render$j(_ctx, _cache) {
|
|
18747
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_3$
|
|
18747
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_3$n);
|
|
18748
18748
|
}
|
|
18749
18749
|
const MdiFormatHeader1 = { name: "mdi-format-header-1", render: render$j };
|
|
18750
18750
|
const _hoisted_1$n = {
|
|
@@ -18753,15 +18753,15 @@ const _hoisted_1$n = {
|
|
|
18753
18753
|
width: "1.2em",
|
|
18754
18754
|
height: "1.2em"
|
|
18755
18755
|
};
|
|
18756
|
-
const _hoisted_2$
|
|
18756
|
+
const _hoisted_2$n = /* @__PURE__ */ createElementVNode("path", {
|
|
18757
18757
|
fill: "currentColor",
|
|
18758
18758
|
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"
|
|
18759
18759
|
}, null, -1);
|
|
18760
|
-
const _hoisted_3$
|
|
18761
|
-
_hoisted_2$
|
|
18760
|
+
const _hoisted_3$m = [
|
|
18761
|
+
_hoisted_2$n
|
|
18762
18762
|
];
|
|
18763
18763
|
function render$i(_ctx, _cache) {
|
|
18764
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$
|
|
18764
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_3$m);
|
|
18765
18765
|
}
|
|
18766
18766
|
const MdiFormatHeader2 = { name: "mdi-format-header-2", render: render$i };
|
|
18767
18767
|
const _hoisted_1$m = {
|
|
@@ -18770,15 +18770,15 @@ const _hoisted_1$m = {
|
|
|
18770
18770
|
width: "1.2em",
|
|
18771
18771
|
height: "1.2em"
|
|
18772
18772
|
};
|
|
18773
|
-
const _hoisted_2$
|
|
18773
|
+
const _hoisted_2$m = /* @__PURE__ */ createElementVNode("path", {
|
|
18774
18774
|
fill: "currentColor",
|
|
18775
18775
|
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"
|
|
18776
18776
|
}, null, -1);
|
|
18777
|
-
const _hoisted_3$
|
|
18778
|
-
_hoisted_2$
|
|
18777
|
+
const _hoisted_3$l = [
|
|
18778
|
+
_hoisted_2$m
|
|
18779
18779
|
];
|
|
18780
18780
|
function render$h(_ctx, _cache) {
|
|
18781
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$
|
|
18781
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$l);
|
|
18782
18782
|
}
|
|
18783
18783
|
const MdiFormatHeader3 = { name: "mdi-format-header-3", render: render$h };
|
|
18784
18784
|
const _hoisted_1$l = {
|
|
@@ -18787,15 +18787,15 @@ const _hoisted_1$l = {
|
|
|
18787
18787
|
width: "1.2em",
|
|
18788
18788
|
height: "1.2em"
|
|
18789
18789
|
};
|
|
18790
|
-
const _hoisted_2$
|
|
18790
|
+
const _hoisted_2$l = /* @__PURE__ */ createElementVNode("path", {
|
|
18791
18791
|
fill: "currentColor",
|
|
18792
18792
|
d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m15 14v-5h-5v-2l5-7h2v7h1v2h-1v5h-2m0-7V7.42L15.45 11H18Z"
|
|
18793
18793
|
}, null, -1);
|
|
18794
|
-
const _hoisted_3$
|
|
18795
|
-
_hoisted_2$
|
|
18794
|
+
const _hoisted_3$k = [
|
|
18795
|
+
_hoisted_2$l
|
|
18796
18796
|
];
|
|
18797
18797
|
function render$g(_ctx, _cache) {
|
|
18798
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$
|
|
18798
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$k);
|
|
18799
18799
|
}
|
|
18800
18800
|
const MdiFormatHeader4 = { name: "mdi-format-header-4", render: render$g };
|
|
18801
18801
|
const _hoisted_1$k = {
|
|
@@ -18804,15 +18804,15 @@ const _hoisted_1$k = {
|
|
|
18804
18804
|
width: "1.2em",
|
|
18805
18805
|
height: "1.2em"
|
|
18806
18806
|
};
|
|
18807
|
-
const _hoisted_2$
|
|
18807
|
+
const _hoisted_2$k = /* @__PURE__ */ createElementVNode("path", {
|
|
18808
18808
|
fill: "currentColor",
|
|
18809
18809
|
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"
|
|
18810
18810
|
}, null, -1);
|
|
18811
|
-
const _hoisted_3$
|
|
18812
|
-
_hoisted_2$
|
|
18811
|
+
const _hoisted_3$j = [
|
|
18812
|
+
_hoisted_2$k
|
|
18813
18813
|
];
|
|
18814
18814
|
function render$f(_ctx, _cache) {
|
|
18815
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$
|
|
18815
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$j);
|
|
18816
18816
|
}
|
|
18817
18817
|
const MdiFormatHeader5 = { name: "mdi-format-header-5", render: render$f };
|
|
18818
18818
|
const _hoisted_1$j = {
|
|
@@ -18821,15 +18821,15 @@ const _hoisted_1$j = {
|
|
|
18821
18821
|
width: "1.2em",
|
|
18822
18822
|
height: "1.2em"
|
|
18823
18823
|
};
|
|
18824
|
-
const _hoisted_2$
|
|
18824
|
+
const _hoisted_2$j = /* @__PURE__ */ createElementVNode("path", {
|
|
18825
18825
|
fill: "currentColor",
|
|
18826
18826
|
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"
|
|
18827
18827
|
}, null, -1);
|
|
18828
|
-
const _hoisted_3$
|
|
18829
|
-
_hoisted_2$
|
|
18828
|
+
const _hoisted_3$i = [
|
|
18829
|
+
_hoisted_2$j
|
|
18830
18830
|
];
|
|
18831
18831
|
function render$e(_ctx, _cache) {
|
|
18832
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_3$
|
|
18832
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_3$i);
|
|
18833
18833
|
}
|
|
18834
18834
|
const MdiFormatHeader6 = { name: "mdi-format-header-6", render: render$e };
|
|
18835
18835
|
const _hoisted_1$i = {
|
|
@@ -18838,15 +18838,15 @@ const _hoisted_1$i = {
|
|
|
18838
18838
|
width: "1.2em",
|
|
18839
18839
|
height: "1.2em"
|
|
18840
18840
|
};
|
|
18841
|
-
const _hoisted_2$
|
|
18841
|
+
const _hoisted_2$i = /* @__PURE__ */ createElementVNode("path", {
|
|
18842
18842
|
fill: "currentColor",
|
|
18843
18843
|
d: "M13.5 7a6.5 6.5 0 0 1 6.5 6.5a6.5 6.5 0 0 1-6.5 6.5H10v-2h3.5c2.5 0 4.5-2 4.5-4.5S16 9 13.5 9H7.83l3.08 3.09L9.5 13.5L4 8l5.5-5.5l1.42 1.41L7.83 7h5.67M6 18h2v2H6v-2Z"
|
|
18844
18844
|
}, null, -1);
|
|
18845
|
-
const _hoisted_3$
|
|
18846
|
-
_hoisted_2$
|
|
18845
|
+
const _hoisted_3$h = [
|
|
18846
|
+
_hoisted_2$i
|
|
18847
18847
|
];
|
|
18848
18848
|
function render$d(_ctx, _cache) {
|
|
18849
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$
|
|
18849
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$h);
|
|
18850
18850
|
}
|
|
18851
18851
|
const MdiUndoVariant = { name: "mdi-undo-variant", render: render$d };
|
|
18852
18852
|
const _hoisted_1$h = {
|
|
@@ -18855,15 +18855,15 @@ const _hoisted_1$h = {
|
|
|
18855
18855
|
width: "1.2em",
|
|
18856
18856
|
height: "1.2em"
|
|
18857
18857
|
};
|
|
18858
|
-
const _hoisted_2$
|
|
18858
|
+
const _hoisted_2$h = /* @__PURE__ */ createElementVNode("path", {
|
|
18859
18859
|
fill: "currentColor",
|
|
18860
18860
|
d: "M10.5 7A6.5 6.5 0 0 0 4 13.5a6.5 6.5 0 0 0 6.5 6.5H14v-2h-3.5C8 18 6 16 6 13.5S8 9 10.5 9h5.67l-3.08 3.09l1.41 1.41L20 8l-5.5-5.5l-1.42 1.41L16.17 7H10.5M18 18h-2v2h2v-2Z"
|
|
18861
18861
|
}, null, -1);
|
|
18862
|
-
const _hoisted_3$
|
|
18863
|
-
_hoisted_2$
|
|
18862
|
+
const _hoisted_3$g = [
|
|
18863
|
+
_hoisted_2$h
|
|
18864
18864
|
];
|
|
18865
18865
|
function render$c(_ctx, _cache) {
|
|
18866
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_3$
|
|
18866
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_3$g);
|
|
18867
18867
|
}
|
|
18868
18868
|
const MdiRedoVariant = { name: "mdi-redo-variant", render: render$c };
|
|
18869
18869
|
const _hoisted_1$g = {
|
|
@@ -18872,15 +18872,15 @@ const _hoisted_1$g = {
|
|
|
18872
18872
|
width: "1.2em",
|
|
18873
18873
|
height: "1.2em"
|
|
18874
18874
|
};
|
|
18875
|
-
const _hoisted_2$
|
|
18875
|
+
const _hoisted_2$g = /* @__PURE__ */ createElementVNode("path", {
|
|
18876
18876
|
fill: "currentColor",
|
|
18877
18877
|
d: "M5 21h14v-2H5v2m7-4a6 6 0 0 0 6-6V3h-2.5v8a3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 8.5 11V3H6v8a6 6 0 0 0 6 6Z"
|
|
18878
18878
|
}, null, -1);
|
|
18879
|
-
const _hoisted_3$
|
|
18880
|
-
_hoisted_2$
|
|
18879
|
+
const _hoisted_3$f = [
|
|
18880
|
+
_hoisted_2$g
|
|
18881
18881
|
];
|
|
18882
18882
|
function render$b(_ctx, _cache) {
|
|
18883
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$g, _hoisted_3$
|
|
18883
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$g, _hoisted_3$f);
|
|
18884
18884
|
}
|
|
18885
18885
|
const MdiFormatUnderline = { name: "mdi-format-underline", render: render$b };
|
|
18886
18886
|
const _hoisted_1$f = {
|
|
@@ -18889,15 +18889,15 @@ const _hoisted_1$f = {
|
|
|
18889
18889
|
width: "1.2em",
|
|
18890
18890
|
height: "1.2em"
|
|
18891
18891
|
};
|
|
18892
|
-
const _hoisted_2$
|
|
18892
|
+
const _hoisted_2$f = /* @__PURE__ */ createElementVNode("path", {
|
|
18893
18893
|
fill: "currentColor",
|
|
18894
18894
|
d: "M3 3h18v2H3V3m0 4h12v2H3V7m0 4h18v2H3v-2m0 4h12v2H3v-2m0 4h18v2H3v-2Z"
|
|
18895
18895
|
}, null, -1);
|
|
18896
|
-
const _hoisted_3$
|
|
18897
|
-
_hoisted_2$
|
|
18896
|
+
const _hoisted_3$e = [
|
|
18897
|
+
_hoisted_2$f
|
|
18898
18898
|
];
|
|
18899
18899
|
function render$a(_ctx, _cache) {
|
|
18900
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$f, _hoisted_3$
|
|
18900
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$f, _hoisted_3$e);
|
|
18901
18901
|
}
|
|
18902
18902
|
const MdiFormatAlignLeft = { name: "mdi-format-align-left", render: render$a };
|
|
18903
18903
|
const _hoisted_1$e = {
|
|
@@ -18906,15 +18906,15 @@ const _hoisted_1$e = {
|
|
|
18906
18906
|
width: "1.2em",
|
|
18907
18907
|
height: "1.2em"
|
|
18908
18908
|
};
|
|
18909
|
-
const _hoisted_2$
|
|
18909
|
+
const _hoisted_2$e = /* @__PURE__ */ createElementVNode("path", {
|
|
18910
18910
|
fill: "currentColor",
|
|
18911
18911
|
d: "M3 3h18v2H3V3m4 4h10v2H7V7m-4 4h18v2H3v-2m4 4h10v2H7v-2m-4 4h18v2H3v-2Z"
|
|
18912
18912
|
}, null, -1);
|
|
18913
|
-
const _hoisted_3$
|
|
18914
|
-
_hoisted_2$
|
|
18913
|
+
const _hoisted_3$d = [
|
|
18914
|
+
_hoisted_2$e
|
|
18915
18915
|
];
|
|
18916
18916
|
function render$9(_ctx, _cache) {
|
|
18917
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$e, _hoisted_3$
|
|
18917
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$e, _hoisted_3$d);
|
|
18918
18918
|
}
|
|
18919
18919
|
const MdiFormatAlignCenter = { name: "mdi-format-align-center", render: render$9 };
|
|
18920
18920
|
const _hoisted_1$d = {
|
|
@@ -18923,15 +18923,15 @@ const _hoisted_1$d = {
|
|
|
18923
18923
|
width: "1.2em",
|
|
18924
18924
|
height: "1.2em"
|
|
18925
18925
|
};
|
|
18926
|
-
const _hoisted_2$
|
|
18926
|
+
const _hoisted_2$d = /* @__PURE__ */ createElementVNode("path", {
|
|
18927
18927
|
fill: "currentColor",
|
|
18928
18928
|
d: "M3 3h18v2H3V3m6 4h12v2H9V7m-6 4h18v2H3v-2m6 4h12v2H9v-2m-6 4h18v2H3v-2Z"
|
|
18929
18929
|
}, null, -1);
|
|
18930
|
-
const _hoisted_3$
|
|
18931
|
-
_hoisted_2$
|
|
18930
|
+
const _hoisted_3$c = [
|
|
18931
|
+
_hoisted_2$d
|
|
18932
18932
|
];
|
|
18933
18933
|
function render$8(_ctx, _cache) {
|
|
18934
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$d, _hoisted_3$
|
|
18934
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$d, _hoisted_3$c);
|
|
18935
18935
|
}
|
|
18936
18936
|
const MdiFormatAlignRight = { name: "mdi-format-align-right", render: render$8 };
|
|
18937
18937
|
const _hoisted_1$c = {
|
|
@@ -18940,15 +18940,15 @@ const _hoisted_1$c = {
|
|
|
18940
18940
|
width: "1.2em",
|
|
18941
18941
|
height: "1.2em"
|
|
18942
18942
|
};
|
|
18943
|
-
const _hoisted_2$
|
|
18943
|
+
const _hoisted_2$c = /* @__PURE__ */ createElementVNode("path", {
|
|
18944
18944
|
fill: "currentColor",
|
|
18945
18945
|
d: "M3 3h18v2H3V3m0 4h18v2H3V7m0 4h18v2H3v-2m0 4h18v2H3v-2m0 4h18v2H3v-2Z"
|
|
18946
18946
|
}, null, -1);
|
|
18947
|
-
const _hoisted_3$
|
|
18948
|
-
_hoisted_2$
|
|
18947
|
+
const _hoisted_3$b = [
|
|
18948
|
+
_hoisted_2$c
|
|
18949
18949
|
];
|
|
18950
18950
|
function render$7(_ctx, _cache) {
|
|
18951
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$c, _hoisted_3$
|
|
18951
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$c, _hoisted_3$b);
|
|
18952
18952
|
}
|
|
18953
18953
|
const MdiFormatAlignJustify = { name: "mdi-format-align-justify", render: render$7 };
|
|
18954
18954
|
const _hoisted_1$b = {
|
|
@@ -18957,15 +18957,15 @@ const _hoisted_1$b = {
|
|
|
18957
18957
|
width: "1.2em",
|
|
18958
18958
|
height: "1.2em"
|
|
18959
18959
|
};
|
|
18960
|
-
const _hoisted_2$
|
|
18960
|
+
const _hoisted_2$b = /* @__PURE__ */ createElementVNode("path", {
|
|
18961
18961
|
fill: "currentColor",
|
|
18962
18962
|
d: "m10 7l-2 4h3v6H5v-6l2-4h3m8 0l-2 4h3v6h-6v-6l2-4h3Z"
|
|
18963
18963
|
}, null, -1);
|
|
18964
|
-
const _hoisted_3$
|
|
18965
|
-
_hoisted_2$
|
|
18964
|
+
const _hoisted_3$a = [
|
|
18965
|
+
_hoisted_2$b
|
|
18966
18966
|
];
|
|
18967
18967
|
function render$6(_ctx, _cache) {
|
|
18968
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$b, _hoisted_3$
|
|
18968
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$b, _hoisted_3$a);
|
|
18969
18969
|
}
|
|
18970
18970
|
const MdiFormatQuoteOpen = { name: "mdi-format-quote-open", render: render$6 };
|
|
18971
18971
|
const _hoisted_1$a = {
|
|
@@ -18974,15 +18974,15 @@ const _hoisted_1$a = {
|
|
|
18974
18974
|
width: "1.2em",
|
|
18975
18975
|
height: "1.2em"
|
|
18976
18976
|
};
|
|
18977
|
-
const _hoisted_2$
|
|
18977
|
+
const _hoisted_2$a = /* @__PURE__ */ createElementVNode("path", {
|
|
18978
18978
|
fill: "currentColor",
|
|
18979
18979
|
d: "m14.6 16.6l4.6-4.6l-4.6-4.6L16 6l6 6l-6 6l-1.4-1.4m-5.2 0L4.8 12l4.6-4.6L8 6l-6 6l6 6l1.4-1.4Z"
|
|
18980
18980
|
}, null, -1);
|
|
18981
|
-
const _hoisted_3$
|
|
18982
|
-
_hoisted_2$
|
|
18981
|
+
const _hoisted_3$9 = [
|
|
18982
|
+
_hoisted_2$a
|
|
18983
18983
|
];
|
|
18984
18984
|
function render$5(_ctx, _cache) {
|
|
18985
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$a, _hoisted_3$
|
|
18985
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$a, _hoisted_3$9);
|
|
18986
18986
|
}
|
|
18987
18987
|
const MdiCodeTags = { name: "mdi-code-tags", render: render$5 };
|
|
18988
18988
|
const _hoisted_1$9 = {
|
|
@@ -18991,15 +18991,15 @@ const _hoisted_1$9 = {
|
|
|
18991
18991
|
width: "1.2em",
|
|
18992
18992
|
height: "1.2em"
|
|
18993
18993
|
};
|
|
18994
|
-
const _hoisted_2$
|
|
18994
|
+
const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("path", {
|
|
18995
18995
|
fill: "currentColor",
|
|
18996
18996
|
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"
|
|
18997
18997
|
}, null, -1);
|
|
18998
|
-
const _hoisted_3$
|
|
18999
|
-
_hoisted_2$
|
|
18998
|
+
const _hoisted_3$8 = [
|
|
18999
|
+
_hoisted_2$9
|
|
19000
19000
|
];
|
|
19001
19001
|
function render$4(_ctx, _cache) {
|
|
19002
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$9, _hoisted_3$
|
|
19002
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$9, _hoisted_3$8);
|
|
19003
19003
|
}
|
|
19004
19004
|
const MdiCodeBracesBox = { name: "mdi-code-braces-box", render: render$4 };
|
|
19005
19005
|
const _hoisted_1$8 = {
|
|
@@ -19008,15 +19008,15 @@ const _hoisted_1$8 = {
|
|
|
19008
19008
|
width: "1.2em",
|
|
19009
19009
|
height: "1.2em"
|
|
19010
19010
|
};
|
|
19011
|
-
const _hoisted_2$
|
|
19011
|
+
const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("path", {
|
|
19012
19012
|
fill: "currentColor",
|
|
19013
19013
|
d: "M20 19.88V22l-1.8-1.17l-4.79-9c.66-.21 1.26-.55 1.78-1L20 19.88M15 7a3 3 0 0 1-3 3h-.44L5.8 20.83L4 22v-2.12L9.79 9c-1.1-1.23-1-3.13.24-4.24C10.57 4.28 11.27 4 12 4V2a1 1 0 0 1 1 1v1.18c1.2.42 2 1.55 2 2.82m-2 0a1 1 0 0 0-1-1a1 1 0 0 0-1 1a1 1 0 0 0 1 1a1 1 0 0 0 1-1Z"
|
|
19014
19014
|
}, null, -1);
|
|
19015
|
-
const _hoisted_3$
|
|
19016
|
-
_hoisted_2$
|
|
19015
|
+
const _hoisted_3$7 = [
|
|
19016
|
+
_hoisted_2$8
|
|
19017
19017
|
];
|
|
19018
19018
|
function render$3(_ctx, _cache) {
|
|
19019
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$8, _hoisted_3$
|
|
19019
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$8, _hoisted_3$7);
|
|
19020
19020
|
}
|
|
19021
19021
|
const MdiMathCompass = { name: "mdi-math-compass", render: render$3 };
|
|
19022
19022
|
const _hoisted_1$7 = {
|
|
@@ -19025,15 +19025,15 @@ const _hoisted_1$7 = {
|
|
|
19025
19025
|
width: "1.2em",
|
|
19026
19026
|
height: "1.2em"
|
|
19027
19027
|
};
|
|
19028
|
-
const _hoisted_2$
|
|
19028
|
+
const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("path", {
|
|
19029
19029
|
fill: "currentColor",
|
|
19030
19030
|
d: "M16 7.41L11.41 12L16 16.59L14.59 18L10 13.41L5.41 18L4 16.59L8.59 12L4 7.41L5.41 6L10 10.59L14.59 6L16 7.41M21.85 9h-4.88V8l.89-.82c.76-.64 1.32-1.18 1.7-1.63c.37-.44.56-.85.57-1.23a.884.884 0 0 0-.27-.7c-.18-.19-.47-.28-.86-.29c-.31.01-.58.07-.84.17l-.66.39l-.45-1.17c.27-.22.59-.39.98-.53S18.85 2 19.32 2c.78 0 1.38.2 1.78.61c.4.39.62.93.62 1.57c-.01.56-.19 1.08-.54 1.55c-.34.48-.76.93-1.27 1.36l-.64.52v.02h2.58V9Z"
|
|
19031
19031
|
}, null, -1);
|
|
19032
|
-
const _hoisted_3$
|
|
19033
|
-
_hoisted_2$
|
|
19032
|
+
const _hoisted_3$6 = [
|
|
19033
|
+
_hoisted_2$7
|
|
19034
19034
|
];
|
|
19035
19035
|
function render$2(_ctx, _cache) {
|
|
19036
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$7, _hoisted_3$
|
|
19036
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$7, _hoisted_3$6);
|
|
19037
19037
|
}
|
|
19038
19038
|
const MdiFormatSuperscript = { name: "mdi-format-superscript", render: render$2 };
|
|
19039
19039
|
const _hoisted_1$6 = {
|
|
@@ -19042,20 +19042,20 @@ const _hoisted_1$6 = {
|
|
|
19042
19042
|
width: "1.2em",
|
|
19043
19043
|
height: "1.2em"
|
|
19044
19044
|
};
|
|
19045
|
-
const _hoisted_2$
|
|
19045
|
+
const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("path", {
|
|
19046
19046
|
fill: "currentColor",
|
|
19047
19047
|
d: "M16 7.41L11.41 12L16 16.59L14.59 18L10 13.41L5.41 18L4 16.59L8.59 12L4 7.41L5.41 6L10 10.59L14.59 6L16 7.41m5.85 13.62h-4.88v-1l.89-.8c.76-.65 1.32-1.19 1.7-1.63c.37-.44.56-.85.57-1.24a.898.898 0 0 0-.27-.7c-.18-.16-.47-.28-.86-.28c-.31 0-.58.06-.84.18l-.66.38l-.45-1.17c.27-.21.59-.39.98-.53s.82-.24 1.29-.24c.78.04 1.38.25 1.78.66c.4.41.62.93.62 1.57c-.01.56-.19 1.08-.54 1.55c-.34.47-.76.92-1.27 1.36l-.64.52v.02h2.58v1.35Z"
|
|
19048
19048
|
}, null, -1);
|
|
19049
|
-
const _hoisted_3$
|
|
19050
|
-
_hoisted_2$
|
|
19049
|
+
const _hoisted_3$5 = [
|
|
19050
|
+
_hoisted_2$6
|
|
19051
19051
|
];
|
|
19052
19052
|
function render$1(_ctx, _cache) {
|
|
19053
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$6, _hoisted_3$
|
|
19053
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$6, _hoisted_3$5);
|
|
19054
19054
|
}
|
|
19055
19055
|
const MdiFormatSubscript = { name: "mdi-format-subscript", render: render$1 };
|
|
19056
19056
|
const _hoisted_1$5 = { class: "editor-header flex items-center py-1 space-x-0.5 justify-center border-b drop-shadow-sm bg-white" };
|
|
19057
|
-
const _hoisted_2$
|
|
19058
|
-
const _hoisted_3$
|
|
19057
|
+
const _hoisted_2$5 = ["onClick"];
|
|
19058
|
+
const _hoisted_3$4 = { class: "w-24 flex flex-col" };
|
|
19059
19059
|
const _hoisted_4 = ["onClick"];
|
|
19060
19060
|
const _hoisted_5 = { class: "text-sm" };
|
|
19061
19061
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
@@ -19246,9 +19246,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
19246
19246
|
onClick: menuItem.action
|
|
19247
19247
|
}, [
|
|
19248
19248
|
(openBlock(), createBlock(resolveDynamicComponent(menuItem.icon)))
|
|
19249
|
-
], 10, _hoisted_2$
|
|
19249
|
+
], 10, _hoisted_2$5)) : (openBlock(), createBlock(unref(Menu), { key: 1 }, {
|
|
19250
19250
|
popper: withCtx(() => [
|
|
19251
|
-
createElementVNode("div", _hoisted_3$
|
|
19251
|
+
createElementVNode("div", _hoisted_3$4, [
|
|
19252
19252
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(menuItem.children, (child, childIndex) => {
|
|
19253
19253
|
return openBlock(), createElementBlock("div", {
|
|
19254
19254
|
key: childIndex,
|
|
@@ -19282,7 +19282,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
19282
19282
|
});
|
|
19283
19283
|
const svgArrow = "";
|
|
19284
19284
|
const _hoisted_1$4 = { class: "bg-white flex items-center rounded p-1 border drop-shadow space-x-0.5" };
|
|
19285
|
-
const _hoisted_2$
|
|
19285
|
+
const _hoisted_2$4 = ["title", "onClick"];
|
|
19286
19286
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
19287
19287
|
__name: "EditorBubbleMenu",
|
|
19288
19288
|
props: {
|
|
@@ -19401,7 +19401,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
19401
19401
|
onClick: ($event) => menuItem.action()
|
|
19402
19402
|
}, [
|
|
19403
19403
|
(openBlock(), createBlock(resolveDynamicComponent(menuItem.icon)))
|
|
19404
|
-
], 10, _hoisted_2$
|
|
19404
|
+
], 10, _hoisted_2$4);
|
|
19405
19405
|
}), 64))
|
|
19406
19406
|
])
|
|
19407
19407
|
]),
|
|
@@ -40212,8 +40212,8 @@ var katex$1 = {
|
|
|
40212
40212
|
}
|
|
40213
40213
|
};
|
|
40214
40214
|
const _hoisted_1$3 = { class: "" };
|
|
40215
|
-
const _hoisted_2$
|
|
40216
|
-
const _hoisted_3$
|
|
40215
|
+
const _hoisted_2$3 = { class: "" };
|
|
40216
|
+
const _hoisted_3$3 = ["innerHTML"];
|
|
40217
40217
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
40218
40218
|
__name: "KatexBlockViewRenderer",
|
|
40219
40219
|
props: nodeViewProps,
|
|
@@ -40243,7 +40243,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
40243
40243
|
return openBlock(), createBlock(unref(NodeViewWrapper), { class: "bg-gray-100 p-4" }, {
|
|
40244
40244
|
default: withCtx(() => [
|
|
40245
40245
|
createElementVNode("div", _hoisted_1$3, [
|
|
40246
|
-
createElementVNode("div", _hoisted_2$
|
|
40246
|
+
createElementVNode("div", _hoisted_2$3, [
|
|
40247
40247
|
createElementVNode("button", {
|
|
40248
40248
|
onClick: _cache[0] || (_cache[0] = withModifiers(
|
|
40249
40249
|
(...args) => _ctx.deleteNode && _ctx.deleteNode(...args),
|
|
@@ -40258,7 +40258,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
40258
40258
|
}, null, 512), [
|
|
40259
40259
|
[vModelText, rawText.value]
|
|
40260
40260
|
]),
|
|
40261
|
-
createElementVNode("div", { innerHTML: unref(renderedKatex) }, null, 8, _hoisted_3$
|
|
40261
|
+
createElementVNode("div", { innerHTML: unref(renderedKatex) }, null, 8, _hoisted_3$3)
|
|
40262
40262
|
])
|
|
40263
40263
|
]),
|
|
40264
40264
|
_: 1
|
|
@@ -40539,8 +40539,8 @@ const ExtensionCommands = Extension.create({
|
|
|
40539
40539
|
}
|
|
40540
40540
|
});
|
|
40541
40541
|
const _hoisted_1$2 = { class: "items" };
|
|
40542
|
-
const _hoisted_2$
|
|
40543
|
-
const _hoisted_3$
|
|
40542
|
+
const _hoisted_2$2 = ["onClick"];
|
|
40543
|
+
const _hoisted_3$2 = {
|
|
40544
40544
|
key: 1,
|
|
40545
40545
|
class: "item"
|
|
40546
40546
|
};
|
|
@@ -40608,8 +40608,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
40608
40608
|
}, [
|
|
40609
40609
|
(openBlock(), createBlock(resolveDynamicComponent(item.icon), { class: "bg-gray-100 p-0.5 rounded-sm" })),
|
|
40610
40610
|
createTextVNode(" " + toDisplayString(item.title), 1)
|
|
40611
|
-
], 10, _hoisted_2$
|
|
40612
|
-
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
40611
|
+
], 10, _hoisted_2$2);
|
|
40612
|
+
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_3$2, "No result"))
|
|
40613
40613
|
]);
|
|
40614
40614
|
};
|
|
40615
40615
|
}
|
|
@@ -87165,8 +87165,8 @@ lowlight$1.registerLanguage("xquery", xquery);
|
|
|
87165
87165
|
lowlight$1.registerLanguage("zephir", zephir);
|
|
87166
87166
|
const lowlight = lowlight$1;
|
|
87167
87167
|
const _hoisted_1$1 = { class: "py-0.5 px-1" };
|
|
87168
|
-
const _hoisted_2 = /* @__PURE__ */ createElementVNode("option", { value: null }, "auto", -1);
|
|
87169
|
-
const _hoisted_3 = ["value"];
|
|
87168
|
+
const _hoisted_2$1 = /* @__PURE__ */ createElementVNode("option", { value: null }, "auto", -1);
|
|
87169
|
+
const _hoisted_3$1 = ["value"];
|
|
87170
87170
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
87171
87171
|
__name: "CodeBlockViewRenderer",
|
|
87172
87172
|
props: nodeViewProps,
|
|
@@ -87192,12 +87192,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
87192
87192
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(selectedLanguage) ? selectedLanguage.value = $event : null),
|
|
87193
87193
|
contenteditable: "false"
|
|
87194
87194
|
}, [
|
|
87195
|
-
_hoisted_2,
|
|
87195
|
+
_hoisted_2$1,
|
|
87196
87196
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(languages), (language, index2) => {
|
|
87197
87197
|
return openBlock(), createElementBlock("option", {
|
|
87198
87198
|
key: index2,
|
|
87199
87199
|
value: language
|
|
87200
|
-
}, toDisplayString(language), 9, _hoisted_3);
|
|
87200
|
+
}, toDisplayString(language), 9, _hoisted_3$1);
|
|
87201
87201
|
}), 128))
|
|
87202
87202
|
], 512), [
|
|
87203
87203
|
[vModelSelect, unref(selectedLanguage)]
|
|
@@ -87221,6 +87221,8 @@ const _hoisted_1 = {
|
|
|
87221
87221
|
key: 0,
|
|
87222
87222
|
class: "halo-rich-text-editor"
|
|
87223
87223
|
};
|
|
87224
|
+
const _hoisted_2 = { class: "h-full flex flex-row w-full" };
|
|
87225
|
+
const _hoisted_3 = { class: "h-full" };
|
|
87224
87226
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
87225
87227
|
__name: "Editor",
|
|
87226
87228
|
props: {
|
|
@@ -87290,10 +87292,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87290
87292
|
return unref(editor) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
87291
87293
|
createVNode(_sfc_main$4, { editor: unref(editor) }, null, 8, ["editor"]),
|
|
87292
87294
|
createVNode(_sfc_main$5, { editor: unref(editor) }, null, 8, ["editor"]),
|
|
87293
|
-
|
|
87294
|
-
|
|
87295
|
-
|
|
87296
|
-
|
|
87295
|
+
createElementVNode("div", _hoisted_2, [
|
|
87296
|
+
createVNode(unref(EditorContent), {
|
|
87297
|
+
editor: unref(editor),
|
|
87298
|
+
class: "editor-content markdown-body"
|
|
87299
|
+
}, null, 8, ["editor"]),
|
|
87300
|
+
createElementVNode("div", _hoisted_3, [
|
|
87301
|
+
renderSlot(_ctx.$slots, "extra")
|
|
87302
|
+
])
|
|
87303
|
+
])
|
|
87297
87304
|
])) : createCommentVNode("", true);
|
|
87298
87305
|
};
|
|
87299
87306
|
}
|