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>
50 lines
880 B
TypeScript
50 lines
880 B
TypeScript
declare const constants: {
|
|
O_RDWR: number
|
|
O_RDONLY: number
|
|
O_WRONLY: number
|
|
O_CREAT: number
|
|
O_TRUNC: number
|
|
O_APPEND: number
|
|
|
|
F_OK: number
|
|
R_OK: number
|
|
W_OK: number
|
|
X_OK: number
|
|
|
|
S_IFMT: number
|
|
S_IFREG: number
|
|
S_IFDIR: number
|
|
S_IFCHR: number
|
|
S_IFLNK: number
|
|
S_IFBLK: number
|
|
S_IFIFO: number
|
|
S_IFSOCK: number
|
|
|
|
S_IRUSR: number
|
|
S_IWUSR: number
|
|
S_IXUSR: number
|
|
S_IRGRP: number
|
|
S_IWGRP: number
|
|
S_IXGRP: number
|
|
S_IROTH: number
|
|
S_IWOTH: number
|
|
S_IXOTH: number
|
|
|
|
UV_DIRENT_UNKNOWN: number
|
|
UV_DIRENT_FILE: number
|
|
UV_DIRENT_DIR: number
|
|
UV_DIRENT_LINK: number
|
|
UV_DIRENT_FIFO: number
|
|
UV_DIRENT_SOCKET: number
|
|
UV_DIRENT_CHAR: number
|
|
UV_DIRENT_BLOCK: number
|
|
|
|
COPYFILE_EXCL: number
|
|
COPYFILE_FICLONE: number
|
|
COPYFILE_FICLONE_FORCE: number
|
|
UV_FS_SYMLINK_DIR: number
|
|
UV_FS_SYMLINK_JUNCTION: number
|
|
}
|
|
|
|
export = constants
|