@rebilly/revel 5.10.3 → 5.11.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [5.11.0](https://github.com/Rebilly/rebilly/compare/revel-v5.10.4...revel-v5.11.0) (2023-09-28)
2
+
3
+
4
+ ### Features
5
+
6
+ * **revel:** add min and max feature for month picker ([#1582](https://github.com/Rebilly/rebilly/issues/1582)) ([6f25f1b](https://github.com/Rebilly/rebilly/commit/6f25f1b0201584b52528847112c62d2418db381c))
7
+
8
+ ## [5.10.4](https://github.com/Rebilly/rebilly/compare/revel-v5.10.3...revel-v5.10.4) (2023-09-26)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **HPF | Framepay:** Update risk-data-collector version on HPF and Framepay ([#1551](https://github.com/Rebilly/rebilly/issues/1551)) ([53bb339](https://github.com/Rebilly/rebilly/commit/53bb339f249bc5fb92d87d3cd2ae15b0ace91b01))
14
+
1
15
  ## [5.10.3](https://github.com/Rebilly/rebilly/compare/revel-v5.10.2...revel-v5.10.3) (2023-09-26)
2
16
 
3
17
 
@@ -7,7 +7,6 @@ interface Month {
7
7
  }
8
8
  interface State {
9
9
  months: string[];
10
- selectedDate: Nullable<Month>;
11
10
  }
12
11
  declare const _default: import("vue").DefineComponent<{
13
12
  /**
@@ -54,14 +53,32 @@ declare const _default: import("vue").DefineComponent<{
54
53
  default: string;
55
54
  validator: (pos: string) => boolean;
56
55
  };
56
+ /**
57
+ * Minimum month and year
58
+ */
59
+ minValue: {
60
+ type: PropType<Month>;
61
+ default: () => {};
62
+ };
63
+ /**
64
+ * Maximum month and year
65
+ */
66
+ maxValue: {
67
+ type: PropType<Month>;
68
+ default: () => {};
69
+ };
57
70
  }, unknown, State, {
58
71
  selectedDateLabel(): string;
72
+ isYearDecrementDisabled(): boolean | 0;
73
+ isYearIncrementDisabled(): boolean | 0;
59
74
  }, {
60
75
  selectMonth(monthIndex: number): void;
61
76
  changeYear(value: number): void;
62
77
  populateInput(date: Month): void;
63
78
  onClear(): void;
64
79
  togglePopper(): void;
80
+ isMonthSelected(monthIndex: number): boolean;
81
+ isMonthDisabled(monthIndex: number): boolean;
65
82
  }, 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<{
66
83
  /**
67
84
  * Label for the month picker
@@ -107,6 +124,20 @@ declare const _default: import("vue").DefineComponent<{
107
124
  default: string;
108
125
  validator: (pos: string) => boolean;
109
126
  };
127
+ /**
128
+ * Minimum month and year
129
+ */
130
+ minValue: {
131
+ type: PropType<Month>;
132
+ default: () => {};
133
+ };
134
+ /**
135
+ * Maximum month and year
136
+ */
137
+ maxValue: {
138
+ type: PropType<Month>;
139
+ default: () => {};
140
+ };
110
141
  }>> & {
111
142
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
112
143
  onClear?: ((...args: any[]) => any) | undefined;
@@ -118,5 +149,7 @@ declare const _default: import("vue").DefineComponent<{
118
149
  placeholder: string;
119
150
  position: Position;
120
151
  clearable: boolean;
152
+ minValue: Month;
153
+ maxValue: Month;
121
154
  }>;
122
155
  export default _default;