quasar-ui-danx 0.0.23 → 0.0.24

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar-ui-danx",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "author": "Dan <dan@flytedesk.com>",
5
5
  "description": "DanX Vue / Quasar component library",
6
6
  "license": "MIT",
@@ -23,7 +23,7 @@
23
23
  </template>
24
24
  <script setup>
25
25
  import { computed, ref } from 'vue';
26
- import PopoverMenu from '../../components/Utility/Popover/PopoverMenu';
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
- <ImagePreview
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
- <ImagePreview
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 { ImagePreview } from '../../../Utility';
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
- <ImagePreview
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 { ImagePreview } from '../../../Utility';
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({