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>
19 lines
758 B
TypeScript
19 lines
758 B
TypeScript
import { MinimatchOptions, MMRegExp } from './index.js';
|
|
export type ExtglobType = '!' | '?' | '+' | '*' | '@';
|
|
export declare class AST {
|
|
#private;
|
|
type: ExtglobType | null;
|
|
constructor(type: ExtglobType | null, parent?: AST, options?: MinimatchOptions);
|
|
get hasMagic(): boolean | undefined;
|
|
toString(): string;
|
|
push(...parts: (string | AST)[]): void;
|
|
toJSON(): any[];
|
|
isStart(): boolean;
|
|
isEnd(): boolean;
|
|
copyIn(part: AST | string): void;
|
|
clone(parent: AST): AST;
|
|
static fromGlob(pattern: string, options?: MinimatchOptions): AST;
|
|
toMMPattern(): MMRegExp | string;
|
|
toRegExpSource(allowDot?: boolean): [re: string, body: string, hasMagic: boolean, uflag: boolean];
|
|
}
|
|
//# sourceMappingURL=ast.d.ts.map
|