@eeplatform/nuxt-layer-common 1.7.36 → 1.7.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/components/EnrollmentPreview.vue +43 -40
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @eeplatform/nuxt-layer-common
|
|
2
2
|
|
|
3
|
+
## 1.7.38
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ddb3d8b: Fix enrollment preview action
|
|
8
|
+
|
|
9
|
+
## 1.7.37
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- d35d59f: Fix enrollment application preview component
|
|
14
|
+
|
|
3
15
|
## 1.7.36
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -541,10 +541,7 @@
|
|
|
541
541
|
|
|
542
542
|
<v-toolbar class="pa-0" density="compact">
|
|
543
543
|
<v-row no-gutters>
|
|
544
|
-
<v-col
|
|
545
|
-
:cols="localProps.application?.status === 'pending' ? '6' : '12'"
|
|
546
|
-
class="pa-0"
|
|
547
|
-
>
|
|
544
|
+
<v-col :cols="localProps.noAction ? '12' : '6'" class="pa-0">
|
|
548
545
|
<v-btn
|
|
549
546
|
block
|
|
550
547
|
variant="text"
|
|
@@ -557,42 +554,44 @@
|
|
|
557
554
|
</v-btn>
|
|
558
555
|
</v-col>
|
|
559
556
|
|
|
560
|
-
<
|
|
561
|
-
v-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
<
|
|
567
|
-
<
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
<v-list
|
|
583
|
-
<v-list-item
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
<v-list-item
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
557
|
+
<slot name="action">
|
|
558
|
+
<v-col
|
|
559
|
+
v-if="localProps.application?.status === 'pending'"
|
|
560
|
+
cols="6"
|
|
561
|
+
class="pa-0"
|
|
562
|
+
>
|
|
563
|
+
<v-menu>
|
|
564
|
+
<template #activator="{ props }">
|
|
565
|
+
<v-btn
|
|
566
|
+
block
|
|
567
|
+
variant="flat"
|
|
568
|
+
color="black"
|
|
569
|
+
class="text-none"
|
|
570
|
+
size="large"
|
|
571
|
+
height="48"
|
|
572
|
+
v-bind="props"
|
|
573
|
+
tile
|
|
574
|
+
>
|
|
575
|
+
More actions
|
|
576
|
+
</v-btn>
|
|
577
|
+
</template>
|
|
578
|
+
|
|
579
|
+
<v-list class="pa-0">
|
|
580
|
+
<v-list-item @click="emits('accept')">
|
|
581
|
+
<v-list-item-title class="text-subtitle-1 font-weight-medium">
|
|
582
|
+
Accept Application
|
|
583
|
+
</v-list-item-title>
|
|
584
|
+
</v-list-item>
|
|
585
|
+
|
|
586
|
+
<v-list-item @click="emits('reject')" class="text-red">
|
|
587
|
+
<v-list-item-title class="text-subtitle-1 font-weight-medium">
|
|
588
|
+
Reject Application
|
|
589
|
+
</v-list-item-title>
|
|
590
|
+
</v-list-item>
|
|
591
|
+
</v-list>
|
|
592
|
+
</v-menu>
|
|
593
|
+
</v-col>
|
|
594
|
+
</slot>
|
|
596
595
|
</v-row>
|
|
597
596
|
</v-toolbar>
|
|
598
597
|
</v-card>
|
|
@@ -603,6 +602,10 @@ const localProps = defineProps({
|
|
|
603
602
|
application: {
|
|
604
603
|
default: () => useEnrollment().enrollment.value,
|
|
605
604
|
},
|
|
605
|
+
noAction: {
|
|
606
|
+
type: Boolean,
|
|
607
|
+
default: false,
|
|
608
|
+
},
|
|
606
609
|
});
|
|
607
610
|
|
|
608
611
|
const placeOfBirth = computed(() => {
|