@carlonicora/nextjs-jsonapi 1.87.4 → 1.88.1
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-QYJNJ4ZU.js → BlockNoteEditor-WBQCVHRG.js} +8 -8
- package/dist/{BlockNoteEditor-QYJNJ4ZU.js.map → BlockNoteEditor-WBQCVHRG.js.map} +1 -1
- package/dist/{BlockNoteEditor-Y33UF3NL.mjs → BlockNoteEditor-ZK2FZKIT.mjs} +2 -2
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-QGHPKVW2.js → chunk-6PDFD446.js} +152 -109
- package/dist/chunk-6PDFD446.js.map +1 -0
- package/dist/{chunk-6L3PWVNO.mjs → chunk-JAVXCFGG.mjs} +64 -21
- package/dist/chunk-JAVXCFGG.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +10 -0
- package/dist/components/index.d.ts +10 -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/package.json +1 -1
- package/src/components/containers/RoundPageContainer.tsx +38 -5
- package/src/components/containers/TabsContainer.tsx +10 -0
- package/dist/chunk-6L3PWVNO.mjs.map +0 -1
- package/dist/chunk-QGHPKVW2.js.map +0 -1
- /package/dist/{BlockNoteEditor-Y33UF3NL.mjs.map → BlockNoteEditor-ZK2FZKIT.mjs.map} +0 -0
|
@@ -9207,7 +9207,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
|
|
|
9207
9207
|
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
9208
9208
|
|
|
9209
9209
|
|
|
9210
|
-
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-
|
|
9210
|
+
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-WBQCVHRG.js"))), {
|
|
9211
9211
|
ssr: false
|
|
9212
9212
|
});
|
|
9213
9213
|
var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -13386,6 +13386,15 @@ function RoundPageContainer({
|
|
|
13386
13386
|
const rewriteUrl = useUrlRewriter();
|
|
13387
13387
|
const initialValue = tabs ? (section && tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _355 => _355.key, 'optionalAccess', _356 => _356.name]), () => ( i.label))) === section) ? section : null) || (_nullishCoalesce(_optionalChain([tabs, 'access', _357 => _357[0], 'access', _358 => _358.key, 'optionalAccess', _359 => _359.name]), () => ( tabs[0].label))) : void 0;
|
|
13388
13388
|
const [activeTab, setActiveTab] = _react.useState.call(void 0, initialValue);
|
|
13389
|
+
_react.useEffect.call(void 0, () => {
|
|
13390
|
+
if (tabs && section) {
|
|
13391
|
+
const tab = tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _360 => _360.key, 'optionalAccess', _361 => _361.name]), () => ( i.label))) === section);
|
|
13392
|
+
if (tab) {
|
|
13393
|
+
setActiveTab(section);
|
|
13394
|
+
}
|
|
13395
|
+
}
|
|
13396
|
+
}, [section, tabs]);
|
|
13397
|
+
const activeFillHeight = _optionalChain([tabs, 'optionalAccess', _362 => _362.find, 'call', _363 => _363((t) => (_nullishCoalesce(_optionalChain([t, 'access', _364 => _364.key, 'optionalAccess', _365 => _365.name]), () => ( t.label))) === activeTab), 'optionalAccess', _366 => _366.fillHeight]) === true;
|
|
13389
13398
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13390
13399
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { leftContent: headerLeftContent, className: "bg-sidebar border-0", children: headerChildren }),
|
|
13391
13400
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[calc(100vh-3rem)] w-full flex-col p-2 pt-0 pl-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-background flex h-full w-full rounded-lg border p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
@@ -13400,25 +13409,59 @@ function RoundPageContainer({
|
|
|
13400
13409
|
}
|
|
13401
13410
|
),
|
|
13402
13411
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full w-full overflow-hidden", children: [
|
|
13403
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13404
|
-
|
|
13405
|
-
|
|
13406
|
-
|
|
13407
|
-
|
|
13408
|
-
|
|
13409
|
-
|
|
13410
|
-
|
|
13411
|
-
|
|
13412
|
-
|
|
13413
|
-
|
|
13414
|
-
|
|
13415
|
-
|
|
13416
|
-
|
|
13417
|
-
|
|
13418
|
-
|
|
13419
|
-
|
|
13420
|
-
|
|
13421
|
-
|
|
13412
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13413
|
+
"div",
|
|
13414
|
+
{
|
|
13415
|
+
className: _chunkXAWKRNYMjs.cn.call(void 0,
|
|
13416
|
+
`grow p-4`,
|
|
13417
|
+
activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto`,
|
|
13418
|
+
fullWidth && `p-0`
|
|
13419
|
+
),
|
|
13420
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13421
|
+
"div",
|
|
13422
|
+
{
|
|
13423
|
+
className: _chunkXAWKRNYMjs.cn.call(void 0,
|
|
13424
|
+
`mx-auto max-w-6xl space-y-8`,
|
|
13425
|
+
activeFillHeight && `flex w-full flex-1 min-h-0 flex-col space-y-0`,
|
|
13426
|
+
fullWidth && `max-w-full w-full p-0 h-full`
|
|
13427
|
+
),
|
|
13428
|
+
children: tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13429
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13430
|
+
Tabs,
|
|
13431
|
+
{
|
|
13432
|
+
value: activeTab,
|
|
13433
|
+
className: _chunkXAWKRNYMjs.cn.call(void 0, `w-full`, activeFillHeight && `flex flex-1 min-h-0 flex-col`),
|
|
13434
|
+
onValueChange: (key) => {
|
|
13435
|
+
setActiveTab(key);
|
|
13436
|
+
if (module && id)
|
|
13437
|
+
rewriteUrl({ page: module, id, additionalParameters: { section: key } });
|
|
13438
|
+
},
|
|
13439
|
+
children: [
|
|
13440
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { className: ``, children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: _nullishCoalesce(_optionalChain([tab, 'access', _367 => _367.key, 'optionalAccess', _368 => _368.name]), () => ( tab.label)), className: `px-4`, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
|
|
13441
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13442
|
+
"div",
|
|
13443
|
+
{
|
|
13444
|
+
className: _chunkXAWKRNYMjs.cn.call(void 0, `flex w-full px-4`, activeFillHeight ? `flex-1 min-h-0` : `overflow-y-auto`),
|
|
13445
|
+
children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13446
|
+
TabsContent,
|
|
13447
|
+
{
|
|
13448
|
+
value: _nullishCoalesce(_optionalChain([tab, 'access', _369 => _369.key, 'optionalAccess', _370 => _370.name]), () => ( tab.label)),
|
|
13449
|
+
className: tab.fillHeight ? `flex flex-1 min-h-0 w-full flex-col` : `pb-20`,
|
|
13450
|
+
children: tab.content
|
|
13451
|
+
},
|
|
13452
|
+
tab.label
|
|
13453
|
+
))
|
|
13454
|
+
}
|
|
13455
|
+
)
|
|
13456
|
+
]
|
|
13457
|
+
}
|
|
13458
|
+
),
|
|
13459
|
+
children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex px-4", children })
|
|
13460
|
+
] }) : children
|
|
13461
|
+
}
|
|
13462
|
+
)
|
|
13463
|
+
}
|
|
13464
|
+
),
|
|
13422
13465
|
details && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13423
13466
|
"div",
|
|
13424
13467
|
{
|
|
@@ -13746,10 +13789,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
13746
13789
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13747
13790
|
Checkbox,
|
|
13748
13791
|
{
|
|
13749
|
-
checked: _optionalChain([params, 'access',
|
|
13792
|
+
checked: _optionalChain([params, 'access', _371 => _371.checkedIds, 'optionalAccess', _372 => _372.includes, 'call', _373 => _373(row.getValue(params.name))]) || false,
|
|
13750
13793
|
onCheckedChange: (value) => {
|
|
13751
13794
|
row.toggleSelected(!!value);
|
|
13752
|
-
_optionalChain([params, 'access',
|
|
13795
|
+
_optionalChain([params, 'access', _374 => _374.toggleId, 'optionalCall', _375 => _375(row.getValue(params.name))]);
|
|
13753
13796
|
},
|
|
13754
13797
|
"aria-label": "Select row"
|
|
13755
13798
|
}
|
|
@@ -13808,7 +13851,7 @@ function useJsonApiGet(params) {
|
|
|
13808
13851
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
13809
13852
|
const isMounted = _react.useRef.call(void 0, true);
|
|
13810
13853
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
13811
|
-
if (_optionalChain([params, 'access',
|
|
13854
|
+
if (_optionalChain([params, 'access', _376 => _376.options, 'optionalAccess', _377 => _377.enabled]) === false) return;
|
|
13812
13855
|
setLoading(true);
|
|
13813
13856
|
setError(null);
|
|
13814
13857
|
try {
|
|
@@ -13835,9 +13878,9 @@ function useJsonApiGet(params) {
|
|
|
13835
13878
|
setLoading(false);
|
|
13836
13879
|
}
|
|
13837
13880
|
}
|
|
13838
|
-
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access',
|
|
13881
|
+
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _378 => _378.options, 'optionalAccess', _379 => _379.enabled])]);
|
|
13839
13882
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
13840
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
13883
|
+
if (!_optionalChain([response, 'optionalAccess', _380 => _380.nextPage])) return;
|
|
13841
13884
|
setLoading(true);
|
|
13842
13885
|
try {
|
|
13843
13886
|
const nextResponse = await response.nextPage();
|
|
@@ -13858,7 +13901,7 @@ function useJsonApiGet(params) {
|
|
|
13858
13901
|
}
|
|
13859
13902
|
}, [response]);
|
|
13860
13903
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
13861
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
13904
|
+
if (!_optionalChain([response, 'optionalAccess', _381 => _381.prevPage])) return;
|
|
13862
13905
|
setLoading(true);
|
|
13863
13906
|
try {
|
|
13864
13907
|
const prevResponse = await response.prevPage();
|
|
@@ -13884,15 +13927,15 @@ function useJsonApiGet(params) {
|
|
|
13884
13927
|
return () => {
|
|
13885
13928
|
isMounted.current = false;
|
|
13886
13929
|
};
|
|
13887
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
13930
|
+
}, [fetchData, ..._optionalChain([params, 'access', _382 => _382.options, 'optionalAccess', _383 => _383.deps]) || []]);
|
|
13888
13931
|
return {
|
|
13889
13932
|
data,
|
|
13890
13933
|
loading,
|
|
13891
13934
|
error,
|
|
13892
13935
|
response,
|
|
13893
13936
|
refetch: fetchData,
|
|
13894
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
13895
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
13937
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _384 => _384.next]),
|
|
13938
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _385 => _385.prev]),
|
|
13896
13939
|
fetchNextPage,
|
|
13897
13940
|
fetchPreviousPage
|
|
13898
13941
|
};
|
|
@@ -13970,17 +14013,17 @@ function useJsonApiMutation(config) {
|
|
|
13970
14013
|
if (apiResponse.ok) {
|
|
13971
14014
|
const resultData = apiResponse.data;
|
|
13972
14015
|
setData(resultData);
|
|
13973
|
-
_optionalChain([config, 'access',
|
|
14016
|
+
_optionalChain([config, 'access', _386 => _386.onSuccess, 'optionalCall', _387 => _387(resultData)]);
|
|
13974
14017
|
return resultData;
|
|
13975
14018
|
} else {
|
|
13976
14019
|
setError(apiResponse.error);
|
|
13977
|
-
_optionalChain([config, 'access',
|
|
14020
|
+
_optionalChain([config, 'access', _388 => _388.onError, 'optionalCall', _389 => _389(apiResponse.error)]);
|
|
13978
14021
|
return null;
|
|
13979
14022
|
}
|
|
13980
14023
|
} catch (err) {
|
|
13981
14024
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
13982
14025
|
setError(errorMessage);
|
|
13983
|
-
_optionalChain([config, 'access',
|
|
14026
|
+
_optionalChain([config, 'access', _390 => _390.onError, 'optionalCall', _391 => _391(errorMessage)]);
|
|
13984
14027
|
return null;
|
|
13985
14028
|
} finally {
|
|
13986
14029
|
setLoading(false);
|
|
@@ -14053,7 +14096,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14053
14096
|
{
|
|
14054
14097
|
href: hasRole(_chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
14055
14098
|
page: "/administration",
|
|
14056
|
-
id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access',
|
|
14099
|
+
id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access', _392 => _392.Company, 'access', _393 => _393.pageUrl, 'optionalAccess', _394 => _394.substring, 'call', _395 => _395(1)]),
|
|
14057
14100
|
childPage: company.id
|
|
14058
14101
|
}) : generateUrl({ page: _chunkXAWKRNYMjs.Modules.Company, id: company.id }),
|
|
14059
14102
|
children: row.getValue("name")
|
|
@@ -14069,7 +14112,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14069
14112
|
})
|
|
14070
14113
|
};
|
|
14071
14114
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14072
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14115
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _396 => _396[field], 'optionalCall', _397 => _397()])).filter((col) => col !== void 0);
|
|
14073
14116
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
14074
14117
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14075
14118
|
}, "useCompanyTableStructure");
|
|
@@ -14081,7 +14124,7 @@ var GRACE_DAYS = 3;
|
|
|
14081
14124
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
14082
14125
|
if (!currentUser || !_chunkSE5HIHJSjs.isRolesConfigured.call(void 0, )) return false;
|
|
14083
14126
|
const adminRoleId = _chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator;
|
|
14084
|
-
return !!_optionalChain([currentUser, 'access',
|
|
14127
|
+
return !!_optionalChain([currentUser, 'access', _398 => _398.roles, 'optionalAccess', _399 => _399.some, 'call', _400 => _400((role) => role.id === adminRoleId)]);
|
|
14085
14128
|
}, "isAdministrator");
|
|
14086
14129
|
function useSubscriptionStatus() {
|
|
14087
14130
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -14198,7 +14241,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
14198
14241
|
})
|
|
14199
14242
|
};
|
|
14200
14243
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14201
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14244
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _401 => _401[field], 'optionalCall', _402 => _402()])).filter((col) => col !== void 0);
|
|
14202
14245
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
14203
14246
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14204
14247
|
}, "useRoleTableStructure");
|
|
@@ -14299,11 +14342,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14299
14342
|
return params.fields.map((field) => {
|
|
14300
14343
|
const localHandler = fieldColumnMap[field];
|
|
14301
14344
|
if (localHandler) return localHandler();
|
|
14302
|
-
const customHandler = _optionalChain([params, 'access',
|
|
14345
|
+
const customHandler = _optionalChain([params, 'access', _403 => _403.context, 'optionalAccess', _404 => _404.customCells, 'optionalAccess', _405 => _405[field]]);
|
|
14303
14346
|
if (customHandler) return customHandler({ t });
|
|
14304
14347
|
return void 0;
|
|
14305
14348
|
}).filter((col) => col !== void 0);
|
|
14306
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
14349
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _406 => _406.context, 'optionalAccess', _407 => _407.customCells])]);
|
|
14307
14350
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14308
14351
|
}, "useContentTableStructure");
|
|
14309
14352
|
|
|
@@ -14638,7 +14681,7 @@ function ContentTableSearch({ data }) {
|
|
|
14638
14681
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
14639
14682
|
if (!isExpanded) {
|
|
14640
14683
|
setIsFocused(true);
|
|
14641
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
14684
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _408 => _408.current, 'optionalAccess', _409 => _409.focus, 'call', _410 => _410()]), 50);
|
|
14642
14685
|
}
|
|
14643
14686
|
}, "handleSearchIconClick");
|
|
14644
14687
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -14704,7 +14747,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14704
14747
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
14705
14748
|
);
|
|
14706
14749
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
14707
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
14750
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _411 => _411.data]), () => ( EMPTY_ARRAY)),
|
|
14708
14751
|
fields,
|
|
14709
14752
|
checkedIds,
|
|
14710
14753
|
toggleId,
|
|
@@ -14773,12 +14816,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14773
14816
|
) }),
|
|
14774
14817
|
table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
14775
14818
|
const meta = header.column.columnDef.meta;
|
|
14776
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess',
|
|
14819
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _412 => _412.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
|
|
14777
14820
|
}) }, headerGroup.id))
|
|
14778
14821
|
] }),
|
|
14779
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access',
|
|
14822
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _413 => _413.rows, 'optionalAccess', _414 => _414.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
|
|
14780
14823
|
const meta = cell.column.columnDef.meta;
|
|
14781
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
14824
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _415 => _415.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
14782
14825
|
}) }, row.id)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "h-24 text-center", children: "No results." }) }) }),
|
|
14783
14826
|
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: [
|
|
14784
14827
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14788,7 +14831,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14788
14831
|
size: "sm",
|
|
14789
14832
|
onClick: (e) => {
|
|
14790
14833
|
e.preventDefault();
|
|
14791
|
-
_optionalChain([data, 'access',
|
|
14834
|
+
_optionalChain([data, 'access', _416 => _416.previous, 'optionalCall', _417 => _417(true)]);
|
|
14792
14835
|
},
|
|
14793
14836
|
disabled: !data.previous,
|
|
14794
14837
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -14802,7 +14845,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14802
14845
|
size: "sm",
|
|
14803
14846
|
onClick: (e) => {
|
|
14804
14847
|
e.preventDefault();
|
|
14805
|
-
_optionalChain([data, 'access',
|
|
14848
|
+
_optionalChain([data, 'access', _418 => _418.next, 'optionalCall', _419 => _419(true)]);
|
|
14806
14849
|
},
|
|
14807
14850
|
disabled: !data.next,
|
|
14808
14851
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -14823,7 +14866,7 @@ function ContentListGrid(props) {
|
|
|
14823
14866
|
if (!data.next || !sentinelRef.current) return;
|
|
14824
14867
|
const observer = new IntersectionObserver(
|
|
14825
14868
|
(entries) => {
|
|
14826
|
-
if (_optionalChain([entries, 'access',
|
|
14869
|
+
if (_optionalChain([entries, 'access', _420 => _420[0], 'optionalAccess', _421 => _421.isIntersecting])) _optionalChain([data, 'access', _422 => _422.next, 'optionalCall', _423 => _423()]);
|
|
14827
14870
|
},
|
|
14828
14871
|
{ threshold: 0.1, rootMargin: "200px" }
|
|
14829
14872
|
);
|
|
@@ -15573,7 +15616,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15573
15616
|
newDigits[index] = digit;
|
|
15574
15617
|
setDigits(newDigits);
|
|
15575
15618
|
if (digit && index < 5) {
|
|
15576
|
-
_optionalChain([inputRefs, 'access',
|
|
15619
|
+
_optionalChain([inputRefs, 'access', _424 => _424.current, 'access', _425 => _425[index + 1], 'optionalAccess', _426 => _426.focus, 'call', _427 => _427()]);
|
|
15577
15620
|
}
|
|
15578
15621
|
const code = newDigits.join("");
|
|
15579
15622
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -15582,7 +15625,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15582
15625
|
}, "handleChange");
|
|
15583
15626
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
15584
15627
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
15585
|
-
_optionalChain([inputRefs, 'access',
|
|
15628
|
+
_optionalChain([inputRefs, 'access', _428 => _428.current, 'access', _429 => _429[index - 1], 'optionalAccess', _430 => _430.focus, 'call', _431 => _431()]);
|
|
15586
15629
|
}
|
|
15587
15630
|
}, "handleKeyDown");
|
|
15588
15631
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -15591,7 +15634,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15591
15634
|
if (pastedData.length === 6) {
|
|
15592
15635
|
const newDigits = pastedData.split("");
|
|
15593
15636
|
setDigits(newDigits);
|
|
15594
|
-
_optionalChain([inputRefs, 'access',
|
|
15637
|
+
_optionalChain([inputRefs, 'access', _432 => _432.current, 'access', _433 => _433[5], 'optionalAccess', _434 => _434.focus, 'call', _435 => _435()]);
|
|
15595
15638
|
onComplete(pastedData);
|
|
15596
15639
|
}
|
|
15597
15640
|
}, "handlePaste");
|
|
@@ -15802,8 +15845,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
15802
15845
|
try {
|
|
15803
15846
|
const registrationData = await _chunkXAWKRNYMjs.TwoFactorService.getPasskeyRegistrationOptions({
|
|
15804
15847
|
id: _uuid.v4.call(void 0, ),
|
|
15805
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
15806
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
15848
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _436 => _436.email]), () => ( "")),
|
|
15849
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _437 => _437.name])
|
|
15807
15850
|
});
|
|
15808
15851
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
15809
15852
|
await _chunkXAWKRNYMjs.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -15954,7 +15997,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
15954
15997
|
const setup = await _chunkXAWKRNYMjs.TwoFactorService.setupTotp({
|
|
15955
15998
|
id: _uuid.v4.call(void 0, ),
|
|
15956
15999
|
name: name.trim(),
|
|
15957
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
16000
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _438 => _438.email]), () => ( ""))
|
|
15958
16001
|
});
|
|
15959
16002
|
setQrCodeUri(setup.qrCodeUri);
|
|
15960
16003
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -16088,7 +16131,7 @@ function TwoFactorSettings() {
|
|
|
16088
16131
|
if (isLoading) {
|
|
16089
16132
|
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") }) }) });
|
|
16090
16133
|
}
|
|
16091
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
16134
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _439 => _439.isEnabled]), () => ( false));
|
|
16092
16135
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
16093
16136
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
16094
16137
|
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" }),
|
|
@@ -16126,7 +16169,7 @@ function TwoFactorSettings() {
|
|
|
16126
16169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
16127
16170
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
16128
16171
|
] }),
|
|
16129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
16172
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _440 => _440.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
16130
16173
|
] }) }),
|
|
16131
16174
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16132
16175
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -16304,9 +16347,9 @@ function AcceptInvitation() {
|
|
|
16304
16347
|
});
|
|
16305
16348
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16306
16349
|
try {
|
|
16307
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
16350
|
+
if (!_optionalChain([params, 'optionalAccess', _441 => _441.code])) return;
|
|
16308
16351
|
const payload = {
|
|
16309
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
16352
|
+
code: _optionalChain([params, 'optionalAccess', _442 => _442.code]),
|
|
16310
16353
|
password: values.password
|
|
16311
16354
|
};
|
|
16312
16355
|
await _chunkXAWKRNYMjs.AuthService.acceptInvitation(payload);
|
|
@@ -16656,7 +16699,7 @@ function Logout({ storageKeys }) {
|
|
|
16656
16699
|
const generateUrl = usePageUrlGenerator();
|
|
16657
16700
|
_react.useEffect.call(void 0, () => {
|
|
16658
16701
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
16659
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
16702
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _443 => _443.length])) {
|
|
16660
16703
|
clearClientStorage(storageKeys);
|
|
16661
16704
|
}
|
|
16662
16705
|
await _chunkXAWKRNYMjs.AuthService.logout();
|
|
@@ -16679,14 +16722,14 @@ function RefreshUser() {
|
|
|
16679
16722
|
setUser(fullUser);
|
|
16680
16723
|
const token = {
|
|
16681
16724
|
userId: fullUser.id,
|
|
16682
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
16725
|
+
companyId: _optionalChain([fullUser, 'access', _444 => _444.company, 'optionalAccess', _445 => _445.id]),
|
|
16683
16726
|
roles: fullUser.roles.map((role) => role.id),
|
|
16684
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
16727
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _446 => _446.company, 'optionalAccess', _447 => _447.features, 'optionalAccess', _448 => _448.map, 'call', _449 => _449((feature) => feature.id)]), () => ( [])),
|
|
16685
16728
|
modules: fullUser.modules.map((module) => {
|
|
16686
16729
|
return { id: module.id, permissions: module.permissions };
|
|
16687
16730
|
})
|
|
16688
16731
|
};
|
|
16689
|
-
await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
16732
|
+
await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess', _450 => _450.updateToken, 'call', _451 => _451(token)]);
|
|
16690
16733
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
16691
16734
|
}
|
|
16692
16735
|
}, "loadFullUser");
|
|
@@ -16750,9 +16793,9 @@ function ResetPassword() {
|
|
|
16750
16793
|
});
|
|
16751
16794
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16752
16795
|
try {
|
|
16753
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
16796
|
+
if (!_optionalChain([params, 'optionalAccess', _452 => _452.code])) return;
|
|
16754
16797
|
const payload = {
|
|
16755
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
16798
|
+
code: _optionalChain([params, 'optionalAccess', _453 => _453.code]),
|
|
16756
16799
|
password: values.password
|
|
16757
16800
|
};
|
|
16758
16801
|
await _chunkXAWKRNYMjs.AuthService.resetPassword(payload);
|
|
@@ -17101,7 +17144,7 @@ function extractHeadings(blocks) {
|
|
|
17101
17144
|
function processBlocks(blockArray) {
|
|
17102
17145
|
for (const block of blockArray) {
|
|
17103
17146
|
if (block.type === "heading") {
|
|
17104
|
-
const level = _optionalChain([block, 'access',
|
|
17147
|
+
const level = _optionalChain([block, 'access', _454 => _454.props, 'optionalAccess', _455 => _455.level]) || 1;
|
|
17105
17148
|
const text = extractTextFromContent(block.content);
|
|
17106
17149
|
if (text.trim()) {
|
|
17107
17150
|
headings.push({
|
|
@@ -17444,7 +17487,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
|
|
|
17444
17487
|
})
|
|
17445
17488
|
};
|
|
17446
17489
|
const columns = _react.useMemo.call(void 0, () => {
|
|
17447
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
17490
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _456 => _456[field], 'optionalCall', _457 => _457()])).filter((col) => col !== void 0);
|
|
17448
17491
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
17449
17492
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
17450
17493
|
}, "useHowToTableStructure");
|
|
@@ -17510,7 +17553,7 @@ function HowToMultiSelector({
|
|
|
17510
17553
|
retriever: (params) => _chunkXAWKRNYMjs.HowToService.findMany(params),
|
|
17511
17554
|
module: _chunkXAWKRNYMjs.Modules.HowTo,
|
|
17512
17555
|
getLabel: (howTo) => howTo.name,
|
|
17513
|
-
excludeId: _optionalChain([currentHowTo, 'optionalAccess',
|
|
17556
|
+
excludeId: _optionalChain([currentHowTo, 'optionalAccess', _458 => _458.id]),
|
|
17514
17557
|
onChange
|
|
17515
17558
|
}
|
|
17516
17559
|
);
|
|
@@ -17575,7 +17618,7 @@ function HowToSelector({
|
|
|
17575
17618
|
}, "setHowTo");
|
|
17576
17619
|
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: [
|
|
17577
17620
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
|
|
17578
|
-
/* @__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',
|
|
17621
|
+
/* @__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', _459 => _459.value, 'optionalAccess', _460 => _460.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 }) }))) }) }) }),
|
|
17579
17622
|
field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17580
17623
|
_lucidereact.CircleX,
|
|
17581
17624
|
{
|
|
@@ -17930,9 +17973,9 @@ function CitationsTab({ citations, sources }) {
|
|
|
17930
17973
|
] }) }),
|
|
17931
17974
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
|
|
17932
17975
|
const isOpen = expanded.has(chunk.id);
|
|
17933
|
-
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess',
|
|
17976
|
+
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _461 => _461.get, 'call', _462 => _462(chunk.nodeId)]) : void 0;
|
|
17934
17977
|
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")));
|
|
17935
|
-
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
17978
|
+
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _463 => _463.name]), () => ( fallbackName));
|
|
17936
17979
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
17937
17980
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
17938
17981
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -17979,7 +18022,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
17979
18022
|
for (const c of citations) {
|
|
17980
18023
|
const id = c.nodeId;
|
|
17981
18024
|
if (!id) continue;
|
|
17982
|
-
const source = _optionalChain([sources, 'optionalAccess',
|
|
18025
|
+
const source = _optionalChain([sources, 'optionalAccess', _464 => _464.get, 'call', _465 => _465(id)]);
|
|
17983
18026
|
if (!source) continue;
|
|
17984
18027
|
const existing = map.get(id);
|
|
17985
18028
|
if (existing) {
|
|
@@ -18044,7 +18087,7 @@ function UsersTab({ users, citations, sources }) {
|
|
|
18044
18087
|
const generate = usePageUrlGenerator();
|
|
18045
18088
|
const userMap = /* @__PURE__ */ new Map();
|
|
18046
18089
|
for (const u of users) {
|
|
18047
|
-
if (!_optionalChain([u, 'optionalAccess',
|
|
18090
|
+
if (!_optionalChain([u, 'optionalAccess', _466 => _466.id])) continue;
|
|
18048
18091
|
userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
|
|
18049
18092
|
}
|
|
18050
18093
|
if (citations && sources) {
|
|
@@ -18157,7 +18200,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
|
|
|
18157
18200
|
}
|
|
18158
18201
|
return ids.size;
|
|
18159
18202
|
}, [message.citations, sources]);
|
|
18160
|
-
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess',
|
|
18203
|
+
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _467 => _467.length]), () => ( 0));
|
|
18161
18204
|
const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
|
|
18162
18205
|
const visibleTabs = [];
|
|
18163
18206
|
if (suggestionsCount > 0) visibleTabs.push("suggested");
|
|
@@ -18216,8 +18259,8 @@ var SourcesFetcher = class extends _chunkXAWKRNYMjs.ClientAbstractService {
|
|
|
18216
18259
|
static async findManyByIds(params) {
|
|
18217
18260
|
const endpoint = new (0, _chunkXAWKRNYMjs.EndpointCreator)({ endpoint: params.module });
|
|
18218
18261
|
endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
|
|
18219
|
-
if (_optionalChain([params, 'access',
|
|
18220
|
-
if (_optionalChain([params, 'access',
|
|
18262
|
+
if (_optionalChain([params, 'access', _468 => _468.module, 'access', _469 => _469.inclusions, 'optionalAccess', _470 => _470.lists, 'optionalAccess', _471 => _471.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
|
|
18263
|
+
if (_optionalChain([params, 'access', _472 => _472.module, 'access', _473 => _473.inclusions, 'optionalAccess', _474 => _474.lists, 'optionalAccess', _475 => _475.types])) endpoint.limitToType(params.module.inclusions.lists.types);
|
|
18221
18264
|
return this.callApi({
|
|
18222
18265
|
type: params.module,
|
|
18223
18266
|
method: "GET" /* GET */,
|
|
@@ -18296,7 +18339,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
|
|
|
18296
18339
|
return void 0;
|
|
18297
18340
|
}
|
|
18298
18341
|
})()));
|
|
18299
|
-
if (_optionalChain([author, 'optionalAccess',
|
|
18342
|
+
if (_optionalChain([author, 'optionalAccess', _476 => _476.id])) userMap.set(author.id, author);
|
|
18300
18343
|
}
|
|
18301
18344
|
return Array.from(userMap.values());
|
|
18302
18345
|
}, [resolved]);
|
|
@@ -18318,14 +18361,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, MessageSourcesContainer, "MessageSourcesCon
|
|
|
18318
18361
|
function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18319
18362
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
18320
18363
|
const isUser = message.role === "user";
|
|
18321
|
-
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess',
|
|
18364
|
+
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _477 => _477.has, 'call', _478 => _478(message.id)]);
|
|
18322
18365
|
if (isUser) {
|
|
18323
18366
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
|
|
18324
18367
|
/* @__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 }),
|
|
18325
18368
|
isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
|
|
18326
18369
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
|
|
18327
18370
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
|
|
18328
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall',
|
|
18371
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _479 => _479(message.id)]), children: t("features.assistant.retry") })
|
|
18329
18372
|
] })
|
|
18330
18373
|
] });
|
|
18331
18374
|
}
|
|
@@ -18391,7 +18434,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AssistantStatusLine, "AssistantStatusLine")
|
|
|
18391
18434
|
function AssistantThread({ messages, sending, status, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18392
18435
|
const endRef = _react.useRef.call(void 0, null);
|
|
18393
18436
|
_react.useEffect.call(void 0, () => {
|
|
18394
|
-
_optionalChain([endRef, 'access',
|
|
18437
|
+
_optionalChain([endRef, 'access', _480 => _480.current, 'optionalAccess', _481 => _481.scrollIntoView, 'call', _482 => _482({ behavior: "smooth" })]);
|
|
18395
18438
|
}, [messages.length, sending]);
|
|
18396
18439
|
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: [
|
|
18397
18440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18419,7 +18462,7 @@ function AssistantContainer() {
|
|
|
18419
18462
|
AssistantSidebar,
|
|
18420
18463
|
{
|
|
18421
18464
|
threads: ctx.threads,
|
|
18422
|
-
activeId: _optionalChain([ctx, 'access',
|
|
18465
|
+
activeId: _optionalChain([ctx, 'access', _483 => _483.assistant, 'optionalAccess', _484 => _484.id]),
|
|
18423
18466
|
onSelect: ctx.selectThread,
|
|
18424
18467
|
onNew: ctx.startNew
|
|
18425
18468
|
}
|
|
@@ -18512,14 +18555,14 @@ function NotificationsList({ archived }) {
|
|
|
18512
18555
|
] }),
|
|
18513
18556
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
18514
18557
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
18515
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access',
|
|
18558
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _485 => _485.data, 'optionalAccess', _486 => _486.map, 'call', _487 => _487((notification) => {
|
|
18516
18559
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
18517
18560
|
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: [
|
|
18518
18561
|
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: _chunkXAWKRNYMjs.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" }),
|
|
18519
18562
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
18520
18563
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
18521
18564
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
18522
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
18565
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _488 => _488.actor, 'optionalAccess', _489 => _489.name]), () => ( "")),
|
|
18523
18566
|
title: notificationData.title
|
|
18524
18567
|
}) }),
|
|
18525
18568
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -18869,7 +18912,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
18869
18912
|
invalidEmail: "Please enter a valid email address"
|
|
18870
18913
|
};
|
|
18871
18914
|
async function copyToClipboard(text) {
|
|
18872
|
-
if (_optionalChain([navigator, 'access',
|
|
18915
|
+
if (_optionalChain([navigator, 'access', _490 => _490.clipboard, 'optionalAccess', _491 => _491.writeText])) {
|
|
18873
18916
|
try {
|
|
18874
18917
|
await navigator.clipboard.writeText(text);
|
|
18875
18918
|
return true;
|
|
@@ -18911,7 +18954,7 @@ function ReferralWidget({
|
|
|
18911
18954
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
18912
18955
|
const config = _chunkSE5HIHJSjs.getReferralConfig.call(void 0, );
|
|
18913
18956
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
18914
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
18957
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _492 => _492.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
18915
18958
|
if (!_chunkSE5HIHJSjs.isReferralEnabled.call(void 0, )) {
|
|
18916
18959
|
return null;
|
|
18917
18960
|
}
|
|
@@ -18921,7 +18964,7 @@ function ReferralWidget({
|
|
|
18921
18964
|
if (success) {
|
|
18922
18965
|
setCopied(true);
|
|
18923
18966
|
_chunkXAWKRNYMjs.showToast.call(void 0, t.copiedMessage);
|
|
18924
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
18967
|
+
_optionalChain([onLinkCopied, 'optionalCall', _493 => _493()]);
|
|
18925
18968
|
setTimeout(() => setCopied(false), 2e3);
|
|
18926
18969
|
} else {
|
|
18927
18970
|
_chunkXAWKRNYMjs.showError.call(void 0, t.copyError);
|
|
@@ -18935,12 +18978,12 @@ function ReferralWidget({
|
|
|
18935
18978
|
try {
|
|
18936
18979
|
await sendInvite(email);
|
|
18937
18980
|
_chunkXAWKRNYMjs.showToast.call(void 0, t.inviteSent);
|
|
18938
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
18981
|
+
_optionalChain([onInviteSent, 'optionalCall', _494 => _494(email)]);
|
|
18939
18982
|
setEmail("");
|
|
18940
18983
|
} catch (err) {
|
|
18941
18984
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
18942
18985
|
_chunkXAWKRNYMjs.showError.call(void 0, error2.message);
|
|
18943
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
18986
|
+
_optionalChain([onInviteError, 'optionalCall', _495 => _495(error2)]);
|
|
18944
18987
|
}
|
|
18945
18988
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
18946
18989
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -19694,7 +19737,7 @@ function OAuthClientList({
|
|
|
19694
19737
|
OAuthClientCard,
|
|
19695
19738
|
{
|
|
19696
19739
|
client,
|
|
19697
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
19740
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _496 => _496(client)]),
|
|
19698
19741
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
19699
19742
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
19700
19743
|
},
|
|
@@ -19710,11 +19753,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
19710
19753
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
19711
19754
|
const isEditMode = !!client;
|
|
19712
19755
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
19713
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
19714
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
19715
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
19716
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
19717
|
-
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess',
|
|
19756
|
+
name: _optionalChain([client, 'optionalAccess', _497 => _497.name]) || "",
|
|
19757
|
+
description: _optionalChain([client, 'optionalAccess', _498 => _498.description]) || "",
|
|
19758
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _499 => _499.redirectUris, 'optionalAccess', _500 => _500.length]) ? client.redirectUris : [""],
|
|
19759
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _501 => _501.allowedScopes]) || [],
|
|
19760
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _502 => _502.isConfidential]), () => ( true))
|
|
19718
19761
|
});
|
|
19719
19762
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
19720
19763
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -19942,7 +19985,7 @@ function OAuthClientDetail({
|
|
|
19942
19985
|
] }),
|
|
19943
19986
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
19944
19987
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
19945
|
-
/* @__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([_chunkXAWKRNYMjs.OAUTH_SCOPE_DISPLAY, 'access',
|
|
19988
|
+
/* @__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([_chunkXAWKRNYMjs.OAUTH_SCOPE_DISPLAY, 'access', _503 => _503[scope], 'optionalAccess', _504 => _504.name]) || scope }, scope)) })
|
|
19946
19989
|
] }),
|
|
19947
19990
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
19948
19991
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -20086,7 +20129,7 @@ function OAuthConsentScreen({
|
|
|
20086
20129
|
if (error || !clientInfo) {
|
|
20087
20130
|
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: [
|
|
20088
20131
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
20089
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess',
|
|
20132
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _505 => _505.message]) || "Invalid authorization request. Please try again." })
|
|
20090
20133
|
] }) }) }) });
|
|
20091
20134
|
}
|
|
20092
20135
|
const { client, scopes } = clientInfo;
|
|
@@ -20302,7 +20345,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
20302
20345
|
questionnaire: values.questionnaire
|
|
20303
20346
|
});
|
|
20304
20347
|
setIsSuccess(true);
|
|
20305
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
20348
|
+
_optionalChain([onSuccess, 'optionalCall', _506 => _506()]);
|
|
20306
20349
|
} catch (e) {
|
|
20307
20350
|
errorToast({ error: e });
|
|
20308
20351
|
} finally {
|
|
@@ -20940,7 +20983,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
|
|
|
20940
20983
|
] }),
|
|
20941
20984
|
roleIds.map((roleId) => {
|
|
20942
20985
|
const roleTokens = block[roleId];
|
|
20943
|
-
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
20986
|
+
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _507 => _507[roleId]]), () => ( roleId));
|
|
20944
20987
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
20945
20988
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
|
|
20946
20989
|
_chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -20977,7 +21020,7 @@ function RbacContainer() {
|
|
|
20977
21020
|
}, []);
|
|
20978
21021
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
20979
21022
|
if (!matrix) return [];
|
|
20980
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21023
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _508 => _508[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _509 => _509[b]]), () => ( b))));
|
|
20981
21024
|
}, [matrix, moduleNames]);
|
|
20982
21025
|
const roleIds = _react.useMemo.call(void 0, () => {
|
|
20983
21026
|
if (roleNames) {
|
|
@@ -21040,7 +21083,7 @@ function RbacContainer() {
|
|
|
21040
21083
|
id === selectedModuleId && "bg-muted font-medium text-foreground",
|
|
21041
21084
|
id !== selectedModuleId && "text-muted-foreground"
|
|
21042
21085
|
),
|
|
21043
|
-
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21086
|
+
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _510 => _510[id]]), () => ( id))
|
|
21044
21087
|
}
|
|
21045
21088
|
) }, id)) }) }),
|
|
21046
21089
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -21048,7 +21091,7 @@ function RbacContainer() {
|
|
|
21048
21091
|
{
|
|
21049
21092
|
moduleId: selectedModuleId,
|
|
21050
21093
|
block: selectedBlock,
|
|
21051
|
-
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21094
|
+
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _511 => _511[selectedModuleId]]), () => ( selectedModuleId)),
|
|
21052
21095
|
roleIds,
|
|
21053
21096
|
roleNames,
|
|
21054
21097
|
onOpenPicker: openPicker
|
|
@@ -21059,12 +21102,12 @@ function RbacContainer() {
|
|
|
21059
21102
|
RbacPermissionPicker,
|
|
21060
21103
|
{
|
|
21061
21104
|
open: !!activePicker,
|
|
21062
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21105
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _512 => _512.anchor]), () => ( null)),
|
|
21063
21106
|
value: activeValue,
|
|
21064
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21107
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _513 => _513.isRoleColumn]), () => ( false)),
|
|
21065
21108
|
knownSegments: activeSegments,
|
|
21066
21109
|
onSetValue: handleSetValue,
|
|
21067
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21110
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _514 => _514.isRoleColumn]) ? handleClear : void 0,
|
|
21068
21111
|
onClose: closePicker
|
|
21069
21112
|
}
|
|
21070
21113
|
)
|
|
@@ -21131,7 +21174,7 @@ function RbacByRoleContainer() {
|
|
|
21131
21174
|
}, [roleNames]);
|
|
21132
21175
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
21133
21176
|
if (!matrix) return [];
|
|
21134
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21177
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _515 => _515[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _516 => _516[b]]), () => ( b))));
|
|
21135
21178
|
}, [matrix, moduleNames]);
|
|
21136
21179
|
_react.useEffect.call(void 0, () => {
|
|
21137
21180
|
if (!selectedRoleId && sortedRoleIds.length > 0) {
|
|
@@ -21180,7 +21223,7 @@ function RbacByRoleContainer() {
|
|
|
21180
21223
|
id === selectedRoleId && "bg-muted font-medium text-foreground",
|
|
21181
21224
|
id !== selectedRoleId && "text-muted-foreground"
|
|
21182
21225
|
),
|
|
21183
|
-
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21226
|
+
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _517 => _517[id]]), () => ( id))
|
|
21184
21227
|
}
|
|
21185
21228
|
) }, id)) }) }),
|
|
21186
21229
|
/* @__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: [
|
|
@@ -21200,7 +21243,7 @@ function RbacByRoleContainer() {
|
|
|
21200
21243
|
if (!block) return null;
|
|
21201
21244
|
const defaultTokens = _nullishCoalesce(block.default, () => ( []));
|
|
21202
21245
|
const roleTokens = block[selectedRoleId];
|
|
21203
|
-
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21246
|
+
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _518 => _518[moduleId]]), () => ( moduleId));
|
|
21204
21247
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
21205
21248
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21206
21249
|
"td",
|
|
@@ -21215,7 +21258,7 @@ function RbacByRoleContainer() {
|
|
|
21215
21258
|
_chunkSE5HIHJSjs.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))
|
|
21216
21259
|
] }),
|
|
21217
21260
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
21218
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21261
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _519 => _519[selectedRoleId]]), () => ( selectedRoleId)) }),
|
|
21219
21262
|
_chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21220
21263
|
CellButton3,
|
|
21221
21264
|
{
|
|
@@ -21236,12 +21279,12 @@ function RbacByRoleContainer() {
|
|
|
21236
21279
|
RbacPermissionPicker,
|
|
21237
21280
|
{
|
|
21238
21281
|
open: !!activePicker,
|
|
21239
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21282
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _520 => _520.anchor]), () => ( null)),
|
|
21240
21283
|
value: activeValue,
|
|
21241
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21284
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _521 => _521.isRoleColumn]), () => ( false)),
|
|
21242
21285
|
knownSegments: activeSegments,
|
|
21243
21286
|
onSetValue: handleSetValue,
|
|
21244
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21287
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _522 => _522.isRoleColumn]) ? handleClear : void 0,
|
|
21245
21288
|
onClose: closePicker
|
|
21246
21289
|
}
|
|
21247
21290
|
)
|
|
@@ -21758,4 +21801,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
|
|
|
21758
21801
|
|
|
21759
21802
|
|
|
21760
21803
|
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.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.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.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.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.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.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorTrigger = CommonEditorTrigger; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormCheckbox = FormCheckbox; exports.FormBlockNote = FormBlockNote; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; 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.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; 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.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.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; 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;
|
|
21761
|
-
//# sourceMappingURL=chunk-
|
|
21804
|
+
//# sourceMappingURL=chunk-6PDFD446.js.map
|