-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #225 from kialj876/platform-web-form-updates-6
platform dashboard
- Loading branch information
Showing
21 changed files
with
457 additions
and
214 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
9 changes: 7 additions & 2 deletions
9
strr-platform-web/app/components/connect/DashboardSection.vue
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<script setup lang="ts"> | ||
defineProps<{ text: string }>() | ||
defineProps<{ text: string, customClass?: string }>() | ||
</script> | ||
<template> | ||
<h1 class="text-xl font-bold" data-testid="h1"> | ||
<h1 :class="customClass || 'text-[2rem] font-bold'" data-testid="h1"> | ||
{{ text }} | ||
</h1> | ||
</template> |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<script setup lang="ts"> | ||
defineProps<{ text: string }>() | ||
defineProps<{ text: string, customClass?: string }>() | ||
</script> | ||
<template> | ||
<h2 :class="`font-bold text-lg`" data-testid="h2"> | ||
<h2 :class="customClass || 'text-[1.5rem] font-bold'" data-testid="h2"> | ||
{{ text }} | ||
</h2> | ||
</template> |
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,10 @@ | ||
<template> | ||
<div class="flex flex-col p-5 *:text-center"> | ||
<p class="font-bold"> | ||
{{ $t('text.nothingTodo') }} | ||
</p> | ||
<p class="text-sm"> | ||
{{ $t('text.filingsWillAppear') }} | ||
</p> | ||
</div> | ||
</template> |
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,37 @@ | ||
<script setup lang="ts"> | ||
defineProps<{ | ||
title: string, | ||
subtitle?: string, | ||
button: { | ||
label: string, | ||
action: Function, | ||
colour?: string, | ||
icon?: string | ||
} | ||
}>() | ||
</script> | ||
<template> | ||
<div class="p-5"> | ||
<div class="flex"> | ||
<div class="grow space-y-2"> | ||
<slot name="title"> | ||
<h3 class="text-lg font-bold"> | ||
{{ title }} | ||
</h3> | ||
</slot> | ||
<slot name="subtitle"> | ||
<p v-if="subtitle"> | ||
{{ subtitle }} | ||
</p> | ||
</slot> | ||
</div> | ||
<UButton | ||
:label="button.label" | ||
:color="button.colour || 'primary'" | ||
:icon="button.icon" | ||
@click="button.action()" | ||
/> | ||
</div> | ||
<slot /> | ||
</div> | ||
</template> |
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,13 @@ | ||
export enum ApplicationStatus { | ||
ADDITIONAL_INFO_REQUESTED = 'ADDITIONAL_INFO_REQUESTED', | ||
AUTO_APPROVED = 'AUTO_APPROVED', | ||
DECLINED = 'DECLINED', | ||
DRAFT = 'DRAFT', | ||
FULL_REVIEW = 'FULL_REVIEW', | ||
FULL_REVIEW_APPROVED = 'FULL_REVIEW_APPROVED', | ||
PAID = 'PAID', | ||
PAYMENT_DUE = 'PAYMENT_DUE', | ||
PROVISIONAL = 'PROVISIONAL', | ||
PROVISIONAL_REVIEW = 'PROVISIONAL_REVIEW', | ||
PROVISIONALLY_APPROVED = 'PROVISIONALLY_APPROVED' | ||
} |
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,12 @@ | ||
export interface ConnectDetailHeaderSideDetail { | ||
label: string | ||
value: string | ||
edit?: { | ||
isEditing: boolean, | ||
validation?: { | ||
error: string | ||
validate: (val: string) => string | ||
} | ||
action: Function | ||
} | ||
} |
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,12 @@ | ||
export interface TodoButton { | ||
label: string | ||
action: Function | ||
colour?: string | ||
icon?: string | ||
} | ||
|
||
export interface Todo { | ||
title: string | ||
button: TodoButton | ||
subtitle?: string | ||
} |
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
Oops, something went wrong.