@carlonicora/nextjs-jsonapi 1.83.0 → 1.84.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-47TYA25C.js → BlockNoteEditor-PJWPR4IU.js} +6 -6
- package/dist/{BlockNoteEditor-47TYA25C.js.map → BlockNoteEditor-PJWPR4IU.js.map} +1 -1
- package/dist/{BlockNoteEditor-MA3MRV74.mjs → BlockNoteEditor-ZNACEXKX.mjs} +2 -2
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-KWFEQXPF.js → chunk-B7ZH2R62.js} +104 -94
- package/dist/chunk-B7ZH2R62.js.map +1 -0
- package/dist/{chunk-M4KMRVEE.mjs → chunk-CPXN5OGI.mjs} +144 -134
- package/dist/chunk-CPXN5OGI.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- 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 +15 -2
- package/dist/chunk-KWFEQXPF.js.map +0 -1
- package/dist/chunk-M4KMRVEE.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-MA3MRV74.mjs.map → BlockNoteEditor-ZNACEXKX.mjs.map} +0 -0
|
@@ -9200,7 +9200,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
|
|
|
9200
9200
|
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
9201
9201
|
|
|
9202
9202
|
|
|
9203
|
-
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-
|
|
9203
|
+
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-PJWPR4IU.js"))), {
|
|
9204
9204
|
ssr: false
|
|
9205
9205
|
});
|
|
9206
9206
|
var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -13331,6 +13331,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, RoundPageContainerTitle, "RoundPageContaine
|
|
|
13331
13331
|
|
|
13332
13332
|
|
|
13333
13333
|
|
|
13334
|
+
var DETAILS_COOKIE_NAME = "round_page_details_state";
|
|
13335
|
+
var DETAILS_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
13334
13336
|
function RoundPageContainer({
|
|
13335
13337
|
module,
|
|
13336
13338
|
id,
|
|
@@ -13342,11 +13344,19 @@ function RoundPageContainer({
|
|
|
13342
13344
|
}) {
|
|
13343
13345
|
const headerChildren = useHeaderChildren();
|
|
13344
13346
|
const headerLeftContent = useHeaderLeftContent();
|
|
13345
|
-
const [showDetails,
|
|
13347
|
+
const [showDetails, setShowDetailsState] = _react.useState.call(void 0, false);
|
|
13348
|
+
_react.useEffect.call(void 0, () => {
|
|
13349
|
+
const match = document.cookie.split("; ").find((row) => row.startsWith(`${DETAILS_COOKIE_NAME}=`));
|
|
13350
|
+
if (_optionalChain([match, 'optionalAccess', _352 => _352.split, 'call', _353 => _353("="), 'access', _354 => _354[1]]) === "true") setShowDetailsState(true);
|
|
13351
|
+
}, []);
|
|
13352
|
+
const setShowDetails = _react.useCallback.call(void 0, (value) => {
|
|
13353
|
+
setShowDetailsState(value);
|
|
13354
|
+
document.cookie = `${DETAILS_COOKIE_NAME}=${value}; path=/; max-age=${DETAILS_COOKIE_MAX_AGE}`;
|
|
13355
|
+
}, []);
|
|
13346
13356
|
const searchParams = _navigation.useSearchParams.call(void 0, );
|
|
13347
13357
|
const section = searchParams.get("section");
|
|
13348
13358
|
const rewriteUrl = useUrlRewriter();
|
|
13349
|
-
const initialValue = tabs ? (section && tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access',
|
|
13359
|
+
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;
|
|
13350
13360
|
const [activeTab, setActiveTab] = _react.useState.call(void 0, initialValue);
|
|
13351
13361
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13352
13362
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { leftContent: headerLeftContent, className: "bg-sidebar border-0", children: headerChildren }),
|
|
@@ -13374,8 +13384,8 @@ function RoundPageContainer({
|
|
|
13374
13384
|
rewriteUrl({ page: module, id, additionalParameters: { section: key } });
|
|
13375
13385
|
},
|
|
13376
13386
|
children: [
|
|
13377
|
-
/* @__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',
|
|
13378
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full overflow-y-auto px-4", children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: _nullishCoalesce(_optionalChain([tab, 'access',
|
|
13387
|
+
/* @__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', _360 => _360.key, 'optionalAccess', _361 => _361.name]), () => ( tab.label)), className: `px-4`, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
|
|
13388
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full overflow-y-auto px-4", children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: _nullishCoalesce(_optionalChain([tab, 'access', _362 => _362.key, 'optionalAccess', _363 => _363.name]), () => ( tab.label)), className: `pb-20`, children: tab.content }, tab.label)) })
|
|
13379
13389
|
]
|
|
13380
13390
|
}
|
|
13381
13391
|
),
|
|
@@ -13601,10 +13611,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
13601
13611
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13602
13612
|
Checkbox,
|
|
13603
13613
|
{
|
|
13604
|
-
checked: _optionalChain([params, 'access',
|
|
13614
|
+
checked: _optionalChain([params, 'access', _364 => _364.checkedIds, 'optionalAccess', _365 => _365.includes, 'call', _366 => _366(row.getValue(params.name))]) || false,
|
|
13605
13615
|
onCheckedChange: (value) => {
|
|
13606
13616
|
row.toggleSelected(!!value);
|
|
13607
|
-
_optionalChain([params, 'access',
|
|
13617
|
+
_optionalChain([params, 'access', _367 => _367.toggleId, 'optionalCall', _368 => _368(row.getValue(params.name))]);
|
|
13608
13618
|
},
|
|
13609
13619
|
"aria-label": "Select row"
|
|
13610
13620
|
}
|
|
@@ -13663,7 +13673,7 @@ function useJsonApiGet(params) {
|
|
|
13663
13673
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
13664
13674
|
const isMounted = _react.useRef.call(void 0, true);
|
|
13665
13675
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
13666
|
-
if (_optionalChain([params, 'access',
|
|
13676
|
+
if (_optionalChain([params, 'access', _369 => _369.options, 'optionalAccess', _370 => _370.enabled]) === false) return;
|
|
13667
13677
|
setLoading(true);
|
|
13668
13678
|
setError(null);
|
|
13669
13679
|
try {
|
|
@@ -13690,9 +13700,9 @@ function useJsonApiGet(params) {
|
|
|
13690
13700
|
setLoading(false);
|
|
13691
13701
|
}
|
|
13692
13702
|
}
|
|
13693
|
-
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access',
|
|
13703
|
+
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _371 => _371.options, 'optionalAccess', _372 => _372.enabled])]);
|
|
13694
13704
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
13695
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
13705
|
+
if (!_optionalChain([response, 'optionalAccess', _373 => _373.nextPage])) return;
|
|
13696
13706
|
setLoading(true);
|
|
13697
13707
|
try {
|
|
13698
13708
|
const nextResponse = await response.nextPage();
|
|
@@ -13713,7 +13723,7 @@ function useJsonApiGet(params) {
|
|
|
13713
13723
|
}
|
|
13714
13724
|
}, [response]);
|
|
13715
13725
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
13716
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
13726
|
+
if (!_optionalChain([response, 'optionalAccess', _374 => _374.prevPage])) return;
|
|
13717
13727
|
setLoading(true);
|
|
13718
13728
|
try {
|
|
13719
13729
|
const prevResponse = await response.prevPage();
|
|
@@ -13739,15 +13749,15 @@ function useJsonApiGet(params) {
|
|
|
13739
13749
|
return () => {
|
|
13740
13750
|
isMounted.current = false;
|
|
13741
13751
|
};
|
|
13742
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
13752
|
+
}, [fetchData, ..._optionalChain([params, 'access', _375 => _375.options, 'optionalAccess', _376 => _376.deps]) || []]);
|
|
13743
13753
|
return {
|
|
13744
13754
|
data,
|
|
13745
13755
|
loading,
|
|
13746
13756
|
error,
|
|
13747
13757
|
response,
|
|
13748
13758
|
refetch: fetchData,
|
|
13749
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
13750
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
13759
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _377 => _377.next]),
|
|
13760
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _378 => _378.prev]),
|
|
13751
13761
|
fetchNextPage,
|
|
13752
13762
|
fetchPreviousPage
|
|
13753
13763
|
};
|
|
@@ -13825,17 +13835,17 @@ function useJsonApiMutation(config) {
|
|
|
13825
13835
|
if (apiResponse.ok) {
|
|
13826
13836
|
const resultData = apiResponse.data;
|
|
13827
13837
|
setData(resultData);
|
|
13828
|
-
_optionalChain([config, 'access',
|
|
13838
|
+
_optionalChain([config, 'access', _379 => _379.onSuccess, 'optionalCall', _380 => _380(resultData)]);
|
|
13829
13839
|
return resultData;
|
|
13830
13840
|
} else {
|
|
13831
13841
|
setError(apiResponse.error);
|
|
13832
|
-
_optionalChain([config, 'access',
|
|
13842
|
+
_optionalChain([config, 'access', _381 => _381.onError, 'optionalCall', _382 => _382(apiResponse.error)]);
|
|
13833
13843
|
return null;
|
|
13834
13844
|
}
|
|
13835
13845
|
} catch (err) {
|
|
13836
13846
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
13837
13847
|
setError(errorMessage);
|
|
13838
|
-
_optionalChain([config, 'access',
|
|
13848
|
+
_optionalChain([config, 'access', _383 => _383.onError, 'optionalCall', _384 => _384(errorMessage)]);
|
|
13839
13849
|
return null;
|
|
13840
13850
|
} finally {
|
|
13841
13851
|
setLoading(false);
|
|
@@ -13908,7 +13918,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
13908
13918
|
{
|
|
13909
13919
|
href: hasRole(_chunkZEJSPTHSjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
13910
13920
|
page: "/administration",
|
|
13911
|
-
id: _optionalChain([_chunkN4YZ45SKjs.Modules, 'access',
|
|
13921
|
+
id: _optionalChain([_chunkN4YZ45SKjs.Modules, 'access', _385 => _385.Company, 'access', _386 => _386.pageUrl, 'optionalAccess', _387 => _387.substring, 'call', _388 => _388(1)]),
|
|
13912
13922
|
childPage: company.id
|
|
13913
13923
|
}) : generateUrl({ page: _chunkN4YZ45SKjs.Modules.Company, id: company.id }),
|
|
13914
13924
|
children: row.getValue("name")
|
|
@@ -13924,7 +13934,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
13924
13934
|
})
|
|
13925
13935
|
};
|
|
13926
13936
|
const columns = _react.useMemo.call(void 0, () => {
|
|
13927
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
13937
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _389 => _389[field], 'optionalCall', _390 => _390()])).filter((col) => col !== void 0);
|
|
13928
13938
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
13929
13939
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
13930
13940
|
}, "useCompanyTableStructure");
|
|
@@ -13936,7 +13946,7 @@ var GRACE_DAYS = 3;
|
|
|
13936
13946
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
13937
13947
|
if (!currentUser || !_chunkZEJSPTHSjs.isRolesConfigured.call(void 0, )) return false;
|
|
13938
13948
|
const adminRoleId = _chunkZEJSPTHSjs.getRoleId.call(void 0, ).Administrator;
|
|
13939
|
-
return !!_optionalChain([currentUser, 'access',
|
|
13949
|
+
return !!_optionalChain([currentUser, 'access', _391 => _391.roles, 'optionalAccess', _392 => _392.some, 'call', _393 => _393((role) => role.id === adminRoleId)]);
|
|
13940
13950
|
}, "isAdministrator");
|
|
13941
13951
|
function useSubscriptionStatus() {
|
|
13942
13952
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -14053,7 +14063,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
14053
14063
|
})
|
|
14054
14064
|
};
|
|
14055
14065
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14056
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14066
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _394 => _394[field], 'optionalCall', _395 => _395()])).filter((col) => col !== void 0);
|
|
14057
14067
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
14058
14068
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14059
14069
|
}, "useRoleTableStructure");
|
|
@@ -14154,11 +14164,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14154
14164
|
return params.fields.map((field) => {
|
|
14155
14165
|
const localHandler = fieldColumnMap[field];
|
|
14156
14166
|
if (localHandler) return localHandler();
|
|
14157
|
-
const customHandler = _optionalChain([params, 'access',
|
|
14167
|
+
const customHandler = _optionalChain([params, 'access', _396 => _396.context, 'optionalAccess', _397 => _397.customCells, 'optionalAccess', _398 => _398[field]]);
|
|
14158
14168
|
if (customHandler) return customHandler({ t });
|
|
14159
14169
|
return void 0;
|
|
14160
14170
|
}).filter((col) => col !== void 0);
|
|
14161
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
14171
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _399 => _399.context, 'optionalAccess', _400 => _400.customCells])]);
|
|
14162
14172
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14163
14173
|
}, "useContentTableStructure");
|
|
14164
14174
|
|
|
@@ -14493,7 +14503,7 @@ function ContentTableSearch({ data }) {
|
|
|
14493
14503
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
14494
14504
|
if (!isExpanded) {
|
|
14495
14505
|
setIsFocused(true);
|
|
14496
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
14506
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _401 => _401.current, 'optionalAccess', _402 => _402.focus, 'call', _403 => _403()]), 50);
|
|
14497
14507
|
}
|
|
14498
14508
|
}, "handleSearchIconClick");
|
|
14499
14509
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -14559,7 +14569,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14559
14569
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
14560
14570
|
);
|
|
14561
14571
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
14562
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
14572
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _404 => _404.data]), () => ( EMPTY_ARRAY)),
|
|
14563
14573
|
fields,
|
|
14564
14574
|
checkedIds,
|
|
14565
14575
|
toggleId,
|
|
@@ -14628,12 +14638,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14628
14638
|
) }),
|
|
14629
14639
|
table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
14630
14640
|
const meta = header.column.columnDef.meta;
|
|
14631
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess',
|
|
14641
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _405 => _405.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
|
|
14632
14642
|
}) }, headerGroup.id))
|
|
14633
14643
|
] }),
|
|
14634
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access',
|
|
14644
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _406 => _406.rows, 'optionalAccess', _407 => _407.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
|
|
14635
14645
|
const meta = cell.column.columnDef.meta;
|
|
14636
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
14646
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _408 => _408.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
14637
14647
|
}) }, 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." }) }) }),
|
|
14638
14648
|
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: [
|
|
14639
14649
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14643,7 +14653,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14643
14653
|
size: "sm",
|
|
14644
14654
|
onClick: (e) => {
|
|
14645
14655
|
e.preventDefault();
|
|
14646
|
-
_optionalChain([data, 'access',
|
|
14656
|
+
_optionalChain([data, 'access', _409 => _409.previous, 'optionalCall', _410 => _410(true)]);
|
|
14647
14657
|
},
|
|
14648
14658
|
disabled: !data.previous,
|
|
14649
14659
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -14657,7 +14667,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14657
14667
|
size: "sm",
|
|
14658
14668
|
onClick: (e) => {
|
|
14659
14669
|
e.preventDefault();
|
|
14660
|
-
_optionalChain([data, 'access',
|
|
14670
|
+
_optionalChain([data, 'access', _411 => _411.next, 'optionalCall', _412 => _412(true)]);
|
|
14661
14671
|
},
|
|
14662
14672
|
disabled: !data.next,
|
|
14663
14673
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -14678,7 +14688,7 @@ function ContentListGrid(props) {
|
|
|
14678
14688
|
if (!data.next || !sentinelRef.current) return;
|
|
14679
14689
|
const observer = new IntersectionObserver(
|
|
14680
14690
|
(entries) => {
|
|
14681
|
-
if (_optionalChain([entries, 'access',
|
|
14691
|
+
if (_optionalChain([entries, 'access', _413 => _413[0], 'optionalAccess', _414 => _414.isIntersecting])) _optionalChain([data, 'access', _415 => _415.next, 'optionalCall', _416 => _416()]);
|
|
14682
14692
|
},
|
|
14683
14693
|
{ threshold: 0.1, rootMargin: "200px" }
|
|
14684
14694
|
);
|
|
@@ -15428,7 +15438,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15428
15438
|
newDigits[index] = digit;
|
|
15429
15439
|
setDigits(newDigits);
|
|
15430
15440
|
if (digit && index < 5) {
|
|
15431
|
-
_optionalChain([inputRefs, 'access',
|
|
15441
|
+
_optionalChain([inputRefs, 'access', _417 => _417.current, 'access', _418 => _418[index + 1], 'optionalAccess', _419 => _419.focus, 'call', _420 => _420()]);
|
|
15432
15442
|
}
|
|
15433
15443
|
const code = newDigits.join("");
|
|
15434
15444
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -15437,7 +15447,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15437
15447
|
}, "handleChange");
|
|
15438
15448
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
15439
15449
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
15440
|
-
_optionalChain([inputRefs, 'access',
|
|
15450
|
+
_optionalChain([inputRefs, 'access', _421 => _421.current, 'access', _422 => _422[index - 1], 'optionalAccess', _423 => _423.focus, 'call', _424 => _424()]);
|
|
15441
15451
|
}
|
|
15442
15452
|
}, "handleKeyDown");
|
|
15443
15453
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -15446,7 +15456,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15446
15456
|
if (pastedData.length === 6) {
|
|
15447
15457
|
const newDigits = pastedData.split("");
|
|
15448
15458
|
setDigits(newDigits);
|
|
15449
|
-
_optionalChain([inputRefs, 'access',
|
|
15459
|
+
_optionalChain([inputRefs, 'access', _425 => _425.current, 'access', _426 => _426[5], 'optionalAccess', _427 => _427.focus, 'call', _428 => _428()]);
|
|
15450
15460
|
onComplete(pastedData);
|
|
15451
15461
|
}
|
|
15452
15462
|
}, "handlePaste");
|
|
@@ -15657,8 +15667,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
15657
15667
|
try {
|
|
15658
15668
|
const registrationData = await _chunkN4YZ45SKjs.TwoFactorService.getPasskeyRegistrationOptions({
|
|
15659
15669
|
id: _uuid.v4.call(void 0, ),
|
|
15660
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
15661
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
15670
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _429 => _429.email]), () => ( "")),
|
|
15671
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _430 => _430.name])
|
|
15662
15672
|
});
|
|
15663
15673
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
15664
15674
|
await _chunkN4YZ45SKjs.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -15809,7 +15819,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
15809
15819
|
const setup = await _chunkN4YZ45SKjs.TwoFactorService.setupTotp({
|
|
15810
15820
|
id: _uuid.v4.call(void 0, ),
|
|
15811
15821
|
name: name.trim(),
|
|
15812
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
15822
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _431 => _431.email]), () => ( ""))
|
|
15813
15823
|
});
|
|
15814
15824
|
setQrCodeUri(setup.qrCodeUri);
|
|
15815
15825
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -15943,7 +15953,7 @@ function TwoFactorSettings() {
|
|
|
15943
15953
|
if (isLoading) {
|
|
15944
15954
|
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") }) }) });
|
|
15945
15955
|
}
|
|
15946
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
15956
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _432 => _432.isEnabled]), () => ( false));
|
|
15947
15957
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
15948
15958
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
15949
15959
|
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" }),
|
|
@@ -15981,7 +15991,7 @@ function TwoFactorSettings() {
|
|
|
15981
15991
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
15982
15992
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
15983
15993
|
] }),
|
|
15984
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
15994
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _433 => _433.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
15985
15995
|
] }) }),
|
|
15986
15996
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15987
15997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -16159,9 +16169,9 @@ function AcceptInvitation() {
|
|
|
16159
16169
|
});
|
|
16160
16170
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16161
16171
|
try {
|
|
16162
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
16172
|
+
if (!_optionalChain([params, 'optionalAccess', _434 => _434.code])) return;
|
|
16163
16173
|
const payload = {
|
|
16164
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
16174
|
+
code: _optionalChain([params, 'optionalAccess', _435 => _435.code]),
|
|
16165
16175
|
password: values.password
|
|
16166
16176
|
};
|
|
16167
16177
|
await _chunkN4YZ45SKjs.AuthService.acceptInvitation(payload);
|
|
@@ -16511,7 +16521,7 @@ function Logout({ storageKeys }) {
|
|
|
16511
16521
|
const generateUrl = usePageUrlGenerator();
|
|
16512
16522
|
_react.useEffect.call(void 0, () => {
|
|
16513
16523
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
16514
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
16524
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _436 => _436.length])) {
|
|
16515
16525
|
clearClientStorage(storageKeys);
|
|
16516
16526
|
}
|
|
16517
16527
|
await _chunkN4YZ45SKjs.AuthService.logout();
|
|
@@ -16534,14 +16544,14 @@ function RefreshUser() {
|
|
|
16534
16544
|
setUser(fullUser);
|
|
16535
16545
|
const token = {
|
|
16536
16546
|
userId: fullUser.id,
|
|
16537
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
16547
|
+
companyId: _optionalChain([fullUser, 'access', _437 => _437.company, 'optionalAccess', _438 => _438.id]),
|
|
16538
16548
|
roles: fullUser.roles.map((role) => role.id),
|
|
16539
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
16549
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _439 => _439.company, 'optionalAccess', _440 => _440.features, 'optionalAccess', _441 => _441.map, 'call', _442 => _442((feature) => feature.id)]), () => ( [])),
|
|
16540
16550
|
modules: fullUser.modules.map((module) => {
|
|
16541
16551
|
return { id: module.id, permissions: module.permissions };
|
|
16542
16552
|
})
|
|
16543
16553
|
};
|
|
16544
|
-
await _optionalChain([_chunkN4YZ45SKjs.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
16554
|
+
await _optionalChain([_chunkN4YZ45SKjs.getTokenHandler.call(void 0, ), 'optionalAccess', _443 => _443.updateToken, 'call', _444 => _444(token)]);
|
|
16545
16555
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
16546
16556
|
}
|
|
16547
16557
|
}, "loadFullUser");
|
|
@@ -16605,9 +16615,9 @@ function ResetPassword() {
|
|
|
16605
16615
|
});
|
|
16606
16616
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16607
16617
|
try {
|
|
16608
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
16618
|
+
if (!_optionalChain([params, 'optionalAccess', _445 => _445.code])) return;
|
|
16609
16619
|
const payload = {
|
|
16610
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
16620
|
+
code: _optionalChain([params, 'optionalAccess', _446 => _446.code]),
|
|
16611
16621
|
password: values.password
|
|
16612
16622
|
};
|
|
16613
16623
|
await _chunkN4YZ45SKjs.AuthService.resetPassword(payload);
|
|
@@ -16956,7 +16966,7 @@ function extractHeadings(blocks) {
|
|
|
16956
16966
|
function processBlocks(blockArray) {
|
|
16957
16967
|
for (const block of blockArray) {
|
|
16958
16968
|
if (block.type === "heading") {
|
|
16959
|
-
const level = _optionalChain([block, 'access',
|
|
16969
|
+
const level = _optionalChain([block, 'access', _447 => _447.props, 'optionalAccess', _448 => _448.level]) || 1;
|
|
16960
16970
|
const text = extractTextFromContent(block.content);
|
|
16961
16971
|
if (text.trim()) {
|
|
16962
16972
|
headings.push({
|
|
@@ -17299,7 +17309,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
|
|
|
17299
17309
|
})
|
|
17300
17310
|
};
|
|
17301
17311
|
const columns = _react.useMemo.call(void 0, () => {
|
|
17302
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
17312
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _449 => _449[field], 'optionalCall', _450 => _450()])).filter((col) => col !== void 0);
|
|
17303
17313
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
17304
17314
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
17305
17315
|
}, "useHowToTableStructure");
|
|
@@ -17365,7 +17375,7 @@ function HowToMultiSelector({
|
|
|
17365
17375
|
retriever: (params) => _chunkN4YZ45SKjs.HowToService.findMany(params),
|
|
17366
17376
|
module: _chunkN4YZ45SKjs.Modules.HowTo,
|
|
17367
17377
|
getLabel: (howTo) => howTo.name,
|
|
17368
|
-
excludeId: _optionalChain([currentHowTo, 'optionalAccess',
|
|
17378
|
+
excludeId: _optionalChain([currentHowTo, 'optionalAccess', _451 => _451.id]),
|
|
17369
17379
|
onChange
|
|
17370
17380
|
}
|
|
17371
17381
|
);
|
|
@@ -17430,7 +17440,7 @@ function HowToSelector({
|
|
|
17430
17440
|
}, "setHowTo");
|
|
17431
17441
|
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: [
|
|
17432
17442
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
|
|
17433
|
-
/* @__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',
|
|
17443
|
+
/* @__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', _452 => _452.value, 'optionalAccess', _453 => _453.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 }) }))) }) }) }),
|
|
17434
17444
|
field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17435
17445
|
_lucidereact.CircleX,
|
|
17436
17446
|
{
|
|
@@ -17785,9 +17795,9 @@ function CitationsTab({ citations, sources }) {
|
|
|
17785
17795
|
] }) }),
|
|
17786
17796
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
|
|
17787
17797
|
const isOpen = expanded.has(chunk.id);
|
|
17788
|
-
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess',
|
|
17798
|
+
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _454 => _454.get, 'call', _455 => _455(chunk.nodeId)]) : void 0;
|
|
17789
17799
|
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")));
|
|
17790
|
-
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
17800
|
+
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _456 => _456.name]), () => ( fallbackName));
|
|
17791
17801
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
17792
17802
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
17793
17803
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -17834,7 +17844,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
17834
17844
|
for (const c of citations) {
|
|
17835
17845
|
const id = c.nodeId;
|
|
17836
17846
|
if (!id) continue;
|
|
17837
|
-
const source = _optionalChain([sources, 'optionalAccess',
|
|
17847
|
+
const source = _optionalChain([sources, 'optionalAccess', _457 => _457.get, 'call', _458 => _458(id)]);
|
|
17838
17848
|
if (!source) continue;
|
|
17839
17849
|
const existing = map.get(id);
|
|
17840
17850
|
if (existing) {
|
|
@@ -17899,7 +17909,7 @@ function UsersTab({ users, citations, sources }) {
|
|
|
17899
17909
|
const generate = usePageUrlGenerator();
|
|
17900
17910
|
const userMap = /* @__PURE__ */ new Map();
|
|
17901
17911
|
for (const u of users) {
|
|
17902
|
-
if (!_optionalChain([u, 'optionalAccess',
|
|
17912
|
+
if (!_optionalChain([u, 'optionalAccess', _459 => _459.id])) continue;
|
|
17903
17913
|
userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
|
|
17904
17914
|
}
|
|
17905
17915
|
if (citations && sources) {
|
|
@@ -18012,7 +18022,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
|
|
|
18012
18022
|
}
|
|
18013
18023
|
return ids.size;
|
|
18014
18024
|
}, [message.citations, sources]);
|
|
18015
|
-
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess',
|
|
18025
|
+
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _460 => _460.length]), () => ( 0));
|
|
18016
18026
|
const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
|
|
18017
18027
|
const visibleTabs = [];
|
|
18018
18028
|
if (suggestionsCount > 0) visibleTabs.push("suggested");
|
|
@@ -18071,8 +18081,8 @@ var SourcesFetcher = class extends _chunkN4YZ45SKjs.ClientAbstractService {
|
|
|
18071
18081
|
static async findManyByIds(params) {
|
|
18072
18082
|
const endpoint = new (0, _chunkN4YZ45SKjs.EndpointCreator)({ endpoint: params.module });
|
|
18073
18083
|
endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
|
|
18074
|
-
if (_optionalChain([params, 'access',
|
|
18075
|
-
if (_optionalChain([params, 'access',
|
|
18084
|
+
if (_optionalChain([params, 'access', _461 => _461.module, 'access', _462 => _462.inclusions, 'optionalAccess', _463 => _463.lists, 'optionalAccess', _464 => _464.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
|
|
18085
|
+
if (_optionalChain([params, 'access', _465 => _465.module, 'access', _466 => _466.inclusions, 'optionalAccess', _467 => _467.lists, 'optionalAccess', _468 => _468.types])) endpoint.limitToType(params.module.inclusions.lists.types);
|
|
18076
18086
|
return this.callApi({
|
|
18077
18087
|
type: params.module,
|
|
18078
18088
|
method: "GET" /* GET */,
|
|
@@ -18151,7 +18161,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
|
|
|
18151
18161
|
return void 0;
|
|
18152
18162
|
}
|
|
18153
18163
|
})()));
|
|
18154
|
-
if (_optionalChain([author, 'optionalAccess',
|
|
18164
|
+
if (_optionalChain([author, 'optionalAccess', _469 => _469.id])) userMap.set(author.id, author);
|
|
18155
18165
|
}
|
|
18156
18166
|
return Array.from(userMap.values());
|
|
18157
18167
|
}, [resolved]);
|
|
@@ -18173,14 +18183,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, MessageSourcesContainer, "MessageSourcesCon
|
|
|
18173
18183
|
function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18174
18184
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
18175
18185
|
const isUser = message.role === "user";
|
|
18176
|
-
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess',
|
|
18186
|
+
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _470 => _470.has, 'call', _471 => _471(message.id)]);
|
|
18177
18187
|
if (isUser) {
|
|
18178
18188
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
|
|
18179
18189
|
/* @__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 }),
|
|
18180
18190
|
isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
|
|
18181
18191
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
|
|
18182
18192
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
|
|
18183
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall',
|
|
18193
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _472 => _472(message.id)]), children: t("features.assistant.retry") })
|
|
18184
18194
|
] })
|
|
18185
18195
|
] });
|
|
18186
18196
|
}
|
|
@@ -18246,7 +18256,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AssistantStatusLine, "AssistantStatusLine")
|
|
|
18246
18256
|
function AssistantThread({ messages, sending, status, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18247
18257
|
const endRef = _react.useRef.call(void 0, null);
|
|
18248
18258
|
_react.useEffect.call(void 0, () => {
|
|
18249
|
-
_optionalChain([endRef, 'access',
|
|
18259
|
+
_optionalChain([endRef, 'access', _473 => _473.current, 'optionalAccess', _474 => _474.scrollIntoView, 'call', _475 => _475({ behavior: "smooth" })]);
|
|
18250
18260
|
}, [messages.length, sending]);
|
|
18251
18261
|
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: [
|
|
18252
18262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18274,7 +18284,7 @@ function AssistantContainer() {
|
|
|
18274
18284
|
AssistantSidebar,
|
|
18275
18285
|
{
|
|
18276
18286
|
threads: ctx.threads,
|
|
18277
|
-
activeId: _optionalChain([ctx, 'access',
|
|
18287
|
+
activeId: _optionalChain([ctx, 'access', _476 => _476.assistant, 'optionalAccess', _477 => _477.id]),
|
|
18278
18288
|
onSelect: ctx.selectThread,
|
|
18279
18289
|
onNew: ctx.startNew
|
|
18280
18290
|
}
|
|
@@ -18367,14 +18377,14 @@ function NotificationsList({ archived }) {
|
|
|
18367
18377
|
] }),
|
|
18368
18378
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
18369
18379
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
18370
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access',
|
|
18380
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _478 => _478.data, 'optionalAccess', _479 => _479.map, 'call', _480 => _480((notification) => {
|
|
18371
18381
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
18372
18382
|
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: [
|
|
18373
18383
|
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: _chunkN4YZ45SKjs.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" }),
|
|
18374
18384
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
18375
18385
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
18376
18386
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
18377
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
18387
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _481 => _481.actor, 'optionalAccess', _482 => _482.name]), () => ( "")),
|
|
18378
18388
|
title: notificationData.title
|
|
18379
18389
|
}) }),
|
|
18380
18390
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -18724,7 +18734,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
18724
18734
|
invalidEmail: "Please enter a valid email address"
|
|
18725
18735
|
};
|
|
18726
18736
|
async function copyToClipboard(text) {
|
|
18727
|
-
if (_optionalChain([navigator, 'access',
|
|
18737
|
+
if (_optionalChain([navigator, 'access', _483 => _483.clipboard, 'optionalAccess', _484 => _484.writeText])) {
|
|
18728
18738
|
try {
|
|
18729
18739
|
await navigator.clipboard.writeText(text);
|
|
18730
18740
|
return true;
|
|
@@ -18766,7 +18776,7 @@ function ReferralWidget({
|
|
|
18766
18776
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
18767
18777
|
const config = _chunkZEJSPTHSjs.getReferralConfig.call(void 0, );
|
|
18768
18778
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
18769
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
18779
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _485 => _485.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
18770
18780
|
if (!_chunkZEJSPTHSjs.isReferralEnabled.call(void 0, )) {
|
|
18771
18781
|
return null;
|
|
18772
18782
|
}
|
|
@@ -18776,7 +18786,7 @@ function ReferralWidget({
|
|
|
18776
18786
|
if (success) {
|
|
18777
18787
|
setCopied(true);
|
|
18778
18788
|
_chunkN4YZ45SKjs.showToast.call(void 0, t.copiedMessage);
|
|
18779
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
18789
|
+
_optionalChain([onLinkCopied, 'optionalCall', _486 => _486()]);
|
|
18780
18790
|
setTimeout(() => setCopied(false), 2e3);
|
|
18781
18791
|
} else {
|
|
18782
18792
|
_chunkN4YZ45SKjs.showError.call(void 0, t.copyError);
|
|
@@ -18790,12 +18800,12 @@ function ReferralWidget({
|
|
|
18790
18800
|
try {
|
|
18791
18801
|
await sendInvite(email);
|
|
18792
18802
|
_chunkN4YZ45SKjs.showToast.call(void 0, t.inviteSent);
|
|
18793
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
18803
|
+
_optionalChain([onInviteSent, 'optionalCall', _487 => _487(email)]);
|
|
18794
18804
|
setEmail("");
|
|
18795
18805
|
} catch (err) {
|
|
18796
18806
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
18797
18807
|
_chunkN4YZ45SKjs.showError.call(void 0, error2.message);
|
|
18798
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
18808
|
+
_optionalChain([onInviteError, 'optionalCall', _488 => _488(error2)]);
|
|
18799
18809
|
}
|
|
18800
18810
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
18801
18811
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -19549,7 +19559,7 @@ function OAuthClientList({
|
|
|
19549
19559
|
OAuthClientCard,
|
|
19550
19560
|
{
|
|
19551
19561
|
client,
|
|
19552
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
19562
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _489 => _489(client)]),
|
|
19553
19563
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
19554
19564
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
19555
19565
|
},
|
|
@@ -19565,11 +19575,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
19565
19575
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
19566
19576
|
const isEditMode = !!client;
|
|
19567
19577
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
19568
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
19569
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
19570
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
19571
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
19572
|
-
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess',
|
|
19578
|
+
name: _optionalChain([client, 'optionalAccess', _490 => _490.name]) || "",
|
|
19579
|
+
description: _optionalChain([client, 'optionalAccess', _491 => _491.description]) || "",
|
|
19580
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _492 => _492.redirectUris, 'optionalAccess', _493 => _493.length]) ? client.redirectUris : [""],
|
|
19581
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _494 => _494.allowedScopes]) || [],
|
|
19582
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _495 => _495.isConfidential]), () => ( true))
|
|
19573
19583
|
});
|
|
19574
19584
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
19575
19585
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -19797,7 +19807,7 @@ function OAuthClientDetail({
|
|
|
19797
19807
|
] }),
|
|
19798
19808
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
19799
19809
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
19800
|
-
/* @__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([_chunkN4YZ45SKjs.OAUTH_SCOPE_DISPLAY, 'access',
|
|
19810
|
+
/* @__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([_chunkN4YZ45SKjs.OAUTH_SCOPE_DISPLAY, 'access', _496 => _496[scope], 'optionalAccess', _497 => _497.name]) || scope }, scope)) })
|
|
19801
19811
|
] }),
|
|
19802
19812
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
19803
19813
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -19941,7 +19951,7 @@ function OAuthConsentScreen({
|
|
|
19941
19951
|
if (error || !clientInfo) {
|
|
19942
19952
|
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: [
|
|
19943
19953
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
19944
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess',
|
|
19954
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _498 => _498.message]) || "Invalid authorization request. Please try again." })
|
|
19945
19955
|
] }) }) }) });
|
|
19946
19956
|
}
|
|
19947
19957
|
const { client, scopes } = clientInfo;
|
|
@@ -20157,7 +20167,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
20157
20167
|
questionnaire: values.questionnaire
|
|
20158
20168
|
});
|
|
20159
20169
|
setIsSuccess(true);
|
|
20160
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
20170
|
+
_optionalChain([onSuccess, 'optionalCall', _499 => _499()]);
|
|
20161
20171
|
} catch (e) {
|
|
20162
20172
|
errorToast({ error: e });
|
|
20163
20173
|
} finally {
|
|
@@ -20795,7 +20805,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
|
|
|
20795
20805
|
] }),
|
|
20796
20806
|
roleIds.map((roleId) => {
|
|
20797
20807
|
const roleTokens = block[roleId];
|
|
20798
|
-
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
20808
|
+
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _500 => _500[roleId]]), () => ( roleId));
|
|
20799
20809
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
20800
20810
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
|
|
20801
20811
|
_chunkZEJSPTHSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -20832,7 +20842,7 @@ function RbacContainer() {
|
|
|
20832
20842
|
}, []);
|
|
20833
20843
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
20834
20844
|
if (!matrix) return [];
|
|
20835
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
20845
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _501 => _501[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _502 => _502[b]]), () => ( b))));
|
|
20836
20846
|
}, [matrix, moduleNames]);
|
|
20837
20847
|
const roleIds = _react.useMemo.call(void 0, () => {
|
|
20838
20848
|
if (roleNames) {
|
|
@@ -20895,7 +20905,7 @@ function RbacContainer() {
|
|
|
20895
20905
|
id === selectedModuleId && "bg-muted font-medium text-foreground",
|
|
20896
20906
|
id !== selectedModuleId && "text-muted-foreground"
|
|
20897
20907
|
),
|
|
20898
|
-
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
20908
|
+
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _503 => _503[id]]), () => ( id))
|
|
20899
20909
|
}
|
|
20900
20910
|
) }, id)) }) }),
|
|
20901
20911
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -20903,7 +20913,7 @@ function RbacContainer() {
|
|
|
20903
20913
|
{
|
|
20904
20914
|
moduleId: selectedModuleId,
|
|
20905
20915
|
block: selectedBlock,
|
|
20906
|
-
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
20916
|
+
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _504 => _504[selectedModuleId]]), () => ( selectedModuleId)),
|
|
20907
20917
|
roleIds,
|
|
20908
20918
|
roleNames,
|
|
20909
20919
|
onOpenPicker: openPicker
|
|
@@ -20914,12 +20924,12 @@ function RbacContainer() {
|
|
|
20914
20924
|
RbacPermissionPicker,
|
|
20915
20925
|
{
|
|
20916
20926
|
open: !!activePicker,
|
|
20917
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
20927
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _505 => _505.anchor]), () => ( null)),
|
|
20918
20928
|
value: activeValue,
|
|
20919
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
20929
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _506 => _506.isRoleColumn]), () => ( false)),
|
|
20920
20930
|
knownSegments: activeSegments,
|
|
20921
20931
|
onSetValue: handleSetValue,
|
|
20922
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
20932
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _507 => _507.isRoleColumn]) ? handleClear : void 0,
|
|
20923
20933
|
onClose: closePicker
|
|
20924
20934
|
}
|
|
20925
20935
|
)
|
|
@@ -20986,7 +20996,7 @@ function RbacByRoleContainer() {
|
|
|
20986
20996
|
}, [roleNames]);
|
|
20987
20997
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
20988
20998
|
if (!matrix) return [];
|
|
20989
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
20999
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _508 => _508[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _509 => _509[b]]), () => ( b))));
|
|
20990
21000
|
}, [matrix, moduleNames]);
|
|
20991
21001
|
_react.useEffect.call(void 0, () => {
|
|
20992
21002
|
if (!selectedRoleId && sortedRoleIds.length > 0) {
|
|
@@ -21035,7 +21045,7 @@ function RbacByRoleContainer() {
|
|
|
21035
21045
|
id === selectedRoleId && "bg-muted font-medium text-foreground",
|
|
21036
21046
|
id !== selectedRoleId && "text-muted-foreground"
|
|
21037
21047
|
),
|
|
21038
|
-
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21048
|
+
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _510 => _510[id]]), () => ( id))
|
|
21039
21049
|
}
|
|
21040
21050
|
) }, id)) }) }),
|
|
21041
21051
|
/* @__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: [
|
|
@@ -21055,7 +21065,7 @@ function RbacByRoleContainer() {
|
|
|
21055
21065
|
if (!block) return null;
|
|
21056
21066
|
const defaultTokens = _nullishCoalesce(block.default, () => ( []));
|
|
21057
21067
|
const roleTokens = block[selectedRoleId];
|
|
21058
|
-
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21068
|
+
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _511 => _511[moduleId]]), () => ( moduleId));
|
|
21059
21069
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
21060
21070
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21061
21071
|
"td",
|
|
@@ -21070,7 +21080,7 @@ function RbacByRoleContainer() {
|
|
|
21070
21080
|
_chunkZEJSPTHSjs.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))
|
|
21071
21081
|
] }),
|
|
21072
21082
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
21073
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21083
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _512 => _512[selectedRoleId]]), () => ( selectedRoleId)) }),
|
|
21074
21084
|
_chunkZEJSPTHSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21075
21085
|
CellButton3,
|
|
21076
21086
|
{
|
|
@@ -21091,12 +21101,12 @@ function RbacByRoleContainer() {
|
|
|
21091
21101
|
RbacPermissionPicker,
|
|
21092
21102
|
{
|
|
21093
21103
|
open: !!activePicker,
|
|
21094
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21104
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _513 => _513.anchor]), () => ( null)),
|
|
21095
21105
|
value: activeValue,
|
|
21096
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21106
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _514 => _514.isRoleColumn]), () => ( false)),
|
|
21097
21107
|
knownSegments: activeSegments,
|
|
21098
21108
|
onSetValue: handleSetValue,
|
|
21099
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21109
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _515 => _515.isRoleColumn]) ? handleClear : void 0,
|
|
21100
21110
|
onClose: closePicker
|
|
21101
21111
|
}
|
|
21102
21112
|
)
|
|
@@ -21611,4 +21621,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
|
|
|
21611
21621
|
|
|
21612
21622
|
|
|
21613
21623
|
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.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;
|
|
21614
|
-
//# sourceMappingURL=chunk-
|
|
21624
|
+
//# sourceMappingURL=chunk-B7ZH2R62.js.map
|