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 +1 -1
- package/dist/runtime/components/CrudApiSelectorField.vue +0 -1
- package/dist/runtime/components/CrudUploadField.d.vue.ts +1 -0
- package/dist/runtime/components/CrudUploadField.vue +5 -0
- package/dist/runtime/components/CrudUploadField.vue.d.ts +1 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -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>;
|