@krosoft/react 0.0.391 → 0.0.393

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 (189) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +1 -2
  2. package/dist/components/core/cards/DashboardCard.js +7 -8
  3. package/dist/components/core/cards/KpiCard.js +13 -14
  4. package/dist/components/core/cards/KpiCards.js +1 -2
  5. package/dist/components/core/cards/MetricCard.js +1 -2
  6. package/dist/components/core/cards/SkeletonCard.js +1 -2
  7. package/dist/components/core/cards/SkeletonCards.js +1 -2
  8. package/dist/components/core/changelog/AppChangelog.js +13 -14
  9. package/dist/components/core/changelog/AppChangelogEntry.js +19 -20
  10. package/dist/components/core/changelog/AppChangelogNav.js +1 -2
  11. package/dist/components/core/changelog/AppChangelogTagFilter.js +11 -12
  12. package/dist/components/core/charts/BarChartHorizontal.js +6 -7
  13. package/dist/components/core/charts/BarChartVertical.js +6 -7
  14. package/dist/components/core/charts/ChartCard.js +7 -8
  15. package/dist/components/core/charts/CircularGauge.js +1 -2
  16. package/dist/components/core/charts/LineChart.js +6 -7
  17. package/dist/components/core/charts/PieChart.js +12 -13
  18. package/dist/components/core/charts/chartColors.js +1 -2
  19. package/dist/components/core/charts/chartTooltip.helper.js +1 -2
  20. package/dist/components/core/dialogs/AboutDialog.js +11 -12
  21. package/dist/components/core/dialogs/AppDialog.js +27 -28
  22. package/dist/components/core/dialogs/ConfirmationDialog.js +15 -16
  23. package/dist/components/core/dialogs/FormDialog.js +7 -8
  24. package/dist/components/core/dialogs/index.js +4 -4
  25. package/dist/components/core/filters/ActiveFilters.js +1 -2
  26. package/dist/components/core/filters/AdvancedFilters.js +1 -2
  27. package/dist/components/core/filters/ConditionFilter.js +19 -20
  28. package/dist/components/core/filters/ConditionFilterGroup.js +1 -2
  29. package/dist/components/core/filters/FilterField.js +9 -10
  30. package/dist/components/core/filters/FilterPills.js +1 -2
  31. package/dist/components/core/filters/FilterPillsGroup.js +1 -2
  32. package/dist/components/core/filters/FiltersContainer.js +6 -7
  33. package/dist/components/core/filters/FiltersMobileDrawer.js +1 -2
  34. package/dist/components/core/filters/TableFilter.js +5 -6
  35. package/dist/components/core/filters/index.js +7 -7
  36. package/dist/components/core/forms/GenericForm.js +119 -120
  37. package/dist/components/core/icons/FlagFrIcon.js +1 -2
  38. package/dist/components/core/icons/FlagGbIcon.js +1 -2
  39. package/dist/components/core/inputs/DatePicker.js +9 -10
  40. package/dist/components/core/inputs/DateRangePicker.js +19 -20
  41. package/dist/components/core/inputs/FileDropzone.js +2 -3
  42. package/dist/components/core/inputs/ImageInput.js +9 -10
  43. package/dist/components/core/inputs/MultiSelect.js +89 -90
  44. package/dist/components/core/inputs/RatingInput.js +1 -2
  45. package/dist/components/core/inputs/SearchInput.js +7 -8
  46. package/dist/components/core/inputs/SingleSelect.js +36 -37
  47. package/dist/components/core/inputs/index.js +5 -5
  48. package/dist/components/core/inputs/select.helper.js +1 -2
  49. package/dist/components/core/language/LanguageSelector.js +1 -2
  50. package/dist/components/core/layouts/AppActions.js +44 -45
  51. package/dist/components/core/layouts/AppPageHeader.js +9 -10
  52. package/dist/components/core/layouts/AppSubTitle.js +1 -2
  53. package/dist/components/core/layouts/AppTitle.js +1 -2
  54. package/dist/components/core/layouts/KpiCardsLayout.js +1 -2
  55. package/dist/components/core/layouts/index.js +4 -4
  56. package/dist/components/core/markdown/AppMarkdown.js +1 -2
  57. package/dist/components/core/markdown/AppMarkdownHeading.js +4 -5
  58. package/dist/components/core/navbar/GlobalSearch.js +16 -17
  59. package/dist/components/core/navbar/NotificationsBell.js +21 -22
  60. package/dist/components/core/navbar/Sidebar.js +32 -33
  61. package/dist/components/core/navbar/SidebarHeader.js +1 -2
  62. package/dist/components/core/navbar/SidebarNavItem.js +20 -21
  63. package/dist/components/core/navbar/Topbar.js +5 -6
  64. package/dist/components/core/navbar/index.js +4 -4
  65. package/dist/components/core/states/ErrorAlert.js +1 -2
  66. package/dist/components/core/states/ErrorState.js +1 -2
  67. package/dist/components/core/states/LoadingState.js +1 -2
  68. package/dist/components/core/table/DataTable.js +1 -2
  69. package/dist/components/core/table/JsonTableOutput.js +17 -18
  70. package/dist/components/core/table/TableActions.js +31 -32
  71. package/dist/components/core/table/TableBody.js +25 -26
  72. package/dist/components/core/table/TableBulkActions.js +11 -12
  73. package/dist/components/core/table/TableHeader.js +15 -16
  74. package/dist/components/core/table/TablePagination.js +1 -2
  75. package/dist/components/core/table/TableSettings.js +20 -21
  76. package/dist/components/core/table/index.js +7 -7
  77. package/dist/components/core/tabs/AppTabContainer.js +1 -2
  78. package/dist/components/core/tabs/AppTabHeader.js +1 -2
  79. package/dist/components/core/tabs/AppTabs.js +10 -11
  80. package/dist/components/core/tabs/AppVerticalTabs.js +10 -11
  81. package/dist/components/core/tabs/index.js +3 -3
  82. package/dist/components/core/theme/ThemeSelector.js +1 -2
  83. package/dist/components/ui/accordion.js +1 -2
  84. package/dist/components/ui/alert-dialog.js +1 -2
  85. package/dist/components/ui/alert.js +1 -2
  86. package/dist/components/ui/aspect-ratio.js +1 -2
  87. package/dist/components/ui/avatar.js +1 -2
  88. package/dist/components/ui/badge.js +1 -2
  89. package/dist/components/ui/breadcrumb.js +1 -2
  90. package/dist/components/ui/button.js +1 -2
  91. package/dist/components/ui/calendar.js +8 -9
  92. package/dist/components/ui/card.js +1 -2
  93. package/dist/components/ui/carousel.js +1 -2
  94. package/dist/components/ui/chart.js +1 -2
  95. package/dist/components/ui/checkbox.js +1 -2
  96. package/dist/components/ui/collapsible.js +1 -2
  97. package/dist/components/ui/command.js +19 -20
  98. package/dist/components/ui/context-menu.js +1 -2
  99. package/dist/components/ui/control.js +1 -2
  100. package/dist/components/ui/dialog.js +1 -2
  101. package/dist/components/ui/drawer.js +1 -2
  102. package/dist/components/ui/dropdown-menu.js +1 -2
  103. package/dist/components/ui/form.js +1 -2
  104. package/dist/components/ui/hover-card.js +1 -2
  105. package/dist/components/ui/index.js +19 -19
  106. package/dist/components/ui/input-otp.js +1 -2
  107. package/dist/components/ui/input.js +1 -2
  108. package/dist/components/ui/label.js +1 -2
  109. package/dist/components/ui/menubar.js +1 -2
  110. package/dist/components/ui/navigation-menu.js +1 -2
  111. package/dist/components/ui/pagination.js +1 -2
  112. package/dist/components/ui/popover.js +1 -2
  113. package/dist/components/ui/progress.js +1 -2
  114. package/dist/components/ui/radio-group.js +1 -2
  115. package/dist/components/ui/resizable.js +1 -2
  116. package/dist/components/ui/scroll-area.js +1 -2
  117. package/dist/components/ui/select.js +1 -2
  118. package/dist/components/ui/separator.js +1 -2
  119. package/dist/components/ui/sheet.js +1 -2
  120. package/dist/components/ui/simple-table.js +1 -2
  121. package/dist/components/ui/skeleton.js +1 -2
  122. package/dist/components/ui/slider.js +1 -2
  123. package/dist/components/ui/sonner.js +1 -2
  124. package/dist/components/ui/switch.js +1 -2
  125. package/dist/components/ui/tabs.js +1 -2
  126. package/dist/components/ui/textarea.js +1 -2
  127. package/dist/components/ui/toast.js +1 -2
  128. package/dist/components/ui/toaster.js +10 -11
  129. package/dist/components/ui/toggle-group.js +1 -2
  130. package/dist/components/ui/toggle.js +1 -2
  131. package/dist/components/ui/tooltip.js +1 -2
  132. package/dist/constants/datatable.js +1 -2
  133. package/dist/constants/search.js +1 -2
  134. package/dist/contexts/page.context.js +1 -2
  135. package/dist/contexts/sidebar.context.js +1 -2
  136. package/dist/helpers/changelog.helper.js +1 -2
  137. package/dist/helpers/markdown.helper.js +1 -2
  138. package/dist/helpers/supabase.helper.js +1 -2
  139. package/dist/helpers/table.helper.js +1 -2
  140. package/dist/helpers/tailwind.helper.js +1 -2
  141. package/dist/hooks/behavior/index.js +6 -6
  142. package/dist/hooks/behavior/useConfirmDeleteDialog.js +1 -2
  143. package/dist/hooks/behavior/useConfirmationDialog.js +1 -2
  144. package/dist/hooks/behavior/useDebounce.js +1 -2
  145. package/dist/hooks/behavior/useDebouncedValue.js +1 -2
  146. package/dist/hooks/behavior/useDialog.js +1 -2
  147. package/dist/hooks/behavior/usePage.js +1 -2
  148. package/dist/hooks/behavior/useSidebar.js +1 -2
  149. package/dist/hooks/behavior/useTable.js +1 -2
  150. package/dist/hooks/behavior/useUrlState.js +1 -2
  151. package/dist/hooks/ui/index.js +10 -10
  152. package/dist/hooks/ui/useDataTable.js +1 -2
  153. package/dist/hooks/ui/useDocumentTitle.js +1 -2
  154. package/dist/hooks/ui/useFixedColumns.js +1 -2
  155. package/dist/hooks/ui/useLanguage.js +1 -2
  156. package/dist/hooks/ui/useMobile.js +1 -2
  157. package/dist/hooks/ui/useNotifications.js +1 -2
  158. package/dist/hooks/ui/useScrollFade.js +1 -2
  159. package/dist/hooks/ui/useServerTable.js +1 -2
  160. package/dist/hooks/ui/useTheme.js +1 -2
  161. package/dist/hooks/ui/useToast.js +1 -2
  162. package/dist/i18n/krosoftLocales.js +1 -2
  163. package/dist/i18n/translateKrosoft.js +1 -2
  164. package/dist/i18n/useDateFnsLocale.js +1 -2
  165. package/dist/i18n/useKrosoftTranslation.js +1 -2
  166. package/dist/locales/en.json.js +1 -2
  167. package/dist/locales/fr.json.js +1 -2
  168. package/dist/providers/SidebarProvider.js +5 -6
  169. package/dist/pwa/PwaUpdater.js +1 -2
  170. package/dist/pwa/index.js +3 -3
  171. package/dist/pwa/pwaUpdateToast.js +1 -2
  172. package/dist/query/createQueryClient.js +1 -2
  173. package/dist/seasonal/EffectSwitch.js +1 -2
  174. package/dist/seasonal/EmojiSnowfall.js +1 -2
  175. package/dist/seasonal/HalloweenEffect.js +5 -6
  176. package/dist/seasonal/SeasonalEffects.js +4 -5
  177. package/dist/seasonal/SeasonalEffectsSettings.js +8 -9
  178. package/dist/seasonal/SnowEffect.js +5 -6
  179. package/dist/seasonal/overlayStyle.js +1 -2
  180. package/dist/seasonal/seasons.js +1 -2
  181. package/dist/seasonal/useSeasonalEffects.js +1 -2
  182. package/dist/seasonal/useStoredToggle.js +1 -2
  183. package/dist/tailwind/index.js +1 -2
  184. package/dist/tokens/apply.js +1 -2
  185. package/dist/tokens/radius.js +1 -2
  186. package/dist/vendor/tailwindcss/lib/public/create-plugin.js +1 -2
  187. package/dist/vendor/tailwindcss/lib/util/createPlugin.js +1 -2
  188. package/dist/vendor/tailwindcss/plugin.js +1 -2
  189. package/package.json +3 -3
@@ -1,26 +1,26 @@
1
- import { ACTIONS_COLUMN_KEY as e, SELECTION_COLUMN_KEY as t, getAlignmentClass as n, getColumnAlignment as r, getFixedCellProps as i } from "../../../helpers/table.helper.js";
2
- import { useKrosoftTranslation as a } from "../../../i18n/useKrosoftTranslation.js";
3
- import { Checkbox as o } from "../../ui/checkbox.js";
1
+ import { useKrosoftTranslation as e } from "../../../i18n/useKrosoftTranslation.js";
2
+ import { Checkbox as t } from "../../ui/checkbox.js";
3
+ import { ACTIONS_COLUMN_KEY as n, SELECTION_COLUMN_KEY as r, getAlignmentClass as i, getColumnAlignment as a, getFixedCellProps as o } from "../../../helpers/table.helper.js";
4
4
  import "react";
5
5
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
6
6
  import { ArrowDownIcon as l, ArrowUpDownIcon as u, ArrowUpIcon as d, GripVerticalIcon as f } from "lucide-react";
7
- //#region src/components/core/table/TableHeader.tsx
7
+ // src/components/core/table/TableHeader.tsx
8
8
  var p = {
9
9
  left: "justify-start",
10
10
  center: "justify-center",
11
11
  right: "justify-end"
12
12
  };
13
13
  function m({ hasBulkActions: m, allSelected: h, someSelected: g, toggleSelectAll: _, visibleColumnsArray: v, draggableColumns: y, resizableColumns: b, columnWidths: x, sortColumn: S, sortDirection: C, handleSort: w, handleDragStart: T, handleDragOver: E, handleDrop: D, handleMouseDown: O, hasActions: k, settingsNode: A, bordered: j = !1, dense: M = !1, fixedColumns: N = {}, fixedSelection: P = !1, fixedActions: F = !1 }) {
14
- let { t: I } = a(), L = !1;
14
+ let { t: I } = e(), L = !1;
15
15
  h ? L = !0 : g && (L = "indeterminate");
16
- let R = (e) => e.sortable === !0 ? S === e.key ? s(C === "asc" ? d : l, { className: "size-3.5 text-foreground" }) : /* @__PURE__ */ s(u, { className: "size-3.5 text-muted-foreground/50 group-hover:text-muted-foreground transition-colors" }) : null, z = (e, t, a) => {
17
- let o = a !== !1 && e.fixed === void 0, l = e.sortable === !0, u = i(N[e.key], "header"), d = r(e), h = R(e), g = t === 0 && !m, _ = t === v.length - 1 && !(k || A !== void 0), y = `${g ? "pl-4" : "pl-2"} ${_ ? "pr-4" : "pr-2"}`;
16
+ let R = (e) => e.sortable === !0 ? S === e.key ? s(C === "asc" ? d : l, { className: "size-3.5 text-foreground" }) : /* @__PURE__ */ s(u, { className: "size-3.5 text-muted-foreground/50 group-hover:text-muted-foreground transition-colors" }) : null, z = (e, t, n) => {
17
+ let r = n !== !1 && e.fixed === void 0, l = e.sortable === !0, u = o(N[e.key], "header"), d = a(e), h = R(e), g = t === 0 && !m, _ = t === v.length - 1 && !(k || A !== void 0), y = `${g ? "pl-4" : "pl-2"} ${_ ? "pr-4" : "pr-2"}`;
18
18
  return /* @__PURE__ */ c("th", {
19
19
  "data-column-key": e.key,
20
20
  "data-fixed-side": e.fixed,
21
21
  className: [
22
22
  `${y} ${M ? "py-2" : "py-4"} text-sm font-medium text-foreground group`,
23
- n(d),
23
+ i(d),
24
24
  u.className,
25
25
  j ? "border-r border-border" : "",
26
26
  l ? "cursor-pointer select-none" : "",
@@ -30,12 +30,12 @@ function m({ hasBulkActions: m, allSelected: h, someSelected: g, toggleSelectAll
30
30
  ...b ? { width: x[e.key] } : { minWidth: x[e.key] },
31
31
  ...u.style
32
32
  },
33
- draggable: o,
33
+ draggable: r,
34
34
  onClick: () => {
35
35
  w(e.key);
36
36
  },
37
37
  onDragStart: (t) => {
38
- o ? T(t, e.key) : t.preventDefault();
38
+ r ? T(t, e.key) : t.preventDefault();
39
39
  },
40
40
  onDragOver: (t) => {
41
41
  E(t, e.key);
@@ -46,7 +46,7 @@ function m({ hasBulkActions: m, allSelected: h, someSelected: g, toggleSelectAll
46
46
  children: [/* @__PURE__ */ c("div", {
47
47
  className: `flex items-center gap-1 ${p[d]} ${b ? "pr-2" : ""}`,
48
48
  children: [
49
- o ? /* @__PURE__ */ s(f, { className: "size-4 text-muted-foreground cursor-grab shrink-0" }) : null,
49
+ r ? /* @__PURE__ */ s(f, { className: "size-4 text-muted-foreground cursor-grab shrink-0" }) : null,
50
50
  /* @__PURE__ */ s("span", {
51
51
  className: "truncate",
52
52
  children: I(e.headerKey)
@@ -63,12 +63,12 @@ function m({ hasBulkActions: m, allSelected: h, someSelected: g, toggleSelectAll
63
63
  }
64
64
  }) : null]
65
65
  }, e.key);
66
- }, B = i(N[t], "header"), V = i(N[e], "header");
66
+ }, B = o(N[r], "header"), V = o(N[n], "header");
67
67
  return /* @__PURE__ */ s("thead", {
68
68
  className: "bg-muted/50 border-b border-border",
69
69
  children: /* @__PURE__ */ c("tr", { children: [
70
70
  m ? /* @__PURE__ */ s("th", {
71
- "data-column-key": t,
71
+ "data-column-key": r,
72
72
  "data-fixed-side": P ? "left" : void 0,
73
73
  className: `p-1 text-center align-middle ${B.className}`,
74
74
  style: {
@@ -79,7 +79,7 @@ function m({ hasBulkActions: m, allSelected: h, someSelected: g, toggleSelectAll
79
79
  },
80
80
  children: /* @__PURE__ */ s("div", {
81
81
  className: "flex items-center justify-center",
82
- children: /* @__PURE__ */ s(o, {
82
+ children: /* @__PURE__ */ s(t, {
83
83
  checked: L,
84
84
  onCheckedChange: _
85
85
  })
@@ -87,7 +87,7 @@ function m({ hasBulkActions: m, allSelected: h, someSelected: g, toggleSelectAll
87
87
  }) : null,
88
88
  v.map((e, t) => z(e, t, y)),
89
89
  k || A !== void 0 ? /* @__PURE__ */ s("th", {
90
- "data-column-key": e,
90
+ "data-column-key": n,
91
91
  "data-fixed-side": F ? "right" : void 0,
92
92
  className: `py-1 pl-1 pr-4 text-right align-middle ${V.className}`,
93
93
  style: {
@@ -99,5 +99,4 @@ function m({ hasBulkActions: m, allSelected: h, someSelected: g, toggleSelectAll
99
99
  ] })
100
100
  });
101
101
  }
102
- //#endregion
103
102
  export { m as TableHeader };
@@ -4,7 +4,7 @@ import { Select as n, SelectContent as r, SelectItem as i, SelectTrigger as a, S
4
4
  import "react";
5
5
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
6
6
  import { ChevronLeftIcon as u, ChevronRightIcon as d } from "lucide-react";
7
- //#region src/components/core/table/TablePagination.tsx
7
+ // src/components/core/table/TablePagination.tsx
8
8
  var f = "…";
9
9
  function p(e, t) {
10
10
  return Array.from({ length: t - e + 1 }, (t, n) => e + n);
@@ -98,5 +98,4 @@ function h({ totalItems: p, startIndex: h, endIndex: g, pageSize: _, setPageSize
98
98
  ]
99
99
  });
100
100
  }
101
- //#endregion
102
101
  export { h as TablePagination };
@@ -1,14 +1,14 @@
1
- import { cn as e } from "../../../helpers/tailwind.helper.js";
2
- import { useKrosoftTranslation as t } from "../../../i18n/useKrosoftTranslation.js";
3
- import { Button as n } from "../../ui/button.js";
4
- import { Checkbox as r } from "../../ui/checkbox.js";
5
- import { Popover as i, PopoverContent as a, PopoverTrigger as o } from "../../ui/popover.js";
1
+ import { Button as e } from "../../ui/button.js";
2
+ import { Checkbox as t } from "../../ui/checkbox.js";
3
+ import { Popover as n, PopoverContent as r, PopoverTrigger as i } from "../../ui/popover.js";
4
+ import { useKrosoftTranslation as a } from "../../../i18n/useKrosoftTranslation.js";
5
+ import { cn as o } from "../../../helpers/tailwind.helper.js";
6
6
  import { useMemo as s, useState as c } from "react";
7
7
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
8
8
  import { SearchIcon as d, SettingsIcon as f } from "lucide-react";
9
- //#region src/components/core/table/TableSettings.tsx
9
+ // src/components/core/table/TableSettings.tsx
10
10
  function p({ columns: p, visibleColumns: m, toggleColumnVisibility: h, setColumnsVisibility: g }) {
11
- let { t: _ } = t(), [v, y] = c(""), b = s(() => p.map((e, t) => ({
11
+ let { t: _ } = a(), [v, y] = c(""), b = s(() => p.map((e, t) => ({
12
12
  key: e.key,
13
13
  label: _(e.headerKey),
14
14
  locked: t === 0
@@ -19,19 +19,19 @@ function p({ columns: p, visibleColumns: m, toggleColumnVisibility: h, setColumn
19
19
  let t = x.filter((e) => !e.locked).map((e) => e.key).filter((t) => m.has(t) !== e);
20
20
  g === void 0 ? t.forEach(h) : g(t, e);
21
21
  };
22
- return /* @__PURE__ */ u(i, {
22
+ return /* @__PURE__ */ u(n, {
23
23
  onOpenChange: (e) => {
24
24
  e || y("");
25
25
  },
26
- children: [/* @__PURE__ */ l(o, {
26
+ children: [/* @__PURE__ */ l(i, {
27
27
  asChild: !0,
28
- children: /* @__PURE__ */ l(n, {
28
+ children: /* @__PURE__ */ l(e, {
29
29
  variant: "outline",
30
30
  size: "sm",
31
31
  className: "size-7 p-0 bg-background hover:bg-muted shadow-sm border-border",
32
32
  children: /* @__PURE__ */ l(f, { className: "size-3.5 text-muted-foreground" })
33
33
  })
34
- }), /* @__PURE__ */ u(a, {
34
+ }), /* @__PURE__ */ u(r, {
35
35
  align: "end",
36
36
  className: "w-64 p-0",
37
37
  children: [
@@ -69,20 +69,20 @@ function p({ columns: p, visibleColumns: m, toggleColumnVisibility: h, setColumn
69
69
  children: [x.length === 0 && /* @__PURE__ */ l("p", {
70
70
  className: "px-2 py-3 text-center text-xs text-muted-foreground",
71
71
  children: _("states.noResult")
72
- }), x.map((t) => /* @__PURE__ */ u("label", {
73
- className: e("flex min-w-0 items-center gap-2.5 rounded-md px-2 py-1.5 text-sm transition-colors", t.locked ? "cursor-not-allowed text-muted-foreground" : "cursor-pointer hover:bg-muted"),
74
- children: [/* @__PURE__ */ l(r, {
75
- checked: t.locked || m.has(t.key),
76
- disabled: t.locked,
72
+ }), x.map((e) => /* @__PURE__ */ u("label", {
73
+ className: o("flex min-w-0 items-center gap-2.5 rounded-md px-2 py-1.5 text-sm transition-colors", e.locked ? "cursor-not-allowed text-muted-foreground" : "cursor-pointer hover:bg-muted"),
74
+ children: [/* @__PURE__ */ l(t, {
75
+ checked: e.locked || m.has(e.key),
76
+ disabled: e.locked,
77
77
  onCheckedChange: () => {
78
- h(t.key);
78
+ h(e.key);
79
79
  }
80
80
  }), /* @__PURE__ */ l("span", {
81
81
  className: "min-w-0 flex-1 truncate",
82
- title: t.label,
83
- children: t.label
82
+ title: e.label,
83
+ children: e.label
84
84
  })]
85
- }, t.key))]
85
+ }, e.key))]
86
86
  }),
87
87
  x.length > 0 && /* @__PURE__ */ u("div", {
88
88
  className: "flex items-center justify-end gap-2 border-t border-border px-3 py-2 text-xs",
@@ -113,5 +113,4 @@ function p({ columns: p, visibleColumns: m, toggleColumnVisibility: h, setColumn
113
113
  })]
114
114
  });
115
115
  }
116
- //#endregion
117
116
  export { p as TableSettings };
@@ -1,9 +1,9 @@
1
- import { TableActions as e } from "./TableActions.js";
2
- import { TableBody as t } from "./TableBody.js";
1
+ import { DataTable as e } from "./DataTable.js";
2
+ import { TablePagination as t } from "./TablePagination.js";
3
3
  import { TableBulkActions as n } from "./TableBulkActions.js";
4
- import { TableHeader as r } from "./TableHeader.js";
5
- import { TablePagination as i } from "./TablePagination.js";
6
- import { TableSettings as a } from "./TableSettings.js";
7
- import { DataTable as o } from "./DataTable.js";
4
+ import { TableSettings as r } from "./TableSettings.js";
5
+ import { TableHeader as i } from "./TableHeader.js";
6
+ import { TableBody as a } from "./TableBody.js";
7
+ import { TableActions as o } from "./TableActions.js";
8
8
  import { JsonTableOutput as s } from "./JsonTableOutput.js";
9
- export { o as DataTable, s as JsonTableOutput, e as TableActions, t as TableBody, n as TableBulkActions, r as TableHeader, i as TablePagination, a as TableSettings };
9
+ export { e as DataTable, s as JsonTableOutput, o as TableActions, a as TableBody, n as TableBulkActions, i as TableHeader, t as TablePagination, r as TableSettings };
@@ -1,7 +1,7 @@
1
1
  import { Card as e, CardContent as t, CardHeader as n } from "../../ui/card.js";
2
2
  import { AppTabHeader as r } from "./AppTabHeader.js";
3
3
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
4
- //#region src/components/core/tabs/AppTabContainer.tsx
4
+ // src/components/core/tabs/AppTabContainer.tsx
5
5
  function o({ titleKey: o, descriptionKey: s, actions: c = [], className: l, children: u, isSubTitle: d }) {
6
6
  return /* @__PURE__ */ a(e, { children: [/* @__PURE__ */ i(n, { children: /* @__PURE__ */ i(r, {
7
7
  titleKey: o,
@@ -13,5 +13,4 @@ function o({ titleKey: o, descriptionKey: s, actions: c = [], className: l, chil
13
13
  children: u
14
14
  })] });
15
15
  }
16
- //#endregion
17
16
  export { o as AppTabContainer };
@@ -1,7 +1,7 @@
1
1
  import { AppActions as e } from "../layouts/AppActions.js";
2
2
  import { AppTitle as t } from "../layouts/AppTitle.js";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
- //#region src/components/core/tabs/AppTabHeader.tsx
4
+ // src/components/core/tabs/AppTabHeader.tsx
5
5
  function i({ titleKey: i, descriptionKey: a, actions: o = [], className: s }) {
6
6
  return /* @__PURE__ */ r("div", {
7
7
  className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
@@ -15,5 +15,4 @@ function i({ titleKey: i, descriptionKey: a, actions: o = [], className: s }) {
15
15
  })]
16
16
  });
17
17
  }
18
- //#endregion
19
18
  export { i as AppTabHeader };
@@ -1,12 +1,12 @@
1
- import { cn as e } from "../../../helpers/tailwind.helper.js";
2
- import { useKrosoftTranslation as t } from "../../../i18n/useKrosoftTranslation.js";
3
- import { Tabs as n, TabsContent as r, TabsList as i, TabsTrigger as a } from "../../ui/tabs.js";
1
+ import { Tabs as e, TabsContent as t, TabsList as n, TabsTrigger as r } from "../../ui/tabs.js";
2
+ import { useKrosoftTranslation as i } from "../../../i18n/useKrosoftTranslation.js";
3
+ import { cn as a } from "../../../helpers/tailwind.helper.js";
4
4
  import { useEffect as o, useRef as s } from "react";
5
5
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
6
6
  import { useSearchParams as u } from "react-router-dom";
7
- //#region src/components/core/tabs/AppTabs.tsx
7
+ // src/components/core/tabs/AppTabs.tsx
8
8
  function d({ tabs: d, itemId: f, item: p, fit: m, paramName: h = "tab" }) {
9
- let { t: g } = t(), [_, v] = u(), y = _.get(h), b = d.find((e) => e.value === y)?.value ?? d[0]?.value, x = (e) => {
9
+ let { t: g } = i(), [_, v] = u(), y = _.get(h), b = d.find((e) => e.value === y)?.value ?? d[0]?.value, x = (e) => {
10
10
  let t = new URLSearchParams(_);
11
11
  t.set(h, e), v(t);
12
12
  }, S = s(null);
@@ -16,13 +16,13 @@ function d({ tabs: d, itemId: f, item: p, fit: m, paramName: h = "tab" }) {
16
16
  block: "nearest",
17
17
  inline: "nearest"
18
18
  });
19
- }, [b]), /* @__PURE__ */ l(n, {
19
+ }, [b]), /* @__PURE__ */ l(e, {
20
20
  value: b,
21
21
  onValueChange: x,
22
- children: [/* @__PURE__ */ c(i, {
22
+ children: [/* @__PURE__ */ c(n, {
23
23
  ref: S,
24
- className: e("w-full justify-start", m && "sm:w-fit"),
25
- children: d.map((e) => /* @__PURE__ */ l(a, {
24
+ className: a("w-full justify-start", m && "sm:w-fit"),
25
+ children: d.map((e) => /* @__PURE__ */ l(r, {
26
26
  value: e.value,
27
27
  className: "gap-2",
28
28
  disabled: e.disabled,
@@ -45,12 +45,11 @@ function d({ tabs: d, itemId: f, item: p, fit: m, paramName: h = "tab" }) {
45
45
  }) : null
46
46
  ]
47
47
  }, e.value))
48
- }), d.map((e) => /* @__PURE__ */ c(r, {
48
+ }), d.map((e) => /* @__PURE__ */ c(t, {
49
49
  value: e.value,
50
50
  className: "mt-4",
51
51
  children: e.component ? e.component(f) : null
52
52
  }, e.value))]
53
53
  });
54
54
  }
55
- //#endregion
56
55
  export { d as AppTabs };
@@ -1,12 +1,12 @@
1
- import { useKrosoftTranslation as e } from "../../../i18n/useKrosoftTranslation.js";
2
- import { ScrollArea as t } from "../../ui/scroll-area.js";
3
- import { Select as n, SelectContent as r, SelectItem as i, SelectTrigger as a, SelectValue as o } from "../../ui/select.js";
1
+ import { ScrollArea as e } from "../../ui/scroll-area.js";
2
+ import { Select as t, SelectContent as n, SelectItem as r, SelectTrigger as i, SelectValue as a } from "../../ui/select.js";
3
+ import { useKrosoftTranslation as o } from "../../../i18n/useKrosoftTranslation.js";
4
4
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
5
5
  import { ConstructionIcon as l } from "lucide-react";
6
6
  import { useSearchParams as u } from "react-router-dom";
7
- //#region src/components/core/tabs/AppVerticalTabs.tsx
7
+ // src/components/core/tabs/AppVerticalTabs.tsx
8
8
  var d = ({ tabs: d, item: f }) => {
9
- let { t: p } = e(), [m, h] = u(), g = m.get("tab"), _ = d.find((e) => e.value === g)?.value ?? d[0]?.value, v = (e) => {
9
+ let { t: p } = o(), [m, h] = u(), g = m.get("tab"), _ = d.find((e) => e.value === g)?.value ?? d[0]?.value, v = (e) => {
10
10
  let t = new URLSearchParams();
11
11
  t.set("tab", e), h(t);
12
12
  }, y = () => {
@@ -37,7 +37,7 @@ var d = ({ tabs: d, item: f }) => {
37
37
  children: [
38
38
  /* @__PURE__ */ s("div", {
39
39
  className: "w-64 lg:w-80 flex-shrink-0 hidden md:block border-r border-gray-200 dark:border-gray-700 pr-4",
40
- children: /* @__PURE__ */ s(t, {
40
+ children: /* @__PURE__ */ s(e, {
41
41
  className: "h-full",
42
42
  children: /* @__PURE__ */ s("div", {
43
43
  className: "space-y-1",
@@ -66,13 +66,13 @@ var d = ({ tabs: d, item: f }) => {
66
66
  }),
67
67
  /* @__PURE__ */ s("div", {
68
68
  className: "md:hidden w-full border-b pb-4 mb-4",
69
- children: /* @__PURE__ */ c(n, {
69
+ children: /* @__PURE__ */ c(t, {
70
70
  value: _,
71
71
  onValueChange: v,
72
- children: [/* @__PURE__ */ s(a, {
72
+ children: [/* @__PURE__ */ s(i, {
73
73
  className: "w-full",
74
- children: /* @__PURE__ */ s(o, { placeholder: p("select.section") })
75
- }), /* @__PURE__ */ s(r, { children: d.map((e, t) => /* @__PURE__ */ s(i, {
74
+ children: /* @__PURE__ */ s(a, { placeholder: p("select.section") })
75
+ }), /* @__PURE__ */ s(n, { children: d.map((e, t) => /* @__PURE__ */ s(r, {
76
76
  value: e.value,
77
77
  disabled: e.disabled,
78
78
  children: /* @__PURE__ */ c("div", {
@@ -101,5 +101,4 @@ var d = ({ tabs: d, item: f }) => {
101
101
  ]
102
102
  });
103
103
  };
104
- //#endregion
105
104
  export { d as AppVerticalTabs };
@@ -1,5 +1,5 @@
1
- import { AppTabHeader as e } from "./AppTabHeader.js";
2
- import { AppTabContainer as t } from "./AppTabContainer.js";
1
+ import { AppTabContainer as e } from "./AppTabContainer.js";
2
+ import { AppTabHeader as t } from "./AppTabHeader.js";
3
3
  import { AppTabs as n } from "./AppTabs.js";
4
4
  import { AppVerticalTabs as r } from "./AppVerticalTabs.js";
5
- export { t as AppTabContainer, e as AppTabHeader, n as AppTabs, r as AppVerticalTabs };
5
+ export { e as AppTabContainer, t as AppTabHeader, n as AppTabs, r as AppVerticalTabs };
@@ -5,7 +5,7 @@ import { Tooltip as s, TooltipContent as c, TooltipProvider as l, TooltipTrigger
5
5
  import { useTheme as d } from "../../../hooks/ui/useTheme.js";
6
6
  import "react";
7
7
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
8
- //#region src/components/core/theme/ThemeSelector.tsx
8
+ // src/components/core/theme/ThemeSelector.tsx
9
9
  function m({ themeOptions: m, variant: h = "select", id: g, className: _ }) {
10
10
  let { t: v } = e(), { theme: y, handleThemeChange: b, currentThemeOption: x, nextThemeOption: S, cycleTheme: C } = d(m);
11
11
  if (h === "mini") {
@@ -54,5 +54,4 @@ function m({ themeOptions: m, variant: h = "select", id: g, className: _ }) {
54
54
  })]
55
55
  });
56
56
  }
57
- //#endregion
58
57
  export { m as ThemeSelector };
@@ -3,7 +3,7 @@ import * as t from "react";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  import * as i from "@radix-ui/react-accordion";
5
5
  import { ChevronDown as a } from "lucide-react";
6
- //#region src/components/ui/accordion.tsx
6
+ // src/components/ui/accordion.tsx
7
7
  var o = i.Root, s = t.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ n(i.Item, {
8
8
  ref: a,
9
9
  className: e("border-b", t),
@@ -30,5 +30,4 @@ var l = t.forwardRef(({ className: t, children: r, ...a }, o) => /* @__PURE__ */
30
30
  })
31
31
  }));
32
32
  l.displayName = i.Content.displayName;
33
- //#endregion
34
33
  export { o as Accordion, l as AccordionContent, s as AccordionItem, c as AccordionTrigger };
@@ -3,7 +3,7 @@ import { buttonVariants as t } from "./button.js";
3
3
  import * as n from "react";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  import * as a from "@radix-ui/react-alert-dialog";
6
- //#region src/components/ui/alert-dialog.tsx
6
+ // src/components/ui/alert-dialog.tsx
7
7
  var o = a.Root, s = a.Trigger, c = a.Portal, l = n.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r(a.Overlay, {
8
8
  className: e("fixed inset-0 z-[70] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", t),
9
9
  ...n,
@@ -50,5 +50,4 @@ var g = n.forwardRef(({ className: n, ...i }, o) => /* @__PURE__ */ r(a.Cancel,
50
50
  ...i
51
51
  }));
52
52
  g.displayName = a.Cancel.displayName;
53
- //#endregion
54
53
  export { o as AlertDialog, h as AlertDialogAction, g as AlertDialogCancel, u as AlertDialogContent, m as AlertDialogDescription, f as AlertDialogFooter, d as AlertDialogHeader, l as AlertDialogOverlay, c as AlertDialogPortal, p as AlertDialogTitle, s as AlertDialogTrigger };
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
2
2
  import * as t from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import { cva as r } from "class-variance-authority";
5
- //#region src/components/ui/alert.tsx
5
+ // src/components/ui/alert.tsx
6
6
  var i = r("relative w-full rounded-surface border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground", {
7
7
  variants: { variant: {
8
8
  default: "bg-background text-foreground",
@@ -28,5 +28,4 @@ var s = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
28
28
  ...r
29
29
  }));
30
30
  s.displayName = "AlertDescription";
31
- //#endregion
32
31
  export { a as Alert, s as AlertDescription, o as AlertTitle };
@@ -1,5 +1,4 @@
1
1
  import * as e from "@radix-ui/react-aspect-ratio";
2
- //#region src/components/ui/aspect-ratio.tsx
2
+ // src/components/ui/aspect-ratio.tsx
3
3
  var t = e.Root;
4
- //#endregion
5
4
  export { t as AspectRatio };
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
2
2
  import * as t from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import * as r from "@radix-ui/react-avatar";
5
- //#region src/components/ui/avatar.tsx
5
+ // src/components/ui/avatar.tsx
6
6
  var i = t.forwardRef(({ className: t, ...i }, a) => /* @__PURE__ */ n(r.Root, {
7
7
  ref: a,
8
8
  className: e("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", t),
@@ -21,5 +21,4 @@ var o = t.forwardRef(({ className: t, ...i }, a) => /* @__PURE__ */ n(r.Fallback
21
21
  ...i
22
22
  }));
23
23
  o.displayName = r.Fallback.displayName;
24
- //#endregion
25
24
  export { i as Avatar, o as AvatarFallback, a as AvatarImage };
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
2
2
  import "react";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
4
  import { cva as n } from "class-variance-authority";
5
- //#region src/components/ui/badge.tsx
5
+ // src/components/ui/badge.tsx
6
6
  var r = n("inline-flex items-center rounded-control border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", {
7
7
  variants: { variant: {
8
8
  default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
@@ -18,5 +18,4 @@ function i({ className: n, variant: i, ...a }) {
18
18
  ...a
19
19
  });
20
20
  }
21
- //#endregion
22
21
  export { i as Badge, r as badgeVariants };
@@ -3,7 +3,7 @@ import * as t from "react";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  import { ChevronRight as i, MoreHorizontal as a } from "lucide-react";
5
5
  import { Slot as o } from "@radix-ui/react-slot";
6
- //#region src/components/ui/breadcrumb.tsx
6
+ // src/components/ui/breadcrumb.tsx
7
7
  var s = t.forwardRef(({ ...e }, t) => /* @__PURE__ */ n("nav", {
8
8
  ref: t,
9
9
  "aria-label": "breadcrumb",
@@ -56,5 +56,4 @@ var p = ({ className: t, ...i }) => /* @__PURE__ */ r("span", {
56
56
  })]
57
57
  });
58
58
  p.displayName = "BreadcrumbElipssis";
59
- //#endregion
60
59
  export { s as Breadcrumb, p as BreadcrumbEllipsis, l as BreadcrumbItem, u as BreadcrumbLink, c as BreadcrumbList, d as BreadcrumbPage, f as BreadcrumbSeparator };
@@ -3,7 +3,7 @@ import * as t from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import { cva as r } from "class-variance-authority";
5
5
  import { Slot as i } from "@radix-ui/react-slot";
6
- //#region src/components/ui/button.tsx
6
+ // src/components/ui/button.tsx
7
7
  var a = r("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-control text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", {
8
8
  variants: {
9
9
  variant: {
@@ -36,5 +36,4 @@ var a = r("inline-flex items-center justify-center gap-2 whitespace-nowrap round
36
36
  ...c
37
37
  }));
38
38
  o.displayName = "Button";
39
- //#endregion
40
39
  export { o as Button, a as buttonVariants };
@@ -1,27 +1,27 @@
1
- import { cn as e } from "../../helpers/tailwind.helper.js";
2
- import { buttonVariants as t } from "./button.js";
1
+ import { buttonVariants as e } from "./button.js";
2
+ import { cn as t } from "../../helpers/tailwind.helper.js";
3
3
  import "react";
4
4
  import { jsx as n } from "react/jsx-runtime";
5
5
  import { ChevronLeft as r, ChevronRight as i } from "lucide-react";
6
6
  import { DayPicker as a } from "react-day-picker";
7
- //#region src/components/ui/calendar.tsx
7
+ // src/components/ui/calendar.tsx
8
8
  function o({ className: o, classNames: s, showOutsideDays: c = !0, ...l }) {
9
9
  return /* @__PURE__ */ n(a, {
10
10
  showOutsideDays: c,
11
- className: e("p-3 pointer-events-auto", o),
11
+ className: t("p-3 pointer-events-auto", o),
12
12
  classNames: {
13
13
  months: "flex flex-col gap-2 relative sm:flex-row",
14
14
  month: "flex flex-col gap-4",
15
15
  month_caption: "flex justify-center pt-1 relative items-center w-full",
16
16
  caption_label: "text-sm font-medium",
17
17
  nav: "flex items-center gap-1 absolute h-7 w-full z-10",
18
- button_previous: e(t({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100", "absolute left-1"),
19
- button_next: e(t({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100", "absolute right-1"),
18
+ button_previous: t(e({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100", "absolute left-1"),
19
+ button_next: t(e({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100", "absolute right-1"),
20
20
  weekdays: "flex justify-center",
21
21
  weekday: "text-muted-foreground rounded-control w-9 font-normal text-[0.8rem] text-center flex items-center justify-center",
22
22
  week: "flex w-full mt-2",
23
- day: e("group relative size-9 p-0 text-center text-sm focus-within:relative focus-within:z-20", "[&:has([aria-selected].day-range-end)]:rounded-r-control", "[&:has([aria-selected])]:bg-accent", "first:[&:has([aria-selected])]:rounded-l-control", "last:[&:has([aria-selected])]:rounded-r-control", "[&:has([aria-selected].day-outside)]:bg-accent/50"),
24
- day_button: e(t({ variant: "ghost" }), "size-9 p-0 font-normal aria-selected:opacity-100"),
23
+ day: t("group relative size-9 p-0 text-center text-sm focus-within:relative focus-within:z-20", "[&:has([aria-selected].day-range-end)]:rounded-r-control", "[&:has([aria-selected])]:bg-accent", "first:[&:has([aria-selected])]:rounded-l-control", "last:[&:has([aria-selected])]:rounded-r-control", "[&:has([aria-selected].day-outside)]:bg-accent/50"),
24
+ day_button: t(e({ variant: "ghost" }), "size-9 p-0 font-normal aria-selected:opacity-100"),
25
25
  range_start: "day-range-start rounded-l-control",
26
26
  range_end: "day-range-end rounded-r-control",
27
27
  selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
@@ -40,5 +40,4 @@ function o({ className: o, classNames: s, showOutsideDays: c = !0, ...l }) {
40
40
  });
41
41
  }
42
42
  o.displayName = "Calendar";
43
- //#endregion
44
43
  export { o as Calendar };
@@ -1,7 +1,7 @@
1
1
  import { cn as e } from "../../helpers/tailwind.helper.js";
2
2
  import * as t from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
- //#region src/components/ui/card.tsx
4
+ // src/components/ui/card.tsx
5
5
  var r = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
6
6
  ref: i,
7
7
  className: e("rounded-surface border bg-card text-card-foreground shadow-sm", t),
@@ -38,5 +38,4 @@ var c = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
38
38
  ...r
39
39
  }));
40
40
  c.displayName = "CardFooter";
41
- //#endregion
42
41
  export { r as Card, s as CardContent, o as CardDescription, c as CardFooter, i as CardHeader, a as CardTitle };
@@ -4,7 +4,7 @@ import * as n from "react";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  import { ArrowLeft as a, ArrowRight as o } from "lucide-react";
6
6
  import s from "embla-carousel-react";
7
- //#region src/components/ui/carousel.tsx
7
+ // src/components/ui/carousel.tsx
8
8
  var c = n.createContext(null);
9
9
  function l() {
10
10
  let e = n.useContext(c);
@@ -111,5 +111,4 @@ var m = n.forwardRef(({ className: n, variant: a = "outline", size: s = "icon",
111
111
  });
112
112
  });
113
113
  m.displayName = "CarouselNext";
114
- //#endregion
115
114
  export { u as Carousel, d as CarouselContent, f as CarouselItem, m as CarouselNext, p as CarouselPrevious };
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
2
2
  import * as t from "react";
3
3
  import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
4
4
  import * as a from "recharts";
5
- //#region src/components/ui/chart.tsx
5
+ // src/components/ui/chart.tsx
6
6
  var o = {
7
7
  light: "",
8
8
  dark: ".dark"
@@ -123,5 +123,4 @@ function h(e, t, n) {
123
123
  let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
124
124
  return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
125
125
  }
126
- //#endregion
127
126
  export { l as ChartContainer, p as ChartLegend, m as ChartLegendContent, u as ChartStyle, d as ChartTooltip, f as ChartTooltipContent };
@@ -3,7 +3,7 @@ import * as t from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import { CheckIcon as r } from "lucide-react";
5
5
  import * as i from "@radix-ui/react-checkbox";
6
- //#region src/components/ui/checkbox.tsx
6
+ // src/components/ui/checkbox.tsx
7
7
  var a = t.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(i.Root, {
8
8
  ref: o,
9
9
  className: e("peer size-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground", t),
@@ -27,5 +27,4 @@ var a = t.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(i.Root, {
27
27
  })
28
28
  }));
29
29
  a.displayName = i.Root.displayName;
30
- //#endregion
31
30
  export { a as Checkbox };
@@ -1,5 +1,4 @@
1
1
  import * as e from "@radix-ui/react-collapsible";
2
- //#region src/components/ui/collapsible.tsx
2
+ // src/components/ui/collapsible.tsx
3
3
  var t = e.Root, n = e.CollapsibleTrigger, r = e.CollapsibleContent;
4
- //#endregion
5
4
  export { t as Collapsible, r as CollapsibleContent, n as CollapsibleTrigger };