@carlonicora/nextjs-jsonapi 1.133.0 → 1.135.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.
Files changed (65) hide show
  1. package/dist/{BlockNoteEditor-VXK7INMR.mjs → BlockNoteEditor-GVNC7UWS.mjs} +4 -4
  2. package/dist/{BlockNoteEditor-H626BS5Y.js → BlockNoteEditor-XIB4Q2B7.js} +19 -19
  3. package/dist/{BlockNoteEditor-H626BS5Y.js.map → BlockNoteEditor-XIB4Q2B7.js.map} +1 -1
  4. package/dist/billing/index.js +357 -357
  5. package/dist/billing/index.mjs +3 -3
  6. package/dist/{chunk-F6KBHC2X.js → chunk-C2LEIBUK.js} +7 -7
  7. package/dist/{chunk-F6KBHC2X.js.map → chunk-C2LEIBUK.js.map} +1 -1
  8. package/dist/{chunk-DZL2G7NB.mjs → chunk-DVOBOFCF.mjs} +38 -11
  9. package/dist/chunk-DVOBOFCF.mjs.map +1 -0
  10. package/dist/{chunk-TVJFCWST.js → chunk-IWSLZEWZ.js} +1058 -885
  11. package/dist/chunk-IWSLZEWZ.js.map +1 -0
  12. package/dist/{chunk-VSAAVVHY.mjs → chunk-M5IAN7IR.mjs} +2 -2
  13. package/dist/{chunk-WEDLGKSS.mjs → chunk-MZAD63EI.mjs} +2629 -2456
  14. package/dist/chunk-MZAD63EI.mjs.map +1 -0
  15. package/dist/{chunk-5IE6DZ2D.js → chunk-W73JBOIR.js} +39 -12
  16. package/dist/{chunk-5IE6DZ2D.js.map → chunk-W73JBOIR.js.map} +1 -1
  17. package/dist/client/index.js +4 -4
  18. package/dist/client/index.mjs +3 -3
  19. package/dist/components/index.d.mts +17 -2
  20. package/dist/components/index.d.ts +17 -2
  21. package/dist/components/index.js +6 -4
  22. package/dist/components/index.js.map +1 -1
  23. package/dist/components/index.mjs +5 -3
  24. package/dist/contexts/index.d.mts +85 -3
  25. package/dist/contexts/index.d.ts +85 -3
  26. package/dist/contexts/index.js +16 -4
  27. package/dist/contexts/index.js.map +1 -1
  28. package/dist/contexts/index.mjs +15 -3
  29. package/dist/core/index.d.mts +3 -1
  30. package/dist/core/index.d.ts +3 -1
  31. package/dist/core/index.js +6 -2
  32. package/dist/core/index.js.map +1 -1
  33. package/dist/core/index.mjs +5 -1
  34. package/dist/features/help/index.js +37 -37
  35. package/dist/features/help/index.mjs +3 -3
  36. package/dist/index.d.mts +1 -1
  37. package/dist/index.d.ts +1 -1
  38. package/dist/index.js +7 -3
  39. package/dist/index.js.map +1 -1
  40. package/dist/index.mjs +6 -2
  41. package/dist/server/index.js +3 -3
  42. package/dist/server/index.mjs +1 -1
  43. package/package.json +1 -1
  44. package/src/components/containers/PageContainer.tsx +7 -2
  45. package/src/components/containers/RoundPageContainer.tsx +31 -9
  46. package/src/components/navigations/Header.tsx +17 -6
  47. package/src/components/navigations/MobileNavigationBar.tsx +99 -0
  48. package/src/components/navigations/__tests__/MobileNavigationBar.spec.tsx +131 -0
  49. package/src/components/navigations/index.ts +1 -0
  50. package/src/components/pages/PageContentContainer.tsx +1 -1
  51. package/src/contexts/HeaderChildrenContext.tsx +23 -2
  52. package/src/contexts/HeaderLogoContext.tsx +25 -0
  53. package/src/contexts/MobileNavigationContext.tsx +66 -0
  54. package/src/contexts/ViewportContext.tsx +46 -0
  55. package/src/contexts/index.ts +3 -0
  56. package/src/core/registry/__tests__/viewportStore.test.ts +50 -0
  57. package/src/core/registry/viewportStore.ts +47 -0
  58. package/src/utils/__tests__/use-mobile.test.tsx +137 -0
  59. package/src/utils/index.ts +1 -1
  60. package/src/utils/use-mobile.tsx +70 -13
  61. package/dist/chunk-DZL2G7NB.mjs.map +0 -1
  62. package/dist/chunk-TVJFCWST.js.map +0 -1
  63. package/dist/chunk-WEDLGKSS.mjs.map +0 -1
  64. /package/dist/{BlockNoteEditor-VXK7INMR.mjs.map → BlockNoteEditor-GVNC7UWS.mjs.map} +0 -0
  65. /package/dist/{chunk-VSAAVVHY.mjs.map → chunk-M5IAN7IR.mjs.map} +0 -0
@@ -22,13 +22,13 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkTVJFCWSTjs = require('../../chunk-TVJFCWST.js');
25
+ var _chunkIWSLZEWZjs = require('../../chunk-IWSLZEWZ.js');
26
26
 
27
27
 
28
- var _chunkF6KBHC2Xjs = require('../../chunk-F6KBHC2X.js');
28
+ var _chunkC2LEIBUKjs = require('../../chunk-C2LEIBUK.js');
29
29
 
30
30
 
31
- var _chunk5IE6DZ2Djs = require('../../chunk-5IE6DZ2D.js');
31
+ var _chunkW73JBOIRjs = require('../../chunk-W73JBOIR.js');
32
32
  require('../../chunk-LXKSUWAV.js');
33
33
  require('../../chunk-IBS6NI7D.js');
34
34
  require('../../chunk-QWCAOLBD.js');
@@ -42,7 +42,7 @@ var _react = require('react');
42
42
  var _jsxruntime = require('react/jsx-runtime');
43
43
  var HelpContext = _react.createContext.call(void 0, null);
44
44
  function HelpProvider({ children }) {
45
- const cfg = _chunkF6KBHC2Xjs._getStaticHelpContent.call(void 0, );
45
+ const cfg = _chunkC2LEIBUKjs._getStaticHelpContent.call(void 0, );
46
46
  if (!cfg) {
47
47
  throw new Error(
48
48
  "Help content not configured \u2014 call configureJsonApi({ helpContent: {...} }) before importing help components."
@@ -74,29 +74,29 @@ var _lucidereact = require('lucide-react');
74
74
 
75
75
 
76
76
  function HelpAssistantSheet({ open, onOpenChange }) {
77
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
78
- _chunkTVJFCWSTjs.SheetContent,
77
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
78
+ _chunkIWSLZEWZjs.SheetContent,
79
79
  {
80
80
  side: "right",
81
81
  className: "flex w-full flex-col data-[side=right]:sm:max-w-2xl data-[side=right]:lg:max-w-3xl",
82
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
82
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
83
83
  }
84
84
  ) });
85
85
  }
86
86
  _chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheet, "HelpAssistantSheet");
87
87
  function HelpAssistantSheetBody() {
88
88
  const t = _nextintl.useTranslations.call(void 0, );
89
- const ctx = _chunkTVJFCWSTjs.useAssistantContext.call(void 0, );
89
+ const ctx = _chunkIWSLZEWZjs.useAssistantContext.call(void 0, );
90
90
  const showThread = !!ctx.assistant || ctx.sending || ctx.messages.length > 0;
91
91
  const send = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (content) => ctx.sendMessage(content, { howToMode: true }), "send");
92
92
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
93
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTVJFCWSTjs.SheetHeader, { children: [
94
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
95
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
93
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIWSLZEWZjs.SheetHeader, { children: [
94
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
95
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
96
96
  ] }),
97
- !showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
97
+ !showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
98
98
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
99
- _chunkTVJFCWSTjs.AssistantThread,
99
+ _chunkIWSLZEWZjs.AssistantThread,
100
100
  {
101
101
  messages: ctx.messages,
102
102
  sending: ctx.sending,
@@ -106,7 +106,7 @@ function HelpAssistantSheetBody() {
106
106
  onRetry: ctx.retrySend
107
107
  }
108
108
  ),
109
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.AssistantComposer, { onSend: send, disabled: ctx.sending })
109
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.AssistantComposer, { onSend: send, disabled: ctx.sending })
110
110
  ] })
111
111
  ] });
112
112
  }
@@ -116,20 +116,20 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheetBody, "HelpAssistantSheet
116
116
 
117
117
  function HelpAskAi() {
118
118
  const t = _nextintl.useTranslations.call(void 0, );
119
- const { currentUser } = _chunkTVJFCWSTjs.useCurrentUserContext.call(void 0, );
119
+ const { currentUser } = _chunkIWSLZEWZjs.useCurrentUserContext.call(void 0, );
120
120
  const [open, setOpen] = _react.useState.call(void 0, false);
121
121
  const disabled = !currentUser;
122
122
  if (disabled) {
123
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTVJFCWSTjs.Tooltip, { children: [
124
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTVJFCWSTjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.Button, { variant: "outline", size: "sm", disabled: true }), children: [
123
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIWSLZEWZjs.Tooltip, { children: [
124
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIWSLZEWZjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.Button, { variant: "outline", size: "sm", disabled: true }), children: [
125
125
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
126
126
  t("help.askAi.button")
127
127
  ] }),
128
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.TooltipContent, { children: t("help.askAi.loginTooltip") })
128
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.TooltipContent, { children: t("help.askAi.loginTooltip") })
129
129
  ] });
130
130
  }
131
131
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
132
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTVJFCWSTjs.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
132
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIWSLZEWZjs.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
133
133
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
134
134
  t("help.askAi.button")
135
135
  ] }),
@@ -142,7 +142,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAskAi, "HelpAskAi");
142
142
 
143
143
  function HelpHeader() {
144
144
  const t = _nextintl.useTranslations.call(void 0, );
145
- const { currentUser } = _chunkTVJFCWSTjs.useCurrentUserContext.call(void 0, );
145
+ const { currentUser } = _chunkIWSLZEWZjs.useCurrentUserContext.call(void 0, );
146
146
  const { brand } = useHelp();
147
147
  const logo = _optionalChain([brand, 'optionalAccess', _ => _.logo]);
148
148
  const label = _nullishCoalesce(_optionalChain([brand, 'optionalAccess', _2 => _2.label]), () => ( "Help"));
@@ -158,7 +158,7 @@ function HelpHeader() {
158
158
  ] }),
159
159
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
160
160
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAskAi, {}),
161
- currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.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, _chunkTVJFCWSTjs.Button, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login" }), nativeButton: false, variant: "outline", size: "sm", children: t("help.header.login") })
161
+ currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.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, _chunkIWSLZEWZjs.Button, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login" }), nativeButton: false, variant: "outline", size: "sm", children: t("help.header.login") })
162
162
  ] })
163
163
  ] });
164
164
  }
@@ -200,12 +200,12 @@ _chunk7QVYU63Ejs.__name.call(void 0, useHelpFilter, "useHelpFilter");
200
200
 
201
201
  function HelpSideNav() {
202
202
  const t = _nextintl.useTranslations.call(void 0, );
203
- const generateUrl = _chunkTVJFCWSTjs.usePageUrlGenerator.call(void 0, );
203
+ const generateUrl = _chunkIWSLZEWZjs.usePageUrlGenerator.call(void 0, );
204
204
  const pathname = _navigation.usePathname.call(void 0, );
205
205
  const [articles, setArticles] = _react.useState.call(void 0, []);
206
206
  _react.useEffect.call(void 0, () => {
207
207
  let active = true;
208
- _chunk5IE6DZ2Djs.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
208
+ _chunkW73JBOIRjs.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
209
209
  return () => {
210
210
  active = false;
211
211
  };
@@ -281,7 +281,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpSideNav, "HelpSideNav");
281
281
  function HelpArticleBody(props) {
282
282
  const t = _nextintl.useTranslations.call(void 0, );
283
283
  const format = _nextintl.useFormatter.call(void 0, );
284
- const generateUrl = _chunkTVJFCWSTjs.usePageUrlGenerator.call(void 0, );
284
+ const generateUrl = _chunkIWSLZEWZjs.usePageUrlGenerator.call(void 0, );
285
285
  const { howToType, title, summary, updatedAt, prev, next, children } = props;
286
286
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: "prose dark:prose-invert max-w-none", children: [
287
287
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: "text-muted-foreground mb-2 text-xs", children: [
@@ -338,7 +338,7 @@ function HelpTOC({ headings }) {
338
338
  }, [headings]);
339
339
  if (headings.length === 0) return null;
340
340
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { "aria-label": t("help.toc.title"), className: "hidden lg:block", children: [
341
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.MicroLabel, { className: "mb-2", children: t("help.toc.title") }),
341
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.MicroLabel, { className: "mb-2", children: t("help.toc.title") }),
342
342
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "space-y-1 text-sm", children: headings.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { style: { paddingLeft: `${(h.depth - 2) * 0.75}rem` }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
343
343
  "a",
344
344
  {
@@ -359,13 +359,13 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpTOC, "HelpTOC");
359
359
 
360
360
  function HelpHint({ contextKey }) {
361
361
  const t = _nextintl.useTranslations.call(void 0, );
362
- const generateUrl = _chunkTVJFCWSTjs.usePageUrlGenerator.call(void 0, );
362
+ const generateUrl = _chunkIWSLZEWZjs.usePageUrlGenerator.call(void 0, );
363
363
  const [open, setOpen] = _react.useState.call(void 0, false);
364
364
  const [picked, setPicked] = _react.useState.call(void 0, null);
365
365
  const [articles, setArticles] = _react.useState.call(void 0, []);
366
366
  _react.useEffect.call(void 0, () => {
367
367
  let active2 = true;
368
- _chunk5IE6DZ2Djs.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
368
+ _chunkW73JBOIRjs.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
369
369
  return () => {
370
370
  active2 = false;
371
371
  };
@@ -377,7 +377,7 @@ function HelpHint({ contextKey }) {
377
377
  if (matches.length === 0) return null;
378
378
  const active = _nullishCoalesce(picked, () => ( (matches.length === 1 ? matches[0] : null)));
379
379
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
380
- _chunkTVJFCWSTjs.Sheet,
380
+ _chunkIWSLZEWZjs.Sheet,
381
381
  {
382
382
  open,
383
383
  onOpenChange: (o) => {
@@ -385,11 +385,11 @@ function HelpHint({ contextKey }) {
385
385
  if (!o) setPicked(null);
386
386
  },
387
387
  children: [
388
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.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" }) }),
389
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTVJFCWSTjs.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
390
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTVJFCWSTjs.SheetHeader, { children: [
391
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
392
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
388
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.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" }) }),
389
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIWSLZEWZjs.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
390
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIWSLZEWZjs.SheetHeader, { children: [
391
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
392
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
393
393
  ] }),
394
394
  active ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-4 space-y-3", children: [
395
395
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground text-sm", children: active.summary }),
@@ -421,18 +421,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpHint, "HelpHint");
421
421
 
422
422
  function HelpSearchResultRow({ result, onSelect }) {
423
423
  const t = _nextintl.useTranslations.call(void 0, );
424
- const generateUrl = _chunkTVJFCWSTjs.usePageUrlGenerator.call(void 0, );
424
+ const generateUrl = _chunkIWSLZEWZjs.usePageUrlGenerator.call(void 0, );
425
425
  const [article, setArticle] = _react.useState.call(void 0, null);
426
426
  _react.useEffect.call(void 0, () => {
427
427
  let active = true;
428
- _chunk5IE6DZ2Djs.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
428
+ _chunkW73JBOIRjs.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
429
429
  return () => {
430
430
  active = false;
431
431
  };
432
432
  }, [result.id]);
433
433
  if (!article) {
434
434
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
435
- _chunkTVJFCWSTjs.CommandItem,
435
+ _chunkIWSLZEWZjs.CommandItem,
436
436
  {
437
437
  value: result.id,
438
438
  disabled: true,
@@ -441,7 +441,7 @@ function HelpSearchResultRow({ result, onSelect }) {
441
441
  }
442
442
  );
443
443
  }
444
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVJFCWSTjs.CommandItem, { value: result.id, onSelect, className: "cursor-pointer p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
444
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIWSLZEWZjs.CommandItem, { value: result.id, onSelect, className: "cursor-pointer p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
445
445
  _link2.default,
446
446
  {
447
447
  href: generateUrl({ page: `/help/${article.howToType}/${article.slug}` }),
@@ -22,13 +22,13 @@ import {
22
22
  useAssistantContext,
23
23
  useCurrentUserContext,
24
24
  usePageUrlGenerator
25
- } from "../../chunk-WEDLGKSS.mjs";
25
+ } from "../../chunk-MZAD63EI.mjs";
26
26
  import {
27
27
  _getStaticHelpContent
28
- } from "../../chunk-VSAAVVHY.mjs";
28
+ } from "../../chunk-M5IAN7IR.mjs";
29
29
  import {
30
30
  HowToService
31
- } from "../../chunk-DZL2G7NB.mjs";
31
+ } from "../../chunk-DVOBOFCF.mjs";
32
32
  import "../../chunk-AUXK7QSA.mjs";
33
33
  import "../../chunk-C7C7VY4F.mjs";
34
34
  import "../../chunk-Z2CB63VG.mjs";
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiD
3
3
  export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-CYEcRUrh.mjs';
4
4
  export { A as ApiResponseInterface } from './ApiResponseInterface-rsXRL_Hn.mjs';
5
5
  import { AbstractApiData } from './core/index.mjs';
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, CodiceFiscaleValidationOptions, 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, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva } from './core/index.mjs';
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, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, 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, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva } from './core/index.mjs';
7
7
  import { b as AbstractService } from './s3.service-CBqyDZyz.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-CBqyDZyz.mjs';
9
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-DH1QwtC_.mjs';
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiD
3
3
  export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-CYEcRUrh.js';
4
4
  export { A as ApiResponseInterface } from './ApiResponseInterface-CWLvSCvS.js';
5
5
  import { AbstractApiData } from './core/index.js';
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, CodiceFiscaleValidationOptions, 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, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva } from './core/index.js';
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, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, 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, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva } from './core/index.js';
7
7
  import { b as AbstractService } from './s3.service-gcEjq8gF.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-gcEjq8gF.js';
9
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-giWvsOrX.js';
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
 
20
20
 
21
- var _chunkF6KBHC2Xjs = require('./chunk-F6KBHC2X.js');
21
+ var _chunkC2LEIBUKjs = require('./chunk-C2LEIBUK.js');
22
22
 
23
23
 
24
24
 
@@ -204,7 +204,9 @@ var _chunkF6KBHC2Xjs = require('./chunk-F6KBHC2X.js');
204
204
 
205
205
 
206
206
 
207
- var _chunk5IE6DZ2Djs = require('./chunk-5IE6DZ2D.js');
207
+
208
+
209
+ var _chunkW73JBOIRjs = require('./chunk-W73JBOIR.js');
208
210
  require('./chunk-LXKSUWAV.js');
209
211
  require('./chunk-IBS6NI7D.js');
210
212
 
@@ -433,5 +435,7 @@ require('./chunk-7QVYU63E.js');
433
435
 
434
436
 
435
437
 
436
- exports.ACTION_TYPES = _chunkF6KBHC2Xjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunk5IE6DZ2Djs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk5IE6DZ2Djs.AbstractApiData; exports.AbstractService = _chunk5IE6DZ2Djs.AbstractService; exports.Action = _chunk5IE6DZ2Djs.Action; exports.Assistant = _chunk5IE6DZ2Djs.Assistant; exports.AssistantMessage = _chunk5IE6DZ2Djs.AssistantMessage; exports.AssistantMessageModule = _chunk5IE6DZ2Djs.AssistantMessageModule; exports.AssistantMessageService = _chunk5IE6DZ2Djs.AssistantMessageService; exports.AssistantModule = _chunk5IE6DZ2Djs.AssistantModule; exports.AssistantService = _chunk5IE6DZ2Djs.AssistantService; exports.AuditLog = _chunk5IE6DZ2Djs.AuditLog; exports.AuditLogModule = _chunk5IE6DZ2Djs.AuditLogModule; exports.AuditLogService = _chunk5IE6DZ2Djs.AuditLogService; exports.Auth = _chunk5IE6DZ2Djs.Auth; exports.AuthComponent = _chunk5IE6DZ2Djs.AuthComponent; exports.AuthModule = _chunk5IE6DZ2Djs.AuthModule; exports.AuthService = _chunk5IE6DZ2Djs.AuthService; exports.AuthorModule = _chunk5IE6DZ2Djs.AuthorModule; exports.BackupCodeVerify = _chunk5IE6DZ2Djs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk5IE6DZ2Djs.BackupCodeVerifyModule; exports.Billing = _chunk5IE6DZ2Djs.Billing; exports.BillingModule = _chunk5IE6DZ2Djs.BillingModule; exports.BillingService = _chunk5IE6DZ2Djs.BillingService; exports.BlockNoteDiffUtil = _chunk5IE6DZ2Djs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk5IE6DZ2Djs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkF6KBHC2Xjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunk5IE6DZ2Djs.Chunk; exports.ChunkModule = _chunk5IE6DZ2Djs.ChunkModule; exports.ClientAbstractService = _chunk5IE6DZ2Djs.ClientAbstractService; exports.ClientHttpMethod = _chunk5IE6DZ2Djs.ClientHttpMethod; exports.Company = _chunk5IE6DZ2Djs.Company; exports.CompanyFields = _chunk5IE6DZ2Djs.CompanyFields; exports.CompanyModule = _chunk5IE6DZ2Djs.CompanyModule; exports.CompanyService = _chunk5IE6DZ2Djs.CompanyService; exports.Content = _chunk5IE6DZ2Djs.Content; exports.ContentFields = _chunk5IE6DZ2Djs.ContentFields; exports.ContentModule = _chunk5IE6DZ2Djs.ContentModule; exports.ContentService = _chunk5IE6DZ2Djs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk5IE6DZ2Djs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkQWCAOLBDjs.DataClassRegistry; exports.DataClassRegistry = _chunkQWCAOLBDjs.DataClassRegistry; exports.EndpointCreator = _chunk5IE6DZ2Djs.EndpointCreator; exports.Feature = _chunk5IE6DZ2Djs.Feature; exports.FeatureModule = _chunk5IE6DZ2Djs.FeatureModule; exports.FeatureService = _chunk5IE6DZ2Djs.FeatureService; exports.HowTo = _chunk5IE6DZ2Djs.HowTo; exports.HowToFields = _chunk5IE6DZ2Djs.HowToFields; exports.HowToModule = _chunk5IE6DZ2Djs.HowToModule; exports.HowToService = _chunk5IE6DZ2Djs.HowToService; exports.HttpMethod = _chunk5IE6DZ2Djs.HttpMethod; exports.InvoiceStatus = _chunk5IE6DZ2Djs.InvoiceStatus; exports.JsonApiDataFactory = _chunkQWCAOLBDjs.JsonApiDataFactory; exports.Module = _chunk5IE6DZ2Djs.Module; exports.ModuleModule = _chunk5IE6DZ2Djs.ModuleModule; exports.ModulePaths = _chunk5IE6DZ2Djs.ModulePaths; exports.ModulePathsModule = _chunk5IE6DZ2Djs.ModulePathsModule; exports.ModuleRegistrar = _chunk5IE6DZ2Djs.ModuleRegistrar; exports.ModuleRegistry = _chunk5IE6DZ2Djs.ModuleRegistry; exports.Modules = _chunk5IE6DZ2Djs.Modules; exports.Notification = _chunk5IE6DZ2Djs.Notification; exports.NotificationFields = _chunk5IE6DZ2Djs.NotificationFields; exports.NotificationModule = _chunk5IE6DZ2Djs.NotificationModule; exports.NotificationService = _chunk5IE6DZ2Djs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk5IE6DZ2Djs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk5IE6DZ2Djs.OAuthClient; exports.OAuthModule = _chunk5IE6DZ2Djs.OAuthModule; exports.OAuthService = _chunk5IE6DZ2Djs.OAuthService; exports.Passkey = _chunk5IE6DZ2Djs.Passkey; exports.PasskeyAuthenticationOptions = _chunk5IE6DZ2Djs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk5IE6DZ2Djs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk5IE6DZ2Djs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk5IE6DZ2Djs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk5IE6DZ2Djs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk5IE6DZ2Djs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk5IE6DZ2Djs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk5IE6DZ2Djs.PasskeyRename; exports.PasskeyRenameModule = _chunk5IE6DZ2Djs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk5IE6DZ2Djs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk5IE6DZ2Djs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk5IE6DZ2Djs.PaymentMethod; exports.PermissionMapping = _chunk5IE6DZ2Djs.PermissionMapping; exports.PermissionMappingModule = _chunk5IE6DZ2Djs.PermissionMappingModule; exports.Push = _chunk5IE6DZ2Djs.Push; exports.PushModule = _chunk5IE6DZ2Djs.PushModule; exports.PushService = _chunk5IE6DZ2Djs.PushService; exports.RbacMatrixModel = _chunk5IE6DZ2Djs.RbacMatrixModel; exports.RbacMatrixModule = _chunk5IE6DZ2Djs.RbacMatrixModule; exports.RbacService = _chunkF6KBHC2Xjs.RbacService; exports.ReferralModule = _chunk5IE6DZ2Djs.ReferralModule; exports.ReferralService = _chunk5IE6DZ2Djs.ReferralService; exports.ReferralStats = _chunk5IE6DZ2Djs.ReferralStats; exports.ReferralStatsModule = _chunk5IE6DZ2Djs.ReferralStatsModule; exports.RehydrationFactory = _chunk5IE6DZ2Djs.RehydrationFactory; exports.Role = _chunk5IE6DZ2Djs.Role; exports.RoleFields = _chunk5IE6DZ2Djs.RoleFields; exports.RoleModule = _chunk5IE6DZ2Djs.RoleModule; exports.RoleService = _chunk5IE6DZ2Djs.RoleService; exports.S3 = _chunk5IE6DZ2Djs.S3; exports.S3Module = _chunk5IE6DZ2Djs.S3Module; exports.S3Service = _chunk5IE6DZ2Djs.S3Service; exports.StripeCustomer = _chunk5IE6DZ2Djs.StripeCustomer; exports.StripeCustomerModule = _chunk5IE6DZ2Djs.StripeCustomerModule; exports.StripeCustomerService = _chunk5IE6DZ2Djs.StripeCustomerService; exports.StripeInvoice = _chunk5IE6DZ2Djs.StripeInvoice; exports.StripeInvoiceModule = _chunk5IE6DZ2Djs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk5IE6DZ2Djs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk5IE6DZ2Djs.StripePaymentMethodModule; exports.StripePrice = _chunk5IE6DZ2Djs.StripePrice; exports.StripePriceModule = _chunk5IE6DZ2Djs.StripePriceModule; exports.StripePriceService = _chunk5IE6DZ2Djs.StripePriceService; exports.StripeProduct = _chunk5IE6DZ2Djs.StripeProduct; exports.StripeProductModule = _chunk5IE6DZ2Djs.StripeProductModule; exports.StripeProductService = _chunk5IE6DZ2Djs.StripeProductService; exports.StripePromotionCode = _chunk5IE6DZ2Djs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk5IE6DZ2Djs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk5IE6DZ2Djs.StripePromotionCodeService; exports.StripeSubscription = _chunk5IE6DZ2Djs.StripeSubscription; exports.StripeSubscriptionModule = _chunk5IE6DZ2Djs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk5IE6DZ2Djs.StripeSubscriptionService; exports.StripeUsage = _chunk5IE6DZ2Djs.StripeUsage; exports.StripeUsageModule = _chunk5IE6DZ2Djs.StripeUsageModule; exports.StripeUsageService = _chunk5IE6DZ2Djs.StripeUsageService; exports.SubscriptionStatus = _chunk5IE6DZ2Djs.SubscriptionStatus; exports.TableOptions = _chunk5IE6DZ2Djs.TableOptions; exports.TotpAuthenticator = _chunk5IE6DZ2Djs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk5IE6DZ2Djs.TotpAuthenticatorModule; exports.TotpSetup = _chunk5IE6DZ2Djs.TotpSetup; exports.TotpSetupModule = _chunk5IE6DZ2Djs.TotpSetupModule; exports.TotpVerify = _chunk5IE6DZ2Djs.TotpVerify; exports.TotpVerifyLogin = _chunk5IE6DZ2Djs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk5IE6DZ2Djs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk5IE6DZ2Djs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk5IE6DZ2Djs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk5IE6DZ2Djs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk5IE6DZ2Djs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk5IE6DZ2Djs.TwoFactorEnableModule; exports.TwoFactorService = _chunk5IE6DZ2Djs.TwoFactorService; exports.TwoFactorStatus = _chunk5IE6DZ2Djs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk5IE6DZ2Djs.TwoFactorStatusModule; exports.User = _chunk5IE6DZ2Djs.User; exports.UserFields = _chunk5IE6DZ2Djs.UserFields; exports.UserModule = _chunk5IE6DZ2Djs.UserModule; exports.UserService = _chunk5IE6DZ2Djs.UserService; exports.Waitlist = _chunk5IE6DZ2Djs.Waitlist; exports.WaitlistModule = _chunk5IE6DZ2Djs.WaitlistModule; exports.WaitlistService = _chunk5IE6DZ2Djs.WaitlistService; exports.WaitlistStats = _chunk5IE6DZ2Djs.WaitlistStats; exports.WaitlistStatsModule = _chunk5IE6DZ2Djs.WaitlistStatsModule; exports.checkPermissions = _chunk5IE6DZ2Djs.checkPermissions; exports.checkPermissionsFromServer = _chunk5IE6DZ2Djs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunk5IE6DZ2Djs.clearLastApiTotal; exports.cn = _chunk5IE6DZ2Djs.cn; exports.composeRefs = _chunk5IE6DZ2Djs.composeRefs; exports.configureAuth = _chunk5IE6DZ2Djs.configureAuth; exports.configureI18n = _chunkF6KBHC2Xjs.configureI18n; exports.configureJsonApi = _chunkF6KBHC2Xjs.configureJsonApi; exports.configureLogin = _chunkF6KBHC2Xjs.configureLogin; exports.configureReferral = _chunkF6KBHC2Xjs.configureReferral; exports.configureRoles = _chunkF6KBHC2Xjs.configureRoles; exports.configureWaitlist = _chunkF6KBHC2Xjs.configureWaitlist; exports.createJsonApiInclusion = _chunk5IE6DZ2Djs.createJsonApiInclusion; exports.dismissToast = _chunk5IE6DZ2Djs.dismissToast; exports.entityObjectSchema = _chunk5IE6DZ2Djs.entityObjectSchema; exports.exists = _chunk5IE6DZ2Djs.exists; exports.formatCodiceFiscale = _chunk5IE6DZ2Djs.formatCodiceFiscale; exports.formatDate = _chunk5IE6DZ2Djs.formatDate; exports.formatLocalDate = _chunk5IE6DZ2Djs.formatLocalDate; exports.formatPartitaIva = _chunk5IE6DZ2Djs.formatPartitaIva; exports.getApiUrl = _chunkF6KBHC2Xjs.getApiUrl; exports.getAppUrl = _chunkF6KBHC2Xjs.getAppUrl; exports.getBootstrapper = _chunkQWCAOLBDjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk5IE6DZ2Djs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk5IE6DZ2Djs.getGlobalErrorHandler; exports.getIcon = _chunk5IE6DZ2Djs.getIcon; exports.getIconByModule = _chunk5IE6DZ2Djs.getIconByModule; exports.getIconByModuleName = _chunk5IE6DZ2Djs.getIconByModuleName; exports.getInitials = _chunk5IE6DZ2Djs.getInitials; exports.getLastApiTotal = _chunk5IE6DZ2Djs.getLastApiTotal; exports.getLucideIcon = _chunk5IE6DZ2Djs.getLucideIcon; exports.getLucideIconByModule = _chunk5IE6DZ2Djs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk5IE6DZ2Djs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkF6KBHC2Xjs.getPublicApiUrl; exports.getReferralConfig = _chunkF6KBHC2Xjs.getReferralConfig; exports.getRoleId = _chunkF6KBHC2Xjs.getRoleId; exports.getStripePublishableKey = _chunkF6KBHC2Xjs.getStripePublishableKey; exports.getTableComponents = _chunk5IE6DZ2Djs.getTableComponents; exports.getTableOptions = _chunk5IE6DZ2Djs.getTableOptions; exports.getTokenHandler = _chunk5IE6DZ2Djs.getTokenHandler; exports.getTrackablePages = _chunkF6KBHC2Xjs.getTrackablePages; exports.getValueFromPath = _chunk5IE6DZ2Djs.getValueFromPath; exports.getWaitlistConfig = _chunkF6KBHC2Xjs.getWaitlistConfig; exports.hasBootstrapper = _chunkQWCAOLBDjs.hasBootstrapper; exports.isReferralEnabled = _chunkF6KBHC2Xjs.isReferralEnabled; exports.isRolesConfigured = _chunkF6KBHC2Xjs.isRolesConfigured; exports.rehydrate = _chunk5IE6DZ2Djs.rehydrate; exports.rehydrateList = _chunk5IE6DZ2Djs.rehydrateList; exports.resetBootstrapStore = _chunkQWCAOLBDjs.resetBootstrapStore; exports.setBootstrapper = _chunkQWCAOLBDjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk5IE6DZ2Djs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk5IE6DZ2Djs.setGlobalErrorHandler; exports.showCustomToast = _chunk5IE6DZ2Djs.showCustomToast; exports.showError = _chunk5IE6DZ2Djs.showError; exports.showToast = _chunk5IE6DZ2Djs.showToast; exports.translateData = _chunkQWCAOLBDjs.translateData; exports.translateResponse = _chunkQWCAOLBDjs.translateResponse; exports.tryBootstrap = _chunkQWCAOLBDjs.tryBootstrap; exports.useComposedRefs = _chunk5IE6DZ2Djs.useComposedRefs; exports.useIsMobile = _chunk5IE6DZ2Djs.useIsMobile; exports.userObjectSchema = _chunk5IE6DZ2Djs.userObjectSchema; exports.validateCodiceFiscale = _chunk5IE6DZ2Djs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunk5IE6DZ2Djs.validateItalianTaxCode; exports.validatePartitaIva = _chunk5IE6DZ2Djs.validatePartitaIva;
438
+
439
+
440
+ exports.ACTION_TYPES = _chunkC2LEIBUKjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkW73JBOIRjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkW73JBOIRjs.AbstractApiData; exports.AbstractService = _chunkW73JBOIRjs.AbstractService; exports.Action = _chunkW73JBOIRjs.Action; exports.Assistant = _chunkW73JBOIRjs.Assistant; exports.AssistantMessage = _chunkW73JBOIRjs.AssistantMessage; exports.AssistantMessageModule = _chunkW73JBOIRjs.AssistantMessageModule; exports.AssistantMessageService = _chunkW73JBOIRjs.AssistantMessageService; exports.AssistantModule = _chunkW73JBOIRjs.AssistantModule; exports.AssistantService = _chunkW73JBOIRjs.AssistantService; exports.AuditLog = _chunkW73JBOIRjs.AuditLog; exports.AuditLogModule = _chunkW73JBOIRjs.AuditLogModule; exports.AuditLogService = _chunkW73JBOIRjs.AuditLogService; exports.Auth = _chunkW73JBOIRjs.Auth; exports.AuthComponent = _chunkW73JBOIRjs.AuthComponent; exports.AuthModule = _chunkW73JBOIRjs.AuthModule; exports.AuthService = _chunkW73JBOIRjs.AuthService; exports.AuthorModule = _chunkW73JBOIRjs.AuthorModule; exports.BackupCodeVerify = _chunkW73JBOIRjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkW73JBOIRjs.BackupCodeVerifyModule; exports.Billing = _chunkW73JBOIRjs.Billing; exports.BillingModule = _chunkW73JBOIRjs.BillingModule; exports.BillingService = _chunkW73JBOIRjs.BillingService; exports.BlockNoteDiffUtil = _chunkW73JBOIRjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkW73JBOIRjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkC2LEIBUKjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkW73JBOIRjs.Chunk; exports.ChunkModule = _chunkW73JBOIRjs.ChunkModule; exports.ClientAbstractService = _chunkW73JBOIRjs.ClientAbstractService; exports.ClientHttpMethod = _chunkW73JBOIRjs.ClientHttpMethod; exports.Company = _chunkW73JBOIRjs.Company; exports.CompanyFields = _chunkW73JBOIRjs.CompanyFields; exports.CompanyModule = _chunkW73JBOIRjs.CompanyModule; exports.CompanyService = _chunkW73JBOIRjs.CompanyService; exports.Content = _chunkW73JBOIRjs.Content; exports.ContentFields = _chunkW73JBOIRjs.ContentFields; exports.ContentModule = _chunkW73JBOIRjs.ContentModule; exports.ContentService = _chunkW73JBOIRjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkW73JBOIRjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkQWCAOLBDjs.DataClassRegistry; exports.DataClassRegistry = _chunkQWCAOLBDjs.DataClassRegistry; exports.EndpointCreator = _chunkW73JBOIRjs.EndpointCreator; exports.Feature = _chunkW73JBOIRjs.Feature; exports.FeatureModule = _chunkW73JBOIRjs.FeatureModule; exports.FeatureService = _chunkW73JBOIRjs.FeatureService; exports.HowTo = _chunkW73JBOIRjs.HowTo; exports.HowToFields = _chunkW73JBOIRjs.HowToFields; exports.HowToModule = _chunkW73JBOIRjs.HowToModule; exports.HowToService = _chunkW73JBOIRjs.HowToService; exports.HttpMethod = _chunkW73JBOIRjs.HttpMethod; exports.InvoiceStatus = _chunkW73JBOIRjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkQWCAOLBDjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkW73JBOIRjs.MOBILE_BREAKPOINT; exports.Module = _chunkW73JBOIRjs.Module; exports.ModuleModule = _chunkW73JBOIRjs.ModuleModule; exports.ModulePaths = _chunkW73JBOIRjs.ModulePaths; exports.ModulePathsModule = _chunkW73JBOIRjs.ModulePathsModule; exports.ModuleRegistrar = _chunkW73JBOIRjs.ModuleRegistrar; exports.ModuleRegistry = _chunkW73JBOIRjs.ModuleRegistry; exports.Modules = _chunkW73JBOIRjs.Modules; exports.Notification = _chunkW73JBOIRjs.Notification; exports.NotificationFields = _chunkW73JBOIRjs.NotificationFields; exports.NotificationModule = _chunkW73JBOIRjs.NotificationModule; exports.NotificationService = _chunkW73JBOIRjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkW73JBOIRjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkW73JBOIRjs.OAuthClient; exports.OAuthModule = _chunkW73JBOIRjs.OAuthModule; exports.OAuthService = _chunkW73JBOIRjs.OAuthService; exports.Passkey = _chunkW73JBOIRjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkW73JBOIRjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkW73JBOIRjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkW73JBOIRjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkW73JBOIRjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkW73JBOIRjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkW73JBOIRjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkW73JBOIRjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkW73JBOIRjs.PasskeyRename; exports.PasskeyRenameModule = _chunkW73JBOIRjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkW73JBOIRjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkW73JBOIRjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkW73JBOIRjs.PaymentMethod; exports.PermissionMapping = _chunkW73JBOIRjs.PermissionMapping; exports.PermissionMappingModule = _chunkW73JBOIRjs.PermissionMappingModule; exports.Push = _chunkW73JBOIRjs.Push; exports.PushModule = _chunkW73JBOIRjs.PushModule; exports.PushService = _chunkW73JBOIRjs.PushService; exports.RbacMatrixModel = _chunkW73JBOIRjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkW73JBOIRjs.RbacMatrixModule; exports.RbacService = _chunkC2LEIBUKjs.RbacService; exports.ReferralModule = _chunkW73JBOIRjs.ReferralModule; exports.ReferralService = _chunkW73JBOIRjs.ReferralService; exports.ReferralStats = _chunkW73JBOIRjs.ReferralStats; exports.ReferralStatsModule = _chunkW73JBOIRjs.ReferralStatsModule; exports.RehydrationFactory = _chunkW73JBOIRjs.RehydrationFactory; exports.Role = _chunkW73JBOIRjs.Role; exports.RoleFields = _chunkW73JBOIRjs.RoleFields; exports.RoleModule = _chunkW73JBOIRjs.RoleModule; exports.RoleService = _chunkW73JBOIRjs.RoleService; exports.S3 = _chunkW73JBOIRjs.S3; exports.S3Module = _chunkW73JBOIRjs.S3Module; exports.S3Service = _chunkW73JBOIRjs.S3Service; exports.StripeCustomer = _chunkW73JBOIRjs.StripeCustomer; exports.StripeCustomerModule = _chunkW73JBOIRjs.StripeCustomerModule; exports.StripeCustomerService = _chunkW73JBOIRjs.StripeCustomerService; exports.StripeInvoice = _chunkW73JBOIRjs.StripeInvoice; exports.StripeInvoiceModule = _chunkW73JBOIRjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkW73JBOIRjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkW73JBOIRjs.StripePaymentMethodModule; exports.StripePrice = _chunkW73JBOIRjs.StripePrice; exports.StripePriceModule = _chunkW73JBOIRjs.StripePriceModule; exports.StripePriceService = _chunkW73JBOIRjs.StripePriceService; exports.StripeProduct = _chunkW73JBOIRjs.StripeProduct; exports.StripeProductModule = _chunkW73JBOIRjs.StripeProductModule; exports.StripeProductService = _chunkW73JBOIRjs.StripeProductService; exports.StripePromotionCode = _chunkW73JBOIRjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkW73JBOIRjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkW73JBOIRjs.StripePromotionCodeService; exports.StripeSubscription = _chunkW73JBOIRjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkW73JBOIRjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkW73JBOIRjs.StripeSubscriptionService; exports.StripeUsage = _chunkW73JBOIRjs.StripeUsage; exports.StripeUsageModule = _chunkW73JBOIRjs.StripeUsageModule; exports.StripeUsageService = _chunkW73JBOIRjs.StripeUsageService; exports.SubscriptionStatus = _chunkW73JBOIRjs.SubscriptionStatus; exports.TableOptions = _chunkW73JBOIRjs.TableOptions; exports.TotpAuthenticator = _chunkW73JBOIRjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkW73JBOIRjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkW73JBOIRjs.TotpSetup; exports.TotpSetupModule = _chunkW73JBOIRjs.TotpSetupModule; exports.TotpVerify = _chunkW73JBOIRjs.TotpVerify; exports.TotpVerifyLogin = _chunkW73JBOIRjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkW73JBOIRjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkW73JBOIRjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkW73JBOIRjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkW73JBOIRjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkW73JBOIRjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkW73JBOIRjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkW73JBOIRjs.TwoFactorService; exports.TwoFactorStatus = _chunkW73JBOIRjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkW73JBOIRjs.TwoFactorStatusModule; exports.User = _chunkW73JBOIRjs.User; exports.UserFields = _chunkW73JBOIRjs.UserFields; exports.UserModule = _chunkW73JBOIRjs.UserModule; exports.UserService = _chunkW73JBOIRjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkW73JBOIRjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkW73JBOIRjs.Waitlist; exports.WaitlistModule = _chunkW73JBOIRjs.WaitlistModule; exports.WaitlistService = _chunkW73JBOIRjs.WaitlistService; exports.WaitlistStats = _chunkW73JBOIRjs.WaitlistStats; exports.WaitlistStatsModule = _chunkW73JBOIRjs.WaitlistStatsModule; exports.checkPermissions = _chunkW73JBOIRjs.checkPermissions; exports.checkPermissionsFromServer = _chunkW73JBOIRjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkW73JBOIRjs.clearLastApiTotal; exports.cn = _chunkW73JBOIRjs.cn; exports.composeRefs = _chunkW73JBOIRjs.composeRefs; exports.configureAuth = _chunkW73JBOIRjs.configureAuth; exports.configureI18n = _chunkC2LEIBUKjs.configureI18n; exports.configureJsonApi = _chunkC2LEIBUKjs.configureJsonApi; exports.configureLogin = _chunkC2LEIBUKjs.configureLogin; exports.configureReferral = _chunkC2LEIBUKjs.configureReferral; exports.configureRoles = _chunkC2LEIBUKjs.configureRoles; exports.configureWaitlist = _chunkC2LEIBUKjs.configureWaitlist; exports.createJsonApiInclusion = _chunkW73JBOIRjs.createJsonApiInclusion; exports.dismissToast = _chunkW73JBOIRjs.dismissToast; exports.entityObjectSchema = _chunkW73JBOIRjs.entityObjectSchema; exports.exists = _chunkW73JBOIRjs.exists; exports.formatCodiceFiscale = _chunkW73JBOIRjs.formatCodiceFiscale; exports.formatDate = _chunkW73JBOIRjs.formatDate; exports.formatLocalDate = _chunkW73JBOIRjs.formatLocalDate; exports.formatPartitaIva = _chunkW73JBOIRjs.formatPartitaIva; exports.getApiUrl = _chunkC2LEIBUKjs.getApiUrl; exports.getAppUrl = _chunkC2LEIBUKjs.getAppUrl; exports.getBootstrapper = _chunkQWCAOLBDjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkW73JBOIRjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkW73JBOIRjs.getGlobalErrorHandler; exports.getIcon = _chunkW73JBOIRjs.getIcon; exports.getIconByModule = _chunkW73JBOIRjs.getIconByModule; exports.getIconByModuleName = _chunkW73JBOIRjs.getIconByModuleName; exports.getInitials = _chunkW73JBOIRjs.getInitials; exports.getLastApiTotal = _chunkW73JBOIRjs.getLastApiTotal; exports.getLucideIcon = _chunkW73JBOIRjs.getLucideIcon; exports.getLucideIconByModule = _chunkW73JBOIRjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkW73JBOIRjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkC2LEIBUKjs.getPublicApiUrl; exports.getReferralConfig = _chunkC2LEIBUKjs.getReferralConfig; exports.getRoleId = _chunkC2LEIBUKjs.getRoleId; exports.getStripePublishableKey = _chunkC2LEIBUKjs.getStripePublishableKey; exports.getTableComponents = _chunkW73JBOIRjs.getTableComponents; exports.getTableOptions = _chunkW73JBOIRjs.getTableOptions; exports.getTokenHandler = _chunkW73JBOIRjs.getTokenHandler; exports.getTrackablePages = _chunkC2LEIBUKjs.getTrackablePages; exports.getValueFromPath = _chunkW73JBOIRjs.getValueFromPath; exports.getWaitlistConfig = _chunkC2LEIBUKjs.getWaitlistConfig; exports.hasBootstrapper = _chunkQWCAOLBDjs.hasBootstrapper; exports.isReferralEnabled = _chunkC2LEIBUKjs.isReferralEnabled; exports.isRolesConfigured = _chunkC2LEIBUKjs.isRolesConfigured; exports.rehydrate = _chunkW73JBOIRjs.rehydrate; exports.rehydrateList = _chunkW73JBOIRjs.rehydrateList; exports.resetBootstrapStore = _chunkQWCAOLBDjs.resetBootstrapStore; exports.setBootstrapper = _chunkQWCAOLBDjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkW73JBOIRjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkW73JBOIRjs.setGlobalErrorHandler; exports.showCustomToast = _chunkW73JBOIRjs.showCustomToast; exports.showError = _chunkW73JBOIRjs.showError; exports.showToast = _chunkW73JBOIRjs.showToast; exports.translateData = _chunkQWCAOLBDjs.translateData; exports.translateResponse = _chunkQWCAOLBDjs.translateResponse; exports.tryBootstrap = _chunkQWCAOLBDjs.tryBootstrap; exports.useComposedRefs = _chunkW73JBOIRjs.useComposedRefs; exports.useIsMobile = _chunkW73JBOIRjs.useIsMobile; exports.userObjectSchema = _chunkW73JBOIRjs.userObjectSchema; exports.validateCodiceFiscale = _chunkW73JBOIRjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkW73JBOIRjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkW73JBOIRjs.validatePartitaIva;
437
441
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,6lZAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,muZAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  getWaitlistConfig,
19
19
  isReferralEnabled,
20
20
  isRolesConfigured
21
- } from "./chunk-VSAAVVHY.mjs";
21
+ } from "./chunk-M5IAN7IR.mjs";
22
22
  import {
23
23
  AVAILABLE_OAUTH_SCOPES,
24
24
  AbstractApiData,
@@ -68,6 +68,7 @@ import {
68
68
  HowToService,
69
69
  HttpMethod,
70
70
  InvoiceStatus,
71
+ MOBILE_BREAKPOINT,
71
72
  Module,
72
73
  ModuleModule,
73
74
  ModulePaths,
@@ -158,6 +159,7 @@ import {
158
159
  UserFields,
159
160
  UserModule,
160
161
  UserService,
162
+ VIEWPORT_COOKIE_NAME,
161
163
  Waitlist,
162
164
  WaitlistModule,
163
165
  WaitlistService,
@@ -204,7 +206,7 @@ import {
204
206
  validateCodiceFiscale,
205
207
  validateItalianTaxCode,
206
208
  validatePartitaIva
207
- } from "./chunk-DZL2G7NB.mjs";
209
+ } from "./chunk-DVOBOFCF.mjs";
208
210
  import "./chunk-AUXK7QSA.mjs";
209
211
  import "./chunk-C7C7VY4F.mjs";
210
212
  import {
@@ -273,6 +275,7 @@ export {
273
275
  HttpMethod,
274
276
  InvoiceStatus,
275
277
  JsonApiDataFactory,
278
+ MOBILE_BREAKPOINT,
276
279
  Module,
277
280
  ModuleModule,
278
281
  ModulePaths,
@@ -364,6 +367,7 @@ export {
364
367
  UserFields,
365
368
  UserModule,
366
369
  UserService,
370
+ VIEWPORT_COOKIE_NAME,
367
371
  Waitlist,
368
372
  WaitlistModule,
369
373
  WaitlistService,
@@ -15,7 +15,7 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
15
15
 
16
16
 
17
17
 
18
- var _chunk5IE6DZ2Djs = require('../chunk-5IE6DZ2D.js');
18
+ var _chunkW73JBOIRjs = require('../chunk-W73JBOIR.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 _chunk5IE6DZ2Djs.checkPermissionsFromServer.call(void 0, {
89
+ return _chunkW73JBOIRjs.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 = _chunk5IE6DZ2Djs.AuthService; exports.ServerCompanyService = _chunk5IE6DZ2Djs.CompanyService; exports.ServerContentService = _chunk5IE6DZ2Djs.ContentService; exports.ServerFeatureService = _chunk5IE6DZ2Djs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunk5IE6DZ2Djs.NotificationService; exports.ServerPushService = _chunk5IE6DZ2Djs.PushService; exports.ServerRoleService = _chunk5IE6DZ2Djs.RoleService; exports.ServerS3Service = _chunk5IE6DZ2Djs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunk5IE6DZ2Djs.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;
299
+ exports.ServerAuthService = _chunkW73JBOIRjs.AuthService; exports.ServerCompanyService = _chunkW73JBOIRjs.CompanyService; exports.ServerContentService = _chunkW73JBOIRjs.ContentService; exports.ServerFeatureService = _chunkW73JBOIRjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkW73JBOIRjs.NotificationService; exports.ServerPushService = _chunkW73JBOIRjs.PushService; exports.ServerRoleService = _chunkW73JBOIRjs.RoleService; exports.ServerS3Service = _chunkW73JBOIRjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkW73JBOIRjs.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
@@ -15,7 +15,7 @@ import {
15
15
  S3Service,
16
16
  UserService,
17
17
  checkPermissionsFromServer
18
- } from "../chunk-DZL2G7NB.mjs";
18
+ } from "../chunk-DVOBOFCF.mjs";
19
19
  import "../chunk-AUXK7QSA.mjs";
20
20
  import "../chunk-C7C7VY4F.mjs";
21
21
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "1.133.0",
3
+ "version": "1.135.0",
4
4
  "description": "Next.js JSON:API client with server/client support and caching",
5
5
  "author": "Carlo Nicora",
6
6
  "license": "GPL-3.0-or-later",
@@ -1,7 +1,8 @@
1
1
  "use client";
2
2
 
3
- import { useHeaderChildren } from "../../contexts/HeaderChildrenContext";
3
+ import { useHeaderChildren, useHeaderMobileChildren } from "../../contexts/HeaderChildrenContext";
4
4
  import { useHeaderLeftContent } from "../../contexts/HeaderLeftContentContext";
5
+ import { useHeaderLogo } from "../../contexts/HeaderLogoContext";
5
6
  import { cn } from "../../utils";
6
7
  import { Header } from "../navigations";
7
8
 
@@ -9,11 +10,15 @@ type PageContainerProps = { children: React.ReactNode; testId?: string; classNam
9
10
 
10
11
  export function PageContainer({ children, testId, className }: PageContainerProps) {
11
12
  const headerChildren = useHeaderChildren();
13
+ const headerMobileChildren = useHeaderMobileChildren();
12
14
  const headerLeftContent = useHeaderLeftContent();
15
+ const headerLogo = useHeaderLogo();
13
16
 
14
17
  return (
15
18
  <div className={`flex h-full w-full flex-col`} data-testid={testId}>
16
- <Header leftContent={headerLeftContent}>{headerChildren}</Header>
19
+ <Header leftContent={headerLeftContent} logo={headerLogo} mobileChildren={headerMobileChildren}>
20
+ {headerChildren}
21
+ </Header>
17
22
  <main className={cn(`flex w-full flex-1 flex-col gap-y-4 pt-4 pl-4 pr-0`, className)}>{children}</main>
18
23
  </div>
19
24
  );
@@ -19,8 +19,8 @@ import {
19
19
  } from "@/components";
20
20
  import { partitionTabs, Tab } from "@/components/containers";
21
21
  import { RoundPageContainerTitle } from "@/components/containers/RoundPageContainerTitle";
22
- import { Header } from "@/components/navigations";
23
- import { useHeaderChildren, useHeaderLeftContent } from "@/contexts";
22
+ import { Header, MobileNavigationBar } from "@/components/navigations";
23
+ import { useHeaderChildren, useHeaderLeftContent, useHeaderLogo, useHeaderMobileChildren } from "@/contexts";
24
24
  import { useUrlRewriter } from "@/hooks";
25
25
  import { cn, useIsMobile } from "@/index";
26
26
  import { ModuleWithPermissions } from "@/permissions";
@@ -85,6 +85,8 @@ export function RoundPageContainer({
85
85
  }: RoundPageContainerProps) {
86
86
  const headerChildren = useHeaderChildren();
87
87
  const headerLeftContent = useHeaderLeftContent();
88
+ const headerLogo = useHeaderLogo();
89
+ const headerMobileChildren = useHeaderMobileChildren();
88
90
  const [showDetails, setShowDetailsState] = useState(false);
89
91
  const isMobile = useIsMobile();
90
92
  const [mounted, setMounted] = useState(false);
@@ -148,18 +150,28 @@ export function RoundPageContainer({
148
150
  [tabs],
149
151
  );
150
152
 
151
- const isReady = mounted && isMobile !== undefined;
153
+ const isReady = mounted;
152
154
 
153
155
  if (!isReady) {
154
156
  return (
155
157
  <>
156
- <Header leftContent={headerLeftContent} className="bg-sidebar border-0">
158
+ <Header
159
+ leftContent={headerLeftContent}
160
+ logo={headerLogo}
161
+ mobileChildren={headerMobileChildren}
162
+ className="bg-sidebar border-0"
163
+ >
157
164
  {headerChildren}
158
165
  </Header>
159
- <div className={cn("flex h-[calc(100vh-3rem)] w-full flex-col", isMobile ? "" : "p-2 pt-0 pl-0")}>
160
- <div className={cn("bg-background flex h-full w-full", isMobile ? "" : "rounded-lg border p-0")}>
166
+ <div className={cn("flex h-[calc(100vh-3rem)] w-full flex-col", isMobile ? "gap-1 p-1 pt-0" : "p-2 pt-0 pl-0")}>
167
+ {/* `min-h-0 flex-1`, NOT `h-full`: the bar below is an in-flow sibling in
168
+ this fixed-height flex column. `h-full` would resolve to 100% of the
169
+ wrapper, leaving no room and pushing the bar below the fold (visible
170
+ only after scrolling to the end of the page). */}
171
+ <div className={cn("bg-background flex min-h-0 w-full flex-1", isMobile ? "" : "rounded-lg border p-0")}>
161
172
  <div className="flex w-full flex-col" />
162
173
  </div>
174
+ <MobileNavigationBar />
163
175
  </div>
164
176
  </>
165
177
  );
@@ -167,11 +179,20 @@ export function RoundPageContainer({
167
179
 
168
180
  return (
169
181
  <>
170
- <Header leftContent={headerLeftContent} className="bg-sidebar border-0">
182
+ <Header
183
+ leftContent={headerLeftContent}
184
+ logo={headerLogo}
185
+ mobileChildren={headerMobileChildren}
186
+ className="bg-sidebar border-0"
187
+ >
171
188
  {headerChildren}
172
189
  </Header>
173
- <div className={cn(`flex h-[calc(100vh-3rem)] w-full flex-col`, isMobile ? "p-1 pt-0" : "p-2 pt-0 pl-0")}>
174
- <div className="bg-background flex h-full w-full rounded-lg border p-0">
190
+ <div className={cn(`flex h-[calc(100vh-3rem)] w-full flex-col`, isMobile ? "gap-1 p-1 pt-0" : "p-2 pt-0 pl-0")}>
191
+ {/* `min-h-0 flex-1`, NOT `h-full`: MobileNavigationBar below is an in-flow
192
+ sibling in this fixed-height flex column. `h-full` resolves to 100% of
193
+ the wrapper, leaving the bar no room and pushing it below the fold —
194
+ it then appears only after scrolling to the very end of the page. */}
195
+ <div className="bg-background flex min-h-0 w-full flex-1 rounded-lg border p-0">
175
196
  <div className="flex w-full flex-col">
176
197
  {(!fullWidth || forceHeader) && (
177
198
  <RoundPageContainerTitle
@@ -397,6 +418,7 @@ export function RoundPageContainer({
397
418
  </div>
398
419
  ))}
399
420
  </div>
421
+ <MobileNavigationBar />
400
422
  </div>
401
423
  </>
402
424
  );