@carlonicora/nextjs-jsonapi 1.5.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ApiResponseInterface-DDI7QQPR.d.ts → ApiResponseInterface-DMwITHYP.d.mts} +11 -2
- package/dist/{ApiResponseInterface-BHN5D9r5.d.mts → ApiResponseInterface-DWgIAXI-.d.ts} +11 -2
- package/dist/AuthComponent-hxOPs9o8.d.mts +11 -0
- package/dist/AuthComponent-hxOPs9o8.d.ts +11 -0
- package/dist/{BlockNoteEditor-G6AK2NWA.js → BlockNoteEditor-IJASTIUZ.js} +16 -23
- package/dist/BlockNoteEditor-IJASTIUZ.js.map +1 -0
- package/dist/{BlockNoteEditor-AIEEQM6A.mjs → BlockNoteEditor-M6TUP3NT.mjs} +8 -15
- package/dist/BlockNoteEditor-M6TUP3NT.mjs.map +1 -0
- package/dist/JsonApiRequest-2OM5NDAW.js +24 -0
- package/dist/JsonApiRequest-2OM5NDAW.js.map +1 -0
- package/dist/{JsonApiRequest-6UR7DIAR.mjs → JsonApiRequest-SYZ6FGCA.mjs} +2 -3
- package/dist/{chunk-2K3Q24UF.js → chunk-3ZPK4QOB.js} +24 -14
- package/dist/chunk-3ZPK4QOB.js.map +1 -0
- package/dist/{chunk-VET55IZO.js → chunk-4L7OWJ2P.js} +10290 -7537
- package/dist/chunk-4L7OWJ2P.js.map +1 -0
- package/dist/chunk-4U5CJA44.mjs +3435 -0
- package/dist/chunk-4U5CJA44.mjs.map +1 -0
- package/dist/chunk-AGWQ75PQ.js +142 -0
- package/dist/chunk-AGWQ75PQ.js.map +1 -0
- package/dist/{chunk-PMXG5WBC.js → chunk-CKS6SVUK.js} +160 -24
- package/dist/chunk-CKS6SVUK.js.map +1 -0
- package/dist/{chunk-YF5XQZDR.mjs → chunk-F5UNXZ3J.mjs} +1 -1
- package/dist/chunk-F5UNXZ3J.mjs.map +1 -0
- package/dist/chunk-IGOWVLJH.mjs +142 -0
- package/dist/chunk-IGOWVLJH.mjs.map +1 -0
- package/dist/{chunk-HR4H2FP7.mjs → chunk-KJ4ETLJB.mjs} +24 -14
- package/dist/chunk-KJ4ETLJB.mjs.map +1 -0
- package/dist/{chunk-IKBA4AHN.mjs → chunk-SAL7XW2G.mjs} +143 -7
- package/dist/chunk-SAL7XW2G.mjs.map +1 -0
- package/dist/chunk-TW4QRJ7D.mjs +12085 -0
- package/dist/chunk-TW4QRJ7D.mjs.map +1 -0
- package/dist/chunk-U4NADAHN.js +3435 -0
- package/dist/chunk-U4NADAHN.js.map +1 -0
- package/dist/{chunk-EFJEWLRL.js → chunk-YUO55Q5A.js} +1 -1
- package/dist/chunk-YUO55Q5A.js.map +1 -0
- package/dist/client/index.d.mts +161 -11
- package/dist/client/index.d.ts +161 -11
- package/dist/client/index.js +71 -11
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +70 -10
- package/dist/components/index.d.mts +763 -11
- package/dist/components/index.d.ts +763 -11
- package/dist/components/index.js +462 -11
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +463 -12
- package/dist/config-BdCV25CE.d.mts +69 -0
- package/dist/config-C9dt1QiR.d.ts +69 -0
- package/dist/content.fields-Ck5lkQ5d.d.mts +47 -0
- package/dist/content.fields-Ck5lkQ5d.d.ts +47 -0
- package/dist/{content.interface-CR2aBeAW.d.ts → content.interface-B6qP_ABq.d.mts} +2 -3
- package/dist/{content.interface-FpLfsaRm.d.mts → content.interface-DHAFLasV.d.ts} +2 -3
- package/dist/contexts/index.d.mts +13 -6
- package/dist/contexts/index.d.ts +13 -6
- package/dist/contexts/index.js +7 -11
- package/dist/contexts/index.js.map +1 -1
- package/dist/contexts/index.mjs +6 -10
- package/dist/core/index.d.mts +575 -8
- package/dist/core/index.d.ts +575 -8
- package/dist/core/index.js +131 -3
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +132 -4
- package/dist/index.d.mts +95 -71
- package/dist/index.d.ts +95 -71
- package/dist/index.js +113 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +135 -29
- package/dist/notification.interface-agcMYCkg.d.mts +228 -0
- package/dist/notification.interface-agcMYCkg.d.ts +228 -0
- package/dist/request-GBLBPYFM.js +8 -0
- package/dist/request-GBLBPYFM.js.map +1 -0
- package/dist/request-XABCMU25.mjs +8 -0
- package/dist/s3.service-DYnmymEd.d.mts +350 -0
- package/dist/s3.service-DyXjKTqr.d.ts +350 -0
- package/dist/server/index.d.mts +69 -4
- package/dist/server/index.d.ts +69 -4
- package/dist/server/index.js +211 -5
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +211 -5
- package/dist/server/index.mjs.map +1 -1
- package/dist/token-2UWQJY5T.js +8 -0
- package/dist/token-2UWQJY5T.js.map +1 -0
- package/dist/token-EOK3N45S.mjs +8 -0
- package/dist/{useSocket-L-An7_Mr.d.mts → useSocket-91s8M4Xd.d.mts} +1 -1
- package/dist/{useSocket-BV6yMdWS.d.ts → useSocket-DSR7vaXj.d.ts} +1 -1
- package/package.json +12 -52
- package/src/client/JsonApiClient.ts +248 -0
- package/src/client/config.ts +78 -0
- package/src/client/index.ts +6 -1
- package/src/components/containers/TabsContainer.tsx +1 -1
- package/src/components/editors/BlockNoteEditor.tsx +3 -1
- package/src/components/index.ts +4 -0
- package/src/components/navigations/Breadcrumb.tsx +1 -1
- package/src/components/navigations/Header.tsx +2 -2
- package/src/contexts/CommonContext.tsx +1 -1
- package/src/contexts/SocketContext.tsx +1 -1
- package/src/contexts/index.ts +3 -0
- package/src/core/abstracts/ClientAbstractService.ts +255 -0
- package/src/core/abstracts/ServerAbstractService.ts +180 -0
- package/src/core/abstracts/index.ts +2 -0
- package/src/core/index.ts +35 -3
- package/src/discord/config.ts +15 -0
- package/src/discord/index.ts +1 -0
- package/src/features/auth/components/details/LandingComponent.tsx +2 -2
- package/src/features/auth/components/forms/AcceptInvitation.tsx +1 -1
- package/src/features/auth/components/forms/ActivateAccount.tsx +1 -1
- package/src/features/auth/components/forms/Cookies.tsx +2 -1
- package/src/features/auth/components/forms/ForgotPassword.tsx +1 -1
- package/src/features/auth/components/forms/Login.tsx +1 -1
- package/src/features/auth/components/forms/Logout.tsx +1 -1
- package/src/features/auth/components/forms/RefreshUser.tsx +2 -1
- package/src/features/auth/components/forms/Register.tsx +1 -1
- package/src/features/auth/components/forms/ResetPassword.tsx +1 -1
- package/src/features/auth/data/auth.service.ts +1 -1
- package/src/features/auth/utils/AuthCookies.ts +1 -1
- package/src/features/company/components/forms/CompanyConfigurationEditor.tsx +4 -2
- package/src/features/company/components/forms/CompanyDeleter.tsx +2 -1
- package/src/features/company/components/forms/CompanyEditor.tsx +6 -3
- package/src/features/company/components/forms/CompanyLicense.tsx +4 -2
- package/src/features/company/components/lists/CompaniesList.tsx +2 -1
- package/src/features/content/components/lists/ContentsListById.tsx +2 -1
- package/src/features/content/components/lists/RelevantContentsList.tsx +2 -1
- package/src/features/notification/components/lists/NotificationsList.tsx +2 -1
- package/src/features/notification/contexts/NotificationContext.tsx +2 -1
- package/src/features/role/components/forms/RemoveUserFromRole.tsx +4 -2
- package/src/features/role/components/forms/UserRoleAdd.tsx +2 -1
- package/src/features/role/components/lists/RolesList.tsx +2 -1
- package/src/features/role/components/lists/UserRolesList.tsx +2 -1
- package/src/features/user/components/forms/RoleUserAdd.tsx +4 -2
- package/src/features/user/components/forms/UserDeleter.tsx +2 -1
- package/src/features/user/components/forms/UserEditor.tsx +6 -3
- package/src/features/user/components/forms/UserMultiSelect.tsx +2 -1
- package/src/features/user/components/forms/UserReactivator.tsx +2 -1
- package/src/features/user/components/forms/UserResentInvitationEmail.tsx +2 -1
- package/src/features/user/components/forms/UserSelector.tsx +2 -1
- package/src/features/user/components/lists/AdminUsersList.tsx +2 -1
- package/src/features/user/components/lists/CompanyUsersList.tsx +2 -1
- package/src/features/user/components/lists/RelevantUsersList.tsx +2 -1
- package/src/features/user/components/lists/RoleUsersList.tsx +2 -1
- package/src/features/user/components/lists/UsersListByContentIds.tsx +2 -1
- package/src/features/user/hooks/useUserSearch.ts +2 -1
- package/src/hooks/useDataListRetriever.ts +4 -4
- package/src/hooks/usePageTracker.ts +1 -1
- package/src/hooks/usePushNotifications.ts +3 -2
- package/src/hooks/useSocket.ts +1 -1
- package/src/index.ts +7 -2
- package/src/roles/config.ts +0 -15
- package/src/roles/index.ts +1 -9
- package/src/server/JsonApiServer.ts +249 -0
- package/src/server/cache.ts +1 -1
- package/src/server/index.ts +13 -0
- package/src/server/request.ts +32 -18
- package/src/server/token.ts +1 -1
- package/dist/AbstractService-BsY6W3Ej.d.mts +0 -109
- package/dist/AbstractService-wLid8dB0.d.ts +0 -109
- package/dist/ApiData-DPKNfY-9.d.mts +0 -10
- package/dist/ApiData-DPKNfY-9.d.ts +0 -10
- package/dist/ApiDataInterface-DPP8s46n.d.mts +0 -21
- package/dist/ApiDataInterface-DPP8s46n.d.ts +0 -21
- package/dist/AuthComponent-B_Ps2Vb9.d.ts +0 -78
- package/dist/AuthComponent-CxnGgvoh.d.mts +0 -78
- package/dist/BlockNoteEditor-AIEEQM6A.mjs.map +0 -1
- package/dist/BlockNoteEditor-G6AK2NWA.js.map +0 -1
- package/dist/JsonApiRequest-UJ7FGIVI.js +0 -25
- package/dist/JsonApiRequest-UJ7FGIVI.js.map +0 -1
- package/dist/atoms/index.d.mts +0 -12
- package/dist/atoms/index.d.ts +0 -12
- package/dist/atoms/index.js +0 -9
- package/dist/atoms/index.js.map +0 -1
- package/dist/atoms/index.mjs +0 -9
- package/dist/chunk-2K3Q24UF.js.map +0 -1
- package/dist/chunk-32HM6MDD.js +0 -98
- package/dist/chunk-32HM6MDD.js.map +0 -1
- package/dist/chunk-3FBCC4G3.js +0 -8
- package/dist/chunk-3FBCC4G3.js.map +0 -1
- package/dist/chunk-3UELCPIN.js +0 -46
- package/dist/chunk-3UELCPIN.js.map +0 -1
- package/dist/chunk-5IET37O4.js +0 -4210
- package/dist/chunk-5IET37O4.js.map +0 -1
- package/dist/chunk-AGAJMJ4T.js +0 -147
- package/dist/chunk-AGAJMJ4T.js.map +0 -1
- package/dist/chunk-AYHKQWHH.js +0 -68
- package/dist/chunk-AYHKQWHH.js.map +0 -1
- package/dist/chunk-DEYKTLA3.js +0 -1131
- package/dist/chunk-DEYKTLA3.js.map +0 -1
- package/dist/chunk-EFJEWLRL.js.map +0 -1
- package/dist/chunk-FMBQZAIP.mjs +0 -490
- package/dist/chunk-FMBQZAIP.mjs.map +0 -1
- package/dist/chunk-HAG77QBV.mjs +0 -98
- package/dist/chunk-HAG77QBV.mjs.map +0 -1
- package/dist/chunk-HR4H2FP7.mjs.map +0 -1
- package/dist/chunk-IKBA4AHN.mjs.map +0 -1
- package/dist/chunk-J7YDGYSW.mjs +0 -9332
- package/dist/chunk-J7YDGYSW.mjs.map +0 -1
- package/dist/chunk-JGFWIT2E.mjs +0 -1131
- package/dist/chunk-JGFWIT2E.mjs.map +0 -1
- package/dist/chunk-P2F54I7Q.mjs +0 -4210
- package/dist/chunk-P2F54I7Q.mjs.map +0 -1
- package/dist/chunk-PMXG5WBC.js.map +0 -1
- package/dist/chunk-Q2N6SQYW.mjs +0 -8
- package/dist/chunk-Q2N6SQYW.mjs.map +0 -1
- package/dist/chunk-Q4FXESVT.js +0 -490
- package/dist/chunk-Q4FXESVT.js.map +0 -1
- package/dist/chunk-RBIVEH2K.mjs +0 -147
- package/dist/chunk-RBIVEH2K.mjs.map +0 -1
- package/dist/chunk-SM63SZCP.mjs +0 -68
- package/dist/chunk-SM63SZCP.mjs.map +0 -1
- package/dist/chunk-SZZYEG3P.mjs +0 -46
- package/dist/chunk-SZZYEG3P.mjs.map +0 -1
- package/dist/chunk-VET55IZO.js.map +0 -1
- package/dist/chunk-YF5XQZDR.mjs.map +0 -1
- package/dist/config-BmnK65TD.d.mts +0 -35
- package/dist/config-BmnK65TD.d.ts +0 -35
- package/dist/config-DQeAo9Kf.d.mts +0 -49
- package/dist/config-DQeAo9Kf.d.ts +0 -49
- package/dist/content.fields-cHPdM8GJ.d.mts +0 -27
- package/dist/content.fields-cHPdM8GJ.d.ts +0 -27
- package/dist/d3.link.interface-ClC4Irqp.d.mts +0 -21
- package/dist/d3.link.interface-ClC4Irqp.d.ts +0 -21
- package/dist/features/index.d.mts +0 -477
- package/dist/features/index.d.ts +0 -477
- package/dist/features/index.js +0 -108
- package/dist/features/index.js.map +0 -1
- package/dist/features/index.mjs +0 -108
- package/dist/hooks/index.d.mts +0 -69
- package/dist/hooks/index.d.ts +0 -69
- package/dist/hooks/index.js +0 -55
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/index.mjs +0 -55
- package/dist/hooks/index.mjs.map +0 -1
- package/dist/interfaces/index.d.mts +0 -4
- package/dist/interfaces/index.d.ts +0 -4
- package/dist/interfaces/index.js +0 -2
- package/dist/interfaces/index.js.map +0 -1
- package/dist/interfaces/index.mjs +0 -2
- package/dist/interfaces/index.mjs.map +0 -1
- package/dist/notification.interface-B2BrLoDA.d.mts +0 -14
- package/dist/notification.interface-DlZLnAfg.d.ts +0 -14
- package/dist/permissions/index.d.mts +0 -41
- package/dist/permissions/index.d.ts +0 -41
- package/dist/permissions/index.js +0 -14
- package/dist/permissions/index.js.map +0 -1
- package/dist/permissions/index.mjs +0 -14
- package/dist/permissions/index.mjs.map +0 -1
- package/dist/request-7FE3LJLV.mjs +0 -9
- package/dist/request-7FE3LJLV.mjs.map +0 -1
- package/dist/request-QFS7NEIE.js +0 -9
- package/dist/request-QFS7NEIE.js.map +0 -1
- package/dist/roles/index.d.mts +0 -39
- package/dist/roles/index.d.ts +0 -39
- package/dist/roles/index.js +0 -18
- package/dist/roles/index.js.map +0 -1
- package/dist/roles/index.mjs +0 -18
- package/dist/roles/index.mjs.map +0 -1
- package/dist/shadcnui/index.d.mts +0 -698
- package/dist/shadcnui/index.d.ts +0 -698
- package/dist/shadcnui/index.js +0 -468
- package/dist/shadcnui/index.js.map +0 -1
- package/dist/shadcnui/index.mjs +0 -467
- package/dist/shadcnui/index.mjs.map +0 -1
- package/dist/token-IJSPOMW6.mjs +0 -9
- package/dist/token-IJSPOMW6.mjs.map +0 -1
- package/dist/token-UYE7CV6X.js +0 -9
- package/dist/token-UYE7CV6X.js.map +0 -1
- package/dist/types-B2QRyqyK.d.ts +0 -39
- package/dist/types-CgvNmxTd.d.mts +0 -39
- package/dist/types-t2PyXhDu.d.mts +0 -116
- package/dist/types-t2PyXhDu.d.ts +0 -116
- package/dist/user.interface-CooB1R79.d.mts +0 -85
- package/dist/user.interface-KnIT9pVY.d.ts +0 -85
- package/dist/utils/index.d.mts +0 -224
- package/dist/utils/index.d.ts +0 -224
- package/dist/utils/index.js +0 -46
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/index.mjs +0 -46
- package/dist/utils/index.mjs.map +0 -1
- /package/dist/{JsonApiRequest-6UR7DIAR.mjs.map → JsonApiRequest-SYZ6FGCA.mjs.map} +0 -0
- /package/dist/{atoms/index.mjs.map → request-XABCMU25.mjs.map} +0 -0
- /package/dist/{features/index.mjs.map → token-EOK3N45S.mjs.map} +0 -0
|
@@ -1,15 +1,76 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AcceptInvitation,
|
|
4
|
+
Accordion,
|
|
5
|
+
AccordionContent,
|
|
6
|
+
AccordionItem,
|
|
7
|
+
AccordionTrigger,
|
|
4
8
|
ActivateAccount,
|
|
5
9
|
AddUserToRole,
|
|
6
10
|
AdminCompanyContainer,
|
|
7
11
|
AdminUsersList,
|
|
12
|
+
Alert,
|
|
13
|
+
AlertDescription,
|
|
14
|
+
AlertDialog,
|
|
15
|
+
AlertDialogAction,
|
|
16
|
+
AlertDialogCancel,
|
|
17
|
+
AlertDialogContent,
|
|
18
|
+
AlertDialogDescription,
|
|
19
|
+
AlertDialogFooter,
|
|
20
|
+
AlertDialogHeader,
|
|
21
|
+
AlertDialogOverlay,
|
|
22
|
+
AlertDialogPortal,
|
|
23
|
+
AlertDialogTitle,
|
|
24
|
+
AlertDialogTrigger,
|
|
25
|
+
AlertTitle,
|
|
8
26
|
AllowedUsersDetails,
|
|
9
27
|
AttributeElement,
|
|
10
28
|
AuthContainer,
|
|
29
|
+
Avatar,
|
|
30
|
+
AvatarFallback,
|
|
31
|
+
AvatarImage,
|
|
32
|
+
Badge,
|
|
11
33
|
BlockNoteEditorContainer,
|
|
12
34
|
Breadcrumb,
|
|
35
|
+
BreadcrumbEllipsis,
|
|
36
|
+
BreadcrumbItem,
|
|
37
|
+
BreadcrumbLink,
|
|
38
|
+
BreadcrumbList,
|
|
39
|
+
BreadcrumbNavigation,
|
|
40
|
+
BreadcrumbPage,
|
|
41
|
+
BreadcrumbSeparator,
|
|
42
|
+
Button,
|
|
43
|
+
Calendar,
|
|
44
|
+
Card,
|
|
45
|
+
CardContent,
|
|
46
|
+
CardDescription,
|
|
47
|
+
CardFooter,
|
|
48
|
+
CardHeader,
|
|
49
|
+
CardTitle,
|
|
50
|
+
Carousel,
|
|
51
|
+
CarouselContent,
|
|
52
|
+
CarouselItem,
|
|
53
|
+
CarouselNext,
|
|
54
|
+
CarouselPrevious,
|
|
55
|
+
ChartContainer,
|
|
56
|
+
ChartLegend,
|
|
57
|
+
ChartLegendContent,
|
|
58
|
+
ChartStyle,
|
|
59
|
+
ChartTooltip,
|
|
60
|
+
ChartTooltipContent,
|
|
61
|
+
Checkbox,
|
|
62
|
+
Collapsible,
|
|
63
|
+
CollapsibleContent,
|
|
64
|
+
CollapsibleTrigger,
|
|
65
|
+
Command,
|
|
66
|
+
CommandDialog,
|
|
67
|
+
CommandEmpty,
|
|
68
|
+
CommandGroup,
|
|
69
|
+
CommandInput,
|
|
70
|
+
CommandItem,
|
|
71
|
+
CommandList,
|
|
72
|
+
CommandSeparator,
|
|
73
|
+
CommandShortcut,
|
|
13
74
|
CommonAssociationCommandDialog,
|
|
14
75
|
CommonAssociationTrigger,
|
|
15
76
|
CommonDeleter,
|
|
@@ -29,22 +90,79 @@ import {
|
|
|
29
90
|
ContentTitle,
|
|
30
91
|
ContentsList,
|
|
31
92
|
ContentsListById,
|
|
93
|
+
ContextMenu,
|
|
94
|
+
ContextMenuCheckboxItem,
|
|
95
|
+
ContextMenuContent,
|
|
96
|
+
ContextMenuGroup,
|
|
97
|
+
ContextMenuItem,
|
|
98
|
+
ContextMenuLabel,
|
|
99
|
+
ContextMenuPortal,
|
|
100
|
+
ContextMenuRadioGroup,
|
|
101
|
+
ContextMenuRadioItem,
|
|
102
|
+
ContextMenuSeparator,
|
|
103
|
+
ContextMenuShortcut,
|
|
104
|
+
ContextMenuSub,
|
|
105
|
+
ContextMenuSubContent,
|
|
106
|
+
ContextMenuSubTrigger,
|
|
107
|
+
ContextMenuTrigger,
|
|
32
108
|
ContributorsList,
|
|
33
109
|
Cookies,
|
|
34
110
|
DatePickerPopover,
|
|
35
111
|
DateRangeSelector,
|
|
112
|
+
Dialog,
|
|
113
|
+
DialogClose,
|
|
114
|
+
DialogContent,
|
|
115
|
+
DialogDescription,
|
|
116
|
+
DialogFooter,
|
|
117
|
+
DialogHeader,
|
|
118
|
+
DialogOverlay,
|
|
119
|
+
DialogPortal,
|
|
120
|
+
DialogTitle,
|
|
121
|
+
DialogTrigger,
|
|
122
|
+
Drawer,
|
|
123
|
+
DrawerClose,
|
|
124
|
+
DrawerContent,
|
|
125
|
+
DrawerDescription,
|
|
126
|
+
DrawerFooter,
|
|
127
|
+
DrawerHeader,
|
|
128
|
+
DrawerOverlay,
|
|
129
|
+
DrawerPortal,
|
|
130
|
+
DrawerTitle,
|
|
131
|
+
DrawerTrigger,
|
|
132
|
+
DropdownMenu,
|
|
133
|
+
DropdownMenuCheckboxItem,
|
|
134
|
+
DropdownMenuContent,
|
|
135
|
+
DropdownMenuGroup,
|
|
136
|
+
DropdownMenuItem,
|
|
137
|
+
DropdownMenuLabel,
|
|
138
|
+
DropdownMenuPortal,
|
|
139
|
+
DropdownMenuRadioGroup,
|
|
140
|
+
DropdownMenuRadioItem,
|
|
141
|
+
DropdownMenuSeparator,
|
|
142
|
+
DropdownMenuShortcut,
|
|
143
|
+
DropdownMenuSub,
|
|
144
|
+
DropdownMenuSubContent,
|
|
145
|
+
DropdownMenuSubTrigger,
|
|
146
|
+
DropdownMenuTrigger,
|
|
36
147
|
ErrorDetails,
|
|
37
148
|
FileInput,
|
|
38
149
|
FileUploader,
|
|
39
150
|
FileUploaderContent,
|
|
40
151
|
FileUploaderItem,
|
|
41
152
|
ForgotPassword,
|
|
153
|
+
Form,
|
|
42
154
|
FormCheckbox,
|
|
43
155
|
FormContainerGeneric,
|
|
156
|
+
FormControl,
|
|
44
157
|
FormDate,
|
|
45
158
|
FormDateTime,
|
|
159
|
+
FormDescription,
|
|
46
160
|
FormFeatures,
|
|
161
|
+
FormField,
|
|
47
162
|
FormInput,
|
|
163
|
+
FormItem,
|
|
164
|
+
FormLabel,
|
|
165
|
+
FormMessage,
|
|
48
166
|
FormPassword,
|
|
49
167
|
FormPlaceAutocomplete,
|
|
50
168
|
FormRoles,
|
|
@@ -53,10 +171,32 @@ import {
|
|
|
53
171
|
FormSwitch,
|
|
54
172
|
FormTextarea,
|
|
55
173
|
Header,
|
|
174
|
+
HoverCard,
|
|
175
|
+
HoverCardContent,
|
|
176
|
+
HoverCardTrigger,
|
|
177
|
+
Input,
|
|
178
|
+
KanbanBoard,
|
|
179
|
+
KanbanColumn,
|
|
180
|
+
KanbanColumnHandle,
|
|
181
|
+
KanbanItem,
|
|
182
|
+
KanbanItemHandle,
|
|
183
|
+
KanbanOverlay,
|
|
184
|
+
KanbanRoot,
|
|
185
|
+
Label,
|
|
56
186
|
LandingComponent,
|
|
187
|
+
Link,
|
|
57
188
|
Login,
|
|
58
189
|
Logout,
|
|
59
190
|
ModeToggleSwitch,
|
|
191
|
+
MultiSelect,
|
|
192
|
+
NavigationMenu,
|
|
193
|
+
NavigationMenuContent,
|
|
194
|
+
NavigationMenuIndicator,
|
|
195
|
+
NavigationMenuItem,
|
|
196
|
+
NavigationMenuLink,
|
|
197
|
+
NavigationMenuList,
|
|
198
|
+
NavigationMenuTrigger,
|
|
199
|
+
NavigationMenuViewport,
|
|
60
200
|
NotificationErrorBoundary,
|
|
61
201
|
NotificationMenuItem,
|
|
62
202
|
NotificationModal,
|
|
@@ -68,7 +208,14 @@ import {
|
|
|
68
208
|
PageContentContainer,
|
|
69
209
|
PageSection,
|
|
70
210
|
PasswordInput,
|
|
211
|
+
Popover,
|
|
212
|
+
PopoverAnchor,
|
|
213
|
+
PopoverContent,
|
|
214
|
+
PopoverTrigger,
|
|
215
|
+
Progress,
|
|
71
216
|
PushNotificationProvider,
|
|
217
|
+
RadioGroup,
|
|
218
|
+
RadioGroupItem,
|
|
72
219
|
ReactMarkdownContainer,
|
|
73
220
|
RecentPagesNavigator,
|
|
74
221
|
RefreshUser,
|
|
@@ -76,11 +223,83 @@ import {
|
|
|
76
223
|
RelevantUsersList,
|
|
77
224
|
RemoveUserFromRole,
|
|
78
225
|
ResetPassword,
|
|
226
|
+
ResizableHandle,
|
|
227
|
+
ResizablePanel,
|
|
228
|
+
ResizablePanelGroup,
|
|
79
229
|
RoleContainer,
|
|
80
230
|
RoleDetails,
|
|
81
231
|
RoleUsersList,
|
|
82
232
|
RolesList,
|
|
233
|
+
SIDEBAR_WIDTH,
|
|
234
|
+
SIDEBAR_WIDTH_ICON,
|
|
235
|
+
SIDEBAR_WIDTH_MOBILE,
|
|
236
|
+
ScrollArea,
|
|
237
|
+
ScrollBar,
|
|
238
|
+
Select,
|
|
239
|
+
SelectContent,
|
|
240
|
+
SelectGroup,
|
|
241
|
+
SelectItem,
|
|
242
|
+
SelectLabel,
|
|
243
|
+
SelectScrollDownButton,
|
|
244
|
+
SelectScrollUpButton,
|
|
245
|
+
SelectSeparator,
|
|
246
|
+
SelectTrigger,
|
|
247
|
+
SelectValue,
|
|
248
|
+
Separator,
|
|
249
|
+
Sheet,
|
|
250
|
+
SheetClose,
|
|
251
|
+
SheetContent,
|
|
252
|
+
SheetDescription,
|
|
253
|
+
SheetFooter,
|
|
254
|
+
SheetHeader,
|
|
255
|
+
SheetTitle,
|
|
256
|
+
SheetTrigger,
|
|
257
|
+
Sidebar,
|
|
258
|
+
SidebarContent,
|
|
259
|
+
SidebarFooter,
|
|
260
|
+
SidebarGroup,
|
|
261
|
+
SidebarGroupAction,
|
|
262
|
+
SidebarGroupContent,
|
|
263
|
+
SidebarGroupLabel,
|
|
264
|
+
SidebarHeader,
|
|
265
|
+
SidebarInput,
|
|
266
|
+
SidebarInset,
|
|
267
|
+
SidebarMenu,
|
|
268
|
+
SidebarMenuAction,
|
|
269
|
+
SidebarMenuBadge,
|
|
270
|
+
SidebarMenuButton,
|
|
271
|
+
SidebarMenuItem,
|
|
272
|
+
SidebarMenuSkeleton,
|
|
273
|
+
SidebarMenuSub,
|
|
274
|
+
SidebarMenuSubButton,
|
|
275
|
+
SidebarMenuSubItem,
|
|
276
|
+
SidebarProvider,
|
|
277
|
+
SidebarRail,
|
|
278
|
+
SidebarSeparator,
|
|
279
|
+
SidebarTrigger,
|
|
280
|
+
Skeleton,
|
|
281
|
+
Slider,
|
|
282
|
+
Switch,
|
|
283
|
+
Table,
|
|
284
|
+
TableBody,
|
|
285
|
+
TableCaption,
|
|
286
|
+
TableCell,
|
|
287
|
+
TableFooter,
|
|
288
|
+
TableHead,
|
|
289
|
+
TableHeader,
|
|
290
|
+
TableRow,
|
|
291
|
+
Tabs,
|
|
83
292
|
TabsContainer,
|
|
293
|
+
TabsContent,
|
|
294
|
+
TabsList,
|
|
295
|
+
TabsTrigger,
|
|
296
|
+
Textarea,
|
|
297
|
+
Toaster,
|
|
298
|
+
Toggle,
|
|
299
|
+
Tooltip,
|
|
300
|
+
TooltipContent,
|
|
301
|
+
TooltipProvider,
|
|
302
|
+
TooltipTrigger,
|
|
84
303
|
UserAvatar,
|
|
85
304
|
UserAvatarEditor,
|
|
86
305
|
UserContainer,
|
|
@@ -99,6 +318,8 @@ import {
|
|
|
99
318
|
UsersList,
|
|
100
319
|
UsersListByContentIds,
|
|
101
320
|
UsersListContainer,
|
|
321
|
+
badgeVariants,
|
|
322
|
+
buttonVariants,
|
|
102
323
|
cellComponent,
|
|
103
324
|
cellDate,
|
|
104
325
|
cellId,
|
|
@@ -106,32 +327,94 @@ import {
|
|
|
106
327
|
cellUrl,
|
|
107
328
|
errorToast,
|
|
108
329
|
generateNotificationData,
|
|
330
|
+
navigationMenuTriggerStyle,
|
|
331
|
+
toggleVariants,
|
|
109
332
|
triggerAssociationToast,
|
|
110
|
-
useFileUpload
|
|
111
|
-
|
|
333
|
+
useFileUpload,
|
|
334
|
+
useFormField,
|
|
335
|
+
useSidebar
|
|
336
|
+
} from "../chunk-TW4QRJ7D.mjs";
|
|
337
|
+
import "../chunk-IGOWVLJH.mjs";
|
|
338
|
+
import "../chunk-4U5CJA44.mjs";
|
|
112
339
|
import "../chunk-C7C7VY4F.mjs";
|
|
113
|
-
import "../chunk-
|
|
114
|
-
import "../chunk-JGFWIT2E.mjs";
|
|
340
|
+
import "../chunk-SAL7XW2G.mjs";
|
|
115
341
|
import "../chunk-AUXK7QSA.mjs";
|
|
116
|
-
import "../chunk-SM63SZCP.mjs";
|
|
117
|
-
import "../chunk-IKBA4AHN.mjs";
|
|
118
|
-
import "../chunk-SZZYEG3P.mjs";
|
|
119
|
-
import "../chunk-Q2N6SQYW.mjs";
|
|
120
|
-
import "../chunk-FMBQZAIP.mjs";
|
|
121
|
-
import "../chunk-RBIVEH2K.mjs";
|
|
122
|
-
import "../chunk-HAG77QBV.mjs";
|
|
123
342
|
import "../chunk-PAWJFY3S.mjs";
|
|
124
343
|
export {
|
|
125
344
|
AcceptInvitation,
|
|
345
|
+
Accordion,
|
|
346
|
+
AccordionContent,
|
|
347
|
+
AccordionItem,
|
|
348
|
+
AccordionTrigger,
|
|
126
349
|
ActivateAccount,
|
|
127
350
|
AddUserToRole,
|
|
128
351
|
AdminCompanyContainer,
|
|
129
352
|
AdminUsersList,
|
|
353
|
+
Alert,
|
|
354
|
+
AlertDescription,
|
|
355
|
+
AlertDialog,
|
|
356
|
+
AlertDialogAction,
|
|
357
|
+
AlertDialogCancel,
|
|
358
|
+
AlertDialogContent,
|
|
359
|
+
AlertDialogDescription,
|
|
360
|
+
AlertDialogFooter,
|
|
361
|
+
AlertDialogHeader,
|
|
362
|
+
AlertDialogOverlay,
|
|
363
|
+
AlertDialogPortal,
|
|
364
|
+
AlertDialogTitle,
|
|
365
|
+
AlertDialogTrigger,
|
|
366
|
+
AlertTitle,
|
|
130
367
|
AllowedUsersDetails,
|
|
131
368
|
AttributeElement,
|
|
132
369
|
AuthContainer,
|
|
370
|
+
Avatar,
|
|
371
|
+
AvatarFallback,
|
|
372
|
+
AvatarImage,
|
|
373
|
+
Badge,
|
|
133
374
|
BlockNoteEditorContainer,
|
|
375
|
+
KanbanBoard as Board,
|
|
134
376
|
Breadcrumb,
|
|
377
|
+
BreadcrumbEllipsis,
|
|
378
|
+
BreadcrumbItem,
|
|
379
|
+
BreadcrumbLink,
|
|
380
|
+
BreadcrumbList,
|
|
381
|
+
BreadcrumbNavigation,
|
|
382
|
+
BreadcrumbPage,
|
|
383
|
+
BreadcrumbSeparator,
|
|
384
|
+
Button,
|
|
385
|
+
Calendar,
|
|
386
|
+
Card,
|
|
387
|
+
CardContent,
|
|
388
|
+
CardDescription,
|
|
389
|
+
CardFooter,
|
|
390
|
+
CardHeader,
|
|
391
|
+
CardTitle,
|
|
392
|
+
Carousel,
|
|
393
|
+
CarouselContent,
|
|
394
|
+
CarouselItem,
|
|
395
|
+
CarouselNext,
|
|
396
|
+
CarouselPrevious,
|
|
397
|
+
ChartContainer,
|
|
398
|
+
ChartLegend,
|
|
399
|
+
ChartLegendContent,
|
|
400
|
+
ChartStyle,
|
|
401
|
+
ChartTooltip,
|
|
402
|
+
ChartTooltipContent,
|
|
403
|
+
Checkbox,
|
|
404
|
+
Collapsible,
|
|
405
|
+
CollapsibleContent,
|
|
406
|
+
CollapsibleTrigger,
|
|
407
|
+
KanbanColumn as Column,
|
|
408
|
+
KanbanColumnHandle as ColumnHandle,
|
|
409
|
+
Command,
|
|
410
|
+
CommandDialog,
|
|
411
|
+
CommandEmpty,
|
|
412
|
+
CommandGroup,
|
|
413
|
+
CommandInput,
|
|
414
|
+
CommandItem,
|
|
415
|
+
CommandList,
|
|
416
|
+
CommandSeparator,
|
|
417
|
+
CommandShortcut,
|
|
135
418
|
CommonAssociationCommandDialog,
|
|
136
419
|
CommonAssociationTrigger,
|
|
137
420
|
CommonDeleter,
|
|
@@ -151,22 +434,79 @@ export {
|
|
|
151
434
|
ContentTitle,
|
|
152
435
|
ContentsList,
|
|
153
436
|
ContentsListById,
|
|
437
|
+
ContextMenu,
|
|
438
|
+
ContextMenuCheckboxItem,
|
|
439
|
+
ContextMenuContent,
|
|
440
|
+
ContextMenuGroup,
|
|
441
|
+
ContextMenuItem,
|
|
442
|
+
ContextMenuLabel,
|
|
443
|
+
ContextMenuPortal,
|
|
444
|
+
ContextMenuRadioGroup,
|
|
445
|
+
ContextMenuRadioItem,
|
|
446
|
+
ContextMenuSeparator,
|
|
447
|
+
ContextMenuShortcut,
|
|
448
|
+
ContextMenuSub,
|
|
449
|
+
ContextMenuSubContent,
|
|
450
|
+
ContextMenuSubTrigger,
|
|
451
|
+
ContextMenuTrigger,
|
|
154
452
|
ContributorsList,
|
|
155
453
|
Cookies,
|
|
156
454
|
DatePickerPopover,
|
|
157
455
|
DateRangeSelector,
|
|
456
|
+
Dialog,
|
|
457
|
+
DialogClose,
|
|
458
|
+
DialogContent,
|
|
459
|
+
DialogDescription,
|
|
460
|
+
DialogFooter,
|
|
461
|
+
DialogHeader,
|
|
462
|
+
DialogOverlay,
|
|
463
|
+
DialogPortal,
|
|
464
|
+
DialogTitle,
|
|
465
|
+
DialogTrigger,
|
|
466
|
+
Drawer,
|
|
467
|
+
DrawerClose,
|
|
468
|
+
DrawerContent,
|
|
469
|
+
DrawerDescription,
|
|
470
|
+
DrawerFooter,
|
|
471
|
+
DrawerHeader,
|
|
472
|
+
DrawerOverlay,
|
|
473
|
+
DrawerPortal,
|
|
474
|
+
DrawerTitle,
|
|
475
|
+
DrawerTrigger,
|
|
476
|
+
DropdownMenu,
|
|
477
|
+
DropdownMenuCheckboxItem,
|
|
478
|
+
DropdownMenuContent,
|
|
479
|
+
DropdownMenuGroup,
|
|
480
|
+
DropdownMenuItem,
|
|
481
|
+
DropdownMenuLabel,
|
|
482
|
+
DropdownMenuPortal,
|
|
483
|
+
DropdownMenuRadioGroup,
|
|
484
|
+
DropdownMenuRadioItem,
|
|
485
|
+
DropdownMenuSeparator,
|
|
486
|
+
DropdownMenuShortcut,
|
|
487
|
+
DropdownMenuSub,
|
|
488
|
+
DropdownMenuSubContent,
|
|
489
|
+
DropdownMenuSubTrigger,
|
|
490
|
+
DropdownMenuTrigger,
|
|
158
491
|
ErrorDetails,
|
|
159
492
|
FileInput,
|
|
160
493
|
FileUploader,
|
|
161
494
|
FileUploaderContent,
|
|
162
495
|
FileUploaderItem,
|
|
163
496
|
ForgotPassword,
|
|
497
|
+
Form,
|
|
164
498
|
FormCheckbox,
|
|
165
499
|
FormContainerGeneric,
|
|
500
|
+
FormControl,
|
|
166
501
|
FormDate,
|
|
167
502
|
FormDateTime,
|
|
503
|
+
FormDescription,
|
|
168
504
|
FormFeatures,
|
|
505
|
+
FormField,
|
|
169
506
|
FormInput,
|
|
507
|
+
FormItem,
|
|
508
|
+
FormLabel,
|
|
509
|
+
FormMessage,
|
|
170
510
|
FormPassword,
|
|
171
511
|
FormPlaceAutocomplete,
|
|
172
512
|
FormRoles,
|
|
@@ -175,22 +515,54 @@ export {
|
|
|
175
515
|
FormSwitch,
|
|
176
516
|
FormTextarea,
|
|
177
517
|
Header,
|
|
518
|
+
HoverCard,
|
|
519
|
+
HoverCardContent,
|
|
520
|
+
HoverCardTrigger,
|
|
521
|
+
Input,
|
|
522
|
+
KanbanItem as Item,
|
|
523
|
+
KanbanItemHandle as ItemHandle,
|
|
524
|
+
KanbanRoot as Kanban,
|
|
525
|
+
KanbanBoard,
|
|
526
|
+
KanbanColumn,
|
|
527
|
+
KanbanColumnHandle,
|
|
528
|
+
KanbanItem,
|
|
529
|
+
KanbanItemHandle,
|
|
530
|
+
KanbanOverlay,
|
|
531
|
+
Label,
|
|
178
532
|
LandingComponent,
|
|
533
|
+
Link,
|
|
179
534
|
Login,
|
|
180
535
|
Logout,
|
|
181
536
|
ModeToggleSwitch,
|
|
537
|
+
MultiSelect,
|
|
538
|
+
NavigationMenu,
|
|
539
|
+
NavigationMenuContent,
|
|
540
|
+
NavigationMenuIndicator,
|
|
541
|
+
NavigationMenuItem,
|
|
542
|
+
NavigationMenuLink,
|
|
543
|
+
NavigationMenuList,
|
|
544
|
+
NavigationMenuTrigger,
|
|
545
|
+
NavigationMenuViewport,
|
|
182
546
|
NotificationErrorBoundary,
|
|
183
547
|
NotificationMenuItem,
|
|
184
548
|
NotificationModal,
|
|
185
549
|
NotificationToast,
|
|
186
550
|
NotificationsList,
|
|
187
551
|
NotificationsListContainer,
|
|
552
|
+
KanbanOverlay as Overlay,
|
|
188
553
|
PageContainer,
|
|
189
554
|
PageContainerContentDetails,
|
|
190
555
|
PageContentContainer,
|
|
191
556
|
PageSection,
|
|
192
557
|
PasswordInput,
|
|
558
|
+
Popover,
|
|
559
|
+
PopoverAnchor,
|
|
560
|
+
PopoverContent,
|
|
561
|
+
PopoverTrigger,
|
|
562
|
+
Progress,
|
|
193
563
|
PushNotificationProvider,
|
|
564
|
+
RadioGroup,
|
|
565
|
+
RadioGroupItem,
|
|
194
566
|
ReactMarkdownContainer,
|
|
195
567
|
RecentPagesNavigator,
|
|
196
568
|
RefreshUser,
|
|
@@ -198,11 +570,84 @@ export {
|
|
|
198
570
|
RelevantUsersList,
|
|
199
571
|
RemoveUserFromRole,
|
|
200
572
|
ResetPassword,
|
|
573
|
+
ResizableHandle,
|
|
574
|
+
ResizablePanel,
|
|
575
|
+
ResizablePanelGroup,
|
|
201
576
|
RoleContainer,
|
|
202
577
|
RoleDetails,
|
|
203
578
|
RoleUsersList,
|
|
204
579
|
RolesList,
|
|
580
|
+
KanbanRoot as Root,
|
|
581
|
+
SIDEBAR_WIDTH,
|
|
582
|
+
SIDEBAR_WIDTH_ICON,
|
|
583
|
+
SIDEBAR_WIDTH_MOBILE,
|
|
584
|
+
ScrollArea,
|
|
585
|
+
ScrollBar,
|
|
586
|
+
Select,
|
|
587
|
+
SelectContent,
|
|
588
|
+
SelectGroup,
|
|
589
|
+
SelectItem,
|
|
590
|
+
SelectLabel,
|
|
591
|
+
SelectScrollDownButton,
|
|
592
|
+
SelectScrollUpButton,
|
|
593
|
+
SelectSeparator,
|
|
594
|
+
SelectTrigger,
|
|
595
|
+
SelectValue,
|
|
596
|
+
Separator,
|
|
597
|
+
Sheet,
|
|
598
|
+
SheetClose,
|
|
599
|
+
SheetContent,
|
|
600
|
+
SheetDescription,
|
|
601
|
+
SheetFooter,
|
|
602
|
+
SheetHeader,
|
|
603
|
+
SheetTitle,
|
|
604
|
+
SheetTrigger,
|
|
605
|
+
Sidebar,
|
|
606
|
+
SidebarContent,
|
|
607
|
+
SidebarFooter,
|
|
608
|
+
SidebarGroup,
|
|
609
|
+
SidebarGroupAction,
|
|
610
|
+
SidebarGroupContent,
|
|
611
|
+
SidebarGroupLabel,
|
|
612
|
+
SidebarHeader,
|
|
613
|
+
SidebarInput,
|
|
614
|
+
SidebarInset,
|
|
615
|
+
SidebarMenu,
|
|
616
|
+
SidebarMenuAction,
|
|
617
|
+
SidebarMenuBadge,
|
|
618
|
+
SidebarMenuButton,
|
|
619
|
+
SidebarMenuItem,
|
|
620
|
+
SidebarMenuSkeleton,
|
|
621
|
+
SidebarMenuSub,
|
|
622
|
+
SidebarMenuSubButton,
|
|
623
|
+
SidebarMenuSubItem,
|
|
624
|
+
SidebarProvider,
|
|
625
|
+
SidebarRail,
|
|
626
|
+
SidebarSeparator,
|
|
627
|
+
SidebarTrigger,
|
|
628
|
+
Skeleton,
|
|
629
|
+
Slider,
|
|
630
|
+
Switch,
|
|
631
|
+
Table,
|
|
632
|
+
TableBody,
|
|
633
|
+
TableCaption,
|
|
634
|
+
TableCell,
|
|
635
|
+
TableFooter,
|
|
636
|
+
TableHead,
|
|
637
|
+
TableHeader,
|
|
638
|
+
TableRow,
|
|
639
|
+
Tabs,
|
|
205
640
|
TabsContainer,
|
|
641
|
+
TabsContent,
|
|
642
|
+
TabsList,
|
|
643
|
+
TabsTrigger,
|
|
644
|
+
Textarea,
|
|
645
|
+
Toaster,
|
|
646
|
+
Toggle,
|
|
647
|
+
Tooltip,
|
|
648
|
+
TooltipContent,
|
|
649
|
+
TooltipProvider,
|
|
650
|
+
TooltipTrigger,
|
|
206
651
|
UserAvatar,
|
|
207
652
|
UserAvatarEditor,
|
|
208
653
|
UserContainer,
|
|
@@ -221,6 +666,8 @@ export {
|
|
|
221
666
|
UsersList,
|
|
222
667
|
UsersListByContentIds,
|
|
223
668
|
UsersListContainer,
|
|
669
|
+
badgeVariants,
|
|
670
|
+
buttonVariants,
|
|
224
671
|
cellComponent,
|
|
225
672
|
cellDate,
|
|
226
673
|
cellId,
|
|
@@ -228,7 +675,11 @@ export {
|
|
|
228
675
|
cellUrl,
|
|
229
676
|
errorToast,
|
|
230
677
|
generateNotificationData,
|
|
678
|
+
navigationMenuTriggerStyle,
|
|
679
|
+
toggleVariants,
|
|
231
680
|
triggerAssociationToast,
|
|
232
|
-
useFileUpload
|
|
681
|
+
useFileUpload,
|
|
682
|
+
useFormField,
|
|
683
|
+
useSidebar
|
|
233
684
|
};
|
|
234
685
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { M as ModuleWithPermissions } from './notification.interface-agcMYCkg.mjs';
|
|
2
|
+
import { ComponentType } from 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Configure the JSON:API client. This is the main configuration function.
|
|
6
|
+
* This is typically called during app initialization.
|
|
7
|
+
*/
|
|
8
|
+
declare function configureJsonApi(config: {
|
|
9
|
+
apiUrl: string;
|
|
10
|
+
appUrl?: string;
|
|
11
|
+
trackablePages?: ModuleWithPermissions[];
|
|
12
|
+
bootstrapper?: () => void;
|
|
13
|
+
additionalHeaders?: Record<string, string>;
|
|
14
|
+
}): void;
|
|
15
|
+
/**
|
|
16
|
+
* Configure the client config. This is typically called during app initialization.
|
|
17
|
+
* @deprecated Use configureJsonApi instead
|
|
18
|
+
*/
|
|
19
|
+
declare function configureClientConfig(config: {
|
|
20
|
+
apiUrl: string;
|
|
21
|
+
appUrl?: string;
|
|
22
|
+
trackablePages?: ModuleWithPermissions[];
|
|
23
|
+
}): void;
|
|
24
|
+
/**
|
|
25
|
+
* Get the configured API URL.
|
|
26
|
+
*/
|
|
27
|
+
declare function getApiUrl(): string;
|
|
28
|
+
/**
|
|
29
|
+
* Get the configured app URL.
|
|
30
|
+
*/
|
|
31
|
+
declare function getAppUrl(): string;
|
|
32
|
+
/**
|
|
33
|
+
* Get the configured trackable pages.
|
|
34
|
+
*/
|
|
35
|
+
declare function getTrackablePages(): ModuleWithPermissions[];
|
|
36
|
+
|
|
37
|
+
interface I18nRouter {
|
|
38
|
+
push: (href: string) => void;
|
|
39
|
+
replace: (href: string) => void;
|
|
40
|
+
back: () => void;
|
|
41
|
+
forward: () => void;
|
|
42
|
+
refresh: () => void;
|
|
43
|
+
prefetch: (href: string) => void;
|
|
44
|
+
}
|
|
45
|
+
type UseRouterHook = () => I18nRouter;
|
|
46
|
+
type UseTranslationsHook = (namespace?: string) => (key: string, values?: Record<string, any>) => string;
|
|
47
|
+
type UseLocaleHook = () => string;
|
|
48
|
+
type UseDateFnsLocaleHook = () => any;
|
|
49
|
+
type LinkComponent = ComponentType<{
|
|
50
|
+
href: string;
|
|
51
|
+
children: React.ReactNode;
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
}>;
|
|
54
|
+
interface I18nConfig {
|
|
55
|
+
useRouter: UseRouterHook;
|
|
56
|
+
useTranslations: UseTranslationsHook;
|
|
57
|
+
useLocale?: UseLocaleHook;
|
|
58
|
+
useDateFnsLocale?: UseDateFnsLocaleHook;
|
|
59
|
+
Link: LinkComponent;
|
|
60
|
+
usePathname: () => string;
|
|
61
|
+
}
|
|
62
|
+
declare function configureI18n(config: I18nConfig): void;
|
|
63
|
+
declare function useI18nRouter(): I18nRouter;
|
|
64
|
+
declare function useI18nTranslations(namespace?: string): (key: string, values?: Record<string, any>) => string;
|
|
65
|
+
declare function getI18nLink(): LinkComponent;
|
|
66
|
+
declare function useI18nLocale(): string;
|
|
67
|
+
declare function useI18nDateFnsLocale(): any;
|
|
68
|
+
|
|
69
|
+
export { type I18nConfig as I, type LinkComponent as L, type UseDateFnsLocaleHook as U, getAppUrl as a, getTrackablePages as b, configureJsonApi as c, configureI18n as d, configureClientConfig as e, getI18nLink as f, getApiUrl as g, useI18nLocale as h, useI18nRouter as i, useI18nTranslations as j, type I18nRouter as k, type UseLocaleHook as l, type UseRouterHook as m, type UseTranslationsHook as n, useI18nDateFnsLocale as u };
|