Skip to content

Commit

Permalink
Improved: version of Dxp package to latest release(#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Feb 26, 2024
1 parent 27e0c1f commit 3c43784
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 86 deletions.
85 changes: 6 additions & 79 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@capacitor/ios": "^2.5.0",
"@hotwax/app-version-info": "^1.0.0",
"@hotwax/apps-theme": "^1.2.6",
"@hotwax/dxp-components": "^1.11.0",
"@hotwax/dxp-components": "^1.12.0",
"@hotwax/oms-api": "^1.10.0",
"@ionic/core": "~7.6.0",
"@ionic/vue": "~7.6.0",
Expand Down
6 changes: 3 additions & 3 deletions src/components/Picklist-detail-item.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<ion-item :id="picklistItem.id" :class="picklistItem.id === lastScannedId ? 'scanned-item' : '' " :key="picklistItem.id" v-for="picklistItem in picklistItems" @click="picklistItem.isChecked = !picklistItem.isChecked" lines="none" >
<ion-thumbnail slot="start">
<ShopifyImg :src="getProduct(picklistItem.productId).mainImageUrl" size="small" />
<DxpShopifyImg :src="getProduct(picklistItem.productId).mainImageUrl" size="small" />
</ion-thumbnail>
<ion-checkbox v-if="picklistItem.statusId !== 'PICKLIST_COMPLETED' && picklistItem.statusId !== 'PICKLIST_PICKED'" :modelValue="picklistItem.isChecked">
<ion-label>
Expand All @@ -19,7 +19,7 @@
import { IonCheckbox, IonItem, IonLabel, IonThumbnail } from '@ionic/vue';
import { computed, defineComponent } from 'vue';
import { mapGetters, useStore } from 'vuex';
import { getProductIdentificationValue, ShopifyImg, useProductIdentificationStore } from '@hotwax/dxp-components';
import { getProductIdentificationValue, DxpShopifyImg, useProductIdentificationStore } from '@hotwax/dxp-components';
export default defineComponent({
name: 'PicklistDetailItem',
Expand All @@ -28,7 +28,7 @@ export default defineComponent({
IonItem,
IonLabel,
IonThumbnail,
ShopifyImg
DxpShopifyImg
},
props: ['picklistItems', 'lastScannedId'],
computed: {
Expand Down
4 changes: 3 additions & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,15 @@
"Picklists": "Picklists",
"Please allow camera access in your settings": "Please allow camera access in your settings",
"product barcode": "product barcode",
"Primary": "Primary",
"Product name": "Product name",
"Product not found": "Product not found",
"Product not found in remaining items": "Product not found in remaining items",
"Reason:": "Reason:",
"Scan": "Scan",
"Select all" : "Select all",
"Search time zones": "Search time zones",
"Secondary": "Secondary",
"Select all" : "Select all",
"Select time zone": "Select time zone",
"Select facility": "Select facility",
"Settings": "Settings",
Expand Down
4 changes: 2 additions & 2 deletions src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<h1>{{ $t('OMS') }}</h1>
</div>
<section>
<OmsInstanceNavigator />
<DxpOmsInstanceNavigator />

<ion-card>
<ion-card-header>
Expand All @@ -60,7 +60,7 @@
<p class="overline">{{ "Built: " + getDateTime(appInfo.builtTime) }}</p>
</div>
<section>
<ProductIdentifier />
<DxpProductIdentifier />

<ion-card>
<ion-card-header>
Expand Down

0 comments on commit 3c43784

Please sign in to comment.