@carlonicora/nextjs-jsonapi 1.135.1 → 1.136.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-JVZ2HDAU.mjs} +2 -2
- package/dist/{BlockNoteEditor-PYRHKBF3.js → BlockNoteEditor-MNCHLJO4.js} +9 -9
- package/dist/{BlockNoteEditor-PYRHKBF3.js.map → BlockNoteEditor-MNCHLJO4.js.map} +1 -1
- package/dist/billing/index.js +310 -310
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-EF2HVXOV.mjs → chunk-2KXPQHZU.mjs} +235 -191
- package/dist/chunk-2KXPQHZU.mjs.map +1 -0
- package/dist/{chunk-DNWYHP4V.js → chunk-3NVJEXUT.js} +343 -299
- package/dist/chunk-3NVJEXUT.js.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 +93 -14
- package/src/components/containers/RoundPageContainerTitle.tsx +19 -9
- package/dist/chunk-DNWYHP4V.js.map +0 -1
- package/dist/chunk-EF2HVXOV.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-FAPCNKXZ.mjs.map → BlockNoteEditor-JVZ2HDAU.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-MNCHLJO4.js"))), {
|
|
10121
10121
|
ssr: false
|
|
10122
10122
|
});
|
|
10123
10123
|
var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -14812,16 +14812,19 @@ _chunk7QVYU63Ejs.__name.call(void 0, ReactMarkdownContainer, "ReactMarkdownConta
|
|
|
14812
14812
|
// src/components/containers/RoundPageContainerTitle.tsx
|
|
14813
14813
|
|
|
14814
14814
|
|
|
14815
|
+
var HEADER_ROW_MIN_H = "min-h-[53px]";
|
|
14815
14816
|
function RoundPageContainerTitle({
|
|
14816
14817
|
module,
|
|
14817
14818
|
details,
|
|
14819
|
+
detailsTitle,
|
|
14820
|
+
detailsIcon,
|
|
14818
14821
|
showDetails,
|
|
14819
14822
|
setShowDetails
|
|
14820
14823
|
}) {
|
|
14821
14824
|
const { title } = useSharedContext();
|
|
14822
14825
|
const isMobile = _chunkW73JBOIRjs.useIsMobile.call(void 0, );
|
|
14823
14826
|
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
|
|
14827
|
+
/* @__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
14828
|
!isMobile ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full gap-x-4", children: [
|
|
14826
14829
|
/* @__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
14830
|
title.titleActions,
|
|
@@ -14845,10 +14848,14 @@ function RoundPageContainerTitle({
|
|
|
14845
14848
|
variant: showDetails ? `ghost` : `default`,
|
|
14846
14849
|
onClick: () => setShowDetails(!showDetails),
|
|
14847
14850
|
className: _chunkW73JBOIRjs.cn.call(void 0, `cursor-pointer`),
|
|
14848
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.InfoIcon, {})
|
|
14851
|
+
children: _nullishCoalesce(detailsIcon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.InfoIcon, {})))
|
|
14849
14852
|
}
|
|
14850
14853
|
) }),
|
|
14851
|
-
/* @__PURE__ */ _jsxruntime.
|
|
14854
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TooltipContent, { children: [
|
|
14855
|
+
showDetails ? "Hide" : "Show",
|
|
14856
|
+
" ",
|
|
14857
|
+
_nullishCoalesce(detailsTitle, () => ( "details"))
|
|
14858
|
+
] })
|
|
14852
14859
|
] })
|
|
14853
14860
|
] })
|
|
14854
14861
|
] }),
|
|
@@ -14881,26 +14888,36 @@ function RoundPageContainer({
|
|
|
14881
14888
|
forceHeader,
|
|
14882
14889
|
header,
|
|
14883
14890
|
layout: layout2 = "tabs",
|
|
14884
|
-
onSectionChange
|
|
14891
|
+
onSectionChange,
|
|
14892
|
+
testId,
|
|
14893
|
+
defaultDetailsOpen = false,
|
|
14894
|
+
detailsTitle,
|
|
14895
|
+
detailsIcon
|
|
14885
14896
|
}) {
|
|
14886
14897
|
const headerChildren = useHeaderChildren();
|
|
14887
14898
|
const headerLeftContent = useHeaderLeftContent();
|
|
14888
14899
|
const headerLogo = useHeaderLogo();
|
|
14889
14900
|
const headerMobileChildren = useHeaderMobileChildren();
|
|
14890
|
-
const [showDetails, setShowDetailsState] = _react.useState.call(void 0,
|
|
14901
|
+
const [showDetails, setShowDetailsState] = _react.useState.call(void 0, defaultDetailsOpen);
|
|
14891
14902
|
const isMobile = _chunkW73JBOIRjs.useIsMobile.call(void 0, );
|
|
14892
14903
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
14893
14904
|
_react.useEffect.call(void 0, () => {
|
|
14894
|
-
const match = document.cookie.split("; ").find((row) => row.startsWith(`${
|
|
14895
|
-
|
|
14905
|
+
const match = document.cookie.split("; ").find((row) => row.startsWith(`${detailsCookieName}=`));
|
|
14906
|
+
const stored = _optionalChain([match, 'optionalAccess', _409 => _409.split, 'call', _410 => _410("="), 'access', _411 => _411[1]]);
|
|
14907
|
+
if (stored === "true") setShowDetailsState(true);
|
|
14908
|
+
else if (stored === "false") setShowDetailsState(false);
|
|
14896
14909
|
}, []);
|
|
14897
14910
|
_react.useEffect.call(void 0, () => {
|
|
14898
14911
|
setMounted(true);
|
|
14899
14912
|
}, []);
|
|
14900
|
-
const
|
|
14901
|
-
|
|
14902
|
-
|
|
14903
|
-
|
|
14913
|
+
const detailsCookieName = _optionalChain([module, 'optionalAccess', _412 => _412.name]) ? `${DETAILS_COOKIE_NAME}_${module.name}` : DETAILS_COOKIE_NAME;
|
|
14914
|
+
const setShowDetails = _react.useCallback.call(void 0,
|
|
14915
|
+
(value) => {
|
|
14916
|
+
setShowDetailsState(value);
|
|
14917
|
+
document.cookie = `${detailsCookieName}=${value}; path=/; max-age=${DETAILS_COOKIE_MAX_AGE}`;
|
|
14918
|
+
},
|
|
14919
|
+
[detailsCookieName]
|
|
14920
|
+
);
|
|
14904
14921
|
const searchParams = _navigation.useSearchParams.call(void 0, );
|
|
14905
14922
|
const section = searchParams.get("section");
|
|
14906
14923
|
const rewriteUrl = useUrlRewriter();
|
|
@@ -14922,11 +14939,11 @@ function RoundPageContainer({
|
|
|
14922
14939
|
} else {
|
|
14923
14940
|
rewriteUrl({ page: window.location.pathname, additionalParameters: { section: key } });
|
|
14924
14941
|
}
|
|
14925
|
-
_optionalChain([onSectionChange, 'optionalCall',
|
|
14942
|
+
_optionalChain([onSectionChange, 'optionalCall', _413 => _413(key)]);
|
|
14926
14943
|
},
|
|
14927
14944
|
[module, id, rewriteUrl, onSectionChange]
|
|
14928
14945
|
);
|
|
14929
|
-
const activeFillHeight = _optionalChain([tabs, 'optionalAccess',
|
|
14946
|
+
const activeFillHeight = _optionalChain([tabs, 'optionalAccess', _414 => _414.find, 'call', _415 => _415((t) => tabValue(t) === activeTab), 'optionalAccess', _416 => _416.fillHeight]) === true;
|
|
14930
14947
|
const { ungrouped, groups } = _react.useMemo.call(void 0, () => partitionTabs(_nullishCoalesce(tabs, () => ( []))), [tabs]);
|
|
14931
14948
|
const tabItems = _react.useMemo.call(void 0,
|
|
14932
14949
|
() => Object.fromEntries((_nullishCoalesce(tabs, () => ( []))).map((tab) => [tabValue(tab), _nullishCoalesce(tab.contentLabel, () => ( tab.label))])),
|
|
@@ -14945,10 +14962,17 @@ function RoundPageContainer({
|
|
|
14945
14962
|
children: headerChildren
|
|
14946
14963
|
}
|
|
14947
14964
|
),
|
|
14948
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14949
|
-
|
|
14950
|
-
|
|
14951
|
-
|
|
14965
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14966
|
+
"div",
|
|
14967
|
+
{
|
|
14968
|
+
"data-testid": testId,
|
|
14969
|
+
className: _chunkW73JBOIRjs.cn.call(void 0, "flex h-[calc(100vh-3rem)] w-full flex-col", isMobile ? "gap-1 p-1 pt-0" : "p-2 pt-0 pl-0"),
|
|
14970
|
+
children: [
|
|
14971
|
+
/* @__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" }) }),
|
|
14972
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileNavigationBar, {})
|
|
14973
|
+
]
|
|
14974
|
+
}
|
|
14975
|
+
)
|
|
14952
14976
|
] });
|
|
14953
14977
|
}
|
|
14954
14978
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -14962,194 +14986,213 @@ function RoundPageContainer({
|
|
|
14962
14986
|
children: headerChildren
|
|
14963
14987
|
}
|
|
14964
14988
|
),
|
|
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
|
-
items: tabItems,
|
|
15016
|
-
value: activeTab,
|
|
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))
|
|
14989
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14990
|
+
"div",
|
|
14991
|
+
{
|
|
14992
|
+
"data-testid": testId,
|
|
14993
|
+
className: _chunkW73JBOIRjs.cn.call(void 0, `flex h-[calc(100vh-3rem)] w-full flex-col`, isMobile ? "gap-1 p-1 pt-0" : "p-2 pt-0 pl-0"),
|
|
14994
|
+
children: [
|
|
14995
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-background flex min-h-0 w-full flex-1 rounded-lg border p-0", children: [
|
|
14996
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
14997
|
+
(!fullWidth || forceHeader) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14998
|
+
RoundPageContainerTitle,
|
|
14999
|
+
{
|
|
15000
|
+
module,
|
|
15001
|
+
details,
|
|
15002
|
+
detailsTitle,
|
|
15003
|
+
detailsIcon,
|
|
15004
|
+
showDetails,
|
|
15005
|
+
setShowDetails,
|
|
15006
|
+
fullWidth
|
|
15007
|
+
}
|
|
15008
|
+
),
|
|
15009
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full w-full overflow-hidden", children: layout2 === "rail" && tabs ? (
|
|
15010
|
+
// Rail layout: the vertical-tab navigation is a flush-left
|
|
15011
|
+
// sidebar of the card and the content fills the full remaining
|
|
15012
|
+
// width (like `fullWidth`) — NOT the centred max-w-6xl column.
|
|
15013
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15014
|
+
Tabs,
|
|
15015
|
+
{
|
|
15016
|
+
value: activeTab,
|
|
15017
|
+
onValueChange: handleTabChange,
|
|
15018
|
+
orientation: "horizontal",
|
|
15019
|
+
className: "flex h-full min-w-0 grow overflow-hidden data-[orientation=horizontal]:flex-row",
|
|
15020
|
+
children: [
|
|
15021
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15022
|
+
"aside",
|
|
15023
|
+
{
|
|
15024
|
+
"data-testid": "round-page-rail",
|
|
15025
|
+
className: "hidden shrink-0 border-r p-4 md:flex md:w-56 md:flex-col md:overflow-y-auto",
|
|
15026
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TabsList, { className: "flex h-auto flex-col items-stretch gap-0.5 bg-transparent p-0", children: [
|
|
15027
|
+
ungrouped.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)),
|
|
15028
|
+
groups.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
15029
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15030
|
+
"div",
|
|
15031
|
+
{
|
|
15032
|
+
role: "presentation",
|
|
15033
|
+
className: "text-muted-foreground px-3 pt-3 pb-1 text-[10px] font-bold tracking-wider uppercase",
|
|
15034
|
+
children: group.label
|
|
15035
|
+
}
|
|
15036
|
+
),
|
|
15037
|
+
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
15038
|
] }, group.label))
|
|
15028
15039
|
] })
|
|
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",
|
|
15040
|
+
}
|
|
15041
|
+
),
|
|
15042
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 grow flex-col overflow-hidden", children: [
|
|
15043
|
+
/* @__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,
|
|
15044
|
+
Select,
|
|
15041
15045
|
{
|
|
15042
|
-
|
|
15043
|
-
|
|
15044
|
-
)
|
|
15046
|
+
items: tabItems,
|
|
15047
|
+
value: activeTab,
|
|
15048
|
+
onValueChange: (value) => {
|
|
15049
|
+
if (value) handleTabChange(value);
|
|
15050
|
+
},
|
|
15045
15051
|
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 })
|
|
15052
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, {}) }),
|
|
15053
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SelectContent, { children: [
|
|
15054
|
+
ungrouped.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)),
|
|
15055
|
+
groups.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SelectGroup, { children: [
|
|
15056
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectLabel, { children: group.label }),
|
|
15057
|
+
group.items.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label))
|
|
15058
|
+
] }, group.label))
|
|
15059
|
+
] })
|
|
15057
15060
|
]
|
|
15058
15061
|
}
|
|
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,
|
|
15062
|
+
) }),
|
|
15063
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15064
|
+
"div",
|
|
15065
|
+
{
|
|
15066
|
+
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15067
|
+
`min-w-0 grow`,
|
|
15068
|
+
activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto p-4`
|
|
15069
|
+
),
|
|
15070
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15108
15071
|
"div",
|
|
15109
15072
|
{
|
|
15110
15073
|
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15111
|
-
`flex w-full
|
|
15112
|
-
isMobile ? `` : `px-4`,
|
|
15113
|
-
activeFillHeight ? `flex-1 min-h-0` : `overflow-y-auto`
|
|
15074
|
+
activeFillHeight ? `flex min-h-0 w-full flex-1 flex-col` : `mx-auto w-full max-w-6xl`
|
|
15114
15075
|
),
|
|
15115
|
-
children:
|
|
15116
|
-
|
|
15117
|
-
|
|
15118
|
-
|
|
15119
|
-
|
|
15120
|
-
|
|
15121
|
-
|
|
15122
|
-
|
|
15123
|
-
|
|
15076
|
+
children: [
|
|
15077
|
+
header,
|
|
15078
|
+
tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15079
|
+
TabsContent,
|
|
15080
|
+
{
|
|
15081
|
+
value: tabValue(tab),
|
|
15082
|
+
className: tab.fillHeight ? `flex min-h-0 w-full flex-1 flex-col` : ``,
|
|
15083
|
+
children: tab.content
|
|
15084
|
+
},
|
|
15085
|
+
tab.label
|
|
15086
|
+
)),
|
|
15087
|
+
children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children })
|
|
15088
|
+
]
|
|
15124
15089
|
}
|
|
15125
15090
|
)
|
|
15126
|
-
|
|
15127
|
-
|
|
15091
|
+
}
|
|
15092
|
+
)
|
|
15093
|
+
] })
|
|
15094
|
+
]
|
|
15095
|
+
}
|
|
15096
|
+
)
|
|
15097
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15098
|
+
"div",
|
|
15099
|
+
{
|
|
15100
|
+
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15101
|
+
`grow`,
|
|
15102
|
+
isMobile ? `p-2` : `p-4`,
|
|
15103
|
+
activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto`,
|
|
15104
|
+
fullWidth && `p-0`
|
|
15105
|
+
),
|
|
15106
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15107
|
+
"div",
|
|
15108
|
+
{
|
|
15109
|
+
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15110
|
+
`mx-auto max-w-6xl space-y-8`,
|
|
15111
|
+
activeFillHeight && `flex w-full flex-1 min-h-0 flex-col space-y-0`,
|
|
15112
|
+
fullWidth && `max-w-full w-full p-0 h-full`
|
|
15128
15113
|
),
|
|
15129
|
-
children
|
|
15130
|
-
|
|
15131
|
-
|
|
15114
|
+
children: [
|
|
15115
|
+
header,
|
|
15116
|
+
tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15117
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15118
|
+
Tabs,
|
|
15119
|
+
{
|
|
15120
|
+
value: activeTab,
|
|
15121
|
+
className: _chunkW73JBOIRjs.cn.call(void 0, `w-full`, activeFillHeight && `flex flex-1 min-h-0 flex-col`),
|
|
15122
|
+
onValueChange: handleTabChange,
|
|
15123
|
+
children: [
|
|
15124
|
+
isMobile ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15125
|
+
Select,
|
|
15126
|
+
{
|
|
15127
|
+
items: tabItems,
|
|
15128
|
+
value: activeTab,
|
|
15129
|
+
onValueChange: (value) => {
|
|
15130
|
+
if (value) handleTabChange(value);
|
|
15131
|
+
},
|
|
15132
|
+
children: [
|
|
15133
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, {}) }),
|
|
15134
|
+
/* @__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)) })
|
|
15135
|
+
]
|
|
15136
|
+
}
|
|
15137
|
+
) }) : /* @__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)) }) }),
|
|
15138
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15139
|
+
"div",
|
|
15140
|
+
{
|
|
15141
|
+
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15142
|
+
`flex w-full `,
|
|
15143
|
+
isMobile ? `` : `px-4`,
|
|
15144
|
+
activeFillHeight ? `flex-1 min-h-0` : `overflow-y-auto`
|
|
15145
|
+
),
|
|
15146
|
+
children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15147
|
+
TabsContent,
|
|
15148
|
+
{
|
|
15149
|
+
value: tabValue(tab),
|
|
15150
|
+
className: tab.fillHeight ? `flex flex-1 min-h-0 w-full flex-col` : `pb-20`,
|
|
15151
|
+
children: tab.content
|
|
15152
|
+
},
|
|
15153
|
+
tab.label
|
|
15154
|
+
))
|
|
15155
|
+
}
|
|
15156
|
+
)
|
|
15157
|
+
]
|
|
15158
|
+
}
|
|
15159
|
+
),
|
|
15160
|
+
children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, `flex`, isMobile ? `px-2` : `px-4`), children })
|
|
15161
|
+
] }) : children
|
|
15162
|
+
]
|
|
15163
|
+
}
|
|
15164
|
+
)
|
|
15132
15165
|
}
|
|
15133
|
-
)
|
|
15134
|
-
}
|
|
15135
|
-
|
|
15136
|
-
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
|
|
15140
|
-
|
|
15141
|
-
|
|
15142
|
-
|
|
15143
|
-
|
|
15144
|
-
|
|
15145
|
-
|
|
15146
|
-
|
|
15147
|
-
|
|
15148
|
-
|
|
15149
|
-
|
|
15150
|
-
|
|
15151
|
-
|
|
15152
|
-
|
|
15166
|
+
) })
|
|
15167
|
+
] }),
|
|
15168
|
+
details && (isMobile ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Sheet, { open: showDetails, onOpenChange: setShowDetails, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SheetContent, { side: "right", children: [
|
|
15169
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetTitle, { children: _nullishCoalesce(detailsTitle, () => ( "Details")) }) }),
|
|
15170
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-y-auto p-6 pt-0", children: details })
|
|
15171
|
+
] }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15172
|
+
"div",
|
|
15173
|
+
{
|
|
15174
|
+
className: _chunkW73JBOIRjs.cn.call(void 0,
|
|
15175
|
+
// `flex-col` + a separate scroll body below: the header must stay
|
|
15176
|
+
// put while the panel content scrolls. Scrolling on this element
|
|
15177
|
+
// (as it did before) would carry the header away with the content.
|
|
15178
|
+
"flex h-full shrink-0 flex-col overflow-hidden transition-all duration-300 ease-in-out",
|
|
15179
|
+
showDetails ? "w-96 border-l opacity-100" : "ml-0 w-0 border-l-0 opacity-0"
|
|
15180
|
+
),
|
|
15181
|
+
children: [
|
|
15182
|
+
detailsTitle && // Mirrors RoundPageContainerTitle's structure exactly — border on an
|
|
15183
|
+
// OUTER wrapper, height floor on the INNER row. Putting the border
|
|
15184
|
+
// inside the measured row instead leaves this header 1px short of
|
|
15185
|
+
// the page title bar, since `box-sizing: border-box` absorbs it.
|
|
15186
|
+
/* @__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 }) }) }),
|
|
15187
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto p-4", children: details })
|
|
15188
|
+
]
|
|
15189
|
+
}
|
|
15190
|
+
))
|
|
15191
|
+
] }),
|
|
15192
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileNavigationBar, {})
|
|
15193
|
+
]
|
|
15194
|
+
}
|
|
15195
|
+
)
|
|
15153
15196
|
] });
|
|
15154
15197
|
}
|
|
15155
15198
|
_chunk7QVYU63Ejs.__name.call(void 0, RoundPageContainer, "RoundPageContainer");
|
|
@@ -15246,14 +15289,14 @@ function BlockNoteEditorMentionHoverCard({
|
|
|
15246
15289
|
const entityType = target.dataset.mentionType;
|
|
15247
15290
|
const alias = target.dataset.mentionAlias;
|
|
15248
15291
|
setHovered((prev) => {
|
|
15249
|
-
if (_optionalChain([prev, 'optionalAccess',
|
|
15292
|
+
if (_optionalChain([prev, 'optionalAccess', _417 => _417.id]) === id && _optionalChain([prev, 'optionalAccess', _418 => _418.element]) === target) return prev;
|
|
15250
15293
|
return { id, entityType, alias, element: target };
|
|
15251
15294
|
});
|
|
15252
15295
|
}, "handleMouseOver");
|
|
15253
15296
|
const handleMouseOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
15254
15297
|
const target = e.target.closest("[data-mention-id]");
|
|
15255
15298
|
if (!target) return;
|
|
15256
|
-
const related = _optionalChain([e, 'access',
|
|
15299
|
+
const related = _optionalChain([e, 'access', _419 => _419.relatedTarget, 'optionalAccess', _420 => _420.closest, 'call', _421 => _421("[data-mention-id]")]);
|
|
15257
15300
|
if (related) return;
|
|
15258
15301
|
scheduleClose();
|
|
15259
15302
|
}, "handleMouseOut");
|
|
@@ -15267,7 +15310,7 @@ function BlockNoteEditorMentionHoverCard({
|
|
|
15267
15310
|
}, [containerRef, mentionResolveFn, cancelClose, scheduleClose]);
|
|
15268
15311
|
if (!hovered || !mentionResolveFn) return null;
|
|
15269
15312
|
const resolved = mentionResolveFn(hovered.id, hovered.entityType, hovered.alias);
|
|
15270
|
-
if (!_optionalChain([resolved, 'optionalAccess',
|
|
15313
|
+
if (!_optionalChain([resolved, 'optionalAccess', _422 => _422.HoverContent])) return null;
|
|
15271
15314
|
const ContentComponent = resolved.HoverContent;
|
|
15272
15315
|
const rect = hovered.element.getBoundingClientRect();
|
|
15273
15316
|
return _reactdom.createPortal.call(void 0,
|
|
@@ -15310,28 +15353,28 @@ var parseMentionElement = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
15310
15353
|
}, "parseMentionElement");
|
|
15311
15354
|
var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (resolveFn, disableMention, nameResolver) => {
|
|
15312
15355
|
const MentionExternalHTML = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
|
|
15313
|
-
const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall',
|
|
15356
|
+
const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _423 => _423(props.id, props.entityType, props.alias)]), () => ( props.alias));
|
|
15314
15357
|
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
15358
|
"@",
|
|
15316
15359
|
displayName
|
|
15317
15360
|
] });
|
|
15318
15361
|
}, "MentionExternalHTML");
|
|
15319
15362
|
const Mention = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function Mention2(props) {
|
|
15320
|
-
const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall',
|
|
15363
|
+
const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _424 => _424(props.id, props.entityType, props.alias)]), () => ( props.alias));
|
|
15321
15364
|
if (disableMention) {
|
|
15322
|
-
const resolved2 = _optionalChain([resolveFn, 'optionalCall',
|
|
15323
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess',
|
|
15365
|
+
const resolved2 = _optionalChain([resolveFn, 'optionalCall', _425 => _425(props.id, props.entityType, displayName)]);
|
|
15366
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess', _426 => _426.url]), () => ( "#")), className: "text-primary", children: [
|
|
15324
15367
|
"@",
|
|
15325
15368
|
displayName
|
|
15326
15369
|
] });
|
|
15327
15370
|
}
|
|
15328
|
-
const resolved = _optionalChain([resolveFn, 'optionalCall',
|
|
15329
|
-
if (_optionalChain([resolved, 'optionalAccess',
|
|
15371
|
+
const resolved = _optionalChain([resolveFn, 'optionalCall', _427 => _427(props.id, props.entityType, displayName)]);
|
|
15372
|
+
if (_optionalChain([resolved, 'optionalAccess', _428 => _428.Inline])) {
|
|
15330
15373
|
const Custom = resolved.Inline;
|
|
15331
15374
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Custom, { ...props, alias: displayName });
|
|
15332
15375
|
}
|
|
15333
|
-
const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
15334
|
-
const handleClick = _optionalChain([resolved, 'optionalAccess',
|
|
15376
|
+
const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _429 => _429.url]), () => ( "#"));
|
|
15377
|
+
const handleClick = _optionalChain([resolved, 'optionalAccess', _430 => _430.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
|
|
15335
15378
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15336
15379
|
_link2.default,
|
|
15337
15380
|
{
|
|
@@ -15437,7 +15480,7 @@ function BlockNoteEditorMentionSuggestionMenu({
|
|
|
15437
15480
|
if (!suggestionMenuComponent) return void 0;
|
|
15438
15481
|
const Component2 = suggestionMenuComponent;
|
|
15439
15482
|
const Wrapped = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
|
|
15440
|
-
const isSentinelOnly = props.items.length === 1 && _optionalChain([props, 'access',
|
|
15483
|
+
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
15484
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15442
15485
|
Component2,
|
|
15443
15486
|
{
|
|
@@ -15446,7 +15489,7 @@ function BlockNoteEditorMentionSuggestionMenu({
|
|
|
15446
15489
|
selectedIndex: isSentinelOnly ? void 0 : props.selectedIndex,
|
|
15447
15490
|
onItemClick: (item) => {
|
|
15448
15491
|
if (item.title === KEEP_OPEN_SENTINEL_TITLE) return;
|
|
15449
|
-
_optionalChain([props, 'access',
|
|
15492
|
+
_optionalChain([props, 'access', _434 => _434.onItemClick, 'optionalCall', _435 => _435(item)]);
|
|
15450
15493
|
}
|
|
15451
15494
|
}
|
|
15452
15495
|
);
|
|
@@ -15640,10 +15683,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
15640
15683
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15641
15684
|
Checkbox,
|
|
15642
15685
|
{
|
|
15643
|
-
checked: _optionalChain([params, 'access',
|
|
15686
|
+
checked: _optionalChain([params, 'access', _436 => _436.checkedIds, 'optionalAccess', _437 => _437.includes, 'call', _438 => _438(row.getValue(params.name))]) || false,
|
|
15644
15687
|
onCheckedChange: (value) => {
|
|
15645
15688
|
row.toggleSelected(!!value);
|
|
15646
|
-
_optionalChain([params, 'access',
|
|
15689
|
+
_optionalChain([params, 'access', _439 => _439.toggleId, 'optionalCall', _440 => _440(row.getValue(params.name))]);
|
|
15647
15690
|
},
|
|
15648
15691
|
"aria-label": "Select row"
|
|
15649
15692
|
}
|
|
@@ -15702,7 +15745,7 @@ function useJsonApiGet(params) {
|
|
|
15702
15745
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
15703
15746
|
const isMounted = _react.useRef.call(void 0, true);
|
|
15704
15747
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
15705
|
-
if (_optionalChain([params, 'access',
|
|
15748
|
+
if (_optionalChain([params, 'access', _441 => _441.options, 'optionalAccess', _442 => _442.enabled]) === false) return;
|
|
15706
15749
|
setLoading(true);
|
|
15707
15750
|
setError(null);
|
|
15708
15751
|
try {
|
|
@@ -15729,9 +15772,9 @@ function useJsonApiGet(params) {
|
|
|
15729
15772
|
setLoading(false);
|
|
15730
15773
|
}
|
|
15731
15774
|
}
|
|
15732
|
-
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access',
|
|
15775
|
+
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _443 => _443.options, 'optionalAccess', _444 => _444.enabled])]);
|
|
15733
15776
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
15734
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
15777
|
+
if (!_optionalChain([response, 'optionalAccess', _445 => _445.nextPage])) return;
|
|
15735
15778
|
setLoading(true);
|
|
15736
15779
|
try {
|
|
15737
15780
|
const nextResponse = await response.nextPage();
|
|
@@ -15752,7 +15795,7 @@ function useJsonApiGet(params) {
|
|
|
15752
15795
|
}
|
|
15753
15796
|
}, [response]);
|
|
15754
15797
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
15755
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
15798
|
+
if (!_optionalChain([response, 'optionalAccess', _446 => _446.prevPage])) return;
|
|
15756
15799
|
setLoading(true);
|
|
15757
15800
|
try {
|
|
15758
15801
|
const prevResponse = await response.prevPage();
|
|
@@ -15778,15 +15821,15 @@ function useJsonApiGet(params) {
|
|
|
15778
15821
|
return () => {
|
|
15779
15822
|
isMounted.current = false;
|
|
15780
15823
|
};
|
|
15781
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
15824
|
+
}, [fetchData, ..._optionalChain([params, 'access', _447 => _447.options, 'optionalAccess', _448 => _448.deps]) || []]);
|
|
15782
15825
|
return {
|
|
15783
15826
|
data,
|
|
15784
15827
|
loading,
|
|
15785
15828
|
error,
|
|
15786
15829
|
response,
|
|
15787
15830
|
refetch: fetchData,
|
|
15788
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
15789
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
15831
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _449 => _449.next]),
|
|
15832
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _450 => _450.prev]),
|
|
15790
15833
|
fetchNextPage,
|
|
15791
15834
|
fetchPreviousPage
|
|
15792
15835
|
};
|
|
@@ -15864,17 +15907,17 @@ function useJsonApiMutation(config) {
|
|
|
15864
15907
|
if (apiResponse.ok) {
|
|
15865
15908
|
const resultData = apiResponse.data;
|
|
15866
15909
|
setData(resultData);
|
|
15867
|
-
_optionalChain([config, 'access',
|
|
15910
|
+
_optionalChain([config, 'access', _451 => _451.onSuccess, 'optionalCall', _452 => _452(resultData)]);
|
|
15868
15911
|
return resultData;
|
|
15869
15912
|
} else {
|
|
15870
15913
|
setError(apiResponse.error);
|
|
15871
|
-
_optionalChain([config, 'access',
|
|
15914
|
+
_optionalChain([config, 'access', _453 => _453.onError, 'optionalCall', _454 => _454(apiResponse.error)]);
|
|
15872
15915
|
return null;
|
|
15873
15916
|
}
|
|
15874
15917
|
} catch (err) {
|
|
15875
15918
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
15876
15919
|
setError(errorMessage);
|
|
15877
|
-
_optionalChain([config, 'access',
|
|
15920
|
+
_optionalChain([config, 'access', _455 => _455.onError, 'optionalCall', _456 => _456(errorMessage)]);
|
|
15878
15921
|
return null;
|
|
15879
15922
|
} finally {
|
|
15880
15923
|
setLoading(false);
|
|
@@ -15947,7 +15990,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
15947
15990
|
{
|
|
15948
15991
|
href: hasRole(_chunkC2LEIBUKjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
15949
15992
|
page: "/administration",
|
|
15950
|
-
id: _optionalChain([_chunkW73JBOIRjs.Modules, 'access',
|
|
15993
|
+
id: _optionalChain([_chunkW73JBOIRjs.Modules, 'access', _457 => _457.Company, 'access', _458 => _458.pageUrl, 'optionalAccess', _459 => _459.substring, 'call', _460 => _460(1)]),
|
|
15951
15994
|
childPage: company.id
|
|
15952
15995
|
}) : generateUrl({ page: _chunkW73JBOIRjs.Modules.Company, id: company.id }),
|
|
15953
15996
|
children: row.getValue("name")
|
|
@@ -15963,7 +16006,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
15963
16006
|
})
|
|
15964
16007
|
};
|
|
15965
16008
|
const columns = _react.useMemo.call(void 0, () => {
|
|
15966
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
16009
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _461 => _461[field], 'optionalCall', _462 => _462()])).filter((col) => col !== void 0);
|
|
15967
16010
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
15968
16011
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
15969
16012
|
}, "useCompanyTableStructure");
|
|
@@ -15975,7 +16018,7 @@ var GRACE_DAYS = 3;
|
|
|
15975
16018
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
15976
16019
|
if (!currentUser || !_chunkC2LEIBUKjs.isRolesConfigured.call(void 0, )) return false;
|
|
15977
16020
|
const adminRoleId = _chunkC2LEIBUKjs.getRoleId.call(void 0, ).Administrator;
|
|
15978
|
-
return !!_optionalChain([currentUser, 'access',
|
|
16021
|
+
return !!_optionalChain([currentUser, 'access', _463 => _463.roles, 'optionalAccess', _464 => _464.some, 'call', _465 => _465((role) => role.id === adminRoleId)]);
|
|
15979
16022
|
}, "isAdministrator");
|
|
15980
16023
|
function useSubscriptionStatus() {
|
|
15981
16024
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -16092,7 +16135,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
16092
16135
|
})
|
|
16093
16136
|
};
|
|
16094
16137
|
const columns = _react.useMemo.call(void 0, () => {
|
|
16095
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
16138
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _466 => _466[field], 'optionalCall', _467 => _467()])).filter((col) => col !== void 0);
|
|
16096
16139
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
16097
16140
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
16098
16141
|
}, "useRoleTableStructure");
|
|
@@ -16193,11 +16236,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
16193
16236
|
return params.fields.map((field) => {
|
|
16194
16237
|
const localHandler = fieldColumnMap[field];
|
|
16195
16238
|
if (localHandler) return localHandler();
|
|
16196
|
-
const customHandler = _optionalChain([params, 'access',
|
|
16239
|
+
const customHandler = _optionalChain([params, 'access', _468 => _468.context, 'optionalAccess', _469 => _469.customCells, 'optionalAccess', _470 => _470[field]]);
|
|
16197
16240
|
if (customHandler) return customHandler({ t });
|
|
16198
16241
|
return void 0;
|
|
16199
16242
|
}).filter((col) => col !== void 0);
|
|
16200
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
16243
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _471 => _471.context, 'optionalAccess', _472 => _472.customCells])]);
|
|
16201
16244
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
16202
16245
|
}, "useContentTableStructure");
|
|
16203
16246
|
|
|
@@ -16533,7 +16576,7 @@ function ContentTableSearch({ data }) {
|
|
|
16533
16576
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
16534
16577
|
if (!isExpanded) {
|
|
16535
16578
|
setIsFocused(true);
|
|
16536
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
16579
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _473 => _473.current, 'optionalAccess', _474 => _474.focus, 'call', _475 => _475()]), 50);
|
|
16537
16580
|
}
|
|
16538
16581
|
}, "handleSearchIconClick");
|
|
16539
16582
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -16613,7 +16656,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16613
16656
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
16614
16657
|
);
|
|
16615
16658
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
16616
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
16659
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _476 => _476.data]), () => ( EMPTY_ARRAY)),
|
|
16617
16660
|
fields,
|
|
16618
16661
|
checkedIds,
|
|
16619
16662
|
toggleId,
|
|
@@ -16646,7 +16689,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16646
16689
|
});
|
|
16647
16690
|
const rowModel = tableData ? table.getRowModel() : null;
|
|
16648
16691
|
const groupedRows = _react.useMemo.call(void 0, () => {
|
|
16649
|
-
if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess',
|
|
16692
|
+
if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess', _477 => _477.rows, 'optionalAccess', _478 => _478.length])) return null;
|
|
16650
16693
|
const groupMap = /* @__PURE__ */ new Map();
|
|
16651
16694
|
for (const row of rowModel.rows) {
|
|
16652
16695
|
const keys = getGroupKeys(row.original, props.groupBy);
|
|
@@ -16714,19 +16757,19 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16714
16757
|
) }),
|
|
16715
16758
|
!props.hideHeader && table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
16716
16759
|
const meta = header.column.columnDef.meta;
|
|
16717
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess',
|
|
16760
|
+
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
16761
|
}) }, headerGroup.id))
|
|
16719
16762
|
] }),
|
|
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',
|
|
16763
|
+
/* @__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: [
|
|
16764
|
+
/* @__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
16765
|
group.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16723
16766
|
TableRow,
|
|
16724
16767
|
{
|
|
16725
|
-
onClick: () => _optionalChain([onRowClick, 'optionalCall',
|
|
16768
|
+
onClick: () => _optionalChain([onRowClick, 'optionalCall', _484 => _484(row.original.jsonApiData)]),
|
|
16726
16769
|
className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
|
|
16727
16770
|
children: row.getVisibleCells().map((cell) => {
|
|
16728
16771
|
const meta = cell.column.columnDef.meta;
|
|
16729
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
16772
|
+
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
16773
|
})
|
|
16731
16774
|
},
|
|
16732
16775
|
row.id
|
|
@@ -16734,11 +16777,11 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16734
16777
|
] }, group.groupKey)) : rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16735
16778
|
TableRow,
|
|
16736
16779
|
{
|
|
16737
|
-
onClick: () => _optionalChain([onRowClick, 'optionalCall',
|
|
16780
|
+
onClick: () => _optionalChain([onRowClick, 'optionalCall', _486 => _486(row.original.jsonApiData)]),
|
|
16738
16781
|
className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
|
|
16739
16782
|
children: row.getVisibleCells().map((cell) => {
|
|
16740
16783
|
const meta = cell.column.columnDef.meta;
|
|
16741
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
16784
|
+
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
16785
|
})
|
|
16743
16786
|
},
|
|
16744
16787
|
row.id
|
|
@@ -16751,7 +16794,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16751
16794
|
size: "sm",
|
|
16752
16795
|
onClick: (e) => {
|
|
16753
16796
|
e.preventDefault();
|
|
16754
|
-
_optionalChain([data, 'access',
|
|
16797
|
+
_optionalChain([data, 'access', _488 => _488.previous, 'optionalCall', _489 => _489(true)]);
|
|
16755
16798
|
},
|
|
16756
16799
|
disabled: !data.previous,
|
|
16757
16800
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -16765,7 +16808,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
16765
16808
|
size: "sm",
|
|
16766
16809
|
onClick: (e) => {
|
|
16767
16810
|
e.preventDefault();
|
|
16768
|
-
_optionalChain([data, 'access',
|
|
16811
|
+
_optionalChain([data, 'access', _490 => _490.next, 'optionalCall', _491 => _491(true)]);
|
|
16769
16812
|
},
|
|
16770
16813
|
disabled: !data.next,
|
|
16771
16814
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -16786,7 +16829,7 @@ function ContentListGrid(props) {
|
|
|
16786
16829
|
if (!data.next || !sentinelRef.current) return;
|
|
16787
16830
|
const observer = new IntersectionObserver(
|
|
16788
16831
|
(entries) => {
|
|
16789
|
-
if (_optionalChain([entries, 'access',
|
|
16832
|
+
if (_optionalChain([entries, 'access', _492 => _492[0], 'optionalAccess', _493 => _493.isIntersecting])) _optionalChain([data, 'access', _494 => _494.next, 'optionalCall', _495 => _495()]);
|
|
16790
16833
|
},
|
|
16791
16834
|
{ threshold: 0.1, rootMargin: "200px" }
|
|
16792
16835
|
);
|
|
@@ -17573,7 +17616,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
17573
17616
|
newDigits[index] = digit;
|
|
17574
17617
|
setDigits(newDigits);
|
|
17575
17618
|
if (digit && index < 5) {
|
|
17576
|
-
_optionalChain([inputRefs, 'access',
|
|
17619
|
+
_optionalChain([inputRefs, 'access', _496 => _496.current, 'access', _497 => _497[index + 1], 'optionalAccess', _498 => _498.focus, 'call', _499 => _499()]);
|
|
17577
17620
|
}
|
|
17578
17621
|
const code = newDigits.join("");
|
|
17579
17622
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -17582,7 +17625,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
17582
17625
|
}, "handleChange");
|
|
17583
17626
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
17584
17627
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
17585
|
-
_optionalChain([inputRefs, 'access',
|
|
17628
|
+
_optionalChain([inputRefs, 'access', _500 => _500.current, 'access', _501 => _501[index - 1], 'optionalAccess', _502 => _502.focus, 'call', _503 => _503()]);
|
|
17586
17629
|
}
|
|
17587
17630
|
}, "handleKeyDown");
|
|
17588
17631
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -17591,7 +17634,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
17591
17634
|
if (pastedData.length === 6) {
|
|
17592
17635
|
const newDigits = pastedData.split("");
|
|
17593
17636
|
setDigits(newDigits);
|
|
17594
|
-
_optionalChain([inputRefs, 'access',
|
|
17637
|
+
_optionalChain([inputRefs, 'access', _504 => _504.current, 'access', _505 => _505[5], 'optionalAccess', _506 => _506.focus, 'call', _507 => _507()]);
|
|
17595
17638
|
onComplete(pastedData);
|
|
17596
17639
|
}
|
|
17597
17640
|
}, "handlePaste");
|
|
@@ -17802,8 +17845,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
17802
17845
|
try {
|
|
17803
17846
|
const registrationData = await _chunkW73JBOIRjs.TwoFactorService.getPasskeyRegistrationOptions({
|
|
17804
17847
|
id: _uuid.v4.call(void 0, ),
|
|
17805
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
17806
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
17848
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _508 => _508.email]), () => ( "")),
|
|
17849
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _509 => _509.name])
|
|
17807
17850
|
});
|
|
17808
17851
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
17809
17852
|
await _chunkW73JBOIRjs.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -17954,7 +17997,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
17954
17997
|
const setup = await _chunkW73JBOIRjs.TwoFactorService.setupTotp({
|
|
17955
17998
|
id: _uuid.v4.call(void 0, ),
|
|
17956
17999
|
name: name.trim(),
|
|
17957
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
18000
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _510 => _510.email]), () => ( ""))
|
|
17958
18001
|
});
|
|
17959
18002
|
setQrCodeUri(setup.qrCodeUri);
|
|
17960
18003
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -18088,7 +18131,7 @@ function TwoFactorSettings() {
|
|
|
18088
18131
|
if (isLoading) {
|
|
18089
18132
|
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
18133
|
}
|
|
18091
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
18134
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _511 => _511.isEnabled]), () => ( false));
|
|
18092
18135
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
18093
18136
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
18094
18137
|
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 +18169,7 @@ function TwoFactorSettings() {
|
|
|
18126
18169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
18127
18170
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
18128
18171
|
] }),
|
|
18129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
18172
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _512 => _512.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
18130
18173
|
] }) }),
|
|
18131
18174
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18132
18175
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -18304,9 +18347,9 @@ function AcceptInvitation() {
|
|
|
18304
18347
|
});
|
|
18305
18348
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
18306
18349
|
try {
|
|
18307
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
18350
|
+
if (!_optionalChain([params, 'optionalAccess', _513 => _513.code])) return;
|
|
18308
18351
|
const payload = {
|
|
18309
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
18352
|
+
code: _optionalChain([params, 'optionalAccess', _514 => _514.code]),
|
|
18310
18353
|
password: values.password
|
|
18311
18354
|
};
|
|
18312
18355
|
await _chunkW73JBOIRjs.AuthService.acceptInvitation(payload);
|
|
@@ -18656,7 +18699,7 @@ function Logout({ storageKeys }) {
|
|
|
18656
18699
|
const generateUrl = usePageUrlGenerator();
|
|
18657
18700
|
_react.useEffect.call(void 0, () => {
|
|
18658
18701
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
18659
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
18702
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _515 => _515.length])) {
|
|
18660
18703
|
clearClientStorage(storageKeys);
|
|
18661
18704
|
}
|
|
18662
18705
|
await _chunkW73JBOIRjs.AuthService.logout();
|
|
@@ -18679,14 +18722,14 @@ function RefreshUser() {
|
|
|
18679
18722
|
setUser(fullUser);
|
|
18680
18723
|
const token = {
|
|
18681
18724
|
userId: fullUser.id,
|
|
18682
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
18725
|
+
companyId: _optionalChain([fullUser, 'access', _516 => _516.company, 'optionalAccess', _517 => _517.id]),
|
|
18683
18726
|
roles: fullUser.roles.map((role) => role.id),
|
|
18684
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
18727
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _518 => _518.company, 'optionalAccess', _519 => _519.features, 'optionalAccess', _520 => _520.map, 'call', _521 => _521((feature) => feature.id)]), () => ( [])),
|
|
18685
18728
|
modules: fullUser.modules.map((module) => {
|
|
18686
18729
|
return { id: module.id, permissions: module.permissions };
|
|
18687
18730
|
})
|
|
18688
18731
|
};
|
|
18689
|
-
await _optionalChain([_chunkW73JBOIRjs.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
18732
|
+
await _optionalChain([_chunkW73JBOIRjs.getTokenHandler.call(void 0, ), 'optionalAccess', _522 => _522.updateToken, 'call', _523 => _523(token)]);
|
|
18690
18733
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
18691
18734
|
}
|
|
18692
18735
|
}, "loadFullUser");
|
|
@@ -18750,9 +18793,9 @@ function ResetPassword() {
|
|
|
18750
18793
|
});
|
|
18751
18794
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
18752
18795
|
try {
|
|
18753
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
18796
|
+
if (!_optionalChain([params, 'optionalAccess', _524 => _524.code])) return;
|
|
18754
18797
|
const payload = {
|
|
18755
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
18798
|
+
code: _optionalChain([params, 'optionalAccess', _525 => _525.code]),
|
|
18756
18799
|
password: values.password
|
|
18757
18800
|
};
|
|
18758
18801
|
await _chunkW73JBOIRjs.AuthService.resetPassword(payload);
|
|
@@ -19101,7 +19144,7 @@ function extractHeadings(blocks) {
|
|
|
19101
19144
|
function processBlocks(blockArray) {
|
|
19102
19145
|
for (const block of blockArray) {
|
|
19103
19146
|
if (block.type === "heading") {
|
|
19104
|
-
const level = _optionalChain([block, 'access',
|
|
19147
|
+
const level = _optionalChain([block, 'access', _526 => _526.props, 'optionalAccess', _527 => _527.level]) || 1;
|
|
19105
19148
|
const text = extractTextFromContent(block.content);
|
|
19106
19149
|
if (text.trim()) {
|
|
19107
19150
|
headings.push({
|
|
@@ -19444,7 +19487,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
|
|
|
19444
19487
|
})
|
|
19445
19488
|
};
|
|
19446
19489
|
const columns = _react.useMemo.call(void 0, () => {
|
|
19447
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
19490
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _528 => _528[field], 'optionalCall', _529 => _529()])).filter((col) => col !== void 0);
|
|
19448
19491
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
19449
19492
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
19450
19493
|
}, "useHowToTableStructure");
|
|
@@ -19543,7 +19586,7 @@ function HowToSelector({
|
|
|
19543
19586
|
}, "setHowTo");
|
|
19544
19587
|
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
19588
|
/* @__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',
|
|
19589
|
+
/* @__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
19590
|
field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19548
19591
|
_lucidereact.CircleX,
|
|
19549
19592
|
{
|
|
@@ -19912,9 +19955,9 @@ function CitationsTab({ citations, sources }) {
|
|
|
19912
19955
|
] }) }),
|
|
19913
19956
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
|
|
19914
19957
|
const isOpen = expanded.has(chunk.id);
|
|
19915
|
-
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess',
|
|
19958
|
+
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _532 => _532.get, 'call', _533 => _533(chunk.nodeId)]) : void 0;
|
|
19916
19959
|
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',
|
|
19960
|
+
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _534 => _534.name]), () => ( fallbackName));
|
|
19918
19961
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
19919
19962
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
19920
19963
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -19961,7 +20004,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
19961
20004
|
for (const c of citations) {
|
|
19962
20005
|
const id = c.nodeId;
|
|
19963
20006
|
if (!id) continue;
|
|
19964
|
-
const source = _optionalChain([sources, 'optionalAccess',
|
|
20007
|
+
const source = _optionalChain([sources, 'optionalAccess', _535 => _535.get, 'call', _536 => _536(id)]);
|
|
19965
20008
|
if (!source) continue;
|
|
19966
20009
|
const existing = map.get(id);
|
|
19967
20010
|
if (existing) {
|
|
@@ -20028,7 +20071,7 @@ function UsersTab({ users, citations, sources }) {
|
|
|
20028
20071
|
const generate = usePageUrlGenerator();
|
|
20029
20072
|
const userMap = /* @__PURE__ */ new Map();
|
|
20030
20073
|
for (const u of users) {
|
|
20031
|
-
if (!_optionalChain([u, 'optionalAccess',
|
|
20074
|
+
if (!_optionalChain([u, 'optionalAccess', _537 => _537.id])) continue;
|
|
20032
20075
|
userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
|
|
20033
20076
|
}
|
|
20034
20077
|
if (citations && sources) {
|
|
@@ -20133,7 +20176,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
|
|
|
20133
20176
|
}
|
|
20134
20177
|
return ids.size;
|
|
20135
20178
|
}, [message.citations, sources]);
|
|
20136
|
-
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess',
|
|
20179
|
+
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _538 => _538.length]), () => ( 0));
|
|
20137
20180
|
const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
|
|
20138
20181
|
const visibleTabs = [];
|
|
20139
20182
|
if (suggestionsCount > 0) visibleTabs.push("suggested");
|
|
@@ -20193,8 +20236,8 @@ var SourcesFetcher = class extends _chunkW73JBOIRjs.ClientAbstractService {
|
|
|
20193
20236
|
const endpoint = new (0, _chunkW73JBOIRjs.EndpointCreator)({ endpoint: params.module });
|
|
20194
20237
|
endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
|
|
20195
20238
|
endpoint.addAdditionalParam("fetchAll", "true");
|
|
20196
|
-
if (_optionalChain([params, 'access',
|
|
20197
|
-
if (_optionalChain([params, 'access',
|
|
20239
|
+
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);
|
|
20240
|
+
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
20241
|
return this.callApi({
|
|
20199
20242
|
type: params.module,
|
|
20200
20243
|
method: "GET" /* GET */,
|
|
@@ -20273,7 +20316,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
|
|
|
20273
20316
|
return void 0;
|
|
20274
20317
|
}
|
|
20275
20318
|
})()));
|
|
20276
|
-
if (_optionalChain([author, 'optionalAccess',
|
|
20319
|
+
if (_optionalChain([author, 'optionalAccess', _547 => _547.id])) userMap.set(author.id, author);
|
|
20277
20320
|
}
|
|
20278
20321
|
return Array.from(userMap.values());
|
|
20279
20322
|
}, [resolved]);
|
|
@@ -20302,14 +20345,14 @@ function MessageItem({
|
|
|
20302
20345
|
}) {
|
|
20303
20346
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
20304
20347
|
const isUser = message.role === "user";
|
|
20305
|
-
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess',
|
|
20348
|
+
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _548 => _548.has, 'call', _549 => _549(message.id)]);
|
|
20306
20349
|
if (isUser) {
|
|
20307
20350
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
|
|
20308
20351
|
/* @__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
20352
|
isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
|
|
20310
20353
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
|
|
20311
20354
|
/* @__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',
|
|
20355
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: () => _optionalChain([onRetry, 'optionalCall', _550 => _550(message.id)]), children: t("features.assistant.retry") })
|
|
20313
20356
|
] })
|
|
20314
20357
|
] });
|
|
20315
20358
|
}
|
|
@@ -20385,7 +20428,7 @@ function AssistantThread({
|
|
|
20385
20428
|
}) {
|
|
20386
20429
|
const endRef = _react.useRef.call(void 0, null);
|
|
20387
20430
|
_react.useEffect.call(void 0, () => {
|
|
20388
|
-
_optionalChain([endRef, 'access',
|
|
20431
|
+
_optionalChain([endRef, 'access', _551 => _551.current, 'optionalAccess', _552 => _552.scrollIntoView, 'call', _553 => _553({ behavior: "smooth" })]);
|
|
20389
20432
|
}, [messages.length, sending]);
|
|
20390
20433
|
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
20434
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -20414,7 +20457,7 @@ function AssistantContainer({ renderApprovalAction } = {}) {
|
|
|
20414
20457
|
AssistantSidebar,
|
|
20415
20458
|
{
|
|
20416
20459
|
threads: ctx.threads,
|
|
20417
|
-
activeId: _optionalChain([ctx, 'access',
|
|
20460
|
+
activeId: _optionalChain([ctx, 'access', _554 => _554.assistant, 'optionalAccess', _555 => _555.id]),
|
|
20418
20461
|
onSelect: ctx.selectThread,
|
|
20419
20462
|
onNew: ctx.startNew
|
|
20420
20463
|
}
|
|
@@ -20508,14 +20551,14 @@ function NotificationsList({ archived }) {
|
|
|
20508
20551
|
] }),
|
|
20509
20552
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
20510
20553
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
20511
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access',
|
|
20554
|
+
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
20555
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
20513
20556
|
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
20557
|
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
20558
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
20516
20559
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
20517
20560
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
20518
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
20561
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _559 => _559.actor, 'optionalAccess', _560 => _560.name]), () => ( "")),
|
|
20519
20562
|
title: notificationData.title
|
|
20520
20563
|
}) }),
|
|
20521
20564
|
/* @__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 +20904,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
20861
20904
|
invalidEmail: "Please enter a valid email address"
|
|
20862
20905
|
};
|
|
20863
20906
|
async function copyToClipboard(text) {
|
|
20864
|
-
if (_optionalChain([navigator, 'access',
|
|
20907
|
+
if (_optionalChain([navigator, 'access', _561 => _561.clipboard, 'optionalAccess', _562 => _562.writeText])) {
|
|
20865
20908
|
try {
|
|
20866
20909
|
await navigator.clipboard.writeText(text);
|
|
20867
20910
|
return true;
|
|
@@ -20903,7 +20946,7 @@ function ReferralWidget({
|
|
|
20903
20946
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
20904
20947
|
const config = _chunkC2LEIBUKjs.getReferralConfig.call(void 0, );
|
|
20905
20948
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
20906
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
20949
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _563 => _563.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
20907
20950
|
if (!_chunkC2LEIBUKjs.isReferralEnabled.call(void 0, )) {
|
|
20908
20951
|
return null;
|
|
20909
20952
|
}
|
|
@@ -20913,7 +20956,7 @@ function ReferralWidget({
|
|
|
20913
20956
|
if (success) {
|
|
20914
20957
|
setCopied(true);
|
|
20915
20958
|
_chunkW73JBOIRjs.showToast.call(void 0, t.copiedMessage);
|
|
20916
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
20959
|
+
_optionalChain([onLinkCopied, 'optionalCall', _564 => _564()]);
|
|
20917
20960
|
setTimeout(() => setCopied(false), 2e3);
|
|
20918
20961
|
} else {
|
|
20919
20962
|
_chunkW73JBOIRjs.showError.call(void 0, t.copyError);
|
|
@@ -20927,12 +20970,12 @@ function ReferralWidget({
|
|
|
20927
20970
|
try {
|
|
20928
20971
|
await sendInvite(email);
|
|
20929
20972
|
_chunkW73JBOIRjs.showToast.call(void 0, t.inviteSent);
|
|
20930
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
20973
|
+
_optionalChain([onInviteSent, 'optionalCall', _565 => _565(email)]);
|
|
20931
20974
|
setEmail("");
|
|
20932
20975
|
} catch (err) {
|
|
20933
20976
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
20934
20977
|
_chunkW73JBOIRjs.showError.call(void 0, error2.message);
|
|
20935
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
20978
|
+
_optionalChain([onInviteError, 'optionalCall', _566 => _566(error2)]);
|
|
20936
20979
|
}
|
|
20937
20980
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
20938
20981
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -21686,7 +21729,7 @@ function OAuthClientList({
|
|
|
21686
21729
|
OAuthClientCard,
|
|
21687
21730
|
{
|
|
21688
21731
|
client,
|
|
21689
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
21732
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _567 => _567(client)]),
|
|
21690
21733
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
21691
21734
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
21692
21735
|
},
|
|
@@ -21702,11 +21745,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
21702
21745
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
21703
21746
|
const isEditMode = !!client;
|
|
21704
21747
|
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',
|
|
21748
|
+
name: _optionalChain([client, 'optionalAccess', _568 => _568.name]) || "",
|
|
21749
|
+
description: _optionalChain([client, 'optionalAccess', _569 => _569.description]) || "",
|
|
21750
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _570 => _570.redirectUris, 'optionalAccess', _571 => _571.length]) ? client.redirectUris : [""],
|
|
21751
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _572 => _572.allowedScopes]) || [],
|
|
21752
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _573 => _573.isConfidential]), () => ( true))
|
|
21710
21753
|
});
|
|
21711
21754
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
21712
21755
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -21934,7 +21977,7 @@ function OAuthClientDetail({
|
|
|
21934
21977
|
] }),
|
|
21935
21978
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21936
21979
|
/* @__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',
|
|
21980
|
+
/* @__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
21981
|
] }),
|
|
21939
21982
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21940
21983
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -22078,7 +22121,7 @@ function OAuthConsentScreen({
|
|
|
22078
22121
|
if (error || !clientInfo) {
|
|
22079
22122
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "w-full max-w-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "py-8", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Alert, { variant: "destructive", children: [
|
|
22080
22123
|
/* @__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',
|
|
22124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _576 => _576.message]) || "Invalid authorization request. Please try again." })
|
|
22082
22125
|
] }) }) }) });
|
|
22083
22126
|
}
|
|
22084
22127
|
const { client, scopes } = clientInfo;
|
|
@@ -22294,7 +22337,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
22294
22337
|
questionnaire: values.questionnaire
|
|
22295
22338
|
});
|
|
22296
22339
|
setIsSuccess(true);
|
|
22297
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
22340
|
+
_optionalChain([onSuccess, 'optionalCall', _577 => _577()]);
|
|
22298
22341
|
} catch (e) {
|
|
22299
22342
|
errorToast({ error: e });
|
|
22300
22343
|
} finally {
|
|
@@ -22942,7 +22985,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
|
|
|
22942
22985
|
] }),
|
|
22943
22986
|
roleIds.map((roleId) => {
|
|
22944
22987
|
const roleTokens = block[roleId];
|
|
22945
|
-
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
22988
|
+
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _578 => _578[roleId]]), () => ( roleId));
|
|
22946
22989
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
22947
22990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
|
|
22948
22991
|
_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 +23022,7 @@ function RbacContainer() {
|
|
|
22979
23022
|
}, []);
|
|
22980
23023
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
22981
23024
|
if (!matrix) return [];
|
|
22982
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
23025
|
+
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
23026
|
}, [matrix, moduleNames]);
|
|
22984
23027
|
const roleIds = _react.useMemo.call(void 0, () => {
|
|
22985
23028
|
if (roleNames) {
|
|
@@ -23042,7 +23085,7 @@ function RbacContainer() {
|
|
|
23042
23085
|
id === selectedModuleId && "bg-muted font-medium text-foreground",
|
|
23043
23086
|
id !== selectedModuleId && "text-muted-foreground"
|
|
23044
23087
|
),
|
|
23045
|
-
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
23088
|
+
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _581 => _581[id]]), () => ( id))
|
|
23046
23089
|
}
|
|
23047
23090
|
) }, id)) }) }),
|
|
23048
23091
|
/* @__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 +23093,7 @@ function RbacContainer() {
|
|
|
23050
23093
|
{
|
|
23051
23094
|
moduleId: selectedModuleId,
|
|
23052
23095
|
block: selectedBlock,
|
|
23053
|
-
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
23096
|
+
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _582 => _582[selectedModuleId]]), () => ( selectedModuleId)),
|
|
23054
23097
|
roleIds,
|
|
23055
23098
|
roleNames,
|
|
23056
23099
|
onOpenPicker: openPicker
|
|
@@ -23061,12 +23104,12 @@ function RbacContainer() {
|
|
|
23061
23104
|
RbacPermissionPicker,
|
|
23062
23105
|
{
|
|
23063
23106
|
open: !!activePicker,
|
|
23064
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
23107
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _583 => _583.anchor]), () => ( null)),
|
|
23065
23108
|
value: activeValue,
|
|
23066
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
23109
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _584 => _584.isRoleColumn]), () => ( false)),
|
|
23067
23110
|
knownSegments: activeSegments,
|
|
23068
23111
|
onSetValue: handleSetValue,
|
|
23069
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
23112
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _585 => _585.isRoleColumn]) ? handleClear : void 0,
|
|
23070
23113
|
onClose: closePicker
|
|
23071
23114
|
}
|
|
23072
23115
|
)
|
|
@@ -23133,7 +23176,7 @@ function RbacByRoleContainer() {
|
|
|
23133
23176
|
}, [roleNames]);
|
|
23134
23177
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
23135
23178
|
if (!matrix) return [];
|
|
23136
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
23179
|
+
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
23180
|
}, [matrix, moduleNames]);
|
|
23138
23181
|
_react.useEffect.call(void 0, () => {
|
|
23139
23182
|
if (!selectedRoleId && sortedRoleIds.length > 0) {
|
|
@@ -23182,7 +23225,7 @@ function RbacByRoleContainer() {
|
|
|
23182
23225
|
id === selectedRoleId && "bg-muted font-medium text-foreground",
|
|
23183
23226
|
id !== selectedRoleId && "text-muted-foreground"
|
|
23184
23227
|
),
|
|
23185
|
-
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
23228
|
+
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _588 => _588[id]]), () => ( id))
|
|
23186
23229
|
}
|
|
23187
23230
|
) }, id)) }) }),
|
|
23188
23231
|
/* @__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 +23245,7 @@ function RbacByRoleContainer() {
|
|
|
23202
23245
|
if (!block) return null;
|
|
23203
23246
|
const defaultTokens = _nullishCoalesce(block.default, () => ( []));
|
|
23204
23247
|
const roleTokens = block[selectedRoleId];
|
|
23205
|
-
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
23248
|
+
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _589 => _589[moduleId]]), () => ( moduleId));
|
|
23206
23249
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
23207
23250
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23208
23251
|
"td",
|
|
@@ -23217,7 +23260,7 @@ function RbacByRoleContainer() {
|
|
|
23217
23260
|
_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
23261
|
] }),
|
|
23219
23262
|
/* @__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',
|
|
23263
|
+
/* @__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
23264
|
_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
23265
|
CellButton3,
|
|
23223
23266
|
{
|
|
@@ -23238,12 +23281,12 @@ function RbacByRoleContainer() {
|
|
|
23238
23281
|
RbacPermissionPicker,
|
|
23239
23282
|
{
|
|
23240
23283
|
open: !!activePicker,
|
|
23241
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
23284
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _591 => _591.anchor]), () => ( null)),
|
|
23242
23285
|
value: activeValue,
|
|
23243
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
23286
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _592 => _592.isRoleColumn]), () => ( false)),
|
|
23244
23287
|
knownSegments: activeSegments,
|
|
23245
23288
|
onSetValue: handleSetValue,
|
|
23246
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
23289
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _593 => _593.isRoleColumn]) ? handleClear : void 0,
|
|
23247
23290
|
onClose: closePicker
|
|
23248
23291
|
}
|
|
23249
23292
|
)
|
|
@@ -23798,5 +23841,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
|
|
|
23798
23841
|
|
|
23799
23842
|
|
|
23800
23843
|
|
|
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
|
|
23844
|
+
|
|
23845
|
+
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;
|
|
23846
|
+
//# sourceMappingURL=chunk-3NVJEXUT.js.map
|