karin-plugin-kkk 2.19.0 → 2.20.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/CHANGELOG.md +37 -0
- package/lib/apps/admin.js +3 -3
- package/lib/apps/help.js +3 -3
- package/lib/apps/push.js +3 -3
- package/lib/apps/qrlogin.js +3 -3
- package/lib/apps/tools.js +3 -3
- package/lib/apps/update.js +3 -3
- package/lib/build-metadata.json +5 -5
- package/lib/core_chunk/{main-Dj5f-cmP.js → main-BKpxoNf0.js} +409 -106
- package/lib/core_chunk/{template-CHNHRIxO.js → template-BMkKJo_s.js} +9 -9
- package/lib/core_chunk/template.js +2 -2
- package/lib/core_chunk/{vendor-BsdYKPEs.js → vendor-CZcAPGm1.js} +129900 -129900
- package/lib/index.js +3 -3
- package/lib/karin-plugin-kkk.css +4 -0
- package/lib/root.js +1 -1
- package/lib/web.config.js +3 -3
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __esmMin, o as __toESM, r as __export } from "./rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as init_lu, $t as Bookmark, A as RiHashtag, At as Plug2, B as RiRefreshLine, Bt as FileText, C as AiFillStar, Ct as Shield, D as RiArrowRightFill, Dt as Radio, E as zhCN, Et as ScanLine, F as RiListCheck2, Ft as Info, G as RiStarFill, Gt as Coins, H as RiSendPlaneFill, Ht as ExternalLink, I as RiLiveLine, It as Heart, J as RiTiktokFill, Jt as CircleEllipsis, K as RiStarLine, Kt as Clock, L as RiLoginCircleFill, Lt as Hash, M as RiHeart3Fill, Mt as Music, N as RiHeart3Line, Nt as MessageCircle, O as RiBellFill, Ot as Quote, P as RiLinkM, Pt as MapPin, Q as LuFullscreen, Qt as Calendar, R as RiMessage3Fill, Rt as Gift, S as AiFillHeart, St as Smartphone, T as init_locale, Tt as Share2, U as RiShareForwardFill, Ut as Crown, V as RiRobot2Fill, Vt as Eye, W as RiSparkling2Fill, Wt as CornerDownLeft, X as RiVideoLine, Xt as CircleAlert, Y as RiUserFollowLine, Yt as CircleCheckBig, Z as init_ri, Zt as ChartColumn, _ as HiOutlineMenuAlt2, _t as UserPlus, an as require_react, at as init_dist, b as FaCommentDots, bt as Terminal, c as rehypeHighlight, ct as button_default, d as MdAccessTime, dt as IoSearch, en as BookOpen, et as init_date_fns, f as init_md, ft as init_io5, g as init_tb, gt as User, h as TbScan, ht as Users, in as require_server_node, j as RiHeart2Line, jt as Play, k as RiGroupLine, kt as QrCode, l as init_react_markdown, lt as HeroUIProvider, m as init_si, mt as Zap, nn as clsx_default, nt as formatDistanceToNow, ot as code_default, p as SiBilibili, pt as init_lucide_react, q as RiThumbUpFill, qt as CircleFadingArrowUp, rn as init_clsx, rt as format, s as init_rehype_highlight, st as chip_default, tn as Bell, u as Markdown, ut as require_jsx_runtime, v as init_hi, vt as TriangleAlert, w as init_ai, wt as ShieldCheck, x as init_fa6, xt as Star, y as FaCodeBranch, yt as ThumbsUp, z as RiQuestionFill, zt as Gamepad2 } from "./vendor-CZcAPGm1.js";
|
|
3
3
|
import { logger as logger$1 } from "node-karin";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1728,7 +1728,7 @@ var init_Comment$3 = __esmMin(() => {
|
|
|
1728
1728
|
className: "flex flex-nowrap items-center h-25 content-center w-full overflow-hidden",
|
|
1729
1729
|
children: [
|
|
1730
1730
|
(0, import_jsx_runtime$30.jsx)("span", {
|
|
1731
|
-
className: clsx_default("mr-2 text-5xl font-medium text-foreground-
|
|
1731
|
+
className: clsx_default("mr-2 text-5xl font-medium text-foreground-500", isNicknameLonger ? "min-w-0 truncate shrink" : "shrink-0"),
|
|
1732
1732
|
children: reply.nickname
|
|
1733
1733
|
}),
|
|
1734
1734
|
reply.label_text !== "" && (0, import_jsx_runtime$30.jsx)("div", {
|
|
@@ -1739,10 +1739,10 @@ var init_Comment$3 = __esmMin(() => {
|
|
|
1739
1739
|
className: clsx_default("flex items-center", !isNicknameLonger ? "overflow-hidden min-w-0 shrink" : "shrink-0"),
|
|
1740
1740
|
children: [(0, import_jsx_runtime$30.jsx)(Play, {
|
|
1741
1741
|
size: 35,
|
|
1742
|
-
className: "mr-3.5 mx-1 text-foreground-
|
|
1742
|
+
className: "mr-3.5 mx-1 text-foreground-300 shrink-0",
|
|
1743
1743
|
fill: "currentColor"
|
|
1744
1744
|
}), (0, import_jsx_runtime$30.jsx)("span", {
|
|
1745
|
-
className: clsx_default("text-5xl font-medium text-foreground-
|
|
1745
|
+
className: clsx_default("text-5xl font-medium text-foreground-500", !isNicknameLonger && "truncate"),
|
|
1746
1746
|
children: reply.reply_to_username
|
|
1747
1747
|
})]
|
|
1748
1748
|
})
|
|
@@ -1830,10 +1830,10 @@ var init_Comment$3 = __esmMin(() => {
|
|
|
1830
1830
|
className: "flex flex-col pb-4 pl-4 min-w-0",
|
|
1831
1831
|
children: [
|
|
1832
1832
|
(0, import_jsx_runtime$30.jsxs)("div", {
|
|
1833
|
-
className: "flex flex-wrap gap-4 items-center mb-3 text-5xl select-text
|
|
1833
|
+
className: "flex flex-wrap gap-4 items-center mb-3 text-5xl select-text min-h-35 content-center",
|
|
1834
1834
|
children: [
|
|
1835
1835
|
(0, import_jsx_runtime$30.jsx)("span", {
|
|
1836
|
-
className: "font-medium",
|
|
1836
|
+
className: "font-medium text-foreground-500",
|
|
1837
1837
|
children: props.nickname
|
|
1838
1838
|
}),
|
|
1839
1839
|
props.label_type === 1 && (0, import_jsx_runtime$30.jsx)("div", {
|
|
@@ -3634,7 +3634,7 @@ var init_videoInfo$1 = __esmMin(() => {
|
|
|
3634
3634
|
className: "w-full h-full object-cover scale-150 blur-[120px] saturate-[1.8] opacity-50"
|
|
3635
3635
|
}), (0, import_jsx_runtime$22.jsx)("div", { className: "absolute inset-0 bg-black/50" })]
|
|
3636
3636
|
}), (0, import_jsx_runtime$22.jsx)("div", {
|
|
3637
|
-
className: "relative w-full overflow-hidden text-white
|
|
3637
|
+
className: "relative w-full overflow-hidden text-white",
|
|
3638
3638
|
children: (0, import_jsx_runtime$22.jsxs)("div", {
|
|
3639
3639
|
className: "relative z-10",
|
|
3640
3640
|
children: [
|
|
@@ -3692,7 +3692,7 @@ var init_videoInfo$1 = __esmMin(() => {
|
|
|
3692
3692
|
children: [(0, import_jsx_runtime$22.jsxs)("div", {
|
|
3693
3693
|
className: "flex items-center justify-between mb-10",
|
|
3694
3694
|
children: [duration ? (0, import_jsx_runtime$22.jsx)("div", {
|
|
3695
|
-
className: "px-6 py-4 rounded-2xl bg-white/20 backdrop-blur-2xl border border-white/30 shadow-lg text-white text-3xl
|
|
3695
|
+
className: "px-6 py-4 rounded-2xl bg-white/20 backdrop-blur-2xl border border-white/30 shadow-lg text-white text-3xl tracking-wider",
|
|
3696
3696
|
children: duration
|
|
3697
3697
|
}) : (0, import_jsx_runtime$22.jsx)("div", {}), props.data.music && (0, import_jsx_runtime$22.jsxs)("div", {
|
|
3698
3698
|
className: "flex items-center gap-6 p-4 rounded-3xl bg-white/20 backdrop-blur-2xl border border-white/30 shadow-lg overflow-hidden",
|
|
@@ -3734,7 +3734,7 @@ var init_videoInfo$1 = __esmMin(() => {
|
|
|
3734
3734
|
className: "text-white/60",
|
|
3735
3735
|
children: icon
|
|
3736
3736
|
}), (0, import_jsx_runtime$22.jsx)("span", {
|
|
3737
|
-
className: "text-4xl
|
|
3737
|
+
className: "text-4xl text-white/90 tabular-nums whitespace-nowrap",
|
|
3738
3738
|
children: formatNumber$3(value)
|
|
3739
3739
|
})]
|
|
3740
3740
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./rolldown-runtime-BMXAG3ag.js";
|
|
2
|
-
import "./vendor-
|
|
3
|
-
import { r as reactServerRender, t as template_default } from "./template-
|
|
2
|
+
import "./vendor-CZcAPGm1.js";
|
|
3
|
+
import { r as reactServerRender, t as template_default } from "./template-BMkKJo_s.js";
|
|
4
4
|
export { template_default as default, reactServerRender };
|