@carlonicora/nextjs-jsonapi 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlockNoteEditor-V3FCZ2H4.js → BlockNoteEditor-7QWJXR3A.js} +6 -6
- package/dist/{BlockNoteEditor-V3FCZ2H4.js.map → BlockNoteEditor-7QWJXR3A.js.map} +1 -1
- package/dist/{BlockNoteEditor-UX7LGDTO.mjs → BlockNoteEditor-RWQN3I3L.mjs} +2 -2
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-YBEJE65T.js → chunk-4CLLIRP5.js} +77 -73
- package/dist/chunk-4CLLIRP5.js.map +1 -0
- package/dist/{chunk-GIB6J3VK.mjs → chunk-HDFJZTQH.mjs} +12 -8
- package/dist/chunk-HDFJZTQH.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +2 -1
- package/dist/components/index.d.ts +2 -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 +13 -7
- package/src/components/forms/FormPlaceAutocomplete.tsx +3 -2
- package/dist/chunk-GIB6J3VK.mjs.map +0 -1
- package/dist/chunk-YBEJE65T.js.map +0 -1
- /package/dist/{BlockNoteEditor-UX7LGDTO.mjs.map → BlockNoteEditor-RWQN3I3L.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -8344,7 +8344,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
|
|
|
8344
8344
|
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
8345
8345
|
|
|
8346
8346
|
|
|
8347
|
-
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-
|
|
8347
|
+
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-7QWJXR3A.js"))), {
|
|
8348
8348
|
ssr: false
|
|
8349
8349
|
});
|
|
8350
8350
|
var BlockNoteEditorContainer = React3.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -8913,7 +8913,7 @@ function FormPlaceAutocomplete({
|
|
|
8913
8913
|
},
|
|
8914
8914
|
body: JSON.stringify({
|
|
8915
8915
|
input,
|
|
8916
|
-
includedPrimaryTypes: includeTypes
|
|
8916
|
+
...includeTypes ? { includedPrimaryTypes: includeTypes } : {},
|
|
8917
8917
|
languageCode: "en"
|
|
8918
8918
|
})
|
|
8919
8919
|
});
|
|
@@ -11830,7 +11830,8 @@ function RoundPageContainer({ module, id, details, tabs, children, fullWidth })
|
|
|
11830
11830
|
const searchParams = _navigation.useSearchParams.call(void 0, );
|
|
11831
11831
|
const section = searchParams.get("section");
|
|
11832
11832
|
const rewriteUrl = useUrlRewriter();
|
|
11833
|
-
const
|
|
11833
|
+
const initialValue = tabs ? (section && tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _320 => _320.key, 'optionalAccess', _321 => _321.name]), () => ( i.label))) === section) ? section : null) || (_nullishCoalesce(_optionalChain([tabs, 'access', _322 => _322[0], 'access', _323 => _323.key, 'optionalAccess', _324 => _324.name]), () => ( tabs[0].label))) : void 0;
|
|
11834
|
+
const [activeTab, setActiveTab] = _react.useState.call(void 0, initialValue);
|
|
11834
11835
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11835
11836
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { className: "bg-sidebar border-0", children: headerChildren }),
|
|
11836
11837
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[calc(100vh-3rem)] w-full flex-col p-2 pt-0 pl-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-background flex h-full w-full rounded-lg border p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
@@ -11847,12 +11848,15 @@ function RoundPageContainer({ module, id, details, tabs, children, fullWidth })
|
|
|
11847
11848
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkQOLVON35js.cn.call(void 0, `grow overflow-y-auto p-4`, fullWidth && `p-0`), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkQOLVON35js.cn.call(void 0, `mx-auto max-w-6xl space-y-12 p-8`, fullWidth && `max-w-full w-full p-0`), children: tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11848
11849
|
Tabs,
|
|
11849
11850
|
{
|
|
11850
|
-
|
|
11851
|
+
value: activeTab,
|
|
11851
11852
|
className: "w-full",
|
|
11852
|
-
onValueChange: (key) =>
|
|
11853
|
+
onValueChange: (key) => {
|
|
11854
|
+
setActiveTab(key);
|
|
11855
|
+
if (module && id) rewriteUrl({ page: module, id, additionalParameters: { section: key } });
|
|
11856
|
+
},
|
|
11853
11857
|
children: [
|
|
11854
|
-
/* @__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: tab.label, className: `px-4`, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
|
|
11855
|
-
/* @__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: tab.label, className: `pb-20`, children: tab.content }, tab.label)) })
|
|
11858
|
+
/* @__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', _325 => _325.key, 'optionalAccess', _326 => _326.name]), () => ( tab.label)), className: `px-4`, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
|
|
11859
|
+
/* @__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', _327 => _327.key, 'optionalAccess', _328 => _328.name]), () => ( tab.label)), className: `pb-20`, children: tab.content }, tab.label)) })
|
|
11856
11860
|
]
|
|
11857
11861
|
}
|
|
11858
11862
|
) : children }) }),
|
|
@@ -12086,10 +12090,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
12086
12090
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12087
12091
|
Checkbox,
|
|
12088
12092
|
{
|
|
12089
|
-
checked: _optionalChain([params, 'access',
|
|
12093
|
+
checked: _optionalChain([params, 'access', _329 => _329.checkedIds, 'optionalAccess', _330 => _330.includes, 'call', _331 => _331(row.getValue(params.name))]) || false,
|
|
12090
12094
|
onCheckedChange: (value) => {
|
|
12091
12095
|
row.toggleSelected(!!value);
|
|
12092
|
-
_optionalChain([params, 'access',
|
|
12096
|
+
_optionalChain([params, 'access', _332 => _332.toggleId, 'optionalCall', _333 => _333(row.getValue(params.name))]);
|
|
12093
12097
|
},
|
|
12094
12098
|
"aria-label": "Select row"
|
|
12095
12099
|
}
|
|
@@ -12148,7 +12152,7 @@ function useJsonApiGet(params) {
|
|
|
12148
12152
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
12149
12153
|
const isMounted = _react.useRef.call(void 0, true);
|
|
12150
12154
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
12151
|
-
if (_optionalChain([params, 'access',
|
|
12155
|
+
if (_optionalChain([params, 'access', _334 => _334.options, 'optionalAccess', _335 => _335.enabled]) === false) return;
|
|
12152
12156
|
setLoading(true);
|
|
12153
12157
|
setError(null);
|
|
12154
12158
|
try {
|
|
@@ -12175,9 +12179,9 @@ function useJsonApiGet(params) {
|
|
|
12175
12179
|
setLoading(false);
|
|
12176
12180
|
}
|
|
12177
12181
|
}
|
|
12178
|
-
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access',
|
|
12182
|
+
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _336 => _336.options, 'optionalAccess', _337 => _337.enabled])]);
|
|
12179
12183
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
12180
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
12184
|
+
if (!_optionalChain([response, 'optionalAccess', _338 => _338.nextPage])) return;
|
|
12181
12185
|
setLoading(true);
|
|
12182
12186
|
try {
|
|
12183
12187
|
const nextResponse = await response.nextPage();
|
|
@@ -12198,7 +12202,7 @@ function useJsonApiGet(params) {
|
|
|
12198
12202
|
}
|
|
12199
12203
|
}, [response]);
|
|
12200
12204
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
12201
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
12205
|
+
if (!_optionalChain([response, 'optionalAccess', _339 => _339.prevPage])) return;
|
|
12202
12206
|
setLoading(true);
|
|
12203
12207
|
try {
|
|
12204
12208
|
const prevResponse = await response.prevPage();
|
|
@@ -12224,15 +12228,15 @@ function useJsonApiGet(params) {
|
|
|
12224
12228
|
return () => {
|
|
12225
12229
|
isMounted.current = false;
|
|
12226
12230
|
};
|
|
12227
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
12231
|
+
}, [fetchData, ..._optionalChain([params, 'access', _340 => _340.options, 'optionalAccess', _341 => _341.deps]) || []]);
|
|
12228
12232
|
return {
|
|
12229
12233
|
data,
|
|
12230
12234
|
loading,
|
|
12231
12235
|
error,
|
|
12232
12236
|
response,
|
|
12233
12237
|
refetch: fetchData,
|
|
12234
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
12235
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
12238
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _342 => _342.next]),
|
|
12239
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _343 => _343.prev]),
|
|
12236
12240
|
fetchNextPage,
|
|
12237
12241
|
fetchPreviousPage
|
|
12238
12242
|
};
|
|
@@ -12310,17 +12314,17 @@ function useJsonApiMutation(config) {
|
|
|
12310
12314
|
if (apiResponse.ok) {
|
|
12311
12315
|
const resultData = apiResponse.data;
|
|
12312
12316
|
setData(resultData);
|
|
12313
|
-
_optionalChain([config, 'access',
|
|
12317
|
+
_optionalChain([config, 'access', _344 => _344.onSuccess, 'optionalCall', _345 => _345(resultData)]);
|
|
12314
12318
|
return resultData;
|
|
12315
12319
|
} else {
|
|
12316
12320
|
setError(apiResponse.error);
|
|
12317
|
-
_optionalChain([config, 'access',
|
|
12321
|
+
_optionalChain([config, 'access', _346 => _346.onError, 'optionalCall', _347 => _347(apiResponse.error)]);
|
|
12318
12322
|
return null;
|
|
12319
12323
|
}
|
|
12320
12324
|
} catch (err) {
|
|
12321
12325
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
12322
12326
|
setError(errorMessage);
|
|
12323
|
-
_optionalChain([config, 'access',
|
|
12327
|
+
_optionalChain([config, 'access', _348 => _348.onError, 'optionalCall', _349 => _349(errorMessage)]);
|
|
12324
12328
|
return null;
|
|
12325
12329
|
} finally {
|
|
12326
12330
|
setLoading(false);
|
|
@@ -12393,7 +12397,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
12393
12397
|
{
|
|
12394
12398
|
href: hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
12395
12399
|
page: "/administration",
|
|
12396
|
-
id: _optionalChain([_chunkQOLVON35js.Modules, 'access',
|
|
12400
|
+
id: _optionalChain([_chunkQOLVON35js.Modules, 'access', _350 => _350.Company, 'access', _351 => _351.pageUrl, 'optionalAccess', _352 => _352.substring, 'call', _353 => _353(1)]),
|
|
12397
12401
|
childPage: company.id
|
|
12398
12402
|
}) : generateUrl({ page: _chunkQOLVON35js.Modules.Company, id: company.id }),
|
|
12399
12403
|
children: row.getValue("name")
|
|
@@ -12409,7 +12413,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
12409
12413
|
})
|
|
12410
12414
|
};
|
|
12411
12415
|
const columns = _react.useMemo.call(void 0, () => {
|
|
12412
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
12416
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _354 => _354[field], 'optionalCall', _355 => _355()])).filter((col) => col !== void 0);
|
|
12413
12417
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
12414
12418
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
12415
12419
|
}, "useCompanyTableStructure");
|
|
@@ -12421,7 +12425,7 @@ var GRACE_DAYS = 3;
|
|
|
12421
12425
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
12422
12426
|
if (!currentUser || !_chunkUJBUJALXjs.isRolesConfigured.call(void 0, )) return false;
|
|
12423
12427
|
const adminRoleId = _chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator;
|
|
12424
|
-
return !!_optionalChain([currentUser, 'access',
|
|
12428
|
+
return !!_optionalChain([currentUser, 'access', _356 => _356.roles, 'optionalAccess', _357 => _357.some, 'call', _358 => _358((role) => role.id === adminRoleId)]);
|
|
12425
12429
|
}, "isAdministrator");
|
|
12426
12430
|
function useSubscriptionStatus() {
|
|
12427
12431
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -12538,7 +12542,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
12538
12542
|
})
|
|
12539
12543
|
};
|
|
12540
12544
|
const columns = _react.useMemo.call(void 0, () => {
|
|
12541
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
12545
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _359 => _359[field], 'optionalCall', _360 => _360()])).filter((col) => col !== void 0);
|
|
12542
12546
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
12543
12547
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
12544
12548
|
}, "useRoleTableStructure");
|
|
@@ -12681,7 +12685,7 @@ var useUserTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
12681
12685
|
})
|
|
12682
12686
|
};
|
|
12683
12687
|
const columns = _react.useMemo.call(void 0, () => {
|
|
12684
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
12688
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _361 => _361[field], 'optionalCall', _362 => _362()])).filter((col) => col !== void 0);
|
|
12685
12689
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
12686
12690
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
12687
12691
|
}, "useUserTableStructure");
|
|
@@ -12782,11 +12786,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
12782
12786
|
return params.fields.map((field) => {
|
|
12783
12787
|
const localHandler = fieldColumnMap[field];
|
|
12784
12788
|
if (localHandler) return localHandler();
|
|
12785
|
-
const customHandler = _optionalChain([params, 'access',
|
|
12789
|
+
const customHandler = _optionalChain([params, 'access', _363 => _363.context, 'optionalAccess', _364 => _364.customCells, 'optionalAccess', _365 => _365[field]]);
|
|
12786
12790
|
if (customHandler) return customHandler({ t });
|
|
12787
12791
|
return void 0;
|
|
12788
12792
|
}).filter((col) => col !== void 0);
|
|
12789
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
12793
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _366 => _366.context, 'optionalAccess', _367 => _367.customCells])]);
|
|
12790
12794
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
12791
12795
|
}, "useContentTableStructure");
|
|
12792
12796
|
|
|
@@ -13112,7 +13116,7 @@ function rbacReducer(state, action) {
|
|
|
13112
13116
|
}
|
|
13113
13117
|
case "SET_FEATURE_IS_CORE": {
|
|
13114
13118
|
const newMap = new Map(state.featureIsCore);
|
|
13115
|
-
const originalFeature = _optionalChain([state, 'access',
|
|
13119
|
+
const originalFeature = _optionalChain([state, 'access', _368 => _368.original, 'optionalAccess', _369 => _369.features, 'access', _370 => _370.find, 'call', _371 => _371((f) => f.id === action.featureId)]);
|
|
13116
13120
|
if (originalFeature && originalFeature.isCore === action.isCore) {
|
|
13117
13121
|
newMap.delete(action.featureId);
|
|
13118
13122
|
} else {
|
|
@@ -13123,7 +13127,7 @@ function rbacReducer(state, action) {
|
|
|
13123
13127
|
case "SET_MODULE_DEFAULT_PERMISSION": {
|
|
13124
13128
|
const newMap = new Map(state.modulePermissions);
|
|
13125
13129
|
const originalModule = state.original ? findModule(state.original.features, action.moduleId) : void 0;
|
|
13126
|
-
const current = _nullishCoalesce(newMap.get(action.moduleId), () => ( { ..._optionalChain([originalModule, 'optionalAccess',
|
|
13130
|
+
const current = _nullishCoalesce(newMap.get(action.moduleId), () => ( { ..._optionalChain([originalModule, 'optionalAccess', _372 => _372.permissions]) }));
|
|
13127
13131
|
const updated = { ...current, [action.actionType]: action.value };
|
|
13128
13132
|
newMap.set(action.moduleId, updated);
|
|
13129
13133
|
return { ...state, modulePermissions: newMap };
|
|
@@ -13214,8 +13218,8 @@ function useRbacState() {
|
|
|
13214
13218
|
const getFeatureIsCore = _react.useCallback.call(void 0,
|
|
13215
13219
|
(featureId) => {
|
|
13216
13220
|
if (state.featureIsCore.has(featureId)) return state.featureIsCore.get(featureId);
|
|
13217
|
-
const feature = _optionalChain([state, 'access',
|
|
13218
|
-
return _nullishCoalesce(_optionalChain([feature, 'optionalAccess',
|
|
13221
|
+
const feature = _optionalChain([state, 'access', _373 => _373.original, 'optionalAccess', _374 => _374.features, 'access', _375 => _375.find, 'call', _376 => _376((f) => f.id === featureId)]);
|
|
13222
|
+
return _nullishCoalesce(_optionalChain([feature, 'optionalAccess', _377 => _377.isCore]), () => ( false));
|
|
13219
13223
|
},
|
|
13220
13224
|
[state.featureIsCore, state.original]
|
|
13221
13225
|
);
|
|
@@ -13225,7 +13229,7 @@ function useRbacState() {
|
|
|
13225
13229
|
if (edited && edited[actionType] !== void 0) return edited[actionType];
|
|
13226
13230
|
if (!state.original) return void 0;
|
|
13227
13231
|
const mod = findModule(state.original.features, moduleId);
|
|
13228
|
-
return _optionalChain([mod, 'optionalAccess',
|
|
13232
|
+
return _optionalChain([mod, 'optionalAccess', _378 => _378.permissions, 'access', _379 => _379[actionType]]);
|
|
13229
13233
|
},
|
|
13230
13234
|
[state.modulePermissions, state.original]
|
|
13231
13235
|
);
|
|
@@ -13281,7 +13285,7 @@ function useRbacState() {
|
|
|
13281
13285
|
}, [state]);
|
|
13282
13286
|
const getModuleRelationshipPaths = _react.useCallback.call(void 0,
|
|
13283
13287
|
(moduleId) => {
|
|
13284
|
-
return _nullishCoalesce(_optionalChain([state, 'access',
|
|
13288
|
+
return _nullishCoalesce(_optionalChain([state, 'access', _380 => _380.original, 'optionalAccess', _381 => _381.moduleRelationshipPaths, 'access', _382 => _382.get, 'call', _383 => _383(moduleId)]), () => ( []));
|
|
13285
13289
|
},
|
|
13286
13290
|
[state.original]
|
|
13287
13291
|
);
|
|
@@ -13492,7 +13496,7 @@ function ContentTableSearch({ data }) {
|
|
|
13492
13496
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
13493
13497
|
if (!isExpanded) {
|
|
13494
13498
|
setIsFocused(true);
|
|
13495
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
13499
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _384 => _384.current, 'optionalAccess', _385 => _385.focus, 'call', _386 => _386()]), 50);
|
|
13496
13500
|
}
|
|
13497
13501
|
}, "handleSearchIconClick");
|
|
13498
13502
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -13558,7 +13562,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
13558
13562
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
13559
13563
|
);
|
|
13560
13564
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
13561
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
13565
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _387 => _387.data]), () => ( EMPTY_ARRAY)),
|
|
13562
13566
|
fields,
|
|
13563
13567
|
checkedIds,
|
|
13564
13568
|
toggleId,
|
|
@@ -13603,12 +13607,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
13603
13607
|
] }) }) }),
|
|
13604
13608
|
table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
13605
13609
|
const meta = header.column.columnDef.meta;
|
|
13606
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess',
|
|
13610
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _388 => _388.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
|
|
13607
13611
|
}) }, headerGroup.id))
|
|
13608
13612
|
] }),
|
|
13609
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access',
|
|
13613
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _389 => _389.rows, 'optionalAccess', _390 => _390.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
|
|
13610
13614
|
const meta = cell.column.columnDef.meta;
|
|
13611
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
13615
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _391 => _391.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
13612
13616
|
}) }, 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." }) }) }),
|
|
13613
13617
|
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: [
|
|
13614
13618
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13618,7 +13622,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
13618
13622
|
size: "sm",
|
|
13619
13623
|
onClick: (e) => {
|
|
13620
13624
|
e.preventDefault();
|
|
13621
|
-
_optionalChain([data, 'access',
|
|
13625
|
+
_optionalChain([data, 'access', _392 => _392.previous, 'optionalCall', _393 => _393(true)]);
|
|
13622
13626
|
},
|
|
13623
13627
|
disabled: !data.previous,
|
|
13624
13628
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -13632,7 +13636,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
13632
13636
|
size: "sm",
|
|
13633
13637
|
onClick: (e) => {
|
|
13634
13638
|
e.preventDefault();
|
|
13635
|
-
_optionalChain([data, 'access',
|
|
13639
|
+
_optionalChain([data, 'access', _394 => _394.next, 'optionalCall', _395 => _395(true)]);
|
|
13636
13640
|
},
|
|
13637
13641
|
disabled: !data.next,
|
|
13638
13642
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -14193,7 +14197,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
14193
14197
|
newDigits[index] = digit;
|
|
14194
14198
|
setDigits(newDigits);
|
|
14195
14199
|
if (digit && index < 5) {
|
|
14196
|
-
_optionalChain([inputRefs, 'access',
|
|
14200
|
+
_optionalChain([inputRefs, 'access', _396 => _396.current, 'access', _397 => _397[index + 1], 'optionalAccess', _398 => _398.focus, 'call', _399 => _399()]);
|
|
14197
14201
|
}
|
|
14198
14202
|
const code = newDigits.join("");
|
|
14199
14203
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -14202,7 +14206,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
14202
14206
|
}, "handleChange");
|
|
14203
14207
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
14204
14208
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
14205
|
-
_optionalChain([inputRefs, 'access',
|
|
14209
|
+
_optionalChain([inputRefs, 'access', _400 => _400.current, 'access', _401 => _401[index - 1], 'optionalAccess', _402 => _402.focus, 'call', _403 => _403()]);
|
|
14206
14210
|
}
|
|
14207
14211
|
}, "handleKeyDown");
|
|
14208
14212
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -14211,7 +14215,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
14211
14215
|
if (pastedData.length === 6) {
|
|
14212
14216
|
const newDigits = pastedData.split("");
|
|
14213
14217
|
setDigits(newDigits);
|
|
14214
|
-
_optionalChain([inputRefs, 'access',
|
|
14218
|
+
_optionalChain([inputRefs, 'access', _404 => _404.current, 'access', _405 => _405[5], 'optionalAccess', _406 => _406.focus, 'call', _407 => _407()]);
|
|
14215
14219
|
onComplete(pastedData);
|
|
14216
14220
|
}
|
|
14217
14221
|
}, "handlePaste");
|
|
@@ -14422,8 +14426,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
14422
14426
|
try {
|
|
14423
14427
|
const registrationData = await _chunkQOLVON35js.TwoFactorService.getPasskeyRegistrationOptions({
|
|
14424
14428
|
id: _uuid.v4.call(void 0, ),
|
|
14425
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
14426
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
14429
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _408 => _408.email]), () => ( "")),
|
|
14430
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _409 => _409.name])
|
|
14427
14431
|
});
|
|
14428
14432
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
14429
14433
|
await _chunkQOLVON35js.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -14574,7 +14578,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
14574
14578
|
const setup = await _chunkQOLVON35js.TwoFactorService.setupTotp({
|
|
14575
14579
|
id: _uuid.v4.call(void 0, ),
|
|
14576
14580
|
name: name.trim(),
|
|
14577
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
14581
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _410 => _410.email]), () => ( ""))
|
|
14578
14582
|
});
|
|
14579
14583
|
setQrCodeUri(setup.qrCodeUri);
|
|
14580
14584
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -14708,7 +14712,7 @@ function TwoFactorSettings() {
|
|
|
14708
14712
|
if (isLoading) {
|
|
14709
14713
|
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") }) }) });
|
|
14710
14714
|
}
|
|
14711
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
14715
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _411 => _411.isEnabled]), () => ( false));
|
|
14712
14716
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
14713
14717
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
14714
14718
|
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" }),
|
|
@@ -14746,7 +14750,7 @@ function TwoFactorSettings() {
|
|
|
14746
14750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
14747
14751
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
14748
14752
|
] }),
|
|
14749
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
14753
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _412 => _412.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
14750
14754
|
] }) }),
|
|
14751
14755
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14752
14756
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -14924,9 +14928,9 @@ function AcceptInvitation() {
|
|
|
14924
14928
|
});
|
|
14925
14929
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
14926
14930
|
try {
|
|
14927
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
14931
|
+
if (!_optionalChain([params, 'optionalAccess', _413 => _413.code])) return;
|
|
14928
14932
|
const payload = {
|
|
14929
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
14933
|
+
code: _optionalChain([params, 'optionalAccess', _414 => _414.code]),
|
|
14930
14934
|
password: values.password
|
|
14931
14935
|
};
|
|
14932
14936
|
await _chunkQOLVON35js.AuthService.acceptInvitation(payload);
|
|
@@ -15276,7 +15280,7 @@ function Logout({ storageKeys }) {
|
|
|
15276
15280
|
const generateUrl = usePageUrlGenerator();
|
|
15277
15281
|
_react.useEffect.call(void 0, () => {
|
|
15278
15282
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
15279
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
15283
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _415 => _415.length])) {
|
|
15280
15284
|
clearClientStorage(storageKeys);
|
|
15281
15285
|
}
|
|
15282
15286
|
await _chunkQOLVON35js.AuthService.logout();
|
|
@@ -15299,14 +15303,14 @@ function RefreshUser() {
|
|
|
15299
15303
|
setUser(fullUser);
|
|
15300
15304
|
const token = {
|
|
15301
15305
|
userId: fullUser.id,
|
|
15302
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
15306
|
+
companyId: _optionalChain([fullUser, 'access', _416 => _416.company, 'optionalAccess', _417 => _417.id]),
|
|
15303
15307
|
roles: fullUser.roles.map((role) => role.id),
|
|
15304
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
15308
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _418 => _418.company, 'optionalAccess', _419 => _419.features, 'optionalAccess', _420 => _420.map, 'call', _421 => _421((feature) => feature.id)]), () => ( [])),
|
|
15305
15309
|
modules: fullUser.modules.map((module) => {
|
|
15306
15310
|
return { id: module.id, permissions: module.permissions };
|
|
15307
15311
|
})
|
|
15308
15312
|
};
|
|
15309
|
-
await _optionalChain([_chunkQOLVON35js.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
15313
|
+
await _optionalChain([_chunkQOLVON35js.getTokenHandler.call(void 0, ), 'optionalAccess', _422 => _422.updateToken, 'call', _423 => _423(token)]);
|
|
15310
15314
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
15311
15315
|
}
|
|
15312
15316
|
}, "loadFullUser");
|
|
@@ -15370,9 +15374,9 @@ function ResetPassword() {
|
|
|
15370
15374
|
});
|
|
15371
15375
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
15372
15376
|
try {
|
|
15373
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
15377
|
+
if (!_optionalChain([params, 'optionalAccess', _424 => _424.code])) return;
|
|
15374
15378
|
const payload = {
|
|
15375
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
15379
|
+
code: _optionalChain([params, 'optionalAccess', _425 => _425.code]),
|
|
15376
15380
|
password: values.password
|
|
15377
15381
|
};
|
|
15378
15382
|
await _chunkQOLVON35js.AuthService.resetPassword(payload);
|
|
@@ -15729,14 +15733,14 @@ function NotificationsList({ archived }) {
|
|
|
15729
15733
|
] }),
|
|
15730
15734
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
15731
15735
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
15732
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access',
|
|
15736
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _426 => _426.data, 'optionalAccess', _427 => _427.map, 'call', _428 => _428((notification) => {
|
|
15733
15737
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
15734
15738
|
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: [
|
|
15735
15739
|
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: _chunkQOLVON35js.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" }),
|
|
15736
15740
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
15737
15741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
15738
15742
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
15739
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
15743
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _429 => _429.actor, 'optionalAccess', _430 => _430.name]), () => ( "")),
|
|
15740
15744
|
title: notificationData.title
|
|
15741
15745
|
}) }),
|
|
15742
15746
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -16086,7 +16090,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
16086
16090
|
invalidEmail: "Please enter a valid email address"
|
|
16087
16091
|
};
|
|
16088
16092
|
async function copyToClipboard(text) {
|
|
16089
|
-
if (_optionalChain([navigator, 'access',
|
|
16093
|
+
if (_optionalChain([navigator, 'access', _431 => _431.clipboard, 'optionalAccess', _432 => _432.writeText])) {
|
|
16090
16094
|
try {
|
|
16091
16095
|
await navigator.clipboard.writeText(text);
|
|
16092
16096
|
return true;
|
|
@@ -16128,7 +16132,7 @@ function ReferralWidget({
|
|
|
16128
16132
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
16129
16133
|
const config = _chunkUJBUJALXjs.getReferralConfig.call(void 0, );
|
|
16130
16134
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
16131
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
16135
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _433 => _433.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
16132
16136
|
if (!_chunkUJBUJALXjs.isReferralEnabled.call(void 0, )) {
|
|
16133
16137
|
return null;
|
|
16134
16138
|
}
|
|
@@ -16138,7 +16142,7 @@ function ReferralWidget({
|
|
|
16138
16142
|
if (success) {
|
|
16139
16143
|
setCopied(true);
|
|
16140
16144
|
_chunkQOLVON35js.showToast.call(void 0, t.copiedMessage);
|
|
16141
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
16145
|
+
_optionalChain([onLinkCopied, 'optionalCall', _434 => _434()]);
|
|
16142
16146
|
setTimeout(() => setCopied(false), 2e3);
|
|
16143
16147
|
} else {
|
|
16144
16148
|
_chunkQOLVON35js.showError.call(void 0, t.copyError);
|
|
@@ -16152,12 +16156,12 @@ function ReferralWidget({
|
|
|
16152
16156
|
try {
|
|
16153
16157
|
await sendInvite(email);
|
|
16154
16158
|
_chunkQOLVON35js.showToast.call(void 0, t.inviteSent);
|
|
16155
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
16159
|
+
_optionalChain([onInviteSent, 'optionalCall', _435 => _435(email)]);
|
|
16156
16160
|
setEmail("");
|
|
16157
16161
|
} catch (err) {
|
|
16158
16162
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
16159
16163
|
_chunkQOLVON35js.showError.call(void 0, error2.message);
|
|
16160
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
16164
|
+
_optionalChain([onInviteError, 'optionalCall', _436 => _436(error2)]);
|
|
16161
16165
|
}
|
|
16162
16166
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
16163
16167
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -16910,7 +16914,7 @@ function OAuthClientList({
|
|
|
16910
16914
|
OAuthClientCard,
|
|
16911
16915
|
{
|
|
16912
16916
|
client,
|
|
16913
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
16917
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _437 => _437(client)]),
|
|
16914
16918
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
16915
16919
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
16916
16920
|
},
|
|
@@ -16926,11 +16930,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
16926
16930
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
16927
16931
|
const isEditMode = !!client;
|
|
16928
16932
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
16929
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
16930
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
16931
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
16932
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
16933
|
-
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess',
|
|
16933
|
+
name: _optionalChain([client, 'optionalAccess', _438 => _438.name]) || "",
|
|
16934
|
+
description: _optionalChain([client, 'optionalAccess', _439 => _439.description]) || "",
|
|
16935
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _440 => _440.redirectUris, 'optionalAccess', _441 => _441.length]) ? client.redirectUris : [""],
|
|
16936
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _442 => _442.allowedScopes]) || [],
|
|
16937
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _443 => _443.isConfidential]), () => ( true))
|
|
16934
16938
|
});
|
|
16935
16939
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
16936
16940
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -17158,7 +17162,7 @@ function OAuthClientDetail({
|
|
|
17158
17162
|
] }),
|
|
17159
17163
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
17160
17164
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
17161
|
-
/* @__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([_chunkQOLVON35js.OAUTH_SCOPE_DISPLAY, 'access',
|
|
17165
|
+
/* @__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([_chunkQOLVON35js.OAUTH_SCOPE_DISPLAY, 'access', _444 => _444[scope], 'optionalAccess', _445 => _445.name]) || scope }, scope)) })
|
|
17162
17166
|
] }),
|
|
17163
17167
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
17164
17168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -17302,7 +17306,7 @@ function OAuthConsentScreen({
|
|
|
17302
17306
|
if (error || !clientInfo) {
|
|
17303
17307
|
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: [
|
|
17304
17308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
17305
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess',
|
|
17309
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _446 => _446.message]) || "Invalid authorization request. Please try again." })
|
|
17306
17310
|
] }) }) }) });
|
|
17307
17311
|
}
|
|
17308
17312
|
const { client, scopes } = clientInfo;
|
|
@@ -17518,7 +17522,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
17518
17522
|
questionnaire: values.questionnaire
|
|
17519
17523
|
});
|
|
17520
17524
|
setIsSuccess(true);
|
|
17521
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
17525
|
+
_optionalChain([onSuccess, 'optionalCall', _447 => _447()]);
|
|
17522
17526
|
} catch (e) {
|
|
17523
17527
|
errorToast({ error: e });
|
|
17524
17528
|
} finally {
|
|
@@ -18141,7 +18145,7 @@ function RbacModuleTable({ module, roles, stateApi }) {
|
|
|
18141
18145
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: role.name }),
|
|
18142
18146
|
_chunkUJBUJALXjs.ACTION_TYPES.map((actionType) => {
|
|
18143
18147
|
const roleValue = stateApi.getRolePermission(role.id, module.id, actionType);
|
|
18144
|
-
const originalMapping = _optionalChain([stateApi, 'access',
|
|
18148
|
+
const originalMapping = _optionalChain([stateApi, 'access', _448 => _448.original, 'optionalAccess', _449 => _449.permissionMappings, 'access', _450 => _450.find, 'call', _451 => _451(
|
|
18145
18149
|
(pm) => pm.roleId === role.id && pm.moduleId === module.id
|
|
18146
18150
|
)]);
|
|
18147
18151
|
const originalRoleValue = originalMapping ? _nullishCoalesce(originalMapping.permissions[actionType], () => ( null)) : void 0;
|
|
@@ -18754,4 +18758,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacContainer, "RbacContainer");
|
|
|
18754
18758
|
|
|
18755
18759
|
|
|
18756
18760
|
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 = useDebounce; 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.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; 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 = useDebounce2; exports.MultipleSelector = MultipleSelector; 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.UserDetails = UserDetails; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; 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.errorToast = errorToast; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormFieldWrapper = FormFieldWrapper; 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.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.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyConfigurationSecurityForm = CompanyConfigurationSecurityForm; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; 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.useRbacState = useRbacState; exports.generateMigrationFile = generateMigrationFile; exports.downloadMigrationFile = downloadMigrationFile; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacModuleTable = RbacModuleTable; exports.RbacFeatureSection = RbacFeatureSection; exports.RbacToolbar = RbacToolbar; exports.RbacContainer = RbacContainer; 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.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
|
|
18757
|
-
//# sourceMappingURL=chunk-
|
|
18761
|
+
//# sourceMappingURL=chunk-4CLLIRP5.js.map
|