@rebilly/revel 6.30.25 → 6.30.27
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 -6
- package/dist/components/r-checkbox/r-checkbox.vue.d.ts +57 -111
- package/dist/components/r-date-input/r-calendar.vue.d.ts +46 -146
- package/dist/components/r-date-input/r-date-input.vue.d.ts +85 -239
- package/dist/components/r-date-input/r-date-range-button-group.vue.d.ts +58 -146
- package/dist/components/r-date-input/r-range-calendar.vue.d.ts +45 -168
- package/dist/revel.mjs +3993 -4394
- package/dist/revel.umd.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
## [6.30.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Bug Fixes
|
|
5
|
-
|
|
6
|
-
* **revel:** Fix duplicated `nanoid` ID generation in case name is not specified ([#6625](https://github.com/Rebilly/rebilly/issues/6625)) ([d59afa9](https://github.com/Rebilly/rebilly/commit/d59afa995ef1d965a72158d2538e751a9220104c))
|
|
1
|
+
## [6.30.27](https://github.com/Rebilly/rebilly/compare/revel-v6.30.26...revel-v6.30.27) (2024-07-19)
|
|
@@ -1,148 +1,94 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
1
|
import type { ValidationState } from '../../types';
|
|
3
|
-
|
|
2
|
+
interface Props {
|
|
4
3
|
/**
|
|
5
4
|
* Label for the checkbox
|
|
6
5
|
*/
|
|
7
|
-
label
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
6
|
+
label?: string;
|
|
11
7
|
/**
|
|
12
8
|
* Unique id of the checkbox
|
|
13
9
|
*/
|
|
14
|
-
id
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: () => string;
|
|
17
|
-
};
|
|
10
|
+
id?: string;
|
|
18
11
|
/**
|
|
19
12
|
* A text to describe the checkbox
|
|
20
13
|
*/
|
|
21
|
-
caption
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: null;
|
|
24
|
-
};
|
|
14
|
+
caption?: string;
|
|
25
15
|
/**
|
|
26
16
|
* Actual parent model for the component
|
|
27
17
|
* @model
|
|
28
18
|
*/
|
|
29
|
-
modelValue
|
|
30
|
-
type: (BooleanConstructor | ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
19
|
+
modelValue?: string | number | boolean | string[];
|
|
33
20
|
/**
|
|
34
21
|
* Used to decide if checkbox is selected. If this value exists
|
|
35
22
|
* in the v-model (array) or equals it, the checkbox shows as checked.
|
|
36
23
|
*/
|
|
37
|
-
value
|
|
38
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
24
|
+
value?: string | boolean;
|
|
41
25
|
/**
|
|
42
26
|
* Semi-selected state
|
|
43
27
|
*/
|
|
44
|
-
fuzzy
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
28
|
+
fuzzy?: boolean;
|
|
48
29
|
/**
|
|
49
30
|
* Disable checkbox
|
|
50
31
|
*/
|
|
51
|
-
disabled
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
32
|
+
disabled?: boolean;
|
|
55
33
|
/**
|
|
56
34
|
* Validation result sent by Vuelidate
|
|
57
35
|
*/
|
|
58
|
-
validate
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
type: StringConstructor;
|
|
83
|
-
default: string;
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* Unique id of the checkbox
|
|
87
|
-
*/
|
|
88
|
-
id: {
|
|
89
|
-
type: StringConstructor;
|
|
90
|
-
default: () => string;
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* A text to describe the checkbox
|
|
94
|
-
*/
|
|
95
|
-
caption: {
|
|
96
|
-
type: StringConstructor;
|
|
97
|
-
default: null;
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* Actual parent model for the component
|
|
101
|
-
* @model
|
|
102
|
-
*/
|
|
103
|
-
modelValue: {
|
|
104
|
-
type: (BooleanConstructor | ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
105
|
-
default: boolean;
|
|
106
|
-
};
|
|
107
|
-
/**
|
|
108
|
-
* Used to decide if checkbox is selected. If this value exists
|
|
109
|
-
* in the v-model (array) or equals it, the checkbox shows as checked.
|
|
110
|
-
*/
|
|
111
|
-
value: {
|
|
112
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
113
|
-
default: string;
|
|
114
|
-
};
|
|
115
|
-
/**
|
|
116
|
-
* Semi-selected state
|
|
117
|
-
*/
|
|
118
|
-
fuzzy: {
|
|
119
|
-
type: BooleanConstructor;
|
|
120
|
-
default: boolean;
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* Disable checkbox
|
|
124
|
-
*/
|
|
125
|
-
disabled: {
|
|
126
|
-
type: BooleanConstructor;
|
|
127
|
-
default: boolean;
|
|
128
|
-
};
|
|
129
|
-
/**
|
|
130
|
-
* Validation result sent by Vuelidate
|
|
131
|
-
*/
|
|
132
|
-
validate: {
|
|
133
|
-
type: PropType<ValidationState>;
|
|
134
|
-
default: null;
|
|
135
|
-
};
|
|
136
|
-
}>> & {
|
|
137
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
validate?: ValidationState;
|
|
37
|
+
}
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
39
|
+
label: string;
|
|
40
|
+
id: () => string;
|
|
41
|
+
caption: undefined;
|
|
42
|
+
modelValue: boolean;
|
|
43
|
+
value: string;
|
|
44
|
+
fuzzy: boolean;
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
validate: undefined;
|
|
47
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
|
+
"update:modelValue": (value: string | number | boolean | string[]) => void;
|
|
49
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
50
|
+
label: string;
|
|
51
|
+
id: () => string;
|
|
52
|
+
caption: undefined;
|
|
53
|
+
modelValue: boolean;
|
|
54
|
+
value: string;
|
|
55
|
+
fuzzy: boolean;
|
|
56
|
+
disabled: boolean;
|
|
57
|
+
validate: undefined;
|
|
58
|
+
}>>> & {
|
|
59
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean | string[]) => any) | undefined;
|
|
138
60
|
}, {
|
|
139
61
|
id: string;
|
|
140
62
|
caption: string;
|
|
141
63
|
label: string;
|
|
142
64
|
disabled: boolean;
|
|
143
65
|
value: string | boolean;
|
|
144
|
-
modelValue: string | number | boolean |
|
|
66
|
+
modelValue: string | number | boolean | string[];
|
|
145
67
|
fuzzy: boolean;
|
|
146
68
|
validate: ValidationState;
|
|
69
|
+
}>, {
|
|
70
|
+
label?(_: {}): any;
|
|
147
71
|
}>;
|
|
148
72
|
export default _default;
|
|
73
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
74
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
75
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
76
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
77
|
+
} : {
|
|
78
|
+
type: import('vue').PropType<T[K]>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
type __VLS_WithDefaults<P, D> = {
|
|
83
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
84
|
+
default: D[K];
|
|
85
|
+
}> : P[K];
|
|
86
|
+
};
|
|
87
|
+
type __VLS_Prettify<T> = {
|
|
88
|
+
[K in keyof T]: T[K];
|
|
89
|
+
} & {};
|
|
90
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
91
|
+
new (): {
|
|
92
|
+
$slots: S;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
@@ -1,171 +1,71 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
1
|
import 'v-calendar/style.css';
|
|
3
|
-
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
interface Props {
|
|
5
3
|
/**
|
|
6
|
-
*
|
|
4
|
+
* Date value
|
|
7
5
|
*/
|
|
8
|
-
modelValue
|
|
9
|
-
type: PropType<string | Date>;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Disable
|
|
14
|
-
*/
|
|
15
|
-
disabled: {
|
|
16
|
-
type: BooleanConstructor;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Validation result sent by Vuelidate
|
|
21
|
-
*/
|
|
22
|
-
validate: {
|
|
23
|
-
type: PropType<ValidationState>;
|
|
24
|
-
default: null;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Time zone
|
|
28
|
-
*/
|
|
29
|
-
timezone: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Type
|
|
35
|
-
*/
|
|
36
|
-
type: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* v-calendar model config configuration
|
|
42
|
-
*/
|
|
43
|
-
modelConfig: {
|
|
44
|
-
type: ObjectConstructor;
|
|
45
|
-
default: null;
|
|
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
|
-
};
|
|
54
|
-
}, {
|
|
55
|
-
themeStyles: {
|
|
56
|
-
wrapper: {
|
|
57
|
-
background: string;
|
|
58
|
-
borderRadius: string;
|
|
59
|
-
boxShadow: string;
|
|
60
|
-
border: string; /**
|
|
61
|
-
* Dates
|
|
62
|
-
*/
|
|
63
|
-
fontFamily: string;
|
|
64
|
-
};
|
|
65
|
-
header: {
|
|
66
|
-
padding: string;
|
|
67
|
-
};
|
|
68
|
-
headerTitle: {
|
|
69
|
-
fontSize: string; /**
|
|
70
|
-
* Disable
|
|
71
|
-
*/
|
|
72
|
-
lineHeight: string;
|
|
73
|
-
fontFamily: string;
|
|
74
|
-
fontWeight: string;
|
|
75
|
-
color: string;
|
|
76
|
-
};
|
|
77
|
-
weekdays: {
|
|
78
|
-
fontSize: string;
|
|
79
|
-
lineHeight: string;
|
|
80
|
-
color: string;
|
|
81
|
-
fontWeight: string;
|
|
82
|
-
};
|
|
83
|
-
dayCell: {
|
|
84
|
-
backgroundColor: string;
|
|
85
|
-
};
|
|
86
|
-
dayContent: {
|
|
87
|
-
fontSize: string;
|
|
88
|
-
lineHeight: string;
|
|
89
|
-
color: string;
|
|
90
|
-
width: string;
|
|
91
|
-
height: string;
|
|
92
|
-
};
|
|
93
|
-
dayContentHover: {
|
|
94
|
-
backgroundColor: string;
|
|
95
|
-
};
|
|
96
|
-
verticalDivider: {
|
|
97
|
-
borderLeft: string;
|
|
98
|
-
};
|
|
99
|
-
bars: {
|
|
100
|
-
backgroundColor: string; /**
|
|
101
|
-
* Masks are used to properly format and parse different sections of the calendar and date picker components.
|
|
102
|
-
*/
|
|
103
|
-
};
|
|
104
|
-
tintColor: string;
|
|
105
|
-
};
|
|
106
|
-
popoverConfigs: Partial<import("v-calendar/dist/types/src/utils/popovers.js").PopoverOptions>;
|
|
107
|
-
computedModelConfig: import("vue").ComputedRef<Record<string, any>>;
|
|
108
|
-
}, unknown, {}, {
|
|
109
|
-
onDateInput(date: Date): void;
|
|
110
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
111
|
-
/**
|
|
112
|
-
* Dates
|
|
113
|
-
*/
|
|
114
|
-
modelValue: {
|
|
115
|
-
type: PropType<string | Date>;
|
|
116
|
-
default: string;
|
|
117
|
-
};
|
|
6
|
+
modelValue?: Date | string;
|
|
118
7
|
/**
|
|
119
8
|
* Disable
|
|
120
9
|
*/
|
|
121
|
-
disabled
|
|
122
|
-
type: BooleanConstructor;
|
|
123
|
-
default: boolean;
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* Validation result sent by Vuelidate
|
|
127
|
-
*/
|
|
128
|
-
validate: {
|
|
129
|
-
type: PropType<ValidationState>;
|
|
130
|
-
default: null;
|
|
131
|
-
};
|
|
10
|
+
disabled?: boolean;
|
|
132
11
|
/**
|
|
133
12
|
* Time zone
|
|
134
13
|
*/
|
|
135
|
-
timezone
|
|
136
|
-
type: StringConstructor;
|
|
137
|
-
default: string;
|
|
138
|
-
};
|
|
14
|
+
timezone?: string;
|
|
139
15
|
/**
|
|
140
16
|
* Type
|
|
141
17
|
*/
|
|
142
|
-
type
|
|
143
|
-
type: StringConstructor;
|
|
144
|
-
default: string;
|
|
145
|
-
};
|
|
18
|
+
type?: string;
|
|
146
19
|
/**
|
|
147
20
|
* v-calendar model config configuration
|
|
148
21
|
*/
|
|
149
|
-
modelConfig
|
|
150
|
-
type: ObjectConstructor;
|
|
151
|
-
default: null;
|
|
152
|
-
};
|
|
22
|
+
modelConfig?: object;
|
|
153
23
|
/**
|
|
154
24
|
* Masks are used to properly format and parse different sections of the calendar and date picker components.
|
|
155
25
|
*/
|
|
156
|
-
masks
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
26
|
+
masks?: object;
|
|
27
|
+
}
|
|
28
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
29
|
+
modelValue: string;
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
timezone: string;
|
|
32
|
+
type: string;
|
|
33
|
+
modelConfig: undefined;
|
|
34
|
+
masks: () => {};
|
|
35
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
"update:modelValue": (value: string | Date) => void;
|
|
37
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
38
|
+
modelValue: string;
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
timezone: string;
|
|
41
|
+
type: string;
|
|
42
|
+
modelConfig: undefined;
|
|
43
|
+
masks: () => {};
|
|
44
|
+
}>>> & {
|
|
45
|
+
"onUpdate:modelValue"?: ((value: string | Date) => any) | undefined;
|
|
162
46
|
}, {
|
|
163
47
|
type: string;
|
|
164
48
|
disabled: boolean;
|
|
165
49
|
modelValue: string | Date;
|
|
166
|
-
validate: ValidationState;
|
|
167
|
-
masks: Record<string, any>;
|
|
168
50
|
timezone: string;
|
|
169
|
-
modelConfig:
|
|
51
|
+
modelConfig: object;
|
|
52
|
+
masks: object;
|
|
170
53
|
}>;
|
|
171
54
|
export default _default;
|
|
55
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
57
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
+
} : {
|
|
60
|
+
type: import('vue').PropType<T[K]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
type __VLS_WithDefaults<P, D> = {
|
|
65
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
66
|
+
default: D[K];
|
|
67
|
+
}> : P[K];
|
|
68
|
+
};
|
|
69
|
+
type __VLS_Prettify<T> = {
|
|
70
|
+
[K in keyof T]: T[K];
|
|
71
|
+
} & {};
|