classcard-ui 0.2.407 → 0.2.410
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/classcard-ui.common.js +54 -55
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +54 -55
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CUpload/CUpload.vue +9 -10
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="flex flex-col">
|
|
3
|
-
<div
|
|
4
|
-
|
|
5
|
-
class="
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
<p class="text-gray-400">{{ hint }}</p>
|
|
2
|
+
<div class="flex h-full flex-col">
|
|
3
|
+
<div class="flex items-center justify-between">
|
|
4
|
+
<label class="block text-sm font-medium text-gray-900">{{ label }}</label>
|
|
5
|
+
<label v-if="isUploaded" class="block text-sm font-medium text-gray-400">
|
|
6
|
+
{{ hint }}
|
|
7
|
+
</label>
|
|
9
8
|
</div>
|
|
10
9
|
<button
|
|
11
10
|
type="button"
|
|
@@ -23,7 +22,7 @@
|
|
|
23
22
|
</button>
|
|
24
23
|
<button
|
|
25
24
|
type="button"
|
|
26
|
-
class="flex w-auto items-center justify-center rounded-lg border-2 border-dashed border-gray-300 px-9 py-14 text-center hover:border-gray-400 focus:outline-none"
|
|
25
|
+
class="mt-1.5 flex h-full w-auto items-center justify-center rounded-lg border-2 border-dashed border-gray-300 px-9 py-14 text-center hover:border-gray-400 focus:outline-none"
|
|
27
26
|
@click="initFilestack()"
|
|
28
27
|
v-if="displayMode == 'overlay' && !icon"
|
|
29
28
|
>
|
|
@@ -64,11 +63,11 @@ export default {
|
|
|
64
63
|
},
|
|
65
64
|
hint: {
|
|
66
65
|
type: String,
|
|
67
|
-
default: "
|
|
66
|
+
default: "",
|
|
68
67
|
},
|
|
69
68
|
label: {
|
|
70
69
|
type: String,
|
|
71
|
-
default: "
|
|
70
|
+
default: "",
|
|
72
71
|
},
|
|
73
72
|
isValidate: { type: Boolean },
|
|
74
73
|
errorMessage: {
|