@signal24/vue-foundation 4.17.2 → 4.18.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/.yarnrc.yml +1 -1
- package/dist/demo/components/demo-root.vue.d.ts +1 -1
- package/dist/demo/components/demo-vf-smart-select.vue.d.ts +1 -1
- package/dist/src/components/overlay-anchor.vue.d.ts +7 -8
- package/dist/src/components/vf-ajax-select.vue.d.ts +1 -3
- package/dist/src/components/vf-alert-modal.vue.d.ts +3 -10
- package/dist/src/components/vf-ez-smart-select.vue.d.ts +4 -11
- package/dist/src/components/vf-modal.vue.d.ts +12 -16
- package/dist/src/components/vf-smart-select.vue.d.ts +1 -4
- package/dist/src/components/vf-toast.vue.d.ts +3 -4
- package/dist/src/config.d.ts +1 -1
- package/dist/vue-foundation.es.js +522 -514
- package/package.json +24 -24
- package/src/config.ts +2 -2
- package/src/directives/datetime.ts +21 -4
- package/src/filters/index.ts +1 -1
- package/tsconfig.node.json +1 -1
- package/tsconfig.vite-plugins.json +1 -1
- package/vite.config.ts +7 -0
package/.yarnrc.yml
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import type { OverlayAnchorOptions } from './overlay-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
overlayId: string;
|
|
4
|
+
anchor: OverlayAnchorOptions;
|
|
5
|
+
};
|
|
2
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
3
8
|
slots: {
|
|
4
9
|
default?(_: {}): any;
|
|
5
10
|
};
|
|
6
11
|
refs: {};
|
|
7
|
-
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
8
13
|
};
|
|
9
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
11
|
-
overlayId: string;
|
|
12
|
-
anchor: OverlayAnchorOptions;
|
|
13
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
14
|
-
overlayId: string;
|
|
15
|
-
anchor: OverlayAnchorOptions;
|
|
16
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
17
|
export default _default;
|
|
19
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
declare const _default: <T>(__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
2
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
3
3
|
readonly "onUpdate:modelValue"?: ((args_0: T) => any) | undefined;
|
|
4
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps &
|
|
5
|
-
"onUpdate:modelValue"?: ((args_0: T) => any) | undefined;
|
|
6
|
-
}>, never>, "onUpdate:modelValue"> & {
|
|
4
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & Partial<{}> & {
|
|
7
5
|
modelValue: T;
|
|
8
6
|
loadFn: () => Promise<T[]>;
|
|
9
7
|
nullText?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
isBare?: boolean;
|
|
3
3
|
isHtml?: boolean;
|
|
4
4
|
classes?: string[];
|
|
@@ -6,13 +6,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
message: string | Error;
|
|
7
7
|
shouldConfirm?: boolean;
|
|
8
8
|
callback: (ok: boolean) => void;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
isHtml?: boolean;
|
|
12
|
-
classes?: string[];
|
|
13
|
-
title?: string;
|
|
14
|
-
message: string | Error;
|
|
15
|
-
shouldConfirm?: boolean;
|
|
16
|
-
callback: (ok: boolean) => void;
|
|
17
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
11
|
export default _default;
|
|
@@ -2,7 +2,7 @@ interface IComputedOption {
|
|
|
2
2
|
value: string;
|
|
3
3
|
label: string;
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
type __VLS_Props = {
|
|
6
6
|
modelValue: string | null | undefined;
|
|
7
7
|
nullTitle?: string;
|
|
8
8
|
placeholder?: string;
|
|
@@ -10,17 +10,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
[K: string]: string;
|
|
11
11
|
} | string[];
|
|
12
12
|
formatter?: (item: IComputedOption) => string;
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
15
|
"update:modelValue": (value: string | null) => any;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
16
|
-
modelValue: string | null | undefined;
|
|
17
|
-
nullTitle?: string;
|
|
18
|
-
placeholder?: string;
|
|
19
|
-
options: {
|
|
20
|
-
[K: string]: string;
|
|
21
|
-
} | string[];
|
|
22
|
-
formatter?: (item: IComputedOption) => string;
|
|
23
|
-
}> & Readonly<{
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
17
|
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
25
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
19
|
export default _default;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
closeOnMaskClick?: boolean;
|
|
4
|
+
scrolls?: boolean;
|
|
5
|
+
closeX?: boolean;
|
|
6
|
+
class?: string | string[];
|
|
7
|
+
};
|
|
1
8
|
declare function mask(): () => void;
|
|
2
9
|
declare function unmask(): void;
|
|
3
10
|
declare function hide(): () => void;
|
|
4
11
|
declare function unhide(): void;
|
|
5
12
|
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
6
14
|
slots: {
|
|
7
15
|
header?(_: {}): any;
|
|
8
16
|
default?(_: {}): any;
|
|
@@ -12,31 +20,19 @@ declare function __VLS_template(): {
|
|
|
12
20
|
overlay: HTMLDivElement;
|
|
13
21
|
form: HTMLFormElement;
|
|
14
22
|
};
|
|
15
|
-
|
|
23
|
+
rootEl: HTMLDivElement;
|
|
16
24
|
};
|
|
17
25
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
19
|
-
id?: string;
|
|
20
|
-
closeOnMaskClick?: boolean;
|
|
21
|
-
scrolls?: boolean;
|
|
22
|
-
closeX?: boolean;
|
|
23
|
-
class?: string | string[];
|
|
24
|
-
}, {
|
|
26
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
25
27
|
mask: typeof mask;
|
|
26
28
|
unmask: typeof unmask;
|
|
27
29
|
hide: typeof hide;
|
|
28
30
|
unhide: typeof unhide;
|
|
29
31
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
32
|
formSubmit: (...args: any[]) => void;
|
|
31
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
32
|
-
id?: string;
|
|
33
|
-
closeOnMaskClick?: boolean;
|
|
34
|
-
scrolls?: boolean;
|
|
35
|
-
closeX?: boolean;
|
|
36
|
-
class?: string | string[];
|
|
37
|
-
}> & Readonly<{
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
38
34
|
onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
35
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
36
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
37
|
export default _default;
|
|
42
38
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -2,10 +2,7 @@ declare const _default: <T, V = T>(__VLS_props: NonNullable<Awaited<typeof __VLS
|
|
|
2
2
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
3
3
|
readonly "onUpdate:modelValue"?: ((args_0: V) => any) | undefined;
|
|
4
4
|
readonly onOptionsLoaded?: ((args_0: T[]) => any) | undefined;
|
|
5
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps &
|
|
6
|
-
"onUpdate:modelValue"?: ((args_0: V) => any) | undefined;
|
|
7
|
-
onOptionsLoaded?: ((args_0: T[]) => any) | undefined;
|
|
8
|
-
}>, never>, "onUpdate:modelValue" | "onOptionsLoaded"> & {
|
|
5
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onOptionsLoaded"> & Partial<{}> & {
|
|
9
6
|
modelValue: V | null;
|
|
10
7
|
loadOptions?: (searchText: string | null) => Promise<T[]>;
|
|
11
8
|
options?: T[];
|
|
@@ -5,9 +5,8 @@ export interface IToastOptions {
|
|
|
5
5
|
disableClose?: boolean;
|
|
6
6
|
onClick?: () => void;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
type __VLS_Props = IToastOptions & {
|
|
9
9
|
callback: () => void;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
12
|
export default _default;
|
package/dist/src/config.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ interface IOptions {
|
|
|
2
2
|
unhandledErrorSupportText: string;
|
|
3
3
|
errorHandler: (err: Error) => void;
|
|
4
4
|
defaultDateFormat: string;
|
|
5
|
-
|
|
5
|
+
defaultTimeFormat: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const VfOptions: IOptions;
|
|
8
8
|
export declare function configureVf(options: Partial<IOptions>): void;
|