@signal24/vue-foundation 4.6.1 → 4.7.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/src/components/alert-modal.vue.d.ts +48 -25
- package/dist/src/components/ez-smart-select.vue.d.ts +38 -23
- package/dist/src/components/modal.vue.d.ts +38 -23
- package/dist/src/components/overlay-anchor.vue.d.ts +19 -16
- package/dist/src/components/toast.vue.d.ts +42 -13
- package/dist/src/helpers/openapi.d.ts +3 -1
- package/dist/vue-foundation.css +1 -1
- package/dist/vue-foundation.es.js +366 -360
- package/package.json +21 -21
- package/src/components/modal.vue +22 -3
- package/src/directives/tooltip.ts +4 -1
- package/src/helpers/openapi.ts +36 -28
- package/src/hooks/infinite-scroll.ts +4 -1
|
@@ -1,27 +1,50 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
-
isBare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
message:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
type
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
type: import(
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
isBare: {
|
|
3
|
+
type: import("vue").PropType<boolean>;
|
|
4
|
+
};
|
|
5
|
+
isHtml: {
|
|
6
|
+
type: import("vue").PropType<boolean>;
|
|
7
|
+
};
|
|
8
|
+
classes: {
|
|
9
|
+
type: import("vue").PropType<string[]>;
|
|
10
|
+
};
|
|
11
|
+
title: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
};
|
|
14
|
+
message: {
|
|
15
|
+
type: import("vue").PropType<string | Error>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
shouldConfirm: {
|
|
19
|
+
type: import("vue").PropType<boolean>;
|
|
20
|
+
};
|
|
21
|
+
callback: {
|
|
22
|
+
type: import("vue").PropType<(ok: boolean) => void>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
isBare: {
|
|
27
|
+
type: import("vue").PropType<boolean>;
|
|
28
|
+
};
|
|
29
|
+
isHtml: {
|
|
30
|
+
type: import("vue").PropType<boolean>;
|
|
31
|
+
};
|
|
32
|
+
classes: {
|
|
33
|
+
type: import("vue").PropType<string[]>;
|
|
34
|
+
};
|
|
35
|
+
title: {
|
|
36
|
+
type: import("vue").PropType<string>;
|
|
37
|
+
};
|
|
38
|
+
message: {
|
|
39
|
+
type: import("vue").PropType<string | Error>;
|
|
25
40
|
required: true;
|
|
26
41
|
};
|
|
27
|
-
|
|
42
|
+
shouldConfirm: {
|
|
43
|
+
type: import("vue").PropType<boolean>;
|
|
44
|
+
};
|
|
45
|
+
callback: {
|
|
46
|
+
type: import("vue").PropType<(ok: boolean) => void>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
}>>, {}, {}>;
|
|
50
|
+
export default _default;
|
|
@@ -1,27 +1,42 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
-
modelValue:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: import("vue").PropType<string | null | undefined>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
nullTitle: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
};
|
|
9
|
+
placeholder: {
|
|
10
|
+
type: import("vue").PropType<string>;
|
|
11
|
+
};
|
|
12
|
+
options: {
|
|
13
|
+
type: import("vue").PropType<string[] | Record<string, string>>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
formatter: {
|
|
17
|
+
type: import("vue").PropType<(value: any) => string>;
|
|
18
|
+
};
|
|
19
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
20
|
"update:modelValue": (value: string | null) => void;
|
|
9
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
10
|
-
modelValue:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
21
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: import("vue").PropType<string | null | undefined>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
nullTitle: {
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
28
|
+
};
|
|
29
|
+
placeholder: {
|
|
30
|
+
type: import("vue").PropType<string>;
|
|
31
|
+
};
|
|
32
|
+
options: {
|
|
33
|
+
type: import("vue").PropType<string[] | Record<string, string>>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
formatter: {
|
|
37
|
+
type: import("vue").PropType<(value: any) => string>;
|
|
38
|
+
};
|
|
39
|
+
}>> & {
|
|
16
40
|
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
17
41
|
}, {}, {}>;
|
|
18
42
|
export default _default;
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
-
} : {
|
|
24
|
-
type: import('vue').PropType<T[K]>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
@@ -1,21 +1,45 @@
|
|
|
1
1
|
declare function mask(): void;
|
|
2
2
|
declare function unmask(): void;
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
declare function hide(): void;
|
|
4
|
+
declare function unhide(): void;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
6
|
+
id: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
};
|
|
9
|
+
closeOnMaskClick: {
|
|
10
|
+
type: import("vue").PropType<boolean>;
|
|
11
|
+
};
|
|
12
|
+
scrolls: {
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
14
|
+
};
|
|
15
|
+
closeX: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
};
|
|
18
|
+
class: {
|
|
19
|
+
type: import("vue").PropType<string>;
|
|
20
|
+
};
|
|
21
|
+
}, {
|
|
10
22
|
mask: typeof mask;
|
|
11
23
|
unmask: typeof unmask;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
24
|
+
hide: typeof hide;
|
|
25
|
+
unhide: typeof unhide;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "formSubmit"[], "formSubmit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
id: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
};
|
|
30
|
+
closeOnMaskClick: {
|
|
31
|
+
type: import("vue").PropType<boolean>;
|
|
32
|
+
};
|
|
33
|
+
scrolls: {
|
|
34
|
+
type: import("vue").PropType<boolean>;
|
|
35
|
+
};
|
|
36
|
+
closeX: {
|
|
37
|
+
type: import("vue").PropType<boolean>;
|
|
38
|
+
};
|
|
39
|
+
class: {
|
|
40
|
+
type: import("vue").PropType<string>;
|
|
41
|
+
};
|
|
42
|
+
}>> & {
|
|
19
43
|
onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
20
44
|
}, {}, {}>, {
|
|
21
45
|
header?(_: {}): any;
|
|
@@ -23,15 +47,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
23
47
|
footer?(_: {}): any;
|
|
24
48
|
}>;
|
|
25
49
|
export default _default;
|
|
26
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
-
} : {
|
|
31
|
-
type: import('vue').PropType<T[K]>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
50
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
51
|
new (): {
|
|
37
52
|
$slots: S;
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import type { OverlayAnchorOptions } from './overlay-types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
3
|
-
overlayId:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
anchor:
|
|
8
|
-
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
overlayId: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
anchor: {
|
|
8
|
+
type: import("vue").PropType<OverlayAnchorOptions>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
overlayId: {
|
|
13
|
+
type: import("vue").PropType<string>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
anchor: {
|
|
17
|
+
type: import("vue").PropType<OverlayAnchorOptions>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}>>, {}, {}>, {
|
|
9
21
|
default?(_: {}): any;
|
|
10
22
|
}>;
|
|
11
23
|
export default _default;
|
|
12
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
-
} : {
|
|
17
|
-
type: import('vue').PropType<T[K]>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
25
|
new (): {
|
|
23
26
|
$slots: S;
|
|
@@ -5,18 +5,47 @@ export interface IToastOptions {
|
|
|
5
5
|
disableClose?: boolean;
|
|
6
6
|
onClick?: () => void;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: import("vue").DefineComponent<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
type
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
type: import(
|
|
18
|
-
}
|
|
19
|
-
|
|
8
|
+
declare const _default: import("vue").DefineComponent<{
|
|
9
|
+
message: {
|
|
10
|
+
type: import("vue").PropType<string>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
className: {
|
|
14
|
+
type: import("vue").PropType<string>;
|
|
15
|
+
};
|
|
16
|
+
durationSecs: {
|
|
17
|
+
type: import("vue").PropType<number | null>;
|
|
18
|
+
};
|
|
19
|
+
disableClose: {
|
|
20
|
+
type: import("vue").PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
onClick: {
|
|
23
|
+
type: import("vue").PropType<() => void>;
|
|
24
|
+
};
|
|
25
|
+
callback: {
|
|
26
|
+
type: import("vue").PropType<() => void>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
message: {
|
|
31
|
+
type: import("vue").PropType<string>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
className: {
|
|
35
|
+
type: import("vue").PropType<string>;
|
|
36
|
+
};
|
|
37
|
+
durationSecs: {
|
|
38
|
+
type: import("vue").PropType<number | null>;
|
|
39
|
+
};
|
|
40
|
+
disableClose: {
|
|
41
|
+
type: import("vue").PropType<boolean>;
|
|
42
|
+
};
|
|
43
|
+
onClick: {
|
|
44
|
+
type: import("vue").PropType<() => void>;
|
|
45
|
+
};
|
|
46
|
+
callback: {
|
|
47
|
+
type: import("vue").PropType<() => void>;
|
|
20
48
|
required: true;
|
|
21
49
|
};
|
|
22
|
-
}
|
|
50
|
+
}>>, {}, {}>;
|
|
51
|
+
export default _default;
|
|
@@ -31,12 +31,14 @@ export declare class ICancelablePromise<T = any> {
|
|
|
31
31
|
}
|
|
32
32
|
interface IWrappedApiClientOptions<P extends ICancelablePromise = ICancelablePromise, Arguments extends unknown[] = any[]> {
|
|
33
33
|
apiClient: IApiClient;
|
|
34
|
+
wrapper?: (options: IRequestOptions, fn: (options: IRequestOptions) => P) => P;
|
|
34
35
|
onRequest?: (options: IRequestOptions) => IRequestOptions;
|
|
35
36
|
onError?: (err: Error, options: IRequestOptions) => Error | null | void;
|
|
37
|
+
afterRequest?: (options: IRequestOptions) => void;
|
|
36
38
|
CancelablePromise: new (...arguments_: Arguments) => P;
|
|
37
39
|
}
|
|
38
40
|
export declare function isApiError(err: any): err is IApiError;
|
|
39
|
-
export declare function installApiClientInterceptors({ apiClient, onRequest, onError, CancelablePromise }: IWrappedApiClientOptions): void;
|
|
41
|
+
export declare function installApiClientInterceptors({ apiClient, wrapper, onRequest, onError, afterRequest, CancelablePromise }: IWrappedApiClientOptions): void;
|
|
40
42
|
export declare class FileUploadRequest {
|
|
41
43
|
constructor(blob: Blob);
|
|
42
44
|
validator: null;
|
package/dist/vue-foundation.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.vf-overlay-anchor{position:absolute}.vf-overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:100}.vf-modal-wrap{background:rgba(0,0,0,.25);display:flex;justify-content:center;align-items:center}.vf-modal{background:white;box-shadow:0 3px 6px #00000026;min-width:200px;max-width:95%;max-height:95%;display:flex;flex-direction:column}.vf-modal-header,.vf-modal-footer{flex-shrink:0;position:relative}.vf-modal.scrolls>.vf-modal-content{overflow:auto;flex-grow:1;flex-shrink:1;flex-basis:0%}.vf-modal-wrap.vf-alert .vf-modal{max-width:800px}.vf-modal-wrap.vf-alert .vf-modal>.vf-modal-content{padding:12px}.vf-modal-wrap.vf-alert.wait .vf-modal-content{text-align:center}.vf-modal-wrap.vf-alert.destructive button.primary{color:red}.vf-smart-select{position:relative}.vf-smart-select input{width:100%;padding-right:24px!important}.vf-smart-select input.nullable::placeholder{color:#000}.vf-smart-select:after{content:" ";display:block;position:absolute;top:50%;right:8px;margin-top:-3px;width:0;height:0;border-style:solid;border-width:5px 5px 0 5px;border-color:#333333 transparent transparent transparent;pointer-events:none}.vf-smart-select.open:after{margin-top:-4px;border-width:0 5px 5px 5px;border-color:transparent transparent #333333 transparent}.vf-smart-select:not(.disabled) input{cursor:pointer}.vf-smart-select.disabled:after{opacity:.4}.vf-smart-select-options{visibility:hidden;position:absolute;min-height:20px;border:1px solid #e8e8e8;background:white;overflow:auto;z-index:101}.vf-smart-select-options .option,.vf-smart-select-options .no-results{padding:5px 8px}.vf-smart-select-options .option{cursor:pointer}.vf-smart-select-options .option.highlighted{background-color:#f5f5f5}.vf-toast{position:absolute;bottom:50px;left:50%;transform:translate(-50%)}.vf-toast .content{display:flex;align-items:center}
|
|
1
|
+
.vf-overlay-anchor{position:absolute}.vf-overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:100}.vf-overlay.hidden{display:none}.vf-modal-wrap{background:rgba(0,0,0,.25);display:flex;justify-content:center;align-items:center}.vf-modal{background:white;box-shadow:0 3px 6px #00000026;min-width:200px;max-width:95%;max-height:95%;display:flex;flex-direction:column}.vf-modal-header,.vf-modal-footer{flex-shrink:0;position:relative}.vf-modal.scrolls>.vf-modal-content{overflow:auto;flex-grow:1;flex-shrink:1;flex-basis:0%}.vf-modal-wrap.vf-alert .vf-modal{max-width:800px}.vf-modal-wrap.vf-alert .vf-modal>.vf-modal-content{padding:12px}.vf-modal-wrap.vf-alert.wait .vf-modal-content{text-align:center}.vf-modal-wrap.vf-alert.destructive button.primary{color:red}.vf-smart-select{position:relative}.vf-smart-select input{width:100%;padding-right:24px!important}.vf-smart-select input.nullable::placeholder{color:#000}.vf-smart-select:after{content:" ";display:block;position:absolute;top:50%;right:8px;margin-top:-3px;width:0;height:0;border-style:solid;border-width:5px 5px 0 5px;border-color:#333333 transparent transparent transparent;pointer-events:none}.vf-smart-select.open:after{margin-top:-4px;border-width:0 5px 5px 5px;border-color:transparent transparent #333333 transparent}.vf-smart-select:not(.disabled) input{cursor:pointer}.vf-smart-select.disabled:after{opacity:.4}.vf-smart-select-options{visibility:hidden;position:absolute;min-height:20px;border:1px solid #e8e8e8;background:white;overflow:auto;z-index:101}.vf-smart-select-options .option,.vf-smart-select-options .no-results{padding:5px 8px}.vf-smart-select-options .option{cursor:pointer}.vf-smart-select-options .option.highlighted{background-color:#f5f5f5}.vf-toast{position:absolute;bottom:50px;left:50%;transform:translate(-50%)}.vf-toast .content{display:flex;align-items:center}
|