@rebilly/revel 6.30.21 → 6.30.23
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-button/r-button.vue.d.ts +71 -140
- package/dist/components/r-radio/r-radio.vue.d.ts +1 -1
- package/dist/components/r-select/r-select.vue.d.ts +1 -1
- package/dist/components/r-toggle/r-toggle.vue.d.ts +43 -56
- package/dist/revel.mjs +2311 -2438
- package/dist/revel.umd.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
## [6.30.
|
|
1
|
+
## [6.30.23](https://github.com/Rebilly/rebilly/compare/revel-v6.30.22...revel-v6.30.23) (2024-07-17)
|
|
@@ -1,185 +1,116 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import type { IconNames } from '../r-icon/r-icon-sprites';
|
|
2
|
+
interface Props {
|
|
3
3
|
/**
|
|
4
4
|
* Specify button size
|
|
5
5
|
*/
|
|
6
|
-
size
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
validator: (val: string) => boolean;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Specify button as anchor link
|
|
13
|
-
*/
|
|
14
|
-
link: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Specify button type according to your theme colors
|
|
20
|
-
*/
|
|
21
|
-
type: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: string;
|
|
24
|
-
validator: (val: string) => boolean;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Disabled state just like for regular html button
|
|
28
|
-
*/
|
|
29
|
-
disabled: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Active state just like for regular button
|
|
35
|
-
*/
|
|
36
|
-
active: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Make button full width
|
|
42
|
-
*/
|
|
43
|
-
fluid: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* Append loading spinner to button
|
|
49
|
-
*/
|
|
50
|
-
loading: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Capitalize the first letter
|
|
56
|
-
*/
|
|
57
|
-
capitalizeFirstLetter: {
|
|
58
|
-
type: BooleanConstructor;
|
|
59
|
-
default: boolean;
|
|
60
|
-
};
|
|
6
|
+
size?: 'small' | 'regular' | 'large';
|
|
61
7
|
/**
|
|
62
|
-
*
|
|
8
|
+
* Specify button as anchor link element
|
|
63
9
|
*/
|
|
64
|
-
|
|
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">;
|
|
66
|
-
default: null;
|
|
67
|
-
};
|
|
10
|
+
link?: boolean;
|
|
68
11
|
/**
|
|
69
|
-
*
|
|
12
|
+
* Anchor link element destination URL
|
|
70
13
|
*/
|
|
71
|
-
|
|
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">;
|
|
73
|
-
default: null;
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* Displays only icon
|
|
77
|
-
*/
|
|
78
|
-
icon: {
|
|
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">;
|
|
80
|
-
default: null;
|
|
81
|
-
};
|
|
82
|
-
}, unknown, {
|
|
83
|
-
messages: {
|
|
84
|
-
loading: string;
|
|
85
|
-
disabled: string;
|
|
86
|
-
};
|
|
87
|
-
}, {
|
|
88
|
-
classes(): Record<`r-${string}`, boolean>;
|
|
89
|
-
title(): string;
|
|
90
|
-
divRole(): "" | "button";
|
|
91
|
-
href(): string;
|
|
92
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
93
|
-
/**
|
|
94
|
-
* Specify button size
|
|
95
|
-
*/
|
|
96
|
-
size: {
|
|
97
|
-
type: StringConstructor;
|
|
98
|
-
default: string;
|
|
99
|
-
validator: (val: string) => boolean;
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* Specify button as anchor link
|
|
103
|
-
*/
|
|
104
|
-
link: {
|
|
105
|
-
type: BooleanConstructor;
|
|
106
|
-
default: boolean;
|
|
107
|
-
};
|
|
14
|
+
href?: string;
|
|
108
15
|
/**
|
|
109
16
|
* Specify button type according to your theme colors
|
|
110
17
|
*/
|
|
111
|
-
type
|
|
112
|
-
type: StringConstructor;
|
|
113
|
-
default: string;
|
|
114
|
-
validator: (val: string) => boolean;
|
|
115
|
-
};
|
|
18
|
+
type?: 'default' | 'primary' | 'danger' | 'positive' | 'plain' | 'unstyled' | 'link';
|
|
116
19
|
/**
|
|
117
20
|
* Disabled state just like for regular html button
|
|
118
21
|
*/
|
|
119
|
-
disabled
|
|
120
|
-
type: BooleanConstructor;
|
|
121
|
-
default: boolean;
|
|
122
|
-
};
|
|
22
|
+
disabled?: boolean;
|
|
123
23
|
/**
|
|
124
24
|
* Active state just like for regular button
|
|
125
25
|
*/
|
|
126
|
-
active
|
|
127
|
-
type: BooleanConstructor;
|
|
128
|
-
default: boolean;
|
|
129
|
-
};
|
|
26
|
+
active?: boolean;
|
|
130
27
|
/**
|
|
131
28
|
* Make button full width
|
|
132
29
|
*/
|
|
133
|
-
fluid
|
|
134
|
-
type: BooleanConstructor;
|
|
135
|
-
default: boolean;
|
|
136
|
-
};
|
|
30
|
+
fluid?: boolean;
|
|
137
31
|
/**
|
|
138
32
|
* Append loading spinner to button
|
|
139
33
|
*/
|
|
140
|
-
loading
|
|
141
|
-
type: BooleanConstructor;
|
|
142
|
-
default: boolean;
|
|
143
|
-
};
|
|
34
|
+
loading?: boolean;
|
|
144
35
|
/**
|
|
145
36
|
* Capitalize the first letter
|
|
146
37
|
*/
|
|
147
|
-
capitalizeFirstLetter
|
|
148
|
-
type: BooleanConstructor;
|
|
149
|
-
default: boolean;
|
|
150
|
-
};
|
|
38
|
+
capitalizeFirstLetter?: boolean;
|
|
151
39
|
/**
|
|
152
40
|
* Append icon to the left side of the button
|
|
153
41
|
*/
|
|
154
|
-
iconLeft
|
|
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">;
|
|
156
|
-
default: null;
|
|
157
|
-
};
|
|
42
|
+
iconLeft?: IconNames;
|
|
158
43
|
/**
|
|
159
44
|
* Append icon to the right side of the button
|
|
160
45
|
*/
|
|
161
|
-
iconRight
|
|
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">;
|
|
163
|
-
default: null;
|
|
164
|
-
};
|
|
46
|
+
iconRight?: IconNames;
|
|
165
47
|
/**
|
|
166
48
|
* Displays only icon
|
|
167
49
|
*/
|
|
168
|
-
icon
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}>>, {
|
|
173
|
-
loading: boolean;
|
|
50
|
+
icon?: IconNames;
|
|
51
|
+
}
|
|
52
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
53
|
+
size: string;
|
|
174
54
|
link: boolean;
|
|
175
|
-
|
|
55
|
+
href: undefined;
|
|
176
56
|
type: string;
|
|
57
|
+
disabled: boolean;
|
|
58
|
+
active: boolean;
|
|
59
|
+
fluid: boolean;
|
|
60
|
+
loading: boolean;
|
|
61
|
+
capitalizeFirstLetter: boolean;
|
|
62
|
+
iconLeft: undefined;
|
|
63
|
+
iconRight: undefined;
|
|
64
|
+
icon: undefined;
|
|
65
|
+
}>, {}, 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>, {
|
|
177
66
|
size: string;
|
|
67
|
+
link: boolean;
|
|
68
|
+
href: undefined;
|
|
69
|
+
type: string;
|
|
70
|
+
disabled: boolean;
|
|
71
|
+
active: boolean;
|
|
72
|
+
fluid: boolean;
|
|
73
|
+
loading: boolean;
|
|
74
|
+
capitalizeFirstLetter: boolean;
|
|
75
|
+
iconLeft: undefined;
|
|
76
|
+
iconRight: undefined;
|
|
77
|
+
icon: undefined;
|
|
78
|
+
}>>>, {
|
|
79
|
+
loading: boolean;
|
|
80
|
+
link: boolean;
|
|
81
|
+
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";
|
|
82
|
+
type: "default" | "primary" | "danger" | "link" | "positive" | "plain" | "unstyled";
|
|
83
|
+
size: "small" | "regular" | "large";
|
|
84
|
+
href: string;
|
|
178
85
|
disabled: boolean;
|
|
179
86
|
active: boolean;
|
|
180
87
|
fluid: boolean;
|
|
181
88
|
capitalizeFirstLetter: boolean;
|
|
182
89
|
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
90
|
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";
|
|
91
|
+
}>, {
|
|
92
|
+
default?(_: {}): any;
|
|
184
93
|
}>;
|
|
185
94
|
export default _default;
|
|
95
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
96
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
97
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
98
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
99
|
+
} : {
|
|
100
|
+
type: import('vue').PropType<T[K]>;
|
|
101
|
+
required: true;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
type __VLS_WithDefaults<P, D> = {
|
|
105
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
106
|
+
default: D[K];
|
|
107
|
+
}> : P[K];
|
|
108
|
+
};
|
|
109
|
+
type __VLS_Prettify<T> = {
|
|
110
|
+
[K in keyof T]: T[K];
|
|
111
|
+
} & {};
|
|
112
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
113
|
+
new (): {
|
|
114
|
+
$slots: S;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
@@ -124,8 +124,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
124
124
|
id: string;
|
|
125
125
|
caption: string;
|
|
126
126
|
label: string;
|
|
127
|
-
name: string;
|
|
128
127
|
disabled: boolean;
|
|
128
|
+
name: string;
|
|
129
129
|
modelValue: string | number | boolean | unknown[];
|
|
130
130
|
validate: ValidationState;
|
|
131
131
|
}>;
|
|
@@ -693,8 +693,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
693
693
|
loading: boolean;
|
|
694
694
|
id: string;
|
|
695
695
|
label: string;
|
|
696
|
-
name: string;
|
|
697
696
|
disabled: boolean;
|
|
697
|
+
name: string;
|
|
698
698
|
modelValue: Nullable<OptionItem | Options>;
|
|
699
699
|
validate: ValidationState;
|
|
700
700
|
placeholder: string;
|
|
@@ -1,69 +1,56 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Displays a label for the toggle
|
|
4
4
|
*/
|
|
5
|
-
label
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: null;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Native html input name for element
|
|
11
|
-
*/
|
|
12
|
-
name: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: () => string;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Used to decide if checkbox is selected
|
|
18
|
-
*/
|
|
19
|
-
modelValue: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Disabled state similar to navite html element
|
|
25
|
-
*/
|
|
26
|
-
disabled: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
}, unknown, unknown, {}, {
|
|
31
|
-
change(event: Event): void;
|
|
32
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
-
/**
|
|
34
|
-
* Append text label near checkbox
|
|
35
|
-
*/
|
|
36
|
-
label: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
default: null;
|
|
39
|
-
};
|
|
5
|
+
label?: Nullable<string>;
|
|
40
6
|
/**
|
|
41
|
-
*
|
|
7
|
+
* Adds a unique id to the toggle
|
|
42
8
|
*/
|
|
43
|
-
name
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: () => string;
|
|
46
|
-
};
|
|
9
|
+
name?: string;
|
|
47
10
|
/**
|
|
48
|
-
*
|
|
11
|
+
* Parent model for the component
|
|
49
12
|
*/
|
|
50
|
-
modelValue
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
13
|
+
modelValue?: boolean;
|
|
54
14
|
/**
|
|
55
|
-
*
|
|
15
|
+
* Disables the toggle
|
|
56
16
|
*/
|
|
57
|
-
disabled
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
20
|
+
label: null;
|
|
21
|
+
name: string;
|
|
22
|
+
modelValue: boolean;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (value: boolean) => void;
|
|
26
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
27
|
+
label: null;
|
|
65
28
|
name: string;
|
|
29
|
+
modelValue: boolean;
|
|
66
30
|
disabled: boolean;
|
|
31
|
+
}>>> & {
|
|
32
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
label: Nullable<string>;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
name: string;
|
|
67
37
|
modelValue: boolean;
|
|
68
38
|
}>;
|
|
69
39
|
export default _default;
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
type __VLS_WithDefaults<P, D> = {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
+
default: D[K];
|
|
52
|
+
}> : P[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_Prettify<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|