Current Path : /home/church/www/africadayfestival.com/wp-content/plugins/ninja-forms/build/ |
Current File : /home/church/www/africadayfestival.com/wp-content/plugins/ninja-forms/build/dashboard.js |
!function(e){var n={};function t(a){if(n[a])return n[a].exports;var s=n[a]={i:a,l:!1,exports:{}};return e[a].call(s.exports,s,s.exports,t),s.l=!0,s.exports}t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var s in e)t.d(a,s,function(n){return e[n]}.bind(null,s));return a},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=701)}({0:function(e,n){e.exports=window.wp.element},130:function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var a=t(0),s=t(3),r=t(7),c=function(){var e="undefined"!=typeof ninja_forms_admin_dashboard_data&&void 0!==ninja_forms_admin_dashboard_data.pluginDir?ninja_forms_admin_dashboard_data.pluginDir.concat("ninja-forms/assets/img/promotions/dashboard-user-management.png"):"";return Object(a.createElement)(r.Card,{className:"widget"},Object(a.createElement)(r.CardHeader,null,Object(a.createElement)("h2",null,Object(s.__)("User Access allow you to manage who can see and edit form submissions from an easy to use control panel.","ninja-forms"))),Object(a.createElement)(r.CardBody,null,Object(a.createElement)("h3",null,Object(s.__)("Grant or restrict access for :","ninja-forms")),Object(a.createElement)("ul",{className:"nf-dashboard-user-access-ul-a"},Object(a.createElement)("li",{key:"nf-dashboard-user-access-li-a1"},Object(a.createElement)("h4",null,Object(s.__)("Viewing submissions","ninja-forms"))),Object(a.createElement)("li",{key:"nf-dashboard-user-access-li-a2"},Object(a.createElement)("h4",null,Object(s.__)("Editing submissions","ninja-forms"))),Object(a.createElement)("li",{key:"nf-dashboard-user-access-li-a3"},Object(a.createElement)("h4",null,Object(s.__)("Set permissions by user role","ninja-forms"))),Object(a.createElement)("li",{key:"nf-dashboard-user-access-li-a4"},Object(a.createElement)("h4",null,Object(s.__)("Let users edit their submissions","ninja-forms"))),Object(a.createElement)("li",{key:"nf-dashboard-user-access-li-a5"},Object(a.createElement)("h4",null,Object(s.__)("Delegate submission management","ninja-forms")))),Object(a.createElement)("h3",null,Object(s.__)("User Access controls are just one of the many things you can do with the User Management add-on!","ninja-forms")),Object(a.createElement)("div",{className:"nf-dashboard-user-access-button"},Object(a.createElement)(r.Button,{className:"nf-button primary",text:Object(s.__)("Get User Management","ninja-forms"),href:"https://ninjaforms.com/extensions/user-management/?utm_source=Ninja+Forms+Plugin&utm_medium=Dashboard+User+Access",target:"_blank",icon:"admin-collapse",iconPosition:"right"}))),Object(a.createElement)(r.CardFooter,null,Object(a.createElement)(r.CardMedia,null,Object(a.createElement)("figure",null,Object(a.createElement)("figcaption",null,Object(s.__)("User Access Control Panel","ninja-forms")),Object(a.createElement)("img",{className:"nf-user-access-dasboard-screenshot",src:e,alt:Object(s.__)("Ninja Forms User Management Submissions Access settings screenshot","ninja-forms")})))))}},134:function(e,n){e.exports=window.wp.domReady},3:function(e,n){e.exports=window.wp.i18n},7:function(e,n){e.exports=window.wp.components},701:function(e,n,t){"use strict";t.r(n);var a=t(134),s=t.n(a),r=t(0),c=t(130);s()((function(){u(),o.observe(document.getElementById("ninja-forms-dashboard"),{subtree:!0,childList:!0})}));var o=new MutationObserver((function(e){e.forEach((function(e){e.addedNodes.forEach((function(e){"nf-user-access-settings-anchor"==e.id&&ninja_forms_admin_dashboard_data.load_user_management&&i()}))}))})),i=function(){Object(r.render)(Object(r.createElement)(c.a),document.getElementById("nf-user-access-settings-anchor"))},u=function(){jQuery(document).ajaxComplete((function(){"#user-access"===window.location.hash&&l(),jQuery('a[href="#user-access"]').on("click",(function(e){e.preventDefault(),l()}))}))},l=function(){jQuery("nav.sections a.active").removeClass("active"),jQuery("nav.sections .user-access a").addClass("active"),"#user-access"!==window.location.hash&&(window.location.hash="user-access"),jQuery("#ninja-forms-dashboard > div > .content > div")[0].innerHTML='<div id="nf-user-access-settings-anchor"></div>'}}});