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.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((f) => vr(f, t, /* @__PURE__ */ new Date()), [t]), i = S((f) => {
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 o(h);
25670
- }, [o, n]), u = S((f) => {
25671
- const h = i(f);
25672
- return h ? tn(h, t) : void 0;
25673
- }, [t, i]), l = S((f) => f ? tn(f, t) : void 0, [t]), d = S((f) => {
25674
- if (f)
25675
- return f.map(u).filter(Boolean);
25676
- }, [u]);
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: d,
25680
+ formatValueToDatePickerValue: f,
25681
25681
  parseInputDate: n,
25682
25682
  parseValue: i,
25683
25683
  formatDatePickerToDateInput: l
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "react-components",
12
12
  "ui-kit"
13
13
  ],
14
- "version": "1.1.33",
14
+ "version": "1.1.34",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",