@carlonicora/nextjs-jsonapi 1.83.0 → 1.85.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8415,7 +8415,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, CommonDeleter, "CommonDeleter");
8415
8415
  // src/components/forms/CommonEditorButtons.tsx
8416
8416
 
8417
8417
 
8418
- function CommonEditorButtons({ isEdit, form, disabled, setOpen }) {
8418
+ function CommonEditorButtons({ isEdit, form, disabled, setOpen, hideSubmit }) {
8419
8419
  const t = _nextintl.useTranslations.call(void 0, );
8420
8420
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex justify-end", children: [
8421
8421
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -8429,7 +8429,7 @@ function CommonEditorButtons({ isEdit, form, disabled, setOpen }) {
8429
8429
  children: t(`ui.buttons.cancel`)
8430
8430
  }
8431
8431
  ),
8432
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { type: "submit", disabled: form.formState.isSubmitting || disabled, "data-testid": `modal-button-create`, children: isEdit ? t(`ui.buttons.confirm_update`) : t(`ui.buttons.confirm_create`) })
8432
+ !hideSubmit && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { type: "submit", disabled: form.formState.isSubmitting || disabled, "data-testid": `modal-button-create`, children: isEdit ? t(`ui.buttons.confirm_update`) : t(`ui.buttons.confirm_create`) })
8433
8433
  ] });
8434
8434
  }
8435
8435
  _chunk7QVYU63Ejs.__name.call(void 0, CommonEditorButtons, "CommonEditorButtons");
@@ -8580,6 +8580,7 @@ function EditorSheet({
8580
8580
  onNavigate,
8581
8581
  size = "xl",
8582
8582
  disabled,
8583
+ hideSubmit,
8583
8584
  trigger,
8584
8585
  forceShow,
8585
8586
  onClose,
@@ -8649,7 +8650,16 @@ function EditorSheet({
8649
8650
  ] }),
8650
8651
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Form, { ...form, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: form.handleSubmit(wrappedOnSubmit), className: "flex min-h-0 flex-1 flex-col", children: [
8651
8652
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 overflow-y-auto px-6 py-4", children }),
8652
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetFooter, { className: "shrink-0 border-t px-6 py-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CommonEditorButtons, { form, setOpen: handleOpenChange, isEdit, disabled }) })
8653
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetFooter, { className: "shrink-0 border-t px-6 py-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8654
+ CommonEditorButtons,
8655
+ {
8656
+ form,
8657
+ setOpen: handleOpenChange,
8658
+ isEdit,
8659
+ disabled,
8660
+ hideSubmit
8661
+ }
8662
+ ) })
8653
8663
  ] }) })
8654
8664
  ] })
8655
8665
  ] }),
@@ -9200,7 +9210,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
9200
9210
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
9201
9211
 
9202
9212
 
9203
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-47TYA25C.js"))), {
9213
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-NHEJMFCW.js"))), {
9204
9214
  ssr: false
9205
9215
  });
9206
9216
  var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -13331,6 +13341,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, RoundPageContainerTitle, "RoundPageContaine
13331
13341
 
13332
13342
 
13333
13343
 
13344
+ var DETAILS_COOKIE_NAME = "round_page_details_state";
13345
+ var DETAILS_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
13334
13346
  function RoundPageContainer({
13335
13347
  module,
13336
13348
  id,
@@ -13342,11 +13354,19 @@ function RoundPageContainer({
13342
13354
  }) {
13343
13355
  const headerChildren = useHeaderChildren();
13344
13356
  const headerLeftContent = useHeaderLeftContent();
13345
- const [showDetails, setShowDetails] = _react.useState.call(void 0, false);
13357
+ const [showDetails, setShowDetailsState] = _react.useState.call(void 0, false);
13358
+ _react.useEffect.call(void 0, () => {
13359
+ const match = document.cookie.split("; ").find((row) => row.startsWith(`${DETAILS_COOKIE_NAME}=`));
13360
+ if (_optionalChain([match, 'optionalAccess', _352 => _352.split, 'call', _353 => _353("="), 'access', _354 => _354[1]]) === "true") setShowDetailsState(true);
13361
+ }, []);
13362
+ const setShowDetails = _react.useCallback.call(void 0, (value) => {
13363
+ setShowDetailsState(value);
13364
+ document.cookie = `${DETAILS_COOKIE_NAME}=${value}; path=/; max-age=${DETAILS_COOKIE_MAX_AGE}`;
13365
+ }, []);
13346
13366
  const searchParams = _navigation.useSearchParams.call(void 0, );
13347
13367
  const section = searchParams.get("section");
13348
13368
  const rewriteUrl = useUrlRewriter();
13349
- const initialValue = tabs ? (section && tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _352 => _352.key, 'optionalAccess', _353 => _353.name]), () => ( i.label))) === section) ? section : null) || (_nullishCoalesce(_optionalChain([tabs, 'access', _354 => _354[0], 'access', _355 => _355.key, 'optionalAccess', _356 => _356.name]), () => ( tabs[0].label))) : void 0;
13369
+ const initialValue = tabs ? (section && tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _355 => _355.key, 'optionalAccess', _356 => _356.name]), () => ( i.label))) === section) ? section : null) || (_nullishCoalesce(_optionalChain([tabs, 'access', _357 => _357[0], 'access', _358 => _358.key, 'optionalAccess', _359 => _359.name]), () => ( tabs[0].label))) : void 0;
13350
13370
  const [activeTab, setActiveTab] = _react.useState.call(void 0, initialValue);
13351
13371
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
13352
13372
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { leftContent: headerLeftContent, className: "bg-sidebar border-0", children: headerChildren }),
@@ -13374,8 +13394,8 @@ function RoundPageContainer({
13374
13394
  rewriteUrl({ page: module, id, additionalParameters: { section: key } });
13375
13395
  },
13376
13396
  children: [
13377
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { className: ``, children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: _nullishCoalesce(_optionalChain([tab, 'access', _357 => _357.key, 'optionalAccess', _358 => _358.name]), () => ( tab.label)), className: `px-4`, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
13378
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full overflow-y-auto px-4", children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: _nullishCoalesce(_optionalChain([tab, 'access', _359 => _359.key, 'optionalAccess', _360 => _360.name]), () => ( tab.label)), className: `pb-20`, children: tab.content }, tab.label)) })
13397
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { className: ``, children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: _nullishCoalesce(_optionalChain([tab, 'access', _360 => _360.key, 'optionalAccess', _361 => _361.name]), () => ( tab.label)), className: `px-4`, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
13398
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full overflow-y-auto px-4", children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: _nullishCoalesce(_optionalChain([tab, 'access', _362 => _362.key, 'optionalAccess', _363 => _363.name]), () => ( tab.label)), className: `pb-20`, children: tab.content }, tab.label)) })
13379
13399
  ]
13380
13400
  }
13381
13401
  ),
@@ -13601,10 +13621,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
13601
13621
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13602
13622
  Checkbox,
13603
13623
  {
13604
- checked: _optionalChain([params, 'access', _361 => _361.checkedIds, 'optionalAccess', _362 => _362.includes, 'call', _363 => _363(row.getValue(params.name))]) || false,
13624
+ checked: _optionalChain([params, 'access', _364 => _364.checkedIds, 'optionalAccess', _365 => _365.includes, 'call', _366 => _366(row.getValue(params.name))]) || false,
13605
13625
  onCheckedChange: (value) => {
13606
13626
  row.toggleSelected(!!value);
13607
- _optionalChain([params, 'access', _364 => _364.toggleId, 'optionalCall', _365 => _365(row.getValue(params.name))]);
13627
+ _optionalChain([params, 'access', _367 => _367.toggleId, 'optionalCall', _368 => _368(row.getValue(params.name))]);
13608
13628
  },
13609
13629
  "aria-label": "Select row"
13610
13630
  }
@@ -13663,7 +13683,7 @@ function useJsonApiGet(params) {
13663
13683
  const [response, setResponse] = _react.useState.call(void 0, null);
13664
13684
  const isMounted = _react.useRef.call(void 0, true);
13665
13685
  const fetchData = _react.useCallback.call(void 0, async () => {
13666
- if (_optionalChain([params, 'access', _366 => _366.options, 'optionalAccess', _367 => _367.enabled]) === false) return;
13686
+ if (_optionalChain([params, 'access', _369 => _369.options, 'optionalAccess', _370 => _370.enabled]) === false) return;
13667
13687
  setLoading(true);
13668
13688
  setError(null);
13669
13689
  try {
@@ -13690,9 +13710,9 @@ function useJsonApiGet(params) {
13690
13710
  setLoading(false);
13691
13711
  }
13692
13712
  }
13693
- }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _368 => _368.options, 'optionalAccess', _369 => _369.enabled])]);
13713
+ }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _371 => _371.options, 'optionalAccess', _372 => _372.enabled])]);
13694
13714
  const fetchNextPage = _react.useCallback.call(void 0, async () => {
13695
- if (!_optionalChain([response, 'optionalAccess', _370 => _370.nextPage])) return;
13715
+ if (!_optionalChain([response, 'optionalAccess', _373 => _373.nextPage])) return;
13696
13716
  setLoading(true);
13697
13717
  try {
13698
13718
  const nextResponse = await response.nextPage();
@@ -13713,7 +13733,7 @@ function useJsonApiGet(params) {
13713
13733
  }
13714
13734
  }, [response]);
13715
13735
  const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
13716
- if (!_optionalChain([response, 'optionalAccess', _371 => _371.prevPage])) return;
13736
+ if (!_optionalChain([response, 'optionalAccess', _374 => _374.prevPage])) return;
13717
13737
  setLoading(true);
13718
13738
  try {
13719
13739
  const prevResponse = await response.prevPage();
@@ -13739,15 +13759,15 @@ function useJsonApiGet(params) {
13739
13759
  return () => {
13740
13760
  isMounted.current = false;
13741
13761
  };
13742
- }, [fetchData, ..._optionalChain([params, 'access', _372 => _372.options, 'optionalAccess', _373 => _373.deps]) || []]);
13762
+ }, [fetchData, ..._optionalChain([params, 'access', _375 => _375.options, 'optionalAccess', _376 => _376.deps]) || []]);
13743
13763
  return {
13744
13764
  data,
13745
13765
  loading,
13746
13766
  error,
13747
13767
  response,
13748
13768
  refetch: fetchData,
13749
- hasNextPage: !!_optionalChain([response, 'optionalAccess', _374 => _374.next]),
13750
- hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _375 => _375.prev]),
13769
+ hasNextPage: !!_optionalChain([response, 'optionalAccess', _377 => _377.next]),
13770
+ hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _378 => _378.prev]),
13751
13771
  fetchNextPage,
13752
13772
  fetchPreviousPage
13753
13773
  };
@@ -13825,17 +13845,17 @@ function useJsonApiMutation(config) {
13825
13845
  if (apiResponse.ok) {
13826
13846
  const resultData = apiResponse.data;
13827
13847
  setData(resultData);
13828
- _optionalChain([config, 'access', _376 => _376.onSuccess, 'optionalCall', _377 => _377(resultData)]);
13848
+ _optionalChain([config, 'access', _379 => _379.onSuccess, 'optionalCall', _380 => _380(resultData)]);
13829
13849
  return resultData;
13830
13850
  } else {
13831
13851
  setError(apiResponse.error);
13832
- _optionalChain([config, 'access', _378 => _378.onError, 'optionalCall', _379 => _379(apiResponse.error)]);
13852
+ _optionalChain([config, 'access', _381 => _381.onError, 'optionalCall', _382 => _382(apiResponse.error)]);
13833
13853
  return null;
13834
13854
  }
13835
13855
  } catch (err) {
13836
13856
  const errorMessage = err instanceof Error ? err.message : "Unknown error";
13837
13857
  setError(errorMessage);
13838
- _optionalChain([config, 'access', _380 => _380.onError, 'optionalCall', _381 => _381(errorMessage)]);
13858
+ _optionalChain([config, 'access', _383 => _383.onError, 'optionalCall', _384 => _384(errorMessage)]);
13839
13859
  return null;
13840
13860
  } finally {
13841
13861
  setLoading(false);
@@ -13908,7 +13928,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
13908
13928
  {
13909
13929
  href: hasRole(_chunkZEJSPTHSjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
13910
13930
  page: "/administration",
13911
- id: _optionalChain([_chunkN4YZ45SKjs.Modules, 'access', _382 => _382.Company, 'access', _383 => _383.pageUrl, 'optionalAccess', _384 => _384.substring, 'call', _385 => _385(1)]),
13931
+ id: _optionalChain([_chunkN4YZ45SKjs.Modules, 'access', _385 => _385.Company, 'access', _386 => _386.pageUrl, 'optionalAccess', _387 => _387.substring, 'call', _388 => _388(1)]),
13912
13932
  childPage: company.id
13913
13933
  }) : generateUrl({ page: _chunkN4YZ45SKjs.Modules.Company, id: company.id }),
13914
13934
  children: row.getValue("name")
@@ -13924,7 +13944,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
13924
13944
  })
13925
13945
  };
13926
13946
  const columns = _react.useMemo.call(void 0, () => {
13927
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _386 => _386[field], 'optionalCall', _387 => _387()])).filter((col) => col !== void 0);
13947
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _389 => _389[field], 'optionalCall', _390 => _390()])).filter((col) => col !== void 0);
13928
13948
  }, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
13929
13949
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
13930
13950
  }, "useCompanyTableStructure");
@@ -13936,7 +13956,7 @@ var GRACE_DAYS = 3;
13936
13956
  var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
13937
13957
  if (!currentUser || !_chunkZEJSPTHSjs.isRolesConfigured.call(void 0, )) return false;
13938
13958
  const adminRoleId = _chunkZEJSPTHSjs.getRoleId.call(void 0, ).Administrator;
13939
- return !!_optionalChain([currentUser, 'access', _388 => _388.roles, 'optionalAccess', _389 => _389.some, 'call', _390 => _390((role) => role.id === adminRoleId)]);
13959
+ return !!_optionalChain([currentUser, 'access', _391 => _391.roles, 'optionalAccess', _392 => _392.some, 'call', _393 => _393((role) => role.id === adminRoleId)]);
13940
13960
  }, "isAdministrator");
13941
13961
  function useSubscriptionStatus() {
13942
13962
  const { company, currentUser } = useCurrentUserContext();
@@ -14053,7 +14073,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
14053
14073
  })
14054
14074
  };
14055
14075
  const columns = _react.useMemo.call(void 0, () => {
14056
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _391 => _391[field], 'optionalCall', _392 => _392()])).filter((col) => col !== void 0);
14076
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _394 => _394[field], 'optionalCall', _395 => _395()])).filter((col) => col !== void 0);
14057
14077
  }, [params.fields, fieldColumnMap, t, generateUrl]);
14058
14078
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
14059
14079
  }, "useRoleTableStructure");
@@ -14154,11 +14174,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
14154
14174
  return params.fields.map((field) => {
14155
14175
  const localHandler = fieldColumnMap[field];
14156
14176
  if (localHandler) return localHandler();
14157
- const customHandler = _optionalChain([params, 'access', _393 => _393.context, 'optionalAccess', _394 => _394.customCells, 'optionalAccess', _395 => _395[field]]);
14177
+ const customHandler = _optionalChain([params, 'access', _396 => _396.context, 'optionalAccess', _397 => _397.customCells, 'optionalAccess', _398 => _398[field]]);
14158
14178
  if (customHandler) return customHandler({ t });
14159
14179
  return void 0;
14160
14180
  }).filter((col) => col !== void 0);
14161
- }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _396 => _396.context, 'optionalAccess', _397 => _397.customCells])]);
14181
+ }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _399 => _399.context, 'optionalAccess', _400 => _400.customCells])]);
14162
14182
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
14163
14183
  }, "useContentTableStructure");
14164
14184
 
@@ -14493,7 +14513,7 @@ function ContentTableSearch({ data }) {
14493
14513
  const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
14494
14514
  if (!isExpanded) {
14495
14515
  setIsFocused(true);
14496
- setTimeout(() => _optionalChain([inputRef, 'access', _398 => _398.current, 'optionalAccess', _399 => _399.focus, 'call', _400 => _400()]), 50);
14516
+ setTimeout(() => _optionalChain([inputRef, 'access', _401 => _401.current, 'optionalAccess', _402 => _402.focus, 'call', _403 => _403()]), 50);
14497
14517
  }
14498
14518
  }, "handleSearchIconClick");
14499
14519
  const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
@@ -14559,7 +14579,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14559
14579
  props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
14560
14580
  );
14561
14581
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
14562
- data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _401 => _401.data]), () => ( EMPTY_ARRAY)),
14582
+ data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _404 => _404.data]), () => ( EMPTY_ARRAY)),
14563
14583
  fields,
14564
14584
  checkedIds,
14565
14585
  toggleId,
@@ -14628,12 +14648,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14628
14648
  ) }),
14629
14649
  table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
14630
14650
  const meta = header.column.columnDef.meta;
14631
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _402 => _402.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
14651
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _405 => _405.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
14632
14652
  }) }, headerGroup.id))
14633
14653
  ] }),
14634
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _403 => _403.rows, 'optionalAccess', _404 => _404.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
14654
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _406 => _406.rows, 'optionalAccess', _407 => _407.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
14635
14655
  const meta = cell.column.columnDef.meta;
14636
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _405 => _405.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
14656
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _408 => _408.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
14637
14657
  }) }, row.id)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "h-24 text-center", children: "No results." }) }) }),
14638
14658
  showFooter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableFooter, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-card py-4 text-right", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end space-x-2", children: [
14639
14659
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -14643,7 +14663,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14643
14663
  size: "sm",
14644
14664
  onClick: (e) => {
14645
14665
  e.preventDefault();
14646
- _optionalChain([data, 'access', _406 => _406.previous, 'optionalCall', _407 => _407(true)]);
14666
+ _optionalChain([data, 'access', _409 => _409.previous, 'optionalCall', _410 => _410(true)]);
14647
14667
  },
14648
14668
  disabled: !data.previous,
14649
14669
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
@@ -14657,7 +14677,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14657
14677
  size: "sm",
14658
14678
  onClick: (e) => {
14659
14679
  e.preventDefault();
14660
- _optionalChain([data, 'access', _408 => _408.next, 'optionalCall', _409 => _409(true)]);
14680
+ _optionalChain([data, 'access', _411 => _411.next, 'optionalCall', _412 => _412(true)]);
14661
14681
  },
14662
14682
  disabled: !data.next,
14663
14683
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
@@ -14678,7 +14698,7 @@ function ContentListGrid(props) {
14678
14698
  if (!data.next || !sentinelRef.current) return;
14679
14699
  const observer = new IntersectionObserver(
14680
14700
  (entries) => {
14681
- if (_optionalChain([entries, 'access', _410 => _410[0], 'optionalAccess', _411 => _411.isIntersecting])) _optionalChain([data, 'access', _412 => _412.next, 'optionalCall', _413 => _413()]);
14701
+ if (_optionalChain([entries, 'access', _413 => _413[0], 'optionalAccess', _414 => _414.isIntersecting])) _optionalChain([data, 'access', _415 => _415.next, 'optionalCall', _416 => _416()]);
14682
14702
  },
14683
14703
  { threshold: 0.1, rootMargin: "200px" }
14684
14704
  );
@@ -15428,7 +15448,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
15428
15448
  newDigits[index] = digit;
15429
15449
  setDigits(newDigits);
15430
15450
  if (digit && index < 5) {
15431
- _optionalChain([inputRefs, 'access', _414 => _414.current, 'access', _415 => _415[index + 1], 'optionalAccess', _416 => _416.focus, 'call', _417 => _417()]);
15451
+ _optionalChain([inputRefs, 'access', _417 => _417.current, 'access', _418 => _418[index + 1], 'optionalAccess', _419 => _419.focus, 'call', _420 => _420()]);
15432
15452
  }
15433
15453
  const code = newDigits.join("");
15434
15454
  if (code.length === 6 && newDigits.every((d) => d !== "")) {
@@ -15437,7 +15457,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
15437
15457
  }, "handleChange");
15438
15458
  const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
15439
15459
  if (e.key === "Backspace" && !digits[index] && index > 0) {
15440
- _optionalChain([inputRefs, 'access', _418 => _418.current, 'access', _419 => _419[index - 1], 'optionalAccess', _420 => _420.focus, 'call', _421 => _421()]);
15460
+ _optionalChain([inputRefs, 'access', _421 => _421.current, 'access', _422 => _422[index - 1], 'optionalAccess', _423 => _423.focus, 'call', _424 => _424()]);
15441
15461
  }
15442
15462
  }, "handleKeyDown");
15443
15463
  const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
@@ -15446,7 +15466,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
15446
15466
  if (pastedData.length === 6) {
15447
15467
  const newDigits = pastedData.split("");
15448
15468
  setDigits(newDigits);
15449
- _optionalChain([inputRefs, 'access', _422 => _422.current, 'access', _423 => _423[5], 'optionalAccess', _424 => _424.focus, 'call', _425 => _425()]);
15469
+ _optionalChain([inputRefs, 'access', _425 => _425.current, 'access', _426 => _426[5], 'optionalAccess', _427 => _427.focus, 'call', _428 => _428()]);
15450
15470
  onComplete(pastedData);
15451
15471
  }
15452
15472
  }, "handlePaste");
@@ -15657,8 +15677,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
15657
15677
  try {
15658
15678
  const registrationData = await _chunkN4YZ45SKjs.TwoFactorService.getPasskeyRegistrationOptions({
15659
15679
  id: _uuid.v4.call(void 0, ),
15660
- userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _426 => _426.email]), () => ( "")),
15661
- userDisplayName: _optionalChain([currentUser, 'optionalAccess', _427 => _427.name])
15680
+ userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _429 => _429.email]), () => ( "")),
15681
+ userDisplayName: _optionalChain([currentUser, 'optionalAccess', _430 => _430.name])
15662
15682
  });
15663
15683
  const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
15664
15684
  await _chunkN4YZ45SKjs.TwoFactorService.verifyPasskeyRegistration({
@@ -15809,7 +15829,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
15809
15829
  const setup = await _chunkN4YZ45SKjs.TwoFactorService.setupTotp({
15810
15830
  id: _uuid.v4.call(void 0, ),
15811
15831
  name: name.trim(),
15812
- accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _428 => _428.email]), () => ( ""))
15832
+ accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _431 => _431.email]), () => ( ""))
15813
15833
  });
15814
15834
  setQrCodeUri(setup.qrCodeUri);
15815
15835
  setAuthenticatorId(setup.authenticatorId);
@@ -15943,7 +15963,7 @@ function TwoFactorSettings() {
15943
15963
  if (isLoading) {
15944
15964
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground", children: t("common.loading") }) }) });
15945
15965
  }
15946
- const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _429 => _429.isEnabled]), () => ( false));
15966
+ const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _432 => _432.isEnabled]), () => ( false));
15947
15967
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
15948
15968
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
15949
15969
  isEnabled ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldCheck, { className: "h-6 w-6 text-green-600" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldAlert, { className: "h-6 w-6 text-yellow-600" }),
@@ -15981,7 +16001,7 @@ function TwoFactorSettings() {
15981
16001
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
15982
16002
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
15983
16003
  ] }),
15984
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _430 => _430.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
16004
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _433 => _433.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
15985
16005
  ] }) }),
15986
16006
  !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
15987
16007
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
@@ -16159,9 +16179,9 @@ function AcceptInvitation() {
16159
16179
  });
16160
16180
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
16161
16181
  try {
16162
- if (!_optionalChain([params, 'optionalAccess', _431 => _431.code])) return;
16182
+ if (!_optionalChain([params, 'optionalAccess', _434 => _434.code])) return;
16163
16183
  const payload = {
16164
- code: _optionalChain([params, 'optionalAccess', _432 => _432.code]),
16184
+ code: _optionalChain([params, 'optionalAccess', _435 => _435.code]),
16165
16185
  password: values.password
16166
16186
  };
16167
16187
  await _chunkN4YZ45SKjs.AuthService.acceptInvitation(payload);
@@ -16511,7 +16531,7 @@ function Logout({ storageKeys }) {
16511
16531
  const generateUrl = usePageUrlGenerator();
16512
16532
  _react.useEffect.call(void 0, () => {
16513
16533
  const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
16514
- if (_optionalChain([storageKeys, 'optionalAccess', _433 => _433.length])) {
16534
+ if (_optionalChain([storageKeys, 'optionalAccess', _436 => _436.length])) {
16515
16535
  clearClientStorage(storageKeys);
16516
16536
  }
16517
16537
  await _chunkN4YZ45SKjs.AuthService.logout();
@@ -16534,14 +16554,14 @@ function RefreshUser() {
16534
16554
  setUser(fullUser);
16535
16555
  const token = {
16536
16556
  userId: fullUser.id,
16537
- companyId: _optionalChain([fullUser, 'access', _434 => _434.company, 'optionalAccess', _435 => _435.id]),
16557
+ companyId: _optionalChain([fullUser, 'access', _437 => _437.company, 'optionalAccess', _438 => _438.id]),
16538
16558
  roles: fullUser.roles.map((role) => role.id),
16539
- features: _nullishCoalesce(_optionalChain([fullUser, 'access', _436 => _436.company, 'optionalAccess', _437 => _437.features, 'optionalAccess', _438 => _438.map, 'call', _439 => _439((feature) => feature.id)]), () => ( [])),
16559
+ features: _nullishCoalesce(_optionalChain([fullUser, 'access', _439 => _439.company, 'optionalAccess', _440 => _440.features, 'optionalAccess', _441 => _441.map, 'call', _442 => _442((feature) => feature.id)]), () => ( [])),
16540
16560
  modules: fullUser.modules.map((module) => {
16541
16561
  return { id: module.id, permissions: module.permissions };
16542
16562
  })
16543
16563
  };
16544
- await _optionalChain([_chunkN4YZ45SKjs.getTokenHandler.call(void 0, ), 'optionalAccess', _440 => _440.updateToken, 'call', _441 => _441(token)]);
16564
+ await _optionalChain([_chunkN4YZ45SKjs.getTokenHandler.call(void 0, ), 'optionalAccess', _443 => _443.updateToken, 'call', _444 => _444(token)]);
16545
16565
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
16546
16566
  }
16547
16567
  }, "loadFullUser");
@@ -16605,9 +16625,9 @@ function ResetPassword() {
16605
16625
  });
16606
16626
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
16607
16627
  try {
16608
- if (!_optionalChain([params, 'optionalAccess', _442 => _442.code])) return;
16628
+ if (!_optionalChain([params, 'optionalAccess', _445 => _445.code])) return;
16609
16629
  const payload = {
16610
- code: _optionalChain([params, 'optionalAccess', _443 => _443.code]),
16630
+ code: _optionalChain([params, 'optionalAccess', _446 => _446.code]),
16611
16631
  password: values.password
16612
16632
  };
16613
16633
  await _chunkN4YZ45SKjs.AuthService.resetPassword(payload);
@@ -16956,7 +16976,7 @@ function extractHeadings(blocks) {
16956
16976
  function processBlocks(blockArray) {
16957
16977
  for (const block of blockArray) {
16958
16978
  if (block.type === "heading") {
16959
- const level = _optionalChain([block, 'access', _444 => _444.props, 'optionalAccess', _445 => _445.level]) || 1;
16979
+ const level = _optionalChain([block, 'access', _447 => _447.props, 'optionalAccess', _448 => _448.level]) || 1;
16960
16980
  const text = extractTextFromContent(block.content);
16961
16981
  if (text.trim()) {
16962
16982
  headings.push({
@@ -17299,7 +17319,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
17299
17319
  })
17300
17320
  };
17301
17321
  const columns = _react.useMemo.call(void 0, () => {
17302
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _446 => _446[field], 'optionalCall', _447 => _447()])).filter((col) => col !== void 0);
17322
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _449 => _449[field], 'optionalCall', _450 => _450()])).filter((col) => col !== void 0);
17303
17323
  }, [params.fields, fieldColumnMap, t, generateUrl]);
17304
17324
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
17305
17325
  }, "useHowToTableStructure");
@@ -17365,7 +17385,7 @@ function HowToMultiSelector({
17365
17385
  retriever: (params) => _chunkN4YZ45SKjs.HowToService.findMany(params),
17366
17386
  module: _chunkN4YZ45SKjs.Modules.HowTo,
17367
17387
  getLabel: (howTo) => howTo.name,
17368
- excludeId: _optionalChain([currentHowTo, 'optionalAccess', _448 => _448.id]),
17388
+ excludeId: _optionalChain([currentHowTo, 'optionalAccess', _451 => _451.id]),
17369
17389
  onChange
17370
17390
  }
17371
17391
  );
@@ -17430,7 +17450,7 @@ function HowToSelector({
17430
17450
  }, "setHowTo");
17431
17451
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FormFieldWrapper, { form, name: id, label, isRequired, children: (field) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, modal: true, children: [
17432
17452
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
17433
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start rounded-md", children: field.value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _nullishCoalesce(_optionalChain([field, 'access', _449 => _449.value, 'optionalAccess', _450 => _450.name]), () => ( "")) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input text-muted-foreground flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: _nullishCoalesce(placeholder, () => ( t(`generic.search.placeholder`, { type: t(`entities.howtos`, { count: 1 }) }))) }) }) }),
17453
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start rounded-md", children: field.value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _nullishCoalesce(_optionalChain([field, 'access', _452 => _452.value, 'optionalAccess', _453 => _453.name]), () => ( "")) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input text-muted-foreground flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: _nullishCoalesce(placeholder, () => ( t(`generic.search.placeholder`, { type: t(`entities.howtos`, { count: 1 }) }))) }) }) }),
17434
17454
  field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17435
17455
  _lucidereact.CircleX,
17436
17456
  {
@@ -17785,9 +17805,9 @@ function CitationsTab({ citations, sources }) {
17785
17805
  ] }) }),
17786
17806
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
17787
17807
  const isOpen = expanded.has(chunk.id);
17788
- const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _451 => _451.get, 'call', _452 => _452(chunk.nodeId)]) : void 0;
17808
+ const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _454 => _454.get, 'call', _455 => _455(chunk.nodeId)]) : void 0;
17789
17809
  const fallbackName = chunk.nodeId ? `${_nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")))} ${chunk.nodeId.slice(0, 8)}` : _nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")));
17790
- const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _453 => _453.name]), () => ( fallbackName));
17810
+ const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _456 => _456.name]), () => ( fallbackName));
17791
17811
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
17792
17812
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
17793
17813
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -17834,7 +17854,7 @@ function ContentsTab({ citations, sources }) {
17834
17854
  for (const c of citations) {
17835
17855
  const id = c.nodeId;
17836
17856
  if (!id) continue;
17837
- const source = _optionalChain([sources, 'optionalAccess', _454 => _454.get, 'call', _455 => _455(id)]);
17857
+ const source = _optionalChain([sources, 'optionalAccess', _457 => _457.get, 'call', _458 => _458(id)]);
17838
17858
  if (!source) continue;
17839
17859
  const existing = map.get(id);
17840
17860
  if (existing) {
@@ -17899,7 +17919,7 @@ function UsersTab({ users, citations, sources }) {
17899
17919
  const generate = usePageUrlGenerator();
17900
17920
  const userMap = /* @__PURE__ */ new Map();
17901
17921
  for (const u of users) {
17902
- if (!_optionalChain([u, 'optionalAccess', _456 => _456.id])) continue;
17922
+ if (!_optionalChain([u, 'optionalAccess', _459 => _459.id])) continue;
17903
17923
  userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
17904
17924
  }
17905
17925
  if (citations && sources) {
@@ -18012,7 +18032,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
18012
18032
  }
18013
18033
  return ids.size;
18014
18034
  }, [message.citations, sources]);
18015
- const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _457 => _457.length]), () => ( 0));
18035
+ const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _460 => _460.length]), () => ( 0));
18016
18036
  const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
18017
18037
  const visibleTabs = [];
18018
18038
  if (suggestionsCount > 0) visibleTabs.push("suggested");
@@ -18071,8 +18091,8 @@ var SourcesFetcher = class extends _chunkN4YZ45SKjs.ClientAbstractService {
18071
18091
  static async findManyByIds(params) {
18072
18092
  const endpoint = new (0, _chunkN4YZ45SKjs.EndpointCreator)({ endpoint: params.module });
18073
18093
  endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
18074
- if (_optionalChain([params, 'access', _458 => _458.module, 'access', _459 => _459.inclusions, 'optionalAccess', _460 => _460.lists, 'optionalAccess', _461 => _461.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
18075
- if (_optionalChain([params, 'access', _462 => _462.module, 'access', _463 => _463.inclusions, 'optionalAccess', _464 => _464.lists, 'optionalAccess', _465 => _465.types])) endpoint.limitToType(params.module.inclusions.lists.types);
18094
+ if (_optionalChain([params, 'access', _461 => _461.module, 'access', _462 => _462.inclusions, 'optionalAccess', _463 => _463.lists, 'optionalAccess', _464 => _464.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
18095
+ if (_optionalChain([params, 'access', _465 => _465.module, 'access', _466 => _466.inclusions, 'optionalAccess', _467 => _467.lists, 'optionalAccess', _468 => _468.types])) endpoint.limitToType(params.module.inclusions.lists.types);
18076
18096
  return this.callApi({
18077
18097
  type: params.module,
18078
18098
  method: "GET" /* GET */,
@@ -18151,7 +18171,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
18151
18171
  return void 0;
18152
18172
  }
18153
18173
  })()));
18154
- if (_optionalChain([author, 'optionalAccess', _466 => _466.id])) userMap.set(author.id, author);
18174
+ if (_optionalChain([author, 'optionalAccess', _469 => _469.id])) userMap.set(author.id, author);
18155
18175
  }
18156
18176
  return Array.from(userMap.values());
18157
18177
  }, [resolved]);
@@ -18173,14 +18193,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, MessageSourcesContainer, "MessageSourcesCon
18173
18193
  function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry }) {
18174
18194
  const t = _nextintl.useTranslations.call(void 0, );
18175
18195
  const isUser = message.role === "user";
18176
- const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _467 => _467.has, 'call', _468 => _468(message.id)]);
18196
+ const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _470 => _470.has, 'call', _471 => _471(message.id)]);
18177
18197
  if (isUser) {
18178
18198
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
18179
18199
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-primary text-primary-foreground max-w-[72%] rounded-2xl rounded-br-sm px-3.5 py-2 text-sm", children: message.content }),
18180
18200
  isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
18181
18201
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
18182
18202
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
18183
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _469 => _469(message.id)]), children: t("features.assistant.retry") })
18203
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _472 => _472(message.id)]), children: t("features.assistant.retry") })
18184
18204
  ] })
18185
18205
  ] });
18186
18206
  }
@@ -18246,7 +18266,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AssistantStatusLine, "AssistantStatusLine")
18246
18266
  function AssistantThread({ messages, sending, status, onSelectFollowUp, failedMessageIds, onRetry }) {
18247
18267
  const endRef = _react.useRef.call(void 0, null);
18248
18268
  _react.useEffect.call(void 0, () => {
18249
- _optionalChain([endRef, 'access', _470 => _470.current, 'optionalAccess', _471 => _471.scrollIntoView, 'call', _472 => _472({ behavior: "smooth" })]);
18269
+ _optionalChain([endRef, 'access', _473 => _473.current, 'optionalAccess', _474 => _474.scrollIntoView, 'call', _475 => _475({ behavior: "smooth" })]);
18250
18270
  }, [messages.length, sending]);
18251
18271
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 overflow-x-hidden overflow-y-auto px-6 py-5", children: [
18252
18272
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -18274,7 +18294,7 @@ function AssistantContainer() {
18274
18294
  AssistantSidebar,
18275
18295
  {
18276
18296
  threads: ctx.threads,
18277
- activeId: _optionalChain([ctx, 'access', _473 => _473.assistant, 'optionalAccess', _474 => _474.id]),
18297
+ activeId: _optionalChain([ctx, 'access', _476 => _476.assistant, 'optionalAccess', _477 => _477.id]),
18278
18298
  onSelect: ctx.selectThread,
18279
18299
  onNew: ctx.startNew
18280
18300
  }
@@ -18367,14 +18387,14 @@ function NotificationsList({ archived }) {
18367
18387
  ] }),
18368
18388
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
18369
18389
  ] }) }) }, i)) }), "LoadingSkeleton");
18370
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _475 => _475.data, 'optionalAccess', _476 => _476.map, 'call', _477 => _477((notification) => {
18390
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _478 => _478.data, 'optionalAccess', _479 => _479.map, 'call', _480 => _480((notification) => {
18371
18391
  const notificationData = generateNotificationData({ notification, generateUrl });
18372
18392
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex w-full flex-row items-center p-2`, children: [
18373
18393
  notificationData.actor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-12 max-w-12 px-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkN4YZ45SKjs.Modules.User, id: notificationData.actor.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: notificationData.actor, className: "h-8 w-8" }) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-14 max-w-14 px-2" }),
18374
18394
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
18375
18395
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
18376
18396
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
18377
- actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _478 => _478.actor, 'optionalAccess', _479 => _479.name]), () => ( "")),
18397
+ actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _481 => _481.actor, 'optionalAccess', _482 => _482.name]), () => ( "")),
18378
18398
  title: notificationData.title
18379
18399
  }) }),
18380
18400
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
@@ -18724,7 +18744,7 @@ var DEFAULT_TRANSLATIONS = {
18724
18744
  invalidEmail: "Please enter a valid email address"
18725
18745
  };
18726
18746
  async function copyToClipboard(text) {
18727
- if (_optionalChain([navigator, 'access', _480 => _480.clipboard, 'optionalAccess', _481 => _481.writeText])) {
18747
+ if (_optionalChain([navigator, 'access', _483 => _483.clipboard, 'optionalAccess', _484 => _484.writeText])) {
18728
18748
  try {
18729
18749
  await navigator.clipboard.writeText(text);
18730
18750
  return true;
@@ -18766,7 +18786,7 @@ function ReferralWidget({
18766
18786
  const linkInputRef = _react.useRef.call(void 0, null);
18767
18787
  const config = _chunkZEJSPTHSjs.getReferralConfig.call(void 0, );
18768
18788
  const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
18769
- const referralUrl = _optionalChain([stats, 'optionalAccess', _482 => _482.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
18789
+ const referralUrl = _optionalChain([stats, 'optionalAccess', _485 => _485.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
18770
18790
  if (!_chunkZEJSPTHSjs.isReferralEnabled.call(void 0, )) {
18771
18791
  return null;
18772
18792
  }
@@ -18776,7 +18796,7 @@ function ReferralWidget({
18776
18796
  if (success) {
18777
18797
  setCopied(true);
18778
18798
  _chunkN4YZ45SKjs.showToast.call(void 0, t.copiedMessage);
18779
- _optionalChain([onLinkCopied, 'optionalCall', _483 => _483()]);
18799
+ _optionalChain([onLinkCopied, 'optionalCall', _486 => _486()]);
18780
18800
  setTimeout(() => setCopied(false), 2e3);
18781
18801
  } else {
18782
18802
  _chunkN4YZ45SKjs.showError.call(void 0, t.copyError);
@@ -18790,12 +18810,12 @@ function ReferralWidget({
18790
18810
  try {
18791
18811
  await sendInvite(email);
18792
18812
  _chunkN4YZ45SKjs.showToast.call(void 0, t.inviteSent);
18793
- _optionalChain([onInviteSent, 'optionalCall', _484 => _484(email)]);
18813
+ _optionalChain([onInviteSent, 'optionalCall', _487 => _487(email)]);
18794
18814
  setEmail("");
18795
18815
  } catch (err) {
18796
18816
  const error2 = err instanceof Error ? err : new Error(t.inviteError);
18797
18817
  _chunkN4YZ45SKjs.showError.call(void 0, error2.message);
18798
- _optionalChain([onInviteError, 'optionalCall', _485 => _485(error2)]);
18818
+ _optionalChain([onInviteError, 'optionalCall', _488 => _488(error2)]);
18799
18819
  }
18800
18820
  }, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
18801
18821
  const handleEmailKeyDown = _react.useCallback.call(void 0,
@@ -19549,7 +19569,7 @@ function OAuthClientList({
19549
19569
  OAuthClientCard,
19550
19570
  {
19551
19571
  client,
19552
- onClick: () => _optionalChain([onClientClick, 'optionalCall', _486 => _486(client)]),
19572
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _489 => _489(client)]),
19553
19573
  onEdit: onEditClick ? () => onEditClick(client) : void 0,
19554
19574
  onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
19555
19575
  },
@@ -19565,11 +19585,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
19565
19585
  function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
19566
19586
  const isEditMode = !!client;
19567
19587
  const [formState, setFormState] = _react.useState.call(void 0, {
19568
- name: _optionalChain([client, 'optionalAccess', _487 => _487.name]) || "",
19569
- description: _optionalChain([client, 'optionalAccess', _488 => _488.description]) || "",
19570
- redirectUris: _optionalChain([client, 'optionalAccess', _489 => _489.redirectUris, 'optionalAccess', _490 => _490.length]) ? client.redirectUris : [""],
19571
- allowedScopes: _optionalChain([client, 'optionalAccess', _491 => _491.allowedScopes]) || [],
19572
- isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _492 => _492.isConfidential]), () => ( true))
19588
+ name: _optionalChain([client, 'optionalAccess', _490 => _490.name]) || "",
19589
+ description: _optionalChain([client, 'optionalAccess', _491 => _491.description]) || "",
19590
+ redirectUris: _optionalChain([client, 'optionalAccess', _492 => _492.redirectUris, 'optionalAccess', _493 => _493.length]) ? client.redirectUris : [""],
19591
+ allowedScopes: _optionalChain([client, 'optionalAccess', _494 => _494.allowedScopes]) || [],
19592
+ isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _495 => _495.isConfidential]), () => ( true))
19573
19593
  });
19574
19594
  const [errors, setErrors] = _react.useState.call(void 0, {});
19575
19595
  const validate = _react.useCallback.call(void 0, () => {
@@ -19797,7 +19817,7 @@ function OAuthClientDetail({
19797
19817
  ] }),
19798
19818
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
19799
19819
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
19800
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([_chunkN4YZ45SKjs.OAUTH_SCOPE_DISPLAY, 'access', _493 => _493[scope], 'optionalAccess', _494 => _494.name]) || scope }, scope)) })
19820
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([_chunkN4YZ45SKjs.OAUTH_SCOPE_DISPLAY, 'access', _496 => _496[scope], 'optionalAccess', _497 => _497.name]) || scope }, scope)) })
19801
19821
  ] }),
19802
19822
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
19803
19823
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
@@ -19941,7 +19961,7 @@ function OAuthConsentScreen({
19941
19961
  if (error || !clientInfo) {
19942
19962
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "w-full max-w-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "py-8", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Alert, { variant: "destructive", children: [
19943
19963
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
19944
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _495 => _495.message]) || "Invalid authorization request. Please try again." })
19964
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _498 => _498.message]) || "Invalid authorization request. Please try again." })
19945
19965
  ] }) }) }) });
19946
19966
  }
19947
19967
  const { client, scopes } = clientInfo;
@@ -20157,7 +20177,7 @@ function WaitlistForm({ onSuccess }) {
20157
20177
  questionnaire: values.questionnaire
20158
20178
  });
20159
20179
  setIsSuccess(true);
20160
- _optionalChain([onSuccess, 'optionalCall', _496 => _496()]);
20180
+ _optionalChain([onSuccess, 'optionalCall', _499 => _499()]);
20161
20181
  } catch (e) {
20162
20182
  errorToast({ error: e });
20163
20183
  } finally {
@@ -20795,7 +20815,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
20795
20815
  ] }),
20796
20816
  roleIds.map((roleId) => {
20797
20817
  const roleTokens = block[roleId];
20798
- const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _497 => _497[roleId]]), () => ( roleId));
20818
+ const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _500 => _500[roleId]]), () => ( roleId));
20799
20819
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
20800
20820
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
20801
20821
  _chunkZEJSPTHSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -20832,7 +20852,7 @@ function RbacContainer() {
20832
20852
  }, []);
20833
20853
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
20834
20854
  if (!matrix) return [];
20835
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _498 => _498[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _499 => _499[b]]), () => ( b))));
20855
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _501 => _501[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _502 => _502[b]]), () => ( b))));
20836
20856
  }, [matrix, moduleNames]);
20837
20857
  const roleIds = _react.useMemo.call(void 0, () => {
20838
20858
  if (roleNames) {
@@ -20895,7 +20915,7 @@ function RbacContainer() {
20895
20915
  id === selectedModuleId && "bg-muted font-medium text-foreground",
20896
20916
  id !== selectedModuleId && "text-muted-foreground"
20897
20917
  ),
20898
- children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _500 => _500[id]]), () => ( id))
20918
+ children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _503 => _503[id]]), () => ( id))
20899
20919
  }
20900
20920
  ) }, id)) }) }),
20901
20921
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -20903,7 +20923,7 @@ function RbacContainer() {
20903
20923
  {
20904
20924
  moduleId: selectedModuleId,
20905
20925
  block: selectedBlock,
20906
- moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _501 => _501[selectedModuleId]]), () => ( selectedModuleId)),
20926
+ moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _504 => _504[selectedModuleId]]), () => ( selectedModuleId)),
20907
20927
  roleIds,
20908
20928
  roleNames,
20909
20929
  onOpenPicker: openPicker
@@ -20914,12 +20934,12 @@ function RbacContainer() {
20914
20934
  RbacPermissionPicker,
20915
20935
  {
20916
20936
  open: !!activePicker,
20917
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _502 => _502.anchor]), () => ( null)),
20937
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _505 => _505.anchor]), () => ( null)),
20918
20938
  value: activeValue,
20919
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _503 => _503.isRoleColumn]), () => ( false)),
20939
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _506 => _506.isRoleColumn]), () => ( false)),
20920
20940
  knownSegments: activeSegments,
20921
20941
  onSetValue: handleSetValue,
20922
- onClear: _optionalChain([activePicker, 'optionalAccess', _504 => _504.isRoleColumn]) ? handleClear : void 0,
20942
+ onClear: _optionalChain([activePicker, 'optionalAccess', _507 => _507.isRoleColumn]) ? handleClear : void 0,
20923
20943
  onClose: closePicker
20924
20944
  }
20925
20945
  )
@@ -20986,7 +21006,7 @@ function RbacByRoleContainer() {
20986
21006
  }, [roleNames]);
20987
21007
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
20988
21008
  if (!matrix) return [];
20989
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _505 => _505[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _506 => _506[b]]), () => ( b))));
21009
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _508 => _508[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _509 => _509[b]]), () => ( b))));
20990
21010
  }, [matrix, moduleNames]);
20991
21011
  _react.useEffect.call(void 0, () => {
20992
21012
  if (!selectedRoleId && sortedRoleIds.length > 0) {
@@ -21035,7 +21055,7 @@ function RbacByRoleContainer() {
21035
21055
  id === selectedRoleId && "bg-muted font-medium text-foreground",
21036
21056
  id !== selectedRoleId && "text-muted-foreground"
21037
21057
  ),
21038
- children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _507 => _507[id]]), () => ( id))
21058
+ children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _510 => _510[id]]), () => ( id))
21039
21059
  }
21040
21060
  ) }, id)) }) }),
21041
21061
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: sortedModuleIds.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-accent bg-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-x-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "table", { className: "w-full text-sm", children: [
@@ -21055,7 +21075,7 @@ function RbacByRoleContainer() {
21055
21075
  if (!block) return null;
21056
21076
  const defaultTokens = _nullishCoalesce(block.default, () => ( []));
21057
21077
  const roleTokens = block[selectedRoleId];
21058
- const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _508 => _508[moduleId]]), () => ( moduleId));
21078
+ const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _511 => _511[moduleId]]), () => ( moduleId));
21059
21079
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
21060
21080
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
21061
21081
  "td",
@@ -21070,7 +21090,7 @@ function RbacByRoleContainer() {
21070
21090
  _chunkZEJSPTHSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RbacPermissionCell, { value: cellValue2(defaultTokens, action) }) }, action))
21071
21091
  ] }),
21072
21092
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
21073
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _509 => _509[selectedRoleId]]), () => ( selectedRoleId)) }),
21093
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _512 => _512[selectedRoleId]]), () => ( selectedRoleId)) }),
21074
21094
  _chunkZEJSPTHSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
21075
21095
  CellButton3,
21076
21096
  {
@@ -21091,12 +21111,12 @@ function RbacByRoleContainer() {
21091
21111
  RbacPermissionPicker,
21092
21112
  {
21093
21113
  open: !!activePicker,
21094
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _510 => _510.anchor]), () => ( null)),
21114
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _513 => _513.anchor]), () => ( null)),
21095
21115
  value: activeValue,
21096
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _511 => _511.isRoleColumn]), () => ( false)),
21116
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _514 => _514.isRoleColumn]), () => ( false)),
21097
21117
  knownSegments: activeSegments,
21098
21118
  onSetValue: handleSetValue,
21099
- onClear: _optionalChain([activePicker, 'optionalAccess', _512 => _512.isRoleColumn]) ? handleClear : void 0,
21119
+ onClear: _optionalChain([activePicker, 'optionalAccess', _515 => _515.isRoleColumn]) ? handleClear : void 0,
21100
21120
  onClose: closePicker
21101
21121
  }
21102
21122
  )
@@ -21611,4 +21631,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
21611
21631
 
21612
21632
 
21613
21633
  exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce2; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.useDebounce2 = useDebounce; exports.MultipleSelector = MultipleSelector; exports.EntityAvatar = EntityAvatar; exports.errorToast = errorToast; exports.EditableAvatar = EditableAvatar; exports.TableCellAvatar = TableCellAvatar; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorTrigger = CommonEditorTrigger; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormCheckbox = FormCheckbox; exports.FormBlockNote = FormBlockNote; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.GdprConsentCheckbox = GdprConsentCheckbox; exports.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.ContentListGrid = ContentListGrid; exports.ItalianFiscalData_default = ItalianFiscalData_default; exports.ItalianFiscalDataDisplay = ItalianFiscalDataDisplay; exports.parseFiscalData = parseFiscalData; exports.FiscalDataDisplay = FiscalDataDisplay; exports.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.BackupCodesDialog = BackupCodesDialog; exports.TotpInput = TotpInput; exports.DisableTwoFactorDialog = DisableTwoFactorDialog; exports.PasskeyList = PasskeyList; exports.PasskeySetupDialog = PasskeySetupDialog; exports.TotpAuthenticatorList = TotpAuthenticatorList; exports.TotpSetupDialog = TotpSetupDialog; exports.TwoFactorSettings = TwoFactorSettings; exports.SecurityContainer = SecurityContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.PasskeyButton = PasskeyButton; exports.TwoFactorChallenge = TwoFactorChallenge; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.HowToCommandViewer = HowToCommandViewer; exports.HowToCommand = HowToCommand; exports.HowToDeleter = HowToDeleter; exports.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantContainer = AssistantContainer; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.OnboardingCard = OnboardingCard; exports.ReferralCodeCapture = ReferralCodeCapture; exports.ReferralWidget = ReferralWidget; exports.ReferralDialog = ReferralDialog; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.WaitlistQuestionnaireRenderer = WaitlistQuestionnaireRenderer; exports.WaitlistForm = WaitlistForm; exports.WaitlistHeroSection = WaitlistHeroSection; exports.WaitlistSuccessState = WaitlistSuccessState; exports.WaitlistConfirmation = WaitlistConfirmation; exports.WaitlistList = WaitlistList; exports.RbacProvider = RbacProvider; exports.useRbacContext = useRbacContext; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacContainer = RbacContainer; exports.RbacByRoleContainer = RbacByRoleContainer; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.DEFAULT_ONBOARDING_LABELS = DEFAULT_ONBOARDING_LABELS; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
21614
- //# sourceMappingURL=chunk-KWFEQXPF.js.map
21634
+ //# sourceMappingURL=chunk-UUMDUIY6.js.map