@rebilly/revel 8.8.13 → 8.8.14

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 (37) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +2 -2
  3. package/dist/components/r-alert/r-alert.vue.d.ts +17 -15
  4. package/dist/components/r-avatar/r-avatar.vue.d.ts +11 -8
  5. package/dist/components/r-badge/r-badge.vue.d.ts +15 -12
  6. package/dist/components/r-button/r-button.vue.d.ts +25 -19
  7. package/dist/components/r-button-group/r-button-group.vue.d.ts +15 -12
  8. package/dist/components/r-checkbox/r-checkbox.vue.d.ts +15 -12
  9. package/dist/components/r-date-input/r-calendar.vue.d.ts +5 -5
  10. package/dist/components/r-date-input/r-date-input.vue.d.ts +7 -7
  11. package/dist/components/r-date-input/r-date-range-button-group.vue.d.ts +5 -5
  12. package/dist/components/r-date-input/r-range-calendar.vue.d.ts +5 -5
  13. package/dist/components/r-field-group/r-field-group.vue.d.ts +7 -4
  14. package/dist/components/r-file-upload/r-file-upload.vue.d.ts +18 -15
  15. package/dist/components/r-flex/r-flex-item.vue.d.ts +17 -14
  16. package/dist/components/r-flex/r-flex.vue.d.ts +15 -12
  17. package/dist/components/r-grid/r-grid-cell.vue.d.ts +16 -13
  18. package/dist/components/r-grid/r-grid.vue.d.ts +15 -12
  19. package/dist/components/r-icon/r-icon.vue.d.ts +5 -5
  20. package/dist/components/r-img/r-img.vue.d.ts +15 -12
  21. package/dist/components/r-input/r-input.vue.d.ts +13 -13
  22. package/dist/components/r-loader/r-loader.vue.d.ts +4 -4
  23. package/dist/components/r-modal/r-modal.vue.d.ts +34 -26
  24. package/dist/components/r-month-picker/r-month-picker.vue.d.ts +4 -4
  25. package/dist/components/r-pagination/r-pagination.vue.d.ts +17 -14
  26. package/dist/components/r-pagination-control/r-pagination-control.vue.d.ts +19 -16
  27. package/dist/components/r-popper/r-popper.vue.d.ts +33 -29
  28. package/dist/components/r-radio/r-radio.vue.d.ts +15 -12
  29. package/dist/components/r-repeater/r-repeater.vue.d.ts +26 -19
  30. package/dist/components/r-select/r-select.vue.d.ts +6 -6
  31. package/dist/components/r-tabs/r-tab.vue.d.ts +3 -2
  32. package/dist/components/r-tabs/r-tabs.vue.d.ts +1377 -5221
  33. package/dist/components/r-tile/r-tile.vue.d.ts +17 -9
  34. package/dist/components/r-toast/r-toast.vue.d.ts +4 -4
  35. package/dist/components/r-toggle/r-toggle.vue.d.ts +4 -4
  36. package/dist/index.d.ts +1 -1
  37. package/package.json +12 -6
@@ -33,7 +33,11 @@ export interface Props {
33
33
  */
34
34
  unstackable?: boolean;
35
35
  }
36
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
36
+ declare var __VLS_1: {};
37
+ type __VLS_Slots = {} & {
38
+ default?: (props: typeof __VLS_1) => any;
39
+ };
40
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
37
41
  columns: string;
38
42
  gap: string;
39
43
  alignItems: null;
@@ -60,23 +64,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
60
64
  justifyContent: Nullable<ContentDistribution>;
61
65
  direction: Nullable<Direction>;
62
66
  unstackable: boolean;
63
- }>, {
64
- default?(_: {}): any;
65
67
  }>;
68
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
66
69
  export default _default;
67
70
  type __VLS_WithDefaults<P, D> = {
68
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
71
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
69
72
  default: D[K];
70
73
  }> : P[K];
71
74
  };
72
- type __VLS_Prettify<T> = {
73
- [K in keyof T]: T[K];
74
- } & {};
75
- type __VLS_WithTemplateSlots<T, S> = T & {
76
- new (): {
77
- $slots: S;
78
- };
79
- };
80
75
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
81
76
  type __VLS_TypePropsToOption<T> = {
82
77
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -86,3 +81,11 @@ type __VLS_TypePropsToOption<T> = {
86
81
  required: true;
87
82
  };
88
83
  };
84
+ type __VLS_WithSlots<T, S> = T & {
85
+ new (): {
86
+ $slots: S;
87
+ };
88
+ };
89
+ type __VLS_PrettifyLocal<T> = {
90
+ [K in keyof T]: T[K];
91
+ } & {};
@@ -22,7 +22,11 @@ interface Props {
22
22
  offset?: Nullable<Offset>;
23
23
  }
24
24
  type Offset = `${GridSize}, ${GridSize}`;
25
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
25
+ declare var __VLS_1: {};
26
+ type __VLS_Slots = {} & {
27
+ default?: (props: typeof __VLS_1) => any;
28
+ };
29
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
26
30
  span: null;
27
31
  justifySelf: null;
28
32
  alignSelf: null;
@@ -36,27 +40,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
36
40
  offset: null;
37
41
  }>>>, {
38
42
  span: Nullable<GridSize>;
39
- offset: Nullable<"1, 1" | "1, 2" | "1, 3" | "1, 4" | "1, 5" | "1, 6" | "1, 7" | "1, 8" | "1, 9" | "1, 10" | "1, 11" | "1, 12" | "2, 1" | "2, 2" | "2, 3" | "2, 4" | "2, 5" | "2, 6" | "2, 7" | "2, 8" | "2, 9" | "2, 10" | "2, 11" | "2, 12" | "3, 1" | "3, 2" | "3, 3" | "3, 4" | "3, 5" | "3, 6" | "3, 7" | "3, 8" | "3, 9" | "3, 10" | "3, 11" | "3, 12" | "4, 1" | "4, 2" | "4, 3" | "4, 4" | "4, 5" | "4, 6" | "4, 7" | "4, 8" | "4, 9" | "4, 10" | "4, 11" | "4, 12" | "5, 1" | "5, 2" | "5, 3" | "5, 4" | "5, 5" | "5, 6" | "5, 7" | "5, 8" | "5, 9" | "5, 10" | "5, 11" | "5, 12" | "6, 1" | "6, 2" | "6, 3" | "6, 4" | "6, 5" | "6, 6" | "6, 7" | "6, 8" | "6, 9" | "6, 10" | "6, 11" | "6, 12" | "7, 1" | "7, 2" | "7, 3" | "7, 4" | "7, 5" | "7, 6" | "7, 7" | "7, 8" | "7, 9" | "7, 10" | "7, 11" | "7, 12" | "8, 1" | "8, 2" | "8, 3" | "8, 4" | "8, 5" | "8, 6" | "8, 7" | "8, 8" | "8, 9" | "8, 10" | "8, 11" | "8, 12" | "9, 1" | "9, 2" | "9, 3" | "9, 4" | "9, 5" | "9, 6" | "9, 7" | "9, 8" | "9, 9" | "9, 10" | "9, 11" | "9, 12" | "10, 1" | "10, 2" | "10, 3" | "10, 4" | "10, 5" | "10, 6" | "10, 7" | "10, 8" | "10, 9" | "10, 10" | "10, 11" | "10, 12" | "11, 1" | "11, 2" | "11, 3" | "11, 4" | "11, 5" | "11, 6" | "11, 7" | "11, 8" | "11, 9" | "11, 10" | "11, 11" | "11, 12" | "12, 1" | "12, 2" | "12, 3" | "12, 4" | "12, 5" | "12, 6" | "12, 7" | "12, 8" | "12, 9" | "12, 10" | "12, 11" | "12, 12">;
43
+ offset: Nullable<Offset>;
40
44
  wrap: boolean;
41
45
  alignSelf: Nullable<Distribution>;
42
46
  justifySelf: Nullable<Distribution>;
43
- }>, {
44
- default?(_: {}): any;
45
47
  }>;
48
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
46
49
  export default _default;
47
50
  type __VLS_WithDefaults<P, D> = {
48
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
51
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
49
52
  default: D[K];
50
53
  }> : P[K];
51
54
  };
52
- type __VLS_Prettify<T> = {
53
- [K in keyof T]: T[K];
54
- } & {};
55
- type __VLS_WithTemplateSlots<T, S> = T & {
56
- new (): {
57
- $slots: S;
58
- };
59
- };
60
55
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
61
56
  type __VLS_TypePropsToOption<T> = {
62
57
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -66,3 +61,11 @@ type __VLS_TypePropsToOption<T> = {
66
61
  required: true;
67
62
  };
68
63
  };
64
+ type __VLS_WithSlots<T, S> = T & {
65
+ new (): {
66
+ $slots: S;
67
+ };
68
+ };
69
+ type __VLS_PrettifyLocal<T> = {
70
+ [K in keyof T]: T[K];
71
+ } & {};
@@ -29,7 +29,11 @@ export interface Props {
29
29
  */
30
30
  unstackable?: boolean;
31
31
  }
32
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
32
+ declare var __VLS_1: {};
33
+ type __VLS_Slots = {} & {
34
+ default?: (props: typeof __VLS_1) => any;
35
+ };
36
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
33
37
  columns: string;
34
38
  gap: string;
35
39
  justifyItems: null;
@@ -53,23 +57,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
53
57
  unstackable: boolean;
54
58
  justifyItems: Nullable<Distribution>;
55
59
  jutifyContent: Nullable<ContentDistribution>;
56
- }>, {
57
- default?(_: {}): any;
58
60
  }>;
61
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
59
62
  export default _default;
60
63
  type __VLS_WithDefaults<P, D> = {
61
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
64
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
62
65
  default: D[K];
63
66
  }> : P[K];
64
67
  };
65
- type __VLS_Prettify<T> = {
66
- [K in keyof T]: T[K];
67
- } & {};
68
- type __VLS_WithTemplateSlots<T, S> = T & {
69
- new (): {
70
- $slots: S;
71
- };
72
- };
73
68
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
74
69
  type __VLS_TypePropsToOption<T> = {
75
70
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -79,3 +74,11 @@ type __VLS_TypePropsToOption<T> = {
79
74
  required: true;
80
75
  };
81
76
  };
77
+ type __VLS_WithSlots<T, S> = T & {
78
+ new (): {
79
+ $slots: S;
80
+ };
81
+ };
82
+ type __VLS_PrettifyLocal<T> = {
83
+ [K in keyof T]: T[K];
84
+ } & {};
@@ -25,18 +25,15 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
25
25
  }>>> & {
26
26
  onClick?: (() => any) | undefined;
27
27
  }, {
28
- color: "info" | "default" | "on-surface" | "primary" | "success" | "warning" | "danger";
28
+ color: IconColor;
29
29
  stopPropagation: boolean;
30
30
  }>;
31
31
  export default _default;
32
32
  type __VLS_WithDefaults<P, D> = {
33
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
34
34
  default: D[K];
35
35
  }> : P[K];
36
36
  };
37
- type __VLS_Prettify<T> = {
38
- [K in keyof T]: T[K];
39
- } & {};
40
37
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
38
  type __VLS_TypePropsToOption<T> = {
42
39
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -46,3 +43,6 @@ type __VLS_TypePropsToOption<T> = {
46
43
  required: true;
47
44
  };
48
45
  };
46
+ type __VLS_PrettifyLocal<T> = {
47
+ [K in keyof T]: T[K];
48
+ } & {};
@@ -20,7 +20,11 @@ interface Props {
20
20
  */
21
21
  height?: string;
22
22
  }
23
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
23
+ declare var __VLS_1: {};
24
+ type __VLS_Slots = {} & {
25
+ loading?: (props: typeof __VLS_1) => any;
26
+ };
27
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
24
28
  alt: string;
25
29
  lazy: boolean;
26
30
  width: string;
@@ -41,23 +45,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
41
45
  lazy: boolean;
42
46
  width: string;
43
47
  height: string;
44
- }>, {
45
- loading?(_: {}): any;
46
48
  }>;
49
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
47
50
  export default _default;
48
51
  type __VLS_WithDefaults<P, D> = {
49
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
52
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
50
53
  default: D[K];
51
54
  }> : P[K];
52
55
  };
53
- type __VLS_Prettify<T> = {
54
- [K in keyof T]: T[K];
55
- } & {};
56
- type __VLS_WithTemplateSlots<T, S> = T & {
57
- new (): {
58
- $slots: S;
59
- };
60
- };
61
56
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
62
57
  type __VLS_TypePropsToOption<T> = {
63
58
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -67,3 +62,11 @@ type __VLS_TypePropsToOption<T> = {
67
62
  required: true;
68
63
  };
69
64
  };
65
+ type __VLS_WithSlots<T, S> = T & {
66
+ new (): {
67
+ $slots: S;
68
+ };
69
+ };
70
+ type __VLS_PrettifyLocal<T> = {
71
+ [K in keyof T]: T[K];
72
+ } & {};
@@ -1,6 +1,6 @@
1
1
  import type { IconNames } from '../r-icon/r-icon-sprites';
2
2
  import type { ValidationState } from '../../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
3
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
4
4
  label: null;
5
5
  modelValue: null;
6
6
  validate: null;
@@ -84,13 +84,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
84
84
  modelValue: Nullable<string | number | boolean>;
85
85
  validate: Nullable<ValidationState>;
86
86
  inputEvents: Record<string, unknown>;
87
- rightIcon: Nullable<"fingerprint" | "dashboard" | "lists" | "automation" | "customers" | "orders" | "transactions" | "guides" | "settings" | "alerts" | "stream" | "search" | "filter" | "collapse-segments" | "resize-columns" | "segments" | "lock" | "caret-up" | "caret-down" | "caret-down-s" | "caret-left" | "caret-right" | "arrow-up" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up-l" | "arrow-down-l" | "arrow-left-l" | "arrow-right-l" | "close" | "close-s" | "logout" | "actions" | "circle" | "eye" | "eye-closed" | "burger" | "help" | "info" | "dash-l" | "company" | "website" | "email" | "external-link" | "trash" | "bank" | "map-marker" | "credit-card" | "checkout" | "check-s" | "custom-fields" | "calendar" | "columns" | "blocklists" | "webhooks" | "sticky-note" | "clip" | "loading" | "product" | "api-key" | "coupon" | "average" | "payments" | "tag" | "clone" | "copy" | "edit" | "edit-s" | "stop" | "unlock" | "event" | "invoices" | "rules" | "users" | "sharp" | "at" | "file" | "download" | "export" | "data-exports" | "shipping" | "plus" | "drag" | "reset" | "drag-move" | "world" | "integrations" | "id" | "phone" | "batch" | "merge" | "placeholders" | "caret-double-left" | "caret-double-right" | "heart" | "checkbox-checkmark" | "radio-checkmark" | "star" | "star-empty" | "report-match" | "emulate" | "billing-portal" | "app-store" | "kyc" | "cake" | "briefcase" | "tag-untag" | "risk-score" | "list" | "notifications" | "one-column" | "rebilly-logo" | "two-columns" | "meter" | "reports" | "allowlists" | "collapse-layout" | "rebilly-icon" | "sun" | "moon" | "upload" | "camera">;
87
+ rightIcon: Nullable<IconNames>;
88
88
  showValidateMessages: boolean;
89
89
  name: string;
90
90
  helpText: Nullable<string>;
91
91
  multiline: boolean;
92
92
  submitOnEnter: boolean;
93
- leftIcon: Nullable<"fingerprint" | "dashboard" | "lists" | "automation" | "customers" | "orders" | "transactions" | "guides" | "settings" | "alerts" | "stream" | "search" | "filter" | "collapse-segments" | "resize-columns" | "segments" | "lock" | "caret-up" | "caret-down" | "caret-down-s" | "caret-left" | "caret-right" | "arrow-up" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up-l" | "arrow-down-l" | "arrow-left-l" | "arrow-right-l" | "close" | "close-s" | "logout" | "actions" | "circle" | "eye" | "eye-closed" | "burger" | "help" | "info" | "dash-l" | "company" | "website" | "email" | "external-link" | "trash" | "bank" | "map-marker" | "credit-card" | "checkout" | "check-s" | "custom-fields" | "calendar" | "columns" | "blocklists" | "webhooks" | "sticky-note" | "clip" | "loading" | "product" | "api-key" | "coupon" | "average" | "payments" | "tag" | "clone" | "copy" | "edit" | "edit-s" | "stop" | "unlock" | "event" | "invoices" | "rules" | "users" | "sharp" | "at" | "file" | "download" | "export" | "data-exports" | "shipping" | "plus" | "drag" | "reset" | "drag-move" | "world" | "integrations" | "id" | "phone" | "batch" | "merge" | "placeholders" | "caret-double-left" | "caret-double-right" | "heart" | "checkbox-checkmark" | "radio-checkmark" | "star" | "star-empty" | "report-match" | "emulate" | "billing-portal" | "app-store" | "kyc" | "cake" | "briefcase" | "tag-untag" | "risk-score" | "list" | "notifications" | "one-column" | "rebilly-logo" | "two-columns" | "meter" | "reports" | "allowlists" | "collapse-layout" | "rebilly-icon" | "sun" | "moon" | "upload" | "camera">;
93
+ leftIcon: Nullable<IconNames>;
94
94
  leftIconClickPointer: boolean;
95
95
  rightIconClickPointer: boolean;
96
96
  leftIconSpinning: boolean;
@@ -107,7 +107,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
107
107
  autoResize: boolean;
108
108
  autoComplete: string;
109
109
  }>, {
110
- "right-button"?(_: {}): any;
110
+ 'right-button'?: (props: {}) => any;
111
111
  }>;
112
112
  export default _default;
113
113
  interface Props {
@@ -217,18 +217,10 @@ interface Props {
217
217
  autoComplete?: string;
218
218
  }
219
219
  type __VLS_WithDefaults<P, D> = {
220
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
220
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
221
221
  default: D[K];
222
222
  }> : P[K];
223
223
  };
224
- type __VLS_Prettify<T> = {
225
- [K in keyof T]: T[K];
226
- } & {};
227
- type __VLS_WithTemplateSlots<T, S> = T & {
228
- new (): {
229
- $slots: S;
230
- };
231
- };
232
224
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
233
225
  type __VLS_TypePropsToOption<T> = {
234
226
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -238,3 +230,11 @@ type __VLS_TypePropsToOption<T> = {
238
230
  required: true;
239
231
  };
240
232
  };
233
+ type __VLS_WithSlots<T, S> = T & {
234
+ new (): {
235
+ $slots: S;
236
+ };
237
+ };
238
+ type __VLS_PrettifyLocal<T> = {
239
+ [K in keyof T]: T[K];
240
+ } & {};
@@ -34,13 +34,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
34
34
  }>;
35
35
  export default _default;
36
36
  type __VLS_WithDefaults<P, D> = {
37
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
38
38
  default: D[K];
39
39
  }> : P[K];
40
40
  };
41
- type __VLS_Prettify<T> = {
42
- [K in keyof T]: T[K];
43
- } & {};
44
41
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
42
  type __VLS_TypePropsToOption<T> = {
46
43
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -50,3 +47,6 @@ type __VLS_TypePropsToOption<T> = {
50
47
  required: true;
51
48
  };
52
49
  };
50
+ type __VLS_PrettifyLocal<T> = {
51
+ [K in keyof T]: T[K];
52
+ } & {};
@@ -31,7 +31,30 @@ 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<__VLS_TypePropsToOption<Props>, {
34
+ declare var __VLS_10: {}, __VLS_19: {}, __VLS_21: {}, __VLS_23: {
35
+ submit: typeof submit;
36
+ close: typeof close;
37
+ }, __VLS_25: {
38
+ submit: typeof submit;
39
+ close: typeof close;
40
+ }, __VLS_34: {
41
+ submit: typeof submit;
42
+ close: typeof close;
43
+ };
44
+ type __VLS_Slots = {} & {
45
+ 'header-actions'?: (props: typeof __VLS_10) => any;
46
+ } & {
47
+ contents?: (props: typeof __VLS_19) => any;
48
+ } & {
49
+ content?: (props: typeof __VLS_21) => any;
50
+ } & {
51
+ 'left-actions'?: (props: typeof __VLS_23) => any;
52
+ } & {
53
+ 'right-actions'?: (props: typeof __VLS_25) => any;
54
+ } & {
55
+ actions?: (props: typeof __VLS_34) => any;
56
+ };
57
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
35
58
  show: boolean;
36
59
  title: null;
37
60
  cancelLabel: string;
@@ -65,37 +88,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
65
88
  cancelLabel: string;
66
89
  scrollContent: boolean;
67
90
  duration: number;
68
- }>, {
69
- "header-actions"?(_: {}): any;
70
- contents?(_: {}): any;
71
- content?(_: {}): any;
72
- "left-actions"?(_: {
73
- submit: typeof submit;
74
- close: typeof close;
75
- }): any;
76
- "right-actions"?(_: {
77
- submit: typeof submit;
78
- close: typeof close;
79
- }): any;
80
- actions?(_: {
81
- submit: typeof submit;
82
- close: typeof close;
83
- }): any;
84
91
  }>;
92
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
85
93
  export default _default;
86
94
  type __VLS_WithDefaults<P, D> = {
87
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
95
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
88
96
  default: D[K];
89
97
  }> : P[K];
90
98
  };
91
- type __VLS_Prettify<T> = {
92
- [K in keyof T]: T[K];
93
- } & {};
94
- type __VLS_WithTemplateSlots<T, S> = T & {
95
- new (): {
96
- $slots: S;
97
- };
98
- };
99
99
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
100
100
  type __VLS_TypePropsToOption<T> = {
101
101
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -105,3 +105,11 @@ type __VLS_TypePropsToOption<T> = {
105
105
  required: true;
106
106
  };
107
107
  };
108
+ type __VLS_WithSlots<T, S> = T & {
109
+ new (): {
110
+ $slots: S;
111
+ };
112
+ };
113
+ type __VLS_PrettifyLocal<T> = {
114
+ [K in keyof T]: T[K];
115
+ } & {};
@@ -74,13 +74,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
74
74
  }>;
75
75
  export default _default;
76
76
  type __VLS_WithDefaults<P, D> = {
77
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
77
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
78
78
  default: D[K];
79
79
  }> : P[K];
80
80
  };
81
- type __VLS_Prettify<T> = {
82
- [K in keyof T]: T[K];
83
- } & {};
84
81
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
85
82
  type __VLS_TypePropsToOption<T> = {
86
83
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -90,3 +87,6 @@ type __VLS_TypePropsToOption<T> = {
90
87
  required: true;
91
88
  };
92
89
  };
90
+ type __VLS_PrettifyLocal<T> = {
91
+ [K in keyof T]: T[K];
92
+ } & {};
@@ -27,7 +27,13 @@ interface Props {
27
27
  */
28
28
  modelValue?: number;
29
29
  }
30
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
30
+ declare var __VLS_1: {
31
+ pagination: Pagination;
32
+ };
33
+ type __VLS_Slots = {} & {
34
+ pagination?: (props: typeof __VLS_1) => any;
35
+ };
36
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
31
37
  totalVisible: number;
32
38
  modelValue: number;
33
39
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -40,25 +46,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
40
46
  }, {
41
47
  modelValue: number;
42
48
  totalVisible: number;
43
- }>, {
44
- pagination?(_: {
45
- pagination: Pagination;
46
- }): any;
47
49
  }>;
50
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
48
51
  export default _default;
49
52
  type __VLS_WithDefaults<P, D> = {
50
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
53
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
51
54
  default: D[K];
52
55
  }> : P[K];
53
56
  };
54
- type __VLS_Prettify<T> = {
55
- [K in keyof T]: T[K];
56
- } & {};
57
- type __VLS_WithTemplateSlots<T, S> = T & {
58
- new (): {
59
- $slots: S;
60
- };
61
- };
62
57
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
63
58
  type __VLS_TypePropsToOption<T> = {
64
59
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -68,3 +63,11 @@ type __VLS_TypePropsToOption<T> = {
68
63
  required: true;
69
64
  };
70
65
  };
66
+ type __VLS_WithSlots<T, S> = T & {
67
+ new (): {
68
+ $slots: S;
69
+ };
70
+ };
71
+ type __VLS_PrettifyLocal<T> = {
72
+ [K in keyof T]: T[K];
73
+ } & {};
@@ -1,21 +1,24 @@
1
1
  import type { PaginationItems } from '../r-pagination/types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
3
- override?(_: {
4
- override: {
5
- modelValue: ((page: number) => void) | undefined;
6
- next: (() => void) | undefined;
7
- previous: (() => void) | undefined;
8
- offset: number | undefined;
9
- total: number | undefined;
10
- limit: number | undefined;
11
- items: PaginationItems;
12
- hasNext: boolean | undefined;
13
- hasPrevious: boolean | undefined;
14
- };
15
- }): any;
16
- }>;
2
+ declare var __VLS_1: {
3
+ override: {
4
+ modelValue: ((page: number) => void) | undefined;
5
+ next: (() => void) | undefined;
6
+ previous: (() => void) | undefined;
7
+ offset: number | undefined;
8
+ total: number | undefined;
9
+ limit: number | undefined;
10
+ items: PaginationItems;
11
+ hasNext: boolean | undefined;
12
+ hasPrevious: boolean | undefined;
13
+ };
14
+ };
15
+ type __VLS_Slots = {} & {
16
+ override?: (props: typeof __VLS_1) => any;
17
+ };
18
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
20
  export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
21
+ type __VLS_WithSlots<T, S> = T & {
19
22
  new (): {
20
23
  $slots: S;
21
24
  };
@@ -68,7 +68,27 @@ 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<__VLS_TypePropsToOption<Props>, {
71
+ declare var __VLS_1: {
72
+ popper: {
73
+ isVisible: boolean;
74
+ open: typeof openPopper;
75
+ close: typeof closePopper;
76
+ toggle: typeof togglePopper;
77
+ };
78
+ }, __VLS_7: {
79
+ popper: {
80
+ isVisible: boolean;
81
+ open: typeof openPopper;
82
+ close: typeof closePopper;
83
+ toggle: typeof togglePopper;
84
+ };
85
+ };
86
+ type __VLS_Slots = {} & {
87
+ trigger?: (props: typeof __VLS_1) => any;
88
+ } & {
89
+ content?: (props: typeof __VLS_7) => any;
90
+ };
91
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
72
92
  state: null;
73
93
  escToHide: boolean;
74
94
  autoHide: boolean;
@@ -120,9 +140,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
120
140
  disabled: boolean;
121
141
  fluid: boolean;
122
142
  autoHide: boolean;
123
- position: "bottomEnd" | "bottomStart" | "topStart" | "topEnd";
143
+ position: Positions;
124
144
  offset: number;
125
- direction: "horizontal" | "vertical";
145
+ direction: Directions;
126
146
  duration: number;
127
147
  state: Nullable<boolean>;
128
148
  escToHide: boolean;
@@ -131,38 +151,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
131
151
  openOnMount: boolean;
132
152
  margin: MarginsOffset;
133
153
  slideFrom: SlideFrom;
134
- }>, {
135
- trigger?(_: {
136
- popper: {
137
- isVisible: boolean;
138
- open: typeof openPopper;
139
- close: typeof closePopper;
140
- toggle: typeof togglePopper;
141
- };
142
- }): any;
143
- content?(_: {
144
- popper: {
145
- isVisible: boolean;
146
- open: typeof openPopper;
147
- close: typeof closePopper;
148
- toggle: typeof togglePopper;
149
- };
150
- }): any;
151
154
  }>;
155
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
152
156
  export default _default;
153
157
  type __VLS_WithDefaults<P, D> = {
154
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
158
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
155
159
  default: D[K];
156
160
  }> : P[K];
157
161
  };
158
- type __VLS_Prettify<T> = {
159
- [K in keyof T]: T[K];
160
- } & {};
161
- type __VLS_WithTemplateSlots<T, S> = T & {
162
- new (): {
163
- $slots: S;
164
- };
165
- };
166
162
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
167
163
  type __VLS_TypePropsToOption<T> = {
168
164
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -172,3 +168,11 @@ type __VLS_TypePropsToOption<T> = {
172
168
  required: true;
173
169
  };
174
170
  };
171
+ type __VLS_WithSlots<T, S> = T & {
172
+ new (): {
173
+ $slots: S;
174
+ };
175
+ };
176
+ type __VLS_PrettifyLocal<T> = {
177
+ [K in keyof T]: T[K];
178
+ } & {};