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>
36 lines
1.1 KiB
TypeScript
36 lines
1.1 KiB
TypeScript
export const beep: string;
|
|
export const clear: string;
|
|
|
|
export namespace cursor {
|
|
export const left: string;
|
|
export const hide: string;
|
|
export const show: string;
|
|
export const save: string;
|
|
export const restore: string;
|
|
|
|
export function to(x: number, y?: number): string;
|
|
export function move(x: number, y: number): string;
|
|
export function up(count?: number): string;
|
|
export function down(count?: number): string;
|
|
export function forward(count?: number): string;
|
|
export function backward(count?: number): string;
|
|
export function nextLine(count?: number): string;
|
|
export function prevLine(count?: number): string;
|
|
}
|
|
|
|
export namespace scroll {
|
|
export function up(count?: number): string;
|
|
export function down(count?: number): string;
|
|
}
|
|
|
|
export namespace erase {
|
|
export const screen: string;
|
|
export const line: string;
|
|
export const lineEnd: string;
|
|
export const lineStart: string;
|
|
|
|
export function up(count?: number): string;
|
|
export function down(count?: number): string;
|
|
export function lines(count: number): string;
|
|
}
|