@nethserver/ns8-ui-lib 1.11.0 → 1.12.1

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.
@@ -1086,7 +1086,10 @@ var script$x = {
1086
1086
  return ["error", "info", "warning", "success"].includes(val);
1087
1087
  }
1088
1088
  },
1089
- lowContrast: Boolean,
1089
+ lowContrast: {
1090
+ type: Boolean,
1091
+ default: true
1092
+ },
1090
1093
  loading: {
1091
1094
  type: Boolean,
1092
1095
  default: false
@@ -1115,19 +1118,19 @@ var __vue_render__$I = function __vue_render__() {
1115
1118
  "role": _vm.isAlert ? 'alert' : false,
1116
1119
  "aria-live": !_vm.isAlert ? 'polite' : false
1117
1120
  }
1118
- }, _vm.$listeners), [_vm._ssrNode("<div" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__details details") + " data-v-55c5000a>", "</div>", [_c(_vm.icon, {
1121
+ }, _vm.$listeners), [_vm._ssrNode("<div" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__details details") + " data-v-7f93e608>", "</div>", [_c(_vm.icon, {
1119
1122
  tag: "component",
1120
1123
  class: _vm.carbonPrefix + "--inline-notification__icon"
1121
- }), _vm._ssrNode(" "), _vm._ssrNode("<div" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__text-wrapper") + " data-v-55c5000a>", "</div>", [_vm.$slots.title || _vm.title ? _vm._ssrNode("<p" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__title title") + " data-v-55c5000a>", "</p>", [_vm.$slots.title ? _vm._t("title") : _c('span', [_vm._v(_vm._s(_vm.title))])], 2) : _vm._e(), _vm._ssrNode(" "), _vm.$slots.description || _vm.description ? _vm._ssrNode("<p" + _vm._ssrClass(null, [_vm.carbonPrefix + "--inline-notification__subtitle", {
1124
+ }), _vm._ssrNode(" "), _vm._ssrNode("<div" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__text-wrapper") + " data-v-7f93e608>", "</div>", [_vm.$slots.title || _vm.title ? _vm._ssrNode("<p" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__title title") + " data-v-7f93e608>", "</p>", [_vm.$slots.title ? _vm._t("title") : _c('span', [_vm._v(_vm._s(_vm.title))])], 2) : _vm._e(), _vm._ssrNode(" "), _vm.$slots.description || _vm.description ? _vm._ssrNode("<p" + _vm._ssrClass(null, [_vm.carbonPrefix + "--inline-notification__subtitle", {
1122
1125
  'mg-right': _vm.loading || _vm.timer
1123
- }]) + " data-v-55c5000a>", "</p>", [_vm.$slots.description ? _vm._t("description") : _c('span', [_vm._v(_vm._s(_vm.description))])], 2) : _vm._e(), _vm._ssrNode(" " + (_vm.loading ? "<p class=\"loader\" data-v-55c5000a></p>" : "<!---->") + " "), _vm.timer ? _vm._ssrNode("<p data-v-55c5000a>", "</p>", [_c('NsCircleTimer', {
1126
+ }]) + " data-v-7f93e608>", "</p>", [_vm.$slots.description ? _vm._t("description") : _c('span', [_vm._v(_vm._s(_vm.description))])], 2) : _vm._e(), _vm._ssrNode(" " + (_vm.loading ? "<p class=\"loader\" data-v-7f93e608></p>" : "<!---->") + " "), _vm.timer ? _vm._ssrNode("<p data-v-7f93e608>", "</p>", [_c('NsCircleTimer', {
1124
1127
  attrs: {
1125
1128
  "timeLimit": _vm.timer,
1126
1129
  "size": 16,
1127
1130
  "strokeWidth": 20,
1128
1131
  "color": "white"
1129
1132
  }
1130
- })], 1) : _vm._e()], 2)], 2), _vm._ssrNode(" " + (_vm.actionLabel ? "<button type=\"button\"" + _vm._ssrClass(null, [_vm.carbonPrefix + "--inline-notification__action-button", _vm.carbonPrefix + "--btn", _vm.carbonPrefix + "--btn--sm", _vm.carbonPrefix + "--btn--ghost", 'action-button']) + " data-v-55c5000a>" + _vm._ssrEscape("\n " + _vm._s(_vm.actionLabel) + "\n ") + "</button>" : "<!---->") + " "), _vm.showCloseButton ? _vm._ssrNode("<button type=\"button\"" + _vm._ssrAttr("aria-label", _vm.closeAriaLabel) + " data-notification-btn" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__close-button") + " data-v-55c5000a>", "</button>", [_c('Close20', {
1133
+ })], 1) : _vm._e()], 2)], 2), _vm._ssrNode(" " + (_vm.actionLabel ? "<button type=\"button\"" + _vm._ssrClass(null, [_vm.carbonPrefix + "--inline-notification__action-button", _vm.carbonPrefix + "--btn", _vm.carbonPrefix + "--btn--sm", _vm.carbonPrefix + "--btn--ghost", 'action-button']) + " data-v-7f93e608>" + _vm._ssrEscape("\n " + _vm._s(_vm.actionLabel) + "\n ") + "</button>" : "<!---->") + " "), _vm.showCloseButton ? _vm._ssrNode("<button type=\"button\"" + _vm._ssrAttr("aria-label", _vm.closeAriaLabel) + " data-notification-btn" + _vm._ssrClass(null, _vm.carbonPrefix + "--inline-notification__close-button") + " data-v-7f93e608>", "</button>", [_c('Close20', {
1131
1134
  class: _vm.carbonPrefix + "--inline-notification__close-icon"
1132
1135
  })], 1) : _vm._e()], 2);
1133
1136
  };
@@ -1137,8 +1140,8 @@ var __vue_staticRenderFns__$I = [];
1137
1140
 
1138
1141
  var __vue_inject_styles__$L = function __vue_inject_styles__(inject) {
1139
1142
  if (!inject) return;
1140
- inject("data-v-55c5000a_0", {
1141
- source: ".title[data-v-55c5000a]{margin-right:.75rem;margin-bottom:.2rem;font-size:.875rem!important;font-weight:600!important}.mg-right[data-v-55c5000a]{margin-right:.75rem}.action-button[data-v-55c5000a]{margin-right:.5rem}.bx--inline-notification__text-wrapper p[data-v-55c5000a]{padding-right:0!important}",
1143
+ inject("data-v-7f93e608_0", {
1144
+ source: ".title[data-v-7f93e608]{margin-right:.75rem;margin-bottom:.2rem;font-size:.875rem!important;font-weight:600!important}.mg-right[data-v-7f93e608]{margin-right:.75rem}.action-button[data-v-7f93e608]{margin-right:.5rem}.bx--inline-notification__text-wrapper p[data-v-7f93e608]{padding-right:0!important}",
1142
1145
  map: undefined,
1143
1146
  media: undefined
1144
1147
  });
@@ -1146,10 +1149,10 @@ var __vue_inject_styles__$L = function __vue_inject_styles__(inject) {
1146
1149
  /* scoped */
1147
1150
 
1148
1151
 
1149
- var __vue_scope_id__$L = "data-v-55c5000a";
1152
+ var __vue_scope_id__$L = "data-v-7f93e608";
1150
1153
  /* module identifier */
1151
1154
 
1152
- var __vue_module_identifier__$L = "data-v-55c5000a";
1155
+ var __vue_module_identifier__$L = "data-v-7f93e608";
1153
1156
  /* functional template */
1154
1157
 
1155
1158
  var __vue_is_functional_template__$L = false;
@@ -8874,7 +8877,11 @@ var script$g = {
8874
8877
  },
8875
8878
  autoHideOff: Boolean,
8876
8879
  visible: Boolean,
8877
- size: String
8880
+ size: String,
8881
+ isLastStep: {
8882
+ type: Boolean,
8883
+ default: false
8884
+ }
8878
8885
  },
8879
8886
  methods: {
8880
8887
  focusBeforeContent: function focusBeforeContent() {
@@ -8979,7 +8986,7 @@ var __vue_render__$s = function __vue_render__() {
8979
8986
  staticClass: "wizard-button",
8980
8987
  attrs: {
8981
8988
  "kind": "primary",
8982
- "icon": _vm.ChevronRight20,
8989
+ "icon": _vm.isLastStep ? null : _vm.ChevronRight20,
8983
8990
  "disabled": _vm.isNextDisabled,
8984
8991
  "loading": _vm.isNextLoading,
8985
8992
  "type": "submit"
@@ -9001,7 +9008,7 @@ var __vue_inject_styles__$u = undefined;
9001
9008
  var __vue_scope_id__$u = undefined;
9002
9009
  /* module identifier */
9003
9010
 
9004
- var __vue_module_identifier__$u = "data-v-ea2a3b7a";
9011
+ var __vue_module_identifier__$u = "data-v-b51d3fc6";
9005
9012
  /* functional template */
9006
9013
 
9007
9014
  var __vue_is_functional_template__$u = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nethserver/ns8-ui-lib",
3
- "version": "1.11.0",
3
+ "version": "1.12.1",
4
4
  "description": "Vue.js library for NethServer 8 UI",
5
5
  "keywords": [
6
6
  "nethserver",
@@ -99,7 +99,10 @@ export default {
99
99
  default: "info",
100
100
  validator: (val) => ["error", "info", "warning", "success"].includes(val)
101
101
  },
102
- lowContrast: Boolean,
102
+ lowContrast: {
103
+ type: Boolean,
104
+ default: true
105
+ },
103
106
  loading: {
104
107
  type: Boolean,
105
108
  default: false
@@ -93,7 +93,7 @@
93
93
  </NsButton>
94
94
  <NsButton
95
95
  kind="primary"
96
- :icon="ChevronRight20"
96
+ :icon="isLastStep ? null : ChevronRight20"
97
97
  @click="$emit('nextStep')"
98
98
  :disabled="isNextDisabled"
99
99
  :loading="isNextLoading"
@@ -136,6 +136,7 @@ export default {
136
136
  autoHideOff: Boolean,
137
137
  visible: Boolean,
138
138
  size: String,
139
+ isLastStep: { type: Boolean, default: false },
139
140
  },
140
141
  methods: {
141
142
  focusBeforeContent() {