@afeefa/vue-app 0.0.162 → 0.0.163
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.
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.163
|
package/package.json
CHANGED
@@ -136,6 +136,12 @@ export default class ADialog extends Mixins(UsesPositionServiceMixin, ComponentW
|
|
136
136
|
}
|
137
137
|
|
138
138
|
this.$emit('update:show', this.modal)
|
139
|
+
|
140
|
+
if (!this.modal) {
|
141
|
+
setTimeout(() => { // allow client to conditionally remove <edit-modal> using v-if not before inner dialog has been removed from dom
|
142
|
+
this.$emit('destroyed')
|
143
|
+
}, 100)
|
144
|
+
}
|
139
145
|
}
|
140
146
|
|
141
147
|
setPosition () {
|
@@ -3,6 +3,7 @@
|
|
3
3
|
:beforeClose="beforeClose"
|
4
4
|
:show.sync="show_"
|
5
5
|
v-bind="$attrs"
|
6
|
+
@destroyed="$emit('destroyed')"
|
6
7
|
>
|
7
8
|
<template #activator>
|
8
9
|
<slot name="activator" />
|
@@ -99,10 +100,6 @@ export default class EditModal extends Vue {
|
|
99
100
|
this.$emit('open')
|
100
101
|
} else {
|
101
102
|
this.$emit('close')
|
102
|
-
|
103
|
-
setTimeout(() => { // allow client to conditionally remove <edit-modal> using v-if not before inner dialog has been removed from dom
|
104
|
-
this.$emit('destroyed')
|
105
|
-
}, 100)
|
106
103
|
}
|
107
104
|
}
|
108
105
|
|