@dative-gpi/foundation-shared-components 0.0.212 → 0.0.213
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/components/FSEditImage.vue +9 -11
- package/package.json +4 -4
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
>
|
|
66
66
|
<FSText
|
|
67
67
|
v-if="fileSelected && fileSelected.fileName"
|
|
68
|
-
lineClamp="2"
|
|
69
68
|
font="text-body"
|
|
69
|
+
:lineClamp="2"
|
|
70
70
|
>
|
|
71
71
|
{{ fileSelected.fileName }}
|
|
72
72
|
</FSText>
|
|
73
73
|
<FSCol
|
|
74
|
-
gap="
|
|
74
|
+
gap="0px"
|
|
75
75
|
>
|
|
76
76
|
<FSText
|
|
77
77
|
class="fs-edit-image-overline"
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
<FSButtonFileMini
|
|
98
98
|
accept="image/*"
|
|
99
99
|
:readFile="false"
|
|
100
|
-
@update:
|
|
100
|
+
@update:metadata="onUpload"
|
|
101
101
|
/>
|
|
102
102
|
<FSButtonRemoveMini
|
|
103
103
|
@click="onRemove"
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
<FSButtonFileMini
|
|
125
125
|
accept="image/*"
|
|
126
126
|
:readFile="false"
|
|
127
|
-
@update:
|
|
127
|
+
@update:metadata="onUpload"
|
|
128
128
|
/>
|
|
129
129
|
<FSButtonRemoveMini
|
|
130
130
|
@click="onRemove"
|
|
@@ -147,17 +147,17 @@
|
|
|
147
147
|
mdi-plus-box-outline
|
|
148
148
|
</FSIcon>
|
|
149
149
|
<FSText
|
|
150
|
-
lineClamp="2"
|
|
151
150
|
font="text-body"
|
|
151
|
+
:lineClamp="2"
|
|
152
152
|
>
|
|
153
153
|
{{ $tr('ui.edit-image.add-image', 'Add an image.') }}
|
|
154
154
|
</FSText>
|
|
155
155
|
<FSButtonFileMini
|
|
156
|
-
ref="invisibleButtonRef"
|
|
157
156
|
class="fs-edit-image-hidden-button"
|
|
157
|
+
ref="invisibleButtonRef"
|
|
158
158
|
accept="image/*"
|
|
159
159
|
:readFile="false"
|
|
160
|
-
@update:
|
|
160
|
+
@update:metadata="onUpload"
|
|
161
161
|
/>
|
|
162
162
|
</FSRow>
|
|
163
163
|
</FSClickable>
|
|
@@ -165,13 +165,11 @@
|
|
|
165
165
|
</template>
|
|
166
166
|
|
|
167
167
|
<script lang="ts">
|
|
168
|
-
import type
|
|
169
|
-
import { computed, defineComponent, ref, watch } from "vue";
|
|
168
|
+
import { computed, defineComponent, type PropType, ref, watch } from "vue";
|
|
170
169
|
|
|
171
170
|
import { useBreakpoints, useColors } from "@dative-gpi/foundation-shared-components/composables";
|
|
171
|
+
import { ColorEnum, type FileImage } from "@dative-gpi/foundation-shared-components/models";
|
|
172
172
|
import { useFiles } from "@dative-gpi/foundation-shared-services/composables";
|
|
173
|
-
import type { FileImage } from "@dative-gpi/foundation-shared-components/models";
|
|
174
|
-
import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
175
173
|
|
|
176
174
|
import FSButtonRemoveMini from "./buttons/FSButtonRemoveMini.vue";
|
|
177
175
|
import FSButtonFileMini from "./buttons/FSButtonFileMini.vue";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-shared-components",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.213",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dative-gpi/foundation-shared-domain": "0.0.
|
|
14
|
-
"@dative-gpi/foundation-shared-services": "0.0.
|
|
13
|
+
"@dative-gpi/foundation-shared-domain": "0.0.213",
|
|
14
|
+
"@dative-gpi/foundation-shared-services": "0.0.213"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@dative-gpi/bones-ui": "^0.0.75",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"sass": "1.71.1",
|
|
36
36
|
"sass-loader": "13.3.2"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "0b705c623649ff8e3a9d03c9ae2ac0463864de45"
|
|
39
39
|
}
|