@rebilly/revel 6.29.2 → 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 +3 -3
- 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-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 +1819 -1723
- package/dist/revel.umd.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +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
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Features
|
|
5
5
|
|
|
6
|
-
* **
|
|
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;
|
|
@@ -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;
|