@eeplatform/nuxt-layer-common 1.7.36 → 1.7.37

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eeplatform/nuxt-layer-common
2
2
 
3
+ ## 1.7.37
4
+
5
+ ### Patch Changes
6
+
7
+ - d35d59f: Fix enrollment application preview component
8
+
3
9
  ## 1.7.36
4
10
 
5
11
  ### Patch Changes
@@ -557,42 +557,44 @@
557
557
  </v-btn>
558
558
  </v-col>
559
559
 
560
- <v-col
561
- v-if="localProps.application?.status === 'pending'"
562
- cols="6"
563
- class="pa-0"
564
- >
565
- <v-menu>
566
- <template #activator="{ props }">
567
- <v-btn
568
- block
569
- variant="flat"
570
- color="black"
571
- class="text-none"
572
- size="large"
573
- height="48"
574
- v-bind="props"
575
- tile
576
- >
577
- More actions
578
- </v-btn>
579
- </template>
580
-
581
- <v-list class="pa-0">
582
- <v-list-item @click="emits('accept')">
583
- <v-list-item-title class="text-subtitle-1 font-weight-medium">
584
- Accept Application
585
- </v-list-item-title>
586
- </v-list-item>
587
-
588
- <v-list-item @click="emits('reject')" class="text-red">
589
- <v-list-item-title class="text-subtitle-1 font-weight-medium">
590
- Reject Application
591
- </v-list-item-title>
592
- </v-list-item>
593
- </v-list>
594
- </v-menu>
595
- </v-col>
560
+ <slot name="action">
561
+ <v-col
562
+ v-if="localProps.application?.status === 'pending'"
563
+ cols="6"
564
+ class="pa-0"
565
+ >
566
+ <v-menu>
567
+ <template #activator="{ props }">
568
+ <v-btn
569
+ block
570
+ variant="flat"
571
+ color="black"
572
+ class="text-none"
573
+ size="large"
574
+ height="48"
575
+ v-bind="props"
576
+ tile
577
+ >
578
+ More actions
579
+ </v-btn>
580
+ </template>
581
+
582
+ <v-list class="pa-0">
583
+ <v-list-item @click="emits('accept')">
584
+ <v-list-item-title class="text-subtitle-1 font-weight-medium">
585
+ Accept Application
586
+ </v-list-item-title>
587
+ </v-list-item>
588
+
589
+ <v-list-item @click="emits('reject')" class="text-red">
590
+ <v-list-item-title class="text-subtitle-1 font-weight-medium">
591
+ Reject Application
592
+ </v-list-item-title>
593
+ </v-list-item>
594
+ </v-list>
595
+ </v-menu>
596
+ </v-col>
597
+ </slot>
596
598
  </v-row>
597
599
  </v-toolbar>
598
600
  </v-card>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@eeplatform/nuxt-layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "1.7.36",
5
+ "version": "1.7.37",
6
6
  "main": "./nuxt.config.ts",
7
7
  "publishConfig": {
8
8
  "access": "public"