Files
vuefilemanager/public/chunks/oasis/invoices.js
T
2021-04-26 17:03:17 +02:00

1 line
18 KiB
JavaScript
Vendored

(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{"0ppm":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".content-sidebar[data-v-7f84dd9c] {\n background: rgba(244, 245, 246, 0.6);\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n padding-top: 25px;\n overflow-y: auto;\n flex: 0 0 225px;\n}\n@media only screen and (max-width: 1024px) {\n.content-sidebar[data-v-7f84dd9c] {\n flex: 0 0 205px;\n}\n}\n@media only screen and (max-width: 690px) {\n.content-sidebar[data-v-7f84dd9c] {\n display: none;\n}\n}\n@media (prefers-color-scheme: dark) {\n.content-sidebar[data-v-7f84dd9c] {\n background: rgba(30, 32, 36, 0.2);\n}\n}\n",""])},"1pgO":function(t,e,n){"use strict";var i=n("I7+L");n.n(i).a},"3uVy":function(t,e,n){var i=n("x1Th");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},"4PuI":function(t,e,n){"use strict";var i=n("WHe5"),o=n("axtU"),r=n("6Z3Y"),a=n("uFbu"),c=n("L2JU");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u={name:"InvoiceFilterMobile",components:{MenuMobileGroup:i.a,OptionGroup:o.a,MenuMobile:r.a,Option:a.a},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(c.b)(["homeDirectory"])),methods:{showLocation:function(t){this.$store.dispatch({"regular-invoice":"getRegularInvoices","advance-invoice":"getAdvanceInvoices",clients:"getClients"}[t])}}},p=n("KHd+"),b=Object(p.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("MenuMobile",{attrs:{name:"invoice-filter"}},[n("MenuMobileGroup",[n("OptionGroup",[n("Option",{attrs:{"is-active":t.$isThisLocation("regular-invoice"),title:"Invoices",icon:"file-text","is-hover-disabled":"true"},nativeOn:{click:function(e){return t.showLocation("regular-invoice")}}}),t._v(" "),n("Option",{attrs:{"is-active":t.$isThisLocation("advance-invoice"),title:"Advance Invoices",icon:"clock","is-hover-disabled":"true"},nativeOn:{click:function(e){return t.showLocation("advance-invoice")}}})],1),t._v(" "),n("OptionGroup",[n("Option",{attrs:{"is-active":t.$isThisLocation("clients"),title:"Clients",icon:"users","is-hover-disabled":"true"},nativeOn:{click:function(e){return t.showLocation("clients")}}})],1)],1)],1)}),[],!1,null,null,null);e.a=b.exports},"9JAZ":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".text-label[data-v-943e24b4] {\n padding-left: 25px;\n font-size: 0.75em;\n color: #AFAFAF;\n font-weight: 700;\n display: block;\n margin-bottom: 5px;\n}\n@media only screen and (max-width: 1024px) {\n.text-label[data-v-943e24b4] {\n padding-left: 20px;\n}\n}\n@media (prefers-color-scheme: dark) {\n.text-label[data-v-943e24b4] {\n opacity: 0.35;\n}\n}\n",""])},DORa:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"@media only screen and (max-width: 690px) {\n.is-scaled-down {\n transform: scale(0.95);\n}\n}\n",""])},"I7+L":function(t,e,n){var i=n("JBik");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},JBik:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".content-group[data-v-4118306c] {\n margin-bottom: 30px;\n transition: all 300ms;\n}\n.content-group .group-title[data-v-4118306c] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 5px;\n}\n.content-group .group-title .title[data-v-4118306c] {\n margin-bottom: 0;\n}\n.content-group .group-title .icon[data-v-4118306c] {\n margin-right: 19px;\n opacity: 0.25;\n transition: 0.3s all ease;\n}\n.content-group.collapsable .group-title[data-v-4118306c] {\n cursor: pointer;\n}\n.content-group.is-collapsed[data-v-4118306c] {\n margin-bottom: 15px;\n}\n.content-group.is-collapsed .icon[data-v-4118306c] {\n transform: rotate(180deg);\n}\n.list-enter[data-v-4118306c],\n.list-leave-to[data-v-4118306c] {\n visibility: hidden;\n height: 0;\n margin: 0;\n padding: 0;\n opacity: 0;\n}\n.list-enter-active[data-v-4118306c],\n.list-leave-active[data-v-4118306c] {\n transition: all 300ms;\n}\n",""])},KjFB:function(t,e,n){var i=n("DORa");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},LtV2:function(t,e,n){"use strict";var i={name:"ContentSidebar"},o=(n("p4YY"),n("KHd+")),r=Object(o.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("section",{staticClass:"content-sidebar",attrs:{id:"content-sidebar"}},[this._t("default")],2)}),[],!1,null,"7f84dd9c",null);e.a=r.exports},R3o8:function(t,e,n){"use strict";var i=n("WHe5"),o=n("GjAa"),r=n("aeLu"),a=n("axtU"),c=n("6Z3Y"),s=n("uFbu"),l=n("L2JU");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var b={name:"FileMenuMobile",components:{MenuMobileGroup:i.a,ThumbnailItem:r.a,TitlePreview:o.a,OptionGroup:a.a,MenuMobile:c.a,Option:s.a},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){p(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(l.b)(["clipboard","user"])),data:function(){return{isVisible:!1}},methods:{}},d=(n("Tkbd"),n("KHd+")),f=Object(d.a)(b,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("MenuMobile",{attrs:{name:"client-menu"}},[t.clipboard[0]?n("TitlePreview",{staticClass:"headline",attrs:{avatar:t.clipboard[0].avatar,title:t.clipboard[0].name,subtitle:t.clipboard[0].email}}):t._e(),t._v(" "),n("MenuMobileGroup",[n("OptionGroup",{staticClass:"menu-option-group"},[n("Option",{attrs:{title:"Edit",icon:"rename"},nativeOn:{click:function(t){}}}),t._v(" "),n("Option",{attrs:{title:"Delete",icon:"trash"},nativeOn:{click:function(e){return t.deleteItem(e)}}})],1),t._v(" "),n("OptionGroup",[n("Option",{attrs:{title:t.$t("context_menu.detail"),icon:"detail"},nativeOn:{click:function(e){return t.showDetail(e)}}})],1)],1)],1)}),[],!1,null,"85d16514",null);e.a=f.exports},Tkbd:function(t,e,n){"use strict";var i=n("3uVy");n.n(i).a},UMoY:function(t,e,n){"use strict";n.r(e);var i=n("mgzR"),o=n("4PuI"),r=n("syiz"),a=n("R3o8"),c=n("X0Gk"),s=n("CjXH"),l=n("IeT8"),u=n("2zde"),p=n("LtV2"),b=n("VM1d"),d=n("hXay"),f=n("L2JU"),v=n("xCqy");function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m={name:"Settings",computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?O(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(f.b)(["config"])),components:{InvoiceSortingMobile:i.a,InvoiceFilterMobile:o.a,InvoiceCreateMenu:c.a,InvoiceMobileMenu:r.a,SidebarNavigation:l.a,ClientMobileMenu:a.a,MobileNavigation:u.a,ContentSidebar:p.a,FileTextIcon:s.y,ContentGroup:d.a,FilePreview:b.a,UsersIcon:s.jb,ClockIcon:s.j},data:function(){return{isScaledDown:!1}},methods:{goTo:function(t){this.$store.dispatch({"regular-invoice":"getRegularInvoices","advance-invoice":"getAdvanceInvoices",clients:"getClients"}[t])}},mounted:function(){var t=this;v.a.$on("mobile-menu:show",(function(){return t.isScaledDown=!0})),v.a.$on("fileItem:deselect",(function(){return t.isScaledDown=!1})),v.a.$on("mobile-menu:hide",(function(){return t.isScaledDown=!1}))}},g=(n("W8dL"),n("KHd+")),y=Object(g.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"application-wrapper"}},[n("FilePreview"),t._v(" "),n("InvoiceMobileMenu"),t._v(" "),n("ClientMobileMenu"),t._v(" "),n("InvoiceCreateMenu"),t._v(" "),n("InvoiceFilterMobile"),t._v(" "),n("InvoiceSortingMobile"),t._v(" "),n("MobileNavigation"),t._v(" "),n("SidebarNavigation"),t._v(" "),n("router-view",{class:{"is-scaled-down":t.isScaledDown}})],1)}),[],!1,null,null,null);e.default=y.exports},W8dL:function(t,e,n){"use strict";var i=n("KjFB");n.n(i).a},X0Gk:function(t,e,n){"use strict";var i=n("WHe5"),o=n("axtU"),r=n("6Z3Y"),a=n("uFbu"),c=n("L2JU");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u={name:"InvoiceFilterMobile",components:{MenuMobileGroup:i.a,OptionGroup:o.a,MenuMobile:r.a,Option:a.a},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(c.b)(["homeDirectory"])),methods:{showLocation:function(t){},flushBrowseHistory:function(){this.$store.commit("FLUSH_FOLDER_HISTORY")},goToFiles:function(){this.$store.dispatch("getFolder",[{folder:this.homeDirectory,back:!1,init:!0}]),this.flushBrowseHistory()},goToLatest:function(){this.$store.dispatch("getLatest"),this.flushBrowseHistory()},goToTrash:function(){this.$store.dispatch("getTrash"),this.flushBrowseHistory()},goToShared:function(){this.$store.dispatch("getShared",[{back:!1,init:!1}]),this.flushBrowseHistory()},goToParticipantUploads:function(){this.$store.dispatch("getParticipantUploads"),this.flushBrowseHistory()}}},p=n("KHd+"),b=Object(p.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("MenuMobile",{attrs:{name:"invoice-create"}},[n("MenuMobileGroup",[n("OptionGroup",[n("Option",{attrs:{title:"Create Invoice",icon:"file-plus","is-hover-disabled":"true"},nativeOn:{click:function(e){return t.showLocation("regular-invoice")}}}),t._v(" "),n("Option",{attrs:{title:"Create Advance Invoice",icon:"clock","is-hover-disabled":"true"},nativeOn:{click:function(e){return t.showLocation("advance-invoice")}}})],1),t._v(" "),n("OptionGroup",[n("Option",{attrs:{title:"Create Client",icon:"user-plus","is-hover-disabled":"true"},nativeOn:{click:function(e){return t.showLocation("clients")}}})],1)],1)],1)}),[],!1,null,null,null);e.a=b.exports},dP6t:function(t,e,n){var i=n("0ppm");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},fC5u:function(t,e,n){var i=n("9JAZ");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},hXay:function(t,e,n){"use strict";var i={name:"TextLabel"},o=(n("wD4H"),n("KHd+")),r=Object(o.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("b",{staticClass:"text-label"},[this._t("default")],2)}),[],!1,null,"943e24b4",null).exports,a={name:"ContentGroup",props:["title","canCollapse","slug"],components:{ChevronUpIcon:n("CjXH").i,TextLabel:r},data:function(){return{isVisible:!0,canCollapseWrapper:!1}},methods:{hideGroup:function(){this.canCollapseWrapper&&(this.isVisible=!this.isVisible,localStorage.setItem("panel-group-"+this.slug,this.isVisible))}},created:function(){if(this.canCollapse){var t=localStorage.getItem("panel-group-"+this.slug);this.isVisible=!t||!!JSON.parse(String(t).toLowerCase()),this.canCollapseWrapper=!0}}},c=(n("1pgO"),Object(o.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"content-group",class:{"is-collapsed":!t.isVisible,collapsable:t.canCollapse}},[n("div",{staticClass:"group-title",on:{click:t.hideGroup}},[n("TextLabel",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),t.canCollapseWrapper?n("chevron-up-icon",{staticClass:"icon",attrs:{size:"12"}}):t._e()],1),t._v(" "),n("transition",{attrs:{name:"list"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"wrapper"},[t._t("default")],2)])],1)}),[],!1,null,"4118306c",null));e.a=c.exports},mgzR:function(t,e,n){"use strict";var i=n("WHe5"),o=n("axtU"),r=n("6Z3Y"),a=n("uFbu"),c=n("L2JU");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u={name:"InvoiceFilterMobile",components:{MenuMobileGroup:i.a,OptionGroup:o.a,MenuMobile:r.a,Option:a.a},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(c.b)(["homeDirectory"])),methods:{showLocation:function(t){},flushBrowseHistory:function(){this.$store.commit("FLUSH_FOLDER_HISTORY")},goToFiles:function(){this.$store.dispatch("getFolder",[{folder:this.homeDirectory,back:!1,init:!0}]),this.flushBrowseHistory()},goToLatest:function(){this.$store.dispatch("getLatest"),this.flushBrowseHistory()},goToTrash:function(){this.$store.dispatch("getTrash"),this.flushBrowseHistory()},goToShared:function(){this.$store.dispatch("getShared",[{back:!1,init:!1}]),this.flushBrowseHistory()},goToParticipantUploads:function(){this.$store.dispatch("getParticipantUploads"),this.flushBrowseHistory()}}},p=n("KHd+"),b=Object(p.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("MenuMobile",{attrs:{name:"invoice-sorting"}},[n("MenuMobileGroup",[n("OptionGroup",[n("Option",{attrs:{title:t.$t("preview_sorting.sort_date"),icon:"calendar"},nativeOn:{click:function(e){return e.stopPropagation(),t.sort("created_at")}}}),t._v(" "),n("Option",{attrs:{title:t.$t("preview_sorting.sort_alphabet"),icon:"alphabet"},nativeOn:{click:function(e){return e.stopPropagation(),t.sort("name")}}})],1)],1)],1)}),[],!1,null,null,null);e.a=b.exports},p4YY:function(t,e,n){"use strict";var i=n("dP6t");n.n(i).a},qG8v:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".headline[data-v-f89b3dfc] {\n padding: 20px 20px 10px;\n margin-bottom: 0;\n}\n",""])},syiz:function(t,e,n){"use strict";var i=n("WHe5"),o=n("GjAa"),r=n("aeLu"),a=n("axtU"),c=n("6Z3Y"),s=n("uFbu"),l=n("L2JU");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var b={name:"FileMenuMobile",components:{MenuMobileGroup:i.a,ThumbnailItem:r.a,TitlePreview:o.a,OptionGroup:a.a,MenuMobile:c.a,Option:s.a},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){p(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(l.b)(["clipboard","user"])),data:function(){return{isVisible:!1}},methods:{}},d=(n("zQyJ"),n("KHd+")),f=Object(d.a)(b,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("MenuMobile",{attrs:{name:"invoice-menu"}},[t.clipboard[0]?n("TitlePreview",{staticClass:"headline",attrs:{icon:"file-text",title:t.clipboard[0].name,subtitle:"Invoice - "+t.clipboard[0].invoiceNumber}}):t._e(),t._v(" "),n("MenuMobileGroup",[n("OptionGroup",{staticClass:"menu-option-group"},[n("Option",{attrs:{title:"Edit Invoice",icon:"rename"},nativeOn:{click:function(t){}}}),t._v(" "),n("Option",{attrs:{title:"Send Invoice",icon:"send"},nativeOn:{click:function(t){}}}),t._v(" "),n("Option",{attrs:{title:"Go to Company",icon:"user"},nativeOn:{click:function(t){}}}),t._v(" "),n("Option",{attrs:{title:t.$t("context_menu.delete"),icon:"trash"},nativeOn:{click:function(t){}}})],1),t._v(" "),n("OptionGroup",[n("Option",{attrs:{title:t.$t("context_menu.detail"),icon:"detail"},nativeOn:{click:function(t){}}}),t._v(" "),n("Option",{attrs:{title:t.$t("context_menu.download"),icon:"download"},nativeOn:{click:function(t){}}})],1)],1)],1)}),[],!1,null,"f89b3dfc",null);e.a=f.exports},wD4H:function(t,e,n){"use strict";var i=n("fC5u");n.n(i).a},x1Th:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".headline[data-v-85d16514] {\n padding: 20px 20px 10px;\n margin-bottom: 0;\n}\n",""])},yU94:function(t,e,n){var i=n("qG8v");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},zQyJ:function(t,e,n){"use strict";var i=n("yU94");n.n(i).a}}]);