@webx-ui/module-admin 0.13.0 → 0.14.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/BackButton.d.ts +1 -1
- package/dist/HelpButton.d.ts +2 -2
- package/dist/LinkField.d.ts +21 -0
- package/dist/LinkPicker.d.ts +21 -0
- package/dist/RenameButton.d.ts +4 -4
- package/dist/RowMenu.d.ts +1 -1
- package/dist/Screen.d.ts +3 -3
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1162 -857
- package/dist/index.js.map +1 -1
- package/dist/links.d.ts +69 -0
- package/dist/screenTypes.d.ts +4 -0
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/BackButton.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ type __VLS_Props = {
|
|
|
19
19
|
size?: ActionSize;
|
|
20
20
|
};
|
|
21
21
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
|
-
label: string;
|
|
23
22
|
size: ActionSize;
|
|
23
|
+
label: string;
|
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
export default _default;
|
package/dist/HelpButton.d.ts
CHANGED
|
@@ -23,9 +23,9 @@ type __VLS_Props = {
|
|
|
23
23
|
width?: number | string;
|
|
24
24
|
};
|
|
25
25
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
|
-
label: string;
|
|
27
|
-
size: ActionSize;
|
|
28
26
|
title: string;
|
|
27
|
+
size: ActionSize;
|
|
28
|
+
label: string;
|
|
29
29
|
width: number | string;
|
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LinkValue } from './links';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** A link that goes nowhere is a choice on a menu item and noise on a button. */
|
|
4
|
+
allowNone?: boolean;
|
|
5
|
+
/** Off where the two attributes belong to whatever holds the link rather than to the field. */
|
|
6
|
+
attributes?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = {
|
|
10
|
+
modelValue?: LinkValue | null;
|
|
11
|
+
} & __VLS_Props;
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: LinkValue | null) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: LinkValue | null) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
allowNone: boolean;
|
|
18
|
+
attributes: boolean;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LinkValue } from './links';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Off where a link that goes nowhere makes no sense — a button, a card. */
|
|
4
|
+
allowNone?: boolean;
|
|
5
|
+
/** Off where the two attributes are somebody else's business, as in a menu item's own form. */
|
|
6
|
+
attributes?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = {
|
|
10
|
+
modelValue?: LinkValue | null;
|
|
11
|
+
} & __VLS_Props;
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: LinkValue | null) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: LinkValue | null) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
allowNone: boolean;
|
|
18
|
+
attributes: boolean;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
|
+
export default _default;
|
package/dist/RenameButton.d.ts
CHANGED
|
@@ -26,10 +26,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
26
26
|
onRename?: ((name: string) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
name: string;
|
|
29
|
-
label: string;
|
|
30
|
-
size: ActionSize;
|
|
31
29
|
disabled: boolean;
|
|
32
30
|
placeholder: string;
|
|
31
|
+
size: ActionSize;
|
|
32
|
+
label: string;
|
|
33
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
34
34
|
field: ({
|
|
35
35
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -68,7 +68,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
68
68
|
$root: import('vue').ComponentPublicInstance | null;
|
|
69
69
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
70
70
|
$host: Element | null;
|
|
71
|
-
$emit: ((event: "
|
|
71
|
+
$emit: ((event: "update:modelValue", value: import('@webx-ui/core').InputModelValue) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "change", value: string) => void) & ((event: "clear") => void);
|
|
72
72
|
$el: any;
|
|
73
73
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
74
74
|
modelValue?: import('@webx-ui/core').InputModelValue;
|
|
@@ -148,7 +148,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
148
148
|
onClear?: (() => any) | undefined;
|
|
149
149
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
150
150
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
151
|
-
}>, "
|
|
151
|
+
}>, "type" | "disabled" | "id" | "placeholder" | "clearable" | "size" | "status" | "ariaLabel" | "readonly" | "maxlength" | "showCount" | "autocomplete" | "localized" | "focus" | "blur" | "select" | "input"> & {
|
|
152
152
|
focus: () => void | undefined;
|
|
153
153
|
blur: () => void | undefined;
|
|
154
154
|
select: () => void | undefined;
|
package/dist/RowMenu.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
size?: ActionSize;
|
|
9
9
|
};
|
|
10
10
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
-
label: string;
|
|
12
11
|
size: ActionSize;
|
|
12
|
+
label: string;
|
|
13
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
export default _default;
|
package/dist/Screen.d.ts
CHANGED
|
@@ -24,14 +24,14 @@ type __VLS_PublicProps = {
|
|
|
24
24
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
25
25
|
reload: typeof load;
|
|
26
26
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
-
loaded: (root: ScreenNode[]) => any;
|
|
28
27
|
"update:modelValue": (value: ScreenModel) => any;
|
|
28
|
+
loaded: (root: ScreenNode[]) => any;
|
|
29
29
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
30
|
-
onLoaded?: ((root: ScreenNode[]) => any) | undefined;
|
|
31
30
|
"onUpdate:modelValue"?: ((value: ScreenModel) => any) | undefined;
|
|
31
|
+
onLoaded?: ((root: ScreenNode[]) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
|
-
size: "sm" | "md" | "lg";
|
|
34
33
|
disabled: boolean;
|
|
34
|
+
size: "sm" | "md" | "lg";
|
|
35
35
|
errors: Record<string, string[]>;
|
|
36
36
|
labelPosition: "top" | "left";
|
|
37
37
|
labelWidth: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { renderMarkdown } from './markdown';
|
|
|
7
7
|
export { createDates, useDates, type DateLike, type Dates } from './dates';
|
|
8
8
|
export { errorText, useErrorText } from './errors';
|
|
9
9
|
export { createNotesApi, type EntityNote, type NoteAuthor, type NotesApi } from './notes';
|
|
10
|
+
export { createLinksApi, emptyLink, type LinkCandidate, type LinkRel, type LinkSourceInfo, type LinkTarget, type LinkValue, type LinksApi, type ResolvedLink, } from './links';
|
|
10
11
|
export { createHttp, readCookie, HttpError, type Http, type HttpOptions, type RequestOptions, } from './http';
|
|
11
12
|
export { adminTypes } from './screenTypes';
|
|
12
13
|
export type { AdminModule, AdminStatus, AdminUser, Manifest, ManifestModule, NavEntry, PickedImage, RowAction, ScreenAction, AppliedFilter, } from './types';
|
|
@@ -27,3 +28,5 @@ export { default as WxDate } from './DateText';
|
|
|
27
28
|
export { default as WxNotes } from './NotesFeed';
|
|
28
29
|
export { default as WxBackupNote } from './BackupNote';
|
|
29
30
|
export { default as WxRichTextField } from './RichTextField';
|
|
31
|
+
export { default as WxLinkPicker } from './LinkPicker';
|
|
32
|
+
export { default as WxLinkField } from './LinkField';
|