@webx-ui/module-admin 0.18.0 → 0.18.2
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/ScreenHead.d.ts +6 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +292 -285
- package/dist/index.js.map +1 -1
- package/dist/keys.d.ts +10 -0
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/ScreenHead.d.ts
CHANGED
|
@@ -38,8 +38,12 @@ type __VLS_Props = {
|
|
|
38
38
|
* The way out of the screen. A route draws a link; `true` draws the same arrow and emits
|
|
39
39
|
* `back` instead, which is what a pane inside `WxListDetail` needs — on a phone the drawer
|
|
40
40
|
* carries no close of its own and the pane has to bring one (CLAUDE.md §4).
|
|
41
|
+
*
|
|
42
|
+
* `string` and `object` are spelled out beside `RouteLocationRaw` for the compiler: it
|
|
43
|
+
* cannot resolve the router's type, drops it and leaves `Boolean` alone as the runtime
|
|
44
|
+
* type, so every editor passing its list's path warned "Expected Boolean, got String".
|
|
41
45
|
*/
|
|
42
|
-
back?: RouteLocationRaw | boolean;
|
|
46
|
+
back?: RouteLocationRaw | string | object | boolean;
|
|
43
47
|
/** What the arrow's tooltip says. The panel's own word for it when not given. */
|
|
44
48
|
backLabel?: string;
|
|
45
49
|
/** `2` for a screen, `3` for a pane standing inside one. */
|
|
@@ -95,7 +99,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
95
99
|
title: string;
|
|
96
100
|
actions: ScreenAction[];
|
|
97
101
|
subtitle: string;
|
|
98
|
-
back: RouteLocationRaw | boolean;
|
|
102
|
+
back: RouteLocationRaw | string | object | boolean;
|
|
99
103
|
backLabel: string;
|
|
100
104
|
level: HeadingLevel;
|
|
101
105
|
collapseBelow: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { adminMessages } from './messages';
|
|
|
6
6
|
export { renderMarkdown } from './markdown';
|
|
7
7
|
export { createDates, useDates, type DateLike, type Dates } from './dates';
|
|
8
8
|
export { errorText, useErrorText } from './errors';
|
|
9
|
+
export { useBodyKeys } from './keys';
|
|
9
10
|
export { createNotesApi, type EntityNote, type NoteAuthor, type NotesApi } from './notes';
|
|
10
11
|
export { createLinksApi, emptyLink, type LinkCandidate, type LinkRel, type LinkSourceInfo, type LinkTarget, type LinkValue, type LinksApi, type ResolvedLink, } from './links';
|
|
11
12
|
export { createHttp, readCookie, HttpError, type Http, type HttpOptions, type RequestOptions, } from './http';
|