403Webshell
Server IP : 52.25.153.185  /  Your IP : 216.73.217.111
Web Server : Apache
System : Linux ip-172-26-6-158 5.10.0-45-cloud-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64
User : daemon ( 1)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /bitnami/wordpress/wp-content/plugins/fluent-crm/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /bitnami/wordpress/wp-content/plugins/fluent-crm/assets/_ImportRunner.js
import{F as e}from"./_FormBuilder.js?ver=3.2.0";import{aR as t,Y as r,a2 as i,a5 as l,ae as a,a3 as n,ad as o,ac as s,P as m,aA as p,Z as d,a4 as c,aa as _}from"./vendor.js?ver=3.2.0";import{_ as u}from"./fc-bits-ui.js?ver=3.2.0";import{aF as h,a_ as f,ba as g,aw as v,aR as y}from"./vendor-element-plus.js?ver=3.2.0";import{O as b}from"./_OptionSelector.js?ver=3.2.0";const k={class:"fc_credential"},$={class:"fc_step_header"},V={key:0,class:"fcrm_import_others_doc_link"},w=["href"];const C=u({name:"CredentialVerify",components:{FormBuilder:e},props:["driver","cred","current_driver"],emits:["verified","back"],expose:["verifyConnection","verifying"],data:()=>({verifying:!1}),methods:{verifyConnection(){this.verifying=!0,this.$emit("verifying-change",!0),this.$post("migrators/verify-cred",{driver:this.driver,credential:this.cred}).then(e=>{this.$notify.success(e.message),this.$emit("verified")}).catch(e=>{this.handleError(e)}).finally(()=>{this.verifying=!1,this.$emit("verifying-change",!1)})},back(){this.$emit("back")}}},[["render",function(e,m,p,d,c,_){const u=t("form-builder");return r(),i("div",k,[l("div",$,[l("h3",null,a(e.$t("Connect with"))+" "+a(p.driver),1),l("p",null,a(e.$t("Please configure"))+" "+a(p.driver)+" "+a(e.$t("with API key")),1)]),n(u,{class:"fcrm_mb_12",formData:p.cred,fields:p.current_driver.credential_fields},null,8,["formData","fields"]),p.current_driver.doc_url?(r(),i("p",V,[l("a",{style:{"text-decoration":"underline"},target:"_blank",rel:"noopener",href:p.current_driver.doc_url},[m[0]||(m[0]=l("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"11",viewBox:"0 0 11 11",fill:"none"},[l("path",{d:"M4.2 1.8V3H1.2V9.6H7.8V6.6H9V10.2C9 10.3591 8.93679 10.5117 8.82426 10.6243C8.71174 10.7368 8.55913 10.8 8.4 10.8H0.6C0.44087 10.8 0.288258 10.7368 0.175736 10.6243C0.0632141 10.5117 0 10.3591 0 10.2V2.4C0 2.24087 0.0632141 2.08826 0.175736 1.97574C0.288258 1.86321 0.44087 1.8 0.6 1.8H4.2ZM10.8 0V4.8H9.6V2.0478L4.9242 6.7242L4.0758 5.8758L8.751 1.2H6V0H10.8Z",fill:"var(--fc-deep-bg)"})],-1)),o(" "+a(e.$t("Check the documentation")),1)],8,w),o(" "+a(e.$t("for migrating from"))+" ",1),l("b",null,a(p.current_driver.title),1)])):s("",!0)])}]]),F={class:"fcrm_import_contact_field_mapper fcrm_import_tag_mapper"},H={class:"fcrm_import_tag_mapper_table"},M={key:0};const U=u({name:"ContactFieldMapper",props:["contact_fields","contact_fillables","driver"],data:()=>({}),methods:{ucFirst:e=>e?e.charAt(0).toUpperCase()+e.slice(1):""}},[["render",function(e,t,o,s,_,u){const v=h,y=f,b=g;return r(),i("div",F,[l("table",H,[l("thead",null,[l("tr",null,[l("th",null,a(u.ucFirst(o.driver))+" "+a(e.$t("Field")),1),l("th",null,a(e.$t("FluentCRM Field")),1),l("th",null,a(e.$t("Skip")),1)])]),l("tbody",null,[(r(!0),i(m,null,p(o.contact_fields,(t,s)=>(r(),i("tr",{key:s},[l("td",null,a(t.remote_label),1),l("td",null,["yes"==t.will_skip?(r(),i("span",M,a(e.$t("this value will be skipped")),1)):(r(),d(y,{key:1,modelValue:t.fluentcrm_field,"onUpdate:modelValue":e=>t.fluentcrm_field=e,filterable:"",clearable:""},{default:c(()=>[t.options?(r(!0),i(m,{key:0},p(t.options,(e,t)=>(r(),d(v,{key:t,value:t,label:e},null,8,["value","label"]))),128)):(r(!0),i(m,{key:1},p(o.contact_fillables,(e,t)=>(r(),d(v,{key:t,value:t,label:e},null,8,["value","label"]))),128))],void 0),_:2},1032,["modelValue","onUpdate:modelValue"]))]),l("td",null,[n(b,{"active-value":"yes","inactive-value":"no",modelValue:t.will_skip,"onUpdate:modelValue":e=>t.will_skip=e},null,8,["modelValue","onUpdate:modelValue"])])]))),128))])])])}]]),x={class:"fcrm_import_tag_mapper"},A={class:"fcrm_import_tag_mapper_hidden_selector"},I={key:0,class:"fcrm_import_tag_mapper_table"},L={class:"fcrm_import_tag_mapper_auto_th"},T={class:"fcrm_import_tag_mapper_auto_header"},E={class:"fcrm_import_tag_mapper_auto_label"},R={class:"fcrm_import_tag_mapper_auto_all"},S={class:"fcrm_import_tag_mapper_select_all"},j={class:"fcrm_import_tag_mapper_remote_label"},O={key:0,class:"fcrm_import_tag_mapper_auto_created"},P={key:2},B=["innerHTML"];const Z=u({name:"TagMapper",components:{OptionSelector:b},props:["tag_options","driver","current_driver","item_label","option_key"],data:()=>({app_ready:!1,simulated_tag_id:"",element_ready:!1,autoCreateAll:"no"}),watch:{autoCreateAll(e){"yes"==e?this.tag_options.forEach(e=>{e.will_create="yes"}):this.tag_options.forEach(e=>{e.will_create="no"})}},methods:{initOptions(){this.element_ready=!0},ucFirst:e=>e?e.charAt(0).toUpperCase()+e.slice(1):""},mounted(){this.app_ready=!0}},[["render",function(e,o,c,_,u,h){const f=t("option-selector"),v=g;return r(),i("div",x,[l("span",A,[n(f,{onElement_ready:o[0]||(o[0]=e=>h.initOptions()),modelValue:u.simulated_tag_id,"onUpdate:modelValue":o[1]||(o[1]=e=>u.simulated_tag_id=e),field:{is_multiple:!1,creatable:!0,option_key:"tags"}},null,8,["modelValue"])]),u.app_ready?(r(),i("table",I,[l("thead",null,[l("tr",null,[l("th",null,a(h.ucFirst(c.driver))+" "+a(c.item_label),1),l("th",null,"FluentCRM "+a(c.item_label),1),l("th",L,[l("div",T,[l("span",E,a(e.$t("Auto Create"))+" "+a(c.item_label)+"? ",1),l("div",R,[n(v,{"active-value":"yes","inactive-value":"no",modelValue:u.autoCreateAll,"onUpdate:modelValue":o[2]||(o[2]=e=>u.autoCreateAll=e)},null,8,["modelValue"]),l("span",S,a(e.$t("Select All")),1)])])])])]),l("tbody",null,[(r(!0),i(m,null,p(c.tag_options,t=>(r(),i("tr",{key:t.remote_id},[l("td",null,[l("span",j,a(t.remote_name),1)]),l("td",null,["yes"==t.will_create?(r(),i("span",O,a(c.item_label)+" "+a(e.$t("will be created automatically in FluentCRM")),1)):u.element_ready?(r(),d(f,{key:1,modelValue:t.fluentcrm_id,"onUpdate:modelValue":e=>t.fluentcrm_id=e,field:{is_multiple:!1,creatable:!0,option_key:c.option_key}},null,8,["modelValue","onUpdate:modelValue","field"])):(r(),i("span",P,a(e.$t("Loading...")),1))]),l("td",null,[n(v,{"active-value":"yes","inactive-value":"no",modelValue:t.will_create,"onUpdate:modelValue":e=>t.will_create=e},null,8,["modelValue","onUpdate:modelValue"])])]))),128))])])):s("",!0),l("p",{innerHTML:c.current_driver[c.option_key+"_map_info"]},null,8,B)])}]]),D={class:"fc_step_header"},Y={key:0,class:"text-align-center fcrm_import_runner"},q={key:1,class:"text-align-center fcrm_import_runner"},z=["innerHTML"],G={key:1,class:"text-align-left"},J={key:2,class:"text-align-center fcrm_import_runner"},K=["innerHTML"];const N=u({name:"ImportRunner",props:["driver","credential","map_settings","segment_options"],emits:["hide","import-done","importing-change","prev"],data:()=>({loading:!1,import_summary:{},importing:!1,import_completed:!1,import_info:{completed:0,total:0,import_tracker:{}},errors:!1}),methods:{fetchImportSummary(){this.loading=!0,this.$post("migrators/summary",{driver:this.driver,credential:this.credential,map_settings:this.map_settings,...this.segment_options}).then(e=>{this.import_summary=e.import_summary}).catch(e=>{this.handleError(e),this.$emit("prev")}).finally(()=>{this.loading=!1})},startImport(){this.importing=!0,this.$emit("importing-change",!0),this.$post("migrators/import",{driver:this.driver,credential:this.credential,map_settings:this.map_settings,completed:this.import_info.completed,import_tracker:this.import_info.import_tracker,...this.segment_options}).then(e=>{this.import_info=e.import_info,e.import_info.has_more?this.$nextTick(()=>{this.startImport()}):(this.import_completed=!0,this.$emit("importing-change",!1),this.$emit("import-done"))}).catch(e=>{this.importing=!1,this.$emit("importing-change",!1),this.handleError(e),this.errors=e}).finally(()=>{})},viewSubscriber(){this.$router.push({name:"subscribers"}),this.$emit("hide")}},mounted(){this.fetchImportSummary()}},[["render",function(e,t,n,m,p,c){const u=y,h=v;return _((r(),i("div",null,[l("div",D,[l("h3",null,a(e.$t("Review & Import")),1),t[0]||(t[0]=l("p",null,null,-1))]),p.import_completed?(r(),i("div",Y,[l("h3",null,a(e.$t("All contacts from"))+" "+a(n.driver)+" "+a(e.$t("has been completed.")),1)])):p.importing?(r(),i("div",q,[l("h3",null,a(e.$t("Importing now...")),1),l("h4",null,a(e.$t("Use_Please_dnctm")),1),l("template",null,[p.import_info.total&&!p.import_info.hide_progress?(r(),d(u,{key:0,"text-inside":!0,"stroke-width":24,percentage:parseInt(p.import_info.completed/p.import_info.total*100),status:"success"},null,8,["percentage"])):s("",!0),_((r(),i("p",null,[o(a(e.$t("Migrating")),1)])),[[h,p.importing]]),l("p",{innerHTML:p.import_info.message},null,8,z),p.errors?(r(),i("div",G,[l("h4",null,a(e.$t("Importing_Error_message")),1),l("pre",null,a(p.errors),1)])):s("",!0)])])):(r(),i("div",J,[l("h2",{innerHTML:p.import_summary.message},null,8,K)]))])),[[h,p.loading]])}]]);export{C,N as I,Z as T,U as a};

Youez - 2016 - github.com/yon3zu
LinuXploit