@nethserver/ns8-ui-lib 0.1.31 → 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.
- package/dist/ns8-ui-lib.esm.js +65 -70
- package/dist/ns8-ui-lib.min.js +1 -1
- package/dist/ns8-ui-lib.ssr.js +76 -67
- package/package.json +1 -1
- package/src/lib-components/NsCheckbox.vue +7 -6
- package/src/lib-components/NsDangerDeleteModal.vue +22 -21
- package/src/lib-components/NsInfoCard.vue +3 -2
- package/src/lib-components/NsInlineNotification.vue +20 -16
- package/src/lib-components/NsPasswordInput.vue +29 -4
- package/src/lib-components/NsToastNotification.vue +18 -17
package/dist/ns8-ui-lib.esm.js
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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-
|
|
1238
|
-
source: ".title[data-v-
|
|
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-
|
|
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-
|
|
6478
|
-
source: ".notification[data-v-
|
|
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-
|
|
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-
|
|
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-
|
|
6646
|
-
source: ".info-card[data-v-
|
|
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-
|
|
6640
|
+
const __vue_scope_id__$A = "data-v-44debf3d";
|
|
6655
6641
|
/* module identifier */
|
|
6656
6642
|
|
|
6657
6643
|
const __vue_module_identifier__$A = undefined;
|
|
@@ -7749,6 +7735,10 @@ var script$m = {
|
|
|
7749
7735
|
default: undefined
|
|
7750
7736
|
},
|
|
7751
7737
|
light: Boolean,
|
|
7738
|
+
checkComplexity: {
|
|
7739
|
+
type: Boolean,
|
|
7740
|
+
default: true
|
|
7741
|
+
},
|
|
7752
7742
|
minLength: {
|
|
7753
7743
|
type: Number,
|
|
7754
7744
|
default: 8
|
|
@@ -7796,19 +7786,35 @@ var script$m = {
|
|
|
7796
7786
|
},
|
|
7797
7787
|
|
|
7798
7788
|
isLowercaseOk() {
|
|
7799
|
-
|
|
7789
|
+
if (!this.checkComplexity) {
|
|
7790
|
+
return true;
|
|
7791
|
+
} else {
|
|
7792
|
+
return /[a-z]/.test(this.value);
|
|
7793
|
+
}
|
|
7800
7794
|
},
|
|
7801
7795
|
|
|
7802
7796
|
isUppercaseOk() {
|
|
7803
|
-
|
|
7797
|
+
if (!this.checkComplexity) {
|
|
7798
|
+
return true;
|
|
7799
|
+
} else {
|
|
7800
|
+
return /[A-Z]/.test(this.value);
|
|
7801
|
+
}
|
|
7804
7802
|
},
|
|
7805
7803
|
|
|
7806
7804
|
isNumberOk() {
|
|
7807
|
-
|
|
7805
|
+
if (!this.checkComplexity) {
|
|
7806
|
+
return true;
|
|
7807
|
+
} else {
|
|
7808
|
+
return /\d/.test(this.value);
|
|
7809
|
+
}
|
|
7808
7810
|
},
|
|
7809
7811
|
|
|
7810
7812
|
isSymbolOk() {
|
|
7811
|
-
|
|
7813
|
+
if (!this.checkComplexity) {
|
|
7814
|
+
return true;
|
|
7815
|
+
} else {
|
|
7816
|
+
return /\W|_/.test(this.value);
|
|
7817
|
+
}
|
|
7812
7818
|
},
|
|
7813
7819
|
|
|
7814
7820
|
isEqualOk() {
|
|
@@ -7900,37 +7906,37 @@ var __vue_render__$u = function () {
|
|
|
7900
7906
|
}
|
|
7901
7907
|
}), _vm._v(" "), _c('div', {
|
|
7902
7908
|
staticClass: "password-meter"
|
|
7903
|
-
}, [_c('span', {
|
|
7909
|
+
}, [_vm.minLength !== 0 ? _c('span', {
|
|
7904
7910
|
class: ['requirement', {
|
|
7905
7911
|
'requirement-ok': _vm.isLengthOk,
|
|
7906
7912
|
'requirement-light': _vm.light,
|
|
7907
7913
|
'requirement-disabled': _vm.disabled
|
|
7908
7914
|
}]
|
|
7909
|
-
}, [_vm._v(_vm._s(_vm.lengthLabel))]), _vm._v(" "), _c('span', {
|
|
7915
|
+
}, [_vm._v(_vm._s(_vm.lengthLabel))]) : _vm._e(), _vm._v(" "), _vm.checkComplexity ? _c('span', {
|
|
7910
7916
|
class: ['requirement', {
|
|
7911
7917
|
'requirement-ok': _vm.isLowercaseOk,
|
|
7912
7918
|
'requirement-light': _vm.light,
|
|
7913
7919
|
'requirement-disabled': _vm.disabled
|
|
7914
7920
|
}]
|
|
7915
|
-
}, [_vm._v(_vm._s(_vm.lowercaseLabel))]), _vm._v(" "), _c('span', {
|
|
7921
|
+
}, [_vm._v(_vm._s(_vm.lowercaseLabel))]) : _vm._e(), _vm._v(" "), _vm.checkComplexity ? _c('span', {
|
|
7916
7922
|
class: ['requirement', {
|
|
7917
7923
|
'requirement-ok': _vm.isUppercaseOk,
|
|
7918
7924
|
'requirement-light': _vm.light,
|
|
7919
7925
|
'requirement-disabled': _vm.disabled
|
|
7920
7926
|
}]
|
|
7921
|
-
}, [_vm._v(_vm._s(_vm.uppercaseLabel))]), _vm._v(" "), _c('span', {
|
|
7927
|
+
}, [_vm._v(_vm._s(_vm.uppercaseLabel))]) : _vm._e(), _vm._v(" "), _vm.checkComplexity ? _c('span', {
|
|
7922
7928
|
class: ['requirement', {
|
|
7923
7929
|
'requirement-ok': _vm.isNumberOk,
|
|
7924
7930
|
'requirement-light': _vm.light,
|
|
7925
7931
|
'requirement-disabled': _vm.disabled
|
|
7926
7932
|
}]
|
|
7927
|
-
}, [_vm._v(_vm._s(_vm.numberLabel))]), _vm._v(" "), _c('span', {
|
|
7933
|
+
}, [_vm._v(_vm._s(_vm.numberLabel))]) : _vm._e(), _vm._v(" "), _vm.checkComplexity ? _c('span', {
|
|
7928
7934
|
class: ['requirement', {
|
|
7929
7935
|
'requirement-ok': _vm.isSymbolOk,
|
|
7930
7936
|
'requirement-light': _vm.light,
|
|
7931
7937
|
'requirement-disabled': _vm.disabled
|
|
7932
7938
|
}]
|
|
7933
|
-
}, [_vm._v(_vm._s(_vm.symbolLabel))])])], 1), _vm._v(" "), _c('div', {
|
|
7939
|
+
}, [_vm._v(_vm._s(_vm.symbolLabel))]) : _vm._e()])], 1), _vm._v(" "), _c('div', {
|
|
7934
7940
|
staticClass: "confirm-password-container"
|
|
7935
7941
|
}, [_c('NsTextInput', {
|
|
7936
7942
|
ref: "confirmPassword",
|
|
@@ -7969,8 +7975,8 @@ var __vue_staticRenderFns__$u = [];
|
|
|
7969
7975
|
|
|
7970
7976
|
const __vue_inject_styles__$w = function (inject) {
|
|
7971
7977
|
if (!inject) return;
|
|
7972
|
-
inject("data-v-
|
|
7973
|
-
source: ".new-password-container[data-v-
|
|
7978
|
+
inject("data-v-2326af46_0", {
|
|
7979
|
+
source: ".new-password-container[data-v-2326af46]{margin-bottom:1rem}.new-password[data-v-2326af46]{margin-bottom:.25rem}.confirm-password[data-v-2326af46]{margin-bottom:.25rem}.password-meter[data-v-2326af46]{display:flex}@media (min-width:672px){.password-meter[data-v-2326af46]{max-width:38rem}}.requirement[data-v-2326af46]{padding:.2rem;margin-left:.2rem;margin-right:.2rem;background-color:#f4f4f4;text-align:center;font-size:.75rem;line-height:1.34;letter-spacing:.32px}.requirement-light[data-v-2326af46]{background-color:#fff}.requirement[data-v-2326af46]:first-child{margin-left:0}.requirement-ok[data-v-2326af46]{color:#fff;background-color:#198038}.requirement-disabled[data-v-2326af46]{color:#c6c6c6;background-color:#f4f4f4}",
|
|
7974
7980
|
map: undefined,
|
|
7975
7981
|
media: undefined
|
|
7976
7982
|
});
|
|
@@ -7978,7 +7984,7 @@ const __vue_inject_styles__$w = function (inject) {
|
|
|
7978
7984
|
/* scoped */
|
|
7979
7985
|
|
|
7980
7986
|
|
|
7981
|
-
const __vue_scope_id__$w = "data-v-
|
|
7987
|
+
const __vue_scope_id__$w = "data-v-2326af46";
|
|
7982
7988
|
/* module identifier */
|
|
7983
7989
|
|
|
7984
7990
|
const __vue_module_identifier__$w = undefined;
|
|
@@ -8581,7 +8587,7 @@ var script$i = {
|
|
|
8581
8587
|
if (this.typeToConfirm) {
|
|
8582
8588
|
return this.typeToConfirm;
|
|
8583
8589
|
} else {
|
|
8584
|
-
return `Type
|
|
8590
|
+
return `Type '${this.name}' to confirm deletion`;
|
|
8585
8591
|
}
|
|
8586
8592
|
}
|
|
8587
8593
|
|
|
@@ -8642,16 +8648,9 @@ var __vue_render__$q = function () {
|
|
|
8642
8648
|
"title": _vm.warning,
|
|
8643
8649
|
"showCloseButton": false
|
|
8644
8650
|
}
|
|
8645
|
-
}), _vm._v(" "), _c('div', {
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
}
|
|
8649
|
-
}), _vm._v(" "), _vm._t("explanation"), _vm._v(" "), _c('div', {
|
|
8650
|
-
staticClass: "type-to-confirm",
|
|
8651
|
-
domProps: {
|
|
8652
|
-
"innerHTML": _vm._s(_vm.typeToConfirmMessage)
|
|
8653
|
-
}
|
|
8654
|
-
}), _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', {
|
|
8655
8654
|
on: {
|
|
8656
8655
|
"submit": function ($event) {
|
|
8657
8656
|
$event.preventDefault();
|
|
@@ -8687,8 +8686,8 @@ var __vue_staticRenderFns__$q = [];
|
|
|
8687
8686
|
|
|
8688
8687
|
const __vue_inject_styles__$s = function (inject) {
|
|
8689
8688
|
if (!inject) return;
|
|
8690
|
-
inject("data-v-
|
|
8691
|
-
source: ".type-to-confirm[data-v-
|
|
8689
|
+
inject("data-v-1efc7695_0", {
|
|
8690
|
+
source: ".type-to-confirm[data-v-1efc7695]{margin-top:2rem}",
|
|
8692
8691
|
map: undefined,
|
|
8693
8692
|
media: undefined
|
|
8694
8693
|
});
|
|
@@ -8696,7 +8695,7 @@ const __vue_inject_styles__$s = function (inject) {
|
|
|
8696
8695
|
/* scoped */
|
|
8697
8696
|
|
|
8698
8697
|
|
|
8699
|
-
const __vue_scope_id__$s = "data-v-
|
|
8698
|
+
const __vue_scope_id__$s = "data-v-1efc7695";
|
|
8700
8699
|
/* module identifier */
|
|
8701
8700
|
|
|
8702
8701
|
const __vue_module_identifier__$s = undefined;
|
|
@@ -22354,11 +22353,7 @@ var __vue_render__$c = function () {
|
|
|
22354
22353
|
class: [_vm.carbonPrefix + "--checkbox-label-text", (_obj$2 = {}, _obj$2[_vm.carbonPrefix + "--visually-hidden"] = _vm.hideLabel, _obj$2)]
|
|
22355
22354
|
}, [_c('div', {
|
|
22356
22355
|
staticClass: "label-with-tooltip"
|
|
22357
|
-
}, [_c('span', {
|
|
22358
|
-
domProps: {
|
|
22359
|
-
"innerHTML": _vm._s(_vm.label)
|
|
22360
|
-
}
|
|
22361
|
-
}), _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', {
|
|
22362
22357
|
staticClass: "info",
|
|
22363
22358
|
attrs: {
|
|
22364
22359
|
"alignment": _vm.tooltipAlignment,
|
|
@@ -22366,7 +22361,7 @@ var __vue_render__$c = function () {
|
|
|
22366
22361
|
}
|
|
22367
22362
|
}, [_c('template', {
|
|
22368
22363
|
slot: "content"
|
|
22369
|
-
}, [_vm._t("tooltip")], 2)], 2) : _vm._e()],
|
|
22364
|
+
}, [_vm._t("tooltip")], 2)], 2) : _vm._e()], 2)])])]);
|
|
22370
22365
|
};
|
|
22371
22366
|
|
|
22372
22367
|
var __vue_staticRenderFns__$c = [];
|
|
@@ -22374,11 +22369,11 @@ var __vue_staticRenderFns__$c = [];
|
|
|
22374
22369
|
|
|
22375
22370
|
const __vue_inject_styles__$d = function (inject) {
|
|
22376
22371
|
if (!inject) return;
|
|
22377
|
-
inject("data-v-
|
|
22378
|
-
source: ".label-with-tooltip[data-v-
|
|
22372
|
+
inject("data-v-34eae482_0", {
|
|
22373
|
+
source: ".label-with-tooltip[data-v-34eae482]{display:flex}",
|
|
22379
22374
|
map: undefined,
|
|
22380
22375
|
media: undefined
|
|
22381
|
-
}), inject("data-v-
|
|
22376
|
+
}), inject("data-v-34eae482_1", {
|
|
22382
22377
|
source: ".ns-checkbox .bx--tooltip__label .bx--tooltip__trigger{margin-left:.25rem}",
|
|
22383
22378
|
map: undefined,
|
|
22384
22379
|
media: undefined
|
|
@@ -22387,7 +22382,7 @@ const __vue_inject_styles__$d = function (inject) {
|
|
|
22387
22382
|
/* scoped */
|
|
22388
22383
|
|
|
22389
22384
|
|
|
22390
|
-
const __vue_scope_id__$d = "data-v-
|
|
22385
|
+
const __vue_scope_id__$d = "data-v-34eae482";
|
|
22391
22386
|
/* module identifier */
|
|
22392
22387
|
|
|
22393
22388
|
const __vue_module_identifier__$d = undefined;
|