@adminforth/upload 2.15.2 → 2.15.4
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/build.log +2 -2
- package/custom/preview.vue +1 -1
- package/dist/custom/preview.vue +1 -1
- package/package.json +2 -2
package/build.log
CHANGED
|
@@ -12,5 +12,5 @@ custom/preview.vue
|
|
|
12
12
|
custom/tsconfig.json
|
|
13
13
|
custom/uploader.vue
|
|
14
14
|
|
|
15
|
-
sent 68,
|
|
16
|
-
total size is 68,
|
|
15
|
+
sent 68,585 bytes received 153 bytes 137,476.00 bytes/sec
|
|
16
|
+
total size is 68,023 speedup is 0.99
|
package/custom/preview.vue
CHANGED
|
@@ -127,7 +127,7 @@ const maxWidth = computed(() => {
|
|
|
127
127
|
? (props.meta.maxShowWidth || props.meta.maxWidth)
|
|
128
128
|
: (props.meta.maxListWidth || props.meta.maxWidth);
|
|
129
129
|
|
|
130
|
-
return width ? { maxWidth: width } : {};
|
|
130
|
+
return width ? { maxWidth: `min(100%, ${width})` } : {};
|
|
131
131
|
});
|
|
132
132
|
|
|
133
133
|
const minWidth = computed(() => {
|
package/dist/custom/preview.vue
CHANGED
|
@@ -127,7 +127,7 @@ const maxWidth = computed(() => {
|
|
|
127
127
|
? (props.meta.maxShowWidth || props.meta.maxWidth)
|
|
128
128
|
: (props.meta.maxListWidth || props.meta.maxWidth);
|
|
129
129
|
|
|
130
|
-
return width ? { maxWidth: width } : {};
|
|
130
|
+
return width ? { maxWidth: `min(100%, ${width})` } : {};
|
|
131
131
|
});
|
|
132
132
|
|
|
133
133
|
const minWidth = computed(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminforth/upload",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.4",
|
|
4
4
|
"description": "Plugin for uploading files for adminforth",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"type": "module",
|
|
19
19
|
"author": "devforth",
|
|
20
|
-
"license": "
|
|
20
|
+
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-sdk/client-s3": "^3.629.0",
|
|
23
23
|
"@aws-sdk/s3-request-presigner": "^3.629.0"
|