| Server IP : 3.93.235.159 / Your IP : 216.73.216.140 Web Server : Apache System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64 User : bitnami ( 1000) PHP Version : 8.2.9 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bitnami/wordpress/wp-content/plugins/hello-plus/modules/forms/assets/js/editor/ |
Upload File : |
import Component from './component';
import FieldsMapControl from './fields-map-control';
import FieldsRepeaterControl from './fields-repeater-control';
export default class FormsModule extends elementorModules.editor.utils.Module {
onElementorInit() {
const ReplyToField = require( './reply-to-field' );
this.replyToField = new ReplyToField();
// Form fields
const AcceptanceField = require( './fields/acceptance' ),
TelField = require( './fields/tel' );
this.Fields = {
tel: new TelField( 'ehp-form' ),
acceptance: new AcceptanceField( 'ehp-form' ),
};
elementor.addControlView( 'ehp_fields_map', FieldsMapControl );
elementor.addControlView( 'ehp_forms_fields_repeater', FieldsRepeaterControl );
if ( typeof elementorPromotionsData !== 'undefined' ) {
elementorPromotionsData.collect_submit = window.ehpFormsPromotionData;
}
}
onElementorInitComponents() {
$e.components.register( new Component( { manager: this } ) );
}
}