b0VIM 7.4ã)YаDcdupontcdupont-laptop~cdupont/Documents/Waziup/waziup-dashboard/src/components/notification/notifForm/NotifForm.jsutf-8 3210#"! Utpwex áad,$wØŸv7ߪyS'ñ À z @ 7 (  û Å � œ › w a O  þ í æ â á É Å Ä œ Z V U H Ï ¹ § � y _ 8 #  ý ó á Ê ³ ™ z a V L E @ êÙk$ýáÏ¿®›oKðßÌž„`?.ÿâÀ¡fQ?+ýü¤ˆnDäÛŸUONM6þÏÈÆ¹©~^C$ open={modalOpen} modal={true} actions={actions} title="Add new Notification" ) let attrsList2 = uniq([].concat.apply([], attrsList)) } attrsList.push(attrs) let attrs = UTIL.getMeasurements(s).map((m) => m.key) for(let s of this.props.sensors) { var attrsList = [] let attrsList = () => { let sensorList = sensors.map((s) => ) ); )} onClick={() => fields.remove(index)}/> secondary={true} name="removesensor" label="Remove" label="Header"/> component={TextField} type="text" name={`${member}.headerValue`} label={`header value ${index}`}> component={TextField} name={`${member}.headerName`}
  • {fields.map((member, index) => {(touched || submitFailed) && error && {error}} fields.push({})}/>
      const renderHeaders = ({ fields, meta: { touched, error, submitFailed } }) => ( ]; />, }} handleClose(); this.props.submit(); onTouchTap={()=>{ primary={true} label="Submit" , }} handleClose(); reset(); this.setState({notif:{}}); onTouchTap={()=>{ primary={true} label="Cancel" 400", attrs: [], sensors: [], desc: "Send XXX when YYY", initialValues:{ state => ({notifForm = connect(})(notifForm) enableReinitialize : true, form: 'notifForm',notifForm = reduxForm({// Decorate with redux-form} } ); ref="throttling" withRef> floatingLabelText="Throttling" hintText="throttling" component={TextField} ref="expires" withRef> floatingLabelText="Expires" hintText="Expires" component={DatePicker} ref="payload" withRef> floatingLabelText="Payload" hintText="Payload" fullWidth={true} component={TextField} ref="headers" withRef> floatingLabelText="Headers" hintText="Headers" component={renderHeaders} fullWidth={true} ref="url" withRef> floatingLabelText="URL" hintText="URL" fullWidth={true} component={TextField} ref="expression" withRef> floatingLabelText="Expression" hintText="expression" fullWidth={true} component={TextField} {attrsList()} ref="sensors" withRef> floatingLabelText="Attributes" hintText="attributes" multiple={true} component={SelectField} {sensorList} ref="sensors" withRef> floatingLabelText="Sensors" multiple={true} component={SelectField} ref="description" withRef/> floatingLabelText="Description" component={TextField} fullWidth={true}
  • > ref={'notifFormDialog'} autoScrollBodyContent={true}