@afeefa/vue-app 0.0.202 → 0.0.203
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.203
|
package/package.json
CHANGED
@@ -85,6 +85,14 @@ export default class ADialog extends Mixins(UsesPositionServiceMixin, ComponentW
|
|
85
85
|
}
|
86
86
|
onFocusin(e)
|
87
87
|
}
|
88
|
+
|
89
|
+
// catch click events if activator's first element is set to be disabled
|
90
|
+
const activator = document.getElementsByClassName(this.activatorClass)[0]
|
91
|
+
activator.addEventListener('click', e => {
|
92
|
+
if (activator.children[0]?.getAttribute('disabled')) {
|
93
|
+
e.stopPropagation()
|
94
|
+
}
|
95
|
+
}, true) // capture phase, stop event before v-dialog receives it
|
88
96
|
}
|
89
97
|
|
90
98
|
coe_cancelOnEsc () {
|