@embeddable.com/remarkable-ui 2.0.14 → 2.0.16

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
@@ -1,20 +1,22 @@
1
- import "./chunk-7RY47BRM.js";
1
+ import {
2
+ styles
3
+ } from "./chunk-V3ZAXTII.js";
2
4
 
3
5
  // src/components/shared/Skeleton/Skeleton.tsx
4
- import styles from "./Skeleton.module-ZN5S5VRF.module.css";
6
+ import styles2 from "./Skeleton.module-ZN5S5VRF.module.css";
5
7
  import { jsx } from "react/jsx-runtime";
6
8
  var Skeleton = () => {
7
- return /* @__PURE__ */ jsx("div", { className: styles.skeleton });
9
+ return /* @__PURE__ */ jsx("div", { className: styles2.skeleton });
8
10
  };
9
11
 
10
12
  // src/components/shared/Card/Card.tsx
11
13
  import React from "react";
12
- import styles2 from "./Card.module-DHO64CIG.module.css";
14
+ import styles3 from "./Card.module-DHO64CIG.module.css";
13
15
  import clsx from "clsx";
14
16
  import { jsx as jsx2, jsxs } from "react/jsx-runtime";
15
17
  var Card = React.forwardRef(
16
18
  ({ children, className, ...props }, ref) => {
17
- return /* @__PURE__ */ jsx2("div", { className: clsx(styles2.card, className), ref, ...props, children });
19
+ return /* @__PURE__ */ jsx2("div", { className: clsx(styles3.card, className), ref, ...props, children });
18
20
  }
19
21
  );
20
22
  Card.displayName = "Card";
@@ -22,8 +24,8 @@ var CardHeader = ({ title, subtitle, rightContent }) => {
22
24
  if (!title && !subtitle && !rightContent) {
23
25
  return null;
24
26
  }
25
- return /* @__PURE__ */ jsxs("div", { className: styles2.cardHeader, children: [
26
- /* @__PURE__ */ jsxs("div", { className: styles2.leftContent, children: [
27
+ return /* @__PURE__ */ jsxs("div", { className: styles3.cardHeader, children: [
28
+ /* @__PURE__ */ jsxs("div", { className: styles3.leftContent, children: [
27
29
  title && /* @__PURE__ */ jsx2("h1", { children: title }),
28
30
  subtitle && /* @__PURE__ */ jsx2("p", { children: subtitle })
29
31
  ] }),
@@ -32,14 +34,14 @@ var CardHeader = ({ title, subtitle, rightContent }) => {
32
34
  };
33
35
  var CardContent = React.forwardRef(
34
36
  ({ children }, ref) => {
35
- return /* @__PURE__ */ jsx2("div", { className: styles2.cardContent, ref, children });
37
+ return /* @__PURE__ */ jsx2("div", { className: styles3.cardContent, ref, children });
36
38
  }
37
39
  );
38
40
  CardContent.displayName = "CardContent";
39
41
 
40
42
  // src/components/shared/Card/CardFeedback/CardFeedback.tsx
41
43
  import clsx2 from "clsx";
42
- import styles3 from "./CardFeedback.module-WCSHLBSM.module.css";
44
+ import styles4 from "./CardFeedback.module-WCSHLBSM.module.css";
43
45
  import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
44
46
  var CardFeedback = ({
45
47
  icon: Icon,
@@ -48,7 +50,7 @@ var CardFeedback = ({
48
50
  className,
49
51
  variant = "info"
50
52
  }) => {
51
- return /* @__PURE__ */ jsxs2("div", { className: clsx2(styles3.feedback, styles3[variant], className), children: [
53
+ return /* @__PURE__ */ jsxs2("div", { className: clsx2(styles4.feedback, styles4[variant], className), children: [
52
54
  Icon && /* @__PURE__ */ jsx3(Icon, {}),
53
55
  /* @__PURE__ */ jsx3("h2", { children: title }),
54
56
  /* @__PURE__ */ jsx3("p", { children: message })
@@ -56,7 +58,7 @@ var CardFeedback = ({
56
58
  };
57
59
 
58
60
  // src/components/shared/Typography/Typography.tsx
59
- import styles4 from "./Typography.module-SW6CT55P.module.css";
61
+ import styles5 from "./Typography.module-SW6CT55P.module.css";
60
62
  import clsx3 from "clsx";
61
63
  import { jsx as jsx4 } from "react/jsx-runtime";
62
64
  function Typography({
@@ -66,20 +68,20 @@ function Typography({
66
68
  style,
67
69
  title
68
70
  }) {
69
- return /* @__PURE__ */ jsx4(Component, { title, className: clsx3(styles4.typography, className), style, children });
71
+ return /* @__PURE__ */ jsx4(Component, { title, className: clsx3(styles5.typography, className), style, children });
70
72
  }
71
73
 
72
74
  // src/components/shared/ActionIcon/ActionIcon.tsx
73
75
  import clsx4 from "clsx";
74
- import styles5 from "./ActionIcon.module-WZFHG44L.module.css";
76
+ import styles6 from "./ActionIcon.module-WZFHG44L.module.css";
75
77
  import { jsx as jsx5 } from "react/jsx-runtime";
76
78
  var ActionIcon = ({ icon: Icon, className, ...props }) => {
77
- return /* @__PURE__ */ jsx5("button", { className: clsx4(styles5.actionIcon, className), ...props, children: /* @__PURE__ */ jsx5(Icon, { className: styles5.icon }) });
79
+ return /* @__PURE__ */ jsx5("button", { className: clsx4(styles6.actionIcon, className), ...props, children: /* @__PURE__ */ jsx5(Icon, { className: styles6.icon }) });
78
80
  };
79
81
 
80
82
  // src/components/shared/ButtonIcon/ButtonIcon.tsx
81
83
  import clsx5 from "clsx";
82
- import styles6 from "./ButtonIcon.module-JHFZQSMJ.module.css";
84
+ import styles7 from "./ButtonIcon.module-JHFZQSMJ.module.css";
83
85
  import { jsx as jsx6 } from "react/jsx-runtime";
84
86
  var ButtonIcon = ({
85
87
  icon: Icon,
@@ -91,7 +93,7 @@ var ButtonIcon = ({
91
93
  return /* @__PURE__ */ jsx6(
92
94
  "button",
93
95
  {
94
- className: clsx5(styles6.buttonIcon, styles6[variant], styles6[size], className),
96
+ className: clsx5(styles7.buttonIcon, styles7[variant], styles7[size], className),
95
97
  ...props,
96
98
  children: /* @__PURE__ */ jsx6(Icon, {})
97
99
  }
@@ -118,7 +120,7 @@ var Dropdown = ({
118
120
 
119
121
  // src/components/editors/selects/shared/SelectFieldContent/SelectFieldOptions/SelectFieldOption/SelectFieldOption.tsx
120
122
  import * as DropdownMenu2 from "@radix-ui/react-dropdown-menu";
121
- import styles7 from "./SelectFieldOption.module-SH3TOVNB.module.css";
123
+ import styles8 from "./SelectFieldOption.module-SH3TOVNB.module.css";
122
124
  import clsx6 from "clsx";
123
125
  import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
124
126
  var SelectListOption = ({
@@ -135,18 +137,18 @@ var SelectListOption = ({
135
137
  DropdownMenu2.Item,
136
138
  {
137
139
  className: clsx6(
138
- styles7.selectFieldOption,
139
- disabled && styles7.disabled,
140
- isSelected && styles7.selected
140
+ styles8.selectFieldOption,
141
+ disabled && styles8.disabled,
142
+ isSelected && styles8.selected
141
143
  ),
142
144
  "data-value": value,
143
145
  ...props,
144
146
  children: [
145
- /* @__PURE__ */ jsxs4("span", { className: styles7.leftContent, children: [
147
+ /* @__PURE__ */ jsxs4("span", { className: styles8.leftContent, children: [
146
148
  startIcon,
147
149
  /* @__PURE__ */ jsx8("span", { title: label, children: label })
148
150
  ] }),
149
- /* @__PURE__ */ jsxs4("span", { className: styles7.rightContent, children: [
151
+ /* @__PURE__ */ jsxs4("span", { className: styles8.rightContent, children: [
150
152
  /* @__PURE__ */ jsx8("span", { title: rightLabel, children: rightLabel }),
151
153
  endIcon
152
154
  ] })
@@ -156,7 +158,7 @@ var SelectListOption = ({
156
158
  };
157
159
 
158
160
  // src/components/shared/Button/Button.tsx
159
- import styles8 from "./Button.module-UAYCVFGG.module.css";
161
+ import styles9 from "./Button.module-GOXSST7L.module.css";
160
162
  import clsx7 from "clsx";
161
163
  import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
162
164
  var Button = ({
@@ -168,7 +170,7 @@ var Button = ({
168
170
  className,
169
171
  ...props
170
172
  }) => {
171
- return /* @__PURE__ */ jsxs5("button", { className: clsx7(styles8.button, styles8[variant], styles8[size], className), ...props, children: [
173
+ return /* @__PURE__ */ jsxs5("button", { className: clsx7(styles9.button, styles9[variant], styles9[size], className), ...props, children: [
172
174
  StartIcon && /* @__PURE__ */ jsx9(StartIcon, {}),
173
175
  /* @__PURE__ */ jsx9("span", { children }),
174
176
  EndIcon && /* @__PURE__ */ jsx9(EndIcon, {})
@@ -177,7 +179,7 @@ var Button = ({
177
179
 
178
180
  // src/components/shared/GhostButton/GhostButton.tsx
179
181
  import clsx8 from "clsx";
180
- import styles9 from "./GhostButton.module-43KOFC6W.module.css";
182
+ import styles10 from "./GhostButton.module-43KOFC6W.module.css";
181
183
  import { jsx as jsx10, jsxs as jsxs6 } from "react/jsx-runtime";
182
184
  var GhostButton = ({
183
185
  startIcon: StartIcon,
@@ -186,7 +188,7 @@ var GhostButton = ({
186
188
  className,
187
189
  ...props
188
190
  }) => {
189
- return /* @__PURE__ */ jsxs6("button", { className: clsx8(styles9.ghostButton, className), ...props, children: [
191
+ return /* @__PURE__ */ jsxs6("button", { className: clsx8(styles10.ghostButton, className), ...props, children: [
190
192
  StartIcon && /* @__PURE__ */ jsx10(StartIcon, {}),
191
193
  /* @__PURE__ */ jsx10("span", { children }),
192
194
  EndIcon && /* @__PURE__ */ jsx10(EndIcon, {})
@@ -195,17 +197,17 @@ var GhostButton = ({
195
197
 
196
198
  // src/components/shared/Overlay/Overlay.tsx
197
199
  import clsx9 from "clsx";
198
- import styles10 from "./Overlay.module-FCW64VWM.module.css";
200
+ import styles11 from "./Overlay.module-FCW64VWM.module.css";
199
201
  import { jsx as jsx11 } from "react/jsx-runtime";
200
202
  var Overlay = ({ className, children }) => {
201
- return /* @__PURE__ */ jsx11("div", { className: clsx9(styles10.overlay, className), children });
203
+ return /* @__PURE__ */ jsx11("div", { className: clsx9(styles11.overlay, className), children });
202
204
  };
203
205
 
204
206
  // src/components/editors/selects/MultiSelectField/MultiSelectField.tsx
205
207
  import { Fragment as Fragment2, useEffect as useEffect3, useMemo, useRef as useRef2, useState } from "react";
206
208
 
207
209
  // src/components/editors/selects/shared/SelectFieldTrigger/SelectFieldTrigger.tsx
208
- import styles11 from "./SelectFieldTrigger.module-M6BRE7IY.module.css";
210
+ import styles12 from "./SelectFieldTrigger.module-M6BRE7IY.module.css";
209
211
  import { IconCaretDownFilled, IconLoader2, IconX } from "@tabler/icons-react";
210
212
  import clsx10 from "clsx";
211
213
  import { forwardRef } from "react";
@@ -233,16 +235,16 @@ var SelectFieldTrigger = forwardRef(
233
235
  {
234
236
  ref,
235
237
  className: clsx10(
236
- styles11.selectFieldTrigger,
237
- valueLabel && styles11.filled,
238
- error && styles11.error
238
+ styles12.selectFieldTrigger,
239
+ valueLabel && styles12.filled,
240
+ error && styles12.error
239
241
  ),
240
242
  ...props,
241
243
  children: [
242
244
  StartIcon && /* @__PURE__ */ jsx12(StartIcon, {}),
243
245
  /* @__PURE__ */ jsx12("span", { children: displayValue }),
244
246
  showClearButton && /* @__PURE__ */ jsx12(IconX, { onPointerDown: handleClear }),
245
- isLoading ? /* @__PURE__ */ jsx12(IconLoader2, { className: styles11.loading }) : /* @__PURE__ */ jsx12(IconCaretDownFilled, {})
247
+ isLoading ? /* @__PURE__ */ jsx12(IconLoader2, { className: styles12.loading }) : /* @__PURE__ */ jsx12(IconCaretDownFilled, {})
246
248
  ]
247
249
  }
248
250
  );
@@ -252,13 +254,15 @@ SelectFieldTrigger.displayName = "SelectFieldTrigger";
252
254
 
253
255
  // src/components/editors/selects/shared/SelectFieldContent/SelectFieldContent.tsx
254
256
  import { useEffect, useRef } from "react";
255
- import styles12 from "./SelectFieldContent.module-6FORUMWR.module.css";
257
+ import styles13 from "./SelectFieldContent.module-GZYJOPUB.module.css";
256
258
  import clsx11 from "clsx";
257
259
  import { jsx as jsx13 } from "react/jsx-runtime";
258
260
  var SelectFieldContent = ({
259
261
  children,
260
262
  autoFocus,
261
- className
263
+ className,
264
+ fitContent = false,
265
+ ...props
262
266
  }) => {
263
267
  const containerRef = useRef(null);
264
268
  const currentIndex = useRef(0);
@@ -306,10 +310,19 @@ var SelectFieldContent = ({
306
310
  container.removeEventListener("keydown", onKeyDown);
307
311
  };
308
312
  }, [autoFocus, children]);
309
- return /* @__PURE__ */ jsx13("div", { ref: containerRef, tabIndex: -1, className: clsx11(styles12.selectFieldContent, className), children });
313
+ return /* @__PURE__ */ jsx13(
314
+ "div",
315
+ {
316
+ ref: containerRef,
317
+ tabIndex: -1,
318
+ className: clsx11(styles13.selectFieldContent, fitContent && styles13.fitContent, className),
319
+ ...props,
320
+ children
321
+ }
322
+ );
310
323
  };
311
324
  var SelectFieldContentList = ({ children, disabled }) => {
312
- return /* @__PURE__ */ jsx13("div", { className: clsx11(styles12.selectFieldContentList, disabled && styles12.disabled), children });
325
+ return /* @__PURE__ */ jsx13("div", { className: clsx11(styles13.selectFieldContentList, disabled && styles13.disabled), children });
313
326
  };
314
327
 
315
328
  // src/components/editors/selects/shared/SelectFieldContent/SelectFieldContent.utils.ts
@@ -329,7 +342,7 @@ var groupOptionsByCategory = (options) => {
329
342
 
330
343
  // src/components/editors/selects/MultiSelectField/MultiSelectField.tsx
331
344
  import { IconSearch, IconSquare, IconSquareCheckFilled } from "@tabler/icons-react";
332
- import styles17 from "./selects.module-MRJADSDF.module.css";
345
+ import styles18 from "./selects.module-MRJADSDF.module.css";
333
346
 
334
347
  // src/components/editors/selects/shared/useSelectSearchFocus.hook.ts
335
348
  import { useEffect as useEffect2 } from "react";
@@ -344,23 +357,23 @@ var useSelectSearchFocus = (isOpen, searchFieldRef) => {
344
357
  };
345
358
 
346
359
  // src/components/editors/selects/shared/SelectFieldContent/SelectFieldOptions/SelectFieldCategory/SelectFieldCategory.tsx
347
- import styles13 from "./SelectFieldCategory.module-FMZMX5V2.module.css";
360
+ import styles14 from "./SelectFieldCategory.module-FMZMX5V2.module.css";
348
361
  import { jsx as jsx14 } from "react/jsx-runtime";
349
362
  var SelectFieldCategory = ({ label }) => {
350
- return /* @__PURE__ */ jsx14("span", { className: styles13.selectFieldCategory, children: label });
363
+ return /* @__PURE__ */ jsx14("span", { className: styles14.selectFieldCategory, children: label });
351
364
  };
352
365
 
353
366
  // src/components/shared/Field/FieldFeedback.tsx
354
367
  import clsx12 from "clsx";
355
- import styles14 from "./FieldFeedback.module-F7Z33KCS.module.css";
368
+ import styles15 from "./FieldFeedback.module-F7Z33KCS.module.css";
356
369
  import { jsx as jsx15 } from "react/jsx-runtime";
357
370
  var FieldFeedback = ({ message, variant, className }) => {
358
- return /* @__PURE__ */ jsx15("p", { className: clsx12(styles14.fieldFeedback, variant && styles14[variant], className), children: message });
371
+ return /* @__PURE__ */ jsx15("p", { className: clsx12(styles15.fieldFeedback, variant && styles15[variant], className), children: message });
359
372
  };
360
373
 
361
374
  // src/components/shared/Field/FieldHeader.tsx
362
375
  import clsx13 from "clsx";
363
- import styles15 from "./FieldHeader.module-QOLBH472.module.css";
376
+ import styles16 from "./FieldHeader.module-QOLBH472.module.css";
364
377
  import { jsx as jsx16, jsxs as jsxs8 } from "react/jsx-runtime";
365
378
  var FieldHeader = ({
366
379
  label,
@@ -371,7 +384,7 @@ var FieldHeader = ({
371
384
  if (!label && !required) {
372
385
  return null;
373
386
  }
374
- return /* @__PURE__ */ jsxs8("label", { className: clsx13(styles15.fieldHeader, className), children: [
387
+ return /* @__PURE__ */ jsxs8("label", { className: clsx13(styles16.fieldHeader, className), children: [
375
388
  label,
376
389
  required && /* @__PURE__ */ jsx16("span", { children: requiredLabel })
377
390
  ] });
@@ -382,7 +395,7 @@ import { forwardRef as forwardRef3 } from "react";
382
395
 
383
396
  // src/components/editors/inputs/shared/InputField/InputField.tsx
384
397
  import { IconX as IconX2 } from "@tabler/icons-react";
385
- import styles16 from "./InputField.module-LDLOMDBK.module.css";
398
+ import styles17 from "./InputField.module-LDLOMDBK.module.css";
386
399
  import clsx14 from "clsx";
387
400
  import { forwardRef as forwardRef2 } from "react";
388
401
  import { jsx as jsx17, jsxs as jsxs9 } from "react/jsx-runtime";
@@ -409,7 +422,7 @@ var InputField = forwardRef2(
409
422
  const hasError = error || errorMessage;
410
423
  return /* @__PURE__ */ jsxs9("div", { className, children: [
411
424
  /* @__PURE__ */ jsx17(FieldHeader, { label, required, requiredLabel }),
412
- /* @__PURE__ */ jsxs9("div", { className: clsx14(styles16.input, hasError && styles16.error), children: [
425
+ /* @__PURE__ */ jsxs9("div", { className: clsx14(styles17.input, hasError && styles17.error), children: [
413
426
  StartIcon && /* @__PURE__ */ jsx17(StartIcon, {}),
414
427
  /* @__PURE__ */ jsx17(
415
428
  "input",
@@ -428,7 +441,7 @@ var InputField = forwardRef2(
428
441
  /* @__PURE__ */ jsx17(
429
442
  IconX2,
430
443
  {
431
- className: clsx14(styles16.clearIcon, showClearButton && styles16.clearIconVisible),
444
+ className: clsx14(styles17.clearIcon, showClearButton && styles17.clearIconVisible),
432
445
  onClick: () => onChange("")
433
446
  }
434
447
  ),
@@ -583,7 +596,7 @@ var MultiSelectField = ({
583
596
  value: searchValue,
584
597
  onKeyDown: (e) => e.stopPropagation(),
585
598
  onChange: handleSearch,
586
- className: styles17.searchField
599
+ className: styles18.searchField
587
600
  }
588
601
  ),
589
602
  /* @__PURE__ */ jsxs11(SelectFieldContentList, { disabled: isLoading, children: [
@@ -612,7 +625,7 @@ var MultiSelectField = ({
612
625
  /* @__PURE__ */ jsx19(
613
626
  Button,
614
627
  {
615
- className: styles17.submitButton,
628
+ className: styles18.submitButton,
616
629
  disabled: isSubmitDisabled || isLoading,
617
630
  variant: "primary",
618
631
  size: "medium",
@@ -630,7 +643,7 @@ var MultiSelectField = ({
630
643
 
631
644
  // src/components/editors/Switch/Switch.tsx
632
645
  import clsx15 from "clsx";
633
- import styles18 from "./Switch.module-MXKS66UI.module.css";
646
+ import styles19 from "./Switch.module-MXKS66UI.module.css";
634
647
  import { jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
635
648
  var Switch = ({
636
649
  checked,
@@ -655,9 +668,9 @@ var Switch = ({
655
668
  {
656
669
  className: clsx15(
657
670
  className,
658
- styles18.switch,
659
- checked && styles18.checked,
660
- disabled && styles18.disabled
671
+ styles19.switch,
672
+ checked && styles19.checked,
673
+ disabled && styles19.disabled
661
674
  ),
662
675
  children: [
663
676
  /* @__PURE__ */ jsx20(
@@ -673,8 +686,8 @@ var Switch = ({
673
686
  ...props
674
687
  }
675
688
  ),
676
- /* @__PURE__ */ jsx20("span", { className: styles18.switchTrack, "aria-hidden": "true", children: /* @__PURE__ */ jsx20("span", { className: styles18.switchThumb, "aria-hidden": "true" }) }),
677
- label && /* @__PURE__ */ jsx20("span", { className: clsx15(styles18.switchLabel), children: label })
689
+ /* @__PURE__ */ jsx20("span", { className: styles19.switchTrack, "aria-hidden": "true", children: /* @__PURE__ */ jsx20("span", { className: styles19.switchThumb, "aria-hidden": "true" }) }),
690
+ label && /* @__PURE__ */ jsx20("span", { className: clsx15(styles19.switchLabel), children: label })
678
691
  ]
679
692
  }
680
693
  );
@@ -683,7 +696,7 @@ var Switch = ({
683
696
  // src/components/editors/selects/SingleSelectField/SingleSelectField.tsx
684
697
  import { Fragment as Fragment3, useEffect as useEffect4, useMemo as useMemo2, useRef as useRef3, useState as useState2 } from "react";
685
698
  import { IconSearch as IconSearch2 } from "@tabler/icons-react";
686
- import styles19 from "./selects.module-MRJADSDF.module.css";
699
+ import styles20 from "./selects.module-MRJADSDF.module.css";
687
700
  import { jsx as jsx21, jsxs as jsxs13 } from "react/jsx-runtime";
688
701
  var SingleSelectField = ({
689
702
  label,
@@ -770,7 +783,7 @@ var SingleSelectField = ({
770
783
  value: searchValue,
771
784
  onKeyDown: (e) => e.stopPropagation(),
772
785
  onChange: handleSearch,
773
- className: styles19.searchField
786
+ className: styles20.searchField
774
787
  }
775
788
  ),
776
789
  /* @__PURE__ */ jsxs13(SelectFieldContentList, { disabled: isLoading, children: [
@@ -844,6 +857,170 @@ var NumberField = forwardRef4(
844
857
  );
845
858
  NumberField.displayName = "NumberField";
846
859
 
860
+ // src/components/editors/dates/DateRangePicker/DateRangePicker.tsx
861
+ import { useState as useState3 } from "react";
862
+ import { DayPicker } from "react-day-picker";
863
+ import "./DateRangePicker-E7WV7TPK.css";
864
+
865
+ // src/components/editors/dates/DateRangePicker/DateRangePickerChevron.tsx
866
+ import { IconCaretDownFilled as IconCaretDownFilled2 } from "@tabler/icons-react";
867
+ import styles21 from "./DateRangePickerChevron.module-DWIFI5J2.module.css";
868
+ import { jsx as jsx23 } from "react/jsx-runtime";
869
+ var DateRangePickerChevron = ({
870
+ orientation
871
+ }) => {
872
+ const rotation = orientation === "left" ? "rotate(90deg)" : orientation === "right" ? "rotate(-90deg)" : void 0;
873
+ return /* @__PURE__ */ jsx23(
874
+ "button",
875
+ {
876
+ className: styles21.chevron,
877
+ style: {
878
+ transform: rotation
879
+ },
880
+ children: /* @__PURE__ */ jsx23(IconCaretDownFilled2, {})
881
+ }
882
+ );
883
+ };
884
+
885
+ // src/utils/date.utils.ts
886
+ var isSameDate = (a, b) => a?.getTime() === b?.getTime();
887
+ var isSameDateRange = (a, b) => isSameDate(a?.from, b?.from) && isSameDate(a?.to, b?.to);
888
+ var endOfDayUTC = (date) => {
889
+ const d = new Date(date);
890
+ d.setUTCHours(23, 59, 59, 999);
891
+ return d;
892
+ };
893
+
894
+ // src/components/editors/dates/DateRangePicker/DateRangePicker.tsx
895
+ import * as rdpLocales from "react-day-picker/locale";
896
+ import { jsx as jsx24 } from "react/jsx-runtime";
897
+ var DateRangePicker = ({
898
+ value,
899
+ numberOfMonths = 1,
900
+ locale = "en",
901
+ onChange
902
+ }) => {
903
+ const [month, setMonth] = useState3(value?.from ?? /* @__PURE__ */ new Date());
904
+ const handleChange = (range) => {
905
+ if (range?.to) {
906
+ range.to = endOfDayUTC(range.to);
907
+ }
908
+ onChange(range);
909
+ };
910
+ return /* @__PURE__ */ jsx24(
911
+ DayPicker,
912
+ {
913
+ month,
914
+ onMonthChange: setMonth,
915
+ numberOfMonths,
916
+ components: { Chevron: DateRangePickerChevron },
917
+ locale: rdpLocales[locale],
918
+ mode: "range",
919
+ navLayout: "around",
920
+ onSelect: handleChange,
921
+ selected: value,
922
+ timeZone: "UTC",
923
+ showOutsideDays: true
924
+ }
925
+ );
926
+ };
927
+
928
+ // src/components/editors/dates/DateRangePickerField/DateRangePickerField.tsx
929
+ import { useState as useState4 } from "react";
930
+ import styles22 from "./DateRangePickerField.module-CURG3KIS.module.css";
931
+ import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
932
+ var getDateRangePickerLabel = (dateRange, displayValue) => {
933
+ if (dateRange === void 0) return void 0;
934
+ if (displayValue) return displayValue;
935
+ const { from, to } = dateRange;
936
+ if (!from || !to) return void 0;
937
+ return `${from ? from.toLocaleDateString() : ""} - ${to ? to.toLocaleDateString() : ""}`;
938
+ };
939
+ var DateRangePickerField = ({
940
+ locale,
941
+ displayValue,
942
+ value,
943
+ startIcon,
944
+ label,
945
+ disabled,
946
+ placeholder,
947
+ required,
948
+ error,
949
+ errorMessage,
950
+ clearable,
951
+ numberOfMonths = 1,
952
+ submitLabel = "Apply",
953
+ onChange
954
+ }) => {
955
+ const [isOpen, setIsOpen] = useState4(false);
956
+ const [currentDateRange, setCurrentDateRange] = useState4(value);
957
+ const valueLabel = getDateRangePickerLabel(value, displayValue);
958
+ const hasError = error || !!errorMessage;
959
+ const handleChange = () => {
960
+ onChange(currentDateRange);
961
+ setIsOpen(false);
962
+ };
963
+ const handleClear = () => {
964
+ setCurrentDateRange(void 0);
965
+ onChange(void 0);
966
+ };
967
+ const handleOpenChange = (open) => {
968
+ if (open) {
969
+ setIsOpen(true);
970
+ return;
971
+ }
972
+ setCurrentDateRange(value);
973
+ setIsOpen(false);
974
+ };
975
+ const isSubmitDisabled = isSameDateRange(currentDateRange, value);
976
+ return /* @__PURE__ */ jsxs14("div", { children: [
977
+ /* @__PURE__ */ jsx25(FieldHeader, { label, required }),
978
+ /* @__PURE__ */ jsx25(
979
+ Dropdown,
980
+ {
981
+ open: isOpen,
982
+ onOpenChange: handleOpenChange,
983
+ disabled,
984
+ triggerComponent: /* @__PURE__ */ jsx25(
985
+ SelectFieldTrigger,
986
+ {
987
+ startIcon,
988
+ "aria-label": "Select options",
989
+ placeholder,
990
+ disabled,
991
+ valueLabel,
992
+ onClear: handleClear,
993
+ isClearable: clearable,
994
+ error: hasError
995
+ }
996
+ ),
997
+ children: /* @__PURE__ */ jsxs14(SelectFieldContent, { fitContent: true, children: [
998
+ /* @__PURE__ */ jsx25(
999
+ DateRangePicker,
1000
+ {
1001
+ locale,
1002
+ numberOfMonths,
1003
+ value: currentDateRange,
1004
+ onChange: setCurrentDateRange
1005
+ }
1006
+ ),
1007
+ /* @__PURE__ */ jsx25(
1008
+ Button,
1009
+ {
1010
+ size: "small",
1011
+ className: styles22.submitButton,
1012
+ onClick: handleChange,
1013
+ disabled: isSubmitDisabled,
1014
+ children: submitLabel
1015
+ }
1016
+ )
1017
+ ] })
1018
+ }
1019
+ ),
1020
+ errorMessage && /* @__PURE__ */ jsx25(FieldFeedback, { message: errorMessage, variant: "error" })
1021
+ ] });
1022
+ };
1023
+
847
1024
  // src/components/charts/bars/BarChart.tsx
848
1025
  import { useRef as useRef4 } from "react";
849
1026
  import { Bar } from "react-chartjs-2";
@@ -1280,10 +1457,10 @@ var getBarChartOptions = (options) => {
1280
1457
  };
1281
1458
 
1282
1459
  // src/components/charts/bars/BarChart.tsx
1283
- import styles20 from "./charts.module-YNKCWRLU.module.css";
1460
+ import styles23 from "./charts.module-YNKCWRLU.module.css";
1284
1461
  import { mergician as mergician3 } from "mergician";
1285
1462
  import ChartDataLabels from "chartjs-plugin-datalabels";
1286
- import { jsx as jsx23 } from "react/jsx-runtime";
1463
+ import { jsx as jsx26 } from "react/jsx-runtime";
1287
1464
  ChartJS.register(
1288
1465
  CategoryScale,
1289
1466
  LinearScale,
@@ -1301,7 +1478,7 @@ var BarChart = ({ data, onSegmentClick, options = {}, ...props }) => {
1301
1478
  const indexClicked = getSegmentIndexClicked(event, chartRef);
1302
1479
  onSegmentClick?.(indexClicked);
1303
1480
  };
1304
- return /* @__PURE__ */ jsx23("div", { className: styles20.chartContainer, children: /* @__PURE__ */ jsx23(
1481
+ return /* @__PURE__ */ jsx26("div", { className: styles23.chartContainer, children: /* @__PURE__ */ jsx26(
1305
1482
  Bar,
1306
1483
  {
1307
1484
  ref: chartRef,
@@ -1326,7 +1503,7 @@ import {
1326
1503
  Filler
1327
1504
  } from "chart.js";
1328
1505
  import { Line } from "react-chartjs-2";
1329
- import styles21 from "./charts.module-YNKCWRLU.module.css";
1506
+ import styles24 from "./charts.module-YNKCWRLU.module.css";
1330
1507
  import { useRef as useRef5 } from "react";
1331
1508
  import { mergician as mergician5 } from "mergician";
1332
1509
 
@@ -1421,7 +1598,7 @@ var getLineChartOptions = (options) => {
1421
1598
  // src/components/charts/lines/LineChart.tsx
1422
1599
  import ChartDataLabels2 from "chartjs-plugin-datalabels";
1423
1600
  import AnnotationPlugin from "chartjs-plugin-annotation";
1424
- import { jsx as jsx24 } from "react/jsx-runtime";
1601
+ import { jsx as jsx27 } from "react/jsx-runtime";
1425
1602
  ChartJS2.register(
1426
1603
  CategoryScale2,
1427
1604
  LinearScale2,
@@ -1442,7 +1619,7 @@ var LineChart = ({ options = {}, data, onSegmentClick, ...props }) => {
1442
1619
  const indexClicked = getSegmentIndexClicked(event, chartRef);
1443
1620
  onSegmentClick?.(indexClicked);
1444
1621
  };
1445
- return /* @__PURE__ */ jsx24("div", { className: styles21.chartContainer, children: /* @__PURE__ */ jsx24(
1622
+ return /* @__PURE__ */ jsx27("div", { className: styles24.chartContainer, children: /* @__PURE__ */ jsx27(
1446
1623
  Line,
1447
1624
  {
1448
1625
  ref: chartRef,
@@ -1454,16 +1631,16 @@ var LineChart = ({ options = {}, data, onSegmentClick, ...props }) => {
1454
1631
  };
1455
1632
 
1456
1633
  // src/components/charts/kpis/KpiChart.tsx
1457
- import styles23 from "./KpiChart.module-2LUIN66C.module.css";
1634
+ import styles26 from "./KpiChart.module-2LUIN66C.module.css";
1458
1635
 
1459
1636
  // src/components/charts/kpis/components/KpiChartChange.tsx
1460
- import styles22 from "./KpiChartChange.module-BAW7YCOW.module.css";
1637
+ import styles25 from "./KpiChartChange.module-BAW7YCOW.module.css";
1461
1638
  import clsx16 from "clsx";
1462
1639
  import { IconTrendingDown, IconTrendingUp } from "@tabler/icons-react";
1463
- import { Fragment as Fragment4, jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
1640
+ import { Fragment as Fragment4, jsx as jsx28, jsxs as jsxs15 } from "react/jsx-runtime";
1464
1641
  var getChangeClass = (isPositive, invertChangeColors) => {
1465
- if (isPositive) return invertChangeColors ? styles22.negative : styles22.positive;
1466
- return invertChangeColors ? styles22.positive : styles22.negative;
1642
+ if (isPositive) return invertChangeColors ? styles25.negative : styles25.positive;
1643
+ return invertChangeColors ? styles25.positive : styles25.negative;
1467
1644
  };
1468
1645
  var KpiChartChange = ({
1469
1646
  value,
@@ -1489,35 +1666,35 @@ var KpiChartChange = ({
1489
1666
  const displayValue = `${isPositive ? "+" : ""}${differenceLabel}`;
1490
1667
  const Icon = isPositive ? IconTrendingUp : IconTrendingDown;
1491
1668
  const showNoPreviousData = showChangeAsPercentage && Number(comparisonValue) === 0;
1492
- return /* @__PURE__ */ jsxs14("div", { className: styles22.kpiChangeContainerSizeGuide, children: [
1493
- /* @__PURE__ */ jsxs14("div", { className: clsx16(styles22.kpiChartChangeContainer, styles22.hidden), children: [
1494
- /* @__PURE__ */ jsxs14(
1669
+ return /* @__PURE__ */ jsxs15("div", { className: styles25.kpiChangeContainerSizeGuide, children: [
1670
+ /* @__PURE__ */ jsxs15("div", { className: clsx16(styles25.kpiChartChangeContainer, styles25.hidden), children: [
1671
+ /* @__PURE__ */ jsxs15(
1495
1672
  "span",
1496
1673
  {
1497
- className: clsx16(styles22.kpiChangeBadge, getChangeClass(isPositive, invertChangeColors)),
1674
+ className: clsx16(styles25.kpiChangeBadge, getChangeClass(isPositive, invertChangeColors)),
1498
1675
  children: [
1499
- /* @__PURE__ */ jsx25(Icon, {}),
1500
- /* @__PURE__ */ jsx25("span", { children: displayValue })
1676
+ /* @__PURE__ */ jsx28(Icon, {}),
1677
+ /* @__PURE__ */ jsx28("span", { children: displayValue })
1501
1678
  ]
1502
1679
  }
1503
1680
  ),
1504
- /* @__PURE__ */ jsx25("span", { className: styles22.kpiComparisonLabel, children: comparisonLabel })
1681
+ /* @__PURE__ */ jsx28("span", { className: styles25.kpiComparisonLabel, children: comparisonLabel })
1505
1682
  ] }),
1506
- /* @__PURE__ */ jsx25("div", { className: styles22.kpiAbsoluteContainer, children: /* @__PURE__ */ jsx25("div", { className: styles22.kpiChartChangeContainer, children: showNoPreviousData ? /* @__PURE__ */ jsx25("span", { className: styles22.kpiComparisonLabel, children: noPreviousDataLabel }) : /* @__PURE__ */ jsxs14(Fragment4, { children: [
1507
- !equalComparison && /* @__PURE__ */ jsxs14(
1683
+ /* @__PURE__ */ jsx28("div", { className: styles25.kpiAbsoluteContainer, children: /* @__PURE__ */ jsx28("div", { className: styles25.kpiChartChangeContainer, children: showNoPreviousData ? /* @__PURE__ */ jsx28("span", { className: styles25.kpiComparisonLabel, children: noPreviousDataLabel }) : /* @__PURE__ */ jsxs15(Fragment4, { children: [
1684
+ !equalComparison && /* @__PURE__ */ jsxs15(
1508
1685
  "span",
1509
1686
  {
1510
1687
  className: clsx16(
1511
- styles22.kpiChangeBadge,
1688
+ styles25.kpiChangeBadge,
1512
1689
  getChangeClass(isPositive, invertChangeColors)
1513
1690
  ),
1514
1691
  children: [
1515
- /* @__PURE__ */ jsx25(Icon, {}),
1516
- /* @__PURE__ */ jsx25("span", { children: displayValue })
1692
+ /* @__PURE__ */ jsx28(Icon, {}),
1693
+ /* @__PURE__ */ jsx28("span", { children: displayValue })
1517
1694
  ]
1518
1695
  }
1519
1696
  ),
1520
- /* @__PURE__ */ jsx25("span", { className: styles22.kpiComparisonLabel, children: equalComparison ? equalComparisonLabel ?? comparisonLabel : comparisonLabel })
1697
+ /* @__PURE__ */ jsx28("span", { className: styles25.kpiComparisonLabel, children: equalComparison ? equalComparisonLabel ?? comparisonLabel : comparisonLabel })
1521
1698
  ] }) }) })
1522
1699
  ] });
1523
1700
  };
@@ -1526,12 +1703,12 @@ var KpiChartChange = ({
1526
1703
  import { AutoTextSize } from "auto-text-size";
1527
1704
 
1528
1705
  // src/components/shared/ConditionalWrapper/ConditionalWrapper.tsx
1529
- import { Fragment as Fragment5, jsx as jsx26 } from "react/jsx-runtime";
1530
- var ConditionalWrapper = ({ condition, wrapper, children }) => condition ? wrapper(children) : /* @__PURE__ */ jsx26(Fragment5, { children });
1706
+ import { Fragment as Fragment5, jsx as jsx29 } from "react/jsx-runtime";
1707
+ var ConditionalWrapper = ({ condition, wrapper, children }) => condition ? wrapper(children) : /* @__PURE__ */ jsx29(Fragment5, { children });
1531
1708
  var ConditionalWrapper_default = ConditionalWrapper;
1532
1709
 
1533
1710
  // src/components/charts/kpis/KpiChart.tsx
1534
- import { jsx as jsx27, jsxs as jsxs15 } from "react/jsx-runtime";
1711
+ import { jsx as jsx30, jsxs as jsxs16 } from "react/jsx-runtime";
1535
1712
  var KpiChart = ({
1536
1713
  value,
1537
1714
  valueFontSize,
@@ -1548,13 +1725,13 @@ var KpiChart = ({
1548
1725
  const hasComparisonValue = comparisonValue !== void 0;
1549
1726
  const displayValue = value === void 0 ? "" : valueFormatter ? valueFormatter(value) : value;
1550
1727
  const autoResizeValueFontSize = !valueFontSize;
1551
- return /* @__PURE__ */ jsxs15("div", { className: styles23.kpiChartContainer, children: [
1552
- /* @__PURE__ */ jsx27("div", { className: styles23.kpiChartValueContainer, children: /* @__PURE__ */ jsx27(
1728
+ return /* @__PURE__ */ jsxs16("div", { className: styles26.kpiChartContainer, children: [
1729
+ /* @__PURE__ */ jsx30("div", { className: styles26.kpiChartValueContainer, children: /* @__PURE__ */ jsx30(
1553
1730
  ConditionalWrapper_default,
1554
1731
  {
1555
1732
  condition: autoResizeValueFontSize,
1556
- wrapper: (children) => /* @__PURE__ */ jsx27(AutoTextSize, { mode: "boxoneline", minFontSizePx: 1, maxFontSizePx: 999, children }),
1557
- children: /* @__PURE__ */ jsx27(
1733
+ wrapper: (children) => /* @__PURE__ */ jsx30(AutoTextSize, { mode: "boxoneline", minFontSizePx: 1, maxFontSizePx: 999, children }),
1734
+ children: /* @__PURE__ */ jsx30(
1558
1735
  "h2",
1559
1736
  {
1560
1737
  title: displayValue.toString(),
@@ -1566,7 +1743,7 @@ var KpiChart = ({
1566
1743
  )
1567
1744
  }
1568
1745
  ) }),
1569
- /* @__PURE__ */ jsx27("div", { className: styles23.kpiComparisonContainer, style: { fontSize: trendFontSize }, children: /* @__PURE__ */ jsx27("div", { style: { visibility: hasComparisonValue ? "visible" : "hidden" }, children: /* @__PURE__ */ jsx27(
1746
+ /* @__PURE__ */ jsx30("div", { className: styles26.kpiComparisonContainer, style: { fontSize: trendFontSize }, children: /* @__PURE__ */ jsx30("div", { style: { visibility: hasComparisonValue ? "visible" : "hidden" }, children: /* @__PURE__ */ jsx30(
1570
1747
  KpiChartChange,
1571
1748
  {
1572
1749
  equalComparisonLabel,
@@ -1663,12 +1840,12 @@ var getDonutChartOptions = (options) => {
1663
1840
 
1664
1841
  // src/components/charts/pies/DonutChart/DonutChart.tsx
1665
1842
  import { mergician as mergician7 } from "mergician";
1666
- import styles24 from "./charts.module-YNKCWRLU.module.css";
1843
+ import styles27 from "./charts.module-YNKCWRLU.module.css";
1667
1844
 
1668
1845
  // src/hooks/useResizeObserver.hook.ts
1669
- import { useLayoutEffect, useRef as useRef6, useState as useState3 } from "react";
1846
+ import { useLayoutEffect, useRef as useRef6, useState as useState5 } from "react";
1670
1847
  var useResizeObserver = (elRef, timeout = 100) => {
1671
- const [size, setSize] = useState3({ width: 0, height: 0 });
1848
+ const [size, setSize] = useState5({ width: 0, height: 0 });
1672
1849
  const timeoutRef = useRef6(void 0);
1673
1850
  useLayoutEffect(() => {
1674
1851
  const el = elRef.current;
@@ -1700,7 +1877,7 @@ var useResizeObserver = (elRef, timeout = 100) => {
1700
1877
  };
1701
1878
 
1702
1879
  // src/components/charts/pies/DonutChart/DonutChart.tsx
1703
- import { jsx as jsx28 } from "react/jsx-runtime";
1880
+ import { jsx as jsx31 } from "react/jsx-runtime";
1704
1881
  var MIN_WIDTH_HEIGHT_TO_SHOW_CHART = 10;
1705
1882
  ChartJS3.register(ArcElement, Tooltip3, Legend3, ChartDataLabels3, AnnotationPlugin2);
1706
1883
  var DonutChart = ({
@@ -1725,7 +1902,7 @@ var DonutChart = ({
1725
1902
  };
1726
1903
  const { height, width } = useResizeObserver(containerRef, 0);
1727
1904
  const hideChart = height < MIN_WIDTH_HEIGHT_TO_SHOW_CHART || width < MIN_WIDTH_HEIGHT_TO_SHOW_CHART;
1728
- return /* @__PURE__ */ jsx28("div", { className: styles24.chartContainer, ref: containerRef, children: hideChart ? null : /* @__PURE__ */ jsx28(
1905
+ return /* @__PURE__ */ jsx31("div", { className: styles27.chartContainer, ref: containerRef, children: hideChart ? null : /* @__PURE__ */ jsx31(
1729
1906
  Pie,
1730
1907
  {
1731
1908
  ref: chartRef,
@@ -1742,9 +1919,9 @@ import { Pie as Pie2 } from "react-chartjs-2";
1742
1919
  import { ArcElement as ArcElement2, Chart as ChartJS4, Legend as Legend4, Tooltip as Tooltip4 } from "chart.js";
1743
1920
  import ChartDataLabels4 from "chartjs-plugin-datalabels";
1744
1921
  import { mergician as mergician8 } from "mergician";
1745
- import styles25 from "./charts.module-YNKCWRLU.module.css";
1922
+ import styles28 from "./charts.module-YNKCWRLU.module.css";
1746
1923
  import AnnotationPlugin3 from "chartjs-plugin-annotation";
1747
- import { jsx as jsx29 } from "react/jsx-runtime";
1924
+ import { jsx as jsx32 } from "react/jsx-runtime";
1748
1925
  ChartJS4.register(ArcElement2, Tooltip4, Legend4, ChartDataLabels4, AnnotationPlugin3);
1749
1926
  var PieChart = ({
1750
1927
  data,
@@ -1767,7 +1944,7 @@ var PieChart = ({
1767
1944
  const indexClicked = getSegmentIndexClicked(event, chartRef);
1768
1945
  onSegmentClick?.(indexClicked);
1769
1946
  };
1770
- return /* @__PURE__ */ jsx29("div", { className: styles25.chartContainer, children: /* @__PURE__ */ jsx29(
1947
+ return /* @__PURE__ */ jsx32("div", { className: styles28.chartContainer, children: /* @__PURE__ */ jsx32(
1771
1948
  Pie2,
1772
1949
  {
1773
1950
  ref: chartRef,
@@ -1779,8 +1956,8 @@ var PieChart = ({
1779
1956
  };
1780
1957
 
1781
1958
  // src/components/charts/tables/Table/TablePaginated.tsx
1782
- import * as React2 from "react";
1783
- import styles29 from "./tables.module-GNDYDW3Z.module.css";
1959
+ import * as React3 from "react";
1960
+ import styles32 from "./tables.module-GNDYDW3Z.module.css";
1784
1961
  import clsx19 from "clsx";
1785
1962
 
1786
1963
  // src/components/charts/tables/Table/components/TablePagination/TablePagination.tsx
@@ -1790,9 +1967,9 @@ import {
1790
1967
  IconChevronsLeft,
1791
1968
  IconChevronsRight
1792
1969
  } from "@tabler/icons-react";
1793
- import styles26 from "./TablePagination.module-VGIQ7VN7.module.css";
1970
+ import styles29 from "./TablePagination.module-VGIQ7VN7.module.css";
1794
1971
  import { useEffect as useEffect5 } from "react";
1795
- import { jsx as jsx30, jsxs as jsxs16 } from "react/jsx-runtime";
1972
+ import { jsx as jsx33, jsxs as jsxs17 } from "react/jsx-runtime";
1796
1973
  var getTableTotalPages = (total, pageSize) => {
1797
1974
  return total ? Math.ceil(total / pageSize) : void 0;
1798
1975
  };
@@ -1811,9 +1988,9 @@ var TablePagination = ({
1811
1988
  onPageChange(0);
1812
1989
  }
1813
1990
  }, [totalPages, page]);
1814
- return /* @__PURE__ */ jsx30("div", { className: styles26.tablePagination, "aria-label": "Table pagination controls", children: /* @__PURE__ */ jsxs16("div", { className: styles26.tablePaginationCentral, children: [
1815
- /* @__PURE__ */ jsxs16("div", { className: styles26.tablePaginationCentralButtons, children: [
1816
- /* @__PURE__ */ jsx30(
1991
+ return /* @__PURE__ */ jsx33("div", { className: styles29.tablePagination, "aria-label": "Table pagination controls", children: /* @__PURE__ */ jsxs17("div", { className: styles29.tablePaginationCentral, children: [
1992
+ /* @__PURE__ */ jsxs17("div", { className: styles29.tablePaginationCentralButtons, children: [
1993
+ /* @__PURE__ */ jsx33(
1817
1994
  ActionIcon,
1818
1995
  {
1819
1996
  icon: IconChevronsLeft,
@@ -1824,7 +2001,7 @@ var TablePagination = ({
1824
2001
  "aria-label": "First page"
1825
2002
  }
1826
2003
  ),
1827
- /* @__PURE__ */ jsx30(
2004
+ /* @__PURE__ */ jsx33(
1828
2005
  ActionIcon,
1829
2006
  {
1830
2007
  icon: IconChevronLeft,
@@ -1836,9 +2013,9 @@ var TablePagination = ({
1836
2013
  }
1837
2014
  )
1838
2015
  ] }),
1839
- /* @__PURE__ */ jsx30("span", { children: paginationLabel ?? `Page ${page + 1} of ${totalPages ?? "?"}` }),
1840
- /* @__PURE__ */ jsxs16("div", { className: styles26.tablePaginationCentralButtons, children: [
1841
- /* @__PURE__ */ jsx30(
2016
+ /* @__PURE__ */ jsx33("span", { children: paginationLabel ?? `Page ${page + 1} of ${totalPages ?? "?"}` }),
2017
+ /* @__PURE__ */ jsxs17("div", { className: styles29.tablePaginationCentralButtons, children: [
2018
+ /* @__PURE__ */ jsx33(
1842
2019
  ActionIcon,
1843
2020
  {
1844
2021
  icon: IconChevronRight,
@@ -1849,7 +2026,7 @@ var TablePagination = ({
1849
2026
  "aria-label": "Next page"
1850
2027
  }
1851
2028
  ),
1852
- /* @__PURE__ */ jsx30(
2029
+ /* @__PURE__ */ jsx33(
1853
2030
  ActionIcon,
1854
2031
  {
1855
2032
  icon: IconChevronsRight,
@@ -1863,8 +2040,8 @@ var TablePagination = ({
1863
2040
  };
1864
2041
 
1865
2042
  // src/components/charts/tables/Table/components/TableHeader/TableHeader.tsx
1866
- import { IconCaretDownFilled as IconCaretDownFilled2, IconCaretUpDownFilled, IconCaretUpFilled } from "@tabler/icons-react";
1867
- import styles27 from "./TableHeader.module-XXXLQWHC.module.css";
2043
+ import { IconCaretDownFilled as IconCaretDownFilled3, IconCaretUpDownFilled, IconCaretUpFilled } from "@tabler/icons-react";
2044
+ import styles30 from "./TableHeader.module-XXXLQWHC.module.css";
1868
2045
 
1869
2046
  // src/components/charts/tables/Table/table.types.ts
1870
2047
  var TableSortDirection = {
@@ -1880,7 +2057,7 @@ var TableHeaderAlign = {
1880
2057
  // src/components/charts/tables/Table/components/TableHeader/TableHeader.tsx
1881
2058
  import tableStyles from "./tables.module-GNDYDW3Z.module.css";
1882
2059
  import clsx17 from "clsx";
1883
- import { jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
2060
+ import { jsx as jsx34, jsxs as jsxs18 } from "react/jsx-runtime";
1884
2061
  var getHeaderAriaSort = (sort, header) => {
1885
2062
  return sort?.id === header.id ? sort.direction === "asc" ? "ascending" : "descending" : "none";
1886
2063
  };
@@ -1894,15 +2071,15 @@ var TableHeader = ({
1894
2071
  onSortChange
1895
2072
  }) => {
1896
2073
  const getSortIcon = (header) => {
1897
- if (!sort) return /* @__PURE__ */ jsx31(IconCaretUpDownFilled, {});
2074
+ if (!sort) return /* @__PURE__ */ jsx34(IconCaretUpDownFilled, {});
1898
2075
  if (sort.id === header.id) {
1899
2076
  if (sort.direction === TableSortDirection.ASC) {
1900
- return /* @__PURE__ */ jsx31(IconCaretUpFilled, {});
2077
+ return /* @__PURE__ */ jsx34(IconCaretUpFilled, {});
1901
2078
  } else if (sort.direction === TableSortDirection.DESC) {
1902
- return /* @__PURE__ */ jsx31(IconCaretDownFilled2, {});
2079
+ return /* @__PURE__ */ jsx34(IconCaretDownFilled3, {});
1903
2080
  }
1904
2081
  }
1905
- return /* @__PURE__ */ jsx31(IconCaretUpDownFilled, {});
2082
+ return /* @__PURE__ */ jsx34(IconCaretUpDownFilled, {});
1906
2083
  };
1907
2084
  const handleSort = (id) => {
1908
2085
  if (!onSortChange) return;
@@ -1920,16 +2097,16 @@ var TableHeader = ({
1920
2097
  }
1921
2098
  }
1922
2099
  };
1923
- return /* @__PURE__ */ jsx31("thead", { className: styles27.tableHeader, children: /* @__PURE__ */ jsxs17("tr", { children: [
1924
- showIndex && /* @__PURE__ */ jsx31("th", { className: clsx17(tableStyles.mutedCell, tableStyles.stickyFirstColumn), children: "#" }),
1925
- headers.map((header) => /* @__PURE__ */ jsx31(
2100
+ return /* @__PURE__ */ jsx34("thead", { className: styles30.tableHeader, children: /* @__PURE__ */ jsxs18("tr", { children: [
2101
+ showIndex && /* @__PURE__ */ jsx34("th", { className: clsx17(tableStyles.mutedCell, tableStyles.stickyFirstColumn), children: "#" }),
2102
+ headers.map((header) => /* @__PURE__ */ jsx34(
1926
2103
  "th",
1927
2104
  {
1928
- className: styles27.tableHeaderCell,
2105
+ className: styles30.tableHeaderCell,
1929
2106
  style: { minWidth: header.minWidth },
1930
2107
  scope: "col",
1931
2108
  "aria-sort": getHeaderAriaSort(sort, header),
1932
- children: /* @__PURE__ */ jsxs17(
2109
+ children: /* @__PURE__ */ jsxs18(
1933
2110
  "button",
1934
2111
  {
1935
2112
  onClick: () => handleSort(header.id),
@@ -1947,12 +2124,12 @@ var TableHeader = ({
1947
2124
  };
1948
2125
 
1949
2126
  // src/components/charts/tables/Table/components/TableBody/TableBody.tsx
1950
- import styles28 from "./TableBody.module-ARNVVKDL.module.css";
2127
+ import styles31 from "./TableBody.module-ARNVVKDL.module.css";
1951
2128
  import clsx18 from "clsx";
1952
2129
  import { IconCopy, IconCopyCheckFilled } from "@tabler/icons-react";
1953
- import { useState as useState4 } from "react";
2130
+ import { useState as useState6 } from "react";
1954
2131
  import tableStyles2 from "./tables.module-GNDYDW3Z.module.css";
1955
- import { jsx as jsx32, jsxs as jsxs18 } from "react/jsx-runtime";
2132
+ import { jsx as jsx35, jsxs as jsxs19 } from "react/jsx-runtime";
1956
2133
  var TableBody = ({
1957
2134
  headers,
1958
2135
  rows,
@@ -1961,14 +2138,14 @@ var TableBody = ({
1961
2138
  showIndex,
1962
2139
  onRowIndexClick
1963
2140
  }) => {
1964
- return /* @__PURE__ */ jsx32("tbody", { className: styles28.tableBody, children: rows.map((row, rowIndex) => /* @__PURE__ */ jsxs18(
2141
+ return /* @__PURE__ */ jsx35("tbody", { className: styles31.tableBody, children: rows.map((row, rowIndex) => /* @__PURE__ */ jsxs19(
1965
2142
  "tr",
1966
2143
  {
1967
2144
  onClick: () => onRowIndexClick?.(rowIndex),
1968
2145
  className: clsx18(rowIndex === rows.length - 1 && tableStyles2.tableLastRow),
1969
2146
  children: [
1970
- showIndex && /* @__PURE__ */ jsx32("td", { className: clsx18(tableStyles2.mutedCell, tableStyles2.stickyFirstColumn), children: pageSize * page + rowIndex + 1 }),
1971
- headers.map((header, cellIndex) => /* @__PURE__ */ jsx32(
2147
+ showIndex && /* @__PURE__ */ jsx35("td", { className: clsx18(tableStyles2.mutedCell, tableStyles2.stickyFirstColumn), children: pageSize * page + rowIndex + 1 }),
2148
+ headers.map((header, cellIndex) => /* @__PURE__ */ jsx35(
1972
2149
  TableBodyCell,
1973
2150
  {
1974
2151
  header,
@@ -1984,13 +2161,13 @@ var TableBody = ({
1984
2161
  )) });
1985
2162
  };
1986
2163
  var TableBodyCell = ({ header, row, rowIndex, cellIndex }) => {
1987
- const [isPressedCopy, setIsPressedCopy] = useState4(false);
2164
+ const [isPressedCopy, setIsPressedCopy] = useState6(false);
1988
2165
  const value = header.accessor !== void 0 ? header.accessor(row) : header.id !== void 0 ? (
1989
2166
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1990
2167
  row[header.id]
1991
2168
  ) : void 0;
1992
2169
  if (header.cell) {
1993
- return header.cell({ value, className: styles28.tableBodyCell });
2170
+ return header.cell({ value, className: styles31.tableBodyCell });
1994
2171
  }
1995
2172
  const handleCopy = () => {
1996
2173
  setIsPressedCopy(true);
@@ -1998,22 +2175,22 @@ var TableBodyCell = ({ header, row, rowIndex, cellIndex }) => {
1998
2175
  navigator.clipboard.writeText(String(value));
1999
2176
  }
2000
2177
  };
2001
- return /* @__PURE__ */ jsxs18(
2178
+ return /* @__PURE__ */ jsxs19(
2002
2179
  "td",
2003
2180
  {
2004
2181
  title: value,
2005
2182
  style: { textAlign: header.align },
2006
2183
  onMouseLeave: () => setIsPressedCopy(false),
2007
2184
  children: [
2008
- /* @__PURE__ */ jsx32(
2185
+ /* @__PURE__ */ jsx35(
2009
2186
  ActionIcon,
2010
2187
  {
2011
2188
  title: `Copy: ${String(value)}`,
2012
2189
  onMouseDown: handleCopy,
2013
2190
  icon: isPressedCopy ? IconCopyCheckFilled : IconCopy,
2014
2191
  className: clsx18(
2015
- styles28.copyButton,
2016
- header.align === TableHeaderAlign.RIGHT && styles28.leftAlign
2192
+ styles31.copyButton,
2193
+ header.align === TableHeaderAlign.RIGHT && styles31.leftAlign
2017
2194
  ),
2018
2195
  onClick: handleCopy
2019
2196
  }
@@ -2026,8 +2203,8 @@ var TableBodyCell = ({ header, row, rowIndex, cellIndex }) => {
2026
2203
  };
2027
2204
 
2028
2205
  // src/components/charts/tables/Table/TablePaginated.tsx
2029
- import { jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
2030
- var TablePaginated = React2.forwardRef(
2206
+ import { jsx as jsx36, jsxs as jsxs20 } from "react/jsx-runtime";
2207
+ var TablePaginated = React3.forwardRef(
2031
2208
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2032
2209
  (props, ref) => {
2033
2210
  const {
@@ -2044,9 +2221,9 @@ var TablePaginated = React2.forwardRef(
2044
2221
  onPageChange,
2045
2222
  onSortChange
2046
2223
  } = props;
2047
- return /* @__PURE__ */ jsxs19("div", { ref, className: clsx19(styles29.tableContainer, className), children: [
2048
- /* @__PURE__ */ jsx33("div", { className: styles29.tableContainerScroll, children: /* @__PURE__ */ jsxs19("table", { className: styles29.table, children: [
2049
- /* @__PURE__ */ jsx33(
2224
+ return /* @__PURE__ */ jsxs20("div", { ref, className: clsx19(styles32.tableContainer, className), children: [
2225
+ /* @__PURE__ */ jsx36("div", { className: styles32.tableContainerScroll, children: /* @__PURE__ */ jsxs20("table", { className: styles32.table, children: [
2226
+ /* @__PURE__ */ jsx36(
2050
2227
  TableHeader,
2051
2228
  {
2052
2229
  showIndex,
@@ -2055,7 +2232,7 @@ var TablePaginated = React2.forwardRef(
2055
2232
  onSortChange
2056
2233
  }
2057
2234
  ),
2058
- /* @__PURE__ */ jsx33(
2235
+ /* @__PURE__ */ jsx36(
2059
2236
  TableBody,
2060
2237
  {
2061
2238
  onRowIndexClick,
@@ -2067,7 +2244,7 @@ var TablePaginated = React2.forwardRef(
2067
2244
  }
2068
2245
  )
2069
2246
  ] }) }),
2070
- /* @__PURE__ */ jsx33(
2247
+ /* @__PURE__ */ jsx36(
2071
2248
  TablePagination,
2072
2249
  {
2073
2250
  page,
@@ -2083,7 +2260,7 @@ var TablePaginated = React2.forwardRef(
2083
2260
  TablePaginated.displayName = "TablePaginated";
2084
2261
 
2085
2262
  // src/components/charts/tables/PivotTable/PivotTable.tsx
2086
- import { useEffect as useEffect6, useMemo as useMemo3, useState as useState5 } from "react";
2263
+ import { useEffect as useEffect6, useMemo as useMemo3, useState as useState7 } from "react";
2087
2264
  import tableStyles3 from "./tables.module-GNDYDW3Z.module.css";
2088
2265
  import clsx20 from "clsx";
2089
2266
 
@@ -2097,7 +2274,7 @@ var getTableCellWidthStyle = (width) => {
2097
2274
  };
2098
2275
 
2099
2276
  // src/components/charts/tables/PivotTable/PivotTable.tsx
2100
- import { jsx as jsx34, jsxs as jsxs20 } from "react/jsx-runtime";
2277
+ import { jsx as jsx37, jsxs as jsxs21 } from "react/jsx-runtime";
2101
2278
  var isNumber = (v) => typeof v === "number" && !Number.isNaN(v);
2102
2279
  var getPercentageDisplay = (percentage, percentageDecimalPlaces) => {
2103
2280
  return `${percentage.toFixed(percentageDecimalPlaces)}%`;
@@ -2189,7 +2366,7 @@ var PivotTable = ({
2189
2366
  }
2190
2367
  return { colTotals: cTotals, rowTotals: rTotals, grandTotals: gTotals };
2191
2368
  }, [data, measures, rowDimension.key, columnDimension.key, columnValues, rowValues]);
2192
- const [visibleCount, setVisibleCount] = useState5(
2369
+ const [visibleCount, setVisibleCount] = useState7(
2193
2370
  () => progressive ? Math.min(batchSize, rowValues.length) : rowValues.length
2194
2371
  );
2195
2372
  useEffect6(() => {
@@ -2216,22 +2393,22 @@ var PivotTable = ({
2216
2393
  };
2217
2394
  }, [progressive, batchSize, batchDelayMs, rowValues.length, data]);
2218
2395
  const visibleRows = progressive ? rowValues.slice(0, visibleCount) : rowValues;
2219
- return /* @__PURE__ */ jsx34("div", { className: clsx20(tableStyles3.tableFullContainer, className), children: /* @__PURE__ */ jsx34(
2396
+ return /* @__PURE__ */ jsx37("div", { className: clsx20(tableStyles3.tableFullContainer, className), children: /* @__PURE__ */ jsx37(
2220
2397
  "div",
2221
2398
  {
2222
2399
  className: clsx20(
2223
2400
  tableStyles3.tableAdjustedContainer,
2224
2401
  (!columnWidth || !firstColumnWidth) && tableStyles3.fullWidth
2225
2402
  ),
2226
- children: /* @__PURE__ */ jsxs20(
2403
+ children: /* @__PURE__ */ jsxs21(
2227
2404
  "table",
2228
2405
  {
2229
2406
  className: tableStyles3.table,
2230
2407
  "aria-label": `${rowDimension.label} by ${columnDimension.label}`,
2231
2408
  children: [
2232
- /* @__PURE__ */ jsxs20("thead", { children: [
2233
- /* @__PURE__ */ jsxs20("tr", { children: [
2234
- /* @__PURE__ */ jsx34(
2409
+ /* @__PURE__ */ jsxs21("thead", { children: [
2410
+ /* @__PURE__ */ jsxs21("tr", { children: [
2411
+ /* @__PURE__ */ jsx37(
2235
2412
  "th",
2236
2413
  {
2237
2414
  scope: "col",
@@ -2243,7 +2420,7 @@ var PivotTable = ({
2243
2420
  ),
2244
2421
  columnValues.map((columnValue) => {
2245
2422
  const columnValueDisplay = columnDimension.formatValue ? columnDimension.formatValue(columnValue) : columnValue;
2246
- return /* @__PURE__ */ jsx34(
2423
+ return /* @__PURE__ */ jsx37(
2247
2424
  "th",
2248
2425
  {
2249
2426
  scope: "colgroup",
@@ -2254,7 +2431,7 @@ var PivotTable = ({
2254
2431
  `col-${columnValue}`
2255
2432
  );
2256
2433
  }),
2257
- hasRowTotals && /* @__PURE__ */ jsx34(
2434
+ hasRowTotals && /* @__PURE__ */ jsx37(
2258
2435
  "th",
2259
2436
  {
2260
2437
  scope: "colgroup",
@@ -2266,8 +2443,8 @@ var PivotTable = ({
2266
2443
  "col-total-group"
2267
2444
  )
2268
2445
  ] }),
2269
- /* @__PURE__ */ jsxs20("tr", { children: [
2270
- /* @__PURE__ */ jsx34(
2446
+ /* @__PURE__ */ jsxs21("tr", { children: [
2447
+ /* @__PURE__ */ jsx37(
2271
2448
  "th",
2272
2449
  {
2273
2450
  scope: "col",
@@ -2279,7 +2456,7 @@ var PivotTable = ({
2279
2456
  }
2280
2457
  ),
2281
2458
  columnValues.flatMap(
2282
- (col) => measures.map((measure, idx) => /* @__PURE__ */ jsx34(
2459
+ (col) => measures.map((measure, idx) => /* @__PURE__ */ jsx37(
2283
2460
  "th",
2284
2461
  {
2285
2462
  scope: "col",
@@ -2290,7 +2467,7 @@ var PivotTable = ({
2290
2467
  `sub-${String(col)}-${measure.key}-${idx}`
2291
2468
  ))
2292
2469
  ),
2293
- hasRowTotals && measures.filter((measure) => rowTotalsSet.has(measure.key)).map((measure, idx) => /* @__PURE__ */ jsx34(
2470
+ hasRowTotals && measures.filter((measure) => rowTotalsSet.has(measure.key)).map((measure, idx) => /* @__PURE__ */ jsx37(
2294
2471
  "th",
2295
2472
  {
2296
2473
  scope: "col",
@@ -2303,11 +2480,11 @@ var PivotTable = ({
2303
2480
  ))
2304
2481
  ] })
2305
2482
  ] }),
2306
- /* @__PURE__ */ jsxs20("tbody", { children: [
2483
+ /* @__PURE__ */ jsxs21("tbody", { children: [
2307
2484
  visibleRows.map((row) => {
2308
2485
  const rowDimensionValue = rowDimension.formatValue ? rowDimension.formatValue(row) : row;
2309
- return /* @__PURE__ */ jsxs20("tr", { children: [
2310
- /* @__PURE__ */ jsx34(
2486
+ return /* @__PURE__ */ jsxs21("tr", { children: [
2487
+ /* @__PURE__ */ jsx37(
2311
2488
  "th",
2312
2489
  {
2313
2490
  scope: "row",
@@ -2335,7 +2512,7 @@ var PivotTable = ({
2335
2512
  return measure.accessor ? measure.accessor(object) : value;
2336
2513
  };
2337
2514
  const columnValueDisplay = getDisplayValue();
2338
- return /* @__PURE__ */ jsx34("td", { title: columnValueDisplay, children: columnValueDisplay }, key);
2515
+ return /* @__PURE__ */ jsx37("td", { title: columnValueDisplay, children: columnValueDisplay }, key);
2339
2516
  })
2340
2517
  ),
2341
2518
  hasRowTotals && measures.filter((measure) => rowTotalsSet.has(measure.key)).map((measure, idx) => {
@@ -2352,12 +2529,12 @@ var PivotTable = ({
2352
2529
  } else if (measure.accessor) {
2353
2530
  displayValue = measure.accessor({ [measure.key]: value });
2354
2531
  }
2355
- return /* @__PURE__ */ jsx34("td", { className: tableStyles3.boltCell, title: displayValue, children: displayValue }, key);
2532
+ return /* @__PURE__ */ jsx37("td", { className: tableStyles3.boltCell, title: displayValue, children: displayValue }, key);
2356
2533
  })
2357
2534
  ] }, `row-${row}`);
2358
2535
  }),
2359
- hasColumnTotals && /* @__PURE__ */ jsxs20("tr", { className: tableStyles3.stickyLastRow, children: [
2360
- /* @__PURE__ */ jsx34(
2536
+ hasColumnTotals && /* @__PURE__ */ jsxs21("tr", { className: tableStyles3.stickyLastRow, children: [
2537
+ /* @__PURE__ */ jsx37(
2361
2538
  "th",
2362
2539
  {
2363
2540
  scope: "row",
@@ -2383,7 +2560,7 @@ var PivotTable = ({
2383
2560
  displayValue = measure.accessor({ [measure.key]: value });
2384
2561
  }
2385
2562
  const columnValueDisplay = show ? displayValue : "";
2386
- return /* @__PURE__ */ jsx34("td", { className: tableStyles3.boltCell, title: columnValueDisplay, children: columnValueDisplay }, key);
2563
+ return /* @__PURE__ */ jsx37("td", { className: tableStyles3.boltCell, title: columnValueDisplay, children: columnValueDisplay }, key);
2387
2564
  })
2388
2565
  ),
2389
2566
  hasRowTotals && measures.filter((measure) => rowTotalsSet.has(measure.key)).map((measure, idx) => {
@@ -2399,7 +2576,7 @@ var PivotTable = ({
2399
2576
  } else if (measure.accessor) {
2400
2577
  displayValue = measure.accessor({ [measure.key]: value });
2401
2578
  }
2402
- return /* @__PURE__ */ jsx34("td", { className: tableStyles3.boltCell, title: displayValue, children: displayValue }, key);
2579
+ return /* @__PURE__ */ jsx37("td", { className: tableStyles3.boltCell, title: displayValue, children: displayValue }, key);
2403
2580
  })
2404
2581
  ] }, "totals-row")
2405
2582
  ] })
@@ -2560,7 +2737,7 @@ var createColorForValue = ({
2560
2737
  };
2561
2738
 
2562
2739
  // src/components/charts/tables/HeatMap/HeatMap.tsx
2563
- import { jsx as jsx35, jsxs as jsxs21 } from "react/jsx-runtime";
2740
+ import { jsx as jsx38, jsxs as jsxs22 } from "react/jsx-runtime";
2564
2741
  var HeatMap = ({
2565
2742
  data,
2566
2743
  showValues = false,
@@ -2635,16 +2812,16 @@ var HeatMap = ({
2635
2812
  },
2636
2813
  [domainMin, domainMax, rawMin, rawMax, minColor, midColor, maxColor]
2637
2814
  );
2638
- return /* @__PURE__ */ jsx35("div", { className: clsx21(tableStyles4.tableFullContainer, className), children: /* @__PURE__ */ jsx35(
2815
+ return /* @__PURE__ */ jsx38("div", { className: clsx21(tableStyles4.tableFullContainer, className), children: /* @__PURE__ */ jsx38(
2639
2816
  "div",
2640
2817
  {
2641
2818
  className: clsx21(
2642
2819
  tableStyles4.tableAdjustedContainer,
2643
2820
  (!columnWidth || !firstColumnWidth) && tableStyles4.fullWidth
2644
2821
  ),
2645
- children: /* @__PURE__ */ jsxs21("table", { className: tableStyles4.table, "aria-label": "Heat map", children: [
2646
- /* @__PURE__ */ jsx35("thead", { children: /* @__PURE__ */ jsxs21("tr", { children: [
2647
- /* @__PURE__ */ jsx35(
2822
+ children: /* @__PURE__ */ jsxs22("table", { className: tableStyles4.table, "aria-label": "Heat map", children: [
2823
+ /* @__PURE__ */ jsx38("thead", { children: /* @__PURE__ */ jsxs22("tr", { children: [
2824
+ /* @__PURE__ */ jsx38(
2648
2825
  "th",
2649
2826
  {
2650
2827
  className: tableStyles4.stickyFirstColumn,
@@ -2652,10 +2829,10 @@ var HeatMap = ({
2652
2829
  children: measure.label
2653
2830
  }
2654
2831
  ),
2655
- columnValues.map((cv, index) => /* @__PURE__ */ jsx35("th", { style: getTableCellWidthStyle(columnWidth), children: columnDimension.format ? columnDimension.format(cv) : cv }, `col-${cv}-${index}`))
2832
+ columnValues.map((cv, index) => /* @__PURE__ */ jsx38("th", { style: getTableCellWidthStyle(columnWidth), children: columnDimension.format ? columnDimension.format(cv) : cv }, `col-${cv}-${index}`))
2656
2833
  ] }) }),
2657
- /* @__PURE__ */ jsx35("tbody", { children: rowValues.map((rv) => /* @__PURE__ */ jsxs21("tr", { children: [
2658
- /* @__PURE__ */ jsx35(
2834
+ /* @__PURE__ */ jsx38("tbody", { children: rowValues.map((rv) => /* @__PURE__ */ jsxs22("tr", { children: [
2835
+ /* @__PURE__ */ jsx38(
2659
2836
  "th",
2660
2837
  {
2661
2838
  scope: "row",
@@ -2669,7 +2846,7 @@ var HeatMap = ({
2669
2846
  const value = getCellValue(obj?.[measure.key], displayNullAs);
2670
2847
  const background = getCellBackground(value, colorForValue);
2671
2848
  const color = getCellColor(background);
2672
- return /* @__PURE__ */ jsx35(
2849
+ return /* @__PURE__ */ jsx38(
2673
2850
  "td",
2674
2851
  {
2675
2852
  style: {
@@ -2739,6 +2916,8 @@ export {
2739
2916
  CardContent,
2740
2917
  CardFeedback,
2741
2918
  CardHeader,
2919
+ DateRangePicker,
2920
+ DateRangePickerField,
2742
2921
  DonutChart,
2743
2922
  Dropdown,
2744
2923
  FieldFeedback,
@@ -2766,6 +2945,7 @@ export {
2766
2945
  TextField,
2767
2946
  Typography,
2768
2947
  chartjsAxisOptionsLayoutPadding,
2948
+ endOfDayUTC,
2769
2949
  getBarChartData,
2770
2950
  getBarChartOptions,
2771
2951
  getChartColors,
@@ -2786,6 +2966,9 @@ export {
2786
2966
  getStyle,
2787
2967
  getStyleNumber,
2788
2968
  getTableTotalPages,
2969
+ isSameDate,
2970
+ isSameDateRange,
2971
+ styles,
2789
2972
  useDebounce,
2790
2973
  useResizeObserver,
2791
2974
  useTableGetRowsPerPage