mediacube-ui-v2 0.0.181 → 0.0.182
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/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 (E.value) return H;
|
|
10638
|
+
if (console.log("getFormattedPickerDate", H), console.log("dateFormat.dayjs", v.dayjs), console.log("dateFormat.output", v.output), 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))), console.log(b);
|
|
10641
10641
|
const [z, ce] = b;
|
|
10642
|
-
return l.range ? [z, ce].filter(Boolean) : z;
|
|
10642
|
+
return console.log(z), l.range ? [z, ce].filter(Boolean) : z;
|
|
10643
10643
|
}, se = (H) => {
|
|
10644
|
-
if (E.value) return H;
|
|
10644
|
+
if (console.log("getFormattedOutputDate", H), console.log("dateFormat.dayjs", v.dayjs), console.log("dateFormat.output", v.output), 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))), console.log(b);
|
|
10647
10647
|
const [z, ce] = b.map((B) => B === "Invalid Date" ? null : B);
|
|
10648
|
-
return l.range ? [z, ce].filter(Boolean) : z;
|
|
10648
|
+
return console.log(z), 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);
|
|
@@ -11636,7 +11636,7 @@ const $b = /* @__PURE__ */ be({
|
|
|
11636
11636
|
})), d = g(() => {
|
|
11637
11637
|
var C, E;
|
|
11638
11638
|
return !!r.mainCheckbox && ((C = r.mainCheckbox.all) == null ? void 0 : C.constructor) === Array && ((E = r.mainCheckbox.selected) == null ? void 0 : E.constructor) === Array;
|
|
11639
|
-
}), c = g(() => r.mainCheckbox ?
|
|
11639
|
+
}), c = g(() => r.mainCheckbox ? r.mainCheckbox.all.every((C) => r.mainCheckbox.selected.includes(C)) : !1), m = g(() => {
|
|
11640
11640
|
var C;
|
|
11641
11641
|
return d.value ? c.value ? "checkbox--checked" : ((C = r.mainCheckbox.selected) == null ? void 0 : C.length) > 0 ? "checkbox--indeterminate" : "checkbox" : v.value ? "checkbox--checked" : "checkbox";
|
|
11642
11642
|
}), f = g(() => {
|