@rebilly/revel 6.30.18 → 6.30.20
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/CHANGELOG.md +1 -1
- package/dist/components/r-img/r-img.vue.d.ts +50 -77
- package/dist/components/r-loader/r-loader.vue.d.ts +34 -52
- package/dist/revel.mjs +1146 -1227
- package/dist/revel.umd.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
## [6.30.
|
|
1
|
+
## [6.30.20](https://github.com/Rebilly/rebilly/compare/revel-v6.30.19...revel-v6.30.20) (2024-07-16)
|
|
@@ -1,96 +1,69 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
/**
|
|
3
3
|
* Input the source URL
|
|
4
4
|
*/
|
|
5
|
-
src:
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Input the alternative text for the image
|
|
11
|
-
*/
|
|
12
|
-
alt: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Make the image lazy loaded
|
|
18
|
-
*/
|
|
19
|
-
lazy: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Specify image width
|
|
25
|
-
*/
|
|
26
|
-
width: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Specify image height
|
|
32
|
-
*/
|
|
33
|
-
height: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
}, unknown, {
|
|
38
|
-
loading: boolean;
|
|
39
|
-
}, {
|
|
40
|
-
imgStyle(): {
|
|
41
|
-
height: string;
|
|
42
|
-
width: string;
|
|
43
|
-
};
|
|
44
|
-
wrapperStyle(): {
|
|
45
|
-
height: string;
|
|
46
|
-
width: string;
|
|
47
|
-
};
|
|
48
|
-
}, {
|
|
49
|
-
onload(): void;
|
|
50
|
-
onerror(): void;
|
|
51
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onload" | "onerror")[], "onload" | "onerror", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
-
/**
|
|
53
|
-
* Input the source URL
|
|
54
|
-
*/
|
|
55
|
-
src: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
5
|
+
src: string;
|
|
59
6
|
/**
|
|
60
7
|
* Input the alternative text for the image
|
|
61
8
|
*/
|
|
62
|
-
alt
|
|
63
|
-
type: StringConstructor;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
9
|
+
alt?: string;
|
|
66
10
|
/**
|
|
67
11
|
* Make the image lazy loaded
|
|
68
12
|
*/
|
|
69
|
-
lazy
|
|
70
|
-
type: BooleanConstructor;
|
|
71
|
-
default: boolean;
|
|
72
|
-
};
|
|
13
|
+
lazy?: boolean;
|
|
73
14
|
/**
|
|
74
|
-
*
|
|
15
|
+
* Image width
|
|
75
16
|
*/
|
|
76
|
-
width
|
|
77
|
-
type: StringConstructor;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
17
|
+
width?: string;
|
|
80
18
|
/**
|
|
81
|
-
*
|
|
19
|
+
* Image height
|
|
82
20
|
*/
|
|
83
|
-
height
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}>> & {
|
|
88
|
-
onOnload?: ((...args: any[]) => any) | undefined;
|
|
89
|
-
onOnerror?: ((...args: any[]) => any) | undefined;
|
|
90
|
-
}, {
|
|
21
|
+
height?: string;
|
|
22
|
+
}
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
24
|
+
alt: string;
|
|
91
25
|
lazy: boolean;
|
|
26
|
+
width: string;
|
|
27
|
+
height: string;
|
|
28
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
onload: () => void;
|
|
30
|
+
onerror: () => void;
|
|
31
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
32
|
+
alt: string;
|
|
33
|
+
lazy: boolean;
|
|
34
|
+
width: string;
|
|
35
|
+
height: string;
|
|
36
|
+
}>>> & {
|
|
37
|
+
onOnload?: (() => any) | undefined;
|
|
38
|
+
onOnerror?: (() => any) | undefined;
|
|
39
|
+
}, {
|
|
92
40
|
alt: string;
|
|
41
|
+
lazy: boolean;
|
|
93
42
|
width: string;
|
|
94
43
|
height: string;
|
|
44
|
+
}>, {
|
|
45
|
+
loading?(_: {}): any;
|
|
95
46
|
}>;
|
|
96
47
|
export default _default;
|
|
48
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
49
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
50
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
51
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
52
|
+
} : {
|
|
53
|
+
type: import('vue').PropType<T[K]>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
type __VLS_WithDefaults<P, D> = {
|
|
58
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
59
|
+
default: D[K];
|
|
60
|
+
}> : P[K];
|
|
61
|
+
};
|
|
62
|
+
type __VLS_Prettify<T> = {
|
|
63
|
+
[K in keyof T]: T[K];
|
|
64
|
+
} & {};
|
|
65
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -1,70 +1,52 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
/**
|
|
3
3
|
* Boolean value to show or hide component
|
|
4
4
|
*/
|
|
5
|
-
show
|
|
6
|
-
type: BooleanConstructor;
|
|
7
|
-
default: boolean;
|
|
8
|
-
};
|
|
5
|
+
show?: boolean;
|
|
9
6
|
/**
|
|
10
7
|
* Flag to start / stop animation
|
|
11
8
|
*/
|
|
12
|
-
loading
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
9
|
+
loading?: boolean;
|
|
16
10
|
/**
|
|
17
11
|
* Fill parent component or entire application
|
|
18
12
|
*/
|
|
19
|
-
fullscreen
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
13
|
+
fullscreen?: boolean;
|
|
23
14
|
/**
|
|
24
15
|
* Changes the loader icon to a spinner
|
|
25
16
|
*/
|
|
26
|
-
spinner
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
show: {
|
|
40
|
-
type: BooleanConstructor;
|
|
41
|
-
default: boolean;
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Flag to start / stop animation
|
|
45
|
-
*/
|
|
46
|
-
loading: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Fill parent component or entire application
|
|
52
|
-
*/
|
|
53
|
-
fullscreen: {
|
|
54
|
-
type: BooleanConstructor;
|
|
55
|
-
default: boolean;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Changes the loader icon to a spinner
|
|
59
|
-
*/
|
|
60
|
-
spinner: {
|
|
61
|
-
type: BooleanConstructor;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
}>>, {
|
|
17
|
+
spinner?: boolean;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
20
|
+
show: boolean;
|
|
21
|
+
loading: boolean;
|
|
22
|
+
fullscreen: boolean;
|
|
23
|
+
spinner: boolean;
|
|
24
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
25
|
+
show: boolean;
|
|
26
|
+
loading: boolean;
|
|
27
|
+
fullscreen: boolean;
|
|
28
|
+
spinner: boolean;
|
|
29
|
+
}>>>, {
|
|
65
30
|
loading: boolean;
|
|
66
31
|
show: boolean;
|
|
67
32
|
fullscreen: boolean;
|
|
68
33
|
spinner: boolean;
|
|
69
34
|
}>;
|
|
70
35
|
export default _default;
|
|
36
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
+
} : {
|
|
41
|
+
type: import('vue').PropType<T[K]>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
type __VLS_WithDefaults<P, D> = {
|
|
46
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
|
+
default: D[K];
|
|
48
|
+
}> : P[K];
|
|
49
|
+
};
|
|
50
|
+
type __VLS_Prettify<T> = {
|
|
51
|
+
[K in keyof T]: T[K];
|
|
52
|
+
} & {};
|