@nethserver/ns8-ui-lib 1.10.1 → 1.12.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.
@@ -9535,13 +9535,25 @@ var script$g = {
9535
9535
  isNextDisabled: Boolean,
9536
9536
  isCancelDisabled: Boolean,
9537
9537
  isNextLoading: Boolean,
9538
+ isPreviousShown: {
9539
+ type: Boolean,
9540
+ default: true
9541
+ },
9542
+ isCancelShown: {
9543
+ type: Boolean,
9544
+ default: true
9545
+ },
9538
9546
  closeAriaLabel: {
9539
9547
  type: String,
9540
9548
  default: "Close modal"
9541
9549
  },
9542
9550
  autoHideOff: Boolean,
9543
9551
  visible: Boolean,
9544
- size: String
9552
+ size: String,
9553
+ isLastStep: {
9554
+ type: Boolean,
9555
+ default: false
9556
+ }
9545
9557
  },
9546
9558
  methods: {
9547
9559
  focusBeforeContent() {
@@ -9562,7 +9574,7 @@ const __vue_script__$g = script$g;
9562
9574
  /* template */
9563
9575
 
9564
9576
  var __vue_render__$s = function () {
9565
- var _obj, _obj$1;
9577
+ var _obj, _obj$1, _obj$2;
9566
9578
 
9567
9579
  var _vm = this;
9568
9580
 
@@ -9641,8 +9653,14 @@ var __vue_render__$s = function () {
9641
9653
  "tabindex": _vm.scrollable ? 0 : undefined
9642
9654
  }
9643
9655
  }, [_vm._t("content")], 2), _vm._v(" "), _c('cv-button-set', {
9644
- class: [_vm.carbonPrefix + "--modal-footer", _vm.carbonPrefix + "--modal-footer--three-button"]
9656
+ class: [_vm.carbonPrefix + "--modal-footer", (_obj$2 = {}, _obj$2[_vm.carbonPrefix + "--modal-footer--three-button"] = _vm.isPreviousShown && _vm.isCancelShown, _obj$2)]
9645
9657
  }, [_c('NsButton', {
9658
+ directives: [{
9659
+ name: "show",
9660
+ rawName: "v-show",
9661
+ value: _vm.isCancelShown,
9662
+ expression: "isCancelShown"
9663
+ }],
9646
9664
  ref: "wizardCancel",
9647
9665
  staticClass: "wizard-button",
9648
9666
  attrs: {
@@ -9657,6 +9675,12 @@ var __vue_render__$s = function () {
9657
9675
  }
9658
9676
  }
9659
9677
  }, [_vm._v(_vm._s(_vm.cancelLabel) + "\n ")]), _vm._v(" "), _c('NsButton', {
9678
+ directives: [{
9679
+ name: "show",
9680
+ rawName: "v-show",
9681
+ value: _vm.isPreviousShown,
9682
+ expression: "isPreviousShown"
9683
+ }],
9660
9684
  ref: "wizardPrevious",
9661
9685
  staticClass: "wizard-button",
9662
9686
  attrs: {
@@ -9675,7 +9699,7 @@ var __vue_render__$s = function () {
9675
9699
  staticClass: "wizard-button",
9676
9700
  attrs: {
9677
9701
  "kind": "primary",
9678
- "icon": _vm.ChevronRight20,
9702
+ "icon": _vm.isLastStep ? null : _vm.ChevronRight20,
9679
9703
  "disabled": _vm.isNextDisabled,
9680
9704
  "loading": _vm.isNextLoading,
9681
9705
  "type": "submit"