@carlonicora/nextjs-jsonapi 2.2.1 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlockNoteEditor-2LGNETXD.mjs → BlockNoteEditor-ADT6II2V.mjs} +5 -5
- package/dist/{BlockNoteEditor-EAEGUVFI.js → BlockNoteEditor-QTIDATPF.js} +20 -20
- package/dist/{BlockNoteEditor-EAEGUVFI.js.map → BlockNoteEditor-QTIDATPF.js.map} +1 -1
- package/dist/{JsonApiRequest-F5LBESSA.mjs → JsonApiRequest-3UWVIIFL.mjs} +2 -2
- package/dist/JsonApiRequest-QRU3IPIU.js +26 -0
- package/dist/{JsonApiRequest-YAPUG4ND.js.map → JsonApiRequest-QRU3IPIU.js.map} +1 -1
- package/dist/billing/index.js +447 -447
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/index.mjs +62 -62
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{chunk-B34NBMKV.mjs → chunk-7DJOQTNN.mjs} +3 -3
- package/dist/{chunk-R57FRJ6H.mjs → chunk-DLTMYGLR.mjs} +5 -5
- package/dist/{chunk-Z2CB63VG.mjs → chunk-E5YA5Z5X.mjs} +2 -2
- package/dist/chunk-E5YA5Z5X.mjs.map +1 -0
- package/dist/{chunk-4I2W336O.js → chunk-F3BPNQDB.js} +737 -737
- package/dist/{chunk-4I2W336O.js.map → chunk-F3BPNQDB.js.map} +1 -1
- package/dist/{chunk-QWCAOLBD.js → chunk-FPO4DLZN.js} +12 -12
- package/dist/{chunk-QWCAOLBD.js.map → chunk-FPO4DLZN.js.map} +1 -1
- package/dist/{chunk-DQJ5C5TV.js → chunk-KSU6CCW6.js} +30 -30
- package/dist/{chunk-DQJ5C5TV.js.map → chunk-KSU6CCW6.js.map} +1 -1
- package/dist/{chunk-BLKR2Q7F.js → chunk-LANOKEFZ.js} +9 -9
- package/dist/{chunk-BLKR2Q7F.js.map → chunk-LANOKEFZ.js.map} +1 -1
- package/dist/{chunk-OC7F4L7K.mjs → chunk-YEPE2HT6.mjs} +6 -6
- package/dist/client/index.js +5 -5
- package/dist/client/index.mjs +4 -4
- package/dist/components/index.js +5 -5
- package/dist/components/index.mjs +4 -4
- package/dist/contexts/index.js +5 -5
- package/dist/contexts/index.mjs +4 -4
- package/dist/core/index.js +3 -3
- package/dist/core/index.mjs +2 -2
- package/dist/features/help/index.js +38 -38
- package/dist/features/help/index.mjs +4 -4
- package/dist/features/tokenusage/index.js +72 -72
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/server/index.js +12 -12
- package/dist/server/index.mjs +2 -2
- package/package.json +1 -1
- package/src/core/utils/__tests__/translateResponse.test.ts +64 -0
- package/src/core/utils/translateResponse.ts +4 -1
- package/src/features/billing/components/containers/BillingDashboardContainer.tsx +71 -68
- package/dist/JsonApiRequest-YAPUG4ND.js +0 -26
- package/dist/chunk-Z2CB63VG.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-2LGNETXD.mjs.map → BlockNoteEditor-ADT6II2V.mjs.map} +0 -0
- /package/dist/{JsonApiRequest-F5LBESSA.mjs.map → JsonApiRequest-3UWVIIFL.mjs.map} +0 -0
- /package/dist/{chunk-B34NBMKV.mjs.map → chunk-7DJOQTNN.mjs.map} +0 -0
- /package/dist/{chunk-R57FRJ6H.mjs.map → chunk-DLTMYGLR.mjs.map} +0 -0
- /package/dist/{chunk-OC7F4L7K.mjs.map → chunk-YEPE2HT6.mjs.map} +0 -0
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
30
|
-
require('../../chunk-
|
|
29
|
+
var _chunkF3BPNQDBjs = require('../../chunk-F3BPNQDB.js');
|
|
30
|
+
require('../../chunk-LANOKEFZ.js');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
@@ -39,10 +39,10 @@ require('../../chunk-BLKR2Q7F.js');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkKSU6CCW6js = require('../../chunk-KSU6CCW6.js');
|
|
43
43
|
require('../../chunk-LXKSUWAV.js');
|
|
44
44
|
require('../../chunk-IBS6NI7D.js');
|
|
45
|
-
require('../../chunk-
|
|
45
|
+
require('../../chunk-FPO4DLZN.js');
|
|
46
46
|
require('../../chunk-3EPNHTMH.js');
|
|
47
47
|
|
|
48
48
|
|
|
@@ -64,7 +64,7 @@ function TokenUsageAdminFilterBar({ granularity, companyId, metric, companies, o
|
|
|
64
64
|
};
|
|
65
65
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
66
66
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
67
|
-
|
|
67
|
+
_chunkF3BPNQDBjs.DateRangeSelector,
|
|
68
68
|
{
|
|
69
69
|
onDateChange: (range) => {
|
|
70
70
|
if (!_optionalChain([range, 'optionalAccess', _ => _.from]) || !_optionalChain([range, 'optionalAccess', _2 => _2.to])) return;
|
|
@@ -99,16 +99,16 @@ function TokenUsageAdminFilterBar({ granularity, companyId, metric, companies, o
|
|
|
99
99
|
}
|
|
100
100
|
),
|
|
101
101
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
102
|
-
|
|
102
|
+
_chunkF3BPNQDBjs.Select,
|
|
103
103
|
{
|
|
104
104
|
items: companyItems,
|
|
105
105
|
value: _nullishCoalesce(companyId, () => ( ALL_COMPANIES)),
|
|
106
106
|
onValueChange: (value) => onChange({ companyId: !value || value === ALL_COMPANIES ? void 0 : value }),
|
|
107
107
|
children: [
|
|
108
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
109
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
110
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
111
|
-
companies.map((company) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
108
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.SelectTrigger, { className: "w-56", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.SelectValue, { placeholder: t("token_usage.admin.all_companies") }) }),
|
|
109
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF3BPNQDBjs.SelectContent, { children: [
|
|
110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.SelectItem, { value: ALL_COMPANIES, children: t("token_usage.admin.all_companies") }),
|
|
111
|
+
companies.map((company) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.SelectItem, { value: company.id, children: company.label }, company.id))
|
|
112
112
|
] })
|
|
113
113
|
]
|
|
114
114
|
}
|
|
@@ -131,13 +131,13 @@ function Segmented({
|
|
|
131
131
|
children: options.map((option) => {
|
|
132
132
|
const selected = option.value === value;
|
|
133
133
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
134
|
-
|
|
134
|
+
_chunkF3BPNQDBjs.Button,
|
|
135
135
|
{
|
|
136
136
|
type: "button",
|
|
137
137
|
size: "sm",
|
|
138
138
|
variant: selected ? "default" : "ghost",
|
|
139
139
|
"aria-pressed": selected,
|
|
140
|
-
className:
|
|
140
|
+
className: _chunkKSU6CCW6js.cn.call(void 0, !selected && "text-muted-foreground"),
|
|
141
141
|
onClick: () => onSelect(option.value),
|
|
142
142
|
children: option.label
|
|
143
143
|
},
|
|
@@ -157,36 +157,36 @@ function withFilters(endpoint, filters) {
|
|
|
157
157
|
return endpoint;
|
|
158
158
|
}
|
|
159
159
|
_chunk7QVYU63Ejs.__name.call(void 0, withFilters, "withFilters");
|
|
160
|
-
var TokenUsageAdminService = class extends
|
|
160
|
+
var TokenUsageAdminService = class extends _chunkKSU6CCW6js.AbstractService {
|
|
161
161
|
static {
|
|
162
162
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminService");
|
|
163
163
|
}
|
|
164
164
|
/** Six rows: {customer, platform, total} × {current, previous}. */
|
|
165
165
|
static async getSummary(filters) {
|
|
166
|
-
const endpoint = withFilters(new (0,
|
|
166
|
+
const endpoint = withFilters(new (0, _chunkKSU6CCW6js.EndpointCreator)({ endpoint: _chunkKSU6CCW6js.Modules.TokenUsageAdminSummary }), filters);
|
|
167
167
|
return this.callApi({
|
|
168
|
-
type:
|
|
168
|
+
type: _chunkKSU6CCW6js.Modules.TokenUsageAdminSummary,
|
|
169
169
|
method: "GET" /* GET */,
|
|
170
170
|
endpoint: endpoint.generate()
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
173
|
static async getTimeline(params) {
|
|
174
|
-
const endpoint = withFilters(new (0,
|
|
174
|
+
const endpoint = withFilters(new (0, _chunkKSU6CCW6js.EndpointCreator)({ endpoint: _chunkKSU6CCW6js.Modules.TokenUsageAdminTimeline }), params);
|
|
175
175
|
endpoint.addAdditionalParam("granularity", params.granularity);
|
|
176
176
|
endpoint.addAdditionalParam("stackBy", params.stackBy);
|
|
177
177
|
return this.callApi({
|
|
178
|
-
type:
|
|
178
|
+
type: _chunkKSU6CCW6js.Modules.TokenUsageAdminTimeline,
|
|
179
179
|
method: "GET" /* GET */,
|
|
180
180
|
endpoint: endpoint.generate()
|
|
181
181
|
});
|
|
182
182
|
}
|
|
183
183
|
static async getBreakdown(params) {
|
|
184
|
-
const endpoint = withFilters(new (0,
|
|
184
|
+
const endpoint = withFilters(new (0, _chunkKSU6CCW6js.EndpointCreator)({ endpoint: _chunkKSU6CCW6js.Modules.TokenUsageAdminBreakdown }), params);
|
|
185
185
|
endpoint.addAdditionalParam("dimension", params.dimension);
|
|
186
186
|
endpoint.addAdditionalParam("scope", params.scope);
|
|
187
187
|
if (params.limit !== void 0) endpoint.addAdditionalParam("limit", String(params.limit));
|
|
188
188
|
return this.callApi({
|
|
189
|
-
type:
|
|
189
|
+
type: _chunkKSU6CCW6js.Modules.TokenUsageAdminBreakdown,
|
|
190
190
|
method: "GET" /* GET */,
|
|
191
191
|
endpoint: endpoint.generate()
|
|
192
192
|
});
|
|
@@ -212,7 +212,7 @@ var TokenUsageAdminProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
212
212
|
topN = DEFAULT_TOP_N
|
|
213
213
|
}) => {
|
|
214
214
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
215
|
-
const generateUrl =
|
|
215
|
+
const generateUrl = _chunkF3BPNQDBjs.usePageUrlGenerator.call(void 0, );
|
|
216
216
|
const [filters, setFilterState] = _react.useState.call(void 0, () => {
|
|
217
217
|
const range = defaultRange();
|
|
218
218
|
return {
|
|
@@ -330,7 +330,7 @@ var TokenUsageAdminProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
330
330
|
error
|
|
331
331
|
]
|
|
332
332
|
);
|
|
333
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
333
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.SharedProvider, { value: { breadcrumbs: breadcrumb(), title: title() }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageAdminContext.Provider, { value: contextValue, children }) });
|
|
334
334
|
}, "TokenUsageAdminProvider");
|
|
335
335
|
var useTokenUsageAdmin = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
336
336
|
const ctx = _react.useContext.call(void 0, TokenUsageAdminContext);
|
|
@@ -399,7 +399,7 @@ function TokenUsageAdminTiles({ summary, metric, singleCustomerMode }) {
|
|
|
399
399
|
const averagePerCall = totalCurrent.calls ? totalCurrent.cost / totalCurrent.calls : 0;
|
|
400
400
|
const cacheHit = cacheHitPercentage(totalCurrent.cached, totalCurrent.tokensIn);
|
|
401
401
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid gap-3", children: [
|
|
402
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
402
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkKSU6CCW6js.cn.call(void 0, "grid gap-3", singleCustomerMode ? "sm:grid-cols-1" : "sm:grid-cols-2"), children: [
|
|
403
403
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
404
404
|
LeadTile,
|
|
405
405
|
{
|
|
@@ -458,7 +458,7 @@ function LeadTile({
|
|
|
458
458
|
delta,
|
|
459
459
|
previousLabel
|
|
460
460
|
}) {
|
|
461
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
461
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.Card, { "data-testid": testId, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF3BPNQDBjs.CardContent, { className: "grid gap-1", children: [
|
|
462
462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground text-xs", children: label }),
|
|
463
463
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-primary text-xl font-semibold tabular-nums", children: value }),
|
|
464
464
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1", children: [
|
|
@@ -474,7 +474,7 @@ function SupportingTile({
|
|
|
474
474
|
value,
|
|
475
475
|
delta
|
|
476
476
|
}) {
|
|
477
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
477
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.Card, { "data-testid": testId, size: "sm", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF3BPNQDBjs.CardContent, { className: "grid gap-1", children: [
|
|
478
478
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground text-xs", children: label }),
|
|
479
479
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
|
|
480
480
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-sm font-medium tabular-nums", children: value }),
|
|
@@ -493,7 +493,7 @@ function Delta({ testId, delta }) {
|
|
|
493
493
|
"span",
|
|
494
494
|
{
|
|
495
495
|
"data-testid": testId,
|
|
496
|
-
className:
|
|
496
|
+
className: _chunkKSU6CCW6js.cn.call(void 0,
|
|
497
497
|
"inline-flex items-center gap-0.5 text-xs tabular-nums",
|
|
498
498
|
increased ? "text-success" : "text-destructive"
|
|
499
499
|
),
|
|
@@ -566,13 +566,13 @@ function TokenUsageBreakdownTable({ rows, metric }) {
|
|
|
566
566
|
// The package's <Table> wraps itself in an `overflow-x-clip` container, which
|
|
567
567
|
// would swallow the overflow before this scroller ever saw it — hence the
|
|
568
568
|
// child override. Wide metric tables must scroll, never widen the page.
|
|
569
|
-
/* @__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,
|
|
570
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
569
|
+
/* @__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, _chunkF3BPNQDBjs.Table, { children: [
|
|
570
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableRow, { children: columns.map((column) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableHead, { className: _chunkKSU6CCW6js.cn.call(void 0, column.numeric && "text-right"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
571
571
|
"button",
|
|
572
572
|
{
|
|
573
573
|
type: "button",
|
|
574
574
|
onClick: () => toggleSort(column.key),
|
|
575
|
-
className:
|
|
575
|
+
className: _chunkKSU6CCW6js.cn.call(void 0,
|
|
576
576
|
"hover:text-primary inline-flex items-center gap-1 text-xs font-medium",
|
|
577
577
|
column.numeric && "flex-row-reverse"
|
|
578
578
|
),
|
|
@@ -582,20 +582,20 @@ function TokenUsageBreakdownTable({ rows, metric }) {
|
|
|
582
582
|
]
|
|
583
583
|
}
|
|
584
584
|
) }, column.key)) }) }),
|
|
585
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableBody, { children: sortedRows.map((row) => {
|
|
586
586
|
const value = metricValue(row, metric);
|
|
587
587
|
const share = total > 0 ? value / total * 100 : 0;
|
|
588
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
589
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
590
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
591
|
-
showActiveUsers && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
592
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
593
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
594
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
595
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
596
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
598
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
588
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF3BPNQDBjs.TableRow, { "data-testid": `breakdown-row-${row.id}`, children: [
|
|
589
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableCell, { className: "text-xs", children: row.id === "other" ? t("token_usage.admin.other") : row.label }),
|
|
590
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableCell, { className: "text-muted-foreground text-xs", children: _nullishCoalesce(row.sublabel, () => ( "")) }),
|
|
591
|
+
showActiveUsers && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableCell, { className: "text-right text-xs tabular-nums", children: row.activeUsers === void 0 ? "" : formatDecimal(row.activeUsers, 0) }),
|
|
592
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableCell, { className: "text-right text-xs tabular-nums", children: formatDecimal(row.calls, 0) }),
|
|
593
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableCell, { className: "text-right text-xs tabular-nums", children: formatDecimal(row.tokensIn, 0) }),
|
|
594
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableCell, { className: "text-right text-xs tabular-nums", children: formatDecimal(row.tokensOut, 0) }),
|
|
595
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableCell, { className: "text-right text-xs tabular-nums", children: formatPercent(cacheHitPercentage(row.cached, row.tokensIn)) }),
|
|
596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableCell, { className: "text-right text-xs tabular-nums", children: formatMetricValue(row.cost, "cost") }),
|
|
597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableCell, { className: "text-right text-xs tabular-nums", children: formatMetricValue(row.credits, "credits") }),
|
|
598
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.TableCell, { className: "text-right text-xs tabular-nums", children: formatPercent(share) })
|
|
599
599
|
] }, row.id);
|
|
600
600
|
}) })
|
|
601
601
|
] }) })
|
|
@@ -789,7 +789,7 @@ function TokenUsageTimelineChart({ rows, metric, stackBy, className }) {
|
|
|
789
789
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className, children: [
|
|
790
790
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", "data-testid": "timeline-data", children: JSON.stringify(chartData) }),
|
|
791
791
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", "data-testid": "timeline-series", children: JSON.stringify(seriesKeys) }),
|
|
792
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
792
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.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: [
|
|
793
793
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _recharts.CartesianGrid, { vertical: false }),
|
|
794
794
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
795
795
|
_recharts.XAxis,
|
|
@@ -813,17 +813,17 @@ function TokenUsageTimelineChart({ rows, metric, stackBy, className }) {
|
|
|
813
813
|
}
|
|
814
814
|
),
|
|
815
815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
816
|
-
|
|
816
|
+
_chunkF3BPNQDBjs.ChartTooltip,
|
|
817
817
|
{
|
|
818
818
|
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
819
|
-
|
|
819
|
+
_chunkF3BPNQDBjs.ChartTooltipContent,
|
|
820
820
|
{
|
|
821
821
|
labelFormatter: (value) => formatBucket.format(/* @__PURE__ */ new Date(`${String(value)}T00:00:00.000Z`))
|
|
822
822
|
}
|
|
823
823
|
)
|
|
824
824
|
}
|
|
825
825
|
),
|
|
826
|
-
seriesKeys.length >= 2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
826
|
+
seriesKeys.length >= 2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.ChartLegend, { content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.ChartLegendContent, {}) }) : null,
|
|
827
827
|
seriesKeys.map((series, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
828
828
|
_recharts.Bar,
|
|
829
829
|
{
|
|
@@ -869,19 +869,19 @@ function TokenUsageAdminContainer() {
|
|
|
869
869
|
[t]
|
|
870
870
|
);
|
|
871
871
|
if (error) {
|
|
872
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
872
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.RoundPageContainer, { fullWidth: true, forceHeader: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-destructive text-xs/relaxed", children: error }) }) }) }) });
|
|
873
873
|
}
|
|
874
|
-
if (isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
874
|
+
if (isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.RoundPageContainer, { fullWidth: true, forceHeader: true });
|
|
875
875
|
const emptyLabel = t("token_usage.admin.no_data");
|
|
876
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
876
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.RoundPageContainer, { fullWidth: true, forceHeader: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-4 p-4", children: [
|
|
877
877
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageAdminTiles, { summary, metric: filters.metric, singleCustomerMode }),
|
|
878
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
879
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
880
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
878
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF3BPNQDBjs.Card, { children: [
|
|
879
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF3BPNQDBjs.CardHeader, { children: [
|
|
880
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardTitle, { children: t("token_usage.admin.usage_over_time") }),
|
|
881
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardAction, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
882
882
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground text-xs", children: t("token_usage.admin.stack_by") }),
|
|
883
883
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
884
|
-
|
|
884
|
+
_chunkF3BPNQDBjs.Select,
|
|
885
885
|
{
|
|
886
886
|
items: stackByItems,
|
|
887
887
|
value: filters.stackBy,
|
|
@@ -889,29 +889,29 @@ function TokenUsageAdminContainer() {
|
|
|
889
889
|
if (value) setFilters({ stackBy: value });
|
|
890
890
|
},
|
|
891
891
|
children: [
|
|
892
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
893
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
892
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.SelectTrigger, { size: "sm", className: "w-36", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.SelectValue, {}) }),
|
|
893
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.SelectContent, { children: STACK_BY_VALUES.map((value) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.SelectItem, { value, children: stackByItems[value] }, value)) })
|
|
894
894
|
]
|
|
895
895
|
}
|
|
896
896
|
)
|
|
897
897
|
] }) })
|
|
898
898
|
] }),
|
|
899
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
899
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageTimelineChart, { rows: timeline, metric: filters.metric, stackBy: filters.stackBy }) })
|
|
900
900
|
] }),
|
|
901
901
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid gap-4 md:grid-cols-2", children: [
|
|
902
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
903
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
902
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF3BPNQDBjs.Card, { children: [
|
|
903
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardTitle, { children: t("token_usage.admin.by_company") }) }),
|
|
904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageRankedBar, { rows: byCompany, metric: filters.metric, emptyLabel }) })
|
|
905
905
|
] }),
|
|
906
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
907
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
906
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF3BPNQDBjs.Card, { children: [
|
|
907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardTitle, { children: t("token_usage.admin.by_user") }) }),
|
|
908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageRankedBar, { rows: byUser, metric: filters.metric, emptyLabel }) })
|
|
909
909
|
] })
|
|
910
910
|
] }),
|
|
911
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
912
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
914
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
911
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkKSU6CCW6js.cn.call(void 0, "grid gap-4", !singleCustomerMode && "md:grid-cols-2"), children: [
|
|
912
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF3BPNQDBjs.Card, { children: [
|
|
913
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardTitle, { children: t("token_usage.admin.customer_by_operation") }) }),
|
|
914
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
915
915
|
TokenUsageRankedBar,
|
|
916
916
|
{
|
|
917
917
|
rows: byCustomerOperation,
|
|
@@ -921,9 +921,9 @@ function TokenUsageAdminContainer() {
|
|
|
921
921
|
}
|
|
922
922
|
) })
|
|
923
923
|
] }),
|
|
924
|
-
!singleCustomerMode && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
925
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
926
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
924
|
+
!singleCustomerMode && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF3BPNQDBjs.Card, { children: [
|
|
925
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardTitle, { children: t("token_usage.admin.platform_by_operation") }) }),
|
|
926
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
927
927
|
TokenUsageRankedBar,
|
|
928
928
|
{
|
|
929
929
|
rows: byOperation,
|
|
@@ -934,9 +934,9 @@ function TokenUsageAdminContainer() {
|
|
|
934
934
|
) })
|
|
935
935
|
] })
|
|
936
936
|
] }),
|
|
937
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
938
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
939
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
937
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF3BPNQDBjs.Card, { children: [
|
|
938
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardTitle, { children: t("token_usage.admin.detail") }) }),
|
|
939
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF3BPNQDBjs.CardContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenUsageBreakdownTable, { rows: byCompany, metric: filters.metric }) })
|
|
940
940
|
] })
|
|
941
941
|
] }) });
|
|
942
942
|
}
|
|
@@ -1008,5 +1008,5 @@ var TOKEN_USAGE_ADMIN_I18N_KEYS = [
|
|
|
1008
1008
|
|
|
1009
1009
|
|
|
1010
1010
|
|
|
1011
|
-
exports.TOKEN_USAGE_ADMIN_I18N_KEYS = TOKEN_USAGE_ADMIN_I18N_KEYS; exports.TokenUsageAdminBreakdown =
|
|
1011
|
+
exports.TOKEN_USAGE_ADMIN_I18N_KEYS = TOKEN_USAGE_ADMIN_I18N_KEYS; exports.TokenUsageAdminBreakdown = _chunkKSU6CCW6js.TokenUsageAdminBreakdown; exports.TokenUsageAdminBreakdownModule = _chunkKSU6CCW6js.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminContainer = TokenUsageAdminContainer; exports.TokenUsageAdminFilterBar = TokenUsageAdminFilterBar; exports.TokenUsageAdminProvider = TokenUsageAdminProvider; exports.TokenUsageAdminService = TokenUsageAdminService; exports.TokenUsageAdminSummary = _chunkKSU6CCW6js.TokenUsageAdminSummary; exports.TokenUsageAdminSummaryModule = _chunkKSU6CCW6js.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTiles = TokenUsageAdminTiles; exports.TokenUsageAdminTimeline = _chunkKSU6CCW6js.TokenUsageAdminTimeline; exports.TokenUsageAdminTimelineModule = _chunkKSU6CCW6js.TokenUsageAdminTimelineModule; exports.TokenUsageBreakdownTable = TokenUsageBreakdownTable; exports.TokenUsageRankedBar = TokenUsageRankedBar; exports.TokenUsageTimelineChart = TokenUsageTimelineChart; exports.useTokenUsageAdmin = useTokenUsageAdmin;
|
|
1012
1012
|
//# sourceMappingURL=index.js.map
|
|
@@ -26,8 +26,8 @@ import {
|
|
|
26
26
|
TableHeader,
|
|
27
27
|
TableRow,
|
|
28
28
|
usePageUrlGenerator
|
|
29
|
-
} from "../../chunk-
|
|
30
|
-
import "../../chunk-
|
|
29
|
+
} from "../../chunk-YEPE2HT6.mjs";
|
|
30
|
+
import "../../chunk-7DJOQTNN.mjs";
|
|
31
31
|
import {
|
|
32
32
|
AbstractService,
|
|
33
33
|
EndpointCreator,
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
TokenUsageAdminTimeline,
|
|
40
40
|
TokenUsageAdminTimelineModule,
|
|
41
41
|
cn
|
|
42
|
-
} from "../../chunk-
|
|
42
|
+
} from "../../chunk-DLTMYGLR.mjs";
|
|
43
43
|
import "../../chunk-AUXK7QSA.mjs";
|
|
44
44
|
import "../../chunk-C7C7VY4F.mjs";
|
|
45
|
-
import "../../chunk-
|
|
45
|
+
import "../../chunk-E5YA5Z5X.mjs";
|
|
46
46
|
import "../../chunk-VOXD3ZLY.mjs";
|
|
47
47
|
import {
|
|
48
48
|
__name
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkLANOKEFZjs = require('./chunk-LANOKEFZ.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -215,7 +215,7 @@ var _chunkBLKR2Q7Fjs = require('./chunk-BLKR2Q7F.js');
|
|
|
215
215
|
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
var
|
|
218
|
+
var _chunkKSU6CCW6js = require('./chunk-KSU6CCW6.js');
|
|
219
219
|
require('./chunk-LXKSUWAV.js');
|
|
220
220
|
require('./chunk-IBS6NI7D.js');
|
|
221
221
|
|
|
@@ -228,7 +228,7 @@ require('./chunk-IBS6NI7D.js');
|
|
|
228
228
|
|
|
229
229
|
|
|
230
230
|
|
|
231
|
-
var
|
|
231
|
+
var _chunkFPO4DLZNjs = require('./chunk-FPO4DLZN.js');
|
|
232
232
|
require('./chunk-7QVYU63E.js');
|
|
233
233
|
|
|
234
234
|
|
|
@@ -455,5 +455,5 @@ require('./chunk-7QVYU63E.js');
|
|
|
455
455
|
|
|
456
456
|
|
|
457
457
|
|
|
458
|
-
exports.ACTION_TYPES = _chunkBLKR2Q7Fjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkDQJ5C5TVjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkDQJ5C5TVjs.AbstractApiData; exports.AbstractService = _chunkDQJ5C5TVjs.AbstractService; exports.Action = _chunkDQJ5C5TVjs.Action; exports.Assistant = _chunkDQJ5C5TVjs.Assistant; exports.AssistantAction = _chunkDQJ5C5TVjs.AssistantAction; exports.AssistantActionModule = _chunkDQJ5C5TVjs.AssistantActionModule; exports.AssistantActionService = _chunkDQJ5C5TVjs.AssistantActionService; exports.AssistantMessage = _chunkDQJ5C5TVjs.AssistantMessage; exports.AssistantMessageModule = _chunkDQJ5C5TVjs.AssistantMessageModule; exports.AssistantMessageService = _chunkDQJ5C5TVjs.AssistantMessageService; exports.AssistantModule = _chunkDQJ5C5TVjs.AssistantModule; exports.AssistantService = _chunkDQJ5C5TVjs.AssistantService; exports.AuditLog = _chunkDQJ5C5TVjs.AuditLog; exports.AuditLogModule = _chunkDQJ5C5TVjs.AuditLogModule; exports.AuditLogService = _chunkDQJ5C5TVjs.AuditLogService; exports.Auth = _chunkDQJ5C5TVjs.Auth; exports.AuthComponent = _chunkDQJ5C5TVjs.AuthComponent; exports.AuthModule = _chunkDQJ5C5TVjs.AuthModule; exports.AuthService = _chunkDQJ5C5TVjs.AuthService; exports.AuthorModule = _chunkDQJ5C5TVjs.AuthorModule; exports.BackupCodeVerify = _chunkDQJ5C5TVjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkDQJ5C5TVjs.BackupCodeVerifyModule; exports.Billing = _chunkDQJ5C5TVjs.Billing; exports.BillingModule = _chunkDQJ5C5TVjs.BillingModule; exports.BillingService = _chunkDQJ5C5TVjs.BillingService; exports.BlockNoteDiffUtil = _chunkDQJ5C5TVjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkDQJ5C5TVjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkBLKR2Q7Fjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkDQJ5C5TVjs.Chunk; exports.ChunkModule = _chunkDQJ5C5TVjs.ChunkModule; exports.ClientAbstractService = _chunkDQJ5C5TVjs.ClientAbstractService; exports.ClientHttpMethod = _chunkDQJ5C5TVjs.ClientHttpMethod; exports.Company = _chunkDQJ5C5TVjs.Company; exports.CompanyFields = _chunkDQJ5C5TVjs.CompanyFields; exports.CompanyModule = _chunkDQJ5C5TVjs.CompanyModule; exports.CompanyService = _chunkDQJ5C5TVjs.CompanyService; exports.Content = _chunkDQJ5C5TVjs.Content; exports.ContentFields = _chunkDQJ5C5TVjs.ContentFields; exports.ContentModule = _chunkDQJ5C5TVjs.ContentModule; exports.ContentService = _chunkDQJ5C5TVjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkDQJ5C5TVjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkQWCAOLBDjs.DataClassRegistry; exports.DataClassRegistry = _chunkQWCAOLBDjs.DataClassRegistry; exports.EndpointCreator = _chunkDQJ5C5TVjs.EndpointCreator; exports.Feature = _chunkDQJ5C5TVjs.Feature; exports.FeatureModule = _chunkDQJ5C5TVjs.FeatureModule; exports.FeatureService = _chunkDQJ5C5TVjs.FeatureService; exports.HowTo = _chunkDQJ5C5TVjs.HowTo; exports.HowToFields = _chunkDQJ5C5TVjs.HowToFields; exports.HowToModule = _chunkDQJ5C5TVjs.HowToModule; exports.HowToService = _chunkDQJ5C5TVjs.HowToService; exports.HttpMethod = _chunkDQJ5C5TVjs.HttpMethod; exports.InvoiceStatus = _chunkDQJ5C5TVjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkQWCAOLBDjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkDQJ5C5TVjs.MOBILE_BREAKPOINT; exports.Module = _chunkDQJ5C5TVjs.Module; exports.ModuleModule = _chunkDQJ5C5TVjs.ModuleModule; exports.ModulePaths = _chunkDQJ5C5TVjs.ModulePaths; exports.ModulePathsModule = _chunkDQJ5C5TVjs.ModulePathsModule; exports.ModuleRegistrar = _chunkDQJ5C5TVjs.ModuleRegistrar; exports.ModuleRegistry = _chunkDQJ5C5TVjs.ModuleRegistry; exports.Modules = _chunkDQJ5C5TVjs.Modules; exports.Notification = _chunkDQJ5C5TVjs.Notification; exports.NotificationFields = _chunkDQJ5C5TVjs.NotificationFields; exports.NotificationModule = _chunkDQJ5C5TVjs.NotificationModule; exports.NotificationService = _chunkDQJ5C5TVjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkDQJ5C5TVjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkDQJ5C5TVjs.OAuthClient; exports.OAuthModule = _chunkDQJ5C5TVjs.OAuthModule; exports.OAuthService = _chunkDQJ5C5TVjs.OAuthService; exports.Passkey = _chunkDQJ5C5TVjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkDQJ5C5TVjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkDQJ5C5TVjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkDQJ5C5TVjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkDQJ5C5TVjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkDQJ5C5TVjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkDQJ5C5TVjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkDQJ5C5TVjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkDQJ5C5TVjs.PasskeyRename; exports.PasskeyRenameModule = _chunkDQJ5C5TVjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkDQJ5C5TVjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkDQJ5C5TVjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkDQJ5C5TVjs.PaymentMethod; exports.PermissionMapping = _chunkDQJ5C5TVjs.PermissionMapping; exports.PermissionMappingModule = _chunkDQJ5C5TVjs.PermissionMappingModule; exports.Push = _chunkDQJ5C5TVjs.Push; exports.PushModule = _chunkDQJ5C5TVjs.PushModule; exports.PushService = _chunkDQJ5C5TVjs.PushService; exports.RbacMatrixModel = _chunkDQJ5C5TVjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkDQJ5C5TVjs.RbacMatrixModule; exports.RbacService = _chunkBLKR2Q7Fjs.RbacService; exports.ReferralModule = _chunkDQJ5C5TVjs.ReferralModule; exports.ReferralService = _chunkDQJ5C5TVjs.ReferralService; exports.ReferralStats = _chunkDQJ5C5TVjs.ReferralStats; exports.ReferralStatsModule = _chunkDQJ5C5TVjs.ReferralStatsModule; exports.RehydrationFactory = _chunkDQJ5C5TVjs.RehydrationFactory; exports.Role = _chunkDQJ5C5TVjs.Role; exports.RoleFields = _chunkDQJ5C5TVjs.RoleFields; exports.RoleModule = _chunkDQJ5C5TVjs.RoleModule; exports.RoleService = _chunkDQJ5C5TVjs.RoleService; exports.S3 = _chunkDQJ5C5TVjs.S3; exports.S3Module = _chunkDQJ5C5TVjs.S3Module; exports.S3Service = _chunkDQJ5C5TVjs.S3Service; exports.StripeCustomer = _chunkDQJ5C5TVjs.StripeCustomer; exports.StripeCustomerModule = _chunkDQJ5C5TVjs.StripeCustomerModule; exports.StripeCustomerService = _chunkDQJ5C5TVjs.StripeCustomerService; exports.StripeInvoice = _chunkDQJ5C5TVjs.StripeInvoice; exports.StripeInvoiceModule = _chunkDQJ5C5TVjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkDQJ5C5TVjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkDQJ5C5TVjs.StripePaymentMethodModule; exports.StripePrice = _chunkDQJ5C5TVjs.StripePrice; exports.StripePriceModule = _chunkDQJ5C5TVjs.StripePriceModule; exports.StripePriceService = _chunkDQJ5C5TVjs.StripePriceService; exports.StripeProduct = _chunkDQJ5C5TVjs.StripeProduct; exports.StripeProductModule = _chunkDQJ5C5TVjs.StripeProductModule; exports.StripeProductService = _chunkDQJ5C5TVjs.StripeProductService; exports.StripePromotionCode = _chunkDQJ5C5TVjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkDQJ5C5TVjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkDQJ5C5TVjs.StripePromotionCodeService; exports.StripeSubscription = _chunkDQJ5C5TVjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkDQJ5C5TVjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkDQJ5C5TVjs.StripeSubscriptionService; exports.StripeUsage = _chunkDQJ5C5TVjs.StripeUsage; exports.StripeUsageModule = _chunkDQJ5C5TVjs.StripeUsageModule; exports.StripeUsageService = _chunkDQJ5C5TVjs.StripeUsageService; exports.SubscriptionStatus = _chunkDQJ5C5TVjs.SubscriptionStatus; exports.TableOptions = _chunkDQJ5C5TVjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkDQJ5C5TVjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkDQJ5C5TVjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkDQJ5C5TVjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkDQJ5C5TVjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkDQJ5C5TVjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkDQJ5C5TVjs.TotpSetup; exports.TotpSetupModule = _chunkDQJ5C5TVjs.TotpSetupModule; exports.TotpVerify = _chunkDQJ5C5TVjs.TotpVerify; exports.TotpVerifyLogin = _chunkDQJ5C5TVjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkDQJ5C5TVjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkDQJ5C5TVjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkDQJ5C5TVjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkDQJ5C5TVjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkDQJ5C5TVjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkDQJ5C5TVjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkDQJ5C5TVjs.TwoFactorService; exports.TwoFactorStatus = _chunkDQJ5C5TVjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkDQJ5C5TVjs.TwoFactorStatusModule; exports.User = _chunkDQJ5C5TVjs.User; exports.UserFields = _chunkDQJ5C5TVjs.UserFields; exports.UserModule = _chunkDQJ5C5TVjs.UserModule; exports.UserService = _chunkDQJ5C5TVjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkDQJ5C5TVjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkDQJ5C5TVjs.Waitlist; exports.WaitlistModule = _chunkDQJ5C5TVjs.WaitlistModule; exports.WaitlistService = _chunkDQJ5C5TVjs.WaitlistService; exports.WaitlistStats = _chunkDQJ5C5TVjs.WaitlistStats; exports.WaitlistStatsModule = _chunkDQJ5C5TVjs.WaitlistStatsModule; exports.checkPermissions = _chunkDQJ5C5TVjs.checkPermissions; exports.checkPermissionsFromServer = _chunkDQJ5C5TVjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkDQJ5C5TVjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkDQJ5C5TVjs.clearLastApiTotal; exports.cn = _chunkDQJ5C5TVjs.cn; exports.composeRefs = _chunkDQJ5C5TVjs.composeRefs; exports.configureAuth = _chunkDQJ5C5TVjs.configureAuth; exports.configureI18n = _chunkBLKR2Q7Fjs.configureI18n; exports.configureJsonApi = _chunkBLKR2Q7Fjs.configureJsonApi; exports.configureLogin = _chunkBLKR2Q7Fjs.configureLogin; exports.configureReferral = _chunkBLKR2Q7Fjs.configureReferral; exports.configureRoles = _chunkBLKR2Q7Fjs.configureRoles; exports.configureWaitlist = _chunkBLKR2Q7Fjs.configureWaitlist; exports.createJsonApiInclusion = _chunkDQJ5C5TVjs.createJsonApiInclusion; exports.dismissToast = _chunkDQJ5C5TVjs.dismissToast; exports.entityObjectSchema = _chunkDQJ5C5TVjs.entityObjectSchema; exports.exists = _chunkDQJ5C5TVjs.exists; exports.formatCodiceFiscale = _chunkDQJ5C5TVjs.formatCodiceFiscale; exports.formatDate = _chunkDQJ5C5TVjs.formatDate; exports.formatLocalDate = _chunkDQJ5C5TVjs.formatLocalDate; exports.formatPartitaIva = _chunkDQJ5C5TVjs.formatPartitaIva; exports.getApiUrl = _chunkBLKR2Q7Fjs.getApiUrl; exports.getAppUrl = _chunkBLKR2Q7Fjs.getAppUrl; exports.getBootstrapper = _chunkQWCAOLBDjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkDQJ5C5TVjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkDQJ5C5TVjs.getGlobalErrorHandler; exports.getIcon = _chunkDQJ5C5TVjs.getIcon; exports.getIconByModule = _chunkDQJ5C5TVjs.getIconByModule; exports.getIconByModuleName = _chunkDQJ5C5TVjs.getIconByModuleName; exports.getInitials = _chunkDQJ5C5TVjs.getInitials; exports.getLastApiMeta = _chunkDQJ5C5TVjs.getLastApiMeta; exports.getLastApiTotal = _chunkDQJ5C5TVjs.getLastApiTotal; exports.getLucideIcon = _chunkDQJ5C5TVjs.getLucideIcon; exports.getLucideIconByModule = _chunkDQJ5C5TVjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkDQJ5C5TVjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkBLKR2Q7Fjs.getPublicApiUrl; exports.getReferralConfig = _chunkBLKR2Q7Fjs.getReferralConfig; exports.getRoleId = _chunkBLKR2Q7Fjs.getRoleId; exports.getStripePublishableKey = _chunkBLKR2Q7Fjs.getStripePublishableKey; exports.getTableComponents = _chunkDQJ5C5TVjs.getTableComponents; exports.getTableOptions = _chunkDQJ5C5TVjs.getTableOptions; exports.getTokenHandler = _chunkDQJ5C5TVjs.getTokenHandler; exports.getTrackablePages = _chunkBLKR2Q7Fjs.getTrackablePages; exports.getValueFromPath = _chunkDQJ5C5TVjs.getValueFromPath; exports.getWaitlistConfig = _chunkBLKR2Q7Fjs.getWaitlistConfig; exports.hasBootstrapper = _chunkQWCAOLBDjs.hasBootstrapper; exports.isReferralEnabled = _chunkBLKR2Q7Fjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkDQJ5C5TVjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkBLKR2Q7Fjs.isRolesConfigured; exports.rehydrate = _chunkDQJ5C5TVjs.rehydrate; exports.rehydrateList = _chunkDQJ5C5TVjs.rehydrateList; exports.resetBootstrapStore = _chunkQWCAOLBDjs.resetBootstrapStore; exports.setBootstrapper = _chunkQWCAOLBDjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkDQJ5C5TVjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkDQJ5C5TVjs.setGlobalErrorHandler; exports.showCustomToast = _chunkDQJ5C5TVjs.showCustomToast; exports.showError = _chunkDQJ5C5TVjs.showError; exports.showToast = _chunkDQJ5C5TVjs.showToast; exports.translateData = _chunkQWCAOLBDjs.translateData; exports.translateResponse = _chunkQWCAOLBDjs.translateResponse; exports.tryBootstrap = _chunkQWCAOLBDjs.tryBootstrap; exports.useComposedRefs = _chunkDQJ5C5TVjs.useComposedRefs; exports.useIsMobile = _chunkDQJ5C5TVjs.useIsMobile; exports.userObjectSchema = _chunkDQJ5C5TVjs.userObjectSchema; exports.validateCodiceFiscale = _chunkDQJ5C5TVjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkDQJ5C5TVjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkDQJ5C5TVjs.validatePartitaIva;
|
|
458
|
+
exports.ACTION_TYPES = _chunkLANOKEFZjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkKSU6CCW6js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkKSU6CCW6js.AbstractApiData; exports.AbstractService = _chunkKSU6CCW6js.AbstractService; exports.Action = _chunkKSU6CCW6js.Action; exports.Assistant = _chunkKSU6CCW6js.Assistant; exports.AssistantAction = _chunkKSU6CCW6js.AssistantAction; exports.AssistantActionModule = _chunkKSU6CCW6js.AssistantActionModule; exports.AssistantActionService = _chunkKSU6CCW6js.AssistantActionService; exports.AssistantMessage = _chunkKSU6CCW6js.AssistantMessage; exports.AssistantMessageModule = _chunkKSU6CCW6js.AssistantMessageModule; exports.AssistantMessageService = _chunkKSU6CCW6js.AssistantMessageService; exports.AssistantModule = _chunkKSU6CCW6js.AssistantModule; exports.AssistantService = _chunkKSU6CCW6js.AssistantService; exports.AuditLog = _chunkKSU6CCW6js.AuditLog; exports.AuditLogModule = _chunkKSU6CCW6js.AuditLogModule; exports.AuditLogService = _chunkKSU6CCW6js.AuditLogService; exports.Auth = _chunkKSU6CCW6js.Auth; exports.AuthComponent = _chunkKSU6CCW6js.AuthComponent; exports.AuthModule = _chunkKSU6CCW6js.AuthModule; exports.AuthService = _chunkKSU6CCW6js.AuthService; exports.AuthorModule = _chunkKSU6CCW6js.AuthorModule; exports.BackupCodeVerify = _chunkKSU6CCW6js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkKSU6CCW6js.BackupCodeVerifyModule; exports.Billing = _chunkKSU6CCW6js.Billing; exports.BillingModule = _chunkKSU6CCW6js.BillingModule; exports.BillingService = _chunkKSU6CCW6js.BillingService; exports.BlockNoteDiffUtil = _chunkKSU6CCW6js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkKSU6CCW6js.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkLANOKEFZjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkKSU6CCW6js.Chunk; exports.ChunkModule = _chunkKSU6CCW6js.ChunkModule; exports.ClientAbstractService = _chunkKSU6CCW6js.ClientAbstractService; exports.ClientHttpMethod = _chunkKSU6CCW6js.ClientHttpMethod; exports.Company = _chunkKSU6CCW6js.Company; exports.CompanyFields = _chunkKSU6CCW6js.CompanyFields; exports.CompanyModule = _chunkKSU6CCW6js.CompanyModule; exports.CompanyService = _chunkKSU6CCW6js.CompanyService; exports.Content = _chunkKSU6CCW6js.Content; exports.ContentFields = _chunkKSU6CCW6js.ContentFields; exports.ContentModule = _chunkKSU6CCW6js.ContentModule; exports.ContentService = _chunkKSU6CCW6js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkKSU6CCW6js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkFPO4DLZNjs.DataClassRegistry; exports.DataClassRegistry = _chunkFPO4DLZNjs.DataClassRegistry; exports.EndpointCreator = _chunkKSU6CCW6js.EndpointCreator; exports.Feature = _chunkKSU6CCW6js.Feature; exports.FeatureModule = _chunkKSU6CCW6js.FeatureModule; exports.FeatureService = _chunkKSU6CCW6js.FeatureService; exports.HowTo = _chunkKSU6CCW6js.HowTo; exports.HowToFields = _chunkKSU6CCW6js.HowToFields; exports.HowToModule = _chunkKSU6CCW6js.HowToModule; exports.HowToService = _chunkKSU6CCW6js.HowToService; exports.HttpMethod = _chunkKSU6CCW6js.HttpMethod; exports.InvoiceStatus = _chunkKSU6CCW6js.InvoiceStatus; exports.JsonApiDataFactory = _chunkFPO4DLZNjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkKSU6CCW6js.MOBILE_BREAKPOINT; exports.Module = _chunkKSU6CCW6js.Module; exports.ModuleModule = _chunkKSU6CCW6js.ModuleModule; exports.ModulePaths = _chunkKSU6CCW6js.ModulePaths; exports.ModulePathsModule = _chunkKSU6CCW6js.ModulePathsModule; exports.ModuleRegistrar = _chunkKSU6CCW6js.ModuleRegistrar; exports.ModuleRegistry = _chunkKSU6CCW6js.ModuleRegistry; exports.Modules = _chunkKSU6CCW6js.Modules; exports.Notification = _chunkKSU6CCW6js.Notification; exports.NotificationFields = _chunkKSU6CCW6js.NotificationFields; exports.NotificationModule = _chunkKSU6CCW6js.NotificationModule; exports.NotificationService = _chunkKSU6CCW6js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkKSU6CCW6js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkKSU6CCW6js.OAuthClient; exports.OAuthModule = _chunkKSU6CCW6js.OAuthModule; exports.OAuthService = _chunkKSU6CCW6js.OAuthService; exports.Passkey = _chunkKSU6CCW6js.Passkey; exports.PasskeyAuthenticationOptions = _chunkKSU6CCW6js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkKSU6CCW6js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkKSU6CCW6js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkKSU6CCW6js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkKSU6CCW6js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkKSU6CCW6js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkKSU6CCW6js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkKSU6CCW6js.PasskeyRename; exports.PasskeyRenameModule = _chunkKSU6CCW6js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkKSU6CCW6js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkKSU6CCW6js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkKSU6CCW6js.PaymentMethod; exports.PermissionMapping = _chunkKSU6CCW6js.PermissionMapping; exports.PermissionMappingModule = _chunkKSU6CCW6js.PermissionMappingModule; exports.Push = _chunkKSU6CCW6js.Push; exports.PushModule = _chunkKSU6CCW6js.PushModule; exports.PushService = _chunkKSU6CCW6js.PushService; exports.RbacMatrixModel = _chunkKSU6CCW6js.RbacMatrixModel; exports.RbacMatrixModule = _chunkKSU6CCW6js.RbacMatrixModule; exports.RbacService = _chunkLANOKEFZjs.RbacService; exports.ReferralModule = _chunkKSU6CCW6js.ReferralModule; exports.ReferralService = _chunkKSU6CCW6js.ReferralService; exports.ReferralStats = _chunkKSU6CCW6js.ReferralStats; exports.ReferralStatsModule = _chunkKSU6CCW6js.ReferralStatsModule; exports.RehydrationFactory = _chunkKSU6CCW6js.RehydrationFactory; exports.Role = _chunkKSU6CCW6js.Role; exports.RoleFields = _chunkKSU6CCW6js.RoleFields; exports.RoleModule = _chunkKSU6CCW6js.RoleModule; exports.RoleService = _chunkKSU6CCW6js.RoleService; exports.S3 = _chunkKSU6CCW6js.S3; exports.S3Module = _chunkKSU6CCW6js.S3Module; exports.S3Service = _chunkKSU6CCW6js.S3Service; exports.StripeCustomer = _chunkKSU6CCW6js.StripeCustomer; exports.StripeCustomerModule = _chunkKSU6CCW6js.StripeCustomerModule; exports.StripeCustomerService = _chunkKSU6CCW6js.StripeCustomerService; exports.StripeInvoice = _chunkKSU6CCW6js.StripeInvoice; exports.StripeInvoiceModule = _chunkKSU6CCW6js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkKSU6CCW6js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkKSU6CCW6js.StripePaymentMethodModule; exports.StripePrice = _chunkKSU6CCW6js.StripePrice; exports.StripePriceModule = _chunkKSU6CCW6js.StripePriceModule; exports.StripePriceService = _chunkKSU6CCW6js.StripePriceService; exports.StripeProduct = _chunkKSU6CCW6js.StripeProduct; exports.StripeProductModule = _chunkKSU6CCW6js.StripeProductModule; exports.StripeProductService = _chunkKSU6CCW6js.StripeProductService; exports.StripePromotionCode = _chunkKSU6CCW6js.StripePromotionCode; exports.StripePromotionCodeModule = _chunkKSU6CCW6js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkKSU6CCW6js.StripePromotionCodeService; exports.StripeSubscription = _chunkKSU6CCW6js.StripeSubscription; exports.StripeSubscriptionModule = _chunkKSU6CCW6js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkKSU6CCW6js.StripeSubscriptionService; exports.StripeUsage = _chunkKSU6CCW6js.StripeUsage; exports.StripeUsageModule = _chunkKSU6CCW6js.StripeUsageModule; exports.StripeUsageService = _chunkKSU6CCW6js.StripeUsageService; exports.SubscriptionStatus = _chunkKSU6CCW6js.SubscriptionStatus; exports.TableOptions = _chunkKSU6CCW6js.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkKSU6CCW6js.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkKSU6CCW6js.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkKSU6CCW6js.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkKSU6CCW6js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkKSU6CCW6js.TotpAuthenticatorModule; exports.TotpSetup = _chunkKSU6CCW6js.TotpSetup; exports.TotpSetupModule = _chunkKSU6CCW6js.TotpSetupModule; exports.TotpVerify = _chunkKSU6CCW6js.TotpVerify; exports.TotpVerifyLogin = _chunkKSU6CCW6js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkKSU6CCW6js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkKSU6CCW6js.TotpVerifyModule; exports.TwoFactorChallenge = _chunkKSU6CCW6js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkKSU6CCW6js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkKSU6CCW6js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkKSU6CCW6js.TwoFactorEnableModule; exports.TwoFactorService = _chunkKSU6CCW6js.TwoFactorService; exports.TwoFactorStatus = _chunkKSU6CCW6js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkKSU6CCW6js.TwoFactorStatusModule; exports.User = _chunkKSU6CCW6js.User; exports.UserFields = _chunkKSU6CCW6js.UserFields; exports.UserModule = _chunkKSU6CCW6js.UserModule; exports.UserService = _chunkKSU6CCW6js.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkKSU6CCW6js.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkKSU6CCW6js.Waitlist; exports.WaitlistModule = _chunkKSU6CCW6js.WaitlistModule; exports.WaitlistService = _chunkKSU6CCW6js.WaitlistService; exports.WaitlistStats = _chunkKSU6CCW6js.WaitlistStats; exports.WaitlistStatsModule = _chunkKSU6CCW6js.WaitlistStatsModule; exports.checkPermissions = _chunkKSU6CCW6js.checkPermissions; exports.checkPermissionsFromServer = _chunkKSU6CCW6js.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkKSU6CCW6js.clearLastApiMeta; exports.clearLastApiTotal = _chunkKSU6CCW6js.clearLastApiTotal; exports.cn = _chunkKSU6CCW6js.cn; exports.composeRefs = _chunkKSU6CCW6js.composeRefs; exports.configureAuth = _chunkKSU6CCW6js.configureAuth; exports.configureI18n = _chunkLANOKEFZjs.configureI18n; exports.configureJsonApi = _chunkLANOKEFZjs.configureJsonApi; exports.configureLogin = _chunkLANOKEFZjs.configureLogin; exports.configureReferral = _chunkLANOKEFZjs.configureReferral; exports.configureRoles = _chunkLANOKEFZjs.configureRoles; exports.configureWaitlist = _chunkLANOKEFZjs.configureWaitlist; exports.createJsonApiInclusion = _chunkKSU6CCW6js.createJsonApiInclusion; exports.dismissToast = _chunkKSU6CCW6js.dismissToast; exports.entityObjectSchema = _chunkKSU6CCW6js.entityObjectSchema; exports.exists = _chunkKSU6CCW6js.exists; exports.formatCodiceFiscale = _chunkKSU6CCW6js.formatCodiceFiscale; exports.formatDate = _chunkKSU6CCW6js.formatDate; exports.formatLocalDate = _chunkKSU6CCW6js.formatLocalDate; exports.formatPartitaIva = _chunkKSU6CCW6js.formatPartitaIva; exports.getApiUrl = _chunkLANOKEFZjs.getApiUrl; exports.getAppUrl = _chunkLANOKEFZjs.getAppUrl; exports.getBootstrapper = _chunkFPO4DLZNjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkKSU6CCW6js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkKSU6CCW6js.getGlobalErrorHandler; exports.getIcon = _chunkKSU6CCW6js.getIcon; exports.getIconByModule = _chunkKSU6CCW6js.getIconByModule; exports.getIconByModuleName = _chunkKSU6CCW6js.getIconByModuleName; exports.getInitials = _chunkKSU6CCW6js.getInitials; exports.getLastApiMeta = _chunkKSU6CCW6js.getLastApiMeta; exports.getLastApiTotal = _chunkKSU6CCW6js.getLastApiTotal; exports.getLucideIcon = _chunkKSU6CCW6js.getLucideIcon; exports.getLucideIconByModule = _chunkKSU6CCW6js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkKSU6CCW6js.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkLANOKEFZjs.getPublicApiUrl; exports.getReferralConfig = _chunkLANOKEFZjs.getReferralConfig; exports.getRoleId = _chunkLANOKEFZjs.getRoleId; exports.getStripePublishableKey = _chunkLANOKEFZjs.getStripePublishableKey; exports.getTableComponents = _chunkKSU6CCW6js.getTableComponents; exports.getTableOptions = _chunkKSU6CCW6js.getTableOptions; exports.getTokenHandler = _chunkKSU6CCW6js.getTokenHandler; exports.getTrackablePages = _chunkLANOKEFZjs.getTrackablePages; exports.getValueFromPath = _chunkKSU6CCW6js.getValueFromPath; exports.getWaitlistConfig = _chunkLANOKEFZjs.getWaitlistConfig; exports.hasBootstrapper = _chunkFPO4DLZNjs.hasBootstrapper; exports.isReferralEnabled = _chunkLANOKEFZjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkKSU6CCW6js.isRemoteImageSrc; exports.isRolesConfigured = _chunkLANOKEFZjs.isRolesConfigured; exports.rehydrate = _chunkKSU6CCW6js.rehydrate; exports.rehydrateList = _chunkKSU6CCW6js.rehydrateList; exports.resetBootstrapStore = _chunkFPO4DLZNjs.resetBootstrapStore; exports.setBootstrapper = _chunkFPO4DLZNjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkKSU6CCW6js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkKSU6CCW6js.setGlobalErrorHandler; exports.showCustomToast = _chunkKSU6CCW6js.showCustomToast; exports.showError = _chunkKSU6CCW6js.showError; exports.showToast = _chunkKSU6CCW6js.showToast; exports.translateData = _chunkFPO4DLZNjs.translateData; exports.translateResponse = _chunkFPO4DLZNjs.translateResponse; exports.tryBootstrap = _chunkFPO4DLZNjs.tryBootstrap; exports.useComposedRefs = _chunkKSU6CCW6js.useComposedRefs; exports.useIsMobile = _chunkKSU6CCW6js.useIsMobile; exports.userObjectSchema = _chunkKSU6CCW6js.userObjectSchema; exports.validateCodiceFiscale = _chunkKSU6CCW6js.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkKSU6CCW6js.validateItalianTaxCode; exports.validatePartitaIva = _chunkKSU6CCW6js.validatePartitaIva;
|
|
459
459
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
getWaitlistConfig,
|
|
19
19
|
isReferralEnabled,
|
|
20
20
|
isRolesConfigured
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7DJOQTNN.mjs";
|
|
22
22
|
import {
|
|
23
23
|
AVAILABLE_OAUTH_SCOPES,
|
|
24
24
|
AbstractApiData,
|
|
@@ -215,7 +215,7 @@ import {
|
|
|
215
215
|
validateCodiceFiscale,
|
|
216
216
|
validateItalianTaxCode,
|
|
217
217
|
validatePartitaIva
|
|
218
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-DLTMYGLR.mjs";
|
|
219
219
|
import "./chunk-AUXK7QSA.mjs";
|
|
220
220
|
import "./chunk-C7C7VY4F.mjs";
|
|
221
221
|
import {
|
|
@@ -228,7 +228,7 @@ import {
|
|
|
228
228
|
translateData,
|
|
229
229
|
translateResponse,
|
|
230
230
|
tryBootstrap
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-E5YA5Z5X.mjs";
|
|
232
232
|
import "./chunk-PAWJFY3S.mjs";
|
|
233
233
|
export {
|
|
234
234
|
ACTION_TYPES,
|
package/dist/server/index.js
CHANGED
|
@@ -15,13 +15,13 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkKSU6CCW6js = require('../chunk-KSU6CCW6.js');
|
|
19
19
|
require('../chunk-LXKSUWAV.js');
|
|
20
20
|
require('../chunk-IBS6NI7D.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkFPO4DLZNjs = require('../chunk-FPO4DLZN.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunk7QVYU63Ejs = require('../chunk-7QVYU63E.js');
|
|
@@ -86,7 +86,7 @@ var ServerSession = class {
|
|
|
86
86
|
if (!rawModules) return false;
|
|
87
87
|
const modules = JSON.parse(_pako.ungzip.call(void 0, Buffer.from(rawModules, "base64"), { toText: true }));
|
|
88
88
|
const selectedModule = modules.find((module) => module.id === params.module.moduleId);
|
|
89
|
-
return
|
|
89
|
+
return _chunkKSU6CCW6js.checkPermissionsFromServer.call(void 0, {
|
|
90
90
|
module: params.module,
|
|
91
91
|
action: params.action,
|
|
92
92
|
data: params.data,
|
|
@@ -158,7 +158,7 @@ async function ServerJsonApiGet(params) {
|
|
|
158
158
|
language: params.language,
|
|
159
159
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _23 => _23.additionalHeaders])
|
|
160
160
|
});
|
|
161
|
-
return
|
|
161
|
+
return _chunkFPO4DLZNjs.translateResponse.call(void 0, {
|
|
162
162
|
classKey: params.classKey,
|
|
163
163
|
apiResponse,
|
|
164
164
|
companyId: params.companyId,
|
|
@@ -179,7 +179,7 @@ async function ServerJsonApiPost(params) {
|
|
|
179
179
|
if (!body) {
|
|
180
180
|
body = {};
|
|
181
181
|
} else if (params.overridesJsonApiCreation !== true) {
|
|
182
|
-
body =
|
|
182
|
+
body = _chunkFPO4DLZNjs.JsonApiDataFactory.create(params.classKey, body);
|
|
183
183
|
}
|
|
184
184
|
const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
|
|
185
185
|
method: "POST",
|
|
@@ -191,7 +191,7 @@ async function ServerJsonApiPost(params) {
|
|
|
191
191
|
language: params.language,
|
|
192
192
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _24 => _24.additionalHeaders])
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return _chunkFPO4DLZNjs.translateResponse.call(void 0, {
|
|
195
195
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
196
196
|
apiResponse,
|
|
197
197
|
companyId: params.companyId,
|
|
@@ -206,7 +206,7 @@ async function ServerJsonApiPut(params) {
|
|
|
206
206
|
if (!body) {
|
|
207
207
|
body = {};
|
|
208
208
|
} else {
|
|
209
|
-
body =
|
|
209
|
+
body = _chunkFPO4DLZNjs.JsonApiDataFactory.create(params.classKey, body);
|
|
210
210
|
}
|
|
211
211
|
const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
|
|
212
212
|
method: "PUT",
|
|
@@ -218,7 +218,7 @@ async function ServerJsonApiPut(params) {
|
|
|
218
218
|
language: params.language,
|
|
219
219
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _25 => _25.additionalHeaders])
|
|
220
220
|
});
|
|
221
|
-
return
|
|
221
|
+
return _chunkFPO4DLZNjs.translateResponse.call(void 0, {
|
|
222
222
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
223
223
|
apiResponse,
|
|
224
224
|
companyId: params.companyId,
|
|
@@ -233,7 +233,7 @@ async function ServerJsonApiPatch(params) {
|
|
|
233
233
|
if (!body) {
|
|
234
234
|
body = {};
|
|
235
235
|
} else if (params.overridesJsonApiCreation !== true) {
|
|
236
|
-
body =
|
|
236
|
+
body = _chunkFPO4DLZNjs.JsonApiDataFactory.create(params.classKey, body);
|
|
237
237
|
}
|
|
238
238
|
const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
|
|
239
239
|
method: "PATCH",
|
|
@@ -245,7 +245,7 @@ async function ServerJsonApiPatch(params) {
|
|
|
245
245
|
language: params.language,
|
|
246
246
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _26 => _26.additionalHeaders])
|
|
247
247
|
});
|
|
248
|
-
return
|
|
248
|
+
return _chunkFPO4DLZNjs.translateResponse.call(void 0, {
|
|
249
249
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
250
250
|
apiResponse,
|
|
251
251
|
companyId: params.companyId,
|
|
@@ -264,7 +264,7 @@ async function ServerJsonApiDelete(params) {
|
|
|
264
264
|
language: params.language,
|
|
265
265
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _27 => _27.additionalHeaders])
|
|
266
266
|
});
|
|
267
|
-
return
|
|
267
|
+
return _chunkFPO4DLZNjs.translateResponse.call(void 0, {
|
|
268
268
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
269
269
|
apiResponse,
|
|
270
270
|
companyId: params.companyId,
|
|
@@ -296,5 +296,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
|
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
299
|
-
exports.ServerAuthService =
|
|
299
|
+
exports.ServerAuthService = _chunkKSU6CCW6js.AuthService; exports.ServerCompanyService = _chunkKSU6CCW6js.CompanyService; exports.ServerContentService = _chunkKSU6CCW6js.ContentService; exports.ServerFeatureService = _chunkKSU6CCW6js.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkKSU6CCW6js.NotificationService; exports.ServerPushService = _chunkKSU6CCW6js.PushService; exports.ServerRoleService = _chunkKSU6CCW6js.RoleService; exports.ServerS3Service = _chunkKSU6CCW6js.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkKSU6CCW6js.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunkIOLU4ASDjs.serverRequest;
|
|
300
300
|
//# sourceMappingURL=index.js.map
|