@templatical/editor 0.60.4 → 0.61.0
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/{AiChatPanel-CjUnhJGB.js → AiChatPanel-DF5TvO9H.js} +166 -166
- package/dist/{AiPanels-DwI9KjjI.js → AiPanels-zRqC5DIP.js} +1 -1
- package/dist/{AiRewriteMenu-Bh1cIX8F.js → AiRewriteMenu-CmZKTO-O.js} +1 -1
- package/dist/{BlockPreviewCanvas-C_N6f_FS.js → BlockPreviewCanvas-knSyWaCP.js} +2 -2
- package/dist/{CloudPanels-BS49EsuN.js → CloudPanels-BbHJHZri.js} +1 -1
- package/dist/{CommentsPanel-BSLk23YP.js → CommentsPanel-BMYvXRKK.js} +1 -1
- package/dist/{CommentsSidebar-L-DgP_kM.js → CommentsSidebar-_8at1Rug.js} +139 -139
- package/dist/{CountdownToolbar-B6erqTbz.js → CountdownToolbar-BprSuPJk.js} +2 -2
- package/dist/{LanguageMenu-DsfCHdVi.js → LanguageMenu-CkGqLYjf.js} +122 -122
- package/dist/{LocaleNotices-BxR3xcLl.js → LocaleNotices-D0be8ovO.js} +8 -8
- package/dist/{MergeTagTextarea-q6eeDD2l.js → MergeTagTextarea-BjHlamJv.js} +12 -12
- package/dist/{ParagraphEditor-25SNi_8O.js → ParagraphEditor-Ctu4fSsl.js} +2 -2
- package/dist/{RestoreVersionDialog-BXtCxJF1.js → RestoreVersionDialog-DvZoTJVa.js} +1 -1
- package/dist/{SaveBlockDialog-k1lxEBVW.js → SaveBlockDialog-DHfT-Tpx.js} +3 -3
- package/dist/{SavedBlocksBrowserModal-CV-8mDPj.js → SavedBlocksBrowserModal-BjJuuXQv.js} +3 -3
- package/dist/{SavedBlocksPanels-9nZj1jG_.js → SavedBlocksPanels-D6eiMQZ3.js} +1 -1
- package/dist/{SavedBlocksPickBar-Dy6NN9tm.js → SavedBlocksPickBar-BkgCDSXe.js} +1 -1
- package/dist/{TemplateSettings-DWxdUdM5.js → TemplateSettings-DQAbNsiS.js} +1 -1
- package/dist/{TestEmailModal-BAkkZTaZ.js → TestEmailModal-m_AEa36T.js} +3 -3
- package/dist/{TestEmailPanel-ccT2E3em.js → TestEmailPanel-OApkuaVd.js} +1 -1
- package/dist/{TitleEditor-B19dYnER.js → TitleEditor-Cwdtfk15.js} +1 -1
- package/dist/{Toolbar-DxlZq_36.js → Toolbar-D_T55elL.js} +359 -359
- package/dist/{TplModal-Bp2qPmQw.js → TplModal-2MKm5y6r.js} +1 -1
- package/dist/{VersionHistoryPanels-wAVDmhnP.js → VersionHistoryPanels-CCM0IQBg.js} +1 -1
- package/dist/{WrapperBlock-DHnD6Exl.js → WrapperBlock-BZl10HLy.js} +1 -1
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiChatPanel-DTYmFRwb.js → AiChatPanel-BYAsgmoC.js} +146 -146
- package/dist/cdn/chunks/AiChatPanel-BYAsgmoC.js.map +1 -0
- package/dist/cdn/chunks/{AiPanels-BW9ze-6O.js → AiPanels-MY_YPls8.js} +2 -2
- package/dist/cdn/chunks/{AiPanels-BW9ze-6O.js.map → AiPanels-MY_YPls8.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-B9b92d0R.js → AiRewriteMenu-BSePiXe_.js} +2 -2
- package/dist/cdn/chunks/{AiRewriteMenu-B9b92d0R.js.map → AiRewriteMenu-BSePiXe_.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-CLid1x0c.js → BlockPreviewCanvas-B153A3hu.js} +3 -3
- package/dist/cdn/chunks/{BlockPreviewCanvas-CLid1x0c.js.map → BlockPreviewCanvas-B153A3hu.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-D4dslsyk.js → CloudPanels-Bv26_Sd8.js} +2 -2
- package/dist/cdn/chunks/{CloudPanels-D4dslsyk.js.map → CloudPanels-Bv26_Sd8.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-BynxXJ-F.js → CommentsPanel-R27fqh9O.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-BynxXJ-F.js.map → CommentsPanel-R27fqh9O.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-C81N5Hwr.js → CommentsSidebar-BEiOQ_zT.js} +133 -133
- package/dist/cdn/chunks/CommentsSidebar-BEiOQ_zT.js.map +1 -0
- package/dist/cdn/chunks/{CountdownToolbar-f1aqEba0.js → CountdownToolbar-DOhXnbsq.js} +3 -3
- package/dist/cdn/chunks/{CountdownToolbar-f1aqEba0.js.map → CountdownToolbar-DOhXnbsq.js.map} +1 -1
- package/dist/cdn/chunks/{LanguageMenu-CJp7XdfG.js → LanguageMenu-B6kt8SgX.js} +104 -104
- package/dist/cdn/chunks/LanguageMenu-B6kt8SgX.js.map +1 -0
- package/dist/cdn/chunks/{LocaleNotices-D5vZzcUj.js → LocaleNotices-Bleg4gTu.js} +9 -9
- package/dist/cdn/chunks/LocaleNotices-Bleg4gTu.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagTextarea-DMXZgGUF.js → MergeTagTextarea-DGDv-pdn.js} +13 -13
- package/dist/cdn/chunks/MergeTagTextarea-DGDv-pdn.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-Ce7_Ix0K.js → ParagraphEditor-D0q36Myd.js} +3 -3
- package/dist/cdn/chunks/{ParagraphEditor-Ce7_Ix0K.js.map → ParagraphEditor-D0q36Myd.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-JmMLhN6G.js → RestoreVersionDialog-CJggFdbi.js} +2 -2
- package/dist/cdn/chunks/{RestoreVersionDialog-JmMLhN6G.js.map → RestoreVersionDialog-CJggFdbi.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-B-2amBN5.js → SaveBlockDialog-BzES5tqd.js} +4 -4
- package/dist/cdn/chunks/{SaveBlockDialog-B-2amBN5.js.map → SaveBlockDialog-BzES5tqd.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BR6fQ222.js → SavedBlocksBrowserModal-CLNcZcLd.js} +4 -4
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BR6fQ222.js.map → SavedBlocksBrowserModal-CLNcZcLd.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-DVNNshfr.js → SavedBlocksPanels-R0W9LElD.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-DVNNshfr.js.map → SavedBlocksPanels-R0W9LElD.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-BfxLHLQV.js → SavedBlocksPickBar-JNi5Rx4V.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPickBar-BfxLHLQV.js.map → SavedBlocksPickBar-JNi5Rx4V.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-TMFrRV2c.js → TemplateSettings-C5wsNcgX.js} +2 -2
- package/dist/cdn/chunks/{TemplateSettings-TMFrRV2c.js.map → TemplateSettings-C5wsNcgX.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-tTU35BKZ.js → TestEmailModal-BxIAwjww.js} +4 -4
- package/dist/cdn/chunks/{TestEmailModal-tTU35BKZ.js.map → TestEmailModal-BxIAwjww.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BNJBVwx0.js → TestEmailPanel-B8BsWXjE.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-BNJBVwx0.js.map → TestEmailPanel-B8BsWXjE.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-BbscL_C1.js → TitleEditor-DhcI1aRS.js} +2 -2
- package/dist/cdn/chunks/{TitleEditor-BbscL_C1.js.map → TitleEditor-DhcI1aRS.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-BxzyS69X.js → Toolbar-Ch3h2BUs.js} +194 -194
- package/dist/cdn/chunks/Toolbar-Ch3h2BUs.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-Bzhc_l8y.js → TplModal-CPOqOxVf.js} +2 -2
- package/dist/cdn/chunks/{TplModal-Bzhc_l8y.js.map → TplModal-CPOqOxVf.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-Bbb1xUJs.js → VersionHistoryPanels-CVrXHYxT.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-Bbb1xUJs.js.map → VersionHistoryPanels-CVrXHYxT.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-BboijK5T.js → WrapperBlock-B8SJ7Q4w.js} +2 -2
- package/dist/cdn/chunks/{WrapperBlock-BboijK5T.js.map → WrapperBlock-B8SJ7Q4w.js.map} +1 -1
- package/dist/cdn/chunks/{composables-C77dGo-I.js → composables-CKXPwWo9.js} +148 -148
- package/dist/cdn/chunks/composables-CKXPwWo9.js.map +1 -0
- package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +1 -1
- package/dist/cdn/chunks/{src-1MSPRtI8.js → src-Bk1LF1np.js} +2 -2
- package/dist/cdn/chunks/{src-1MSPRtI8.js.map → src-Bk1LF1np.js.map} +1 -1
- package/dist/cdn/chunks/useLanguageName-DDhdVpqh.js +41 -0
- package/dist/cdn/chunks/useLanguageName-DDhdVpqh.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +58 -56
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{composables-Bu_OmyjT.js → composables-26aR45W3.js} +1222 -1222
- package/dist/index.d.ts +5 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +57 -55
- package/dist/useLanguageName-CEFzafHB.js +39 -0
- package/package.json +8 -8
- package/dist/cdn/chunks/AiChatPanel-DTYmFRwb.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-C81N5Hwr.js.map +0 -1
- package/dist/cdn/chunks/LanguageMenu-CJp7XdfG.js.map +0 -1
- package/dist/cdn/chunks/LocaleNotices-D5vZzcUj.js.map +0 -1
- package/dist/cdn/chunks/MergeTagTextarea-DMXZgGUF.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-BxzyS69X.js.map +0 -1
- package/dist/cdn/chunks/composables-C77dGo-I.js.map +0 -1
- package/dist/cdn/chunks/languageName-DEEOhDWI.js +0 -12
- package/dist/cdn/chunks/languageName-DEEOhDWI.js.map +0 -1
- package/dist/languageName-DEEOhDWI.js +0 -10
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { C as e, F as t, G as n, H as r, K as i, L as a, O as o, _ as s, b as ee, ct as c, dt as l, g as u, h as d, j as te, m as f, mt as p, n as m, o as h, p as g, pt as ne, tt as _, u as v, x as y } from "./draggable-IRVFEZ-b.js";
|
|
2
2
|
import { u as b } from "./styleConstants-Br6CIRoS.js";
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { O as
|
|
6
|
-
import { t as
|
|
7
|
-
import { Bt as
|
|
3
|
+
import { t as re } from "./useLanguageName-DDhdVpqh.js";
|
|
4
|
+
import { t as ie } from "./formatRelativeTime-BTD8Ktt-.js";
|
|
5
|
+
import { O as ae, ut as oe, v as se } from "./keys-ywH4jHJ2.js";
|
|
6
|
+
import { t as ce } from "./useI18n-DPg6rPbu.js";
|
|
7
|
+
import { Bt as le, G as x, I as ue, It as de, Lt as fe, Vt as pe, at as S, f as C, j as me, nt as w, t as T } from "./icons-DdVB-5WO.js";
|
|
8
8
|
import { t as E } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
9
9
|
// src/components/CommentsSidebar.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, _e = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, ve = {
|
|
@@ -75,15 +75,15 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
|
|
|
75
75
|
},
|
|
76
76
|
emits: ["close"],
|
|
77
77
|
setup(e, { expose: E, emit: D }) {
|
|
78
|
-
let O = e, Et = D, { t: k, format: A } =
|
|
79
|
-
function
|
|
78
|
+
let O = e, Et = D, { t: k, format: A } = ce(), j = oe(se, "CommentsSidebar"), M = re(j), N = g(() => O.feature.headless), P = _("unresolved"), F = o(ae, void 0), I = _(!1), Dt = g(() => j.activeLocale?.value ?? j.content.value.settings.locale);
|
|
79
|
+
function L(e) {
|
|
80
80
|
return e.locale ?? j.content.value.settings.locale;
|
|
81
81
|
}
|
|
82
|
-
let
|
|
83
|
-
r(
|
|
84
|
-
e && (
|
|
82
|
+
let R = _(""), z = _(null), B = _(""), V = _(null), H = _(""), U = _(/* @__PURE__ */ new Set()), W = _(null), G = _(null), K = g(() => O.feature.filterBlockId.value);
|
|
83
|
+
r(K, (e) => {
|
|
84
|
+
e && (P.value = "block");
|
|
85
85
|
}, { immediate: !0 });
|
|
86
|
-
let Ot = g(() =>
|
|
86
|
+
let Ot = g(() => N.value.isLoading.value && N.value.comments.value.length === 0), kt = g(() => {
|
|
87
87
|
let e = /* @__PURE__ */ new Set();
|
|
88
88
|
for (let t of j.content.value.blocks) if (e.add(t.id), t.type === "section") for (let n of t.children) for (let t of n) e.add(t.id);
|
|
89
89
|
return e;
|
|
@@ -91,108 +91,108 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
|
|
|
91
91
|
function At(e) {
|
|
92
92
|
return e ? !kt.value.has(e) : !1;
|
|
93
93
|
}
|
|
94
|
-
let jt = g(() =>
|
|
95
|
-
let e =
|
|
96
|
-
return
|
|
94
|
+
let jt = g(() => P.value !== "block" || !K.value ? !1 : O.feature.capability.isBlockSaved(K.value) === !1), q = g(() => {
|
|
95
|
+
let e = N.value.comments.value;
|
|
96
|
+
return P.value === "unresolved" ? e = e.filter((e) => !e.resolvedAt) : P.value === "block" && K.value && (e = e.filter((e) => e.blockId === K.value)), I.value && (e = e.filter((e) => [e, ...e.replies ?? []].some((e) => L(e) === Dt.value))), e;
|
|
97
97
|
});
|
|
98
98
|
r(() => j.state.selectedBlockId, (e) => {
|
|
99
|
-
|
|
99
|
+
P.value === "block" && e && (O.feature.filterBlockId.value = e);
|
|
100
100
|
});
|
|
101
|
-
function
|
|
102
|
-
|
|
101
|
+
function J(e, t) {
|
|
102
|
+
P.value = e, O.feature.filterBlockId.value = e === "block" ? t ?? null : null;
|
|
103
103
|
}
|
|
104
104
|
function Mt(e) {
|
|
105
|
-
|
|
105
|
+
J("block", e);
|
|
106
106
|
}
|
|
107
107
|
function Nt(e) {
|
|
108
|
-
|
|
108
|
+
U.value.has(e) ? U.value.delete(e) : U.value.add(e);
|
|
109
109
|
}
|
|
110
110
|
function Pt(e) {
|
|
111
|
-
|
|
111
|
+
z.value = e, B.value = "", V.value = null, U.value.has(e) || U.value.add(e);
|
|
112
112
|
}
|
|
113
113
|
function Ft() {
|
|
114
|
-
|
|
114
|
+
z.value = null, B.value = "";
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
|
|
116
|
+
function Y(e) {
|
|
117
|
+
V.value = e.id, H.value = e.body, z.value = null;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
|
|
119
|
+
function X() {
|
|
120
|
+
V.value = null, H.value = "";
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
122
|
+
function Z(e) {
|
|
123
|
+
W.value = e;
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
125
|
+
function Q() {
|
|
126
|
+
W.value = null;
|
|
127
127
|
}
|
|
128
128
|
async function It() {
|
|
129
|
-
let e =
|
|
130
|
-
if (!e || !
|
|
131
|
-
let t =
|
|
129
|
+
let e = R.value.trim();
|
|
130
|
+
if (!e || !N.value.canCreate.value) return;
|
|
131
|
+
let t = P.value === "block" ? K.value : void 0;
|
|
132
132
|
try {
|
|
133
|
-
await
|
|
133
|
+
await N.value.create({
|
|
134
134
|
body: e,
|
|
135
135
|
blockId: t ?? void 0,
|
|
136
136
|
locale: j.activeLocale?.value ?? j.content.value.settings.locale
|
|
137
|
-
}),
|
|
137
|
+
}), R.value = "";
|
|
138
138
|
} catch {}
|
|
139
139
|
}
|
|
140
140
|
async function Lt(e) {
|
|
141
|
-
let t =
|
|
142
|
-
if (!t || !
|
|
143
|
-
let n =
|
|
141
|
+
let t = B.value.trim();
|
|
142
|
+
if (!t || !N.value.canCreate.value) return;
|
|
143
|
+
let n = N.value.find(e);
|
|
144
144
|
try {
|
|
145
|
-
await
|
|
145
|
+
await N.value.create({
|
|
146
146
|
body: t,
|
|
147
147
|
blockId: n?.blockId ?? void 0,
|
|
148
148
|
parentId: e,
|
|
149
149
|
locale: j.activeLocale?.value ?? j.content.value.settings.locale
|
|
150
|
-
}),
|
|
150
|
+
}), z.value = null, B.value = "";
|
|
151
151
|
} catch {}
|
|
152
152
|
}
|
|
153
|
-
async function
|
|
154
|
-
let t =
|
|
153
|
+
async function $(e) {
|
|
154
|
+
let t = H.value.trim();
|
|
155
155
|
if (t) try {
|
|
156
|
-
await
|
|
156
|
+
await N.value.update(e, { body: t }), V.value = null, H.value = "";
|
|
157
157
|
} catch {}
|
|
158
158
|
}
|
|
159
159
|
async function Rt(e) {
|
|
160
160
|
try {
|
|
161
|
-
await
|
|
161
|
+
await N.value.remove(e);
|
|
162
162
|
} catch {}
|
|
163
|
-
|
|
163
|
+
W.value = null;
|
|
164
164
|
}
|
|
165
165
|
async function zt(e) {
|
|
166
166
|
try {
|
|
167
|
-
await
|
|
167
|
+
await N.value.setResolved(e.id, !e.resolvedAt);
|
|
168
168
|
} catch {}
|
|
169
169
|
}
|
|
170
|
-
function $(e) {
|
|
171
|
-
return M.value.canUpdate.value && M.value.isOwn(e);
|
|
172
|
-
}
|
|
173
170
|
function Bt(e) {
|
|
174
|
-
return
|
|
171
|
+
return N.value.canUpdate.value && N.value.isOwn(e);
|
|
175
172
|
}
|
|
176
173
|
function Vt(e) {
|
|
177
|
-
return
|
|
174
|
+
return N.value.canDelete.value && N.value.isOwn(e);
|
|
178
175
|
}
|
|
179
176
|
function Ht(e) {
|
|
177
|
+
return ie(e, k.time) ?? e;
|
|
178
|
+
}
|
|
179
|
+
function Ut(e) {
|
|
180
180
|
e.key === "Enter" && !e.shiftKey && (e.preventDefault(), It());
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Wt(e, t) {
|
|
183
183
|
e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Lt(t));
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
e.key === "Enter" && !e.shiftKey && (e.preventDefault(),
|
|
185
|
+
function Gt(e, t) {
|
|
186
|
+
e.key === "Enter" && !e.shiftKey && (e.preventDefault(), $(t)), e.key === "Escape" && X();
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function Kt() {
|
|
189
189
|
te(() => {
|
|
190
|
-
|
|
190
|
+
G.value?.focus();
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
193
|
return E({
|
|
194
194
|
filterByBlock: Mt,
|
|
195
|
-
focusNewComment:
|
|
195
|
+
focusNewComment: Kt
|
|
196
196
|
}), (r, o) => e.visible ? (t(), s("div", {
|
|
197
197
|
key: 0,
|
|
198
198
|
role: "complementary",
|
|
@@ -219,94 +219,94 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
|
|
|
219
219
|
f("div", be, [
|
|
220
220
|
f("button", {
|
|
221
221
|
type: "button",
|
|
222
|
-
class: l(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors",
|
|
223
|
-
"aria-pressed":
|
|
222
|
+
class: l(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "unresolved" ? "tpl-comment-filter--active" : ""]),
|
|
223
|
+
"aria-pressed": P.value === "unresolved",
|
|
224
224
|
"data-testid": "comments-filter-unresolved",
|
|
225
|
-
onClick: o[1] ||= (e) =>
|
|
225
|
+
onClick: o[1] ||= (e) => J("unresolved")
|
|
226
226
|
}, p(c(k).comments.filterUnresolved), 11, xe),
|
|
227
227
|
f("button", {
|
|
228
228
|
type: "button",
|
|
229
|
-
class: l(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors",
|
|
230
|
-
"aria-pressed":
|
|
229
|
+
class: l(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "all" ? "tpl-comment-filter--active" : ""]),
|
|
230
|
+
"aria-pressed": P.value === "all",
|
|
231
231
|
"data-testid": "comments-filter-all",
|
|
232
|
-
onClick: o[2] ||= (e) =>
|
|
232
|
+
onClick: o[2] ||= (e) => J("all")
|
|
233
233
|
}, p(c(k).comments.filterAll), 11, Se),
|
|
234
234
|
c(j).state.selectedBlockId ? (t(), s("button", {
|
|
235
235
|
key: 0,
|
|
236
236
|
type: "button",
|
|
237
|
-
class: l(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors",
|
|
238
|
-
"aria-pressed":
|
|
237
|
+
class: l(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "block" ? "tpl-comment-filter--active" : ""]),
|
|
238
|
+
"aria-pressed": P.value === "block",
|
|
239
239
|
"data-testid": "comments-filter-block",
|
|
240
|
-
onClick: o[3] ||= (e) =>
|
|
240
|
+
onClick: o[3] ||= (e) => J("block", c(j).state.selectedBlockId ?? void 0)
|
|
241
241
|
}, p(c(k).comments.filterBlock), 11, Ce)) : u("", !0),
|
|
242
|
-
c(
|
|
242
|
+
c(F) ? (t(), s("button", {
|
|
243
243
|
key: 1,
|
|
244
244
|
type: "button",
|
|
245
245
|
"data-testid": "comments-filter-language",
|
|
246
|
-
class: l(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:focus-visible:outline-none tpl:focus-visible:shadow-[var(--tpl-ring)]",
|
|
247
|
-
"aria-pressed":
|
|
248
|
-
onClick: o[4] ||= (e) =>
|
|
246
|
+
class: l(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:focus-visible:outline-none tpl:focus-visible:shadow-[var(--tpl-ring)]", I.value ? "tpl-comment-filter--active" : ""]),
|
|
247
|
+
"aria-pressed": I.value,
|
|
248
|
+
onClick: o[4] ||= (e) => I.value = !I.value
|
|
249
249
|
}, p(c(k).comments.filterLanguage), 11, we)) : u("", !0)
|
|
250
250
|
]),
|
|
251
|
-
f("div", Te, [Ot.value ? (t(), s("div", Ee, [y(c(
|
|
251
|
+
f("div", Te, [Ot.value ? (t(), s("div", Ee, [y(c(S), {
|
|
252
252
|
class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
|
|
253
253
|
size: 24,
|
|
254
254
|
"stroke-width": 2
|
|
255
|
-
})])) :
|
|
255
|
+
})])) : q.value.length === 0 ? (t(), s("div", De, [y(c(w), {
|
|
256
256
|
size: 32,
|
|
257
257
|
"stroke-width": 1.5,
|
|
258
258
|
class: "tpl:text-[var(--tpl-text-dim)]"
|
|
259
|
-
}), f("p", Oe, p(
|
|
259
|
+
}), f("p", Oe, p(P.value === "all" ? c(k).comments.noCommentsHint : c(k).comments.noComments), 1)])) : (t(), s("div", ke, [(t(!0), s(v, null, a(q.value, (e) => (t(), s("div", {
|
|
260
260
|
key: e.id,
|
|
261
261
|
class: "tpl-comment-thread",
|
|
262
262
|
"data-testid": "comment-thread"
|
|
263
263
|
}, [
|
|
264
264
|
f("div", Ae, [
|
|
265
265
|
f("div", je, [f("div", Me, [
|
|
266
|
-
f("span", Ne, p(
|
|
267
|
-
f("span", Pe, p(
|
|
268
|
-
c(
|
|
266
|
+
f("span", Ne, p(N.value.isOwn(e) ? c(k).comments.ownedByYou : e.author.name), 1),
|
|
267
|
+
f("span", Pe, p(Ht(e.createdAt)), 1),
|
|
268
|
+
c(F) ? (t(), s("span", {
|
|
269
269
|
key: 0,
|
|
270
270
|
"data-testid": "comment-locale-badge",
|
|
271
271
|
class: l(c(b))
|
|
272
|
-
}, p(c(
|
|
272
|
+
}, p(c(M)(L(e))), 3)) : u("", !0),
|
|
273
273
|
e.updatedAt ? (t(), s("span", Fe, " (" + p(c(k).comments.edited) + ") ", 1)) : u("", !0)
|
|
274
274
|
]), f("div", Ie, [
|
|
275
|
-
|
|
275
|
+
N.value.canResolve.value ? (t(), s("button", {
|
|
276
276
|
key: 0,
|
|
277
277
|
"data-testid": "comment-resolve",
|
|
278
278
|
class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
|
|
279
279
|
title: e.resolvedAt ? c(k).comments.unresolve : c(k).comments.resolve,
|
|
280
280
|
onClick: (t) => zt(e)
|
|
281
|
-
}, [y(c(
|
|
281
|
+
}, [y(c(de), {
|
|
282
282
|
size: 13,
|
|
283
283
|
"stroke-width": 2,
|
|
284
284
|
class: "tpl-resolve-icon",
|
|
285
285
|
style: ne({ color: e.resolvedAt ? "var(--tpl-primary)" : void 0 })
|
|
286
286
|
}, null, 8, ["style"])], 8, Le)) : u("", !0),
|
|
287
|
-
|
|
287
|
+
Bt(e) ? (t(), s("button", {
|
|
288
288
|
key: 1,
|
|
289
289
|
"data-testid": "comment-edit",
|
|
290
290
|
class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
|
|
291
291
|
title: c(k).comments.edit,
|
|
292
|
-
onClick: (t) =>
|
|
293
|
-
}, [y(c(
|
|
292
|
+
onClick: (t) => Y(e)
|
|
293
|
+
}, [y(c(x), {
|
|
294
294
|
size: 12,
|
|
295
295
|
"stroke-width": 2
|
|
296
296
|
})], 8, Re)) : u("", !0),
|
|
297
|
-
|
|
297
|
+
Vt(e) ? (t(), s("button", {
|
|
298
298
|
key: 2,
|
|
299
299
|
"data-testid": "comment-delete",
|
|
300
300
|
class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
|
|
301
301
|
title: c(k).comments.delete,
|
|
302
|
-
onClick: (t) =>
|
|
303
|
-
}, [y(c(
|
|
302
|
+
onClick: (t) => Z(e.id)
|
|
303
|
+
}, [y(c(C), {
|
|
304
304
|
size: 12,
|
|
305
305
|
"stroke-width": 2
|
|
306
306
|
})], 8, ze)) : u("", !0)
|
|
307
307
|
])]),
|
|
308
308
|
y(m, { name: "tpl-resolve" }, {
|
|
309
|
-
default: n(() => [e.resolvedAt ? (t(), s("div", Be, [y(c(
|
|
309
|
+
default: n(() => [e.resolvedAt ? (t(), s("div", Be, [y(c(pe), {
|
|
310
310
|
size: 10,
|
|
311
311
|
"stroke-width": 2.5
|
|
312
312
|
}), f("span", null, p(c(A)(c(k).comments.resolvedBy, { name: e.resolvedBy?.name ?? "" })), 1)])) : u("", !0)]),
|
|
@@ -317,20 +317,20 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
|
|
|
317
317
|
class: "tpl:mt-1 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:transition-colors tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)]",
|
|
318
318
|
onClick: (t) => c(j).selectBlock(e.blockId ?? "")
|
|
319
319
|
}, p(c(k).comments.jumpToBlock), 9, He)) : u("", !0),
|
|
320
|
-
|
|
321
|
-
"onUpdate:modelValue": o[5] ||= (e) =>
|
|
320
|
+
V.value === e.id ? (t(), s("div", Ue, [i(f("textarea", {
|
|
321
|
+
"onUpdate:modelValue": o[5] ||= (e) => H.value = e,
|
|
322
322
|
class: "tpl:w-full tpl:resize-none tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:font-sans tpl:text-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]",
|
|
323
323
|
rows: "3",
|
|
324
|
-
onKeydown: (t) =>
|
|
325
|
-
}, null, 40, We), [[h,
|
|
324
|
+
onKeydown: (t) => Gt(t, e.id)
|
|
325
|
+
}, null, 40, We), [[h, H.value]]), f("div", Ge, [f("button", {
|
|
326
326
|
class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
|
|
327
|
-
disabled: !
|
|
328
|
-
onClick: (t) =>
|
|
327
|
+
disabled: !H.value.trim() || N.value.isSubmitting.value,
|
|
328
|
+
onClick: (t) => $(e.id)
|
|
329
329
|
}, p(c(k).comments.save), 9, Ke), f("button", {
|
|
330
330
|
class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
|
|
331
|
-
onClick: o[6] ||= (e) =>
|
|
331
|
+
onClick: o[6] ||= (e) => X()
|
|
332
332
|
}, p(c(k).comments.cancel), 1)])])) : (t(), s("p", qe, p(e.body), 1)),
|
|
333
|
-
|
|
333
|
+
W.value === e.id ? (t(), s("div", Je, [
|
|
334
334
|
f("span", Ye, p(c(k).comments.deleteConfirm), 1),
|
|
335
335
|
f("button", {
|
|
336
336
|
class: "tpl:rounded tpl:px-2 tpl:py-0.5 tpl:text-xs tpl:font-medium tpl:bg-[var(--tpl-danger)] tpl:text-[var(--tpl-bg)]",
|
|
@@ -339,16 +339,16 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
|
|
|
339
339
|
}, p(c(k).comments.delete), 9, Xe),
|
|
340
340
|
f("button", {
|
|
341
341
|
class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
|
|
342
|
-
onClick: o[7] ||= (e) =>
|
|
342
|
+
onClick: o[7] ||= (e) => Q()
|
|
343
343
|
}, p(c(k).comments.cancel), 1)
|
|
344
344
|
])) : u("", !0),
|
|
345
|
-
|
|
345
|
+
V.value !== e.id && W.value !== e.id ? (t(), s("div", Ze, [N.value.canCreate.value ? (t(), s("button", {
|
|
346
346
|
key: 0,
|
|
347
347
|
"data-testid": "comment-reply",
|
|
348
348
|
class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
|
|
349
349
|
title: c(k).comments.reply,
|
|
350
350
|
onClick: (t) => Pt(e.id)
|
|
351
|
-
}, [y(c(
|
|
351
|
+
}, [y(c(ue), {
|
|
352
352
|
size: 13,
|
|
353
353
|
"stroke-width": 2,
|
|
354
354
|
class: "tpl:text-[var(--tpl-primary)]"
|
|
@@ -356,61 +356,61 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
|
|
|
356
356
|
key: 1,
|
|
357
357
|
class: "tpl:flex tpl:items-center tpl:gap-0.5 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
|
|
358
358
|
onClick: (t) => Nt(e.id)
|
|
359
|
-
}, [
|
|
359
|
+
}, [U.value.has(e.id) ? (t(), d(c(fe), {
|
|
360
360
|
key: 0,
|
|
361
361
|
size: 11,
|
|
362
362
|
"stroke-width": 2
|
|
363
|
-
})) : (t(), d(c(
|
|
363
|
+
})) : (t(), d(c(le), {
|
|
364
364
|
key: 1,
|
|
365
365
|
size: 11,
|
|
366
366
|
"stroke-width": 2
|
|
367
367
|
})), ee(" " + p((e.replies?.length ?? 0) === 1 ? c(A)(c(k).comments.replyOne, { count: String(e.replies?.length ?? 0) }) : c(A)(c(k).comments.replyMany, { count: String(e.replies?.length ?? 0) })), 1)], 8, $e)) : u("", !0)])) : u("", !0)
|
|
368
368
|
]),
|
|
369
369
|
y(m, { name: "tpl-replies" }, {
|
|
370
|
-
default: n(() => [
|
|
370
|
+
default: n(() => [U.value.has(e.id) && (e.replies?.length ?? 0) > 0 ? (t(), s("div", et, [(t(!0), s(v, null, a(e.replies, (n, r) => (t(), s("div", {
|
|
371
371
|
key: n.id,
|
|
372
372
|
class: l(["tpl-comment-reply-card tpl:relative tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-2.5", r < (e.replies?.length ?? 0) - 1 ? "tpl:mb-2" : ""])
|
|
373
373
|
}, [
|
|
374
374
|
f("div", tt, [f("div", nt, [
|
|
375
|
-
f("span", rt, p(
|
|
376
|
-
f("span", it, p(
|
|
377
|
-
c(
|
|
375
|
+
f("span", rt, p(N.value.isOwn(n) ? c(k).comments.ownedByYou : n.author.name), 1),
|
|
376
|
+
f("span", it, p(Ht(n.createdAt)), 1),
|
|
377
|
+
c(F) ? (t(), s("span", {
|
|
378
378
|
key: 0,
|
|
379
379
|
"data-testid": "comment-locale-badge",
|
|
380
380
|
class: l(c(b))
|
|
381
|
-
}, p(c(
|
|
381
|
+
}, p(c(M)(L(n))), 3)) : u("", !0),
|
|
382
382
|
n.updatedAt ? (t(), s("span", at, " (" + p(c(k).comments.edited) + ") ", 1)) : u("", !0)
|
|
383
|
-
]), f("div", ot, [
|
|
383
|
+
]), f("div", ot, [Bt(n) ? (t(), s("button", {
|
|
384
384
|
key: 0,
|
|
385
385
|
class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
|
|
386
386
|
title: c(k).comments.edit,
|
|
387
|
-
onClick: (e) =>
|
|
388
|
-
}, [y(c(
|
|
387
|
+
onClick: (e) => Y(n)
|
|
388
|
+
}, [y(c(x), {
|
|
389
389
|
size: 11,
|
|
390
390
|
"stroke-width": 2
|
|
391
|
-
})], 8, st)) : u("", !0),
|
|
391
|
+
})], 8, st)) : u("", !0), Vt(n) ? (t(), s("button", {
|
|
392
392
|
key: 1,
|
|
393
393
|
class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
|
|
394
394
|
title: c(k).comments.delete,
|
|
395
|
-
onClick: (e) =>
|
|
396
|
-
}, [y(c(
|
|
395
|
+
onClick: (e) => Z(n.id)
|
|
396
|
+
}, [y(c(C), {
|
|
397
397
|
size: 11,
|
|
398
398
|
"stroke-width": 2
|
|
399
399
|
})], 8, ct)) : u("", !0)])]),
|
|
400
|
-
|
|
401
|
-
"onUpdate:modelValue": o[8] ||= (e) =>
|
|
400
|
+
V.value === n.id ? (t(), s("div", lt, [i(f("textarea", {
|
|
401
|
+
"onUpdate:modelValue": o[8] ||= (e) => H.value = e,
|
|
402
402
|
class: "tpl:w-full tpl:resize-none tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:font-sans tpl:text-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]",
|
|
403
403
|
rows: "2",
|
|
404
|
-
onKeydown: (e) =>
|
|
405
|
-
}, null, 40, ut), [[h,
|
|
404
|
+
onKeydown: (e) => Gt(e, n.id)
|
|
405
|
+
}, null, 40, ut), [[h, H.value]]), f("div", dt, [f("button", {
|
|
406
406
|
class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
|
|
407
|
-
disabled: !
|
|
408
|
-
onClick: (e) =>
|
|
407
|
+
disabled: !H.value.trim() || N.value.isSubmitting.value,
|
|
408
|
+
onClick: (e) => $(n.id)
|
|
409
409
|
}, p(c(k).comments.save), 9, ft), f("button", {
|
|
410
410
|
class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
|
|
411
|
-
onClick: o[9] ||= (e) =>
|
|
411
|
+
onClick: o[9] ||= (e) => X()
|
|
412
412
|
}, p(c(k).comments.cancel), 1)])])) : (t(), s("p", pt, p(n.body), 1)),
|
|
413
|
-
|
|
413
|
+
W.value === n.id ? (t(), s("div", mt, [
|
|
414
414
|
f("span", ht, p(c(k).comments.deleteConfirm), 1),
|
|
415
415
|
f("button", {
|
|
416
416
|
class: "tpl:rounded tpl:px-2 tpl:py-0.5 tpl:text-xs tpl:font-medium tpl:bg-[var(--tpl-danger)] tpl:text-[var(--tpl-bg)]",
|
|
@@ -419,24 +419,24 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
|
|
|
419
419
|
}, p(c(k).comments.delete), 9, gt),
|
|
420
420
|
f("button", {
|
|
421
421
|
class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
|
|
422
|
-
onClick: o[10] ||= (e) =>
|
|
422
|
+
onClick: o[10] ||= (e) => Q()
|
|
423
423
|
}, p(c(k).comments.cancel), 1)
|
|
424
424
|
])) : u("", !0)
|
|
425
425
|
], 2))), 128))])) : u("", !0)]),
|
|
426
426
|
_: 2
|
|
427
427
|
}, 1024),
|
|
428
428
|
y(m, { name: "tpl-replies" }, {
|
|
429
|
-
default: n(() => [
|
|
429
|
+
default: n(() => [z.value === e.id ? (t(), s("div", _t, [f("div", vt, [
|
|
430
430
|
i(f("textarea", {
|
|
431
|
-
"onUpdate:modelValue": o[11] ||= (e) =>
|
|
431
|
+
"onUpdate:modelValue": o[11] ||= (e) => B.value = e,
|
|
432
432
|
class: "tpl:max-h-24 tpl:flex-1 tpl:resize-none tpl:border-none tpl:bg-transparent tpl:font-sans tpl:text-xs tpl:outline-none tpl:text-[var(--tpl-text)]",
|
|
433
433
|
placeholder: c(k).comments.replyPlaceholder,
|
|
434
434
|
rows: "2",
|
|
435
|
-
onKeydown: (t) =>
|
|
436
|
-
}, null, 40, yt), [[h,
|
|
435
|
+
onKeydown: (t) => Wt(t, e.id)
|
|
436
|
+
}, null, 40, yt), [[h, B.value]]),
|
|
437
437
|
f("button", {
|
|
438
438
|
class: "tpl-comments-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
|
|
439
|
-
disabled: !
|
|
439
|
+
disabled: !B.value.trim() || N.value.isSubmitting.value,
|
|
440
440
|
onClick: (t) => Lt(e.id)
|
|
441
441
|
}, [y(c(me), {
|
|
442
442
|
size: 14,
|
|
@@ -453,22 +453,22 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
|
|
|
453
453
|
_: 2
|
|
454
454
|
}, 1024)
|
|
455
455
|
]))), 128))]))]),
|
|
456
|
-
|
|
456
|
+
N.value.canCreate.value ? (t(), s("div", xt, [jt.value ? (t(), s("div", St, p(c(k).comments.saveTemplateFirst), 1)) : (t(), s("div", Ct, [i(f("textarea", {
|
|
457
457
|
ref_key: "newCommentInput",
|
|
458
|
-
ref:
|
|
459
|
-
"onUpdate:modelValue": o[13] ||= (e) =>
|
|
458
|
+
ref: G,
|
|
459
|
+
"onUpdate:modelValue": o[13] ||= (e) => R.value = e,
|
|
460
460
|
class: "tpl:max-h-24 tpl:min-h-[48px] tpl:flex-1 tpl:resize-none tpl:border-none tpl:bg-transparent tpl:font-sans tpl:text-xs tpl:outline-none tpl:text-[var(--tpl-text)]",
|
|
461
461
|
"data-testid": "comments-input",
|
|
462
462
|
placeholder: c(k).comments.placeholder,
|
|
463
|
-
disabled:
|
|
463
|
+
disabled: N.value.isSubmitting.value,
|
|
464
464
|
rows: "2",
|
|
465
|
-
onKeydown:
|
|
466
|
-
}, null, 40, wt), [[h,
|
|
465
|
+
onKeydown: Ut
|
|
466
|
+
}, null, 40, wt), [[h, R.value]]), f("button", {
|
|
467
467
|
class: "tpl-comments-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
|
|
468
468
|
"data-testid": "comments-send",
|
|
469
|
-
disabled: !
|
|
469
|
+
disabled: !R.value.trim() || N.value.isSubmitting.value,
|
|
470
470
|
onClick: It
|
|
471
|
-
}, [
|
|
471
|
+
}, [N.value.isSubmitting.value ? (t(), d(c(S), {
|
|
472
472
|
key: 0,
|
|
473
473
|
class: "tpl-spinner",
|
|
474
474
|
size: 16,
|
|
@@ -480,7 +480,7 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
|
|
|
480
480
|
}))], 8, Tt)]))])) : u("", !0)
|
|
481
481
|
], 8, he)) : u("", !0);
|
|
482
482
|
}
|
|
483
|
-
}), [["__scopeId", "data-v-
|
|
483
|
+
}), [["__scopeId", "data-v-2aee0b06"]]);
|
|
484
484
|
export { D as default };
|
|
485
485
|
|
|
486
|
-
//# sourceMappingURL=CommentsSidebar-
|
|
486
|
+
//# sourceMappingURL=CommentsSidebar-BEiOQ_zT.js.map
|