ados-rcm 1.0.371 → 1.0.373
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/dist/index.es.js
CHANGED
|
@@ -5948,12 +5948,17 @@ const Q_ = (n) => {
|
|
|
5948
5948
|
] });
|
|
5949
5949
|
};
|
|
5950
5950
|
function Wu(n, r, i) {
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5951
|
+
if (!(n instanceof Date) || !(r instanceof Date))
|
|
5952
|
+
throw new Error("minDate and maxDate must be valid Date objects");
|
|
5953
|
+
if (typeof i != "number" || isNaN(i) || !Number.isInteger(i))
|
|
5954
|
+
throw new Error("Year must be a valid integer");
|
|
5955
|
+
const a = n.getFullYear() === i ? n.getMonth() : 0, c = r.getFullYear() === i ? r.getMonth() : 11;
|
|
5956
|
+
if (i < n.getFullYear() || i > r.getFullYear())
|
|
5957
|
+
return [];
|
|
5958
|
+
const f = [];
|
|
5959
|
+
for (let d = a; d <= c; d++)
|
|
5960
|
+
f.push(d);
|
|
5961
|
+
return f;
|
|
5957
5962
|
}
|
|
5958
5963
|
function Im(n, r) {
|
|
5959
5964
|
const i = [];
|