@nethserver/ns8-ui-lib 0.1.32 → 1.0.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.
@@ -1181,19 +1181,13 @@ var __vue_render__$C = function () {
1181
1181
  class: _vm.carbonPrefix + "--inline-notification__icon"
1182
1182
  }), _vm._v(" "), _c('div', {
1183
1183
  class: _vm.carbonPrefix + "--inline-notification__text-wrapper"
1184
- }, [_vm.title ? _c('p', {
1185
- class: _vm.carbonPrefix + "--inline-notification__title title",
1186
- domProps: {
1187
- "innerHTML": _vm._s(_vm.title)
1188
- }
1189
- }) : _vm._e(), _vm._v(" "), _vm.description ? _c('p', {
1184
+ }, [_vm.$slots.title || _vm.title ? _c('p', {
1185
+ class: _vm.carbonPrefix + "--inline-notification__title title"
1186
+ }, [_vm.$slots.title ? _vm._t("title") : _c('span', [_vm._v(_vm._s(_vm.title))])], 2) : _vm._e(), _vm._v(" "), _vm.$slots.description || _vm.description ? _c('p', {
1190
1187
  class: [_vm.carbonPrefix + "--inline-notification__subtitle", {
1191
1188
  'mg-right': _vm.loading || _vm.timer
1192
- }],
1193
- domProps: {
1194
- "innerHTML": _vm._s(_vm.description)
1195
- }
1196
- }) : _vm._e(), _vm._v(" "), _vm.loading ? _c('p', {
1189
+ }]
1190
+ }, [_vm.$slots.description ? _vm._t("description") : _c('span', [_vm._v(_vm._s(_vm.description))])], 2) : _vm._e(), _vm._v(" "), _vm.loading ? _c('p', {
1197
1191
  staticClass: "loader"
1198
1192
  }) : _vm._e(), _vm._v(" "), _vm.timer ? _c('p', [_c('NsCircleTimer', {
1199
1193
  attrs: {
@@ -1234,8 +1228,8 @@ var __vue_staticRenderFns__$C = [];
1234
1228
 
1235
1229
  const __vue_inject_styles__$F = function (inject) {
1236
1230
  if (!inject) return;
1237
- inject("data-v-20e6c586_0", {
1238
- source: ".title[data-v-20e6c586]{margin-right:.75rem;margin-bottom:.2rem;font-size:.875rem!important;font-weight:600!important}.mg-right[data-v-20e6c586]{margin-right:.75rem}.action-button[data-v-20e6c586]{margin-right:.5rem}.bx--inline-notification__text-wrapper p[data-v-20e6c586]{padding-right:0!important}",
1231
+ inject("data-v-55c5000a_0", {
1232
+ 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}",
1239
1233
  map: undefined,
1240
1234
  media: undefined
1241
1235
  });
@@ -1243,7 +1237,7 @@ const __vue_inject_styles__$F = function (inject) {
1243
1237
  /* scoped */
1244
1238
 
1245
1239
 
1246
- const __vue_scope_id__$F = "data-v-20e6c586";
1240
+ const __vue_scope_id__$F = "data-v-55c5000a";
1247
1241
  /* module identifier */
1248
1242
 
1249
1243
  const __vue_module_identifier__$F = undefined;
@@ -6400,11 +6394,7 @@ var __vue_render__$z = function () {
6400
6394
  class: [_vm.carbonPrefix + "--toast-notification__subtitle", "notification-description-and-progress", "row", {
6401
6395
  'fix-margin-bottom': _vm.actionLabel || _vm.isProgressShown
6402
6396
  }]
6403
- }, [_c('span', {
6404
- domProps: {
6405
- "innerHTML": _vm._s(_vm.description)
6406
- }
6407
- }), _vm._v(" "), _vm.isProgressShown ? _c('div', {
6397
+ }, [_vm.$slots.description ? _vm._t("description") : _c('span', [_vm._v(_vm._s(_vm.description))]), _vm._v(" "), _vm.isProgressShown ? _c('div', {
6408
6398
  staticClass: "progress"
6409
6399
  }, [_c('NsProgressBar', {
6410
6400
  attrs: {
@@ -6415,7 +6405,7 @@ var __vue_render__$z = function () {
6415
6405
  staticClass: "progress-bar-spacer"
6416
6406
  }), _vm._v(" "), _vm.progress ? _c('div', {
6417
6407
  staticClass: "progress-number"
6418
- }, [_vm._v(_vm._s(_vm.progress) + " %")]) : _vm._e()], 1) : _vm._e()]), _vm._v(" "), _vm.isCancelShown && _vm.isProgressShown ? _c('div', {
6408
+ }, [_vm._v(_vm._s(_vm.progress) + " %")]) : _vm._e()], 1) : _vm._e()], 2), _vm._v(" "), _vm.isCancelShown && _vm.isProgressShown ? _c('div', {
6419
6409
  class: [_vm.carbonPrefix + "--toast-notification__caption", "action", "row"]
6420
6410
  }, [_c('button', {
6421
6411
  class: [_vm.carbonPrefix + "--inline-notification__action-button", _vm.carbonPrefix + "--btn", _vm.carbonPrefix + "--btn--sm", {
@@ -6474,11 +6464,11 @@ var __vue_staticRenderFns__$z = [];
6474
6464
 
6475
6465
  const __vue_inject_styles__$B = function (inject) {
6476
6466
  if (!inject) return;
6477
- inject("data-v-7d4a3b16_0", {
6478
- source: ".notification[data-v-7d4a3b16]{margin-bottom:0;margin-right:0}.action[data-v-7d4a3b16]{padding-top:0;margin-bottom:0}.bx--toast-notification .bx--inline-notification__action-button[data-v-7d4a3b16]{margin-left:-1rem}.bx--toast-notification .bx--inline-notification__action-button.bx--btn--danger[data-v-7d4a3b16]{margin:.5rem 0 .5rem -1rem}.notification-description-and-progress[data-v-7d4a3b16]{margin-top:.75rem;margin-bottom:.75rem}.fix-margin-bottom[data-v-7d4a3b16]{margin-bottom:0}.progress[data-v-7d4a3b16]{margin-top:.75rem}.progress-bar-spacer[data-v-7d4a3b16]{height:.5rem}.cv-notifiation.bx--toast-notification.notification[data-v-7d4a3b16]{width:26vw;min-width:20rem;margin-top:0}.notification-drawer .cv-notifiation.bx--toast-notification.notification[data-v-7d4a3b16]{margin-top:1rem}.notification-drawer .cv-notifiation.bx--toast-notification.notification[data-v-7d4a3b16]{width:100%;cursor:pointer}.notification-read[data-v-7d4a3b16]{border-color:#8d8d8d;color:#c6c6c6}.notification-read .bx--toast-notification__icon[data-v-7d4a3b16]{fill:currentColor}.notification-read .bx--toast-notification__subtitle[data-v-7d4a3b16]{color:#c6c6c6}.notification-read .bx--toast-notification__title[data-v-7d4a3b16]{font-weight:400}.cv-notifiation .timestamp[data-v-7d4a3b16]{margin-bottom:.75rem;line-height:1.29;color:#fff;text-decoration:underline}.cv-notifiation .timestamp button[data-v-7d4a3b16]{color:#c6c6c6}.bx--tooltip__trigger[data-v-7d4a3b16]:not(.bx--btn--icon-only){font-size:inherit}.cv-notifiation .timestamp .bx--tooltip__trigger[data-v-7d4a3b16]::before{border-bottom-color:#161616}div.row[data-v-7d4a3b16]:last-child{margin-bottom:1.5rem}.bx--toast-notification__details[data-v-7d4a3b16]{flex-grow:1}",
6467
+ inject("data-v-25370942_0", {
6468
+ source: ".notification[data-v-25370942]{margin-bottom:0;margin-right:0}.action[data-v-25370942]{padding-top:0;margin-bottom:0}.bx--toast-notification .bx--inline-notification__action-button[data-v-25370942]{margin-left:-1rem}.bx--toast-notification .bx--inline-notification__action-button.bx--btn--danger[data-v-25370942]{margin:.5rem 0 .5rem -1rem}.notification-description-and-progress[data-v-25370942]{margin-top:.75rem;margin-bottom:.75rem}.fix-margin-bottom[data-v-25370942]{margin-bottom:0}.progress[data-v-25370942]{margin-top:.75rem}.progress-bar-spacer[data-v-25370942]{height:.5rem}.cv-notifiation.bx--toast-notification.notification[data-v-25370942]{width:26vw;min-width:20rem;margin-top:0}.notification-drawer .cv-notifiation.bx--toast-notification.notification[data-v-25370942]{margin-top:1rem}.notification-drawer .cv-notifiation.bx--toast-notification.notification[data-v-25370942]{width:100%;cursor:pointer}.notification-read[data-v-25370942]{border-color:#8d8d8d;color:#c6c6c6}.notification-read .bx--toast-notification__icon[data-v-25370942]{fill:currentColor}.notification-read .bx--toast-notification__subtitle[data-v-25370942]{color:#c6c6c6}.notification-read .bx--toast-notification__title[data-v-25370942]{font-weight:400}.cv-notifiation .timestamp[data-v-25370942]{margin-bottom:.75rem;line-height:1.29;color:#fff;text-decoration:underline}.cv-notifiation .timestamp button[data-v-25370942]{color:#c6c6c6}.bx--tooltip__trigger[data-v-25370942]:not(.bx--btn--icon-only){font-size:inherit}.cv-notifiation .timestamp .bx--tooltip__trigger[data-v-25370942]::before{border-bottom-color:#161616}div.row[data-v-25370942]:last-child{margin-bottom:1.5rem}.bx--toast-notification__details[data-v-25370942]{flex-grow:1}",
6479
6469
  map: undefined,
6480
6470
  media: undefined
6481
- }), inject("data-v-7d4a3b16_1", {
6471
+ }), inject("data-v-25370942_1", {
6482
6472
  source: ".cv-notifiation .timestamp button span{background-color:#161616!important;border-left:1px solid #393939;border-right:1px solid #393939;border-bottom:1px solid #393939}",
6483
6473
  map: undefined,
6484
6474
  media: undefined
@@ -6487,7 +6477,7 @@ const __vue_inject_styles__$B = function (inject) {
6487
6477
  /* scoped */
6488
6478
 
6489
6479
 
6490
- const __vue_scope_id__$B = "data-v-7d4a3b16";
6480
+ const __vue_scope_id__$B = "data-v-25370942";
6491
6481
  /* module identifier */
6492
6482
 
6493
6483
  const __vue_module_identifier__$B = undefined;
@@ -6614,7 +6604,7 @@ var __vue_render__$y = function () {
6614
6604
  staticClass: "row"
6615
6605
  }, [_c('h3', {
6616
6606
  staticClass: "title"
6617
- }, [_vm._v(_vm._s(_vm.title))]), _vm._v(" "), _vm.titleTooltip ? _c('cv-interactive-tooltip', {
6607
+ }, [_vm._v(_vm._s(_vm.title))]), _vm._v(" "), _vm.$slots.titleTooltip || _vm.titleTooltip ? _c('cv-interactive-tooltip', {
6618
6608
  staticClass: "info title-tooltip",
6619
6609
  attrs: {
6620
6610
  "alignment": _vm.titleTooltipAlignment,
@@ -6624,11 +6614,7 @@ var __vue_render__$y = function () {
6624
6614
  slot: "trigger"
6625
6615
  }, [_c('Information16')], 1), _vm._v(" "), _c('template', {
6626
6616
  slot: "content"
6627
- }, [_c('div', {
6628
- domProps: {
6629
- "innerHTML": _vm._s(_vm.titleTooltip)
6630
- }
6631
- })])], 2) : _vm._e()], 1) : _vm._e(), _vm._v(" "), _vm.description ? _c('div', {
6617
+ }, [_vm.$slots.titleTooltip ? _vm._t("titleTooltip") : _c('div', [_vm._v(_vm._s(_vm.titleTooltip))])], 2)], 2) : _vm._e()], 1) : _vm._e(), _vm._v(" "), _vm.description ? _c('div', {
6632
6618
  staticClass: "row"
6633
6619
  }, [_c('div', {
6634
6620
  staticClass: "description"
@@ -6642,8 +6628,8 @@ var __vue_staticRenderFns__$y = [];
6642
6628
 
6643
6629
  const __vue_inject_styles__$A = function (inject) {
6644
6630
  if (!inject) return;
6645
- inject("data-v-e88c3bd6_0", {
6646
- source: ".info-card[data-v-e88c3bd6]{display:flex;flex-direction:column;justify-content:center;min-height:7rem;position:relative}.skeleton[data-v-e88c3bd6]{margin-top:.5rem;margin-left:auto;margin-right:auto}.row[data-v-e88c3bd6]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.title[data-v-e88c3bd6]{margin-left:.25rem;margin-right:.25rem;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title-tooltip[data-v-e88c3bd6]{position:relative;top:-2px}.description[data-v-e88c3bd6]{margin-left:.25rem;margin-right:.25rem}.slot[data-v-e88c3bd6]{margin-top:.5rem}",
6631
+ inject("data-v-44debf3d_0", {
6632
+ source: ".info-card[data-v-44debf3d]{display:flex;flex-direction:column;justify-content:center;min-height:7rem;position:relative}.skeleton[data-v-44debf3d]{margin-top:.5rem;margin-left:auto;margin-right:auto}.row[data-v-44debf3d]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.title[data-v-44debf3d]{margin-left:.25rem;margin-right:.25rem;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title-tooltip[data-v-44debf3d]{position:relative;top:-2px}.description[data-v-44debf3d]{margin-left:.25rem;margin-right:.25rem}.slot[data-v-44debf3d]{margin-top:.5rem}",
6647
6633
  map: undefined,
6648
6634
  media: undefined
6649
6635
  });
@@ -6651,7 +6637,7 @@ const __vue_inject_styles__$A = function (inject) {
6651
6637
  /* scoped */
6652
6638
 
6653
6639
 
6654
- const __vue_scope_id__$A = "data-v-e88c3bd6";
6640
+ const __vue_scope_id__$A = "data-v-44debf3d";
6655
6641
  /* module identifier */
6656
6642
 
6657
6643
  const __vue_module_identifier__$A = undefined;
@@ -8601,7 +8587,7 @@ var script$i = {
8601
8587
  if (this.typeToConfirm) {
8602
8588
  return this.typeToConfirm;
8603
8589
  } else {
8604
- return `Type <strong>${this.name}</strong> to confirm deletion`;
8590
+ return `Type '${this.name}' to confirm deletion`;
8605
8591
  }
8606
8592
  }
8607
8593
 
@@ -8662,16 +8648,9 @@ var __vue_render__$q = function () {
8662
8648
  "title": _vm.warning,
8663
8649
  "showCloseButton": false
8664
8650
  }
8665
- }), _vm._v(" "), _c('div', {
8666
- domProps: {
8667
- "innerHTML": _vm._s(_vm.description)
8668
- }
8669
- }), _vm._v(" "), _vm._t("explanation"), _vm._v(" "), _c('div', {
8670
- staticClass: "type-to-confirm",
8671
- domProps: {
8672
- "innerHTML": _vm._s(_vm.typeToConfirmMessage)
8673
- }
8674
- }), _vm._v(" "), _c('cv-form', {
8651
+ }), _vm._v(" "), _vm.$slots.description ? _vm._t("description") : _c('div', [_vm._v(_vm._s(_vm.description))]), _vm._v(" "), _vm._t("explanation"), _vm._v(" "), _c('div', {
8652
+ staticClass: "type-to-confirm"
8653
+ }, [_vm._v(_vm._s(_vm.typeToConfirmMessage))]), _vm._v(" "), _c('cv-form', {
8675
8654
  on: {
8676
8655
  "submit": function ($event) {
8677
8656
  $event.preventDefault();
@@ -8707,8 +8686,8 @@ var __vue_staticRenderFns__$q = [];
8707
8686
 
8708
8687
  const __vue_inject_styles__$s = function (inject) {
8709
8688
  if (!inject) return;
8710
- inject("data-v-3b643702_0", {
8711
- source: ".type-to-confirm[data-v-3b643702]{margin-top:2rem}",
8689
+ inject("data-v-1efc7695_0", {
8690
+ source: ".type-to-confirm[data-v-1efc7695]{margin-top:2rem}",
8712
8691
  map: undefined,
8713
8692
  media: undefined
8714
8693
  });
@@ -8716,7 +8695,7 @@ const __vue_inject_styles__$s = function (inject) {
8716
8695
  /* scoped */
8717
8696
 
8718
8697
 
8719
- const __vue_scope_id__$s = "data-v-3b643702";
8698
+ const __vue_scope_id__$s = "data-v-1efc7695";
8720
8699
  /* module identifier */
8721
8700
 
8722
8701
  const __vue_module_identifier__$s = undefined;
@@ -22374,11 +22353,7 @@ var __vue_render__$c = function () {
22374
22353
  class: [_vm.carbonPrefix + "--checkbox-label-text", (_obj$2 = {}, _obj$2[_vm.carbonPrefix + "--visually-hidden"] = _vm.hideLabel, _obj$2)]
22375
22354
  }, [_c('div', {
22376
22355
  staticClass: "label-with-tooltip"
22377
- }, [_c('span', {
22378
- domProps: {
22379
- "innerHTML": _vm._s(_vm.label)
22380
- }
22381
- }), _vm._v(" "), _vm.hasTooltipSlot ? _c('cv-interactive-tooltip', {
22356
+ }, [_vm.$slots.label ? _vm._t("label") : _c('span', [_vm._v(_vm._s(_vm.label))]), _vm._v(" "), _vm.hasTooltipSlot ? _c('cv-interactive-tooltip', {
22382
22357
  staticClass: "info",
22383
22358
  attrs: {
22384
22359
  "alignment": _vm.tooltipAlignment,
@@ -22386,7 +22361,7 @@ var __vue_render__$c = function () {
22386
22361
  }
22387
22362
  }, [_c('template', {
22388
22363
  slot: "content"
22389
- }, [_vm._t("tooltip")], 2)], 2) : _vm._e()], 1)])])]);
22364
+ }, [_vm._t("tooltip")], 2)], 2) : _vm._e()], 2)])])]);
22390
22365
  };
22391
22366
 
22392
22367
  var __vue_staticRenderFns__$c = [];
@@ -22394,11 +22369,11 @@ var __vue_staticRenderFns__$c = [];
22394
22369
 
22395
22370
  const __vue_inject_styles__$d = function (inject) {
22396
22371
  if (!inject) return;
22397
- inject("data-v-5df22176_0", {
22398
- source: ".label-with-tooltip[data-v-5df22176]{display:flex}",
22372
+ inject("data-v-34eae482_0", {
22373
+ source: ".label-with-tooltip[data-v-34eae482]{display:flex}",
22399
22374
  map: undefined,
22400
22375
  media: undefined
22401
- }), inject("data-v-5df22176_1", {
22376
+ }), inject("data-v-34eae482_1", {
22402
22377
  source: ".ns-checkbox .bx--tooltip__label .bx--tooltip__trigger{margin-left:.25rem}",
22403
22378
  map: undefined,
22404
22379
  media: undefined
@@ -22407,7 +22382,7 @@ const __vue_inject_styles__$d = function (inject) {
22407
22382
  /* scoped */
22408
22383
 
22409
22384
 
22410
- const __vue_scope_id__$d = "data-v-5df22176";
22385
+ const __vue_scope_id__$d = "data-v-34eae482";
22411
22386
  /* module identifier */
22412
22387
 
22413
22388
  const __vue_module_identifier__$d = undefined;