|
- {"ast":null,"code":"import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\";\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_BCardHeader = _resolveComponent(\"BCardHeader\");\n const _component_BCardBody = _resolveComponent(\"BCardBody\");\n const _component_BCard = _resolveComponent(\"BCard\");\n const _component_BCol = _resolveComponent(\"BCol\");\n const _component_BRow = _resolveComponent(\"BRow\");\n const _component_Layout = _resolveComponent(\"Layout\");\n return _openBlock(), _createBlock(_component_Layout, null, {\n default: _withCtx(() => [_createVNode(_component_BRow, null, {\n default: _withCtx(() => [_createVNode(_component_BCol, {\n sm: \"12\"\n }, {\n default: _withCtx(() => [_createVNode(_component_BCard, {\n \"no-body\": \"\"\n }, {\n default: _withCtx(() => [_createVNode(_component_BCardHeader, null, {\n default: _withCtx(() => _cache[0] || (_cache[0] = [_createElementVNode(\"h5\", null, \"Hello card\", -1 /* HOISTED */)])),\n _: 1 /* STABLE */\n }), _createVNode(_component_BCardBody)]),\n _: 1 /* STABLE */\n })]),\n _: 1 /* STABLE */\n })]),\n _: 1 /* STABLE */\n })]),\n _: 1 /* STABLE */\n });\n}","map":{"version":3,"names":["_createBlock","_component_Layout","default","_withCtx","_createVNode","_component_BRow","_component_BCol","sm","_component_BCard","_component_BCardHeader","_cache","_createElementVNode","_","_component_BCardBody"],"sources":["C:\\Users\\hp\\Desktop\\satari\\Vue\\Admin\\src\\views\\live-preview\\pages\\editUser.vue"],"sourcesContent":["<script>\r\nimport Layout from \"@/layout/custom.vue\";\r\nimport { onMounted, ref } from \"vue\";\r\nimport { useRoute } from \"vue-router\";\r\nimport axios from \"axios\";\r\nexport default {\r\n name: \"SAMPLE-PAGE\",\r\n components: {\r\n Layout,\r\n },\r\n setup() {\r\n const token = localStorage.getItem(\"token\");\r\n const url = process.env.VUE_APP_ROOT_URL;\r\n const route = useRoute();\r\n\r\n const getUser = (searchQuery) => {\r\n filterLoading.value = true;\r\n axios\r\n .get(\r\n `${url}/admin/user/`,\r\n {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n Authorization: `Bearer ${token} `,\r\n },\r\n }\r\n )\r\n .then((resp) => {\r\n filterLoading.value = false;\r\n console.log(resp);\r\n\r\n users.value = resp.data;\r\n console.log(users.value);\r\n })\r\n .catch((error) => {\r\n filterLoading.value = false;\r\n console.error(\"Error fetching users:\", error);\r\n });\r\n };\r\n onMounted(() => {});\r\n return {};\r\n },\r\n};\r\n</script>\r\n\r\n<template>\r\n <Layout>\r\n <BRow>\r\n <BCol sm=\"12\">\r\n <BCard no-body>\r\n <BCardHeader>\r\n <h5>Hello card</h5>\r\n </BCardHeader>\r\n <BCardBody> </BCardBody>\r\n </BCard>\r\n </BCol>\r\n </BRow>\r\n </Layout>\r\n</template>\r\n"],"mappings":";;;;;;;;uBA8CEA,YAAA,CAWSC,iBAAA;IAzDXC,OAAA,EAAAC,QAAA,CA+CI,MASO,CATPC,YAAA,CASOC,eAAA;MAxDXH,OAAA,EAAAC,QAAA,CAgDM,MAOO,CAPPC,YAAA,CAOOE,eAAA;QAPDC,EAAE,EAAC;MAAI;QAhDnBL,OAAA,EAAAC,QAAA,CAiDQ,MAKQ,CALRC,YAAA,CAKQI,gBAAA;UALD,SAAO,EAAP;QAAO;UAjDtBN,OAAA,EAAAC,QAAA,CAkDU,MAEc,CAFdC,YAAA,CAEcK,sBAAA;YApDxBP,OAAA,EAAAC,QAAA,CAmDY,MAAmBO,MAAA,QAAAA,MAAA,OAAnBC,mBAAA,CAAmB,YAAf,YAAU,oB;YAnD1BC,CAAA;cAqDUR,YAAA,CAAwBS,oBAAA,E;UArDlCD,CAAA;;QAAAA,CAAA;;MAAAA,CAAA;;IAAAA,CAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|