@naptics/vue-collection 0.1.6 → 0.1.7
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/components/NCrudModal.js +5 -4
- package/package.json +1 -1
package/components/NCrudModal.js
CHANGED
|
@@ -87,21 +87,22 @@ export default createComponentWithSlots('NCrudModal', nCrudModalProps, ['modal',
|
|
|
87
87
|
cancel
|
|
88
88
|
}) => _createVNode("div", {
|
|
89
89
|
"class": "flex justify-between"
|
|
90
|
-
}, [_createVNode("div", null, [_createVNode(NButton, {
|
|
90
|
+
}, [_createVNode("div", null, [!props.hideRemove && _createVNode(NButton, {
|
|
91
91
|
"color": props.removeColor,
|
|
92
92
|
"onClick": remove,
|
|
93
93
|
"disabled": props.removeDisabled
|
|
94
94
|
}, {
|
|
95
95
|
default: () => [props.removeText]
|
|
96
|
-
})]), _createVNode("div",
|
|
96
|
+
})]), _createVNode("div", {
|
|
97
|
+
"class": "flex justify-end space-x-2"
|
|
98
|
+
}, [!props.hideCancel && _createVNode(NButton, {
|
|
97
99
|
"color": props.cancelColor,
|
|
98
100
|
"onClick": cancel
|
|
99
101
|
}, {
|
|
100
102
|
default: () => [props.cancelText]
|
|
101
|
-
}), _createVNode(NButton, {
|
|
103
|
+
}), !props.hideOk && _createVNode(NButton, {
|
|
102
104
|
"color": props.okColor,
|
|
103
105
|
"onClick": ok,
|
|
104
|
-
"class": "ml-2",
|
|
105
106
|
"disabled": props.okDisabled
|
|
106
107
|
}, {
|
|
107
108
|
default: () => [props.okText]
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@naptics/vue-collection",
|
|
3
3
|
"author": "Timo Siegenthaler",
|
|
4
4
|
"description": "Vue Collection is a collection of styled and fully functional Vue components which can easily be integrated into our projects.",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.7",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|