pom-text-editor 0.1.19 → 0.1.21
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/README.md +1 -1
- package/dist/pom-text-editor.cjs.js +154 -0
- package/dist/pom-text-editor.es.js +1465 -0
- package/dist/pom-text-editor.umd.js +154 -0
- package/dist/style.css +8997 -0
- package/dist/vite.svg +1 -0
- package/package.json +5 -8
|
@@ -0,0 +1,1465 @@
|
|
|
1
|
+
import { ref as L, onMounted as D, openBlock as H, createElementBlock as M, Fragment as T, createElementVNode as e, unref as R, renderSlot as z, renderList as V, normalizeStyle as P, createTextVNode as p, createStaticVNode as k, pushScopeId as G, popScopeId as O } from "vue";
|
|
2
|
+
function X() {
|
|
3
|
+
const o = window.getSelection();
|
|
4
|
+
if (o.rangeCount > 0) {
|
|
5
|
+
const l = o.getRangeAt(0), t = l.startOffset;
|
|
6
|
+
document.getElementById("cursorPosition").textContent = t;
|
|
7
|
+
const i = l.startContainer;
|
|
8
|
+
if (i.nodeType === Node.TEXT_NODE) {
|
|
9
|
+
const r = i.textContent.substring(t, t + 1);
|
|
10
|
+
document.getElementById("textAtCursor").textContent = r;
|
|
11
|
+
} else
|
|
12
|
+
document.getElementById("textAtCursor").textContent = "No text here";
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function W() {
|
|
16
|
+
const o = window.getSelection();
|
|
17
|
+
if (o.rangeCount > 0)
|
|
18
|
+
return { range: o.getRangeAt(0).cloneRange(), selection: o };
|
|
19
|
+
}
|
|
20
|
+
function Z(o) {
|
|
21
|
+
o.preventDefault();
|
|
22
|
+
const t = o.target.parentElement, i = o.clientX, r = o.clientY, u = parseFloat(window.getComputedStyle(t).width), s = parseFloat(window.getComputedStyle(t).height);
|
|
23
|
+
function d(m) {
|
|
24
|
+
const x = m.clientX - i, h = m.clientY - r;
|
|
25
|
+
t.style.width = `${u + x}px`, t.style.height = `${s + h}px`, t.style.minWidth = "50px", t.style.minHeight = "50px";
|
|
26
|
+
const v = t.querySelector("img");
|
|
27
|
+
v && (v.style.width = "100%");
|
|
28
|
+
}
|
|
29
|
+
function g() {
|
|
30
|
+
document.removeEventListener("mousemove", d), document.removeEventListener("mouseup", g);
|
|
31
|
+
}
|
|
32
|
+
document.addEventListener("mousemove", d), document.addEventListener("mouseup", g);
|
|
33
|
+
}
|
|
34
|
+
let A;
|
|
35
|
+
function I(o, l) {
|
|
36
|
+
const [t, i] = l.textContent.split(" x ").map(Number);
|
|
37
|
+
q(o, i, t);
|
|
38
|
+
}
|
|
39
|
+
function B(o, l, t) {
|
|
40
|
+
const i = Array.from(t.children).indexOf(o.target), r = i % 10 + 1, u = Math.floor(i / 10) + 1;
|
|
41
|
+
Array.from(t.children).forEach((s, d) => {
|
|
42
|
+
d <= i ? s.style.backgroundColor = "#1f9296" : s.style.backgroundColor = "#737979";
|
|
43
|
+
}), l.textContent = `${r} x ${u}`;
|
|
44
|
+
}
|
|
45
|
+
function Y(o, l, t, i) {
|
|
46
|
+
for (A = o; t.firstChild; ) {
|
|
47
|
+
const r = t.firstChild;
|
|
48
|
+
r.removeEventListener("mouseover", B), r.removeEventListener("click", I), t.removeChild(r);
|
|
49
|
+
}
|
|
50
|
+
for (let r = 0; r < 100; r++) {
|
|
51
|
+
const u = document.createElement("div");
|
|
52
|
+
u.addEventListener("mouseover", (s) => B(s, i, t)), u.addEventListener("click", () => I(l, i)), t.appendChild(u);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function q(o, l = 2, t = 2) {
|
|
56
|
+
const i = A.range;
|
|
57
|
+
if (i) {
|
|
58
|
+
const r = A.selection, u = document.createElement("div");
|
|
59
|
+
u.classList.add("pom-table-editor-container"), u.style.display = "flex";
|
|
60
|
+
const s = document.createElement("table");
|
|
61
|
+
s.style.border = "1px solid black", s.style.borderCollapse = "collapse", s.classList.add("pom-table-editor");
|
|
62
|
+
for (let m = 0; m < l; m++) {
|
|
63
|
+
const x = document.createElement("tr");
|
|
64
|
+
for (let h = 0; h < t; h++) {
|
|
65
|
+
const v = document.createElement("td");
|
|
66
|
+
v.style.border = "1px solid black", v.style.padding = "5px", v.textContent = `Row ${m + 1}, Cell ${h + 1}`;
|
|
67
|
+
const y = document.createElement("div");
|
|
68
|
+
y.style.width = "5px", y.style.height = "100%", y.style.position = "absolute", y.style.right = "0", y.style.top = "0", y.style.cursor = "col-resize", y.style.userSelect = "none", y.addEventListener("mousedown", Z), v.style.position = "relative", v.appendChild(y), x.appendChild(v);
|
|
69
|
+
}
|
|
70
|
+
s.appendChild(x);
|
|
71
|
+
}
|
|
72
|
+
u.appendChild(s), s.addEventListener("contextmenu", function(m) {
|
|
73
|
+
m.preventDefault(), U(m, s, u);
|
|
74
|
+
}), i.deleteContents(), i.insertNode(u);
|
|
75
|
+
const d = s.querySelector("td"), g = document.createRange();
|
|
76
|
+
return g.setStart(d, 0), g.collapse(!0), r.addRange(g), A = g.cloneRange(), o.focus(), A;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function U(o, l, t) {
|
|
80
|
+
const i = document.getElementById("custom-context-menu");
|
|
81
|
+
i && document.body.removeChild(i);
|
|
82
|
+
const r = document.createElement("div");
|
|
83
|
+
r.id = "custom-context-menu", r.style.position = "absolute", r.style.backgroundColor = "white", r.style.border = "1px solid #ccc", r.style.padding = "10px", r.style.boxShadow = "0 2px 10px rgba(0, 0, 0, 0.2)", r.style.zIndex = "1000", r.style.left = `${o == null ? void 0 : o.pageX}px`, r.style.top = `${o == null ? void 0 : o.pageY}px`, [
|
|
84
|
+
{ text: "Delete Table", action: () => t.remove() },
|
|
85
|
+
{
|
|
86
|
+
text: "Toggle Borders",
|
|
87
|
+
action: () => {
|
|
88
|
+
const s = l.style.border !== "";
|
|
89
|
+
l.style.border = s ? "" : "1px solid black", l.style.borderCollapse = "collapse", l.querySelectorAll("td").forEach((d) => {
|
|
90
|
+
d.style.border = s ? "" : "1px solid black";
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
text: "Color Table",
|
|
96
|
+
action: () => {
|
|
97
|
+
const s = document.createElement("input");
|
|
98
|
+
s.type = "color", s.style.marginTop = "5px", s.addEventListener("input", () => {
|
|
99
|
+
l.style.backgroundColor = s.value;
|
|
100
|
+
});
|
|
101
|
+
const d = document.createElement("input");
|
|
102
|
+
d.type = "color", d.style.marginTop = "5px", d.addEventListener("input", () => {
|
|
103
|
+
l.style.color = d.value;
|
|
104
|
+
}), r.appendChild(document.createTextNode("Background Color:")), r.appendChild(s), r.appendChild(document.createTextNode("Text Color:")), r.appendChild(d);
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
text: "Add Row",
|
|
109
|
+
action: () => {
|
|
110
|
+
const s = document.createElement("tr"), d = l.rows[0].cells.length;
|
|
111
|
+
for (let g = 0; g < d; g++) {
|
|
112
|
+
const m = document.createElement("td");
|
|
113
|
+
m.style.border = "1px solid black", m.style.padding = "5px", m.textContent = `Row ${l.rows.length + 1}, Cell ${g + 1}`, s.appendChild(m);
|
|
114
|
+
}
|
|
115
|
+
l.appendChild(s);
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
text: "Add Column",
|
|
120
|
+
action: () => {
|
|
121
|
+
for (let s = 0; s < l.rows.length; s++) {
|
|
122
|
+
const d = document.createElement("td");
|
|
123
|
+
d.style.border = "1px solid black", d.style.padding = "5px", d.textContent = `Row ${s + 1}, Cell ${l.rows[s].cells.length + 1}`, l.rows[s].appendChild(d);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
].forEach((s) => {
|
|
128
|
+
const d = document.createElement("div");
|
|
129
|
+
d.textContent = s.text, d.style.cursor = "pointer", d.addEventListener("click", s.action), r.appendChild(d);
|
|
130
|
+
}), document.body.appendChild(r), document.addEventListener("click", function s() {
|
|
131
|
+
r && document.body.removeChild(r), document.removeEventListener("click", s);
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
function $(o, l = "strong", t = "*bold text here *", i = []) {
|
|
135
|
+
if (o) {
|
|
136
|
+
const r = window.getSelection();
|
|
137
|
+
r.removeAllRanges(), r.addRange(o);
|
|
138
|
+
const u = r.getRangeAt(0), s = `${u.toString()}`.trim(), d = u.cloneContents();
|
|
139
|
+
if (typeof l == "string" && l.trim() !== "") {
|
|
140
|
+
const g = document.createElement(l);
|
|
141
|
+
g.style.paddingLeft = "7px", g.contenteditable = !1, i && i.forEach((v) => {
|
|
142
|
+
const { attr: y, value: b, keyin: _ } = v;
|
|
143
|
+
g.setAttribute(y, b);
|
|
144
|
+
}), g.appendChild(d), g.innerHTML = s.length > 0 ? g.innerHTML : t;
|
|
145
|
+
const m = document.createElement("span"), x = document.createElement("span");
|
|
146
|
+
m.innerHTML = " ", x.innerHTML = " ", o.deleteContents(), o.insertNode(m), o.insertNode(g), o.insertNode(x);
|
|
147
|
+
const h = document.createRange();
|
|
148
|
+
h.setStartAfter(x), h.collapse(!0), r.removeAllRanges(), r.addRange(h), o = h.cloneRange();
|
|
149
|
+
} else
|
|
150
|
+
console.error("Invalid element type:", l);
|
|
151
|
+
} else
|
|
152
|
+
console.log("No saved range available. Make sure the cursor position is saved before calling this function.");
|
|
153
|
+
}
|
|
154
|
+
function K(o, l, t = "span", i = "datetime-local", r = {}, u = []) {
|
|
155
|
+
const s = document.getElementById("Pom-openInputToFeed" + i);
|
|
156
|
+
s && s.remove();
|
|
157
|
+
const d = document.createElement("div"), g = document.createElement("input");
|
|
158
|
+
d.id = "custom-context-menu", d.style.position = "absolute", d.style.backgroundColor = "white", d.style.border = "1px solid #ccc", d.style.padding = "10px", d.style.boxShadow = "0 2px 10px rgba(0, 0, 0, 0.2)", d.style.zIndex = "1000", d.style.left = `${l == null ? void 0 : l.pageX}px`, d.style.top = `${l == null ? void 0 : l.pageY}px`, g.id = "Pom-openInputToFeed" + i, g.classList.add("Pom-openInputToFeed"), g.type = i, g.style.cssText = r, d.appendChild(g);
|
|
159
|
+
const m = document.getElementById("toolbar");
|
|
160
|
+
m && m.appendChild(d), g.addEventListener("change", function() {
|
|
161
|
+
const v = `${this.value}`;
|
|
162
|
+
if (i == "datetime-local")
|
|
163
|
+
$(o, t, v.replace(/T/, " "));
|
|
164
|
+
else {
|
|
165
|
+
let b = [];
|
|
166
|
+
for (const _ in u)
|
|
167
|
+
if (u.hasOwnProperty(_))
|
|
168
|
+
if (_.toLowerCase() === "href")
|
|
169
|
+
b.push({ attr: _, value: v });
|
|
170
|
+
else {
|
|
171
|
+
const F = u[_];
|
|
172
|
+
b.push({ attr: _, value: F });
|
|
173
|
+
}
|
|
174
|
+
$(o, t, "**link Name** ", b);
|
|
175
|
+
}
|
|
176
|
+
d.remove(), window.document.removeEventListener("click", x);
|
|
177
|
+
const y = document.getElementsByClassName("pom-editor-anchor-tag");
|
|
178
|
+
for (let b = 0; b < y.length; b++)
|
|
179
|
+
y[b].addEventListener("click", h);
|
|
180
|
+
});
|
|
181
|
+
function x(v) {
|
|
182
|
+
d.contains(v.target) || (d.remove(), window.document.removeEventListener("click", x));
|
|
183
|
+
}
|
|
184
|
+
function h(v) {
|
|
185
|
+
v.preventDefault();
|
|
186
|
+
const y = this.href;
|
|
187
|
+
window.open(y, "_blank"), window.document.removeEventListener("click", h);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
function J(o, l, t, i, r = "", u = "div") {
|
|
191
|
+
if (!o) {
|
|
192
|
+
console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
const s = window.getSelection();
|
|
196
|
+
s.removeAllRanges(), s.addRange(o);
|
|
197
|
+
const d = s.getRangeAt(0), g = d.cloneContents(), m = d.commonAncestorContainer, x = m.nodeType === Node.TEXT_NODE ? m.parentNode : m;
|
|
198
|
+
let h, v;
|
|
199
|
+
x.id === "editor" ? (h = document.createElement(u), console.log(g), h.appendChild(g), console.log(h.innerHTML.replace("text-align", "note")), v = h.innerHTML.replace("text-align", "note"), o.deleteContents()) : (h = x.cloneNode(), v = h.innerHTML);
|
|
200
|
+
const y = h.style[t] || "", b = new RegExp(r, "ig"), _ = i.replace(b, "") + r;
|
|
201
|
+
y.includes(_) ? h.style[t] = y.replace(_, "") : h.style[t] = (y + _).trim();
|
|
202
|
+
const F = document.createElement("span"), C = document.createElement("span");
|
|
203
|
+
F.innerHTML = " ", C.innerHTML = " ", h.innerHTML = v, o.insertNode(F), o.insertNode(h), o.insertNode(C);
|
|
204
|
+
const f = document.createRange();
|
|
205
|
+
f.collapse(!0), s.removeAllRanges(), s.addRange(f), o = f.cloneRange(), l.focus();
|
|
206
|
+
}
|
|
207
|
+
function Q(o, l = 2, t = "list-style") {
|
|
208
|
+
if (o) {
|
|
209
|
+
const i = window.getSelection();
|
|
210
|
+
i.removeAllRanges(), i.addRange(o);
|
|
211
|
+
const r = document.createElement("ul");
|
|
212
|
+
r.style.listStyle = t, r.style.paddingLeft = "73px";
|
|
213
|
+
for (let d = 0; d < l; d++) {
|
|
214
|
+
const g = document.createElement("li");
|
|
215
|
+
g.style.padding = "5px", g.textContent = `li ${d + 1}, `, g.style.position = "relative", r.appendChild(g);
|
|
216
|
+
}
|
|
217
|
+
o.deleteContents(), o.insertNode(r);
|
|
218
|
+
const u = r.querySelector("td"), s = document.createRange();
|
|
219
|
+
s.setStart(u, 0), s.collapse(!0), i.removeAllRanges(), i.addRange(s), o = s.cloneRange(), editor.focus();
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
function ee(o) {
|
|
223
|
+
o.preventDefault();
|
|
224
|
+
const t = o.target.parentElement, i = document.getElementById("editor"), r = o.clientX, u = o.clientY, s = parseFloat(window.getComputedStyle(t).left) || 0, d = parseFloat(window.getComputedStyle(t).top) || 0, g = i.offsetWidth, m = i.offsetHeight, x = t.offsetWidth, h = t.offsetHeight;
|
|
225
|
+
function v(b) {
|
|
226
|
+
const _ = b.clientX - r, F = b.clientY - u;
|
|
227
|
+
let C = s + _, f = d + F;
|
|
228
|
+
C < 0 ? C = 0 : C + x > g && (C = g - x), f < 0 ? f = 0 : f + h > m && (f = m - h), t.style.left = `${C}px`, t.style.top = `${f}px`;
|
|
229
|
+
const E = g / 2, S = m / 2, w = C + x / 2, n = f + h / 2;
|
|
230
|
+
Math.abs(w - E) < 1 && Math.abs(n - S) < 1 && alert("Container is centered!");
|
|
231
|
+
}
|
|
232
|
+
function y() {
|
|
233
|
+
document.removeEventListener("mousemove", v), document.removeEventListener("mouseup", y);
|
|
234
|
+
}
|
|
235
|
+
document.addEventListener("mousemove", v), document.addEventListener("mouseup", y);
|
|
236
|
+
}
|
|
237
|
+
function te(o, l) {
|
|
238
|
+
try {
|
|
239
|
+
const t = document.createElement("div");
|
|
240
|
+
t.style.width = "20px", t.style.height = "20px", t.style.background = "rgba(0, 0, 0, 0.5)", t.style.position = "absolute", t.style.left = "0", t.style.top = "0", t.style.cursor = "move", t.style.zIndex = "11", t.classList.add(l), t.classList.add("hideonprint"), t.addEventListener("mousedown", (i) => {
|
|
241
|
+
ee(i);
|
|
242
|
+
}), o.appendChild(t);
|
|
243
|
+
} catch (t) {
|
|
244
|
+
console.log(t);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
function oe(o, l) {
|
|
248
|
+
if (o) {
|
|
249
|
+
const t = window.getSelection();
|
|
250
|
+
t.removeAllRanges(), t.addRange(o);
|
|
251
|
+
const i = "Pom_Imge_EditorIn" + Date.now(), r = document.createElement("div");
|
|
252
|
+
r.style.display = "inline-flex", r.style.position = "relative", r.style.width = "200px", r.style.minHeight = "40px", r.classList.add(i), r.classList.add("hideOnprint"), r.classList.add("pom-4-imageContainer"), r.id = i, r.setAttribute("contenteditable", !1);
|
|
253
|
+
const u = document.createElement("img");
|
|
254
|
+
u.style.padding = "5px", u.style.width = "100%", u.src = l, u.style.display = "block", u.classList.add(i), u.setAttribute("contenteditable", !1);
|
|
255
|
+
const s = document.createElement("div");
|
|
256
|
+
s.style.width = "20px", s.style.height = "20px", s.style.background = "gray", s.style.position = "absolute", s.style.right = "0", s.style.bottom = "0", s.style.cursor = "nwse-resize", s.style.zIndex = "10", s.classList.add(i), s.setAttribute("contenteditable", !1), s.classList.add("hideOnprint"), s.addEventListener("mousedown", Z), r.appendChild(u), r.appendChild(s), te(r, i), o.deleteContents(), o.insertNode(r);
|
|
257
|
+
const d = document.createRange();
|
|
258
|
+
d.setStartAfter(u), d.collapse(!0), t.removeAllRanges(), t.addRange(d), o = d.cloneRange(), editor.focus();
|
|
259
|
+
let g = document.getElementsByClassName(i);
|
|
260
|
+
for (let m = 0; m < g.length; m++)
|
|
261
|
+
g[m].addEventListener("keyup", function(h) {
|
|
262
|
+
h.keyCode == 8;
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
async function ne(o, l) {
|
|
267
|
+
const t = o.target.files || o.dataTransfer.files;
|
|
268
|
+
if (t.length) {
|
|
269
|
+
for (const i in t)
|
|
270
|
+
if (t.hasOwnProperty(i)) {
|
|
271
|
+
const r = t[i], u = await ie(r);
|
|
272
|
+
oe(l, u);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
function ie(o) {
|
|
277
|
+
return new Promise((l, t) => {
|
|
278
|
+
const i = new FileReader();
|
|
279
|
+
i.onloadend = () => l(i.result), i.onerror = (r) => t(r), i.readAsDataURL(o);
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
function se(o, l, t, i, r = "", u = "span") {
|
|
283
|
+
if (o) {
|
|
284
|
+
const s = window.getSelection();
|
|
285
|
+
s.removeAllRanges(), s.addRange(o);
|
|
286
|
+
const d = s.getRangeAt(0), g = `${d}`.toString().trim(), m = d.cloneContents();
|
|
287
|
+
if (typeof u == "string" && u.trim() !== "") {
|
|
288
|
+
const x = document.createElement(u);
|
|
289
|
+
x.appendChild(m), console.log(x.innerHTML);
|
|
290
|
+
const h = new RegExp(r, "ig");
|
|
291
|
+
x.style[t] = i.replace(h, "") + r;
|
|
292
|
+
let v = "text here";
|
|
293
|
+
t == "background" ? v = x.innerHTML.replace("background", "note") : v = x.innerHTML, x.innerHTML = (g.length > 0, v);
|
|
294
|
+
const y = document.createElement("span"), b = document.createElement("span");
|
|
295
|
+
y.innerHTML = " ", b.innerHTML = " ", o.deleteContents(), o.insertNode(y), o.insertNode(x), o.insertNode(b);
|
|
296
|
+
const _ = document.createRange();
|
|
297
|
+
_.setStartAfter(b), _.collapse(!0), s.removeAllRanges(), s.addRange(_), o = _.cloneRange(), l.focus();
|
|
298
|
+
} else
|
|
299
|
+
console.error("Invalid element type:", u);
|
|
300
|
+
} else
|
|
301
|
+
console.log("No saved range available. Make sure the cursor position is saved before calling this function.");
|
|
302
|
+
}
|
|
303
|
+
function re(o) {
|
|
304
|
+
const l = document.createElement("div");
|
|
305
|
+
l.textContent = "NeW line ", o.appendChild(l), l.focus();
|
|
306
|
+
}
|
|
307
|
+
function N(o = !1, l = document.getElementsByClassName("pom-table-editor-container")) {
|
|
308
|
+
l = Array.from(l), l.forEach((t) => {
|
|
309
|
+
if (o) {
|
|
310
|
+
const i = t.style.display === "flex" ? "none" : "flex";
|
|
311
|
+
t.style.display = i;
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
314
|
+
t.remove();
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
function le(o = document.getElementById("pom-texedito-container").innerHTML, l = ".hideonprint") {
|
|
318
|
+
const t = window.open("", "", "height=900,width=800");
|
|
319
|
+
t.document.write("<html><head><title>Print</title>"), t.document.write(`<style>
|
|
320
|
+
${l} {
|
|
321
|
+
display: none;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
@media print {
|
|
325
|
+
${l} {
|
|
326
|
+
display: none;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
.pom-4-imageContainer {
|
|
330
|
+
display: block !important;
|
|
331
|
+
}
|
|
332
|
+
</style>`), t.document.write("</head><body>"), t.document.write(o), t.document.write("</body></html>"), t.document.close();
|
|
333
|
+
const i = t.document.querySelectorAll(".pom-4-imageContainer");
|
|
334
|
+
return j(i), t;
|
|
335
|
+
}
|
|
336
|
+
function j(o = printWindow.document.querySelectorAll(".pom-4-imageContainer")) {
|
|
337
|
+
o && o.forEach(function(l) {
|
|
338
|
+
const t = l.querySelector("img"), i = l.getAttribute("style");
|
|
339
|
+
i ? t.style.cssText = i + "; position: initial" : t.style.position = "initial", l.style.display = "block", parseInt(l.style.left, 10) > 793.7 && (l.style.left = "793.7px");
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
function de(o = document.getElementById("pom-texedito-container")) {
|
|
343
|
+
return j(o.querySelectorAll(".pom-4-imageContainer")), ce() + o.innerHTML;
|
|
344
|
+
}
|
|
345
|
+
function ae(o = !0, l = document.getElementById("pom-texedito-container").innerHTML, t = "hideonprint") {
|
|
346
|
+
const i = le(l, t);
|
|
347
|
+
o && (i.focus(), i.onload = function() {
|
|
348
|
+
i.print();
|
|
349
|
+
}, i.onafterprint = function() {
|
|
350
|
+
i.close();
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
function ce() {
|
|
354
|
+
return `<style scoped>
|
|
355
|
+
.table-picker-wrapper {
|
|
356
|
+
position: relative;
|
|
357
|
+
display: inline-block;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.table-picker-trigger {
|
|
361
|
+
cursor: pointer;
|
|
362
|
+
display: flex;
|
|
363
|
+
align-items: center;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.table-picker-container {
|
|
367
|
+
position: absolute;
|
|
368
|
+
top: 10%;
|
|
369
|
+
right: 90;
|
|
370
|
+
margin-top: 10px;
|
|
371
|
+
padding: 10px;
|
|
372
|
+
border: 0;
|
|
373
|
+
background-color: rgb(244, 244, 244);
|
|
374
|
+
cursor: pointer;
|
|
375
|
+
user-select: none;
|
|
376
|
+
width: max-content;
|
|
377
|
+
display: none;
|
|
378
|
+
left: 85% !important;
|
|
379
|
+
top: -7px;
|
|
380
|
+
/* Hidden by default */
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.table-picker-container.hidden {
|
|
384
|
+
/* display: none; */
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.table-picker-wrapper:hover .table-picker-container {
|
|
388
|
+
display: block;
|
|
389
|
+
/* Show on hover */
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.table-picker-grid {
|
|
393
|
+
display: grid;
|
|
394
|
+
grid-template-columns: repeat(10, 20px);
|
|
395
|
+
grid-template-rows: repeat(10, 20px);
|
|
396
|
+
gap: 2px;
|
|
397
|
+
margin-bottom: 10px;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.table-picker-grid div {
|
|
401
|
+
width: 20px;
|
|
402
|
+
height: 20px;
|
|
403
|
+
border: 1px solid #ddd;
|
|
404
|
+
background-color: #efa153ce;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.table-picker-grid div:hover {
|
|
408
|
+
background-color: rgb(248, 246, 246);
|
|
409
|
+
border: 0;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.table-dimensions {
|
|
413
|
+
font-size: 12px;
|
|
414
|
+
color: #333;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.pomXEditor {
|
|
418
|
+
border: 1px;
|
|
419
|
+
border-style: solid;
|
|
420
|
+
border-color: #6972734e;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
#editor:focus {
|
|
424
|
+
outline: none;
|
|
425
|
+
border: none;
|
|
426
|
+
/* Removes any custom borders if applied */
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.pom-table-editor-container {
|
|
430
|
+
display: flex;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
a {
|
|
434
|
+
color: blue;
|
|
435
|
+
/* Default color of the link text */
|
|
436
|
+
text-decoration: underline;
|
|
437
|
+
/* Underline the link text by default */
|
|
438
|
+
cursor: pointer;
|
|
439
|
+
/* Cursor changes to a pointer on hover */
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/* Additional pseudo-classes for different link states */
|
|
443
|
+
a:link {
|
|
444
|
+
color: blue;
|
|
445
|
+
/* Color of unvisited link */
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
a:visited {
|
|
449
|
+
color: purple;
|
|
450
|
+
/* Color of visited link */
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
a:hover {
|
|
454
|
+
color: red;
|
|
455
|
+
/* Color when the link is hovered over */
|
|
456
|
+
text-decoration: none;
|
|
457
|
+
/* Typically remove underline on hover */
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
a:active {
|
|
461
|
+
color: orange;
|
|
462
|
+
/* Color when the link is clicked */
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
@media print {
|
|
466
|
+
.print-container {
|
|
467
|
+
/* width: 100%;
|
|
468
|
+
height: auto;
|
|
469
|
+
overflow: hidden;
|
|
470
|
+
page-break-inside: avoid;
|
|
471
|
+
margin: 0;
|
|
472
|
+
padding: 0;
|
|
473
|
+
box-sizing: border-box; */
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
/* Optional: Set the font size for better print readability */
|
|
477
|
+
/* body {
|
|
478
|
+
font-size: 12pt;
|
|
479
|
+
} */
|
|
480
|
+
/* Optional: Ensure images or other elements fit within the print area */
|
|
481
|
+
/* img {
|
|
482
|
+
max-width: 100%;
|
|
483
|
+
height: auto;
|
|
484
|
+
} */
|
|
485
|
+
.hideonprint {
|
|
486
|
+
display: none !important;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
* {
|
|
490
|
+
overflow: hidden;
|
|
491
|
+
/* Hide scrollbar */
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
</style>`;
|
|
495
|
+
}
|
|
496
|
+
const pe = (o, l) => {
|
|
497
|
+
const t = o.__vccOpts || o;
|
|
498
|
+
for (const [i, r] of l)
|
|
499
|
+
t[i] = r;
|
|
500
|
+
return t;
|
|
501
|
+
}, a = (o) => (G("data-v-02ac6d13"), o = o(), O(), o), ue = {
|
|
502
|
+
style: { width: "100%" },
|
|
503
|
+
id: "fullTextEditor"
|
|
504
|
+
}, ge = {
|
|
505
|
+
class: "hideonprint bg-gray-100 items-center",
|
|
506
|
+
id: "toolbar"
|
|
507
|
+
}, he = { class: "flex flex space-x-2 items-center" }, me = { class: "items-center border-1 b g-gray-200 rounded cursor-pointer" }, ve = { class: "relative inline-block text-left group z-10 border-0" }, fe = /* @__PURE__ */ k('<div class="w-full flex rounded-md" data-v-02ac6d13><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-02ac6d13><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-02ac6d13><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-02ac6d13>View</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-02ac6d13><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-02ac6d13><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-02ac6d13></path></svg></div></div>', 1), xe = { class: "hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, ye = {
|
|
508
|
+
class: "",
|
|
509
|
+
role: "none"
|
|
510
|
+
}, be = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "print p x-2" }, null, -1)), we = /* @__PURE__ */ a(() => /* @__PURE__ */ e("strong", { class: "px-3" }, "Print", -1)), _e = [
|
|
511
|
+
be,
|
|
512
|
+
we
|
|
513
|
+
], Ce = { class: "hover:bg-gray-200 elemeSet rounded cursor-pointer" }, ke = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "eye p x-2" }, null, -1)), Fe = /* @__PURE__ */ a(() => /* @__PURE__ */ e("div", {
|
|
514
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
515
|
+
id: "fullscreenButton"
|
|
516
|
+
}, [
|
|
517
|
+
/* @__PURE__ */ e("i", { class: "expand-alt p x-2" }),
|
|
518
|
+
/* @__PURE__ */ e("strong", { class: "px-3" }, "Fullscreen")
|
|
519
|
+
], -1)), Le = { class: "items-center border-1 b g-gray-200 rounded cursor-pointer" }, Ee = { class: "relative inline-block text-left group z-10 border-0 w-ful l" }, Ae = /* @__PURE__ */ k('<div class="w-full flex rounded-md" data-v-02ac6d13><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-02ac6d13><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-02ac6d13><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-02ac6d13>Format</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-02ac6d13><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-02ac6d13><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-02ac6d13></path></svg></div></div>', 1), Se = { class: "hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, He = {
|
|
520
|
+
class: "",
|
|
521
|
+
role: "none"
|
|
522
|
+
}, Me = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "bold p x-2" }, null, -1)), $e = /* @__PURE__ */ a(() => /* @__PURE__ */ e("strong", { class: "px-3" }, "Bold", -1)), Te = [
|
|
523
|
+
Me,
|
|
524
|
+
$e
|
|
525
|
+
], Re = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "italic p x-2" }, null, -1)), ze = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "px-3" }, "italic", -1)), Ie = [
|
|
526
|
+
Re,
|
|
527
|
+
ze
|
|
528
|
+
], Be = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "underline p x-2" }, null, -1)), Ne = /* @__PURE__ */ a(() => /* @__PURE__ */ e("u", { class: "px-3" }, "underline", -1)), Ze = [
|
|
529
|
+
Be,
|
|
530
|
+
Ne
|
|
531
|
+
], je = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "strikethrough p x-2" }, null, -1)), De = /* @__PURE__ */ a(() => /* @__PURE__ */ e("del", { class: "px-3" }, "strike", -1)), Ve = [
|
|
532
|
+
je,
|
|
533
|
+
De
|
|
534
|
+
], Pe = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "superscript p x-2" }, null, -1)), Ge = /* @__PURE__ */ a(() => /* @__PURE__ */ e("sup", { class: "px-3" }, "superscript", -1)), Oe = [
|
|
535
|
+
Pe,
|
|
536
|
+
Ge
|
|
537
|
+
], Xe = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "subscript p x-2" }, null, -1)), We = /* @__PURE__ */ a(() => /* @__PURE__ */ e("sub", { class: "px-3" }, "subscript", -1)), Ye = [
|
|
538
|
+
Xe,
|
|
539
|
+
We
|
|
540
|
+
], qe = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "-list p x-2" }, null, -1)), Ue = /* @__PURE__ */ a(() => /* @__PURE__ */ e("summary", { class: "px-3" }, "summary", -1)), Ke = [
|
|
541
|
+
qe,
|
|
542
|
+
Ue
|
|
543
|
+
], Je = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "list-ol p x-2" }, null, -1)), Qe = /* @__PURE__ */ a(() => /* @__PURE__ */ e("strong", { style: { "padding-left": "0.75rem" } }, "list manual ", -1)), et = [
|
|
544
|
+
Je,
|
|
545
|
+
Qe
|
|
546
|
+
], tt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "list-ul p x-2" }, null, -1)), ot = /* @__PURE__ */ a(() => /* @__PURE__ */ e("strong", { style: { "padding-left": "0.75rem" } }, "list manual ", -1)), nt = [
|
|
547
|
+
tt,
|
|
548
|
+
ot
|
|
549
|
+
], it = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", { class: "px-3 solid heading px-6" }, " H1", -1)), st = [
|
|
550
|
+
it
|
|
551
|
+
], rt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", { class: "px-3 solid heading px-6" }, " H2", -1)), lt = [
|
|
552
|
+
rt
|
|
553
|
+
], dt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", { class: "px-3 solid heading px-6" }, " H3", -1)), at = [
|
|
554
|
+
dt
|
|
555
|
+
], ct = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", { class: "px-3 solid heading px-6" }, " H4", -1)), pt = [
|
|
556
|
+
ct
|
|
557
|
+
], ut = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", { class: "px-3 solid heading px-6" }, " H5", -1)), gt = [
|
|
558
|
+
ut
|
|
559
|
+
], ht = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", { class: "px-3 solid heading px-6" }, " H6", -1)), mt = [
|
|
560
|
+
ht
|
|
561
|
+
], vt = { class: "flex m-1 m-3 b g-gray-200 rounded cursor-pointer" }, ft = /* @__PURE__ */ a(() => /* @__PURE__ */ e("datalist", { id: "fontSizes" }, null, -1)), xt = { class: "flex items-center border-1 b g-gray-200 rounded cursor-pointer" }, yt = { class: "relative inline-block text-left group z-10 border-0 w-ful l" }, bt = /* @__PURE__ */ k('<div class="w-full flex rounded-md" data-v-02ac6d13><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-02ac6d13><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-02ac6d13><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-02ac6d13>Insert</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-02ac6d13><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-02ac6d13><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-02ac6d13></path></svg></div></div>', 1), wt = { class: "hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, _t = {
|
|
562
|
+
class: "",
|
|
563
|
+
role: "none"
|
|
564
|
+
}, Ct = { class: "hover:bg-gray-200 elemeSet rounded cursor-pointer" }, kt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "image p x-2" }, null, -1)), Ft = /* @__PURE__ */ a(() => /* @__PURE__ */ e("label", {
|
|
565
|
+
for: "pom43546535435445Image",
|
|
566
|
+
class: "px-3"
|
|
567
|
+
}, "Image", -1)), Lt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "anchor p x-2" }, null, -1)), Et = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", { class: "px-3" }, "Anchor", -1)), At = [
|
|
568
|
+
Lt,
|
|
569
|
+
Et
|
|
570
|
+
], St = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "-calendar-alt 1x" }, null, -1)), Ht = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", { class: "px-3" }, "Date/time", -1)), Mt = [
|
|
571
|
+
St,
|
|
572
|
+
Ht
|
|
573
|
+
], $t = /* @__PURE__ */ a(() => /* @__PURE__ */ e("div", { class: "text-center w-full py-1 bg-gray-100 font-bold" }, "Table", -1)), Tt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "trash-can p x-2" }, null, -1)), Rt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", { class: "px-3" }, "Delete All Permanetlytable", -1)), zt = [
|
|
574
|
+
Tt,
|
|
575
|
+
Rt
|
|
576
|
+
], It = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "eye-slash p x-2" }, null, -1)), Bt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", { class: "px-3" }, "Hide/Show All ", -1)), Nt = [
|
|
577
|
+
It,
|
|
578
|
+
Bt
|
|
579
|
+
], Zt = { class: "table-picker-wrapper" }, jt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("div", { class: "table-picker-trigger" }, [
|
|
580
|
+
/* @__PURE__ */ e("i", { class: "table p x-2" }),
|
|
581
|
+
/* @__PURE__ */ e("strong", { class: "px-3" }, "Create")
|
|
582
|
+
], -1)), Dt = { style: { display: "flex", "justify-content": "space-between", "align-items": "center" } }, Vt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", null, [
|
|
583
|
+
/* @__PURE__ */ e("svg", {
|
|
584
|
+
width: "24",
|
|
585
|
+
height: "24",
|
|
586
|
+
focusable: "false"
|
|
587
|
+
}, [
|
|
588
|
+
/* @__PURE__ */ e("path", {
|
|
589
|
+
d: "M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z",
|
|
590
|
+
"fill-rule": "evenodd"
|
|
591
|
+
})
|
|
592
|
+
])
|
|
593
|
+
], -1)), Pt = [
|
|
594
|
+
Vt
|
|
595
|
+
], Gt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", null, [
|
|
596
|
+
/* @__PURE__ */ e("svg", {
|
|
597
|
+
width: "24",
|
|
598
|
+
height: "24",
|
|
599
|
+
focusable: "false"
|
|
600
|
+
}, [
|
|
601
|
+
/* @__PURE__ */ e("path", {
|
|
602
|
+
d: "M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z",
|
|
603
|
+
"fill-rule": "evenodd"
|
|
604
|
+
})
|
|
605
|
+
])
|
|
606
|
+
], -1)), Ot = [
|
|
607
|
+
Gt
|
|
608
|
+
], Xt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", { class: "" }, [
|
|
609
|
+
/* @__PURE__ */ e("svg", {
|
|
610
|
+
width: "24",
|
|
611
|
+
height: "24",
|
|
612
|
+
focusable: "false"
|
|
613
|
+
}, [
|
|
614
|
+
/* @__PURE__ */ e("path", {
|
|
615
|
+
d: "M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z",
|
|
616
|
+
"fill-rule": "evenodd"
|
|
617
|
+
})
|
|
618
|
+
])
|
|
619
|
+
], -1)), Wt = [
|
|
620
|
+
Xt
|
|
621
|
+
], Yt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("span", { class: "" }, [
|
|
622
|
+
/* @__PURE__ */ e("svg", {
|
|
623
|
+
width: "24",
|
|
624
|
+
height: "24",
|
|
625
|
+
focusable: "false"
|
|
626
|
+
}, [
|
|
627
|
+
/* @__PURE__ */ e("path", {
|
|
628
|
+
d: "M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z",
|
|
629
|
+
"fill-rule": "evenodd"
|
|
630
|
+
})
|
|
631
|
+
])
|
|
632
|
+
], -1)), qt = [
|
|
633
|
+
Yt
|
|
634
|
+
], Ut = { class: "relative inline-block text-left group z-10 border-0 w-ful l" }, Kt = /* @__PURE__ */ a(() => /* @__PURE__ */ e("div", { class: "w-full flex rounded-md" }, [
|
|
635
|
+
/* @__PURE__ */ e("button", {
|
|
636
|
+
type: "button",
|
|
637
|
+
class: "inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",
|
|
638
|
+
id: "menu-button",
|
|
639
|
+
"aria-expanded": "true",
|
|
640
|
+
"aria-haspopup": "true"
|
|
641
|
+
}, [
|
|
642
|
+
/* @__PURE__ */ e("div", {
|
|
643
|
+
class: "tox-split-button flex items-center",
|
|
644
|
+
style: { "user-select": "none" }
|
|
645
|
+
}, [
|
|
646
|
+
/* @__PURE__ */ e("span", null, [
|
|
647
|
+
/* @__PURE__ */ e("span", { c: "" }, [
|
|
648
|
+
/* @__PURE__ */ e("svg", {
|
|
649
|
+
width: "24",
|
|
650
|
+
height: "24",
|
|
651
|
+
focusable: "false"
|
|
652
|
+
}, [
|
|
653
|
+
/* @__PURE__ */ e("path", {
|
|
654
|
+
d: "M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z",
|
|
655
|
+
"fill-rule": "evenodd"
|
|
656
|
+
})
|
|
657
|
+
])
|
|
658
|
+
])
|
|
659
|
+
]),
|
|
660
|
+
/* @__PURE__ */ e("span", {
|
|
661
|
+
role: "presentation",
|
|
662
|
+
class: "tox-tbtn tox-split-button__chevron",
|
|
663
|
+
"aria-disabled": "false"
|
|
664
|
+
}, [
|
|
665
|
+
/* @__PURE__ */ e("svg", {
|
|
666
|
+
width: "10",
|
|
667
|
+
height: "10",
|
|
668
|
+
focusable: "false"
|
|
669
|
+
}, [
|
|
670
|
+
/* @__PURE__ */ e("path", {
|
|
671
|
+
d: "M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8Z",
|
|
672
|
+
"fill-rule": "nonzero"
|
|
673
|
+
})
|
|
674
|
+
])
|
|
675
|
+
])
|
|
676
|
+
])
|
|
677
|
+
])
|
|
678
|
+
], -1)), Jt = { class: "hidden absolute group-hover:block mt-0 text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, Qt = {
|
|
679
|
+
class: "flex",
|
|
680
|
+
role: "none"
|
|
681
|
+
}, eo = /* @__PURE__ */ a(() => /* @__PURE__ */ e("div", null, [
|
|
682
|
+
/* @__PURE__ */ e("svg", {
|
|
683
|
+
width: "48",
|
|
684
|
+
height: "48",
|
|
685
|
+
focusable: "false"
|
|
686
|
+
}, [
|
|
687
|
+
/* @__PURE__ */ e("g", { "fill-rule": "evenodd" }, [
|
|
688
|
+
/* @__PURE__ */ e("circle", {
|
|
689
|
+
cx: "11",
|
|
690
|
+
cy: "14",
|
|
691
|
+
r: "3"
|
|
692
|
+
}),
|
|
693
|
+
/* @__PURE__ */ e("circle", {
|
|
694
|
+
cx: "11",
|
|
695
|
+
cy: "24",
|
|
696
|
+
r: "3"
|
|
697
|
+
}),
|
|
698
|
+
/* @__PURE__ */ e("circle", {
|
|
699
|
+
cx: "11",
|
|
700
|
+
cy: "34",
|
|
701
|
+
r: "3"
|
|
702
|
+
}),
|
|
703
|
+
/* @__PURE__ */ e("path", {
|
|
704
|
+
opacity: ".2",
|
|
705
|
+
d: "M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"
|
|
706
|
+
})
|
|
707
|
+
])
|
|
708
|
+
])
|
|
709
|
+
], -1)), to = [
|
|
710
|
+
eo
|
|
711
|
+
], oo = /* @__PURE__ */ a(() => /* @__PURE__ */ e("div", null, [
|
|
712
|
+
/* @__PURE__ */ e("svg", {
|
|
713
|
+
width: "48",
|
|
714
|
+
height: "48",
|
|
715
|
+
focusable: "false"
|
|
716
|
+
}, [
|
|
717
|
+
/* @__PURE__ */ e("g", { "fill-rule": "evenodd" }, [
|
|
718
|
+
/* @__PURE__ */ e("path", {
|
|
719
|
+
d: "M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z",
|
|
720
|
+
"fill-rule": "nonzero"
|
|
721
|
+
}),
|
|
722
|
+
/* @__PURE__ */ e("path", {
|
|
723
|
+
opacity: ".2",
|
|
724
|
+
d: "M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"
|
|
725
|
+
})
|
|
726
|
+
])
|
|
727
|
+
])
|
|
728
|
+
], -1)), no = [
|
|
729
|
+
oo
|
|
730
|
+
], io = /* @__PURE__ */ a(() => /* @__PURE__ */ e("svg", {
|
|
731
|
+
width: "48",
|
|
732
|
+
height: "48",
|
|
733
|
+
viewBox: "0 0 48 48",
|
|
734
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
735
|
+
focusable: "false"
|
|
736
|
+
}, [
|
|
737
|
+
/* @__PURE__ */ e("rect", {
|
|
738
|
+
width: "48",
|
|
739
|
+
height: "48",
|
|
740
|
+
fill: "none"
|
|
741
|
+
}),
|
|
742
|
+
/* @__PURE__ */ e("text", {
|
|
743
|
+
x: "12",
|
|
744
|
+
y: "14",
|
|
745
|
+
"font-family": "Arial",
|
|
746
|
+
"font-size": "14",
|
|
747
|
+
fill: "black"
|
|
748
|
+
}, "1"),
|
|
749
|
+
/* @__PURE__ */ e("text", {
|
|
750
|
+
x: "12",
|
|
751
|
+
y: "24",
|
|
752
|
+
"font-family": "Arial",
|
|
753
|
+
"font-size": "14",
|
|
754
|
+
fill: "black"
|
|
755
|
+
}, "2"),
|
|
756
|
+
/* @__PURE__ */ e("text", {
|
|
757
|
+
x: "12",
|
|
758
|
+
y: "34",
|
|
759
|
+
"font-family": "Arial",
|
|
760
|
+
"font-size": "14",
|
|
761
|
+
fill: "black"
|
|
762
|
+
}, "3"),
|
|
763
|
+
/* @__PURE__ */ e("rect", {
|
|
764
|
+
x: "24",
|
|
765
|
+
y: "12",
|
|
766
|
+
width: "20",
|
|
767
|
+
height: "4",
|
|
768
|
+
fill: "black",
|
|
769
|
+
opacity: ".2"
|
|
770
|
+
}),
|
|
771
|
+
/* @__PURE__ */ e("rect", {
|
|
772
|
+
x: "24",
|
|
773
|
+
y: "22",
|
|
774
|
+
width: "20",
|
|
775
|
+
height: "4",
|
|
776
|
+
fill: "black",
|
|
777
|
+
opacity: ".2"
|
|
778
|
+
}),
|
|
779
|
+
/* @__PURE__ */ e("rect", {
|
|
780
|
+
x: "24",
|
|
781
|
+
y: "32",
|
|
782
|
+
width: "20",
|
|
783
|
+
height: "4",
|
|
784
|
+
fill: "black",
|
|
785
|
+
opacity: ".2"
|
|
786
|
+
})
|
|
787
|
+
], -1)), so = [
|
|
788
|
+
io
|
|
789
|
+
], ro = /* @__PURE__ */ a(() => /* @__PURE__ */ e("div", { class: "text-sm" }, [
|
|
790
|
+
/* @__PURE__ */ e("svg", {
|
|
791
|
+
width: "48",
|
|
792
|
+
height: "48",
|
|
793
|
+
viewBox: "0 0 48 48",
|
|
794
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
795
|
+
focusable: "false"
|
|
796
|
+
}, [
|
|
797
|
+
/* @__PURE__ */ e("text", {
|
|
798
|
+
x: "12",
|
|
799
|
+
y: "14",
|
|
800
|
+
"font-family": "Arial",
|
|
801
|
+
"font-size": "14",
|
|
802
|
+
fill: "black"
|
|
803
|
+
}, "A"),
|
|
804
|
+
/* @__PURE__ */ e("text", {
|
|
805
|
+
x: "12",
|
|
806
|
+
y: "24",
|
|
807
|
+
"font-family": "Arial",
|
|
808
|
+
"font-size": "14",
|
|
809
|
+
fill: "black"
|
|
810
|
+
}, "B"),
|
|
811
|
+
/* @__PURE__ */ e("text", {
|
|
812
|
+
x: "12",
|
|
813
|
+
y: "34",
|
|
814
|
+
"font-family": "Arial",
|
|
815
|
+
"font-size": "14",
|
|
816
|
+
fill: "black"
|
|
817
|
+
}, "C"),
|
|
818
|
+
/* @__PURE__ */ e("rect", {
|
|
819
|
+
x: "18",
|
|
820
|
+
y: "12",
|
|
821
|
+
width: "22",
|
|
822
|
+
height: "4",
|
|
823
|
+
fill: "black",
|
|
824
|
+
opacity: ".2"
|
|
825
|
+
}),
|
|
826
|
+
/* @__PURE__ */ e("rect", {
|
|
827
|
+
width: "48",
|
|
828
|
+
height: "48",
|
|
829
|
+
fill: "none"
|
|
830
|
+
}),
|
|
831
|
+
/* @__PURE__ */ e("rect", {
|
|
832
|
+
x: "18",
|
|
833
|
+
y: "22",
|
|
834
|
+
width: "22",
|
|
835
|
+
height: "4",
|
|
836
|
+
fill: "black",
|
|
837
|
+
opacity: ".2"
|
|
838
|
+
}),
|
|
839
|
+
/* @__PURE__ */ e("rect", {
|
|
840
|
+
x: "18",
|
|
841
|
+
y: "32",
|
|
842
|
+
width: "22",
|
|
843
|
+
height: "4",
|
|
844
|
+
fill: "black",
|
|
845
|
+
opacity: ".2"
|
|
846
|
+
})
|
|
847
|
+
])
|
|
848
|
+
], -1)), lo = [
|
|
849
|
+
ro
|
|
850
|
+
], ao = {
|
|
851
|
+
class: "flex items-center gap-1 border-t-2 border-b-2 border-gray-300 bg-white w-full p x-2 mx-3",
|
|
852
|
+
style: { height: "37px" }
|
|
853
|
+
}, co = /* @__PURE__ */ k('<i class="bold p x-2" data-v-02ac6d13><svg viewBox="-2 0 20 20" width="13px" height="13px" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-02ac6d13><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-02ac6d13></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-02ac6d13></g><g id="SVGRepo_iconCarrier" data-v-02ac6d13><g id="text-bold" transform="translate(-4 -2)" data-v-02ac6d13><path id="primary" d="M5,3h7.5A4.49,4.49,0,0,1,17,7.5h0A4.49,4.49,0,0,1,12.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-02ac6d13></path> <path id="primary-2" data-name="primary" d="M5,21h9.5A4.49,4.49,0,0,0,19,16.5h0A4.49,4.49,0,0,0,14.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-02ac6d13></path> <path id="primary-3" data-name="primary" d="M7,3V21H8V3Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-02ac6d13></path></g></g></svg></i>', 1), po = [
|
|
854
|
+
co
|
|
855
|
+
], uo = /* @__PURE__ */ k('<i class="italic p x-2" data-v-02ac6d13><svg viewBox="0 0 20 20" width="15px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-02ac6d13><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-02ac6d13></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-02ac6d13></g><g id="SVGRepo_iconCarrier" data-v-02ac6d13><g id="layer1" data-v-02ac6d13><path d="M 7 4 L 7 5 L 9.9921875 5 L 8 15.955078 L 8 16 L 5 16 L 5 17 L 12 17 L 12 16 L 9.0078125 16 L 11 5.0449219 L 11 5 L 14 5 L 14 4 L 7 4 z " style="fill:#222222;fill-opacity:1;stroke:none;stroke-width:0px;" data-v-02ac6d13></path></g></g></svg></i>', 1), go = [
|
|
856
|
+
uo
|
|
857
|
+
], ho = /* @__PURE__ */ k('<i class="underline p x-2" data-v-02ac6d13><svg fill="#000000" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="13px" height="13px" viewBox="0 0 970.5 970.5" xml:space="preserve" data-v-02ac6d13><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-02ac6d13></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-02ac6d13></g><g id="SVGRepo_iconCarrier" data-v-02ac6d13><g data-v-02ac6d13><path d="M116.1,868.5c-28.2,0-51,22.8-51,51s22.8,51,51,51h741.5c28.199,0,51-22.8,51-51s-22.801-51-51-51H116.1z" data-v-02ac6d13></path> <path d="M940.9,45.1c0-4.9,0-10.1,0-15.1c0-16.6-13.4-30-30-30H582.199c-16.6,0-30,13.4-30,30v14.5c0,15.5,11.801,28.4,27.201,29.9 c14.5,1.4,29,3.5,43.299,6.3c30.201,5.9,44.9,22.7,44.9,53.3v374.9c0,22-2.5,45.399-7.301,69.5c-4.6,23.1-13.898,45-27.6,65 c-14.299,20.1-34.199,36.899-59,49.899c-21.6,11.3-51.4,17.7-88.299,19.2c-37-1.4-66.7-7.9-88.3-19.2 c-24.801-13-44.7-29.7-59-49.899c-13.7-20-23-41.9-27.601-65c-4.8-24.2-7.3-47.601-7.3-69.5v-375c0-30.5,14.7-47.3,44.9-53.3 c14.3-2.8,28.699-4.9,43.3-6.3c15.399-1.5,27.2-14.4,27.2-29.9V30c0-16.6-13.4-30-30-30h-329c-16.6,0-30,13.4-30,30 c0,5,0,10.2,0,15.1c0,14.7,10.7,27.3,25.2,29.6C73,77.6,94.9,81.8,98.3,83c27,9.8,44.2,27.4,44.2,57v408.6c0,34.4,7.4,67.9,22,99.5 c14.6,31.601,36.5,60,65.2,84.4l0.1,0.1c28.8,24.2,64.8,43.601,106.9,57.7c41.8,14,90,21.101,143.2,21.101c1.7,0,3.5,0,5.399-0.101 c2,0,3.701,0.101,5.4,0.101C543.9,811.4,592,804.3,633.9,790.3c42.1-14.1,78-33.5,106.898-57.7l0.102-0.1 c28.699-24.4,50.6-52.8,65.199-84.4c14.6-31.6,22-65.1,22-99.5V140.1c0-29.6,17.301-47.2,44.199-57c3.4-1.2,25.301-5.4,43.5-8.3 C930.299,72.4,940.9,59.8,940.9,45.1z" data-v-02ac6d13></path></g></g></svg></i>', 1), mo = [
|
|
858
|
+
ho
|
|
859
|
+
], vo = { class: "strikethrough p x-2" }, fo = {
|
|
860
|
+
fill: "#000000",
|
|
861
|
+
width: "13px",
|
|
862
|
+
height: "13px",
|
|
863
|
+
viewBox: "0 0 64 64",
|
|
864
|
+
version: "1.1",
|
|
865
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
866
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
867
|
+
"xml:space": "preserve",
|
|
868
|
+
"xmlns:serif": "http://www.serif.com/",
|
|
869
|
+
style: { "fill-rule": "evenodd", "clip-rule": "evenodd", "stroke-linejoin": "round", "stroke-miterlimit": "2" }
|
|
870
|
+
}, xo = /* @__PURE__ */ a(() => /* @__PURE__ */ e("g", {
|
|
871
|
+
id: "SVGRepo_bgCarrier",
|
|
872
|
+
"stroke-width": "0"
|
|
873
|
+
}, null, -1)), yo = /* @__PURE__ */ a(() => /* @__PURE__ */ e("g", {
|
|
874
|
+
id: "SVGRepo_tracerCarrier",
|
|
875
|
+
"stroke-linecap": "round",
|
|
876
|
+
"stroke-linejoin": "round"
|
|
877
|
+
}, null, -1)), bo = /* @__PURE__ */ a(() => /* @__PURE__ */ e("g", { id: "SVGRepo_iconCarrier" }, [
|
|
878
|
+
/* @__PURE__ */ e("rect", {
|
|
879
|
+
id: "Icons",
|
|
880
|
+
x: "-192",
|
|
881
|
+
y: "0",
|
|
882
|
+
width: "1280",
|
|
883
|
+
height: "800",
|
|
884
|
+
style: { fill: "none" }
|
|
885
|
+
}),
|
|
886
|
+
/* @__PURE__ */ p(),
|
|
887
|
+
/* @__PURE__ */ e("g", {
|
|
888
|
+
id: "Icons1",
|
|
889
|
+
"serif:id": "Icons"
|
|
890
|
+
}, [
|
|
891
|
+
/* @__PURE__ */ e("g", { id: "Strike" }, [
|
|
892
|
+
/* @__PURE__ */ e("rect", {
|
|
893
|
+
id: "Strike-line",
|
|
894
|
+
"serif:id": "Strike line",
|
|
895
|
+
x: "10.01",
|
|
896
|
+
y: "30.17",
|
|
897
|
+
width: "44.15",
|
|
898
|
+
height: "2.988"
|
|
899
|
+
}),
|
|
900
|
+
/* @__PURE__ */ p(),
|
|
901
|
+
/* @__PURE__ */ e("rect", {
|
|
902
|
+
x: "10.01",
|
|
903
|
+
y: "30.17",
|
|
904
|
+
width: "44.15",
|
|
905
|
+
height: "2.988"
|
|
906
|
+
}),
|
|
907
|
+
/* @__PURE__ */ p(),
|
|
908
|
+
/* @__PURE__ */ e("path", {
|
|
909
|
+
id: "Strike1",
|
|
910
|
+
"serif:id": "Strike",
|
|
911
|
+
d: "M46.396,35.711c0.414,0.482 0.779,0.983 1.093,1.504c1.06,1.756 1.59,3.823 1.59,6.2c0,3.791 -1.478,6.827 -4.433,9.107c-2.955,2.281 -6.907,3.422 -11.854,3.422c-3.212,0 -6.21,-0.616 -8.994,-1.848c-2.785,-1.231 -4.931,-2.917 -6.441,-5.059c-1.51,-2.142 -2.265,-4.572 -2.265,-7.292l6.2,0c0,2.827 1.044,5.059 3.132,6.698c2.088,1.638 4.877,2.457 8.368,2.457c3.256,0 5.75,-0.664 7.485,-1.992c1.735,-1.327 2.602,-3.137 2.602,-5.429c0,-2.291 -0.803,-4.063 -2.409,-5.316c-1.057,-0.824 -2.68,-1.642 -4.868,-2.452l10.794,0Zm-27.382,-8.094c-1.629,-1.974 -2.444,-4.3 -2.444,-6.978c0,-3.683 1.472,-6.73 4.417,-9.139c2.944,-2.409 6.773,-3.614 11.484,-3.614c3.212,0 6.077,0.621 8.593,1.863c2.517,1.242 4.465,2.956 5.847,5.14c1.381,2.185 2.072,4.572 2.072,7.164l-6.2,0c0,-2.827 -0.9,-5.049 -2.699,-6.666c-1.799,-1.617 -4.336,-2.425 -7.613,-2.425c-3.041,0 -5.413,0.669 -7.115,2.007c-1.703,1.339 -2.554,3.197 -2.554,5.574c0,1.906 0.808,3.518 2.425,4.835c0.966,0.786 2.337,1.533 4.112,2.239l-10.325,0Z",
|
|
912
|
+
style: { "fill-rule": "nonzero" }
|
|
913
|
+
})
|
|
914
|
+
]),
|
|
915
|
+
/* @__PURE__ */ p(),
|
|
916
|
+
/* @__PURE__ */ e("g", { id: "H1" }),
|
|
917
|
+
/* @__PURE__ */ p(),
|
|
918
|
+
/* @__PURE__ */ e("g", { id: "H2" }),
|
|
919
|
+
/* @__PURE__ */ p(),
|
|
920
|
+
/* @__PURE__ */ e("g", { id: "H3" }),
|
|
921
|
+
/* @__PURE__ */ p(),
|
|
922
|
+
/* @__PURE__ */ e("g", { id: "list-ul" }),
|
|
923
|
+
/* @__PURE__ */ p(),
|
|
924
|
+
/* @__PURE__ */ e("g", { id: "hamburger-1" }),
|
|
925
|
+
/* @__PURE__ */ p(),
|
|
926
|
+
/* @__PURE__ */ e("g", { id: "hamburger-2" }),
|
|
927
|
+
/* @__PURE__ */ p(),
|
|
928
|
+
/* @__PURE__ */ e("g", { id: "list-ol" }),
|
|
929
|
+
/* @__PURE__ */ p(),
|
|
930
|
+
/* @__PURE__ */ e("g", { id: "list-task" }),
|
|
931
|
+
/* @__PURE__ */ p(),
|
|
932
|
+
/* @__PURE__ */ e("g", { id: "trash" }),
|
|
933
|
+
/* @__PURE__ */ p(),
|
|
934
|
+
/* @__PURE__ */ e("g", { id: "vertical-menu" }),
|
|
935
|
+
/* @__PURE__ */ p(),
|
|
936
|
+
/* @__PURE__ */ e("g", { id: "horizontal-menu" }),
|
|
937
|
+
/* @__PURE__ */ p(),
|
|
938
|
+
/* @__PURE__ */ e("g", { id: "sidebar-2" }),
|
|
939
|
+
/* @__PURE__ */ p(),
|
|
940
|
+
/* @__PURE__ */ e("g", { id: "Pen" }),
|
|
941
|
+
/* @__PURE__ */ p(),
|
|
942
|
+
/* @__PURE__ */ e("g", {
|
|
943
|
+
id: "Pen1",
|
|
944
|
+
"serif:id": "Pen"
|
|
945
|
+
}),
|
|
946
|
+
/* @__PURE__ */ p(),
|
|
947
|
+
/* @__PURE__ */ e("g", { id: "clock" }),
|
|
948
|
+
/* @__PURE__ */ p(),
|
|
949
|
+
/* @__PURE__ */ e("g", { id: "external-link" }),
|
|
950
|
+
/* @__PURE__ */ p(),
|
|
951
|
+
/* @__PURE__ */ e("g", { id: "hr" }),
|
|
952
|
+
/* @__PURE__ */ p(),
|
|
953
|
+
/* @__PURE__ */ e("g", { id: "info" }),
|
|
954
|
+
/* @__PURE__ */ p(),
|
|
955
|
+
/* @__PURE__ */ e("g", { id: "warning" }),
|
|
956
|
+
/* @__PURE__ */ p(),
|
|
957
|
+
/* @__PURE__ */ e("g", { id: "plus-circle" }),
|
|
958
|
+
/* @__PURE__ */ p(),
|
|
959
|
+
/* @__PURE__ */ e("g", { id: "minus-circle" }),
|
|
960
|
+
/* @__PURE__ */ p(),
|
|
961
|
+
/* @__PURE__ */ e("g", { id: "vue" }),
|
|
962
|
+
/* @__PURE__ */ p(),
|
|
963
|
+
/* @__PURE__ */ e("g", { id: "cog" }),
|
|
964
|
+
/* @__PURE__ */ p(),
|
|
965
|
+
/* @__PURE__ */ e("g", { id: "logo" }),
|
|
966
|
+
/* @__PURE__ */ p(),
|
|
967
|
+
/* @__PURE__ */ e("g", { id: "radio-check" }),
|
|
968
|
+
/* @__PURE__ */ p(),
|
|
969
|
+
/* @__PURE__ */ e("g", { id: "eye-slash" }),
|
|
970
|
+
/* @__PURE__ */ p(),
|
|
971
|
+
/* @__PURE__ */ e("g", { id: "eye" }),
|
|
972
|
+
/* @__PURE__ */ p(),
|
|
973
|
+
/* @__PURE__ */ e("g", { id: "toggle-off" }),
|
|
974
|
+
/* @__PURE__ */ p(),
|
|
975
|
+
/* @__PURE__ */ e("g", { id: "shredder" }),
|
|
976
|
+
/* @__PURE__ */ p(),
|
|
977
|
+
/* @__PURE__ */ e("g", {
|
|
978
|
+
id: "spinner--loading--dots-",
|
|
979
|
+
"serif:id": "spinner [loading, dots]"
|
|
980
|
+
}),
|
|
981
|
+
/* @__PURE__ */ p(),
|
|
982
|
+
/* @__PURE__ */ e("g", { id: "react" }),
|
|
983
|
+
/* @__PURE__ */ p(),
|
|
984
|
+
/* @__PURE__ */ e("g", { id: "check-selected" }),
|
|
985
|
+
/* @__PURE__ */ p(),
|
|
986
|
+
/* @__PURE__ */ e("g", { id: "turn-off" }),
|
|
987
|
+
/* @__PURE__ */ p(),
|
|
988
|
+
/* @__PURE__ */ e("g", { id: "code-block" }),
|
|
989
|
+
/* @__PURE__ */ p(),
|
|
990
|
+
/* @__PURE__ */ e("g", { id: "user" }),
|
|
991
|
+
/* @__PURE__ */ p(),
|
|
992
|
+
/* @__PURE__ */ e("g", { id: "coffee-bean" }),
|
|
993
|
+
/* @__PURE__ */ p(),
|
|
994
|
+
/* @__PURE__ */ e("g", { id: "coffee-beans" }, [
|
|
995
|
+
/* @__PURE__ */ e("g", {
|
|
996
|
+
id: "coffee-bean1",
|
|
997
|
+
"serif:id": "coffee-bean"
|
|
998
|
+
})
|
|
999
|
+
]),
|
|
1000
|
+
/* @__PURE__ */ p(),
|
|
1001
|
+
/* @__PURE__ */ e("g", { id: "coffee-bean-filled" }),
|
|
1002
|
+
/* @__PURE__ */ p(),
|
|
1003
|
+
/* @__PURE__ */ e("g", { id: "coffee-beans-filled" }, [
|
|
1004
|
+
/* @__PURE__ */ e("g", {
|
|
1005
|
+
id: "coffee-bean2",
|
|
1006
|
+
"serif:id": "coffee-bean"
|
|
1007
|
+
})
|
|
1008
|
+
]),
|
|
1009
|
+
/* @__PURE__ */ p(),
|
|
1010
|
+
/* @__PURE__ */ e("g", { id: "clipboard" }),
|
|
1011
|
+
/* @__PURE__ */ p(),
|
|
1012
|
+
/* @__PURE__ */ e("g", { id: "clipboard-paste" }),
|
|
1013
|
+
/* @__PURE__ */ p(),
|
|
1014
|
+
/* @__PURE__ */ e("g", { id: "clipboard-copy" }),
|
|
1015
|
+
/* @__PURE__ */ p(),
|
|
1016
|
+
/* @__PURE__ */ e("g", { id: "Layer1" })
|
|
1017
|
+
])
|
|
1018
|
+
], -1)), wo = [
|
|
1019
|
+
xo,
|
|
1020
|
+
yo,
|
|
1021
|
+
bo
|
|
1022
|
+
], _o = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "superscript p x-2" }, "sup", -1)), Co = [
|
|
1023
|
+
_o
|
|
1024
|
+
], ko = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "subscript p x-2" }, "sub", -1)), Fo = [
|
|
1025
|
+
ko
|
|
1026
|
+
], Lo = /* @__PURE__ */ k('<i class="-code p x-2" data-v-02ac6d13><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-02ac6d13><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-02ac6d13></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-02ac6d13></g><g id="SVGRepo_iconCarrier" data-v-02ac6d13><path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000" data-v-02ac6d13></path> <path d="M12.5 11.5L11.0858 10.0858L13.1716 8L11.0858 5.91422L12.5 4.5L16 8L12.5 11.5Z" fill="#000000" data-v-02ac6d13></path> <path d="M2.82843 8L4.91421 10.0858L3.5 11.5L0 8L3.5 4.5L4.91421 5.91422L2.82843 8Z" fill="#000000" data-v-02ac6d13></path></g></svg></i>', 1), Eo = [
|
|
1027
|
+
Lo
|
|
1028
|
+
], Ao = { class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1" }, So = /* @__PURE__ */ k('<i class="solid brush display-color" data-v-02ac6d13><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-02ac6d13><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-02ac6d13></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-02ac6d13></g><g id="SVGRepo_iconCarrier" data-v-02ac6d13><path fill-rule="evenodd" clip-rule="evenodd" d="M8 16L3.54223 12.3383C1.93278 11.0162 1 9.04287 1 6.96005C1 3.11612 4.15607 0 8 0C11.8439 0 15 3.11612 15 6.96005C15 9.04287 14.0672 11.0162 12.4578 12.3383L8 16ZM3 6H5C6.10457 6 7 6.89543 7 8V9L3 7.5V6ZM11 6C9.89543 6 9 6.89543 9 8V9L13 7.5V6H11Z" fill="#000000" data-v-02ac6d13></path></g></svg></i>', 1), Ho = {
|
|
1029
|
+
class: "color-picker color-container",
|
|
1030
|
+
style: { position: "absolute", top: "0", bottom: "0", height: "fit-content", overflow: "auto" }
|
|
1031
|
+
}, Mo = { class: "color-grid" }, $o = ["onClick"], To = /* @__PURE__ */ k('<span class="" data-v-02ac6d13><svg width="20px" height="20px" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-02ac6d13><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-02ac6d13></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-02ac6d13></g><g id="SVGRepo_iconCarrier" data-v-02ac6d13><path fill="#494c4e" d="M16 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm0 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm1 4v2c0 1-1 2-2 2h-2c0 .3 0 .5-.3.7-.2.2-.4.3-.7.3s-.5 0-.7-.3l-1-1c-.4-.4-.4-1 0-1.4l1-1c.4-.4 1-.4 1.4 0 .2.2.3.4.3.7h2v-2H2c-.6 0-1-.5-1-1s.5-1 1-1h13c1 0 2 1 2 2z" data-v-02ac6d13></path></g></svg></span>', 1), Ro = [
|
|
1032
|
+
To
|
|
1033
|
+
], zo = {
|
|
1034
|
+
class: "p-6",
|
|
1035
|
+
style: { height: "100%", "text-align": "justify" }
|
|
1036
|
+
}, Io = ["innerHTML"], Bo = { class: "hideonprint flex items-center" }, No = /* @__PURE__ */ a(() => /* @__PURE__ */ e("i", { class: "-" }, null, -1)), Zo = /* @__PURE__ */ a(() => /* @__PURE__ */ e("strong", { class: "p x-2" }, "NEW LINE", -1)), jo = [
|
|
1037
|
+
No,
|
|
1038
|
+
Zo
|
|
1039
|
+
], Do = /* @__PURE__ */ a(() => /* @__PURE__ */ e("p", null, [
|
|
1040
|
+
/* @__PURE__ */ p("Cursor position: "),
|
|
1041
|
+
/* @__PURE__ */ e("span", { id: "cursorPosition" }, "0")
|
|
1042
|
+
], -1)), Vo = /* @__PURE__ */ a(() => /* @__PURE__ */ e("p", null, [
|
|
1043
|
+
/* @__PURE__ */ p("Text at cursor: "),
|
|
1044
|
+
/* @__PURE__ */ e("span", { id: "textAtCursor" })
|
|
1045
|
+
], -1)), Po = {
|
|
1046
|
+
__name: "Editor",
|
|
1047
|
+
props: {
|
|
1048
|
+
Dvalue: {
|
|
1049
|
+
default: ""
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
emits: ["change", "update"],
|
|
1053
|
+
setup(o, { emit: l }) {
|
|
1054
|
+
const t = L(null), i = L(null), r = L(null), u = L(null), s = L(null), d = L([
|
|
1055
|
+
"FF5733",
|
|
1056
|
+
"33FF57",
|
|
1057
|
+
"3357FF",
|
|
1058
|
+
"FFFF33",
|
|
1059
|
+
"FF33FF",
|
|
1060
|
+
"33FFFF",
|
|
1061
|
+
"5733FF",
|
|
1062
|
+
"57FF33",
|
|
1063
|
+
"FF3333",
|
|
1064
|
+
"33FF33",
|
|
1065
|
+
"3333FF",
|
|
1066
|
+
"FF33AA",
|
|
1067
|
+
"33AAFF",
|
|
1068
|
+
"AAFF33",
|
|
1069
|
+
"FFAA33",
|
|
1070
|
+
"AA33FF",
|
|
1071
|
+
"33FFAA",
|
|
1072
|
+
"AAFFAA",
|
|
1073
|
+
"FFAAFF",
|
|
1074
|
+
"FF6347",
|
|
1075
|
+
"40E0D0",
|
|
1076
|
+
"FFD700",
|
|
1077
|
+
"8A2BE2",
|
|
1078
|
+
"DC143C",
|
|
1079
|
+
"00CED1",
|
|
1080
|
+
"7FFF00",
|
|
1081
|
+
"FF4500",
|
|
1082
|
+
"2E8B57",
|
|
1083
|
+
"DAA520",
|
|
1084
|
+
"6A5ACD",
|
|
1085
|
+
"FF1493",
|
|
1086
|
+
"B8860B",
|
|
1087
|
+
"4682B4",
|
|
1088
|
+
"D2691E",
|
|
1089
|
+
"ADFF2F",
|
|
1090
|
+
"5F9EA0",
|
|
1091
|
+
"FF69B4",
|
|
1092
|
+
"7B68EE",
|
|
1093
|
+
"00FF7F",
|
|
1094
|
+
"20B2AA",
|
|
1095
|
+
"FF5733",
|
|
1096
|
+
"33FF57",
|
|
1097
|
+
"3357FF",
|
|
1098
|
+
"FFFF33",
|
|
1099
|
+
"FF33FF",
|
|
1100
|
+
"33FFFF",
|
|
1101
|
+
"FFD700",
|
|
1102
|
+
"8A2BE2",
|
|
1103
|
+
"7FFFD4",
|
|
1104
|
+
"FF4500",
|
|
1105
|
+
"6A5ACD",
|
|
1106
|
+
"00FF7F",
|
|
1107
|
+
"FF6347",
|
|
1108
|
+
"FF1493",
|
|
1109
|
+
"00CED1"
|
|
1110
|
+
]), g = l, m = L(null);
|
|
1111
|
+
function x(...w) {
|
|
1112
|
+
try {
|
|
1113
|
+
var n = document.querySelectorAll(".removeinlineblock");
|
|
1114
|
+
n.forEach(function(c) {
|
|
1115
|
+
c.style.display = "block";
|
|
1116
|
+
}), ae(...w, m.value.innerHTML);
|
|
1117
|
+
} catch {
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
function h(...w) {
|
|
1121
|
+
J(i.value.range, t.value, ...w);
|
|
1122
|
+
}
|
|
1123
|
+
function v(...w) {
|
|
1124
|
+
se(i.value.range, t.value, ...w);
|
|
1125
|
+
}
|
|
1126
|
+
function y(w) {
|
|
1127
|
+
ne(w, i.value.range);
|
|
1128
|
+
}
|
|
1129
|
+
function b(...w) {
|
|
1130
|
+
K(i.value.range, ...w);
|
|
1131
|
+
}
|
|
1132
|
+
function _() {
|
|
1133
|
+
const w = de(t.value);
|
|
1134
|
+
setTimeout(() => {
|
|
1135
|
+
g("change", w);
|
|
1136
|
+
}, 300);
|
|
1137
|
+
}
|
|
1138
|
+
function F(w) {
|
|
1139
|
+
t.value.focus(), _();
|
|
1140
|
+
}
|
|
1141
|
+
D(() => {
|
|
1142
|
+
F();
|
|
1143
|
+
});
|
|
1144
|
+
function C() {
|
|
1145
|
+
re(t.value);
|
|
1146
|
+
}
|
|
1147
|
+
function f(...w) {
|
|
1148
|
+
$(i.value.range, ...w);
|
|
1149
|
+
}
|
|
1150
|
+
function E(...w) {
|
|
1151
|
+
Q(i.value.range, ...w);
|
|
1152
|
+
}
|
|
1153
|
+
function S() {
|
|
1154
|
+
i.value = W(), X(), Y(i.value, t.value, u.value, s.value);
|
|
1155
|
+
}
|
|
1156
|
+
return (w, n) => (H(), M(T, null, [
|
|
1157
|
+
e("div", ue, [
|
|
1158
|
+
e("div", ge, [
|
|
1159
|
+
e("div", he, [
|
|
1160
|
+
e("div", me, [
|
|
1161
|
+
e("div", ve, [
|
|
1162
|
+
fe,
|
|
1163
|
+
e("div", xe, [
|
|
1164
|
+
e("div", ye, [
|
|
1165
|
+
e("div", {
|
|
1166
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
1167
|
+
onClick: n[0] || (n[0] = (c) => x(!0))
|
|
1168
|
+
}, _e),
|
|
1169
|
+
e("div", Ce, [
|
|
1170
|
+
ke,
|
|
1171
|
+
e("strong", {
|
|
1172
|
+
class: "px-3",
|
|
1173
|
+
onClick: n[1] || (n[1] = (c) => x(!1))
|
|
1174
|
+
}, "Preview")
|
|
1175
|
+
]),
|
|
1176
|
+
Fe
|
|
1177
|
+
])
|
|
1178
|
+
])
|
|
1179
|
+
])
|
|
1180
|
+
]),
|
|
1181
|
+
e("div", Le, [
|
|
1182
|
+
e("div", Ee, [
|
|
1183
|
+
Ae,
|
|
1184
|
+
e("div", Se, [
|
|
1185
|
+
e("div", He, [
|
|
1186
|
+
e("div", {
|
|
1187
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md",
|
|
1188
|
+
onClick: n[2] || (n[2] = (c) => f())
|
|
1189
|
+
}, Te),
|
|
1190
|
+
e("div", {
|
|
1191
|
+
onClick: n[3] || (n[3] = (c) => f("i", "**italic text **")),
|
|
1192
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1193
|
+
}, Ie),
|
|
1194
|
+
e("div", {
|
|
1195
|
+
onClick: n[4] || (n[4] = (c) => f("u", "**underLine text **")),
|
|
1196
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1197
|
+
}, Ze),
|
|
1198
|
+
e("div", {
|
|
1199
|
+
onClick: n[5] || (n[5] = (c) => f("s", "**underLine text**")),
|
|
1200
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1201
|
+
}, Ve),
|
|
1202
|
+
e("div", {
|
|
1203
|
+
onClick: n[6] || (n[6] = (c) => f("sup", "**supperScript**")),
|
|
1204
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1205
|
+
}, Oe),
|
|
1206
|
+
e("div", {
|
|
1207
|
+
onClick: n[7] || (n[7] = (c) => f("sub", "**supperScript**")),
|
|
1208
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1209
|
+
}, Ye),
|
|
1210
|
+
e("div", {
|
|
1211
|
+
onClick: n[8] || (n[8] = (c) => f("summary", "**summary**")),
|
|
1212
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1213
|
+
}, Ke),
|
|
1214
|
+
e("div", {
|
|
1215
|
+
onClick: n[9] || (n[9] = (c) => f("ol", "1. ordered list")),
|
|
1216
|
+
style: { "background-color": "#f3f4f6", cursor: "pointer" },
|
|
1217
|
+
class: "hover:bg-gray-200 elemeSet rounded"
|
|
1218
|
+
}, et),
|
|
1219
|
+
e("div", {
|
|
1220
|
+
onClick: n[10] || (n[10] = (c) => f("ul", "1. unordered list")),
|
|
1221
|
+
style: { "background-color": "#f3f4f6", cursor: "pointer" },
|
|
1222
|
+
class: "hover:bg-gray-200 elemeSet rounded"
|
|
1223
|
+
}, nt),
|
|
1224
|
+
e("div", {
|
|
1225
|
+
onClick: n[11] || (n[11] = (c) => f("h1", "**h1**")),
|
|
1226
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1227
|
+
}, st),
|
|
1228
|
+
e("div", {
|
|
1229
|
+
onClick: n[12] || (n[12] = (c) => f("h2", "**h2**")),
|
|
1230
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1231
|
+
}, lt),
|
|
1232
|
+
e("div", {
|
|
1233
|
+
onClick: n[13] || (n[13] = (c) => f("h3", "**h3**")),
|
|
1234
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1235
|
+
}, at),
|
|
1236
|
+
e("div", {
|
|
1237
|
+
onClick: n[14] || (n[14] = (c) => f("h4", "**h4**")),
|
|
1238
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1239
|
+
}, pt),
|
|
1240
|
+
e("div", {
|
|
1241
|
+
onClick: n[15] || (n[15] = (c) => f("h5", "**h5**")),
|
|
1242
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1243
|
+
}, gt),
|
|
1244
|
+
e("div", {
|
|
1245
|
+
onClick: n[16] || (n[16] = (c) => f("h6", "**h6**")),
|
|
1246
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1247
|
+
}, mt),
|
|
1248
|
+
e("div", vt, [
|
|
1249
|
+
e("input", {
|
|
1250
|
+
list: "fontSizes",
|
|
1251
|
+
onChange: n[17] || (n[17] = (c) => v("fontSize", c.target.value, "px")),
|
|
1252
|
+
placeholder: "Size ",
|
|
1253
|
+
class: "p-1 border rounded w-[6vw] h-[3vh]"
|
|
1254
|
+
}, null, 32),
|
|
1255
|
+
ft
|
|
1256
|
+
])
|
|
1257
|
+
])
|
|
1258
|
+
])
|
|
1259
|
+
])
|
|
1260
|
+
]),
|
|
1261
|
+
e("div", xt, [
|
|
1262
|
+
e("div", yt, [
|
|
1263
|
+
bt,
|
|
1264
|
+
e("div", wt, [
|
|
1265
|
+
e("div", _t, [
|
|
1266
|
+
e("div", Ct, [
|
|
1267
|
+
kt,
|
|
1268
|
+
Ft,
|
|
1269
|
+
e("input", {
|
|
1270
|
+
type: "file",
|
|
1271
|
+
hidden: "",
|
|
1272
|
+
id: "pom43546535435445Image",
|
|
1273
|
+
accept: "image/*",
|
|
1274
|
+
multiple: "",
|
|
1275
|
+
onChange: n[18] || (n[18] = (c) => y(c))
|
|
1276
|
+
}, null, 32)
|
|
1277
|
+
]),
|
|
1278
|
+
e("div", {
|
|
1279
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
1280
|
+
onClick: n[19] || (n[19] = (c) => {
|
|
1281
|
+
b(this, "a", "links", {}, { href: "", class: "pom-editor-anchor-tag", style: "text-decoration: underline;cursor: pointer" });
|
|
1282
|
+
})
|
|
1283
|
+
}, At),
|
|
1284
|
+
e("div", {
|
|
1285
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer p-2",
|
|
1286
|
+
onClick: n[20] || (n[20] = (c) => b(this))
|
|
1287
|
+
}, Mt),
|
|
1288
|
+
e("div", null, [
|
|
1289
|
+
$t,
|
|
1290
|
+
e("div", {
|
|
1291
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
1292
|
+
onClick: n[21] || (n[21] = (c) => R(N)())
|
|
1293
|
+
}, zt),
|
|
1294
|
+
e("div", {
|
|
1295
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
1296
|
+
onClick: n[22] || (n[22] = (c) => R(N)(!0))
|
|
1297
|
+
}, Nt),
|
|
1298
|
+
e("div", Zt, [
|
|
1299
|
+
jt,
|
|
1300
|
+
e("div", {
|
|
1301
|
+
id: "table-picker-container",
|
|
1302
|
+
ref_key: "tablePickerContainer",
|
|
1303
|
+
ref: r,
|
|
1304
|
+
class: "table-picker-container"
|
|
1305
|
+
}, [
|
|
1306
|
+
e("div", {
|
|
1307
|
+
id: "table-picker-grid",
|
|
1308
|
+
ref_key: "tablePickerGrid",
|
|
1309
|
+
ref: u,
|
|
1310
|
+
class: "table-picker-grid"
|
|
1311
|
+
}, null, 512),
|
|
1312
|
+
e("span", {
|
|
1313
|
+
id: "table-dimensions",
|
|
1314
|
+
ref_key: "tableDimensions",
|
|
1315
|
+
ref: s,
|
|
1316
|
+
class: "table-dimensions"
|
|
1317
|
+
}, "0 x 0", 512)
|
|
1318
|
+
], 512)
|
|
1319
|
+
])
|
|
1320
|
+
])
|
|
1321
|
+
])
|
|
1322
|
+
])
|
|
1323
|
+
])
|
|
1324
|
+
]),
|
|
1325
|
+
e("div", Dt, [
|
|
1326
|
+
e("button", {
|
|
1327
|
+
style: { flex: "1", margin: "0 4px", width: "auto" },
|
|
1328
|
+
onClick: n[23] || (n[23] = (c) => h("textAlign", "justify"))
|
|
1329
|
+
}, Pt),
|
|
1330
|
+
e("button", {
|
|
1331
|
+
style: { flex: "1", margin: "0 4px", width: "auto" },
|
|
1332
|
+
onClick: n[24] || (n[24] = (c) => h("textAlign", "center"))
|
|
1333
|
+
}, Ot),
|
|
1334
|
+
e("button", {
|
|
1335
|
+
style: { flex: "1", margin: "0 4px", width: "auto" },
|
|
1336
|
+
onClick: n[25] || (n[25] = (c) => h("textAlign", "end"))
|
|
1337
|
+
}, Wt),
|
|
1338
|
+
e("button", {
|
|
1339
|
+
style: { flex: "1", margin: "0 4px", width: "auto" },
|
|
1340
|
+
onClick: n[26] || (n[26] = (c) => h("textAlign", "start"))
|
|
1341
|
+
}, qt)
|
|
1342
|
+
]),
|
|
1343
|
+
e("div", Ut, [
|
|
1344
|
+
Kt,
|
|
1345
|
+
e("div", Jt, [
|
|
1346
|
+
e("div", Qt, [
|
|
1347
|
+
e("div", {
|
|
1348
|
+
onClick: n[27] || (n[27] = (c) => E(3, "disc"))
|
|
1349
|
+
}, to),
|
|
1350
|
+
e("div", {
|
|
1351
|
+
onClick: n[28] || (n[28] = (c) => E(3, "circle"))
|
|
1352
|
+
}, no),
|
|
1353
|
+
e("div", null, [
|
|
1354
|
+
e("div", {
|
|
1355
|
+
class: "",
|
|
1356
|
+
onClick: n[29] || (n[29] = (c) => E())
|
|
1357
|
+
}, so)
|
|
1358
|
+
]),
|
|
1359
|
+
e("div", {
|
|
1360
|
+
onClick: n[30] || (n[30] = (c) => E(3, "upper-latin"))
|
|
1361
|
+
}, lo)
|
|
1362
|
+
])
|
|
1363
|
+
])
|
|
1364
|
+
])
|
|
1365
|
+
]),
|
|
1366
|
+
e("div", ao, [
|
|
1367
|
+
z(w.$slots, "toolbar-before", {}, void 0, !0),
|
|
1368
|
+
e("div", {
|
|
1369
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",
|
|
1370
|
+
style: { margin: "6px" },
|
|
1371
|
+
onClick: n[31] || (n[31] = (c) => f())
|
|
1372
|
+
}, po),
|
|
1373
|
+
e("div", {
|
|
1374
|
+
onClick: n[32] || (n[32] = (c) => f("i", "**italic text **")),
|
|
1375
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",
|
|
1376
|
+
style: { margin: "6px" }
|
|
1377
|
+
}, go),
|
|
1378
|
+
e("div", {
|
|
1379
|
+
onClick: n[33] || (n[33] = (c) => f("u", "**underLine text **")),
|
|
1380
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",
|
|
1381
|
+
style: { margin: "6px" }
|
|
1382
|
+
}, mo),
|
|
1383
|
+
e("div", {
|
|
1384
|
+
onClick: n[34] || (n[34] = (c) => f("s", "**Strike text**")),
|
|
1385
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",
|
|
1386
|
+
style: { margin: "6px" }
|
|
1387
|
+
}, [
|
|
1388
|
+
e("i", vo, [
|
|
1389
|
+
(H(), M("svg", fo, wo))
|
|
1390
|
+
])
|
|
1391
|
+
]),
|
|
1392
|
+
e("div", {
|
|
1393
|
+
onClick: n[35] || (n[35] = (c) => f("sup", "**supperScript**")),
|
|
1394
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",
|
|
1395
|
+
style: { margin: "6px" }
|
|
1396
|
+
}, Co),
|
|
1397
|
+
e("div", {
|
|
1398
|
+
onClick: n[36] || (n[36] = (c) => f("sub", "**supperScript**")),
|
|
1399
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",
|
|
1400
|
+
style: { margin: "6px" }
|
|
1401
|
+
}, Fo),
|
|
1402
|
+
e("div", {
|
|
1403
|
+
onClick: n[37] || (n[37] = (c) => f("Code", "**<code>**")),
|
|
1404
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",
|
|
1405
|
+
style: { margin: "6px" }
|
|
1406
|
+
}, Eo),
|
|
1407
|
+
e("div", Ao, [
|
|
1408
|
+
So,
|
|
1409
|
+
e("div", Ho, [
|
|
1410
|
+
e("div", Mo, [
|
|
1411
|
+
(H(!0), M(T, null, V(d.value, (c) => (H(), M("div", {
|
|
1412
|
+
class: "color-box",
|
|
1413
|
+
style: P(`background-color: #${c} ;`),
|
|
1414
|
+
onClick: (Go) => v("background", `#${c}`, "", "div")
|
|
1415
|
+
}, null, 12, $o))), 256))
|
|
1416
|
+
])
|
|
1417
|
+
])
|
|
1418
|
+
]),
|
|
1419
|
+
z(w.$slots, "toolbar-after", {}, void 0, !0),
|
|
1420
|
+
e("div", {
|
|
1421
|
+
title: "new fresh line",
|
|
1422
|
+
style: { flex: "1", margin: "0 4px", "text-align": "center", "padding-top": "8px" },
|
|
1423
|
+
onClick: n[38] || (n[38] = (c) => C())
|
|
1424
|
+
}, Ro)
|
|
1425
|
+
])
|
|
1426
|
+
])
|
|
1427
|
+
]),
|
|
1428
|
+
e("div", {
|
|
1429
|
+
class: "",
|
|
1430
|
+
ref_key: "pomTextEditorContainer",
|
|
1431
|
+
ref: m,
|
|
1432
|
+
id: "pom-texedito-container",
|
|
1433
|
+
style: { width: "100%", overflow: "hidden auto", height: "30vh", border: "1px solid #9d969633", padding: "0px", "border-radius": "3px" }
|
|
1434
|
+
}, [
|
|
1435
|
+
e("div", zo, [
|
|
1436
|
+
e("div", {
|
|
1437
|
+
"data-placeholder": "Your Editing.....",
|
|
1438
|
+
innerHTML: o.Dvalue,
|
|
1439
|
+
onMouseup: n[39] || (n[39] = (c) => S()),
|
|
1440
|
+
onKeyup: n[40] || (n[40] = (c) => S()),
|
|
1441
|
+
ref_key: "editorRef",
|
|
1442
|
+
ref: t,
|
|
1443
|
+
class: "editor mt-1 border-gray-300",
|
|
1444
|
+
onInput: _,
|
|
1445
|
+
contenteditable: "true",
|
|
1446
|
+
id: "editor",
|
|
1447
|
+
style: { height: "100%" }
|
|
1448
|
+
}, null, 40, Io)
|
|
1449
|
+
])
|
|
1450
|
+
], 512),
|
|
1451
|
+
e("div", Bo, [
|
|
1452
|
+
e("div", {
|
|
1453
|
+
class: "hover:bg-gray-200",
|
|
1454
|
+
onClick: n[41] || (n[41] = (c) => C())
|
|
1455
|
+
}, jo),
|
|
1456
|
+
Do,
|
|
1457
|
+
p(" "),
|
|
1458
|
+
Vo
|
|
1459
|
+
])
|
|
1460
|
+
], 64));
|
|
1461
|
+
}
|
|
1462
|
+
}, Xo = /* @__PURE__ */ pe(Po, [["__scopeId", "data-v-02ac6d13"]]);
|
|
1463
|
+
export {
|
|
1464
|
+
Xo as default
|
|
1465
|
+
};
|