quasar-ui-danx 0.3.52 → 0.3.53

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar-ui-danx",
3
- "version": "0.3.52",
3
+ "version": "0.3.53",
4
4
  "author": "Dan <dan@flytedesk.com>",
5
5
  "description": "DanX Vue / Quasar component library",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  </div>
32
32
  <QImg
33
33
  v-if="thumbUrl || isPreviewable"
34
- fit="fill"
34
+ :fit="imageFit"
35
35
  class="non-selectable max-h-full max-w-full h-full"
36
36
  :src="(thumbUrl || previewUrl) + '#t=0.1'"
37
37
  preload="auto"
@@ -139,6 +139,10 @@ const props = defineProps({
139
139
  type: Object,
140
140
  default: null
141
141
  },
142
+ imageFit: {
143
+ type: String,
144
+ default: "fill"
145
+ },
142
146
  relatedFiles: {
143
147
  type: Array,
144
148
  default: null