-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Patrick Wang
authored and
Patrick Wang
committed
Jun 18, 2024
1 parent
584f011
commit 252d565
Showing
9 changed files
with
86 additions
and
20 deletions.
There are no files selected for viewing
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
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,38 @@ | ||
<template> | ||
<BcrosAddressAccordion | ||
:name="name" | ||
:items="directors" | ||
/> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
defineProps({ | ||
name: { type: String, required: true } | ||
}) | ||
// TO-DO: this are just some placeholder data. Update it in ticket #21300 | ||
const directors = computed(() => { | ||
return [ | ||
{ | ||
label: 'SOME TEST NAME', | ||
defaultOpen: false, | ||
address: { | ||
deliveryAddress: {}, | ||
mailingAddress: {} | ||
}, | ||
showAddressIcons: false, | ||
showAvatar: true | ||
}, | ||
{ | ||
label: 'ANOTHER NAME', | ||
defaultOpen: false, | ||
address: { | ||
deliveryAddress: {}, | ||
mailingAddress: {} | ||
}, | ||
showAddressIcons: false, | ||
showAvatar: true | ||
} | ||
] | ||
}) | ||
</script> |
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
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
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
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
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
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
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,7 @@ | ||
import { createI18n } from 'vue-i18n' | ||
import en from '~/lang/en.json' | ||
|
||
export const mockedI18n = createI18n({ | ||
locale: 'en', | ||
messages: en | ||
}) |