@signal24/vue-foundation 4.21.0 → 4.23.0
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/src/components/modal-helpers.d.ts +10 -6
- package/dist/src/components/overlay-anchor.vue.d.ts +2 -3198
- package/dist/src/components/vf-ez-smart-select.vue.d.ts +19 -13
- package/dist/src/components/vf-modal.vue.d.ts +2 -17
- package/dist/src/components/vf-smart-select.vue.d.ts +4 -3
- package/dist/src/helpers/error.d.ts +1 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/vue-foundation.es.js +172 -168
- package/eslint.config.mjs +6 -3
- package/package.json +20 -20
- package/src/components/vf-ez-smart-select.vue +10 -10
- package/src/helpers/error.ts +8 -1
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
declare const _default: <T extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
3
|
+
readonly "onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
|
|
4
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & {
|
|
5
|
+
modelValue: T | null | undefined;
|
|
6
|
+
nullTitle?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
options: { [key in T]: string; } | T[];
|
|
9
|
+
formatter?: (label: string, key: T) => string;
|
|
10
|
+
} & Partial<{}>> & import("vue").PublicProps;
|
|
11
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
12
|
+
attrs: any;
|
|
13
|
+
slots: {};
|
|
14
|
+
emit: (e: "update:modelValue", value: T | null) => void;
|
|
15
|
+
}>) => import("vue").VNode & {
|
|
16
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
9
17
|
};
|
|
10
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
-
"update:modelValue": (value: string | null) => any;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
-
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
18
|
export default _default;
|
|
19
|
+
type __VLS_PrettifyLocal<T> = {
|
|
20
|
+
[K in keyof T]: T[K];
|
|
21
|
+
} & {};
|
|
@@ -5,33 +5,18 @@ type __VLS_Props = {
|
|
|
5
5
|
closeX?: boolean;
|
|
6
6
|
class?: string | string[];
|
|
7
7
|
};
|
|
8
|
-
declare const overlay: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
9
|
-
declare const form: import("vue").Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
10
|
-
declare const classList: import("vue").ComputedRef<string[]>;
|
|
11
|
-
declare function closeParent(): void;
|
|
12
8
|
declare function mask(): () => void;
|
|
13
9
|
declare function unmask(): void;
|
|
14
10
|
declare function hide(): () => void;
|
|
15
11
|
declare function unhide(): void;
|
|
16
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
17
12
|
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
18
|
-
type __VLS_Slots =
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
19
14
|
header?: (props: typeof __VLS_1) => any;
|
|
20
15
|
} & {
|
|
21
16
|
default?: (props: typeof __VLS_3) => any;
|
|
22
17
|
} & {
|
|
23
18
|
footer?: (props: typeof __VLS_5) => any;
|
|
24
|
-
}
|
|
25
|
-
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
26
|
-
overlay: typeof overlay;
|
|
27
|
-
form: typeof form;
|
|
28
|
-
classList: typeof classList;
|
|
29
|
-
closeParent: typeof closeParent;
|
|
30
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
-
formSubmit: (...args: any[]) => void;
|
|
32
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
|
-
onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
34
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
};
|
|
35
20
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
36
21
|
mask: typeof mask;
|
|
37
22
|
unmask: typeof unmask;
|
|
@@ -36,10 +36,11 @@ declare const _default: <T, V = T>(__VLS_props: NonNullable<Awaited<typeof __VLS
|
|
|
36
36
|
}>): void;
|
|
37
37
|
attrs: any;
|
|
38
38
|
slots: {
|
|
39
|
-
option?: (
|
|
39
|
+
option?: (props: {
|
|
40
40
|
option: VfSmartSelectOptionDescriptor<T>;
|
|
41
|
-
}) => any
|
|
42
|
-
|
|
41
|
+
}) => any;
|
|
42
|
+
} & {
|
|
43
|
+
'no-results'?: (props: {}) => any;
|
|
43
44
|
};
|
|
44
45
|
emit: ((evt: "update:modelValue", args_0: V) => void) & ((evt: "optionsLoaded", args_0: T[]) => void);
|
|
45
46
|
}>) => import("vue").VNode & {
|
|
@@ -3,6 +3,7 @@ export declare class UserError extends Error {
|
|
|
3
3
|
}
|
|
4
4
|
export declare function formatError(err: any): string;
|
|
5
5
|
export declare function toError(err: any): Error;
|
|
6
|
+
export declare function isError(err: unknown): err is Error;
|
|
6
7
|
interface IErrorAlertOptions {
|
|
7
8
|
title?: string;
|
|
8
9
|
classes?: string[];
|