@carlonicora/nextjs-jsonapi 1.135.1 → 1.137.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlockNoteEditor-FAPCNKXZ.mjs → BlockNoteEditor-DFBJOA4C.mjs} +2 -2
- package/dist/{BlockNoteEditor-PYRHKBF3.js → BlockNoteEditor-WX2W67GH.js} +9 -9
- package/dist/{BlockNoteEditor-PYRHKBF3.js.map → BlockNoteEditor-WX2W67GH.js.map} +1 -1
- package/dist/billing/index.js +310 -310
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-DNWYHP4V.js → chunk-CTKZM2YC.js} +381 -311
- package/dist/chunk-CTKZM2YC.js.map +1 -0
- package/dist/{chunk-EF2HVXOV.mjs → chunk-EWAOWYT5.mjs} +273 -203
- package/dist/chunk-EWAOWYT5.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +52 -3
- package/dist/components/index.d.ts +52 -3
- package/dist/components/index.js +4 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +3 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/dist/features/help/index.js +31 -31
- package/dist/features/help/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/containers/RoundPageContainer.tsx +99 -14
- package/src/components/containers/RoundPageContainerTitle.tsx +19 -9
- package/src/components/navigations/Header.tsx +15 -1
- package/src/components/pages/PageContentContainer.tsx +2 -2
- package/src/features/oauth/components/consent/OAuthConsentScreen.tsx +3 -3
- package/dist/chunk-DNWYHP4V.js.map +0 -1
- package/dist/chunk-EF2HVXOV.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-FAPCNKXZ.mjs.map → BlockNoteEditor-DFBJOA4C.mjs.map} +0 -0
|
@@ -10117,7 +10117,7 @@ FileInput.displayName = "FileInput";
|
|
|
10117
10117
|
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
10118
10118
|
|
|
10119
10119
|
|
|
10120
|
-
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-
|
|
10120
|
+
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-WX2W67GH.js"))), {
|
|
10121
10121
|
ssr: false
|
|
10122
10122
|
});
|
|
10123
10123
|
var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -14527,13 +14527,33 @@ function Header({ children, mobileChildren, leftContent, logo, className }) {
|
|
|
14527
14527
|
const { breadcrumbs } = useSharedContext();
|
|
14528
14528
|
const rootLabel = useHeaderRootLabel();
|
|
14529
14529
|
const isMobile = _chunkW73JBOIRjs.useIsMobile.call(void 0, );
|
|
14530
|
-
return
|
|
14531
|
-
|
|
14532
|
-
|
|
14533
|
-
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
|
|
14530
|
+
return (
|
|
14531
|
+
// Outer element owns the safe-area inset; the inner row keeps h-12 so the
|
|
14532
|
+
// content height is unchanged and only the notch padding is added above.
|
|
14533
|
+
// bg-sidebar: the outer element has no background of its own, and a padded
|
|
14534
|
+
// transparent strip would show scrolled content behind the status bar.
|
|
14535
|
+
// The fallback is MANDATORY in this package: other consumers (neural-erp)
|
|
14536
|
+
// never define --app-header-h, and a var() referencing an undefined
|
|
14537
|
+
// property invalidates the whole declaration. The fallback MUST include the
|
|
14538
|
+
// safe-area inset, because the padding below is unconditional: a consumer
|
|
14539
|
+
// that never defines the variable but does set viewportFit: "cover" would
|
|
14540
|
+
// otherwise get 3rem of height plus inset padding, squeezing the inner
|
|
14541
|
+
// h-12 row. (Tailwind arbitrary values need _ for spaces; CSS calc needs
|
|
14542
|
+
// whitespace around the +.)
|
|
14543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14544
|
+
"header",
|
|
14545
|
+
{
|
|
14546
|
+
className: `bg-sidebar sticky top-0 z-10 flex h-[var(--app-header-h,calc(3rem_+_env(safe-area-inset-top)))] flex-col items-center justify-start gap-x-4 pt-[env(safe-area-inset-top)] ${_nullishCoalesce(className, () => ( ""))}`,
|
|
14547
|
+
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: [
|
|
14548
|
+
isMobile && logo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 flex-row items-center pr-1", children: logo }),
|
|
14549
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SidebarTrigger, { "aria-label": "Toggle sidebar", id: "sidebar-trigger" }),
|
|
14550
|
+
leftContent,
|
|
14551
|
+
/* @__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, rootLabel: _nullishCoalesce(rootLabel, () => ( void 0)) }) }),
|
|
14552
|
+
isMobile ? mobileChildren && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 flex-row items-center justify-end gap-x-2 whitespace-nowrap", children: mobileChildren }) : 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 }) })
|
|
14553
|
+
] })
|
|
14554
|
+
}
|
|
14555
|
+
)
|
|
14556
|
+
);
|
|
14537
14557
|
}
|
|
14538
14558
|
_chunk7QVYU63Ejs.__name.call(void 0, Header, "Header");
|
|
14539
14559
|
|
|
@@ -14812,16 +14832,19 @@ _chunk7QVYU63Ejs.__name.call(void 0, ReactMarkdownContainer, "ReactMarkdownConta
|
|
|
14812
14832
|
// src/components/containers/RoundPageContainerTitle.tsx
|
|
14813
14833
|
|
|
14814
14834
|
|
|
14835
|
+
var HEADER_ROW_MIN_H = "min-h-[53px]";
|
|
14815
14836
|
function RoundPageContainerTitle({
|
|
14816
14837
|
module,
|
|
14817
14838
|
details,
|
|
14839
|
+
detailsTitle,
|
|
14840
|
+
detailsIcon,
|
|
14818
14841
|
showDetails,
|
|
14819
14842
|
setShowDetails
|
|
14820
14843
|
}) {
|
|
14821
14844
|
const { title } = useSharedContext();
|
|
14822
14845
|
const isMobile = _chunkW73JBOIRjs.useIsMobile.call(void 0, );
|
|
14823
14846
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col border-b", children: [
|
|
14824
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, `flex w-full flex-row items-center gap-x-2 p-4 justify-between
|
|
14847
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, `flex w-full flex-row items-center gap-x-2 p-4 justify-between`, HEADER_ROW_MIN_H), children: [
|
|
14825
14848
|
!isMobile ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full gap-x-4", children: [
|
|
14826
14849
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-muted-foreground flex items-center gap-x-2 text-lg font-light whitespace-nowrap", children: [
|
|
14827
14850
|
title.titleActions,
|
|
@@ -14845,10 +14868,14 @@ function RoundPageContainerTitle({
|
|
|
14845
14868
|
variant: showDetails ? `ghost` : `default`,
|
|
14846
14869
|
onClick: () => setShowDetails(!showDetails),
|
|
14847
14870
|
className: _chunkW73JBOIRjs.cn.call(void 0, `cursor-pointer`),
|
|
14848
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.InfoIcon, {})
|
|
14871
|
+
children: _nullishCoalesce(detailsIcon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.InfoIcon, {})))
|
|
14849
14872
|
}
|
|
14850
14873
|
) }),
|
|
14851
|
-
/* @__PURE__ */ _jsxruntime.
|
|
14874
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TooltipContent, { children: [
|
|
14875
|
+
showDetails ? "Hide" : "Show",
|
|
14876
|
+
" ",
|
|
14877
|
+
_nullishCoalesce(detailsTitle, () => ( "details"))
|
|
14878
|
+
] })
|
|
14852
14879
|
] })
|
|
14853
14880
|
] })
|
|
14854
14881
|
] }),
|
|
@@ -14881,26 +14908,36 @@ function RoundPageContainer({
|
|
|
14881
14908
|
forceHeader,
|
|
14882
14909
|
header,
|
|
14883
14910
|
layout: layout2 = "tabs",
|
|
14884
|
-
onSectionChange
|
|
14911
|
+
onSectionChange,
|
|
14912
|
+
testId,
|
|
14913
|
+
defaultDetailsOpen = false,
|
|
14914
|
+
detailsTitle,
|
|
14915
|
+
detailsIcon
|
|
14885
14916
|
}) {
|
|
14886
14917
|
const headerChildren = useHeaderChildren();
|
|
14887
14918
|
const headerLeftContent = useHeaderLeftContent();
|
|
14888
14919
|
const headerLogo = useHeaderLogo();
|
|
14889
14920
|
const headerMobileChildren = useHeaderMobileChildren();
|
|
14890
|
-
const [showDetails, setShowDetailsState] = _react.useState.call(void 0,
|
|
14921
|
+
const [showDetails, setShowDetailsState] = _react.useState.call(void 0, defaultDetailsOpen);
|
|
14891
14922
|
const isMobile = _chunkW73JBOIRjs.useIsMobile.call(void 0, );
|
|
14892
14923
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
14893
14924
|
_react.useEffect.call(void 0, () => {
|
|
14894
|
-
const match = document.cookie.split("; ").find((row) => row.startsWith(`${
|
|
14895
|
-
|
|
14925
|
+
const match = document.cookie.split("; ").find((row) => row.startsWith(`${detailsCookieName}=`));
|
|
14926
|
+
const stored = _optionalChain([match, 'optionalAccess', _409 => _409.split, 'call', _410 => _410("="), 'access', _411 => _411[1]]);
|
|
14927
|
+
if (stored === "true") setShowDetailsState(true);
|
|
14928
|
+
else if (stored === "false") setShowDetailsState(false);
|
|
14896
14929
|
}, []);
|
|
14897
14930
|
_react.useEffect.call(void 0, () => {
|
|
14898
14931
|
setMounted(true);
|
|
14899
14932
|
}, []);
|
|
14900
|
-
const
|
|
14901
|
-
|
|
14902
|
-
|
|
14903
|
-
|
|
14933
|
+
const detailsCookieName = _optionalChain([module, 'optionalAccess', _412 => _412.name]) ? `${DETAILS_COOKIE_NAME}_${module.name}` : DETAILS_COOKIE_NAME;
|
|
14934
|
+
const setShowDetails = _react.useCallback.call(void 0,
|
|
14935
|
+
(value) => {
|
|
14936
|
+
setShowDetailsState(value);
|
|
14937
|
+
document.cookie = `${detailsCookieName}=${value}; path=/; max-age=${DETAILS_COOKIE_MAX_AGE}`;
|
|
14938
|
+
},
|
|
14939
|
+
[detailsCookieName]
|
|
14940
|
+
);
|
|
14904
14941
|
const searchParams = _navigation.useSearchParams.call(void 0, );
|
|
14905
14942
|
const section = searchParams.get("section");
|
|
14906
14943
|
const rewriteUrl = useUrlRewriter();
|
|
@@ -14922,11 +14959,11 @@ function RoundPageContainer({
|
|
|
14922
14959
|
} else {
|
|
14923
14960
|
rewriteUrl({ page: window.location.pathname, additionalParameters: { section: key } });
|
|
14924
14961
|
}
|
|
14925
|
-
_optionalChain([onSectionChange, 'optionalCall',
|
|
14962
|
+
_optionalChain([onSectionChange, 'optionalCall', _413 => _413(key)]);
|
|
14926
14963
|
},
|
|
14927
14964
|
[module, id, rewriteUrl, onSectionChange]
|
|
14928
14965
|
);
|
|
14929
|
-
const activeFillHeight = _optionalChain([tabs, 'optionalAccess',
|
|
14966
|
+
const activeFillHeight = _optionalChain([tabs, 'optionalAccess', _414 => _414.find, 'call', _415 => _415((t) => tabValue(t) === activeTab), 'optionalAccess', _416 => _416.fillHeight]) === true;
|
|
14930
14967
|
const { ungrouped, groups } = _react.useMemo.call(void 0, () => partitionTabs(_nullishCoalesce(tabs, () => ( []))), [tabs]);
|
|
14931
14968
|
const tabItems = _react.useMemo.call(void 0,
|
|
14932
14969
|
() => Object.fromEntries((_nullishCoalesce(tabs, () => ( []))).map((tab) => [tabValue(tab), _nullishCoalesce(tab.contentLabel, () => ( tab.label))])),
|
|
@@ -14945,10 +14982,20 @@ function RoundPageContainer({
|
|
|
14945
14982
|
children: headerChildren
|
|
14946
14983
|
}
|
|
14947
14984
|
),
|
|
14948
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14949
|
-
|
|
14950
|
-
|
|
14951
|
-
|
|
14985
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14986
|
+
"div",
|
|
14987
|
+
{
|
|
14988
|
+
"data-testid": testId,
|
|
14989
|
+
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
14990
|
+
"flex h-[calc(100dvh-var(--app-header-h,3rem))] w-full flex-col",
|
|
14991
|
+
isMobile ? "gap-1 p-1 pt-0" : "p-2 pt-0 pl-0"
|
|
14992
|
+
),
|
|
14993
|
+
children: [
|
|
14994
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, "bg-background flex min-h-0 w-full flex-1", isMobile ? "" : "rounded-lg border p-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col" }) }),
|
|
14995
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileNavigationBar, {})
|
|
14996
|
+
]
|
|
14997
|
+
}
|
|
14998
|
+
)
|
|
14952
14999
|
] });
|
|
14953
15000
|
}
|
|
14954
15001
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -14962,194 +15009,216 @@ function RoundPageContainer({
|
|
|
14962
15009
|
children: headerChildren
|
|
14963
15010
|
}
|
|
14964
15011
|
),
|
|
14965
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14966
|
-
|
|
14967
|
-
|
|
14968
|
-
|
|
14969
|
-
|
|
14970
|
-
|
|
14971
|
-
|
|
14972
|
-
|
|
14973
|
-
|
|
14974
|
-
|
|
14975
|
-
|
|
14976
|
-
|
|
14977
|
-
|
|
14978
|
-
|
|
14979
|
-
|
|
14980
|
-
|
|
14981
|
-
|
|
14982
|
-
|
|
14983
|
-
|
|
14984
|
-
|
|
14985
|
-
|
|
14986
|
-
|
|
14987
|
-
|
|
14988
|
-
|
|
14989
|
-
|
|
14990
|
-
|
|
14991
|
-
|
|
14992
|
-
|
|
14993
|
-
|
|
14994
|
-
|
|
14995
|
-
|
|
14996
|
-
|
|
14997
|
-
|
|
14998
|
-
|
|
14999
|
-
|
|
15000
|
-
|
|
15001
|
-
|
|
15002
|
-
|
|
15003
|
-
|
|
15004
|
-
|
|
15005
|
-
|
|
15006
|
-
|
|
15007
|
-
|
|
15008
|
-
|
|
15009
|
-
|
|
15010
|
-
|
|
15011
|
-
|
|
15012
|
-
|
|
15013
|
-
|
|
15014
|
-
|
|
15015
|
-
|
|
15016
|
-
|
|
15017
|
-
onValueChange: (value) => {
|
|
15018
|
-
if (value) handleTabChange(value);
|
|
15019
|
-
},
|
|
15020
|
-
children: [
|
|
15021
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, {}) }),
|
|
15022
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SelectContent, { children: [
|
|
15023
|
-
ungrouped.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)),
|
|
15024
|
-
groups.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SelectGroup, { children: [
|
|
15025
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectLabel, { children: group.label }),
|
|
15026
|
-
group.items.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label))
|
|
15012
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15013
|
+
"div",
|
|
15014
|
+
{
|
|
15015
|
+
"data-testid": testId,
|
|
15016
|
+
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15017
|
+
`flex h-[calc(100dvh-var(--app-header-h,3rem))] w-full flex-col`,
|
|
15018
|
+
isMobile ? "gap-1 p-1 pt-0" : "p-2 pt-0 pl-0"
|
|
15019
|
+
),
|
|
15020
|
+
children: [
|
|
15021
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-background flex min-h-0 w-full flex-1 rounded-lg border p-0", children: [
|
|
15022
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
15023
|
+
(!fullWidth || forceHeader) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15024
|
+
RoundPageContainerTitle,
|
|
15025
|
+
{
|
|
15026
|
+
module,
|
|
15027
|
+
details,
|
|
15028
|
+
detailsTitle,
|
|
15029
|
+
detailsIcon,
|
|
15030
|
+
showDetails,
|
|
15031
|
+
setShowDetails,
|
|
15032
|
+
fullWidth
|
|
15033
|
+
}
|
|
15034
|
+
),
|
|
15035
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full w-full overflow-hidden", children: layout2 === "rail" && tabs ? (
|
|
15036
|
+
// Rail layout: the vertical-tab navigation is a flush-left
|
|
15037
|
+
// sidebar of the card and the content fills the full remaining
|
|
15038
|
+
// width (like `fullWidth`) — NOT the centred max-w-6xl column.
|
|
15039
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15040
|
+
Tabs,
|
|
15041
|
+
{
|
|
15042
|
+
value: activeTab,
|
|
15043
|
+
onValueChange: handleTabChange,
|
|
15044
|
+
orientation: "horizontal",
|
|
15045
|
+
className: "flex h-full min-w-0 grow overflow-hidden data-[orientation=horizontal]:flex-row",
|
|
15046
|
+
children: [
|
|
15047
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15048
|
+
"aside",
|
|
15049
|
+
{
|
|
15050
|
+
"data-testid": "round-page-rail",
|
|
15051
|
+
className: "hidden shrink-0 border-r p-4 md:flex md:w-56 md:flex-col md:overflow-y-auto",
|
|
15052
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TabsList, { className: "flex h-auto flex-col items-stretch gap-0.5 bg-transparent p-0", children: [
|
|
15053
|
+
ungrouped.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)),
|
|
15054
|
+
groups.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
15055
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15056
|
+
"div",
|
|
15057
|
+
{
|
|
15058
|
+
role: "presentation",
|
|
15059
|
+
className: "text-muted-foreground px-3 pt-3 pb-1 text-[10px] font-bold tracking-wider uppercase",
|
|
15060
|
+
children: group.label
|
|
15061
|
+
}
|
|
15062
|
+
),
|
|
15063
|
+
group.items.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label))
|
|
15027
15064
|
] }, group.label))
|
|
15028
15065
|
] })
|
|
15029
|
-
|
|
15030
|
-
|
|
15031
|
-
|
|
15032
|
-
|
|
15033
|
-
|
|
15034
|
-
{
|
|
15035
|
-
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15036
|
-
`min-w-0 grow`,
|
|
15037
|
-
activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto p-4`
|
|
15038
|
-
),
|
|
15039
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15040
|
-
"div",
|
|
15066
|
+
}
|
|
15067
|
+
),
|
|
15068
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 grow flex-col overflow-hidden", children: [
|
|
15069
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-testid": "round-page-rail-select", className: "p-2 md:hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15070
|
+
Select,
|
|
15041
15071
|
{
|
|
15042
|
-
|
|
15043
|
-
|
|
15044
|
-
)
|
|
15072
|
+
items: tabItems,
|
|
15073
|
+
value: activeTab,
|
|
15074
|
+
onValueChange: (value) => {
|
|
15075
|
+
if (value) handleTabChange(value);
|
|
15076
|
+
},
|
|
15045
15077
|
children: [
|
|
15046
|
-
|
|
15047
|
-
|
|
15048
|
-
|
|
15049
|
-
{
|
|
15050
|
-
|
|
15051
|
-
|
|
15052
|
-
|
|
15053
|
-
|
|
15054
|
-
tab.label
|
|
15055
|
-
)),
|
|
15056
|
-
children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children })
|
|
15078
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, {}) }),
|
|
15079
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SelectContent, { children: [
|
|
15080
|
+
ungrouped.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)),
|
|
15081
|
+
groups.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SelectGroup, { children: [
|
|
15082
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectLabel, { children: group.label }),
|
|
15083
|
+
group.items.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label))
|
|
15084
|
+
] }, group.label))
|
|
15085
|
+
] })
|
|
15057
15086
|
]
|
|
15058
15087
|
}
|
|
15059
|
-
)
|
|
15060
|
-
|
|
15061
|
-
|
|
15062
|
-
|
|
15063
|
-
|
|
15064
|
-
|
|
15065
|
-
|
|
15066
|
-
|
|
15067
|
-
|
|
15068
|
-
{
|
|
15069
|
-
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15070
|
-
`grow`,
|
|
15071
|
-
isMobile ? `p-2` : `p-4`,
|
|
15072
|
-
activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto`,
|
|
15073
|
-
fullWidth && `p-0`
|
|
15074
|
-
),
|
|
15075
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15076
|
-
"div",
|
|
15077
|
-
{
|
|
15078
|
-
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15079
|
-
`mx-auto max-w-6xl space-y-8`,
|
|
15080
|
-
activeFillHeight && `flex w-full flex-1 min-h-0 flex-col space-y-0`,
|
|
15081
|
-
fullWidth && `max-w-full w-full p-0 h-full`
|
|
15082
|
-
),
|
|
15083
|
-
children: [
|
|
15084
|
-
header,
|
|
15085
|
-
tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15086
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15087
|
-
Tabs,
|
|
15088
|
-
{
|
|
15089
|
-
value: activeTab,
|
|
15090
|
-
className: _chunkW73JBOIRjs.cn.call(void 0, `w-full`, activeFillHeight && `flex flex-1 min-h-0 flex-col`),
|
|
15091
|
-
onValueChange: handleTabChange,
|
|
15092
|
-
children: [
|
|
15093
|
-
isMobile ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15094
|
-
Select,
|
|
15095
|
-
{
|
|
15096
|
-
items: tabItems,
|
|
15097
|
-
value: activeTab,
|
|
15098
|
-
onValueChange: (value) => {
|
|
15099
|
-
if (value) handleTabChange(value);
|
|
15100
|
-
},
|
|
15101
|
-
children: [
|
|
15102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, {}) }),
|
|
15103
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectContent, { children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) })
|
|
15104
|
-
]
|
|
15105
|
-
}
|
|
15106
|
-
) }) : /* @__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: tabValue(tab), className: "px-4", children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
|
|
15107
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15088
|
+
) }),
|
|
15089
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15090
|
+
"div",
|
|
15091
|
+
{
|
|
15092
|
+
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15093
|
+
`min-w-0 grow`,
|
|
15094
|
+
activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto p-4`
|
|
15095
|
+
),
|
|
15096
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15108
15097
|
"div",
|
|
15109
15098
|
{
|
|
15110
15099
|
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15111
|
-
`flex w-full
|
|
15112
|
-
isMobile ? `` : `px-4`,
|
|
15113
|
-
activeFillHeight ? `flex-1 min-h-0` : `overflow-y-auto`
|
|
15100
|
+
activeFillHeight ? `flex min-h-0 w-full flex-1 flex-col` : `mx-auto w-full max-w-6xl`
|
|
15114
15101
|
),
|
|
15115
|
-
children:
|
|
15116
|
-
|
|
15117
|
-
|
|
15118
|
-
|
|
15119
|
-
|
|
15120
|
-
|
|
15121
|
-
|
|
15122
|
-
|
|
15123
|
-
|
|
15102
|
+
children: [
|
|
15103
|
+
header,
|
|
15104
|
+
tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15105
|
+
TabsContent,
|
|
15106
|
+
{
|
|
15107
|
+
value: tabValue(tab),
|
|
15108
|
+
className: tab.fillHeight ? `flex min-h-0 w-full flex-1 flex-col` : ``,
|
|
15109
|
+
children: tab.content
|
|
15110
|
+
},
|
|
15111
|
+
tab.label
|
|
15112
|
+
)),
|
|
15113
|
+
children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children })
|
|
15114
|
+
]
|
|
15124
15115
|
}
|
|
15125
15116
|
)
|
|
15126
|
-
|
|
15127
|
-
|
|
15117
|
+
}
|
|
15118
|
+
)
|
|
15119
|
+
] })
|
|
15120
|
+
]
|
|
15121
|
+
}
|
|
15122
|
+
)
|
|
15123
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15124
|
+
"div",
|
|
15125
|
+
{
|
|
15126
|
+
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15127
|
+
`grow`,
|
|
15128
|
+
isMobile ? `p-2` : `p-4`,
|
|
15129
|
+
activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto`,
|
|
15130
|
+
fullWidth && `p-0`
|
|
15131
|
+
),
|
|
15132
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15133
|
+
"div",
|
|
15134
|
+
{
|
|
15135
|
+
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15136
|
+
`mx-auto max-w-6xl space-y-8`,
|
|
15137
|
+
activeFillHeight && `flex w-full flex-1 min-h-0 flex-col space-y-0`,
|
|
15138
|
+
fullWidth && `max-w-full w-full p-0 h-full`
|
|
15128
15139
|
),
|
|
15129
|
-
children
|
|
15130
|
-
|
|
15131
|
-
|
|
15140
|
+
children: [
|
|
15141
|
+
header,
|
|
15142
|
+
tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15143
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15144
|
+
Tabs,
|
|
15145
|
+
{
|
|
15146
|
+
value: activeTab,
|
|
15147
|
+
className: _chunkW73JBOIRjs.cn.call(void 0, `w-full`, activeFillHeight && `flex flex-1 min-h-0 flex-col`),
|
|
15148
|
+
onValueChange: handleTabChange,
|
|
15149
|
+
children: [
|
|
15150
|
+
isMobile ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15151
|
+
Select,
|
|
15152
|
+
{
|
|
15153
|
+
items: tabItems,
|
|
15154
|
+
value: activeTab,
|
|
15155
|
+
onValueChange: (value) => {
|
|
15156
|
+
if (value) handleTabChange(value);
|
|
15157
|
+
},
|
|
15158
|
+
children: [
|
|
15159
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, {}) }),
|
|
15160
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectContent, { children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) })
|
|
15161
|
+
]
|
|
15162
|
+
}
|
|
15163
|
+
) }) : /* @__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: tabValue(tab), className: "px-4", children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
|
|
15164
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15165
|
+
"div",
|
|
15166
|
+
{
|
|
15167
|
+
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15168
|
+
`flex w-full `,
|
|
15169
|
+
isMobile ? `` : `px-4`,
|
|
15170
|
+
activeFillHeight ? `flex-1 min-h-0` : `overflow-y-auto`
|
|
15171
|
+
),
|
|
15172
|
+
children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15173
|
+
TabsContent,
|
|
15174
|
+
{
|
|
15175
|
+
value: tabValue(tab),
|
|
15176
|
+
className: tab.fillHeight ? `flex flex-1 min-h-0 w-full flex-col` : `pb-20`,
|
|
15177
|
+
children: tab.content
|
|
15178
|
+
},
|
|
15179
|
+
tab.label
|
|
15180
|
+
))
|
|
15181
|
+
}
|
|
15182
|
+
)
|
|
15183
|
+
]
|
|
15184
|
+
}
|
|
15185
|
+
),
|
|
15186
|
+
children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, `flex`, isMobile ? `px-2` : `px-4`), children })
|
|
15187
|
+
] }) : children
|
|
15188
|
+
]
|
|
15189
|
+
}
|
|
15190
|
+
)
|
|
15132
15191
|
}
|
|
15133
|
-
)
|
|
15134
|
-
}
|
|
15135
|
-
|
|
15136
|
-
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
|
|
15140
|
-
|
|
15141
|
-
|
|
15142
|
-
|
|
15143
|
-
|
|
15144
|
-
|
|
15145
|
-
|
|
15146
|
-
|
|
15147
|
-
|
|
15148
|
-
|
|
15149
|
-
|
|
15150
|
-
|
|
15151
|
-
|
|
15152
|
-
|
|
15192
|
+
) })
|
|
15193
|
+
] }),
|
|
15194
|
+
details && (isMobile ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Sheet, { open: showDetails, onOpenChange: setShowDetails, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SheetContent, { side: "right", children: [
|
|
15195
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetTitle, { children: _nullishCoalesce(detailsTitle, () => ( "Details")) }) }),
|
|
15196
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-y-auto p-6 pt-0", children: details })
|
|
15197
|
+
] }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15198
|
+
"div",
|
|
15199
|
+
{
|
|
15200
|
+
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15201
|
+
// `flex-col` + a separate scroll body below: the header must stay
|
|
15202
|
+
// put while the panel content scrolls. Scrolling on this element
|
|
15203
|
+
// (as it did before) would carry the header away with the content.
|
|
15204
|
+
"flex h-full shrink-0 flex-col overflow-hidden transition-all duration-300 ease-in-out",
|
|
15205
|
+
showDetails ? "w-96 border-l opacity-100" : "ml-0 w-0 border-l-0 opacity-0"
|
|
15206
|
+
),
|
|
15207
|
+
children: [
|
|
15208
|
+
detailsTitle && // Mirrors RoundPageContainerTitle's structure exactly — border on an
|
|
15209
|
+
// OUTER wrapper, height floor on the INNER row. Putting the border
|
|
15210
|
+
// inside the measured row instead leaves this header 1px short of
|
|
15211
|
+
// the page title bar, since `box-sizing: border-box` absorbs it.
|
|
15212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 border-b", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, "flex items-center p-4", HEADER_ROW_MIN_H), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-primary truncate text-sm font-semibold", children: detailsTitle }) }) }),
|
|
15213
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto p-4", children: details })
|
|
15214
|
+
]
|
|
15215
|
+
}
|
|
15216
|
+
))
|
|
15217
|
+
] }),
|
|
15218
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileNavigationBar, {})
|
|
15219
|
+
]
|
|
15220
|
+
}
|
|
15221
|
+
)
|
|
15153
15222
|
] });
|
|
15154
15223
|
}
|
|
15155
15224
|
_chunk7QVYU63Ejs.__name.call(void 0, RoundPageContainer, "RoundPageContainer");
|
|
@@ -15246,14 +15315,14 @@ function BlockNoteEditorMentionHoverCard({
|
|
|
15246
15315
|
const entityType = target.dataset.mentionType;
|
|
15247
15316
|
const alias = target.dataset.mentionAlias;
|
|
15248
15317
|
setHovered((prev) => {
|
|
15249
|
-
if (_optionalChain([prev, 'optionalAccess',
|
|
15318
|
+
if (_optionalChain([prev, 'optionalAccess', _417 => _417.id]) === id && _optionalChain([prev, 'optionalAccess', _418 => _418.element]) === target) return prev;
|
|
15250
15319
|
return { id, entityType, alias, element: target };
|
|
15251
15320
|
});
|
|
15252
15321
|
}, "handleMouseOver");
|
|
15253
15322
|
const handleMouseOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
15254
15323
|
const target = e.target.closest("[data-mention-id]");
|
|
15255
15324
|
if (!target) return;
|
|
15256
|
-
const related = _optionalChain([e, 'access',
|
|
15325
|
+
const related = _optionalChain([e, 'access', _419 => _419.relatedTarget, 'optionalAccess', _420 => _420.closest, 'call', _421 => _421("[data-mention-id]")]);
|
|
15257
15326
|
if (related) return;
|
|
15258
15327
|
scheduleClose();
|
|
15259
15328
|
}, "handleMouseOut");
|
|
@@ -15267,7 +15336,7 @@ function BlockNoteEditorMentionHoverCard({
|
|
|
15267
15336
|
}, [containerRef, mentionResolveFn, cancelClose, scheduleClose]);
|
|
15268
15337
|
if (!hovered || !mentionResolveFn) return null;
|
|
15269
15338
|
const resolved = mentionResolveFn(hovered.id, hovered.entityType, hovered.alias);
|
|
15270
|
-
if (!_optionalChain([resolved, 'optionalAccess',
|
|
15339
|
+
if (!_optionalChain([resolved, 'optionalAccess', _422 => _422.HoverContent])) return null;
|
|
15271
15340
|
const ContentComponent = resolved.HoverContent;
|
|
15272
15341
|
const rect = hovered.element.getBoundingClientRect();
|
|
15273
15342
|
return _reactdom.createPortal.call(void 0,
|
|
@@ -15310,28 +15379,28 @@ var parseMentionElement = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
15310
15379
|
}, "parseMentionElement");
|
|
15311
15380
|
var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (resolveFn, disableMention, nameResolver) => {
|
|
15312
15381
|
const MentionExternalHTML = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
|
|
15313
|
-
const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall',
|
|
15382
|
+
const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _423 => _423(props.id, props.entityType, props.alias)]), () => ( props.alias));
|
|
15314
15383
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "data-mention-id": props.id, "data-mention-type": props.entityType, "data-mention-alias": props.alias, children: [
|
|
15315
15384
|
"@",
|
|
15316
15385
|
displayName
|
|
15317
15386
|
] });
|
|
15318
15387
|
}, "MentionExternalHTML");
|
|
15319
15388
|
const Mention = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function Mention2(props) {
|
|
15320
|
-
const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall',
|
|
15389
|
+
const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _424 => _424(props.id, props.entityType, props.alias)]), () => ( props.alias));
|
|
15321
15390
|
if (disableMention) {
|
|
15322
|
-
const resolved2 = _optionalChain([resolveFn, 'optionalCall',
|
|
15323
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess',
|
|
15391
|
+
const resolved2 = _optionalChain([resolveFn, 'optionalCall', _425 => _425(props.id, props.entityType, displayName)]);
|
|
15392
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess', _426 => _426.url]), () => ( "#")), className: "text-primary", children: [
|
|
15324
15393
|
"@",
|
|
15325
15394
|
displayName
|
|
15326
15395
|
] });
|
|
15327
15396
|
}
|
|
15328
|
-
const resolved = _optionalChain([resolveFn, 'optionalCall',
|
|
15329
|
-
if (_optionalChain([resolved, 'optionalAccess',
|
|
15397
|
+
const resolved = _optionalChain([resolveFn, 'optionalCall', _427 => _427(props.id, props.entityType, displayName)]);
|
|
15398
|
+
if (_optionalChain([resolved, 'optionalAccess', _428 => _428.Inline])) {
|
|
15330
15399
|
const Custom = resolved.Inline;
|
|
15331
15400
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Custom, { ...props, alias: displayName });
|
|
15332
15401
|
}
|
|
15333
|
-
const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
15334
|
-
const handleClick = _optionalChain([resolved, 'optionalAccess',
|
|
15402
|
+
const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _429 => _429.url]), () => ( "#"));
|
|
15403
|
+
const handleClick = _optionalChain([resolved, 'optionalAccess', _430 => _430.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
|
|
15335
15404
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15336
15405
|
_link2.default,
|
|
15337
15406
|
{
|
|
@@ -15437,7 +15506,7 @@ function BlockNoteEditorMentionSuggestionMenu({
|
|
|
15437
15506
|
if (!suggestionMenuComponent) return void 0;
|
|
15438
15507
|
const Component2 = suggestionMenuComponent;
|
|
15439
15508
|
const Wrapped = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
|
|
15440
|
-
const isSentinelOnly = props.items.length === 1 && _optionalChain([props, 'access',
|
|
15509
|
+
const isSentinelOnly = props.items.length === 1 && _optionalChain([props, 'access', _431 => _431.items, 'access', _432 => _432[0], 'optionalAccess', _433 => _433.title]) === KEEP_OPEN_SENTINEL_TITLE;
|
|
15441
15510
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15442
15511
|
Component2,
|
|
15443
15512
|
{
|
|
@@ -15446,7 +15515,7 @@ function BlockNoteEditorMentionSuggestionMenu({
|
|
|
15446
15515
|
selectedIndex: isSentinelOnly ? void 0 : props.selectedIndex,
|
|
15447
15516
|
onItemClick: (item) => {
|
|
15448
15517
|
if (item.title === KEEP_OPEN_SENTINEL_TITLE) return;
|
|
15449
|
-
_optionalChain([props, 'access',
|
|
15518
|
+
_optionalChain([props, 'access', _434 => _434.onItemClick, 'optionalCall', _435 => _435(item)]);
|
|
15450
15519
|
}
|
|
15451
15520
|
}
|
|
15452
15521
|
);
|
|
@@ -15538,13 +15607,13 @@ function PageContentContainer({ header, details, footer, content, fullBleed }) {
|
|
|
15538
15607
|
storage: typeof window !== "undefined" ? localStorage : void 0
|
|
15539
15608
|
});
|
|
15540
15609
|
if (!isReady) {
|
|
15541
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[calc(
|
|
15610
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[calc(100dvh-4rem)] w-full flex-col" });
|
|
15542
15611
|
}
|
|
15543
15612
|
const leftPanelDefaultSize = isMobile ? "10%" : "32%";
|
|
15544
15613
|
const leftPanelMinSize = isMobile ? "10%" : "20%";
|
|
15545
15614
|
const leftPanelMaxSize = isMobile ? "90%" : "40%";
|
|
15546
15615
|
const rightPanelDefaultSize = isMobile ? "90%" : "68%";
|
|
15547
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[calc(
|
|
15616
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[calc(100dvh-4rem)] w-full flex-col transition-opacity duration-150 animate-in fade-in", children: [
|
|
15548
15617
|
header && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-4 flex w-full shrink-0 border-b pr-4", children: header }),
|
|
15549
15618
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 flex-1", children: details || footer ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15550
15619
|
ResizablePanelGroup,
|
|
@@ -15640,10 +15709,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
15640
15709
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15641
15710
|
Checkbox,
|
|
15642
15711
|
{
|
|
15643
|
-
checked: _optionalChain([params, 'access',
|
|
15712
|
+
checked: _optionalChain([params, 'access', _436 => _436.checkedIds, 'optionalAccess', _437 => _437.includes, 'call', _438 => _438(row.getValue(params.name))]) || false,
|
|
15644
15713
|
onCheckedChange: (value) => {
|
|
15645
15714
|
row.toggleSelected(!!value);
|
|
15646
|
-
_optionalChain([params, 'access',
|
|
15715
|
+
_optionalChain([params, 'access', _439 => _439.toggleId, 'optionalCall', _440 => _440(row.getValue(params.name))]);
|
|
15647
15716
|
},
|
|
15648
15717
|
"aria-label": "Select row"
|
|
15649
15718
|
}
|
|
@@ -15702,7 +15771,7 @@ function useJsonApiGet(params) {
|
|
|
15702
15771
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
15703
15772
|
const isMounted = _react.useRef.call(void 0, true);
|
|
15704
15773
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
15705
|
-
if (_optionalChain([params, 'access',
|
|
15774
|
+
if (_optionalChain([params, 'access', _441 => _441.options, 'optionalAccess', _442 => _442.enabled]) === false) return;
|
|
15706
15775
|
setLoading(true);
|
|
15707
15776
|
setError(null);
|
|
15708
15777
|
try {
|
|
@@ -15729,9 +15798,9 @@ function useJsonApiGet(params) {
|
|
|
15729
15798
|
setLoading(false);
|
|
15730
15799
|
}
|
|
15731
15800
|
}
|
|
15732
|
-
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access',
|
|
15801
|
+
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _443 => _443.options, 'optionalAccess', _444 => _444.enabled])]);
|
|
15733
15802
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
15734
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
15803
|
+
if (!_optionalChain([response, 'optionalAccess', _445 => _445.nextPage])) return;
|
|
15735
15804
|
setLoading(true);
|
|
15736
15805
|
try {
|
|
15737
15806
|
const nextResponse = await response.nextPage();
|
|
@@ -15752,7 +15821,7 @@ function useJsonApiGet(params) {
|
|
|
15752
15821
|
}
|
|
15753
15822
|
}, [response]);
|
|
15754
15823
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
15755
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
15824
|
+
if (!_optionalChain([response, 'optionalAccess', _446 => _446.prevPage])) return;
|
|
15756
15825
|
setLoading(true);
|
|
15757
15826
|
try {
|
|
15758
15827
|
const prevResponse = await response.prevPage();
|
|
@@ -15778,15 +15847,15 @@ function useJsonApiGet(params) {
|
|
|
15778
15847
|
return () => {
|
|
15779
15848
|
isMounted.current = false;
|
|
15780
15849
|
};
|
|
15781
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
15850
|
+
}, [fetchData, ..._optionalChain([params, 'access', _447 => _447.options, 'optionalAccess', _448 => _448.deps]) || []]);
|
|
15782
15851
|
return {
|
|
15783
15852
|
data,
|
|
15784
15853
|
loading,
|
|
15785
15854
|
error,
|
|
15786
15855
|
response,
|
|
15787
15856
|
refetch: fetchData,
|
|
15788
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
15789
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
15857
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _449 => _449.next]),
|
|
15858
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _450 => _450.prev]),
|
|
15790
15859
|
fetchNextPage,
|
|
15791
15860
|
fetchPreviousPage
|
|
15792
15861
|
};
|
|
@@ -15864,17 +15933,17 @@ function useJsonApiMutation(config) {
|
|
|
15864
15933
|
if (apiResponse.ok) {
|
|
15865
15934
|
const resultData = apiResponse.data;
|
|
15866
15935
|
setData(resultData);
|
|
15867
|
-
_optionalChain([config, 'access',
|
|
15936
|
+
_optionalChain([config, 'access', _451 => _451.onSuccess, 'optionalCall', _452 => _452(resultData)]);
|
|
15868
15937
|
return resultData;
|
|
15869
15938
|
} else {
|
|
15870
15939
|
setError(apiResponse.error);
|
|
15871
|
-
_optionalChain([config, 'access',
|
|
15940
|
+
_optionalChain([config, 'access', _453 => _453.onError, 'optionalCall', _454 => _454(apiResponse.error)]);
|
|
15872
15941
|
return null;
|
|
15873
15942
|
}
|
|
15874
15943
|
} catch (err) {
|
|
15875
15944
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
15876
15945
|
setError(errorMessage);
|
|
15877
|
-
_optionalChain([config, 'access',
|
|
15946
|
+
_optionalChain([config, 'access', _455 => _455.onError, 'optionalCall', _456 => _456(errorMessage)]);
|
|
15878
15947
|
return null;
|
|
15879
15948
|
} finally {
|
|
15880
15949
|
setLoading(false);
|
|
@@ -15947,7 +16016,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
15947
16016
|
{
|
|
15948
16017
|
href: hasRole(_chunkC2LEIBUKjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
15949
16018
|
page: "/administration",
|
|
15950
|
-
id: _optionalChain([_chunkW73JBOIRjs.Modules, 'access',
|
|
16019
|
+
id: _optionalChain([_chunkW73JBOIRjs.Modules, 'access', _457 => _457.Company, 'access', _458 => _458.pageUrl, 'optionalAccess', _459 => _459.substring, 'call', _460 => _460(1)]),
|
|
15951
16020
|
childPage: company.id
|
|
15952
16021
|
}) : generateUrl({ page: _chunkW73JBOIRjs.Modules.Company, id: company.id }),
|
|
15953
16022
|
children: row.getValue("name")
|
|
@@ -15963,7 +16032,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
15963
16032
|
})
|
|
15964
16033
|
};
|
|
15965
16034
|
const columns = _react.useMemo.call(void 0, () => {
|
|
15966
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
16035
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _461 => _461[field], 'optionalCall', _462 => _462()])).filter((col) => col !== void 0);
|
|
15967
16036
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
15968
16037
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
15969
16038
|
}, "useCompanyTableStructure");
|
|
@@ -15975,7 +16044,7 @@ var GRACE_DAYS = 3;
|
|
|
15975
16044
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
15976
16045
|
if (!currentUser || !_chunkC2LEIBUKjs.isRolesConfigured.call(void 0, )) return false;
|
|
15977
16046
|
const adminRoleId = _chunkC2LEIBUKjs.getRoleId.call(void 0, ).Administrator;
|
|
15978
|
-
return !!_optionalChain([currentUser, 'access',
|
|
16047
|
+
return !!_optionalChain([currentUser, 'access', _463 => _463.roles, 'optionalAccess', _464 => _464.some, 'call', _465 => _465((role) => role.id === adminRoleId)]);
|
|
15979
16048
|
}, "isAdministrator");
|
|
15980
16049
|
function useSubscriptionStatus() {
|
|
15981
16050
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -16092,7 +16161,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
16092
16161
|
})
|
|
16093
16162
|
};
|
|
16094
16163
|
const columns = _react.useMemo.call(void 0, () => {
|
|
16095
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
16164
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _466 => _466[field], 'optionalCall', _467 => _467()])).filter((col) => col !== void 0);
|
|
16096
16165
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
16097
16166
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
16098
16167
|
}, "useRoleTableStructure");
|
|
@@ -16193,11 +16262,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
16193
16262
|
return params.fields.map((field) => {
|
|
16194
16263
|
const localHandler = fieldColumnMap[field];
|
|
16195
16264
|
if (localHandler) return localHandler();
|
|
16196
|
-
const customHandler = _optionalChain([params, 'access',
|
|
16265
|
+
const customHandler = _optionalChain([params, 'access', _468 => _468.context, 'optionalAccess', _469 => _469.customCells, 'optionalAccess', _470 => _470[field]]);
|
|
16197
16266
|
if (customHandler) return customHandler({ t });
|
|
16198
16267
|
return void 0;
|
|
16199
16268
|
}).filter((col) => col !== void 0);
|
|
16200
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
16269
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _471 => _471.context, 'optionalAccess', _472 => _472.customCells])]);
|
|
16201
16270
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
16202
16271
|
}, "useContentTableStructure");
|
|
16203
16272
|
|
|
@@ -16533,7 +16602,7 @@ function ContentTableSearch({ data }) {
|
|
|
16533
16602
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
16534
16603
|
if (!isExpanded) {
|
|
16535
16604
|
setIsFocused(true);
|
|
16536
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
16605
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _473 => _473.current, 'optionalAccess', _474 => _474.focus, 'call', _475 => _475()]), 50);
|
|
16537
16606
|
}
|
|
16538
16607
|
}, "handleSearchIconClick");
|
|
16539
16608
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -16613,7 +16682,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16613
16682
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
16614
16683
|
);
|
|
16615
16684
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
16616
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
16685
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _476 => _476.data]), () => ( EMPTY_ARRAY)),
|
|
16617
16686
|
fields,
|
|
16618
16687
|
checkedIds,
|
|
16619
16688
|
toggleId,
|
|
@@ -16646,7 +16715,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16646
16715
|
});
|
|
16647
16716
|
const rowModel = tableData ? table.getRowModel() : null;
|
|
16648
16717
|
const groupedRows = _react.useMemo.call(void 0, () => {
|
|
16649
|
-
if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess',
|
|
16718
|
+
if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess', _477 => _477.rows, 'optionalAccess', _478 => _478.length])) return null;
|
|
16650
16719
|
const groupMap = /* @__PURE__ */ new Map();
|
|
16651
16720
|
for (const row of rowModel.rows) {
|
|
16652
16721
|
const keys = getGroupKeys(row.original, props.groupBy);
|
|
@@ -16714,19 +16783,19 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16714
16783
|
) }),
|
|
16715
16784
|
!props.hideHeader && table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
16716
16785
|
const meta = header.column.columnDef.meta;
|
|
16717
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess',
|
|
16786
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _479 => _479.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
|
|
16718
16787
|
}) }, headerGroup.id))
|
|
16719
16788
|
] }),
|
|
16720
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access',
|
|
16721
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-muted px-4 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MicroLabel, { children: _nullishCoalesce(_optionalChain([props, 'access',
|
|
16789
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _480 => _480.rows, 'optionalAccess', _481 => _481.length]) ? groupedRows ? groupedRows.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React.default.Fragment, { children: [
|
|
16790
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-muted px-4 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MicroLabel, { children: _nullishCoalesce(_optionalChain([props, 'access', _482 => _482.groupLabel, 'optionalCall', _483 => _483(group.groupKey)]), () => ( group.groupKey)) }) }) }),
|
|
16722
16791
|
group.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16723
16792
|
TableRow,
|
|
16724
16793
|
{
|
|
16725
|
-
onClick: () => _optionalChain([onRowClick, 'optionalCall',
|
|
16794
|
+
onClick: () => _optionalChain([onRowClick, 'optionalCall', _484 => _484(row.original.jsonApiData)]),
|
|
16726
16795
|
className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
|
|
16727
16796
|
children: row.getVisibleCells().map((cell) => {
|
|
16728
16797
|
const meta = cell.column.columnDef.meta;
|
|
16729
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
16798
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _485 => _485.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
16730
16799
|
})
|
|
16731
16800
|
},
|
|
16732
16801
|
row.id
|
|
@@ -16734,11 +16803,11 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16734
16803
|
] }, group.groupKey)) : rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16735
16804
|
TableRow,
|
|
16736
16805
|
{
|
|
16737
|
-
onClick: () => _optionalChain([onRowClick, 'optionalCall',
|
|
16806
|
+
onClick: () => _optionalChain([onRowClick, 'optionalCall', _486 => _486(row.original.jsonApiData)]),
|
|
16738
16807
|
className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
|
|
16739
16808
|
children: row.getVisibleCells().map((cell) => {
|
|
16740
16809
|
const meta = cell.column.columnDef.meta;
|
|
16741
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
16810
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _487 => _487.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
16742
16811
|
})
|
|
16743
16812
|
},
|
|
16744
16813
|
row.id
|
|
@@ -16751,7 +16820,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16751
16820
|
size: "sm",
|
|
16752
16821
|
onClick: (e) => {
|
|
16753
16822
|
e.preventDefault();
|
|
16754
|
-
_optionalChain([data, 'access',
|
|
16823
|
+
_optionalChain([data, 'access', _488 => _488.previous, 'optionalCall', _489 => _489(true)]);
|
|
16755
16824
|
},
|
|
16756
16825
|
disabled: !data.previous,
|
|
16757
16826
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -16765,7 +16834,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16765
16834
|
size: "sm",
|
|
16766
16835
|
onClick: (e) => {
|
|
16767
16836
|
e.preventDefault();
|
|
16768
|
-
_optionalChain([data, 'access',
|
|
16837
|
+
_optionalChain([data, 'access', _490 => _490.next, 'optionalCall', _491 => _491(true)]);
|
|
16769
16838
|
},
|
|
16770
16839
|
disabled: !data.next,
|
|
16771
16840
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -16786,7 +16855,7 @@ function ContentListGrid(props) {
|
|
|
16786
16855
|
if (!data.next || !sentinelRef.current) return;
|
|
16787
16856
|
const observer = new IntersectionObserver(
|
|
16788
16857
|
(entries) => {
|
|
16789
|
-
if (_optionalChain([entries, 'access',
|
|
16858
|
+
if (_optionalChain([entries, 'access', _492 => _492[0], 'optionalAccess', _493 => _493.isIntersecting])) _optionalChain([data, 'access', _494 => _494.next, 'optionalCall', _495 => _495()]);
|
|
16790
16859
|
},
|
|
16791
16860
|
{ threshold: 0.1, rootMargin: "200px" }
|
|
16792
16861
|
);
|
|
@@ -17573,7 +17642,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
17573
17642
|
newDigits[index] = digit;
|
|
17574
17643
|
setDigits(newDigits);
|
|
17575
17644
|
if (digit && index < 5) {
|
|
17576
|
-
_optionalChain([inputRefs, 'access',
|
|
17645
|
+
_optionalChain([inputRefs, 'access', _496 => _496.current, 'access', _497 => _497[index + 1], 'optionalAccess', _498 => _498.focus, 'call', _499 => _499()]);
|
|
17577
17646
|
}
|
|
17578
17647
|
const code = newDigits.join("");
|
|
17579
17648
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -17582,7 +17651,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
17582
17651
|
}, "handleChange");
|
|
17583
17652
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
17584
17653
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
17585
|
-
_optionalChain([inputRefs, 'access',
|
|
17654
|
+
_optionalChain([inputRefs, 'access', _500 => _500.current, 'access', _501 => _501[index - 1], 'optionalAccess', _502 => _502.focus, 'call', _503 => _503()]);
|
|
17586
17655
|
}
|
|
17587
17656
|
}, "handleKeyDown");
|
|
17588
17657
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -17591,7 +17660,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
17591
17660
|
if (pastedData.length === 6) {
|
|
17592
17661
|
const newDigits = pastedData.split("");
|
|
17593
17662
|
setDigits(newDigits);
|
|
17594
|
-
_optionalChain([inputRefs, 'access',
|
|
17663
|
+
_optionalChain([inputRefs, 'access', _504 => _504.current, 'access', _505 => _505[5], 'optionalAccess', _506 => _506.focus, 'call', _507 => _507()]);
|
|
17595
17664
|
onComplete(pastedData);
|
|
17596
17665
|
}
|
|
17597
17666
|
}, "handlePaste");
|
|
@@ -17802,8 +17871,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
17802
17871
|
try {
|
|
17803
17872
|
const registrationData = await _chunkW73JBOIRjs.TwoFactorService.getPasskeyRegistrationOptions({
|
|
17804
17873
|
id: _uuid.v4.call(void 0, ),
|
|
17805
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
17806
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
17874
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _508 => _508.email]), () => ( "")),
|
|
17875
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _509 => _509.name])
|
|
17807
17876
|
});
|
|
17808
17877
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
17809
17878
|
await _chunkW73JBOIRjs.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -17954,7 +18023,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
17954
18023
|
const setup = await _chunkW73JBOIRjs.TwoFactorService.setupTotp({
|
|
17955
18024
|
id: _uuid.v4.call(void 0, ),
|
|
17956
18025
|
name: name.trim(),
|
|
17957
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
18026
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _510 => _510.email]), () => ( ""))
|
|
17958
18027
|
});
|
|
17959
18028
|
setQrCodeUri(setup.qrCodeUri);
|
|
17960
18029
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -18088,7 +18157,7 @@ function TwoFactorSettings() {
|
|
|
18088
18157
|
if (isLoading) {
|
|
18089
18158
|
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") }) }) });
|
|
18090
18159
|
}
|
|
18091
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
18160
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _511 => _511.isEnabled]), () => ( false));
|
|
18092
18161
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
18093
18162
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
18094
18163
|
isEnabled ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldCheck, { className: "text-success h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldAlert, { className: "text-warning h-6 w-6" }),
|
|
@@ -18126,7 +18195,7 @@ function TwoFactorSettings() {
|
|
|
18126
18195
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
18127
18196
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
18128
18197
|
] }),
|
|
18129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
18198
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _512 => _512.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
18130
18199
|
] }) }),
|
|
18131
18200
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18132
18201
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -18304,9 +18373,9 @@ function AcceptInvitation() {
|
|
|
18304
18373
|
});
|
|
18305
18374
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
18306
18375
|
try {
|
|
18307
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
18376
|
+
if (!_optionalChain([params, 'optionalAccess', _513 => _513.code])) return;
|
|
18308
18377
|
const payload = {
|
|
18309
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
18378
|
+
code: _optionalChain([params, 'optionalAccess', _514 => _514.code]),
|
|
18310
18379
|
password: values.password
|
|
18311
18380
|
};
|
|
18312
18381
|
await _chunkW73JBOIRjs.AuthService.acceptInvitation(payload);
|
|
@@ -18656,7 +18725,7 @@ function Logout({ storageKeys }) {
|
|
|
18656
18725
|
const generateUrl = usePageUrlGenerator();
|
|
18657
18726
|
_react.useEffect.call(void 0, () => {
|
|
18658
18727
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
18659
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
18728
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _515 => _515.length])) {
|
|
18660
18729
|
clearClientStorage(storageKeys);
|
|
18661
18730
|
}
|
|
18662
18731
|
await _chunkW73JBOIRjs.AuthService.logout();
|
|
@@ -18679,14 +18748,14 @@ function RefreshUser() {
|
|
|
18679
18748
|
setUser(fullUser);
|
|
18680
18749
|
const token = {
|
|
18681
18750
|
userId: fullUser.id,
|
|
18682
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
18751
|
+
companyId: _optionalChain([fullUser, 'access', _516 => _516.company, 'optionalAccess', _517 => _517.id]),
|
|
18683
18752
|
roles: fullUser.roles.map((role) => role.id),
|
|
18684
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
18753
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _518 => _518.company, 'optionalAccess', _519 => _519.features, 'optionalAccess', _520 => _520.map, 'call', _521 => _521((feature) => feature.id)]), () => ( [])),
|
|
18685
18754
|
modules: fullUser.modules.map((module) => {
|
|
18686
18755
|
return { id: module.id, permissions: module.permissions };
|
|
18687
18756
|
})
|
|
18688
18757
|
};
|
|
18689
|
-
await _optionalChain([_chunkW73JBOIRjs.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
18758
|
+
await _optionalChain([_chunkW73JBOIRjs.getTokenHandler.call(void 0, ), 'optionalAccess', _522 => _522.updateToken, 'call', _523 => _523(token)]);
|
|
18690
18759
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
18691
18760
|
}
|
|
18692
18761
|
}, "loadFullUser");
|
|
@@ -18750,9 +18819,9 @@ function ResetPassword() {
|
|
|
18750
18819
|
});
|
|
18751
18820
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
18752
18821
|
try {
|
|
18753
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
18822
|
+
if (!_optionalChain([params, 'optionalAccess', _524 => _524.code])) return;
|
|
18754
18823
|
const payload = {
|
|
18755
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
18824
|
+
code: _optionalChain([params, 'optionalAccess', _525 => _525.code]),
|
|
18756
18825
|
password: values.password
|
|
18757
18826
|
};
|
|
18758
18827
|
await _chunkW73JBOIRjs.AuthService.resetPassword(payload);
|
|
@@ -19101,7 +19170,7 @@ function extractHeadings(blocks) {
|
|
|
19101
19170
|
function processBlocks(blockArray) {
|
|
19102
19171
|
for (const block of blockArray) {
|
|
19103
19172
|
if (block.type === "heading") {
|
|
19104
|
-
const level = _optionalChain([block, 'access',
|
|
19173
|
+
const level = _optionalChain([block, 'access', _526 => _526.props, 'optionalAccess', _527 => _527.level]) || 1;
|
|
19105
19174
|
const text = extractTextFromContent(block.content);
|
|
19106
19175
|
if (text.trim()) {
|
|
19107
19176
|
headings.push({
|
|
@@ -19444,7 +19513,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
|
|
|
19444
19513
|
})
|
|
19445
19514
|
};
|
|
19446
19515
|
const columns = _react.useMemo.call(void 0, () => {
|
|
19447
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
19516
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _528 => _528[field], 'optionalCall', _529 => _529()])).filter((col) => col !== void 0);
|
|
19448
19517
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
19449
19518
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
19450
19519
|
}, "useHowToTableStructure");
|
|
@@ -19543,7 +19612,7 @@ function HowToSelector({
|
|
|
19543
19612
|
}, "setHowTo");
|
|
19544
19613
|
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: [
|
|
19545
19614
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
|
|
19546
|
-
/* @__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',
|
|
19615
|
+
/* @__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', _530 => _530.value, 'optionalAccess', _531 => _531.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 }) }))) }) }) }),
|
|
19547
19616
|
field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19548
19617
|
_lucidereact.CircleX,
|
|
19549
19618
|
{
|
|
@@ -19912,9 +19981,9 @@ function CitationsTab({ citations, sources }) {
|
|
|
19912
19981
|
] }) }),
|
|
19913
19982
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
|
|
19914
19983
|
const isOpen = expanded.has(chunk.id);
|
|
19915
|
-
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess',
|
|
19984
|
+
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _532 => _532.get, 'call', _533 => _533(chunk.nodeId)]) : void 0;
|
|
19916
19985
|
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")));
|
|
19917
|
-
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
19986
|
+
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _534 => _534.name]), () => ( fallbackName));
|
|
19918
19987
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
19919
19988
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
19920
19989
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -19961,7 +20030,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
19961
20030
|
for (const c of citations) {
|
|
19962
20031
|
const id = c.nodeId;
|
|
19963
20032
|
if (!id) continue;
|
|
19964
|
-
const source = _optionalChain([sources, 'optionalAccess',
|
|
20033
|
+
const source = _optionalChain([sources, 'optionalAccess', _535 => _535.get, 'call', _536 => _536(id)]);
|
|
19965
20034
|
if (!source) continue;
|
|
19966
20035
|
const existing = map.get(id);
|
|
19967
20036
|
if (existing) {
|
|
@@ -20028,7 +20097,7 @@ function UsersTab({ users, citations, sources }) {
|
|
|
20028
20097
|
const generate = usePageUrlGenerator();
|
|
20029
20098
|
const userMap = /* @__PURE__ */ new Map();
|
|
20030
20099
|
for (const u of users) {
|
|
20031
|
-
if (!_optionalChain([u, 'optionalAccess',
|
|
20100
|
+
if (!_optionalChain([u, 'optionalAccess', _537 => _537.id])) continue;
|
|
20032
20101
|
userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
|
|
20033
20102
|
}
|
|
20034
20103
|
if (citations && sources) {
|
|
@@ -20133,7 +20202,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
|
|
|
20133
20202
|
}
|
|
20134
20203
|
return ids.size;
|
|
20135
20204
|
}, [message.citations, sources]);
|
|
20136
|
-
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess',
|
|
20205
|
+
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _538 => _538.length]), () => ( 0));
|
|
20137
20206
|
const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
|
|
20138
20207
|
const visibleTabs = [];
|
|
20139
20208
|
if (suggestionsCount > 0) visibleTabs.push("suggested");
|
|
@@ -20193,8 +20262,8 @@ var SourcesFetcher = class extends _chunkW73JBOIRjs.ClientAbstractService {
|
|
|
20193
20262
|
const endpoint = new (0, _chunkW73JBOIRjs.EndpointCreator)({ endpoint: params.module });
|
|
20194
20263
|
endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
|
|
20195
20264
|
endpoint.addAdditionalParam("fetchAll", "true");
|
|
20196
|
-
if (_optionalChain([params, 'access',
|
|
20197
|
-
if (_optionalChain([params, 'access',
|
|
20265
|
+
if (_optionalChain([params, 'access', _539 => _539.module, 'access', _540 => _540.inclusions, 'optionalAccess', _541 => _541.lists, 'optionalAccess', _542 => _542.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
|
|
20266
|
+
if (_optionalChain([params, 'access', _543 => _543.module, 'access', _544 => _544.inclusions, 'optionalAccess', _545 => _545.lists, 'optionalAccess', _546 => _546.types])) endpoint.limitToType(params.module.inclusions.lists.types);
|
|
20198
20267
|
return this.callApi({
|
|
20199
20268
|
type: params.module,
|
|
20200
20269
|
method: "GET" /* GET */,
|
|
@@ -20273,7 +20342,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
|
|
|
20273
20342
|
return void 0;
|
|
20274
20343
|
}
|
|
20275
20344
|
})()));
|
|
20276
|
-
if (_optionalChain([author, 'optionalAccess',
|
|
20345
|
+
if (_optionalChain([author, 'optionalAccess', _547 => _547.id])) userMap.set(author.id, author);
|
|
20277
20346
|
}
|
|
20278
20347
|
return Array.from(userMap.values());
|
|
20279
20348
|
}, [resolved]);
|
|
@@ -20302,14 +20371,14 @@ function MessageItem({
|
|
|
20302
20371
|
}) {
|
|
20303
20372
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
20304
20373
|
const isUser = message.role === "user";
|
|
20305
|
-
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess',
|
|
20374
|
+
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _548 => _548.has, 'call', _549 => _549(message.id)]);
|
|
20306
20375
|
if (isUser) {
|
|
20307
20376
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
|
|
20308
20377
|
/* @__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 }),
|
|
20309
20378
|
isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
|
|
20310
20379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
|
|
20311
20380
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
|
|
20312
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: () => _optionalChain([onRetry, 'optionalCall',
|
|
20381
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: () => _optionalChain([onRetry, 'optionalCall', _550 => _550(message.id)]), children: t("features.assistant.retry") })
|
|
20313
20382
|
] })
|
|
20314
20383
|
] });
|
|
20315
20384
|
}
|
|
@@ -20385,7 +20454,7 @@ function AssistantThread({
|
|
|
20385
20454
|
}) {
|
|
20386
20455
|
const endRef = _react.useRef.call(void 0, null);
|
|
20387
20456
|
_react.useEffect.call(void 0, () => {
|
|
20388
|
-
_optionalChain([endRef, 'access',
|
|
20457
|
+
_optionalChain([endRef, 'access', _551 => _551.current, 'optionalAccess', _552 => _552.scrollIntoView, 'call', _553 => _553({ behavior: "smooth" })]);
|
|
20389
20458
|
}, [messages.length, sending]);
|
|
20390
20459
|
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: [
|
|
20391
20460
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -20414,7 +20483,7 @@ function AssistantContainer({ renderApprovalAction } = {}) {
|
|
|
20414
20483
|
AssistantSidebar,
|
|
20415
20484
|
{
|
|
20416
20485
|
threads: ctx.threads,
|
|
20417
|
-
activeId: _optionalChain([ctx, 'access',
|
|
20486
|
+
activeId: _optionalChain([ctx, 'access', _554 => _554.assistant, 'optionalAccess', _555 => _555.id]),
|
|
20418
20487
|
onSelect: ctx.selectThread,
|
|
20419
20488
|
onNew: ctx.startNew
|
|
20420
20489
|
}
|
|
@@ -20508,14 +20577,14 @@ function NotificationsList({ archived }) {
|
|
|
20508
20577
|
] }),
|
|
20509
20578
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
20510
20579
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
20511
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access',
|
|
20580
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _556 => _556.data, 'optionalAccess', _557 => _557.map, 'call', _558 => _558((notification) => {
|
|
20512
20581
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
20513
20582
|
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: [
|
|
20514
20583
|
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: _chunkW73JBOIRjs.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" }),
|
|
20515
20584
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
20516
20585
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
20517
20586
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
20518
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
20587
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _559 => _559.actor, 'optionalAccess', _560 => _560.name]), () => ( "")),
|
|
20519
20588
|
title: notificationData.title
|
|
20520
20589
|
}) }),
|
|
20521
20590
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -20861,7 +20930,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
20861
20930
|
invalidEmail: "Please enter a valid email address"
|
|
20862
20931
|
};
|
|
20863
20932
|
async function copyToClipboard(text) {
|
|
20864
|
-
if (_optionalChain([navigator, 'access',
|
|
20933
|
+
if (_optionalChain([navigator, 'access', _561 => _561.clipboard, 'optionalAccess', _562 => _562.writeText])) {
|
|
20865
20934
|
try {
|
|
20866
20935
|
await navigator.clipboard.writeText(text);
|
|
20867
20936
|
return true;
|
|
@@ -20903,7 +20972,7 @@ function ReferralWidget({
|
|
|
20903
20972
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
20904
20973
|
const config = _chunkC2LEIBUKjs.getReferralConfig.call(void 0, );
|
|
20905
20974
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
20906
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
20975
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _563 => _563.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
20907
20976
|
if (!_chunkC2LEIBUKjs.isReferralEnabled.call(void 0, )) {
|
|
20908
20977
|
return null;
|
|
20909
20978
|
}
|
|
@@ -20913,7 +20982,7 @@ function ReferralWidget({
|
|
|
20913
20982
|
if (success) {
|
|
20914
20983
|
setCopied(true);
|
|
20915
20984
|
_chunkW73JBOIRjs.showToast.call(void 0, t.copiedMessage);
|
|
20916
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
20985
|
+
_optionalChain([onLinkCopied, 'optionalCall', _564 => _564()]);
|
|
20917
20986
|
setTimeout(() => setCopied(false), 2e3);
|
|
20918
20987
|
} else {
|
|
20919
20988
|
_chunkW73JBOIRjs.showError.call(void 0, t.copyError);
|
|
@@ -20927,12 +20996,12 @@ function ReferralWidget({
|
|
|
20927
20996
|
try {
|
|
20928
20997
|
await sendInvite(email);
|
|
20929
20998
|
_chunkW73JBOIRjs.showToast.call(void 0, t.inviteSent);
|
|
20930
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
20999
|
+
_optionalChain([onInviteSent, 'optionalCall', _565 => _565(email)]);
|
|
20931
21000
|
setEmail("");
|
|
20932
21001
|
} catch (err) {
|
|
20933
21002
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
20934
21003
|
_chunkW73JBOIRjs.showError.call(void 0, error2.message);
|
|
20935
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
21004
|
+
_optionalChain([onInviteError, 'optionalCall', _566 => _566(error2)]);
|
|
20936
21005
|
}
|
|
20937
21006
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
20938
21007
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -21686,7 +21755,7 @@ function OAuthClientList({
|
|
|
21686
21755
|
OAuthClientCard,
|
|
21687
21756
|
{
|
|
21688
21757
|
client,
|
|
21689
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
21758
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _567 => _567(client)]),
|
|
21690
21759
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
21691
21760
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
21692
21761
|
},
|
|
@@ -21702,11 +21771,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
21702
21771
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
21703
21772
|
const isEditMode = !!client;
|
|
21704
21773
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
21705
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
21706
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
21707
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
21708
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
21709
|
-
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess',
|
|
21774
|
+
name: _optionalChain([client, 'optionalAccess', _568 => _568.name]) || "",
|
|
21775
|
+
description: _optionalChain([client, 'optionalAccess', _569 => _569.description]) || "",
|
|
21776
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _570 => _570.redirectUris, 'optionalAccess', _571 => _571.length]) ? client.redirectUris : [""],
|
|
21777
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _572 => _572.allowedScopes]) || [],
|
|
21778
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _573 => _573.isConfidential]), () => ( true))
|
|
21710
21779
|
});
|
|
21711
21780
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
21712
21781
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -21934,7 +22003,7 @@ function OAuthClientDetail({
|
|
|
21934
22003
|
] }),
|
|
21935
22004
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21936
22005
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
21937
|
-
/* @__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([_chunkW73JBOIRjs.OAUTH_SCOPE_DISPLAY, 'access',
|
|
22006
|
+
/* @__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([_chunkW73JBOIRjs.OAUTH_SCOPE_DISPLAY, 'access', _574 => _574[scope], 'optionalAccess', _575 => _575.name]) || scope }, scope)) })
|
|
21938
22007
|
] }),
|
|
21939
22008
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21940
22009
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -22070,19 +22139,19 @@ function OAuthConsentScreen({
|
|
|
22070
22139
|
}) {
|
|
22071
22140
|
const { clientInfo, isLoading, error, approve, deny, isSubmitting } = useOAuthConsent(params);
|
|
22072
22141
|
if (isLoading) {
|
|
22073
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-
|
|
22142
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-dvh flex items-center justify-center p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "w-full max-w-md", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardContent, { className: "flex flex-col items-center justify-center py-12", children: [
|
|
22074
22143
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-muted-foreground" }),
|
|
22075
22144
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mt-4 text-muted-foreground", children: "Loading authorization request..." })
|
|
22076
22145
|
] }) }) });
|
|
22077
22146
|
}
|
|
22078
22147
|
if (error || !clientInfo) {
|
|
22079
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-
|
|
22148
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-dvh flex items-center justify-center p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "w-full max-w-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "py-8", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Alert, { variant: "destructive", children: [
|
|
22080
22149
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
22081
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess',
|
|
22150
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _576 => _576.message]) || "Invalid authorization request. Please try again." })
|
|
22082
22151
|
] }) }) }) });
|
|
22083
22152
|
}
|
|
22084
22153
|
const { client, scopes } = clientInfo;
|
|
22085
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-
|
|
22154
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-dvh flex items-center justify-center p-4 bg-muted/30", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { className: "w-full max-w-md", children: [
|
|
22086
22155
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardContent, { className: "pt-6 space-y-6", children: [
|
|
22087
22156
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, OAuthConsentHeader, { client, logoUrl, appName }),
|
|
22088
22157
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -22294,7 +22363,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
22294
22363
|
questionnaire: values.questionnaire
|
|
22295
22364
|
});
|
|
22296
22365
|
setIsSuccess(true);
|
|
22297
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
22366
|
+
_optionalChain([onSuccess, 'optionalCall', _577 => _577()]);
|
|
22298
22367
|
} catch (e) {
|
|
22299
22368
|
errorToast({ error: e });
|
|
22300
22369
|
} finally {
|
|
@@ -22942,7 +23011,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
|
|
|
22942
23011
|
] }),
|
|
22943
23012
|
roleIds.map((roleId) => {
|
|
22944
23013
|
const roleTokens = block[roleId];
|
|
22945
|
-
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
23014
|
+
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _578 => _578[roleId]]), () => ( roleId));
|
|
22946
23015
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
22947
23016
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
|
|
22948
23017
|
_chunkC2LEIBUKjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22979,7 +23048,7 @@ function RbacContainer() {
|
|
|
22979
23048
|
}, []);
|
|
22980
23049
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
22981
23050
|
if (!matrix) return [];
|
|
22982
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
23051
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _579 => _579[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _580 => _580[b]]), () => ( b))));
|
|
22983
23052
|
}, [matrix, moduleNames]);
|
|
22984
23053
|
const roleIds = _react.useMemo.call(void 0, () => {
|
|
22985
23054
|
if (roleNames) {
|
|
@@ -23042,7 +23111,7 @@ function RbacContainer() {
|
|
|
23042
23111
|
id === selectedModuleId && "bg-muted font-medium text-foreground",
|
|
23043
23112
|
id !== selectedModuleId && "text-muted-foreground"
|
|
23044
23113
|
),
|
|
23045
|
-
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
23114
|
+
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _581 => _581[id]]), () => ( id))
|
|
23046
23115
|
}
|
|
23047
23116
|
) }, id)) }) }),
|
|
23048
23117
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23050,7 +23119,7 @@ function RbacContainer() {
|
|
|
23050
23119
|
{
|
|
23051
23120
|
moduleId: selectedModuleId,
|
|
23052
23121
|
block: selectedBlock,
|
|
23053
|
-
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
23122
|
+
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _582 => _582[selectedModuleId]]), () => ( selectedModuleId)),
|
|
23054
23123
|
roleIds,
|
|
23055
23124
|
roleNames,
|
|
23056
23125
|
onOpenPicker: openPicker
|
|
@@ -23061,12 +23130,12 @@ function RbacContainer() {
|
|
|
23061
23130
|
RbacPermissionPicker,
|
|
23062
23131
|
{
|
|
23063
23132
|
open: !!activePicker,
|
|
23064
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
23133
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _583 => _583.anchor]), () => ( null)),
|
|
23065
23134
|
value: activeValue,
|
|
23066
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
23135
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _584 => _584.isRoleColumn]), () => ( false)),
|
|
23067
23136
|
knownSegments: activeSegments,
|
|
23068
23137
|
onSetValue: handleSetValue,
|
|
23069
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
23138
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _585 => _585.isRoleColumn]) ? handleClear : void 0,
|
|
23070
23139
|
onClose: closePicker
|
|
23071
23140
|
}
|
|
23072
23141
|
)
|
|
@@ -23133,7 +23202,7 @@ function RbacByRoleContainer() {
|
|
|
23133
23202
|
}, [roleNames]);
|
|
23134
23203
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
23135
23204
|
if (!matrix) return [];
|
|
23136
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
23205
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _586 => _586[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _587 => _587[b]]), () => ( b))));
|
|
23137
23206
|
}, [matrix, moduleNames]);
|
|
23138
23207
|
_react.useEffect.call(void 0, () => {
|
|
23139
23208
|
if (!selectedRoleId && sortedRoleIds.length > 0) {
|
|
@@ -23182,7 +23251,7 @@ function RbacByRoleContainer() {
|
|
|
23182
23251
|
id === selectedRoleId && "bg-muted font-medium text-foreground",
|
|
23183
23252
|
id !== selectedRoleId && "text-muted-foreground"
|
|
23184
23253
|
),
|
|
23185
|
-
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
23254
|
+
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _588 => _588[id]]), () => ( id))
|
|
23186
23255
|
}
|
|
23187
23256
|
) }, id)) }) }),
|
|
23188
23257
|
/* @__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: [
|
|
@@ -23202,7 +23271,7 @@ function RbacByRoleContainer() {
|
|
|
23202
23271
|
if (!block) return null;
|
|
23203
23272
|
const defaultTokens = _nullishCoalesce(block.default, () => ( []));
|
|
23204
23273
|
const roleTokens = block[selectedRoleId];
|
|
23205
|
-
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
23274
|
+
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _589 => _589[moduleId]]), () => ( moduleId));
|
|
23206
23275
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
23207
23276
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23208
23277
|
"td",
|
|
@@ -23217,7 +23286,7 @@ function RbacByRoleContainer() {
|
|
|
23217
23286
|
_chunkC2LEIBUKjs.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))
|
|
23218
23287
|
] }),
|
|
23219
23288
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
23220
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
23289
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _590 => _590[selectedRoleId]]), () => ( selectedRoleId)) }),
|
|
23221
23290
|
_chunkC2LEIBUKjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23222
23291
|
CellButton3,
|
|
23223
23292
|
{
|
|
@@ -23238,12 +23307,12 @@ function RbacByRoleContainer() {
|
|
|
23238
23307
|
RbacPermissionPicker,
|
|
23239
23308
|
{
|
|
23240
23309
|
open: !!activePicker,
|
|
23241
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
23310
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _591 => _591.anchor]), () => ( null)),
|
|
23242
23311
|
value: activeValue,
|
|
23243
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
23312
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _592 => _592.isRoleColumn]), () => ( false)),
|
|
23244
23313
|
knownSegments: activeSegments,
|
|
23245
23314
|
onSetValue: handleSetValue,
|
|
23246
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
23315
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _593 => _593.isRoleColumn]) ? handleClear : void 0,
|
|
23247
23316
|
onClose: closePicker
|
|
23248
23317
|
}
|
|
23249
23318
|
)
|
|
@@ -23798,5 +23867,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
|
|
|
23798
23867
|
|
|
23799
23868
|
|
|
23800
23869
|
|
|
23801
|
-
exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce2; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.computeLayeredLayout = computeLayeredLayout; exports.fitLayeredLayoutToAspectRatio = fitLayeredLayoutToAspectRatio; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ConfirmDialog = ConfirmDialog; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.EmptyState = EmptyState; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.spinnerVariants = spinnerVariants; exports.Spinner = Spinner; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.useDebounce2 = useDebounce; exports.MultipleSelector = MultipleSelector; exports.EntityAvatar = EntityAvatar; exports.errorToast = errorToast; exports.EditableAvatar = EditableAvatar; exports.TableCellAvatar = TableCellAvatar; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.useHeaderMobileChildren = useHeaderMobileChildren; exports.useHeaderRootLabel = useHeaderRootLabel; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.HeaderLogoProvider = HeaderLogoProvider; exports.useHeaderLogo = useHeaderLogo; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.MobileNavigationProvider = MobileNavigationProvider; exports.useMobileNavigationItems = useMobileNavigationItems; exports.MobileNavigationBar = MobileNavigationBar; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.partitionTabs = partitionTabs; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.BlockNoteEditorMentionHoverCard = BlockNoteEditorMentionHoverCard; exports.mentionDataAttrs = mentionDataAttrs; exports.parseMentionElement = parseMentionElement; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.useMentionInsert = useMentionInsert; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.BlockNoteViewerContainer = BlockNoteViewerContainer; exports.SectionHeader = SectionHeader; exports.MicroLabel = MicroLabel; exports.DetailField = DetailField; exports.FormFeatures = FormFeatures; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.CommonAddTrigger = CommonAddTrigger; exports.CurrencyInput = CurrencyInput; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.EntitySelector = EntitySelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormBlockNote = FormBlockNote; exports.FormCheckbox = FormCheckbox; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.FormBody = FormBody; exports.FormSection = FormSection; exports.FormRow = FormRow; exports.FormCol = FormCol; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.GdprConsentCheckbox = GdprConsentCheckbox; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellDateTime = cellDateTime; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.ContentListGrid = ContentListGrid; exports.ItalianFiscalData_default = ItalianFiscalData_default; exports.ItalianFiscalDataDisplay = ItalianFiscalDataDisplay; exports.parseFiscalData = parseFiscalData; exports.FiscalDataDisplay = FiscalDataDisplay; exports.EntityHeroLayout = EntityHeroLayout; exports.EntityHero = EntityHero; exports.EntityHeroAvatar = EntityHeroAvatar; exports.EntityHeroMetaRow = EntityHeroMetaRow; exports.EntitySection = EntitySection; exports.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.BackupCodesDialog = BackupCodesDialog; exports.TotpInput = TotpInput; exports.DisableTwoFactorDialog = DisableTwoFactorDialog; exports.PasskeyList = PasskeyList; exports.PasskeySetupDialog = PasskeySetupDialog; exports.TotpAuthenticatorList = TotpAuthenticatorList; exports.TotpSetupDialog = TotpSetupDialog; exports.TwoFactorSettings = TwoFactorSettings; exports.SecurityContainer = SecurityContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.PasskeyButton = PasskeyButton; exports.TwoFactorChallenge = TwoFactorChallenge; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.HowToCommandViewer = HowToCommandViewer; exports.HowToCommand = HowToCommand; exports.HowToDeleter = HowToDeleter; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.AssistantComposer = AssistantComposer; exports.AssistantEmptyState = AssistantEmptyState; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantThread = AssistantThread; exports.AssistantContainer = AssistantContainer; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.OnboardingCard = OnboardingCard; exports.ReferralCodeCapture = ReferralCodeCapture; exports.ReferralWidget = ReferralWidget; exports.ReferralDialog = ReferralDialog; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.WaitlistQuestionnaireRenderer = WaitlistQuestionnaireRenderer; exports.WaitlistForm = WaitlistForm; exports.WaitlistHeroSection = WaitlistHeroSection; exports.WaitlistSuccessState = WaitlistSuccessState; exports.WaitlistConfirmation = WaitlistConfirmation; exports.WaitlistList = WaitlistList; exports.RbacProvider = RbacProvider; exports.useRbacContext = useRbacContext; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacContainer = RbacContainer; exports.RbacByRoleContainer = RbacByRoleContainer; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.DEFAULT_ONBOARDING_LABELS = DEFAULT_ONBOARDING_LABELS; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.ViewportProvider = ViewportProvider; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
|
|
23802
|
-
//# sourceMappingURL=chunk-DNWYHP4V.js.map
|
|
23870
|
+
|
|
23871
|
+
exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce2; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.computeLayeredLayout = computeLayeredLayout; exports.fitLayeredLayoutToAspectRatio = fitLayeredLayoutToAspectRatio; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ConfirmDialog = ConfirmDialog; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.EmptyState = EmptyState; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.spinnerVariants = spinnerVariants; exports.Spinner = Spinner; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.useDebounce2 = useDebounce; exports.MultipleSelector = MultipleSelector; exports.EntityAvatar = EntityAvatar; exports.errorToast = errorToast; exports.EditableAvatar = EditableAvatar; exports.TableCellAvatar = TableCellAvatar; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.useHeaderMobileChildren = useHeaderMobileChildren; exports.useHeaderRootLabel = useHeaderRootLabel; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.HeaderLogoProvider = HeaderLogoProvider; exports.useHeaderLogo = useHeaderLogo; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.MobileNavigationProvider = MobileNavigationProvider; exports.useMobileNavigationItems = useMobileNavigationItems; exports.MobileNavigationBar = MobileNavigationBar; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.partitionTabs = partitionTabs; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.HEADER_ROW_MIN_H = HEADER_ROW_MIN_H; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.BlockNoteEditorMentionHoverCard = BlockNoteEditorMentionHoverCard; exports.mentionDataAttrs = mentionDataAttrs; exports.parseMentionElement = parseMentionElement; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.useMentionInsert = useMentionInsert; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.BlockNoteViewerContainer = BlockNoteViewerContainer; exports.SectionHeader = SectionHeader; exports.MicroLabel = MicroLabel; exports.DetailField = DetailField; exports.FormFeatures = FormFeatures; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.CommonAddTrigger = CommonAddTrigger; exports.CurrencyInput = CurrencyInput; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.EntitySelector = EntitySelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormBlockNote = FormBlockNote; exports.FormCheckbox = FormCheckbox; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.FormBody = FormBody; exports.FormSection = FormSection; exports.FormRow = FormRow; exports.FormCol = FormCol; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.GdprConsentCheckbox = GdprConsentCheckbox; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellDateTime = cellDateTime; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.ContentListGrid = ContentListGrid; exports.ItalianFiscalData_default = ItalianFiscalData_default; exports.ItalianFiscalDataDisplay = ItalianFiscalDataDisplay; exports.parseFiscalData = parseFiscalData; exports.FiscalDataDisplay = FiscalDataDisplay; exports.EntityHeroLayout = EntityHeroLayout; exports.EntityHero = EntityHero; exports.EntityHeroAvatar = EntityHeroAvatar; exports.EntityHeroMetaRow = EntityHeroMetaRow; exports.EntitySection = EntitySection; exports.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.BackupCodesDialog = BackupCodesDialog; exports.TotpInput = TotpInput; exports.DisableTwoFactorDialog = DisableTwoFactorDialog; exports.PasskeyList = PasskeyList; exports.PasskeySetupDialog = PasskeySetupDialog; exports.TotpAuthenticatorList = TotpAuthenticatorList; exports.TotpSetupDialog = TotpSetupDialog; exports.TwoFactorSettings = TwoFactorSettings; exports.SecurityContainer = SecurityContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.PasskeyButton = PasskeyButton; exports.TwoFactorChallenge = TwoFactorChallenge; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.HowToCommandViewer = HowToCommandViewer; exports.HowToCommand = HowToCommand; exports.HowToDeleter = HowToDeleter; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.AssistantComposer = AssistantComposer; exports.AssistantEmptyState = AssistantEmptyState; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantThread = AssistantThread; exports.AssistantContainer = AssistantContainer; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.OnboardingCard = OnboardingCard; exports.ReferralCodeCapture = ReferralCodeCapture; exports.ReferralWidget = ReferralWidget; exports.ReferralDialog = ReferralDialog; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.WaitlistQuestionnaireRenderer = WaitlistQuestionnaireRenderer; exports.WaitlistForm = WaitlistForm; exports.WaitlistHeroSection = WaitlistHeroSection; exports.WaitlistSuccessState = WaitlistSuccessState; exports.WaitlistConfirmation = WaitlistConfirmation; exports.WaitlistList = WaitlistList; exports.RbacProvider = RbacProvider; exports.useRbacContext = useRbacContext; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacContainer = RbacContainer; exports.RbacByRoleContainer = RbacByRoleContainer; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.DEFAULT_ONBOARDING_LABELS = DEFAULT_ONBOARDING_LABELS; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.ViewportProvider = ViewportProvider; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
|
|
23872
|
+
//# sourceMappingURL=chunk-CTKZM2YC.js.map
|