@carlonicora/nextjs-jsonapi 1.127.0 → 1.128.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.
- package/dist/{BlockNoteEditor-PGTAPCQF.js → BlockNoteEditor-LAH2RUGP.js} +9 -9
- package/dist/{BlockNoteEditor-PGTAPCQF.js.map → BlockNoteEditor-LAH2RUGP.js.map} +1 -1
- package/dist/{BlockNoteEditor-SMZNQ4CX.mjs → BlockNoteEditor-LJY3X6F6.mjs} +2 -2
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-JGVMZYAO.mjs → chunk-PJGAR5F3.mjs} +144 -126
- package/dist/chunk-PJGAR5F3.mjs.map +1 -0
- package/dist/{chunk-24RSNGD2.js → chunk-QVRFFC2Q.js} +97 -79
- package/dist/chunk-QVRFFC2Q.js.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/dist/features/help/index.js +30 -30
- package/dist/features/help/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/tables/ContentListTable.tsx +16 -4
- package/src/components/tables/__tests__/ContentListTable.test.tsx +38 -2
- package/src/features/company/components/lists/CompaniesList.tsx +1 -1
- package/src/features/content/components/lists/ContentsListById.tsx +1 -1
- package/src/features/content/components/lists/RelevantContentsList.tsx +1 -1
- package/src/features/user/components/lists/AdminUsersList.tsx +1 -1
- package/dist/chunk-24RSNGD2.js.map +0 -1
- package/dist/chunk-JGVMZYAO.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-SMZNQ4CX.mjs.map → BlockNoteEditor-LJY3X6F6.mjs.map} +0 -0
|
@@ -9972,7 +9972,7 @@ FileInput.displayName = "FileInput";
|
|
|
9972
9972
|
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
9973
9973
|
|
|
9974
9974
|
|
|
9975
|
-
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-
|
|
9975
|
+
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-LAH2RUGP.js"))), {
|
|
9976
9976
|
ssr: false
|
|
9977
9977
|
});
|
|
9978
9978
|
var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -11670,7 +11670,7 @@ function AdminUsersListInternal({ company }) {
|
|
|
11670
11670
|
{
|
|
11671
11671
|
title: t(`entities.users`, { count: 2 }),
|
|
11672
11672
|
data,
|
|
11673
|
-
fields: ["name" /* name */, "email" /* email
|
|
11673
|
+
fields: ["name" /* name */, "email" /* email */],
|
|
11674
11674
|
tableGeneratorType: _chunkPQBKPWBYjs.Modules.User,
|
|
11675
11675
|
functions: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserEditor, { propagateChanges: data.refresh, adminCreated: true })
|
|
11676
11676
|
}
|
|
@@ -12552,7 +12552,7 @@ function CompaniesList() {
|
|
|
12552
12552
|
ContentListTable,
|
|
12553
12553
|
{
|
|
12554
12554
|
data,
|
|
12555
|
-
fields: ["name" /* name
|
|
12555
|
+
fields: ["name" /* name */],
|
|
12556
12556
|
tableGeneratorType: _chunkPQBKPWBYjs.Modules.Company,
|
|
12557
12557
|
functions,
|
|
12558
12558
|
title: t(`entities.companies`, { count: 2 })
|
|
@@ -16209,6 +16209,7 @@ var _reacttable = require('@tanstack/react-table');
|
|
|
16209
16209
|
|
|
16210
16210
|
|
|
16211
16211
|
|
|
16212
|
+
|
|
16212
16213
|
// src/components/tables/ContentTableSearch.tsx
|
|
16213
16214
|
|
|
16214
16215
|
|
|
@@ -16316,7 +16317,8 @@ function getGroupKeys(item, field) {
|
|
|
16316
16317
|
}
|
|
16317
16318
|
_chunk7QVYU63Ejs.__name.call(void 0, getGroupKeys, "getGroupKeys");
|
|
16318
16319
|
var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function ContentListTable2(props) {
|
|
16319
|
-
const { data, fields, checkedIds, toggleId, allowSearch, filters: _filters, fullWidth } = props;
|
|
16320
|
+
const { data, fields, checkedIds, toggleId, allowSearch, filters: _filters, fullWidth, onRowClick } = props;
|
|
16321
|
+
const t = _nextintl.useTranslations.call(void 0, );
|
|
16320
16322
|
const [expanded, setExpanded] = _react.useState.call(void 0,
|
|
16321
16323
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
16322
16324
|
);
|
|
@@ -16422,14 +16424,30 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16422
16424
|
children: group.groupKey
|
|
16423
16425
|
}
|
|
16424
16426
|
) }),
|
|
16425
|
-
group.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16426
|
-
|
|
16427
|
-
|
|
16428
|
-
|
|
16429
|
-
|
|
16430
|
-
|
|
16431
|
-
|
|
16432
|
-
|
|
16427
|
+
group.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16428
|
+
TableRow,
|
|
16429
|
+
{
|
|
16430
|
+
onClick: () => _optionalChain([onRowClick, 'optionalCall', _477 => _477(row.original.jsonApiData)]),
|
|
16431
|
+
className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
|
|
16432
|
+
children: row.getVisibleCells().map((cell) => {
|
|
16433
|
+
const meta = cell.column.columnDef.meta;
|
|
16434
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _478 => _478.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
16435
|
+
})
|
|
16436
|
+
},
|
|
16437
|
+
row.id
|
|
16438
|
+
))
|
|
16439
|
+
] }, group.groupKey)) : rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16440
|
+
TableRow,
|
|
16441
|
+
{
|
|
16442
|
+
onClick: () => _optionalChain([onRowClick, 'optionalCall', _479 => _479(row.original.jsonApiData)]),
|
|
16443
|
+
className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
|
|
16444
|
+
children: row.getVisibleCells().map((cell) => {
|
|
16445
|
+
const meta = cell.column.columnDef.meta;
|
|
16446
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _480 => _480.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
16447
|
+
})
|
|
16448
|
+
},
|
|
16449
|
+
row.id
|
|
16450
|
+
)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "h-24 text-center", children: _nullishCoalesce(props.emptyState, () => ( (t.has("ui.empty_states.no_results") ? t("ui.empty_states.no_results") : "No results."))) }) }) }),
|
|
16433
16451
|
showFooter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableFooter, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-card py-4 text-right", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end space-x-2", children: [
|
|
16434
16452
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16435
16453
|
Button,
|
|
@@ -16438,7 +16456,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16438
16456
|
size: "sm",
|
|
16439
16457
|
onClick: (e) => {
|
|
16440
16458
|
e.preventDefault();
|
|
16441
|
-
_optionalChain([data, 'access',
|
|
16459
|
+
_optionalChain([data, 'access', _481 => _481.previous, 'optionalCall', _482 => _482(true)]);
|
|
16442
16460
|
},
|
|
16443
16461
|
disabled: !data.previous,
|
|
16444
16462
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -16452,7 +16470,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16452
16470
|
size: "sm",
|
|
16453
16471
|
onClick: (e) => {
|
|
16454
16472
|
e.preventDefault();
|
|
16455
|
-
_optionalChain([data, 'access',
|
|
16473
|
+
_optionalChain([data, 'access', _483 => _483.next, 'optionalCall', _484 => _484(true)]);
|
|
16456
16474
|
},
|
|
16457
16475
|
disabled: !data.next,
|
|
16458
16476
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -16473,7 +16491,7 @@ function ContentListGrid(props) {
|
|
|
16473
16491
|
if (!data.next || !sentinelRef.current) return;
|
|
16474
16492
|
const observer = new IntersectionObserver(
|
|
16475
16493
|
(entries) => {
|
|
16476
|
-
if (_optionalChain([entries, 'access',
|
|
16494
|
+
if (_optionalChain([entries, 'access', _485 => _485[0], 'optionalAccess', _486 => _486.isIntersecting])) _optionalChain([data, 'access', _487 => _487.next, 'optionalCall', _488 => _488()]);
|
|
16477
16495
|
},
|
|
16478
16496
|
{ threshold: 0.1, rootMargin: "200px" }
|
|
16479
16497
|
);
|
|
@@ -17311,7 +17329,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
17311
17329
|
newDigits[index] = digit;
|
|
17312
17330
|
setDigits(newDigits);
|
|
17313
17331
|
if (digit && index < 5) {
|
|
17314
|
-
_optionalChain([inputRefs, 'access',
|
|
17332
|
+
_optionalChain([inputRefs, 'access', _489 => _489.current, 'access', _490 => _490[index + 1], 'optionalAccess', _491 => _491.focus, 'call', _492 => _492()]);
|
|
17315
17333
|
}
|
|
17316
17334
|
const code = newDigits.join("");
|
|
17317
17335
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -17320,7 +17338,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
17320
17338
|
}, "handleChange");
|
|
17321
17339
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
17322
17340
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
17323
|
-
_optionalChain([inputRefs, 'access',
|
|
17341
|
+
_optionalChain([inputRefs, 'access', _493 => _493.current, 'access', _494 => _494[index - 1], 'optionalAccess', _495 => _495.focus, 'call', _496 => _496()]);
|
|
17324
17342
|
}
|
|
17325
17343
|
}, "handleKeyDown");
|
|
17326
17344
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -17329,7 +17347,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
17329
17347
|
if (pastedData.length === 6) {
|
|
17330
17348
|
const newDigits = pastedData.split("");
|
|
17331
17349
|
setDigits(newDigits);
|
|
17332
|
-
_optionalChain([inputRefs, 'access',
|
|
17350
|
+
_optionalChain([inputRefs, 'access', _497 => _497.current, 'access', _498 => _498[5], 'optionalAccess', _499 => _499.focus, 'call', _500 => _500()]);
|
|
17333
17351
|
onComplete(pastedData);
|
|
17334
17352
|
}
|
|
17335
17353
|
}, "handlePaste");
|
|
@@ -17540,8 +17558,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
17540
17558
|
try {
|
|
17541
17559
|
const registrationData = await _chunkPQBKPWBYjs.TwoFactorService.getPasskeyRegistrationOptions({
|
|
17542
17560
|
id: _uuid.v4.call(void 0, ),
|
|
17543
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
17544
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
17561
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _501 => _501.email]), () => ( "")),
|
|
17562
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _502 => _502.name])
|
|
17545
17563
|
});
|
|
17546
17564
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
17547
17565
|
await _chunkPQBKPWBYjs.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -17692,7 +17710,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
17692
17710
|
const setup = await _chunkPQBKPWBYjs.TwoFactorService.setupTotp({
|
|
17693
17711
|
id: _uuid.v4.call(void 0, ),
|
|
17694
17712
|
name: name.trim(),
|
|
17695
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
17713
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _503 => _503.email]), () => ( ""))
|
|
17696
17714
|
});
|
|
17697
17715
|
setQrCodeUri(setup.qrCodeUri);
|
|
17698
17716
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -17826,7 +17844,7 @@ function TwoFactorSettings() {
|
|
|
17826
17844
|
if (isLoading) {
|
|
17827
17845
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground", children: t("common.loading") }) }) });
|
|
17828
17846
|
}
|
|
17829
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
17847
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _504 => _504.isEnabled]), () => ( false));
|
|
17830
17848
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
17831
17849
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
17832
17850
|
isEnabled ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldCheck, { className: "h-6 w-6 text-green-600" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldAlert, { className: "h-6 w-6 text-yellow-600" }),
|
|
@@ -17864,7 +17882,7 @@ function TwoFactorSettings() {
|
|
|
17864
17882
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
17865
17883
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
17866
17884
|
] }),
|
|
17867
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
17885
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _505 => _505.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
17868
17886
|
] }) }),
|
|
17869
17887
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17870
17888
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -18042,9 +18060,9 @@ function AcceptInvitation() {
|
|
|
18042
18060
|
});
|
|
18043
18061
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
18044
18062
|
try {
|
|
18045
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
18063
|
+
if (!_optionalChain([params, 'optionalAccess', _506 => _506.code])) return;
|
|
18046
18064
|
const payload = {
|
|
18047
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
18065
|
+
code: _optionalChain([params, 'optionalAccess', _507 => _507.code]),
|
|
18048
18066
|
password: values.password
|
|
18049
18067
|
};
|
|
18050
18068
|
await _chunkPQBKPWBYjs.AuthService.acceptInvitation(payload);
|
|
@@ -18394,7 +18412,7 @@ function Logout({ storageKeys }) {
|
|
|
18394
18412
|
const generateUrl = usePageUrlGenerator();
|
|
18395
18413
|
_react.useEffect.call(void 0, () => {
|
|
18396
18414
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
18397
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
18415
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _508 => _508.length])) {
|
|
18398
18416
|
clearClientStorage(storageKeys);
|
|
18399
18417
|
}
|
|
18400
18418
|
await _chunkPQBKPWBYjs.AuthService.logout();
|
|
@@ -18417,14 +18435,14 @@ function RefreshUser() {
|
|
|
18417
18435
|
setUser(fullUser);
|
|
18418
18436
|
const token = {
|
|
18419
18437
|
userId: fullUser.id,
|
|
18420
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
18438
|
+
companyId: _optionalChain([fullUser, 'access', _509 => _509.company, 'optionalAccess', _510 => _510.id]),
|
|
18421
18439
|
roles: fullUser.roles.map((role) => role.id),
|
|
18422
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
18440
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _511 => _511.company, 'optionalAccess', _512 => _512.features, 'optionalAccess', _513 => _513.map, 'call', _514 => _514((feature) => feature.id)]), () => ( [])),
|
|
18423
18441
|
modules: fullUser.modules.map((module) => {
|
|
18424
18442
|
return { id: module.id, permissions: module.permissions };
|
|
18425
18443
|
})
|
|
18426
18444
|
};
|
|
18427
|
-
await _optionalChain([_chunkPQBKPWBYjs.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
18445
|
+
await _optionalChain([_chunkPQBKPWBYjs.getTokenHandler.call(void 0, ), 'optionalAccess', _515 => _515.updateToken, 'call', _516 => _516(token)]);
|
|
18428
18446
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
18429
18447
|
}
|
|
18430
18448
|
}, "loadFullUser");
|
|
@@ -18488,9 +18506,9 @@ function ResetPassword() {
|
|
|
18488
18506
|
});
|
|
18489
18507
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
18490
18508
|
try {
|
|
18491
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
18509
|
+
if (!_optionalChain([params, 'optionalAccess', _517 => _517.code])) return;
|
|
18492
18510
|
const payload = {
|
|
18493
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
18511
|
+
code: _optionalChain([params, 'optionalAccess', _518 => _518.code]),
|
|
18494
18512
|
password: values.password
|
|
18495
18513
|
};
|
|
18496
18514
|
await _chunkPQBKPWBYjs.AuthService.resetPassword(payload);
|
|
@@ -18755,7 +18773,7 @@ function ContentsListById({ contentIds }) {
|
|
|
18755
18773
|
ContentListTable,
|
|
18756
18774
|
{
|
|
18757
18775
|
data,
|
|
18758
|
-
fields: ["name" /* name */, "authors" /* authors
|
|
18776
|
+
fields: ["name" /* name */, "authors" /* authors */],
|
|
18759
18777
|
tableGeneratorType: _chunkPQBKPWBYjs.Modules.Content,
|
|
18760
18778
|
title: t(`common.relevant`)
|
|
18761
18779
|
}
|
|
@@ -18777,7 +18795,7 @@ function RelevantContentsList({ id }) {
|
|
|
18777
18795
|
ContentListTable,
|
|
18778
18796
|
{
|
|
18779
18797
|
data,
|
|
18780
|
-
fields: ["name" /* name */, "authors" /* authors */, "relevance" /* relevance
|
|
18798
|
+
fields: ["name" /* name */, "authors" /* authors */, "relevance" /* relevance */],
|
|
18781
18799
|
tableGeneratorType: _chunkPQBKPWBYjs.Modules.Content,
|
|
18782
18800
|
title: t(`common.relevant`)
|
|
18783
18801
|
}
|
|
@@ -18839,7 +18857,7 @@ function extractHeadings(blocks) {
|
|
|
18839
18857
|
function processBlocks(blockArray) {
|
|
18840
18858
|
for (const block of blockArray) {
|
|
18841
18859
|
if (block.type === "heading") {
|
|
18842
|
-
const level = _optionalChain([block, 'access',
|
|
18860
|
+
const level = _optionalChain([block, 'access', _519 => _519.props, 'optionalAccess', _520 => _520.level]) || 1;
|
|
18843
18861
|
const text = extractTextFromContent(block.content);
|
|
18844
18862
|
if (text.trim()) {
|
|
18845
18863
|
headings.push({
|
|
@@ -19182,7 +19200,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
|
|
|
19182
19200
|
})
|
|
19183
19201
|
};
|
|
19184
19202
|
const columns = _react.useMemo.call(void 0, () => {
|
|
19185
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
19203
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _521 => _521[field], 'optionalCall', _522 => _522()])).filter((col) => col !== void 0);
|
|
19186
19204
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
19187
19205
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
19188
19206
|
}, "useHowToTableStructure");
|
|
@@ -19281,7 +19299,7 @@ function HowToSelector({
|
|
|
19281
19299
|
}, "setHowTo");
|
|
19282
19300
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FormFieldWrapper, { form, name: id, label, isRequired, children: (field) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, modal: true, children: [
|
|
19283
19301
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
|
|
19284
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start rounded-md", children: field.value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _nullishCoalesce(_optionalChain([field, 'access',
|
|
19302
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start rounded-md", children: field.value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _nullishCoalesce(_optionalChain([field, 'access', _523 => _523.value, 'optionalAccess', _524 => _524.name]), () => ( "")) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input text-muted-foreground flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: _nullishCoalesce(placeholder, () => ( t(`generic.search.placeholder`, { type: t(`entities.howtos`, { count: 1 }) }))) }) }) }),
|
|
19285
19303
|
field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19286
19304
|
_lucidereact.CircleX,
|
|
19287
19305
|
{
|
|
@@ -19650,9 +19668,9 @@ function CitationsTab({ citations, sources }) {
|
|
|
19650
19668
|
] }) }),
|
|
19651
19669
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
|
|
19652
19670
|
const isOpen = expanded.has(chunk.id);
|
|
19653
|
-
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess',
|
|
19671
|
+
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _525 => _525.get, 'call', _526 => _526(chunk.nodeId)]) : void 0;
|
|
19654
19672
|
const fallbackName = chunk.nodeId ? `${_nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")))} ${chunk.nodeId.slice(0, 8)}` : _nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")));
|
|
19655
|
-
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
19673
|
+
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _527 => _527.name]), () => ( fallbackName));
|
|
19656
19674
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
19657
19675
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
19658
19676
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -19699,7 +19717,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
19699
19717
|
for (const c of citations) {
|
|
19700
19718
|
const id = c.nodeId;
|
|
19701
19719
|
if (!id) continue;
|
|
19702
|
-
const source = _optionalChain([sources, 'optionalAccess',
|
|
19720
|
+
const source = _optionalChain([sources, 'optionalAccess', _528 => _528.get, 'call', _529 => _529(id)]);
|
|
19703
19721
|
if (!source) continue;
|
|
19704
19722
|
const existing = map.get(id);
|
|
19705
19723
|
if (existing) {
|
|
@@ -19766,7 +19784,7 @@ function UsersTab({ users, citations, sources }) {
|
|
|
19766
19784
|
const generate = usePageUrlGenerator();
|
|
19767
19785
|
const userMap = /* @__PURE__ */ new Map();
|
|
19768
19786
|
for (const u of users) {
|
|
19769
|
-
if (!_optionalChain([u, 'optionalAccess',
|
|
19787
|
+
if (!_optionalChain([u, 'optionalAccess', _530 => _530.id])) continue;
|
|
19770
19788
|
userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
|
|
19771
19789
|
}
|
|
19772
19790
|
if (citations && sources) {
|
|
@@ -19871,7 +19889,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
|
|
|
19871
19889
|
}
|
|
19872
19890
|
return ids.size;
|
|
19873
19891
|
}, [message.citations, sources]);
|
|
19874
|
-
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess',
|
|
19892
|
+
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _531 => _531.length]), () => ( 0));
|
|
19875
19893
|
const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
|
|
19876
19894
|
const visibleTabs = [];
|
|
19877
19895
|
if (suggestionsCount > 0) visibleTabs.push("suggested");
|
|
@@ -19931,8 +19949,8 @@ var SourcesFetcher = class extends _chunkPQBKPWBYjs.ClientAbstractService {
|
|
|
19931
19949
|
const endpoint = new (0, _chunkPQBKPWBYjs.EndpointCreator)({ endpoint: params.module });
|
|
19932
19950
|
endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
|
|
19933
19951
|
endpoint.addAdditionalParam("fetchAll", "true");
|
|
19934
|
-
if (_optionalChain([params, 'access',
|
|
19935
|
-
if (_optionalChain([params, 'access',
|
|
19952
|
+
if (_optionalChain([params, 'access', _532 => _532.module, 'access', _533 => _533.inclusions, 'optionalAccess', _534 => _534.lists, 'optionalAccess', _535 => _535.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
|
|
19953
|
+
if (_optionalChain([params, 'access', _536 => _536.module, 'access', _537 => _537.inclusions, 'optionalAccess', _538 => _538.lists, 'optionalAccess', _539 => _539.types])) endpoint.limitToType(params.module.inclusions.lists.types);
|
|
19936
19954
|
return this.callApi({
|
|
19937
19955
|
type: params.module,
|
|
19938
19956
|
method: "GET" /* GET */,
|
|
@@ -20011,7 +20029,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
|
|
|
20011
20029
|
return void 0;
|
|
20012
20030
|
}
|
|
20013
20031
|
})()));
|
|
20014
|
-
if (_optionalChain([author, 'optionalAccess',
|
|
20032
|
+
if (_optionalChain([author, 'optionalAccess', _540 => _540.id])) userMap.set(author.id, author);
|
|
20015
20033
|
}
|
|
20016
20034
|
return Array.from(userMap.values());
|
|
20017
20035
|
}, [resolved]);
|
|
@@ -20040,14 +20058,14 @@ function MessageItem({
|
|
|
20040
20058
|
}) {
|
|
20041
20059
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
20042
20060
|
const isUser = message.role === "user";
|
|
20043
|
-
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess',
|
|
20061
|
+
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _541 => _541.has, 'call', _542 => _542(message.id)]);
|
|
20044
20062
|
if (isUser) {
|
|
20045
20063
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
|
|
20046
20064
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-primary text-primary-foreground max-w-[72%] rounded-2xl rounded-br-sm px-3.5 py-2 text-sm", children: message.content }),
|
|
20047
20065
|
isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
|
|
20048
20066
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
|
|
20049
20067
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
|
|
20050
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall',
|
|
20068
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _543 => _543(message.id)]), children: t("features.assistant.retry") })
|
|
20051
20069
|
] })
|
|
20052
20070
|
] });
|
|
20053
20071
|
}
|
|
@@ -20123,7 +20141,7 @@ function AssistantThread({
|
|
|
20123
20141
|
}) {
|
|
20124
20142
|
const endRef = _react.useRef.call(void 0, null);
|
|
20125
20143
|
_react.useEffect.call(void 0, () => {
|
|
20126
|
-
_optionalChain([endRef, 'access',
|
|
20144
|
+
_optionalChain([endRef, 'access', _544 => _544.current, 'optionalAccess', _545 => _545.scrollIntoView, 'call', _546 => _546({ behavior: "smooth" })]);
|
|
20127
20145
|
}, [messages.length, sending]);
|
|
20128
20146
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 overflow-x-hidden overflow-y-auto px-6 py-5", children: [
|
|
20129
20147
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -20152,7 +20170,7 @@ function AssistantContainer({ renderApprovalAction } = {}) {
|
|
|
20152
20170
|
AssistantSidebar,
|
|
20153
20171
|
{
|
|
20154
20172
|
threads: ctx.threads,
|
|
20155
|
-
activeId: _optionalChain([ctx, 'access',
|
|
20173
|
+
activeId: _optionalChain([ctx, 'access', _547 => _547.assistant, 'optionalAccess', _548 => _548.id]),
|
|
20156
20174
|
onSelect: ctx.selectThread,
|
|
20157
20175
|
onNew: ctx.startNew
|
|
20158
20176
|
}
|
|
@@ -20253,14 +20271,14 @@ function NotificationsList({ archived }) {
|
|
|
20253
20271
|
] }),
|
|
20254
20272
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
20255
20273
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
20256
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access',
|
|
20274
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _549 => _549.data, 'optionalAccess', _550 => _550.map, 'call', _551 => _551((notification) => {
|
|
20257
20275
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
20258
20276
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex w-full flex-row items-center p-2`, children: [
|
|
20259
20277
|
notificationData.actor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-12 max-w-12 px-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkPQBKPWBYjs.Modules.User, id: notificationData.actor.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: notificationData.actor, className: "h-8 w-8" }) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-14 max-w-14 px-2" }),
|
|
20260
20278
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
20261
20279
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
20262
20280
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
20263
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
20281
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _552 => _552.actor, 'optionalAccess', _553 => _553.name]), () => ( "")),
|
|
20264
20282
|
title: notificationData.title
|
|
20265
20283
|
}) }),
|
|
20266
20284
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -20606,7 +20624,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
20606
20624
|
invalidEmail: "Please enter a valid email address"
|
|
20607
20625
|
};
|
|
20608
20626
|
async function copyToClipboard(text) {
|
|
20609
|
-
if (_optionalChain([navigator, 'access',
|
|
20627
|
+
if (_optionalChain([navigator, 'access', _554 => _554.clipboard, 'optionalAccess', _555 => _555.writeText])) {
|
|
20610
20628
|
try {
|
|
20611
20629
|
await navigator.clipboard.writeText(text);
|
|
20612
20630
|
return true;
|
|
@@ -20648,7 +20666,7 @@ function ReferralWidget({
|
|
|
20648
20666
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
20649
20667
|
const config = _chunkJO5BLONKjs.getReferralConfig.call(void 0, );
|
|
20650
20668
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
20651
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
20669
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _556 => _556.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
20652
20670
|
if (!_chunkJO5BLONKjs.isReferralEnabled.call(void 0, )) {
|
|
20653
20671
|
return null;
|
|
20654
20672
|
}
|
|
@@ -20658,7 +20676,7 @@ function ReferralWidget({
|
|
|
20658
20676
|
if (success) {
|
|
20659
20677
|
setCopied(true);
|
|
20660
20678
|
_chunkPQBKPWBYjs.showToast.call(void 0, t.copiedMessage);
|
|
20661
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
20679
|
+
_optionalChain([onLinkCopied, 'optionalCall', _557 => _557()]);
|
|
20662
20680
|
setTimeout(() => setCopied(false), 2e3);
|
|
20663
20681
|
} else {
|
|
20664
20682
|
_chunkPQBKPWBYjs.showError.call(void 0, t.copyError);
|
|
@@ -20672,12 +20690,12 @@ function ReferralWidget({
|
|
|
20672
20690
|
try {
|
|
20673
20691
|
await sendInvite(email);
|
|
20674
20692
|
_chunkPQBKPWBYjs.showToast.call(void 0, t.inviteSent);
|
|
20675
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
20693
|
+
_optionalChain([onInviteSent, 'optionalCall', _558 => _558(email)]);
|
|
20676
20694
|
setEmail("");
|
|
20677
20695
|
} catch (err) {
|
|
20678
20696
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
20679
20697
|
_chunkPQBKPWBYjs.showError.call(void 0, error2.message);
|
|
20680
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
20698
|
+
_optionalChain([onInviteError, 'optionalCall', _559 => _559(error2)]);
|
|
20681
20699
|
}
|
|
20682
20700
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
20683
20701
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -21431,7 +21449,7 @@ function OAuthClientList({
|
|
|
21431
21449
|
OAuthClientCard,
|
|
21432
21450
|
{
|
|
21433
21451
|
client,
|
|
21434
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
21452
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _560 => _560(client)]),
|
|
21435
21453
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
21436
21454
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
21437
21455
|
},
|
|
@@ -21447,11 +21465,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
21447
21465
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
21448
21466
|
const isEditMode = !!client;
|
|
21449
21467
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
21450
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
21451
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
21452
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
21453
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
21454
|
-
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess',
|
|
21468
|
+
name: _optionalChain([client, 'optionalAccess', _561 => _561.name]) || "",
|
|
21469
|
+
description: _optionalChain([client, 'optionalAccess', _562 => _562.description]) || "",
|
|
21470
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _563 => _563.redirectUris, 'optionalAccess', _564 => _564.length]) ? client.redirectUris : [""],
|
|
21471
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _565 => _565.allowedScopes]) || [],
|
|
21472
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _566 => _566.isConfidential]), () => ( true))
|
|
21455
21473
|
});
|
|
21456
21474
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
21457
21475
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -21679,7 +21697,7 @@ function OAuthClientDetail({
|
|
|
21679
21697
|
] }),
|
|
21680
21698
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21681
21699
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
21682
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([_chunkPQBKPWBYjs.OAUTH_SCOPE_DISPLAY, 'access',
|
|
21700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([_chunkPQBKPWBYjs.OAUTH_SCOPE_DISPLAY, 'access', _567 => _567[scope], 'optionalAccess', _568 => _568.name]) || scope }, scope)) })
|
|
21683
21701
|
] }),
|
|
21684
21702
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21685
21703
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -21823,7 +21841,7 @@ function OAuthConsentScreen({
|
|
|
21823
21841
|
if (error || !clientInfo) {
|
|
21824
21842
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "w-full max-w-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "py-8", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Alert, { variant: "destructive", children: [
|
|
21825
21843
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
21826
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess',
|
|
21844
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _569 => _569.message]) || "Invalid authorization request. Please try again." })
|
|
21827
21845
|
] }) }) }) });
|
|
21828
21846
|
}
|
|
21829
21847
|
const { client, scopes } = clientInfo;
|
|
@@ -22039,7 +22057,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
22039
22057
|
questionnaire: values.questionnaire
|
|
22040
22058
|
});
|
|
22041
22059
|
setIsSuccess(true);
|
|
22042
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
22060
|
+
_optionalChain([onSuccess, 'optionalCall', _570 => _570()]);
|
|
22043
22061
|
} catch (e) {
|
|
22044
22062
|
errorToast({ error: e });
|
|
22045
22063
|
} finally {
|
|
@@ -22677,7 +22695,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
|
|
|
22677
22695
|
] }),
|
|
22678
22696
|
roleIds.map((roleId) => {
|
|
22679
22697
|
const roleTokens = block[roleId];
|
|
22680
|
-
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
22698
|
+
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _571 => _571[roleId]]), () => ( roleId));
|
|
22681
22699
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
22682
22700
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
|
|
22683
22701
|
_chunkJO5BLONKjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22714,7 +22732,7 @@ function RbacContainer() {
|
|
|
22714
22732
|
}, []);
|
|
22715
22733
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
22716
22734
|
if (!matrix) return [];
|
|
22717
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
22735
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _572 => _572[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _573 => _573[b]]), () => ( b))));
|
|
22718
22736
|
}, [matrix, moduleNames]);
|
|
22719
22737
|
const roleIds = _react.useMemo.call(void 0, () => {
|
|
22720
22738
|
if (roleNames) {
|
|
@@ -22777,7 +22795,7 @@ function RbacContainer() {
|
|
|
22777
22795
|
id === selectedModuleId && "bg-muted font-medium text-foreground",
|
|
22778
22796
|
id !== selectedModuleId && "text-muted-foreground"
|
|
22779
22797
|
),
|
|
22780
|
-
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
22798
|
+
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _574 => _574[id]]), () => ( id))
|
|
22781
22799
|
}
|
|
22782
22800
|
) }, id)) }) }),
|
|
22783
22801
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22785,7 +22803,7 @@ function RbacContainer() {
|
|
|
22785
22803
|
{
|
|
22786
22804
|
moduleId: selectedModuleId,
|
|
22787
22805
|
block: selectedBlock,
|
|
22788
|
-
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
22806
|
+
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _575 => _575[selectedModuleId]]), () => ( selectedModuleId)),
|
|
22789
22807
|
roleIds,
|
|
22790
22808
|
roleNames,
|
|
22791
22809
|
onOpenPicker: openPicker
|
|
@@ -22796,12 +22814,12 @@ function RbacContainer() {
|
|
|
22796
22814
|
RbacPermissionPicker,
|
|
22797
22815
|
{
|
|
22798
22816
|
open: !!activePicker,
|
|
22799
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
22817
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _576 => _576.anchor]), () => ( null)),
|
|
22800
22818
|
value: activeValue,
|
|
22801
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
22819
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _577 => _577.isRoleColumn]), () => ( false)),
|
|
22802
22820
|
knownSegments: activeSegments,
|
|
22803
22821
|
onSetValue: handleSetValue,
|
|
22804
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
22822
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _578 => _578.isRoleColumn]) ? handleClear : void 0,
|
|
22805
22823
|
onClose: closePicker
|
|
22806
22824
|
}
|
|
22807
22825
|
)
|
|
@@ -22868,7 +22886,7 @@ function RbacByRoleContainer() {
|
|
|
22868
22886
|
}, [roleNames]);
|
|
22869
22887
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
22870
22888
|
if (!matrix) return [];
|
|
22871
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
22889
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _579 => _579[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _580 => _580[b]]), () => ( b))));
|
|
22872
22890
|
}, [matrix, moduleNames]);
|
|
22873
22891
|
_react.useEffect.call(void 0, () => {
|
|
22874
22892
|
if (!selectedRoleId && sortedRoleIds.length > 0) {
|
|
@@ -22917,7 +22935,7 @@ function RbacByRoleContainer() {
|
|
|
22917
22935
|
id === selectedRoleId && "bg-muted font-medium text-foreground",
|
|
22918
22936
|
id !== selectedRoleId && "text-muted-foreground"
|
|
22919
22937
|
),
|
|
22920
|
-
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
22938
|
+
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _581 => _581[id]]), () => ( id))
|
|
22921
22939
|
}
|
|
22922
22940
|
) }, id)) }) }),
|
|
22923
22941
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: sortedModuleIds.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-accent bg-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-x-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "table", { className: "w-full text-sm", children: [
|
|
@@ -22937,7 +22955,7 @@ function RbacByRoleContainer() {
|
|
|
22937
22955
|
if (!block) return null;
|
|
22938
22956
|
const defaultTokens = _nullishCoalesce(block.default, () => ( []));
|
|
22939
22957
|
const roleTokens = block[selectedRoleId];
|
|
22940
|
-
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
22958
|
+
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _582 => _582[moduleId]]), () => ( moduleId));
|
|
22941
22959
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
22942
22960
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22943
22961
|
"td",
|
|
@@ -22952,7 +22970,7 @@ function RbacByRoleContainer() {
|
|
|
22952
22970
|
_chunkJO5BLONKjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RbacPermissionCell, { value: cellValue2(defaultTokens, action) }) }, action))
|
|
22953
22971
|
] }),
|
|
22954
22972
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
22955
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
22973
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _583 => _583[selectedRoleId]]), () => ( selectedRoleId)) }),
|
|
22956
22974
|
_chunkJO5BLONKjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22957
22975
|
CellButton3,
|
|
22958
22976
|
{
|
|
@@ -22973,12 +22991,12 @@ function RbacByRoleContainer() {
|
|
|
22973
22991
|
RbacPermissionPicker,
|
|
22974
22992
|
{
|
|
22975
22993
|
open: !!activePicker,
|
|
22976
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
22994
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _584 => _584.anchor]), () => ( null)),
|
|
22977
22995
|
value: activeValue,
|
|
22978
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
22996
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _585 => _585.isRoleColumn]), () => ( false)),
|
|
22979
22997
|
knownSegments: activeSegments,
|
|
22980
22998
|
onSetValue: handleSetValue,
|
|
22981
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
22999
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _586 => _586.isRoleColumn]) ? handleClear : void 0,
|
|
22982
23000
|
onClose: closePicker
|
|
22983
23001
|
}
|
|
22984
23002
|
)
|
|
@@ -23523,4 +23541,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
|
|
|
23523
23541
|
|
|
23524
23542
|
|
|
23525
23543
|
exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce2; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.computeLayeredLayout = computeLayeredLayout; exports.fitLayeredLayoutToAspectRatio = fitLayeredLayoutToAspectRatio; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ConfirmDialog = ConfirmDialog; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.EmptyState = EmptyState; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.spinnerVariants = spinnerVariants; exports.Spinner = Spinner; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.useDebounce2 = useDebounce; exports.MultipleSelector = MultipleSelector; exports.EntityAvatar = EntityAvatar; exports.errorToast = errorToast; exports.EditableAvatar = EditableAvatar; exports.TableCellAvatar = TableCellAvatar; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.partitionTabs = partitionTabs; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.BlockNoteEditorMentionHoverCard = BlockNoteEditorMentionHoverCard; exports.mentionDataAttrs = mentionDataAttrs; exports.parseMentionElement = parseMentionElement; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.useMentionInsert = useMentionInsert; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.BlockNoteViewerContainer = BlockNoteViewerContainer; exports.FormFeatures = FormFeatures; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.CommonAddTrigger = CommonAddTrigger; exports.CurrencyInput = CurrencyInput; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.EntitySelector = EntitySelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormBlockNote = FormBlockNote; exports.FormCheckbox = FormCheckbox; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.FormBody = FormBody; exports.FormSection = FormSection; exports.FormRow = FormRow; exports.FormCol = FormCol; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.GdprConsentCheckbox = GdprConsentCheckbox; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellDateTime = cellDateTime; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.ContentListGrid = ContentListGrid; exports.ItalianFiscalData_default = ItalianFiscalData_default; exports.ItalianFiscalDataDisplay = ItalianFiscalDataDisplay; exports.parseFiscalData = parseFiscalData; exports.FiscalDataDisplay = FiscalDataDisplay; exports.EntityHeroLayout = EntityHeroLayout; exports.EntityHero = EntityHero; exports.EntityHeroAvatar = EntityHeroAvatar; exports.EntityHeroMetaRow = EntityHeroMetaRow; exports.EntitySection = EntitySection; exports.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.BackupCodesDialog = BackupCodesDialog; exports.TotpInput = TotpInput; exports.DisableTwoFactorDialog = DisableTwoFactorDialog; exports.PasskeyList = PasskeyList; exports.PasskeySetupDialog = PasskeySetupDialog; exports.TotpAuthenticatorList = TotpAuthenticatorList; exports.TotpSetupDialog = TotpSetupDialog; exports.TwoFactorSettings = TwoFactorSettings; exports.SecurityContainer = SecurityContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.PasskeyButton = PasskeyButton; exports.TwoFactorChallenge = TwoFactorChallenge; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.HowToCommandViewer = HowToCommandViewer; exports.HowToCommand = HowToCommand; exports.HowToDeleter = HowToDeleter; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.AssistantComposer = AssistantComposer; exports.AssistantEmptyState = AssistantEmptyState; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantThread = AssistantThread; exports.AssistantContainer = AssistantContainer; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.OnboardingCard = OnboardingCard; exports.ReferralCodeCapture = ReferralCodeCapture; exports.ReferralWidget = ReferralWidget; exports.ReferralDialog = ReferralDialog; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.WaitlistQuestionnaireRenderer = WaitlistQuestionnaireRenderer; exports.WaitlistForm = WaitlistForm; exports.WaitlistHeroSection = WaitlistHeroSection; exports.WaitlistSuccessState = WaitlistSuccessState; exports.WaitlistConfirmation = WaitlistConfirmation; exports.WaitlistList = WaitlistList; exports.RbacProvider = RbacProvider; exports.useRbacContext = useRbacContext; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacContainer = RbacContainer; exports.RbacByRoleContainer = RbacByRoleContainer; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.DEFAULT_ONBOARDING_LABELS = DEFAULT_ONBOARDING_LABELS; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
|
|
23526
|
-
//# sourceMappingURL=chunk-
|
|
23544
|
+
//# sourceMappingURL=chunk-QVRFFC2Q.js.map
|