quasar-ui-danx 0.0.23 → 0.0.24
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/package.json +1 -1
- package/src/components/ActionTable/BatchActionMenu.vue +1 -1
- package/src/components/ActionTable/Form/Fields/MultiFileField.vue +3 -3
- package/src/components/ActionTable/Form/Fields/SingleFileField.vue +2 -2
- package/src/components/DragAndDrop/ListItemDraggable.vue +1 -1
- package/src/components/Utility/Files/FilePreview.vue +3 -3
package/package.json
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
</template>
|
24
24
|
<script setup>
|
25
25
|
import { computed, ref } from 'vue';
|
26
|
-
import PopoverMenu from '
|
26
|
+
import { PopoverMenu } from '../Utility';
|
27
27
|
|
28
28
|
const emit = defineEmits(['action']);
|
29
29
|
const props = defineProps({
|
@@ -33,7 +33,7 @@
|
|
33
33
|
</div>
|
34
34
|
|
35
35
|
<div class="max-w-[50em] flex items-stretch justify-start">
|
36
|
-
<
|
36
|
+
<FilePreview
|
37
37
|
v-for="file in uploadedFiles"
|
38
38
|
:key="'file-upload-' + file.id"
|
39
39
|
class="w-32 m-2 cursor-pointer bg-neutral-plus-5"
|
@@ -44,7 +44,7 @@
|
|
44
44
|
:removable="!readonly && !disable"
|
45
45
|
@remove="onRemove(file)"
|
46
46
|
/>
|
47
|
-
<
|
47
|
+
<FilePreview
|
48
48
|
v-if="!disable && !readonly"
|
49
49
|
class="w-32 m-2 cursor-pointer border border-dashed border-blue-base"
|
50
50
|
disabled
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<script setup>
|
64
64
|
import { onMounted } from 'vue';
|
65
65
|
import { useMultiFileUpload } from '../../../../helpers';
|
66
|
-
import {
|
66
|
+
import { FilePreview } from '../../../Utility';
|
67
67
|
import FieldLabel from './FieldLabel';
|
68
68
|
|
69
69
|
const emit = defineEmits(['update:model-value']);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
/>
|
32
32
|
</div>
|
33
33
|
|
34
|
-
<
|
34
|
+
<FilePreview
|
35
35
|
v-if="!readonly || uploadedFile"
|
36
36
|
class="w-32 cursor-pointer mt-2"
|
37
37
|
:class="{'border border-dashed border-blue-base': !uploadedFile, 'mx-auto': !readonly}"
|
@@ -50,7 +50,7 @@
|
|
50
50
|
<script setup>
|
51
51
|
import { onMounted } from 'vue';
|
52
52
|
import { useSingleFileUpload } from '../../../../helpers';
|
53
|
-
import {
|
53
|
+
import { FilePreview } from '../../../Utility';
|
54
54
|
import FieldLabel from './FieldLabel';
|
55
55
|
|
56
56
|
const emit = defineEmits(['update:model-value']);
|
@@ -16,8 +16,8 @@
|
|
16
16
|
</div>
|
17
17
|
</template>
|
18
18
|
<script setup>
|
19
|
-
import SvgImg from 'src/components/Utility/Files/SvgImg';
|
20
19
|
import { DragHandleDotsIcon as DragHandleIcon } from '../../svg';
|
20
|
+
import { SvgImg } from '../Utility';
|
21
21
|
import { ListDragAndDrop } from './listDragAndDrop';
|
22
22
|
|
23
23
|
const emit = defineEmits(['position', 'update:list-items']);
|
@@ -99,10 +99,10 @@
|
|
99
99
|
|
100
100
|
<script setup>
|
101
101
|
import { DocumentTextIcon as TextFileIcon, DownloadIcon, PlayIcon } from '@heroicons/vue/outline';
|
102
|
-
import { FullScreenCarouselDialog } from 'src/components/Utility/index';
|
103
|
-
import { download } from 'src/helpers';
|
104
|
-
import { ImageIcon, PdfIcon, TrashIcon as RemoveIcon } from 'src/svg';
|
105
102
|
import { computed, ref } from 'vue';
|
103
|
+
import { download } from '../../../helpers';
|
104
|
+
import { ImageIcon, PdfIcon, TrashIcon as RemoveIcon } from '../../../svg';
|
105
|
+
import { FullScreenCarouselDialog } from '../Dialogs';
|
106
106
|
|
107
107
|
const emit = defineEmits(['remove']);
|
108
108
|
const props = defineProps({
|