@carlonicora/nextjs-jsonapi 1.126.0 → 1.127.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.
@@ -9972,7 +9972,7 @@ FileInput.displayName = "FileInput";
9972
9972
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
9973
9973
 
9974
9974
 
9975
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-ZW6OHTBH.js"))), {
9975
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-PGTAPCQF.js"))), {
9976
9976
  ssr: false
9977
9977
  });
9978
9978
  var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -14565,16 +14565,20 @@ function RoundPageContainerTitle({
14565
14565
  }) {
14566
14566
  const { title } = useSharedContext();
14567
14567
  const isMobile = _chunkPQBKPWBYjs.useIsMobile.call(void 0, );
14568
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkPQBKPWBYjs.cn.call(void 0, `flex w-full flex-row items-center border-b p-4`, isMobile ? `justify-end` : `justify-between`), children: [
14569
- !isMobile && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full gap-x-4", children: [
14568
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkPQBKPWBYjs.cn.call(void 0, `flex w-full flex-row items-center gap-x-2 border-b p-4 justify-between`), children: [
14569
+ !isMobile ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full gap-x-4", children: [
14570
14570
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-muted-foreground flex items-center gap-x-2 text-lg font-light whitespace-nowrap", children: [
14571
14571
  title.titleActions,
14572
14572
  module && module.icon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, module.icon, { className: "text-primary h-6 w-6" }) : title.icon,
14573
14573
  title.type
14574
14574
  ] }),
14575
14575
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkPQBKPWBYjs.cn.call(void 0, "text-primary w-full text-xl font-semibold"), children: title.element })
14576
+ ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-muted-foreground flex min-w-0 items-center gap-x-2 text-base font-light", children: [
14577
+ title.titleActions,
14578
+ module && module.icon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, module.icon, { className: "text-primary h-5 w-5 shrink-0" }) : title.icon,
14579
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: title.type })
14576
14580
  ] }),
14577
- (title.functions || details) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-x-2", children: [
14581
+ (title.functions || details) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-x-2", children: [
14578
14582
  title.functions,
14579
14583
  details && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip2, { children: [
14580
14584
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -14618,7 +14622,8 @@ function RoundPageContainer({
14618
14622
  fullWidth,
14619
14623
  forceHeader,
14620
14624
  header,
14621
- layout: layout2 = "tabs"
14625
+ layout: layout2 = "tabs",
14626
+ onSectionChange
14622
14627
  }) {
14623
14628
  const headerChildren = useHeaderChildren();
14624
14629
  const headerLeftContent = useHeaderLeftContent();
@@ -14652,11 +14657,16 @@ function RoundPageContainer({
14652
14657
  const handleTabChange = _react.useCallback.call(void 0,
14653
14658
  (key) => {
14654
14659
  setActiveTab(key);
14655
- if (module && id) rewriteUrl({ page: module, id, additionalParameters: { section: key } });
14660
+ if (module && id) {
14661
+ rewriteUrl({ page: module, id, additionalParameters: { section: key } });
14662
+ } else {
14663
+ rewriteUrl({ page: window.location.pathname, additionalParameters: { section: key } });
14664
+ }
14665
+ _optionalChain([onSectionChange, 'optionalCall', _408 => _408(key)]);
14656
14666
  },
14657
- [module, id, rewriteUrl]
14667
+ [module, id, rewriteUrl, onSectionChange]
14658
14668
  );
14659
- const activeFillHeight = _optionalChain([tabs, 'optionalAccess', _408 => _408.find, 'call', _409 => _409((t) => tabValue(t) === activeTab), 'optionalAccess', _410 => _410.fillHeight]) === true;
14669
+ const activeFillHeight = _optionalChain([tabs, 'optionalAccess', _409 => _409.find, 'call', _410 => _410((t) => tabValue(t) === activeTab), 'optionalAccess', _411 => _411.fillHeight]) === true;
14660
14670
  const { ungrouped, groups } = _react.useMemo.call(void 0, () => partitionTabs(_nullishCoalesce(tabs, () => ( []))), [tabs]);
14661
14671
  const isReady = mounted && isMobile !== void 0;
14662
14672
  if (!isReady) {
@@ -14688,8 +14698,8 @@ function RoundPageContainer({
14688
14698
  {
14689
14699
  value: activeTab,
14690
14700
  onValueChange: handleTabChange,
14691
- orientation: "vertical",
14692
- className: "flex h-full min-w-0 grow overflow-hidden",
14701
+ orientation: "horizontal",
14702
+ className: "flex h-full min-w-0 grow overflow-hidden data-[orientation=horizontal]:flex-row",
14693
14703
  children: [
14694
14704
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14695
14705
  "aside",
@@ -14946,14 +14956,14 @@ function BlockNoteEditorMentionHoverCard({
14946
14956
  const entityType = target.dataset.mentionType;
14947
14957
  const alias = target.dataset.mentionAlias;
14948
14958
  setHovered((prev) => {
14949
- if (_optionalChain([prev, 'optionalAccess', _411 => _411.id]) === id && _optionalChain([prev, 'optionalAccess', _412 => _412.element]) === target) return prev;
14959
+ if (_optionalChain([prev, 'optionalAccess', _412 => _412.id]) === id && _optionalChain([prev, 'optionalAccess', _413 => _413.element]) === target) return prev;
14950
14960
  return { id, entityType, alias, element: target };
14951
14961
  });
14952
14962
  }, "handleMouseOver");
14953
14963
  const handleMouseOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
14954
14964
  const target = e.target.closest("[data-mention-id]");
14955
14965
  if (!target) return;
14956
- const related = _optionalChain([e, 'access', _413 => _413.relatedTarget, 'optionalAccess', _414 => _414.closest, 'call', _415 => _415("[data-mention-id]")]);
14966
+ const related = _optionalChain([e, 'access', _414 => _414.relatedTarget, 'optionalAccess', _415 => _415.closest, 'call', _416 => _416("[data-mention-id]")]);
14957
14967
  if (related) return;
14958
14968
  scheduleClose();
14959
14969
  }, "handleMouseOut");
@@ -14967,7 +14977,7 @@ function BlockNoteEditorMentionHoverCard({
14967
14977
  }, [containerRef, mentionResolveFn, cancelClose, scheduleClose]);
14968
14978
  if (!hovered || !mentionResolveFn) return null;
14969
14979
  const resolved = mentionResolveFn(hovered.id, hovered.entityType, hovered.alias);
14970
- if (!_optionalChain([resolved, 'optionalAccess', _416 => _416.HoverContent])) return null;
14980
+ if (!_optionalChain([resolved, 'optionalAccess', _417 => _417.HoverContent])) return null;
14971
14981
  const ContentComponent = resolved.HoverContent;
14972
14982
  const rect = hovered.element.getBoundingClientRect();
14973
14983
  return _reactdom.createPortal.call(void 0,
@@ -15010,28 +15020,28 @@ var parseMentionElement = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
15010
15020
  }, "parseMentionElement");
15011
15021
  var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (resolveFn, disableMention, nameResolver) => {
15012
15022
  const MentionExternalHTML = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
15013
- const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _417 => _417(props.id, props.entityType, props.alias)]), () => ( props.alias));
15023
+ const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _418 => _418(props.id, props.entityType, props.alias)]), () => ( props.alias));
15014
15024
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "data-mention-id": props.id, "data-mention-type": props.entityType, "data-mention-alias": props.alias, children: [
15015
15025
  "@",
15016
15026
  displayName
15017
15027
  ] });
15018
15028
  }, "MentionExternalHTML");
15019
15029
  const Mention = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function Mention2(props) {
15020
- const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _418 => _418(props.id, props.entityType, props.alias)]), () => ( props.alias));
15030
+ const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _419 => _419(props.id, props.entityType, props.alias)]), () => ( props.alias));
15021
15031
  if (disableMention) {
15022
- const resolved2 = _optionalChain([resolveFn, 'optionalCall', _419 => _419(props.id, props.entityType, displayName)]);
15023
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess', _420 => _420.url]), () => ( "#")), className: "text-primary", children: [
15032
+ const resolved2 = _optionalChain([resolveFn, 'optionalCall', _420 => _420(props.id, props.entityType, displayName)]);
15033
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess', _421 => _421.url]), () => ( "#")), className: "text-primary", children: [
15024
15034
  "@",
15025
15035
  displayName
15026
15036
  ] });
15027
15037
  }
15028
- const resolved = _optionalChain([resolveFn, 'optionalCall', _421 => _421(props.id, props.entityType, displayName)]);
15029
- if (_optionalChain([resolved, 'optionalAccess', _422 => _422.Inline])) {
15038
+ const resolved = _optionalChain([resolveFn, 'optionalCall', _422 => _422(props.id, props.entityType, displayName)]);
15039
+ if (_optionalChain([resolved, 'optionalAccess', _423 => _423.Inline])) {
15030
15040
  const Custom = resolved.Inline;
15031
15041
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Custom, { ...props, alias: displayName });
15032
15042
  }
15033
- const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _423 => _423.url]), () => ( "#"));
15034
- const handleClick = _optionalChain([resolved, 'optionalAccess', _424 => _424.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
15043
+ const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _424 => _424.url]), () => ( "#"));
15044
+ const handleClick = _optionalChain([resolved, 'optionalAccess', _425 => _425.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
15035
15045
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15036
15046
  _link2.default,
15037
15047
  {
@@ -15137,7 +15147,7 @@ function BlockNoteEditorMentionSuggestionMenu({
15137
15147
  if (!suggestionMenuComponent) return void 0;
15138
15148
  const Component2 = suggestionMenuComponent;
15139
15149
  const Wrapped = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
15140
- const isSentinelOnly = props.items.length === 1 && _optionalChain([props, 'access', _425 => _425.items, 'access', _426 => _426[0], 'optionalAccess', _427 => _427.title]) === KEEP_OPEN_SENTINEL_TITLE;
15150
+ const isSentinelOnly = props.items.length === 1 && _optionalChain([props, 'access', _426 => _426.items, 'access', _427 => _427[0], 'optionalAccess', _428 => _428.title]) === KEEP_OPEN_SENTINEL_TITLE;
15141
15151
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15142
15152
  Component2,
15143
15153
  {
@@ -15146,7 +15156,7 @@ function BlockNoteEditorMentionSuggestionMenu({
15146
15156
  selectedIndex: isSentinelOnly ? void 0 : props.selectedIndex,
15147
15157
  onItemClick: (item) => {
15148
15158
  if (item.title === KEEP_OPEN_SENTINEL_TITLE) return;
15149
- _optionalChain([props, 'access', _428 => _428.onItemClick, 'optionalCall', _429 => _429(item)]);
15159
+ _optionalChain([props, 'access', _429 => _429.onItemClick, 'optionalCall', _430 => _430(item)]);
15150
15160
  }
15151
15161
  }
15152
15162
  );
@@ -15340,10 +15350,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
15340
15350
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15341
15351
  Checkbox,
15342
15352
  {
15343
- checked: _optionalChain([params, 'access', _430 => _430.checkedIds, 'optionalAccess', _431 => _431.includes, 'call', _432 => _432(row.getValue(params.name))]) || false,
15353
+ checked: _optionalChain([params, 'access', _431 => _431.checkedIds, 'optionalAccess', _432 => _432.includes, 'call', _433 => _433(row.getValue(params.name))]) || false,
15344
15354
  onCheckedChange: (value) => {
15345
15355
  row.toggleSelected(!!value);
15346
- _optionalChain([params, 'access', _433 => _433.toggleId, 'optionalCall', _434 => _434(row.getValue(params.name))]);
15356
+ _optionalChain([params, 'access', _434 => _434.toggleId, 'optionalCall', _435 => _435(row.getValue(params.name))]);
15347
15357
  },
15348
15358
  "aria-label": "Select row"
15349
15359
  }
@@ -15402,7 +15412,7 @@ function useJsonApiGet(params) {
15402
15412
  const [response, setResponse] = _react.useState.call(void 0, null);
15403
15413
  const isMounted = _react.useRef.call(void 0, true);
15404
15414
  const fetchData = _react.useCallback.call(void 0, async () => {
15405
- if (_optionalChain([params, 'access', _435 => _435.options, 'optionalAccess', _436 => _436.enabled]) === false) return;
15415
+ if (_optionalChain([params, 'access', _436 => _436.options, 'optionalAccess', _437 => _437.enabled]) === false) return;
15406
15416
  setLoading(true);
15407
15417
  setError(null);
15408
15418
  try {
@@ -15429,9 +15439,9 @@ function useJsonApiGet(params) {
15429
15439
  setLoading(false);
15430
15440
  }
15431
15441
  }
15432
- }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _437 => _437.options, 'optionalAccess', _438 => _438.enabled])]);
15442
+ }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _438 => _438.options, 'optionalAccess', _439 => _439.enabled])]);
15433
15443
  const fetchNextPage = _react.useCallback.call(void 0, async () => {
15434
- if (!_optionalChain([response, 'optionalAccess', _439 => _439.nextPage])) return;
15444
+ if (!_optionalChain([response, 'optionalAccess', _440 => _440.nextPage])) return;
15435
15445
  setLoading(true);
15436
15446
  try {
15437
15447
  const nextResponse = await response.nextPage();
@@ -15452,7 +15462,7 @@ function useJsonApiGet(params) {
15452
15462
  }
15453
15463
  }, [response]);
15454
15464
  const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
15455
- if (!_optionalChain([response, 'optionalAccess', _440 => _440.prevPage])) return;
15465
+ if (!_optionalChain([response, 'optionalAccess', _441 => _441.prevPage])) return;
15456
15466
  setLoading(true);
15457
15467
  try {
15458
15468
  const prevResponse = await response.prevPage();
@@ -15478,15 +15488,15 @@ function useJsonApiGet(params) {
15478
15488
  return () => {
15479
15489
  isMounted.current = false;
15480
15490
  };
15481
- }, [fetchData, ..._optionalChain([params, 'access', _441 => _441.options, 'optionalAccess', _442 => _442.deps]) || []]);
15491
+ }, [fetchData, ..._optionalChain([params, 'access', _442 => _442.options, 'optionalAccess', _443 => _443.deps]) || []]);
15482
15492
  return {
15483
15493
  data,
15484
15494
  loading,
15485
15495
  error,
15486
15496
  response,
15487
15497
  refetch: fetchData,
15488
- hasNextPage: !!_optionalChain([response, 'optionalAccess', _443 => _443.next]),
15489
- hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _444 => _444.prev]),
15498
+ hasNextPage: !!_optionalChain([response, 'optionalAccess', _444 => _444.next]),
15499
+ hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _445 => _445.prev]),
15490
15500
  fetchNextPage,
15491
15501
  fetchPreviousPage
15492
15502
  };
@@ -15564,17 +15574,17 @@ function useJsonApiMutation(config) {
15564
15574
  if (apiResponse.ok) {
15565
15575
  const resultData = apiResponse.data;
15566
15576
  setData(resultData);
15567
- _optionalChain([config, 'access', _445 => _445.onSuccess, 'optionalCall', _446 => _446(resultData)]);
15577
+ _optionalChain([config, 'access', _446 => _446.onSuccess, 'optionalCall', _447 => _447(resultData)]);
15568
15578
  return resultData;
15569
15579
  } else {
15570
15580
  setError(apiResponse.error);
15571
- _optionalChain([config, 'access', _447 => _447.onError, 'optionalCall', _448 => _448(apiResponse.error)]);
15581
+ _optionalChain([config, 'access', _448 => _448.onError, 'optionalCall', _449 => _449(apiResponse.error)]);
15572
15582
  return null;
15573
15583
  }
15574
15584
  } catch (err) {
15575
15585
  const errorMessage = err instanceof Error ? err.message : "Unknown error";
15576
15586
  setError(errorMessage);
15577
- _optionalChain([config, 'access', _449 => _449.onError, 'optionalCall', _450 => _450(errorMessage)]);
15587
+ _optionalChain([config, 'access', _450 => _450.onError, 'optionalCall', _451 => _451(errorMessage)]);
15578
15588
  return null;
15579
15589
  } finally {
15580
15590
  setLoading(false);
@@ -15647,7 +15657,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
15647
15657
  {
15648
15658
  href: hasRole(_chunkJO5BLONKjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
15649
15659
  page: "/administration",
15650
- id: _optionalChain([_chunkPQBKPWBYjs.Modules, 'access', _451 => _451.Company, 'access', _452 => _452.pageUrl, 'optionalAccess', _453 => _453.substring, 'call', _454 => _454(1)]),
15660
+ id: _optionalChain([_chunkPQBKPWBYjs.Modules, 'access', _452 => _452.Company, 'access', _453 => _453.pageUrl, 'optionalAccess', _454 => _454.substring, 'call', _455 => _455(1)]),
15651
15661
  childPage: company.id
15652
15662
  }) : generateUrl({ page: _chunkPQBKPWBYjs.Modules.Company, id: company.id }),
15653
15663
  children: row.getValue("name")
@@ -15663,7 +15673,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
15663
15673
  })
15664
15674
  };
15665
15675
  const columns = _react.useMemo.call(void 0, () => {
15666
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _455 => _455[field], 'optionalCall', _456 => _456()])).filter((col) => col !== void 0);
15676
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _456 => _456[field], 'optionalCall', _457 => _457()])).filter((col) => col !== void 0);
15667
15677
  }, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
15668
15678
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
15669
15679
  }, "useCompanyTableStructure");
@@ -15675,7 +15685,7 @@ var GRACE_DAYS = 3;
15675
15685
  var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
15676
15686
  if (!currentUser || !_chunkJO5BLONKjs.isRolesConfigured.call(void 0, )) return false;
15677
15687
  const adminRoleId = _chunkJO5BLONKjs.getRoleId.call(void 0, ).Administrator;
15678
- return !!_optionalChain([currentUser, 'access', _457 => _457.roles, 'optionalAccess', _458 => _458.some, 'call', _459 => _459((role) => role.id === adminRoleId)]);
15688
+ return !!_optionalChain([currentUser, 'access', _458 => _458.roles, 'optionalAccess', _459 => _459.some, 'call', _460 => _460((role) => role.id === adminRoleId)]);
15679
15689
  }, "isAdministrator");
15680
15690
  function useSubscriptionStatus() {
15681
15691
  const { company, currentUser } = useCurrentUserContext();
@@ -15792,7 +15802,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
15792
15802
  })
15793
15803
  };
15794
15804
  const columns = _react.useMemo.call(void 0, () => {
15795
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _460 => _460[field], 'optionalCall', _461 => _461()])).filter((col) => col !== void 0);
15805
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _461 => _461[field], 'optionalCall', _462 => _462()])).filter((col) => col !== void 0);
15796
15806
  }, [params.fields, fieldColumnMap, t, generateUrl]);
15797
15807
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
15798
15808
  }, "useRoleTableStructure");
@@ -15893,11 +15903,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
15893
15903
  return params.fields.map((field) => {
15894
15904
  const localHandler = fieldColumnMap[field];
15895
15905
  if (localHandler) return localHandler();
15896
- const customHandler = _optionalChain([params, 'access', _462 => _462.context, 'optionalAccess', _463 => _463.customCells, 'optionalAccess', _464 => _464[field]]);
15906
+ const customHandler = _optionalChain([params, 'access', _463 => _463.context, 'optionalAccess', _464 => _464.customCells, 'optionalAccess', _465 => _465[field]]);
15897
15907
  if (customHandler) return customHandler({ t });
15898
15908
  return void 0;
15899
15909
  }).filter((col) => col !== void 0);
15900
- }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _465 => _465.context, 'optionalAccess', _466 => _466.customCells])]);
15910
+ }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _466 => _466.context, 'optionalAccess', _467 => _467.customCells])]);
15901
15911
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
15902
15912
  }, "useContentTableStructure");
15903
15913
 
@@ -16232,7 +16242,7 @@ function ContentTableSearch({ data }) {
16232
16242
  const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
16233
16243
  if (!isExpanded) {
16234
16244
  setIsFocused(true);
16235
- setTimeout(() => _optionalChain([inputRef, 'access', _467 => _467.current, 'optionalAccess', _468 => _468.focus, 'call', _469 => _469()]), 50);
16245
+ setTimeout(() => _optionalChain([inputRef, 'access', _468 => _468.current, 'optionalAccess', _469 => _469.focus, 'call', _470 => _470()]), 50);
16236
16246
  }
16237
16247
  }, "handleSearchIconClick");
16238
16248
  const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
@@ -16311,7 +16321,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16311
16321
  props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
16312
16322
  );
16313
16323
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
16314
- data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _470 => _470.data]), () => ( EMPTY_ARRAY)),
16324
+ data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _471 => _471.data]), () => ( EMPTY_ARRAY)),
16315
16325
  fields,
16316
16326
  checkedIds,
16317
16327
  toggleId,
@@ -16344,7 +16354,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16344
16354
  });
16345
16355
  const rowModel = tableData ? table.getRowModel() : null;
16346
16356
  const groupedRows = _react.useMemo.call(void 0, () => {
16347
- if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess', _471 => _471.rows, 'optionalAccess', _472 => _472.length])) return null;
16357
+ if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess', _472 => _472.rows, 'optionalAccess', _473 => _473.length])) return null;
16348
16358
  const groupMap = /* @__PURE__ */ new Map();
16349
16359
  for (const row of rowModel.rows) {
16350
16360
  const keys = getGroupKeys(row.original, props.groupBy);
@@ -16400,10 +16410,10 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16400
16410
  ) }),
16401
16411
  table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
16402
16412
  const meta = header.column.columnDef.meta;
16403
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _473 => _473.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
16413
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _474 => _474.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
16404
16414
  }) }, headerGroup.id))
16405
16415
  ] }),
16406
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _474 => _474.rows, 'optionalAccess', _475 => _475.length]) ? groupedRows ? groupedRows.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React.default.Fragment, { children: [
16416
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _475 => _475.rows, 'optionalAccess', _476 => _476.length]) ? groupedRows ? groupedRows.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React.default.Fragment, { children: [
16407
16417
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
16408
16418
  TableCell,
16409
16419
  {
@@ -16414,11 +16424,11 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16414
16424
  ) }),
16415
16425
  group.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
16416
16426
  const meta = cell.column.columnDef.meta;
16417
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _476 => _476.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
16427
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _477 => _477.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
16418
16428
  }) }, row.id))
16419
16429
  ] }, group.groupKey)) : rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
16420
16430
  const meta = cell.column.columnDef.meta;
16421
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _477 => _477.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
16431
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _478 => _478.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
16422
16432
  }) }, 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: _nullishCoalesce(props.emptyState, () => ( "No results.")) }) }) }),
16423
16433
  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: [
16424
16434
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -16428,7 +16438,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16428
16438
  size: "sm",
16429
16439
  onClick: (e) => {
16430
16440
  e.preventDefault();
16431
- _optionalChain([data, 'access', _478 => _478.previous, 'optionalCall', _479 => _479(true)]);
16441
+ _optionalChain([data, 'access', _479 => _479.previous, 'optionalCall', _480 => _480(true)]);
16432
16442
  },
16433
16443
  disabled: !data.previous,
16434
16444
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
@@ -16442,7 +16452,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16442
16452
  size: "sm",
16443
16453
  onClick: (e) => {
16444
16454
  e.preventDefault();
16445
- _optionalChain([data, 'access', _480 => _480.next, 'optionalCall', _481 => _481(true)]);
16455
+ _optionalChain([data, 'access', _481 => _481.next, 'optionalCall', _482 => _482(true)]);
16446
16456
  },
16447
16457
  disabled: !data.next,
16448
16458
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
@@ -16463,7 +16473,7 @@ function ContentListGrid(props) {
16463
16473
  if (!data.next || !sentinelRef.current) return;
16464
16474
  const observer = new IntersectionObserver(
16465
16475
  (entries) => {
16466
- if (_optionalChain([entries, 'access', _482 => _482[0], 'optionalAccess', _483 => _483.isIntersecting])) _optionalChain([data, 'access', _484 => _484.next, 'optionalCall', _485 => _485()]);
16476
+ if (_optionalChain([entries, 'access', _483 => _483[0], 'optionalAccess', _484 => _484.isIntersecting])) _optionalChain([data, 'access', _485 => _485.next, 'optionalCall', _486 => _486()]);
16467
16477
  },
16468
16478
  { threshold: 0.1, rootMargin: "200px" }
16469
16479
  );
@@ -17301,7 +17311,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
17301
17311
  newDigits[index] = digit;
17302
17312
  setDigits(newDigits);
17303
17313
  if (digit && index < 5) {
17304
- _optionalChain([inputRefs, 'access', _486 => _486.current, 'access', _487 => _487[index + 1], 'optionalAccess', _488 => _488.focus, 'call', _489 => _489()]);
17314
+ _optionalChain([inputRefs, 'access', _487 => _487.current, 'access', _488 => _488[index + 1], 'optionalAccess', _489 => _489.focus, 'call', _490 => _490()]);
17305
17315
  }
17306
17316
  const code = newDigits.join("");
17307
17317
  if (code.length === 6 && newDigits.every((d) => d !== "")) {
@@ -17310,7 +17320,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
17310
17320
  }, "handleChange");
17311
17321
  const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
17312
17322
  if (e.key === "Backspace" && !digits[index] && index > 0) {
17313
- _optionalChain([inputRefs, 'access', _490 => _490.current, 'access', _491 => _491[index - 1], 'optionalAccess', _492 => _492.focus, 'call', _493 => _493()]);
17323
+ _optionalChain([inputRefs, 'access', _491 => _491.current, 'access', _492 => _492[index - 1], 'optionalAccess', _493 => _493.focus, 'call', _494 => _494()]);
17314
17324
  }
17315
17325
  }, "handleKeyDown");
17316
17326
  const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
@@ -17319,7 +17329,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
17319
17329
  if (pastedData.length === 6) {
17320
17330
  const newDigits = pastedData.split("");
17321
17331
  setDigits(newDigits);
17322
- _optionalChain([inputRefs, 'access', _494 => _494.current, 'access', _495 => _495[5], 'optionalAccess', _496 => _496.focus, 'call', _497 => _497()]);
17332
+ _optionalChain([inputRefs, 'access', _495 => _495.current, 'access', _496 => _496[5], 'optionalAccess', _497 => _497.focus, 'call', _498 => _498()]);
17323
17333
  onComplete(pastedData);
17324
17334
  }
17325
17335
  }, "handlePaste");
@@ -17530,8 +17540,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
17530
17540
  try {
17531
17541
  const registrationData = await _chunkPQBKPWBYjs.TwoFactorService.getPasskeyRegistrationOptions({
17532
17542
  id: _uuid.v4.call(void 0, ),
17533
- userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _498 => _498.email]), () => ( "")),
17534
- userDisplayName: _optionalChain([currentUser, 'optionalAccess', _499 => _499.name])
17543
+ userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _499 => _499.email]), () => ( "")),
17544
+ userDisplayName: _optionalChain([currentUser, 'optionalAccess', _500 => _500.name])
17535
17545
  });
17536
17546
  const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
17537
17547
  await _chunkPQBKPWBYjs.TwoFactorService.verifyPasskeyRegistration({
@@ -17682,7 +17692,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
17682
17692
  const setup = await _chunkPQBKPWBYjs.TwoFactorService.setupTotp({
17683
17693
  id: _uuid.v4.call(void 0, ),
17684
17694
  name: name.trim(),
17685
- accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _500 => _500.email]), () => ( ""))
17695
+ accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _501 => _501.email]), () => ( ""))
17686
17696
  });
17687
17697
  setQrCodeUri(setup.qrCodeUri);
17688
17698
  setAuthenticatorId(setup.authenticatorId);
@@ -17816,7 +17826,7 @@ function TwoFactorSettings() {
17816
17826
  if (isLoading) {
17817
17827
  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") }) }) });
17818
17828
  }
17819
- const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _501 => _501.isEnabled]), () => ( false));
17829
+ const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _502 => _502.isEnabled]), () => ( false));
17820
17830
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
17821
17831
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
17822
17832
  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" }),
@@ -17854,7 +17864,7 @@ function TwoFactorSettings() {
17854
17864
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
17855
17865
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
17856
17866
  ] }),
17857
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _502 => _502.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
17867
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _503 => _503.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
17858
17868
  ] }) }),
17859
17869
  !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
17860
17870
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
@@ -18032,9 +18042,9 @@ function AcceptInvitation() {
18032
18042
  });
18033
18043
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
18034
18044
  try {
18035
- if (!_optionalChain([params, 'optionalAccess', _503 => _503.code])) return;
18045
+ if (!_optionalChain([params, 'optionalAccess', _504 => _504.code])) return;
18036
18046
  const payload = {
18037
- code: _optionalChain([params, 'optionalAccess', _504 => _504.code]),
18047
+ code: _optionalChain([params, 'optionalAccess', _505 => _505.code]),
18038
18048
  password: values.password
18039
18049
  };
18040
18050
  await _chunkPQBKPWBYjs.AuthService.acceptInvitation(payload);
@@ -18384,7 +18394,7 @@ function Logout({ storageKeys }) {
18384
18394
  const generateUrl = usePageUrlGenerator();
18385
18395
  _react.useEffect.call(void 0, () => {
18386
18396
  const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
18387
- if (_optionalChain([storageKeys, 'optionalAccess', _505 => _505.length])) {
18397
+ if (_optionalChain([storageKeys, 'optionalAccess', _506 => _506.length])) {
18388
18398
  clearClientStorage(storageKeys);
18389
18399
  }
18390
18400
  await _chunkPQBKPWBYjs.AuthService.logout();
@@ -18407,14 +18417,14 @@ function RefreshUser() {
18407
18417
  setUser(fullUser);
18408
18418
  const token = {
18409
18419
  userId: fullUser.id,
18410
- companyId: _optionalChain([fullUser, 'access', _506 => _506.company, 'optionalAccess', _507 => _507.id]),
18420
+ companyId: _optionalChain([fullUser, 'access', _507 => _507.company, 'optionalAccess', _508 => _508.id]),
18411
18421
  roles: fullUser.roles.map((role) => role.id),
18412
- features: _nullishCoalesce(_optionalChain([fullUser, 'access', _508 => _508.company, 'optionalAccess', _509 => _509.features, 'optionalAccess', _510 => _510.map, 'call', _511 => _511((feature) => feature.id)]), () => ( [])),
18422
+ features: _nullishCoalesce(_optionalChain([fullUser, 'access', _509 => _509.company, 'optionalAccess', _510 => _510.features, 'optionalAccess', _511 => _511.map, 'call', _512 => _512((feature) => feature.id)]), () => ( [])),
18413
18423
  modules: fullUser.modules.map((module) => {
18414
18424
  return { id: module.id, permissions: module.permissions };
18415
18425
  })
18416
18426
  };
18417
- await _optionalChain([_chunkPQBKPWBYjs.getTokenHandler.call(void 0, ), 'optionalAccess', _512 => _512.updateToken, 'call', _513 => _513(token)]);
18427
+ await _optionalChain([_chunkPQBKPWBYjs.getTokenHandler.call(void 0, ), 'optionalAccess', _513 => _513.updateToken, 'call', _514 => _514(token)]);
18418
18428
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
18419
18429
  }
18420
18430
  }, "loadFullUser");
@@ -18478,9 +18488,9 @@ function ResetPassword() {
18478
18488
  });
18479
18489
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
18480
18490
  try {
18481
- if (!_optionalChain([params, 'optionalAccess', _514 => _514.code])) return;
18491
+ if (!_optionalChain([params, 'optionalAccess', _515 => _515.code])) return;
18482
18492
  const payload = {
18483
- code: _optionalChain([params, 'optionalAccess', _515 => _515.code]),
18493
+ code: _optionalChain([params, 'optionalAccess', _516 => _516.code]),
18484
18494
  password: values.password
18485
18495
  };
18486
18496
  await _chunkPQBKPWBYjs.AuthService.resetPassword(payload);
@@ -18829,7 +18839,7 @@ function extractHeadings(blocks) {
18829
18839
  function processBlocks(blockArray) {
18830
18840
  for (const block of blockArray) {
18831
18841
  if (block.type === "heading") {
18832
- const level = _optionalChain([block, 'access', _516 => _516.props, 'optionalAccess', _517 => _517.level]) || 1;
18842
+ const level = _optionalChain([block, 'access', _517 => _517.props, 'optionalAccess', _518 => _518.level]) || 1;
18833
18843
  const text = extractTextFromContent(block.content);
18834
18844
  if (text.trim()) {
18835
18845
  headings.push({
@@ -19172,7 +19182,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
19172
19182
  })
19173
19183
  };
19174
19184
  const columns = _react.useMemo.call(void 0, () => {
19175
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _518 => _518[field], 'optionalCall', _519 => _519()])).filter((col) => col !== void 0);
19185
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _519 => _519[field], 'optionalCall', _520 => _520()])).filter((col) => col !== void 0);
19176
19186
  }, [params.fields, fieldColumnMap, t, generateUrl]);
19177
19187
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
19178
19188
  }, "useHowToTableStructure");
@@ -19271,7 +19281,7 @@ function HowToSelector({
19271
19281
  }, "setHowTo");
19272
19282
  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: [
19273
19283
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
19274
- /* @__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', _520 => _520.value, 'optionalAccess', _521 => _521.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 }) }))) }) }) }),
19284
+ /* @__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', _521 => _521.value, 'optionalAccess', _522 => _522.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 }) }))) }) }) }),
19275
19285
  field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
19276
19286
  _lucidereact.CircleX,
19277
19287
  {
@@ -19640,9 +19650,9 @@ function CitationsTab({ citations, sources }) {
19640
19650
  ] }) }),
19641
19651
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
19642
19652
  const isOpen = expanded.has(chunk.id);
19643
- const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _522 => _522.get, 'call', _523 => _523(chunk.nodeId)]) : void 0;
19653
+ const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _523 => _523.get, 'call', _524 => _524(chunk.nodeId)]) : void 0;
19644
19654
  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")));
19645
- const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _524 => _524.name]), () => ( fallbackName));
19655
+ const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _525 => _525.name]), () => ( fallbackName));
19646
19656
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
19647
19657
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
19648
19658
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -19689,7 +19699,7 @@ function ContentsTab({ citations, sources }) {
19689
19699
  for (const c of citations) {
19690
19700
  const id = c.nodeId;
19691
19701
  if (!id) continue;
19692
- const source = _optionalChain([sources, 'optionalAccess', _525 => _525.get, 'call', _526 => _526(id)]);
19702
+ const source = _optionalChain([sources, 'optionalAccess', _526 => _526.get, 'call', _527 => _527(id)]);
19693
19703
  if (!source) continue;
19694
19704
  const existing = map.get(id);
19695
19705
  if (existing) {
@@ -19756,7 +19766,7 @@ function UsersTab({ users, citations, sources }) {
19756
19766
  const generate = usePageUrlGenerator();
19757
19767
  const userMap = /* @__PURE__ */ new Map();
19758
19768
  for (const u of users) {
19759
- if (!_optionalChain([u, 'optionalAccess', _527 => _527.id])) continue;
19769
+ if (!_optionalChain([u, 'optionalAccess', _528 => _528.id])) continue;
19760
19770
  userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
19761
19771
  }
19762
19772
  if (citations && sources) {
@@ -19861,7 +19871,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
19861
19871
  }
19862
19872
  return ids.size;
19863
19873
  }, [message.citations, sources]);
19864
- const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _528 => _528.length]), () => ( 0));
19874
+ const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _529 => _529.length]), () => ( 0));
19865
19875
  const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
19866
19876
  const visibleTabs = [];
19867
19877
  if (suggestionsCount > 0) visibleTabs.push("suggested");
@@ -19921,8 +19931,8 @@ var SourcesFetcher = class extends _chunkPQBKPWBYjs.ClientAbstractService {
19921
19931
  const endpoint = new (0, _chunkPQBKPWBYjs.EndpointCreator)({ endpoint: params.module });
19922
19932
  endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
19923
19933
  endpoint.addAdditionalParam("fetchAll", "true");
19924
- if (_optionalChain([params, 'access', _529 => _529.module, 'access', _530 => _530.inclusions, 'optionalAccess', _531 => _531.lists, 'optionalAccess', _532 => _532.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
19925
- if (_optionalChain([params, 'access', _533 => _533.module, 'access', _534 => _534.inclusions, 'optionalAccess', _535 => _535.lists, 'optionalAccess', _536 => _536.types])) endpoint.limitToType(params.module.inclusions.lists.types);
19934
+ if (_optionalChain([params, 'access', _530 => _530.module, 'access', _531 => _531.inclusions, 'optionalAccess', _532 => _532.lists, 'optionalAccess', _533 => _533.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
19935
+ if (_optionalChain([params, 'access', _534 => _534.module, 'access', _535 => _535.inclusions, 'optionalAccess', _536 => _536.lists, 'optionalAccess', _537 => _537.types])) endpoint.limitToType(params.module.inclusions.lists.types);
19926
19936
  return this.callApi({
19927
19937
  type: params.module,
19928
19938
  method: "GET" /* GET */,
@@ -20001,7 +20011,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
20001
20011
  return void 0;
20002
20012
  }
20003
20013
  })()));
20004
- if (_optionalChain([author, 'optionalAccess', _537 => _537.id])) userMap.set(author.id, author);
20014
+ if (_optionalChain([author, 'optionalAccess', _538 => _538.id])) userMap.set(author.id, author);
20005
20015
  }
20006
20016
  return Array.from(userMap.values());
20007
20017
  }, [resolved]);
@@ -20030,14 +20040,14 @@ function MessageItem({
20030
20040
  }) {
20031
20041
  const t = _nextintl.useTranslations.call(void 0, );
20032
20042
  const isUser = message.role === "user";
20033
- const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _538 => _538.has, 'call', _539 => _539(message.id)]);
20043
+ const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _539 => _539.has, 'call', _540 => _540(message.id)]);
20034
20044
  if (isUser) {
20035
20045
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
20036
20046
  /* @__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 }),
20037
20047
  isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
20038
20048
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
20039
20049
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
20040
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _540 => _540(message.id)]), children: t("features.assistant.retry") })
20050
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _541 => _541(message.id)]), children: t("features.assistant.retry") })
20041
20051
  ] })
20042
20052
  ] });
20043
20053
  }
@@ -20113,7 +20123,7 @@ function AssistantThread({
20113
20123
  }) {
20114
20124
  const endRef = _react.useRef.call(void 0, null);
20115
20125
  _react.useEffect.call(void 0, () => {
20116
- _optionalChain([endRef, 'access', _541 => _541.current, 'optionalAccess', _542 => _542.scrollIntoView, 'call', _543 => _543({ behavior: "smooth" })]);
20126
+ _optionalChain([endRef, 'access', _542 => _542.current, 'optionalAccess', _543 => _543.scrollIntoView, 'call', _544 => _544({ behavior: "smooth" })]);
20117
20127
  }, [messages.length, sending]);
20118
20128
  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: [
20119
20129
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -20142,7 +20152,7 @@ function AssistantContainer({ renderApprovalAction } = {}) {
20142
20152
  AssistantSidebar,
20143
20153
  {
20144
20154
  threads: ctx.threads,
20145
- activeId: _optionalChain([ctx, 'access', _544 => _544.assistant, 'optionalAccess', _545 => _545.id]),
20155
+ activeId: _optionalChain([ctx, 'access', _545 => _545.assistant, 'optionalAccess', _546 => _546.id]),
20146
20156
  onSelect: ctx.selectThread,
20147
20157
  onNew: ctx.startNew
20148
20158
  }
@@ -20243,14 +20253,14 @@ function NotificationsList({ archived }) {
20243
20253
  ] }),
20244
20254
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
20245
20255
  ] }) }) }, i)) }), "LoadingSkeleton");
20246
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _546 => _546.data, 'optionalAccess', _547 => _547.map, 'call', _548 => _548((notification) => {
20256
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _547 => _547.data, 'optionalAccess', _548 => _548.map, 'call', _549 => _549((notification) => {
20247
20257
  const notificationData = generateNotificationData({ notification, generateUrl });
20248
20258
  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: [
20249
20259
  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: _chunkPQBKPWBYjs.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" }),
20250
20260
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
20251
20261
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
20252
20262
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
20253
- actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _549 => _549.actor, 'optionalAccess', _550 => _550.name]), () => ( "")),
20263
+ actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _550 => _550.actor, 'optionalAccess', _551 => _551.name]), () => ( "")),
20254
20264
  title: notificationData.title
20255
20265
  }) }),
20256
20266
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
@@ -20596,7 +20606,7 @@ var DEFAULT_TRANSLATIONS = {
20596
20606
  invalidEmail: "Please enter a valid email address"
20597
20607
  };
20598
20608
  async function copyToClipboard(text) {
20599
- if (_optionalChain([navigator, 'access', _551 => _551.clipboard, 'optionalAccess', _552 => _552.writeText])) {
20609
+ if (_optionalChain([navigator, 'access', _552 => _552.clipboard, 'optionalAccess', _553 => _553.writeText])) {
20600
20610
  try {
20601
20611
  await navigator.clipboard.writeText(text);
20602
20612
  return true;
@@ -20638,7 +20648,7 @@ function ReferralWidget({
20638
20648
  const linkInputRef = _react.useRef.call(void 0, null);
20639
20649
  const config = _chunkJO5BLONKjs.getReferralConfig.call(void 0, );
20640
20650
  const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
20641
- const referralUrl = _optionalChain([stats, 'optionalAccess', _553 => _553.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
20651
+ const referralUrl = _optionalChain([stats, 'optionalAccess', _554 => _554.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
20642
20652
  if (!_chunkJO5BLONKjs.isReferralEnabled.call(void 0, )) {
20643
20653
  return null;
20644
20654
  }
@@ -20648,7 +20658,7 @@ function ReferralWidget({
20648
20658
  if (success) {
20649
20659
  setCopied(true);
20650
20660
  _chunkPQBKPWBYjs.showToast.call(void 0, t.copiedMessage);
20651
- _optionalChain([onLinkCopied, 'optionalCall', _554 => _554()]);
20661
+ _optionalChain([onLinkCopied, 'optionalCall', _555 => _555()]);
20652
20662
  setTimeout(() => setCopied(false), 2e3);
20653
20663
  } else {
20654
20664
  _chunkPQBKPWBYjs.showError.call(void 0, t.copyError);
@@ -20662,12 +20672,12 @@ function ReferralWidget({
20662
20672
  try {
20663
20673
  await sendInvite(email);
20664
20674
  _chunkPQBKPWBYjs.showToast.call(void 0, t.inviteSent);
20665
- _optionalChain([onInviteSent, 'optionalCall', _555 => _555(email)]);
20675
+ _optionalChain([onInviteSent, 'optionalCall', _556 => _556(email)]);
20666
20676
  setEmail("");
20667
20677
  } catch (err) {
20668
20678
  const error2 = err instanceof Error ? err : new Error(t.inviteError);
20669
20679
  _chunkPQBKPWBYjs.showError.call(void 0, error2.message);
20670
- _optionalChain([onInviteError, 'optionalCall', _556 => _556(error2)]);
20680
+ _optionalChain([onInviteError, 'optionalCall', _557 => _557(error2)]);
20671
20681
  }
20672
20682
  }, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
20673
20683
  const handleEmailKeyDown = _react.useCallback.call(void 0,
@@ -21421,7 +21431,7 @@ function OAuthClientList({
21421
21431
  OAuthClientCard,
21422
21432
  {
21423
21433
  client,
21424
- onClick: () => _optionalChain([onClientClick, 'optionalCall', _557 => _557(client)]),
21434
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _558 => _558(client)]),
21425
21435
  onEdit: onEditClick ? () => onEditClick(client) : void 0,
21426
21436
  onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
21427
21437
  },
@@ -21437,11 +21447,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
21437
21447
  function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
21438
21448
  const isEditMode = !!client;
21439
21449
  const [formState, setFormState] = _react.useState.call(void 0, {
21440
- name: _optionalChain([client, 'optionalAccess', _558 => _558.name]) || "",
21441
- description: _optionalChain([client, 'optionalAccess', _559 => _559.description]) || "",
21442
- redirectUris: _optionalChain([client, 'optionalAccess', _560 => _560.redirectUris, 'optionalAccess', _561 => _561.length]) ? client.redirectUris : [""],
21443
- allowedScopes: _optionalChain([client, 'optionalAccess', _562 => _562.allowedScopes]) || [],
21444
- isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _563 => _563.isConfidential]), () => ( true))
21450
+ name: _optionalChain([client, 'optionalAccess', _559 => _559.name]) || "",
21451
+ description: _optionalChain([client, 'optionalAccess', _560 => _560.description]) || "",
21452
+ redirectUris: _optionalChain([client, 'optionalAccess', _561 => _561.redirectUris, 'optionalAccess', _562 => _562.length]) ? client.redirectUris : [""],
21453
+ allowedScopes: _optionalChain([client, 'optionalAccess', _563 => _563.allowedScopes]) || [],
21454
+ isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _564 => _564.isConfidential]), () => ( true))
21445
21455
  });
21446
21456
  const [errors, setErrors] = _react.useState.call(void 0, {});
21447
21457
  const validate = _react.useCallback.call(void 0, () => {
@@ -21669,7 +21679,7 @@ function OAuthClientDetail({
21669
21679
  ] }),
21670
21680
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
21671
21681
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
21672
- /* @__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([_chunkPQBKPWBYjs.OAUTH_SCOPE_DISPLAY, 'access', _564 => _564[scope], 'optionalAccess', _565 => _565.name]) || scope }, scope)) })
21682
+ /* @__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([_chunkPQBKPWBYjs.OAUTH_SCOPE_DISPLAY, 'access', _565 => _565[scope], 'optionalAccess', _566 => _566.name]) || scope }, scope)) })
21673
21683
  ] }),
21674
21684
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
21675
21685
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
@@ -21813,7 +21823,7 @@ function OAuthConsentScreen({
21813
21823
  if (error || !clientInfo) {
21814
21824
  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: [
21815
21825
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
21816
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _566 => _566.message]) || "Invalid authorization request. Please try again." })
21826
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _567 => _567.message]) || "Invalid authorization request. Please try again." })
21817
21827
  ] }) }) }) });
21818
21828
  }
21819
21829
  const { client, scopes } = clientInfo;
@@ -22029,7 +22039,7 @@ function WaitlistForm({ onSuccess }) {
22029
22039
  questionnaire: values.questionnaire
22030
22040
  });
22031
22041
  setIsSuccess(true);
22032
- _optionalChain([onSuccess, 'optionalCall', _567 => _567()]);
22042
+ _optionalChain([onSuccess, 'optionalCall', _568 => _568()]);
22033
22043
  } catch (e) {
22034
22044
  errorToast({ error: e });
22035
22045
  } finally {
@@ -22667,7 +22677,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
22667
22677
  ] }),
22668
22678
  roleIds.map((roleId) => {
22669
22679
  const roleTokens = block[roleId];
22670
- const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _568 => _568[roleId]]), () => ( roleId));
22680
+ const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _569 => _569[roleId]]), () => ( roleId));
22671
22681
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
22672
22682
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
22673
22683
  _chunkJO5BLONKjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -22704,7 +22714,7 @@ function RbacContainer() {
22704
22714
  }, []);
22705
22715
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
22706
22716
  if (!matrix) return [];
22707
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _569 => _569[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _570 => _570[b]]), () => ( b))));
22717
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _570 => _570[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _571 => _571[b]]), () => ( b))));
22708
22718
  }, [matrix, moduleNames]);
22709
22719
  const roleIds = _react.useMemo.call(void 0, () => {
22710
22720
  if (roleNames) {
@@ -22767,7 +22777,7 @@ function RbacContainer() {
22767
22777
  id === selectedModuleId && "bg-muted font-medium text-foreground",
22768
22778
  id !== selectedModuleId && "text-muted-foreground"
22769
22779
  ),
22770
- children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _571 => _571[id]]), () => ( id))
22780
+ children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _572 => _572[id]]), () => ( id))
22771
22781
  }
22772
22782
  ) }, id)) }) }),
22773
22783
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -22775,7 +22785,7 @@ function RbacContainer() {
22775
22785
  {
22776
22786
  moduleId: selectedModuleId,
22777
22787
  block: selectedBlock,
22778
- moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _572 => _572[selectedModuleId]]), () => ( selectedModuleId)),
22788
+ moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _573 => _573[selectedModuleId]]), () => ( selectedModuleId)),
22779
22789
  roleIds,
22780
22790
  roleNames,
22781
22791
  onOpenPicker: openPicker
@@ -22786,12 +22796,12 @@ function RbacContainer() {
22786
22796
  RbacPermissionPicker,
22787
22797
  {
22788
22798
  open: !!activePicker,
22789
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _573 => _573.anchor]), () => ( null)),
22799
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _574 => _574.anchor]), () => ( null)),
22790
22800
  value: activeValue,
22791
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _574 => _574.isRoleColumn]), () => ( false)),
22801
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _575 => _575.isRoleColumn]), () => ( false)),
22792
22802
  knownSegments: activeSegments,
22793
22803
  onSetValue: handleSetValue,
22794
- onClear: _optionalChain([activePicker, 'optionalAccess', _575 => _575.isRoleColumn]) ? handleClear : void 0,
22804
+ onClear: _optionalChain([activePicker, 'optionalAccess', _576 => _576.isRoleColumn]) ? handleClear : void 0,
22795
22805
  onClose: closePicker
22796
22806
  }
22797
22807
  )
@@ -22858,7 +22868,7 @@ function RbacByRoleContainer() {
22858
22868
  }, [roleNames]);
22859
22869
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
22860
22870
  if (!matrix) return [];
22861
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _576 => _576[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _577 => _577[b]]), () => ( b))));
22871
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _577 => _577[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _578 => _578[b]]), () => ( b))));
22862
22872
  }, [matrix, moduleNames]);
22863
22873
  _react.useEffect.call(void 0, () => {
22864
22874
  if (!selectedRoleId && sortedRoleIds.length > 0) {
@@ -22907,7 +22917,7 @@ function RbacByRoleContainer() {
22907
22917
  id === selectedRoleId && "bg-muted font-medium text-foreground",
22908
22918
  id !== selectedRoleId && "text-muted-foreground"
22909
22919
  ),
22910
- children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _578 => _578[id]]), () => ( id))
22920
+ children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _579 => _579[id]]), () => ( id))
22911
22921
  }
22912
22922
  ) }, id)) }) }),
22913
22923
  /* @__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: [
@@ -22927,7 +22937,7 @@ function RbacByRoleContainer() {
22927
22937
  if (!block) return null;
22928
22938
  const defaultTokens = _nullishCoalesce(block.default, () => ( []));
22929
22939
  const roleTokens = block[selectedRoleId];
22930
- const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _579 => _579[moduleId]]), () => ( moduleId));
22940
+ const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _580 => _580[moduleId]]), () => ( moduleId));
22931
22941
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
22932
22942
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22933
22943
  "td",
@@ -22942,7 +22952,7 @@ function RbacByRoleContainer() {
22942
22952
  _chunkJO5BLONKjs.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))
22943
22953
  ] }),
22944
22954
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
22945
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _580 => _580[selectedRoleId]]), () => ( selectedRoleId)) }),
22955
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _581 => _581[selectedRoleId]]), () => ( selectedRoleId)) }),
22946
22956
  _chunkJO5BLONKjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22947
22957
  CellButton3,
22948
22958
  {
@@ -22963,12 +22973,12 @@ function RbacByRoleContainer() {
22963
22973
  RbacPermissionPicker,
22964
22974
  {
22965
22975
  open: !!activePicker,
22966
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _581 => _581.anchor]), () => ( null)),
22976
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _582 => _582.anchor]), () => ( null)),
22967
22977
  value: activeValue,
22968
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _582 => _582.isRoleColumn]), () => ( false)),
22978
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _583 => _583.isRoleColumn]), () => ( false)),
22969
22979
  knownSegments: activeSegments,
22970
22980
  onSetValue: handleSetValue,
22971
- onClear: _optionalChain([activePicker, 'optionalAccess', _583 => _583.isRoleColumn]) ? handleClear : void 0,
22981
+ onClear: _optionalChain([activePicker, 'optionalAccess', _584 => _584.isRoleColumn]) ? handleClear : void 0,
22972
22982
  onClose: closePicker
22973
22983
  }
22974
22984
  )
@@ -23513,4 +23523,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
23513
23523
 
23514
23524
 
23515
23525
  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.computeLayeredLayout = computeLayeredLayout; exports.fitLayeredLayoutToAspectRatio = fitLayeredLayoutToAspectRatio; 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.ConfirmDialog = ConfirmDialog; 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.EmptyState = EmptyState; 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.spinnerVariants = spinnerVariants; exports.Spinner = Spinner; 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.partitionTabs = partitionTabs; 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.BlockNoteEditorMentionHoverCard = BlockNoteEditorMentionHoverCard; exports.mentionDataAttrs = mentionDataAttrs; exports.parseMentionElement = parseMentionElement; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.useMentionInsert = useMentionInsert; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.BlockNoteViewerContainer = BlockNoteViewerContainer; exports.FormFeatures = FormFeatures; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.CommonAddTrigger = CommonAddTrigger; exports.CurrencyInput = CurrencyInput; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.EntitySelector = EntitySelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormBlockNote = FormBlockNote; exports.FormCheckbox = FormCheckbox; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.FormBody = FormBody; exports.FormSection = FormSection; exports.FormRow = FormRow; exports.FormCol = FormCol; 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.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellDateTime = cellDateTime; 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.EntityHeroLayout = EntityHeroLayout; exports.EntityHero = EntityHero; exports.EntityHeroAvatar = EntityHeroAvatar; exports.EntityHeroMetaRow = EntityHeroMetaRow; exports.EntitySection = EntitySection; 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.HowToMultiSelector = HowToMultiSelector; 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.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.AssistantComposer = AssistantComposer; exports.AssistantEmptyState = AssistantEmptyState; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantThread = AssistantThread; 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;
23516
- //# sourceMappingURL=chunk-CI4D76N6.js.map
23526
+ //# sourceMappingURL=chunk-24RSNGD2.js.map