-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Implemented: Segment UI for facility details page (#4)
- Loading branch information
Showing
11 changed files
with
935 additions
and
137 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.