Add coexistence checks to all enqueue methods to prevent loading both React and Grid.js assets simultaneously. Changes: - ReactAdmin.php: Only enqueue React assets when ?react=1 - Init.php: Skip Grid.js when React active on admin pages - Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0 - Customer.php, Product.php, License.php: Add coexistence checks Now the toggle between Classic and React versions works correctly. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
48 lines
1.7 KiB
TypeScript
48 lines
1.7 KiB
TypeScript
declare function getComputedStyle_2(element: Element): CSSStyleDeclaration;
|
|
export { getComputedStyle_2 as getComputedStyle }
|
|
|
|
export declare function getContainingBlock(element: Element): HTMLElement | null;
|
|
|
|
export declare function getDocumentElement(node: Node | Window): HTMLElement;
|
|
|
|
export declare function getFrameElement(win: Window): Element | null;
|
|
|
|
export declare function getNearestOverflowAncestor(node: Node): HTMLElement;
|
|
|
|
export declare function getNodeName(node: Node | Window): string;
|
|
|
|
export declare function getNodeScroll(element: Element | Window): {
|
|
scrollLeft: number;
|
|
scrollTop: number;
|
|
};
|
|
|
|
export declare function getOverflowAncestors(node: Node, list?: OverflowAncestors, traverseIframes?: boolean): OverflowAncestors;
|
|
|
|
export declare function getParentNode(node: Node): Node;
|
|
|
|
export declare function getWindow(node: any): typeof window;
|
|
|
|
export declare function isContainingBlock(elementOrCss: Element | CSSStyleDeclaration): boolean;
|
|
|
|
export declare function isElement(value: unknown): value is Element;
|
|
|
|
export declare function isHTMLElement(value: unknown): value is HTMLElement;
|
|
|
|
export declare function isLastTraversableNode(node: Node): boolean;
|
|
|
|
export declare function isNode(value: unknown): value is Node;
|
|
|
|
export declare function isOverflowElement(element: Element): boolean;
|
|
|
|
export declare function isShadowRoot(value: unknown): value is ShadowRoot;
|
|
|
|
export declare function isTableElement(element: Element): boolean;
|
|
|
|
export declare function isTopLayer(element: Element): boolean;
|
|
|
|
export declare function isWebKit(): boolean;
|
|
|
|
declare type OverflowAncestors = Array<Element | Window | VisualViewport>;
|
|
|
|
export { }
|