@carlonicora/nextjs-jsonapi 1.141.0 → 1.141.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlockNoteEditor-UNYOBY7K.mjs → BlockNoteEditor-3V7LHCFY.mjs} +2 -2
- package/dist/{BlockNoteEditor-HTTA7FIH.js → BlockNoteEditor-S6LWQDMF.js} +9 -9
- package/dist/{BlockNoteEditor-HTTA7FIH.js.map → BlockNoteEditor-S6LWQDMF.js.map} +1 -1
- package/dist/billing/index.js +310 -310
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-7TKD4SMQ.mjs → chunk-7ZEETAQV.mjs} +23 -12
- package/dist/chunk-7ZEETAQV.mjs.map +1 -0
- package/dist/{chunk-QCLR35VY.js → chunk-S4G7IXZZ.js} +22 -11
- package/dist/chunk-S4G7IXZZ.js.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/dist/features/help/index.js +31 -31
- package/dist/features/help/index.mjs +1 -1
- package/dist/server/index.js +3 -3
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/index.mjs.map +1 -1
- package/package.json +51 -52
- package/src/components/forms/EditorSheet.tsx +41 -7
- package/src/components/forms/FileUploader.tsx +18 -3
- package/src/components/forms/FormInput.tsx +1 -2
- package/src/features/auth/utils/AuthCookies.ts +2 -2
- package/src/server/ServerSession.ts +2 -2
- package/src/shadcnui/ui/calendar.tsx +1 -1
- package/dist/chunk-7TKD4SMQ.mjs.map +0 -1
- package/dist/chunk-QCLR35VY.js.map +0 -1
- /package/dist/{BlockNoteEditor-UNYOBY7K.mjs.map → BlockNoteEditor-3V7LHCFY.mjs.map} +0 -0
package/dist/client/index.js
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkS4G7IXZZjs = require('../chunk-S4G7IXZZ.js');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -125,5 +125,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
|
|
128
|
-
exports.ClientJsonApiDelete = _chunkAGKZCRG2js.ClientJsonApiDelete; exports.ClientJsonApiGet = _chunkAGKZCRG2js.ClientJsonApiGet; exports.ClientJsonApiPatch = _chunkAGKZCRG2js.ClientJsonApiPatch; exports.ClientJsonApiPost = _chunkAGKZCRG2js.ClientJsonApiPost; exports.ClientJsonApiPut = _chunkAGKZCRG2js.ClientJsonApiPut; exports.JsonApiContext = _chunk3EPNHTMHjs.JsonApiContext; exports.JsonApiProvider =
|
|
128
|
+
exports.ClientJsonApiDelete = _chunkAGKZCRG2js.ClientJsonApiDelete; exports.ClientJsonApiGet = _chunkAGKZCRG2js.ClientJsonApiGet; exports.ClientJsonApiPatch = _chunkAGKZCRG2js.ClientJsonApiPatch; exports.ClientJsonApiPost = _chunkAGKZCRG2js.ClientJsonApiPost; exports.ClientJsonApiPut = _chunkAGKZCRG2js.ClientJsonApiPut; exports.JsonApiContext = _chunk3EPNHTMHjs.JsonApiContext; exports.JsonApiProvider = _chunkS4G7IXZZjs.JsonApiProvider; exports.TableGeneratorRegistry = _chunkS4G7IXZZjs.TableGeneratorRegistry; exports.buildClientUrl = _chunkAGKZCRG2js.buildClientUrl; exports.computeLayeredLayout = _chunkS4G7IXZZjs.computeLayeredLayout; exports.configureClientConfig = _chunkSE2YSAERjs.configureClientConfig; exports.configureClientJsonApi = _chunkAGKZCRG2js.configureClientJsonApi; exports.configureI18n = _chunkSE2YSAERjs.configureI18n; exports.configureJsonApi = _chunkSE2YSAERjs.configureJsonApi; exports.directFetch = _chunkIBS6NI7Djs.directFetch; exports.fitLayeredLayoutToAspectRatio = _chunkS4G7IXZZjs.fitLayeredLayoutToAspectRatio; exports.getApiUrl = _chunkSE2YSAERjs.getApiUrl; exports.getAppUrl = _chunkSE2YSAERjs.getAppUrl; exports.getClientApiUrl = _chunkAGKZCRG2js.getClientApiUrl; exports.getClientAppUrl = _chunkAGKZCRG2js.getClientAppUrl; exports.getClientToken = _chunkLXKSUWAVjs.getClientToken; exports.getClientTrackablePages = _chunkAGKZCRG2js.getClientTrackablePages; exports.getI18nLink = _chunkSE2YSAERjs.getI18nLink; exports.getPublicApiUrl = _chunkSE2YSAERjs.getPublicApiUrl; exports.getStripePublishableKey = _chunkSE2YSAERjs.getStripePublishableKey; exports.getTrackablePages = _chunkSE2YSAERjs.getTrackablePages; exports.registerTableGenerator = _chunkS4G7IXZZjs.registerTableGenerator; exports.tableGeneratorRegistry = _chunkS4G7IXZZjs.tableGeneratorRegistry; exports.useContentTableStructure = _chunkS4G7IXZZjs.useContentTableStructure; exports.useCustomD3Graph = _chunkS4G7IXZZjs.useCustomD3Graph; exports.useDataListRetriever = _chunkS4G7IXZZjs.useDataListRetriever; exports.useDebounce = _chunkS4G7IXZZjs.useDebounce; exports.useI18nDateFnsLocale = _chunkSE2YSAERjs.useI18nDateFnsLocale; exports.useI18nLocale = _chunkSE2YSAERjs.useI18nLocale; exports.useI18nRouter = _chunkSE2YSAERjs.useI18nRouter; exports.useI18nTranslations = _chunkSE2YSAERjs.useI18nTranslations; exports.useJsonApiConfig = _chunk3EPNHTMHjs.useJsonApiConfig; exports.useJsonApiConfigOptional = _chunk3EPNHTMHjs.useJsonApiConfigOptional; exports.useJsonApiGet = _chunkS4G7IXZZjs.useJsonApiGet; exports.useJsonApiMutation = _chunkS4G7IXZZjs.useJsonApiMutation; exports.useNotificationSync = _chunkS4G7IXZZjs.useNotificationSync; exports.useOAuthClient = _chunkS4G7IXZZjs.useOAuthClient; exports.useOAuthClients = _chunkS4G7IXZZjs.useOAuthClients; exports.useOAuthConsent = _chunkS4G7IXZZjs.useOAuthConsent; exports.usePageTracker = _chunkS4G7IXZZjs.usePageTracker; exports.usePageUrlGenerator = _chunkS4G7IXZZjs.usePageUrlGenerator; exports.useRehydration = _chunkS4G7IXZZjs.useRehydration; exports.useRehydrationList = _chunkS4G7IXZZjs.useRehydrationList; exports.useRoleTableStructure = _chunkS4G7IXZZjs.useRoleTableStructure; exports.useSocket = _chunkS4G7IXZZjs.useSocket; exports.useSubscriptionStatus = _chunkS4G7IXZZjs.useSubscriptionStatus; exports.useTableGenerator = _chunkS4G7IXZZjs.useTableGenerator; exports.useUrlRewriter = _chunkS4G7IXZZjs.useUrlRewriter; exports.useUserSearch = _chunkS4G7IXZZjs.useUserSearch; exports.useUserTableStructure = _chunkS4G7IXZZjs.useUserTableStructure;
|
|
129
129
|
//# sourceMappingURL=index.js.map
|
package/dist/client/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ import { Combobox as Combobox$1 } from '@base-ui/react';
|
|
|
17
17
|
import { DateRange, DayPicker, DayButton } from 'react-day-picker';
|
|
18
18
|
import * as react_hook_form from 'react-hook-form';
|
|
19
19
|
import { FieldValues, UseFormReturn, Path, ControllerRenderProps, ControllerFieldState } from 'react-hook-form';
|
|
20
|
-
import { DropzoneState,
|
|
20
|
+
import { DropzoneState, DropzoneOptions, FileRejection } from 'react-dropzone';
|
|
21
21
|
export { DropzoneOptions } from 'react-dropzone';
|
|
22
22
|
import { B as BreadcrumbItemData, a as HowToInterface, d as AssistantMessageInterface } from '../AssistantMessageInterface-DH1QwtC_.mjs';
|
|
23
23
|
import { ColumnDef, ExpandedState } from '@tanstack/react-table';
|
|
@@ -723,7 +723,7 @@ type FileUploaderContextType = {
|
|
|
723
723
|
setActiveIndex: Dispatch<SetStateAction<number>>;
|
|
724
724
|
orientation: "horizontal" | "vertical";
|
|
725
725
|
direction: DirectionOptions;
|
|
726
|
-
accept?:
|
|
726
|
+
accept?: DropzoneOptions["accept"];
|
|
727
727
|
};
|
|
728
728
|
declare const useFileUpload: () => FileUploaderContextType;
|
|
729
729
|
type FileUploaderProps = {
|
|
@@ -17,7 +17,7 @@ import { Combobox as Combobox$1 } from '@base-ui/react';
|
|
|
17
17
|
import { DateRange, DayPicker, DayButton } from 'react-day-picker';
|
|
18
18
|
import * as react_hook_form from 'react-hook-form';
|
|
19
19
|
import { FieldValues, UseFormReturn, Path, ControllerRenderProps, ControllerFieldState } from 'react-hook-form';
|
|
20
|
-
import { DropzoneState,
|
|
20
|
+
import { DropzoneState, DropzoneOptions, FileRejection } from 'react-dropzone';
|
|
21
21
|
export { DropzoneOptions } from 'react-dropzone';
|
|
22
22
|
import { B as BreadcrumbItemData, a as HowToInterface, d as AssistantMessageInterface } from '../AssistantMessageInterface-giWvsOrX.js';
|
|
23
23
|
import { ColumnDef, ExpandedState } from '@tanstack/react-table';
|
|
@@ -723,7 +723,7 @@ type FileUploaderContextType = {
|
|
|
723
723
|
setActiveIndex: Dispatch<SetStateAction<number>>;
|
|
724
724
|
orientation: "horizontal" | "vertical";
|
|
725
725
|
direction: DirectionOptions;
|
|
726
|
-
accept?:
|
|
726
|
+
accept?: DropzoneOptions["accept"];
|
|
727
727
|
};
|
|
728
728
|
declare const useFileUpload: () => FileUploaderContextType;
|
|
729
729
|
type FileUploaderProps = {
|
package/dist/components/index.js
CHANGED
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
|
|
480
480
|
|
|
481
481
|
|
|
482
|
-
var
|
|
482
|
+
var _chunkS4G7IXZZjs = require('../chunk-S4G7IXZZ.js');
|
|
483
483
|
require('../chunk-SE2YSAER.js');
|
|
484
484
|
|
|
485
485
|
|
|
@@ -983,5 +983,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
983
983
|
|
|
984
984
|
|
|
985
985
|
|
|
986
|
-
exports.AcceptInvitation = _chunkQCLR35VYjs.AcceptInvitation; exports.Accordion = _chunkQCLR35VYjs.Accordion; exports.AccordionContent = _chunkQCLR35VYjs.AccordionContent; exports.AccordionItem = _chunkQCLR35VYjs.AccordionItem; exports.AccordionTrigger = _chunkQCLR35VYjs.AccordionTrigger; exports.ActivateAccount = _chunkQCLR35VYjs.ActivateAccount; exports.AddUserToRole = _chunkQCLR35VYjs.AddUserToRole; exports.AdminCompanyContainer = _chunkQCLR35VYjs.AdminCompanyContainer; exports.AdminUsersList = _chunkQCLR35VYjs.AdminUsersList; exports.Alert = _chunkQCLR35VYjs.Alert; exports.AlertAction = _chunkQCLR35VYjs.AlertAction; exports.AlertDescription = _chunkQCLR35VYjs.AlertDescription; exports.AlertDialog = _chunkQCLR35VYjs.AlertDialog; exports.AlertDialogAction = _chunkQCLR35VYjs.AlertDialogAction; exports.AlertDialogCancel = _chunkQCLR35VYjs.AlertDialogCancel; exports.AlertDialogContent = _chunkQCLR35VYjs.AlertDialogContent; exports.AlertDialogDescription = _chunkQCLR35VYjs.AlertDialogDescription; exports.AlertDialogFooter = _chunkQCLR35VYjs.AlertDialogFooter; exports.AlertDialogHeader = _chunkQCLR35VYjs.AlertDialogHeader; exports.AlertDialogMedia = _chunkQCLR35VYjs.AlertDialogMedia; exports.AlertDialogOverlay = _chunkQCLR35VYjs.AlertDialogOverlay; exports.AlertDialogPortal = _chunkQCLR35VYjs.AlertDialogPortal; exports.AlertDialogTitle = _chunkQCLR35VYjs.AlertDialogTitle; exports.AlertDialogTrigger = _chunkQCLR35VYjs.AlertDialogTrigger; exports.AlertTitle = _chunkQCLR35VYjs.AlertTitle; exports.AllUsersListContainer = _chunkQCLR35VYjs.AllUsersListContainer; exports.AllowedUsersDetails = _chunkQCLR35VYjs.AllowedUsersDetails; exports.AssistantContainer = _chunkQCLR35VYjs.AssistantContainer; exports.AttributeElement = _chunkQCLR35VYjs.AttributeElement; exports.AuthContainer = _chunkQCLR35VYjs.AuthContainer; exports.Avatar = _chunkQCLR35VYjs.Avatar; exports.AvatarBadge = _chunkQCLR35VYjs.AvatarBadge; exports.AvatarFallback = _chunkQCLR35VYjs.AvatarFallback; exports.AvatarGroup = _chunkQCLR35VYjs.AvatarGroup; exports.AvatarGroupCount = _chunkQCLR35VYjs.AvatarGroupCount; exports.AvatarImage = _chunkQCLR35VYjs.AvatarImage; exports.BackupCodesDialog = _chunkQCLR35VYjs.BackupCodesDialog; exports.Badge = _chunkQCLR35VYjs.Badge; exports.BlockNoteEditorContainer = _chunkQCLR35VYjs.BlockNoteEditorContainer; exports.BlockNoteEditorMentionHoverCard = _chunkQCLR35VYjs.BlockNoteEditorMentionHoverCard; exports.BlockNoteEditorMentionSuggestionMenu = _chunkQCLR35VYjs.BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteViewerContainer = _chunkQCLR35VYjs.BlockNoteViewerContainer; exports.Board = _chunkQCLR35VYjs.KanbanBoard; exports.Breadcrumb = _chunkQCLR35VYjs.Breadcrumb; exports.BreadcrumbEllipsis = _chunkQCLR35VYjs.BreadcrumbEllipsis; exports.BreadcrumbItem = _chunkQCLR35VYjs.BreadcrumbItem; exports.BreadcrumbLink = _chunkQCLR35VYjs.BreadcrumbLink; exports.BreadcrumbList = _chunkQCLR35VYjs.BreadcrumbList; exports.BreadcrumbNavigation = _chunkQCLR35VYjs.BreadcrumbNavigation; exports.BreadcrumbPage = _chunkQCLR35VYjs.BreadcrumbPage; exports.BreadcrumbSeparator = _chunkQCLR35VYjs.BreadcrumbSeparator; exports.Button = _chunkQCLR35VYjs.Button; exports.Calendar = _chunkQCLR35VYjs.Calendar; exports.CalendarDayButton = _chunkQCLR35VYjs.CalendarDayButton; exports.Card = _chunkQCLR35VYjs.Card; exports.CardAction = _chunkQCLR35VYjs.CardAction; exports.CardContent = _chunkQCLR35VYjs.CardContent; exports.CardDescription = _chunkQCLR35VYjs.CardDescription; exports.CardFooter = _chunkQCLR35VYjs.CardFooter; exports.CardHeader = _chunkQCLR35VYjs.CardHeader; exports.CardTitle = _chunkQCLR35VYjs.CardTitle; exports.Carousel = _chunkQCLR35VYjs.Carousel; exports.CarouselContent = _chunkQCLR35VYjs.CarouselContent; exports.CarouselItem = _chunkQCLR35VYjs.CarouselItem; exports.CarouselNext = _chunkQCLR35VYjs.CarouselNext; exports.CarouselPrevious = _chunkQCLR35VYjs.CarouselPrevious; exports.ChartContainer = _chunkQCLR35VYjs.ChartContainer; exports.ChartLegend = _chunkQCLR35VYjs.ChartLegend; exports.ChartLegendContent = _chunkQCLR35VYjs.ChartLegendContent; exports.ChartStyle = _chunkQCLR35VYjs.ChartStyle; exports.ChartTooltip = _chunkQCLR35VYjs.ChartTooltip; exports.ChartTooltipContent = _chunkQCLR35VYjs.ChartTooltipContent; exports.Checkbox = _chunkQCLR35VYjs.Checkbox; exports.Collapsible = _chunkQCLR35VYjs.Collapsible; exports.CollapsibleContent = _chunkQCLR35VYjs.CollapsibleContent; exports.CollapsibleTrigger = _chunkQCLR35VYjs.CollapsibleTrigger; exports.Column = _chunkQCLR35VYjs.KanbanColumn; exports.ColumnHandle = _chunkQCLR35VYjs.KanbanColumnHandle; exports.Combobox = _chunkQCLR35VYjs.Combobox; exports.ComboboxChip = _chunkQCLR35VYjs.ComboboxChip; exports.ComboboxChips = _chunkQCLR35VYjs.ComboboxChips; exports.ComboboxChipsInput = _chunkQCLR35VYjs.ComboboxChipsInput; exports.ComboboxCollection = _chunkQCLR35VYjs.ComboboxCollection; exports.ComboboxContent = _chunkQCLR35VYjs.ComboboxContent; exports.ComboboxEmpty = _chunkQCLR35VYjs.ComboboxEmpty; exports.ComboboxGroup = _chunkQCLR35VYjs.ComboboxGroup; exports.ComboboxInput = _chunkQCLR35VYjs.ComboboxInput; exports.ComboboxItem = _chunkQCLR35VYjs.ComboboxItem; exports.ComboboxLabel = _chunkQCLR35VYjs.ComboboxLabel; exports.ComboboxList = _chunkQCLR35VYjs.ComboboxList; exports.ComboboxSeparator = _chunkQCLR35VYjs.ComboboxSeparator; exports.ComboboxTrigger = _chunkQCLR35VYjs.ComboboxTrigger; exports.ComboboxValue = _chunkQCLR35VYjs.ComboboxValue; exports.Command = _chunkQCLR35VYjs.Command; exports.CommandDialog = _chunkQCLR35VYjs.CommandDialog; exports.CommandEmpty = _chunkQCLR35VYjs.CommandEmpty; exports.CommandGroup = _chunkQCLR35VYjs.CommandGroup; exports.CommandInput = _chunkQCLR35VYjs.CommandInput; exports.CommandItem = _chunkQCLR35VYjs.CommandItem; exports.CommandList = _chunkQCLR35VYjs.CommandList; exports.CommandSeparator = _chunkQCLR35VYjs.CommandSeparator; exports.CommandShortcut = _chunkQCLR35VYjs.CommandShortcut; exports.CommonAddTrigger = _chunkQCLR35VYjs.CommonAddTrigger; exports.CommonAssociationCommandDialog = _chunkQCLR35VYjs.CommonAssociationCommandDialog; exports.CommonAssociationTrigger = _chunkQCLR35VYjs.CommonAssociationTrigger; exports.CommonDeleter = _chunkQCLR35VYjs.CommonDeleter; exports.CommonEditorButtons = _chunkQCLR35VYjs.CommonEditorButtons; exports.CommonEditorDiscardDialog = _chunkQCLR35VYjs.CommonEditorDiscardDialog; exports.CommonEditorHeader = _chunkQCLR35VYjs.CommonEditorHeader; exports.CommonEditorTrigger = _chunkQCLR35VYjs.CommonEditorTrigger; exports.CompaniesList = _chunkQCLR35VYjs.CompaniesList; exports.CompanyConfigurationEditor = _chunkQCLR35VYjs.CompanyConfigurationEditor; exports.CompanyContainer = _chunkQCLR35VYjs.CompanyContainer; exports.CompanyContent = _chunkQCLR35VYjs.CompanyContent; exports.CompanyDeleter = _chunkQCLR35VYjs.CompanyDeleter; exports.CompanyDetails = _chunkQCLR35VYjs.CompanyDetails; exports.CompanyEditor = _chunkQCLR35VYjs.CompanyEditor; exports.CompanyUsersList = _chunkQCLR35VYjs.CompanyUsersList; exports.ConfirmDialog = _chunkQCLR35VYjs.ConfirmDialog; exports.ContentListGrid = _chunkQCLR35VYjs.ContentListGrid; exports.ContentListTable = _chunkQCLR35VYjs.ContentListTable; exports.ContentTableSearch = _chunkQCLR35VYjs.ContentTableSearch; exports.ContentTitle = _chunkQCLR35VYjs.ContentTitle; exports.ContentsList = _chunkQCLR35VYjs.ContentsList; exports.ContentsListById = _chunkQCLR35VYjs.ContentsListById; exports.ContextMenu = _chunkQCLR35VYjs.ContextMenu; exports.ContextMenuCheckboxItem = _chunkQCLR35VYjs.ContextMenuCheckboxItem; exports.ContextMenuContent = _chunkQCLR35VYjs.ContextMenuContent; exports.ContextMenuGroup = _chunkQCLR35VYjs.ContextMenuGroup; exports.ContextMenuItem = _chunkQCLR35VYjs.ContextMenuItem; exports.ContextMenuLabel = _chunkQCLR35VYjs.ContextMenuLabel; exports.ContextMenuPortal = _chunkQCLR35VYjs.ContextMenuPortal; exports.ContextMenuRadioGroup = _chunkQCLR35VYjs.ContextMenuRadioGroup; exports.ContextMenuRadioItem = _chunkQCLR35VYjs.ContextMenuRadioItem; exports.ContextMenuSeparator = _chunkQCLR35VYjs.ContextMenuSeparator; exports.ContextMenuShortcut = _chunkQCLR35VYjs.ContextMenuShortcut; exports.ContextMenuSub = _chunkQCLR35VYjs.ContextMenuSub; exports.ContextMenuSubContent = _chunkQCLR35VYjs.ContextMenuSubContent; exports.ContextMenuSubTrigger = _chunkQCLR35VYjs.ContextMenuSubTrigger; exports.ContextMenuTrigger = _chunkQCLR35VYjs.ContextMenuTrigger; exports.ContributorsList = _chunkQCLR35VYjs.ContributorsList; exports.Cookies = _chunkQCLR35VYjs.Cookies; exports.CurrencyInput = _chunkQCLR35VYjs.CurrencyInput; exports.DatePickerPopover = _chunkQCLR35VYjs.DatePickerPopover; exports.DateRangeSelector = _chunkQCLR35VYjs.DateRangeSelector; exports.DetailField = _chunkQCLR35VYjs.DetailField; exports.Dialog = _chunkQCLR35VYjs.Dialog; exports.DialogClose = _chunkQCLR35VYjs.DialogClose; exports.DialogContent = _chunkQCLR35VYjs.DialogContent; exports.DialogDescription = _chunkQCLR35VYjs.DialogDescription; exports.DialogFooter = _chunkQCLR35VYjs.DialogFooter; exports.DialogHeader = _chunkQCLR35VYjs.DialogHeader; exports.DialogOverlay = _chunkQCLR35VYjs.DialogOverlay; exports.DialogPortal = _chunkQCLR35VYjs.DialogPortal; exports.DialogTitle = _chunkQCLR35VYjs.DialogTitle; exports.DialogTrigger = _chunkQCLR35VYjs.DialogTrigger; exports.DisableTwoFactorDialog = _chunkQCLR35VYjs.DisableTwoFactorDialog; exports.Drawer = _chunkQCLR35VYjs.Drawer; exports.DrawerClose = _chunkQCLR35VYjs.DrawerClose; exports.DrawerContent = _chunkQCLR35VYjs.DrawerContent; exports.DrawerDescription = _chunkQCLR35VYjs.DrawerDescription; exports.DrawerFooter = _chunkQCLR35VYjs.DrawerFooter; exports.DrawerHeader = _chunkQCLR35VYjs.DrawerHeader; exports.DrawerOverlay = _chunkQCLR35VYjs.DrawerOverlay; exports.DrawerPortal = _chunkQCLR35VYjs.DrawerPortal; exports.DrawerTitle = _chunkQCLR35VYjs.DrawerTitle; exports.DrawerTrigger = _chunkQCLR35VYjs.DrawerTrigger; exports.DropdownMenu = _chunkQCLR35VYjs.DropdownMenu; exports.DropdownMenuCheckboxItem = _chunkQCLR35VYjs.DropdownMenuCheckboxItem; exports.DropdownMenuContent = _chunkQCLR35VYjs.DropdownMenuContent; exports.DropdownMenuGroup = _chunkQCLR35VYjs.DropdownMenuGroup; exports.DropdownMenuItem = _chunkQCLR35VYjs.DropdownMenuItem; exports.DropdownMenuLabel = _chunkQCLR35VYjs.DropdownMenuLabel; exports.DropdownMenuPortal = _chunkQCLR35VYjs.DropdownMenuPortal; exports.DropdownMenuRadioGroup = _chunkQCLR35VYjs.DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = _chunkQCLR35VYjs.DropdownMenuRadioItem; exports.DropdownMenuSeparator = _chunkQCLR35VYjs.DropdownMenuSeparator; exports.DropdownMenuShortcut = _chunkQCLR35VYjs.DropdownMenuShortcut; exports.DropdownMenuSub = _chunkQCLR35VYjs.DropdownMenuSub; exports.DropdownMenuSubContent = _chunkQCLR35VYjs.DropdownMenuSubContent; exports.DropdownMenuSubTrigger = _chunkQCLR35VYjs.DropdownMenuSubTrigger; exports.DropdownMenuTrigger = _chunkQCLR35VYjs.DropdownMenuTrigger; exports.EditableAvatar = _chunkQCLR35VYjs.EditableAvatar; exports.EditorSheet = _chunkQCLR35VYjs.EditorSheet; exports.EmptyState = _chunkQCLR35VYjs.EmptyState; exports.EntityAvatar = _chunkQCLR35VYjs.EntityAvatar; exports.EntityHero = _chunkQCLR35VYjs.EntityHero; exports.EntityHeroAvatar = _chunkQCLR35VYjs.EntityHeroAvatar; exports.EntityHeroLayout = _chunkQCLR35VYjs.EntityHeroLayout; exports.EntityHeroMetaRow = _chunkQCLR35VYjs.EntityHeroMetaRow; exports.EntityMultiSelector = _chunkQCLR35VYjs.EntityMultiSelector; exports.EntitySection = _chunkQCLR35VYjs.EntitySection; exports.EntitySelector = _chunkQCLR35VYjs.EntitySelector; exports.ErrorDetails = _chunkQCLR35VYjs.ErrorDetails; exports.Field = _chunkQCLR35VYjs.Field; exports.FieldContent = _chunkQCLR35VYjs.FieldContent; exports.FieldDescription = _chunkQCLR35VYjs.FieldDescription; exports.FieldError = _chunkQCLR35VYjs.FieldError; exports.FieldGroup = _chunkQCLR35VYjs.FieldGroup; exports.FieldLabel = _chunkQCLR35VYjs.FieldLabel; exports.FieldLegend = _chunkQCLR35VYjs.FieldLegend; exports.FieldSeparator = _chunkQCLR35VYjs.FieldSeparator; exports.FieldSet = _chunkQCLR35VYjs.FieldSet; exports.FieldTitle = _chunkQCLR35VYjs.FieldTitle; exports.FileInput = _chunkQCLR35VYjs.FileInput; exports.FileUploader = _chunkQCLR35VYjs.FileUploader; exports.FileUploaderContent = _chunkQCLR35VYjs.FileUploaderContent; exports.FileUploaderItem = _chunkQCLR35VYjs.FileUploaderItem; exports.FiscalDataDisplay = _chunkQCLR35VYjs.FiscalDataDisplay; exports.ForgotPassword = _chunkQCLR35VYjs.ForgotPassword; exports.Form = _chunkQCLR35VYjs.Form; exports.FormBlockNote = _chunkQCLR35VYjs.FormBlockNote; exports.FormBody = _chunkQCLR35VYjs.FormBody; exports.FormCheckbox = _chunkQCLR35VYjs.FormCheckbox; exports.FormCol = _chunkQCLR35VYjs.FormCol; exports.FormDate = _chunkQCLR35VYjs.FormDate; exports.FormDateTime = _chunkQCLR35VYjs.FormDateTime; exports.FormFeatures = _chunkQCLR35VYjs.FormFeatures; exports.FormFieldWrapper = _chunkQCLR35VYjs.FormFieldWrapper; exports.FormInput = _chunkQCLR35VYjs.FormInput; exports.FormPassword = _chunkQCLR35VYjs.FormPassword; exports.FormPlaceAutocomplete = _chunkQCLR35VYjs.FormPlaceAutocomplete; exports.FormRoles = _chunkQCLR35VYjs.FormRoles; exports.FormRow = _chunkQCLR35VYjs.FormRow; exports.FormSection = _chunkQCLR35VYjs.FormSection; exports.FormSelect = _chunkQCLR35VYjs.FormSelect; exports.FormSlider = _chunkQCLR35VYjs.FormSlider; exports.FormSwitch = _chunkQCLR35VYjs.FormSwitch; exports.FormTextarea = _chunkQCLR35VYjs.FormTextarea; exports.GdprConsentCheckbox = _chunkQCLR35VYjs.GdprConsentCheckbox; exports.GdprConsentSection = _chunkQCLR35VYjs.GdprConsentSection; exports.HEADER_ROW_MIN_H = _chunkQCLR35VYjs.HEADER_ROW_MIN_H; exports.Header = _chunkQCLR35VYjs.Header; exports.HoverCard = _chunkQCLR35VYjs.HoverCard; exports.HoverCardContent = _chunkQCLR35VYjs.HoverCardContent; exports.HoverCardTrigger = _chunkQCLR35VYjs.HoverCardTrigger; exports.HowToCommand = _chunkQCLR35VYjs.HowToCommand; exports.HowToCommandViewer = _chunkQCLR35VYjs.HowToCommandViewer; exports.HowToContainer = _chunkQCLR35VYjs.HowToContainer; exports.HowToContent = _chunkQCLR35VYjs.HowToContent; exports.HowToDeleter = _chunkQCLR35VYjs.HowToDeleter; exports.HowToDetails = _chunkQCLR35VYjs.HowToDetails; exports.HowToEditor = _chunkQCLR35VYjs.HowToEditor; exports.HowToList = _chunkQCLR35VYjs.HowToList; exports.HowToListContainer = _chunkQCLR35VYjs.HowToListContainer; exports.HowToMultiSelector = _chunkQCLR35VYjs.HowToMultiSelector; exports.HowToSelector = _chunkQCLR35VYjs.HowToSelector; exports.Input = _chunkQCLR35VYjs.Input; exports.InputGroup = _chunkQCLR35VYjs.InputGroup; exports.InputGroupAddon = _chunkQCLR35VYjs.InputGroupAddon; exports.InputGroupButton = _chunkQCLR35VYjs.InputGroupButton; exports.InputGroupInput = _chunkQCLR35VYjs.InputGroupInput; exports.InputGroupText = _chunkQCLR35VYjs.InputGroupText; exports.InputGroupTextarea = _chunkQCLR35VYjs.InputGroupTextarea; exports.InputOTP = _chunkQCLR35VYjs.InputOTP; exports.InputOTPGroup = _chunkQCLR35VYjs.InputOTPGroup; exports.InputOTPSeparator = _chunkQCLR35VYjs.InputOTPSeparator; exports.InputOTPSlot = _chunkQCLR35VYjs.InputOTPSlot; exports.ItalianFiscalData = _chunkQCLR35VYjs.ItalianFiscalData_default; exports.ItalianFiscalDataDisplay = _chunkQCLR35VYjs.ItalianFiscalDataDisplay; exports.Item = _chunkQCLR35VYjs.KanbanItem; exports.ItemHandle = _chunkQCLR35VYjs.KanbanItemHandle; exports.Kanban = _chunkQCLR35VYjs.KanbanRoot; exports.KanbanBoard = _chunkQCLR35VYjs.KanbanBoard; exports.KanbanColumn = _chunkQCLR35VYjs.KanbanColumn; exports.KanbanColumnHandle = _chunkQCLR35VYjs.KanbanColumnHandle; exports.KanbanItem = _chunkQCLR35VYjs.KanbanItem; exports.KanbanItemHandle = _chunkQCLR35VYjs.KanbanItemHandle; exports.KanbanOverlay = _chunkQCLR35VYjs.KanbanOverlay; exports.Label = _chunkQCLR35VYjs.Label; exports.LandingComponent = _chunkQCLR35VYjs.LandingComponent; exports.Link = _chunkQCLR35VYjs.Link; exports.Login = _chunkQCLR35VYjs.Login; exports.Logout = _chunkQCLR35VYjs.Logout; exports.MessageItem = _chunkQCLR35VYjs.MessageItem; exports.MessageList = _chunkQCLR35VYjs.MessageList; exports.MessageSourcesPanel = _chunkQCLR35VYjs.MessageSourcesPanel; exports.MicroLabel = _chunkQCLR35VYjs.MicroLabel; exports.MobileNavigationBar = _chunkQCLR35VYjs.MobileNavigationBar; exports.ModeToggleSwitch = _chunkQCLR35VYjs.ModeToggleSwitch; exports.MultiSelect = _chunkQCLR35VYjs.MultiSelect; exports.MultipleSelector = _chunkQCLR35VYjs.MultipleSelector; exports.NavigationMenu = _chunkQCLR35VYjs.NavigationMenu; exports.NavigationMenuContent = _chunkQCLR35VYjs.NavigationMenuContent; exports.NavigationMenuIndicator = _chunkQCLR35VYjs.NavigationMenuIndicator; exports.NavigationMenuItem = _chunkQCLR35VYjs.NavigationMenuItem; exports.NavigationMenuLink = _chunkQCLR35VYjs.NavigationMenuLink; exports.NavigationMenuList = _chunkQCLR35VYjs.NavigationMenuList; exports.NavigationMenuPositioner = _chunkQCLR35VYjs.NavigationMenuPositioner; exports.NavigationMenuTrigger = _chunkQCLR35VYjs.NavigationMenuTrigger; exports.NotificationErrorBoundary = _chunkQCLR35VYjs.NotificationErrorBoundary; exports.NotificationMenuItem = _chunkQCLR35VYjs.NotificationMenuItem; exports.NotificationModal = _chunkQCLR35VYjs.NotificationModal; exports.NotificationToast = _chunkQCLR35VYjs.NotificationToast; exports.NotificationsList = _chunkQCLR35VYjs.NotificationsList; exports.NotificationsListContainer = _chunkQCLR35VYjs.NotificationsListContainer; exports.OAuthClientCard = _chunkQCLR35VYjs.OAuthClientCard; exports.OAuthClientDetail = _chunkQCLR35VYjs.OAuthClientDetail; exports.OAuthClientForm = _chunkQCLR35VYjs.OAuthClientForm; exports.OAuthClientList = _chunkQCLR35VYjs.OAuthClientList; exports.OAuthClientSecretDisplay = _chunkQCLR35VYjs.OAuthClientSecretDisplay; exports.OAuthConsentActions = _chunkQCLR35VYjs.OAuthConsentActions; exports.OAuthConsentHeader = _chunkQCLR35VYjs.OAuthConsentHeader; exports.OAuthConsentScreen = _chunkQCLR35VYjs.OAuthConsentScreen; exports.OAuthRedirectUriInput = _chunkQCLR35VYjs.OAuthRedirectUriInput; exports.OAuthScopeList = _chunkQCLR35VYjs.OAuthScopeList; exports.OAuthScopeSelector = _chunkQCLR35VYjs.OAuthScopeSelector; exports.OnboardingCard = _chunkQCLR35VYjs.OnboardingCard; exports.Overlay = _chunkQCLR35VYjs.KanbanOverlay; exports.PageContainer = _chunkQCLR35VYjs.PageContainer; exports.PageContainerContentDetails = _chunkQCLR35VYjs.PageContainerContentDetails; exports.PageContentContainer = _chunkQCLR35VYjs.PageContentContainer; exports.PageSection = _chunkQCLR35VYjs.PageSection; exports.PasskeyButton = _chunkQCLR35VYjs.PasskeyButton; exports.PasskeyList = _chunkQCLR35VYjs.PasskeyList; exports.PasskeySetupDialog = _chunkQCLR35VYjs.PasskeySetupDialog; exports.PasswordInput = _chunkQCLR35VYjs.PasswordInput; exports.Popover = _chunkQCLR35VYjs.Popover; exports.PopoverContent = _chunkQCLR35VYjs.PopoverContent; exports.PopoverDescription = _chunkQCLR35VYjs.PopoverDescription; exports.PopoverHeader = _chunkQCLR35VYjs.PopoverHeader; exports.PopoverTitle = _chunkQCLR35VYjs.PopoverTitle; exports.PopoverTrigger = _chunkQCLR35VYjs.PopoverTrigger; exports.Progress = _chunkQCLR35VYjs.Progress; exports.ProgressIndicator = _chunkQCLR35VYjs.ProgressIndicator; exports.ProgressLabel = _chunkQCLR35VYjs.ProgressLabel; exports.ProgressTrack = _chunkQCLR35VYjs.ProgressTrack; exports.ProgressValue = _chunkQCLR35VYjs.ProgressValue; exports.PushNotificationProvider = _chunkQCLR35VYjs.PushNotificationProvider; exports.RadioGroup = _chunkQCLR35VYjs.RadioGroup; exports.RadioGroupItem = _chunkQCLR35VYjs.RadioGroupItem; exports.RbacByRoleContainer = _chunkQCLR35VYjs.RbacByRoleContainer; exports.RbacContainer = _chunkQCLR35VYjs.RbacContainer; exports.RbacPermissionCell = _chunkQCLR35VYjs.RbacPermissionCell; exports.RbacPermissionPicker = _chunkQCLR35VYjs.RbacPermissionPicker; exports.ReactMarkdownContainer = _chunkQCLR35VYjs.ReactMarkdownContainer; exports.RecentPagesNavigator = _chunkQCLR35VYjs.RecentPagesNavigator; exports.ReferralCodeCapture = _chunkQCLR35VYjs.ReferralCodeCapture; exports.ReferralDialog = _chunkQCLR35VYjs.ReferralDialog; exports.ReferralWidget = _chunkQCLR35VYjs.ReferralWidget; exports.RefreshUser = _chunkQCLR35VYjs.RefreshUser; exports.RelevantContentsList = _chunkQCLR35VYjs.RelevantContentsList; exports.RelevantUsersList = _chunkQCLR35VYjs.RelevantUsersList; exports.RemoveUserFromRole = _chunkQCLR35VYjs.RemoveUserFromRole; exports.ResetPassword = _chunkQCLR35VYjs.ResetPassword; exports.ResizableHandle = _chunkQCLR35VYjs.ResizableHandle; exports.ResizablePanel = _chunkQCLR35VYjs.ResizablePanel; exports.ResizablePanelGroup = _chunkQCLR35VYjs.ResizablePanelGroup; exports.RoleContainer = _chunkQCLR35VYjs.RoleContainer; exports.RoleDetails = _chunkQCLR35VYjs.RoleDetails; exports.RoleUsersList = _chunkQCLR35VYjs.RoleUsersList; exports.RolesList = _chunkQCLR35VYjs.RolesList; exports.Root = _chunkQCLR35VYjs.KanbanRoot; exports.RoundPageContainer = _chunkQCLR35VYjs.RoundPageContainer; exports.RoundPageContainerTitle = _chunkQCLR35VYjs.RoundPageContainerTitle; exports.ScrollArea = _chunkQCLR35VYjs.ScrollArea; exports.ScrollBar = _chunkQCLR35VYjs.ScrollBar; exports.SectionHeader = _chunkQCLR35VYjs.SectionHeader; exports.SecurityContainer = _chunkQCLR35VYjs.SecurityContainer; exports.Select = _chunkQCLR35VYjs.Select; exports.SelectContent = _chunkQCLR35VYjs.SelectContent; exports.SelectGroup = _chunkQCLR35VYjs.SelectGroup; exports.SelectItem = _chunkQCLR35VYjs.SelectItem; exports.SelectLabel = _chunkQCLR35VYjs.SelectLabel; exports.SelectScrollDownButton = _chunkQCLR35VYjs.SelectScrollDownButton; exports.SelectScrollUpButton = _chunkQCLR35VYjs.SelectScrollUpButton; exports.SelectSeparator = _chunkQCLR35VYjs.SelectSeparator; exports.SelectTrigger = _chunkQCLR35VYjs.SelectTrigger; exports.SelectValue = _chunkQCLR35VYjs.SelectValue; exports.Separator = _chunkQCLR35VYjs.Separator; exports.Sheet = _chunkQCLR35VYjs.Sheet; exports.SheetClose = _chunkQCLR35VYjs.SheetClose; exports.SheetContent = _chunkQCLR35VYjs.SheetContent; exports.SheetDescription = _chunkQCLR35VYjs.SheetDescription; exports.SheetFooter = _chunkQCLR35VYjs.SheetFooter; exports.SheetHeader = _chunkQCLR35VYjs.SheetHeader; exports.SheetTitle = _chunkQCLR35VYjs.SheetTitle; exports.SheetTrigger = _chunkQCLR35VYjs.SheetTrigger; exports.Sidebar = _chunkQCLR35VYjs.Sidebar; exports.SidebarContent = _chunkQCLR35VYjs.SidebarContent; exports.SidebarFooter = _chunkQCLR35VYjs.SidebarFooter; exports.SidebarGroup = _chunkQCLR35VYjs.SidebarGroup; exports.SidebarGroupAction = _chunkQCLR35VYjs.SidebarGroupAction; exports.SidebarGroupContent = _chunkQCLR35VYjs.SidebarGroupContent; exports.SidebarGroupLabel = _chunkQCLR35VYjs.SidebarGroupLabel; exports.SidebarHeader = _chunkQCLR35VYjs.SidebarHeader; exports.SidebarInput = _chunkQCLR35VYjs.SidebarInput; exports.SidebarInset = _chunkQCLR35VYjs.SidebarInset; exports.SidebarMenu = _chunkQCLR35VYjs.SidebarMenu; exports.SidebarMenuAction = _chunkQCLR35VYjs.SidebarMenuAction; exports.SidebarMenuBadge = _chunkQCLR35VYjs.SidebarMenuBadge; exports.SidebarMenuButton = _chunkQCLR35VYjs.SidebarMenuButton; exports.SidebarMenuItem = _chunkQCLR35VYjs.SidebarMenuItem; exports.SidebarMenuSkeleton = _chunkQCLR35VYjs.SidebarMenuSkeleton; exports.SidebarMenuSub = _chunkQCLR35VYjs.SidebarMenuSub; exports.SidebarMenuSubButton = _chunkQCLR35VYjs.SidebarMenuSubButton; exports.SidebarMenuSubItem = _chunkQCLR35VYjs.SidebarMenuSubItem; exports.SidebarProvider = _chunkQCLR35VYjs.SidebarProvider; exports.SidebarRail = _chunkQCLR35VYjs.SidebarRail; exports.SidebarSeparator = _chunkQCLR35VYjs.SidebarSeparator; exports.SidebarTrigger = _chunkQCLR35VYjs.SidebarTrigger; exports.Skeleton = _chunkQCLR35VYjs.Skeleton; exports.Slider = _chunkQCLR35VYjs.Slider; exports.Spinner = _chunkQCLR35VYjs.Spinner; exports.Switch = _chunkQCLR35VYjs.Switch; exports.Table = _chunkQCLR35VYjs.Table; exports.TableBody = _chunkQCLR35VYjs.TableBody; exports.TableCaption = _chunkQCLR35VYjs.TableCaption; exports.TableCell = _chunkQCLR35VYjs.TableCell; exports.TableCellAvatar = _chunkQCLR35VYjs.TableCellAvatar; exports.TableFooter = _chunkQCLR35VYjs.TableFooter; exports.TableHead = _chunkQCLR35VYjs.TableHead; exports.TableHeader = _chunkQCLR35VYjs.TableHeader; exports.TableRow = _chunkQCLR35VYjs.TableRow; exports.Tabs = _chunkQCLR35VYjs.Tabs; exports.TabsContainer = _chunkQCLR35VYjs.TabsContainer; exports.TabsContent = _chunkQCLR35VYjs.TabsContent; exports.TabsList = _chunkQCLR35VYjs.TabsList; exports.TabsTrigger = _chunkQCLR35VYjs.TabsTrigger; exports.Textarea = _chunkQCLR35VYjs.Textarea; exports.Toaster = _chunkQCLR35VYjs.Toaster; exports.Toggle = _chunkQCLR35VYjs.Toggle; exports.TokenStatusIndicator = _chunkQCLR35VYjs.TokenStatusIndicator; exports.Tooltip = _chunkQCLR35VYjs.Tooltip; exports.TooltipContent = _chunkQCLR35VYjs.TooltipContent; exports.TooltipProvider = _chunkQCLR35VYjs.TooltipProvider; exports.TooltipTrigger = _chunkQCLR35VYjs.TooltipTrigger; exports.TotpAuthenticatorList = _chunkQCLR35VYjs.TotpAuthenticatorList; exports.TotpInput = _chunkQCLR35VYjs.TotpInput; exports.TotpSetupDialog = _chunkQCLR35VYjs.TotpSetupDialog; exports.TwoFactorChallenge = _chunkQCLR35VYjs.TwoFactorChallenge; exports.TwoFactorSettings = _chunkQCLR35VYjs.TwoFactorSettings; exports.UserAvatar = _chunkQCLR35VYjs.UserAvatar; exports.UserAvatarEditor = _chunkQCLR35VYjs.UserAvatarEditor; exports.UserAvatarList = _chunkQCLR35VYjs.UserAvatarList; exports.UserContainer = _chunkQCLR35VYjs.UserContainer; exports.UserContent = _chunkQCLR35VYjs.UserContent; exports.UserDeleter = _chunkQCLR35VYjs.UserDeleter; exports.UserEditor = _chunkQCLR35VYjs.UserEditor; exports.UserIndexContainer = _chunkQCLR35VYjs.UserIndexContainer; exports.UserIndexDetails = _chunkQCLR35VYjs.UserIndexDetails; exports.UserListInAdd = _chunkQCLR35VYjs.UserListInAdd; exports.UserMultiSelect = _chunkQCLR35VYjs.UserMultiSelect; exports.UserReactivator = _chunkQCLR35VYjs.UserReactivator; exports.UserResentInvitationEmail = _chunkQCLR35VYjs.UserResentInvitationEmail; exports.UserRoleAdd = _chunkQCLR35VYjs.UserRoleAdd; exports.UserRolesList = _chunkQCLR35VYjs.UserRolesList; exports.UserSearchPopover = _chunkQCLR35VYjs.UserSearchPopover; exports.UserSelector = _chunkQCLR35VYjs.UserSelector; exports.UserStanadaloneDetails = _chunkQCLR35VYjs.UserStanadaloneDetails; exports.UsersList = _chunkQCLR35VYjs.UsersList; exports.UsersListByContentIds = _chunkQCLR35VYjs.UsersListByContentIds; exports.UsersListContainer = _chunkQCLR35VYjs.UsersListContainer; exports.WaitlistConfirmation = _chunkQCLR35VYjs.WaitlistConfirmation; exports.WaitlistForm = _chunkQCLR35VYjs.WaitlistForm; exports.WaitlistHeroSection = _chunkQCLR35VYjs.WaitlistHeroSection; exports.WaitlistList = _chunkQCLR35VYjs.WaitlistList; exports.WaitlistQuestionnaireRenderer = _chunkQCLR35VYjs.WaitlistQuestionnaireRenderer; exports.WaitlistSuccessState = _chunkQCLR35VYjs.WaitlistSuccessState; exports.badgeVariants = _chunkQCLR35VYjs.badgeVariants; exports.buttonVariants = _chunkQCLR35VYjs.buttonVariants; exports.cellComponent = _chunkQCLR35VYjs.cellComponent; exports.cellDate = _chunkQCLR35VYjs.cellDate; exports.cellDateTime = _chunkQCLR35VYjs.cellDateTime; exports.cellId = _chunkQCLR35VYjs.cellId; exports.cellLink = _chunkQCLR35VYjs.cellLink; exports.cellUrl = _chunkQCLR35VYjs.cellUrl; exports.createMentionInlineContentSpec = _chunkQCLR35VYjs.createMentionInlineContentSpec; exports.errorToast = _chunkQCLR35VYjs.errorToast; exports.generateNotificationData = _chunkQCLR35VYjs.generateNotificationData; exports.getIcon = _chunkAGKZCRG2js.getIcon; exports.getIconByModule = _chunkAGKZCRG2js.getIconByModule; exports.getIconByModuleName = _chunkAGKZCRG2js.getIconByModuleName; exports.getInitials = _chunkAGKZCRG2js.getInitials; exports.mentionDataAttrs = _chunkQCLR35VYjs.mentionDataAttrs; exports.navigationMenuTriggerStyle = _chunkQCLR35VYjs.navigationMenuTriggerStyle; exports.parseFiscalData = _chunkQCLR35VYjs.parseFiscalData; exports.parseMentionElement = _chunkQCLR35VYjs.parseMentionElement; exports.partitionTabs = _chunkQCLR35VYjs.partitionTabs; exports.spinnerVariants = _chunkQCLR35VYjs.spinnerVariants; exports.tabsListVariants = _chunkQCLR35VYjs.tabsListVariants; exports.toggleVariants = _chunkQCLR35VYjs.toggleVariants; exports.triggerAssociationToast = _chunkQCLR35VYjs.triggerAssociationToast; exports.useCarousel = _chunkQCLR35VYjs.useCarousel; exports.useComboboxAnchor = _chunkQCLR35VYjs.useComboboxAnchor; exports.useDebounce = _chunkQCLR35VYjs.useDebounce2; exports.useEditorDialog = _chunkQCLR35VYjs.useEditorDialog; exports.useFileUpload = _chunkQCLR35VYjs.useFileUpload; exports.useMentionInsert = _chunkQCLR35VYjs.useMentionInsert; exports.useSidebar = _chunkQCLR35VYjs.useSidebar;
|
|
986
|
+
exports.AcceptInvitation = _chunkS4G7IXZZjs.AcceptInvitation; exports.Accordion = _chunkS4G7IXZZjs.Accordion; exports.AccordionContent = _chunkS4G7IXZZjs.AccordionContent; exports.AccordionItem = _chunkS4G7IXZZjs.AccordionItem; exports.AccordionTrigger = _chunkS4G7IXZZjs.AccordionTrigger; exports.ActivateAccount = _chunkS4G7IXZZjs.ActivateAccount; exports.AddUserToRole = _chunkS4G7IXZZjs.AddUserToRole; exports.AdminCompanyContainer = _chunkS4G7IXZZjs.AdminCompanyContainer; exports.AdminUsersList = _chunkS4G7IXZZjs.AdminUsersList; exports.Alert = _chunkS4G7IXZZjs.Alert; exports.AlertAction = _chunkS4G7IXZZjs.AlertAction; exports.AlertDescription = _chunkS4G7IXZZjs.AlertDescription; exports.AlertDialog = _chunkS4G7IXZZjs.AlertDialog; exports.AlertDialogAction = _chunkS4G7IXZZjs.AlertDialogAction; exports.AlertDialogCancel = _chunkS4G7IXZZjs.AlertDialogCancel; exports.AlertDialogContent = _chunkS4G7IXZZjs.AlertDialogContent; exports.AlertDialogDescription = _chunkS4G7IXZZjs.AlertDialogDescription; exports.AlertDialogFooter = _chunkS4G7IXZZjs.AlertDialogFooter; exports.AlertDialogHeader = _chunkS4G7IXZZjs.AlertDialogHeader; exports.AlertDialogMedia = _chunkS4G7IXZZjs.AlertDialogMedia; exports.AlertDialogOverlay = _chunkS4G7IXZZjs.AlertDialogOverlay; exports.AlertDialogPortal = _chunkS4G7IXZZjs.AlertDialogPortal; exports.AlertDialogTitle = _chunkS4G7IXZZjs.AlertDialogTitle; exports.AlertDialogTrigger = _chunkS4G7IXZZjs.AlertDialogTrigger; exports.AlertTitle = _chunkS4G7IXZZjs.AlertTitle; exports.AllUsersListContainer = _chunkS4G7IXZZjs.AllUsersListContainer; exports.AllowedUsersDetails = _chunkS4G7IXZZjs.AllowedUsersDetails; exports.AssistantContainer = _chunkS4G7IXZZjs.AssistantContainer; exports.AttributeElement = _chunkS4G7IXZZjs.AttributeElement; exports.AuthContainer = _chunkS4G7IXZZjs.AuthContainer; exports.Avatar = _chunkS4G7IXZZjs.Avatar; exports.AvatarBadge = _chunkS4G7IXZZjs.AvatarBadge; exports.AvatarFallback = _chunkS4G7IXZZjs.AvatarFallback; exports.AvatarGroup = _chunkS4G7IXZZjs.AvatarGroup; exports.AvatarGroupCount = _chunkS4G7IXZZjs.AvatarGroupCount; exports.AvatarImage = _chunkS4G7IXZZjs.AvatarImage; exports.BackupCodesDialog = _chunkS4G7IXZZjs.BackupCodesDialog; exports.Badge = _chunkS4G7IXZZjs.Badge; exports.BlockNoteEditorContainer = _chunkS4G7IXZZjs.BlockNoteEditorContainer; exports.BlockNoteEditorMentionHoverCard = _chunkS4G7IXZZjs.BlockNoteEditorMentionHoverCard; exports.BlockNoteEditorMentionSuggestionMenu = _chunkS4G7IXZZjs.BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteViewerContainer = _chunkS4G7IXZZjs.BlockNoteViewerContainer; exports.Board = _chunkS4G7IXZZjs.KanbanBoard; exports.Breadcrumb = _chunkS4G7IXZZjs.Breadcrumb; exports.BreadcrumbEllipsis = _chunkS4G7IXZZjs.BreadcrumbEllipsis; exports.BreadcrumbItem = _chunkS4G7IXZZjs.BreadcrumbItem; exports.BreadcrumbLink = _chunkS4G7IXZZjs.BreadcrumbLink; exports.BreadcrumbList = _chunkS4G7IXZZjs.BreadcrumbList; exports.BreadcrumbNavigation = _chunkS4G7IXZZjs.BreadcrumbNavigation; exports.BreadcrumbPage = _chunkS4G7IXZZjs.BreadcrumbPage; exports.BreadcrumbSeparator = _chunkS4G7IXZZjs.BreadcrumbSeparator; exports.Button = _chunkS4G7IXZZjs.Button; exports.Calendar = _chunkS4G7IXZZjs.Calendar; exports.CalendarDayButton = _chunkS4G7IXZZjs.CalendarDayButton; exports.Card = _chunkS4G7IXZZjs.Card; exports.CardAction = _chunkS4G7IXZZjs.CardAction; exports.CardContent = _chunkS4G7IXZZjs.CardContent; exports.CardDescription = _chunkS4G7IXZZjs.CardDescription; exports.CardFooter = _chunkS4G7IXZZjs.CardFooter; exports.CardHeader = _chunkS4G7IXZZjs.CardHeader; exports.CardTitle = _chunkS4G7IXZZjs.CardTitle; exports.Carousel = _chunkS4G7IXZZjs.Carousel; exports.CarouselContent = _chunkS4G7IXZZjs.CarouselContent; exports.CarouselItem = _chunkS4G7IXZZjs.CarouselItem; exports.CarouselNext = _chunkS4G7IXZZjs.CarouselNext; exports.CarouselPrevious = _chunkS4G7IXZZjs.CarouselPrevious; exports.ChartContainer = _chunkS4G7IXZZjs.ChartContainer; exports.ChartLegend = _chunkS4G7IXZZjs.ChartLegend; exports.ChartLegendContent = _chunkS4G7IXZZjs.ChartLegendContent; exports.ChartStyle = _chunkS4G7IXZZjs.ChartStyle; exports.ChartTooltip = _chunkS4G7IXZZjs.ChartTooltip; exports.ChartTooltipContent = _chunkS4G7IXZZjs.ChartTooltipContent; exports.Checkbox = _chunkS4G7IXZZjs.Checkbox; exports.Collapsible = _chunkS4G7IXZZjs.Collapsible; exports.CollapsibleContent = _chunkS4G7IXZZjs.CollapsibleContent; exports.CollapsibleTrigger = _chunkS4G7IXZZjs.CollapsibleTrigger; exports.Column = _chunkS4G7IXZZjs.KanbanColumn; exports.ColumnHandle = _chunkS4G7IXZZjs.KanbanColumnHandle; exports.Combobox = _chunkS4G7IXZZjs.Combobox; exports.ComboboxChip = _chunkS4G7IXZZjs.ComboboxChip; exports.ComboboxChips = _chunkS4G7IXZZjs.ComboboxChips; exports.ComboboxChipsInput = _chunkS4G7IXZZjs.ComboboxChipsInput; exports.ComboboxCollection = _chunkS4G7IXZZjs.ComboboxCollection; exports.ComboboxContent = _chunkS4G7IXZZjs.ComboboxContent; exports.ComboboxEmpty = _chunkS4G7IXZZjs.ComboboxEmpty; exports.ComboboxGroup = _chunkS4G7IXZZjs.ComboboxGroup; exports.ComboboxInput = _chunkS4G7IXZZjs.ComboboxInput; exports.ComboboxItem = _chunkS4G7IXZZjs.ComboboxItem; exports.ComboboxLabel = _chunkS4G7IXZZjs.ComboboxLabel; exports.ComboboxList = _chunkS4G7IXZZjs.ComboboxList; exports.ComboboxSeparator = _chunkS4G7IXZZjs.ComboboxSeparator; exports.ComboboxTrigger = _chunkS4G7IXZZjs.ComboboxTrigger; exports.ComboboxValue = _chunkS4G7IXZZjs.ComboboxValue; exports.Command = _chunkS4G7IXZZjs.Command; exports.CommandDialog = _chunkS4G7IXZZjs.CommandDialog; exports.CommandEmpty = _chunkS4G7IXZZjs.CommandEmpty; exports.CommandGroup = _chunkS4G7IXZZjs.CommandGroup; exports.CommandInput = _chunkS4G7IXZZjs.CommandInput; exports.CommandItem = _chunkS4G7IXZZjs.CommandItem; exports.CommandList = _chunkS4G7IXZZjs.CommandList; exports.CommandSeparator = _chunkS4G7IXZZjs.CommandSeparator; exports.CommandShortcut = _chunkS4G7IXZZjs.CommandShortcut; exports.CommonAddTrigger = _chunkS4G7IXZZjs.CommonAddTrigger; exports.CommonAssociationCommandDialog = _chunkS4G7IXZZjs.CommonAssociationCommandDialog; exports.CommonAssociationTrigger = _chunkS4G7IXZZjs.CommonAssociationTrigger; exports.CommonDeleter = _chunkS4G7IXZZjs.CommonDeleter; exports.CommonEditorButtons = _chunkS4G7IXZZjs.CommonEditorButtons; exports.CommonEditorDiscardDialog = _chunkS4G7IXZZjs.CommonEditorDiscardDialog; exports.CommonEditorHeader = _chunkS4G7IXZZjs.CommonEditorHeader; exports.CommonEditorTrigger = _chunkS4G7IXZZjs.CommonEditorTrigger; exports.CompaniesList = _chunkS4G7IXZZjs.CompaniesList; exports.CompanyConfigurationEditor = _chunkS4G7IXZZjs.CompanyConfigurationEditor; exports.CompanyContainer = _chunkS4G7IXZZjs.CompanyContainer; exports.CompanyContent = _chunkS4G7IXZZjs.CompanyContent; exports.CompanyDeleter = _chunkS4G7IXZZjs.CompanyDeleter; exports.CompanyDetails = _chunkS4G7IXZZjs.CompanyDetails; exports.CompanyEditor = _chunkS4G7IXZZjs.CompanyEditor; exports.CompanyUsersList = _chunkS4G7IXZZjs.CompanyUsersList; exports.ConfirmDialog = _chunkS4G7IXZZjs.ConfirmDialog; exports.ContentListGrid = _chunkS4G7IXZZjs.ContentListGrid; exports.ContentListTable = _chunkS4G7IXZZjs.ContentListTable; exports.ContentTableSearch = _chunkS4G7IXZZjs.ContentTableSearch; exports.ContentTitle = _chunkS4G7IXZZjs.ContentTitle; exports.ContentsList = _chunkS4G7IXZZjs.ContentsList; exports.ContentsListById = _chunkS4G7IXZZjs.ContentsListById; exports.ContextMenu = _chunkS4G7IXZZjs.ContextMenu; exports.ContextMenuCheckboxItem = _chunkS4G7IXZZjs.ContextMenuCheckboxItem; exports.ContextMenuContent = _chunkS4G7IXZZjs.ContextMenuContent; exports.ContextMenuGroup = _chunkS4G7IXZZjs.ContextMenuGroup; exports.ContextMenuItem = _chunkS4G7IXZZjs.ContextMenuItem; exports.ContextMenuLabel = _chunkS4G7IXZZjs.ContextMenuLabel; exports.ContextMenuPortal = _chunkS4G7IXZZjs.ContextMenuPortal; exports.ContextMenuRadioGroup = _chunkS4G7IXZZjs.ContextMenuRadioGroup; exports.ContextMenuRadioItem = _chunkS4G7IXZZjs.ContextMenuRadioItem; exports.ContextMenuSeparator = _chunkS4G7IXZZjs.ContextMenuSeparator; exports.ContextMenuShortcut = _chunkS4G7IXZZjs.ContextMenuShortcut; exports.ContextMenuSub = _chunkS4G7IXZZjs.ContextMenuSub; exports.ContextMenuSubContent = _chunkS4G7IXZZjs.ContextMenuSubContent; exports.ContextMenuSubTrigger = _chunkS4G7IXZZjs.ContextMenuSubTrigger; exports.ContextMenuTrigger = _chunkS4G7IXZZjs.ContextMenuTrigger; exports.ContributorsList = _chunkS4G7IXZZjs.ContributorsList; exports.Cookies = _chunkS4G7IXZZjs.Cookies; exports.CurrencyInput = _chunkS4G7IXZZjs.CurrencyInput; exports.DatePickerPopover = _chunkS4G7IXZZjs.DatePickerPopover; exports.DateRangeSelector = _chunkS4G7IXZZjs.DateRangeSelector; exports.DetailField = _chunkS4G7IXZZjs.DetailField; exports.Dialog = _chunkS4G7IXZZjs.Dialog; exports.DialogClose = _chunkS4G7IXZZjs.DialogClose; exports.DialogContent = _chunkS4G7IXZZjs.DialogContent; exports.DialogDescription = _chunkS4G7IXZZjs.DialogDescription; exports.DialogFooter = _chunkS4G7IXZZjs.DialogFooter; exports.DialogHeader = _chunkS4G7IXZZjs.DialogHeader; exports.DialogOverlay = _chunkS4G7IXZZjs.DialogOverlay; exports.DialogPortal = _chunkS4G7IXZZjs.DialogPortal; exports.DialogTitle = _chunkS4G7IXZZjs.DialogTitle; exports.DialogTrigger = _chunkS4G7IXZZjs.DialogTrigger; exports.DisableTwoFactorDialog = _chunkS4G7IXZZjs.DisableTwoFactorDialog; exports.Drawer = _chunkS4G7IXZZjs.Drawer; exports.DrawerClose = _chunkS4G7IXZZjs.DrawerClose; exports.DrawerContent = _chunkS4G7IXZZjs.DrawerContent; exports.DrawerDescription = _chunkS4G7IXZZjs.DrawerDescription; exports.DrawerFooter = _chunkS4G7IXZZjs.DrawerFooter; exports.DrawerHeader = _chunkS4G7IXZZjs.DrawerHeader; exports.DrawerOverlay = _chunkS4G7IXZZjs.DrawerOverlay; exports.DrawerPortal = _chunkS4G7IXZZjs.DrawerPortal; exports.DrawerTitle = _chunkS4G7IXZZjs.DrawerTitle; exports.DrawerTrigger = _chunkS4G7IXZZjs.DrawerTrigger; exports.DropdownMenu = _chunkS4G7IXZZjs.DropdownMenu; exports.DropdownMenuCheckboxItem = _chunkS4G7IXZZjs.DropdownMenuCheckboxItem; exports.DropdownMenuContent = _chunkS4G7IXZZjs.DropdownMenuContent; exports.DropdownMenuGroup = _chunkS4G7IXZZjs.DropdownMenuGroup; exports.DropdownMenuItem = _chunkS4G7IXZZjs.DropdownMenuItem; exports.DropdownMenuLabel = _chunkS4G7IXZZjs.DropdownMenuLabel; exports.DropdownMenuPortal = _chunkS4G7IXZZjs.DropdownMenuPortal; exports.DropdownMenuRadioGroup = _chunkS4G7IXZZjs.DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = _chunkS4G7IXZZjs.DropdownMenuRadioItem; exports.DropdownMenuSeparator = _chunkS4G7IXZZjs.DropdownMenuSeparator; exports.DropdownMenuShortcut = _chunkS4G7IXZZjs.DropdownMenuShortcut; exports.DropdownMenuSub = _chunkS4G7IXZZjs.DropdownMenuSub; exports.DropdownMenuSubContent = _chunkS4G7IXZZjs.DropdownMenuSubContent; exports.DropdownMenuSubTrigger = _chunkS4G7IXZZjs.DropdownMenuSubTrigger; exports.DropdownMenuTrigger = _chunkS4G7IXZZjs.DropdownMenuTrigger; exports.EditableAvatar = _chunkS4G7IXZZjs.EditableAvatar; exports.EditorSheet = _chunkS4G7IXZZjs.EditorSheet; exports.EmptyState = _chunkS4G7IXZZjs.EmptyState; exports.EntityAvatar = _chunkS4G7IXZZjs.EntityAvatar; exports.EntityHero = _chunkS4G7IXZZjs.EntityHero; exports.EntityHeroAvatar = _chunkS4G7IXZZjs.EntityHeroAvatar; exports.EntityHeroLayout = _chunkS4G7IXZZjs.EntityHeroLayout; exports.EntityHeroMetaRow = _chunkS4G7IXZZjs.EntityHeroMetaRow; exports.EntityMultiSelector = _chunkS4G7IXZZjs.EntityMultiSelector; exports.EntitySection = _chunkS4G7IXZZjs.EntitySection; exports.EntitySelector = _chunkS4G7IXZZjs.EntitySelector; exports.ErrorDetails = _chunkS4G7IXZZjs.ErrorDetails; exports.Field = _chunkS4G7IXZZjs.Field; exports.FieldContent = _chunkS4G7IXZZjs.FieldContent; exports.FieldDescription = _chunkS4G7IXZZjs.FieldDescription; exports.FieldError = _chunkS4G7IXZZjs.FieldError; exports.FieldGroup = _chunkS4G7IXZZjs.FieldGroup; exports.FieldLabel = _chunkS4G7IXZZjs.FieldLabel; exports.FieldLegend = _chunkS4G7IXZZjs.FieldLegend; exports.FieldSeparator = _chunkS4G7IXZZjs.FieldSeparator; exports.FieldSet = _chunkS4G7IXZZjs.FieldSet; exports.FieldTitle = _chunkS4G7IXZZjs.FieldTitle; exports.FileInput = _chunkS4G7IXZZjs.FileInput; exports.FileUploader = _chunkS4G7IXZZjs.FileUploader; exports.FileUploaderContent = _chunkS4G7IXZZjs.FileUploaderContent; exports.FileUploaderItem = _chunkS4G7IXZZjs.FileUploaderItem; exports.FiscalDataDisplay = _chunkS4G7IXZZjs.FiscalDataDisplay; exports.ForgotPassword = _chunkS4G7IXZZjs.ForgotPassword; exports.Form = _chunkS4G7IXZZjs.Form; exports.FormBlockNote = _chunkS4G7IXZZjs.FormBlockNote; exports.FormBody = _chunkS4G7IXZZjs.FormBody; exports.FormCheckbox = _chunkS4G7IXZZjs.FormCheckbox; exports.FormCol = _chunkS4G7IXZZjs.FormCol; exports.FormDate = _chunkS4G7IXZZjs.FormDate; exports.FormDateTime = _chunkS4G7IXZZjs.FormDateTime; exports.FormFeatures = _chunkS4G7IXZZjs.FormFeatures; exports.FormFieldWrapper = _chunkS4G7IXZZjs.FormFieldWrapper; exports.FormInput = _chunkS4G7IXZZjs.FormInput; exports.FormPassword = _chunkS4G7IXZZjs.FormPassword; exports.FormPlaceAutocomplete = _chunkS4G7IXZZjs.FormPlaceAutocomplete; exports.FormRoles = _chunkS4G7IXZZjs.FormRoles; exports.FormRow = _chunkS4G7IXZZjs.FormRow; exports.FormSection = _chunkS4G7IXZZjs.FormSection; exports.FormSelect = _chunkS4G7IXZZjs.FormSelect; exports.FormSlider = _chunkS4G7IXZZjs.FormSlider; exports.FormSwitch = _chunkS4G7IXZZjs.FormSwitch; exports.FormTextarea = _chunkS4G7IXZZjs.FormTextarea; exports.GdprConsentCheckbox = _chunkS4G7IXZZjs.GdprConsentCheckbox; exports.GdprConsentSection = _chunkS4G7IXZZjs.GdprConsentSection; exports.HEADER_ROW_MIN_H = _chunkS4G7IXZZjs.HEADER_ROW_MIN_H; exports.Header = _chunkS4G7IXZZjs.Header; exports.HoverCard = _chunkS4G7IXZZjs.HoverCard; exports.HoverCardContent = _chunkS4G7IXZZjs.HoverCardContent; exports.HoverCardTrigger = _chunkS4G7IXZZjs.HoverCardTrigger; exports.HowToCommand = _chunkS4G7IXZZjs.HowToCommand; exports.HowToCommandViewer = _chunkS4G7IXZZjs.HowToCommandViewer; exports.HowToContainer = _chunkS4G7IXZZjs.HowToContainer; exports.HowToContent = _chunkS4G7IXZZjs.HowToContent; exports.HowToDeleter = _chunkS4G7IXZZjs.HowToDeleter; exports.HowToDetails = _chunkS4G7IXZZjs.HowToDetails; exports.HowToEditor = _chunkS4G7IXZZjs.HowToEditor; exports.HowToList = _chunkS4G7IXZZjs.HowToList; exports.HowToListContainer = _chunkS4G7IXZZjs.HowToListContainer; exports.HowToMultiSelector = _chunkS4G7IXZZjs.HowToMultiSelector; exports.HowToSelector = _chunkS4G7IXZZjs.HowToSelector; exports.Input = _chunkS4G7IXZZjs.Input; exports.InputGroup = _chunkS4G7IXZZjs.InputGroup; exports.InputGroupAddon = _chunkS4G7IXZZjs.InputGroupAddon; exports.InputGroupButton = _chunkS4G7IXZZjs.InputGroupButton; exports.InputGroupInput = _chunkS4G7IXZZjs.InputGroupInput; exports.InputGroupText = _chunkS4G7IXZZjs.InputGroupText; exports.InputGroupTextarea = _chunkS4G7IXZZjs.InputGroupTextarea; exports.InputOTP = _chunkS4G7IXZZjs.InputOTP; exports.InputOTPGroup = _chunkS4G7IXZZjs.InputOTPGroup; exports.InputOTPSeparator = _chunkS4G7IXZZjs.InputOTPSeparator; exports.InputOTPSlot = _chunkS4G7IXZZjs.InputOTPSlot; exports.ItalianFiscalData = _chunkS4G7IXZZjs.ItalianFiscalData_default; exports.ItalianFiscalDataDisplay = _chunkS4G7IXZZjs.ItalianFiscalDataDisplay; exports.Item = _chunkS4G7IXZZjs.KanbanItem; exports.ItemHandle = _chunkS4G7IXZZjs.KanbanItemHandle; exports.Kanban = _chunkS4G7IXZZjs.KanbanRoot; exports.KanbanBoard = _chunkS4G7IXZZjs.KanbanBoard; exports.KanbanColumn = _chunkS4G7IXZZjs.KanbanColumn; exports.KanbanColumnHandle = _chunkS4G7IXZZjs.KanbanColumnHandle; exports.KanbanItem = _chunkS4G7IXZZjs.KanbanItem; exports.KanbanItemHandle = _chunkS4G7IXZZjs.KanbanItemHandle; exports.KanbanOverlay = _chunkS4G7IXZZjs.KanbanOverlay; exports.Label = _chunkS4G7IXZZjs.Label; exports.LandingComponent = _chunkS4G7IXZZjs.LandingComponent; exports.Link = _chunkS4G7IXZZjs.Link; exports.Login = _chunkS4G7IXZZjs.Login; exports.Logout = _chunkS4G7IXZZjs.Logout; exports.MessageItem = _chunkS4G7IXZZjs.MessageItem; exports.MessageList = _chunkS4G7IXZZjs.MessageList; exports.MessageSourcesPanel = _chunkS4G7IXZZjs.MessageSourcesPanel; exports.MicroLabel = _chunkS4G7IXZZjs.MicroLabel; exports.MobileNavigationBar = _chunkS4G7IXZZjs.MobileNavigationBar; exports.ModeToggleSwitch = _chunkS4G7IXZZjs.ModeToggleSwitch; exports.MultiSelect = _chunkS4G7IXZZjs.MultiSelect; exports.MultipleSelector = _chunkS4G7IXZZjs.MultipleSelector; exports.NavigationMenu = _chunkS4G7IXZZjs.NavigationMenu; exports.NavigationMenuContent = _chunkS4G7IXZZjs.NavigationMenuContent; exports.NavigationMenuIndicator = _chunkS4G7IXZZjs.NavigationMenuIndicator; exports.NavigationMenuItem = _chunkS4G7IXZZjs.NavigationMenuItem; exports.NavigationMenuLink = _chunkS4G7IXZZjs.NavigationMenuLink; exports.NavigationMenuList = _chunkS4G7IXZZjs.NavigationMenuList; exports.NavigationMenuPositioner = _chunkS4G7IXZZjs.NavigationMenuPositioner; exports.NavigationMenuTrigger = _chunkS4G7IXZZjs.NavigationMenuTrigger; exports.NotificationErrorBoundary = _chunkS4G7IXZZjs.NotificationErrorBoundary; exports.NotificationMenuItem = _chunkS4G7IXZZjs.NotificationMenuItem; exports.NotificationModal = _chunkS4G7IXZZjs.NotificationModal; exports.NotificationToast = _chunkS4G7IXZZjs.NotificationToast; exports.NotificationsList = _chunkS4G7IXZZjs.NotificationsList; exports.NotificationsListContainer = _chunkS4G7IXZZjs.NotificationsListContainer; exports.OAuthClientCard = _chunkS4G7IXZZjs.OAuthClientCard; exports.OAuthClientDetail = _chunkS4G7IXZZjs.OAuthClientDetail; exports.OAuthClientForm = _chunkS4G7IXZZjs.OAuthClientForm; exports.OAuthClientList = _chunkS4G7IXZZjs.OAuthClientList; exports.OAuthClientSecretDisplay = _chunkS4G7IXZZjs.OAuthClientSecretDisplay; exports.OAuthConsentActions = _chunkS4G7IXZZjs.OAuthConsentActions; exports.OAuthConsentHeader = _chunkS4G7IXZZjs.OAuthConsentHeader; exports.OAuthConsentScreen = _chunkS4G7IXZZjs.OAuthConsentScreen; exports.OAuthRedirectUriInput = _chunkS4G7IXZZjs.OAuthRedirectUriInput; exports.OAuthScopeList = _chunkS4G7IXZZjs.OAuthScopeList; exports.OAuthScopeSelector = _chunkS4G7IXZZjs.OAuthScopeSelector; exports.OnboardingCard = _chunkS4G7IXZZjs.OnboardingCard; exports.Overlay = _chunkS4G7IXZZjs.KanbanOverlay; exports.PageContainer = _chunkS4G7IXZZjs.PageContainer; exports.PageContainerContentDetails = _chunkS4G7IXZZjs.PageContainerContentDetails; exports.PageContentContainer = _chunkS4G7IXZZjs.PageContentContainer; exports.PageSection = _chunkS4G7IXZZjs.PageSection; exports.PasskeyButton = _chunkS4G7IXZZjs.PasskeyButton; exports.PasskeyList = _chunkS4G7IXZZjs.PasskeyList; exports.PasskeySetupDialog = _chunkS4G7IXZZjs.PasskeySetupDialog; exports.PasswordInput = _chunkS4G7IXZZjs.PasswordInput; exports.Popover = _chunkS4G7IXZZjs.Popover; exports.PopoverContent = _chunkS4G7IXZZjs.PopoverContent; exports.PopoverDescription = _chunkS4G7IXZZjs.PopoverDescription; exports.PopoverHeader = _chunkS4G7IXZZjs.PopoverHeader; exports.PopoverTitle = _chunkS4G7IXZZjs.PopoverTitle; exports.PopoverTrigger = _chunkS4G7IXZZjs.PopoverTrigger; exports.Progress = _chunkS4G7IXZZjs.Progress; exports.ProgressIndicator = _chunkS4G7IXZZjs.ProgressIndicator; exports.ProgressLabel = _chunkS4G7IXZZjs.ProgressLabel; exports.ProgressTrack = _chunkS4G7IXZZjs.ProgressTrack; exports.ProgressValue = _chunkS4G7IXZZjs.ProgressValue; exports.PushNotificationProvider = _chunkS4G7IXZZjs.PushNotificationProvider; exports.RadioGroup = _chunkS4G7IXZZjs.RadioGroup; exports.RadioGroupItem = _chunkS4G7IXZZjs.RadioGroupItem; exports.RbacByRoleContainer = _chunkS4G7IXZZjs.RbacByRoleContainer; exports.RbacContainer = _chunkS4G7IXZZjs.RbacContainer; exports.RbacPermissionCell = _chunkS4G7IXZZjs.RbacPermissionCell; exports.RbacPermissionPicker = _chunkS4G7IXZZjs.RbacPermissionPicker; exports.ReactMarkdownContainer = _chunkS4G7IXZZjs.ReactMarkdownContainer; exports.RecentPagesNavigator = _chunkS4G7IXZZjs.RecentPagesNavigator; exports.ReferralCodeCapture = _chunkS4G7IXZZjs.ReferralCodeCapture; exports.ReferralDialog = _chunkS4G7IXZZjs.ReferralDialog; exports.ReferralWidget = _chunkS4G7IXZZjs.ReferralWidget; exports.RefreshUser = _chunkS4G7IXZZjs.RefreshUser; exports.RelevantContentsList = _chunkS4G7IXZZjs.RelevantContentsList; exports.RelevantUsersList = _chunkS4G7IXZZjs.RelevantUsersList; exports.RemoveUserFromRole = _chunkS4G7IXZZjs.RemoveUserFromRole; exports.ResetPassword = _chunkS4G7IXZZjs.ResetPassword; exports.ResizableHandle = _chunkS4G7IXZZjs.ResizableHandle; exports.ResizablePanel = _chunkS4G7IXZZjs.ResizablePanel; exports.ResizablePanelGroup = _chunkS4G7IXZZjs.ResizablePanelGroup; exports.RoleContainer = _chunkS4G7IXZZjs.RoleContainer; exports.RoleDetails = _chunkS4G7IXZZjs.RoleDetails; exports.RoleUsersList = _chunkS4G7IXZZjs.RoleUsersList; exports.RolesList = _chunkS4G7IXZZjs.RolesList; exports.Root = _chunkS4G7IXZZjs.KanbanRoot; exports.RoundPageContainer = _chunkS4G7IXZZjs.RoundPageContainer; exports.RoundPageContainerTitle = _chunkS4G7IXZZjs.RoundPageContainerTitle; exports.ScrollArea = _chunkS4G7IXZZjs.ScrollArea; exports.ScrollBar = _chunkS4G7IXZZjs.ScrollBar; exports.SectionHeader = _chunkS4G7IXZZjs.SectionHeader; exports.SecurityContainer = _chunkS4G7IXZZjs.SecurityContainer; exports.Select = _chunkS4G7IXZZjs.Select; exports.SelectContent = _chunkS4G7IXZZjs.SelectContent; exports.SelectGroup = _chunkS4G7IXZZjs.SelectGroup; exports.SelectItem = _chunkS4G7IXZZjs.SelectItem; exports.SelectLabel = _chunkS4G7IXZZjs.SelectLabel; exports.SelectScrollDownButton = _chunkS4G7IXZZjs.SelectScrollDownButton; exports.SelectScrollUpButton = _chunkS4G7IXZZjs.SelectScrollUpButton; exports.SelectSeparator = _chunkS4G7IXZZjs.SelectSeparator; exports.SelectTrigger = _chunkS4G7IXZZjs.SelectTrigger; exports.SelectValue = _chunkS4G7IXZZjs.SelectValue; exports.Separator = _chunkS4G7IXZZjs.Separator; exports.Sheet = _chunkS4G7IXZZjs.Sheet; exports.SheetClose = _chunkS4G7IXZZjs.SheetClose; exports.SheetContent = _chunkS4G7IXZZjs.SheetContent; exports.SheetDescription = _chunkS4G7IXZZjs.SheetDescription; exports.SheetFooter = _chunkS4G7IXZZjs.SheetFooter; exports.SheetHeader = _chunkS4G7IXZZjs.SheetHeader; exports.SheetTitle = _chunkS4G7IXZZjs.SheetTitle; exports.SheetTrigger = _chunkS4G7IXZZjs.SheetTrigger; exports.Sidebar = _chunkS4G7IXZZjs.Sidebar; exports.SidebarContent = _chunkS4G7IXZZjs.SidebarContent; exports.SidebarFooter = _chunkS4G7IXZZjs.SidebarFooter; exports.SidebarGroup = _chunkS4G7IXZZjs.SidebarGroup; exports.SidebarGroupAction = _chunkS4G7IXZZjs.SidebarGroupAction; exports.SidebarGroupContent = _chunkS4G7IXZZjs.SidebarGroupContent; exports.SidebarGroupLabel = _chunkS4G7IXZZjs.SidebarGroupLabel; exports.SidebarHeader = _chunkS4G7IXZZjs.SidebarHeader; exports.SidebarInput = _chunkS4G7IXZZjs.SidebarInput; exports.SidebarInset = _chunkS4G7IXZZjs.SidebarInset; exports.SidebarMenu = _chunkS4G7IXZZjs.SidebarMenu; exports.SidebarMenuAction = _chunkS4G7IXZZjs.SidebarMenuAction; exports.SidebarMenuBadge = _chunkS4G7IXZZjs.SidebarMenuBadge; exports.SidebarMenuButton = _chunkS4G7IXZZjs.SidebarMenuButton; exports.SidebarMenuItem = _chunkS4G7IXZZjs.SidebarMenuItem; exports.SidebarMenuSkeleton = _chunkS4G7IXZZjs.SidebarMenuSkeleton; exports.SidebarMenuSub = _chunkS4G7IXZZjs.SidebarMenuSub; exports.SidebarMenuSubButton = _chunkS4G7IXZZjs.SidebarMenuSubButton; exports.SidebarMenuSubItem = _chunkS4G7IXZZjs.SidebarMenuSubItem; exports.SidebarProvider = _chunkS4G7IXZZjs.SidebarProvider; exports.SidebarRail = _chunkS4G7IXZZjs.SidebarRail; exports.SidebarSeparator = _chunkS4G7IXZZjs.SidebarSeparator; exports.SidebarTrigger = _chunkS4G7IXZZjs.SidebarTrigger; exports.Skeleton = _chunkS4G7IXZZjs.Skeleton; exports.Slider = _chunkS4G7IXZZjs.Slider; exports.Spinner = _chunkS4G7IXZZjs.Spinner; exports.Switch = _chunkS4G7IXZZjs.Switch; exports.Table = _chunkS4G7IXZZjs.Table; exports.TableBody = _chunkS4G7IXZZjs.TableBody; exports.TableCaption = _chunkS4G7IXZZjs.TableCaption; exports.TableCell = _chunkS4G7IXZZjs.TableCell; exports.TableCellAvatar = _chunkS4G7IXZZjs.TableCellAvatar; exports.TableFooter = _chunkS4G7IXZZjs.TableFooter; exports.TableHead = _chunkS4G7IXZZjs.TableHead; exports.TableHeader = _chunkS4G7IXZZjs.TableHeader; exports.TableRow = _chunkS4G7IXZZjs.TableRow; exports.Tabs = _chunkS4G7IXZZjs.Tabs; exports.TabsContainer = _chunkS4G7IXZZjs.TabsContainer; exports.TabsContent = _chunkS4G7IXZZjs.TabsContent; exports.TabsList = _chunkS4G7IXZZjs.TabsList; exports.TabsTrigger = _chunkS4G7IXZZjs.TabsTrigger; exports.Textarea = _chunkS4G7IXZZjs.Textarea; exports.Toaster = _chunkS4G7IXZZjs.Toaster; exports.Toggle = _chunkS4G7IXZZjs.Toggle; exports.TokenStatusIndicator = _chunkS4G7IXZZjs.TokenStatusIndicator; exports.Tooltip = _chunkS4G7IXZZjs.Tooltip; exports.TooltipContent = _chunkS4G7IXZZjs.TooltipContent; exports.TooltipProvider = _chunkS4G7IXZZjs.TooltipProvider; exports.TooltipTrigger = _chunkS4G7IXZZjs.TooltipTrigger; exports.TotpAuthenticatorList = _chunkS4G7IXZZjs.TotpAuthenticatorList; exports.TotpInput = _chunkS4G7IXZZjs.TotpInput; exports.TotpSetupDialog = _chunkS4G7IXZZjs.TotpSetupDialog; exports.TwoFactorChallenge = _chunkS4G7IXZZjs.TwoFactorChallenge; exports.TwoFactorSettings = _chunkS4G7IXZZjs.TwoFactorSettings; exports.UserAvatar = _chunkS4G7IXZZjs.UserAvatar; exports.UserAvatarEditor = _chunkS4G7IXZZjs.UserAvatarEditor; exports.UserAvatarList = _chunkS4G7IXZZjs.UserAvatarList; exports.UserContainer = _chunkS4G7IXZZjs.UserContainer; exports.UserContent = _chunkS4G7IXZZjs.UserContent; exports.UserDeleter = _chunkS4G7IXZZjs.UserDeleter; exports.UserEditor = _chunkS4G7IXZZjs.UserEditor; exports.UserIndexContainer = _chunkS4G7IXZZjs.UserIndexContainer; exports.UserIndexDetails = _chunkS4G7IXZZjs.UserIndexDetails; exports.UserListInAdd = _chunkS4G7IXZZjs.UserListInAdd; exports.UserMultiSelect = _chunkS4G7IXZZjs.UserMultiSelect; exports.UserReactivator = _chunkS4G7IXZZjs.UserReactivator; exports.UserResentInvitationEmail = _chunkS4G7IXZZjs.UserResentInvitationEmail; exports.UserRoleAdd = _chunkS4G7IXZZjs.UserRoleAdd; exports.UserRolesList = _chunkS4G7IXZZjs.UserRolesList; exports.UserSearchPopover = _chunkS4G7IXZZjs.UserSearchPopover; exports.UserSelector = _chunkS4G7IXZZjs.UserSelector; exports.UserStanadaloneDetails = _chunkS4G7IXZZjs.UserStanadaloneDetails; exports.UsersList = _chunkS4G7IXZZjs.UsersList; exports.UsersListByContentIds = _chunkS4G7IXZZjs.UsersListByContentIds; exports.UsersListContainer = _chunkS4G7IXZZjs.UsersListContainer; exports.WaitlistConfirmation = _chunkS4G7IXZZjs.WaitlistConfirmation; exports.WaitlistForm = _chunkS4G7IXZZjs.WaitlistForm; exports.WaitlistHeroSection = _chunkS4G7IXZZjs.WaitlistHeroSection; exports.WaitlistList = _chunkS4G7IXZZjs.WaitlistList; exports.WaitlistQuestionnaireRenderer = _chunkS4G7IXZZjs.WaitlistQuestionnaireRenderer; exports.WaitlistSuccessState = _chunkS4G7IXZZjs.WaitlistSuccessState; exports.badgeVariants = _chunkS4G7IXZZjs.badgeVariants; exports.buttonVariants = _chunkS4G7IXZZjs.buttonVariants; exports.cellComponent = _chunkS4G7IXZZjs.cellComponent; exports.cellDate = _chunkS4G7IXZZjs.cellDate; exports.cellDateTime = _chunkS4G7IXZZjs.cellDateTime; exports.cellId = _chunkS4G7IXZZjs.cellId; exports.cellLink = _chunkS4G7IXZZjs.cellLink; exports.cellUrl = _chunkS4G7IXZZjs.cellUrl; exports.createMentionInlineContentSpec = _chunkS4G7IXZZjs.createMentionInlineContentSpec; exports.errorToast = _chunkS4G7IXZZjs.errorToast; exports.generateNotificationData = _chunkS4G7IXZZjs.generateNotificationData; exports.getIcon = _chunkAGKZCRG2js.getIcon; exports.getIconByModule = _chunkAGKZCRG2js.getIconByModule; exports.getIconByModuleName = _chunkAGKZCRG2js.getIconByModuleName; exports.getInitials = _chunkAGKZCRG2js.getInitials; exports.mentionDataAttrs = _chunkS4G7IXZZjs.mentionDataAttrs; exports.navigationMenuTriggerStyle = _chunkS4G7IXZZjs.navigationMenuTriggerStyle; exports.parseFiscalData = _chunkS4G7IXZZjs.parseFiscalData; exports.parseMentionElement = _chunkS4G7IXZZjs.parseMentionElement; exports.partitionTabs = _chunkS4G7IXZZjs.partitionTabs; exports.spinnerVariants = _chunkS4G7IXZZjs.spinnerVariants; exports.tabsListVariants = _chunkS4G7IXZZjs.tabsListVariants; exports.toggleVariants = _chunkS4G7IXZZjs.toggleVariants; exports.triggerAssociationToast = _chunkS4G7IXZZjs.triggerAssociationToast; exports.useCarousel = _chunkS4G7IXZZjs.useCarousel; exports.useComboboxAnchor = _chunkS4G7IXZZjs.useComboboxAnchor; exports.useDebounce = _chunkS4G7IXZZjs.useDebounce2; exports.useEditorDialog = _chunkS4G7IXZZjs.useEditorDialog; exports.useFileUpload = _chunkS4G7IXZZjs.useFileUpload; exports.useMentionInsert = _chunkS4G7IXZZjs.useMentionInsert; exports.useSidebar = _chunkS4G7IXZZjs.useSidebar;
|
|
987
987
|
//# sourceMappingURL=index.js.map
|
package/dist/contexts/index.js
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkS4G7IXZZjs = require('../chunk-S4G7IXZZ.js');
|
|
42
42
|
require('../chunk-SE2YSAER.js');
|
|
43
43
|
require('../chunk-AGKZCRG2.js');
|
|
44
44
|
require('../chunk-LXKSUWAV.js');
|
|
@@ -85,5 +85,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
exports.AssistantProvider =
|
|
88
|
+
exports.AssistantProvider = _chunkS4G7IXZZjs.AssistantProvider; exports.CommonProvider = _chunkS4G7IXZZjs.CommonProvider; exports.CompanyProvider = _chunkS4G7IXZZjs.CompanyProvider; exports.CurrentUserProvider = _chunkS4G7IXZZjs.CurrentUserProvider; exports.DEFAULT_ONBOARDING_LABELS = _chunkS4G7IXZZjs.DEFAULT_ONBOARDING_LABELS; exports.HeaderChildrenProvider = _chunkS4G7IXZZjs.HeaderChildrenProvider; exports.HeaderLeftContentProvider = _chunkS4G7IXZZjs.HeaderLeftContentProvider; exports.HeaderLogoProvider = _chunkS4G7IXZZjs.HeaderLogoProvider; exports.HowToProvider = _chunkS4G7IXZZjs.HowToProvider; exports.MobileNavigationProvider = _chunkS4G7IXZZjs.MobileNavigationProvider; exports.NotificationContextProvider = _chunkS4G7IXZZjs.NotificationContextProvider; exports.OnboardingProvider = _chunkS4G7IXZZjs.OnboardingProvider; exports.RbacProvider = _chunkS4G7IXZZjs.RbacProvider; exports.RoleProvider = _chunkS4G7IXZZjs.RoleProvider; exports.SharedProvider = _chunkS4G7IXZZjs.SharedProvider; exports.SocketContext = _chunkS4G7IXZZjs.SocketContext; exports.SocketProvider = _chunkS4G7IXZZjs.SocketProvider; exports.UserProvider = _chunkS4G7IXZZjs.UserProvider; exports.ViewportProvider = _chunkS4G7IXZZjs.ViewportProvider; exports.recentPagesAtom = _chunkS4G7IXZZjs.recentPagesAtom; exports.useAssistantContext = _chunkS4G7IXZZjs.useAssistantContext; exports.useCommonContext = _chunkS4G7IXZZjs.useCommonContext; exports.useCompanyContext = _chunkS4G7IXZZjs.useCompanyContext; exports.useCurrentUserContext = _chunkS4G7IXZZjs.useCurrentUserContext; exports.useHeaderChildren = _chunkS4G7IXZZjs.useHeaderChildren; exports.useHeaderLeftContent = _chunkS4G7IXZZjs.useHeaderLeftContent; exports.useHeaderLogo = _chunkS4G7IXZZjs.useHeaderLogo; exports.useHeaderMobileChildren = _chunkS4G7IXZZjs.useHeaderMobileChildren; exports.useHeaderRootLabel = _chunkS4G7IXZZjs.useHeaderRootLabel; exports.useHowToContext = _chunkS4G7IXZZjs.useHowToContext; exports.useMobileNavigationItems = _chunkS4G7IXZZjs.useMobileNavigationItems; exports.useNotificationContext = _chunkS4G7IXZZjs.useNotificationContext; exports.useOnboarding = _chunkS4G7IXZZjs.useOnboarding; exports.useRbacContext = _chunkS4G7IXZZjs.useRbacContext; exports.useRoleContext = _chunkS4G7IXZZjs.useRoleContext; exports.useSharedContext = _chunkS4G7IXZZjs.useSharedContext; exports.useSocketContext = _chunkS4G7IXZZjs.useSocketContext; exports.useUserContext = _chunkS4G7IXZZjs.useUserContext;
|
|
89
89
|
//# sourceMappingURL=index.js.map
|
package/dist/contexts/index.mjs
CHANGED
|
@@ -22,7 +22,7 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkS4G7IXZZjs = require('../../chunk-S4G7IXZZ.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkSE2YSAERjs = require('../../chunk-SE2YSAER.js');
|
|
@@ -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,
|
|
78
|
-
|
|
77
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
78
|
+
_chunkS4G7IXZZjs.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,
|
|
82
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.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 =
|
|
89
|
+
const ctx = _chunkS4G7IXZZjs.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,
|
|
94
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
95
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
93
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS4G7IXZZjs.SheetHeader, { children: [
|
|
94
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
|
|
95
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
|
|
96
96
|
] }),
|
|
97
|
-
!showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
97
|
+
!showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
98
98
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
99
|
-
|
|
99
|
+
_chunkS4G7IXZZjs.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,
|
|
109
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.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 } =
|
|
119
|
+
const { currentUser } = _chunkS4G7IXZZjs.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,
|
|
124
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
123
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS4G7IXZZjs.Tooltip, { children: [
|
|
124
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS4G7IXZZjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.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,
|
|
128
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.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,
|
|
132
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS4G7IXZZjs.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 } =
|
|
145
|
+
const { currentUser } = _chunkS4G7IXZZjs.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,
|
|
161
|
+
currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.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, _chunkS4G7IXZZjs.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,7 +200,7 @@ _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 =
|
|
203
|
+
const generateUrl = _chunkS4G7IXZZjs.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, () => {
|
|
@@ -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 =
|
|
284
|
+
const generateUrl = _chunkS4G7IXZZjs.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,
|
|
341
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.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,7 +359,7 @@ _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 =
|
|
362
|
+
const generateUrl = _chunkS4G7IXZZjs.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, []);
|
|
@@ -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
|
-
|
|
380
|
+
_chunkS4G7IXZZjs.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,
|
|
389
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
390
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
391
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
392
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
388
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.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, _chunkS4G7IXZZjs.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
|
|
390
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS4G7IXZZjs.SheetHeader, { children: [
|
|
391
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
|
|
392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.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,7 +421,7 @@ _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 =
|
|
424
|
+
const generateUrl = _chunkS4G7IXZZjs.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;
|
|
@@ -432,7 +432,7 @@ function HelpSearchResultRow({ result, onSelect }) {
|
|
|
432
432
|
}, [result.id]);
|
|
433
433
|
if (!article) {
|
|
434
434
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
435
|
-
|
|
435
|
+
_chunkS4G7IXZZjs.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,
|
|
444
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS4G7IXZZjs.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}` }),
|
package/dist/server/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
var _chunkYUO55Q5Ajs = require('../chunk-YUO55Q5A.js');
|
|
4
4
|
|
|
@@ -42,7 +42,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, invalidateCacheTags, "invalidateCacheTags")
|
|
|
42
42
|
// src/server/ServerSession.ts
|
|
43
43
|
var _headers = require('next/headers');
|
|
44
44
|
var _navigation = require('next/navigation');
|
|
45
|
-
var _pako = require('pako');
|
|
45
|
+
var _pako = require('pako');
|
|
46
46
|
var ServerSession = class {
|
|
47
47
|
static {
|
|
48
48
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "ServerSession");
|
|
@@ -84,7 +84,7 @@ var ServerSession = class {
|
|
|
84
84
|
}
|
|
85
85
|
const rawModules = _optionalChain([cookieStore, 'access', _16 => _16.get, 'call', _17 => _17("modules"), 'optionalAccess', _18 => _18.value]);
|
|
86
86
|
if (!rawModules) return false;
|
|
87
|
-
const modules = JSON.parse(
|
|
87
|
+
const modules = JSON.parse(_pako.ungzip.call(void 0, Buffer.from(rawModules, "base64"), { toText: true }));
|
|
88
88
|
const selectedModule = modules.find((module) => module.id === params.module.moduleId);
|
|
89
89
|
return _chunkAGKZCRG2js.checkPermissionsFromServer.call(void 0, {
|
|
90
90
|
module: params.module,
|
package/dist/server/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/server/index.js","../../src/server/cache.ts","../../src/server/ServerSession.ts","../../src/server/JsonApiServer.ts"],"names":[],"mappings":"AAAA;AACE;AACF,uDAA6B;AAC7B;AACE;AACF,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACF,uDAA6B;AAC7B;AACE;AACF,uDAA6B;AAC7B;AACA;AC1BA,mCAA8B;AAW9B,MAAA,SAAsB,kBAAA,CAAmB,GAAA,EAAa,QAAA,EAAwB,KAAA,EAAsB;AAClG,EAAA,kCAAA,GAAc,EAAK,OAAO,CAAA;AAC5B;AAFsB,qCAAA,kBAAA,EAAA,oBAAA,CAAA;AAUtB,MAAA,SAAsB,mBAAA,CAAoB,IAAA,EAAgB,QAAA,EAAwB,KAAA,EAAsB;AACtG,EAAA,IAAA,CAAA,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IAAA;AACI,IAAA;AACD,IAAA;AACiB,IAAA;AACnC,EAAA;AAEwB,EAAA;AACiB,IAAA;AACxC,IAAA;AACkB,IAAA;AACD,IAAA;AAClB,EAAA;AACH;AArCsB;AA+CY;AACV,EAAA;AACa,EAAA;AAEjB,EAAA;AACP,EAAA;AACD,IAAA;AACH,EAAA;AACmC,IAAA;AAC1C,EAAA;AAEwC,EAAA;AAC9B,IAAA;AAC2B,IAAA;AACnC,IAAA;AACA,IAAA;AACc,IAAA;AACI,IAAA;AACD,IAAA;AACiB,IAAA;AACnC,EAAA;AAEwB,EAAA;AACiB,IAAA;AACxC,IAAA;AACkB,IAAA;AACD,IAAA;AAClB,EAAA;AACH;AApCsB;AA+CY;AACV,EAAA;AACa,EAAA;AAEjB,EAAA;AACP,EAAA;AACD,IAAA;AACqC,EAAA;AACL,IAAA;AAC1C,EAAA;AAEwC,EAAA;AAC9B,IAAA;AAC2B,IAAA;AACnC,IAAA;AACA,IAAA;AACc,IAAA;AACI,IAAA;AACD,IAAA;AACiB,IAAA;AACnC,EAAA;AAEwB,EAAA;AACiB,IAAA;AACxC,IAAA;AACkB,IAAA;AACD,IAAA;AAClB,EAAA;AACH;AArCsB;AA6CY;AACV,EAAA;AACa,EAAA;AAEK,EAAA;AAC9B,IAAA;AAC2B,IAAA;AACnC,IAAA;AACkB,IAAA;AACD,IAAA;AACiB,IAAA;AACnC,EAAA;AAEwB,EAAA;AACiB,IAAA;AACxC,IAAA;AACkB,IAAA;AACD,IAAA;AAClB,EAAA;AACH;AAzBsB;AH+C6B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/server/index.js","sourcesContent":[null,"// Server-only utilities (NOT server actions - these cannot be called from client components)\n\nimport { revalidateTag } from \"next/cache\";\n\nexport type CacheProfile = \"seconds\" | \"minutes\" | \"hours\" | \"days\" | \"weeks\" | \"max\" | \"default\";\n\n/**\n * Revalidate a cache tag to invalidate cached data.\n * Next.js 16+ requires a profile parameter.\n *\n * @param tag - The cache tag to invalidate\n * @param profile - The cache profile (defaults to \"max\" for immediate invalidation)\n */\nexport async function invalidateCacheTag(tag: string, profile: CacheProfile = \"max\"): Promise<void> {\n revalidateTag(tag, profile);\n}\n\n/**\n * Revalidate multiple cache tags.\n *\n * @param tags - Array of cache tags to invalidate\n * @param profile - The cache profile (defaults to \"max\" for immediate invalidation)\n */\nexport async function invalidateCacheTags(tags: string[], profile: CacheProfile = \"max\"): Promise<void> {\n for (const tag of tags) {\n revalidateTag(tag, profile);\n }\n}\n","import { cookies } from \"next/headers\";\nimport { redirect } from \"next/navigation\";\nimport pako from \"pako\";\nimport { Action, checkPermissionsFromServer, ModuleWithPermissions } from \"../permissions\";\n\nexport class ServerSession {\n static async isLogged() {\n const cookieStore = await cookies();\n const token = cookieStore.get(\"token\");\n\n if (!token || !token.value) return false;\n return true;\n }\n\n static async companyId() {\n const cookieStore = await cookies();\n return cookieStore.get(\"companyId\")?.value ?? \"\";\n }\n\n static async userId() {\n const cookieStore = await cookies();\n return cookieStore.get(\"userId\")?.value ?? \"\";\n }\n\n static async checkPermission<M extends ModuleWithPermissions>(params: { module: M; action: Action; data?: any }) {\n if (!(await this.hasPermissionToModule(params))) redirect(`/401`);\n }\n\n static async hasRole(roleId: string): Promise<boolean> {\n const cookieStore = await cookies();\n const roles = cookieStore.get(\"roles\")?.value;\n\n if (!roles || !roles.includes(roleId)) return false;\n\n return true;\n }\n\n static async hasFeature(featureId: string): Promise<boolean> {\n const cookieStore = await cookies();\n const features = cookieStore.get(\"features\")?.value;\n\n if (!features || !features.includes(featureId)) return false;\n\n return true;\n }\n\n static async hasPermissionToModule<M extends ModuleWithPermissions>(params: {\n module: M;\n action: Action;\n data?: any;\n }): Promise<boolean> {\n const cookieStore = await cookies();\n\n if (params.module.feature) {\n const features = cookieStore.get(\"features\")?.value;\n\n if (features && !features.includes(params.module.feature)) return false;\n }\n\n const rawModules = cookieStore.get(\"modules\")?.value;\n if (!rawModules) return false;\n\n const modules: {\n id: string;\n permissions: {\n create: boolean | string;\n read: boolean | string;\n update: boolean | string;\n delete: boolean | string;\n };\n }[] = JSON.parse(pako.ungzip(Buffer.from(rawModules, \"base64\"), { to: \"string\" }));\n\n const selectedModule = modules.find((module) => module.id === params.module.moduleId);\n\n return checkPermissionsFromServer({\n module: params.module,\n action: params.action,\n data: params.data,\n userId: await this.userId(),\n selectedModule: selectedModule,\n });\n\n // if (!selectedModule) return false;\n\n // if (!selectedModule.permissions[params.action]) return false;\n // if (typeof selectedModule.permissions[params.action] === \"boolean\")\n // return selectedModule.permissions[params.action] as boolean;\n\n // if (!params.data) return false;\n\n // return params.data[selectedModule.permissions[params.action] as string] === this.userId;\n }\n}\n","// Server-only utilities (NOT server actions - these cannot be called from client components)\n\nimport { JsonApiDataFactory } from \"../core/factories/JsonApiDataFactory\";\nimport { ApiRequestDataTypeInterface } from \"../core/interfaces/ApiRequestDataTypeInterface\";\nimport { ApiResponseInterface } from \"../core/interfaces/ApiResponseInterface\";\nimport { translateResponse } from \"../core/utils/translateResponse\";\nimport { ModuleWithPermissions } from \"../permissions/types\";\nimport { serverRequest } from \"./request\";\nimport { getServerToken } from \"./token\";\n\n// Config storage for server contexts\nlet _serverConfig: {\n apiUrl: string;\n appUrl?: string;\n trackablePages?: ModuleWithPermissions[];\n bootstrapper?: () => void;\n additionalHeaders?: Record<string, string>;\n} | null = null;\n\n/**\n * Configure the JSON:API server client.\n * Call this in your Bootstrapper or server initialization.\n */\nexport function configureServerJsonApi(config: {\n apiUrl: string;\n appUrl?: string;\n trackablePages?: ModuleWithPermissions[];\n bootstrapper?: () => void;\n additionalHeaders?: Record<string, string>;\n}): void {\n _serverConfig = config;\n if (config.bootstrapper) {\n config.bootstrapper();\n }\n}\n\nexport function getServerApiUrl(): string {\n if (_serverConfig?.apiUrl) {\n return _serverConfig.apiUrl;\n }\n const envUrl = process.env.NEXT_PUBLIC_API_URL;\n if (!envUrl) {\n throw new Error(\n \"API URL not configured. Use configureServerJsonApi() or set NEXT_PUBLIC_API_URL environment variable.\",\n );\n }\n return envUrl;\n}\n\nexport function getServerAppUrl(): string {\n if (_serverConfig?.appUrl) {\n return _serverConfig.appUrl;\n }\n const envUrl = process.env.NEXT_PUBLIC_ADDRESS;\n if (!envUrl) {\n throw new Error(\n \"App URL not configured. Use configureServerJsonApi({ appUrl }) or set NEXT_PUBLIC_ADDRESS environment variable.\",\n );\n }\n return envUrl.trim().replace(/\\/+$/, \"\");\n}\n\nexport function getServerTrackablePages(): ModuleWithPermissions[] {\n return _serverConfig?.trackablePages ?? [];\n}\n\nfunction runServerBootstrapper(): void {\n if (_serverConfig?.bootstrapper) {\n _serverConfig.bootstrapper();\n }\n}\n\nfunction buildServerUrl(endpoint: string): string {\n const apiUrl = getServerApiUrl();\n return endpoint.startsWith(\"http\") ? endpoint : `${apiUrl}${endpoint}`;\n}\n\nexport async function ServerJsonApiGet(params: {\n classKey: ApiRequestDataTypeInterface;\n endpoint: string;\n companyId?: string;\n language: string;\n}): Promise<ApiResponseInterface> {\n runServerBootstrapper();\n const token = await getServerToken();\n\n const apiResponse = await serverRequest({\n method: \"GET\",\n url: buildServerUrl(params.endpoint),\n token,\n cache: params.classKey.cache,\n companyId: params.companyId,\n language: params.language,\n additionalHeaders: _serverConfig?.additionalHeaders,\n });\n\n return translateResponse({\n classKey: params.classKey,\n apiResponse,\n companyId: params.companyId,\n language: params.language,\n paginationHandler: async (endpoint: string) =>\n ServerJsonApiGet({\n classKey: params.classKey,\n endpoint,\n companyId: params.companyId,\n language: params.language,\n }),\n });\n}\n\nexport async function ServerJsonApiPost(params: {\n classKey: ApiRequestDataTypeInterface;\n endpoint: string;\n companyId?: string;\n body?: any;\n overridesJsonApiCreation?: boolean;\n files?: { [key: string]: File | Blob } | File | Blob;\n language: string;\n responseType?: ApiRequestDataTypeInterface;\n}): Promise<ApiResponseInterface> {\n runServerBootstrapper();\n const token = await getServerToken();\n\n let body = params.body;\n if (!body) {\n body = {};\n } else if (params.overridesJsonApiCreation !== true) {\n body = JsonApiDataFactory.create(params.classKey, body);\n }\n\n const apiResponse = await serverRequest({\n method: \"POST\",\n url: buildServerUrl(params.endpoint),\n token,\n body,\n files: params.files,\n companyId: params.companyId,\n language: params.language,\n additionalHeaders: _serverConfig?.additionalHeaders,\n });\n\n return translateResponse({\n classKey: params.responseType ?? params.classKey,\n apiResponse,\n companyId: params.companyId,\n language: params.language,\n });\n}\n\nexport async function ServerJsonApiPut(params: {\n classKey: ApiRequestDataTypeInterface;\n endpoint: string;\n companyId?: string;\n body?: any;\n files?: { [key: string]: File | Blob } | File | Blob;\n language: string;\n responseType?: ApiRequestDataTypeInterface;\n}): Promise<ApiResponseInterface> {\n runServerBootstrapper();\n const token = await getServerToken();\n\n let body = params.body;\n if (!body) {\n body = {};\n } else {\n body = JsonApiDataFactory.create(params.classKey, body);\n }\n\n const apiResponse = await serverRequest({\n method: \"PUT\",\n url: buildServerUrl(params.endpoint),\n token,\n body,\n files: params.files,\n companyId: params.companyId,\n language: params.language,\n additionalHeaders: _serverConfig?.additionalHeaders,\n });\n\n return translateResponse({\n classKey: params.responseType ?? params.classKey,\n apiResponse,\n companyId: params.companyId,\n language: params.language,\n });\n}\n\nexport async function ServerJsonApiPatch(params: {\n classKey: ApiRequestDataTypeInterface;\n endpoint: string;\n companyId?: string;\n body?: any;\n files?: { [key: string]: File | Blob } | File | Blob;\n overridesJsonApiCreation?: boolean;\n responseType?: ApiRequestDataTypeInterface;\n language: string;\n}): Promise<ApiResponseInterface> {\n runServerBootstrapper();\n const token = await getServerToken();\n\n let body = params.body;\n if (!body) {\n body = {};\n } else if (params.overridesJsonApiCreation !== true) {\n body = JsonApiDataFactory.create(params.classKey, body);\n }\n\n const apiResponse = await serverRequest({\n method: \"PATCH\",\n url: buildServerUrl(params.endpoint),\n token,\n body,\n files: params.files,\n companyId: params.companyId,\n language: params.language,\n additionalHeaders: _serverConfig?.additionalHeaders,\n });\n\n return translateResponse({\n classKey: params.responseType ?? params.classKey,\n apiResponse,\n companyId: params.companyId,\n language: params.language,\n });\n}\n\nexport async function ServerJsonApiDelete(params: {\n classKey: ApiRequestDataTypeInterface;\n endpoint: string;\n companyId?: string;\n language: string;\n responseType?: ApiRequestDataTypeInterface;\n}): Promise<ApiResponseInterface> {\n runServerBootstrapper();\n const token = await getServerToken();\n\n const apiResponse = await serverRequest({\n method: \"DELETE\",\n url: buildServerUrl(params.endpoint),\n token,\n companyId: params.companyId,\n language: params.language,\n additionalHeaders: _serverConfig?.additionalHeaders,\n });\n\n return translateResponse({\n classKey: params.responseType ?? params.classKey,\n apiResponse,\n companyId: params.companyId,\n language: params.language,\n });\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/server/index.js","../../src/server/cache.ts","../../src/server/ServerSession.ts","../../src/server/JsonApiServer.ts"],"names":[],"mappings":"AAAA;AACE;AACF,uDAA6B;AAC7B;AACE;AACF,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACF,uDAA6B;AAC7B;AACE;AACF,uDAA6B;AAC7B;AACA;AC1BA,mCAA8B;AAW9B,MAAA,SAAsB,kBAAA,CAAmB,GAAA,EAAa,QAAA,EAAwB,KAAA,EAAsB;AAClG,EAAA,kCAAA,GAAc,EAAK,OAAO,CAAA;AAC5B;AAFsB,qCAAA,kBAAA,EAAA,oBAAA,CAAA;AAUtB,MAAA,SAAsB,mBAAA,CAAoB,IAAA,EAAgB,QAAA,EAAwB,KAAA,EAAsB;AACtG,EAAA,IAAA,CAAA,MAAW,IAAA,GAAO,IAAA,EAAM;AACtB,IAAA,kCAAA,GAAc,EAAK,OAAO,CAAA;AAAA,EAC5B;AACF;AA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AA;AAClB,EAAA;AACH;AArCsB;AA+CY;AACV,EAAA;AACa,EAAA;AAEjB,EAAA;AACP,EAAA;AACD,IAAA;AACH,EAAA;AACmC,IAAA;AAC1C,EAAA;AAEwC,EAAA;AAC9B,IAAA;AAC2B,IAAA;AACnC,IAAA;AACA,IAAA;AACc,IAAA;AACI,IAAA;AACD,IAAA;AACiB,IAAA;AACnC,EAAA;AAEwB,EAAA;AACiB,IAAA;AACxC,IAAA;AACkB,IAAA;AACD,IAAA;AAClB,EAAA;AACH;AApCsB;AA+CY;AACV,EAAA;AACa,EAAA;AAEjB,EAAA;AACP,EAAA;AACD,IAAA;AACqC,EAAA;AACL,IAAA;AAC1C,EAAA;AAEwC,EAAA;AAC9B,IAAA;AAC2B,IAAA;AACnC,IAAA;AACA,IAAA;AACc,IAAA;AACI,IAAA;AACD,IAAA;AACiB,IAAA;AACnC,EAAA;AAEwB,EAAA;AACiB,IAAA;AACxC,IAAA;AACkB,IAAA;AACD,IAAA;AAClB,EAAA;AACH;AArCsB;AA6CY;AACV,EAAA;AACa,EAAA;AAEK,EAAA;AAC9B,IAAA;AAC2B,IAAA;AACnC,IAAA;AACkB,IAAA;AACD,IAAA;AACiB,IAAA;AACnC,EAAA;AAEwB,EAAA;AACiB,IAAA;AACxC,IAAA;AACkB,IAAA;AACD,IAAA;AAClB,EAAA;AACH;AAzBsB;AH+C6B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/server/index.js","sourcesContent":[null,"// Server-only utilities (NOT server actions - these cannot be called from client components)\n\nimport { revalidateTag } from \"next/cache\";\n\nexport type CacheProfile = \"seconds\" | \"minutes\" | \"hours\" | \"days\" | \"weeks\" | \"max\" | \"default\";\n\n/**\n * Revalidate a cache tag to invalidate cached data.\n * Next.js 16+ requires a profile parameter.\n *\n * @param tag - The cache tag to invalidate\n * @param profile - The cache profile (defaults to \"max\" for immediate invalidation)\n */\nexport async function invalidateCacheTag(tag: string, profile: CacheProfile = \"max\"): Promise<void> {\n revalidateTag(tag, profile);\n}\n\n/**\n * Revalidate multiple cache tags.\n *\n * @param tags - Array of cache tags to invalidate\n * @param profile - The cache profile (defaults to \"max\" for immediate invalidation)\n */\nexport async function invalidateCacheTags(tags: string[], profile: CacheProfile = \"max\"): Promise<void> {\n for (const tag of tags) {\n revalidateTag(tag, profile);\n }\n}\n","import { cookies } from \"next/headers\";\nimport { redirect } from \"next/navigation\";\nimport { ungzip } from \"pako\";\nimport { Action, checkPermissionsFromServer, ModuleWithPermissions } from \"../permissions\";\n\nexport class ServerSession {\n static async isLogged() {\n const cookieStore = await cookies();\n const token = cookieStore.get(\"token\");\n\n if (!token || !token.value) return false;\n return true;\n }\n\n static async companyId() {\n const cookieStore = await cookies();\n return cookieStore.get(\"companyId\")?.value ?? \"\";\n }\n\n static async userId() {\n const cookieStore = await cookies();\n return cookieStore.get(\"userId\")?.value ?? \"\";\n }\n\n static async checkPermission<M extends ModuleWithPermissions>(params: { module: M; action: Action; data?: any }) {\n if (!(await this.hasPermissionToModule(params))) redirect(`/401`);\n }\n\n static async hasRole(roleId: string): Promise<boolean> {\n const cookieStore = await cookies();\n const roles = cookieStore.get(\"roles\")?.value;\n\n if (!roles || !roles.includes(roleId)) return false;\n\n return true;\n }\n\n static async hasFeature(featureId: string): Promise<boolean> {\n const cookieStore = await cookies();\n const features = cookieStore.get(\"features\")?.value;\n\n if (!features || !features.includes(featureId)) return false;\n\n return true;\n }\n\n static async hasPermissionToModule<M extends ModuleWithPermissions>(params: {\n module: M;\n action: Action;\n data?: any;\n }): Promise<boolean> {\n const cookieStore = await cookies();\n\n if (params.module.feature) {\n const features = cookieStore.get(\"features\")?.value;\n\n if (features && !features.includes(params.module.feature)) return false;\n }\n\n const rawModules = cookieStore.get(\"modules\")?.value;\n if (!rawModules) return false;\n\n const modules: {\n id: string;\n permissions: {\n create: boolean | string;\n read: boolean | string;\n update: boolean | string;\n delete: boolean | string;\n };\n }[] = JSON.parse(ungzip(Buffer.from(rawModules, \"base64\"), { toText: true }));\n\n const selectedModule = modules.find((module) => module.id === params.module.moduleId);\n\n return checkPermissionsFromServer({\n module: params.module,\n action: params.action,\n data: params.data,\n userId: await this.userId(),\n selectedModule: selectedModule,\n });\n\n // if (!selectedModule) return false;\n\n // if (!selectedModule.permissions[params.action]) return false;\n // if (typeof selectedModule.permissions[params.action] === \"boolean\")\n // return selectedModule.permissions[params.action] as boolean;\n\n // if (!params.data) return false;\n\n // return params.data[selectedModule.permissions[params.action] as string] === this.userId;\n }\n}\n","// Server-only utilities (NOT server actions - these cannot be called from client components)\n\nimport { JsonApiDataFactory } from \"../core/factories/JsonApiDataFactory\";\nimport { ApiRequestDataTypeInterface } from \"../core/interfaces/ApiRequestDataTypeInterface\";\nimport { ApiResponseInterface } from \"../core/interfaces/ApiResponseInterface\";\nimport { translateResponse } from \"../core/utils/translateResponse\";\nimport { ModuleWithPermissions } from \"../permissions/types\";\nimport { serverRequest } from \"./request\";\nimport { getServerToken } from \"./token\";\n\n// Config storage for server contexts\nlet _serverConfig: {\n apiUrl: string;\n appUrl?: string;\n trackablePages?: ModuleWithPermissions[];\n bootstrapper?: () => void;\n additionalHeaders?: Record<string, string>;\n} | null = null;\n\n/**\n * Configure the JSON:API server client.\n * Call this in your Bootstrapper or server initialization.\n */\nexport function configureServerJsonApi(config: {\n apiUrl: string;\n appUrl?: string;\n trackablePages?: ModuleWithPermissions[];\n bootstrapper?: () => void;\n additionalHeaders?: Record<string, string>;\n}): void {\n _serverConfig = config;\n if (config.bootstrapper) {\n config.bootstrapper();\n }\n}\n\nexport function getServerApiUrl(): string {\n if (_serverConfig?.apiUrl) {\n return _serverConfig.apiUrl;\n }\n const envUrl = process.env.NEXT_PUBLIC_API_URL;\n if (!envUrl) {\n throw new Error(\n \"API URL not configured. Use configureServerJsonApi() or set NEXT_PUBLIC_API_URL environment variable.\",\n );\n }\n return envUrl;\n}\n\nexport function getServerAppUrl(): string {\n if (_serverConfig?.appUrl) {\n return _serverConfig.appUrl;\n }\n const envUrl = process.env.NEXT_PUBLIC_ADDRESS;\n if (!envUrl) {\n throw new Error(\n \"App URL not configured. Use configureServerJsonApi({ appUrl }) or set NEXT_PUBLIC_ADDRESS environment variable.\",\n );\n }\n return envUrl.trim().replace(/\\/+$/, \"\");\n}\n\nexport function getServerTrackablePages(): ModuleWithPermissions[] {\n return _serverConfig?.trackablePages ?? [];\n}\n\nfunction runServerBootstrapper(): void {\n if (_serverConfig?.bootstrapper) {\n _serverConfig.bootstrapper();\n }\n}\n\nfunction buildServerUrl(endpoint: string): string {\n const apiUrl = getServerApiUrl();\n return endpoint.startsWith(\"http\") ? endpoint : `${apiUrl}${endpoint}`;\n}\n\nexport async function ServerJsonApiGet(params: {\n classKey: ApiRequestDataTypeInterface;\n endpoint: string;\n companyId?: string;\n language: string;\n}): Promise<ApiResponseInterface> {\n runServerBootstrapper();\n const token = await getServerToken();\n\n const apiResponse = await serverRequest({\n method: \"GET\",\n url: buildServerUrl(params.endpoint),\n token,\n cache: params.classKey.cache,\n companyId: params.companyId,\n language: params.language,\n additionalHeaders: _serverConfig?.additionalHeaders,\n });\n\n return translateResponse({\n classKey: params.classKey,\n apiResponse,\n companyId: params.companyId,\n language: params.language,\n paginationHandler: async (endpoint: string) =>\n ServerJsonApiGet({\n classKey: params.classKey,\n endpoint,\n companyId: params.companyId,\n language: params.language,\n }),\n });\n}\n\nexport async function ServerJsonApiPost(params: {\n classKey: ApiRequestDataTypeInterface;\n endpoint: string;\n companyId?: string;\n body?: any;\n overridesJsonApiCreation?: boolean;\n files?: { [key: string]: File | Blob } | File | Blob;\n language: string;\n responseType?: ApiRequestDataTypeInterface;\n}): Promise<ApiResponseInterface> {\n runServerBootstrapper();\n const token = await getServerToken();\n\n let body = params.body;\n if (!body) {\n body = {};\n } else if (params.overridesJsonApiCreation !== true) {\n body = JsonApiDataFactory.create(params.classKey, body);\n }\n\n const apiResponse = await serverRequest({\n method: \"POST\",\n url: buildServerUrl(params.endpoint),\n token,\n body,\n files: params.files,\n companyId: params.companyId,\n language: params.language,\n additionalHeaders: _serverConfig?.additionalHeaders,\n });\n\n return translateResponse({\n classKey: params.responseType ?? params.classKey,\n apiResponse,\n companyId: params.companyId,\n language: params.language,\n });\n}\n\nexport async function ServerJsonApiPut(params: {\n classKey: ApiRequestDataTypeInterface;\n endpoint: string;\n companyId?: string;\n body?: any;\n files?: { [key: string]: File | Blob } | File | Blob;\n language: string;\n responseType?: ApiRequestDataTypeInterface;\n}): Promise<ApiResponseInterface> {\n runServerBootstrapper();\n const token = await getServerToken();\n\n let body = params.body;\n if (!body) {\n body = {};\n } else {\n body = JsonApiDataFactory.create(params.classKey, body);\n }\n\n const apiResponse = await serverRequest({\n method: \"PUT\",\n url: buildServerUrl(params.endpoint),\n token,\n body,\n files: params.files,\n companyId: params.companyId,\n language: params.language,\n additionalHeaders: _serverConfig?.additionalHeaders,\n });\n\n return translateResponse({\n classKey: params.responseType ?? params.classKey,\n apiResponse,\n companyId: params.companyId,\n language: params.language,\n });\n}\n\nexport async function ServerJsonApiPatch(params: {\n classKey: ApiRequestDataTypeInterface;\n endpoint: string;\n companyId?: string;\n body?: any;\n files?: { [key: string]: File | Blob } | File | Blob;\n overridesJsonApiCreation?: boolean;\n responseType?: ApiRequestDataTypeInterface;\n language: string;\n}): Promise<ApiResponseInterface> {\n runServerBootstrapper();\n const token = await getServerToken();\n\n let body = params.body;\n if (!body) {\n body = {};\n } else if (params.overridesJsonApiCreation !== true) {\n body = JsonApiDataFactory.create(params.classKey, body);\n }\n\n const apiResponse = await serverRequest({\n method: \"PATCH\",\n url: buildServerUrl(params.endpoint),\n token,\n body,\n files: params.files,\n companyId: params.companyId,\n language: params.language,\n additionalHeaders: _serverConfig?.additionalHeaders,\n });\n\n return translateResponse({\n classKey: params.responseType ?? params.classKey,\n apiResponse,\n companyId: params.companyId,\n language: params.language,\n });\n}\n\nexport async function ServerJsonApiDelete(params: {\n classKey: ApiRequestDataTypeInterface;\n endpoint: string;\n companyId?: string;\n language: string;\n responseType?: ApiRequestDataTypeInterface;\n}): Promise<ApiResponseInterface> {\n runServerBootstrapper();\n const token = await getServerToken();\n\n const apiResponse = await serverRequest({\n method: \"DELETE\",\n url: buildServerUrl(params.endpoint),\n token,\n companyId: params.companyId,\n language: params.language,\n additionalHeaders: _serverConfig?.additionalHeaders,\n });\n\n return translateResponse({\n classKey: params.responseType ?? params.classKey,\n apiResponse,\n companyId: params.companyId,\n language: params.language,\n });\n}\n"]}
|
package/dist/server/index.mjs
CHANGED
|
@@ -42,7 +42,7 @@ __name(invalidateCacheTags, "invalidateCacheTags");
|
|
|
42
42
|
// src/server/ServerSession.ts
|
|
43
43
|
import { cookies } from "next/headers";
|
|
44
44
|
import { redirect } from "next/navigation";
|
|
45
|
-
import
|
|
45
|
+
import { ungzip } from "pako";
|
|
46
46
|
var ServerSession = class {
|
|
47
47
|
static {
|
|
48
48
|
__name(this, "ServerSession");
|
|
@@ -84,7 +84,7 @@ var ServerSession = class {
|
|
|
84
84
|
}
|
|
85
85
|
const rawModules = cookieStore.get("modules")?.value;
|
|
86
86
|
if (!rawModules) return false;
|
|
87
|
-
const modules = JSON.parse(
|
|
87
|
+
const modules = JSON.parse(ungzip(Buffer.from(rawModules, "base64"), { toText: true }));
|
|
88
88
|
const selectedModule = modules.find((module) => module.id === params.module.moduleId);
|
|
89
89
|
return checkPermissionsFromServer({
|
|
90
90
|
module: params.module,
|