UNPKG

cluedin-widget

Version:
1 lines 2.1 kB
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{2225:function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),s=n(8),r=n(24),c=n(25),l=n(127),m=n.n(l),i=n(9),u=n(40),d=n.n(u),C=n(4),p={minWidth:"200px",maxWidth:"200px",background:"white",margin:"0 16px 16px 0"},f=Object(s.connect)(function(){return{}},function(e){return{goToForms:function(){e(Object(r.push)("/consent/forms"))},goToCreateConsentForm:function(){e(Object(r.push)("/consent/forms/create"))},goToCreateConsent:function(){e(Object(r.push)("/consent/consents/create"))},gotToConsents:function(){e(Object(r.push)("/consent/consents"))}}})(function(e){var t=e.gotToConsents,n=e.goToForms,o=e.goToCreateConsentForm,s=e.goToCreateConsent;return a.a.createElement("div",{style:{marginBottom:"15px",margin:"15px"}},a.a.createElement(c.Flex,{style:{justifyContent:"flex-start"}},a.a.createElement(d.a,{style:p},a.a.createElement(m.a,{menuDescriptor:{displayName:a.a.createElement(C.FormattedMessage,{id:"module-consent-consentForm",defaultMessage:"Consent Forms"}),key:"Consent Forms",hasNew:!1,icon:a.a.createElement(i.Listul,null),onClick:function(){n()},isPromoted:!1}})),a.a.createElement(d.a,{style:p},a.a.createElement(m.a,{menuDescriptor:{displayName:a.a.createElement(C.FormattedMessage,{id:"module-consent-consents",defaultMessage:"All Consents"}),key:"Consents",hasNew:!1,icon:a.a.createElement(i.Consent,null),onClick:function(){t()},isPromoted:!1}})),a.a.createElement(d.a,{style:p},a.a.createElement(m.a,{menuDescriptor:{displayName:a.a.createElement(C.FormattedMessage,{id:"module-consent-createConsentForm",defaultMessage:"Create Consent Form"}),key:"CreateConsentForm",hasNew:!1,icon:a.a.createElement(i.Add,null),onClick:function(){o()},isPromoted:!1}})),a.a.createElement(d.a,{style:p},a.a.createElement(m.a,{menuDescriptor:{displayName:a.a.createElement(C.FormattedMessage,{id:"module-consent-createSingleConsent",defaultMessage:"Create Consent"}),key:"CreateConsent",hasNew:!1,icon:a.a.createElement(i.Add,null),onClick:function(){s()},isPromoted:!1}}))))});t.default=function(){return a.a.createElement(f,null)}}}]);