@jk-core/components 1.1.14 → 1.1.16
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.js
CHANGED
|
@@ -1255,13 +1255,13 @@ const qt = ({
|
|
|
1255
1255
|
}) => {
|
|
1256
1256
|
const l = new Date(2e3, 0, 1), g = new Date(2099, 11, 31);
|
|
1257
1257
|
return { onDayClick: (r) => {
|
|
1258
|
-
r < l || r > g || (s(r), u("day"), i(r));
|
|
1258
|
+
r < l || r > g || (s(r), u("day"), i(r, "day"));
|
|
1259
1259
|
}, onMonthClick: (r) => {
|
|
1260
1260
|
const e = new Date(t.getFullYear(), r, 1);
|
|
1261
|
-
s(e), c !== "month" && d(c), c === "month" && (u("month"), i(e));
|
|
1261
|
+
s(e), c !== "month" && d(c), c === "month" && (u("month"), i(e, "month"));
|
|
1262
1262
|
}, onYearClick: (r) => {
|
|
1263
1263
|
const e = new Date(r, 0, 1);
|
|
1264
|
-
s(e), c !== "year" && d(c), c === "year" && (u("year"), i(e));
|
|
1264
|
+
s(e), c !== "year" && d(c), c === "year" && (u("year"), i(e, "year"));
|
|
1265
1265
|
} };
|
|
1266
1266
|
};
|
|
1267
1267
|
function Xt({
|