@alfadocs/ui-kit-debug 0.33.8 → 0.33.10

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 (26) hide show
  1. package/dist/_chunks/{booking-h_kBZM6M.js → booking-x4GlW5cb.js} +1106 -965
  2. package/dist/_chunks/booking-x4GlW5cb.js.map +1 -0
  3. package/dist/_chunks/{date-range-picker-D4dgDlLU.js → date-range-picker-D8CHNYQT.js} +72 -74
  4. package/dist/_chunks/date-range-picker-D8CHNYQT.js.map +1 -0
  5. package/dist/_chunks/{editable-currency-cell-renderer-B9VRSV_S.js → editable-currency-cell-renderer-CZcVWBPo.js} +2 -2
  6. package/dist/_chunks/{editable-currency-cell-renderer-B9VRSV_S.js.map → editable-currency-cell-renderer-CZcVWBPo.js.map} +1 -1
  7. package/dist/_chunks/slot-grid-BlHHP9Qy.js +502 -0
  8. package/dist/_chunks/slot-grid-BlHHP9Qy.js.map +1 -0
  9. package/dist/_chunks/subDays-CANHP9hz.js +8 -0
  10. package/dist/_chunks/subDays-CANHP9hz.js.map +1 -0
  11. package/dist/agent-catalog.json +1 -1
  12. package/dist/components/booking/booking-types.d.ts +48 -0
  13. package/dist/components/booking/booking-types.d.ts.map +1 -1
  14. package/dist/components/booking/booking.d.ts.map +1 -1
  15. package/dist/components/booking/index.js +1 -1
  16. package/dist/components/data-table/index.js +1 -1
  17. package/dist/components/date-range-picker/index.js +1 -1
  18. package/dist/components/slot-grid/index.js +1 -1
  19. package/dist/index.js +4 -4
  20. package/package.json +1 -1
  21. package/dist/_chunks/booking-h_kBZM6M.js.map +0 -1
  22. package/dist/_chunks/date-range-picker-D4dgDlLU.js.map +0 -1
  23. package/dist/_chunks/parseISO-DEpUNwxZ.js +0 -120
  24. package/dist/_chunks/parseISO-DEpUNwxZ.js.map +0 -1
  25. package/dist/_chunks/slot-grid-Dz13dH82.js +0 -387
  26. package/dist/_chunks/slot-grid-Dz13dH82.js.map +0 -1
@@ -1,18 +1,16 @@
1
- import { jsx as n, jsxs as f } from "react/jsx-runtime";
1
+ import { jsx as n, jsxs as m } from "react/jsx-runtime";
2
2
  import { forwardRef as Q, useState as I, useRef as U, useCallback as X, useMemo as Z, useImperativeHandle as z } from "react";
3
3
  import { useTranslation as ee } from "react-i18next";
4
- import * as m from "@radix-ui/react-popover";
4
+ import * as f from "@radix-ui/react-popover";
5
5
  import { u as te } from "./use-controllable-state-BiY4xTzM.js";
6
6
  import { u as ae } from "./form-field-context-B3APVHKx.js";
7
- import { a as ne, b as re, u as se, g as oe, c as ie, e as T, s as W, d as de, f as ce, h as v, i as le, C as pe, j as ge, t as ue, p as fe, D as me, k as he, l as ke } from "./react-day-picker-DsjfS7uI.js";
8
- import { u as ye } from "./registry-nPAVE19X.js";
9
- function R(t, r, o) {
10
- return ne(t, -r, o);
7
+ import { b as ne, u as re, g as se, c as oe, e as T, s as W, d as ie, f as de, h as v, i as ce, C as le, j as pe, t as ge, p as ue, D as me, k as fe, l as he } from "./react-day-picker-DsjfS7uI.js";
8
+ import { s as R } from "./subDays-CANHP9hz.js";
9
+ import { u as ke } from "./registry-nPAVE19X.js";
10
+ function ye(a, s, i) {
11
+ return ne(a, -1, i);
11
12
  }
12
- function be(t, r, o) {
13
- return re(t, -1, o);
14
- }
15
- const ve = {
13
+ const be = {
16
14
  id: "date-range-picker",
17
15
  capabilities: ["range_pick", "open", "close"],
18
16
  state: {
@@ -20,12 +18,12 @@ const ve = {
20
18
  type: "{ from: iso-date | null, to: iso-date | null }",
21
19
  descriptionKey: "ui.agent.dateRangePicker.state.range",
22
20
  description: "Currently-selected ISO date range endpoints, each possibly null.",
23
- read: (t) => {
24
- var o, l;
25
- const r = t.getRange();
21
+ read: (a) => {
22
+ var i, l;
23
+ const s = a.getRange();
26
24
  return {
27
- from: ((o = r.from) == null ? void 0 : o.toISOString()) ?? null,
28
- to: ((l = r.to) == null ? void 0 : l.toISOString()) ?? null
25
+ from: ((i = s.from) == null ? void 0 : i.toISOString()) ?? null,
26
+ to: ((l = s.to) == null ? void 0 : l.toISOString()) ?? null
29
27
  };
30
28
  }
31
29
  },
@@ -33,7 +31,7 @@ const ve = {
33
31
  type: "boolean",
34
32
  descriptionKey: "ui.agent.dateRangePicker.state.isOpen",
35
33
  description: "Whether the range calendar popover is open.",
36
- read: (t) => t.isOpen()
34
+ read: (a) => a.isOpen()
37
35
  }
38
36
  },
39
37
  actions: {
@@ -42,32 +40,32 @@ const ve = {
42
40
  argsType: "{ from: string, to: string }",
43
41
  descriptionKey: "ui.agent.dateRangePicker.actions.setRange",
44
42
  description: "Replace the selected range with the given ISO endpoints.",
45
- invoke: (t, r) => {
46
- t.setRange({ from: new Date(r.from), to: new Date(r.to) });
43
+ invoke: (a, s) => {
44
+ a.setRange({ from: new Date(s.from), to: new Date(s.to) });
47
45
  }
48
46
  },
49
47
  clear: {
50
48
  safety: "destructive",
51
49
  descriptionKey: "ui.agent.dateRangePicker.actions.clear",
52
50
  description: "Clear the selected range.",
53
- invoke: (t) => {
54
- t.clear();
51
+ invoke: (a) => {
52
+ a.clear();
55
53
  }
56
54
  },
57
55
  open: {
58
56
  safety: "read",
59
57
  descriptionKey: "ui.agent.dateRangePicker.actions.open",
60
58
  description: "Open the range calendar popover.",
61
- invoke: (t) => {
62
- t.open();
59
+ invoke: (a) => {
60
+ a.open();
63
61
  }
64
62
  },
65
63
  close: {
66
64
  safety: "read",
67
65
  descriptionKey: "ui.agent.dateRangePicker.actions.close",
68
66
  description: "Close the range calendar popover.",
69
- invoke: (t) => {
70
- t.close();
67
+ invoke: (a) => {
68
+ a.close();
71
69
  }
72
70
  }
73
71
  },
@@ -83,11 +81,11 @@ const ve = {
83
81
  description: "Sourced from the id prop."
84
82
  }
85
83
  }
86
- }, Re = Q(
84
+ }, ve = Q(
87
85
  ({
88
- value: t,
89
- defaultValue: r,
90
- onChange: o,
86
+ value: a,
87
+ defaultValue: s,
88
+ onChange: i,
91
89
  minDate: l,
92
90
  maxDate: V,
93
91
  presets: h,
@@ -98,63 +96,63 @@ const ve = {
98
96
  className: j,
99
97
  id: A
100
98
  }, B) => {
101
- const { t: s, i18n: P } = ee(), c = ae(), k = A ?? c.id, w = c.disabled || F, H = c.invalid ? "error" : "default", i = se(P.language), y = oe(P.language), _ = L ?? s("inputs.dateRangePicker.placeholder", "Select date range"), [$, C] = te({
102
- value: t,
103
- defaultValue: r ?? {},
104
- onChange: o
105
- }), a = $ ?? {}, [p, g] = I(!1), [Y, O] = I(a.from ?? /* @__PURE__ */ new Date()), q = U(null), d = X(
99
+ const { t: r, i18n: P } = ee(), c = ae(), k = A ?? c.id, w = c.disabled || F, H = c.invalid ? "error" : "default", o = re(P.language), y = se(P.language), _ = L ?? r("inputs.dateRangePicker.placeholder", "Select date range"), [$, C] = te({
100
+ value: a,
101
+ defaultValue: s ?? {},
102
+ onChange: i
103
+ }), t = $ ?? {}, [p, g] = I(!1), [Y, O] = I(t.from ?? /* @__PURE__ */ new Date()), q = U(null), d = X(
106
104
  (e) => {
107
105
  C(e);
108
106
  },
109
107
  [C]
110
- ), E = ie(l, V), x = [
108
+ ), E = oe(l, V), x = [
111
109
  {
112
- label: s("inputs.dateRangePicker.presets.today", "Today"),
110
+ label: r("inputs.dateRangePicker.presets.today", "Today"),
113
111
  range: () => {
114
112
  const e = /* @__PURE__ */ new Date();
115
113
  return { from: e, to: e };
116
114
  }
117
115
  },
118
116
  {
119
- label: s("inputs.dateRangePicker.presets.yesterday", "Yesterday"),
117
+ label: r("inputs.dateRangePicker.presets.yesterday", "Yesterday"),
120
118
  range: () => {
121
119
  const e = R(/* @__PURE__ */ new Date(), 1);
122
120
  return { from: e, to: e };
123
121
  }
124
122
  },
125
123
  {
126
- label: s("inputs.dateRangePicker.presets.last7", "Last 7 days"),
124
+ label: r("inputs.dateRangePicker.presets.last7", "Last 7 days"),
127
125
  range: () => ({
128
126
  from: R(/* @__PURE__ */ new Date(), 6),
129
127
  to: /* @__PURE__ */ new Date()
130
128
  })
131
129
  },
132
130
  {
133
- label: s("inputs.dateRangePicker.presets.thisWeek", "This week"),
131
+ label: r("inputs.dateRangePicker.presets.thisWeek", "This week"),
134
132
  range: () => ({
135
- from: W(/* @__PURE__ */ new Date(), { locale: i }),
136
- to: T(/* @__PURE__ */ new Date(), { locale: i })
133
+ from: W(/* @__PURE__ */ new Date(), { locale: o }),
134
+ to: T(/* @__PURE__ */ new Date(), { locale: o })
137
135
  })
138
136
  },
139
137
  {
140
- label: s("inputs.dateRangePicker.presets.lastWeek", "Last week"),
138
+ label: r("inputs.dateRangePicker.presets.lastWeek", "Last week"),
141
139
  range: () => {
142
- const e = be(/* @__PURE__ */ new Date());
140
+ const e = ye(/* @__PURE__ */ new Date());
143
141
  return {
144
- from: W(e, { locale: i }),
145
- to: T(e, { locale: i })
142
+ from: W(e, { locale: o }),
143
+ to: T(e, { locale: o })
146
144
  };
147
145
  }
148
146
  },
149
147
  {
150
- label: s("inputs.dateRangePicker.presets.thisMonth", "This month"),
148
+ label: r("inputs.dateRangePicker.presets.thisMonth", "This month"),
151
149
  range: () => ({
152
- from: ce(/* @__PURE__ */ new Date()),
153
- to: de(/* @__PURE__ */ new Date())
150
+ from: de(/* @__PURE__ */ new Date()),
151
+ to: ie(/* @__PURE__ */ new Date())
154
152
  })
155
153
  },
156
154
  {
157
- label: s("inputs.dateRangePicker.presets.last30", "Last 30 days"),
155
+ label: r("inputs.dateRangePicker.presets.last30", "Last 30 days"),
158
156
  range: () => ({
159
157
  from: R(/* @__PURE__ */ new Date(), 29),
160
158
  to: /* @__PURE__ */ new Date()
@@ -166,38 +164,38 @@ const ve = {
166
164
  const u = e.range();
167
165
  d(u), O(u.from), g(!1);
168
166
  }, M = (() => {
169
- if (a.from && a.to) {
170
- const e = v(a.from, y, { locale: i }), u = v(a.to, y, { locale: i });
167
+ if (t.from && t.to) {
168
+ const e = v(t.from, y, { locale: o }), u = v(t.to, y, { locale: o });
171
169
  return `${e} – ${u}`;
172
170
  }
173
- return a.from ? v(a.from, y, { locale: i }) : "";
171
+ return t.from ? v(t.from, y, { locale: o }) : "";
174
172
  })(), N = (() => {
175
- if (a.from && a.to) {
176
- const e = le(a.to, a.from) + 1;
177
- return s("inputs.dateRangePicker.days", "{{count}} days", {
173
+ if (t.from && t.to) {
174
+ const e = ce(t.to, t.from) + 1;
175
+ return r("inputs.dateRangePicker.days", "{{count}} days", {
178
176
  count: e
179
177
  });
180
178
  }
181
179
  return "";
182
180
  })(), b = Z(
183
181
  () => ({
184
- getRange: () => a,
182
+ getRange: () => t,
185
183
  setRange: (e) => d(e),
186
184
  clear: () => d({}),
187
185
  isOpen: () => p,
188
186
  open: () => g(!0),
189
187
  close: () => g(!1)
190
188
  }),
191
- [a, d, p]
189
+ [t, d, p]
192
190
  );
193
- return z(B, () => b, [b]), ye(ve, b, k), /* @__PURE__ */ n(m.Root, { open: p, onOpenChange: g, children: /* @__PURE__ */ f(
191
+ return z(B, () => b, [b]), ke(be, b, k), /* @__PURE__ */ n(f.Root, { open: p, onOpenChange: g, children: /* @__PURE__ */ m(
194
192
  "div",
195
193
  {
196
194
  className: j,
197
195
  "data-component": "date-range-picker",
198
196
  "data-component-id": k,
199
197
  children: [
200
- /* @__PURE__ */ n(m.Trigger, { asChild: !0, disabled: w, children: /* @__PURE__ */ f(
198
+ /* @__PURE__ */ n(f.Trigger, { asChild: !0, disabled: w, children: /* @__PURE__ */ m(
201
199
  "button",
202
200
  {
203
201
  ref: q,
@@ -208,7 +206,7 @@ const ve = {
208
206
  "aria-invalid": c.invalid || void 0,
209
207
  "aria-haspopup": "dialog",
210
208
  "aria-expanded": p,
211
- className: ue({ size: D, tone: H }),
209
+ className: ge({ size: D, tone: H }),
212
210
  children: [
213
211
  /* @__PURE__ */ n(
214
212
  "span",
@@ -221,46 +219,46 @@ const ve = {
221
219
  "span",
222
220
  {
223
221
  "aria-hidden": "true",
224
- className: ge({ size: D }),
225
- children: /* @__PURE__ */ n(pe, {})
222
+ className: pe({ size: D }),
223
+ children: /* @__PURE__ */ n(le, {})
226
224
  }
227
225
  )
228
226
  ]
229
227
  }
230
228
  ) }),
231
- /* @__PURE__ */ n(m.Portal, { children: /* @__PURE__ */ n(
232
- m.Content,
229
+ /* @__PURE__ */ n(f.Portal, { children: /* @__PURE__ */ n(
230
+ f.Content,
233
231
  {
234
232
  sideOffset: 4,
235
233
  align: "start",
236
- className: ke(),
237
- children: /* @__PURE__ */ f("div", { className: "ds:flex ds:gap-[var(--spacing-md)]", children: [
234
+ className: he(),
235
+ children: /* @__PURE__ */ m("div", { className: "ds:flex ds:gap-[var(--spacing-md)]", children: [
238
236
  S.length > 0 ? /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-[8rem] ds:border-e ds:border-border ds:pe-[var(--spacing-md)]", children: S.map((e) => /* @__PURE__ */ n(
239
237
  "button",
240
238
  {
241
239
  type: "button",
242
240
  onClick: () => J(e),
243
- className: fe(),
241
+ className: ue(),
244
242
  children: e.label
245
243
  },
246
244
  e.label
247
245
  )) }) : null,
248
- /* @__PURE__ */ f("div", { children: [
246
+ /* @__PURE__ */ m("div", { children: [
249
247
  /* @__PURE__ */ n(
250
248
  me,
251
249
  {
252
250
  mode: "range",
253
- selected: a.from ? { from: a.from, to: a.to } : void 0,
251
+ selected: t.from ? { from: t.from, to: t.to } : void 0,
254
252
  onSelect: G,
255
253
  month: Y,
256
254
  onMonthChange: O,
257
255
  numberOfMonths: 2,
258
256
  disabled: E,
259
- locale: i,
257
+ locale: o,
260
258
  showOutsideDays: !0,
261
259
  fixedWeeks: !0,
262
260
  pagedNavigation: !0,
263
- components: { Chevron: he }
261
+ components: { Chevron: fe }
264
262
  }
265
263
  ),
266
264
  N ? /* @__PURE__ */ n(
@@ -281,9 +279,9 @@ const ve = {
281
279
  ) });
282
280
  }
283
281
  );
284
- Re.displayName = "DateRangePicker";
282
+ ve.displayName = "DateRangePicker";
285
283
  export {
286
- Re as D,
287
- ve as d
284
+ ve as D,
285
+ be as d
288
286
  };
289
- //# sourceMappingURL=date-range-picker-D4dgDlLU.js.map
287
+ //# sourceMappingURL=date-range-picker-D8CHNYQT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-range-picker-D8CHNYQT.js","sources":["../../node_modules/date-fns/subWeeks.js","../../src/components/date-range-picker/date-range-picker.agent.ts","../../src/components/date-range-picker/date-range-picker.tsx"],"sourcesContent":["import { addWeeks } from \"./addWeeks.js\";\n\n/**\n * The {@link subWeeks} function options.\n */\n\n/**\n * @name subWeeks\n * @category Week Helpers\n * @summary Subtract the specified number of weeks from the given date.\n *\n * @description\n * Subtract the specified number of weeks from the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The date to be changed\n * @param amount - The amount of weeks to be subtracted.\n * @param options - An object with options\n *\n * @returns The new date with the weeks subtracted\n *\n * @example\n * // Subtract 4 weeks from 1 September 2014:\n * const result = subWeeks(new Date(2014, 8, 1), 4)\n * //=> Mon Aug 04 2014 00:00:00\n */\nexport function subWeeks(date, amount, options) {\n return addWeeks(date, -amount, options);\n}\n\n// Fallback for modularized imports:\nexport default subWeeks;\n","/* -------------------------------------------------------------------- */\n/* Agent adapter — DateRangePicker. */\n/* */\n/* DateRangePicker wraps react-day-picker (range mode) inside a Radix */\n/* Popover. The agent surface curates the trigger + popover into a small */\n/* set of range operations — set / clear / open / close. */\n/* */\n/* See `src/docs/26-agent-readiness.mdx` §15. */\n/* -------------------------------------------------------------------- */\n\nimport type { AgentAdapter } from '../../agent/types';\nimport type { DateRangePickerHandle } from './date-range-picker';\n\nexport const dateRangePickerAgent: AgentAdapter<DateRangePickerHandle> = {\n id: 'date-range-picker',\n capabilities: ['range_pick', 'open', 'close'],\n state: {\n range: {\n type: '{ from: iso-date | null, to: iso-date | null }',\n descriptionKey: 'ui.agent.dateRangePicker.state.range',\n description:\n 'Currently-selected ISO date range endpoints, each possibly null.',\n read: (handle) => {\n const range = handle.getRange();\n return {\n from: range.from?.toISOString() ?? null,\n to: range.to?.toISOString() ?? null,\n };\n },\n },\n isOpen: {\n type: 'boolean',\n descriptionKey: 'ui.agent.dateRangePicker.state.isOpen',\n description: 'Whether the range calendar popover is open.',\n read: (handle) => handle.isOpen(),\n },\n },\n actions: {\n set_range: {\n safety: 'write',\n argsType: '{ from: string, to: string }',\n descriptionKey: 'ui.agent.dateRangePicker.actions.setRange',\n description: 'Replace the selected range with the given ISO endpoints.',\n invoke: (handle, args: { from: string; to: string }) => {\n handle.setRange({ from: new Date(args.from), to: new Date(args.to) });\n },\n },\n clear: {\n safety: 'destructive',\n descriptionKey: 'ui.agent.dateRangePicker.actions.clear',\n description: 'Clear the selected range.',\n invoke: (handle) => {\n handle.clear();\n },\n },\n open: {\n safety: 'read',\n descriptionKey: 'ui.agent.dateRangePicker.actions.open',\n description: 'Open the range calendar popover.',\n invoke: (handle) => {\n handle.open();\n },\n },\n close: {\n safety: 'read',\n descriptionKey: 'ui.agent.dateRangePicker.actions.close',\n description: 'Close the range calendar popover.',\n invoke: (handle) => {\n handle.close();\n },\n },\n },\n domHooks: {\n root: {\n attr: 'data-component',\n value: 'date-range-picker',\n description: 'Marks the DateRangePicker wrapper.',\n },\n instanceId: {\n attr: 'data-component-id',\n sourceProp: 'id',\n description: 'Sourced from the id prop.',\n },\n },\n};\n","import {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport { type VariantProps } from 'class-variance-authority';\nimport { useTranslation } from 'react-i18next';\nimport * as Popover from '@radix-ui/react-popover';\nimport { DayPicker, type DateRange } from 'react-day-picker';\nimport {\n format as fnsFormat,\n differenceInCalendarDays,\n startOfWeek,\n endOfWeek,\n startOfMonth,\n endOfMonth,\n subDays,\n subWeeks,\n} from 'date-fns';\nimport { Calendar } from 'lucide-react';\nimport { useControllableState } from '../../hooks/use-controllable-state';\nimport { useFormField } from '../form-field/form-field-context';\nimport {\n useDateFnsLocale,\n getShortDateFormat,\n buildDisabledMatcher,\n CalendarChevron,\n triggerVariants,\n calendarIconVariants,\n popoverContentVariants,\n presetButtonVariants,\n} from '../_shared';\nimport { useAgentRegistration } from '../../agent';\nimport { dateRangePickerAgent } from './date-range-picker.agent';\nimport '../../tokens/themes/bridges/react-day-picker.css';\n\n/* -------------------------------------------------------------------------- */\n/* Props */\n/* -------------------------------------------------------------------------- */\n\nexport interface DateRangePreset {\n label: string;\n range: () => { from: Date; to: Date };\n}\n\nexport interface DateRangeValue {\n from?: Date;\n to?: Date;\n}\n\n/** Curated imperative handle exposed via `ref` — also consumed by the agent adapter. */\nexport interface DateRangePickerHandle {\n /** Get the current selected range. */\n getRange: () => DateRangeValue;\n /** Replace the selected range. */\n setRange: (range: DateRangeValue) => void;\n /** Clear the selected range. */\n clear: () => void;\n /** Whether the popover is open. */\n isOpen: () => boolean;\n /** Open the range calendar popover. */\n open: () => void;\n /** Close the range calendar popover. */\n close: () => void;\n}\n\nexport interface DateRangePickerProps extends Pick<\n VariantProps<typeof triggerVariants>,\n 'size'\n> {\n /** Current range — controlled. */\n value?: DateRangeValue;\n /** Default range — uncontrolled. */\n defaultValue?: DateRangeValue;\n /** Called when the range changes. */\n onChange?: (range: DateRangeValue) => void;\n /** Minimum selectable date. */\n minDate?: Date;\n /** Maximum selectable date. */\n maxDate?: Date;\n /** Custom presets. Replaces defaults unless mergePresets is true. */\n presets?: DateRangePreset[];\n /** Merge custom presets with defaults instead of replacing. */\n mergePresets?: boolean;\n /** Component size. */\n size?: 'sm' | 'md' | 'lg';\n /** Disabled state. */\n disabled?: boolean;\n /** Placeholder text. */\n placeholder?: string;\n /** Additional class names. */\n className?: string;\n /** id override. */\n id?: string;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Component */\n/* -------------------------------------------------------------------------- */\n\nexport const DateRangePicker = forwardRef<\n DateRangePickerHandle,\n DateRangePickerProps\n>(\n (\n {\n value,\n defaultValue,\n onChange,\n minDate,\n maxDate,\n presets: presetsProp,\n mergePresets = false,\n size = 'md',\n disabled,\n placeholder,\n className,\n id,\n },\n ref,\n ) => {\n const { t, i18n } = useTranslation();\n const ctx = useFormField();\n const effectiveId = id ?? ctx.id;\n const effectiveDisabled = ctx.disabled || disabled;\n const effectiveTone = ctx.invalid ? 'error' : 'default';\n\n const locale = useDateFnsLocale(i18n.language);\n const dateFormat = getShortDateFormat(i18n.language);\n const placeholderText =\n placeholder ??\n t('inputs.dateRangePicker.placeholder', 'Select date range');\n\n const [currentValueRaw, setDateRangeValue] =\n useControllableState<DateRangeValue>({\n value,\n defaultValue: defaultValue ?? {},\n onChange,\n });\n const currentValue: DateRangeValue = currentValueRaw ?? {};\n\n const [open, setOpen] = useState(false);\n const [month, setMonth] = useState<Date>(currentValue.from ?? new Date());\n\n const triggerRef = useRef<HTMLButtonElement>(null);\n\n const emit = useCallback(\n (range: DateRangeValue) => {\n setDateRangeValue(range);\n },\n [setDateRangeValue],\n );\n\n const disabledMatcher = buildDisabledMatcher(minDate, maxDate);\n\n // Default presets\n const defaultPresets: DateRangePreset[] = [\n {\n label: t('inputs.dateRangePicker.presets.today', 'Today'),\n range: () => {\n const today = new Date();\n return { from: today, to: today };\n },\n },\n {\n label: t('inputs.dateRangePicker.presets.yesterday', 'Yesterday'),\n range: () => {\n const yesterday = subDays(new Date(), 1);\n return { from: yesterday, to: yesterday };\n },\n },\n {\n label: t('inputs.dateRangePicker.presets.last7', 'Last 7 days'),\n range: () => ({\n from: subDays(new Date(), 6),\n to: new Date(),\n }),\n },\n {\n label: t('inputs.dateRangePicker.presets.thisWeek', 'This week'),\n range: () => ({\n from: startOfWeek(new Date(), { locale }),\n to: endOfWeek(new Date(), { locale }),\n }),\n },\n {\n label: t('inputs.dateRangePicker.presets.lastWeek', 'Last week'),\n range: () => {\n const lastWeekDay = subWeeks(new Date(), 1);\n return {\n from: startOfWeek(lastWeekDay, { locale }),\n to: endOfWeek(lastWeekDay, { locale }),\n };\n },\n },\n {\n label: t('inputs.dateRangePicker.presets.thisMonth', 'This month'),\n range: () => ({\n from: startOfMonth(new Date()),\n to: endOfMonth(new Date()),\n }),\n },\n {\n label: t('inputs.dateRangePicker.presets.last30', 'Last 30 days'),\n range: () => ({\n from: subDays(new Date(), 29),\n to: new Date(),\n }),\n },\n ];\n\n const effectivePresets = presetsProp\n ? mergePresets\n ? [...defaultPresets, ...presetsProp]\n : presetsProp\n : defaultPresets;\n\n const handleRangeSelect = (range: DateRange | undefined) => {\n if (range) {\n emit({ from: range.from, to: range.to });\n } else {\n emit({});\n }\n };\n\n const handlePresetClick = (preset: DateRangePreset) => {\n const range = preset.range();\n emit(range);\n setMonth(range.from);\n setOpen(false);\n };\n\n // Use the locale-aware short format helper so Italian/German/Japanese\n // users see DD/MM/YYYY rather than the English-only \"MMM d, yyyy\".\n const displayText = (() => {\n if (currentValue.from && currentValue.to) {\n const fromStr = fnsFormat(currentValue.from, dateFormat, { locale });\n const toStr = fnsFormat(currentValue.to, dateFormat, { locale });\n return `${fromStr} – ${toStr}`;\n }\n if (currentValue.from) {\n return fnsFormat(currentValue.from, dateFormat, { locale });\n }\n return '';\n })();\n\n // Range summary for screen readers\n const rangeSummary = (() => {\n if (currentValue.from && currentValue.to) {\n const days =\n differenceInCalendarDays(currentValue.to, currentValue.from) + 1;\n return t('inputs.dateRangePicker.days', '{{count}} days', {\n count: days,\n });\n }\n return '';\n })();\n\n const handle = useMemo<DateRangePickerHandle>(\n () => ({\n getRange: () => currentValue,\n setRange: (range) => emit(range),\n clear: () => emit({}),\n isOpen: () => open,\n open: () => setOpen(true),\n close: () => setOpen(false),\n }),\n [currentValue, emit, open],\n );\n\n useImperativeHandle(ref, () => handle, [handle]);\n useAgentRegistration(dateRangePickerAgent, handle, effectiveId);\n\n return (\n <Popover.Root open={open} onOpenChange={setOpen}>\n <div\n className={className}\n data-component=\"date-range-picker\"\n data-component-id={effectiveId}\n >\n <Popover.Trigger asChild disabled={effectiveDisabled}>\n {/* eslint-disable-next-line jsx-a11y/role-supports-aria-props -- FormField propagates invalid state to its trigger; users rely on this for validation announcements */}\n <button\n ref={triggerRef}\n id={effectiveId}\n type=\"button\"\n disabled={effectiveDisabled}\n aria-describedby={ctx.describedBy || undefined}\n aria-invalid={ctx.invalid || undefined}\n // `aria-required` is not valid on `<button>` per ARIA 1.2 — the\n // FormField label's visible asterisk + `aria-describedby` link\n // communicate the required state instead.\n aria-haspopup=\"dialog\"\n aria-expanded={open}\n className={triggerVariants({ size, tone: effectiveTone })}\n >\n <span\n className={\n displayText\n ? 'ds:text-foreground'\n : 'ds:text-muted-foreground'\n }\n >\n {displayText || placeholderText}\n </span>\n <span\n aria-hidden=\"true\"\n className={calendarIconVariants({ size })}\n >\n <Calendar />\n </span>\n </button>\n </Popover.Trigger>\n\n <Popover.Portal>\n <Popover.Content\n sideOffset={4}\n align=\"start\"\n className={popoverContentVariants()}\n >\n <div className=\"ds:flex ds:gap-[var(--spacing-md)]\">\n {/* Presets column */}\n {effectivePresets.length > 0 ? (\n <div className=\"ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-[8rem] ds:border-e ds:border-border ds:pe-[var(--spacing-md)]\">\n {effectivePresets.map((preset) => (\n <button\n key={preset.label}\n type=\"button\"\n onClick={() => handlePresetClick(preset)}\n className={presetButtonVariants()}\n >\n {preset.label}\n </button>\n ))}\n </div>\n ) : null}\n\n {/* Dual calendar */}\n <div>\n <DayPicker\n mode=\"range\"\n selected={\n currentValue.from\n ? { from: currentValue.from, to: currentValue.to }\n : undefined\n }\n onSelect={handleRangeSelect}\n month={month}\n onMonthChange={setMonth}\n numberOfMonths={2}\n disabled={disabledMatcher}\n locale={locale}\n showOutsideDays\n fixedWeeks\n pagedNavigation\n components={{ Chevron: CalendarChevron }}\n />\n\n {/* Range summary live region */}\n {rangeSummary ? (\n <div\n role=\"status\"\n aria-live=\"polite\"\n className=\"type-body-sm ds:text-muted-foreground ds:mt-[var(--spacing-sm)] ds:text-center\"\n >\n {rangeSummary}\n </div>\n ) : null}\n </div>\n </div>\n </Popover.Content>\n </Popover.Portal>\n </div>\n </Popover.Root>\n );\n },\n);\n\nDateRangePicker.displayName = 'DateRangePicker';\n"],"names":["subWeeks","date","amount","options","addWeeks","dateRangePickerAgent","handle","range","_a","_b","args","DateRangePicker","forwardRef","value","defaultValue","onChange","minDate","maxDate","presetsProp","mergePresets","size","disabled","placeholder","className","id","ref","t","i18n","useTranslation","ctx","useFormField","effectiveId","effectiveDisabled","effectiveTone","locale","useDateFnsLocale","dateFormat","getShortDateFormat","placeholderText","currentValueRaw","setDateRangeValue","useControllableState","currentValue","open","setOpen","useState","month","setMonth","triggerRef","useRef","emit","useCallback","disabledMatcher","buildDisabledMatcher","defaultPresets","today","yesterday","subDays","startOfWeek","endOfWeek","lastWeekDay","startOfMonth","endOfMonth","effectivePresets","handleRangeSelect","handlePresetClick","preset","displayText","fromStr","fnsFormat","toStr","rangeSummary","days","differenceInCalendarDays","useMemo","useImperativeHandle","useAgentRegistration","Popover","jsxs","jsx","triggerVariants","calendarIconVariants","Calendar","popoverContentVariants","presetButtonVariants","DayPicker","CalendarChevron"],"mappings":";;;;;;;;;AA4BO,SAASA,GAASC,GAAMC,GAAQC,GAAS;AAC9C,SAAOC,GAASH,GAAM,IAASE,CAAO;AACxC;ACjBO,MAAME,KAA4D;AAAA,EACvE,IAAI;AAAA,EACJ,cAAc,CAAC,cAAc,QAAQ,OAAO;AAAA,EAC5C,OAAO;AAAA,IACL,OAAO;AAAA,MACL,MAAM;AAAA,MACN,gBAAgB;AAAA,MAChB,aACE;AAAA,MACF,MAAM,CAACC,MAAW;;AAChB,cAAMC,IAAQD,EAAO,SAAA;AACrB,eAAO;AAAA,UACL,QAAME,IAAAD,EAAM,SAAN,gBAAAC,EAAY,kBAAiB;AAAA,UACnC,MAAIC,IAAAF,EAAM,OAAN,gBAAAE,EAAU,kBAAiB;AAAA,QAAA;AAAA,MAEnC;AAA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MACrB,gBAAAa;AAAA,kBAAC;AAAA,kBAAA;AAAA,oBAEC,MAAK;AAAA,oBACL,SAAS,MAAMd,EAAkBC,CAAM;AAAA,oBACvC,WAAWkB,GAAA;AAAA,oBAEV,UAAAlB,EAAO;AAAA,kBAAA;AAAA,kBALHA,EAAO;AAAA,gBAAA,CAOf,GACH,IACE;AAAA,kCAGH,OAAA,EACC,UAAA;AAAA,kBAAA,gBAAAa;AAAA,oBAACM;AAAA,oBAAA;AAAA,sBACC,MAAK;AAAA,sBACL,UACE3C,EAAa,OACT,EAAE,MAAMA,EAAa,MAAM,IAAIA,EAAa,GAAA,IAC5C;AAAA,sBAEN,UAAUsB;AAAA,sBACV,OAAAlB;AAAA,sBACA,eAAeC;AAAA,sBACf,gBAAgB;AAAA,sBAChB,UAAUK;AAAA,sBACV,QAAAlB;AAAA,sBACA,iBAAe;AAAA,sBACf,YAAU;AAAA,sBACV,iBAAe;AAAA,sBACf,YAAY,EAAE,SAASoD,GAAA;AAAA,oBAAgB;AAAA,kBAAA;AAAA,kBAIxCf,IACC,gBAAAQ;AAAA,oBAAC;AAAA,oBAAA;AAAA,sBACC,MAAK;AAAA,sBACL,aAAU;AAAA,sBACV,WAAU;AAAA,sBAET,UAAAR;AAAA,oBAAA;AAAA,kBAAA,IAED;AAAA,gBAAA,EAAA,CACN;AAAA,cAAA,EAAA,CACF;AAAA,YAAA;AAAA,UAAA,EACF,CACF;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA,GAEJ;AAAA,EAEJ;AACF;AAEA5D,GAAgB,cAAc;","x_google_ignoreList":[0]}
@@ -26,7 +26,7 @@ import { S as Ie } from "./select-hsCaJSX3.js";
26
26
  import { u as zt } from "./use-prefers-reduced-motion-BMwIQRjB.js";
27
27
  import { u as At } from "./use-theme-C2dHKUAN.js";
28
28
  import { u as Pt } from "./registry-nPAVE19X.js";
29
- import { D as ze } from "./date-range-picker-D4dgDlLU.js";
29
+ import { D as ze } from "./date-range-picker-D8CHNYQT.js";
30
30
  import { M as Ot } from "./multi-select-DOLO3K_z.js";
31
31
  import { A as Ae } from "./autocomplete-DIgdhCGJ.js";
32
32
  import { N as ee } from "./number-input-Dj5L3pXK.js";
@@ -2332,4 +2332,4 @@ export {
2332
2332
  Be as q,
2333
2333
  xn as u
2334
2334
  };
2335
- //# sourceMappingURL=editable-currency-cell-renderer-B9VRSV_S.js.map
2335
+ //# sourceMappingURL=editable-currency-cell-renderer-CZcVWBPo.js.map