Skip to content

Commit

Permalink
Merge pull request #247 from ymaheshwari1/remove_scanner_comp
Browse files Browse the repository at this point in the history
Removed: scanner component and vue-barcode-reader package
  • Loading branch information
ymaheshwari1 authored Jan 9, 2024
2 parents 3e7e1da + 5cdf5fd commit f768fd1
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 183 deletions.
135 changes: 0 additions & 135 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@
"@hotwax/oms-api": "^1.8.1",
"@ionic/core": "^7.6.0",
"@ionic/vue": "^7.6.0",
"@types/vue-barcode-reader": "^0.0.0",
"firebase": "^10.3.1",
"luxon": "^3.3.0",
"pinia": "2.0.36",
"pinia-plugin-persistedstate": "^3.1.0",
"register-service-worker": "^1.7.2",
"vue": "^3.3.4",
"vue-barcode-reader": "^1.0.3",
"vue-i18n": "^9.2.2"
},
"devDependencies": {
Expand Down
42 changes: 0 additions & 42 deletions src/components/Scanner.vue

This file was deleted.

1 change: 0 additions & 1 deletion src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ export { default as DxpMenuFooterNavigation } from './DxpMenuFooterNavigation.vu
export { default as DxpLogin } from './DxpLogin.vue';
export { default as OmsInstanceNavigator } from './OmsInstanceNavigator.vue'
export { default as ProductIdentifier } from "./ProductIdentifier.vue";
export { default as Scanner } from './Scanner.vue';
export { default as ShopifyImg } from './ShopifyImg.vue';
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ declare var process: any;
import { createPinia } from "pinia";
import { useProductIdentificationStore } from "./store/productIdentification";
import { useAuthStore } from "./store/auth";
import { DxpAppVersionInfo, DxpImage, DxpLogin, DxpUserProfile, LanguageSwitcher, DxpMenuFooterNavigation, OmsInstanceNavigator, ProductIdentifier, Scanner, ShopifyImg } from "./components";
import { DxpAppVersionInfo, DxpImage, DxpLogin, DxpUserProfile, LanguageSwitcher, DxpMenuFooterNavigation, OmsInstanceNavigator, ProductIdentifier, ShopifyImg } from "./components";
import { goToOms, getProductIdentificationValue } from "./utils";
import { initialiseFirebaseApp } from "./utils/firebase"
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
Expand Down Expand Up @@ -69,7 +69,6 @@ export let dxpComponents = {
app.component('DxpLogin', DxpLogin)
app.component('OmsInstanceNavigator', OmsInstanceNavigator)
app.component('ProductIdentifier', ProductIdentifier)
app.component('Scanner', Scanner)
app.component('ShopifyImg', ShopifyImg)

showToast = options.showToast
Expand Down Expand Up @@ -123,7 +122,6 @@ export {
translate,
useAuthStore,
useProductIdentificationStore,
Scanner,
useUserStore,
userContext
}

0 comments on commit f768fd1

Please sign in to comment.