@carlonicora/nextjs-jsonapi 1.82.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-OH44RND6.js → BlockNoteEditor-PJWPR4IU.js} +6 -6
- package/dist/{BlockNoteEditor-OH44RND6.js.map → BlockNoteEditor-PJWPR4IU.js.map} +1 -1
- package/dist/{BlockNoteEditor-N2L7X6OY.mjs → BlockNoteEditor-ZNACEXKX.mjs} +2 -2
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-EZYSORIZ.js → chunk-B7ZH2R62.js} +121 -107
- package/dist/chunk-B7ZH2R62.js.map +1 -0
- package/dist/{chunk-KZRM55JX.mjs → chunk-CPXN5OGI.mjs} +163 -149
- 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 +42 -25
- package/dist/chunk-EZYSORIZ.js.map +0 -1
- package/dist/chunk-KZRM55JX.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-N2L7X6OY.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 }),
|
|
@@ -13362,21 +13372,25 @@ function RoundPageContainer({
|
|
|
13362
13372
|
}
|
|
13363
13373
|
),
|
|
13364
13374
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full w-full overflow-hidden", children: [
|
|
13365
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkN4YZ45SKjs.cn.call(void 0, `grow overflow-y-auto p-4`, fullWidth && `p-0`), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkN4YZ45SKjs.cn.call(void 0, `mx-auto max-w-6xl space-y-8`, fullWidth && `max-w-full w-full p-0 h-full`), children: tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13366
|
-
|
|
13367
|
-
|
|
13368
|
-
|
|
13369
|
-
|
|
13370
|
-
|
|
13371
|
-
|
|
13372
|
-
|
|
13373
|
-
|
|
13374
|
-
|
|
13375
|
-
|
|
13376
|
-
|
|
13377
|
-
|
|
13378
|
-
|
|
13379
|
-
|
|
13375
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkN4YZ45SKjs.cn.call(void 0, `grow overflow-y-auto p-4`, fullWidth && `p-0`), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkN4YZ45SKjs.cn.call(void 0, `mx-auto max-w-6xl space-y-8`, fullWidth && `max-w-full w-full p-0 h-full`), children: tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13376
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13377
|
+
Tabs,
|
|
13378
|
+
{
|
|
13379
|
+
value: activeTab,
|
|
13380
|
+
className: "w-full",
|
|
13381
|
+
onValueChange: (key) => {
|
|
13382
|
+
setActiveTab(key);
|
|
13383
|
+
if (module && id)
|
|
13384
|
+
rewriteUrl({ page: module, id, additionalParameters: { section: key } });
|
|
13385
|
+
},
|
|
13386
|
+
children: [
|
|
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)) })
|
|
13389
|
+
]
|
|
13390
|
+
}
|
|
13391
|
+
),
|
|
13392
|
+
children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex px-4", children })
|
|
13393
|
+
] }) : children }) }),
|
|
13380
13394
|
details && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13381
13395
|
"div",
|
|
13382
13396
|
{
|
|
@@ -13597,10 +13611,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
13597
13611
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13598
13612
|
Checkbox,
|
|
13599
13613
|
{
|
|
13600
|
-
checked: _optionalChain([params, 'access',
|
|
13614
|
+
checked: _optionalChain([params, 'access', _364 => _364.checkedIds, 'optionalAccess', _365 => _365.includes, 'call', _366 => _366(row.getValue(params.name))]) || false,
|
|
13601
13615
|
onCheckedChange: (value) => {
|
|
13602
13616
|
row.toggleSelected(!!value);
|
|
13603
|
-
_optionalChain([params, 'access',
|
|
13617
|
+
_optionalChain([params, 'access', _367 => _367.toggleId, 'optionalCall', _368 => _368(row.getValue(params.name))]);
|
|
13604
13618
|
},
|
|
13605
13619
|
"aria-label": "Select row"
|
|
13606
13620
|
}
|
|
@@ -13659,7 +13673,7 @@ function useJsonApiGet(params) {
|
|
|
13659
13673
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
13660
13674
|
const isMounted = _react.useRef.call(void 0, true);
|
|
13661
13675
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
13662
|
-
if (_optionalChain([params, 'access',
|
|
13676
|
+
if (_optionalChain([params, 'access', _369 => _369.options, 'optionalAccess', _370 => _370.enabled]) === false) return;
|
|
13663
13677
|
setLoading(true);
|
|
13664
13678
|
setError(null);
|
|
13665
13679
|
try {
|
|
@@ -13686,9 +13700,9 @@ function useJsonApiGet(params) {
|
|
|
13686
13700
|
setLoading(false);
|
|
13687
13701
|
}
|
|
13688
13702
|
}
|
|
13689
|
-
}, [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])]);
|
|
13690
13704
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
13691
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
13705
|
+
if (!_optionalChain([response, 'optionalAccess', _373 => _373.nextPage])) return;
|
|
13692
13706
|
setLoading(true);
|
|
13693
13707
|
try {
|
|
13694
13708
|
const nextResponse = await response.nextPage();
|
|
@@ -13709,7 +13723,7 @@ function useJsonApiGet(params) {
|
|
|
13709
13723
|
}
|
|
13710
13724
|
}, [response]);
|
|
13711
13725
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
13712
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
13726
|
+
if (!_optionalChain([response, 'optionalAccess', _374 => _374.prevPage])) return;
|
|
13713
13727
|
setLoading(true);
|
|
13714
13728
|
try {
|
|
13715
13729
|
const prevResponse = await response.prevPage();
|
|
@@ -13735,15 +13749,15 @@ function useJsonApiGet(params) {
|
|
|
13735
13749
|
return () => {
|
|
13736
13750
|
isMounted.current = false;
|
|
13737
13751
|
};
|
|
13738
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
13752
|
+
}, [fetchData, ..._optionalChain([params, 'access', _375 => _375.options, 'optionalAccess', _376 => _376.deps]) || []]);
|
|
13739
13753
|
return {
|
|
13740
13754
|
data,
|
|
13741
13755
|
loading,
|
|
13742
13756
|
error,
|
|
13743
13757
|
response,
|
|
13744
13758
|
refetch: fetchData,
|
|
13745
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
13746
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
13759
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _377 => _377.next]),
|
|
13760
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _378 => _378.prev]),
|
|
13747
13761
|
fetchNextPage,
|
|
13748
13762
|
fetchPreviousPage
|
|
13749
13763
|
};
|
|
@@ -13821,17 +13835,17 @@ function useJsonApiMutation(config) {
|
|
|
13821
13835
|
if (apiResponse.ok) {
|
|
13822
13836
|
const resultData = apiResponse.data;
|
|
13823
13837
|
setData(resultData);
|
|
13824
|
-
_optionalChain([config, 'access',
|
|
13838
|
+
_optionalChain([config, 'access', _379 => _379.onSuccess, 'optionalCall', _380 => _380(resultData)]);
|
|
13825
13839
|
return resultData;
|
|
13826
13840
|
} else {
|
|
13827
13841
|
setError(apiResponse.error);
|
|
13828
|
-
_optionalChain([config, 'access',
|
|
13842
|
+
_optionalChain([config, 'access', _381 => _381.onError, 'optionalCall', _382 => _382(apiResponse.error)]);
|
|
13829
13843
|
return null;
|
|
13830
13844
|
}
|
|
13831
13845
|
} catch (err) {
|
|
13832
13846
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
13833
13847
|
setError(errorMessage);
|
|
13834
|
-
_optionalChain([config, 'access',
|
|
13848
|
+
_optionalChain([config, 'access', _383 => _383.onError, 'optionalCall', _384 => _384(errorMessage)]);
|
|
13835
13849
|
return null;
|
|
13836
13850
|
} finally {
|
|
13837
13851
|
setLoading(false);
|
|
@@ -13904,7 +13918,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
13904
13918
|
{
|
|
13905
13919
|
href: hasRole(_chunkZEJSPTHSjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
13906
13920
|
page: "/administration",
|
|
13907
|
-
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)]),
|
|
13908
13922
|
childPage: company.id
|
|
13909
13923
|
}) : generateUrl({ page: _chunkN4YZ45SKjs.Modules.Company, id: company.id }),
|
|
13910
13924
|
children: row.getValue("name")
|
|
@@ -13920,7 +13934,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
13920
13934
|
})
|
|
13921
13935
|
};
|
|
13922
13936
|
const columns = _react.useMemo.call(void 0, () => {
|
|
13923
|
-
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);
|
|
13924
13938
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
13925
13939
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
13926
13940
|
}, "useCompanyTableStructure");
|
|
@@ -13932,7 +13946,7 @@ var GRACE_DAYS = 3;
|
|
|
13932
13946
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
13933
13947
|
if (!currentUser || !_chunkZEJSPTHSjs.isRolesConfigured.call(void 0, )) return false;
|
|
13934
13948
|
const adminRoleId = _chunkZEJSPTHSjs.getRoleId.call(void 0, ).Administrator;
|
|
13935
|
-
return !!_optionalChain([currentUser, 'access',
|
|
13949
|
+
return !!_optionalChain([currentUser, 'access', _391 => _391.roles, 'optionalAccess', _392 => _392.some, 'call', _393 => _393((role) => role.id === adminRoleId)]);
|
|
13936
13950
|
}, "isAdministrator");
|
|
13937
13951
|
function useSubscriptionStatus() {
|
|
13938
13952
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -14049,7 +14063,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
14049
14063
|
})
|
|
14050
14064
|
};
|
|
14051
14065
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14052
|
-
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);
|
|
14053
14067
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
14054
14068
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14055
14069
|
}, "useRoleTableStructure");
|
|
@@ -14150,11 +14164,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14150
14164
|
return params.fields.map((field) => {
|
|
14151
14165
|
const localHandler = fieldColumnMap[field];
|
|
14152
14166
|
if (localHandler) return localHandler();
|
|
14153
|
-
const customHandler = _optionalChain([params, 'access',
|
|
14167
|
+
const customHandler = _optionalChain([params, 'access', _396 => _396.context, 'optionalAccess', _397 => _397.customCells, 'optionalAccess', _398 => _398[field]]);
|
|
14154
14168
|
if (customHandler) return customHandler({ t });
|
|
14155
14169
|
return void 0;
|
|
14156
14170
|
}).filter((col) => col !== void 0);
|
|
14157
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
14171
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _399 => _399.context, 'optionalAccess', _400 => _400.customCells])]);
|
|
14158
14172
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14159
14173
|
}, "useContentTableStructure");
|
|
14160
14174
|
|
|
@@ -14489,7 +14503,7 @@ function ContentTableSearch({ data }) {
|
|
|
14489
14503
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
14490
14504
|
if (!isExpanded) {
|
|
14491
14505
|
setIsFocused(true);
|
|
14492
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
14506
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _401 => _401.current, 'optionalAccess', _402 => _402.focus, 'call', _403 => _403()]), 50);
|
|
14493
14507
|
}
|
|
14494
14508
|
}, "handleSearchIconClick");
|
|
14495
14509
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -14555,7 +14569,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14555
14569
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
14556
14570
|
);
|
|
14557
14571
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
14558
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
14572
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _404 => _404.data]), () => ( EMPTY_ARRAY)),
|
|
14559
14573
|
fields,
|
|
14560
14574
|
checkedIds,
|
|
14561
14575
|
toggleId,
|
|
@@ -14624,12 +14638,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14624
14638
|
) }),
|
|
14625
14639
|
table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
14626
14640
|
const meta = header.column.columnDef.meta;
|
|
14627
|
-
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);
|
|
14628
14642
|
}) }, headerGroup.id))
|
|
14629
14643
|
] }),
|
|
14630
|
-
/* @__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) => {
|
|
14631
14645
|
const meta = cell.column.columnDef.meta;
|
|
14632
|
-
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);
|
|
14633
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." }) }) }),
|
|
14634
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: [
|
|
14635
14649
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14639,7 +14653,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14639
14653
|
size: "sm",
|
|
14640
14654
|
onClick: (e) => {
|
|
14641
14655
|
e.preventDefault();
|
|
14642
|
-
_optionalChain([data, 'access',
|
|
14656
|
+
_optionalChain([data, 'access', _409 => _409.previous, 'optionalCall', _410 => _410(true)]);
|
|
14643
14657
|
},
|
|
14644
14658
|
disabled: !data.previous,
|
|
14645
14659
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -14653,7 +14667,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14653
14667
|
size: "sm",
|
|
14654
14668
|
onClick: (e) => {
|
|
14655
14669
|
e.preventDefault();
|
|
14656
|
-
_optionalChain([data, 'access',
|
|
14670
|
+
_optionalChain([data, 'access', _411 => _411.next, 'optionalCall', _412 => _412(true)]);
|
|
14657
14671
|
},
|
|
14658
14672
|
disabled: !data.next,
|
|
14659
14673
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -14674,7 +14688,7 @@ function ContentListGrid(props) {
|
|
|
14674
14688
|
if (!data.next || !sentinelRef.current) return;
|
|
14675
14689
|
const observer = new IntersectionObserver(
|
|
14676
14690
|
(entries) => {
|
|
14677
|
-
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()]);
|
|
14678
14692
|
},
|
|
14679
14693
|
{ threshold: 0.1, rootMargin: "200px" }
|
|
14680
14694
|
);
|
|
@@ -15424,7 +15438,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15424
15438
|
newDigits[index] = digit;
|
|
15425
15439
|
setDigits(newDigits);
|
|
15426
15440
|
if (digit && index < 5) {
|
|
15427
|
-
_optionalChain([inputRefs, 'access',
|
|
15441
|
+
_optionalChain([inputRefs, 'access', _417 => _417.current, 'access', _418 => _418[index + 1], 'optionalAccess', _419 => _419.focus, 'call', _420 => _420()]);
|
|
15428
15442
|
}
|
|
15429
15443
|
const code = newDigits.join("");
|
|
15430
15444
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -15433,7 +15447,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15433
15447
|
}, "handleChange");
|
|
15434
15448
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
15435
15449
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
15436
|
-
_optionalChain([inputRefs, 'access',
|
|
15450
|
+
_optionalChain([inputRefs, 'access', _421 => _421.current, 'access', _422 => _422[index - 1], 'optionalAccess', _423 => _423.focus, 'call', _424 => _424()]);
|
|
15437
15451
|
}
|
|
15438
15452
|
}, "handleKeyDown");
|
|
15439
15453
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -15442,7 +15456,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15442
15456
|
if (pastedData.length === 6) {
|
|
15443
15457
|
const newDigits = pastedData.split("");
|
|
15444
15458
|
setDigits(newDigits);
|
|
15445
|
-
_optionalChain([inputRefs, 'access',
|
|
15459
|
+
_optionalChain([inputRefs, 'access', _425 => _425.current, 'access', _426 => _426[5], 'optionalAccess', _427 => _427.focus, 'call', _428 => _428()]);
|
|
15446
15460
|
onComplete(pastedData);
|
|
15447
15461
|
}
|
|
15448
15462
|
}, "handlePaste");
|
|
@@ -15653,8 +15667,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
15653
15667
|
try {
|
|
15654
15668
|
const registrationData = await _chunkN4YZ45SKjs.TwoFactorService.getPasskeyRegistrationOptions({
|
|
15655
15669
|
id: _uuid.v4.call(void 0, ),
|
|
15656
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
15657
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
15670
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _429 => _429.email]), () => ( "")),
|
|
15671
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _430 => _430.name])
|
|
15658
15672
|
});
|
|
15659
15673
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
15660
15674
|
await _chunkN4YZ45SKjs.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -15805,7 +15819,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
15805
15819
|
const setup = await _chunkN4YZ45SKjs.TwoFactorService.setupTotp({
|
|
15806
15820
|
id: _uuid.v4.call(void 0, ),
|
|
15807
15821
|
name: name.trim(),
|
|
15808
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
15822
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _431 => _431.email]), () => ( ""))
|
|
15809
15823
|
});
|
|
15810
15824
|
setQrCodeUri(setup.qrCodeUri);
|
|
15811
15825
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -15939,7 +15953,7 @@ function TwoFactorSettings() {
|
|
|
15939
15953
|
if (isLoading) {
|
|
15940
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") }) }) });
|
|
15941
15955
|
}
|
|
15942
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
15956
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _432 => _432.isEnabled]), () => ( false));
|
|
15943
15957
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
15944
15958
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
15945
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" }),
|
|
@@ -15977,7 +15991,7 @@ function TwoFactorSettings() {
|
|
|
15977
15991
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
15978
15992
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
15979
15993
|
] }),
|
|
15980
|
-
/* @__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 })
|
|
15981
15995
|
] }) }),
|
|
15982
15996
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15983
15997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -16155,9 +16169,9 @@ function AcceptInvitation() {
|
|
|
16155
16169
|
});
|
|
16156
16170
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16157
16171
|
try {
|
|
16158
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
16172
|
+
if (!_optionalChain([params, 'optionalAccess', _434 => _434.code])) return;
|
|
16159
16173
|
const payload = {
|
|
16160
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
16174
|
+
code: _optionalChain([params, 'optionalAccess', _435 => _435.code]),
|
|
16161
16175
|
password: values.password
|
|
16162
16176
|
};
|
|
16163
16177
|
await _chunkN4YZ45SKjs.AuthService.acceptInvitation(payload);
|
|
@@ -16507,7 +16521,7 @@ function Logout({ storageKeys }) {
|
|
|
16507
16521
|
const generateUrl = usePageUrlGenerator();
|
|
16508
16522
|
_react.useEffect.call(void 0, () => {
|
|
16509
16523
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
16510
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
16524
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _436 => _436.length])) {
|
|
16511
16525
|
clearClientStorage(storageKeys);
|
|
16512
16526
|
}
|
|
16513
16527
|
await _chunkN4YZ45SKjs.AuthService.logout();
|
|
@@ -16530,14 +16544,14 @@ function RefreshUser() {
|
|
|
16530
16544
|
setUser(fullUser);
|
|
16531
16545
|
const token = {
|
|
16532
16546
|
userId: fullUser.id,
|
|
16533
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
16547
|
+
companyId: _optionalChain([fullUser, 'access', _437 => _437.company, 'optionalAccess', _438 => _438.id]),
|
|
16534
16548
|
roles: fullUser.roles.map((role) => role.id),
|
|
16535
|
-
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)]), () => ( [])),
|
|
16536
16550
|
modules: fullUser.modules.map((module) => {
|
|
16537
16551
|
return { id: module.id, permissions: module.permissions };
|
|
16538
16552
|
})
|
|
16539
16553
|
};
|
|
16540
|
-
await _optionalChain([_chunkN4YZ45SKjs.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
16554
|
+
await _optionalChain([_chunkN4YZ45SKjs.getTokenHandler.call(void 0, ), 'optionalAccess', _443 => _443.updateToken, 'call', _444 => _444(token)]);
|
|
16541
16555
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
16542
16556
|
}
|
|
16543
16557
|
}, "loadFullUser");
|
|
@@ -16601,9 +16615,9 @@ function ResetPassword() {
|
|
|
16601
16615
|
});
|
|
16602
16616
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16603
16617
|
try {
|
|
16604
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
16618
|
+
if (!_optionalChain([params, 'optionalAccess', _445 => _445.code])) return;
|
|
16605
16619
|
const payload = {
|
|
16606
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
16620
|
+
code: _optionalChain([params, 'optionalAccess', _446 => _446.code]),
|
|
16607
16621
|
password: values.password
|
|
16608
16622
|
};
|
|
16609
16623
|
await _chunkN4YZ45SKjs.AuthService.resetPassword(payload);
|
|
@@ -16952,7 +16966,7 @@ function extractHeadings(blocks) {
|
|
|
16952
16966
|
function processBlocks(blockArray) {
|
|
16953
16967
|
for (const block of blockArray) {
|
|
16954
16968
|
if (block.type === "heading") {
|
|
16955
|
-
const level = _optionalChain([block, 'access',
|
|
16969
|
+
const level = _optionalChain([block, 'access', _447 => _447.props, 'optionalAccess', _448 => _448.level]) || 1;
|
|
16956
16970
|
const text = extractTextFromContent(block.content);
|
|
16957
16971
|
if (text.trim()) {
|
|
16958
16972
|
headings.push({
|
|
@@ -17295,7 +17309,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
|
|
|
17295
17309
|
})
|
|
17296
17310
|
};
|
|
17297
17311
|
const columns = _react.useMemo.call(void 0, () => {
|
|
17298
|
-
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);
|
|
17299
17313
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
17300
17314
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
17301
17315
|
}, "useHowToTableStructure");
|
|
@@ -17361,7 +17375,7 @@ function HowToMultiSelector({
|
|
|
17361
17375
|
retriever: (params) => _chunkN4YZ45SKjs.HowToService.findMany(params),
|
|
17362
17376
|
module: _chunkN4YZ45SKjs.Modules.HowTo,
|
|
17363
17377
|
getLabel: (howTo) => howTo.name,
|
|
17364
|
-
excludeId: _optionalChain([currentHowTo, 'optionalAccess',
|
|
17378
|
+
excludeId: _optionalChain([currentHowTo, 'optionalAccess', _451 => _451.id]),
|
|
17365
17379
|
onChange
|
|
17366
17380
|
}
|
|
17367
17381
|
);
|
|
@@ -17426,7 +17440,7 @@ function HowToSelector({
|
|
|
17426
17440
|
}, "setHowTo");
|
|
17427
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: [
|
|
17428
17442
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
|
|
17429
|
-
/* @__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 }) }))) }) }) }),
|
|
17430
17444
|
field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17431
17445
|
_lucidereact.CircleX,
|
|
17432
17446
|
{
|
|
@@ -17781,9 +17795,9 @@ function CitationsTab({ citations, sources }) {
|
|
|
17781
17795
|
] }) }),
|
|
17782
17796
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
|
|
17783
17797
|
const isOpen = expanded.has(chunk.id);
|
|
17784
|
-
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;
|
|
17785
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")));
|
|
17786
|
-
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
17800
|
+
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _456 => _456.name]), () => ( fallbackName));
|
|
17787
17801
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
17788
17802
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
17789
17803
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -17830,7 +17844,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
17830
17844
|
for (const c of citations) {
|
|
17831
17845
|
const id = c.nodeId;
|
|
17832
17846
|
if (!id) continue;
|
|
17833
|
-
const source = _optionalChain([sources, 'optionalAccess',
|
|
17847
|
+
const source = _optionalChain([sources, 'optionalAccess', _457 => _457.get, 'call', _458 => _458(id)]);
|
|
17834
17848
|
if (!source) continue;
|
|
17835
17849
|
const existing = map.get(id);
|
|
17836
17850
|
if (existing) {
|
|
@@ -17895,7 +17909,7 @@ function UsersTab({ users, citations, sources }) {
|
|
|
17895
17909
|
const generate = usePageUrlGenerator();
|
|
17896
17910
|
const userMap = /* @__PURE__ */ new Map();
|
|
17897
17911
|
for (const u of users) {
|
|
17898
|
-
if (!_optionalChain([u, 'optionalAccess',
|
|
17912
|
+
if (!_optionalChain([u, 'optionalAccess', _459 => _459.id])) continue;
|
|
17899
17913
|
userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
|
|
17900
17914
|
}
|
|
17901
17915
|
if (citations && sources) {
|
|
@@ -18008,7 +18022,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
|
|
|
18008
18022
|
}
|
|
18009
18023
|
return ids.size;
|
|
18010
18024
|
}, [message.citations, sources]);
|
|
18011
|
-
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess',
|
|
18025
|
+
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _460 => _460.length]), () => ( 0));
|
|
18012
18026
|
const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
|
|
18013
18027
|
const visibleTabs = [];
|
|
18014
18028
|
if (suggestionsCount > 0) visibleTabs.push("suggested");
|
|
@@ -18067,8 +18081,8 @@ var SourcesFetcher = class extends _chunkN4YZ45SKjs.ClientAbstractService {
|
|
|
18067
18081
|
static async findManyByIds(params) {
|
|
18068
18082
|
const endpoint = new (0, _chunkN4YZ45SKjs.EndpointCreator)({ endpoint: params.module });
|
|
18069
18083
|
endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
|
|
18070
|
-
if (_optionalChain([params, 'access',
|
|
18071
|
-
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);
|
|
18072
18086
|
return this.callApi({
|
|
18073
18087
|
type: params.module,
|
|
18074
18088
|
method: "GET" /* GET */,
|
|
@@ -18147,7 +18161,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
|
|
|
18147
18161
|
return void 0;
|
|
18148
18162
|
}
|
|
18149
18163
|
})()));
|
|
18150
|
-
if (_optionalChain([author, 'optionalAccess',
|
|
18164
|
+
if (_optionalChain([author, 'optionalAccess', _469 => _469.id])) userMap.set(author.id, author);
|
|
18151
18165
|
}
|
|
18152
18166
|
return Array.from(userMap.values());
|
|
18153
18167
|
}, [resolved]);
|
|
@@ -18169,14 +18183,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, MessageSourcesContainer, "MessageSourcesCon
|
|
|
18169
18183
|
function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18170
18184
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
18171
18185
|
const isUser = message.role === "user";
|
|
18172
|
-
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess',
|
|
18186
|
+
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _470 => _470.has, 'call', _471 => _471(message.id)]);
|
|
18173
18187
|
if (isUser) {
|
|
18174
18188
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
|
|
18175
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 }),
|
|
18176
18190
|
isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
|
|
18177
18191
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
|
|
18178
18192
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
|
|
18179
|
-
/* @__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") })
|
|
18180
18194
|
] })
|
|
18181
18195
|
] });
|
|
18182
18196
|
}
|
|
@@ -18242,7 +18256,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AssistantStatusLine, "AssistantStatusLine")
|
|
|
18242
18256
|
function AssistantThread({ messages, sending, status, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18243
18257
|
const endRef = _react.useRef.call(void 0, null);
|
|
18244
18258
|
_react.useEffect.call(void 0, () => {
|
|
18245
|
-
_optionalChain([endRef, 'access',
|
|
18259
|
+
_optionalChain([endRef, 'access', _473 => _473.current, 'optionalAccess', _474 => _474.scrollIntoView, 'call', _475 => _475({ behavior: "smooth" })]);
|
|
18246
18260
|
}, [messages.length, sending]);
|
|
18247
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: [
|
|
18248
18262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18270,7 +18284,7 @@ function AssistantContainer() {
|
|
|
18270
18284
|
AssistantSidebar,
|
|
18271
18285
|
{
|
|
18272
18286
|
threads: ctx.threads,
|
|
18273
|
-
activeId: _optionalChain([ctx, 'access',
|
|
18287
|
+
activeId: _optionalChain([ctx, 'access', _476 => _476.assistant, 'optionalAccess', _477 => _477.id]),
|
|
18274
18288
|
onSelect: ctx.selectThread,
|
|
18275
18289
|
onNew: ctx.startNew
|
|
18276
18290
|
}
|
|
@@ -18363,14 +18377,14 @@ function NotificationsList({ archived }) {
|
|
|
18363
18377
|
] }),
|
|
18364
18378
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
18365
18379
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
18366
|
-
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) => {
|
|
18367
18381
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
18368
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: [
|
|
18369
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" }),
|
|
18370
18384
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
18371
18385
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
18372
18386
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
18373
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
18387
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _481 => _481.actor, 'optionalAccess', _482 => _482.name]), () => ( "")),
|
|
18374
18388
|
title: notificationData.title
|
|
18375
18389
|
}) }),
|
|
18376
18390
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -18720,7 +18734,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
18720
18734
|
invalidEmail: "Please enter a valid email address"
|
|
18721
18735
|
};
|
|
18722
18736
|
async function copyToClipboard(text) {
|
|
18723
|
-
if (_optionalChain([navigator, 'access',
|
|
18737
|
+
if (_optionalChain([navigator, 'access', _483 => _483.clipboard, 'optionalAccess', _484 => _484.writeText])) {
|
|
18724
18738
|
try {
|
|
18725
18739
|
await navigator.clipboard.writeText(text);
|
|
18726
18740
|
return true;
|
|
@@ -18762,7 +18776,7 @@ function ReferralWidget({
|
|
|
18762
18776
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
18763
18777
|
const config = _chunkZEJSPTHSjs.getReferralConfig.call(void 0, );
|
|
18764
18778
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
18765
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
18779
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _485 => _485.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
18766
18780
|
if (!_chunkZEJSPTHSjs.isReferralEnabled.call(void 0, )) {
|
|
18767
18781
|
return null;
|
|
18768
18782
|
}
|
|
@@ -18772,7 +18786,7 @@ function ReferralWidget({
|
|
|
18772
18786
|
if (success) {
|
|
18773
18787
|
setCopied(true);
|
|
18774
18788
|
_chunkN4YZ45SKjs.showToast.call(void 0, t.copiedMessage);
|
|
18775
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
18789
|
+
_optionalChain([onLinkCopied, 'optionalCall', _486 => _486()]);
|
|
18776
18790
|
setTimeout(() => setCopied(false), 2e3);
|
|
18777
18791
|
} else {
|
|
18778
18792
|
_chunkN4YZ45SKjs.showError.call(void 0, t.copyError);
|
|
@@ -18786,12 +18800,12 @@ function ReferralWidget({
|
|
|
18786
18800
|
try {
|
|
18787
18801
|
await sendInvite(email);
|
|
18788
18802
|
_chunkN4YZ45SKjs.showToast.call(void 0, t.inviteSent);
|
|
18789
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
18803
|
+
_optionalChain([onInviteSent, 'optionalCall', _487 => _487(email)]);
|
|
18790
18804
|
setEmail("");
|
|
18791
18805
|
} catch (err) {
|
|
18792
18806
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
18793
18807
|
_chunkN4YZ45SKjs.showError.call(void 0, error2.message);
|
|
18794
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
18808
|
+
_optionalChain([onInviteError, 'optionalCall', _488 => _488(error2)]);
|
|
18795
18809
|
}
|
|
18796
18810
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
18797
18811
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -19545,7 +19559,7 @@ function OAuthClientList({
|
|
|
19545
19559
|
OAuthClientCard,
|
|
19546
19560
|
{
|
|
19547
19561
|
client,
|
|
19548
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
19562
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _489 => _489(client)]),
|
|
19549
19563
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
19550
19564
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
19551
19565
|
},
|
|
@@ -19561,11 +19575,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
19561
19575
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
19562
19576
|
const isEditMode = !!client;
|
|
19563
19577
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
19564
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
19565
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
19566
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
19567
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
19568
|
-
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))
|
|
19569
19583
|
});
|
|
19570
19584
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
19571
19585
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -19793,7 +19807,7 @@ function OAuthClientDetail({
|
|
|
19793
19807
|
] }),
|
|
19794
19808
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
19795
19809
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
19796
|
-
/* @__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)) })
|
|
19797
19811
|
] }),
|
|
19798
19812
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
19799
19813
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -19937,7 +19951,7 @@ function OAuthConsentScreen({
|
|
|
19937
19951
|
if (error || !clientInfo) {
|
|
19938
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: [
|
|
19939
19953
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
19940
|
-
/* @__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." })
|
|
19941
19955
|
] }) }) }) });
|
|
19942
19956
|
}
|
|
19943
19957
|
const { client, scopes } = clientInfo;
|
|
@@ -20153,7 +20167,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
20153
20167
|
questionnaire: values.questionnaire
|
|
20154
20168
|
});
|
|
20155
20169
|
setIsSuccess(true);
|
|
20156
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
20170
|
+
_optionalChain([onSuccess, 'optionalCall', _499 => _499()]);
|
|
20157
20171
|
} catch (e) {
|
|
20158
20172
|
errorToast({ error: e });
|
|
20159
20173
|
} finally {
|
|
@@ -20791,7 +20805,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
|
|
|
20791
20805
|
] }),
|
|
20792
20806
|
roleIds.map((roleId) => {
|
|
20793
20807
|
const roleTokens = block[roleId];
|
|
20794
|
-
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
20808
|
+
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _500 => _500[roleId]]), () => ( roleId));
|
|
20795
20809
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
20796
20810
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
|
|
20797
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,
|
|
@@ -20828,7 +20842,7 @@ function RbacContainer() {
|
|
|
20828
20842
|
}, []);
|
|
20829
20843
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
20830
20844
|
if (!matrix) return [];
|
|
20831
|
-
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))));
|
|
20832
20846
|
}, [matrix, moduleNames]);
|
|
20833
20847
|
const roleIds = _react.useMemo.call(void 0, () => {
|
|
20834
20848
|
if (roleNames) {
|
|
@@ -20891,7 +20905,7 @@ function RbacContainer() {
|
|
|
20891
20905
|
id === selectedModuleId && "bg-muted font-medium text-foreground",
|
|
20892
20906
|
id !== selectedModuleId && "text-muted-foreground"
|
|
20893
20907
|
),
|
|
20894
|
-
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
20908
|
+
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _503 => _503[id]]), () => ( id))
|
|
20895
20909
|
}
|
|
20896
20910
|
) }, id)) }) }),
|
|
20897
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,
|
|
@@ -20899,7 +20913,7 @@ function RbacContainer() {
|
|
|
20899
20913
|
{
|
|
20900
20914
|
moduleId: selectedModuleId,
|
|
20901
20915
|
block: selectedBlock,
|
|
20902
|
-
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
20916
|
+
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _504 => _504[selectedModuleId]]), () => ( selectedModuleId)),
|
|
20903
20917
|
roleIds,
|
|
20904
20918
|
roleNames,
|
|
20905
20919
|
onOpenPicker: openPicker
|
|
@@ -20910,12 +20924,12 @@ function RbacContainer() {
|
|
|
20910
20924
|
RbacPermissionPicker,
|
|
20911
20925
|
{
|
|
20912
20926
|
open: !!activePicker,
|
|
20913
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
20927
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _505 => _505.anchor]), () => ( null)),
|
|
20914
20928
|
value: activeValue,
|
|
20915
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
20929
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _506 => _506.isRoleColumn]), () => ( false)),
|
|
20916
20930
|
knownSegments: activeSegments,
|
|
20917
20931
|
onSetValue: handleSetValue,
|
|
20918
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
20932
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _507 => _507.isRoleColumn]) ? handleClear : void 0,
|
|
20919
20933
|
onClose: closePicker
|
|
20920
20934
|
}
|
|
20921
20935
|
)
|
|
@@ -20982,7 +20996,7 @@ function RbacByRoleContainer() {
|
|
|
20982
20996
|
}, [roleNames]);
|
|
20983
20997
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
20984
20998
|
if (!matrix) return [];
|
|
20985
|
-
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))));
|
|
20986
21000
|
}, [matrix, moduleNames]);
|
|
20987
21001
|
_react.useEffect.call(void 0, () => {
|
|
20988
21002
|
if (!selectedRoleId && sortedRoleIds.length > 0) {
|
|
@@ -21031,7 +21045,7 @@ function RbacByRoleContainer() {
|
|
|
21031
21045
|
id === selectedRoleId && "bg-muted font-medium text-foreground",
|
|
21032
21046
|
id !== selectedRoleId && "text-muted-foreground"
|
|
21033
21047
|
),
|
|
21034
|
-
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21048
|
+
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _510 => _510[id]]), () => ( id))
|
|
21035
21049
|
}
|
|
21036
21050
|
) }, id)) }) }),
|
|
21037
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: [
|
|
@@ -21051,7 +21065,7 @@ function RbacByRoleContainer() {
|
|
|
21051
21065
|
if (!block) return null;
|
|
21052
21066
|
const defaultTokens = _nullishCoalesce(block.default, () => ( []));
|
|
21053
21067
|
const roleTokens = block[selectedRoleId];
|
|
21054
|
-
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21068
|
+
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _511 => _511[moduleId]]), () => ( moduleId));
|
|
21055
21069
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
21056
21070
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21057
21071
|
"td",
|
|
@@ -21066,7 +21080,7 @@ function RbacByRoleContainer() {
|
|
|
21066
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))
|
|
21067
21081
|
] }),
|
|
21068
21082
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
21069
|
-
/* @__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)) }),
|
|
21070
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,
|
|
21071
21085
|
CellButton3,
|
|
21072
21086
|
{
|
|
@@ -21087,12 +21101,12 @@ function RbacByRoleContainer() {
|
|
|
21087
21101
|
RbacPermissionPicker,
|
|
21088
21102
|
{
|
|
21089
21103
|
open: !!activePicker,
|
|
21090
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21104
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _513 => _513.anchor]), () => ( null)),
|
|
21091
21105
|
value: activeValue,
|
|
21092
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21106
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _514 => _514.isRoleColumn]), () => ( false)),
|
|
21093
21107
|
knownSegments: activeSegments,
|
|
21094
21108
|
onSetValue: handleSetValue,
|
|
21095
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21109
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _515 => _515.isRoleColumn]) ? handleClear : void 0,
|
|
21096
21110
|
onClose: closePicker
|
|
21097
21111
|
}
|
|
21098
21112
|
)
|
|
@@ -21607,4 +21621,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
|
|
|
21607
21621
|
|
|
21608
21622
|
|
|
21609
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;
|
|
21610
|
-
//# sourceMappingURL=chunk-
|
|
21624
|
+
//# sourceMappingURL=chunk-B7ZH2R62.js.map
|