{"version":3,"sources":["webpack:///./src/modules/@appbase/views/Master.vue","webpack:///./src/modules/@appbase/views/Master.ts","webpack:///./src/modules/@appbase/views/Master.ts?2ad7","webpack:///./src/modules/@appbase/views/Master.vue?ee97","webpack:///./src/modules/@appbase/views/ErrorView.vue?1708","webpack:///./src/modules/@appbase/Index.vue","webpack:///./src/modules/@appbase/Index.ts","webpack:///./src/modules/@appbase/Index.ts?787f","webpack:///./src/modules/@appbase/Index.vue?48c5","webpack:///./src/modules/@appbase/views/ErrorView.vue","webpack:///./src/modules/@appbase/views/ErrorView.ts","webpack:///./src/modules/@appbase/views/ErrorView.ts?83cf","webpack:///./src/modules/@appbase/views/ErrorView.vue?ee32"],"names":["render","_vm","this","_c","_self","_setupProxy","_v","staticRenderFns","AppbaseMaster","_Vue","_classCallCheck","_callSuper","arguments","_inherits","_createClass","Vue","__decorate","Component","component","Appbase","loaded","attrs","staticClass","type","_s","errorTitle","_m","$t","errorMessage","userLang","on","$event","goToHome","_e","ErrorView","_this2","_len","length","args","Array","_key","concat","_defineProperty","toString","key","value","_this","query","$route","data","JSON","parse","decodeURIComponent","undefined","returnUrl","api","auth","getCurrentUserConfig","then","userConfig","language","split","handleError","Error","title","message","err","msg","console","error","log","url","targetUrl","indexOf","startsWith","location","href","origin","_this3","logout","goToPage","catch","hostname","host","load"],"mappings":"kHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACF,EAAIK,GAAG,wBAE7GC,EAAkB,G,oFCCDC,EAAa,SAAAC,GAAA,SAAAD,IAAA,OAAAE,eAAA,KAAAF,GAAAG,eAAA,KAAAH,EAAAI,WAAA,OAAAC,eAAAL,EAAAC,GAAAK,eAAAN,GAAA,CAASO,QAAtBP,EAAaQ,eAAA,CADjCC,QACoBT,WCHsR,I,YCOvSU,EAAY,eACd,EACAlB,EACAO,GACA,EACA,KACA,KACA,MAIa,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AW,E","file":"assets/js/appbase.c38d5642.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_vm._v(\"AppbaseMasterPage\")])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue';\r\nimport { Component } from 'vue-property-decorator';\r\n@Component\r\nexport default class AppbaseMaster extends Vue {}\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!./Master.ts?vue&type=script&lang=ts&external\"; 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!./Master.ts?vue&type=script&lang=ts&external\"","import { render, staticRenderFns } from \"./Master.vue?vue&type=template&id=e18c151a\"\nimport script from \"./Master.ts?vue&type=script&lang=ts&external\"\nexport * from \"./Master.ts?vue&type=script&lang=ts&external\"\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","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ErrorView.vue?vue&type=style&index=0&id=741761ba&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('router-view')\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue'\r\nimport { Component } from 'vue-property-decorator'\r\n\r\n@Component\r\nexport default class Appbase extends Vue {}\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!./Index.ts?vue&type=script&lang=ts&external\"; 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!./Index.ts?vue&type=script&lang=ts&external\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=6b1c7a1e\"\nimport script from \"./Index.ts?vue&type=script&lang=ts&external\"\nexport * from \"./Index.ts?vue&type=script&lang=ts&external\"\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 render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.loaded)?_c('div',{attrs:{\"id\":\"wrapper-login\"}},[_c('div',{staticClass:\"container-login\"},[(_vm.type == null)?[_c('div',{staticClass:\"bg-error\"}),_c('div',{staticClass:\"form-login login-bg-white\"},[_c('form',[_c('h1',{staticClass:\"align-center logo-login\"}),_c('div',{staticClass:\"space-xl\"}),_c('h4',{staticClass:\"align-center ft-darkblue\"},[_vm._v(_vm._s(_vm.errorTitle))]),_c('div',{staticClass:\"space-xl\"}),_vm._m(0),_c('div',{staticClass:\"space-xl\"}),_c('div',{staticClass:\"divide-row divide-gray\"}),_c('div',{staticClass:\"space-xl\"}),_c('div',{staticClass:\"position-relative\"},[_c('div',{staticClass:\"accordion pre-arrow\"},[_c('input',{attrs:{\"id\":\"error-details\",\"type\":\"checkbox\"}}),_c('label',{staticClass:\"ft-gray\",attrs:{\"for\":\"error-details\"}},[_vm._v(_vm._s(_vm.$t('상세보기')))]),_c('div',{staticClass:\"accordion-content\"},[_c('div',{staticClass:\"space-l\"}),_c('span',[_vm._v(_vm._s(_vm.errorMessage))])])])]),_c('div',{staticClass:\"space-m\"})])])]:(_vm.type == '1')?_c('div',{staticClass:\"form-error\"},[_c('form',[(_vm.userLang == 'ko')?_c('div',[_vm._m(1),_c('h3',{staticClass:\"error-title\"},[_vm._v(\"그룹웨어 연결에 문제가 발생했습니다.\")]),_c('h5',{staticClass:\"error-list-tit align-center\"},[_vm._v(\"로그아웃 후 다시 로그인 해 주시기 바랍니다.\")]),_c('div',{staticClass:\"space-xl\"}),_c('div',{staticClass:\"align-center\"},[_c('button',{staticClass:\"btn page-btn btn-green\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.goToHome()}}},[_vm._v(\" 메인화면으로 이동 \")])])]):(_vm.userLang == 'zh')?_c('div',[_vm._m(2),_c('h3',{staticClass:\"error-title\"},[_vm._v(\"GW连接发生了问题。\")]),_c('h5',{staticClass:\"error-list-tit align-center\"},[_vm._v(\"请注销并重新登录。\")]),_c('div',{staticClass:\"space-xl\"}),_c('div',{staticClass:\"align-center\"},[_c('button',{staticClass:\"btn page-btn btn-green\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.goToHome()}}},[_vm._v(\" 转到主屏幕 \")])])]):(_vm.userLang == 'ja')?_c('div',[_vm._m(3),_c('h3',{staticClass:\"error-title\"},[_vm._v(\"グループウェア接続に問題が発生しました。\")]),_c('h5',{staticClass:\"error-list-tit align-center\"},[_vm._v(\"ログアウトしてもう一度ログインしてください。\")]),_c('div',{staticClass:\"space-xl\"}),_c('div',{staticClass:\"align-center\"},[_c('button',{staticClass:\"btn page-btn btn-green\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.goToHome()}}},[_vm._v(\" メイン画面に移動 \")])])]):_c('div',[_vm._m(4),_c('h3',{staticClass:\"error-title\"},[_vm._v(\"There was a problem connecting to the groupware.\")]),_c('h5',{staticClass:\"error-list-tit align-center\"},[_vm._v(\"Please log out and log in again.\")]),_c('div',{staticClass:\"space-xl\"}),_c('div',{staticClass:\"align-center\"},[_c('button',{staticClass:\"btn page-btn btn-green\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.goToHome()}}},[_vm._v(\" Go to Home \")])])])])]):_vm._e()],2)]):_vm._e()\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"align-center\"},[_c('img',{attrs:{\"src\":\"/cm/gres/faux/images/error_item.png\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"error-img\"},[_c('img',{attrs:{\"src\":\"/cm/gres/faux/images/error_img.png\",\"alt\":\"\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"error-img\"},[_c('img',{attrs:{\"src\":\"/cm/gres/faux/images/error_img.png\",\"alt\":\"\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"error-img\"},[_c('img',{attrs:{\"src\":\"/cm/gres/faux/images/error_img.png\",\"alt\":\"\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"error-img\"},[_c('img',{attrs:{\"src\":\"/cm/gres/faux/images/error_img.png\",\"alt\":\"\"}})])\n}]\n\nexport { render, staticRenderFns }","import Vue from 'vue'\r\nimport { Component } from 'vue-property-decorator'\r\n\r\nimport api from '@appbase/api'\r\n\r\n/**\r\n * 이 페이지는 타 시스템과 연동하는 전자결재 업무 프로세스에 사용됩니다.\r\n * 수정 시 참고바랍니다.\r\n */\r\n\r\ndeclare type ErrorParam = {\r\n title: string,\r\n message: string,\r\n type: string, // undefined: error view, 1: login view\r\n returnUrl: string, // to redirect (encoded value)\r\n}\r\n\r\n@Component({\r\n \r\n})\r\nexport default class ErrorView extends Vue {\r\n //\r\n // ──────────────────────────────────────────────── I ──────────\r\n // :::::: D A T A : : : : : : : :\r\n // ──────────────────────────────────────────────────────────\r\n //\r\n\r\n loaded: boolean = false;\r\n errorTitle: string = this.$t('오류').toString();\r\n errorMessage: string = '';\r\n type: string | null = null;\r\n returnUrl: string = '';\r\n userLang: string = 'ko';\r\n\r\n // ─── Methods ─────────────────────────────────────────────────────────\r\n\r\n \r\n load() {\r\n debugger;\r\n const _this = this;\r\n const { query } = this.$route;\r\n if(query.data){\r\n try{\r\n const data : ErrorParam = JSON.parse(decodeURIComponent(query.data.toString()));\r\n if(data.type != undefined){\r\n this.type = data.type;\r\n switch(this.type){\r\n case '1':\r\n this.returnUrl = data.returnUrl;\r\n api.auth.getCurrentUserConfig().then((userConfig) =>{\r\n _this.userLang = userConfig.language.split('-')[0];\r\n })\r\n break;\r\n }\r\n\r\n this.loaded = true;\r\n }\r\n else{\r\n this.handleError(new Error(data.title), data.message);\r\n }\r\n }\r\n catch(err){\r\n this.handleError(err, (err as Error).message);\r\n }\r\n }\r\n else{\r\n this.handleError(new Error('[NOT FOUND ERROR MESSAGE]'), '[NOT FOUND ERROR MESSAGE]');\r\n }\r\n }\r\n \r\n handleError(err: any, msg?: string){\r\n console.error(err);\r\n console.log(msg);\r\n if(msg != undefined && msg.length > 0){\r\n this.errorMessage = msg;\r\n }\r\n else{\r\n this.errorMessage = '';\r\n }\r\n \r\n this.loaded = true;\r\n }\r\n\r\n /**\r\n * 해당 URL 로 페이지를 이동시킵니다.\r\n * @param url \r\n */\r\n goToPage(url: string){\r\n try{\r\n var targetUrl = decodeURIComponent(url);\r\n if(targetUrl.indexOf('?') > -1){\r\n targetUrl += '&EumRedirect=1';\r\n }\r\n else{\r\n targetUrl += '?EumRedirect=1';\r\n }\r\n if (targetUrl.startsWith('http://') || targetUrl.startsWith('https://')) {\r\n location.href = targetUrl;\r\n }\r\n else{\r\n location.href = location.origin + targetUrl;\r\n }\r\n }\r\n catch(err){\r\n this.handleError(err);\r\n }\r\n }\r\n\r\n /**\r\n * 로그인 처리하도록 이동\r\n */\r\n goToLogin(){\r\n //logout\r\n // ADFS 사용 시에는 의미없음. 메인으로 이동하도록.\r\n api.auth.logout().then(() => {\r\n this.goToPage(this.returnUrl);\r\n }).catch((err: any) => {\r\n this.handleError(err, err.message);\r\n })\r\n }\r\n\r\n goToHome(){\r\n var hostname = location.host;\r\n if(hostname != ''){\r\n location.href = 'https://' + hostname;\r\n }\r\n }\r\n\r\n //\r\n // ────────────────────────────────────────────────────────── I ──────────\r\n // :::::: L I F E C Y C L E : : : : : : : :\r\n // ────────────────────────────────────────────────────────────────────\r\n //\r\n\r\n created(){\r\n this.load();\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!./ErrorView.ts?vue&type=script&lang=ts&external\"; 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!./ErrorView.ts?vue&type=script&lang=ts&external\"","import { render, staticRenderFns } from \"./ErrorView.vue?vue&type=template&id=741761ba&scoped=true\"\nimport script from \"./ErrorView.ts?vue&type=script&lang=ts&external\"\nexport * from \"./ErrorView.ts?vue&type=script&lang=ts&external\"\nimport style0 from \"./ErrorView.vue?vue&type=style&index=0&id=741761ba&prod&lang=scss&scoped=true\"\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 \"741761ba\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}