@carlonicora/nextjs-jsonapi 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +889 -0
- package/dist/AbstractService-BKlpJA61.d.mts +109 -0
- package/dist/AbstractService-D9eSVKNa.d.ts +109 -0
- package/dist/ApiData-DPKNfY-9.d.mts +10 -0
- package/dist/ApiData-DPKNfY-9.d.ts +10 -0
- package/dist/ApiDataInterface-DPP8s46n.d.mts +21 -0
- package/dist/ApiDataInterface-DPP8s46n.d.ts +21 -0
- package/dist/ApiRequestDataTypeInterface-CUKFDBx2.d.mts +20 -0
- package/dist/ApiRequestDataTypeInterface-CUKFDBx2.d.ts +20 -0
- package/dist/ApiResponseInterface-BHN5D9r5.d.mts +16 -0
- package/dist/ApiResponseInterface-DDI7QQPR.d.ts +16 -0
- package/dist/BlockNoteEditor-UVO3VZZE.mjs +396 -0
- package/dist/BlockNoteEditor-UVO3VZZE.mjs.map +1 -0
- package/dist/BlockNoteEditor-VFWG6LXI.js +396 -0
- package/dist/BlockNoteEditor-VFWG6LXI.js.map +1 -0
- package/dist/JsonApiRequest-S3ICLM7B.mjs +20 -0
- package/dist/JsonApiRequest-S3ICLM7B.mjs.map +1 -0
- package/dist/JsonApiRequest-ZZLSP26T.js +20 -0
- package/dist/JsonApiRequest-ZZLSP26T.js.map +1 -0
- package/dist/atoms/index.d.mts +12 -0
- package/dist/atoms/index.d.ts +12 -0
- package/dist/atoms/index.js +9 -0
- package/dist/atoms/index.js.map +1 -0
- package/dist/atoms/index.mjs +9 -0
- package/dist/atoms/index.mjs.map +1 -0
- package/dist/breadcrumb.item.data.interface-CgB4_1EE.d.mts +6 -0
- package/dist/breadcrumb.item.data.interface-CgB4_1EE.d.ts +6 -0
- package/dist/chunk-2K3Q24UF.js +89 -0
- package/dist/chunk-2K3Q24UF.js.map +1 -0
- package/dist/chunk-2LM6LCJW.mjs +1091 -0
- package/dist/chunk-2LM6LCJW.mjs.map +1 -0
- package/dist/chunk-366S2JCC.mjs +31 -0
- package/dist/chunk-366S2JCC.mjs.map +1 -0
- package/dist/chunk-3FBCC4G3.js +8 -0
- package/dist/chunk-3FBCC4G3.js.map +1 -0
- package/dist/chunk-4HCRAOS5.js +28 -0
- package/dist/chunk-4HCRAOS5.js.map +1 -0
- package/dist/chunk-5W6AKZE6.mjs +131 -0
- package/dist/chunk-5W6AKZE6.mjs.map +1 -0
- package/dist/chunk-6GKHCVF6.js +98 -0
- package/dist/chunk-6GKHCVF6.js.map +1 -0
- package/dist/chunk-7QVYU63E.js +7 -0
- package/dist/chunk-7QVYU63E.js.map +1 -0
- package/dist/chunk-A3J3AAYM.mjs +97 -0
- package/dist/chunk-A3J3AAYM.mjs.map +1 -0
- package/dist/chunk-A5DDIABK.js +4209 -0
- package/dist/chunk-A5DDIABK.js.map +1 -0
- package/dist/chunk-AUXK7QSA.mjs +15 -0
- package/dist/chunk-AUXK7QSA.mjs.map +1 -0
- package/dist/chunk-AWONBQQP.js +97 -0
- package/dist/chunk-AWONBQQP.js.map +1 -0
- package/dist/chunk-BLWVZK6J.mjs +28 -0
- package/dist/chunk-BLWVZK6J.mjs.map +1 -0
- package/dist/chunk-C7C7VY4F.mjs +77 -0
- package/dist/chunk-C7C7VY4F.mjs.map +1 -0
- package/dist/chunk-CXQOWQSY.js +55 -0
- package/dist/chunk-CXQOWQSY.js.map +1 -0
- package/dist/chunk-DD3KISNB.mjs +98 -0
- package/dist/chunk-DD3KISNB.mjs.map +1 -0
- package/dist/chunk-DKKMWBP4.mjs +1 -0
- package/dist/chunk-DKKMWBP4.mjs.map +1 -0
- package/dist/chunk-DO2HLAZO.js +48 -0
- package/dist/chunk-DO2HLAZO.js.map +1 -0
- package/dist/chunk-DZXDB3K2.mjs +17 -0
- package/dist/chunk-DZXDB3K2.mjs.map +1 -0
- package/dist/chunk-ECDTZBYO.mjs +230 -0
- package/dist/chunk-ECDTZBYO.mjs.map +1 -0
- package/dist/chunk-EFJEWLRL.js +16 -0
- package/dist/chunk-EFJEWLRL.js.map +1 -0
- package/dist/chunk-FY4SXJGU.js +806 -0
- package/dist/chunk-FY4SXJGU.js.map +1 -0
- package/dist/chunk-GYWPEPOH.mjs +1354 -0
- package/dist/chunk-GYWPEPOH.mjs.map +1 -0
- package/dist/chunk-H6FMOA6B.js +1 -0
- package/dist/chunk-H6FMOA6B.js.map +1 -0
- package/dist/chunk-HR4H2FP7.mjs +89 -0
- package/dist/chunk-HR4H2FP7.mjs.map +1 -0
- package/dist/chunk-I2REI7OA.js +462 -0
- package/dist/chunk-I2REI7OA.js.map +1 -0
- package/dist/chunk-IBS6NI7D.js +77 -0
- package/dist/chunk-IBS6NI7D.js.map +1 -0
- package/dist/chunk-IWFGEPAA.mjs +4209 -0
- package/dist/chunk-IWFGEPAA.mjs.map +1 -0
- package/dist/chunk-J4Q36PMP.js +31 -0
- package/dist/chunk-J4Q36PMP.js.map +1 -0
- package/dist/chunk-JC3WJK65.js +1091 -0
- package/dist/chunk-JC3WJK65.js.map +1 -0
- package/dist/chunk-L6EQEAXU.mjs +462 -0
- package/dist/chunk-L6EQEAXU.mjs.map +1 -0
- package/dist/chunk-LXKSUWAV.js +15 -0
- package/dist/chunk-LXKSUWAV.js.map +1 -0
- package/dist/chunk-MFO27OHB.mjs +48 -0
- package/dist/chunk-MFO27OHB.mjs.map +1 -0
- package/dist/chunk-PAWJFY3S.mjs +7 -0
- package/dist/chunk-PAWJFY3S.mjs.map +1 -0
- package/dist/chunk-Q2N6SQYW.mjs +8 -0
- package/dist/chunk-Q2N6SQYW.mjs.map +1 -0
- package/dist/chunk-RAF7PNLG.js +131 -0
- package/dist/chunk-RAF7PNLG.js.map +1 -0
- package/dist/chunk-RUR22SVM.js +17 -0
- package/dist/chunk-RUR22SVM.js.map +1 -0
- package/dist/chunk-TEGF6ZWG.js +109 -0
- package/dist/chunk-TEGF6ZWG.js.map +1 -0
- package/dist/chunk-TMVHSY3Y.js +230 -0
- package/dist/chunk-TMVHSY3Y.js.map +1 -0
- package/dist/chunk-V2JJPI7N.js +1354 -0
- package/dist/chunk-V2JJPI7N.js.map +1 -0
- package/dist/chunk-WWWMJZEF.mjs +806 -0
- package/dist/chunk-WWWMJZEF.mjs.map +1 -0
- package/dist/chunk-X4BIHJ2B.mjs +55 -0
- package/dist/chunk-X4BIHJ2B.mjs.map +1 -0
- package/dist/chunk-YDVTFM7X.mjs +109 -0
- package/dist/chunk-YDVTFM7X.mjs.map +1 -0
- package/dist/chunk-YF5XQZDR.mjs +16 -0
- package/dist/chunk-YF5XQZDR.mjs.map +1 -0
- package/dist/client/index.d.mts +252 -0
- package/dist/client/index.d.ts +252 -0
- package/dist/client/index.js +275 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/index.mjs +274 -0
- package/dist/client/index.mjs.map +1 -0
- package/dist/components/index.d.mts +441 -0
- package/dist/components/index.d.ts +441 -0
- package/dist/components/index.js +2474 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index.mjs +2474 -0
- package/dist/components/index.mjs.map +1 -0
- package/dist/config-hXufftVS.d.mts +34 -0
- package/dist/config-hXufftVS.d.ts +34 -0
- package/dist/content.interface-BhyAiOFq.d.ts +35 -0
- package/dist/content.interface-Dg2lt_An.d.mts +35 -0
- package/dist/contexts/index.d.mts +56 -0
- package/dist/contexts/index.d.ts +56 -0
- package/dist/contexts/index.js +21 -0
- package/dist/contexts/index.js.map +1 -0
- package/dist/contexts/index.mjs +21 -0
- package/dist/contexts/index.mjs.map +1 -0
- package/dist/core/index.d.mts +152 -0
- package/dist/core/index.d.ts +152 -0
- package/dist/core/index.js +47 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/index.mjs +47 -0
- package/dist/core/index.mjs.map +1 -0
- package/dist/d3.link.interface-QMdB22bC.d.mts +20 -0
- package/dist/d3.link.interface-QMdB22bC.d.ts +20 -0
- package/dist/features/index.d.mts +553 -0
- package/dist/features/index.d.ts +553 -0
- package/dist/features/index.js +94 -0
- package/dist/features/index.js.map +1 -0
- package/dist/features/index.mjs +94 -0
- package/dist/features/index.mjs.map +1 -0
- package/dist/hooks/index.d.mts +94 -0
- package/dist/hooks/index.d.ts +94 -0
- package/dist/hooks/index.js +43 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/index.mjs +43 -0
- package/dist/hooks/index.mjs.map +1 -0
- package/dist/index.d.mts +72 -0
- package/dist/index.d.ts +72 -0
- package/dist/index.js +84 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +84 -0
- package/dist/index.mjs.map +1 -0
- package/dist/interfaces/index.d.mts +3 -0
- package/dist/interfaces/index.d.ts +3 -0
- package/dist/interfaces/index.js +2 -0
- package/dist/interfaces/index.js.map +1 -0
- package/dist/interfaces/index.mjs +2 -0
- package/dist/interfaces/index.mjs.map +1 -0
- package/dist/permissions/index.d.mts +41 -0
- package/dist/permissions/index.d.ts +41 -0
- package/dist/permissions/index.js +14 -0
- package/dist/permissions/index.js.map +1 -0
- package/dist/permissions/index.mjs +14 -0
- package/dist/permissions/index.mjs.map +1 -0
- package/dist/request-7FE3LJLV.mjs +9 -0
- package/dist/request-7FE3LJLV.mjs.map +1 -0
- package/dist/request-FYMQK5CX.mjs +9 -0
- package/dist/request-FYMQK5CX.mjs.map +1 -0
- package/dist/request-QFS7NEIE.js +9 -0
- package/dist/request-QFS7NEIE.js.map +1 -0
- package/dist/request-ZYY6RI5X.js +9 -0
- package/dist/request-ZYY6RI5X.js.map +1 -0
- package/dist/roles/index.d.mts +33 -0
- package/dist/roles/index.d.ts +33 -0
- package/dist/roles/index.js +12 -0
- package/dist/roles/index.js.map +1 -0
- package/dist/roles/index.mjs +12 -0
- package/dist/roles/index.mjs.map +1 -0
- package/dist/server/index.d.mts +44 -0
- package/dist/server/index.d.ts +44 -0
- package/dist/server/index.js +29 -0
- package/dist/server/index.js.map +1 -0
- package/dist/server/index.mjs +29 -0
- package/dist/server/index.mjs.map +1 -0
- package/dist/shadcnui/index.d.mts +698 -0
- package/dist/shadcnui/index.d.ts +698 -0
- package/dist/shadcnui/index.js +466 -0
- package/dist/shadcnui/index.js.map +1 -0
- package/dist/shadcnui/index.mjs +465 -0
- package/dist/shadcnui/index.mjs.map +1 -0
- package/dist/token-IJSPOMW6.mjs +9 -0
- package/dist/token-IJSPOMW6.mjs.map +1 -0
- package/dist/token-MJMC26ON.js +9 -0
- package/dist/token-MJMC26ON.js.map +1 -0
- package/dist/token-UADJQ7VC.mjs +9 -0
- package/dist/token-UADJQ7VC.mjs.map +1 -0
- package/dist/token-UYE7CV6X.js +9 -0
- package/dist/token-UYE7CV6X.js.map +1 -0
- package/dist/types-DluCaP1I.d.ts +95 -0
- package/dist/types-lQVA8d_P.d.mts +95 -0
- package/dist/useDataListRetriever-futhx3OP.d.mts +32 -0
- package/dist/useDataListRetriever-futhx3OP.d.ts +32 -0
- package/dist/user.interface-CAsTIbuQ.d.mts +85 -0
- package/dist/user.interface-CbWqMaaU.d.ts +85 -0
- package/dist/utils/index.d.mts +201 -0
- package/dist/utils/index.d.ts +201 -0
- package/dist/utils/index.js +32 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/index.mjs +32 -0
- package/dist/utils/index.mjs.map +1 -0
- package/package.json +205 -0
|
@@ -0,0 +1,465 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
Accordion,
|
|
4
|
+
AccordionContent,
|
|
5
|
+
AccordionItem,
|
|
6
|
+
AccordionTrigger,
|
|
7
|
+
Alert,
|
|
8
|
+
AlertDescription,
|
|
9
|
+
AlertDialog,
|
|
10
|
+
AlertDialogAction,
|
|
11
|
+
AlertDialogCancel,
|
|
12
|
+
AlertDialogContent,
|
|
13
|
+
AlertDialogDescription,
|
|
14
|
+
AlertDialogFooter,
|
|
15
|
+
AlertDialogHeader,
|
|
16
|
+
AlertDialogOverlay,
|
|
17
|
+
AlertDialogPortal,
|
|
18
|
+
AlertDialogTitle,
|
|
19
|
+
AlertDialogTrigger,
|
|
20
|
+
AlertTitle,
|
|
21
|
+
Avatar,
|
|
22
|
+
AvatarFallback,
|
|
23
|
+
AvatarImage,
|
|
24
|
+
Badge,
|
|
25
|
+
Breadcrumb,
|
|
26
|
+
BreadcrumbEllipsis,
|
|
27
|
+
BreadcrumbItem,
|
|
28
|
+
BreadcrumbLink,
|
|
29
|
+
BreadcrumbList,
|
|
30
|
+
BreadcrumbPage,
|
|
31
|
+
BreadcrumbSeparator,
|
|
32
|
+
Button,
|
|
33
|
+
Calendar,
|
|
34
|
+
Card,
|
|
35
|
+
CardContent,
|
|
36
|
+
CardDescription,
|
|
37
|
+
CardFooter,
|
|
38
|
+
CardHeader,
|
|
39
|
+
CardTitle,
|
|
40
|
+
Carousel,
|
|
41
|
+
CarouselContent,
|
|
42
|
+
CarouselItem,
|
|
43
|
+
CarouselNext,
|
|
44
|
+
CarouselPrevious,
|
|
45
|
+
ChartContainer,
|
|
46
|
+
ChartLegend,
|
|
47
|
+
ChartLegendContent,
|
|
48
|
+
ChartStyle,
|
|
49
|
+
ChartTooltip,
|
|
50
|
+
ChartTooltipContent,
|
|
51
|
+
Checkbox,
|
|
52
|
+
Collapsible,
|
|
53
|
+
CollapsibleContent,
|
|
54
|
+
CollapsibleTrigger,
|
|
55
|
+
Command,
|
|
56
|
+
CommandDialog,
|
|
57
|
+
CommandEmpty,
|
|
58
|
+
CommandGroup,
|
|
59
|
+
CommandInput,
|
|
60
|
+
CommandItem,
|
|
61
|
+
CommandList,
|
|
62
|
+
CommandSeparator,
|
|
63
|
+
CommandShortcut,
|
|
64
|
+
ContextMenu,
|
|
65
|
+
ContextMenuCheckboxItem,
|
|
66
|
+
ContextMenuContent,
|
|
67
|
+
ContextMenuGroup,
|
|
68
|
+
ContextMenuItem,
|
|
69
|
+
ContextMenuLabel,
|
|
70
|
+
ContextMenuPortal,
|
|
71
|
+
ContextMenuRadioGroup,
|
|
72
|
+
ContextMenuRadioItem,
|
|
73
|
+
ContextMenuSeparator,
|
|
74
|
+
ContextMenuShortcut,
|
|
75
|
+
ContextMenuSub,
|
|
76
|
+
ContextMenuSubContent,
|
|
77
|
+
ContextMenuSubTrigger,
|
|
78
|
+
ContextMenuTrigger,
|
|
79
|
+
Dialog,
|
|
80
|
+
DialogClose,
|
|
81
|
+
DialogContent,
|
|
82
|
+
DialogDescription,
|
|
83
|
+
DialogFooter,
|
|
84
|
+
DialogHeader,
|
|
85
|
+
DialogOverlay,
|
|
86
|
+
DialogPortal,
|
|
87
|
+
DialogTitle,
|
|
88
|
+
DialogTrigger,
|
|
89
|
+
Drawer,
|
|
90
|
+
DrawerClose,
|
|
91
|
+
DrawerContent,
|
|
92
|
+
DrawerDescription,
|
|
93
|
+
DrawerFooter,
|
|
94
|
+
DrawerHeader,
|
|
95
|
+
DrawerOverlay,
|
|
96
|
+
DrawerPortal,
|
|
97
|
+
DrawerTitle,
|
|
98
|
+
DrawerTrigger,
|
|
99
|
+
DropdownMenu,
|
|
100
|
+
DropdownMenuCheckboxItem,
|
|
101
|
+
DropdownMenuContent,
|
|
102
|
+
DropdownMenuGroup,
|
|
103
|
+
DropdownMenuItem,
|
|
104
|
+
DropdownMenuLabel,
|
|
105
|
+
DropdownMenuPortal,
|
|
106
|
+
DropdownMenuRadioGroup,
|
|
107
|
+
DropdownMenuRadioItem,
|
|
108
|
+
DropdownMenuSeparator,
|
|
109
|
+
DropdownMenuShortcut,
|
|
110
|
+
DropdownMenuSub,
|
|
111
|
+
DropdownMenuSubContent,
|
|
112
|
+
DropdownMenuSubTrigger,
|
|
113
|
+
DropdownMenuTrigger,
|
|
114
|
+
Form,
|
|
115
|
+
FormControl,
|
|
116
|
+
FormDescription,
|
|
117
|
+
FormField,
|
|
118
|
+
FormItem,
|
|
119
|
+
FormLabel,
|
|
120
|
+
FormMessage,
|
|
121
|
+
HoverCard,
|
|
122
|
+
HoverCardContent,
|
|
123
|
+
HoverCardTrigger,
|
|
124
|
+
Input,
|
|
125
|
+
KanbanBoard,
|
|
126
|
+
KanbanColumn,
|
|
127
|
+
KanbanColumnHandle,
|
|
128
|
+
KanbanItem,
|
|
129
|
+
KanbanItemHandle,
|
|
130
|
+
KanbanOverlay,
|
|
131
|
+
KanbanRoot,
|
|
132
|
+
Label,
|
|
133
|
+
Link,
|
|
134
|
+
MultiSelect,
|
|
135
|
+
NavigationMenu,
|
|
136
|
+
NavigationMenuContent,
|
|
137
|
+
NavigationMenuIndicator,
|
|
138
|
+
NavigationMenuItem,
|
|
139
|
+
NavigationMenuLink,
|
|
140
|
+
NavigationMenuList,
|
|
141
|
+
NavigationMenuTrigger,
|
|
142
|
+
NavigationMenuViewport,
|
|
143
|
+
Popover,
|
|
144
|
+
PopoverAnchor,
|
|
145
|
+
PopoverContent,
|
|
146
|
+
PopoverTrigger,
|
|
147
|
+
Progress,
|
|
148
|
+
RadioGroup,
|
|
149
|
+
RadioGroupItem,
|
|
150
|
+
ResizableHandle,
|
|
151
|
+
ResizablePanel,
|
|
152
|
+
ResizablePanelGroup,
|
|
153
|
+
SIDEBAR_WIDTH,
|
|
154
|
+
SIDEBAR_WIDTH_ICON,
|
|
155
|
+
SIDEBAR_WIDTH_MOBILE,
|
|
156
|
+
ScrollArea,
|
|
157
|
+
ScrollBar,
|
|
158
|
+
Select,
|
|
159
|
+
SelectContent,
|
|
160
|
+
SelectGroup,
|
|
161
|
+
SelectItem,
|
|
162
|
+
SelectLabel,
|
|
163
|
+
SelectScrollDownButton,
|
|
164
|
+
SelectScrollUpButton,
|
|
165
|
+
SelectSeparator,
|
|
166
|
+
SelectTrigger,
|
|
167
|
+
SelectValue,
|
|
168
|
+
Separator,
|
|
169
|
+
Sheet,
|
|
170
|
+
SheetClose,
|
|
171
|
+
SheetContent,
|
|
172
|
+
SheetDescription,
|
|
173
|
+
SheetFooter,
|
|
174
|
+
SheetHeader,
|
|
175
|
+
SheetTitle,
|
|
176
|
+
SheetTrigger,
|
|
177
|
+
Sidebar,
|
|
178
|
+
SidebarContent,
|
|
179
|
+
SidebarFooter,
|
|
180
|
+
SidebarGroup,
|
|
181
|
+
SidebarGroupAction,
|
|
182
|
+
SidebarGroupContent,
|
|
183
|
+
SidebarGroupLabel,
|
|
184
|
+
SidebarHeader,
|
|
185
|
+
SidebarInput,
|
|
186
|
+
SidebarInset,
|
|
187
|
+
SidebarMenu,
|
|
188
|
+
SidebarMenuAction,
|
|
189
|
+
SidebarMenuBadge,
|
|
190
|
+
SidebarMenuButton,
|
|
191
|
+
SidebarMenuItem,
|
|
192
|
+
SidebarMenuSkeleton,
|
|
193
|
+
SidebarMenuSub,
|
|
194
|
+
SidebarMenuSubButton,
|
|
195
|
+
SidebarMenuSubItem,
|
|
196
|
+
SidebarProvider,
|
|
197
|
+
SidebarRail,
|
|
198
|
+
SidebarSeparator,
|
|
199
|
+
SidebarTrigger,
|
|
200
|
+
Skeleton,
|
|
201
|
+
Slider,
|
|
202
|
+
Switch,
|
|
203
|
+
Table,
|
|
204
|
+
TableBody,
|
|
205
|
+
TableCaption,
|
|
206
|
+
TableCell,
|
|
207
|
+
TableFooter,
|
|
208
|
+
TableHead,
|
|
209
|
+
TableHeader,
|
|
210
|
+
TableRow,
|
|
211
|
+
Tabs,
|
|
212
|
+
TabsContent,
|
|
213
|
+
TabsList,
|
|
214
|
+
TabsTrigger,
|
|
215
|
+
Textarea,
|
|
216
|
+
Toaster,
|
|
217
|
+
Toggle,
|
|
218
|
+
Tooltip,
|
|
219
|
+
TooltipContent,
|
|
220
|
+
TooltipProvider,
|
|
221
|
+
TooltipTrigger,
|
|
222
|
+
badgeVariants,
|
|
223
|
+
buttonVariants,
|
|
224
|
+
navigationMenuTriggerStyle,
|
|
225
|
+
toggleVariants,
|
|
226
|
+
useFormField,
|
|
227
|
+
useSidebar
|
|
228
|
+
} from "../chunk-IWFGEPAA.mjs";
|
|
229
|
+
import "../chunk-2LM6LCJW.mjs";
|
|
230
|
+
import "../chunk-PAWJFY3S.mjs";
|
|
231
|
+
export {
|
|
232
|
+
Accordion,
|
|
233
|
+
AccordionContent,
|
|
234
|
+
AccordionItem,
|
|
235
|
+
AccordionTrigger,
|
|
236
|
+
Alert,
|
|
237
|
+
AlertDescription,
|
|
238
|
+
AlertDialog,
|
|
239
|
+
AlertDialogAction,
|
|
240
|
+
AlertDialogCancel,
|
|
241
|
+
AlertDialogContent,
|
|
242
|
+
AlertDialogDescription,
|
|
243
|
+
AlertDialogFooter,
|
|
244
|
+
AlertDialogHeader,
|
|
245
|
+
AlertDialogOverlay,
|
|
246
|
+
AlertDialogPortal,
|
|
247
|
+
AlertDialogTitle,
|
|
248
|
+
AlertDialogTrigger,
|
|
249
|
+
AlertTitle,
|
|
250
|
+
Avatar,
|
|
251
|
+
AvatarFallback,
|
|
252
|
+
AvatarImage,
|
|
253
|
+
Badge,
|
|
254
|
+
KanbanBoard as Board,
|
|
255
|
+
Breadcrumb,
|
|
256
|
+
BreadcrumbEllipsis,
|
|
257
|
+
BreadcrumbItem,
|
|
258
|
+
BreadcrumbLink,
|
|
259
|
+
BreadcrumbList,
|
|
260
|
+
BreadcrumbPage,
|
|
261
|
+
BreadcrumbSeparator,
|
|
262
|
+
Button,
|
|
263
|
+
Calendar,
|
|
264
|
+
Card,
|
|
265
|
+
CardContent,
|
|
266
|
+
CardDescription,
|
|
267
|
+
CardFooter,
|
|
268
|
+
CardHeader,
|
|
269
|
+
CardTitle,
|
|
270
|
+
Carousel,
|
|
271
|
+
CarouselContent,
|
|
272
|
+
CarouselItem,
|
|
273
|
+
CarouselNext,
|
|
274
|
+
CarouselPrevious,
|
|
275
|
+
ChartContainer,
|
|
276
|
+
ChartLegend,
|
|
277
|
+
ChartLegendContent,
|
|
278
|
+
ChartStyle,
|
|
279
|
+
ChartTooltip,
|
|
280
|
+
ChartTooltipContent,
|
|
281
|
+
Checkbox,
|
|
282
|
+
Collapsible,
|
|
283
|
+
CollapsibleContent,
|
|
284
|
+
CollapsibleTrigger,
|
|
285
|
+
KanbanColumn as Column,
|
|
286
|
+
KanbanColumnHandle as ColumnHandle,
|
|
287
|
+
Command,
|
|
288
|
+
CommandDialog,
|
|
289
|
+
CommandEmpty,
|
|
290
|
+
CommandGroup,
|
|
291
|
+
CommandInput,
|
|
292
|
+
CommandItem,
|
|
293
|
+
CommandList,
|
|
294
|
+
CommandSeparator,
|
|
295
|
+
CommandShortcut,
|
|
296
|
+
ContextMenu,
|
|
297
|
+
ContextMenuCheckboxItem,
|
|
298
|
+
ContextMenuContent,
|
|
299
|
+
ContextMenuGroup,
|
|
300
|
+
ContextMenuItem,
|
|
301
|
+
ContextMenuLabel,
|
|
302
|
+
ContextMenuPortal,
|
|
303
|
+
ContextMenuRadioGroup,
|
|
304
|
+
ContextMenuRadioItem,
|
|
305
|
+
ContextMenuSeparator,
|
|
306
|
+
ContextMenuShortcut,
|
|
307
|
+
ContextMenuSub,
|
|
308
|
+
ContextMenuSubContent,
|
|
309
|
+
ContextMenuSubTrigger,
|
|
310
|
+
ContextMenuTrigger,
|
|
311
|
+
Dialog,
|
|
312
|
+
DialogClose,
|
|
313
|
+
DialogContent,
|
|
314
|
+
DialogDescription,
|
|
315
|
+
DialogFooter,
|
|
316
|
+
DialogHeader,
|
|
317
|
+
DialogOverlay,
|
|
318
|
+
DialogPortal,
|
|
319
|
+
DialogTitle,
|
|
320
|
+
DialogTrigger,
|
|
321
|
+
Drawer,
|
|
322
|
+
DrawerClose,
|
|
323
|
+
DrawerContent,
|
|
324
|
+
DrawerDescription,
|
|
325
|
+
DrawerFooter,
|
|
326
|
+
DrawerHeader,
|
|
327
|
+
DrawerOverlay,
|
|
328
|
+
DrawerPortal,
|
|
329
|
+
DrawerTitle,
|
|
330
|
+
DrawerTrigger,
|
|
331
|
+
DropdownMenu,
|
|
332
|
+
DropdownMenuCheckboxItem,
|
|
333
|
+
DropdownMenuContent,
|
|
334
|
+
DropdownMenuGroup,
|
|
335
|
+
DropdownMenuItem,
|
|
336
|
+
DropdownMenuLabel,
|
|
337
|
+
DropdownMenuPortal,
|
|
338
|
+
DropdownMenuRadioGroup,
|
|
339
|
+
DropdownMenuRadioItem,
|
|
340
|
+
DropdownMenuSeparator,
|
|
341
|
+
DropdownMenuShortcut,
|
|
342
|
+
DropdownMenuSub,
|
|
343
|
+
DropdownMenuSubContent,
|
|
344
|
+
DropdownMenuSubTrigger,
|
|
345
|
+
DropdownMenuTrigger,
|
|
346
|
+
Form,
|
|
347
|
+
FormControl,
|
|
348
|
+
FormDescription,
|
|
349
|
+
FormField,
|
|
350
|
+
FormItem,
|
|
351
|
+
FormLabel,
|
|
352
|
+
FormMessage,
|
|
353
|
+
HoverCard,
|
|
354
|
+
HoverCardContent,
|
|
355
|
+
HoverCardTrigger,
|
|
356
|
+
Input,
|
|
357
|
+
KanbanItem as Item,
|
|
358
|
+
KanbanItemHandle as ItemHandle,
|
|
359
|
+
KanbanRoot as Kanban,
|
|
360
|
+
KanbanBoard,
|
|
361
|
+
KanbanColumn,
|
|
362
|
+
KanbanColumnHandle,
|
|
363
|
+
KanbanItem,
|
|
364
|
+
KanbanItemHandle,
|
|
365
|
+
KanbanOverlay,
|
|
366
|
+
Label,
|
|
367
|
+
Link,
|
|
368
|
+
MultiSelect,
|
|
369
|
+
NavigationMenu,
|
|
370
|
+
NavigationMenuContent,
|
|
371
|
+
NavigationMenuIndicator,
|
|
372
|
+
NavigationMenuItem,
|
|
373
|
+
NavigationMenuLink,
|
|
374
|
+
NavigationMenuList,
|
|
375
|
+
NavigationMenuTrigger,
|
|
376
|
+
NavigationMenuViewport,
|
|
377
|
+
KanbanOverlay as Overlay,
|
|
378
|
+
Popover,
|
|
379
|
+
PopoverAnchor,
|
|
380
|
+
PopoverContent,
|
|
381
|
+
PopoverTrigger,
|
|
382
|
+
Progress,
|
|
383
|
+
RadioGroup,
|
|
384
|
+
RadioGroupItem,
|
|
385
|
+
ResizableHandle,
|
|
386
|
+
ResizablePanel,
|
|
387
|
+
ResizablePanelGroup,
|
|
388
|
+
KanbanRoot as Root,
|
|
389
|
+
SIDEBAR_WIDTH,
|
|
390
|
+
SIDEBAR_WIDTH_ICON,
|
|
391
|
+
SIDEBAR_WIDTH_MOBILE,
|
|
392
|
+
ScrollArea,
|
|
393
|
+
ScrollBar,
|
|
394
|
+
Select,
|
|
395
|
+
SelectContent,
|
|
396
|
+
SelectGroup,
|
|
397
|
+
SelectItem,
|
|
398
|
+
SelectLabel,
|
|
399
|
+
SelectScrollDownButton,
|
|
400
|
+
SelectScrollUpButton,
|
|
401
|
+
SelectSeparator,
|
|
402
|
+
SelectTrigger,
|
|
403
|
+
SelectValue,
|
|
404
|
+
Separator,
|
|
405
|
+
Sheet,
|
|
406
|
+
SheetClose,
|
|
407
|
+
SheetContent,
|
|
408
|
+
SheetDescription,
|
|
409
|
+
SheetFooter,
|
|
410
|
+
SheetHeader,
|
|
411
|
+
SheetTitle,
|
|
412
|
+
SheetTrigger,
|
|
413
|
+
Sidebar,
|
|
414
|
+
SidebarContent,
|
|
415
|
+
SidebarFooter,
|
|
416
|
+
SidebarGroup,
|
|
417
|
+
SidebarGroupAction,
|
|
418
|
+
SidebarGroupContent,
|
|
419
|
+
SidebarGroupLabel,
|
|
420
|
+
SidebarHeader,
|
|
421
|
+
SidebarInput,
|
|
422
|
+
SidebarInset,
|
|
423
|
+
SidebarMenu,
|
|
424
|
+
SidebarMenuAction,
|
|
425
|
+
SidebarMenuBadge,
|
|
426
|
+
SidebarMenuButton,
|
|
427
|
+
SidebarMenuItem,
|
|
428
|
+
SidebarMenuSkeleton,
|
|
429
|
+
SidebarMenuSub,
|
|
430
|
+
SidebarMenuSubButton,
|
|
431
|
+
SidebarMenuSubItem,
|
|
432
|
+
SidebarProvider,
|
|
433
|
+
SidebarRail,
|
|
434
|
+
SidebarSeparator,
|
|
435
|
+
SidebarTrigger,
|
|
436
|
+
Skeleton,
|
|
437
|
+
Slider,
|
|
438
|
+
Switch,
|
|
439
|
+
Table,
|
|
440
|
+
TableBody,
|
|
441
|
+
TableCaption,
|
|
442
|
+
TableCell,
|
|
443
|
+
TableFooter,
|
|
444
|
+
TableHead,
|
|
445
|
+
TableHeader,
|
|
446
|
+
TableRow,
|
|
447
|
+
Tabs,
|
|
448
|
+
TabsContent,
|
|
449
|
+
TabsList,
|
|
450
|
+
TabsTrigger,
|
|
451
|
+
Textarea,
|
|
452
|
+
Toaster,
|
|
453
|
+
Toggle,
|
|
454
|
+
Tooltip,
|
|
455
|
+
TooltipContent,
|
|
456
|
+
TooltipProvider,
|
|
457
|
+
TooltipTrigger,
|
|
458
|
+
badgeVariants,
|
|
459
|
+
buttonVariants,
|
|
460
|
+
navigationMenuTriggerStyle,
|
|
461
|
+
toggleVariants,
|
|
462
|
+
useFormField,
|
|
463
|
+
useSidebar
|
|
464
|
+
};
|
|
465
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkLXKSUWAVjs = require('./chunk-LXKSUWAV.js');
|
|
5
|
+
require('./chunk-7QVYU63E.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
exports.getClientToken = _chunkLXKSUWAVjs.getClientToken;
|
|
9
|
+
//# sourceMappingURL=token-MJMC26ON.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/Users/carlo/Development/phlow2/packages/nextjs-jsonapi/dist/token-MJMC26ON.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACF,yDAAC","file":"/Users/carlo/Development/phlow2/packages/nextjs-jsonapi/dist/token-MJMC26ON.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use server";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkEFJEWLRLjs = require('./chunk-EFJEWLRL.js');
|
|
5
|
+
require('./chunk-7QVYU63E.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
exports.getServerToken = _chunkEFJEWLRLjs.getServerToken;
|
|
9
|
+
//# sourceMappingURL=token-UYE7CV6X.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/Users/carlo/Development/phlow2/packages/nextjs-jsonapi/dist/token-UYE7CV6X.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACF,yDAAC","file":"/Users/carlo/Development/phlow2/packages/nextjs-jsonapi/dist/token-UYE7CV6X.js"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { A as ApiRequestDataTypeInterface, F as FieldSelector } from './ApiRequestDataTypeInterface-CUKFDBx2.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Permission actions
|
|
5
|
+
*/
|
|
6
|
+
declare enum Action {
|
|
7
|
+
Read = "read",
|
|
8
|
+
Create = "create",
|
|
9
|
+
Update = "update",
|
|
10
|
+
Delete = "delete"
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Generic permission check type.
|
|
14
|
+
* Can be a boolean or a function that checks permissions dynamically.
|
|
15
|
+
* @template T - The data type being checked
|
|
16
|
+
* @template U - The user type (defaults to PermissionUser)
|
|
17
|
+
*/
|
|
18
|
+
type PermissionCheck<T, U = PermissionUser> = boolean | ((user?: U | string, data?: T) => boolean);
|
|
19
|
+
/**
|
|
20
|
+
* Page URL configuration for modules
|
|
21
|
+
*/
|
|
22
|
+
type PageUrl = {
|
|
23
|
+
pageUrl?: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Module permission definition wrapper
|
|
27
|
+
*/
|
|
28
|
+
type ModulePermissionDefinition<T> = {
|
|
29
|
+
interface: T;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Base module definition
|
|
33
|
+
*/
|
|
34
|
+
type ModuleDefinition = {
|
|
35
|
+
pageUrl?: string;
|
|
36
|
+
name: string;
|
|
37
|
+
model: any;
|
|
38
|
+
feature?: string;
|
|
39
|
+
moduleId?: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Permission configuration for a module.
|
|
43
|
+
* Can be a boolean (allow/deny all) or a string path for dynamic checks.
|
|
44
|
+
*/
|
|
45
|
+
interface PermissionConfig {
|
|
46
|
+
create: boolean | string;
|
|
47
|
+
read: boolean | string;
|
|
48
|
+
update: boolean | string;
|
|
49
|
+
delete: boolean | string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Generic interface for a module that has permissions.
|
|
53
|
+
* Apps should ensure their Module class implements this.
|
|
54
|
+
*/
|
|
55
|
+
interface PermissionModule {
|
|
56
|
+
id: string;
|
|
57
|
+
permissions: PermissionConfig;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Generic interface for a user that has modules with permissions.
|
|
61
|
+
* Apps should ensure their User class implements this.
|
|
62
|
+
*/
|
|
63
|
+
interface PermissionUser {
|
|
64
|
+
id: string;
|
|
65
|
+
modules: PermissionModule[];
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Module definition with permissions - extends ApiRequestDataTypeInterface
|
|
69
|
+
*/
|
|
70
|
+
type ModuleWithPermissions = ApiRequestDataTypeInterface & {
|
|
71
|
+
pageUrl?: string;
|
|
72
|
+
feature?: string;
|
|
73
|
+
moduleId?: string;
|
|
74
|
+
inclusions?: Record<string, {
|
|
75
|
+
types?: string[];
|
|
76
|
+
fields?: FieldSelector<any>[];
|
|
77
|
+
}>;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Factory type for creating module definitions
|
|
81
|
+
*/
|
|
82
|
+
type ModuleFactory = (params: {
|
|
83
|
+
pageUrl?: string;
|
|
84
|
+
name: string;
|
|
85
|
+
cache?: string | "days" | "default" | "hours" | "max" | "minutes" | "seconds" | "weeks";
|
|
86
|
+
model: any;
|
|
87
|
+
feature?: string;
|
|
88
|
+
moduleId?: string;
|
|
89
|
+
inclusions?: Record<string, {
|
|
90
|
+
types?: string[];
|
|
91
|
+
fields?: FieldSelector<any>[];
|
|
92
|
+
}>;
|
|
93
|
+
}) => ModuleWithPermissions;
|
|
94
|
+
|
|
95
|
+
export { Action as A, type ModulePermissionDefinition as M, type PermissionCheck as P, type PageUrl as a, type ModuleDefinition as b, type PermissionConfig as c, type PermissionModule as d, type PermissionUser as e, type ModuleWithPermissions as f, type ModuleFactory as g };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { A as ApiRequestDataTypeInterface, F as FieldSelector } from './ApiRequestDataTypeInterface-CUKFDBx2.mjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Permission actions
|
|
5
|
+
*/
|
|
6
|
+
declare enum Action {
|
|
7
|
+
Read = "read",
|
|
8
|
+
Create = "create",
|
|
9
|
+
Update = "update",
|
|
10
|
+
Delete = "delete"
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Generic permission check type.
|
|
14
|
+
* Can be a boolean or a function that checks permissions dynamically.
|
|
15
|
+
* @template T - The data type being checked
|
|
16
|
+
* @template U - The user type (defaults to PermissionUser)
|
|
17
|
+
*/
|
|
18
|
+
type PermissionCheck<T, U = PermissionUser> = boolean | ((user?: U | string, data?: T) => boolean);
|
|
19
|
+
/**
|
|
20
|
+
* Page URL configuration for modules
|
|
21
|
+
*/
|
|
22
|
+
type PageUrl = {
|
|
23
|
+
pageUrl?: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Module permission definition wrapper
|
|
27
|
+
*/
|
|
28
|
+
type ModulePermissionDefinition<T> = {
|
|
29
|
+
interface: T;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Base module definition
|
|
33
|
+
*/
|
|
34
|
+
type ModuleDefinition = {
|
|
35
|
+
pageUrl?: string;
|
|
36
|
+
name: string;
|
|
37
|
+
model: any;
|
|
38
|
+
feature?: string;
|
|
39
|
+
moduleId?: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Permission configuration for a module.
|
|
43
|
+
* Can be a boolean (allow/deny all) or a string path for dynamic checks.
|
|
44
|
+
*/
|
|
45
|
+
interface PermissionConfig {
|
|
46
|
+
create: boolean | string;
|
|
47
|
+
read: boolean | string;
|
|
48
|
+
update: boolean | string;
|
|
49
|
+
delete: boolean | string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Generic interface for a module that has permissions.
|
|
53
|
+
* Apps should ensure their Module class implements this.
|
|
54
|
+
*/
|
|
55
|
+
interface PermissionModule {
|
|
56
|
+
id: string;
|
|
57
|
+
permissions: PermissionConfig;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Generic interface for a user that has modules with permissions.
|
|
61
|
+
* Apps should ensure their User class implements this.
|
|
62
|
+
*/
|
|
63
|
+
interface PermissionUser {
|
|
64
|
+
id: string;
|
|
65
|
+
modules: PermissionModule[];
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Module definition with permissions - extends ApiRequestDataTypeInterface
|
|
69
|
+
*/
|
|
70
|
+
type ModuleWithPermissions = ApiRequestDataTypeInterface & {
|
|
71
|
+
pageUrl?: string;
|
|
72
|
+
feature?: string;
|
|
73
|
+
moduleId?: string;
|
|
74
|
+
inclusions?: Record<string, {
|
|
75
|
+
types?: string[];
|
|
76
|
+
fields?: FieldSelector<any>[];
|
|
77
|
+
}>;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Factory type for creating module definitions
|
|
81
|
+
*/
|
|
82
|
+
type ModuleFactory = (params: {
|
|
83
|
+
pageUrl?: string;
|
|
84
|
+
name: string;
|
|
85
|
+
cache?: string | "days" | "default" | "hours" | "max" | "minutes" | "seconds" | "weeks";
|
|
86
|
+
model: any;
|
|
87
|
+
feature?: string;
|
|
88
|
+
moduleId?: string;
|
|
89
|
+
inclusions?: Record<string, {
|
|
90
|
+
types?: string[];
|
|
91
|
+
fields?: FieldSelector<any>[];
|
|
92
|
+
}>;
|
|
93
|
+
}) => ModuleWithPermissions;
|
|
94
|
+
|
|
95
|
+
export { Action as A, type ModulePermissionDefinition as M, type PermissionCheck as P, type PageUrl as a, type ModuleDefinition as b, type PermissionConfig as c, type PermissionModule as d, type PermissionUser as e, type ModuleWithPermissions as f, type ModuleFactory as g };
|