@zealsolutions/zeal-ui 1.0.0-alpha.350 → 1.0.0-alpha.351
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/components/tiptap/index.js +183 -183
- package/package.json +1 -1
|
@@ -18945,7 +18945,11 @@ const Bw = { class: "w-full max-w-[500px] bg-steel-200 grid grid-cols-2 border-2
|
|
|
18945
18945
|
/* @__PURE__ */ x("i", { class: "fa-solid fa-plus" })
|
|
18946
18946
|
], -1), _w = [
|
|
18947
18947
|
jw
|
|
18948
|
-
], Ww = { class: "w-full max-w-[500px] justify-between items-center carousel-view flex-row
|
|
18948
|
+
], Ww = { class: "w-full max-w-[500px] justify-between items-center carousel-view flex-row my-2" }, Uw = /* @__PURE__ */ x("i", { class: "fa-solid fa-arrow-left text-xl pointer-events-none" }, null, -1), qw = [
|
|
18949
|
+
Uw
|
|
18950
|
+
], Kw = { class: "flex justify-center w-[80%] relative h-[250px] overflow-hidden" }, Jw = ["src"], Gw = /* @__PURE__ */ x("i", { class: "fa-solid fa-arrow-right text-xl pointer-events-none" }, null, -1), Yw = [
|
|
18951
|
+
Gw
|
|
18952
|
+
], Xw = {
|
|
18949
18953
|
__name: "ImageCarousel",
|
|
18950
18954
|
props: {
|
|
18951
18955
|
node: {
|
|
@@ -18995,32 +18999,28 @@ const Bw = { class: "w-full max-w-[500px] bg-steel-200 grid grid-cols-2 border-2
|
|
|
18995
18999
|
}, _w)) : _("", !0)
|
|
18996
19000
|
]),
|
|
18997
19001
|
x("div", Ww, [
|
|
18998
|
-
x("div",
|
|
18999
|
-
|
|
19000
|
-
|
|
19001
|
-
|
|
19002
|
-
|
|
19003
|
-
|
|
19004
|
-
]),
|
|
19005
|
-
x("div", qw, [
|
|
19002
|
+
x("div", {
|
|
19003
|
+
class: "w-[10%] flex justify-center items-center relative z-10 cursor-pointer",
|
|
19004
|
+
"data-testid": "carousel-prev",
|
|
19005
|
+
onClick: d[1] || (d[1] = (u) => W(i)())
|
|
19006
|
+
}, qw),
|
|
19007
|
+
x("div", Kw, [
|
|
19006
19008
|
I(Cp, null, {
|
|
19007
19009
|
default: P(() => [
|
|
19008
19010
|
(E(), V("img", {
|
|
19009
19011
|
src: W(r),
|
|
19010
19012
|
key: W(r),
|
|
19011
19013
|
class: "absolute max-h-full max-w-full w-auto pointer-events-none"
|
|
19012
|
-
}, null, 8,
|
|
19014
|
+
}, null, 8, Jw))
|
|
19013
19015
|
]),
|
|
19014
19016
|
_: 1
|
|
19015
19017
|
})
|
|
19016
19018
|
]),
|
|
19017
|
-
x("div",
|
|
19018
|
-
|
|
19019
|
-
|
|
19020
|
-
|
|
19021
|
-
|
|
19022
|
-
})
|
|
19023
|
-
])
|
|
19019
|
+
x("div", {
|
|
19020
|
+
class: "w-[10%] flex justify-center items-center relative z-10 cursor-pointer",
|
|
19021
|
+
"data-testid": "carousel-next",
|
|
19022
|
+
onClick: d[2] || (d[2] = (u) => W(o)())
|
|
19023
|
+
}, Yw)
|
|
19024
19024
|
]),
|
|
19025
19025
|
s.value ? (E(), X(Gf, {
|
|
19026
19026
|
key: 0,
|
|
@@ -19034,7 +19034,7 @@ const Bw = { class: "w-full max-w-[500px] bg-steel-200 grid grid-cols-2 border-2
|
|
|
19034
19034
|
_: 1
|
|
19035
19035
|
}));
|
|
19036
19036
|
}
|
|
19037
|
-
},
|
|
19037
|
+
}, Qw = ie.create({
|
|
19038
19038
|
name: "ImageCarousel",
|
|
19039
19039
|
group: "block",
|
|
19040
19040
|
content: "inline*",
|
|
@@ -19050,7 +19050,7 @@ const Bw = { class: "w-full max-w-[500px] bg-steel-200 grid grid-cols-2 border-2
|
|
|
19050
19050
|
return ["image-carousel", ee(n)];
|
|
19051
19051
|
},
|
|
19052
19052
|
addNodeView() {
|
|
19053
|
-
return is(
|
|
19053
|
+
return is(Xw);
|
|
19054
19054
|
},
|
|
19055
19055
|
addAttributes() {
|
|
19056
19056
|
return {
|
|
@@ -19067,7 +19067,7 @@ const Bw = { class: "w-full max-w-[500px] bg-steel-200 grid grid-cols-2 border-2
|
|
|
19067
19067
|
addCommands() {
|
|
19068
19068
|
return {};
|
|
19069
19069
|
}
|
|
19070
|
-
}),
|
|
19070
|
+
}), Zw = fe.create({
|
|
19071
19071
|
name: "placeholder",
|
|
19072
19072
|
addOptions() {
|
|
19073
19073
|
return {
|
|
@@ -19112,7 +19112,7 @@ const Bw = { class: "w-full max-w-[500px] bg-steel-200 grid grid-cols-2 border-2
|
|
|
19112
19112
|
})
|
|
19113
19113
|
];
|
|
19114
19114
|
}
|
|
19115
|
-
}),
|
|
19115
|
+
}), ek = ie.create({
|
|
19116
19116
|
name: "UneditableTitle",
|
|
19117
19117
|
group: "block",
|
|
19118
19118
|
content: "inline*",
|
|
@@ -19139,22 +19139,22 @@ const Bw = { class: "w-full max-w-[500px] bg-steel-200 grid grid-cols-2 border-2
|
|
|
19139
19139
|
};
|
|
19140
19140
|
};
|
|
19141
19141
|
}
|
|
19142
|
-
}),
|
|
19142
|
+
}), tk = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", nk = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", or = (n, e) => {
|
|
19143
19143
|
for (const t in e)
|
|
19144
19144
|
n[t] = e[t];
|
|
19145
19145
|
return n;
|
|
19146
|
-
}, bl = "numeric", vl = "ascii", xl = "alpha", Ir = "asciinumeric", Sr = "alphanumeric", wl = "domain", Yf = "emoji",
|
|
19147
|
-
function
|
|
19146
|
+
}, bl = "numeric", vl = "ascii", xl = "alpha", Ir = "asciinumeric", Sr = "alphanumeric", wl = "domain", Yf = "emoji", rk = "scheme", ik = "slashscheme", Bs = "whitespace";
|
|
19147
|
+
function ok(n, e) {
|
|
19148
19148
|
return n in e || (e[n] = []), e[n];
|
|
19149
19149
|
}
|
|
19150
19150
|
function pn(n, e, t) {
|
|
19151
19151
|
e[bl] && (e[Ir] = !0, e[Sr] = !0), e[vl] && (e[Ir] = !0, e[xl] = !0), e[Ir] && (e[Sr] = !0), e[xl] && (e[Sr] = !0), e[Sr] && (e[wl] = !0), e[Yf] && (e[wl] = !0);
|
|
19152
19152
|
for (const r in e) {
|
|
19153
|
-
const i =
|
|
19153
|
+
const i = ok(r, t);
|
|
19154
19154
|
i.indexOf(n) < 0 && i.push(n);
|
|
19155
19155
|
}
|
|
19156
19156
|
}
|
|
19157
|
-
function
|
|
19157
|
+
function sk(n, e) {
|
|
19158
19158
|
const t = {};
|
|
19159
19159
|
for (const r in e)
|
|
19160
19160
|
e[r].indexOf(n) >= 0 && (t[r] = !0);
|
|
@@ -19276,7 +19276,7 @@ Pe.prototype = {
|
|
|
19276
19276
|
if (l ? (s = new Pe(), or(s.j, l.j), s.jr.push.apply(s.jr, l.jr), s.jd = l.jd, s.t = l.t) : s = new Pe(), o) {
|
|
19277
19277
|
if (r)
|
|
19278
19278
|
if (s.t && typeof s.t == "string") {
|
|
19279
|
-
const a = or(
|
|
19279
|
+
const a = or(sk(s.t, r), t);
|
|
19280
19280
|
pn(o, a, r);
|
|
19281
19281
|
} else
|
|
19282
19282
|
t && pn(o, t, r);
|
|
@@ -19345,13 +19345,13 @@ var tp = /* @__PURE__ */ Object.freeze({
|
|
|
19345
19345
|
WS: Tl
|
|
19346
19346
|
});
|
|
19347
19347
|
const St = /[a-z]/, vr = new RegExp("\\p{L}", "u"), zs = new RegExp("\\p{Emoji}", "u"), Tt = /\d/, $s = /\s/, bd = "\r", Hs = `
|
|
19348
|
-
`,
|
|
19348
|
+
`, lk = "️", ak = "", Fs = "";
|
|
19349
19349
|
let Li = null, Pi = null;
|
|
19350
|
-
function
|
|
19350
|
+
function ck(n = []) {
|
|
19351
19351
|
const e = {};
|
|
19352
19352
|
Pe.groups = e;
|
|
19353
19353
|
const t = new Pe();
|
|
19354
|
-
Li == null && (Li = vd(
|
|
19354
|
+
Li == null && (Li = vd(tk)), Pi == null && (Pi = vd(nk)), A(t, "'", Mo), A(t, "{", Lr), A(t, "}", Pr), A(t, "[", fo), A(t, "]", po), A(t, "(", ho), A(t, ")", mo), A(t, "<", go), A(t, ">", yo), A(t, "(", bo), A(t, ")", vo), A(t, "「", xo), A(t, "」", wo), A(t, "『", ko), A(t, "』", Co), A(t, "<", So), A(t, ">", To), A(t, "&", Ao), A(t, "*", Eo), A(t, "@", Ht), A(t, "`", No), A(t, "^", Do), A(t, ":", jt), A(t, ",", ca), A(t, "$", Ro), A(t, ".", dt), A(t, "=", Io), A(t, "!", da), A(t, "-", qe), A(t, "%", Br), A(t, "|", Lo), A(t, "+", Po), A(t, "#", Bo), A(t, "?", zr), A(t, '"', ua), A(t, "/", ut), A(t, ";", fa), A(t, "~", $r), A(t, "_", zo), A(t, "\\", Oo), A(t, "・", Zf);
|
|
19355
19355
|
const r = ce(t, Tt, la, {
|
|
19356
19356
|
[bl]: !0
|
|
19357
19357
|
});
|
|
@@ -19379,8 +19379,8 @@ function lk(n = []) {
|
|
|
19379
19379
|
const u = ce(t, zs, ep, {
|
|
19380
19380
|
[Yf]: !0
|
|
19381
19381
|
});
|
|
19382
|
-
A(u, "#"), ce(u, zs, u), A(u,
|
|
19383
|
-
const f = A(u,
|
|
19382
|
+
A(u, "#"), ce(u, zs, u), A(u, lk, u);
|
|
19383
|
+
const f = A(u, ak);
|
|
19384
19384
|
A(f, "#"), ce(f, zs, u);
|
|
19385
19385
|
const p = [[St, s], [Tt, i]], h = [[St, null], [vr, l], [Tt, o]];
|
|
19386
19386
|
for (let m = 0; m < Li.length; m++)
|
|
@@ -19402,9 +19402,9 @@ function lk(n = []) {
|
|
|
19402
19402
|
}, e), n = n.sort((m, g) => m[0] > g[0] ? 1 : -1);
|
|
19403
19403
|
for (let m = 0; m < n.length; m++) {
|
|
19404
19404
|
const g = n[m][0], v = n[m][1] ? {
|
|
19405
|
-
[
|
|
19405
|
+
[rk]: !0
|
|
19406
19406
|
} : {
|
|
19407
|
-
[
|
|
19407
|
+
[ik]: !0
|
|
19408
19408
|
};
|
|
19409
19409
|
g.indexOf("-") >= 0 ? v[wl] = !0 : St.test(g) ? Tt.test(g) ? v[Ir] = !0 : v[vl] = !0 : v[bl] = !0, yd(t, g, g, v);
|
|
19410
19410
|
}
|
|
@@ -19418,7 +19418,7 @@ function lk(n = []) {
|
|
|
19418
19418
|
};
|
|
19419
19419
|
}
|
|
19420
19420
|
function np(n, e) {
|
|
19421
|
-
const t =
|
|
19421
|
+
const t = dk(e.replace(/[A-Z]/g, (l) => l.toLowerCase())), r = t.length, i = [];
|
|
19422
19422
|
let o = 0, s = 0;
|
|
19423
19423
|
for (; s < r; ) {
|
|
19424
19424
|
let l = n, a = null, c = 0, d = null, u = -1, f = -1;
|
|
@@ -19437,7 +19437,7 @@ function np(n, e) {
|
|
|
19437
19437
|
}
|
|
19438
19438
|
return i;
|
|
19439
19439
|
}
|
|
19440
|
-
function
|
|
19440
|
+
function dk(n) {
|
|
19441
19441
|
const e = [], t = n.length;
|
|
19442
19442
|
let r = 0;
|
|
19443
19443
|
for (; r < t; ) {
|
|
@@ -19683,7 +19683,7 @@ const wd = ls("email", {
|
|
|
19683
19683
|
toHref() {
|
|
19684
19684
|
return "mailto:" + this.toString();
|
|
19685
19685
|
}
|
|
19686
|
-
}), kd = ls("text"),
|
|
19686
|
+
}), kd = ls("text"), uk = ls("nl"), Bi = ls("url", {
|
|
19687
19687
|
isLink: !0,
|
|
19688
19688
|
/**
|
|
19689
19689
|
Lowercases relevant parts of the domain and adds the protocol if
|
|
@@ -19704,7 +19704,7 @@ const wd = ls("email", {
|
|
|
19704
19704
|
return n.length >= 2 && n[0].t !== ni && n[1].t === jt;
|
|
19705
19705
|
}
|
|
19706
19706
|
}), Ue = (n) => new Pe(n);
|
|
19707
|
-
function
|
|
19707
|
+
function fk({
|
|
19708
19708
|
groups: n
|
|
19709
19709
|
}) {
|
|
19710
19710
|
const e = n.domain.concat([Ao, Eo, Ht, Oo, No, Do, Ro, Io, qe, la, Br, Lo, Po, Bo, ut, $o, $r, zo]), t = [Mo, jt, ca, dt, da, Br, zr, ua, fa, go, yo, Lr, Pr, po, fo, ho, mo, bo, vo, xo, wo, ko, Co, So, To], r = [Ao, Mo, Eo, Oo, No, Do, Ro, Io, qe, Lr, Pr, Br, Lo, Po, Bo, zr, ut, $o, $r, zo], i = Ue(), o = A(i, $r);
|
|
@@ -19761,12 +19761,12 @@ function dk({
|
|
|
19761
19761
|
const ae = Ue();
|
|
19762
19762
|
F(me, t), F(oe, e, oe), F(oe, t, ae), F(ae, e, oe), F(ae, t, ae), A(oe, xe, T), A(ae, xe, T);
|
|
19763
19763
|
}
|
|
19764
|
-
return A(i, ni, v), A(i, aa,
|
|
19764
|
+
return A(i, ni, v), A(i, aa, uk), {
|
|
19765
19765
|
start: i,
|
|
19766
19766
|
tokens: tp
|
|
19767
19767
|
};
|
|
19768
19768
|
}
|
|
19769
|
-
function
|
|
19769
|
+
function pk(n, e, t) {
|
|
19770
19770
|
let r = t.length, i = 0, o = [], s = [];
|
|
19771
19771
|
for (; i < r; ) {
|
|
19772
19772
|
let l = n, a = null, c = null, d = 0, u = null, f = -1;
|
|
@@ -19788,8 +19788,8 @@ function Vs(n, e, t) {
|
|
|
19788
19788
|
const r = t[0].s, i = t[t.length - 1].e, o = e.slice(r, i);
|
|
19789
19789
|
return new n(o, t);
|
|
19790
19790
|
}
|
|
19791
|
-
const
|
|
19792
|
-
}),
|
|
19791
|
+
const hk = typeof console < "u" && console && console.warn || (() => {
|
|
19792
|
+
}), mk = "until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.", re = {
|
|
19793
19793
|
scanner: null,
|
|
19794
19794
|
parser: null,
|
|
19795
19795
|
tokenQueue: [],
|
|
@@ -19797,24 +19797,24 @@ const fk = typeof console < "u" && console && console.warn || (() => {
|
|
|
19797
19797
|
customSchemes: [],
|
|
19798
19798
|
initialized: !1
|
|
19799
19799
|
};
|
|
19800
|
-
function
|
|
19800
|
+
function gk() {
|
|
19801
19801
|
return Pe.groups = {}, re.scanner = null, re.parser = null, re.tokenQueue = [], re.pluginQueue = [], re.customSchemes = [], re.initialized = !1, re;
|
|
19802
19802
|
}
|
|
19803
19803
|
function Cd(n, e = !1) {
|
|
19804
|
-
if (re.initialized &&
|
|
19804
|
+
if (re.initialized && hk(`linkifyjs: already initialized - will not register custom scheme "${n}" ${mk}`), !/^[0-9a-z]+(-[0-9a-z]+)*$/.test(n))
|
|
19805
19805
|
throw new Error(`linkifyjs: incorrect scheme format.
|
|
19806
19806
|
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
19807
19807
|
2. Cannot start or end with "-"
|
|
19808
19808
|
3. "-" cannot repeat`);
|
|
19809
19809
|
re.customSchemes.push([n, e]);
|
|
19810
19810
|
}
|
|
19811
|
-
function
|
|
19812
|
-
re.scanner =
|
|
19811
|
+
function yk() {
|
|
19812
|
+
re.scanner = ck(re.customSchemes);
|
|
19813
19813
|
for (let n = 0; n < re.tokenQueue.length; n++)
|
|
19814
19814
|
re.tokenQueue[n][1]({
|
|
19815
19815
|
scanner: re.scanner
|
|
19816
19816
|
});
|
|
19817
|
-
re.parser =
|
|
19817
|
+
re.parser = fk(re.scanner.tokens);
|
|
19818
19818
|
for (let n = 0; n < re.pluginQueue.length; n++)
|
|
19819
19819
|
re.pluginQueue[n][1]({
|
|
19820
19820
|
scanner: re.scanner,
|
|
@@ -19823,7 +19823,7 @@ function mk() {
|
|
|
19823
19823
|
return re.initialized = !0, re;
|
|
19824
19824
|
}
|
|
19825
19825
|
function ha(n) {
|
|
19826
|
-
return re.initialized ||
|
|
19826
|
+
return re.initialized || yk(), pk(re.parser.start, n, np(re.scanner.start, n));
|
|
19827
19827
|
}
|
|
19828
19828
|
ha.scan = np;
|
|
19829
19829
|
function ip(n, e = null, t = null) {
|
|
@@ -19839,10 +19839,10 @@ function ip(n, e = null, t = null) {
|
|
|
19839
19839
|
}
|
|
19840
19840
|
return o;
|
|
19841
19841
|
}
|
|
19842
|
-
function
|
|
19842
|
+
function bk(n) {
|
|
19843
19843
|
return n.length === 1 ? n[0].isLink : n.length === 3 && n[1].isLink ? ["()", "[]"].includes(n[0].value + n[2].value) : !1;
|
|
19844
19844
|
}
|
|
19845
|
-
function
|
|
19845
|
+
function vk(n) {
|
|
19846
19846
|
return new le({
|
|
19847
19847
|
key: new he("autolink"),
|
|
19848
19848
|
appendTransaction: (e, t, r) => {
|
|
@@ -19861,7 +19861,7 @@ function yk(n) {
|
|
|
19861
19861
|
if (!h)
|
|
19862
19862
|
return !1;
|
|
19863
19863
|
const g = ha(h).map((y) => y.toObject(n.defaultProtocol));
|
|
19864
|
-
if (!
|
|
19864
|
+
if (!bk(g))
|
|
19865
19865
|
return !1;
|
|
19866
19866
|
g.filter((y) => y.isLink).map((y) => ({
|
|
19867
19867
|
...y,
|
|
@@ -19878,7 +19878,7 @@ function yk(n) {
|
|
|
19878
19878
|
}
|
|
19879
19879
|
});
|
|
19880
19880
|
}
|
|
19881
|
-
function
|
|
19881
|
+
function xk(n) {
|
|
19882
19882
|
return new le({
|
|
19883
19883
|
key: new he("handleClickLink"),
|
|
19884
19884
|
props: {
|
|
@@ -19898,7 +19898,7 @@ function bk(n) {
|
|
|
19898
19898
|
}
|
|
19899
19899
|
});
|
|
19900
19900
|
}
|
|
19901
|
-
function
|
|
19901
|
+
function wk(n) {
|
|
19902
19902
|
return new le({
|
|
19903
19903
|
key: new he("handlePasteLink"),
|
|
19904
19904
|
props: {
|
|
@@ -19918,7 +19918,7 @@ function vk(n) {
|
|
|
19918
19918
|
}
|
|
19919
19919
|
});
|
|
19920
19920
|
}
|
|
19921
|
-
const
|
|
19921
|
+
const kk = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;
|
|
19922
19922
|
function sn(n, e) {
|
|
19923
19923
|
const t = [
|
|
19924
19924
|
"http",
|
|
@@ -19935,13 +19935,13 @@ function sn(n, e) {
|
|
|
19935
19935
|
return e && e.forEach((r) => {
|
|
19936
19936
|
const i = typeof r == "string" ? r : r.scheme;
|
|
19937
19937
|
i && t.push(i);
|
|
19938
|
-
}), !n || n.replace(
|
|
19938
|
+
}), !n || n.replace(kk, "").match(new RegExp(
|
|
19939
19939
|
// eslint-disable-next-line no-useless-escape
|
|
19940
19940
|
`^(?:(?:${t.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,
|
|
19941
19941
|
"i"
|
|
19942
19942
|
));
|
|
19943
19943
|
}
|
|
19944
|
-
const
|
|
19944
|
+
const Ck = Xe.create({
|
|
19945
19945
|
name: "link",
|
|
19946
19946
|
priority: 1e3,
|
|
19947
19947
|
keepOnSplit: !1,
|
|
@@ -19956,7 +19956,7 @@ const wk = Xe.create({
|
|
|
19956
19956
|
});
|
|
19957
19957
|
},
|
|
19958
19958
|
onDestroy() {
|
|
19959
|
-
|
|
19959
|
+
gk();
|
|
19960
19960
|
},
|
|
19961
19961
|
inclusive() {
|
|
19962
19962
|
return this.options.autolink;
|
|
@@ -20077,7 +20077,7 @@ const wk = Xe.create({
|
|
|
20077
20077
|
},
|
|
20078
20078
|
addProseMirrorPlugins() {
|
|
20079
20079
|
const n = [], { protocols: e, defaultProtocol: t } = this.options;
|
|
20080
|
-
return this.options.autolink && n.push(
|
|
20080
|
+
return this.options.autolink && n.push(vk({
|
|
20081
20081
|
type: this.type,
|
|
20082
20082
|
defaultProtocol: this.options.defaultProtocol,
|
|
20083
20083
|
validate: (r) => this.options.isAllowedUri(r, {
|
|
@@ -20086,15 +20086,15 @@ const wk = Xe.create({
|
|
|
20086
20086
|
defaultProtocol: t
|
|
20087
20087
|
}),
|
|
20088
20088
|
shouldAutoLink: this.options.shouldAutoLink
|
|
20089
|
-
})), this.options.openOnClick === !0 && n.push(
|
|
20089
|
+
})), this.options.openOnClick === !0 && n.push(xk({
|
|
20090
20090
|
type: this.type
|
|
20091
|
-
})), this.options.linkOnPaste && n.push(
|
|
20091
|
+
})), this.options.linkOnPaste && n.push(wk({
|
|
20092
20092
|
editor: this.editor,
|
|
20093
20093
|
defaultProtocol: this.options.defaultProtocol,
|
|
20094
20094
|
type: this.type
|
|
20095
20095
|
})), n;
|
|
20096
20096
|
}
|
|
20097
|
-
}),
|
|
20097
|
+
}), Sk = { class: "text-steel-900 font-semibold" }, Tk = {
|
|
20098
20098
|
__name: "DocumentNodeView",
|
|
20099
20099
|
props: {
|
|
20100
20100
|
node: Object
|
|
@@ -20113,7 +20113,7 @@ const wk = Xe.create({
|
|
|
20113
20113
|
};
|
|
20114
20114
|
return (i, o) => (E(), X(W(rs), { class: "bg-steel-300 p-2 rounded-md w-fit flex flex-row items-center gap-x-2" }, {
|
|
20115
20115
|
default: P(() => [
|
|
20116
|
-
x("span",
|
|
20116
|
+
x("span", Sk, kn(W(t).textContent), 1),
|
|
20117
20117
|
I(W(Op), {
|
|
20118
20118
|
class: "text-steel-900 font-semibold cursor-pointer",
|
|
20119
20119
|
onClick: o[0] || (o[0] = (s) => r(W(t).attrs.sasToken))
|
|
@@ -20122,7 +20122,7 @@ const wk = Xe.create({
|
|
|
20122
20122
|
_: 1
|
|
20123
20123
|
}));
|
|
20124
20124
|
}
|
|
20125
|
-
},
|
|
20125
|
+
}, Ak = ie.create({
|
|
20126
20126
|
name: "documentNode",
|
|
20127
20127
|
group: "block",
|
|
20128
20128
|
content: "inline*",
|
|
@@ -20155,13 +20155,13 @@ const wk = Xe.create({
|
|
|
20155
20155
|
};
|
|
20156
20156
|
},
|
|
20157
20157
|
addNodeView() {
|
|
20158
|
-
return is(
|
|
20158
|
+
return is(Tk);
|
|
20159
20159
|
}
|
|
20160
|
-
}),
|
|
20160
|
+
}), Mk = new he("templateLock"), Ek = /* @__PURE__ */ new Set(["UneditableTitle", "customColumnBlock"]);
|
|
20161
20161
|
function Sd(n) {
|
|
20162
20162
|
const e = [];
|
|
20163
20163
|
return n.forEach((t, r, i) => {
|
|
20164
|
-
if (
|
|
20164
|
+
if (Ek.has(t.type.name)) {
|
|
20165
20165
|
const o = { type: t.type.name };
|
|
20166
20166
|
if (t.type.name === "UneditableTitle" && (o.text = t.textContent), t.type.name === "customColumnBlock") {
|
|
20167
20167
|
o.childCount = t.childCount;
|
|
@@ -20176,7 +20176,7 @@ function Sd(n) {
|
|
|
20176
20176
|
}
|
|
20177
20177
|
}), e;
|
|
20178
20178
|
}
|
|
20179
|
-
function
|
|
20179
|
+
function Ok(n, e) {
|
|
20180
20180
|
if (n.length !== e.length)
|
|
20181
20181
|
return !1;
|
|
20182
20182
|
for (let t = 0; t < n.length; t++) {
|
|
@@ -20192,7 +20192,7 @@ function Mk(n, e) {
|
|
|
20192
20192
|
}
|
|
20193
20193
|
return !0;
|
|
20194
20194
|
}
|
|
20195
|
-
const
|
|
20195
|
+
const Nk = fe.create({
|
|
20196
20196
|
name: "templateLock",
|
|
20197
20197
|
addOptions() {
|
|
20198
20198
|
return { enabled: !1 };
|
|
@@ -20200,17 +20200,17 @@ const Ek = fe.create({
|
|
|
20200
20200
|
addProseMirrorPlugins() {
|
|
20201
20201
|
return this.options.enabled ? [
|
|
20202
20202
|
new le({
|
|
20203
|
-
key:
|
|
20203
|
+
key: Mk,
|
|
20204
20204
|
filterTransaction: (n, e) => {
|
|
20205
20205
|
if (!n.docChanged || n.getMeta("initialContent"))
|
|
20206
20206
|
return !0;
|
|
20207
20207
|
const t = Sd(e.doc), r = Sd(n.doc);
|
|
20208
|
-
return
|
|
20208
|
+
return Ok(t, r);
|
|
20209
20209
|
}
|
|
20210
20210
|
})
|
|
20211
20211
|
] : [];
|
|
20212
20212
|
}
|
|
20213
|
-
}),
|
|
20213
|
+
}), Dk = [
|
|
20214
20214
|
v1.configure({
|
|
20215
20215
|
heading: {
|
|
20216
20216
|
levels: [1, 2],
|
|
@@ -20276,12 +20276,12 @@ const Ek = fe.create({
|
|
|
20276
20276
|
Ux.configure({ types: ["heading", "paragraph"] }),
|
|
20277
20277
|
qx,
|
|
20278
20278
|
mw,
|
|
20279
|
-
|
|
20280
|
-
|
|
20279
|
+
Qw,
|
|
20280
|
+
Zw.configure({
|
|
20281
20281
|
placeholder: "Enter textarea text here..."
|
|
20282
20282
|
}),
|
|
20283
|
-
|
|
20284
|
-
|
|
20283
|
+
ek,
|
|
20284
|
+
Ck.configure({
|
|
20285
20285
|
openOnClick: !0,
|
|
20286
20286
|
autolink: !0,
|
|
20287
20287
|
linkOnPaste: !0,
|
|
@@ -20292,11 +20292,11 @@ const Ek = fe.create({
|
|
|
20292
20292
|
rel: "noopener noreferrer nofollow"
|
|
20293
20293
|
}
|
|
20294
20294
|
}),
|
|
20295
|
-
|
|
20295
|
+
Ak
|
|
20296
20296
|
], op = (n, e, { templateLocked: t = !1 } = {}) => {
|
|
20297
20297
|
const r = [
|
|
20298
|
-
...
|
|
20299
|
-
|
|
20298
|
+
...Dk,
|
|
20299
|
+
Nk.configure({ enabled: t })
|
|
20300
20300
|
];
|
|
20301
20301
|
return new gv({
|
|
20302
20302
|
extensions: r,
|
|
@@ -20305,7 +20305,7 @@ const Ek = fe.create({
|
|
|
20305
20305
|
});
|
|
20306
20306
|
}, zi = (n, e) => {
|
|
20307
20307
|
n.setOptions({ editable: e }), e && n.commands.focus("start"), n.view.update(n.view.props);
|
|
20308
|
-
},
|
|
20308
|
+
}, Rk = { class: "p-2.5 flex flex-col items-center justify-center h-[50px] text-center leading-tight gap-y-[5px]" }, Ik = { class: "w-[24px] h-[24px] flex items-center justify-center" }, Le = {
|
|
20309
20309
|
__name: "ControlItem",
|
|
20310
20310
|
props: {
|
|
20311
20311
|
controlName: {
|
|
@@ -20326,8 +20326,8 @@ const Ek = fe.create({
|
|
|
20326
20326
|
return (t, r) => (E(), V("div", {
|
|
20327
20327
|
class: U(["rounded-[10px] transition duration-300 ease-in-out", e.disabled ? "opacity-30 cursor-default" : "cursor-pointer"])
|
|
20328
20328
|
}, [
|
|
20329
|
-
x("div",
|
|
20330
|
-
x("div",
|
|
20329
|
+
x("div", Rk, [
|
|
20330
|
+
x("div", Ik, [
|
|
20331
20331
|
Sp(t.$slots, "icon")
|
|
20332
20332
|
]),
|
|
20333
20333
|
x("span", {
|
|
@@ -20336,27 +20336,27 @@ const Ek = fe.create({
|
|
|
20336
20336
|
])
|
|
20337
20337
|
], 2));
|
|
20338
20338
|
}
|
|
20339
|
-
},
|
|
20340
|
-
|
|
20341
|
-
],
|
|
20339
|
+
}, Lk = ["src"], Pk = /* @__PURE__ */ x("i", { class: "fa-solid fa-trash-can text-xs" }, null, -1), Bk = [
|
|
20340
|
+
Pk
|
|
20341
|
+
], zk = {
|
|
20342
20342
|
key: 1,
|
|
20343
20343
|
class: "flex flex-col gap-[10px] items-center justify-center w-full"
|
|
20344
|
-
},
|
|
20344
|
+
}, $k = /* @__PURE__ */ x("i", { class: "fa-light fa-image text-[28px] text-black-150" }, null, -1), Hk = { class: "flex flex-col gap-[5px] items-center text-center w-full" }, Fk = {
|
|
20345
20345
|
key: 0,
|
|
20346
20346
|
class: "text-[14px] leading-[1.2]"
|
|
20347
|
-
},
|
|
20348
|
-
|
|
20349
|
-
|
|
20350
|
-
],
|
|
20347
|
+
}, Vk = /* @__PURE__ */ x("span", { class: "font-bold text-proclus-950" }, "Tap to choose", -1), jk = /* @__PURE__ */ x("span", { class: "text-black-950" }, " from photos or camera", -1), _k = [
|
|
20348
|
+
Vk,
|
|
20349
|
+
jk
|
|
20350
|
+
], Wk = {
|
|
20351
20351
|
key: 1,
|
|
20352
20352
|
class: "text-[14px] leading-[1.2]"
|
|
20353
|
-
},
|
|
20354
|
-
|
|
20355
|
-
|
|
20356
|
-
],
|
|
20353
|
+
}, Uk = /* @__PURE__ */ x("span", { class: "font-bold text-proclus-950" }, "Upload a file", -1), qk = /* @__PURE__ */ x("span", { class: "text-black-950" }, " or drag and drop", -1), Kk = [
|
|
20354
|
+
Uk,
|
|
20355
|
+
qk
|
|
20356
|
+
], Jk = { class: "text-[12px] leading-[1.2] text-black-700" }, Gk = {
|
|
20357
20357
|
key: 2,
|
|
20358
20358
|
class: "absolute -bottom-5 left-0 text-[11px] text-error-950"
|
|
20359
|
-
},
|
|
20359
|
+
}, Yk = ["accept"], Xk = {
|
|
20360
20360
|
__name: "FileUploadZone",
|
|
20361
20361
|
props: {
|
|
20362
20362
|
acceptedTypes: {
|
|
@@ -20406,19 +20406,19 @@ const Ek = fe.create({
|
|
|
20406
20406
|
src: n.previewUrl,
|
|
20407
20407
|
alt: "Preview",
|
|
20408
20408
|
class: "w-full h-full object-cover rounded-[8px]"
|
|
20409
|
-
}, null, 8,
|
|
20409
|
+
}, null, 8, Lk),
|
|
20410
20410
|
x("button", {
|
|
20411
20411
|
class: "absolute top-[10px] right-[10px] w-[24px] h-[24px] flex items-center justify-center bg-[#ffffff] rounded shadow text-black-700 hover:text-error-950 transition-colors",
|
|
20412
20412
|
onClick: m[0] || (m[0] = xr((g) => h.$emit("fileRemoved"), ["stop"]))
|
|
20413
|
-
},
|
|
20414
|
-
], 64)) : (E(), V("div",
|
|
20415
|
-
|
|
20416
|
-
x("div",
|
|
20417
|
-
a.value ? (E(), V("p",
|
|
20418
|
-
x("p",
|
|
20413
|
+
}, Bk)
|
|
20414
|
+
], 64)) : (E(), V("div", zk, [
|
|
20415
|
+
$k,
|
|
20416
|
+
x("div", Hk, [
|
|
20417
|
+
a.value ? (E(), V("p", Fk, _k)) : (E(), V("p", Wk, Kk)),
|
|
20418
|
+
x("p", Jk, " PNG or JPG up to " + kn(l.value) + "MB ", 1)
|
|
20419
20419
|
])
|
|
20420
20420
|
])),
|
|
20421
|
-
s.value ? (E(), V("p",
|
|
20421
|
+
s.value ? (E(), V("p", Gk, kn(s.value), 1)) : _("", !0),
|
|
20422
20422
|
x("input", {
|
|
20423
20423
|
ref_key: "fileInput",
|
|
20424
20424
|
ref: i,
|
|
@@ -20426,12 +20426,12 @@ const Ek = fe.create({
|
|
|
20426
20426
|
accept: c.value,
|
|
20427
20427
|
class: "hidden",
|
|
20428
20428
|
onChange: f
|
|
20429
|
-
}, null, 40,
|
|
20429
|
+
}, null, 40, Yk)
|
|
20430
20430
|
], 34));
|
|
20431
20431
|
}
|
|
20432
|
-
},
|
|
20432
|
+
}, Qk = /* @__PURE__ */ x("div", { class: "flex items-center px-[20px] py-[15px] border-b-[1px] border-black-600 w-full" }, [
|
|
20433
20433
|
/* @__PURE__ */ x("p", { class: "flex-1 text-[18px] font-bold text-black-950 leading-normal" }, "Image upload")
|
|
20434
|
-
], -1),
|
|
20434
|
+
], -1), Zk = { class: "bg-[rgba(7,21,30,0.04)] px-[20px] py-[15px]" }, eC = { class: "flex gap-[20px] items-end justify-center py-[15px] border-t-[1px] border-black-600" }, tC = /* @__PURE__ */ x("p", { class: "text-style-sub-header text-app-950 p-6" }, "Add Image to Editor", -1), nC = { class: "border-t-[1px] border-steel-500 flex flex-col gap-y-[25px] py-[25px] p-6" }, sp = {
|
|
20435
20435
|
__name: "AddImageModal",
|
|
20436
20436
|
props: {
|
|
20437
20437
|
mode: {
|
|
@@ -20491,10 +20491,10 @@ const Ek = fe.create({
|
|
|
20491
20491
|
class: "w-[410px] max-w-[93vw] !p-0 !rounded-[20px] !top-[calc(50%+83px)] !shadow-[0px_6px_15px_0px_rgba(0,0,0,0.1),0px_3px_8px_0px_rgba(0,0,0,0.1)]"
|
|
20492
20492
|
}, {
|
|
20493
20493
|
header: P(() => [
|
|
20494
|
-
|
|
20494
|
+
Qk
|
|
20495
20495
|
]),
|
|
20496
20496
|
footer: P(() => [
|
|
20497
|
-
x("div",
|
|
20497
|
+
x("div", eC, [
|
|
20498
20498
|
I(W(Od), {
|
|
20499
20499
|
onClick: h[0] || (h[0] = (m) => p.$emit("close"))
|
|
20500
20500
|
}, {
|
|
@@ -20515,8 +20515,8 @@ const Ek = fe.create({
|
|
|
20515
20515
|
])
|
|
20516
20516
|
]),
|
|
20517
20517
|
default: P(() => [
|
|
20518
|
-
x("div",
|
|
20519
|
-
I(
|
|
20518
|
+
x("div", Zk, [
|
|
20519
|
+
I(Xk, {
|
|
20520
20520
|
acceptedTypes: n.acceptedTypes,
|
|
20521
20521
|
maxFileSize: n.maxFileSize,
|
|
20522
20522
|
previewUrl: o.value,
|
|
@@ -20532,14 +20532,14 @@ const Ek = fe.create({
|
|
|
20532
20532
|
class: "w-[90vw] md:w-[600px] h-fit !p-0"
|
|
20533
20533
|
}, {
|
|
20534
20534
|
header: P(({ handleClose: m }) => [
|
|
20535
|
-
|
|
20535
|
+
tC,
|
|
20536
20536
|
I(Dd, {
|
|
20537
20537
|
class: "!w-[14px] !h-[14px] p-0 top-[25px] right-[25px] absolute text-steel-950 cursor-pointer",
|
|
20538
20538
|
onClick: h[1] || (h[1] = (g) => p.$emit("close"))
|
|
20539
20539
|
})
|
|
20540
20540
|
]),
|
|
20541
20541
|
default: P(() => [
|
|
20542
|
-
x("div",
|
|
20542
|
+
x("div", nC, [
|
|
20543
20543
|
I(W(Rd), {
|
|
20544
20544
|
tableData: c.value,
|
|
20545
20545
|
tableCols: d,
|
|
@@ -20551,13 +20551,13 @@ const Ek = fe.create({
|
|
|
20551
20551
|
_: 1
|
|
20552
20552
|
}));
|
|
20553
20553
|
}
|
|
20554
|
-
},
|
|
20554
|
+
}, rC = /* @__PURE__ */ x("p", { class: "text-style-sub-header text-app-950 p-6" }, "Add Link to Editor", -1), iC = { class: "border-t-[1px] border-steel-500 flex flex-col gap-y-[25px] py-[25px] p-6" }, oC = {
|
|
20555
20555
|
key: 0,
|
|
20556
20556
|
class: "border-t-[1px] border-steel-500 flex flex-col gap-y-[25px] py-[25px] p-6"
|
|
20557
|
-
},
|
|
20557
|
+
}, sC = {
|
|
20558
20558
|
key: 1,
|
|
20559
20559
|
class: "border-t-[1px] border-steel-500 flex flex-col gap-y-[25px] py-[25px] p-6"
|
|
20560
|
-
},
|
|
20560
|
+
}, lC = {
|
|
20561
20561
|
key: 0,
|
|
20562
20562
|
class: "border-t-[1px] border-steel-500 flex justify-end gap-x-[30px] pt-[25px] p-6"
|
|
20563
20563
|
}, lp = {
|
|
@@ -20594,14 +20594,14 @@ const Ek = fe.create({
|
|
|
20594
20594
|
class: "w-[50%] h-fit !p-0"
|
|
20595
20595
|
}, {
|
|
20596
20596
|
header: P(({ handleClose: f }) => [
|
|
20597
|
-
|
|
20597
|
+
rC,
|
|
20598
20598
|
I(Dd, {
|
|
20599
20599
|
class: "!w-[14px] !h-[14px] p-0 top-[25px] right-[25px] absolute text-steel-950 cursor-pointer",
|
|
20600
20600
|
onClick: u[0] || (u[0] = (p) => d.$emit("close"))
|
|
20601
20601
|
})
|
|
20602
20602
|
]),
|
|
20603
20603
|
footer: P(() => [
|
|
20604
|
-
r.value ? _("", !0) : (E(), V("div",
|
|
20604
|
+
r.value ? _("", !0) : (E(), V("div", lC, [
|
|
20605
20605
|
I(W(Od), {
|
|
20606
20606
|
onClick: u[4] || (u[4] = (f) => d.$emit("close"))
|
|
20607
20607
|
}, {
|
|
@@ -20621,7 +20621,7 @@ const Ek = fe.create({
|
|
|
20621
20621
|
]))
|
|
20622
20622
|
]),
|
|
20623
20623
|
default: P(() => [
|
|
20624
|
-
x("div",
|
|
20624
|
+
x("div", iC, [
|
|
20625
20625
|
I(W(Mp), {
|
|
20626
20626
|
useLabels: "",
|
|
20627
20627
|
leftLabel: "Web URL",
|
|
@@ -20631,7 +20631,7 @@ const Ek = fe.create({
|
|
|
20631
20631
|
"onUpdate:modelValue": u[1] || (u[1] = (f) => r.value = f)
|
|
20632
20632
|
}, null, 8, ["modelValue"])
|
|
20633
20633
|
]),
|
|
20634
|
-
r.value ? _("", !0) : (E(), V("div",
|
|
20634
|
+
r.value ? _("", !0) : (E(), V("div", oC, [
|
|
20635
20635
|
I(W(Ta), {
|
|
20636
20636
|
label: "Display Text",
|
|
20637
20637
|
placeholder: "Enter display text for link...",
|
|
@@ -20649,7 +20649,7 @@ const Ek = fe.create({
|
|
|
20649
20649
|
required: ""
|
|
20650
20650
|
}, null, 8, ["modelValue"])
|
|
20651
20651
|
])),
|
|
20652
|
-
r.value ? (E(), V("div",
|
|
20652
|
+
r.value ? (E(), V("div", sC, [
|
|
20653
20653
|
I(W(Rd), {
|
|
20654
20654
|
tableData: n.documents,
|
|
20655
20655
|
tableCols: s,
|
|
@@ -20661,18 +20661,18 @@ const Ek = fe.create({
|
|
|
20661
20661
|
_: 1
|
|
20662
20662
|
}));
|
|
20663
20663
|
}
|
|
20664
|
-
},
|
|
20664
|
+
}, aC = { key: 0 }, cC = {
|
|
20665
20665
|
key: 0,
|
|
20666
20666
|
class: "flex flex-col"
|
|
20667
|
-
},
|
|
20667
|
+
}, dC = /* @__PURE__ */ x("div", { class: "w-full bg-proclus-950 px-[15px] py-[8px] leading-tight" }, [
|
|
20668
20668
|
/* @__PURE__ */ x("h2", { class: "text-[14px] font-semibold text-white" }, "Edit options")
|
|
20669
|
-
], -1),
|
|
20669
|
+
], -1), uC = { class: "w-full flex flex-wrap justify-between p-[15px] gap-y-[15px]" }, fC = { class: "w-full border-t-[1px] border-black-600 flex flex-row items-center justify-between px-[15px] py-[15px]" }, pC = {
|
|
20670
20670
|
key: 0,
|
|
20671
20671
|
class: "flex flex-col justify-start items-start h-full"
|
|
20672
|
-
},
|
|
20672
|
+
}, hC = /* @__PURE__ */ x("div", { class: "w-full bg-black-950 px-4 py-6 leading-tight" }, [
|
|
20673
20673
|
/* @__PURE__ */ x("h2", { class: "text-base font-semibold text-white" }, "Edit options"),
|
|
20674
20674
|
/* @__PURE__ */ x("p", { class: "text-steel-600" }, "Use the options below to add elements to the editor.")
|
|
20675
|
-
], -1),
|
|
20675
|
+
], -1), mC = { class: "w-full px-4" }, gC = { class: "w-full grid grid-cols-2 gap-5 gap-y-3 px-4 mt-4" }, yC = { class: "w-full border-t-[1px] border-steel-500 h-12 mt-auto flex flex-row items-center justify-end py-8 px-6 gap-6" }, bC = {
|
|
20676
20676
|
__name: "Sidebar",
|
|
20677
20677
|
props: {
|
|
20678
20678
|
editor: {
|
|
@@ -20793,13 +20793,13 @@ const Ek = fe.create({
|
|
|
20793
20793
|
}, g = () => {
|
|
20794
20794
|
r("save");
|
|
20795
20795
|
};
|
|
20796
|
-
return (y, v) => n.editor ? (E(), V("div",
|
|
20796
|
+
return (y, v) => n.editor ? (E(), V("div", aC, [
|
|
20797
20797
|
x("div", {
|
|
20798
20798
|
class: U(["sidebar-mobile lg:hidden fixed bottom-0 left-0 right-0 z-50 bg-[#ffffff] shadow-xl transition-transform ease-in-out duration-300", n.isOpen ? "translate-y-0" : "translate-y-full"])
|
|
20799
20799
|
}, [
|
|
20800
|
-
n.isOpen ? (E(), V("div",
|
|
20801
|
-
|
|
20802
|
-
x("div",
|
|
20800
|
+
n.isOpen ? (E(), V("div", cC, [
|
|
20801
|
+
dC,
|
|
20802
|
+
x("div", uC, [
|
|
20803
20803
|
I(Le, {
|
|
20804
20804
|
controlName: "Image",
|
|
20805
20805
|
active: n.editor.isActive("image"),
|
|
@@ -20895,7 +20895,7 @@ const Ek = fe.create({
|
|
|
20895
20895
|
_: 1
|
|
20896
20896
|
}, 8, ["active", "disabled"])
|
|
20897
20897
|
]),
|
|
20898
|
-
x("div",
|
|
20898
|
+
x("div", fC, [
|
|
20899
20899
|
I(Vr, { onClick: m }, {
|
|
20900
20900
|
default: P(() => [
|
|
20901
20901
|
Be("Cancel")
|
|
@@ -20915,9 +20915,9 @@ const Ek = fe.create({
|
|
|
20915
20915
|
key: 0,
|
|
20916
20916
|
class: U(["hidden lg:block h-full absolute fixed right-0 top-0 bg-[#ffffff] shadow-xl z-50 transition transition-width ease-in-out duration-300", [n.isOpen ? "w-72" : "w-0", n.customClasses]])
|
|
20917
20917
|
}, [
|
|
20918
|
-
n.isOpen ? (E(), V("div",
|
|
20919
|
-
|
|
20920
|
-
x("div",
|
|
20918
|
+
n.isOpen ? (E(), V("div", pC, [
|
|
20919
|
+
hC,
|
|
20920
|
+
x("div", mC, [
|
|
20921
20921
|
I(W(Md), {
|
|
20922
20922
|
modelValue: i.value,
|
|
20923
20923
|
"onUpdate:modelValue": v[6] || (v[6] = (w) => i.value = w),
|
|
@@ -20930,7 +20930,7 @@ const Ek = fe.create({
|
|
|
20930
20930
|
_: 1
|
|
20931
20931
|
}, 8, ["modelValue"])
|
|
20932
20932
|
]),
|
|
20933
|
-
x("div",
|
|
20933
|
+
x("div", gC, [
|
|
20934
20934
|
new String("image").includes(i.value.toLowerCase()) ? (E(), X(Le, {
|
|
20935
20935
|
key: 0,
|
|
20936
20936
|
controlName: "Image",
|
|
@@ -21026,7 +21026,7 @@ const Ek = fe.create({
|
|
|
21026
21026
|
_: 1
|
|
21027
21027
|
}, 8, ["active", "disabled"])) : _("", !0)
|
|
21028
21028
|
]),
|
|
21029
|
-
x("div",
|
|
21029
|
+
x("div", yC, [
|
|
21030
21030
|
I(Vr, { onClick: m }, {
|
|
21031
21031
|
default: P(() => [
|
|
21032
21032
|
Be("Cancel")
|
|
@@ -21062,7 +21062,7 @@ const Ek = fe.create({
|
|
|
21062
21062
|
}, null, 8, ["uploadImage"])) : _("", !0)
|
|
21063
21063
|
])) : _("", !0);
|
|
21064
21064
|
}
|
|
21065
|
-
},
|
|
21065
|
+
}, vC = {
|
|
21066
21066
|
name: "InlineMenu",
|
|
21067
21067
|
data() {
|
|
21068
21068
|
return {
|
|
@@ -21134,33 +21134,33 @@ const Ek = fe.create({
|
|
|
21134
21134
|
this.editor.chain().focus().setFontSize({ fontSize: this.fontSize }).run();
|
|
21135
21135
|
}
|
|
21136
21136
|
}
|
|
21137
|
-
},
|
|
21137
|
+
}, xC = { class: "bg-[#ffffff] flex flex-row rounded-md p-1 border-[1px] border-steel-500 max-w-[450px]" }, wC = { class: "flex flex-row gap-x-2" }, kC = ["onClick"], CC = ["onClick"], SC = { class: "size-6 border-[1px] border-solid border-steel-500 rounded p-0.5 items-center flex justify-center" }, TC = {
|
|
21138
21138
|
key: 0,
|
|
21139
21139
|
class: "absolute top-9 z-10 p-1 rounded bg-steel-200 flex flex-row flex-wrap gap-x-1 max-w-[188px] border-[1px] border-steel-500"
|
|
21140
|
-
},
|
|
21141
|
-
TC
|
|
21142
|
-
], MC = /* @__PURE__ */ x("i", null, "I", -1), EC = [
|
|
21140
|
+
}, AC = ["onClick"], MC = /* @__PURE__ */ x("b", null, "B", -1), EC = [
|
|
21143
21141
|
MC
|
|
21144
|
-
], OC = /* @__PURE__ */ x("
|
|
21142
|
+
], OC = /* @__PURE__ */ x("i", null, "I", -1), NC = [
|
|
21145
21143
|
OC
|
|
21146
|
-
], DC = /* @__PURE__ */ x("
|
|
21144
|
+
], DC = /* @__PURE__ */ x("u", null, "U", -1), RC = [
|
|
21147
21145
|
DC
|
|
21148
|
-
], IC = /* @__PURE__ */ x("
|
|
21146
|
+
], IC = /* @__PURE__ */ x("del", null, "ab", -1), LC = [
|
|
21149
21147
|
IC
|
|
21150
|
-
], PC = /* @__PURE__ */ x("i", { class: "fa-solid fa-align-
|
|
21148
|
+
], PC = /* @__PURE__ */ x("i", { class: "fa-solid fa-align-left" }, null, -1), BC = [
|
|
21151
21149
|
PC
|
|
21152
|
-
], zC = /* @__PURE__ */ x("i", { class: "fa-solid fa-align-
|
|
21150
|
+
], zC = /* @__PURE__ */ x("i", { class: "fa-solid fa-align-center" }, null, -1), $C = [
|
|
21153
21151
|
zC
|
|
21154
|
-
], HC = {
|
|
21152
|
+
], HC = /* @__PURE__ */ x("i", { class: "fa-solid fa-align-right" }, null, -1), FC = [
|
|
21153
|
+
HC
|
|
21154
|
+
], VC = {
|
|
21155
21155
|
key: 0,
|
|
21156
21156
|
class: "flex flex-row gap-x-2 border-s-[1px] border-s-steel-950 pl-2 ml-2"
|
|
21157
21157
|
};
|
|
21158
|
-
function
|
|
21158
|
+
function jC(n, e, t, r, i, o) {
|
|
21159
21159
|
const s = Tr("ChevronDownIcon"), l = Tr("DropdownMenu"), a = Tr("bubble-menu");
|
|
21160
21160
|
return E(), X(a, { editor: t.editor }, {
|
|
21161
21161
|
default: P(() => [
|
|
21162
|
-
x("div",
|
|
21163
|
-
x("div",
|
|
21162
|
+
x("div", xC, [
|
|
21163
|
+
x("div", wC, [
|
|
21164
21164
|
I(l, {
|
|
21165
21165
|
data: i.fontSizeSelection,
|
|
21166
21166
|
forceWidth: "60px",
|
|
@@ -21174,25 +21174,25 @@ function FC(n, e, t, r, i, o) {
|
|
|
21174
21174
|
}, [
|
|
21175
21175
|
x("p", null, kn(o.findFontSize), 1),
|
|
21176
21176
|
I(s, { class: "w-2 h-2 ml-1" })
|
|
21177
|
-
], 8,
|
|
21177
|
+
], 8, kC)
|
|
21178
21178
|
]),
|
|
21179
21179
|
default: P(({ itemList: c, selectItem: d }) => [
|
|
21180
21180
|
(E(!0), V(Cn, null, Fr(c, (u) => (E(), V("div", {
|
|
21181
21181
|
key: u.id,
|
|
21182
21182
|
onClick: (f) => d(u.id),
|
|
21183
21183
|
class: "bg-[#ffffff] p-0.5 items-center flex justify-center cursor-pointer hover:bg-steel-500"
|
|
21184
|
-
}, kn(u.val), 9,
|
|
21184
|
+
}, kn(u.val), 9, CC))), 128))
|
|
21185
21185
|
]),
|
|
21186
21186
|
_: 1
|
|
21187
21187
|
}, 8, ["data", "modelValue"]),
|
|
21188
|
-
x("button",
|
|
21188
|
+
x("button", SC, [
|
|
21189
21189
|
x("div", {
|
|
21190
21190
|
class: "size-4 rounded",
|
|
21191
21191
|
style: dn("background-color:" + o.findFontColor),
|
|
21192
21192
|
onClick: e[1] || (e[1] = (...c) => o.toggleColorPicker && o.toggleColorPicker(...c))
|
|
21193
21193
|
}, null, 4)
|
|
21194
21194
|
]),
|
|
21195
|
-
i.colorPicker ? (E(), V("div",
|
|
21195
|
+
i.colorPicker ? (E(), V("div", TC, [
|
|
21196
21196
|
(E(!0), V(Cn, null, Fr(i.colors, (c) => (E(), V("div", {
|
|
21197
21197
|
class: "rounded border-[1px] border-steel-500 mb-1 cursor-pointer",
|
|
21198
21198
|
key: c.id,
|
|
@@ -21202,38 +21202,38 @@ function FC(n, e, t, r, i, o) {
|
|
|
21202
21202
|
class: "size-4 rounded m-1",
|
|
21203
21203
|
style: dn("background-color:" + c.color)
|
|
21204
21204
|
}, null, 4)
|
|
21205
|
-
], 8,
|
|
21205
|
+
], 8, AC))), 128))
|
|
21206
21206
|
])) : _("", !0),
|
|
21207
21207
|
x("button", {
|
|
21208
21208
|
onClick: e[2] || (e[2] = (c) => t.editor.chain().focus().toggleBold().run()),
|
|
21209
21209
|
class: U([t.editor.isActive("bold") ? "bg-steel-500" : "bg-steel-200", "size-6 border-[1px] border-solid border-steel-500 rounded p-0.5 items-center flex justify-center"])
|
|
21210
|
-
},
|
|
21210
|
+
}, EC, 2),
|
|
21211
21211
|
x("button", {
|
|
21212
21212
|
onClick: e[3] || (e[3] = (c) => t.editor.chain().focus().toggleItalic().run()),
|
|
21213
21213
|
class: U([t.editor.isActive("italic") ? "bg-steel-500" : "bg-steel-200", "size-6 border-[1px] border-solid border-steel-500 rounded p-0.5 items-center flex justify-center"])
|
|
21214
|
-
},
|
|
21214
|
+
}, NC, 2),
|
|
21215
21215
|
x("button", {
|
|
21216
21216
|
onClick: e[4] || (e[4] = (c) => t.editor.chain().focus().toggleUnderline().run()),
|
|
21217
21217
|
class: U([t.editor.isActive("underline") ? "bg-steel-500" : "bg-steel-200", "size-6 border-[1px] border-solid border-steel-500 rounded p-0.5 items-center flex justify-center"])
|
|
21218
|
-
},
|
|
21218
|
+
}, RC, 2),
|
|
21219
21219
|
x("button", {
|
|
21220
21220
|
onClick: e[5] || (e[5] = (c) => t.editor.chain().focus().toggleStrike().run()),
|
|
21221
21221
|
class: U([t.editor.isActive("strike") ? "bg-steel-500" : "bg-steel-200", "size-6 border-[1px] border-solid border-steel-500 rounded p-0.5 items-center flex justify-center"])
|
|
21222
|
-
},
|
|
21222
|
+
}, LC, 2),
|
|
21223
21223
|
x("button", {
|
|
21224
21224
|
onClick: e[6] || (e[6] = (c) => t.editor.chain().focus().setTextAlign("left").run()),
|
|
21225
21225
|
class: U([t.editor.isActive({ textAlign: "left" }) ? "bg-steel-500" : "bg-steel-200", "size-6 border-[1px] border-solid border-steel-500 rounded p-0.5 items-center flex justify-center"])
|
|
21226
|
-
},
|
|
21226
|
+
}, BC, 2),
|
|
21227
21227
|
x("button", {
|
|
21228
21228
|
onClick: e[7] || (e[7] = (c) => t.editor.chain().focus().setTextAlign("center").run()),
|
|
21229
21229
|
class: U([t.editor.isActive({ textAlign: "center" }) ? "bg-steel-500" : "bg-steel-200", "size-6 border-[1px] border-solid border-steel-500 rounded p-0.5 items-center flex justify-center"])
|
|
21230
|
-
},
|
|
21230
|
+
}, $C, 2),
|
|
21231
21231
|
x("button", {
|
|
21232
21232
|
onClick: e[8] || (e[8] = (c) => t.editor.chain().focus().setTextAlign("right").run()),
|
|
21233
21233
|
class: U([t.editor.isActive({ textAlign: "right" }) ? "bg-steel-500" : "bg-steel-200", "size-6 border-[1px] border-solid border-steel-500 rounded p-0.5 items-center flex justify-center"])
|
|
21234
|
-
},
|
|
21234
|
+
}, FC, 2)
|
|
21235
21235
|
]),
|
|
21236
|
-
o.listActive ? (E(), V("div",
|
|
21236
|
+
o.listActive ? (E(), V("div", VC, [
|
|
21237
21237
|
t.editor.can().sinkListItem("listItem") ? (E(), V("button", {
|
|
21238
21238
|
key: 0,
|
|
21239
21239
|
onClick: e[9] || (e[9] = (c) => t.editor.chain().focus().sinkListItem("listItem").run()),
|
|
@@ -21250,10 +21250,10 @@ function FC(n, e, t, r, i, o) {
|
|
|
21250
21250
|
_: 1
|
|
21251
21251
|
}, 8, ["editor"]);
|
|
21252
21252
|
}
|
|
21253
|
-
const
|
|
21253
|
+
const _C = /* @__PURE__ */ Ml(vC, [["render", jC]]), WC = {
|
|
21254
21254
|
key: 0,
|
|
21255
21255
|
class: "flex flex-row justify-end mx-8 mb-2"
|
|
21256
|
-
},
|
|
21256
|
+
}, MS = {
|
|
21257
21257
|
__name: "Tiptap",
|
|
21258
21258
|
props: {
|
|
21259
21259
|
modelValue: {
|
|
@@ -21318,7 +21318,7 @@ const VC = /* @__PURE__ */ Ml(yC, [["render", FC]]), jC = {
|
|
|
21318
21318
|
const h = p && !r.readOnly;
|
|
21319
21319
|
s.value = h, zi(l, h), h ? (c(), o("sidebarOpened")) : o("sidebarClosed");
|
|
21320
21320
|
} }), (p, h) => (E(), V("div", null, [
|
|
21321
|
-
!r.readOnly && !r.hideEditButton ? (E(), V("div",
|
|
21321
|
+
!r.readOnly && !r.hideEditButton ? (E(), V("div", WC, [
|
|
21322
21322
|
s.value ? _("", !0) : (E(), X(W(jr), {
|
|
21323
21323
|
key: 0,
|
|
21324
21324
|
class: "ml-8 mt-2",
|
|
@@ -21336,7 +21336,7 @@ const VC = /* @__PURE__ */ Ml(yC, [["render", FC]]), jC = {
|
|
|
21336
21336
|
class: "mx-8 bg-surface-raised text-black-950 dark:text-content rounded-md p-2 box-content transition transition-width ease-in-out duration-300",
|
|
21337
21337
|
style: dn("min-height:" + n.editorHeight + "; max-height:")
|
|
21338
21338
|
}, null, 8, ["editor", "style"])) : _("", !0),
|
|
21339
|
-
W(l) ? (E(), X(
|
|
21339
|
+
W(l) ? (E(), X(bC, {
|
|
21340
21340
|
key: 2,
|
|
21341
21341
|
editor: W(l),
|
|
21342
21342
|
isOpen: W(l) && s.value,
|
|
@@ -21347,24 +21347,24 @@ const VC = /* @__PURE__ */ Ml(yC, [["render", FC]]), jC = {
|
|
|
21347
21347
|
onCancel: d,
|
|
21348
21348
|
onSave: u
|
|
21349
21349
|
}, null, 8, ["editor", "isOpen", "customClasses", "templateLocked", "documents", "uploadImage"])) : _("", !0),
|
|
21350
|
-
W(l) && s.value ? (E(), X(
|
|
21350
|
+
W(l) && s.value ? (E(), X(_C, {
|
|
21351
21351
|
key: 3,
|
|
21352
21352
|
editor: W(l),
|
|
21353
21353
|
class: "max-w-[450px]"
|
|
21354
21354
|
}, null, 8, ["editor"])) : _("", !0)
|
|
21355
21355
|
]));
|
|
21356
21356
|
}
|
|
21357
|
-
},
|
|
21358
|
-
WC
|
|
21359
|
-
], qC = /* @__PURE__ */ x("i", { class: "fa-solid fa-italic text-sm" }, null, -1), KC = [
|
|
21357
|
+
}, UC = { class: "flex flex-col w-full" }, qC = /* @__PURE__ */ x("i", { class: "fa-solid fa-bold text-sm" }, null, -1), KC = [
|
|
21360
21358
|
qC
|
|
21361
|
-
], JC = /* @__PURE__ */ x("i", { class: "fa-solid fa-
|
|
21359
|
+
], JC = /* @__PURE__ */ x("i", { class: "fa-solid fa-italic text-sm" }, null, -1), GC = [
|
|
21362
21360
|
JC
|
|
21363
|
-
], YC = /* @__PURE__ */ x("i", { class: "fa-solid fa-
|
|
21361
|
+
], YC = /* @__PURE__ */ x("i", { class: "fa-solid fa-globe-pointer text-sm" }, null, -1), XC = [
|
|
21364
21362
|
YC
|
|
21365
|
-
], QC = /* @__PURE__ */ x("i", { class: "fa-solid fa-
|
|
21363
|
+
], QC = /* @__PURE__ */ x("i", { class: "fa-solid fa-list text-sm" }, null, -1), ZC = [
|
|
21366
21364
|
QC
|
|
21367
|
-
],
|
|
21365
|
+
], eS = /* @__PURE__ */ x("i", { class: "fa-solid fa-image text-sm" }, null, -1), tS = [
|
|
21366
|
+
eS
|
|
21367
|
+
], ES = {
|
|
21368
21368
|
__name: "TiptapTextArea",
|
|
21369
21369
|
props: {
|
|
21370
21370
|
modelValue: {
|
|
@@ -21475,30 +21475,30 @@ const VC = /* @__PURE__ */ Ml(yC, [["render", FC]]), jC = {
|
|
|
21475
21475
|
o.value = !0;
|
|
21476
21476
|
};
|
|
21477
21477
|
return (y, v) => (E(), V(Cn, null, [
|
|
21478
|
-
x("div",
|
|
21478
|
+
x("div", UC, [
|
|
21479
21479
|
x("div", {
|
|
21480
21480
|
class: U(["flex flex-row items-center w-full border-t-[1px] border-l border-r border-steel-500 rounded-tl-2xl rounded-tr-2xl bg-steel-100 px-5 gap-x-1", { "opacity-50 pointer-events-none": n.readOnly }])
|
|
21481
21481
|
}, [
|
|
21482
21482
|
x("button", {
|
|
21483
21483
|
class: U(["h-8 w-8 hover:bg-steel-300", W(s).isActive("bold") ? "bg-app-950" : ""]),
|
|
21484
21484
|
onClick: a
|
|
21485
|
-
},
|
|
21485
|
+
}, KC, 2),
|
|
21486
21486
|
x("button", {
|
|
21487
21487
|
class: U(["h-8 w-8 hover:bg-steel-300", W(s).isActive("italic") ? "bg-app-950" : ""]),
|
|
21488
21488
|
onClick: c
|
|
21489
|
-
},
|
|
21489
|
+
}, GC, 2),
|
|
21490
21490
|
x("button", {
|
|
21491
21491
|
class: "h-8 w-8 hover:bg-steel-300",
|
|
21492
21492
|
onClick: h
|
|
21493
|
-
},
|
|
21493
|
+
}, XC),
|
|
21494
21494
|
x("button", {
|
|
21495
21495
|
class: U(["h-8 w-8 hover:bg-steel-300", W(s).isActive("bulletList") ? "bg-app-950" : ""]),
|
|
21496
21496
|
onClick: d
|
|
21497
|
-
},
|
|
21497
|
+
}, ZC, 2),
|
|
21498
21498
|
x("button", {
|
|
21499
21499
|
class: "h-8 w-8 hover:bg-steel-300",
|
|
21500
21500
|
onClick: g
|
|
21501
|
-
},
|
|
21501
|
+
}, tS)
|
|
21502
21502
|
], 2),
|
|
21503
21503
|
x("div", {
|
|
21504
21504
|
class: U(["w-full px-5 py-3 rounded-bl-2xl rounded-br-2xl border-[1px] border-steel-500 dark:border-line overflow-auto resize-y text-black-950 dark:text-content", { "bg-surface-raised": !n.readOnly, "bg-surface-sunken cursor-not-allowed": n.readOnly }])
|
|
@@ -21545,7 +21545,7 @@ const VC = /* @__PURE__ */ Ml(yC, [["render", FC]]), jC = {
|
|
|
21545
21545
|
]
|
|
21546
21546
|
}
|
|
21547
21547
|
]
|
|
21548
|
-
}),
|
|
21548
|
+
}), OS = {
|
|
21549
21549
|
type: "doc",
|
|
21550
21550
|
content: [
|
|
21551
21551
|
Ho("Description"),
|
|
@@ -21562,7 +21562,7 @@ const VC = /* @__PURE__ */ Ml(yC, [["render", FC]]), jC = {
|
|
|
21562
21562
|
]
|
|
21563
21563
|
};
|
|
21564
21564
|
export {
|
|
21565
|
-
|
|
21566
|
-
|
|
21567
|
-
|
|
21565
|
+
OS as EDSTemplate,
|
|
21566
|
+
MS as Tiptap,
|
|
21567
|
+
ES as TiptapTextArea
|
|
21568
21568
|
};
|