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:
34
node_modules/webpack/lib/ExternalModuleFactoryPlugin.js
generated
vendored
34
node_modules/webpack/lib/ExternalModuleFactoryPlugin.js
generated
vendored
@@ -14,16 +14,33 @@ const HarmonyImportDependency = require("./dependencies/HarmonyImportDependency"
|
||||
const ImportDependency = require("./dependencies/ImportDependency");
|
||||
const { cachedSetProperty, resolveByProperty } = require("./util/cleverMerge");
|
||||
|
||||
/** @typedef {import("../declarations/WebpackOptions").ExternalItemFunctionData} ExternalItemFunctionData */
|
||||
/** @typedef {import("enhanced-resolve").ResolveContext} ResolveContext */
|
||||
/** @typedef {import("../declarations/WebpackOptions").ResolveOptions} ResolveOptions */
|
||||
/** @typedef {import("../declarations/WebpackOptions").ExternalItemValue} ExternalItemValue */
|
||||
/** @typedef {import("../declarations/WebpackOptions").ExternalItemObjectKnown} ExternalItemObjectKnown */
|
||||
/** @typedef {import("../declarations/WebpackOptions").ExternalItemObjectUnknown} ExternalItemObjectUnknown */
|
||||
/** @typedef {import("../declarations/WebpackOptions").Externals} Externals */
|
||||
/** @typedef {import("./Compilation").DepConstructor} DepConstructor */
|
||||
/** @typedef {import("./ExternalModule").DependencyMeta} DependencyMeta */
|
||||
/** @typedef {import("./Module")} Module */
|
||||
/** @typedef {import("./ModuleFactory").IssuerLayer} IssuerLayer */
|
||||
/** @typedef {import("./ModuleFactory").ModuleFactoryCreateDataContextInfo} ModuleFactoryCreateDataContextInfo */
|
||||
/** @typedef {import("./NormalModuleFactory")} NormalModuleFactory */
|
||||
|
||||
/** @typedef {((context: string, request: string, callback: (err?: Error | null, result?: string | false, resolveRequest?: import('enhanced-resolve').ResolveRequest) => void) => void)} ExternalItemFunctionDataGetResolveCallbackResult */
|
||||
/** @typedef {((context: string, request: string) => Promise<string>)} ExternalItemFunctionDataGetResolveResult */
|
||||
/** @typedef {(options?: ResolveOptions) => ExternalItemFunctionDataGetResolveCallbackResult | ExternalItemFunctionDataGetResolveResult} ExternalItemFunctionDataGetResolve */
|
||||
|
||||
/**
|
||||
* @typedef {object} ExternalItemFunctionData
|
||||
* @property {string} context the directory in which the request is placed
|
||||
* @property {ModuleFactoryCreateDataContextInfo} contextInfo contextual information
|
||||
* @property {string} dependencyType the category of the referencing dependency
|
||||
* @property {ExternalItemFunctionDataGetResolve} getResolve get a resolve function with the current resolver options
|
||||
* @property {string} request the request as written by the user in the require/import expression/statement
|
||||
*/
|
||||
|
||||
/** @typedef {((data: ExternalItemFunctionData, callback: (err?: (Error | null), result?: ExternalItemValue) => void) => void)} ExternalItemFunctionCallback */
|
||||
/** @typedef {((data: import("../lib/ExternalModuleFactoryPlugin").ExternalItemFunctionData) => Promise<ExternalItemValue>)} ExternalItemFunctionPromise */
|
||||
|
||||
const UNSPECIFIED_EXTERNAL_TYPE_REGEXP = /^[a-z0-9-]+ /;
|
||||
const EMPTY_RESOLVE_OPTIONS = {};
|
||||
|
||||
@@ -79,7 +96,7 @@ const PLUGIN_NAME = "ExternalModuleFactoryPlugin";
|
||||
|
||||
class ExternalModuleFactoryPlugin {
|
||||
/**
|
||||
* @param {string | undefined} type default external type
|
||||
* @param {string} type default external type
|
||||
* @param {Externals} externals externals config
|
||||
*/
|
||||
constructor(type, externals) {
|
||||
@@ -140,7 +157,7 @@ class ExternalModuleFactoryPlugin {
|
||||
}
|
||||
}
|
||||
|
||||
const resolvedType = /** @type {string} */ (type || globalType);
|
||||
const resolvedType = type || globalType;
|
||||
|
||||
// TODO make it pluggable/add hooks to `ExternalModule` to allow output modules own externals?
|
||||
/** @type {DependencyMeta | undefined} */
|
||||
@@ -159,7 +176,7 @@ class ExternalModuleFactoryPlugin {
|
||||
: undefined;
|
||||
|
||||
dependencyMeta = {
|
||||
attributes: dependency.assertions,
|
||||
attributes: dependency.attributes,
|
||||
externalType
|
||||
};
|
||||
} else if (dependency instanceof CssImportDependency) {
|
||||
@@ -265,6 +282,7 @@ class ExternalModuleFactoryPlugin {
|
||||
dependencyType,
|
||||
contextInfo,
|
||||
getResolve: (options) => (context, request, callback) => {
|
||||
/** @type {ResolveContext} */
|
||||
const resolveContext = {
|
||||
fileDependencies: data.fileDependencies,
|
||||
missingDependencies: data.missingDependencies,
|
||||
@@ -307,7 +325,9 @@ class ExternalModuleFactoryPlugin {
|
||||
},
|
||||
cb
|
||||
);
|
||||
if (promise && promise.then) promise.then((r) => cb(null, r), cb);
|
||||
if (promise && promise.then) {
|
||||
promise.then((r) => cb(null, r), cb);
|
||||
}
|
||||
}
|
||||
return;
|
||||
} else if (typeof externals === "object") {
|
||||
|
||||
Reference in New Issue
Block a user