@nimtech/nimpress 2.7.0 → 2.7.1
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/cli.es.js +1 -1
- package/dist/nimpress.es.js +1 -1
- package/dist/{plugin-C8OdcVeq.js → plugin-BZgsCxCz.js} +251 -250
- package/dist/plugin.es.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cli.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as B, c as Me, r as Ie, s as Zt, p as Vt, a as rt, b as pe, e as Kt, f as Yt, g as _e, h as it, i as Qt, j as at, k as Xt, l as qt, m as es, C as ge, n as ts, o as Le, q as He, w as me, t as ct, u as ss, v as ns, x as we, y as os, z as rs, A as is, B as as, D as cs, E as Ue, F as ls, G as us } from "./plugin-
|
|
1
|
+
import { d as B, c as Me, r as Ie, s as Zt, p as Vt, a as rt, b as pe, e as Kt, f as Yt, g as _e, h as it, i as Qt, j as at, k as Xt, l as qt, m as es, C as ge, n as ts, o as Le, q as He, w as me, t as ct, u as ss, v as ns, x as we, y as os, z as rs, A as is, B as as, D as cs, E as Ue, F as ls, G as us } from "./plugin-BZgsCxCz.js";
|
|
2
2
|
import { join as d, dirname as N, relative as E, sep as L, extname as fe, resolve as x, basename as D } from "node:path";
|
|
3
3
|
import { readdirSync as ae, existsSync as b, writeFileSync as W, mkdirSync as J, rmSync as te, readFileSync as C, statSync as lt, watch as Ze, openSync as ps } from "node:fs";
|
|
4
4
|
import ue from "gray-matter";
|
package/dist/nimpress.es.js
CHANGED
|
@@ -7052,7 +7052,7 @@ function qs(n, t) {
|
|
|
7052
7052
|
e.append(n, u), e.pop(), o();
|
|
7053
7053
|
}
|
|
7054
7054
|
e.delegate(["click"]);
|
|
7055
|
-
var jp = e.from_html('<img class="svelte-g2tt2d"/>'), Ap = e.from_html('<button><svg class="np-menu-icon" viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="3"></rect><path class="np-menu-fill svelte-g2tt2d" d="M9 3H6a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h3z" fill="currentColor" stroke="none"></path><path class="np-menu-pane" d="M9 3v18"></path><path class="np-menu-chevron svelte-g2tt2d" d="M16.5 9 13.5 12l3 3"></path></svg></button>'), Tp = e.from_svg('<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="4"></circle><path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"></path></svg>'), Lp = e.from_svg('<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"></path></svg>'), Op = e.from_html('<a class="np-icon-btn svelte-g2tt2d" target="_blank" rel="noopener" aria-label="GitHub"><svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.4 3-.405 1.02.005 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a>'), Rp = e.from_html('<header class="np-header svelte-g2tt2d"><div class="np-header-lead svelte-g2tt2d"><a class="np-brand svelte-g2tt2d"><!> <span> </span></a> <!> <div class="np-crumbs-slot svelte-g2tt2d"><!></div></div> <div class="np-actions svelte-g2tt2d"><div class="np-header-dropdowns svelte-g2tt2d"><!></div> <button class="np-search-trigger svelte-g2tt2d"><svg class="np-search-icon svelte-g2tt2d" viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="7"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg> <span class="np-search-label svelte-g2tt2d">Search</span> <kbd class="svelte-g2tt2d">⌘K</kbd></button> <!> <button class="np-icon-btn np-mode-toggle np-tip svelte-g2tt2d"><!></button> <!> <!></div></header>');
|
|
7055
|
+
var jp = e.from_html('<img class="svelte-g2tt2d"/>'), Ap = e.from_html('<button><svg class="np-menu-icon" viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="3"></rect><path class="np-menu-fill svelte-g2tt2d" d="M9 3H6a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h3z" fill="currentColor" stroke="none"></path><path class="np-menu-pane" d="M9 3v18"></path><path class="np-menu-chevron svelte-g2tt2d" d="M16.5 9 13.5 12l3 3"></path></svg></button>'), Tp = e.from_svg('<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="4"></circle><path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"></path></svg>'), Lp = e.from_svg('<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"></path></svg>'), Op = e.from_html('<a class="np-icon-btn svelte-g2tt2d" target="_blank" rel="noopener" aria-label="GitHub"><svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.4 3-.405 1.02.005 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a>'), Rp = e.from_html('<header class="np-header svelte-g2tt2d"><div class="np-header-lead svelte-g2tt2d"><a class="np-brand svelte-g2tt2d"><!> <span class="svelte-g2tt2d"> </span></a> <!> <div class="np-crumbs-slot svelte-g2tt2d"><!></div></div> <div class="np-actions svelte-g2tt2d"><div class="np-header-dropdowns svelte-g2tt2d"><!></div> <button class="np-search-trigger svelte-g2tt2d"><svg class="np-search-icon svelte-g2tt2d" viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="7"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg> <span class="np-search-label svelte-g2tt2d">Search</span> <kbd class="svelte-g2tt2d">⌘K</kbd></button> <!> <button class="np-icon-btn np-mode-toggle np-tip svelte-g2tt2d"><!></button> <!> <!></div></header>');
|
|
7056
7056
|
function Pp(n, t) {
|
|
7057
7057
|
e.push(t, !0);
|
|
7058
7058
|
const r = () => e.store_get(Kt, "$configStore", o), a = () => e.store_get(Qn, "$theme", o), s = () => e.store_get(En, "$resolvedRoute", o), [o, i] = e.setup_stores(), l = tt("AccountMenu", cp), d = tt("Breadcrumbs", fp), p = tt("ThemeMenu", bp), v = tt("DropdownMenu", qs);
|