@carlonicora/nextjs-jsonapi 1.88.1 → 1.89.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlockNoteEditor-ZK2FZKIT.mjs → BlockNoteEditor-7XTFKIVT.mjs} +33 -5
- package/dist/BlockNoteEditor-7XTFKIVT.mjs.map +1 -0
- package/dist/{BlockNoteEditor-WBQCVHRG.js → BlockNoteEditor-C2HEQ2GF.js} +39 -11
- package/dist/BlockNoteEditor-C2HEQ2GF.js.map +1 -0
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-6PDFD446.js → chunk-IB5YCA74.js} +257 -182
- package/dist/chunk-IB5YCA74.js.map +1 -0
- package/dist/{chunk-JAVXCFGG.mjs → chunk-VFS7UECR.mjs} +1412 -1337
- package/dist/chunk-VFS7UECR.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +48 -29
- package/dist/components/index.d.ts +48 -29
- package/dist/components/index.js +6 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +5 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/editors/BlockNoteEditor.tsx +34 -5
- package/src/components/editors/BlockNoteEditorMentionHoverCard.tsx +99 -0
- package/src/components/editors/BlockNoteEditorMentionInlineContent.tsx +53 -31
- package/src/components/editors/index.ts +1 -0
- package/src/components/forms/FormBlockNote.tsx +2 -1
- 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/src/shadcnui/ui/sidebar.tsx +3 -3
- package/dist/BlockNoteEditor-WBQCVHRG.js.map +0 -1
- package/dist/BlockNoteEditor-ZK2FZKIT.mjs.map +0 -1
- package/dist/chunk-6PDFD446.js.map +0 -1
- package/dist/chunk-JAVXCFGG.mjs.map +0 -1
|
@@ -3525,7 +3525,7 @@ var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
|
3525
3525
|
var SIDEBAR_WIDTH = "16rem";
|
|
3526
3526
|
var SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
3527
3527
|
var SIDEBAR_WIDTH_ICON = "3rem";
|
|
3528
|
-
var SIDEBAR_KEYBOARD_SHORTCUT = "
|
|
3528
|
+
var SIDEBAR_KEYBOARD_SHORTCUT = "";
|
|
3529
3529
|
var SidebarContext = React6.createContext(null);
|
|
3530
3530
|
function useSidebar() {
|
|
3531
3531
|
const context = React6.useContext(SidebarContext);
|
|
@@ -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-C2HEQ2GF.js"))), {
|
|
9211
9215
|
ssr: false
|
|
9212
9216
|
});
|
|
9213
9217
|
var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -13540,49 +13544,127 @@ function AllowedUsersDetails({ showTitle, content }) {
|
|
|
13540
13544
|
}
|
|
13541
13545
|
_chunk7QVYU63Ejs.__name.call(void 0, AllowedUsersDetails, "AllowedUsersDetails");
|
|
13542
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.HoverContent])) return null;
|
|
13599
|
+
const ContentComponent = resolved.HoverContent;
|
|
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
|
+
|
|
13543
13622
|
// src/components/editors/BlockNoteEditorMentionInlineContent.tsx
|
|
13544
13623
|
var _react4 = require('@blocknote/react');
|
|
13545
13624
|
|
|
13546
|
-
|
|
13547
|
-
|
|
13548
|
-
|
|
13549
|
-
|
|
13550
|
-
|
|
13551
|
-
|
|
13552
|
-
|
|
13625
|
+
|
|
13626
|
+
|
|
13627
|
+
var mentionDataAttrs = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (p) => ({
|
|
13628
|
+
"data-mention-id": p.id,
|
|
13629
|
+
"data-mention-type": p.entityType,
|
|
13630
|
+
"data-mention-alias": p.alias
|
|
13631
|
+
}), "mentionDataAttrs");
|
|
13632
|
+
var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (resolveFn) => {
|
|
13633
|
+
const Mention = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function Mention2(props) {
|
|
13634
|
+
const resolved = _optionalChain([resolveFn, 'optionalCall', _377 => _377(props.id, props.entityType, props.alias)]);
|
|
13635
|
+
if (_optionalChain([resolved, 'optionalAccess', _378 => _378.Inline])) {
|
|
13636
|
+
const Custom = resolved.Inline;
|
|
13637
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Custom, { ...props });
|
|
13638
|
+
}
|
|
13639
|
+
const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _379 => _379.url]), () => ( "#"));
|
|
13640
|
+
const handleClick = _optionalChain([resolved, 'optionalAccess', _380 => _380.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
|
|
13641
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href, className: "text-primary", onClick: handleClick, ...mentionDataAttrs(props), children: [
|
|
13642
|
+
"@",
|
|
13643
|
+
props.alias
|
|
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"
|
|
13553
13655
|
},
|
|
13554
|
-
|
|
13555
|
-
|
|
13556
|
-
|
|
13557
|
-
|
|
13558
|
-
|
|
13559
|
-
|
|
13560
|
-
|
|
13561
|
-
if (resolveFn) {
|
|
13562
|
-
const resolved = resolveFn(id, entityType, alias);
|
|
13563
|
-
if (resolved) {
|
|
13564
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13565
|
-
Link,
|
|
13566
|
-
{
|
|
13567
|
-
href: resolved.url,
|
|
13568
|
-
className: "text-primary",
|
|
13569
|
-
style: { textDecoration: "none" },
|
|
13570
|
-
onClick: (e) => e.stopPropagation(),
|
|
13571
|
-
children: [
|
|
13572
|
-
"@",
|
|
13573
|
-
resolved.name || alias
|
|
13574
|
-
]
|
|
13575
|
-
}
|
|
13576
|
-
);
|
|
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
|
|
13577
13663
|
}
|
|
13578
|
-
|
|
13579
|
-
|
|
13580
|
-
|
|
13581
|
-
|
|
13582
|
-
] });
|
|
13583
|
-
}, "render")
|
|
13584
|
-
}
|
|
13585
|
-
), "createMentionInlineContentSpec");
|
|
13664
|
+
), "render")
|
|
13665
|
+
}
|
|
13666
|
+
);
|
|
13667
|
+
}, "createMentionInlineContentSpec");
|
|
13586
13668
|
|
|
13587
13669
|
// src/components/editors/BlockNoteEditorSuggestionMenuController.tsx
|
|
13588
13670
|
|
|
@@ -13789,10 +13871,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
13789
13871
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13790
13872
|
Checkbox,
|
|
13791
13873
|
{
|
|
13792
|
-
checked: _optionalChain([params, 'access',
|
|
13874
|
+
checked: _optionalChain([params, 'access', _381 => _381.checkedIds, 'optionalAccess', _382 => _382.includes, 'call', _383 => _383(row.getValue(params.name))]) || false,
|
|
13793
13875
|
onCheckedChange: (value) => {
|
|
13794
13876
|
row.toggleSelected(!!value);
|
|
13795
|
-
_optionalChain([params, 'access',
|
|
13877
|
+
_optionalChain([params, 'access', _384 => _384.toggleId, 'optionalCall', _385 => _385(row.getValue(params.name))]);
|
|
13796
13878
|
},
|
|
13797
13879
|
"aria-label": "Select row"
|
|
13798
13880
|
}
|
|
@@ -13851,7 +13933,7 @@ function useJsonApiGet(params) {
|
|
|
13851
13933
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
13852
13934
|
const isMounted = _react.useRef.call(void 0, true);
|
|
13853
13935
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
13854
|
-
if (_optionalChain([params, 'access',
|
|
13936
|
+
if (_optionalChain([params, 'access', _386 => _386.options, 'optionalAccess', _387 => _387.enabled]) === false) return;
|
|
13855
13937
|
setLoading(true);
|
|
13856
13938
|
setError(null);
|
|
13857
13939
|
try {
|
|
@@ -13878,9 +13960,9 @@ function useJsonApiGet(params) {
|
|
|
13878
13960
|
setLoading(false);
|
|
13879
13961
|
}
|
|
13880
13962
|
}
|
|
13881
|
-
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access',
|
|
13963
|
+
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _388 => _388.options, 'optionalAccess', _389 => _389.enabled])]);
|
|
13882
13964
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
13883
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
13965
|
+
if (!_optionalChain([response, 'optionalAccess', _390 => _390.nextPage])) return;
|
|
13884
13966
|
setLoading(true);
|
|
13885
13967
|
try {
|
|
13886
13968
|
const nextResponse = await response.nextPage();
|
|
@@ -13901,7 +13983,7 @@ function useJsonApiGet(params) {
|
|
|
13901
13983
|
}
|
|
13902
13984
|
}, [response]);
|
|
13903
13985
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
13904
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
13986
|
+
if (!_optionalChain([response, 'optionalAccess', _391 => _391.prevPage])) return;
|
|
13905
13987
|
setLoading(true);
|
|
13906
13988
|
try {
|
|
13907
13989
|
const prevResponse = await response.prevPage();
|
|
@@ -13927,15 +14009,15 @@ function useJsonApiGet(params) {
|
|
|
13927
14009
|
return () => {
|
|
13928
14010
|
isMounted.current = false;
|
|
13929
14011
|
};
|
|
13930
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
14012
|
+
}, [fetchData, ..._optionalChain([params, 'access', _392 => _392.options, 'optionalAccess', _393 => _393.deps]) || []]);
|
|
13931
14013
|
return {
|
|
13932
14014
|
data,
|
|
13933
14015
|
loading,
|
|
13934
14016
|
error,
|
|
13935
14017
|
response,
|
|
13936
14018
|
refetch: fetchData,
|
|
13937
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
13938
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
14019
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _394 => _394.next]),
|
|
14020
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _395 => _395.prev]),
|
|
13939
14021
|
fetchNextPage,
|
|
13940
14022
|
fetchPreviousPage
|
|
13941
14023
|
};
|
|
@@ -14013,17 +14095,17 @@ function useJsonApiMutation(config) {
|
|
|
14013
14095
|
if (apiResponse.ok) {
|
|
14014
14096
|
const resultData = apiResponse.data;
|
|
14015
14097
|
setData(resultData);
|
|
14016
|
-
_optionalChain([config, 'access',
|
|
14098
|
+
_optionalChain([config, 'access', _396 => _396.onSuccess, 'optionalCall', _397 => _397(resultData)]);
|
|
14017
14099
|
return resultData;
|
|
14018
14100
|
} else {
|
|
14019
14101
|
setError(apiResponse.error);
|
|
14020
|
-
_optionalChain([config, 'access',
|
|
14102
|
+
_optionalChain([config, 'access', _398 => _398.onError, 'optionalCall', _399 => _399(apiResponse.error)]);
|
|
14021
14103
|
return null;
|
|
14022
14104
|
}
|
|
14023
14105
|
} catch (err) {
|
|
14024
14106
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
14025
14107
|
setError(errorMessage);
|
|
14026
|
-
_optionalChain([config, 'access',
|
|
14108
|
+
_optionalChain([config, 'access', _400 => _400.onError, 'optionalCall', _401 => _401(errorMessage)]);
|
|
14027
14109
|
return null;
|
|
14028
14110
|
} finally {
|
|
14029
14111
|
setLoading(false);
|
|
@@ -14096,7 +14178,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14096
14178
|
{
|
|
14097
14179
|
href: hasRole(_chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
14098
14180
|
page: "/administration",
|
|
14099
|
-
id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access',
|
|
14181
|
+
id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access', _402 => _402.Company, 'access', _403 => _403.pageUrl, 'optionalAccess', _404 => _404.substring, 'call', _405 => _405(1)]),
|
|
14100
14182
|
childPage: company.id
|
|
14101
14183
|
}) : generateUrl({ page: _chunkXAWKRNYMjs.Modules.Company, id: company.id }),
|
|
14102
14184
|
children: row.getValue("name")
|
|
@@ -14112,7 +14194,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14112
14194
|
})
|
|
14113
14195
|
};
|
|
14114
14196
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14115
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14197
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _406 => _406[field], 'optionalCall', _407 => _407()])).filter((col) => col !== void 0);
|
|
14116
14198
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
14117
14199
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14118
14200
|
}, "useCompanyTableStructure");
|
|
@@ -14124,7 +14206,7 @@ var GRACE_DAYS = 3;
|
|
|
14124
14206
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
14125
14207
|
if (!currentUser || !_chunkSE5HIHJSjs.isRolesConfigured.call(void 0, )) return false;
|
|
14126
14208
|
const adminRoleId = _chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator;
|
|
14127
|
-
return !!_optionalChain([currentUser, 'access',
|
|
14209
|
+
return !!_optionalChain([currentUser, 'access', _408 => _408.roles, 'optionalAccess', _409 => _409.some, 'call', _410 => _410((role) => role.id === adminRoleId)]);
|
|
14128
14210
|
}, "isAdministrator");
|
|
14129
14211
|
function useSubscriptionStatus() {
|
|
14130
14212
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -14241,7 +14323,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
14241
14323
|
})
|
|
14242
14324
|
};
|
|
14243
14325
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14244
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14326
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _411 => _411[field], 'optionalCall', _412 => _412()])).filter((col) => col !== void 0);
|
|
14245
14327
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
14246
14328
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14247
14329
|
}, "useRoleTableStructure");
|
|
@@ -14342,11 +14424,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14342
14424
|
return params.fields.map((field) => {
|
|
14343
14425
|
const localHandler = fieldColumnMap[field];
|
|
14344
14426
|
if (localHandler) return localHandler();
|
|
14345
|
-
const customHandler = _optionalChain([params, 'access',
|
|
14427
|
+
const customHandler = _optionalChain([params, 'access', _413 => _413.context, 'optionalAccess', _414 => _414.customCells, 'optionalAccess', _415 => _415[field]]);
|
|
14346
14428
|
if (customHandler) return customHandler({ t });
|
|
14347
14429
|
return void 0;
|
|
14348
14430
|
}).filter((col) => col !== void 0);
|
|
14349
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
14431
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _416 => _416.context, 'optionalAccess', _417 => _417.customCells])]);
|
|
14350
14432
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14351
14433
|
}, "useContentTableStructure");
|
|
14352
14434
|
|
|
@@ -14681,7 +14763,7 @@ function ContentTableSearch({ data }) {
|
|
|
14681
14763
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
14682
14764
|
if (!isExpanded) {
|
|
14683
14765
|
setIsFocused(true);
|
|
14684
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
14766
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _418 => _418.current, 'optionalAccess', _419 => _419.focus, 'call', _420 => _420()]), 50);
|
|
14685
14767
|
}
|
|
14686
14768
|
}, "handleSearchIconClick");
|
|
14687
14769
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -14747,7 +14829,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14747
14829
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
14748
14830
|
);
|
|
14749
14831
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
14750
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
14832
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _421 => _421.data]), () => ( EMPTY_ARRAY)),
|
|
14751
14833
|
fields,
|
|
14752
14834
|
checkedIds,
|
|
14753
14835
|
toggleId,
|
|
@@ -14816,12 +14898,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14816
14898
|
) }),
|
|
14817
14899
|
table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
14818
14900
|
const meta = header.column.columnDef.meta;
|
|
14819
|
-
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', _422 => _422.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
|
|
14820
14902
|
}) }, headerGroup.id))
|
|
14821
14903
|
] }),
|
|
14822
|
-
/* @__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', _423 => _423.rows, 'optionalAccess', _424 => _424.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
|
|
14823
14905
|
const meta = cell.column.columnDef.meta;
|
|
14824
|
-
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', _425 => _425.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
14825
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." }) }) }),
|
|
14826
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: [
|
|
14827
14909
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14831,7 +14913,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14831
14913
|
size: "sm",
|
|
14832
14914
|
onClick: (e) => {
|
|
14833
14915
|
e.preventDefault();
|
|
14834
|
-
_optionalChain([data, 'access',
|
|
14916
|
+
_optionalChain([data, 'access', _426 => _426.previous, 'optionalCall', _427 => _427(true)]);
|
|
14835
14917
|
},
|
|
14836
14918
|
disabled: !data.previous,
|
|
14837
14919
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -14845,7 +14927,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14845
14927
|
size: "sm",
|
|
14846
14928
|
onClick: (e) => {
|
|
14847
14929
|
e.preventDefault();
|
|
14848
|
-
_optionalChain([data, 'access',
|
|
14930
|
+
_optionalChain([data, 'access', _428 => _428.next, 'optionalCall', _429 => _429(true)]);
|
|
14849
14931
|
},
|
|
14850
14932
|
disabled: !data.next,
|
|
14851
14933
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -14866,7 +14948,7 @@ function ContentListGrid(props) {
|
|
|
14866
14948
|
if (!data.next || !sentinelRef.current) return;
|
|
14867
14949
|
const observer = new IntersectionObserver(
|
|
14868
14950
|
(entries) => {
|
|
14869
|
-
if (_optionalChain([entries, 'access',
|
|
14951
|
+
if (_optionalChain([entries, 'access', _430 => _430[0], 'optionalAccess', _431 => _431.isIntersecting])) _optionalChain([data, 'access', _432 => _432.next, 'optionalCall', _433 => _433()]);
|
|
14870
14952
|
},
|
|
14871
14953
|
{ threshold: 0.1, rootMargin: "200px" }
|
|
14872
14954
|
);
|
|
@@ -15616,7 +15698,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15616
15698
|
newDigits[index] = digit;
|
|
15617
15699
|
setDigits(newDigits);
|
|
15618
15700
|
if (digit && index < 5) {
|
|
15619
|
-
_optionalChain([inputRefs, 'access',
|
|
15701
|
+
_optionalChain([inputRefs, 'access', _434 => _434.current, 'access', _435 => _435[index + 1], 'optionalAccess', _436 => _436.focus, 'call', _437 => _437()]);
|
|
15620
15702
|
}
|
|
15621
15703
|
const code = newDigits.join("");
|
|
15622
15704
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -15625,7 +15707,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15625
15707
|
}, "handleChange");
|
|
15626
15708
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
15627
15709
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
15628
|
-
_optionalChain([inputRefs, 'access',
|
|
15710
|
+
_optionalChain([inputRefs, 'access', _438 => _438.current, 'access', _439 => _439[index - 1], 'optionalAccess', _440 => _440.focus, 'call', _441 => _441()]);
|
|
15629
15711
|
}
|
|
15630
15712
|
}, "handleKeyDown");
|
|
15631
15713
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -15634,7 +15716,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15634
15716
|
if (pastedData.length === 6) {
|
|
15635
15717
|
const newDigits = pastedData.split("");
|
|
15636
15718
|
setDigits(newDigits);
|
|
15637
|
-
_optionalChain([inputRefs, 'access',
|
|
15719
|
+
_optionalChain([inputRefs, 'access', _442 => _442.current, 'access', _443 => _443[5], 'optionalAccess', _444 => _444.focus, 'call', _445 => _445()]);
|
|
15638
15720
|
onComplete(pastedData);
|
|
15639
15721
|
}
|
|
15640
15722
|
}, "handlePaste");
|
|
@@ -15845,8 +15927,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
15845
15927
|
try {
|
|
15846
15928
|
const registrationData = await _chunkXAWKRNYMjs.TwoFactorService.getPasskeyRegistrationOptions({
|
|
15847
15929
|
id: _uuid.v4.call(void 0, ),
|
|
15848
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
15849
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
15930
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _446 => _446.email]), () => ( "")),
|
|
15931
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _447 => _447.name])
|
|
15850
15932
|
});
|
|
15851
15933
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
15852
15934
|
await _chunkXAWKRNYMjs.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -15997,7 +16079,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
15997
16079
|
const setup = await _chunkXAWKRNYMjs.TwoFactorService.setupTotp({
|
|
15998
16080
|
id: _uuid.v4.call(void 0, ),
|
|
15999
16081
|
name: name.trim(),
|
|
16000
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
16082
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _448 => _448.email]), () => ( ""))
|
|
16001
16083
|
});
|
|
16002
16084
|
setQrCodeUri(setup.qrCodeUri);
|
|
16003
16085
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -16131,7 +16213,7 @@ function TwoFactorSettings() {
|
|
|
16131
16213
|
if (isLoading) {
|
|
16132
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") }) }) });
|
|
16133
16215
|
}
|
|
16134
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
16216
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _449 => _449.isEnabled]), () => ( false));
|
|
16135
16217
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
16136
16218
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
16137
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" }),
|
|
@@ -16169,7 +16251,7 @@ function TwoFactorSettings() {
|
|
|
16169
16251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
16170
16252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
16171
16253
|
] }),
|
|
16172
|
-
/* @__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', _450 => _450.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
16173
16255
|
] }) }),
|
|
16174
16256
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16175
16257
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -16347,9 +16429,9 @@ function AcceptInvitation() {
|
|
|
16347
16429
|
});
|
|
16348
16430
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16349
16431
|
try {
|
|
16350
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
16432
|
+
if (!_optionalChain([params, 'optionalAccess', _451 => _451.code])) return;
|
|
16351
16433
|
const payload = {
|
|
16352
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
16434
|
+
code: _optionalChain([params, 'optionalAccess', _452 => _452.code]),
|
|
16353
16435
|
password: values.password
|
|
16354
16436
|
};
|
|
16355
16437
|
await _chunkXAWKRNYMjs.AuthService.acceptInvitation(payload);
|
|
@@ -16699,7 +16781,7 @@ function Logout({ storageKeys }) {
|
|
|
16699
16781
|
const generateUrl = usePageUrlGenerator();
|
|
16700
16782
|
_react.useEffect.call(void 0, () => {
|
|
16701
16783
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
16702
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
16784
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _453 => _453.length])) {
|
|
16703
16785
|
clearClientStorage(storageKeys);
|
|
16704
16786
|
}
|
|
16705
16787
|
await _chunkXAWKRNYMjs.AuthService.logout();
|
|
@@ -16722,14 +16804,14 @@ function RefreshUser() {
|
|
|
16722
16804
|
setUser(fullUser);
|
|
16723
16805
|
const token = {
|
|
16724
16806
|
userId: fullUser.id,
|
|
16725
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
16807
|
+
companyId: _optionalChain([fullUser, 'access', _454 => _454.company, 'optionalAccess', _455 => _455.id]),
|
|
16726
16808
|
roles: fullUser.roles.map((role) => role.id),
|
|
16727
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
16809
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _456 => _456.company, 'optionalAccess', _457 => _457.features, 'optionalAccess', _458 => _458.map, 'call', _459 => _459((feature) => feature.id)]), () => ( [])),
|
|
16728
16810
|
modules: fullUser.modules.map((module) => {
|
|
16729
16811
|
return { id: module.id, permissions: module.permissions };
|
|
16730
16812
|
})
|
|
16731
16813
|
};
|
|
16732
|
-
await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
16814
|
+
await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess', _460 => _460.updateToken, 'call', _461 => _461(token)]);
|
|
16733
16815
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
16734
16816
|
}
|
|
16735
16817
|
}, "loadFullUser");
|
|
@@ -16793,9 +16875,9 @@ function ResetPassword() {
|
|
|
16793
16875
|
});
|
|
16794
16876
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16795
16877
|
try {
|
|
16796
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
16878
|
+
if (!_optionalChain([params, 'optionalAccess', _462 => _462.code])) return;
|
|
16797
16879
|
const payload = {
|
|
16798
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
16880
|
+
code: _optionalChain([params, 'optionalAccess', _463 => _463.code]),
|
|
16799
16881
|
password: values.password
|
|
16800
16882
|
};
|
|
16801
16883
|
await _chunkXAWKRNYMjs.AuthService.resetPassword(payload);
|
|
@@ -17144,7 +17226,7 @@ function extractHeadings(blocks) {
|
|
|
17144
17226
|
function processBlocks(blockArray) {
|
|
17145
17227
|
for (const block of blockArray) {
|
|
17146
17228
|
if (block.type === "heading") {
|
|
17147
|
-
const level = _optionalChain([block, 'access',
|
|
17229
|
+
const level = _optionalChain([block, 'access', _464 => _464.props, 'optionalAccess', _465 => _465.level]) || 1;
|
|
17148
17230
|
const text = extractTextFromContent(block.content);
|
|
17149
17231
|
if (text.trim()) {
|
|
17150
17232
|
headings.push({
|
|
@@ -17396,7 +17478,7 @@ function HowToDetailsInternal({ howTo }) {
|
|
|
17396
17478
|
AttributeElement,
|
|
17397
17479
|
{
|
|
17398
17480
|
title: t(`howto.fields.pages.label`),
|
|
17399
|
-
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)) })
|
|
17400
17482
|
}
|
|
17401
17483
|
) })
|
|
17402
17484
|
] });
|
|
@@ -17487,7 +17569,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
|
|
|
17487
17569
|
})
|
|
17488
17570
|
};
|
|
17489
17571
|
const columns = _react.useMemo.call(void 0, () => {
|
|
17490
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
17572
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _466 => _466[field], 'optionalCall', _467 => _467()])).filter((col) => col !== void 0);
|
|
17491
17573
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
17492
17574
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
17493
17575
|
}, "useHowToTableStructure");
|
|
@@ -17553,7 +17635,7 @@ function HowToMultiSelector({
|
|
|
17553
17635
|
retriever: (params) => _chunkXAWKRNYMjs.HowToService.findMany(params),
|
|
17554
17636
|
module: _chunkXAWKRNYMjs.Modules.HowTo,
|
|
17555
17637
|
getLabel: (howTo) => howTo.name,
|
|
17556
|
-
excludeId: _optionalChain([currentHowTo, 'optionalAccess',
|
|
17638
|
+
excludeId: _optionalChain([currentHowTo, 'optionalAccess', _468 => _468.id]),
|
|
17557
17639
|
onChange
|
|
17558
17640
|
}
|
|
17559
17641
|
);
|
|
@@ -17618,7 +17700,7 @@ function HowToSelector({
|
|
|
17618
17700
|
}, "setHowTo");
|
|
17619
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: [
|
|
17620
17702
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
|
|
17621
|
-
/* @__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', _469 => _469.value, 'optionalAccess', _470 => _470.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 }) }))) }) }) }),
|
|
17622
17704
|
field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17623
17705
|
_lucidereact.CircleX,
|
|
17624
17706
|
{
|
|
@@ -17907,7 +17989,7 @@ function ReferencesTab({ references }) {
|
|
|
17907
17989
|
}
|
|
17908
17990
|
const href = generate({ page: module, id: ref.id });
|
|
17909
17991
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
17910
|
-
/* @__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 }) }),
|
|
17911
17993
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: "text-muted-foreground text-xs", children: module.name })
|
|
17912
17994
|
] }, `${ref.type}/${ref.id}`);
|
|
17913
17995
|
}) })
|
|
@@ -17973,9 +18055,9 @@ function CitationsTab({ citations, sources }) {
|
|
|
17973
18055
|
] }) }),
|
|
17974
18056
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
|
|
17975
18057
|
const isOpen = expanded.has(chunk.id);
|
|
17976
|
-
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess',
|
|
18058
|
+
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _471 => _471.get, 'call', _472 => _472(chunk.nodeId)]) : void 0;
|
|
17977
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")));
|
|
17978
|
-
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
18060
|
+
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _473 => _473.name]), () => ( fallbackName));
|
|
17979
18061
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
17980
18062
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
17981
18063
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -18022,7 +18104,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
18022
18104
|
for (const c of citations) {
|
|
18023
18105
|
const id = c.nodeId;
|
|
18024
18106
|
if (!id) continue;
|
|
18025
|
-
const source = _optionalChain([sources, 'optionalAccess',
|
|
18107
|
+
const source = _optionalChain([sources, 'optionalAccess', _474 => _474.get, 'call', _475 => _475(id)]);
|
|
18026
18108
|
if (!source) continue;
|
|
18027
18109
|
const existing = map.get(id);
|
|
18028
18110
|
if (existing) {
|
|
@@ -18051,7 +18133,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
18051
18133
|
const href = generate({ page: module, id: source.id });
|
|
18052
18134
|
const name = _nullishCoalesce(source.name, () => ( source.identifier));
|
|
18053
18135
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
18054
|
-
/* @__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: [
|
|
18055
18137
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium", children: name }),
|
|
18056
18138
|
" ",
|
|
18057
18139
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground text-xs", children: t("features.assistant.message.sources.citations_count", {
|
|
@@ -18087,7 +18169,7 @@ function UsersTab({ users, citations, sources }) {
|
|
|
18087
18169
|
const generate = usePageUrlGenerator();
|
|
18088
18170
|
const userMap = /* @__PURE__ */ new Map();
|
|
18089
18171
|
for (const u of users) {
|
|
18090
|
-
if (!_optionalChain([u, 'optionalAccess',
|
|
18172
|
+
if (!_optionalChain([u, 'optionalAccess', _476 => _476.id])) continue;
|
|
18091
18173
|
userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
|
|
18092
18174
|
}
|
|
18093
18175
|
if (citations && sources) {
|
|
@@ -18127,33 +18209,24 @@ function UsersTab({ users, citations, sources }) {
|
|
|
18127
18209
|
const name = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(user.name, () => ( user.fullName)), () => ( user.identifier)), () => ( "User"));
|
|
18128
18210
|
const avatarUrl = user.avatar;
|
|
18129
18211
|
const showCounts = citationCount > 0 || contentCount > 0;
|
|
18130
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18131
|
-
|
|
18132
|
-
|
|
18133
|
-
|
|
18134
|
-
|
|
18135
|
-
|
|
18136
|
-
className: "
|
|
18137
|
-
children: [
|
|
18138
|
-
|
|
18139
|
-
|
|
18140
|
-
|
|
18141
|
-
|
|
18142
|
-
|
|
18143
|
-
|
|
18144
|
-
|
|
18145
|
-
|
|
18146
|
-
|
|
18147
|
-
|
|
18148
|
-
" \xB7 ",
|
|
18149
|
-
t("features.assistant.message.sources.citations_count", {
|
|
18150
|
-
count: citationCount
|
|
18151
|
-
})
|
|
18152
|
-
] })
|
|
18153
|
-
] })
|
|
18154
|
-
]
|
|
18155
|
-
}
|
|
18156
|
-
) }) }, 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);
|
|
18157
18230
|
}) }) });
|
|
18158
18231
|
}
|
|
18159
18232
|
_chunk7QVYU63Ejs.__name.call(void 0, UsersTab, "UsersTab");
|
|
@@ -18200,7 +18273,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
|
|
|
18200
18273
|
}
|
|
18201
18274
|
return ids.size;
|
|
18202
18275
|
}, [message.citations, sources]);
|
|
18203
|
-
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess',
|
|
18276
|
+
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _477 => _477.length]), () => ( 0));
|
|
18204
18277
|
const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
|
|
18205
18278
|
const visibleTabs = [];
|
|
18206
18279
|
if (suggestionsCount > 0) visibleTabs.push("suggested");
|
|
@@ -18259,8 +18332,8 @@ var SourcesFetcher = class extends _chunkXAWKRNYMjs.ClientAbstractService {
|
|
|
18259
18332
|
static async findManyByIds(params) {
|
|
18260
18333
|
const endpoint = new (0, _chunkXAWKRNYMjs.EndpointCreator)({ endpoint: params.module });
|
|
18261
18334
|
endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
|
|
18262
|
-
if (_optionalChain([params, 'access',
|
|
18263
|
-
if (_optionalChain([params, 'access',
|
|
18335
|
+
if (_optionalChain([params, 'access', _478 => _478.module, 'access', _479 => _479.inclusions, 'optionalAccess', _480 => _480.lists, 'optionalAccess', _481 => _481.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
|
|
18336
|
+
if (_optionalChain([params, 'access', _482 => _482.module, 'access', _483 => _483.inclusions, 'optionalAccess', _484 => _484.lists, 'optionalAccess', _485 => _485.types])) endpoint.limitToType(params.module.inclusions.lists.types);
|
|
18264
18337
|
return this.callApi({
|
|
18265
18338
|
type: params.module,
|
|
18266
18339
|
method: "GET" /* GET */,
|
|
@@ -18339,7 +18412,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
|
|
|
18339
18412
|
return void 0;
|
|
18340
18413
|
}
|
|
18341
18414
|
})()));
|
|
18342
|
-
if (_optionalChain([author, 'optionalAccess',
|
|
18415
|
+
if (_optionalChain([author, 'optionalAccess', _486 => _486.id])) userMap.set(author.id, author);
|
|
18343
18416
|
}
|
|
18344
18417
|
return Array.from(userMap.values());
|
|
18345
18418
|
}, [resolved]);
|
|
@@ -18361,14 +18434,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, MessageSourcesContainer, "MessageSourcesCon
|
|
|
18361
18434
|
function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18362
18435
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
18363
18436
|
const isUser = message.role === "user";
|
|
18364
|
-
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess',
|
|
18437
|
+
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _487 => _487.has, 'call', _488 => _488(message.id)]);
|
|
18365
18438
|
if (isUser) {
|
|
18366
18439
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
|
|
18367
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 }),
|
|
18368
18441
|
isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
|
|
18369
18442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
|
|
18370
18443
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
|
|
18371
|
-
/* @__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', _489 => _489(message.id)]), children: t("features.assistant.retry") })
|
|
18372
18445
|
] })
|
|
18373
18446
|
] });
|
|
18374
18447
|
}
|
|
@@ -18434,7 +18507,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AssistantStatusLine, "AssistantStatusLine")
|
|
|
18434
18507
|
function AssistantThread({ messages, sending, status, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18435
18508
|
const endRef = _react.useRef.call(void 0, null);
|
|
18436
18509
|
_react.useEffect.call(void 0, () => {
|
|
18437
|
-
_optionalChain([endRef, 'access',
|
|
18510
|
+
_optionalChain([endRef, 'access', _490 => _490.current, 'optionalAccess', _491 => _491.scrollIntoView, 'call', _492 => _492({ behavior: "smooth" })]);
|
|
18438
18511
|
}, [messages.length, sending]);
|
|
18439
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: [
|
|
18440
18513
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18462,7 +18535,7 @@ function AssistantContainer() {
|
|
|
18462
18535
|
AssistantSidebar,
|
|
18463
18536
|
{
|
|
18464
18537
|
threads: ctx.threads,
|
|
18465
|
-
activeId: _optionalChain([ctx, 'access',
|
|
18538
|
+
activeId: _optionalChain([ctx, 'access', _493 => _493.assistant, 'optionalAccess', _494 => _494.id]),
|
|
18466
18539
|
onSelect: ctx.selectThread,
|
|
18467
18540
|
onNew: ctx.startNew
|
|
18468
18541
|
}
|
|
@@ -18555,14 +18628,14 @@ function NotificationsList({ archived }) {
|
|
|
18555
18628
|
] }),
|
|
18556
18629
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
18557
18630
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
18558
|
-
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', _495 => _495.data, 'optionalAccess', _496 => _496.map, 'call', _497 => _497((notification) => {
|
|
18559
18632
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
18560
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: [
|
|
18561
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" }),
|
|
18562
18635
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
18563
18636
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
18564
18637
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
18565
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
18638
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _498 => _498.actor, 'optionalAccess', _499 => _499.name]), () => ( "")),
|
|
18566
18639
|
title: notificationData.title
|
|
18567
18640
|
}) }),
|
|
18568
18641
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -18912,7 +18985,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
18912
18985
|
invalidEmail: "Please enter a valid email address"
|
|
18913
18986
|
};
|
|
18914
18987
|
async function copyToClipboard(text) {
|
|
18915
|
-
if (_optionalChain([navigator, 'access',
|
|
18988
|
+
if (_optionalChain([navigator, 'access', _500 => _500.clipboard, 'optionalAccess', _501 => _501.writeText])) {
|
|
18916
18989
|
try {
|
|
18917
18990
|
await navigator.clipboard.writeText(text);
|
|
18918
18991
|
return true;
|
|
@@ -18954,7 +19027,7 @@ function ReferralWidget({
|
|
|
18954
19027
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
18955
19028
|
const config = _chunkSE5HIHJSjs.getReferralConfig.call(void 0, );
|
|
18956
19029
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
18957
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
19030
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _502 => _502.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
18958
19031
|
if (!_chunkSE5HIHJSjs.isReferralEnabled.call(void 0, )) {
|
|
18959
19032
|
return null;
|
|
18960
19033
|
}
|
|
@@ -18964,7 +19037,7 @@ function ReferralWidget({
|
|
|
18964
19037
|
if (success) {
|
|
18965
19038
|
setCopied(true);
|
|
18966
19039
|
_chunkXAWKRNYMjs.showToast.call(void 0, t.copiedMessage);
|
|
18967
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
19040
|
+
_optionalChain([onLinkCopied, 'optionalCall', _503 => _503()]);
|
|
18968
19041
|
setTimeout(() => setCopied(false), 2e3);
|
|
18969
19042
|
} else {
|
|
18970
19043
|
_chunkXAWKRNYMjs.showError.call(void 0, t.copyError);
|
|
@@ -18978,12 +19051,12 @@ function ReferralWidget({
|
|
|
18978
19051
|
try {
|
|
18979
19052
|
await sendInvite(email);
|
|
18980
19053
|
_chunkXAWKRNYMjs.showToast.call(void 0, t.inviteSent);
|
|
18981
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
19054
|
+
_optionalChain([onInviteSent, 'optionalCall', _504 => _504(email)]);
|
|
18982
19055
|
setEmail("");
|
|
18983
19056
|
} catch (err) {
|
|
18984
19057
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
18985
19058
|
_chunkXAWKRNYMjs.showError.call(void 0, error2.message);
|
|
18986
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
19059
|
+
_optionalChain([onInviteError, 'optionalCall', _505 => _505(error2)]);
|
|
18987
19060
|
}
|
|
18988
19061
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
18989
19062
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -19737,7 +19810,7 @@ function OAuthClientList({
|
|
|
19737
19810
|
OAuthClientCard,
|
|
19738
19811
|
{
|
|
19739
19812
|
client,
|
|
19740
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
19813
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _506 => _506(client)]),
|
|
19741
19814
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
19742
19815
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
19743
19816
|
},
|
|
@@ -19753,11 +19826,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
19753
19826
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
19754
19827
|
const isEditMode = !!client;
|
|
19755
19828
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
19756
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
19757
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
19758
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
19759
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
19760
|
-
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess',
|
|
19829
|
+
name: _optionalChain([client, 'optionalAccess', _507 => _507.name]) || "",
|
|
19830
|
+
description: _optionalChain([client, 'optionalAccess', _508 => _508.description]) || "",
|
|
19831
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _509 => _509.redirectUris, 'optionalAccess', _510 => _510.length]) ? client.redirectUris : [""],
|
|
19832
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _511 => _511.allowedScopes]) || [],
|
|
19833
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _512 => _512.isConfidential]), () => ( true))
|
|
19761
19834
|
});
|
|
19762
19835
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
19763
19836
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -19985,7 +20058,7 @@ function OAuthClientDetail({
|
|
|
19985
20058
|
] }),
|
|
19986
20059
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
19987
20060
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
19988
|
-
/* @__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', _513 => _513[scope], 'optionalAccess', _514 => _514.name]) || scope }, scope)) })
|
|
19989
20062
|
] }),
|
|
19990
20063
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
19991
20064
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -20129,7 +20202,7 @@ function OAuthConsentScreen({
|
|
|
20129
20202
|
if (error || !clientInfo) {
|
|
20130
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: [
|
|
20131
20204
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
20132
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess',
|
|
20205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _515 => _515.message]) || "Invalid authorization request. Please try again." })
|
|
20133
20206
|
] }) }) }) });
|
|
20134
20207
|
}
|
|
20135
20208
|
const { client, scopes } = clientInfo;
|
|
@@ -20345,7 +20418,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
20345
20418
|
questionnaire: values.questionnaire
|
|
20346
20419
|
});
|
|
20347
20420
|
setIsSuccess(true);
|
|
20348
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
20421
|
+
_optionalChain([onSuccess, 'optionalCall', _516 => _516()]);
|
|
20349
20422
|
} catch (e) {
|
|
20350
20423
|
errorToast({ error: e });
|
|
20351
20424
|
} finally {
|
|
@@ -20983,7 +21056,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
|
|
|
20983
21056
|
] }),
|
|
20984
21057
|
roleIds.map((roleId) => {
|
|
20985
21058
|
const roleTokens = block[roleId];
|
|
20986
|
-
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21059
|
+
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _517 => _517[roleId]]), () => ( roleId));
|
|
20987
21060
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
20988
21061
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
|
|
20989
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,
|
|
@@ -21020,7 +21093,7 @@ function RbacContainer() {
|
|
|
21020
21093
|
}, []);
|
|
21021
21094
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
21022
21095
|
if (!matrix) return [];
|
|
21023
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21096
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _518 => _518[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _519 => _519[b]]), () => ( b))));
|
|
21024
21097
|
}, [matrix, moduleNames]);
|
|
21025
21098
|
const roleIds = _react.useMemo.call(void 0, () => {
|
|
21026
21099
|
if (roleNames) {
|
|
@@ -21083,7 +21156,7 @@ function RbacContainer() {
|
|
|
21083
21156
|
id === selectedModuleId && "bg-muted font-medium text-foreground",
|
|
21084
21157
|
id !== selectedModuleId && "text-muted-foreground"
|
|
21085
21158
|
),
|
|
21086
|
-
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21159
|
+
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _520 => _520[id]]), () => ( id))
|
|
21087
21160
|
}
|
|
21088
21161
|
) }, id)) }) }),
|
|
21089
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,
|
|
@@ -21091,7 +21164,7 @@ function RbacContainer() {
|
|
|
21091
21164
|
{
|
|
21092
21165
|
moduleId: selectedModuleId,
|
|
21093
21166
|
block: selectedBlock,
|
|
21094
|
-
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21167
|
+
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _521 => _521[selectedModuleId]]), () => ( selectedModuleId)),
|
|
21095
21168
|
roleIds,
|
|
21096
21169
|
roleNames,
|
|
21097
21170
|
onOpenPicker: openPicker
|
|
@@ -21102,12 +21175,12 @@ function RbacContainer() {
|
|
|
21102
21175
|
RbacPermissionPicker,
|
|
21103
21176
|
{
|
|
21104
21177
|
open: !!activePicker,
|
|
21105
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21178
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _522 => _522.anchor]), () => ( null)),
|
|
21106
21179
|
value: activeValue,
|
|
21107
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21180
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _523 => _523.isRoleColumn]), () => ( false)),
|
|
21108
21181
|
knownSegments: activeSegments,
|
|
21109
21182
|
onSetValue: handleSetValue,
|
|
21110
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21183
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _524 => _524.isRoleColumn]) ? handleClear : void 0,
|
|
21111
21184
|
onClose: closePicker
|
|
21112
21185
|
}
|
|
21113
21186
|
)
|
|
@@ -21174,7 +21247,7 @@ function RbacByRoleContainer() {
|
|
|
21174
21247
|
}, [roleNames]);
|
|
21175
21248
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
21176
21249
|
if (!matrix) return [];
|
|
21177
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21250
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _525 => _525[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _526 => _526[b]]), () => ( b))));
|
|
21178
21251
|
}, [matrix, moduleNames]);
|
|
21179
21252
|
_react.useEffect.call(void 0, () => {
|
|
21180
21253
|
if (!selectedRoleId && sortedRoleIds.length > 0) {
|
|
@@ -21223,7 +21296,7 @@ function RbacByRoleContainer() {
|
|
|
21223
21296
|
id === selectedRoleId && "bg-muted font-medium text-foreground",
|
|
21224
21297
|
id !== selectedRoleId && "text-muted-foreground"
|
|
21225
21298
|
),
|
|
21226
|
-
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21299
|
+
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _527 => _527[id]]), () => ( id))
|
|
21227
21300
|
}
|
|
21228
21301
|
) }, id)) }) }),
|
|
21229
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: [
|
|
@@ -21243,7 +21316,7 @@ function RbacByRoleContainer() {
|
|
|
21243
21316
|
if (!block) return null;
|
|
21244
21317
|
const defaultTokens = _nullishCoalesce(block.default, () => ( []));
|
|
21245
21318
|
const roleTokens = block[selectedRoleId];
|
|
21246
|
-
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21319
|
+
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _528 => _528[moduleId]]), () => ( moduleId));
|
|
21247
21320
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
21248
21321
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21249
21322
|
"td",
|
|
@@ -21258,7 +21331,7 @@ function RbacByRoleContainer() {
|
|
|
21258
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))
|
|
21259
21332
|
] }),
|
|
21260
21333
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
21261
|
-
/* @__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', _529 => _529[selectedRoleId]]), () => ( selectedRoleId)) }),
|
|
21262
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,
|
|
21263
21336
|
CellButton3,
|
|
21264
21337
|
{
|
|
@@ -21279,12 +21352,12 @@ function RbacByRoleContainer() {
|
|
|
21279
21352
|
RbacPermissionPicker,
|
|
21280
21353
|
{
|
|
21281
21354
|
open: !!activePicker,
|
|
21282
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21355
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _530 => _530.anchor]), () => ( null)),
|
|
21283
21356
|
value: activeValue,
|
|
21284
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21357
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _531 => _531.isRoleColumn]), () => ( false)),
|
|
21285
21358
|
knownSegments: activeSegments,
|
|
21286
21359
|
onSetValue: handleSetValue,
|
|
21287
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21360
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _532 => _532.isRoleColumn]) ? handleClear : void 0,
|
|
21288
21361
|
onClose: closePicker
|
|
21289
21362
|
}
|
|
21290
21363
|
)
|
|
@@ -21800,5 +21873,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
|
|
|
21800
21873
|
|
|
21801
21874
|
|
|
21802
21875
|
|
|
21803
|
-
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;
|
|
21804
|
-
|
|
21876
|
+
|
|
21877
|
+
|
|
21878
|
+
exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce2; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.useDebounce2 = useDebounce; exports.MultipleSelector = MultipleSelector; exports.EntityAvatar = EntityAvatar; exports.errorToast = errorToast; exports.EditableAvatar = EditableAvatar; exports.TableCellAvatar = TableCellAvatar; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.BlockNoteEditorMentionHoverCard = BlockNoteEditorMentionHoverCard; exports.mentionDataAttrs = mentionDataAttrs; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorTrigger = CommonEditorTrigger; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormCheckbox = FormCheckbox; exports.FormBlockNote = FormBlockNote; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.GdprConsentCheckbox = GdprConsentCheckbox; exports.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.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;
|
|
21879
|
+
//# sourceMappingURL=chunk-IB5YCA74.js.map
|