PageSourceSearch

https://kiku.listen.org/3906.366f62e5bdae17cb.bundle.js

js listen.org collected 2026-10-02 06:42:08 UTC 6,066 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkclient"]=self["webpackChunkclient"]||[]).push([[3906],{23906:function(e,a,t){t.r(a),t.d(a,{default:function(){return N}});var s=t(20641),l=t(90033);const i={class:"o-maxwidth"},o={class:"merge-header mb-5"},r={class:"level"},n={class:"level-left"},d={class:"level-item"},c={class:"title mb-0"},g={class:"level-right"},u={class:"level-item"},m={class:"icon is-small"},h={class:"card p-5"},k={class:"is-size-7"},p={class:"tag is-rounded is-light is-small"},b={class:"merged-record"},f={class:"tag is-rounded is-danger is-light is-small mr-2"},y={class:"has-text-weight-medium"},v={class:"has-text-grey ml-1"},L={class:"icon has-text-grey"},w={class:"merged-record"},_={class:"tag is-rounded is-success is-light is-small mr-2"},$={class:"has-text-weight-medium"},C={class:"has-text-grey ml-1"},P={key:0,class:"tag is-rounded is-success is-small"},x={key:1,class:"tag is-rounded is-warning is-small"},F=["onClick"],I={class:"icon is-small"},R={key:1,class:"has-text-grey is-size-7"},T={class:"has-text-centered py-5"},M={class:"has-text-grey"};function B(e,a,t,B,E,D){const U=(0,s.g2)("b-loading"),X=(0,s.g2)("font-awesome-icon"),N=(0,s.g2)("router-link"),z=(0,s.g2)("b-table-column"),A=(0,s.g2)("b-tooltip"),V=(0,s.g2)("b-table");return(0,s.uX)(),(0,s.CE)("section",i,[(0,s.bF)(U,{modelValue:E.isLoading,"onUpdate:modelValue":a[0]||(a[0]=e=>E.isLoading=e),"is-full-page":!1},null,8,["modelValue"]),(0,s.Lk)("div",o,[(0,s.Lk)("div",r,[(0,s.Lk)("div",n,[(0,s.Lk)("div",d,[(0,s.Lk)("h2",c,(0,l.v_)(e.$t("Merge History")),1)])]),(0,s.Lk)("div",g,[(0,s.Lk)("div",u,[(0,s.bF)(N,{to:{name:"MergeIndex"},class:"button is-primary is-small is-rounded"},{default:(0,s.k6)(()=>[(0,s.Lk)("span",m,[(0,s.bF)(X,{icon:"fa-light fa-merge"})]),(0,s.Lk)("span",null,(0,l.v_)(e.$t("New Merge")),1)]),_:1})])])])]),(0,s.Lk)("div",h,[E.logs?((0,s.uX)(),(0,s.Wv)(V,{key:0,data:E.logs,loading:E.isLoading,"mobile-cards":!1,hoverable:!0,paginated:E.totalItems>E.itemsPerPage,total:E.totalItems,"per-page":E.itemsPerPage,"backend-pagination":"","pagination-rounded":"",onPageChange:D.onPageChange},{empty:(0,s.k6)(()=>[(0,s.Lk)("div",T,[(0,s.bF)(X,{icon:"fa-light fa-history",class:"is-size-1 has-text-grey-light mb-3"}),(0,s.Lk)("p",M,(0,l.v_)(e.$t("No merge history found")),1)])]),default:(0,s.k6)(()=>[(0,s.bF)(z,{label:e.$t("Date"),field:"dateCreated",width:"160"},{default:(0,s.k6)(a=>[(0,s.Lk)("span",k,(0,l.v_)(e.$filters.formatDateCool(a.row.dateCreated)),1)]),_:1},8,["label"]),(0,s.bF)(z,{label:e.$t("Type"),field:"mergeType",width:"140"},{default:(0,s.k6)(e=>[(0,s.Lk)("span",p,(0,l.v_)(D.formatMergeType(e.row.mergeType)),1)]),_:1},8,["label"]),(0,s.bF)(z,{label:e.$t("Source")},{default:(0,s.k6)(e=>[(0,s.Lk)("div",b,[(0,s.Lk)("span",f,(0,l.v_)(e.row.sourceType),1),(0,s.Lk)("span",y,(0,l.v_)(e.row.sourceName),1),(0,s.Lk)("span",v,"(ID: "+(0,l.v_)(e.row.sourceId)+")",1)])]),_:1},8,["label"]),(0,s.bF)(z,{width:"40",centered:""},{default:(0,s.k6)(e=>[(0,s.Lk)("span",L,[(0,s.bF)(X,{icon:"fa-light fa-arrow-right"})])]),_:1}),(0,s.bF)(z,{label:e.$t("Target")},{default:(0,s.k6)(e=>[(0,s.Lk)("div",w,[(0,s.Lk)("span",_,(0,l.v_)(e.row.targetType),1),(0,s.Lk)("span",$,(0,l.v_)(e.row.targetName),1),(0,s.Lk)("span",C,"(ID: "+(0,l.v_)(e.row.targetId)+")",1)])]),_:1},8,["label"]),(0,s.bF)(z,{label:e.$t("Performed By"),width:"150"},{default:(0,s.k6)(e=>[(0,s.Lk)("span",null,(0,l.v_)(e.row.performedBy),1)]),_:1},8,["label"]),(0,s.bF)(z,{label:e.$t("Status"),width:"120",centered:""},{default:(0,s.k6)(a=>["completed"===a.row.status?((0,s.uX)(),(0,s.CE)("span",P,(0,l.v_)(e.$t("Completed")),1)):((0,s.uX)(),(0,s.CE)("span",x,(0,l.v_)(e.$t("Rolled Back")),1))]),_:1},8,["label"]),(0,s.bF)(z,{width:"100",centered:""},{default:(0,s.k6)(a=>[a.row.isRollbackAllowed?((0,s.uX)(),(0,s.Wv)(A,{key:0,label:e.$t("Rollback expires")+": "+e.$filters.formatDateCool(a.row.rollbackExpiry),position:"is-left"},{default:(0,s.k6)(()=>[(0,s.Lk)("button",{class:(0,l.C4)(["button is-warning is-small is-rounded",{"is-loading":E.isRollingBack===a.row.id}]),onClick:e=>D.confirmRollback(a.row)},[(0,s.Lk)("span",I,[(0,s.bF)(X,{icon:"fa-light fa-undo"})]),(0,s.Lk)("span",null,(0,l.v_)(e.$t("Undo")),1)],10,F)]),_:2},1032,["label"])):"completed"===a.row.status?((0,s.uX)(),(0,s.CE)("span",R,(0,l.v_)(e.$t("Expired")),1)):(0,s.Q3)("",!0)]),_:1})]),_:1},8,["data","loading","paginated","total","per-page","onPageChange"])):(0,s.Q3)("",!0)])])}t(44114);var E=t(40834),D={name:"MergeHistory",data(){return{isLoading:!1,isRollingBack:null,logs:[],totalItems:0,currentPage:1,itemsPerPage:30}},computed:{...(0,E.L8)(["isGranted","tenant"])},created(){this.tenant?.settingFeatures?.users?.hasMergeProfiles?this.loadLogs():this.$router.push({name:"Dashboard"})},methods:{loadLogs(){this.isLoading=!0,this.$http.plain.get(`/admin/merge/logs?page=${this.currentPage}&itemsPerPage=${this.itemsPerPage}`).then(e=>{this.logs=e.data["hydra:member"],this.totalItems=e.data["hydra:totalItems"]}).catch(e=>{console.error(e)}).finally(()=>{this.isLoading=!1})},onPageChange(e){this.currentPage=e,this.loadLogs()},formatMergeType(e){const a={contact_contact:"Contact → Contact",user_user:"User → User",contact_user:"Contact → User"};return a[e]||e},confirmRollback(e){this.$buefy.dialog.confirm({title:this.$t("Confirm Rollback"),message:this.$t("Are you sure you want to undo this merge? The source record will be recreated and related data will be restored."),confirmText:this.$t("Yes, Undo"),cancelText:this.$t("Cancel"),type:"is-warning",hasIcon:!0,onConfirm:()=>this.executeRollback(e)})},executeRollback(e){this.isRollingBack=e.id,this.$http.plain.post(`/admin/merge/${e.id}/rollback`).then(()=>
1{this.$buefy.toast.open({message:this.$t("Merge rolled back successfully"),type:"is-success"}),this.loadLogs()}).catch(e=>{console.error(e),this.$buefy.toast.open({message:e.response?.data?.message||this.$t("Error rolling back merge"),type:"is-danger"})}).finally(()=>{this.isRollingBack=null})}}},U=t(66262);const X=(0,U.A)(D,[["render",B],["__scopeId","data-v-850a3c1c"]]);var N=X}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.