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:
80
node_modules/webpack/lib/Chunk.js
generated
vendored
80
node_modules/webpack/lib/Chunk.js
generated
vendored
@@ -18,48 +18,56 @@ const {
|
||||
const { createArrayToSetDeprecationSet } = require("./util/deprecation");
|
||||
const { mergeRuntime } = require("./util/runtime");
|
||||
|
||||
/** @typedef {import("webpack-sources").Source} Source */
|
||||
/** @typedef {import("./ChunkGraph").ChunkFilterPredicate} ChunkFilterPredicate */
|
||||
/** @typedef {import("./ChunkGraph").ChunkSizeOptions} ChunkSizeOptions */
|
||||
/** @typedef {import("./ChunkGraph").ModuleFilterPredicate} ModuleFilterPredicate */
|
||||
/** @typedef {import("./ChunkGraph").ModuleId} ModuleId */
|
||||
/** @typedef {import("./ChunkGroup")} ChunkGroup */
|
||||
/** @typedef {import("./ChunkGroup").ChunkGroupOptions} ChunkGroupOptions */
|
||||
/** @typedef {import("./Compilation")} Compilation */
|
||||
/** @typedef {import("./Compilation").AssetInfo} AssetInfo */
|
||||
/** @typedef {import("./Entrypoint").EntryOptions} EntryOptions */
|
||||
/** @typedef {import("./Module")} Module */
|
||||
/** @typedef {import("./ModuleGraph")} ModuleGraph */
|
||||
/** @typedef {import("./TemplatedPathPlugin").TemplatePath} TemplatePath */
|
||||
/** @typedef {import("./util/Hash")} Hash */
|
||||
/** @typedef {import("./util/runtime").RuntimeSpec} RuntimeSpec */
|
||||
|
||||
/** @typedef {string | null} ChunkName */
|
||||
/** @typedef {number | string} ChunkId */
|
||||
/** @typedef {string | number} ChunkId */
|
||||
/** @typedef {SortableSet<string>} IdNameHints */
|
||||
|
||||
const ChunkFilesSet = createArrayToSetDeprecationSet("chunk.files");
|
||||
|
||||
/**
|
||||
* @typedef {object} WithId an object who has an id property *
|
||||
* @property {string | number} id the id of the object
|
||||
* @deprecated
|
||||
* @typedef {object} ChunkMaps
|
||||
* @property {Record<ChunkId, string>} hash
|
||||
* @property {Record<ChunkId, Record<string, string>>} contentHash
|
||||
* @property {Record<ChunkId, string>} name
|
||||
*/
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @typedef {object} ChunkMaps
|
||||
* @property {Record<string | number, string>} hash
|
||||
* @property {Record<string | number, Record<string, string>>} contentHash
|
||||
* @property {Record<string | number, string>} name
|
||||
* @typedef {Record<ChunkId, ChunkId[]>} ChunkModuleIdMap
|
||||
*/
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @typedef {Record<ModuleId, string>} chunkModuleHashMap
|
||||
*/
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @typedef {object} ChunkModuleMaps
|
||||
* @property {Record<string|number, (string|number)[]>} id
|
||||
* @property {Record<string|number, string>} hash
|
||||
* @property {ChunkModuleIdMap} id
|
||||
* @property {chunkModuleHashMap} hash
|
||||
*/
|
||||
|
||||
/** @typedef {Set<Chunk>} Chunks */
|
||||
/** @typedef {Set<Entrypoint>} Entrypoints */
|
||||
/** @typedef {Set<ChunkGroup>} Queue */
|
||||
/** @typedef {SortableSet<ChunkGroup>} SortableChunkGroups */
|
||||
/** @typedef {Record<string, ChunkId[]>} ChunkChildIdsByOrdersMap */
|
||||
/** @typedef {Record<string, ChunkChildIdsByOrdersMap>} ChunkChildIdsByOrdersMapByData */
|
||||
|
||||
let debugId = 1000;
|
||||
|
||||
/**
|
||||
@@ -90,7 +98,7 @@ class Chunk {
|
||||
this.cssFilenameTemplate = undefined;
|
||||
/**
|
||||
* @private
|
||||
* @type {SortableSet<ChunkGroup>}
|
||||
* @type {SortableChunkGroups}
|
||||
*/
|
||||
this._groups = new SortableSet(undefined, compareChunkGroupsByIndex);
|
||||
/** @type {RuntimeSpec} */
|
||||
@@ -353,9 +361,9 @@ class Chunk {
|
||||
"Chunk.getChunkModuleMaps",
|
||||
"DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS"
|
||||
);
|
||||
/** @type {Record<string|number, (string|number)[]>} */
|
||||
/** @type {ChunkModuleIdMap} */
|
||||
const chunkModuleIdMap = Object.create(null);
|
||||
/** @type {Record<string|number, string>} */
|
||||
/** @type {chunkModuleHashMap} */
|
||||
const chunkModuleHashMap = Object.create(null);
|
||||
|
||||
for (const asyncChunk of this.getAllAsyncChunks()) {
|
||||
@@ -408,11 +416,11 @@ class Chunk {
|
||||
* @returns {ChunkMaps} the chunk map information
|
||||
*/
|
||||
getChunkMaps(realHash) {
|
||||
/** @type {Record<string|number, string>} */
|
||||
/** @type {Record<ChunkId, string>} */
|
||||
const chunkHashMap = Object.create(null);
|
||||
/** @type {Record<string|number, Record<string, string>>} */
|
||||
/** @type {Record<string, Record<ChunkId, string>>} */
|
||||
const chunkContentHashMap = Object.create(null);
|
||||
/** @type {Record<string|number, string>} */
|
||||
/** @type {Record<ChunkId, string>} */
|
||||
const chunkNameMap = Object.create(null);
|
||||
|
||||
for (const chunk of this.getAllAsyncChunks()) {
|
||||
@@ -519,7 +527,7 @@ class Chunk {
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {SortableSet<ChunkGroup>} the chunkGroups that the said chunk is referenced in
|
||||
* @returns {SortableChunkGroups} the chunkGroups that the said chunk is referenced in
|
||||
*/
|
||||
get groupsIterable() {
|
||||
this._groups.sort();
|
||||
@@ -576,16 +584,19 @@ class Chunk {
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Set<Chunk>} a set of all the async chunks
|
||||
* @returns {Chunks} a set of all the async chunks
|
||||
*/
|
||||
getAllAsyncChunks() {
|
||||
/** @type {Queue} */
|
||||
const queue = new Set();
|
||||
/** @type {Chunks} */
|
||||
const chunks = new Set();
|
||||
|
||||
const initialChunks = intersect(
|
||||
Array.from(this.groupsIterable, (g) => new Set(g.chunks))
|
||||
);
|
||||
|
||||
/** @type {Queue} */
|
||||
const initialQueue = new Set(this.groupsIterable);
|
||||
|
||||
for (const chunkGroup of initialQueue) {
|
||||
@@ -613,10 +624,12 @@ class Chunk {
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Set<Chunk>} a set of all the initial chunks (including itself)
|
||||
* @returns {Chunks} a set of all the initial chunks (including itself)
|
||||
*/
|
||||
getAllInitialChunks() {
|
||||
/** @type {Chunks} */
|
||||
const chunks = new Set();
|
||||
/** @type {Queue} */
|
||||
const queue = new Set(this.groupsIterable);
|
||||
for (const group of queue) {
|
||||
if (group.isInitial()) {
|
||||
@@ -628,10 +641,12 @@ class Chunk {
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Set<Chunk>} a set of all the referenced chunks (including itself)
|
||||
* @returns {Chunks} a set of all the referenced chunks (including itself)
|
||||
*/
|
||||
getAllReferencedChunks() {
|
||||
/** @type {Queue} */
|
||||
const queue = new Set(this.groupsIterable);
|
||||
/** @type {Chunks} */
|
||||
const chunks = new Set();
|
||||
|
||||
for (const chunkGroup of queue) {
|
||||
@@ -647,15 +662,17 @@ class Chunk {
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Set<Entrypoint>} a set of all the referenced entrypoints
|
||||
* @returns {Entrypoints} a set of all the referenced entrypoints
|
||||
*/
|
||||
getAllReferencedAsyncEntrypoints() {
|
||||
/** @type {Queue} */
|
||||
const queue = new Set(this.groupsIterable);
|
||||
/** @type {Entrypoints} */
|
||||
const entrypoints = new Set();
|
||||
|
||||
for (const chunkGroup of queue) {
|
||||
for (const entrypoint of chunkGroup.asyncEntrypointsIterable) {
|
||||
entrypoints.add(entrypoint);
|
||||
entrypoints.add(/** @type {Entrypoint} */ (entrypoint));
|
||||
}
|
||||
for (const child of chunkGroup.childrenIterable) {
|
||||
queue.add(child);
|
||||
@@ -669,6 +686,7 @@ class Chunk {
|
||||
* @returns {boolean} true, if the chunk references async chunks
|
||||
*/
|
||||
hasAsyncChunks() {
|
||||
/** @type {Queue} */
|
||||
const queue = new Set();
|
||||
|
||||
const initialChunks = intersect(
|
||||
@@ -730,7 +748,7 @@ class Chunk {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** @type {Record<string, (string | number)[]>} */
|
||||
/** @type {Record<string, ChunkId[]>} */
|
||||
const result = Object.create(null);
|
||||
for (const [name, list] of lists) {
|
||||
list.sort((a, b) => {
|
||||
@@ -756,7 +774,7 @@ class Chunk {
|
||||
/**
|
||||
* @param {ChunkGraph} chunkGraph the chunk graph
|
||||
* @param {string} type option name
|
||||
* @returns {{ onChunks: Chunk[], chunks: Set<Chunk> }[] | undefined} referenced chunks for a specific type
|
||||
* @returns {{ onChunks: Chunk[], chunks: Chunks }[] | undefined} referenced chunks for a specific type
|
||||
*/
|
||||
getChildrenOfTypeInOrder(chunkGraph, type) {
|
||||
const list = [];
|
||||
@@ -802,10 +820,10 @@ class Chunk {
|
||||
* @param {ChunkGraph} chunkGraph the chunk graph
|
||||
* @param {boolean=} includeDirectChildren include direct children (by default only children of async children are included)
|
||||
* @param {ChunkFilterPredicate=} filterFn function used to filter chunks
|
||||
* @returns {Record<string|number, Record<string, (string | number)[]>>} a record object of names to lists of child ids(?) by chunk id
|
||||
* @returns {ChunkChildIdsByOrdersMapByData} a record object of names to lists of child ids(?) by chunk id
|
||||
*/
|
||||
getChildIdsByOrdersMap(chunkGraph, includeDirectChildren, filterFn) {
|
||||
/** @type {Record<string|number, Record<string, (string | number)[]>>} */
|
||||
/** @type {ChunkChildIdsByOrdersMapByData} */
|
||||
const chunkMaps = Object.create(null);
|
||||
|
||||
/**
|
||||
@@ -824,7 +842,7 @@ class Chunk {
|
||||
};
|
||||
|
||||
if (includeDirectChildren) {
|
||||
/** @type {Set<Chunk>} */
|
||||
/** @type {Chunks} */
|
||||
const chunks = new Set();
|
||||
for (const chunkGroup of this.groupsIterable) {
|
||||
for (const chunk of chunkGroup.chunks) {
|
||||
@@ -852,7 +870,7 @@ class Chunk {
|
||||
*/
|
||||
hasChildByOrder(chunkGraph, type, includeDirectChildren, filterFn) {
|
||||
if (includeDirectChildren) {
|
||||
/** @type {Set<Chunk>} */
|
||||
/** @type {Chunks} */
|
||||
const chunks = new Set();
|
||||
for (const chunkGroup of this.groupsIterable) {
|
||||
for (const chunk of chunkGroup.chunks) {
|
||||
|
||||
Reference in New Issue
Block a user