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>
25 lines
1.3 KiB
TypeScript
25 lines
1.3 KiB
TypeScript
export * from './types.js';
|
|
import { Options, OptionsSync, PublicExplorer, PublicExplorerSync } from './types.js';
|
|
export declare const metaSearchPlaces: string[];
|
|
export declare const defaultLoaders: Readonly<{
|
|
readonly '.mjs': import("./types.js").Loader;
|
|
readonly '.cjs': import("./types.js").Loader;
|
|
readonly '.js': import("./types.js").Loader;
|
|
readonly '.ts': import("./types.js").Loader;
|
|
readonly '.json': import("./types.js").LoaderSync;
|
|
readonly '.yaml': import("./types.js").LoaderSync;
|
|
readonly '.yml': import("./types.js").LoaderSync;
|
|
readonly noExt: import("./types.js").LoaderSync;
|
|
}>;
|
|
export declare const defaultLoadersSync: Readonly<{
|
|
readonly '.cjs': import("./types.js").LoaderSync;
|
|
readonly '.js': import("./types.js").LoaderSync;
|
|
readonly '.ts': import("./types.js").LoaderSync;
|
|
readonly '.json': import("./types.js").LoaderSync;
|
|
readonly '.yaml': import("./types.js").LoaderSync;
|
|
readonly '.yml': import("./types.js").LoaderSync;
|
|
readonly noExt: import("./types.js").LoaderSync;
|
|
}>;
|
|
export declare function cosmiconfig(moduleName: string, options?: Readonly<Options>): PublicExplorer;
|
|
export declare function cosmiconfigSync(moduleName: string, options?: Readonly<OptionsSync>): PublicExplorerSync;
|
|
//# sourceMappingURL=index.d.ts.map
|