Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.119
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
iNetty /
node_modules /
preact /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
diff
[ DIR ]
drwxr-xr-x
2022-04-21 14:33
cjs.js
115
B
-rw-r--r--
2022-04-21 14:29
clone-element.js
983
B
-rw-r--r--
2022-04-21 14:29
component.js
6.81
KB
-rw-r--r--
2022-04-21 14:29
constants.js
161
B
-rw-r--r--
2022-04-21 14:29
create-context.js
2.11
KB
-rw-r--r--
2022-04-21 14:29
create-element.js
3.01
KB
-rw-r--r--
2022-04-21 14:29
index.d.ts
8.22
KB
-rw-r--r--
2022-04-21 14:29
index.js
391
B
-rw-r--r--
2022-04-21 14:29
internal.d.ts
4.91
KB
-rw-r--r--
2022-04-21 14:29
jsx.d.ts
31.81
KB
-rw-r--r--
2022-04-21 14:29
options.js
587
B
-rw-r--r--
2022-04-21 14:29
render.js
2.43
KB
-rw-r--r--
2022-04-21 14:29
util.js
850
B
-rw-r--r--
2022-04-21 14:29
Save
Rename
import * as preact from './index'; export enum HookType { useState = 1, useReducer = 2, useEffect = 3, useLayoutEffect = 4, useRef = 5, useImperativeHandle = 6, useMemo = 7, useCallback = 8, useContext = 9, useErrorBoundary = 10, // Not a real hook, but the devtools treat is as such useDebugvalue = 11 } export interface DevSource { fileName: string; lineNumber: number; } export interface ErrorInfo { componentStack?: string; } export interface Options extends preact.Options { /** Attach a hook that is invoked before render, mainly to check the arguments. */ _root?( vnode: ComponentChild, parent: Element | Document | ShadowRoot | DocumentFragment ): void; /** Attach a hook that is invoked before a vnode is diffed. */ _diff?(vnode: VNode): void; /** Attach a hook that is invoked after a tree was mounted or was updated. */ _commit?(vnode: VNode, commitQueue: Component[]): void; /** Attach a hook that is invoked before a vnode has rendered. */ _render?(vnode: VNode): void; /** Attach a hook that is invoked before a hook's state is queried. */ _hook?(component: Component, index: number, type: HookType): void; /** Bypass effect execution. Currenty only used in devtools for hooks inspection */ _skipEffects?: boolean; /** Attach a hook that is invoked after an error is caught in a component but before calling lifecycle hooks */ _catchError( error: any, vnode: VNode, oldVNode: VNode | undefined, errorInfo: ErrorInfo | undefined ): void; } export type ComponentChild = | VNode<any> | string | number | boolean | null | undefined; export type ComponentChildren = ComponentChild[] | ComponentChild; export interface FunctionComponent<P = {}> extends preact.FunctionComponent<P> { // Internally, createContext uses `contextType` on a Function component to // implement the Consumer component contextType?: PreactContext; // Internally, createContext stores a ref to the context object on the Provider // Function component to help devtools _contextRef?: PreactContext; // Define these properties as undefined on FunctionComponent to get rid of // some errors in `diff()` getDerivedStateFromProps?: undefined; getDerivedStateFromError?: undefined; } export interface ComponentClass<P = {}> extends preact.ComponentClass<P> { _contextRef?: any; // Override public contextType with internal PreactContext type contextType?: PreactContext; } // Redefine ComponentType using our new internal FunctionComponent interface above export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>; export interface PreactElement extends HTMLElement { _children?: VNode<any> | null; /** Event listeners to support event delegation */ _listeners?: Record<string, (e: Event) => void>; // Preact uses this attribute to detect SVG nodes ownerSVGElement?: SVGElement | null; // style: HTMLElement["style"]; // From HTMLElement data?: string | number; // From Text node } // We use the `current` property to differentiate between the two kinds of Refs so // internally we'll define `current` on both to make TypeScript happy type RefObject<T> = { current: T | null }; type RefCallback<T> = { (instance: T | null): void; current: undefined }; type Ref<T> = RefObject<T> | RefCallback<T>; export interface VNode<P = {}> extends preact.VNode<P> { // Redefine type here using our internal ComponentType type type: string | ComponentType<P>; props: P & { children: ComponentChildren }; ref?: Ref<any> | null; _children: Array<VNode<any>> | null; _parent: VNode | null; _depth: number | null; /** * The [first (for Fragments)] DOM child of a VNode */ _dom: PreactElement | null; /** * The last dom child of a Fragment, or components that return a Fragment */ _nextDom: PreactElement | null; _component: Component | null; _hydrating: boolean | null; constructor: undefined; _original: number; } export interface Component<P = {}, S = {}> extends preact.Component<P, S> { // When component is functional component, this is reset to functional component constructor: ComponentType<P>; state: S; // Override Component["state"] to not be readonly for internal use, specifically Hooks base?: PreactElement; _dirty: boolean; _force?: boolean; _renderCallbacks: Array<() => void>; // Only class components _globalContext?: any; _vnode?: VNode<P> | null; _nextState?: S | null; // Only class components /** Only used in the devtools to later dirty check if state has changed */ _prevState?: S | null; /** * Pointer to the parent dom node. This is only needed for top-level Fragment * components or array returns. */ _parentDom?: PreactElement | null; // Always read, set only when handling error _processingException?: Component<any, any> | null; // Always read, set only when handling error. This is used to indicate at diffTime to set _processingException _pendingError?: Component<any, any> | null; } export interface PreactContext extends preact.Context<any> { _id: string; _defaultValue: any; }