grantthomas-nuxt 1.0.15 → 1.0.16

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grantthomas/nuxt",
3
3
  "configKey": "grantThomasNuxt",
4
- "version": "1.0.15",
4
+ "version": "1.0.16",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -84,7 +84,6 @@ const onCancel = () => {
84
84
  <template #item="slot">
85
85
  <v-list-item :value="slot.props.title[endpointResponseKey]">
86
86
  <slot name="dialogListTitle" :item="slot.props.title">
87
- {{slot.props.title[endpointResponseKey]}}
88
87
  {{ slot.props.title[endpointDisplayKey] }}
89
88
  </slot>
90
89
  </v-list-item>
@@ -17,6 +17,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
17
17
  isPublic: boolean;
18
18
  additionalPostData: Record<string, any>;
19
19
  mimeTypes: unknown[];
20
+ clearable: boolean;
20
21
  title?: any;
21
22
  $props: any;
22
23
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -64,6 +64,10 @@ const props = defineProps({
64
64
  mimeTypes: {
65
65
  type: Array,
66
66
  default: null
67
+ },
68
+ clearable: {
69
+ type: Boolean,
70
+ default: true
67
71
  }
68
72
  });
69
73
  const model = defineModel();
@@ -421,6 +425,7 @@ watch(() => fileToUpload.value, (newVal, oldVal) => {
421
425
  <div class="d-flex align-center justify-space-between mb-2">
422
426
  <h4 class="mb-0">Selected:</h4>
423
427
  <v-btn
428
+ v-if="clearable"
424
429
  size="small"
425
430
  color="error"
426
431
  variant="text"
@@ -17,6 +17,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
17
17
  isPublic: boolean;
18
18
  additionalPostData: Record<string, any>;
19
19
  mimeTypes: unknown[];
20
+ clearable: boolean;
20
21
  title?: any;
21
22
  $props: any;
22
23
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grantthomas-nuxt",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Crud module for Nuxt 3 interacting with sibling .net project",
5
5
  "repository": "Tap-Leagues/GrantThomas.Nuxt",
6
6
  "license": "MIT",