@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
@@ -34,7 +34,11 @@ interface Props {
34
34
  */
35
35
  modelValue: Nullable<Value>;
36
36
  }
37
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
37
+ declare var __VLS_1: {};
38
+ type __VLS_Slots = {} & {
39
+ label?: (props: typeof __VLS_1) => any;
40
+ };
41
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
38
42
  label: string;
39
43
  id: () => string;
40
44
  name: () => string;
@@ -62,23 +66,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
62
66
  modelValue: Nullable<Value>;
63
67
  validate: Nullable<ValidationState>;
64
68
  name: string;
65
- }>, {
66
- label?(_: {}): any;
67
69
  }>;
70
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
68
71
  export default _default;
69
72
  type __VLS_WithDefaults<P, D> = {
70
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
73
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
71
74
  default: D[K];
72
75
  }> : P[K];
73
76
  };
74
- type __VLS_Prettify<T> = {
75
- [K in keyof T]: T[K];
76
- } & {};
77
- type __VLS_WithTemplateSlots<T, S> = T & {
78
- new (): {
79
- $slots: S;
80
- };
81
- };
82
77
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
83
78
  type __VLS_TypePropsToOption<T> = {
84
79
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -88,3 +83,11 @@ type __VLS_TypePropsToOption<T> = {
88
83
  required: true;
89
84
  };
90
85
  };
86
+ type __VLS_WithSlots<T, S> = T & {
87
+ new (): {
88
+ $slots: S;
89
+ };
90
+ };
91
+ type __VLS_PrettifyLocal<T> = {
92
+ [K in keyof T]: T[K];
93
+ } & {};
@@ -19,7 +19,22 @@ interface Props {
19
19
  */
20
20
  watcher?: object;
21
21
  }
22
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
22
+ declare var __VLS_4: {}, __VLS_6: {}, __VLS_8: {}, __VLS_10: {
23
+ item: RepeaterItem;
24
+ index: number;
25
+ }, __VLS_12: {};
26
+ type __VLS_Slots = {} & {
27
+ colgroup?: (props: typeof __VLS_4) => any;
28
+ } & {
29
+ thead?: (props: typeof __VLS_6) => any;
30
+ } & {
31
+ headers?: (props: typeof __VLS_8) => any;
32
+ } & {
33
+ default?: (props: typeof __VLS_10) => any;
34
+ } & {
35
+ empty?: (props: typeof __VLS_12) => any;
36
+ };
37
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
23
38
  isLoaderFullscreen: boolean;
24
39
  isLoaderSpinner: boolean;
25
40
  watcher: () => {};
@@ -31,30 +46,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
31
46
  isLoaderFullscreen: boolean;
32
47
  isLoaderSpinner: boolean;
33
48
  watcher: object;
34
- }>, {
35
- colgroup?(_: {}): any;
36
- thead?(_: {}): any;
37
- headers?(_: {}): any;
38
- default?(_: {
39
- item: RepeaterItem;
40
- index: number;
41
- }): any;
42
- empty?(_: {}): any;
43
49
  }>;
50
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
44
51
  export default _default;
45
52
  type __VLS_WithDefaults<P, D> = {
46
- [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] & {
47
54
  default: D[K];
48
55
  }> : P[K];
49
56
  };
50
- type __VLS_Prettify<T> = {
51
- [K in keyof T]: T[K];
52
- } & {};
53
- type __VLS_WithTemplateSlots<T, S> = T & {
54
- new (): {
55
- $slots: S;
56
- };
57
- };
58
57
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
59
58
  type __VLS_TypePropsToOption<T> = {
60
59
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -64,3 +63,11 @@ type __VLS_TypePropsToOption<T> = {
64
63
  required: true;
65
64
  };
66
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
+ } & {};
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
64
64
  */
65
65
  customLabel: {
66
66
  type: PropType<CustomlabelFn>;
67
- default(option: OptionItem, label: string): unknown;
67
+ default(option: OptionItem, label: string): {};
68
68
  };
69
69
  /**
70
70
  * Specify how to validate the select field
@@ -175,7 +175,7 @@ declare const _default: import("vue").DefineComponent<{
175
175
  * Specify direction of shown popper
176
176
  */
177
177
  openDirection: {
178
- type: PropType<"bottom" | "top" | "below" | "above">;
178
+ type: PropType<"above" | "top" | "below" | "bottom">;
179
179
  default: string;
180
180
  };
181
181
  /**
@@ -301,7 +301,7 @@ declare const _default: import("vue").DefineComponent<{
301
301
  * The array of selected options
302
302
  */
303
303
  modelValue: {
304
- type: PropType<Nullable<OptionItem | Options>>;
304
+ type: PropType<Nullable<Options | OptionItem>>;
305
305
  default(): never[];
306
306
  };
307
307
  asyncGetInitValue: {
@@ -444,7 +444,7 @@ declare const _default: import("vue").DefineComponent<{
444
444
  */
445
445
  customLabel: {
446
446
  type: PropType<CustomlabelFn>;
447
- default(option: OptionItem, label: string): unknown;
447
+ default(option: OptionItem, label: string): {};
448
448
  };
449
449
  /**
450
450
  * Specify how to validate the select field
@@ -555,7 +555,7 @@ declare const _default: import("vue").DefineComponent<{
555
555
  * Specify direction of shown popper
556
556
  */
557
557
  openDirection: {
558
- type: PropType<"bottom" | "top" | "below" | "above">;
558
+ type: PropType<"above" | "top" | "below" | "bottom">;
559
559
  default: string;
560
560
  };
561
561
  /**
@@ -681,7 +681,7 @@ declare const _default: import("vue").DefineComponent<{
681
681
  * The array of selected options
682
682
  */
683
683
  modelValue: {
684
- type: PropType<Nullable<OptionItem | Options>>;
684
+ type: PropType<Nullable<Options | OptionItem>>;
685
685
  default(): never[];
686
686
  };
687
687
  asyncGetInitValue: {
@@ -1,4 +1,5 @@
1
1
  import { type PropType, type Ref } from 'vue';
2
+ import type { RouteLocation } from 'vue-router';
2
3
  import type { Tab } from './types';
3
4
  declare const _default: import("vue").DefineComponent<{
4
5
  name: {
@@ -18,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
18
19
  default: boolean;
19
20
  };
20
21
  to: {
21
- type: PropType<Optional<Ref<import("vue-router").RouteLocationGeneric>>>;
22
+ type: PropType<Optional<Ref<RouteLocation>>>;
22
23
  required: false;
23
24
  default: undefined;
24
25
  };
@@ -50,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
50
51
  default: boolean;
51
52
  };
52
53
  to: {
53
- type: PropType<Optional<Ref<import("vue-router").RouteLocationGeneric>>>;
54
+ type: PropType<Optional<Ref<RouteLocation>>>;
54
55
  required: false;
55
56
  default: undefined;
56
57
  };