@carlonicora/nextjs-jsonapi 1.91.0 → 1.92.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -617,7 +617,7 @@ function BreadcrumbEllipsis({ className, ...props }) {
617
617
  _chunk7QVYU63Ejs.__name.call(void 0, BreadcrumbEllipsis, "BreadcrumbEllipsis");
618
618
 
619
619
  // src/shadcnui/ui/calendar.tsx
620
- var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React3 = _interopRequireWildcard(_react); var React4 = _interopRequireWildcard(_react); var React5 = _interopRequireWildcard(_react); var React6 = _interopRequireWildcard(_react); var React7 = _interopRequireWildcard(_react); var React8 = _interopRequireWildcard(_react); var React9 = _interopRequireWildcard(_react); var React10 = _interopRequireWildcard(_react); var React11 = _interopRequireWildcard(_react); var React15 = _interopRequireWildcard(_react);
620
+ var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React3 = _interopRequireWildcard(_react); var React4 = _interopRequireWildcard(_react); var React5 = _interopRequireWildcard(_react); var React6 = _interopRequireWildcard(_react); var React7 = _interopRequireWildcard(_react); var React8 = _interopRequireWildcard(_react); var React9 = _interopRequireWildcard(_react); var React10 = _interopRequireWildcard(_react); var React11 = _interopRequireWildcard(_react); var React16 = _interopRequireWildcard(_react);
621
621
  var _reactdaypicker = require('react-day-picker');
622
622
 
623
623
 
@@ -9207,11 +9207,14 @@ function FormCheckbox({ form, id, name, labelBefore, description, isRequired })
9207
9207
  }
9208
9208
  _chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
9209
9209
 
9210
+ // src/components/forms/FormBlockNote.tsx
9211
+
9212
+
9210
9213
  // src/components/editors/BlockNoteEditorContainer.tsx
9211
9214
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
9212
9215
 
9213
9216
 
9214
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-IQAOVSUT.js"))), {
9217
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-OIBKJNWJ.js"))), {
9215
9218
  ssr: false
9216
9219
  });
9217
9220
  var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -9239,6 +9242,8 @@ function FormBlockNote({
9239
9242
  mentionSearchParams,
9240
9243
  mentionResolveFn
9241
9244
  }) {
9245
+ const initialContentRef = _react.useRef.call(void 0, null);
9246
+ const lastEditorContentRef = _react.useRef.call(void 0, void 0);
9242
9247
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9243
9248
  "div",
9244
9249
  {
@@ -9256,27 +9261,34 @@ function FormBlockNote({
9256
9261
  isRequired,
9257
9262
  description,
9258
9263
  testId,
9259
- children: (field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9260
- BlockNoteEditorContainer,
9261
- {
9262
- id: form.getValues("id"),
9263
- type,
9264
- initialContent: field.value,
9265
- onChange: (content, isEmpty) => {
9266
- field.onChange(content);
9267
- _optionalChain([onEmptyChange, 'optionalCall', _255 => _255(isEmpty)]);
9268
- },
9269
- placeholder,
9270
- bordered: true,
9271
- inlineContentSpecs,
9272
- renderOverlays,
9273
- enableMentions,
9274
- mentionSearchFn,
9275
- mentionSearchParams,
9276
- mentionResolveFn,
9277
- className: _chunkXAWKRNYMjs.cn.call(void 0, stretch && "min-h-0 flex-1")
9264
+ children: (field) => {
9265
+ const isInternalChange = lastEditorContentRef.current !== void 0 && field.value === lastEditorContentRef.current;
9266
+ if (!isInternalChange) {
9267
+ initialContentRef.current = field.value;
9278
9268
  }
9279
- )
9269
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9270
+ BlockNoteEditorContainer,
9271
+ {
9272
+ id: form.getValues("id"),
9273
+ type,
9274
+ initialContent: initialContentRef.current,
9275
+ onChange: (content, isEmpty) => {
9276
+ lastEditorContentRef.current = content;
9277
+ field.onChange(content);
9278
+ _optionalChain([onEmptyChange, 'optionalCall', _255 => _255(isEmpty)]);
9279
+ },
9280
+ placeholder,
9281
+ bordered: true,
9282
+ inlineContentSpecs,
9283
+ renderOverlays,
9284
+ enableMentions,
9285
+ mentionSearchFn,
9286
+ mentionSearchParams,
9287
+ mentionResolveFn,
9288
+ className: _chunkXAWKRNYMjs.cn.call(void 0, stretch && "min-h-0 flex-1")
9289
+ }
9290
+ );
9291
+ }
9280
9292
  }
9281
9293
  )
9282
9294
  }
@@ -9665,9 +9677,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormInput, "FormInput");
9665
9677
 
9666
9678
 
9667
9679
 
9668
- var PasswordInput = React15.forwardRef(
9680
+ var PasswordInput = React16.forwardRef(
9669
9681
  ({ className, type: _type, ...props }, ref) => {
9670
- const [showPassword, setShowPassword] = React15.useState(false);
9682
+ const [showPassword, setShowPassword] = React16.useState(false);
9671
9683
  const disabled = props.value === "" || props.value === void 0 || props.disabled;
9672
9684
  const t = _nextintl.useTranslations.call(void 0, );
9673
9685
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
@@ -13070,10 +13082,13 @@ _chunk7QVYU63Ejs.__name.call(void 0, TableCellAvatar, "TableCellAvatar");
13070
13082
 
13071
13083
 
13072
13084
 
13085
+
13073
13086
  var ITEMS_TO_DISPLAY = 4;
13074
- function BreadcrumbNavigation({ items }) {
13075
- const generateUrl = usePageUrlGenerator();
13076
- const t = _nextintl.useTranslations.call(void 0, );
13087
+ function BreadcrumbDesktop({
13088
+ items,
13089
+ generateUrl,
13090
+ t
13091
+ }) {
13077
13092
  const [open, setOpen] = _react.useState.call(void 0, false);
13078
13093
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Breadcrumb, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, BreadcrumbList, { children: [
13079
13094
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BreadcrumbItem, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: `/` }), children: t(`common.home`) }) }),
@@ -13096,6 +13111,36 @@ function BreadcrumbNavigation({ items }) {
13096
13111
  ] }, index)) })
13097
13112
  ] }) });
13098
13113
  }
13114
+ _chunk7QVYU63Ejs.__name.call(void 0, BreadcrumbDesktop, "BreadcrumbDesktop");
13115
+ function BreadcrumbMobile({
13116
+ items,
13117
+ generateUrl,
13118
+ t
13119
+ }) {
13120
+ const [open, setOpen] = _react.useState.call(void 0, false);
13121
+ const lastItem = items[items.length - 1];
13122
+ const allItems = [{ name: t(`common.home`), href: generateUrl({ page: `/` }) }, ...items];
13123
+ if (!lastItem && items.length === 0) {
13124
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Breadcrumb, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BreadcrumbList, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BreadcrumbItem, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: `/` }), children: t(`common.home`) }) }) }) });
13125
+ }
13126
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DropdownMenu, { open, onOpenChange: setOpen, children: [
13127
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DropdownMenuTrigger, { className: "text-foreground text-xs/relaxed font-normal hover:bg-accent flex items-center gap-1 rounded-md px-1.5 py-0.5 transition-colors outline-none", children: [
13128
+ _optionalChain([lastItem, 'optionalAccess', _352 => _352.name]),
13129
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon, { className: "text-muted-foreground size-3.5" })
13130
+ ] }),
13131
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuContent, { align: "start", children: allItems.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuItem, { children: item.href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: item.href, children: item.name }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: item.name }) }, index)) })
13132
+ ] });
13133
+ }
13134
+ _chunk7QVYU63Ejs.__name.call(void 0, BreadcrumbMobile, "BreadcrumbMobile");
13135
+ function BreadcrumbNavigation({ items }) {
13136
+ const generateUrl = usePageUrlGenerator();
13137
+ const t = _nextintl.useTranslations.call(void 0, );
13138
+ const isMobile = _chunkXAWKRNYMjs.useIsMobile.call(void 0, );
13139
+ if (isMobile) {
13140
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BreadcrumbMobile, { items, generateUrl, t });
13141
+ }
13142
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BreadcrumbDesktop, { items, generateUrl, t });
13143
+ }
13099
13144
  _chunk7QVYU63Ejs.__name.call(void 0, BreadcrumbNavigation, "BreadcrumbNavigation");
13100
13145
 
13101
13146
  // src/components/navigations/ContentTitle.tsx
@@ -13135,11 +13180,12 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContentTitle, "ContentTitle");
13135
13180
 
13136
13181
  function Header({ children, leftContent, className }) {
13137
13182
  const { breadcrumbs } = useSharedContext();
13183
+ const isMobile = _chunkXAWKRNYMjs.useIsMobile.call(void 0, );
13138
13184
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "header", { className: `sticky top-0 z-10 flex h-12 flex-col items-center justify-start gap-x-4 ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-sidebar flex h-12 w-full flex-row items-center justify-between pl-2 pr-4", children: [
13139
13185
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SidebarTrigger, { "aria-label": "Toggle sidebar", id: "sidebar-trigger" }),
13140
13186
  leftContent,
13141
13187
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BreadcrumbNavigation, { items: breadcrumbs }) }),
13142
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-64 flex-row items-center justify-end gap-x-4 whitespace-nowrap", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-row items-center justify-end gap-x-4 whitespace-nowrap", children: children ? children : null }) })
13188
+ !isMobile && children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-64 flex-row items-center justify-end gap-x-4 whitespace-nowrap", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-row items-center justify-end gap-x-4 whitespace-nowrap", children }) })
13143
13189
  ] }) });
13144
13190
  }
13145
13191
  _chunk7QVYU63Ejs.__name.call(void 0, Header, "Header");
@@ -13332,8 +13378,9 @@ function RoundPageContainerTitle({
13332
13378
  setShowDetails
13333
13379
  }) {
13334
13380
  const { title } = useSharedContext();
13335
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between border-b p-4", children: [
13336
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full gap-x-4", children: [
13381
+ const isMobile = _chunkXAWKRNYMjs.useIsMobile.call(void 0, );
13382
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkXAWKRNYMjs.cn.call(void 0, `flex w-full flex-row items-center border-b p-4`, isMobile ? `justify-end` : `justify-between`), children: [
13383
+ !isMobile && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full gap-x-4", children: [
13337
13384
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-muted-foreground flex items-center gap-x-2 text-lg font-light whitespace-nowrap", children: [
13338
13385
  module && module.icon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, module.icon, { className: "text-primary h-6 w-6" }) : title.icon,
13339
13386
  title.type
@@ -13378,9 +13425,14 @@ function RoundPageContainer({
13378
13425
  const headerChildren = useHeaderChildren();
13379
13426
  const headerLeftContent = useHeaderLeftContent();
13380
13427
  const [showDetails, setShowDetailsState] = _react.useState.call(void 0, false);
13428
+ const isMobile = _chunkXAWKRNYMjs.useIsMobile.call(void 0, );
13429
+ const [mounted, setMounted] = _react.useState.call(void 0, false);
13381
13430
  _react.useEffect.call(void 0, () => {
13382
13431
  const match = document.cookie.split("; ").find((row) => row.startsWith(`${DETAILS_COOKIE_NAME}=`));
13383
- if (_optionalChain([match, 'optionalAccess', _352 => _352.split, 'call', _353 => _353("="), 'access', _354 => _354[1]]) === "true") setShowDetailsState(true);
13432
+ if (_optionalChain([match, 'optionalAccess', _353 => _353.split, 'call', _354 => _354("="), 'access', _355 => _355[1]]) === "true") setShowDetailsState(true);
13433
+ }, []);
13434
+ _react.useEffect.call(void 0, () => {
13435
+ setMounted(true);
13384
13436
  }, []);
13385
13437
  const setShowDetails = _react.useCallback.call(void 0, (value) => {
13386
13438
  setShowDetailsState(value);
@@ -13389,20 +13441,34 @@ function RoundPageContainer({
13389
13441
  const searchParams = _navigation.useSearchParams.call(void 0, );
13390
13442
  const section = searchParams.get("section");
13391
13443
  const rewriteUrl = useUrlRewriter();
13392
- const initialValue = tabs ? (section && tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _355 => _355.key, 'optionalAccess', _356 => _356.name]), () => ( i.label))) === section) ? section : null) || (_nullishCoalesce(_optionalChain([tabs, 'access', _357 => _357[0], 'access', _358 => _358.key, 'optionalAccess', _359 => _359.name]), () => ( tabs[0].label))) : void 0;
13444
+ const initialValue = tabs ? (section && tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _356 => _356.key, 'optionalAccess', _357 => _357.name]), () => ( i.label))) === section) ? section : null) || (_nullishCoalesce(_optionalChain([tabs, 'access', _358 => _358[0], 'access', _359 => _359.key, 'optionalAccess', _360 => _360.name]), () => ( tabs[0].label))) : void 0;
13393
13445
  const [activeTab, setActiveTab] = _react.useState.call(void 0, initialValue);
13394
13446
  _react.useEffect.call(void 0, () => {
13395
13447
  if (tabs && section) {
13396
- const tab = tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _360 => _360.key, 'optionalAccess', _361 => _361.name]), () => ( i.label))) === section);
13448
+ const tab = tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _361 => _361.key, 'optionalAccess', _362 => _362.name]), () => ( i.label))) === section);
13397
13449
  if (tab) {
13398
13450
  setActiveTab(section);
13399
13451
  }
13400
13452
  }
13401
13453
  }, [section, tabs]);
13402
- const activeFillHeight = _optionalChain([tabs, 'optionalAccess', _362 => _362.find, 'call', _363 => _363((t) => (_nullishCoalesce(_optionalChain([t, 'access', _364 => _364.key, 'optionalAccess', _365 => _365.name]), () => ( t.label))) === activeTab), 'optionalAccess', _366 => _366.fillHeight]) === true;
13454
+ const handleTabChange = _react.useCallback.call(void 0,
13455
+ (key) => {
13456
+ setActiveTab(key);
13457
+ if (module && id) rewriteUrl({ page: module, id, additionalParameters: { section: key } });
13458
+ },
13459
+ [module, id, rewriteUrl]
13460
+ );
13461
+ const activeFillHeight = _optionalChain([tabs, 'optionalAccess', _363 => _363.find, 'call', _364 => _364((t) => (_nullishCoalesce(_optionalChain([t, 'access', _365 => _365.key, 'optionalAccess', _366 => _366.name]), () => ( t.label))) === activeTab), 'optionalAccess', _367 => _367.fillHeight]) === true;
13462
+ const isReady = mounted && isMobile !== void 0;
13463
+ if (!isReady) {
13464
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
13465
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { leftContent: headerLeftContent, className: "bg-sidebar border-0", children: headerChildren }),
13466
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkXAWKRNYMjs.cn.call(void 0, "flex h-[calc(100vh-3rem)] w-full flex-col", isMobile ? "" : "p-2 pt-0 pl-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkXAWKRNYMjs.cn.call(void 0, "bg-background flex h-full w-full", isMobile ? "" : "rounded-lg border p-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col" }) }) })
13467
+ ] });
13468
+ }
13403
13469
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
13404
13470
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { leftContent: headerLeftContent, className: "bg-sidebar border-0", children: headerChildren }),
13405
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[calc(100vh-3rem)] w-full flex-col p-2 pt-0 pl-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-background flex h-full w-full rounded-lg border p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
13471
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkXAWKRNYMjs.cn.call(void 0, `flex h-[calc(100vh-3rem)] w-full flex-col`, isMobile ? "p-1 pt-0" : "p-2 pt-0 pl-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-background flex h-full w-full rounded-lg border p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
13406
13472
  (!fullWidth || forceHeader) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13407
13473
  RoundPageContainerTitle,
13408
13474
  {
@@ -13418,7 +13484,8 @@ function RoundPageContainer({
13418
13484
  "div",
13419
13485
  {
13420
13486
  className: _chunkXAWKRNYMjs.cn.call(void 0,
13421
- `grow p-4`,
13487
+ `grow`,
13488
+ isMobile ? `p-2` : `p-4`,
13422
13489
  activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto`,
13423
13490
  fullWidth && `p-0`
13424
13491
  ),
@@ -13436,21 +13503,33 @@ function RoundPageContainer({
13436
13503
  {
13437
13504
  value: activeTab,
13438
13505
  className: _chunkXAWKRNYMjs.cn.call(void 0, `w-full`, activeFillHeight && `flex flex-1 min-h-0 flex-col`),
13439
- onValueChange: (key) => {
13440
- setActiveTab(key);
13441
- if (module && id)
13442
- rewriteUrl({ page: module, id, additionalParameters: { section: key } });
13443
- },
13506
+ onValueChange: handleTabChange,
13444
13507
  children: [
13445
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { className: ``, children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: _nullishCoalesce(_optionalChain([tab, 'access', _367 => _367.key, 'optionalAccess', _368 => _368.name]), () => ( tab.label)), className: `px-4`, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
13508
+ isMobile ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
13509
+ Select,
13510
+ {
13511
+ value: activeTab,
13512
+ onValueChange: (value) => {
13513
+ if (value) handleTabChange(value);
13514
+ },
13515
+ children: [
13516
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, {}) }),
13517
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectContent, { children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: _nullishCoalesce(_optionalChain([tab, 'access', _368 => _368.key, 'optionalAccess', _369 => _369.name]), () => ( tab.label)), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) })
13518
+ ]
13519
+ }
13520
+ ) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: _nullishCoalesce(_optionalChain([tab, 'access', _370 => _370.key, 'optionalAccess', _371 => _371.name]), () => ( tab.label)), className: "px-4", children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
13446
13521
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13447
13522
  "div",
13448
13523
  {
13449
- className: _chunkXAWKRNYMjs.cn.call(void 0, `flex w-full px-4`, activeFillHeight ? `flex-1 min-h-0` : `overflow-y-auto`),
13524
+ className: _chunkXAWKRNYMjs.cn.call(void 0,
13525
+ `flex w-full `,
13526
+ isMobile ? `` : `px-4`,
13527
+ activeFillHeight ? `flex-1 min-h-0` : `overflow-y-auto`
13528
+ ),
13450
13529
  children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13451
13530
  TabsContent,
13452
13531
  {
13453
- value: _nullishCoalesce(_optionalChain([tab, 'access', _369 => _369.key, 'optionalAccess', _370 => _370.name]), () => ( tab.label)),
13532
+ value: _nullishCoalesce(_optionalChain([tab, 'access', _372 => _372.key, 'optionalAccess', _373 => _373.name]), () => ( tab.label)),
13454
13533
  className: tab.fillHeight ? `flex flex-1 min-h-0 w-full flex-col` : `pb-20`,
13455
13534
  children: tab.content
13456
13535
  },
@@ -13461,13 +13540,16 @@ function RoundPageContainer({
13461
13540
  ]
13462
13541
  }
13463
13542
  ),
13464
- children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex px-4", children })
13543
+ children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkXAWKRNYMjs.cn.call(void 0, `flex`, isMobile ? `px-2` : `px-4`), children })
13465
13544
  ] }) : children
13466
13545
  }
13467
13546
  )
13468
13547
  }
13469
13548
  ),
13470
- details && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13549
+ details && (isMobile ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Sheet, { open: showDetails, onOpenChange: setShowDetails, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SheetContent, { side: "right", children: [
13550
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetTitle, { children: "Details" }) }),
13551
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-y-auto p-6 pt-0", children: details })
13552
+ ] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13471
13553
  "div",
13472
13554
  {
13473
13555
  className: _chunkXAWKRNYMjs.cn.call(void 0,
@@ -13476,7 +13558,7 @@ function RoundPageContainer({
13476
13558
  ),
13477
13559
  children: details
13478
13560
  }
13479
- )
13561
+ ))
13480
13562
  ] })
13481
13563
  ] }) }) })
13482
13564
  ] });
@@ -13575,14 +13657,14 @@ function BlockNoteEditorMentionHoverCard({
13575
13657
  const entityType = target.dataset.mentionType;
13576
13658
  const alias = target.dataset.mentionAlias;
13577
13659
  setHovered((prev) => {
13578
- if (_optionalChain([prev, 'optionalAccess', _371 => _371.id]) === id && _optionalChain([prev, 'optionalAccess', _372 => _372.element]) === target) return prev;
13660
+ if (_optionalChain([prev, 'optionalAccess', _374 => _374.id]) === id && _optionalChain([prev, 'optionalAccess', _375 => _375.element]) === target) return prev;
13579
13661
  return { id, entityType, alias, element: target };
13580
13662
  });
13581
13663
  }, "handleMouseOver");
13582
13664
  const handleMouseOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
13583
13665
  const target = e.target.closest("[data-mention-id]");
13584
13666
  if (!target) return;
13585
- const related = _optionalChain([e, 'access', _373 => _373.relatedTarget, 'optionalAccess', _374 => _374.closest, 'call', _375 => _375("[data-mention-id]")]);
13667
+ const related = _optionalChain([e, 'access', _376 => _376.relatedTarget, 'optionalAccess', _377 => _377.closest, 'call', _378 => _378("[data-mention-id]")]);
13586
13668
  if (related) return;
13587
13669
  scheduleClose();
13588
13670
  }, "handleMouseOut");
@@ -13596,7 +13678,7 @@ function BlockNoteEditorMentionHoverCard({
13596
13678
  }, [containerRef, mentionResolveFn, cancelClose, scheduleClose]);
13597
13679
  if (!hovered || !mentionResolveFn) return null;
13598
13680
  const resolved = mentionResolveFn(hovered.id, hovered.entityType, hovered.alias);
13599
- if (!_optionalChain([resolved, 'optionalAccess', _376 => _376.HoverContent])) return null;
13681
+ if (!_optionalChain([resolved, 'optionalAccess', _379 => _379.HoverContent])) return null;
13600
13682
  const ContentComponent = resolved.HoverContent;
13601
13683
  const rect = hovered.element.getBoundingClientRect();
13602
13684
  return _reactdom.createPortal.call(void 0,
@@ -13633,19 +13715,19 @@ var mentionDataAttrs = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (p)
13633
13715
  var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (resolveFn, disableMention) => {
13634
13716
  const Mention = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function Mention2(props) {
13635
13717
  if (disableMention) {
13636
- const resolved2 = _optionalChain([resolveFn, 'optionalCall', _377 => _377(props.id, props.entityType, props.alias)]);
13637
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess', _378 => _378.url]), () => ( "#")), className: "text-primary", children: [
13718
+ const resolved2 = _optionalChain([resolveFn, 'optionalCall', _380 => _380(props.id, props.entityType, props.alias)]);
13719
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess', _381 => _381.url]), () => ( "#")), className: "text-primary", children: [
13638
13720
  "@",
13639
13721
  props.alias
13640
13722
  ] });
13641
13723
  }
13642
- const resolved = _optionalChain([resolveFn, 'optionalCall', _379 => _379(props.id, props.entityType, props.alias)]);
13643
- if (_optionalChain([resolved, 'optionalAccess', _380 => _380.Inline])) {
13724
+ const resolved = _optionalChain([resolveFn, 'optionalCall', _382 => _382(props.id, props.entityType, props.alias)]);
13725
+ if (_optionalChain([resolved, 'optionalAccess', _383 => _383.Inline])) {
13644
13726
  const Custom = resolved.Inline;
13645
13727
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Custom, { ...props });
13646
13728
  }
13647
- const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _381 => _381.url]), () => ( "#"));
13648
- const handleClick = _optionalChain([resolved, 'optionalAccess', _382 => _382.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
13729
+ const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _384 => _384.url]), () => ( "#"));
13730
+ const handleClick = _optionalChain([resolved, 'optionalAccess', _385 => _385.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
13649
13731
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href, className: "text-primary", onClick: handleClick, ...mentionDataAttrs(props), children: [
13650
13732
  "@",
13651
13733
  props.alias
@@ -13896,10 +13978,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
13896
13978
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13897
13979
  Checkbox,
13898
13980
  {
13899
- checked: _optionalChain([params, 'access', _383 => _383.checkedIds, 'optionalAccess', _384 => _384.includes, 'call', _385 => _385(row.getValue(params.name))]) || false,
13981
+ checked: _optionalChain([params, 'access', _386 => _386.checkedIds, 'optionalAccess', _387 => _387.includes, 'call', _388 => _388(row.getValue(params.name))]) || false,
13900
13982
  onCheckedChange: (value) => {
13901
13983
  row.toggleSelected(!!value);
13902
- _optionalChain([params, 'access', _386 => _386.toggleId, 'optionalCall', _387 => _387(row.getValue(params.name))]);
13984
+ _optionalChain([params, 'access', _389 => _389.toggleId, 'optionalCall', _390 => _390(row.getValue(params.name))]);
13903
13985
  },
13904
13986
  "aria-label": "Select row"
13905
13987
  }
@@ -13958,7 +14040,7 @@ function useJsonApiGet(params) {
13958
14040
  const [response, setResponse] = _react.useState.call(void 0, null);
13959
14041
  const isMounted = _react.useRef.call(void 0, true);
13960
14042
  const fetchData = _react.useCallback.call(void 0, async () => {
13961
- if (_optionalChain([params, 'access', _388 => _388.options, 'optionalAccess', _389 => _389.enabled]) === false) return;
14043
+ if (_optionalChain([params, 'access', _391 => _391.options, 'optionalAccess', _392 => _392.enabled]) === false) return;
13962
14044
  setLoading(true);
13963
14045
  setError(null);
13964
14046
  try {
@@ -13985,9 +14067,9 @@ function useJsonApiGet(params) {
13985
14067
  setLoading(false);
13986
14068
  }
13987
14069
  }
13988
- }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _390 => _390.options, 'optionalAccess', _391 => _391.enabled])]);
14070
+ }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _393 => _393.options, 'optionalAccess', _394 => _394.enabled])]);
13989
14071
  const fetchNextPage = _react.useCallback.call(void 0, async () => {
13990
- if (!_optionalChain([response, 'optionalAccess', _392 => _392.nextPage])) return;
14072
+ if (!_optionalChain([response, 'optionalAccess', _395 => _395.nextPage])) return;
13991
14073
  setLoading(true);
13992
14074
  try {
13993
14075
  const nextResponse = await response.nextPage();
@@ -14008,7 +14090,7 @@ function useJsonApiGet(params) {
14008
14090
  }
14009
14091
  }, [response]);
14010
14092
  const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
14011
- if (!_optionalChain([response, 'optionalAccess', _393 => _393.prevPage])) return;
14093
+ if (!_optionalChain([response, 'optionalAccess', _396 => _396.prevPage])) return;
14012
14094
  setLoading(true);
14013
14095
  try {
14014
14096
  const prevResponse = await response.prevPage();
@@ -14034,15 +14116,15 @@ function useJsonApiGet(params) {
14034
14116
  return () => {
14035
14117
  isMounted.current = false;
14036
14118
  };
14037
- }, [fetchData, ..._optionalChain([params, 'access', _394 => _394.options, 'optionalAccess', _395 => _395.deps]) || []]);
14119
+ }, [fetchData, ..._optionalChain([params, 'access', _397 => _397.options, 'optionalAccess', _398 => _398.deps]) || []]);
14038
14120
  return {
14039
14121
  data,
14040
14122
  loading,
14041
14123
  error,
14042
14124
  response,
14043
14125
  refetch: fetchData,
14044
- hasNextPage: !!_optionalChain([response, 'optionalAccess', _396 => _396.next]),
14045
- hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _397 => _397.prev]),
14126
+ hasNextPage: !!_optionalChain([response, 'optionalAccess', _399 => _399.next]),
14127
+ hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _400 => _400.prev]),
14046
14128
  fetchNextPage,
14047
14129
  fetchPreviousPage
14048
14130
  };
@@ -14120,17 +14202,17 @@ function useJsonApiMutation(config) {
14120
14202
  if (apiResponse.ok) {
14121
14203
  const resultData = apiResponse.data;
14122
14204
  setData(resultData);
14123
- _optionalChain([config, 'access', _398 => _398.onSuccess, 'optionalCall', _399 => _399(resultData)]);
14205
+ _optionalChain([config, 'access', _401 => _401.onSuccess, 'optionalCall', _402 => _402(resultData)]);
14124
14206
  return resultData;
14125
14207
  } else {
14126
14208
  setError(apiResponse.error);
14127
- _optionalChain([config, 'access', _400 => _400.onError, 'optionalCall', _401 => _401(apiResponse.error)]);
14209
+ _optionalChain([config, 'access', _403 => _403.onError, 'optionalCall', _404 => _404(apiResponse.error)]);
14128
14210
  return null;
14129
14211
  }
14130
14212
  } catch (err) {
14131
14213
  const errorMessage = err instanceof Error ? err.message : "Unknown error";
14132
14214
  setError(errorMessage);
14133
- _optionalChain([config, 'access', _402 => _402.onError, 'optionalCall', _403 => _403(errorMessage)]);
14215
+ _optionalChain([config, 'access', _405 => _405.onError, 'optionalCall', _406 => _406(errorMessage)]);
14134
14216
  return null;
14135
14217
  } finally {
14136
14218
  setLoading(false);
@@ -14203,7 +14285,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
14203
14285
  {
14204
14286
  href: hasRole(_chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
14205
14287
  page: "/administration",
14206
- id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access', _404 => _404.Company, 'access', _405 => _405.pageUrl, 'optionalAccess', _406 => _406.substring, 'call', _407 => _407(1)]),
14288
+ id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access', _407 => _407.Company, 'access', _408 => _408.pageUrl, 'optionalAccess', _409 => _409.substring, 'call', _410 => _410(1)]),
14207
14289
  childPage: company.id
14208
14290
  }) : generateUrl({ page: _chunkXAWKRNYMjs.Modules.Company, id: company.id }),
14209
14291
  children: row.getValue("name")
@@ -14219,7 +14301,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
14219
14301
  })
14220
14302
  };
14221
14303
  const columns = _react.useMemo.call(void 0, () => {
14222
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _408 => _408[field], 'optionalCall', _409 => _409()])).filter((col) => col !== void 0);
14304
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _411 => _411[field], 'optionalCall', _412 => _412()])).filter((col) => col !== void 0);
14223
14305
  }, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
14224
14306
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
14225
14307
  }, "useCompanyTableStructure");
@@ -14231,7 +14313,7 @@ var GRACE_DAYS = 3;
14231
14313
  var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
14232
14314
  if (!currentUser || !_chunkSE5HIHJSjs.isRolesConfigured.call(void 0, )) return false;
14233
14315
  const adminRoleId = _chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator;
14234
- return !!_optionalChain([currentUser, 'access', _410 => _410.roles, 'optionalAccess', _411 => _411.some, 'call', _412 => _412((role) => role.id === adminRoleId)]);
14316
+ return !!_optionalChain([currentUser, 'access', _413 => _413.roles, 'optionalAccess', _414 => _414.some, 'call', _415 => _415((role) => role.id === adminRoleId)]);
14235
14317
  }, "isAdministrator");
14236
14318
  function useSubscriptionStatus() {
14237
14319
  const { company, currentUser } = useCurrentUserContext();
@@ -14348,7 +14430,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
14348
14430
  })
14349
14431
  };
14350
14432
  const columns = _react.useMemo.call(void 0, () => {
14351
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _413 => _413[field], 'optionalCall', _414 => _414()])).filter((col) => col !== void 0);
14433
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _416 => _416[field], 'optionalCall', _417 => _417()])).filter((col) => col !== void 0);
14352
14434
  }, [params.fields, fieldColumnMap, t, generateUrl]);
14353
14435
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
14354
14436
  }, "useRoleTableStructure");
@@ -14449,11 +14531,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
14449
14531
  return params.fields.map((field) => {
14450
14532
  const localHandler = fieldColumnMap[field];
14451
14533
  if (localHandler) return localHandler();
14452
- const customHandler = _optionalChain([params, 'access', _415 => _415.context, 'optionalAccess', _416 => _416.customCells, 'optionalAccess', _417 => _417[field]]);
14534
+ const customHandler = _optionalChain([params, 'access', _418 => _418.context, 'optionalAccess', _419 => _419.customCells, 'optionalAccess', _420 => _420[field]]);
14453
14535
  if (customHandler) return customHandler({ t });
14454
14536
  return void 0;
14455
14537
  }).filter((col) => col !== void 0);
14456
- }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _418 => _418.context, 'optionalAccess', _419 => _419.customCells])]);
14538
+ }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _421 => _421.context, 'optionalAccess', _422 => _422.customCells])]);
14457
14539
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
14458
14540
  }, "useContentTableStructure");
14459
14541
 
@@ -14788,7 +14870,7 @@ function ContentTableSearch({ data }) {
14788
14870
  const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
14789
14871
  if (!isExpanded) {
14790
14872
  setIsFocused(true);
14791
- setTimeout(() => _optionalChain([inputRef, 'access', _420 => _420.current, 'optionalAccess', _421 => _421.focus, 'call', _422 => _422()]), 50);
14873
+ setTimeout(() => _optionalChain([inputRef, 'access', _423 => _423.current, 'optionalAccess', _424 => _424.focus, 'call', _425 => _425()]), 50);
14792
14874
  }
14793
14875
  }, "handleSearchIconClick");
14794
14876
  const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
@@ -14854,7 +14936,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14854
14936
  props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
14855
14937
  );
14856
14938
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
14857
- data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _423 => _423.data]), () => ( EMPTY_ARRAY)),
14939
+ data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _426 => _426.data]), () => ( EMPTY_ARRAY)),
14858
14940
  fields,
14859
14941
  checkedIds,
14860
14942
  toggleId,
@@ -14923,12 +15005,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14923
15005
  ) }),
14924
15006
  table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
14925
15007
  const meta = header.column.columnDef.meta;
14926
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _424 => _424.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
15008
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _427 => _427.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
14927
15009
  }) }, headerGroup.id))
14928
15010
  ] }),
14929
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _425 => _425.rows, 'optionalAccess', _426 => _426.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
15011
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _428 => _428.rows, 'optionalAccess', _429 => _429.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
14930
15012
  const meta = cell.column.columnDef.meta;
14931
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _427 => _427.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
15013
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _430 => _430.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
14932
15014
  }) }, row.id)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "h-24 text-center", children: "No results." }) }) }),
14933
15015
  showFooter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableFooter, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-card py-4 text-right", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end space-x-2", children: [
14934
15016
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -14938,7 +15020,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14938
15020
  size: "sm",
14939
15021
  onClick: (e) => {
14940
15022
  e.preventDefault();
14941
- _optionalChain([data, 'access', _428 => _428.previous, 'optionalCall', _429 => _429(true)]);
15023
+ _optionalChain([data, 'access', _431 => _431.previous, 'optionalCall', _432 => _432(true)]);
14942
15024
  },
14943
15025
  disabled: !data.previous,
14944
15026
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
@@ -14952,7 +15034,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14952
15034
  size: "sm",
14953
15035
  onClick: (e) => {
14954
15036
  e.preventDefault();
14955
- _optionalChain([data, 'access', _430 => _430.next, 'optionalCall', _431 => _431(true)]);
15037
+ _optionalChain([data, 'access', _433 => _433.next, 'optionalCall', _434 => _434(true)]);
14956
15038
  },
14957
15039
  disabled: !data.next,
14958
15040
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
@@ -14973,7 +15055,7 @@ function ContentListGrid(props) {
14973
15055
  if (!data.next || !sentinelRef.current) return;
14974
15056
  const observer = new IntersectionObserver(
14975
15057
  (entries) => {
14976
- if (_optionalChain([entries, 'access', _432 => _432[0], 'optionalAccess', _433 => _433.isIntersecting])) _optionalChain([data, 'access', _434 => _434.next, 'optionalCall', _435 => _435()]);
15058
+ if (_optionalChain([entries, 'access', _435 => _435[0], 'optionalAccess', _436 => _436.isIntersecting])) _optionalChain([data, 'access', _437 => _437.next, 'optionalCall', _438 => _438()]);
14977
15059
  },
14978
15060
  { threshold: 0.1, rootMargin: "200px" }
14979
15061
  );
@@ -15723,7 +15805,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
15723
15805
  newDigits[index] = digit;
15724
15806
  setDigits(newDigits);
15725
15807
  if (digit && index < 5) {
15726
- _optionalChain([inputRefs, 'access', _436 => _436.current, 'access', _437 => _437[index + 1], 'optionalAccess', _438 => _438.focus, 'call', _439 => _439()]);
15808
+ _optionalChain([inputRefs, 'access', _439 => _439.current, 'access', _440 => _440[index + 1], 'optionalAccess', _441 => _441.focus, 'call', _442 => _442()]);
15727
15809
  }
15728
15810
  const code = newDigits.join("");
15729
15811
  if (code.length === 6 && newDigits.every((d) => d !== "")) {
@@ -15732,7 +15814,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
15732
15814
  }, "handleChange");
15733
15815
  const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
15734
15816
  if (e.key === "Backspace" && !digits[index] && index > 0) {
15735
- _optionalChain([inputRefs, 'access', _440 => _440.current, 'access', _441 => _441[index - 1], 'optionalAccess', _442 => _442.focus, 'call', _443 => _443()]);
15817
+ _optionalChain([inputRefs, 'access', _443 => _443.current, 'access', _444 => _444[index - 1], 'optionalAccess', _445 => _445.focus, 'call', _446 => _446()]);
15736
15818
  }
15737
15819
  }, "handleKeyDown");
15738
15820
  const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
@@ -15741,7 +15823,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
15741
15823
  if (pastedData.length === 6) {
15742
15824
  const newDigits = pastedData.split("");
15743
15825
  setDigits(newDigits);
15744
- _optionalChain([inputRefs, 'access', _444 => _444.current, 'access', _445 => _445[5], 'optionalAccess', _446 => _446.focus, 'call', _447 => _447()]);
15826
+ _optionalChain([inputRefs, 'access', _447 => _447.current, 'access', _448 => _448[5], 'optionalAccess', _449 => _449.focus, 'call', _450 => _450()]);
15745
15827
  onComplete(pastedData);
15746
15828
  }
15747
15829
  }, "handlePaste");
@@ -15952,8 +16034,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
15952
16034
  try {
15953
16035
  const registrationData = await _chunkXAWKRNYMjs.TwoFactorService.getPasskeyRegistrationOptions({
15954
16036
  id: _uuid.v4.call(void 0, ),
15955
- userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _448 => _448.email]), () => ( "")),
15956
- userDisplayName: _optionalChain([currentUser, 'optionalAccess', _449 => _449.name])
16037
+ userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _451 => _451.email]), () => ( "")),
16038
+ userDisplayName: _optionalChain([currentUser, 'optionalAccess', _452 => _452.name])
15957
16039
  });
15958
16040
  const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
15959
16041
  await _chunkXAWKRNYMjs.TwoFactorService.verifyPasskeyRegistration({
@@ -16104,7 +16186,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
16104
16186
  const setup = await _chunkXAWKRNYMjs.TwoFactorService.setupTotp({
16105
16187
  id: _uuid.v4.call(void 0, ),
16106
16188
  name: name.trim(),
16107
- accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _450 => _450.email]), () => ( ""))
16189
+ accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _453 => _453.email]), () => ( ""))
16108
16190
  });
16109
16191
  setQrCodeUri(setup.qrCodeUri);
16110
16192
  setAuthenticatorId(setup.authenticatorId);
@@ -16238,7 +16320,7 @@ function TwoFactorSettings() {
16238
16320
  if (isLoading) {
16239
16321
  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") }) }) });
16240
16322
  }
16241
- const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _451 => _451.isEnabled]), () => ( false));
16323
+ const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _454 => _454.isEnabled]), () => ( false));
16242
16324
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
16243
16325
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
16244
16326
  isEnabled ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldCheck, { className: "h-6 w-6 text-green-600" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldAlert, { className: "h-6 w-6 text-yellow-600" }),
@@ -16276,7 +16358,7 @@ function TwoFactorSettings() {
16276
16358
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
16277
16359
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
16278
16360
  ] }),
16279
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _452 => _452.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
16361
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _455 => _455.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
16280
16362
  ] }) }),
16281
16363
  !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
16282
16364
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
@@ -16454,9 +16536,9 @@ function AcceptInvitation() {
16454
16536
  });
16455
16537
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
16456
16538
  try {
16457
- if (!_optionalChain([params, 'optionalAccess', _453 => _453.code])) return;
16539
+ if (!_optionalChain([params, 'optionalAccess', _456 => _456.code])) return;
16458
16540
  const payload = {
16459
- code: _optionalChain([params, 'optionalAccess', _454 => _454.code]),
16541
+ code: _optionalChain([params, 'optionalAccess', _457 => _457.code]),
16460
16542
  password: values.password
16461
16543
  };
16462
16544
  await _chunkXAWKRNYMjs.AuthService.acceptInvitation(payload);
@@ -16806,7 +16888,7 @@ function Logout({ storageKeys }) {
16806
16888
  const generateUrl = usePageUrlGenerator();
16807
16889
  _react.useEffect.call(void 0, () => {
16808
16890
  const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
16809
- if (_optionalChain([storageKeys, 'optionalAccess', _455 => _455.length])) {
16891
+ if (_optionalChain([storageKeys, 'optionalAccess', _458 => _458.length])) {
16810
16892
  clearClientStorage(storageKeys);
16811
16893
  }
16812
16894
  await _chunkXAWKRNYMjs.AuthService.logout();
@@ -16829,14 +16911,14 @@ function RefreshUser() {
16829
16911
  setUser(fullUser);
16830
16912
  const token = {
16831
16913
  userId: fullUser.id,
16832
- companyId: _optionalChain([fullUser, 'access', _456 => _456.company, 'optionalAccess', _457 => _457.id]),
16914
+ companyId: _optionalChain([fullUser, 'access', _459 => _459.company, 'optionalAccess', _460 => _460.id]),
16833
16915
  roles: fullUser.roles.map((role) => role.id),
16834
- features: _nullishCoalesce(_optionalChain([fullUser, 'access', _458 => _458.company, 'optionalAccess', _459 => _459.features, 'optionalAccess', _460 => _460.map, 'call', _461 => _461((feature) => feature.id)]), () => ( [])),
16916
+ features: _nullishCoalesce(_optionalChain([fullUser, 'access', _461 => _461.company, 'optionalAccess', _462 => _462.features, 'optionalAccess', _463 => _463.map, 'call', _464 => _464((feature) => feature.id)]), () => ( [])),
16835
16917
  modules: fullUser.modules.map((module) => {
16836
16918
  return { id: module.id, permissions: module.permissions };
16837
16919
  })
16838
16920
  };
16839
- await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess', _462 => _462.updateToken, 'call', _463 => _463(token)]);
16921
+ await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess', _465 => _465.updateToken, 'call', _466 => _466(token)]);
16840
16922
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
16841
16923
  }
16842
16924
  }, "loadFullUser");
@@ -16900,9 +16982,9 @@ function ResetPassword() {
16900
16982
  });
16901
16983
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
16902
16984
  try {
16903
- if (!_optionalChain([params, 'optionalAccess', _464 => _464.code])) return;
16985
+ if (!_optionalChain([params, 'optionalAccess', _467 => _467.code])) return;
16904
16986
  const payload = {
16905
- code: _optionalChain([params, 'optionalAccess', _465 => _465.code]),
16987
+ code: _optionalChain([params, 'optionalAccess', _468 => _468.code]),
16906
16988
  password: values.password
16907
16989
  };
16908
16990
  await _chunkXAWKRNYMjs.AuthService.resetPassword(payload);
@@ -17251,7 +17333,7 @@ function extractHeadings(blocks) {
17251
17333
  function processBlocks(blockArray) {
17252
17334
  for (const block of blockArray) {
17253
17335
  if (block.type === "heading") {
17254
- const level = _optionalChain([block, 'access', _466 => _466.props, 'optionalAccess', _467 => _467.level]) || 1;
17336
+ const level = _optionalChain([block, 'access', _469 => _469.props, 'optionalAccess', _470 => _470.level]) || 1;
17255
17337
  const text = extractTextFromContent(block.content);
17256
17338
  if (text.trim()) {
17257
17339
  headings.push({
@@ -17594,7 +17676,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
17594
17676
  })
17595
17677
  };
17596
17678
  const columns = _react.useMemo.call(void 0, () => {
17597
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _468 => _468[field], 'optionalCall', _469 => _469()])).filter((col) => col !== void 0);
17679
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _471 => _471[field], 'optionalCall', _472 => _472()])).filter((col) => col !== void 0);
17598
17680
  }, [params.fields, fieldColumnMap, t, generateUrl]);
17599
17681
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
17600
17682
  }, "useHowToTableStructure");
@@ -17660,7 +17742,7 @@ function HowToMultiSelector({
17660
17742
  retriever: (params) => _chunkXAWKRNYMjs.HowToService.findMany(params),
17661
17743
  module: _chunkXAWKRNYMjs.Modules.HowTo,
17662
17744
  getLabel: (howTo) => howTo.name,
17663
- excludeId: _optionalChain([currentHowTo, 'optionalAccess', _470 => _470.id]),
17745
+ excludeId: _optionalChain([currentHowTo, 'optionalAccess', _473 => _473.id]),
17664
17746
  onChange
17665
17747
  }
17666
17748
  );
@@ -17725,7 +17807,7 @@ function HowToSelector({
17725
17807
  }, "setHowTo");
17726
17808
  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: [
17727
17809
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
17728
- /* @__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', _471 => _471.value, 'optionalAccess', _472 => _472.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 }) }))) }) }) }),
17810
+ /* @__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', _474 => _474.value, 'optionalAccess', _475 => _475.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 }) }))) }) }) }),
17729
17811
  field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17730
17812
  _lucidereact.CircleX,
17731
17813
  {
@@ -18080,9 +18162,9 @@ function CitationsTab({ citations, sources }) {
18080
18162
  ] }) }),
18081
18163
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
18082
18164
  const isOpen = expanded.has(chunk.id);
18083
- const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _473 => _473.get, 'call', _474 => _474(chunk.nodeId)]) : void 0;
18165
+ const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _476 => _476.get, 'call', _477 => _477(chunk.nodeId)]) : void 0;
18084
18166
  const fallbackName = chunk.nodeId ? `${_nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")))} ${chunk.nodeId.slice(0, 8)}` : _nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")));
18085
- const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _475 => _475.name]), () => ( fallbackName));
18167
+ const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _478 => _478.name]), () => ( fallbackName));
18086
18168
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
18087
18169
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
18088
18170
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -18129,7 +18211,7 @@ function ContentsTab({ citations, sources }) {
18129
18211
  for (const c of citations) {
18130
18212
  const id = c.nodeId;
18131
18213
  if (!id) continue;
18132
- const source = _optionalChain([sources, 'optionalAccess', _476 => _476.get, 'call', _477 => _477(id)]);
18214
+ const source = _optionalChain([sources, 'optionalAccess', _479 => _479.get, 'call', _480 => _480(id)]);
18133
18215
  if (!source) continue;
18134
18216
  const existing = map.get(id);
18135
18217
  if (existing) {
@@ -18194,7 +18276,7 @@ function UsersTab({ users, citations, sources }) {
18194
18276
  const generate = usePageUrlGenerator();
18195
18277
  const userMap = /* @__PURE__ */ new Map();
18196
18278
  for (const u of users) {
18197
- if (!_optionalChain([u, 'optionalAccess', _478 => _478.id])) continue;
18279
+ if (!_optionalChain([u, 'optionalAccess', _481 => _481.id])) continue;
18198
18280
  userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
18199
18281
  }
18200
18282
  if (citations && sources) {
@@ -18298,7 +18380,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
18298
18380
  }
18299
18381
  return ids.size;
18300
18382
  }, [message.citations, sources]);
18301
- const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _479 => _479.length]), () => ( 0));
18383
+ const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _482 => _482.length]), () => ( 0));
18302
18384
  const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
18303
18385
  const visibleTabs = [];
18304
18386
  if (suggestionsCount > 0) visibleTabs.push("suggested");
@@ -18357,8 +18439,8 @@ var SourcesFetcher = class extends _chunkXAWKRNYMjs.ClientAbstractService {
18357
18439
  static async findManyByIds(params) {
18358
18440
  const endpoint = new (0, _chunkXAWKRNYMjs.EndpointCreator)({ endpoint: params.module });
18359
18441
  endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
18360
- if (_optionalChain([params, 'access', _480 => _480.module, 'access', _481 => _481.inclusions, 'optionalAccess', _482 => _482.lists, 'optionalAccess', _483 => _483.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
18361
- if (_optionalChain([params, 'access', _484 => _484.module, 'access', _485 => _485.inclusions, 'optionalAccess', _486 => _486.lists, 'optionalAccess', _487 => _487.types])) endpoint.limitToType(params.module.inclusions.lists.types);
18442
+ if (_optionalChain([params, 'access', _483 => _483.module, 'access', _484 => _484.inclusions, 'optionalAccess', _485 => _485.lists, 'optionalAccess', _486 => _486.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
18443
+ if (_optionalChain([params, 'access', _487 => _487.module, 'access', _488 => _488.inclusions, 'optionalAccess', _489 => _489.lists, 'optionalAccess', _490 => _490.types])) endpoint.limitToType(params.module.inclusions.lists.types);
18362
18444
  return this.callApi({
18363
18445
  type: params.module,
18364
18446
  method: "GET" /* GET */,
@@ -18437,7 +18519,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
18437
18519
  return void 0;
18438
18520
  }
18439
18521
  })()));
18440
- if (_optionalChain([author, 'optionalAccess', _488 => _488.id])) userMap.set(author.id, author);
18522
+ if (_optionalChain([author, 'optionalAccess', _491 => _491.id])) userMap.set(author.id, author);
18441
18523
  }
18442
18524
  return Array.from(userMap.values());
18443
18525
  }, [resolved]);
@@ -18459,14 +18541,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, MessageSourcesContainer, "MessageSourcesCon
18459
18541
  function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry }) {
18460
18542
  const t = _nextintl.useTranslations.call(void 0, );
18461
18543
  const isUser = message.role === "user";
18462
- const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _489 => _489.has, 'call', _490 => _490(message.id)]);
18544
+ const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _492 => _492.has, 'call', _493 => _493(message.id)]);
18463
18545
  if (isUser) {
18464
18546
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
18465
18547
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-primary text-primary-foreground max-w-[72%] rounded-2xl rounded-br-sm px-3.5 py-2 text-sm", children: message.content }),
18466
18548
  isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
18467
18549
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
18468
18550
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
18469
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _491 => _491(message.id)]), children: t("features.assistant.retry") })
18551
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _494 => _494(message.id)]), children: t("features.assistant.retry") })
18470
18552
  ] })
18471
18553
  ] });
18472
18554
  }
@@ -18532,7 +18614,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AssistantStatusLine, "AssistantStatusLine")
18532
18614
  function AssistantThread({ messages, sending, status, onSelectFollowUp, failedMessageIds, onRetry }) {
18533
18615
  const endRef = _react.useRef.call(void 0, null);
18534
18616
  _react.useEffect.call(void 0, () => {
18535
- _optionalChain([endRef, 'access', _492 => _492.current, 'optionalAccess', _493 => _493.scrollIntoView, 'call', _494 => _494({ behavior: "smooth" })]);
18617
+ _optionalChain([endRef, 'access', _495 => _495.current, 'optionalAccess', _496 => _496.scrollIntoView, 'call', _497 => _497({ behavior: "smooth" })]);
18536
18618
  }, [messages.length, sending]);
18537
18619
  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: [
18538
18620
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -18560,7 +18642,7 @@ function AssistantContainer() {
18560
18642
  AssistantSidebar,
18561
18643
  {
18562
18644
  threads: ctx.threads,
18563
- activeId: _optionalChain([ctx, 'access', _495 => _495.assistant, 'optionalAccess', _496 => _496.id]),
18645
+ activeId: _optionalChain([ctx, 'access', _498 => _498.assistant, 'optionalAccess', _499 => _499.id]),
18564
18646
  onSelect: ctx.selectThread,
18565
18647
  onNew: ctx.startNew
18566
18648
  }
@@ -18653,14 +18735,14 @@ function NotificationsList({ archived }) {
18653
18735
  ] }),
18654
18736
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
18655
18737
  ] }) }) }, i)) }), "LoadingSkeleton");
18656
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _497 => _497.data, 'optionalAccess', _498 => _498.map, 'call', _499 => _499((notification) => {
18738
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _500 => _500.data, 'optionalAccess', _501 => _501.map, 'call', _502 => _502((notification) => {
18657
18739
  const notificationData = generateNotificationData({ notification, generateUrl });
18658
18740
  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: [
18659
18741
  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: _chunkXAWKRNYMjs.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" }),
18660
18742
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
18661
18743
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
18662
18744
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
18663
- actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _500 => _500.actor, 'optionalAccess', _501 => _501.name]), () => ( "")),
18745
+ actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _503 => _503.actor, 'optionalAccess', _504 => _504.name]), () => ( "")),
18664
18746
  title: notificationData.title
18665
18747
  }) }),
18666
18748
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
@@ -19010,7 +19092,7 @@ var DEFAULT_TRANSLATIONS = {
19010
19092
  invalidEmail: "Please enter a valid email address"
19011
19093
  };
19012
19094
  async function copyToClipboard(text) {
19013
- if (_optionalChain([navigator, 'access', _502 => _502.clipboard, 'optionalAccess', _503 => _503.writeText])) {
19095
+ if (_optionalChain([navigator, 'access', _505 => _505.clipboard, 'optionalAccess', _506 => _506.writeText])) {
19014
19096
  try {
19015
19097
  await navigator.clipboard.writeText(text);
19016
19098
  return true;
@@ -19052,7 +19134,7 @@ function ReferralWidget({
19052
19134
  const linkInputRef = _react.useRef.call(void 0, null);
19053
19135
  const config = _chunkSE5HIHJSjs.getReferralConfig.call(void 0, );
19054
19136
  const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
19055
- const referralUrl = _optionalChain([stats, 'optionalAccess', _504 => _504.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
19137
+ const referralUrl = _optionalChain([stats, 'optionalAccess', _507 => _507.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
19056
19138
  if (!_chunkSE5HIHJSjs.isReferralEnabled.call(void 0, )) {
19057
19139
  return null;
19058
19140
  }
@@ -19062,7 +19144,7 @@ function ReferralWidget({
19062
19144
  if (success) {
19063
19145
  setCopied(true);
19064
19146
  _chunkXAWKRNYMjs.showToast.call(void 0, t.copiedMessage);
19065
- _optionalChain([onLinkCopied, 'optionalCall', _505 => _505()]);
19147
+ _optionalChain([onLinkCopied, 'optionalCall', _508 => _508()]);
19066
19148
  setTimeout(() => setCopied(false), 2e3);
19067
19149
  } else {
19068
19150
  _chunkXAWKRNYMjs.showError.call(void 0, t.copyError);
@@ -19076,12 +19158,12 @@ function ReferralWidget({
19076
19158
  try {
19077
19159
  await sendInvite(email);
19078
19160
  _chunkXAWKRNYMjs.showToast.call(void 0, t.inviteSent);
19079
- _optionalChain([onInviteSent, 'optionalCall', _506 => _506(email)]);
19161
+ _optionalChain([onInviteSent, 'optionalCall', _509 => _509(email)]);
19080
19162
  setEmail("");
19081
19163
  } catch (err) {
19082
19164
  const error2 = err instanceof Error ? err : new Error(t.inviteError);
19083
19165
  _chunkXAWKRNYMjs.showError.call(void 0, error2.message);
19084
- _optionalChain([onInviteError, 'optionalCall', _507 => _507(error2)]);
19166
+ _optionalChain([onInviteError, 'optionalCall', _510 => _510(error2)]);
19085
19167
  }
19086
19168
  }, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
19087
19169
  const handleEmailKeyDown = _react.useCallback.call(void 0,
@@ -19835,7 +19917,7 @@ function OAuthClientList({
19835
19917
  OAuthClientCard,
19836
19918
  {
19837
19919
  client,
19838
- onClick: () => _optionalChain([onClientClick, 'optionalCall', _508 => _508(client)]),
19920
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _511 => _511(client)]),
19839
19921
  onEdit: onEditClick ? () => onEditClick(client) : void 0,
19840
19922
  onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
19841
19923
  },
@@ -19851,11 +19933,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
19851
19933
  function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
19852
19934
  const isEditMode = !!client;
19853
19935
  const [formState, setFormState] = _react.useState.call(void 0, {
19854
- name: _optionalChain([client, 'optionalAccess', _509 => _509.name]) || "",
19855
- description: _optionalChain([client, 'optionalAccess', _510 => _510.description]) || "",
19856
- redirectUris: _optionalChain([client, 'optionalAccess', _511 => _511.redirectUris, 'optionalAccess', _512 => _512.length]) ? client.redirectUris : [""],
19857
- allowedScopes: _optionalChain([client, 'optionalAccess', _513 => _513.allowedScopes]) || [],
19858
- isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _514 => _514.isConfidential]), () => ( true))
19936
+ name: _optionalChain([client, 'optionalAccess', _512 => _512.name]) || "",
19937
+ description: _optionalChain([client, 'optionalAccess', _513 => _513.description]) || "",
19938
+ redirectUris: _optionalChain([client, 'optionalAccess', _514 => _514.redirectUris, 'optionalAccess', _515 => _515.length]) ? client.redirectUris : [""],
19939
+ allowedScopes: _optionalChain([client, 'optionalAccess', _516 => _516.allowedScopes]) || [],
19940
+ isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _517 => _517.isConfidential]), () => ( true))
19859
19941
  });
19860
19942
  const [errors, setErrors] = _react.useState.call(void 0, {});
19861
19943
  const validate = _react.useCallback.call(void 0, () => {
@@ -20083,7 +20165,7 @@ function OAuthClientDetail({
20083
20165
  ] }),
20084
20166
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
20085
20167
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
20086
- /* @__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([_chunkXAWKRNYMjs.OAUTH_SCOPE_DISPLAY, 'access', _515 => _515[scope], 'optionalAccess', _516 => _516.name]) || scope }, scope)) })
20168
+ /* @__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([_chunkXAWKRNYMjs.OAUTH_SCOPE_DISPLAY, 'access', _518 => _518[scope], 'optionalAccess', _519 => _519.name]) || scope }, scope)) })
20087
20169
  ] }),
20088
20170
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
20089
20171
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
@@ -20227,7 +20309,7 @@ function OAuthConsentScreen({
20227
20309
  if (error || !clientInfo) {
20228
20310
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "w-full max-w-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "py-8", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Alert, { variant: "destructive", children: [
20229
20311
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
20230
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _517 => _517.message]) || "Invalid authorization request. Please try again." })
20312
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _520 => _520.message]) || "Invalid authorization request. Please try again." })
20231
20313
  ] }) }) }) });
20232
20314
  }
20233
20315
  const { client, scopes } = clientInfo;
@@ -20443,7 +20525,7 @@ function WaitlistForm({ onSuccess }) {
20443
20525
  questionnaire: values.questionnaire
20444
20526
  });
20445
20527
  setIsSuccess(true);
20446
- _optionalChain([onSuccess, 'optionalCall', _518 => _518()]);
20528
+ _optionalChain([onSuccess, 'optionalCall', _521 => _521()]);
20447
20529
  } catch (e) {
20448
20530
  errorToast({ error: e });
20449
20531
  } finally {
@@ -21081,7 +21163,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
21081
21163
  ] }),
21082
21164
  roleIds.map((roleId) => {
21083
21165
  const roleTokens = block[roleId];
21084
- const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _519 => _519[roleId]]), () => ( roleId));
21166
+ const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _522 => _522[roleId]]), () => ( roleId));
21085
21167
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
21086
21168
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
21087
21169
  _chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -21118,7 +21200,7 @@ function RbacContainer() {
21118
21200
  }, []);
21119
21201
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
21120
21202
  if (!matrix) return [];
21121
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _520 => _520[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _521 => _521[b]]), () => ( b))));
21203
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _523 => _523[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _524 => _524[b]]), () => ( b))));
21122
21204
  }, [matrix, moduleNames]);
21123
21205
  const roleIds = _react.useMemo.call(void 0, () => {
21124
21206
  if (roleNames) {
@@ -21181,7 +21263,7 @@ function RbacContainer() {
21181
21263
  id === selectedModuleId && "bg-muted font-medium text-foreground",
21182
21264
  id !== selectedModuleId && "text-muted-foreground"
21183
21265
  ),
21184
- children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _522 => _522[id]]), () => ( id))
21266
+ children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _525 => _525[id]]), () => ( id))
21185
21267
  }
21186
21268
  ) }, id)) }) }),
21187
21269
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -21189,7 +21271,7 @@ function RbacContainer() {
21189
21271
  {
21190
21272
  moduleId: selectedModuleId,
21191
21273
  block: selectedBlock,
21192
- moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _523 => _523[selectedModuleId]]), () => ( selectedModuleId)),
21274
+ moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _526 => _526[selectedModuleId]]), () => ( selectedModuleId)),
21193
21275
  roleIds,
21194
21276
  roleNames,
21195
21277
  onOpenPicker: openPicker
@@ -21200,12 +21282,12 @@ function RbacContainer() {
21200
21282
  RbacPermissionPicker,
21201
21283
  {
21202
21284
  open: !!activePicker,
21203
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _524 => _524.anchor]), () => ( null)),
21285
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _527 => _527.anchor]), () => ( null)),
21204
21286
  value: activeValue,
21205
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _525 => _525.isRoleColumn]), () => ( false)),
21287
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _528 => _528.isRoleColumn]), () => ( false)),
21206
21288
  knownSegments: activeSegments,
21207
21289
  onSetValue: handleSetValue,
21208
- onClear: _optionalChain([activePicker, 'optionalAccess', _526 => _526.isRoleColumn]) ? handleClear : void 0,
21290
+ onClear: _optionalChain([activePicker, 'optionalAccess', _529 => _529.isRoleColumn]) ? handleClear : void 0,
21209
21291
  onClose: closePicker
21210
21292
  }
21211
21293
  )
@@ -21272,7 +21354,7 @@ function RbacByRoleContainer() {
21272
21354
  }, [roleNames]);
21273
21355
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
21274
21356
  if (!matrix) return [];
21275
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _527 => _527[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _528 => _528[b]]), () => ( b))));
21357
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _530 => _530[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _531 => _531[b]]), () => ( b))));
21276
21358
  }, [matrix, moduleNames]);
21277
21359
  _react.useEffect.call(void 0, () => {
21278
21360
  if (!selectedRoleId && sortedRoleIds.length > 0) {
@@ -21321,7 +21403,7 @@ function RbacByRoleContainer() {
21321
21403
  id === selectedRoleId && "bg-muted font-medium text-foreground",
21322
21404
  id !== selectedRoleId && "text-muted-foreground"
21323
21405
  ),
21324
- children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _529 => _529[id]]), () => ( id))
21406
+ children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _532 => _532[id]]), () => ( id))
21325
21407
  }
21326
21408
  ) }, id)) }) }),
21327
21409
  /* @__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: [
@@ -21341,7 +21423,7 @@ function RbacByRoleContainer() {
21341
21423
  if (!block) return null;
21342
21424
  const defaultTokens = _nullishCoalesce(block.default, () => ( []));
21343
21425
  const roleTokens = block[selectedRoleId];
21344
- const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _530 => _530[moduleId]]), () => ( moduleId));
21426
+ const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _533 => _533[moduleId]]), () => ( moduleId));
21345
21427
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
21346
21428
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
21347
21429
  "td",
@@ -21356,7 +21438,7 @@ function RbacByRoleContainer() {
21356
21438
  _chunkSE5HIHJSjs.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))
21357
21439
  ] }),
21358
21440
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
21359
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _531 => _531[selectedRoleId]]), () => ( selectedRoleId)) }),
21441
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _534 => _534[selectedRoleId]]), () => ( selectedRoleId)) }),
21360
21442
  _chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
21361
21443
  CellButton3,
21362
21444
  {
@@ -21377,12 +21459,12 @@ function RbacByRoleContainer() {
21377
21459
  RbacPermissionPicker,
21378
21460
  {
21379
21461
  open: !!activePicker,
21380
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _532 => _532.anchor]), () => ( null)),
21462
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _535 => _535.anchor]), () => ( null)),
21381
21463
  value: activeValue,
21382
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _533 => _533.isRoleColumn]), () => ( false)),
21464
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _536 => _536.isRoleColumn]), () => ( false)),
21383
21465
  knownSegments: activeSegments,
21384
21466
  onSetValue: handleSetValue,
21385
- onClear: _optionalChain([activePicker, 'optionalAccess', _534 => _534.isRoleColumn]) ? handleClear : void 0,
21467
+ onClear: _optionalChain([activePicker, 'optionalAccess', _537 => _537.isRoleColumn]) ? handleClear : void 0,
21386
21468
  onClose: closePicker
21387
21469
  }
21388
21470
  )
@@ -21902,4 +21984,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
21902
21984
 
21903
21985
 
21904
21986
  exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce2; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.useDebounce2 = useDebounce; exports.MultipleSelector = MultipleSelector; exports.EntityAvatar = EntityAvatar; exports.errorToast = errorToast; exports.EditableAvatar = EditableAvatar; exports.TableCellAvatar = TableCellAvatar; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.BlockNoteEditorMentionHoverCard = BlockNoteEditorMentionHoverCard; exports.mentionDataAttrs = mentionDataAttrs; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorTrigger = CommonEditorTrigger; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormCheckbox = FormCheckbox; exports.FormBlockNote = FormBlockNote; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.GdprConsentCheckbox = GdprConsentCheckbox; exports.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.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.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.BackupCodesDialog = BackupCodesDialog; exports.TotpInput = TotpInput; exports.DisableTwoFactorDialog = DisableTwoFactorDialog; exports.PasskeyList = PasskeyList; exports.PasskeySetupDialog = PasskeySetupDialog; exports.TotpAuthenticatorList = TotpAuthenticatorList; exports.TotpSetupDialog = TotpSetupDialog; exports.TwoFactorSettings = TwoFactorSettings; exports.SecurityContainer = SecurityContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.PasskeyButton = PasskeyButton; exports.TwoFactorChallenge = TwoFactorChallenge; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.HowToCommandViewer = HowToCommandViewer; exports.HowToCommand = HowToCommand; exports.HowToDeleter = HowToDeleter; exports.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantContainer = AssistantContainer; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.OnboardingCard = OnboardingCard; exports.ReferralCodeCapture = ReferralCodeCapture; exports.ReferralWidget = ReferralWidget; exports.ReferralDialog = ReferralDialog; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.WaitlistQuestionnaireRenderer = WaitlistQuestionnaireRenderer; exports.WaitlistForm = WaitlistForm; exports.WaitlistHeroSection = WaitlistHeroSection; exports.WaitlistSuccessState = WaitlistSuccessState; exports.WaitlistConfirmation = WaitlistConfirmation; exports.WaitlistList = WaitlistList; exports.RbacProvider = RbacProvider; exports.useRbacContext = useRbacContext; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacContainer = RbacContainer; exports.RbacByRoleContainer = RbacByRoleContainer; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.DEFAULT_ONBOARDING_LABELS = DEFAULT_ONBOARDING_LABELS; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
21905
- //# sourceMappingURL=chunk-GNKC2ZRU.js.map
21987
+ //# sourceMappingURL=chunk-IANWJ7UE.js.map