// Config Renderer - Handles all rendering logic class ConfigRenderer { constructor() { this.fieldTypes = { text: this.renderTextField.bind(this), number: this.renderNumberField.bind(this), email: this.renderEmailField.bind(this), password: this.renderPasswordField.bind(this), select: this.renderSelectField.bind(this), checkbox: this.renderCheckboxField.bind(this), textarea: this.renderTextareaField.bind(this) }; } renderSubcategoryWithMaster(masterKey, configItems, displaySubcategory, subcategoryDescription, isAdvanced = false) { const isEnabled = masterKey.value === 'true'; const sectionId = `master-${masterKey.key}`; let html = `
${subcategoryDescription}
${subcategoryDescription}
${subcategoryDescription}