impact-nova 2.5.19 → 2.5.20

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 (25) hide show
  1. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +2 -3
  2. package/dist/components/data/expandable-list-item/expandable-list-item-metrics.js +2 -3
  3. package/dist/components/data-display/calendar/calendar.js +194 -190
  4. package/dist/components/feedback/tooltip/tab-tooltip-render.js +2 -3
  5. package/dist/components/flows/command-palette/shortcut-settings.js +10 -10
  6. package/dist/components/flows/filter-panel/filter-panel.js +4 -4
  7. package/dist/components/forms/date-picker/fiscal-pass-through.d.ts +6 -6
  8. package/dist/components/forms/date-picker/fiscal-pass-through.js +7 -3
  9. package/dist/components/forms/date-picker/multi-week-picker.js +1 -1
  10. package/dist/components/forms/date-picker/week-picker.js +123 -123
  11. package/dist/components/forms/date-picker/week-range-picker.js +188 -188
  12. package/dist/components/forms/select/components/SelectTriggerValue.js +2 -3
  13. package/dist/components/forms/select/components/Submenu.js +2 -3
  14. package/dist/form-react/Fields/MultiWeekPickerField.js +16 -15
  15. package/dist/form-react/Fields/WeekRangePicker.js +18 -16
  16. package/dist/form-react/types/fields.types.d.ts +4 -0
  17. package/dist/form-react/utils/date.utils.d.ts +1 -0
  18. package/dist/form-react/utils/date.utils.js +38 -34
  19. package/dist/lib/fiscal-calendar/index.d.ts +2 -2
  20. package/dist/lib/fiscal-calendar/index.js +26 -24
  21. package/dist/lib/fiscal-calendar/week-selection.d.ts +5 -0
  22. package/dist/lib/fiscal-calendar/week-selection.js +56 -49
  23. package/dist/llms/rules/installation.js +1 -1
  24. package/dist/llms/rules/requirements.js +1 -1
  25. package/package.json +1 -1
@@ -3,8 +3,7 @@ import { Badge as s } from "../../data-display/badge/badge.js";
3
3
  import { FilterPopoverContent as u } from "../../flows/filter-strip/filter-tag-list.js";
4
4
  import { Popover as b, PopoverTrigger as f } from "../../feedback/popover/popover.js";
5
5
  import { Tooltip as g, TooltipTrigger as v, TooltipContent as x } from "../../feedback/tooltip/tooltip.js";
6
- import "react";
7
- function I({
6
+ function w({
8
7
  tags: o,
9
8
  title: l = "Attributes",
10
9
  maxVisibleTags: n = 4,
@@ -71,5 +70,5 @@ function I({
71
70
  );
72
71
  }
73
72
  export {
74
- I as ExpandableListItemAttributes
73
+ w as ExpandableListItemAttributes
75
74
  };
@@ -1,9 +1,8 @@
1
1
  import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
2
  import { ScrollOverflowAffordance as o } from "../../layout/horizontal-scroller/scroll-overflow-affordance.js";
3
- import "react";
4
3
  import { OverflowTooltip as r } from "../../feedback/tooltip/overflow-tooltip.js";
5
4
  const m = 128;
6
- function f({
5
+ function x({
7
6
  columns: i,
8
7
  sectionId: l = "metrics"
9
8
  }) {
@@ -51,5 +50,5 @@ function f({
51
50
  );
52
51
  }
53
52
  export {
54
- f as ExpandableListItemMetrics
53
+ x as ExpandableListItemMetrics
55
54
  };
@@ -1,315 +1,319 @@
1
- import { jsxs as Xe, jsx as c } from "react/jsx-runtime";
2
- import { createComponent as $e } from "../../../lib/primitives/create-component.js";
3
- import { CALENDAR_DEFAULT_END_MONTH as Ke, CALENDAR_DEFAULT_START_MONTH as ea, getCalendarDayLayoutAttr as aa, getCalendarMonthLayoutAttr as ra, resolveFiscalConfig as la, resolveFiscalPattern as na } from "./calendar-config.js";
4
- import { civilFromLocalDate as G } from "../../../lib/fiscal-calendar/civil-date.js";
5
- import { getFiscalPresets as ta } from "../../../lib/fiscal-calendar/presets.js";
6
- import { getGregorianPresets as oa } from "./calendar-gregorian-presets.js";
7
- import { paddedWeekNumber as j } from "./calendar-week-number-header.js";
8
- import { formatPeriodCell as ia, formatFiscalYearLabel as k, formatQuarterLabelsForYear as sa, formatYearIntervalCaption as ca } from "./calendar-fiscal-labels.js";
9
- import { CalendarDayPickerView as da } from "./calendar-day-picker-view.js";
10
- import { CalendarFooter as ma } from "./calendar-footer.js";
11
- import { CalendarMonthPanes as ua } from "./calendar-month-panes.js";
12
- import { CalendarPresetStrip as ga } from "./calendar-preset-strip.js";
13
- import { CalendarQuarterPanes as fa } from "./calendar-quarter-panes.js";
14
- import { CalendarYearPanes as pa, YEAR_CAPTION_PAGE_SIZE as ba, YEAR_PAGE_SIZE as Ca } from "./calendar-year-panes.js";
15
- import { isDateRangeArray as ha, asDayPickerSelection as D, formatMultiRangeFooterSummary as Ya, asRangeSelection as ya } from "./calendar-interval-utils.js";
16
- import { useCalendarI18n as va } from "./use-calendar-i18n.js";
17
- import { useCalendarState as Pa } from "./use-calendar-state.js";
18
- import { useFiscalCalendar as Sa } from "./use-fiscal-calendar.js";
19
- const Ga = $e(
1
+ import { jsxs as $e, jsx as c } from "react/jsx-runtime";
2
+ import { createComponent as Ke } from "../../../lib/primitives/create-component.js";
3
+ import { CALENDAR_DEFAULT_END_MONTH as ea, CALENDAR_DEFAULT_START_MONTH as aa, getCalendarDayLayoutAttr as ra, getCalendarMonthLayoutAttr as la, resolveFiscalConfig as na, resolveFiscalPattern as ta } from "./calendar-config.js";
4
+ import { civilFromLocalDate as j } from "../../../lib/fiscal-calendar/civil-date.js";
5
+ import { getFiscalPresets as oa } from "../../../lib/fiscal-calendar/presets.js";
6
+ import { resolveWeekStartsOn as ia } from "../../../lib/fiscal-calendar/week-selection.js";
7
+ import { getGregorianPresets as sa } from "./calendar-gregorian-presets.js";
8
+ import { paddedWeekNumber as T } from "./calendar-week-number-header.js";
9
+ import { formatPeriodCell as ca, formatFiscalYearLabel as L, formatQuarterLabelsForYear as da, formatYearIntervalCaption as ma } from "./calendar-fiscal-labels.js";
10
+ import { CalendarDayPickerView as ua } from "./calendar-day-picker-view.js";
11
+ import { CalendarFooter as ga } from "./calendar-footer.js";
12
+ import { CalendarMonthPanes as fa } from "./calendar-month-panes.js";
13
+ import { CalendarPresetStrip as pa } from "./calendar-preset-strip.js";
14
+ import { CalendarQuarterPanes as ba } from "./calendar-quarter-panes.js";
15
+ import { CalendarYearPanes as Ca, YEAR_CAPTION_PAGE_SIZE as ha, YEAR_PAGE_SIZE as Ya } from "./calendar-year-panes.js";
16
+ import { isDateRangeArray as Sa, asDayPickerSelection as k, formatMultiRangeFooterSummary as va, asRangeSelection as ya } from "./calendar-interval-utils.js";
17
+ import { useCalendarI18n as Pa } from "./use-calendar-i18n.js";
18
+ import { useCalendarState as La } from "./use-calendar-state.js";
19
+ import { useFiscalCalendar as ka } from "./use-fiscal-calendar.js";
20
+ const Ua = Ke(
20
21
  "Calendar",
21
22
  ({
22
- className: T,
23
- classNames: U,
24
- showOutsideDays: Z = !1,
25
- fixedWeeks: z = !0,
26
- captionLayout: V = "dropdown",
27
- buttonVariant: B = "ghost",
28
- formatters: J,
29
- components: X,
23
+ className: U,
24
+ classNames: Z,
25
+ showOutsideDays: z = !1,
26
+ fixedWeeks: V = !0,
27
+ captionLayout: B = "dropdown",
28
+ buttonVariant: J = "ghost",
29
+ formatters: X,
30
+ components: $,
30
31
  showFooter: i = !0,
31
- footerFlashKey: $ = 0,
32
- footerFlashTarget: K,
33
- disableApply: ee = !1,
34
- onApply: ae,
35
- onCancel: re,
36
- onClear: le,
32
+ footerFlashKey: K = 0,
33
+ footerFlashTarget: ee,
34
+ disableApply: ae = !1,
35
+ onApply: re,
36
+ onCancel: le,
37
+ onClear: ne,
37
38
  mode: n = "single",
38
- selected: F,
39
- onSelect: ne,
40
- onSelectionChange: te,
39
+ selected: D,
40
+ onSelect: te,
41
+ onSelectionChange: oe,
41
42
  pickerType: t = "date",
42
43
  weekMode: s = "single",
43
- selectedWeeks: oe,
44
- onWeekSelect: ie,
44
+ selectedWeeks: ie,
45
+ onWeekSelect: se,
45
46
  calendarKind: r = "gregorian",
46
- fiscalConfig: se,
47
+ fiscalConfig: ce,
47
48
  fiscalMode: p = "basic",
48
49
  granularity: b,
49
- fiscalMonthPattern: A,
50
- fiscalYearStartMonth: R = 1,
51
- weekStartsOn: C = 1,
50
+ fiscalMonthPattern: F,
51
+ fiscalYearStartMonth: A = 1,
52
+ weekStartsOn: R,
52
53
  monthMode: o = "single",
53
54
  selectedMonths: E,
54
- onMonthSelect: ce,
55
+ onMonthSelect: de,
55
56
  selectedQuarters: N,
56
- onQuarterSelect: de,
57
- selectedYear: M,
58
- onYearSelect: me,
59
- yearMode: h = "single",
60
- showIntervalCaption: x = !1,
61
- showPeriodBoundaries: ue = !1,
62
- showPresets: W = !1,
63
- comparison: ge,
64
- onComparisonChange: fe,
65
- onRangesChange: pe,
66
- month: be,
67
- defaultMonth: Ce,
68
- onMonthChange: he,
69
- startMonth: Ye,
70
- endMonth: ye,
71
- autoNavigateToAvailable: ve = !1,
72
- ...Y
57
+ onQuarterSelect: me,
58
+ selectedYear: W,
59
+ onYearSelect: ue,
60
+ yearMode: C = "single",
61
+ showIntervalCaption: M = !1,
62
+ showPeriodBoundaries: ge = !1,
63
+ showPresets: x = !1,
64
+ comparison: fe,
65
+ onComparisonChange: pe,
66
+ onRangesChange: be,
67
+ month: Ce,
68
+ defaultMonth: he,
69
+ onMonthChange: Ye,
70
+ startMonth: Se,
71
+ endMonth: ve,
72
+ autoNavigateToAvailable: ye = !1,
73
+ ...h
73
74
  }, Pe) => {
74
- const { t: a, intlLocale: Se, dateFnsLocale: Le, monthsFull: ke, monthsShort: _ } = va(), l = la({
75
- fiscalConfig: se,
75
+ const { t: a, intlLocale: Le, dateFnsLocale: ke, monthsFull: De, monthsShort: _ } = Pa(), l = na({
76
+ fiscalConfig: ce,
76
77
  calendarKind: r,
77
78
  fiscalMode: p,
78
- fiscalMonthPattern: A,
79
- fiscalYearStartMonth: R,
80
- weekStartsOn: C
81
- }), I = na({
79
+ fiscalMonthPattern: F,
80
+ fiscalYearStartMonth: A,
81
+ weekStartsOn: R
82
+ }), O = ia({
83
+ weekStartsOn: R,
84
+ fiscalConfig: l
85
+ }), I = ta({
82
86
  calendarKind: r,
83
87
  fiscalMode: p,
84
- fiscalMonthPattern: A
85
- }), d = Ye ?? ea, m = ye ?? Ke, {
88
+ fiscalMonthPattern: F
89
+ }), d = Se ?? aa, m = ve ?? ea, {
86
90
  pendingSelection: u,
87
91
  currentMonth: g,
88
- pendingWeekSelection: De,
92
+ pendingWeekSelection: Fe,
89
93
  pendingMonthSelection: q,
90
- pendingQuarterSelection: Q,
91
- pendingYearSelection: H,
92
- monthPickerYear: y,
94
+ pendingQuarterSelection: w,
95
+ pendingYearSelection: Q,
96
+ monthPickerYear: Y,
93
97
  handleMonthChangeInternal: f,
94
- resolveWeekFromInput: Fe,
95
- handleWeekClick: Ae,
96
- handleMonthClick: Re,
97
- handleQuarterClick: Ee,
98
- handleYearClick: Ne,
98
+ resolveWeekFromInput: Ae,
99
+ handleWeekClick: Re,
100
+ handleMonthClick: Ee,
101
+ handleQuarterClick: Ne,
102
+ handleYearClick: We,
99
103
  handlePresetSelect: Me,
100
- availableYears: O,
104
+ availableYears: H,
101
105
  selectedDaysFromWeeks: xe,
102
- selectedDaysFromRanges: v,
103
- weekRangeModifiers: We,
104
- handleInternalSelect: _e,
106
+ selectedDaysFromRanges: S,
107
+ weekRangeModifiers: _e,
108
+ handleInternalSelect: Oe,
105
109
  handleApply: Ie,
106
110
  handleCancel: qe,
107
- handleClear: Qe,
108
- isMonthSelected: He,
109
- getMonthRangeProps: Oe,
110
- isMonthDisabled: we,
111
- isQuarterSelected: Ge,
112
- isQuarterDisabled: je,
113
- isYearSelected: Te,
114
- isYearDisabled: Ue,
115
- isApplyDisabledInternal: Ze
116
- } = Pa({
111
+ handleClear: we,
112
+ isMonthSelected: Qe,
113
+ getMonthRangeProps: He,
114
+ isMonthDisabled: Ge,
115
+ isQuarterSelected: je,
116
+ isQuarterDisabled: Te,
117
+ isYearSelected: Ue,
118
+ isYearDisabled: Ze,
119
+ isApplyDisabledInternal: ze
120
+ } = La({
117
121
  showFooter: i,
118
122
  mode: n,
119
- selected: F,
120
- onSelect: ne,
121
- onSelectionChange: te,
123
+ selected: D,
124
+ onSelect: te,
125
+ onSelectionChange: oe,
122
126
  pickerType: t,
123
127
  weekMode: s,
124
- selectedWeeks: oe,
125
- onWeekSelect: ie,
128
+ selectedWeeks: ie,
129
+ onWeekSelect: se,
126
130
  calendarKind: r,
127
131
  fiscalMode: p,
128
132
  granularity: b,
129
133
  resolvedFiscalPattern: I,
130
134
  fiscalConfig: l,
131
- fiscalYearStartMonth: R,
132
- weekStartsOn: C,
135
+ fiscalYearStartMonth: A,
136
+ weekStartsOn: O,
133
137
  monthMode: o,
134
138
  selectedMonths: E,
135
- onMonthSelect: ce,
139
+ onMonthSelect: de,
136
140
  selectedQuarters: N,
137
- onQuarterSelect: de,
138
- selectedYear: M,
139
- onYearSelect: me,
140
- yearMode: h,
141
- comparison: ge,
142
- onComparisonChange: fe,
143
- onRangesChange: pe,
144
- month: be,
145
- defaultMonth: Ce,
146
- onMonthChange: he,
141
+ onQuarterSelect: me,
142
+ selectedYear: W,
143
+ onYearSelect: ue,
144
+ yearMode: C,
145
+ comparison: fe,
146
+ onComparisonChange: pe,
147
+ onRangesChange: be,
148
+ month: Ce,
149
+ defaultMonth: he,
150
+ onMonthChange: Ye,
147
151
  resolvedStartMonth: d,
148
152
  resolvedEndMonth: m,
149
- disabled: Y.disabled,
150
- autoNavigateToAvailable: ve,
151
- yearPageSize: x ? ba : Ca,
152
- onApply: ae,
153
- onCancel: re,
154
- onClear: le
155
- }), { getCellMeta: ze, model: P } = Sa(
153
+ disabled: h.disabled,
154
+ autoNavigateToAvailable: ye,
155
+ yearPageSize: M ? ha : Ya,
156
+ onApply: re,
157
+ onCancel: le,
158
+ onClear: ne
159
+ }), { getCellMeta: Ve, model: v } = ka(
156
160
  r === "fiscal" ? l : void 0,
157
161
  g
158
- ), Ve = r === "fiscal" && P ? P.periods.map((e) => ia(e)) : void 0, S = l?.fyLabel ?? "fy-long", L = r === "fiscal" ? O.map((e) => ({
162
+ ), Be = r === "fiscal" && v ? v.periods.map((e) => ca(e)) : void 0, y = l?.fyLabel ?? "fy-long", P = r === "fiscal" ? H.map((e) => ({
159
163
  ...e,
160
- label: k(Number(e.value), S)
161
- })) : O, w = W ? r === "fiscal" && l ? ta(l, G(/* @__PURE__ */ new Date())) : oa(G(/* @__PURE__ */ new Date())) : [], Be = t === "week" ? "week" : "date", Je = n === "multi-range" ? v : ha(u) ? void 0 : u;
162
- return /* @__PURE__ */ Xe(
164
+ label: L(Number(e.value), y)
165
+ })) : H, G = x ? r === "fiscal" && l ? oa(l, j(/* @__PURE__ */ new Date())) : sa(j(/* @__PURE__ */ new Date())) : [], Je = t === "week" ? "week" : "date", Xe = n === "multi-range" ? S : Sa(u) ? void 0 : u;
166
+ return /* @__PURE__ */ $e(
163
167
  "div",
164
168
  {
165
169
  ref: Pe,
166
170
  "data-component": "calendar",
167
- "data-month-layout": ra(t, o),
168
- "data-day-layout": aa(t, n, s),
171
+ "data-month-layout": la(t, o),
172
+ "data-day-layout": ra(t, n, s),
169
173
  children: [
170
- W && w.length > 0 ? /* @__PURE__ */ c(ga, { presets: w, onPresetSelect: Me }) : null,
174
+ x && G.length > 0 ? /* @__PURE__ */ c(pa, { presets: G, onPresetSelect: Me }) : null,
171
175
  t === "month" ? /* @__PURE__ */ c(
172
- ua,
176
+ fa,
173
177
  {
174
178
  monthMode: o === "multi-range" ? "multiple" : o,
175
- monthPickerYear: y,
179
+ monthPickerYear: Y,
176
180
  monthsShort: _,
177
181
  showFooter: i,
178
182
  pendingMonthSelection: q,
179
183
  selectedMonths: E,
180
184
  resolvedStartYear: d.getFullYear(),
181
185
  resolvedEndYear: m.getFullYear(),
182
- yearOptions: L,
186
+ yearOptions: P,
183
187
  previousYearLabel: a("calendar.previousYear"),
184
188
  nextYearLabel: a("calendar.nextYear"),
185
189
  currentMonth: g,
186
- isMonthSelected: He,
187
- getMonthRangeProps: Oe,
188
- isMonthDisabled: we,
190
+ isMonthSelected: Qe,
191
+ getMonthRangeProps: He,
192
+ isMonthDisabled: Ge,
189
193
  onMonthChange: f,
190
- onMonthClick: Re,
191
- periodLabels: Ve
194
+ onMonthClick: Ee,
195
+ periodLabels: Be
192
196
  }
193
197
  ) : t === "quarter" ? /* @__PURE__ */ c(
194
- fa,
198
+ ba,
195
199
  {
196
200
  quarterMode: o,
197
- pickerYear: y,
201
+ pickerYear: Y,
198
202
  showFooter: i,
199
- pendingQuarterSelection: Q,
203
+ pendingQuarterSelection: w,
200
204
  selectedQuarters: N,
201
205
  resolvedStartYear: d.getFullYear(),
202
206
  resolvedEndYear: m.getFullYear(),
203
- yearOptions: L,
207
+ yearOptions: P,
204
208
  previousYearLabel: a("calendar.previousYear"),
205
209
  nextYearLabel: a("calendar.nextYear"),
206
210
  currentMonth: g,
207
- quarterLabelsForYear: (e) => sa(
211
+ quarterLabelsForYear: (e) => da(
208
212
  e,
209
213
  r === "fiscal" ? l : void 0
210
214
  ),
211
- isQuarterSelected: Ge,
212
- isQuarterDisabled: je,
215
+ isQuarterSelected: je,
216
+ isQuarterDisabled: Te,
213
217
  onMonthChange: f,
214
- onQuarterClick: Ee
218
+ onQuarterClick: Ne
215
219
  }
216
220
  ) : t === "year" ? /* @__PURE__ */ c(
217
- pa,
221
+ Ca,
218
222
  {
219
- pickerYear: y,
223
+ pickerYear: Y,
220
224
  resolvedStartYear: d.getFullYear(),
221
225
  resolvedEndYear: m.getFullYear(),
222
226
  previousYearLabel: a("calendar.previousYear"),
223
227
  nextYearLabel: a("calendar.nextYear"),
224
- yearLabels: r === "fiscal" ? (e) => k(e, S) : void 0,
225
- yearCaptions: x ? (e) => ca(
228
+ yearLabels: r === "fiscal" ? (e) => L(e, y) : void 0,
229
+ yearCaptions: M ? (e) => ma(
226
230
  e,
227
231
  r === "fiscal" ? l : void 0
228
232
  ) : void 0,
229
233
  showFooter: i,
230
- pendingYearSelection: H,
231
- selectedYear: M,
232
- isYearSelected: Te,
233
- isYearDisabled: Ue,
234
+ pendingYearSelection: Q,
235
+ selectedYear: W,
236
+ isYearSelected: Ue,
237
+ isYearDisabled: Ze,
234
238
  onYearPageChange: (e) => f(new Date(e, 0, 1)),
235
- onYearClick: Ne
239
+ onYearClick: We
236
240
  }
237
241
  ) : /* @__PURE__ */ c(
238
- da,
242
+ ua,
239
243
  {
240
- className: T,
241
- pickerType: Be,
244
+ className: U,
245
+ pickerType: Je,
242
246
  mode: n === "multi-range" ? "multiple" : n,
243
247
  weekMode: s === "multi-range" ? "multiple" : s,
244
248
  calendarKind: r,
245
249
  granularity: b,
246
- showOutsideDays: Z,
247
- fixedWeeks: z,
248
- captionLayout: V,
249
- buttonVariant: B,
250
- weekStartsOn: C,
251
- formatters: J,
252
- classNames: U,
253
- components: X,
254
- selected: n === "multi-range" ? v : D(F),
250
+ showOutsideDays: z,
251
+ fixedWeeks: V,
252
+ captionLayout: B,
253
+ buttonVariant: J,
254
+ weekStartsOn: O,
255
+ formatters: X,
256
+ classNames: Z,
257
+ components: $,
258
+ selected: n === "multi-range" ? S : k(D),
255
259
  showFooter: i,
256
- showPeriodBoundaries: ue,
257
- pendingSelection: D(Je),
258
- selectedDaysFromWeeks: xe ?? v,
260
+ showPeriodBoundaries: ge,
261
+ pendingSelection: k(Xe),
262
+ selectedDaysFromWeeks: xe ?? S,
259
263
  currentMonth: g,
260
- monthsFull: ke,
264
+ monthsFull: De,
261
265
  monthsShort: _,
262
266
  resolvedStartMonth: d,
263
267
  resolvedEndMonth: m,
264
- availableYears: L,
265
- fiscalPeriods: P?.periods,
268
+ availableYears: P,
269
+ fiscalPeriods: v?.periods,
266
270
  fiscalConfig: l,
267
- dateFnsLocale: Le,
268
- intlLocale: Se,
269
- weekRangeModifiers: We,
270
- getCellMeta: ze,
271
- onSelect: _e,
271
+ dateFnsLocale: ke,
272
+ intlLocale: Le,
273
+ weekRangeModifiers: _e,
274
+ getCellMeta: Ve,
275
+ onSelect: Oe,
272
276
  onMonthChange: f,
273
- onWeekSelect: (e) => Ae(Fe(e)),
277
+ onWeekSelect: (e) => Re(Ae(e)),
274
278
  previousMonthLabel: a("calendar.previousMonth"),
275
279
  nextMonthLabel: a("calendar.nextMonth"),
276
280
  monthPlaceholder: a(r === "fiscal" ? "calendar.periodPlaceholder" : "calendar.monthPlaceholder"),
277
281
  yearPlaceholder: a(r === "fiscal" ? "calendar.fyPlaceholder" : "calendar.yearPlaceholder"),
278
282
  weekNumberHeader: a("calendar.weekNumberHeader"),
279
- weekNumberLabel: (e) => a("calendar.weekNumber", { number: j(e) }),
283
+ weekNumberLabel: (e) => a("calendar.weekNumber", { number: T(e) }),
280
284
  weekLabel: (e) => a("calendar.weekLabel", { number: e }),
281
285
  fiscalWeekAriaLabel: (e) => a("calendar.fiscalWeekLabel", {
282
286
  number: e.fiscalWeek ?? 0,
283
287
  period: e.fiscalPeriod ?? 0,
284
- fy: e.fy != null ? k(e.fy, S) : ""
288
+ fy: e.fy != null ? L(e.fy, y) : ""
285
289
  }),
286
- formatWeekNumber: (e) => a("calendar.weekNumber", { number: j(e) }),
287
- disabled: Y.disabled,
288
- ...Y
290
+ formatWeekNumber: (e) => a("calendar.weekNumber", { number: T(e) }),
291
+ disabled: h.disabled,
292
+ ...h
289
293
  }
290
294
  ),
291
295
  i ? /* @__PURE__ */ c(
292
- ma,
296
+ ga,
293
297
  {
294
298
  pickerType: t,
295
299
  mode: n,
296
300
  weekMode: s === "multi-range" ? "range" : s,
297
301
  monthMode: o === "multi-range" ? "range" : o,
298
- yearMode: h === "multi-range" ? "range" : h,
302
+ yearMode: C === "multi-range" ? "range" : C,
299
303
  calendarKind: r,
300
304
  granularity: b,
301
305
  resolvedFiscalPattern: I,
302
306
  fiscalConfig: l,
303
- pendingSelection: D(u),
304
- pendingWeekSelection: De,
307
+ pendingSelection: k(u),
308
+ pendingWeekSelection: Fe,
305
309
  pendingMonthSelection: q,
306
- pendingQuarterSelection: Q,
307
- pendingYearSelection: H,
308
- multiRangeSummary: n === "multi-range" ? Ya(ya(u)) : void 0,
309
- disableApply: ee,
310
- isApplyDisabled: Ze,
311
- footerFlashKey: $,
312
- footerFlashTarget: K,
310
+ pendingQuarterSelection: w,
311
+ pendingYearSelection: Q,
312
+ multiRangeSummary: n === "multi-range" ? va(ya(u)) : void 0,
313
+ disableApply: ae,
314
+ isApplyDisabled: ze,
315
+ footerFlashKey: K,
316
+ footerFlashTarget: ee,
313
317
  labels: {
314
318
  clear: a("calendar.clear"),
315
319
  cancel: a("calendar.cancel"),
@@ -322,7 +326,7 @@ const Ga = $e(
322
326
  yearSingle: a("calendar.yearRange"),
323
327
  yearPlural: (e) => a("calendar.yearRangePlural", { count: e })
324
328
  },
325
- onClear: Qe,
329
+ onClear: we,
326
330
  onCancel: qe,
327
331
  onApply: Ie
328
332
  }
@@ -333,5 +337,5 @@ const Ga = $e(
333
337
  }
334
338
  );
335
339
  export {
336
- Ga as Calendar
340
+ Ua as Calendar
337
341
  };
@@ -1,7 +1,6 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
2
  import { Tooltip as l, TooltipTrigger as n, TooltipContent as o } from "./tooltip.js";
3
- import "react";
4
- const p = (i, r, a) => /* @__PURE__ */ t(l, { children: [
3
+ const d = (i, r, a) => /* @__PURE__ */ t(l, { children: [
5
4
  /* @__PURE__ */ e(n, { asChild: !0, children: /* @__PURE__ */ e("span", { className: "inline-flex items-center justify-center h-full w-full", children: i }) }),
6
5
  /* @__PURE__ */ e(o, { variant: "tertiary", className: a, children: r })
7
6
  ] }), h = (i, r) => /* @__PURE__ */ t(l, { children: [
@@ -10,5 +9,5 @@ const p = (i, r, a) => /* @__PURE__ */ t(l, { children: [
10
9
  ] });
11
10
  export {
12
11
  h as defaultAccordionTooltipRender,
13
- p as defaultTabTooltipRender
12
+ d as defaultTabTooltipRender
14
13
  };
@@ -2,17 +2,17 @@ import { jsx as r, jsxs as h, Fragment as z } from "react/jsx-runtime";
2
2
  import * as o from "react";
3
3
  import { Person as G, Monitor as U, PriorityAlert as q, Locked as O, Reset as B } from "impact-nova-icons";
4
4
  import { cn as p } from "../../../lib/utils.js";
5
- import { Kbd as $ } from "../../primitives/kbd/kbd.js";
6
- import { keybindingToString as H } from "../../primitives/kbd/keybinding-display.js";
7
5
  import { OverflowTooltip as A } from "../../feedback/tooltip/overflow-tooltip.js";
8
- import { ModuleRegistry as V, AllCommunityModule as J } from "ag-grid-community";
9
- import { AllEnterpriseModule as Q } from "ag-grid-enterprise";
10
- import { DataTable as X, DataTableContent as Y } from "../../data/data-table/data-table.js";
6
+ import { ModuleRegistry as $, AllCommunityModule as H } from "ag-grid-community";
7
+ import { AllEnterpriseModule as V } from "ag-grid-enterprise";
8
+ import { DataTable as J, DataTableContent as Q } from "../../data/data-table/data-table.js";
11
9
  import { AG_CELL_NO_PADDING as F } from "../../data/ag-grid-react/cell-renderers/index.js";
10
+ import { Kbd as X } from "../../primitives/kbd/kbd.js";
11
+ import { keybindingToString as Y } from "../../primitives/kbd/keybinding-display.js";
12
12
  import { useCommandPalette as Z } from "./use-command-palette.js";
13
13
  import { COMMAND_SOURCE_LABELS as m, keybindingFromEvent as W, isReservedShortcut as ee } from "./utils.js";
14
14
  import { BadgeCellRenderer as te } from "../../data/ag-grid-react/cell-renderers/badge-cell-renderer.js";
15
- V.registerModules([J, Q]);
15
+ $.registerModules([H, V]);
16
16
  function re(a) {
17
17
  const t = a.data;
18
18
  return t ? /* @__PURE__ */ h("div", { className: "flex items-center gap-2 min-w-0 h-full", children: [
@@ -69,7 +69,7 @@ function ne(a) {
69
69
  "flex items-center justify-end h-full w-full text-end",
70
70
  t.customisable ? "cursor-pointer" : "cursor-default opacity-70"
71
71
  ),
72
- children: /* @__PURE__ */ r($, { keybinding: t.keybinding, size: "sm" })
72
+ children: /* @__PURE__ */ r(X, { keybinding: t.keybinding, size: "sm" })
73
73
  }
74
74
  ) : t.customisable ? /* @__PURE__ */ r(
75
75
  "button",
@@ -133,7 +133,7 @@ function le({
133
133
  description: e.description || "",
134
134
  category: e.category || "General",
135
135
  keybinding: i,
136
- keybindingDisplay: i ? H(i) : "",
136
+ keybindingDisplay: i ? Y(i) : "",
137
137
  scope: e.scope,
138
138
  source: D,
139
139
  sourceColor: T ? "primary" : "neutral",
@@ -278,10 +278,10 @@ function le({
278
278
  u?.type === "conflict" ? /* @__PURE__ */ r(q, { className: "h-3.5 w-3.5 shrink-0" }) : u?.type === "reserved" ? /* @__PURE__ */ r(O, { className: "h-3.5 w-3.5 shrink-0" }) : c ? /* @__PURE__ */ r("span", { className: "shrink-0 text-base", children: "⌨️" }) : null,
279
279
  /* @__PURE__ */ r("span", { children: u ? u.text : L })
280
280
  ] }) : null;
281
- return /* @__PURE__ */ h(X, { className: p("flex flex-col w-full h-full border-t-0", a), children: [
281
+ return /* @__PURE__ */ h(J, { className: p("flex flex-col w-full h-full border-t-0", a), children: [
282
282
  s ? s(E) : E,
283
283
  /* @__PURE__ */ r(
284
- Y,
284
+ Q,
285
285
  {
286
286
  rowData: y,
287
287
  columnDefs: I,