@eturnity/eturnity_reusable_components 8.7.5-qa-16-02-21.4 → 8.7.5-qa-16-02-21.5
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
@@ -673,10 +673,10 @@
|
|
673
673
|
}
|
674
674
|
},
|
675
675
|
setup() {
|
676
|
-
const
|
676
|
+
const modalRef = inject('modalRef')
|
677
677
|
|
678
678
|
return {
|
679
|
-
|
679
|
+
modalRef,
|
680
680
|
}
|
681
681
|
},
|
682
682
|
computed: {
|
@@ -735,7 +735,7 @@
|
|
735
735
|
)
|
736
736
|
},
|
737
737
|
isParentModal() {
|
738
|
-
return !!this.
|
738
|
+
return !!this.modalRef
|
739
739
|
},
|
740
740
|
},
|
741
741
|
watch: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
2
|
<PageWrapper
|
3
3
|
v-if="isOpen"
|
4
|
-
ref="
|
4
|
+
ref="modalRef"
|
5
5
|
:backdrop="backdrop"
|
6
6
|
:is-open="isOpen"
|
7
7
|
:position="position"
|
@@ -151,11 +151,11 @@
|
|
151
151
|
},
|
152
152
|
},
|
153
153
|
setup() {
|
154
|
-
const
|
155
|
-
provide('
|
154
|
+
const modalRef = ref(null)
|
155
|
+
provide('modalRef', modalRef)
|
156
156
|
|
157
157
|
return {
|
158
|
-
|
158
|
+
modalRef,
|
159
159
|
}
|
160
160
|
},
|
161
161
|
watch: {
|