@rebilly/revel 6.30.17 → 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 +1 -1
- package/dist/components/r-avatar/r-avatar.vue.d.ts +24 -68
- package/dist/components/r-img/r-img.vue.d.ts +50 -77
- package/dist/revel.mjs +2599 -2682
- package/dist/revel.umd.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
## [6.30.
|
|
1
|
+
## [6.30.19](https://github.com/Rebilly/rebilly/compare/revel-v6.30.18...revel-v6.30.19) (2024-07-16)
|
|
@@ -1,85 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import type { IconNames } from '../r-icon/r-icon-sprites';
|
|
2
|
+
interface Props {
|
|
3
3
|
/**
|
|
4
4
|
* Display initials
|
|
5
5
|
*/
|
|
6
|
-
initials
|
|
7
|
-
type: PropType<Nullable<string>>;
|
|
8
|
-
validator: (value: string) => boolean;
|
|
9
|
-
default: null;
|
|
10
|
-
};
|
|
6
|
+
initials?: string;
|
|
11
7
|
/**
|
|
12
8
|
* A text to describe the avatar
|
|
13
9
|
*/
|
|
14
|
-
description
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: null;
|
|
17
|
-
};
|
|
10
|
+
description?: string;
|
|
18
11
|
/**
|
|
19
12
|
* The avatar image
|
|
20
13
|
*/
|
|
21
|
-
image
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: null;
|
|
24
|
-
};
|
|
14
|
+
image?: string;
|
|
25
15
|
/**
|
|
26
16
|
* Color for the avatar
|
|
27
17
|
*/
|
|
28
|
-
color
|
|
29
|
-
type: PropType<Nullable<string>>;
|
|
30
|
-
default: null;
|
|
31
|
-
};
|
|
18
|
+
color?: string;
|
|
32
19
|
/**
|
|
33
20
|
* Icon for the avatar
|
|
34
21
|
*/
|
|
35
|
-
icon
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
}, unknown, unknown, {
|
|
40
|
-
initialsColor(): string;
|
|
41
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
-
/**
|
|
43
|
-
* Display initials
|
|
44
|
-
*/
|
|
45
|
-
initials: {
|
|
46
|
-
type: PropType<Nullable<string>>;
|
|
47
|
-
validator: (value: string) => boolean;
|
|
48
|
-
default: null;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* A text to describe the avatar
|
|
52
|
-
*/
|
|
53
|
-
description: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
default: null;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* The avatar image
|
|
59
|
-
*/
|
|
60
|
-
image: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: null;
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* Color for the avatar
|
|
66
|
-
*/
|
|
67
|
-
color: {
|
|
68
|
-
type: PropType<Nullable<string>>;
|
|
69
|
-
default: null;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Icon for the avatar
|
|
73
|
-
*/
|
|
74
|
-
icon: {
|
|
75
|
-
type: PropType<"fingerprint" | "dashboard" | "lists" | "automation" | "customers" | "orders" | "transactions" | "guides" | "settings" | "alerts" | "stream" | "search" | "filter" | "collapse-segments" | "resize-columns" | "segments" | "lock" | "caret-up" | "caret-down" | "caret-down-s" | "caret-left" | "caret-right" | "arrow-up" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up-l" | "arrow-down-l" | "arrow-left-l" | "arrow-right-l" | "close" | "close-s" | "logout" | "actions" | "circle" | "eye" | "eye-closed" | "burger" | "help" | "info" | "dash-l" | "company" | "website" | "email" | "external-link" | "trash" | "bank" | "map-marker" | "credit-card" | "checkout" | "check-s" | "custom-fields" | "calendar" | "columns" | "blocklists" | "webhooks" | "sticky-note" | "clip" | "loading" | "product" | "api-key" | "coupon" | "average" | "payments" | "tag" | "clone" | "copy" | "edit" | "edit-s" | "stop" | "unlock" | "event" | "invoices" | "rules" | "users" | "sharp" | "at" | "file" | "download" | "export" | "data-exports" | "shipping" | "plus" | "drag" | "reset" | "drag-move" | "world" | "integrations" | "id" | "phone" | "batch" | "merge" | "placeholders" | "caret-double-left" | "caret-double-right" | "heart" | "checkbox-checkmark" | "radio-checkmark" | "star" | "star-empty" | "report-match" | "emulate" | "billing-portal" | "app-store" | "kyc" | "cake" | "briefcase" | "tag-untag" | "risk-score" | "list" | "notifications" | "one-column" | "rebilly-logo" | "two-columns" | "meter" | "reports" | "allowlists" | "collapse-layout" | "rebilly-icon" | "sun" | "moon" | "upload" | "camera">;
|
|
76
|
-
default: null;
|
|
77
|
-
};
|
|
78
|
-
}>>, {
|
|
79
|
-
image: string;
|
|
80
|
-
icon: "fingerprint" | "dashboard" | "lists" | "automation" | "customers" | "orders" | "transactions" | "guides" | "settings" | "alerts" | "stream" | "search" | "filter" | "collapse-segments" | "resize-columns" | "segments" | "lock" | "caret-up" | "caret-down" | "caret-down-s" | "caret-left" | "caret-right" | "arrow-up" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up-l" | "arrow-down-l" | "arrow-left-l" | "arrow-right-l" | "close" | "close-s" | "logout" | "actions" | "circle" | "eye" | "eye-closed" | "burger" | "help" | "info" | "dash-l" | "company" | "website" | "email" | "external-link" | "trash" | "bank" | "map-marker" | "credit-card" | "checkout" | "check-s" | "custom-fields" | "calendar" | "columns" | "blocklists" | "webhooks" | "sticky-note" | "clip" | "loading" | "product" | "api-key" | "coupon" | "average" | "payments" | "tag" | "clone" | "copy" | "edit" | "edit-s" | "stop" | "unlock" | "event" | "invoices" | "rules" | "users" | "sharp" | "at" | "file" | "download" | "export" | "data-exports" | "shipping" | "plus" | "drag" | "reset" | "drag-move" | "world" | "integrations" | "id" | "phone" | "batch" | "merge" | "placeholders" | "caret-double-left" | "caret-double-right" | "heart" | "checkbox-checkmark" | "radio-checkmark" | "star" | "star-empty" | "report-match" | "emulate" | "billing-portal" | "app-store" | "kyc" | "cake" | "briefcase" | "tag-untag" | "risk-score" | "list" | "notifications" | "one-column" | "rebilly-logo" | "two-columns" | "meter" | "reports" | "allowlists" | "collapse-layout" | "rebilly-icon" | "sun" | "moon" | "upload" | "camera";
|
|
81
|
-
color: Nullable<string>;
|
|
82
|
-
initials: Nullable<string>;
|
|
83
|
-
description: string;
|
|
22
|
+
icon?: IconNames;
|
|
23
|
+
}
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}>, {
|
|
25
|
+
default?(_: {}): any;
|
|
84
26
|
}>;
|
|
85
27
|
export default _default;
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -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
|
+
};
|