@dative-gpi/foundation-shared-components 0.0.121 → 0.0.123
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.
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
</template>
|
|
166
166
|
|
|
167
167
|
<script lang="ts">
|
|
168
|
-
import { computed, defineComponent, PropType, ref } from "vue";
|
|
168
|
+
import { computed, defineComponent, PropType, ref, watch } from "vue";
|
|
169
169
|
|
|
170
170
|
import { useBreakpoints, useColors } from "@dative-gpi/foundation-shared-components/composables";
|
|
171
171
|
import { useFiles } from "@dative-gpi/foundation-shared-services/composables";
|
|
@@ -281,6 +281,13 @@ export default defineComponent({
|
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
|
|
284
|
+
watch(() => props.modelValue, () => {
|
|
285
|
+
if (!props.modelValue) {
|
|
286
|
+
fileSelected.value.fileName = "";
|
|
287
|
+
fileSelected.value.fileContent = null;
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
|
|
284
291
|
return {
|
|
285
292
|
invisibleButtonRef,
|
|
286
293
|
fileSelected,
|
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.123",
|
|
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.123",
|
|
14
|
+
"@dative-gpi/foundation-shared-services": "0.0.123",
|
|
15
15
|
"@fontsource/montserrat": "^5.0.16",
|
|
16
16
|
"@lexical/clipboard": "^0.12.5",
|
|
17
17
|
"@lexical/history": "^0.12.5",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"sass": "^1.69.5",
|
|
33
33
|
"sass-loader": "^13.3.2"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "0d9536cb31dbffca7286a843898128087323db0f"
|
|
36
36
|
}
|