| Server IP : 52.25.153.185 / Your IP : 216.73.216.95 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 : |
import{ic as t,iD as o,E as e}from"./vendor-element-plus.js?ver=3.2.0";import{aR as s,Y as c,a2 as a,a5 as i,ae as r,Z as n,a4 as p,a3 as m}from"./vendor.js?ver=3.2.0";import{_ as d}from"./fc-bits-ui.js?ver=3.2.0";const l={class:"fcrm_item_copier_wrapper"},u={class:"fcrm_smart_url_box"},y={class:"fcrm_smart_url_text"};const _=d({name:"ItemCopier",components:{CopyDocument:o,Check:t},props:["text","showViewButton"],data:()=>({copy_success:!1}),methods:{copyItem(){this.copy_success=!1;const t=this.text;let o=!1;if(window.clipboardData&&window.clipboardData.setData)window.clipboardData.clipboardData.setData("Text",t),o=!0;else if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const s=document.createElement("textarea");s.textContent=t,s.style.position="fixed",document.body.appendChild(s),s.select();try{document.execCommand("copy"),o=!0}catch(e){console.warn("Copy to clipboard failed.",e),o=!1}finally{document.body.removeChild(s)}}o?(this.copy_success=!0,this.$notify({message:this.$t("Copied to your clipboard"),position:"bottom-right",customClass:"bottom_right",type:"success"}),setTimeout(()=>{this.copy_success=!1},2e3)):this.$notify({message:this.$t("Your Browser does not support JS copy. Please copy manually"),position:"bottom-right",customClass:"bottom_right",type:"error"})},openUrl(){this.text&&window.open(this.text,"_blank")}}},[["render",function(t,o,d,_,h,f){const b=s("CopyDocument"),C=e,w=s("Check");return c(),a("div",l,[i("div",u,[i("span",y,r(d.text),1),i("button",{class:"fcrm_copy_btn",onClick:o[0]||(o[0]=(...t)=>f.copyItem&&f.copyItem(...t)),type:"button"},[h.copy_success?(c(),n(C,{key:1,class:"fcrm_check_icon"},{default:p(()=>[m(w)],void 0),_:1})):(c(),n(C,{key:0,class:"fcrm_copy_icon"},{default:p(()=>[m(b)],void 0),_:1}))])])])}]]);export{_ as I};