Update npm packages

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-10-31 09:17:40 +00:00
parent 37bf37dc7b
commit fc494c1e08
53 changed files with 128 additions and 83 deletions

0
node_modules/@jqhtml/core/dist/component-registry.d.ts generated vendored Executable file → Normal file
View File

View File

@@ -1 +1 @@
{"version":3,"file":"component-registry.d.ts","sourceRoot":"","sources":["../src/component-registry.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlD,MAAM,MAAM,gBAAgB,GAAG,CAC7B,IAAI,EAAE,gBAAgB,EACtB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzB,OAAO,EAAE,GAAG,KACT,CAAC,GAAG,EAAE,EAAE,gBAAgB,CAAC,CAAC;AAG/B,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACxC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAGD,MAAM,MAAM,oBAAoB,GAAG,KAAK,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,gBAAgB,CAAC;AAsCtG;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,EACZ,eAAe,EAAE,oBAAoB,EACrC,QAAQ,CAAC,EAAE,kBAAkB,GAC5B,IAAI,CAAC;AACR,wBAAgB,kBAAkB,CAAC,eAAe,EAAE,oBAAoB,GAAG,IAAI,CAAC;AA4ChF;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,IA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,wBAAgB,eAAe,IAAI,MAAM,CAAC,MAAM,EAAE;IAAE,SAAS,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE,OAAO,CAAA;CAAE,CAAC,CAsB/F"}

0
node_modules/@jqhtml/core/dist/component.d.ts generated vendored Executable file → Normal file
View File

View File

@@ -1 +1 @@
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../src/component.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAUH,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,YAAY,CAAC,EAAE;YACb,GAAG,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;YACjF,UAAU,EAAE,MAAM,IAAI,CAAC;SACxB,CAAC;KACH;CACF;AAED,qBAAa,gBAAgB;IAE3B,MAAM,CAAC,QAAQ,CAAC,EAAE,GAAG,CAAC;IAGtB,CAAC,EAAE,GAAG,CAAC;IACP,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAK;IAGzB,OAAO,CAAC,kBAAkB,CAAmB;IAC7C,OAAO,CAAC,aAAa,CAAiC;IACtD,OAAO,CAAC,WAAW,CAAiC;IACpD,OAAO,CAAC,aAAa,CAAoC;IACzD,OAAO,CAAC,iBAAiB,CAAkB;IAC3C,OAAO,CAAC,UAAU,CAAkB;IACpC,OAAO,CAAC,OAAO,CAAkB;IACjC,OAAO,CAAC,mBAAmB,CAAuB;IAClD,OAAO,CAAC,oBAAoB,CAAwE;IACpG,OAAO,CAAC,iBAAiB,CAA0B;IACnD,OAAO,CAAC,SAAS,CAAkB;IACnC,OAAO,CAAC,iBAAiB,CAAkB;gBAE/B,OAA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AAa;IAIrB;;;OAGG;IACH,OAAO,CAAC,qBAAqB;IAkB7B,OAAO,CAAC,kBAAkB;IA4B1B,OAAO,CAAC,yBAAyB;IAsFjC,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,gBAAgB;IAcxB;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IA+BzB,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,UAAU;CASnB"}

0
node_modules/@jqhtml/core/dist/debug-entry.d.ts generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/core/dist/debug-overlay.d.ts generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/core/dist/debug.d.ts generated vendored Executable file → Normal file
View File

View File

@@ -310,17 +310,31 @@ function register_template(template_def) {
function get_template(name) {
const template = component_templates.get(name);
if (!template) {
// Check if we have a class but no template
const has_class = component_classes.has(name);
// Suppress warning for _Jqhtml_Component and Redrawable (internal components)
// Only warn once per component name
if (!has_class && name !== '_Jqhtml_Component' && name !== 'Redrawable' && !warned_components.has(name)) {
warned_components.add(name);
console.warn(`[JQHTML] Creating ${name} with defaults - no template or class defined`);
// Check if we have a class but no template - walk prototype chain
const component_class = component_classes.get(name);
if (component_class) {
// Class exists but no template - walk up prototype chain to find ancestor template
const inherited_template = get_template_by_class(component_class);
if (inherited_template !== DEFAULT_TEMPLATE) {
if (window.jqhtml?.debug?.enabled) {
console.log(`[JQHTML] Component '${name}' has no template, using template from prototype chain`);
}
return inherited_template;
}
// Class exists but no template in chain
if (window.jqhtml?.debug?.enabled && !warned_components.has(name)) {
warned_components.add(name);
console.log(`[JQHTML] No template found for class: ${name}, using default div template`);
}
}
else if (window.jqhtml?.debug?.enabled && !warned_components.has(name)) {
warned_components.add(name);
console.log(`[JQHTML] No template found for class: ${name}, using default div template`);
else {
// No class and no template
// Suppress warning for _Jqhtml_Component and Redrawable (internal components)
// Only warn once per component name
if (name !== '_Jqhtml_Component' && name !== 'Redrawable' && !warned_components.has(name)) {
warned_components.add(name);
console.warn(`[JQHTML] Creating ${name} with defaults - no template or class defined`);
}
}
if (window.jqhtml?.debug?.verbose) {
const registered = Array.from(component_templates.keys());
@@ -1289,7 +1303,8 @@ class Jqhtml_Component {
// Check for template inheritance (slot-only OR explicit extends)
// If instructions is {_slots: {...}}, find parent template and invoke it
if (instructions && typeof instructions === 'object' && instructions._slots && !Array.isArray(instructions)) {
console.log(`[JQHTML] Slot-only template detected for ${this.constructor.name}`);
const componentName = template_def.name || this.args._component_name || this.constructor.name;
console.log(`[JQHTML] Slot-only template detected for ${componentName}`);
let parentTemplate = null;
let parentTemplateName = null;
// First check for explicit extends attribute in template metadata
@@ -2972,7 +2987,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.2.175';
const version = '2.2.176';
// Default export with all functionality
const jqhtml = {
// Core

File diff suppressed because one or more lines are too long

0
node_modules/@jqhtml/core/dist/index.d.ts generated vendored Executable file → Normal file
View File

View File

@@ -306,17 +306,31 @@ function register_template(template_def) {
function get_template(name) {
const template = component_templates.get(name);
if (!template) {
// Check if we have a class but no template
const has_class = component_classes.has(name);
// Suppress warning for _Jqhtml_Component and Redrawable (internal components)
// Only warn once per component name
if (!has_class && name !== '_Jqhtml_Component' && name !== 'Redrawable' && !warned_components.has(name)) {
warned_components.add(name);
console.warn(`[JQHTML] Creating ${name} with defaults - no template or class defined`);
// Check if we have a class but no template - walk prototype chain
const component_class = component_classes.get(name);
if (component_class) {
// Class exists but no template - walk up prototype chain to find ancestor template
const inherited_template = get_template_by_class(component_class);
if (inherited_template !== DEFAULT_TEMPLATE) {
if (window.jqhtml?.debug?.enabled) {
console.log(`[JQHTML] Component '${name}' has no template, using template from prototype chain`);
}
return inherited_template;
}
// Class exists but no template in chain
if (window.jqhtml?.debug?.enabled && !warned_components.has(name)) {
warned_components.add(name);
console.log(`[JQHTML] No template found for class: ${name}, using default div template`);
}
}
else if (window.jqhtml?.debug?.enabled && !warned_components.has(name)) {
warned_components.add(name);
console.log(`[JQHTML] No template found for class: ${name}, using default div template`);
else {
// No class and no template
// Suppress warning for _Jqhtml_Component and Redrawable (internal components)
// Only warn once per component name
if (name !== '_Jqhtml_Component' && name !== 'Redrawable' && !warned_components.has(name)) {
warned_components.add(name);
console.warn(`[JQHTML] Creating ${name} with defaults - no template or class defined`);
}
}
if (window.jqhtml?.debug?.verbose) {
const registered = Array.from(component_templates.keys());
@@ -1285,7 +1299,8 @@ class Jqhtml_Component {
// Check for template inheritance (slot-only OR explicit extends)
// If instructions is {_slots: {...}}, find parent template and invoke it
if (instructions && typeof instructions === 'object' && instructions._slots && !Array.isArray(instructions)) {
console.log(`[JQHTML] Slot-only template detected for ${this.constructor.name}`);
const componentName = template_def.name || this.args._component_name || this.constructor.name;
console.log(`[JQHTML] Slot-only template detected for ${componentName}`);
let parentTemplate = null;
let parentTemplateName = null;
// First check for explicit extends attribute in template metadata
@@ -2968,7 +2983,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.2.175';
const version = '2.2.176';
// Default export with all functionality
const jqhtml = {
// Core

File diff suppressed because one or more lines are too long

0
node_modules/@jqhtml/core/dist/instruction-processor.d.ts generated vendored Executable file → Normal file
View File

View File

@@ -1,5 +1,5 @@
/**
* JQHTML Core v2.2.175
* JQHTML Core v2.2.176
* (c) 2025 JQHTML Team
* Released under the MIT License
*/
@@ -311,17 +311,31 @@ function register_template(template_def) {
function get_template(name) {
const template = component_templates.get(name);
if (!template) {
// Check if we have a class but no template
const has_class = component_classes.has(name);
// Suppress warning for _Jqhtml_Component and Redrawable (internal components)
// Only warn once per component name
if (!has_class && name !== '_Jqhtml_Component' && name !== 'Redrawable' && !warned_components.has(name)) {
warned_components.add(name);
console.warn(`[JQHTML] Creating ${name} with defaults - no template or class defined`);
// Check if we have a class but no template - walk prototype chain
const component_class = component_classes.get(name);
if (component_class) {
// Class exists but no template - walk up prototype chain to find ancestor template
const inherited_template = get_template_by_class(component_class);
if (inherited_template !== DEFAULT_TEMPLATE) {
if (window.jqhtml?.debug?.enabled) {
console.log(`[JQHTML] Component '${name}' has no template, using template from prototype chain`);
}
return inherited_template;
}
// Class exists but no template in chain
if (window.jqhtml?.debug?.enabled && !warned_components.has(name)) {
warned_components.add(name);
console.log(`[JQHTML] No template found for class: ${name}, using default div template`);
}
}
else if (window.jqhtml?.debug?.enabled && !warned_components.has(name)) {
warned_components.add(name);
console.log(`[JQHTML] No template found for class: ${name}, using default div template`);
else {
// No class and no template
// Suppress warning for _Jqhtml_Component and Redrawable (internal components)
// Only warn once per component name
if (name !== '_Jqhtml_Component' && name !== 'Redrawable' && !warned_components.has(name)) {
warned_components.add(name);
console.warn(`[JQHTML] Creating ${name} with defaults - no template or class defined`);
}
}
if (window.jqhtml?.debug?.verbose) {
const registered = Array.from(component_templates.keys());
@@ -1290,7 +1304,8 @@ class Jqhtml_Component {
// Check for template inheritance (slot-only OR explicit extends)
// If instructions is {_slots: {...}}, find parent template and invoke it
if (instructions && typeof instructions === 'object' && instructions._slots && !Array.isArray(instructions)) {
console.log(`[JQHTML] Slot-only template detected for ${this.constructor.name}`);
const componentName = template_def.name || this.args._component_name || this.constructor.name;
console.log(`[JQHTML] Slot-only template detected for ${componentName}`);
let parentTemplate = null;
let parentTemplateName = null;
// First check for explicit extends attribute in template metadata
@@ -2973,7 +2988,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.2.175';
const version = '2.2.176';
// Default export with all functionality
const jqhtml = {
// Core

File diff suppressed because one or more lines are too long

0
node_modules/@jqhtml/core/dist/jquery-plugin.d.ts generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/core/dist/lifecycle-manager.d.ts generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/core/dist/template-renderer.d.ts generated vendored Executable file → Normal file
View File

View File

@@ -1,6 +1,6 @@
{
"name": "@jqhtml/core",
"version": "2.2.175",
"version": "2.2.176",
"description": "Core runtime library for JQHTML",
"type": "module",
"main": "./dist/index.js",