PageSourceSearch

https://www.myinvoiceonline.co.uk/vite/assets/ActionButtonMobile-x4URzNTY.js

js myinvoiceonline.co.uk collected 2026-10-02 22:51:34 UTC 2,865 bytes, 11 lines download raw bytes

1import{ap as a,by as c,bz as i,b8 as s}from"./Button-DgIZgSWg.js";import{c as r}from"./index-vVSxI7az.js";import"./_sentry-release-injection-file-DlxsNGob.js";import"./uk-DukXYPB_.js";import"./cs-BHj9zxo3.js";import"./_commonjsHelpers-D7Sok4xY.js";import"./index-yq28UAnt.js";import"./preload-helper-CI83Jo27.js";import"./posthog-CaAkLFEO.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./actioncable.esm-BMIXSJNp.js";import"./js.cookie-DxONP--r.js";const l={props:{scope:{type:Object}},computed:{id(){return this.scope.row.id},name(){return this.scope.row.customer}},methods:{createInvoiceForContact(){this.$router.push({name:s,query:{contactId:this.id}})},handleActions(o){const{id:t,name:e}=this;switch(o){case"createExpenseForContact":this.$router.push({name:i,query:{contactId:this.id}});break;case"edit":this.$router.push({name:c,params:{contactId:t}});break;case"delete":this.$emit("show-dialog",{title:this.$t("contactsTable.alerts.deleteTitle",{name:e}),content:this.$t("contactsTable.alerts.deleteContent",{name:e}),confirmButtonTitle:"contactsTable.alerts.buttonConfirm",cancelButtonTitle:"contactsTable.alerts.buttonCancel",callback:()=>{r(this,{variables:{id:t}}).then(()=>{this.$emit("refresh-query")}).catch(n=>{console.error("Failed to delete contact:",n)})},showCancelButton:!0});break}}}};var d=function(){var t=this,e=t._self._c;return e("div",{staticClass:"button-wrapper"},[e("Button",{attrs:{icon:"icon icon-invoice-new",type:"primary","full-width":"","new-design":"",plain:"","data-analytics-id":"contactsTableMobile.createInvoice"},on:{click:t.createInvoiceForContact}},[t._v(`
2    `+t._s(t.$t("contactsTableMobile.createInvoice"))+`
3  `)]),t._v(" "),e("Dropdown",{staticClass:"w-100",attrs:{trigger:"click"},on:{command:t.handleActions}},[e("Button",{attrs:{type:"primary",icon:"icon icon-dots","full-width":"","new-design":"",plain:"","data-analytics-id":"contactsTableMobile.more"}},[t._v(`
4      `+t._s(t.$t("contactsTableMobile.more"))+`
5    `)]),t._v(" "),e("DropdownMenu",{staticClass:"el-dropdown-menu--new-design",attrs:{slot:"dropdown","visible-arrow":!1},slot:"dropdown"},[e("DropdownItem",{attrs:{command:"createExpenseForContact",icon:"icon icon-expense","new-design":"","data-analytics-id":"contactsTableMobile.createExpense"}},[t._v(`
6        `+t._s(t.$t("contactsTableMobile.createExpense"))+`
7      `)]),t._v(" "),e("DropdownItem",{attrs:{command:"edit",icon:"icon icon-edit","new-design":"","data-analytics-id":"contactsTableMobile.edit"}},[t._v(`
8        `+t._s(t.$t("contactsTableMobile.edit"))+`
9      `)]),t._v(" "),e("DropdownItem",{attrs:{command:"delete",icon:"icon icon-trash","new-design":"","data-analytics-id":"contactsTableMobile.delete"}},[t._v(`
10        `+t._s(t.$t("contactsTableMobile.delete"))+`
11      `)])],1)],1)],1)},p=[],m=a(l,d,p,!1,null,"38363241");const $=m.exports;export{$ as default};

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.