@nethserver/ns8-ui-lib 0.0.72 → 0.0.75

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.
@@ -25,6 +25,7 @@ import Reset20 from '@carbon/icons-vue/es/reset/20';
25
25
  import Download20 from '@carbon/icons-vue/es/download/20';
26
26
  import Launch20 from '@carbon/icons-vue/es/launch/20';
27
27
  import Upgrade20 from '@carbon/icons-vue/es/upgrade/20';
28
+ import Upgrade32 from '@carbon/icons-vue/es/upgrade/32';
28
29
  import Settings16 from '@carbon/icons-vue/es/settings/16';
29
30
  import Settings20 from '@carbon/icons-vue/es/settings/20';
30
31
  import ChevronUp20 from '@carbon/icons-vue/es/chevron--up/20';
@@ -32,6 +33,7 @@ import ChevronLeft20 from '@carbon/icons-vue/es/chevron--left/20';
32
33
  import ChevronRight20 from '@carbon/icons-vue/es/chevron--right/20';
33
34
  import Information16 from '@carbon/icons-vue/es/information/16';
34
35
  import Information20 from '@carbon/icons-vue/es/information/20';
36
+ import InformationFilled16 from '@carbon/icons-vue/es/information--filled/16';
35
37
  import Application20 from '@carbon/icons-vue/es/application/20';
36
38
  import Add20 from '@carbon/icons-vue/es/add/20';
37
39
  import Rocket20 from '@carbon/icons-vue/es/rocket/20';
@@ -95,7 +97,6 @@ import Catalog20 from '@carbon/icons-vue/es/catalog/20';
95
97
  import Catalog32 from '@carbon/icons-vue/es/catalog/32';
96
98
  import { WarningFilled16, WarningAltFilled16, View16, ViewOff16 } from '@carbon/icons-vue';
97
99
  import CvSideNavDivider from '@carbon/vue/src/components/cv-ui-shell/cv-side-nav-divider.vue';
98
- import InformationFilled16 from '@carbon/icons-vue/es/information--filled/16';
99
100
 
100
101
  //
101
102
  var script$r = {
@@ -948,8 +949,12 @@ var script$m = {
948
949
  },
949
950
 
950
951
  created() {
951
- this.timeLimitSeconds = (this.timeLimit - 1000) / 1000;
952
+ this.timeLimitSeconds = this.timeLimit / 1000;
952
953
  this.timeLeft = this.timeLimitSeconds;
954
+ this.$nextTick(() => {
955
+ this.timePassed += 1;
956
+ this.timeLeft = this.timeLimitSeconds - this.timePassed;
957
+ });
953
958
  this.timerInterval = setInterval(() => {
954
959
  this.timePassed += 1;
955
960
  this.timeLeft = this.timeLimitSeconds - this.timePassed;
@@ -1013,8 +1018,8 @@ var __vue_staticRenderFns__$q = [];
1013
1018
 
1014
1019
  const __vue_inject_styles__$s = function (inject) {
1015
1020
  if (!inject) return;
1016
- inject("data-v-45b59790_0", {
1017
- source: ".base-timer[data-v-45b59790]{position:relative}.base-timer__circle[data-v-45b59790]{fill:none;stroke:none}.base-timer__path-remaining[data-v-45b59790]{stroke:currentColor;transform:rotate(90deg);transform-origin:center;transition:1s linear all}.base-timer__svg[data-v-45b59790]{transform:scaleX(-1)}",
1021
+ inject("data-v-79cb7082_0", {
1022
+ source: ".base-timer[data-v-79cb7082]{position:relative}.base-timer__circle[data-v-79cb7082]{fill:none;stroke:none}.base-timer__path-remaining[data-v-79cb7082]{stroke:currentColor;transform:rotate(90deg);transform-origin:center;transition:1s linear all}.base-timer__svg[data-v-79cb7082]{transform:scaleX(-1)}",
1018
1023
  map: undefined,
1019
1024
  media: undefined
1020
1025
  });
@@ -1022,7 +1027,7 @@ const __vue_inject_styles__$s = function (inject) {
1022
1027
  /* scoped */
1023
1028
 
1024
1029
 
1025
- const __vue_scope_id__$s = "data-v-45b59790";
1030
+ const __vue_scope_id__$s = "data-v-79cb7082";
1026
1031
  /* module identifier */
1027
1032
 
1028
1033
  const __vue_module_identifier__$s = undefined;
@@ -7971,6 +7976,18 @@ var script$9 = {
7971
7976
  deleteLabel: {
7972
7977
  type: String,
7973
7978
  default: "I understand, delete"
7979
+ },
7980
+ isErrorShown: {
7981
+ type: Boolean,
7982
+ default: false
7983
+ },
7984
+ errorTitle: {
7985
+ type: String,
7986
+ default: ""
7987
+ },
7988
+ errorDescription: {
7989
+ type: String,
7990
+ default: ""
7974
7991
  }
7975
7992
  },
7976
7993
 
@@ -8072,7 +8089,14 @@ var __vue_render__$e = function () {
8072
8089
  },
8073
8090
  expression: "userInput"
8074
8091
  }
8075
- })], 1)], 2), _vm._v(" "), _c('template', {
8092
+ })], 1), _vm._v(" "), _vm.isErrorShown ? _c('NsInlineNotification', {
8093
+ attrs: {
8094
+ "kind": "error",
8095
+ "title": _vm.errorTitle,
8096
+ "description": _vm.errorDescription,
8097
+ "showCloseButton": false
8098
+ }
8099
+ }) : _vm._e()], 2), _vm._v(" "), _c('template', {
8076
8100
  slot: "secondary-button"
8077
8101
  }, [_vm._v(_vm._s(_vm.cancelLabel))]), _vm._v(" "), _c('template', {
8078
8102
  slot: "primary-button"
@@ -8084,8 +8108,8 @@ var __vue_staticRenderFns__$e = [];
8084
8108
 
8085
8109
  const __vue_inject_styles__$f = function (inject) {
8086
8110
  if (!inject) return;
8087
- inject("data-v-97f667a6_0", {
8088
- source: ".type-to-confirm[data-v-97f667a6]{margin-top:2rem}",
8111
+ inject("data-v-56c8d6b0_0", {
8112
+ source: ".type-to-confirm[data-v-56c8d6b0]{margin-top:2rem}",
8089
8113
  map: undefined,
8090
8114
  media: undefined
8091
8115
  });
@@ -8093,7 +8117,7 @@ const __vue_inject_styles__$f = function (inject) {
8093
8117
  /* scoped */
8094
8118
 
8095
8119
 
8096
- const __vue_scope_id__$f = "data-v-97f667a6";
8120
+ const __vue_scope_id__$f = "data-v-56c8d6b0";
8097
8121
  /* module identifier */
8098
8122
 
8099
8123
  const __vue_module_identifier__$f = undefined;
@@ -8133,6 +8157,8 @@ var IconService = {
8133
8157
  Launch20,
8134
8158
  // open app, open external link
8135
8159
  Upgrade20,
8160
+ // update
8161
+ Upgrade32,
8136
8162
  Settings16,
8137
8163
  Settings20,
8138
8164
  ChevronDown20,
@@ -8142,6 +8168,7 @@ var IconService = {
8142
8168
  Information16,
8143
8169
  // info
8144
8170
  Information20,
8171
+ InformationFilled16,
8145
8172
  Application20,
8146
8173
  // apps, module instances and software center
8147
8174
  Application32,