@rebilly/revel 13.2.1 → 13.3.1
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-date-input/r-date-input.vue.d.ts +10 -0
- package/dist/components/r-date-range/r-date-range.vue.d.ts +15 -0
- package/dist/components/r-field-label/r-field-label.vue.d.ts +31 -0
- package/dist/components/r-input/r-input.vue.d.ts +10 -0
- package/dist/components/r-month-picker/r-month-picker.vue.d.ts +15 -0
- package/dist/components/r-select/r-select.vue.d.ts +59 -0
- package/dist/revel.mjs +916 -797
- package/dist/revel.umd.js +11 -11
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
## 13.
|
|
1
|
+
## 13.3.1 (2026-10-19)
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- Updated eslint-config to 4.32.4
|
|
@@ -19,6 +19,7 @@ export { default as RIcon } from './r-icon/r-icon.vue';
|
|
|
19
19
|
export { default as RImg } from './r-img/r-img.vue';
|
|
20
20
|
export { default as RInput } from './r-input/r-input.vue';
|
|
21
21
|
export { default as RFieldGroup } from './r-field-group/r-field-group.vue';
|
|
22
|
+
export { default as RFieldLabel } from './r-field-label/r-field-label.vue';
|
|
22
23
|
export { default as RLoader } from './r-loader/r-loader.vue';
|
|
23
24
|
export { default as RModal } from './r-modal/r-modal.vue';
|
|
24
25
|
export { default as RMonthPicker } from './r-month-picker/r-month-picker.vue';
|
|
@@ -5,6 +5,14 @@ interface Props {
|
|
|
5
5
|
* Label for the date picker
|
|
6
6
|
*/
|
|
7
7
|
label?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Marks the field as required in the label
|
|
10
|
+
*/
|
|
11
|
+
required?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Marks the field as optional in the label
|
|
14
|
+
*/
|
|
15
|
+
optional?: boolean;
|
|
8
16
|
/**
|
|
9
17
|
* Unique id of the date picker
|
|
10
18
|
*/
|
|
@@ -113,6 +121,7 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
113
121
|
caption: string;
|
|
114
122
|
label: string;
|
|
115
123
|
type: string;
|
|
124
|
+
required: boolean;
|
|
116
125
|
disabled: boolean;
|
|
117
126
|
modelValue: Date | object | string | null;
|
|
118
127
|
validate: Nullable<ValidationState>;
|
|
@@ -128,6 +137,7 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
128
137
|
maxDate: Date | string | object;
|
|
129
138
|
timePicker: boolean;
|
|
130
139
|
showValidateMessages: boolean;
|
|
140
|
+
optional: boolean;
|
|
131
141
|
availableDates: object;
|
|
132
142
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
133
143
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import type { DateRange } from './types';
|
|
2
2
|
import type { ValidationState } from '../../types';
|
|
3
3
|
interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Unique id of the date range control. Links the label to the trigger button.
|
|
6
|
+
*/
|
|
7
|
+
id?: string;
|
|
4
8
|
label?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Marks the field as required in the label
|
|
11
|
+
*/
|
|
12
|
+
required?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Marks the field as optional in the label
|
|
15
|
+
*/
|
|
16
|
+
optional?: boolean;
|
|
5
17
|
placeholder?: string;
|
|
6
18
|
disabled?: boolean;
|
|
7
19
|
validate?: Nullable<ValidationState>;
|
|
@@ -33,8 +45,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
33
45
|
onClear?: (() => any) | undefined;
|
|
34
46
|
}>, {
|
|
35
47
|
columns: 1 | 2;
|
|
48
|
+
id: string;
|
|
36
49
|
placeholder: string;
|
|
37
50
|
label: string;
|
|
51
|
+
required: boolean;
|
|
38
52
|
disabled: boolean;
|
|
39
53
|
validate: Nullable<ValidationState>;
|
|
40
54
|
timezone: string;
|
|
@@ -43,6 +57,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
43
57
|
maxDate: Date | string;
|
|
44
58
|
showPresets: boolean;
|
|
45
59
|
showValidateMessages: boolean;
|
|
60
|
+
optional: boolean;
|
|
46
61
|
showTimePicker: boolean;
|
|
47
62
|
maxDateRangeDays: number;
|
|
48
63
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* ID of the control the label describes
|
|
4
|
+
*/
|
|
5
|
+
for?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Marks the field as required with an asterisk and a screen reader text
|
|
8
|
+
*/
|
|
9
|
+
required?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Marks the field as optional with an "(optional)" hint
|
|
12
|
+
*/
|
|
13
|
+
optional?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare var __VLS_1: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
default?: (props: typeof __VLS_1) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
20
|
+
required: boolean;
|
|
21
|
+
for: string;
|
|
22
|
+
optional: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -7,6 +7,14 @@ interface Props {
|
|
|
7
7
|
* Label for input
|
|
8
8
|
*/
|
|
9
9
|
label?: Nullable<string>;
|
|
10
|
+
/**
|
|
11
|
+
* Marks the field as required in the label
|
|
12
|
+
*/
|
|
13
|
+
required?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Marks the field as optional in the label
|
|
16
|
+
*/
|
|
17
|
+
optional?: boolean;
|
|
10
18
|
/**
|
|
11
19
|
* Model value
|
|
12
20
|
*/
|
|
@@ -144,12 +152,14 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props,
|
|
|
144
152
|
}>, {
|
|
145
153
|
label: Nullable<string>;
|
|
146
154
|
onPaste: Nullable<(event: ClipboardEvent) => void>;
|
|
155
|
+
required: boolean;
|
|
147
156
|
name: string;
|
|
148
157
|
modelValue: Nullable<string | number | boolean>;
|
|
149
158
|
validate: Nullable<ValidationState>;
|
|
150
159
|
password: boolean;
|
|
151
160
|
inputEvents: Record<string, unknown>;
|
|
152
161
|
showValidateMessages: boolean;
|
|
162
|
+
optional: boolean;
|
|
153
163
|
helpText: Nullable<string>;
|
|
154
164
|
multiline: boolean;
|
|
155
165
|
submitOnEnter: boolean;
|
|
@@ -7,7 +7,19 @@ export interface Props {
|
|
|
7
7
|
/**
|
|
8
8
|
* Label for the month picker
|
|
9
9
|
*/
|
|
10
|
+
/**
|
|
11
|
+
* Unique id of the month picker control. Links the label to the trigger button.
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
10
14
|
label?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Marks the field as required in the label
|
|
17
|
+
*/
|
|
18
|
+
required?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Marks the field as optional in the label
|
|
21
|
+
*/
|
|
22
|
+
optional?: boolean;
|
|
11
23
|
/**
|
|
12
24
|
* Help text for the month picker
|
|
13
25
|
*/
|
|
@@ -48,9 +60,12 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
48
60
|
"onMonth-change"?: ((value: number) => any) | undefined;
|
|
49
61
|
"onYear-change"?: ((value: number) => any) | undefined;
|
|
50
62
|
}>, {
|
|
63
|
+
id: string;
|
|
51
64
|
placeholder: string;
|
|
52
65
|
caption: string;
|
|
53
66
|
label: string;
|
|
67
|
+
required: boolean;
|
|
68
|
+
optional: boolean;
|
|
54
69
|
position: Position;
|
|
55
70
|
clearable: boolean;
|
|
56
71
|
minValue: Month;
|
|
@@ -124,6 +124,20 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
124
124
|
type: StringConstructor;
|
|
125
125
|
default: string;
|
|
126
126
|
};
|
|
127
|
+
/**
|
|
128
|
+
* Marks the field as required in the label
|
|
129
|
+
*/
|
|
130
|
+
required: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Marks the field as optional in the label
|
|
136
|
+
*/
|
|
137
|
+
optional: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
127
141
|
/**
|
|
128
142
|
* Specify the limit quantity of shown selected options
|
|
129
143
|
*/
|
|
@@ -518,6 +532,20 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
518
532
|
type: StringConstructor;
|
|
519
533
|
default: string;
|
|
520
534
|
};
|
|
535
|
+
/**
|
|
536
|
+
* Marks the field as required in the label
|
|
537
|
+
*/
|
|
538
|
+
required: {
|
|
539
|
+
type: BooleanConstructor;
|
|
540
|
+
default: boolean;
|
|
541
|
+
};
|
|
542
|
+
/**
|
|
543
|
+
* Marks the field as optional in the label
|
|
544
|
+
*/
|
|
545
|
+
optional: {
|
|
546
|
+
type: BooleanConstructor;
|
|
547
|
+
default: boolean;
|
|
548
|
+
};
|
|
521
549
|
/**
|
|
522
550
|
* Specify the limit quantity of shown selected options
|
|
523
551
|
*/
|
|
@@ -740,6 +768,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
740
768
|
id: string;
|
|
741
769
|
placeholder: string;
|
|
742
770
|
label: string;
|
|
771
|
+
required: boolean;
|
|
743
772
|
disabled: boolean;
|
|
744
773
|
tabindex: number;
|
|
745
774
|
name: string;
|
|
@@ -747,6 +776,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
747
776
|
validate: ValidationState;
|
|
748
777
|
allowEmpty: boolean;
|
|
749
778
|
showValidateMessages: boolean;
|
|
779
|
+
optional: boolean;
|
|
750
780
|
multiple: boolean;
|
|
751
781
|
helpText: string;
|
|
752
782
|
autocomplete: string;
|
|
@@ -898,4 +928,33 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
898
928
|
default?: (props: {}) => any;
|
|
899
929
|
};
|
|
900
930
|
});
|
|
931
|
+
RFieldLabel: {
|
|
932
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../r-field-label/r-field-label.vue").Props> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
933
|
+
required: boolean;
|
|
934
|
+
for: string;
|
|
935
|
+
optional: boolean;
|
|
936
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
937
|
+
P: {};
|
|
938
|
+
B: {};
|
|
939
|
+
D: {};
|
|
940
|
+
C: {};
|
|
941
|
+
M: {};
|
|
942
|
+
Defaults: {};
|
|
943
|
+
}, Readonly<import("../r-field-label/r-field-label.vue").Props> & Readonly<{}>, {}, {}, {}, {}, {
|
|
944
|
+
required: boolean;
|
|
945
|
+
for: string;
|
|
946
|
+
optional: boolean;
|
|
947
|
+
}>;
|
|
948
|
+
__isFragment?: never;
|
|
949
|
+
__isTeleport?: never;
|
|
950
|
+
__isSuspense?: never;
|
|
951
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("../r-field-label/r-field-label.vue").Props> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
952
|
+
required: boolean;
|
|
953
|
+
for: string;
|
|
954
|
+
optional: boolean;
|
|
955
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
956
|
+
$slots: {
|
|
957
|
+
default?: (props: {}) => any;
|
|
958
|
+
};
|
|
959
|
+
});
|
|
901
960
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|