@rebilly/revel 6.30.16 → 6.30.18

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.16](https://github.com/Rebilly/rebilly/compare/revel-v6.30.15...revel-v6.30.16) (2024-07-15)
1
+ ## [6.30.18](https://github.com/Rebilly/rebilly/compare/revel-v6.30.17...revel-v6.30.18) (2024-07-15)
@@ -1,3 +1,4 @@
1
+ import type { IconNames } from '../r-icon/r-icon-sprites';
1
2
  interface Props {
2
3
  /**
3
4
  * A title text
@@ -14,7 +15,7 @@ interface Props {
14
15
  /**
15
16
  * Icon to display
16
17
  */
17
- icon?: string;
18
+ icon?: IconNames;
18
19
  }
19
20
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
20
21
  title: undefined;
@@ -27,9 +28,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
28
  type: string;
28
29
  permanent: boolean;
29
30
  }>>>, {
30
- icon: string;
31
- type: "default" | "warning" | "info" | "positive" | "negative";
32
31
  title: string;
32
+ 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";
33
+ type: "info" | "default" | "warning" | "positive" | "negative";
33
34
  permanent: boolean;
34
35
  }>, {
35
36
  content?(_: {}): any;
@@ -1,85 +1,41 @@
1
- import { type PropType } from 'vue';
2
- declare const _default: import("vue").DefineComponent<{
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
- type: StringConstructor;
37
- default: null;
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: StringConstructor;
76
- default: null;
77
- };
78
- }>>, {
79
- icon: string;
80
- color: Nullable<string>;
81
- image: 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
+ };
@@ -21,8 +21,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
21
21
  onClick?: (() => any) | undefined;
22
22
  onClose?: (() => any) | undefined;
23
23
  }, {
24
- type: string;
25
24
  close: boolean;
25
+ type: string;
26
26
  }>, {
27
27
  default?(_: {}): any;
28
28
  }>;
@@ -1,3 +1,4 @@
1
+ import { type PropType } from 'vue';
1
2
  declare const _default: import("vue").DefineComponent<{
2
3
  /**
3
4
  * Specify button size
@@ -61,21 +62,21 @@ declare const _default: import("vue").DefineComponent<{
61
62
  * Append icon to the left side of the button
62
63
  */
63
64
  iconLeft: {
64
- type: StringConstructor;
65
+ 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">;
65
66
  default: null;
66
67
  };
67
68
  /**
68
69
  * Append icon to the right side of the button
69
70
  */
70
71
  iconRight: {
71
- type: StringConstructor;
72
+ 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">;
72
73
  default: null;
73
74
  };
74
75
  /**
75
76
  * Displays only icon
76
77
  */
77
78
  icon: {
78
- type: StringConstructor;
79
+ 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">;
79
80
  default: null;
80
81
  };
81
82
  }, unknown, {
@@ -151,34 +152,34 @@ declare const _default: import("vue").DefineComponent<{
151
152
  * Append icon to the left side of the button
152
153
  */
153
154
  iconLeft: {
154
- type: StringConstructor;
155
+ 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">;
155
156
  default: null;
156
157
  };
157
158
  /**
158
159
  * Append icon to the right side of the button
159
160
  */
160
161
  iconRight: {
161
- type: StringConstructor;
162
+ 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">;
162
163
  default: null;
163
164
  };
164
165
  /**
165
166
  * Displays only icon
166
167
  */
167
168
  icon: {
168
- type: StringConstructor;
169
+ 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">;
169
170
  default: null;
170
171
  };
171
172
  }>>, {
172
- icon: string;
173
- type: string;
173
+ loading: boolean;
174
174
  link: boolean;
175
+ 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";
176
+ type: string;
175
177
  size: string;
176
178
  disabled: boolean;
177
179
  active: boolean;
178
180
  fluid: boolean;
179
- loading: boolean;
180
181
  capitalizeFirstLetter: boolean;
181
- iconLeft: string;
182
- iconRight: string;
182
+ iconLeft: "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";
183
+ iconRight: "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";
183
184
  }>;
184
185
  export default _default;
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  * @model
28
28
  */
29
29
  modelValue: {
30
- type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
30
+ type: (BooleanConstructor | ArrayConstructor | StringConstructor | NumberConstructor)[];
31
31
  default: boolean;
32
32
  };
33
33
  /**
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
35
35
  * in the v-model (array) or equals it, the checkbox shows as checked.
36
36
  */
37
37
  value: {
38
- type: (StringConstructor | BooleanConstructor)[];
38
+ type: (BooleanConstructor | StringConstructor)[];
39
39
  default: string;
40
40
  };
41
41
  /**
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
101
101
  * @model
102
102
  */
103
103
  modelValue: {
104
- type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
104
+ type: (BooleanConstructor | ArrayConstructor | StringConstructor | NumberConstructor)[];
105
105
  default: boolean;
106
106
  };
107
107
  /**
@@ -109,7 +109,7 @@ declare const _default: import("vue").DefineComponent<{
109
109
  * in the v-model (array) or equals it, the checkbox shows as checked.
110
110
  */
111
111
  value: {
112
- type: (StringConstructor | BooleanConstructor)[];
112
+ type: (BooleanConstructor | StringConstructor)[];
113
113
  default: string;
114
114
  };
115
115
  /**
@@ -136,11 +136,11 @@ declare const _default: import("vue").DefineComponent<{
136
136
  }>> & {
137
137
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
138
138
  }, {
139
+ id: string;
139
140
  caption: string;
140
141
  label: string;
141
142
  disabled: boolean;
142
143
  value: string | boolean;
143
- id: string;
144
144
  modelValue: string | number | boolean | unknown[];
145
145
  fuzzy: boolean;
146
146
  validate: ValidationState;
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
28
28
  * @model
29
29
  */
30
30
  modelValue: {
31
- type: (StringConstructor | ObjectConstructor | DateConstructor)[];
31
+ type: (ObjectConstructor | DateConstructor | StringConstructor)[];
32
32
  default: () => Date;
33
33
  };
34
34
  /**
@@ -84,14 +84,14 @@ declare const _default: import("vue").DefineComponent<{
84
84
  * Min date
85
85
  */
86
86
  minDate: {
87
- type: (StringConstructor | ObjectConstructor | DateConstructor)[];
87
+ type: (ObjectConstructor | DateConstructor | StringConstructor)[];
88
88
  default: null;
89
89
  };
90
90
  /**
91
91
  * Max date
92
92
  */
93
93
  maxDate: {
94
- type: (StringConstructor | ObjectConstructor | DateConstructor)[];
94
+ type: (ObjectConstructor | DateConstructor | StringConstructor)[];
95
95
  default: null;
96
96
  };
97
97
  /**
@@ -184,7 +184,7 @@ declare const _default: import("vue").DefineComponent<{
184
184
  * @model
185
185
  */
186
186
  modelValue: {
187
- type: (StringConstructor | ObjectConstructor | DateConstructor)[];
187
+ type: (ObjectConstructor | DateConstructor | StringConstructor)[];
188
188
  default: () => Date;
189
189
  };
190
190
  /**
@@ -240,14 +240,14 @@ declare const _default: import("vue").DefineComponent<{
240
240
  * Min date
241
241
  */
242
242
  minDate: {
243
- type: (StringConstructor | ObjectConstructor | DateConstructor)[];
243
+ type: (ObjectConstructor | DateConstructor | StringConstructor)[];
244
244
  default: null;
245
245
  };
246
246
  /**
247
247
  * Max date
248
248
  */
249
249
  maxDate: {
250
- type: (StringConstructor | ObjectConstructor | DateConstructor)[];
250
+ type: (ObjectConstructor | DateConstructor | StringConstructor)[];
251
251
  default: null;
252
252
  };
253
253
  /**
@@ -290,11 +290,12 @@ declare const _default: import("vue").DefineComponent<{
290
290
  }>> & {
291
291
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
292
292
  }, {
293
- type: string;
293
+ columns: number;
294
+ id: string;
294
295
  caption: string;
295
296
  label: string;
297
+ type: string;
296
298
  disabled: boolean;
297
- id: string;
298
299
  modelValue: string | Record<string, any> | Date;
299
300
  validate: ValidationState;
300
301
  placement: string;
@@ -307,6 +308,5 @@ declare const _default: import("vue").DefineComponent<{
307
308
  placeholder: string;
308
309
  timePicker: boolean;
309
310
  availableDates: Record<string, any>;
310
- columns: number;
311
311
  }>;
312
312
  export default _default;
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
36
36
  */
37
37
  setFocus(): void;
38
38
  change(event: Event): void;
39
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "close" | "cancel")[], "input" | "close" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
39
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "input" | "cancel")[], "close" | "input" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
40
40
  /**
41
41
  * Allow to submit multiple files
42
42
  */
@@ -12,7 +12,7 @@ import type { BadgeColumn } from './types';
12
12
  */
13
13
  declare const _default: import("vue").DefineComponent<{
14
14
  value: {
15
- type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
15
+ type: (BooleanConstructor | ArrayConstructor | StringConstructor | NumberConstructor)[];
16
16
  required: true;
17
17
  };
18
18
  row: {
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  getBadgeType(value: string): string;
28
28
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
29
  value: {
30
- type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
30
+ type: (BooleanConstructor | ArrayConstructor | StringConstructor | NumberConstructor)[];
31
31
  required: true;
32
32
  };
33
33
  row: {
@@ -1,7 +1,7 @@
1
1
  export declare const ColumnTypes: {
2
2
  badge: import("vue").DefineComponent<{
3
3
  value: {
4
- type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
4
+ type: (BooleanConstructor | ArrayConstructor | StringConstructor | NumberConstructor)[];
5
5
  required: true;
6
6
  };
7
7
  row: {
@@ -16,7 +16,7 @@ export declare const ColumnTypes: {
16
16
  getBadgeType(value: string): string;
17
17
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
18
  value: {
19
- type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
19
+ type: (BooleanConstructor | ArrayConstructor | StringConstructor | NumberConstructor)[];
20
20
  required: true;
21
21
  };
22
22
  row: {
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
31
31
  * Defines the property, which changes will trigger the fetching of data
32
32
  */
33
33
  watcher: {
34
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
34
+ type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
35
35
  default: null;
36
36
  };
37
37
  /**
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
59
59
  } | undefined;
60
60
  getComponent({ renderAs }: Column): import("vue").DefineComponent<{
61
61
  value: {
62
- type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
62
+ type: (BooleanConstructor | ArrayConstructor | StringConstructor | NumberConstructor)[];
63
63
  required: true;
64
64
  };
65
65
  row: {
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
76
76
  getBadgeType(value: string): string;
77
77
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
78
78
  value: {
79
- type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
79
+ type: (BooleanConstructor | ArrayConstructor | StringConstructor | NumberConstructor)[];
80
80
  required: true;
81
81
  };
82
82
  row: {
@@ -202,7 +202,7 @@ declare const _default: import("vue").DefineComponent<{
202
202
  * Defines the property, which changes will trigger the fetching of data
203
203
  */
204
204
  watcher: {
205
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
205
+ type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
206
206
  default: null;
207
207
  };
208
208
  /**
@@ -124,7 +124,7 @@ export declare const RIconNames: {
124
124
  camera: string;
125
125
  };
126
126
  export declare const RIconColors: {
127
- default: null;
127
+ default: string;
128
128
  'on-surface': string;
129
129
  primary: string;
130
130
  success: string;
@@ -132,5 +132,7 @@ export declare const RIconColors: {
132
132
  danger: string;
133
133
  info: string;
134
134
  };
135
+ export type IconColor = keyof typeof RIconColors;
136
+ export type IconNames = keyof typeof RIconNames;
135
137
  export declare const RIconSprites: string;
136
138
  export declare function RIconSpritesAppend(el?: HTMLElement | DocumentFragment | null): void;
@@ -1,61 +1,48 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ import type { IconColor, IconNames } from './r-icon-sprites';
2
+ interface Props {
2
3
  /**
3
4
  * Select any icon available in our svg sprite
4
5
  */
5
- icon: {
6
- type: StringConstructor;
7
- default: null;
8
- };
9
- /**
10
- * Choose any color available in our pallete
11
- */
12
- color: {
13
- type: StringConstructor;
14
- default: null;
15
- validator: (val: string) => boolean;
16
- };
17
- /**
18
- * Prevent native click events from capturing in parent components
19
- */
20
- stopPropagation: {
21
- type: BooleanConstructor;
22
- default: boolean;
23
- };
24
- }, unknown, unknown, {
25
- iconName(): string;
26
- classes(): {
27
- [x: string]: boolean;
28
- };
29
- }, {
30
- bubbleClick(evt: Event): void;
31
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
- /**
33
- * Select any icon available in our svg sprite
34
- */
35
- icon: {
36
- type: StringConstructor;
37
- default: null;
38
- };
6
+ icon: Nullable<IconNames>;
39
7
  /**
40
- * Choose any color available in our pallete
8
+ * Choose any color from our status color palette
9
+ * primary, on-surface, success, warning, danger, info
41
10
  */
42
- color: {
43
- type: StringConstructor;
44
- default: null;
45
- validator: (val: string) => boolean;
46
- };
11
+ color?: IconColor;
47
12
  /**
48
13
  * Prevent native click events from capturing in parent components
49
14
  */
50
- stopPropagation: {
51
- type: BooleanConstructor;
52
- default: boolean;
53
- };
54
- }>> & {
55
- onClick?: ((...args: any[]) => any) | undefined;
56
- }, {
57
- icon: string;
15
+ stopPropagation?: boolean;
16
+ }
17
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
58
18
  color: string;
59
19
  stopPropagation: boolean;
20
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ click: () => void;
22
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
23
+ color: string;
24
+ stopPropagation: boolean;
25
+ }>>> & {
26
+ onClick?: (() => any) | undefined;
27
+ }, {
28
+ color: "info" | "default" | "on-surface" | "primary" | "success" | "warning" | "danger";
29
+ stopPropagation: boolean;
60
30
  }>;
61
31
  export default _default;
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToRuntimeProps<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import('vue').PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };
41
+ type __VLS_WithDefaults<P, D> = {
42
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
+ default: D[K];
44
+ }> : P[K];
45
+ };
46
+ type __VLS_Prettify<T> = {
47
+ [K in keyof T]: T[K];
48
+ } & {};