typerighter 0.30.3 → 0.30.4
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/{app-gH0dpuch.js → app-wLTpP3BP.js} +17 -17
- package/dist/{cli-BFgBPypP.js → cli-DFeDkMZb.js} +5 -5
- package/dist/cli.js +1 -1
- package/dist/client/theme-default.js +876 -875
- package/dist/client.js +1 -1
- package/dist/index.js +2 -2
- package/dist/{init-EKDV1L4U.js → init-4ZHUVwp-.js} +3 -3
- package/dist/shared/types/ssg.d.ts +3 -0
- package/dist/shared/types/ssg.d.ts.map +1 -1
- package/dist/shared/utils/html.d.ts +1 -0
- package/dist/shared/utils/html.d.ts.map +1 -1
- package/dist/{shared-BuA2cqMO.js → shared-B-n46X4N.js} +86 -82
- package/dist/shared.js +2 -2
- package/dist/typerighter.css +1 -1
- package/dist/{vite-CYozrIIG.js → vite-vMuZ0f3f.js} +111 -110
- package/dist/vite.js +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e, C as t, M as n, S as r, i } from "./shared-B-n46X4N.js";
|
|
2
2
|
import { t as a } from "./es-ClqUVRJn.js";
|
|
3
3
|
import { Fragment as o, computed as s, createApp as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, h, inject as g, markRaw as _, mergeProps as v, nextTick as y, openBlock as b, provide as ee, reactive as te, readonly as ne, ref as x, renderList as S, renderSlot as re, resolveDynamicComponent as ie, shallowRef as ae, toDisplayString as C, unref as w, vModelText as oe, watch as se, withDirectives as ce, withKeys as T, withModifiers as E } from "vue";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@lucide+vue@1.39.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/utils/isEmptyString.mjs
|
|
@@ -1795,14 +1795,14 @@ var me = ({ name: e, iconNode: t, "icon-node": n, absoluteStrokeWidth: r, "absol
|
|
|
1795
1795
|
key: "1v7up4"
|
|
1796
1796
|
}]]), An = ["href"], jn = ["href"], Mn = { class: "td-dir-name" }, Nn = { class: "td-dir-count" }, Pn = ["href"], Fn = { class: "td-dir-name" }, In = /*@__PURE__*/ m({
|
|
1797
1797
|
__name: "TdDirectoryIndex",
|
|
1798
|
-
setup(
|
|
1799
|
-
let n = K(),
|
|
1800
|
-
let
|
|
1798
|
+
setup(e) {
|
|
1799
|
+
let n = K(), i = $(), { withBase: a } = Q(), c = s(() => {
|
|
1800
|
+
let e = t(n.path);
|
|
1801
1801
|
return {
|
|
1802
|
-
url:
|
|
1803
|
-
entries:
|
|
1802
|
+
url: e,
|
|
1803
|
+
entries: i.value.directoryListings[e]?.entries ?? []
|
|
1804
1804
|
};
|
|
1805
|
-
}), l = s(() => c.value.url === "/"), m = s(() => a(
|
|
1805
|
+
}), l = s(() => c.value.url === "/"), m = s(() => a(r(t(c.value.url))));
|
|
1806
1806
|
return (e, t) => (b(), d("div", null, [l.value ? u("", !0) : (b(), d("a", {
|
|
1807
1807
|
key: 0,
|
|
1808
1808
|
href: m.value,
|
|
@@ -1913,12 +1913,12 @@ var me = ({ name: e, iconNode: t, "icon-node": n, absoluteStrokeWidth: r, "absol
|
|
|
1913
1913
|
}
|
|
1914
1914
|
},
|
|
1915
1915
|
setup(e) {
|
|
1916
|
-
return (
|
|
1916
|
+
return (t, n) => (b(), d("a", {
|
|
1917
1917
|
href: e.href,
|
|
1918
1918
|
class: "td-glossary-row"
|
|
1919
1919
|
}, [
|
|
1920
1920
|
f("span", Kn, C(e.item.name), 1),
|
|
1921
|
-
e.item.mtime ? (b(), d("span", qn, C(w(
|
|
1921
|
+
e.item.mtime ? (b(), d("span", qn, C(w(i)(e.item.mtime)), 1)) : u("", !0),
|
|
1922
1922
|
e.item.description ? (b(), d("span", Jn, C(e.item.description), 1)) : (b(), d("span", Yn, "No description yet")),
|
|
1923
1923
|
e.showTags && e.item.tags && e.item.tags.length > 0 ? (b(), d("span", Xn, [(b(!0), d(o, null, S(e.item.tags, (e) => (b(), d("span", {
|
|
1924
1924
|
key: e,
|
|
@@ -1938,9 +1938,9 @@ var me = ({ name: e, iconNode: t, "icon-node": n, absoluteStrokeWidth: r, "absol
|
|
|
1938
1938
|
}, ir = { class: "td-glossary-letter-row" }, ar = { class: "td-glossary-letter" }, or = ["href"], sr = { key: 1 }, cr = { class: "td-glossary-letter-row" }, lr = { class: "td-glossary-letter" }, ur = { class: "td-glossary-letter-count" }, z = /*#__PURE__*/ I(/* @__PURE__ */ m({
|
|
1939
1939
|
__name: "TdGlossaryIndex",
|
|
1940
1940
|
props: { mode: { default: "informative" } },
|
|
1941
|
-
setup(
|
|
1941
|
+
setup(e) {
|
|
1942
1942
|
let n = K(), r = $(), { withBase: i } = Q(), c = x(""), u = s(() => {
|
|
1943
|
-
let
|
|
1943
|
+
let e = t(n.path), i = r.value.directoryListings[e];
|
|
1944
1944
|
return i ? i.entries.filter((e) => e.kind === "file").map((e) => e.item) : [];
|
|
1945
1945
|
}), m = s(() => u.value.length), h = s(() => {
|
|
1946
1946
|
let e = /* @__PURE__ */ new Map();
|
|
@@ -1986,7 +1986,7 @@ var me = ({ name: e, iconNode: t, "icon-node": n, absoluteStrokeWidth: r, "absol
|
|
|
1986
1986
|
items: t
|
|
1987
1987
|
}));
|
|
1988
1988
|
}
|
|
1989
|
-
return (
|
|
1989
|
+
return (t, n) => (b(), d("div", null, [f("div", Zn, [p(w(M), {
|
|
1990
1990
|
size: 14,
|
|
1991
1991
|
class: "td-glossary-filter-icon"
|
|
1992
1992
|
}), ce(f("input", {
|
|
@@ -1994,7 +1994,7 @@ var me = ({ name: e, iconNode: t, "icon-node": n, absoluteStrokeWidth: r, "absol
|
|
|
1994
1994
|
type: "text",
|
|
1995
1995
|
class: "td-glossary-filter-input",
|
|
1996
1996
|
placeholder: `Filter ${m.value} entries`
|
|
1997
|
-
}, null, 8, Qn), [[oe, c.value]])]), _.value ? (b(), d(o, { key: 0 }, [v.value.length === 0 ? (b(), d("div", $n, " No entries matching \"" + C(c.value.trim()) + "\" ", 1)) :
|
|
1997
|
+
}, null, 8, Qn), [[oe, c.value]])]), _.value ? (b(), d(o, { key: 0 }, [v.value.length === 0 ? (b(), d("div", $n, " No entries matching \"" + C(c.value.trim()) + "\" ", 1)) : e.mode === "dense" ? (b(), d("div", er, [(b(!0), d(o, null, S(v.value, (e) => (b(), d("a", {
|
|
1998
1998
|
key: e.url,
|
|
1999
1999
|
href: w(i)(e.url),
|
|
2000
2000
|
class: "td-glossary-dense-link"
|
|
@@ -2002,7 +2002,7 @@ var me = ({ name: e, iconNode: t, "icon-node": n, absoluteStrokeWidth: r, "absol
|
|
|
2002
2002
|
key: e.url,
|
|
2003
2003
|
item: e,
|
|
2004
2004
|
href: w(i)(e.url)
|
|
2005
|
-
}, null, 8, ["item", "href"]))), 128))]))], 64)) : (b(), d(o, { key: 1 }, [
|
|
2005
|
+
}, null, 8, ["item", "href"]))), 128))]))], 64)) : (b(), d(o, { key: 1 }, [e.mode === "dense" ? (b(), d("div", rr, [(b(!0), d(o, null, S(y.value, (e) => (b(), d("div", {
|
|
2006
2006
|
key: e.letter,
|
|
2007
2007
|
class: "td-glossary-dense-group"
|
|
2008
2008
|
}, [f("div", ir, [f("span", ar, C(e.letter), 1), n[1] ||= f("span", { class: "td-glossary-letter-line" }, null, -1)]), (b(!0), d(o, null, S(e.items, (e) => (b(), d("a", {
|
|
@@ -2246,9 +2246,9 @@ function mr(e, t, { replace: n = !1 } = {}) {
|
|
|
2246
2246
|
let a = new URL(e, location.origin), o = new URL(r, location.origin);
|
|
2247
2247
|
return a.pathname !== o.pathname || (G(a.hash), !1);
|
|
2248
2248
|
}
|
|
2249
|
-
function q(
|
|
2250
|
-
let
|
|
2251
|
-
return
|
|
2249
|
+
function q(t, n) {
|
|
2250
|
+
let r = new URL(t, "http://a.com"), i = r.pathname.replace(/\.html$/, "");
|
|
2251
|
+
return n && n !== "/" && (i === n || i.startsWith(n + "/")) && (i = i.slice(n.length) || "/"), r.pathname = e(i), r.pathname + r.search + r.hash;
|
|
2252
2252
|
}
|
|
2253
2253
|
//#endregion
|
|
2254
2254
|
//#region src/client/app/components/Content.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, i as t, t as n } from "./vite-
|
|
1
|
+
import { a as e, i as t, t as n } from "./vite-vMuZ0f3f.js";
|
|
2
2
|
import r from "node:path";
|
|
3
3
|
import i from "picocolors";
|
|
4
4
|
import { createServer as a } from "vite";
|
|
@@ -362,7 +362,7 @@ function k() {
|
|
|
362
362
|
}), process.on("unhandledRejection", (e) => {
|
|
363
363
|
A("runtime", e instanceof Error ? e : Error(String(e)));
|
|
364
364
|
}), i.command("[root]", "Start dev server").alias("dev").option("--port <port>", "Port to listen on").option("--host", "Expose to network").option("--verbose", "Print version and build info").action(async (e, t) => {
|
|
365
|
-
t.verbose && console.log(`${O} cli v0.30.
|
|
365
|
+
t.verbose && console.log(`${O} cli v0.30.4 (built 9/12/2026, 5:42:14 AM)\n`);
|
|
366
366
|
let r = await a({
|
|
367
367
|
root: M(e),
|
|
368
368
|
configFile: !1,
|
|
@@ -385,7 +385,7 @@ function k() {
|
|
|
385
385
|
i.dispose();
|
|
386
386
|
}
|
|
387
387
|
}), i.command("init [root]", "Scaffold a new project").option("--name <name>", "Project name").option("--title <title>", "Site title").option("--description <description>", "Site description").option("--yes", "Skip confirmation for existing projects").action(async (e, t) => {
|
|
388
|
-
let { initialize: n } = await import("./init-
|
|
388
|
+
let { initialize: n } = await import("./init-4ZHUVwp-.js");
|
|
389
389
|
await n(M(e), t);
|
|
390
390
|
}), i.command("preview [root]", "Preview production build").option("--port <port>", "Port to listen on").action(async (e, n) => {
|
|
391
391
|
let r = M(e), i = t(r);
|
|
@@ -423,7 +423,7 @@ function k() {
|
|
|
423
423
|
} finally {
|
|
424
424
|
i.dispose();
|
|
425
425
|
}
|
|
426
|
-
}), i.help(), i.version("0.30.
|
|
426
|
+
}), i.help(), i.version("0.30.4"), i.parse();
|
|
427
427
|
}
|
|
428
428
|
function A(e, t) {
|
|
429
429
|
let n = t instanceof Error ? t.message : String(t);
|
|
@@ -431,7 +431,7 @@ function A(e, t) {
|
|
|
431
431
|
}
|
|
432
432
|
async function j(e) {
|
|
433
433
|
let t = await (await e.getTdContext()).rpc.getVersion();
|
|
434
|
-
console.log(`${O} cli v0.30.
|
|
434
|
+
console.log(`${O} cli v0.30.4 (built 9/12/2026, 5:42:14 AM)`), console.log(`${O} rpc v${t}`), console.log("");
|
|
435
435
|
}
|
|
436
436
|
function M(e) {
|
|
437
437
|
return r.resolve(e ?? process.cwd());
|
package/dist/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./cli-
|
|
1
|
+
import { t as e } from "./cli-DFeDkMZb.js";
|
|
2
2
|
export { e as cli };
|