Enhance refactor commands with controller-aware Route() updates and fix code quality violations

Add semantic token highlighting for 'that' variable and comment file references in VS Code extension
Add Phone_Text_Input and Currency_Input components with formatting utilities
Implement client widgets, form standardization, and soft delete functionality
Add modal scroll lock and update documentation
Implement comprehensive modal system with form integration and validation
Fix modal component instantiation using jQuery plugin API
Implement modal system with responsive sizing, queuing, and validation support
Implement form submission with validation, error handling, and loading states
Implement country/state selectors with dynamic data loading and Bootstrap styling
Revert Rsx::Route() highlighting in Blade/PHP files
Target specific PHP scopes for Rsx::Route() highlighting in Blade
Expand injection selector for Rsx::Route() highlighting
Add custom syntax highlighting for Rsx::Route() and Rsx.Route() calls
Update jqhtml packages to v2.2.165
Add bundle path validation for common mistakes (development mode only)
Create Ajax_Select_Input widget and Rsx_Reference_Data controller
Create Country_Select_Input widget with default country support
Initialize Tom Select on Select_Input widgets
Add Tom Select bundle for enhanced select dropdowns
Implement ISO 3166 geographic data system for country/region selection
Implement widget-based form system with disabled state support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-10-30 06:21:56 +00:00
parent e678b987c2
commit f6ac36c632
5683 changed files with 5854736 additions and 22329 deletions

View File

@@ -17,6 +17,7 @@ const { sortWithSourceOrder } = require("./util/comparators");
/** @typedef {import("./DependenciesBlock")} DependenciesBlock */
/** @typedef {import("./Dependency")} Dependency */
/** @typedef {import("./ExportsInfo").ExportInfo} ExportInfo */
/** @typedef {import("./ExportsInfo").ExportInfoName} ExportInfoName */
/** @typedef {import("./Module")} Module */
/** @typedef {import("./ModuleProfile")} ModuleProfile */
/** @typedef {import("./RequestShortener")} RequestShortener */
@@ -37,7 +38,7 @@ const EMPTY_SET = new Set();
* @template {Module | null | undefined} T
* @param {SortableSet<ModuleGraphConnection>} set input
* @param {(connection: ModuleGraphConnection) => T} getKey function to extract key from connection
* @returns {readonly Map<T, readonly ModuleGraphConnection[]>} mapped by key
* @returns {ReadonlyMap<T, ReadonlyArray<ModuleGraphConnection>>} mapped by key
*/
const getConnectionsByKey = (set, getKey) => {
const map = new Map();
@@ -68,20 +69,22 @@ const getConnectionsByKey = (set, getKey) => {
/**
* @param {SortableSet<ModuleGraphConnection>} set input
* @returns {readonly Map<Module | undefined | null, readonly ModuleGraphConnection[]>} mapped by origin module
* @returns {ReadonlyMap<Module | undefined | null, ReadonlyArray<ModuleGraphConnection>>} mapped by origin module
*/
const getConnectionsByOriginModule = (set) =>
getConnectionsByKey(set, (connection) => connection.originModule);
/**
* @param {SortableSet<ModuleGraphConnection>} set input
* @returns {readonly Map<Module | undefined, readonly ModuleGraphConnection[]>} mapped by module
* @returns {ReadonlyMap<Module | undefined, ReadonlyArray<ModuleGraphConnection>>} mapped by module
*/
const getConnectionsByModule = (set) =>
getConnectionsByKey(set, (connection) => connection.module);
/** @typedef {SortableSet<ModuleGraphConnection>} IncomingConnections */
/** @typedef {SortableSet<ModuleGraphConnection>} OutgoingConnections */
/** @typedef {Module | null | undefined} Issuer */
/** @typedef {(string | OptimizationBailoutFunction)[]} OptimizationBailouts */
class ModuleGraphModule {
constructor() {
@@ -89,9 +92,9 @@ class ModuleGraphModule {
this.incomingConnections = new SortableSet();
/** @type {OutgoingConnections | undefined} */
this.outgoingConnections = undefined;
/** @type {Module | null | undefined} */
/** @type {Issuer} */
this.issuer = undefined;
/** @type {(string | OptimizationBailoutFunction)[]} */
/** @type {OptimizationBailouts} */
this.optimizationBailout = [];
/** @type {ExportsInfo} */
this.exports = new ExportsInfo();
@@ -113,7 +116,18 @@ class ModuleGraphModule {
/** @typedef {(moduleGraphConnection: ModuleGraphConnection) => boolean} FilterConnection */
/** @typedef {EXPECTED_OBJECT} MetaKey */
/** @typedef {TODO} Meta */
/** @typedef {import("./dependencies/CommonJsExportRequireDependency").idsSymbol} CommonJsExportRequireDependencyIDsSymbol */
/** @typedef {import("./dependencies/HarmonyImportSpecifierDependency").idsSymbol} HarmonyImportSpecifierDependencyIDsSymbol */
/** @typedef {import("./dependencies/HarmonyExportImportedSpecifierDependency").idsSymbol} HarmonyExportImportedSpecifierDependencyIDsSymbol */
/**
* @typedef {object} KnownMeta
* @property {Map<Module, string>=} importVarMap
* @property {Map<Module, string>=} deferredImportVarMap
*/
/** @typedef {KnownMeta & Record<CommonJsExportRequireDependencyIDsSymbol | HarmonyImportSpecifierDependencyIDsSymbol | HarmonyExportImportedSpecifierDependencyIDsSymbol, string[]> & Record<string, EXPECTED_ANY>} Meta */
class ModuleGraph {
constructor() {
@@ -567,7 +581,7 @@ class ModuleGraph {
/**
* @param {Module} module the module
* @returns {readonly Map<Module | undefined | null, readonly ModuleGraphConnection[]>} reasons why a module is included, in a map by source module
* @returns {ReadonlyMap<Module | undefined | null, ReadonlyArray<ModuleGraphConnection>>} reasons why a module is included, in a map by source module
*/
getIncomingConnectionsByOriginModule(module) {
const connections = this._getModuleGraphModule(module).incomingConnections;
@@ -576,7 +590,7 @@ class ModuleGraph {
/**
* @param {Module} module the module
* @returns {readonly Map<Module | undefined, readonly ModuleGraphConnection[]> | undefined} connections to modules, in a map by module
* @returns {ReadonlyMap<Module | undefined, ReadonlyArray<ModuleGraphConnection>> | undefined} connections to modules, in a map by module
*/
getOutgoingConnectionsByModule(module) {
const connections = this._getModuleGraphModule(module).outgoingConnections;
@@ -606,7 +620,7 @@ class ModuleGraph {
/**
* @param {Module} module the module
* @returns {Module | null | undefined} the issuer module
* @returns {Issuer} the issuer module
*/
getIssuer(module) {
const mgm = this._getModuleGraphModule(module);
@@ -635,7 +649,7 @@ class ModuleGraph {
/**
* @param {Module} module the module
* @returns {(string | OptimizationBailoutFunction)[]} optimization bailouts
* @returns {OptimizationBailouts} optimization bailouts
*/
getOptimizationBailout(module) {
const mgm = this._getModuleGraphModule(module);
@@ -644,7 +658,7 @@ class ModuleGraph {
/**
* @param {Module} module the module
* @returns {true | string[] | null} the provided exports
* @returns {null | true | ExportInfoName[]} the provided exports
*/
getProvidedExports(module) {
const mgm = this._getModuleGraphModule(module);
@@ -653,7 +667,7 @@ class ModuleGraph {
/**
* @param {Module} module the module
* @param {string | string[]} exportName a name of an export
* @param {ExportInfoName | ExportInfoName[]} exportName a name of an export
* @returns {boolean | null} true, if the export is provided by the module.
* null, if it's unknown.
* false, if it's not provided.
@@ -851,7 +865,7 @@ class ModuleGraph {
getMeta(thing) {
let meta = this._metaMap.get(thing);
if (meta === undefined) {
meta = Object.create(null);
meta = /** @type {Meta} */ (Object.create(null));
this._metaMap.set(thing, meta);
}
return meta;
@@ -879,10 +893,10 @@ class ModuleGraph {
}
/**
* @template T
* @template {EXPECTED_ANY[]} T
* @template R
* @param {(moduleGraph: ModuleGraph, ...args: T[]) => R} fn computer
* @param {...T} args arguments
* @param {(moduleGraph: ModuleGraph, ...args: T) => R} fn computer
* @param {T} args arguments
* @returns {R} computed value or cached
*/
cached(fn, ...args) {