element-book 25.2.0 → 25.3.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/data/book-entry/base-book-entry.d.ts +1 -1
- package/dist/data/book-entry/book-entry.d.ts +3 -3
- package/dist/data/book-entry/book-page/book-page-controls.d.ts +1 -1
- package/dist/data/book-entry/book-page/book-page.d.ts +6 -6
- package/dist/data/book-entry/book-page/controls-wrapper.d.ts +3 -3
- package/dist/data/book-entry/book-page/define-book-page.d.ts +7 -7
- package/dist/data/book-entry/book-root.d.ts +3 -3
- package/dist/data/book-entry/url-breadcrumbs.d.ts +1 -1
- package/dist/data/book-entry/verify-book-entry.d.ts +1 -1
- package/dist/data/book-tree/book-tree-node.d.ts +3 -3
- package/dist/data/book-tree/book-tree.d.ts +2 -2
- package/dist/data/book-tree/search-nodes.d.ts +1 -1
- package/dist/data/book-tree/tree-cache.d.ts +2 -2
- package/dist/routing/book-router.d.ts +1 -1
- package/dist/routing/book-routing.d.ts +1 -1
- package/dist/ui/color-theme/color-theme.d.ts +1 -1
- package/dist/ui/color-theme/create-color-theme.d.ts +2 -2
- package/dist/ui/elements/book-breadcrumbs.element.d.ts +2 -2
- package/dist/ui/elements/book-nav/book-nav-filter.d.ts +1 -1
- package/dist/ui/elements/book-nav/book-nav.element.d.ts +2 -2
- package/dist/ui/elements/common/book-route-link.element.d.ts +2 -2
- package/dist/ui/elements/element-book-app/element-book-app.element.d.ts +6 -6
- package/dist/ui/elements/element-book-app/element-book-app.element.js +1 -1
- package/dist/ui/elements/element-book-app/element-book-config.d.ts +5 -5
- package/dist/ui/elements/element-book-app/get-current-nodes.d.ts +2 -2
- package/dist/ui/elements/entry-display/book-breadcrumbs-bar.element.d.ts +2 -2
- package/dist/ui/elements/entry-display/book-breadcrumbs-bar.element.js +1 -1
- package/dist/ui/elements/entry-display/book-page/book-page-controls.element.d.ts +2 -2
- package/dist/ui/elements/entry-display/book-page/book-page-wrapper.element.d.ts +4 -4
- package/dist/ui/elements/entry-display/element-example/book-element-example-controls.element.d.ts +3 -3
- package/dist/ui/elements/entry-display/element-example/book-element-example-viewer.element.d.ts +3 -3
- package/dist/ui/elements/entry-display/element-example/book-element-example-wrapper.element.d.ts +4 -4
- package/dist/ui/elements/entry-display/entry-display/book-entry-display.element.d.ts +5 -5
- package/dist/ui/elements/entry-display/entry-display/create-node-templates.d.ts +4 -4
- package/package.json +12 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BookEntryType } from './book-entry-type.js';
|
|
2
|
-
import { BookElementExample, BookPage } from './book-page/book-page.js';
|
|
3
|
-
import { BookRoot } from './book-root.js';
|
|
1
|
+
import { type BookEntryType } from './book-entry-type.js';
|
|
2
|
+
import { type BookElementExample, type BookPage } from './book-page/book-page.js';
|
|
3
|
+
import { type BookRoot } from './book-root.js';
|
|
4
4
|
/**
|
|
5
5
|
* All possible book entries.
|
|
6
6
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Overwrite, SetOptionalAndNullable } from '@augment-vir/common';
|
|
2
|
-
import { CSSResult, HtmlInterpolation, PropertyInitMapBase, RenderParams, TypedEvent } from 'element-vir';
|
|
3
|
-
import { GlobalValues } from '../../../ui/elements/element-book-app/global-values.js';
|
|
4
|
-
import { BaseBookEntry } from '../base-book-entry.js';
|
|
5
|
-
import { BookEntryType } from '../book-entry-type.js';
|
|
6
|
-
import { BookPageControlsInitBase, ControlsToValues } from './book-page-controls.js';
|
|
1
|
+
import { type Overwrite, type SetOptionalAndNullable } from '@augment-vir/common';
|
|
2
|
+
import { type CSSResult, type HtmlInterpolation, type PropertyInitMapBase, type RenderParams, type TypedEvent } from 'element-vir';
|
|
3
|
+
import { type GlobalValues } from '../../../ui/elements/element-book-app/global-values.js';
|
|
4
|
+
import { type BaseBookEntry } from '../base-book-entry.js';
|
|
5
|
+
import { type BookEntryType } from '../book-entry-type.js';
|
|
6
|
+
import { type BookPageControlsInitBase, type ControlsToValues } from './book-page-controls.js';
|
|
7
7
|
/**
|
|
8
8
|
* An individual element-book page.
|
|
9
9
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PartialWithUndefined } from '@augment-vir/common';
|
|
2
|
-
import { BookTreeNode } from '../../book-tree/book-tree-node.js';
|
|
3
|
-
import { BookPageControlsValues } from './book-page-controls.js';
|
|
1
|
+
import { type PartialWithUndefined } from '@augment-vir/common';
|
|
2
|
+
import { type BookTreeNode } from '../../book-tree/book-tree-node.js';
|
|
3
|
+
import { type BookPageControlsValues } from './book-page-controls.js';
|
|
4
4
|
/**
|
|
5
5
|
* Nested page controls.
|
|
6
6
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SetOptionalAndNullable } from '@augment-vir/common';
|
|
2
|
-
import { PropertyInitMapBase } from 'element-vir';
|
|
3
|
-
import type
|
|
4
|
-
import { GlobalValues } from '../../../ui/elements/element-book-app/global-values.js';
|
|
5
|
-
import { InfiniteRecursionLimiter } from '../../../util/type.js';
|
|
6
|
-
import { BookPageControlsInitBase } from './book-page-controls.js';
|
|
7
|
-
import { BookElementExampleInit, BookPage } from './book-page.js';
|
|
1
|
+
import { type SetOptionalAndNullable } from '@augment-vir/common';
|
|
2
|
+
import { type PropertyInitMapBase } from 'element-vir';
|
|
3
|
+
import { type EmptyObject } from 'type-fest';
|
|
4
|
+
import { type GlobalValues } from '../../../ui/elements/element-book-app/global-values.js';
|
|
5
|
+
import { type InfiniteRecursionLimiter } from '../../../util/type.js';
|
|
6
|
+
import { type BookPageControlsInitBase } from './book-page-controls.js';
|
|
7
|
+
import { type BookElementExampleInit, type BookPage } from './book-page.js';
|
|
8
8
|
/**
|
|
9
9
|
* The callback type for a book page definition's `defineExample` callback.
|
|
10
10
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Overwrite } from '@augment-vir/common';
|
|
2
|
-
import { BaseBookEntry } from './base-book-entry.js';
|
|
3
|
-
import { BookEntryType } from './book-entry-type.js';
|
|
1
|
+
import { type Overwrite } from '@augment-vir/common';
|
|
2
|
+
import { type BaseBookEntry } from './base-book-entry.js';
|
|
3
|
+
import { type BookEntryType } from './book-entry-type.js';
|
|
4
4
|
/**
|
|
5
5
|
* The root of a book tree.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Values } from '@augment-vir/common';
|
|
2
|
-
import { AnyBookEntryType, BookEntryType } from '../book-entry/book-entry-type.js';
|
|
3
|
-
import { BookEntry } from '../book-entry/book-entry.js';
|
|
1
|
+
import { type Values } from '@augment-vir/common';
|
|
2
|
+
import { type AnyBookEntryType, type BookEntryType } from '../book-entry/book-entry-type.js';
|
|
3
|
+
import { type BookEntry } from '../book-entry/book-entry.js';
|
|
4
4
|
/**
|
|
5
5
|
* Property used to mark tree nodes.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BookEntryType } from '../book-entry/book-entry-type.js';
|
|
2
|
-
import { BookEntry } from '../book-entry/book-entry.js';
|
|
3
|
-
import { BookTree, BookTreeNode } from './book-tree-node.js';
|
|
2
|
+
import { type BookEntry } from '../book-entry/book-entry.js';
|
|
3
|
+
import { type BookTree, type BookTreeNode } from './book-tree-node.js';
|
|
4
4
|
export declare function doesNodeHaveEntryType<const EntryType extends BookEntryType>(node: unknown, entryType: EntryType): node is BookTreeNode<EntryType>;
|
|
5
5
|
export declare function isBookTreeNode<const SpecificType extends BookEntryType>(input: unknown, entryType: SpecificType): input is BookTreeNode<SpecificType>;
|
|
6
6
|
export declare function isAnyBookTreeNode(input: unknown): input is BookTreeNode<BookEntryType>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BookEntry } from '../book-entry/book-entry.js';
|
|
2
|
-
import { BookTree } from './book-tree-node.js';
|
|
1
|
+
import { type BookEntry } from '../book-entry/book-entry.js';
|
|
2
|
+
import { type BookTree } from './book-tree-node.js';
|
|
3
3
|
export declare function getTreeFromCache(entries: ReadonlyArray<BookEntry>): BookTree | undefined;
|
|
4
4
|
export declare function addTreeToCache(entries: ReadonlyArray<BookEntry>, tree: BookTree): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SpaRouter } from 'spa-router-vir';
|
|
2
|
-
import { ValidBookPaths } from './book-routing.js';
|
|
2
|
+
import { type ValidBookPaths } from './book-routing.js';
|
|
3
3
|
export declare function createBookRouter(basePath: string | undefined): SpaRouter<ValidBookPaths, undefined, undefined>;
|
|
4
4
|
export type BookRouter = ReturnType<typeof createBookRouter>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PartialWithUndefined } from '@augment-vir/common';
|
|
2
|
-
import { ColorTheme } from './color-theme.js';
|
|
1
|
+
import { type PartialWithUndefined } from '@augment-vir/common';
|
|
2
|
+
import { type ColorTheme } from './color-theme.js';
|
|
3
3
|
/**
|
|
4
4
|
* The default theme color.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BookRouter } from '../../routing/book-router.js';
|
|
2
|
-
import { BookFullRoute } from '../../routing/book-routing.js';
|
|
1
|
+
import { type BookRouter } from '../../routing/book-router.js';
|
|
2
|
+
import { type BookFullRoute } from '../../routing/book-routing.js';
|
|
3
3
|
export declare const BookBreadcrumbs: import("element-vir").DeclarativeElementDefinition<"book-breadcrumbs", {
|
|
4
4
|
currentRoute: Readonly<BookFullRoute>;
|
|
5
5
|
router: Readonly<BookRouter> | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BookTreeNode } from '../../../data/book-tree/book-tree-node.js';
|
|
1
|
+
import { type BookTreeNode } from '../../../data/book-tree/book-tree-node.js';
|
|
2
2
|
export declare function shouldShowTreeNodeInNav(currentNode: Readonly<BookTreeNode>, selectedPath: undefined | ReadonlyArray<string>): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BookTreeNode } from '../../../data/book-tree/book-tree-node.js';
|
|
2
|
-
import { BookRouter } from '../../../routing/book-router.js';
|
|
1
|
+
import { type BookTreeNode } from '../../../data/book-tree/book-tree-node.js';
|
|
2
|
+
import { type BookRouter } from '../../../routing/book-router.js';
|
|
3
3
|
export declare const BookNav: import("element-vir").DeclarativeElementDefinition<"book-nav", {
|
|
4
4
|
flattenedNodes: ReadonlyArray<Readonly<BookTreeNode>>;
|
|
5
5
|
selectedPath: ReadonlyArray<string> | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BookRouter } from '../../../routing/book-router.js';
|
|
2
|
-
import { BookFullRoute } from '../../../routing/book-routing.js';
|
|
1
|
+
import { type BookRouter } from '../../../routing/book-router.js';
|
|
2
|
+
import { type BookFullRoute } from '../../../routing/book-routing.js';
|
|
3
3
|
export declare const BookRouteLink: import("element-vir").DeclarativeElementDefinition<"book-route-link", {
|
|
4
4
|
route: Partial<BookFullRoute>;
|
|
5
5
|
router: Readonly<BookRouter> | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ControlsWrapper } from '../../../data/book-entry/book-page/controls-wrapper.js';
|
|
2
|
-
import { BookRouter } from '../../../routing/book-router.js';
|
|
3
|
-
import { ColorTheme } from '../../color-theme/color-theme.js';
|
|
4
|
-
import { ThemeConfig } from '../../color-theme/create-color-theme.js';
|
|
5
|
-
import { ElementBookConfig } from './element-book-config.js';
|
|
6
|
-
import { GlobalValues } from './global-values.js';
|
|
1
|
+
import { type ControlsWrapper } from '../../../data/book-entry/book-page/controls-wrapper.js';
|
|
2
|
+
import { type BookRouter } from '../../../routing/book-router.js';
|
|
3
|
+
import { type ColorTheme } from '../../color-theme/color-theme.js';
|
|
4
|
+
import { type ThemeConfig } from '../../color-theme/create-color-theme.js';
|
|
5
|
+
import { type ElementBookConfig } from './element-book-config.js';
|
|
6
|
+
import { type GlobalValues } from './global-values.js';
|
|
7
7
|
/**
|
|
8
8
|
* Current color theme state used inside of {@link ElementBookApp}.
|
|
9
9
|
*
|
|
@@ -7,7 +7,7 @@ import { createBookTreeFromEntries } from '../../../data/book-tree/book-tree.js'
|
|
|
7
7
|
import { searchFlattenedNodes } from '../../../data/book-tree/search-nodes.js';
|
|
8
8
|
import { createBookRouter } from '../../../routing/book-router.js';
|
|
9
9
|
import { defaultBookFullRoute, extractSearchQuery, } from '../../../routing/book-routing.js';
|
|
10
|
-
import { colorThemeCssVars, setThemeCssVars } from '../../color-theme/color-theme.js';
|
|
10
|
+
import { colorThemeCssVars, setThemeCssVars, } from '../../color-theme/color-theme.js';
|
|
11
11
|
import { createTheme } from '../../color-theme/create-color-theme.js';
|
|
12
12
|
import { ChangeRouteEvent } from '../../events/change-route.event.js';
|
|
13
13
|
import { BookNav, scrollSelectedNavElementIntoView } from '../book-nav/book-nav.element.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PartialWithUndefined } from '@augment-vir/common';
|
|
2
|
-
import { RequireExactlyOne } from 'type-fest';
|
|
3
|
-
import type
|
|
4
|
-
import { ValidBookPaths } from '../../../routing/book-routing.js';
|
|
5
|
-
import { GlobalValues } from './global-values.js';
|
|
1
|
+
import { type PartialWithUndefined } from '@augment-vir/common';
|
|
2
|
+
import { type RequireExactlyOne } from 'type-fest';
|
|
3
|
+
import { type BookPage } from '../../../data/book-entry/book-page/book-page.js';
|
|
4
|
+
import { type ValidBookPaths } from '../../../routing/book-routing.js';
|
|
5
|
+
import { type GlobalValues } from './global-values.js';
|
|
6
6
|
/**
|
|
7
7
|
* Full configuration for an element-book app.
|
|
8
8
|
*
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BookTreeNode } from '../../../data/book-tree/book-tree-node.js';
|
|
2
|
-
import { BookFullRoute, ValidBookPaths } from '../../../routing/book-routing.js';
|
|
1
|
+
import { type BookTreeNode } from '../../../data/book-tree/book-tree-node.js';
|
|
2
|
+
import { type BookFullRoute, type ValidBookPaths } from '../../../routing/book-routing.js';
|
|
3
3
|
export declare function getCurrentNodes(flattenedNodes: ReadonlyArray<Readonly<BookTreeNode>>, currentPaths: Readonly<ValidBookPaths>, updateRoutes: (newRoute: Partial<BookFullRoute>) => void): BookTreeNode[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BookRouter } from '../../../routing/book-router.js';
|
|
2
|
-
import { BookFullRoute } from '../../../routing/book-routing.js';
|
|
1
|
+
import { type BookRouter } from '../../../routing/book-router.js';
|
|
2
|
+
import { type BookFullRoute } from '../../../routing/book-routing.js';
|
|
3
3
|
export declare const BookBreadcrumbsBar: import("element-vir").DeclarativeElementDefinition<"book-breadcrumbs-bar", {
|
|
4
4
|
currentSearch: string;
|
|
5
5
|
currentRoute: Readonly<BookFullRoute>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { wait } from '@augment-vir/common';
|
|
2
2
|
import { css, html, listen, renderIf } from 'element-vir';
|
|
3
|
-
import { BookMainRoute, defaultBookFullRoute } from '../../../routing/book-routing.js';
|
|
3
|
+
import { BookMainRoute, defaultBookFullRoute, } from '../../../routing/book-routing.js';
|
|
4
4
|
import { colorThemeCssVars } from '../../color-theme/color-theme.js';
|
|
5
5
|
import { ChangeRouteEvent } from '../../events/change-route.event.js';
|
|
6
6
|
import { BookBreadcrumbs } from '../book-breadcrumbs.element.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BookPageControl, BookPageControlsValues } from '../../../../data/book-entry/book-page/book-page-controls.js';
|
|
2
|
-
import { BookPage } from '../../../../data/book-entry/book-page/book-page.js';
|
|
1
|
+
import { type BookPageControl, type BookPageControlsValues } from '../../../../data/book-entry/book-page/book-page-controls.js';
|
|
2
|
+
import { type BookPage } from '../../../../data/book-entry/book-page/book-page.js';
|
|
3
3
|
export declare const BookPageControls: import("element-vir").DeclarativeElementDefinition<"book-page-controls", {
|
|
4
4
|
config: BookPage["controls"];
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BookEntryType } from '../../../../data/book-entry/book-entry-type.js';
|
|
2
|
-
import { ControlsWrapper } from '../../../../data/book-entry/book-page/controls-wrapper.js';
|
|
3
|
-
import { BookTreeNode } from '../../../../data/book-tree/book-tree-node.js';
|
|
4
|
-
import { BookRouter } from '../../../../routing/book-router.js';
|
|
1
|
+
import { type BookEntryType } from '../../../../data/book-entry/book-entry-type.js';
|
|
2
|
+
import { type ControlsWrapper } from '../../../../data/book-entry/book-page/controls-wrapper.js';
|
|
3
|
+
import { type BookTreeNode } from '../../../../data/book-tree/book-tree-node.js';
|
|
4
|
+
import { type BookRouter } from '../../../../routing/book-router.js';
|
|
5
5
|
export declare const BookPageWrapper: import("element-vir").DeclarativeElementDefinition<"book-page-wrapper", {
|
|
6
6
|
isTopLevel: boolean;
|
|
7
7
|
pageNode: BookTreeNode<BookEntryType.Page>;
|
package/dist/ui/elements/entry-display/element-example/book-element-example-controls.element.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BookEntryType } from '../../../../data/book-entry/book-entry-type.js';
|
|
2
|
-
import { BookTreeNode } from '../../../../data/book-tree/book-tree-node.js';
|
|
3
|
-
import { BookRouter } from '../../../../routing/book-router.js';
|
|
1
|
+
import { type BookEntryType } from '../../../../data/book-entry/book-entry-type.js';
|
|
2
|
+
import { type BookTreeNode } from '../../../../data/book-tree/book-tree-node.js';
|
|
3
|
+
import { type BookRouter } from '../../../../routing/book-router.js';
|
|
4
4
|
export declare const BookElementExampleControls: import("element-vir").DeclarativeElementDefinition<"book-element-example-controls", {
|
|
5
5
|
elementExampleNode: BookTreeNode<BookEntryType.ElementExample>;
|
|
6
6
|
router: BookRouter | undefined;
|
package/dist/ui/elements/entry-display/element-example/book-element-example-viewer.element.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BookEntryType } from '../../../../data/book-entry/book-entry-type.js';
|
|
2
|
-
import { BookPageControlsValues } from '../../../../data/book-entry/book-page/book-page-controls.js';
|
|
3
|
-
import { BookTreeNode } from '../../../../data/book-tree/book-tree-node.js';
|
|
1
|
+
import { type BookEntryType } from '../../../../data/book-entry/book-entry-type.js';
|
|
2
|
+
import { type BookPageControlsValues } from '../../../../data/book-entry/book-page/book-page-controls.js';
|
|
3
|
+
import { type BookTreeNode } from '../../../../data/book-tree/book-tree-node.js';
|
|
4
4
|
export declare const BookElementExampleViewer: import("element-vir").DeclarativeElementDefinition<"book-element-example-viewer", {
|
|
5
5
|
elementExampleNode: BookTreeNode<BookEntryType.ElementExample>;
|
|
6
6
|
currentPageControls: BookPageControlsValues;
|
package/dist/ui/elements/entry-display/element-example/book-element-example-wrapper.element.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BookEntryType } from '../../../../data/book-entry/book-entry-type.js';
|
|
2
|
-
import { BookPageControlsValues } from '../../../../data/book-entry/book-page/book-page-controls.js';
|
|
3
|
-
import { BookTreeNode } from '../../../../data/book-tree/book-tree-node.js';
|
|
4
|
-
import { BookRouter } from '../../../../routing/book-router.js';
|
|
1
|
+
import { type BookEntryType } from '../../../../data/book-entry/book-entry-type.js';
|
|
2
|
+
import { type BookPageControlsValues } from '../../../../data/book-entry/book-page/book-page-controls.js';
|
|
3
|
+
import { type BookTreeNode } from '../../../../data/book-tree/book-tree-node.js';
|
|
4
|
+
import { type BookRouter } from '../../../../routing/book-router.js';
|
|
5
5
|
export declare const BookElementExampleWrapper: import("element-vir").DeclarativeElementDefinition<"book-element-example-wrapper", {
|
|
6
6
|
elementExampleNode: BookTreeNode<BookEntryType.ElementExample>;
|
|
7
7
|
currentPageControls: BookPageControlsValues;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BookEntryType } from '../../../../data/book-entry/book-entry-type.js';
|
|
2
|
-
import { ControlsWrapper } from '../../../../data/book-entry/book-page/controls-wrapper.js';
|
|
3
|
-
import { BookTreeNode } from '../../../../data/book-tree/book-tree-node.js';
|
|
4
|
-
import { BookRouter } from '../../../../routing/book-router.js';
|
|
5
|
-
import { BookFullRoute } from '../../../../routing/book-routing.js';
|
|
1
|
+
import { type BookEntryType } from '../../../../data/book-entry/book-entry-type.js';
|
|
2
|
+
import { type ControlsWrapper } from '../../../../data/book-entry/book-page/controls-wrapper.js';
|
|
3
|
+
import { type BookTreeNode } from '../../../../data/book-tree/book-tree-node.js';
|
|
4
|
+
import { type BookRouter } from '../../../../routing/book-router.js';
|
|
5
|
+
import { type BookFullRoute } from '../../../../routing/book-routing.js';
|
|
6
6
|
export declare const BookEntryDisplay: import("element-vir").DeclarativeElementDefinition<"book-entry-display", {
|
|
7
7
|
controls: ControlsWrapper;
|
|
8
8
|
currentNodes: ReadonlyArray<BookTreeNode>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { HtmlInterpolation } from 'element-vir';
|
|
1
|
+
import { type HtmlInterpolation } from 'element-vir';
|
|
2
2
|
import { BookEntryType } from '../../../../data/book-entry/book-entry-type.js';
|
|
3
|
-
import { ControlsWrapper } from '../../../../data/book-entry/book-page/controls-wrapper.js';
|
|
4
|
-
import { BookTreeNode } from '../../../../data/book-tree/book-tree-node.js';
|
|
5
|
-
import { BookRouter } from '../../../../routing/book-router.js';
|
|
3
|
+
import { type ControlsWrapper } from '../../../../data/book-entry/book-page/controls-wrapper.js';
|
|
4
|
+
import { type BookTreeNode } from '../../../../data/book-tree/book-tree-node.js';
|
|
5
|
+
import { type BookRouter } from '../../../../routing/book-router.js';
|
|
6
6
|
export declare function createNodeTemplates({ currentNodes, isTopLevel, router, isSearching, controls, originalTree, }: {
|
|
7
7
|
currentNodes: ReadonlyArray<BookTreeNode>;
|
|
8
8
|
isTopLevel: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "element-book",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.3.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"book",
|
|
6
6
|
"design system",
|
|
@@ -41,28 +41,28 @@
|
|
|
41
41
|
"test:docs": "virmator docs check"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@augment-vir/assert": "^31.
|
|
45
|
-
"@augment-vir/common": "^31.
|
|
46
|
-
"@augment-vir/web": "^31.
|
|
44
|
+
"@augment-vir/assert": "^31.18.0",
|
|
45
|
+
"@augment-vir/common": "^31.18.0",
|
|
46
|
+
"@augment-vir/web": "^31.18.0",
|
|
47
47
|
"colorjs.io": "0.5.2",
|
|
48
48
|
"lit-css-vars": "^3.0.11",
|
|
49
49
|
"spa-router-vir": "^5.3.1",
|
|
50
|
-
"typed-event-target": "^4.0.
|
|
51
|
-
"vira": "^25.
|
|
50
|
+
"typed-event-target": "^4.0.4",
|
|
51
|
+
"vira": "^25.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@augment-vir/test": "^31.
|
|
54
|
+
"@augment-vir/test": "^31.18.0",
|
|
55
55
|
"@web/dev-server-esbuild": "^1.0.4",
|
|
56
|
-
"@web/test-runner": "^0.20.
|
|
56
|
+
"@web/test-runner": "^0.20.1",
|
|
57
57
|
"@web/test-runner-commands": "^0.9.0",
|
|
58
58
|
"@web/test-runner-playwright": "^0.11.0",
|
|
59
59
|
"@web/test-runner-visual-regression": "^0.10.0",
|
|
60
|
-
"element-vir": "^25.
|
|
60
|
+
"element-vir": "^25.3.1",
|
|
61
61
|
"istanbul-smart-text-reporter": "^1.1.5",
|
|
62
62
|
"markdown-code-example-inserter": "^3.0.3",
|
|
63
|
-
"type-fest": "^4.
|
|
64
|
-
"typedoc": "^0.28.
|
|
65
|
-
"typescript": "5.8.
|
|
63
|
+
"type-fest": "^4.41.0",
|
|
64
|
+
"typedoc": "^0.28.4",
|
|
65
|
+
"typescript": "5.8.3"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"element-vir": ">=17"
|