@box/metadata-filter 1.23.0 → 1.23.2

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.
Files changed (45) hide show
  1. package/dist/chunks/types2.js +6 -0
  2. package/dist/esm/lib/components/metadata-filter-fields/components/metadata-date-field/constants.js +1 -1
  3. package/dist/esm/lib/components/metadata-filter-fields/components/metadata-date-field/date-conversion-utils.js +43 -49
  4. package/dist/esm/lib/components/metadata-filter-fields/components/metadata-date-field/metadata-date-field-advanced.js +143 -136
  5. package/dist/esm/lib/components/metadata-filter-fields/components/metadata-date-field/metadata-date-field-relative.js +44 -43
  6. package/dist/esm/lib/components/metadata-filter-fields/components/metadata-date-field/metadata-date-field.js +8 -7
  7. package/dist/esm/lib/components/metadata-filter-fields/components/metadata-date-field/use-date-internationalization.js +7 -8
  8. package/dist/esm/lib/components/metadata-filter-fields/components/metadata-date-field/use-date-validation.js +35 -10
  9. package/dist/esm/lib/components/metadata-filter-fields/components/metadata-date-field/use-integer-validation.js +21 -0
  10. package/dist/esm/lib/components/metadata-filter-fields/components/metadata-float-field/metadata-float-field-advanced.js +59 -61
  11. package/dist/esm/lib/components/metadata-filter-fields/metadata-filter-fields.js +42 -42
  12. package/dist/esm/lib/messages.js +12 -0
  13. package/dist/i18n/bn-IN.js +3 -0
  14. package/dist/i18n/da-DK.js +3 -0
  15. package/dist/i18n/de-DE.js +3 -0
  16. package/dist/i18n/en-AU.js +3 -0
  17. package/dist/i18n/en-CA.js +3 -0
  18. package/dist/i18n/en-GB.js +3 -0
  19. package/dist/i18n/en-US.js +3 -0
  20. package/dist/i18n/en-US.properties +6 -0
  21. package/dist/i18n/en-x-pseudo.js +3 -0
  22. package/dist/i18n/es-419.js +3 -0
  23. package/dist/i18n/es-ES.js +3 -0
  24. package/dist/i18n/fi-FI.js +3 -0
  25. package/dist/i18n/fr-CA.js +3 -0
  26. package/dist/i18n/fr-FR.js +3 -0
  27. package/dist/i18n/hi-IN.js +3 -0
  28. package/dist/i18n/it-IT.js +3 -0
  29. package/dist/i18n/ja-JP.js +3 -0
  30. package/dist/i18n/json/src/lib/messages.json +1 -1
  31. package/dist/i18n/ko-KR.js +3 -0
  32. package/dist/i18n/nb-NO.js +3 -0
  33. package/dist/i18n/nl-NL.js +3 -0
  34. package/dist/i18n/pl-PL.js +3 -0
  35. package/dist/i18n/pt-BR.js +3 -0
  36. package/dist/i18n/ru-RU.js +3 -0
  37. package/dist/i18n/sv-SE.js +3 -0
  38. package/dist/i18n/tr-TR.js +3 -0
  39. package/dist/i18n/zh-CN.js +3 -0
  40. package/dist/i18n/zh-TW.js +3 -0
  41. package/dist/types/lib/components/metadata-filter-fields/components/metadata-date-field/types.d.ts +3 -2
  42. package/dist/types/lib/components/metadata-filter-fields/components/metadata-date-field/use-integer-validation.d.ts +6 -0
  43. package/dist/types/lib/messages.d.ts +15 -0
  44. package/package.json +2 -2
  45. package/dist/chunks/use-date-validation.js +0 -40
@@ -0,0 +1,6 @@
1
+ let I = /* @__PURE__ */ function(A) {
2
+ return A[A.MAX = 0] = "MAX", A[A.OVERLAPPING = 1] = "OVERLAPPING", A[A.INVALID = 2] = "INVALID", A;
3
+ }({});
4
+ export {
5
+ I as E
6
+ };
@@ -1,4 +1,4 @@
1
- import { CalendarDate as e } from "@box/blueprint-web/lib-esm/primitives/calendar/classes.util";
1
+ import { CalendarDate as e } from "@box/blueprint-web";
2
2
  const r = new e(3e3, 1, 1);
3
3
  export {
4
4
  r as DEFAULT_MAX_DATE
@@ -1,76 +1,70 @@
1
- import { Time as u } from "@box/blueprint-web/lib-esm/primitives/calendar/classes.util";
2
- import { fromAbsolute as v } from "@box/blueprint-web/lib-esm/primitives/calendar/from-absolute.util";
3
- import { parseAbsoluteToLocal as F } from "@box/blueprint-web/lib-esm/primitives/calendar/parse-absolute-to-local.util";
4
- import { parseAbsolute as w } from "@box/blueprint-web/lib-esm/primitives/calendar/parse-absolute.util";
5
- import { toCalendarDateTime as c } from "@box/blueprint-web/lib-esm/primitives/calendar/to-calendar-date-time.util";
6
- import { toCalendarDate as D } from "@box/blueprint-web/lib-esm/primitives/calendar/to-calendar-date.util";
7
- import { toZoned as C } from "@box/blueprint-web/lib-esm/primitives/calendar/to-zoned.util";
8
- import { R as a } from "../../../../../../chunks/types.js";
9
- const l = (o, n) => {
1
+ import { toCalendarDateTime as c, parseAbsolute as F, parseAbsoluteToLocal as w, toCalendarDate as D, Time as v, toZoned as p, fromAbsolute as f } from "@box/blueprint-web";
2
+ import { R as d } from "../../../../../../chunks/types.js";
3
+ const h = (o, t) => {
10
4
  try {
11
- const e = n ? c(w(o, "UTC")) : F(o);
12
- return D(e);
5
+ const s = t ? c(F(o, "UTC")) : w(o);
6
+ return D(s);
13
7
  } catch {
14
8
  return null;
15
9
  }
16
- }, x = (o, n, e) => {
17
- let r = "";
18
- if (o) {
19
- const t = e === a.FROM ? o : c(o, new u(23, 59, 59, 999));
20
- r = C(t, n).toAbsoluteString();
21
- }
22
- return r;
23
- }, f = (o, n) => {
10
+ }, z = (o, t, s) => {
24
11
  let e = "";
25
12
  if (o) {
26
- const r = n === a.FROM ? c(o, new u(0, 0, 0, 0)) : c(o, new u(23, 59, 59, 999));
27
- e = C(r, "UTC").toAbsoluteString();
13
+ const n = s === d.FROM ? o : c(o, new v(23, 59, 59, 999));
14
+ e = p(n, t).toAbsoluteString();
28
15
  }
29
16
  return e;
30
- }, y = (o, n, e = (/* @__PURE__ */ new Date()).getTime()) => {
31
- var b;
32
- if ((o === "next" || o === "past" || o === "olderThan") && (n === void 0 || isNaN(n)))
17
+ }, u = (o, t) => {
18
+ let s = "";
19
+ if (o) {
20
+ const e = t === d.FROM ? c(o, new v(0, 0, 0, 0)) : c(o, new v(23, 59, 59, 999));
21
+ s = p(e, "UTC").toAbsoluteString();
22
+ }
23
+ return s;
24
+ }, A = (o, t, s = (/* @__PURE__ */ new Date()).getTime()) => {
25
+ var C;
26
+ if ((o === "next" || o === "past" || o === "olderThan") && (t === void 0 || isNaN(t)))
33
27
  return {
34
28
  from: void 0,
35
29
  to: void 0
36
30
  };
37
- const r = (d) => d === void 0 ? void 0 : d, t = r(v(e, "UTC")), s = (d) => r(t == null ? void 0 : t.add({
38
- days: d * n
39
- })), i = {
31
+ const e = (i) => i === void 0 ? void 0 : i, n = e(f(s, "UTC")), a = (i) => e(n == null ? void 0 : n.add({
32
+ days: i * t
33
+ })), T = {
40
34
  today: () => ({
41
- from: t,
42
- to: t
35
+ from: n,
36
+ to: n
43
37
  }),
44
38
  next: () => ({
45
- from: t,
46
- to: s(1)
39
+ from: n,
40
+ to: a(1)
47
41
  }),
48
42
  past: () => ({
49
- from: s(-1),
50
- to: t
43
+ from: a(-1),
44
+ to: n
51
45
  }),
52
46
  olderThan: () => ({
53
- from: r(v(0, "UTC")),
54
- to: s(-1)
47
+ from: e(f(0, "UTC")),
48
+ to: a(-1)
55
49
  })
56
- }, m = (b = i[o]) == null ? void 0 : b.call(i), T = m == null ? void 0 : m.from, p = m == null ? void 0 : m.to;
50
+ }, r = (C = T[o]) == null ? void 0 : C.call(T), m = r == null ? void 0 : r.from, b = r == null ? void 0 : r.to;
57
51
  return {
58
- from: T ? f(T, a.FROM) : void 0,
59
- to: p ? f(p, a.TO) : void 0
52
+ from: m ? u(m, d.FROM) : void 0,
53
+ to: b ? u(b, d.TO) : void 0
60
54
  };
61
- }, L = (o, n) => {
62
- const e = (m) => m === void 0 ? void 0 : m, r = e(v((/* @__PURE__ */ new Date()).getTime(), "UTC")), t = (m, T) => e(r == null ? void 0 : r.add({
63
- days: m * T
64
- })), s = t(o < 1 ? -1 : 1, Math.abs(o)), i = t(n < 1 ? -1 : 1, Math.abs(n));
55
+ }, R = (o, t) => {
56
+ const s = (r) => r === void 0 ? void 0 : r, e = s(f((/* @__PURE__ */ new Date()).getTime(), "UTC")), n = (r, m) => s(e == null ? void 0 : e.add({
57
+ days: r * m
58
+ })), a = n(o < 1 ? -1 : 1, Math.abs(o)), T = n(t < 1 ? -1 : 1, Math.abs(t));
65
59
  return {
66
- from: s ? f(s, a.FROM) : void 0,
67
- to: i ? f(i, a.TO) : void 0
60
+ from: a ? u(a, d.FROM) : void 0,
61
+ to: T ? u(T, d.TO) : void 0
68
62
  };
69
63
  };
70
64
  export {
71
- l as convertToDatePickerValue,
72
- x as convertToFormikValue,
73
- f as convertToFormikValueRanged,
74
- L as getCustomFromToValues,
75
- y as getRelativeFromToValues
65
+ h as convertToDatePickerValue,
66
+ z as convertToFormikValue,
67
+ u as convertToFormikValueRanged,
68
+ R as getCustomFromToValues,
69
+ A as getRelativeFromToValues
76
70
  };
@@ -1,173 +1,180 @@
1
- import { DateI18nProvider as le, DatePicker as X, TextInput as ie } from "@box/blueprint-web";
2
- import ce from "clsx";
3
- import { useFormikContext as de, getIn as ue, Field as y } from "formik";
4
- import { useState as b, useRef as _, useCallback as v, useEffect as me, useMemo as H } from "react";
5
- import { useIntl as fe } from "react-intl";
6
- import { R as s } from "../../../../../../chunks/types.js";
7
- import { DEFAULT_MAX_DATE as q } from "./constants.js";
8
- import { getRelativeFromToValues as z, convertToFormikValueRanged as J } from "./date-conversion-utils.js";
9
- import { s as h } from "../../../../../../chunks/metadata-date-field.module.js";
10
- import { u as ve, E as A } from "../../../../../../chunks/use-date-validation.js";
11
- import { getDynamicMaxMinValue as K } from "./utils.js";
12
- import c from "../../../../messages.js";
13
- import { jsx as n, jsxs as Q } from "react/jsx-runtime";
14
- import { A as he } from "../../../../../../chunks/index.js";
15
- const Be = ({
16
- disableForm: p,
1
+ import { DateI18nProvider as ce, DatePicker as H, TextInput as de } from "@box/blueprint-web";
2
+ import ue from "clsx";
3
+ import { useFormikContext as me, getIn as fe, Field as b } from "formik";
4
+ import { useState as L, useRef as X, useCallback as v, useEffect as ve, useMemo as q } from "react";
5
+ import { useIntl as pe } from "react-intl";
6
+ import { R as n } from "../../../../../../chunks/types.js";
7
+ import { DEFAULT_MAX_DATE as z } from "./constants.js";
8
+ import { getRelativeFromToValues as J, convertToFormikValueRanged as K } from "./date-conversion-utils.js";
9
+ import { s as p } from "../../../../../../chunks/metadata-date-field.module.js";
10
+ import { E as A } from "../../../../../../chunks/types2.js";
11
+ import { useDateValidation as he } from "./use-date-validation.js";
12
+ import { useIntegerValidation as ge } from "./use-integer-validation.js";
13
+ import { getDynamicMaxMinValue as Q } from "./utils.js";
14
+ import i from "../../../../messages.js";
15
+ import { jsx as s, jsxs as W } from "react/jsx-runtime";
16
+ import { A as Fe } from "../../../../../../chunks/index.js";
17
+ const Pe = ({
18
+ disableForm: h,
17
19
  fieldNamePrefix: d,
18
- label: C,
19
- locale: L,
20
+ label: N,
21
+ locale: C,
20
22
  portalElement: D,
21
- filterOptionsMap: W,
22
- onAdvancedFilterOptionChange: F,
23
- fieldAdvancedFilterOptions: N
23
+ filterOptionsMap: Y,
24
+ onAdvancedFilterOptionChange: g,
25
+ fieldAdvancedFilterOptions: I
24
26
  }) => {
25
27
  const T = `${d}.value.advancedFilterOption`, u = `${d}.value.relativeDays`, r = `${d}.value.range.gt`, o = `${d}.value.range.lt`, {
26
- values: B,
27
- setFieldValue: t,
28
- setFieldTouched: I
29
- } = de(), {
30
- validateDates: x,
31
- fromDatePickerValue: g,
28
+ values: E,
29
+ setFieldValue: a,
30
+ setFieldTouched: B
31
+ } = me(), {
32
+ validateDates: S,
33
+ fromDatePickerValue: F,
32
34
  toDatePickerValue: M,
33
- fromErrorType: E,
34
- toErrorType: S
35
- } = ve(B, r, o, L, !0), l = fe(), [i, Y] = b(N || ""), [P, V] = b(!1), m = ue(B, u), [$, O] = b(s.FROM), k = _(g), R = _(M), w = {
36
- clearDatePickerAriaLabel: l.formatMessage(c.clearSelectedDate),
37
- nextMonthAriaLabel: l.formatMessage(c.switchToNextMonth),
38
- openCalendarDropdownAriaLabel: l.formatMessage(c.openCalendar),
39
- previousMonthAriaLabel: l.formatMessage(c.switchToNextMonth)
40
- }, U = v(() => {
41
- if (i === "today") {
35
+ fromErrorType: x,
36
+ toErrorType: P
37
+ } = he(E, r, o, C, !0), {
38
+ validatePositiveInteger: Z
39
+ } = ge(), l = pe(), [m, ee] = L(I || ""), [U, V] = L(!1), c = fe(E, u), [_, O] = L(n.FROM), R = X(F), k = X(M), $ = {
40
+ clearDatePickerAriaLabel: l.formatMessage(i.clearSelectedDate),
41
+ nextMonthAriaLabel: l.formatMessage(i.switchToNextMonth),
42
+ openCalendarDropdownAriaLabel: l.formatMessage(i.openCalendar),
43
+ previousMonthAriaLabel: l.formatMessage(i.switchToNextMonth)
44
+ }, w = v(() => {
45
+ if (m === "today") {
42
46
  const {
43
- from: a,
44
- to: e
45
- } = z("today", void 0);
46
- t(r, a), t(o, e);
47
- } else if (m !== void 0 && m > 0) {
48
- const a = i;
49
- if (["next", "past", "olderThan"].includes(a)) {
50
- const {
51
- from: e,
52
- to: f
53
- } = z(a, m);
54
- t(r, e), t(o, f);
47
+ from: e,
48
+ to: t
49
+ } = J("today", void 0);
50
+ a(r, e), a(o, t);
51
+ } else if (c !== void 0) {
52
+ const e = typeof c == "string" ? Number(c) : c;
53
+ if (!isNaN(e) && e > 0) {
54
+ const t = m;
55
+ if (["next", "past", "olderThan"].includes(t)) {
56
+ const {
57
+ from: f,
58
+ to: y
59
+ } = J(t, e);
60
+ a(r, f), a(o, y);
61
+ }
55
62
  }
56
63
  }
57
- }, [i, m, r, o, t]);
58
- me(() => {
59
- P && (U(), V(!1));
60
- }, [P, U]);
61
- const Z = v((a) => {
62
- const e = a;
63
- Y(e), t(T, e), F && F(d, e);
64
+ }, [m, c, r, o, a]);
65
+ ve(() => {
66
+ U && (w(), V(!1));
67
+ }, [U, w]);
68
+ const te = v((e) => {
69
+ const t = e;
70
+ ee(t), a(T, t), g && g(d, t);
64
71
  const f = () => {
65
- t(u, void 0), t(r, void 0), t(o, void 0);
66
- }, ne = () => {
67
- t(r, void 0), t(o, void 0);
72
+ a(u, void 0), a(r, void 0), a(o, void 0);
73
+ }, y = () => {
74
+ a(r, void 0), a(o, void 0);
68
75
  };
69
- ["isBlank", "isNotBlank", "selectFilterType"].includes(e) || !e || e === "customRange" ? f() : e === "today" ? (t(u, void 0), V(!0)) : ne();
70
- }, [d, F, t, T, u, r, o]), ee = v((a) => {
71
- const e = a === "" ? void 0 : Number(a);
72
- (!isNaN(e) || a === "") && (t(u, e), e && e > 0 && V(!0));
73
- }, [t, u]), ae = v((a) => {
74
- const e = J(a, s.FROM);
75
- k.current = a, t(r, e), O(s.FROM);
76
- }, [t, r]), te = v((a) => {
77
- const e = J(a, s.TO);
78
- R.current = a, t(o, e), O(s.TO);
79
- }, [t, o]), j = v((a) => {
80
- const e = a === s.FROM ? r : o;
81
- I(e, !0), O(a);
82
- }, [I, r, o]), re = H(() => K(M, q), [M]), oe = H(() => K(g), [g]), G = (a, e, f) => !!(e === A.MAX && a === A.OVERLAPPING || a === A.OVERLAPPING && f), se = () => !i || i === "isBlank" || i === "isNotBlank" || i === "selectFilterType" || i === "today" ? null : i === "customRange" ? /* @__PURE__ */ Q("div", {
83
- className: ce(h.rangeInputsContainer, h.verticalLayout),
84
- children: [/* @__PURE__ */ n(y, {
76
+ ["isBlank", "isNotBlank", "selectFilterType"].includes(t) || !t || t === "customRange" ? f() : t === "today" ? (a(u, void 0), V(!0)) : y();
77
+ }, [d, g, a, T, u, r, o]), ae = v((e) => {
78
+ a(u, e), Number(e) > 0 && V(!0);
79
+ }, [a, u]), re = v((e) => {
80
+ const t = K(e, n.FROM);
81
+ R.current = e, a(r, t), O(n.FROM);
82
+ }, [a, r]), oe = v((e) => {
83
+ const t = K(e, n.TO);
84
+ k.current = e, a(o, t), O(n.TO);
85
+ }, [a, o]), j = v((e) => {
86
+ const t = e === n.FROM ? r : o;
87
+ B(t, !0), O(e);
88
+ }, [B, r, o]), ne = q(() => Q(M, z), [M]), se = q(() => Q(F), [F]), G = (e, t, f) => !!(t === A.MAX && e === A.OVERLAPPING || e === A.OVERLAPPING && f), le = ["isBlank", "isNotBlank", "selectFilterType", "today"], ie = () => !m || le.includes(m) ? null : m === "customRange" ? /* @__PURE__ */ W("div", {
89
+ className: ue(p.rangeInputsContainer, p.verticalLayout),
90
+ children: [/* @__PURE__ */ s(b, {
85
91
  name: r,
86
- validate: (a) => x(k.current, R.current, s.FROM),
92
+ validate: (e) => S(R.current, k.current, n.FROM),
87
93
  children: ({
88
- field: a,
89
- meta: e
90
- }) => /* @__PURE__ */ n("div", {
91
- className: h.datePicker,
92
- children: /* @__PURE__ */ n(X, {
93
- ...a,
94
- ...w,
95
- calendarAriaLabel: l.formatMessage(c.selectStartDate),
96
- error: G(E, S, $ !== s.FROM) ? void 0 : e.error,
97
- isDisabled: p,
98
- label: l.formatMessage(c.afterDate),
99
- maxValue: re,
100
- onBlur: () => j(s.FROM),
101
- onChange: ae,
94
+ field: e,
95
+ meta: t
96
+ }) => /* @__PURE__ */ s("div", {
97
+ className: p.datePicker,
98
+ children: /* @__PURE__ */ s(H, {
99
+ ...e,
100
+ ...$,
101
+ calendarAriaLabel: l.formatMessage(i.selectStartDate),
102
+ error: !G(x, P, _ !== n.FROM) && t.error,
103
+ isDisabled: h,
104
+ label: l.formatMessage(i.afterDate),
105
+ maxValue: ne,
106
+ onBlur: () => j(n.FROM),
107
+ onChange: re,
102
108
  portalElement: D,
103
- value: g
109
+ value: F
104
110
  })
105
111
  })
106
- }), /* @__PURE__ */ n(y, {
112
+ }), /* @__PURE__ */ s(b, {
107
113
  name: o,
108
- validate: (a) => x(k.current, R.current, s.TO),
114
+ validate: (e) => S(R.current, k.current, n.TO),
109
115
  children: ({
110
- field: a,
111
- meta: e
112
- }) => /* @__PURE__ */ n("div", {
113
- className: h.datePicker,
114
- children: /* @__PURE__ */ n(X, {
115
- ...a,
116
- ...w,
117
- calendarAriaLabel: l.formatMessage(c.selectEndDate),
118
- error: G(S, E, $ !== s.TO) ? void 0 : e.error,
119
- isDisabled: p,
120
- label: l.formatMessage(c.beforeDate),
121
- maxValue: q,
122
- minValue: oe,
123
- onBlur: () => j(s.TO),
124
- onChange: te,
116
+ field: e,
117
+ meta: t
118
+ }) => /* @__PURE__ */ s("div", {
119
+ className: p.datePicker,
120
+ children: /* @__PURE__ */ s(H, {
121
+ ...e,
122
+ ...$,
123
+ calendarAriaLabel: l.formatMessage(i.selectEndDate),
124
+ error: !G(P, x, _ !== n.TO) && t.error,
125
+ isDisabled: h,
126
+ label: l.formatMessage(i.beforeDate),
127
+ maxValue: z,
128
+ minValue: se,
129
+ onBlur: () => j(n.TO),
130
+ onChange: oe,
125
131
  portalElement: D,
126
132
  value: M
127
133
  })
128
134
  })
129
135
  })]
130
- }) : /* @__PURE__ */ n(y, {
136
+ }) : /* @__PURE__ */ s(b, {
131
137
  name: u,
138
+ validate: (e) => Z((e == null ? void 0 : e.toString()) || ""),
132
139
  children: ({
133
- field: a,
134
- meta: e
135
- }) => /* @__PURE__ */ n("div", {
136
- className: h.daysInputContainer,
137
- children: /* @__PURE__ */ n(ie, {
138
- ...a,
139
- disabled: p,
140
- error: e.touched && e.error ? e.error : void 0,
140
+ field: e,
141
+ meta: t
142
+ }) => /* @__PURE__ */ s("div", {
143
+ className: p.daysInputContainer,
144
+ children: /* @__PURE__ */ s(de, {
145
+ ...e,
146
+ disabled: h,
147
+ error: t.touched && t.error,
141
148
  hideLabel: !0,
142
- label: l.formatMessage(c.relativeDaysSelectLabel),
143
- onChange: (f) => ee(f.target.value),
144
- placeholder: l.formatMessage(c.numberOfDays),
145
- value: (m == null ? void 0 : m.toString()) || ""
149
+ label: l.formatMessage(i.relativeDaysSelectLabel),
150
+ onChange: (f) => ae(f.target.value),
151
+ placeholder: l.formatMessage(i.numberOfDays),
152
+ value: (c == null ? void 0 : c.toString()) || ""
146
153
  })
147
154
  })
148
155
  });
149
- return /* @__PURE__ */ n(le, {
150
- locale: L,
151
- children: /* @__PURE__ */ Q("div", {
152
- className: h.advancedDateContainer,
153
- "data-testid": `${C}-advanced-field`,
154
- children: [/* @__PURE__ */ n(he, {
156
+ return /* @__PURE__ */ s(ce, {
157
+ locale: C,
158
+ children: /* @__PURE__ */ W("div", {
159
+ className: p.advancedDateContainer,
160
+ "data-testid": `${N}-advanced-field`,
161
+ children: [/* @__PURE__ */ s(Fe, {
155
162
  advancedFilterFieldName: T,
156
- disableForm: p,
157
- fieldAdvancedFilterOptions: N,
163
+ disableForm: h,
164
+ fieldAdvancedFilterOptions: I,
158
165
  fieldNamePrefix: d,
159
- filterOptionsMap: W,
160
- label: C,
161
- onAdvancedFilterOptionChange: F,
162
- onValueChange: Z,
166
+ filterOptionsMap: Y,
167
+ label: N,
168
+ onAdvancedFilterOptionChange: g,
169
+ onValueChange: te,
163
170
  portalElement: D,
164
171
  showLabel: !0,
165
- value: i
166
- }), se()]
172
+ value: m
173
+ }), ie()]
167
174
  })
168
175
  });
169
176
  };
170
177
  export {
171
- Be as MetadataDateFieldAdvanced,
172
- Be as default
178
+ Pe as MetadataDateFieldAdvanced,
179
+ Pe as default
173
180
  };