@juit/vue-z 0.0.2 → 0.0.3
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 +2 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2585,25 +2585,9 @@ const ft = { class: "z-input" }, pl = /* @__PURE__ */ N({
|
|
|
2585
2585
|
setup(e, { expose: u }) {
|
|
2586
2586
|
const { d: t } = te(), a = D(), l = D(), n = e, o = M(e, "modelValue"), r = z(() => {
|
|
2587
2587
|
if (o.value.from === o.value.to)
|
|
2588
|
-
return t(o.value.from,
|
|
2589
|
-
day: "2-digit",
|
|
2590
|
-
month: "2-digit",
|
|
2591
|
-
year: "numeric",
|
|
2592
|
-
weekday: "short",
|
|
2593
|
-
timeZone: "UTC"
|
|
2594
|
-
});
|
|
2588
|
+
return t(o.value.from, "date");
|
|
2595
2589
|
{
|
|
2596
|
-
const y = t(o.value.from,
|
|
2597
|
-
day: "2-digit",
|
|
2598
|
-
month: "2-digit",
|
|
2599
|
-
year: "numeric",
|
|
2600
|
-
timeZone: "UTC"
|
|
2601
|
-
}), m = t(o.value.to, {
|
|
2602
|
-
day: "2-digit",
|
|
2603
|
-
month: "2-digit",
|
|
2604
|
-
year: "numeric",
|
|
2605
|
-
timeZone: "UTC"
|
|
2606
|
-
});
|
|
2590
|
+
const y = t(o.value.from, "date"), m = t(o.value.to, "date");
|
|
2607
2591
|
return `${y} - ${m}`;
|
|
2608
2592
|
}
|
|
2609
2593
|
}), i = z(() => {
|