@carlonicora/nextjs-jsonapi 3.8.1 → 3.9.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.
Files changed (38) hide show
  1. package/dist/{BlockNoteEditor-KXONPDJR.mjs → BlockNoteEditor-RGMU2O24.mjs} +2 -2
  2. package/dist/{BlockNoteEditor-55FMZZOR.js → BlockNoteEditor-WY4LFMXQ.js} +9 -9
  3. package/dist/{BlockNoteEditor-55FMZZOR.js.map → BlockNoteEditor-WY4LFMXQ.js.map} +1 -1
  4. package/dist/billing/index.js +333 -333
  5. package/dist/billing/index.mjs +1 -1
  6. package/dist/{chunk-YOYYVEEY.mjs → chunk-7PNGCZES.mjs} +1720 -1689
  7. package/dist/chunk-7PNGCZES.mjs.map +1 -0
  8. package/dist/{chunk-SJ3EW2FD.js → chunk-DOLEXUO3.js} +180 -149
  9. package/dist/chunk-DOLEXUO3.js.map +1 -0
  10. package/dist/client/index.js +2 -2
  11. package/dist/client/index.mjs +1 -1
  12. package/dist/components/index.d.mts +33 -2
  13. package/dist/components/index.d.ts +33 -2
  14. package/dist/components/index.js +2 -2
  15. package/dist/components/index.mjs +1 -1
  16. package/dist/contexts/index.d.mts +7 -1
  17. package/dist/contexts/index.d.ts +7 -1
  18. package/dist/contexts/index.js +6 -2
  19. package/dist/contexts/index.js.map +1 -1
  20. package/dist/contexts/index.mjs +5 -1
  21. package/dist/features/help/index.js +31 -31
  22. package/dist/features/help/index.mjs +1 -1
  23. package/dist/features/tokenusage/index.js +75 -75
  24. package/dist/features/tokenusage/index.mjs +1 -1
  25. package/package.json +1 -1
  26. package/src/components/containers/RoundPageContainer.tsx +36 -15
  27. package/src/components/containers/RoundPageContainerTitle.tsx +6 -3
  28. package/src/components/containers/TabsContainer.tsx +10 -0
  29. package/src/components/forms/CommonDeleter.tsx +14 -1
  30. package/src/components/forms/EditorSheet.tsx +64 -46
  31. package/src/contexts/ActionBarContext.tsx +23 -0
  32. package/src/contexts/index.ts +1 -0
  33. package/src/features/user/contexts/CurrentUserContext.tsx +24 -0
  34. package/src/features/user/contexts/__tests__/CurrentUserContext.spec.tsx +40 -0
  35. package/src/shadcnui/ui/command.tsx +9 -0
  36. package/dist/chunk-SJ3EW2FD.js.map +0 -1
  37. package/dist/chunk-YOYYVEEY.mjs.map +0 -1
  38. /package/dist/{BlockNoteEditor-KXONPDJR.mjs.map → BlockNoteEditor-RGMU2O24.mjs.map} +0 -0
@@ -1871,6 +1871,7 @@ function Command({ className, ...props }) {
1871
1871
  "data-slot": "command",
1872
1872
  className: _chunkUYLS3LJWjs.cn.call(void 0,
1873
1873
  "bg-popover text-popover-foreground rounded-xl p-1 flex size-full flex-col overflow-hidden",
1874
+ "[[data-slot=dialog-content]_&]:bg-transparent [[data-slot=dialog-content]_&]:text-foreground",
1874
1875
  className
1875
1876
  ),
1876
1877
  ...props
@@ -7662,6 +7663,7 @@ var useAdministrationContext = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
7662
7663
 
7663
7664
 
7664
7665
  // src/features/user/contexts/CurrentUserContext.tsx
7666
+ var _cookiesnext = require('cookies-next');
7665
7667
  var _jotai = require('jotai');
7666
7668
  var _utils = require('jotai/utils');
7667
7669
  var _navigation = require('next/navigation');
@@ -7818,6 +7820,12 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
7818
7820
  const { socket, isConnected } = useSocketContext();
7819
7821
  const refreshUserRef = _react.useRef.call(void 0, refreshUser);
7820
7822
  refreshUserRef.current = refreshUser;
7823
+ _react.useEffect.call(void 0, () => {
7824
+ if (typeof window === "undefined") return;
7825
+ if (window.localStorage.getItem(_chunkUYLS3LJWjs.CURRENT_USER_STORAGE_KEY)) return;
7826
+ if (!_cookiesnext.getCookie.call(void 0, "token")) return;
7827
+ void refreshUserRef.current({ skipCookieUpdate: true });
7828
+ }, []);
7821
7829
  const isRefreshingRef = _react.useRef.call(void 0, false);
7822
7830
  _react.useEffect.call(void 0, () => {
7823
7831
  if (!socket || !isConnected || !_optionalChain([currentUser, 'optionalAccess', _198 => _198.company, 'optionalAccess', _199 => _199.id])) {
@@ -8973,6 +8981,13 @@ var triggerAssociationToast = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
8973
8981
 
8974
8982
 
8975
8983
 
8984
+ // src/contexts/ActionBarContext.tsx
8985
+
8986
+
8987
+ var ActionBarContext = _react.createContext.call(void 0, false);
8988
+ var ActionBarProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ value, children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionBarContext.Provider, { value, children }), "ActionBarProvider");
8989
+ var useIsInActionBar = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => _react.useContext.call(void 0, ActionBarContext), "useIsInActionBar");
8990
+
8976
8991
  // src/components/errors/ErrorDetails.tsx
8977
8992
 
8978
8993
 
@@ -9014,10 +9029,13 @@ function CommonDeleter({
9014
9029
  forceShow,
9015
9030
  testId,
9016
9031
  trigger,
9032
+ showLabel,
9017
9033
  onSuccess,
9018
9034
  propagateChanges
9019
9035
  }) {
9020
9036
  const t = _chunkTULJCLZAjs.useI18nTranslations.call(void 0, );
9037
+ const inActionBar = useIsInActionBar();
9038
+ const isLabelled = _nullishCoalesce(showLabel, () => ( inActionBar));
9021
9039
  const router = _chunkTULJCLZAjs.useI18nRouter.call(void 0, );
9022
9040
  const [open, setOpen] = _react.useState.call(void 0, forceShow || false);
9023
9041
  const [isDeleting, setIsDeleting] = _react.useState.call(void 0, false);
@@ -9040,16 +9058,19 @@ function CommonDeleter({
9040
9058
  // <button> via `render` — wrapping it as a child would nest a <button>
9041
9059
  // inside AlertDialogTrigger's <button> (invalid HTML / hydration error).
9042
9060
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogTrigger, { render: trigger })
9043
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogTrigger, { children: trigger || /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9061
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogTrigger, { children: trigger || /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
9044
9062
  Button,
9045
9063
  {
9046
9064
  render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {}),
9047
9065
  nativeButton: false,
9048
9066
  size: "sm",
9049
- variant: "ghost",
9067
+ variant: isLabelled ? "outline" : "ghost",
9050
9068
  className: "text-muted-foreground hover:text-destructive",
9051
9069
  "data-testid": testId,
9052
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2Icon, {})
9070
+ children: [
9071
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2Icon, {}),
9072
+ isLabelled && t(`ui.buttons.delete`)
9073
+ ]
9053
9074
  }
9054
9075
  ) }),
9055
9076
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogContent, { className: `flex max-h-[70vh] max-w-3xl flex-col overflow-y-auto`, children: [
@@ -9667,6 +9688,7 @@ function EditorSheet({
9667
9688
  hideSubmit,
9668
9689
  centerButtons,
9669
9690
  trigger,
9691
+ showLabel,
9670
9692
  forceShow,
9671
9693
  onClose,
9672
9694
  dialogOpen,
@@ -9677,6 +9699,8 @@ function EditorSheet({
9677
9699
  }) {
9678
9700
  const t = _nextintl.useTranslations.call(void 0, );
9679
9701
  const generateUrl = usePageUrlGenerator();
9702
+ const inActionBar = useIsInActionBar();
9703
+ const isLabelled = _nullishCoalesce(showLabel, () => ( inActionBar));
9680
9704
  const defaultIsFormDirty = _react.useCallback.call(void 0, () => {
9681
9705
  return Object.keys(form.formState.dirtyFields).length > 0;
9682
9706
  }, [form.formState.dirtyFields]);
@@ -9759,21 +9783,24 @@ function EditorSheet({
9759
9783
  SheetTrigger,
9760
9784
  {
9761
9785
  nativeButton: false,
9762
- render: isEdit ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9786
+ render: isEdit ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
9763
9787
  Button,
9764
9788
  {
9765
9789
  render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {}),
9766
9790
  nativeButton: false,
9767
9791
  size: "sm",
9768
- variant: "ghost",
9792
+ variant: isLabelled ? "outline" : "ghost",
9769
9793
  className: "text-muted-foreground",
9770
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.PencilIcon, {})
9794
+ children: [
9795
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.PencilIcon, {}),
9796
+ isLabelled && t("ui.buttons.edit")
9797
+ ]
9771
9798
  }
9772
9799
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {}), nativeButton: false, size: "sm", variant: "outline", children: t("ui.buttons.create") })
9773
9800
  }
9774
9801
  )
9775
9802
  )),
9776
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SheetContent, { side: "end", className: sizeClasses[size], children: [
9803
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetContent, { side: "end", className: sizeClasses[size], children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, ActionBarProvider, { value: false, children: [
9777
9804
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetHeader, { className: "border-b px-6 py-4", children: actions ? (
9778
9805
  // pe-10 clears the SheetContent close button, which sits at the
9779
9806
  // inline end of the sheet (absolute top-4 end-4).
@@ -9812,7 +9839,7 @@ function EditorSheet({
9812
9839
  ]
9813
9840
  }
9814
9841
  ) })
9815
- ] })
9842
+ ] }) })
9816
9843
  ] }),
9817
9844
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CommonEditorDiscardDialog, { ...discardDialogProps })
9818
9845
  ] });
@@ -10343,7 +10370,7 @@ FileInput.displayName = "FileInput";
10343
10370
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
10344
10371
 
10345
10372
 
10346
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-55FMZZOR.js"))), {
10373
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-WY4LFMXQ.js"))), {
10347
10374
  ssr: false
10348
10375
  });
10349
10376
  var BlockNoteEditorContainer = React2.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -15307,7 +15334,7 @@ function RoundPageContainerTitle({
15307
15334
  ] })
15308
15335
  ] })
15309
15336
  ] }),
15310
- title.actionBar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-testid": "round-page-action-bar", className: "flex w-full items-center border-t px-4 py-2", children: title.actionBar })
15337
+ title.actionBar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-testid": "round-page-action-bar", className: "flex w-full items-center gap-x-2 border-t px-4 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionBarProvider, { value: true, children: title.actionBar }) })
15311
15338
  ] });
15312
15339
  }
15313
15340
  _chunk7QVYU63Ejs.__name.call(void 0, RoundPageContainerTitle, "RoundPageContainerTitle");
@@ -15319,11 +15346,17 @@ _chunk7QVYU63Ejs.__name.call(void 0, RoundPageContainerTitle, "RoundPageContaine
15319
15346
  var DETAILS_COOKIE_NAME = "round_page_details_state";
15320
15347
  var DETAILS_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
15321
15348
  var railTriggerClass = _chunkUYLS3LJWjs.cn.call(void 0,
15322
- "flex w-full items-center justify-start rounded-md px-3 py-1.5 text-start text-sm leading-tight whitespace-normal",
15323
- "text-muted-foreground",
15324
- "hover:bg-muted hover:text-foreground",
15325
- "data-[state=active]:bg-foreground data-[state=active]:text-background",
15326
- "data-[state=active]:font-semibold data-[state=active]:shadow-none"
15349
+ "flex h-auto w-full items-center justify-start px-3 py-1 text-start text-xs leading-tight whitespace-normal",
15350
+ // `border-0` first: the base sets a 1px box on all four sides, and only a
15351
+ // later border-width utility of the same group removes it. `border-s-2` then
15352
+ // draws the rail itself.
15353
+ "rounded-none border-0 border-s-2 border-transparent bg-transparent",
15354
+ "text-muted-foreground dark:text-muted-foreground transition-colors",
15355
+ "hover:bg-transparent hover:text-primary dark:hover:text-primary",
15356
+ "data-active:bg-transparent dark:data-active:bg-transparent",
15357
+ "data-active:border-primary dark:data-active:border-primary",
15358
+ "data-active:text-primary dark:data-active:text-primary",
15359
+ "data-active:font-medium data-active:shadow-none"
15327
15360
  );
15328
15361
  var tabValue = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (tab) => _nullishCoalesce(_nullishCoalesce(tab.sectionKey, () => ( _optionalChain([tab, 'access', _416 => _416.key, 'optionalAccess', _417 => _417.name]))), () => ( tab.label)), "tabValue");
15329
15362
  function RoundPageContainer({
@@ -15400,7 +15433,9 @@ function RoundPageContainer({
15400
15433
  },
15401
15434
  [module, id, rewriteUrl, onSectionChange]
15402
15435
  );
15403
- const activeFillHeight = _optionalChain([tabs, 'optionalAccess', _423 => _423.find, 'call', _424 => _424((t) => tabValue(t) === activeTab), 'optionalAccess', _425 => _425.fillHeight]) === true;
15436
+ const activeTabDefinition = _optionalChain([tabs, 'optionalAccess', _423 => _423.find, 'call', _424 => _424((t) => tabValue(t) === activeTab)]);
15437
+ const activeFillHeight = _optionalChain([activeTabDefinition, 'optionalAccess', _425 => _425.fillHeight]) === true;
15438
+ const activeConstrainWidth = _optionalChain([activeTabDefinition, 'optionalAccess', _426 => _426.constrainWidth]) === true;
15404
15439
  const { ungrouped, groups } = _react.useMemo.call(void 0, () => partitionTabs(_nullishCoalesce(tabs, () => ( []))), [tabs]);
15405
15440
  const tabItems = _react.useMemo.call(void 0,
15406
15441
  () => Object.fromEntries((_nullishCoalesce(tabs, () => ( []))).map((tab) => [tabValue(tab), _nullishCoalesce(tab.contentLabel, () => ( tab.label))])),
@@ -15510,14 +15545,7 @@ function RoundPageContainer({
15510
15545
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TabsList, { className: "flex h-auto w-full flex-col items-stretch gap-0.5 bg-transparent p-0", children: [
15511
15546
  ungrouped.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)),
15512
15547
  groups.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
15513
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15514
- "div",
15515
- {
15516
- role: "presentation",
15517
- className: "text-muted-foreground px-3 pt-3 pb-1 text-[10px] font-bold tracking-wider uppercase",
15518
- children: group.label
15519
- }
15520
- ),
15548
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MicroLabel, { as: "span", role: "presentation", className: "block px-3 pt-3 pb-1", children: group.label }),
15521
15549
  group.items.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label))
15522
15550
  ] }, group.label))
15523
15551
  ] })
@@ -15552,7 +15580,8 @@ function RoundPageContainer({
15552
15580
  "div",
15553
15581
  {
15554
15582
  className: _chunkUYLS3LJWjs.cn.call(void 0,
15555
- activeFillHeight ? `flex min-h-0 w-full flex-1 flex-col` : `mx-auto w-full max-w-6xl`
15583
+ activeFillHeight ? `flex min-h-0 w-full flex-1 flex-col` : `mx-auto w-full max-w-6xl`,
15584
+ activeFillHeight && activeConstrainWidth && `mx-auto max-w-6xl`
15556
15585
  ),
15557
15586
  children: [
15558
15587
  header,
@@ -15783,14 +15812,14 @@ function BlockNoteEditorMentionHoverCard({
15783
15812
  const entityType = target.dataset.mentionType;
15784
15813
  const alias = target.dataset.mentionAlias;
15785
15814
  setHovered((prev) => {
15786
- if (_optionalChain([prev, 'optionalAccess', _426 => _426.id]) === id && _optionalChain([prev, 'optionalAccess', _427 => _427.element]) === target) return prev;
15815
+ if (_optionalChain([prev, 'optionalAccess', _427 => _427.id]) === id && _optionalChain([prev, 'optionalAccess', _428 => _428.element]) === target) return prev;
15787
15816
  return { id, entityType, alias, element: target };
15788
15817
  });
15789
15818
  }, "handleMouseOver");
15790
15819
  const handleMouseOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
15791
15820
  const target = e.target.closest("[data-mention-id]");
15792
15821
  if (!target) return;
15793
- const related = _optionalChain([e, 'access', _428 => _428.relatedTarget, 'optionalAccess', _429 => _429.closest, 'call', _430 => _430("[data-mention-id]")]);
15822
+ const related = _optionalChain([e, 'access', _429 => _429.relatedTarget, 'optionalAccess', _430 => _430.closest, 'call', _431 => _431("[data-mention-id]")]);
15794
15823
  if (related) return;
15795
15824
  scheduleClose();
15796
15825
  }, "handleMouseOut");
@@ -15804,7 +15833,7 @@ function BlockNoteEditorMentionHoverCard({
15804
15833
  }, [containerRef, mentionResolveFn, cancelClose, scheduleClose]);
15805
15834
  if (!hovered || !mentionResolveFn) return null;
15806
15835
  const resolved = mentionResolveFn(hovered.id, hovered.entityType, hovered.alias);
15807
- if (!_optionalChain([resolved, 'optionalAccess', _431 => _431.HoverContent])) return null;
15836
+ if (!_optionalChain([resolved, 'optionalAccess', _432 => _432.HoverContent])) return null;
15808
15837
  const ContentComponent = resolved.HoverContent;
15809
15838
  const rect = hovered.element.getBoundingClientRect();
15810
15839
  return _reactdom.createPortal.call(void 0,
@@ -15848,28 +15877,28 @@ var parseMentionElement = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
15848
15877
  }, "parseMentionElement");
15849
15878
  var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (resolveFn, disableMention, nameResolver) => {
15850
15879
  const MentionExternalHTML = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
15851
- const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _432 => _432(props.id, props.entityType, props.alias)]), () => ( props.alias));
15880
+ const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _433 => _433(props.id, props.entityType, props.alias)]), () => ( props.alias));
15852
15881
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "data-mention-id": props.id, "data-mention-type": props.entityType, "data-mention-alias": props.alias, children: [
15853
15882
  "@",
15854
15883
  displayName
15855
15884
  ] });
15856
15885
  }, "MentionExternalHTML");
15857
15886
  const Mention = React2.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function Mention2(props) {
15858
- const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _433 => _433(props.id, props.entityType, props.alias)]), () => ( props.alias));
15887
+ const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _434 => _434(props.id, props.entityType, props.alias)]), () => ( props.alias));
15859
15888
  if (disableMention) {
15860
- const resolved2 = _optionalChain([resolveFn, 'optionalCall', _434 => _434(props.id, props.entityType, displayName)]);
15861
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess', _435 => _435.url]), () => ( "#")), className: "text-primary", children: [
15889
+ const resolved2 = _optionalChain([resolveFn, 'optionalCall', _435 => _435(props.id, props.entityType, displayName)]);
15890
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess', _436 => _436.url]), () => ( "#")), className: "text-primary", children: [
15862
15891
  "@",
15863
15892
  displayName
15864
15893
  ] });
15865
15894
  }
15866
- const resolved = _optionalChain([resolveFn, 'optionalCall', _436 => _436(props.id, props.entityType, displayName)]);
15867
- if (_optionalChain([resolved, 'optionalAccess', _437 => _437.Inline])) {
15895
+ const resolved = _optionalChain([resolveFn, 'optionalCall', _437 => _437(props.id, props.entityType, displayName)]);
15896
+ if (_optionalChain([resolved, 'optionalAccess', _438 => _438.Inline])) {
15868
15897
  const Custom = resolved.Inline;
15869
15898
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Custom, { ...props, alias: displayName });
15870
15899
  }
15871
- const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _438 => _438.url]), () => ( "#"));
15872
- const handleClick = _optionalChain([resolved, 'optionalAccess', _439 => _439.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
15900
+ const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _439 => _439.url]), () => ( "#"));
15901
+ const handleClick = _optionalChain([resolved, 'optionalAccess', _440 => _440.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
15873
15902
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15874
15903
  _link2.default,
15875
15904
  {
@@ -15977,7 +16006,7 @@ function BlockNoteEditorMentionSuggestionMenu({
15977
16006
  if (!suggestionMenuComponent) return void 0;
15978
16007
  const Component2 = suggestionMenuComponent;
15979
16008
  const Wrapped = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
15980
- const isSentinelOnly = props.items.length === 1 && _optionalChain([props, 'access', _440 => _440.items, 'access', _441 => _441[0], 'optionalAccess', _442 => _442.title]) === KEEP_OPEN_SENTINEL_TITLE;
16009
+ const isSentinelOnly = props.items.length === 1 && _optionalChain([props, 'access', _441 => _441.items, 'access', _442 => _442[0], 'optionalAccess', _443 => _443.title]) === KEEP_OPEN_SENTINEL_TITLE;
15981
16010
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15982
16011
  Component2,
15983
16012
  {
@@ -15986,7 +16015,7 @@ function BlockNoteEditorMentionSuggestionMenu({
15986
16015
  selectedIndex: isSentinelOnly ? void 0 : props.selectedIndex,
15987
16016
  onItemClick: (item) => {
15988
16017
  if (item.title === KEEP_OPEN_SENTINEL_TITLE) return;
15989
- _optionalChain([props, 'access', _443 => _443.onItemClick, 'optionalCall', _444 => _444(item)]);
16018
+ _optionalChain([props, 'access', _444 => _444.onItemClick, 'optionalCall', _445 => _445(item)]);
15990
16019
  }
15991
16020
  }
15992
16021
  );
@@ -16181,10 +16210,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
16181
16210
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
16182
16211
  Checkbox,
16183
16212
  {
16184
- checked: _optionalChain([params, 'access', _445 => _445.checkedIds, 'optionalAccess', _446 => _446.includes, 'call', _447 => _447(row.getValue(params.name))]) || false,
16213
+ checked: _optionalChain([params, 'access', _446 => _446.checkedIds, 'optionalAccess', _447 => _447.includes, 'call', _448 => _448(row.getValue(params.name))]) || false,
16185
16214
  onCheckedChange: (value) => {
16186
16215
  row.toggleSelected(!!value);
16187
- _optionalChain([params, 'access', _448 => _448.toggleId, 'optionalCall', _449 => _449(row.getValue(params.name))]);
16216
+ _optionalChain([params, 'access', _449 => _449.toggleId, 'optionalCall', _450 => _450(row.getValue(params.name))]);
16188
16217
  },
16189
16218
  "aria-label": "Select row"
16190
16219
  }
@@ -16243,7 +16272,7 @@ function useJsonApiGet(params) {
16243
16272
  const [response, setResponse] = _react.useState.call(void 0, null);
16244
16273
  const isMounted = _react.useRef.call(void 0, true);
16245
16274
  const fetchData = _react.useCallback.call(void 0, async () => {
16246
- if (_optionalChain([params, 'access', _450 => _450.options, 'optionalAccess', _451 => _451.enabled]) === false) return;
16275
+ if (_optionalChain([params, 'access', _451 => _451.options, 'optionalAccess', _452 => _452.enabled]) === false) return;
16247
16276
  setLoading(true);
16248
16277
  setError(null);
16249
16278
  try {
@@ -16270,9 +16299,9 @@ function useJsonApiGet(params) {
16270
16299
  setLoading(false);
16271
16300
  }
16272
16301
  }
16273
- }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _452 => _452.options, 'optionalAccess', _453 => _453.enabled])]);
16302
+ }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _453 => _453.options, 'optionalAccess', _454 => _454.enabled])]);
16274
16303
  const fetchNextPage = _react.useCallback.call(void 0, async () => {
16275
- if (!_optionalChain([response, 'optionalAccess', _454 => _454.nextPage])) return;
16304
+ if (!_optionalChain([response, 'optionalAccess', _455 => _455.nextPage])) return;
16276
16305
  setLoading(true);
16277
16306
  try {
16278
16307
  const nextResponse = await response.nextPage();
@@ -16293,7 +16322,7 @@ function useJsonApiGet(params) {
16293
16322
  }
16294
16323
  }, [response]);
16295
16324
  const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
16296
- if (!_optionalChain([response, 'optionalAccess', _455 => _455.prevPage])) return;
16325
+ if (!_optionalChain([response, 'optionalAccess', _456 => _456.prevPage])) return;
16297
16326
  setLoading(true);
16298
16327
  try {
16299
16328
  const prevResponse = await response.prevPage();
@@ -16319,15 +16348,15 @@ function useJsonApiGet(params) {
16319
16348
  return () => {
16320
16349
  isMounted.current = false;
16321
16350
  };
16322
- }, [fetchData, ..._optionalChain([params, 'access', _456 => _456.options, 'optionalAccess', _457 => _457.deps]) || []]);
16351
+ }, [fetchData, ..._optionalChain([params, 'access', _457 => _457.options, 'optionalAccess', _458 => _458.deps]) || []]);
16323
16352
  return {
16324
16353
  data,
16325
16354
  loading,
16326
16355
  error,
16327
16356
  response,
16328
16357
  refetch: fetchData,
16329
- hasNextPage: !!_optionalChain([response, 'optionalAccess', _458 => _458.next]),
16330
- hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _459 => _459.prev]),
16358
+ hasNextPage: !!_optionalChain([response, 'optionalAccess', _459 => _459.next]),
16359
+ hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _460 => _460.prev]),
16331
16360
  fetchNextPage,
16332
16361
  fetchPreviousPage
16333
16362
  };
@@ -16405,17 +16434,17 @@ function useJsonApiMutation(config) {
16405
16434
  if (apiResponse.ok) {
16406
16435
  const resultData = apiResponse.data;
16407
16436
  setData(resultData);
16408
- _optionalChain([config, 'access', _460 => _460.onSuccess, 'optionalCall', _461 => _461(resultData)]);
16437
+ _optionalChain([config, 'access', _461 => _461.onSuccess, 'optionalCall', _462 => _462(resultData)]);
16409
16438
  return resultData;
16410
16439
  } else {
16411
16440
  setError(apiResponse.error);
16412
- _optionalChain([config, 'access', _462 => _462.onError, 'optionalCall', _463 => _463(apiResponse.error)]);
16441
+ _optionalChain([config, 'access', _463 => _463.onError, 'optionalCall', _464 => _464(apiResponse.error)]);
16413
16442
  return null;
16414
16443
  }
16415
16444
  } catch (err) {
16416
16445
  const errorMessage = err instanceof Error ? err.message : "Unknown error";
16417
16446
  setError(errorMessage);
16418
- _optionalChain([config, 'access', _464 => _464.onError, 'optionalCall', _465 => _465(errorMessage)]);
16447
+ _optionalChain([config, 'access', _465 => _465.onError, 'optionalCall', _466 => _466(errorMessage)]);
16419
16448
  return null;
16420
16449
  } finally {
16421
16450
  setLoading(false);
@@ -16488,7 +16517,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
16488
16517
  {
16489
16518
  href: hasRole(_chunkTULJCLZAjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
16490
16519
  page: "/administration",
16491
- id: _optionalChain([_chunkUYLS3LJWjs.Modules, 'access', _466 => _466.Company, 'access', _467 => _467.pageUrl, 'optionalAccess', _468 => _468.substring, 'call', _469 => _469(1)]),
16520
+ id: _optionalChain([_chunkUYLS3LJWjs.Modules, 'access', _467 => _467.Company, 'access', _468 => _468.pageUrl, 'optionalAccess', _469 => _469.substring, 'call', _470 => _470(1)]),
16492
16521
  childPage: company.id
16493
16522
  }) : generateUrl({ page: _chunkUYLS3LJWjs.Modules.Company, id: company.id }),
16494
16523
  children: row.getValue("name")
@@ -16504,7 +16533,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
16504
16533
  })
16505
16534
  };
16506
16535
  const columns = _react.useMemo.call(void 0, () => {
16507
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _470 => _470[field], 'optionalCall', _471 => _471()])).filter((col) => col !== void 0);
16536
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _471 => _471[field], 'optionalCall', _472 => _472()])).filter((col) => col !== void 0);
16508
16537
  }, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
16509
16538
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
16510
16539
  }, "useCompanyTableStructure");
@@ -16516,7 +16545,7 @@ var GRACE_DAYS = 3;
16516
16545
  var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
16517
16546
  if (!currentUser || !_chunkTULJCLZAjs.isRolesConfigured.call(void 0, )) return false;
16518
16547
  const adminRoleId = _chunkTULJCLZAjs.getRoleId.call(void 0, ).Administrator;
16519
- return !!_optionalChain([currentUser, 'access', _472 => _472.roles, 'optionalAccess', _473 => _473.some, 'call', _474 => _474((role) => role.id === adminRoleId)]);
16548
+ return !!_optionalChain([currentUser, 'access', _473 => _473.roles, 'optionalAccess', _474 => _474.some, 'call', _475 => _475((role) => role.id === adminRoleId)]);
16520
16549
  }, "isAdministrator");
16521
16550
  function useSubscriptionStatus() {
16522
16551
  const { company, currentUser } = useCurrentUserContext();
@@ -16634,7 +16663,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
16634
16663
  })
16635
16664
  };
16636
16665
  const columns = _react.useMemo.call(void 0, () => {
16637
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _475 => _475[field], 'optionalCall', _476 => _476()])).filter((col) => col !== void 0);
16666
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _476 => _476[field], 'optionalCall', _477 => _477()])).filter((col) => col !== void 0);
16638
16667
  }, [params.fields, fieldColumnMap, t, generateUrl]);
16639
16668
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
16640
16669
  }, "useRoleTableStructure");
@@ -16742,7 +16771,7 @@ var useStripePriceTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(
16742
16771
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1", children: [
16743
16772
  price.active ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "softGreen", children: t("billing.admin.prices.status.active") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "softGray", children: t("billing.admin.prices.status.archived") }),
16744
16773
  price.isTrial && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "softBlue", children: t("billing.admin.prices.badge.trial") }),
16745
- _optionalChain([price, 'access', _477 => _477.recurring, 'optionalAccess', _478 => _478.usageType]) === "metered" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "softBlue", children: t("billing.admin.prices.badge.metered") })
16774
+ _optionalChain([price, 'access', _478 => _478.recurring, 'optionalAccess', _479 => _479.usageType]) === "metered" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "softBlue", children: t("billing.admin.prices.badge.metered") })
16746
16775
  ] });
16747
16776
  }, "cell"),
16748
16777
  enableSorting: false,
@@ -16750,7 +16779,7 @@ var useStripePriceTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(
16750
16779
  })
16751
16780
  };
16752
16781
  const columns = _react.useMemo.call(void 0, () => {
16753
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _479 => _479[field], 'optionalCall', _480 => _480()])).filter((col) => col !== void 0);
16782
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _480 => _480[field], 'optionalCall', _481 => _481()])).filter((col) => col !== void 0);
16754
16783
  }, [params.fields, fieldColumnMap, t, generateUrl]);
16755
16784
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
16756
16785
  }, "useStripePriceTableStructure");
@@ -16809,7 +16838,7 @@ var useStripeProductTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.cal
16809
16838
  })
16810
16839
  };
16811
16840
  const columns = _react.useMemo.call(void 0, () => {
16812
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _481 => _481[field], 'optionalCall', _482 => _482()])).filter((col) => col !== void 0);
16841
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _482 => _482[field], 'optionalCall', _483 => _483()])).filter((col) => col !== void 0);
16813
16842
  }, [params.fields, fieldColumnMap, t, generateUrl]);
16814
16843
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
16815
16844
  }, "useStripeProductTableStructure");
@@ -16911,11 +16940,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
16911
16940
  return params.fields.map((field) => {
16912
16941
  const localHandler = fieldColumnMap[field];
16913
16942
  if (localHandler) return localHandler();
16914
- const customHandler = _optionalChain([params, 'access', _483 => _483.context, 'optionalAccess', _484 => _484.customCells, 'optionalAccess', _485 => _485[field]]);
16943
+ const customHandler = _optionalChain([params, 'access', _484 => _484.context, 'optionalAccess', _485 => _485.customCells, 'optionalAccess', _486 => _486[field]]);
16915
16944
  if (customHandler) return customHandler({ t });
16916
16945
  return void 0;
16917
16946
  }).filter((col) => col !== void 0);
16918
- }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _486 => _486.context, 'optionalAccess', _487 => _487.customCells])]);
16947
+ }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _487 => _487.context, 'optionalAccess', _488 => _488.customCells])]);
16919
16948
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
16920
16949
  }, "useContentTableStructure");
16921
16950
 
@@ -17253,7 +17282,7 @@ function ContentTableSearch({ data }) {
17253
17282
  const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
17254
17283
  if (!isExpanded) {
17255
17284
  setIsFocused(true);
17256
- setTimeout(() => _optionalChain([inputRef, 'access', _488 => _488.current, 'optionalAccess', _489 => _489.focus, 'call', _490 => _490()]), 50);
17285
+ setTimeout(() => _optionalChain([inputRef, 'access', _489 => _489.current, 'optionalAccess', _490 => _490.focus, 'call', _491 => _491()]), 50);
17257
17286
  }
17258
17287
  }, "handleSearchIconClick");
17259
17288
  const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
@@ -17349,7 +17378,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17349
17378
  if (data.isLoaded) setPendingDirection(null);
17350
17379
  }, [data.isLoaded]);
17351
17380
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
17352
- data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _491 => _491.data]), () => ( EMPTY_ARRAY)),
17381
+ data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _492 => _492.data]), () => ( EMPTY_ARRAY)),
17353
17382
  fields,
17354
17383
  checkedIds,
17355
17384
  toggleId,
@@ -17382,7 +17411,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17382
17411
  });
17383
17412
  const rowModel = tableData ? table.getRowModel() : null;
17384
17413
  const groupedRows = _react.useMemo.call(void 0, () => {
17385
- if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess', _492 => _492.rows, 'optionalAccess', _493 => _493.length])) return null;
17414
+ if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess', _493 => _493.rows, 'optionalAccess', _494 => _494.length])) return null;
17386
17415
  const groupMap = /* @__PURE__ */ new Map();
17387
17416
  for (const row of rowModel.rows) {
17388
17417
  const keys = getGroupKeys(row.original, props.groupBy);
@@ -17451,19 +17480,19 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17451
17480
  ) }),
17452
17481
  !props.hideHeader && table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
17453
17482
  const meta = header.column.columnDef.meta;
17454
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _494 => _494.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
17483
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _495 => _495.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
17455
17484
  }) }, headerGroup.id))
17456
17485
  ] }),
17457
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _495 => _495.rows, 'optionalAccess', _496 => _496.length]) ? groupedRows ? groupedRows.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React2.default.Fragment, { children: [
17458
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-muted px-4 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MicroLabel, { children: _nullishCoalesce(_optionalChain([props, 'access', _497 => _497.groupLabel, 'optionalCall', _498 => _498(group.groupKey)]), () => ( group.groupKey)) }) }) }),
17486
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _496 => _496.rows, 'optionalAccess', _497 => _497.length]) ? groupedRows ? groupedRows.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React2.default.Fragment, { children: [
17487
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-muted px-4 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MicroLabel, { children: _nullishCoalesce(_optionalChain([props, 'access', _498 => _498.groupLabel, 'optionalCall', _499 => _499(group.groupKey)]), () => ( group.groupKey)) }) }) }),
17459
17488
  group.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17460
17489
  TableRow,
17461
17490
  {
17462
- onClick: () => _optionalChain([onRowClick, 'optionalCall', _499 => _499(row.original.jsonApiData)]),
17491
+ onClick: () => _optionalChain([onRowClick, 'optionalCall', _500 => _500(row.original.jsonApiData)]),
17463
17492
  className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
17464
17493
  children: row.getVisibleCells().map((cell) => {
17465
17494
  const meta = cell.column.columnDef.meta;
17466
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _500 => _500.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
17495
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _501 => _501.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
17467
17496
  })
17468
17497
  },
17469
17498
  row.id
@@ -17471,11 +17500,11 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17471
17500
  ] }, group.groupKey)) : rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17472
17501
  TableRow,
17473
17502
  {
17474
- onClick: () => _optionalChain([onRowClick, 'optionalCall', _501 => _501(row.original.jsonApiData)]),
17503
+ onClick: () => _optionalChain([onRowClick, 'optionalCall', _502 => _502(row.original.jsonApiData)]),
17475
17504
  className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
17476
17505
  children: row.getVisibleCells().map((cell) => {
17477
17506
  const meta = cell.column.columnDef.meta;
17478
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _502 => _502.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
17507
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _503 => _503.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
17479
17508
  })
17480
17509
  },
17481
17510
  row.id
@@ -17489,7 +17518,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17489
17518
  onClick: (e) => {
17490
17519
  e.preventDefault();
17491
17520
  setPendingDirection("prev");
17492
- _optionalChain([data, 'access', _503 => _503.previous, 'optionalCall', _504 => _504(true)]);
17521
+ _optionalChain([data, 'access', _504 => _504.previous, 'optionalCall', _505 => _505(true)]);
17493
17522
  },
17494
17523
  disabled: !data.previous || pendingDirection !== null,
17495
17524
  children: pendingDirection === "prev" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4 rtl:rotate-180" })
@@ -17504,7 +17533,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17504
17533
  onClick: (e) => {
17505
17534
  e.preventDefault();
17506
17535
  setPendingDirection("next");
17507
- _optionalChain([data, 'access', _505 => _505.next, 'optionalCall', _506 => _506(true)]);
17536
+ _optionalChain([data, 'access', _506 => _506.next, 'optionalCall', _507 => _507(true)]);
17508
17537
  },
17509
17538
  disabled: !data.next || pendingDirection !== null,
17510
17539
  children: pendingDirection === "next" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4 rtl:rotate-180" })
@@ -17525,7 +17554,7 @@ function ContentListGrid(props) {
17525
17554
  if (!data.next || !sentinelRef.current) return;
17526
17555
  const observer = new IntersectionObserver(
17527
17556
  (entries) => {
17528
- if (_optionalChain([entries, 'access', _507 => _507[0], 'optionalAccess', _508 => _508.isIntersecting])) _optionalChain([data, 'access', _509 => _509.next, 'optionalCall', _510 => _510()]);
17557
+ if (_optionalChain([entries, 'access', _508 => _508[0], 'optionalAccess', _509 => _509.isIntersecting])) _optionalChain([data, 'access', _510 => _510.next, 'optionalCall', _511 => _511()]);
17529
17558
  },
17530
17559
  { threshold: 0.1, rootMargin: "200px" }
17531
17560
  );
@@ -18312,7 +18341,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
18312
18341
  newDigits[index] = digit;
18313
18342
  setDigits(newDigits);
18314
18343
  if (digit && index < 5) {
18315
- _optionalChain([inputRefs, 'access', _511 => _511.current, 'access', _512 => _512[index + 1], 'optionalAccess', _513 => _513.focus, 'call', _514 => _514()]);
18344
+ _optionalChain([inputRefs, 'access', _512 => _512.current, 'access', _513 => _513[index + 1], 'optionalAccess', _514 => _514.focus, 'call', _515 => _515()]);
18316
18345
  }
18317
18346
  const code = newDigits.join("");
18318
18347
  if (code.length === 6 && newDigits.every((d) => d !== "")) {
@@ -18321,7 +18350,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
18321
18350
  }, "handleChange");
18322
18351
  const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
18323
18352
  if (e.key === "Backspace" && !digits[index] && index > 0) {
18324
- _optionalChain([inputRefs, 'access', _515 => _515.current, 'access', _516 => _516[index - 1], 'optionalAccess', _517 => _517.focus, 'call', _518 => _518()]);
18353
+ _optionalChain([inputRefs, 'access', _516 => _516.current, 'access', _517 => _517[index - 1], 'optionalAccess', _518 => _518.focus, 'call', _519 => _519()]);
18325
18354
  }
18326
18355
  }, "handleKeyDown");
18327
18356
  const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
@@ -18330,7 +18359,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
18330
18359
  if (pastedData.length === 6) {
18331
18360
  const newDigits = pastedData.split("");
18332
18361
  setDigits(newDigits);
18333
- _optionalChain([inputRefs, 'access', _519 => _519.current, 'access', _520 => _520[5], 'optionalAccess', _521 => _521.focus, 'call', _522 => _522()]);
18362
+ _optionalChain([inputRefs, 'access', _520 => _520.current, 'access', _521 => _521[5], 'optionalAccess', _522 => _522.focus, 'call', _523 => _523()]);
18334
18363
  onComplete(pastedData);
18335
18364
  }
18336
18365
  }, "handlePaste");
@@ -18541,8 +18570,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
18541
18570
  try {
18542
18571
  const registrationData = await _chunkUYLS3LJWjs.TwoFactorService.getPasskeyRegistrationOptions({
18543
18572
  id: _uuid.v4.call(void 0, ),
18544
- userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _523 => _523.email]), () => ( "")),
18545
- userDisplayName: _optionalChain([currentUser, 'optionalAccess', _524 => _524.name])
18573
+ userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _524 => _524.email]), () => ( "")),
18574
+ userDisplayName: _optionalChain([currentUser, 'optionalAccess', _525 => _525.name])
18546
18575
  });
18547
18576
  const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
18548
18577
  await _chunkUYLS3LJWjs.TwoFactorService.verifyPasskeyRegistration({
@@ -18693,7 +18722,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
18693
18722
  const setup = await _chunkUYLS3LJWjs.TwoFactorService.setupTotp({
18694
18723
  id: _uuid.v4.call(void 0, ),
18695
18724
  name: name.trim(),
18696
- accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _525 => _525.email]), () => ( ""))
18725
+ accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _526 => _526.email]), () => ( ""))
18697
18726
  });
18698
18727
  setQrCodeUri(setup.qrCodeUri);
18699
18728
  setAuthenticatorId(setup.authenticatorId);
@@ -18827,7 +18856,7 @@ function TwoFactorSettings() {
18827
18856
  if (isLoading) {
18828
18857
  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") }) }) });
18829
18858
  }
18830
- const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _526 => _526.isEnabled]), () => ( false));
18859
+ const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _527 => _527.isEnabled]), () => ( false));
18831
18860
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
18832
18861
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
18833
18862
  isEnabled ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldCheck, { className: "text-success h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldAlert, { className: "text-warning h-6 w-6" }),
@@ -18865,7 +18894,7 @@ function TwoFactorSettings() {
18865
18894
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
18866
18895
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
18867
18896
  ] }),
18868
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _527 => _527.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
18897
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _528 => _528.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
18869
18898
  ] }) }),
18870
18899
  !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
18871
18900
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
@@ -19043,9 +19072,9 @@ function AcceptInvitation() {
19043
19072
  });
19044
19073
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
19045
19074
  try {
19046
- if (!_optionalChain([params, 'optionalAccess', _528 => _528.code])) return;
19075
+ if (!_optionalChain([params, 'optionalAccess', _529 => _529.code])) return;
19047
19076
  const payload = {
19048
- code: _optionalChain([params, 'optionalAccess', _529 => _529.code]),
19077
+ code: _optionalChain([params, 'optionalAccess', _530 => _530.code]),
19049
19078
  password: values.password
19050
19079
  };
19051
19080
  await _chunkUYLS3LJWjs.AuthService.acceptInvitation(payload);
@@ -19406,7 +19435,7 @@ function Logout({ storageKeys }) {
19406
19435
  _chunk7QVYU63Ejs.__name.call(void 0, Logout, "Logout");
19407
19436
 
19408
19437
  // src/features/auth/components/forms/RefreshUser.tsx
19409
- var _cookiesnext = require('cookies-next');
19438
+
19410
19439
 
19411
19440
  function RefreshUser() {
19412
19441
  const { setUser } = useCurrentUserContext();
@@ -19416,14 +19445,14 @@ function RefreshUser() {
19416
19445
  setUser(fullUser);
19417
19446
  const token = {
19418
19447
  userId: fullUser.id,
19419
- companyId: _optionalChain([fullUser, 'access', _530 => _530.company, 'optionalAccess', _531 => _531.id]),
19448
+ companyId: _optionalChain([fullUser, 'access', _531 => _531.company, 'optionalAccess', _532 => _532.id]),
19420
19449
  roles: fullUser.roles.map((role) => role.id),
19421
- features: _nullishCoalesce(_optionalChain([fullUser, 'access', _532 => _532.company, 'optionalAccess', _533 => _533.features, 'optionalAccess', _534 => _534.map, 'call', _535 => _535((feature) => feature.id)]), () => ( [])),
19450
+ features: _nullishCoalesce(_optionalChain([fullUser, 'access', _533 => _533.company, 'optionalAccess', _534 => _534.features, 'optionalAccess', _535 => _535.map, 'call', _536 => _536((feature) => feature.id)]), () => ( [])),
19422
19451
  modules: fullUser.modules.map((module) => {
19423
19452
  return { id: module.id, permissions: module.permissions };
19424
19453
  })
19425
19454
  };
19426
- await _optionalChain([_chunkUYLS3LJWjs.getTokenHandler.call(void 0, ), 'optionalAccess', _536 => _536.updateToken, 'call', _537 => _537(token)]);
19455
+ await _optionalChain([_chunkUYLS3LJWjs.getTokenHandler.call(void 0, ), 'optionalAccess', _537 => _537.updateToken, 'call', _538 => _538(token)]);
19427
19456
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
19428
19457
  }
19429
19458
  }, "loadFullUser");
@@ -19487,9 +19516,9 @@ function ResetPassword() {
19487
19516
  });
19488
19517
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
19489
19518
  try {
19490
- if (!_optionalChain([params, 'optionalAccess', _538 => _538.code])) return;
19519
+ if (!_optionalChain([params, 'optionalAccess', _539 => _539.code])) return;
19491
19520
  const payload = {
19492
- code: _optionalChain([params, 'optionalAccess', _539 => _539.code]),
19521
+ code: _optionalChain([params, 'optionalAccess', _540 => _540.code]),
19493
19522
  password: values.password
19494
19523
  };
19495
19524
  await _chunkUYLS3LJWjs.AuthService.resetPassword(payload);
@@ -20014,7 +20043,7 @@ function AiConnectionEditor({
20014
20043
  const registryRows = _react.useMemo.call(void 0, () => _nullishCoalesce(providerRegistry[connectionType], () => ( [])), [providerRegistry, connectionType]);
20015
20044
  const providers = _react.useMemo.call(void 0, () => registryRows.map((row) => row.provider), [registryRows]);
20016
20045
  const fieldsFor = _react.useCallback.call(void 0,
20017
- (provider) => _nullishCoalesce(_optionalChain([registryRows, 'access', _540 => _540.find, 'call', _541 => _541((row) => row.provider === provider), 'optionalAccess', _542 => _542.fields]), () => ( [])),
20046
+ (provider) => _nullishCoalesce(_optionalChain([registryRows, 'access', _541 => _541.find, 'call', _542 => _542((row) => row.provider === provider), 'optionalAccess', _543 => _543.fields]), () => ( [])),
20018
20047
  [registryRows]
20019
20048
  );
20020
20049
  const defaultsFor = _react.useCallback.call(void 0,
@@ -20023,7 +20052,7 @@ function AiConnectionEditor({
20023
20052
  const seeded = {};
20024
20053
  fieldsFor(provider).forEach((descriptor) => {
20025
20054
  if (descriptor.kind === "boolean") {
20026
- const current2 = _optionalChain([stored, 'optionalAccess', _543 => _543[descriptor.field]]);
20055
+ const current2 = _optionalChain([stored, 'optionalAccess', _544 => _544[descriptor.field]]);
20027
20056
  seeded[descriptor.field] = current2 !== void 0 && current2 !== null ? current2 === true : descriptor.default === true;
20028
20057
  return;
20029
20058
  }
@@ -20031,7 +20060,7 @@ function AiConnectionEditor({
20031
20060
  seeded[descriptor.field] = "";
20032
20061
  return;
20033
20062
  }
20034
- const current = _optionalChain([stored, 'optionalAccess', _544 => _544[descriptor.field]]);
20063
+ const current = _optionalChain([stored, 'optionalAccess', _545 => _545[descriptor.field]]);
20035
20064
  if (current !== void 0 && current !== null) seeded[descriptor.field] = String(current);
20036
20065
  else seeded[descriptor.field] = descriptor.default !== void 0 ? String(descriptor.default) : "";
20037
20066
  });
@@ -20057,7 +20086,7 @@ function AiConnectionEditor({
20057
20086
  values: _zod3.z.record(_zod3.z.string(), _zod3.z.any())
20058
20087
  }).superRefine((data, ctx) => {
20059
20088
  fieldsFor(data.provider).filter((descriptor) => descriptor.required).forEach((descriptor) => {
20060
- const value = _optionalChain([data, 'access', _545 => _545.values, 'optionalAccess', _546 => _546[descriptor.field]]);
20089
+ const value = _optionalChain([data, 'access', _546 => _546.values, 'optionalAccess', _547 => _547[descriptor.field]]);
20061
20090
  const filled = descriptor.kind === "secret" ? !!value || hasStoredSecret(descriptor.field) : descriptor.kind === "boolean" ? value !== void 0 : value !== void 0 && value !== null && String(value).trim() !== "";
20062
20091
  if (filled) return;
20063
20092
  ctx.addIssue({
@@ -20071,11 +20100,11 @@ function AiConnectionEditor({
20071
20100
  );
20072
20101
  const getDefaultValues = _react.useCallback.call(void 0,
20073
20102
  () => ({
20074
- id: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _547 => _547.id]), () => ( _uuid.v4.call(void 0, ))),
20075
- name: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _548 => _548.name]), () => ( "")),
20076
- provider: _nullishCoalesce(_nullishCoalesce(_optionalChain([connection, 'optionalAccess', _549 => _549.provider]), () => ( providers[0])), () => ( "")),
20077
- enabled: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _550 => _550.enabled]), () => ( true)),
20078
- values: defaultsFor(_nullishCoalesce(_nullishCoalesce(_optionalChain([connection, 'optionalAccess', _551 => _551.provider]), () => ( providers[0])), () => ( "")))
20103
+ id: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _548 => _548.id]), () => ( _uuid.v4.call(void 0, ))),
20104
+ name: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _549 => _549.name]), () => ( "")),
20105
+ provider: _nullishCoalesce(_nullishCoalesce(_optionalChain([connection, 'optionalAccess', _550 => _550.provider]), () => ( providers[0])), () => ( "")),
20106
+ enabled: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _551 => _551.enabled]), () => ( true)),
20107
+ values: defaultsFor(_nullishCoalesce(_nullishCoalesce(_optionalChain([connection, 'optionalAccess', _552 => _552.provider]), () => ( providers[0])), () => ( "")))
20079
20108
  }),
20080
20109
  [connection, providers, defaultsFor]
20081
20110
  );
@@ -20086,7 +20115,7 @@ function AiConnectionEditor({
20086
20115
  _react.useEffect.call(void 0, () => {
20087
20116
  if (registryRows.length === 0) return;
20088
20117
  const currentProvider = form.getValues("provider");
20089
- const provider = currentProvider || _optionalChain([connection, 'optionalAccess', _552 => _552.provider]) || providers[0] || "";
20118
+ const provider = currentProvider || _optionalChain([connection, 'optionalAccess', _553 => _553.provider]) || providers[0] || "";
20090
20119
  if (!provider) return;
20091
20120
  if (provider !== currentProvider) form.setValue("provider", provider);
20092
20121
  const currentValues = form.getValues("values");
@@ -20157,7 +20186,7 @@ function AiConnectionEditor({
20157
20186
  {
20158
20187
  form,
20159
20188
  entityType: t("ai_connections.admin.entity"),
20160
- entityName: _optionalChain([connection, 'optionalAccess', _553 => _553.name]),
20189
+ entityName: _optionalChain([connection, 'optionalAccess', _554 => _554.name]),
20161
20190
  isEdit,
20162
20191
  module: _chunkUYLS3LJWjs.Modules.AiConnection,
20163
20192
  size: "md",
@@ -20165,7 +20194,7 @@ function AiConnectionEditor({
20165
20194
  onSubmit: async (values) => {
20166
20195
  const attributes = {};
20167
20196
  fieldsFor(values.provider).forEach((descriptor) => {
20168
- const coerced = coerce(descriptor, _optionalChain([values, 'access', _554 => _554.values, 'optionalAccess', _555 => _555[descriptor.field]]));
20197
+ const coerced = coerce(descriptor, _optionalChain([values, 'access', _555 => _555.values, 'optionalAccess', _556 => _556[descriptor.field]]));
20169
20198
  if (coerced !== void 0) attributes[descriptor.field] = coerced;
20170
20199
  });
20171
20200
  const payload = {
@@ -20386,7 +20415,7 @@ function AiConnectionTypeCard({ connectionType }) {
20386
20415
  ),
20387
20416
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-muted/40 flex flex-wrap items-center gap-2 px-3 py-2", children: [
20388
20417
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "softGray", children: t("ai_connections.admin.env_fallback") }),
20389
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground truncate text-xs", children: [_optionalChain([envDefault, 'optionalAccess', _556 => _556.provider]), _optionalChain([envDefault, 'optionalAccess', _557 => _557.model]), _optionalChain([envDefault, 'optionalAccess', _558 => _558.url])].filter(Boolean).join(" \xB7 ") })
20418
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground truncate text-xs", children: [_optionalChain([envDefault, 'optionalAccess', _557 => _557.provider]), _optionalChain([envDefault, 'optionalAccess', _558 => _558.model]), _optionalChain([envDefault, 'optionalAccess', _559 => _559.url])].filter(Boolean).join(" \xB7 ") })
20390
20419
  ] })
20391
20420
  ] })
20392
20421
  ] })
@@ -20584,7 +20613,7 @@ function extractHeadings(blocks) {
20584
20613
  function processBlocks(blockArray) {
20585
20614
  for (const block of blockArray) {
20586
20615
  if (block.type === "heading") {
20587
- const level = _optionalChain([block, 'access', _559 => _559.props, 'optionalAccess', _560 => _560.level]) || 1;
20616
+ const level = _optionalChain([block, 'access', _560 => _560.props, 'optionalAccess', _561 => _561.level]) || 1;
20588
20617
  const text = extractTextFromContent(block.content);
20589
20618
  if (text.trim()) {
20590
20619
  headings.push({
@@ -20927,7 +20956,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
20927
20956
  })
20928
20957
  };
20929
20958
  const columns = _react.useMemo.call(void 0, () => {
20930
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _561 => _561[field], 'optionalCall', _562 => _562()])).filter((col) => col !== void 0);
20959
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _562 => _562[field], 'optionalCall', _563 => _563()])).filter((col) => col !== void 0);
20931
20960
  }, [params.fields, fieldColumnMap, t, generateUrl]);
20932
20961
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
20933
20962
  }, "useHowToTableStructure");
@@ -21026,7 +21055,7 @@ function HowToSelector({
21026
21055
  }, "setHowTo");
21027
21056
  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: [
21028
21057
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
21029
- /* @__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', _563 => _563.value, 'optionalAccess', _564 => _564.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 }) }))) }) }) }),
21058
+ /* @__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', _564 => _564.value, 'optionalAccess', _565 => _565.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 }) }))) }) }) }),
21030
21059
  field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
21031
21060
  _lucidereact.CircleX,
21032
21061
  {
@@ -21420,10 +21449,10 @@ function CitationsTab({ citations, sources }) {
21420
21449
  ] }) }),
21421
21450
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
21422
21451
  const isOpen = expanded.has(chunk.id);
21423
- const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _565 => _565.get, 'call', _566 => _566(chunk.nodeId)]) : void 0;
21452
+ const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _566 => _566.get, 'call', _567 => _567(chunk.nodeId)]) : void 0;
21424
21453
  const typeLabel = chunk.nodeType ? entityLabel(chunk.nodeType) : t("features.assistant.message.sources.source");
21425
21454
  const fallbackName = chunk.nodeId ? `${typeLabel} ${chunk.nodeId.slice(0, 8)}` : typeLabel;
21426
- const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _567 => _567.name]), () => ( fallbackName));
21455
+ const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _568 => _568.name]), () => ( fallbackName));
21427
21456
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
21428
21457
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
21429
21458
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -21471,7 +21500,7 @@ function ContentsTab({ citations, sources }) {
21471
21500
  for (const c of citations) {
21472
21501
  const id = c.nodeId;
21473
21502
  if (!id) continue;
21474
- const source = _optionalChain([sources, 'optionalAccess', _568 => _568.get, 'call', _569 => _569(id)]);
21503
+ const source = _optionalChain([sources, 'optionalAccess', _569 => _569.get, 'call', _570 => _570(id)]);
21475
21504
  if (!source) continue;
21476
21505
  const existing = map.get(id);
21477
21506
  if (existing) {
@@ -21538,7 +21567,7 @@ function UsersTab({ users, citations, sources }) {
21538
21567
  const generate = usePageUrlGenerator();
21539
21568
  const userMap = /* @__PURE__ */ new Map();
21540
21569
  for (const u of users) {
21541
- if (!_optionalChain([u, 'optionalAccess', _570 => _570.id])) continue;
21570
+ if (!_optionalChain([u, 'optionalAccess', _571 => _571.id])) continue;
21542
21571
  userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
21543
21572
  }
21544
21573
  if (citations && sources) {
@@ -21643,7 +21672,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
21643
21672
  }
21644
21673
  return ids.size;
21645
21674
  }, [message.citations, sources]);
21646
- const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _571 => _571.length]), () => ( 0));
21675
+ const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _572 => _572.length]), () => ( 0));
21647
21676
  const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
21648
21677
  const visibleTabs = [];
21649
21678
  if (suggestionsCount > 0) visibleTabs.push("suggested");
@@ -21786,7 +21815,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
21786
21815
  return void 0;
21787
21816
  }
21788
21817
  })()));
21789
- if (_optionalChain([author, 'optionalAccess', _572 => _572.id])) userMap.set(author.id, author);
21818
+ if (_optionalChain([author, 'optionalAccess', _573 => _573.id])) userMap.set(author.id, author);
21790
21819
  }
21791
21820
  return Array.from(userMap.values());
21792
21821
  }, [resolved]);
@@ -21821,7 +21850,7 @@ function MessageItem({
21821
21850
  }) {
21822
21851
  const t = _nextintl.useTranslations.call(void 0, );
21823
21852
  const isUser = message.role === "user";
21824
- const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _573 => _573.has, 'call', _574 => _574(message.id)]);
21853
+ const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _574 => _574.has, 'call', _575 => _575(message.id)]);
21825
21854
  const markdownComponents = _react.useMemo.call(void 0,
21826
21855
  () => ({
21827
21856
  a: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ href, children }) => {
@@ -21838,7 +21867,7 @@ function MessageItem({
21838
21867
  isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
21839
21868
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
21840
21869
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
21841
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: () => _optionalChain([onRetry, 'optionalCall', _575 => _575(message.id)]), children: t("features.assistant.retry") })
21870
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: () => _optionalChain([onRetry, 'optionalCall', _576 => _576(message.id)]), children: t("features.assistant.retry") })
21842
21871
  ] })
21843
21872
  ] });
21844
21873
  }
@@ -21929,7 +21958,7 @@ function AssistantThread({
21929
21958
  }) {
21930
21959
  const endRef = _react.useRef.call(void 0, null);
21931
21960
  _react.useEffect.call(void 0, () => {
21932
- _optionalChain([endRef, 'access', _576 => _576.current, 'optionalAccess', _577 => _577.scrollIntoView, 'call', _578 => _578({ behavior: "smooth" })]);
21961
+ _optionalChain([endRef, 'access', _577 => _577.current, 'optionalAccess', _578 => _578.scrollIntoView, 'call', _579 => _579({ behavior: "smooth" })]);
21933
21962
  }, [messages.length, sending]);
21934
21963
  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: [
21935
21964
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -21959,7 +21988,7 @@ function AssistantContainer({ renderApprovalAction } = {}) {
21959
21988
  AssistantSidebar,
21960
21989
  {
21961
21990
  threads: ctx.threads,
21962
- activeId: _optionalChain([ctx, 'access', _579 => _579.assistant, 'optionalAccess', _580 => _580.id]),
21991
+ activeId: _optionalChain([ctx, 'access', _580 => _580.assistant, 'optionalAccess', _581 => _581.id]),
21963
21992
  onSelect: ctx.selectThread,
21964
21993
  onNew: ctx.startNew
21965
21994
  }
@@ -22013,7 +22042,7 @@ function flattenBlocks(blocks) {
22013
22042
  if (typeof inline === "string") return inline;
22014
22043
  if (!inline || typeof inline !== "object") return "";
22015
22044
  const node = inline;
22016
- if (node.type === "mention") return _nullishCoalesce(_optionalChain([node, 'access', _581 => _581.props, 'optionalAccess', _582 => _582.alias]), () => ( ""));
22045
+ if (node.type === "mention") return _nullishCoalesce(_optionalChain([node, 'access', _582 => _582.props, 'optionalAccess', _583 => _583.alias]), () => ( ""));
22017
22046
  if (typeof node.text === "string") return node.text;
22018
22047
  if (Array.isArray(node.content)) return node.content.map(readInline).join("");
22019
22048
  return "";
@@ -22129,7 +22158,7 @@ function AssistantPageContainer({
22129
22158
  AssistantSidebar,
22130
22159
  {
22131
22160
  threads: ctx.threads,
22132
- activeId: _optionalChain([ctx, 'access', _583 => _583.assistant, 'optionalAccess', _584 => _584.id]),
22161
+ activeId: _optionalChain([ctx, 'access', _584 => _584.assistant, 'optionalAccess', _585 => _585.id]),
22133
22162
  onSelect: ctx.selectThread,
22134
22163
  onNew: ctx.startNew
22135
22164
  }
@@ -22231,7 +22260,7 @@ function ApprovalActionCard({ actionId, summary, onResolved }) {
22231
22260
  try {
22232
22261
  const message = kind === "approve" ? await _chunkUYLS3LJWjs.AssistantActionService.approve({ id: actionId }) : await _chunkUYLS3LJWjs.AssistantActionService.deny({ id: actionId });
22233
22262
  setStatus(kind === "approve" ? "executed" : "denied");
22234
- if (message) _optionalChain([onResolved, 'optionalCall', _585 => _585(message)]);
22263
+ if (message) _optionalChain([onResolved, 'optionalCall', _586 => _586(message)]);
22235
22264
  } catch (error) {
22236
22265
  console.error(`ApprovalActionCard: failed to ${kind} assistant action ${actionId}`, error);
22237
22266
  setFailed(true);
@@ -22330,14 +22359,14 @@ function NotificationsList({ archived }) {
22330
22359
  ] }),
22331
22360
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
22332
22361
  ] }) }) }, i)) }), "LoadingSkeleton");
22333
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _586 => _586.data, 'optionalAccess', _587 => _587.map, 'call', _588 => _588((notification) => {
22362
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _587 => _587.data, 'optionalAccess', _588 => _588.map, 'call', _589 => _589((notification) => {
22334
22363
  const notificationData = generateNotificationData({ notification, generateUrl });
22335
22364
  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: [
22336
22365
  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: _chunkUYLS3LJWjs.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" }),
22337
22366
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
22338
22367
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
22339
22368
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
22340
- actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _589 => _589.actor, 'optionalAccess', _590 => _590.name]), () => ( "")),
22369
+ actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _590 => _590.actor, 'optionalAccess', _591 => _591.name]), () => ( "")),
22341
22370
  title: notificationData.title
22342
22371
  }) }),
22343
22372
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
@@ -22683,7 +22712,7 @@ var DEFAULT_TRANSLATIONS = {
22683
22712
  invalidEmail: "Please enter a valid email address"
22684
22713
  };
22685
22714
  async function copyToClipboard(text) {
22686
- if (_optionalChain([navigator, 'access', _591 => _591.clipboard, 'optionalAccess', _592 => _592.writeText])) {
22715
+ if (_optionalChain([navigator, 'access', _592 => _592.clipboard, 'optionalAccess', _593 => _593.writeText])) {
22687
22716
  try {
22688
22717
  await navigator.clipboard.writeText(text);
22689
22718
  return true;
@@ -22725,7 +22754,7 @@ function ReferralWidget({
22725
22754
  const linkInputRef = _react.useRef.call(void 0, null);
22726
22755
  const config = _chunkTULJCLZAjs.getReferralConfig.call(void 0, );
22727
22756
  const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
22728
- const referralUrl = _optionalChain([stats, 'optionalAccess', _593 => _593.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
22757
+ const referralUrl = _optionalChain([stats, 'optionalAccess', _594 => _594.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
22729
22758
  if (!_chunkTULJCLZAjs.isReferralEnabled.call(void 0, )) {
22730
22759
  return null;
22731
22760
  }
@@ -22735,7 +22764,7 @@ function ReferralWidget({
22735
22764
  if (success) {
22736
22765
  setCopied(true);
22737
22766
  _chunkUYLS3LJWjs.showToast.call(void 0, t.copiedMessage);
22738
- _optionalChain([onLinkCopied, 'optionalCall', _594 => _594()]);
22767
+ _optionalChain([onLinkCopied, 'optionalCall', _595 => _595()]);
22739
22768
  setTimeout(() => setCopied(false), 2e3);
22740
22769
  } else {
22741
22770
  _chunkUYLS3LJWjs.showError.call(void 0, t.copyError);
@@ -22749,12 +22778,12 @@ function ReferralWidget({
22749
22778
  try {
22750
22779
  await sendInvite(email);
22751
22780
  _chunkUYLS3LJWjs.showToast.call(void 0, t.inviteSent);
22752
- _optionalChain([onInviteSent, 'optionalCall', _595 => _595(email)]);
22781
+ _optionalChain([onInviteSent, 'optionalCall', _596 => _596(email)]);
22753
22782
  setEmail("");
22754
22783
  } catch (err) {
22755
22784
  const error2 = err instanceof Error ? err : new Error(t.inviteError);
22756
22785
  _chunkUYLS3LJWjs.showError.call(void 0, error2.message);
22757
- _optionalChain([onInviteError, 'optionalCall', _596 => _596(error2)]);
22786
+ _optionalChain([onInviteError, 'optionalCall', _597 => _597(error2)]);
22758
22787
  }
22759
22788
  }, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
22760
22789
  const handleEmailKeyDown = _react.useCallback.call(void 0,
@@ -23508,7 +23537,7 @@ function OAuthClientList({
23508
23537
  OAuthClientCard,
23509
23538
  {
23510
23539
  client,
23511
- onClick: () => _optionalChain([onClientClick, 'optionalCall', _597 => _597(client)]),
23540
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _598 => _598(client)]),
23512
23541
  onEdit: onEditClick ? () => onEditClick(client) : void 0,
23513
23542
  onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
23514
23543
  },
@@ -23524,11 +23553,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
23524
23553
  function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
23525
23554
  const isEditMode = !!client;
23526
23555
  const [formState, setFormState] = _react.useState.call(void 0, {
23527
- name: _optionalChain([client, 'optionalAccess', _598 => _598.name]) || "",
23528
- description: _optionalChain([client, 'optionalAccess', _599 => _599.description]) || "",
23529
- redirectUris: _optionalChain([client, 'optionalAccess', _600 => _600.redirectUris, 'optionalAccess', _601 => _601.length]) ? client.redirectUris : [""],
23530
- allowedScopes: _optionalChain([client, 'optionalAccess', _602 => _602.allowedScopes]) || [],
23531
- isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _603 => _603.isConfidential]), () => ( true))
23556
+ name: _optionalChain([client, 'optionalAccess', _599 => _599.name]) || "",
23557
+ description: _optionalChain([client, 'optionalAccess', _600 => _600.description]) || "",
23558
+ redirectUris: _optionalChain([client, 'optionalAccess', _601 => _601.redirectUris, 'optionalAccess', _602 => _602.length]) ? client.redirectUris : [""],
23559
+ allowedScopes: _optionalChain([client, 'optionalAccess', _603 => _603.allowedScopes]) || [],
23560
+ isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _604 => _604.isConfidential]), () => ( true))
23532
23561
  });
23533
23562
  const [errors, setErrors] = _react.useState.call(void 0, {});
23534
23563
  const validate = _react.useCallback.call(void 0, () => {
@@ -23756,7 +23785,7 @@ function OAuthClientDetail({
23756
23785
  ] }),
23757
23786
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
23758
23787
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
23759
- /* @__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([_chunkUYLS3LJWjs.OAUTH_SCOPE_DISPLAY, 'access', _604 => _604[scope], 'optionalAccess', _605 => _605.name]) || scope }, scope)) })
23788
+ /* @__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([_chunkUYLS3LJWjs.OAUTH_SCOPE_DISPLAY, 'access', _605 => _605[scope], 'optionalAccess', _606 => _606.name]) || scope }, scope)) })
23760
23789
  ] }),
23761
23790
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
23762
23791
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
@@ -23900,7 +23929,7 @@ function OAuthConsentScreen({
23900
23929
  if (error || !clientInfo) {
23901
23930
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-dvh 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: [
23902
23931
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
23903
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _606 => _606.message]) || "Invalid authorization request. Please try again." })
23932
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _607 => _607.message]) || "Invalid authorization request. Please try again." })
23904
23933
  ] }) }) }) });
23905
23934
  }
23906
23935
  const { client, scopes } = clientInfo;
@@ -24116,7 +24145,7 @@ function WaitlistForm({ onSuccess }) {
24116
24145
  questionnaire: values.questionnaire
24117
24146
  });
24118
24147
  setIsSuccess(true);
24119
- _optionalChain([onSuccess, 'optionalCall', _607 => _607()]);
24148
+ _optionalChain([onSuccess, 'optionalCall', _608 => _608()]);
24120
24149
  } catch (e) {
24121
24150
  errorToast({ error: e });
24122
24151
  } finally {
@@ -24764,7 +24793,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
24764
24793
  ] }),
24765
24794
  roleIds.map((roleId) => {
24766
24795
  const roleTokens = block[roleId];
24767
- const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _608 => _608[roleId]]), () => ( roleId));
24796
+ const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _609 => _609[roleId]]), () => ( roleId));
24768
24797
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
24769
24798
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
24770
24799
  _chunkTULJCLZAjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -24801,7 +24830,7 @@ function RbacContainer() {
24801
24830
  }, []);
24802
24831
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
24803
24832
  if (!matrix) return [];
24804
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _609 => _609[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _610 => _610[b]]), () => ( b))));
24833
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _610 => _610[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _611 => _611[b]]), () => ( b))));
24805
24834
  }, [matrix, moduleNames]);
24806
24835
  const roleIds = _react.useMemo.call(void 0, () => {
24807
24836
  if (roleNames) {
@@ -24864,7 +24893,7 @@ function RbacContainer() {
24864
24893
  id === selectedModuleId && "bg-muted font-medium text-foreground",
24865
24894
  id !== selectedModuleId && "text-muted-foreground"
24866
24895
  ),
24867
- children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _611 => _611[id]]), () => ( id))
24896
+ children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _612 => _612[id]]), () => ( id))
24868
24897
  }
24869
24898
  ) }, id)) }) }),
24870
24899
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -24872,7 +24901,7 @@ function RbacContainer() {
24872
24901
  {
24873
24902
  moduleId: selectedModuleId,
24874
24903
  block: selectedBlock,
24875
- moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _612 => _612[selectedModuleId]]), () => ( selectedModuleId)),
24904
+ moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _613 => _613[selectedModuleId]]), () => ( selectedModuleId)),
24876
24905
  roleIds,
24877
24906
  roleNames,
24878
24907
  onOpenPicker: openPicker
@@ -24883,12 +24912,12 @@ function RbacContainer() {
24883
24912
  RbacPermissionPicker,
24884
24913
  {
24885
24914
  open: !!activePicker,
24886
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _613 => _613.anchor]), () => ( null)),
24915
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _614 => _614.anchor]), () => ( null)),
24887
24916
  value: activeValue,
24888
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _614 => _614.isRoleColumn]), () => ( false)),
24917
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _615 => _615.isRoleColumn]), () => ( false)),
24889
24918
  knownSegments: activeSegments,
24890
24919
  onSetValue: handleSetValue,
24891
- onClear: _optionalChain([activePicker, 'optionalAccess', _615 => _615.isRoleColumn]) ? handleClear : void 0,
24920
+ onClear: _optionalChain([activePicker, 'optionalAccess', _616 => _616.isRoleColumn]) ? handleClear : void 0,
24892
24921
  onClose: closePicker
24893
24922
  }
24894
24923
  )
@@ -24955,7 +24984,7 @@ function RbacByRoleContainer() {
24955
24984
  }, [roleNames]);
24956
24985
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
24957
24986
  if (!matrix) return [];
24958
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _616 => _616[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _617 => _617[b]]), () => ( b))));
24987
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _617 => _617[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _618 => _618[b]]), () => ( b))));
24959
24988
  }, [matrix, moduleNames]);
24960
24989
  _react.useEffect.call(void 0, () => {
24961
24990
  if (!selectedRoleId && sortedRoleIds.length > 0) {
@@ -25004,7 +25033,7 @@ function RbacByRoleContainer() {
25004
25033
  id === selectedRoleId && "bg-muted font-medium text-foreground",
25005
25034
  id !== selectedRoleId && "text-muted-foreground"
25006
25035
  ),
25007
- children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _618 => _618[id]]), () => ( id))
25036
+ children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _619 => _619[id]]), () => ( id))
25008
25037
  }
25009
25038
  ) }, id)) }) }),
25010
25039
  /* @__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: [
@@ -25024,7 +25053,7 @@ function RbacByRoleContainer() {
25024
25053
  if (!block) return null;
25025
25054
  const defaultTokens = _nullishCoalesce(block.default, () => ( []));
25026
25055
  const roleTokens = block[selectedRoleId];
25027
- const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _619 => _619[moduleId]]), () => ( moduleId));
25056
+ const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _620 => _620[moduleId]]), () => ( moduleId));
25028
25057
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
25029
25058
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
25030
25059
  "td",
@@ -25039,7 +25068,7 @@ function RbacByRoleContainer() {
25039
25068
  _chunkTULJCLZAjs.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))
25040
25069
  ] }),
25041
25070
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
25042
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _620 => _620[selectedRoleId]]), () => ( selectedRoleId)) }),
25071
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _621 => _621[selectedRoleId]]), () => ( selectedRoleId)) }),
25043
25072
  _chunkTULJCLZAjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
25044
25073
  CellButton3,
25045
25074
  {
@@ -25060,12 +25089,12 @@ function RbacByRoleContainer() {
25060
25089
  RbacPermissionPicker,
25061
25090
  {
25062
25091
  open: !!activePicker,
25063
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _621 => _621.anchor]), () => ( null)),
25092
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _622 => _622.anchor]), () => ( null)),
25064
25093
  value: activeValue,
25065
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _622 => _622.isRoleColumn]), () => ( false)),
25094
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _623 => _623.isRoleColumn]), () => ( false)),
25066
25095
  knownSegments: activeSegments,
25067
25096
  onSetValue: handleSetValue,
25068
- onClear: _optionalChain([activePicker, 'optionalAccess', _623 => _623.isRoleColumn]) ? handleClear : void 0,
25097
+ onClear: _optionalChain([activePicker, 'optionalAccess', _624 => _624.isRoleColumn]) ? handleClear : void 0,
25069
25098
  onClose: closePicker
25070
25099
  }
25071
25100
  )
@@ -25648,5 +25677,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
25648
25677
 
25649
25678
 
25650
25679
 
25651
- 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.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.AdministrationProvider = AdministrationProvider; exports.useAdministrationContext = useAdministrationContext; 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.DirectionProvider = DirectionProvider; exports.useDir = useDir; 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.useHeaderMobileChildren = useHeaderMobileChildren; exports.useHeaderRootLabel = useHeaderRootLabel; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.HeaderLogoProvider = HeaderLogoProvider; exports.useHeaderLogo = useHeaderLogo; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.Header = Header; exports.MobileNavigationProvider = MobileNavigationProvider; exports.useMobileNavigationItems = useMobileNavigationItems; exports.MobileNavigationBar = MobileNavigationBar; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.partitionTabs = partitionTabs; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.HEADER_ROW_MIN_H = HEADER_ROW_MIN_H; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.PlatformUsersList = PlatformUsersList; exports.PlatformUsersContainer = PlatformUsersContainer; 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.SectionHeader = SectionHeader; exports.MicroLabel = MicroLabel; exports.DetailField = DetailField; 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.nextDateRange = nextDateRange; 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.MultiFileUploader = MultiFileUploader; 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.AdminIndexGrid = AdminIndexGrid; exports.AdminIndexContainer = AdminIndexContainer; exports.ADMINISTRATION_I18N_KEYS = ADMINISTRATION_I18N_KEYS; exports.AI_CONNECTIONS_I18N_KEYS = AI_CONNECTIONS_I18N_KEYS; exports.AI_CONNECTIONS_ADMIN_PAGE_URL = AI_CONNECTIONS_ADMIN_PAGE_URL; exports.AiConnectionsProvider = AiConnectionsProvider; exports.useAiConnections = useAiConnections; exports.AiConnectionDeleter = AiConnectionDeleter; exports.AiConnectionEditor = AiConnectionEditor; exports.AiConnectionTypeCard = AiConnectionTypeCard; exports.AI_CONNECTION_TYPE_ORDER = AI_CONNECTION_TYPE_ORDER; exports.AiConnectionsContainer = AiConnectionsContainer; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.CompaniesListContainer = CompaniesListContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; 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.AssistantBlockNoteComposer = AssistantBlockNoteComposer; exports.AssistantPageContainer = AssistantPageContainer; exports.ApprovalActionCard = ApprovalActionCard; exports.AssistantContainerWithApprovals = AssistantContainerWithApprovals; 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.ViewportProvider = ViewportProvider; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.formatInterval = formatInterval; exports.formatCurrency = formatCurrency; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
25652
- //# sourceMappingURL=chunk-SJ3EW2FD.js.map
25680
+
25681
+
25682
+ 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.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.AdministrationProvider = AdministrationProvider; exports.useAdministrationContext = useAdministrationContext; 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.DirectionProvider = DirectionProvider; exports.useDir = useDir; 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.useHeaderMobileChildren = useHeaderMobileChildren; exports.useHeaderRootLabel = useHeaderRootLabel; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.HeaderLogoProvider = HeaderLogoProvider; exports.useHeaderLogo = useHeaderLogo; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.Header = Header; exports.MobileNavigationProvider = MobileNavigationProvider; exports.useMobileNavigationItems = useMobileNavigationItems; exports.MobileNavigationBar = MobileNavigationBar; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.partitionTabs = partitionTabs; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.HEADER_ROW_MIN_H = HEADER_ROW_MIN_H; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.SectionHeader = SectionHeader; exports.MicroLabel = MicroLabel; exports.DetailField = DetailField; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.PlatformUsersList = PlatformUsersList; exports.PlatformUsersContainer = PlatformUsersContainer; 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.ActionBarProvider = ActionBarProvider; exports.useIsInActionBar = useIsInActionBar; 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.nextDateRange = nextDateRange; 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.MultiFileUploader = MultiFileUploader; 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.AdminIndexGrid = AdminIndexGrid; exports.AdminIndexContainer = AdminIndexContainer; exports.ADMINISTRATION_I18N_KEYS = ADMINISTRATION_I18N_KEYS; exports.AI_CONNECTIONS_I18N_KEYS = AI_CONNECTIONS_I18N_KEYS; exports.AI_CONNECTIONS_ADMIN_PAGE_URL = AI_CONNECTIONS_ADMIN_PAGE_URL; exports.AiConnectionsProvider = AiConnectionsProvider; exports.useAiConnections = useAiConnections; exports.AiConnectionDeleter = AiConnectionDeleter; exports.AiConnectionEditor = AiConnectionEditor; exports.AiConnectionTypeCard = AiConnectionTypeCard; exports.AI_CONNECTION_TYPE_ORDER = AI_CONNECTION_TYPE_ORDER; exports.AiConnectionsContainer = AiConnectionsContainer; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.CompaniesListContainer = CompaniesListContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; 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.AssistantBlockNoteComposer = AssistantBlockNoteComposer; exports.AssistantPageContainer = AssistantPageContainer; exports.ApprovalActionCard = ApprovalActionCard; exports.AssistantContainerWithApprovals = AssistantContainerWithApprovals; 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.ViewportProvider = ViewportProvider; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.formatInterval = formatInterval; exports.formatCurrency = formatCurrency; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
25683
+ //# sourceMappingURL=chunk-DOLEXUO3.js.map