Skip to content

Commit

Permalink
Merge pull request #9 from amansinghbais/facilities/#4
Browse files Browse the repository at this point in the history
Implemented: Segment UI for facility details page (#4)
  • Loading branch information
ymaheshwari1 authored Nov 17, 2023
2 parents be4090c + b8d2a72 commit dfc58d8
Show file tree
Hide file tree
Showing 11 changed files with 935 additions and 137 deletions.
174 changes: 128 additions & 46 deletions package-lock.json

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

53 changes: 53 additions & 0 deletions src/components/AddExternalMappingPopover.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<template>
<ion-content>
<ion-list>
<ion-list-header>{{ translate("Choose system") }}</ion-list-header>
<ion-item button>
{{ translate("Shopify") }}
</ion-item>
<ion-item button>
{{ translate("Netsuite") }}
</ion-item>
<ion-item button lines="none" @click="openCustomMappingModal">
{{ translate("Custom") }}
</ion-item>
</ion-list>
</ion-content>
</template>

<script lang="ts">
import {
IonContent,
IonItem,
IonList,
IonListHeader,
modalController
} from "@ionic/vue";
import { defineComponent } from "vue";
import { translate } from "@hotwax/dxp-components";
import CustomMappingModal from "./CustomMappingModal.vue";
export default defineComponent({
name: "AddExternalMappingPopover",
components: {
IonContent,
IonItem,
IonList,
IonListHeader
},
methods: {
async openCustomMappingModal() {
const customMappingModal = await modalController.create({
component: CustomMappingModal
})
customMappingModal.present()
}
},
setup() {
return {
translate
};
}
});
</script>
Loading

0 comments on commit dfc58d8

Please sign in to comment.