@nethserver/ns8-ui-lib 0.0.85 → 0.0.86
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 +298 -294
- package/dist/ns8-ui-lib.min.js +1 -1
- package/dist/ns8-ui-lib.ssr.js +250 -246
- package/package.json +1 -1
- package/src/lib-components/NsPasswordInput.vue +2 -2
package/dist/ns8-ui-lib.esm.js
CHANGED
|
@@ -6,6 +6,7 @@ import { carbonPrefixMixin, themeMixin, uidMixin } from '@carbon/vue/src/mixins'
|
|
|
6
6
|
import CheckmarkFilled20 from '@carbon/icons-vue/es/checkmark--filled/20';
|
|
7
7
|
import ErrorFilled20 from '@carbon/icons-vue/es/error--filled/20';
|
|
8
8
|
import Warning20 from '@carbon/icons-vue/es/warning--filled/20';
|
|
9
|
+
import { WarningFilled16, WarningAltFilled16, View16, ViewOff16 } from '@carbon/icons-vue';
|
|
9
10
|
import crypto from 'crypto';
|
|
10
11
|
import OverflowMenuVertical20 from '@carbon/icons-vue/es/overflow-menu--vertical/20';
|
|
11
12
|
import Vue from 'vue';
|
|
@@ -96,7 +97,6 @@ import Column20 from '@carbon/icons-vue/es/column/20';
|
|
|
96
97
|
import Catalog20 from '@carbon/icons-vue/es/catalog/20';
|
|
97
98
|
import Catalog32 from '@carbon/icons-vue/es/catalog/32';
|
|
98
99
|
import Group20 from '@carbon/icons-vue/es/group/20';
|
|
99
|
-
import { WarningFilled16, WarningAltFilled16, View16, ViewOff16 } from '@carbon/icons-vue';
|
|
100
100
|
import CvSideNavDivider from '@carbon/vue/src/components/cv-ui-shell/cv-side-nav-divider.vue';
|
|
101
101
|
import Search16 from '@carbon/icons-vue/es/search/16';
|
|
102
102
|
import Close16 from '@carbon/icons-vue/es/close/16';
|
|
@@ -317,12 +317,12 @@ const __vue_is_functional_template__$C = false;
|
|
|
317
317
|
|
|
318
318
|
/* style inject shadow dom */
|
|
319
319
|
|
|
320
|
-
const __vue_component__$
|
|
320
|
+
const __vue_component__$11 = /*#__PURE__*/normalizeComponent({
|
|
321
321
|
render: __vue_render__$A,
|
|
322
322
|
staticRenderFns: __vue_staticRenderFns__$A
|
|
323
323
|
}, __vue_inject_styles__$C, __vue_script__$u, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, createInjector, undefined, undefined);
|
|
324
324
|
|
|
325
|
-
var NsButton = __vue_component__$
|
|
325
|
+
var NsButton = __vue_component__$11;
|
|
326
326
|
|
|
327
327
|
//
|
|
328
328
|
//
|
|
@@ -413,12 +413,12 @@ const __vue_is_functional_template__$B = false;
|
|
|
413
413
|
|
|
414
414
|
/* style inject shadow dom */
|
|
415
415
|
|
|
416
|
-
const __vue_component__$
|
|
416
|
+
const __vue_component__$10 = /*#__PURE__*/normalizeComponent({
|
|
417
417
|
render: __vue_render__$z,
|
|
418
418
|
staticRenderFns: __vue_staticRenderFns__$z
|
|
419
419
|
}, __vue_inject_styles__$B, __vue_script__$t, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, undefined, undefined, undefined);
|
|
420
420
|
|
|
421
|
-
var NsPictogram = __vue_component__$
|
|
421
|
+
var NsPictogram = __vue_component__$10;
|
|
422
422
|
|
|
423
423
|
//
|
|
424
424
|
var script$s = {
|
|
@@ -526,12 +526,12 @@ const __vue_is_functional_template__$A = false;
|
|
|
526
526
|
|
|
527
527
|
/* style inject shadow dom */
|
|
528
528
|
|
|
529
|
-
const __vue_component__
|
|
529
|
+
const __vue_component__$$ = /*#__PURE__*/normalizeComponent({
|
|
530
530
|
render: __vue_render__$y,
|
|
531
531
|
staticRenderFns: __vue_staticRenderFns__$y
|
|
532
532
|
}, __vue_inject_styles__$A, __vue_script__$s, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, undefined, undefined, undefined);
|
|
533
533
|
|
|
534
|
-
var NsLottieAnimation = __vue_component__
|
|
534
|
+
var NsLottieAnimation = __vue_component__$$;
|
|
535
535
|
|
|
536
536
|
/* script */
|
|
537
537
|
|
|
@@ -570,12 +570,12 @@ const __vue_is_functional_template__$z = false;
|
|
|
570
570
|
|
|
571
571
|
/* style inject shadow dom */
|
|
572
572
|
|
|
573
|
-
const __vue_component__
|
|
573
|
+
const __vue_component__$_ = /*#__PURE__*/normalizeComponent({
|
|
574
574
|
render: __vue_render__$x,
|
|
575
575
|
staticRenderFns: __vue_staticRenderFns__$x
|
|
576
576
|
}, __vue_inject_styles__$z, {}, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, undefined, undefined, undefined);
|
|
577
577
|
|
|
578
|
-
var ExclamationMarkPictogram = __vue_component__
|
|
578
|
+
var ExclamationMarkPictogram = __vue_component__$_;
|
|
579
579
|
|
|
580
580
|
//
|
|
581
581
|
var script$r = {
|
|
@@ -668,12 +668,12 @@ const __vue_is_functional_template__$y = false;
|
|
|
668
668
|
|
|
669
669
|
/* style inject shadow dom */
|
|
670
670
|
|
|
671
|
-
const __vue_component__$
|
|
671
|
+
const __vue_component__$Y = /*#__PURE__*/normalizeComponent({
|
|
672
672
|
render: __vue_render__$w,
|
|
673
673
|
staticRenderFns: __vue_staticRenderFns__$w
|
|
674
674
|
}, __vue_inject_styles__$y, __vue_script__$r, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, createInjector, undefined, undefined);
|
|
675
675
|
|
|
676
|
-
var __vue_component__$
|
|
676
|
+
var __vue_component__$Z = __vue_component__$Y;
|
|
677
677
|
|
|
678
678
|
//
|
|
679
679
|
var script$q = {
|
|
@@ -878,12 +878,12 @@ const __vue_is_functional_template__$x = false;
|
|
|
878
878
|
|
|
879
879
|
/* style inject shadow dom */
|
|
880
880
|
|
|
881
|
-
const __vue_component__$
|
|
881
|
+
const __vue_component__$W = /*#__PURE__*/normalizeComponent({
|
|
882
882
|
render: __vue_render__$v,
|
|
883
883
|
staticRenderFns: __vue_staticRenderFns__$v
|
|
884
884
|
}, __vue_inject_styles__$x, __vue_script__$q, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, createInjector, undefined, undefined);
|
|
885
885
|
|
|
886
|
-
var __vue_component__$
|
|
886
|
+
var __vue_component__$X = __vue_component__$W;
|
|
887
887
|
|
|
888
888
|
//
|
|
889
889
|
//
|
|
@@ -1042,12 +1042,12 @@ const __vue_is_functional_template__$w = false;
|
|
|
1042
1042
|
|
|
1043
1043
|
/* style inject shadow dom */
|
|
1044
1044
|
|
|
1045
|
-
const __vue_component__$
|
|
1045
|
+
const __vue_component__$V = /*#__PURE__*/normalizeComponent({
|
|
1046
1046
|
render: __vue_render__$u,
|
|
1047
1047
|
staticRenderFns: __vue_staticRenderFns__$u
|
|
1048
1048
|
}, __vue_inject_styles__$w, __vue_script__$p, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, createInjector, undefined, undefined);
|
|
1049
1049
|
|
|
1050
|
-
var NsCircleTimer = __vue_component__$
|
|
1050
|
+
var NsCircleTimer = __vue_component__$V;
|
|
1051
1051
|
|
|
1052
1052
|
//
|
|
1053
1053
|
var script$o = {
|
|
@@ -1186,12 +1186,12 @@ const __vue_is_functional_template__$v = false;
|
|
|
1186
1186
|
|
|
1187
1187
|
/* style inject shadow dom */
|
|
1188
1188
|
|
|
1189
|
-
const __vue_component__$
|
|
1189
|
+
const __vue_component__$U = /*#__PURE__*/normalizeComponent({
|
|
1190
1190
|
render: __vue_render__$t,
|
|
1191
1191
|
staticRenderFns: __vue_staticRenderFns__$t
|
|
1192
1192
|
}, __vue_inject_styles__$v, __vue_script__$o, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, createInjector, undefined, undefined);
|
|
1193
1193
|
|
|
1194
|
-
var NsInlineNotification = __vue_component__$
|
|
1194
|
+
var NsInlineNotification = __vue_component__$U;
|
|
1195
1195
|
|
|
1196
1196
|
//
|
|
1197
1197
|
//
|
|
@@ -1294,12 +1294,12 @@ const __vue_is_functional_template__$u = false;
|
|
|
1294
1294
|
|
|
1295
1295
|
/* style inject shadow dom */
|
|
1296
1296
|
|
|
1297
|
-
const __vue_component__$
|
|
1297
|
+
const __vue_component__$T = /*#__PURE__*/normalizeComponent({
|
|
1298
1298
|
render: __vue_render__$s,
|
|
1299
1299
|
staticRenderFns: __vue_staticRenderFns__$s
|
|
1300
1300
|
}, __vue_inject_styles__$u, __vue_script__$n, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, createInjector, undefined, undefined);
|
|
1301
1301
|
|
|
1302
|
-
var NsProgressBar = __vue_component__$
|
|
1302
|
+
var NsProgressBar = __vue_component__$T;
|
|
1303
1303
|
|
|
1304
1304
|
var script$m = {
|
|
1305
1305
|
name: "NsSvg",
|
|
@@ -1381,9 +1381,9 @@ const __vue_is_functional_template__$t = undefined;
|
|
|
1381
1381
|
|
|
1382
1382
|
/* style inject shadow dom */
|
|
1383
1383
|
|
|
1384
|
-
const __vue_component__$
|
|
1384
|
+
const __vue_component__$S = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$t, __vue_script__$m, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, undefined, undefined, undefined);
|
|
1385
1385
|
|
|
1386
|
-
var NsSvg = __vue_component__$
|
|
1386
|
+
var NsSvg = __vue_component__$S;
|
|
1387
1387
|
|
|
1388
1388
|
//
|
|
1389
1389
|
var script$l = {
|
|
@@ -1527,12 +1527,12 @@ const __vue_is_functional_template__$s = false;
|
|
|
1527
1527
|
|
|
1528
1528
|
/* style inject shadow dom */
|
|
1529
1529
|
|
|
1530
|
-
const __vue_component__$
|
|
1530
|
+
const __vue_component__$Q = /*#__PURE__*/normalizeComponent({
|
|
1531
1531
|
render: __vue_render__$r,
|
|
1532
1532
|
staticRenderFns: __vue_staticRenderFns__$r
|
|
1533
1533
|
}, __vue_inject_styles__$s, __vue_script__$l, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, createInjector, undefined, undefined);
|
|
1534
1534
|
|
|
1535
|
-
var __vue_component__$
|
|
1535
|
+
var __vue_component__$R = __vue_component__$Q;
|
|
1536
1536
|
|
|
1537
1537
|
function toInteger(dirtyNumber) {
|
|
1538
1538
|
if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
|
|
@@ -6337,12 +6337,12 @@ const __vue_is_functional_template__$r = false;
|
|
|
6337
6337
|
|
|
6338
6338
|
/* style inject shadow dom */
|
|
6339
6339
|
|
|
6340
|
-
const __vue_component__$
|
|
6340
|
+
const __vue_component__$O = /*#__PURE__*/normalizeComponent({
|
|
6341
6341
|
render: __vue_render__$q,
|
|
6342
6342
|
staticRenderFns: __vue_staticRenderFns__$q
|
|
6343
6343
|
}, __vue_inject_styles__$r, __vue_script__$k, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, createInjector, undefined, undefined);
|
|
6344
6344
|
|
|
6345
|
-
var __vue_component__$
|
|
6345
|
+
var __vue_component__$P = __vue_component__$O;
|
|
6346
6346
|
|
|
6347
6347
|
//
|
|
6348
6348
|
var script$j = {
|
|
@@ -6481,12 +6481,12 @@ const __vue_is_functional_template__$q = false;
|
|
|
6481
6481
|
|
|
6482
6482
|
/* style inject shadow dom */
|
|
6483
6483
|
|
|
6484
|
-
const __vue_component__$
|
|
6484
|
+
const __vue_component__$M = /*#__PURE__*/normalizeComponent({
|
|
6485
6485
|
render: __vue_render__$p,
|
|
6486
6486
|
staticRenderFns: __vue_staticRenderFns__$p
|
|
6487
6487
|
}, __vue_inject_styles__$q, __vue_script__$j, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, createInjector, undefined, undefined);
|
|
6488
6488
|
|
|
6489
|
-
var __vue_component__$
|
|
6489
|
+
var __vue_component__$N = __vue_component__$M;
|
|
6490
6490
|
|
|
6491
6491
|
//
|
|
6492
6492
|
var script$i = {
|
|
@@ -6633,12 +6633,12 @@ const __vue_is_functional_template__$p = false;
|
|
|
6633
6633
|
|
|
6634
6634
|
/* style inject shadow dom */
|
|
6635
6635
|
|
|
6636
|
-
const __vue_component__$
|
|
6636
|
+
const __vue_component__$K = /*#__PURE__*/normalizeComponent({
|
|
6637
6637
|
render: __vue_render__$o,
|
|
6638
6638
|
staticRenderFns: __vue_staticRenderFns__$o
|
|
6639
6639
|
}, __vue_inject_styles__$p, __vue_script__$i, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, createInjector, undefined, undefined);
|
|
6640
6640
|
|
|
6641
|
-
var __vue_component__$
|
|
6641
|
+
var __vue_component__$L = __vue_component__$K;
|
|
6642
6642
|
|
|
6643
6643
|
//
|
|
6644
6644
|
var script$h = {
|
|
@@ -6778,12 +6778,184 @@ const __vue_is_functional_template__$o = false;
|
|
|
6778
6778
|
|
|
6779
6779
|
/* style inject shadow dom */
|
|
6780
6780
|
|
|
6781
|
-
const __vue_component__$
|
|
6781
|
+
const __vue_component__$I = /*#__PURE__*/normalizeComponent({
|
|
6782
6782
|
render: __vue_render__$n,
|
|
6783
6783
|
staticRenderFns: __vue_staticRenderFns__$n
|
|
6784
6784
|
}, __vue_inject_styles__$o, __vue_script__$h, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, createInjector, undefined, undefined);
|
|
6785
6785
|
|
|
6786
|
-
var __vue_component__$
|
|
6786
|
+
var __vue_component__$J = __vue_component__$I;
|
|
6787
|
+
|
|
6788
|
+
//
|
|
6789
|
+
var script$g = {
|
|
6790
|
+
name: "NsTextInput",
|
|
6791
|
+
extends: CvTextInput,
|
|
6792
|
+
components: {
|
|
6793
|
+
WarningFilled16,
|
|
6794
|
+
WarningAltFilled16,
|
|
6795
|
+
View16,
|
|
6796
|
+
ViewOff16
|
|
6797
|
+
},
|
|
6798
|
+
props: {
|
|
6799
|
+
helperText: {
|
|
6800
|
+
type: String,
|
|
6801
|
+
default: undefined
|
|
6802
|
+
},
|
|
6803
|
+
invalidMessage: {
|
|
6804
|
+
type: String,
|
|
6805
|
+
default: undefined
|
|
6806
|
+
},
|
|
6807
|
+
label: String,
|
|
6808
|
+
passwordHideLabel: {
|
|
6809
|
+
type: String,
|
|
6810
|
+
default: "Hide password"
|
|
6811
|
+
},
|
|
6812
|
+
passwordShowLabel: {
|
|
6813
|
+
type: String,
|
|
6814
|
+
default: "Show password"
|
|
6815
|
+
},
|
|
6816
|
+
passwordVisible: Boolean,
|
|
6817
|
+
type: String,
|
|
6818
|
+
value: String,
|
|
6819
|
+
warnText: {
|
|
6820
|
+
type: String,
|
|
6821
|
+
default: undefined
|
|
6822
|
+
},
|
|
6823
|
+
tooltipAlignment: {
|
|
6824
|
+
type: String,
|
|
6825
|
+
default: "center",
|
|
6826
|
+
validator: val => ["start", "center", "end"].includes(val)
|
|
6827
|
+
},
|
|
6828
|
+
tooltipDirection: {
|
|
6829
|
+
type: String,
|
|
6830
|
+
default: "bottom",
|
|
6831
|
+
validator: val => ["top", "left", "bottom", "right".includes(val)]
|
|
6832
|
+
}
|
|
6833
|
+
},
|
|
6834
|
+
computed: {
|
|
6835
|
+
hasTooltipSlot() {
|
|
6836
|
+
return !!this.$slots.tooltip;
|
|
6837
|
+
}
|
|
6838
|
+
|
|
6839
|
+
}
|
|
6840
|
+
};
|
|
6841
|
+
|
|
6842
|
+
/* script */
|
|
6843
|
+
const __vue_script__$g = script$g;
|
|
6844
|
+
/* template */
|
|
6845
|
+
|
|
6846
|
+
var __vue_render__$m = function () {
|
|
6847
|
+
var _obj, _obj$1, _obj$2, _obj$3, _obj$4, _obj$5;
|
|
6848
|
+
|
|
6849
|
+
var _vm = this;
|
|
6850
|
+
|
|
6851
|
+
var _h = _vm.$createElement;
|
|
6852
|
+
|
|
6853
|
+
var _c = _vm._self._c || _h;
|
|
6854
|
+
|
|
6855
|
+
return _c('div', {
|
|
6856
|
+
class: ["cv-text-input", "ns-text-input", _vm.carbonPrefix + "--form-item", _vm.carbonPrefix + "--text-input-wrapper", (_obj = {}, _obj[_vm.carbonPrefix + "--password-input-wrapper"] = _vm.isPassword, _obj)]
|
|
6857
|
+
}, [_vm.hasTooltipSlot ? _c('div', [_c('label', {
|
|
6858
|
+
class: [_vm.carbonPrefix + "--label", (_obj$1 = {}, _obj$1[_vm.carbonPrefix + "--label--disabled"] = _vm.$attrs.disabled !== undefined && _vm.$attrs.disabled, _obj$1)],
|
|
6859
|
+
attrs: {
|
|
6860
|
+
"for": _vm.uid
|
|
6861
|
+
}
|
|
6862
|
+
}, [_vm._v(_vm._s(_vm.label))]), _vm._v(" "), _c('cv-interactive-tooltip', {
|
|
6863
|
+
staticClass: "tooltip info",
|
|
6864
|
+
attrs: {
|
|
6865
|
+
"alignment": _vm.tooltipAlignment,
|
|
6866
|
+
"direction": _vm.tooltipDirection
|
|
6867
|
+
}
|
|
6868
|
+
}, [_c('template', {
|
|
6869
|
+
slot: "content"
|
|
6870
|
+
}, [_vm._t("tooltip")], 2)], 2)], 1) : _c('label', {
|
|
6871
|
+
class: [_vm.carbonPrefix + "--label", (_obj$2 = {}, _obj$2[_vm.carbonPrefix + "--label--disabled"] = _vm.$attrs.disabled !== undefined && _vm.$attrs.disabled, _obj$2)],
|
|
6872
|
+
attrs: {
|
|
6873
|
+
"for": _vm.uid
|
|
6874
|
+
}
|
|
6875
|
+
}, [_vm._v(_vm._s(_vm.label))]), _vm._v(" "), _c('div', {
|
|
6876
|
+
class: [_vm.carbonPrefix + "--text-input__field-wrapper", (_obj$3 = {}, _obj$3[_vm.carbonPrefix + "--text-input__field-wrapper--warning"] = !_vm.isInvalid && _vm.isWarn, _obj$3)],
|
|
6877
|
+
attrs: {
|
|
6878
|
+
"data-invalid": _vm.isInvalid
|
|
6879
|
+
}
|
|
6880
|
+
}, [_vm.isInvalid ? _c('WarningFilled16', {
|
|
6881
|
+
class: _vm.carbonPrefix + "--text-input__invalid-icon"
|
|
6882
|
+
}) : _vm._e(), _vm._v(" "), _vm.isWarn ? _c('WarningAltFilled16', {
|
|
6883
|
+
class: _vm.carbonPrefix + "--text-input__invalid-icon " + _vm.carbonPrefix + "--text-input__invalid-icon--warning"
|
|
6884
|
+
}) : _vm._e(), _vm._v(" "), _c('input', _vm._g(_vm._b({
|
|
6885
|
+
ref: "input",
|
|
6886
|
+
class: [_vm.carbonPrefix + "--text-input", (_obj$4 = {}, _obj$4[_vm.carbonPrefix + "--text-input--light"] = _vm.isLight, _obj$4[_vm.carbonPrefix + "--text-input--invalid"] = _vm.isInvalid, _obj$4[_vm.carbonPrefix + "--text-input--warning"] = _vm.isWarn, _obj$4[_vm.carbonPrefix + "--password-input"] = _vm.isPassword, _obj$4)],
|
|
6887
|
+
attrs: {
|
|
6888
|
+
"id": _vm.uid,
|
|
6889
|
+
"data-toggle-password-visibility": _vm.isPassword,
|
|
6890
|
+
"type": _vm.dataType
|
|
6891
|
+
},
|
|
6892
|
+
domProps: {
|
|
6893
|
+
"value": _vm.value
|
|
6894
|
+
}
|
|
6895
|
+
}, 'input', _vm.$attrs, false), _vm.inputListeners)), _vm._v(" "), _vm.isPassword ? _c('button', {
|
|
6896
|
+
class: [_vm.carbonPrefix + "--btn", _vm.carbonPrefix + "--text-input--password__visibility__toggle", _vm.carbonPrefix + "--tooltip__trigger", _vm.carbonPrefix + "--tooltip--a11y", _vm.carbonPrefix + "--tooltip--bottom", _vm.carbonPrefix + "--tooltip--align-end"],
|
|
6897
|
+
attrs: {
|
|
6898
|
+
"type": "button"
|
|
6899
|
+
},
|
|
6900
|
+
on: {
|
|
6901
|
+
"click": _vm.togglePasswordVisibility
|
|
6902
|
+
}
|
|
6903
|
+
}, [_c('span', {
|
|
6904
|
+
class: _vm.carbonPrefix + "--assistive-text"
|
|
6905
|
+
}, [_vm._v(_vm._s(_vm.passwordHideShowLabel))]), _vm._v(" "), _vm.isPasswordVisible ? _c('ViewOff16', {
|
|
6906
|
+
class: _vm.carbonPrefix + "--icon-visibility-off"
|
|
6907
|
+
}) : _c('View16', {
|
|
6908
|
+
class: _vm.carbonPrefix + "--icon-visibility-off"
|
|
6909
|
+
})], 1) : _vm._e()], 1), _vm._v(" "), _vm.isInvalid ? _c('div', {
|
|
6910
|
+
class: _vm.carbonPrefix + "--form-requirement"
|
|
6911
|
+
}, [_vm._t("invalid-message", function () {
|
|
6912
|
+
return [_vm._v(_vm._s(_vm.invalidMessage))];
|
|
6913
|
+
})], 2) : _vm._e(), _vm._v(" "), _vm.isWarn ? _c('div', {
|
|
6914
|
+
class: _vm.carbonPrefix + "--form__requirement"
|
|
6915
|
+
}, [_vm._t("warn-text", function () {
|
|
6916
|
+
return [_vm._v(_vm._s(_vm.warnText))];
|
|
6917
|
+
})], 2) : _vm._e(), _vm._v(" "), _vm.isHelper ? _c('div', {
|
|
6918
|
+
class: [_vm.carbonPrefix + "--form__helper-text", (_obj$5 = {}, _obj$5[_vm.carbonPrefix + "--form__helper-text--disabled"] = _vm.$attrs.disabled, _obj$5)]
|
|
6919
|
+
}, [_vm._t("helper-text", function () {
|
|
6920
|
+
return [_vm._v(_vm._s(_vm.helperText))];
|
|
6921
|
+
})], 2) : _vm._e()]);
|
|
6922
|
+
};
|
|
6923
|
+
|
|
6924
|
+
var __vue_staticRenderFns__$m = [];
|
|
6925
|
+
/* style */
|
|
6926
|
+
|
|
6927
|
+
const __vue_inject_styles__$n = function (inject) {
|
|
6928
|
+
if (!inject) return;
|
|
6929
|
+
inject("data-v-13bd5cac_0", {
|
|
6930
|
+
source: ".tooltip[data-v-13bd5cac]{display:inline-block;position:absolute}",
|
|
6931
|
+
map: undefined,
|
|
6932
|
+
media: undefined
|
|
6933
|
+
}), inject("data-v-13bd5cac_1", {
|
|
6934
|
+
source: ".ns-text-input .bx--tooltip__label .bx--tooltip__trigger{margin-left:.25rem}",
|
|
6935
|
+
map: undefined,
|
|
6936
|
+
media: undefined
|
|
6937
|
+
});
|
|
6938
|
+
};
|
|
6939
|
+
/* scoped */
|
|
6940
|
+
|
|
6941
|
+
|
|
6942
|
+
const __vue_scope_id__$n = "data-v-13bd5cac";
|
|
6943
|
+
/* module identifier */
|
|
6944
|
+
|
|
6945
|
+
const __vue_module_identifier__$n = undefined;
|
|
6946
|
+
/* functional template */
|
|
6947
|
+
|
|
6948
|
+
const __vue_is_functional_template__$n = false;
|
|
6949
|
+
/* style inject SSR */
|
|
6950
|
+
|
|
6951
|
+
/* style inject shadow dom */
|
|
6952
|
+
|
|
6953
|
+
const __vue_component__$H = /*#__PURE__*/normalizeComponent({
|
|
6954
|
+
render: __vue_render__$m,
|
|
6955
|
+
staticRenderFns: __vue_staticRenderFns__$m
|
|
6956
|
+
}, __vue_inject_styles__$n, __vue_script__$g, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, createInjector, undefined, undefined);
|
|
6957
|
+
|
|
6958
|
+
var NsTextInput = __vue_component__$H;
|
|
6787
6959
|
|
|
6788
6960
|
// Unique ID creation requires a high quality random # generator. In node.js
|
|
6789
6961
|
// this is pretty straight-forward - we use the crypto API.
|
|
@@ -7014,6 +7186,8 @@ var UtilService = {
|
|
|
7014
7186
|
for (const key of Object.keys(obj)) {
|
|
7015
7187
|
if (typeof obj[key] == "string") {
|
|
7016
7188
|
obj[key] = "";
|
|
7189
|
+
} else if (typeof obj[key] == "boolean") {
|
|
7190
|
+
obj[key] = false;
|
|
7017
7191
|
} else if (typeof obj[key] == "object") {
|
|
7018
7192
|
// recursion
|
|
7019
7193
|
this.clearStrings(obj[key]);
|
|
@@ -7258,9 +7432,11 @@ var UtilService = {
|
|
|
7258
7432
|
};
|
|
7259
7433
|
|
|
7260
7434
|
//
|
|
7261
|
-
var script$
|
|
7435
|
+
var script$f = {
|
|
7262
7436
|
name: "NsPasswordInput",
|
|
7263
|
-
components:
|
|
7437
|
+
components: {
|
|
7438
|
+
NsTextInput
|
|
7439
|
+
},
|
|
7264
7440
|
mixins: [UtilService],
|
|
7265
7441
|
props: {
|
|
7266
7442
|
value: String,
|
|
@@ -7421,10 +7597,10 @@ var script$g = {
|
|
|
7421
7597
|
};
|
|
7422
7598
|
|
|
7423
7599
|
/* script */
|
|
7424
|
-
const __vue_script__$
|
|
7600
|
+
const __vue_script__$f = script$f;
|
|
7425
7601
|
/* template */
|
|
7426
7602
|
|
|
7427
|
-
var __vue_render__$
|
|
7603
|
+
var __vue_render__$l = function () {
|
|
7428
7604
|
var _vm = this;
|
|
7429
7605
|
|
|
7430
7606
|
var _h = _vm.$createElement;
|
|
@@ -7519,13 +7695,13 @@ var __vue_render__$m = function () {
|
|
|
7519
7695
|
}, [_vm._v(_vm._s(_vm.equalLabel))])])], 1)]);
|
|
7520
7696
|
};
|
|
7521
7697
|
|
|
7522
|
-
var __vue_staticRenderFns__$
|
|
7698
|
+
var __vue_staticRenderFns__$l = [];
|
|
7523
7699
|
/* style */
|
|
7524
7700
|
|
|
7525
|
-
const __vue_inject_styles__$
|
|
7701
|
+
const __vue_inject_styles__$m = function (inject) {
|
|
7526
7702
|
if (!inject) return;
|
|
7527
|
-
inject("data-v-
|
|
7528
|
-
source: ".new-password-container[data-v-
|
|
7703
|
+
inject("data-v-67b93b40_0", {
|
|
7704
|
+
source: ".new-password-container[data-v-67b93b40]{margin-bottom:1rem}.new-password[data-v-67b93b40]{margin-bottom:.25rem}.confirm-password[data-v-67b93b40]{margin-bottom:.25rem}.password-meter[data-v-67b93b40]{display:flex}@media (min-width:672px){.password-meter[data-v-67b93b40]{max-width:38rem}}.requirement[data-v-67b93b40]{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-67b93b40]{background-color:#fff}.requirement[data-v-67b93b40]:first-child{margin-left:0}.requirement-ok[data-v-67b93b40]{color:#fff;background-color:#198038}.requirement-disabled[data-v-67b93b40]{color:#c6c6c6;background-color:#f4f4f4}",
|
|
7529
7705
|
map: undefined,
|
|
7530
7706
|
media: undefined
|
|
7531
7707
|
});
|
|
@@ -7533,26 +7709,26 @@ const __vue_inject_styles__$n = function (inject) {
|
|
|
7533
7709
|
/* scoped */
|
|
7534
7710
|
|
|
7535
7711
|
|
|
7536
|
-
const __vue_scope_id__$
|
|
7712
|
+
const __vue_scope_id__$m = "data-v-67b93b40";
|
|
7537
7713
|
/* module identifier */
|
|
7538
7714
|
|
|
7539
|
-
const __vue_module_identifier__$
|
|
7715
|
+
const __vue_module_identifier__$m = undefined;
|
|
7540
7716
|
/* functional template */
|
|
7541
7717
|
|
|
7542
|
-
const __vue_is_functional_template__$
|
|
7718
|
+
const __vue_is_functional_template__$m = false;
|
|
7543
7719
|
/* style inject SSR */
|
|
7544
7720
|
|
|
7545
7721
|
/* style inject shadow dom */
|
|
7546
7722
|
|
|
7547
|
-
const __vue_component__$
|
|
7548
|
-
render: __vue_render__$
|
|
7549
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7550
|
-
}, __vue_inject_styles__$
|
|
7723
|
+
const __vue_component__$F = /*#__PURE__*/normalizeComponent({
|
|
7724
|
+
render: __vue_render__$l,
|
|
7725
|
+
staticRenderFns: __vue_staticRenderFns__$l
|
|
7726
|
+
}, __vue_inject_styles__$m, __vue_script__$f, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, createInjector, undefined, undefined);
|
|
7551
7727
|
|
|
7552
|
-
var __vue_component__$
|
|
7728
|
+
var __vue_component__$G = __vue_component__$F;
|
|
7553
7729
|
|
|
7554
7730
|
//
|
|
7555
|
-
var script$
|
|
7731
|
+
var script$e = {
|
|
7556
7732
|
name: "NsIconMenu",
|
|
7557
7733
|
extends: CvOverflowMenu,
|
|
7558
7734
|
props: {
|
|
@@ -7596,10 +7772,10 @@ var script$f = {
|
|
|
7596
7772
|
};
|
|
7597
7773
|
|
|
7598
7774
|
/* script */
|
|
7599
|
-
const __vue_script__$
|
|
7775
|
+
const __vue_script__$e = script$e;
|
|
7600
7776
|
/* template */
|
|
7601
7777
|
|
|
7602
|
-
var __vue_render__$
|
|
7778
|
+
var __vue_render__$k = function () {
|
|
7603
7779
|
var _obj, _obj$1;
|
|
7604
7780
|
|
|
7605
7781
|
var _vm = this;
|
|
@@ -7715,10 +7891,10 @@ var __vue_render__$l = function () {
|
|
|
7715
7891
|
})])]);
|
|
7716
7892
|
};
|
|
7717
7893
|
|
|
7718
|
-
var __vue_staticRenderFns__$
|
|
7894
|
+
var __vue_staticRenderFns__$k = [];
|
|
7719
7895
|
/* style */
|
|
7720
7896
|
|
|
7721
|
-
const __vue_inject_styles__$
|
|
7897
|
+
const __vue_inject_styles__$l = function (inject) {
|
|
7722
7898
|
if (!inject) return;
|
|
7723
7899
|
inject("data-v-2be14df6_0", {
|
|
7724
7900
|
source: ".ns-icon-menu[data-v-2be14df6]{display:inline-flex}",
|
|
@@ -7729,27 +7905,27 @@ const __vue_inject_styles__$m = function (inject) {
|
|
|
7729
7905
|
/* scoped */
|
|
7730
7906
|
|
|
7731
7907
|
|
|
7732
|
-
const __vue_scope_id__$
|
|
7908
|
+
const __vue_scope_id__$l = "data-v-2be14df6";
|
|
7733
7909
|
/* module identifier */
|
|
7734
7910
|
|
|
7735
|
-
const __vue_module_identifier__$
|
|
7911
|
+
const __vue_module_identifier__$l = undefined;
|
|
7736
7912
|
/* functional template */
|
|
7737
7913
|
|
|
7738
|
-
const __vue_is_functional_template__$
|
|
7914
|
+
const __vue_is_functional_template__$l = false;
|
|
7739
7915
|
/* style inject SSR */
|
|
7740
7916
|
|
|
7741
7917
|
/* style inject shadow dom */
|
|
7742
7918
|
|
|
7743
|
-
const __vue_component__$
|
|
7744
|
-
render: __vue_render__$
|
|
7745
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7746
|
-
}, __vue_inject_styles__$
|
|
7919
|
+
const __vue_component__$D = /*#__PURE__*/normalizeComponent({
|
|
7920
|
+
render: __vue_render__$k,
|
|
7921
|
+
staticRenderFns: __vue_staticRenderFns__$k
|
|
7922
|
+
}, __vue_inject_styles__$l, __vue_script__$e, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, createInjector, undefined, undefined);
|
|
7747
7923
|
|
|
7748
|
-
var __vue_component__$
|
|
7924
|
+
var __vue_component__$E = __vue_component__$D;
|
|
7749
7925
|
|
|
7750
7926
|
//
|
|
7751
7927
|
Vue.use(chartsVue);
|
|
7752
|
-
var script$
|
|
7928
|
+
var script$d = {
|
|
7753
7929
|
name: "NsMeterChart",
|
|
7754
7930
|
components: {
|
|
7755
7931
|
CcvMeterChart
|
|
@@ -7823,10 +7999,10 @@ var script$e = {
|
|
|
7823
7999
|
};
|
|
7824
8000
|
|
|
7825
8001
|
/* script */
|
|
7826
|
-
const __vue_script__$
|
|
8002
|
+
const __vue_script__$d = script$d;
|
|
7827
8003
|
/* template */
|
|
7828
8004
|
|
|
7829
|
-
var __vue_render__$
|
|
8005
|
+
var __vue_render__$j = function () {
|
|
7830
8006
|
var _vm = this;
|
|
7831
8007
|
|
|
7832
8008
|
var _h = _vm.$createElement;
|
|
@@ -7841,35 +8017,35 @@ var __vue_render__$k = function () {
|
|
|
7841
8017
|
});
|
|
7842
8018
|
};
|
|
7843
8019
|
|
|
7844
|
-
var __vue_staticRenderFns__$
|
|
8020
|
+
var __vue_staticRenderFns__$j = [];
|
|
7845
8021
|
/* style */
|
|
7846
8022
|
|
|
7847
|
-
const __vue_inject_styles__$
|
|
8023
|
+
const __vue_inject_styles__$k = undefined;
|
|
7848
8024
|
/* scoped */
|
|
7849
8025
|
|
|
7850
|
-
const __vue_scope_id__$
|
|
8026
|
+
const __vue_scope_id__$k = undefined;
|
|
7851
8027
|
/* module identifier */
|
|
7852
8028
|
|
|
7853
|
-
const __vue_module_identifier__$
|
|
8029
|
+
const __vue_module_identifier__$k = undefined;
|
|
7854
8030
|
/* functional template */
|
|
7855
8031
|
|
|
7856
|
-
const __vue_is_functional_template__$
|
|
8032
|
+
const __vue_is_functional_template__$k = false;
|
|
7857
8033
|
/* style inject */
|
|
7858
8034
|
|
|
7859
8035
|
/* style inject SSR */
|
|
7860
8036
|
|
|
7861
8037
|
/* style inject shadow dom */
|
|
7862
8038
|
|
|
7863
|
-
const __vue_component__$
|
|
7864
|
-
render: __vue_render__$
|
|
7865
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7866
|
-
}, __vue_inject_styles__$
|
|
8039
|
+
const __vue_component__$B = /*#__PURE__*/normalizeComponent({
|
|
8040
|
+
render: __vue_render__$j,
|
|
8041
|
+
staticRenderFns: __vue_staticRenderFns__$j
|
|
8042
|
+
}, __vue_inject_styles__$k, __vue_script__$d, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, undefined, undefined);
|
|
7867
8043
|
|
|
7868
|
-
var __vue_component__$
|
|
8044
|
+
var __vue_component__$C = __vue_component__$B;
|
|
7869
8045
|
|
|
7870
8046
|
//
|
|
7871
8047
|
Vue.use(chartsVue);
|
|
7872
|
-
var script$
|
|
8048
|
+
var script$c = {
|
|
7873
8049
|
name: "NsPieChart",
|
|
7874
8050
|
components: {},
|
|
7875
8051
|
props: {
|
|
@@ -7925,10 +8101,10 @@ var script$d = {
|
|
|
7925
8101
|
};
|
|
7926
8102
|
|
|
7927
8103
|
/* script */
|
|
7928
|
-
const __vue_script__$
|
|
8104
|
+
const __vue_script__$c = script$c;
|
|
7929
8105
|
/* template */
|
|
7930
8106
|
|
|
7931
|
-
var __vue_render__$
|
|
8107
|
+
var __vue_render__$i = function () {
|
|
7932
8108
|
var _vm = this;
|
|
7933
8109
|
|
|
7934
8110
|
var _h = _vm.$createElement;
|
|
@@ -7943,34 +8119,34 @@ var __vue_render__$j = function () {
|
|
|
7943
8119
|
});
|
|
7944
8120
|
};
|
|
7945
8121
|
|
|
7946
|
-
var __vue_staticRenderFns__$
|
|
8122
|
+
var __vue_staticRenderFns__$i = [];
|
|
7947
8123
|
/* style */
|
|
7948
8124
|
|
|
7949
|
-
const __vue_inject_styles__$
|
|
8125
|
+
const __vue_inject_styles__$j = undefined;
|
|
7950
8126
|
/* scoped */
|
|
7951
8127
|
|
|
7952
|
-
const __vue_scope_id__$
|
|
8128
|
+
const __vue_scope_id__$j = undefined;
|
|
7953
8129
|
/* module identifier */
|
|
7954
8130
|
|
|
7955
|
-
const __vue_module_identifier__$
|
|
8131
|
+
const __vue_module_identifier__$j = undefined;
|
|
7956
8132
|
/* functional template */
|
|
7957
8133
|
|
|
7958
|
-
const __vue_is_functional_template__$
|
|
8134
|
+
const __vue_is_functional_template__$j = false;
|
|
7959
8135
|
/* style inject */
|
|
7960
8136
|
|
|
7961
8137
|
/* style inject SSR */
|
|
7962
8138
|
|
|
7963
8139
|
/* style inject shadow dom */
|
|
7964
8140
|
|
|
7965
|
-
const __vue_component__$
|
|
7966
|
-
render: __vue_render__$
|
|
7967
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7968
|
-
}, __vue_inject_styles__$
|
|
8141
|
+
const __vue_component__$z = /*#__PURE__*/normalizeComponent({
|
|
8142
|
+
render: __vue_render__$i,
|
|
8143
|
+
staticRenderFns: __vue_staticRenderFns__$i
|
|
8144
|
+
}, __vue_inject_styles__$j, __vue_script__$c, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, undefined, undefined, undefined);
|
|
7969
8145
|
|
|
7970
|
-
var __vue_component__$
|
|
8146
|
+
var __vue_component__$A = __vue_component__$z;
|
|
7971
8147
|
|
|
7972
8148
|
//
|
|
7973
|
-
var script$
|
|
8149
|
+
var script$b = {
|
|
7974
8150
|
name: "NsDangerDeleteModal",
|
|
7975
8151
|
//component added for storybook to work
|
|
7976
8152
|
components: {
|
|
@@ -8065,10 +8241,10 @@ var script$c = {
|
|
|
8065
8241
|
};
|
|
8066
8242
|
|
|
8067
8243
|
/* script */
|
|
8068
|
-
const __vue_script__$
|
|
8244
|
+
const __vue_script__$b = script$b;
|
|
8069
8245
|
/* template */
|
|
8070
8246
|
|
|
8071
|
-
var __vue_render__$
|
|
8247
|
+
var __vue_render__$h = function () {
|
|
8072
8248
|
var _vm = this;
|
|
8073
8249
|
|
|
8074
8250
|
var _h = _vm.$createElement;
|
|
@@ -8136,10 +8312,10 @@ var __vue_render__$i = function () {
|
|
|
8136
8312
|
}, [_vm._v(_vm._s(_vm.deleteLabel))])], 2);
|
|
8137
8313
|
};
|
|
8138
8314
|
|
|
8139
|
-
var __vue_staticRenderFns__$
|
|
8315
|
+
var __vue_staticRenderFns__$h = [];
|
|
8140
8316
|
/* style */
|
|
8141
8317
|
|
|
8142
|
-
const __vue_inject_styles__$
|
|
8318
|
+
const __vue_inject_styles__$i = function (inject) {
|
|
8143
8319
|
if (!inject) return;
|
|
8144
8320
|
inject("data-v-56c8d6b0_0", {
|
|
8145
8321
|
source: ".type-to-confirm[data-v-56c8d6b0]{margin-top:2rem}",
|
|
@@ -8150,23 +8326,23 @@ const __vue_inject_styles__$j = function (inject) {
|
|
|
8150
8326
|
/* scoped */
|
|
8151
8327
|
|
|
8152
8328
|
|
|
8153
|
-
const __vue_scope_id__$
|
|
8329
|
+
const __vue_scope_id__$i = "data-v-56c8d6b0";
|
|
8154
8330
|
/* module identifier */
|
|
8155
8331
|
|
|
8156
|
-
const __vue_module_identifier__$
|
|
8332
|
+
const __vue_module_identifier__$i = undefined;
|
|
8157
8333
|
/* functional template */
|
|
8158
8334
|
|
|
8159
|
-
const __vue_is_functional_template__$
|
|
8335
|
+
const __vue_is_functional_template__$i = false;
|
|
8160
8336
|
/* style inject SSR */
|
|
8161
8337
|
|
|
8162
8338
|
/* style inject shadow dom */
|
|
8163
8339
|
|
|
8164
|
-
const __vue_component__$
|
|
8165
|
-
render: __vue_render__$
|
|
8166
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
8167
|
-
}, __vue_inject_styles__$
|
|
8340
|
+
const __vue_component__$x = /*#__PURE__*/normalizeComponent({
|
|
8341
|
+
render: __vue_render__$h,
|
|
8342
|
+
staticRenderFns: __vue_staticRenderFns__$h
|
|
8343
|
+
}, __vue_inject_styles__$i, __vue_script__$b, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
|
|
8168
8344
|
|
|
8169
|
-
var __vue_component__$
|
|
8345
|
+
var __vue_component__$y = __vue_component__$x;
|
|
8170
8346
|
|
|
8171
8347
|
var IconService = {
|
|
8172
8348
|
name: "IconService",
|
|
@@ -8300,7 +8476,7 @@ var IconService = {
|
|
|
8300
8476
|
};
|
|
8301
8477
|
|
|
8302
8478
|
//
|
|
8303
|
-
var script$
|
|
8479
|
+
var script$a = {
|
|
8304
8480
|
name: "NsDropdownAction",
|
|
8305
8481
|
extends: CvOverflowMenu,
|
|
8306
8482
|
components: {
|
|
@@ -8332,10 +8508,10 @@ var script$b = {
|
|
|
8332
8508
|
};
|
|
8333
8509
|
|
|
8334
8510
|
/* script */
|
|
8335
|
-
const __vue_script__$
|
|
8511
|
+
const __vue_script__$a = script$a;
|
|
8336
8512
|
/* template */
|
|
8337
8513
|
|
|
8338
|
-
var __vue_render__$
|
|
8514
|
+
var __vue_render__$g = function () {
|
|
8339
8515
|
var _obj, _obj$1;
|
|
8340
8516
|
|
|
8341
8517
|
var _vm = this;
|
|
@@ -8435,193 +8611,21 @@ var __vue_render__$h = function () {
|
|
|
8435
8611
|
})])]);
|
|
8436
8612
|
};
|
|
8437
8613
|
|
|
8438
|
-
var __vue_staticRenderFns__$h = [];
|
|
8439
|
-
/* style */
|
|
8440
|
-
|
|
8441
|
-
const __vue_inject_styles__$i = undefined;
|
|
8442
|
-
/* scoped */
|
|
8443
|
-
|
|
8444
|
-
const __vue_scope_id__$i = "data-v-31925b9d";
|
|
8445
|
-
/* module identifier */
|
|
8446
|
-
|
|
8447
|
-
const __vue_module_identifier__$i = undefined;
|
|
8448
|
-
/* functional template */
|
|
8449
|
-
|
|
8450
|
-
const __vue_is_functional_template__$i = false;
|
|
8451
|
-
/* style inject */
|
|
8452
|
-
|
|
8453
|
-
/* style inject SSR */
|
|
8454
|
-
|
|
8455
|
-
/* style inject shadow dom */
|
|
8456
|
-
|
|
8457
|
-
const __vue_component__$x = /*#__PURE__*/normalizeComponent({
|
|
8458
|
-
render: __vue_render__$h,
|
|
8459
|
-
staticRenderFns: __vue_staticRenderFns__$h
|
|
8460
|
-
}, __vue_inject_styles__$i, __vue_script__$b, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, undefined, undefined, undefined);
|
|
8461
|
-
|
|
8462
|
-
var __vue_component__$y = __vue_component__$x;
|
|
8463
|
-
|
|
8464
|
-
//
|
|
8465
|
-
var script$a = {
|
|
8466
|
-
name: "NsTextInput",
|
|
8467
|
-
extends: CvTextInput,
|
|
8468
|
-
components: {
|
|
8469
|
-
WarningFilled16,
|
|
8470
|
-
WarningAltFilled16,
|
|
8471
|
-
View16,
|
|
8472
|
-
ViewOff16
|
|
8473
|
-
},
|
|
8474
|
-
props: {
|
|
8475
|
-
helperText: {
|
|
8476
|
-
type: String,
|
|
8477
|
-
default: undefined
|
|
8478
|
-
},
|
|
8479
|
-
invalidMessage: {
|
|
8480
|
-
type: String,
|
|
8481
|
-
default: undefined
|
|
8482
|
-
},
|
|
8483
|
-
label: String,
|
|
8484
|
-
passwordHideLabel: {
|
|
8485
|
-
type: String,
|
|
8486
|
-
default: "Hide password"
|
|
8487
|
-
},
|
|
8488
|
-
passwordShowLabel: {
|
|
8489
|
-
type: String,
|
|
8490
|
-
default: "Show password"
|
|
8491
|
-
},
|
|
8492
|
-
passwordVisible: Boolean,
|
|
8493
|
-
type: String,
|
|
8494
|
-
value: String,
|
|
8495
|
-
warnText: {
|
|
8496
|
-
type: String,
|
|
8497
|
-
default: undefined
|
|
8498
|
-
},
|
|
8499
|
-
tooltipAlignment: {
|
|
8500
|
-
type: String,
|
|
8501
|
-
default: "center",
|
|
8502
|
-
validator: val => ["start", "center", "end"].includes(val)
|
|
8503
|
-
},
|
|
8504
|
-
tooltipDirection: {
|
|
8505
|
-
type: String,
|
|
8506
|
-
default: "bottom",
|
|
8507
|
-
validator: val => ["top", "left", "bottom", "right".includes(val)]
|
|
8508
|
-
}
|
|
8509
|
-
},
|
|
8510
|
-
computed: {
|
|
8511
|
-
hasTooltipSlot() {
|
|
8512
|
-
return !!this.$slots.tooltip;
|
|
8513
|
-
}
|
|
8514
|
-
|
|
8515
|
-
}
|
|
8516
|
-
};
|
|
8517
|
-
|
|
8518
|
-
/* script */
|
|
8519
|
-
const __vue_script__$a = script$a;
|
|
8520
|
-
/* template */
|
|
8521
|
-
|
|
8522
|
-
var __vue_render__$g = function () {
|
|
8523
|
-
var _obj, _obj$1, _obj$2, _obj$3, _obj$4, _obj$5;
|
|
8524
|
-
|
|
8525
|
-
var _vm = this;
|
|
8526
|
-
|
|
8527
|
-
var _h = _vm.$createElement;
|
|
8528
|
-
|
|
8529
|
-
var _c = _vm._self._c || _h;
|
|
8530
|
-
|
|
8531
|
-
return _c('div', {
|
|
8532
|
-
class: ["cv-text-input", "ns-text-input", _vm.carbonPrefix + "--form-item", _vm.carbonPrefix + "--text-input-wrapper", (_obj = {}, _obj[_vm.carbonPrefix + "--password-input-wrapper"] = _vm.isPassword, _obj)]
|
|
8533
|
-
}, [_vm.hasTooltipSlot ? _c('div', [_c('label', {
|
|
8534
|
-
class: [_vm.carbonPrefix + "--label", (_obj$1 = {}, _obj$1[_vm.carbonPrefix + "--label--disabled"] = _vm.$attrs.disabled !== undefined && _vm.$attrs.disabled, _obj$1)],
|
|
8535
|
-
attrs: {
|
|
8536
|
-
"for": _vm.uid
|
|
8537
|
-
}
|
|
8538
|
-
}, [_vm._v(_vm._s(_vm.label))]), _vm._v(" "), _c('cv-interactive-tooltip', {
|
|
8539
|
-
staticClass: "tooltip info",
|
|
8540
|
-
attrs: {
|
|
8541
|
-
"alignment": _vm.tooltipAlignment,
|
|
8542
|
-
"direction": _vm.tooltipDirection
|
|
8543
|
-
}
|
|
8544
|
-
}, [_c('template', {
|
|
8545
|
-
slot: "content"
|
|
8546
|
-
}, [_vm._t("tooltip")], 2)], 2)], 1) : _c('label', {
|
|
8547
|
-
class: [_vm.carbonPrefix + "--label", (_obj$2 = {}, _obj$2[_vm.carbonPrefix + "--label--disabled"] = _vm.$attrs.disabled !== undefined && _vm.$attrs.disabled, _obj$2)],
|
|
8548
|
-
attrs: {
|
|
8549
|
-
"for": _vm.uid
|
|
8550
|
-
}
|
|
8551
|
-
}, [_vm._v(_vm._s(_vm.label))]), _vm._v(" "), _c('div', {
|
|
8552
|
-
class: [_vm.carbonPrefix + "--text-input__field-wrapper", (_obj$3 = {}, _obj$3[_vm.carbonPrefix + "--text-input__field-wrapper--warning"] = !_vm.isInvalid && _vm.isWarn, _obj$3)],
|
|
8553
|
-
attrs: {
|
|
8554
|
-
"data-invalid": _vm.isInvalid
|
|
8555
|
-
}
|
|
8556
|
-
}, [_vm.isInvalid ? _c('WarningFilled16', {
|
|
8557
|
-
class: _vm.carbonPrefix + "--text-input__invalid-icon"
|
|
8558
|
-
}) : _vm._e(), _vm._v(" "), _vm.isWarn ? _c('WarningAltFilled16', {
|
|
8559
|
-
class: _vm.carbonPrefix + "--text-input__invalid-icon " + _vm.carbonPrefix + "--text-input__invalid-icon--warning"
|
|
8560
|
-
}) : _vm._e(), _vm._v(" "), _c('input', _vm._g(_vm._b({
|
|
8561
|
-
ref: "input",
|
|
8562
|
-
class: [_vm.carbonPrefix + "--text-input", (_obj$4 = {}, _obj$4[_vm.carbonPrefix + "--text-input--light"] = _vm.isLight, _obj$4[_vm.carbonPrefix + "--text-input--invalid"] = _vm.isInvalid, _obj$4[_vm.carbonPrefix + "--text-input--warning"] = _vm.isWarn, _obj$4[_vm.carbonPrefix + "--password-input"] = _vm.isPassword, _obj$4)],
|
|
8563
|
-
attrs: {
|
|
8564
|
-
"id": _vm.uid,
|
|
8565
|
-
"data-toggle-password-visibility": _vm.isPassword,
|
|
8566
|
-
"type": _vm.dataType
|
|
8567
|
-
},
|
|
8568
|
-
domProps: {
|
|
8569
|
-
"value": _vm.value
|
|
8570
|
-
}
|
|
8571
|
-
}, 'input', _vm.$attrs, false), _vm.inputListeners)), _vm._v(" "), _vm.isPassword ? _c('button', {
|
|
8572
|
-
class: [_vm.carbonPrefix + "--btn", _vm.carbonPrefix + "--text-input--password__visibility__toggle", _vm.carbonPrefix + "--tooltip__trigger", _vm.carbonPrefix + "--tooltip--a11y", _vm.carbonPrefix + "--tooltip--bottom", _vm.carbonPrefix + "--tooltip--align-end"],
|
|
8573
|
-
attrs: {
|
|
8574
|
-
"type": "button"
|
|
8575
|
-
},
|
|
8576
|
-
on: {
|
|
8577
|
-
"click": _vm.togglePasswordVisibility
|
|
8578
|
-
}
|
|
8579
|
-
}, [_c('span', {
|
|
8580
|
-
class: _vm.carbonPrefix + "--assistive-text"
|
|
8581
|
-
}, [_vm._v(_vm._s(_vm.passwordHideShowLabel))]), _vm._v(" "), _vm.isPasswordVisible ? _c('ViewOff16', {
|
|
8582
|
-
class: _vm.carbonPrefix + "--icon-visibility-off"
|
|
8583
|
-
}) : _c('View16', {
|
|
8584
|
-
class: _vm.carbonPrefix + "--icon-visibility-off"
|
|
8585
|
-
})], 1) : _vm._e()], 1), _vm._v(" "), _vm.isInvalid ? _c('div', {
|
|
8586
|
-
class: _vm.carbonPrefix + "--form-requirement"
|
|
8587
|
-
}, [_vm._t("invalid-message", function () {
|
|
8588
|
-
return [_vm._v(_vm._s(_vm.invalidMessage))];
|
|
8589
|
-
})], 2) : _vm._e(), _vm._v(" "), _vm.isWarn ? _c('div', {
|
|
8590
|
-
class: _vm.carbonPrefix + "--form__requirement"
|
|
8591
|
-
}, [_vm._t("warn-text", function () {
|
|
8592
|
-
return [_vm._v(_vm._s(_vm.warnText))];
|
|
8593
|
-
})], 2) : _vm._e(), _vm._v(" "), _vm.isHelper ? _c('div', {
|
|
8594
|
-
class: [_vm.carbonPrefix + "--form__helper-text", (_obj$5 = {}, _obj$5[_vm.carbonPrefix + "--form__helper-text--disabled"] = _vm.$attrs.disabled, _obj$5)]
|
|
8595
|
-
}, [_vm._t("helper-text", function () {
|
|
8596
|
-
return [_vm._v(_vm._s(_vm.helperText))];
|
|
8597
|
-
})], 2) : _vm._e()]);
|
|
8598
|
-
};
|
|
8599
|
-
|
|
8600
8614
|
var __vue_staticRenderFns__$g = [];
|
|
8601
8615
|
/* style */
|
|
8602
8616
|
|
|
8603
|
-
const __vue_inject_styles__$h =
|
|
8604
|
-
if (!inject) return;
|
|
8605
|
-
inject("data-v-13bd5cac_0", {
|
|
8606
|
-
source: ".tooltip[data-v-13bd5cac]{display:inline-block;position:absolute}",
|
|
8607
|
-
map: undefined,
|
|
8608
|
-
media: undefined
|
|
8609
|
-
}), inject("data-v-13bd5cac_1", {
|
|
8610
|
-
source: ".ns-text-input .bx--tooltip__label .bx--tooltip__trigger{margin-left:.25rem}",
|
|
8611
|
-
map: undefined,
|
|
8612
|
-
media: undefined
|
|
8613
|
-
});
|
|
8614
|
-
};
|
|
8617
|
+
const __vue_inject_styles__$h = undefined;
|
|
8615
8618
|
/* scoped */
|
|
8616
8619
|
|
|
8617
|
-
|
|
8618
|
-
const __vue_scope_id__$h = "data-v-13bd5cac";
|
|
8620
|
+
const __vue_scope_id__$h = "data-v-31925b9d";
|
|
8619
8621
|
/* module identifier */
|
|
8620
8622
|
|
|
8621
8623
|
const __vue_module_identifier__$h = undefined;
|
|
8622
8624
|
/* functional template */
|
|
8623
8625
|
|
|
8624
8626
|
const __vue_is_functional_template__$h = false;
|
|
8627
|
+
/* style inject */
|
|
8628
|
+
|
|
8625
8629
|
/* style inject SSR */
|
|
8626
8630
|
|
|
8627
8631
|
/* style inject shadow dom */
|
|
@@ -8629,7 +8633,7 @@ const __vue_is_functional_template__$h = false;
|
|
|
8629
8633
|
const __vue_component__$v = /*#__PURE__*/normalizeComponent({
|
|
8630
8634
|
render: __vue_render__$g,
|
|
8631
8635
|
staticRenderFns: __vue_staticRenderFns__$g
|
|
8632
|
-
}, __vue_inject_styles__$h, __vue_script__$a, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false,
|
|
8636
|
+
}, __vue_inject_styles__$h, __vue_script__$a, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, undefined, undefined, undefined);
|
|
8633
8637
|
|
|
8634
8638
|
var __vue_component__$w = __vue_component__$v;
|
|
8635
8639
|
|
|
@@ -18561,26 +18565,26 @@ var filters = {
|
|
|
18561
18565
|
var components = /*#__PURE__*/Object.freeze({
|
|
18562
18566
|
__proto__: null,
|
|
18563
18567
|
NsButton: NsButton,
|
|
18564
|
-
NsEmptyState: __vue_component__$
|
|
18568
|
+
NsEmptyState: __vue_component__$Z,
|
|
18565
18569
|
NsPictogram: NsPictogram,
|
|
18566
|
-
NsCodeSnippet: __vue_component__$
|
|
18570
|
+
NsCodeSnippet: __vue_component__$X,
|
|
18567
18571
|
NsInlineNotification: NsInlineNotification,
|
|
18568
18572
|
NsProgressBar: NsProgressBar,
|
|
18569
18573
|
NsSvg: NsSvg,
|
|
18570
|
-
NsTile: __vue_component__$
|
|
18571
|
-
NsToastNotification: __vue_component__$
|
|
18572
|
-
NsInfoCard: __vue_component__$
|
|
18573
|
-
NsStatusCard: __vue_component__$
|
|
18574
|
-
NsSystemdServiceCard: __vue_component__$
|
|
18575
|
-
NsPasswordInput: __vue_component__$
|
|
18576
|
-
NsIconMenu: __vue_component__$
|
|
18577
|
-
NsMeterChart: __vue_component__$
|
|
18578
|
-
NsPieChart: __vue_component__$
|
|
18574
|
+
NsTile: __vue_component__$R,
|
|
18575
|
+
NsToastNotification: __vue_component__$P,
|
|
18576
|
+
NsInfoCard: __vue_component__$N,
|
|
18577
|
+
NsStatusCard: __vue_component__$L,
|
|
18578
|
+
NsSystemdServiceCard: __vue_component__$J,
|
|
18579
|
+
NsPasswordInput: __vue_component__$G,
|
|
18580
|
+
NsIconMenu: __vue_component__$E,
|
|
18581
|
+
NsMeterChart: __vue_component__$C,
|
|
18582
|
+
NsPieChart: __vue_component__$A,
|
|
18579
18583
|
NsLottieAnimation: NsLottieAnimation,
|
|
18580
|
-
NsDangerDeleteModal: __vue_component__$
|
|
18584
|
+
NsDangerDeleteModal: __vue_component__$y,
|
|
18581
18585
|
NsCircleTimer: NsCircleTimer,
|
|
18582
|
-
NsDropdownAction: __vue_component__$
|
|
18583
|
-
NsTextInput:
|
|
18586
|
+
NsDropdownAction: __vue_component__$w,
|
|
18587
|
+
NsTextInput: NsTextInput,
|
|
18584
18588
|
NsBackupCard: __vue_component__$t,
|
|
18585
18589
|
NsWizard: __vue_component__$q,
|
|
18586
18590
|
NsMenuItem: __vue_component__$o,
|
|
@@ -18617,4 +18621,4 @@ const install = function installNs8UiLib(Vue) {
|
|
|
18617
18621
|
});
|
|
18618
18622
|
}; // Create module definition for Vue.use()
|
|
18619
18623
|
|
|
18620
|
-
export { __vue_component__$7 as BulldozerPictogram, DateTimeService, ExclamationMarkPictogram, filters as Filters, __vue_component__$d as GearPictogram, __vue_component__$5 as GroupPictogram, __vue_component__$3 as HardDrivePictogram, IconService, LottieService, __vue_component__$b as LovePictogram, __vue_component__$t as NsBackupCard, NsButton, NsCircleTimer, __vue_component__$
|
|
18624
|
+
export { __vue_component__$7 as BulldozerPictogram, DateTimeService, ExclamationMarkPictogram, filters as Filters, __vue_component__$d as GearPictogram, __vue_component__$5 as GroupPictogram, __vue_component__$3 as HardDrivePictogram, IconService, LottieService, __vue_component__$b as LovePictogram, __vue_component__$t as NsBackupCard, NsButton, NsCircleTimer, __vue_component__$X as NsCodeSnippet, __vue_component__$y as NsDangerDeleteModal, __vue_component__$f as NsDataTable, __vue_component__$w as NsDropdownAction, __vue_component__$Z as NsEmptyState, __vue_component__$E as NsIconMenu, __vue_component__$N as NsInfoCard, NsInlineNotification, NsLottieAnimation, __vue_component__$m as NsMenuDivider, __vue_component__$o as NsMenuItem, __vue_component__$C as NsMeterChart, NsModal, NsPagination, __vue_component__$G as NsPasswordInput, NsPictogram, __vue_component__$A as NsPieChart, NsProgressBar, __vue_component__$L as NsStatusCard, NsSvg, __vue_component__$k as NsSystemLogsCard, __vue_component__$J as NsSystemdServiceCard, NsTextInput, __vue_component__$R as NsTile, __vue_component__$i as NsTimePicker, __vue_component__$P as NsToastNotification, __vue_component__$q as NsWizard, pageTitle as PageTitleService, queryParam as QueryParamService, StorageService, task as TaskService, __vue_component__$1 as UserPictogram, UtilService, __vue_component__$9 as WarningPictogram, install as default };
|