File manager - Edit - /home/palg2351/public_html/wp-content/plugins/bit-integrations/assets/bi.897.128.js
Back
import{u as b,o as C,e as d,r,f as I,j as t}from"./main-312.js";import{$ as _,e as w,f as v,_ as i,k as y}from"./bi.245.0.js";import{S as F}from"./bi.513.13.js";import"./bi.106.452.js";import{S as N,I as k,s as E}from"./bi.403.3.js";import{h as c,c as f}from"./bi.499.939.js";import{S as L}from"./bi.50.940.js";import"./bi.83.9.js";import"./bi.85.11.js";import"./bi.820.14.js";function H({allIntegURL:p}){const g=b();C();const[n,P]=d(_),[e,a]=d(w),[u,x]=r.useState(!1),[h,m]=r.useState({}),[S,s]=r.useState({show:!1}),l=I(v),j=()=>{if(!f(e)){s({show:!0,msg:i("Please map mandatory fields","bit-integrations")});return}if(e.actionName==="lead"&&!e.selectedCRMPipeline){y.error(i("Please select a pipeline","bit-integrations"));return}E({flow:n,allIntegURL:p,conf:e,navigate:g,edit:1,setLoading:m,setSnackbar:s})};return t.jsxs("div",{style:{width:900},children:[t.jsx(F,{snack:S,setSnackbar:s}),t.jsxs("div",{className:"flx mt-3",children:[t.jsx("b",{className:"wdt-200 d-in-b",children:i("Integration Name:","bit-integrations")}),t.jsx("input",{className:"btcd-paper-inp w-5",onChange:o=>c(o,e,a),name:"name",value:e.name,type:"text",placeholder:i("Integration Name...","bit-integrations")})]}),t.jsx("br",{}),t.jsx(N,{entity:n.triggered_entity,setSnackbar:s}),t.jsx(L,{formID:n.triggered_entity_id,formFields:l,handleInput:o=>c(o,e,a),salesmateConf:e,setSalesmateConf:a,loading:h,setLoading:m,setIsLoading:x,setSnackbar:s}),t.jsx(k,{edit:!0,saveConfig:j,disabled:!f(e),isLoading:u,dataConf:e,setDataConf:a,formFields:l}),t.jsx("br",{})]})}export{H as default};
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings