@dirwell/theme-ledger 0.0.1-alpha → 0.0.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/README.md +33 -3
- package/dist/client.js +27 -28
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +627 -86
- package/dist/index.mjs.map +1 -1
- package/dist/model-B0qQsjRT.d.mts +165 -0
- package/dist/model.d.mts +1 -1
- package/dist/source/Ledger.svelte +423 -153
- package/dist/source/component.d.mts +1 -1
- package/dist/source/shared/customization.mjs +255 -0
- package/dist/source/shared/navigation.mjs +196 -2
- package/dist/source/shared/view-state.mjs +128 -0
- package/dist/styles.css +6 -0
- package/package.json +7 -3
- package/dist/model-K7UzS9YB.d.mts +0 -46
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ExplorerTheme, ListingEntry, ListingEntry as ListingEntry$1, ListingPage, SortOptions } from "@dirwell/core";
|
|
2
|
-
//#region ../shared-theme/src/page.d.ts
|
|
3
|
-
interface ThemePage$1 {
|
|
4
|
-
readonly version: 1;
|
|
5
|
-
readonly theme: string;
|
|
6
|
-
readonly title: string;
|
|
7
|
-
readonly metadataHead?: string;
|
|
8
|
-
readonly path: string;
|
|
9
|
-
readonly rootHref: string;
|
|
10
|
-
readonly parentHref: string | null;
|
|
11
|
-
readonly parentDataHref: string | null;
|
|
12
|
-
readonly rootDataHref: string;
|
|
13
|
-
readonly dataHref: string;
|
|
14
|
-
readonly manifestHref: string | null;
|
|
15
|
-
readonly listingRevision?: string;
|
|
16
|
-
readonly updatesHref: string | null;
|
|
17
|
-
readonly total: number;
|
|
18
|
-
readonly entries: readonly ListingEntry[];
|
|
19
|
-
readonly sort: Required<SortOptions>;
|
|
20
|
-
readonly page: ListingPage | null;
|
|
21
|
-
readonly breadcrumbs: readonly {
|
|
22
|
-
readonly name: string;
|
|
23
|
-
readonly href: string;
|
|
24
|
-
readonly dataHref: string;
|
|
25
|
-
}[];
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/model.d.ts
|
|
29
|
-
interface ThemePage extends ThemePage$1 {
|
|
30
|
-
readonly searchIndexHref?: string;
|
|
31
|
-
}
|
|
32
|
-
/** The authoring compiler supplies both halves from the same source. */
|
|
33
|
-
interface FrameworkRenderer {
|
|
34
|
-
readonly renderBody: (model: ThemePage) => string | Promise<string>;
|
|
35
|
-
readonly clientScript: string;
|
|
36
|
-
readonly styles?: string;
|
|
37
|
-
readonly clientType?: "module";
|
|
38
|
-
}
|
|
39
|
-
interface RowContext {
|
|
40
|
-
readonly model: ThemePage;
|
|
41
|
-
readonly entry: import("@dirwell/core").ListingEntry;
|
|
42
|
-
readonly selected: boolean;
|
|
43
|
-
}
|
|
44
|
-
//#endregion
|
|
45
|
-
export { ThemePage as i, ListingEntry$1 as n, RowContext as r, FrameworkRenderer as t };
|
|
46
|
-
//# sourceMappingURL=model-K7UzS9YB.d.mts.map
|