文件操作 - bi.217.429.js
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/i2kairpad/public_html/wp-content/plugins/bit-integrations/assets/bi.217.429.js
编辑文件内容
var w=Object.defineProperty;var j=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var L=(a,e,s)=>e in a?w(a,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[e]=s,N=(a,e)=>{for(var s in e||(e={}))I.call(e,s)&&L(a,s,e[s]);if(j)for(var s of j(e))P.call(e,s)&&L(a,s,e[s]);return a};import{u as C,r as o,j as i}from"./main-174.js";import{_ as m,z as r}from"./bi.964.0.js";import"./bi.89.470.js";import{S as z}from"./bi.404.13.js";import{S as F}from"./bi.60.1041.js";import{I as T,g as M}from"./bi.48.3.js";import A from"./bi.378.276.js";import{c as k}from"./bi.286.982.js";import{L as B}from"./bi.477.983.js";import"./bi.873.9.js";import"./bi.755.11.js";import"./bi.410.14.js";import"./bi.546.818.js";function $({formFields:a,setFlow:e,flow:s,allIntegURL:g}){const f=C(),[u,p]=o.useState(!1),[v,x]=o.useState({}),[n,b]=o.useState(1),[y,d]=o.useState({show:!1}),[t,l]=o.useState({name:"Livestorm",type:"Livestorm",api_key:"",field_map:[{formField:"",livestormFormField:""}],actionName:"addPeopletoEventSession",actions:{}}),_=()=>{p(!0),M(s,e,g,t,f,"","",p).then(c=>{var S;c.success?(r.success((S=c.data)==null?void 0:S.msg),f(g)):r.error(c.data||c)})},E=h=>{if(setTimeout(()=>{document.getElementById("btcd-settings-wrp").scrollTop=0},300),!k(t)){r.error(m("Please map mandatory fields","bit-integrations"));return}if(!t.selectedEvent){r.error(m("Please select an Event","bit-integrations"));return}if(!t.selectedSession){r.error(m("Please select a Session","bit-integrations"));return}t.field_map.length>0&&b(h)};return i.jsxs("div",{children:[i.jsx(z,{snack:y,setSnackbar:d}),i.jsx("div",{className:"txt-center mt-2",children:i.jsx(F,{step:3,active:n})}),i.jsx(A,{livestormConf:t,setLivestormConf:l,step:n,setStep:b,loading:v,setLoading:x,setSnackbar:d}),i.jsxs("div",{className:"btcd-stp-page",style:N({},n===2&&{width:900,height:"auto",overflow:"visible"}),children:[i.jsx(B,{formFields:a,livestormConf:t,setLivestormConf:l,loading:v,setLoading:x,isLoading:u,setIsLoading:p,setSnackbar:d}),(t==null?void 0:t.actionName)&&i.jsxs("button",{onClick:()=>E(3),disabled:!k(t),className:"btn f-right btcd-btn-lg purple sh-sm flx",type:"button",children:[m("Next","bit-integrations")," ",i.jsx("div",{className:"btcd-icn icn-arrow_back rev-icn d-in-b"})]})]}),(t==null?void 0:t.actionName)&&i.jsx(T,{step:n,saveConfig:()=>_(),isLoading:u,dataConf:t,setDataConf:l,formFields:a})]})}export{$ as default};
修改文件时间
将文件时间修改为当前时间的前一年
删除文件