@samhammer/tiptob 2.3.30 → 2.3.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/web-components.js +121 -121
- package/dist/web-components.js.map +1 -1
- package/package.json +1 -1
package/dist/web-components.js
CHANGED
|
@@ -141,7 +141,7 @@ let se = null;
|
|
|
141
141
|
function Yt(e) {
|
|
142
142
|
se = e;
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function Y(e, t = !1, n) {
|
|
145
145
|
se = {
|
|
146
146
|
p: se,
|
|
147
147
|
i: !1,
|
|
@@ -152,7 +152,7 @@ function W(e, t = !1, n) {
|
|
|
152
152
|
l: Jt && !t ? { s: null, u: null, $: [] } : null
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function q(e) {
|
|
156
156
|
var t = (
|
|
157
157
|
/** @type {ComponentContext} */
|
|
158
158
|
se
|
|
@@ -1323,7 +1323,7 @@ function O(e, t) {
|
|
|
1323
1323
|
n
|
|
1324
1324
|
), Ee(n), n;
|
|
1325
1325
|
}
|
|
1326
|
-
function
|
|
1326
|
+
function W(e, t = !1) {
|
|
1327
1327
|
if (!P) {
|
|
1328
1328
|
var n = /* @__PURE__ */ qe(e);
|
|
1329
1329
|
return n instanceof Comment && n.data === "" ? /* @__PURE__ */ We(n) : n;
|
|
@@ -2068,7 +2068,7 @@ function ji(e, { target: t, anchor: n, props: r = {}, events: o, context: i, int
|
|
|
2068
2068
|
}
|
|
2069
2069
|
},
|
|
2070
2070
|
(v) => {
|
|
2071
|
-
|
|
2071
|
+
Y({});
|
|
2072
2072
|
var h = (
|
|
2073
2073
|
/** @type {ComponentContext} */
|
|
2074
2074
|
se
|
|
@@ -2080,7 +2080,7 @@ function ji(e, { target: t, anchor: n, props: r = {}, events: o, context: i, int
|
|
|
2080
2080
|
), Lr = s, l = e(v, r) || {}, Lr = !0, P && (N.nodes.end = F, F === null || F.nodeType !== Xt || /** @type {Comment} */
|
|
2081
2081
|
F.data !== Ir))
|
|
2082
2082
|
throw _n(), St;
|
|
2083
|
-
|
|
2083
|
+
q();
|
|
2084
2084
|
},
|
|
2085
2085
|
a
|
|
2086
2086
|
);
|
|
@@ -2385,8 +2385,8 @@ function Ot(e, t, n, r, o, i = null) {
|
|
|
2385
2385
|
}
|
|
2386
2386
|
if (m === 0 && i && !u && (v ? u = Oe(() => i(s)) : (u = Oe(() => i(Oo ??= De())), u.f |= it)), m > C.size && Ds(), P && m > 0 && Ee(Pn()), !v)
|
|
2387
2387
|
if (S) {
|
|
2388
|
-
for (const [U,
|
|
2389
|
-
C.has(U) || k.skip_effect(
|
|
2388
|
+
for (const [U, G] of a)
|
|
2389
|
+
C.has(U) || k.skip_effect(G.e);
|
|
2390
2390
|
k.oncommit(h), k.ondiscard(() => {
|
|
2391
2391
|
});
|
|
2392
2392
|
} else
|
|
@@ -3213,7 +3213,7 @@ function el(e) {
|
|
|
3213
3213
|
] = !0;
|
|
3214
3214
|
}), t;
|
|
3215
3215
|
}
|
|
3216
|
-
function
|
|
3216
|
+
function K(e, t, n, r, o, i) {
|
|
3217
3217
|
let s = class extends Xi {
|
|
3218
3218
|
constructor() {
|
|
3219
3219
|
super(e, n, o), this.$$p_d = t;
|
|
@@ -3432,7 +3432,7 @@ function ts() {
|
|
|
3432
3432
|
let U = Go();
|
|
3433
3433
|
t.isSupported = typeof Ji == "function" && typeof w == "function" && S && S.createHTMLDocument !== void 0;
|
|
3434
3434
|
const {
|
|
3435
|
-
MUSTACHE_EXPR:
|
|
3435
|
+
MUSTACHE_EXPR: G,
|
|
3436
3436
|
ERB_EXPR: ge,
|
|
3437
3437
|
TMPLIT_EXPR: ue,
|
|
3438
3438
|
DATA_ATTR: en,
|
|
@@ -3619,7 +3619,7 @@ function ts() {
|
|
|
3619
3619
|
}
|
|
3620
3620
|
return Ye(f), !0;
|
|
3621
3621
|
}
|
|
3622
|
-
return f instanceof l && !fs(f) || (T === "noscript" || T === "noembed" || T === "noframes") && Ce(/<\/no(script|embed|frames)/i, f.innerHTML) ? (Ye(f), !0) : (Nt && f.nodeType === fn.text && (b = f.textContent, Vn([
|
|
3622
|
+
return f instanceof l && !fs(f) || (T === "noscript" || T === "noembed" || T === "noframes") && Ce(/<\/no(script|embed|frames)/i, f.innerHTML) ? (Ye(f), !0) : (Nt && f.nodeType === fn.text && (b = f.textContent, Vn([G, ge, ue], (X) => {
|
|
3623
3623
|
b = an(b, X, " ");
|
|
3624
3624
|
}), f.textContent !== b && (sn(t.removed, {
|
|
3625
3625
|
element: f.cloneNode()
|
|
@@ -3695,7 +3695,7 @@ function ts() {
|
|
|
3695
3695
|
Tt(ae, f);
|
|
3696
3696
|
continue;
|
|
3697
3697
|
}
|
|
3698
|
-
Nt && Vn([
|
|
3698
|
+
Nt && Vn([G, ge, ue], (yo) => {
|
|
3699
3699
|
he = an(he, yo, " ");
|
|
3700
3700
|
});
|
|
3701
3701
|
const Eo = ce(f.nodeName);
|
|
@@ -3770,7 +3770,7 @@ function ts() {
|
|
|
3770
3770
|
}
|
|
3771
3771
|
let Ae = yt ? b.outerHTML : b.innerHTML;
|
|
3772
3772
|
return yt && fe["!doctype"] && b.ownerDocument && b.ownerDocument.doctype && b.ownerDocument.doctype.name && Ce(es, b.ownerDocument.doctype.name) && (Ae = "<!DOCTYPE " + b.ownerDocument.doctype.name + `>
|
|
3773
|
-
` + Ae), Nt && Vn([
|
|
3773
|
+
` + Ae), Nt && Vn([G, ge, ue], (tt) => {
|
|
3774
3774
|
Ae = an(Ae, tt, " ");
|
|
3775
3775
|
}), C && Tn ? C.createHTML(Ae) : Ae;
|
|
3776
3776
|
}, t.setConfig = function() {
|
|
@@ -3802,7 +3802,7 @@ const xl = {
|
|
|
3802
3802
|
code: ".icon-wrapper.svelte-1ql962m {display:inline-flex;align-items:center;justify-content:center;}svg {width:1.25rem;height:1.25rem;fill:var(--tiptob-bg-icon, #333333);}"
|
|
3803
3803
|
};
|
|
3804
3804
|
function oe(e, t) {
|
|
3805
|
-
|
|
3805
|
+
Y(t, !0), Ve(e, xl);
|
|
3806
3806
|
let n = x(t, "content", 15);
|
|
3807
3807
|
var r = {
|
|
3808
3808
|
get content() {
|
|
@@ -3812,9 +3812,9 @@ function oe(e, t) {
|
|
|
3812
3812
|
n(s), y();
|
|
3813
3813
|
}
|
|
3814
3814
|
}, o = Tl(), i = O(o);
|
|
3815
|
-
return Na(i, () => yl.sanitize(n(), { USE_PROFILES: { svg: !0 } })), R(o), M(e, o),
|
|
3815
|
+
return Na(i, () => yl.sanitize(n(), { USE_PROFILES: { svg: !0 } })), R(o), M(e, o), q(r);
|
|
3816
3816
|
}
|
|
3817
|
-
|
|
3817
|
+
K(oe, { content: {} }, [], [], { mode: "open" });
|
|
3818
3818
|
var Al = /* @__PURE__ */ le('<div class="icon-text svelte-2g495f"> </div>'), Ll = /* @__PURE__ */ le("<button><!> <!></button>");
|
|
3819
3819
|
const Hl = {
|
|
3820
3820
|
hash: "svelte-2g495f",
|
|
@@ -3823,7 +3823,7 @@ const Hl = {
|
|
|
3823
3823
|
button.highlighted.svelte-2g495f:enabled::after {border-top:0.3rem solid var(--tiptob-bg-icon-highlighted, #2977ff);}`
|
|
3824
3824
|
};
|
|
3825
3825
|
function be(e, t) {
|
|
3826
|
-
|
|
3826
|
+
Y(t, !0), Ve(e, Hl);
|
|
3827
3827
|
let n = x(t, "editor", 7), r = x(t, "key", 7), o = x(t, "action", 7), i = x(t, "icon", 7), s = x(t, "tooltip", 7), a = x(t, "text", 7, ""), l = x(t, "dropdownOpen", 15, !1), c = /* @__PURE__ */ ee(!1), u = /* @__PURE__ */ ee(!1);
|
|
3828
3828
|
function p() {
|
|
3829
3829
|
typeof r() == "string" ? H(
|
|
@@ -3906,10 +3906,10 @@ function be(e, t) {
|
|
|
3906
3906
|
highlighted: E(c),
|
|
3907
3907
|
dropdownOpen: l()
|
|
3908
3908
|
});
|
|
3909
|
-
}), j("click", h, () => o()()), M(e, h),
|
|
3909
|
+
}), j("click", h, () => o()()), M(e, h), q(v);
|
|
3910
3910
|
}
|
|
3911
3911
|
wt(["click"]);
|
|
3912
|
-
|
|
3912
|
+
K(
|
|
3913
3913
|
be,
|
|
3914
3914
|
{
|
|
3915
3915
|
editor: {},
|
|
@@ -3925,7 +3925,7 @@ q(
|
|
|
3925
3925
|
{ mode: "open" }
|
|
3926
3926
|
);
|
|
3927
3927
|
function kl(e, t) {
|
|
3928
|
-
|
|
3928
|
+
Y(t, !0);
|
|
3929
3929
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
3930
3930
|
const o = { de: "Fett", en: "Bold" }, i = () => n().chain().focus().toggleBold().run();
|
|
3931
3931
|
var s = {
|
|
@@ -3941,7 +3941,7 @@ function kl(e, t) {
|
|
|
3941
3941
|
set language(u = "en") {
|
|
3942
3942
|
r(u), y();
|
|
3943
3943
|
}
|
|
3944
|
-
}, a = ne(), l =
|
|
3944
|
+
}, a = ne(), l = W(a);
|
|
3945
3945
|
{
|
|
3946
3946
|
var c = (u) => {
|
|
3947
3947
|
be(u, {
|
|
@@ -3962,9 +3962,9 @@ function kl(e, t) {
|
|
|
3962
3962
|
n() && u(c);
|
|
3963
3963
|
});
|
|
3964
3964
|
}
|
|
3965
|
-
return M(e, a),
|
|
3965
|
+
return M(e, a), q(s);
|
|
3966
3966
|
}
|
|
3967
|
-
customElements.define("tiptob-bold-button",
|
|
3967
|
+
customElements.define("tiptob-bold-button", K(kl, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
3968
3968
|
const Ml = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15.2459 14H8.75407L7.15407 18H5L11 3H13L19 18H16.8459L15.2459 14ZM14.4459 12L12 5.88516L9.55407 12H14.4459ZM3 20H21V22H3V20Z"></path></svg>', ns = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8.58564 8.85449L3.63589 13.8042L8.83021 18.9985L9.99985 18.9978V18.9966H11.1714L14.9496 15.2184L8.58564 8.85449ZM9.99985 7.44027L16.3638 13.8042L19.1922 10.9758L12.8283 4.61185L9.99985 7.44027ZM13.9999 18.9966H20.9999V20.9966H11.9999L8.00229 20.9991L1.51457 14.5113C1.12405 14.1208 1.12405 13.4877 1.51457 13.0971L12.1212 2.49053C12.5117 2.1 13.1449 2.1 13.5354 2.49053L21.3136 10.2687C21.7041 10.6592 21.7041 11.2924 21.3136 11.6829L13.9999 18.9966Z"></path></svg>';
|
|
3969
3969
|
function Sl(e) {
|
|
3970
3970
|
const t = (n) => {
|
|
@@ -4006,7 +4006,7 @@ const Dl = {
|
|
|
4006
4006
|
rgba(0, 0, 0, 0.1) 0px 0px 0px 1px;background-color:var(--tiptob-bg-button, #ffffff);top:2.125rem;}}`
|
|
4007
4007
|
};
|
|
4008
4008
|
function ft(e, t) {
|
|
4009
|
-
|
|
4009
|
+
Y(t, !0), Ve(e, Dl);
|
|
4010
4010
|
let n = x(t, "editor", 7), r = x(t, "key", 7), o = x(t, "icon", 7), i = x(t, "text", 7, ""), s = x(t, "dropdownOpen", 15), a = x(t, "children", 7), l = x(t, "tooltip", 7);
|
|
4011
4011
|
function c() {
|
|
4012
4012
|
s(!s());
|
|
@@ -4091,9 +4091,9 @@ function ft(e, t) {
|
|
|
4091
4091
|
s() && m(d);
|
|
4092
4092
|
});
|
|
4093
4093
|
}
|
|
4094
|
-
return R(g), qi(g, (m) => Sl?.(m)), Se(() => v = Wr(g, 1, "dropdown-wrapper svelte-1jj3d72", null, v, { open: s() })), Ui("outclick", g, u), M(e, g),
|
|
4094
|
+
return R(g), qi(g, (m) => Sl?.(m)), Se(() => v = Wr(g, 1, "dropdown-wrapper svelte-1jj3d72", null, v, { open: s() })), Ui("outclick", g, u), M(e, g), q(p);
|
|
4095
4095
|
}
|
|
4096
|
-
|
|
4096
|
+
K(
|
|
4097
4097
|
ft,
|
|
4098
4098
|
{
|
|
4099
4099
|
editor: {},
|
|
@@ -4114,7 +4114,7 @@ const Pl = {
|
|
|
4114
4114
|
code: ".color-picker.svelte-1oe1fxx {display:flex;flex-flow:row wrap;gap:0.25rem;width:5rem;background-color:var(--tiptob-bg-button, #ffffff);padding:0.25rem;button:where(.svelte-1oe1fxx) {border:none;border-radius:0.25rem;}.clear:where(.svelte-1oe1fxx) {width:100%;text-align:center;padding:0.5rem;background-color:var(--tiptob-bg-button, #ffffff);color:#333333;align-items:center;justify-content:center;display:flex;cursor:pointer;&:hover {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}svg {width:1.125rem;height:1.125rem;}}button:where(.svelte-1oe1fxx):not(.clear) {display:flex;width:1.5rem;height:1.5rem;cursor:pointer;&:hover {border:2px solid #2977ff;}}}"
|
|
4115
4115
|
};
|
|
4116
4116
|
function Bl(e, t) {
|
|
4117
|
-
|
|
4117
|
+
Y(t, !0), Ve(e, Pl);
|
|
4118
4118
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en"), o = /* @__PURE__ */ ee(!1);
|
|
4119
4119
|
const i = { de: "Schriftfarbe", en: "Font Color" }, s = [
|
|
4120
4120
|
"#E91313",
|
|
@@ -4143,7 +4143,7 @@ function Bl(e, t) {
|
|
|
4143
4143
|
set language(v = "en") {
|
|
4144
4144
|
r(v), y();
|
|
4145
4145
|
}
|
|
4146
|
-
}, u = ne(), p =
|
|
4146
|
+
}, u = ne(), p = W(u);
|
|
4147
4147
|
{
|
|
4148
4148
|
var g = (v) => {
|
|
4149
4149
|
ft(v, {
|
|
@@ -4185,10 +4185,10 @@ function Bl(e, t) {
|
|
|
4185
4185
|
n() && v(g);
|
|
4186
4186
|
});
|
|
4187
4187
|
}
|
|
4188
|
-
return M(e, u),
|
|
4188
|
+
return M(e, u), q(c);
|
|
4189
4189
|
}
|
|
4190
4190
|
wt(["click"]);
|
|
4191
|
-
customElements.define("tiptob-font-color-button",
|
|
4191
|
+
customElements.define("tiptob-font-color-button", K(Bl, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
4192
4192
|
const Fl = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z"></path></svg>';
|
|
4193
4193
|
var Zl = /* @__PURE__ */ le("<button></button>"), Ul = /* @__PURE__ */ le('<div class="table svelte-tra6fl"></div> <div class="display svelte-tra6fl"> </div>', 1);
|
|
4194
4194
|
const zl = {
|
|
@@ -4197,7 +4197,7 @@ const zl = {
|
|
|
4197
4197
|
&.highlight {background-color:var(--tiptob-bg-button-highlighted, #a6ccf7);}}}.display.svelte-tra6fl {text-align:center;color:var(--tiptob-bg-icon, #333333);padding-bottom:0.25rem;}`
|
|
4198
4198
|
};
|
|
4199
4199
|
function jl(e, t) {
|
|
4200
|
-
|
|
4200
|
+
Y(t, !0), Ve(e, zl);
|
|
4201
4201
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
4202
4202
|
const o = { de: "Tabelle", en: "Table" };
|
|
4203
4203
|
let i = /* @__PURE__ */ ee(!1), s = /* @__PURE__ */ ee(0), a = /* @__PURE__ */ ee(0);
|
|
@@ -4218,7 +4218,7 @@ function jl(e, t) {
|
|
|
4218
4218
|
set language(h = "en") {
|
|
4219
4219
|
r(h), y();
|
|
4220
4220
|
}
|
|
4221
|
-
}, p = ne(), g =
|
|
4221
|
+
}, p = ne(), g = W(p);
|
|
4222
4222
|
{
|
|
4223
4223
|
var v = (h) => {
|
|
4224
4224
|
ft(h, {
|
|
@@ -4239,14 +4239,14 @@ function jl(e, t) {
|
|
|
4239
4239
|
H(i, _, !0);
|
|
4240
4240
|
},
|
|
4241
4241
|
children: (_, d) => {
|
|
4242
|
-
var m = Ul(), A =
|
|
4242
|
+
var m = Ul(), A = W(m);
|
|
4243
4243
|
Ot(A, 21, () => ({ length: l }), Ro, (k, S, V) => {
|
|
4244
|
-
var Z = ne(), $ =
|
|
4245
|
-
Ot($, 17, () => ({ length: l }), Ro, (D, U,
|
|
4244
|
+
var Z = ne(), $ = W(Z);
|
|
4245
|
+
Ot($, 17, () => ({ length: l }), Ro, (D, U, G) => {
|
|
4246
4246
|
var ge = Zl();
|
|
4247
|
-
J(ge, "aria-label", `Create table with ${V + 1} rows and ${
|
|
4247
|
+
J(ge, "aria-label", `Create table with ${V + 1} rows and ${G + 1} columns`);
|
|
4248
4248
|
let ue;
|
|
4249
|
-
Se(() => ue = Wr(ge, 1, "svelte-tra6fl", null, ue, { highlight: E(s) >= V && E(a) >=
|
|
4249
|
+
Se(() => ue = Wr(ge, 1, "svelte-tra6fl", null, ue, { highlight: E(s) >= V && E(a) >= G })), Ui("mouseenter", ge, () => (H(s, V, !0), H(a, G, !0))), j("click", ge, () => c(V + 1, G + 1)), M(D, ge);
|
|
4250
4250
|
}), M(k, Z);
|
|
4251
4251
|
}), R(A);
|
|
4252
4252
|
var w = Q(A, 2), C = O(w);
|
|
@@ -4259,10 +4259,10 @@ function jl(e, t) {
|
|
|
4259
4259
|
n() && h(v);
|
|
4260
4260
|
});
|
|
4261
4261
|
}
|
|
4262
|
-
return M(e, p),
|
|
4262
|
+
return M(e, p), q(u);
|
|
4263
4263
|
}
|
|
4264
4264
|
wt(["click"]);
|
|
4265
|
-
customElements.define("tiptob-table-button",
|
|
4265
|
+
customElements.define("tiptob-table-button", K(jl, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
4266
4266
|
const Gl = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM13.4142 13.9997L15.182 15.7675L13.7678 17.1817L12 15.4139L10.2322 17.1817L8.81802 15.7675L10.5858 13.9997L8.81802 12.232L10.2322 10.8178L12 12.5855L13.7678 10.8178L15.182 12.232L13.4142 13.9997ZM9 4V6H15V4H9Z"></path></svg>', Wl = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 3C12.5523 3 13 3.44772 13 4L12.9998 11.9998C13.8355 11.372 14.8743 11 16 11C18.7614 11 21 13.2386 21 16C21 18.7614 18.7614 21 16 21C14.9681 21 14.0092 20.6874 13.2129 20.1518L13 20C13 20.5523 12.5523 21 12 21H6C5.44772 21 5 20.5523 5 20V4C5 3.44772 5.44772 3 6 3H12ZM11 5H7V19H11V5ZM19 15H13V17H19V15Z"></path></svg>', Yl = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 5C20.5523 5 21 5.44772 21 6V12C21 12.5523 20.5523 13 20 13C20.628 13.8355 21 14.8743 21 16C21 18.7614 18.7614 21 16 21C13.2386 21 11 18.7614 11 16C11 14.8743 11.372 13.8355 11.9998 12.9998L4 13C3.44772 13 3 12.5523 3 12V6C3 5.44772 3.44772 5 4 5H20ZM13 15V17H19V15H13ZM19 7H5V11H19V7Z"></path></svg>', ql = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="240" height="240" fill="currentColor"><path d="M19 12H5V19H19V12ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3Z"></path></svg>', Kl = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="240" height="240" fill="currentColor"><path d="M20 3C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3H20ZM11 5H5V19H11V15H13V19H19V5H13V9H11V5ZM15 9L18 12L15 15V13H9V15L6 12L9 9V11H15V9Z"></path></svg>', Xl = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 3C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H14C13.4477 21 13 20.5523 13 20V4C13 3.44772 13.4477 3 14 3H20ZM19 5H15V19H19V5ZM6 7C8.76142 7 11 9.23858 11 12C11 14.7614 8.76142 17 6 17C3.23858 17 1 14.7614 1 12C1 9.23858 3.23858 7 6 7ZM7 9H5V10.999L3 11V13L5 12.999V15H7V12.999L9 13V11L7 10.999V9Z"></path></svg>', Jl = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M10 3C10.5523 3 11 3.44772 11 4V20C11 20.5523 10.5523 21 10 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3H10ZM9 5H5V19H9V5ZM18 7C20.7614 7 23 9.23858 23 12C23 14.7614 20.7614 17 18 17C15.2386 17 13 14.7614 13 12C13 9.23858 15.2386 7 18 7ZM19 9H17V10.999L15 11V13L17 12.999V15H19V12.999L21 13V11L19 10.999V9Z"></path></svg>', Ql = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 13C20.5523 13 21 13.4477 21 14V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V14C3 13.4477 3.44772 13 4 13H20ZM19 15H5V19H19V15ZM12 1C14.7614 1 17 3.23858 17 6C17 8.76142 14.7614 11 12 11C9.23858 11 7 8.76142 7 6C7 3.23858 9.23858 1 12 1ZM13 3H11V4.999L9 5V7L11 6.999V9H13V6.999L15 7V5L13 4.999V3Z"></path></svg>', eu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 13C14.7614 13 17 15.2386 17 18C17 20.7614 14.7614 23 12 23C9.23858 23 7 20.7614 7 18C7 15.2386 9.23858 13 12 13ZM13 15H11V16.999L9 17V19L11 18.999V21H13V18.999L15 19V17L13 16.999V15ZM20 3C20.5523 3 21 3.44772 21 4V10C21 10.5523 20.5523 11 20 11H4C3.44772 11 3 10.5523 3 10V4C3 3.44772 3.44772 3 4 3H20ZM5 5V9H19V5H5Z"></path></svg>', tu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="240" height="240" fill="currentColor"><path d="M20 3C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3H20ZM11 5H5V10.999H7V9L10 12L7 15V13H5V19H11V17H13V19H19V13H17V15L14 12L17 9V10.999H19V5H13V7H11V5ZM13 13V15H11V13H13ZM13 9V11H11V9H13Z"></path></svg>';
|
|
4267
4267
|
var nu = /* @__PURE__ */ le('<div class="table-bubble-menu svelte-v7vul0"><div class="table-toolbar svelte-v7vul0"><div class="toolbar-button-group svelte-v7vul0"><button class="svelte-v7vul0"><!></button></div> <div class="toolbar-button-group svelte-v7vul0"><button class="toggle-header-button svelte-v7vul0"><!></button> <button class="svelte-v7vul0"><!></button> <button class="svelte-v7vul0"><!></button></div> <div class="toolbar-button-group svelte-v7vul0"><button class="svelte-v7vul0"><!></button> <button class="svelte-v7vul0"><!></button> <button class="svelte-v7vul0"><!></button></div> <div class="toolbar-button-group svelte-v7vul0"><button class="svelte-v7vul0"><!></button> <button class="svelte-v7vul0"><!></button> <button class="svelte-v7vul0"><!></button></div></div></div>');
|
|
4268
4268
|
const ru = {
|
|
@@ -4271,7 +4271,7 @@ const ru = {
|
|
|
4271
4271
|
0 0.25rem 0.5rem 0 rgba(34, 47, 62, 0.15);min-width:max-content;overflow:hidden;& .table-toolbar:where(.svelte-v7vul0) {display:flex;flex-direction:row;align-items:center;& .toolbar-button-group:where(.svelte-v7vul0) {display:flex;gap:0.125rem;padding:0 0.5rem;align-items:center;& button:where(.svelte-v7vul0) {cursor:pointer;margin:0.5rem 0;height:1.75rem;border:none;border-radius:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);color:var(--tiptob-bg-icon, #333333);&:hover {background-color:var(--tiptob-bg-button-hover, #e2e2e2);}}}}}`
|
|
4272
4272
|
};
|
|
4273
4273
|
function ou(e, t) {
|
|
4274
|
-
|
|
4274
|
+
Y(t, !0), Ve(e, ru);
|
|
4275
4275
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
4276
4276
|
const o = {
|
|
4277
4277
|
de: {
|
|
@@ -4312,7 +4312,7 @@ function ou(e, t) {
|
|
|
4312
4312
|
set language(c = "en") {
|
|
4313
4313
|
r(c), y();
|
|
4314
4314
|
}
|
|
4315
|
-
}, s = ne(), a =
|
|
4315
|
+
}, s = ne(), a = W(s);
|
|
4316
4316
|
{
|
|
4317
4317
|
var l = (c) => {
|
|
4318
4318
|
var u = nu(), p = O(u), g = O(p), v = O(g), h = O(v);
|
|
@@ -4351,8 +4351,8 @@ function ou(e, t) {
|
|
|
4351
4351
|
return eu;
|
|
4352
4352
|
}
|
|
4353
4353
|
}), R($);
|
|
4354
|
-
var U = Q($, 2),
|
|
4355
|
-
oe(
|
|
4354
|
+
var U = Q($, 2), G = O(U);
|
|
4355
|
+
oe(G, {
|
|
4356
4356
|
get content() {
|
|
4357
4357
|
return Yl;
|
|
4358
4358
|
}
|
|
@@ -4400,13 +4400,13 @@ function ou(e, t) {
|
|
|
4400
4400
|
n() && c(l);
|
|
4401
4401
|
});
|
|
4402
4402
|
}
|
|
4403
|
-
return M(e, s),
|
|
4403
|
+
return M(e, s), q(i);
|
|
4404
4404
|
}
|
|
4405
4405
|
wt(["click"]);
|
|
4406
|
-
customElements.define("tiptob-table-bubble-menu",
|
|
4406
|
+
customElements.define("tiptob-table-bubble-menu", K(ou, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
4407
4407
|
const iu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z"></path></svg>';
|
|
4408
4408
|
function su(e, t) {
|
|
4409
|
-
|
|
4409
|
+
Y(t, !0);
|
|
4410
4410
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
4411
4411
|
const o = { de: "Aufzählung", en: "Bulleted List" }, i = () => {
|
|
4412
4412
|
n().isActive("orderedList") && n().commands.toggleList("orderedList", "listItem"), n().commands.toggleList("bulletList", "listItem");
|
|
@@ -4424,7 +4424,7 @@ function su(e, t) {
|
|
|
4424
4424
|
set language(u = "en") {
|
|
4425
4425
|
r(u), y();
|
|
4426
4426
|
}
|
|
4427
|
-
}, a = ne(), l =
|
|
4427
|
+
}, a = ne(), l = W(a);
|
|
4428
4428
|
{
|
|
4429
4429
|
var c = (u) => {
|
|
4430
4430
|
be(u, {
|
|
@@ -4445,9 +4445,9 @@ function su(e, t) {
|
|
|
4445
4445
|
n() && u(c);
|
|
4446
4446
|
});
|
|
4447
4447
|
}
|
|
4448
|
-
return M(e, a),
|
|
4448
|
+
return M(e, a), q(s);
|
|
4449
4449
|
}
|
|
4450
|
-
customElements.define("tiptob-bullet-list-button",
|
|
4450
|
+
customElements.define("tiptob-bullet-list-button", K(su, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
4451
4451
|
const au = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z"></path></svg>';
|
|
4452
4452
|
var lu = /* @__PURE__ */ le('<button class="svelte-1r88q31"></button>'), uu = /* @__PURE__ */ le('<div class="color-picker svelte-1r88q31"><button class="clear svelte-1r88q31"><!></button> <!></div>');
|
|
4453
4453
|
const fu = {
|
|
@@ -4455,7 +4455,7 @@ const fu = {
|
|
|
4455
4455
|
code: ".color-picker.svelte-1r88q31 {display:flex;flex-flow:row wrap;gap:0.25rem;width:5rem;background-color:var(--tiptob-bg-button, #ffffff);padding:0.25rem;button:where(.svelte-1r88q31) {border:none;border-radius:0.25rem;}.clear:where(.svelte-1r88q31) {width:100%;text-align:center;padding:0.5rem;background-color:var(--tiptob-bg-button, #ffffff);color:#333333;align-items:center;justify-content:center;display:flex;cursor:pointer;&:hover {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}svg {width:1.125rem;height:1.125rem;}}button:where(.svelte-1r88q31):not(.clear) {display:flex;width:1.5rem;height:1.5rem;cursor:pointer;&:hover {border:2px solid #2977ff;}}}"
|
|
4456
4456
|
};
|
|
4457
4457
|
function cu(e, t) {
|
|
4458
|
-
|
|
4458
|
+
Y(t, !0), Ve(e, fu);
|
|
4459
4459
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en"), o = /* @__PURE__ */ ee(!1);
|
|
4460
4460
|
const i = { de: "Markieren", en: "Font Highlight" }, s = [
|
|
4461
4461
|
"#E91313",
|
|
@@ -4484,7 +4484,7 @@ function cu(e, t) {
|
|
|
4484
4484
|
set language(v = "en") {
|
|
4485
4485
|
r(v), y();
|
|
4486
4486
|
}
|
|
4487
|
-
}, u = ne(), p =
|
|
4487
|
+
}, u = ne(), p = W(u);
|
|
4488
4488
|
{
|
|
4489
4489
|
var g = (v) => {
|
|
4490
4490
|
ft(v, {
|
|
@@ -4526,10 +4526,10 @@ function cu(e, t) {
|
|
|
4526
4526
|
n() && v(g);
|
|
4527
4527
|
});
|
|
4528
4528
|
}
|
|
4529
|
-
return M(e, u),
|
|
4529
|
+
return M(e, u), q(c);
|
|
4530
4530
|
}
|
|
4531
4531
|
wt(["click"]);
|
|
4532
|
-
customElements.define("tiptob-font-highlight-button",
|
|
4532
|
+
customElements.define("tiptob-font-highlight-button", K(cu, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
4533
4533
|
const Kr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"></path></svg>', Yo = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M21 15V18H24V20H21V23H19V20H16V18H19V15H21ZM21.0082 3C21.556 3 22 3.44495 22 3.9934V13H20V5H4V18.999L14 9L17 12V14.829L14 11.8284L6.827 19H14V21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082ZM8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7Z"></path></svg>', Xr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z"></path></svg>';
|
|
4534
4534
|
var du = /* @__PURE__ */ le('<!> <input type="file" accept="image/*" class="svelte-1ov1cb6"/>', 1), gu = /* @__PURE__ */ le('<div class="tiptob-link-input-wrapper svelte-1ov1cb6"><input id="tiptob-link-input" type="url" placeholder="Paste a Image Url..." autocomplete="off" class="tiptob-link-input svelte-1ov1cb6"/> <button type="button" class="confirm svelte-1ov1cb6"><!></button> <button class="close svelte-1ov1cb6" type="button"><!></button></div>');
|
|
4535
4535
|
const vu = {
|
|
@@ -4539,7 +4539,7 @@ const vu = {
|
|
|
4539
4539
|
/* --- File Input Styles --- */input[type="file"].svelte-1ov1cb6 {display:none;}`
|
|
4540
4540
|
};
|
|
4541
4541
|
function hu(e, t) {
|
|
4542
|
-
|
|
4542
|
+
Y(t, !0), Ve(e, vu);
|
|
4543
4543
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en"), o = x(t, "imageUpload", 7);
|
|
4544
4544
|
const i = { de: "Bild einfügen", en: "Insert Image" };
|
|
4545
4545
|
let s = /* @__PURE__ */ ee(!1), a = /* @__PURE__ */ ee(""), l;
|
|
@@ -4574,13 +4574,13 @@ function hu(e, t) {
|
|
|
4574
4574
|
set imageUpload(d) {
|
|
4575
4575
|
o(d), y();
|
|
4576
4576
|
}
|
|
4577
|
-
}, v = ne(), h =
|
|
4577
|
+
}, v = ne(), h = W(v);
|
|
4578
4578
|
{
|
|
4579
4579
|
var _ = (d) => {
|
|
4580
|
-
var m = ne(), A =
|
|
4580
|
+
var m = ne(), A = W(m);
|
|
4581
4581
|
{
|
|
4582
4582
|
var w = (k) => {
|
|
4583
|
-
var S = du(), V =
|
|
4583
|
+
var S = du(), V = W(S);
|
|
4584
4584
|
be(V, {
|
|
4585
4585
|
get editor() {
|
|
4586
4586
|
return n();
|
|
@@ -4624,14 +4624,14 @@ function hu(e, t) {
|
|
|
4624
4624
|
return Xr;
|
|
4625
4625
|
}
|
|
4626
4626
|
}), R(D);
|
|
4627
|
-
var
|
|
4627
|
+
var G = Q(D, 2), ge = O(G);
|
|
4628
4628
|
oe(ge, {
|
|
4629
4629
|
get content() {
|
|
4630
4630
|
return Kr;
|
|
4631
4631
|
}
|
|
4632
|
-
}), R(
|
|
4632
|
+
}), R(G), R(Z), Se(() => {
|
|
4633
4633
|
D.disabled = !E(a), J(D, "title", E(a) ? i[r()] : "");
|
|
4634
|
-
}), j("keydown", $, u), qr($, () => E(a), (ue) => H(a, ue)), j("click", D, p), j("click",
|
|
4634
|
+
}), j("keydown", $, u), qr($, () => E(a), (ue) => H(a, ue)), j("click", D, p), j("click", G, () => {
|
|
4635
4635
|
H(s, !1), H(a, "");
|
|
4636
4636
|
}), M(S, Z);
|
|
4637
4637
|
},
|
|
@@ -4648,13 +4648,13 @@ function hu(e, t) {
|
|
|
4648
4648
|
n() && d(_);
|
|
4649
4649
|
});
|
|
4650
4650
|
}
|
|
4651
|
-
return M(e, v),
|
|
4651
|
+
return M(e, v), q(g);
|
|
4652
4652
|
}
|
|
4653
4653
|
wt(["change", "keydown", "click"]);
|
|
4654
|
-
customElements.define("tiptob-image-button",
|
|
4654
|
+
customElements.define("tiptob-image-button", K(hu, { editor: {}, language: {}, imageUpload: {} }, [], [], { mode: "open" }));
|
|
4655
4655
|
const pu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15 20H7V18H9.92661L12.0425 6H9V4H17V6H14.0734L11.9575 18H15V20Z"></path></svg>';
|
|
4656
4656
|
function mu(e, t) {
|
|
4657
|
-
|
|
4657
|
+
Y(t, !0);
|
|
4658
4658
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
4659
4659
|
const o = { de: "Kursiv", en: "Italic" }, i = () => n().chain().focus().toggleItalic().run();
|
|
4660
4660
|
var s = {
|
|
@@ -4670,7 +4670,7 @@ function mu(e, t) {
|
|
|
4670
4670
|
set language(u = "en") {
|
|
4671
4671
|
r(u), y();
|
|
4672
4672
|
}
|
|
4673
|
-
}, a = ne(), l =
|
|
4673
|
+
}, a = ne(), l = W(a);
|
|
4674
4674
|
{
|
|
4675
4675
|
var c = (u) => {
|
|
4676
4676
|
be(u, {
|
|
@@ -4691,12 +4691,12 @@ function mu(e, t) {
|
|
|
4691
4691
|
n() && u(c);
|
|
4692
4692
|
});
|
|
4693
4693
|
}
|
|
4694
|
-
return M(e, a),
|
|
4694
|
+
return M(e, a), q(s);
|
|
4695
4695
|
}
|
|
4696
|
-
customElements.define("tiptob-italic-button",
|
|
4696
|
+
customElements.define("tiptob-italic-button", K(mu, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
4697
4697
|
const _u = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M9 4C10.1046 4 11 4.89543 11 6V12.8271C10.1058 12.1373 8.96602 11.7305 7.6644 11.5136L7.3356 13.4864C8.71622 13.7165 9.59743 14.1528 10.1402 14.7408C10.67 15.3147 11 16.167 11 17.5C11 18.8807 9.88071 20 8.5 20C7.11929 20 6 18.8807 6 17.5V17.1493C6.43007 17.2926 6.87634 17.4099 7.3356 17.4864L7.6644 15.5136C6.92149 15.3898 6.1752 15.1144 5.42909 14.7599C4.58157 14.3573 4 13.499 4 12.5C4 11.6653 4.20761 11.0085 4.55874 10.5257C4.90441 10.0504 5.4419 9.6703 6.24254 9.47014L7 9.28078V6C7 4.89543 7.89543 4 9 4ZM12 3.35418C11.2671 2.52376 10.1947 2 9 2C6.79086 2 5 3.79086 5 6V7.77422C4.14895 8.11644 3.45143 8.64785 2.94126 9.34933C2.29239 10.2415 2 11.3347 2 12.5C2 14.0652 2.79565 15.4367 4 16.2422V17.5C4 19.9853 6.01472 22 8.5 22C9.91363 22 11.175 21.3482 12 20.3287C12.825 21.3482 14.0864 22 15.5 22C17.9853 22 20 19.9853 20 17.5V16.2422C21.2044 15.4367 22 14.0652 22 12.5C22 11.3347 21.7076 10.2415 21.0587 9.34933C20.5486 8.64785 19.8511 8.11644 19 7.77422V6C19 3.79086 17.2091 2 15 2C13.8053 2 12.7329 2.52376 12 3.35418ZM18 17.1493V17.5C18 18.8807 16.8807 20 15.5 20C14.1193 20 13 18.8807 13 17.5C13 16.167 13.33 15.3147 13.8598 14.7408C14.4026 14.1528 15.2838 13.7165 16.6644 13.4864L16.3356 11.5136C15.034 11.7305 13.8942 12.1373 13 12.8271V6C13 4.89543 13.8954 4 15 4C16.1046 4 17 4.89543 17 6V9.28078L17.7575 9.47014C18.5581 9.6703 19.0956 10.0504 19.4413 10.5257C19.7924 11.0085 20 11.6653 20 12.5C20 13.499 19.4184 14.3573 18.5709 14.7599C17.8248 15.1144 17.0785 15.3898 16.3356 15.5136L16.6644 17.4864C17.1237 17.4099 17.5699 17.2926 18 17.1493Z"></path></svg>';
|
|
4698
4698
|
function bu(e, t) {
|
|
4699
|
-
|
|
4699
|
+
Y(t, !0);
|
|
4700
4700
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
4701
4701
|
const o = { de: "Wissensmarkierung", en: "Knowledge Mark" }, i = () => n().chain().toggleKnowledgeMark().run();
|
|
4702
4702
|
var s = {
|
|
@@ -4712,7 +4712,7 @@ function bu(e, t) {
|
|
|
4712
4712
|
set language(u = "en") {
|
|
4713
4713
|
r(u), y();
|
|
4714
4714
|
}
|
|
4715
|
-
}, a = ne(), l =
|
|
4715
|
+
}, a = ne(), l = W(a);
|
|
4716
4716
|
{
|
|
4717
4717
|
var c = (u) => {
|
|
4718
4718
|
be(u, {
|
|
@@ -4733,12 +4733,12 @@ function bu(e, t) {
|
|
|
4733
4733
|
n() && u(c);
|
|
4734
4734
|
});
|
|
4735
4735
|
}
|
|
4736
|
-
return M(e, a),
|
|
4736
|
+
return M(e, a), q(s);
|
|
4737
4737
|
}
|
|
4738
|
-
customElements.define("tiptob-knowledge-button",
|
|
4738
|
+
customElements.define("tiptob-knowledge-button", K(bu, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
4739
4739
|
const wu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8 4H21V6H8V4ZM5 3V6H6V7H3V6H4V4H3V3H5ZM3 14V11.5H5V11H3V10H6V12.5H4V13H6V14H3ZM5 19.5H3V18.5H5V18H3V17H6V21H3V20H5V19.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z"></path></svg>';
|
|
4740
4740
|
function Cu(e, t) {
|
|
4741
|
-
|
|
4741
|
+
Y(t, !0);
|
|
4742
4742
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
4743
4743
|
const o = { de: "Nummerierung", en: "Numbered List" }, i = () => {
|
|
4744
4744
|
n().isActive("bulletList") && n().commands.toggleList("bulletList", "listItem"), n().commands.toggleList("orderedList", "listItem");
|
|
@@ -4756,7 +4756,7 @@ function Cu(e, t) {
|
|
|
4756
4756
|
set language(u = "en") {
|
|
4757
4757
|
r(u), y();
|
|
4758
4758
|
}
|
|
4759
|
-
}, a = ne(), l =
|
|
4759
|
+
}, a = ne(), l = W(a);
|
|
4760
4760
|
{
|
|
4761
4761
|
var c = (u) => {
|
|
4762
4762
|
be(u, {
|
|
@@ -4777,9 +4777,9 @@ function Cu(e, t) {
|
|
|
4777
4777
|
n() && u(c);
|
|
4778
4778
|
});
|
|
4779
4779
|
}
|
|
4780
|
-
return M(e, a),
|
|
4780
|
+
return M(e, a), q(s);
|
|
4781
4781
|
}
|
|
4782
|
-
customElements.define("tiptob-ordered-list-button",
|
|
4782
|
+
customElements.define("tiptob-ordered-list-button", K(Cu, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
4783
4783
|
const Eu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM7 19H21V21H7V19ZM3 14H21V16H3V14ZM7 9H21V11H7V9Z"></path></svg>', qo = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM3 19H17V21H3V19ZM3 14H21V16H3V14ZM3 9H17V11H3V9Z"></path></svg>', yu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM5 19H19V21H5V19ZM3 14H21V16H3V14ZM5 9H19V11H5V9Z"></path></svg>', Tu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM3 19H21V21H3V19ZM3 14H21V16H3V14ZM3 9H21V11H3V9Z"></path></svg>';
|
|
4784
4784
|
var xu = /* @__PURE__ */ le('<div class="text-align-dropdown svelte-mxs45l"></div>');
|
|
4785
4785
|
const Au = {
|
|
@@ -4787,7 +4787,7 @@ const Au = {
|
|
|
4787
4787
|
code: ".text-align-dropdown.svelte-mxs45l {display:flex;flex-flow:column;padding:0.25rem;background-color:var(--tiptob-bg-button, #fff);}"
|
|
4788
4788
|
};
|
|
4789
4789
|
function Lu(e, t) {
|
|
4790
|
-
|
|
4790
|
+
Y(t, !0), Ve(e, Au);
|
|
4791
4791
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en"), o = /* @__PURE__ */ ee(!1);
|
|
4792
4792
|
const i = {
|
|
4793
4793
|
de: {
|
|
@@ -4847,7 +4847,7 @@ function Lu(e, t) {
|
|
|
4847
4847
|
set language(p = "en") {
|
|
4848
4848
|
r(p), y();
|
|
4849
4849
|
}
|
|
4850
|
-
}, l = ne(), c =
|
|
4850
|
+
}, l = ne(), c = W(l);
|
|
4851
4851
|
{
|
|
4852
4852
|
var u = (p) => {
|
|
4853
4853
|
ft(p, {
|
|
@@ -4897,12 +4897,12 @@ function Lu(e, t) {
|
|
|
4897
4897
|
n() && p(u);
|
|
4898
4898
|
});
|
|
4899
4899
|
}
|
|
4900
|
-
return M(e, l),
|
|
4900
|
+
return M(e, l), q(a);
|
|
4901
4901
|
}
|
|
4902
|
-
customElements.define("tiptob-text-align-button",
|
|
4902
|
+
customElements.define("tiptob-text-align-button", K(Lu, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
4903
4903
|
const Hu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18.1716 6.99955H11C7.68629 6.99955 5 9.68584 5 12.9996C5 16.3133 7.68629 18.9996 11 18.9996H20V20.9996H11C6.58172 20.9996 3 17.4178 3 12.9996C3 8.58127 6.58172 4.99955 11 4.99955H18.1716L15.636 2.46402L17.0503 1.0498L22 5.99955L17.0503 10.9493L15.636 9.53509L18.1716 6.99955Z"></path></svg>';
|
|
4904
4904
|
function ku(e, t) {
|
|
4905
|
-
|
|
4905
|
+
Y(t, !0);
|
|
4906
4906
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
4907
4907
|
const o = { de: "Wiederherstellen", en: "Redo" }, i = () => n().chain().focus().redo().run();
|
|
4908
4908
|
var s = {
|
|
@@ -4918,7 +4918,7 @@ function ku(e, t) {
|
|
|
4918
4918
|
set language(u = "en") {
|
|
4919
4919
|
r(u), y();
|
|
4920
4920
|
}
|
|
4921
|
-
}, a = ne(), l =
|
|
4921
|
+
}, a = ne(), l = W(a);
|
|
4922
4922
|
{
|
|
4923
4923
|
var c = (u) => {
|
|
4924
4924
|
be(u, {
|
|
@@ -4939,12 +4939,12 @@ function ku(e, t) {
|
|
|
4939
4939
|
n() && u(c);
|
|
4940
4940
|
});
|
|
4941
4941
|
}
|
|
4942
|
-
return M(e, a),
|
|
4942
|
+
return M(e, a), q(s);
|
|
4943
4943
|
}
|
|
4944
|
-
customElements.define("tiptob-redo-button",
|
|
4944
|
+
customElements.define("tiptob-redo-button", K(ku, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
4945
4945
|
const Mu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12.6512 14.0654L11.6047 20H9.57389L10.9247 12.339L3.51465 4.92892L4.92886 3.51471L20.4852 19.0711L19.071 20.4853L12.6512 14.0654ZM11.7727 7.53009L12.0425 5.99999H10.2426L8.24257 3.99999H19.9999V5.99999H14.0733L13.4991 9.25652L11.7727 7.53009Z"></path></svg>';
|
|
4946
4946
|
function Su(e, t) {
|
|
4947
|
-
|
|
4947
|
+
Y(t, !0);
|
|
4948
4948
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
4949
4949
|
const o = { de: "Formatierung entfernen", en: "Remove Format" }, i = () => n().chain().focus().unsetAllMarks().run();
|
|
4950
4950
|
var s = {
|
|
@@ -4960,7 +4960,7 @@ function Su(e, t) {
|
|
|
4960
4960
|
set language(u = "en") {
|
|
4961
4961
|
r(u), y();
|
|
4962
4962
|
}
|
|
4963
|
-
}, a = ne(), l =
|
|
4963
|
+
}, a = ne(), l = W(a);
|
|
4964
4964
|
{
|
|
4965
4965
|
var c = (u) => {
|
|
4966
4966
|
be(u, {
|
|
@@ -4981,12 +4981,12 @@ function Su(e, t) {
|
|
|
4981
4981
|
n() && u(c);
|
|
4982
4982
|
});
|
|
4983
4983
|
}
|
|
4984
|
-
return M(e, a),
|
|
4984
|
+
return M(e, a), q(s);
|
|
4985
4985
|
}
|
|
4986
|
-
customElements.define("tiptob-remove-format-button",
|
|
4986
|
+
customElements.define("tiptob-remove-format-button", K(Su, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
4987
4987
|
const Jr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M17.1538 14C17.3846 14.5161 17.5 15.0893 17.5 15.7196C17.5 17.0625 16.9762 18.1116 15.9286 18.867C14.8809 19.6223 13.4335 20 11.5862 20C9.94674 20 8.32335 19.6185 6.71592 18.8555V16.6009C8.23538 17.4783 9.7908 17.917 11.3822 17.917C13.9333 17.917 15.2128 17.1846 15.2208 15.7196C15.2208 15.0939 15.0049 14.5598 14.5731 14.1173C14.5339 14.0772 14.4939 14.0381 14.4531 14H3V12H21V14H17.1538ZM13.076 11H7.62908C7.4566 10.8433 7.29616 10.6692 7.14776 10.4778C6.71592 9.92084 6.5 9.24559 6.5 8.45207C6.5 7.21602 6.96583 6.165 7.89749 5.299C8.82916 4.43299 10.2706 4 12.2219 4C13.6934 4 15.1009 4.32808 16.4444 4.98426V7.13591C15.2448 6.44921 13.9293 6.10587 12.4978 6.10587C10.0187 6.10587 8.77917 6.88793 8.77917 8.45207C8.77917 8.87172 8.99709 9.23796 9.43293 9.55079C9.86878 9.86362 10.4066 10.1135 11.0463 10.3004C11.6665 10.4816 12.3431 10.7148 13.076 11H13.076Z"></path></svg>';
|
|
4988
4988
|
function Vu(e, t) {
|
|
4989
|
-
|
|
4989
|
+
Y(t, !0);
|
|
4990
4990
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
4991
4991
|
const o = { de: "Durchstreichen", en: "Strikethrough" }, i = () => n().chain().focus().toggleStrike().run();
|
|
4992
4992
|
var s = {
|
|
@@ -5002,7 +5002,7 @@ function Vu(e, t) {
|
|
|
5002
5002
|
set language(u = "en") {
|
|
5003
5003
|
r(u), y();
|
|
5004
5004
|
}
|
|
5005
|
-
}, a = ne(), l =
|
|
5005
|
+
}, a = ne(), l = W(a);
|
|
5006
5006
|
{
|
|
5007
5007
|
var c = (u) => {
|
|
5008
5008
|
be(u, {
|
|
@@ -5023,12 +5023,12 @@ function Vu(e, t) {
|
|
|
5023
5023
|
n() && u(c);
|
|
5024
5024
|
});
|
|
5025
5025
|
}
|
|
5026
|
-
return M(e, a),
|
|
5026
|
+
return M(e, a), q(s);
|
|
5027
5027
|
}
|
|
5028
|
-
customElements.define("tiptob-strike-button",
|
|
5028
|
+
customElements.define("tiptob-strike-button", K(Vu, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
5029
5029
|
const Ru = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8 3V12C8 14.2091 9.79086 16 12 16C14.2091 16 16 14.2091 16 12V3H18V12C18 15.3137 15.3137 18 12 18C8.68629 18 6 15.3137 6 12V3H8ZM4 20H20V22H4V20Z"></path></svg>';
|
|
5030
5030
|
function Ou(e, t) {
|
|
5031
|
-
|
|
5031
|
+
Y(t, !0);
|
|
5032
5032
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
5033
5033
|
const o = { de: "Unterstreichen", en: "Underline" }, i = () => n().chain().focus().toggleUnderline().run();
|
|
5034
5034
|
var s = {
|
|
@@ -5044,7 +5044,7 @@ function Ou(e, t) {
|
|
|
5044
5044
|
set language(u = "en") {
|
|
5045
5045
|
r(u), y();
|
|
5046
5046
|
}
|
|
5047
|
-
}, a = ne(), l =
|
|
5047
|
+
}, a = ne(), l = W(a);
|
|
5048
5048
|
{
|
|
5049
5049
|
var c = (u) => {
|
|
5050
5050
|
be(u, {
|
|
@@ -5065,12 +5065,12 @@ function Ou(e, t) {
|
|
|
5065
5065
|
n() && u(c);
|
|
5066
5066
|
});
|
|
5067
5067
|
}
|
|
5068
|
-
return M(e, a),
|
|
5068
|
+
return M(e, a), q(s);
|
|
5069
5069
|
}
|
|
5070
|
-
customElements.define("tiptob-underline-button",
|
|
5070
|
+
customElements.define("tiptob-underline-button", K(Ou, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
5071
5071
|
const Iu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M5.82843 6.99955L8.36396 9.53509L6.94975 10.9493L2 5.99955L6.94975 1.0498L8.36396 2.46402L5.82843 4.99955H13C17.4183 4.99955 21 8.58127 21 12.9996C21 17.4178 17.4183 20.9996 13 20.9996H4V18.9996H13C16.3137 18.9996 19 16.3133 19 12.9996C19 9.68584 16.3137 6.99955 13 6.99955H5.82843Z"></path></svg>';
|
|
5072
5072
|
function Du(e, t) {
|
|
5073
|
-
|
|
5073
|
+
Y(t, !0);
|
|
5074
5074
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
5075
5075
|
const o = { de: "Rückgängig", en: "Undo" }, i = () => n().chain().focus().undo().run();
|
|
5076
5076
|
var s = {
|
|
@@ -5086,7 +5086,7 @@ function Du(e, t) {
|
|
|
5086
5086
|
set language(u = "en") {
|
|
5087
5087
|
r(u), y();
|
|
5088
5088
|
}
|
|
5089
|
-
}, a = ne(), l =
|
|
5089
|
+
}, a = ne(), l = W(a);
|
|
5090
5090
|
{
|
|
5091
5091
|
var c = (u) => {
|
|
5092
5092
|
be(u, {
|
|
@@ -5107,9 +5107,9 @@ function Du(e, t) {
|
|
|
5107
5107
|
n() && u(c);
|
|
5108
5108
|
});
|
|
5109
5109
|
}
|
|
5110
|
-
return M(e, a),
|
|
5110
|
+
return M(e, a), q(s);
|
|
5111
5111
|
}
|
|
5112
|
-
customElements.define("tiptob-undo-button",
|
|
5112
|
+
customElements.define("tiptob-undo-button", K(Du, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
5113
5113
|
const Nu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z"></path></svg>', $u = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="240" height="240" fill="currentColor"><path d="M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z"></path></svg>
|
|
5114
5114
|
`;
|
|
5115
5115
|
Xs();
|
|
@@ -5123,14 +5123,14 @@ function rs(e) {
|
|
|
5123
5123
|
var t = Pu();
|
|
5124
5124
|
M(e, t);
|
|
5125
5125
|
}
|
|
5126
|
-
|
|
5126
|
+
K(rs, {}, [], [], { mode: "open" });
|
|
5127
5127
|
var Fu = /* @__PURE__ */ le('<div class="tiptob-link-input-wrapper svelte-pelsj9"><input id="tiptob-link-input" type="url" autocomplete="off" class="tiptob-link-input svelte-pelsj9"/> <button type="button" class="confirm svelte-pelsj9"><!></button> <!> <button type="button" class="svelte-pelsj9"><!></button> <button class="close svelte-pelsj9" type="button"><!></button></div>');
|
|
5128
5128
|
const Zu = {
|
|
5129
5129
|
hash: "svelte-pelsj9",
|
|
5130
5130
|
code: ".tiptob-link-input-wrapper.svelte-pelsj9 {display:flex;flex-direction:row;gap:0.25rem;padding:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);}button.svelte-pelsj9 {display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0.25rem;border:none;border-radius:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);flex:40%;&:hover:enabled {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}&:disabled {opacity:0.5;cursor:default;&.confirm {svg {fill:var(--tiptob-bg-icon, #333333);}}}&.confirm {svg {fill:var(--icon-green, #28a745);}}&.close {svg {fill:var(--icon-red, #dc3545);}}}.tiptob-link-input.svelte-pelsj9::placeholder {color:var(--tiptob-bg-icon, #333333);opacity:0.5;}.tiptob-link-input.svelte-pelsj9 {display:flex;padding:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);color:var(--tiptob-bg-icon, #333333);outline:none;border:0;}"
|
|
5131
5131
|
};
|
|
5132
5132
|
function Uu(e, t) {
|
|
5133
|
-
|
|
5133
|
+
Y(t, !0), Ve(e, Zu);
|
|
5134
5134
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en"), o = /* @__PURE__ */ ee(!1), i = /* @__PURE__ */ ee("");
|
|
5135
5135
|
const s = {
|
|
5136
5136
|
de: {
|
|
@@ -5189,7 +5189,7 @@ function Uu(e, t) {
|
|
|
5189
5189
|
set language(_ = "en") {
|
|
5190
5190
|
r(_), y();
|
|
5191
5191
|
}
|
|
5192
|
-
}, g = ne(), v =
|
|
5192
|
+
}, g = ne(), v = W(g);
|
|
5193
5193
|
{
|
|
5194
5194
|
var h = (_) => {
|
|
5195
5195
|
ft(_, {
|
|
@@ -5243,12 +5243,12 @@ function Uu(e, t) {
|
|
|
5243
5243
|
n() && _(h);
|
|
5244
5244
|
});
|
|
5245
5245
|
}
|
|
5246
|
-
return M(e, g),
|
|
5246
|
+
return M(e, g), q(p);
|
|
5247
5247
|
}
|
|
5248
5248
|
wt(["keydown", "click"]);
|
|
5249
|
-
customElements.define("tiptob-hyperlink-button",
|
|
5249
|
+
customElements.define("tiptob-hyperlink-button", K(Uu, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
5250
5250
|
function zu(e, t) {
|
|
5251
|
-
|
|
5251
|
+
Y(t, !0);
|
|
5252
5252
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
5253
5253
|
const o = { de: "HTML anzeigen", en: "Show HTML" }, i = () => n().commands.setContent(n().getText());
|
|
5254
5254
|
var s = {
|
|
@@ -5264,7 +5264,7 @@ function zu(e, t) {
|
|
|
5264
5264
|
set language(u = "en") {
|
|
5265
5265
|
r(u), y();
|
|
5266
5266
|
}
|
|
5267
|
-
}, a = ne(), l =
|
|
5267
|
+
}, a = ne(), l = W(a);
|
|
5268
5268
|
{
|
|
5269
5269
|
var c = (u) => {
|
|
5270
5270
|
be(u, {
|
|
@@ -5285,11 +5285,11 @@ function zu(e, t) {
|
|
|
5285
5285
|
n() && u(c);
|
|
5286
5286
|
});
|
|
5287
5287
|
}
|
|
5288
|
-
return M(e, a),
|
|
5288
|
+
return M(e, a), q(s);
|
|
5289
5289
|
}
|
|
5290
|
-
customElements.define("tiptob-show-html-button",
|
|
5290
|
+
customElements.define("tiptob-show-html-button", K(zu, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
5291
5291
|
function ju(e, t) {
|
|
5292
|
-
|
|
5292
|
+
Y(t, !0);
|
|
5293
5293
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en");
|
|
5294
5294
|
const o = { de: "Quellcode anzeigen", en: "Show source code" }, i = () => n().commands.setContent(`<textarea>${n().getHTML()}</textarea>`);
|
|
5295
5295
|
var s = {
|
|
@@ -5305,7 +5305,7 @@ function ju(e, t) {
|
|
|
5305
5305
|
set language(u = "en") {
|
|
5306
5306
|
r(u), y();
|
|
5307
5307
|
}
|
|
5308
|
-
}, a = ne(), l =
|
|
5308
|
+
}, a = ne(), l = W(a);
|
|
5309
5309
|
{
|
|
5310
5310
|
var c = (u) => {
|
|
5311
5311
|
be(u, {
|
|
@@ -5326,9 +5326,9 @@ function ju(e, t) {
|
|
|
5326
5326
|
n() && u(c);
|
|
5327
5327
|
});
|
|
5328
5328
|
}
|
|
5329
|
-
return M(e, a),
|
|
5329
|
+
return M(e, a), q(s);
|
|
5330
5330
|
}
|
|
5331
|
-
customElements.define("tiptob-show-source-button",
|
|
5331
|
+
customElements.define("tiptob-show-source-button", K(ju, { editor: {}, language: {} }, [], [], { mode: "open" }));
|
|
5332
5332
|
const Gu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="240" height="240" fill="currentColor"><path d="M13 6V21H11V6H5V4H19V6H13Z"></path></svg>';
|
|
5333
5333
|
var Wu = /* @__PURE__ */ le('<button class="menu-item svelte-1oxnus1"> </button>'), Yu = /* @__PURE__ */ le('<div class="dropdown-content svelte-1oxnus1"><div class="search-wrapper svelte-1oxnus1"><input type="text" class="svelte-1oxnus1"/></div> <div class="menu svelte-1oxnus1"></div> <div class="button-wrapper svelte-1oxnus1"><button type="button" class="confirm svelte-1oxnus1"><!></button> <button type="button" class="close svelte-1oxnus1"><!></button></div></div>');
|
|
5334
5334
|
const qu = {
|
|
@@ -5337,7 +5337,7 @@ const qu = {
|
|
|
5337
5337
|
.menu-item.svelte-1oxnus1:hover {background:#f0f0f0;}.button-wrapper.svelte-1oxnus1 {display:flex;justify-content:space-evenly;padding:0.25rem 0;border-top:1px solid #cecece;position:sticky;background:#fff;button:where(.svelte-1oxnus1) {display:flex;align-items:center;justify-content:center;width:40%;border:none;border-radius:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);cursor:pointer;&:hover:enabled {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}&.confirm {svg {fill:var(--icon-green, #28a745);}}&.close {svg {fill:var(--icon-red, #dc3545);}}}}`
|
|
5338
5338
|
};
|
|
5339
5339
|
function Ku(e, t) {
|
|
5340
|
-
|
|
5340
|
+
Y(t, !0), Ve(e, qu);
|
|
5341
5341
|
const n = {
|
|
5342
5342
|
de: {
|
|
5343
5343
|
main: "Token auswählen",
|
|
@@ -5381,7 +5381,7 @@ function Ku(e, t) {
|
|
|
5381
5381
|
set placeHolders(d) {
|
|
5382
5382
|
i(d), y();
|
|
5383
5383
|
}
|
|
5384
|
-
}, v = ne(), h =
|
|
5384
|
+
}, v = ne(), h = W(v);
|
|
5385
5385
|
{
|
|
5386
5386
|
var _ = (d) => {
|
|
5387
5387
|
ft(d, {
|
|
@@ -5406,9 +5406,9 @@ function Ku(e, t) {
|
|
|
5406
5406
|
var w = Yu(), C = O(w), k = O(C);
|
|
5407
5407
|
Yr(k), R(C);
|
|
5408
5408
|
var S = Q(C, 2);
|
|
5409
|
-
Ot(S, 21, () => E(c), (
|
|
5409
|
+
Ot(S, 21, () => E(c), (G) => `${G.expression}::${G.translation}`, (G, ge) => {
|
|
5410
5410
|
var ue = Wu(), en = O(ue, !0);
|
|
5411
|
-
R(ue), Se(() => Gr(en, E(ge).translation)), j("click", ue, () => H(a, E(ge).expression, !0)), M(
|
|
5411
|
+
R(ue), Se(() => Gr(en, E(ge).translation)), j("click", ue, () => H(a, E(ge).expression, !0)), M(G, ue);
|
|
5412
5412
|
}), R(S);
|
|
5413
5413
|
var V = Q(S, 2), Z = O(V), $ = O(Z);
|
|
5414
5414
|
oe($, {
|
|
@@ -5423,7 +5423,7 @@ function Ku(e, t) {
|
|
|
5423
5423
|
}
|
|
5424
5424
|
}), R(D), R(V), R(w), Se(() => {
|
|
5425
5425
|
J(k, "placeholder", n[o()].search), J(Z, "title", n[o()].confirm), J(D, "title", n[o()].close);
|
|
5426
|
-
}), j("click", k, (
|
|
5426
|
+
}), j("click", k, (G) => G.stopPropagation()), qr(k, () => E(l), (G) => H(l, G)), j("click", Z, u), j("click", D, p), M(m, w);
|
|
5427
5427
|
},
|
|
5428
5428
|
$$slots: { default: !0 }
|
|
5429
5429
|
});
|
|
@@ -5432,10 +5432,10 @@ function Ku(e, t) {
|
|
|
5432
5432
|
r() && d(_);
|
|
5433
5433
|
});
|
|
5434
5434
|
}
|
|
5435
|
-
return M(e, v),
|
|
5435
|
+
return M(e, v), q(g);
|
|
5436
5436
|
}
|
|
5437
5437
|
wt(["click"]);
|
|
5438
|
-
customElements.define("tiptob-token-button",
|
|
5438
|
+
customElements.define("tiptob-token-button", K(Ku, { editor: {}, language: {}, placeHolders: {} }, [], [], { mode: "open" }));
|
|
5439
5439
|
const Xu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13,4A4,4 0 0,1 17,8A4,4 0 0,1 13,12H11V18H9V4H13M13,10A2,2 0 0,0 15,8A2,2 0 0,0 13,6H11V10H13Z" /></svg>', Ju = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M17 11V4H19V21H17V13H7V21H5V4H7V11H17Z"></path></svg>', Qu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13 20H11V13H4V20H2V4H4V11H11V4H13V20ZM21.0005 8V20H19.0005L19 10.204L17 10.74V8.67L19.5005 8H21.0005Z"></path></svg>', ef = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 4V11H11V4H13V20H11V13H4V20H2V4H4ZM18.5 8C20.5711 8 22.25 9.67893 22.25 11.75C22.25 12.6074 21.9623 13.3976 21.4781 14.0292L21.3302 14.2102L18.0343 18H22V20H15L14.9993 18.444L19.8207 12.8981C20.0881 12.5908 20.25 12.1893 20.25 11.75C20.25 10.7835 19.4665 10 18.5 10C17.5818 10 16.8288 10.7071 16.7558 11.6065L16.75 11.75H14.75C14.75 9.67893 16.4289 8 18.5 8Z"></path></svg>', tf = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22 8L21.9984 10L19.4934 12.883C21.0823 13.3184 22.25 14.7728 22.25 16.5C22.25 18.5711 20.5711 20.25 18.5 20.25C16.674 20.25 15.1528 18.9449 14.8184 17.2166L16.7821 16.8352C16.9384 17.6413 17.6481 18.25 18.5 18.25C19.4665 18.25 20.25 17.4665 20.25 16.5C20.25 15.5335 19.4665 14.75 18.5 14.75C18.214 14.75 17.944 14.8186 17.7056 14.9403L16.3992 13.3932L19.3484 10H15V8H22ZM4 4V11H11V4H13V20H11V13H4V20H2V4H4Z"></path></svg>', nf = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13 20H11V13H4V20H2V4H4V11H11V4H13V20ZM22 8V16H23.5V18H22V20H20V18H14.5V16.66L19.5 8H22ZM20 11.133L17.19 16H20V11.133Z"></path></svg>', rf = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22 8V10H17.6769L17.2126 12.6358C17.5435 12.5472 17.8912 12.5 18.25 12.5C20.4591 12.5 22.25 14.2909 22.25 16.5C22.25 18.7091 20.4591 20.5 18.25 20.5C16.4233 20.5 14.8827 19.2756 14.4039 17.6027L16.3271 17.0519C16.5667 17.8881 17.3369 18.5 18.25 18.5C19.3546 18.5 20.25 17.6046 20.25 16.5C20.25 15.3954 19.3546 14.5 18.25 14.5C17.6194 14.5 17.057 14.7918 16.6904 15.2478L14.8803 14.3439L16 8H22ZM4 4V11H11V4H13V20H11V13H4V20H2V4H4Z"></path></svg>', of = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M21.097 8L18.499 12.5C20.7091 12.5 22.5 14.2909 22.5 16.5C22.5 18.7091 20.7091 20.5 18.5 20.5C16.2909 20.5 14.5 18.7091 14.5 16.5C14.5 15.7636 14.699 15.0737 15.0461 14.4811L18.788 8H21.097ZM4 4V11H11V4H13V20H11V13H4V20H2V4H4ZM18.5 14.5C17.3954 14.5 16.5 15.3954 16.5 16.5C16.5 17.6046 17.3954 18.5 18.5 18.5C19.6046 18.5 20.5 17.6046 20.5 16.5C20.5 15.3954 19.6046 14.5 18.5 14.5Z"></path></svg>';
|
|
5440
5440
|
var sf = /* @__PURE__ */ le('<div class="heading-dropdown svelte-162mxmd"></div>');
|
|
5441
5441
|
const af = {
|
|
@@ -5443,7 +5443,7 @@ const af = {
|
|
|
5443
5443
|
code: ".heading-dropdown.svelte-162mxmd {display:flex;flex-flow:column;padding:0.25rem;background-color:var(--tiptob-bg-button, #fff);}"
|
|
5444
5444
|
};
|
|
5445
5445
|
function lf(e, t) {
|
|
5446
|
-
|
|
5446
|
+
Y(t, !0), Ve(e, af);
|
|
5447
5447
|
let n = x(t, "editor", 7), r = x(t, "language", 7, "en"), o = x(t, "availableOptions", 23, () => ["paragraph", "h1", "h2", "h3", "h4", "h5", "h6"]), i = /* @__PURE__ */ ee(!1);
|
|
5448
5448
|
const s = {
|
|
5449
5449
|
de: {
|
|
@@ -5497,7 +5497,7 @@ function lf(e, t) {
|
|
|
5497
5497
|
set availableOptions(v = ["paragraph", "h1", "h2", "h3", "h4", "h5", "h6"]) {
|
|
5498
5498
|
o(v), y();
|
|
5499
5499
|
}
|
|
5500
|
-
}, u = ne(), p =
|
|
5500
|
+
}, u = ne(), p = W(u);
|
|
5501
5501
|
{
|
|
5502
5502
|
var g = (v) => {
|
|
5503
5503
|
ft(v, {
|
|
@@ -5550,9 +5550,9 @@ function lf(e, t) {
|
|
|
5550
5550
|
n() && v(g);
|
|
5551
5551
|
});
|
|
5552
5552
|
}
|
|
5553
|
-
return M(e, u),
|
|
5553
|
+
return M(e, u), q(c);
|
|
5554
5554
|
}
|
|
5555
|
-
customElements.define("tiptob-heading-button",
|
|
5555
|
+
customElements.define("tiptob-heading-button", K(lf, { editor: {}, language: {}, availableOptions: {} }, [], [], { mode: "open" }));
|
|
5556
5556
|
export {
|
|
5557
5557
|
kl as BoldButton,
|
|
5558
5558
|
su as BulletListButton,
|