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

1 line
85 KiB
JavaScript
Vendored

(window.webpackJsonp=window.webpackJsonp||[]).push([[39,6],{"+1jq":function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".user-info[data-v-55efbdee] {\n padding: 20px 20px 10px;\n}\n.go-back[data-v-55efbdee] {\n display: flex;\n align-items: center;\n padding: 30px 20px 10px;\n cursor: pointer;\n}\n.go-back .title[data-v-55efbdee] {\n font-size: 0.875em;\n font-weight: 700;\n margin-left: 10px;\n}\n.go-back polyline[data-v-55efbdee] {\n color: inherit;\n}\n",""])},"/vjM":function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".slide-from-left-move[data-v-09d9a952] {\n transition: transform 300s ease;\n}\n.slide-from-left-enter-active[data-v-09d9a952],\n.slide-from-right-enter-active[data-v-09d9a952],\n.slide-from-left-leave-active[data-v-09d9a952],\n.slide-from-right-leave-active[data-v-09d9a952] {\n transition: all 300ms;\n}\n.slide-from-left-enter[data-v-09d9a952],\n.slide-from-left-leave-to[data-v-09d9a952] {\n opacity: 0;\n transform: translateX(-100%);\n}\n.slide-from-right-enter[data-v-09d9a952],\n.slide-from-right-leave-to[data-v-09d9a952] {\n opacity: 0;\n transform: translateX(100%);\n}\n.check-select[data-v-09d9a952] {\n margin-right: 15px;\n margin-left: 6px;\n}\n.check-select .select-box[data-v-09d9a952] {\n width: 20px;\n height: 20px;\n background-color: #e6e8eb;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 5px;\n}\n.check-select .select-box-active[data-v-09d9a952] {\n background-color: #00BC7E;\n}\n.check-select .select-box-active .icon[data-v-09d9a952] {\n stroke: white;\n}\n.file-wrapper[data-v-09d9a952] {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n position: relative;\n}\n.file-wrapper[data-v-09d9a952]:hover {\n border-color: transparent;\n}\n.file-wrapper .actions[data-v-09d9a952] {\n text-align: right;\n width: 50px;\n}\n.file-wrapper .actions .show-actions[data-v-09d9a952] {\n cursor: pointer;\n padding: 12px 0 12px 6px;\n}\n.file-wrapper .actions .show-actions .icon-action[data-v-09d9a952] {\n margin-top: 9px;\n font-size: 0.875em;\n}\n.file-wrapper .actions .show-actions .icon-action circle[data-v-09d9a952] {\n color: inherit;\n}\n.file-wrapper .item-name[data-v-09d9a952] {\n display: block;\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.file-wrapper .item-name .item-info[data-v-09d9a952] {\n display: block;\n line-height: 1;\n}\n.file-wrapper .item-name .item-shared[data-v-09d9a952] {\n display: inline-block;\n}\n.file-wrapper .item-name .item-shared .label[data-v-09d9a952] {\n font-size: 0.75em;\n font-weight: 400;\n color: #00BC7E;\n}\n.file-wrapper .item-name .item-shared .shared-icon[data-v-09d9a952] {\n vertical-align: middle;\n}\n.file-wrapper .item-name .item-shared .shared-icon path[data-v-09d9a952],\n.file-wrapper .item-name .item-shared .shared-icon circle[data-v-09d9a952],\n.file-wrapper .item-name .item-shared .shared-icon line[data-v-09d9a952] {\n color: inherit;\n}\n.file-wrapper .item-name .item-size[data-v-09d9a952],\n.file-wrapper .item-name .item-length[data-v-09d9a952] {\n font-size: 0.6875em;\n font-weight: 400;\n color: rgba(27, 37, 57, 0.7);\n}\n.file-wrapper .item-name .name[data-v-09d9a952] {\n white-space: nowrap;\n}\n.file-wrapper .item-name .name[contenteditable][data-v-09d9a952] {\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n user-select: text;\n}\n.file-wrapper .item-name .name[contenteditable='true'][data-v-09d9a952]:hover {\n text-decoration: underline;\n}\n.file-wrapper .item-name .name[data-v-09d9a952] {\n color: #1B2539;\n font-size: 0.875em;\n font-weight: 700;\n max-height: 40px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.file-wrapper .item-name .name.actived[data-v-09d9a952] {\n max-height: initial;\n}\n.file-wrapper.selected .file-item[data-v-09d9a952] {\n background: #f4f5f6;\n}\n.file-wrapper .icon-item[data-v-09d9a952] {\n text-align: center;\n position: relative;\n flex: 0 0 50px;\n line-height: 0;\n margin-right: 20px;\n}\n.file-wrapper .icon-item .folder[data-v-09d9a952] {\n width: 52px;\n height: 52px;\n}\n.file-wrapper .icon-item .folder[data-v-09d9a952] .folder-icon {\n font-size: 3.25em;\n}\n.file-wrapper .icon-item .file-icon[data-v-09d9a952] {\n font-size: 2.8125em;\n}\n.file-wrapper .icon-item .file-icon path[data-v-09d9a952] {\n fill: #fafafc;\n stroke: #dfe0e8;\n stroke-width: 1;\n}\n.file-wrapper .icon-item .file-icon-text[data-v-09d9a952] {\n line-height: 1;\n top: 40%;\n font-size: 0.6875em;\n margin: 0 auto;\n position: absolute;\n text-align: center;\n left: 0;\n right: 0;\n font-weight: 600;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n max-width: 50px;\n max-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.file-wrapper .icon-item .image[data-v-09d9a952] {\n -o-object-fit: cover;\n object-fit: cover;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n max-width: 100%;\n border-radius: 5px;\n width: 50px;\n height: 50px;\n pointer-events: none;\n}\n.file-wrapper .file-item[data-v-09d9a952] {\n border: 2px dashed transparent;\n width: 100%;\n display: flex;\n align-items: center;\n padding: 12px 7px 12px 15px;\n}\n.file-wrapper .file-item.is-dragenter[data-v-09d9a952] {\n border-radius: 8px;\n}\n.file-wrapper .file-item.no-clicked[data-v-09d9a952] {\n background: white !important;\n}\n.file-wrapper .file-item.no-clicked .item-name .name[data-v-09d9a952] {\n color: #1B2539 !important;\n}\n.file-wrapper .file-item[data-v-09d9a952]:hover, .file-wrapper .file-item.is-clicked[data-v-09d9a952] {\n border-radius: 8px;\n background: #f4f5f6;\n}\n@media (prefers-color-scheme: dark) {\n.check-select .select-box[data-v-09d9a952] {\n background-color: #353940;\n}\n.check-select .select-box-active[data-v-09d9a952] {\n background-color: #00BC7E;\n}\n.check-select .select-box-active .icon[data-v-09d9a952] {\n stroke: white;\n}\n.file-wrapper .icon-item .file-icon path[data-v-09d9a952] {\n fill: #1e2024;\n stroke: #2f3c54;\n}\n.file-wrapper .file-item.no-clicked[data-v-09d9a952] {\n background: #141414 !important;\n}\n.file-wrapper .file-item.no-clicked .file-icon path[data-v-09d9a952] {\n fill: #1e2024 !important;\n stroke: #2F3C54;\n}\n.file-wrapper .file-item.no-clicked .item-name .name[data-v-09d9a952] {\n color: #bec6cf !important;\n}\n.file-wrapper .file-item[data-v-09d9a952]:hover, .file-wrapper .file-item.is-clicked[data-v-09d9a952] {\n background: #1e2024;\n}\n.file-wrapper .file-item:hover .file-icon path[data-v-09d9a952], .file-wrapper .file-item.is-clicked .file-icon path[data-v-09d9a952] {\n fill: #141414;\n}\n.file-wrapper .item-name .name[data-v-09d9a952] {\n color: #bec6cf;\n}\n.file-wrapper .item-name .item-size[data-v-09d9a952],\n .file-wrapper .item-name .item-length[data-v-09d9a952] {\n color: #7d858c;\n}\n}\n",""])},"1LGa":function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".info-wrapper[data-v-3aabe400] {\n padding-bottom: 20px;\n height: 100%;\n}\n.info-headline[data-v-3aabe400] {\n margin-bottom: 20px;\n border-radius: 8px;\n}\n.share-link[data-v-3aabe400] {\n display: flex;\n width: 100%;\n align-items: center;\n margin-top: 10px;\n}\n.share-link .lock-icon[data-v-3aabe400] {\n display: inline-block;\n width: 15px;\n margin-right: 9px;\n cursor: pointer;\n}\n.share-link .copy-share-link[data-v-3aabe400] {\n width: 100%;\n}\n",""])},"2zde":function(e,t,n){"use strict";var i=n("WHe5"),o=n("axtU"),a=n("5Swh"),r=n("L2JU");function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l={name:"UserHeadline",components:{UserAvatar:a.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(r.b)(["user"]))},u=(n("Aqps"),n("KHd+")),d=Object(u.a)(l,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"user-headline"},[n("UserAvatar",{attrs:{size:"large"}}),e._v(" "),n("div",{staticClass:"user-meta"},[n("b",{staticClass:"name"},[e._v(e._s(e.user.data.relationships.settings.data.attributes.name))]),e._v(" "),n("span",{staticClass:"email text-theme"},[e._v(e._s(e.user.data.attributes.email))])])],1)}),[],!1,null,"163044c9",null).exports,p=n("6Z3Y"),f=n("uFbu");function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b={name:"MobileNavigation",components:{ChevronLeftIcon:n("CjXH").g,MenuMobileGroup:i.a,UserHeadline:d,OptionGroup:o.a,MenuMobile:p.a,Option:f.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(r.b)(["homeDirectory","config","user"]),{isAdmin:function(){return this.user&&"admin"===this.user.data.attributes.role},backTitle:function(){return"Go back from "+{settings:this.$t("menu.settings"),admin:this.$t("menu.admin")}[this.clickedSubmenu]}}),data:function(){return{clickedSubmenu:void 0}},methods:{goToInvoices:function(){this.$router.push({name:"InvoicesList"})},goToRoute:function(e){this.$router.push({name:e}),this.clickedSubmenu=void 0},showSubmenu:function(e){this.clickedSubmenu=e},goToFiles:function(){"Files"!==this.$route.name&&this.$router.push({name:"Files"}),this.$store.dispatch("getFolder",[{folder:this.homeDirectory,back:!1,init:!0}])},logOut:function(){this.$store.dispatch("logOut")}}},h=(n("L+yz"),Object(u.a)(b,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("MenuMobile",{attrs:{name:"user-navigation"}},[e.clickedSubmenu?e._e():n("UserHeadline",{staticClass:"user-info"}),e._v(" "),e.clickedSubmenu?n("div",{staticClass:"go-back",on:{click:function(t){return t.stopPropagation(),e.showSubmenu(void 0)}}},[n("chevron-left-icon",{staticClass:"text-theme",attrs:{size:"19"}}),e._v(" "),n("span",{staticClass:"title text-theme"},[e._v(e._s(e.backTitle))])],1):e._e(),e._v(" "),n("MenuMobileGroup",[e.clickedSubmenu?e._e():n("OptionGroup",[n("Option",{attrs:{title:e.$t("menu.files"),icon:"hard-drive","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToFiles(t)}}}),e._v(" "),n("Option",{attrs:{title:"Invoices",icon:"file-text","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToInvoices(t)}}}),e._v(" "),n("Option",{attrs:{title:e.$t("menu.settings"),icon:"user","is-arrow-right":!0,"is-hover-disabled":"true"},nativeOn:{click:function(t){return t.stopPropagation(),e.showSubmenu("settings")}}}),e._v(" "),e.isAdmin?n("Option",{attrs:{title:e.$t("menu.admin"),icon:"settings","is-arrow-right":!0,"is-hover-disabled":"true"},nativeOn:{click:function(t){return t.stopPropagation(),e.showSubmenu("admin")}}}):e._e()],1),e._v(" "),e.clickedSubmenu?e._e():n("OptionGroup",[n("Option",{attrs:{title:e.$t("menu.logout"),icon:"power","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.logOut(t)}}})],1),e._v(" "),"settings"===e.clickedSubmenu?n("OptionGroup",[n("Option",{attrs:{title:e.$t("menu.profile"),icon:"user","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("Profile")}}}),e._v(" "),n("Option",{attrs:{title:e.$t("menu.storage"),icon:"hard-drive","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("Storage")}}}),e._v(" "),n("Option",{attrs:{title:e.$t("menu.password"),icon:"lock","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("Password")}}})],1):e._e(),e._v(" "),"settings"===e.clickedSubmenu&&e.config.isSaaS?n("OptionGroup",[n("Option",{attrs:{title:e.$t("menu.subscription"),icon:"cloud","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("Subscription")}}}),e._v(" "),n("Option",{attrs:{title:e.$t("menu.payment_cards"),icon:"credit-card","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("PaymentMethods")}}}),e._v(" "),n("Option",{attrs:{title:e.$t("menu.invoices"),icon:"file-text","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("Invoice")}}})],1):e._e(),e._v(" "),"admin"===e.clickedSubmenu?n("OptionGroup",[n("Option",{attrs:{title:e.$t("admin_menu.dashboard"),icon:"box","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("Dashboard")}}}),e._v(" "),n("Option",{attrs:{title:e.$t("admin_menu.users"),icon:"users","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("Users")}}}),e._v(" "),n("Option",{attrs:{title:e.$t("admin_menu.settings"),icon:"settings","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("AppOthers")}}}),e._v(" "),n("Option",{attrs:{title:e.$t("admin_menu.pages"),icon:"monitor","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("Pages")}}}),e._v(" "),n("Option",{attrs:{title:e.$t("languages"),icon:"globe","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("Language")}}})],1):e._e(),e._v(" "),"admin"===e.clickedSubmenu&&e.config.isSaaS?n("OptionGroup",[n("Option",{attrs:{title:e.$t("admin_menu.plans"),icon:"database","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("Plans")}}}),e._v(" "),n("Option",{attrs:{title:e.$t("admin_menu.invoices"),icon:"file-text","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.goToRoute("Invoices")}}})],1):e._e()],1)],1)}),[],!1,null,"55efbdee",null));t.a=h.exports},"3uVy":function(e,t,n){var i=n("x1Th");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},"4+82":function(e,t,n){"use strict";var i=n("hxEd");n.n(i).a},"4PuI":function(e,t,n){"use strict";var i=n("WHe5"),o=n("axtU"),a=n("6Z3Y"),r=n("uFbu"),s=n("L2JU");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u={name:"InvoiceFilterMobile",components:{MenuMobileGroup:i.a,OptionGroup:o.a,MenuMobile:a.a,Option:r.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(s.b)(["homeDirectory"])),methods:{showLocation:function(e){this.$store.dispatch({"regular-invoice":"getRegularInvoices","advance-invoice":"getAdvanceInvoices",clients:"getClients"}[e])}}},d=n("KHd+"),p=Object(d.a)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("MenuMobile",{attrs:{name:"invoice-filter"}},[n("MenuMobileGroup",[n("OptionGroup",[n("Option",{attrs:{"is-active":e.$isThisLocation("regular-invoice"),title:"Invoices",icon:"file-text","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.showLocation("regular-invoice")}}}),e._v(" "),n("Option",{attrs:{"is-active":e.$isThisLocation("advance-invoice"),title:"Advance Invoices",icon:"clock","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.showLocation("advance-invoice")}}})],1),e._v(" "),n("OptionGroup",[n("Option",{attrs:{"is-active":e.$isThisLocation("clients"),title:"Clients",icon:"users","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.showLocation("clients")}}})],1)],1)],1)}),[],!1,null,null,null);t.a=p.exports},"5Swh":function(e,t,n){"use strict";var i=n("L2JU");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r={name:"UserAvatar",props:["size"],computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(i.b)(["user","config"]),{isIncompletePayment:function(){return this.user.data.attributes.incomplete_payment},isNearlyFullStorageCapacity:function(){return this.config.storageLimit&&this.user.data.attributes.storage.used>95}})},s=(n("RrM1"),n("KHd+")),c=Object(s.a)(r,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"user-avatar",class:this.size},[this.isIncompletePayment||this.isNearlyFullStorageCapacity?t("span",{staticClass:"notification"}):this._e(),this._v(" "),t("img",{attrs:{src:this.user.data.relationships.settings.data.attributes.avatar,alt:this.user.data.relationships.settings.data.attributes.name}})])}),[],!1,null,"8c5eec7c",null);t.a=c.exports},"6uj2":function(e,t,n){var i=n("cS1v");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},Aqps:function(e,t,n){"use strict";var i=n("qGeY");n.n(i).a},BEfy:function(e,t,n){"use strict";var i=n("M71J");n.n(i).a},BNX6:function(e,t,n){"use strict";var i=n("lfSS");n.n(i).a},"Eu+P":function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".slide-from-left-move[data-v-2065efee] {\n transition: transform 300s ease;\n}\n.slide-from-left-enter-active[data-v-2065efee],\n.slide-from-right-enter-active[data-v-2065efee],\n.slide-from-left-leave-active[data-v-2065efee],\n.slide-from-right-leave-active[data-v-2065efee] {\n transition: all 300ms;\n}\n.slide-from-left-enter[data-v-2065efee],\n.slide-from-left-leave-to[data-v-2065efee] {\n opacity: 0;\n transform: translateX(-100%);\n}\n.slide-from-right-enter[data-v-2065efee],\n.slide-from-right-leave-to[data-v-2065efee] {\n opacity: 0;\n transform: translateX(100%);\n}\n.check-select[data-v-2065efee] {\n margin-right: 15px;\n margin-left: 6px;\n}\n.check-select .select-box[data-v-2065efee] {\n width: 20px;\n height: 20px;\n background-color: #e6e8eb;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 5px;\n}\n.check-select .select-box-active[data-v-2065efee] {\n background-color: #00BC7E;\n}\n.check-select .select-box-active .icon[data-v-2065efee] {\n stroke: white;\n}\n.file-wrapper[data-v-2065efee] {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n position: relative;\n}\n.file-wrapper[data-v-2065efee]:hover {\n border-color: transparent;\n}\n.file-wrapper .actions[data-v-2065efee] {\n text-align: right;\n width: 50px;\n}\n.file-wrapper .actions .show-actions[data-v-2065efee] {\n cursor: pointer;\n padding: 12px 0 12px 6px;\n}\n.file-wrapper .actions .show-actions .icon-action[data-v-2065efee] {\n margin-top: 9px;\n font-size: 0.875em;\n}\n.file-wrapper .actions .show-actions .icon-action circle[data-v-2065efee] {\n color: inherit;\n}\n.file-wrapper .item-name[data-v-2065efee] {\n display: block;\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.file-wrapper .item-name .item-info[data-v-2065efee] {\n display: block;\n line-height: 1;\n}\n.file-wrapper .item-name .item-shared[data-v-2065efee] {\n display: inline-block;\n}\n.file-wrapper .item-name .item-shared .label[data-v-2065efee] {\n font-size: 0.75em;\n font-weight: 400;\n color: #00BC7E;\n}\n.file-wrapper .item-name .item-shared .shared-icon[data-v-2065efee] {\n vertical-align: middle;\n}\n.file-wrapper .item-name .item-shared .shared-icon path[data-v-2065efee],\n.file-wrapper .item-name .item-shared .shared-icon circle[data-v-2065efee],\n.file-wrapper .item-name .item-shared .shared-icon line[data-v-2065efee] {\n color: inherit;\n}\n.file-wrapper .item-name .item-size[data-v-2065efee],\n.file-wrapper .item-name .item-length[data-v-2065efee] {\n font-size: 0.6875em;\n font-weight: 400;\n color: rgba(27, 37, 57, 0.7);\n}\n.file-wrapper .item-name .name[data-v-2065efee] {\n white-space: nowrap;\n}\n.file-wrapper .item-name .name[contenteditable][data-v-2065efee] {\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n user-select: text;\n}\n.file-wrapper .item-name .name[contenteditable='true'][data-v-2065efee]:hover {\n text-decoration: underline;\n}\n.file-wrapper .item-name .name[data-v-2065efee] {\n color: #1B2539;\n font-size: 0.875em;\n font-weight: 700;\n max-height: 40px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.file-wrapper .item-name .name.actived[data-v-2065efee] {\n max-height: initial;\n}\n.file-wrapper.selected .file-item[data-v-2065efee] {\n background: #f4f5f6;\n}\n.file-wrapper .icon-item[data-v-2065efee] {\n text-align: center;\n position: relative;\n flex: 0 0 50px;\n line-height: 0;\n margin-right: 20px;\n}\n.file-wrapper .icon-item .folder[data-v-2065efee] {\n width: 52px;\n height: 52px;\n}\n.file-wrapper .icon-item .folder[data-v-2065efee] .folder-icon {\n font-size: 3.25em;\n}\n.file-wrapper .icon-item .file-icon[data-v-2065efee] {\n font-size: 2.8125em;\n}\n.file-wrapper .icon-item .file-icon path[data-v-2065efee] {\n fill: #fafafc;\n stroke: #dfe0e8;\n stroke-width: 1;\n}\n.file-wrapper .icon-item .file-icon-text[data-v-2065efee] {\n line-height: 1;\n top: 40%;\n font-size: 0.6875em;\n margin: 0 auto;\n position: absolute;\n text-align: center;\n left: 0;\n right: 0;\n font-weight: 600;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n max-width: 50px;\n max-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.file-wrapper .icon-item .image[data-v-2065efee] {\n -o-object-fit: cover;\n object-fit: cover;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n max-width: 100%;\n border-radius: 5px;\n width: 50px;\n height: 50px;\n pointer-events: none;\n}\n.file-wrapper .file-item[data-v-2065efee] {\n border: 2px dashed transparent;\n width: 100%;\n display: flex;\n align-items: center;\n padding: 7px 7px 7px 15px;\n}\n.file-wrapper .file-item.is-dragenter[data-v-2065efee] {\n border-radius: 8px;\n}\n.file-wrapper .file-item.no-clicked[data-v-2065efee] {\n background: white !important;\n}\n.file-wrapper .file-item.no-clicked .item-name .name[data-v-2065efee] {\n color: #1B2539 !important;\n}\n.file-wrapper .file-item[data-v-2065efee]:hover, .file-wrapper .file-item.is-clicked[data-v-2065efee] {\n border-radius: 8px;\n background: #f4f5f6;\n}\n@media (prefers-color-scheme: dark) {\n.check-select .select-box[data-v-2065efee] {\n background-color: #353940;\n}\n.check-select .select-box-active[data-v-2065efee] {\n background-color: #00BC7E;\n}\n.check-select .select-box-active .icon[data-v-2065efee] {\n stroke: white;\n}\n.file-wrapper .icon-item .file-icon path[data-v-2065efee] {\n fill: #1e2024;\n stroke: #2f3c54;\n}\n.file-wrapper .file-item.no-clicked[data-v-2065efee] {\n background: #141414 !important;\n}\n.file-wrapper .file-item.no-clicked .file-icon path[data-v-2065efee] {\n fill: #1e2024 !important;\n stroke: #2F3C54;\n}\n.file-wrapper .file-item.no-clicked .item-name .name[data-v-2065efee] {\n color: #bec6cf !important;\n}\n.file-wrapper .file-item[data-v-2065efee]:hover, .file-wrapper .file-item.is-clicked[data-v-2065efee] {\n background: #1e2024;\n}\n.file-wrapper .file-item:hover .file-icon path[data-v-2065efee], .file-wrapper .file-item.is-clicked .file-icon path[data-v-2065efee] {\n fill: #141414;\n}\n.file-wrapper .item-name .name[data-v-2065efee] {\n color: #bec6cf;\n}\n.file-wrapper .item-name .item-size[data-v-2065efee],\n .file-wrapper .item-name .item-length[data-v-2065efee] {\n color: #7d858c;\n}\n}\n",""])},HJ1V:function(e,t,n){var i=n("qCeM");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},IeT8:function(e,t,n){"use strict";var i=n("5Swh"),o=n("L2JU"),a=n("CjXH");function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={name:"SidebarNavigation",components:{FileTextIcon:a.y,HardDriveIcon:a.E,SettingsIcon:a.Z,UserAvatar:i.a,Trash2Icon:a.db,PowerIcon:a.U,ShareIcon:a.ab,UserIcon:a.hb},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(o.b)(["user"]),{isUserProfileRoute:function(){return this.$isThisRoute(this.$route,["Profile","Password","Storage","Invoice","Subscription","PaymentMethods"])}}),data:function(){return{adminRoutes:["AppSettings","AppAppearance","AppBillings","AppEmail","AppOthers","Dashboard","PlanSubscribers","PlanCreate","PlanSettings","PlanDelete","UserSubscription","UserInvoices","UserPassword","UserStorage","UserDelete","PlanCreate","UserCreate","AppPayments","PageEdit","Pages","UserDelete","UserDetail","Invoices","Gateways","Gateway","Plans","Users","User"]}},mounted:function(){this.$store.dispatch("getAppData")}},l=(n("OJYl"),n("KHd+")),u=Object(l.a)(c,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{staticClass:"menu-bar"},[e.user?n("div",{staticClass:"icon-navigation menu"},[n("router-link",{staticClass:"icon-navigation-item user",attrs:{to:{name:"Profile"}}},[n("UserAvatar")],1),e._v(" "),n("router-link",{staticClass:"icon-navigation-item home",attrs:{to:{name:"Files"},title:e.$t("locations.home")}},[n("div",{staticClass:"button-icon text-theme"},[n("hard-drive-icon",{staticClass:"text-theme",attrs:{size:"19"}})],1)]),e._v(" "),n("router-link",{staticClass:"icon-navigation-item shared",attrs:{to:{name:"SharedFiles"},title:e.$t("locations.shared")}},[n("div",{staticClass:"button-icon"},[n("share-icon",{attrs:{size:"19"}})],1)]),e._v(" "),n("router-link",{staticClass:"icon-navigation-item shared",attrs:{to:{name:"InvoicesList"},title:"Invoices"}},[n("div",{staticClass:"button-icon"},[n("file-text-icon",{attrs:{size:"19"}})],1)]),e._v(" "),n("router-link",{staticClass:"icon-navigation-item settings",class:{"is-active":e.isUserProfileRoute},attrs:{to:{name:"Profile"},title:e.$t("locations.profile")}},[n("div",{staticClass:"button-icon"},[n("user-icon",{attrs:{size:"19"}})],1)]),e._v(" "),"admin"===e.user.data.attributes.role?n("router-link",{staticClass:"icon-navigation-item users",class:{"is-active":e.$isThisRoute(e.$route,e.adminRoutes)},attrs:{to:{name:"Dashboard"},title:e.$t("locations.settings")}},[n("div",{staticClass:"button-icon"},[n("settings-icon",{attrs:{size:"19"}})],1)]):e._e()],1):e._e(),e._v(" "),n("ul",{staticClass:"icon-navigation logout"},[n("li",{staticClass:"icon-navigation-item",attrs:{title:e.$t("locations.logout")},on:{click:function(t){return e.$store.dispatch("logOut")}}},[n("div",{staticClass:"button-icon"},[n("power-icon",{attrs:{size:"19"}})],1)])])])}),[],!1,null,"9ae40f84",null);t.a=u.exports},KaJi:function(e,t,n){"use strict";var i=n("Vk9L");n.n(i).a},KbU5:function(e,t,n){var i=n("1LGa");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},"L+yz":function(e,t,n){"use strict";var i=n("oBYw");n.n(i).a},M71J:function(e,t,n){var i=n("k++1");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},OJYl:function(e,t,n){"use strict";var i=n("zbjk");n.n(i).a},QZUf:function(e,t,n){"use strict";var i=n("KbU5");n.n(i).a},R3o8:function(e,t,n){"use strict";var i=n("WHe5"),o=n("GjAa"),a=n("aeLu"),r=n("axtU"),s=n("6Z3Y"),c=n("uFbu"),l=n("L2JU");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p={name:"FileMenuMobile",components:{MenuMobileGroup:i.a,ThumbnailItem:a.a,TitlePreview:o.a,OptionGroup:r.a,MenuMobile:s.a,Option:c.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(l.b)(["clipboard","user"])),data:function(){return{isVisible:!1}},methods:{}},f=(n("Tkbd"),n("KHd+")),v=Object(f.a)(p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("MenuMobile",{attrs:{name:"client-menu"}},[e.clipboard[0]?n("TitlePreview",{staticClass:"headline",attrs:{avatar:e.clipboard[0].avatar,title:e.clipboard[0].name,subtitle:e.clipboard[0].email}}):e._e(),e._v(" "),n("MenuMobileGroup",[n("OptionGroup",{staticClass:"menu-option-group"},[n("Option",{attrs:{title:"Edit",icon:"rename"},nativeOn:{click:function(e){}}}),e._v(" "),n("Option",{attrs:{title:"Delete",icon:"trash"},nativeOn:{click:function(t){return e.deleteItem(t)}}})],1),e._v(" "),n("OptionGroup",[n("Option",{attrs:{title:e.$t("context_menu.detail"),icon:"detail"},nativeOn:{click:function(t){return e.showDetail(t)}}})],1)],1)],1)}),[],!1,null,"85d16514",null);t.a=v.exports},RrM1:function(e,t,n){"use strict";var i=n("HJ1V");n.n(i).a},TfX1:function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".menu-bar[data-v-9ae40f84] {\n background: #f4f5f6;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n padding-top: 25px;\n display: grid;\n flex: 0 0 72px;\n}\n.icon-navigation[data-v-9ae40f84] {\n text-align: center;\n}\n.icon-navigation.menu[data-v-9ae40f84] {\n margin-bottom: auto;\n}\n.icon-navigation.logout[data-v-9ae40f84] {\n margin-top: auto;\n}\n.icon-navigation .icon-navigation-item[data-v-9ae40f84] {\n display: block;\n margin-bottom: 10px;\n}\n.icon-navigation .icon-navigation-item.user[data-v-9ae40f84] {\n margin-bottom: 20px;\n display: block;\n}\n.icon-navigation .button-icon[data-v-9ae40f84] {\n cursor: pointer;\n border-radius: 4px;\n padding: 12px;\n display: inline-block;\n line-height: 0;\n transition: 150ms all ease;\n}\n.icon-navigation .button-icon[data-v-9ae40f84]:hover {\n background: #e6e8eb;\n}\n.icon-navigation .button-icon path[data-v-9ae40f84], .icon-navigation .button-icon line[data-v-9ae40f84], .icon-navigation .button-icon polyline[data-v-9ae40f84], .icon-navigation .button-icon rect[data-v-9ae40f84], .icon-navigation .button-icon circle[data-v-9ae40f84] {\n transition: 150ms all ease;\n}\n.icon-navigation .router-link-active.home .button-icon path[data-v-9ae40f84], .icon-navigation .router-link-active.home .button-icon line[data-v-9ae40f84], .icon-navigation .router-link-active.home .button-icon polyline[data-v-9ae40f84], .icon-navigation .router-link-active.home .button-icon rect[data-v-9ae40f84], .icon-navigation .router-link-active.home .button-icon circle[data-v-9ae40f84],\n.icon-navigation .is-active.home .button-icon path[data-v-9ae40f84],\n.icon-navigation .is-active.home .button-icon line[data-v-9ae40f84],\n.icon-navigation .is-active.home .button-icon polyline[data-v-9ae40f84],\n.icon-navigation .is-active.home .button-icon rect[data-v-9ae40f84],\n.icon-navigation .is-active.home .button-icon circle[data-v-9ae40f84] {\n color: inherit;\n}\n.icon-navigation .router-link-active.shared .button-icon[data-v-9ae40f84],\n.icon-navigation .is-active.shared .button-icon[data-v-9ae40f84] {\n background: rgba(255, 189, 45, 0.1);\n}\n.icon-navigation .router-link-active.shared .button-icon path[data-v-9ae40f84], .icon-navigation .router-link-active.shared .button-icon line[data-v-9ae40f84], .icon-navigation .router-link-active.shared .button-icon polyline[data-v-9ae40f84], .icon-navigation .router-link-active.shared .button-icon rect[data-v-9ae40f84], .icon-navigation .router-link-active.shared .button-icon circle[data-v-9ae40f84],\n.icon-navigation .is-active.shared .button-icon path[data-v-9ae40f84],\n.icon-navigation .is-active.shared .button-icon line[data-v-9ae40f84],\n.icon-navigation .is-active.shared .button-icon polyline[data-v-9ae40f84],\n.icon-navigation .is-active.shared .button-icon rect[data-v-9ae40f84],\n.icon-navigation .is-active.shared .button-icon circle[data-v-9ae40f84] {\n stroke: #FFBD2D;\n}\n.icon-navigation .router-link-active.trash .button-icon[data-v-9ae40f84],\n.icon-navigation .is-active.trash .button-icon[data-v-9ae40f84] {\n background: rgba(254, 96, 87, 0.1);\n}\n.icon-navigation .router-link-active.trash .button-icon path[data-v-9ae40f84], .icon-navigation .router-link-active.trash .button-icon line[data-v-9ae40f84], .icon-navigation .router-link-active.trash .button-icon polyline[data-v-9ae40f84], .icon-navigation .router-link-active.trash .button-icon rect[data-v-9ae40f84], .icon-navigation .router-link-active.trash .button-icon circle[data-v-9ae40f84],\n.icon-navigation .is-active.trash .button-icon path[data-v-9ae40f84],\n.icon-navigation .is-active.trash .button-icon line[data-v-9ae40f84],\n.icon-navigation .is-active.trash .button-icon polyline[data-v-9ae40f84],\n.icon-navigation .is-active.trash .button-icon rect[data-v-9ae40f84],\n.icon-navigation .is-active.trash .button-icon circle[data-v-9ae40f84] {\n stroke: #FE6057;\n}\n.icon-navigation .router-link-active.settings .button-icon[data-v-9ae40f84],\n.icon-navigation .is-active.settings .button-icon[data-v-9ae40f84] {\n background: rgba(157, 102, 254, 0.1);\n}\n.icon-navigation .router-link-active.settings .button-icon path[data-v-9ae40f84], .icon-navigation .router-link-active.settings .button-icon line[data-v-9ae40f84], .icon-navigation .router-link-active.settings .button-icon polyline[data-v-9ae40f84], .icon-navigation .router-link-active.settings .button-icon rect[data-v-9ae40f84], .icon-navigation .router-link-active.settings .button-icon circle[data-v-9ae40f84],\n.icon-navigation .is-active.settings .button-icon path[data-v-9ae40f84],\n.icon-navigation .is-active.settings .button-icon line[data-v-9ae40f84],\n.icon-navigation .is-active.settings .button-icon polyline[data-v-9ae40f84],\n.icon-navigation .is-active.settings .button-icon rect[data-v-9ae40f84],\n.icon-navigation .is-active.settings .button-icon circle[data-v-9ae40f84] {\n stroke: #9D66FE;\n}\n.icon-navigation .router-link-active.users .button-icon[data-v-9ae40f84],\n.icon-navigation .is-active.users .button-icon[data-v-9ae40f84] {\n background: rgba(254, 102, 161, 0.1);\n}\n.icon-navigation .router-link-active.users .button-icon path[data-v-9ae40f84], .icon-navigation .router-link-active.users .button-icon line[data-v-9ae40f84], .icon-navigation .router-link-active.users .button-icon polyline[data-v-9ae40f84], .icon-navigation .router-link-active.users .button-icon rect[data-v-9ae40f84], .icon-navigation .router-link-active.users .button-icon circle[data-v-9ae40f84],\n.icon-navigation .is-active.users .button-icon path[data-v-9ae40f84],\n.icon-navigation .is-active.users .button-icon line[data-v-9ae40f84],\n.icon-navigation .is-active.users .button-icon polyline[data-v-9ae40f84],\n.icon-navigation .is-active.users .button-icon rect[data-v-9ae40f84],\n.icon-navigation .is-active.users .button-icon circle[data-v-9ae40f84] {\n stroke: #FE66A1;\n}\n@media only screen and (max-width: 1024px) {\n.menu-bar[data-v-9ae40f84] {\n flex: 0 0 60px;\n}\n.icon-navigation .icon-navigation-item[data-v-9ae40f84] {\n margin-bottom: 15px;\n}\n.icon-navigation .button-icon[data-v-9ae40f84] {\n padding: 8px;\n}\n}\n@media only screen and (max-width: 690px) {\n.menu-bar[data-v-9ae40f84] {\n display: none;\n}\n}\n@media (prefers-color-scheme: dark) {\n.icon-navigation .button-icon[data-v-9ae40f84]:hover {\n background: #141414;\n}\n.menu-bar[data-v-9ae40f84] {\n background: #1e2024;\n}\n}\n",""])},Tkbd:function(e,t,n){"use strict";var i=n("3uVy");n.n(i).a},TvmT:function(e,t,n){"use strict";var i=n("dz2S");n.n(i).a},VboA:function(e,t,n){"use strict";var i=n("6uj2");n.n(i).a},Vk9L:function(e,t,n){var i=n("/vjM");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},X0Gk:function(e,t,n){"use strict";var i=n("WHe5"),o=n("axtU"),a=n("6Z3Y"),r=n("uFbu"),s=n("L2JU");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u={name:"InvoiceFilterMobile",components:{MenuMobileGroup:i.a,OptionGroup:o.a,MenuMobile:a.a,Option:r.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(s.b)(["homeDirectory"])),methods:{showLocation:function(e){},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()}}},d=n("KHd+"),p=Object(d.a)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;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(t){return e.showLocation("regular-invoice")}}}),e._v(" "),n("Option",{attrs:{title:"Create Advance Invoice",icon:"clock","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.showLocation("advance-invoice")}}})],1),e._v(" "),n("OptionGroup",[n("Option",{attrs:{title:"Create Client",icon:"user-plus","is-hover-disabled":"true"},nativeOn:{click:function(t){return e.showLocation("clients")}}})],1)],1)],1)}),[],!1,null,null,null);t.a=p.exports},aMRR:function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".user-headline[data-v-163044c9] {\n display: flex;\n align-items: center;\n}\n.user-meta[data-v-163044c9] {\n padding-left: 20px;\n}\n.user-meta .name[data-v-163044c9] {\n display: block;\n font-size: 1.125em;\n}\n.user-meta .email[data-v-163044c9] {\n display: block;\n font-size: 0.75em;\n font-weight: 600;\n}\n",""])},cS1v:function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".no-options[data-v-b2c56f8c] .text-label {\n color: rgba(27, 37, 57, 0.7) !important;\n}\n[data-v-b2c56f8c] .no-options:hover {\n background: transparent;\n}\n.no-options[data-v-b2c56f8c] path,\n.no-options[data-v-b2c56f8c] line,\n.no-options[data-v-b2c56f8c] circle {\n stroke: rgba(27, 37, 57, 0.7) !important;\n}\n.filePreviewFixed[data-v-b2c56f8c] {\n position: fixed !important;\n display: flex;\n}\n.contextmenu[data-v-b2c56f8c] {\n min-width: 250px;\n position: absolute;\n z-index: 99;\n box-shadow: 0 7px 25px 1px rgba(0, 0, 0, 0.12);\n background: white;\n border-radius: 8px;\n overflow: hidden;\n}\n.contextmenu.showed[data-v-b2c56f8c] {\n display: block;\n}\n.menu-options[data-v-b2c56f8c] {\n list-style: none;\n width: 100%;\n margin: 0;\n padding: 0;\n}\n@media (prefers-color-scheme: dark) {\n.contextmenu[data-v-b2c56f8c] {\n background: #1e2024;\n}\n.no-options[data-v-b2c56f8c] .text-label {\n color: #7d858c !important;\n}\n[data-v-b2c56f8c] .no-options:hover {\n background: transparent;\n}\n.no-options[data-v-b2c56f8c] path,\n .no-options[data-v-b2c56f8c] line,\n .no-options[data-v-b2c56f8c] circle {\n stroke: #7d858c !important;\n}\n}\n",""])},dz2S:function(e,t,n){var i=n("szXd");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},hqR9:function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,"@media only screen and (max-width: 690px) {\n.is-scaled-down {\n transform: scale(0.95);\n}\n}\n",""])},hxEd:function(e,t,n){var i=n("hqR9");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},iEdx:function(e,t,n){"use strict";var i=n("vT7S");n.n(i).a},jlxw:function(e,t,n){var i=n("Eu+P");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},"k++1":function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".button-enter-active[data-v-c0a20b24],\n.button-leave-active[data-v-c0a20b24] {\n transition: all 250ms;\n}\n.button-enter[data-v-c0a20b24] {\n opacity: 0;\n transform: translateY(-50%);\n}\n.button-leave-to[data-v-c0a20b24] {\n opacity: 0;\n transform: translateY(50%);\n}\n.button-leave-active[data-v-c0a20b24] {\n position: absolute;\n}\n#mobile-actions-wrapper[data-v-c0a20b24] {\n display: none;\n background: white;\n position: -webkit-sticky;\n position: sticky;\n top: 35px;\n z-index: 3;\n}\n.mobile-actions[data-v-c0a20b24] {\n white-space: nowrap;\n overflow-x: auto;\n margin: 0 -15px;\n padding: 10px 0 10px 15px;\n}\n@media only screen and (max-width: 960px) {\n#mobile-actions-wrapper[data-v-c0a20b24] {\n display: block;\n}\n}\n@media (prefers-color-scheme: dark) {\n#mobile-actions-wrapper[data-v-c0a20b24] {\n background: #141414;\n}\n}\n",""])},"kVN/":function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,"#files-view {\n font-family: 'Nunito', sans-serif;\n font-size: 16px;\n width: 100%;\n height: 100%;\n position: relative;\n min-width: 320px;\n overflow-x: hidden;\n padding-left: 15px;\n padding-right: 15px;\n overflow-y: hidden;\n}\n@media only screen and (max-width: 690px) {\n#files-view {\n padding-left: 0;\n padding-right: 0;\n}\n}\n",""])},lfSS:function(e,t,n){var i=n("zRx+");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},m49t:function(e,t,n){"use strict";var i=n("jlxw");n.n(i).a},mgzR:function(e,t,n){"use strict";var i=n("WHe5"),o=n("axtU"),a=n("6Z3Y"),r=n("uFbu"),s=n("L2JU");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u={name:"InvoiceFilterMobile",components:{MenuMobileGroup:i.a,OptionGroup:o.a,MenuMobile:a.a,Option:r.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(s.b)(["homeDirectory"])),methods:{showLocation:function(e){},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()}}},d=n("KHd+"),p=Object(d.a)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("MenuMobile",{attrs:{name:"invoice-sorting"}},[n("MenuMobileGroup",[n("OptionGroup",[n("Option",{attrs:{title:e.$t("preview_sorting.sort_date"),icon:"calendar"},nativeOn:{click:function(t){return t.stopPropagation(),e.sort("created_at")}}}),e._v(" "),n("Option",{attrs:{title:e.$t("preview_sorting.sort_alphabet"),icon:"alphabet"},nativeOn:{click:function(t){return t.stopPropagation(),e.sort("name")}}})],1)],1)],1)}),[],!1,null,null,null);t.a=p.exports},oBYw:function(e,t,n){var i=n("+1jq");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},qCeM:function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".user-avatar[data-v-8c5eec7c] {\n line-height: 0;\n position: relative;\n width: 40px;\n margin: 0 auto;\n}\n.user-avatar .notification[data-v-8c5eec7c] {\n width: 12px;\n height: 12px;\n display: block;\n position: absolute;\n bottom: -5px;\n right: -4px;\n border-radius: 10px;\n z-index: 2;\n background: #FE6057;\n border: 2px solid #f4f5f6;\n}\n.user-avatar img[data-v-8c5eec7c] {\n border-radius: 6px;\n width: 40px;\n height: 40px;\n -o-object-fit: cover;\n object-fit: cover;\n}\n.user-avatar.large[data-v-8c5eec7c] {\n margin: 0;\n width: 54px;\n}\n.user-avatar.large img[data-v-8c5eec7c] {\n border-radius: 9px;\n width: 52px;\n height: 52px;\n}\n@media (prefers-color-scheme: dark) {\n.user-avatar .notification[data-v-8c5eec7c] {\n border-color: #1e2024;\n}\n}\n",""])},qG8v:function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".headline[data-v-f89b3dfc] {\n padding: 20px 20px 10px;\n margin-bottom: 0;\n}\n",""])},qGeY:function(e,t,n){var i=n("aMRR");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},syiz:function(e,t,n){"use strict";var i=n("WHe5"),o=n("GjAa"),a=n("aeLu"),r=n("axtU"),s=n("6Z3Y"),c=n("uFbu"),l=n("L2JU");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p={name:"FileMenuMobile",components:{MenuMobileGroup:i.a,ThumbnailItem:a.a,TitlePreview:o.a,OptionGroup:r.a,MenuMobile:s.a,Option:c.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(l.b)(["clipboard","user"])),data:function(){return{isVisible:!1}},methods:{}},f=(n("zQyJ"),n("KHd+")),v=Object(f.a)(p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("MenuMobile",{attrs:{name:"invoice-menu"}},[e.clipboard[0]?n("TitlePreview",{staticClass:"headline",attrs:{icon:"file-text",title:e.clipboard[0].name,subtitle:"Invoice - "+e.clipboard[0].invoiceNumber}}):e._e(),e._v(" "),n("MenuMobileGroup",[n("OptionGroup",{staticClass:"menu-option-group"},[n("Option",{attrs:{title:"Edit Invoice",icon:"rename"},nativeOn:{click:function(e){}}}),e._v(" "),n("Option",{attrs:{title:"Send Invoice",icon:"send"},nativeOn:{click:function(e){}}}),e._v(" "),n("Option",{attrs:{title:"Go to Company",icon:"user"},nativeOn:{click:function(e){}}}),e._v(" "),n("Option",{attrs:{title:e.$t("context_menu.delete"),icon:"trash"},nativeOn:{click:function(e){}}})],1),e._v(" "),n("OptionGroup",[n("Option",{attrs:{title:e.$t("context_menu.detail"),icon:"detail"},nativeOn:{click:function(e){}}}),e._v(" "),n("Option",{attrs:{title:e.$t("context_menu.download"),icon:"download"},nativeOn:{click:function(e){}}})],1)],1)],1)}),[],!1,null,"f89b3dfc",null);t.a=v.exports},szXd:function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".is-inactive[data-v-6aac4ae9] {\n opacity: 0.25;\n pointer-events: none;\n}\n.toolbar-wrapper[data-v-6aac4ae9] {\n padding-top: 10px;\n padding-bottom: 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n position: relative;\n z-index: 2;\n}\n.location[data-v-6aac4ae9] {\n align-items: center;\n cursor: pointer;\n display: flex;\n}\n.location .icon-back[data-v-6aac4ae9] {\n transition: 150ms all ease;\n pointer-events: none;\n margin-right: 6px;\n flex-shrink: 0;\n opacity: 0.15;\n}\n.location .icon-back.is-active[data-v-6aac4ae9] {\n opacity: 1;\n pointer-events: initial;\n}\n.location .location-title[data-v-6aac4ae9] {\n font-size: 0.9375em;\n line-height: 1;\n font-weight: 700;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: #1B2539;\n}\n.location .location-more[data-v-6aac4ae9] {\n margin-left: 6px;\n padding: 1px 4px;\n line-height: 0;\n border-radius: 3px;\n transition: 150ms all ease;\n}\n.location .location-more svg circle[data-v-6aac4ae9] {\n transition: 150ms all ease;\n}\n.location .location-more[data-v-6aac4ae9]:hover {\n background: #f4f5f6;\n}\n.location .location-more:hover svg circle[data-v-6aac4ae9] {\n color: inherit;\n}\n.toolbar-position[data-v-6aac4ae9] {\n text-align: center;\n}\n.toolbar-position span[data-v-6aac4ae9] {\n font-size: 1.0625em;\n font-weight: 600;\n}\n@media only screen and (max-width: 1024px) {\n.location .location-title[data-v-6aac4ae9] {\n max-width: 120px;\n}\n.toolbar-tools .button[data-v-6aac4ae9] {\n margin-left: 0;\n height: 40px;\n width: 40px;\n}\n}\n@media only screen and (max-width: 960px) {\n#desktop-toolbar[data-v-6aac4ae9] {\n display: none;\n}\n}\n@media (prefers-color-scheme: dark) {\n.location .location-title[data-v-6aac4ae9] {\n color: #bec6cf;\n}\n.location .location-more[data-v-6aac4ae9]:hover {\n background: #1e2024;\n}\n}\n",""])},vT7S:function(e,t,n){var i=n("kVN/");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},x1Th:function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".headline[data-v-85d16514] {\n padding: 20px 20px 10px;\n margin-bottom: 0;\n}\n",""])},yInV:function(e,t,n){"use strict";n.r(t);var i=n("xJC3"),o=n("CjXH"),a=n("R+IU"),r=n("UUIA"),s=n("0gRs"),c=n("JilC"),l=n("axtU"),u=n("8uc6"),d=n("nSi/"),p=n("uFbu"),f=n("L2JU"),v=n("xCqy");function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h={name:"InvoiceDesktopToolbar",components:{FileSortingOptions:i.a,MoreHorizontalIcon:o.P,ChevronLeftIcon:o.g,ToolbarWrapper:r.a,PopoverWrapper:a.a,ToolbarButton:s.a,ToolbarGroup:c.a,PopoverItem:u.a,SearchBar:d.a,OptionGroup:l.a,Option:p.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(f.b)(["isVisibleSidebar","currentFolder","clipboard"]),{directoryName:function(){return this.currentFolder?this.currentFolder.name:"Invoices"},canActiveInView:function(){return!this.$isThisLocation(["regular-invoice","advance-invoice"])||0===this.clipboard.length}}),data:function(){return{query:""}},watch:{query:function(e){this.$searchInvoices(e)}},methods:{showSortingMenu:function(){v.a.$emit("popover:open","desktop-sorting")},createCreateMenu:function(){v.a.$emit("popover:open","desktop-create-invoices")},deleteInvoice:function(){this.clipboard.length>0&&this.$store.dispatch("deleteInvoice")},shareInvoice:function(){alert("Send Invoice")}}},g=(n("TvmT"),n("KHd+")),O=Object(g.a)(h,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"desktop-toolbar"}},[n("div",{staticClass:"toolbar-wrapper"},[n("div",{staticClass:"location"},[n("span",{staticClass:"location-title"},[e._v("\n\t\t\t\t\t"+e._s(e.directoryName)+"\n\t\t\t\t")])]),e._v(" "),n("ToolbarWrapper",[n("ToolbarGroup",{staticStyle:{"margin-left":"0"}},[n("SearchBar",{attrs:{placeholder:"Search your invoices..."},on:{"reset-query":function(t){e.query=""}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}})],1),e._v(" "),n("ToolbarGroup",[n("PopoverWrapper",[n("ToolbarButton",{attrs:{source:"plus",action:e.$t("actions.create_folder")},nativeOn:{click:function(t){return t.stopPropagation(),e.createCreateMenu(t)}}}),e._v(" "),n("PopoverItem",{attrs:{name:"desktop-create-invoices"}},[n("OptionGroup",[n("Option",{attrs:{title:"Create Invoice",icon:"file-plus"}}),e._v(" "),n("Option",{attrs:{title:"Create Advance Invoice",icon:"clock"}})],1),e._v(" "),n("OptionGroup",[n("Option",{attrs:{title:"Create Client",icon:"user-plus"}})],1)],1)],1)],1),e._v(" "),e.$isMobile()?e._e():n("ToolbarGroup",[n("ToolbarButton",{class:{"is-inactive":e.canActiveInView},attrs:{source:"send",action:e.$t("actions.share")},nativeOn:{click:function(t){return e.shareInvoice(t)}}}),e._v(" "),n("ToolbarButton",{class:{"is-inactive":e.canActiveInView},attrs:{source:"rename",action:e.$t("actions.share")},nativeOn:{click:function(t){return e.shareInvoice(t)}}}),e._v(" "),n("ToolbarButton",{class:{"is-inactive":e.canActiveInView},attrs:{source:"trash",action:e.$t("actions.delete")},nativeOn:{click:function(t){return e.deleteInvoice(t)}}})],1),e._v(" "),n("ToolbarGroup",[n("PopoverWrapper",[n("ToolbarButton",{attrs:{source:"preview-sorting",action:e.$t("actions.sorting_view")},nativeOn:{click:function(t){return t.stopPropagation(),e.showSortingMenu(t)}}}),e._v(" "),n("PopoverItem",{attrs:{name:"desktop-sorting"}},[n("OptionGroup",[n("Option",{attrs:{title:e.$t("preview_sorting.sort_date"),icon:"calendar"},nativeOn:{click:function(t){return t.stopPropagation(),e.sort("created_at")}}}),e._v(" "),n("Option",{attrs:{title:e.$t("preview_sorting.sort_alphabet"),icon:"alphabet"},nativeOn:{click:function(t){return t.stopPropagation(),e.sort("name")}}})],1)],1)],1),e._v(" "),n("ToolbarButton",{class:{active:e.isVisibleSidebar},attrs:{action:e.$t("actions.info_panel"),source:"info"},nativeOn:{click:function(t){return e.$store.dispatch("fileInfoToggle")}}})],1)],1)],1)])}),[],!1,null,"6aac4ae9",null).exports,w=n("RXD1"),y=n("t5U/"),x=n("HtFH");function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P={name:"FileActionsMobile",components:{MobileActionButtonUpload:w.a,MobileActionButton:y.a,UploadProgress:x.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(f.b)(["currentFolder"]),{directoryName:function(){return this.currentFolder?this.currentFolder.name:"Invoices"}}),data:function(){return{isSelectMode:!1}},methods:{showLocations:function(){v.a.$emit("mobile-menu:show","invoice-filter")},createButton:function(){v.a.$emit("mobile-menu:show","invoice-create")},showViewOptions:function(){v.a.$emit("mobile-menu:show","invoice-sorting")},selectAll:function(){this.$store.commit("ADD_ALL_ITEMS_TO_CLIPBOARD")},deselectAll:function(){this.$store.commit("CLIPBOARD_CLEAR")},enableMultiSelectMode:function(){this.isSelectMode=!0,v.a.$emit("mobileSelecting:start")},disableMultiSelectMode:function(){this.isSelectMode=!1,v.a.$emit("mobileSelecting:stop")}},mounted:function(){var e=this;v.a.$on("mobileSelecting:stop",(function(){return e.isSelectMode=!1}))}},j=(n("BEfy"),Object(g.a)(P,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"mobile-actions-wrapper"}},[n("div",{staticClass:"mobile-actions"},[n("MobileActionButton",{attrs:{icon:"filter"},nativeOn:{click:function(t){return e.showLocations(t)}}},[e._v("\n "+e._s(e.directoryName)+"\n ")]),e._v(" "),n("MobileActionButton",{attrs:{icon:"file-plus"},nativeOn:{click:function(t){return e.createButton(t)}}},[e._v("\n Create\n ")]),e._v(" "),n("MobileActionButton",{attrs:{icon:"th-list"},nativeOn:{click:function(t){return e.showViewOptions(t)}}},[e._v("\n "+e._s(e.$t("preview_sorting.preview_sorting_button"))+"\n ")])],1)])}),[],!1,null,"c0a20b24",null).exports),I=n("Alu5"),C=n("Jc/C"),M=n("C40w"),$=n("GjAa"),E=n("PTF1"),D=n("gy3V"),S=n("VPMc");function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A={name:"InfoSidebar",components:{FilePreviewDetail:I.a,ImageMetaData:C.a,EmptyMessage:M.a,TitlePreview:$.a,ListInfoItem:D.a,UnlockIcon:o.fb,CopyInput:E.a,Edit2Icon:o.s,LockIcon:o.L,ListInfo:S.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(f.b)(["permissionOptions","clipboard"]),{isInvoice:function(){return this.clipboard[0]&&"invoice"===this.clipboard[0].type},isClient:function(){return this.clipboard[0]&&"client"===this.clipboard[0].type},isEmpty:function(){return 0===this.clipboard.length},isSingleFile:function(){return 1===this.clipboard.length},singleFile:function(){return this.clipboard[0]},canShowMetaData:function(){return this.clipboard[0].metadata&&this.clipboard[0].metadata.ExifImageWidth},isLocked:function(){return this.clipboard[0].shared.is_protected},sharedInfo:function(){var e=this,t=this.permissionOptions.find((function(t){return t.value===e.clipboard[0].shared.permission}));return t?this.$t(t.label):this.$t("shared.can_download")}}),methods:{openShareOptions:function(){v.a.$emit("popup:open",{name:"share-edit",item:this.clipboard[0]})},openMoveOptions:function(){v.a.$emit("popup:open",{name:"move",item:this.clipboard})}}},R=(n("QZUf"),Object(g.a)(A,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"info-wrapper"},[e.isEmpty?n("EmptyMessage",{attrs:{message:e.$t("messages.nothing_to_preview"),icon:"eye-off"}}):e._e(),e._v(" "),e.isClient?n("div",[e.isSingleFile&&!e.isEmpty?n("div",{staticClass:"info-headline"},[n("TitlePreview",{attrs:{icon:"user",title:e.singleFile.name,subtitle:"Client"}})],1):e._e(),e._v(" "),e.isSingleFile&&!e.isEmpty?n("ListInfo",[n("ListInfoItem",{attrs:{title:"Email",content:e.singleFile.email}}),e._v(" "),n("ListInfoItem",{attrs:{title:"Total Net",content:e.singleFile.totalNet}}),e._v(" "),n("ListInfoItem",{attrs:{title:"Total Invoices",content:e.singleFile.totalInvoices+" Pcs."}}),e._v(" "),n("ListInfoItem",{attrs:{title:e.$t("file_detail.created_at"),content:e.singleFile.created_at}})],1):e._e()],1):e._e(),e._v(" "),e.isInvoice?n("div",[e.isSingleFile||e.isEmpty?e._e():n("div",{staticClass:"info-headline"},[n("TitlePreview",{attrs:{icon:"check-square",title:e.$t("file_detail.selected_multiple"),subtitle:this.clipboard.length+" "+e.$tc("file_detail.items",this.clipboard.length)}})],1),e._v(" "),e.isSingleFile&&!e.isEmpty?n("div",{staticClass:"info-headline"},[n("TitlePreview",{attrs:{icon:"file-text",title:e.singleFile.clientName,subtitle:"Invoice - "+e.singleFile.invoiceNumber}})],1):e._e(),e._v(" "),e.isSingleFile&&!e.isEmpty?n("ListInfo",[n("ListInfoItem",{attrs:{title:"Invoice Number",content:e.singleFile.invoiceNumber}}),e._v(" "),n("ListInfoItem",{attrs:{title:"Total",content:e.singleFile.total}}),e._v(" "),n("ListInfoItem",{attrs:{title:"Client",content:e.singleFile.clientName}}),e._v(" "),n("ListInfoItem",{attrs:{title:e.$t("file_detail.created_at"),content:e.singleFile.created_at}})],1):e._e()],1):e._e()],1)}),[],!1,null,"3aabe400",null).exports);function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z={name:"InvoiceItem",props:["item"],components:{MoreVerticalIcon:o.Q,CheckIcon:o.d},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){F(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(f.b)(["FilePreviewType","clipboard","entries"]),{isClicked:function(){var e=this;return this.clipboard.some((function(t){return t.id===e.item.id}))}}),data:function(){return{isMobileSelectMode:!1}},methods:{showItemActions:function(){this.$store.commit("CLIPBOARD_CLEAR"),this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item),v.a.$emit("mobile-menu:show","invoice-menu")},clickedItem:function(e){var t=this;if(!this.$isMobile())if(!e.ctrlKey&&!e.metaKey||e.shiftKey)if(e.shiftKey){var n=this.entries.indexOf(this.clipboard[this.clipboard.length-1]),i=this.entries.indexOf(this.item);if(e.ctrlKey||e.metaKey||this.$store.commit("CLIPBOARD_CLEAR"),n<i)for(var o=n;o<=i;o++)this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.entries[o]);else for(var a=n;a>=i;a--)this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.entries[a])}else this.$store.commit("CLIPBOARD_CLEAR"),this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item);else this.clipboard.some((function(e){return e.data.id===t.item.data.id}))?this.$store.commit("REMOVE_ITEM_FROM_CLIPBOARD",this.item):this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item);!this.isMobileSelectMode&&this.$isMobile()&&v.a.$emit("file-preview:show"),this.isMobileSelectMode&&this.$isMobile()&&(this.clipboard.some((function(e){return e.data.id===t.item.data.id}))?this.$store.commit("REMOVE_ITEM_FROM_CLIPBOARD",this.item):this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item))},showInvoice:function(){v.a.$emit("file-preview:show")}},created:function(){var e=this;v.a.$on("mobileSelecting:start",(function(){e.isMobileSelectMode=!0,e.$store.commit("CLIPBOARD_CLEAR")})),v.a.$on("mobileSelecting:stop",(function(){e.isMobileSelectMode=!1,e.$store.commit("CLIPBOARD_CLEAR")}))}},G=(n("KaJi"),Object(g.a)(z,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"file-wrapper",on:{mouseup:function(t){return t.stopPropagation(),e.clickedItem(t)},dblclick:e.showInvoice}},[n("div",{staticClass:"file-item",class:{"is-clicked":e.isClicked,"no-clicked":!e.isClicked&&e.$isMobile()}},[n("transition",{attrs:{name:"slide-from-left"}},[e.isMobileSelectMode?n("div",{staticClass:"check-select"},[n("div",{staticClass:"select-box",class:{"select-box-active":e.isClicked}},[e.isClicked?n("CheckIcon",{staticClass:"icon",attrs:{size:"17"}}):e._e()],1)]):e._e()]),e._v(" "),n("div",{staticClass:"item-name"},[n("b",{ref:e.item.id,staticClass:"name"},[e._v("\n "+e._s(e.item.clientName)+" - "+e._s(e.item.total)+"\n ")]),e._v(" "),n("div",{staticClass:"item-info"},[n("span",{staticClass:"item-size"},[e._v("\n\t\t\t\t\t\t"+e._s(e.item.created_at)+", n. "+e._s(e.item.invoiceNumber)+"\n\t\t\t\t\t")])])]),e._v(" "),n("transition",{attrs:{name:"slide-from-right"}},[e.$isMobile()&&!e.isMobileSelectMode?n("div",{staticClass:"actions"},[n("span",{staticClass:"show-actions",on:{mousedown:function(t){return t.stopPropagation(),e.showItemActions(t)}}},[n("MoreVerticalIcon",{staticClass:"icon-action text-theme",attrs:{size:"16"}})],1)]):e._e()])],1)])}),[],!1,null,"09d9a952",null).exports);function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var H={name:"InvoiceItem",props:["item"],components:{MoreVerticalIcon:o.Q,CheckIcon:o.d},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(f.b)(["FilePreviewType","clipboard","entries"]),{isClicked:function(){var e=this;return this.clipboard.some((function(t){return t.id===e.item.id}))}}),data:function(){return{isMobileSelectMode:!1}},methods:{showItemActions:function(){this.$store.commit("CLIPBOARD_CLEAR"),this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item),v.a.$emit("mobile-menu:show","client-menu")},clickedItem:function(e){var t=this;if(!this.$isMobile())if(!e.ctrlKey&&!e.metaKey||e.shiftKey)if(e.shiftKey){var n=this.entries.indexOf(this.clipboard[this.clipboard.length-1]),i=this.entries.indexOf(this.item);if(e.ctrlKey||e.metaKey||this.$store.commit("CLIPBOARD_CLEAR"),n<i)for(var o=n;o<=i;o++)this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.entries[o]);else for(var a=n;a>=i;a--)this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.entries[a])}else this.$store.commit("CLIPBOARD_CLEAR"),this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item);else this.clipboard.some((function(e){return e.data.id===t.item.data.id}))?this.$store.commit("REMOVE_ITEM_FROM_CLIPBOARD",this.item):this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item);!this.isMobileSelectMode&&this.$isMobile()&&v.a.$emit("file-preview:show"),this.isMobileSelectMode&&this.$isMobile()&&(this.clipboard.some((function(e){return e.data.id===t.item.data.id}))?this.$store.commit("REMOVE_ITEM_FROM_CLIPBOARD",this.item):this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item))},showInvoice:function(){v.a.$emit("file-preview:show")}},created:function(){var e=this;v.a.$on("mobileSelecting:start",(function(){e.isMobileSelectMode=!0,e.$store.commit("CLIPBOARD_CLEAR")})),v.a.$on("mobileSelecting:stop",(function(){e.isMobileSelectMode=!1,e.$store.commit("CLIPBOARD_CLEAR")}))}},N=(n("m49t"),Object(g.a)(H,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"file-wrapper",on:{mouseup:function(t){return t.stopPropagation(),e.clickedItem(t)},dblclick:e.showInvoice}},[n("div",{staticClass:"file-item",class:{"is-clicked":e.isClicked,"no-clicked":!e.isClicked&&e.$isMobile()}},[n("transition",{attrs:{name:"slide-from-left"}},[e.isMobileSelectMode?n("div",{staticClass:"check-select"},[n("div",{staticClass:"select-box",class:{"select-box-active":e.isClicked}},[e.isClicked?n("CheckIcon",{staticClass:"icon",attrs:{size:"17"}}):e._e()],1)]):e._e()]),e._v(" "),n("div",{staticClass:"icon-item"},[n("img",{staticClass:"image",attrs:{loading:"lazy",src:e.item.avatar,alt:e.item.name}})]),e._v(" "),n("div",{staticClass:"item-name"},[n("b",{ref:e.item.id,staticClass:"name"},[e._v("\n "+e._s(e.item.name)+"\n ")]),e._v(" "),n("div",{staticClass:"item-info"},[n("span",{staticClass:"item-size"},[e._v("\n\t\t\t\t\t\tCreated at: "+e._s(e.item.created_at)+", Total: "+e._s(e.item.totalNet)+"\n\t\t\t\t\t")])])]),e._v(" "),n("transition",{attrs:{name:"slide-from-right"}},[e.$isMobile()&&!e.isMobileSelectMode?n("div",{staticClass:"actions"},[n("span",{staticClass:"show-actions",on:{mousedown:function(t){return t.stopPropagation(),e.showItemActions(t)}}},[n("MoreVerticalIcon",{staticClass:"icon-action text-theme",attrs:{size:"16"}})],1)]):e._e()])],1)])}),[],!1,null,"2065efee",null).exports),q=n("XdRL"),X=n("j8uk");function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y={name:"FilesContainer",components:{InvoiceActionsMobile:j,InvoiceInfoSidebar:R,EmptyFilePage:q.a,MobileToolbar:X.a,EmptyMessage:M.a,InvoiceItem:G,ClientItem:N,SearchBar:d.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){J(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(f.b)(["filesInQueueTotal","isVisibleSidebar","FilePreviewType","currentFolder","isSearching","clipboard","isLoading","entries"]),{isEmpty:function(){return 0==this.entries.length},draggedItems:function(){return this.clipboard.includes(this.draggingId)?this.clipboard.includes(this.draggingId)?this.clipboard:void 0:[this.draggingId]}}),watch:{query:function(e){this.$searchInvoices(e)}},data:function(){return{draggingId:void 0,isDragging:!1,isMultiSelect:!1,query:""}},methods:{deleteItems:function(){(this.clipboard.length>0&&this.$checkPermission("master")||this.$checkPermission("editor"))&&this.$store.dispatch("deleteItem")},contextMenu:function(e,t){v.a.$emit("contextMenu:show",e,t)},filesContainerClick:function(){this.$store.commit("CLIPBOARD_CLEAR")}},created:function(){var e=this;v.a.$on("mobileSelecting:start",(function(){e.isMultiSelect=!0})),v.a.$on("mobileSelecting:stop",(function(){e.isMultiSelect=!1})),v.a.$on("fileItem:deselect",(function(){e.$store.commit("CLIPBOARD_CLEAR")})),this.$store.commit("STORE_CURRENT_FOLDER",{name:"Invoices",id:void 0,location:"regular-invoice"})}},W=(n("BNX6"),Object(g.a)(Y,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"file-content",attrs:{id:"file-content-id",tabindex:"-1"}},[n("div",{ref:"fileContainer",staticClass:"files-container",class:{"is-visible":e.isVisibleSidebar,"mobile-multi-select":e.isMultiSelect},on:{click:function(t){return t.target!==t.currentTarget?null:e.filesContainerClick(t)}}},[n("MobileToolbar"),e._v(" "),n("SearchBar",{staticClass:"mobile-search",attrs:{placeholder:e.$t("inputs.placeholder_search_files")},on:{"reset-query":function(t){e.query=""}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}}),e._v(" "),n("InvoiceActionsMobile"),e._v(" "),n("div",{staticClass:"file-list-wrapper"},[n("transition-group",{staticClass:"file-list",attrs:{name:"file",tag:"section"}},[e._l(e.entries,(function(t){return"invoice"===t.type?n("InvoiceItem",{key:t.id,staticClass:"file-item",attrs:{item:t},nativeOn:{contextmenu:function(n){return n.preventDefault(),e.contextMenu(n,t)}}}):e._e()})),e._v(" "),e._l(e.entries,(function(t){return"client"===t.type?n("ClientItem",{key:t.id,staticClass:"file-item",attrs:{item:t},nativeOn:{contextmenu:function(n){return n.preventDefault(),e.contextMenu(n,t)}}}):e._e()}))],2)],1),e._v(" "),e.isSearching?e._e():n("EmptyFilePage"),e._v(" "),e.isSearching&&e.isEmpty?n("EmptyMessage",{attrs:{message:e.$t("messages.nothing_was_found"),icon:"eye-slash"}}):e._e()],1),e._v(" "),n("div",{staticClass:"file-info-container",class:{"is-visible":e.isVisibleSidebar}},[n("InvoiceInfoSidebar")],1)])}),[],!1,null,"ab1d345e",null).exports);function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ee={name:"ContextMenu",components:{OptionGroup:l.a,Option:p.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){Q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(f.b)(["user","clipboard"]),{isInvoice:function(){return this.clipboard[0]&&"invoice"===this.clipboard[0].type},isClient:function(){return this.clipboard[0]&&"client"===this.clipboard[0].type},isMultiSelectContextMenu:function(){return!(this.clipboard.length>1&&this.clipboard.includes(this.item))&&(this.clipboard.length<2||!this.clipboard.includes(this.item)||void 0)}}),data:function(){return{showFromPreview:!1,item:void 0,isVisible:!1,positionX:0,positionY:0}},methods:{downloadItem:function(){this.clipboard.length>1?this.$store.dispatch("downloadFiles"):this.$downloadFile(this.item.file_url,this.item.name+"."+this.item.mimetype)},showDetail:function(){this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item),this.$store.dispatch("fileInfoToggle",!0)},deleteItem:function(){},closeAndResetContextMenu:function(){this.isVisible=!1,this.item=void 0},showFolderActionsMenu:function(){var e=document.getElementById("folder-actions");this.positionX=e.offsetLeft+16,this.positionY=e.offsetTop+30,this.isVisible=!0},showContextMenu:function(e){var t=50*document.getElementById("menu-list").getElementsByClassName("menu-option").length,n=document.getElementById("files-view"),i=n.getClientRects()[0],o=e.clientX-i.left,a=e.clientY-i.top;n.offsetHeight-a<t?this.positionY=a-t:this.positionY=a,n.offsetWidth-o<190?this.positionX=o-190:this.positionX=o,this.isVisible=!0},showFilePreviewMenu:function(){var e=document.getElementById("fast-preview-menu");e&&(this.positionX=e.offsetLeft+16,this.positionY=e.offsetTop+51)}},created:function(){var e=this;v.a.$on("showContextMenuPreview:show",(function(t){e.showFromPreview?e.showFromPreview&&(e.showFromPreview=!1,e.item=void 0):(e.item=t,e.showFromPreview=!0,e.showFilePreviewMenu())})),v.a.$on("showContextMenuPreview:hide",(function(){e.isVisible=!1,e.showFromPreview=!1,e.item=void 0})),v.a.$on("contextMenu:show",(function(t,n){e.item=n,setTimeout((function(){return e.showContextMenu(t,n)}),10)})),v.a.$on("unClick",(function(){return e.closeAndResetContextMenu()})),v.a.$on("folder:actions",(function(t){e.item=t,e.isVisible?e.isVisible=!1:e.showFolderActionsMenu()}))}},te=(n("VboA"),{name:"ContentInvoiceView",components:{InvoiceDesktopToolbar:O,InvoiceContextMenu:Object(g.a)(ee,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.isVisible||e.showFromPreview,expression:"isVisible || showFromPreview"}],ref:"contextmenu",staticClass:"contextmenu",class:{filePreviewFixed:e.showFromPreview},style:{top:e.positionY+"px",left:e.positionX+"px"},on:{click:e.closeAndResetContextMenu}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isInvoice,expression:"isInvoice"}],staticClass:"menu-options",attrs:{id:"menu-list"}},[n("OptionGroup",{staticClass:"menu-option-group"},[n("Option",{attrs:{title:"Edit Invoice",icon:"rename"},nativeOn:{click:function(e){}}}),e._v(" "),n("Option",{attrs:{title:"Send Invoice",icon:"send"},nativeOn:{click:function(e){}}}),e._v(" "),n("Option",{attrs:{title:"Go to Company",icon:"user"},nativeOn:{click:function(e){}}}),e._v(" "),n("Option",{attrs:{title:e.$t("context_menu.delete"),icon:"trash"},nativeOn:{click:function(t){return e.deleteItem(t)}}})],1),e._v(" "),n("OptionGroup",[n("Option",{attrs:{title:e.$t("context_menu.detail"),icon:"detail"},nativeOn:{click:function(t){return e.showDetail(t)}}}),e._v(" "),n("Option",{attrs:{title:e.$t("context_menu.download"),icon:"download"},nativeOn:{click:function(t){return e.downloadItem(t)}}})],1)],1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isClient,expression:"isClient"}],staticClass:"menu-options",attrs:{id:"menu-list"}},[n("OptionGroup",{staticClass:"menu-option-group"},[n("Option",{attrs:{title:"Edit",icon:"rename"},nativeOn:{click:function(e){}}}),e._v(" "),n("Option",{attrs:{title:"Delete",icon:"trash"},nativeOn:{click:function(t){return e.deleteItem(t)}}})],1),e._v(" "),n("OptionGroup",[n("Option",{attrs:{title:"Go to Profile",icon:"user"},nativeOn:{click:function(t){return e.showDetail(t)}}}),e._v(" "),n("Option",{attrs:{title:e.$t("context_menu.detail"),icon:"detail"},nativeOn:{click:function(t){return e.showDetail(t)}}})],1)],1)])}),[],!1,null,"b2c56f8c",null).exports,InvoiceBrowser:W},methods:{contextMenu:function(e,t){v.a.$emit("contextMenu:show",e,t)}}}),ne=(n("iEdx"),Object(g.a)(te,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"files-view"},on:{"!contextmenu":function(t){return t.preventDefault(),e.contextMenu(t,void 0)}}},[n("InvoiceDesktopToolbar"),e._v(" "),n("InvoiceContextMenu"),e._v(" "),n("InvoiceBrowser")],1)}),[],!1,null,null,null).exports),ie=n("mgzR"),oe=n("4PuI"),ae=n("syiz"),re=n("R3o8"),se=n("X0Gk"),ce=n("IeT8"),le=n("2zde"),ue=n("LtV2"),de=n("VM1d"),pe=n("hXay");function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var me={name:"Settings",computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(n),!0).forEach((function(t){ve(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(f.b)(["config"])),components:{ContentInvoiceView:ne,InvoiceSortingMobile:ie.a,InvoiceFilterMobile:oe.a,InvoiceCreateMenu:se.a,InvoiceMobileMenu:ae.a,SidebarNavigation:ce.a,ClientMobileMenu:re.a,MobileNavigation:le.a,ContentSidebar:ue.a,FileTextIcon:o.y,ContentGroup:pe.a,FilePreview:de.a,UsersIcon:o.jb,ClockIcon:o.j},data:function(){return{isScaledDown:!1}},methods:{goTo:function(e){this.$store.dispatch({"regular-invoice":"getRegularInvoices","advance-invoice":"getAdvanceInvoices",clients:"getClients"}[e])}},mounted:function(){var e=this;v.a.$on("mobile-menu:show",(function(){return e.isScaledDown=!0})),v.a.$on("fileItem:deselect",(function(){return e.isScaledDown=!1})),v.a.$on("mobile-menu:hide",(function(){return e.isScaledDown=!1})),this.$store.dispatch("getRegularInvoices")}},be=(n("4+82"),Object(g.a)(me,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{attrs:{id:"viewport"}},[n("ContentSidebar",[n("ContentGroup",{staticClass:"navigator menu-list-wrapper vertical",attrs:{title:"Invoices"}},[n("a",{staticClass:"menu-list-item link",class:{"is-active":e.$isThisLocation(["regular-invoice"])},on:{click:function(t){return e.goTo("regular-invoice")}}},[n("div",{staticClass:"icon text-theme"},[n("file-text-icon",{attrs:{size:"17"}})],1),e._v(" "),n("div",{staticClass:"label text-theme"},[e._v("\n\t\t\t\t\t\tInvoices\n\t\t\t\t\t")])]),e._v(" "),n("a",{staticClass:"menu-list-item link",class:{"is-active":e.$isThisLocation(["advance-invoice"])},on:{click:function(t){return e.goTo("advance-invoice")}}},[n("div",{staticClass:"icon text-theme"},[n("clock-icon",{attrs:{size:"17"}})],1),e._v(" "),n("div",{staticClass:"label text-theme"},[e._v("\n\t\t\t\t\t\tAdvance Invoices\n\t\t\t\t\t")])])]),e._v(" "),n("ContentGroup",{staticClass:"navigator menu-list-wrapper vertical",attrs:{title:"Others"}},[n("a",{staticClass:"menu-list-item link",class:{"is-active":e.$isThisLocation(["clients"])},on:{click:function(t){return e.goTo("clients")}}},[n("div",{staticClass:"icon text-theme"},[n("users-icon",{attrs:{size:"17"}})],1),e._v(" "),n("div",{staticClass:"label text-theme"},[e._v("\n\t\t\t\t\t\tClients\n\t\t\t\t\t")])])])],1),e._v(" "),n("ContentInvoiceView")],1)}),[],!1,null,null,null));t.default=be.exports},yU94:function(e,t,n){var i=n("qG8v");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)},zQyJ:function(e,t,n){"use strict";var i=n("yU94");n.n(i).a},"zRx+":function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".file-list .dragged[data-v-ab1d345e] .is-dragenter {\n border: 2px solid transparent;\n}\n.dragged[data-v-ab1d345e] {\n opacity: 0.5;\n}\n#multi-selected[data-v-ab1d345e] {\n position: fixed;\n pointer-events: none;\n z-index: 100;\n}\n.mobile-multi-select[data-v-ab1d345e] {\n bottom: 50px !important;\n top: 0px;\n}\n.button-upload[data-v-ab1d345e] {\n display: block;\n text-align: center;\n margin: 20px 0;\n}\n.mobile-search[data-v-ab1d345e] {\n display: none;\n margin-bottom: 10px;\n margin-top: 10px;\n}\n.file-content[data-v-ab1d345e] {\n display: flex;\n}\n.file-content.is-dragging[data-v-ab1d345e] {\n transform: scale(0.99);\n}\n.files-container[data-v-ab1d345e] {\n overflow-x: hidden;\n overflow-y: auto;\n flex: 0 0 100%;\n transition: 150ms all ease;\n position: relative;\n scroll-behavior: smooth;\n}\n.files-container.is-visible[data-v-ab1d345e] {\n flex: 0 1 100%;\n}\n.files-container .file-list.grid[data-v-ab1d345e] {\n display: grid;\n grid-template-columns: repeat(auto-fill, 180px);\n justify-content: space-evenly;\n}\n.file-info-container[data-v-ab1d345e] {\n flex: 0 0 300px;\n padding-left: 20px;\n overflow: auto;\n}\n.file-move[data-v-ab1d345e] {\n transition: transform 0.6s;\n}\n.file-enter-active[data-v-ab1d345e] {\n transition: all 300ms ease;\n}\n.file-leave-active[data-v-ab1d345e] {\n transition: all 0ms;\n}\n.file-enter[data-v-ab1d345e], .file-leave-to[data-v-ab1d345e] {\n opacity: 0;\n transform: translateX(-20px);\n}\n@media only screen and (min-width: 960px) {\n.file-content[data-v-ab1d345e] {\n position: absolute;\n top: 72px;\n left: 15px;\n right: 15px;\n bottom: 0;\n transition: 0.3s all ease;\n overflow-y: auto;\n overflow-x: hidden;\n}\n.file-content.is-offset[data-v-ab1d345e] {\n margin-top: 50px;\n}\n}\n@media only screen and (max-width: 960px) {\n.file-info-container[data-v-ab1d345e] {\n display: none;\n}\n.mobile-search[data-v-ab1d345e] {\n display: block;\n}\n.file-content[data-v-ab1d345e] {\n position: absolute;\n top: 0px;\n left: 15px;\n right: 15px;\n bottom: 0;\n transition: 0.3s all ease;\n overflow-y: auto;\n overflow-x: hidden;\n}\n.file-content.is-offset[data-v-ab1d345e] {\n margin-top: 50px;\n}\n}\n@media only screen and (max-width: 690px) {\n.files-container[data-v-ab1d345e] {\n padding-left: 15px;\n padding-right: 15px;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: fixed;\n overflow-y: auto;\n}\n.files-container .file-list.grid[data-v-ab1d345e] {\n grid-template-columns: repeat(auto-fill, 120px);\n}\n.file-content[data-v-ab1d345e] {\n position: absolute;\n top: 0;\n left: 0px;\n right: 0px;\n bottom: 0;\n transition: 0.3s all ease;\n}\n.file-content.is-offset[data-v-ab1d345e] {\n margin-top: 50px;\n}\n.mobile-search[data-v-ab1d345e] {\n margin-bottom: 0;\n}\n.file-info-container[data-v-ab1d345e] {\n display: none;\n}\n}\n",""])},zbjk:function(e,t,n){var i=n("TfX1");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(e.exports=i.locals)}}]);