File manager - Edit - /home/palg2351/public_html/wp-content/plugins/bit-integrations/assets/bi.121.61.js
Back
import{o as j,u as w,e as c,r as l,f as k,j as e}from"./main-312.js";import{e as I,$ as _,f as C,_ as o}from"./bi.245.0.js";import{S}from"./bi.513.13.js";import"./bi.106.452.js";import{S as v,I as y,s as N}from"./bi.403.3.js";import{h as p,c as D}from"./bi.410.813.js";import{Z as F}from"./bi.308.814.js";import"./bi.83.9.js";import"./bi.85.11.js";import"./bi.820.14.js";import"./bi.574.745.js";import"./bi.650.746.js";function H({allIntegURL:f}){const{id:E,formID:r}=j(),g=w(),[t,n]=c(I),[m,u]=c(_),[x,i]=l.useState(!1),[h,s]=l.useState({show:!1}),d=k(C),b=()=>{var a;if(!D(t)){s({show:!0,msg:o("Please map mandatory fields","bit-integrations")});return}if(!((a=t.actions)!=null&&a.ticket_owner)){s({show:!0,msg:o("Please select a ticket owner","bit-integrations")});return}N({flow:m,setFlow:u,allIntegURL:f,conf:t,navigate:g,edit:1,setIsLoading:i,setSnackbar:s})};return e.jsxs("div",{style:{width:900},children:[e.jsx(S,{snack:h,setSnackbar:s}),e.jsxs("div",{className:"flx mt-3",children:[e.jsx("b",{className:"wdt-200 d-in-b",children:o("Integration Name:","bit-integrations")}),e.jsx("input",{className:"btcd-paper-inp w-7",onChange:a=>p(a,t,n),name:"name",value:t.name,type:"text",placeholder:o("Integration Name...","bit-integrations")})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(v,{entity:m.triggered_entity,setSnackbar:s}),e.jsx(F,{formID:r,formFields:d,handleInput:a=>p(a,t,n,r,i,s),deskConf:t,setDeskConf:n,isLoading:x,setIsLoading:i,setSnackbar:s}),e.jsx(y,{edit:!0,saveConfig:b,disabled:t.department===""||t.table===""||t.field_map.length<1,dataConf:t,setDataConf:n,formFields:d})]})}export{H as default};
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings