{"version":3,"sources":["webpack:///./src/components/buttons/SendAlerts.vue?e435","webpack:///./src/services/api/feedback.service.ts","webpack:///./src/views/feedback/details/Shared.vue?8bd9","webpack:///./src/views/feedback/details/Shared.vue?42fa","webpack:///./src/components/buttons/SendAlerts.vue?90db","webpack:///./src/components/buttons/SendAlerts.vue","webpack:///./src/components/buttons/SendAlerts.vue?d926","webpack:///./src/components/buttons/SendAlerts.vue?ab47","webpack:///./src/views/feedback/details/Shared.vue","webpack:///./src/views/feedback/details/Shared.vue?402d","webpack:///./src/views/feedback/details/Shared.vue?43ed"],"names":["FeedbacksEndpoint","FeedbacksRequestIncludes","parent","FeedbackService","request","this","Get","baseUrl","GetQueryStringByObject","idFeedback","id","entity","Post","command","Put","Delete","idUser","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","scopedSlots","_u","key","fn","ref","on","_g","_b","_v","_s","feedback","title","_e","feedbackType","class","icon","model","value","callback","$$v","actionMenu","expression","$event","preventDefault","deleteFeedback","user","_f","dateStart","dateEnd","description","slot","_l","route","url","staticRenderFns","isLoading","stopPropagation","onClick","enableDialog","index","console","log","component","VBtn","feedbackService","configsService","menus","Load","query","parseInt","$route","params","includes","feedbackQuestionGroup","appGroupVsFeedback","GetSingle","then","result","catch","regex","replace","DeleteById","error","showError","$router","push","path","components","SendAlertsButton","SendAlerts","VList","VListItem","VListItemTitle","VMenu","VTooltip"],"mappings":"gHAAA,yBAA4jB,EAAG,G,0NCeljBA,EAAoB,gBAGpBC,EAAb,oCACE,KAAAC,QAAkB,GAqCPC,GAlCmC,OAkChD,kLACUC,GACN,OAAOC,KAAKC,IAAL,UACFD,KAAKE,SADH,OACaP,EADb,YACkCK,KAAKG,uBAAuBJ,OAHzE,gCAOYA,GACR,OAAOC,KAAKC,IAAL,UACFD,KAAKE,SADH,OACaP,EADb,YAEHI,EAAQK,WAFL,YAGDJ,KAAKG,uBAAuBJ,OAXtC,+BAeWM,GACP,OAAOL,KAAKC,IAAL,UACFD,KAAKE,SADH,O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qB,EAxDxC,SAyDU1E,KAAKgE,gBACRW,UAAUP,GACVQ,MAAK,SAACC,GACL,EAAK/C,SAAW+C,KAEjBC,OAAM,kBAAO,EAAKhD,SAAW,QA9DpC,OAgEO9B,KAAK8B,UAAY9B,KAAK8B,SAASmB,cAC1B8B,EAAS,gBACf/E,KAAKiD,YAAcjD,KAAK8B,SAASmB,YAAY+B,QAAQD,EAAO,KAlElE,4SAuEQ/E,KAAKuD,UAvEb,qDA2EQvD,KAAK8B,SA3Eb,gCA4EY9B,KAAKgE,gBACRiB,WAAWjF,KAAK8B,SAAS1B,YAAc,GACvC0E,OAAM,SAACI,GAAD,OAAgB,OAAuBC,UAAUD,MACvDN,MAAK,kBAAM,EAAKQ,QAAQC,KAAK,iBA/EtC,2IAqCI,OAAOrF,KAAKsE,OAAOgB,SArCvB,GAAsD,QAGzB,gBAA1B,eAAO,oB,sCAsCR,gBADC,eAAM,W,4BAGN,MA3CkB,EAAwB,gBAL5C,eAAU,CACTC,WAAY,CACVC,iBAAkBC,MAGD,WC/LgZ,I,wECQja,EAAY,eACd,EACA7E,EACA0C,GACA,EACA,KACA,WACA,MAIa,eAAiB,QAUhC,IAAkB,EAAW,CAACS,OAAA,KAAK2B,QAAA,KAAMC,YAAA,KAAUC,eAAA,OAAeC,QAAA,KAAMC,WAAA,Q","file":"js/chunk-5579c35f.aeae770c.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SendAlerts.vue?vue&type=style&index=0&id=7ed86ebf&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SendAlerts.vue?vue&type=style&index=0&id=7ed86ebf&scoped=true&lang=scss&\"","import { Route } from \"vue-router\";\r\nimport { AuthenticatedService } from \"../abstract/base.service\";\r\nimport { ListRequest } from \"@/models/grids/list.request\";\r\nimport OrderBy from \"@/models/shared/orderby\";\r\nimport { ListResponse } from \"@/models/grids/list.response\";\r\nimport {\r\n CreateFeedbackCommand,\r\n EditFeedbackCommand,\r\n} from \"@/server/app.commands\";\r\nimport { FeedbackDto, FeedbackStatsDto } from \"@/server/app.dtos\";\r\nimport {\r\n GetFeedbackDtosQuery,\r\n GetSingleFeedbackDtoQuery,\r\n} from \"@/server/app.queries\";\r\n\r\nexport const FeedbacksEndpoint = `api/feedbacks`;\r\nexport const FeedbackQuestionsEndpoint = `api/feedbackquestions`;\r\n\r\nexport class FeedbacksRequestIncludes {\r\n parent: boolean = false;\r\n}\r\n\r\nexport class FeedbacksListRequestFilter extends ListRequest {\r\n search?: string;\r\n name?: string;\r\n email?: string;\r\n idAppInterface?: number;\r\n orderBy?: string = \"NameAsc\";\r\n includes: FeedbacksRequestIncludes = new FeedbacksRequestIncludes();\r\n\r\n get GetOrderOptions(): OrderBy[] {\r\n return [\r\n new OrderBy(\"Nome Ascendente\", \"NameAsc\"),\r\n new OrderBy(\"Nome Descendente\", \"NameDesc\")\r\n ];\r\n }\r\n\r\n loadByRoute(route: Route) {\r\n if (route && route.query) {\r\n if (route.query.search) {\r\n this.search = route.query.search as string;\r\n }\r\n this.name = route.query.name ? (route.query.name as string) : undefined;\r\n this.email = route.query.email\r\n ? (route.query.email as string)\r\n : undefined;\r\n if (route.query.idAppInterface) {\r\n this.idAppInterface = parseInt(route.query.idAppInterface as string);\r\n }\r\n if (route.query.orderBy) {\r\n this.orderBy = route.query.orderBy as string;\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport class FeedbackService extends AuthenticatedService {\r\n GetList(request: GetFeedbackDtosQuery): Promise> {\r\n return this.Get>(\r\n `${this.baseUrl}${FeedbacksEndpoint}?${this.GetQueryStringByObject(request)}`\r\n );\r\n }\r\n\r\n GetSingle(request: GetSingleFeedbackDtoQuery): Promise {\r\n return this.Get(\r\n `${this.baseUrl}${FeedbacksEndpoint}/${\r\n request.idFeedback\r\n }?${this.GetQueryStringByObject(request)}`\r\n );\r\n }\r\n\r\n GetStats(id: number): Promise{\r\n return this.Get(\r\n `${this.baseUrl}${FeedbacksEndpoint}/${id}/stats`\r\n );\r\n }\r\n\r\n Create(entity: CreateFeedbackCommand): Promise {\r\n return this.Post(`${this.baseUrl}${FeedbacksEndpoint}`, entity);\r\n }\r\n\r\n Edit(command: EditFeedbackCommand): Promise {\r\n return this.Put(\r\n `${this.baseUrl}${FeedbacksEndpoint}/${command.idFeedback}`,\r\n command\r\n );\r\n }\r\n\r\n DeleteById(id: number): Promise {\r\n return this.Delete(`${this.baseUrl}${FeedbacksEndpoint}/${id}`);\r\n }\r\n\r\n DeleteFeedbackVsUser(idFeedback: number, idUser: number): Promise {\r\n return this.Delete(\r\n `${this.baseUrl}${FeedbacksEndpoint}/${idFeedback}/deletefeedbackvsuser/${idUser}`\r\n );\r\n }\r\n\r\n}\r\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Shared.vue?vue&type=style&index=0&id=bf2233c4&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Shared.vue?vue&type=style&index=0&id=bf2233c4&scoped=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.feedback)?_c('div',[_c('Subheader',{staticClass:\"p-0\"},[_c('div',{staticClass:\"d-flex align-stretch w-100\"},[_c('div',{staticClass:\"left-bar d-flex text-center flex-column justify-space-between\"},[_c('div',{staticClass:\"pt-3\"},[_c('v-tooltip',{attrs:{\"left\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('i',_vm._g(_vm._b({staticClass:\"las la-file\"},'i',attrs,false),on))]}}],null,false,4106589417)},[_c('span',[_vm._v(_vm._s(_vm.feedback.title))])])],1),_c('div',{staticClass:\"d-flex flex-column pb-3\"},[(_vm.feedback.resolved)?_c('v-tooltip',{attrs:{\"left\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('i',_vm._g(_vm._b({staticClass:\"text-white las la-check-circle mb-2\"},'i',attrs,false),on))]}}],null,false,2528009169)},[(_vm.feedback.resolved)?_c('span',[_vm._v(\"Resolvido\")]):_vm._e()]):_c('v-tooltip',{attrs:{\"left\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('i',_vm._g(_vm._b({staticClass:\"text-white las la-hourglass mb-2\"},'i',attrs,false),on))]}}],null,false,2690788546)},[_c('span',[_vm._v(\" Por resolver\")])]),_c('v-tooltip',{attrs:{\"left\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [(_vm.feedback.feedbackType.icon)?_c('i',_vm._g(_vm._b({staticClass:\"text-white\",class:[_vm.feedback.feedbackType.icon]},'i',attrs,false),on)):_c('i',_vm._g(_vm._b({staticClass:\"las la-file text-white\"},'i',attrs,false),on))]}}],null,false,1914673521)},[(_vm.feedback.feedbackType)?_c('span',[_vm._v(_vm._s(_vm.feedback.feedbackType.title))]):_vm._e()])],1)]),_c('div',{staticClass:\"px-4 py-4 w-100\"},[_c('div',{staticClass:\"row align-stretch w-100\"},[_c('div',{staticClass:\"col-sm-6 col-12 d-flex align-center justify-space-between flex-column\"},[_c('div',{staticClass:\"d-flex align-center justify-space-between w-100\"},[_c('Breadcrumb',{attrs:{\"routes\":['Feedback', 'Detalhe']}})],1),_c('div',{staticClass:\"d-flex align-items-start justify-space-between flex-column w-100 pb-2\"},[_c('h1',{staticClass:\"text-h1 text-white mb-5 w-100\"},[_vm._v(_vm._s(_vm.feedback.title))]),_c('div',{staticClass:\"d-flex align-center\"},[_c('v-btn',{staticClass:\"ml-3\",attrs:{\"color\":\"primary\",\"rounded\":\"\",\"to\":\"edit\"}},[_c('i',{staticClass:\"las la-edit mr-2\"}),_vm._v(\" Editar \")]),_c('v-menu',{attrs:{\"close-on-content-click\":true,\"offset-y\":\"\",\"transition\":\"slide-y-transition\",\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"ml-3 text-white\",attrs:{\"small\":\"\",\"fab\":\"\",\"text\":\"\"}},on),[_c('i',{staticClass:\"las la-ellipsis-h size--s20\"})])]}}],null,false,3074529236),model:{value:(_vm.actionMenu),callback:function ($$v) {_vm.actionMenu=$$v},expression:\"actionMenu\"}},[_c('v-list',[_c('v-list-item',{on:{\"click\":function($event){$event.preventDefault();return _vm.deleteFeedback($event)}}},[_c('v-list-item-title',[_vm._v(\"Eliminar\")])],1)],1)],1)],1)])]),_c('div',{staticClass:\"col-sm-6 col-12 d-flex align-center\"},[_c('div',{staticClass:\"sub-header__box w-100\"},[_c('div',{staticClass:\"details__box\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-sm-6 col-12\"},[_c('div',{staticClass:\"d-flex align-center\"},[_c('div',{staticClass:\"details__box--text\"},[_vm._v(\"Responsável:\")]),(_vm.feedback.user)?_c('UserBadge',{attrs:{\"badge\":_vm.feedback.user}}):_c('span',[_vm._v(\"-\")])],1)]),_c('div',{staticClass:\"col-sm-6 col-12\"})]),_c('div',{staticClass:\"row\"},[(_vm.feedback.dateStart)?_c('div',{staticClass:\"col-sm-6 col-12\"},[_c('div',{staticClass:\"d-flex align-center\"},[_c('div',{staticClass:\"details__box--text\"},[_vm._v(\"Data Início:\")]),_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm._f(\"datetime\")(_vm.feedback.dateStart)))])])]):_vm._e(),_c('div',{staticClass:\"col-sm-6 col-12\"},[(_vm.feedback.dateEnd)?_c('div',{staticClass:\"d-flex align-center\"},[_c('div',{staticClass:\"details__box--text\"},[_vm._v(\"Data Conclusão:\")]),_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm._f(\"datetime\")(_vm.feedback.dateEnd)))])]):_vm._e()])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"d-flex align-center\"},[_c('div',{staticClass:\"details__box--text\"},[_vm._v(\"Descrição:\")]),_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.description))])])])])]),_c('div',{staticClass:\"details__box--footer\"},[_c('div',{staticClass:\"row bg-white\"},[_c('div',{staticClass:\"col-sm-6 col-12\"},[_c('div',{staticClass:\"d-flex align-center\"},[_c('div',{staticClass:\"details__box--text\"},[_vm._v(\"Último alerta:\")]),_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm._f(\"datetime\")(_vm.feedback.dateStart)))])])]),_c('div',{staticClass:\"col-sm-6 col-12\"},[_c('div',{staticClass:\"d-flex align-center justify-end\"},[_c('SendAlertsButton')],1)])])])])])])])])]),_c('LeftMenuLayout',[_c('template',{slot:\"Menu\"},[_c('div',{staticClass:\"layout__menu-box\"},[_c('h4',[_vm._v(\"Navegação\")]),_c('nav',[_c('ul',_vm._l((_vm.menus),function(route){return _c('li',{key:route.title},[_c('router-link',{attrs:{\"to\":route.url}},[_c('i',{class:[route.icon]}),_vm._v(\" \"+_vm._s(route.title)+\" \")])],1)}),0)])])]),_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view',{attrs:{\"feedback\":_vm.feedback}})],1)],2)],1):_vm._e()}\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',[_c('div',[_c('div',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"log log-btn\",attrs:{\"loading\":_vm.isLoading},on:{\"click\":function($event){$event.stopPropagation();return _vm.onClick(0)}}},[_c('span',{staticClass:\"las la-play v-icon\"}),_vm._v(\"Enviar Alertas\")])],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\nimport { ActivityDto, LanguageDto } from \"@/server/app.dtos\";\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport { Getter } from 'vuex-class';\n\n@Component\nexport default class SendAlertsButtonComponent extends Vue {\n @Prop() activity!: ActivityDto;\n @Getter(\"currentLanguage\") currentLanguage!: LanguageDto;\n isLoading: boolean = false;\n enableDialog:boolean = false;\n\n async onClick(index:number){\n console.log(index);\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!./SendAlerts.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!./SendAlerts.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SendAlerts.vue?vue&type=template&id=7ed86ebf&scoped=true&\"\nimport script from \"./SendAlerts.vue?vue&type=script&lang=ts&\"\nexport * from \"./SendAlerts.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SendAlerts.vue?vue&type=style&index=0&id=7ed86ebf&scoped=true&lang=scss&\"\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 \"7ed86ebf\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\ninstallComponents(component, {VBtn})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch } from \"vue-property-decorator\";\r\nimport { Getter } from \"vuex-class\";\r\nimport { LanguageDto, FeedbackDto } from \"@/server/app.dtos\";\r\nimport {\r\n GetFeedbacksDtosIncludeOptions,\r\n\tGetSingleFeedbackDtoQuery\r\n} from \"@/server/app.queries\";\r\nimport { ISideMenuItem } from \"@/models/menus/abstract/isidemenu\";\r\nimport ConfigsService from \"@/services/api/configs.service\";\r\nimport { NotificationServiceBus } from \"@/services/bus/notifications.service\";\r\nimport { FeedbackService } from \"@/services/api/feedback.service\";\r\nimport SendAlertsButtonComponent from '@/components/buttons/SendAlerts.vue';\r\n@Component({\r\n components: {\r\n SendAlertsButton: SendAlertsButtonComponent\r\n }\r\n})\r\nexport default class FeedbackDetailSharedPage extends Vue {\r\n feedbackService: FeedbackService = new FeedbackService();\r\n configsService: ConfigsService = new ConfigsService();\r\n @Getter(\"currentLanguage\") currentLanguage!: LanguageDto;\r\n feedback: FeedbackDto | null = null;\r\n menus: ISideMenuItem[] = [\r\n {\r\n icon: \"las la-cog\",\r\n title: \"Dashboard\",\r\n url: \"dashboard\"\r\n },\r\n {\r\n icon: \"las la-cog\",\r\n title: \"Questões\",\r\n url: \"questions\"\r\n },\r\n {\r\n icon: \"las la-cog\",\r\n title: \"Grupos de Questões\",\r\n url: \"questiongroups\"\r\n },\r\n {\r\n icon: \"las la-cog\",\r\n title: \"Utilizadores\",\r\n url: \"users\"\r\n },\r\n {\r\n icon: \"las la-cog\",\r\n title: \"Comentários\",\r\n url: \"comments\"\r\n }\r\n ];\r\n actionMenu: boolean = false;\r\n isLoading: boolean = false;\r\n description: string =\"\";\r\n\r\n get currentPath(): string {\r\n return this.$route.path;\r\n }\r\n\r\n @Watch(\"$route\")\r\n onRouteChange() {\r\n this.Load();\r\n }\r\n\r\n async created() {\r\n await this.Load();\r\n }\r\n\r\n async Load() {\r\n const query = new GetSingleFeedbackDtoQuery();\r\n query.idFeedback = parseInt(this.$route.params.id);\r\n query.includes = new GetFeedbacksDtosIncludeOptions();\r\n query.includes.user = true;\r\n query.includes.feedbackType = true;\r\n query.includes.feedbackQuestionGroup = true;\r\n query.includes.appGroupVsFeedback = true;\r\n await this.feedbackService\r\n .GetSingle(query)\r\n .then((result: FeedbackDto) => {\r\n this.feedback = result;\r\n })\r\n .catch(() => (this.feedback = null));\r\n\r\n if(this.feedback && this.feedback.description){\r\n const regex = /(<([^>]+)>)/ig;\r\n this.description = this.feedback.description.replace(regex, \"\")\r\n }\r\n }\r\n\r\n async deleteFeedback() {\r\n if (this.isLoading) {\r\n return;\r\n }\r\n\r\n if (this.feedback) {\r\n await this.feedbackService\r\n .DeleteById(this.feedback.idFeedback || 0)\r\n .catch((error: any) => NotificationServiceBus.showError(error))\r\n .then(() => this.$router.push(\"/feedback/\"));\r\n }\r\n }\r\n}\r\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!./Shared.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!./Shared.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Shared.vue?vue&type=template&id=bf2233c4&scoped=true&\"\nimport script from \"./Shared.vue?vue&type=script&lang=ts&\"\nexport * from \"./Shared.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Shared.vue?vue&type=style&index=0&id=bf2233c4&scoped=true&lang=scss&\"\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 \"bf2233c4\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VList,VListItem,VListItemTitle,VMenu,VTooltip})\n"],"sourceRoot":""}