@nethserver/ns8-ui-lib 0.0.66 → 0.0.67

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.
@@ -6299,6 +6299,10 @@ var script$f = {
6299
6299
  type: String,
6300
6300
  required: false
6301
6301
  },
6302
+ titleTooltip: {
6303
+ type: String,
6304
+ required: false
6305
+ },
6302
6306
  icon: {
6303
6307
  type: [String, Object],
6304
6308
  default: undefined,
@@ -6372,9 +6376,17 @@ var __vue_render__$l = function () {
6372
6376
  }
6373
6377
  })], 1) : [_vm.title ? _c('div', {
6374
6378
  staticClass: "row"
6379
+ }, [_vm.titleTooltip ? _c('cv-tooltip', {
6380
+ attrs: {
6381
+ "alignment": "center",
6382
+ "direction": "bottom",
6383
+ "tip": _vm.titleTooltip
6384
+ }
6375
6385
  }, [_c('h3', {
6376
6386
  staticClass: "title"
6377
- }, [_vm._v(_vm._s(_vm.title))])]) : _vm._e(), _vm._v(" "), _vm.description ? _c('div', {
6387
+ }, [_vm._v("\n " + _vm._s(_vm.title) + "\n ")])]) : _c('h3', {
6388
+ staticClass: "title"
6389
+ }, [_vm._v(_vm._s(_vm.title))])], 1) : _vm._e(), _vm._v(" "), _vm.description ? _c('div', {
6378
6390
  staticClass: "row"
6379
6391
  }, [_c('div', {
6380
6392
  staticClass: "description"
@@ -6388,8 +6400,8 @@ var __vue_staticRenderFns__$l = [];
6388
6400
 
6389
6401
  const __vue_inject_styles__$l = function (inject) {
6390
6402
  if (!inject) return;
6391
- inject("data-v-34e69a80_0", {
6392
- source: ".info-card[data-v-34e69a80]{display:flex;flex-direction:column;justify-content:center;min-height:7rem;position:relative}.skeleton[data-v-34e69a80]{margin-top:.5rem;margin-left:auto;margin-right:auto}.row[data-v-34e69a80]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.title[data-v-34e69a80]{margin-left:.25rem;margin-right:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.description[data-v-34e69a80]{margin-left:.25rem;margin-right:.25rem}.slot[data-v-34e69a80]{margin-top:.5rem}",
6403
+ inject("data-v-aefc1c3e_0", {
6404
+ source: ".info-card[data-v-aefc1c3e]{display:flex;flex-direction:column;justify-content:center;min-height:7rem;position:relative}.skeleton[data-v-aefc1c3e]{margin-top:.5rem;margin-left:auto;margin-right:auto}.row[data-v-aefc1c3e]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.title[data-v-aefc1c3e]{margin-left:.25rem;margin-right:.25rem;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.description[data-v-aefc1c3e]{margin-left:.25rem;margin-right:.25rem}.slot[data-v-aefc1c3e]{margin-top:.5rem}",
6393
6405
  map: undefined,
6394
6406
  media: undefined
6395
6407
  });
@@ -6397,7 +6409,7 @@ const __vue_inject_styles__$l = function (inject) {
6397
6409
  /* scoped */
6398
6410
 
6399
6411
 
6400
- const __vue_scope_id__$l = "data-v-34e69a80";
6412
+ const __vue_scope_id__$l = "data-v-aefc1c3e";
6401
6413
  /* module identifier */
6402
6414
 
6403
6415
  const __vue_module_identifier__$l = undefined;
@@ -6685,8 +6697,8 @@ var __vue_staticRenderFns__$j = [];
6685
6697
 
6686
6698
  const __vue_inject_styles__$j = function (inject) {
6687
6699
  if (!inject) return;
6688
- inject("data-v-3dfcfe29_0", {
6689
- source: ".service-card[data-v-3dfcfe29]{display:flex;flex-direction:column;justify-content:center}.row[data-v-3dfcfe29]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.service-name[data-v-3dfcfe29]{margin-left:.25rem;margin-right:.25rem}.success-icon[data-v-3dfcfe29]{margin-right:.25rem}.error-icon[data-v-3dfcfe29]{margin-right:.25rem}.warning-icon[data-v-3dfcfe29]{margin-right:.25rem}.stats[data-v-3dfcfe29]{display:flex;align-items:center;margin-left:.5rem;margin-right:.5rem}",
6700
+ inject("data-v-bf751eca_0", {
6701
+ source: ".service-card[data-v-bf751eca]{display:flex;flex-direction:column;justify-content:center}.row[data-v-bf751eca]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.service-name[data-v-bf751eca]{margin-left:.25rem;margin-right:.25rem;margin-bottom:.5rem}.success-icon[data-v-bf751eca]{margin-right:.25rem}.error-icon[data-v-bf751eca]{margin-right:.25rem}.warning-icon[data-v-bf751eca]{margin-right:.25rem}.stats[data-v-bf751eca]{display:flex;align-items:center;margin-left:.5rem;margin-right:.5rem}",
6690
6702
  map: undefined,
6691
6703
  media: undefined
6692
6704
  });
@@ -6694,7 +6706,7 @@ const __vue_inject_styles__$j = function (inject) {
6694
6706
  /* scoped */
6695
6707
 
6696
6708
 
6697
- const __vue_scope_id__$j = "data-v-3dfcfe29";
6709
+ const __vue_scope_id__$j = "data-v-bf751eca";
6698
6710
  /* module identifier */
6699
6711
 
6700
6712
  const __vue_module_identifier__$j = undefined;
@@ -8457,10 +8469,6 @@ var script$4 = {
8457
8469
  type: String,
8458
8470
  default: "No backup configured"
8459
8471
  },
8460
- scheduleBackupLabel: {
8461
- type: String,
8462
- default: "Configure"
8463
- },
8464
8472
  goToBackupLabel: {
8465
8473
  type: String,
8466
8474
  default: "Go to Backup"
@@ -8622,28 +8630,20 @@ var __vue_render__$a = function () {
8622
8630
  "line-count": 5
8623
8631
  }
8624
8632
  })], 1) : !_vm.backupsContainingInstance.length ? [_c('div', {
8625
- staticClass: "row"
8626
- }, [_c('NsInlineNotification', {
8627
- attrs: {
8628
- "kind": "warning",
8629
- "title": _vm.noBackupMessage,
8630
- "showCloseButton": false,
8631
- "actionLabel": _vm.scheduleBackupLabel
8632
- },
8633
- on: {
8634
- "action": _vm.goToBackup
8635
- }
8636
- })], 1)] : [_c('div', {
8633
+ staticClass: "row no-backup"
8634
+ }, [_c('span', {
8635
+ staticClass: "ns-warning"
8636
+ }, [_vm._v("\n " + _vm._s(_vm.noBackupMessage) + "\n ")])])] : [_c('div', {
8637
8637
  staticClass: "backups"
8638
8638
  }, _vm._l(_vm.backupsContainingInstance, function (backup) {
8639
8639
  return _c('div', {
8640
8640
  key: backup.id,
8641
8641
  staticClass: "backup"
8642
- }, [_c('div', {
8642
+ }, [_vm.backupsContainingInstance.length > 1 ? _c('div', {
8643
8643
  staticClass: "row"
8644
- }, [_vm.backupsContainingInstance.length > 1 ? _c('h5', {
8645
- staticClass: "title mg-top-sm"
8646
- }, [_vm._v("\n " + _vm._s(backup.name) + "\n ")]) : _vm._e()]), _vm._v(" "), _c('div', {
8644
+ }, [_c('h5', {
8645
+ staticClass: "title"
8646
+ }, [_vm._v("\n " + _vm._s(backup.name) + "\n ")])]) : _vm._e(), _vm._v(" "), _c('div', {
8647
8647
  staticClass: "table-wrapper"
8648
8648
  }, [_c('div', {
8649
8649
  staticClass: "table"
@@ -8671,11 +8671,11 @@ var __vue_render__$a = function () {
8671
8671
  "totalSizeLabel": _vm.totalSizeLabel,
8672
8672
  "totalFileCountLabel": _vm.totalFileCountLabel
8673
8673
  }
8674
- }) : _vm._e()], 1)]), _vm._v(" "), _c('div', {
8674
+ }) : _vm._e()], 1)]), _vm._v(" "), _vm.backupsContainingInstance.length > 1 ? _c('div', {
8675
8675
  staticClass: "table-wrapper"
8676
8676
  }, [_c('div', {
8677
8677
  staticClass: "table"
8678
- }, [_vm.backupsContainingInstance.length > 1 ? _c('cv-accordion', {
8678
+ }, [_c('cv-accordion', {
8679
8679
  ref: "accordion",
8680
8680
  refInFor: true
8681
8681
  }, [_c('cv-accordion-item', {
@@ -8696,7 +8696,7 @@ var __vue_render__$a = function () {
8696
8696
  "totalSizeLabel": _vm.totalSizeLabel,
8697
8697
  "totalFileCountLabel": _vm.totalFileCountLabel
8698
8698
  }
8699
- })], 1)], 2)], 1) : _vm._e()], 1)])]);
8699
+ })], 1)], 2)], 1)], 1)]) : _vm._e()]);
8700
8700
  }), 0)], _vm._v(" "), _c('div', [_c('div', {
8701
8701
  staticClass: "row mg-top-sm"
8702
8702
  }, [_c('NsButton', {
@@ -8716,11 +8716,11 @@ var __vue_staticRenderFns__$a = [];
8716
8716
 
8717
8717
  const __vue_inject_styles__$a = function (inject) {
8718
8718
  if (!inject) return;
8719
- inject("data-v-0ada8df8_0", {
8720
- source: ".ns-backup-card[data-v-0ada8df8]{display:flex;flex-direction:column;justify-content:center;min-height:7rem}.backup[data-v-0ada8df8]{margin-bottom:1rem}.backup[data-v-0ada8df8]:last-child{margin-bottom:0}.row[data-v-0ada8df8]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.title[data-v-0ada8df8]{margin-left:.25rem;margin-right:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-wrapper[data-v-0ada8df8]{display:flex;justify-content:center;margin-top:.5rem}.table[data-v-0ada8df8]{display:table}.tr[data-v-0ada8df8]{display:table-row}.td[data-v-0ada8df8]{display:table-cell}.label[data-v-0ada8df8]{padding-right:.75rem;font-weight:700;text-align:right;padding-bottom:.5rem}.status[data-v-0ada8df8]{font-weight:700}.backup-status-icon[data-v-0ada8df8]{margin-right:.25rem}",
8719
+ inject("data-v-9ef09a4e_0", {
8720
+ source: ".ns-backup-card[data-v-9ef09a4e]{display:flex;flex-direction:column;justify-content:center;min-height:7rem}.backup[data-v-9ef09a4e]{margin-bottom:1rem}.backup[data-v-9ef09a4e]:last-child{margin-bottom:0}.row[data-v-9ef09a4e]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.title[data-v-9ef09a4e]{margin-left:.25rem;margin-right:.25rem;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-wrapper[data-v-9ef09a4e]{display:flex;justify-content:center;margin-bottom:.5rem}.table[data-v-9ef09a4e]{display:table}.tr[data-v-9ef09a4e]{display:table-row}.td[data-v-9ef09a4e]{display:table-cell}.label[data-v-9ef09a4e]{padding-right:.75rem;font-weight:700;text-align:right;padding-bottom:.5rem}.status[data-v-9ef09a4e]{font-weight:700}.backup-status-icon[data-v-9ef09a4e]{margin-right:.25rem}.no-backup[data-v-9ef09a4e]{font-weight:700}",
8721
8721
  map: undefined,
8722
8722
  media: undefined
8723
- }), inject("data-v-0ada8df8_1", {
8723
+ }), inject("data-v-9ef09a4e_1", {
8724
8724
  source: ".ns-backup-card .bx--accordion--start .bx--accordion__content{margin-left:0}",
8725
8725
  map: undefined,
8726
8726
  media: undefined
@@ -8729,7 +8729,7 @@ const __vue_inject_styles__$a = function (inject) {
8729
8729
  /* scoped */
8730
8730
 
8731
8731
 
8732
- const __vue_scope_id__$a = "data-v-0ada8df8";
8732
+ const __vue_scope_id__$a = "data-v-9ef09a4e";
8733
8733
  /* module identifier */
8734
8734
 
8735
8735
  const __vue_module_identifier__$a = undefined;
@@ -9091,6 +9091,10 @@ var script = {
9091
9091
  type: String,
9092
9092
  default: "Go to System logs"
9093
9093
  },
9094
+ router: {
9095
+ type: Object,
9096
+ default: null
9097
+ },
9094
9098
  context: {
9095
9099
  type: String,
9096
9100
  default: "cluster",
@@ -9181,8 +9185,8 @@ var script = {
9181
9185
  },
9182
9186
  methods: {
9183
9187
  goToLogs() {
9184
- if (this.$router) {
9185
- this.$router.push(this.logsUrl);
9188
+ if (this.router) {
9189
+ this.router.push(this.logsUrl);
9186
9190
  }
9187
9191
  }
9188
9192
 
@@ -9226,7 +9230,7 @@ var __vue_staticRenderFns__$6 = [];
9226
9230
  const __vue_inject_styles__$6 = undefined;
9227
9231
  /* scoped */
9228
9232
 
9229
- const __vue_scope_id__$6 = "data-v-01132c29";
9233
+ const __vue_scope_id__$6 = "data-v-aec74b8e";
9230
9234
  /* module identifier */
9231
9235
 
9232
9236
  const __vue_module_identifier__$6 = undefined;