@rebilly/revel 6.30.18 → 6.30.19

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 CHANGED
@@ -1 +1 @@
1
- ## [6.30.18](https://github.com/Rebilly/rebilly/compare/revel-v6.30.17...revel-v6.30.18) (2024-07-15)
1
+ ## [6.30.19](https://github.com/Rebilly/rebilly/compare/revel-v6.30.18...revel-v6.30.19) (2024-07-16)
@@ -1,96 +1,69 @@
1
- declare const _default: import("vue").DefineComponent<{
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
- * Specify image width
15
+ * Image width
75
16
  */
76
- width: {
77
- type: StringConstructor;
78
- default: string;
79
- };
17
+ width?: string;
80
18
  /**
81
- * Specify image height
19
+ * Image height
82
20
  */
83
- height: {
84
- type: StringConstructor;
85
- default: string;
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
+ };