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>
35 lines
1.4 KiB
TypeScript
35 lines
1.4 KiB
TypeScript
export { visitorKeys as jsdocTypeVisitorKeys } from "jsdoc-type-pratt-parser";
|
|
export * from "jsdoc-type-pratt-parser";
|
|
export * from "./parseComment.js";
|
|
export * from "./commentParserToESTree.js";
|
|
export * from "./jsdoccomment.js";
|
|
export { default as commentHandler } from "./commentHandler.js";
|
|
export { default as toCamelCase } from "./toCamelCase.js";
|
|
export { default as estreeToString } from "./estreeToString.js";
|
|
export type InlineTag = import('./commentParserToESTree.js').JsdocInlineTagNoType & {
|
|
start: number;
|
|
end: number;
|
|
};
|
|
export type JsdocTagWithInline = import('comment-parser').Spec & {
|
|
line?: import('./commentParserToESTree.js').Integer;
|
|
inlineTags: (import('./commentParserToESTree.js').JsdocInlineTagNoType & {
|
|
line?: import('./commentParserToESTree.js').Integer;
|
|
})[];
|
|
};
|
|
/**
|
|
* Expands on comment-parser's `Block` interface.
|
|
*/
|
|
export type JsdocBlockWithInline = {
|
|
description: string;
|
|
source: import('comment-parser').Line[];
|
|
problems: import('comment-parser').Problem[];
|
|
tags: JsdocTagWithInline[];
|
|
inlineTags: (import('./commentParserToESTree.js').JsdocInlineTagNoType & {
|
|
line?: import('./commentParserToESTree.js').Integer;
|
|
})[];
|
|
};
|
|
export type ESTreeToStringOptions = {
|
|
preferRawType?: boolean;
|
|
};
|
|
export type CommentHandler = (commentSelector: string, jsdoc: import('./index.js').JsdocBlockWithInline) => boolean;
|
|
//# sourceMappingURL=index.d.ts.map
|