@carlonicora/nextjs-jsonapi 1.112.1 → 1.114.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AssistantInterface-B1c8FhGA.d.mts → AssistantInterface-B56qznuH.d.mts} +2 -0
- package/dist/{AssistantInterface-BBUHxOCd.d.ts → AssistantInterface-CHiJIYDY.d.ts} +2 -0
- package/dist/{AssistantMessageInterface-DrgHDjZ5.d.mts → AssistantMessageInterface-BuUZFkE5.d.mts} +16 -1
- package/dist/{AssistantMessageInterface-BNzf1etU.d.ts → AssistantMessageInterface-CQwh5tEb.d.ts} +16 -1
- package/dist/{BlockNoteEditor-HNQNKCFP.js → BlockNoteEditor-DT5L5AAB.js} +19 -19
- package/dist/{BlockNoteEditor-HNQNKCFP.js.map → BlockNoteEditor-DT5L5AAB.js.map} +1 -1
- package/dist/{BlockNoteEditor-A5LNFWHW.mjs → BlockNoteEditor-HIEAHXR4.mjs} +4 -4
- package/dist/billing/index.js +346 -346
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-6XWW67F2.js → chunk-4BUZUKER.js} +7 -7
- package/dist/{chunk-6XWW67F2.js.map → chunk-4BUZUKER.js.map} +1 -1
- package/dist/{chunk-U2HR57MY.js → chunk-7EQ46GUL.js} +76 -25
- package/dist/chunk-7EQ46GUL.js.map +1 -0
- package/dist/{chunk-CWVYU4YZ.mjs → chunk-DJSH6VHF.mjs} +2 -2
- package/dist/{chunk-ZYPNVEHB.mjs → chunk-FBTTIGLL.mjs} +53 -2
- package/dist/{chunk-ZYPNVEHB.mjs.map → chunk-FBTTIGLL.mjs.map} +1 -1
- package/dist/{chunk-LYLGU2BK.mjs → chunk-TVOW47AP.mjs} +3011 -2853
- package/dist/chunk-TVOW47AP.mjs.map +1 -0
- package/dist/{chunk-DRJUN4R6.js → chunk-VA2KFKHD.js} +1080 -922
- package/dist/chunk-VA2KFKHD.js.map +1 -0
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +56 -8
- package/dist/components/index.d.ts +56 -8
- package/dist/components/index.js +12 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +11 -3
- package/dist/contexts/index.d.mts +7 -2
- package/dist/contexts/index.d.ts +7 -2
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +26 -4
- package/dist/core/index.d.ts +26 -4
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/features/help/index.js +36 -36
- package/dist/features/help/index.mjs +3 -3
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/tables/ContentListTable.tsx +2 -1
- package/src/features/assistant/components/containers/AssistantContainer.tsx +18 -2
- package/src/features/assistant/components/parts/AssistantEmptyState.tsx +22 -1
- package/src/features/assistant/components/parts/AssistantThread.tsx +12 -1
- package/src/features/assistant/contexts/AssistantContext.tsx +42 -9
- package/src/features/assistant/contexts/__tests__/AssistantContext.spec.tsx +94 -3
- package/src/features/assistant/data/Assistant.ts +6 -0
- package/src/features/assistant/data/AssistantInterface.ts +2 -0
- package/src/features/assistant/data/AssistantService.ts +38 -0
- package/src/features/assistant/data/__tests__/Assistant.spec.ts +30 -0
- package/src/features/assistant-message/AssistantMessageModule.ts +2 -0
- package/src/features/assistant-message/components/MessageItem.tsx +26 -4
- package/src/features/assistant-message/components/MessageList.tsx +4 -2
- package/src/features/assistant-message/data/AssistantMessage.ts +21 -1
- package/src/features/assistant-message/data/AssistantMessageInterface.ts +16 -0
- package/src/shadcnui/index.ts +3 -0
- package/src/shadcnui/ui/__tests__/confirm-dialog.test.tsx +46 -0
- package/src/shadcnui/ui/__tests__/empty-state.test.tsx +26 -0
- package/src/shadcnui/ui/__tests__/spinner.test.tsx +18 -0
- package/src/shadcnui/ui/confirm-dialog.tsx +79 -0
- package/src/shadcnui/ui/empty-state.tsx +32 -0
- package/src/shadcnui/ui/spinner.tsx +36 -0
- package/dist/chunk-DRJUN4R6.js.map +0 -1
- package/dist/chunk-LYLGU2BK.mjs.map +0 -1
- package/dist/chunk-U2HR57MY.js.map +0 -1
- /package/dist/{BlockNoteEditor-A5LNFWHW.mjs.map → BlockNoteEditor-HIEAHXR4.mjs.map} +0 -0
- /package/dist/{chunk-CWVYU4YZ.mjs.map → chunk-DJSH6VHF.mjs.map} +0 -0
|
@@ -21,13 +21,13 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkVA2KFKHDjs = require('../../chunk-VA2KFKHD.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunk4BUZUKERjs = require('../../chunk-4BUZUKER.js');
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunk7EQ46GULjs = require('../../chunk-7EQ46GUL.js');
|
|
31
31
|
require('../../chunk-LXKSUWAV.js');
|
|
32
32
|
require('../../chunk-IBS6NI7D.js');
|
|
33
33
|
require('../../chunk-J5LROFGL.js');
|
|
@@ -41,7 +41,7 @@ var _react = require('react');
|
|
|
41
41
|
var _jsxruntime = require('react/jsx-runtime');
|
|
42
42
|
var HelpContext = _react.createContext.call(void 0, null);
|
|
43
43
|
function HelpProvider({ children }) {
|
|
44
|
-
const cfg =
|
|
44
|
+
const cfg = _chunk4BUZUKERjs._getStaticHelpContent.call(void 0, );
|
|
45
45
|
if (!cfg) {
|
|
46
46
|
throw new Error(
|
|
47
47
|
"Help content not configured \u2014 call configureJsonApi({ helpContent: {...} }) before importing help components."
|
|
@@ -73,29 +73,29 @@ var _lucidereact = require('lucide-react');
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
function HelpAssistantSheet({ open, onOpenChange }) {
|
|
76
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
77
|
-
|
|
76
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
77
|
+
_chunkVA2KFKHDjs.SheetContent,
|
|
78
78
|
{
|
|
79
79
|
side: "right",
|
|
80
80
|
className: "flex w-full flex-col data-[side=right]:sm:max-w-2xl data-[side=right]:lg:max-w-3xl",
|
|
81
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
81
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
|
|
82
82
|
}
|
|
83
83
|
) });
|
|
84
84
|
}
|
|
85
85
|
_chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheet, "HelpAssistantSheet");
|
|
86
86
|
function HelpAssistantSheetBody() {
|
|
87
87
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
88
|
-
const ctx =
|
|
88
|
+
const ctx = _chunkVA2KFKHDjs.useAssistantContext.call(void 0, );
|
|
89
89
|
const showThread = !!ctx.assistant || ctx.sending || ctx.messages.length > 0;
|
|
90
90
|
const send = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (content) => ctx.sendMessage(content, { howToMode: true }), "send");
|
|
91
91
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
92
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
93
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
94
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
92
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVA2KFKHDjs.SheetHeader, { children: [
|
|
93
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
|
|
94
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
|
|
95
95
|
] }),
|
|
96
|
-
!showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
96
|
+
!showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
97
97
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
98
|
-
|
|
98
|
+
_chunkVA2KFKHDjs.AssistantThread,
|
|
99
99
|
{
|
|
100
100
|
messages: ctx.messages,
|
|
101
101
|
sending: ctx.sending,
|
|
@@ -105,7 +105,7 @@ function HelpAssistantSheetBody() {
|
|
|
105
105
|
onRetry: ctx.retrySend
|
|
106
106
|
}
|
|
107
107
|
),
|
|
108
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
108
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.AssistantComposer, { onSend: send, disabled: ctx.sending })
|
|
109
109
|
] })
|
|
110
110
|
] });
|
|
111
111
|
}
|
|
@@ -115,20 +115,20 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheetBody, "HelpAssistantSheet
|
|
|
115
115
|
|
|
116
116
|
function HelpAskAi() {
|
|
117
117
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
118
|
-
const { currentUser } =
|
|
118
|
+
const { currentUser } = _chunkVA2KFKHDjs.useCurrentUserContext.call(void 0, );
|
|
119
119
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
120
120
|
const disabled = !currentUser;
|
|
121
121
|
if (disabled) {
|
|
122
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
123
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
122
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVA2KFKHDjs.Tooltip, { children: [
|
|
123
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVA2KFKHDjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.Button, { variant: "outline", size: "sm", disabled: true }), children: [
|
|
124
124
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
|
|
125
125
|
t("help.askAi.button")
|
|
126
126
|
] }),
|
|
127
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.TooltipContent, { children: t("help.askAi.loginTooltip") })
|
|
128
128
|
] });
|
|
129
129
|
}
|
|
130
130
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
131
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
131
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVA2KFKHDjs.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
|
|
132
132
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
|
|
133
133
|
t("help.askAi.button")
|
|
134
134
|
] }),
|
|
@@ -141,7 +141,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAskAi, "HelpAskAi");
|
|
|
141
141
|
|
|
142
142
|
function HelpHeader() {
|
|
143
143
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
144
|
-
const { currentUser } =
|
|
144
|
+
const { currentUser } = _chunkVA2KFKHDjs.useCurrentUserContext.call(void 0, );
|
|
145
145
|
const { brand } = useHelp();
|
|
146
146
|
const logo = _optionalChain([brand, 'optionalAccess', _ => _.logo]);
|
|
147
147
|
const label = _nullishCoalesce(_optionalChain([brand, 'optionalAccess', _2 => _2.label]), () => ( "Help"));
|
|
@@ -157,7 +157,7 @@ function HelpHeader() {
|
|
|
157
157
|
] }),
|
|
158
158
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
159
159
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAskAi, {}),
|
|
160
|
-
currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
160
|
+
currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.Button, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: appHref }), nativeButton: false, variant: "outline", size: "sm", children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.Button, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login" }), nativeButton: false, variant: "outline", size: "sm", children: t("help.header.login") })
|
|
161
161
|
] })
|
|
162
162
|
] });
|
|
163
163
|
}
|
|
@@ -199,12 +199,12 @@ _chunk7QVYU63Ejs.__name.call(void 0, useHelpFilter, "useHelpFilter");
|
|
|
199
199
|
|
|
200
200
|
function HelpSideNav() {
|
|
201
201
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
202
|
-
const generateUrl =
|
|
202
|
+
const generateUrl = _chunkVA2KFKHDjs.usePageUrlGenerator.call(void 0, );
|
|
203
203
|
const pathname = _navigation.usePathname.call(void 0, );
|
|
204
204
|
const [articles, setArticles] = _react.useState.call(void 0, []);
|
|
205
205
|
_react.useEffect.call(void 0, () => {
|
|
206
206
|
let active = true;
|
|
207
|
-
|
|
207
|
+
_chunk7EQ46GULjs.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
|
|
208
208
|
return () => {
|
|
209
209
|
active = false;
|
|
210
210
|
};
|
|
@@ -280,7 +280,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpSideNav, "HelpSideNav");
|
|
|
280
280
|
function HelpArticleBody(props) {
|
|
281
281
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
282
282
|
const format = _nextintl.useFormatter.call(void 0, );
|
|
283
|
-
const generateUrl =
|
|
283
|
+
const generateUrl = _chunkVA2KFKHDjs.usePageUrlGenerator.call(void 0, );
|
|
284
284
|
const { howToType, title, summary, updatedAt, prev, next, children } = props;
|
|
285
285
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: "prose dark:prose-invert max-w-none", children: [
|
|
286
286
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: "text-muted-foreground mb-2 text-xs", children: [
|
|
@@ -358,13 +358,13 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpTOC, "HelpTOC");
|
|
|
358
358
|
|
|
359
359
|
function HelpHint({ contextKey }) {
|
|
360
360
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
361
|
-
const generateUrl =
|
|
361
|
+
const generateUrl = _chunkVA2KFKHDjs.usePageUrlGenerator.call(void 0, );
|
|
362
362
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
363
363
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
364
364
|
const [articles, setArticles] = _react.useState.call(void 0, []);
|
|
365
365
|
_react.useEffect.call(void 0, () => {
|
|
366
366
|
let active2 = true;
|
|
367
|
-
|
|
367
|
+
_chunk7EQ46GULjs.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
|
|
368
368
|
return () => {
|
|
369
369
|
active2 = false;
|
|
370
370
|
};
|
|
@@ -376,7 +376,7 @@ function HelpHint({ contextKey }) {
|
|
|
376
376
|
if (matches.length === 0) return null;
|
|
377
377
|
const active = _nullishCoalesce(picked, () => ( (matches.length === 1 ? matches[0] : null)));
|
|
378
378
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
379
|
-
|
|
379
|
+
_chunkVA2KFKHDjs.Sheet,
|
|
380
380
|
{
|
|
381
381
|
open,
|
|
382
382
|
onOpenChange: (o) => {
|
|
@@ -384,11 +384,11 @@ function HelpHint({ contextKey }) {
|
|
|
384
384
|
if (!o) setPicked(null);
|
|
385
385
|
},
|
|
386
386
|
children: [
|
|
387
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
388
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
389
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
390
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
391
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
387
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.Button, { variant: "ghost", size: "icon-sm", "aria-label": t("help.hint.trigger") }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.HelpCircleIcon, { className: "h-4 w-4" }) }),
|
|
388
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVA2KFKHDjs.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
|
|
389
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVA2KFKHDjs.SheetHeader, { children: [
|
|
390
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
|
|
391
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
|
|
392
392
|
] }),
|
|
393
393
|
active ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-4 space-y-3", children: [
|
|
394
394
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground text-sm", children: active.summary }),
|
|
@@ -420,18 +420,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpHint, "HelpHint");
|
|
|
420
420
|
|
|
421
421
|
function HelpSearchResultRow({ result, onSelect }) {
|
|
422
422
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
423
|
-
const generateUrl =
|
|
423
|
+
const generateUrl = _chunkVA2KFKHDjs.usePageUrlGenerator.call(void 0, );
|
|
424
424
|
const [article, setArticle] = _react.useState.call(void 0, null);
|
|
425
425
|
_react.useEffect.call(void 0, () => {
|
|
426
426
|
let active = true;
|
|
427
|
-
|
|
427
|
+
_chunk7EQ46GULjs.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
|
|
428
428
|
return () => {
|
|
429
429
|
active = false;
|
|
430
430
|
};
|
|
431
431
|
}, [result.id]);
|
|
432
432
|
if (!article) {
|
|
433
433
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
434
|
-
|
|
434
|
+
_chunkVA2KFKHDjs.CommandItem,
|
|
435
435
|
{
|
|
436
436
|
value: result.id,
|
|
437
437
|
disabled: true,
|
|
@@ -440,7 +440,7 @@ function HelpSearchResultRow({ result, onSelect }) {
|
|
|
440
440
|
}
|
|
441
441
|
);
|
|
442
442
|
}
|
|
443
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
443
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVA2KFKHDjs.CommandItem, { value: result.id, onSelect, className: "cursor-pointer p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
444
444
|
_link2.default,
|
|
445
445
|
{
|
|
446
446
|
href: generateUrl({ page: `/help/${article.howToType}/${article.slug}` }),
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
useAssistantContext,
|
|
22
22
|
useCurrentUserContext,
|
|
23
23
|
usePageUrlGenerator
|
|
24
|
-
} from "../../chunk-
|
|
24
|
+
} from "../../chunk-TVOW47AP.mjs";
|
|
25
25
|
import {
|
|
26
26
|
_getStaticHelpContent
|
|
27
|
-
} from "../../chunk-
|
|
27
|
+
} from "../../chunk-DJSH6VHF.mjs";
|
|
28
28
|
import {
|
|
29
29
|
HowToService
|
|
30
|
-
} from "../../chunk-
|
|
30
|
+
} from "../../chunk-FBTTIGLL.mjs";
|
|
31
31
|
import "../../chunk-AUXK7QSA.mjs";
|
|
32
32
|
import "../../chunk-C7C7VY4F.mjs";
|
|
33
33
|
import "../../chunk-KK7PYKVI.mjs";
|
package/dist/index.d.mts
CHANGED
|
@@ -6,7 +6,7 @@ import { AbstractApiData } from './core/index.mjs';
|
|
|
6
6
|
export { AppModuleDefinitions, Assistant, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, formatLocalDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.mjs';
|
|
7
7
|
import { b as AbstractService } from './s3.service-0BTClOYO.mjs';
|
|
8
8
|
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-0BTClOYO.mjs';
|
|
9
|
-
export {
|
|
9
|
+
export { c as AssistantMessageInput, d as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageType, B as BreadcrumbItemData, e as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-BuUZFkE5.mjs';
|
|
10
10
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-xH3TGvVk.mjs';
|
|
11
11
|
export { ClassValue } from 'clsx';
|
|
12
12
|
export { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './AuthComponent-DdxCFgUZ.mjs';
|
|
@@ -14,7 +14,7 @@ export { A as Action, c as ModuleDefinition, g as ModuleFactory, b as ModulePerm
|
|
|
14
14
|
export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-CXBF8Mhi.mjs';
|
|
15
15
|
export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, q as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-promotion-code.interface-ClZ7DxS9.mjs';
|
|
16
16
|
export { b as CompanyInput, c as CompanyInterface, a as ContentInput, C as ContentInterface, d as NotificationInput, N as NotificationInterface, R as RoleInput, e as RoleInterface, f as UserInput, U as UserInterface } from './notification.interface-DIxR23eS.mjs';
|
|
17
|
-
export { A as AssistantInput, a as AssistantInterface } from './AssistantInterface-
|
|
17
|
+
export { A as AssistantInput, a as AssistantInterface } from './AssistantInterface-B56qznuH.mjs';
|
|
18
18
|
export { F as FeatureInterface, M as ModuleInterface } from './feature.interface-CXb1-vNq.mjs';
|
|
19
19
|
export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, O as OAuthClientInterface, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from './oauth.interface-o5FLpiN7.mjs';
|
|
20
20
|
export { I as I18nConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages } from './config-snd2ToEB.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { AbstractApiData } from './core/index.js';
|
|
|
6
6
|
export { AppModuleDefinitions, Assistant, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, formatLocalDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.js';
|
|
7
7
|
import { b as AbstractService } from './s3.service-CT27Fm1s.js';
|
|
8
8
|
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-CT27Fm1s.js';
|
|
9
|
-
export {
|
|
9
|
+
export { c as AssistantMessageInput, d as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageType, B as BreadcrumbItemData, e as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-CQwh5tEb.js';
|
|
10
10
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-xH3TGvVk.js';
|
|
11
11
|
export { ClassValue } from 'clsx';
|
|
12
12
|
export { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './AuthComponent-Cd7lcYif.js';
|
|
@@ -14,7 +14,7 @@ export { A as Action, c as ModuleDefinition, g as ModuleFactory, b as ModulePerm
|
|
|
14
14
|
export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-8b601idJ.js';
|
|
15
15
|
export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, q as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-promotion-code.interface-C3qqh3mi.js';
|
|
16
16
|
export { b as CompanyInput, c as CompanyInterface, a as ContentInput, C as ContentInterface, d as NotificationInput, N as NotificationInterface, R as RoleInput, e as RoleInterface, f as UserInput, U as UserInterface } from './notification.interface-C1T1C2ee.js';
|
|
17
|
-
export { A as AssistantInput, a as AssistantInterface } from './AssistantInterface-
|
|
17
|
+
export { A as AssistantInput, a as AssistantInterface } from './AssistantInterface-CHiJIYDY.js';
|
|
18
18
|
export { F as FeatureInterface, M as ModuleInterface } from './feature.interface-BO25VLlx.js';
|
|
19
19
|
export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, O as OAuthClientInterface, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from './oauth.interface-B6xmfDzK.js';
|
|
20
20
|
export { I as I18nConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages } from './config-BrkU_Ynz.js';
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk4BUZUKERjs = require('./chunk-4BUZUKER.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -199,7 +199,7 @@ var _chunk6XWW67F2js = require('./chunk-6XWW67F2.js');
|
|
|
199
199
|
|
|
200
200
|
|
|
201
201
|
|
|
202
|
-
var
|
|
202
|
+
var _chunk7EQ46GULjs = require('./chunk-7EQ46GUL.js');
|
|
203
203
|
require('./chunk-LXKSUWAV.js');
|
|
204
204
|
require('./chunk-IBS6NI7D.js');
|
|
205
205
|
|
|
@@ -423,5 +423,5 @@ require('./chunk-7QVYU63E.js');
|
|
|
423
423
|
|
|
424
424
|
|
|
425
425
|
|
|
426
|
-
exports.ACTION_TYPES = _chunk6XWW67F2js.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkU2HR57MYjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkU2HR57MYjs.AbstractApiData; exports.AbstractService = _chunkU2HR57MYjs.AbstractService; exports.Action = _chunkU2HR57MYjs.Action; exports.Assistant = _chunkU2HR57MYjs.Assistant; exports.AssistantMessage = _chunkU2HR57MYjs.AssistantMessage; exports.AssistantMessageModule = _chunkU2HR57MYjs.AssistantMessageModule; exports.AssistantMessageService = _chunkU2HR57MYjs.AssistantMessageService; exports.AssistantModule = _chunkU2HR57MYjs.AssistantModule; exports.AssistantService = _chunkU2HR57MYjs.AssistantService; exports.AuditLog = _chunkU2HR57MYjs.AuditLog; exports.AuditLogModule = _chunkU2HR57MYjs.AuditLogModule; exports.AuditLogService = _chunkU2HR57MYjs.AuditLogService; exports.Auth = _chunkU2HR57MYjs.Auth; exports.AuthComponent = _chunkU2HR57MYjs.AuthComponent; exports.AuthModule = _chunkU2HR57MYjs.AuthModule; exports.AuthService = _chunkU2HR57MYjs.AuthService; exports.AuthorModule = _chunkU2HR57MYjs.AuthorModule; exports.BackupCodeVerify = _chunkU2HR57MYjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkU2HR57MYjs.BackupCodeVerifyModule; exports.Billing = _chunkU2HR57MYjs.Billing; exports.BillingModule = _chunkU2HR57MYjs.BillingModule; exports.BillingService = _chunkU2HR57MYjs.BillingService; exports.BlockNoteDiffUtil = _chunkU2HR57MYjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkU2HR57MYjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk6XWW67F2js.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkU2HR57MYjs.Chunk; exports.ChunkModule = _chunkU2HR57MYjs.ChunkModule; exports.ClientAbstractService = _chunkU2HR57MYjs.ClientAbstractService; exports.ClientHttpMethod = _chunkU2HR57MYjs.ClientHttpMethod; exports.Company = _chunkU2HR57MYjs.Company; exports.CompanyFields = _chunkU2HR57MYjs.CompanyFields; exports.CompanyModule = _chunkU2HR57MYjs.CompanyModule; exports.CompanyService = _chunkU2HR57MYjs.CompanyService; exports.Content = _chunkU2HR57MYjs.Content; exports.ContentFields = _chunkU2HR57MYjs.ContentFields; exports.ContentModule = _chunkU2HR57MYjs.ContentModule; exports.ContentService = _chunkU2HR57MYjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkU2HR57MYjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkU2HR57MYjs.EndpointCreator; exports.Feature = _chunkU2HR57MYjs.Feature; exports.FeatureModule = _chunkU2HR57MYjs.FeatureModule; exports.FeatureService = _chunkU2HR57MYjs.FeatureService; exports.HowTo = _chunkU2HR57MYjs.HowTo; exports.HowToFields = _chunkU2HR57MYjs.HowToFields; exports.HowToModule = _chunkU2HR57MYjs.HowToModule; exports.HowToService = _chunkU2HR57MYjs.HowToService; exports.HttpMethod = _chunkU2HR57MYjs.HttpMethod; exports.InvoiceStatus = _chunkU2HR57MYjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkU2HR57MYjs.Module; exports.ModuleModule = _chunkU2HR57MYjs.ModuleModule; exports.ModulePaths = _chunkU2HR57MYjs.ModulePaths; exports.ModulePathsModule = _chunkU2HR57MYjs.ModulePathsModule; exports.ModuleRegistrar = _chunkU2HR57MYjs.ModuleRegistrar; exports.ModuleRegistry = _chunkU2HR57MYjs.ModuleRegistry; exports.Modules = _chunkU2HR57MYjs.Modules; exports.Notification = _chunkU2HR57MYjs.Notification; exports.NotificationFields = _chunkU2HR57MYjs.NotificationFields; exports.NotificationModule = _chunkU2HR57MYjs.NotificationModule; exports.NotificationService = _chunkU2HR57MYjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkU2HR57MYjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkU2HR57MYjs.OAuthClient; exports.OAuthModule = _chunkU2HR57MYjs.OAuthModule; exports.OAuthService = _chunkU2HR57MYjs.OAuthService; exports.Passkey = _chunkU2HR57MYjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkU2HR57MYjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkU2HR57MYjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkU2HR57MYjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkU2HR57MYjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkU2HR57MYjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkU2HR57MYjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkU2HR57MYjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkU2HR57MYjs.PasskeyRename; exports.PasskeyRenameModule = _chunkU2HR57MYjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkU2HR57MYjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkU2HR57MYjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkU2HR57MYjs.PaymentMethod; exports.PermissionMapping = _chunkU2HR57MYjs.PermissionMapping; exports.PermissionMappingModule = _chunkU2HR57MYjs.PermissionMappingModule; exports.Push = _chunkU2HR57MYjs.Push; exports.PushModule = _chunkU2HR57MYjs.PushModule; exports.PushService = _chunkU2HR57MYjs.PushService; exports.RbacMatrixModel = _chunkU2HR57MYjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkU2HR57MYjs.RbacMatrixModule; exports.RbacService = _chunk6XWW67F2js.RbacService; exports.ReferralModule = _chunkU2HR57MYjs.ReferralModule; exports.ReferralService = _chunkU2HR57MYjs.ReferralService; exports.ReferralStats = _chunkU2HR57MYjs.ReferralStats; exports.ReferralStatsModule = _chunkU2HR57MYjs.ReferralStatsModule; exports.RehydrationFactory = _chunkU2HR57MYjs.RehydrationFactory; exports.Role = _chunkU2HR57MYjs.Role; exports.RoleFields = _chunkU2HR57MYjs.RoleFields; exports.RoleModule = _chunkU2HR57MYjs.RoleModule; exports.RoleService = _chunkU2HR57MYjs.RoleService; exports.S3 = _chunkU2HR57MYjs.S3; exports.S3Module = _chunkU2HR57MYjs.S3Module; exports.S3Service = _chunkU2HR57MYjs.S3Service; exports.StripeCustomer = _chunkU2HR57MYjs.StripeCustomer; exports.StripeCustomerModule = _chunkU2HR57MYjs.StripeCustomerModule; exports.StripeCustomerService = _chunkU2HR57MYjs.StripeCustomerService; exports.StripeInvoice = _chunkU2HR57MYjs.StripeInvoice; exports.StripeInvoiceModule = _chunkU2HR57MYjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkU2HR57MYjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkU2HR57MYjs.StripePaymentMethodModule; exports.StripePrice = _chunkU2HR57MYjs.StripePrice; exports.StripePriceModule = _chunkU2HR57MYjs.StripePriceModule; exports.StripePriceService = _chunkU2HR57MYjs.StripePriceService; exports.StripeProduct = _chunkU2HR57MYjs.StripeProduct; exports.StripeProductModule = _chunkU2HR57MYjs.StripeProductModule; exports.StripeProductService = _chunkU2HR57MYjs.StripeProductService; exports.StripePromotionCode = _chunkU2HR57MYjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkU2HR57MYjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkU2HR57MYjs.StripePromotionCodeService; exports.StripeSubscription = _chunkU2HR57MYjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkU2HR57MYjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkU2HR57MYjs.StripeSubscriptionService; exports.StripeUsage = _chunkU2HR57MYjs.StripeUsage; exports.StripeUsageModule = _chunkU2HR57MYjs.StripeUsageModule; exports.StripeUsageService = _chunkU2HR57MYjs.StripeUsageService; exports.SubscriptionStatus = _chunkU2HR57MYjs.SubscriptionStatus; exports.TableOptions = _chunkU2HR57MYjs.TableOptions; exports.TotpAuthenticator = _chunkU2HR57MYjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkU2HR57MYjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkU2HR57MYjs.TotpSetup; exports.TotpSetupModule = _chunkU2HR57MYjs.TotpSetupModule; exports.TotpVerify = _chunkU2HR57MYjs.TotpVerify; exports.TotpVerifyLogin = _chunkU2HR57MYjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkU2HR57MYjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkU2HR57MYjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkU2HR57MYjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkU2HR57MYjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkU2HR57MYjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkU2HR57MYjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkU2HR57MYjs.TwoFactorService; exports.TwoFactorStatus = _chunkU2HR57MYjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkU2HR57MYjs.TwoFactorStatusModule; exports.User = _chunkU2HR57MYjs.User; exports.UserFields = _chunkU2HR57MYjs.UserFields; exports.UserModule = _chunkU2HR57MYjs.UserModule; exports.UserService = _chunkU2HR57MYjs.UserService; exports.Waitlist = _chunkU2HR57MYjs.Waitlist; exports.WaitlistModule = _chunkU2HR57MYjs.WaitlistModule; exports.WaitlistService = _chunkU2HR57MYjs.WaitlistService; exports.WaitlistStats = _chunkU2HR57MYjs.WaitlistStats; exports.WaitlistStatsModule = _chunkU2HR57MYjs.WaitlistStatsModule; exports.checkPermissions = _chunkU2HR57MYjs.checkPermissions; exports.checkPermissionsFromServer = _chunkU2HR57MYjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkU2HR57MYjs.clearLastApiTotal; exports.cn = _chunkU2HR57MYjs.cn; exports.composeRefs = _chunkU2HR57MYjs.composeRefs; exports.configureAuth = _chunkU2HR57MYjs.configureAuth; exports.configureI18n = _chunk6XWW67F2js.configureI18n; exports.configureJsonApi = _chunk6XWW67F2js.configureJsonApi; exports.configureLogin = _chunk6XWW67F2js.configureLogin; exports.configureReferral = _chunk6XWW67F2js.configureReferral; exports.configureRoles = _chunk6XWW67F2js.configureRoles; exports.configureWaitlist = _chunk6XWW67F2js.configureWaitlist; exports.createJsonApiInclusion = _chunkU2HR57MYjs.createJsonApiInclusion; exports.dismissToast = _chunkU2HR57MYjs.dismissToast; exports.entityObjectSchema = _chunkU2HR57MYjs.entityObjectSchema; exports.exists = _chunkU2HR57MYjs.exists; exports.formatDate = _chunkU2HR57MYjs.formatDate; exports.formatLocalDate = _chunkU2HR57MYjs.formatLocalDate; exports.getApiUrl = _chunk6XWW67F2js.getApiUrl; exports.getAppUrl = _chunk6XWW67F2js.getAppUrl; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkU2HR57MYjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkU2HR57MYjs.getGlobalErrorHandler; exports.getIcon = _chunkU2HR57MYjs.getIcon; exports.getIconByModule = _chunkU2HR57MYjs.getIconByModule; exports.getIconByModuleName = _chunkU2HR57MYjs.getIconByModuleName; exports.getInitials = _chunkU2HR57MYjs.getInitials; exports.getLastApiTotal = _chunkU2HR57MYjs.getLastApiTotal; exports.getLucideIcon = _chunkU2HR57MYjs.getLucideIcon; exports.getLucideIconByModule = _chunkU2HR57MYjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkU2HR57MYjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk6XWW67F2js.getPublicApiUrl; exports.getReferralConfig = _chunk6XWW67F2js.getReferralConfig; exports.getRoleId = _chunk6XWW67F2js.getRoleId; exports.getStripePublishableKey = _chunk6XWW67F2js.getStripePublishableKey; exports.getTableComponents = _chunkU2HR57MYjs.getTableComponents; exports.getTableOptions = _chunkU2HR57MYjs.getTableOptions; exports.getTokenHandler = _chunkU2HR57MYjs.getTokenHandler; exports.getTrackablePages = _chunk6XWW67F2js.getTrackablePages; exports.getValueFromPath = _chunkU2HR57MYjs.getValueFromPath; exports.getWaitlistConfig = _chunk6XWW67F2js.getWaitlistConfig; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.isReferralEnabled = _chunk6XWW67F2js.isReferralEnabled; exports.isRolesConfigured = _chunk6XWW67F2js.isRolesConfigured; exports.rehydrate = _chunkU2HR57MYjs.rehydrate; exports.rehydrateList = _chunkU2HR57MYjs.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkU2HR57MYjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkU2HR57MYjs.setGlobalErrorHandler; exports.showCustomToast = _chunkU2HR57MYjs.showCustomToast; exports.showError = _chunkU2HR57MYjs.showError; exports.showToast = _chunkU2HR57MYjs.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkU2HR57MYjs.useComposedRefs; exports.useIsMobile = _chunkU2HR57MYjs.useIsMobile; exports.userObjectSchema = _chunkU2HR57MYjs.userObjectSchema;
|
|
426
|
+
exports.ACTION_TYPES = _chunk4BUZUKERjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunk7EQ46GULjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk7EQ46GULjs.AbstractApiData; exports.AbstractService = _chunk7EQ46GULjs.AbstractService; exports.Action = _chunk7EQ46GULjs.Action; exports.Assistant = _chunk7EQ46GULjs.Assistant; exports.AssistantMessage = _chunk7EQ46GULjs.AssistantMessage; exports.AssistantMessageModule = _chunk7EQ46GULjs.AssistantMessageModule; exports.AssistantMessageService = _chunk7EQ46GULjs.AssistantMessageService; exports.AssistantModule = _chunk7EQ46GULjs.AssistantModule; exports.AssistantService = _chunk7EQ46GULjs.AssistantService; exports.AuditLog = _chunk7EQ46GULjs.AuditLog; exports.AuditLogModule = _chunk7EQ46GULjs.AuditLogModule; exports.AuditLogService = _chunk7EQ46GULjs.AuditLogService; exports.Auth = _chunk7EQ46GULjs.Auth; exports.AuthComponent = _chunk7EQ46GULjs.AuthComponent; exports.AuthModule = _chunk7EQ46GULjs.AuthModule; exports.AuthService = _chunk7EQ46GULjs.AuthService; exports.AuthorModule = _chunk7EQ46GULjs.AuthorModule; exports.BackupCodeVerify = _chunk7EQ46GULjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk7EQ46GULjs.BackupCodeVerifyModule; exports.Billing = _chunk7EQ46GULjs.Billing; exports.BillingModule = _chunk7EQ46GULjs.BillingModule; exports.BillingService = _chunk7EQ46GULjs.BillingService; exports.BlockNoteDiffUtil = _chunk7EQ46GULjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk7EQ46GULjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk4BUZUKERjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunk7EQ46GULjs.Chunk; exports.ChunkModule = _chunk7EQ46GULjs.ChunkModule; exports.ClientAbstractService = _chunk7EQ46GULjs.ClientAbstractService; exports.ClientHttpMethod = _chunk7EQ46GULjs.ClientHttpMethod; exports.Company = _chunk7EQ46GULjs.Company; exports.CompanyFields = _chunk7EQ46GULjs.CompanyFields; exports.CompanyModule = _chunk7EQ46GULjs.CompanyModule; exports.CompanyService = _chunk7EQ46GULjs.CompanyService; exports.Content = _chunk7EQ46GULjs.Content; exports.ContentFields = _chunk7EQ46GULjs.ContentFields; exports.ContentModule = _chunk7EQ46GULjs.ContentModule; exports.ContentService = _chunk7EQ46GULjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk7EQ46GULjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunk7EQ46GULjs.EndpointCreator; exports.Feature = _chunk7EQ46GULjs.Feature; exports.FeatureModule = _chunk7EQ46GULjs.FeatureModule; exports.FeatureService = _chunk7EQ46GULjs.FeatureService; exports.HowTo = _chunk7EQ46GULjs.HowTo; exports.HowToFields = _chunk7EQ46GULjs.HowToFields; exports.HowToModule = _chunk7EQ46GULjs.HowToModule; exports.HowToService = _chunk7EQ46GULjs.HowToService; exports.HttpMethod = _chunk7EQ46GULjs.HttpMethod; exports.InvoiceStatus = _chunk7EQ46GULjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunk7EQ46GULjs.Module; exports.ModuleModule = _chunk7EQ46GULjs.ModuleModule; exports.ModulePaths = _chunk7EQ46GULjs.ModulePaths; exports.ModulePathsModule = _chunk7EQ46GULjs.ModulePathsModule; exports.ModuleRegistrar = _chunk7EQ46GULjs.ModuleRegistrar; exports.ModuleRegistry = _chunk7EQ46GULjs.ModuleRegistry; exports.Modules = _chunk7EQ46GULjs.Modules; exports.Notification = _chunk7EQ46GULjs.Notification; exports.NotificationFields = _chunk7EQ46GULjs.NotificationFields; exports.NotificationModule = _chunk7EQ46GULjs.NotificationModule; exports.NotificationService = _chunk7EQ46GULjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk7EQ46GULjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk7EQ46GULjs.OAuthClient; exports.OAuthModule = _chunk7EQ46GULjs.OAuthModule; exports.OAuthService = _chunk7EQ46GULjs.OAuthService; exports.Passkey = _chunk7EQ46GULjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk7EQ46GULjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk7EQ46GULjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk7EQ46GULjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk7EQ46GULjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk7EQ46GULjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk7EQ46GULjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk7EQ46GULjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk7EQ46GULjs.PasskeyRename; exports.PasskeyRenameModule = _chunk7EQ46GULjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk7EQ46GULjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk7EQ46GULjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk7EQ46GULjs.PaymentMethod; exports.PermissionMapping = _chunk7EQ46GULjs.PermissionMapping; exports.PermissionMappingModule = _chunk7EQ46GULjs.PermissionMappingModule; exports.Push = _chunk7EQ46GULjs.Push; exports.PushModule = _chunk7EQ46GULjs.PushModule; exports.PushService = _chunk7EQ46GULjs.PushService; exports.RbacMatrixModel = _chunk7EQ46GULjs.RbacMatrixModel; exports.RbacMatrixModule = _chunk7EQ46GULjs.RbacMatrixModule; exports.RbacService = _chunk4BUZUKERjs.RbacService; exports.ReferralModule = _chunk7EQ46GULjs.ReferralModule; exports.ReferralService = _chunk7EQ46GULjs.ReferralService; exports.ReferralStats = _chunk7EQ46GULjs.ReferralStats; exports.ReferralStatsModule = _chunk7EQ46GULjs.ReferralStatsModule; exports.RehydrationFactory = _chunk7EQ46GULjs.RehydrationFactory; exports.Role = _chunk7EQ46GULjs.Role; exports.RoleFields = _chunk7EQ46GULjs.RoleFields; exports.RoleModule = _chunk7EQ46GULjs.RoleModule; exports.RoleService = _chunk7EQ46GULjs.RoleService; exports.S3 = _chunk7EQ46GULjs.S3; exports.S3Module = _chunk7EQ46GULjs.S3Module; exports.S3Service = _chunk7EQ46GULjs.S3Service; exports.StripeCustomer = _chunk7EQ46GULjs.StripeCustomer; exports.StripeCustomerModule = _chunk7EQ46GULjs.StripeCustomerModule; exports.StripeCustomerService = _chunk7EQ46GULjs.StripeCustomerService; exports.StripeInvoice = _chunk7EQ46GULjs.StripeInvoice; exports.StripeInvoiceModule = _chunk7EQ46GULjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk7EQ46GULjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk7EQ46GULjs.StripePaymentMethodModule; exports.StripePrice = _chunk7EQ46GULjs.StripePrice; exports.StripePriceModule = _chunk7EQ46GULjs.StripePriceModule; exports.StripePriceService = _chunk7EQ46GULjs.StripePriceService; exports.StripeProduct = _chunk7EQ46GULjs.StripeProduct; exports.StripeProductModule = _chunk7EQ46GULjs.StripeProductModule; exports.StripeProductService = _chunk7EQ46GULjs.StripeProductService; exports.StripePromotionCode = _chunk7EQ46GULjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk7EQ46GULjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk7EQ46GULjs.StripePromotionCodeService; exports.StripeSubscription = _chunk7EQ46GULjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk7EQ46GULjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk7EQ46GULjs.StripeSubscriptionService; exports.StripeUsage = _chunk7EQ46GULjs.StripeUsage; exports.StripeUsageModule = _chunk7EQ46GULjs.StripeUsageModule; exports.StripeUsageService = _chunk7EQ46GULjs.StripeUsageService; exports.SubscriptionStatus = _chunk7EQ46GULjs.SubscriptionStatus; exports.TableOptions = _chunk7EQ46GULjs.TableOptions; exports.TotpAuthenticator = _chunk7EQ46GULjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk7EQ46GULjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk7EQ46GULjs.TotpSetup; exports.TotpSetupModule = _chunk7EQ46GULjs.TotpSetupModule; exports.TotpVerify = _chunk7EQ46GULjs.TotpVerify; exports.TotpVerifyLogin = _chunk7EQ46GULjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk7EQ46GULjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk7EQ46GULjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk7EQ46GULjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk7EQ46GULjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk7EQ46GULjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk7EQ46GULjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk7EQ46GULjs.TwoFactorService; exports.TwoFactorStatus = _chunk7EQ46GULjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk7EQ46GULjs.TwoFactorStatusModule; exports.User = _chunk7EQ46GULjs.User; exports.UserFields = _chunk7EQ46GULjs.UserFields; exports.UserModule = _chunk7EQ46GULjs.UserModule; exports.UserService = _chunk7EQ46GULjs.UserService; exports.Waitlist = _chunk7EQ46GULjs.Waitlist; exports.WaitlistModule = _chunk7EQ46GULjs.WaitlistModule; exports.WaitlistService = _chunk7EQ46GULjs.WaitlistService; exports.WaitlistStats = _chunk7EQ46GULjs.WaitlistStats; exports.WaitlistStatsModule = _chunk7EQ46GULjs.WaitlistStatsModule; exports.checkPermissions = _chunk7EQ46GULjs.checkPermissions; exports.checkPermissionsFromServer = _chunk7EQ46GULjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunk7EQ46GULjs.clearLastApiTotal; exports.cn = _chunk7EQ46GULjs.cn; exports.composeRefs = _chunk7EQ46GULjs.composeRefs; exports.configureAuth = _chunk7EQ46GULjs.configureAuth; exports.configureI18n = _chunk4BUZUKERjs.configureI18n; exports.configureJsonApi = _chunk4BUZUKERjs.configureJsonApi; exports.configureLogin = _chunk4BUZUKERjs.configureLogin; exports.configureReferral = _chunk4BUZUKERjs.configureReferral; exports.configureRoles = _chunk4BUZUKERjs.configureRoles; exports.configureWaitlist = _chunk4BUZUKERjs.configureWaitlist; exports.createJsonApiInclusion = _chunk7EQ46GULjs.createJsonApiInclusion; exports.dismissToast = _chunk7EQ46GULjs.dismissToast; exports.entityObjectSchema = _chunk7EQ46GULjs.entityObjectSchema; exports.exists = _chunk7EQ46GULjs.exists; exports.formatDate = _chunk7EQ46GULjs.formatDate; exports.formatLocalDate = _chunk7EQ46GULjs.formatLocalDate; exports.getApiUrl = _chunk4BUZUKERjs.getApiUrl; exports.getAppUrl = _chunk4BUZUKERjs.getAppUrl; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk7EQ46GULjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk7EQ46GULjs.getGlobalErrorHandler; exports.getIcon = _chunk7EQ46GULjs.getIcon; exports.getIconByModule = _chunk7EQ46GULjs.getIconByModule; exports.getIconByModuleName = _chunk7EQ46GULjs.getIconByModuleName; exports.getInitials = _chunk7EQ46GULjs.getInitials; exports.getLastApiTotal = _chunk7EQ46GULjs.getLastApiTotal; exports.getLucideIcon = _chunk7EQ46GULjs.getLucideIcon; exports.getLucideIconByModule = _chunk7EQ46GULjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk7EQ46GULjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk4BUZUKERjs.getPublicApiUrl; exports.getReferralConfig = _chunk4BUZUKERjs.getReferralConfig; exports.getRoleId = _chunk4BUZUKERjs.getRoleId; exports.getStripePublishableKey = _chunk4BUZUKERjs.getStripePublishableKey; exports.getTableComponents = _chunk7EQ46GULjs.getTableComponents; exports.getTableOptions = _chunk7EQ46GULjs.getTableOptions; exports.getTokenHandler = _chunk7EQ46GULjs.getTokenHandler; exports.getTrackablePages = _chunk4BUZUKERjs.getTrackablePages; exports.getValueFromPath = _chunk7EQ46GULjs.getValueFromPath; exports.getWaitlistConfig = _chunk4BUZUKERjs.getWaitlistConfig; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.isReferralEnabled = _chunk4BUZUKERjs.isReferralEnabled; exports.isRolesConfigured = _chunk4BUZUKERjs.isRolesConfigured; exports.rehydrate = _chunk7EQ46GULjs.rehydrate; exports.rehydrateList = _chunk7EQ46GULjs.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk7EQ46GULjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk7EQ46GULjs.setGlobalErrorHandler; exports.showCustomToast = _chunk7EQ46GULjs.showCustomToast; exports.showError = _chunk7EQ46GULjs.showError; exports.showToast = _chunk7EQ46GULjs.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunk7EQ46GULjs.useComposedRefs; exports.useIsMobile = _chunk7EQ46GULjs.useIsMobile; exports.userObjectSchema = _chunk7EQ46GULjs.userObjectSchema;
|
|
427
427
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
getWaitlistConfig,
|
|
19
19
|
isReferralEnabled,
|
|
20
20
|
isRolesConfigured
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DJSH6VHF.mjs";
|
|
22
22
|
import {
|
|
23
23
|
AVAILABLE_OAUTH_SCOPES,
|
|
24
24
|
AbstractApiData,
|
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
useComposedRefs,
|
|
200
200
|
useIsMobile,
|
|
201
201
|
userObjectSchema
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-FBTTIGLL.mjs";
|
|
203
203
|
import "./chunk-AUXK7QSA.mjs";
|
|
204
204
|
import "./chunk-C7C7VY4F.mjs";
|
|
205
205
|
import {
|
package/dist/server/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk7EQ46GULjs = require('../chunk-7EQ46GUL.js');
|
|
19
19
|
require('../chunk-LXKSUWAV.js');
|
|
20
20
|
require('../chunk-IBS6NI7D.js');
|
|
21
21
|
|
|
@@ -86,7 +86,7 @@ var ServerSession = class {
|
|
|
86
86
|
if (!rawModules) return false;
|
|
87
87
|
const modules = JSON.parse(_pako2.default.ungzip(Buffer.from(rawModules, "base64"), { to: "string" }));
|
|
88
88
|
const selectedModule = modules.find((module) => module.id === params.module.moduleId);
|
|
89
|
-
return
|
|
89
|
+
return _chunk7EQ46GULjs.checkPermissionsFromServer.call(void 0, {
|
|
90
90
|
module: params.module,
|
|
91
91
|
action: params.action,
|
|
92
92
|
data: params.data,
|
|
@@ -296,5 +296,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
|
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
299
|
-
exports.ServerAuthService =
|
|
299
|
+
exports.ServerAuthService = _chunk7EQ46GULjs.AuthService; exports.ServerCompanyService = _chunk7EQ46GULjs.CompanyService; exports.ServerContentService = _chunk7EQ46GULjs.ContentService; exports.ServerFeatureService = _chunk7EQ46GULjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunk7EQ46GULjs.NotificationService; exports.ServerPushService = _chunk7EQ46GULjs.PushService; exports.ServerRoleService = _chunk7EQ46GULjs.RoleService; exports.ServerS3Service = _chunk7EQ46GULjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunk7EQ46GULjs.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunkIOLU4ASDjs.serverRequest;
|
|
300
300
|
//# sourceMappingURL=index.js.map
|
package/dist/server/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -47,6 +47,7 @@ type ContentListTableProps = {
|
|
|
47
47
|
defaultExpanded?: boolean | ExpandedState;
|
|
48
48
|
fullWidth?: boolean;
|
|
49
49
|
groupBy?: string;
|
|
50
|
+
emptyState?: ReactNode;
|
|
50
51
|
};
|
|
51
52
|
|
|
52
53
|
export const ContentListTable = memo(function ContentListTable(props: ContentListTableProps) {
|
|
@@ -219,7 +220,7 @@ export const ContentListTable = memo(function ContentListTable(props: ContentLis
|
|
|
219
220
|
) : (
|
|
220
221
|
<TableRow>
|
|
221
222
|
<TableCell colSpan={tableColumns.length} className="h-24 text-center">
|
|
222
|
-
No results.
|
|
223
|
+
{props.emptyState ?? "No results."}
|
|
223
224
|
</TableCell>
|
|
224
225
|
</TableRow>
|
|
225
226
|
)}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { RoundPageContainer } from "../../../../components/containers/RoundPageContainer";
|
|
4
4
|
import { Modules } from "../../../../core";
|
|
5
|
+
import type { ApprovalActionRenderer } from "../../../assistant-message/components/MessageItem";
|
|
5
6
|
import { useAssistantContext } from "../../contexts/AssistantContext";
|
|
6
7
|
import { AssistantSidebar } from "../parts/AssistantSidebar";
|
|
7
8
|
import { AssistantEmptyState } from "../parts/AssistantEmptyState";
|
|
@@ -9,7 +10,17 @@ import { AssistantThreadHeader } from "../parts/AssistantThreadHeader";
|
|
|
9
10
|
import { AssistantThread } from "../parts/AssistantThread";
|
|
10
11
|
import { AssistantComposer } from "../parts/AssistantComposer";
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
interface Props {
|
|
14
|
+
/**
|
|
15
|
+
* Optional renderer for `approval-request` messages (operator engine). The
|
|
16
|
+
* approval card component lives in the consuming app, which registers the
|
|
17
|
+
* AssistantAction module; without this prop those messages fall back to the
|
|
18
|
+
* plain markdown bubble.
|
|
19
|
+
*/
|
|
20
|
+
renderApprovalAction?: ApprovalActionRenderer;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export function AssistantContainer({ renderApprovalAction }: Props = {}) {
|
|
13
24
|
const ctx = useAssistantContext();
|
|
14
25
|
const showThread = !!ctx.assistant || ctx.sending || ctx.messages.length > 0;
|
|
15
26
|
|
|
@@ -24,7 +35,11 @@ export function AssistantContainer() {
|
|
|
24
35
|
/>
|
|
25
36
|
<main className="flex flex-1 flex-col">
|
|
26
37
|
{!showThread ? (
|
|
27
|
-
<AssistantEmptyState
|
|
38
|
+
<AssistantEmptyState
|
|
39
|
+
onSend={ctx.sendMessage}
|
|
40
|
+
operatorMode={ctx.operatorMode}
|
|
41
|
+
onOperatorModeChange={ctx.setOperatorMode}
|
|
42
|
+
/>
|
|
28
43
|
) : (
|
|
29
44
|
<>
|
|
30
45
|
{ctx.assistant ? (
|
|
@@ -45,6 +60,7 @@ export function AssistantContainer() {
|
|
|
45
60
|
onSelectFollowUp={ctx.sendMessage}
|
|
46
61
|
failedMessageIds={ctx.failedMessageIds}
|
|
47
62
|
onRetry={ctx.retrySend}
|
|
63
|
+
renderApprovalAction={renderApprovalAction}
|
|
48
64
|
/>
|
|
49
65
|
<AssistantComposer onSend={ctx.sendMessage} disabled={ctx.sending} />
|
|
50
66
|
</>
|
|
@@ -3,15 +3,23 @@
|
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { useTranslations } from "next-intl";
|
|
5
5
|
import { Sparkles } from "lucide-react";
|
|
6
|
+
import { Label, Switch } from "../../../../shadcnui";
|
|
6
7
|
import { AssistantComposer } from "./AssistantComposer";
|
|
7
8
|
|
|
8
9
|
interface Props {
|
|
9
10
|
onSend: (content: string) => Promise<void>;
|
|
11
|
+
/**
|
|
12
|
+
* Operator engine toggle (durable, approval-gated runs). Rendered only when
|
|
13
|
+
* `onOperatorModeChange` is provided; the default (responder) flow stays
|
|
14
|
+
* unchanged otherwise.
|
|
15
|
+
*/
|
|
16
|
+
operatorMode?: boolean;
|
|
17
|
+
onOperatorModeChange?: (value: boolean) => void;
|
|
10
18
|
}
|
|
11
19
|
|
|
12
20
|
const STARTER_KEYS = ["a", "b", "c", "d"] as const;
|
|
13
21
|
|
|
14
|
-
export function AssistantEmptyState({ onSend }: Props) {
|
|
22
|
+
export function AssistantEmptyState({ onSend, operatorMode = false, onOperatorModeChange }: Props) {
|
|
15
23
|
const t = useTranslations();
|
|
16
24
|
const [draft, setDraft] = useState("");
|
|
17
25
|
|
|
@@ -26,6 +34,19 @@ export function AssistantEmptyState({ onSend }: Props) {
|
|
|
26
34
|
<p className="text-muted-foreground mt-1 text-sm">{t("features.assistant.empty_state.subtitle")}</p>
|
|
27
35
|
</div>
|
|
28
36
|
<AssistantComposer value={draft} onValueChange={setDraft} onSend={onSend} />
|
|
37
|
+
{onOperatorModeChange && (
|
|
38
|
+
<div className="flex items-center justify-end gap-2">
|
|
39
|
+
<Switch
|
|
40
|
+
id="assistant-operator-mode"
|
|
41
|
+
size="sm"
|
|
42
|
+
checked={operatorMode}
|
|
43
|
+
onCheckedChange={(checked) => onOperatorModeChange(checked === true)}
|
|
44
|
+
/>
|
|
45
|
+
<Label htmlFor="assistant-operator-mode" className="text-muted-foreground text-xs">
|
|
46
|
+
{t("features.assistant.operator_mode")}
|
|
47
|
+
</Label>
|
|
48
|
+
</div>
|
|
49
|
+
)}
|
|
29
50
|
<div className="grid grid-cols-2 gap-2">
|
|
30
51
|
{STARTER_KEYS.map((k) => {
|
|
31
52
|
const text = t(`features.assistant.starters.${k}`);
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
4
|
import type { AssistantMessageInterface } from "../../../assistant-message/data/AssistantMessageInterface";
|
|
5
5
|
import { MessageList } from "../../../assistant-message/components/MessageList";
|
|
6
|
+
import type { ApprovalActionRenderer } from "../../../assistant-message/components/MessageItem";
|
|
6
7
|
import { AssistantStatusLine } from "./AssistantStatusLine";
|
|
7
8
|
|
|
8
9
|
interface Props {
|
|
@@ -12,9 +13,18 @@ interface Props {
|
|
|
12
13
|
onSelectFollowUp: (q: string) => void;
|
|
13
14
|
failedMessageIds?: Set<string>;
|
|
14
15
|
onRetry?: (tempId: string) => void;
|
|
16
|
+
renderApprovalAction?: ApprovalActionRenderer;
|
|
15
17
|
}
|
|
16
18
|
|
|
17
|
-
export function AssistantThread({
|
|
19
|
+
export function AssistantThread({
|
|
20
|
+
messages,
|
|
21
|
+
sending,
|
|
22
|
+
status,
|
|
23
|
+
onSelectFollowUp,
|
|
24
|
+
failedMessageIds,
|
|
25
|
+
onRetry,
|
|
26
|
+
renderApprovalAction,
|
|
27
|
+
}: Props) {
|
|
18
28
|
const endRef = useRef<HTMLDivElement>(null);
|
|
19
29
|
|
|
20
30
|
useEffect(() => {
|
|
@@ -28,6 +38,7 @@ export function AssistantThread({ messages, sending, status, onSelectFollowUp, f
|
|
|
28
38
|
onSelectFollowUp={onSelectFollowUp}
|
|
29
39
|
failedMessageIds={failedMessageIds}
|
|
30
40
|
onRetry={onRetry}
|
|
41
|
+
renderApprovalAction={renderApprovalAction}
|
|
31
42
|
/>
|
|
32
43
|
{sending && <AssistantStatusLine status={status} />}
|
|
33
44
|
<div ref={endRef} />
|