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

190
node_modules/webpack/lib/stats/DefaultStatsPrinterPlugin.js generated vendored Executable file → Normal file
View File

@@ -10,9 +10,6 @@
/** @typedef {import("./DefaultStatsFactoryPlugin").ChunkId} ChunkId */
/** @typedef {import("./DefaultStatsFactoryPlugin").ChunkName} ChunkName */
/** @typedef {import("./DefaultStatsFactoryPlugin").KnownStatsAsset} KnownStatsAsset */
/** @typedef {import("./DefaultStatsFactoryPlugin").KnownStatsAssetChunk} KnownStatsAssetChunk */
/** @typedef {import("./DefaultStatsFactoryPlugin").KnownStatsAssetChunkIdHint} KnownStatsAssetChunkIdHint */
/** @typedef {import("./DefaultStatsFactoryPlugin").KnownStatsAssetChunkName} KnownStatsAssetChunkName */
/** @typedef {import("./DefaultStatsFactoryPlugin").KnownStatsChunk} KnownStatsChunk */
/** @typedef {import("./DefaultStatsFactoryPlugin").KnownStatsChunkGroup} KnownStatsChunkGroup */
/** @typedef {import("./DefaultStatsFactoryPlugin").KnownStatsChunkOrigin} KnownStatsChunkOrigin */
@@ -128,7 +125,7 @@ const isValidId = (id) => {
/**
* @template T
* @param {Array<T> | undefined} list of items
* @param {T[] | undefined} list of items
* @param {number} count number of items to show
* @returns {string} string representation of list
*/
@@ -161,21 +158,14 @@ const moreCount = (list, count) =>
* @template {object} O
* @template {keyof O} K
* @template {string} B
* @typedef {K extends string ? Exclude<O[K], undefined> extends EXPECTED_ANY[] ? never : `${B}.${K}` : never} PropertyName
* @typedef {K extends string ? `${B}.${K}` : never} PropertyName
*/
/**
* @template {object} O
* @template {keyof O} K
* @template {string} B
* @typedef {K extends string ? NonNullable<O[K]> extends EXPECTED_ANY[] ? `${B}.${K}[]` : never : never} ArrayPropertyName
*/
/**
* @template {object} O
* @template {keyof O} K
* @template {string} B
* @typedef {K extends string ? Exclude<O[K], undefined> extends EXPECTED_ANY[] ? `${B}.${K}` : never : never} MultiplePropertyName
* @typedef {K extends string ? `${B}.${K}[]` : never} ArrayPropertyName
*/
/**
@@ -190,9 +180,7 @@ const moreCount = (list, count) =>
* @template {string} B
* @template {string} [R=B]
* @typedef {{ [K in keyof O as PropertyName<O, K, B>]?: SimplePrinter<O[K], R> } &
* { [K in keyof O as ArrayPropertyName<O, K, B>]?: Exclude<O[K], undefined> extends (infer I)[] ? SimplePrinter<I, R> : never } &
* { [K in keyof O as MultiplePropertyName<O, K, B>]?: SimplePrinter<O[K], R> }
* } Printers
* { [K in keyof O as ArrayPropertyName<O, K, B>]?: Exclude<O[K], undefined> extends (infer I)[] ? SimplePrinter<I, R> : never }} Printers
*/
/**
@@ -421,9 +409,9 @@ const COMPILATION_SIMPLE_PRINTERS = {
* Printers<KnownStatsAsset["info"], "asset.info"> &
* Exclamation<KnownStatsAsset, "asset.separator", "asset"> &
* { ["asset.filteredChildren"]?: SimplePrinter<number, "asset"> } &
* { assetChunk?: SimplePrinter<KnownStatsAssetChunk, "asset"> } &
* { assetChunkName?: SimplePrinter<KnownStatsAssetChunkName, "asset"> } &
* { assetChunkIdHint?: SimplePrinter<KnownStatsAssetChunkIdHint, "asset"> }} AssetSimplePrinters
* { assetChunk?: SimplePrinter<ChunkId, "asset"> } &
* { assetChunkName?: SimplePrinter<ChunkName, "asset"> } &
* { assetChunkIdHint?: SimplePrinter<string, "asset"> }} AssetSimplePrinters
*/
/** @type {AssetSimplePrinters} */
@@ -473,7 +461,6 @@ const ASSET_SIMPLE_PRINTERS = {
: undefined,
assetChunk: (id, { formatChunkId }) => formatChunkId(id),
assetChunkName: (name) => name || undefined,
assetChunkIdHint: (name) => name || undefined
};
@@ -1463,7 +1450,12 @@ const AVAILABLE_COLORS = {
* @typedef {T extends [infer Head, ...infer Tail] ? Tail : undefined} Tail
*/
/** @typedef {Required<{ [Key in keyof KnownStatsPrinterFormatters]: (value: Parameters<NonNullable<KnownStatsPrinterFormatters[Key]>>[0], options: Required<KnownStatsPrinterColorFunctions> & StatsPrinterContextWithExtra, ...args: Tail<Parameters<NonNullable<KnownStatsPrinterFormatters[Key]>>>) => string }>} AvailableFormats */
/**
* @template {(...args: EXPECTED_ANY[]) => EXPECTED_ANY} T
* @typedef {T extends (firstArg: EXPECTED_ANY, ...rest: infer R) => EXPECTED_ANY ? R : never} TailParameters
*/
/** @typedef {{ [Key in keyof KnownStatsPrinterFormatters]: (value: Parameters<NonNullable<KnownStatsPrinterFormatters[Key]>>[0], options: Required<KnownStatsPrinterColorFunctions> & StatsPrinterContextWithExtra, ...args: TailParameters<NonNullable<KnownStatsPrinterFormatters[Key]>>) => string }} AvailableFormats */
/** @type {AvailableFormats} */
const AVAILABLE_FORMATS = {
@@ -1639,16 +1631,14 @@ class DefaultStatsPrinterPlugin {
context[color] = (str) => str;
}
}
for (const _format of Object.keys(AVAILABLE_FORMATS)) {
const format =
/** @type {keyof KnownStatsPrinterFormatters} */
(_format);
for (const format of /** @type {(keyof KnownStatsPrinterFormatters)[]} */ (
Object.keys(AVAILABLE_FORMATS)
)) {
context[format] =
/** @type {(content: Parameters<NonNullable<KnownStatsPrinterFormatters[keyof KnownStatsPrinterFormatters]>>[0], ...args: Tail<Parameters<NonNullable<KnownStatsPrinterFormatters[keyof KnownStatsPrinterFormatters]>>>) => string} */
(content, ...args) =>
/** @type {TODO} */
(AVAILABLE_FORMATS)[format](
/** @type {EXPECTED_ANY} */
(AVAILABLE_FORMATS[format])(
content,
/** @type {StatsPrinterContext & Required<KnownStatsPrinterColorFunctions>} */
(context),
@@ -1658,15 +1648,12 @@ class DefaultStatsPrinterPlugin {
context.timeReference = compilation.time;
});
for (const key of Object.keys(COMPILATION_SIMPLE_PRINTERS)) {
for (const key of /** @type {(keyof CompilationSimplePrinters)[]} */ (
Object.keys(COMPILATION_SIMPLE_PRINTERS)
)) {
stats.hooks.print.for(key).tap(PLUGIN_NAME, (obj, ctx) =>
/** @type {TODO} */
(
COMPILATION_SIMPLE_PRINTERS[
/** @type {keyof CompilationSimplePrinters} */
(key)
]
)(
/** @type {EXPECTED_ANY} */
(COMPILATION_SIMPLE_PRINTERS)[key](
obj,
/** @type {DefineStatsPrinterContext<"compilation">} */
(ctx),
@@ -1675,15 +1662,12 @@ class DefaultStatsPrinterPlugin {
);
}
for (const key of Object.keys(ASSET_SIMPLE_PRINTERS)) {
for (const key of /** @type {(keyof AssetSimplePrinters)[]} */ (
Object.keys(ASSET_SIMPLE_PRINTERS)
)) {
stats.hooks.print.for(key).tap(PLUGIN_NAME, (obj, ctx) =>
/** @type {NonNullable<AssetSimplePrinters[keyof AssetSimplePrinters]>} */
(
ASSET_SIMPLE_PRINTERS[
/** @type {keyof AssetSimplePrinters} */
(key)
]
)(
(ASSET_SIMPLE_PRINTERS[key])(
obj,
/** @type {DefineStatsPrinterContext<"asset" | "asset.info">} */
(ctx),
@@ -1692,15 +1676,12 @@ class DefaultStatsPrinterPlugin {
);
}
for (const key of Object.keys(MODULE_SIMPLE_PRINTERS)) {
for (const key of /** @type {(keyof ModuleSimplePrinters)[]} */ (
Object.keys(MODULE_SIMPLE_PRINTERS)
)) {
stats.hooks.print.for(key).tap(PLUGIN_NAME, (obj, ctx) =>
/** @type {TODO} */
(
MODULE_SIMPLE_PRINTERS[
/** @type {keyof ModuleSimplePrinters} */
(key)
]
)(
/** @type {EXPECTED_ANY} */
(MODULE_SIMPLE_PRINTERS)[key](
obj,
/** @type {DefineStatsPrinterContext<"module">} */
(ctx),
@@ -1709,15 +1690,12 @@ class DefaultStatsPrinterPlugin {
);
}
for (const key of Object.keys(MODULE_ISSUER_PRINTERS)) {
for (const key of /** @type {(keyof ModuleIssuerPrinters)[]} */ (
Object.keys(MODULE_ISSUER_PRINTERS)
)) {
stats.hooks.print.for(key).tap(PLUGIN_NAME, (obj, ctx) =>
/** @type {NonNullable<ModuleIssuerPrinters[keyof ModuleIssuerPrinters]>} */
(
MODULE_ISSUER_PRINTERS[
/** @type {keyof ModuleIssuerPrinters} */
(key)
]
)(
(MODULE_ISSUER_PRINTERS[key])(
obj,
/** @type {DefineStatsPrinterContext<"moduleIssuer">} */
(ctx),
@@ -1726,15 +1704,12 @@ class DefaultStatsPrinterPlugin {
);
}
for (const key of Object.keys(MODULE_REASON_PRINTERS)) {
for (const key of /** @type {(keyof ModuleReasonsPrinters)[]} */ (
Object.keys(MODULE_REASON_PRINTERS)
)) {
stats.hooks.print.for(key).tap(PLUGIN_NAME, (obj, ctx) =>
/** @type {TODO} */
(
MODULE_REASON_PRINTERS[
/** @type {keyof ModuleReasonsPrinters} */
(key)
]
)(
/** @type {EXPECTED_ANY} */
(MODULE_REASON_PRINTERS)[key](
obj,
/** @type {DefineStatsPrinterContext<"moduleReason">} */
(ctx),
@@ -1743,15 +1718,12 @@ class DefaultStatsPrinterPlugin {
);
}
for (const key of Object.keys(MODULE_PROFILE_PRINTERS)) {
for (const key of /** @type {(keyof ModuleProfilePrinters)[]} */ (
Object.keys(MODULE_PROFILE_PRINTERS)
)) {
stats.hooks.print.for(key).tap(PLUGIN_NAME, (obj, ctx) =>
/** @type {NonNullable<ModuleProfilePrinters[keyof ModuleProfilePrinters]>} */
(
MODULE_PROFILE_PRINTERS[
/** @type {keyof ModuleProfilePrinters} */
(key)
]
)(
(MODULE_PROFILE_PRINTERS[key])(
obj,
/** @type {DefineStatsPrinterContext<"profile">} */
(ctx),
@@ -1760,15 +1732,12 @@ class DefaultStatsPrinterPlugin {
);
}
for (const key of Object.keys(CHUNK_GROUP_PRINTERS)) {
for (const key of /** @type {(keyof ChunkGroupPrinters)[]} */ (
Object.keys(CHUNK_GROUP_PRINTERS)
)) {
stats.hooks.print.for(key).tap(PLUGIN_NAME, (obj, ctx) =>
/** @type {TODO} */
(
CHUNK_GROUP_PRINTERS[
/** @type {keyof ChunkGroupPrinters} */
(key)
]
)(
/** @type {EXPECTED_ANY} */
(CHUNK_GROUP_PRINTERS)[key](
obj,
/** @type {DefineStatsPrinterContext<"chunkGroupKind" | "chunkGroup">} */
(ctx),
@@ -1777,10 +1746,12 @@ class DefaultStatsPrinterPlugin {
);
}
for (const key of Object.keys(CHUNK_PRINTERS)) {
for (const key of /** @type {(keyof ChunkPrinters)[]} */ (
Object.keys(CHUNK_PRINTERS)
)) {
stats.hooks.print.for(key).tap(PLUGIN_NAME, (obj, ctx) =>
/** @type {TODO} */
(CHUNK_PRINTERS[/** @type {keyof ChunkPrinters} */ (key)])(
/** @type {EXPECTED_ANY} */
(CHUNK_PRINTERS)[key](
obj,
/** @type {DefineStatsPrinterContext<"chunk">} */
(ctx),
@@ -1789,10 +1760,12 @@ class DefaultStatsPrinterPlugin {
);
}
for (const key of Object.keys(ERROR_PRINTERS)) {
for (const key of /** @type {(keyof ErrorPrinters)[]} */ (
Object.keys(ERROR_PRINTERS)
)) {
stats.hooks.print.for(key).tap(PLUGIN_NAME, (obj, ctx) =>
/** @type {TODO} */
(ERROR_PRINTERS[/** @type {keyof ErrorPrinters} */ (key)])(
/** @type {EXPECTED_ANY} */
(ERROR_PRINTERS)[key](
obj,
/** @type {DefineStatsPrinterContext<"error">} */
(ctx),
@@ -1801,15 +1774,12 @@ class DefaultStatsPrinterPlugin {
);
}
for (const key of Object.keys(LOG_ENTRY_PRINTERS)) {
for (const key of /** @type {(keyof LogEntryPrinters)[]} */ (
Object.keys(LOG_ENTRY_PRINTERS)
)) {
stats.hooks.print.for(key).tap(PLUGIN_NAME, (obj, ctx) =>
/** @type {TODO} */
(
LOG_ENTRY_PRINTERS[
/** @type {keyof LogEntryPrinters} */
(key)
]
)(
/** @type {EXPECTED_ANY} */
(LOG_ENTRY_PRINTERS)[key](
obj,
/** @type {DefineStatsPrinterContext<"logging">} */
(ctx),
@@ -1818,15 +1788,12 @@ class DefaultStatsPrinterPlugin {
);
}
for (const key of Object.keys(MODULE_TRACE_DEPENDENCY_PRINTERS)) {
for (const key of /** @type {(keyof ModuleTraceDependencyPrinters)[]} */ (
Object.keys(MODULE_TRACE_DEPENDENCY_PRINTERS)
)) {
stats.hooks.print.for(key).tap(PLUGIN_NAME, (obj, ctx) =>
/** @type {NonNullable<ModuleTraceDependencyPrinters[keyof ModuleTraceDependencyPrinters]>} */
(
MODULE_TRACE_DEPENDENCY_PRINTERS[
/** @type {keyof ModuleTraceDependencyPrinters} */
(key)
]
)(
(MODULE_TRACE_DEPENDENCY_PRINTERS[key])(
obj,
/** @type {DefineStatsPrinterContext<"moduleTraceDependency">} */
(ctx),
@@ -1835,15 +1802,12 @@ class DefaultStatsPrinterPlugin {
);
}
for (const key of Object.keys(MODULE_TRACE_ITEM_PRINTERS)) {
for (const key of /** @type {(keyof ModuleTraceItemPrinters)[]} */ (
Object.keys(MODULE_TRACE_ITEM_PRINTERS)
)) {
stats.hooks.print.for(key).tap(PLUGIN_NAME, (obj, ctx) =>
/** @type {NonNullable<ModuleTraceItemPrinters[keyof ModuleTraceItemPrinters]>} */
(
MODULE_TRACE_ITEM_PRINTERS[
/** @type {keyof ModuleTraceItemPrinters} */
(key)
]
)(
(MODULE_TRACE_ITEM_PRINTERS[key])(
obj,
/** @type {DefineStatsPrinterContext<"moduleTraceItem">} */
(ctx),
@@ -1877,10 +1841,10 @@ class DefaultStatsPrinterPlugin {
}
for (const key of Object.keys(SIMPLE_ELEMENT_JOINERS)) {
const joiner = SIMPLE_ELEMENT_JOINERS[key];
stats.hooks.printElements
.for(key)
.tap(PLUGIN_NAME, /** @type {TODO} */ (joiner));
const joiner =
/** @type {(items: Item[], context: StatsPrinterContext) => string} */
(SIMPLE_ELEMENT_JOINERS[key]);
stats.hooks.printElements.for(key).tap(PLUGIN_NAME, joiner);
}
for (const key of Object.keys(RESULT_MODIFIER)) {