@rebilly/revel 6.29.1 → 6.30.0
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 +6 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/r-alert/r-alert.vue.d.ts +73 -0
- package/dist/components/r-button/r-button.vue.d.ts +1 -1
- package/dist/components/r-checkbox/r-checkbox.vue.d.ts +1 -1
- package/dist/components/r-date-input/r-calendar.vue.d.ts +18 -1
- package/dist/components/r-date-input/r-date-input.vue.d.ts +15 -0
- package/dist/components/r-file-upload/r-file-upload.vue.d.ts +1 -1
- package/dist/components/r-modal/r-modal.vue.d.ts +1 -1
- package/dist/components/r-select/r-select.vue.d.ts +1 -1
- package/dist/components/r-tabs/r-tab.vue.d.ts +1 -1
- package/dist/revel.mjs +1839 -1725
- package/dist/revel.umd.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
## [6.
|
|
1
|
+
## [6.30.0](https://github.com/Rebilly/rebilly/compare/revel-v6.29.2...revel-v6.30.0) (2024-06-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **revel:** Add alert component ([#6008](https://github.com/Rebilly/rebilly/issues/6008)) ([b64b228](https://github.com/Rebilly/rebilly/commit/b64b228594f87b305dcd33f993b7c4491005a06d))
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
type AlertType = 'default' | 'negative' | 'positive' | 'info' | 'warning';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
/**
|
|
5
|
+
* A title text
|
|
6
|
+
*/
|
|
7
|
+
title: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: null;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Displays the level of urgency
|
|
13
|
+
*/
|
|
14
|
+
type: {
|
|
15
|
+
type: PropType<AlertType>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Keeps the alert open
|
|
20
|
+
*/
|
|
21
|
+
permanent: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Icon to display
|
|
27
|
+
*/
|
|
28
|
+
icon: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: null;
|
|
31
|
+
};
|
|
32
|
+
}, unknown, {
|
|
33
|
+
isAlertOpen: boolean;
|
|
34
|
+
}, {
|
|
35
|
+
styles(): Record<string, boolean>;
|
|
36
|
+
}, {
|
|
37
|
+
closeAlert(): void;
|
|
38
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
/**
|
|
40
|
+
* A title text
|
|
41
|
+
*/
|
|
42
|
+
title: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: null;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Displays the level of urgency
|
|
48
|
+
*/
|
|
49
|
+
type: {
|
|
50
|
+
type: PropType<AlertType>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Keeps the alert open
|
|
55
|
+
*/
|
|
56
|
+
permanent: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Icon to display
|
|
62
|
+
*/
|
|
63
|
+
icon: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: null;
|
|
66
|
+
};
|
|
67
|
+
}>>, {
|
|
68
|
+
icon: string;
|
|
69
|
+
type: AlertType;
|
|
70
|
+
title: string;
|
|
71
|
+
permanent: boolean;
|
|
72
|
+
}>;
|
|
73
|
+
export default _default;
|
|
@@ -185,11 +185,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
185
185
|
icon: string;
|
|
186
186
|
type: string;
|
|
187
187
|
link: boolean;
|
|
188
|
-
loading: boolean;
|
|
189
188
|
size: string;
|
|
190
189
|
disabled: boolean;
|
|
191
190
|
active: boolean;
|
|
192
191
|
fluid: boolean;
|
|
192
|
+
loading: boolean;
|
|
193
193
|
capitalizeFirstLetter: boolean;
|
|
194
194
|
iconLeft: string;
|
|
195
195
|
iconRight: string;
|
|
@@ -138,8 +138,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
138
138
|
}, {
|
|
139
139
|
caption: string;
|
|
140
140
|
label: string;
|
|
141
|
-
value: string | boolean;
|
|
142
141
|
disabled: boolean;
|
|
142
|
+
value: string | boolean;
|
|
143
143
|
id: string;
|
|
144
144
|
modelValue: string | number | boolean | unknown[];
|
|
145
145
|
fuzzy: boolean;
|
|
@@ -44,6 +44,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
type: ObjectConstructor;
|
|
45
45
|
default: null;
|
|
46
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* Masks are used to properly format and parse different sections of the calendar and date picker components.
|
|
49
|
+
*/
|
|
50
|
+
masks: {
|
|
51
|
+
type: ObjectConstructor;
|
|
52
|
+
default: () => void;
|
|
53
|
+
};
|
|
47
54
|
}, {
|
|
48
55
|
themeStyles: {
|
|
49
56
|
wrapper: {
|
|
@@ -90,7 +97,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
97
|
borderLeft: string;
|
|
91
98
|
};
|
|
92
99
|
bars: {
|
|
93
|
-
backgroundColor: string;
|
|
100
|
+
backgroundColor: string; /**
|
|
101
|
+
* Masks are used to properly format and parse different sections of the calendar and date picker components.
|
|
102
|
+
*/
|
|
94
103
|
};
|
|
95
104
|
tintColor: string;
|
|
96
105
|
};
|
|
@@ -141,6 +150,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
141
150
|
type: ObjectConstructor;
|
|
142
151
|
default: null;
|
|
143
152
|
};
|
|
153
|
+
/**
|
|
154
|
+
* Masks are used to properly format and parse different sections of the calendar and date picker components.
|
|
155
|
+
*/
|
|
156
|
+
masks: {
|
|
157
|
+
type: ObjectConstructor;
|
|
158
|
+
default: () => void;
|
|
159
|
+
};
|
|
144
160
|
}>> & {
|
|
145
161
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
146
162
|
}, {
|
|
@@ -148,6 +164,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
148
164
|
disabled: boolean;
|
|
149
165
|
modelValue: string | Date;
|
|
150
166
|
validate: ValidationState;
|
|
167
|
+
masks: Record<string, any>;
|
|
151
168
|
timezone: string;
|
|
152
169
|
modelConfig: Record<string, any>;
|
|
153
170
|
}>;
|
|
@@ -124,6 +124,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
124
124
|
type: StringConstructor;
|
|
125
125
|
default: null;
|
|
126
126
|
};
|
|
127
|
+
/**
|
|
128
|
+
* Masks are used to properly format and parse different sections of the calendar and date picker components.
|
|
129
|
+
*/
|
|
130
|
+
masks: {
|
|
131
|
+
type: ObjectConstructor;
|
|
132
|
+
default: () => void;
|
|
133
|
+
};
|
|
127
134
|
}, unknown, unknown, {
|
|
128
135
|
isInvalid(): boolean;
|
|
129
136
|
isDateRange(): boolean;
|
|
@@ -273,6 +280,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
273
280
|
type: StringConstructor;
|
|
274
281
|
default: null;
|
|
275
282
|
};
|
|
283
|
+
/**
|
|
284
|
+
* Masks are used to properly format and parse different sections of the calendar and date picker components.
|
|
285
|
+
*/
|
|
286
|
+
masks: {
|
|
287
|
+
type: ObjectConstructor;
|
|
288
|
+
default: () => void;
|
|
289
|
+
};
|
|
276
290
|
}>> & {
|
|
277
291
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
278
292
|
}, {
|
|
@@ -285,6 +299,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
285
299
|
validate: ValidationState;
|
|
286
300
|
placement: string;
|
|
287
301
|
is24hr: boolean;
|
|
302
|
+
masks: Record<string, any>;
|
|
288
303
|
locale: string;
|
|
289
304
|
timezone: string;
|
|
290
305
|
minDate: string | Record<string, any> | Date;
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
*/
|
|
35
35
|
setFocus(): void;
|
|
36
36
|
change(event: Event): void;
|
|
37
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "
|
|
37
|
+
}, 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<{
|
|
38
38
|
/**
|
|
39
39
|
* Allow to submit multiple files
|
|
40
40
|
*/
|
|
@@ -122,8 +122,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
123
123
|
}, {
|
|
124
124
|
title: string;
|
|
125
|
-
scroll: boolean;
|
|
126
125
|
size: string;
|
|
126
|
+
scroll: boolean;
|
|
127
127
|
show: boolean;
|
|
128
128
|
duration: number;
|
|
129
129
|
cancelLabel: string;
|
|
@@ -688,8 +688,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
688
688
|
}, {
|
|
689
689
|
name: string;
|
|
690
690
|
label: string;
|
|
691
|
-
loading: boolean;
|
|
692
691
|
disabled: boolean;
|
|
692
|
+
loading: boolean;
|
|
693
693
|
id: string;
|
|
694
694
|
modelValue: Nullable<OptionItem | Options>;
|
|
695
695
|
validate: ValidationState;
|