{"version":3,"sources":["webpack:///./src/components/password/change-password-form.component.vue?b5f9","webpack:///./src/components/password/change-password-form.component.vue","webpack:///./src/components/password/change-password-form.component.vue?2a89","webpack:///./src/components/password/change-password-form.component.vue?6b7a","webpack:///./src/components/footer.component.vue?d349","webpack:///./src/components/footer.component.vue","webpack:///./src/components/footer.component.vue?4b93","webpack:///./src/components/footer.component.vue?521c","webpack:///./src/components/email/change-email-form.component.vue?ae04","webpack:///./src/components/email/change-email-form.component.vue","webpack:///./src/components/email/change-email-form.component.vue?8904","webpack:///./src/components/email/change-email-form.component.vue?6e3d","webpack:///./src/assets/logo-white.png","webpack:///./src/views/admin/admin.view.vue?9d18","webpack:///./src/components/admin-header.component.vue?b882","webpack:///./src/components/report/download-billing-report.component.vue?d6a9","webpack:///./src/components/report/download-billing-report.component.vue","webpack:///./src/components/report/download-billing-report.component.vue?7ee2","webpack:///./src/components/report/download-billing-report.component.vue?3982","webpack:///./src/components/admin-header.component.vue","webpack:///./src/components/admin-header.component.vue?00ee","webpack:///./src/components/admin-header.component.vue?9739","webpack:///./src/views/admin/admin.view.vue","webpack:///./src/views/admin/admin.view.vue?9d82","webpack:///./src/views/admin/admin.view.vue?56a5"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","on","onHideEvent","ref","scopedSlots","_u","key","fn","handleSubmit","$event","preventDefault","onSaveClick","staticClass","_v","classes","class","model","value","callback","$$v","currentPassword","expression","newPassword","confirmNewPassword","showButtonLoading","onResetClick","_e","staticRenderFns","authenticationModule","store","ChangePasswordFormComponent","errors","getAllErrorMessages","$toasted","error","join","changePasswordAction","changePasswordSuccess","$bvModal","hide","success","$refs","passwordForm","reset","deep","components","ValidationObserver","ValidationProvider","computed","component","_s","_f","Date","FooterComponent","onEmailChangeSaveClick","email","trim","confirmEmail","ChangeEmailComponent","requestChangeEmailAction","newEmail","confirmNewEmail","requestChangeEmailSuccess","onComplete","logoutUser","logoutAction","$router","replace","name","login","emailForm","module","exports","$mq","page","routeName","admin","accounts","onAccountsClick","registrations","onRegistrationsClick","onLogoClick","userList","onAdminUsersClick","proxy","onBillingReportClick","onChangePasswordClick","onChangeEmailClick","onLogoutClick","year","month","day","startDate","endDate","showDownloading","onDownloadClick","reportModule","DownloadBillingReportComponent","baseStartDate","baseEndDate","$moment","isAfter","current","subtract","startOf","endOf","format","response","getVeterinarianBillingReportAction","startDateUtc","utc","endDateUtc","link","document","createElement","href","setAttribute","body","appendChild","click","remove","authModule","AdminHeaderComponent","push","path","base","show","location","origin","ChangeEmailFormComponent","$route","AdminView"],"mappings":"kHAAA,I,EAAIA,OAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,MAAM,CAAC,GAAK,wBAAwB,MAAQ,kBAAkB,cAAc,IAAIC,GAAG,CAAC,KAAOP,EAAIQ,cAAc,CAACJ,EAAG,qBAAqB,CAACK,IAAI,eAAeC,YAAYV,EAAIW,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,SAASJ,GACvT,IAAIK,EAAeL,EAAIK,aACvB,MAAO,CAACV,EAAG,OAAO,CAACG,GAAG,CAAC,OAAS,SAASQ,GAAgC,OAAxBA,EAAOC,iBAAwBF,EAAad,EAAIiB,gBAAgB,CAACb,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACc,YAAY,cAAc,CAACd,EAAG,eAAe,CAACA,EAAG,QAAQ,CAACJ,EAAImB,GAAG,sBAAsBf,EAAG,qBAAqB,CAACE,MAAM,CAAC,MAAQ,YAAYI,YAAYV,EAAIW,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,SAASJ,GACpU,IAAIW,EAAUX,EAAIW,QAClB,MAAO,CAAChB,EAAG,eAAe,CAACiB,MAAMD,EAAQd,MAAM,CAAC,KAAO,WAAW,YAAc,oBAAoBgB,MAAM,CAACC,MAAOvB,EAAmB,gBAAEwB,SAAS,SAAUC,GAAMzB,EAAI0B,g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F,KAAKuE,QAAQyD,KAAK,CAAEvD,KAAM,OAAUQ,MAAMG,gBAGrC,wBACLpF,KAAK2C,SAASwF,KAAK,yBAGd,qBACLnI,KAAK2C,SAASwF,KAAK,sBAGd,sBACLL,EAAWxD,eAEX8D,SAAS5D,QAAW4D,SAASC,OAAZ,UAGZ,uBACLrI,KAAK2C,SAASwF,KAAK,4BAxCF,EAAoB,gBAZxC,eAAU,CACTjF,WAAY,CACVoF,yBAAA,OACAnG,4BAAA,OACAmE,+BAAA,GAEFjD,SAAU,CACR,OACE,OAAOrD,KAAKuI,OAAO9D,UAIJ,WC5K4X,ICO7Y,EAAY,eACd,EACA,2DACA,GACA,EACA,KACA,KACA,MAIa,I,oBCYf,IAAqB,EAArB,MAAqB+D,kBAAkB,SAAlB,EAAS,gBAN7B,eAAU,CACTtF,WAAY,CACV6E,qBAAA,EACArE,gBAAA,WAGiB,WC9BkY,ICOnZ,EAAY,eACd,EACA5D,OACAkC,GACA,EACA,KACA,KACA,MAIa,e","file":"js/chunk-b54f5d4c.f1415cf1.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-modal',{attrs:{\"id\":\"modal-password-change\",\"title\":\"Change Password\",\"hide-footer\":\"\"},on:{\"hide\":_vm.onHideEvent}},[_c('ValidationObserver',{ref:\"passwordForm\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.onSaveClick)}}},[_c('b-row',[_c('b-col',{staticClass:\"mx-md-auto\"},[_c('b-form-group',[_c('label',[_vm._v(\"Current Password\")]),_c('ValidationProvider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar classes = ref.classes;\nreturn [_c('b-form-input',{class:classes,attrs:{\"type\":\"password\",\"placeholder\":\"current password\"},model:{value:(_vm.currentPassword),callback:function ($$v) {_vm.currentPassword=$$v},expression:\"currentPassword\"}})]}}],null,true)})],1),_c('b-form-group',[_c('label',[_vm._v(\"New Password \"),_c('b-icon-info-circle',{attrs:{\"id\":\"password-tooltip\"}})],1),_c('ValidationProvider',{attrs:{\"rules\":\"required|password\",\"vid\":\"confirmation\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar classes = ref.classes;\nreturn [_c('b-form-input',{class:classes,attrs:{\"type\":\"password\",\"placeholder\":\"new password\"},model:{value:(_vm.newPassword),callback:function ($$v) {_vm.newPassword=$$v},expression:\"newPassword\"}})]}}],null,true)})],1),_c('b-form-group',[_c('ValidationProvider',{attrs:{\"rules\":\"confirmed:confirmation\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar classes = ref.classes;\nreturn [_c('b-form-input',{class:classes,attrs:{\"type\":\"password\",\"placeholder\":\"confirm new password\"},model:{value:(_vm.confirmNewPassword),callback:function ($$v) {_vm.confirmNewPassword=$$v},expression:\"confirmNewPassword\"}})]}}],null,true)})],1),_c('div',{staticClass:\"d-flex flex-row-reverse align-items-center\"},[_c('b-button-group',[_c('b-button',{attrs:{\"variant\":\"danger\",\"disabled\":_vm.showButtonLoading},on:{\"click\":_vm.onResetClick}},[_vm._v(\" Cancel\")]),_c('b-button',{attrs:{\"type\":\"submit\",\"disabled\":_vm.showButtonLoading}},[_vm._v(\" Submit \"),(_vm.showButtonLoading)?_c('b-icon-arrow-clockwise',{attrs:{\"animation\":\"spin\"}}):_vm._e()],1)],1)],1)],1)],1)],1)]}}])}),_c('b-tooltip',{ref:\"tooltip\",attrs:{\"target\":\"password-tooltip\"}},[_vm._v(\" Must be at least 6 characters and contain at least 1 uppercase, lowercase, number, and special character. \")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { ValidationProvider, ValidationObserver } from 'vee-validate';\nimport AuthenticationModule from '@/store/modules/authentication.module';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport { AuthenticationActions } from '@/constants/actions.constants';\nimport { mapState } from 'vuex';\nimport { BaseAPIErrorModel } from '@/models/DTO/base-api-error.model';\n\nconst authenticationModule: AuthenticationModule = getModule(\n AuthenticationModule,\n store\n);\n\n@Component({\n components: {\n ValidationObserver,\n ValidationProvider\n },\n computed: {\n ...mapState('authentication', [\n 'showButtonLoading',\n 'errorResponse',\n 'changePasswordSuccess'\n ])\n }\n})\nexport default class ChangePasswordFormComponent extends Vue {\n public showButtonLoading: boolean;\n public errorResponse: BaseAPIErrorModel | null;\n public changePasswordSuccess: boolean | null;\n public currentPassword = '';\n public newPassword = '';\n public confirmNewPassword = '';\n\n public $refs: {\n passwordForm: HTMLFormElement;\n };\n\n @Watch('errorResponse', { deep: true })\n private onErrorResponseChanged(value: BaseAPIErrorModel) {\n if (value) {\n const errors = value.getAllErrorMessages();\n return this.$toasted.error(errors.join());\n }\n }\n\n public async onSaveClick() {\n // update password\n await authenticationModule[AuthenticationActions.changePasswordAction]({\n currentPassword: this.currentPassword,\n newPassword: this.newPassword,\n confirmNewPassword: this.confirmNewPassword\n });\n\n if (this.changePasswordSuccess) {\n this.$bvModal.hide('modal-password-change');\n this.$toasted.success('Password saved successfully.');\n }\n }\n\n public onResetClick() {\n this.$bvModal.hide('modal-password-change');\n }\n\n public onHideEvent() {\n this.currentPassword = '';\n this.newPassword = '';\n this.confirmNewPassword = '';\n\n this.$refs.passwordForm.reset();\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./change-password-form.component.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./change-password-form.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./change-password-form.component.vue?vue&type=template&id=30d03ede&\"\nimport script from \"./change-password-form.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./change-password-form.component.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('footer',{staticClass:\"footer py-3\"},[_c('b-container',[_c('b-row',[_c('b-col',{staticClass:\"text-center\"},[_vm._v(\" Copyright \"+_vm._s(_vm._f(\"moment\")(new Date(),'YYYY'))+\" © \"),_c('strong',[_vm._v(\"Paw Finders™\")])])],1)],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class FooterComponent extends Vue {}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./footer.component.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./footer.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./footer.component.vue?vue&type=template&id=6ce4e128&\"\nimport script from \"./footer.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./footer.component.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-modal',{attrs:{\"id\":\"modal-email-change\",\"title\":\"Change Email\",\"hide-footer\":\"\"},on:{\"hide\":_vm.onHideEvent}},[_c('ValidationObserver',{ref:\"emailForm\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nvar reset = ref.reset;\nreturn [_c('form',{on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.onEmailChangeSaveClick)},\"reset\":function($event){$event.preventDefault();return reset($event)}}},[_c('b-form-group',{staticClass:\"mb-3\"},[_c('ValidationProvider',{attrs:{\"rules\":\"required|email\",\"vid\":\"confirmation\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar classes = ref.classes;\nreturn [_c('b-form-input',{class:classes,attrs:{\"type\":\"email\",\"placeholder\":\"new email address\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"email\"}})]}}],null,true)})],1),_c('b-form-group',{staticClass:\"mb-3\"},[_c('ValidationProvider',{attrs:{\"rules\":\"confirmed:confirmation\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar classes = ref.classes;\nreturn [_c('b-form-input',{class:classes,attrs:{\"type\":\"email\",\"placeholder\":\"confirm new email address\"},model:{value:(_vm.confirmEmail),callback:function ($$v) {_vm.confirmEmail=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"confirmEmail\"}})]}}],null,true)})],1),_c('div',{staticClass:\"d-flex flex-row-reverse align-items-center\"},[_c('b-button-group',[_c('b-button',{attrs:{\"variant\":\"danger\",\"disabled\":_vm.showButtonLoading},on:{\"click\":_vm.onResetClick}},[_vm._v(\" Cancel\")]),_c('b-button',{attrs:{\"disabled\":_vm.showButtonLoading,\"type\":\"submit\"}},[_vm._v(\" Save \"),(_vm.showButtonLoading)?_c('b-icon-arrow-clockwise',{attrs:{\"animation\":\"spin\"}}):_vm._e()],1)],1)],1)],1)]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport { ValidationProvider, ValidationObserver } from 'vee-validate';\nimport AuthenticationModule from '@/store/modules/authentication.module';\nimport store from '@/store';\nimport { getModule } from 'vuex-module-decorators';\nimport { mapState } from 'vuex';\nimport { BaseAPIErrorModel } from '@/models/DTO/base-api-error.model';\nimport { routeName } from '@/constants/route.constants';\n\nconst authenticationModule: AuthenticationModule = getModule(\n AuthenticationModule,\n store\n);\n\n@Component({\n components: {\n ValidationObserver,\n ValidationProvider\n },\n computed: {\n ...mapState('authentication', [\n 'showButtonLoading',\n 'errorResponse',\n 'requestChangeEmailSuccess'\n ])\n }\n})\nexport default class ChangeEmailComponent extends Vue {\n public showButtonLoading: boolean;\n public errorResponse: BaseAPIErrorModel | null;\n public requestChangeEmailSuccess: boolean | null;\n public email = '';\n public confirmEmail = '';\n\n public $refs: {\n emailForm: HTMLFormElement;\n };\n\n @Watch('errorResponse', { deep: true })\n private onErrorResponseChanged(value: BaseAPIErrorModel) {\n if (value) {\n const errors = value.getAllErrorMessages();\n return this.$toasted.error(errors.join());\n }\n }\n\n public async onEmailChangeSaveClick() {\n await authenticationModule.requestChangeEmailAction({\n newEmail: this.email,\n confirmNewEmail: this.confirmEmail\n });\n\n if (this.requestChangeEmailSuccess) {\n this.$bvModal.hide('modal-email-change');\n this.$toasted.success('An email has been sent for confirmation.', {\n onComplete: () => {\n this.logoutUser();\n }\n });\n }\n }\n\n public async logoutUser() {\n await authenticationModule.logoutAction();\n this.$router.replace({ name: routeName.login });\n }\n\n public onResetClick() {\n this.$bvModal.hide('modal-email-change');\n }\n\n public onHideEvent() {\n this.email = '';\n this.confirmEmail = '';\n\n this.$refs.emailForm.reset();\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./change-email-form.component.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./change-email-form.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./change-email-form.component.vue?vue&type=template&id=7e0fed3e&\"\nimport script from \"./change-email-form.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./change-email-form.component.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/logo-white.d972e702.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('AdminHeaderComponent'),_c('b-container',{staticClass:\"main\"},[_c('b-row',{staticClass:\"py-3\"},[_c('b-col',[_c('h1',{staticClass:\"text-lg-center mb-3\"},[_vm._v(\"Admin Portal\")]),_c('router-view')],1)],1)],1),_c('hr',{staticClass:\"mb-0\"}),_c('FooterComponent')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bg-secondary\"},[(_vm.$mq !== 'sm' && _vm.$mq !== 'md')?_c('b-row',{staticClass:\"p-3 header\",attrs:{\"align-v\":\"center\"}},[_c('b-col',{attrs:{\"cols\":\"4\",\"offset\":\"1\"}},[_c('b-nav',{staticClass:\"dark\",attrs:{\"align\":\"right\",\"small\":\"\"}},[_c('b-nav-item',{attrs:{\"disabled\":_vm.page === _vm.routeName.admin.accounts},on:{\"click\":_vm.onAccountsClick}},[_c('b-icon-building'),_vm._v(\" Accounts \")],1),_c('b-nav-item',{attrs:{\"disabled\":_vm.page === _vm.routeName.admin.registrations},on:{\"click\":_vm.onRegistrationsClick}},[_c('b-iconstack',[_c('b-icon-check',{attrs:{\"scale\":\"0.75\",\"stacked\":\"\"}}),_c('b-icon-clipboard',{attrs:{\"stacked\":\"\"}})],1),_vm._v(\" Registrations \")],1)],1)],1),_c('b-col',{staticClass:\"text-center\",attrs:{\"cols\":\"2\"}},[_c('b-link',{on:{\"click\":_vm.onLogoClick}},[_c('img',{attrs:{\"src\":require(\"@/assets/logo-white.png\"),\"alt\":\"Paw Finders Logo\",\"width\":\"150\"}})])],1),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-nav',{staticClass:\"dark\",attrs:{\"align\":\"left\",\"small\":\"\"}},[_c('b-nav-item',{attrs:{\"disabled\":_vm.page === _vm.routeName.admin.userList},on:{\"click\":_vm.onAdminUsersClick}},[_c('b-icon-people'),_vm._v(\" Admins \")],1),_c('b-nav-item-dropdown',{attrs:{\"right\":\"\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('b-icon-file-earmark-spreadsheet'),_vm._v(\" Reports \")]},proxy:true}],null,false,519979569)},[_c('b-dropdown-item',{on:{\"click\":_vm.onBillingReportClick}},[_c('b-icon-download'),_vm._v(\" Billing Report \")],1)],1),_c('b-nav-item-dropdown',{attrs:{\"right\":\"\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('b-icon-person'),_vm._v(\" User \")]},proxy:true}],null,false,2336526707)},[_c('b-dropdown-item',{on:{\"click\":_vm.onChangePasswordClick}},[_c('b-icon-shield-lock'),_vm._v(\" Edit Password \")],1),_c('b-dropdown-divider'),_c('b-dropdown-item',{on:{\"click\":_vm.onChangeEmailClick}},[_c('b-icon-at'),_vm._v(\" Edit Email \")],1),_c('b-dropdown-divider'),_c('b-dropdown-item',{on:{\"click\":_vm.onLogoutClick}},[_c('b-icon-power'),_vm._v(\" Sign Out \")],1)],1)],1)],1)],1):_c('b-navbar',{staticClass:\"header\",attrs:{\"toggleable\":\"lg\",\"type\":\"dark\",\"variant\":\"secondary\"}},[_c('b-navbar-brand',{on:{\"click\":_vm.onLogoClick}},[_c('img',{staticClass:\"my-2\",attrs:{\"src\":require(\"@/assets/logo-white.png\"),\"alt\":\"Paw Finders Logo\",\"width\":\"125\"}})]),_c('b-navbar-toggle',{attrs:{\"target\":\"nav-collapse\"}}),_c('b-collapse',{attrs:{\"id\":\"nav-collapse\",\"is-nav\":\"\"}},[_c('b-navbar-nav',{staticClass:\"ml-auto\"},[_c('b-nav-item',{attrs:{\"disabled\":_vm.page === _vm.routeName.admin.accounts},on:{\"click\":_vm.onAccountsClick}},[_c('b-icon-building'),_vm._v(\" Accounts \")],1),_c('b-nav-item',{attrs:{\"disabled\":_vm.page === _vm.routeName.admin.registrations},on:{\"click\":_vm.onRegistrationsClick}},[_c('b-iconstack',[_c('b-icon-check',{attrs:{\"scale\":\"0.75\",\"stacked\":\"\"}}),_c('b-icon-clipboard',{attrs:{\"stacked\":\"\"}})],1),_vm._v(\" Registrations \")],1),_c('b-nav-item',{attrs:{\"disabled\":_vm.page === _vm.routeName.admin.userList},on:{\"click\":_vm.onAdminUsersClick}},[_c('b-icon-people'),_vm._v(\" Admins \")],1),_c('b-nav-item-dropdown',{attrs:{\"right\":\"\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('b-icon-file-earmark-spreadsheet'),_vm._v(\" Reports \")]},proxy:true}])},[_c('b-dropdown-item',{on:{\"click\":_vm.onBillingReportClick}},[_c('b-icon-download'),_vm._v(\" Billing Report \")],1)],1),_c('b-nav-item-dropdown',{attrs:{\"right\":\"\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('b-icon-person'),_vm._v(\" User \")]},proxy:true}])},[_c('b-dropdown-item',{on:{\"click\":_vm.onChangePasswordClick}},[_c('b-icon-shield-lock'),_vm._v(\" Edit Password \")],1),_c('b-dropdown-divider'),_c('b-dropdown-item',{on:{\"click\":_vm.onChangeEmailClick}},[_c('b-icon-at'),_vm._v(\" Edit Email \")],1),_c('b-dropdown-divider'),_c('b-dropdown-item',{on:{\"click\":_vm.onLogoutClick}},[_c('b-icon-power'),_vm._v(\" Sign Out \")],1)],1)],1)],1)],1),_c('ChangeEmailFormComponent'),_c('ChangePasswordFormComponent'),_c('DownloadBillingReportComponent')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-modal',{attrs:{\"id\":\"modal-billing-download\",\"title\":\"Billing Report\",\"hide-footer\":\"\"},on:{\"hide\":_vm.onHideEvent}},[_c('b-row',[_c('b-col',[_c('label',[_vm._v(\"Date Range\")]),_c('b-row',{attrs:{\"align-v\":\"center\"}},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"6\"}},[_c('b-form-datepicker',{staticClass:\"mb-3\",attrs:{\"hide-header\":\"\",\"dark\":\"\",\"label-no-date-selected\":\"start date\",\"date-format-options\":{\n year: 'numeric',\n month: 'numeric',\n day: 'numeric'\n }},model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}})],1),_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"6\"}},[_c('b-form-datepicker',{staticClass:\"mr-md-3 mb-3\",attrs:{\"hide-header\":\"\",\"dark\":\"\",\"label-no-date-selected\":\"end date\",\"date-format-options\":{\n year: 'numeric',\n month: 'numeric',\n day: 'numeric'\n }},model:{value:(_vm.endDate),callback:function ($$v) {_vm.endDate=$$v},expression:\"endDate\"}})],1)],1)],1)],1),_c('div',{staticClass:\"d-flex flex-row-reverse align-items-center\"},[_c('b-button-group',[_c('b-button',{attrs:{\"variant\":\"danger\",\"disabled\":_vm.showDownloading},on:{\"click\":_vm.onResetClick}},[_vm._v(\" Cancel\")]),_c('b-button',{attrs:{\"disabled\":_vm.showDownloading || !_vm.startDate || !_vm.endDate},on:{\"click\":_vm.onDownloadClick}},[_vm._v(\" Download \"),(_vm.showDownloading)?_c('b-icon-arrow-clockwise',{attrs:{\"animation\":\"spin\"}}):_vm._e()],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport store from '@/store';\nimport { getModule } from 'vuex-module-decorators';\nimport { mapState } from 'vuex';\nimport { BaseAPIErrorModel } from '@/models/DTO/base-api-error.model';\nimport ReportModule, {\n REPORT_MODULE_NAME\n} from '@/store/modules/report.module';\n\nconst reportModule: ReportModule = getModule(ReportModule, store);\n\n@Component({\n computed: {\n ...mapState(REPORT_MODULE_NAME, ['showDownloading', 'reportErrorResponse'])\n }\n})\nexport default class DownloadBillingReportComponent extends Vue {\n public showDownloading: boolean;\n public reportErrorResponse: BaseAPIErrorModel | null;\n\n public startDate = '';\n public endDate = '';\n public baseStartDate = '';\n public baseEndDate = '';\n\n @Watch('reportErrorResponse', { deep: true })\n private onReportErrorResponseChanged(value: BaseAPIErrorModel) {\n if (value) {\n const errors = value.getAllErrorMessages();\n return this.$toasted.error(errors.join());\n }\n }\n\n @Watch('startDate')\n private onStartDateChanged(value: string) {\n if (value) {\n const startDate = this.$moment(value);\n const endDate = this.$moment(this.endDate);\n\n if (startDate.isAfter(endDate)) {\n this.endDate = '';\n }\n }\n }\n\n public created() {\n // set default to previous month\n const current = this.$moment();\n const startDate = current.subtract(1, 'month').startOf('month');\n const endDate = this.$moment(startDate).endOf('month');\n\n this.startDate = startDate.format('YYYY-MM-DD');\n this.baseStartDate = this.startDate;\n this.endDate = endDate.format('YYYY-MM-DD');\n this.baseEndDate = this.endDate;\n }\n\n public async onDownloadClick() {\n if (this.startDate && this.endDate) {\n const startDate = this.$moment(this.startDate);\n const endDate = this.$moment(this.endDate);\n\n const response = await reportModule.getVeterinarianBillingReportAction({\n startDateUtc: startDate.utc().format(),\n endDateUtc: endDate.utc().format()\n });\n\n if (response) {\n const link: HTMLAnchorElement = document.createElement('a');\n\n link.href = `data:text/csv;charset=utf-8,${response}`;\n link.setAttribute(\n 'download',\n `billing-export_${startDate.format('MM-DD-YYYY')}_${endDate.format(\n 'MM-DD-YYYY'\n )}.csv`\n );\n\n document.body.appendChild(link);\n\n link.click();\n link.remove();\n }\n }\n }\n\n public onResetClick() {\n this.$bvModal.hide('modal-billing-download');\n }\n\n public onHideEvent() {\n this.startDate = this.baseStartDate;\n this.endDate = this.baseEndDate;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./download-billing-report.component.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./download-billing-report.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./download-billing-report.component.vue?vue&type=template&id=03b5352d&\"\nimport script from \"./download-billing-report.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./download-billing-report.component.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport { routeName, routePath } from '@/constants/route.constants';\nimport AuthenticationModule from '@/store/modules/authentication.module';\nimport { getModule } from 'vuex-module-decorators';\nimport store from '@/store';\nimport ChangeEmailFormComponent from '@/components/email/change-email-form.component.vue';\nimport ChangePasswordFormComponent from '@/components/password/change-password-form.component.vue';\nimport DownloadBillingReportComponent from '@/components/report/download-billing-report.component.vue';\n\nconst authModule: AuthenticationModule = getModule(AuthenticationModule, store);\n\n@Component({\n components: {\n ChangeEmailFormComponent,\n ChangePasswordFormComponent,\n DownloadBillingReportComponent\n },\n computed: {\n page(): string | null | undefined {\n return this.$route.name;\n }\n }\n})\nexport default class AdminHeaderComponent extends Vue {\n public get routeName(): typeof routeName {\n return routeName;\n }\n\n public get routePath(): typeof routePath {\n return routePath;\n }\n\n public onLogoClick() {\n this.$router.push({ path: routePath.admin.base });\n }\n\n public onAccountsClick() {\n this.$router.push({ name: routeName.admin.accounts });\n }\n\n public onAdminUsersClick() {\n this.$router.push({ name: routeName.admin.userList });\n }\n\n public onRegistrationsClick() {\n this.$router.push({ name: routeName.admin.registrations });\n }\n\n public onChangePasswordClick() {\n this.$bvModal.show('modal-password-change');\n }\n\n public onChangeEmailClick() {\n this.$bvModal.show('modal-email-change');\n }\n\n public async onLogoutClick() {\n authModule.logoutAction();\n // await this.$router.replace({ name: routeName.login });\n location.replace(`${location.origin}/login`);\n }\n\n public onBillingReportClick() {\n this.$bvModal.show('modal-billing-download');\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./admin-header.component.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./admin-header.component.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./admin-header.component.vue?vue&type=template&id=0fbbd866&\"\nimport script from \"./admin-header.component.vue?vue&type=script&lang=ts&\"\nexport * from \"./admin-header.component.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport AdminHeaderComponent from '@/components/admin-header.component.vue';\nimport FooterComponent from '@/components/footer.component.vue';\n\n@Component({\n components: {\n AdminHeaderComponent,\n FooterComponent\n }\n})\nexport default class AdminView extends Vue {}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./admin.view.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./admin.view.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./admin.view.vue?vue&type=template&id=28fc3865&\"\nimport script from \"./admin.view.vue?vue&type=script&lang=ts&\"\nexport * from \"./admin.view.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}