@rebilly/revel 8.14.2 → 8.16.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/dist/components/r-alert/r-alert.vue.d.ts +2 -29
  3. package/dist/components/r-avatar/r-avatar.vue.d.ts +1 -10
  4. package/dist/components/r-badge/r-badge.vue.d.ts +8 -31
  5. package/dist/components/r-button/r-button.vue.d.ts +3 -46
  6. package/dist/components/r-button-group/r-button-group.vue.d.ts +2 -23
  7. package/dist/components/r-checkbox/r-checkbox.vue.d.ts +5 -40
  8. package/dist/components/r-date-input/r-calendar.vue.d.ts +5 -36
  9. package/dist/components/r-date-input/r-date-input.vue.d.ts +10 -69
  10. package/dist/components/r-date-input/r-date-range-button-group.vue.d.ts +6 -41
  11. package/dist/components/r-date-input/r-range-calendar.vue.d.ts +7 -38
  12. package/dist/components/r-field-group/r-field-group.vue.d.ts +1 -1
  13. package/dist/components/r-file-upload/r-file-upload.vue.d.ts +5 -30
  14. package/dist/components/r-flex/r-flex-item.vue.d.ts +2 -31
  15. package/dist/components/r-flex/r-flex.vue.d.ts +2 -37
  16. package/dist/components/r-grid/r-grid-cell.vue.d.ts +2 -31
  17. package/dist/components/r-grid/r-grid.vue.d.ts +2 -35
  18. package/dist/components/r-icon/r-icon.vue.d.ts +6 -29
  19. package/dist/components/r-img/r-img.vue.d.ts +6 -33
  20. package/dist/components/r-input/r-input.vue.d.ts +7 -78
  21. package/dist/components/r-loader/r-loader.vue.d.ts +2 -29
  22. package/dist/components/r-modal/r-modal.vue.d.ts +10 -43
  23. package/dist/components/r-month-picker/r-month-picker.vue.d.ts +8 -41
  24. package/dist/components/r-pagination/r-pagination.vue.d.ts +4 -27
  25. package/dist/components/r-pagination-control/r-pagination-control.vue.d.ts +1 -1
  26. package/dist/components/r-popper/r-popper.vue.d.ts +5 -52
  27. package/dist/components/r-radio/r-radio.vue.d.ts +5 -38
  28. package/dist/components/r-repeater/r-repeater.vue.d.ts +2 -27
  29. package/dist/components/r-select/r-select.vue.d.ts +121 -9
  30. package/dist/components/r-tabs/r-tab.vue.d.ts +7 -7
  31. package/dist/components/r-tabs/r-tabs.vue.d.ts +21 -6842
  32. package/dist/components/r-tabs/types.d.ts +1 -1
  33. package/dist/components/r-tile/r-tile.vue.d.ts +1 -1
  34. package/dist/components/r-toast/r-toast.vue.d.ts +5 -40
  35. package/dist/components/r-toggle/r-toggle.vue.d.ts +5 -32
  36. package/dist/composables/use-validate.d.ts +1 -1
  37. package/dist/playground/Playground-copyme.vue.d.ts +1 -1
  38. package/dist/revel.mjs +6019 -6189
  39. package/dist/revel.umd.js +120 -121
  40. package/dist/style.css +1 -1
  41. package/package.json +3 -3
@@ -25,46 +25,17 @@ declare var __VLS_1: {};
25
25
  type __VLS_Slots = {} & {
26
26
  default?: (props: typeof __VLS_1) => any;
27
27
  };
28
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
29
- span: string;
30
- alignSelf: null;
31
- wrap: null;
32
- offset: null;
33
- flexNone: boolean;
34
- }>, {}, 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>, {
35
- span: string;
36
- alignSelf: null;
37
- wrap: null;
38
- offset: null;
39
- flexNone: boolean;
40
- }>>>, {
28
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
41
29
  span: FlexSize | "fill" | "auto";
42
30
  offset: Nullable<FlexSize | "auto">;
43
31
  wrap: Nullable<boolean>;
44
32
  alignSelf: Nullable<Distribution>;
45
33
  flexNone: boolean;
46
- }>;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
35
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
48
36
  export default _default;
49
- type __VLS_WithDefaults<P, D> = {
50
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
51
- default: D[K];
52
- }> : P[K];
53
- };
54
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
55
- type __VLS_TypePropsToOption<T> = {
56
- [K in keyof T]-?: {} extends Pick<T, K> ? {
57
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
58
- } : {
59
- type: import('vue').PropType<T[K]>;
60
- required: true;
61
- };
62
- };
63
37
  type __VLS_WithSlots<T, S> = T & {
64
38
  new (): {
65
39
  $slots: S;
66
40
  };
67
41
  };
68
- type __VLS_PrettifyLocal<T> = {
69
- [K in keyof T]: T[K];
70
- } & {};
@@ -37,25 +37,7 @@ declare var __VLS_1: {};
37
37
  type __VLS_Slots = {} & {
38
38
  default?: (props: typeof __VLS_1) => any;
39
39
  };
40
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
41
- columns: string;
42
- gap: string;
43
- alignItems: null;
44
- alignContent: null;
45
- justifyContent: null;
46
- direction: null;
47
- wrap: null;
48
- unstackable: boolean;
49
- }>, {}, 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>, {
50
- columns: string;
51
- gap: string;
52
- alignItems: null;
53
- alignContent: null;
54
- justifyContent: null;
55
- direction: null;
56
- wrap: null;
57
- unstackable: boolean;
58
- }>>>, {
40
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
59
41
  columns: FlexSize;
60
42
  wrap: Nullable<Wrap>;
61
43
  gap: Gap;
@@ -64,28 +46,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
64
46
  justifyContent: Nullable<ContentDistribution>;
65
47
  direction: Nullable<Direction>;
66
48
  unstackable: boolean;
67
- }>;
49
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
68
50
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
69
51
  export default _default;
70
- type __VLS_WithDefaults<P, D> = {
71
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
72
- default: D[K];
73
- }> : P[K];
74
- };
75
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
76
- type __VLS_TypePropsToOption<T> = {
77
- [K in keyof T]-?: {} extends Pick<T, K> ? {
78
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
79
- } : {
80
- type: import('vue').PropType<T[K]>;
81
- required: true;
82
- };
83
- };
84
52
  type __VLS_WithSlots<T, S> = T & {
85
53
  new (): {
86
54
  $slots: S;
87
55
  };
88
56
  };
89
- type __VLS_PrettifyLocal<T> = {
90
- [K in keyof T]: T[K];
91
- } & {};
@@ -26,46 +26,17 @@ declare var __VLS_1: {};
26
26
  type __VLS_Slots = {} & {
27
27
  default?: (props: typeof __VLS_1) => any;
28
28
  };
29
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
30
- span: null;
31
- justifySelf: null;
32
- alignSelf: null;
33
- wrap: boolean;
34
- offset: null;
35
- }>, {}, 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>, {
36
- span: null;
37
- justifySelf: null;
38
- alignSelf: null;
39
- wrap: boolean;
40
- offset: null;
41
- }>>>, {
29
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
42
30
  span: Nullable<GridSize>;
43
31
  offset: Nullable<Offset>;
44
32
  wrap: boolean;
45
33
  alignSelf: Nullable<Distribution>;
46
34
  justifySelf: Nullable<Distribution>;
47
- }>;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
36
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
49
37
  export default _default;
50
- type __VLS_WithDefaults<P, D> = {
51
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
52
- default: D[K];
53
- }> : P[K];
54
- };
55
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
56
- type __VLS_TypePropsToOption<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
38
  type __VLS_WithSlots<T, S> = T & {
65
39
  new (): {
66
40
  $slots: S;
67
41
  };
68
42
  };
69
- type __VLS_PrettifyLocal<T> = {
70
- [K in keyof T]: T[K];
71
- } & {};
@@ -33,23 +33,7 @@ declare var __VLS_1: {};
33
33
  type __VLS_Slots = {} & {
34
34
  default?: (props: typeof __VLS_1) => any;
35
35
  };
36
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
37
- columns: string;
38
- gap: string;
39
- justifyItems: null;
40
- alignItems: null;
41
- jutifyContent: null;
42
- alignContent: null;
43
- unstackable: boolean;
44
- }>, {}, 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>, {
45
- columns: string;
46
- gap: string;
47
- justifyItems: null;
48
- alignItems: null;
49
- jutifyContent: null;
50
- alignContent: null;
51
- unstackable: boolean;
52
- }>>>, {
36
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
53
37
  columns: GridSize;
54
38
  gap: Gap;
55
39
  alignItems: Nullable<Distribution>;
@@ -57,28 +41,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
57
41
  unstackable: boolean;
58
42
  justifyItems: Nullable<Distribution>;
59
43
  jutifyContent: Nullable<ContentDistribution>;
60
- }>;
44
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
61
45
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
62
46
  export default _default;
63
- type __VLS_WithDefaults<P, D> = {
64
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
65
- default: D[K];
66
- }> : P[K];
67
- };
68
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
69
- type __VLS_TypePropsToOption<T> = {
70
- [K in keyof T]-?: {} extends Pick<T, K> ? {
71
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
72
- } : {
73
- type: import('vue').PropType<T[K]>;
74
- required: true;
75
- };
76
- };
77
47
  type __VLS_WithSlots<T, S> = T & {
78
48
  new (): {
79
49
  $slots: S;
80
50
  };
81
51
  };
82
- type __VLS_PrettifyLocal<T> = {
83
- [K in keyof T]: T[K];
84
- } & {};
@@ -1,5 +1,5 @@
1
1
  import type { IconColor, IconNames } from './r-icon-sprites';
2
- interface Props {
2
+ export interface Props {
3
3
  /**
4
4
  * Select any icon available in our svg sprite
5
5
  */
@@ -14,35 +14,12 @@ interface Props {
14
14
  */
15
15
  stopPropagation?: boolean;
16
16
  }
17
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
18
- color: string;
19
- stopPropagation: boolean;
20
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
- click: () => void;
22
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
23
- color: string;
24
- stopPropagation: boolean;
25
- }>>> & {
17
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
+ click: () => any;
19
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
26
20
  onClick?: (() => any) | undefined;
27
- }, {
21
+ }>, {
28
22
  color: IconColor;
29
23
  stopPropagation: boolean;
30
- }>;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
25
  export default _default;
32
- type __VLS_WithDefaults<P, D> = {
33
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
34
- default: D[K];
35
- }> : P[K];
36
- };
37
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
- type __VLS_TypePropsToOption<T> = {
39
- [K in keyof T]-?: {} extends Pick<T, K> ? {
40
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
41
- } : {
42
- type: import('vue').PropType<T[K]>;
43
- required: true;
44
- };
45
- };
46
- type __VLS_PrettifyLocal<T> = {
47
- [K in keyof T]: T[K];
48
- } & {};
@@ -24,49 +24,22 @@ declare var __VLS_1: {};
24
24
  type __VLS_Slots = {} & {
25
25
  loading?: (props: typeof __VLS_1) => any;
26
26
  };
27
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
28
- alt: string;
29
- lazy: boolean;
30
- width: string;
31
- height: string;
32
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
- onload: () => void;
34
- onerror: () => void;
35
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
36
- alt: string;
37
- lazy: boolean;
38
- width: string;
39
- height: string;
40
- }>>> & {
27
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
+ onload: () => any;
29
+ onerror: () => any;
30
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
41
31
  onOnload?: (() => any) | undefined;
42
32
  onOnerror?: (() => any) | undefined;
43
- }, {
33
+ }>, {
44
34
  alt: string;
45
35
  lazy: boolean;
46
36
  width: string;
47
37
  height: string;
48
- }>;
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
39
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
50
40
  export default _default;
51
- type __VLS_WithDefaults<P, D> = {
52
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
53
- default: D[K];
54
- }> : P[K];
55
- };
56
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
57
- type __VLS_TypePropsToOption<T> = {
58
- [K in keyof T]-?: {} extends Pick<T, K> ? {
59
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
60
- } : {
61
- type: import('vue').PropType<T[K]>;
62
- required: true;
63
- };
64
- };
65
41
  type __VLS_WithSlots<T, S> = T & {
66
42
  new (): {
67
43
  $slots: S;
68
44
  };
69
45
  };
70
- type __VLS_PrettifyLocal<T> = {
71
- [K in keyof T]: T[K];
72
- } & {};
@@ -1,38 +1,11 @@
1
1
  import type { IconNames } from '../r-icon/r-icon-sprites';
2
2
  import type { ValidationState } from '../../types';
3
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
4
- label: null;
5
- modelValue: null;
6
- validate: null;
7
- showValidateMessages: boolean;
8
- helpText: null;
9
- multiline: boolean;
10
- submitOnEnter: boolean;
11
- inputEvents: () => {};
12
- leftIcon: null;
13
- leftIconClickPointer: boolean;
14
- rightIcon: null;
15
- rightIconClickPointer: boolean;
16
- leftIconSpinning: boolean;
17
- rightIconSpinning: boolean;
18
- leftLabel: null;
19
- rightLabel: null;
20
- password: boolean;
21
- numeric: boolean;
22
- name: () => string;
23
- rows: string;
24
- autoFocus: boolean;
25
- autoHighlight: boolean;
26
- autoHighlightOnFocus: boolean;
27
- maxLength: undefined;
28
- autoResize: boolean;
29
- autoComplete: string;
30
- }>, {
3
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
31
4
  focus: () => void;
32
5
  blur: () => void;
33
6
  highlight: () => void;
34
7
  getFocus: () => void;
35
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
9
  click: (...args: any[]) => void;
37
10
  blur: (...args: any[]) => void;
38
11
  focus: (...args: any[]) => void;
@@ -42,47 +15,21 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_With
42
15
  "key-submit": (...args: any[]) => void;
43
16
  "left-icon-click": (...args: any[]) => void;
44
17
  "right-icon-click": (...args: any[]) => void;
45
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
46
- label: null;
47
- modelValue: null;
48
- validate: null;
49
- showValidateMessages: boolean;
50
- helpText: null;
51
- multiline: boolean;
52
- submitOnEnter: boolean;
53
- inputEvents: () => {};
54
- leftIcon: null;
55
- leftIconClickPointer: boolean;
56
- rightIcon: null;
57
- rightIconClickPointer: boolean;
58
- leftIconSpinning: boolean;
59
- rightIconSpinning: boolean;
60
- leftLabel: null;
61
- rightLabel: null;
62
- password: boolean;
63
- numeric: boolean;
64
- name: () => string;
65
- rows: string;
66
- autoFocus: boolean;
67
- autoHighlight: boolean;
68
- autoHighlightOnFocus: boolean;
69
- maxLength: undefined;
70
- autoResize: boolean;
71
- autoComplete: string;
72
- }>>> & {
18
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
73
19
  onClick?: ((...args: any[]) => any) | undefined;
74
- onFocus?: ((...args: any[]) => any) | undefined;
75
20
  onBlur?: ((...args: any[]) => any) | undefined;
21
+ onFocus?: ((...args: any[]) => any) | undefined;
76
22
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
77
23
  "onKey-press"?: ((...args: any[]) => any) | undefined;
78
24
  "onKey-down"?: ((...args: any[]) => any) | undefined;
79
25
  "onKey-submit"?: ((...args: any[]) => any) | undefined;
80
26
  "onLeft-icon-click"?: ((...args: any[]) => any) | undefined;
81
27
  "onRight-icon-click"?: ((...args: any[]) => any) | undefined;
82
- }, {
28
+ }>, {
83
29
  label: Nullable<string>;
84
30
  modelValue: Nullable<string | number | boolean>;
85
31
  validate: Nullable<ValidationState>;
32
+ password: boolean;
86
33
  inputEvents: Record<string, unknown>;
87
34
  rightIcon: Nullable<IconNames>;
88
35
  showValidateMessages: boolean;
@@ -97,7 +44,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_With
97
44
  rightIconSpinning: boolean;
98
45
  leftLabel: Nullable<string>;
99
46
  rightLabel: Nullable<string>;
100
- password: boolean;
101
47
  numeric: boolean;
102
48
  rows: string | number;
103
49
  autoFocus: boolean;
@@ -106,7 +52,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_With
106
52
  maxLength: string | number;
107
53
  autoResize: boolean;
108
54
  autoComplete: string;
109
- }>, {
55
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
110
56
  'right-button'?: (props: {}) => any;
111
57
  }>;
112
58
  export default _default;
@@ -216,25 +162,8 @@ interface Props {
216
162
  */
217
163
  autoComplete?: string;
218
164
  }
219
- type __VLS_WithDefaults<P, D> = {
220
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
221
- default: D[K];
222
- }> : P[K];
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
- };
233
165
  type __VLS_WithSlots<T, S> = T & {
234
166
  new (): {
235
167
  $slots: S;
236
168
  };
237
169
  };
238
- type __VLS_PrettifyLocal<T> = {
239
- [K in keyof T]: T[K];
240
- } & {};
@@ -16,37 +16,10 @@ interface Props {
16
16
  */
17
17
  spinner?: boolean;
18
18
  }
19
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
20
- show: boolean;
21
- loading: boolean;
22
- fullscreen: boolean;
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<__VLS_TypePropsToOption<Props>, {
25
- show: boolean;
26
- loading: boolean;
27
- fullscreen: boolean;
28
- spinner: boolean;
29
- }>>>, {
19
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
30
20
  loading: boolean;
31
21
  show: boolean;
32
22
  fullscreen: boolean;
33
23
  spinner: boolean;
34
- }>;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
25
  export default _default;
36
- type __VLS_WithDefaults<P, D> = {
37
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
38
- default: D[K];
39
- }> : P[K];
40
- };
41
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
42
- type __VLS_TypePropsToOption<T> = {
43
- [K in keyof T]-?: {} extends Pick<T, K> ? {
44
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
45
- } : {
46
- type: import('vue').PropType<T[K]>;
47
- required: true;
48
- };
49
- };
50
- type __VLS_PrettifyLocal<T> = {
51
- [K in keyof T]: T[K];
52
- } & {};
@@ -3,7 +3,7 @@ interface Props {
3
3
  /**
4
4
  * Use this prop to conditionally show the modal from the outside
5
5
  */
6
- show: boolean;
6
+ show?: boolean;
7
7
  /**
8
8
  * Adds a title to the modal
9
9
  */
@@ -54,33 +54,17 @@ type __VLS_Slots = {} & {
54
54
  } & {
55
55
  actions?: (props: typeof __VLS_34) => any;
56
56
  };
57
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
58
- show: boolean;
59
- title: null;
60
- cancelLabel: string;
61
- size: null;
62
- scroll: boolean;
63
- scrollContent: boolean;
64
- duration: number;
65
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
66
- close: () => void;
67
- submit: (data?: object | undefined) => void;
68
- leave: () => void;
69
- enter: () => void;
70
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
71
- show: boolean;
72
- title: null;
73
- cancelLabel: string;
74
- size: null;
75
- scroll: boolean;
76
- scrollContent: boolean;
77
- duration: number;
78
- }>>> & {
79
- onSubmit?: ((data?: object | undefined) => any) | undefined;
57
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
58
+ close: () => any;
59
+ submit: (data?: object | undefined) => any;
60
+ leave: () => any;
61
+ enter: () => any;
62
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
80
63
  onClose?: (() => any) | undefined;
64
+ onSubmit?: ((data?: object | undefined) => any) | undefined;
81
65
  onLeave?: (() => any) | undefined;
82
66
  onEnter?: (() => any) | undefined;
83
- }, {
67
+ }>, {
84
68
  title: Nullable<string>;
85
69
  size: Nullable<ModalSize>;
86
70
  scroll: boolean;
@@ -88,28 +72,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
88
72
  cancelLabel: string;
89
73
  scrollContent: boolean;
90
74
  duration: number;
91
- }>;
75
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
92
76
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
93
77
  export default _default;
94
- type __VLS_WithDefaults<P, D> = {
95
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
96
- default: D[K];
97
- }> : P[K];
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
- };
108
78
  type __VLS_WithSlots<T, S> = T & {
109
79
  new (): {
110
80
  $slots: S;
111
81
  };
112
82
  };
113
- type __VLS_PrettifyLocal<T> = {
114
- [K in keyof T]: T[K];
115
- } & {};
@@ -37,33 +37,17 @@ export interface Props {
37
37
  */
38
38
  maxValue?: Month;
39
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
- }>>> & {
40
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
41
+ "update:modelValue": (value: Month) => any;
42
+ clear: () => any;
43
+ "month-change": (value: number) => any;
44
+ "year-change": (value: number) => any;
45
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
62
46
  "onUpdate:modelValue"?: ((value: Month) => any) | undefined;
63
47
  onClear?: (() => any) | undefined;
64
48
  "onMonth-change"?: ((value: number) => any) | undefined;
65
49
  "onYear-change"?: ((value: number) => any) | undefined;
66
- }, {
50
+ }>, {
67
51
  caption: string;
68
52
  label: string;
69
53
  placeholder: string;
@@ -71,22 +55,5 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
71
55
  clearable: boolean;
72
56
  minValue: Month;
73
57
  maxValue: Month;
74
- }>;
58
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
75
59
  export default _default;
76
- type __VLS_WithDefaults<P, D> = {
77
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
78
- default: D[K];
79
- }> : P[K];
80
- };
81
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
82
- type __VLS_TypePropsToOption<T> = {
83
- [K in keyof T]-?: {} extends Pick<T, K> ? {
84
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
85
- } : {
86
- type: import('vue').PropType<T[K]>;
87
- required: true;
88
- };
89
- };
90
- type __VLS_PrettifyLocal<T> = {
91
- [K in keyof T]: T[K];
92
- } & {};