ci: auto build & obfuscate [2026-04-06 00:50:28] (Jenkins #7)

This commit is contained in:
Jenkins CI
2026-04-06 00:50:28 +08:00
parent ed3f52a568
commit 49c1fa6f60
142 changed files with 38769 additions and 29661 deletions

View File

@@ -0,0 +1,28 @@
import { Module, ModuleBuilder } from './Module.js';
import { bindApiConfigPanel } from '../../ui/api-config-bindings.js';
import { syncAllSlots } from '../../ui/profile-sync.js';
const builder = new ModuleBuilder()
.name('ApiConfig')
.view('assets/api-config-panel.html')
.strict(true)
.required(['mount']);
export default class ApiConfigModule extends Module {
constructor() {
super(builder);
}
async mount() {
if (this.el) {
this.el.id = 'amily2_api_config_panel';
this.el.style.display = 'none';
}
bindApiConfigPanel($(this.el));
syncAllSlots();
}
expose() {
return { syncAllSlots };
}
}