@rebilly/revel 6.19.1 → 6.19.2
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 +2 -0
- package/dist/components/r-avatar/r-avatar.vue.d.ts +1 -1
- package/dist/components/r-button/r-button.vue.d.ts +1 -1
- package/dist/components/r-checkbox/r-checkbox.vue.d.ts +4 -4
- package/dist/components/r-date-input/r-calendar.vue.d.ts +6 -2
- package/dist/components/r-date-input/r-date-input.vue.d.ts +9 -9
- package/dist/components/r-date-input/r-date-range-button-group.vue.d.ts +3 -3
- package/dist/components/r-date-input/r-range-calendar.vue.d.ts +5 -2
- package/dist/components/r-file-upload/r-file-upload.vue.d.ts +1 -1
- package/dist/components/r-grid/columnTypes/badge.vue.d.ts +2 -2
- package/dist/components/r-grid/columnTypes/index.d.ts +14 -14
- package/dist/components/r-grid/r-grid.vue.d.ts +10 -6
- package/dist/components/r-icon-button/r-icon-button.vue.d.ts +1 -1
- package/dist/components/r-input/r-input.vue.d.ts +4 -4
- package/dist/components/r-loader/r-loader.vue.d.ts +1 -1
- package/dist/components/r-modal/r-modal.vue.d.ts +3 -3
- package/dist/components/r-month-picker/r-month-picker.vue.d.ts +1 -1
- package/dist/components/r-popper/r-popper.vue.d.ts +5 -5
- package/dist/components/r-radio/r-radio.vue.d.ts +5 -5
- package/dist/components/r-select/r-select.vue.d.ts +17 -17
- package/dist/components/r-tabs/r-tab.vue.d.ts +1 -1
- package/dist/components/r-toast/r-toast.vue.d.ts +3 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
## [6.19.2](https://github.com/Rebilly/rebilly/compare/revel-v6.19.1...revel-v6.19.2) (2024-03-25)
|
|
2
|
+
|
|
1
3
|
## [6.19.1](https://github.com/Rebilly/rebilly/compare/revel-v6.19.0...revel-v6.19.1) (2024-03-21)
|
|
2
4
|
|
|
3
5
|
## [6.19.0](https://github.com/Rebilly/rebilly/compare/revel-v6.18.0...revel-v6.19.0) (2024-03-21)
|
|
@@ -180,10 +180,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
180
180
|
default: null;
|
|
181
181
|
};
|
|
182
182
|
}>>, {
|
|
183
|
+
icon: string;
|
|
183
184
|
type: string;
|
|
184
185
|
link: boolean;
|
|
185
186
|
loading: boolean;
|
|
186
|
-
icon: string;
|
|
187
187
|
size: string;
|
|
188
188
|
disabled: boolean;
|
|
189
189
|
active: boolean;
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
* @model
|
|
28
28
|
*/
|
|
29
29
|
modelValue: {
|
|
30
|
-
type: (
|
|
30
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
101
|
* @model
|
|
102
102
|
*/
|
|
103
103
|
modelValue: {
|
|
104
|
-
type: (
|
|
104
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
105
105
|
default: boolean;
|
|
106
106
|
};
|
|
107
107
|
/**
|
|
@@ -136,11 +136,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
136
136
|
}>> & {
|
|
137
137
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
138
138
|
}, {
|
|
139
|
-
value: string | boolean;
|
|
140
139
|
caption: string;
|
|
141
140
|
label: string;
|
|
142
|
-
|
|
141
|
+
value: string | boolean;
|
|
143
142
|
disabled: boolean;
|
|
143
|
+
id: string;
|
|
144
144
|
modelValue: string | number | boolean | unknown[];
|
|
145
145
|
fuzzy: boolean;
|
|
146
146
|
validate: ValidationState;
|
|
@@ -50,14 +50,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
background: string;
|
|
51
51
|
borderRadius: string;
|
|
52
52
|
boxShadow: string;
|
|
53
|
-
border: string;
|
|
53
|
+
border: string; /**
|
|
54
|
+
* Dates
|
|
55
|
+
*/
|
|
54
56
|
fontFamily: string;
|
|
55
57
|
};
|
|
56
58
|
header: {
|
|
57
59
|
padding: string;
|
|
58
60
|
};
|
|
59
61
|
headerTitle: {
|
|
60
|
-
fontSize: string;
|
|
62
|
+
fontSize: string; /**
|
|
63
|
+
* Disable
|
|
64
|
+
*/
|
|
61
65
|
lineHeight: string;
|
|
62
66
|
fontFamily: string;
|
|
63
67
|
fontWeight: string;
|
|
@@ -130,8 +130,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
130
130
|
commonAttrs(): {
|
|
131
131
|
id: string;
|
|
132
132
|
name: string;
|
|
133
|
-
minDate: string |
|
|
134
|
-
maxDate: string |
|
|
133
|
+
minDate: string | Record<string, any> | Date;
|
|
134
|
+
maxDate: string | Record<string, any> | Date;
|
|
135
135
|
columns: number;
|
|
136
136
|
placement: string;
|
|
137
137
|
timePicker: boolean;
|
|
@@ -279,19 +279,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
279
279
|
type: string;
|
|
280
280
|
caption: string;
|
|
281
281
|
label: string;
|
|
282
|
-
columns: number;
|
|
283
|
-
id: string;
|
|
284
282
|
disabled: boolean;
|
|
285
|
-
|
|
283
|
+
id: string;
|
|
284
|
+
modelValue: string | Record<string, any> | Date;
|
|
286
285
|
validate: ValidationState;
|
|
286
|
+
placement: string;
|
|
287
287
|
is24hr: boolean;
|
|
288
288
|
locale: string;
|
|
289
289
|
timezone: string;
|
|
290
|
-
minDate: string |
|
|
291
|
-
maxDate: string |
|
|
292
|
-
placement: string;
|
|
293
|
-
timePicker: boolean;
|
|
290
|
+
minDate: string | Record<string, any> | Date;
|
|
291
|
+
maxDate: string | Record<string, any> | Date;
|
|
294
292
|
placeholder: string;
|
|
293
|
+
timePicker: boolean;
|
|
295
294
|
availableDates: Record<string, any>;
|
|
295
|
+
columns: number;
|
|
296
296
|
}>;
|
|
297
297
|
export default _default;
|
|
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
67
|
calendarPresetsPeriodsList(): [string, import("./calendar-presets").CalendarPresetPeriod][];
|
|
68
68
|
isValidDatesPeriod(): boolean;
|
|
69
69
|
isRelative(): boolean;
|
|
70
|
-
selectedRelativeParams():
|
|
70
|
+
selectedRelativeParams(): import("./calendar-presets").CalendarPresetPeriod | DateRange | {
|
|
71
71
|
start: string;
|
|
72
72
|
end: string;
|
|
73
73
|
} | {
|
|
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
102
|
getFormattedPresetPeriod(presetName: CalendarPreset): string;
|
|
103
103
|
validateDatesPeriod(period: Voidable<Moment | string | Date>): boolean;
|
|
104
104
|
toggle(name: string): void;
|
|
105
|
-
parsePeriod(period: string | DateRange):
|
|
105
|
+
parsePeriod(period: string | DateRange): import("./calendar-presets").CalendarPresetPeriod | DateRange | {
|
|
106
106
|
start: string;
|
|
107
107
|
end: string;
|
|
108
108
|
} | null;
|
|
@@ -159,9 +159,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
159
159
|
modelValue: string | DateRange;
|
|
160
160
|
is24hr: boolean;
|
|
161
161
|
timezone: string;
|
|
162
|
+
placeholder: string;
|
|
162
163
|
calendarToggle: Function;
|
|
163
164
|
timePicker: boolean;
|
|
164
165
|
showPresets: boolean;
|
|
165
|
-
placeholder: string;
|
|
166
166
|
}>;
|
|
167
167
|
export default _default;
|
|
@@ -81,7 +81,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
81
|
};
|
|
82
82
|
dayCell: {
|
|
83
83
|
backgroundColor: string;
|
|
84
|
-
};
|
|
84
|
+
}; /**
|
|
85
|
+
* Used to specify selected dates
|
|
86
|
+
* @model
|
|
87
|
+
*/
|
|
85
88
|
dayContent: {
|
|
86
89
|
fontSize: string;
|
|
87
90
|
lineHeight: string;
|
|
@@ -188,7 +191,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
188
191
|
validate: ValidationState;
|
|
189
192
|
is24hr: boolean;
|
|
190
193
|
timezone: string;
|
|
191
|
-
timePicker: boolean;
|
|
192
194
|
placeholder: string;
|
|
195
|
+
timePicker: boolean;
|
|
193
196
|
}>;
|
|
194
197
|
export default _default;
|
|
@@ -57,8 +57,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
default: boolean;
|
|
58
58
|
};
|
|
59
59
|
}>> & {
|
|
60
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
61
60
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
62
62
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
disabled: boolean;
|
|
@@ -12,7 +12,7 @@ import type { BadgeColumn } from './types';
|
|
|
12
12
|
*/
|
|
13
13
|
declare const _default: import("vue").DefineComponent<{
|
|
14
14
|
value: {
|
|
15
|
-
type: (
|
|
15
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
18
|
row: {
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
getBadgeType(value: string): string;
|
|
28
28
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
value: {
|
|
30
|
-
type: (
|
|
30
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
31
31
|
required: true;
|
|
32
32
|
};
|
|
33
33
|
row: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const ColumnTypes: {
|
|
2
2
|
badge: import("vue").DefineComponent<{
|
|
3
3
|
value: {
|
|
4
|
-
type: (
|
|
4
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
7
|
row: {
|
|
@@ -9,14 +9,14 @@ export declare const ColumnTypes: {
|
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
11
|
column: {
|
|
12
|
-
type: import("vue").PropType<import("./types
|
|
12
|
+
type: import("vue").PropType<import("./types").BadgeColumn>;
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
15
|
}, unknown, unknown, {}, {
|
|
16
16
|
getBadgeType(value: string): string;
|
|
17
17
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
value: {
|
|
19
|
-
type: (
|
|
19
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
22
|
row: {
|
|
@@ -24,13 +24,13 @@ export declare const ColumnTypes: {
|
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
column: {
|
|
27
|
-
type: import("vue").PropType<import("./types
|
|
27
|
+
type: import("vue").PropType<import("./types").BadgeColumn>;
|
|
28
28
|
required: true;
|
|
29
29
|
};
|
|
30
30
|
}>>, {}>;
|
|
31
31
|
button: import("vue").DefineComponent<{
|
|
32
32
|
column: {
|
|
33
|
-
type: import("vue").PropType<import("./types
|
|
33
|
+
type: import("vue").PropType<import("./types").ButtonColumn>;
|
|
34
34
|
required: true;
|
|
35
35
|
};
|
|
36
36
|
row: {
|
|
@@ -42,12 +42,12 @@ export declare const ColumnTypes: {
|
|
|
42
42
|
default: null;
|
|
43
43
|
};
|
|
44
44
|
}, unknown, unknown, {
|
|
45
|
-
buttons(): import("./types
|
|
45
|
+
buttons(): import("./types").ButtonOptions[];
|
|
46
46
|
}, {
|
|
47
|
-
buttonOptions(button: import("./types
|
|
47
|
+
buttonOptions(button: import("./types").ButtonOptions): import("./button.vue").ButtonColumnRenderOptions;
|
|
48
48
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
49
|
column: {
|
|
50
|
-
type: import("vue").PropType<import("./types
|
|
50
|
+
type: import("vue").PropType<import("./types").ButtonColumn>;
|
|
51
51
|
required: true;
|
|
52
52
|
};
|
|
53
53
|
row: {
|
|
@@ -63,7 +63,7 @@ export declare const ColumnTypes: {
|
|
|
63
63
|
}>;
|
|
64
64
|
text: import("vue").DefineComponent<{
|
|
65
65
|
column: {
|
|
66
|
-
type: import("vue").PropType<import("./types
|
|
66
|
+
type: import("vue").PropType<import("./types").GridColumn>;
|
|
67
67
|
required: true;
|
|
68
68
|
};
|
|
69
69
|
value: {
|
|
@@ -72,7 +72,7 @@ export declare const ColumnTypes: {
|
|
|
72
72
|
};
|
|
73
73
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
74
|
column: {
|
|
75
|
-
type: import("vue").PropType<import("./types
|
|
75
|
+
type: import("vue").PropType<import("./types").GridColumn>;
|
|
76
76
|
required: true;
|
|
77
77
|
};
|
|
78
78
|
value: {
|
|
@@ -82,7 +82,7 @@ export declare const ColumnTypes: {
|
|
|
82
82
|
}>>, {}>;
|
|
83
83
|
date: import("vue").DefineComponent<{
|
|
84
84
|
column: {
|
|
85
|
-
type: import("vue").PropType<import("./types
|
|
85
|
+
type: import("vue").PropType<import("./types").DateColumn>;
|
|
86
86
|
required: true;
|
|
87
87
|
};
|
|
88
88
|
value: {
|
|
@@ -94,7 +94,7 @@ export declare const ColumnTypes: {
|
|
|
94
94
|
title(): string;
|
|
95
95
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
96
96
|
column: {
|
|
97
|
-
type: import("vue").PropType<import("./types
|
|
97
|
+
type: import("vue").PropType<import("./types").DateColumn>;
|
|
98
98
|
required: true;
|
|
99
99
|
};
|
|
100
100
|
value: {
|
|
@@ -108,7 +108,7 @@ export declare const ColumnTypes: {
|
|
|
108
108
|
required: true;
|
|
109
109
|
};
|
|
110
110
|
column: {
|
|
111
|
-
type: import("vue").PropType<import("./types
|
|
111
|
+
type: import("vue").PropType<import("./types").NumericColumn>;
|
|
112
112
|
required: true;
|
|
113
113
|
};
|
|
114
114
|
}, unknown, unknown, {
|
|
@@ -119,7 +119,7 @@ export declare const ColumnTypes: {
|
|
|
119
119
|
required: true;
|
|
120
120
|
};
|
|
121
121
|
column: {
|
|
122
|
-
type: import("vue").PropType<import("./types
|
|
122
|
+
type: import("vue").PropType<import("./types").NumericColumn>;
|
|
123
123
|
required: true;
|
|
124
124
|
};
|
|
125
125
|
}>>, {}>;
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
* Defines the property, which changes will trigger the fetching of data
|
|
32
32
|
*/
|
|
33
33
|
watcher: {
|
|
34
|
-
type: (StringConstructor | BooleanConstructor |
|
|
34
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
|
|
35
35
|
default: null;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
} | undefined;
|
|
60
60
|
getComponent({ renderAs }: Column): import("vue").DefineComponent<{
|
|
61
61
|
value: {
|
|
62
|
-
type: (
|
|
62
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
63
63
|
required: true;
|
|
64
64
|
};
|
|
65
65
|
row: {
|
|
@@ -69,12 +69,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
69
|
column: {
|
|
70
70
|
type: PropType<import("./columnTypes/types").BadgeColumn>;
|
|
71
71
|
required: true;
|
|
72
|
-
};
|
|
72
|
+
}; /**
|
|
73
|
+
* Defines the property, which changes will trigger the fetching of data
|
|
74
|
+
*/
|
|
73
75
|
}, unknown, unknown, {}, {
|
|
74
76
|
getBadgeType(value: string): string;
|
|
75
77
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
78
|
value: {
|
|
77
|
-
type: (
|
|
79
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
78
80
|
required: true;
|
|
79
81
|
};
|
|
80
82
|
row: {
|
|
@@ -84,7 +86,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
86
|
column: {
|
|
85
87
|
type: PropType<import("./columnTypes/types").BadgeColumn>;
|
|
86
88
|
required: true;
|
|
87
|
-
};
|
|
89
|
+
}; /**
|
|
90
|
+
* Defines the property, which changes will trigger the fetching of data
|
|
91
|
+
*/
|
|
88
92
|
}>>, {}> | import("vue").DefineComponent<{
|
|
89
93
|
column: {
|
|
90
94
|
type: PropType<import("./columnTypes/types").ButtonColumn>;
|
|
@@ -198,7 +202,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
198
202
|
* Defines the property, which changes will trigger the fetching of data
|
|
199
203
|
*/
|
|
200
204
|
watcher: {
|
|
201
|
-
type: (StringConstructor | BooleanConstructor |
|
|
205
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
|
|
202
206
|
default: null;
|
|
203
207
|
};
|
|
204
208
|
/**
|
|
@@ -122,11 +122,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
123
123
|
}, {
|
|
124
124
|
type: string;
|
|
125
|
-
tooltip: string;
|
|
126
125
|
size: string;
|
|
127
126
|
disabled: boolean;
|
|
128
127
|
fluid: boolean;
|
|
129
128
|
capitalizeFirstLetter: boolean;
|
|
129
|
+
tooltip: string;
|
|
130
130
|
fitted: boolean;
|
|
131
131
|
tooltipRightEdge: boolean;
|
|
132
132
|
}>;
|
|
@@ -195,7 +195,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
195
195
|
click(): void;
|
|
196
196
|
autoResizeTextArea(element: HTMLElement): void;
|
|
197
197
|
highlight(): void;
|
|
198
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
198
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "blur" | "focus" | "update:modelValue" | "key-press" | "key-down" | "key-submit" | "left-icon-click" | "right-icon-click")[], "click" | "blur" | "focus" | "update:modelValue" | "key-press" | "key-down" | "key-submit" | "left-icon-click" | "right-icon-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
199
199
|
/**
|
|
200
200
|
* TBD
|
|
201
201
|
*/
|
|
@@ -373,9 +373,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
373
373
|
};
|
|
374
374
|
}>> & {
|
|
375
375
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
376
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
377
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
378
376
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
377
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
378
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
379
379
|
"onKey-press"?: ((...args: any[]) => any) | undefined;
|
|
380
380
|
"onKey-down"?: ((...args: any[]) => any) | undefined;
|
|
381
381
|
"onKey-submit"?: ((...args: any[]) => any) | undefined;
|
|
@@ -387,6 +387,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
387
387
|
modelValue: Nullable<string | number | boolean>;
|
|
388
388
|
validate: Record<string, any>;
|
|
389
389
|
inputEvents: Record<string, any>;
|
|
390
|
+
rightIcon: string;
|
|
390
391
|
rows: string | number;
|
|
391
392
|
numeric: boolean;
|
|
392
393
|
helpText: string;
|
|
@@ -394,7 +395,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
394
395
|
submitOnEnter: boolean;
|
|
395
396
|
leftIcon: string;
|
|
396
397
|
leftIconClickPointer: boolean;
|
|
397
|
-
rightIcon: string;
|
|
398
398
|
rightIconClickPointer: boolean;
|
|
399
399
|
leftIconSpinning: boolean;
|
|
400
400
|
rightIconSpinning: boolean;
|
|
@@ -116,17 +116,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
116
116
|
default: number;
|
|
117
117
|
};
|
|
118
118
|
}>> & {
|
|
119
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
120
119
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
120
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
onLeave?: ((...args: any[]) => any) | undefined;
|
|
122
122
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
123
123
|
}, {
|
|
124
124
|
title: string;
|
|
125
|
-
show: boolean;
|
|
126
125
|
scroll: boolean;
|
|
127
126
|
size: string;
|
|
127
|
+
show: boolean;
|
|
128
|
+
duration: number;
|
|
128
129
|
cancelLabel: string;
|
|
129
130
|
scrollContent: boolean;
|
|
130
|
-
duration: number;
|
|
131
131
|
}>;
|
|
132
132
|
export default _default;
|
|
@@ -99,7 +99,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
99
99
|
* Position
|
|
100
100
|
*/
|
|
101
101
|
position: {
|
|
102
|
-
type: PropType<"
|
|
102
|
+
type: PropType<"bottomEnd" | "bottomStart" | "topStart" | "topEnd">;
|
|
103
103
|
default: string;
|
|
104
104
|
validator: (position: string) => boolean;
|
|
105
105
|
};
|
|
@@ -232,7 +232,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
232
232
|
* Position
|
|
233
233
|
*/
|
|
234
234
|
position: {
|
|
235
|
-
type: PropType<"
|
|
235
|
+
type: PropType<"bottomEnd" | "bottomStart" | "topStart" | "topEnd">;
|
|
236
236
|
default: string;
|
|
237
237
|
validator: (position: string) => boolean;
|
|
238
238
|
};
|
|
@@ -257,12 +257,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
257
257
|
"onToggle-on"?: ((...args: any[]) => any) | undefined;
|
|
258
258
|
"onToggle-off"?: ((...args: any[]) => any) | undefined;
|
|
259
259
|
}, {
|
|
260
|
-
autoHide: boolean;
|
|
261
260
|
disabled: boolean;
|
|
262
261
|
fluid: boolean;
|
|
263
|
-
|
|
264
|
-
position: "
|
|
262
|
+
autoHide: boolean;
|
|
263
|
+
position: "bottomEnd" | "bottomStart" | "topStart" | "topEnd";
|
|
265
264
|
offset: number;
|
|
265
|
+
duration: number;
|
|
266
266
|
state: boolean;
|
|
267
267
|
escToHide: boolean;
|
|
268
268
|
globalAutoHide: boolean;
|
|
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
* Radio input value
|
|
34
34
|
*/
|
|
35
35
|
value: {
|
|
36
|
-
type: (
|
|
36
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
default: null;
|
|
52
52
|
};
|
|
53
53
|
modelValue: {
|
|
54
|
-
type: (
|
|
54
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
55
55
|
default: null;
|
|
56
56
|
};
|
|
57
57
|
}, unknown, unknown, {
|
|
@@ -97,7 +97,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
97
|
* Radio input value
|
|
98
98
|
*/
|
|
99
99
|
value: {
|
|
100
|
-
type: (
|
|
100
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
101
101
|
required: true;
|
|
102
102
|
};
|
|
103
103
|
/**
|
|
@@ -115,7 +115,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
115
|
default: null;
|
|
116
116
|
};
|
|
117
117
|
modelValue: {
|
|
118
|
-
type: (
|
|
118
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
119
119
|
default: null;
|
|
120
120
|
};
|
|
121
121
|
}>> & {
|
|
@@ -124,8 +124,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
124
124
|
name: string;
|
|
125
125
|
caption: string;
|
|
126
126
|
label: string;
|
|
127
|
-
id: string;
|
|
128
127
|
disabled: boolean;
|
|
128
|
+
id: string;
|
|
129
129
|
modelValue: string | number | boolean | unknown[];
|
|
130
130
|
validate: ValidationState;
|
|
131
131
|
}>;
|
|
@@ -167,7 +167,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
167
167
|
* Specify direction of shown popper
|
|
168
168
|
*/
|
|
169
169
|
openDirection: {
|
|
170
|
-
type: PropType<"bottom" | "top" | "
|
|
170
|
+
type: PropType<"bottom" | "top" | "below" | "above">;
|
|
171
171
|
default: string;
|
|
172
172
|
};
|
|
173
173
|
/**
|
|
@@ -293,7 +293,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
293
293
|
* The array of selected options
|
|
294
294
|
*/
|
|
295
295
|
modelValue: {
|
|
296
|
-
type: PropType<Nullable<
|
|
296
|
+
type: PropType<Nullable<OptionItem | Options>>;
|
|
297
297
|
default(): never[];
|
|
298
298
|
};
|
|
299
299
|
asyncGetInitValue: {
|
|
@@ -362,7 +362,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
362
362
|
trackBy: string;
|
|
363
363
|
multiple: boolean;
|
|
364
364
|
}): {} | null | undefined;
|
|
365
|
-
getValue():
|
|
365
|
+
getValue(): OptionItem | Options | null;
|
|
366
366
|
isExistingOption(query: string): boolean;
|
|
367
367
|
isSelected(option: OptionItem): boolean;
|
|
368
368
|
optionHighlight(index: number, option: OptionItem): {
|
|
@@ -386,7 +386,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
386
386
|
handleAsyncLoadPrev(): Promise<void>;
|
|
387
387
|
handleAsyncLoadMore(count: number): Promise<void>;
|
|
388
388
|
handleAsyncLoadByQuery({ limit, offset }: Partial<Query>): Promise<void>;
|
|
389
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
389
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "close" | "open" | "update:modelValue" | "async-loaded" | "search-change" | "remove" | "tag")[], "select" | "close" | "open" | "update:modelValue" | "async-loaded" | "search-change" | "remove" | "tag", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
390
390
|
/**
|
|
391
391
|
* Specify if no option can be selected
|
|
392
392
|
*/
|
|
@@ -531,7 +531,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
531
531
|
* Specify direction of shown popper
|
|
532
532
|
*/
|
|
533
533
|
openDirection: {
|
|
534
|
-
type: PropType<"bottom" | "top" | "
|
|
534
|
+
type: PropType<"bottom" | "top" | "below" | "above">;
|
|
535
535
|
default: string;
|
|
536
536
|
};
|
|
537
537
|
/**
|
|
@@ -657,7 +657,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
657
657
|
* The array of selected options
|
|
658
658
|
*/
|
|
659
659
|
modelValue: {
|
|
660
|
-
type: PropType<Nullable<
|
|
660
|
+
type: PropType<Nullable<OptionItem | Options>>;
|
|
661
661
|
default(): never[];
|
|
662
662
|
};
|
|
663
663
|
asyncGetInitValue: {
|
|
@@ -677,28 +677,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
677
677
|
default: string;
|
|
678
678
|
};
|
|
679
679
|
}>> & {
|
|
680
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
680
681
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
681
682
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
682
683
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
683
|
-
|
|
684
|
-
onTag?: ((...args: any[]) => any) | undefined;
|
|
684
|
+
"onAsync-loaded"?: ((...args: any[]) => any) | undefined;
|
|
685
685
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
686
686
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
687
|
-
|
|
687
|
+
onTag?: ((...args: any[]) => any) | undefined;
|
|
688
688
|
}, {
|
|
689
689
|
name: string;
|
|
690
690
|
label: string;
|
|
691
691
|
loading: boolean;
|
|
692
|
-
id: string;
|
|
693
692
|
disabled: boolean;
|
|
694
|
-
|
|
693
|
+
id: string;
|
|
694
|
+
modelValue: Nullable<OptionItem | Options>;
|
|
695
695
|
validate: ValidationState;
|
|
696
696
|
placeholder: string;
|
|
697
697
|
multiple: boolean;
|
|
698
698
|
helpText: string;
|
|
699
|
+
autocomplete: string;
|
|
700
|
+
tabindex: number;
|
|
699
701
|
limit: number;
|
|
702
|
+
asyncGetInitValue: AsyncSearchFn;
|
|
703
|
+
asyncFind: AsyncSearchFn;
|
|
704
|
+
options: Options;
|
|
700
705
|
allowEmpty: boolean;
|
|
701
|
-
autocomplete: string;
|
|
702
706
|
blockKeys: string[];
|
|
703
707
|
clearOnSelect: boolean;
|
|
704
708
|
closeOnSelect: boolean;
|
|
@@ -708,8 +712,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
708
712
|
limitText: Function;
|
|
709
713
|
max: number | boolean;
|
|
710
714
|
maxHeight: number;
|
|
711
|
-
openDirection: "bottom" | "top" | "
|
|
712
|
-
options: Options;
|
|
715
|
+
openDirection: "bottom" | "top" | "below" | "above";
|
|
713
716
|
optionHeight: number;
|
|
714
717
|
optionKey: string;
|
|
715
718
|
optionLabel: string;
|
|
@@ -721,12 +724,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
721
724
|
showNoOptions: boolean;
|
|
722
725
|
showNoResults: boolean;
|
|
723
726
|
showPointer: boolean;
|
|
724
|
-
tabindex: number;
|
|
725
727
|
taggable: boolean;
|
|
726
728
|
tagPosition: string;
|
|
727
729
|
tagValidator: TagValidatorFn;
|
|
728
|
-
asyncGetInitValue: AsyncSearchFn;
|
|
729
|
-
asyncFind: AsyncSearchFn;
|
|
730
730
|
asyncConfig: Config;
|
|
731
731
|
asyncValuePropsKey: string;
|
|
732
732
|
}>;
|
|
@@ -129,13 +129,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
129
|
}>> & {
|
|
130
130
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
131
131
|
}, {
|
|
132
|
-
message: string | Function;
|
|
133
132
|
type: string;
|
|
134
|
-
visible: boolean;
|
|
135
133
|
title: string;
|
|
136
|
-
allowClose: boolean;
|
|
137
134
|
autoHide: boolean;
|
|
138
135
|
hideDelay: number;
|
|
139
136
|
container: Nullable<HTMLElement>;
|
|
137
|
+
visible: boolean;
|
|
138
|
+
message: string | Function;
|
|
139
|
+
allowClose: boolean;
|
|
140
140
|
}>;
|
|
141
141
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebilly/revel",
|
|
3
|
-
"version": "6.19.
|
|
3
|
+
"version": "6.19.2",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist",
|
|
6
6
|
"CHANGELOG.md"
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"@testing-library/cypress": "^10.0.1",
|
|
54
54
|
"@testing-library/user-event": "^14.4.3",
|
|
55
55
|
"@testing-library/vue": "^7.0.0",
|
|
56
|
-
"@tsconfig/node18": "^18.2.
|
|
56
|
+
"@tsconfig/node18": "^18.2.3",
|
|
57
57
|
"@types/jsdom": "^21.1.1",
|
|
58
58
|
"@types/lodash.clonedeep": "^4.5.7",
|
|
59
|
-
"@types/lodash.debounce": "^4.0.
|
|
59
|
+
"@types/lodash.debounce": "^4.0.9",
|
|
60
60
|
"@types/lodash.kebabcase": "^4.1.9",
|
|
61
61
|
"@types/lodash.mergewith": "^4.6.9",
|
|
62
62
|
"@types/node": "^20.11.28",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@vuepress/plugin-register-components": "2.0.0-beta.61",
|
|
69
69
|
"@vuepress/plugin-search": "2.0.0-beta.61",
|
|
70
70
|
"approximate-number": "^2.1.1",
|
|
71
|
-
"autoprefixer": "^10.4.
|
|
71
|
+
"autoprefixer": "^10.4.19",
|
|
72
72
|
"babel-core": "^7.0.0-bridge.0",
|
|
73
73
|
"concurrently": "^8.2.2",
|
|
74
74
|
"copy-to-clipboard": "^3.3.1",
|