import { DROP_IN_TYPE , ModalOpenContextBuilder , ModalOpenContext , FluentAssignMethod , arrayUnion } from 'ngx-modialog' ; const DEFAULT_SETTERS = [ 'promptDefault' ] ; export class JSNativeModalContext extends ModalOpenContext { promptDefault : string ; dialogType : DROP_IN_TYPE ; normalize ( ) { if ( ! this . message ) this . message = '' ; if ( this . dialogType === undefined ) this . dialogType = DROP_IN_TYPE . alert ; } } export class JSNativeModalContextBuilder < T extends JSNativeModalContext > extends ModalOpenContextBuilder < T > { /**
     * The default value for the prompt input
     */ promptDefault : FluentAssignMethod < string , this > ; constructor ( defaultValues = undefined , initialSetters = undefined , baseType = undefined ) { super ( defaultValues || < any > { } , arrayUnion < string > ( DEFAULT_SETTERS , initialSetters || [ ] ) , baseType || < any > JSNativeModalContext ) ; } }