@nethserver/ns8-ui-lib 1.10.1 → 1.11.0
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/dist/ns8-ui-lib.ssr.js
CHANGED
|
@@ -8860,6 +8860,14 @@ var script$g = {
|
|
|
8860
8860
|
isNextDisabled: Boolean,
|
|
8861
8861
|
isCancelDisabled: Boolean,
|
|
8862
8862
|
isNextLoading: Boolean,
|
|
8863
|
+
isPreviousShown: {
|
|
8864
|
+
type: Boolean,
|
|
8865
|
+
default: true
|
|
8866
|
+
},
|
|
8867
|
+
isCancelShown: {
|
|
8868
|
+
type: Boolean,
|
|
8869
|
+
default: true
|
|
8870
|
+
},
|
|
8863
8871
|
closeAriaLabel: {
|
|
8864
8872
|
type: String,
|
|
8865
8873
|
default: "Close modal"
|
|
@@ -8886,7 +8894,7 @@ var __vue_script__$g = script$g;
|
|
|
8886
8894
|
/* template */
|
|
8887
8895
|
|
|
8888
8896
|
var __vue_render__$s = function __vue_render__() {
|
|
8889
|
-
var _obj, _obj$1;
|
|
8897
|
+
var _obj, _obj$1, _obj$2;
|
|
8890
8898
|
|
|
8891
8899
|
var _vm = this;
|
|
8892
8900
|
|
|
@@ -8925,8 +8933,14 @@ var __vue_render__$s = function __vue_render__() {
|
|
|
8925
8933
|
})], 2), _vm._ssrNode(" "), _vm._ssrNode("<button type=\"button\"" + _vm._ssrAttr("aria-label", _vm.closeAriaLabel) + _vm._ssrClass(null, _vm.carbonPrefix + "--modal-close") + ">", "</button>", [_c('Close16', {
|
|
8926
8934
|
class: _vm.carbonPrefix + "--modal-close__icon"
|
|
8927
8935
|
})], 1)], 2), _vm._ssrNode(" "), _vm._ssrNode("<div" + _vm._ssrAttr("tabindex", _vm.scrollable ? 0 : undefined) + _vm._ssrClass(null, [_vm.carbonPrefix + "--modal-content", (_obj$1 = {}, _obj$1[_vm.carbonPrefix + "--modal-content--with-form"] = _vm.hasFormContent, _obj$1)]) + ">", "</div>", [_vm._t("content")], 2), _vm._ssrNode(" "), _c('cv-button-set', {
|
|
8928
|
-
class: [_vm.carbonPrefix + "--modal-footer", _vm.carbonPrefix + "--modal-footer--three-button"]
|
|
8936
|
+
class: [_vm.carbonPrefix + "--modal-footer", (_obj$2 = {}, _obj$2[_vm.carbonPrefix + "--modal-footer--three-button"] = _vm.isPreviousShown && _vm.isCancelShown, _obj$2)]
|
|
8929
8937
|
}, [_c('NsButton', {
|
|
8938
|
+
directives: [{
|
|
8939
|
+
name: "show",
|
|
8940
|
+
rawName: "v-show",
|
|
8941
|
+
value: _vm.isCancelShown,
|
|
8942
|
+
expression: "isCancelShown"
|
|
8943
|
+
}],
|
|
8930
8944
|
ref: "wizardCancel",
|
|
8931
8945
|
staticClass: "wizard-button",
|
|
8932
8946
|
attrs: {
|
|
@@ -8941,6 +8955,12 @@ var __vue_render__$s = function __vue_render__() {
|
|
|
8941
8955
|
}
|
|
8942
8956
|
}
|
|
8943
8957
|
}, [_vm._v(_vm._s(_vm.cancelLabel) + "\n ")]), _vm._v(" "), _c('NsButton', {
|
|
8958
|
+
directives: [{
|
|
8959
|
+
name: "show",
|
|
8960
|
+
rawName: "v-show",
|
|
8961
|
+
value: _vm.isPreviousShown,
|
|
8962
|
+
expression: "isPreviousShown"
|
|
8963
|
+
}],
|
|
8944
8964
|
ref: "wizardPrevious",
|
|
8945
8965
|
staticClass: "wizard-button",
|
|
8946
8966
|
attrs: {
|
|
@@ -8981,7 +9001,7 @@ var __vue_inject_styles__$u = undefined;
|
|
|
8981
9001
|
var __vue_scope_id__$u = undefined;
|
|
8982
9002
|
/* module identifier */
|
|
8983
9003
|
|
|
8984
|
-
var __vue_module_identifier__$u = "data-v-
|
|
9004
|
+
var __vue_module_identifier__$u = "data-v-ea2a3b7a";
|
|
8985
9005
|
/* functional template */
|
|
8986
9006
|
|
|
8987
9007
|
var __vue_is_functional_template__$u = false;
|
package/package.json
CHANGED
|
@@ -63,10 +63,14 @@
|
|
|
63
63
|
<cv-button-set
|
|
64
64
|
:class="[
|
|
65
65
|
`${carbonPrefix}--modal-footer`,
|
|
66
|
-
|
|
66
|
+
{
|
|
67
|
+
[`${carbonPrefix}--modal-footer--three-button`]:
|
|
68
|
+
isPreviousShown && isCancelShown,
|
|
69
|
+
},
|
|
67
70
|
]"
|
|
68
71
|
>
|
|
69
72
|
<NsButton
|
|
73
|
+
v-show="isCancelShown"
|
|
70
74
|
kind="secondary"
|
|
71
75
|
:icon="Close20"
|
|
72
76
|
@click="$emit('cancel')"
|
|
@@ -77,6 +81,7 @@
|
|
|
77
81
|
>{{ cancelLabel }}
|
|
78
82
|
</NsButton>
|
|
79
83
|
<NsButton
|
|
84
|
+
v-show="isPreviousShown"
|
|
80
85
|
kind="secondary"
|
|
81
86
|
:icon="ChevronLeft20"
|
|
82
87
|
@click="$emit('previousStep')"
|
|
@@ -125,6 +130,8 @@ export default {
|
|
|
125
130
|
isNextDisabled: Boolean,
|
|
126
131
|
isCancelDisabled: Boolean,
|
|
127
132
|
isNextLoading: Boolean,
|
|
133
|
+
isPreviousShown: { type: Boolean, default: true },
|
|
134
|
+
isCancelShown: { type: Boolean, default: true },
|
|
128
135
|
closeAriaLabel: { type: String, default: "Close modal" },
|
|
129
136
|
autoHideOff: Boolean,
|
|
130
137
|
visible: Boolean,
|