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>
44 lines
1.0 KiB
JavaScript
44 lines
1.0 KiB
JavaScript
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var _I7IJ62YOcjs = require('./__chunks/I7IJ62YO.cjs');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exports.Form = _I7IJ62YOcjs.Form; exports.FormCheckbox = _I7IJ62YOcjs.FormCheckbox; exports.FormControl = _I7IJ62YOcjs.FormControl; exports.FormDescription = _I7IJ62YOcjs.FormDescription; exports.FormError = _I7IJ62YOcjs.FormError; exports.FormField = _I7IJ62YOcjs.FormField; exports.FormGroup = _I7IJ62YOcjs.FormGroup; exports.FormGroupLabel = _I7IJ62YOcjs.FormGroupLabel; exports.FormInput = _I7IJ62YOcjs.FormInput; exports.FormLabel = _I7IJ62YOcjs.FormLabel; exports.FormProvider = _I7IJ62YOcjs.FormProvider; exports.FormPush = _I7IJ62YOcjs.FormPush; exports.FormRadio = _I7IJ62YOcjs.FormRadio; exports.FormRadioGroup = _I7IJ62YOcjs.FormRadioGroup; exports.FormRemove = _I7IJ62YOcjs.FormRemove; exports.FormReset = _I7IJ62YOcjs.FormReset; exports.FormSubmit = _I7IJ62YOcjs.FormSubmit; exports.useFormContext = _I7IJ62YOcjs.useFormContext; exports.useFormStore = _I7IJ62YOcjs.useFormStore;
|