mediacube-ui-v2 0.0.182 → 0.0.183
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/base.scss +0 -1
- package/dist/mediacube-ui-v2.js +6 -6
- package/dist/mediacube-ui-v2.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/base.scss
CHANGED
package/dist/mediacube-ui-v2.js
CHANGED
|
@@ -10635,17 +10635,17 @@ const qm = ["for"], Um = { class: "mc-date-picker__inner" }, Wm = {
|
|
|
10635
10635
|
ae.value = l.range ? N([z, z]) : N(z);
|
|
10636
10636
|
}
|
|
10637
10637
|
}, N = (H) => {
|
|
10638
|
-
if (
|
|
10638
|
+
if (E.value) return H;
|
|
10639
10639
|
let b = l.range ? Array.isArray(H) ? H : [] : [H];
|
|
10640
|
-
l.toIsoFormat || (b = b.map((B) => Fe(B, v.output).format(v.dayjs)))
|
|
10640
|
+
l.toIsoFormat || (b = b.map((B) => Fe(B, v.output).format(v.dayjs)));
|
|
10641
10641
|
const [z, ce] = b;
|
|
10642
|
-
return
|
|
10642
|
+
return l.range ? [z, ce].filter(Boolean) : z;
|
|
10643
10643
|
}, se = (H) => {
|
|
10644
|
-
if (
|
|
10644
|
+
if (E.value) return H;
|
|
10645
10645
|
let b = l.range ? Array.isArray(H) ? H.map((B) => String(B)) : [] : [String(H)];
|
|
10646
|
-
l.toIsoFormat || (b = b.map((B) => Fe(B, v.dayjs).format(v.output)))
|
|
10646
|
+
l.toIsoFormat || (b = b.map((B) => Fe(B, v.dayjs).format(v.output)));
|
|
10647
10647
|
const [z, ce] = b.map((B) => B === "Invalid Date" ? null : B);
|
|
10648
|
-
return
|
|
10648
|
+
return l.range ? [z, ce].filter(Boolean) : z;
|
|
10649
10649
|
}, G = async () => {
|
|
10650
10650
|
const H = l.lang !== "ar" && Object.keys(Rc).includes(l.lang) ? l.lang : "en";
|
|
10651
10651
|
Fe.locale(H);
|