@carlonicora/nextjs-jsonapi 3.9.0 → 3.11.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 (104) hide show
  1. package/dist/BlockNoteEditor-K55A4FS2.css +30 -0
  2. package/dist/BlockNoteEditor-K55A4FS2.css.map +1 -0
  3. package/dist/{BlockNoteEditor-RGMU2O24.mjs → BlockNoteEditor-NBHDEZ7W.mjs} +4 -4
  4. package/dist/{BlockNoteEditor-WY4LFMXQ.js → BlockNoteEditor-XOVNTXDY.js} +19 -19
  5. package/dist/{BlockNoteEditor-WY4LFMXQ.js.map → BlockNoteEditor-XOVNTXDY.js.map} +1 -1
  6. package/dist/{BlockNoteViewer-6N2GQWTI.js → BlockNoteViewer-C2UUOBAF.js} +17 -3
  7. package/dist/BlockNoteViewer-C2UUOBAF.js.map +1 -0
  8. package/dist/{BlockNoteViewer-IBQRJ3WM.mjs → BlockNoteViewer-TYLVTIUD.mjs} +17 -3
  9. package/dist/BlockNoteViewer-TYLVTIUD.mjs.map +1 -0
  10. package/dist/billing/index.css +22 -21
  11. package/dist/billing/index.css.map +1 -1
  12. package/dist/billing/index.js +398 -398
  13. package/dist/billing/index.mjs +3 -3
  14. package/dist/{chunk-UYLS3LJW.js → chunk-6J2SQZ3G.js} +11 -1
  15. package/dist/chunk-6J2SQZ3G.js.map +1 -0
  16. package/dist/{chunk-2D4MFVDV.mjs → chunk-IMSIVIIC.mjs} +2 -2
  17. package/dist/{chunk-HDZ2BL6D.mjs → chunk-M5QAHSCY.mjs} +11 -1
  18. package/dist/{chunk-HDZ2BL6D.mjs.map → chunk-M5QAHSCY.mjs.map} +1 -1
  19. package/dist/{chunk-TULJCLZA.js → chunk-V6CGCARD.js} +7 -7
  20. package/dist/{chunk-TULJCLZA.js.map → chunk-V6CGCARD.js.map} +1 -1
  21. package/dist/{chunk-7PNGCZES.mjs → chunk-XNGI4HDZ.mjs} +1529 -1286
  22. package/dist/chunk-XNGI4HDZ.mjs.map +1 -0
  23. package/dist/{chunk-DOLEXUO3.js → chunk-YN4LOVL4.js} +1301 -1058
  24. package/dist/chunk-YN4LOVL4.js.map +1 -0
  25. package/dist/client/index.css +22 -21
  26. package/dist/client/index.css.map +1 -1
  27. package/dist/client/index.js +4 -4
  28. package/dist/client/index.mjs +3 -3
  29. package/dist/components/index.css +22 -21
  30. package/dist/components/index.css.map +1 -1
  31. package/dist/components/index.d.mts +46 -14
  32. package/dist/components/index.d.ts +46 -14
  33. package/dist/components/index.js +8 -4
  34. package/dist/components/index.js.map +1 -1
  35. package/dist/components/index.mjs +7 -3
  36. package/dist/contexts/index.css +22 -21
  37. package/dist/contexts/index.css.map +1 -1
  38. package/dist/contexts/index.d.mts +28 -4
  39. package/dist/contexts/index.d.ts +28 -4
  40. package/dist/contexts/index.js +10 -4
  41. package/dist/contexts/index.js.map +1 -1
  42. package/dist/contexts/index.mjs +9 -3
  43. package/dist/core/index.d.mts +13 -0
  44. package/dist/core/index.d.ts +13 -0
  45. package/dist/core/index.js +2 -2
  46. package/dist/core/index.mjs +1 -1
  47. package/dist/features/help/index.css +22 -21
  48. package/dist/features/help/index.css.map +1 -1
  49. package/dist/features/help/index.d.mts +6 -1
  50. package/dist/features/help/index.d.ts +6 -1
  51. package/dist/features/help/index.js +39 -38
  52. package/dist/features/help/index.js.map +1 -1
  53. package/dist/features/help/index.mjs +4 -3
  54. package/dist/features/tokenusage/index.css +22 -21
  55. package/dist/features/tokenusage/index.css.map +1 -1
  56. package/dist/features/tokenusage/index.js +102 -102
  57. package/dist/features/tokenusage/index.js.map +1 -1
  58. package/dist/features/tokenusage/index.mjs +4 -4
  59. package/dist/features/tokenusage/index.mjs.map +1 -1
  60. package/dist/index.js +3 -3
  61. package/dist/index.mjs +2 -2
  62. package/dist/{onboarding.interface-Djyl9qYu.d.mts → onboarding.interface-DVUOUC4y.d.mts} +4 -1
  63. package/dist/{onboarding.interface-Djyl9qYu.d.ts → onboarding.interface-DVUOUC4y.d.ts} +4 -1
  64. package/dist/server/index.js +3 -3
  65. package/dist/server/index.mjs +1 -1
  66. package/package.json +2 -2
  67. package/src/components/containers/RoundPageContainer.tsx +2 -1
  68. package/src/components/containers/RoundPageContainerTitle.tsx +6 -1
  69. package/src/components/containers/TabsContainer.tsx +1 -0
  70. package/src/components/forms/EditorSheet.tsx +2 -1
  71. package/src/components/grids/ContentListGrid.tsx +1 -1
  72. package/src/components/navigations/Breadcrumb.tsx +21 -9
  73. package/src/components/navigations/Header.tsx +3 -1
  74. package/src/components/navigations/MobileNavigationBar.tsx +1 -0
  75. package/src/components/tables/ContentListTable.tsx +1 -1
  76. package/src/components/tables/ContentTableSearch.tsx +1 -0
  77. package/src/components/viewers/BlockNoteViewer.tsx +13 -2
  78. package/src/components/viewers/BlockNoteViewerContainer.tsx +4 -1
  79. package/src/contexts/BreadcrumbRootContext.tsx +28 -0
  80. package/src/contexts/index.ts +1 -0
  81. package/src/features/assistant/components/index.ts +2 -0
  82. package/src/features/assistant/components/parts/AssistantComposer.tsx +1 -1
  83. package/src/features/assistant/components/parts/__tests__/AssistantComposer.spec.tsx +2 -2
  84. package/src/features/assistant-action/components/ApprovalActionCard.tsx +325 -4
  85. package/src/features/assistant-action/components/__tests__/ApprovalActionCard.spec.tsx +268 -0
  86. package/src/features/assistant-action/data/AssistantAction.ts +12 -0
  87. package/src/features/assistant-action/data/AssistantActionInterface.ts +9 -0
  88. package/src/features/assistant-action/data/__tests__/AssistantAction.spec.ts +11 -0
  89. package/src/features/help/index.ts +1 -0
  90. package/src/features/onboarding/components/OnboardingCard.tsx +1 -2
  91. package/src/features/onboarding/contexts/OnboardingContext.spec.tsx +191 -0
  92. package/src/features/onboarding/contexts/OnboardingContext.tsx +176 -125
  93. package/src/features/onboarding/interfaces/onboarding.interface.ts +4 -0
  94. package/src/features/onboarding/styles/onboarding.css +25 -30
  95. package/src/features/tokenusage/components/TokenUsageReportFilterBar.tsx +1 -1
  96. package/dist/BlockNoteEditor-YOAJRPWU.css +0 -29
  97. package/dist/BlockNoteEditor-YOAJRPWU.css.map +0 -1
  98. package/dist/BlockNoteViewer-6N2GQWTI.js.map +0 -1
  99. package/dist/BlockNoteViewer-IBQRJ3WM.mjs.map +0 -1
  100. package/dist/chunk-7PNGCZES.mjs.map +0 -1
  101. package/dist/chunk-DOLEXUO3.js.map +0 -1
  102. package/dist/chunk-UYLS3LJW.js.map +0 -1
  103. /package/dist/{BlockNoteEditor-RGMU2O24.mjs.map → BlockNoteEditor-NBHDEZ7W.mjs.map} +0 -0
  104. /package/dist/{chunk-2D4MFVDV.mjs.map → chunk-IMSIVIIC.mjs.map} +0 -0
@@ -26,8 +26,8 @@
26
26
 
27
27
 
28
28
 
29
- var _chunkDOLEXUO3js = require('../../chunk-DOLEXUO3.js');
30
- require('../../chunk-TULJCLZA.js');
29
+ var _chunkYN4LOVL4js = require('../../chunk-YN4LOVL4.js');
30
+ require('../../chunk-V6CGCARD.js');
31
31
 
32
32
 
33
33
 
@@ -45,7 +45,7 @@ require('../../chunk-TULJCLZA.js');
45
45
 
46
46
 
47
47
 
48
- var _chunkUYLS3LJWjs = require('../../chunk-UYLS3LJW.js');
48
+ var _chunk6J2SQZ3Gjs = require('../../chunk-6J2SQZ3G.js');
49
49
  require('../../chunk-LXKSUWAV.js');
50
50
  require('../../chunk-IBS6NI7D.js');
51
51
  require('../../chunk-LU7DJ4QF.js');
@@ -70,7 +70,7 @@ function TokenUsageAdminFilterBar({ granularity, companyId, metric, companies, o
70
70
  };
71
71
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
72
72
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
73
- _chunkDOLEXUO3js.DateRangeSelector,
73
+ _chunkYN4LOVL4js.DateRangeSelector,
74
74
  {
75
75
  onDateChange: (range) => {
76
76
  if (!_optionalChain([range, 'optionalAccess', _ => _.from]) || !_optionalChain([range, 'optionalAccess', _2 => _2.to])) return;
@@ -105,16 +105,16 @@ function TokenUsageAdminFilterBar({ granularity, companyId, metric, companies, o
105
105
  }
106
106
  ),
107
107
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
108
- _chunkDOLEXUO3js.Select,
108
+ _chunkYN4LOVL4js.Select,
109
109
  {
110
110
  items: companyItems,
111
111
  value: _nullishCoalesce(companyId, () => ( ALL_COMPANIES)),
112
112
  onValueChange: (value) => onChange({ companyId: !value || value === ALL_COMPANIES ? void 0 : value }),
113
113
  children: [
114
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.SelectTrigger, { className: "w-56", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.SelectValue, { placeholder: t("token_usage.admin.all_companies") }) }),
115
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.SelectContent, { children: [
116
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.SelectItem, { value: ALL_COMPANIES, children: t("token_usage.admin.all_companies") }),
117
- companies.map((company) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.SelectItem, { value: company.id, children: company.label }, company.id))
114
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.SelectTrigger, { className: "w-56", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.SelectValue, { placeholder: t("token_usage.admin.all_companies") }) }),
115
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.SelectContent, { children: [
116
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.SelectItem, { value: ALL_COMPANIES, children: t("token_usage.admin.all_companies") }),
117
+ companies.map((company) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.SelectItem, { value: company.id, children: company.label }, company.id))
118
118
  ] })
119
119
  ]
120
120
  }
@@ -137,13 +137,13 @@ function Segmented({
137
137
  children: options.map((option) => {
138
138
  const selected = option.value === value;
139
139
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
140
- _chunkDOLEXUO3js.Button,
140
+ _chunkYN4LOVL4js.Button,
141
141
  {
142
142
  type: "button",
143
143
  size: "sm",
144
144
  variant: selected ? "default" : "ghost",
145
145
  "aria-pressed": selected,
146
- className: _chunkUYLS3LJWjs.cn.call(void 0, !selected && "text-muted-foreground"),
146
+ className: _chunk6J2SQZ3Gjs.cn.call(void 0, !selected && "text-muted-foreground"),
147
147
  onClick: () => onSelect(option.value),
148
148
  children: option.label
149
149
  },
@@ -163,36 +163,36 @@ function withFilters(endpoint, filters) {
163
163
  return endpoint;
164
164
  }
165
165
  _chunk7QVYU63Ejs.__name.call(void 0, withFilters, "withFilters");
166
- var TokenUsageAdminService = class extends _chunkUYLS3LJWjs.AbstractService {
166
+ var TokenUsageAdminService = class extends _chunk6J2SQZ3Gjs.AbstractService {
167
167
  static {
168
168
  _chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminService");
169
169
  }
170
170
  /** Six rows: {customer, platform, total} × {current, previous}. */
171
171
  static async getSummary(filters) {
172
- const endpoint = withFilters(new (0, _chunkUYLS3LJWjs.EndpointCreator)({ endpoint: _chunkUYLS3LJWjs.Modules.TokenUsageAdminSummary }), filters);
172
+ const endpoint = withFilters(new (0, _chunk6J2SQZ3Gjs.EndpointCreator)({ endpoint: _chunk6J2SQZ3Gjs.Modules.TokenUsageAdminSummary }), filters);
173
173
  return this.callApi({
174
- type: _chunkUYLS3LJWjs.Modules.TokenUsageAdminSummary,
174
+ type: _chunk6J2SQZ3Gjs.Modules.TokenUsageAdminSummary,
175
175
  method: "GET" /* GET */,
176
176
  endpoint: endpoint.generate()
177
177
  });
178
178
  }
179
179
  static async getTimeline(params) {
180
- const endpoint = withFilters(new (0, _chunkUYLS3LJWjs.EndpointCreator)({ endpoint: _chunkUYLS3LJWjs.Modules.TokenUsageAdminTimeline }), params);
180
+ const endpoint = withFilters(new (0, _chunk6J2SQZ3Gjs.EndpointCreator)({ endpoint: _chunk6J2SQZ3Gjs.Modules.TokenUsageAdminTimeline }), params);
181
181
  endpoint.addAdditionalParam("granularity", params.granularity);
182
182
  endpoint.addAdditionalParam("stackBy", params.stackBy);
183
183
  return this.callApi({
184
- type: _chunkUYLS3LJWjs.Modules.TokenUsageAdminTimeline,
184
+ type: _chunk6J2SQZ3Gjs.Modules.TokenUsageAdminTimeline,
185
185
  method: "GET" /* GET */,
186
186
  endpoint: endpoint.generate()
187
187
  });
188
188
  }
189
189
  static async getBreakdown(params) {
190
- const endpoint = withFilters(new (0, _chunkUYLS3LJWjs.EndpointCreator)({ endpoint: _chunkUYLS3LJWjs.Modules.TokenUsageAdminBreakdown }), params);
190
+ const endpoint = withFilters(new (0, _chunk6J2SQZ3Gjs.EndpointCreator)({ endpoint: _chunk6J2SQZ3Gjs.Modules.TokenUsageAdminBreakdown }), params);
191
191
  endpoint.addAdditionalParam("dimension", params.dimension);
192
192
  endpoint.addAdditionalParam("scope", params.scope);
193
193
  if (params.limit !== void 0) endpoint.addAdditionalParam("limit", String(params.limit));
194
194
  return this.callApi({
195
- type: _chunkUYLS3LJWjs.Modules.TokenUsageAdminBreakdown,
195
+ type: _chunk6J2SQZ3Gjs.Modules.TokenUsageAdminBreakdown,
196
196
  method: "GET" /* GET */,
197
197
  endpoint: endpoint.generate()
198
198
  });
@@ -219,7 +219,7 @@ var TokenUsageAdminProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
219
219
  pageUrl = TOKEN_USAGE_ADMIN_PAGE_URL
220
220
  }) => {
221
221
  const t = _nextintl.useTranslations.call(void 0, );
222
- const generateUrl = _chunkDOLEXUO3js.usePageUrlGenerator.call(void 0, );
222
+ const generateUrl = _chunkYN4LOVL4js.usePageUrlGenerator.call(void 0, );
223
223
  const [filters, setFilterState] = _react.useState.call(void 0, () => {
224
224
  const range = defaultRange();
225
225
  return {
@@ -337,7 +337,7 @@ var TokenUsageAdminProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
337
337
  error
338
338
  ]
339
339
  );
340
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.SharedProvider, { value: { breadcrumbs: breadcrumb(), title: title() }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageAdminContext.Provider, { value: contextValue, children }) });
340
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.SharedProvider, { value: { breadcrumbs: breadcrumb(), title: title() }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageAdminContext.Provider, { value: contextValue, children }) });
341
341
  }, "TokenUsageAdminProvider");
342
342
  var useTokenUsageAdmin = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
343
343
  const ctx = _react.useContext.call(void 0, TokenUsageAdminContext);
@@ -393,7 +393,7 @@ function createUsageFormatters(locale, currency) {
393
393
  _chunk7QVYU63Ejs.__name.call(void 0, createUsageFormatters, "createUsageFormatters");
394
394
  function useUsageFormatters() {
395
395
  const locale = _nextintl.useLocale.call(void 0, );
396
- const currency = _chunkUYLS3LJWjs.getTokenUsageCurrency.call(void 0, );
396
+ const currency = _chunk6J2SQZ3Gjs.getTokenUsageCurrency.call(void 0, );
397
397
  return _react.useMemo.call(void 0, () => createUsageFormatters(locale, currency), [locale, currency]);
398
398
  }
399
399
  _chunk7QVYU63Ejs.__name.call(void 0, useUsageFormatters, "useUsageFormatters");
@@ -432,7 +432,7 @@ function TokenUsageAdminTiles({ summary, metric, singleCustomerMode }) {
432
432
  const averagePerCall = totalCurrent.calls ? totalCurrent.cost / totalCurrent.calls : 0;
433
433
  const cacheHit = cacheHitPercentage(totalCurrent.cached, totalCurrent.tokensIn);
434
434
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid gap-3", children: [
435
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUYLS3LJWjs.cn.call(void 0, "grid gap-3", singleCustomerMode ? "sm:grid-cols-1" : "sm:grid-cols-2"), children: [
435
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6J2SQZ3Gjs.cn.call(void 0, "grid gap-3", singleCustomerMode ? "sm:grid-cols-1" : "sm:grid-cols-2"), children: [
436
436
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
437
437
  LeadTile,
438
438
  {
@@ -497,7 +497,7 @@ function LeadTile({
497
497
  previousLabel,
498
498
  decimal
499
499
  }) {
500
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.Card, { "data-testid": testId, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.CardContent, { className: "grid gap-1", children: [
500
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.Card, { "data-testid": testId, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.CardContent, { className: "grid gap-1", children: [
501
501
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground text-xs", children: label }),
502
502
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-primary text-xl font-semibold tabular-nums", children: value }),
503
503
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1", children: [
@@ -514,7 +514,7 @@ function SupportingTile({
514
514
  delta,
515
515
  decimal
516
516
  }) {
517
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.Card, { "data-testid": testId, size: "sm", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.CardContent, { className: "grid gap-1", children: [
517
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.Card, { "data-testid": testId, size: "sm", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.CardContent, { className: "grid gap-1", children: [
518
518
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground text-xs", children: label }),
519
519
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
520
520
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-sm font-medium tabular-nums", children: value }),
@@ -537,7 +537,7 @@ function Delta({
537
537
  "span",
538
538
  {
539
539
  "data-testid": testId,
540
- className: _chunkUYLS3LJWjs.cn.call(void 0,
540
+ className: _chunk6J2SQZ3Gjs.cn.call(void 0,
541
541
  "inline-flex items-center gap-0.5 text-xs tabular-nums",
542
542
  increased ? "text-success" : "text-destructive"
543
543
  ),
@@ -611,13 +611,13 @@ function TokenUsageBreakdownTable({ rows, metric }) {
611
611
  // The package's <Table> wraps itself in an `overflow-x-clip` container, which
612
612
  // would swallow the overflow before this scroller ever saw it — hence the
613
613
  // child override. Wide metric tables must scroll, never widen the page.
614
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-x-auto [&_[data-slot=table-container]]:overflow-x-visible", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.Table, { children: [
615
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableRow, { children: columns.map((column) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableHead, { className: _chunkUYLS3LJWjs.cn.call(void 0, column.numeric && "text-end"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
614
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-x-auto [&_[data-slot=table-container]]:overflow-x-visible", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.Table, { children: [
615
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableRow, { children: columns.map((column) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableHead, { className: _chunk6J2SQZ3Gjs.cn.call(void 0, column.numeric && "text-end"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
616
616
  "button",
617
617
  {
618
618
  type: "button",
619
619
  onClick: () => toggleSort(column.key),
620
- className: _chunkUYLS3LJWjs.cn.call(void 0,
620
+ className: _chunk6J2SQZ3Gjs.cn.call(void 0,
621
621
  "hover:text-primary inline-flex items-center gap-1 text-xs font-medium",
622
622
  column.numeric && "flex-row-reverse"
623
623
  ),
@@ -627,20 +627,20 @@ function TokenUsageBreakdownTable({ rows, metric }) {
627
627
  ]
628
628
  }
629
629
  ) }, column.key)) }) }),
630
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableBody, { children: sortedRows.map((row) => {
630
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableBody, { children: sortedRows.map((row) => {
631
631
  const value = metricValue(row, metric);
632
632
  const share = total > 0 ? value / total * 100 : 0;
633
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.TableRow, { "data-testid": `breakdown-row-${row.id}`, children: [
634
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableCell, { className: "text-xs", children: row.id === "other" ? t("token_usage.admin.other") : row.label }),
635
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableCell, { className: "text-muted-foreground text-xs", children: _nullishCoalesce(row.sublabel, () => ( "")) }),
636
- showActiveUsers && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableCell, { className: "text-end text-xs tabular-nums", children: row.activeUsers === void 0 ? "" : decimal(row.activeUsers, 0) }),
637
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableCell, { className: "text-end text-xs tabular-nums", children: decimal(row.calls, 0) }),
638
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableCell, { className: "text-end text-xs tabular-nums", children: decimal(row.tokensIn, 0) }),
639
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableCell, { className: "text-end text-xs tabular-nums", children: decimal(row.tokensOut, 0) }),
640
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableCell, { className: "text-end text-xs tabular-nums", children: percent(cacheHitPercentage(row.cached, row.tokensIn)) }),
641
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableCell, { className: "text-end text-xs tabular-nums", children: formatValue(row.cost, "cost") }),
642
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableCell, { className: "text-end text-xs tabular-nums", children: formatValue(row.credits, "credits") }),
643
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.TableCell, { className: "text-end text-xs tabular-nums", children: percent(share) })
633
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.TableRow, { "data-testid": `breakdown-row-${row.id}`, children: [
634
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableCell, { className: "text-xs", children: row.id === "other" ? t("token_usage.admin.other") : row.label }),
635
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableCell, { className: "text-muted-foreground text-xs", children: _nullishCoalesce(row.sublabel, () => ( "")) }),
636
+ showActiveUsers && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableCell, { className: "text-end text-xs tabular-nums", children: row.activeUsers === void 0 ? "" : decimal(row.activeUsers, 0) }),
637
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableCell, { className: "text-end text-xs tabular-nums", children: decimal(row.calls, 0) }),
638
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableCell, { className: "text-end text-xs tabular-nums", children: decimal(row.tokensIn, 0) }),
639
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableCell, { className: "text-end text-xs tabular-nums", children: decimal(row.tokensOut, 0) }),
640
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableCell, { className: "text-end text-xs tabular-nums", children: percent(cacheHitPercentage(row.cached, row.tokensIn)) }),
641
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableCell, { className: "text-end text-xs tabular-nums", children: formatValue(row.cost, "cost") }),
642
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableCell, { className: "text-end text-xs tabular-nums", children: formatValue(row.credits, "credits") }),
643
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.TableCell, { className: "text-end text-xs tabular-nums", children: percent(share) })
644
644
  ] }, row.id);
645
645
  }) })
646
646
  ] }) })
@@ -838,7 +838,7 @@ function TokenUsageTimelineChart({ rows, metric, stackBy, className }) {
838
838
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className, dir: "ltr", children: [
839
839
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", "data-testid": "timeline-data", children: JSON.stringify(chartData) }),
840
840
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", "data-testid": "timeline-series", children: JSON.stringify(seriesKeys) }),
841
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.ChartContainer, { config: chartConfig, className: "aspect-auto h-72 w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _recharts.BarChart, { accessibilityLayer: true, data: chartData, margin: { top: 8, right: 8, bottom: 0, left: 0 }, children: [
841
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.ChartContainer, { config: chartConfig, className: "aspect-auto h-72 w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _recharts.BarChart, { accessibilityLayer: true, data: chartData, margin: { top: 8, right: 8, bottom: 0, left: 0 }, children: [
842
842
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _recharts.CartesianGrid, { vertical: false }),
843
843
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
844
844
  _recharts.XAxis,
@@ -862,10 +862,10 @@ function TokenUsageTimelineChart({ rows, metric, stackBy, className }) {
862
862
  }
863
863
  ),
864
864
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
865
- _chunkDOLEXUO3js.ChartTooltip,
865
+ _chunkYN4LOVL4js.ChartTooltip,
866
866
  {
867
867
  content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
868
- _chunkDOLEXUO3js.ChartTooltipContent,
868
+ _chunkYN4LOVL4js.ChartTooltipContent,
869
869
  {
870
870
  labelFormatter: (value) => bucketDate(String(value), granularity),
871
871
  valueFormatter: (value) => formatValue(Number(value), metric),
@@ -874,7 +874,7 @@ function TokenUsageTimelineChart({ rows, metric, stackBy, className }) {
874
874
  )
875
875
  }
876
876
  ),
877
- seriesKeys.length >= 2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.ChartLegend, { content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.ChartLegendContent, {}) }) : null,
877
+ seriesKeys.length >= 2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.ChartLegend, { content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.ChartLegendContent, {}) }) : null,
878
878
  seriesKeys.map((series, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
879
879
  _recharts.Bar,
880
880
  {
@@ -926,19 +926,19 @@ function TokenUsageAdminContainer() {
926
926
  [t]
927
927
  );
928
928
  if (error) {
929
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.RoundPageContainer, { fullWidth: true, forceHeader: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-destructive text-xs/relaxed", children: error }) }) }) }) });
929
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.RoundPageContainer, { fullWidth: true, forceHeader: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-destructive text-xs/relaxed", children: error }) }) }) }) });
930
930
  }
931
- if (isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.RoundPageContainer, { fullWidth: true, forceHeader: true });
931
+ if (isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.RoundPageContainer, { fullWidth: true, forceHeader: true });
932
932
  const emptyLabel = t("token_usage.admin.no_data");
933
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.RoundPageContainer, { fullWidth: true, forceHeader: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-4 p-4", children: [
933
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.RoundPageContainer, { fullWidth: true, forceHeader: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-4 p-4", children: [
934
934
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageAdminTiles, { summary, metric: filters.metric, singleCustomerMode: hidePlatform }),
935
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.Card, { children: [
936
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.CardHeader, { children: [
937
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardTitle, { children: t("token_usage.admin.usage_over_time") }),
938
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardAction, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
935
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.Card, { children: [
936
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.CardHeader, { children: [
937
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardTitle, { children: t("token_usage.admin.usage_over_time") }),
938
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardAction, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
939
939
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground text-xs", children: t("token_usage.admin.stack_by") }),
940
940
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
941
- _chunkDOLEXUO3js.Select,
941
+ _chunkYN4LOVL4js.Select,
942
942
  {
943
943
  items: stackByItems,
944
944
  value: filters.stackBy,
@@ -946,29 +946,29 @@ function TokenUsageAdminContainer() {
946
946
  if (value) setFilters({ stackBy: value });
947
947
  },
948
948
  children: [
949
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.SelectTrigger, { size: "sm", className: "w-36", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.SelectValue, {}) }),
950
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.SelectContent, { children: STACK_BY_VALUES.map((value) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.SelectItem, { value, children: stackByItems[value] }, value)) })
949
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.SelectTrigger, { size: "sm", className: "w-36", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.SelectValue, {}) }),
950
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.SelectContent, { children: STACK_BY_VALUES.map((value) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.SelectItem, { value, children: stackByItems[value] }, value)) })
951
951
  ]
952
952
  }
953
953
  )
954
954
  ] }) })
955
955
  ] }),
956
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageTimelineChart, { rows: timeline, metric: filters.metric, stackBy: filters.stackBy }) })
956
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageTimelineChart, { rows: timeline, metric: filters.metric, stackBy: filters.stackBy }) })
957
957
  ] }),
958
958
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid gap-4 md:grid-cols-2", children: [
959
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.Card, { children: [
960
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardTitle, { children: t("token_usage.admin.by_company") }) }),
961
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageRankedBar, { rows: byCompany, metric: filters.metric, emptyLabel }) })
959
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.Card, { children: [
960
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardTitle, { children: t("token_usage.admin.by_company") }) }),
961
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageRankedBar, { rows: byCompany, metric: filters.metric, emptyLabel }) })
962
962
  ] }),
963
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.Card, { children: [
964
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardTitle, { children: t("token_usage.admin.by_user") }) }),
965
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageRankedBar, { rows: byUser, metric: filters.metric, emptyLabel }) })
963
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.Card, { children: [
964
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardTitle, { children: t("token_usage.admin.by_user") }) }),
965
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageRankedBar, { rows: byUser, metric: filters.metric, emptyLabel }) })
966
966
  ] })
967
967
  ] }),
968
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUYLS3LJWjs.cn.call(void 0, "grid gap-4", !hidePlatform && "md:grid-cols-2"), children: [
969
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.Card, { children: [
970
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardTitle, { children: t("token_usage.admin.customer_by_operation") }) }),
971
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
968
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6J2SQZ3Gjs.cn.call(void 0, "grid gap-4", !hidePlatform && "md:grid-cols-2"), children: [
969
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.Card, { children: [
970
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardTitle, { children: t("token_usage.admin.customer_by_operation") }) }),
971
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
972
972
  TokenUsageRankedBar,
973
973
  {
974
974
  rows: byCustomerOperation,
@@ -978,9 +978,9 @@ function TokenUsageAdminContainer() {
978
978
  }
979
979
  ) })
980
980
  ] }),
981
- !hidePlatform && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.Card, { children: [
982
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardTitle, { children: t("token_usage.admin.platform_by_operation") }) }),
983
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
981
+ !hidePlatform && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.Card, { children: [
982
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardTitle, { children: t("token_usage.admin.platform_by_operation") }) }),
983
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
984
984
  TokenUsageRankedBar,
985
985
  {
986
986
  rows: byOperation,
@@ -991,9 +991,9 @@ function TokenUsageAdminContainer() {
991
991
  ) })
992
992
  ] })
993
993
  ] }),
994
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.Card, { children: [
995
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardTitle, { children: t("token_usage.admin.detail") }) }),
996
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageBreakdownTable, { rows: byCompany, metric: filters.metric }) })
994
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.Card, { children: [
995
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardTitle, { children: t("token_usage.admin.detail") }) }),
996
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageBreakdownTable, { rows: byCompany, metric: filters.metric }) })
997
997
  ] })
998
998
  ] }) });
999
999
  }
@@ -1006,36 +1006,36 @@ function withFilters2(endpoint, filters) {
1006
1006
  return endpoint;
1007
1007
  }
1008
1008
  _chunk7QVYU63Ejs.__name.call(void 0, withFilters2, "withFilters");
1009
- var TokenUsageReportService = class extends _chunkUYLS3LJWjs.AbstractService {
1009
+ var TokenUsageReportService = class extends _chunk6J2SQZ3Gjs.AbstractService {
1010
1010
  static {
1011
1011
  _chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportService");
1012
1012
  }
1013
1013
  /** Two rows: window "current" and "previous". */
1014
1014
  static async getSummary(filters) {
1015
- const endpoint = withFilters2(new (0, _chunkUYLS3LJWjs.EndpointCreator)({ endpoint: _chunkUYLS3LJWjs.Modules.TokenUsageReportSummary }), filters);
1015
+ const endpoint = withFilters2(new (0, _chunk6J2SQZ3Gjs.EndpointCreator)({ endpoint: _chunk6J2SQZ3Gjs.Modules.TokenUsageReportSummary }), filters);
1016
1016
  return this.callApi({
1017
- type: _chunkUYLS3LJWjs.Modules.TokenUsageReportSummary,
1017
+ type: _chunk6J2SQZ3Gjs.Modules.TokenUsageReportSummary,
1018
1018
  method: "GET" /* GET */,
1019
1019
  endpoint: endpoint.generate()
1020
1020
  });
1021
1021
  }
1022
1022
  static async getTimeline(params) {
1023
- const endpoint = withFilters2(new (0, _chunkUYLS3LJWjs.EndpointCreator)({ endpoint: _chunkUYLS3LJWjs.Modules.TokenUsageReportTimeline }), params);
1023
+ const endpoint = withFilters2(new (0, _chunk6J2SQZ3Gjs.EndpointCreator)({ endpoint: _chunk6J2SQZ3Gjs.Modules.TokenUsageReportTimeline }), params);
1024
1024
  endpoint.addAdditionalParam("granularity", params.granularity);
1025
1025
  return this.callApi({
1026
- type: _chunkUYLS3LJWjs.Modules.TokenUsageReportTimeline,
1026
+ type: _chunk6J2SQZ3Gjs.Modules.TokenUsageReportTimeline,
1027
1027
  method: "GET" /* GET */,
1028
1028
  endpoint: endpoint.generate()
1029
1029
  });
1030
1030
  }
1031
1031
  static async getBreakdown(params) {
1032
- const endpoint = withFilters2(new (0, _chunkUYLS3LJWjs.EndpointCreator)({ endpoint: _chunkUYLS3LJWjs.Modules.TokenUsageReportBreakdown }), params);
1032
+ const endpoint = withFilters2(new (0, _chunk6J2SQZ3Gjs.EndpointCreator)({ endpoint: _chunk6J2SQZ3Gjs.Modules.TokenUsageReportBreakdown }), params);
1033
1033
  endpoint.addAdditionalParam("dimension", params.dimension);
1034
1034
  if (params.targetLabel) endpoint.addAdditionalParam("targetLabel", params.targetLabel);
1035
1035
  endpoint.addAdditionalParam("metric", params.metric);
1036
1036
  if (params.limit !== void 0) endpoint.addAdditionalParam("limit", String(params.limit));
1037
1037
  return this.callApi({
1038
- type: _chunkUYLS3LJWjs.Modules.TokenUsageReportBreakdown,
1038
+ type: _chunk6J2SQZ3Gjs.Modules.TokenUsageReportBreakdown,
1039
1039
  method: "GET" /* GET */,
1040
1040
  endpoint: endpoint.generate()
1041
1041
  });
@@ -1113,8 +1113,8 @@ var TOKEN_USAGE_REPORT_I18N_KEYS = [
1113
1113
  // src/features/tokenusage/components/TokenUsageReportFilterBar.tsx
1114
1114
 
1115
1115
  function TokenUsageReportFilterBar({ onChange }) {
1116
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1117
- _chunkDOLEXUO3js.DateRangeSelector,
1116
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-help": "tokenusage.filters", className: "flex flex-wrap items-center gap-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1117
+ _chunkYN4LOVL4js.DateRangeSelector,
1118
1118
  {
1119
1119
  onDateChange: (range) => {
1120
1120
  if (!_optionalChain([range, 'optionalAccess', _10 => _10.from]) || !_optionalChain([range, 'optionalAccess', _11 => _11.to])) return;
@@ -1147,7 +1147,7 @@ var TokenUsageReportProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
1147
1147
  pageUrl = TOKEN_USAGE_REPORT_PAGE_URL
1148
1148
  }) => {
1149
1149
  const t = _nextintl.useTranslations.call(void 0, );
1150
- const generateUrl = _chunkDOLEXUO3js.usePageUrlGenerator.call(void 0, );
1150
+ const generateUrl = _chunkYN4LOVL4js.usePageUrlGenerator.call(void 0, );
1151
1151
  const [filters, setFilterState] = _react.useState.call(void 0, () => {
1152
1152
  const range = defaultRange2();
1153
1153
  return { from: _nullishCoalesce(initialFrom, () => ( range.from)), to: _nullishCoalesce(initialTo, () => ( range.to)) };
@@ -1211,7 +1211,7 @@ var TokenUsageReportProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
1211
1211
  () => ({ summary, timeline, byOperation, byTarget, targetPanelTitleKey, filters, setFilters, isLoading, error }),
1212
1212
  [summary, timeline, byOperation, byTarget, targetPanelTitleKey, filters, setFilters, isLoading, error]
1213
1213
  );
1214
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.SharedProvider, { value: { breadcrumbs: breadcrumb(), title: title() }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageReportContext.Provider, { value: contextValue, children }) });
1214
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.SharedProvider, { value: { breadcrumbs: breadcrumb(), title: title() }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageReportContext.Provider, { value: contextValue, children }) });
1215
1215
  }, "TokenUsageReportProvider");
1216
1216
  var useTokenUsageReport = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
1217
1217
  const ctx = _react.useContext.call(void 0, TokenUsageReportContext);
@@ -1239,7 +1239,7 @@ function TokenUsageReportTiles({ summary, metric, balances }) {
1239
1239
  const monthlyColor = monthlyPercentage > 75 ? "text-success" : monthlyPercentage >= 5 ? "text-warning" : "text-destructive";
1240
1240
  const whole = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (value) => decimal(Math.max(0, Math.floor(value)), 0), "whole");
1241
1241
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid gap-3", children: [
1242
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.Card, { "data-testid": "tile-used", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.CardContent, { className: "grid gap-1", children: [
1242
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.Card, { "data-testid": "tile-used", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.CardContent, { className: "grid gap-1", children: [
1243
1243
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground text-xs", children: t("token_usage.report.used_in_period") }),
1244
1244
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-primary text-xl font-semibold tabular-nums", children: formatValue(metricValue(current, metric), metric) }),
1245
1245
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1", children: [
@@ -1255,21 +1255,21 @@ function TokenUsageReportTiles({ summary, metric, balances }) {
1255
1255
  ] })
1256
1256
  ] }) }),
1257
1257
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid gap-3 sm:grid-cols-3", children: [
1258
- balances && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.Card, { "data-testid": "tile-monthly", size: "sm", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.CardContent, { className: "grid gap-1", children: [
1258
+ balances && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.Card, { "data-testid": "tile-monthly", size: "sm", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.CardContent, { className: "grid gap-1", children: [
1259
1259
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground text-xs", children: t("token_usage.report.monthly_left") }),
1260
1260
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-baseline gap-1", children: [
1261
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-testid": "tile-monthly-value", className: _chunkUYLS3LJWjs.cn.call(void 0, "text-sm font-medium tabular-nums", monthlyColor), children: whole(balances.availableMonthlyCredits) }),
1261
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-testid": "tile-monthly-value", className: _chunk6J2SQZ3Gjs.cn.call(void 0, "text-sm font-medium tabular-nums", monthlyColor), children: whole(balances.availableMonthlyCredits) }),
1262
1262
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-muted-foreground text-xs tabular-nums", children: [
1263
1263
  "/ ",
1264
1264
  whole(balances.monthlyCredits)
1265
1265
  ] })
1266
1266
  ] })
1267
1267
  ] }) }),
1268
- balances && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.Card, { "data-testid": "tile-extra", size: "sm", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.CardContent, { className: "grid gap-1", children: [
1268
+ balances && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.Card, { "data-testid": "tile-extra", size: "sm", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.CardContent, { className: "grid gap-1", children: [
1269
1269
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground text-xs", children: t("token_usage.report.extra_credits") }),
1270
1270
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-sm font-medium tabular-nums", children: whole(balances.availableExtraCredits) })
1271
1271
  ] }) }),
1272
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.Card, { "data-testid": "tile-calls", size: "sm", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.CardContent, { className: "grid gap-1", children: [
1272
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.Card, { "data-testid": "tile-calls", size: "sm", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.CardContent, { className: "grid gap-1", children: [
1273
1273
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground text-xs", children: t("token_usage.report.calls") }),
1274
1274
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-sm font-medium tabular-nums", children: decimal(current.calls, 0) })
1275
1275
  ] }) })
@@ -1291,7 +1291,7 @@ function Delta2({
1291
1291
  "span",
1292
1292
  {
1293
1293
  "data-testid": testId,
1294
- className: _chunkUYLS3LJWjs.cn.call(void 0,
1294
+ className: _chunk6J2SQZ3Gjs.cn.call(void 0,
1295
1295
  "inline-flex items-center gap-0.5 text-xs tabular-nums",
1296
1296
  increased ? "text-warning" : "text-success"
1297
1297
  ),
@@ -1311,21 +1311,21 @@ function TokenUsageReportContainer({ balances = null }) {
1311
1311
  const t = _nextintl.useTranslations.call(void 0, );
1312
1312
  const { summary, timeline, byOperation, byTarget, isLoading, error, targetPanelTitleKey } = useTokenUsageReport();
1313
1313
  if (error) {
1314
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.RoundPageContainer, { fullWidth: true, forceHeader: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-destructive text-xs/relaxed", children: error }) }) }) }) });
1314
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.RoundPageContainer, { fullWidth: true, forceHeader: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-destructive text-xs/relaxed", children: error }) }) }) }) });
1315
1315
  }
1316
- if (isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.RoundPageContainer, { fullWidth: true, forceHeader: true });
1316
+ if (isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.RoundPageContainer, { fullWidth: true, forceHeader: true });
1317
1317
  const emptyLabel = t("token_usage.report.no_data");
1318
1318
  const targetTitle = targetPanelTitleKey && byTarget.length > 0 ? t(targetPanelTitleKey) : void 0;
1319
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.RoundPageContainer, { fullWidth: true, forceHeader: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-4 p-4", children: [
1319
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.RoundPageContainer, { fullWidth: true, forceHeader: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-4 p-4", children: [
1320
1320
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageReportTiles, { summary, metric: "credits", balances }),
1321
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.Card, { children: [
1322
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardTitle, { children: t("token_usage.report.usage_over_time") }) }),
1323
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageTimelineChart, { rows: timeline, metric: "credits", stackBy: "type" }) })
1321
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.Card, { children: [
1322
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardTitle, { children: t("token_usage.report.usage_over_time") }) }),
1323
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageTimelineChart, { rows: timeline, metric: "credits", stackBy: "type" }) })
1324
1324
  ] }),
1325
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUYLS3LJWjs.cn.call(void 0, "grid gap-4", targetTitle && "md:grid-cols-2"), children: [
1326
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.Card, { children: [
1327
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardTitle, { children: t("token_usage.report.by_operation") }) }),
1328
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1325
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6J2SQZ3Gjs.cn.call(void 0, "grid gap-4", targetTitle && "md:grid-cols-2"), children: [
1326
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.Card, { children: [
1327
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardTitle, { children: t("token_usage.report.by_operation") }) }),
1328
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1329
1329
  TokenUsageRankedBar,
1330
1330
  {
1331
1331
  rows: byOperation,
@@ -1335,9 +1335,9 @@ function TokenUsageReportContainer({ balances = null }) {
1335
1335
  }
1336
1336
  ) })
1337
1337
  ] }),
1338
- targetTitle && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOLEXUO3js.Card, { children: [
1339
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardTitle, { children: targetTitle }) }),
1340
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDOLEXUO3js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageRankedBar, { rows: byTarget, metric: "credits", emptyLabel }) })
1338
+ targetTitle && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYN4LOVL4js.Card, { children: [
1339
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardTitle, { children: targetTitle }) }),
1340
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYN4LOVL4js.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageRankedBar, { rows: byTarget, metric: "credits", emptyLabel }) })
1341
1341
  ] })
1342
1342
  ] })
1343
1343
  ] }) });
@@ -1375,5 +1375,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, TokenUsageReportContainer, "TokenUsageRepor
1375
1375
 
1376
1376
 
1377
1377
 
1378
- exports.TOKEN_USAGE_ADMIN_I18N_KEYS = TOKEN_USAGE_ADMIN_I18N_KEYS; exports.TOKEN_USAGE_REPORT_I18N_KEYS = TOKEN_USAGE_REPORT_I18N_KEYS; exports.TokenUsageAdminBreakdown = _chunkUYLS3LJWjs.TokenUsageAdminBreakdown; exports.TokenUsageAdminBreakdownModule = _chunkUYLS3LJWjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminContainer = TokenUsageAdminContainer; exports.TokenUsageAdminFilterBar = TokenUsageAdminFilterBar; exports.TokenUsageAdminProvider = TokenUsageAdminProvider; exports.TokenUsageAdminService = TokenUsageAdminService; exports.TokenUsageAdminSummary = _chunkUYLS3LJWjs.TokenUsageAdminSummary; exports.TokenUsageAdminSummaryModule = _chunkUYLS3LJWjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTiles = TokenUsageAdminTiles; exports.TokenUsageAdminTimeline = _chunkUYLS3LJWjs.TokenUsageAdminTimeline; exports.TokenUsageAdminTimelineModule = _chunkUYLS3LJWjs.TokenUsageAdminTimelineModule; exports.TokenUsageBreakdownTable = TokenUsageBreakdownTable; exports.TokenUsageRankedBar = TokenUsageRankedBar; exports.TokenUsageReportBreakdown = _chunkUYLS3LJWjs.TokenUsageReportBreakdown; exports.TokenUsageReportContainer = TokenUsageReportContainer; exports.TokenUsageReportFilterBar = TokenUsageReportFilterBar; exports.TokenUsageReportProvider = TokenUsageReportProvider; exports.TokenUsageReportService = TokenUsageReportService; exports.TokenUsageReportSummary = _chunkUYLS3LJWjs.TokenUsageReportSummary; exports.TokenUsageReportTiles = TokenUsageReportTiles; exports.TokenUsageReportTimeline = _chunkUYLS3LJWjs.TokenUsageReportTimeline; exports.TokenUsageTimelineChart = TokenUsageTimelineChart; exports.configureTokenUsage = _chunkUYLS3LJWjs.configureTokenUsage; exports.createUsageFormatters = createUsageFormatters; exports.getTokenUsageCurrency = _chunkUYLS3LJWjs.getTokenUsageCurrency; exports.tokenUsageModules = _chunkUYLS3LJWjs.tokenUsageModules; exports.useTokenUsageAdmin = useTokenUsageAdmin; exports.useTokenUsageReport = useTokenUsageReport; exports.useUsageFormatters = useUsageFormatters;
1378
+ exports.TOKEN_USAGE_ADMIN_I18N_KEYS = TOKEN_USAGE_ADMIN_I18N_KEYS; exports.TOKEN_USAGE_REPORT_I18N_KEYS = TOKEN_USAGE_REPORT_I18N_KEYS; exports.TokenUsageAdminBreakdown = _chunk6J2SQZ3Gjs.TokenUsageAdminBreakdown; exports.TokenUsageAdminBreakdownModule = _chunk6J2SQZ3Gjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminContainer = TokenUsageAdminContainer; exports.TokenUsageAdminFilterBar = TokenUsageAdminFilterBar; exports.TokenUsageAdminProvider = TokenUsageAdminProvider; exports.TokenUsageAdminService = TokenUsageAdminService; exports.TokenUsageAdminSummary = _chunk6J2SQZ3Gjs.TokenUsageAdminSummary; exports.TokenUsageAdminSummaryModule = _chunk6J2SQZ3Gjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTiles = TokenUsageAdminTiles; exports.TokenUsageAdminTimeline = _chunk6J2SQZ3Gjs.TokenUsageAdminTimeline; exports.TokenUsageAdminTimelineModule = _chunk6J2SQZ3Gjs.TokenUsageAdminTimelineModule; exports.TokenUsageBreakdownTable = TokenUsageBreakdownTable; exports.TokenUsageRankedBar = TokenUsageRankedBar; exports.TokenUsageReportBreakdown = _chunk6J2SQZ3Gjs.TokenUsageReportBreakdown; exports.TokenUsageReportContainer = TokenUsageReportContainer; exports.TokenUsageReportFilterBar = TokenUsageReportFilterBar; exports.TokenUsageReportProvider = TokenUsageReportProvider; exports.TokenUsageReportService = TokenUsageReportService; exports.TokenUsageReportSummary = _chunk6J2SQZ3Gjs.TokenUsageReportSummary; exports.TokenUsageReportTiles = TokenUsageReportTiles; exports.TokenUsageReportTimeline = _chunk6J2SQZ3Gjs.TokenUsageReportTimeline; exports.TokenUsageTimelineChart = TokenUsageTimelineChart; exports.configureTokenUsage = _chunk6J2SQZ3Gjs.configureTokenUsage; exports.createUsageFormatters = createUsageFormatters; exports.getTokenUsageCurrency = _chunk6J2SQZ3Gjs.getTokenUsageCurrency; exports.tokenUsageModules = _chunk6J2SQZ3Gjs.tokenUsageModules; exports.useTokenUsageAdmin = useTokenUsageAdmin; exports.useTokenUsageReport = useTokenUsageReport; exports.useUsageFormatters = useUsageFormatters;
1379
1379
  //# sourceMappingURL=index.js.map