@carlonicora/nextjs-jsonapi 3.8.2 → 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 (36) hide show
  1. package/dist/{BlockNoteEditor-34AZITDR.mjs → BlockNoteEditor-RGMU2O24.mjs} +2 -2
  2. package/dist/{BlockNoteEditor-KRGDA5RX.js → BlockNoteEditor-WY4LFMXQ.js} +9 -9
  3. package/dist/{BlockNoteEditor-KRGDA5RX.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-GXSXD4OR.mjs → chunk-7PNGCZES.mjs} +1711 -1687
  7. package/dist/chunk-7PNGCZES.mjs.map +1 -0
  8. package/dist/{chunk-DGAVM2LZ.js → chunk-DOLEXUO3.js} +172 -148
  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/shadcnui/ui/command.tsx +9 -0
  34. package/dist/chunk-DGAVM2LZ.js.map +0 -1
  35. package/dist/chunk-GXSXD4OR.mjs.map +0 -1
  36. /package/dist/{BlockNoteEditor-34AZITDR.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
@@ -8980,6 +8981,13 @@ var triggerAssociationToast = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
8980
8981
 
8981
8982
 
8982
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
+
8983
8991
  // src/components/errors/ErrorDetails.tsx
8984
8992
 
8985
8993
 
@@ -9021,10 +9029,13 @@ function CommonDeleter({
9021
9029
  forceShow,
9022
9030
  testId,
9023
9031
  trigger,
9032
+ showLabel,
9024
9033
  onSuccess,
9025
9034
  propagateChanges
9026
9035
  }) {
9027
9036
  const t = _chunkTULJCLZAjs.useI18nTranslations.call(void 0, );
9037
+ const inActionBar = useIsInActionBar();
9038
+ const isLabelled = _nullishCoalesce(showLabel, () => ( inActionBar));
9028
9039
  const router = _chunkTULJCLZAjs.useI18nRouter.call(void 0, );
9029
9040
  const [open, setOpen] = _react.useState.call(void 0, forceShow || false);
9030
9041
  const [isDeleting, setIsDeleting] = _react.useState.call(void 0, false);
@@ -9047,16 +9058,19 @@ function CommonDeleter({
9047
9058
  // <button> via `render` — wrapping it as a child would nest a <button>
9048
9059
  // inside AlertDialogTrigger's <button> (invalid HTML / hydration error).
9049
9060
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogTrigger, { render: trigger })
9050
- ) : /* @__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,
9051
9062
  Button,
9052
9063
  {
9053
9064
  render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {}),
9054
9065
  nativeButton: false,
9055
9066
  size: "sm",
9056
- variant: "ghost",
9067
+ variant: isLabelled ? "outline" : "ghost",
9057
9068
  className: "text-muted-foreground hover:text-destructive",
9058
9069
  "data-testid": testId,
9059
- 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
+ ]
9060
9074
  }
9061
9075
  ) }),
9062
9076
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogContent, { className: `flex max-h-[70vh] max-w-3xl flex-col overflow-y-auto`, children: [
@@ -9674,6 +9688,7 @@ function EditorSheet({
9674
9688
  hideSubmit,
9675
9689
  centerButtons,
9676
9690
  trigger,
9691
+ showLabel,
9677
9692
  forceShow,
9678
9693
  onClose,
9679
9694
  dialogOpen,
@@ -9684,6 +9699,8 @@ function EditorSheet({
9684
9699
  }) {
9685
9700
  const t = _nextintl.useTranslations.call(void 0, );
9686
9701
  const generateUrl = usePageUrlGenerator();
9702
+ const inActionBar = useIsInActionBar();
9703
+ const isLabelled = _nullishCoalesce(showLabel, () => ( inActionBar));
9687
9704
  const defaultIsFormDirty = _react.useCallback.call(void 0, () => {
9688
9705
  return Object.keys(form.formState.dirtyFields).length > 0;
9689
9706
  }, [form.formState.dirtyFields]);
@@ -9766,21 +9783,24 @@ function EditorSheet({
9766
9783
  SheetTrigger,
9767
9784
  {
9768
9785
  nativeButton: false,
9769
- render: isEdit ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9786
+ render: isEdit ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
9770
9787
  Button,
9771
9788
  {
9772
9789
  render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {}),
9773
9790
  nativeButton: false,
9774
9791
  size: "sm",
9775
- variant: "ghost",
9792
+ variant: isLabelled ? "outline" : "ghost",
9776
9793
  className: "text-muted-foreground",
9777
- 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
+ ]
9778
9798
  }
9779
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") })
9780
9800
  }
9781
9801
  )
9782
9802
  )),
9783
- /* @__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: [
9784
9804
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetHeader, { className: "border-b px-6 py-4", children: actions ? (
9785
9805
  // pe-10 clears the SheetContent close button, which sits at the
9786
9806
  // inline end of the sheet (absolute top-4 end-4).
@@ -9819,7 +9839,7 @@ function EditorSheet({
9819
9839
  ]
9820
9840
  }
9821
9841
  ) })
9822
- ] })
9842
+ ] }) })
9823
9843
  ] }),
9824
9844
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CommonEditorDiscardDialog, { ...discardDialogProps })
9825
9845
  ] });
@@ -10350,7 +10370,7 @@ FileInput.displayName = "FileInput";
10350
10370
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
10351
10371
 
10352
10372
 
10353
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-KRGDA5RX.js"))), {
10373
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-WY4LFMXQ.js"))), {
10354
10374
  ssr: false
10355
10375
  });
10356
10376
  var BlockNoteEditorContainer = React2.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -15314,7 +15334,7 @@ function RoundPageContainerTitle({
15314
15334
  ] })
15315
15335
  ] })
15316
15336
  ] }),
15317
- 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 }) })
15318
15338
  ] });
15319
15339
  }
15320
15340
  _chunk7QVYU63Ejs.__name.call(void 0, RoundPageContainerTitle, "RoundPageContainerTitle");
@@ -15326,11 +15346,17 @@ _chunk7QVYU63Ejs.__name.call(void 0, RoundPageContainerTitle, "RoundPageContaine
15326
15346
  var DETAILS_COOKIE_NAME = "round_page_details_state";
15327
15347
  var DETAILS_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
15328
15348
  var railTriggerClass = _chunkUYLS3LJWjs.cn.call(void 0,
15329
- "flex w-full items-center justify-start rounded-md px-3 py-1.5 text-start text-sm leading-tight whitespace-normal",
15330
- "text-muted-foreground",
15331
- "hover:bg-muted hover:text-foreground",
15332
- "data-[state=active]:bg-foreground data-[state=active]:text-background",
15333
- "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"
15334
15360
  );
15335
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");
15336
15362
  function RoundPageContainer({
@@ -15407,7 +15433,9 @@ function RoundPageContainer({
15407
15433
  },
15408
15434
  [module, id, rewriteUrl, onSectionChange]
15409
15435
  );
15410
- 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;
15411
15439
  const { ungrouped, groups } = _react.useMemo.call(void 0, () => partitionTabs(_nullishCoalesce(tabs, () => ( []))), [tabs]);
15412
15440
  const tabItems = _react.useMemo.call(void 0,
15413
15441
  () => Object.fromEntries((_nullishCoalesce(tabs, () => ( []))).map((tab) => [tabValue(tab), _nullishCoalesce(tab.contentLabel, () => ( tab.label))])),
@@ -15517,14 +15545,7 @@ function RoundPageContainer({
15517
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: [
15518
15546
  ungrouped.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)),
15519
15547
  groups.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
15520
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15521
- "div",
15522
- {
15523
- role: "presentation",
15524
- className: "text-muted-foreground px-3 pt-3 pb-1 text-[10px] font-bold tracking-wider uppercase",
15525
- children: group.label
15526
- }
15527
- ),
15548
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MicroLabel, { as: "span", role: "presentation", className: "block px-3 pt-3 pb-1", children: group.label }),
15528
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))
15529
15550
  ] }, group.label))
15530
15551
  ] })
@@ -15559,7 +15580,8 @@ function RoundPageContainer({
15559
15580
  "div",
15560
15581
  {
15561
15582
  className: _chunkUYLS3LJWjs.cn.call(void 0,
15562
- 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`
15563
15585
  ),
15564
15586
  children: [
15565
15587
  header,
@@ -15790,14 +15812,14 @@ function BlockNoteEditorMentionHoverCard({
15790
15812
  const entityType = target.dataset.mentionType;
15791
15813
  const alias = target.dataset.mentionAlias;
15792
15814
  setHovered((prev) => {
15793
- 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;
15794
15816
  return { id, entityType, alias, element: target };
15795
15817
  });
15796
15818
  }, "handleMouseOver");
15797
15819
  const handleMouseOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
15798
15820
  const target = e.target.closest("[data-mention-id]");
15799
15821
  if (!target) return;
15800
- 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]")]);
15801
15823
  if (related) return;
15802
15824
  scheduleClose();
15803
15825
  }, "handleMouseOut");
@@ -15811,7 +15833,7 @@ function BlockNoteEditorMentionHoverCard({
15811
15833
  }, [containerRef, mentionResolveFn, cancelClose, scheduleClose]);
15812
15834
  if (!hovered || !mentionResolveFn) return null;
15813
15835
  const resolved = mentionResolveFn(hovered.id, hovered.entityType, hovered.alias);
15814
- if (!_optionalChain([resolved, 'optionalAccess', _431 => _431.HoverContent])) return null;
15836
+ if (!_optionalChain([resolved, 'optionalAccess', _432 => _432.HoverContent])) return null;
15815
15837
  const ContentComponent = resolved.HoverContent;
15816
15838
  const rect = hovered.element.getBoundingClientRect();
15817
15839
  return _reactdom.createPortal.call(void 0,
@@ -15855,28 +15877,28 @@ var parseMentionElement = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
15855
15877
  }, "parseMentionElement");
15856
15878
  var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (resolveFn, disableMention, nameResolver) => {
15857
15879
  const MentionExternalHTML = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
15858
- 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));
15859
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: [
15860
15882
  "@",
15861
15883
  displayName
15862
15884
  ] });
15863
15885
  }, "MentionExternalHTML");
15864
15886
  const Mention = React2.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function Mention2(props) {
15865
- 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));
15866
15888
  if (disableMention) {
15867
- const resolved2 = _optionalChain([resolveFn, 'optionalCall', _434 => _434(props.id, props.entityType, displayName)]);
15868
- 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: [
15869
15891
  "@",
15870
15892
  displayName
15871
15893
  ] });
15872
15894
  }
15873
- const resolved = _optionalChain([resolveFn, 'optionalCall', _436 => _436(props.id, props.entityType, displayName)]);
15874
- 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])) {
15875
15897
  const Custom = resolved.Inline;
15876
15898
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Custom, { ...props, alias: displayName });
15877
15899
  }
15878
- const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _438 => _438.url]), () => ( "#"));
15879
- 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;
15880
15902
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15881
15903
  _link2.default,
15882
15904
  {
@@ -15984,7 +16006,7 @@ function BlockNoteEditorMentionSuggestionMenu({
15984
16006
  if (!suggestionMenuComponent) return void 0;
15985
16007
  const Component2 = suggestionMenuComponent;
15986
16008
  const Wrapped = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
15987
- 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;
15988
16010
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15989
16011
  Component2,
15990
16012
  {
@@ -15993,7 +16015,7 @@ function BlockNoteEditorMentionSuggestionMenu({
15993
16015
  selectedIndex: isSentinelOnly ? void 0 : props.selectedIndex,
15994
16016
  onItemClick: (item) => {
15995
16017
  if (item.title === KEEP_OPEN_SENTINEL_TITLE) return;
15996
- _optionalChain([props, 'access', _443 => _443.onItemClick, 'optionalCall', _444 => _444(item)]);
16018
+ _optionalChain([props, 'access', _444 => _444.onItemClick, 'optionalCall', _445 => _445(item)]);
15997
16019
  }
15998
16020
  }
15999
16021
  );
@@ -16188,10 +16210,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
16188
16210
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
16189
16211
  Checkbox,
16190
16212
  {
16191
- 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,
16192
16214
  onCheckedChange: (value) => {
16193
16215
  row.toggleSelected(!!value);
16194
- _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))]);
16195
16217
  },
16196
16218
  "aria-label": "Select row"
16197
16219
  }
@@ -16250,7 +16272,7 @@ function useJsonApiGet(params) {
16250
16272
  const [response, setResponse] = _react.useState.call(void 0, null);
16251
16273
  const isMounted = _react.useRef.call(void 0, true);
16252
16274
  const fetchData = _react.useCallback.call(void 0, async () => {
16253
- 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;
16254
16276
  setLoading(true);
16255
16277
  setError(null);
16256
16278
  try {
@@ -16277,9 +16299,9 @@ function useJsonApiGet(params) {
16277
16299
  setLoading(false);
16278
16300
  }
16279
16301
  }
16280
- }, [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])]);
16281
16303
  const fetchNextPage = _react.useCallback.call(void 0, async () => {
16282
- if (!_optionalChain([response, 'optionalAccess', _454 => _454.nextPage])) return;
16304
+ if (!_optionalChain([response, 'optionalAccess', _455 => _455.nextPage])) return;
16283
16305
  setLoading(true);
16284
16306
  try {
16285
16307
  const nextResponse = await response.nextPage();
@@ -16300,7 +16322,7 @@ function useJsonApiGet(params) {
16300
16322
  }
16301
16323
  }, [response]);
16302
16324
  const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
16303
- if (!_optionalChain([response, 'optionalAccess', _455 => _455.prevPage])) return;
16325
+ if (!_optionalChain([response, 'optionalAccess', _456 => _456.prevPage])) return;
16304
16326
  setLoading(true);
16305
16327
  try {
16306
16328
  const prevResponse = await response.prevPage();
@@ -16326,15 +16348,15 @@ function useJsonApiGet(params) {
16326
16348
  return () => {
16327
16349
  isMounted.current = false;
16328
16350
  };
16329
- }, [fetchData, ..._optionalChain([params, 'access', _456 => _456.options, 'optionalAccess', _457 => _457.deps]) || []]);
16351
+ }, [fetchData, ..._optionalChain([params, 'access', _457 => _457.options, 'optionalAccess', _458 => _458.deps]) || []]);
16330
16352
  return {
16331
16353
  data,
16332
16354
  loading,
16333
16355
  error,
16334
16356
  response,
16335
16357
  refetch: fetchData,
16336
- hasNextPage: !!_optionalChain([response, 'optionalAccess', _458 => _458.next]),
16337
- hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _459 => _459.prev]),
16358
+ hasNextPage: !!_optionalChain([response, 'optionalAccess', _459 => _459.next]),
16359
+ hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _460 => _460.prev]),
16338
16360
  fetchNextPage,
16339
16361
  fetchPreviousPage
16340
16362
  };
@@ -16412,17 +16434,17 @@ function useJsonApiMutation(config) {
16412
16434
  if (apiResponse.ok) {
16413
16435
  const resultData = apiResponse.data;
16414
16436
  setData(resultData);
16415
- _optionalChain([config, 'access', _460 => _460.onSuccess, 'optionalCall', _461 => _461(resultData)]);
16437
+ _optionalChain([config, 'access', _461 => _461.onSuccess, 'optionalCall', _462 => _462(resultData)]);
16416
16438
  return resultData;
16417
16439
  } else {
16418
16440
  setError(apiResponse.error);
16419
- _optionalChain([config, 'access', _462 => _462.onError, 'optionalCall', _463 => _463(apiResponse.error)]);
16441
+ _optionalChain([config, 'access', _463 => _463.onError, 'optionalCall', _464 => _464(apiResponse.error)]);
16420
16442
  return null;
16421
16443
  }
16422
16444
  } catch (err) {
16423
16445
  const errorMessage = err instanceof Error ? err.message : "Unknown error";
16424
16446
  setError(errorMessage);
16425
- _optionalChain([config, 'access', _464 => _464.onError, 'optionalCall', _465 => _465(errorMessage)]);
16447
+ _optionalChain([config, 'access', _465 => _465.onError, 'optionalCall', _466 => _466(errorMessage)]);
16426
16448
  return null;
16427
16449
  } finally {
16428
16450
  setLoading(false);
@@ -16495,7 +16517,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
16495
16517
  {
16496
16518
  href: hasRole(_chunkTULJCLZAjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
16497
16519
  page: "/administration",
16498
- 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)]),
16499
16521
  childPage: company.id
16500
16522
  }) : generateUrl({ page: _chunkUYLS3LJWjs.Modules.Company, id: company.id }),
16501
16523
  children: row.getValue("name")
@@ -16511,7 +16533,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
16511
16533
  })
16512
16534
  };
16513
16535
  const columns = _react.useMemo.call(void 0, () => {
16514
- 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);
16515
16537
  }, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
16516
16538
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
16517
16539
  }, "useCompanyTableStructure");
@@ -16523,7 +16545,7 @@ var GRACE_DAYS = 3;
16523
16545
  var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
16524
16546
  if (!currentUser || !_chunkTULJCLZAjs.isRolesConfigured.call(void 0, )) return false;
16525
16547
  const adminRoleId = _chunkTULJCLZAjs.getRoleId.call(void 0, ).Administrator;
16526
- 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)]);
16527
16549
  }, "isAdministrator");
16528
16550
  function useSubscriptionStatus() {
16529
16551
  const { company, currentUser } = useCurrentUserContext();
@@ -16641,7 +16663,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
16641
16663
  })
16642
16664
  };
16643
16665
  const columns = _react.useMemo.call(void 0, () => {
16644
- 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);
16645
16667
  }, [params.fields, fieldColumnMap, t, generateUrl]);
16646
16668
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
16647
16669
  }, "useRoleTableStructure");
@@ -16749,7 +16771,7 @@ var useStripePriceTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(
16749
16771
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1", children: [
16750
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") }),
16751
16773
  price.isTrial && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "softBlue", children: t("billing.admin.prices.badge.trial") }),
16752
- _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") })
16753
16775
  ] });
16754
16776
  }, "cell"),
16755
16777
  enableSorting: false,
@@ -16757,7 +16779,7 @@ var useStripePriceTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(
16757
16779
  })
16758
16780
  };
16759
16781
  const columns = _react.useMemo.call(void 0, () => {
16760
- 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);
16761
16783
  }, [params.fields, fieldColumnMap, t, generateUrl]);
16762
16784
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
16763
16785
  }, "useStripePriceTableStructure");
@@ -16816,7 +16838,7 @@ var useStripeProductTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.cal
16816
16838
  })
16817
16839
  };
16818
16840
  const columns = _react.useMemo.call(void 0, () => {
16819
- 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);
16820
16842
  }, [params.fields, fieldColumnMap, t, generateUrl]);
16821
16843
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
16822
16844
  }, "useStripeProductTableStructure");
@@ -16918,11 +16940,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
16918
16940
  return params.fields.map((field) => {
16919
16941
  const localHandler = fieldColumnMap[field];
16920
16942
  if (localHandler) return localHandler();
16921
- 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]]);
16922
16944
  if (customHandler) return customHandler({ t });
16923
16945
  return void 0;
16924
16946
  }).filter((col) => col !== void 0);
16925
- }, [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])]);
16926
16948
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
16927
16949
  }, "useContentTableStructure");
16928
16950
 
@@ -17260,7 +17282,7 @@ function ContentTableSearch({ data }) {
17260
17282
  const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
17261
17283
  if (!isExpanded) {
17262
17284
  setIsFocused(true);
17263
- 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);
17264
17286
  }
17265
17287
  }, "handleSearchIconClick");
17266
17288
  const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
@@ -17356,7 +17378,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17356
17378
  if (data.isLoaded) setPendingDirection(null);
17357
17379
  }, [data.isLoaded]);
17358
17380
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
17359
- data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _491 => _491.data]), () => ( EMPTY_ARRAY)),
17381
+ data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _492 => _492.data]), () => ( EMPTY_ARRAY)),
17360
17382
  fields,
17361
17383
  checkedIds,
17362
17384
  toggleId,
@@ -17389,7 +17411,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17389
17411
  });
17390
17412
  const rowModel = tableData ? table.getRowModel() : null;
17391
17413
  const groupedRows = _react.useMemo.call(void 0, () => {
17392
- 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;
17393
17415
  const groupMap = /* @__PURE__ */ new Map();
17394
17416
  for (const row of rowModel.rows) {
17395
17417
  const keys = getGroupKeys(row.original, props.groupBy);
@@ -17458,19 +17480,19 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17458
17480
  ) }),
17459
17481
  !props.hideHeader && table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
17460
17482
  const meta = header.column.columnDef.meta;
17461
- 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);
17462
17484
  }) }, headerGroup.id))
17463
17485
  ] }),
17464
- /* @__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: [
17465
- /* @__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)) }) }) }),
17466
17488
  group.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17467
17489
  TableRow,
17468
17490
  {
17469
- onClick: () => _optionalChain([onRowClick, 'optionalCall', _499 => _499(row.original.jsonApiData)]),
17491
+ onClick: () => _optionalChain([onRowClick, 'optionalCall', _500 => _500(row.original.jsonApiData)]),
17470
17492
  className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
17471
17493
  children: row.getVisibleCells().map((cell) => {
17472
17494
  const meta = cell.column.columnDef.meta;
17473
- 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);
17474
17496
  })
17475
17497
  },
17476
17498
  row.id
@@ -17478,11 +17500,11 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17478
17500
  ] }, group.groupKey)) : rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17479
17501
  TableRow,
17480
17502
  {
17481
- onClick: () => _optionalChain([onRowClick, 'optionalCall', _501 => _501(row.original.jsonApiData)]),
17503
+ onClick: () => _optionalChain([onRowClick, 'optionalCall', _502 => _502(row.original.jsonApiData)]),
17482
17504
  className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
17483
17505
  children: row.getVisibleCells().map((cell) => {
17484
17506
  const meta = cell.column.columnDef.meta;
17485
- 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);
17486
17508
  })
17487
17509
  },
17488
17510
  row.id
@@ -17496,7 +17518,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17496
17518
  onClick: (e) => {
17497
17519
  e.preventDefault();
17498
17520
  setPendingDirection("prev");
17499
- _optionalChain([data, 'access', _503 => _503.previous, 'optionalCall', _504 => _504(true)]);
17521
+ _optionalChain([data, 'access', _504 => _504.previous, 'optionalCall', _505 => _505(true)]);
17500
17522
  },
17501
17523
  disabled: !data.previous || pendingDirection !== null,
17502
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" })
@@ -17511,7 +17533,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17511
17533
  onClick: (e) => {
17512
17534
  e.preventDefault();
17513
17535
  setPendingDirection("next");
17514
- _optionalChain([data, 'access', _505 => _505.next, 'optionalCall', _506 => _506(true)]);
17536
+ _optionalChain([data, 'access', _506 => _506.next, 'optionalCall', _507 => _507(true)]);
17515
17537
  },
17516
17538
  disabled: !data.next || pendingDirection !== null,
17517
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" })
@@ -17532,7 +17554,7 @@ function ContentListGrid(props) {
17532
17554
  if (!data.next || !sentinelRef.current) return;
17533
17555
  const observer = new IntersectionObserver(
17534
17556
  (entries) => {
17535
- 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()]);
17536
17558
  },
17537
17559
  { threshold: 0.1, rootMargin: "200px" }
17538
17560
  );
@@ -18319,7 +18341,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
18319
18341
  newDigits[index] = digit;
18320
18342
  setDigits(newDigits);
18321
18343
  if (digit && index < 5) {
18322
- _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()]);
18323
18345
  }
18324
18346
  const code = newDigits.join("");
18325
18347
  if (code.length === 6 && newDigits.every((d) => d !== "")) {
@@ -18328,7 +18350,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
18328
18350
  }, "handleChange");
18329
18351
  const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
18330
18352
  if (e.key === "Backspace" && !digits[index] && index > 0) {
18331
- _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()]);
18332
18354
  }
18333
18355
  }, "handleKeyDown");
18334
18356
  const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
@@ -18337,7 +18359,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
18337
18359
  if (pastedData.length === 6) {
18338
18360
  const newDigits = pastedData.split("");
18339
18361
  setDigits(newDigits);
18340
- _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()]);
18341
18363
  onComplete(pastedData);
18342
18364
  }
18343
18365
  }, "handlePaste");
@@ -18548,8 +18570,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
18548
18570
  try {
18549
18571
  const registrationData = await _chunkUYLS3LJWjs.TwoFactorService.getPasskeyRegistrationOptions({
18550
18572
  id: _uuid.v4.call(void 0, ),
18551
- userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _523 => _523.email]), () => ( "")),
18552
- userDisplayName: _optionalChain([currentUser, 'optionalAccess', _524 => _524.name])
18573
+ userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _524 => _524.email]), () => ( "")),
18574
+ userDisplayName: _optionalChain([currentUser, 'optionalAccess', _525 => _525.name])
18553
18575
  });
18554
18576
  const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
18555
18577
  await _chunkUYLS3LJWjs.TwoFactorService.verifyPasskeyRegistration({
@@ -18700,7 +18722,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
18700
18722
  const setup = await _chunkUYLS3LJWjs.TwoFactorService.setupTotp({
18701
18723
  id: _uuid.v4.call(void 0, ),
18702
18724
  name: name.trim(),
18703
- accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _525 => _525.email]), () => ( ""))
18725
+ accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _526 => _526.email]), () => ( ""))
18704
18726
  });
18705
18727
  setQrCodeUri(setup.qrCodeUri);
18706
18728
  setAuthenticatorId(setup.authenticatorId);
@@ -18834,7 +18856,7 @@ function TwoFactorSettings() {
18834
18856
  if (isLoading) {
18835
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") }) }) });
18836
18858
  }
18837
- const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _526 => _526.isEnabled]), () => ( false));
18859
+ const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _527 => _527.isEnabled]), () => ( false));
18838
18860
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
18839
18861
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
18840
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" }),
@@ -18872,7 +18894,7 @@ function TwoFactorSettings() {
18872
18894
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
18873
18895
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
18874
18896
  ] }),
18875
- /* @__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 })
18876
18898
  ] }) }),
18877
18899
  !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
18878
18900
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
@@ -19050,9 +19072,9 @@ function AcceptInvitation() {
19050
19072
  });
19051
19073
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
19052
19074
  try {
19053
- if (!_optionalChain([params, 'optionalAccess', _528 => _528.code])) return;
19075
+ if (!_optionalChain([params, 'optionalAccess', _529 => _529.code])) return;
19054
19076
  const payload = {
19055
- code: _optionalChain([params, 'optionalAccess', _529 => _529.code]),
19077
+ code: _optionalChain([params, 'optionalAccess', _530 => _530.code]),
19056
19078
  password: values.password
19057
19079
  };
19058
19080
  await _chunkUYLS3LJWjs.AuthService.acceptInvitation(payload);
@@ -19423,14 +19445,14 @@ function RefreshUser() {
19423
19445
  setUser(fullUser);
19424
19446
  const token = {
19425
19447
  userId: fullUser.id,
19426
- companyId: _optionalChain([fullUser, 'access', _530 => _530.company, 'optionalAccess', _531 => _531.id]),
19448
+ companyId: _optionalChain([fullUser, 'access', _531 => _531.company, 'optionalAccess', _532 => _532.id]),
19427
19449
  roles: fullUser.roles.map((role) => role.id),
19428
- 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)]), () => ( [])),
19429
19451
  modules: fullUser.modules.map((module) => {
19430
19452
  return { id: module.id, permissions: module.permissions };
19431
19453
  })
19432
19454
  };
19433
- 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)]);
19434
19456
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
19435
19457
  }
19436
19458
  }, "loadFullUser");
@@ -19494,9 +19516,9 @@ function ResetPassword() {
19494
19516
  });
19495
19517
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
19496
19518
  try {
19497
- if (!_optionalChain([params, 'optionalAccess', _538 => _538.code])) return;
19519
+ if (!_optionalChain([params, 'optionalAccess', _539 => _539.code])) return;
19498
19520
  const payload = {
19499
- code: _optionalChain([params, 'optionalAccess', _539 => _539.code]),
19521
+ code: _optionalChain([params, 'optionalAccess', _540 => _540.code]),
19500
19522
  password: values.password
19501
19523
  };
19502
19524
  await _chunkUYLS3LJWjs.AuthService.resetPassword(payload);
@@ -20021,7 +20043,7 @@ function AiConnectionEditor({
20021
20043
  const registryRows = _react.useMemo.call(void 0, () => _nullishCoalesce(providerRegistry[connectionType], () => ( [])), [providerRegistry, connectionType]);
20022
20044
  const providers = _react.useMemo.call(void 0, () => registryRows.map((row) => row.provider), [registryRows]);
20023
20045
  const fieldsFor = _react.useCallback.call(void 0,
20024
- (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]), () => ( [])),
20025
20047
  [registryRows]
20026
20048
  );
20027
20049
  const defaultsFor = _react.useCallback.call(void 0,
@@ -20030,7 +20052,7 @@ function AiConnectionEditor({
20030
20052
  const seeded = {};
20031
20053
  fieldsFor(provider).forEach((descriptor) => {
20032
20054
  if (descriptor.kind === "boolean") {
20033
- const current2 = _optionalChain([stored, 'optionalAccess', _543 => _543[descriptor.field]]);
20055
+ const current2 = _optionalChain([stored, 'optionalAccess', _544 => _544[descriptor.field]]);
20034
20056
  seeded[descriptor.field] = current2 !== void 0 && current2 !== null ? current2 === true : descriptor.default === true;
20035
20057
  return;
20036
20058
  }
@@ -20038,7 +20060,7 @@ function AiConnectionEditor({
20038
20060
  seeded[descriptor.field] = "";
20039
20061
  return;
20040
20062
  }
20041
- const current = _optionalChain([stored, 'optionalAccess', _544 => _544[descriptor.field]]);
20063
+ const current = _optionalChain([stored, 'optionalAccess', _545 => _545[descriptor.field]]);
20042
20064
  if (current !== void 0 && current !== null) seeded[descriptor.field] = String(current);
20043
20065
  else seeded[descriptor.field] = descriptor.default !== void 0 ? String(descriptor.default) : "";
20044
20066
  });
@@ -20064,7 +20086,7 @@ function AiConnectionEditor({
20064
20086
  values: _zod3.z.record(_zod3.z.string(), _zod3.z.any())
20065
20087
  }).superRefine((data, ctx) => {
20066
20088
  fieldsFor(data.provider).filter((descriptor) => descriptor.required).forEach((descriptor) => {
20067
- 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]]);
20068
20090
  const filled = descriptor.kind === "secret" ? !!value || hasStoredSecret(descriptor.field) : descriptor.kind === "boolean" ? value !== void 0 : value !== void 0 && value !== null && String(value).trim() !== "";
20069
20091
  if (filled) return;
20070
20092
  ctx.addIssue({
@@ -20078,11 +20100,11 @@ function AiConnectionEditor({
20078
20100
  );
20079
20101
  const getDefaultValues = _react.useCallback.call(void 0,
20080
20102
  () => ({
20081
- id: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _547 => _547.id]), () => ( _uuid.v4.call(void 0, ))),
20082
- name: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _548 => _548.name]), () => ( "")),
20083
- provider: _nullishCoalesce(_nullishCoalesce(_optionalChain([connection, 'optionalAccess', _549 => _549.provider]), () => ( providers[0])), () => ( "")),
20084
- enabled: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _550 => _550.enabled]), () => ( true)),
20085
- 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])), () => ( "")))
20086
20108
  }),
20087
20109
  [connection, providers, defaultsFor]
20088
20110
  );
@@ -20093,7 +20115,7 @@ function AiConnectionEditor({
20093
20115
  _react.useEffect.call(void 0, () => {
20094
20116
  if (registryRows.length === 0) return;
20095
20117
  const currentProvider = form.getValues("provider");
20096
- const provider = currentProvider || _optionalChain([connection, 'optionalAccess', _552 => _552.provider]) || providers[0] || "";
20118
+ const provider = currentProvider || _optionalChain([connection, 'optionalAccess', _553 => _553.provider]) || providers[0] || "";
20097
20119
  if (!provider) return;
20098
20120
  if (provider !== currentProvider) form.setValue("provider", provider);
20099
20121
  const currentValues = form.getValues("values");
@@ -20164,7 +20186,7 @@ function AiConnectionEditor({
20164
20186
  {
20165
20187
  form,
20166
20188
  entityType: t("ai_connections.admin.entity"),
20167
- entityName: _optionalChain([connection, 'optionalAccess', _553 => _553.name]),
20189
+ entityName: _optionalChain([connection, 'optionalAccess', _554 => _554.name]),
20168
20190
  isEdit,
20169
20191
  module: _chunkUYLS3LJWjs.Modules.AiConnection,
20170
20192
  size: "md",
@@ -20172,7 +20194,7 @@ function AiConnectionEditor({
20172
20194
  onSubmit: async (values) => {
20173
20195
  const attributes = {};
20174
20196
  fieldsFor(values.provider).forEach((descriptor) => {
20175
- 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]]));
20176
20198
  if (coerced !== void 0) attributes[descriptor.field] = coerced;
20177
20199
  });
20178
20200
  const payload = {
@@ -20393,7 +20415,7 @@ function AiConnectionTypeCard({ connectionType }) {
20393
20415
  ),
20394
20416
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-muted/40 flex flex-wrap items-center gap-2 px-3 py-2", children: [
20395
20417
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "softGray", children: t("ai_connections.admin.env_fallback") }),
20396
- /* @__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 ") })
20397
20419
  ] })
20398
20420
  ] })
20399
20421
  ] })
@@ -20591,7 +20613,7 @@ function extractHeadings(blocks) {
20591
20613
  function processBlocks(blockArray) {
20592
20614
  for (const block of blockArray) {
20593
20615
  if (block.type === "heading") {
20594
- 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;
20595
20617
  const text = extractTextFromContent(block.content);
20596
20618
  if (text.trim()) {
20597
20619
  headings.push({
@@ -20934,7 +20956,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
20934
20956
  })
20935
20957
  };
20936
20958
  const columns = _react.useMemo.call(void 0, () => {
20937
- 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);
20938
20960
  }, [params.fields, fieldColumnMap, t, generateUrl]);
20939
20961
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
20940
20962
  }, "useHowToTableStructure");
@@ -21033,7 +21055,7 @@ function HowToSelector({
21033
21055
  }, "setHowTo");
21034
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: [
21035
21057
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
21036
- /* @__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 }) }))) }) }) }),
21037
21059
  field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
21038
21060
  _lucidereact.CircleX,
21039
21061
  {
@@ -21427,10 +21449,10 @@ function CitationsTab({ citations, sources }) {
21427
21449
  ] }) }),
21428
21450
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
21429
21451
  const isOpen = expanded.has(chunk.id);
21430
- 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;
21431
21453
  const typeLabel = chunk.nodeType ? entityLabel(chunk.nodeType) : t("features.assistant.message.sources.source");
21432
21454
  const fallbackName = chunk.nodeId ? `${typeLabel} ${chunk.nodeId.slice(0, 8)}` : typeLabel;
21433
- const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _567 => _567.name]), () => ( fallbackName));
21455
+ const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _568 => _568.name]), () => ( fallbackName));
21434
21456
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
21435
21457
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
21436
21458
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -21478,7 +21500,7 @@ function ContentsTab({ citations, sources }) {
21478
21500
  for (const c of citations) {
21479
21501
  const id = c.nodeId;
21480
21502
  if (!id) continue;
21481
- 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)]);
21482
21504
  if (!source) continue;
21483
21505
  const existing = map.get(id);
21484
21506
  if (existing) {
@@ -21545,7 +21567,7 @@ function UsersTab({ users, citations, sources }) {
21545
21567
  const generate = usePageUrlGenerator();
21546
21568
  const userMap = /* @__PURE__ */ new Map();
21547
21569
  for (const u of users) {
21548
- if (!_optionalChain([u, 'optionalAccess', _570 => _570.id])) continue;
21570
+ if (!_optionalChain([u, 'optionalAccess', _571 => _571.id])) continue;
21549
21571
  userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
21550
21572
  }
21551
21573
  if (citations && sources) {
@@ -21650,7 +21672,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
21650
21672
  }
21651
21673
  return ids.size;
21652
21674
  }, [message.citations, sources]);
21653
- const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _571 => _571.length]), () => ( 0));
21675
+ const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _572 => _572.length]), () => ( 0));
21654
21676
  const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
21655
21677
  const visibleTabs = [];
21656
21678
  if (suggestionsCount > 0) visibleTabs.push("suggested");
@@ -21793,7 +21815,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
21793
21815
  return void 0;
21794
21816
  }
21795
21817
  })()));
21796
- 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);
21797
21819
  }
21798
21820
  return Array.from(userMap.values());
21799
21821
  }, [resolved]);
@@ -21828,7 +21850,7 @@ function MessageItem({
21828
21850
  }) {
21829
21851
  const t = _nextintl.useTranslations.call(void 0, );
21830
21852
  const isUser = message.role === "user";
21831
- 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)]);
21832
21854
  const markdownComponents = _react.useMemo.call(void 0,
21833
21855
  () => ({
21834
21856
  a: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ href, children }) => {
@@ -21845,7 +21867,7 @@ function MessageItem({
21845
21867
  isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
21846
21868
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
21847
21869
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
21848
- /* @__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") })
21849
21871
  ] })
21850
21872
  ] });
21851
21873
  }
@@ -21936,7 +21958,7 @@ function AssistantThread({
21936
21958
  }) {
21937
21959
  const endRef = _react.useRef.call(void 0, null);
21938
21960
  _react.useEffect.call(void 0, () => {
21939
- _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" })]);
21940
21962
  }, [messages.length, sending]);
21941
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: [
21942
21964
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -21966,7 +21988,7 @@ function AssistantContainer({ renderApprovalAction } = {}) {
21966
21988
  AssistantSidebar,
21967
21989
  {
21968
21990
  threads: ctx.threads,
21969
- activeId: _optionalChain([ctx, 'access', _579 => _579.assistant, 'optionalAccess', _580 => _580.id]),
21991
+ activeId: _optionalChain([ctx, 'access', _580 => _580.assistant, 'optionalAccess', _581 => _581.id]),
21970
21992
  onSelect: ctx.selectThread,
21971
21993
  onNew: ctx.startNew
21972
21994
  }
@@ -22020,7 +22042,7 @@ function flattenBlocks(blocks) {
22020
22042
  if (typeof inline === "string") return inline;
22021
22043
  if (!inline || typeof inline !== "object") return "";
22022
22044
  const node = inline;
22023
- 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]), () => ( ""));
22024
22046
  if (typeof node.text === "string") return node.text;
22025
22047
  if (Array.isArray(node.content)) return node.content.map(readInline).join("");
22026
22048
  return "";
@@ -22136,7 +22158,7 @@ function AssistantPageContainer({
22136
22158
  AssistantSidebar,
22137
22159
  {
22138
22160
  threads: ctx.threads,
22139
- activeId: _optionalChain([ctx, 'access', _583 => _583.assistant, 'optionalAccess', _584 => _584.id]),
22161
+ activeId: _optionalChain([ctx, 'access', _584 => _584.assistant, 'optionalAccess', _585 => _585.id]),
22140
22162
  onSelect: ctx.selectThread,
22141
22163
  onNew: ctx.startNew
22142
22164
  }
@@ -22238,7 +22260,7 @@ function ApprovalActionCard({ actionId, summary, onResolved }) {
22238
22260
  try {
22239
22261
  const message = kind === "approve" ? await _chunkUYLS3LJWjs.AssistantActionService.approve({ id: actionId }) : await _chunkUYLS3LJWjs.AssistantActionService.deny({ id: actionId });
22240
22262
  setStatus(kind === "approve" ? "executed" : "denied");
22241
- if (message) _optionalChain([onResolved, 'optionalCall', _585 => _585(message)]);
22263
+ if (message) _optionalChain([onResolved, 'optionalCall', _586 => _586(message)]);
22242
22264
  } catch (error) {
22243
22265
  console.error(`ApprovalActionCard: failed to ${kind} assistant action ${actionId}`, error);
22244
22266
  setFailed(true);
@@ -22337,14 +22359,14 @@ function NotificationsList({ archived }) {
22337
22359
  ] }),
22338
22360
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
22339
22361
  ] }) }) }, i)) }), "LoadingSkeleton");
22340
- 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) => {
22341
22363
  const notificationData = generateNotificationData({ notification, generateUrl });
22342
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: [
22343
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" }),
22344
22366
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
22345
22367
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
22346
22368
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
22347
- 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]), () => ( "")),
22348
22370
  title: notificationData.title
22349
22371
  }) }),
22350
22372
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
@@ -22690,7 +22712,7 @@ var DEFAULT_TRANSLATIONS = {
22690
22712
  invalidEmail: "Please enter a valid email address"
22691
22713
  };
22692
22714
  async function copyToClipboard(text) {
22693
- if (_optionalChain([navigator, 'access', _591 => _591.clipboard, 'optionalAccess', _592 => _592.writeText])) {
22715
+ if (_optionalChain([navigator, 'access', _592 => _592.clipboard, 'optionalAccess', _593 => _593.writeText])) {
22694
22716
  try {
22695
22717
  await navigator.clipboard.writeText(text);
22696
22718
  return true;
@@ -22732,7 +22754,7 @@ function ReferralWidget({
22732
22754
  const linkInputRef = _react.useRef.call(void 0, null);
22733
22755
  const config = _chunkTULJCLZAjs.getReferralConfig.call(void 0, );
22734
22756
  const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
22735
- 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}` : "";
22736
22758
  if (!_chunkTULJCLZAjs.isReferralEnabled.call(void 0, )) {
22737
22759
  return null;
22738
22760
  }
@@ -22742,7 +22764,7 @@ function ReferralWidget({
22742
22764
  if (success) {
22743
22765
  setCopied(true);
22744
22766
  _chunkUYLS3LJWjs.showToast.call(void 0, t.copiedMessage);
22745
- _optionalChain([onLinkCopied, 'optionalCall', _594 => _594()]);
22767
+ _optionalChain([onLinkCopied, 'optionalCall', _595 => _595()]);
22746
22768
  setTimeout(() => setCopied(false), 2e3);
22747
22769
  } else {
22748
22770
  _chunkUYLS3LJWjs.showError.call(void 0, t.copyError);
@@ -22756,12 +22778,12 @@ function ReferralWidget({
22756
22778
  try {
22757
22779
  await sendInvite(email);
22758
22780
  _chunkUYLS3LJWjs.showToast.call(void 0, t.inviteSent);
22759
- _optionalChain([onInviteSent, 'optionalCall', _595 => _595(email)]);
22781
+ _optionalChain([onInviteSent, 'optionalCall', _596 => _596(email)]);
22760
22782
  setEmail("");
22761
22783
  } catch (err) {
22762
22784
  const error2 = err instanceof Error ? err : new Error(t.inviteError);
22763
22785
  _chunkUYLS3LJWjs.showError.call(void 0, error2.message);
22764
- _optionalChain([onInviteError, 'optionalCall', _596 => _596(error2)]);
22786
+ _optionalChain([onInviteError, 'optionalCall', _597 => _597(error2)]);
22765
22787
  }
22766
22788
  }, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
22767
22789
  const handleEmailKeyDown = _react.useCallback.call(void 0,
@@ -23515,7 +23537,7 @@ function OAuthClientList({
23515
23537
  OAuthClientCard,
23516
23538
  {
23517
23539
  client,
23518
- onClick: () => _optionalChain([onClientClick, 'optionalCall', _597 => _597(client)]),
23540
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _598 => _598(client)]),
23519
23541
  onEdit: onEditClick ? () => onEditClick(client) : void 0,
23520
23542
  onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
23521
23543
  },
@@ -23531,11 +23553,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
23531
23553
  function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
23532
23554
  const isEditMode = !!client;
23533
23555
  const [formState, setFormState] = _react.useState.call(void 0, {
23534
- name: _optionalChain([client, 'optionalAccess', _598 => _598.name]) || "",
23535
- description: _optionalChain([client, 'optionalAccess', _599 => _599.description]) || "",
23536
- redirectUris: _optionalChain([client, 'optionalAccess', _600 => _600.redirectUris, 'optionalAccess', _601 => _601.length]) ? client.redirectUris : [""],
23537
- allowedScopes: _optionalChain([client, 'optionalAccess', _602 => _602.allowedScopes]) || [],
23538
- 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))
23539
23561
  });
23540
23562
  const [errors, setErrors] = _react.useState.call(void 0, {});
23541
23563
  const validate = _react.useCallback.call(void 0, () => {
@@ -23763,7 +23785,7 @@ function OAuthClientDetail({
23763
23785
  ] }),
23764
23786
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
23765
23787
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
23766
- /* @__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)) })
23767
23789
  ] }),
23768
23790
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
23769
23791
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
@@ -23907,7 +23929,7 @@ function OAuthConsentScreen({
23907
23929
  if (error || !clientInfo) {
23908
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: [
23909
23931
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
23910
- /* @__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." })
23911
23933
  ] }) }) }) });
23912
23934
  }
23913
23935
  const { client, scopes } = clientInfo;
@@ -24123,7 +24145,7 @@ function WaitlistForm({ onSuccess }) {
24123
24145
  questionnaire: values.questionnaire
24124
24146
  });
24125
24147
  setIsSuccess(true);
24126
- _optionalChain([onSuccess, 'optionalCall', _607 => _607()]);
24148
+ _optionalChain([onSuccess, 'optionalCall', _608 => _608()]);
24127
24149
  } catch (e) {
24128
24150
  errorToast({ error: e });
24129
24151
  } finally {
@@ -24771,7 +24793,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
24771
24793
  ] }),
24772
24794
  roleIds.map((roleId) => {
24773
24795
  const roleTokens = block[roleId];
24774
- const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _608 => _608[roleId]]), () => ( roleId));
24796
+ const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _609 => _609[roleId]]), () => ( roleId));
24775
24797
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
24776
24798
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
24777
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,
@@ -24808,7 +24830,7 @@ function RbacContainer() {
24808
24830
  }, []);
24809
24831
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
24810
24832
  if (!matrix) return [];
24811
- 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))));
24812
24834
  }, [matrix, moduleNames]);
24813
24835
  const roleIds = _react.useMemo.call(void 0, () => {
24814
24836
  if (roleNames) {
@@ -24871,7 +24893,7 @@ function RbacContainer() {
24871
24893
  id === selectedModuleId && "bg-muted font-medium text-foreground",
24872
24894
  id !== selectedModuleId && "text-muted-foreground"
24873
24895
  ),
24874
- children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _611 => _611[id]]), () => ( id))
24896
+ children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _612 => _612[id]]), () => ( id))
24875
24897
  }
24876
24898
  ) }, id)) }) }),
24877
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,
@@ -24879,7 +24901,7 @@ function RbacContainer() {
24879
24901
  {
24880
24902
  moduleId: selectedModuleId,
24881
24903
  block: selectedBlock,
24882
- moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _612 => _612[selectedModuleId]]), () => ( selectedModuleId)),
24904
+ moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _613 => _613[selectedModuleId]]), () => ( selectedModuleId)),
24883
24905
  roleIds,
24884
24906
  roleNames,
24885
24907
  onOpenPicker: openPicker
@@ -24890,12 +24912,12 @@ function RbacContainer() {
24890
24912
  RbacPermissionPicker,
24891
24913
  {
24892
24914
  open: !!activePicker,
24893
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _613 => _613.anchor]), () => ( null)),
24915
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _614 => _614.anchor]), () => ( null)),
24894
24916
  value: activeValue,
24895
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _614 => _614.isRoleColumn]), () => ( false)),
24917
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _615 => _615.isRoleColumn]), () => ( false)),
24896
24918
  knownSegments: activeSegments,
24897
24919
  onSetValue: handleSetValue,
24898
- onClear: _optionalChain([activePicker, 'optionalAccess', _615 => _615.isRoleColumn]) ? handleClear : void 0,
24920
+ onClear: _optionalChain([activePicker, 'optionalAccess', _616 => _616.isRoleColumn]) ? handleClear : void 0,
24899
24921
  onClose: closePicker
24900
24922
  }
24901
24923
  )
@@ -24962,7 +24984,7 @@ function RbacByRoleContainer() {
24962
24984
  }, [roleNames]);
24963
24985
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
24964
24986
  if (!matrix) return [];
24965
- 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))));
24966
24988
  }, [matrix, moduleNames]);
24967
24989
  _react.useEffect.call(void 0, () => {
24968
24990
  if (!selectedRoleId && sortedRoleIds.length > 0) {
@@ -25011,7 +25033,7 @@ function RbacByRoleContainer() {
25011
25033
  id === selectedRoleId && "bg-muted font-medium text-foreground",
25012
25034
  id !== selectedRoleId && "text-muted-foreground"
25013
25035
  ),
25014
- children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _618 => _618[id]]), () => ( id))
25036
+ children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _619 => _619[id]]), () => ( id))
25015
25037
  }
25016
25038
  ) }, id)) }) }),
25017
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: [
@@ -25031,7 +25053,7 @@ function RbacByRoleContainer() {
25031
25053
  if (!block) return null;
25032
25054
  const defaultTokens = _nullishCoalesce(block.default, () => ( []));
25033
25055
  const roleTokens = block[selectedRoleId];
25034
- const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _619 => _619[moduleId]]), () => ( moduleId));
25056
+ const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _620 => _620[moduleId]]), () => ( moduleId));
25035
25057
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
25036
25058
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
25037
25059
  "td",
@@ -25046,7 +25068,7 @@ function RbacByRoleContainer() {
25046
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))
25047
25069
  ] }),
25048
25070
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
25049
- /* @__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)) }),
25050
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,
25051
25073
  CellButton3,
25052
25074
  {
@@ -25067,12 +25089,12 @@ function RbacByRoleContainer() {
25067
25089
  RbacPermissionPicker,
25068
25090
  {
25069
25091
  open: !!activePicker,
25070
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _621 => _621.anchor]), () => ( null)),
25092
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _622 => _622.anchor]), () => ( null)),
25071
25093
  value: activeValue,
25072
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _622 => _622.isRoleColumn]), () => ( false)),
25094
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _623 => _623.isRoleColumn]), () => ( false)),
25073
25095
  knownSegments: activeSegments,
25074
25096
  onSetValue: handleSetValue,
25075
- onClear: _optionalChain([activePicker, 'optionalAccess', _623 => _623.isRoleColumn]) ? handleClear : void 0,
25097
+ onClear: _optionalChain([activePicker, 'optionalAccess', _624 => _624.isRoleColumn]) ? handleClear : void 0,
25076
25098
  onClose: closePicker
25077
25099
  }
25078
25100
  )
@@ -25655,5 +25677,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
25655
25677
 
25656
25678
 
25657
25679
 
25658
- 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;
25659
- //# sourceMappingURL=chunk-DGAVM2LZ.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