@signal24/vue-foundation 4.30.5 → 4.30.7
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/vf-ajax-select.vue.d.ts +9 -5
- package/dist/src/components/vf-ez-smart-select.vue.d.ts +9 -5
- package/dist/src/components/vf-smart-select.vue.d.ts +9 -5
- package/dist/src/helpers/object.d.ts +11 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/vue-foundation.es.js +894 -853
- package/package.json +21 -18
- package/src/helpers/object.ts +64 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
2
|
-
props: __VLS_PrettifyLocal<{
|
|
1
|
+
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
3
3
|
modelValue: T;
|
|
4
4
|
loadFn: () => Promise<T[]>;
|
|
5
5
|
nullText?: string;
|
|
@@ -8,7 +8,9 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
8
8
|
preprocesor?: (option: T) => string;
|
|
9
9
|
} & {
|
|
10
10
|
"onUpdate:modelValue"?: ((args_0: T) => any) | undefined;
|
|
11
|
-
}> &
|
|
11
|
+
}> & (typeof globalThis extends {
|
|
12
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
13
|
+
} ? P : {});
|
|
12
14
|
expose: (exposed: {}) => void;
|
|
13
15
|
attrs: any;
|
|
14
16
|
slots: {};
|
|
@@ -18,6 +20,8 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
18
20
|
};
|
|
19
21
|
declare const _default: typeof __VLS_export;
|
|
20
22
|
export default _default;
|
|
21
|
-
type __VLS_PrettifyLocal<T> = {
|
|
23
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
24
|
+
[K in keyof T]: T[K];
|
|
25
|
+
} : {
|
|
22
26
|
[K in keyof T as K]: T[K];
|
|
23
|
-
} & {};
|
|
27
|
+
}) & {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const __VLS_export: <T extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
2
|
-
props: __VLS_PrettifyLocal<{
|
|
1
|
+
declare const __VLS_export: <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_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
3
3
|
modelValue: T | null | undefined;
|
|
4
4
|
nullTitle?: string;
|
|
5
5
|
placeholder?: string;
|
|
@@ -8,7 +8,9 @@ declare const __VLS_export: <T extends string>(__VLS_props: NonNullable<Awaited<
|
|
|
8
8
|
name?: string;
|
|
9
9
|
} & {
|
|
10
10
|
"onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
|
|
11
|
-
}> &
|
|
11
|
+
}> & (typeof globalThis extends {
|
|
12
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
13
|
+
} ? P : {});
|
|
12
14
|
expose: (exposed: {}) => void;
|
|
13
15
|
attrs: any;
|
|
14
16
|
slots: {};
|
|
@@ -18,6 +20,8 @@ declare const __VLS_export: <T extends string>(__VLS_props: NonNullable<Awaited<
|
|
|
18
20
|
};
|
|
19
21
|
declare const _default: typeof __VLS_export;
|
|
20
22
|
export default _default;
|
|
21
|
-
type __VLS_PrettifyLocal<T> = {
|
|
23
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
24
|
+
[K in keyof T]: T[K];
|
|
25
|
+
} : {
|
|
22
26
|
[K in keyof T as K]: T[K];
|
|
23
|
-
} & {};
|
|
27
|
+
}) & {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { VfSmartSelectOptionDescriptor } from './vf-smart-select.types';
|
|
2
|
-
declare const __VLS_export: <T, V = T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
3
|
-
props: __VLS_PrettifyLocal<{
|
|
2
|
+
declare const __VLS_export: <T, V = T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
4
|
modelValue: V | null;
|
|
5
5
|
loadingText?: string;
|
|
6
6
|
loadOptions?: (searchText: string | null) => Promise<T[]>;
|
|
@@ -35,7 +35,9 @@ declare const __VLS_export: <T, V = T>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
35
35
|
} & {
|
|
36
36
|
"onUpdate:modelValue"?: ((args_0: V) => any) | undefined;
|
|
37
37
|
onOptionsLoaded?: ((args_0: T[]) => any) | undefined;
|
|
38
|
-
}> &
|
|
38
|
+
}> & (typeof globalThis extends {
|
|
39
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
40
|
+
} ? P : {});
|
|
39
41
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
40
42
|
addRemoteOption: (option: T) => void;
|
|
41
43
|
}>) => void;
|
|
@@ -57,6 +59,8 @@ declare const __VLS_export: <T, V = T>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
57
59
|
};
|
|
58
60
|
declare const _default: typeof __VLS_export;
|
|
59
61
|
export default _default;
|
|
60
|
-
type __VLS_PrettifyLocal<T> = {
|
|
62
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
63
|
+
[K in keyof T]: T[K];
|
|
64
|
+
} : {
|
|
61
65
|
[K in keyof T as K]: T[K];
|
|
62
|
-
} & {};
|
|
66
|
+
}) & {};
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
export declare function cloneProp<T>(prop: T | undefined | null, fallback: T): T;
|
|
2
2
|
export declare function nullifyEmptyInputs<T extends Record<string, unknown>, K extends keyof T>(obj: T, fields: K[]): T;
|
|
3
3
|
export declare function isNotNullOrUndefined<T>(value: T | null | undefined): value is T;
|
|
4
|
+
export declare function objectKeys<T extends object>(object: T): (keyof T)[];
|
|
5
|
+
export declare function objectAssign<T extends object>(object: T, ...values: Partial<T>[]): T;
|
|
6
|
+
type Entries<T> = {
|
|
7
|
+
[K in keyof T]: [K, T[K]];
|
|
8
|
+
}[keyof T][];
|
|
9
|
+
export declare function objectEntries<T extends object>(object: T): Entries<T>;
|
|
10
|
+
export declare function extractValues<T extends object, K extends readonly (keyof T)[]>(state: T, fields: K): Pick<T, K[number]>;
|
|
11
|
+
export declare function extractUpdates<T extends object>(state: T, updates: Partial<T>, fields?: Array<keyof T>, method?: 'equals' | 'matches'): Partial<T>;
|
|
12
|
+
export declare function patchObject<T extends object>(state: T, updates: Partial<T>, fields?: Array<keyof T>, method?: 'equals' | 'matches'): T;
|
|
13
|
+
export declare function extractKV<T, K extends keyof T, V extends keyof T>(arr: T[], keyCol: K, valCol: V): Record<string, T[V]>;
|
|
14
|
+
export {};
|