hazo_auth 10.27.0 → 10.32.0

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 (167) hide show
  1. package/cli-src/lib/auth/auth_cache.ts +11 -1
  2. package/cli-src/lib/auth/hazo_get_auth.server.ts +65 -8
  3. package/cli-src/lib/auth/hazo_get_tenant_auth.server.ts +9 -45
  4. package/cli-src/lib/auth/scope_header.ts +58 -0
  5. package/cli-src/lib/auth_hooks.ts +19 -5
  6. package/cli-src/lib/email_verification_config.server.ts +3 -0
  7. package/cli-src/lib/forgot_password_config.server.ts +3 -0
  8. package/cli-src/lib/register_config.server.ts +3 -0
  9. package/cli-src/lib/reset_password_config.server.ts +3 -0
  10. package/cli-src/lib/schema/sqlite_schema.ts +150 -38
  11. package/cli-src/lib/services/index.ts +1 -0
  12. package/cli-src/lib/services/scope_membership_service.ts +68 -0
  13. package/cli-src/lib/services/scope_service.ts +21 -0
  14. package/cli-src/lib/services/user_scope_service.ts +4 -32
  15. package/dist/admin-issues/plugin.server.js +1 -1
  16. package/dist/components/layouts/email_verification/index.d.ts +3 -1
  17. package/dist/components/layouts/email_verification/index.d.ts.map +1 -1
  18. package/dist/components/layouts/email_verification/index.js +4 -4
  19. package/dist/components/layouts/forgot_password/index.d.ts +3 -1
  20. package/dist/components/layouts/forgot_password/index.d.ts.map +1 -1
  21. package/dist/components/layouts/forgot_password/index.js +2 -2
  22. package/dist/components/layouts/my_settings/hooks/use_my_settings.d.ts +8 -0
  23. package/dist/components/layouts/my_settings/hooks/use_my_settings.d.ts.map +1 -1
  24. package/dist/components/layouts/my_settings/hooks/use_my_settings.js +37 -0
  25. package/dist/components/layouts/my_settings/index.d.ts +6 -1
  26. package/dist/components/layouts/my_settings/index.d.ts.map +1 -1
  27. package/dist/components/layouts/my_settings/index.js +3 -3
  28. package/dist/components/layouts/register/hooks/use_register_form.d.ts +20 -1
  29. package/dist/components/layouts/register/hooks/use_register_form.d.ts.map +1 -1
  30. package/dist/components/layouts/register/hooks/use_register_form.js +70 -4
  31. package/dist/components/layouts/register/index.d.ts +13 -1
  32. package/dist/components/layouts/register/index.d.ts.map +1 -1
  33. package/dist/components/layouts/register/index.js +26 -4
  34. package/dist/components/layouts/reset_password/index.d.ts +3 -1
  35. package/dist/components/layouts/reset_password/index.d.ts.map +1 -1
  36. package/dist/components/layouts/reset_password/index.js +5 -5
  37. package/dist/components/layouts/shared/hooks/use_auth_status.d.ts +3 -0
  38. package/dist/components/layouts/shared/hooks/use_auth_status.d.ts.map +1 -1
  39. package/dist/components/layouts/shared/hooks/use_auth_status.js +5 -2
  40. package/dist/components/layouts/user_management/components/user_signup_stats_cards.d.ts +1 -8
  41. package/dist/components/layouts/user_management/components/user_signup_stats_cards.d.ts.map +1 -1
  42. package/dist/components/layouts/user_management/components/user_signup_stats_cards.js +8 -90
  43. package/dist/components/ui/alert-dialog.d.ts +9 -9
  44. package/dist/components/ui/alert-dialog.d.ts.map +1 -1
  45. package/dist/components/ui/avatar.d.ts +4 -3
  46. package/dist/components/ui/avatar.d.ts.map +1 -1
  47. package/dist/components/ui/button.d.ts +1 -1
  48. package/dist/components/ui/checkbox.d.ts +2 -1
  49. package/dist/components/ui/checkbox.d.ts.map +1 -1
  50. package/dist/components/ui/dialog.d.ts +8 -8
  51. package/dist/components/ui/dialog.d.ts.map +1 -1
  52. package/dist/components/ui/dropdown-menu.d.ts +17 -17
  53. package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
  54. package/dist/components/ui/hover-card.d.ts +3 -3
  55. package/dist/components/ui/hover-card.d.ts.map +1 -1
  56. package/dist/components/ui/input-otp.d.ts +27 -1
  57. package/dist/components/ui/input-otp.d.ts.map +1 -1
  58. package/dist/components/ui/label.d.ts +2 -1
  59. package/dist/components/ui/label.d.ts.map +1 -1
  60. package/dist/components/ui/select.d.ts +10 -10
  61. package/dist/components/ui/select.d.ts.map +1 -1
  62. package/dist/components/ui/separator.d.ts +2 -1
  63. package/dist/components/ui/separator.d.ts.map +1 -1
  64. package/dist/components/ui/sheet.d.ts +9 -9
  65. package/dist/components/ui/sheet.d.ts.map +1 -1
  66. package/dist/components/ui/sidebar.d.ts +1 -1
  67. package/dist/components/ui/sidebar.d.ts.map +1 -1
  68. package/dist/components/ui/switch.d.ts +2 -1
  69. package/dist/components/ui/switch.d.ts.map +1 -1
  70. package/dist/components/ui/tabs.d.ts +4 -4
  71. package/dist/components/ui/tabs.d.ts.map +1 -1
  72. package/dist/components/ui/tooltip.d.ts +4 -4
  73. package/dist/components/ui/tooltip.d.ts.map +1 -1
  74. package/dist/components/ui/tree-view.d.ts +2 -1
  75. package/dist/components/ui/tree-view.d.ts.map +1 -1
  76. package/dist/components/ui/vertical-tabs.d.ts +4 -4
  77. package/dist/components/ui/vertical-tabs.d.ts.map +1 -1
  78. package/dist/lib/auth/auth_cache.d.ts +6 -2
  79. package/dist/lib/auth/auth_cache.d.ts.map +1 -1
  80. package/dist/lib/auth/auth_cache.js +6 -2
  81. package/dist/lib/auth/auth_types.d.ts +4 -0
  82. package/dist/lib/auth/auth_types.d.ts.map +1 -1
  83. package/dist/lib/auth/hazo_get_auth.server.d.ts.map +1 -1
  84. package/dist/lib/auth/hazo_get_auth.server.js +64 -8
  85. package/dist/lib/auth/hazo_get_tenant_auth.server.d.ts +2 -18
  86. package/dist/lib/auth/hazo_get_tenant_auth.server.d.ts.map +1 -1
  87. package/dist/lib/auth/hazo_get_tenant_auth.server.js +5 -38
  88. package/dist/lib/auth/scope_header.d.ts +28 -0
  89. package/dist/lib/auth/scope_header.d.ts.map +1 -0
  90. package/dist/lib/auth/scope_header.js +34 -0
  91. package/dist/lib/auth_hooks.d.ts.map +1 -1
  92. package/dist/lib/auth_hooks.js +19 -5
  93. package/dist/lib/email_verification_config.server.d.ts +2 -0
  94. package/dist/lib/email_verification_config.server.d.ts.map +1 -1
  95. package/dist/lib/email_verification_config.server.js +1 -0
  96. package/dist/lib/forgot_password_config.server.d.ts +2 -0
  97. package/dist/lib/forgot_password_config.server.d.ts.map +1 -1
  98. package/dist/lib/forgot_password_config.server.js +1 -0
  99. package/dist/lib/my_settings_config.server.d.ts +4 -0
  100. package/dist/lib/my_settings_config.server.d.ts.map +1 -1
  101. package/dist/lib/my_settings_config.server.js +3 -0
  102. package/dist/lib/register_config.server.d.ts +12 -0
  103. package/dist/lib/register_config.server.d.ts.map +1 -1
  104. package/dist/lib/register_config.server.js +8 -0
  105. package/dist/lib/reset_password_config.server.d.ts +2 -0
  106. package/dist/lib/reset_password_config.server.d.ts.map +1 -1
  107. package/dist/lib/reset_password_config.server.js +1 -0
  108. package/dist/lib/schema/sqlite_schema.d.ts +1 -1
  109. package/dist/lib/schema/sqlite_schema.d.ts.map +1 -1
  110. package/dist/lib/schema/sqlite_schema.js +150 -38
  111. package/dist/lib/services/index.d.ts +1 -0
  112. package/dist/lib/services/index.d.ts.map +1 -1
  113. package/dist/lib/services/index.js +1 -0
  114. package/dist/lib/services/registration_service.js +30 -5
  115. package/dist/lib/services/scope_membership_service.d.ts +20 -0
  116. package/dist/lib/services/scope_membership_service.d.ts.map +1 -0
  117. package/dist/lib/services/scope_membership_service.js +49 -0
  118. package/dist/lib/services/scope_service.d.ts +6 -0
  119. package/dist/lib/services/scope_service.d.ts.map +1 -1
  120. package/dist/lib/services/scope_service.js +12 -0
  121. package/dist/lib/services/user_scope_service.d.ts.map +1 -1
  122. package/dist/lib/services/user_scope_service.js +4 -30
  123. package/dist/lib/services/user_update_service.d.ts +5 -0
  124. package/dist/lib/services/user_update_service.d.ts.map +1 -1
  125. package/dist/lib/services/user_update_service.js +2 -0
  126. package/dist/locales/en.json +10 -0
  127. package/dist/page_components/my_settings.d.ts +9 -1
  128. package/dist/page_components/my_settings.d.ts.map +1 -1
  129. package/dist/page_components/my_settings.js +8 -2
  130. package/dist/server/routes/detect_proxy_origin.d.ts +6 -0
  131. package/dist/server/routes/detect_proxy_origin.d.ts.map +1 -0
  132. package/dist/server/routes/detect_proxy_origin.js +49 -0
  133. package/dist/server/routes/me.d.ts.map +1 -1
  134. package/dist/server/routes/me.js +5 -1
  135. package/dist/server/routes/nextauth.d.ts.map +1 -1
  136. package/dist/server/routes/nextauth.js +1 -44
  137. package/dist/server/routes/register.js +53 -2
  138. package/dist/server/routes/update_user.d.ts.map +1 -1
  139. package/dist/server/routes/update_user.js +24 -1
  140. package/dist/server/routes/user_management_users.d.ts +1 -1
  141. package/dist/server_pages/forgot_password.d.ts.map +1 -1
  142. package/dist/server_pages/forgot_password.js +1 -1
  143. package/dist/server_pages/forgot_password_client_wrapper.d.ts +1 -1
  144. package/dist/server_pages/forgot_password_client_wrapper.d.ts.map +1 -1
  145. package/dist/server_pages/forgot_password_client_wrapper.js +2 -2
  146. package/dist/server_pages/my_settings.d.ts.map +1 -1
  147. package/dist/server_pages/my_settings.js +1 -1
  148. package/dist/server_pages/register.d.ts +19 -1
  149. package/dist/server_pages/register.d.ts.map +1 -1
  150. package/dist/server_pages/register.js +4 -4
  151. package/dist/server_pages/register_client_wrapper.d.ts +6 -2
  152. package/dist/server_pages/register_client_wrapper.d.ts.map +1 -1
  153. package/dist/server_pages/register_client_wrapper.js +2 -2
  154. package/dist/server_pages/reset_password.d.ts.map +1 -1
  155. package/dist/server_pages/reset_password.js +1 -1
  156. package/dist/server_pages/reset_password_client_wrapper.d.ts +1 -1
  157. package/dist/server_pages/reset_password_client_wrapper.d.ts.map +1 -1
  158. package/dist/server_pages/reset_password_client_wrapper.js +2 -2
  159. package/dist/server_pages/verify_email.d.ts.map +1 -1
  160. package/dist/server_pages/verify_email.js +1 -1
  161. package/dist/server_pages/verify_email_client_wrapper.d.ts +1 -1
  162. package/dist/server_pages/verify_email_client_wrapper.d.ts.map +1 -1
  163. package/dist/server_pages/verify_email_client_wrapper.js +2 -2
  164. package/dist/settings/index.d.ts +5 -0
  165. package/dist/settings/index.d.ts.map +1 -0
  166. package/dist/settings/index.js +161 -0
  167. package/package.json +15 -10
@@ -23,7 +23,7 @@ export function use_auth_status() {
23
23
  loading: true,
24
24
  });
25
25
  const checkAuth = useCallback(async () => {
26
- var _a, _b;
26
+ var _a, _b, _c, _d, _e;
27
27
  setAuthStatus((prev) => (Object.assign(Object.assign({}, prev), { loading: true })));
28
28
  try {
29
29
  const response = await fetch(`${apiBasePath}/me`, {
@@ -46,8 +46,11 @@ export function use_auth_status() {
46
46
  image: data.image,
47
47
  profile_source: data.profile_source,
48
48
  preferred_locale: (_a = data.preferred_locale) !== null && _a !== void 0 ? _a : null,
49
+ country: (_b = data.country) !== null && _b !== void 0 ? _b : null,
50
+ state_province: (_c = data.state_province) !== null && _c !== void 0 ? _c : null,
51
+ suburb: (_d = data.suburb) !== null && _d !== void 0 ? _d : null,
49
52
  permissions: data.permissions || [],
50
- permission_ok: (_b = data.permission_ok) !== null && _b !== void 0 ? _b : true,
53
+ permission_ok: (_e = data.permission_ok) !== null && _e !== void 0 ? _e : true,
51
54
  missing_permissions: data.missing_permissions,
52
55
  // OAuth-related fields
53
56
  auth_providers: data.auth_providers,
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  export interface UserSignupStatsCardsProps {
3
2
  users: ReadonlyArray<{
4
3
  created_at?: string | null;
@@ -7,11 +6,5 @@ export interface UserSignupStatsCardsProps {
7
6
  now?: Date;
8
7
  className?: string;
9
8
  }
10
- /**
11
- * Total + rolling-window signup cards (All time, 7d, 30d, 3mo, 6mo, YTD) each
12
- * with % change vs the prior equal period, plus a larger interactive YTD
13
- * monthly bar chart with axes, gridlines, and hover tooltips.
14
- * Computes everything client-side from the already-loaded users list.
15
- */
16
- export declare function UserSignupStatsCards({ users, now, className }: UserSignupStatsCardsProps): React.JSX.Element;
9
+ export declare function UserSignupStatsCards({ users, now, className }: UserSignupStatsCardsProps): import("react").JSX.Element;
17
10
  //# sourceMappingURL=user_signup_stats_cards.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user_signup_stats_cards.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/user_management/components/user_signup_stats_cards.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAQjD,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,aAAa,CAAC;QAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;IACrD,8DAA8D;IAC9D,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkOD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,yBAAyB,qBAaxF"}
1
+ {"version":3,"file":"user_signup_stats_cards.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/user_management/components/user_signup_stats_cards.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,aAAa,CAAC;QAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;IACrD,8DAA8D;IAC9D,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,yBAAyB,+BAexF"}
@@ -1,94 +1,12 @@
1
- // file_description: Mini stat cards (total + rolling windows with % change vs the
2
- // prior equal period) in a 12-col grid, plus a larger interactive YTD monthly
3
- // signups bar chart (axes, gridlines, hover tooltip) for the top of the Manage
4
- // Users tab. Pure/dependency-free (inline SVG chart, no chart library).
1
+ // file_description: User signup trend summary for the Manage Users tab.
2
+ // Wraps hazo_ui's TrendSummary with user-specific stat computation.
5
3
  "use client";
6
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
- import { useMemo, useState } from "react";
8
- import { computeUserSignupStats, } from "../../../../lib/user_signup_stats.js";
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ import { useMemo } from "react";
6
+ import { computeTrendStats, TrendSummary } from "hazo_ui";
9
7
  import { useAuthT } from "../../../../contexts/hazo_auth_provider.js";
10
- function DeltaBadge({ pct }) {
11
- const t = useAuthT();
12
- if (pct === null) {
13
- return _jsx("span", { className: "text-xs text-muted-foreground", children: "\u2014" });
14
- }
15
- const up = pct >= 0;
16
- const cls = up ? "text-emerald-600" : "text-red-600";
17
- const arrow = up ? "▲" : "▼";
18
- return (_jsxs("span", { className: `text-xs font-medium ${cls}`, title: t("user_management.signup_stats.vs_previous"), children: [arrow, " ", up ? "+" : "", pct, "%"] }));
19
- }
20
- const STAT_CARD_HEIGHT_PX = 168;
21
- function StatCard({ w }) {
22
- const t = useAuthT();
23
- return (_jsxs("div", { className: "cls_user_signup_stat_card flex min-w-0 flex-col justify-between rounded-lg border bg-card p-4", style: { height: STAT_CARD_HEIGHT_PX }, children: [_jsx("div", { className: "truncate text-xs text-muted-foreground", children: w.label }), _jsxs("div", { className: "flex items-baseline justify-between gap-1", children: [_jsx("span", { className: "text-3xl font-bold tabular-nums", children: w.count.toLocaleString() }), w.key !== "all" && _jsx(DeltaBadge, { pct: w.pctChange })] }), w.key !== "all" && w.prevCount !== null && (_jsx("div", { className: "truncate text-xs text-muted-foreground", children: t("user_management.signup_stats.prev_count", { count: w.prevCount.toLocaleString() }) })), w.key === "all" && (_jsx("div", { className: "truncate text-xs text-muted-foreground", children: t("user_management.signup_stats.total_users") }))] }));
24
- }
25
- /** Round a value up to a "nice" axis maximum (1/2/5 * 10^n steps). */
26
- function niceMax(n) {
27
- if (n <= 0)
28
- return 1;
29
- const exp = Math.floor(Math.log10(n));
30
- const base = Math.pow(10, exp);
31
- const frac = n / base;
32
- let niceFrac;
33
- if (frac <= 1)
34
- niceFrac = 1;
35
- else if (frac <= 2)
36
- niceFrac = 2;
37
- else if (frac <= 5)
38
- niceFrac = 5;
39
- else
40
- niceFrac = 10;
41
- return niceFrac * base;
42
- }
43
- function YtdMiniChart({ data }) {
44
- const t = useAuthT();
45
- const [hoverIndex, setHoverIndex] = useState(null);
46
- const total = data.reduce((n, d) => n + d.count, 0);
47
- const rawMax = Math.max(1, ...data.map((d) => d.count));
48
- const max = niceMax(rawMax);
49
- const mid = Math.round(max / 2);
50
- // Chart geometry. H mirrors the plot area left after the header row + padding
51
- // are subtracted from STAT_CARD_HEIGHT_PX, so the rendered SVG (stretched via
52
- // preserveAspectRatio="none") stays close to a 1 viewBox-unit : 1px scale.
53
- const W = 480;
54
- const H = 120;
55
- const marginLeft = 34;
56
- const marginRight = 8;
57
- const marginTop = 16;
58
- const marginBottom = 20;
59
- const plotW = W - marginLeft - marginRight;
60
- const plotH = H - marginTop - marginBottom;
61
- const gap = 6;
62
- const n = Math.max(1, data.length);
63
- const colW = plotW / n;
64
- const bw = Math.max(1, colW - gap);
65
- const yFor = (value) => marginTop + plotH - (value / max) * plotH;
66
- const hovered = hoverIndex !== null ? data[hoverIndex] : null;
67
- return (_jsxs("div", { className: "cls_user_signup_ytd_chart col-span-6 flex min-w-0 flex-col rounded-lg border bg-card p-3", style: { height: STAT_CARD_HEIGHT_PX }, children: [_jsxs("div", { className: "flex shrink-0 items-baseline justify-between", children: [_jsx("div", { className: "truncate text-[11px] text-muted-foreground", children: t("user_management.signup_stats.ytd_title") }), _jsx("div", { className: "text-sm font-semibold tabular-nums", children: total.toLocaleString() })] }), _jsxs("div", { className: "relative mt-2 min-h-0 flex-1", children: [_jsxs("svg", { role: "img", "aria-label": t("user_management.signup_stats.ytd_aria", {
68
- list: data.map((d) => `${d.label} ${d.count}`).join(", "),
69
- }), viewBox: `0 0 ${W} ${H}`, preserveAspectRatio: "none", className: "h-full w-full", children: [[0, mid, max].map((tick) => {
70
- const y = yFor(tick);
71
- return (_jsxs("g", { children: [_jsx("line", { x1: marginLeft, x2: W - marginRight, y1: y, y2: y, stroke: "currentColor", strokeOpacity: 0.1 }), _jsx("text", { x: marginLeft - 6, y: y, dy: 3, textAnchor: "end", fontSize: 9, className: "fill-muted-foreground", children: tick.toLocaleString() })] }, tick));
72
- }), _jsx("line", { x1: marginLeft, x2: W - marginRight, y1: marginTop + plotH, y2: marginTop + plotH, stroke: "currentColor", strokeOpacity: 0.2 }), data.map((d, i) => {
73
- const barH = Math.round((d.count / max) * plotH);
74
- const colX = marginLeft + i * colW;
75
- const barX = colX + (colW - bw) / 2;
76
- const barY = marginTop + plotH - barH;
77
- const centerX = colX + colW / 2;
78
- const isDimmed = hoverIndex !== null && hoverIndex !== i;
79
- return (_jsxs("g", { onMouseEnter: () => setHoverIndex(i), onMouseLeave: () => setHoverIndex(null), children: [_jsx("rect", { x: colX, y: marginTop, width: colW, height: plotH, fill: "transparent" }), _jsx("rect", { x: barX, y: barY, width: bw, height: Math.max(0, barH), rx: 2, className: "fill-primary", fillOpacity: isDimmed ? 0.45 : 1, children: _jsx("title", { children: `${d.label}: ${d.count} ${t("user_management.signup_stats.tooltip_suffix")}` }) }), _jsx("text", { x: centerX, y: barY - 4, textAnchor: "middle", fontSize: 10, fontWeight: 600, className: "fill-foreground", children: d.count }), _jsx("text", { x: centerX, y: marginTop + plotH + 14, textAnchor: "middle", fontSize: 9, className: "fill-muted-foreground", children: d.label })] }, d.label));
80
- })] }), hovered && hoverIndex !== null && (_jsxs("div", { className: "pointer-events-none absolute z-10 -translate-x-1/2 -translate-y-full rounded-md border bg-popover px-2 py-1 text-[10px] font-medium text-popover-foreground shadow-sm", style: {
81
- left: `${Math.min(92, Math.max(8, ((marginLeft + hoverIndex * (plotW / n) + plotW / n / 2) / W) * 100))}%`,
82
- top: `${((marginTop + plotH - (hovered.count / max) * plotH) / H) * 100}%`,
83
- }, children: [hovered.label, ": ", hovered.count, " ", t("user_management.signup_stats.tooltip_suffix")] }))] })] }));
84
- }
85
- /**
86
- * Total + rolling-window signup cards (All time, 7d, 30d, 3mo, 6mo, YTD) each
87
- * with % change vs the prior equal period, plus a larger interactive YTD
88
- * monthly bar chart with axes, gridlines, and hover tooltips.
89
- * Computes everything client-side from the already-loaded users list.
90
- */
91
8
  export function UserSignupStatsCards({ users, now, className }) {
92
- const stats = useMemo(() => computeUserSignupStats(users, now), [users, now]);
93
- return (_jsxs("div", { className: `cls_user_signup_stats_cards mb-4 grid grid-cols-6 items-start gap-2 md:grid-cols-12 ${className !== null && className !== void 0 ? className : ""}`, children: [stats.windows.map((w) => (_jsx(StatCard, { w: w }, w.key))), _jsx(YtdMiniChart, { data: stats.ytdMonthly })] }));
9
+ const t = useAuthT();
10
+ const stats = useMemo(() => computeTrendStats(users, now), [users, now]);
11
+ return (_jsx(TrendSummary, { windows: stats.windows, chartData: stats.ytdMonthly, chartTitle: t("user_management.signup_stats.ytd_title"), chartTooltipSuffix: t("user_management.signup_stats.tooltip_suffix"), totalLabel: t("user_management.signup_stats.total_users"), prevTemplate: t("user_management.signup_stats.prev_template"), className: className }));
94
12
  }
@@ -1,10 +1,10 @@
1
1
  import * as React from "react";
2
2
  import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
3
- declare const AlertDialog: import("react").FC<AlertDialogPrimitive.AlertDialogProps>;
4
- declare const AlertDialogTrigger: import("react").ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
5
- declare const AlertDialogPortal: import("react").FC<AlertDialogPrimitive.AlertDialogPortalProps>;
6
- declare const AlertDialogOverlay: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
7
- declare const AlertDialogContent: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
3
+ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
4
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
6
+ declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
8
  declare const AlertDialogHeader: {
9
9
  ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
10
10
  displayName: string;
@@ -13,9 +13,9 @@ declare const AlertDialogFooter: {
13
13
  ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
14
14
  displayName: string;
15
15
  };
16
- declare const AlertDialogTitle: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
17
- declare const AlertDialogDescription: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
18
- declare const AlertDialogAction: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
19
- declare const AlertDialogCancel: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
16
+ declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
17
+ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
18
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
19
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
20
20
  export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
21
21
  //# sourceMappingURL=alert-dialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/alert-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAA;AAKpE,QAAA,MAAM,WAAW,2DAA4B,CAAA;AAE7C,QAAA,MAAM,kBAAkB,4IAA+B,CAAA;AAEvD,QAAA,MAAM,iBAAiB,iEAA8B,CAAA;AAErD,QAAA,MAAM,kBAAkB,6DAYtB,CAAA;AAGF,QAAA,MAAM,kBAAkB,6DAetB,CAAA;AAGF,QAAA,MAAM,iBAAiB;8BAGpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,iBAAiB;8BAGpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,gBAAgB,6DASpB,CAAA;AAGF,QAAA,MAAM,sBAAsB,6DAS1B,CAAA;AAIF,QAAA,MAAM,iBAAiB,6DASrB,CAAA;AAGF,QAAA,MAAM,iBAAiB,6DAarB,CAAA;AAGF,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GAClB,CAAA"}
1
+ {"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/alert-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAA;AAKpE,QAAA,MAAM,WAAW,iDAA4B,CAAA;AAE7C,QAAA,MAAM,kBAAkB,wHAA+B,CAAA;AAEvD,QAAA,MAAM,iBAAiB,uDAA8B,CAAA;AAErD,QAAA,MAAM,kBAAkB,wKAYtB,CAAA;AAGF,QAAA,MAAM,kBAAkB,wKAetB,CAAA;AAGF,QAAA,MAAM,iBAAiB;8BAGpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,iBAAiB;8BAGpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,gBAAgB,8KASpB,CAAA;AAGF,QAAA,MAAM,sBAAsB,wLAS1B,CAAA;AAIF,QAAA,MAAM,iBAAiB,6KASrB,CAAA;AAGF,QAAA,MAAM,iBAAiB,6KAarB,CAAA;AAGF,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GAClB,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import * as React from "react";
2
- declare const Avatar: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
3
- declare const AvatarImage: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
4
- declare const AvatarFallback: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
2
+ import * as AvatarPrimitive from "@radix-ui/react-avatar";
3
+ declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
+ declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
5
+ declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
5
6
  export { Avatar, AvatarImage, AvatarFallback };
6
7
  //# sourceMappingURL=avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,QAAA,MAAM,MAAM,6DAYV,CAAA;AAGF,QAAA,MAAM,WAAW,6DASf,CAAA;AAGF,QAAA,MAAM,cAAc,6DAYlB,CAAA;AAGF,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD,QAAA,MAAM,MAAM,yJAYV,CAAA;AAGF,QAAA,MAAM,WAAW,gKASf,CAAA;AAGF,QAAA,MAAM,cAAc,iKAYlB,CAAA;AAGF,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
4
+ variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
5
5
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -1,4 +1,5 @@
1
1
  import * as React from "react";
2
- declare const Checkbox: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
2
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
+ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
3
4
  export { Checkbox };
4
5
  //# sourceMappingURL=checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,QAAA,MAAM,QAAQ,6DAkBZ,CAAA;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAA"}
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAA;AAK7D,QAAA,MAAM,QAAQ,iKAkBZ,CAAA;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -1,11 +1,11 @@
1
1
  import * as React from "react";
2
2
  import * as DialogPrimitive from "@radix-ui/react-dialog";
3
- declare const Dialog: import("react").FC<DialogPrimitive.DialogProps>;
4
- declare const DialogTrigger: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
5
- declare const DialogPortal: import("react").FC<DialogPrimitive.DialogPortalProps>;
6
- declare const DialogClose: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
7
- declare const DialogOverlay: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
8
- declare const DialogContent: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
3
+ declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
4
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
6
+ declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
7
+ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
9
  declare const DialogHeader: {
10
10
  ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
11
11
  displayName: string;
@@ -14,7 +14,7 @@ declare const DialogFooter: {
14
14
  ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
15
15
  displayName: string;
16
16
  };
17
- declare const DialogTitle: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
18
- declare const DialogDescription: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
17
+ declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
18
+ declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
19
19
  export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
20
20
  //# sourceMappingURL=dialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAKzD,QAAA,MAAM,MAAM,iDAAuB,CAAA;AAEnC,QAAA,MAAM,aAAa,kIAA0B,CAAA;AAE7C,QAAA,MAAM,YAAY,uDAAyB,CAAA;AAE3C,QAA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AAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAA"}
@@ -1,25 +1,25 @@
1
1
  import * as React from "react";
2
2
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
3
- declare const DropdownMenu: import("react").FC<DropdownMenuPrimitive.DropdownMenuProps>;
4
- declare const DropdownMenuTrigger: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
5
- declare const DropdownMenuGroup: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
6
- declare const DropdownMenuPortal: import("react").FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
7
- declare const DropdownMenuSub: import("react").FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
- declare const DropdownMenuRadioGroup: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
9
- declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<{
3
+ declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
4
+ declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
6
+ declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
7
+ declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
+ declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
+ declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
10
  inset?: boolean;
11
- } & React.RefAttributes<never>>;
12
- declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
13
- declare const DropdownMenuContent: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
14
- declare const DropdownMenuItem: React.ForwardRefExoticComponent<{
11
+ } & React.RefAttributes<HTMLDivElement>>;
12
+ declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
15
15
  inset?: boolean;
16
- } & React.RefAttributes<never>>;
17
- declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
18
- declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
19
- declare const DropdownMenuLabel: React.ForwardRefExoticComponent<{
16
+ } & React.RefAttributes<HTMLDivElement>>;
17
+ declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
+ declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
+ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
20
20
  inset?: boolean;
21
- } & React.RefAttributes<never>>;
22
- declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
21
+ } & React.RefAttributes<HTMLDivElement>>;
22
+ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
23
  declare const DropdownMenuShortcut: {
24
24
  ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
25
25
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAA;AAKtE,QAAA,MAAM,YAAY,6DAA6B,CAAA;AAE/C,QAAA,MAAM,mBAAmB,8IAAgC,CAAA;AAEzD,QAAA,MAAM,iBAAiB,yIAA8B,CAAA;AAErD,QAAA,MAAM,kBAAkB,mEAA+B,CAAA;AAEvD,QAAA,MAAM,eAAe,gEAA4B,CAAA;AAEjD,QAAA,MAAM,sBAAsB,8IAAmC,CAAA;AAE/D,QAAA,MAAM,sBAAsB;YAGhB,OAAO;+BAejB,CAAA;AAIF,QAAA,MAAM,sBAAsB,6DAY1B,CAAA;AAIF,QAAA,MAAM,mBAAmB,6DAgBvB,CAAA;AAGF,QAAA,MAAM,gBAAgB;YAGV,OAAO;+BAYjB,CAAA;AAGF,QAAA,MAAM,wBAAwB,6DAoB5B,CAAA;AAIF,QAAA,MAAM,qBAAqB,6DAmBzB,CAAA;AAGF,QAAA,MAAM,iBAAiB;YAGX,OAAO;+BAYjB,CAAA;AAGF,QAAA,MAAM,qBAAqB,6DASzB,CAAA;AAGF,QAAA,MAAM,oBAAoB;8BAGvB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;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AAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,GACvB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
3
- declare const HoverCard: import("react").FC<HoverCardPrimitive.HoverCardProps>;
4
- declare const HoverCardTrigger: import("react").ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & import("react").RefAttributes<HTMLAnchorElement>>;
5
- declare const HoverCardContent: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
3
+ declare const HoverCard: React.FC<HoverCardPrimitive.HoverCardProps>;
4
+ declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
5
+ declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
6
  export { HoverCard, HoverCardTrigger, HoverCardContent };
7
7
  //# sourceMappingURL=hover-card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hover-card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/hover-card.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,kBAAkB,MAAM,4BAA4B,CAAA;AAKhE,QAAA,MAAM,SAAS,uDAA0B,CAAA;AAEzC,QAAA,MAAM,gBAAgB,wIAA6B,CAAA;AAEnD,QAAA,MAAM,gBAAgB,6DAcpB,CAAA;AAIF,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAA"}
1
+ {"version":3,"file":"hover-card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/hover-card.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,kBAAkB,MAAM,4BAA4B,CAAA;AAKhE,QAAA,MAAM,SAAS,6CAA0B,CAAA;AAEzC,QAAA,MAAM,gBAAgB,oHAA6B,CAAA;AAEnD,QAAA,MAAM,gBAAgB,oKAcpB,CAAA;AAIF,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAA"}
@@ -1,5 +1,31 @@
1
1
  import * as React from "react";
2
- declare const InputOTP: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
2
+ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
3
+ value?: string;
4
+ onChange?: (newValue: string) => unknown;
5
+ maxLength: number;
6
+ textAlign?: "left" | "center" | "right";
7
+ onComplete?: (...args: any[]) => unknown;
8
+ pushPasswordManagerStrategy?: "increase-width" | "none";
9
+ pasteTransformer?: (pasted: string) => string;
10
+ containerClassName?: string;
11
+ noScriptCSSFallback?: string | null;
12
+ } & {
13
+ render: (props: import("input-otp").RenderProps) => React.ReactNode;
14
+ children?: never;
15
+ } & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
16
+ value?: string;
17
+ onChange?: (newValue: string) => unknown;
18
+ maxLength: number;
19
+ textAlign?: "left" | "center" | "right";
20
+ onComplete?: (...args: any[]) => unknown;
21
+ pushPasswordManagerStrategy?: "increase-width" | "none";
22
+ pasteTransformer?: (pasted: string) => string;
23
+ containerClassName?: string;
24
+ noScriptCSSFallback?: string | null;
25
+ } & {
26
+ render?: never;
27
+ children: React.ReactNode;
28
+ } & React.RefAttributes<HTMLInputElement>, "ref">) & React.RefAttributes<HTMLInputElement>>;
3
29
  declare const InputOTPGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
30
  declare const InputOTPSlot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
31
  index: number;
@@ -1 +1 @@
1
- {"version":3,"file":"input-otp.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-otp.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,QAAQ,6DAaZ,CAAC;AAGH,QAAA,MAAM,aAAa,mKAKjB,CAAC;AAGH,QAAA,MAAM,YAAY;WAEiC,MAAM;wCAyBvD,CAAC;AAGH,QAAA,MAAM,iBAAiB,mKAOrB,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"input-otp.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-otp.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,QAAQ;;;;;kBAUoC,GAAG;;;;;;;;;;;;;kBAAH,GAAG;;;;;;;;2FAGnD,CAAC;AAGH,QAAA,MAAM,aAAa,mKAKjB,CAAC;AAGH,QAAA,MAAM,YAAY;WAEiC,MAAM;wCAyBvD,CAAC;AAGH,QAAA,MAAM,iBAAiB,mKAOrB,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import * as React from "react";
2
+ import * as LabelPrimitive from "@radix-ui/react-label";
2
3
  import { type VariantProps } from "class-variance-authority";
3
- declare const Label: React.ForwardRefExoticComponent<VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & React.RefAttributes<never>>;
4
+ declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
4
5
  export { Label };
5
6
  //# sourceMappingURL=label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/ui/label.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAQjE,QAAA,MAAM,KAAK,gKAUT,CAAA;AAGF,OAAO,EAAE,KAAK,EAAE,CAAA"}
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/ui/label.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAQjE,QAAA,MAAM,KAAK,4PAUT,CAAA;AAGF,OAAO,EAAE,KAAK,EAAE,CAAA"}
@@ -1,14 +1,14 @@
1
1
  import * as React from "react";
2
2
  import * as SelectPrimitive from "@radix-ui/react-select";
3
- declare const Select: import("react").FC<SelectPrimitive.SelectProps>;
4
- declare const SelectGroup: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & import("react").RefAttributes<HTMLDivElement>>;
5
- declare const SelectValue: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & import("react").RefAttributes<HTMLSpanElement>>;
6
- declare const SelectTrigger: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
7
- declare const SelectScrollUpButton: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
8
- declare const SelectScrollDownButton: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
9
- declare const SelectContent: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
10
- declare const SelectLabel: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
11
- declare const SelectItem: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
12
- declare const SelectSeparator: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
3
+ declare const Select: React.FC<SelectPrimitive.SelectProps>;
4
+ declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
5
+ declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
6
+ declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
+ declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
+ declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
+ declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
+ declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
+ declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
13
  export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
14
14
  //# sourceMappingURL=select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAKzD,QAAA,MAAM,MAAM,iDAAuB,CAAA;AAEnC,QAAA,MAAM,WAAW,6HAAwB,CAAA;AAEzC,QAAA,MAAM,WAAW,8HAAwB,CAAA;AAEzC,QAAA,MAAM,aAAa,6DAiBjB,CAAA;AAGF,QAAA,MAAM,oBAAoB,6DAcxB,CAAA;AAGF,QAAA,MAAM,sBAAsB,6DAc1B,CAAA;AAIF,QAAA,MAAM,aAAa,6DA6BjB,CAAA;AAGF,QAAA,MAAM,WAAW,6DASf,CAAA;AAGF,QAAA,MAAM,UAAU,6DAoBd,CAAA;AAGF,QAAA,MAAM,eAAe,6DASnB,CAAA;AAGF,OAAO,EACL,MAAM,EACN,WAAW,EACX,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,GACvB,CAAA"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAKzD,QAAA,MAAM,MAAM,uCAAuB,CAAA;AAEnC,QAAA,MAAM,WAAW,yGAAwB,CAAA;AAEzC,QAAA,MAAM,WAAW,0GAAwB,CAAA;AAEzC,QAAA,MAAM,aAAa,oKAiBjB,CAAA;AAGF,QAAA,MAAM,oBAAoB,qKAcxB,CAAA;AAGF,QAAA,MAAM,sBAAsB,uKAc1B,CAAA;AAIF,QAAA,MAAM,aAAa,8JA6BjB,CAAA;AAGF,QAAA,MAAM,WAAW,4JASf,CAAA;AAGF,QAAA,MAAM,UAAU,2JAoBd,CAAA;AAGF,QAAA,MAAM,eAAe,gKASnB,CAAA;AAGF,OAAO,EACL,MAAM,EACN,WAAW,EACX,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,GACvB,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import * as React from "react";
2
- declare const Separator: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
2
+ import * as SeparatorPrimitive from "@radix-ui/react-separator";
3
+ declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
4
  export { Separator };
4
5
  //# sourceMappingURL=separator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../src/components/ui/separator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,QAAA,MAAM,SAAS,6DAoBd,CAAA;AAGD,OAAO,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../src/components/ui/separator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAI/D,QAAA,MAAM,SAAS,6JAoBd,CAAA;AAGD,OAAO,EAAE,SAAS,EAAE,CAAA"}
@@ -1,14 +1,14 @@
1
1
  import * as React from "react";
2
2
  import * as SheetPrimitive from "@radix-ui/react-dialog";
3
3
  import { type VariantProps } from "class-variance-authority";
4
- declare const Sheet: import("react").FC<SheetPrimitive.DialogProps>;
5
- declare const SheetTrigger: import("react").ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
6
- declare const SheetClose: import("react").ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
7
- declare const SheetPortal: import("react").FC<SheetPrimitive.DialogPortalProps>;
8
- declare const SheetOverlay: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
9
- declare const SheetContent: React.ForwardRefExoticComponent<VariantProps<(props?: ({
4
+ declare const Sheet: React.FC<SheetPrimitive.DialogProps>;
5
+ declare const SheetTrigger: React.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const SheetClose: React.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
7
+ declare const SheetPortal: React.FC<SheetPrimitive.DialogPortalProps>;
8
+ declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
+ declare const SheetContent: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
10
10
  side?: "bottom" | "left" | "right" | "top" | null | undefined;
11
- } & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<never>>;
11
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
12
12
  declare const SheetHeader: {
13
13
  ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
14
14
  displayName: string;
@@ -17,7 +17,7 @@ declare const SheetFooter: {
17
17
  ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
18
18
  displayName: string;
19
19
  };
20
- declare const SheetTitle: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
21
- declare const SheetDescription: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
20
+ declare const SheetTitle: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
21
+ declare const SheetDescription: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
22
22
  export { Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
23
23
  //# sourceMappingURL=sheet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKjE,QAAA,MAAM,KAAK,gDAAsB,CAAA;AAEjC,QAAA,MAAM,YAAY,iIAAyB,CAAA;AAE3C,QAAA,MAAM,UAAU,+HAAuB,CAAA;AAEvC,QAAA,MAAM,WAAW,sDAAwB,CAAA;AAEzC,QAAA,MAAM,YAAY,6DAYhB,CAAA;AAyBF,QAAA,MAAM,YAAY;;6GAkBhB,CAAA;AAGF,QAAA,MAAM,WAAW;8BAGd,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,WAAW;8BAGd,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,UAAU,6DASd,CAAA;AAGF,QAAA,MAAM,gBAAgB,6DASpB,CAAA;AAGF,OAAO,EACL,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,GACjB,CAAA"}
1
+ {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKjE,QAAA,MAAM,KAAK,sCAAsB,CAAA;AAEjC,QAAA,MAAM,YAAY,6GAAyB,CAAA;AAE3C,QAAA,MAAM,UAAU,2GAAuB,CAAA;AAEvC,QAAA,MAAM,WAAW,4CAAwB,CAAA;AAEzC,QAAA,MAAM,YAAY,6JAYhB,CAAA;AAyBF,QAAA,MAAM,YAAY;;sHAkBhB,CAAA;AAGF,QAAA,MAAM,WAAW;8BAGd,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,WAAW;8BAGd,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,UAAU,mKASd,CAAA;AAGF,QAAA,MAAM,gBAAgB,6KASpB,CAAA;AAGF,OAAO,EACL,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,GACjB,CAAA"}
@@ -27,7 +27,7 @@ declare const SidebarInset: React.ForwardRefExoticComponent<Omit<React.DetailedH
27
27
  declare const SidebarInput: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
28
28
  declare const SidebarHeader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
29
29
  declare const SidebarFooter: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
30
- declare const SidebarSeparator: React.ForwardRefExoticComponent<Omit<React.RefAttributes<never>, "ref"> & React.RefAttributes<never>>;
30
+ declare const SidebarSeparator: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-separator").SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
31
31
  declare const SidebarContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
32
32
  declare const SidebarGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
33
33
  declare const SidebarGroupLabel: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sidebar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAgBjE,OAAO,EAEL,cAAc,EAGf,MAAM,WAAW,CAAA;AASlB,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,UAAU,GAAG,WAAW,CAAA;IAC/B,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAChC,UAAU,EAAE,OAAO,CAAA;IACnB,aAAa,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,QAAQ,EAAE,OAAO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ACX,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,UAAU,GACX,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import * as React from "react";
2
- declare const Switch: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
2
+ import * as SwitchPrimitives from "@radix-ui/react-switch";
3
+ declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
3
4
  export { Switch };
4
5
  //# sourceMappingURL=switch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/components/ui/switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,QAAA,MAAM,MAAM,6DAkBV,CAAA;AAGF,OAAO,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/components/ui/switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA;AAI1D,QAAA,MAAM,MAAM,8JAkBV,CAAA;AAGF,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import * as React from "react";
2
2
  import * as TabsPrimitive from "@radix-ui/react-tabs";
3
- declare const Tabs: import("react").ForwardRefExoticComponent<TabsPrimitive.TabsProps & import("react").RefAttributes<HTMLDivElement>>;
4
- declare const TabsList: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
5
- declare const TabsTrigger: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
6
- declare const TabsContent: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
3
+ declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
4
+ declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
7
  export { Tabs, TabsList, TabsTrigger, TabsContent };
8
8
  //# sourceMappingURL=tabs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAA;AAIrD,QAAA,MAAM,IAAI,oHAAqB,CAAA;AAE/B,QAAA,MAAM,QAAQ,6DAYZ,CAAA;AAGF,QAAA,MAAM,WAAW,6DAYf,CAAA;AAGF,QAAA,MAAM,WAAW,6DAYf,CAAA;AAGF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAA;AAIrD,QAAA,MAAM,IAAI,gGAAqB,CAAA;AAE/B,QAAA,MAAM,QAAQ,uJAYZ,CAAA;AAGF,QAAA,MAAM,WAAW,gKAYf,CAAA;AAGF,QAAA,MAAM,WAAW,0JAYf,CAAA;AAGF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import * as React from "react";
2
2
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
3
- declare const TooltipProvider: import("react").FC<TooltipPrimitive.TooltipProviderProps>;
4
- declare const Tooltip: import("react").FC<TooltipPrimitive.TooltipProps>;
5
- declare const TooltipTrigger: import("react").ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
6
- declare const TooltipContent: React.ForwardRefExoticComponent<React.RefAttributes<never>>;
3
+ declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
4
+ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
5
+ declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
7
  export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
8
8
  //# sourceMappingURL=tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAI3D,QAAA,MAAM,eAAe,2DAA4B,CAAA;AAEjD,QAAA,MAAM,OAAO,mDAAwB,CAAA;AAErC,QAAA,MAAM,cAAc,oIAA2B,CAAA;AAE/C,QAAA,MAAM,cAAc,6DAelB,CAAA;AAGF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAI3D,QAAA,MAAM,eAAe,iDAA4B,CAAA;AAEjD,QAAA,MAAM,OAAO,yCAAwB,CAAA;AAErC,QAAA,MAAM,cAAc,gHAA2B,CAAA;AAE/C,QAAA,MAAM,cAAc,gKAelB,CAAA;AAGF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}