@carlonicora/nextjs-jsonapi 1.88.0 → 1.89.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-6MCXSIXP.js → BlockNoteEditor-LPBNKQMZ.js} +39 -11
- package/dist/BlockNoteEditor-LPBNKQMZ.js.map +1 -0
- package/dist/{BlockNoteEditor-RTA7EJWW.mjs → BlockNoteEditor-Q6CMLHU3.mjs} +33 -5
- package/dist/BlockNoteEditor-Q6CMLHU3.mjs.map +1 -0
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-5ZNQKOSM.mjs → chunk-3VQBHUNX.mjs} +1417 -1335
- package/dist/chunk-3VQBHUNX.mjs.map +1 -0
- package/dist/{chunk-2S3UA52H.js → chunk-4GGEI63K.js} +266 -184
- package/dist/chunk-4GGEI63K.js.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +12 -1
- package/dist/components/index.d.ts +12 -1
- 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/package.json +1 -1
- package/src/components/containers/RoundPageContainer.tsx +9 -0
- package/src/components/editors/BlockNoteEditor.tsx +32 -3
- package/src/components/editors/BlockNoteEditorMentionHoverCard.tsx +99 -0
- package/src/components/editors/BlockNoteEditorMentionInlineContent.tsx +35 -30
- package/src/components/editors/index.ts +1 -0
- package/src/features/assistant-message/components/parts/tabs/ContentsTab.tsx +3 -3
- package/src/features/assistant-message/components/parts/tabs/ReferencesTab.tsx +2 -2
- package/src/features/assistant-message/components/parts/tabs/UsersTab.tsx +3 -8
- package/src/features/how-to/components/details/HowToDetails.tsx +3 -3
- package/src/hooks/usePageUrlGenerator.ts +33 -29
- package/dist/BlockNoteEditor-6MCXSIXP.js.map +0 -1
- package/dist/BlockNoteEditor-RTA7EJWW.mjs.map +0 -1
- package/dist/chunk-2S3UA52H.js.map +0 -1
- package/dist/chunk-5ZNQKOSM.mjs.map +0 -1
|
@@ -6086,33 +6086,37 @@ var tableGeneratorRegistry = TableGeneratorRegistry.getInstance();
|
|
|
6086
6086
|
|
|
6087
6087
|
|
|
6088
6088
|
// src/hooks/usePageUrlGenerator.ts
|
|
6089
|
+
|
|
6089
6090
|
function usePageUrlGenerator() {
|
|
6090
|
-
const generateUrl =
|
|
6091
|
-
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6091
|
+
const generateUrl = _react.useCallback.call(void 0,
|
|
6092
|
+
(params) => {
|
|
6093
|
+
if (!params.page) return "/";
|
|
6094
|
+
const pathParams = [
|
|
6095
|
+
`${params.language ? `/${params.language}` : ""}${typeof params.page === "string" ? params.page : params.page.pageUrl}`
|
|
6096
|
+
];
|
|
6097
|
+
if (params.id) {
|
|
6098
|
+
pathParams.push(params.id);
|
|
6099
|
+
if (params.childPage) {
|
|
6100
|
+
pathParams.push(typeof params.childPage === "string" ? params.childPage : _nullishCoalesce(params.childPage.pageUrl, () => ( "")));
|
|
6101
|
+
if (params.childId) {
|
|
6102
|
+
pathParams.push(params.childId);
|
|
6103
|
+
}
|
|
6101
6104
|
}
|
|
6102
6105
|
}
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6106
|
+
const response = pathParams.join(`/`);
|
|
6107
|
+
if (params.additionalParameters) {
|
|
6108
|
+
const searchParams = new URLSearchParams();
|
|
6109
|
+
for (const key in params.additionalParameters) {
|
|
6110
|
+
if (params.additionalParameters[key]) {
|
|
6111
|
+
searchParams.append(key, params.additionalParameters[key]);
|
|
6112
|
+
}
|
|
6110
6113
|
}
|
|
6114
|
+
return `${response}?${searchParams.toString()}`;
|
|
6111
6115
|
}
|
|
6112
|
-
return
|
|
6113
|
-
}
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
+
return response;
|
|
6117
|
+
},
|
|
6118
|
+
[]
|
|
6119
|
+
);
|
|
6116
6120
|
return generateUrl;
|
|
6117
6121
|
}
|
|
6118
6122
|
_chunk7QVYU63Ejs.__name.call(void 0, usePageUrlGenerator, "usePageUrlGenerator");
|
|
@@ -9207,7 +9211,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
|
|
|
9207
9211
|
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
9208
9212
|
|
|
9209
9213
|
|
|
9210
|
-
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-
|
|
9214
|
+
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-LPBNKQMZ.js"))), {
|
|
9211
9215
|
ssr: false
|
|
9212
9216
|
});
|
|
9213
9217
|
var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -13386,7 +13390,15 @@ function RoundPageContainer({
|
|
|
13386
13390
|
const rewriteUrl = useUrlRewriter();
|
|
13387
13391
|
const initialValue = tabs ? (section && tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _355 => _355.key, 'optionalAccess', _356 => _356.name]), () => ( i.label))) === section) ? section : null) || (_nullishCoalesce(_optionalChain([tabs, 'access', _357 => _357[0], 'access', _358 => _358.key, 'optionalAccess', _359 => _359.name]), () => ( tabs[0].label))) : void 0;
|
|
13388
13392
|
const [activeTab, setActiveTab] = _react.useState.call(void 0, initialValue);
|
|
13389
|
-
|
|
13393
|
+
_react.useEffect.call(void 0, () => {
|
|
13394
|
+
if (tabs && section) {
|
|
13395
|
+
const tab = tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _360 => _360.key, 'optionalAccess', _361 => _361.name]), () => ( i.label))) === section);
|
|
13396
|
+
if (tab) {
|
|
13397
|
+
setActiveTab(section);
|
|
13398
|
+
}
|
|
13399
|
+
}
|
|
13400
|
+
}, [section, tabs]);
|
|
13401
|
+
const activeFillHeight = _optionalChain([tabs, 'optionalAccess', _362 => _362.find, 'call', _363 => _363((t) => (_nullishCoalesce(_optionalChain([t, 'access', _364 => _364.key, 'optionalAccess', _365 => _365.name]), () => ( t.label))) === activeTab), 'optionalAccess', _366 => _366.fillHeight]) === true;
|
|
13390
13402
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13391
13403
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { leftContent: headerLeftContent, className: "bg-sidebar border-0", children: headerChildren }),
|
|
13392
13404
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[calc(100vh-3rem)] w-full flex-col p-2 pt-0 pl-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-background flex h-full w-full rounded-lg border p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
@@ -13429,7 +13441,7 @@ function RoundPageContainer({
|
|
|
13429
13441
|
rewriteUrl({ page: module, id, additionalParameters: { section: key } });
|
|
13430
13442
|
},
|
|
13431
13443
|
children: [
|
|
13432
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { className: ``, children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: _nullishCoalesce(_optionalChain([tab, 'access',
|
|
13444
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { className: ``, children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: _nullishCoalesce(_optionalChain([tab, 'access', _367 => _367.key, 'optionalAccess', _368 => _368.name]), () => ( tab.label)), className: `px-4`, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
|
|
13433
13445
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13434
13446
|
"div",
|
|
13435
13447
|
{
|
|
@@ -13437,7 +13449,7 @@ function RoundPageContainer({
|
|
|
13437
13449
|
children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13438
13450
|
TabsContent,
|
|
13439
13451
|
{
|
|
13440
|
-
value: _nullishCoalesce(_optionalChain([tab, 'access',
|
|
13452
|
+
value: _nullishCoalesce(_optionalChain([tab, 'access', _369 => _369.key, 'optionalAccess', _370 => _370.name]), () => ( tab.label)),
|
|
13441
13453
|
className: tab.fillHeight ? `flex flex-1 min-h-0 w-full flex-col` : `pb-20`,
|
|
13442
13454
|
children: tab.content
|
|
13443
13455
|
},
|
|
@@ -13532,49 +13544,127 @@ function AllowedUsersDetails({ showTitle, content }) {
|
|
|
13532
13544
|
}
|
|
13533
13545
|
_chunk7QVYU63Ejs.__name.call(void 0, AllowedUsersDetails, "AllowedUsersDetails");
|
|
13534
13546
|
|
|
13547
|
+
// src/components/editors/BlockNoteEditorMentionHoverCard.tsx
|
|
13548
|
+
|
|
13549
|
+
|
|
13550
|
+
|
|
13551
|
+
function BlockNoteEditorMentionHoverCard({
|
|
13552
|
+
containerRef,
|
|
13553
|
+
mentionResolveFn
|
|
13554
|
+
}) {
|
|
13555
|
+
const [hovered, setHovered] = _react.useState.call(void 0, null);
|
|
13556
|
+
const closeTimeoutRef = _react.useRef.call(void 0, null);
|
|
13557
|
+
const scheduleClose = _react.useCallback.call(void 0, () => {
|
|
13558
|
+
closeTimeoutRef.current = setTimeout(() => setHovered(null), 200);
|
|
13559
|
+
}, []);
|
|
13560
|
+
const cancelClose = _react.useCallback.call(void 0, () => {
|
|
13561
|
+
if (closeTimeoutRef.current) {
|
|
13562
|
+
clearTimeout(closeTimeoutRef.current);
|
|
13563
|
+
closeTimeoutRef.current = null;
|
|
13564
|
+
}
|
|
13565
|
+
}, []);
|
|
13566
|
+
_react.useEffect.call(void 0, () => {
|
|
13567
|
+
const container = containerRef.current;
|
|
13568
|
+
if (!container || !mentionResolveFn) return;
|
|
13569
|
+
const handleMouseOver = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
13570
|
+
const target = e.target.closest("[data-mention-id]");
|
|
13571
|
+
if (!target) return;
|
|
13572
|
+
cancelClose();
|
|
13573
|
+
const id = target.dataset.mentionId;
|
|
13574
|
+
const entityType = target.dataset.mentionType;
|
|
13575
|
+
const alias = target.dataset.mentionAlias;
|
|
13576
|
+
setHovered((prev) => {
|
|
13577
|
+
if (_optionalChain([prev, 'optionalAccess', _371 => _371.id]) === id && _optionalChain([prev, 'optionalAccess', _372 => _372.element]) === target) return prev;
|
|
13578
|
+
return { id, entityType, alias, element: target };
|
|
13579
|
+
});
|
|
13580
|
+
}, "handleMouseOver");
|
|
13581
|
+
const handleMouseOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
13582
|
+
const target = e.target.closest("[data-mention-id]");
|
|
13583
|
+
if (!target) return;
|
|
13584
|
+
const related = _optionalChain([e, 'access', _373 => _373.relatedTarget, 'optionalAccess', _374 => _374.closest, 'call', _375 => _375("[data-mention-id]")]);
|
|
13585
|
+
if (related) return;
|
|
13586
|
+
scheduleClose();
|
|
13587
|
+
}, "handleMouseOut");
|
|
13588
|
+
container.addEventListener("mouseover", handleMouseOver);
|
|
13589
|
+
container.addEventListener("mouseout", handleMouseOut);
|
|
13590
|
+
return () => {
|
|
13591
|
+
container.removeEventListener("mouseover", handleMouseOver);
|
|
13592
|
+
container.removeEventListener("mouseout", handleMouseOut);
|
|
13593
|
+
if (closeTimeoutRef.current) clearTimeout(closeTimeoutRef.current);
|
|
13594
|
+
};
|
|
13595
|
+
}, [containerRef, mentionResolveFn, cancelClose, scheduleClose]);
|
|
13596
|
+
if (!hovered || !mentionResolveFn) return null;
|
|
13597
|
+
const resolved = mentionResolveFn(hovered.id, hovered.entityType, hovered.alias);
|
|
13598
|
+
if (!_optionalChain([resolved, 'optionalAccess', _376 => _376.HoverCardContent])) return null;
|
|
13599
|
+
const ContentComponent = resolved.HoverCardContent;
|
|
13600
|
+
const rect = hovered.element.getBoundingClientRect();
|
|
13601
|
+
return _reactdom.createPortal.call(void 0,
|
|
13602
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13603
|
+
"div",
|
|
13604
|
+
{
|
|
13605
|
+
onMouseEnter: cancelClose,
|
|
13606
|
+
onMouseLeave: scheduleClose,
|
|
13607
|
+
style: {
|
|
13608
|
+
position: "fixed",
|
|
13609
|
+
top: rect.bottom + 4,
|
|
13610
|
+
left: rect.left,
|
|
13611
|
+
zIndex: 50
|
|
13612
|
+
},
|
|
13613
|
+
className: "bg-popover text-popover-foreground rounded-lg border p-2.5 text-xs shadow-md animate-in fade-in-0 zoom-in-95 duration-100",
|
|
13614
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentComponent, { id: hovered.id, entityType: hovered.entityType, alias: hovered.alias })
|
|
13615
|
+
}
|
|
13616
|
+
),
|
|
13617
|
+
document.body
|
|
13618
|
+
);
|
|
13619
|
+
}
|
|
13620
|
+
_chunk7QVYU63Ejs.__name.call(void 0, BlockNoteEditorMentionHoverCard, "BlockNoteEditorMentionHoverCard");
|
|
13621
|
+
|
|
13535
13622
|
// src/components/editors/BlockNoteEditorMentionInlineContent.tsx
|
|
13536
13623
|
var _react4 = require('@blocknote/react');
|
|
13537
13624
|
|
|
13538
|
-
|
|
13539
|
-
|
|
13540
|
-
|
|
13541
|
-
|
|
13542
|
-
|
|
13543
|
-
|
|
13544
|
-
|
|
13625
|
+
|
|
13626
|
+
|
|
13627
|
+
var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (resolveFn) => {
|
|
13628
|
+
const Mention = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function Mention2({ id, entityType, alias }) {
|
|
13629
|
+
const resolved = _optionalChain([resolveFn, 'optionalCall', _377 => _377(id, entityType, alias)]);
|
|
13630
|
+
const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _378 => _378.url]), () => ( "#"));
|
|
13631
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13632
|
+
_link2.default,
|
|
13633
|
+
{
|
|
13634
|
+
href,
|
|
13635
|
+
className: "text-primary",
|
|
13636
|
+
"data-mention-id": id,
|
|
13637
|
+
"data-mention-type": entityType,
|
|
13638
|
+
"data-mention-alias": alias,
|
|
13639
|
+
children: [
|
|
13640
|
+
"@",
|
|
13641
|
+
alias
|
|
13642
|
+
]
|
|
13643
|
+
}
|
|
13644
|
+
);
|
|
13645
|
+
}, "Mention"));
|
|
13646
|
+
return _react4.createReactInlineContentSpec.call(void 0,
|
|
13647
|
+
{
|
|
13648
|
+
type: "mention",
|
|
13649
|
+
propSchema: {
|
|
13650
|
+
alias: { default: "Unknown" },
|
|
13651
|
+
id: { default: "Unknown" },
|
|
13652
|
+
entityType: { default: "Unknown" }
|
|
13653
|
+
},
|
|
13654
|
+
content: "none"
|
|
13545
13655
|
},
|
|
13546
|
-
|
|
13547
|
-
|
|
13548
|
-
|
|
13549
|
-
|
|
13550
|
-
|
|
13551
|
-
|
|
13552
|
-
|
|
13553
|
-
if (resolveFn) {
|
|
13554
|
-
const resolved = resolveFn(id, entityType, alias);
|
|
13555
|
-
if (resolved) {
|
|
13556
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13557
|
-
Link,
|
|
13558
|
-
{
|
|
13559
|
-
href: resolved.url,
|
|
13560
|
-
className: "text-primary",
|
|
13561
|
-
style: { textDecoration: "none" },
|
|
13562
|
-
onClick: (e) => e.stopPropagation(),
|
|
13563
|
-
children: [
|
|
13564
|
-
"@",
|
|
13565
|
-
resolved.name || alias
|
|
13566
|
-
]
|
|
13567
|
-
}
|
|
13568
|
-
);
|
|
13656
|
+
{
|
|
13657
|
+
render: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13658
|
+
Mention,
|
|
13659
|
+
{
|
|
13660
|
+
id: props.inlineContent.props.id,
|
|
13661
|
+
entityType: props.inlineContent.props.entityType,
|
|
13662
|
+
alias: props.inlineContent.props.alias
|
|
13569
13663
|
}
|
|
13570
|
-
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
|
|
13574
|
-
] });
|
|
13575
|
-
}, "render")
|
|
13576
|
-
}
|
|
13577
|
-
), "createMentionInlineContentSpec");
|
|
13664
|
+
), "render")
|
|
13665
|
+
}
|
|
13666
|
+
);
|
|
13667
|
+
}, "createMentionInlineContentSpec");
|
|
13578
13668
|
|
|
13579
13669
|
// src/components/editors/BlockNoteEditorSuggestionMenuController.tsx
|
|
13580
13670
|
|
|
@@ -13781,10 +13871,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
13781
13871
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13782
13872
|
Checkbox,
|
|
13783
13873
|
{
|
|
13784
|
-
checked: _optionalChain([params, 'access',
|
|
13874
|
+
checked: _optionalChain([params, 'access', _379 => _379.checkedIds, 'optionalAccess', _380 => _380.includes, 'call', _381 => _381(row.getValue(params.name))]) || false,
|
|
13785
13875
|
onCheckedChange: (value) => {
|
|
13786
13876
|
row.toggleSelected(!!value);
|
|
13787
|
-
_optionalChain([params, 'access',
|
|
13877
|
+
_optionalChain([params, 'access', _382 => _382.toggleId, 'optionalCall', _383 => _383(row.getValue(params.name))]);
|
|
13788
13878
|
},
|
|
13789
13879
|
"aria-label": "Select row"
|
|
13790
13880
|
}
|
|
@@ -13843,7 +13933,7 @@ function useJsonApiGet(params) {
|
|
|
13843
13933
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
13844
13934
|
const isMounted = _react.useRef.call(void 0, true);
|
|
13845
13935
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
13846
|
-
if (_optionalChain([params, 'access',
|
|
13936
|
+
if (_optionalChain([params, 'access', _384 => _384.options, 'optionalAccess', _385 => _385.enabled]) === false) return;
|
|
13847
13937
|
setLoading(true);
|
|
13848
13938
|
setError(null);
|
|
13849
13939
|
try {
|
|
@@ -13870,9 +13960,9 @@ function useJsonApiGet(params) {
|
|
|
13870
13960
|
setLoading(false);
|
|
13871
13961
|
}
|
|
13872
13962
|
}
|
|
13873
|
-
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access',
|
|
13963
|
+
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _386 => _386.options, 'optionalAccess', _387 => _387.enabled])]);
|
|
13874
13964
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
13875
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
13965
|
+
if (!_optionalChain([response, 'optionalAccess', _388 => _388.nextPage])) return;
|
|
13876
13966
|
setLoading(true);
|
|
13877
13967
|
try {
|
|
13878
13968
|
const nextResponse = await response.nextPage();
|
|
@@ -13893,7 +13983,7 @@ function useJsonApiGet(params) {
|
|
|
13893
13983
|
}
|
|
13894
13984
|
}, [response]);
|
|
13895
13985
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
13896
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
13986
|
+
if (!_optionalChain([response, 'optionalAccess', _389 => _389.prevPage])) return;
|
|
13897
13987
|
setLoading(true);
|
|
13898
13988
|
try {
|
|
13899
13989
|
const prevResponse = await response.prevPage();
|
|
@@ -13919,15 +14009,15 @@ function useJsonApiGet(params) {
|
|
|
13919
14009
|
return () => {
|
|
13920
14010
|
isMounted.current = false;
|
|
13921
14011
|
};
|
|
13922
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
14012
|
+
}, [fetchData, ..._optionalChain([params, 'access', _390 => _390.options, 'optionalAccess', _391 => _391.deps]) || []]);
|
|
13923
14013
|
return {
|
|
13924
14014
|
data,
|
|
13925
14015
|
loading,
|
|
13926
14016
|
error,
|
|
13927
14017
|
response,
|
|
13928
14018
|
refetch: fetchData,
|
|
13929
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
13930
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
14019
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _392 => _392.next]),
|
|
14020
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _393 => _393.prev]),
|
|
13931
14021
|
fetchNextPage,
|
|
13932
14022
|
fetchPreviousPage
|
|
13933
14023
|
};
|
|
@@ -14005,17 +14095,17 @@ function useJsonApiMutation(config) {
|
|
|
14005
14095
|
if (apiResponse.ok) {
|
|
14006
14096
|
const resultData = apiResponse.data;
|
|
14007
14097
|
setData(resultData);
|
|
14008
|
-
_optionalChain([config, 'access',
|
|
14098
|
+
_optionalChain([config, 'access', _394 => _394.onSuccess, 'optionalCall', _395 => _395(resultData)]);
|
|
14009
14099
|
return resultData;
|
|
14010
14100
|
} else {
|
|
14011
14101
|
setError(apiResponse.error);
|
|
14012
|
-
_optionalChain([config, 'access',
|
|
14102
|
+
_optionalChain([config, 'access', _396 => _396.onError, 'optionalCall', _397 => _397(apiResponse.error)]);
|
|
14013
14103
|
return null;
|
|
14014
14104
|
}
|
|
14015
14105
|
} catch (err) {
|
|
14016
14106
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
14017
14107
|
setError(errorMessage);
|
|
14018
|
-
_optionalChain([config, 'access',
|
|
14108
|
+
_optionalChain([config, 'access', _398 => _398.onError, 'optionalCall', _399 => _399(errorMessage)]);
|
|
14019
14109
|
return null;
|
|
14020
14110
|
} finally {
|
|
14021
14111
|
setLoading(false);
|
|
@@ -14088,7 +14178,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14088
14178
|
{
|
|
14089
14179
|
href: hasRole(_chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
14090
14180
|
page: "/administration",
|
|
14091
|
-
id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access',
|
|
14181
|
+
id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access', _400 => _400.Company, 'access', _401 => _401.pageUrl, 'optionalAccess', _402 => _402.substring, 'call', _403 => _403(1)]),
|
|
14092
14182
|
childPage: company.id
|
|
14093
14183
|
}) : generateUrl({ page: _chunkXAWKRNYMjs.Modules.Company, id: company.id }),
|
|
14094
14184
|
children: row.getValue("name")
|
|
@@ -14104,7 +14194,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14104
14194
|
})
|
|
14105
14195
|
};
|
|
14106
14196
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14107
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14197
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _404 => _404[field], 'optionalCall', _405 => _405()])).filter((col) => col !== void 0);
|
|
14108
14198
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
14109
14199
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14110
14200
|
}, "useCompanyTableStructure");
|
|
@@ -14116,7 +14206,7 @@ var GRACE_DAYS = 3;
|
|
|
14116
14206
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
14117
14207
|
if (!currentUser || !_chunkSE5HIHJSjs.isRolesConfigured.call(void 0, )) return false;
|
|
14118
14208
|
const adminRoleId = _chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator;
|
|
14119
|
-
return !!_optionalChain([currentUser, 'access',
|
|
14209
|
+
return !!_optionalChain([currentUser, 'access', _406 => _406.roles, 'optionalAccess', _407 => _407.some, 'call', _408 => _408((role) => role.id === adminRoleId)]);
|
|
14120
14210
|
}, "isAdministrator");
|
|
14121
14211
|
function useSubscriptionStatus() {
|
|
14122
14212
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -14233,7 +14323,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
14233
14323
|
})
|
|
14234
14324
|
};
|
|
14235
14325
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14236
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14326
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _409 => _409[field], 'optionalCall', _410 => _410()])).filter((col) => col !== void 0);
|
|
14237
14327
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
14238
14328
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14239
14329
|
}, "useRoleTableStructure");
|
|
@@ -14334,11 +14424,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14334
14424
|
return params.fields.map((field) => {
|
|
14335
14425
|
const localHandler = fieldColumnMap[field];
|
|
14336
14426
|
if (localHandler) return localHandler();
|
|
14337
|
-
const customHandler = _optionalChain([params, 'access',
|
|
14427
|
+
const customHandler = _optionalChain([params, 'access', _411 => _411.context, 'optionalAccess', _412 => _412.customCells, 'optionalAccess', _413 => _413[field]]);
|
|
14338
14428
|
if (customHandler) return customHandler({ t });
|
|
14339
14429
|
return void 0;
|
|
14340
14430
|
}).filter((col) => col !== void 0);
|
|
14341
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
14431
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _414 => _414.context, 'optionalAccess', _415 => _415.customCells])]);
|
|
14342
14432
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14343
14433
|
}, "useContentTableStructure");
|
|
14344
14434
|
|
|
@@ -14673,7 +14763,7 @@ function ContentTableSearch({ data }) {
|
|
|
14673
14763
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
14674
14764
|
if (!isExpanded) {
|
|
14675
14765
|
setIsFocused(true);
|
|
14676
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
14766
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _416 => _416.current, 'optionalAccess', _417 => _417.focus, 'call', _418 => _418()]), 50);
|
|
14677
14767
|
}
|
|
14678
14768
|
}, "handleSearchIconClick");
|
|
14679
14769
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -14739,7 +14829,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14739
14829
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
14740
14830
|
);
|
|
14741
14831
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
14742
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
14832
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _419 => _419.data]), () => ( EMPTY_ARRAY)),
|
|
14743
14833
|
fields,
|
|
14744
14834
|
checkedIds,
|
|
14745
14835
|
toggleId,
|
|
@@ -14808,12 +14898,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14808
14898
|
) }),
|
|
14809
14899
|
table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
14810
14900
|
const meta = header.column.columnDef.meta;
|
|
14811
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess',
|
|
14901
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _420 => _420.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
|
|
14812
14902
|
}) }, headerGroup.id))
|
|
14813
14903
|
] }),
|
|
14814
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access',
|
|
14904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _421 => _421.rows, 'optionalAccess', _422 => _422.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
|
|
14815
14905
|
const meta = cell.column.columnDef.meta;
|
|
14816
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
14906
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _423 => _423.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
14817
14907
|
}) }, row.id)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "h-24 text-center", children: "No results." }) }) }),
|
|
14818
14908
|
showFooter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableFooter, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-card py-4 text-right", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end space-x-2", children: [
|
|
14819
14909
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14823,7 +14913,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14823
14913
|
size: "sm",
|
|
14824
14914
|
onClick: (e) => {
|
|
14825
14915
|
e.preventDefault();
|
|
14826
|
-
_optionalChain([data, 'access',
|
|
14916
|
+
_optionalChain([data, 'access', _424 => _424.previous, 'optionalCall', _425 => _425(true)]);
|
|
14827
14917
|
},
|
|
14828
14918
|
disabled: !data.previous,
|
|
14829
14919
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -14837,7 +14927,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14837
14927
|
size: "sm",
|
|
14838
14928
|
onClick: (e) => {
|
|
14839
14929
|
e.preventDefault();
|
|
14840
|
-
_optionalChain([data, 'access',
|
|
14930
|
+
_optionalChain([data, 'access', _426 => _426.next, 'optionalCall', _427 => _427(true)]);
|
|
14841
14931
|
},
|
|
14842
14932
|
disabled: !data.next,
|
|
14843
14933
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -14858,7 +14948,7 @@ function ContentListGrid(props) {
|
|
|
14858
14948
|
if (!data.next || !sentinelRef.current) return;
|
|
14859
14949
|
const observer = new IntersectionObserver(
|
|
14860
14950
|
(entries) => {
|
|
14861
|
-
if (_optionalChain([entries, 'access',
|
|
14951
|
+
if (_optionalChain([entries, 'access', _428 => _428[0], 'optionalAccess', _429 => _429.isIntersecting])) _optionalChain([data, 'access', _430 => _430.next, 'optionalCall', _431 => _431()]);
|
|
14862
14952
|
},
|
|
14863
14953
|
{ threshold: 0.1, rootMargin: "200px" }
|
|
14864
14954
|
);
|
|
@@ -15608,7 +15698,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15608
15698
|
newDigits[index] = digit;
|
|
15609
15699
|
setDigits(newDigits);
|
|
15610
15700
|
if (digit && index < 5) {
|
|
15611
|
-
_optionalChain([inputRefs, 'access',
|
|
15701
|
+
_optionalChain([inputRefs, 'access', _432 => _432.current, 'access', _433 => _433[index + 1], 'optionalAccess', _434 => _434.focus, 'call', _435 => _435()]);
|
|
15612
15702
|
}
|
|
15613
15703
|
const code = newDigits.join("");
|
|
15614
15704
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -15617,7 +15707,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15617
15707
|
}, "handleChange");
|
|
15618
15708
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
15619
15709
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
15620
|
-
_optionalChain([inputRefs, 'access',
|
|
15710
|
+
_optionalChain([inputRefs, 'access', _436 => _436.current, 'access', _437 => _437[index - 1], 'optionalAccess', _438 => _438.focus, 'call', _439 => _439()]);
|
|
15621
15711
|
}
|
|
15622
15712
|
}, "handleKeyDown");
|
|
15623
15713
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -15626,7 +15716,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15626
15716
|
if (pastedData.length === 6) {
|
|
15627
15717
|
const newDigits = pastedData.split("");
|
|
15628
15718
|
setDigits(newDigits);
|
|
15629
|
-
_optionalChain([inputRefs, 'access',
|
|
15719
|
+
_optionalChain([inputRefs, 'access', _440 => _440.current, 'access', _441 => _441[5], 'optionalAccess', _442 => _442.focus, 'call', _443 => _443()]);
|
|
15630
15720
|
onComplete(pastedData);
|
|
15631
15721
|
}
|
|
15632
15722
|
}, "handlePaste");
|
|
@@ -15837,8 +15927,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
15837
15927
|
try {
|
|
15838
15928
|
const registrationData = await _chunkXAWKRNYMjs.TwoFactorService.getPasskeyRegistrationOptions({
|
|
15839
15929
|
id: _uuid.v4.call(void 0, ),
|
|
15840
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
15841
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
15930
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _444 => _444.email]), () => ( "")),
|
|
15931
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _445 => _445.name])
|
|
15842
15932
|
});
|
|
15843
15933
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
15844
15934
|
await _chunkXAWKRNYMjs.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -15989,7 +16079,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
15989
16079
|
const setup = await _chunkXAWKRNYMjs.TwoFactorService.setupTotp({
|
|
15990
16080
|
id: _uuid.v4.call(void 0, ),
|
|
15991
16081
|
name: name.trim(),
|
|
15992
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
16082
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _446 => _446.email]), () => ( ""))
|
|
15993
16083
|
});
|
|
15994
16084
|
setQrCodeUri(setup.qrCodeUri);
|
|
15995
16085
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -16123,7 +16213,7 @@ function TwoFactorSettings() {
|
|
|
16123
16213
|
if (isLoading) {
|
|
16124
16214
|
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") }) }) });
|
|
16125
16215
|
}
|
|
16126
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
16216
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _447 => _447.isEnabled]), () => ( false));
|
|
16127
16217
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
16128
16218
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
16129
16219
|
isEnabled ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldCheck, { className: "h-6 w-6 text-green-600" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldAlert, { className: "h-6 w-6 text-yellow-600" }),
|
|
@@ -16161,7 +16251,7 @@ function TwoFactorSettings() {
|
|
|
16161
16251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
16162
16252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
16163
16253
|
] }),
|
|
16164
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
16254
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _448 => _448.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
16165
16255
|
] }) }),
|
|
16166
16256
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16167
16257
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -16339,9 +16429,9 @@ function AcceptInvitation() {
|
|
|
16339
16429
|
});
|
|
16340
16430
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16341
16431
|
try {
|
|
16342
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
16432
|
+
if (!_optionalChain([params, 'optionalAccess', _449 => _449.code])) return;
|
|
16343
16433
|
const payload = {
|
|
16344
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
16434
|
+
code: _optionalChain([params, 'optionalAccess', _450 => _450.code]),
|
|
16345
16435
|
password: values.password
|
|
16346
16436
|
};
|
|
16347
16437
|
await _chunkXAWKRNYMjs.AuthService.acceptInvitation(payload);
|
|
@@ -16691,7 +16781,7 @@ function Logout({ storageKeys }) {
|
|
|
16691
16781
|
const generateUrl = usePageUrlGenerator();
|
|
16692
16782
|
_react.useEffect.call(void 0, () => {
|
|
16693
16783
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
16694
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
16784
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _451 => _451.length])) {
|
|
16695
16785
|
clearClientStorage(storageKeys);
|
|
16696
16786
|
}
|
|
16697
16787
|
await _chunkXAWKRNYMjs.AuthService.logout();
|
|
@@ -16714,14 +16804,14 @@ function RefreshUser() {
|
|
|
16714
16804
|
setUser(fullUser);
|
|
16715
16805
|
const token = {
|
|
16716
16806
|
userId: fullUser.id,
|
|
16717
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
16807
|
+
companyId: _optionalChain([fullUser, 'access', _452 => _452.company, 'optionalAccess', _453 => _453.id]),
|
|
16718
16808
|
roles: fullUser.roles.map((role) => role.id),
|
|
16719
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
16809
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _454 => _454.company, 'optionalAccess', _455 => _455.features, 'optionalAccess', _456 => _456.map, 'call', _457 => _457((feature) => feature.id)]), () => ( [])),
|
|
16720
16810
|
modules: fullUser.modules.map((module) => {
|
|
16721
16811
|
return { id: module.id, permissions: module.permissions };
|
|
16722
16812
|
})
|
|
16723
16813
|
};
|
|
16724
|
-
await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
16814
|
+
await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess', _458 => _458.updateToken, 'call', _459 => _459(token)]);
|
|
16725
16815
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
16726
16816
|
}
|
|
16727
16817
|
}, "loadFullUser");
|
|
@@ -16785,9 +16875,9 @@ function ResetPassword() {
|
|
|
16785
16875
|
});
|
|
16786
16876
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16787
16877
|
try {
|
|
16788
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
16878
|
+
if (!_optionalChain([params, 'optionalAccess', _460 => _460.code])) return;
|
|
16789
16879
|
const payload = {
|
|
16790
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
16880
|
+
code: _optionalChain([params, 'optionalAccess', _461 => _461.code]),
|
|
16791
16881
|
password: values.password
|
|
16792
16882
|
};
|
|
16793
16883
|
await _chunkXAWKRNYMjs.AuthService.resetPassword(payload);
|
|
@@ -17136,7 +17226,7 @@ function extractHeadings(blocks) {
|
|
|
17136
17226
|
function processBlocks(blockArray) {
|
|
17137
17227
|
for (const block of blockArray) {
|
|
17138
17228
|
if (block.type === "heading") {
|
|
17139
|
-
const level = _optionalChain([block, 'access',
|
|
17229
|
+
const level = _optionalChain([block, 'access', _462 => _462.props, 'optionalAccess', _463 => _463.level]) || 1;
|
|
17140
17230
|
const text = extractTextFromContent(block.content);
|
|
17141
17231
|
if (text.trim()) {
|
|
17142
17232
|
headings.push({
|
|
@@ -17388,7 +17478,7 @@ function HowToDetailsInternal({ howTo }) {
|
|
|
17388
17478
|
AttributeElement,
|
|
17389
17479
|
{
|
|
17390
17480
|
title: t(`howto.fields.pages.label`),
|
|
17391
|
-
value: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-y-1", children: pagesList.map((page, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: page, className: "text-primary
|
|
17481
|
+
value: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-y-1", children: pagesList.map((page, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: page, className: "text-primary", children: page }) }, index)) })
|
|
17392
17482
|
}
|
|
17393
17483
|
) })
|
|
17394
17484
|
] });
|
|
@@ -17479,7 +17569,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
|
|
|
17479
17569
|
})
|
|
17480
17570
|
};
|
|
17481
17571
|
const columns = _react.useMemo.call(void 0, () => {
|
|
17482
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
17572
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _464 => _464[field], 'optionalCall', _465 => _465()])).filter((col) => col !== void 0);
|
|
17483
17573
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
17484
17574
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
17485
17575
|
}, "useHowToTableStructure");
|
|
@@ -17545,7 +17635,7 @@ function HowToMultiSelector({
|
|
|
17545
17635
|
retriever: (params) => _chunkXAWKRNYMjs.HowToService.findMany(params),
|
|
17546
17636
|
module: _chunkXAWKRNYMjs.Modules.HowTo,
|
|
17547
17637
|
getLabel: (howTo) => howTo.name,
|
|
17548
|
-
excludeId: _optionalChain([currentHowTo, 'optionalAccess',
|
|
17638
|
+
excludeId: _optionalChain([currentHowTo, 'optionalAccess', _466 => _466.id]),
|
|
17549
17639
|
onChange
|
|
17550
17640
|
}
|
|
17551
17641
|
);
|
|
@@ -17610,7 +17700,7 @@ function HowToSelector({
|
|
|
17610
17700
|
}, "setHowTo");
|
|
17611
17701
|
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: [
|
|
17612
17702
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
|
|
17613
|
-
/* @__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',
|
|
17703
|
+
/* @__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', _467 => _467.value, 'optionalAccess', _468 => _468.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 }) }))) }) }) }),
|
|
17614
17704
|
field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17615
17705
|
_lucidereact.CircleX,
|
|
17616
17706
|
{
|
|
@@ -17899,7 +17989,7 @@ function ReferencesTab({ references }) {
|
|
|
17899
17989
|
}
|
|
17900
17990
|
const href = generate({ page: module, id: ref.id });
|
|
17901
17991
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
17902
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href, target: "_blank", rel: "noopener noreferrer", className: "font-medium
|
|
17992
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href, target: "_blank", rel: "noopener noreferrer", className: "font-medium", children: ref.identifier }) }),
|
|
17903
17993
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: "text-muted-foreground text-xs", children: module.name })
|
|
17904
17994
|
] }, `${ref.type}/${ref.id}`);
|
|
17905
17995
|
}) })
|
|
@@ -17965,9 +18055,9 @@ function CitationsTab({ citations, sources }) {
|
|
|
17965
18055
|
] }) }),
|
|
17966
18056
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
|
|
17967
18057
|
const isOpen = expanded.has(chunk.id);
|
|
17968
|
-
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess',
|
|
18058
|
+
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _469 => _469.get, 'call', _470 => _470(chunk.nodeId)]) : void 0;
|
|
17969
18059
|
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")));
|
|
17970
|
-
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
18060
|
+
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _471 => _471.name]), () => ( fallbackName));
|
|
17971
18061
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
17972
18062
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
17973
18063
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -18014,7 +18104,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
18014
18104
|
for (const c of citations) {
|
|
18015
18105
|
const id = c.nodeId;
|
|
18016
18106
|
if (!id) continue;
|
|
18017
|
-
const source = _optionalChain([sources, 'optionalAccess',
|
|
18107
|
+
const source = _optionalChain([sources, 'optionalAccess', _472 => _472.get, 'call', _473 => _473(id)]);
|
|
18018
18108
|
if (!source) continue;
|
|
18019
18109
|
const existing = map.get(id);
|
|
18020
18110
|
if (existing) {
|
|
@@ -18043,7 +18133,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
18043
18133
|
const href = generate({ page: module, id: source.id });
|
|
18044
18134
|
const name = _nullishCoalesce(source.name, () => ( source.identifier));
|
|
18045
18135
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
18046
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href, target: "_blank", rel: "noopener noreferrer",
|
|
18136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href, target: "_blank", rel: "noopener noreferrer", children: [
|
|
18047
18137
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium", children: name }),
|
|
18048
18138
|
" ",
|
|
18049
18139
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground text-xs", children: t("features.assistant.message.sources.citations_count", {
|
|
@@ -18079,7 +18169,7 @@ function UsersTab({ users, citations, sources }) {
|
|
|
18079
18169
|
const generate = usePageUrlGenerator();
|
|
18080
18170
|
const userMap = /* @__PURE__ */ new Map();
|
|
18081
18171
|
for (const u of users) {
|
|
18082
|
-
if (!_optionalChain([u, 'optionalAccess',
|
|
18172
|
+
if (!_optionalChain([u, 'optionalAccess', _474 => _474.id])) continue;
|
|
18083
18173
|
userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
|
|
18084
18174
|
}
|
|
18085
18175
|
if (citations && sources) {
|
|
@@ -18119,33 +18209,24 @@ function UsersTab({ users, citations, sources }) {
|
|
|
18119
18209
|
const name = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(user.name, () => ( user.fullName)), () => ( user.identifier)), () => ( "User"));
|
|
18120
18210
|
const avatarUrl = user.avatar;
|
|
18121
18211
|
const showCounts = citationCount > 0 || contentCount > 0;
|
|
18122
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18123
|
-
|
|
18124
|
-
|
|
18125
|
-
|
|
18126
|
-
|
|
18127
|
-
|
|
18128
|
-
className: "
|
|
18129
|
-
children: [
|
|
18130
|
-
|
|
18131
|
-
|
|
18132
|
-
|
|
18133
|
-
|
|
18134
|
-
|
|
18135
|
-
|
|
18136
|
-
|
|
18137
|
-
|
|
18138
|
-
|
|
18139
|
-
|
|
18140
|
-
" \xB7 ",
|
|
18141
|
-
t("features.assistant.message.sources.citations_count", {
|
|
18142
|
-
count: citationCount
|
|
18143
|
-
})
|
|
18144
|
-
] })
|
|
18145
|
-
] })
|
|
18146
|
-
]
|
|
18147
|
-
}
|
|
18148
|
-
) }) }, user.id);
|
|
18212
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href, target: "_blank", rel: "noopener noreferrer", className: "flex items-center gap-3", children: [
|
|
18213
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Avatar, { className: "h-7 w-7", children: [
|
|
18214
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AvatarImage, { src: avatarUrl, "aria-label": name }),
|
|
18215
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AvatarFallback, { "aria-label": name, children: getInitials2(name) })
|
|
18216
|
+
] }),
|
|
18217
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-col", children: [
|
|
18218
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium", children: name }),
|
|
18219
|
+
showCounts && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-muted-foreground text-xs", children: [
|
|
18220
|
+
t("features.assistant.message.sources.contents_count", {
|
|
18221
|
+
count: contentCount
|
|
18222
|
+
}),
|
|
18223
|
+
" \xB7 ",
|
|
18224
|
+
t("features.assistant.message.sources.citations_count", {
|
|
18225
|
+
count: citationCount
|
|
18226
|
+
})
|
|
18227
|
+
] })
|
|
18228
|
+
] })
|
|
18229
|
+
] }) }) }, user.id);
|
|
18149
18230
|
}) }) });
|
|
18150
18231
|
}
|
|
18151
18232
|
_chunk7QVYU63Ejs.__name.call(void 0, UsersTab, "UsersTab");
|
|
@@ -18192,7 +18273,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
|
|
|
18192
18273
|
}
|
|
18193
18274
|
return ids.size;
|
|
18194
18275
|
}, [message.citations, sources]);
|
|
18195
|
-
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess',
|
|
18276
|
+
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _475 => _475.length]), () => ( 0));
|
|
18196
18277
|
const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
|
|
18197
18278
|
const visibleTabs = [];
|
|
18198
18279
|
if (suggestionsCount > 0) visibleTabs.push("suggested");
|
|
@@ -18251,8 +18332,8 @@ var SourcesFetcher = class extends _chunkXAWKRNYMjs.ClientAbstractService {
|
|
|
18251
18332
|
static async findManyByIds(params) {
|
|
18252
18333
|
const endpoint = new (0, _chunkXAWKRNYMjs.EndpointCreator)({ endpoint: params.module });
|
|
18253
18334
|
endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
|
|
18254
|
-
if (_optionalChain([params, 'access',
|
|
18255
|
-
if (_optionalChain([params, 'access',
|
|
18335
|
+
if (_optionalChain([params, 'access', _476 => _476.module, 'access', _477 => _477.inclusions, 'optionalAccess', _478 => _478.lists, 'optionalAccess', _479 => _479.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
|
|
18336
|
+
if (_optionalChain([params, 'access', _480 => _480.module, 'access', _481 => _481.inclusions, 'optionalAccess', _482 => _482.lists, 'optionalAccess', _483 => _483.types])) endpoint.limitToType(params.module.inclusions.lists.types);
|
|
18256
18337
|
return this.callApi({
|
|
18257
18338
|
type: params.module,
|
|
18258
18339
|
method: "GET" /* GET */,
|
|
@@ -18331,7 +18412,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
|
|
|
18331
18412
|
return void 0;
|
|
18332
18413
|
}
|
|
18333
18414
|
})()));
|
|
18334
|
-
if (_optionalChain([author, 'optionalAccess',
|
|
18415
|
+
if (_optionalChain([author, 'optionalAccess', _484 => _484.id])) userMap.set(author.id, author);
|
|
18335
18416
|
}
|
|
18336
18417
|
return Array.from(userMap.values());
|
|
18337
18418
|
}, [resolved]);
|
|
@@ -18353,14 +18434,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, MessageSourcesContainer, "MessageSourcesCon
|
|
|
18353
18434
|
function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18354
18435
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
18355
18436
|
const isUser = message.role === "user";
|
|
18356
|
-
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess',
|
|
18437
|
+
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _485 => _485.has, 'call', _486 => _486(message.id)]);
|
|
18357
18438
|
if (isUser) {
|
|
18358
18439
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
|
|
18359
18440
|
/* @__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 }),
|
|
18360
18441
|
isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
|
|
18361
18442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
|
|
18362
18443
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
|
|
18363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall',
|
|
18444
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _487 => _487(message.id)]), children: t("features.assistant.retry") })
|
|
18364
18445
|
] })
|
|
18365
18446
|
] });
|
|
18366
18447
|
}
|
|
@@ -18426,7 +18507,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AssistantStatusLine, "AssistantStatusLine")
|
|
|
18426
18507
|
function AssistantThread({ messages, sending, status, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18427
18508
|
const endRef = _react.useRef.call(void 0, null);
|
|
18428
18509
|
_react.useEffect.call(void 0, () => {
|
|
18429
|
-
_optionalChain([endRef, 'access',
|
|
18510
|
+
_optionalChain([endRef, 'access', _488 => _488.current, 'optionalAccess', _489 => _489.scrollIntoView, 'call', _490 => _490({ behavior: "smooth" })]);
|
|
18430
18511
|
}, [messages.length, sending]);
|
|
18431
18512
|
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: [
|
|
18432
18513
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18454,7 +18535,7 @@ function AssistantContainer() {
|
|
|
18454
18535
|
AssistantSidebar,
|
|
18455
18536
|
{
|
|
18456
18537
|
threads: ctx.threads,
|
|
18457
|
-
activeId: _optionalChain([ctx, 'access',
|
|
18538
|
+
activeId: _optionalChain([ctx, 'access', _491 => _491.assistant, 'optionalAccess', _492 => _492.id]),
|
|
18458
18539
|
onSelect: ctx.selectThread,
|
|
18459
18540
|
onNew: ctx.startNew
|
|
18460
18541
|
}
|
|
@@ -18547,14 +18628,14 @@ function NotificationsList({ archived }) {
|
|
|
18547
18628
|
] }),
|
|
18548
18629
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
18549
18630
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
18550
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access',
|
|
18631
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _493 => _493.data, 'optionalAccess', _494 => _494.map, 'call', _495 => _495((notification) => {
|
|
18551
18632
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
18552
18633
|
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: [
|
|
18553
18634
|
notificationData.actor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-12 max-w-12 px-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkXAWKRNYMjs.Modules.User, id: notificationData.actor.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: notificationData.actor, className: "h-8 w-8" }) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-14 max-w-14 px-2" }),
|
|
18554
18635
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
18555
18636
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
18556
18637
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
18557
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
18638
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _496 => _496.actor, 'optionalAccess', _497 => _497.name]), () => ( "")),
|
|
18558
18639
|
title: notificationData.title
|
|
18559
18640
|
}) }),
|
|
18560
18641
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -18904,7 +18985,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
18904
18985
|
invalidEmail: "Please enter a valid email address"
|
|
18905
18986
|
};
|
|
18906
18987
|
async function copyToClipboard(text) {
|
|
18907
|
-
if (_optionalChain([navigator, 'access',
|
|
18988
|
+
if (_optionalChain([navigator, 'access', _498 => _498.clipboard, 'optionalAccess', _499 => _499.writeText])) {
|
|
18908
18989
|
try {
|
|
18909
18990
|
await navigator.clipboard.writeText(text);
|
|
18910
18991
|
return true;
|
|
@@ -18946,7 +19027,7 @@ function ReferralWidget({
|
|
|
18946
19027
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
18947
19028
|
const config = _chunkSE5HIHJSjs.getReferralConfig.call(void 0, );
|
|
18948
19029
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
18949
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
19030
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _500 => _500.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
18950
19031
|
if (!_chunkSE5HIHJSjs.isReferralEnabled.call(void 0, )) {
|
|
18951
19032
|
return null;
|
|
18952
19033
|
}
|
|
@@ -18956,7 +19037,7 @@ function ReferralWidget({
|
|
|
18956
19037
|
if (success) {
|
|
18957
19038
|
setCopied(true);
|
|
18958
19039
|
_chunkXAWKRNYMjs.showToast.call(void 0, t.copiedMessage);
|
|
18959
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
19040
|
+
_optionalChain([onLinkCopied, 'optionalCall', _501 => _501()]);
|
|
18960
19041
|
setTimeout(() => setCopied(false), 2e3);
|
|
18961
19042
|
} else {
|
|
18962
19043
|
_chunkXAWKRNYMjs.showError.call(void 0, t.copyError);
|
|
@@ -18970,12 +19051,12 @@ function ReferralWidget({
|
|
|
18970
19051
|
try {
|
|
18971
19052
|
await sendInvite(email);
|
|
18972
19053
|
_chunkXAWKRNYMjs.showToast.call(void 0, t.inviteSent);
|
|
18973
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
19054
|
+
_optionalChain([onInviteSent, 'optionalCall', _502 => _502(email)]);
|
|
18974
19055
|
setEmail("");
|
|
18975
19056
|
} catch (err) {
|
|
18976
19057
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
18977
19058
|
_chunkXAWKRNYMjs.showError.call(void 0, error2.message);
|
|
18978
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
19059
|
+
_optionalChain([onInviteError, 'optionalCall', _503 => _503(error2)]);
|
|
18979
19060
|
}
|
|
18980
19061
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
18981
19062
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -19729,7 +19810,7 @@ function OAuthClientList({
|
|
|
19729
19810
|
OAuthClientCard,
|
|
19730
19811
|
{
|
|
19731
19812
|
client,
|
|
19732
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
19813
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _504 => _504(client)]),
|
|
19733
19814
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
19734
19815
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
19735
19816
|
},
|
|
@@ -19745,11 +19826,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
19745
19826
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
19746
19827
|
const isEditMode = !!client;
|
|
19747
19828
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
19748
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
19749
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
19750
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
19751
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
19752
|
-
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess',
|
|
19829
|
+
name: _optionalChain([client, 'optionalAccess', _505 => _505.name]) || "",
|
|
19830
|
+
description: _optionalChain([client, 'optionalAccess', _506 => _506.description]) || "",
|
|
19831
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _507 => _507.redirectUris, 'optionalAccess', _508 => _508.length]) ? client.redirectUris : [""],
|
|
19832
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _509 => _509.allowedScopes]) || [],
|
|
19833
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _510 => _510.isConfidential]), () => ( true))
|
|
19753
19834
|
});
|
|
19754
19835
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
19755
19836
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -19977,7 +20058,7 @@ function OAuthClientDetail({
|
|
|
19977
20058
|
] }),
|
|
19978
20059
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
19979
20060
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
19980
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([_chunkXAWKRNYMjs.OAUTH_SCOPE_DISPLAY, 'access',
|
|
20061
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([_chunkXAWKRNYMjs.OAUTH_SCOPE_DISPLAY, 'access', _511 => _511[scope], 'optionalAccess', _512 => _512.name]) || scope }, scope)) })
|
|
19981
20062
|
] }),
|
|
19982
20063
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
19983
20064
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -20121,7 +20202,7 @@ function OAuthConsentScreen({
|
|
|
20121
20202
|
if (error || !clientInfo) {
|
|
20122
20203
|
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: [
|
|
20123
20204
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
20124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess',
|
|
20205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _513 => _513.message]) || "Invalid authorization request. Please try again." })
|
|
20125
20206
|
] }) }) }) });
|
|
20126
20207
|
}
|
|
20127
20208
|
const { client, scopes } = clientInfo;
|
|
@@ -20337,7 +20418,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
20337
20418
|
questionnaire: values.questionnaire
|
|
20338
20419
|
});
|
|
20339
20420
|
setIsSuccess(true);
|
|
20340
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
20421
|
+
_optionalChain([onSuccess, 'optionalCall', _514 => _514()]);
|
|
20341
20422
|
} catch (e) {
|
|
20342
20423
|
errorToast({ error: e });
|
|
20343
20424
|
} finally {
|
|
@@ -20975,7 +21056,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
|
|
|
20975
21056
|
] }),
|
|
20976
21057
|
roleIds.map((roleId) => {
|
|
20977
21058
|
const roleTokens = block[roleId];
|
|
20978
|
-
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21059
|
+
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _515 => _515[roleId]]), () => ( roleId));
|
|
20979
21060
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
20980
21061
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
|
|
20981
21062
|
_chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -21012,7 +21093,7 @@ function RbacContainer() {
|
|
|
21012
21093
|
}, []);
|
|
21013
21094
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
21014
21095
|
if (!matrix) return [];
|
|
21015
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21096
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _516 => _516[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _517 => _517[b]]), () => ( b))));
|
|
21016
21097
|
}, [matrix, moduleNames]);
|
|
21017
21098
|
const roleIds = _react.useMemo.call(void 0, () => {
|
|
21018
21099
|
if (roleNames) {
|
|
@@ -21075,7 +21156,7 @@ function RbacContainer() {
|
|
|
21075
21156
|
id === selectedModuleId && "bg-muted font-medium text-foreground",
|
|
21076
21157
|
id !== selectedModuleId && "text-muted-foreground"
|
|
21077
21158
|
),
|
|
21078
|
-
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21159
|
+
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _518 => _518[id]]), () => ( id))
|
|
21079
21160
|
}
|
|
21080
21161
|
) }, id)) }) }),
|
|
21081
21162
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -21083,7 +21164,7 @@ function RbacContainer() {
|
|
|
21083
21164
|
{
|
|
21084
21165
|
moduleId: selectedModuleId,
|
|
21085
21166
|
block: selectedBlock,
|
|
21086
|
-
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21167
|
+
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _519 => _519[selectedModuleId]]), () => ( selectedModuleId)),
|
|
21087
21168
|
roleIds,
|
|
21088
21169
|
roleNames,
|
|
21089
21170
|
onOpenPicker: openPicker
|
|
@@ -21094,12 +21175,12 @@ function RbacContainer() {
|
|
|
21094
21175
|
RbacPermissionPicker,
|
|
21095
21176
|
{
|
|
21096
21177
|
open: !!activePicker,
|
|
21097
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21178
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _520 => _520.anchor]), () => ( null)),
|
|
21098
21179
|
value: activeValue,
|
|
21099
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21180
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _521 => _521.isRoleColumn]), () => ( false)),
|
|
21100
21181
|
knownSegments: activeSegments,
|
|
21101
21182
|
onSetValue: handleSetValue,
|
|
21102
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21183
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _522 => _522.isRoleColumn]) ? handleClear : void 0,
|
|
21103
21184
|
onClose: closePicker
|
|
21104
21185
|
}
|
|
21105
21186
|
)
|
|
@@ -21166,7 +21247,7 @@ function RbacByRoleContainer() {
|
|
|
21166
21247
|
}, [roleNames]);
|
|
21167
21248
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
21168
21249
|
if (!matrix) return [];
|
|
21169
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21250
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _523 => _523[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _524 => _524[b]]), () => ( b))));
|
|
21170
21251
|
}, [matrix, moduleNames]);
|
|
21171
21252
|
_react.useEffect.call(void 0, () => {
|
|
21172
21253
|
if (!selectedRoleId && sortedRoleIds.length > 0) {
|
|
@@ -21215,7 +21296,7 @@ function RbacByRoleContainer() {
|
|
|
21215
21296
|
id === selectedRoleId && "bg-muted font-medium text-foreground",
|
|
21216
21297
|
id !== selectedRoleId && "text-muted-foreground"
|
|
21217
21298
|
),
|
|
21218
|
-
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21299
|
+
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _525 => _525[id]]), () => ( id))
|
|
21219
21300
|
}
|
|
21220
21301
|
) }, id)) }) }),
|
|
21221
21302
|
/* @__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: [
|
|
@@ -21235,7 +21316,7 @@ function RbacByRoleContainer() {
|
|
|
21235
21316
|
if (!block) return null;
|
|
21236
21317
|
const defaultTokens = _nullishCoalesce(block.default, () => ( []));
|
|
21237
21318
|
const roleTokens = block[selectedRoleId];
|
|
21238
|
-
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21319
|
+
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _526 => _526[moduleId]]), () => ( moduleId));
|
|
21239
21320
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
21240
21321
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21241
21322
|
"td",
|
|
@@ -21250,7 +21331,7 @@ function RbacByRoleContainer() {
|
|
|
21250
21331
|
_chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RbacPermissionCell, { value: cellValue2(defaultTokens, action) }) }, action))
|
|
21251
21332
|
] }),
|
|
21252
21333
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
21253
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21334
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _527 => _527[selectedRoleId]]), () => ( selectedRoleId)) }),
|
|
21254
21335
|
_chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21255
21336
|
CellButton3,
|
|
21256
21337
|
{
|
|
@@ -21271,12 +21352,12 @@ function RbacByRoleContainer() {
|
|
|
21271
21352
|
RbacPermissionPicker,
|
|
21272
21353
|
{
|
|
21273
21354
|
open: !!activePicker,
|
|
21274
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21355
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _528 => _528.anchor]), () => ( null)),
|
|
21275
21356
|
value: activeValue,
|
|
21276
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21357
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _529 => _529.isRoleColumn]), () => ( false)),
|
|
21277
21358
|
knownSegments: activeSegments,
|
|
21278
21359
|
onSetValue: handleSetValue,
|
|
21279
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21360
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _530 => _530.isRoleColumn]) ? handleClear : void 0,
|
|
21280
21361
|
onClose: closePicker
|
|
21281
21362
|
}
|
|
21282
21363
|
)
|
|
@@ -21792,5 +21873,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
|
|
|
21792
21873
|
|
|
21793
21874
|
|
|
21794
21875
|
|
|
21795
|
-
exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce2; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.useDebounce2 = useDebounce; exports.MultipleSelector = MultipleSelector; exports.EntityAvatar = EntityAvatar; exports.errorToast = errorToast; exports.EditableAvatar = EditableAvatar; exports.TableCellAvatar = TableCellAvatar; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorTrigger = CommonEditorTrigger; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormCheckbox = FormCheckbox; exports.FormBlockNote = FormBlockNote; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.GdprConsentCheckbox = GdprConsentCheckbox; exports.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.ContentListGrid = ContentListGrid; exports.ItalianFiscalData_default = ItalianFiscalData_default; exports.ItalianFiscalDataDisplay = ItalianFiscalDataDisplay; exports.parseFiscalData = parseFiscalData; exports.FiscalDataDisplay = FiscalDataDisplay; exports.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.BackupCodesDialog = BackupCodesDialog; exports.TotpInput = TotpInput; exports.DisableTwoFactorDialog = DisableTwoFactorDialog; exports.PasskeyList = PasskeyList; exports.PasskeySetupDialog = PasskeySetupDialog; exports.TotpAuthenticatorList = TotpAuthenticatorList; exports.TotpSetupDialog = TotpSetupDialog; exports.TwoFactorSettings = TwoFactorSettings; exports.SecurityContainer = SecurityContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.PasskeyButton = PasskeyButton; exports.TwoFactorChallenge = TwoFactorChallenge; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.HowToCommandViewer = HowToCommandViewer; exports.HowToCommand = HowToCommand; exports.HowToDeleter = HowToDeleter; exports.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantContainer = AssistantContainer; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.OnboardingCard = OnboardingCard; exports.ReferralCodeCapture = ReferralCodeCapture; exports.ReferralWidget = ReferralWidget; exports.ReferralDialog = ReferralDialog; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.WaitlistQuestionnaireRenderer = WaitlistQuestionnaireRenderer; exports.WaitlistForm = WaitlistForm; exports.WaitlistHeroSection = WaitlistHeroSection; exports.WaitlistSuccessState = WaitlistSuccessState; exports.WaitlistConfirmation = WaitlistConfirmation; exports.WaitlistList = WaitlistList; exports.RbacProvider = RbacProvider; exports.useRbacContext = useRbacContext; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacContainer = RbacContainer; exports.RbacByRoleContainer = RbacByRoleContainer; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.DEFAULT_ONBOARDING_LABELS = DEFAULT_ONBOARDING_LABELS; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
|
|
21796
|
-
//# sourceMappingURL=chunk-2S3UA52H.js.map
|
|
21876
|
+
|
|
21877
|
+
exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce2; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.useDebounce2 = useDebounce; exports.MultipleSelector = MultipleSelector; exports.EntityAvatar = EntityAvatar; exports.errorToast = errorToast; exports.EditableAvatar = EditableAvatar; exports.TableCellAvatar = TableCellAvatar; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.BlockNoteEditorMentionHoverCard = BlockNoteEditorMentionHoverCard; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorTrigger = CommonEditorTrigger; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormCheckbox = FormCheckbox; exports.FormBlockNote = FormBlockNote; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.GdprConsentCheckbox = GdprConsentCheckbox; exports.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.ContentListGrid = ContentListGrid; exports.ItalianFiscalData_default = ItalianFiscalData_default; exports.ItalianFiscalDataDisplay = ItalianFiscalDataDisplay; exports.parseFiscalData = parseFiscalData; exports.FiscalDataDisplay = FiscalDataDisplay; exports.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.BackupCodesDialog = BackupCodesDialog; exports.TotpInput = TotpInput; exports.DisableTwoFactorDialog = DisableTwoFactorDialog; exports.PasskeyList = PasskeyList; exports.PasskeySetupDialog = PasskeySetupDialog; exports.TotpAuthenticatorList = TotpAuthenticatorList; exports.TotpSetupDialog = TotpSetupDialog; exports.TwoFactorSettings = TwoFactorSettings; exports.SecurityContainer = SecurityContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.PasskeyButton = PasskeyButton; exports.TwoFactorChallenge = TwoFactorChallenge; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.HowToCommandViewer = HowToCommandViewer; exports.HowToCommand = HowToCommand; exports.HowToDeleter = HowToDeleter; exports.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantContainer = AssistantContainer; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.OnboardingCard = OnboardingCard; exports.ReferralCodeCapture = ReferralCodeCapture; exports.ReferralWidget = ReferralWidget; exports.ReferralDialog = ReferralDialog; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.WaitlistQuestionnaireRenderer = WaitlistQuestionnaireRenderer; exports.WaitlistForm = WaitlistForm; exports.WaitlistHeroSection = WaitlistHeroSection; exports.WaitlistSuccessState = WaitlistSuccessState; exports.WaitlistConfirmation = WaitlistConfirmation; exports.WaitlistList = WaitlistList; exports.RbacProvider = RbacProvider; exports.useRbacContext = useRbacContext; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacContainer = RbacContainer; exports.RbacByRoleContainer = RbacByRoleContainer; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.DEFAULT_ONBOARDING_LABELS = DEFAULT_ONBOARDING_LABELS; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
|
|
21878
|
+
//# sourceMappingURL=chunk-4GGEI63K.js.map
|