@rebilly/revel 6.30.40 → 6.30.42
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 -1
- package/dist/components/r-alert/r-alert.vue.d.ts +12 -11
- package/dist/components/r-avatar/r-avatar.vue.d.ts +7 -7
- package/dist/components/r-badge/r-badge.vue.d.ts +11 -11
- package/dist/components/r-button/r-button.vue.d.ts +14 -11
- package/dist/components/r-button-group/r-button-group.vue.d.ts +11 -11
- package/dist/components/r-checkbox/r-checkbox.vue.d.ts +11 -11
- package/dist/components/r-date-input/r-calendar.vue.d.ts +11 -11
- package/dist/components/r-date-input/r-date-input.vue.d.ts +11 -11
- package/dist/components/r-date-input/r-date-range-button-group.vue.d.ts +11 -11
- package/dist/components/r-date-input/r-range-calendar.vue.d.ts +11 -11
- package/dist/components/r-file-upload/r-file-upload.vue.d.ts +11 -11
- package/dist/components/r-grid/columnTypes/index.d.ts +12 -12
- package/dist/components/r-grid/r-grid.vue.d.ts +2 -6
- package/dist/components/r-icon/r-icon.vue.d.ts +11 -11
- package/dist/components/r-img/r-img.vue.d.ts +11 -11
- package/dist/components/r-input/r-input.vue.d.ts +24 -24
- package/dist/components/r-loader/r-loader.vue.d.ts +11 -11
- package/dist/components/r-modal/r-modal.vue.d.ts +11 -11
- package/dist/components/r-month-picker/r-month-picker.vue.d.ts +52 -131
- package/dist/components/r-pagination/r-pagination.vue.d.ts +11 -11
- package/dist/components/r-popper/r-popper.vue.d.ts +11 -11
- package/dist/components/r-radio/r-radio.vue.d.ts +11 -11
- package/dist/components/r-repeater/r-repeater.vue.d.ts +11 -11
- package/dist/components/r-toast/r-toast.vue.d.ts +11 -11
- package/dist/components/r-toggle/r-toggle.vue.d.ts +11 -11
- package/dist/revel.mjs +988 -1068
- package/dist/revel.umd.js +4 -4
- package/package.json +2 -2
|
@@ -14,12 +14,12 @@ interface Props {
|
|
|
14
14
|
*/
|
|
15
15
|
stopPropagation?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
17
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
18
18
|
color: string;
|
|
19
19
|
stopPropagation: boolean;
|
|
20
20
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
21
|
click: () => void;
|
|
22
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
22
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
23
23
|
color: string;
|
|
24
24
|
stopPropagation: boolean;
|
|
25
25
|
}>>> & {
|
|
@@ -29,15 +29,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
29
29
|
stopPropagation: boolean;
|
|
30
30
|
}>;
|
|
31
31
|
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
32
|
type __VLS_WithDefaults<P, D> = {
|
|
42
33
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
34
|
default: D[K];
|
|
@@ -46,3 +37,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
46
37
|
type __VLS_Prettify<T> = {
|
|
47
38
|
[K in keyof T]: T[K];
|
|
48
39
|
} & {};
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToOption<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -20,7 +20,7 @@ interface Props {
|
|
|
20
20
|
*/
|
|
21
21
|
height?: string;
|
|
22
22
|
}
|
|
23
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
24
24
|
alt: string;
|
|
25
25
|
lazy: boolean;
|
|
26
26
|
width: string;
|
|
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
28
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
29
|
onload: () => void;
|
|
30
30
|
onerror: () => void;
|
|
31
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
31
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
32
32
|
alt: string;
|
|
33
33
|
lazy: boolean;
|
|
34
34
|
width: string;
|
|
@@ -45,15 +45,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
45
45
|
loading?(_: {}): any;
|
|
46
46
|
}>;
|
|
47
47
|
export default _default;
|
|
48
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
49
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
50
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
51
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
52
|
-
} : {
|
|
53
|
-
type: import('vue').PropType<T[K]>;
|
|
54
|
-
required: true;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
48
|
type __VLS_WithDefaults<P, D> = {
|
|
58
49
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
59
50
|
default: D[K];
|
|
@@ -67,3 +58,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
67
58
|
$slots: S;
|
|
68
59
|
};
|
|
69
60
|
};
|
|
61
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
62
|
+
type __VLS_TypePropsToOption<T> = {
|
|
63
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
64
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
65
|
+
} : {
|
|
66
|
+
type: import('vue').PropType<T[K]>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IconNames } from '../r-icon/r-icon-sprites';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
3
3
|
label: null;
|
|
4
4
|
modelValue: null;
|
|
5
5
|
validate: null;
|
|
@@ -40,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
40
|
"key-submit": (...args: any[]) => void;
|
|
41
41
|
"left-icon-click": (...args: any[]) => void;
|
|
42
42
|
"right-icon-click": (...args: any[]) => void;
|
|
43
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
43
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
44
44
|
label: null;
|
|
45
45
|
modelValue: null;
|
|
46
46
|
validate: null;
|
|
@@ -106,28 +106,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
106
106
|
"right-button"?(_: {}): any;
|
|
107
107
|
}>;
|
|
108
108
|
export default _default;
|
|
109
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
110
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
111
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
112
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
113
|
-
} : {
|
|
114
|
-
type: import('vue').PropType<T[K]>;
|
|
115
|
-
required: true;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
type __VLS_WithDefaults<P, D> = {
|
|
119
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
120
|
-
default: D[K];
|
|
121
|
-
}> : P[K];
|
|
122
|
-
};
|
|
123
|
-
type __VLS_Prettify<T> = {
|
|
124
|
-
[K in keyof T]: T[K];
|
|
125
|
-
} & {};
|
|
126
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
127
|
-
new (): {
|
|
128
|
-
$slots: S;
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
109
|
interface Props {
|
|
132
110
|
/**
|
|
133
111
|
* Label for input
|
|
@@ -230,3 +208,25 @@ interface Props {
|
|
|
230
208
|
*/
|
|
231
209
|
autoComplete?: string;
|
|
232
210
|
}
|
|
211
|
+
type __VLS_WithDefaults<P, D> = {
|
|
212
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
213
|
+
default: D[K];
|
|
214
|
+
}> : P[K];
|
|
215
|
+
};
|
|
216
|
+
type __VLS_Prettify<T> = {
|
|
217
|
+
[K in keyof T]: T[K];
|
|
218
|
+
} & {};
|
|
219
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
220
|
+
new (): {
|
|
221
|
+
$slots: S;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
225
|
+
type __VLS_TypePropsToOption<T> = {
|
|
226
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
227
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
228
|
+
} : {
|
|
229
|
+
type: import('vue').PropType<T[K]>;
|
|
230
|
+
required: true;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
@@ -16,12 +16,12 @@ interface Props {
|
|
|
16
16
|
*/
|
|
17
17
|
spinner?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
19
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
20
20
|
show: boolean;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
fullscreen: boolean;
|
|
23
23
|
spinner: boolean;
|
|
24
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
24
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
25
25
|
show: boolean;
|
|
26
26
|
loading: boolean;
|
|
27
27
|
fullscreen: boolean;
|
|
@@ -33,15 +33,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
33
33
|
spinner: boolean;
|
|
34
34
|
}>;
|
|
35
35
|
export default _default;
|
|
36
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
-
} : {
|
|
41
|
-
type: import('vue').PropType<T[K]>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
36
|
type __VLS_WithDefaults<P, D> = {
|
|
46
37
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
38
|
default: D[K];
|
|
@@ -50,3 +41,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
50
41
|
type __VLS_Prettify<T> = {
|
|
51
42
|
[K in keyof T]: T[K];
|
|
52
43
|
} & {};
|
|
44
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
+
type __VLS_TypePropsToOption<T> = {
|
|
46
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
+
} : {
|
|
49
|
+
type: import('vue').PropType<T[K]>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -31,7 +31,7 @@ interface Props {
|
|
|
31
31
|
}
|
|
32
32
|
declare function submit(data?: object): void;
|
|
33
33
|
declare function close(): void;
|
|
34
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
35
35
|
show: boolean;
|
|
36
36
|
title: null;
|
|
37
37
|
cancelLabel: string;
|
|
@@ -44,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
44
|
submit: (data?: object | undefined) => void;
|
|
45
45
|
leave: () => void;
|
|
46
46
|
enter: () => void;
|
|
47
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
47
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
48
48
|
show: boolean;
|
|
49
49
|
title: null;
|
|
50
50
|
cancelLabel: string;
|
|
@@ -83,15 +83,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
83
83
|
}): any;
|
|
84
84
|
}>;
|
|
85
85
|
export default _default;
|
|
86
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
87
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
88
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
89
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
90
|
-
} : {
|
|
91
|
-
type: import('vue').PropType<T[K]>;
|
|
92
|
-
required: true;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
86
|
type __VLS_WithDefaults<P, D> = {
|
|
96
87
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
97
88
|
default: D[K];
|
|
@@ -105,3 +96,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
105
96
|
$slots: S;
|
|
106
97
|
};
|
|
107
98
|
};
|
|
99
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
100
|
+
type __VLS_TypePropsToOption<T> = {
|
|
101
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
102
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
103
|
+
} : {
|
|
104
|
+
type: import('vue').PropType<T[K]>;
|
|
105
|
+
required: true;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
@@ -1,164 +1,68 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
1
|
type Position = 'bottomStart' | 'bottomEnd' | 'topStart' | 'topEnd';
|
|
3
2
|
interface Month {
|
|
4
3
|
monthIndex: Nullable<number>;
|
|
5
4
|
year: number;
|
|
6
5
|
}
|
|
7
|
-
interface State {
|
|
8
|
-
months: string[];
|
|
9
|
-
}
|
|
10
|
-
interface MonthPickerElement extends HTMLElement {
|
|
11
|
-
popper: {
|
|
12
|
-
toggle: () => void;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
6
|
export interface Props {
|
|
16
|
-
label?: string;
|
|
17
|
-
caption?: string;
|
|
18
|
-
modelValue: Month;
|
|
19
|
-
clearable?: boolean;
|
|
20
|
-
placeholder?: string;
|
|
21
|
-
position?: Position;
|
|
22
|
-
minValue?: Month;
|
|
23
|
-
maxValue?: Month;
|
|
24
|
-
}
|
|
25
|
-
declare const _default: import("vue").DefineComponent<{
|
|
26
7
|
/**
|
|
27
8
|
* Label for the month picker
|
|
28
9
|
*/
|
|
29
|
-
label
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Help text for the month picker
|
|
35
|
-
*/
|
|
36
|
-
caption: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Selected month and year
|
|
42
|
-
*/
|
|
43
|
-
modelValue: {
|
|
44
|
-
required: true;
|
|
45
|
-
type: PropType<Month>;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* Defines if month picker is clearable
|
|
49
|
-
*/
|
|
50
|
-
clearable: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
required: false;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* Placeholder of the input if no month is selected
|
|
57
|
-
*/
|
|
58
|
-
placeholder: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Position of popover control
|
|
64
|
-
*/
|
|
65
|
-
position: {
|
|
66
|
-
type: PropType<Position>;
|
|
67
|
-
default: string;
|
|
68
|
-
validator: (pos: string) => boolean;
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* Minimum month and year
|
|
72
|
-
*/
|
|
73
|
-
minValue: {
|
|
74
|
-
type: PropType<Month>;
|
|
75
|
-
default: () => {};
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Maximum month and year
|
|
79
|
-
*/
|
|
80
|
-
maxValue: {
|
|
81
|
-
type: PropType<Month>;
|
|
82
|
-
default: () => {};
|
|
83
|
-
};
|
|
84
|
-
}, {
|
|
85
|
-
monthPickerElement: import("vue").Ref<MonthPickerElement | null>;
|
|
86
|
-
}, State, {
|
|
87
|
-
selectedDateLabel(): string;
|
|
88
|
-
isYearDecrementDisabled(): boolean | 0;
|
|
89
|
-
isYearIncrementDisabled(): boolean | 0;
|
|
90
|
-
}, {
|
|
91
|
-
selectMonth(monthIndex: number): void;
|
|
92
|
-
changeYear(value: number): void;
|
|
93
|
-
populateInput(date: Month): void;
|
|
94
|
-
onClear(): void;
|
|
95
|
-
togglePopper(): void;
|
|
96
|
-
isMonthSelected(monthIndex: number): boolean;
|
|
97
|
-
isMonthDisabled(monthIndex: number): boolean;
|
|
98
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "clear" | "month-change" | "year-change")[], "update:modelValue" | "clear" | "month-change" | "year-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
99
|
-
/**
|
|
100
|
-
* Label for the month picker
|
|
101
|
-
*/
|
|
102
|
-
label: {
|
|
103
|
-
type: StringConstructor;
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
10
|
+
label?: string;
|
|
106
11
|
/**
|
|
107
12
|
* Help text for the month picker
|
|
108
13
|
*/
|
|
109
|
-
caption
|
|
110
|
-
type: StringConstructor;
|
|
111
|
-
default: string;
|
|
112
|
-
};
|
|
14
|
+
caption?: string;
|
|
113
15
|
/**
|
|
114
16
|
* Selected month and year
|
|
115
17
|
*/
|
|
116
|
-
modelValue:
|
|
117
|
-
required: true;
|
|
118
|
-
type: PropType<Month>;
|
|
119
|
-
};
|
|
18
|
+
modelValue: Month;
|
|
120
19
|
/**
|
|
121
20
|
* Defines if month picker is clearable
|
|
122
21
|
*/
|
|
123
|
-
clearable
|
|
124
|
-
type: BooleanConstructor;
|
|
125
|
-
default: boolean;
|
|
126
|
-
required: false;
|
|
127
|
-
};
|
|
22
|
+
clearable?: boolean;
|
|
128
23
|
/**
|
|
129
24
|
* Placeholder of the input if no month is selected
|
|
130
25
|
*/
|
|
131
|
-
placeholder
|
|
132
|
-
type: StringConstructor;
|
|
133
|
-
default: string;
|
|
134
|
-
};
|
|
26
|
+
placeholder?: string;
|
|
135
27
|
/**
|
|
136
28
|
* Position of popover control
|
|
137
29
|
*/
|
|
138
|
-
position
|
|
139
|
-
type: PropType<Position>;
|
|
140
|
-
default: string;
|
|
141
|
-
validator: (pos: string) => boolean;
|
|
142
|
-
};
|
|
30
|
+
position?: Position;
|
|
143
31
|
/**
|
|
144
32
|
* Minimum month and year
|
|
145
33
|
*/
|
|
146
|
-
minValue
|
|
147
|
-
type: PropType<Month>;
|
|
148
|
-
default: () => {};
|
|
149
|
-
};
|
|
34
|
+
minValue?: Month;
|
|
150
35
|
/**
|
|
151
36
|
* Maximum month and year
|
|
152
37
|
*/
|
|
153
|
-
maxValue
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
38
|
+
maxValue?: Month;
|
|
39
|
+
}
|
|
40
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
41
|
+
label: string;
|
|
42
|
+
caption: string;
|
|
43
|
+
clearable: boolean;
|
|
44
|
+
placeholder: string;
|
|
45
|
+
position: string;
|
|
46
|
+
minValue: undefined;
|
|
47
|
+
maxValue: undefined;
|
|
48
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
|
+
clear: () => void;
|
|
50
|
+
"month-change": (value: number) => void;
|
|
51
|
+
"update:modelValue": (value: Month) => void;
|
|
52
|
+
"year-change": (value: number) => void;
|
|
53
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
54
|
+
label: string;
|
|
55
|
+
caption: string;
|
|
56
|
+
clearable: boolean;
|
|
57
|
+
placeholder: string;
|
|
58
|
+
position: string;
|
|
59
|
+
minValue: undefined;
|
|
60
|
+
maxValue: undefined;
|
|
61
|
+
}>>> & {
|
|
62
|
+
"onUpdate:modelValue"?: ((value: Month) => any) | undefined;
|
|
63
|
+
onClear?: (() => any) | undefined;
|
|
64
|
+
"onMonth-change"?: ((value: number) => any) | undefined;
|
|
65
|
+
"onYear-change"?: ((value: number) => any) | undefined;
|
|
162
66
|
}, {
|
|
163
67
|
caption: string;
|
|
164
68
|
label: string;
|
|
@@ -169,3 +73,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
73
|
maxValue: Month;
|
|
170
74
|
}>;
|
|
171
75
|
export default _default;
|
|
76
|
+
type __VLS_WithDefaults<P, D> = {
|
|
77
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
78
|
+
default: D[K];
|
|
79
|
+
}> : P[K];
|
|
80
|
+
};
|
|
81
|
+
type __VLS_Prettify<T> = {
|
|
82
|
+
[K in keyof T]: T[K];
|
|
83
|
+
} & {};
|
|
84
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
85
|
+
type __VLS_TypePropsToOption<T> = {
|
|
86
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
87
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
88
|
+
} : {
|
|
89
|
+
type: import('vue').PropType<T[K]>;
|
|
90
|
+
required: true;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
@@ -27,12 +27,12 @@ interface Props {
|
|
|
27
27
|
*/
|
|
28
28
|
modelValue?: number;
|
|
29
29
|
}
|
|
30
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
31
31
|
totalVisible: number;
|
|
32
32
|
modelValue: number;
|
|
33
33
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
34
|
"update:modelValue": (...args: any[]) => void;
|
|
35
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
35
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
36
36
|
totalVisible: number;
|
|
37
37
|
modelValue: number;
|
|
38
38
|
}>>> & {
|
|
@@ -46,15 +46,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
46
|
}): any;
|
|
47
47
|
}>;
|
|
48
48
|
export default _default;
|
|
49
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
51
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
-
} : {
|
|
54
|
-
type: import('vue').PropType<T[K]>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
49
|
type __VLS_WithDefaults<P, D> = {
|
|
59
50
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
60
51
|
default: D[K];
|
|
@@ -68,3 +59,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
68
59
|
$slots: S;
|
|
69
60
|
};
|
|
70
61
|
};
|
|
62
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
63
|
+
type __VLS_TypePropsToOption<T> = {
|
|
64
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
65
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
66
|
+
} : {
|
|
67
|
+
type: import('vue').PropType<T[K]>;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
@@ -68,7 +68,7 @@ interface PopperAction {
|
|
|
68
68
|
declare function togglePopper(payload?: PopperAction): void;
|
|
69
69
|
declare function closePopper(payload?: PopperAction): Promise<void>;
|
|
70
70
|
declare function openPopper(payload?: PopperAction): void;
|
|
71
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
71
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
72
72
|
state: null;
|
|
73
73
|
escToHide: boolean;
|
|
74
74
|
autoHide: boolean;
|
|
@@ -95,7 +95,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
95
95
|
setActivePopper: (...args: any[]) => void;
|
|
96
96
|
"toggle-on": (...args: any[]) => void;
|
|
97
97
|
"toggle-off": (...args: any[]) => void;
|
|
98
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
98
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
99
99
|
state: null;
|
|
100
100
|
escToHide: boolean;
|
|
101
101
|
autoHide: boolean;
|
|
@@ -149,15 +149,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
149
149
|
}): any;
|
|
150
150
|
}>;
|
|
151
151
|
export default _default;
|
|
152
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
153
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
154
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
155
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
156
|
-
} : {
|
|
157
|
-
type: import('vue').PropType<T[K]>;
|
|
158
|
-
required: true;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
152
|
type __VLS_WithDefaults<P, D> = {
|
|
162
153
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
163
154
|
default: D[K];
|
|
@@ -171,3 +162,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
171
162
|
$slots: S;
|
|
172
163
|
};
|
|
173
164
|
};
|
|
165
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
166
|
+
type __VLS_TypePropsToOption<T> = {
|
|
167
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
168
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
169
|
+
} : {
|
|
170
|
+
type: import('vue').PropType<T[K]>;
|
|
171
|
+
required: true;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
@@ -34,7 +34,7 @@ interface Props {
|
|
|
34
34
|
*/
|
|
35
35
|
modelValue: Nullable<Value>;
|
|
36
36
|
}
|
|
37
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
38
38
|
label: string;
|
|
39
39
|
id: () => string;
|
|
40
40
|
name: () => string;
|
|
@@ -44,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
44
|
modelValue: null;
|
|
45
45
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
46
|
"update:modelValue": (value: Value) => void;
|
|
47
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
47
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
48
48
|
label: string;
|
|
49
49
|
id: () => string;
|
|
50
50
|
name: () => string;
|
|
@@ -66,15 +66,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
66
66
|
label?(_: {}): any;
|
|
67
67
|
}>;
|
|
68
68
|
export default _default;
|
|
69
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
70
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
71
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
72
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
73
|
-
} : {
|
|
74
|
-
type: import('vue').PropType<T[K]>;
|
|
75
|
-
required: true;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
69
|
type __VLS_WithDefaults<P, D> = {
|
|
79
70
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
80
71
|
default: D[K];
|
|
@@ -88,3 +79,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
88
79
|
$slots: S;
|
|
89
80
|
};
|
|
90
81
|
};
|
|
82
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
83
|
+
type __VLS_TypePropsToOption<T> = {
|
|
84
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
85
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
86
|
+
} : {
|
|
87
|
+
type: import('vue').PropType<T[K]>;
|
|
88
|
+
required: true;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
@@ -19,11 +19,11 @@ interface Props {
|
|
|
19
19
|
*/
|
|
20
20
|
watcher?: object;
|
|
21
21
|
}
|
|
22
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
23
23
|
isLoaderFullscreen: boolean;
|
|
24
24
|
isLoaderSpinner: boolean;
|
|
25
25
|
watcher: () => {};
|
|
26
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
26
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
27
27
|
isLoaderFullscreen: boolean;
|
|
28
28
|
isLoaderSpinner: boolean;
|
|
29
29
|
watcher: () => {};
|
|
@@ -42,15 +42,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
42
42
|
empty?(_: {}): any;
|
|
43
43
|
}>;
|
|
44
44
|
export default _default;
|
|
45
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
47
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
48
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
49
|
-
} : {
|
|
50
|
-
type: import('vue').PropType<T[K]>;
|
|
51
|
-
required: true;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
45
|
type __VLS_WithDefaults<P, D> = {
|
|
55
46
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
56
47
|
default: D[K];
|
|
@@ -64,3 +55,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
64
55
|
$slots: S;
|
|
65
56
|
};
|
|
66
57
|
};
|
|
58
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
59
|
+
type __VLS_TypePropsToOption<T> = {
|
|
60
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
61
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
62
|
+
} : {
|
|
63
|
+
type: import('vue').PropType<T[K]>;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
};
|