reactjs-tiptap-editor 0.3.14 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{ActionMenuButton-BfH5nAGi.js → ActionMenuButton-Blixh0sY.js} +1 -1
- package/lib/{ActionMenuButton-Cbbnqd-L.cjs → ActionMenuButton-Dqp7UQ7o.cjs} +1 -1
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.d.cts +23 -23
- package/lib/Attachment.d.ts +23 -23
- package/lib/Attachment.js +2 -2
- package/lib/Blockquote.cjs +1 -1
- package/lib/Blockquote.d.cts +23 -23
- package/lib/Blockquote.d.ts +23 -23
- package/lib/Blockquote.js +1 -1
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.d.cts +23 -23
- package/lib/Bold.d.ts +23 -23
- package/lib/Bold.js +1 -1
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.d.cts +23 -23
- package/lib/BulletList.d.ts +23 -23
- package/lib/BulletList.js +1 -1
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.d.cts +23 -23
- package/lib/Clear.d.ts +23 -23
- package/lib/Clear.js +1 -1
- package/lib/Code.cjs +1 -1
- package/lib/Code.d.cts +23 -23
- package/lib/Code.d.ts +23 -23
- package/lib/Code.js +1 -1
- package/lib/CodeBlock.cjs +26 -26
- package/lib/CodeBlock.d.cts +23 -23
- package/lib/CodeBlock.d.ts +23 -23
- package/lib/CodeBlock.js +660 -643
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.d.cts +23 -23
- package/lib/CodeView.d.ts +23 -23
- package/lib/CodeView.js +1 -1
- package/lib/Color.cjs +1 -1
- package/lib/Color.d.cts +23 -23
- package/lib/Color.d.ts +23 -23
- package/lib/Color.js +1 -1
- package/lib/Document.d.cts +23 -23
- package/lib/Document.d.ts +23 -23
- package/lib/{Drawer-jPHImfyr.cjs → Drawer-DRmsdhKK.cjs} +1 -1
- package/lib/{Drawer-DUXFBfgE.js → Drawer-XpuScyFL.js} +2 -2
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.d.cts +23 -23
- package/lib/Drawer.d.ts +23 -23
- package/lib/Drawer.js +2 -2
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.d.cts +23 -23
- package/lib/Emoji.d.ts +23 -23
- package/lib/Emoji.js +2 -2
- package/lib/{Excalidraw-BBOIIhij.js → Excalidraw-CK40GI6U.js} +2 -2
- package/lib/{Excalidraw-CwZ3g3p-.cjs → Excalidraw-CPiaxnoj.cjs} +1 -1
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.d.cts +23 -23
- package/lib/Excalidraw.d.ts +23 -23
- package/lib/Excalidraw.js +1 -1
- package/lib/ExportPdf.cjs +1 -1
- package/lib/ExportPdf.d.cts +23 -23
- package/lib/ExportPdf.d.ts +23 -23
- package/lib/ExportPdf.js +1 -1
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.d.cts +23 -23
- package/lib/ExportWord.d.ts +23 -23
- package/lib/ExportWord.js +1 -1
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.d.cts +23 -23
- package/lib/FontFamily.d.ts +23 -23
- package/lib/FontFamily.js +3 -3
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.d.cts +23 -23
- package/lib/FontSize.d.ts +23 -23
- package/lib/FontSize.js +3 -3
- package/lib/FormatPainter.cjs +1 -1
- package/lib/FormatPainter.d.cts +23 -23
- package/lib/FormatPainter.d.ts +23 -23
- package/lib/FormatPainter.js +1 -1
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.d.cts +23 -23
- package/lib/Heading.d.ts +23 -23
- package/lib/Heading.js +2 -2
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.d.cts +23 -23
- package/lib/Highlight.d.ts +23 -23
- package/lib/Highlight.js +1 -1
- package/lib/History.cjs +1 -1
- package/lib/History.d.cts +23 -23
- package/lib/History.d.ts +23 -23
- package/lib/History.js +1 -1
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.d.cts +23 -23
- package/lib/HorizontalRule.d.ts +23 -23
- package/lib/HorizontalRule.js +1 -1
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.d.cts +23 -23
- package/lib/Iframe.d.ts +23 -23
- package/lib/Iframe.js +1 -1
- package/lib/Image.cjs +1 -1
- package/lib/Image.d.cts +30 -23
- package/lib/Image.d.ts +30 -23
- package/lib/Image.js +1 -1
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.d.cts +23 -23
- package/lib/ImageGif.d.ts +23 -23
- package/lib/ImageGif.js +1 -1
- package/lib/ImportWord.cjs +1 -1
- package/lib/ImportWord.d.cts +23 -23
- package/lib/ImportWord.d.ts +23 -23
- package/lib/ImportWord.js +2 -2
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.d.cts +23 -23
- package/lib/Indent.d.ts +23 -23
- package/lib/Indent.js +1 -1
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.d.cts +23 -23
- package/lib/Italic.d.ts +23 -23
- package/lib/Italic.js +1 -1
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.d.cts +23 -23
- package/lib/Katex.d.ts +23 -23
- package/lib/Katex.js +3 -3
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.d.cts +23 -23
- package/lib/LineHeight.d.ts +23 -23
- package/lib/LineHeight.js +2 -2
- package/lib/Link.cjs +1 -1
- package/lib/Link.d.cts +23 -23
- package/lib/Link.d.ts +23 -23
- package/lib/Link.js +1 -1
- package/lib/ListItem.d.cts +23 -23
- package/lib/ListItem.d.ts +23 -23
- package/lib/Mention.d.cts +23 -23
- package/lib/Mention.d.ts +23 -23
- package/lib/Mermaid.cjs +1 -1
- package/lib/Mermaid.d.cts +23 -23
- package/lib/Mermaid.d.ts +23 -23
- package/lib/Mermaid.js +3 -3
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.d.cts +23 -23
- package/lib/MoreMark.d.ts +23 -23
- package/lib/MoreMark.js +1 -1
- package/lib/MultiColumn.cjs +1 -1
- package/lib/MultiColumn.d.cts +23 -23
- package/lib/MultiColumn.d.ts +23 -23
- package/lib/MultiColumn.js +1 -1
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.d.cts +23 -23
- package/lib/OrderedList.d.ts +23 -23
- package/lib/OrderedList.js +1 -1
- package/lib/{RichTextEditor-OW4s40FH.js → RichTextEditor-BTv7R2Z0.js} +3311 -3187
- package/lib/RichTextEditor-Bca-oI9I.cjs +141 -0
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.d.cts +23 -23
- package/lib/SearchAndReplace.d.ts +23 -23
- package/lib/SearchAndReplace.js +2 -2
- package/lib/Selection.d.cts +23 -23
- package/lib/Selection.d.ts +23 -23
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.d.cts +23 -23
- package/lib/SlashCommand.d.ts +23 -23
- package/lib/SlashCommand.js +2 -2
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.d.cts +23 -23
- package/lib/Strike.d.ts +23 -23
- package/lib/Strike.js +1 -1
- package/lib/SubAndSuperScript.cjs +1 -1
- package/lib/SubAndSuperScript.d.cts +23 -23
- package/lib/SubAndSuperScript.d.ts +23 -23
- package/lib/SubAndSuperScript.js +1 -1
- package/lib/Table.cjs +1 -1
- package/lib/Table.d.cts +23 -23
- package/lib/Table.d.ts +23 -23
- package/lib/Table.js +2 -2
- package/lib/TableOfContent.cjs +1 -1
- package/lib/TableOfContent.d.cts +23 -23
- package/lib/TableOfContent.d.ts +23 -23
- package/lib/TableOfContent.js +2 -2
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.d.cts +23 -23
- package/lib/TaskList.d.ts +23 -23
- package/lib/TaskList.js +1 -1
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.d.cts +23 -23
- package/lib/TextAlign.d.ts +23 -23
- package/lib/TextAlign.js +1 -1
- package/lib/TextBubble.cjs +1 -1
- package/lib/TextBubble.d.cts +23 -23
- package/lib/TextBubble.d.ts +23 -23
- package/lib/TextBubble.js +2 -2
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.d.cts +23 -23
- package/lib/TextDirection.d.ts +23 -23
- package/lib/TextDirection.js +1 -1
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.d.cts +23 -23
- package/lib/TextUnderline.d.ts +23 -23
- package/lib/TextUnderline.js +1 -1
- package/lib/TrailingNode.d.cts +23 -23
- package/lib/TrailingNode.d.ts +23 -23
- package/lib/{Twitter-2LOf4hFb.js → Twitter-DZTS9Uc4.js} +2 -2
- package/lib/{Twitter-Cg58uzB-.cjs → Twitter-tp6dT1fs.cjs} +1 -1
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.d.cts +23 -23
- package/lib/Twitter.d.ts +23 -23
- package/lib/Twitter.js +1 -1
- package/lib/Video.cjs +1 -1
- package/lib/Video.d.cts +23 -23
- package/lib/Video.d.ts +23 -23
- package/lib/Video.js +2 -2
- package/lib/bubble-extra.cjs +1 -1
- package/lib/bubble-extra.d.cts +23 -23
- package/lib/bubble-extra.d.ts +23 -23
- package/lib/bubble-extra.js +6 -6
- package/lib/index-jEB3jXoa.cjs +1 -0
- package/lib/{index-D-DR0FPY.js → index-zcKfSGd5.js} +317 -295
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +23 -23
- package/lib/index.d.ts +23 -23
- package/lib/index.js +3 -3
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.d.cts +44 -24
- package/lib/locale-bundle.d.ts +44 -24
- package/lib/locale-bundle.js +1 -1
- package/lib/style.css +1 -1
- package/lib/{textarea-DM-_io94.js → textarea-DKyqOqL2.js} +1 -1
- package/lib/{textarea-DNz8Tnud.cjs → textarea-Yr93rFW5.cjs} +1 -1
- package/package.json +1 -1
- package/lib/RichTextEditor-C3sK_Ys3.cjs +0 -141
- package/lib/index-Dz3YxLE7.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var F = (t, o, n) =>
|
|
1
|
+
var A = Object.defineProperty;
|
|
2
|
+
var D = (t, o, n) => o in t ? A(t, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[o] = n;
|
|
3
|
+
var F = (t, o, n) => D(t, typeof o != "symbol" ? o + "" : o, n);
|
|
4
4
|
import { useSyncExternalStore as y, useMemo as E, useEffect as L } from "react";
|
|
5
5
|
const w = "en", B = 200, it = B - 80, rt = 20, lt = 1e5, dt = 16, at = 10, nt = 10, st = 2, pt = [
|
|
6
6
|
"#000000",
|
|
@@ -105,7 +105,7 @@ const w = "en", B = 200, it = B - 80, rt = 20, lt = 1e5, dt = 16, at = 10, nt =
|
|
|
105
105
|
"48px",
|
|
106
106
|
"72px"
|
|
107
107
|
], mt = "default";
|
|
108
|
-
var R = /* @__PURE__ */ ((t) => (t[t["size-small"] = 200] = "size-small", t[t["size-medium"] = 500] = "size-medium", t["size-large"] = "100%", t))(R || {}),
|
|
108
|
+
var R = /* @__PURE__ */ ((t) => (t[t["size-small"] = 200] = "size-small", t[t["size-medium"] = 500] = "size-medium", t["size-large"] = "100%", t))(R || {}), N = /* @__PURE__ */ ((t) => (t[t["size-small"] = 480] = "size-small", t[t["size-medium"] = 640] = "size-medium", t["size-large"] = "100%", t))(N || {});
|
|
109
109
|
const ct = ["100%", "115%", "150%", "200%", "250%", "300%"], ht = "1", ft = [
|
|
110
110
|
"bold",
|
|
111
111
|
"italic",
|
|
@@ -118,7 +118,7 @@ const ct = ["100%", "115%", "150%", "200%", "250%", "300%"], ht = "1", ft = [
|
|
|
118
118
|
"highlight",
|
|
119
119
|
"textAlign"
|
|
120
120
|
];
|
|
121
|
-
function
|
|
121
|
+
function I({
|
|
122
122
|
updateComputed: t,
|
|
123
123
|
notifyEffect: o
|
|
124
124
|
}) {
|
|
@@ -141,7 +141,7 @@ function W({
|
|
|
141
141
|
return;
|
|
142
142
|
}
|
|
143
143
|
const l = e.subsTail;
|
|
144
|
-
if (!(l !== void 0 && l.sub === i &&
|
|
144
|
+
if (!(l !== void 0 && l.sub === i && f(l, i)))
|
|
145
145
|
return p(e, i, d, r);
|
|
146
146
|
},
|
|
147
147
|
/**
|
|
@@ -157,14 +157,14 @@ function W({
|
|
|
157
157
|
let i = 32, r = e, d = 0;
|
|
158
158
|
t: do {
|
|
159
159
|
const l = e.sub, a = l.flags;
|
|
160
|
-
if (!(a & 244) && (l.flags = a | i | 8, !0) || a & 16 && !(a & 4) && (l.flags = a & -17 | i | 8, !0) || !(a & 224) &&
|
|
160
|
+
if (!(a & 244) && (l.flags = a | i | 8, !0) || a & 16 && !(a & 4) && (l.flags = a & -17 | i | 8, !0) || !(a & 224) && f(e, l) && (l.flags = a | 16 | i | 8, l.subs !== void 0)) {
|
|
161
161
|
const g = l.subs;
|
|
162
162
|
if (g !== void 0) {
|
|
163
163
|
g.nextSub !== void 0 ? (g.prevSub = r, e = r = g, i = 64, ++d) : (e = g, i = a & 2 ? 128 : 64);
|
|
164
164
|
continue;
|
|
165
165
|
}
|
|
166
166
|
a & 2 && (s !== void 0 ? s.depsTail.nextDep = l.deps : n = l, s = l);
|
|
167
|
-
} else a & (4 | i) ? !(a & i) && a & 224 &&
|
|
167
|
+
} else a & (4 | i) ? !(a & i) && a & 224 && f(e, l) && (l.flags = a | i) : (l.flags = a | i | 8, (a & 10) === 2 && (s !== void 0 ? s.depsTail.nextDep = l.deps : n = l, s = l));
|
|
168
168
|
if ((e = r.nextSub) !== void 0) {
|
|
169
169
|
r = e, i = d ? 64 : 32;
|
|
170
170
|
continue;
|
|
@@ -203,8 +203,8 @@ function W({
|
|
|
203
203
|
const i = e.depsTail;
|
|
204
204
|
if (i !== void 0) {
|
|
205
205
|
const r = i.nextDep;
|
|
206
|
-
r !== void 0 && (
|
|
207
|
-
} else e.deps !== void 0 && (
|
|
206
|
+
r !== void 0 && (b(r), i.nextDep = void 0);
|
|
207
|
+
} else e.deps !== void 0 && (b(e.deps), e.deps = void 0);
|
|
208
208
|
e.flags &= -5;
|
|
209
209
|
},
|
|
210
210
|
/**
|
|
@@ -218,7 +218,7 @@ function W({
|
|
|
218
218
|
* @returns `true` if the subscriber is marked as Dirty; otherwise `false`.
|
|
219
219
|
*/
|
|
220
220
|
updateDirtyFlag(e, i) {
|
|
221
|
-
return
|
|
221
|
+
return h(e.deps) ? (e.flags = i | 32, !0) : (e.flags = i & -65, !1);
|
|
222
222
|
},
|
|
223
223
|
/**
|
|
224
224
|
* Updates the computed subscriber if necessary before its value is accessed.
|
|
@@ -231,9 +231,9 @@ function W({
|
|
|
231
231
|
* @param flags - The current flag set for this subscriber.
|
|
232
232
|
*/
|
|
233
233
|
processComputedUpdate(e, i) {
|
|
234
|
-
if ((i & 32 || (
|
|
234
|
+
if ((i & 32 || (h(e.deps) || (e.flags = i & -65, !1))) && t(e)) {
|
|
235
235
|
const r = e.subs;
|
|
236
|
-
r !== void 0 &&
|
|
236
|
+
r !== void 0 && m(r);
|
|
237
237
|
}
|
|
238
238
|
},
|
|
239
239
|
/**
|
|
@@ -287,7 +287,7 @@ function W({
|
|
|
287
287
|
}
|
|
288
288
|
return i.depsTail = l, e.subsTail = l, l;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function h(e) {
|
|
291
291
|
let i = 0, r;
|
|
292
292
|
t: do {
|
|
293
293
|
r = !1;
|
|
@@ -297,7 +297,7 @@ function W({
|
|
|
297
297
|
if ((l & 33) === 33) {
|
|
298
298
|
if (t(d)) {
|
|
299
299
|
const a = d.subs;
|
|
300
|
-
a.nextSub !== void 0 &&
|
|
300
|
+
a.nextSub !== void 0 && m(a), r = !0;
|
|
301
301
|
}
|
|
302
302
|
} else if ((l & 65) === 65) {
|
|
303
303
|
const a = d.subs;
|
|
@@ -316,7 +316,7 @@ function W({
|
|
|
316
316
|
const a = l.subs;
|
|
317
317
|
if (r) {
|
|
318
318
|
if (t(l)) {
|
|
319
|
-
(e = a.prevSub) !== void 0 ? (a.prevSub = void 0,
|
|
319
|
+
(e = a.prevSub) !== void 0 ? (a.prevSub = void 0, m(l.subs), l = e.sub) : l = a.sub;
|
|
320
320
|
continue;
|
|
321
321
|
}
|
|
322
322
|
} else
|
|
@@ -338,13 +338,13 @@ function W({
|
|
|
338
338
|
return r;
|
|
339
339
|
} while (!0);
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function m(e) {
|
|
342
342
|
do {
|
|
343
343
|
const i = e.sub, r = i.flags;
|
|
344
344
|
(r & 96) === 64 && (i.flags = r | 32 | 8, (r & 10) === 2 && (s !== void 0 ? s.depsTail.nextDep = i.deps : n = i, s = i)), e = e.nextSub;
|
|
345
345
|
} while (e !== void 0);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function f(e, i) {
|
|
348
348
|
const r = i.depsTail;
|
|
349
349
|
if (r !== void 0) {
|
|
350
350
|
let d = i.deps;
|
|
@@ -358,7 +358,7 @@ function W({
|
|
|
358
358
|
}
|
|
359
359
|
return !1;
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function b(e) {
|
|
362
362
|
do {
|
|
363
363
|
const i = e.dep, r = e.nextDep, d = e.nextSub, l = e.prevSub;
|
|
364
364
|
if (d !== void 0 ? d.prevSub = l : i.subsTail = l, l !== void 0 ? l.nextSub = d : i.subs = d, i.subs === void 0 && "deps" in i) {
|
|
@@ -376,36 +376,36 @@ function W({
|
|
|
376
376
|
}
|
|
377
377
|
var {
|
|
378
378
|
link: C,
|
|
379
|
-
propagate:
|
|
380
|
-
updateDirtyFlag:
|
|
381
|
-
startTracking:
|
|
382
|
-
endTracking:
|
|
383
|
-
processEffectNotifications:
|
|
379
|
+
propagate: W,
|
|
380
|
+
updateDirtyFlag: U,
|
|
381
|
+
startTracking: v,
|
|
382
|
+
endTracking: T,
|
|
383
|
+
processEffectNotifications: j,
|
|
384
384
|
processComputedUpdate: bt,
|
|
385
|
-
processPendingInnerEffects:
|
|
386
|
-
} =
|
|
385
|
+
processPendingInnerEffects: z
|
|
386
|
+
} = I({
|
|
387
387
|
updateComputed(t) {
|
|
388
388
|
const o = u;
|
|
389
|
-
u = t,
|
|
389
|
+
u = t, v(t);
|
|
390
390
|
try {
|
|
391
391
|
const n = t.currentValue, s = t.getter(n);
|
|
392
392
|
return n !== s ? (t.currentValue = s, !0) : !1;
|
|
393
393
|
} finally {
|
|
394
|
-
u = o,
|
|
394
|
+
u = o, T(t);
|
|
395
395
|
}
|
|
396
396
|
},
|
|
397
397
|
notifyEffect(t) {
|
|
398
398
|
return "isScope" in t ? H(t) : q(t);
|
|
399
399
|
}
|
|
400
400
|
}), u;
|
|
401
|
-
function
|
|
401
|
+
function M(t) {
|
|
402
402
|
return V.bind({
|
|
403
403
|
currentValue: t,
|
|
404
404
|
subs: void 0,
|
|
405
405
|
subsTail: void 0
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function P(t) {
|
|
409
409
|
const o = {
|
|
410
410
|
fn: t,
|
|
411
411
|
subs: void 0,
|
|
@@ -415,42 +415,42 @@ function M(t) {
|
|
|
415
415
|
flags: 2
|
|
416
416
|
/* Effect */
|
|
417
417
|
};
|
|
418
|
-
return u !== void 0 && C(o, u),
|
|
418
|
+
return u !== void 0 && C(o, u), _(o), K.bind(o);
|
|
419
419
|
}
|
|
420
|
-
function
|
|
420
|
+
function _(t) {
|
|
421
421
|
const o = u;
|
|
422
|
-
u = t,
|
|
422
|
+
u = t, v(t);
|
|
423
423
|
try {
|
|
424
424
|
t.fn();
|
|
425
425
|
} finally {
|
|
426
|
-
u = o,
|
|
426
|
+
u = o, T(t);
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
function q(t) {
|
|
430
430
|
const o = t.flags;
|
|
431
|
-
return o & 32 || o & 64 &&
|
|
431
|
+
return o & 32 || o & 64 && U(t, o) ? _(t) : z(t, t.flags), !0;
|
|
432
432
|
}
|
|
433
433
|
function H(t) {
|
|
434
|
-
return t.flags & 128 ? (
|
|
434
|
+
return t.flags & 128 ? (z(t, t.flags), !0) : !1;
|
|
435
435
|
}
|
|
436
436
|
function V(...t) {
|
|
437
437
|
if (t.length) {
|
|
438
438
|
if (this.currentValue !== (this.currentValue = t[0])) {
|
|
439
439
|
const o = this.subs;
|
|
440
|
-
o !== void 0 && (
|
|
440
|
+
o !== void 0 && (W(o), j());
|
|
441
441
|
}
|
|
442
442
|
} else
|
|
443
443
|
return u !== void 0 && C(this, u), this.currentValue;
|
|
444
444
|
}
|
|
445
445
|
function K() {
|
|
446
|
-
|
|
446
|
+
v(this), T(this);
|
|
447
447
|
}
|
|
448
448
|
function O(t) {
|
|
449
|
-
return
|
|
449
|
+
return M(t);
|
|
450
450
|
}
|
|
451
451
|
function G(t) {
|
|
452
452
|
return [y((o) => {
|
|
453
|
-
let n =
|
|
453
|
+
let n = P(() => {
|
|
454
454
|
t(), o();
|
|
455
455
|
});
|
|
456
456
|
return () => n();
|
|
@@ -458,7 +458,56 @@ function G(t) {
|
|
|
458
458
|
t(typeof o == "function" ? o(t()) : o);
|
|
459
459
|
}];
|
|
460
460
|
}
|
|
461
|
-
|
|
461
|
+
function X(t) {
|
|
462
|
+
return t = t || /* @__PURE__ */ new Map(), {
|
|
463
|
+
/**
|
|
464
|
+
* A Map of event names to registered handler functions.
|
|
465
|
+
*/
|
|
466
|
+
all: t,
|
|
467
|
+
/**
|
|
468
|
+
* Register an event handler for the given type.
|
|
469
|
+
* @param {string|symbol} type Type of event to listen for, or `'*'` for all events
|
|
470
|
+
* @param {Function} handler Function to call in response to given event
|
|
471
|
+
* @memberOf mitt
|
|
472
|
+
*/
|
|
473
|
+
//@ts-expect-error
|
|
474
|
+
on(o, n) {
|
|
475
|
+
const s = t.get(o);
|
|
476
|
+
s ? s.push(n) : t.set(o, [n]);
|
|
477
|
+
},
|
|
478
|
+
/**
|
|
479
|
+
* Remove an event handler for the given type.
|
|
480
|
+
* If `handler` is omitted, all handlers of the given type are removed.
|
|
481
|
+
* @param {string|symbol} type Type of event to unregister `handler` from (`'*'` to remove a wildcard handler)
|
|
482
|
+
* @param {Function} [handler] Handler function to remove
|
|
483
|
+
* @memberOf mitt
|
|
484
|
+
*/
|
|
485
|
+
//@ts-expect-error
|
|
486
|
+
off(o, n) {
|
|
487
|
+
const s = t.get(o);
|
|
488
|
+
s && (n ? s.splice(s.indexOf(n) >>> 0, 1) : t.set(o, []));
|
|
489
|
+
},
|
|
490
|
+
/**
|
|
491
|
+
* Invoke all handlers for the given type.
|
|
492
|
+
* If present, `'*'` handlers are invoked after type-matched handlers.
|
|
493
|
+
*
|
|
494
|
+
* Note: Manually firing '*' handlers is not supported.
|
|
495
|
+
*
|
|
496
|
+
* @param {string|symbol} type The event type to invoke
|
|
497
|
+
* @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler
|
|
498
|
+
* @memberOf mitt
|
|
499
|
+
*/
|
|
500
|
+
emit(o, n) {
|
|
501
|
+
let s = t.get(o);
|
|
502
|
+
s && [...s].map((p) => {
|
|
503
|
+
p(n);
|
|
504
|
+
}), s = t.get("*"), s && [...s].map((p) => {
|
|
505
|
+
p(o, n);
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
const $ = {
|
|
462
511
|
"editor.remove": "Remove",
|
|
463
512
|
"editor.copy": "Copy",
|
|
464
513
|
"editor.words": "WORDS",
|
|
@@ -576,6 +625,7 @@ const X = {
|
|
|
576
625
|
"editor.fullscreen.tooltip.exit": "Fullscreen Exit",
|
|
577
626
|
"editor.imageUpload.cancel": "Cancel",
|
|
578
627
|
"editor.imageUpload.crop": "Crop",
|
|
628
|
+
"editor.imageUpload.uploading": "Uploading...",
|
|
579
629
|
"editor.imageUpload.fileTypeNotSupported": "File type not supported",
|
|
580
630
|
"editor.imageUpload.fileSizeTooBig": "File size too big, Maximum size is",
|
|
581
631
|
"editor.table.menu.insertColumnBefore": "Insert Column Before",
|
|
@@ -628,8 +678,186 @@ const X = {
|
|
|
628
678
|
"editor.twitter.tooltip": "Twitter",
|
|
629
679
|
"editor.codeView.tooltip": "Code View",
|
|
630
680
|
"editor.tooltip.flipX": "Flip Horizontal",
|
|
631
|
-
"editor.tooltip.flipY": "Flip Vertical"
|
|
632
|
-
}
|
|
681
|
+
"editor.tooltip.flipY": "Flip Vertical",
|
|
682
|
+
"editor.upload.fileTypeNotSupported": "{fileName} file type not supported",
|
|
683
|
+
"editor.upload.fileSizeTooBig": "{fileName} file size too big, maximum size is {size}MB",
|
|
684
|
+
"editor.upload.error": "Error uploading file"
|
|
685
|
+
}, Y = {
|
|
686
|
+
"editor.remove": "Eltávolítás",
|
|
687
|
+
"editor.copy": "Másolás",
|
|
688
|
+
"editor.words": "SZAVAK",
|
|
689
|
+
"editor.characters": "KARAKTEREK",
|
|
690
|
+
"editor.default": "Alapértelmezett",
|
|
691
|
+
"editor.recent": "Gyakran használt",
|
|
692
|
+
"editor.nofill": "Kitöltés törlése",
|
|
693
|
+
"editor.format": "Formátummásoló",
|
|
694
|
+
"editor.delete": "Törlés",
|
|
695
|
+
"editor.edit": "Szerkesztés",
|
|
696
|
+
"editor.settings": "Beállítások",
|
|
697
|
+
"editor.table_of_content": "Tartalomjegyzék",
|
|
698
|
+
"editor.draghandle.tooltip": "Módosítás",
|
|
699
|
+
"editor.copyToClipboard": "Másolás vágólapra",
|
|
700
|
+
"editor.slash": "Nyomja meg a '/' gombot a parancsokhoz",
|
|
701
|
+
"editor.slash.empty": "Nincs találat",
|
|
702
|
+
"editor.slash.format": "Formátum",
|
|
703
|
+
"editor.slash.insert": "Beszúrás",
|
|
704
|
+
"editor.slash.embed": "Szolgáltatások beágyazása",
|
|
705
|
+
"editor.content": "Írjon be tartalmat",
|
|
706
|
+
"editor.fontFamily.tooltip": "Betűtípus",
|
|
707
|
+
"editor.fontFamily.default.tooltip": "Alapértelmezett",
|
|
708
|
+
"editor.moremark": "Több betűstílus",
|
|
709
|
+
"editor.size.small.tooltip": "Kicsi",
|
|
710
|
+
"editor.size.medium.tooltip": "Közepes",
|
|
711
|
+
"editor.size.large.tooltip": "Borítókép",
|
|
712
|
+
"editor.bold.tooltip": "Félkövér",
|
|
713
|
+
"editor.italic.tooltip": "Dőlt betű",
|
|
714
|
+
"editor.underline.tooltip": "Aláhúzott",
|
|
715
|
+
"editor.strike.tooltip": "Áthúzott",
|
|
716
|
+
"editor.color.tooltip": "Szín",
|
|
717
|
+
"editor.color.more": "Több szín",
|
|
718
|
+
"editor.highlight.tooltip": "Kiemelés",
|
|
719
|
+
"editor.lineheight.tooltip": "Sorköz",
|
|
720
|
+
"editor.heading.tooltip": "Fejlécek",
|
|
721
|
+
"editor.heading.h1.tooltip": "Fejléc 1",
|
|
722
|
+
"editor.heading.h2.tooltip": "Fejléc 2",
|
|
723
|
+
"editor.heading.h3.tooltip": "Fejléc 3",
|
|
724
|
+
"editor.heading.h4.tooltip": "Fejléc 4",
|
|
725
|
+
"editor.heading.h5.tooltip": "Fejléc 5",
|
|
726
|
+
"editor.heading.h6.tooltip": "Fejléc 6",
|
|
727
|
+
"editor.paragraph.tooltip": "Bekezdés",
|
|
728
|
+
"editor.textalign.tooltip": "Igazítás",
|
|
729
|
+
"editor.textalign.left.tooltip": "Bal",
|
|
730
|
+
"editor.textalign.center.tooltip": "Közép",
|
|
731
|
+
"editor.textalign.right.tooltip": "Jobb",
|
|
732
|
+
"editor.textalign.justify.tooltip": "Sorkizárt",
|
|
733
|
+
"editor.indent": "Behúzás",
|
|
734
|
+
"editor.indent.indent": "Behúzás Növelése",
|
|
735
|
+
"editor.indent.outdent": "Behúzás Csökkentése",
|
|
736
|
+
"editor.fontSize.tooltip": "Betűméret",
|
|
737
|
+
"editor.fontSize.default.tooltip": "Alapértelmezett",
|
|
738
|
+
"editor.superscript.tooltip": "Felső index",
|
|
739
|
+
"editor.subscript.tooltip": "Alsó index",
|
|
740
|
+
"editor.bulletlist.tooltip": "Felsorolás",
|
|
741
|
+
"editor.orderedlist.tooltip": "Rendezett lista",
|
|
742
|
+
"editor.tasklist.tooltip": "Feladat lista",
|
|
743
|
+
"editor.indent.tooltip": "Behúzás növelése",
|
|
744
|
+
"editor.outdent.tooltip": "Behúzás csökkentése",
|
|
745
|
+
"editor.columns.tooltip": "Oszlopok",
|
|
746
|
+
"editor.link.tooltip": "Link",
|
|
747
|
+
"editor.link.unlink.tooltip": "Link törlése",
|
|
748
|
+
"editor.link.open.tooltip": "Link megnyitása",
|
|
749
|
+
"editor.link.edit.tooltip": "Link szerkesztése",
|
|
750
|
+
"editor.link.dialog.title": "Link beszúrása",
|
|
751
|
+
"editor.link.dialog.link": "Link",
|
|
752
|
+
"editor.link.dialog.text": "Szöveg",
|
|
753
|
+
"editor.link.dialog.openInNewTab": "Megnyitás új lapon",
|
|
754
|
+
"editor.link.dialog.link.placeholder": "Link célpont",
|
|
755
|
+
"editor.link.dialog.text.placeholder": "Szöveg",
|
|
756
|
+
"editor.link.dialog.button.apply": "Alkalmaz",
|
|
757
|
+
"editor.image.tooltip": "Kép",
|
|
758
|
+
"editor.image.dragger.tooltip": "Kattintson vagy húzza a feltölteni kívánt képet a területre",
|
|
759
|
+
"editor.image.float.left.tooltip": "Lebegtetés balra",
|
|
760
|
+
"editor.image.float.none.tooltip": "Lebegtetés törlése",
|
|
761
|
+
"editor.image.float.right.tooltip": "Lebegtetés jobbra",
|
|
762
|
+
"editor.image.dialog.title": "Kép hozzáadása",
|
|
763
|
+
"editor.image.dialog.tab.url": "URL",
|
|
764
|
+
"editor.image.dialog.tab.upload": "Feltöltés",
|
|
765
|
+
"editor.image.dialog.tab.uploadCrop": "Feltöltés és körbevágás",
|
|
766
|
+
"editor.image.dialog.uploading": "Feltöltés alatt",
|
|
767
|
+
"editor.link.dialog.inline": "Soron belüli",
|
|
768
|
+
"editor.image.dialog.form.link": "Link",
|
|
769
|
+
"editor.image.dialog.placeholder": "Link",
|
|
770
|
+
"editor.image.dialog.form.alt": "Alternatív szöveg",
|
|
771
|
+
"editor.image.dialog.form.aspectRatio": "Eredeti képarány megtartása",
|
|
772
|
+
"editor.image.dialog.form.file": "Fájl",
|
|
773
|
+
"editor.image.dialog.button.apply": "Alkalmaz",
|
|
774
|
+
"editor.video.tooltip": "Videó",
|
|
775
|
+
"editor.video.dialog.tab.upload": "Feltöltés",
|
|
776
|
+
"editor.video.dialog.uploading": "Feltöltés alatt",
|
|
777
|
+
"editor.video.dialog.title": "Videó beágyazása vagy feltöltése",
|
|
778
|
+
"editor.video.dialog.link": "Link",
|
|
779
|
+
"editor.video.dialog.placeholder": "Link",
|
|
780
|
+
"editor.video.dialog.button.apply": "Alkalmaz",
|
|
781
|
+
"editor.table.tooltip": "Táblázat",
|
|
782
|
+
"editor.table.menu.insert_table": "Táblázat beszúrása",
|
|
783
|
+
"editor.table.menu.insert_table.with_header_row": "Fejléc sorral",
|
|
784
|
+
"editor.table.menu.add_column_before": "Oszlop beszúrása balra",
|
|
785
|
+
"editor.table.menu.add_column_after": "Oszlop beszúrása jobbra",
|
|
786
|
+
"editor.table.menu.delete_column": "Oszlop törlése",
|
|
787
|
+
"editor.table.menu.add_row_before": "Sor beszúrása felülre",
|
|
788
|
+
"editor.table.menu.add_row_after": "Sor beszúrása alulra",
|
|
789
|
+
"editor.table.menu.delete_row": "Sor törlése",
|
|
790
|
+
"editor.table.menu.merge_or_split_cells": "Cellák egyesítése vagy szétválasztása",
|
|
791
|
+
"editor.table.menu.delete_table": "Táblázat törlése",
|
|
792
|
+
"editor.blockquote.tooltip": "Blokkidézet",
|
|
793
|
+
"editor.horizontalrule.tooltip": "Vízszintes vonal",
|
|
794
|
+
"editor.code.tooltip": "Kód",
|
|
795
|
+
"editor.codeblock.tooltip": "Kód Blokk",
|
|
796
|
+
"editor.clear.tooltip": "Formatálás Törlése",
|
|
797
|
+
"editor.undo.tooltip": "Visszavonás",
|
|
798
|
+
"editor.redo.tooltip": "Visszaállítás",
|
|
799
|
+
"editor.fullscreen.tooltip.fullscreen": "Teljes képernyős mód",
|
|
800
|
+
"editor.fullscreen.tooltip.exit": "Kilépés teljes képernyős módból",
|
|
801
|
+
"editor.imageUpload.cancel": "Mégsem",
|
|
802
|
+
"editor.imageUpload.crop": "Körbevágás",
|
|
803
|
+
"editor.imageUpload.uploading": "Feltöltés...",
|
|
804
|
+
"editor.imageUpload.fileTypeNotSupported": "Fájltípus nem támogatott",
|
|
805
|
+
"editor.imageUpload.fileSizeTooBig": "A fájlméret túl nagy, a maximum méret",
|
|
806
|
+
"editor.table.menu.insertColumnBefore": "Oszlop beszúrása balra",
|
|
807
|
+
"editor.table.menu.insertColumnAfter": "Oszlop beszúrása jobbra",
|
|
808
|
+
"editor.table.menu.deleteColumn": "Oszlop törlése",
|
|
809
|
+
"editor.table.menu.insertRowAbove": "Sor beszúrása felülre",
|
|
810
|
+
"editor.table.menu.insertRowBelow": "Sor beszúrása alulra",
|
|
811
|
+
"editor.table.menu.deleteRow": "Sor törlése",
|
|
812
|
+
"editor.table.menu.mergeCells": "Cellák egyesítése",
|
|
813
|
+
"editor.table.menu.splitCells": "Cellék szétválasztása",
|
|
814
|
+
"editor.table.menu.deleteTable": "Táblázat törlése",
|
|
815
|
+
"editor.table.menu.setCellsBgColor": "Cella háttérszín",
|
|
816
|
+
"editor.emoji.tooltip": "Emoji",
|
|
817
|
+
"editor.iframe.tooltip": "Beágyazás",
|
|
818
|
+
"editor.searchAndReplace.tooltip": "Keresés és csere",
|
|
819
|
+
"editor.search.dialog.text": "Keres",
|
|
820
|
+
"editor.replace.dialog.text": "Csere",
|
|
821
|
+
"editor.replaceAll.dialog.text": "Összes cseréje",
|
|
822
|
+
"editor.previous.dialog.text": "Előző",
|
|
823
|
+
"editor.next.dialog.text": "Következő",
|
|
824
|
+
no_result_found: "Nincs találat",
|
|
825
|
+
"Smileys & People": "Arcok és emberek",
|
|
826
|
+
"Animals & Nature": "Állatok és természet",
|
|
827
|
+
"Food & Drink": "Étel és ital",
|
|
828
|
+
Activity: "Aktivitás",
|
|
829
|
+
"Travel & Places": "Utazás és helyek",
|
|
830
|
+
Object: "Tárgyak",
|
|
831
|
+
Symbol: "Szimbólumok",
|
|
832
|
+
Flags: "Zászlók",
|
|
833
|
+
"Frequently used": "Gyakran használt",
|
|
834
|
+
"editor.formula.dialog.text": "Formula",
|
|
835
|
+
"editor.katex.tooltip": "Matematikai formula",
|
|
836
|
+
"editor.exportPdf.tooltip": "PDF exportálása",
|
|
837
|
+
"editor.exportWord.tooltip": "Word exportálása",
|
|
838
|
+
"editor.importWord.tooltip": "Word importálása",
|
|
839
|
+
"editor.importWord.limitSize": "A fájl mérete nem haladhatja meg",
|
|
840
|
+
"editor.importWord.converting": "Word dokumentum konvertálása, kérjük, várjon...",
|
|
841
|
+
"editor.importWord.convertError": "Hiba a Word-dokumentum elemzésekor",
|
|
842
|
+
"editor.importWord.importError": "Hiba a Word dokumentum importálásakor",
|
|
843
|
+
"editor.textDirection.tooltip": "Szövegirány",
|
|
844
|
+
"editor.textDirection.auto.tooltip": "Automatikus",
|
|
845
|
+
"editor.textDirection.ltr.tooltip": "Balról jobbra",
|
|
846
|
+
"editor.textDirection.rtl.tooltip": "Jobbról balra",
|
|
847
|
+
"editor.attachment.tooltip": "Csatolmány",
|
|
848
|
+
"editor.attachment.uploading": "Feltöltés alatt",
|
|
849
|
+
"editor.attachment.please_upload": "Töltse fel a fájlt",
|
|
850
|
+
"editor.imageGif.tooltip": "Gif",
|
|
851
|
+
"editor.replace.caseSensitive": "Kisbetű-nagybetű érzékenység",
|
|
852
|
+
"editor.mermaid.tooltip": "Mermaid",
|
|
853
|
+
"editor.twitter.tooltip": "Twitter",
|
|
854
|
+
"editor.codeView.tooltip": "Kódnézet",
|
|
855
|
+
"editor.tooltip.flipX": "Vízszintes tükrözés",
|
|
856
|
+
"editor.tooltip.flipY": "Függőleges tükrözés",
|
|
857
|
+
"editor.upload.fileTypeNotSupported": "{fileName} fájltípus nem támogatott",
|
|
858
|
+
"editor.upload.fileSizeTooBig": "{fileName} fájlméret túl nagy, maximális méret {size}MB",
|
|
859
|
+
"editor.upload.error": "Hiba a fájl feltöltésekor"
|
|
860
|
+
}, J = {
|
|
633
861
|
"editor.remove": "Remover",
|
|
634
862
|
"editor.copy": "Copiar",
|
|
635
863
|
"editor.words": "PALAVRAS",
|
|
@@ -747,6 +975,7 @@ const X = {
|
|
|
747
975
|
"editor.fullscreen.tooltip.exit": "Sair da tela cheia",
|
|
748
976
|
"editor.imageUpload.cancel": "Cancelar",
|
|
749
977
|
"editor.imageUpload.crop": "Cortar",
|
|
978
|
+
"editor.imageUpload.uploading": "Enviando...",
|
|
750
979
|
"editor.imageUpload.fileTypeNotSupported": "Tipo de arquivo não suportado",
|
|
751
980
|
"editor.imageUpload.fileSizeTooBig": "Tamanho do arquivo muito grande, tamanho máximo é",
|
|
752
981
|
"editor.table.menu.insertColumnBefore": "Inserir coluna antes",
|
|
@@ -799,8 +1028,11 @@ const X = {
|
|
|
799
1028
|
"editor.twitter.tooltip": "Twitter",
|
|
800
1029
|
"editor.codeView.tooltip": "Visualização de código",
|
|
801
1030
|
"editor.tooltip.flipX": "Inverter Horizontal",
|
|
802
|
-
"editor.tooltip.flipY": "Inverter Vertical"
|
|
803
|
-
}
|
|
1031
|
+
"editor.tooltip.flipY": "Inverter Vertical",
|
|
1032
|
+
"editor.upload.fileTypeNotSupported": "{fileName} tipo de arquivo não suportado",
|
|
1033
|
+
"editor.upload.fileSizeTooBig": "{fileName} tamanho do arquivo muito grande, o tamanho máximo é {size}MB",
|
|
1034
|
+
"editor.upload.error": "Erro ao enviar arquivo"
|
|
1035
|
+
}, Q = {
|
|
804
1036
|
"editor.remove": "Xóa",
|
|
805
1037
|
"editor.copy": "Sao chép",
|
|
806
1038
|
"editor.words": "TỪ",
|
|
@@ -918,6 +1150,7 @@ const X = {
|
|
|
918
1150
|
"editor.fullscreen.tooltip.exit": "Thoát toàn màn hình",
|
|
919
1151
|
"editor.imageUpload.cancel": "Hủy",
|
|
920
1152
|
"editor.imageUpload.crop": "Cắt",
|
|
1153
|
+
"editor.imageUpload.uploading": "Đang tải lên...",
|
|
921
1154
|
"editor.imageUpload.fileTypeNotSupported": "Loại tệp không được hỗ trợ",
|
|
922
1155
|
"editor.imageUpload.fileSizeTooBig": "Kích thước tệp quá lớn, Kích thước tối đa là",
|
|
923
1156
|
"editor.table.menu.insertColumnBefore": "Chèn cột trước",
|
|
@@ -970,8 +1203,11 @@ const X = {
|
|
|
970
1203
|
"editor.twitter.tooltip": "Twitter",
|
|
971
1204
|
"editor.codeView.tooltip": "Xem mã",
|
|
972
1205
|
"editor.tooltip.flipX": "Lật Ngang",
|
|
973
|
-
"editor.tooltip.flipY": "Lật Dọc"
|
|
974
|
-
}
|
|
1206
|
+
"editor.tooltip.flipY": "Lật Dọc",
|
|
1207
|
+
"editor.upload.fileTypeNotSupported": "{fileName} loại tệp không được hỗ trợ",
|
|
1208
|
+
"editor.upload.fileSizeTooBig": "{fileName} kích thước tệp quá lớn, kích thước tối đa là {size}MB",
|
|
1209
|
+
"editor.upload.error": "Lỗi khi tải lên tệp"
|
|
1210
|
+
}, Z = {
|
|
975
1211
|
"editor.remove": "移除",
|
|
976
1212
|
"editor.copy": "复制",
|
|
977
1213
|
"editor.words": "字数",
|
|
@@ -1089,6 +1325,7 @@ const X = {
|
|
|
1089
1325
|
"editor.fullscreen.tooltip.exit": "退出全屏",
|
|
1090
1326
|
"editor.imageUpload.cancel": "取消",
|
|
1091
1327
|
"editor.imageUpload.crop": "裁剪",
|
|
1328
|
+
"editor.imageUpload.uploading": "上传中...",
|
|
1092
1329
|
"editor.imageUpload.fileTypeNotSupported": "不支持的文件类型",
|
|
1093
1330
|
"editor.imageUpload.fileSizeTooBig": "文件大小超出限制,最大大小为",
|
|
1094
1331
|
"editor.table.menu.insertColumnBefore": "在前面插入列",
|
|
@@ -1141,262 +1378,44 @@ const X = {
|
|
|
1141
1378
|
"editor.twitter.tooltip": "Twitter",
|
|
1142
1379
|
"editor.codeView.tooltip": "代码视图",
|
|
1143
1380
|
"editor.tooltip.flipX": "水平翻转",
|
|
1144
|
-
"editor.tooltip.flipY": "垂直翻转"
|
|
1145
|
-
},
|
|
1146
|
-
"editor.
|
|
1147
|
-
"editor.
|
|
1148
|
-
|
|
1149
|
-
"editor.characters": "KARAKTEREK",
|
|
1150
|
-
"editor.default": "Alapértelmezett",
|
|
1151
|
-
"editor.recent": "Gyakran használt",
|
|
1152
|
-
"editor.nofill": "Kitöltés törlése",
|
|
1153
|
-
"editor.format": "Formátummásoló",
|
|
1154
|
-
"editor.delete": "Törlés",
|
|
1155
|
-
"editor.edit": "Szerkesztés",
|
|
1156
|
-
"editor.settings": "Beállítások",
|
|
1157
|
-
"editor.table_of_content": "Tartalomjegyzék",
|
|
1158
|
-
"editor.draghandle.tooltip": "Módosítás",
|
|
1159
|
-
"editor.copyToClipboard": "Másolás vágólapra",
|
|
1160
|
-
"editor.slash": "Nyomja meg a '/' gombot a parancsokhoz",
|
|
1161
|
-
"editor.slash.empty": "Nincs találat",
|
|
1162
|
-
"editor.slash.format": "Formátum",
|
|
1163
|
-
"editor.slash.insert": "Beszúrás",
|
|
1164
|
-
"editor.slash.embed": "Szolgáltatások beágyazása",
|
|
1165
|
-
"editor.content": "Írjon be tartalmat",
|
|
1166
|
-
"editor.fontFamily.tooltip": "Betűtípus",
|
|
1167
|
-
"editor.fontFamily.default.tooltip": "Alapértelmezett",
|
|
1168
|
-
"editor.moremark": "Több betűstílus",
|
|
1169
|
-
"editor.size.small.tooltip": "Kicsi",
|
|
1170
|
-
"editor.size.medium.tooltip": "Közepes",
|
|
1171
|
-
"editor.size.large.tooltip": "Borítókép",
|
|
1172
|
-
"editor.bold.tooltip": "Félkövér",
|
|
1173
|
-
"editor.italic.tooltip": "Dőlt betű",
|
|
1174
|
-
"editor.underline.tooltip": "Aláhúzott",
|
|
1175
|
-
"editor.strike.tooltip": "Áthúzott",
|
|
1176
|
-
"editor.color.tooltip": "Szín",
|
|
1177
|
-
"editor.color.more": "Több szín",
|
|
1178
|
-
"editor.highlight.tooltip": "Kiemelés",
|
|
1179
|
-
"editor.lineheight.tooltip": "Sorköz",
|
|
1180
|
-
"editor.heading.tooltip": "Fejlécek",
|
|
1181
|
-
"editor.heading.h1.tooltip": "Fejléc 1",
|
|
1182
|
-
"editor.heading.h2.tooltip": "Fejléc 2",
|
|
1183
|
-
"editor.heading.h3.tooltip": "Fejléc 3",
|
|
1184
|
-
"editor.heading.h4.tooltip": "Fejléc 4",
|
|
1185
|
-
"editor.heading.h5.tooltip": "Fejléc 5",
|
|
1186
|
-
"editor.heading.h6.tooltip": "Fejléc 6",
|
|
1187
|
-
"editor.paragraph.tooltip": "Bekezdés",
|
|
1188
|
-
"editor.textalign.tooltip": "Igazítás",
|
|
1189
|
-
"editor.textalign.left.tooltip": "Bal",
|
|
1190
|
-
"editor.textalign.center.tooltip": "Közép",
|
|
1191
|
-
"editor.textalign.right.tooltip": "Jobb",
|
|
1192
|
-
"editor.textalign.justify.tooltip": "Sorkizárt",
|
|
1193
|
-
"editor.indent": "Behúzás",
|
|
1194
|
-
"editor.indent.indent": "Behúzás Növelése",
|
|
1195
|
-
"editor.indent.outdent": "Behúzás Csökkentése",
|
|
1196
|
-
"editor.fontSize.tooltip": "Betűméret",
|
|
1197
|
-
"editor.fontSize.default.tooltip": "Alapértelmezett",
|
|
1198
|
-
"editor.superscript.tooltip": "Felső index",
|
|
1199
|
-
"editor.subscript.tooltip": "Alsó index",
|
|
1200
|
-
"editor.bulletlist.tooltip": "Felsorolás",
|
|
1201
|
-
"editor.orderedlist.tooltip": "Rendezett lista",
|
|
1202
|
-
"editor.tasklist.tooltip": "Feladat lista",
|
|
1203
|
-
"editor.indent.tooltip": "Behúzás növelése",
|
|
1204
|
-
"editor.outdent.tooltip": "Behúzás csökkentése",
|
|
1205
|
-
"editor.columns.tooltip": "Oszlopok",
|
|
1206
|
-
"editor.link.tooltip": "Link",
|
|
1207
|
-
"editor.link.unlink.tooltip": "Link törlése",
|
|
1208
|
-
"editor.link.open.tooltip": "Link megnyitása",
|
|
1209
|
-
"editor.link.edit.tooltip": "Link szerkesztése",
|
|
1210
|
-
"editor.link.dialog.title": "Link beszúrása",
|
|
1211
|
-
"editor.link.dialog.link": "Link",
|
|
1212
|
-
"editor.link.dialog.text": "Szöveg",
|
|
1213
|
-
"editor.link.dialog.openInNewTab": "Megnyitás új lapon",
|
|
1214
|
-
"editor.link.dialog.link.placeholder": "Link célpont",
|
|
1215
|
-
"editor.link.dialog.text.placeholder": "Szöveg",
|
|
1216
|
-
"editor.link.dialog.button.apply": "Alkalmaz",
|
|
1217
|
-
"editor.image.tooltip": "Kép",
|
|
1218
|
-
"editor.image.dragger.tooltip": "Kattintson vagy húzza a feltölteni kívánt képet a területre",
|
|
1219
|
-
"editor.image.float.left.tooltip": "Lebegtetés balra",
|
|
1220
|
-
"editor.image.float.none.tooltip": "Lebegtetés törlése",
|
|
1221
|
-
"editor.image.float.right.tooltip": "Lebegtetés jobbra",
|
|
1222
|
-
"editor.image.dialog.title": "Kép hozzáadása",
|
|
1223
|
-
"editor.image.dialog.tab.url": "URL",
|
|
1224
|
-
"editor.image.dialog.tab.upload": "Feltöltés",
|
|
1225
|
-
"editor.image.dialog.tab.uploadCrop": "Feltöltés és körbevágás",
|
|
1226
|
-
"editor.image.dialog.uploading": "Feltöltés alatt",
|
|
1227
|
-
"editor.link.dialog.inline": "Soron belüli",
|
|
1228
|
-
"editor.image.dialog.form.link": "Link",
|
|
1229
|
-
"editor.image.dialog.placeholder": "Link",
|
|
1230
|
-
"editor.image.dialog.form.alt": "Alternatív szöveg",
|
|
1231
|
-
"editor.image.dialog.form.aspectRatio": "Eredeti képarány megtartása",
|
|
1232
|
-
"editor.image.dialog.form.file": "Fájl",
|
|
1233
|
-
"editor.image.dialog.button.apply": "Alkalmaz",
|
|
1234
|
-
"editor.video.tooltip": "Videó",
|
|
1235
|
-
"editor.video.dialog.tab.upload": "Feltöltés",
|
|
1236
|
-
"editor.video.dialog.uploading": "Feltöltés alatt",
|
|
1237
|
-
"editor.video.dialog.title": "Videó beágyazása vagy feltöltése",
|
|
1238
|
-
"editor.video.dialog.link": "Link",
|
|
1239
|
-
"editor.video.dialog.placeholder": "Link",
|
|
1240
|
-
"editor.video.dialog.button.apply": "Alkalmaz",
|
|
1241
|
-
"editor.table.tooltip": "Táblázat",
|
|
1242
|
-
"editor.table.menu.insert_table": "Táblázat beszúrása",
|
|
1243
|
-
"editor.table.menu.insert_table.with_header_row": "Fejléc sorral",
|
|
1244
|
-
"editor.table.menu.add_column_before": "Oszlop beszúrása balra",
|
|
1245
|
-
"editor.table.menu.add_column_after": "Oszlop beszúrása jobbra",
|
|
1246
|
-
"editor.table.menu.delete_column": "Oszlop törlése",
|
|
1247
|
-
"editor.table.menu.add_row_before": "Sor beszúrása felülre",
|
|
1248
|
-
"editor.table.menu.add_row_after": "Sor beszúrása alulra",
|
|
1249
|
-
"editor.table.menu.delete_row": "Sor törlése",
|
|
1250
|
-
"editor.table.menu.merge_or_split_cells": "Cellák egyesítése vagy szétválasztása",
|
|
1251
|
-
"editor.table.menu.delete_table": "Táblázat törlése",
|
|
1252
|
-
"editor.blockquote.tooltip": "Blokkidézet",
|
|
1253
|
-
"editor.horizontalrule.tooltip": "Vízszintes vonal",
|
|
1254
|
-
"editor.code.tooltip": "Kód",
|
|
1255
|
-
"editor.codeblock.tooltip": "Kód Blokk",
|
|
1256
|
-
"editor.clear.tooltip": "Formatálás Törlése",
|
|
1257
|
-
"editor.undo.tooltip": "Visszavonás",
|
|
1258
|
-
"editor.redo.tooltip": "Visszaállítás",
|
|
1259
|
-
"editor.fullscreen.tooltip.fullscreen": "Teljes képernyős mód",
|
|
1260
|
-
"editor.fullscreen.tooltip.exit": "Kilépés teljes képernyős módból",
|
|
1261
|
-
"editor.imageUpload.cancel": "Mégsem",
|
|
1262
|
-
"editor.imageUpload.crop": "Körbevágás",
|
|
1263
|
-
"editor.imageUpload.fileTypeNotSupported": "Fájltípus nem támogatott",
|
|
1264
|
-
"editor.imageUpload.fileSizeTooBig": "A fájlméret túl nagy, a maximum méret",
|
|
1265
|
-
"editor.table.menu.insertColumnBefore": "Oszlop beszúrása balra",
|
|
1266
|
-
"editor.table.menu.insertColumnAfter": "Oszlop beszúrása jobbra",
|
|
1267
|
-
"editor.table.menu.deleteColumn": "Oszlop törlése",
|
|
1268
|
-
"editor.table.menu.insertRowAbove": "Sor beszúrása felülre",
|
|
1269
|
-
"editor.table.menu.insertRowBelow": "Sor beszúrása alulra",
|
|
1270
|
-
"editor.table.menu.deleteRow": "Sor törlése",
|
|
1271
|
-
"editor.table.menu.mergeCells": "Cellák egyesítése",
|
|
1272
|
-
"editor.table.menu.splitCells": "Cellék szétválasztása",
|
|
1273
|
-
"editor.table.menu.deleteTable": "Táblázat törlése",
|
|
1274
|
-
"editor.table.menu.setCellsBgColor": "Cella háttérszín",
|
|
1275
|
-
"editor.emoji.tooltip": "Emoji",
|
|
1276
|
-
"editor.iframe.tooltip": "Beágyazás",
|
|
1277
|
-
"editor.searchAndReplace.tooltip": "Keresés és csere",
|
|
1278
|
-
"editor.search.dialog.text": "Keres",
|
|
1279
|
-
"editor.replace.dialog.text": "Csere",
|
|
1280
|
-
"editor.replaceAll.dialog.text": "Összes cseréje",
|
|
1281
|
-
"editor.previous.dialog.text": "Előző",
|
|
1282
|
-
"editor.next.dialog.text": "Következő",
|
|
1283
|
-
no_result_found: "Nincs találat",
|
|
1284
|
-
"Smileys & People": "Arcok és emberek",
|
|
1285
|
-
"Animals & Nature": "Állatok és természet",
|
|
1286
|
-
"Food & Drink": "Étel és ital",
|
|
1287
|
-
Activity: "Aktivitás",
|
|
1288
|
-
"Travel & Places": "Utazás és helyek",
|
|
1289
|
-
Object: "Tárgyak",
|
|
1290
|
-
Symbol: "Szimbólumok",
|
|
1291
|
-
Flags: "Zászlók",
|
|
1292
|
-
"Frequently used": "Gyakran használt",
|
|
1293
|
-
"editor.formula.dialog.text": "Formula",
|
|
1294
|
-
"editor.katex.tooltip": "Matematikai formula",
|
|
1295
|
-
"editor.exportPdf.tooltip": "PDF exportálása",
|
|
1296
|
-
"editor.exportWord.tooltip": "Word exportálása",
|
|
1297
|
-
"editor.importWord.tooltip": "Word importálása",
|
|
1298
|
-
"editor.importWord.limitSize": "A fájl mérete nem haladhatja meg",
|
|
1299
|
-
"editor.importWord.converting": "Word dokumentum konvertálása, kérjük, várjon...",
|
|
1300
|
-
"editor.importWord.convertError": "Hiba a Word-dokumentum elemzésekor",
|
|
1301
|
-
"editor.importWord.importError": "Hiba a Word dokumentum importálásakor",
|
|
1302
|
-
"editor.textDirection.tooltip": "Szövegirány",
|
|
1303
|
-
"editor.textDirection.auto.tooltip": "Automatikus",
|
|
1304
|
-
"editor.textDirection.ltr.tooltip": "Balról jobbra",
|
|
1305
|
-
"editor.textDirection.rtl.tooltip": "Jobbról balra",
|
|
1306
|
-
"editor.attachment.tooltip": "Csatolmány",
|
|
1307
|
-
"editor.attachment.uploading": "Feltöltés alatt",
|
|
1308
|
-
"editor.attachment.please_upload": "Töltse fel a fájlt",
|
|
1309
|
-
"editor.imageGif.tooltip": "Gif",
|
|
1310
|
-
"editor.replace.caseSensitive": "Kisbetű-nagybetű érzékenység",
|
|
1311
|
-
"editor.mermaid.tooltip": "Mermaid",
|
|
1312
|
-
"editor.twitter.tooltip": "Twitter",
|
|
1313
|
-
"editor.codeView.tooltip": "Kódnézet",
|
|
1314
|
-
"editor.tooltip.flipX": "Vízszintes tükrözés",
|
|
1315
|
-
"editor.tooltip.flipY": "Függőleges tükrözés"
|
|
1316
|
-
};
|
|
1317
|
-
function Z(t) {
|
|
1318
|
-
return t = t || /* @__PURE__ */ new Map(), {
|
|
1319
|
-
/**
|
|
1320
|
-
* A Map of event names to registered handler functions.
|
|
1321
|
-
*/
|
|
1322
|
-
all: t,
|
|
1323
|
-
/**
|
|
1324
|
-
* Register an event handler for the given type.
|
|
1325
|
-
* @param {string|symbol} type Type of event to listen for, or `'*'` for all events
|
|
1326
|
-
* @param {Function} handler Function to call in response to given event
|
|
1327
|
-
* @memberOf mitt
|
|
1328
|
-
*/
|
|
1329
|
-
//@ts-expect-error
|
|
1330
|
-
on(o, n) {
|
|
1331
|
-
const s = t.get(o);
|
|
1332
|
-
s ? s.push(n) : t.set(o, [n]);
|
|
1333
|
-
},
|
|
1334
|
-
/**
|
|
1335
|
-
* Remove an event handler for the given type.
|
|
1336
|
-
* If `handler` is omitted, all handlers of the given type are removed.
|
|
1337
|
-
* @param {string|symbol} type Type of event to unregister `handler` from (`'*'` to remove a wildcard handler)
|
|
1338
|
-
* @param {Function} [handler] Handler function to remove
|
|
1339
|
-
* @memberOf mitt
|
|
1340
|
-
*/
|
|
1341
|
-
//@ts-expect-error
|
|
1342
|
-
off(o, n) {
|
|
1343
|
-
const s = t.get(o);
|
|
1344
|
-
s && (n ? s.splice(s.indexOf(n) >>> 0, 1) : t.set(o, []));
|
|
1345
|
-
},
|
|
1346
|
-
/**
|
|
1347
|
-
* Invoke all handlers for the given type.
|
|
1348
|
-
* If present, `'*'` handlers are invoked after type-matched handlers.
|
|
1349
|
-
*
|
|
1350
|
-
* Note: Manually firing '*' handlers is not supported.
|
|
1351
|
-
*
|
|
1352
|
-
* @param {string|symbol} type The event type to invoke
|
|
1353
|
-
* @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler
|
|
1354
|
-
* @memberOf mitt
|
|
1355
|
-
*/
|
|
1356
|
-
emit(o, n) {
|
|
1357
|
-
let s = t.get(o);
|
|
1358
|
-
s && [...s].map((p) => {
|
|
1359
|
-
p(n);
|
|
1360
|
-
}), s = t.get("*"), s && [...s].map((p) => {
|
|
1361
|
-
p(o, n);
|
|
1362
|
-
});
|
|
1363
|
-
}
|
|
1364
|
-
};
|
|
1365
|
-
}
|
|
1366
|
-
const m = {
|
|
1381
|
+
"editor.tooltip.flipY": "垂直翻转",
|
|
1382
|
+
"editor.upload.fileTypeNotSupported": "{fileName} 文件类型不受支持",
|
|
1383
|
+
"editor.upload.fileSizeTooBig": "{fileName} 文件大小超出限制,最大大小为 {size}MB",
|
|
1384
|
+
"editor.upload.error": "上传文件时出错"
|
|
1385
|
+
}, c = {
|
|
1367
1386
|
lang: w,
|
|
1368
1387
|
message: {
|
|
1369
|
-
en:
|
|
1370
|
-
hu_HU:
|
|
1371
|
-
vi:
|
|
1372
|
-
zh_CN:
|
|
1373
|
-
pt_BR:
|
|
1388
|
+
en: $,
|
|
1389
|
+
hu_HU: Y,
|
|
1390
|
+
vi: Q,
|
|
1391
|
+
zh_CN: Z,
|
|
1392
|
+
pt_BR: J
|
|
1374
1393
|
}
|
|
1375
1394
|
};
|
|
1376
1395
|
class tt {
|
|
1377
1396
|
constructor() {
|
|
1378
1397
|
F(this, "emitter");
|
|
1379
|
-
this.emitter =
|
|
1398
|
+
this.emitter = X();
|
|
1380
1399
|
}
|
|
1381
1400
|
// Getter and setter for current language
|
|
1382
1401
|
get lang() {
|
|
1383
|
-
return
|
|
1402
|
+
return c.lang;
|
|
1384
1403
|
}
|
|
1385
1404
|
set lang(o) {
|
|
1386
1405
|
if (!this.isLangSupported(o)) {
|
|
1387
1406
|
console.warn(
|
|
1388
|
-
`Can't find the current language "${o}", Using language "${
|
|
1407
|
+
`Can't find the current language "${o}", Using language "${c.lang}" by default`
|
|
1389
1408
|
);
|
|
1390
1409
|
return;
|
|
1391
1410
|
}
|
|
1392
|
-
|
|
1411
|
+
c.lang = o, this.emitter.emit("lang", o);
|
|
1393
1412
|
}
|
|
1394
1413
|
// Getter and setter for messages
|
|
1395
1414
|
get message() {
|
|
1396
|
-
return
|
|
1415
|
+
return c.message;
|
|
1397
1416
|
}
|
|
1398
1417
|
set message(o) {
|
|
1399
|
-
|
|
1418
|
+
c.message = o;
|
|
1400
1419
|
}
|
|
1401
1420
|
// Load messages for a specific language
|
|
1402
1421
|
loadLangMessage(o) {
|
|
@@ -1426,16 +1445,19 @@ class tt {
|
|
|
1426
1445
|
buildLocalesHandler(o) {
|
|
1427
1446
|
o || (o = this.lang);
|
|
1428
1447
|
const n = this.loadLangMessage(o);
|
|
1429
|
-
return function(p) {
|
|
1430
|
-
|
|
1448
|
+
return function(p, h) {
|
|
1449
|
+
let m = n[p] || p;
|
|
1450
|
+
return h && Object.entries(h).forEach(([f, b]) => {
|
|
1451
|
+
m = m.replace(new RegExp(`\\{${f}\\}`, "g"), String(b));
|
|
1452
|
+
}), m;
|
|
1431
1453
|
};
|
|
1432
1454
|
}
|
|
1433
1455
|
}
|
|
1434
|
-
const
|
|
1456
|
+
const k = new tt(), S = O(c.lang);
|
|
1435
1457
|
function kt() {
|
|
1436
|
-
const [t, o] = G(
|
|
1458
|
+
const [t, o] = G(S), n = E(() => k.buildLocalesHandler(t), [t]);
|
|
1437
1459
|
return L(() => {
|
|
1438
|
-
const s =
|
|
1460
|
+
const s = k.registerWatchLang((p) => {
|
|
1439
1461
|
o(p);
|
|
1440
1462
|
});
|
|
1441
1463
|
return () => {
|
|
@@ -1447,7 +1469,7 @@ function kt() {
|
|
|
1447
1469
|
};
|
|
1448
1470
|
}
|
|
1449
1471
|
const vt = {
|
|
1450
|
-
t: (t) =>
|
|
1472
|
+
t: (t, o) => k.buildLocalesHandler(S())(t, o)
|
|
1451
1473
|
};
|
|
1452
1474
|
export {
|
|
1453
1475
|
ft as B,
|
|
@@ -1456,21 +1478,21 @@ export {
|
|
|
1456
1478
|
it as E,
|
|
1457
1479
|
lt as I,
|
|
1458
1480
|
nt as T,
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1481
|
+
N as V,
|
|
1482
|
+
$ as a,
|
|
1483
|
+
Y as b,
|
|
1484
|
+
Q as c,
|
|
1485
|
+
Z as d,
|
|
1486
|
+
J as e,
|
|
1465
1487
|
mt as f,
|
|
1466
1488
|
ut as g,
|
|
1467
1489
|
rt as h,
|
|
1468
1490
|
dt as i,
|
|
1469
1491
|
ht as j,
|
|
1470
1492
|
ct as k,
|
|
1471
|
-
|
|
1493
|
+
k as l,
|
|
1472
1494
|
vt as m,
|
|
1473
|
-
|
|
1495
|
+
X as n,
|
|
1474
1496
|
at as o,
|
|
1475
1497
|
st as p,
|
|
1476
1498
|
R as q,
|