Boilerplate for extending App Connect components is:
dmx.Component('form-repeat-ext', {
extends: 'form-repeat',
// extended properties and methods here
});
The above will create a new component named form-repeat-ext and will extend all properties/methods from form-repeat. With the above code it is simply a clone of form-repeat since no properties are extended.