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:
64
node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js
generated
vendored
64
node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js
generated
vendored
@@ -33,17 +33,19 @@ const processExportInfo = require("./processExportInfo");
|
||||
/** @typedef {import("../ChunkGraph")} ChunkGraph */
|
||||
/** @typedef {import("../Dependency").ExportsSpec} ExportsSpec */
|
||||
/** @typedef {import("../Dependency").GetConditionFn} GetConditionFn */
|
||||
/** @typedef {import("../Dependency").ReferencedExport} ReferencedExport */
|
||||
/** @typedef {import("../Dependency").RawReferencedExports} RawReferencedExports */
|
||||
/** @typedef {import("../Dependency").ReferencedExports} ReferencedExports */
|
||||
/** @typedef {import("../Dependency").TRANSITIVE} TRANSITIVE */
|
||||
/** @typedef {import("../Dependency").UpdateHashContext} UpdateHashContext */
|
||||
/** @typedef {import("../DependencyTemplate").DependencyTemplateContext} DependencyTemplateContext */
|
||||
/** @typedef {import("../ExportsInfo")} ExportsInfo */
|
||||
/** @typedef {import("../ExportsInfo").ExportInfo} ExportInfo */
|
||||
/** @typedef {import("../ExportsInfo").ExportInfoName} ExportInfoName */
|
||||
/** @typedef {import("../ExportsInfo").UsedName} UsedName */
|
||||
/** @typedef {import("../Generator").GenerateContext} GenerateContext */
|
||||
/** @typedef {import("../Module")} Module */
|
||||
/** @typedef {import("../Module").BuildMeta} BuildMeta */
|
||||
/** @typedef {import("../Module").RuntimeRequirements} RuntimeRequirements */
|
||||
/** @typedef {import("../Module").ExportsType} ExportsType */
|
||||
/** @typedef {import("../ModuleGraph")} ModuleGraph */
|
||||
/** @typedef {import("../ModuleGraphConnection")} ModuleGraphConnection */
|
||||
/** @typedef {import("../ModuleGraphConnection").ConnectionState} ConnectionState */
|
||||
@@ -52,10 +54,9 @@ const processExportInfo = require("./processExportInfo");
|
||||
/** @typedef {import("../javascript/JavascriptParser").ImportAttributes} ImportAttributes */
|
||||
/** @typedef {import("../serialization/ObjectMiddleware").ObjectDeserializerContext} ObjectDeserializerContext */
|
||||
/** @typedef {import("../serialization/ObjectMiddleware").ObjectSerializerContext} ObjectSerializerContext */
|
||||
/** @typedef {import("../util/Hash")} Hash */
|
||||
/** @typedef {import("../util/runtime").RuntimeSpec} RuntimeSpec */
|
||||
/** @typedef {import("./HarmonyImportDependency").Ids} Ids */
|
||||
/** @typedef {import("./HarmonyImportDependency").ExportPresenceMode} ExportPresenceMode */
|
||||
/** @typedef {import("./processExportInfo").ReferencedExports} ReferencedExports */
|
||||
|
||||
/** @typedef {"missing"|"unused"|"empty-star"|"reexport-dynamic-default"|"reexport-named-default"|"reexport-namespace-object"|"reexport-fake-namespace-object"|"reexport-undefined"|"normal-reexport"|"dynamic-reexport"} ExportModeType */
|
||||
|
||||
@@ -66,7 +67,7 @@ const idsSymbol = Symbol("HarmonyExportImportedSpecifierDependency.ids");
|
||||
class NormalReexportItem {
|
||||
/**
|
||||
* @param {string} name export name
|
||||
* @param {string[]} ids reexported ids from other module
|
||||
* @param {Ids} ids reexported ids from other module
|
||||
* @param {ExportInfo} exportInfo export info from other module
|
||||
* @param {boolean} checked true, if it should be checked at runtime if this export exists
|
||||
* @param {boolean} hidden true, if it is hidden behind another active export in the same module
|
||||
@@ -119,23 +120,22 @@ class ExportMode {
|
||||
}
|
||||
}
|
||||
|
||||
/** @typedef {string[]} Names */
|
||||
/** @typedef {number[]} DependencyIndices */
|
||||
|
||||
/**
|
||||
* @param {ModuleGraph} moduleGraph module graph
|
||||
* @param {ReadonlyArray<HarmonyExportImportedSpecifierDependency>} dependencies dependencies
|
||||
* @param {TODO=} additionalDependency additional dependency
|
||||
* @returns {{ names: Names, dependencyIndices: DependencyIndices }} result
|
||||
* @param {HarmonyExportImportedSpecifierDependency[]} dependencies dependencies
|
||||
* @param {HarmonyExportImportedSpecifierDependency=} additionalDependency additional dependency
|
||||
* @returns {{ names: ExportInfoName[], dependencyIndices: DependencyIndices }} result
|
||||
*/
|
||||
const determineExportAssignments = (
|
||||
moduleGraph,
|
||||
dependencies,
|
||||
additionalDependency
|
||||
) => {
|
||||
/** @type {Set<string>} */
|
||||
/** @type {Set<ExportInfoName>} */
|
||||
const names = new Set();
|
||||
/** @type {number[]} */
|
||||
/** @type {DependencyIndices} */
|
||||
const dependencyIndices = [];
|
||||
|
||||
if (additionalDependency) {
|
||||
@@ -167,7 +167,7 @@ const determineExportAssignments = (
|
||||
|
||||
/**
|
||||
* @param {object} options options
|
||||
* @param {Names} options.names names
|
||||
* @param {ExportInfoName[]} options.names names
|
||||
* @param {DependencyIndices} options.dependencyIndices dependency indices
|
||||
* @param {string} name name
|
||||
* @param {ReadonlyArray<HarmonyExportImportedSpecifierDependency>} dependencies dependencies
|
||||
@@ -339,7 +339,7 @@ const getMode = (moduleGraph, dep, runtimeKey) => {
|
||||
exportName,
|
||||
[exportName],
|
||||
exportsInfo.getReadOnlyExportInfo(exportName),
|
||||
/** @type {Set<string>} */
|
||||
/** @type {Checked} */
|
||||
(checked).has(exportName),
|
||||
false
|
||||
)
|
||||
@@ -361,7 +361,6 @@ const getMode = (moduleGraph, dep, runtimeKey) => {
|
||||
return mode;
|
||||
};
|
||||
|
||||
/** @typedef {string[]} Ids */
|
||||
/** @typedef {Set<string>} Exports */
|
||||
/** @typedef {Set<string>} Checked */
|
||||
/** @typedef {Set<string>} Hidden */
|
||||
@@ -515,7 +514,7 @@ class HarmonyExportImportedSpecifierDependency extends HarmonyImportDependency {
|
||||
importedExportsInfo.getReadOnlyExportInfo(name);
|
||||
if (importedExportInfo.provided === false) continue;
|
||||
if (hiddenExports !== undefined && hiddenExports.has(name)) {
|
||||
/** @type {Set<string>} */
|
||||
/** @type {Hidden} */
|
||||
(hidden).add(name);
|
||||
continue;
|
||||
}
|
||||
@@ -567,7 +566,7 @@ class HarmonyExportImportedSpecifierDependency extends HarmonyImportDependency {
|
||||
* Returns list of exports referenced by this dependency
|
||||
* @param {ModuleGraph} moduleGraph module graph
|
||||
* @param {RuntimeSpec} runtime the runtime for which the module is analysed
|
||||
* @returns {(string[] | ReferencedExport)[]} referenced exports
|
||||
* @returns {ReferencedExports} referenced exports
|
||||
*/
|
||||
getReferencedExports(moduleGraph, runtime) {
|
||||
const mode = this.getMode(moduleGraph, runtime);
|
||||
@@ -586,7 +585,7 @@ class HarmonyExportImportedSpecifierDependency extends HarmonyImportDependency {
|
||||
if (!mode.partialNamespaceExportInfo) {
|
||||
return Dependency.EXPORTS_OBJECT_REFERENCED;
|
||||
}
|
||||
/** @type {ReferencedExports} */
|
||||
/** @type {RawReferencedExports} */
|
||||
const referencedExports = [];
|
||||
processExportInfo(
|
||||
runtime,
|
||||
@@ -602,7 +601,7 @@ class HarmonyExportImportedSpecifierDependency extends HarmonyImportDependency {
|
||||
if (!mode.partialNamespaceExportInfo) {
|
||||
return Dependency.EXPORTS_OBJECT_REFERENCED;
|
||||
}
|
||||
/** @type {ReferencedExports} */
|
||||
/** @type {RawReferencedExports} */
|
||||
const referencedExports = [];
|
||||
processExportInfo(
|
||||
runtime,
|
||||
@@ -618,7 +617,7 @@ class HarmonyExportImportedSpecifierDependency extends HarmonyImportDependency {
|
||||
return Dependency.EXPORTS_OBJECT_REFERENCED;
|
||||
|
||||
case "normal-reexport": {
|
||||
/** @type {ReferencedExports} */
|
||||
/** @type {RawReferencedExports} */
|
||||
const referencedExports = [];
|
||||
for (const {
|
||||
ids,
|
||||
@@ -638,7 +637,7 @@ class HarmonyExportImportedSpecifierDependency extends HarmonyImportDependency {
|
||||
|
||||
/**
|
||||
* @param {ModuleGraph} moduleGraph the module graph
|
||||
* @returns {{ names: Names, namesSlice: number, dependencyIndices: DependencyIndices, dependencyIndex: number } | undefined} exported names and their origin dependency
|
||||
* @returns {{ names: ExportInfoName[], namesSlice: number, dependencyIndices: DependencyIndices, dependencyIndex: number } | undefined} exported names and their origin dependency
|
||||
*/
|
||||
_discoverActiveExportsFromOtherStarExports(moduleGraph) {
|
||||
if (!this.otherStarExports) return;
|
||||
@@ -880,7 +879,7 @@ class HarmonyExportImportedSpecifierDependency extends HarmonyImportDependency {
|
||||
const importedModule = moduleGraph.getModule(this);
|
||||
if (importedModule) {
|
||||
const exportsInfo = moduleGraph.getExportsInfo(importedModule);
|
||||
/** @type {Map<string, string[]>} */
|
||||
/** @type {Map<string, ExportInfoName[]>} */
|
||||
const conflicts = new Map();
|
||||
for (const exportInfo of exportsInfo.orderedExports) {
|
||||
if (exportInfo.provided !== true) continue;
|
||||
@@ -980,8 +979,6 @@ makeSerializable(
|
||||
"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency"
|
||||
);
|
||||
|
||||
module.exports = HarmonyExportImportedSpecifierDependency;
|
||||
|
||||
HarmonyExportImportedSpecifierDependency.Template = class HarmonyExportImportedSpecifierDependencyTemplate extends (
|
||||
HarmonyImportDependency.Template
|
||||
) {
|
||||
@@ -1233,14 +1230,9 @@ HarmonyExportImportedSpecifierDependency.Template = class HarmonyExportImportedS
|
||||
mode.hidden
|
||||
)
|
||||
: /** @type {ExportModeIgnored} */ (mode.ignored);
|
||||
const modern =
|
||||
runtimeTemplate.supportsConst() &&
|
||||
runtimeTemplate.supportsArrowFunction();
|
||||
let content =
|
||||
"/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n" +
|
||||
`/* harmony reexport (unknown) */ for(${
|
||||
modern ? "const" : "var"
|
||||
} __WEBPACK_IMPORT_KEY__ in ${importVar}) `;
|
||||
`/* harmony reexport (unknown) */ for(${runtimeTemplate.renderConst()} __WEBPACK_IMPORT_KEY__ in ${importVar}) `;
|
||||
|
||||
// Filter out exports which are defined by other exports
|
||||
// and filter out default export because it cannot be reexported with *
|
||||
@@ -1255,7 +1247,7 @@ HarmonyExportImportedSpecifierDependency.Template = class HarmonyExportImportedS
|
||||
}
|
||||
|
||||
content += "__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = ";
|
||||
content += modern
|
||||
content += runtimeTemplate.supportsArrowFunction()
|
||||
? `() => ${importVar}[__WEBPACK_IMPORT_KEY__]`
|
||||
: `function(key) { return ${importVar}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`;
|
||||
|
||||
@@ -1285,7 +1277,7 @@ HarmonyExportImportedSpecifierDependency.Template = class HarmonyExportImportedS
|
||||
* @param {string} comment comment
|
||||
* @param {UsedName} key key
|
||||
* @param {string} name name
|
||||
* @param {string | string[] | null | false} valueKey value key
|
||||
* @param {UsedName | null} valueKey value key
|
||||
* @param {RuntimeRequirements} runtimeRequirements runtime requirements
|
||||
* @returns {HarmonyExportInitFragment} harmony export init fragment
|
||||
*/
|
||||
@@ -1310,7 +1302,7 @@ HarmonyExportImportedSpecifierDependency.Template = class HarmonyExportImportedS
|
||||
|
||||
/**
|
||||
* @param {Module} module module
|
||||
* @param {string | string[] | false} key key
|
||||
* @param {UsedName} key key
|
||||
* @param {string} name name
|
||||
* @param {number} fakeType fake type
|
||||
* @param {RuntimeRequirements} runtimeRequirements runtime requirements
|
||||
@@ -1349,10 +1341,10 @@ HarmonyExportImportedSpecifierDependency.Template = class HarmonyExportImportedS
|
||||
/**
|
||||
* @param {Module} module module
|
||||
* @param {ChunkGraph} chunkGraph chunkGraph
|
||||
* @param {string | false | string[]} key key
|
||||
* @param {UsedName} key key
|
||||
* @param {string} name name
|
||||
* @param {import("../Module").ExportsType} exportsType exportsType
|
||||
* @param {Set<string>} runtimeRequirements runtimeRequirements
|
||||
* @param {ExportsType} exportsType exportsType
|
||||
* @param {RuntimeRequirements} runtimeRequirements runtimeRequirements
|
||||
* @returns {InitFragment<GenerateContext>[]} fragments
|
||||
*/
|
||||
getReexportDeferredNamespaceObjectFragments(
|
||||
@@ -1484,4 +1476,6 @@ makeSerializable(
|
||||
"HarmonyStarExportsList"
|
||||
);
|
||||
|
||||
module.exports = HarmonyExportImportedSpecifierDependency;
|
||||
module.exports.HarmonyStarExportsList = HarmonyStarExportsList;
|
||||
module.exports.idsSymbol = idsSymbol;
|
||||
|
||||
Reference in New Issue
Block a user