{"version":3,"sources":["webpack:///./src/pages/master/tag/List.vue?b2eb","webpack:///src/pages/master/tag/List.vue","webpack:///./src/pages/master/tag/List.vue?b9ce","webpack:///./src/pages/master/tag/List.vue","webpack:///./src/pages/master/tag/form-helper.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","directives","name","rawName","value","expression","staticStyle","_v","_s","title","attrs","headers","items","customizationPage","options","on","edit","remove","staticRenderFns","components","SimpleTable","mounted","fetchData","service","data","apiRemove","$appInfo","api","tag","delete","fullscreenLoading","RecordsOnDuty","allowToAdd","allowToRefetch","methods","id","row","Id","$router","push","params","component","emptyData","TagName","CustomerName","TagType","Note","validationRules","required","message","trigger","getEmptyData","getValidationRule"],"mappings":"uHAAA,IC4BA,ED5BIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,WAAW,CAAC,CAACC,KAAK,UAAUC,QAAQ,YAAYC,MAAOT,EAAqB,kBAAEU,WAAW,uBAAuB,CAACN,EAAG,MAAM,CAACO,YAAY,CAAC,QAAU,OAAO,kBAAkB,gBAAgB,cAAc,WAAW,CAACP,EAAG,KAAK,CAACJ,EAAIY,GAAGZ,EAAIa,GAAGb,EAAIc,YAAYV,EAAG,KAAK,CAACO,YAAY,CAAC,OAAS,sBAAsBP,EAAG,cAAc,CAACW,MAAM,CAAC,QAAUf,EAAIgB,QAAQ,MAAQhB,EAAIiB,MAAM,kBAAoBjB,EAAIkB,kBAAkB,QAAUlB,EAAImB,SAASC,GAAG,CAAC,WAAWpB,EAAIqB,KAAK,aAAarB,EAAIsB,WAAW,IAC7kBC,EAAkB,G,4DC6BtB,GACEC,WAAY,CACVC,YAAJ,QAGEC,QALF,WAMIzB,KAAK0B,YACLC,EAAU,IAAI,EAAlB,mBAEEC,KATF,WAUI,MAAO,CACLf,MAAO,aACPI,kBAAmB,qBACnBY,UAAW7B,KAAK8B,SAASC,IAAIC,IAAIC,OACjCC,mBAAmB,EACnBnB,QAAS,CACf,CAAQ,KAAR,SAAQ,KAAR,WAAQ,MAAR,WACA,CAAQ,KAAR,SAAQ,KAAR,WAAQ,MAAR,eACA,CACQ,KAAR,SACQ,KAAR,SACQ,MAAR,KACQ,aAAR,iBAGMC,MAAO,GACPmB,cAAe,EACfjB,QAAS,CACPkB,YAAY,EACZC,gBAAgB,KAItBC,QAAS,CACPlB,KADJ,SACA,GACM,IAAImB,EAAKC,EAAIZ,KAAKa,GAClBzC,KAAK0C,QAAQC,KAAK,CAChBrC,KAAM,WACNsC,OAAQ,CAAhB,SAGI,OARJ,SAQA,2JACA,WACA,sDACA,eACA,CACA,2BACA,0BACA,iBAGA,KATA,wCASA,oHAEA,YAFA,SAGA,YAHA,OAKA,cAEA,YACA,eACA,6BATA,mDAYA,uBACA,uBACA,kBAdA,0DAiBA,kBACA,YACA,YACA,+BA9BA,8CAmCI,UA3CJ,WA2CA,8KAEA,uBAFA,SAGA,aACA,sDAJA,OAGA,EAHA,OAMA,eACA,uBAPA,mDASA,uBACA,kBAVA,8DC1G4W,I,YCOxWC,EAAY,eACd,EACA/C,EACAwB,GACA,EACA,KACA,KACA,MAIa,aAAAuB,E,2CCdf,IAAMC,EAAY,CAChBC,QAAS,GACTC,aAAc,GACdC,QAAS,GACTC,KAAM,IA8BFC,EAAkB,CACtBJ,QAAS,CACP,CACEK,UAAU,EACVC,QAAS,uBACTC,QAAS,SAGbN,aAAc,GACdC,QAAS,GACTC,KAAM,IAGO,QACbK,aADa,WAEX,OAAOT,GAETU,kBAJa,WAKX,OAAOL","file":"js/chunk-9f537eac.44db9790.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.fullscreenLoading),expression:\"fullscreenLoading\"}]},[_c('div',{staticStyle:{\"display\":\"flex\",\"justify-content\":\"space-between\",\"align-items\":\"center\"}},[_c('h3',[_vm._v(_vm._s(_vm.title))])]),_c('hr',{staticStyle:{\"margin\":\"0px 0px 10px 0px\"}}),_c('SimpleTable',{attrs:{\"headers\":_vm.headers,\"items\":_vm.items,\"customizationPage\":_vm.customizationPage,\"options\":_vm.options},on:{\"edit-row\":_vm.edit,\"remove-row\":_vm.remove}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n
\n
{{ title }}
\n \n
\n
\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!./List.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!./List.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./List.vue?vue&type=template&id=29346094&\"\nimport script from \"./List.vue?vue&type=script&lang=js&\"\nexport * from \"./List.vue?vue&type=script&lang=js&\"\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","// import appInfo from '@/app-info'\n// import axios from 'axios'\n// import router from '@/router';\n\nconst emptyData = {\n TagName: '',\n CustomerName: '',\n TagType: '',\n Note: ''\n}\n\n// var validateName = async (name) => {\n// \ttry {\n// \t\tvar id = router.history.current.params.id;\n// \t\tvar idParam = \"\";\n\n// \t\tif (id) {\n// \t\t\tidParam = `&userId=${id}`\n// \t\t}\n// \t\tconst res = await axios.get(\n// \t\t\tappInfo.api.user.isAvailableUsername + '?username=' + name + idParam\n// \t\t)\n// \t\treturn res.data;\n// \t} catch (e) {\n// \t\tconsole.log(e)\n// \t}\n// };\n\n// var validateUsername = async (rule, value, callback) => {\n// \tif (value == '') {\n// \t\tcallback(new Error('Username is required'))\n// \t} else if (! await validateName(value)) {\n// \t\tcallback(new Error('Username Already used'));\n// \t} else {\n// \t\tcallback();\n// \t}\n// };\n\nconst validationRules = {\n TagName: [\n {\n required: true,\n message: 'Tag Name is required',\n trigger: 'blur'\n }\n ],\n CustomerName: [],\n TagType: [],\n Note: []\n}\n\nexport default {\n getEmptyData() {\n return emptyData\n },\n getValidationRule() {\n return validationRules\n }\n}\n"],"sourceRoot":""}