@nethserver/ns8-ui-lib 0.0.87 → 0.0.90
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<NsModal
|
|
3
3
|
kind="danger"
|
|
4
4
|
size="default"
|
|
5
5
|
:visible="isShown"
|
|
@@ -34,17 +34,18 @@
|
|
|
34
34
|
</template>
|
|
35
35
|
<template slot="secondary-button">{{ cancelLabel }}</template>
|
|
36
36
|
<template slot="primary-button">{{ deleteLabel }}</template>
|
|
37
|
-
</
|
|
37
|
+
</NsModal>
|
|
38
38
|
</template>
|
|
39
39
|
|
|
40
40
|
<script>
|
|
41
41
|
import UtilService from "../lib-mixins/util.js";
|
|
42
42
|
import NsInlineNotification from "./NsInlineNotification.vue";
|
|
43
|
+
import NsModal from "./NsModal.vue";
|
|
43
44
|
|
|
44
45
|
export default {
|
|
45
46
|
name: "NsDangerDeleteModal",
|
|
46
47
|
//component added for storybook to work
|
|
47
|
-
components: { NsInlineNotification },
|
|
48
|
+
components: { NsInlineNotification, NsModal },
|
|
48
49
|
mixins: [UtilService],
|
|
49
50
|
props: {
|
|
50
51
|
isShown: {
|