{"version":3,"sources":["webpack:///./src/constants/shop-status/index.js","webpack:///./src/views/onboarding/shops/shop-list/ShopList.vue?0d14","webpack:///./src/views/onboarding/shops/shop-list/useShopList.js","webpack:///src/views/onboarding/shops/shop-list/ShopList.vue","webpack:///./src/views/onboarding/shops/shop-list/ShopList.vue?ffa0","webpack:///./src/views/onboarding/shops/shop-list/ShopList.vue","webpack:///./src/views/onboarding/shops/shopsStoreModule.js","webpack:///./src/views/onboarding/shops/shop-list/ShopList.vue?6af6"],"names":["ENABLED","DISABLED","render","_vm","this","_h","$createElement","_c","_self","attrs","_v","staticClass","shopFilterData","model","value","callback","$$v","shopFilter","expression","statusFilterData","statusFilter","loading","on","$event","preventDefault","applyFilters","apply","arguments","resetFilters","tableColumns","listData","searchQuery","options","totalListData","scopedSlots","_u","key","fn","ref","item","class","avatar","_s","shopName","slice","toUpperCase","shopUrl","resolveStatusVariant","statusCode","name","params","id","shopId","icons","mdiPencilBoxOutline","selectedRows","staticRenderFns","useShopList","text","align","sortable","sortBy","sortDesc","pageNumber","pageSize","isAddNewSideBarActive","fetchList","store","dispatch","q","status","then","response","records","count","data","catch","error","finally","watch","page","itemsPerPage","fetchConfig","config","shopStatus","shops","setup","STORE_MODULE_NAME","hasModule","registerModule","shopsStoreModule","onUnmounted","unregisterModule","merchantFilter","merchantFilterData","onMounted","avatarText","formatDate","formatCurrency","mdiSquareEditOutline","mdiFileDocumentOutline","mdiDotsVertical","mdiDeleteOutline","mdiPlus","mdiExportVariant","mdiAccountOutline","mdiCalendar","mdiPencil","component","VAvatar","VBtn","VCard","VCardText","VCardTitle","VChip","VCol","VDataTable","VDivider","VIcon","VRow","VSelect","namespaced","state","getters","mutations","actions","Promise","resolve","reject","axios","get","ctx","queryParams","fetch","update","put","sendApiCredentialsByEmail","post","generateApiCredentials","fetchCheckoutPageSetting","createCheckoutPageSetting","headers","updateCheckoutPageSetting","resetCheckoutPageSetting","delete"],"mappings":"gHAAA,MAAMA,EAAU,UACVC,EAAW,WAE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KC,GAAYuD,EAAQvD,IACzBI,MAAMC,GAASmD,EAAOnD,U,kCC7FjC","file":"js/chunk-ad1c3d00.5cb5a475.js","sourcesContent":["const ENABLED = 'ENABLED'\nconst DISABLED = 'DISABLED'\n\nexport default {\n ENABLED,\n DISABLED\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"shop-list\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\"Shops\")]),_c('v-row',{staticClass:\"px-2 ma-0\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"8\"}},[_c('v-select',{attrs:{\"placeholder\":\"Select Shop\",\"items\":_vm.shopFilterData,\"item-text\":\"text\",\"item-value\":\"value\",\"outlined\":\"\",\"dense\":\"\",\"clearable\":\"\",\"hide-details\":\"\"},model:{value:(_vm.shopFilter),callback:function ($$v) {_vm.shopFilter=$$v},expression:\"shopFilter\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"4\"}},[_c('v-select',{attrs:{\"placeholder\":\"Select Status\",\"items\":_vm.statusFilterData,\"item-text\":\"text\",\"item-value\":\"value\",\"outlined\":\"\",\"dense\":\"\",\"clearable\":\"\",\"hide-details\":\"\"},model:{value:(_vm.statusFilter),callback:function ($$v) {_vm.statusFilter=$$v},expression:\"statusFilter\"}})],1)],1),_c('v-divider',{staticClass:\"mt-4\"}),_c('v-card-text',{staticClass:\"d-flex align-center flex-wrap pb-0\"},[_c('v-btn',{staticClass:\"mb-4 me-3\",attrs:{\"color\":\"primary\",\"loading\":_vm.loading},on:{\"click\":function($event){$event.preventDefault();return _vm.applyFilters.apply(null, arguments)}}},[_vm._v(\" Apply Filters \")]),_c('v-btn',{staticClass:\"me-3 mb-4\",attrs:{\"color\":\"secondary\",\"outlined\":\"\",\"type\":\"reset\"},on:{\"click\":function($event){$event.preventDefault();return _vm.resetFilters.apply(null, arguments)}}},[_vm._v(\" Reset \")])],1),_c('v-data-table',{attrs:{\"headers\":_vm.tableColumns,\"items\":_vm.listData,\"search\":_vm.searchQuery,\"options\":_vm.options,\"server-items-length\":_vm.totalListData,\"items-per-page\":10,\"loading\":_vm.loading},on:{\"update:options\":function($event){_vm.options=$event}},scopedSlots:_vm._u([{key:\"item.shopName\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',{staticClass:\"d-flex align-center\"},[_c('v-avatar',{class:item.avatar ? '' : 'v-avatar-light-bg primary--text',attrs:{\"color\":item.avatar ? '' : 'primary',\"size\":\"32\"}},[_c('span',[_vm._v(_vm._s(item.shopName.slice(0, 2).toUpperCase()))])]),_c('div',{staticClass:\"d-flex flex-column ms-3\"},[_c('span',{staticClass:\"d-block font-weight-semibold text--primary text-truncate\"},[_vm._v(_vm._s(item.shopName))])])],1)]}},{key:\"item.url\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',{staticClass:\"d-flex flex-column ms-3\"},[_c('span',{staticClass:\"d-block text--primary text-truncate\"},[_vm._v(_vm._s(item.shopUrl))])])]}},{key:\"item.statusCode\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-chip',{staticClass:\"v-chip-light-bg\",class:((_vm.resolveStatusVariant(item.statusCode)) + \"--text\"),attrs:{\"small\":\"\",\"color\":_vm.resolveStatusVariant(item.statusCode)}},[_vm._v(\" \"+_vm._s(item.statusCode)+\" \")])]}},{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('router-link',{attrs:{\"to\":{\n name: 'shop-edit',\n params: { id: item.shopId },\n }}},[_c('v-icon',[_vm._v(\" \"+_vm._s(_vm.icons.mdiPencilBoxOutline)+\" \")])],1)]}}],null,true),model:{value:(_vm.selectedRows),callback:function ($$v) {_vm.selectedRows=$$v},expression:\"selectedRows\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { ref, watch } from '@vue/composition-api'\nimport store from '@/store'\nimport shopStatus from '@/constants/shop-status'\n\nexport default function useShopList() {\n const listData = ref([])\n const totalListData = ref(0)\n\n const tableColumns = [\n { text: 'CODE', value: 'shopCode', align: 'center' },\n { text: 'SHOP NAME', value: 'shopName' },\n { text: 'SHOP URL', value: 'shopUrl', sortable: false },\n {\n text: 'STATUS', value: 'statusCode', align: 'center', sortable: false,\n },\n {\n text: 'ACTIONS',\n value: 'actions',\n align: 'center',\n sortable: false,\n },\n ]\n\n const searchQuery = ref('')\n const shopFilter = ref(null)\n const statusFilter = ref(null)\n const shopFilterData = ref([])\n const statusFilterData = ref([])\n\n const loading = ref(false)\n\n const options = ref({\n sortBy: ['id'],\n sortDesc: [true],\n })\n\n const selectedRows = ref([])\n const pageNumber = ref(1)\n const pageSize = ref(10)\n\n const isAddNewSideBarActive = ref(false)\n\n // fetch data\n const fetchList = () => {\n loading.value = true\n\n store\n .dispatch('onboarding-shops/fetchList', {\n q: searchQuery.value,\n options: options.value,\n status: statusFilter.value,\n shopId: shopFilter.value,\n pageNumber: pageNumber.value,\n pageSize: pageSize.value,\n })\n .then(response => {\n const { records, count } = response.data\n listData.value = records\n totalListData.value = count\n })\n .catch(error => error).finally(() => {\n loading.value = false\n })\n }\n\n watch([options], () => {\n selectedRows.value = []\n pageNumber.value = options.value.page\n pageSize.value = options.value.itemsPerPage\n fetchList()\n })\n\n const applyFilters = () => {\n fetchList()\n }\n\n const resetFilters = () => {\n searchQuery.value = ''\n shopFilter.value = null\n statusFilter.value = null\n pageNumber.value = 1\n }\n\n const fetchConfig = () => {\n loading.value = true\n store\n .dispatch('onboarding-shops/fetchConfig')\n .then(response => {\n const config = response.data\n statusFilterData.value = config.shopStatus\n shopFilterData.value = config.shops\n })\n .catch(error => error).finally(() => {\n loading.value = false\n })\n }\n\n // *===============================================---*\n // *--------- UI ---------------------------------------*\n // *===============================================---*\n const resolveStatusVariant = status => {\n if (status === shopStatus.ENABLED) return 'success'\n if (status === shopStatus.DISABLED) return 'secondary'\n\n return 'primary'\n }\n\n return {\n listData,\n totalListData,\n tableColumns,\n searchQuery,\n shopFilter,\n shopFilterData,\n statusFilter,\n statusFilterData,\n isAddNewSideBarActive,\n loading,\n options,\n selectedRows,\n applyFilters,\n resetFilters,\n fetchList,\n fetchConfig,\n resolveStatusVariant,\n }\n}\n","\n \n \n
\n Shops\n \n \n \n \n \n\n \n \n \n \n \n\n \n\n \n \n \n \n Apply Filters\n \n\n \n Reset\n \n \n\n \n \n \n \n \n
\n {{ item.shopName.slice(0, 2).toUpperCase() }}\n \n\n
\n {{ item.shopName }}\n
\n
\n \n\n \n \n \n {{ item.shopUrl }}\n
\n \n\n \n \n \n {{ item.statusCode }}\n \n \n\n \n \n \n {{ icons.mdiPencilBoxOutline }} \n \n \n \n \n
\n\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShopList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShopList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ShopList.vue?vue&type=template&id=252fb37c&\"\nimport script from \"./ShopList.vue?vue&type=script&lang=js&\"\nexport * from \"./ShopList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ShopList.vue?vue&type=style&index=0&id=252fb37c&prod&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\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAvatar } from 'vuetify/lib/components/VAvatar';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VAvatar,VBtn,VCard,VCardText,VCardTitle,VChip,VCol,VDataTable,VDivider,VIcon,VRow,VSelect})\n","import axios from '@axios'\n\nexport default {\n namespaced: true,\n state: {},\n getters: {},\n mutations: {},\n actions: {\n fetchConfig() {\n return new Promise((resolve, reject) => {\n axios\n .get('/processing/page-setups/shop-list')\n .then(response => resolve(response))\n .catch(error => reject(error))\n })\n },\n fetchList(ctx, queryParams) {\n return new Promise((resolve, reject) => {\n axios\n .get('/processing/shops', { params: queryParams })\n .then(response => resolve(response))\n .catch(error => reject(error))\n })\n },\n fetch(ctx, queryParams) {\n return new Promise((resolve, reject) => {\n axios\n .get(`/processing/shops/${queryParams.id}`)\n .then(response => resolve(response))\n .catch(error => reject(error))\n })\n },\n update(ctx, data) {\n return new Promise((resolve, reject) => {\n axios\n .put('/processing/shops', data)\n .then(response => resolve(response))\n .catch(error => reject(error))\n })\n },\n sendApiCredentialsByEmail(ctx, shopId) {\n return new Promise((resolve, reject) => {\n axios\n .post(`/processing/shops/${shopId}/api-credentials/send-by-email`)\n .then(response => resolve(response))\n .catch(error => reject(error))\n })\n },\n generateApiCredentials(ctx, params) {\n return new Promise((resolve, reject) => {\n axios\n .post('/processing/shops/generate-api-credentials')\n .then(response => resolve(response))\n .catch(error => reject(error))\n })\n },\n fetchCheckoutPageSetting(ctx, queryParams) {\n return new Promise((resolve, reject) => {\n axios\n .get(`/processing/shops/${queryParams.shopId}/checkout-page-settings`)\n .then(response => resolve(response))\n .catch(error => reject(error))\n })\n },\n createCheckoutPageSetting(ctx, { shopId, data }) {\n return new Promise((resolve, reject) => {\n axios\n .post(`/processing/shops/${shopId}/checkout-page-settings`, data, {\n headers: {\n 'Content-Type': 'multipart/form-data',\n },\n })\n .then(response => resolve(response))\n .catch(error => reject(error))\n })\n },\n updateCheckoutPageSetting(ctx, { shopId, data }) {\n return new Promise((resolve, reject) => {\n axios\n .put(`/processing/shops/${shopId}/checkout-page-settings`, data, {\n headers: {\n 'Content-Type': 'multipart/form-data',\n },\n })\n .then(response => resolve(response))\n .catch(error => reject(error))\n })\n },\n resetCheckoutPageSetting(ctx, shopId) {\n return new Promise((resolve, reject) => {\n axios\n .delete(`/processing/shops/${shopId}/checkout-page-settings`)\n .then(response => resolve(response))\n .catch(error => reject(error))\n })\n },\n },\n}\n","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../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!./ShopList.vue?vue&type=style&index=0&id=252fb37c&prod&lang=scss&\""],"sourceRoot":""}