indicator-ui 1.1.33 → 1.1.34
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.cjs +1 -1
- package/dist/index.js +14 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25660,24 +25660,24 @@ function YK(r) {
|
|
|
25660
25660
|
};
|
|
25661
25661
|
}
|
|
25662
25662
|
function $K(r) {
|
|
25663
|
-
const { outFormat: e, inputDateFormat: t } = r, n = S((
|
|
25664
|
-
if (f)
|
|
25665
|
-
return e === "iso" ? xa(f) : vr(f, e, /* @__PURE__ */ new Date());
|
|
25666
|
-
}, [e]), o = S((f) => e === "iso" ? Da(f) : tn(f, e), [e]), s = S((f) => {
|
|
25667
|
-
const h = n(f);
|
|
25663
|
+
const { outFormat: e, inputDateFormat: t } = r, n = S((h) => vr(h, t, /* @__PURE__ */ new Date()), [t]), i = S((h) => {
|
|
25668
25664
|
if (h)
|
|
25669
|
-
return
|
|
25670
|
-
}, [o,
|
|
25671
|
-
const
|
|
25672
|
-
|
|
25673
|
-
|
|
25674
|
-
|
|
25675
|
-
|
|
25676
|
-
|
|
25665
|
+
return e === "iso" ? xa(h) : vr(h, e, /* @__PURE__ */ new Date());
|
|
25666
|
+
}, [e]), o = S((h) => e === "iso" ? Da(h) : tn(h, e), [e]), s = S((h) => {
|
|
25667
|
+
const p = n(h);
|
|
25668
|
+
if (p)
|
|
25669
|
+
return o(p);
|
|
25670
|
+
}, [o, n]), u = S((h) => {
|
|
25671
|
+
const p = i(h);
|
|
25672
|
+
return p ? tn(p, t) : void 0;
|
|
25673
|
+
}, [t, i]), l = S((h) => h ? tn(h, t) : void 0, [t]), d = S((h) => h ? i(h)?.toISOString() : void 0, [t, i]), f = S((h) => {
|
|
25674
|
+
if (h)
|
|
25675
|
+
return h.map(d).filter((p) => !!p);
|
|
25676
|
+
}, [d]);
|
|
25677
25677
|
return {
|
|
25678
25678
|
formatDateInputToValue: s,
|
|
25679
25679
|
formatValueItemToDateInput: u,
|
|
25680
|
-
formatValueToDatePickerValue:
|
|
25680
|
+
formatValueToDatePickerValue: f,
|
|
25681
25681
|
parseInputDate: n,
|
|
25682
25682
|
parseValue: i,
|
|
25683
25683
|
formatDatePickerToDateInput: l
|