@carlonicora/nextjs-jsonapi 1.54.1 → 1.55.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,7 +47,7 @@ import {
47
47
  TabsList,
48
48
  TabsTrigger,
49
49
  useCurrentUserContext
50
- } from "../chunk-MVAUGASJ.mjs";
50
+ } from "../chunk-PHYEALSV.mjs";
51
51
  import {
52
52
  getRoleId,
53
53
  getStripePublishableKey
@@ -174,7 +174,8 @@ function useUrlRewriter() {
174
174
  id: params.id,
175
175
  childPage: params.childPage,
176
176
  childId: params.childId,
177
- language: locale
177
+ language: locale,
178
+ additionalParameters: params.additionalParameters
178
179
  })
179
180
  );
180
181
  },
@@ -8343,7 +8344,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
8343
8344
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
8344
8345
 
8345
8346
 
8346
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-RQCTOZHO.js"))), {
8347
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-AIAYKGLG.js"))), {
8347
8348
  ssr: false
8348
8349
  });
8349
8350
  var BlockNoteEditorContainer = React3.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -11816,9 +11817,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, RoundPageContainerTitle, "RoundPageContaine
11816
11817
  // src/components/containers/RoundPageContainer.tsx
11817
11818
 
11818
11819
 
11819
- function RoundPageContainer({ module, details, tabs, children, fullWidth }) {
11820
+
11821
+ function RoundPageContainer({ module, id, details, tabs, children, fullWidth }) {
11820
11822
  const headerChildren = useHeaderChildren();
11821
11823
  const [showDetails, setShowDetails] = _react.useState.call(void 0, false);
11824
+ const searchParams = _navigation.useSearchParams.call(void 0, );
11825
+ const section = searchParams.get("section");
11826
+ const rewriteUrl = useUrlRewriter();
11827
+ const defaultValue = tabs ? section && _optionalChain([tabs, 'access', _320 => _320.find, 'call', _321 => _321((i) => _optionalChain([i, 'access', _322 => _322.key, 'optionalAccess', _323 => _323.name]) === section), 'optionalAccess', _324 => _324.key]) || tabs[0].key : void 0;
11822
11828
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
11823
11829
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { className: "bg-sidebar border-0", children: headerChildren }),
11824
11830
  /* @__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: [
@@ -11832,10 +11838,18 @@ function RoundPageContainer({ module, details, tabs, children, fullWidth }) {
11832
11838
  }
11833
11839
  ),
11834
11840
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full w-full overflow-hidden", children: [
11835
- tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tabs, { defaultValue: tabs[0].label, className: "w-full", children: [
11836
- /* @__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)) }) }),
11837
- /* @__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)) })
11838
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: children && /* @__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 }) }) }),
11841
+ /* @__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,
11842
+ Tabs,
11843
+ {
11844
+ defaultValue,
11845
+ className: "w-full",
11846
+ onValueChange: (key) => module && id && rewriteUrl({ page: module, id, additionalParameters: { section: key } }),
11847
+ children: [
11848
+ /* @__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)) }) }),
11849
+ /* @__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)) })
11850
+ ]
11851
+ }
11852
+ ) : children }) }),
11839
11853
  details && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11840
11854
  "div",
11841
11855
  {
@@ -11906,7 +11920,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, TabsContainer, "TabsContainer");
11906
11920
 
11907
11921
  function AttributeElement({ inline, title, value, className }) {
11908
11922
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkQOLVON35js.cn.call(void 0, `flex ${inline === true ? "flex-row" : "flex-col"} my-1 justify-start`, className), children: [
11909
- title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${inline === true ? "min-w-48 pr-4" : "w-full"} text-sm font-semibold`, children: title }),
11923
+ title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${inline === true ? "min-w-48 pr-4" : "w-full"} text-xs text-muted-foreground`, children: title }),
11910
11924
  value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col text-sm", children: value })
11911
11925
  ] });
11912
11926
  }
@@ -12066,10 +12080,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
12066
12080
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12067
12081
  Checkbox,
12068
12082
  {
12069
- checked: _optionalChain([params, 'access', _320 => _320.checkedIds, 'optionalAccess', _321 => _321.includes, 'call', _322 => _322(row.getValue(params.name))]) || false,
12083
+ checked: _optionalChain([params, 'access', _325 => _325.checkedIds, 'optionalAccess', _326 => _326.includes, 'call', _327 => _327(row.getValue(params.name))]) || false,
12070
12084
  onCheckedChange: (value) => {
12071
12085
  row.toggleSelected(!!value);
12072
- _optionalChain([params, 'access', _323 => _323.toggleId, 'optionalCall', _324 => _324(row.getValue(params.name))]);
12086
+ _optionalChain([params, 'access', _328 => _328.toggleId, 'optionalCall', _329 => _329(row.getValue(params.name))]);
12073
12087
  },
12074
12088
  "aria-label": "Select row"
12075
12089
  }
@@ -12128,7 +12142,7 @@ function useJsonApiGet(params) {
12128
12142
  const [response, setResponse] = _react.useState.call(void 0, null);
12129
12143
  const isMounted = _react.useRef.call(void 0, true);
12130
12144
  const fetchData = _react.useCallback.call(void 0, async () => {
12131
- if (_optionalChain([params, 'access', _325 => _325.options, 'optionalAccess', _326 => _326.enabled]) === false) return;
12145
+ if (_optionalChain([params, 'access', _330 => _330.options, 'optionalAccess', _331 => _331.enabled]) === false) return;
12132
12146
  setLoading(true);
12133
12147
  setError(null);
12134
12148
  try {
@@ -12155,9 +12169,9 @@ function useJsonApiGet(params) {
12155
12169
  setLoading(false);
12156
12170
  }
12157
12171
  }
12158
- }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _327 => _327.options, 'optionalAccess', _328 => _328.enabled])]);
12172
+ }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _332 => _332.options, 'optionalAccess', _333 => _333.enabled])]);
12159
12173
  const fetchNextPage = _react.useCallback.call(void 0, async () => {
12160
- if (!_optionalChain([response, 'optionalAccess', _329 => _329.nextPage])) return;
12174
+ if (!_optionalChain([response, 'optionalAccess', _334 => _334.nextPage])) return;
12161
12175
  setLoading(true);
12162
12176
  try {
12163
12177
  const nextResponse = await response.nextPage();
@@ -12178,7 +12192,7 @@ function useJsonApiGet(params) {
12178
12192
  }
12179
12193
  }, [response]);
12180
12194
  const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
12181
- if (!_optionalChain([response, 'optionalAccess', _330 => _330.prevPage])) return;
12195
+ if (!_optionalChain([response, 'optionalAccess', _335 => _335.prevPage])) return;
12182
12196
  setLoading(true);
12183
12197
  try {
12184
12198
  const prevResponse = await response.prevPage();
@@ -12204,15 +12218,15 @@ function useJsonApiGet(params) {
12204
12218
  return () => {
12205
12219
  isMounted.current = false;
12206
12220
  };
12207
- }, [fetchData, ..._optionalChain([params, 'access', _331 => _331.options, 'optionalAccess', _332 => _332.deps]) || []]);
12221
+ }, [fetchData, ..._optionalChain([params, 'access', _336 => _336.options, 'optionalAccess', _337 => _337.deps]) || []]);
12208
12222
  return {
12209
12223
  data,
12210
12224
  loading,
12211
12225
  error,
12212
12226
  response,
12213
12227
  refetch: fetchData,
12214
- hasNextPage: !!_optionalChain([response, 'optionalAccess', _333 => _333.next]),
12215
- hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _334 => _334.prev]),
12228
+ hasNextPage: !!_optionalChain([response, 'optionalAccess', _338 => _338.next]),
12229
+ hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _339 => _339.prev]),
12216
12230
  fetchNextPage,
12217
12231
  fetchPreviousPage
12218
12232
  };
@@ -12290,17 +12304,17 @@ function useJsonApiMutation(config) {
12290
12304
  if (apiResponse.ok) {
12291
12305
  const resultData = apiResponse.data;
12292
12306
  setData(resultData);
12293
- _optionalChain([config, 'access', _335 => _335.onSuccess, 'optionalCall', _336 => _336(resultData)]);
12307
+ _optionalChain([config, 'access', _340 => _340.onSuccess, 'optionalCall', _341 => _341(resultData)]);
12294
12308
  return resultData;
12295
12309
  } else {
12296
12310
  setError(apiResponse.error);
12297
- _optionalChain([config, 'access', _337 => _337.onError, 'optionalCall', _338 => _338(apiResponse.error)]);
12311
+ _optionalChain([config, 'access', _342 => _342.onError, 'optionalCall', _343 => _343(apiResponse.error)]);
12298
12312
  return null;
12299
12313
  }
12300
12314
  } catch (err) {
12301
12315
  const errorMessage = err instanceof Error ? err.message : "Unknown error";
12302
12316
  setError(errorMessage);
12303
- _optionalChain([config, 'access', _339 => _339.onError, 'optionalCall', _340 => _340(errorMessage)]);
12317
+ _optionalChain([config, 'access', _344 => _344.onError, 'optionalCall', _345 => _345(errorMessage)]);
12304
12318
  return null;
12305
12319
  } finally {
12306
12320
  setLoading(false);
@@ -12373,7 +12387,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
12373
12387
  {
12374
12388
  href: hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
12375
12389
  page: "/administration",
12376
- id: _optionalChain([_chunkQOLVON35js.Modules, 'access', _341 => _341.Company, 'access', _342 => _342.pageUrl, 'optionalAccess', _343 => _343.substring, 'call', _344 => _344(1)]),
12390
+ id: _optionalChain([_chunkQOLVON35js.Modules, 'access', _346 => _346.Company, 'access', _347 => _347.pageUrl, 'optionalAccess', _348 => _348.substring, 'call', _349 => _349(1)]),
12377
12391
  childPage: company.id
12378
12392
  }) : generateUrl({ page: _chunkQOLVON35js.Modules.Company, id: company.id }),
12379
12393
  children: row.getValue("name")
@@ -12389,7 +12403,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
12389
12403
  })
12390
12404
  };
12391
12405
  const columns = _react.useMemo.call(void 0, () => {
12392
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _345 => _345[field], 'optionalCall', _346 => _346()])).filter((col) => col !== void 0);
12406
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _350 => _350[field], 'optionalCall', _351 => _351()])).filter((col) => col !== void 0);
12393
12407
  }, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
12394
12408
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
12395
12409
  }, "useCompanyTableStructure");
@@ -12401,7 +12415,7 @@ var GRACE_DAYS = 3;
12401
12415
  var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
12402
12416
  if (!currentUser || !_chunkUJBUJALXjs.isRolesConfigured.call(void 0, )) return false;
12403
12417
  const adminRoleId = _chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator;
12404
- return !!_optionalChain([currentUser, 'access', _347 => _347.roles, 'optionalAccess', _348 => _348.some, 'call', _349 => _349((role) => role.id === adminRoleId)]);
12418
+ return !!_optionalChain([currentUser, 'access', _352 => _352.roles, 'optionalAccess', _353 => _353.some, 'call', _354 => _354((role) => role.id === adminRoleId)]);
12405
12419
  }, "isAdministrator");
12406
12420
  function useSubscriptionStatus() {
12407
12421
  const { company, currentUser } = useCurrentUserContext();
@@ -12518,7 +12532,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
12518
12532
  })
12519
12533
  };
12520
12534
  const columns = _react.useMemo.call(void 0, () => {
12521
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _350 => _350[field], 'optionalCall', _351 => _351()])).filter((col) => col !== void 0);
12535
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _355 => _355[field], 'optionalCall', _356 => _356()])).filter((col) => col !== void 0);
12522
12536
  }, [params.fields, fieldColumnMap, t, generateUrl]);
12523
12537
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
12524
12538
  }, "useRoleTableStructure");
@@ -12661,7 +12675,7 @@ var useUserTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
12661
12675
  })
12662
12676
  };
12663
12677
  const columns = _react.useMemo.call(void 0, () => {
12664
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _352 => _352[field], 'optionalCall', _353 => _353()])).filter((col) => col !== void 0);
12678
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _357 => _357[field], 'optionalCall', _358 => _358()])).filter((col) => col !== void 0);
12665
12679
  }, [params.fields, fieldColumnMap, t, generateUrl]);
12666
12680
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
12667
12681
  }, "useUserTableStructure");
@@ -12762,11 +12776,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
12762
12776
  return params.fields.map((field) => {
12763
12777
  const localHandler = fieldColumnMap[field];
12764
12778
  if (localHandler) return localHandler();
12765
- const customHandler = _optionalChain([params, 'access', _354 => _354.context, 'optionalAccess', _355 => _355.customCells, 'optionalAccess', _356 => _356[field]]);
12779
+ const customHandler = _optionalChain([params, 'access', _359 => _359.context, 'optionalAccess', _360 => _360.customCells, 'optionalAccess', _361 => _361[field]]);
12766
12780
  if (customHandler) return customHandler({ t });
12767
12781
  return void 0;
12768
12782
  }).filter((col) => col !== void 0);
12769
- }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _357 => _357.context, 'optionalAccess', _358 => _358.customCells])]);
12783
+ }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _362 => _362.context, 'optionalAccess', _363 => _363.customCells])]);
12770
12784
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
12771
12785
  }, "useContentTableStructure");
12772
12786
 
@@ -13092,7 +13106,7 @@ function rbacReducer(state, action) {
13092
13106
  }
13093
13107
  case "SET_FEATURE_IS_CORE": {
13094
13108
  const newMap = new Map(state.featureIsCore);
13095
- const originalFeature = _optionalChain([state, 'access', _359 => _359.original, 'optionalAccess', _360 => _360.features, 'access', _361 => _361.find, 'call', _362 => _362((f) => f.id === action.featureId)]);
13109
+ const originalFeature = _optionalChain([state, 'access', _364 => _364.original, 'optionalAccess', _365 => _365.features, 'access', _366 => _366.find, 'call', _367 => _367((f) => f.id === action.featureId)]);
13096
13110
  if (originalFeature && originalFeature.isCore === action.isCore) {
13097
13111
  newMap.delete(action.featureId);
13098
13112
  } else {
@@ -13103,7 +13117,7 @@ function rbacReducer(state, action) {
13103
13117
  case "SET_MODULE_DEFAULT_PERMISSION": {
13104
13118
  const newMap = new Map(state.modulePermissions);
13105
13119
  const originalModule = state.original ? findModule(state.original.features, action.moduleId) : void 0;
13106
- const current = _nullishCoalesce(newMap.get(action.moduleId), () => ( { ..._optionalChain([originalModule, 'optionalAccess', _363 => _363.permissions]) }));
13120
+ const current = _nullishCoalesce(newMap.get(action.moduleId), () => ( { ..._optionalChain([originalModule, 'optionalAccess', _368 => _368.permissions]) }));
13107
13121
  const updated = { ...current, [action.actionType]: action.value };
13108
13122
  newMap.set(action.moduleId, updated);
13109
13123
  return { ...state, modulePermissions: newMap };
@@ -13194,8 +13208,8 @@ function useRbacState() {
13194
13208
  const getFeatureIsCore = _react.useCallback.call(void 0,
13195
13209
  (featureId) => {
13196
13210
  if (state.featureIsCore.has(featureId)) return state.featureIsCore.get(featureId);
13197
- const feature = _optionalChain([state, 'access', _364 => _364.original, 'optionalAccess', _365 => _365.features, 'access', _366 => _366.find, 'call', _367 => _367((f) => f.id === featureId)]);
13198
- return _nullishCoalesce(_optionalChain([feature, 'optionalAccess', _368 => _368.isCore]), () => ( false));
13211
+ const feature = _optionalChain([state, 'access', _369 => _369.original, 'optionalAccess', _370 => _370.features, 'access', _371 => _371.find, 'call', _372 => _372((f) => f.id === featureId)]);
13212
+ return _nullishCoalesce(_optionalChain([feature, 'optionalAccess', _373 => _373.isCore]), () => ( false));
13199
13213
  },
13200
13214
  [state.featureIsCore, state.original]
13201
13215
  );
@@ -13205,7 +13219,7 @@ function useRbacState() {
13205
13219
  if (edited && edited[actionType] !== void 0) return edited[actionType];
13206
13220
  if (!state.original) return void 0;
13207
13221
  const mod = findModule(state.original.features, moduleId);
13208
- return _optionalChain([mod, 'optionalAccess', _369 => _369.permissions, 'access', _370 => _370[actionType]]);
13222
+ return _optionalChain([mod, 'optionalAccess', _374 => _374.permissions, 'access', _375 => _375[actionType]]);
13209
13223
  },
13210
13224
  [state.modulePermissions, state.original]
13211
13225
  );
@@ -13261,7 +13275,7 @@ function useRbacState() {
13261
13275
  }, [state]);
13262
13276
  const getModuleRelationshipPaths = _react.useCallback.call(void 0,
13263
13277
  (moduleId) => {
13264
- return _nullishCoalesce(_optionalChain([state, 'access', _371 => _371.original, 'optionalAccess', _372 => _372.moduleRelationshipPaths, 'access', _373 => _373.get, 'call', _374 => _374(moduleId)]), () => ( []));
13278
+ return _nullishCoalesce(_optionalChain([state, 'access', _376 => _376.original, 'optionalAccess', _377 => _377.moduleRelationshipPaths, 'access', _378 => _378.get, 'call', _379 => _379(moduleId)]), () => ( []));
13265
13279
  },
13266
13280
  [state.original]
13267
13281
  );
@@ -13472,7 +13486,7 @@ function ContentTableSearch({ data }) {
13472
13486
  const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
13473
13487
  if (!isExpanded) {
13474
13488
  setIsFocused(true);
13475
- setTimeout(() => _optionalChain([inputRef, 'access', _375 => _375.current, 'optionalAccess', _376 => _376.focus, 'call', _377 => _377()]), 50);
13489
+ setTimeout(() => _optionalChain([inputRef, 'access', _380 => _380.current, 'optionalAccess', _381 => _381.focus, 'call', _382 => _382()]), 50);
13476
13490
  }
13477
13491
  }, "handleSearchIconClick");
13478
13492
  const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
@@ -13538,7 +13552,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
13538
13552
  props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
13539
13553
  );
13540
13554
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
13541
- data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _378 => _378.data]), () => ( EMPTY_ARRAY)),
13555
+ data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _383 => _383.data]), () => ( EMPTY_ARRAY)),
13542
13556
  fields,
13543
13557
  checkedIds,
13544
13558
  toggleId,
@@ -13583,12 +13597,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
13583
13597
  ] }) }) }),
13584
13598
  table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
13585
13599
  const meta = header.column.columnDef.meta;
13586
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _379 => _379.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
13600
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _384 => _384.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
13587
13601
  }) }, headerGroup.id))
13588
13602
  ] }),
13589
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _380 => _380.rows, 'optionalAccess', _381 => _381.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
13603
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _385 => _385.rows, 'optionalAccess', _386 => _386.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
13590
13604
  const meta = cell.column.columnDef.meta;
13591
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _382 => _382.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
13605
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _387 => _387.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
13592
13606
  }) }, 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." }) }) }),
13593
13607
  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: [
13594
13608
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -13598,7 +13612,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
13598
13612
  size: "sm",
13599
13613
  onClick: (e) => {
13600
13614
  e.preventDefault();
13601
- _optionalChain([data, 'access', _383 => _383.previous, 'optionalCall', _384 => _384(true)]);
13615
+ _optionalChain([data, 'access', _388 => _388.previous, 'optionalCall', _389 => _389(true)]);
13602
13616
  },
13603
13617
  disabled: !data.previous,
13604
13618
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
@@ -13612,7 +13626,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
13612
13626
  size: "sm",
13613
13627
  onClick: (e) => {
13614
13628
  e.preventDefault();
13615
- _optionalChain([data, 'access', _385 => _385.next, 'optionalCall', _386 => _386(true)]);
13629
+ _optionalChain([data, 'access', _390 => _390.next, 'optionalCall', _391 => _391(true)]);
13616
13630
  },
13617
13631
  disabled: !data.next,
13618
13632
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
@@ -14173,7 +14187,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
14173
14187
  newDigits[index] = digit;
14174
14188
  setDigits(newDigits);
14175
14189
  if (digit && index < 5) {
14176
- _optionalChain([inputRefs, 'access', _387 => _387.current, 'access', _388 => _388[index + 1], 'optionalAccess', _389 => _389.focus, 'call', _390 => _390()]);
14190
+ _optionalChain([inputRefs, 'access', _392 => _392.current, 'access', _393 => _393[index + 1], 'optionalAccess', _394 => _394.focus, 'call', _395 => _395()]);
14177
14191
  }
14178
14192
  const code = newDigits.join("");
14179
14193
  if (code.length === 6 && newDigits.every((d) => d !== "")) {
@@ -14182,7 +14196,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
14182
14196
  }, "handleChange");
14183
14197
  const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
14184
14198
  if (e.key === "Backspace" && !digits[index] && index > 0) {
14185
- _optionalChain([inputRefs, 'access', _391 => _391.current, 'access', _392 => _392[index - 1], 'optionalAccess', _393 => _393.focus, 'call', _394 => _394()]);
14199
+ _optionalChain([inputRefs, 'access', _396 => _396.current, 'access', _397 => _397[index - 1], 'optionalAccess', _398 => _398.focus, 'call', _399 => _399()]);
14186
14200
  }
14187
14201
  }, "handleKeyDown");
14188
14202
  const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
@@ -14191,7 +14205,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
14191
14205
  if (pastedData.length === 6) {
14192
14206
  const newDigits = pastedData.split("");
14193
14207
  setDigits(newDigits);
14194
- _optionalChain([inputRefs, 'access', _395 => _395.current, 'access', _396 => _396[5], 'optionalAccess', _397 => _397.focus, 'call', _398 => _398()]);
14208
+ _optionalChain([inputRefs, 'access', _400 => _400.current, 'access', _401 => _401[5], 'optionalAccess', _402 => _402.focus, 'call', _403 => _403()]);
14195
14209
  onComplete(pastedData);
14196
14210
  }
14197
14211
  }, "handlePaste");
@@ -14402,8 +14416,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
14402
14416
  try {
14403
14417
  const registrationData = await _chunkQOLVON35js.TwoFactorService.getPasskeyRegistrationOptions({
14404
14418
  id: _uuid.v4.call(void 0, ),
14405
- userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _399 => _399.email]), () => ( "")),
14406
- userDisplayName: _optionalChain([currentUser, 'optionalAccess', _400 => _400.name])
14419
+ userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _404 => _404.email]), () => ( "")),
14420
+ userDisplayName: _optionalChain([currentUser, 'optionalAccess', _405 => _405.name])
14407
14421
  });
14408
14422
  const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
14409
14423
  await _chunkQOLVON35js.TwoFactorService.verifyPasskeyRegistration({
@@ -14554,7 +14568,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
14554
14568
  const setup = await _chunkQOLVON35js.TwoFactorService.setupTotp({
14555
14569
  id: _uuid.v4.call(void 0, ),
14556
14570
  name: name.trim(),
14557
- accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _401 => _401.email]), () => ( ""))
14571
+ accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _406 => _406.email]), () => ( ""))
14558
14572
  });
14559
14573
  setQrCodeUri(setup.qrCodeUri);
14560
14574
  setAuthenticatorId(setup.authenticatorId);
@@ -14688,7 +14702,7 @@ function TwoFactorSettings() {
14688
14702
  if (isLoading) {
14689
14703
  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") }) }) });
14690
14704
  }
14691
- const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _402 => _402.isEnabled]), () => ( false));
14705
+ const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _407 => _407.isEnabled]), () => ( false));
14692
14706
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
14693
14707
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
14694
14708
  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" }),
@@ -14726,7 +14740,7 @@ function TwoFactorSettings() {
14726
14740
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
14727
14741
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
14728
14742
  ] }),
14729
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _403 => _403.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
14743
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _408 => _408.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
14730
14744
  ] }) }),
14731
14745
  !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
14732
14746
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
@@ -14904,9 +14918,9 @@ function AcceptInvitation() {
14904
14918
  });
14905
14919
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
14906
14920
  try {
14907
- if (!_optionalChain([params, 'optionalAccess', _404 => _404.code])) return;
14921
+ if (!_optionalChain([params, 'optionalAccess', _409 => _409.code])) return;
14908
14922
  const payload = {
14909
- code: _optionalChain([params, 'optionalAccess', _405 => _405.code]),
14923
+ code: _optionalChain([params, 'optionalAccess', _410 => _410.code]),
14910
14924
  password: values.password
14911
14925
  };
14912
14926
  await _chunkQOLVON35js.AuthService.acceptInvitation(payload);
@@ -15256,7 +15270,7 @@ function Logout({ storageKeys }) {
15256
15270
  const generateUrl = usePageUrlGenerator();
15257
15271
  _react.useEffect.call(void 0, () => {
15258
15272
  const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
15259
- if (_optionalChain([storageKeys, 'optionalAccess', _406 => _406.length])) {
15273
+ if (_optionalChain([storageKeys, 'optionalAccess', _411 => _411.length])) {
15260
15274
  clearClientStorage(storageKeys);
15261
15275
  }
15262
15276
  await _chunkQOLVON35js.AuthService.logout();
@@ -15279,14 +15293,14 @@ function RefreshUser() {
15279
15293
  setUser(fullUser);
15280
15294
  const token = {
15281
15295
  userId: fullUser.id,
15282
- companyId: _optionalChain([fullUser, 'access', _407 => _407.company, 'optionalAccess', _408 => _408.id]),
15296
+ companyId: _optionalChain([fullUser, 'access', _412 => _412.company, 'optionalAccess', _413 => _413.id]),
15283
15297
  roles: fullUser.roles.map((role) => role.id),
15284
- features: _nullishCoalesce(_optionalChain([fullUser, 'access', _409 => _409.company, 'optionalAccess', _410 => _410.features, 'optionalAccess', _411 => _411.map, 'call', _412 => _412((feature) => feature.id)]), () => ( [])),
15298
+ features: _nullishCoalesce(_optionalChain([fullUser, 'access', _414 => _414.company, 'optionalAccess', _415 => _415.features, 'optionalAccess', _416 => _416.map, 'call', _417 => _417((feature) => feature.id)]), () => ( [])),
15285
15299
  modules: fullUser.modules.map((module) => {
15286
15300
  return { id: module.id, permissions: module.permissions };
15287
15301
  })
15288
15302
  };
15289
- await _optionalChain([_chunkQOLVON35js.getTokenHandler.call(void 0, ), 'optionalAccess', _413 => _413.updateToken, 'call', _414 => _414(token)]);
15303
+ await _optionalChain([_chunkQOLVON35js.getTokenHandler.call(void 0, ), 'optionalAccess', _418 => _418.updateToken, 'call', _419 => _419(token)]);
15290
15304
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
15291
15305
  }
15292
15306
  }, "loadFullUser");
@@ -15350,9 +15364,9 @@ function ResetPassword() {
15350
15364
  });
15351
15365
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
15352
15366
  try {
15353
- if (!_optionalChain([params, 'optionalAccess', _415 => _415.code])) return;
15367
+ if (!_optionalChain([params, 'optionalAccess', _420 => _420.code])) return;
15354
15368
  const payload = {
15355
- code: _optionalChain([params, 'optionalAccess', _416 => _416.code]),
15369
+ code: _optionalChain([params, 'optionalAccess', _421 => _421.code]),
15356
15370
  password: values.password
15357
15371
  };
15358
15372
  await _chunkQOLVON35js.AuthService.resetPassword(payload);
@@ -15709,14 +15723,14 @@ function NotificationsList({ archived }) {
15709
15723
  ] }),
15710
15724
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
15711
15725
  ] }) }) }, i)) }), "LoadingSkeleton");
15712
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _417 => _417.data, 'optionalAccess', _418 => _418.map, 'call', _419 => _419((notification) => {
15726
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _422 => _422.data, 'optionalAccess', _423 => _423.map, 'call', _424 => _424((notification) => {
15713
15727
  const notificationData = generateNotificationData({ notification, generateUrl });
15714
15728
  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: [
15715
15729
  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" }),
15716
15730
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
15717
15731
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
15718
15732
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
15719
- actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _420 => _420.actor, 'optionalAccess', _421 => _421.name]), () => ( "")),
15733
+ actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _425 => _425.actor, 'optionalAccess', _426 => _426.name]), () => ( "")),
15720
15734
  title: notificationData.title
15721
15735
  }) }),
15722
15736
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
@@ -16066,7 +16080,7 @@ var DEFAULT_TRANSLATIONS = {
16066
16080
  invalidEmail: "Please enter a valid email address"
16067
16081
  };
16068
16082
  async function copyToClipboard(text) {
16069
- if (_optionalChain([navigator, 'access', _422 => _422.clipboard, 'optionalAccess', _423 => _423.writeText])) {
16083
+ if (_optionalChain([navigator, 'access', _427 => _427.clipboard, 'optionalAccess', _428 => _428.writeText])) {
16070
16084
  try {
16071
16085
  await navigator.clipboard.writeText(text);
16072
16086
  return true;
@@ -16108,7 +16122,7 @@ function ReferralWidget({
16108
16122
  const linkInputRef = _react.useRef.call(void 0, null);
16109
16123
  const config = _chunkUJBUJALXjs.getReferralConfig.call(void 0, );
16110
16124
  const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
16111
- const referralUrl = _optionalChain([stats, 'optionalAccess', _424 => _424.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
16125
+ const referralUrl = _optionalChain([stats, 'optionalAccess', _429 => _429.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
16112
16126
  if (!_chunkUJBUJALXjs.isReferralEnabled.call(void 0, )) {
16113
16127
  return null;
16114
16128
  }
@@ -16118,7 +16132,7 @@ function ReferralWidget({
16118
16132
  if (success) {
16119
16133
  setCopied(true);
16120
16134
  _chunkQOLVON35js.showToast.call(void 0, t.copiedMessage);
16121
- _optionalChain([onLinkCopied, 'optionalCall', _425 => _425()]);
16135
+ _optionalChain([onLinkCopied, 'optionalCall', _430 => _430()]);
16122
16136
  setTimeout(() => setCopied(false), 2e3);
16123
16137
  } else {
16124
16138
  _chunkQOLVON35js.showError.call(void 0, t.copyError);
@@ -16132,12 +16146,12 @@ function ReferralWidget({
16132
16146
  try {
16133
16147
  await sendInvite(email);
16134
16148
  _chunkQOLVON35js.showToast.call(void 0, t.inviteSent);
16135
- _optionalChain([onInviteSent, 'optionalCall', _426 => _426(email)]);
16149
+ _optionalChain([onInviteSent, 'optionalCall', _431 => _431(email)]);
16136
16150
  setEmail("");
16137
16151
  } catch (err) {
16138
16152
  const error2 = err instanceof Error ? err : new Error(t.inviteError);
16139
16153
  _chunkQOLVON35js.showError.call(void 0, error2.message);
16140
- _optionalChain([onInviteError, 'optionalCall', _427 => _427(error2)]);
16154
+ _optionalChain([onInviteError, 'optionalCall', _432 => _432(error2)]);
16141
16155
  }
16142
16156
  }, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
16143
16157
  const handleEmailKeyDown = _react.useCallback.call(void 0,
@@ -16890,7 +16904,7 @@ function OAuthClientList({
16890
16904
  OAuthClientCard,
16891
16905
  {
16892
16906
  client,
16893
- onClick: () => _optionalChain([onClientClick, 'optionalCall', _428 => _428(client)]),
16907
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _433 => _433(client)]),
16894
16908
  onEdit: onEditClick ? () => onEditClick(client) : void 0,
16895
16909
  onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
16896
16910
  },
@@ -16906,11 +16920,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
16906
16920
  function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
16907
16921
  const isEditMode = !!client;
16908
16922
  const [formState, setFormState] = _react.useState.call(void 0, {
16909
- name: _optionalChain([client, 'optionalAccess', _429 => _429.name]) || "",
16910
- description: _optionalChain([client, 'optionalAccess', _430 => _430.description]) || "",
16911
- redirectUris: _optionalChain([client, 'optionalAccess', _431 => _431.redirectUris, 'optionalAccess', _432 => _432.length]) ? client.redirectUris : [""],
16912
- allowedScopes: _optionalChain([client, 'optionalAccess', _433 => _433.allowedScopes]) || [],
16913
- isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _434 => _434.isConfidential]), () => ( true))
16923
+ name: _optionalChain([client, 'optionalAccess', _434 => _434.name]) || "",
16924
+ description: _optionalChain([client, 'optionalAccess', _435 => _435.description]) || "",
16925
+ redirectUris: _optionalChain([client, 'optionalAccess', _436 => _436.redirectUris, 'optionalAccess', _437 => _437.length]) ? client.redirectUris : [""],
16926
+ allowedScopes: _optionalChain([client, 'optionalAccess', _438 => _438.allowedScopes]) || [],
16927
+ isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _439 => _439.isConfidential]), () => ( true))
16914
16928
  });
16915
16929
  const [errors, setErrors] = _react.useState.call(void 0, {});
16916
16930
  const validate = _react.useCallback.call(void 0, () => {
@@ -17138,7 +17152,7 @@ function OAuthClientDetail({
17138
17152
  ] }),
17139
17153
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
17140
17154
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
17141
- /* @__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', _435 => _435[scope], 'optionalAccess', _436 => _436.name]) || scope }, scope)) })
17155
+ /* @__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', _440 => _440[scope], 'optionalAccess', _441 => _441.name]) || scope }, scope)) })
17142
17156
  ] }),
17143
17157
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
17144
17158
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
@@ -17282,7 +17296,7 @@ function OAuthConsentScreen({
17282
17296
  if (error || !clientInfo) {
17283
17297
  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: [
17284
17298
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
17285
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _437 => _437.message]) || "Invalid authorization request. Please try again." })
17299
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _442 => _442.message]) || "Invalid authorization request. Please try again." })
17286
17300
  ] }) }) }) });
17287
17301
  }
17288
17302
  const { client, scopes } = clientInfo;
@@ -17498,7 +17512,7 @@ function WaitlistForm({ onSuccess }) {
17498
17512
  questionnaire: values.questionnaire
17499
17513
  });
17500
17514
  setIsSuccess(true);
17501
- _optionalChain([onSuccess, 'optionalCall', _438 => _438()]);
17515
+ _optionalChain([onSuccess, 'optionalCall', _443 => _443()]);
17502
17516
  } catch (e) {
17503
17517
  errorToast({ error: e });
17504
17518
  } finally {
@@ -18121,7 +18135,7 @@ function RbacModuleTable({ module, roles, stateApi }) {
18121
18135
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: role.name }),
18122
18136
  _chunkUJBUJALXjs.ACTION_TYPES.map((actionType) => {
18123
18137
  const roleValue = stateApi.getRolePermission(role.id, module.id, actionType);
18124
- const originalMapping = _optionalChain([stateApi, 'access', _439 => _439.original, 'optionalAccess', _440 => _440.permissionMappings, 'access', _441 => _441.find, 'call', _442 => _442(
18138
+ const originalMapping = _optionalChain([stateApi, 'access', _444 => _444.original, 'optionalAccess', _445 => _445.permissionMappings, 'access', _446 => _446.find, 'call', _447 => _447(
18125
18139
  (pm) => pm.roleId === role.id && pm.moduleId === module.id
18126
18140
  )]);
18127
18141
  const originalRoleValue = originalMapping ? _nullishCoalesce(originalMapping.permissions[actionType], () => ( null)) : void 0;
@@ -18734,4 +18748,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacContainer, "RbacContainer");
18734
18748
 
18735
18749
 
18736
18750
  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;
18737
- //# sourceMappingURL=chunk-3T2Z3H7V.js.map
18751
+ //# sourceMappingURL=chunk-PA65FHXQ.js.map