Allow Rsx.Route() to accept string integers as params

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-23 09:18:10 +00:00
parent 2899ae826b
commit c7a2ec94ab
104 changed files with 293 additions and 144 deletions

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

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

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

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

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

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

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-entry.d.ts.map 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

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

View File

@@ -4904,6 +4904,32 @@ function init_jquery_plugin(jQuery) {
// Call original .on() with cleaned arguments and return result
return originalOn.apply(this, cleanArgs);
};
// Store original jQuery.fn.find
const originalFind = jQuery.fn.find;
/**
* Override jQuery.fn.find() to detect incorrect [data-sid usage
*
* data-sid is for DevTools debugging only and may be disabled in production.
* Developers should use this.$sid('name') or this.sid('name') from within components.
*/
jQuery.fn.find = function (selector) {
// Check for incorrect [data-sid usage
if (typeof selector === 'string' && selector.includes('[data-sid')) {
throw new Error(`[JQHTML] Incorrect use of data-sid in selector: "${selector}"\n\n` +
`data-sid is a scoped ID system - the data-sid attribute exists only for debugging in DevTools ` +
`and may be disabled in production.\n\n` +
`CORRECT USAGE:\n` +
` • In templates: $sid="my_element"\n` +
` • In JavaScript: this.$sid('my_element') or this.sid('my_element')\n\n` +
`$sid creates a unique ID scoped to the parent component, accessible only from within that component.\n\n` +
`ALTERNATIVES for non-scoped element selection:\n` +
` • data-* attribute: <div data-role="input"> → .find('[data-role="input"]')\n` +
` • BEM class name: <div class="MyComponent__input"> → .find('.MyComponent__input')\n` +
` • Custom attribute: <div data-subelement="input"> → .find('[data-subelement="input"]')`);
}
// Pass through to original .find()
return originalFind.call(this, selector);
};
}
// Try to auto-initialize if global jQuery exists
if (typeof window !== 'undefined' && window.jQuery) {
@@ -4931,7 +4957,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.3.27';
const version = '2.3.28';
// Default export with all functionality
const jqhtml = {
// Core

2
node_modules/@jqhtml/core/dist/index.cjs.map generated vendored Executable file → Normal file

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

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

28
node_modules/@jqhtml/core/dist/index.js generated vendored Executable file → Normal file
View File

@@ -4900,6 +4900,32 @@ function init_jquery_plugin(jQuery) {
// Call original .on() with cleaned arguments and return result
return originalOn.apply(this, cleanArgs);
};
// Store original jQuery.fn.find
const originalFind = jQuery.fn.find;
/**
* Override jQuery.fn.find() to detect incorrect [data-sid usage
*
* data-sid is for DevTools debugging only and may be disabled in production.
* Developers should use this.$sid('name') or this.sid('name') from within components.
*/
jQuery.fn.find = function (selector) {
// Check for incorrect [data-sid usage
if (typeof selector === 'string' && selector.includes('[data-sid')) {
throw new Error(`[JQHTML] Incorrect use of data-sid in selector: "${selector}"\n\n` +
`data-sid is a scoped ID system - the data-sid attribute exists only for debugging in DevTools ` +
`and may be disabled in production.\n\n` +
`CORRECT USAGE:\n` +
` • In templates: $sid="my_element"\n` +
` • In JavaScript: this.$sid('my_element') or this.sid('my_element')\n\n` +
`$sid creates a unique ID scoped to the parent component, accessible only from within that component.\n\n` +
`ALTERNATIVES for non-scoped element selection:\n` +
` • data-* attribute: <div data-role="input"> → .find('[data-role="input"]')\n` +
` • BEM class name: <div class="MyComponent__input"> → .find('.MyComponent__input')\n` +
` • Custom attribute: <div data-subelement="input"> → .find('[data-subelement="input"]')`);
}
// Pass through to original .find()
return originalFind.call(this, selector);
};
}
// Try to auto-initialize if global jQuery exists
if (typeof window !== 'undefined' && window.jQuery) {
@@ -4927,7 +4953,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.3.27';
const version = '2.3.28';
// Default export with all functionality
const jqhtml = {
// Core

2
node_modules/@jqhtml/core/dist/index.js.map generated vendored Executable file → Normal file

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

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

30
node_modules/@jqhtml/core/dist/jqhtml-core.esm.js generated vendored Executable file → Normal file
View File

@@ -1,5 +1,5 @@
/**
* JQHTML Core v2.3.27
* JQHTML Core v2.3.28
* (c) 2025 JQHTML Team
* Released under the MIT License
*/
@@ -4905,6 +4905,32 @@ function init_jquery_plugin(jQuery) {
// Call original .on() with cleaned arguments and return result
return originalOn.apply(this, cleanArgs);
};
// Store original jQuery.fn.find
const originalFind = jQuery.fn.find;
/**
* Override jQuery.fn.find() to detect incorrect [data-sid usage
*
* data-sid is for DevTools debugging only and may be disabled in production.
* Developers should use this.$sid('name') or this.sid('name') from within components.
*/
jQuery.fn.find = function (selector) {
// Check for incorrect [data-sid usage
if (typeof selector === 'string' && selector.includes('[data-sid')) {
throw new Error(`[JQHTML] Incorrect use of data-sid in selector: "${selector}"\n\n` +
`data-sid is a scoped ID system - the data-sid attribute exists only for debugging in DevTools ` +
`and may be disabled in production.\n\n` +
`CORRECT USAGE:\n` +
` • In templates: $sid="my_element"\n` +
` • In JavaScript: this.$sid('my_element') or this.sid('my_element')\n\n` +
`$sid creates a unique ID scoped to the parent component, accessible only from within that component.\n\n` +
`ALTERNATIVES for non-scoped element selection:\n` +
` • data-* attribute: <div data-role="input"> → .find('[data-role="input"]')\n` +
` • BEM class name: <div class="MyComponent__input"> → .find('.MyComponent__input')\n` +
` • Custom attribute: <div data-subelement="input"> → .find('[data-subelement="input"]')`);
}
// Pass through to original .find()
return originalFind.call(this, selector);
};
}
// Try to auto-initialize if global jQuery exists
if (typeof window !== 'undefined' && window.jQuery) {
@@ -4932,7 +4958,7 @@ function init(jQuery) {
}
}
// Version - will be replaced during build with actual version from package.json
const version = '2.3.27';
const version = '2.3.28';
// Default export with all functionality
const jqhtml = {
// Core

2
node_modules/@jqhtml/core/dist/jqhtml-core.esm.js.map generated vendored Executable file → Normal file

File diff suppressed because one or more lines are too long

0
node_modules/@jqhtml/core/dist/jqhtml-debug.esm.js generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/core/dist/jqhtml-debug.esm.js.map generated vendored Executable file → Normal file
View File

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

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

@@ -1 +1 @@
{"version":3,"file":"jquery-plugin.d.ts","sourceRoot":"","sources":["../src/jquery-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAQpE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd;;WAEG;QACH,SAAS,IAAI,gBAAgB,GAAG,IAAI,CAAC;QACrC,SAAS,CAAC,cAAc,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,gBAAgB,CAAC;QAC9F,SAAS,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,gBAAgB,CAAC;QAE/E;;;;;;;WAOG;QACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;KACvC;CACF;AAGD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,GAAG,GAAG,IAAI,CAgXpD"}
{"version":3,"file":"jquery-plugin.d.ts","sourceRoot":"","sources":["../src/jquery-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAQpE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd;;WAEG;QACH,SAAS,IAAI,gBAAgB,GAAG,IAAI,CAAC;QACrC,SAAS,CAAC,cAAc,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,gBAAgB,CAAC;QAC9F,SAAS,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,gBAAgB,CAAC;QAE/E;;;;;;;WAOG;QACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;KACvC;CACF;AAGD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,GAAG,GAAG,IAAI,CA+YpD"}

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

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

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

0
node_modules/@jqhtml/core/dist/load-coordinator.d.ts.map generated vendored Executable file → Normal file
View File

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

0
node_modules/@jqhtml/core/dist/local-storage.d.ts.map 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

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

2
node_modules/@jqhtml/core/package.json generated vendored Executable file → Normal file
View File

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

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

0
node_modules/@jqhtml/parser/dist/ast.d.ts.map generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/ast.js.map generated vendored Executable file → Normal file
View File

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

0
node_modules/@jqhtml/parser/dist/codegen.d.ts.map generated vendored Executable file → Normal file
View File

View File

@@ -1377,7 +1377,7 @@ export class CodeGenerator {
for (const [name, component] of this.components) {
code += `// Component: ${name}\n`;
code += `jqhtml_components.set('${name}', {\n`;
code += ` _jqhtml_version: '2.3.27',\n`; // Version will be replaced during build
code += ` _jqhtml_version: '2.3.28',\n`; // Version will be replaced during build
code += ` name: '${name}',\n`;
code += ` tag: '${component.tagName}',\n`;
code += ` defaultAttributes: ${this.serializeAttributeObject(component.defaultAttributes)},\n`;

0
node_modules/@jqhtml/parser/dist/codegen.js.map generated vendored Executable file → Normal file
View File

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

0
node_modules/@jqhtml/parser/dist/compiler.d.ts.map generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/compiler.js generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/compiler.js.map generated vendored Executable file → Normal file
View File

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

0
node_modules/@jqhtml/parser/dist/errors.d.ts.map generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/errors.js generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/errors.js.map generated vendored Executable file → Normal file
View File

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

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

0
node_modules/@jqhtml/parser/dist/index.js generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/index.js.map generated vendored Executable file → Normal file
View File

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

0
node_modules/@jqhtml/parser/dist/integration.d.ts.map generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/integration.js generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/integration.js.map generated vendored Executable file → Normal file
View File

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

0
node_modules/@jqhtml/parser/dist/lexer.d.ts.map generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/lexer.js generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/lexer.js.map generated vendored Executable file → Normal file
View File

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

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

0
node_modules/@jqhtml/parser/dist/parser.js generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/parser.js.map generated vendored Executable file → Normal file
View File

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

0
node_modules/@jqhtml/parser/dist/runtime.d.ts.map generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/runtime.js generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/parser/dist/runtime.js.map generated vendored Executable file → Normal file
View File

2
node_modules/@jqhtml/parser/package.json generated vendored Executable file → Normal file
View File

@@ -1,6 +1,6 @@
{
"name": "@jqhtml/parser",
"version": "2.3.27",
"version": "2.3.28",
"description": "JQHTML template parser - converts templates to JavaScript",
"type": "module",
"main": "dist/index.js",

0
node_modules/@jqhtml/ssr/QUICKSTART.md generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/ssr/README.md generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/ssr/SPECIFICATION.md generated vendored Executable file → Normal file
View File

2
node_modules/@jqhtml/ssr/package.json generated vendored Executable file → Normal file
View File

@@ -1,6 +1,6 @@
{
"name": "@jqhtml/ssr",
"version": "2.3.27",
"version": "2.3.28",
"description": "Server-Side Rendering for JQHTML components - renders components to HTML for SEO",
"main": "src/index.js",
"bin": {

0
node_modules/@jqhtml/ssr/src/http-intercept.js generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/ssr/src/index.js generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/ssr/src/protocol.js generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/ssr/src/storage.js generated vendored Executable file → Normal file
View File

View File

@@ -1 +1 @@
2.3.27
2.3.28

0
node_modules/@jqhtml/vscode-extension/blade-language-configuration.json generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/vscode-extension/out/blade_component_provider.js.map generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/vscode-extension/out/blade_language_config.js.map generated vendored Executable file → Normal file
View File

0
node_modules/@jqhtml/vscode-extension/out/blade_spacer.js.map generated vendored Executable file → Normal file
View File

2
node_modules/@jqhtml/vscode-extension/package.json generated vendored Executable file → Normal file
View File

@@ -2,7 +2,7 @@
"name": "@jqhtml/vscode-extension",
"displayName": "JQHTML",
"description": "Syntax highlighting and language support for JQHTML template files",
"version": "2.3.27",
"version": "2.3.28",
"publisher": "jqhtml",
"license": "MIT",
"publishConfig": {

0
node_modules/@jqhtml/vscode-extension/syntaxes/blade-jqhtml.tmLanguage.json generated vendored Executable file → Normal file
View File