{"version":3,"sources":["webpack:///./src/components/parameters/currency/currency.vue?dd90","webpack:///src/components/parameters/currency/currency.vue","webpack:///./src/components/parameters/currency/currency.vue?63d6","webpack:///./src/components/parameters/currency/currency.vue","webpack:///./src/components/misc/mixinsComp/TableAction.vue?7fe6","webpack:///./src/components/parameters/currency/currency.vue?475d","webpack:///./src/components/misc/mixinsComp/TableAction.vue?4531","webpack:///src/components/misc/mixinsComp/TableAction.vue","webpack:///./src/components/misc/mixinsComp/TableAction.vue?ab1a","webpack:///./src/components/misc/mixinsComp/TableAction.vue?84f6","webpack:///./src/mixins/table.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","xs12","messages","staticClass","_v","append-icon","label","single-line","hide-details","model","value","callback","$$v","search","expression","headers","items","rows-per-page-items","itemsPerPage","pagination","item-key","loading","no-data-text","noDataText","filter","customSearch","on","update:pagination","$event","scopedSlots","_u","key","fn","props","bottom","slot","_s","header","text","item","curr","currDesc","rowData","review","remove","doReview","doPromptRemove","color","dark","click","doNew","right","ok","doDelete","promptRemove","selectedId","staticRenderFns","currencyvue_type_script_lang_js_","data","table","id","methods","doFetch","_doFetch","_asyncToGenerator","regenerator_default","a","mark","_callee","apiUrl","result","_data","_this","wrap","_context","prev","next","currMenu","getAllCurrency","$http","get","sent","map","convertList","push","t0","response","fullMessage","errorMessage","stop","apply","arguments","redirect","name","params","$router","currency","resetMessages","_this2","apiURI","deleteCurrency","expand","delete","Object","ajax","then","notify","catch","err","message","created","computed","$store","state","menu","mixins","currency_currencyvue_type_script_lang_js_","component","componentNormalizer","options","__file","__webpack_exports__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_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_lib_loader_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_TableAction_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_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_lib_loader_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_TableAction_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default","n","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_currency_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_currency_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default","indeterminate","size","width","flat","icon","doRemove","removeText","_e","reviewText","doQuery","queryText","_t","TableActionvue_type_script_lang_js_","$emit","type","default","query","Boolean","String","mixinsComp_TableActionvue_type_script_lang_js_","TableAction","tableActionHeader","align","sortable","val","valToFilter","Date","formatDisplayDate","console","log","indexOf","_typeof","toString","toLowerCase","tableMixin","sortBy","undefined","descending","page","rowsPerPage","selected","formatDate","formatDateTime","formatDisplayDateTime","formatBoolean","formatTextLength","length","substr","components"],"mappings":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f,OAAY,OAARA,EACK,UACUY,IAARZ,EACF,KAEHA,EAAIsB,OAAS,GACRtB,EAAIuB,OAAO,EAAG,IAAM,OAEpBvB,IAKfwB,WAAY,CACV5B,gBAIWc","file":"js/chunk-3e8d04c3.fcd938e1.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('page',[_c('v-card',[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('message',{attrs:{\"messages\":_vm.messages}})],1),_c('v-card-title',[_c('div',{staticClass:\"headline\"},[_vm._v(\"Currency Listing\")]),_c('v-spacer'),_c('v-text-field',{attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-data-table',{attrs:{\"headers\":_vm.headers,\"items\":_vm.items,\"search\":_vm.search,\"rows-per-page-items\":_vm.itemsPerPage,\"pagination\":_vm.pagination,\"item-key\":\"name\",\"loading\":_vm.loading,\"no-data-text\":_vm.noDataText,\"filter\":_vm.customSearch},on:{\"update:pagination\":function($event){_vm.pagination=$event}},scopedSlots:_vm._u([{key:\"headerCell\",fn:function(props){return [_c('v-tooltip',{attrs:{\"bottom\":\"\"}},[_c('span',{attrs:{\"slot\":\"activator\"},slot:\"activator\"},[_vm._v(\"\\n \"+_vm._s(props.header.text)+\"\\n \")]),_c('span',[_vm._v(\"\\n \"+_vm._s(props.header.text)+\"\\n \")])])]}},{key:\"items\",fn:function(props){return [_c('td',{staticClass:\"text-xs-left\"},[_vm._v(_vm._s(props.item.curr))]),_c('td',{staticClass:\"text-xs-left\"},[_vm._v(_vm._s(props.item.currDesc))]),_c('td',{staticClass:\"text-xs-right\"},[_c('table-action',{attrs:{\"rowData\":props,\"review\":\"\",\"remove\":\"\"},on:{\"review\":function($event){_vm.doReview(props.item.curr)},\"remove\":function($event){_vm.doPromptRemove(props.item)}}})],1)]}}])})],1),_c('v-btn',{staticClass:\"mb-2\",attrs:{\"color\":\"primary\",\"dark\":\"\"},on:{\"click\":_vm.doNew}},[_vm._v(\"\\n New Currency\\n \"),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\"mdi-plus\")])],1),_c('confirm',{on:{\"ok\":_vm.doDelete},model:{value:(_vm.promptRemove),callback:function ($$v) {_vm.promptRemove=$$v},expression:\"promptRemove\"}},[_vm._v(\"\\n Are you sure you want to delete the selected item?\\n \"),_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.selectedId.text))])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./currency.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./currency.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./currency.vue?vue&type=template&id=ec88c51c&\"\nimport script from \"./currency.vue?vue&type=script&lang=js&\"\nexport * from \"./currency.vue?vue&type=script&lang=js&\"\nimport style0 from \"./currency.vue?vue&type=style&index=0&lang=css&\"\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\ncomponent.options.__file = \"currency.vue\"\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.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/lib/loader.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!./TableAction.vue?vue&type=style&index=0&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/index.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/lib/loader.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!./TableAction.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./currency.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./currency.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.loading)?_c('div',[(_vm.remove)?_c('v-tooltip',{attrs:{\"bottom\":\"\"}},[_c('v-btn',{staticClass:\"tableActionBtn\",attrs:{\"slot\":\"activator\",\"flat\":\"\",\"icon\":\"\",\"color\":\"red\"},on:{\"click\":function($event){_vm.doRemove()}},slot:\"activator\"},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1),_c('span',[_vm._v(_vm._s(_vm.removeText))])],1):_vm._e(),(_vm.review)?_c('v-tooltip',{attrs:{\"bottom\":\"\"}},[_c('v-btn',{staticClass:\"tableActionBtn\",attrs:{\"slot\":\"activator\",\"flat\":\"\",\"icon\":\"\",\"color\":\"blue\"},on:{\"click\":function($event){_vm.doReview()}},slot:\"activator\"},[_c('v-icon',[_vm._v(\"mdi-pencil\")])],1),_c('span',[_vm._v(_vm._s(_vm.reviewText))])],1):_vm._e(),(_vm.query)?_c('v-tooltip',{attrs:{\"bottom\":\"\"}},[_c('v-btn',{staticClass:\"tableActionBtn\",attrs:{\"slot\":\"activator\",\"flat\":\"\",\"icon\":\"\",\"color\":\"teal\"},on:{\"click\":function($event){_vm.doQuery()}},slot:\"activator\"},[_c('v-icon',[_vm._v(\"mdi-magnify\")])],1),_c('span',[_vm._v(_vm._s(_vm.queryText))])],1):_vm._e(),_vm._t(\"default\")],2):_c('div',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\",\"size\":20,\"width\":2}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableAction.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableAction.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TableAction.vue?vue&type=template&id=761883ff&\"\nimport script from \"./TableAction.vue?vue&type=script&lang=js&\"\nexport * from \"./TableAction.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TableAction.vue?vue&type=style&index=0&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 null,\n null\n \n)\n\ncomponent.options.__file = \"TableAction.vue\"\nexport default component.exports","import TableAction from '@/components/misc/mixinsComp/TableAction'\nimport { formatDisplayDate, formatDisplayDateTime } from '@/utils/date'\n\nexport const tableActionHeader = { text: 'Action', align: 'right', value: 'action', sortable: false }\n\nexport const customSearch = (val, search) => {\n // Below is the default search method\n // return val !== null && ['undefined', 'boolean'].indexOf(typeof val) === -1 && val.toString().toLowerCase().indexOf(search) !== -1\n\n // Problem is some value like date are converted to readable format. Thus when searching, we need format these val\n let valToFilter = val\n\n if (typeof val === 'boolean') {\n if (val === true) {\n valToFilter = 'true yes'\n } else {\n valToFilter = 'false no'\n }\n } else if (val instanceof Date) {\n try {\n valToFilter = formatDisplayDate(val)\n } catch (err) {\n console.log(err)\n }\n }\n\n return valToFilter !== null && ['undefined'].indexOf(typeof valToFilter) === -1 && valToFilter.toString().toLowerCase().indexOf(search) !== -1\n}\n\nconst tableMixin = {\n data() {\n return {\n itemsPerPage: [10, 25, 50],\n customSearch: customSearch,\n search: '',\n pagination: {\n // Assign sort field by default (if not it will sort the 1st field)\n sortBy: undefined,\n descending: false,\n page: 1,\n // Follow the 1st value of the above variable (itemsPerPage)\n rowsPerPage: 10\n },\n loading: false,\n items: [],\n headers: [],\n selected: []\n }\n },\n computed: {\n noDataText() {\n if (this.loading) {\n return 'Loading...'\n } else {\n return undefined\n }\n }\n },\n methods: {\n formatDate(val) {\n return formatDisplayDate(val)\n },\n formatDateTime(val) {\n return formatDisplayDateTime(val)\n },\n formatBoolean(val) {\n if (val === undefined) {\n return 'No'\n } else {\n if (val === true) {\n return 'Yes'\n } else {\n return 'No'\n }\n }\n },\n formatTextLength(val) {\n if (val === null) {\n return null\n } else if (val === undefined) {\n return null\n } else {\n if (val.length > 50) {\n return val.substr(0, 50) + ' ...'\n } else {\n return val\n }\n }\n }\n },\n components: {\n TableAction\n }\n}\n\nexport default tableMixin\n"],"sourceRoot":""}