@nethserver/ns8-ui-lib 0.1.32 → 1.0.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.
- package/dist/ns8-ui-lib.esm.js +59 -71
- package/dist/ns8-ui-lib.min.js +1 -1
- package/dist/ns8-ui-lib.ssr.js +66 -66
- package/package.json +1 -1
- package/src/lib-components/NsCheckbox.vue +7 -6
- package/src/lib-components/NsComboBox.vue +34 -5
- 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/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;
|
|
@@ -8601,7 +8587,7 @@ var script$i = {
|
|
|
8601
8587
|
if (this.typeToConfirm) {
|
|
8602
8588
|
return this.typeToConfirm;
|
|
8603
8589
|
} else {
|
|
8604
|
-
return `Type
|
|
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
|
-
|
|
8667
|
-
|
|
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-
|
|
8711
|
-
source: ".type-to-confirm[data-v-
|
|
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-
|
|
8698
|
+
const __vue_scope_id__$s = "data-v-1efc7695";
|
|
8720
8699
|
/* module identifier */
|
|
8721
8700
|
|
|
8722
8701
|
const __vue_module_identifier__$s = undefined;
|
|
@@ -21612,7 +21591,8 @@ var script$4 = {
|
|
|
21612
21591
|
input: ["focus", "blur"]
|
|
21613
21592
|
})],
|
|
21614
21593
|
components: {
|
|
21615
|
-
WarningFilled16
|
|
21594
|
+
WarningFilled16,
|
|
21595
|
+
WarningAltFilled16,
|
|
21616
21596
|
ChevronDown16,
|
|
21617
21597
|
Close16
|
|
21618
21598
|
},
|
|
@@ -21624,6 +21604,10 @@ var script$4 = {
|
|
|
21624
21604
|
type: String,
|
|
21625
21605
|
default: undefined
|
|
21626
21606
|
},
|
|
21607
|
+
warnText: {
|
|
21608
|
+
type: String,
|
|
21609
|
+
default: undefined
|
|
21610
|
+
},
|
|
21627
21611
|
helperText: {
|
|
21628
21612
|
type: String,
|
|
21629
21613
|
default: undefined
|
|
@@ -21700,6 +21684,7 @@ var script$4 = {
|
|
|
21700
21684
|
dataFilter: null,
|
|
21701
21685
|
isHelper: false,
|
|
21702
21686
|
isInvalid: false,
|
|
21687
|
+
isWarn: false,
|
|
21703
21688
|
// includes user input items
|
|
21704
21689
|
internalOptions: [],
|
|
21705
21690
|
marginBottomOnOpenEnabled: false
|
|
@@ -21809,6 +21794,7 @@ var script$4 = {
|
|
|
21809
21794
|
// NOTE: this.$slots is not reactive so needs to be managed on updated
|
|
21810
21795
|
this.isInvalid = !!(this.$slots["invalid-message"] || this.invalidMessage && this.invalidMessage.length);
|
|
21811
21796
|
this.isHelper = !!(this.$slots["helper-text"] || this.helperText && this.helperText.length);
|
|
21797
|
+
this.isWarn = !!(this.$slots["warn-text"] || this.warnText && this.warnText.length);
|
|
21812
21798
|
},
|
|
21813
21799
|
|
|
21814
21800
|
clearFilter() {
|
|
@@ -22045,7 +22031,7 @@ const __vue_script__$4 = script$4;
|
|
|
22045
22031
|
/* template */
|
|
22046
22032
|
|
|
22047
22033
|
var __vue_render__$d = function () {
|
|
22048
|
-
var _obj, _obj$1, _obj$2, _obj$3, _obj$4;
|
|
22034
|
+
var _obj, _obj$1, _obj$2, _obj$3, _obj$4, _obj$5;
|
|
22049
22035
|
|
|
22050
22036
|
var _vm = this;
|
|
22051
22037
|
|
|
@@ -22056,12 +22042,12 @@ var __vue_render__$d = function () {
|
|
|
22056
22042
|
return _c('div', {
|
|
22057
22043
|
class: ['ns-combo-box', 'cv-combo-box', _vm.carbonPrefix + "--list-box__wrapper", {
|
|
22058
22044
|
'margin-bottom-on-open': _vm.marginBottomOnOpenEnabled
|
|
22059
|
-
}],
|
|
22045
|
+
}, (_obj = {}, _obj[_vm.carbonPrefix + "--text-input__field-wrapper--warning"] = !_vm.isInvalid && _vm.isWarn, _obj)],
|
|
22060
22046
|
on: {
|
|
22061
22047
|
"focusout": _vm.onFocusOut
|
|
22062
22048
|
}
|
|
22063
22049
|
}, [_vm.title ? _c('label', {
|
|
22064
|
-
class: [_vm.carbonPrefix + "--label", (_obj = {}, _obj[_vm.carbonPrefix + "--label--disabled"] = _vm.disabled, _obj)],
|
|
22050
|
+
class: [_vm.carbonPrefix + "--label", (_obj$1 = {}, _obj$1[_vm.carbonPrefix + "--label--disabled"] = _vm.disabled, _obj$1)],
|
|
22065
22051
|
attrs: {
|
|
22066
22052
|
"for": _vm.uid
|
|
22067
22053
|
}
|
|
@@ -22076,7 +22062,7 @@ var __vue_render__$d = function () {
|
|
|
22076
22062
|
}, [_c('template', {
|
|
22077
22063
|
slot: "content"
|
|
22078
22064
|
}, [_vm._t("tooltip")], 2)], 2) : _vm._e()], 1)]) : _vm._e(), _vm._v(" "), _c('div', _vm._b({
|
|
22079
|
-
class: [_vm.carbonPrefix + "--combo-box " + _vm.carbonPrefix + "--list-box", (_obj$
|
|
22065
|
+
class: [_vm.carbonPrefix + "--combo-box " + _vm.carbonPrefix + "--list-box", (_obj$2 = {}, _obj$2[_vm.carbonPrefix + "--list-box--light"] = _vm.isLight, _obj$2[_vm.carbonPrefix + "--combo-box--expanded"] = _vm.open, _obj$2[_vm.carbonPrefix + "--list-box--expanded"] = _vm.open, _obj$2[_vm.carbonPrefix + "--combo-box--disabled " + _vm.carbonPrefix + "--list-box--disabled"] = _vm.disabled, _obj$2)],
|
|
22080
22066
|
attrs: {
|
|
22081
22067
|
"role": "listbox",
|
|
22082
22068
|
"tabindex": "-1",
|
|
@@ -22116,7 +22102,9 @@ var __vue_render__$d = function () {
|
|
|
22116
22102
|
"click": _vm.onClick
|
|
22117
22103
|
}
|
|
22118
22104
|
}, 'div', _vm.$attrs, false), [_vm.isInvalid ? _c('WarningFilled16', {
|
|
22119
|
-
class: [_vm.carbonPrefix + "--list-box__invalid-icon"]
|
|
22105
|
+
class: [_vm.carbonPrefix + "--list-box__invalid-icon invalid-icon"]
|
|
22106
|
+
}) : _vm._e(), _vm._v(" "), _vm.isWarn && !_vm.isInvalid ? _c('WarningAltFilled16', {
|
|
22107
|
+
class: _vm.carbonPrefix + "--text-input__invalid-icon " + _vm.carbonPrefix + "--text-input__invalid-icon--warning warn-icon"
|
|
22120
22108
|
}) : _vm._e(), _vm._v(" "), _c('div', {
|
|
22121
22109
|
ref: "button",
|
|
22122
22110
|
class: [_vm.carbonPrefix + "--list-box__field"],
|
|
@@ -22139,7 +22127,7 @@ var __vue_render__$d = function () {
|
|
|
22139
22127
|
expression: "filter"
|
|
22140
22128
|
}],
|
|
22141
22129
|
ref: "input",
|
|
22142
|
-
class: [_vm.carbonPrefix + "--text-input", (_obj$
|
|
22130
|
+
class: [_vm.carbonPrefix + "--text-input", (_obj$3 = {}, _obj$3[_vm.carbonPrefix + "--text-input--empty"] = !_vm.filter || _vm.filter.length === 0, _obj$3)],
|
|
22143
22131
|
attrs: {
|
|
22144
22132
|
"aria-controls": _vm.uid,
|
|
22145
22133
|
"aria-autocomplete": "list",
|
|
@@ -22207,7 +22195,7 @@ var __vue_render__$d = function () {
|
|
|
22207
22195
|
}
|
|
22208
22196
|
}
|
|
22209
22197
|
}, [_c('Close16')], 1) : _vm._e(), _vm._v(" "), _c('div', {
|
|
22210
|
-
class: [_vm.carbonPrefix + "--list-box__menu-icon", (_obj$
|
|
22198
|
+
class: [_vm.carbonPrefix + "--list-box__menu-icon", (_obj$4 = {}, _obj$4[_vm.carbonPrefix + "--list-box__menu-icon--open"] = _vm.open, _obj$4)],
|
|
22211
22199
|
attrs: {
|
|
22212
22200
|
"role": "button"
|
|
22213
22201
|
}
|
|
@@ -22256,8 +22244,12 @@ var __vue_render__$d = function () {
|
|
|
22256
22244
|
class: [_vm.carbonPrefix + "--form-requirement"]
|
|
22257
22245
|
}, [_vm._t("invalid-message", function () {
|
|
22258
22246
|
return [_vm._v(_vm._s(_vm.invalidMessage))];
|
|
22259
|
-
})], 2) : _vm._e(), _vm._v(" "),
|
|
22260
|
-
class:
|
|
22247
|
+
})], 2) : _vm._e(), _vm._v(" "), _vm.isWarn && !_vm.isInvalid ? _c('div', {
|
|
22248
|
+
class: _vm.carbonPrefix + "--form__requirement warn-text"
|
|
22249
|
+
}, [_vm._t("warn-text", function () {
|
|
22250
|
+
return [_vm._v(_vm._s(_vm.warnText))];
|
|
22251
|
+
})], 2) : _vm._e(), _vm._v(" "), _vm.isHelper && !_vm.isInvalid && !_vm.isWarn ? _c('div', {
|
|
22252
|
+
class: [_vm.carbonPrefix + "--form__helper-text", (_obj$5 = {}, _obj$5[_vm.carbonPrefix + "--form__helper-text--disabled"] = _vm.disabled, _obj$5)]
|
|
22261
22253
|
}, [_vm._t("helper-text", function () {
|
|
22262
22254
|
return [_vm._v(_vm._s(_vm.helperText))];
|
|
22263
22255
|
})], 2) : _vm._e()]);
|
|
@@ -22268,11 +22260,11 @@ var __vue_staticRenderFns__$d = [];
|
|
|
22268
22260
|
|
|
22269
22261
|
const __vue_inject_styles__$e = function (inject) {
|
|
22270
22262
|
if (!inject) return;
|
|
22271
|
-
inject("data-v-
|
|
22272
|
-
source: ".margin-bottom-on-open[data-v-
|
|
22263
|
+
inject("data-v-37093ee6_0", {
|
|
22264
|
+
source: ".margin-bottom-on-open[data-v-37093ee6]{margin-bottom:14rem}.label-with-tooltip[data-v-37093ee6]{display:flex;align-items:baseline}.ns-combo-box .warn-text[data-v-37093ee6]{margin-top:.25rem}.invalid-icon[data-v-37093ee6],.warn-icon[data-v-37093ee6]{right:3rem}",
|
|
22273
22265
|
map: undefined,
|
|
22274
22266
|
media: undefined
|
|
22275
|
-
}), inject("data-v-
|
|
22267
|
+
}), inject("data-v-37093ee6_1", {
|
|
22276
22268
|
source: ".ns-combo-box .bx--tooltip__label .bx--tooltip__trigger{margin-left:.25rem}",
|
|
22277
22269
|
map: undefined,
|
|
22278
22270
|
media: undefined
|
|
@@ -22281,7 +22273,7 @@ const __vue_inject_styles__$e = function (inject) {
|
|
|
22281
22273
|
/* scoped */
|
|
22282
22274
|
|
|
22283
22275
|
|
|
22284
|
-
const __vue_scope_id__$e = "data-v-
|
|
22276
|
+
const __vue_scope_id__$e = "data-v-37093ee6";
|
|
22285
22277
|
/* module identifier */
|
|
22286
22278
|
|
|
22287
22279
|
const __vue_module_identifier__$e = undefined;
|
|
@@ -22374,11 +22366,7 @@ var __vue_render__$c = function () {
|
|
|
22374
22366
|
class: [_vm.carbonPrefix + "--checkbox-label-text", (_obj$2 = {}, _obj$2[_vm.carbonPrefix + "--visually-hidden"] = _vm.hideLabel, _obj$2)]
|
|
22375
22367
|
}, [_c('div', {
|
|
22376
22368
|
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', {
|
|
22369
|
+
}, [_vm.$slots.label ? _vm._t("label") : _c('span', [_vm._v(_vm._s(_vm.label))]), _vm._v(" "), _vm.hasTooltipSlot ? _c('cv-interactive-tooltip', {
|
|
22382
22370
|
staticClass: "info",
|
|
22383
22371
|
attrs: {
|
|
22384
22372
|
"alignment": _vm.tooltipAlignment,
|
|
@@ -22386,7 +22374,7 @@ var __vue_render__$c = function () {
|
|
|
22386
22374
|
}
|
|
22387
22375
|
}, [_c('template', {
|
|
22388
22376
|
slot: "content"
|
|
22389
|
-
}, [_vm._t("tooltip")], 2)], 2) : _vm._e()],
|
|
22377
|
+
}, [_vm._t("tooltip")], 2)], 2) : _vm._e()], 2)])])]);
|
|
22390
22378
|
};
|
|
22391
22379
|
|
|
22392
22380
|
var __vue_staticRenderFns__$c = [];
|
|
@@ -22394,11 +22382,11 @@ var __vue_staticRenderFns__$c = [];
|
|
|
22394
22382
|
|
|
22395
22383
|
const __vue_inject_styles__$d = function (inject) {
|
|
22396
22384
|
if (!inject) return;
|
|
22397
|
-
inject("data-v-
|
|
22398
|
-
source: ".label-with-tooltip[data-v-
|
|
22385
|
+
inject("data-v-34eae482_0", {
|
|
22386
|
+
source: ".label-with-tooltip[data-v-34eae482]{display:flex}",
|
|
22399
22387
|
map: undefined,
|
|
22400
22388
|
media: undefined
|
|
22401
|
-
}), inject("data-v-
|
|
22389
|
+
}), inject("data-v-34eae482_1", {
|
|
22402
22390
|
source: ".ns-checkbox .bx--tooltip__label .bx--tooltip__trigger{margin-left:.25rem}",
|
|
22403
22391
|
map: undefined,
|
|
22404
22392
|
media: undefined
|
|
@@ -22407,7 +22395,7 @@ const __vue_inject_styles__$d = function (inject) {
|
|
|
22407
22395
|
/* scoped */
|
|
22408
22396
|
|
|
22409
22397
|
|
|
22410
|
-
const __vue_scope_id__$d = "data-v-
|
|
22398
|
+
const __vue_scope_id__$d = "data-v-34eae482";
|
|
22411
22399
|
/* module identifier */
|
|
22412
22400
|
|
|
22413
22401
|
const __vue_module_identifier__$d = undefined;
|