@nethserver/ns8-ui-lib 0.1.4 → 0.1.7
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 +1730 -548
- package/dist/ns8-ui-lib.min.js +1 -1
- package/dist/ns8-ui-lib.ssr.js +1355 -495
- package/package.json +1 -1
- package/src/lib-components/NsByteSlider.vue +479 -0
- package/src/lib-components/NsCheckbox.vue +0 -8
- package/src/lib-components/NsDataTable.vue +27 -16
- package/src/lib-components/NsMultiSelect.vue +4 -4
- package/src/lib-components/NsProgressBar.vue +6 -1
- package/src/lib-components/NsSlider.vue +400 -0
- package/src/lib-components/NsTabs.vue +60 -0
package/dist/ns8-ui-lib.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CvButton, CvIconButton, CvInlineNotification, CvTile, CvToastNotification, CvLink, CvTooltip, CvTag, CvTextInput, CvOverflowMenu, CvModal, CvPagination, CvDataTable, CvDataTableHeading, CvDataTableRow, CvDataTableCell, CvCheckbox, CvToggle } from '@carbon/vue';
|
|
1
|
+
import { CvButton, CvIconButton, CvInlineNotification, CvTile, CvToastNotification, CvLink, CvTooltip, CvTag, CvTextInput, CvOverflowMenu, CvModal, CvPagination, CvDataTable, CvDataTableHeading, CvDataTableRow, CvDataTableCell, CvCheckbox, CvToggle, CvTabs } from '@carbon/vue';
|
|
2
2
|
import LottieAnimation from 'lottie-web-vue';
|
|
3
3
|
import Copy20 from '@carbon/icons-vue/es/copy/20';
|
|
4
4
|
import ChevronDown20 from '@carbon/icons-vue/es/chevron--down/20';
|
|
@@ -127,6 +127,9 @@ import Folder32 from '@carbon/icons-vue/es/folder/32';
|
|
|
127
127
|
import Asterisk16 from '@carbon/icons-vue/es/asterisk/16';
|
|
128
128
|
import Asterisk20 from '@carbon/icons-vue/es/asterisk/20';
|
|
129
129
|
import Asterisk32 from '@carbon/icons-vue/es/asterisk/32';
|
|
130
|
+
import Box16 from '@carbon/icons-vue/es/box/16';
|
|
131
|
+
import Box20 from '@carbon/icons-vue/es/box/20';
|
|
132
|
+
import Box32 from '@carbon/icons-vue/es/box/32';
|
|
130
133
|
import CvSideNavDivider from '@carbon/vue/src/components/cv-ui-shell/cv-side-nav-divider.vue';
|
|
131
134
|
import Search16 from '@carbon/icons-vue/es/search/16';
|
|
132
135
|
import Close16 from '@carbon/icons-vue/es/close/16';
|
|
@@ -135,7 +138,7 @@ import ChevronDown16 from '@carbon/icons-vue/es/chevron--down/16';
|
|
|
135
138
|
import CvCheckbox$1 from '@carbon/vue/src/components/cv-checkbox/cv-checkbox';
|
|
136
139
|
|
|
137
140
|
//
|
|
138
|
-
var script$
|
|
141
|
+
var script$B = {
|
|
139
142
|
name: "NsButton",
|
|
140
143
|
extends: CvButton,
|
|
141
144
|
props: {
|
|
@@ -298,10 +301,10 @@ function addStyle(id, css) {
|
|
|
298
301
|
}
|
|
299
302
|
|
|
300
303
|
/* script */
|
|
301
|
-
const __vue_script__$
|
|
304
|
+
const __vue_script__$B = script$B;
|
|
302
305
|
/* template */
|
|
303
306
|
|
|
304
|
-
var __vue_render__$
|
|
307
|
+
var __vue_render__$G = function () {
|
|
305
308
|
var _vm = this;
|
|
306
309
|
|
|
307
310
|
var _h = _vm.$createElement;
|
|
@@ -324,10 +327,10 @@ var __vue_render__$E = function () {
|
|
|
324
327
|
}) : _vm._e()], 2);
|
|
325
328
|
};
|
|
326
329
|
|
|
327
|
-
var __vue_staticRenderFns__$
|
|
330
|
+
var __vue_staticRenderFns__$G = [];
|
|
328
331
|
/* style */
|
|
329
332
|
|
|
330
|
-
const __vue_inject_styles__$
|
|
333
|
+
const __vue_inject_styles__$J = function (inject) {
|
|
331
334
|
if (!inject) return;
|
|
332
335
|
inject("data-v-025b0f12_0", {
|
|
333
336
|
source: ".bx--btn .bx--btn__icon[data-v-025b0f12]{width:1.25rem;height:1.25rem}.bx--btn.bx--btn--sm .bx--btn__icon[data-v-025b0f12]{width:1rem;height:1rem}.loader[data-v-025b0f12]{right:1rem;border:3px solid transparent;border-radius:50%;border-top:3px solid currentColor;border-right:3px solid currentColor;border-bottom:3px solid currentColor;animation:spin-data-v-025b0f12 .5s linear infinite}.bx--btn--ghost .bx--btn__icon.loading[data-v-025b0f12]{position:static;margin-left:.5rem}.bx--btn--danger--ghost .bx--btn__icon.loading[data-v-025b0f12],.bx--btn--danger-ghost .bx--btn__icon.loading[data-v-025b0f12]{position:static;margin-left:.5rem}@keyframes spin-data-v-025b0f12{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}",
|
|
@@ -338,23 +341,23 @@ const __vue_inject_styles__$G = function (inject) {
|
|
|
338
341
|
/* scoped */
|
|
339
342
|
|
|
340
343
|
|
|
341
|
-
const __vue_scope_id__$
|
|
344
|
+
const __vue_scope_id__$J = "data-v-025b0f12";
|
|
342
345
|
/* module identifier */
|
|
343
346
|
|
|
344
|
-
const __vue_module_identifier__$
|
|
347
|
+
const __vue_module_identifier__$J = undefined;
|
|
345
348
|
/* functional template */
|
|
346
349
|
|
|
347
|
-
const __vue_is_functional_template__$
|
|
350
|
+
const __vue_is_functional_template__$J = false;
|
|
348
351
|
/* style inject SSR */
|
|
349
352
|
|
|
350
353
|
/* style inject shadow dom */
|
|
351
354
|
|
|
352
|
-
const __vue_component__$
|
|
353
|
-
render: __vue_render__$
|
|
354
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
355
|
-
}, __vue_inject_styles__$
|
|
355
|
+
const __vue_component__$1e = /*#__PURE__*/normalizeComponent({
|
|
356
|
+
render: __vue_render__$G,
|
|
357
|
+
staticRenderFns: __vue_staticRenderFns__$G
|
|
358
|
+
}, __vue_inject_styles__$J, __vue_script__$B, __vue_scope_id__$J, __vue_is_functional_template__$J, __vue_module_identifier__$J, false, createInjector, undefined, undefined);
|
|
356
359
|
|
|
357
|
-
var NsButton = __vue_component__$
|
|
360
|
+
var NsButton = __vue_component__$1e;
|
|
358
361
|
|
|
359
362
|
//
|
|
360
363
|
//
|
|
@@ -372,7 +375,7 @@ var NsButton = __vue_component__$18;
|
|
|
372
375
|
//
|
|
373
376
|
//
|
|
374
377
|
//
|
|
375
|
-
var script$
|
|
378
|
+
var script$A = {
|
|
376
379
|
name: "NsPictogram",
|
|
377
380
|
props: {
|
|
378
381
|
title: {
|
|
@@ -395,10 +398,10 @@ var script$x = {
|
|
|
395
398
|
};
|
|
396
399
|
|
|
397
400
|
/* script */
|
|
398
|
-
const __vue_script__$
|
|
401
|
+
const __vue_script__$A = script$A;
|
|
399
402
|
/* template */
|
|
400
403
|
|
|
401
|
-
var __vue_render__$
|
|
404
|
+
var __vue_render__$F = function () {
|
|
402
405
|
var _vm = this;
|
|
403
406
|
|
|
404
407
|
var _h = _vm.$createElement;
|
|
@@ -426,34 +429,34 @@ var __vue_render__$D = function () {
|
|
|
426
429
|
}, [_vm._t("default")], 2)]);
|
|
427
430
|
};
|
|
428
431
|
|
|
429
|
-
var __vue_staticRenderFns__$
|
|
432
|
+
var __vue_staticRenderFns__$F = [];
|
|
430
433
|
/* style */
|
|
431
434
|
|
|
432
|
-
const __vue_inject_styles__$
|
|
435
|
+
const __vue_inject_styles__$I = undefined;
|
|
433
436
|
/* scoped */
|
|
434
437
|
|
|
435
|
-
const __vue_scope_id__$
|
|
438
|
+
const __vue_scope_id__$I = undefined;
|
|
436
439
|
/* module identifier */
|
|
437
440
|
|
|
438
|
-
const __vue_module_identifier__$
|
|
441
|
+
const __vue_module_identifier__$I = undefined;
|
|
439
442
|
/* functional template */
|
|
440
443
|
|
|
441
|
-
const __vue_is_functional_template__$
|
|
444
|
+
const __vue_is_functional_template__$I = false;
|
|
442
445
|
/* style inject */
|
|
443
446
|
|
|
444
447
|
/* style inject SSR */
|
|
445
448
|
|
|
446
449
|
/* style inject shadow dom */
|
|
447
450
|
|
|
448
|
-
const __vue_component__$
|
|
449
|
-
render: __vue_render__$
|
|
450
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
451
|
-
}, __vue_inject_styles__$
|
|
451
|
+
const __vue_component__$1d = /*#__PURE__*/normalizeComponent({
|
|
452
|
+
render: __vue_render__$F,
|
|
453
|
+
staticRenderFns: __vue_staticRenderFns__$F
|
|
454
|
+
}, __vue_inject_styles__$I, __vue_script__$A, __vue_scope_id__$I, __vue_is_functional_template__$I, __vue_module_identifier__$I, false, undefined, undefined, undefined);
|
|
452
455
|
|
|
453
|
-
var NsPictogram = __vue_component__$
|
|
456
|
+
var NsPictogram = __vue_component__$1d;
|
|
454
457
|
|
|
455
458
|
//
|
|
456
|
-
var script$
|
|
459
|
+
var script$z = {
|
|
457
460
|
name: "NsLottieAnimation",
|
|
458
461
|
components: {
|
|
459
462
|
LottieAnimation
|
|
@@ -509,10 +512,10 @@ var script$w = {
|
|
|
509
512
|
};
|
|
510
513
|
|
|
511
514
|
/* script */
|
|
512
|
-
const __vue_script__$
|
|
515
|
+
const __vue_script__$z = script$z;
|
|
513
516
|
/* template */
|
|
514
517
|
|
|
515
|
-
var __vue_render__$
|
|
518
|
+
var __vue_render__$E = function () {
|
|
516
519
|
var _vm = this;
|
|
517
520
|
|
|
518
521
|
var _h = _vm.$createElement;
|
|
@@ -539,36 +542,36 @@ var __vue_render__$C = function () {
|
|
|
539
542
|
})], 1);
|
|
540
543
|
};
|
|
541
544
|
|
|
542
|
-
var __vue_staticRenderFns__$
|
|
545
|
+
var __vue_staticRenderFns__$E = [];
|
|
543
546
|
/* style */
|
|
544
547
|
|
|
545
|
-
const __vue_inject_styles__$
|
|
548
|
+
const __vue_inject_styles__$H = undefined;
|
|
546
549
|
/* scoped */
|
|
547
550
|
|
|
548
|
-
const __vue_scope_id__$
|
|
551
|
+
const __vue_scope_id__$H = "data-v-14e97a70";
|
|
549
552
|
/* module identifier */
|
|
550
553
|
|
|
551
|
-
const __vue_module_identifier__$
|
|
554
|
+
const __vue_module_identifier__$H = undefined;
|
|
552
555
|
/* functional template */
|
|
553
556
|
|
|
554
|
-
const __vue_is_functional_template__$
|
|
557
|
+
const __vue_is_functional_template__$H = false;
|
|
555
558
|
/* style inject */
|
|
556
559
|
|
|
557
560
|
/* style inject SSR */
|
|
558
561
|
|
|
559
562
|
/* style inject shadow dom */
|
|
560
563
|
|
|
561
|
-
const __vue_component__$
|
|
562
|
-
render: __vue_render__$
|
|
563
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
564
|
-
}, __vue_inject_styles__$
|
|
564
|
+
const __vue_component__$1c = /*#__PURE__*/normalizeComponent({
|
|
565
|
+
render: __vue_render__$E,
|
|
566
|
+
staticRenderFns: __vue_staticRenderFns__$E
|
|
567
|
+
}, __vue_inject_styles__$H, __vue_script__$z, __vue_scope_id__$H, __vue_is_functional_template__$H, __vue_module_identifier__$H, false, undefined, undefined, undefined);
|
|
565
568
|
|
|
566
|
-
var NsLottieAnimation = __vue_component__$
|
|
569
|
+
var NsLottieAnimation = __vue_component__$1c;
|
|
567
570
|
|
|
568
571
|
/* script */
|
|
569
572
|
|
|
570
573
|
/* template */
|
|
571
|
-
var __vue_render__$
|
|
574
|
+
var __vue_render__$D = function () {
|
|
572
575
|
var _vm = this;
|
|
573
576
|
|
|
574
577
|
var _h = _vm.$createElement;
|
|
@@ -583,34 +586,34 @@ var __vue_render__$B = function () {
|
|
|
583
586
|
});
|
|
584
587
|
};
|
|
585
588
|
|
|
586
|
-
var __vue_staticRenderFns__$
|
|
589
|
+
var __vue_staticRenderFns__$D = [];
|
|
587
590
|
/* style */
|
|
588
591
|
|
|
589
|
-
const __vue_inject_styles__$
|
|
592
|
+
const __vue_inject_styles__$G = undefined;
|
|
590
593
|
/* scoped */
|
|
591
594
|
|
|
592
|
-
const __vue_scope_id__$
|
|
595
|
+
const __vue_scope_id__$G = undefined;
|
|
593
596
|
/* module identifier */
|
|
594
597
|
|
|
595
|
-
const __vue_module_identifier__$
|
|
598
|
+
const __vue_module_identifier__$G = undefined;
|
|
596
599
|
/* functional template */
|
|
597
600
|
|
|
598
|
-
const __vue_is_functional_template__$
|
|
601
|
+
const __vue_is_functional_template__$G = false;
|
|
599
602
|
/* style inject */
|
|
600
603
|
|
|
601
604
|
/* style inject SSR */
|
|
602
605
|
|
|
603
606
|
/* style inject shadow dom */
|
|
604
607
|
|
|
605
|
-
const __vue_component__$
|
|
606
|
-
render: __vue_render__$
|
|
607
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
608
|
-
}, __vue_inject_styles__$
|
|
608
|
+
const __vue_component__$1b = /*#__PURE__*/normalizeComponent({
|
|
609
|
+
render: __vue_render__$D,
|
|
610
|
+
staticRenderFns: __vue_staticRenderFns__$D
|
|
611
|
+
}, __vue_inject_styles__$G, {}, __vue_scope_id__$G, __vue_is_functional_template__$G, __vue_module_identifier__$G, false, undefined, undefined, undefined);
|
|
609
612
|
|
|
610
|
-
var ExclamationMarkPictogram = __vue_component__$
|
|
613
|
+
var ExclamationMarkPictogram = __vue_component__$1b;
|
|
611
614
|
|
|
612
615
|
//
|
|
613
|
-
var script$
|
|
616
|
+
var script$y = {
|
|
614
617
|
name: "NsEmptyState",
|
|
615
618
|
components: {
|
|
616
619
|
NsPictogram,
|
|
@@ -642,10 +645,10 @@ var script$v = {
|
|
|
642
645
|
};
|
|
643
646
|
|
|
644
647
|
/* script */
|
|
645
|
-
const __vue_script__$
|
|
648
|
+
const __vue_script__$y = script$y;
|
|
646
649
|
/* template */
|
|
647
650
|
|
|
648
|
-
var __vue_render__$
|
|
651
|
+
var __vue_render__$C = function () {
|
|
649
652
|
var _vm = this;
|
|
650
653
|
|
|
651
654
|
var _h = _vm.$createElement;
|
|
@@ -675,10 +678,10 @@ var __vue_render__$A = function () {
|
|
|
675
678
|
}, [_vm._t("description")], 2)] : _vm._e()], 2);
|
|
676
679
|
};
|
|
677
680
|
|
|
678
|
-
var __vue_staticRenderFns__$
|
|
681
|
+
var __vue_staticRenderFns__$C = [];
|
|
679
682
|
/* style */
|
|
680
683
|
|
|
681
|
-
const __vue_inject_styles__$
|
|
684
|
+
const __vue_inject_styles__$F = function (inject) {
|
|
682
685
|
if (!inject) return;
|
|
683
686
|
inject("data-v-2d5d3a58_0", {
|
|
684
687
|
source: ".empty-state[data-v-2d5d3a58]{text-align:center;padding:2rem}.empty-state .image[data-v-2d5d3a58]{margin-bottom:1rem}.empty-state .description[data-v-2d5d3a58]{margin-top:1rem}.animation[data-v-2d5d3a58]{display:inline-block;width:64px;height:64px}",
|
|
@@ -689,26 +692,26 @@ const __vue_inject_styles__$C = function (inject) {
|
|
|
689
692
|
/* scoped */
|
|
690
693
|
|
|
691
694
|
|
|
692
|
-
const __vue_scope_id__$
|
|
695
|
+
const __vue_scope_id__$F = "data-v-2d5d3a58";
|
|
693
696
|
/* module identifier */
|
|
694
697
|
|
|
695
|
-
const __vue_module_identifier__$
|
|
698
|
+
const __vue_module_identifier__$F = undefined;
|
|
696
699
|
/* functional template */
|
|
697
700
|
|
|
698
|
-
const __vue_is_functional_template__$
|
|
701
|
+
const __vue_is_functional_template__$F = false;
|
|
699
702
|
/* style inject SSR */
|
|
700
703
|
|
|
701
704
|
/* style inject shadow dom */
|
|
702
705
|
|
|
703
|
-
const __vue_component__$
|
|
704
|
-
render: __vue_render__$
|
|
705
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
706
|
-
}, __vue_inject_styles__$
|
|
706
|
+
const __vue_component__$19 = /*#__PURE__*/normalizeComponent({
|
|
707
|
+
render: __vue_render__$C,
|
|
708
|
+
staticRenderFns: __vue_staticRenderFns__$C
|
|
709
|
+
}, __vue_inject_styles__$F, __vue_script__$y, __vue_scope_id__$F, __vue_is_functional_template__$F, __vue_module_identifier__$F, false, createInjector, undefined, undefined);
|
|
707
710
|
|
|
708
|
-
var __vue_component__$
|
|
711
|
+
var __vue_component__$1a = __vue_component__$19;
|
|
709
712
|
|
|
710
713
|
//
|
|
711
|
-
var script$
|
|
714
|
+
var script$x = {
|
|
712
715
|
name: "NsCodeSnippet",
|
|
713
716
|
components: {
|
|
714
717
|
CvButton,
|
|
@@ -820,10 +823,10 @@ var script$u = {
|
|
|
820
823
|
};
|
|
821
824
|
|
|
822
825
|
/* script */
|
|
823
|
-
const __vue_script__$
|
|
826
|
+
const __vue_script__$x = script$x;
|
|
824
827
|
/* template */
|
|
825
828
|
|
|
826
|
-
var __vue_render__$
|
|
829
|
+
var __vue_render__$B = function () {
|
|
827
830
|
var _vm = this;
|
|
828
831
|
|
|
829
832
|
var _h = _vm.$createElement;
|
|
@@ -885,10 +888,10 @@ var __vue_render__$z = function () {
|
|
|
885
888
|
})], 1) : _vm._e()], 1);
|
|
886
889
|
};
|
|
887
890
|
|
|
888
|
-
var __vue_staticRenderFns__$
|
|
891
|
+
var __vue_staticRenderFns__$B = [];
|
|
889
892
|
/* style */
|
|
890
893
|
|
|
891
|
-
const __vue_inject_styles__$
|
|
894
|
+
const __vue_inject_styles__$E = function (inject) {
|
|
892
895
|
if (!inject) return;
|
|
893
896
|
inject("data-v-59cb538c_0", {
|
|
894
897
|
source: ".bx--snippet--multi .bx--snippet-container[data-v-59cb538c]{min-height:4.5rem;max-height:9.6rem;overflow-y:hidden}.bx--snippet--multi .bx--snippet-container.no-expand[data-v-59cb538c]{min-height:2.5rem}.bx--snippet--multi.bx--snippet--expand .bx--snippet-container[data-v-59cb538c]{max-height:100%}.bx--snippet--multi .bx--copy-btn[data-v-59cb538c]{position:absolute!important;top:.5rem;right:.5rem;z-index:11;width:3rem;height:2rem}.bx--snippet-btn--expand[data-v-59cb538c]{right:.5rem;bottom:.5rem}",
|
|
@@ -899,23 +902,23 @@ const __vue_inject_styles__$B = function (inject) {
|
|
|
899
902
|
/* scoped */
|
|
900
903
|
|
|
901
904
|
|
|
902
|
-
const __vue_scope_id__$
|
|
905
|
+
const __vue_scope_id__$E = "data-v-59cb538c";
|
|
903
906
|
/* module identifier */
|
|
904
907
|
|
|
905
|
-
const __vue_module_identifier__$
|
|
908
|
+
const __vue_module_identifier__$E = undefined;
|
|
906
909
|
/* functional template */
|
|
907
910
|
|
|
908
|
-
const __vue_is_functional_template__$
|
|
911
|
+
const __vue_is_functional_template__$E = false;
|
|
909
912
|
/* style inject SSR */
|
|
910
913
|
|
|
911
914
|
/* style inject shadow dom */
|
|
912
915
|
|
|
913
|
-
const __vue_component__$
|
|
914
|
-
render: __vue_render__$
|
|
915
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
916
|
-
}, __vue_inject_styles__$
|
|
916
|
+
const __vue_component__$17 = /*#__PURE__*/normalizeComponent({
|
|
917
|
+
render: __vue_render__$B,
|
|
918
|
+
staticRenderFns: __vue_staticRenderFns__$B
|
|
919
|
+
}, __vue_inject_styles__$E, __vue_script__$x, __vue_scope_id__$E, __vue_is_functional_template__$E, __vue_module_identifier__$E, false, createInjector, undefined, undefined);
|
|
917
920
|
|
|
918
|
-
var __vue_component__$
|
|
921
|
+
var __vue_component__$18 = __vue_component__$17;
|
|
919
922
|
|
|
920
923
|
//
|
|
921
924
|
//
|
|
@@ -946,7 +949,7 @@ var __vue_component__$12 = __vue_component__$11;
|
|
|
946
949
|
//
|
|
947
950
|
//
|
|
948
951
|
//
|
|
949
|
-
var script$
|
|
952
|
+
var script$w = {
|
|
950
953
|
name: "NsCircleTimer",
|
|
951
954
|
props: {
|
|
952
955
|
timeLimit: {
|
|
@@ -1010,10 +1013,10 @@ var script$t = {
|
|
|
1010
1013
|
};
|
|
1011
1014
|
|
|
1012
1015
|
/* script */
|
|
1013
|
-
const __vue_script__$
|
|
1016
|
+
const __vue_script__$w = script$w;
|
|
1014
1017
|
/* template */
|
|
1015
1018
|
|
|
1016
|
-
var __vue_render__$
|
|
1019
|
+
var __vue_render__$A = function () {
|
|
1017
1020
|
var _vm = this;
|
|
1018
1021
|
|
|
1019
1022
|
var _h = _vm.$createElement;
|
|
@@ -1049,10 +1052,10 @@ var __vue_render__$y = function () {
|
|
|
1049
1052
|
})])])]);
|
|
1050
1053
|
};
|
|
1051
1054
|
|
|
1052
|
-
var __vue_staticRenderFns__$
|
|
1055
|
+
var __vue_staticRenderFns__$A = [];
|
|
1053
1056
|
/* style */
|
|
1054
1057
|
|
|
1055
|
-
const __vue_inject_styles__$
|
|
1058
|
+
const __vue_inject_styles__$D = function (inject) {
|
|
1056
1059
|
if (!inject) return;
|
|
1057
1060
|
inject("data-v-79cb7082_0", {
|
|
1058
1061
|
source: ".base-timer[data-v-79cb7082]{position:relative}.base-timer__circle[data-v-79cb7082]{fill:none;stroke:none}.base-timer__path-remaining[data-v-79cb7082]{stroke:currentColor;transform:rotate(90deg);transform-origin:center;transition:1s linear all}.base-timer__svg[data-v-79cb7082]{transform:scaleX(-1)}",
|
|
@@ -1063,26 +1066,26 @@ const __vue_inject_styles__$A = function (inject) {
|
|
|
1063
1066
|
/* scoped */
|
|
1064
1067
|
|
|
1065
1068
|
|
|
1066
|
-
const __vue_scope_id__$
|
|
1069
|
+
const __vue_scope_id__$D = "data-v-79cb7082";
|
|
1067
1070
|
/* module identifier */
|
|
1068
1071
|
|
|
1069
|
-
const __vue_module_identifier__$
|
|
1072
|
+
const __vue_module_identifier__$D = undefined;
|
|
1070
1073
|
/* functional template */
|
|
1071
1074
|
|
|
1072
|
-
const __vue_is_functional_template__$
|
|
1075
|
+
const __vue_is_functional_template__$D = false;
|
|
1073
1076
|
/* style inject SSR */
|
|
1074
1077
|
|
|
1075
1078
|
/* style inject shadow dom */
|
|
1076
1079
|
|
|
1077
|
-
const __vue_component__$
|
|
1078
|
-
render: __vue_render__$
|
|
1079
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1080
|
-
}, __vue_inject_styles__$
|
|
1080
|
+
const __vue_component__$16 = /*#__PURE__*/normalizeComponent({
|
|
1081
|
+
render: __vue_render__$A,
|
|
1082
|
+
staticRenderFns: __vue_staticRenderFns__$A
|
|
1083
|
+
}, __vue_inject_styles__$D, __vue_script__$w, __vue_scope_id__$D, __vue_is_functional_template__$D, __vue_module_identifier__$D, false, createInjector, undefined, undefined);
|
|
1081
1084
|
|
|
1082
|
-
var NsCircleTimer = __vue_component__$
|
|
1085
|
+
var NsCircleTimer = __vue_component__$16;
|
|
1083
1086
|
|
|
1084
1087
|
//
|
|
1085
|
-
var script$
|
|
1088
|
+
var script$v = {
|
|
1086
1089
|
name: "NsInlineNotification",
|
|
1087
1090
|
extends: CvInlineNotification,
|
|
1088
1091
|
components: {
|
|
@@ -1119,10 +1122,10 @@ var script$s = {
|
|
|
1119
1122
|
};
|
|
1120
1123
|
|
|
1121
1124
|
/* script */
|
|
1122
|
-
const __vue_script__$
|
|
1125
|
+
const __vue_script__$v = script$v;
|
|
1123
1126
|
/* template */
|
|
1124
1127
|
|
|
1125
|
-
var __vue_render__$
|
|
1128
|
+
var __vue_render__$z = function () {
|
|
1126
1129
|
var _obj;
|
|
1127
1130
|
|
|
1128
1131
|
var _vm = this;
|
|
@@ -1193,10 +1196,10 @@ var __vue_render__$x = function () {
|
|
|
1193
1196
|
})], 1) : _vm._e()]);
|
|
1194
1197
|
};
|
|
1195
1198
|
|
|
1196
|
-
var __vue_staticRenderFns__$
|
|
1199
|
+
var __vue_staticRenderFns__$z = [];
|
|
1197
1200
|
/* style */
|
|
1198
1201
|
|
|
1199
|
-
const __vue_inject_styles__$
|
|
1202
|
+
const __vue_inject_styles__$C = function (inject) {
|
|
1200
1203
|
if (!inject) return;
|
|
1201
1204
|
inject("data-v-6b979488_0", {
|
|
1202
1205
|
source: ".title[data-v-6b979488]{margin-right:.75rem;margin-bottom:.2rem;font-size:.875rem!important;font-weight:600!important}.mg-right[data-v-6b979488]{margin-right:.75rem}.action-button[data-v-6b979488]{margin-right:.5rem}.bx--inline-notification__text-wrapper p[data-v-6b979488]{padding-right:0!important}",
|
|
@@ -1207,23 +1210,23 @@ const __vue_inject_styles__$z = function (inject) {
|
|
|
1207
1210
|
/* scoped */
|
|
1208
1211
|
|
|
1209
1212
|
|
|
1210
|
-
const __vue_scope_id__$
|
|
1213
|
+
const __vue_scope_id__$C = "data-v-6b979488";
|
|
1211
1214
|
/* module identifier */
|
|
1212
1215
|
|
|
1213
|
-
const __vue_module_identifier__$
|
|
1216
|
+
const __vue_module_identifier__$C = undefined;
|
|
1214
1217
|
/* functional template */
|
|
1215
1218
|
|
|
1216
|
-
const __vue_is_functional_template__$
|
|
1219
|
+
const __vue_is_functional_template__$C = false;
|
|
1217
1220
|
/* style inject SSR */
|
|
1218
1221
|
|
|
1219
1222
|
/* style inject shadow dom */
|
|
1220
1223
|
|
|
1221
|
-
const __vue_component__
|
|
1222
|
-
render: __vue_render__$
|
|
1223
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1224
|
-
}, __vue_inject_styles__$
|
|
1224
|
+
const __vue_component__$15 = /*#__PURE__*/normalizeComponent({
|
|
1225
|
+
render: __vue_render__$z,
|
|
1226
|
+
staticRenderFns: __vue_staticRenderFns__$z
|
|
1227
|
+
}, __vue_inject_styles__$C, __vue_script__$v, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, createInjector, undefined, undefined);
|
|
1225
1228
|
|
|
1226
|
-
var NsInlineNotification = __vue_component__
|
|
1229
|
+
var NsInlineNotification = __vue_component__$15;
|
|
1227
1230
|
|
|
1228
1231
|
//
|
|
1229
1232
|
//
|
|
@@ -1262,7 +1265,7 @@ var NsInlineNotification = __vue_component__$$;
|
|
|
1262
1265
|
//
|
|
1263
1266
|
//
|
|
1264
1267
|
//
|
|
1265
|
-
var script$
|
|
1268
|
+
var script$u = {
|
|
1266
1269
|
name: "NsProgressBar",
|
|
1267
1270
|
props: {
|
|
1268
1271
|
value: {
|
|
@@ -1289,6 +1292,10 @@ var script$r = {
|
|
|
1289
1292
|
useStatusColors: {
|
|
1290
1293
|
type: Boolean,
|
|
1291
1294
|
default: false
|
|
1295
|
+
},
|
|
1296
|
+
useHealthyColor: {
|
|
1297
|
+
type: Boolean,
|
|
1298
|
+
default: true
|
|
1292
1299
|
}
|
|
1293
1300
|
},
|
|
1294
1301
|
|
|
@@ -1316,7 +1323,7 @@ var script$r = {
|
|
|
1316
1323
|
},
|
|
1317
1324
|
|
|
1318
1325
|
healthyStatus() {
|
|
1319
|
-
return this.useStatusColors && this.numericValue < this.warningThreshold;
|
|
1326
|
+
return this.useStatusColors && this.useHealthyColor && this.numericValue < this.warningThreshold;
|
|
1320
1327
|
},
|
|
1321
1328
|
|
|
1322
1329
|
warningStatus() {
|
|
@@ -1336,10 +1343,10 @@ var script$r = {
|
|
|
1336
1343
|
};
|
|
1337
1344
|
|
|
1338
1345
|
/* script */
|
|
1339
|
-
const __vue_script__$
|
|
1346
|
+
const __vue_script__$u = script$u;
|
|
1340
1347
|
/* template */
|
|
1341
1348
|
|
|
1342
|
-
var __vue_render__$
|
|
1349
|
+
var __vue_render__$y = function () {
|
|
1343
1350
|
var _vm = this;
|
|
1344
1351
|
|
|
1345
1352
|
var _h = _vm.$createElement;
|
|
@@ -1378,13 +1385,13 @@ var __vue_render__$w = function () {
|
|
|
1378
1385
|
})]], 2)]);
|
|
1379
1386
|
};
|
|
1380
1387
|
|
|
1381
|
-
var __vue_staticRenderFns__$
|
|
1388
|
+
var __vue_staticRenderFns__$y = [];
|
|
1382
1389
|
/* style */
|
|
1383
1390
|
|
|
1384
|
-
const __vue_inject_styles__$
|
|
1391
|
+
const __vue_inject_styles__$B = function (inject) {
|
|
1385
1392
|
if (!inject) return;
|
|
1386
|
-
inject("data-v-
|
|
1387
|
-
source: ".progress-bar-container[data-v-
|
|
1393
|
+
inject("data-v-be01f286_0", {
|
|
1394
|
+
source: ".progress-bar-container[data-v-be01f286]{width:100%;position:relative}.slider[data-v-be01f286]{position:absolute;width:100%;overflow-x:hidden}.line[data-v-be01f286]{position:absolute;opacity:.4;width:100%}.progress-line[data-v-be01f286]{position:absolute}.indeterminate-line[data-v-be01f286]{position:absolute;opacity:.4;width:150%}.indeterminate-subline[data-v-be01f286]{position:absolute}.inc[data-v-be01f286]{animation:increase-data-v-be01f286 2s infinite}.dec[data-v-be01f286]{animation:decrease-data-v-be01f286 2s .5s infinite}@keyframes increase-data-v-be01f286{from{left:-5%;width:5%}to{left:130%;width:100%}}@keyframes decrease-data-v-be01f286{from{left:-80%;width:80%}to{left:110%;width:10%}}",
|
|
1388
1395
|
map: undefined,
|
|
1389
1396
|
media: undefined
|
|
1390
1397
|
});
|
|
@@ -1392,25 +1399,25 @@ const __vue_inject_styles__$y = function (inject) {
|
|
|
1392
1399
|
/* scoped */
|
|
1393
1400
|
|
|
1394
1401
|
|
|
1395
|
-
const __vue_scope_id__$
|
|
1402
|
+
const __vue_scope_id__$B = "data-v-be01f286";
|
|
1396
1403
|
/* module identifier */
|
|
1397
1404
|
|
|
1398
|
-
const __vue_module_identifier__$
|
|
1405
|
+
const __vue_module_identifier__$B = undefined;
|
|
1399
1406
|
/* functional template */
|
|
1400
1407
|
|
|
1401
|
-
const __vue_is_functional_template__$
|
|
1408
|
+
const __vue_is_functional_template__$B = false;
|
|
1402
1409
|
/* style inject SSR */
|
|
1403
1410
|
|
|
1404
1411
|
/* style inject shadow dom */
|
|
1405
1412
|
|
|
1406
|
-
const __vue_component__$
|
|
1407
|
-
render: __vue_render__$
|
|
1408
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1409
|
-
}, __vue_inject_styles__$
|
|
1413
|
+
const __vue_component__$14 = /*#__PURE__*/normalizeComponent({
|
|
1414
|
+
render: __vue_render__$y,
|
|
1415
|
+
staticRenderFns: __vue_staticRenderFns__$y
|
|
1416
|
+
}, __vue_inject_styles__$B, __vue_script__$u, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, createInjector, undefined, undefined);
|
|
1410
1417
|
|
|
1411
|
-
var NsProgressBar = __vue_component__$
|
|
1418
|
+
var NsProgressBar = __vue_component__$14;
|
|
1412
1419
|
|
|
1413
|
-
var script$
|
|
1420
|
+
var script$t = {
|
|
1414
1421
|
name: "NsSvg",
|
|
1415
1422
|
props: {
|
|
1416
1423
|
svg: {
|
|
@@ -1469,33 +1476,33 @@ var script$q = {
|
|
|
1469
1476
|
};
|
|
1470
1477
|
|
|
1471
1478
|
/* script */
|
|
1472
|
-
const __vue_script__$
|
|
1479
|
+
const __vue_script__$t = script$t;
|
|
1473
1480
|
/* template */
|
|
1474
1481
|
|
|
1475
1482
|
/* style */
|
|
1476
1483
|
|
|
1477
|
-
const __vue_inject_styles__$
|
|
1484
|
+
const __vue_inject_styles__$A = undefined;
|
|
1478
1485
|
/* scoped */
|
|
1479
1486
|
|
|
1480
|
-
const __vue_scope_id__$
|
|
1487
|
+
const __vue_scope_id__$A = undefined;
|
|
1481
1488
|
/* module identifier */
|
|
1482
1489
|
|
|
1483
|
-
const __vue_module_identifier__$
|
|
1490
|
+
const __vue_module_identifier__$A = undefined;
|
|
1484
1491
|
/* functional template */
|
|
1485
1492
|
|
|
1486
|
-
const __vue_is_functional_template__$
|
|
1493
|
+
const __vue_is_functional_template__$A = undefined;
|
|
1487
1494
|
/* style inject */
|
|
1488
1495
|
|
|
1489
1496
|
/* style inject SSR */
|
|
1490
1497
|
|
|
1491
1498
|
/* style inject shadow dom */
|
|
1492
1499
|
|
|
1493
|
-
const __vue_component__$
|
|
1500
|
+
const __vue_component__$13 = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$A, __vue_script__$t, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, undefined, undefined, undefined);
|
|
1494
1501
|
|
|
1495
|
-
var NsSvg = __vue_component__$
|
|
1502
|
+
var NsSvg = __vue_component__$13;
|
|
1496
1503
|
|
|
1497
1504
|
//
|
|
1498
|
-
var script$
|
|
1505
|
+
var script$s = {
|
|
1499
1506
|
name: "NsTile",
|
|
1500
1507
|
extends: CvTile,
|
|
1501
1508
|
inheritAttrs: false,
|
|
@@ -1569,10 +1576,10 @@ var script$p = {
|
|
|
1569
1576
|
};
|
|
1570
1577
|
|
|
1571
1578
|
/* script */
|
|
1572
|
-
const __vue_script__$
|
|
1579
|
+
const __vue_script__$s = script$s;
|
|
1573
1580
|
/* template */
|
|
1574
1581
|
|
|
1575
|
-
var __vue_render__$
|
|
1582
|
+
var __vue_render__$x = function () {
|
|
1576
1583
|
var _obj;
|
|
1577
1584
|
|
|
1578
1585
|
var _vm = this;
|
|
@@ -1611,10 +1618,10 @@ var __vue_render__$v = function () {
|
|
|
1611
1618
|
}) : _vm._e()], 1);
|
|
1612
1619
|
};
|
|
1613
1620
|
|
|
1614
|
-
var __vue_staticRenderFns__$
|
|
1621
|
+
var __vue_staticRenderFns__$x = [];
|
|
1615
1622
|
/* style */
|
|
1616
1623
|
|
|
1617
|
-
const __vue_inject_styles__$
|
|
1624
|
+
const __vue_inject_styles__$z = function (inject) {
|
|
1618
1625
|
if (!inject) return;
|
|
1619
1626
|
inject("data-v-443a91f0_0", {
|
|
1620
1627
|
source: ".ns-tile[data-v-443a91f0]{margin-bottom:2rem;position:relative}.container[data-v-443a91f0]{display:flex;flex-direction:column;justify-content:center}.centered[data-v-443a91f0]{text-align:center}.large[data-v-443a91f0]{min-height:10rem}.tile-icon[data-v-443a91f0]{display:block;margin-left:auto;margin-right:auto;margin-bottom:1rem}.tile-footer-icon[data-v-443a91f0]{position:absolute;right:1rem;bottom:1rem;flex-shrink:0;width:1.25rem;height:1.25rem}.pad-bottom[data-v-443a91f0]{padding-bottom:4rem}.disabled-tile[data-v-443a91f0]{color:#c6c6c6}",
|
|
@@ -1625,23 +1632,23 @@ const __vue_inject_styles__$w = function (inject) {
|
|
|
1625
1632
|
/* scoped */
|
|
1626
1633
|
|
|
1627
1634
|
|
|
1628
|
-
const __vue_scope_id__$
|
|
1635
|
+
const __vue_scope_id__$z = "data-v-443a91f0";
|
|
1629
1636
|
/* module identifier */
|
|
1630
1637
|
|
|
1631
|
-
const __vue_module_identifier__$
|
|
1638
|
+
const __vue_module_identifier__$z = undefined;
|
|
1632
1639
|
/* functional template */
|
|
1633
1640
|
|
|
1634
|
-
const __vue_is_functional_template__$
|
|
1641
|
+
const __vue_is_functional_template__$z = false;
|
|
1635
1642
|
/* style inject SSR */
|
|
1636
1643
|
|
|
1637
1644
|
/* style inject shadow dom */
|
|
1638
1645
|
|
|
1639
|
-
const __vue_component__$
|
|
1640
|
-
render: __vue_render__$
|
|
1641
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1642
|
-
}, __vue_inject_styles__$
|
|
1646
|
+
const __vue_component__$11 = /*#__PURE__*/normalizeComponent({
|
|
1647
|
+
render: __vue_render__$x,
|
|
1648
|
+
staticRenderFns: __vue_staticRenderFns__$x
|
|
1649
|
+
}, __vue_inject_styles__$z, __vue_script__$s, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, createInjector, undefined, undefined);
|
|
1643
1650
|
|
|
1644
|
-
var __vue_component__$
|
|
1651
|
+
var __vue_component__$12 = __vue_component__$11;
|
|
1645
1652
|
|
|
1646
1653
|
function toInteger(dirtyNumber) {
|
|
1647
1654
|
if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
|
|
@@ -6238,7 +6245,7 @@ var DateTimeService = {
|
|
|
6238
6245
|
};
|
|
6239
6246
|
|
|
6240
6247
|
//
|
|
6241
|
-
var script$
|
|
6248
|
+
var script$r = {
|
|
6242
6249
|
name: "NsToastNotification",
|
|
6243
6250
|
extends: CvToastNotification,
|
|
6244
6251
|
components: {
|
|
@@ -6316,10 +6323,10 @@ var script$o = {
|
|
|
6316
6323
|
};
|
|
6317
6324
|
|
|
6318
6325
|
/* script */
|
|
6319
|
-
const __vue_script__$
|
|
6326
|
+
const __vue_script__$r = script$r;
|
|
6320
6327
|
/* template */
|
|
6321
6328
|
|
|
6322
|
-
var __vue_render__$
|
|
6329
|
+
var __vue_render__$w = function () {
|
|
6323
6330
|
var _obj;
|
|
6324
6331
|
|
|
6325
6332
|
var _vm = this;
|
|
@@ -6417,10 +6424,10 @@ var __vue_render__$u = function () {
|
|
|
6417
6424
|
})], 1) : _vm._e()], 1)]);
|
|
6418
6425
|
};
|
|
6419
6426
|
|
|
6420
|
-
var __vue_staticRenderFns__$
|
|
6427
|
+
var __vue_staticRenderFns__$w = [];
|
|
6421
6428
|
/* style */
|
|
6422
6429
|
|
|
6423
|
-
const __vue_inject_styles__$
|
|
6430
|
+
const __vue_inject_styles__$y = function (inject) {
|
|
6424
6431
|
if (!inject) return;
|
|
6425
6432
|
inject("data-v-6ff0b515_0", {
|
|
6426
6433
|
source: ".notification[data-v-6ff0b515]{margin-bottom:0;margin-right:0}.action[data-v-6ff0b515]{padding-top:0;margin-bottom:0}.bx--toast-notification .bx--inline-notification__action-button[data-v-6ff0b515]{margin-left:-1rem}.bx--toast-notification .bx--inline-notification__action-button.bx--btn--danger[data-v-6ff0b515]{margin:.5rem 0 .5rem -1rem}.notification-description-and-progress[data-v-6ff0b515]{margin-top:.75rem;margin-bottom:.75rem}.fix-margin-bottom[data-v-6ff0b515]{margin-bottom:0}.progress[data-v-6ff0b515]{margin-top:.75rem}.progress-bar-spacer[data-v-6ff0b515]{height:.5rem}.cv-notifiation.bx--toast-notification.notification[data-v-6ff0b515]{width:26vw;min-width:20rem;margin-top:0}.notification-drawer .cv-notifiation.bx--toast-notification.notification[data-v-6ff0b515]{margin-top:1rem}.notification-drawer .cv-notifiation.bx--toast-notification.notification[data-v-6ff0b515]{width:100%;cursor:pointer}.notification-read[data-v-6ff0b515]{border-color:#8d8d8d;color:#c6c6c6}.notification-read .bx--toast-notification__icon[data-v-6ff0b515]{fill:currentColor}.notification-read .bx--toast-notification__subtitle[data-v-6ff0b515]{color:#c6c6c6}.notification-read .bx--toast-notification__title[data-v-6ff0b515]{font-weight:400}.cv-notifiation .timestamp[data-v-6ff0b515]{margin-bottom:.75rem;line-height:1.29;color:#fff;text-decoration:underline}.cv-notifiation .timestamp button[data-v-6ff0b515]{color:#c6c6c6}.bx--tooltip__trigger[data-v-6ff0b515]:not(.bx--btn--icon-only){font-size:inherit}.cv-notifiation .timestamp .bx--tooltip__trigger[data-v-6ff0b515]::before{border-bottom-color:#161616}div.row[data-v-6ff0b515]:last-child{margin-bottom:1.5rem}.bx--toast-notification__details[data-v-6ff0b515]{flex-grow:1}",
|
|
@@ -6435,26 +6442,26 @@ const __vue_inject_styles__$v = function (inject) {
|
|
|
6435
6442
|
/* scoped */
|
|
6436
6443
|
|
|
6437
6444
|
|
|
6438
|
-
const __vue_scope_id__$
|
|
6445
|
+
const __vue_scope_id__$y = "data-v-6ff0b515";
|
|
6439
6446
|
/* module identifier */
|
|
6440
6447
|
|
|
6441
|
-
const __vue_module_identifier__$
|
|
6448
|
+
const __vue_module_identifier__$y = undefined;
|
|
6442
6449
|
/* functional template */
|
|
6443
6450
|
|
|
6444
|
-
const __vue_is_functional_template__$
|
|
6451
|
+
const __vue_is_functional_template__$y = false;
|
|
6445
6452
|
/* style inject SSR */
|
|
6446
6453
|
|
|
6447
6454
|
/* style inject shadow dom */
|
|
6448
6455
|
|
|
6449
|
-
const __vue_component__
|
|
6450
|
-
render: __vue_render__$
|
|
6451
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6452
|
-
}, __vue_inject_styles__$
|
|
6456
|
+
const __vue_component__$$ = /*#__PURE__*/normalizeComponent({
|
|
6457
|
+
render: __vue_render__$w,
|
|
6458
|
+
staticRenderFns: __vue_staticRenderFns__$w
|
|
6459
|
+
}, __vue_inject_styles__$y, __vue_script__$r, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, createInjector, undefined, undefined);
|
|
6453
6460
|
|
|
6454
|
-
var __vue_component__$
|
|
6461
|
+
var __vue_component__$10 = __vue_component__$$;
|
|
6455
6462
|
|
|
6456
6463
|
//
|
|
6457
|
-
var script$
|
|
6464
|
+
var script$q = {
|
|
6458
6465
|
name: "NsInfoCard",
|
|
6459
6466
|
components: {
|
|
6460
6467
|
NsSvg,
|
|
@@ -6505,10 +6512,10 @@ var script$n = {
|
|
|
6505
6512
|
};
|
|
6506
6513
|
|
|
6507
6514
|
/* script */
|
|
6508
|
-
const __vue_script__$
|
|
6515
|
+
const __vue_script__$q = script$q;
|
|
6509
6516
|
/* template */
|
|
6510
6517
|
|
|
6511
|
-
var __vue_render__$
|
|
6518
|
+
var __vue_render__$v = function () {
|
|
6512
6519
|
var _vm = this;
|
|
6513
6520
|
|
|
6514
6521
|
var _h = _vm.$createElement;
|
|
@@ -6565,10 +6572,10 @@ var __vue_render__$t = function () {
|
|
|
6565
6572
|
}, [_vm.hasContentSlot ? _vm._t("content") : _vm._e()], 2)], 2);
|
|
6566
6573
|
};
|
|
6567
6574
|
|
|
6568
|
-
var __vue_staticRenderFns__$
|
|
6575
|
+
var __vue_staticRenderFns__$v = [];
|
|
6569
6576
|
/* style */
|
|
6570
6577
|
|
|
6571
|
-
const __vue_inject_styles__$
|
|
6578
|
+
const __vue_inject_styles__$x = function (inject) {
|
|
6572
6579
|
if (!inject) return;
|
|
6573
6580
|
inject("data-v-aefc1c3e_0", {
|
|
6574
6581
|
source: ".info-card[data-v-aefc1c3e]{display:flex;flex-direction:column;justify-content:center;min-height:7rem;position:relative}.skeleton[data-v-aefc1c3e]{margin-top:.5rem;margin-left:auto;margin-right:auto}.row[data-v-aefc1c3e]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.title[data-v-aefc1c3e]{margin-left:.25rem;margin-right:.25rem;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.description[data-v-aefc1c3e]{margin-left:.25rem;margin-right:.25rem}.slot[data-v-aefc1c3e]{margin-top:.5rem}",
|
|
@@ -6579,26 +6586,26 @@ const __vue_inject_styles__$u = function (inject) {
|
|
|
6579
6586
|
/* scoped */
|
|
6580
6587
|
|
|
6581
6588
|
|
|
6582
|
-
const __vue_scope_id__$
|
|
6589
|
+
const __vue_scope_id__$x = "data-v-aefc1c3e";
|
|
6583
6590
|
/* module identifier */
|
|
6584
6591
|
|
|
6585
|
-
const __vue_module_identifier__$
|
|
6592
|
+
const __vue_module_identifier__$x = undefined;
|
|
6586
6593
|
/* functional template */
|
|
6587
6594
|
|
|
6588
|
-
const __vue_is_functional_template__$
|
|
6595
|
+
const __vue_is_functional_template__$x = false;
|
|
6589
6596
|
/* style inject SSR */
|
|
6590
6597
|
|
|
6591
6598
|
/* style inject shadow dom */
|
|
6592
6599
|
|
|
6593
|
-
const __vue_component__$
|
|
6594
|
-
render: __vue_render__$
|
|
6595
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6596
|
-
}, __vue_inject_styles__$
|
|
6600
|
+
const __vue_component__$Z = /*#__PURE__*/normalizeComponent({
|
|
6601
|
+
render: __vue_render__$v,
|
|
6602
|
+
staticRenderFns: __vue_staticRenderFns__$v
|
|
6603
|
+
}, __vue_inject_styles__$x, __vue_script__$q, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, createInjector, undefined, undefined);
|
|
6597
6604
|
|
|
6598
|
-
var __vue_component__$
|
|
6605
|
+
var __vue_component__$_ = __vue_component__$Z;
|
|
6599
6606
|
|
|
6600
6607
|
//
|
|
6601
|
-
var script$
|
|
6608
|
+
var script$p = {
|
|
6602
6609
|
name: "NsStatusCard",
|
|
6603
6610
|
//components added for storybook to work
|
|
6604
6611
|
components: {
|
|
@@ -6645,10 +6652,10 @@ var script$m = {
|
|
|
6645
6652
|
};
|
|
6646
6653
|
|
|
6647
6654
|
/* script */
|
|
6648
|
-
const __vue_script__$
|
|
6655
|
+
const __vue_script__$p = script$p;
|
|
6649
6656
|
/* template */
|
|
6650
6657
|
|
|
6651
|
-
var __vue_render__$
|
|
6658
|
+
var __vue_render__$u = function () {
|
|
6652
6659
|
var _vm = this;
|
|
6653
6660
|
|
|
6654
6661
|
var _h = _vm.$createElement;
|
|
@@ -6717,10 +6724,10 @@ var __vue_render__$s = function () {
|
|
|
6717
6724
|
}, [_c('h4', [_vm._v(_vm._s(_vm.valueSuccess))])]) : _c('h4', [_vm._v(_vm._s(_vm.valueSuccess))])], 1) : _vm._e()])]);
|
|
6718
6725
|
};
|
|
6719
6726
|
|
|
6720
|
-
var __vue_staticRenderFns__$
|
|
6727
|
+
var __vue_staticRenderFns__$u = [];
|
|
6721
6728
|
/* style */
|
|
6722
6729
|
|
|
6723
|
-
const __vue_inject_styles__$
|
|
6730
|
+
const __vue_inject_styles__$w = function (inject) {
|
|
6724
6731
|
if (!inject) return;
|
|
6725
6732
|
inject("data-v-496044f0_0", {
|
|
6726
6733
|
source: ".status-card[data-v-496044f0]{display:flex;flex-direction:column;justify-content:center}.row[data-v-496044f0]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.value[data-v-496044f0]{margin-left:.25rem;margin-right:.25rem}.label[data-v-496044f0]{margin-left:.25rem;margin-right:.25rem}.success-icon[data-v-496044f0]{margin-right:.25rem}.error-icon[data-v-496044f0]{margin-right:.25rem}.warning-icon[data-v-496044f0]{margin-right:.25rem}.stats[data-v-496044f0]{display:flex;align-items:center;margin-left:.5rem;margin-right:.5rem}",
|
|
@@ -6731,26 +6738,26 @@ const __vue_inject_styles__$t = function (inject) {
|
|
|
6731
6738
|
/* scoped */
|
|
6732
6739
|
|
|
6733
6740
|
|
|
6734
|
-
const __vue_scope_id__$
|
|
6741
|
+
const __vue_scope_id__$w = "data-v-496044f0";
|
|
6735
6742
|
/* module identifier */
|
|
6736
6743
|
|
|
6737
|
-
const __vue_module_identifier__$
|
|
6744
|
+
const __vue_module_identifier__$w = undefined;
|
|
6738
6745
|
/* functional template */
|
|
6739
6746
|
|
|
6740
|
-
const __vue_is_functional_template__$
|
|
6747
|
+
const __vue_is_functional_template__$w = false;
|
|
6741
6748
|
/* style inject SSR */
|
|
6742
6749
|
|
|
6743
6750
|
/* style inject shadow dom */
|
|
6744
6751
|
|
|
6745
|
-
const __vue_component__$
|
|
6746
|
-
render: __vue_render__$
|
|
6747
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6748
|
-
}, __vue_inject_styles__$
|
|
6752
|
+
const __vue_component__$X = /*#__PURE__*/normalizeComponent({
|
|
6753
|
+
render: __vue_render__$u,
|
|
6754
|
+
staticRenderFns: __vue_staticRenderFns__$u
|
|
6755
|
+
}, __vue_inject_styles__$w, __vue_script__$p, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, createInjector, undefined, undefined);
|
|
6749
6756
|
|
|
6750
|
-
var __vue_component__$
|
|
6757
|
+
var __vue_component__$Y = __vue_component__$X;
|
|
6751
6758
|
|
|
6752
6759
|
//
|
|
6753
|
-
var script$
|
|
6760
|
+
var script$o = {
|
|
6754
6761
|
name: "NsSystemdServiceCard",
|
|
6755
6762
|
//components added for storybook to work
|
|
6756
6763
|
components: {
|
|
@@ -6804,10 +6811,10 @@ var script$l = {
|
|
|
6804
6811
|
};
|
|
6805
6812
|
|
|
6806
6813
|
/* script */
|
|
6807
|
-
const __vue_script__$
|
|
6814
|
+
const __vue_script__$o = script$o;
|
|
6808
6815
|
/* template */
|
|
6809
6816
|
|
|
6810
|
-
var __vue_render__$
|
|
6817
|
+
var __vue_render__$t = function () {
|
|
6811
6818
|
var _vm = this;
|
|
6812
6819
|
|
|
6813
6820
|
var _h = _vm.$createElement;
|
|
@@ -6862,10 +6869,10 @@ var __vue_render__$r = function () {
|
|
|
6862
6869
|
})], 1)])]);
|
|
6863
6870
|
};
|
|
6864
6871
|
|
|
6865
|
-
var __vue_staticRenderFns__$
|
|
6872
|
+
var __vue_staticRenderFns__$t = [];
|
|
6866
6873
|
/* style */
|
|
6867
6874
|
|
|
6868
|
-
const __vue_inject_styles__$
|
|
6875
|
+
const __vue_inject_styles__$v = function (inject) {
|
|
6869
6876
|
if (!inject) return;
|
|
6870
6877
|
inject("data-v-bf751eca_0", {
|
|
6871
6878
|
source: ".service-card[data-v-bf751eca]{display:flex;flex-direction:column;justify-content:center}.row[data-v-bf751eca]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.service-name[data-v-bf751eca]{margin-left:.25rem;margin-right:.25rem;margin-bottom:.5rem}.success-icon[data-v-bf751eca]{margin-right:.25rem}.error-icon[data-v-bf751eca]{margin-right:.25rem}.warning-icon[data-v-bf751eca]{margin-right:.25rem}.stats[data-v-bf751eca]{display:flex;align-items:center;margin-left:.5rem;margin-right:.5rem}",
|
|
@@ -6876,26 +6883,26 @@ const __vue_inject_styles__$s = function (inject) {
|
|
|
6876
6883
|
/* scoped */
|
|
6877
6884
|
|
|
6878
6885
|
|
|
6879
|
-
const __vue_scope_id__$
|
|
6886
|
+
const __vue_scope_id__$v = "data-v-bf751eca";
|
|
6880
6887
|
/* module identifier */
|
|
6881
6888
|
|
|
6882
|
-
const __vue_module_identifier__$
|
|
6889
|
+
const __vue_module_identifier__$v = undefined;
|
|
6883
6890
|
/* functional template */
|
|
6884
6891
|
|
|
6885
|
-
const __vue_is_functional_template__$
|
|
6892
|
+
const __vue_is_functional_template__$v = false;
|
|
6886
6893
|
/* style inject SSR */
|
|
6887
6894
|
|
|
6888
6895
|
/* style inject shadow dom */
|
|
6889
6896
|
|
|
6890
|
-
const __vue_component__$
|
|
6891
|
-
render: __vue_render__$
|
|
6892
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6893
|
-
}, __vue_inject_styles__$
|
|
6897
|
+
const __vue_component__$V = /*#__PURE__*/normalizeComponent({
|
|
6898
|
+
render: __vue_render__$t,
|
|
6899
|
+
staticRenderFns: __vue_staticRenderFns__$t
|
|
6900
|
+
}, __vue_inject_styles__$v, __vue_script__$o, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, createInjector, undefined, undefined);
|
|
6894
6901
|
|
|
6895
|
-
var __vue_component__$
|
|
6902
|
+
var __vue_component__$W = __vue_component__$V;
|
|
6896
6903
|
|
|
6897
6904
|
//
|
|
6898
|
-
var script$
|
|
6905
|
+
var script$n = {
|
|
6899
6906
|
name: "NsTextInput",
|
|
6900
6907
|
extends: CvTextInput,
|
|
6901
6908
|
components: {
|
|
@@ -6950,10 +6957,10 @@ var script$k = {
|
|
|
6950
6957
|
};
|
|
6951
6958
|
|
|
6952
6959
|
/* script */
|
|
6953
|
-
const __vue_script__$
|
|
6960
|
+
const __vue_script__$n = script$n;
|
|
6954
6961
|
/* template */
|
|
6955
6962
|
|
|
6956
|
-
var __vue_render__$
|
|
6963
|
+
var __vue_render__$s = function () {
|
|
6957
6964
|
var _obj, _obj$1, _obj$2, _obj$3, _obj$4;
|
|
6958
6965
|
|
|
6959
6966
|
var _vm = this;
|
|
@@ -7032,10 +7039,10 @@ var __vue_render__$q = function () {
|
|
|
7032
7039
|
})], 2) : _vm._e()]);
|
|
7033
7040
|
};
|
|
7034
7041
|
|
|
7035
|
-
var __vue_staticRenderFns__$
|
|
7042
|
+
var __vue_staticRenderFns__$s = [];
|
|
7036
7043
|
/* style */
|
|
7037
7044
|
|
|
7038
|
-
const __vue_inject_styles__$
|
|
7045
|
+
const __vue_inject_styles__$u = function (inject) {
|
|
7039
7046
|
if (!inject) return;
|
|
7040
7047
|
inject("data-v-11b039d1_0", {
|
|
7041
7048
|
source: ".label-with-tooltip[data-v-11b039d1]{display:flex;align-items:baseline}.prefix[data-v-11b039d1]{font-weight:700;margin-right:.5rem;color:#525252}.align-items-center[data-v-11b039d1]{align-items:center}",
|
|
@@ -7050,23 +7057,23 @@ const __vue_inject_styles__$r = function (inject) {
|
|
|
7050
7057
|
/* scoped */
|
|
7051
7058
|
|
|
7052
7059
|
|
|
7053
|
-
const __vue_scope_id__$
|
|
7060
|
+
const __vue_scope_id__$u = "data-v-11b039d1";
|
|
7054
7061
|
/* module identifier */
|
|
7055
7062
|
|
|
7056
|
-
const __vue_module_identifier__$
|
|
7063
|
+
const __vue_module_identifier__$u = undefined;
|
|
7057
7064
|
/* functional template */
|
|
7058
7065
|
|
|
7059
|
-
const __vue_is_functional_template__$
|
|
7066
|
+
const __vue_is_functional_template__$u = false;
|
|
7060
7067
|
/* style inject SSR */
|
|
7061
7068
|
|
|
7062
7069
|
/* style inject shadow dom */
|
|
7063
7070
|
|
|
7064
|
-
const __vue_component__$
|
|
7065
|
-
render: __vue_render__$
|
|
7066
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7067
|
-
}, __vue_inject_styles__$
|
|
7071
|
+
const __vue_component__$U = /*#__PURE__*/normalizeComponent({
|
|
7072
|
+
render: __vue_render__$s,
|
|
7073
|
+
staticRenderFns: __vue_staticRenderFns__$s
|
|
7074
|
+
}, __vue_inject_styles__$u, __vue_script__$n, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, createInjector, undefined, undefined);
|
|
7068
7075
|
|
|
7069
|
-
var NsTextInput = __vue_component__$
|
|
7076
|
+
var NsTextInput = __vue_component__$U;
|
|
7070
7077
|
|
|
7071
7078
|
// Unique ID creation requires a high quality random # generator. In node.js
|
|
7072
7079
|
// this is pretty straight-forward - we use the crypto API.
|
|
@@ -7593,7 +7600,7 @@ var UtilService = {
|
|
|
7593
7600
|
},
|
|
7594
7601
|
|
|
7595
7602
|
/**
|
|
7596
|
-
* Decode a jwt token
|
|
7603
|
+
* Decode a jwt token and parse its payload
|
|
7597
7604
|
*/
|
|
7598
7605
|
decodeJwtPayload(token) {
|
|
7599
7606
|
var base64Url = token.split(".")[1];
|
|
@@ -7608,7 +7615,7 @@ var UtilService = {
|
|
|
7608
7615
|
};
|
|
7609
7616
|
|
|
7610
7617
|
//
|
|
7611
|
-
var script$
|
|
7618
|
+
var script$m = {
|
|
7612
7619
|
name: "NsPasswordInput",
|
|
7613
7620
|
components: {
|
|
7614
7621
|
NsTextInput
|
|
@@ -7773,10 +7780,10 @@ var script$j = {
|
|
|
7773
7780
|
};
|
|
7774
7781
|
|
|
7775
7782
|
/* script */
|
|
7776
|
-
const __vue_script__$
|
|
7783
|
+
const __vue_script__$m = script$m;
|
|
7777
7784
|
/* template */
|
|
7778
7785
|
|
|
7779
|
-
var __vue_render__$
|
|
7786
|
+
var __vue_render__$r = function () {
|
|
7780
7787
|
var _vm = this;
|
|
7781
7788
|
|
|
7782
7789
|
var _h = _vm.$createElement;
|
|
@@ -7871,10 +7878,10 @@ var __vue_render__$p = function () {
|
|
|
7871
7878
|
}, [_vm._v(_vm._s(_vm.equalLabel))])])], 1)]);
|
|
7872
7879
|
};
|
|
7873
7880
|
|
|
7874
|
-
var __vue_staticRenderFns__$
|
|
7881
|
+
var __vue_staticRenderFns__$r = [];
|
|
7875
7882
|
/* style */
|
|
7876
7883
|
|
|
7877
|
-
const __vue_inject_styles__$
|
|
7884
|
+
const __vue_inject_styles__$t = function (inject) {
|
|
7878
7885
|
if (!inject) return;
|
|
7879
7886
|
inject("data-v-67b93b40_0", {
|
|
7880
7887
|
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}",
|
|
@@ -7885,26 +7892,26 @@ const __vue_inject_styles__$q = function (inject) {
|
|
|
7885
7892
|
/* scoped */
|
|
7886
7893
|
|
|
7887
7894
|
|
|
7888
|
-
const __vue_scope_id__$
|
|
7895
|
+
const __vue_scope_id__$t = "data-v-67b93b40";
|
|
7889
7896
|
/* module identifier */
|
|
7890
7897
|
|
|
7891
|
-
const __vue_module_identifier__$
|
|
7898
|
+
const __vue_module_identifier__$t = undefined;
|
|
7892
7899
|
/* functional template */
|
|
7893
7900
|
|
|
7894
|
-
const __vue_is_functional_template__$
|
|
7901
|
+
const __vue_is_functional_template__$t = false;
|
|
7895
7902
|
/* style inject SSR */
|
|
7896
7903
|
|
|
7897
7904
|
/* style inject shadow dom */
|
|
7898
7905
|
|
|
7899
|
-
const __vue_component__$
|
|
7900
|
-
render: __vue_render__$
|
|
7901
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7902
|
-
}, __vue_inject_styles__$
|
|
7906
|
+
const __vue_component__$S = /*#__PURE__*/normalizeComponent({
|
|
7907
|
+
render: __vue_render__$r,
|
|
7908
|
+
staticRenderFns: __vue_staticRenderFns__$r
|
|
7909
|
+
}, __vue_inject_styles__$t, __vue_script__$m, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, createInjector, undefined, undefined);
|
|
7903
7910
|
|
|
7904
|
-
var __vue_component__$
|
|
7911
|
+
var __vue_component__$T = __vue_component__$S;
|
|
7905
7912
|
|
|
7906
7913
|
//
|
|
7907
|
-
var script$
|
|
7914
|
+
var script$l = {
|
|
7908
7915
|
name: "NsIconMenu",
|
|
7909
7916
|
extends: CvOverflowMenu,
|
|
7910
7917
|
props: {
|
|
@@ -7948,10 +7955,10 @@ var script$i = {
|
|
|
7948
7955
|
};
|
|
7949
7956
|
|
|
7950
7957
|
/* script */
|
|
7951
|
-
const __vue_script__$
|
|
7958
|
+
const __vue_script__$l = script$l;
|
|
7952
7959
|
/* template */
|
|
7953
7960
|
|
|
7954
|
-
var __vue_render__$
|
|
7961
|
+
var __vue_render__$q = function () {
|
|
7955
7962
|
var _obj, _obj$1;
|
|
7956
7963
|
|
|
7957
7964
|
var _vm = this;
|
|
@@ -8067,10 +8074,10 @@ var __vue_render__$o = function () {
|
|
|
8067
8074
|
})])]);
|
|
8068
8075
|
};
|
|
8069
8076
|
|
|
8070
|
-
var __vue_staticRenderFns__$
|
|
8077
|
+
var __vue_staticRenderFns__$q = [];
|
|
8071
8078
|
/* style */
|
|
8072
8079
|
|
|
8073
|
-
const __vue_inject_styles__$
|
|
8080
|
+
const __vue_inject_styles__$s = function (inject) {
|
|
8074
8081
|
if (!inject) return;
|
|
8075
8082
|
inject("data-v-2be14df6_0", {
|
|
8076
8083
|
source: ".ns-icon-menu[data-v-2be14df6]{display:inline-flex}",
|
|
@@ -8081,26 +8088,26 @@ const __vue_inject_styles__$p = function (inject) {
|
|
|
8081
8088
|
/* scoped */
|
|
8082
8089
|
|
|
8083
8090
|
|
|
8084
|
-
const __vue_scope_id__$
|
|
8091
|
+
const __vue_scope_id__$s = "data-v-2be14df6";
|
|
8085
8092
|
/* module identifier */
|
|
8086
8093
|
|
|
8087
|
-
const __vue_module_identifier__$
|
|
8094
|
+
const __vue_module_identifier__$s = undefined;
|
|
8088
8095
|
/* functional template */
|
|
8089
8096
|
|
|
8090
|
-
const __vue_is_functional_template__$
|
|
8097
|
+
const __vue_is_functional_template__$s = false;
|
|
8091
8098
|
/* style inject SSR */
|
|
8092
8099
|
|
|
8093
8100
|
/* style inject shadow dom */
|
|
8094
8101
|
|
|
8095
|
-
const __vue_component__$
|
|
8096
|
-
render: __vue_render__$
|
|
8097
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
8098
|
-
}, __vue_inject_styles__$
|
|
8102
|
+
const __vue_component__$Q = /*#__PURE__*/normalizeComponent({
|
|
8103
|
+
render: __vue_render__$q,
|
|
8104
|
+
staticRenderFns: __vue_staticRenderFns__$q
|
|
8105
|
+
}, __vue_inject_styles__$s, __vue_script__$l, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, createInjector, undefined, undefined);
|
|
8099
8106
|
|
|
8100
|
-
var __vue_component__$
|
|
8107
|
+
var __vue_component__$R = __vue_component__$Q;
|
|
8101
8108
|
|
|
8102
8109
|
//
|
|
8103
|
-
var script$
|
|
8110
|
+
var script$k = {
|
|
8104
8111
|
name: "NsMeterChart",
|
|
8105
8112
|
components: {
|
|
8106
8113
|
NsProgressBar
|
|
@@ -8135,10 +8142,10 @@ var script$h = {
|
|
|
8135
8142
|
};
|
|
8136
8143
|
|
|
8137
8144
|
/* script */
|
|
8138
|
-
const __vue_script__$
|
|
8145
|
+
const __vue_script__$k = script$k;
|
|
8139
8146
|
/* template */
|
|
8140
8147
|
|
|
8141
|
-
var __vue_render__$
|
|
8148
|
+
var __vue_render__$p = function () {
|
|
8142
8149
|
var _vm = this;
|
|
8143
8150
|
|
|
8144
8151
|
var _h = _vm.$createElement;
|
|
@@ -8161,10 +8168,10 @@ var __vue_render__$n = function () {
|
|
|
8161
8168
|
})], 1);
|
|
8162
8169
|
};
|
|
8163
8170
|
|
|
8164
|
-
var __vue_staticRenderFns__$
|
|
8171
|
+
var __vue_staticRenderFns__$p = [];
|
|
8165
8172
|
/* style */
|
|
8166
8173
|
|
|
8167
|
-
const __vue_inject_styles__$
|
|
8174
|
+
const __vue_inject_styles__$r = function (inject) {
|
|
8168
8175
|
if (!inject) return;
|
|
8169
8176
|
inject("data-v-8d83456c_0", {
|
|
8170
8177
|
source: ".label[data-v-8d83456c]{font-weight:700;margin-right:.5rem}.mg-bottom-sm[data-v-8d83456c]{margin-bottom:.5rem!important}",
|
|
@@ -8175,26 +8182,26 @@ const __vue_inject_styles__$o = function (inject) {
|
|
|
8175
8182
|
/* scoped */
|
|
8176
8183
|
|
|
8177
8184
|
|
|
8178
|
-
const __vue_scope_id__$
|
|
8185
|
+
const __vue_scope_id__$r = "data-v-8d83456c";
|
|
8179
8186
|
/* module identifier */
|
|
8180
8187
|
|
|
8181
|
-
const __vue_module_identifier__$
|
|
8188
|
+
const __vue_module_identifier__$r = undefined;
|
|
8182
8189
|
/* functional template */
|
|
8183
8190
|
|
|
8184
|
-
const __vue_is_functional_template__$
|
|
8191
|
+
const __vue_is_functional_template__$r = false;
|
|
8185
8192
|
/* style inject SSR */
|
|
8186
8193
|
|
|
8187
8194
|
/* style inject shadow dom */
|
|
8188
8195
|
|
|
8189
|
-
const __vue_component__$
|
|
8190
|
-
render: __vue_render__$
|
|
8191
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
8192
|
-
}, __vue_inject_styles__$
|
|
8196
|
+
const __vue_component__$O = /*#__PURE__*/normalizeComponent({
|
|
8197
|
+
render: __vue_render__$p,
|
|
8198
|
+
staticRenderFns: __vue_staticRenderFns__$p
|
|
8199
|
+
}, __vue_inject_styles__$r, __vue_script__$k, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, createInjector, undefined, undefined);
|
|
8193
8200
|
|
|
8194
|
-
var __vue_component__$
|
|
8201
|
+
var __vue_component__$P = __vue_component__$O;
|
|
8195
8202
|
|
|
8196
8203
|
//
|
|
8197
|
-
var script$
|
|
8204
|
+
var script$j = {
|
|
8198
8205
|
name: "NsModal",
|
|
8199
8206
|
extends: CvModal,
|
|
8200
8207
|
components: {
|
|
@@ -8254,10 +8261,10 @@ var script$g = {
|
|
|
8254
8261
|
};
|
|
8255
8262
|
|
|
8256
8263
|
/* script */
|
|
8257
|
-
const __vue_script__$
|
|
8264
|
+
const __vue_script__$j = script$j;
|
|
8258
8265
|
/* template */
|
|
8259
8266
|
|
|
8260
|
-
var __vue_render__$
|
|
8267
|
+
var __vue_render__$o = function () {
|
|
8261
8268
|
var _obj, _obj$1, _obj$2, _obj$3;
|
|
8262
8269
|
|
|
8263
8270
|
var _vm = this;
|
|
@@ -8391,34 +8398,34 @@ var __vue_render__$m = function () {
|
|
|
8391
8398
|
})], 1)]);
|
|
8392
8399
|
};
|
|
8393
8400
|
|
|
8394
|
-
var __vue_staticRenderFns__$
|
|
8401
|
+
var __vue_staticRenderFns__$o = [];
|
|
8395
8402
|
/* style */
|
|
8396
8403
|
|
|
8397
|
-
const __vue_inject_styles__$
|
|
8404
|
+
const __vue_inject_styles__$q = undefined;
|
|
8398
8405
|
/* scoped */
|
|
8399
8406
|
|
|
8400
|
-
const __vue_scope_id__$
|
|
8407
|
+
const __vue_scope_id__$q = undefined;
|
|
8401
8408
|
/* module identifier */
|
|
8402
8409
|
|
|
8403
|
-
const __vue_module_identifier__$
|
|
8410
|
+
const __vue_module_identifier__$q = undefined;
|
|
8404
8411
|
/* functional template */
|
|
8405
8412
|
|
|
8406
|
-
const __vue_is_functional_template__$
|
|
8413
|
+
const __vue_is_functional_template__$q = false;
|
|
8407
8414
|
/* style inject */
|
|
8408
8415
|
|
|
8409
8416
|
/* style inject SSR */
|
|
8410
8417
|
|
|
8411
8418
|
/* style inject shadow dom */
|
|
8412
8419
|
|
|
8413
|
-
const __vue_component__$
|
|
8414
|
-
render: __vue_render__$
|
|
8415
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
8416
|
-
}, __vue_inject_styles__$
|
|
8420
|
+
const __vue_component__$N = /*#__PURE__*/normalizeComponent({
|
|
8421
|
+
render: __vue_render__$o,
|
|
8422
|
+
staticRenderFns: __vue_staticRenderFns__$o
|
|
8423
|
+
}, __vue_inject_styles__$q, __vue_script__$j, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, undefined, undefined, undefined);
|
|
8417
8424
|
|
|
8418
|
-
var NsModal = __vue_component__$
|
|
8425
|
+
var NsModal = __vue_component__$N;
|
|
8419
8426
|
|
|
8420
8427
|
//
|
|
8421
|
-
var script$
|
|
8428
|
+
var script$i = {
|
|
8422
8429
|
name: "NsDangerDeleteModal",
|
|
8423
8430
|
//component added for storybook to work
|
|
8424
8431
|
components: {
|
|
@@ -8514,10 +8521,10 @@ var script$f = {
|
|
|
8514
8521
|
};
|
|
8515
8522
|
|
|
8516
8523
|
/* script */
|
|
8517
|
-
const __vue_script__$
|
|
8524
|
+
const __vue_script__$i = script$i;
|
|
8518
8525
|
/* template */
|
|
8519
8526
|
|
|
8520
|
-
var __vue_render__$
|
|
8527
|
+
var __vue_render__$n = function () {
|
|
8521
8528
|
var _vm = this;
|
|
8522
8529
|
|
|
8523
8530
|
var _h = _vm.$createElement;
|
|
@@ -8585,10 +8592,10 @@ var __vue_render__$l = function () {
|
|
|
8585
8592
|
}, [_vm._v(_vm._s(_vm.deleteLabel))])], 2);
|
|
8586
8593
|
};
|
|
8587
8594
|
|
|
8588
|
-
var __vue_staticRenderFns__$
|
|
8595
|
+
var __vue_staticRenderFns__$n = [];
|
|
8589
8596
|
/* style */
|
|
8590
8597
|
|
|
8591
|
-
const __vue_inject_styles__$
|
|
8598
|
+
const __vue_inject_styles__$p = function (inject) {
|
|
8592
8599
|
if (!inject) return;
|
|
8593
8600
|
inject("data-v-746a2de3_0", {
|
|
8594
8601
|
source: ".type-to-confirm[data-v-746a2de3]{margin-top:2rem}",
|
|
@@ -8599,23 +8606,23 @@ const __vue_inject_styles__$m = function (inject) {
|
|
|
8599
8606
|
/* scoped */
|
|
8600
8607
|
|
|
8601
8608
|
|
|
8602
|
-
const __vue_scope_id__$
|
|
8609
|
+
const __vue_scope_id__$p = "data-v-746a2de3";
|
|
8603
8610
|
/* module identifier */
|
|
8604
8611
|
|
|
8605
|
-
const __vue_module_identifier__$
|
|
8612
|
+
const __vue_module_identifier__$p = undefined;
|
|
8606
8613
|
/* functional template */
|
|
8607
8614
|
|
|
8608
|
-
const __vue_is_functional_template__$
|
|
8615
|
+
const __vue_is_functional_template__$p = false;
|
|
8609
8616
|
/* style inject SSR */
|
|
8610
8617
|
|
|
8611
8618
|
/* style inject shadow dom */
|
|
8612
8619
|
|
|
8613
|
-
const __vue_component__$
|
|
8614
|
-
render: __vue_render__$
|
|
8615
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
8616
|
-
}, __vue_inject_styles__$
|
|
8620
|
+
const __vue_component__$L = /*#__PURE__*/normalizeComponent({
|
|
8621
|
+
render: __vue_render__$n,
|
|
8622
|
+
staticRenderFns: __vue_staticRenderFns__$n
|
|
8623
|
+
}, __vue_inject_styles__$p, __vue_script__$i, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, createInjector, undefined, undefined);
|
|
8617
8624
|
|
|
8618
|
-
var __vue_component__$
|
|
8625
|
+
var __vue_component__$M = __vue_component__$L;
|
|
8619
8626
|
|
|
8620
8627
|
var IconService = {
|
|
8621
8628
|
name: "IconService",
|
|
@@ -8778,20 +8785,23 @@ var IconService = {
|
|
|
8778
8785
|
Locked20,
|
|
8779
8786
|
Locked32,
|
|
8780
8787
|
Folder16,
|
|
8781
|
-
// public mailbox
|
|
8782
8788
|
Folder20,
|
|
8783
8789
|
Folder32,
|
|
8784
8790
|
Asterisk16,
|
|
8785
8791
|
// wildcard email domain
|
|
8786
8792
|
Asterisk20,
|
|
8787
|
-
Asterisk32
|
|
8793
|
+
Asterisk32,
|
|
8794
|
+
Box16,
|
|
8795
|
+
// mailboxes
|
|
8796
|
+
Box20,
|
|
8797
|
+
Box32
|
|
8788
8798
|
};
|
|
8789
8799
|
}
|
|
8790
8800
|
|
|
8791
8801
|
};
|
|
8792
8802
|
|
|
8793
8803
|
//
|
|
8794
|
-
var script$
|
|
8804
|
+
var script$h = {
|
|
8795
8805
|
name: "NsDropdownAction",
|
|
8796
8806
|
extends: CvOverflowMenu,
|
|
8797
8807
|
components: {
|
|
@@ -8823,10 +8833,10 @@ var script$e = {
|
|
|
8823
8833
|
};
|
|
8824
8834
|
|
|
8825
8835
|
/* script */
|
|
8826
|
-
const __vue_script__$
|
|
8836
|
+
const __vue_script__$h = script$h;
|
|
8827
8837
|
/* template */
|
|
8828
8838
|
|
|
8829
|
-
var __vue_render__$
|
|
8839
|
+
var __vue_render__$m = function () {
|
|
8830
8840
|
var _obj, _obj$1;
|
|
8831
8841
|
|
|
8832
8842
|
var _vm = this;
|
|
@@ -8926,34 +8936,34 @@ var __vue_render__$k = function () {
|
|
|
8926
8936
|
})])]);
|
|
8927
8937
|
};
|
|
8928
8938
|
|
|
8929
|
-
var __vue_staticRenderFns__$
|
|
8939
|
+
var __vue_staticRenderFns__$m = [];
|
|
8930
8940
|
/* style */
|
|
8931
8941
|
|
|
8932
|
-
const __vue_inject_styles__$
|
|
8942
|
+
const __vue_inject_styles__$o = undefined;
|
|
8933
8943
|
/* scoped */
|
|
8934
8944
|
|
|
8935
|
-
const __vue_scope_id__$
|
|
8945
|
+
const __vue_scope_id__$o = "data-v-31925b9d";
|
|
8936
8946
|
/* module identifier */
|
|
8937
8947
|
|
|
8938
|
-
const __vue_module_identifier__$
|
|
8948
|
+
const __vue_module_identifier__$o = undefined;
|
|
8939
8949
|
/* functional template */
|
|
8940
8950
|
|
|
8941
|
-
const __vue_is_functional_template__$
|
|
8951
|
+
const __vue_is_functional_template__$o = false;
|
|
8942
8952
|
/* style inject */
|
|
8943
8953
|
|
|
8944
8954
|
/* style inject SSR */
|
|
8945
8955
|
|
|
8946
8956
|
/* style inject shadow dom */
|
|
8947
8957
|
|
|
8948
|
-
const __vue_component__$
|
|
8949
|
-
render: __vue_render__$
|
|
8950
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
8951
|
-
}, __vue_inject_styles__$
|
|
8958
|
+
const __vue_component__$J = /*#__PURE__*/normalizeComponent({
|
|
8959
|
+
render: __vue_render__$m,
|
|
8960
|
+
staticRenderFns: __vue_staticRenderFns__$m
|
|
8961
|
+
}, __vue_inject_styles__$o, __vue_script__$h, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, undefined, undefined, undefined);
|
|
8952
8962
|
|
|
8953
|
-
var __vue_component__$
|
|
8963
|
+
var __vue_component__$K = __vue_component__$J;
|
|
8954
8964
|
|
|
8955
8965
|
//
|
|
8956
|
-
var script$
|
|
8966
|
+
var script$g = {
|
|
8957
8967
|
name: "NsBackupCardDetails",
|
|
8958
8968
|
mixins: [DateTimeService],
|
|
8959
8969
|
props: {
|
|
@@ -8989,10 +8999,10 @@ var script$d = {
|
|
|
8989
8999
|
};
|
|
8990
9000
|
|
|
8991
9001
|
/* script */
|
|
8992
|
-
const __vue_script__$
|
|
9002
|
+
const __vue_script__$g = script$g;
|
|
8993
9003
|
/* template */
|
|
8994
9004
|
|
|
8995
|
-
var __vue_render__$
|
|
9005
|
+
var __vue_render__$l = function () {
|
|
8996
9006
|
var _vm = this;
|
|
8997
9007
|
|
|
8998
9008
|
var _h = _vm.$createElement;
|
|
@@ -9046,10 +9056,10 @@ var __vue_render__$j = function () {
|
|
|
9046
9056
|
}, [_vm.status[_vm.backup.id] && _vm.status[_vm.backup.id].total_file_count ? _c('span', [_vm._v("\n " + _vm._s(_vm.status[_vm.backup.id].total_file_count) + "\n ")]) : _c('span', [_vm._v("-")])])])]);
|
|
9047
9057
|
};
|
|
9048
9058
|
|
|
9049
|
-
var __vue_staticRenderFns__$
|
|
9059
|
+
var __vue_staticRenderFns__$l = [];
|
|
9050
9060
|
/* style */
|
|
9051
9061
|
|
|
9052
|
-
const __vue_inject_styles__$
|
|
9062
|
+
const __vue_inject_styles__$n = function (inject) {
|
|
9053
9063
|
if (!inject) return;
|
|
9054
9064
|
inject("data-v-25453d1c_0", {
|
|
9055
9065
|
source: ".ns-backup-card-details[data-v-25453d1c]{display:contents}.tr[data-v-25453d1c]{display:table-row}.td[data-v-25453d1c]{display:table-cell}.label[data-v-25453d1c]{padding-right:.75rem;font-weight:700;text-align:right;padding-bottom:.5rem}",
|
|
@@ -9060,26 +9070,26 @@ const __vue_inject_styles__$k = function (inject) {
|
|
|
9060
9070
|
/* scoped */
|
|
9061
9071
|
|
|
9062
9072
|
|
|
9063
|
-
const __vue_scope_id__$
|
|
9073
|
+
const __vue_scope_id__$n = "data-v-25453d1c";
|
|
9064
9074
|
/* module identifier */
|
|
9065
9075
|
|
|
9066
|
-
const __vue_module_identifier__$
|
|
9076
|
+
const __vue_module_identifier__$n = undefined;
|
|
9067
9077
|
/* functional template */
|
|
9068
9078
|
|
|
9069
|
-
const __vue_is_functional_template__$
|
|
9079
|
+
const __vue_is_functional_template__$n = false;
|
|
9070
9080
|
/* style inject SSR */
|
|
9071
9081
|
|
|
9072
9082
|
/* style inject shadow dom */
|
|
9073
9083
|
|
|
9074
|
-
const __vue_component__$
|
|
9075
|
-
render: __vue_render__$
|
|
9076
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
9077
|
-
}, __vue_inject_styles__$
|
|
9084
|
+
const __vue_component__$I = /*#__PURE__*/normalizeComponent({
|
|
9085
|
+
render: __vue_render__$l,
|
|
9086
|
+
staticRenderFns: __vue_staticRenderFns__$l
|
|
9087
|
+
}, __vue_inject_styles__$n, __vue_script__$g, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, createInjector, undefined, undefined);
|
|
9078
9088
|
|
|
9079
|
-
var NsBackupCardDetails = __vue_component__$
|
|
9089
|
+
var NsBackupCardDetails = __vue_component__$I;
|
|
9080
9090
|
|
|
9081
9091
|
//
|
|
9082
|
-
var script$
|
|
9092
|
+
var script$f = {
|
|
9083
9093
|
name: "NsBackupCard",
|
|
9084
9094
|
components: {
|
|
9085
9095
|
NsBackupCardDetails
|
|
@@ -9220,10 +9230,10 @@ var script$c = {
|
|
|
9220
9230
|
};
|
|
9221
9231
|
|
|
9222
9232
|
/* script */
|
|
9223
|
-
const __vue_script__$
|
|
9233
|
+
const __vue_script__$f = script$f;
|
|
9224
9234
|
/* template */
|
|
9225
9235
|
|
|
9226
|
-
var __vue_render__$
|
|
9236
|
+
var __vue_render__$k = function () {
|
|
9227
9237
|
var _vm = this;
|
|
9228
9238
|
|
|
9229
9239
|
var _h = _vm.$createElement;
|
|
@@ -9339,10 +9349,10 @@ var __vue_render__$i = function () {
|
|
|
9339
9349
|
}, [_vm._v(_vm._s(_vm.goToBackupLabel) + "\n ")])], 1)])], 2);
|
|
9340
9350
|
};
|
|
9341
9351
|
|
|
9342
|
-
var __vue_staticRenderFns__$
|
|
9352
|
+
var __vue_staticRenderFns__$k = [];
|
|
9343
9353
|
/* style */
|
|
9344
9354
|
|
|
9345
|
-
const __vue_inject_styles__$
|
|
9355
|
+
const __vue_inject_styles__$m = function (inject) {
|
|
9346
9356
|
if (!inject) return;
|
|
9347
9357
|
inject("data-v-5a3b7738_0", {
|
|
9348
9358
|
source: ".ns-backup-card[data-v-5a3b7738]{display:flex;flex-direction:column;justify-content:center;min-height:7rem}.backup[data-v-5a3b7738]{margin-bottom:1rem}.backup[data-v-5a3b7738]:last-child{margin-bottom:0}.row[data-v-5a3b7738]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.title[data-v-5a3b7738]{margin-left:.25rem;margin-right:.25rem;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-wrapper[data-v-5a3b7738]{display:flex;justify-content:center;margin-bottom:.5rem}.table[data-v-5a3b7738]{display:table}.tr[data-v-5a3b7738]{display:table-row}.td[data-v-5a3b7738]{display:table-cell}.label[data-v-5a3b7738]{padding-right:.75rem;font-weight:700;text-align:right;padding-bottom:.5rem}.status[data-v-5a3b7738]{font-weight:700}.backup-status-icon[data-v-5a3b7738]{margin-right:.25rem}",
|
|
@@ -9357,26 +9367,26 @@ const __vue_inject_styles__$j = function (inject) {
|
|
|
9357
9367
|
/* scoped */
|
|
9358
9368
|
|
|
9359
9369
|
|
|
9360
|
-
const __vue_scope_id__$
|
|
9370
|
+
const __vue_scope_id__$m = "data-v-5a3b7738";
|
|
9361
9371
|
/* module identifier */
|
|
9362
9372
|
|
|
9363
|
-
const __vue_module_identifier__$
|
|
9373
|
+
const __vue_module_identifier__$m = undefined;
|
|
9364
9374
|
/* functional template */
|
|
9365
9375
|
|
|
9366
|
-
const __vue_is_functional_template__$
|
|
9376
|
+
const __vue_is_functional_template__$m = false;
|
|
9367
9377
|
/* style inject SSR */
|
|
9368
9378
|
|
|
9369
9379
|
/* style inject shadow dom */
|
|
9370
9380
|
|
|
9371
|
-
const __vue_component__$
|
|
9372
|
-
render: __vue_render__$
|
|
9373
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
9374
|
-
}, __vue_inject_styles__$
|
|
9381
|
+
const __vue_component__$G = /*#__PURE__*/normalizeComponent({
|
|
9382
|
+
render: __vue_render__$k,
|
|
9383
|
+
staticRenderFns: __vue_staticRenderFns__$k
|
|
9384
|
+
}, __vue_inject_styles__$m, __vue_script__$f, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, createInjector, undefined, undefined);
|
|
9375
9385
|
|
|
9376
|
-
var __vue_component__$
|
|
9386
|
+
var __vue_component__$H = __vue_component__$G;
|
|
9377
9387
|
|
|
9378
9388
|
//
|
|
9379
|
-
var script$
|
|
9389
|
+
var script$e = {
|
|
9380
9390
|
name: "NsWizard",
|
|
9381
9391
|
extends: NsModal,
|
|
9382
9392
|
mixins: [IconService],
|
|
@@ -9420,10 +9430,10 @@ var script$b = {
|
|
|
9420
9430
|
};
|
|
9421
9431
|
|
|
9422
9432
|
/* script */
|
|
9423
|
-
const __vue_script__$
|
|
9433
|
+
const __vue_script__$e = script$e;
|
|
9424
9434
|
/* template */
|
|
9425
9435
|
|
|
9426
|
-
var __vue_render__$
|
|
9436
|
+
var __vue_render__$j = function () {
|
|
9427
9437
|
var _obj, _obj$1;
|
|
9428
9438
|
|
|
9429
9439
|
var _vm = this;
|
|
@@ -9565,34 +9575,34 @@ var __vue_render__$h = function () {
|
|
|
9565
9575
|
})], 1)]);
|
|
9566
9576
|
};
|
|
9567
9577
|
|
|
9568
|
-
var __vue_staticRenderFns__$
|
|
9578
|
+
var __vue_staticRenderFns__$j = [];
|
|
9569
9579
|
/* style */
|
|
9570
9580
|
|
|
9571
|
-
const __vue_inject_styles__$
|
|
9581
|
+
const __vue_inject_styles__$l = undefined;
|
|
9572
9582
|
/* scoped */
|
|
9573
9583
|
|
|
9574
|
-
const __vue_scope_id__$
|
|
9584
|
+
const __vue_scope_id__$l = undefined;
|
|
9575
9585
|
/* module identifier */
|
|
9576
9586
|
|
|
9577
|
-
const __vue_module_identifier__$
|
|
9587
|
+
const __vue_module_identifier__$l = undefined;
|
|
9578
9588
|
/* functional template */
|
|
9579
9589
|
|
|
9580
|
-
const __vue_is_functional_template__$
|
|
9590
|
+
const __vue_is_functional_template__$l = false;
|
|
9581
9591
|
/* style inject */
|
|
9582
9592
|
|
|
9583
9593
|
/* style inject SSR */
|
|
9584
9594
|
|
|
9585
9595
|
/* style inject shadow dom */
|
|
9586
9596
|
|
|
9587
|
-
const __vue_component__$
|
|
9588
|
-
render: __vue_render__$
|
|
9589
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
9590
|
-
}, __vue_inject_styles__$
|
|
9597
|
+
const __vue_component__$E = /*#__PURE__*/normalizeComponent({
|
|
9598
|
+
render: __vue_render__$j,
|
|
9599
|
+
staticRenderFns: __vue_staticRenderFns__$j
|
|
9600
|
+
}, __vue_inject_styles__$l, __vue_script__$e, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, undefined, undefined, undefined);
|
|
9591
9601
|
|
|
9592
|
-
var __vue_component__$
|
|
9602
|
+
var __vue_component__$F = __vue_component__$E;
|
|
9593
9603
|
|
|
9594
9604
|
//
|
|
9595
|
-
var script$
|
|
9605
|
+
var script$d = {
|
|
9596
9606
|
name: "NsMenuItem",
|
|
9597
9607
|
components: {
|
|
9598
9608
|
NsSvg
|
|
@@ -9615,10 +9625,10 @@ var script$a = {
|
|
|
9615
9625
|
};
|
|
9616
9626
|
|
|
9617
9627
|
/* script */
|
|
9618
|
-
const __vue_script__$
|
|
9628
|
+
const __vue_script__$d = script$d;
|
|
9619
9629
|
/* template */
|
|
9620
9630
|
|
|
9621
|
-
var __vue_render__$
|
|
9631
|
+
var __vue_render__$i = function () {
|
|
9622
9632
|
var _vm = this;
|
|
9623
9633
|
|
|
9624
9634
|
var _h = _vm.$createElement;
|
|
@@ -9638,10 +9648,10 @@ var __vue_render__$g = function () {
|
|
|
9638
9648
|
}, [_vm._t("icon")], 2) : _vm._e(), _vm._v(" "), _c('span', [_vm._v(_vm._s(_vm.label))])]);
|
|
9639
9649
|
};
|
|
9640
9650
|
|
|
9641
|
-
var __vue_staticRenderFns__$
|
|
9651
|
+
var __vue_staticRenderFns__$i = [];
|
|
9642
9652
|
/* style */
|
|
9643
9653
|
|
|
9644
|
-
const __vue_inject_styles__$
|
|
9654
|
+
const __vue_inject_styles__$k = function (inject) {
|
|
9645
9655
|
if (!inject) return;
|
|
9646
9656
|
inject("data-v-35f08832_0", {
|
|
9647
9657
|
source: ".ns-menu-item[data-v-35f08832]{display:flex;align-items:center}.icon[data-v-35f08832]{margin-right:.5rem}",
|
|
@@ -9652,26 +9662,26 @@ const __vue_inject_styles__$h = function (inject) {
|
|
|
9652
9662
|
/* scoped */
|
|
9653
9663
|
|
|
9654
9664
|
|
|
9655
|
-
const __vue_scope_id__$
|
|
9665
|
+
const __vue_scope_id__$k = "data-v-35f08832";
|
|
9656
9666
|
/* module identifier */
|
|
9657
9667
|
|
|
9658
|
-
const __vue_module_identifier__$
|
|
9668
|
+
const __vue_module_identifier__$k = undefined;
|
|
9659
9669
|
/* functional template */
|
|
9660
9670
|
|
|
9661
|
-
const __vue_is_functional_template__$
|
|
9671
|
+
const __vue_is_functional_template__$k = false;
|
|
9662
9672
|
/* style inject SSR */
|
|
9663
9673
|
|
|
9664
9674
|
/* style inject shadow dom */
|
|
9665
9675
|
|
|
9666
|
-
const __vue_component__$
|
|
9667
|
-
render: __vue_render__$
|
|
9668
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
9669
|
-
}, __vue_inject_styles__$
|
|
9676
|
+
const __vue_component__$C = /*#__PURE__*/normalizeComponent({
|
|
9677
|
+
render: __vue_render__$i,
|
|
9678
|
+
staticRenderFns: __vue_staticRenderFns__$i
|
|
9679
|
+
}, __vue_inject_styles__$k, __vue_script__$d, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, createInjector, undefined, undefined);
|
|
9670
9680
|
|
|
9671
|
-
var __vue_component__$
|
|
9681
|
+
var __vue_component__$D = __vue_component__$C;
|
|
9672
9682
|
|
|
9673
9683
|
//
|
|
9674
|
-
var script$
|
|
9684
|
+
var script$c = {
|
|
9675
9685
|
name: "NsMenuDivider",
|
|
9676
9686
|
components: {
|
|
9677
9687
|
CvSideNavDivider
|
|
@@ -9679,10 +9689,10 @@ var script$9 = {
|
|
|
9679
9689
|
};
|
|
9680
9690
|
|
|
9681
9691
|
/* script */
|
|
9682
|
-
const __vue_script__$
|
|
9692
|
+
const __vue_script__$c = script$c;
|
|
9683
9693
|
/* template */
|
|
9684
9694
|
|
|
9685
|
-
var __vue_render__$
|
|
9695
|
+
var __vue_render__$h = function () {
|
|
9686
9696
|
var _vm = this;
|
|
9687
9697
|
|
|
9688
9698
|
var _h = _vm.$createElement;
|
|
@@ -9692,34 +9702,34 @@ var __vue_render__$f = function () {
|
|
|
9692
9702
|
return _c('cv-side-nav-divider');
|
|
9693
9703
|
};
|
|
9694
9704
|
|
|
9695
|
-
var __vue_staticRenderFns__$
|
|
9705
|
+
var __vue_staticRenderFns__$h = [];
|
|
9696
9706
|
/* style */
|
|
9697
9707
|
|
|
9698
|
-
const __vue_inject_styles__$
|
|
9708
|
+
const __vue_inject_styles__$j = undefined;
|
|
9699
9709
|
/* scoped */
|
|
9700
9710
|
|
|
9701
|
-
const __vue_scope_id__$
|
|
9711
|
+
const __vue_scope_id__$j = "data-v-c2c8c17e";
|
|
9702
9712
|
/* module identifier */
|
|
9703
9713
|
|
|
9704
|
-
const __vue_module_identifier__$
|
|
9714
|
+
const __vue_module_identifier__$j = undefined;
|
|
9705
9715
|
/* functional template */
|
|
9706
9716
|
|
|
9707
|
-
const __vue_is_functional_template__$
|
|
9717
|
+
const __vue_is_functional_template__$j = false;
|
|
9708
9718
|
/* style inject */
|
|
9709
9719
|
|
|
9710
9720
|
/* style inject SSR */
|
|
9711
9721
|
|
|
9712
9722
|
/* style inject shadow dom */
|
|
9713
9723
|
|
|
9714
|
-
const __vue_component__$
|
|
9715
|
-
render: __vue_render__$
|
|
9716
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
9717
|
-
}, __vue_inject_styles__$
|
|
9724
|
+
const __vue_component__$A = /*#__PURE__*/normalizeComponent({
|
|
9725
|
+
render: __vue_render__$h,
|
|
9726
|
+
staticRenderFns: __vue_staticRenderFns__$h
|
|
9727
|
+
}, __vue_inject_styles__$j, __vue_script__$c, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, undefined, undefined, undefined);
|
|
9718
9728
|
|
|
9719
|
-
var __vue_component__$
|
|
9729
|
+
var __vue_component__$B = __vue_component__$A;
|
|
9720
9730
|
|
|
9721
9731
|
//
|
|
9722
|
-
var script$
|
|
9732
|
+
var script$b = {
|
|
9723
9733
|
name: "NsSystemLogsCard",
|
|
9724
9734
|
mixins: [UtilService, IconService],
|
|
9725
9735
|
props: {
|
|
@@ -9838,10 +9848,10 @@ var script$8 = {
|
|
|
9838
9848
|
};
|
|
9839
9849
|
|
|
9840
9850
|
/* script */
|
|
9841
|
-
const __vue_script__$
|
|
9851
|
+
const __vue_script__$b = script$b;
|
|
9842
9852
|
/* template */
|
|
9843
9853
|
|
|
9844
|
-
var __vue_render__$
|
|
9854
|
+
var __vue_render__$g = function () {
|
|
9845
9855
|
var _vm = this;
|
|
9846
9856
|
|
|
9847
9857
|
var _h = _vm.$createElement;
|
|
@@ -9868,34 +9878,34 @@ var __vue_render__$e = function () {
|
|
|
9868
9878
|
}, [_vm._v("\n " + _vm._s(_vm.buttonLabel) + "\n ")])], 1)], 2);
|
|
9869
9879
|
};
|
|
9870
9880
|
|
|
9871
|
-
var __vue_staticRenderFns__$
|
|
9881
|
+
var __vue_staticRenderFns__$g = [];
|
|
9872
9882
|
/* style */
|
|
9873
9883
|
|
|
9874
|
-
const __vue_inject_styles__$
|
|
9884
|
+
const __vue_inject_styles__$i = undefined;
|
|
9875
9885
|
/* scoped */
|
|
9876
9886
|
|
|
9877
|
-
const __vue_scope_id__$
|
|
9887
|
+
const __vue_scope_id__$i = "data-v-aec74b8e";
|
|
9878
9888
|
/* module identifier */
|
|
9879
9889
|
|
|
9880
|
-
const __vue_module_identifier__$
|
|
9890
|
+
const __vue_module_identifier__$i = undefined;
|
|
9881
9891
|
/* functional template */
|
|
9882
9892
|
|
|
9883
|
-
const __vue_is_functional_template__$
|
|
9893
|
+
const __vue_is_functional_template__$i = false;
|
|
9884
9894
|
/* style inject */
|
|
9885
9895
|
|
|
9886
9896
|
/* style inject SSR */
|
|
9887
9897
|
|
|
9888
9898
|
/* style inject shadow dom */
|
|
9889
9899
|
|
|
9890
|
-
const __vue_component__$
|
|
9891
|
-
render: __vue_render__$
|
|
9892
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
9893
|
-
}, __vue_inject_styles__$
|
|
9894
|
-
|
|
9895
|
-
var __vue_component__$
|
|
9896
|
-
|
|
9897
|
-
//
|
|
9898
|
-
var script$
|
|
9900
|
+
const __vue_component__$y = /*#__PURE__*/normalizeComponent({
|
|
9901
|
+
render: __vue_render__$g,
|
|
9902
|
+
staticRenderFns: __vue_staticRenderFns__$g
|
|
9903
|
+
}, __vue_inject_styles__$i, __vue_script__$b, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, undefined, undefined, undefined);
|
|
9904
|
+
|
|
9905
|
+
var __vue_component__$z = __vue_component__$y;
|
|
9906
|
+
|
|
9907
|
+
//
|
|
9908
|
+
var script$a = {
|
|
9899
9909
|
name: "NsTimePicker",
|
|
9900
9910
|
mixins: [uidMixin, carbonPrefixMixin, themeMixin],
|
|
9901
9911
|
props: {
|
|
@@ -9938,10 +9948,10 @@ var script$7 = {
|
|
|
9938
9948
|
};
|
|
9939
9949
|
|
|
9940
9950
|
/* script */
|
|
9941
|
-
const __vue_script__$
|
|
9951
|
+
const __vue_script__$a = script$a;
|
|
9942
9952
|
/* template */
|
|
9943
9953
|
|
|
9944
|
-
var __vue_render__$
|
|
9954
|
+
var __vue_render__$f = function () {
|
|
9945
9955
|
var _obj, _obj$1;
|
|
9946
9956
|
|
|
9947
9957
|
var _vm = this;
|
|
@@ -9985,10 +9995,10 @@ var __vue_render__$d = function () {
|
|
|
9985
9995
|
})], 2) : _vm._e()]);
|
|
9986
9996
|
};
|
|
9987
9997
|
|
|
9988
|
-
var __vue_staticRenderFns__$
|
|
9998
|
+
var __vue_staticRenderFns__$f = [];
|
|
9989
9999
|
/* style */
|
|
9990
10000
|
|
|
9991
|
-
const __vue_inject_styles__$
|
|
10001
|
+
const __vue_inject_styles__$h = function (inject) {
|
|
9992
10002
|
if (!inject) return;
|
|
9993
10003
|
inject("data-v-e1e1beb2_0", {
|
|
9994
10004
|
source: ".ns-time-picker .time-picker-field[data-v-e1e1beb2]{padding:0;width:6rem}.ns-time-picker .time-picker-field.narrow-width[data-v-e1e1beb2]{width:4.875rem}",
|
|
@@ -10003,23 +10013,23 @@ const __vue_inject_styles__$e = function (inject) {
|
|
|
10003
10013
|
/* scoped */
|
|
10004
10014
|
|
|
10005
10015
|
|
|
10006
|
-
const __vue_scope_id__$
|
|
10016
|
+
const __vue_scope_id__$h = "data-v-e1e1beb2";
|
|
10007
10017
|
/* module identifier */
|
|
10008
10018
|
|
|
10009
|
-
const __vue_module_identifier__$
|
|
10019
|
+
const __vue_module_identifier__$h = undefined;
|
|
10010
10020
|
/* functional template */
|
|
10011
10021
|
|
|
10012
|
-
const __vue_is_functional_template__$
|
|
10022
|
+
const __vue_is_functional_template__$h = false;
|
|
10013
10023
|
/* style inject SSR */
|
|
10014
10024
|
|
|
10015
10025
|
/* style inject shadow dom */
|
|
10016
10026
|
|
|
10017
|
-
const __vue_component__$
|
|
10018
|
-
render: __vue_render__$
|
|
10019
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
10020
|
-
}, __vue_inject_styles__$
|
|
10027
|
+
const __vue_component__$w = /*#__PURE__*/normalizeComponent({
|
|
10028
|
+
render: __vue_render__$f,
|
|
10029
|
+
staticRenderFns: __vue_staticRenderFns__$f
|
|
10030
|
+
}, __vue_inject_styles__$h, __vue_script__$a, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, createInjector, undefined, undefined);
|
|
10021
10031
|
|
|
10022
|
-
var __vue_component__$
|
|
10032
|
+
var __vue_component__$x = __vue_component__$w;
|
|
10023
10033
|
|
|
10024
10034
|
/*
|
|
10025
10035
|
* This component optionally wraps slotted content with the specified tag-type.
|
|
@@ -10058,7 +10068,7 @@ var NsWrapper = {
|
|
|
10058
10068
|
|
|
10059
10069
|
};
|
|
10060
10070
|
|
|
10061
|
-
var script$
|
|
10071
|
+
var script$9 = {
|
|
10062
10072
|
name: "NsPagination",
|
|
10063
10073
|
extends: CvPagination,
|
|
10064
10074
|
props: {
|
|
@@ -10136,12 +10146,12 @@ var script$6 = {
|
|
|
10136
10146
|
};
|
|
10137
10147
|
|
|
10138
10148
|
/* script */
|
|
10139
|
-
const __vue_script__$
|
|
10149
|
+
const __vue_script__$9 = script$9;
|
|
10140
10150
|
/* template */
|
|
10141
10151
|
|
|
10142
10152
|
/* style */
|
|
10143
10153
|
|
|
10144
|
-
const __vue_inject_styles__$
|
|
10154
|
+
const __vue_inject_styles__$g = function (inject) {
|
|
10145
10155
|
if (!inject) return;
|
|
10146
10156
|
inject("data-v-01f52cb6_0", {
|
|
10147
10157
|
source: ".cv-pagination .bx--select .bx--label{font-size:100%}",
|
|
@@ -10152,20 +10162,20 @@ const __vue_inject_styles__$d = function (inject) {
|
|
|
10152
10162
|
/* scoped */
|
|
10153
10163
|
|
|
10154
10164
|
|
|
10155
|
-
const __vue_scope_id__$
|
|
10165
|
+
const __vue_scope_id__$g = undefined;
|
|
10156
10166
|
/* module identifier */
|
|
10157
10167
|
|
|
10158
|
-
const __vue_module_identifier__$
|
|
10168
|
+
const __vue_module_identifier__$g = undefined;
|
|
10159
10169
|
/* functional template */
|
|
10160
10170
|
|
|
10161
|
-
const __vue_is_functional_template__$
|
|
10171
|
+
const __vue_is_functional_template__$g = undefined;
|
|
10162
10172
|
/* style inject SSR */
|
|
10163
10173
|
|
|
10164
10174
|
/* style inject shadow dom */
|
|
10165
10175
|
|
|
10166
|
-
const __vue_component__$
|
|
10176
|
+
const __vue_component__$v = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$g, __vue_script__$9, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, createInjector, undefined, undefined);
|
|
10167
10177
|
|
|
10168
|
-
var NsPagination = __vue_component__$
|
|
10178
|
+
var NsPagination = __vue_component__$v;
|
|
10169
10179
|
|
|
10170
10180
|
var v$3 = "5.6.1";
|
|
10171
10181
|
var fr$3 = 24;
|
|
@@ -17204,7 +17214,7 @@ var LottieService = {
|
|
|
17204
17214
|
};
|
|
17205
17215
|
|
|
17206
17216
|
//
|
|
17207
|
-
var script$
|
|
17217
|
+
var script$8 = {
|
|
17208
17218
|
name: "NsDataTable",
|
|
17209
17219
|
extends: CvDataTable,
|
|
17210
17220
|
components: {
|
|
@@ -17454,6 +17464,27 @@ var script$5 = {
|
|
|
17454
17464
|
}
|
|
17455
17465
|
},
|
|
17456
17466
|
|
|
17467
|
+
searchMatch(target, cleanRegex, queryText) {
|
|
17468
|
+
if (Array.isArray(target)) {
|
|
17469
|
+
// search field is an array (e.g. groups)
|
|
17470
|
+
return target.some(elem => {
|
|
17471
|
+
return this.searchMatch(elem, cleanRegex, queryText);
|
|
17472
|
+
});
|
|
17473
|
+
} else if (typeof target === "string") {
|
|
17474
|
+
// search field is a simple string
|
|
17475
|
+
return new RegExp(queryText, "i").test(target.replace(cleanRegex, ""));
|
|
17476
|
+
} else if (typeof target === "number") {
|
|
17477
|
+
// search field is a number
|
|
17478
|
+
return new RegExp(queryText, "i").test(target.toString().replace(cleanRegex, ""));
|
|
17479
|
+
} else if (typeof target === "object") {
|
|
17480
|
+
// search field is an object, search in its attributes
|
|
17481
|
+
return Object.keys(target).some(key => {
|
|
17482
|
+
// recursion
|
|
17483
|
+
return this.searchMatch(target[key], cleanRegex, queryText);
|
|
17484
|
+
});
|
|
17485
|
+
}
|
|
17486
|
+
},
|
|
17487
|
+
|
|
17457
17488
|
defaultFilterRows() {
|
|
17458
17489
|
if (!this.searchFilter) {
|
|
17459
17490
|
return this.allRows;
|
|
@@ -17464,18 +17495,10 @@ var script$5 = {
|
|
|
17464
17495
|
const searchResults = this.allRows.filter(option => {
|
|
17465
17496
|
// compare query text with attributes option
|
|
17466
17497
|
return this.rawColumns.some(searchField => {
|
|
17467
|
-
const
|
|
17468
|
-
|
|
17469
|
-
if (
|
|
17470
|
-
|
|
17471
|
-
// search field is an array (e.g. groups)
|
|
17472
|
-
return searchValue.some(elem => {
|
|
17473
|
-
return new RegExp(queryText, "i").test(elem.replace(cleanRegex, ""));
|
|
17474
|
-
});
|
|
17475
|
-
} else {
|
|
17476
|
-
// search field is a simple string
|
|
17477
|
-
return new RegExp(queryText, "i").test(searchValue.replace(cleanRegex, ""));
|
|
17478
|
-
}
|
|
17498
|
+
const target = option[searchField];
|
|
17499
|
+
|
|
17500
|
+
if (target) {
|
|
17501
|
+
return this.searchMatch(target, cleanRegex, queryText);
|
|
17479
17502
|
} else {
|
|
17480
17503
|
return false;
|
|
17481
17504
|
}
|
|
@@ -17513,10 +17536,10 @@ var script$5 = {
|
|
|
17513
17536
|
};
|
|
17514
17537
|
|
|
17515
17538
|
/* script */
|
|
17516
|
-
const __vue_script__$
|
|
17539
|
+
const __vue_script__$8 = script$8;
|
|
17517
17540
|
/* template */
|
|
17518
17541
|
|
|
17519
|
-
var __vue_render__$
|
|
17542
|
+
var __vue_render__$e = function () {
|
|
17520
17543
|
var _obj, _obj$1, _obj$2, _obj$3;
|
|
17521
17544
|
|
|
17522
17545
|
var _vm = this;
|
|
@@ -17844,34 +17867,34 @@ var __vue_render__$c = function () {
|
|
|
17844
17867
|
}, 'NsPagination', _vm.internalPagination, false)) : _vm._e()], 1)], 2);
|
|
17845
17868
|
};
|
|
17846
17869
|
|
|
17847
|
-
var __vue_staticRenderFns__$
|
|
17870
|
+
var __vue_staticRenderFns__$e = [];
|
|
17848
17871
|
/* style */
|
|
17849
17872
|
|
|
17850
|
-
const __vue_inject_styles__$
|
|
17873
|
+
const __vue_inject_styles__$f = undefined;
|
|
17851
17874
|
/* scoped */
|
|
17852
17875
|
|
|
17853
|
-
const __vue_scope_id__$
|
|
17876
|
+
const __vue_scope_id__$f = undefined;
|
|
17854
17877
|
/* module identifier */
|
|
17855
17878
|
|
|
17856
|
-
const __vue_module_identifier__$
|
|
17879
|
+
const __vue_module_identifier__$f = undefined;
|
|
17857
17880
|
/* functional template */
|
|
17858
17881
|
|
|
17859
|
-
const __vue_is_functional_template__$
|
|
17882
|
+
const __vue_is_functional_template__$f = false;
|
|
17860
17883
|
/* style inject */
|
|
17861
17884
|
|
|
17862
17885
|
/* style inject SSR */
|
|
17863
17886
|
|
|
17864
17887
|
/* style inject shadow dom */
|
|
17865
17888
|
|
|
17866
|
-
const __vue_component__$
|
|
17867
|
-
render: __vue_render__$
|
|
17868
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
17869
|
-
}, __vue_inject_styles__$
|
|
17889
|
+
const __vue_component__$t = /*#__PURE__*/normalizeComponent({
|
|
17890
|
+
render: __vue_render__$e,
|
|
17891
|
+
staticRenderFns: __vue_staticRenderFns__$e
|
|
17892
|
+
}, __vue_inject_styles__$f, __vue_script__$8, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, undefined, undefined, undefined);
|
|
17870
17893
|
|
|
17871
|
-
var __vue_component__$
|
|
17894
|
+
var __vue_component__$u = __vue_component__$t;
|
|
17872
17895
|
|
|
17873
17896
|
//
|
|
17874
|
-
var script$
|
|
17897
|
+
var script$7 = {
|
|
17875
17898
|
name: "NsToggle",
|
|
17876
17899
|
extends: CvToggle,
|
|
17877
17900
|
props: {
|
|
@@ -17902,10 +17925,10 @@ var script$4 = {
|
|
|
17902
17925
|
};
|
|
17903
17926
|
|
|
17904
17927
|
/* script */
|
|
17905
|
-
const __vue_script__$
|
|
17928
|
+
const __vue_script__$7 = script$7;
|
|
17906
17929
|
/* template */
|
|
17907
17930
|
|
|
17908
|
-
var __vue_render__$
|
|
17931
|
+
var __vue_render__$d = function () {
|
|
17909
17932
|
var _obj;
|
|
17910
17933
|
|
|
17911
17934
|
var _vm = this;
|
|
@@ -17974,10 +17997,10 @@ var __vue_render__$b = function () {
|
|
|
17974
17997
|
})], 2)])])]);
|
|
17975
17998
|
};
|
|
17976
17999
|
|
|
17977
|
-
var __vue_staticRenderFns__$
|
|
18000
|
+
var __vue_staticRenderFns__$d = [];
|
|
17978
18001
|
/* style */
|
|
17979
18002
|
|
|
17980
|
-
const __vue_inject_styles__$
|
|
18003
|
+
const __vue_inject_styles__$e = function (inject) {
|
|
17981
18004
|
if (!inject) return;
|
|
17982
18005
|
inject("data-v-08c576ca_0", {
|
|
17983
18006
|
source: ".tooltip[data-v-08c576ca]{display:inline-block;position:absolute}",
|
|
@@ -17992,26 +18015,26 @@ const __vue_inject_styles__$b = function (inject) {
|
|
|
17992
18015
|
/* scoped */
|
|
17993
18016
|
|
|
17994
18017
|
|
|
17995
|
-
const __vue_scope_id__$
|
|
18018
|
+
const __vue_scope_id__$e = "data-v-08c576ca";
|
|
17996
18019
|
/* module identifier */
|
|
17997
18020
|
|
|
17998
|
-
const __vue_module_identifier__$
|
|
18021
|
+
const __vue_module_identifier__$e = undefined;
|
|
17999
18022
|
/* functional template */
|
|
18000
18023
|
|
|
18001
|
-
const __vue_is_functional_template__$
|
|
18024
|
+
const __vue_is_functional_template__$e = false;
|
|
18002
18025
|
/* style inject SSR */
|
|
18003
18026
|
|
|
18004
18027
|
/* style inject shadow dom */
|
|
18005
18028
|
|
|
18006
|
-
const __vue_component__$
|
|
18007
|
-
render: __vue_render__$
|
|
18008
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
18009
|
-
}, __vue_inject_styles__$
|
|
18029
|
+
const __vue_component__$r = /*#__PURE__*/normalizeComponent({
|
|
18030
|
+
render: __vue_render__$d,
|
|
18031
|
+
staticRenderFns: __vue_staticRenderFns__$d
|
|
18032
|
+
}, __vue_inject_styles__$e, __vue_script__$7, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, createInjector, undefined, undefined);
|
|
18010
18033
|
|
|
18011
|
-
var __vue_component__$
|
|
18034
|
+
var __vue_component__$s = __vue_component__$r;
|
|
18012
18035
|
|
|
18013
18036
|
//
|
|
18014
|
-
var script$
|
|
18037
|
+
var script$6 = {
|
|
18015
18038
|
name: "NsTag",
|
|
18016
18039
|
extends: CvTag,
|
|
18017
18040
|
computed: {
|
|
@@ -18023,10 +18046,10 @@ var script$3 = {
|
|
|
18023
18046
|
};
|
|
18024
18047
|
|
|
18025
18048
|
/* script */
|
|
18026
|
-
const __vue_script__$
|
|
18049
|
+
const __vue_script__$6 = script$6;
|
|
18027
18050
|
/* template */
|
|
18028
18051
|
|
|
18029
|
-
var __vue_render__$
|
|
18052
|
+
var __vue_render__$c = function () {
|
|
18030
18053
|
var _obj;
|
|
18031
18054
|
|
|
18032
18055
|
var _vm = this;
|
|
@@ -18092,10 +18115,10 @@ var __vue_render__$a = function () {
|
|
|
18092
18115
|
}, [_c('Close16')], 1) : _vm._e()]);
|
|
18093
18116
|
};
|
|
18094
18117
|
|
|
18095
|
-
var __vue_staticRenderFns__$
|
|
18118
|
+
var __vue_staticRenderFns__$c = [];
|
|
18096
18119
|
/* style */
|
|
18097
18120
|
|
|
18098
|
-
const __vue_inject_styles__$
|
|
18121
|
+
const __vue_inject_styles__$d = function (inject) {
|
|
18099
18122
|
if (!inject) return;
|
|
18100
18123
|
inject("data-v-34eae706_0", {
|
|
18101
18124
|
source: ".bx--tag--filter[data-v-34eae706]{cursor:default}",
|
|
@@ -18106,23 +18129,23 @@ const __vue_inject_styles__$a = function (inject) {
|
|
|
18106
18129
|
/* scoped */
|
|
18107
18130
|
|
|
18108
18131
|
|
|
18109
|
-
const __vue_scope_id__$
|
|
18132
|
+
const __vue_scope_id__$d = "data-v-34eae706";
|
|
18110
18133
|
/* module identifier */
|
|
18111
18134
|
|
|
18112
|
-
const __vue_module_identifier__$
|
|
18135
|
+
const __vue_module_identifier__$d = undefined;
|
|
18113
18136
|
/* functional template */
|
|
18114
18137
|
|
|
18115
|
-
const __vue_is_functional_template__$
|
|
18138
|
+
const __vue_is_functional_template__$d = false;
|
|
18116
18139
|
/* style inject SSR */
|
|
18117
18140
|
|
|
18118
18141
|
/* style inject shadow dom */
|
|
18119
18142
|
|
|
18120
|
-
const __vue_component__$
|
|
18121
|
-
render: __vue_render__$
|
|
18122
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
18123
|
-
}, __vue_inject_styles__$
|
|
18143
|
+
const __vue_component__$q = /*#__PURE__*/normalizeComponent({
|
|
18144
|
+
render: __vue_render__$c,
|
|
18145
|
+
staticRenderFns: __vue_staticRenderFns__$c
|
|
18146
|
+
}, __vue_inject_styles__$d, __vue_script__$6, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, createInjector, undefined, undefined);
|
|
18124
18147
|
|
|
18125
|
-
var NsTag = __vue_component__$
|
|
18148
|
+
var NsTag = __vue_component__$q;
|
|
18126
18149
|
|
|
18127
18150
|
/**
|
|
18128
18151
|
* Removes all key-value entries from the list cache.
|
|
@@ -20619,7 +20642,7 @@ const TOP_AFTER_REOPEN = 0;
|
|
|
20619
20642
|
const TOP = 1;
|
|
20620
20643
|
const FIXED = 2;
|
|
20621
20644
|
const selectionFeedbackOptions = ["top-after-reopen", "top", "fixed"];
|
|
20622
|
-
var script$
|
|
20645
|
+
var script$5 = {
|
|
20623
20646
|
name: "NsMultiSelect",
|
|
20624
20647
|
inheritAttrs: false,
|
|
20625
20648
|
mixins: [themeMixin, uidMixin, carbonPrefixMixin, methodsMixin({
|
|
@@ -21114,10 +21137,10 @@ var script$2 = {
|
|
|
21114
21137
|
};
|
|
21115
21138
|
|
|
21116
21139
|
/* script */
|
|
21117
|
-
const __vue_script__$
|
|
21140
|
+
const __vue_script__$5 = script$5;
|
|
21118
21141
|
/* template */
|
|
21119
21142
|
|
|
21120
|
-
var __vue_render__$
|
|
21143
|
+
var __vue_render__$b = function () {
|
|
21121
21144
|
var _obj, _obj$1, _obj$2, _obj$3, _obj$4, _obj$5, _obj$6;
|
|
21122
21145
|
|
|
21123
21146
|
var _vm = this;
|
|
@@ -21366,37 +21389,37 @@ var __vue_render__$9 = function () {
|
|
|
21366
21389
|
return [_vm._v(_vm._s(_vm.helperText))];
|
|
21367
21390
|
})], 2) : _vm._e(), _vm._v(" "), _vm.showSelectedItems && _vm.dataValue.length ? _c('div', {
|
|
21368
21391
|
staticClass: "mg-top-sm"
|
|
21369
|
-
}, _vm._l(_vm.selectedItems, function (item) {
|
|
21392
|
+
}, _vm._l(_vm.selectedItems, function (item, index) {
|
|
21370
21393
|
return _c('NsTag', {
|
|
21371
|
-
key:
|
|
21394
|
+
key: index,
|
|
21372
21395
|
staticClass: "selected-item",
|
|
21373
21396
|
attrs: {
|
|
21374
21397
|
"filter": "",
|
|
21375
21398
|
"size": "sm",
|
|
21376
21399
|
"clear-aria-label": _vm.unselectAriaLabel,
|
|
21377
|
-
"label": item.label,
|
|
21400
|
+
"label": item ? item.label : '',
|
|
21378
21401
|
"kind": _vm.selectedItemsColor,
|
|
21379
21402
|
"disabled": _vm.disabled
|
|
21380
21403
|
},
|
|
21381
21404
|
on: {
|
|
21382
21405
|
"remove": function ($event) {
|
|
21383
|
-
return _vm.onItemClick(item.value);
|
|
21406
|
+
return _vm.onItemClick(item ? item.value : '');
|
|
21384
21407
|
}
|
|
21385
21408
|
}
|
|
21386
21409
|
});
|
|
21387
21410
|
}), 1) : _vm._e()]);
|
|
21388
21411
|
};
|
|
21389
21412
|
|
|
21390
|
-
var __vue_staticRenderFns__$
|
|
21413
|
+
var __vue_staticRenderFns__$b = [];
|
|
21391
21414
|
/* style */
|
|
21392
21415
|
|
|
21393
|
-
const __vue_inject_styles__$
|
|
21416
|
+
const __vue_inject_styles__$c = function (inject) {
|
|
21394
21417
|
if (!inject) return;
|
|
21395
|
-
inject("data-v-
|
|
21396
|
-
source: ".bx--multi-select--filterable .bx--tag.selected-item[data-v-
|
|
21418
|
+
inject("data-v-6bbe779f_0", {
|
|
21419
|
+
source: ".bx--multi-select--filterable .bx--tag.selected-item[data-v-6bbe779f]{margin-left:0;margin-bottom:.25rem}.margin-bottom-on-open[data-v-6bbe779f]{margin-bottom:14rem}.label-with-tooltip[data-v-6bbe779f]{display:flex;align-items:baseline}",
|
|
21397
21420
|
map: undefined,
|
|
21398
21421
|
media: undefined
|
|
21399
|
-
}), inject("data-v-
|
|
21422
|
+
}), inject("data-v-6bbe779f_1", {
|
|
21400
21423
|
source: ".selected-item button.bx--tag__close-icon{position:relative;right:1px}.ns-multi-select .bx--tooltip__label .bx--tooltip__trigger{margin-left:.25rem}",
|
|
21401
21424
|
map: undefined,
|
|
21402
21425
|
media: undefined
|
|
@@ -21405,26 +21428,26 @@ const __vue_inject_styles__$9 = function (inject) {
|
|
|
21405
21428
|
/* scoped */
|
|
21406
21429
|
|
|
21407
21430
|
|
|
21408
|
-
const __vue_scope_id__$
|
|
21431
|
+
const __vue_scope_id__$c = "data-v-6bbe779f";
|
|
21409
21432
|
/* module identifier */
|
|
21410
21433
|
|
|
21411
|
-
const __vue_module_identifier__$
|
|
21434
|
+
const __vue_module_identifier__$c = undefined;
|
|
21412
21435
|
/* functional template */
|
|
21413
21436
|
|
|
21414
|
-
const __vue_is_functional_template__$
|
|
21437
|
+
const __vue_is_functional_template__$c = false;
|
|
21415
21438
|
/* style inject SSR */
|
|
21416
21439
|
|
|
21417
21440
|
/* style inject shadow dom */
|
|
21418
21441
|
|
|
21419
|
-
const __vue_component__$
|
|
21420
|
-
render: __vue_render__$
|
|
21421
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
21422
|
-
}, __vue_inject_styles__$
|
|
21442
|
+
const __vue_component__$o = /*#__PURE__*/normalizeComponent({
|
|
21443
|
+
render: __vue_render__$b,
|
|
21444
|
+
staticRenderFns: __vue_staticRenderFns__$b
|
|
21445
|
+
}, __vue_inject_styles__$c, __vue_script__$5, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, createInjector, undefined, undefined);
|
|
21423
21446
|
|
|
21424
|
-
var __vue_component__$
|
|
21447
|
+
var __vue_component__$p = __vue_component__$o;
|
|
21425
21448
|
|
|
21426
21449
|
//
|
|
21427
|
-
var script$
|
|
21450
|
+
var script$4 = {
|
|
21428
21451
|
name: "NsComboBox",
|
|
21429
21452
|
inheritAttrs: false,
|
|
21430
21453
|
mixins: [themeMixin, uidMixin, carbonPrefixMixin, methodsMixin({
|
|
@@ -21842,10 +21865,10 @@ var script$1 = {
|
|
|
21842
21865
|
};
|
|
21843
21866
|
|
|
21844
21867
|
/* script */
|
|
21845
|
-
const __vue_script__$
|
|
21868
|
+
const __vue_script__$4 = script$4;
|
|
21846
21869
|
/* template */
|
|
21847
21870
|
|
|
21848
|
-
var __vue_render__$
|
|
21871
|
+
var __vue_render__$a = function () {
|
|
21849
21872
|
var _obj, _obj$1, _obj$2, _obj$3, _obj$4;
|
|
21850
21873
|
|
|
21851
21874
|
var _vm = this;
|
|
@@ -22063,10 +22086,10 @@ var __vue_render__$8 = function () {
|
|
|
22063
22086
|
})], 2) : _vm._e()]);
|
|
22064
22087
|
};
|
|
22065
22088
|
|
|
22066
|
-
var __vue_staticRenderFns__$
|
|
22089
|
+
var __vue_staticRenderFns__$a = [];
|
|
22067
22090
|
/* style */
|
|
22068
22091
|
|
|
22069
|
-
const __vue_inject_styles__$
|
|
22092
|
+
const __vue_inject_styles__$b = function (inject) {
|
|
22070
22093
|
if (!inject) return;
|
|
22071
22094
|
inject("data-v-05ab085e_0", {
|
|
22072
22095
|
source: ".margin-bottom-on-open[data-v-05ab085e]{margin-bottom:14rem}.label-with-tooltip[data-v-05ab085e]{display:flex;align-items:baseline}",
|
|
@@ -22081,26 +22104,26 @@ const __vue_inject_styles__$8 = function (inject) {
|
|
|
22081
22104
|
/* scoped */
|
|
22082
22105
|
|
|
22083
22106
|
|
|
22084
|
-
const __vue_scope_id__$
|
|
22107
|
+
const __vue_scope_id__$b = "data-v-05ab085e";
|
|
22085
22108
|
/* module identifier */
|
|
22086
22109
|
|
|
22087
|
-
const __vue_module_identifier__$
|
|
22110
|
+
const __vue_module_identifier__$b = undefined;
|
|
22088
22111
|
/* functional template */
|
|
22089
22112
|
|
|
22090
|
-
const __vue_is_functional_template__$
|
|
22113
|
+
const __vue_is_functional_template__$b = false;
|
|
22091
22114
|
/* style inject SSR */
|
|
22092
22115
|
|
|
22093
22116
|
/* style inject shadow dom */
|
|
22094
22117
|
|
|
22095
|
-
const __vue_component__$
|
|
22096
|
-
render: __vue_render__$
|
|
22097
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
22098
|
-
}, __vue_inject_styles__$
|
|
22118
|
+
const __vue_component__$m = /*#__PURE__*/normalizeComponent({
|
|
22119
|
+
render: __vue_render__$a,
|
|
22120
|
+
staticRenderFns: __vue_staticRenderFns__$a
|
|
22121
|
+
}, __vue_inject_styles__$b, __vue_script__$4, __vue_scope_id__$b, __vue_is_functional_template__$b, __vue_module_identifier__$b, false, createInjector, undefined, undefined);
|
|
22099
22122
|
|
|
22100
|
-
var __vue_component__$
|
|
22123
|
+
var __vue_component__$n = __vue_component__$m;
|
|
22101
22124
|
|
|
22102
22125
|
//
|
|
22103
|
-
var script = {
|
|
22126
|
+
var script$3 = {
|
|
22104
22127
|
name: "NsCheckbox",
|
|
22105
22128
|
extends: CvCheckbox,
|
|
22106
22129
|
inheritAttrs: false,
|
|
@@ -22132,10 +22155,10 @@ var script = {
|
|
|
22132
22155
|
};
|
|
22133
22156
|
|
|
22134
22157
|
/* script */
|
|
22135
|
-
const __vue_script__ = script;
|
|
22158
|
+
const __vue_script__$3 = script$3;
|
|
22136
22159
|
/* template */
|
|
22137
22160
|
|
|
22138
|
-
var __vue_render__$
|
|
22161
|
+
var __vue_render__$9 = function () {
|
|
22139
22162
|
var _obj, _obj$1, _obj$2;
|
|
22140
22163
|
|
|
22141
22164
|
var _vm = this;
|
|
@@ -22189,16 +22212,16 @@ var __vue_render__$7 = function () {
|
|
|
22189
22212
|
}, [_vm._t("tooltip")], 2)], 2) : _vm._e()], 1)])])]);
|
|
22190
22213
|
};
|
|
22191
22214
|
|
|
22192
|
-
var __vue_staticRenderFns__$
|
|
22215
|
+
var __vue_staticRenderFns__$9 = [];
|
|
22193
22216
|
/* style */
|
|
22194
22217
|
|
|
22195
|
-
const __vue_inject_styles__$
|
|
22218
|
+
const __vue_inject_styles__$a = function (inject) {
|
|
22196
22219
|
if (!inject) return;
|
|
22197
|
-
inject("data-v-
|
|
22198
|
-
source: ".label-with-tooltip[data-v-
|
|
22220
|
+
inject("data-v-b70bd436_0", {
|
|
22221
|
+
source: ".label-with-tooltip[data-v-b70bd436]{display:flex}",
|
|
22199
22222
|
map: undefined,
|
|
22200
22223
|
media: undefined
|
|
22201
|
-
}), inject("data-v-
|
|
22224
|
+
}), inject("data-v-b70bd436_1", {
|
|
22202
22225
|
source: ".ns-checkbox .bx--tooltip__label .bx--tooltip__trigger{margin-left:.25rem}",
|
|
22203
22226
|
map: undefined,
|
|
22204
22227
|
media: undefined
|
|
@@ -22207,67 +22230,1180 @@ const __vue_inject_styles__$7 = function (inject) {
|
|
|
22207
22230
|
/* scoped */
|
|
22208
22231
|
|
|
22209
22232
|
|
|
22210
|
-
const __vue_scope_id__$
|
|
22233
|
+
const __vue_scope_id__$a = "data-v-b70bd436";
|
|
22211
22234
|
/* module identifier */
|
|
22212
22235
|
|
|
22213
|
-
const __vue_module_identifier__$
|
|
22236
|
+
const __vue_module_identifier__$a = undefined;
|
|
22214
22237
|
/* functional template */
|
|
22215
22238
|
|
|
22216
|
-
const __vue_is_functional_template__$
|
|
22239
|
+
const __vue_is_functional_template__$a = false;
|
|
22217
22240
|
/* style inject SSR */
|
|
22218
22241
|
|
|
22219
22242
|
/* style inject shadow dom */
|
|
22220
22243
|
|
|
22221
|
-
const __vue_component__$
|
|
22222
|
-
render: __vue_render__$
|
|
22223
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
22224
|
-
}, __vue_inject_styles__$
|
|
22244
|
+
const __vue_component__$k = /*#__PURE__*/normalizeComponent({
|
|
22245
|
+
render: __vue_render__$9,
|
|
22246
|
+
staticRenderFns: __vue_staticRenderFns__$9
|
|
22247
|
+
}, __vue_inject_styles__$a, __vue_script__$3, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, createInjector, undefined, undefined);
|
|
22225
22248
|
|
|
22226
|
-
var __vue_component__$
|
|
22249
|
+
var __vue_component__$l = __vue_component__$k;
|
|
22227
22250
|
|
|
22228
|
-
|
|
22251
|
+
//
|
|
22252
|
+
var script$2 = {
|
|
22253
|
+
name: "NsByteSlider",
|
|
22254
|
+
mixins: [uidMixin, themeMixin, carbonPrefixMixin, methodsMixin({
|
|
22255
|
+
thumb: ["blur", "focus"]
|
|
22256
|
+
})],
|
|
22257
|
+
props: {
|
|
22258
|
+
disabled: Boolean,
|
|
22259
|
+
label: String,
|
|
22260
|
+
// NOTE: It is not safe to rely on Numbers for non-integer steps
|
|
22261
|
+
min: {
|
|
22262
|
+
type: String,
|
|
22263
|
+
default: "0"
|
|
22264
|
+
},
|
|
22265
|
+
max: {
|
|
22266
|
+
type: String,
|
|
22267
|
+
default: "100"
|
|
22268
|
+
},
|
|
22269
|
+
step: {
|
|
22270
|
+
type: String,
|
|
22271
|
+
default: "1"
|
|
22272
|
+
},
|
|
22273
|
+
stepMultiplier: {
|
|
22274
|
+
type: String,
|
|
22275
|
+
default: "4",
|
|
22229
22276
|
|
|
22230
|
-
|
|
22231
|
-
|
|
22232
|
-
|
|
22277
|
+
validator(val) {
|
|
22278
|
+
if (val.length) {
|
|
22279
|
+
let intMultiplier = parseInt(val);
|
|
22233
22280
|
|
|
22234
|
-
|
|
22281
|
+
if (isNaN(intMultiplier) || intMultiplier < 1) {
|
|
22282
|
+
console.warn("ns-byte-slider: multiplier must be >= 1");
|
|
22283
|
+
return false;
|
|
22284
|
+
}
|
|
22285
|
+
}
|
|
22235
22286
|
|
|
22236
|
-
|
|
22287
|
+
return true;
|
|
22288
|
+
}
|
|
22237
22289
|
|
|
22238
|
-
|
|
22239
|
-
|
|
22240
|
-
|
|
22241
|
-
|
|
22290
|
+
},
|
|
22291
|
+
value: String,
|
|
22292
|
+
minLabel: String,
|
|
22293
|
+
maxLabel: String,
|
|
22294
|
+
showUnlimited: {
|
|
22295
|
+
type: Boolean,
|
|
22296
|
+
default: false
|
|
22297
|
+
},
|
|
22298
|
+
isUnlimited: {
|
|
22299
|
+
type: Boolean,
|
|
22300
|
+
default: false
|
|
22301
|
+
},
|
|
22302
|
+
byteUnit: {
|
|
22303
|
+
type: String,
|
|
22304
|
+
default: "gib"
|
|
22305
|
+
},
|
|
22306
|
+
unlimitedLabel: {
|
|
22307
|
+
type: String,
|
|
22308
|
+
default: "Unlimited"
|
|
22309
|
+
},
|
|
22310
|
+
showHumanReadableLabel: {
|
|
22311
|
+
type: Boolean,
|
|
22312
|
+
default: false
|
|
22313
|
+
},
|
|
22314
|
+
showMibGibToggle: {
|
|
22315
|
+
type: Boolean,
|
|
22316
|
+
default: false
|
|
22317
|
+
},
|
|
22318
|
+
tagKind: {
|
|
22319
|
+
type: String,
|
|
22320
|
+
default: "high-contrast"
|
|
22321
|
+
},
|
|
22322
|
+
invalidMessage: {
|
|
22323
|
+
type: String,
|
|
22324
|
+
default: ""
|
|
22242
22325
|
}
|
|
22243
|
-
}
|
|
22244
|
-
|
|
22245
|
-
|
|
22246
|
-
|
|
22247
|
-
|
|
22326
|
+
},
|
|
22327
|
+
model: {
|
|
22328
|
+
prop: "value",
|
|
22329
|
+
event: "modelEvent"
|
|
22330
|
+
},
|
|
22248
22331
|
|
|
22249
|
-
|
|
22250
|
-
|
|
22332
|
+
data() {
|
|
22333
|
+
return {
|
|
22334
|
+
internalValue: "",
|
|
22335
|
+
animateClick: false,
|
|
22336
|
+
isDragging: false,
|
|
22337
|
+
dragStartX: 0,
|
|
22338
|
+
dragStartValue: 0,
|
|
22339
|
+
percentage: "0%",
|
|
22340
|
+
internalUnlimited: false,
|
|
22341
|
+
internalByteUnit: "gib",
|
|
22342
|
+
isInvalid: false
|
|
22343
|
+
};
|
|
22344
|
+
},
|
|
22251
22345
|
|
|
22252
|
-
|
|
22253
|
-
|
|
22346
|
+
computed: {
|
|
22347
|
+
labelId() {
|
|
22348
|
+
return `${this.uid}-label`;
|
|
22349
|
+
},
|
|
22254
22350
|
|
|
22255
|
-
|
|
22256
|
-
|
|
22351
|
+
internalMinLabel() {
|
|
22352
|
+
return this.minLabel !== undefined ? this.minLabel : this.getMin();
|
|
22353
|
+
},
|
|
22257
22354
|
|
|
22258
|
-
|
|
22259
|
-
|
|
22355
|
+
internalMaxLabel() {
|
|
22356
|
+
return this.maxLabel !== undefined ? this.maxLabel : this.getMax();
|
|
22357
|
+
},
|
|
22260
22358
|
|
|
22261
|
-
|
|
22359
|
+
internalMultiplier() {
|
|
22360
|
+
let intMultiplier = parseInt(this.stepMultiplier); // default to 4 fro multiplier
|
|
22262
22361
|
|
|
22263
|
-
|
|
22362
|
+
return isNaN(intMultiplier) ? 4 : Math.max(intMultiplier, 1);
|
|
22363
|
+
},
|
|
22264
22364
|
|
|
22265
|
-
|
|
22266
|
-
|
|
22267
|
-
|
|
22268
|
-
}
|
|
22365
|
+
humanReadableLabel() {
|
|
22366
|
+
if (this.internalByteUnit === "gib") {
|
|
22367
|
+
return this.gibFormat(this.internalValue);
|
|
22368
|
+
} else {
|
|
22369
|
+
// MiB
|
|
22370
|
+
return this.mibFormat(this.internalValue);
|
|
22371
|
+
}
|
|
22372
|
+
}
|
|
22269
22373
|
|
|
22270
|
-
|
|
22374
|
+
},
|
|
22375
|
+
|
|
22376
|
+
created() {
|
|
22377
|
+
this.internalUnlimited = this.isUnlimited;
|
|
22378
|
+
this.internalByteUnit = this.byteUnit;
|
|
22379
|
+
},
|
|
22380
|
+
|
|
22381
|
+
mounted() {
|
|
22382
|
+
this.$refs.range.value = this.value;
|
|
22383
|
+
this.internalValue = this.$refs.range.value;
|
|
22384
|
+
this.percentage = `${(this.internalValue - this.getMin()) * 100 / (this.getMax() - this.getMin())}%`;
|
|
22385
|
+
this.checkSlots();
|
|
22386
|
+
},
|
|
22387
|
+
|
|
22388
|
+
updated() {
|
|
22389
|
+
this.checkSlots();
|
|
22390
|
+
},
|
|
22391
|
+
|
|
22392
|
+
watch: {
|
|
22393
|
+
value(val) {
|
|
22394
|
+
this.setValue(val);
|
|
22395
|
+
},
|
|
22396
|
+
|
|
22397
|
+
min() {
|
|
22398
|
+
this.$nextTick(() => {
|
|
22399
|
+
this.setValue(this.internalValue);
|
|
22400
|
+
});
|
|
22401
|
+
},
|
|
22402
|
+
|
|
22403
|
+
max() {
|
|
22404
|
+
this.$nextTick(() => {
|
|
22405
|
+
this.setValue(this.internalValue);
|
|
22406
|
+
});
|
|
22407
|
+
},
|
|
22408
|
+
|
|
22409
|
+
step() {
|
|
22410
|
+
this.$nextTick(() => {
|
|
22411
|
+
this.setValue(this.internalValue);
|
|
22412
|
+
});
|
|
22413
|
+
},
|
|
22414
|
+
|
|
22415
|
+
isUnlimited() {
|
|
22416
|
+
this.internalUnlimited = this.isUnlimited;
|
|
22417
|
+
},
|
|
22418
|
+
|
|
22419
|
+
internalUnlimited() {
|
|
22420
|
+
if (this.internalUnlimited) {
|
|
22421
|
+
this.$emit("unlimited", true);
|
|
22422
|
+
} else {
|
|
22423
|
+
this.$emit("unlimited", false);
|
|
22424
|
+
}
|
|
22425
|
+
},
|
|
22426
|
+
|
|
22427
|
+
byteUnit() {
|
|
22428
|
+
this.internalByteUnit = this.byteUnit;
|
|
22429
|
+
},
|
|
22430
|
+
|
|
22431
|
+
internalByteUnit() {
|
|
22432
|
+
this.$emit("byteUnit", this.internalByteUnit);
|
|
22433
|
+
}
|
|
22434
|
+
|
|
22435
|
+
},
|
|
22436
|
+
methods: {
|
|
22437
|
+
// NOTE: It is not safe to rely on Numbers for non-integer steps
|
|
22438
|
+
getMin() {
|
|
22439
|
+
if (this.$refs.range) {
|
|
22440
|
+
const val = parseFloat(this.$refs.range.min);
|
|
22441
|
+
return isNaN(val) ? 0 : val;
|
|
22442
|
+
}
|
|
22443
|
+
|
|
22444
|
+
return 0;
|
|
22445
|
+
},
|
|
22446
|
+
|
|
22447
|
+
getMax() {
|
|
22448
|
+
if (this.$refs.range) {
|
|
22449
|
+
const val = parseFloat(this.$refs.range.max);
|
|
22450
|
+
return isNaN(val) ? 100 : val;
|
|
22451
|
+
}
|
|
22452
|
+
|
|
22453
|
+
return 100;
|
|
22454
|
+
},
|
|
22455
|
+
|
|
22456
|
+
getValue() {
|
|
22457
|
+
if (this.$refs.range) {
|
|
22458
|
+
const val = parseFloat(this.$refs.range.value);
|
|
22459
|
+
return isNaN(val) ? 0 : val;
|
|
22460
|
+
}
|
|
22461
|
+
|
|
22462
|
+
return (this.getMax() + this.getMin()) / 2;
|
|
22463
|
+
},
|
|
22464
|
+
|
|
22465
|
+
getStep() {
|
|
22466
|
+
if (this.$refs.range) {
|
|
22467
|
+
const val = parseFloat(this.$refs.range.step);
|
|
22468
|
+
return isNaN(val) ? 0 : val;
|
|
22469
|
+
}
|
|
22470
|
+
|
|
22471
|
+
return 1;
|
|
22472
|
+
},
|
|
22473
|
+
|
|
22474
|
+
setValue(newValue) {
|
|
22475
|
+
if (this.disabled) return;
|
|
22476
|
+
this.$refs.range.value = newValue;
|
|
22477
|
+
this.internalValue = this.$refs.range.value;
|
|
22478
|
+
this.percentage = `${(this.internalValue - this.getMin()) * 100 / (this.getMax() - this.getMin())}%`;
|
|
22479
|
+
this.$emit("modelEvent", this.$refs.range.value);
|
|
22480
|
+
this.$emit("change", this.$refs.range.value);
|
|
22481
|
+
},
|
|
22482
|
+
|
|
22483
|
+
onChange() {
|
|
22484
|
+
let newValue = this.internalValue.length ? parseFloat(this.internalValue) : this.getMin();
|
|
22485
|
+
this.setValue(newValue);
|
|
22486
|
+
},
|
|
22487
|
+
|
|
22488
|
+
onStartDrag(ev) {
|
|
22489
|
+
document.body.addEventListener("mousemove", this.onDrag);
|
|
22490
|
+
document.body.addEventListener("mouseup", this.onStopDrag);
|
|
22491
|
+
this.dragStartX = ev.clientX;
|
|
22492
|
+
this.dragStartValue = this.getValue();
|
|
22493
|
+
this.isDragging = true;
|
|
22494
|
+
},
|
|
22495
|
+
|
|
22496
|
+
onDrag(ev) {
|
|
22497
|
+
if (this.isDragging) {
|
|
22498
|
+
// percentage change
|
|
22499
|
+
let newValue = (ev.clientX - this.dragStartX) / this.$refs.track.offsetWidth; // uncapped new value
|
|
22500
|
+
|
|
22501
|
+
newValue = this.dragStartValue + (this.getMax() - this.getMin()) * newValue;
|
|
22502
|
+
this.setValue(newValue, ev);
|
|
22503
|
+
}
|
|
22504
|
+
},
|
|
22505
|
+
|
|
22506
|
+
onStopDrag() {
|
|
22507
|
+
this.isDragging = false;
|
|
22508
|
+
document.body.removeEventListener("mousemove", this.onDrag);
|
|
22509
|
+
document.body.removeEventListener("mouseup", this.onStopDrag);
|
|
22510
|
+
},
|
|
22511
|
+
|
|
22512
|
+
onTrackClick(ev) {
|
|
22513
|
+
const afterAnimate = ev => {
|
|
22514
|
+
if (ev.propertyName === "left") {
|
|
22515
|
+
this.animateClick = false;
|
|
22516
|
+
this.$refs.thumb.removeEventListener("transitionend", afterAnimate);
|
|
22517
|
+
}
|
|
22518
|
+
};
|
|
22519
|
+
|
|
22520
|
+
let newValue = ev.offsetX / this.$refs.track.offsetWidth;
|
|
22521
|
+
newValue = (this.getMax() - this.getMin()) * newValue + this.getMin();
|
|
22522
|
+
this.$refs.thumb.addEventListener("transitionend", afterAnimate);
|
|
22523
|
+
this.animateClick = true;
|
|
22524
|
+
this.setValue(newValue, ev);
|
|
22525
|
+
},
|
|
22526
|
+
|
|
22527
|
+
onUp(ev) {
|
|
22528
|
+
let curValue = ev.target.type === "number" ? parseFloat(ev.target.value) : this.getValue();
|
|
22529
|
+
let newValue = curValue + (ev.shiftKey ? this.internalMultiplier * this.getStep() : this.getStep());
|
|
22530
|
+
this.setValue(newValue, ev);
|
|
22531
|
+
},
|
|
22532
|
+
|
|
22533
|
+
onDown(ev) {
|
|
22534
|
+
let curValue = ev.target.type === "number" ? parseFloat(ev.target.value) : this.getValue();
|
|
22535
|
+
let newValue = curValue - (ev.shiftKey ? this.internalMultiplier * this.getStep() : this.getStep());
|
|
22536
|
+
this.setValue(newValue, ev);
|
|
22537
|
+
},
|
|
22538
|
+
|
|
22539
|
+
mibFormat(size) {
|
|
22540
|
+
let result;
|
|
22541
|
+
|
|
22542
|
+
switch (true) {
|
|
22543
|
+
case size === null || size === "" || isNaN(size):
|
|
22544
|
+
result = "-";
|
|
22545
|
+
break;
|
|
22546
|
+
|
|
22547
|
+
case size >= 0 && size < 1024:
|
|
22548
|
+
result = size + " MiB";
|
|
22549
|
+
break;
|
|
22550
|
+
|
|
22551
|
+
case size >= 1024 && size < Math.pow(1024, 2):
|
|
22552
|
+
result = Math.round(size / 1024 * 100) / 100 + " GiB";
|
|
22553
|
+
break;
|
|
22554
|
+
|
|
22555
|
+
default:
|
|
22556
|
+
result = Math.round(size / Math.pow(1024, 2) * 100) / 100 + " TiB";
|
|
22557
|
+
}
|
|
22558
|
+
|
|
22559
|
+
return result;
|
|
22560
|
+
},
|
|
22561
|
+
|
|
22562
|
+
gibFormat(size) {
|
|
22563
|
+
let result;
|
|
22564
|
+
|
|
22565
|
+
switch (true) {
|
|
22566
|
+
case size === null || size === "" || isNaN(size):
|
|
22567
|
+
result = "-";
|
|
22568
|
+
break;
|
|
22569
|
+
|
|
22570
|
+
case size >= 0 && size < 1024:
|
|
22571
|
+
result = size + " GiB";
|
|
22572
|
+
break;
|
|
22573
|
+
|
|
22574
|
+
default:
|
|
22575
|
+
result = Math.round(size / 1024 * 100) / 100 + " TiB";
|
|
22576
|
+
}
|
|
22577
|
+
|
|
22578
|
+
return result;
|
|
22579
|
+
},
|
|
22580
|
+
|
|
22581
|
+
checkSlots() {
|
|
22582
|
+
// NOTE: this.$slots is not reactive so needs to be managed on updated
|
|
22583
|
+
this.isInvalid = !!(this.$slots["invalid-message"] || this.invalidMessage && this.invalidMessage.length);
|
|
22584
|
+
}
|
|
22585
|
+
|
|
22586
|
+
}
|
|
22587
|
+
};
|
|
22588
|
+
|
|
22589
|
+
/* script */
|
|
22590
|
+
const __vue_script__$2 = script$2;
|
|
22591
|
+
/* template */
|
|
22592
|
+
|
|
22593
|
+
var __vue_render__$8 = function () {
|
|
22594
|
+
var _obj, _obj$1, _obj$2, _obj$3;
|
|
22595
|
+
|
|
22596
|
+
var _vm = this;
|
|
22597
|
+
|
|
22598
|
+
var _h = _vm.$createElement;
|
|
22599
|
+
|
|
22600
|
+
var _c = _vm._self._c || _h;
|
|
22601
|
+
|
|
22602
|
+
return _c('div', {
|
|
22603
|
+
class: "ns-byte-slider cv-slider " + _vm.carbonPrefix + "--form-item"
|
|
22604
|
+
}, [_c('div', {
|
|
22605
|
+
staticClass: "wrapper",
|
|
22606
|
+
attrs: {
|
|
22607
|
+
"data-invalid": _vm.isInvalid
|
|
22608
|
+
}
|
|
22609
|
+
}, [_c('label', {
|
|
22610
|
+
directives: [{
|
|
22611
|
+
name: "show",
|
|
22612
|
+
rawName: "v-show",
|
|
22613
|
+
value: _vm.label,
|
|
22614
|
+
expression: "label"
|
|
22615
|
+
}],
|
|
22616
|
+
class: [_vm.carbonPrefix + "--label", (_obj = {}, _obj[_vm.carbonPrefix + "--label--disabled"] = _vm.disabled, _obj)],
|
|
22617
|
+
attrs: {
|
|
22618
|
+
"for": _vm.uid,
|
|
22619
|
+
"id": _vm.labelId
|
|
22620
|
+
}
|
|
22621
|
+
}, [_vm._v("\n " + _vm._s(_vm.label) + "\n ")]), _vm._v(" "), _vm.showUnlimited ? _c('NsCheckbox', {
|
|
22622
|
+
staticClass: "is-unlimited",
|
|
22623
|
+
attrs: {
|
|
22624
|
+
"label": _vm.unlimitedLabel,
|
|
22625
|
+
"disabled": _vm.disabled,
|
|
22626
|
+
"value": "checkUnlimited"
|
|
22627
|
+
},
|
|
22628
|
+
model: {
|
|
22629
|
+
value: _vm.internalUnlimited,
|
|
22630
|
+
callback: function ($$v) {
|
|
22631
|
+
_vm.internalUnlimited = $$v;
|
|
22632
|
+
},
|
|
22633
|
+
expression: "internalUnlimited"
|
|
22634
|
+
}
|
|
22635
|
+
}) : _vm._e(), _vm._v(" "), _c('div', {
|
|
22636
|
+
class: _vm.carbonPrefix + "--slider-container"
|
|
22637
|
+
}, [_vm.internalMinLabel ? _c('span', {
|
|
22638
|
+
class: _vm.carbonPrefix + "--slider__range-label"
|
|
22639
|
+
}, [_vm._v(_vm._s(_vm.internalMinLabel))]) : _vm._e(), _vm._v(" "), _c('div', {
|
|
22640
|
+
class: [_vm.carbonPrefix + "--slider", (_obj$1 = {}, _obj$1[_vm.carbonPrefix + "--slider--disabled"] = _vm.disabled || _vm.internalUnlimited, _obj$1)],
|
|
22641
|
+
attrs: {
|
|
22642
|
+
"data-slider": "",
|
|
22643
|
+
"data-slider-input-box": "#slider-input-box"
|
|
22644
|
+
}
|
|
22645
|
+
}, [_c('div', {
|
|
22646
|
+
ref: "track",
|
|
22647
|
+
class: _vm.carbonPrefix + "--slider__track",
|
|
22648
|
+
on: {
|
|
22649
|
+
"click": _vm.onTrackClick
|
|
22650
|
+
}
|
|
22651
|
+
}), _vm._v(" "), _c('div', {
|
|
22652
|
+
class: _vm.carbonPrefix + "--slider__filled-track",
|
|
22653
|
+
style: "width: " + _vm.percentage + ";"
|
|
22654
|
+
}), _vm._v(" "), _c('div', {
|
|
22655
|
+
ref: "thumb",
|
|
22656
|
+
class: [_vm.carbonPrefix + "--slider__thumb", (_obj$2 = {}, _obj$2[_vm.carbonPrefix + "--slider__thumb--clicked"] = _vm.animateClick, _obj$2)],
|
|
22657
|
+
style: "left: " + _vm.percentage + ";",
|
|
22658
|
+
attrs: {
|
|
22659
|
+
"tabindex": "0",
|
|
22660
|
+
"aria-labelledby": _vm.labelId
|
|
22661
|
+
},
|
|
22662
|
+
on: {
|
|
22663
|
+
"keydown": [function ($event) {
|
|
22664
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "up", 38, $event.key, ["Up", "ArrowUp"]) && _vm._k($event.keyCode, "right", 39, $event.key, ["Right", "ArrowRight"])) {
|
|
22665
|
+
return null;
|
|
22666
|
+
}
|
|
22667
|
+
|
|
22668
|
+
if ('button' in $event && $event.button !== 2) {
|
|
22669
|
+
return null;
|
|
22670
|
+
}
|
|
22671
|
+
|
|
22672
|
+
$event.preventDefault();
|
|
22673
|
+
return _vm.onUp.apply(null, arguments);
|
|
22674
|
+
}, function ($event) {
|
|
22675
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "down", 40, $event.key, ["Down", "ArrowDown"]) && _vm._k($event.keyCode, "left", 37, $event.key, ["Left", "ArrowLeft"])) {
|
|
22676
|
+
return null;
|
|
22677
|
+
}
|
|
22678
|
+
|
|
22679
|
+
if ('button' in $event && $event.button !== 0) {
|
|
22680
|
+
return null;
|
|
22681
|
+
}
|
|
22682
|
+
|
|
22683
|
+
$event.preventDefault();
|
|
22684
|
+
return _vm.onDown.apply(null, arguments);
|
|
22685
|
+
}],
|
|
22686
|
+
"mousedown": _vm.onStartDrag
|
|
22687
|
+
}
|
|
22688
|
+
}), _vm._v(" "), _c('input', {
|
|
22689
|
+
ref: "range",
|
|
22690
|
+
class: _vm.carbonPrefix + "--slider__input",
|
|
22691
|
+
attrs: {
|
|
22692
|
+
"id": _vm.uid,
|
|
22693
|
+
"type": "range",
|
|
22694
|
+
"step": _vm.step,
|
|
22695
|
+
"min": _vm.min,
|
|
22696
|
+
"max": _vm.max
|
|
22697
|
+
}
|
|
22698
|
+
})]), _vm._v(" "), _vm.internalMaxLabel ? _c('span', {
|
|
22699
|
+
class: _vm.carbonPrefix + "--slider__range-label"
|
|
22700
|
+
}, [_vm._v(_vm._s(_vm.internalMaxLabel))]) : _vm._e(), _vm._v(" "), _c('input', {
|
|
22701
|
+
directives: [{
|
|
22702
|
+
name: "model",
|
|
22703
|
+
rawName: "v-model",
|
|
22704
|
+
value: _vm.internalValue,
|
|
22705
|
+
expression: "internalValue"
|
|
22706
|
+
}],
|
|
22707
|
+
ref: "inputBox",
|
|
22708
|
+
class: [_vm.carbonPrefix + "--text-input " + _vm.carbonPrefix + "--slider-text-input", (_obj$3 = {}, _obj$3[_vm.carbonPrefix + "--text-input--light"] = _vm.isLight, _obj$3[_vm.carbonPrefix + "--text-input--invalid"] = _vm.isInvalid, _obj$3[_vm.carbonPrefix + "--text-input--warning"] = _vm.isWarn, _obj$3),, 'range-input'],
|
|
22709
|
+
attrs: {
|
|
22710
|
+
"type": "number",
|
|
22711
|
+
"placeholder": _vm.min,
|
|
22712
|
+
"disabled": _vm.disabled || _vm.internalUnlimited
|
|
22713
|
+
},
|
|
22714
|
+
domProps: {
|
|
22715
|
+
"value": _vm.internalValue
|
|
22716
|
+
},
|
|
22717
|
+
on: {
|
|
22718
|
+
"change": _vm.onChange,
|
|
22719
|
+
"keydown": [function ($event) {
|
|
22720
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "up", 38, $event.key, ["Up", "ArrowUp"])) {
|
|
22721
|
+
return null;
|
|
22722
|
+
}
|
|
22723
|
+
|
|
22724
|
+
$event.preventDefault();
|
|
22725
|
+
return _vm.onUp.apply(null, arguments);
|
|
22726
|
+
}, function ($event) {
|
|
22727
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "down", 40, $event.key, ["Down", "ArrowDown"])) {
|
|
22728
|
+
return null;
|
|
22729
|
+
}
|
|
22730
|
+
|
|
22731
|
+
$event.preventDefault();
|
|
22732
|
+
return _vm.onDown.apply(null, arguments);
|
|
22733
|
+
}],
|
|
22734
|
+
"input": function ($event) {
|
|
22735
|
+
if ($event.target.composing) {
|
|
22736
|
+
return;
|
|
22737
|
+
}
|
|
22738
|
+
|
|
22739
|
+
_vm.internalValue = $event.target.value;
|
|
22740
|
+
}
|
|
22741
|
+
}
|
|
22742
|
+
}), _vm._v(" "), _vm.showMibGibToggle ? _c('cv-radio-group', {
|
|
22743
|
+
staticClass: "mib-gib"
|
|
22744
|
+
}, [_c('cv-radio-button', {
|
|
22745
|
+
attrs: {
|
|
22746
|
+
"name": "group-mib-gib",
|
|
22747
|
+
"label": "MiB",
|
|
22748
|
+
"value": "mib",
|
|
22749
|
+
"disabled": _vm.disabled || _vm.internalUnlimited
|
|
22750
|
+
},
|
|
22751
|
+
model: {
|
|
22752
|
+
value: _vm.internalByteUnit,
|
|
22753
|
+
callback: function ($$v) {
|
|
22754
|
+
_vm.internalByteUnit = $$v;
|
|
22755
|
+
},
|
|
22756
|
+
expression: "internalByteUnit"
|
|
22757
|
+
}
|
|
22758
|
+
}), _vm._v(" "), _c('cv-radio-button', {
|
|
22759
|
+
attrs: {
|
|
22760
|
+
"name": "group-mib-gib",
|
|
22761
|
+
"label": "GiB",
|
|
22762
|
+
"value": "gib",
|
|
22763
|
+
"disabled": _vm.disabled || _vm.internalUnlimited
|
|
22764
|
+
},
|
|
22765
|
+
model: {
|
|
22766
|
+
value: _vm.internalByteUnit,
|
|
22767
|
+
callback: function ($$v) {
|
|
22768
|
+
_vm.internalByteUnit = $$v;
|
|
22769
|
+
},
|
|
22770
|
+
expression: "internalByteUnit"
|
|
22771
|
+
}
|
|
22772
|
+
})], 1) : _vm._e()], 1), _vm._v(" "), _vm.showHumanReadableLabel && !_vm.internalUnlimited ? _c('NsTag', {
|
|
22773
|
+
staticClass: "human-label",
|
|
22774
|
+
attrs: {
|
|
22775
|
+
"label": _vm.humanReadableLabel,
|
|
22776
|
+
"kind": _vm.tagKind,
|
|
22777
|
+
"disabled": _vm.disabled || _vm.internalUnlimited
|
|
22778
|
+
}
|
|
22779
|
+
}) : _vm._e()], 1), _vm._v(" "), _vm.isInvalid ? _c('div', {
|
|
22780
|
+
class: _vm.carbonPrefix + "--form-requirement"
|
|
22781
|
+
}, [_vm._t("invalid-message", function () {
|
|
22782
|
+
return [_vm._v(_vm._s(_vm.invalidMessage))];
|
|
22783
|
+
})], 2) : _vm._e()]);
|
|
22784
|
+
};
|
|
22785
|
+
|
|
22786
|
+
var __vue_staticRenderFns__$8 = [];
|
|
22787
|
+
/* style */
|
|
22788
|
+
|
|
22789
|
+
const __vue_inject_styles__$9 = function (inject) {
|
|
22790
|
+
if (!inject) return;
|
|
22791
|
+
inject("data-v-af193c20_0", {
|
|
22792
|
+
source: ".is-unlimited[data-v-af193c20]{margin-top:.5rem!important;margin-bottom:.5rem!important}.range-input[data-v-af193c20]{margin-top:.5rem!important}.mib-gib[data-v-af193c20]{margin-left:1rem;margin-top:.5rem!important;margin-bottom:0!important}.human-label[data-v-af193c20]{margin-top:1rem}",
|
|
22793
|
+
map: undefined,
|
|
22794
|
+
media: undefined
|
|
22795
|
+
}), inject("data-v-af193c20_1", {
|
|
22796
|
+
source: ".ns-byte-slider .bx--slider-container{flex-wrap:wrap}.ns-byte-slider .bx--slider-text-input{width:5rem}.ns-byte-slider .wrapper[data-invalid]~.bx--form-requirement{display:block;overflow:visible;max-height:12.5rem;font-weight:400;color:#da1e28}",
|
|
22797
|
+
map: undefined,
|
|
22798
|
+
media: undefined
|
|
22799
|
+
});
|
|
22800
|
+
};
|
|
22801
|
+
/* scoped */
|
|
22802
|
+
|
|
22803
|
+
|
|
22804
|
+
const __vue_scope_id__$9 = "data-v-af193c20";
|
|
22805
|
+
/* module identifier */
|
|
22806
|
+
|
|
22807
|
+
const __vue_module_identifier__$9 = undefined;
|
|
22808
|
+
/* functional template */
|
|
22809
|
+
|
|
22810
|
+
const __vue_is_functional_template__$9 = false;
|
|
22811
|
+
/* style inject SSR */
|
|
22812
|
+
|
|
22813
|
+
/* style inject shadow dom */
|
|
22814
|
+
|
|
22815
|
+
const __vue_component__$i = /*#__PURE__*/normalizeComponent({
|
|
22816
|
+
render: __vue_render__$8,
|
|
22817
|
+
staticRenderFns: __vue_staticRenderFns__$8
|
|
22818
|
+
}, __vue_inject_styles__$9, __vue_script__$2, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, createInjector, undefined, undefined);
|
|
22819
|
+
|
|
22820
|
+
var __vue_component__$j = __vue_component__$i;
|
|
22821
|
+
|
|
22822
|
+
var script$1 = {
|
|
22823
|
+
name: "NsTabs",
|
|
22824
|
+
extends: CvTabs,
|
|
22825
|
+
methods: {
|
|
22826
|
+
// extend method to fix error on beforeDestroy
|
|
22827
|
+
doScrollIntoView(index) {
|
|
22828
|
+
const tab = this.$refs.link[index]; // fix error on beforeDestroy
|
|
22829
|
+
|
|
22830
|
+
if (!tab) {
|
|
22831
|
+
return;
|
|
22832
|
+
}
|
|
22833
|
+
|
|
22834
|
+
const scrollContainer = tab.parentNode ? tab.parentNode.parentNode : null;
|
|
22835
|
+
let newScrollLeft;
|
|
22836
|
+
|
|
22837
|
+
if (tab && scrollContainer) {
|
|
22838
|
+
const scrollLeft = scrollContainer.scrollLeft;
|
|
22839
|
+
const tabLeft = tab.offsetLeft - scrollContainer.offsetLeft;
|
|
22840
|
+
|
|
22841
|
+
if (index === 0) {
|
|
22842
|
+
newScrollLeft = 0;
|
|
22843
|
+
} else if (index === this.$refs.link.length - 1) {
|
|
22844
|
+
newScrollLeft = scrollContainer.scrollWidth - scrollContainer.offsetWidth;
|
|
22845
|
+
} else if (tabLeft < scrollLeft) {
|
|
22846
|
+
newScrollLeft = tabLeft;
|
|
22847
|
+
} else {
|
|
22848
|
+
const rightOfTab = tab.offsetLeft - scrollContainer.offsetLeft + tab.offsetWidth;
|
|
22849
|
+
|
|
22850
|
+
if (rightOfTab > scrollContainer.offsetWidth + scrollLeft) {
|
|
22851
|
+
newScrollLeft = rightOfTab - scrollContainer.offsetWidth;
|
|
22852
|
+
|
|
22853
|
+
if (!this.rightOverflowNavButtonHidden) {
|
|
22854
|
+
newScrollLeft += this.OVERFLOW_BUTTON_OFFSET;
|
|
22855
|
+
}
|
|
22856
|
+
}
|
|
22857
|
+
}
|
|
22858
|
+
}
|
|
22859
|
+
|
|
22860
|
+
if (newScrollLeft !== undefined) {
|
|
22861
|
+
this.skipScroll = true;
|
|
22862
|
+
this.leftOverflowNavButtonHidden = newScrollLeft <= 0;
|
|
22863
|
+
this.rightOverflowNavButtonHidden = newScrollLeft + this.$refs.tablist.clientWidth >= this.$refs.tablist.scrollWidth;
|
|
22864
|
+
this.$nextTick(() => {
|
|
22865
|
+
// allow left and right nav hide to propegate before setting scroll
|
|
22866
|
+
scrollContainer.scrollLeft = newScrollLeft;
|
|
22867
|
+
this.skipScroll = false;
|
|
22868
|
+
});
|
|
22869
|
+
}
|
|
22870
|
+
}
|
|
22871
|
+
|
|
22872
|
+
}
|
|
22873
|
+
};
|
|
22874
|
+
|
|
22875
|
+
/* script */
|
|
22876
|
+
const __vue_script__$1 = script$1;
|
|
22877
|
+
/* template */
|
|
22878
|
+
|
|
22879
|
+
/* style */
|
|
22880
|
+
|
|
22881
|
+
const __vue_inject_styles__$8 = undefined;
|
|
22882
|
+
/* scoped */
|
|
22883
|
+
|
|
22884
|
+
const __vue_scope_id__$8 = undefined;
|
|
22885
|
+
/* module identifier */
|
|
22886
|
+
|
|
22887
|
+
const __vue_module_identifier__$8 = undefined;
|
|
22888
|
+
/* functional template */
|
|
22889
|
+
|
|
22890
|
+
const __vue_is_functional_template__$8 = undefined;
|
|
22891
|
+
/* style inject */
|
|
22892
|
+
|
|
22893
|
+
/* style inject SSR */
|
|
22894
|
+
|
|
22895
|
+
/* style inject shadow dom */
|
|
22896
|
+
|
|
22897
|
+
const __vue_component__$g = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$8, __vue_script__$1, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, undefined, undefined, undefined);
|
|
22898
|
+
|
|
22899
|
+
var __vue_component__$h = __vue_component__$g;
|
|
22900
|
+
|
|
22901
|
+
//
|
|
22902
|
+
var script = {
|
|
22903
|
+
name: "NsSlider",
|
|
22904
|
+
mixins: [uidMixin, themeMixin, carbonPrefixMixin, methodsMixin({
|
|
22905
|
+
thumb: ["blur", "focus"]
|
|
22906
|
+
})],
|
|
22907
|
+
props: {
|
|
22908
|
+
disabled: Boolean,
|
|
22909
|
+
label: String,
|
|
22910
|
+
// NOTE: It is not safe to rely on Numbers for non-integer steps
|
|
22911
|
+
min: {
|
|
22912
|
+
type: String,
|
|
22913
|
+
default: "0"
|
|
22914
|
+
},
|
|
22915
|
+
max: {
|
|
22916
|
+
type: String,
|
|
22917
|
+
default: "100"
|
|
22918
|
+
},
|
|
22919
|
+
step: {
|
|
22920
|
+
type: String,
|
|
22921
|
+
default: "1"
|
|
22922
|
+
},
|
|
22923
|
+
stepMultiplier: {
|
|
22924
|
+
type: String,
|
|
22925
|
+
default: "4",
|
|
22926
|
+
|
|
22927
|
+
validator(val) {
|
|
22928
|
+
if (val.length) {
|
|
22929
|
+
let intMultiplier = parseInt(val);
|
|
22930
|
+
|
|
22931
|
+
if (isNaN(intMultiplier) || intMultiplier < 1) {
|
|
22932
|
+
console.warn("ns-slider: multiplier must be >= 1");
|
|
22933
|
+
return false;
|
|
22934
|
+
}
|
|
22935
|
+
}
|
|
22936
|
+
|
|
22937
|
+
return true;
|
|
22938
|
+
}
|
|
22939
|
+
|
|
22940
|
+
},
|
|
22941
|
+
value: String,
|
|
22942
|
+
minLabel: String,
|
|
22943
|
+
maxLabel: String,
|
|
22944
|
+
showUnlimited: {
|
|
22945
|
+
type: Boolean,
|
|
22946
|
+
default: false
|
|
22947
|
+
},
|
|
22948
|
+
isUnlimited: {
|
|
22949
|
+
type: Boolean,
|
|
22950
|
+
default: false
|
|
22951
|
+
},
|
|
22952
|
+
unlimitedLabel: {
|
|
22953
|
+
type: String,
|
|
22954
|
+
default: "Unlimited"
|
|
22955
|
+
},
|
|
22956
|
+
invalidMessage: {
|
|
22957
|
+
type: String,
|
|
22958
|
+
default: ""
|
|
22959
|
+
},
|
|
22960
|
+
unitLabel: {
|
|
22961
|
+
type: String,
|
|
22962
|
+
default: ""
|
|
22963
|
+
}
|
|
22964
|
+
},
|
|
22965
|
+
model: {
|
|
22966
|
+
prop: "value",
|
|
22967
|
+
event: "modelEvent"
|
|
22968
|
+
},
|
|
22969
|
+
|
|
22970
|
+
data() {
|
|
22971
|
+
return {
|
|
22972
|
+
internalValue: "",
|
|
22973
|
+
animateClick: false,
|
|
22974
|
+
isDragging: false,
|
|
22975
|
+
dragStartX: 0,
|
|
22976
|
+
dragStartValue: 0,
|
|
22977
|
+
percentage: "0%",
|
|
22978
|
+
internalUnlimited: false,
|
|
22979
|
+
isInvalid: false
|
|
22980
|
+
};
|
|
22981
|
+
},
|
|
22982
|
+
|
|
22983
|
+
computed: {
|
|
22984
|
+
labelId() {
|
|
22985
|
+
return `${this.uid}-label`;
|
|
22986
|
+
},
|
|
22987
|
+
|
|
22988
|
+
internalMinLabel() {
|
|
22989
|
+
return this.minLabel !== undefined ? this.minLabel : this.getMin();
|
|
22990
|
+
},
|
|
22991
|
+
|
|
22992
|
+
internalMaxLabel() {
|
|
22993
|
+
return this.maxLabel !== undefined ? this.maxLabel : this.getMax();
|
|
22994
|
+
},
|
|
22995
|
+
|
|
22996
|
+
internalMultiplier() {
|
|
22997
|
+
let intMultiplier = parseInt(this.stepMultiplier); // default to 4 fro multiplier
|
|
22998
|
+
|
|
22999
|
+
return isNaN(intMultiplier) ? 4 : Math.max(intMultiplier, 1);
|
|
23000
|
+
}
|
|
23001
|
+
|
|
23002
|
+
},
|
|
23003
|
+
|
|
23004
|
+
created() {
|
|
23005
|
+
this.internalUnlimited = this.isUnlimited;
|
|
23006
|
+
},
|
|
23007
|
+
|
|
23008
|
+
mounted() {
|
|
23009
|
+
this.$refs.range.value = this.value;
|
|
23010
|
+
this.internalValue = this.$refs.range.value;
|
|
23011
|
+
this.percentage = `${(this.internalValue - this.getMin()) * 100 / (this.getMax() - this.getMin())}%`;
|
|
23012
|
+
this.checkSlots();
|
|
23013
|
+
},
|
|
23014
|
+
|
|
23015
|
+
updated() {
|
|
23016
|
+
this.checkSlots();
|
|
23017
|
+
},
|
|
23018
|
+
|
|
23019
|
+
watch: {
|
|
23020
|
+
value(val) {
|
|
23021
|
+
this.setValue(val);
|
|
23022
|
+
},
|
|
23023
|
+
|
|
23024
|
+
min() {
|
|
23025
|
+
this.$nextTick(() => {
|
|
23026
|
+
this.setValue(this.internalValue);
|
|
23027
|
+
});
|
|
23028
|
+
},
|
|
23029
|
+
|
|
23030
|
+
max() {
|
|
23031
|
+
this.$nextTick(() => {
|
|
23032
|
+
this.setValue(this.internalValue);
|
|
23033
|
+
});
|
|
23034
|
+
},
|
|
23035
|
+
|
|
23036
|
+
step() {
|
|
23037
|
+
this.$nextTick(() => {
|
|
23038
|
+
this.setValue(this.internalValue);
|
|
23039
|
+
});
|
|
23040
|
+
},
|
|
23041
|
+
|
|
23042
|
+
isUnlimited() {
|
|
23043
|
+
this.internalUnlimited = this.isUnlimited;
|
|
23044
|
+
},
|
|
23045
|
+
|
|
23046
|
+
internalUnlimited() {
|
|
23047
|
+
if (this.internalUnlimited) {
|
|
23048
|
+
this.$emit("unlimited", true);
|
|
23049
|
+
} else {
|
|
23050
|
+
this.$emit("unlimited", false);
|
|
23051
|
+
}
|
|
23052
|
+
}
|
|
23053
|
+
|
|
23054
|
+
},
|
|
23055
|
+
methods: {
|
|
23056
|
+
// NOTE: It is not safe to rely on Numbers for non-integer steps
|
|
23057
|
+
getMin() {
|
|
23058
|
+
if (this.$refs.range) {
|
|
23059
|
+
const val = parseFloat(this.$refs.range.min);
|
|
23060
|
+
return isNaN(val) ? 0 : val;
|
|
23061
|
+
}
|
|
23062
|
+
|
|
23063
|
+
return 0;
|
|
23064
|
+
},
|
|
23065
|
+
|
|
23066
|
+
getMax() {
|
|
23067
|
+
if (this.$refs.range) {
|
|
23068
|
+
const val = parseFloat(this.$refs.range.max);
|
|
23069
|
+
return isNaN(val) ? 100 : val;
|
|
23070
|
+
}
|
|
23071
|
+
|
|
23072
|
+
return 100;
|
|
23073
|
+
},
|
|
23074
|
+
|
|
23075
|
+
getValue() {
|
|
23076
|
+
if (this.$refs.range) {
|
|
23077
|
+
const val = parseFloat(this.$refs.range.value);
|
|
23078
|
+
return isNaN(val) ? 0 : val;
|
|
23079
|
+
}
|
|
23080
|
+
|
|
23081
|
+
return (this.getMax() + this.getMin()) / 2;
|
|
23082
|
+
},
|
|
23083
|
+
|
|
23084
|
+
getStep() {
|
|
23085
|
+
if (this.$refs.range) {
|
|
23086
|
+
const val = parseFloat(this.$refs.range.step);
|
|
23087
|
+
return isNaN(val) ? 0 : val;
|
|
23088
|
+
}
|
|
23089
|
+
|
|
23090
|
+
return 1;
|
|
23091
|
+
},
|
|
23092
|
+
|
|
23093
|
+
setValue(newValue) {
|
|
23094
|
+
if (this.disabled) return;
|
|
23095
|
+
this.$refs.range.value = newValue;
|
|
23096
|
+
this.internalValue = this.$refs.range.value;
|
|
23097
|
+
this.percentage = `${(this.internalValue - this.getMin()) * 100 / (this.getMax() - this.getMin())}%`;
|
|
23098
|
+
this.$emit("modelEvent", this.$refs.range.value);
|
|
23099
|
+
this.$emit("change", this.$refs.range.value);
|
|
23100
|
+
},
|
|
23101
|
+
|
|
23102
|
+
onChange() {
|
|
23103
|
+
let newValue = this.internalValue.length ? parseFloat(this.internalValue) : this.getMin();
|
|
23104
|
+
this.setValue(newValue);
|
|
23105
|
+
},
|
|
23106
|
+
|
|
23107
|
+
onStartDrag(ev) {
|
|
23108
|
+
document.body.addEventListener("mousemove", this.onDrag);
|
|
23109
|
+
document.body.addEventListener("mouseup", this.onStopDrag);
|
|
23110
|
+
this.dragStartX = ev.clientX;
|
|
23111
|
+
this.dragStartValue = this.getValue();
|
|
23112
|
+
this.isDragging = true;
|
|
23113
|
+
},
|
|
23114
|
+
|
|
23115
|
+
onDrag(ev) {
|
|
23116
|
+
if (this.isDragging) {
|
|
23117
|
+
// percentage change
|
|
23118
|
+
let newValue = (ev.clientX - this.dragStartX) / this.$refs.track.offsetWidth; // uncapped new value
|
|
23119
|
+
|
|
23120
|
+
newValue = this.dragStartValue + (this.getMax() - this.getMin()) * newValue;
|
|
23121
|
+
this.setValue(newValue, ev);
|
|
23122
|
+
}
|
|
23123
|
+
},
|
|
23124
|
+
|
|
23125
|
+
onStopDrag() {
|
|
23126
|
+
this.isDragging = false;
|
|
23127
|
+
document.body.removeEventListener("mousemove", this.onDrag);
|
|
23128
|
+
document.body.removeEventListener("mouseup", this.onStopDrag);
|
|
23129
|
+
},
|
|
23130
|
+
|
|
23131
|
+
onTrackClick(ev) {
|
|
23132
|
+
const afterAnimate = ev => {
|
|
23133
|
+
if (ev.propertyName === "left") {
|
|
23134
|
+
this.animateClick = false;
|
|
23135
|
+
this.$refs.thumb.removeEventListener("transitionend", afterAnimate);
|
|
23136
|
+
}
|
|
23137
|
+
};
|
|
23138
|
+
|
|
23139
|
+
let newValue = ev.offsetX / this.$refs.track.offsetWidth;
|
|
23140
|
+
newValue = (this.getMax() - this.getMin()) * newValue + this.getMin();
|
|
23141
|
+
this.$refs.thumb.addEventListener("transitionend", afterAnimate);
|
|
23142
|
+
this.animateClick = true;
|
|
23143
|
+
this.setValue(newValue, ev);
|
|
23144
|
+
},
|
|
23145
|
+
|
|
23146
|
+
onUp(ev) {
|
|
23147
|
+
let curValue = ev.target.type === "number" ? parseFloat(ev.target.value) : this.getValue();
|
|
23148
|
+
let newValue = curValue + (ev.shiftKey ? this.internalMultiplier * this.getStep() : this.getStep());
|
|
23149
|
+
this.setValue(newValue, ev);
|
|
23150
|
+
},
|
|
23151
|
+
|
|
23152
|
+
onDown(ev) {
|
|
23153
|
+
let curValue = ev.target.type === "number" ? parseFloat(ev.target.value) : this.getValue();
|
|
23154
|
+
let newValue = curValue - (ev.shiftKey ? this.internalMultiplier * this.getStep() : this.getStep());
|
|
23155
|
+
this.setValue(newValue, ev);
|
|
23156
|
+
},
|
|
23157
|
+
|
|
23158
|
+
checkSlots() {
|
|
23159
|
+
// NOTE: this.$slots is not reactive so needs to be managed on updated
|
|
23160
|
+
this.isInvalid = !!(this.$slots["invalid-message"] || this.invalidMessage && this.invalidMessage.length);
|
|
23161
|
+
}
|
|
23162
|
+
|
|
23163
|
+
}
|
|
23164
|
+
};
|
|
23165
|
+
|
|
23166
|
+
/* script */
|
|
23167
|
+
const __vue_script__ = script;
|
|
23168
|
+
/* template */
|
|
23169
|
+
|
|
23170
|
+
var __vue_render__$7 = function () {
|
|
23171
|
+
var _obj, _obj$1, _obj$2, _obj$3, _obj$4;
|
|
23172
|
+
|
|
23173
|
+
var _vm = this;
|
|
23174
|
+
|
|
23175
|
+
var _h = _vm.$createElement;
|
|
23176
|
+
|
|
23177
|
+
var _c = _vm._self._c || _h;
|
|
23178
|
+
|
|
23179
|
+
return _c('div', {
|
|
23180
|
+
class: "ns-slider cv-slider " + _vm.carbonPrefix + "--form-item"
|
|
23181
|
+
}, [_c('div', {
|
|
23182
|
+
staticClass: "wrapper",
|
|
23183
|
+
attrs: {
|
|
23184
|
+
"data-invalid": _vm.isInvalid
|
|
23185
|
+
}
|
|
23186
|
+
}, [_c('label', {
|
|
23187
|
+
directives: [{
|
|
23188
|
+
name: "show",
|
|
23189
|
+
rawName: "v-show",
|
|
23190
|
+
value: _vm.label,
|
|
23191
|
+
expression: "label"
|
|
23192
|
+
}],
|
|
23193
|
+
class: [_vm.carbonPrefix + "--label", (_obj = {}, _obj[_vm.carbonPrefix + "--label--disabled"] = _vm.disabled, _obj)],
|
|
23194
|
+
attrs: {
|
|
23195
|
+
"for": _vm.uid,
|
|
23196
|
+
"id": _vm.labelId
|
|
23197
|
+
}
|
|
23198
|
+
}, [_vm._v("\n " + _vm._s(_vm.label) + "\n ")]), _vm._v(" "), _vm.showUnlimited ? _c('NsCheckbox', {
|
|
23199
|
+
staticClass: "is-unlimited",
|
|
23200
|
+
attrs: {
|
|
23201
|
+
"label": _vm.unlimitedLabel,
|
|
23202
|
+
"disabled": _vm.disabled,
|
|
23203
|
+
"value": "checkUnlimited"
|
|
23204
|
+
},
|
|
23205
|
+
model: {
|
|
23206
|
+
value: _vm.internalUnlimited,
|
|
23207
|
+
callback: function ($$v) {
|
|
23208
|
+
_vm.internalUnlimited = $$v;
|
|
23209
|
+
},
|
|
23210
|
+
expression: "internalUnlimited"
|
|
23211
|
+
}
|
|
23212
|
+
}) : _vm._e(), _vm._v(" "), _c('div', {
|
|
23213
|
+
class: _vm.carbonPrefix + "--slider-container"
|
|
23214
|
+
}, [_vm.internalMinLabel ? _c('span', {
|
|
23215
|
+
class: _vm.carbonPrefix + "--slider__range-label"
|
|
23216
|
+
}, [_vm._v(_vm._s(_vm.internalMinLabel))]) : _vm._e(), _vm._v(" "), _c('div', {
|
|
23217
|
+
class: [_vm.carbonPrefix + "--slider", (_obj$1 = {}, _obj$1[_vm.carbonPrefix + "--slider--disabled"] = _vm.disabled || _vm.internalUnlimited, _obj$1)],
|
|
23218
|
+
attrs: {
|
|
23219
|
+
"data-slider": "",
|
|
23220
|
+
"data-slider-input-box": "#slider-input-box"
|
|
23221
|
+
}
|
|
23222
|
+
}, [_c('div', {
|
|
23223
|
+
ref: "track",
|
|
23224
|
+
class: _vm.carbonPrefix + "--slider__track",
|
|
23225
|
+
on: {
|
|
23226
|
+
"click": _vm.onTrackClick
|
|
23227
|
+
}
|
|
23228
|
+
}), _vm._v(" "), _c('div', {
|
|
23229
|
+
class: _vm.carbonPrefix + "--slider__filled-track",
|
|
23230
|
+
style: "width: " + _vm.percentage + ";"
|
|
23231
|
+
}), _vm._v(" "), _c('div', {
|
|
23232
|
+
ref: "thumb",
|
|
23233
|
+
class: [_vm.carbonPrefix + "--slider__thumb", (_obj$2 = {}, _obj$2[_vm.carbonPrefix + "--slider__thumb--clicked"] = _vm.animateClick, _obj$2)],
|
|
23234
|
+
style: "left: " + _vm.percentage + ";",
|
|
23235
|
+
attrs: {
|
|
23236
|
+
"tabindex": "0",
|
|
23237
|
+
"aria-labelledby": _vm.labelId
|
|
23238
|
+
},
|
|
23239
|
+
on: {
|
|
23240
|
+
"keydown": [function ($event) {
|
|
23241
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "up", 38, $event.key, ["Up", "ArrowUp"]) && _vm._k($event.keyCode, "right", 39, $event.key, ["Right", "ArrowRight"])) {
|
|
23242
|
+
return null;
|
|
23243
|
+
}
|
|
23244
|
+
|
|
23245
|
+
if ('button' in $event && $event.button !== 2) {
|
|
23246
|
+
return null;
|
|
23247
|
+
}
|
|
23248
|
+
|
|
23249
|
+
$event.preventDefault();
|
|
23250
|
+
return _vm.onUp.apply(null, arguments);
|
|
23251
|
+
}, function ($event) {
|
|
23252
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "down", 40, $event.key, ["Down", "ArrowDown"]) && _vm._k($event.keyCode, "left", 37, $event.key, ["Left", "ArrowLeft"])) {
|
|
23253
|
+
return null;
|
|
23254
|
+
}
|
|
23255
|
+
|
|
23256
|
+
if ('button' in $event && $event.button !== 0) {
|
|
23257
|
+
return null;
|
|
23258
|
+
}
|
|
23259
|
+
|
|
23260
|
+
$event.preventDefault();
|
|
23261
|
+
return _vm.onDown.apply(null, arguments);
|
|
23262
|
+
}],
|
|
23263
|
+
"mousedown": _vm.onStartDrag
|
|
23264
|
+
}
|
|
23265
|
+
}), _vm._v(" "), _c('input', {
|
|
23266
|
+
ref: "range",
|
|
23267
|
+
class: _vm.carbonPrefix + "--slider__input",
|
|
23268
|
+
attrs: {
|
|
23269
|
+
"id": _vm.uid,
|
|
23270
|
+
"type": "range",
|
|
23271
|
+
"step": _vm.step,
|
|
23272
|
+
"min": _vm.min,
|
|
23273
|
+
"max": _vm.max
|
|
23274
|
+
}
|
|
23275
|
+
})]), _vm._v(" "), _vm.internalMaxLabel ? _c('span', {
|
|
23276
|
+
class: _vm.carbonPrefix + "--slider__range-label"
|
|
23277
|
+
}, [_vm._v(_vm._s(_vm.internalMaxLabel))]) : _vm._e(), _vm._v(" "), _c('input', {
|
|
23278
|
+
directives: [{
|
|
23279
|
+
name: "model",
|
|
23280
|
+
rawName: "v-model",
|
|
23281
|
+
value: _vm.internalValue,
|
|
23282
|
+
expression: "internalValue"
|
|
23283
|
+
}],
|
|
23284
|
+
ref: "inputBox",
|
|
23285
|
+
class: [_vm.carbonPrefix + "--text-input " + _vm.carbonPrefix + "--slider-text-input", (_obj$3 = {}, _obj$3[_vm.carbonPrefix + "--text-input--light"] = _vm.isLight, _obj$3[_vm.carbonPrefix + "--text-input--invalid"] = _vm.isInvalid, _obj$3[_vm.carbonPrefix + "--text-input--warning"] = _vm.isWarn, _obj$3),, 'range-input'],
|
|
23286
|
+
attrs: {
|
|
23287
|
+
"type": "number",
|
|
23288
|
+
"placeholder": _vm.min,
|
|
23289
|
+
"disabled": _vm.disabled || _vm.internalUnlimited
|
|
23290
|
+
},
|
|
23291
|
+
domProps: {
|
|
23292
|
+
"value": _vm.internalValue
|
|
23293
|
+
},
|
|
23294
|
+
on: {
|
|
23295
|
+
"change": _vm.onChange,
|
|
23296
|
+
"keydown": [function ($event) {
|
|
23297
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "up", 38, $event.key, ["Up", "ArrowUp"])) {
|
|
23298
|
+
return null;
|
|
23299
|
+
}
|
|
23300
|
+
|
|
23301
|
+
$event.preventDefault();
|
|
23302
|
+
return _vm.onUp.apply(null, arguments);
|
|
23303
|
+
}, function ($event) {
|
|
23304
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "down", 40, $event.key, ["Down", "ArrowDown"])) {
|
|
23305
|
+
return null;
|
|
23306
|
+
}
|
|
23307
|
+
|
|
23308
|
+
$event.preventDefault();
|
|
23309
|
+
return _vm.onDown.apply(null, arguments);
|
|
23310
|
+
}],
|
|
23311
|
+
"input": function ($event) {
|
|
23312
|
+
if ($event.target.composing) {
|
|
23313
|
+
return;
|
|
23314
|
+
}
|
|
23315
|
+
|
|
23316
|
+
_vm.internalValue = $event.target.value;
|
|
23317
|
+
}
|
|
23318
|
+
}
|
|
23319
|
+
}), _vm._v(" "), _c('span', {
|
|
23320
|
+
class: ["unit-label", (_obj$4 = {}, _obj$4[_vm.carbonPrefix + "--label--disabled"] = _vm.disabled || _vm.internalUnlimited, _obj$4)]
|
|
23321
|
+
}, [_vm._v(_vm._s(_vm.unitLabel))])])], 1), _vm._v(" "), _vm.isInvalid ? _c('div', {
|
|
23322
|
+
class: _vm.carbonPrefix + "--form-requirement"
|
|
23323
|
+
}, [_vm._t("invalid-message", function () {
|
|
23324
|
+
return [_vm._v(_vm._s(_vm.invalidMessage))];
|
|
23325
|
+
})], 2) : _vm._e()]);
|
|
23326
|
+
};
|
|
23327
|
+
|
|
23328
|
+
var __vue_staticRenderFns__$7 = [];
|
|
23329
|
+
/* style */
|
|
23330
|
+
|
|
23331
|
+
const __vue_inject_styles__$7 = function (inject) {
|
|
23332
|
+
if (!inject) return;
|
|
23333
|
+
inject("data-v-89974358_0", {
|
|
23334
|
+
source: ".is-unlimited[data-v-89974358]{margin-top:.5rem!important;margin-bottom:.5rem!important}.range-input[data-v-89974358]{margin-top:.5rem!important}.unit-label[data-v-89974358]{margin-top:.5rem!important;margin-left:1rem}",
|
|
23335
|
+
map: undefined,
|
|
23336
|
+
media: undefined
|
|
23337
|
+
}), inject("data-v-89974358_1", {
|
|
23338
|
+
source: ".ns-slider .bx--slider-container{flex-wrap:wrap}.ns-slider .bx--slider-text-input{width:5rem}.ns-slider .wrapper[data-invalid]~.bx--form-requirement{display:block;overflow:visible;max-height:12.5rem;font-weight:400;color:#da1e28}",
|
|
23339
|
+
map: undefined,
|
|
23340
|
+
media: undefined
|
|
23341
|
+
});
|
|
23342
|
+
};
|
|
23343
|
+
/* scoped */
|
|
23344
|
+
|
|
23345
|
+
|
|
23346
|
+
const __vue_scope_id__$7 = "data-v-89974358";
|
|
23347
|
+
/* module identifier */
|
|
23348
|
+
|
|
23349
|
+
const __vue_module_identifier__$7 = undefined;
|
|
23350
|
+
/* functional template */
|
|
23351
|
+
|
|
23352
|
+
const __vue_is_functional_template__$7 = false;
|
|
23353
|
+
/* style inject SSR */
|
|
23354
|
+
|
|
23355
|
+
/* style inject shadow dom */
|
|
23356
|
+
|
|
23357
|
+
const __vue_component__$e = /*#__PURE__*/normalizeComponent({
|
|
23358
|
+
render: __vue_render__$7,
|
|
23359
|
+
staticRenderFns: __vue_staticRenderFns__$7
|
|
23360
|
+
}, __vue_inject_styles__$7, __vue_script__, __vue_scope_id__$7, __vue_is_functional_template__$7, __vue_module_identifier__$7, false, createInjector, undefined, undefined);
|
|
23361
|
+
|
|
23362
|
+
var __vue_component__$f = __vue_component__$e;
|
|
23363
|
+
|
|
23364
|
+
/* script */
|
|
23365
|
+
|
|
23366
|
+
/* template */
|
|
23367
|
+
var __vue_render__$6 = function () {
|
|
23368
|
+
var _vm = this;
|
|
23369
|
+
|
|
23370
|
+
var _h = _vm.$createElement;
|
|
23371
|
+
|
|
23372
|
+
var _c = _vm._self._c || _h;
|
|
23373
|
+
|
|
23374
|
+
return _c('path', {
|
|
23375
|
+
attrs: {
|
|
23376
|
+
"id": "gear_2_",
|
|
23377
|
+
"d": "M18.958,31.36h-5.915c-0.199,0-0.36-0.161-0.36-0.36v-3.633l-2.368-0.99l-2.576,2.575\n\tc-0.141,0.141-0.368,0.141-0.509,0L3.048,24.77c-0.141-0.141-0.141-0.369,0-0.51l2.568-2.568l-0.974-2.375H1\n\tc-0.199,0-0.36-0.161-0.36-0.36v-5.915c0-0.199,0.161-0.36,0.36-0.36h3.632l0.991-2.368L3.048,7.739\n\tc-0.141-0.141-0.141-0.368,0-0.509L7.23,3.048C7.298,2.98,7.389,2.942,7.485,2.942l0,0c0.096,0,0.187,0.038,0.254,0.105l2.568,2.569\n\tl2.375-0.975V1c0-0.199,0.161-0.36,0.36-0.36h5.915c0.199,0,0.36,0.161,0.36,0.36v3.632l2.367,0.991l2.575-2.575\n\tc0.141-0.141,0.369-0.141,0.51,0l4.183,4.182c0.067,0.067,0.105,0.159,0.105,0.254s-0.038,0.187-0.105,0.254l-2.569,2.568\n\tl0.975,2.375H31c0.199,0,0.36,0.161,0.36,0.36v5.915c0,0.199-0.161,0.36-0.36,0.36h-3.633l-0.99,2.368l2.576,2.575\n\tc0.067,0.067,0.105,0.159,0.105,0.255s-0.038,0.188-0.105,0.255l-4.183,4.182c-0.141,0.141-0.369,0.141-0.51,0l-2.568-2.568\n\tl-2.374,0.974V31C19.318,31.199,19.157,31.36,18.958,31.36z M13.403,30.64h5.195v-3.523c0-0.146,0.089-0.277,0.224-0.333\n\tl2.819-1.156c0.134-0.057,0.288-0.024,0.392,0.078l2.483,2.483l3.674-3.673l-2.492-2.491c-0.103-0.104-0.134-0.259-0.077-0.394\n\tl1.176-2.812c0.056-0.134,0.187-0.222,0.332-0.222h3.512v-5.194h-3.522c-0.146,0-0.277-0.088-0.333-0.223l-1.157-2.82\n\tc-0.055-0.134-0.024-0.289,0.078-0.391l2.484-2.483l-3.674-3.673l-2.491,2.491c-0.104,0.103-0.26,0.134-0.394,0.078L18.82,5.206\n\tc-0.134-0.056-0.222-0.187-0.222-0.332V1.36h-5.195v3.523c0,0.146-0.088,0.278-0.223,0.333l-2.82,1.157\n\tc-0.135,0.055-0.289,0.024-0.391-0.079L7.485,3.812L3.812,7.484l2.491,2.492c0.104,0.103,0.134,0.259,0.078,0.394l-1.177,2.812\n\tc-0.056,0.134-0.187,0.221-0.332,0.221H1.36v5.194h3.524c0.146,0,0.278,0.089,0.333,0.224l1.157,2.82\n\tc0.055,0.135,0.024,0.289-0.079,0.392l-2.483,2.483l3.673,3.673l2.492-2.491c0.103-0.104,0.26-0.133,0.393-0.077l2.812,1.176\n\tc0.134,0.056,0.221,0.187,0.221,0.332V30.64z M16,23.36c-4.058,0-7.36-3.302-7.36-7.36S11.942,8.64,16,8.64\n\tc4.059,0,7.36,3.302,7.36,7.36C23.36,20.059,20.059,23.36,16,23.36z M16,9.36c-3.661,0-6.64,2.979-6.64,6.64s2.979,6.64,6.64,6.64\n\ts6.64-2.979,6.64-6.64S19.661,9.36,16,9.36z"
|
|
23378
|
+
}
|
|
23379
|
+
});
|
|
23380
|
+
};
|
|
23381
|
+
|
|
23382
|
+
var __vue_staticRenderFns__$6 = [];
|
|
23383
|
+
/* style */
|
|
23384
|
+
|
|
23385
|
+
const __vue_inject_styles__$6 = undefined;
|
|
23386
|
+
/* scoped */
|
|
23387
|
+
|
|
23388
|
+
const __vue_scope_id__$6 = undefined;
|
|
23389
|
+
/* module identifier */
|
|
23390
|
+
|
|
23391
|
+
const __vue_module_identifier__$6 = undefined;
|
|
23392
|
+
/* functional template */
|
|
23393
|
+
|
|
23394
|
+
const __vue_is_functional_template__$6 = false;
|
|
23395
|
+
/* style inject */
|
|
23396
|
+
|
|
23397
|
+
/* style inject SSR */
|
|
23398
|
+
|
|
23399
|
+
/* style inject shadow dom */
|
|
23400
|
+
|
|
23401
|
+
const __vue_component__$c = /*#__PURE__*/normalizeComponent({
|
|
23402
|
+
render: __vue_render__$6,
|
|
23403
|
+
staticRenderFns: __vue_staticRenderFns__$6
|
|
23404
|
+
}, __vue_inject_styles__$6, {}, __vue_scope_id__$6, __vue_is_functional_template__$6, __vue_module_identifier__$6, false, undefined, undefined, undefined);
|
|
23405
|
+
|
|
23406
|
+
var __vue_component__$d = __vue_component__$c;
|
|
22271
23407
|
|
|
22272
23408
|
/* script */
|
|
22273
23409
|
|
|
@@ -22904,7 +24040,7 @@ var pageTitle = {
|
|
|
22904
24040
|
|
|
22905
24041
|
var filters = {
|
|
22906
24042
|
byteFormat: function (size) {
|
|
22907
|
-
|
|
24043
|
+
let result;
|
|
22908
24044
|
|
|
22909
24045
|
switch (true) {
|
|
22910
24046
|
case size === null || size === "" || isNaN(size):
|
|
@@ -22916,25 +24052,25 @@ var filters = {
|
|
|
22916
24052
|
break;
|
|
22917
24053
|
|
|
22918
24054
|
case size >= 1024 && size < Math.pow(1024, 2):
|
|
22919
|
-
result = Math.round(size / 1024 * 100) / 100 + "
|
|
24055
|
+
result = Math.round(size / 1024 * 100) / 100 + " KiB";
|
|
22920
24056
|
break;
|
|
22921
24057
|
|
|
22922
24058
|
case size >= Math.pow(1024, 2) && size < Math.pow(1024, 3):
|
|
22923
|
-
result = Math.round(size / Math.pow(1024, 2) * 100) / 100 + "
|
|
24059
|
+
result = Math.round(size / Math.pow(1024, 2) * 100) / 100 + " MiB";
|
|
22924
24060
|
break;
|
|
22925
24061
|
|
|
22926
24062
|
case size >= Math.pow(1024, 3) && size < Math.pow(1024, 4):
|
|
22927
|
-
result = Math.round(size / Math.pow(1024, 3) * 100) / 100 + "
|
|
24063
|
+
result = Math.round(size / Math.pow(1024, 3) * 100) / 100 + " GiB";
|
|
22928
24064
|
break;
|
|
22929
24065
|
|
|
22930
24066
|
default:
|
|
22931
|
-
result = Math.round(size / Math.pow(1024, 4) * 100) / 100 + "
|
|
24067
|
+
result = Math.round(size / Math.pow(1024, 4) * 100) / 100 + " TiB";
|
|
22932
24068
|
}
|
|
22933
24069
|
|
|
22934
24070
|
return result;
|
|
22935
24071
|
},
|
|
22936
24072
|
humanFormat: function (number, decimals = false) {
|
|
22937
|
-
|
|
24073
|
+
let result;
|
|
22938
24074
|
|
|
22939
24075
|
switch (true) {
|
|
22940
24076
|
case number === null || number === "" || isNaN(number):
|
|
@@ -22983,6 +24119,49 @@ var filters = {
|
|
|
22983
24119
|
|
|
22984
24120
|
return result;
|
|
22985
24121
|
},
|
|
24122
|
+
|
|
24123
|
+
mibFormat(size) {
|
|
24124
|
+
let result;
|
|
24125
|
+
|
|
24126
|
+
switch (true) {
|
|
24127
|
+
case size === null || size === "" || isNaN(size):
|
|
24128
|
+
result = "-";
|
|
24129
|
+
break;
|
|
24130
|
+
|
|
24131
|
+
case size >= 0 && size < 1024:
|
|
24132
|
+
result = size + " MiB";
|
|
24133
|
+
break;
|
|
24134
|
+
|
|
24135
|
+
case size >= 1024 && size < Math.pow(1024, 2):
|
|
24136
|
+
result = Math.round(size / 1024 * 100) / 100 + " GiB";
|
|
24137
|
+
break;
|
|
24138
|
+
|
|
24139
|
+
default:
|
|
24140
|
+
result = Math.round(size / Math.pow(1024, 2) * 100) / 100 + " TiB";
|
|
24141
|
+
}
|
|
24142
|
+
|
|
24143
|
+
return result;
|
|
24144
|
+
},
|
|
24145
|
+
|
|
24146
|
+
gibFormat(size) {
|
|
24147
|
+
let result;
|
|
24148
|
+
|
|
24149
|
+
switch (true) {
|
|
24150
|
+
case size === null || size === "" || isNaN(size):
|
|
24151
|
+
result = "-";
|
|
24152
|
+
break;
|
|
24153
|
+
|
|
24154
|
+
case size >= 0 && size < 1024:
|
|
24155
|
+
result = size + " GiB";
|
|
24156
|
+
break;
|
|
24157
|
+
|
|
24158
|
+
default:
|
|
24159
|
+
result = Math.round(size / 1024 * 100) / 100 + " TiB";
|
|
24160
|
+
}
|
|
24161
|
+
|
|
24162
|
+
return result;
|
|
24163
|
+
},
|
|
24164
|
+
|
|
22986
24165
|
secondsFormat: function (value) {
|
|
22987
24166
|
if (value < 0) {
|
|
22988
24167
|
return "-";
|
|
@@ -23031,39 +24210,42 @@ var filters = {
|
|
|
23031
24210
|
var components = /*#__PURE__*/Object.freeze({
|
|
23032
24211
|
__proto__: null,
|
|
23033
24212
|
NsButton: NsButton,
|
|
23034
|
-
NsEmptyState: __vue_component__$
|
|
24213
|
+
NsEmptyState: __vue_component__$1a,
|
|
23035
24214
|
NsPictogram: NsPictogram,
|
|
23036
|
-
NsCodeSnippet: __vue_component__$
|
|
24215
|
+
NsCodeSnippet: __vue_component__$18,
|
|
23037
24216
|
NsInlineNotification: NsInlineNotification,
|
|
23038
24217
|
NsProgressBar: NsProgressBar,
|
|
23039
24218
|
NsSvg: NsSvg,
|
|
23040
|
-
NsTile: __vue_component__$
|
|
23041
|
-
NsToastNotification: __vue_component__$
|
|
23042
|
-
NsInfoCard: __vue_component__$
|
|
23043
|
-
NsStatusCard: __vue_component__$
|
|
23044
|
-
NsSystemdServiceCard: __vue_component__$
|
|
23045
|
-
NsPasswordInput: __vue_component__$
|
|
23046
|
-
NsIconMenu: __vue_component__$
|
|
23047
|
-
NsMeterChart: __vue_component__$
|
|
24219
|
+
NsTile: __vue_component__$12,
|
|
24220
|
+
NsToastNotification: __vue_component__$10,
|
|
24221
|
+
NsInfoCard: __vue_component__$_,
|
|
24222
|
+
NsStatusCard: __vue_component__$Y,
|
|
24223
|
+
NsSystemdServiceCard: __vue_component__$W,
|
|
24224
|
+
NsPasswordInput: __vue_component__$T,
|
|
24225
|
+
NsIconMenu: __vue_component__$R,
|
|
24226
|
+
NsMeterChart: __vue_component__$P,
|
|
23048
24227
|
NsLottieAnimation: NsLottieAnimation,
|
|
23049
|
-
NsDangerDeleteModal: __vue_component__$
|
|
24228
|
+
NsDangerDeleteModal: __vue_component__$M,
|
|
23050
24229
|
NsCircleTimer: NsCircleTimer,
|
|
23051
|
-
NsDropdownAction: __vue_component__$
|
|
24230
|
+
NsDropdownAction: __vue_component__$K,
|
|
23052
24231
|
NsTextInput: NsTextInput,
|
|
23053
|
-
NsBackupCard: __vue_component__$
|
|
23054
|
-
NsWizard: __vue_component__$
|
|
23055
|
-
NsMenuItem: __vue_component__$
|
|
23056
|
-
NsMenuDivider: __vue_component__$
|
|
23057
|
-
NsSystemLogsCard: __vue_component__$
|
|
24232
|
+
NsBackupCard: __vue_component__$H,
|
|
24233
|
+
NsWizard: __vue_component__$F,
|
|
24234
|
+
NsMenuItem: __vue_component__$D,
|
|
24235
|
+
NsMenuDivider: __vue_component__$B,
|
|
24236
|
+
NsSystemLogsCard: __vue_component__$z,
|
|
23058
24237
|
NsModal: NsModal,
|
|
23059
|
-
NsTimePicker: __vue_component__$
|
|
23060
|
-
NsDataTable: __vue_component__$
|
|
24238
|
+
NsTimePicker: __vue_component__$x,
|
|
24239
|
+
NsDataTable: __vue_component__$u,
|
|
23061
24240
|
NsPagination: NsPagination,
|
|
23062
|
-
NsToggle: __vue_component__$
|
|
24241
|
+
NsToggle: __vue_component__$s,
|
|
23063
24242
|
NsTag: NsTag,
|
|
23064
|
-
NsMultiSelect: __vue_component__$
|
|
23065
|
-
NsComboBox: __vue_component__$
|
|
23066
|
-
NsCheckbox: __vue_component__$
|
|
24243
|
+
NsMultiSelect: __vue_component__$p,
|
|
24244
|
+
NsComboBox: __vue_component__$n,
|
|
24245
|
+
NsCheckbox: __vue_component__$l,
|
|
24246
|
+
NsByteSlider: __vue_component__$j,
|
|
24247
|
+
NsTabs: __vue_component__$h,
|
|
24248
|
+
NsSlider: __vue_component__$f,
|
|
23067
24249
|
ExclamationMarkPictogram: ExclamationMarkPictogram,
|
|
23068
24250
|
GearPictogram: __vue_component__$d,
|
|
23069
24251
|
LovePictogram: __vue_component__$b,
|
|
@@ -23091,4 +24273,4 @@ const install = function installNs8UiLib(Vue) {
|
|
|
23091
24273
|
});
|
|
23092
24274
|
}; // Create module definition for Vue.use()
|
|
23093
24275
|
|
|
23094
|
-
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__$
|
|
24276
|
+
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__$H as NsBackupCard, NsButton, __vue_component__$j as NsByteSlider, __vue_component__$l as NsCheckbox, NsCircleTimer, __vue_component__$18 as NsCodeSnippet, __vue_component__$n as NsComboBox, __vue_component__$M as NsDangerDeleteModal, __vue_component__$u as NsDataTable, __vue_component__$K as NsDropdownAction, __vue_component__$1a as NsEmptyState, __vue_component__$R as NsIconMenu, __vue_component__$_ as NsInfoCard, NsInlineNotification, NsLottieAnimation, __vue_component__$B as NsMenuDivider, __vue_component__$D as NsMenuItem, __vue_component__$P as NsMeterChart, NsModal, __vue_component__$p as NsMultiSelect, NsPagination, __vue_component__$T as NsPasswordInput, NsPictogram, NsProgressBar, __vue_component__$f as NsSlider, __vue_component__$Y as NsStatusCard, NsSvg, __vue_component__$z as NsSystemLogsCard, __vue_component__$W as NsSystemdServiceCard, __vue_component__$h as NsTabs, NsTag, NsTextInput, __vue_component__$12 as NsTile, __vue_component__$x as NsTimePicker, __vue_component__$10 as NsToastNotification, __vue_component__$s as NsToggle, __vue_component__$F 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 };
|