fix: prevent asset conflicts between React and Grid.js versions

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>
This commit is contained in:
dwindown
2026-04-18 17:02:14 +07:00
parent bd9cdac02e
commit e8fbfb14c1
74973 changed files with 6658406 additions and 71 deletions

148
node_modules/@wordpress/priority-queue/CHANGELOG.md generated vendored Normal file
View File

@@ -0,0 +1,148 @@
<!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. -->
## Unreleased
## 2.58.0 (2024-05-16)
## 2.57.0 (2024-05-02)
## 2.56.0 (2024-04-19)
## 2.55.0 (2024-04-03)
## 2.54.0 (2024-03-21)
## 2.53.0 (2024-03-06)
## 2.52.0 (2024-02-21)
## 2.51.0 (2024-02-09)
## 2.50.0 (2024-01-24)
## 2.49.0 (2024-01-10)
## 2.48.0 (2023-12-13)
## 2.47.0 (2023-11-29)
## 2.46.0 (2023-11-16)
## 2.45.0 (2023-11-02)
## 2.44.0 (2023-10-18)
## 2.43.0 (2023-10-05)
## 2.42.0 (2023-09-20)
## 2.41.0 (2023-08-31)
## 2.40.0 (2023-08-16)
## 2.39.0 (2023-08-10)
## 2.38.0 (2023-07-20)
## 2.37.0 (2023-07-05)
## 2.36.0 (2023-06-23)
## 2.35.0 (2023-06-07)
## 2.34.0 (2023-05-24)
## 2.33.0 (2023-05-10)
## 2.32.0 (2023-04-26)
## 2.31.0 (2023-04-12)
## 2.30.0 (2023-03-29)
## 2.29.0 (2023-03-15)
## 2.28.0 (2023-03-01)
## 2.27.0 (2023-02-15)
## 2.26.0 (2023-02-01)
## 2.25.0 (2023-01-11)
## 2.24.0 (2023-01-02)
## 2.23.0 (2022-12-14)
## 2.22.0 (2022-11-16)
## 2.21.0 (2022-11-02)
## 2.20.0 (2022-10-19)
## 2.19.0 (2022-10-05)
## 2.18.0 (2022-09-21)
## 2.17.0 (2022-09-13)
## 2.16.0 (2022-08-24)
## 2.15.0 (2022-08-10)
## 2.14.0 (2022-07-27)
## 2.13.0 (2022-07-13)
## 2.12.0 (2022-06-29)
## 2.11.0 (2022-06-15)
## 2.10.0 (2022-06-01)
## 2.9.0 (2022-05-18)
## 2.8.0 (2022-05-04)
## 2.7.0 (2022-04-21)
### New features
- Add a new `cancel` method that removes scheduled callbacks without executing them.
## 2.6.0 (2022-04-08)
## 2.5.0 (2022-03-23)
## 2.4.0 (2022-03-11)
## 2.3.0 (2022-01-27)
## 2.2.0 (2021-07-21)
## 2.1.0 (2021-05-20)
## 2.0.0 (2021-05-14)
### Breaking Changes
- Drop support for Internet Explorer 11 ([#31110](https://github.com/WordPress/gutenberg/pull/31110)). Learn more at https://make.wordpress.org/core/2021/04/22/ie-11-support-phase-out-plan/.
- Increase the minimum Node.js version to v12 matching Long Term Support releases ([#31270](https://github.com/WordPress/gutenberg/pull/31270)). Learn more at https://nodejs.org/en/about/releases/.
## 1.11.0 (2021-03-17)
## 1.6.0 (2020-04-15)
### New feature
- Include TypeScript type declarations ([#18942](https://github.com/WordPress/gutenberg/pull/18942))
## 1.5.0 (2020-02-04)
### Bug Fixes
- Resolves an issue where `flush` would not invoke the callback associated with the given element. The previous implementation would simply remove the element from the queue. The updated behavior adheres to what one would expect from a flush as in to complete the deferred execution immediately. With these changes, all callbacks will always (eventually) be invoked unless the application is abruptly terminated. A future version could introduce support for a `remove` function to replicate the previous behavior of `flush`.
## 1.0.0 (2019-03-06)
Initial release.