@leapdevuk/component-toolbox 0.0.119 → 0.0.120
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/CHANGELOG.md +6 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +18 -16
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -8418,26 +8418,28 @@ const te = (e, r, t, n, a) => {
|
|
|
8418
8418
|
{
|
|
8419
8419
|
value: O ? new Date(O) : null,
|
|
8420
8420
|
onChange: (m, v) => {
|
|
8421
|
-
v !== "partial" && W(!1), y && h && nr(new Date(m), /* @__PURE__ */ new Date()) > 30 && w({
|
|
8422
|
-
keepButton: !0,
|
|
8423
|
-
message: "Selected date is in the future.",
|
|
8424
|
-
originalValue: y
|
|
8425
|
-
});
|
|
8426
8421
|
const C = m || null;
|
|
8427
|
-
if (
|
|
8428
|
-
|
|
8429
|
-
|
|
8422
|
+
if (v !== "partial") {
|
|
8423
|
+
if (W(!1), y && h && nr(new Date(m), /* @__PURE__ */ new Date()) > 30 && w({
|
|
8424
|
+
keepButton: !0,
|
|
8425
|
+
message: "Selected date is in the future.",
|
|
8426
|
+
originalValue: y
|
|
8427
|
+
}), g) {
|
|
8428
|
+
const $ = g(C);
|
|
8429
|
+
$ && w($);
|
|
8430
|
+
}
|
|
8431
|
+
i(
|
|
8432
|
+
te(
|
|
8433
|
+
C ? new Date(C) : null,
|
|
8434
|
+
n,
|
|
8435
|
+
a,
|
|
8436
|
+
t,
|
|
8437
|
+
o
|
|
8438
|
+
)
|
|
8439
|
+
);
|
|
8430
8440
|
}
|
|
8431
8441
|
P(C ? new Date(C) : null), k(
|
|
8432
8442
|
C && Ee(new Date(C), H)
|
|
8433
|
-
), i(
|
|
8434
|
-
te(
|
|
8435
|
-
C ? new Date(C) : null,
|
|
8436
|
-
n,
|
|
8437
|
-
a,
|
|
8438
|
-
t,
|
|
8439
|
-
o
|
|
8440
|
-
)
|
|
8441
8443
|
);
|
|
8442
8444
|
},
|
|
8443
8445
|
views: ["year", "month", "day"]
|