From 1c36b02d9aa284e1e8415966ab603a2888a3fbde Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Mon, 8 Jan 2024 11:38:12 +0530 Subject: [PATCH 01/15] Improved: app to upgrade ionic to v7.6.0(#162) --- package-lock.json | 175 +++++++++++++++++++++++++++++++++------------- package.json | 6 +- 2 files changed, 131 insertions(+), 50 deletions(-) diff --git a/package-lock.json b/package-lock.json index 023ccd35..c6696264 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,9 +15,9 @@ "@hotwax/apps-theme": "^1.2.4", "@hotwax/dxp-components": "^1.11.0", "@hotwax/oms-api": "^1.11.0", - "@ionic/core": "^6.7.5", - "@ionic/vue": "^6.7.5", - "@ionic/vue-router": "^6.7.5", + "@ionic/core": "^7.6.0", + "@ionic/vue": "^7.6.0", + "@ionic/vue-router": "^7.6.0", "@types/file-saver": "^2.0.4", "@types/papaparse": "^5.3.1", "boon-js": "^2.0.3", @@ -2821,6 +2821,45 @@ "vue-i18n": "^9.2.2" } }, + "node_modules/@hotwax/dxp-components/node_modules/@ionic/core": { + "version": "6.7.5", + "resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.7.5.tgz", + "integrity": "sha512-zRkRn+h/Vs3xt/EVgBdShMKDyeGOM4RU31NPF2icfu3CUTH+VrMV569MUnNjYvd1Lu2xK90pYy4TaicSWmC1Pw==", + "dependencies": { + "@stencil/core": "^2.18.0", + "ionicons": "^6.1.3", + "tslib": "^2.1.0" + } + }, + "node_modules/@hotwax/dxp-components/node_modules/@ionic/vue": { + "version": "6.7.5", + "resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-6.7.5.tgz", + "integrity": "sha512-6JBEaHCT2vVUzYqyfBiEUN8Wo7FezxY5Y3n+HGqI61J4qVay+8IxZRTYeX+O72QglbYOkzvfjE6SgS25oS+S9A==", + "dependencies": { + "@ionic/core": "6.7.5", + "ionicons": "^6.1.3" + } + }, + "node_modules/@hotwax/dxp-components/node_modules/@stencil/core": { + "version": "2.22.3", + "resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.22.3.tgz", + "integrity": "sha512-kmVA0M/HojwsfkeHsifvHVIYe4l5tin7J5+DLgtl8h6WWfiMClND5K3ifCXXI2ETDNKiEk21p6jql3Fx9o2rng==", + "bin": { + "stencil": "bin/stencil" + }, + "engines": { + "node": ">=12.10.0", + "npm": ">=6.0.0" + } + }, + "node_modules/@hotwax/dxp-components/node_modules/ionicons": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-6.1.3.tgz", + "integrity": "sha512-ptzz38dd/Yq+PgjhXegh7yhb/SLIk1bvL9vQDtLv1aoSc7alO6mX2DIMgcKYzt9vrNWkRu1f9Jr78zIFFyOXqw==", + "dependencies": { + "@stencil/core": "^2.18.0" + } + }, "node_modules/@hotwax/dxp-components/node_modules/luxon": { "version": "3.4.4", "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.4.4.tgz", @@ -2829,6 +2868,11 @@ "node": ">=12" } }, + "node_modules/@hotwax/dxp-components/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, "node_modules/@hotwax/dxp-components/node_modules/vue-i18n": { "version": "9.8.0", "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-9.8.0.tgz", @@ -3056,12 +3100,12 @@ } }, "node_modules/@ionic/core": { - "version": "6.7.5", - "resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.7.5.tgz", - "integrity": "sha512-zRkRn+h/Vs3xt/EVgBdShMKDyeGOM4RU31NPF2icfu3CUTH+VrMV569MUnNjYvd1Lu2xK90pYy4TaicSWmC1Pw==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/@ionic/core/-/core-7.6.0.tgz", + "integrity": "sha512-pDX8G915puz8OcLhxfb9MwuvpYZsUOCngJdd+61ibJ6UF+NA2mGatsMqHKzcgelTXtwcHDpi9ZLUD/HNmupqaQ==", "dependencies": { - "@stencil/core": "^2.18.0", - "ionicons": "^6.1.3", + "@stencil/core": "^4.8.1", + "ionicons": "^7.2.1", "tslib": "^2.1.0" } }, @@ -3071,20 +3115,20 @@ "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/@ionic/vue": { - "version": "6.7.5", - "resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-6.7.5.tgz", - "integrity": "sha512-6JBEaHCT2vVUzYqyfBiEUN8Wo7FezxY5Y3n+HGqI61J4qVay+8IxZRTYeX+O72QglbYOkzvfjE6SgS25oS+S9A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-7.6.0.tgz", + "integrity": "sha512-2CWLcVNS8kLQ6BK4UmRdc7a0HSsS6MqyTQh7+0qT88z+Ih05dCcZ3CiJ27F3F2a7jsOi48ggXt97zOpBbZENlg==", "dependencies": { - "@ionic/core": "6.7.5", - "ionicons": "^6.1.3" + "@ionic/core": "7.6.0", + "ionicons": "^7.0.0" } }, "node_modules/@ionic/vue-router": { - "version": "6.7.5", - "resolved": "https://registry.npmjs.org/@ionic/vue-router/-/vue-router-6.7.5.tgz", - "integrity": "sha512-nupLaWFARdy5vOCNg2xw6YpecaR/hPEew+tWjUJE1INlwvB88o7Uct/R480vqFj3fB436W4O4ViJd4/g0ZBZ8A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/@ionic/vue-router/-/vue-router-7.6.0.tgz", + "integrity": "sha512-grzMyURlZX3EqkQFBXeKuhxN2psbNKAI8CVwPi56xRPwCvSp32KFYtGxj20k1QBl+Kzg7/RbxTERArxZRtPWJw==", "dependencies": { - "@ionic/vue": "6.7.5" + "@ionic/vue": "7.6.0" } }, "node_modules/@isaacs/cliui": { @@ -3576,15 +3620,15 @@ "dev": true }, "node_modules/@stencil/core": { - "version": "2.22.3", - "resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.22.3.tgz", - "integrity": "sha512-kmVA0M/HojwsfkeHsifvHVIYe4l5tin7J5+DLgtl8h6WWfiMClND5K3ifCXXI2ETDNKiEk21p6jql3Fx9o2rng==", + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.9.0.tgz", + "integrity": "sha512-aWSkhBmk3yPwRAkUwBbzRwmdhb8hKiQ/JMr9m5jthpBZLjtppYbzz6PN2MhSMDfRp6K93eQw5WogSEH4HHuB6w==", "bin": { "stencil": "bin/stencil" }, "engines": { - "node": ">=12.10.0", - "npm": ">=6.0.0" + "node": ">=16.0.0", + "npm": ">=7.10.0" } }, "node_modules/@surma/rollup-plugin-off-main-thread": { @@ -10667,11 +10711,11 @@ } }, "node_modules/ionicons": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-6.1.3.tgz", - "integrity": "sha512-ptzz38dd/Yq+PgjhXegh7yhb/SLIk1bvL9vQDtLv1aoSc7alO6mX2DIMgcKYzt9vrNWkRu1f9Jr78zIFFyOXqw==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-7.2.2.tgz", + "integrity": "sha512-I3iYIfc9Q9FRifWyFSwTAvbEABWlWY32i0sAVDDPGYnaIZVugkLCZFbEcrphW6ixVPg8tt1oLwalo/JJwbEqnA==", "dependencies": { - "@stencil/core": "^2.18.0" + "@stencil/core": "^4.0.3" } }, "node_modules/ipaddr.js": { @@ -20499,11 +20543,48 @@ "vue-i18n": "^9.2.2" }, "dependencies": { + "@ionic/core": { + "version": "6.7.5", + "resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.7.5.tgz", + "integrity": "sha512-zRkRn+h/Vs3xt/EVgBdShMKDyeGOM4RU31NPF2icfu3CUTH+VrMV569MUnNjYvd1Lu2xK90pYy4TaicSWmC1Pw==", + "requires": { + "@stencil/core": "^2.18.0", + "ionicons": "^6.1.3", + "tslib": "^2.1.0" + } + }, + "@ionic/vue": { + "version": "6.7.5", + "resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-6.7.5.tgz", + "integrity": "sha512-6JBEaHCT2vVUzYqyfBiEUN8Wo7FezxY5Y3n+HGqI61J4qVay+8IxZRTYeX+O72QglbYOkzvfjE6SgS25oS+S9A==", + "requires": { + "@ionic/core": "6.7.5", + "ionicons": "^6.1.3" + } + }, + "@stencil/core": { + "version": "2.22.3", + "resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.22.3.tgz", + "integrity": "sha512-kmVA0M/HojwsfkeHsifvHVIYe4l5tin7J5+DLgtl8h6WWfiMClND5K3ifCXXI2ETDNKiEk21p6jql3Fx9o2rng==" + }, + "ionicons": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-6.1.3.tgz", + "integrity": "sha512-ptzz38dd/Yq+PgjhXegh7yhb/SLIk1bvL9vQDtLv1aoSc7alO6mX2DIMgcKYzt9vrNWkRu1f9Jr78zIFFyOXqw==", + "requires": { + "@stencil/core": "^2.18.0" + } + }, "luxon": { "version": "3.4.4", "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.4.4.tgz", "integrity": "sha512-zobTr7akeGHnv7eBOXcRgMeCP6+uyYsczwmeRCauvpvaAltgNyTbLH/+VaEAPUeWBT+1GuNmz4wC/6jtQzbbVA==" }, + "tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, "vue-i18n": { "version": "9.8.0", "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-9.8.0.tgz", @@ -20670,12 +20751,12 @@ } }, "@ionic/core": { - "version": "6.7.5", - "resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.7.5.tgz", - "integrity": "sha512-zRkRn+h/Vs3xt/EVgBdShMKDyeGOM4RU31NPF2icfu3CUTH+VrMV569MUnNjYvd1Lu2xK90pYy4TaicSWmC1Pw==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/@ionic/core/-/core-7.6.0.tgz", + "integrity": "sha512-pDX8G915puz8OcLhxfb9MwuvpYZsUOCngJdd+61ibJ6UF+NA2mGatsMqHKzcgelTXtwcHDpi9ZLUD/HNmupqaQ==", "requires": { - "@stencil/core": "^2.18.0", - "ionicons": "^6.1.3", + "@stencil/core": "^4.8.1", + "ionicons": "^7.2.1", "tslib": "^2.1.0" }, "dependencies": { @@ -20687,20 +20768,20 @@ } }, "@ionic/vue": { - "version": "6.7.5", - "resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-6.7.5.tgz", - "integrity": "sha512-6JBEaHCT2vVUzYqyfBiEUN8Wo7FezxY5Y3n+HGqI61J4qVay+8IxZRTYeX+O72QglbYOkzvfjE6SgS25oS+S9A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-7.6.0.tgz", + "integrity": "sha512-2CWLcVNS8kLQ6BK4UmRdc7a0HSsS6MqyTQh7+0qT88z+Ih05dCcZ3CiJ27F3F2a7jsOi48ggXt97zOpBbZENlg==", "requires": { - "@ionic/core": "6.7.5", - "ionicons": "^6.1.3" + "@ionic/core": "7.6.0", + "ionicons": "^7.0.0" } }, "@ionic/vue-router": { - "version": "6.7.5", - "resolved": "https://registry.npmjs.org/@ionic/vue-router/-/vue-router-6.7.5.tgz", - "integrity": "sha512-nupLaWFARdy5vOCNg2xw6YpecaR/hPEew+tWjUJE1INlwvB88o7Uct/R480vqFj3fB436W4O4ViJd4/g0ZBZ8A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/@ionic/vue-router/-/vue-router-7.6.0.tgz", + "integrity": "sha512-grzMyURlZX3EqkQFBXeKuhxN2psbNKAI8CVwPi56xRPwCvSp32KFYtGxj20k1QBl+Kzg7/RbxTERArxZRtPWJw==", "requires": { - "@ionic/vue": "6.7.5" + "@ionic/vue": "7.6.0" } }, "@isaacs/cliui": { @@ -21091,9 +21172,9 @@ "dev": true }, "@stencil/core": { - "version": "2.22.3", - "resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.22.3.tgz", - "integrity": "sha512-kmVA0M/HojwsfkeHsifvHVIYe4l5tin7J5+DLgtl8h6WWfiMClND5K3ifCXXI2ETDNKiEk21p6jql3Fx9o2rng==" + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.9.0.tgz", + "integrity": "sha512-aWSkhBmk3yPwRAkUwBbzRwmdhb8hKiQ/JMr9m5jthpBZLjtppYbzz6PN2MhSMDfRp6K93eQw5WogSEH4HHuB6w==" }, "@surma/rollup-plugin-off-main-thread": { "version": "2.2.3", @@ -26464,11 +26545,11 @@ } }, "ionicons": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-6.1.3.tgz", - "integrity": "sha512-ptzz38dd/Yq+PgjhXegh7yhb/SLIk1bvL9vQDtLv1aoSc7alO6mX2DIMgcKYzt9vrNWkRu1f9Jr78zIFFyOXqw==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-7.2.2.tgz", + "integrity": "sha512-I3iYIfc9Q9FRifWyFSwTAvbEABWlWY32i0sAVDDPGYnaIZVugkLCZFbEcrphW6ixVPg8tt1oLwalo/JJwbEqnA==", "requires": { - "@stencil/core": "^2.18.0" + "@stencil/core": "^4.0.3" } }, "ipaddr.js": { diff --git a/package.json b/package.json index 7a5a5e79..db1ba05f 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,9 @@ "@hotwax/apps-theme": "^1.2.4", "@hotwax/dxp-components": "^1.11.0", "@hotwax/oms-api": "^1.11.0", - "@ionic/core": "^6.7.5", - "@ionic/vue": "^6.7.5", - "@ionic/vue-router": "^6.7.5", + "@ionic/core": "^7.6.0", + "@ionic/vue": "^7.6.0", + "@ionic/vue-router": "^7.6.0", "@types/file-saver": "^2.0.4", "@types/papaparse": "^5.3.1", "boon-js": "^2.0.3", From 0c227ec2d14127c8776527976711554f6d94ab68 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Mon, 8 Jan 2024 11:39:07 +0530 Subject: [PATCH 02/15] Improved: app theme version to latest(#162) --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index c6696264..6734852b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@capacitor/core": "^2.4.7", "@casl/ability": "^6.0.0", "@hotwax/app-version-info": "^1.0.0", - "@hotwax/apps-theme": "^1.2.4", + "@hotwax/apps-theme": "^1.2.6", "@hotwax/dxp-components": "^1.11.0", "@hotwax/oms-api": "^1.11.0", "@ionic/core": "^7.6.0", @@ -2798,9 +2798,9 @@ "integrity": "sha512-PnJTqTbFvvl9N23yi1DjL4aNmTkpYFrayyoJyfH1qDJXADFbQ9kB7gJmKcfiPpyYMGR86Yf3Is5ct0+wReUJGQ==" }, "node_modules/@hotwax/apps-theme": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/@hotwax/apps-theme/-/apps-theme-1.2.5.tgz", - "integrity": "sha512-3Vec4pGWJVs6vDbL/pO5hYqoF1zn2w8liXuleqDJ7waI2R5JuF2eaJmYcUQETnk/DZIg47bDdyOSxihQltB2Ow==" + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@hotwax/apps-theme/-/apps-theme-1.2.6.tgz", + "integrity": "sha512-zpUjGoY7LBlKeiP0V7tonrmoey8HQ5THQmyixQ+IDtrjmEJNBjynW/Ef3gC0FUNNPuVqxWPZdT5CVgaETLGTwg==" }, "node_modules/@hotwax/dxp-components": { "version": "1.11.0", @@ -20520,9 +20520,9 @@ "integrity": "sha512-PnJTqTbFvvl9N23yi1DjL4aNmTkpYFrayyoJyfH1qDJXADFbQ9kB7gJmKcfiPpyYMGR86Yf3Is5ct0+wReUJGQ==" }, "@hotwax/apps-theme": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/@hotwax/apps-theme/-/apps-theme-1.2.5.tgz", - "integrity": "sha512-3Vec4pGWJVs6vDbL/pO5hYqoF1zn2w8liXuleqDJ7waI2R5JuF2eaJmYcUQETnk/DZIg47bDdyOSxihQltB2Ow==" + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@hotwax/apps-theme/-/apps-theme-1.2.6.tgz", + "integrity": "sha512-zpUjGoY7LBlKeiP0V7tonrmoey8HQ5THQmyixQ+IDtrjmEJNBjynW/Ef3gC0FUNNPuVqxWPZdT5CVgaETLGTwg==" }, "@hotwax/dxp-components": { "version": "1.11.0", diff --git a/package.json b/package.json index db1ba05f..2df891f6 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@capacitor/core": "^2.4.7", "@casl/ability": "^6.0.0", "@hotwax/app-version-info": "^1.0.0", - "@hotwax/apps-theme": "^1.2.4", + "@hotwax/apps-theme": "^1.2.6", "@hotwax/dxp-components": "^1.11.0", "@hotwax/oms-api": "^1.11.0", "@ionic/core": "^7.6.0", From 17c843f3373c850db357cfdce07c7c07c4ba842c Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Mon, 8 Jan 2024 13:02:56 +0530 Subject: [PATCH 03/15] Improved: usage of ion-radio as per the changes in ionic7(#162) --- src/components/AddOperatingHoursModal.vue | 9 +++++---- src/components/TimezoneModal.vue | 5 +---- src/views/FacilityDetails.vue | 5 +++-- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/components/AddOperatingHoursModal.vue b/src/components/AddOperatingHoursModal.vue index 223a96c2..dd61201a 100644 --- a/src/components/AddOperatingHoursModal.vue +++ b/src/components/AddOperatingHoursModal.vue @@ -14,10 +14,11 @@ - - - {{ calendar.description ? calendar.description : calendar.calendarId }} - + + + {{ calendar.description ? calendar.description : calendar.calendarId }} + +
diff --git a/src/components/TimezoneModal.vue b/src/components/TimezoneModal.vue index 89156320..2ae99645 100644 --- a/src/components/TimezoneModal.vue +++ b/src/components/TimezoneModal.vue @@ -30,8 +30,7 @@ - {{ timeZone.label }} ({{ timeZone.id }}) - + {{ timeZone.label }} ({{ timeZone.id }}) @@ -57,7 +56,6 @@ import { IonHeader, IonItem, IonIcon, - IonLabel, IonList, IonRadioGroup, IonRadio, @@ -87,7 +85,6 @@ export default defineComponent({ IonHeader, IonIcon, IonItem, - IonLabel, IonList, IonRadioGroup, IonRadio, diff --git a/src/views/FacilityDetails.vue b/src/views/FacilityDetails.vue index 122bac91..14139021 100644 --- a/src/views/FacilityDetails.vue +++ b/src/views/FacilityDetails.vue @@ -117,8 +117,9 @@ - {{ calendar.description ? calendar.description : calendar.calendarId }} - + +
{{ calendar.description ? calendar.description : calendar.calendarId }} {{ 'TEST CALENDAR THIS' }}
+
From 34c51ece963b8888d154391b8a05e00478a93626 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Mon, 8 Jan 2024 19:34:09 +0530 Subject: [PATCH 04/15] Improved: usage of different components on facility details page and related components(#162) --- src/components/AddFacilityGroupModal.vue | 5 +-- src/components/AddLocationModal.vue | 26 ++++++++------- src/components/AddStaffMemberModal.vue | 8 ++--- src/components/CreateFacilityLoginModal.vue | 33 +++++++++---------- src/components/CustomScheduleModal.vue | 13 ++++---- src/components/FacilityAddressModal.vue | 22 ++++++------- src/components/FacilityExternalIdModal.vue | 3 +- src/components/FacilityFilters.vue | 8 ++--- src/components/FacilityGeoPointModal.vue | 12 +++---- src/components/FacilityMappingModal.vue | 3 +- .../FacilityShopifyMappingModal.vue | 7 ++-- src/components/SelectProductStoreModal.vue | 11 ++++--- src/theme/variables.css | 4 +++ src/views/FacilityDetails.vue | 27 ++++----------- src/views/FindFacilities.vue | 9 ++--- 15 files changed, 82 insertions(+), 109 deletions(-) diff --git a/src/components/AddFacilityGroupModal.vue b/src/components/AddFacilityGroupModal.vue index 25fecc16..c6a36e85 100644 --- a/src/components/AddFacilityGroupModal.vue +++ b/src/components/AddFacilityGroupModal.vue @@ -18,8 +18,7 @@ {{ getFacilityGroupTypeDesc(typeId) }} - {{ group.facilityGroupName }} - + {{ group.facilityGroupName }}
@@ -45,7 +44,6 @@ import { IonItem, IonItemDivider, IonItemGroup, - IonLabel, IonList, IonSearchbar, IonTitle, @@ -77,7 +75,6 @@ export default defineComponent({ IonItem, IonItemDivider, IonItemGroup, - IonLabel, IonList, IonSearchbar, IonTitle, diff --git a/src/components/AddLocationModal.vue b/src/components/AddLocationModal.vue index 49ef5264..bf63a57a 100644 --- a/src/components/AddLocationModal.vue +++ b/src/components/AddLocationModal.vue @@ -15,30 +15,32 @@ - {{ translate("Type") }} - + {{ description }} - {{ translate("Area") }} * - + + {{ translate("Area") }} * + - {{ translate("Aisle") }} * - + + {{ translate("Aisle") }} * + - {{ translate("Section") }} * - + + {{ translate("Section") }} * + - {{ translate("Level") }} * - + + {{ translate("Level") }} * + - {{ translate("Sequence") }} - + diff --git a/src/components/AddStaffMemberModal.vue b/src/components/AddStaffMemberModal.vue index fe694dd9..f2a28a4e 100644 --- a/src/components/AddStaffMemberModal.vue +++ b/src/components/AddStaffMemberModal.vue @@ -19,11 +19,11 @@ {{ translate("Staff") }} - - {{ party.fullName }} -

{{ party.partyId }}

-
+ + {{ party.fullName }} +

{{ party.partyId }}

+
{{ description }}
diff --git a/src/components/CreateFacilityLoginModal.vue b/src/components/CreateFacilityLoginModal.vue index f9cd024f..41c86caf 100644 --- a/src/components/CreateFacilityLoginModal.vue +++ b/src/components/CreateFacilityLoginModal.vue @@ -13,24 +13,25 @@ - - {{ translate('Username') }} * - - + + + {{ translate('Username') }} * + + - - - {{ translate('Password') }} * - - - - {{ translate('Password should be at least 5 characters long, it contains at least one number, one alphabet and one special character.') }} - + + + + {{ translate('Password') }} * + + - {{ translate('Reset password email') }} * - + + {{ translate('Reset password email') }} + * + + @@ -55,7 +56,6 @@ import { IonItem, IonLabel, IonList, - IonNote, IonTitle, IonToolbar, modalController @@ -89,7 +89,6 @@ export default defineComponent({ IonItem, IonLabel, IonList, - IonNote, IonTitle, IonToolbar, }, diff --git a/src/components/CustomScheduleModal.vue b/src/components/CustomScheduleModal.vue index 655351fe..18a3360f 100644 --- a/src/components/CustomScheduleModal.vue +++ b/src/components/CustomScheduleModal.vue @@ -12,14 +12,12 @@ - - {{ translate("Name") }} * - - + + {{ translate("Name") }} * + - {{ translate("Daily timings") }} - + {{ translate("Daily timings") }} @@ -62,7 +60,7 @@ show-default-buttons hour-cycle="h12" presentation="time" - :value="selectedTimesForWeek[selectedDayTime] ? selectedTimesForWeek[selectedDayTime] : ''" + :value="selectedTimesForWeek[selectedDayTime] ? selectedTimesForWeek[selectedDayTime] : DateTime.now().toUTC().toISO()" @ionChange="updateTime($event)" /> @@ -268,6 +266,7 @@ export default defineComponent({ return { closeCircle, closeOutline, + DateTime, saveOutline, store, translate diff --git a/src/components/FacilityAddressModal.vue b/src/components/FacilityAddressModal.vue index c1b202b2..c86671bb 100644 --- a/src/components/FacilityAddressModal.vue +++ b/src/components/FacilityAddressModal.vue @@ -13,32 +13,30 @@
- {{ translate("Address line 1") }} * - + + {{ translate("Address line 1") }} * + - {{ translate("Address line 2") }} - + - {{ translate("City") }} * - + + {{ translate("City") }} * + - {{ translate("Country") }} - + {{ country.geoName }} - {{ translate("State") }} - + {{ state.geoName }} - {{ translate("Zipcode") }} - +
diff --git a/src/components/FacilityExternalIdModal.vue b/src/components/FacilityExternalIdModal.vue index e7924fc8..90e483a8 100644 --- a/src/components/FacilityExternalIdModal.vue +++ b/src/components/FacilityExternalIdModal.vue @@ -27,8 +27,7 @@ {{ translate('Facility External ID') }} - {{ translate("Identification") }} - + diff --git a/src/components/FacilityFilters.vue b/src/components/FacilityFilters.vue index 716885dd..ea1a2057 100644 --- a/src/components/FacilityFilters.vue +++ b/src/components/FacilityFilters.vue @@ -10,16 +10,14 @@ - {{ translate("Product Store") }} - + {{ translate("All") }} {{ productStore.storeName }} - {{ translate("Type") }} - + {{ translate("All") }} {{ type.description }} @@ -37,7 +35,6 @@ import { IonHeader, IonIcon, IonItem, - IonLabel, IonList, IonMenu, IonTitle, @@ -58,7 +55,6 @@ export default defineComponent({ IonHeader, IonIcon, IonItem, - IonLabel, IonList, IonMenu, IonTitle, diff --git a/src/components/FacilityGeoPointModal.vue b/src/components/FacilityGeoPointModal.vue index 9c5306d2..da348f09 100644 --- a/src/components/FacilityGeoPointModal.vue +++ b/src/components/FacilityGeoPointModal.vue @@ -13,20 +13,18 @@
- - + + {{ translate("Generate") }} - {{ translate("Latitude") }} - + - {{ translate("Longitude") }} - +
@@ -49,7 +47,6 @@ import { IonIcon, IonInput, IonItem, - IonLabel, IonSpinner, IonTitle, IonToolbar, @@ -78,7 +75,6 @@ export default defineComponent({ IonIcon, IonInput, IonItem, - IonLabel, IonSpinner, IonTitle, IonToolbar, diff --git a/src/components/FacilityMappingModal.vue b/src/components/FacilityMappingModal.vue index 4def00cc..f2e96cb0 100644 --- a/src/components/FacilityMappingModal.vue +++ b/src/components/FacilityMappingModal.vue @@ -27,8 +27,7 @@ {{ externalMappingTypes[mappingId] }} - {{ translate("Identification") }} - + diff --git a/src/components/FacilityShopifyMappingModal.vue b/src/components/FacilityShopifyMappingModal.vue index 0e38b3f9..43b87142 100644 --- a/src/components/FacilityShopifyMappingModal.vue +++ b/src/components/FacilityShopifyMappingModal.vue @@ -27,17 +27,16 @@ {{ translate('Shopify location') }} - {{ translate("Shopify store") }} + {{ translate("Shopify store") }} {{ shopifyFacilityMapping.shopId }} - + {{ shop.name ? shop.name : shop.shopId }} - {{ translate("Location ID") }} - + diff --git a/src/components/SelectProductStoreModal.vue b/src/components/SelectProductStoreModal.vue index a2db2a5f..f0061d56 100644 --- a/src/components/SelectProductStoreModal.vue +++ b/src/components/SelectProductStoreModal.vue @@ -13,11 +13,12 @@ - - {{ productStore.storeName }} -

{{ productStore.productStoreId }}

-
- + + + {{ productStore.storeName }} +

{{ productStore.productStoreId }}

+
+
diff --git a/src/theme/variables.css b/src/theme/variables.css index 0a246529..cc739260 100644 --- a/src/theme/variables.css +++ b/src/theme/variables.css @@ -356,6 +356,10 @@ hr { justify-self: start } +ion-item > ion-label:not([slot="end"]) { + width: unset; +} + @media (min-width: 700px) { .list-item { --col-calc: var(--columns-tablet); diff --git a/src/views/FacilityDetails.vue b/src/views/FacilityDetails.vue index 14139021..dae6c808 100644 --- a/src/views/FacilityDetails.vue +++ b/src/views/FacilityDetails.vue @@ -21,8 +21,7 @@
- {{ translate('Facility Type') }} - + {{ translate('Physical Store') }} {{ translate('Distribution Center') }} @@ -30,8 +29,7 @@ - {{ translate('Facility SubType') }} - + {{ type.description ? type.description : facilityTypeId }} @@ -192,20 +190,16 @@ - {{ translate("Allow pickup") }} - + {{ translate("Allow pickup") }} - {{ translate("Uses native fulfillment app") }} - + {{ translate("Uses native fulfillment app") }} - {{ translate("Generate shipping labels") }} - + {{ translate("Generate shipping labels") }} - {{ translate("Days to ship") }} - + {{ translate("Update days to ship") }} @@ -221,8 +215,7 @@ {{ translate("Select which channels this facility publishes inventory too.") }} - {{ inventoryGroup?.facilityGroupName }} - + {{ inventoryGroup?.facilityGroupName }} @@ -1260,12 +1253,6 @@ export default defineComponent({ this.facilityTypeId = this.facilityTypeIdOptions['RETAIL_STORE'] ? 'RETAIL_STORE' : this.facilityTypeIdOptions['WAREHOUSE'] ? 'WAREHOUSE' : Object.keys(this.facilityTypeIdOptions)[0] }, async updateFacilityType() { - // Not updating facility when current selected type and facilityType are same, as the value of facilityTypeId - // gets changed programatically on initial load and thus calls this method hence this check is required - if(this.current.facilityTypeId === this.facilityTypeId) { - return; - } - try { const resp = await FacilityService.updateFacility({ facilityId: this.facilityId, diff --git a/src/views/FindFacilities.vue b/src/views/FindFacilities.vue index ff470161..6525cc6f 100644 --- a/src/views/FindFacilities.vue +++ b/src/views/FindFacilities.vue @@ -24,16 +24,14 @@ - {{ translate("Product Store") }} - + {{ translate("All") }} {{ productStore.storeName }} - {{ translate("Type") }} - + {{ translate("All") }} {{ type.description }} @@ -42,8 +40,7 @@ - {{ translate("Group") }} - + {{ translate("All") }} {{ group.facilityGroupName }} From c29a4c883dd00a7c39539e6147091177d977a1d9 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Mon, 8 Jan 2024 19:36:36 +0530 Subject: [PATCH 05/15] Updated: styling for card-header to change the direction to row(#162) --- src/views/FacilityDetails.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/FacilityDetails.vue b/src/views/FacilityDetails.vue index dae6c808..79241804 100644 --- a/src/views/FacilityDetails.vue +++ b/src/views/FacilityDetails.vue @@ -1339,6 +1339,7 @@ ion-modal.date-time-modal { ion-card-header { display: flex; + flex-direction: row; justify-content: space-between; align-items: center; } From 73b6866b7c591082ed8d9e5783a3cc4724861f3f Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Tue, 9 Jan 2024 10:19:15 +0530 Subject: [PATCH 06/15] Fixed: usage of components on find groups page(#162) --- src/views/FindGroups.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/views/FindGroups.vue b/src/views/FindGroups.vue index b0f7a48b..af3a2c73 100644 --- a/src/views/FindGroups.vue +++ b/src/views/FindGroups.vue @@ -16,10 +16,7 @@ {{ translate('System groups') }} - - {{ groupType.description ? groupType.description : groupType.facilityGroupTypeId }} - - + {{ group.facilityGroupName ? group.facilityGroupName : group.facilityGroupId }} @@ -41,7 +38,7 @@ - + {{ translate('Facilities') }} {{ group.facilityCount }} From 4e5a76cfe38c52b6ca2509beeea17327e6281e61 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Tue, 9 Jan 2024 11:11:34 +0530 Subject: [PATCH 07/15] Fixed: usage of components in create group modal(#162) --- src/components/CreateFacilityGroupModal.vue | 29 +++++++-------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/src/components/CreateFacilityGroupModal.vue b/src/components/CreateFacilityGroupModal.vue index c66b103a..a0cac670 100644 --- a/src/components/CreateFacilityGroupModal.vue +++ b/src/components/CreateFacilityGroupModal.vue @@ -14,33 +14,24 @@
- - {{ translate("Name") }} * - - + + + {{ translate("Name") }} * + + - - - {{ translate("Internal ID") }} - - - - {{ translate('Internal ID cannot be more than 20 characters.') }} - + + - {{ translate("System group type") }} - + {{ facilityGroupType.description ? facilityGroupType.description : facilityGroupType.facilityGroupTypeId }} - - {{ translate("Description") }} - - + @@ -66,7 +57,6 @@ import { IonItem, IonLabel, IonList, - IonNote, IonSelect, IonSelectOption, IonText, @@ -97,7 +87,6 @@ export default defineComponent({ IonItem, IonLabel, IonList, - IonNote, IonSelect, IonSelectOption, IonText, From 7829cfb32ea7f0bb60d78e4ab1eb00f5716bb898 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Wed, 10 Jan 2024 10:30:19 +0530 Subject: [PATCH 08/15] Improved: usage of components on parking page(#162) --- src/components/CreateFacilityGroupModal.vue | 2 +- src/components/CreateVirtualFacilityModal.vue | 26 ++++++------------- src/views/FacilityDetails.vue | 2 +- src/views/Parking.vue | 5 ++-- 4 files changed, 12 insertions(+), 23 deletions(-) diff --git a/src/components/CreateFacilityGroupModal.vue b/src/components/CreateFacilityGroupModal.vue index a0cac670..d29e5f3e 100644 --- a/src/components/CreateFacilityGroupModal.vue +++ b/src/components/CreateFacilityGroupModal.vue @@ -21,7 +21,7 @@ - + diff --git a/src/components/CreateVirtualFacilityModal.vue b/src/components/CreateVirtualFacilityModal.vue index a278713c..4aa003f6 100644 --- a/src/components/CreateVirtualFacilityModal.vue +++ b/src/components/CreateVirtualFacilityModal.vue @@ -14,25 +14,17 @@ - - {{ translate("Name") }} * - - + + + {{ translate("Name") }} * + + - - - {{ translate("Internal ID") }} - - - - {{ translate('Internal ID cannot be more than 20 characters.') }} - + + - - {{ translate("Description") }} - - + @@ -58,7 +50,6 @@ import { IonItem, IonLabel, IonList, - IonNote, IonText, IonTitle, IonToolbar, @@ -87,7 +78,6 @@ export default defineComponent({ IonItem, IonLabel, IonList, - IonNote, IonText, IonTitle, IonToolbar diff --git a/src/views/FacilityDetails.vue b/src/views/FacilityDetails.vue index 79241804..08cae3f5 100644 --- a/src/views/FacilityDetails.vue +++ b/src/views/FacilityDetails.vue @@ -116,7 +116,7 @@ -
{{ calendar.description ? calendar.description : calendar.calendarId }} {{ 'TEST CALENDAR THIS' }}
+
{{ calendar.description ? calendar.description : calendar.calendarId }}
diff --git a/src/views/Parking.vue b/src/views/Parking.vue index a39c0b6e..7fade418 100644 --- a/src/views/Parking.vue +++ b/src/views/Parking.vue @@ -20,7 +20,7 @@

{{ facility.facilityName }}

{{ facility.facilityId }}

- +
@@ -39,8 +39,7 @@ {{ facility.orderCount }} - {{ translate('Auto release') }} - + {{ translate('Auto release') }} {{ facility.description }} From 389134f63fb02726f3298915767ccf47c047b6f3 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Wed, 10 Jan 2024 14:51:33 +0530 Subject: [PATCH 09/15] Fixed: component usage in facility create flow(#162) --- src/views/AddFacilityAddress.vue | 50 +++++++++++--------------------- src/views/AddFacilityConfig.vue | 47 ++++++++++++++---------------- src/views/CreateFacility.vue | 37 +++++++++++------------ 3 files changed, 56 insertions(+), 78 deletions(-) diff --git a/src/views/AddFacilityAddress.vue b/src/views/AddFacilityAddress.vue index 8508e095..48db52a4 100644 --- a/src/views/AddFacilityAddress.vue +++ b/src/views/AddFacilityAddress.vue @@ -14,44 +14,34 @@ - - {{ translate('Address line 1') }} * - - + + + {{ translate('Address line 1') }} * + + - - {{ translate('Address line 2') }} - - + - - {{ translate('City') }} * - - + + + {{ translate('City') }} * + + - - {{ translate('Zipcode') }} - - + - - {{ translate('Country') }} - - + {{ country.geoName }} - - {{ translate('State') }} - - + {{ state.geoName }} @@ -66,23 +56,17 @@ - + {{ translate('Generate') }} - - {{ translate('Latitude') }} - - + - - {{ translate('Longitude') }} - - + diff --git a/src/views/AddFacilityConfig.vue b/src/views/AddFacilityConfig.vue index 82e8d1d1..cfd05d42 100644 --- a/src/views/AddFacilityConfig.vue +++ b/src/views/AddFacilityConfig.vue @@ -64,42 +64,40 @@ - {{ translate("Sell Inventory Online") }} - + {{ translate("Sell Inventory Online") }} - {{ translate("Allow pickup") }} - + {{ translate("Allow pickup") }} - {{ translate("Uses native fulfillment app") }} - + {{ translate("Uses native fulfillment app") }} @@ -136,7 +134,6 @@ import { IonLabel, IonList, IonListHeader, - IonNote, IonPage, IonPopover, IonText, @@ -182,7 +179,6 @@ export default defineComponent({ IonLabel, IonList, IonListHeader, - IonNote, IonPage, IonPopover, IonText, @@ -435,6 +431,7 @@ export default defineComponent({