@eturnity/eturnity_reusable_components 1.1.63 → 1.1.64
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
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
>
|
|
7
7
|
<modal-container @click.stop>
|
|
8
8
|
<spinner v-if="isLoading" size="50px" :fullWidth="true" />
|
|
9
|
-
<close-button
|
|
9
|
+
<close-button
|
|
10
|
+
v-if="!hideClose"
|
|
11
|
+
@click.native="onCloseModal()"
|
|
12
|
+
class="close"
|
|
13
|
+
/>
|
|
10
14
|
<slot />
|
|
11
15
|
</modal-container>
|
|
12
16
|
</page-wrapper>
|
|
@@ -16,7 +20,7 @@
|
|
|
16
20
|
// import Modal from "@eturnity/eturnity_reusable_components/src/components/modals/modal"
|
|
17
21
|
// This is a more flexible modal box, where the parent can decide how the body of the modal looks
|
|
18
22
|
// To use:
|
|
19
|
-
// <modal :isOpen="isOpen" @on-close="$emit('on-close-summary')" :preventOutsideClose="true" :isLoading="true">
|
|
23
|
+
// <modal :isOpen="isOpen" @on-close="$emit('on-close-summary')" :preventOutsideClose="true" :isLoading="true" :hideClose="true">
|
|
20
24
|
// <div>Data....</div>
|
|
21
25
|
// </modal>
|
|
22
26
|
|
|
@@ -109,6 +113,10 @@ export default {
|
|
|
109
113
|
required: false,
|
|
110
114
|
default: false,
|
|
111
115
|
},
|
|
116
|
+
hideClose: {
|
|
117
|
+
required: false,
|
|
118
|
+
default: false,
|
|
119
|
+
},
|
|
112
120
|
},
|
|
113
121
|
methods: {
|
|
114
122
|
onCloseModal() {
|