@bildvitta/quasar-ui-asteroid 3.13.0-beta.12 → 3.13.0-beta.13
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
|
@@ -26,13 +26,14 @@
|
|
|
26
26
|
import QasBtn from '../btn/QasBtn.vue'
|
|
27
27
|
import QasBtnDropdown from '../btn-dropdown/QasBtnDropdown.vue'
|
|
28
28
|
|
|
29
|
-
import Delete from '../../plugins/delete/Delete'
|
|
30
29
|
import useScreen from '../../composables/use-screen'
|
|
31
30
|
|
|
32
|
-
import { computed } from 'vue'
|
|
31
|
+
import { computed, inject } from 'vue'
|
|
33
32
|
|
|
34
33
|
defineOptions({ name: 'QasActionsMenu' })
|
|
35
34
|
|
|
35
|
+
const qas = inject('qas')
|
|
36
|
+
|
|
36
37
|
const props = defineProps({
|
|
37
38
|
buttonProps: {
|
|
38
39
|
default: () => ({}),
|
|
@@ -198,7 +199,7 @@ function useDelete () {
|
|
|
198
199
|
color: 'grey-9',
|
|
199
200
|
icon: props.deleteIcon,
|
|
200
201
|
label: props.deleteLabel,
|
|
201
|
-
handler: () =>
|
|
202
|
+
handler: () => qas.delete(props.deleteProps)
|
|
202
203
|
}
|
|
203
204
|
})
|
|
204
205
|
}
|
package/src/vue-plugin.js
CHANGED