@nethserver/ns8-ui-lib 0.0.39 → 0.0.43
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 +1113 -436
- package/dist/ns8-ui-lib.min.js +1 -1
- package/dist/ns8-ui-lib.ssr.js +984 -412
- package/package.json +3 -2
- package/src/lib-components/NsBackupCard.vue +340 -0
- package/src/lib-components/NsDangerDeleteModal.vue +1 -2
- package/src/lib-components/NsDropdownAction.vue +98 -0
- package/src/lib-components/NsIconMenu.vue +0 -2
- package/src/lib-components/NsTextInput.vue +179 -0
package/dist/ns8-ui-lib.esm.js
CHANGED
|
@@ -9,12 +9,9 @@ import Warning20 from '@carbon/icons-vue/es/warning--filled/20';
|
|
|
9
9
|
import Vue from 'vue';
|
|
10
10
|
import '@carbon/charts/styles.css';
|
|
11
11
|
import chartsVue, { CcvMeterChart } from '@carbon/charts-vue';
|
|
12
|
-
import ErrorFilled16 from '@carbon/icons-vue/es/error--filled/16';
|
|
13
|
-
import CheckmarkFilled16 from '@carbon/icons-vue/es/checkmark--filled/16';
|
|
14
|
-
import WarningFilled16 from '@carbon/icons-vue/es/warning--filled/16';
|
|
15
|
-
import InformationFilled16 from '@carbon/icons-vue/es/information--filled/16';
|
|
16
12
|
import Close20 from '@carbon/icons-vue/es/close/20';
|
|
17
13
|
import ArrowRight20 from '@carbon/icons-vue/es/arrow--right/20';
|
|
14
|
+
import ArrowRight32 from '@carbon/icons-vue/es/arrow--right/32';
|
|
18
15
|
import Notification20 from '@carbon/icons-vue/es/notification/20';
|
|
19
16
|
import UserAvatar20 from '@carbon/icons-vue/es/user--avatar/20';
|
|
20
17
|
import AppSwitcher20 from '@carbon/icons-vue/es/app-switcher/20';
|
|
@@ -70,9 +67,17 @@ import Time20 from '@carbon/icons-vue/es/time/20';
|
|
|
70
67
|
import Time32 from '@carbon/icons-vue/es/time/32';
|
|
71
68
|
import Hourglass20 from '@carbon/icons-vue/es/hourglass/20';
|
|
72
69
|
import Hourglass32 from '@carbon/icons-vue/es/hourglass/32';
|
|
70
|
+
import CheckmarkFilled16 from '@carbon/icons-vue/es/checkmark--filled/16';
|
|
71
|
+
import CheckmarkFilled32 from '@carbon/icons-vue/es/checkmark--filled/32';
|
|
72
|
+
import ErrorFilled16 from '@carbon/icons-vue/es/error--filled/16';
|
|
73
|
+
import ErrorFilled32 from '@carbon/icons-vue/es/error--filled/32';
|
|
74
|
+
import Warning16 from '@carbon/icons-vue/es/warning--filled/16';
|
|
75
|
+
import Warning32 from '@carbon/icons-vue/es/warning--filled/32';
|
|
76
|
+
import { WarningFilled16, WarningAltFilled16, View16, ViewOff16 } from '@carbon/icons-vue';
|
|
77
|
+
import InformationFilled16 from '@carbon/icons-vue/es/information--filled/16';
|
|
73
78
|
|
|
74
79
|
//
|
|
75
|
-
var script$
|
|
80
|
+
var script$l = {
|
|
76
81
|
name: "NsButton",
|
|
77
82
|
extends: CvButton,
|
|
78
83
|
props: {
|
|
@@ -235,10 +240,10 @@ function addStyle(id, css) {
|
|
|
235
240
|
}
|
|
236
241
|
|
|
237
242
|
/* script */
|
|
238
|
-
const __vue_script__$
|
|
243
|
+
const __vue_script__$l = script$l;
|
|
239
244
|
/* template */
|
|
240
245
|
|
|
241
|
-
var __vue_render__$
|
|
246
|
+
var __vue_render__$r = function () {
|
|
242
247
|
var _vm = this;
|
|
243
248
|
|
|
244
249
|
var _h = _vm.$createElement;
|
|
@@ -261,10 +266,10 @@ var __vue_render__$o = function () {
|
|
|
261
266
|
}) : _vm._e()], 2);
|
|
262
267
|
};
|
|
263
268
|
|
|
264
|
-
var __vue_staticRenderFns__$
|
|
269
|
+
var __vue_staticRenderFns__$r = [];
|
|
265
270
|
/* style */
|
|
266
271
|
|
|
267
|
-
const __vue_inject_styles__$
|
|
272
|
+
const __vue_inject_styles__$s = function (inject) {
|
|
268
273
|
if (!inject) return;
|
|
269
274
|
inject("data-v-025b0f12_0", {
|
|
270
275
|
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)}}",
|
|
@@ -275,23 +280,23 @@ const __vue_inject_styles__$p = function (inject) {
|
|
|
275
280
|
/* scoped */
|
|
276
281
|
|
|
277
282
|
|
|
278
|
-
const __vue_scope_id__$
|
|
283
|
+
const __vue_scope_id__$s = "data-v-025b0f12";
|
|
279
284
|
/* module identifier */
|
|
280
285
|
|
|
281
|
-
const __vue_module_identifier__$
|
|
286
|
+
const __vue_module_identifier__$s = undefined;
|
|
282
287
|
/* functional template */
|
|
283
288
|
|
|
284
|
-
const __vue_is_functional_template__$
|
|
289
|
+
const __vue_is_functional_template__$s = false;
|
|
285
290
|
/* style inject SSR */
|
|
286
291
|
|
|
287
292
|
/* style inject shadow dom */
|
|
288
293
|
|
|
289
|
-
const __vue_component__$
|
|
290
|
-
render: __vue_render__$
|
|
291
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
292
|
-
}, __vue_inject_styles__$
|
|
294
|
+
const __vue_component__$N = /*#__PURE__*/normalizeComponent({
|
|
295
|
+
render: __vue_render__$r,
|
|
296
|
+
staticRenderFns: __vue_staticRenderFns__$r
|
|
297
|
+
}, __vue_inject_styles__$s, __vue_script__$l, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, createInjector, undefined, undefined);
|
|
293
298
|
|
|
294
|
-
var __vue_component__$
|
|
299
|
+
var __vue_component__$O = __vue_component__$N;
|
|
295
300
|
|
|
296
301
|
//
|
|
297
302
|
//
|
|
@@ -309,7 +314,7 @@ var __vue_component__$I = __vue_component__$H;
|
|
|
309
314
|
//
|
|
310
315
|
//
|
|
311
316
|
//
|
|
312
|
-
var script$
|
|
317
|
+
var script$k = {
|
|
313
318
|
name: "NsPictogram",
|
|
314
319
|
props: {
|
|
315
320
|
title: {
|
|
@@ -332,10 +337,10 @@ var script$h = {
|
|
|
332
337
|
};
|
|
333
338
|
|
|
334
339
|
/* script */
|
|
335
|
-
const __vue_script__$
|
|
340
|
+
const __vue_script__$k = script$k;
|
|
336
341
|
/* template */
|
|
337
342
|
|
|
338
|
-
var __vue_render__$
|
|
343
|
+
var __vue_render__$q = function () {
|
|
339
344
|
var _vm = this;
|
|
340
345
|
|
|
341
346
|
var _h = _vm.$createElement;
|
|
@@ -363,34 +368,34 @@ var __vue_render__$n = function () {
|
|
|
363
368
|
}, [_vm._t("default")], 2)]);
|
|
364
369
|
};
|
|
365
370
|
|
|
366
|
-
var __vue_staticRenderFns__$
|
|
371
|
+
var __vue_staticRenderFns__$q = [];
|
|
367
372
|
/* style */
|
|
368
373
|
|
|
369
|
-
const __vue_inject_styles__$
|
|
374
|
+
const __vue_inject_styles__$r = undefined;
|
|
370
375
|
/* scoped */
|
|
371
376
|
|
|
372
|
-
const __vue_scope_id__$
|
|
377
|
+
const __vue_scope_id__$r = undefined;
|
|
373
378
|
/* module identifier */
|
|
374
379
|
|
|
375
|
-
const __vue_module_identifier__$
|
|
380
|
+
const __vue_module_identifier__$r = undefined;
|
|
376
381
|
/* functional template */
|
|
377
382
|
|
|
378
|
-
const __vue_is_functional_template__$
|
|
383
|
+
const __vue_is_functional_template__$r = false;
|
|
379
384
|
/* style inject */
|
|
380
385
|
|
|
381
386
|
/* style inject SSR */
|
|
382
387
|
|
|
383
388
|
/* style inject shadow dom */
|
|
384
389
|
|
|
385
|
-
const __vue_component__$
|
|
386
|
-
render: __vue_render__$
|
|
387
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
388
|
-
}, __vue_inject_styles__$
|
|
390
|
+
const __vue_component__$M = /*#__PURE__*/normalizeComponent({
|
|
391
|
+
render: __vue_render__$q,
|
|
392
|
+
staticRenderFns: __vue_staticRenderFns__$q
|
|
393
|
+
}, __vue_inject_styles__$r, __vue_script__$k, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, undefined, undefined, undefined);
|
|
389
394
|
|
|
390
|
-
var NsPictogram = __vue_component__$
|
|
395
|
+
var NsPictogram = __vue_component__$M;
|
|
391
396
|
|
|
392
397
|
//
|
|
393
|
-
var script$
|
|
398
|
+
var script$j = {
|
|
394
399
|
name: "NsLottieAnimation",
|
|
395
400
|
components: {
|
|
396
401
|
LottieAnimation
|
|
@@ -446,10 +451,10 @@ var script$g = {
|
|
|
446
451
|
};
|
|
447
452
|
|
|
448
453
|
/* script */
|
|
449
|
-
const __vue_script__$
|
|
454
|
+
const __vue_script__$j = script$j;
|
|
450
455
|
/* template */
|
|
451
456
|
|
|
452
|
-
var __vue_render__$
|
|
457
|
+
var __vue_render__$p = function () {
|
|
453
458
|
var _vm = this;
|
|
454
459
|
|
|
455
460
|
var _h = _vm.$createElement;
|
|
@@ -476,36 +481,36 @@ var __vue_render__$m = function () {
|
|
|
476
481
|
})], 1);
|
|
477
482
|
};
|
|
478
483
|
|
|
479
|
-
var __vue_staticRenderFns__$
|
|
484
|
+
var __vue_staticRenderFns__$p = [];
|
|
480
485
|
/* style */
|
|
481
486
|
|
|
482
|
-
const __vue_inject_styles__$
|
|
487
|
+
const __vue_inject_styles__$q = undefined;
|
|
483
488
|
/* scoped */
|
|
484
489
|
|
|
485
|
-
const __vue_scope_id__$
|
|
490
|
+
const __vue_scope_id__$q = "data-v-14e97a70";
|
|
486
491
|
/* module identifier */
|
|
487
492
|
|
|
488
|
-
const __vue_module_identifier__$
|
|
493
|
+
const __vue_module_identifier__$q = undefined;
|
|
489
494
|
/* functional template */
|
|
490
495
|
|
|
491
|
-
const __vue_is_functional_template__$
|
|
496
|
+
const __vue_is_functional_template__$q = false;
|
|
492
497
|
/* style inject */
|
|
493
498
|
|
|
494
499
|
/* style inject SSR */
|
|
495
500
|
|
|
496
501
|
/* style inject shadow dom */
|
|
497
502
|
|
|
498
|
-
const __vue_component__$
|
|
499
|
-
render: __vue_render__$
|
|
500
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
501
|
-
}, __vue_inject_styles__$
|
|
503
|
+
const __vue_component__$L = /*#__PURE__*/normalizeComponent({
|
|
504
|
+
render: __vue_render__$p,
|
|
505
|
+
staticRenderFns: __vue_staticRenderFns__$p
|
|
506
|
+
}, __vue_inject_styles__$q, __vue_script__$j, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, undefined, undefined, undefined);
|
|
502
507
|
|
|
503
|
-
var NsLottieAnimation = __vue_component__$
|
|
508
|
+
var NsLottieAnimation = __vue_component__$L;
|
|
504
509
|
|
|
505
510
|
/* script */
|
|
506
511
|
|
|
507
512
|
/* template */
|
|
508
|
-
var __vue_render__$
|
|
513
|
+
var __vue_render__$o = function () {
|
|
509
514
|
var _vm = this;
|
|
510
515
|
|
|
511
516
|
var _h = _vm.$createElement;
|
|
@@ -520,34 +525,34 @@ var __vue_render__$l = function () {
|
|
|
520
525
|
});
|
|
521
526
|
};
|
|
522
527
|
|
|
523
|
-
var __vue_staticRenderFns__$
|
|
528
|
+
var __vue_staticRenderFns__$o = [];
|
|
524
529
|
/* style */
|
|
525
530
|
|
|
526
|
-
const __vue_inject_styles__$
|
|
531
|
+
const __vue_inject_styles__$p = undefined;
|
|
527
532
|
/* scoped */
|
|
528
533
|
|
|
529
|
-
const __vue_scope_id__$
|
|
534
|
+
const __vue_scope_id__$p = undefined;
|
|
530
535
|
/* module identifier */
|
|
531
536
|
|
|
532
|
-
const __vue_module_identifier__$
|
|
537
|
+
const __vue_module_identifier__$p = undefined;
|
|
533
538
|
/* functional template */
|
|
534
539
|
|
|
535
|
-
const __vue_is_functional_template__$
|
|
540
|
+
const __vue_is_functional_template__$p = false;
|
|
536
541
|
/* style inject */
|
|
537
542
|
|
|
538
543
|
/* style inject SSR */
|
|
539
544
|
|
|
540
545
|
/* style inject shadow dom */
|
|
541
546
|
|
|
542
|
-
const __vue_component__$
|
|
543
|
-
render: __vue_render__$
|
|
544
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
545
|
-
}, __vue_inject_styles__$
|
|
547
|
+
const __vue_component__$K = /*#__PURE__*/normalizeComponent({
|
|
548
|
+
render: __vue_render__$o,
|
|
549
|
+
staticRenderFns: __vue_staticRenderFns__$o
|
|
550
|
+
}, __vue_inject_styles__$p, {}, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, undefined, undefined, undefined);
|
|
546
551
|
|
|
547
|
-
var ExclamationMark = __vue_component__$
|
|
552
|
+
var ExclamationMark = __vue_component__$K;
|
|
548
553
|
|
|
549
554
|
//
|
|
550
|
-
var script$
|
|
555
|
+
var script$i = {
|
|
551
556
|
name: "NsEmptyState",
|
|
552
557
|
components: {
|
|
553
558
|
NsPictogram,
|
|
@@ -579,10 +584,10 @@ var script$f = {
|
|
|
579
584
|
};
|
|
580
585
|
|
|
581
586
|
/* script */
|
|
582
|
-
const __vue_script__$
|
|
587
|
+
const __vue_script__$i = script$i;
|
|
583
588
|
/* template */
|
|
584
589
|
|
|
585
|
-
var __vue_render__$
|
|
590
|
+
var __vue_render__$n = function () {
|
|
586
591
|
var _vm = this;
|
|
587
592
|
|
|
588
593
|
var _h = _vm.$createElement;
|
|
@@ -612,10 +617,10 @@ var __vue_render__$k = function () {
|
|
|
612
617
|
}, [_vm._t("description")], 2)] : _vm._e()], 2);
|
|
613
618
|
};
|
|
614
619
|
|
|
615
|
-
var __vue_staticRenderFns__$
|
|
620
|
+
var __vue_staticRenderFns__$n = [];
|
|
616
621
|
/* style */
|
|
617
622
|
|
|
618
|
-
const __vue_inject_styles__$
|
|
623
|
+
const __vue_inject_styles__$o = function (inject) {
|
|
619
624
|
if (!inject) return;
|
|
620
625
|
inject("data-v-d5a46c1c_0", {
|
|
621
626
|
source: ".empty-state[data-v-d5a46c1c]{text-align:center;padding:2rem}.empty-state .image[data-v-d5a46c1c]{margin-bottom:1rem}.empty-state .description[data-v-d5a46c1c]{margin-top:1rem}.animation[data-v-d5a46c1c]{display:inline-block;width:64px;height:64px}",
|
|
@@ -626,26 +631,26 @@ const __vue_inject_styles__$l = function (inject) {
|
|
|
626
631
|
/* scoped */
|
|
627
632
|
|
|
628
633
|
|
|
629
|
-
const __vue_scope_id__$
|
|
634
|
+
const __vue_scope_id__$o = "data-v-d5a46c1c";
|
|
630
635
|
/* module identifier */
|
|
631
636
|
|
|
632
|
-
const __vue_module_identifier__$
|
|
637
|
+
const __vue_module_identifier__$o = undefined;
|
|
633
638
|
/* functional template */
|
|
634
639
|
|
|
635
|
-
const __vue_is_functional_template__$
|
|
640
|
+
const __vue_is_functional_template__$o = false;
|
|
636
641
|
/* style inject SSR */
|
|
637
642
|
|
|
638
643
|
/* style inject shadow dom */
|
|
639
644
|
|
|
640
|
-
const __vue_component__$
|
|
641
|
-
render: __vue_render__$
|
|
642
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
643
|
-
}, __vue_inject_styles__$
|
|
645
|
+
const __vue_component__$I = /*#__PURE__*/normalizeComponent({
|
|
646
|
+
render: __vue_render__$n,
|
|
647
|
+
staticRenderFns: __vue_staticRenderFns__$n
|
|
648
|
+
}, __vue_inject_styles__$o, __vue_script__$i, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, createInjector, undefined, undefined);
|
|
644
649
|
|
|
645
|
-
var __vue_component__$
|
|
650
|
+
var __vue_component__$J = __vue_component__$I;
|
|
646
651
|
|
|
647
652
|
//
|
|
648
|
-
var script$
|
|
653
|
+
var script$h = {
|
|
649
654
|
name: "NsCodeSnippet",
|
|
650
655
|
components: {
|
|
651
656
|
CvButton,
|
|
@@ -757,10 +762,10 @@ var script$e = {
|
|
|
757
762
|
};
|
|
758
763
|
|
|
759
764
|
/* script */
|
|
760
|
-
const __vue_script__$
|
|
765
|
+
const __vue_script__$h = script$h;
|
|
761
766
|
/* template */
|
|
762
767
|
|
|
763
|
-
var __vue_render__$
|
|
768
|
+
var __vue_render__$m = function () {
|
|
764
769
|
var _vm = this;
|
|
765
770
|
|
|
766
771
|
var _h = _vm.$createElement;
|
|
@@ -822,10 +827,10 @@ var __vue_render__$j = function () {
|
|
|
822
827
|
})], 1) : _vm._e()], 1);
|
|
823
828
|
};
|
|
824
829
|
|
|
825
|
-
var __vue_staticRenderFns__$
|
|
830
|
+
var __vue_staticRenderFns__$m = [];
|
|
826
831
|
/* style */
|
|
827
832
|
|
|
828
|
-
const __vue_inject_styles__$
|
|
833
|
+
const __vue_inject_styles__$n = function (inject) {
|
|
829
834
|
if (!inject) return;
|
|
830
835
|
inject("data-v-59cb538c_0", {
|
|
831
836
|
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}",
|
|
@@ -836,23 +841,23 @@ const __vue_inject_styles__$k = function (inject) {
|
|
|
836
841
|
/* scoped */
|
|
837
842
|
|
|
838
843
|
|
|
839
|
-
const __vue_scope_id__$
|
|
844
|
+
const __vue_scope_id__$n = "data-v-59cb538c";
|
|
840
845
|
/* module identifier */
|
|
841
846
|
|
|
842
|
-
const __vue_module_identifier__$
|
|
847
|
+
const __vue_module_identifier__$n = undefined;
|
|
843
848
|
/* functional template */
|
|
844
849
|
|
|
845
|
-
const __vue_is_functional_template__$
|
|
850
|
+
const __vue_is_functional_template__$n = false;
|
|
846
851
|
/* style inject SSR */
|
|
847
852
|
|
|
848
853
|
/* style inject shadow dom */
|
|
849
854
|
|
|
850
|
-
const __vue_component__$
|
|
851
|
-
render: __vue_render__$
|
|
852
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
853
|
-
}, __vue_inject_styles__$
|
|
855
|
+
const __vue_component__$G = /*#__PURE__*/normalizeComponent({
|
|
856
|
+
render: __vue_render__$m,
|
|
857
|
+
staticRenderFns: __vue_staticRenderFns__$m
|
|
858
|
+
}, __vue_inject_styles__$n, __vue_script__$h, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, createInjector, undefined, undefined);
|
|
854
859
|
|
|
855
|
-
var __vue_component__$
|
|
860
|
+
var __vue_component__$H = __vue_component__$G;
|
|
856
861
|
|
|
857
862
|
//
|
|
858
863
|
//
|
|
@@ -883,7 +888,7 @@ var __vue_component__$B = __vue_component__$A;
|
|
|
883
888
|
//
|
|
884
889
|
//
|
|
885
890
|
//
|
|
886
|
-
var script$
|
|
891
|
+
var script$g = {
|
|
887
892
|
name: "NsCircleTimer",
|
|
888
893
|
props: {
|
|
889
894
|
timeLimit: {
|
|
@@ -943,10 +948,10 @@ var script$d = {
|
|
|
943
948
|
};
|
|
944
949
|
|
|
945
950
|
/* script */
|
|
946
|
-
const __vue_script__$
|
|
951
|
+
const __vue_script__$g = script$g;
|
|
947
952
|
/* template */
|
|
948
953
|
|
|
949
|
-
var __vue_render__$
|
|
954
|
+
var __vue_render__$l = function () {
|
|
950
955
|
var _vm = this;
|
|
951
956
|
|
|
952
957
|
var _h = _vm.$createElement;
|
|
@@ -982,10 +987,10 @@ var __vue_render__$i = function () {
|
|
|
982
987
|
})])])]);
|
|
983
988
|
};
|
|
984
989
|
|
|
985
|
-
var __vue_staticRenderFns__$
|
|
990
|
+
var __vue_staticRenderFns__$l = [];
|
|
986
991
|
/* style */
|
|
987
992
|
|
|
988
|
-
const __vue_inject_styles__$
|
|
993
|
+
const __vue_inject_styles__$m = function (inject) {
|
|
989
994
|
if (!inject) return;
|
|
990
995
|
inject("data-v-45b59790_0", {
|
|
991
996
|
source: ".base-timer[data-v-45b59790]{position:relative}.base-timer__circle[data-v-45b59790]{fill:none;stroke:none}.base-timer__path-remaining[data-v-45b59790]{stroke:currentColor;transform:rotate(90deg);transform-origin:center;transition:1s linear all}.base-timer__svg[data-v-45b59790]{transform:scaleX(-1)}",
|
|
@@ -996,26 +1001,26 @@ const __vue_inject_styles__$j = function (inject) {
|
|
|
996
1001
|
/* scoped */
|
|
997
1002
|
|
|
998
1003
|
|
|
999
|
-
const __vue_scope_id__$
|
|
1004
|
+
const __vue_scope_id__$m = "data-v-45b59790";
|
|
1000
1005
|
/* module identifier */
|
|
1001
1006
|
|
|
1002
|
-
const __vue_module_identifier__$
|
|
1007
|
+
const __vue_module_identifier__$m = undefined;
|
|
1003
1008
|
/* functional template */
|
|
1004
1009
|
|
|
1005
|
-
const __vue_is_functional_template__$
|
|
1010
|
+
const __vue_is_functional_template__$m = false;
|
|
1006
1011
|
/* style inject SSR */
|
|
1007
1012
|
|
|
1008
1013
|
/* style inject shadow dom */
|
|
1009
1014
|
|
|
1010
|
-
const __vue_component__$
|
|
1011
|
-
render: __vue_render__$
|
|
1012
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1013
|
-
}, __vue_inject_styles__$
|
|
1015
|
+
const __vue_component__$F = /*#__PURE__*/normalizeComponent({
|
|
1016
|
+
render: __vue_render__$l,
|
|
1017
|
+
staticRenderFns: __vue_staticRenderFns__$l
|
|
1018
|
+
}, __vue_inject_styles__$m, __vue_script__$g, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, createInjector, undefined, undefined);
|
|
1014
1019
|
|
|
1015
|
-
var NsCircleTimer = __vue_component__$
|
|
1020
|
+
var NsCircleTimer = __vue_component__$F;
|
|
1016
1021
|
|
|
1017
1022
|
//
|
|
1018
|
-
var script$
|
|
1023
|
+
var script$f = {
|
|
1019
1024
|
name: "NsInlineNotification",
|
|
1020
1025
|
extends: CvInlineNotification,
|
|
1021
1026
|
components: {
|
|
@@ -1052,10 +1057,10 @@ var script$c = {
|
|
|
1052
1057
|
};
|
|
1053
1058
|
|
|
1054
1059
|
/* script */
|
|
1055
|
-
const __vue_script__$
|
|
1060
|
+
const __vue_script__$f = script$f;
|
|
1056
1061
|
/* template */
|
|
1057
1062
|
|
|
1058
|
-
var __vue_render__$
|
|
1063
|
+
var __vue_render__$k = function () {
|
|
1059
1064
|
var _obj;
|
|
1060
1065
|
|
|
1061
1066
|
var _vm = this;
|
|
@@ -1126,10 +1131,10 @@ var __vue_render__$h = function () {
|
|
|
1126
1131
|
})], 1) : _vm._e()]);
|
|
1127
1132
|
};
|
|
1128
1133
|
|
|
1129
|
-
var __vue_staticRenderFns__$
|
|
1134
|
+
var __vue_staticRenderFns__$k = [];
|
|
1130
1135
|
/* style */
|
|
1131
1136
|
|
|
1132
|
-
const __vue_inject_styles__$
|
|
1137
|
+
const __vue_inject_styles__$l = function (inject) {
|
|
1133
1138
|
if (!inject) return;
|
|
1134
1139
|
inject("data-v-1e5d2ff7_0", {
|
|
1135
1140
|
source: ".title[data-v-1e5d2ff7]{margin-right:.75rem;margin-bottom:.2rem;font-size:.875rem!important;font-weight:600!important}.mg-right[data-v-1e5d2ff7]{margin-right:.75rem}.details[data-v-1e5d2ff7]{flex-grow:0}.bx--inline-notification__close-button[data-v-1e5d2ff7]{position:absolute!important}.bx--inline-notification__text-wrapper p[data-v-1e5d2ff7]{padding-right:0!important}",
|
|
@@ -1140,23 +1145,23 @@ const __vue_inject_styles__$i = function (inject) {
|
|
|
1140
1145
|
/* scoped */
|
|
1141
1146
|
|
|
1142
1147
|
|
|
1143
|
-
const __vue_scope_id__$
|
|
1148
|
+
const __vue_scope_id__$l = "data-v-1e5d2ff7";
|
|
1144
1149
|
/* module identifier */
|
|
1145
1150
|
|
|
1146
|
-
const __vue_module_identifier__$
|
|
1151
|
+
const __vue_module_identifier__$l = undefined;
|
|
1147
1152
|
/* functional template */
|
|
1148
1153
|
|
|
1149
|
-
const __vue_is_functional_template__$
|
|
1154
|
+
const __vue_is_functional_template__$l = false;
|
|
1150
1155
|
/* style inject SSR */
|
|
1151
1156
|
|
|
1152
1157
|
/* style inject shadow dom */
|
|
1153
1158
|
|
|
1154
|
-
const __vue_component__$
|
|
1155
|
-
render: __vue_render__$
|
|
1156
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1157
|
-
}, __vue_inject_styles__$
|
|
1159
|
+
const __vue_component__$E = /*#__PURE__*/normalizeComponent({
|
|
1160
|
+
render: __vue_render__$k,
|
|
1161
|
+
staticRenderFns: __vue_staticRenderFns__$k
|
|
1162
|
+
}, __vue_inject_styles__$l, __vue_script__$f, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, createInjector, undefined, undefined);
|
|
1158
1163
|
|
|
1159
|
-
var NsInlineNotification = __vue_component__$
|
|
1164
|
+
var NsInlineNotification = __vue_component__$E;
|
|
1160
1165
|
|
|
1161
1166
|
//
|
|
1162
1167
|
//
|
|
@@ -1175,7 +1180,7 @@ var NsInlineNotification = __vue_component__$y;
|
|
|
1175
1180
|
//
|
|
1176
1181
|
//
|
|
1177
1182
|
//
|
|
1178
|
-
var script$
|
|
1183
|
+
var script$e = {
|
|
1179
1184
|
name: "NsProgressBar",
|
|
1180
1185
|
props: {
|
|
1181
1186
|
value: {
|
|
@@ -1206,10 +1211,10 @@ var script$b = {
|
|
|
1206
1211
|
};
|
|
1207
1212
|
|
|
1208
1213
|
/* script */
|
|
1209
|
-
const __vue_script__$
|
|
1214
|
+
const __vue_script__$e = script$e;
|
|
1210
1215
|
/* template */
|
|
1211
1216
|
|
|
1212
|
-
var __vue_render__$
|
|
1217
|
+
var __vue_render__$j = function () {
|
|
1213
1218
|
var _vm = this;
|
|
1214
1219
|
|
|
1215
1220
|
var _h = _vm.$createElement;
|
|
@@ -1234,10 +1239,10 @@ var __vue_render__$g = function () {
|
|
|
1234
1239
|
})]], 2)]);
|
|
1235
1240
|
};
|
|
1236
1241
|
|
|
1237
|
-
var __vue_staticRenderFns__$
|
|
1242
|
+
var __vue_staticRenderFns__$j = [];
|
|
1238
1243
|
/* style */
|
|
1239
1244
|
|
|
1240
|
-
const __vue_inject_styles__$
|
|
1245
|
+
const __vue_inject_styles__$k = function (inject) {
|
|
1241
1246
|
if (!inject) return;
|
|
1242
1247
|
inject("data-v-2bcd6519_0", {
|
|
1243
1248
|
source: ".progress-bar-container[data-v-2bcd6519]{width:100%;position:relative}.slider[data-v-2bcd6519]{position:absolute;width:100%;height:5px;overflow-x:hidden}.line[data-v-2bcd6519]{position:absolute;opacity:.4;width:100%;height:5px}.progress-line[data-v-2bcd6519]{position:absolute;height:5px}.indeterminate-line[data-v-2bcd6519]{position:absolute;opacity:.4;width:150%;height:5px}.indeterminate-subline[data-v-2bcd6519]{position:absolute;height:5px}.inc[data-v-2bcd6519]{animation:increase-data-v-2bcd6519 2s infinite}.dec[data-v-2bcd6519]{animation:decrease-data-v-2bcd6519 2s .5s infinite}@keyframes increase-data-v-2bcd6519{from{left:-5%;width:5%}to{left:130%;width:100%}}@keyframes decrease-data-v-2bcd6519{from{left:-80%;width:80%}to{left:110%;width:10%}}",
|
|
@@ -1248,25 +1253,25 @@ const __vue_inject_styles__$h = function (inject) {
|
|
|
1248
1253
|
/* scoped */
|
|
1249
1254
|
|
|
1250
1255
|
|
|
1251
|
-
const __vue_scope_id__$
|
|
1256
|
+
const __vue_scope_id__$k = "data-v-2bcd6519";
|
|
1252
1257
|
/* module identifier */
|
|
1253
1258
|
|
|
1254
|
-
const __vue_module_identifier__$
|
|
1259
|
+
const __vue_module_identifier__$k = undefined;
|
|
1255
1260
|
/* functional template */
|
|
1256
1261
|
|
|
1257
|
-
const __vue_is_functional_template__$
|
|
1262
|
+
const __vue_is_functional_template__$k = false;
|
|
1258
1263
|
/* style inject SSR */
|
|
1259
1264
|
|
|
1260
1265
|
/* style inject shadow dom */
|
|
1261
1266
|
|
|
1262
|
-
const __vue_component__$
|
|
1263
|
-
render: __vue_render__$
|
|
1264
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1265
|
-
}, __vue_inject_styles__$
|
|
1267
|
+
const __vue_component__$D = /*#__PURE__*/normalizeComponent({
|
|
1268
|
+
render: __vue_render__$j,
|
|
1269
|
+
staticRenderFns: __vue_staticRenderFns__$j
|
|
1270
|
+
}, __vue_inject_styles__$k, __vue_script__$e, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, createInjector, undefined, undefined);
|
|
1266
1271
|
|
|
1267
|
-
var NsProgressBar = __vue_component__$
|
|
1272
|
+
var NsProgressBar = __vue_component__$D;
|
|
1268
1273
|
|
|
1269
|
-
var script$
|
|
1274
|
+
var script$d = {
|
|
1270
1275
|
name: "NsSvg",
|
|
1271
1276
|
props: {
|
|
1272
1277
|
svg: {
|
|
@@ -1325,33 +1330,33 @@ var script$a = {
|
|
|
1325
1330
|
};
|
|
1326
1331
|
|
|
1327
1332
|
/* script */
|
|
1328
|
-
const __vue_script__$
|
|
1333
|
+
const __vue_script__$d = script$d;
|
|
1329
1334
|
/* template */
|
|
1330
1335
|
|
|
1331
1336
|
/* style */
|
|
1332
1337
|
|
|
1333
|
-
const __vue_inject_styles__$
|
|
1338
|
+
const __vue_inject_styles__$j = undefined;
|
|
1334
1339
|
/* scoped */
|
|
1335
1340
|
|
|
1336
|
-
const __vue_scope_id__$
|
|
1341
|
+
const __vue_scope_id__$j = undefined;
|
|
1337
1342
|
/* module identifier */
|
|
1338
1343
|
|
|
1339
|
-
const __vue_module_identifier__$
|
|
1344
|
+
const __vue_module_identifier__$j = undefined;
|
|
1340
1345
|
/* functional template */
|
|
1341
1346
|
|
|
1342
|
-
const __vue_is_functional_template__$
|
|
1347
|
+
const __vue_is_functional_template__$j = undefined;
|
|
1343
1348
|
/* style inject */
|
|
1344
1349
|
|
|
1345
1350
|
/* style inject SSR */
|
|
1346
1351
|
|
|
1347
1352
|
/* style inject shadow dom */
|
|
1348
1353
|
|
|
1349
|
-
const __vue_component__$
|
|
1354
|
+
const __vue_component__$C = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$j, __vue_script__$d, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, undefined, undefined, undefined);
|
|
1350
1355
|
|
|
1351
|
-
var NsSvg = __vue_component__$
|
|
1356
|
+
var NsSvg = __vue_component__$C;
|
|
1352
1357
|
|
|
1353
1358
|
//
|
|
1354
|
-
var script$
|
|
1359
|
+
var script$c = {
|
|
1355
1360
|
name: "NsTile",
|
|
1356
1361
|
extends: CvTile,
|
|
1357
1362
|
inheritAttrs: false,
|
|
@@ -1419,10 +1424,10 @@ var script$9 = {
|
|
|
1419
1424
|
};
|
|
1420
1425
|
|
|
1421
1426
|
/* script */
|
|
1422
|
-
const __vue_script__$
|
|
1427
|
+
const __vue_script__$c = script$c;
|
|
1423
1428
|
/* template */
|
|
1424
1429
|
|
|
1425
|
-
var __vue_render__$
|
|
1430
|
+
var __vue_render__$i = function () {
|
|
1426
1431
|
var _obj;
|
|
1427
1432
|
|
|
1428
1433
|
var _vm = this;
|
|
@@ -1459,10 +1464,10 @@ var __vue_render__$f = function () {
|
|
|
1459
1464
|
}) : _vm._e()], 1);
|
|
1460
1465
|
};
|
|
1461
1466
|
|
|
1462
|
-
var __vue_staticRenderFns__$
|
|
1467
|
+
var __vue_staticRenderFns__$i = [];
|
|
1463
1468
|
/* style */
|
|
1464
1469
|
|
|
1465
|
-
const __vue_inject_styles__$
|
|
1470
|
+
const __vue_inject_styles__$i = function (inject) {
|
|
1466
1471
|
if (!inject) return;
|
|
1467
1472
|
inject("data-v-bbf09f9e_0", {
|
|
1468
1473
|
source: ".ns-tile[data-v-bbf09f9e]{margin-bottom:2rem}.container[data-v-bbf09f9e]{display:flex;flex-direction:column;justify-content:center}.centered[data-v-bbf09f9e]{text-align:center}.large[data-v-bbf09f9e]{min-height:10rem}.tile-icon[data-v-bbf09f9e]{display:block;margin-left:auto;margin-right:auto;margin-bottom:1rem}.tile-footer-icon[data-v-bbf09f9e]{position:absolute;right:1rem;bottom:1rem;flex-shrink:0;width:1.25rem;height:1.25rem}.pad-bottom[data-v-bbf09f9e]{padding-bottom:4rem}",
|
|
@@ -1473,23 +1478,23 @@ const __vue_inject_styles__$f = function (inject) {
|
|
|
1473
1478
|
/* scoped */
|
|
1474
1479
|
|
|
1475
1480
|
|
|
1476
|
-
const __vue_scope_id__$
|
|
1481
|
+
const __vue_scope_id__$i = "data-v-bbf09f9e";
|
|
1477
1482
|
/* module identifier */
|
|
1478
1483
|
|
|
1479
|
-
const __vue_module_identifier__$
|
|
1484
|
+
const __vue_module_identifier__$i = undefined;
|
|
1480
1485
|
/* functional template */
|
|
1481
1486
|
|
|
1482
|
-
const __vue_is_functional_template__$
|
|
1487
|
+
const __vue_is_functional_template__$i = false;
|
|
1483
1488
|
/* style inject SSR */
|
|
1484
1489
|
|
|
1485
1490
|
/* style inject shadow dom */
|
|
1486
1491
|
|
|
1487
|
-
const __vue_component__$
|
|
1488
|
-
render: __vue_render__$
|
|
1489
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1490
|
-
}, __vue_inject_styles__$
|
|
1492
|
+
const __vue_component__$A = /*#__PURE__*/normalizeComponent({
|
|
1493
|
+
render: __vue_render__$i,
|
|
1494
|
+
staticRenderFns: __vue_staticRenderFns__$i
|
|
1495
|
+
}, __vue_inject_styles__$i, __vue_script__$c, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
|
|
1491
1496
|
|
|
1492
|
-
var __vue_component__$
|
|
1497
|
+
var __vue_component__$B = __vue_component__$A;
|
|
1493
1498
|
|
|
1494
1499
|
function toInteger(dirtyNumber) {
|
|
1495
1500
|
if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
|
|
@@ -6086,7 +6091,7 @@ var DateTimeService = {
|
|
|
6086
6091
|
};
|
|
6087
6092
|
|
|
6088
6093
|
//
|
|
6089
|
-
var script$
|
|
6094
|
+
var script$b = {
|
|
6090
6095
|
name: "NsToastNotification",
|
|
6091
6096
|
extends: CvToastNotification,
|
|
6092
6097
|
components: {
|
|
@@ -6128,10 +6133,10 @@ var script$8 = {
|
|
|
6128
6133
|
};
|
|
6129
6134
|
|
|
6130
6135
|
/* script */
|
|
6131
|
-
const __vue_script__$
|
|
6136
|
+
const __vue_script__$b = script$b;
|
|
6132
6137
|
/* template */
|
|
6133
6138
|
|
|
6134
|
-
var __vue_render__$
|
|
6139
|
+
var __vue_render__$h = function () {
|
|
6135
6140
|
var _obj;
|
|
6136
6141
|
|
|
6137
6142
|
var _vm = this;
|
|
@@ -6214,10 +6219,10 @@ var __vue_render__$e = function () {
|
|
|
6214
6219
|
})], 1) : _vm._e()], 1)]);
|
|
6215
6220
|
};
|
|
6216
6221
|
|
|
6217
|
-
var __vue_staticRenderFns__$
|
|
6222
|
+
var __vue_staticRenderFns__$h = [];
|
|
6218
6223
|
/* style */
|
|
6219
6224
|
|
|
6220
|
-
const __vue_inject_styles__$
|
|
6225
|
+
const __vue_inject_styles__$h = function (inject) {
|
|
6221
6226
|
if (!inject) return;
|
|
6222
6227
|
inject("data-v-79bd81d3_0", {
|
|
6223
6228
|
source: ".notification[data-v-79bd81d3]{margin-bottom:0;margin-right:0}.action[data-v-79bd81d3]{padding-top:0;margin-bottom:0}.bx--toast-notification .bx--inline-notification__action-button.bx--btn--ghost[data-v-79bd81d3]{margin-left:-16px}.notification-description-and-progress[data-v-79bd81d3]{margin-top:.75rem;margin-bottom:.75rem}.fix-margin-bottom[data-v-79bd81d3]{margin-bottom:0}.progress[data-v-79bd81d3]{margin-top:.75rem}.progress-bar-spacer[data-v-79bd81d3]{height:.5rem}.cv-notifiation.bx--toast-notification.notification[data-v-79bd81d3]{width:26vw;min-width:20rem;margin-top:0}.notification-drawer .cv-notifiation.bx--toast-notification.notification[data-v-79bd81d3]{margin-top:1rem}.notification-drawer .cv-notifiation.bx--toast-notification.notification[data-v-79bd81d3]{width:100%;cursor:pointer}.notification-read[data-v-79bd81d3]{border-color:#8d8d8d;color:#c6c6c6}.notification-read .bx--toast-notification__icon[data-v-79bd81d3]{fill:currentColor}.notification-read .bx--toast-notification__subtitle[data-v-79bd81d3]{color:#c6c6c6}.notification-read .bx--toast-notification__title[data-v-79bd81d3]{font-weight:400}.cv-notifiation .timestamp[data-v-79bd81d3]{margin-bottom:.75rem;line-height:1.29;color:#fff;text-decoration:underline}.cv-notifiation .timestamp button[data-v-79bd81d3]{color:#c6c6c6}.bx--tooltip__trigger[data-v-79bd81d3]:not(.bx--btn--icon-only){font-size:inherit}.cv-notifiation .timestamp .bx--tooltip__trigger[data-v-79bd81d3]::before{border-bottom-color:#161616}div.row[data-v-79bd81d3]:last-child{margin-bottom:1.5rem}.bx--toast-notification__details[data-v-79bd81d3]{flex-grow:1}",
|
|
@@ -6232,26 +6237,26 @@ const __vue_inject_styles__$e = function (inject) {
|
|
|
6232
6237
|
/* scoped */
|
|
6233
6238
|
|
|
6234
6239
|
|
|
6235
|
-
const __vue_scope_id__$
|
|
6240
|
+
const __vue_scope_id__$h = "data-v-79bd81d3";
|
|
6236
6241
|
/* module identifier */
|
|
6237
6242
|
|
|
6238
|
-
const __vue_module_identifier__$
|
|
6243
|
+
const __vue_module_identifier__$h = undefined;
|
|
6239
6244
|
/* functional template */
|
|
6240
6245
|
|
|
6241
|
-
const __vue_is_functional_template__$
|
|
6246
|
+
const __vue_is_functional_template__$h = false;
|
|
6242
6247
|
/* style inject SSR */
|
|
6243
6248
|
|
|
6244
6249
|
/* style inject shadow dom */
|
|
6245
6250
|
|
|
6246
|
-
const __vue_component__$
|
|
6247
|
-
render: __vue_render__$
|
|
6248
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6249
|
-
}, __vue_inject_styles__$
|
|
6251
|
+
const __vue_component__$y = /*#__PURE__*/normalizeComponent({
|
|
6252
|
+
render: __vue_render__$h,
|
|
6253
|
+
staticRenderFns: __vue_staticRenderFns__$h
|
|
6254
|
+
}, __vue_inject_styles__$h, __vue_script__$b, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, createInjector, undefined, undefined);
|
|
6250
6255
|
|
|
6251
|
-
var __vue_component__$
|
|
6256
|
+
var __vue_component__$z = __vue_component__$y;
|
|
6252
6257
|
|
|
6253
6258
|
//
|
|
6254
|
-
var script$
|
|
6259
|
+
var script$a = {
|
|
6255
6260
|
name: "NsInfoCard",
|
|
6256
6261
|
//components added for storybook to work
|
|
6257
6262
|
components: {
|
|
@@ -6286,10 +6291,10 @@ var script$7 = {
|
|
|
6286
6291
|
};
|
|
6287
6292
|
|
|
6288
6293
|
/* script */
|
|
6289
|
-
const __vue_script__$
|
|
6294
|
+
const __vue_script__$a = script$a;
|
|
6290
6295
|
/* template */
|
|
6291
6296
|
|
|
6292
|
-
var __vue_render__$
|
|
6297
|
+
var __vue_render__$g = function () {
|
|
6293
6298
|
var _vm = this;
|
|
6294
6299
|
|
|
6295
6300
|
var _h = _vm.$createElement;
|
|
@@ -6321,10 +6326,10 @@ var __vue_render__$d = function () {
|
|
|
6321
6326
|
}, [_vm._t("content")], 2)], 2);
|
|
6322
6327
|
};
|
|
6323
6328
|
|
|
6324
|
-
var __vue_staticRenderFns__$
|
|
6329
|
+
var __vue_staticRenderFns__$g = [];
|
|
6325
6330
|
/* style */
|
|
6326
6331
|
|
|
6327
|
-
const __vue_inject_styles__$
|
|
6332
|
+
const __vue_inject_styles__$g = function (inject) {
|
|
6328
6333
|
if (!inject) return;
|
|
6329
6334
|
inject("data-v-5f0f76db_0", {
|
|
6330
6335
|
source: ".info-card[data-v-5f0f76db]{display:flex;flex-direction:column;justify-content:center;min-height:7rem;position:relative}.row[data-v-5f0f76db]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.title[data-v-5f0f76db]{margin-left:.25rem;margin-right:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.description[data-v-5f0f76db]{margin-left:.25rem;margin-right:.25rem}.slot[data-v-5f0f76db]{margin-top:.5rem}",
|
|
@@ -6335,26 +6340,26 @@ const __vue_inject_styles__$d = function (inject) {
|
|
|
6335
6340
|
/* scoped */
|
|
6336
6341
|
|
|
6337
6342
|
|
|
6338
|
-
const __vue_scope_id__$
|
|
6343
|
+
const __vue_scope_id__$g = "data-v-5f0f76db";
|
|
6339
6344
|
/* module identifier */
|
|
6340
6345
|
|
|
6341
|
-
const __vue_module_identifier__$
|
|
6346
|
+
const __vue_module_identifier__$g = undefined;
|
|
6342
6347
|
/* functional template */
|
|
6343
6348
|
|
|
6344
|
-
const __vue_is_functional_template__$
|
|
6349
|
+
const __vue_is_functional_template__$g = false;
|
|
6345
6350
|
/* style inject SSR */
|
|
6346
6351
|
|
|
6347
6352
|
/* style inject shadow dom */
|
|
6348
6353
|
|
|
6349
|
-
const __vue_component__$
|
|
6350
|
-
render: __vue_render__$
|
|
6351
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6352
|
-
}, __vue_inject_styles__$
|
|
6354
|
+
const __vue_component__$w = /*#__PURE__*/normalizeComponent({
|
|
6355
|
+
render: __vue_render__$g,
|
|
6356
|
+
staticRenderFns: __vue_staticRenderFns__$g
|
|
6357
|
+
}, __vue_inject_styles__$g, __vue_script__$a, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, createInjector, undefined, undefined);
|
|
6353
6358
|
|
|
6354
|
-
var __vue_component__$
|
|
6359
|
+
var __vue_component__$x = __vue_component__$w;
|
|
6355
6360
|
|
|
6356
6361
|
//
|
|
6357
|
-
var script$
|
|
6362
|
+
var script$9 = {
|
|
6358
6363
|
name: "NsStatusCard",
|
|
6359
6364
|
//components added for storybook to work
|
|
6360
6365
|
components: {
|
|
@@ -6401,10 +6406,10 @@ var script$6 = {
|
|
|
6401
6406
|
};
|
|
6402
6407
|
|
|
6403
6408
|
/* script */
|
|
6404
|
-
const __vue_script__$
|
|
6409
|
+
const __vue_script__$9 = script$9;
|
|
6405
6410
|
/* template */
|
|
6406
6411
|
|
|
6407
|
-
var __vue_render__$
|
|
6412
|
+
var __vue_render__$f = function () {
|
|
6408
6413
|
var _vm = this;
|
|
6409
6414
|
|
|
6410
6415
|
var _h = _vm.$createElement;
|
|
@@ -6473,10 +6478,10 @@ var __vue_render__$c = function () {
|
|
|
6473
6478
|
}, [_c('h4', [_vm._v(_vm._s(_vm.valueSuccess))])]) : _c('h4', [_vm._v(_vm._s(_vm.valueSuccess))])], 1) : _vm._e()])]);
|
|
6474
6479
|
};
|
|
6475
6480
|
|
|
6476
|
-
var __vue_staticRenderFns__$
|
|
6481
|
+
var __vue_staticRenderFns__$f = [];
|
|
6477
6482
|
/* style */
|
|
6478
6483
|
|
|
6479
|
-
const __vue_inject_styles__$
|
|
6484
|
+
const __vue_inject_styles__$f = function (inject) {
|
|
6480
6485
|
if (!inject) return;
|
|
6481
6486
|
inject("data-v-e4a14fb4_0", {
|
|
6482
6487
|
source: ".status-card[data-v-e4a14fb4]{display:flex;flex-direction:column;justify-content:center}.row[data-v-e4a14fb4]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.value[data-v-e4a14fb4]{margin-left:.25rem;margin-right:.25rem}.label[data-v-e4a14fb4]{margin-left:.25rem;margin-right:.25rem}.success-icon[data-v-e4a14fb4]{margin-right:.25rem}.error-icon[data-v-e4a14fb4]{margin-right:.25rem}.warning-icon[data-v-e4a14fb4]{margin-right:.25rem}.stats[data-v-e4a14fb4]{display:flex;align-items:center;margin-left:.5rem;margin-right:.5rem}",
|
|
@@ -6487,26 +6492,26 @@ const __vue_inject_styles__$c = function (inject) {
|
|
|
6487
6492
|
/* scoped */
|
|
6488
6493
|
|
|
6489
6494
|
|
|
6490
|
-
const __vue_scope_id__$
|
|
6495
|
+
const __vue_scope_id__$f = "data-v-e4a14fb4";
|
|
6491
6496
|
/* module identifier */
|
|
6492
6497
|
|
|
6493
|
-
const __vue_module_identifier__$
|
|
6498
|
+
const __vue_module_identifier__$f = undefined;
|
|
6494
6499
|
/* functional template */
|
|
6495
6500
|
|
|
6496
|
-
const __vue_is_functional_template__$
|
|
6501
|
+
const __vue_is_functional_template__$f = false;
|
|
6497
6502
|
/* style inject SSR */
|
|
6498
6503
|
|
|
6499
6504
|
/* style inject shadow dom */
|
|
6500
6505
|
|
|
6501
|
-
const __vue_component__$
|
|
6502
|
-
render: __vue_render__$
|
|
6503
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6504
|
-
}, __vue_inject_styles__$
|
|
6506
|
+
const __vue_component__$u = /*#__PURE__*/normalizeComponent({
|
|
6507
|
+
render: __vue_render__$f,
|
|
6508
|
+
staticRenderFns: __vue_staticRenderFns__$f
|
|
6509
|
+
}, __vue_inject_styles__$f, __vue_script__$9, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, createInjector, undefined, undefined);
|
|
6505
6510
|
|
|
6506
|
-
var __vue_component__$
|
|
6511
|
+
var __vue_component__$v = __vue_component__$u;
|
|
6507
6512
|
|
|
6508
6513
|
//
|
|
6509
|
-
var script$
|
|
6514
|
+
var script$8 = {
|
|
6510
6515
|
name: "NsSystemdServiceCard",
|
|
6511
6516
|
//components added for storybook to work
|
|
6512
6517
|
components: {
|
|
@@ -6560,10 +6565,10 @@ var script$5 = {
|
|
|
6560
6565
|
};
|
|
6561
6566
|
|
|
6562
6567
|
/* script */
|
|
6563
|
-
const __vue_script__$
|
|
6568
|
+
const __vue_script__$8 = script$8;
|
|
6564
6569
|
/* template */
|
|
6565
6570
|
|
|
6566
|
-
var __vue_render__$
|
|
6571
|
+
var __vue_render__$e = function () {
|
|
6567
6572
|
var _vm = this;
|
|
6568
6573
|
|
|
6569
6574
|
var _h = _vm.$createElement;
|
|
@@ -6618,10 +6623,10 @@ var __vue_render__$b = function () {
|
|
|
6618
6623
|
})], 1)])]);
|
|
6619
6624
|
};
|
|
6620
6625
|
|
|
6621
|
-
var __vue_staticRenderFns__$
|
|
6626
|
+
var __vue_staticRenderFns__$e = [];
|
|
6622
6627
|
/* style */
|
|
6623
6628
|
|
|
6624
|
-
const __vue_inject_styles__$
|
|
6629
|
+
const __vue_inject_styles__$e = function (inject) {
|
|
6625
6630
|
if (!inject) return;
|
|
6626
6631
|
inject("data-v-e13a5ce6_0", {
|
|
6627
6632
|
source: ".service-card[data-v-e13a5ce6]{display:flex;flex-direction:column;justify-content:center}.row[data-v-e13a5ce6]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.service-name[data-v-e13a5ce6]{margin-left:.25rem;margin-right:.25rem}.success-icon[data-v-e13a5ce6]{margin-right:.25rem}.error-icon[data-v-e13a5ce6]{margin-right:.25rem}.warning-icon[data-v-e13a5ce6]{margin-right:.25rem}.stats[data-v-e13a5ce6]{display:flex;align-items:center;margin-left:.5rem;margin-right:.5rem}",
|
|
@@ -6632,31 +6637,34 @@ const __vue_inject_styles__$b = function (inject) {
|
|
|
6632
6637
|
/* scoped */
|
|
6633
6638
|
|
|
6634
6639
|
|
|
6635
|
-
const __vue_scope_id__$
|
|
6640
|
+
const __vue_scope_id__$e = "data-v-e13a5ce6";
|
|
6636
6641
|
/* module identifier */
|
|
6637
6642
|
|
|
6638
|
-
const __vue_module_identifier__$
|
|
6643
|
+
const __vue_module_identifier__$e = undefined;
|
|
6639
6644
|
/* functional template */
|
|
6640
6645
|
|
|
6641
|
-
const __vue_is_functional_template__$
|
|
6646
|
+
const __vue_is_functional_template__$e = false;
|
|
6642
6647
|
/* style inject SSR */
|
|
6643
6648
|
|
|
6644
6649
|
/* style inject shadow dom */
|
|
6645
6650
|
|
|
6646
|
-
const __vue_component__$
|
|
6647
|
-
render: __vue_render__$
|
|
6648
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6649
|
-
}, __vue_inject_styles__$
|
|
6651
|
+
const __vue_component__$s = /*#__PURE__*/normalizeComponent({
|
|
6652
|
+
render: __vue_render__$e,
|
|
6653
|
+
staticRenderFns: __vue_staticRenderFns__$e
|
|
6654
|
+
}, __vue_inject_styles__$e, __vue_script__$8, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, createInjector, undefined, undefined);
|
|
6650
6655
|
|
|
6651
|
-
var __vue_component__$
|
|
6656
|
+
var __vue_component__$t = __vue_component__$s;
|
|
6652
6657
|
|
|
6653
6658
|
var UtilService = {
|
|
6654
6659
|
name: "UtilService",
|
|
6655
6660
|
|
|
6656
6661
|
data() {
|
|
6657
6662
|
return {
|
|
6658
|
-
DELETE_DELAY: 7000
|
|
6659
|
-
|
|
6663
|
+
DELETE_DELAY: 7000,
|
|
6664
|
+
// you have 7 seconds to cancel object deletion
|
|
6665
|
+
time24HourPattern: /([01]\d|2[0-3]):?([0-5]\d)/,
|
|
6666
|
+
time24HourPatternString: "([01]\\d|2[0-3]):?([0-5]\\d)",
|
|
6667
|
+
time24HourPlaceholder: "hh:mm"
|
|
6660
6668
|
};
|
|
6661
6669
|
},
|
|
6662
6670
|
|
|
@@ -6804,13 +6812,20 @@ var UtilService = {
|
|
|
6804
6812
|
}
|
|
6805
6813
|
|
|
6806
6814
|
return i18nCategories.join(", ");
|
|
6815
|
+
},
|
|
6816
|
+
|
|
6817
|
+
/**
|
|
6818
|
+
* Used in views and components containing an accordion
|
|
6819
|
+
*/
|
|
6820
|
+
toggleAccordion(ev) {
|
|
6821
|
+
this.$refs.accordion.state.map((item, index) => index === ev.changedIndex);
|
|
6807
6822
|
}
|
|
6808
6823
|
|
|
6809
6824
|
}
|
|
6810
6825
|
};
|
|
6811
6826
|
|
|
6812
6827
|
//
|
|
6813
|
-
var script$
|
|
6828
|
+
var script$7 = {
|
|
6814
6829
|
name: "NsPasswordInput",
|
|
6815
6830
|
components: CvTextInput,
|
|
6816
6831
|
mixins: [UtilService],
|
|
@@ -6966,10 +6981,10 @@ var script$4 = {
|
|
|
6966
6981
|
};
|
|
6967
6982
|
|
|
6968
6983
|
/* script */
|
|
6969
|
-
const __vue_script__$
|
|
6984
|
+
const __vue_script__$7 = script$7;
|
|
6970
6985
|
/* template */
|
|
6971
6986
|
|
|
6972
|
-
var __vue_render__$
|
|
6987
|
+
var __vue_render__$d = function () {
|
|
6973
6988
|
var _vm = this;
|
|
6974
6989
|
|
|
6975
6990
|
var _h = _vm.$createElement;
|
|
@@ -7058,10 +7073,10 @@ var __vue_render__$a = function () {
|
|
|
7058
7073
|
}, [_vm._v(_vm._s(_vm.equalLabel))])])], 1)]);
|
|
7059
7074
|
};
|
|
7060
7075
|
|
|
7061
|
-
var __vue_staticRenderFns__$
|
|
7076
|
+
var __vue_staticRenderFns__$d = [];
|
|
7062
7077
|
/* style */
|
|
7063
7078
|
|
|
7064
|
-
const __vue_inject_styles__$
|
|
7079
|
+
const __vue_inject_styles__$d = function (inject) {
|
|
7065
7080
|
if (!inject) return;
|
|
7066
7081
|
inject("data-v-1598af82_0", {
|
|
7067
7082
|
source: ".new-password-container[data-v-1598af82]{margin-bottom:1rem}.new-password[data-v-1598af82]{margin-bottom:.25rem}.confirm-password[data-v-1598af82]{margin-bottom:.25rem}.password-meter[data-v-1598af82]{display:flex}@media (min-width:672px){.password-meter[data-v-1598af82]{max-width:38rem}}.requirement[data-v-1598af82]{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-1598af82]{background-color:#fff}.requirement[data-v-1598af82]:first-child{margin-left:0}.requirement-ok[data-v-1598af82]{color:#fff;background-color:#198038}",
|
|
@@ -7072,27 +7087,26 @@ const __vue_inject_styles__$a = function (inject) {
|
|
|
7072
7087
|
/* scoped */
|
|
7073
7088
|
|
|
7074
7089
|
|
|
7075
|
-
const __vue_scope_id__$
|
|
7090
|
+
const __vue_scope_id__$d = "data-v-1598af82";
|
|
7076
7091
|
/* module identifier */
|
|
7077
7092
|
|
|
7078
|
-
const __vue_module_identifier__$
|
|
7093
|
+
const __vue_module_identifier__$d = undefined;
|
|
7079
7094
|
/* functional template */
|
|
7080
7095
|
|
|
7081
|
-
const __vue_is_functional_template__$
|
|
7096
|
+
const __vue_is_functional_template__$d = false;
|
|
7082
7097
|
/* style inject SSR */
|
|
7083
7098
|
|
|
7084
7099
|
/* style inject shadow dom */
|
|
7085
7100
|
|
|
7086
|
-
const __vue_component__$
|
|
7087
|
-
render: __vue_render__$
|
|
7088
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7089
|
-
}, __vue_inject_styles__$
|
|
7101
|
+
const __vue_component__$q = /*#__PURE__*/normalizeComponent({
|
|
7102
|
+
render: __vue_render__$d,
|
|
7103
|
+
staticRenderFns: __vue_staticRenderFns__$d
|
|
7104
|
+
}, __vue_inject_styles__$d, __vue_script__$7, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, createInjector, undefined, undefined);
|
|
7090
7105
|
|
|
7091
|
-
var __vue_component__$
|
|
7106
|
+
var __vue_component__$r = __vue_component__$q;
|
|
7092
7107
|
|
|
7093
7108
|
//
|
|
7094
|
-
|
|
7095
|
-
var script$3 = {
|
|
7109
|
+
var script$6 = {
|
|
7096
7110
|
name: "NsIconMenu",
|
|
7097
7111
|
extends: CvOverflowMenu,
|
|
7098
7112
|
props: {
|
|
@@ -7121,10 +7135,10 @@ var script$3 = {
|
|
|
7121
7135
|
};
|
|
7122
7136
|
|
|
7123
7137
|
/* script */
|
|
7124
|
-
const __vue_script__$
|
|
7138
|
+
const __vue_script__$6 = script$6;
|
|
7125
7139
|
/* template */
|
|
7126
7140
|
|
|
7127
|
-
var __vue_render__$
|
|
7141
|
+
var __vue_render__$c = function () {
|
|
7128
7142
|
var _obj, _obj$1;
|
|
7129
7143
|
|
|
7130
7144
|
var _vm = this;
|
|
@@ -7236,35 +7250,35 @@ var __vue_render__$9 = function () {
|
|
|
7236
7250
|
})])]);
|
|
7237
7251
|
};
|
|
7238
7252
|
|
|
7239
|
-
var __vue_staticRenderFns__$
|
|
7253
|
+
var __vue_staticRenderFns__$c = [];
|
|
7240
7254
|
/* style */
|
|
7241
7255
|
|
|
7242
|
-
const __vue_inject_styles__$
|
|
7256
|
+
const __vue_inject_styles__$c = undefined;
|
|
7243
7257
|
/* scoped */
|
|
7244
7258
|
|
|
7245
|
-
const __vue_scope_id__$
|
|
7259
|
+
const __vue_scope_id__$c = undefined;
|
|
7246
7260
|
/* module identifier */
|
|
7247
7261
|
|
|
7248
|
-
const __vue_module_identifier__$
|
|
7262
|
+
const __vue_module_identifier__$c = undefined;
|
|
7249
7263
|
/* functional template */
|
|
7250
7264
|
|
|
7251
|
-
const __vue_is_functional_template__$
|
|
7265
|
+
const __vue_is_functional_template__$c = false;
|
|
7252
7266
|
/* style inject */
|
|
7253
7267
|
|
|
7254
7268
|
/* style inject SSR */
|
|
7255
7269
|
|
|
7256
7270
|
/* style inject shadow dom */
|
|
7257
7271
|
|
|
7258
|
-
const __vue_component__$
|
|
7259
|
-
render: __vue_render__$
|
|
7260
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7261
|
-
}, __vue_inject_styles__$
|
|
7272
|
+
const __vue_component__$o = /*#__PURE__*/normalizeComponent({
|
|
7273
|
+
render: __vue_render__$c,
|
|
7274
|
+
staticRenderFns: __vue_staticRenderFns__$c
|
|
7275
|
+
}, __vue_inject_styles__$c, __vue_script__$6, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, undefined, undefined, undefined);
|
|
7262
7276
|
|
|
7263
|
-
var __vue_component__$
|
|
7277
|
+
var __vue_component__$p = __vue_component__$o;
|
|
7264
7278
|
|
|
7265
7279
|
//
|
|
7266
7280
|
Vue.use(chartsVue);
|
|
7267
|
-
var script$
|
|
7281
|
+
var script$5 = {
|
|
7268
7282
|
name: "NsMeterChart",
|
|
7269
7283
|
components: {
|
|
7270
7284
|
CcvMeterChart
|
|
@@ -7338,10 +7352,10 @@ var script$2 = {
|
|
|
7338
7352
|
};
|
|
7339
7353
|
|
|
7340
7354
|
/* script */
|
|
7341
|
-
const __vue_script__$
|
|
7355
|
+
const __vue_script__$5 = script$5;
|
|
7342
7356
|
/* template */
|
|
7343
7357
|
|
|
7344
|
-
var __vue_render__$
|
|
7358
|
+
var __vue_render__$b = function () {
|
|
7345
7359
|
var _vm = this;
|
|
7346
7360
|
|
|
7347
7361
|
var _h = _vm.$createElement;
|
|
@@ -7356,35 +7370,35 @@ var __vue_render__$8 = function () {
|
|
|
7356
7370
|
});
|
|
7357
7371
|
};
|
|
7358
7372
|
|
|
7359
|
-
var __vue_staticRenderFns__$
|
|
7373
|
+
var __vue_staticRenderFns__$b = [];
|
|
7360
7374
|
/* style */
|
|
7361
7375
|
|
|
7362
|
-
const __vue_inject_styles__$
|
|
7376
|
+
const __vue_inject_styles__$b = undefined;
|
|
7363
7377
|
/* scoped */
|
|
7364
7378
|
|
|
7365
|
-
const __vue_scope_id__$
|
|
7379
|
+
const __vue_scope_id__$b = undefined;
|
|
7366
7380
|
/* module identifier */
|
|
7367
7381
|
|
|
7368
|
-
const __vue_module_identifier__$
|
|
7382
|
+
const __vue_module_identifier__$b = undefined;
|
|
7369
7383
|
/* functional template */
|
|
7370
7384
|
|
|
7371
|
-
const __vue_is_functional_template__$
|
|
7385
|
+
const __vue_is_functional_template__$b = false;
|
|
7372
7386
|
/* style inject */
|
|
7373
7387
|
|
|
7374
7388
|
/* style inject SSR */
|
|
7375
7389
|
|
|
7376
7390
|
/* style inject shadow dom */
|
|
7377
7391
|
|
|
7378
|
-
const __vue_component__$
|
|
7379
|
-
render: __vue_render__$
|
|
7380
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7381
|
-
}, __vue_inject_styles__$
|
|
7392
|
+
const __vue_component__$m = /*#__PURE__*/normalizeComponent({
|
|
7393
|
+
render: __vue_render__$b,
|
|
7394
|
+
staticRenderFns: __vue_staticRenderFns__$b
|
|
7395
|
+
}, __vue_inject_styles__$b, __vue_script__$5, __vue_scope_id__$b, __vue_is_functional_template__$b, __vue_module_identifier__$b, false, undefined, undefined, undefined);
|
|
7382
7396
|
|
|
7383
|
-
var __vue_component__$
|
|
7397
|
+
var __vue_component__$n = __vue_component__$m;
|
|
7384
7398
|
|
|
7385
7399
|
//
|
|
7386
7400
|
Vue.use(chartsVue);
|
|
7387
|
-
var script$
|
|
7401
|
+
var script$4 = {
|
|
7388
7402
|
name: "NsPieChart",
|
|
7389
7403
|
components: {},
|
|
7390
7404
|
props: {
|
|
@@ -7440,10 +7454,10 @@ var script$1 = {
|
|
|
7440
7454
|
};
|
|
7441
7455
|
|
|
7442
7456
|
/* script */
|
|
7443
|
-
const __vue_script__$
|
|
7457
|
+
const __vue_script__$4 = script$4;
|
|
7444
7458
|
/* template */
|
|
7445
7459
|
|
|
7446
|
-
var __vue_render__$
|
|
7460
|
+
var __vue_render__$a = function () {
|
|
7447
7461
|
var _vm = this;
|
|
7448
7462
|
|
|
7449
7463
|
var _h = _vm.$createElement;
|
|
@@ -7458,21 +7472,624 @@ var __vue_render__$7 = function () {
|
|
|
7458
7472
|
});
|
|
7459
7473
|
};
|
|
7460
7474
|
|
|
7461
|
-
var __vue_staticRenderFns__$
|
|
7475
|
+
var __vue_staticRenderFns__$a = [];
|
|
7476
|
+
/* style */
|
|
7477
|
+
|
|
7478
|
+
const __vue_inject_styles__$a = undefined;
|
|
7479
|
+
/* scoped */
|
|
7480
|
+
|
|
7481
|
+
const __vue_scope_id__$a = undefined;
|
|
7482
|
+
/* module identifier */
|
|
7483
|
+
|
|
7484
|
+
const __vue_module_identifier__$a = undefined;
|
|
7485
|
+
/* functional template */
|
|
7486
|
+
|
|
7487
|
+
const __vue_is_functional_template__$a = false;
|
|
7488
|
+
/* style inject */
|
|
7489
|
+
|
|
7490
|
+
/* style inject SSR */
|
|
7491
|
+
|
|
7492
|
+
/* style inject shadow dom */
|
|
7493
|
+
|
|
7494
|
+
const __vue_component__$k = /*#__PURE__*/normalizeComponent({
|
|
7495
|
+
render: __vue_render__$a,
|
|
7496
|
+
staticRenderFns: __vue_staticRenderFns__$a
|
|
7497
|
+
}, __vue_inject_styles__$a, __vue_script__$4, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, undefined, undefined, undefined);
|
|
7498
|
+
|
|
7499
|
+
var __vue_component__$l = __vue_component__$k;
|
|
7500
|
+
|
|
7501
|
+
//
|
|
7502
|
+
var script$3 = {
|
|
7503
|
+
name: "NsDangerDeleteModal",
|
|
7504
|
+
//component added for storybook to work
|
|
7505
|
+
components: {
|
|
7506
|
+
NsInlineNotification
|
|
7507
|
+
},
|
|
7508
|
+
mixins: [UtilService],
|
|
7509
|
+
props: {
|
|
7510
|
+
isShown: {
|
|
7511
|
+
type: Boolean,
|
|
7512
|
+
default: true
|
|
7513
|
+
},
|
|
7514
|
+
name: {
|
|
7515
|
+
type: String,
|
|
7516
|
+
required: true
|
|
7517
|
+
},
|
|
7518
|
+
title: {
|
|
7519
|
+
type: String,
|
|
7520
|
+
default: "Confirm deletion"
|
|
7521
|
+
},
|
|
7522
|
+
warning: {
|
|
7523
|
+
type: String,
|
|
7524
|
+
default: "Please read carefully"
|
|
7525
|
+
},
|
|
7526
|
+
description: {
|
|
7527
|
+
type: String,
|
|
7528
|
+
default: "Do you really want to delete this object? This action is irreversible"
|
|
7529
|
+
},
|
|
7530
|
+
typeToConfirm: {
|
|
7531
|
+
type: String,
|
|
7532
|
+
default: ""
|
|
7533
|
+
},
|
|
7534
|
+
cancelLabel: {
|
|
7535
|
+
type: String,
|
|
7536
|
+
default: "Cancel"
|
|
7537
|
+
},
|
|
7538
|
+
deleteLabel: {
|
|
7539
|
+
type: String,
|
|
7540
|
+
default: "I understand, delete"
|
|
7541
|
+
}
|
|
7542
|
+
},
|
|
7543
|
+
|
|
7544
|
+
data() {
|
|
7545
|
+
return {
|
|
7546
|
+
userInput: ""
|
|
7547
|
+
};
|
|
7548
|
+
},
|
|
7549
|
+
|
|
7550
|
+
computed: {
|
|
7551
|
+
typeToConfirmMessage() {
|
|
7552
|
+
if (this.typeToConfirm) {
|
|
7553
|
+
return this.typeToConfirm;
|
|
7554
|
+
} else {
|
|
7555
|
+
return `Type <strong>${this.name}</strong> to confirm deletion`;
|
|
7556
|
+
}
|
|
7557
|
+
}
|
|
7558
|
+
|
|
7559
|
+
},
|
|
7560
|
+
watch: {
|
|
7561
|
+
isShown: function () {
|
|
7562
|
+
if (this.isShown) {
|
|
7563
|
+
this.userInput = "";
|
|
7564
|
+
setTimeout(() => {
|
|
7565
|
+
this.focusElement("userInput");
|
|
7566
|
+
}, 300);
|
|
7567
|
+
}
|
|
7568
|
+
}
|
|
7569
|
+
},
|
|
7570
|
+
methods: {
|
|
7571
|
+
onModalHidden() {
|
|
7572
|
+
this.$emit("hide");
|
|
7573
|
+
},
|
|
7574
|
+
|
|
7575
|
+
confirmDelete() {
|
|
7576
|
+
if (this.name == this.userInput) {
|
|
7577
|
+
this.$emit("confirmDelete");
|
|
7578
|
+
}
|
|
7579
|
+
}
|
|
7580
|
+
|
|
7581
|
+
}
|
|
7582
|
+
};
|
|
7583
|
+
|
|
7584
|
+
/* script */
|
|
7585
|
+
const __vue_script__$3 = script$3;
|
|
7586
|
+
/* template */
|
|
7587
|
+
|
|
7588
|
+
var __vue_render__$9 = function () {
|
|
7589
|
+
var _vm = this;
|
|
7590
|
+
|
|
7591
|
+
var _h = _vm.$createElement;
|
|
7592
|
+
|
|
7593
|
+
var _c = _vm._self._c || _h;
|
|
7594
|
+
|
|
7595
|
+
return _c('cv-modal', {
|
|
7596
|
+
attrs: {
|
|
7597
|
+
"kind": "danger",
|
|
7598
|
+
"size": "default",
|
|
7599
|
+
"visible": _vm.isShown,
|
|
7600
|
+
"primary-button-disabled": _vm.name !== _vm.userInput
|
|
7601
|
+
},
|
|
7602
|
+
on: {
|
|
7603
|
+
"modal-hidden": _vm.onModalHidden,
|
|
7604
|
+
"primary-click": _vm.confirmDelete
|
|
7605
|
+
}
|
|
7606
|
+
}, [_c('template', {
|
|
7607
|
+
slot: "title"
|
|
7608
|
+
}, [_vm._v(_vm._s(_vm.title))]), _vm._v(" "), _c('template', {
|
|
7609
|
+
slot: "content"
|
|
7610
|
+
}, [_c('NsInlineNotification', {
|
|
7611
|
+
attrs: {
|
|
7612
|
+
"kind": "warning",
|
|
7613
|
+
"title": _vm.warning,
|
|
7614
|
+
"showCloseButton": false
|
|
7615
|
+
}
|
|
7616
|
+
}), _vm._v(" "), _c('div', {
|
|
7617
|
+
domProps: {
|
|
7618
|
+
"innerHTML": _vm._s(_vm.description)
|
|
7619
|
+
}
|
|
7620
|
+
}), _vm._v(" "), _vm._t("explanation"), _vm._v(" "), _c('div', {
|
|
7621
|
+
staticClass: "type-to-confirm",
|
|
7622
|
+
domProps: {
|
|
7623
|
+
"innerHTML": _vm._s(_vm.typeToConfirmMessage)
|
|
7624
|
+
}
|
|
7625
|
+
}), _vm._v(" "), _c('cv-form', {
|
|
7626
|
+
on: {
|
|
7627
|
+
"submit": function ($event) {
|
|
7628
|
+
$event.preventDefault();
|
|
7629
|
+
return _vm.confirmDelete.apply(null, arguments);
|
|
7630
|
+
}
|
|
7631
|
+
}
|
|
7632
|
+
}, [_c('cv-text-input', {
|
|
7633
|
+
ref: "userInput",
|
|
7634
|
+
staticClass: "mg-bottom-md",
|
|
7635
|
+
model: {
|
|
7636
|
+
value: _vm.userInput,
|
|
7637
|
+
callback: function ($$v) {
|
|
7638
|
+
_vm.userInput = $$v;
|
|
7639
|
+
},
|
|
7640
|
+
expression: "userInput"
|
|
7641
|
+
}
|
|
7642
|
+
})], 1)], 2), _vm._v(" "), _c('template', {
|
|
7643
|
+
slot: "secondary-button"
|
|
7644
|
+
}, [_vm._v(_vm._s(_vm.cancelLabel))]), _vm._v(" "), _c('template', {
|
|
7645
|
+
slot: "primary-button"
|
|
7646
|
+
}, [_vm._v(_vm._s(_vm.deleteLabel))])], 2);
|
|
7647
|
+
};
|
|
7648
|
+
|
|
7649
|
+
var __vue_staticRenderFns__$9 = [];
|
|
7462
7650
|
/* style */
|
|
7463
7651
|
|
|
7464
|
-
const __vue_inject_styles__$
|
|
7652
|
+
const __vue_inject_styles__$9 = function (inject) {
|
|
7653
|
+
if (!inject) return;
|
|
7654
|
+
inject("data-v-97f667a6_0", {
|
|
7655
|
+
source: ".type-to-confirm[data-v-97f667a6]{margin-top:2rem}",
|
|
7656
|
+
map: undefined,
|
|
7657
|
+
media: undefined
|
|
7658
|
+
});
|
|
7659
|
+
};
|
|
7660
|
+
/* scoped */
|
|
7661
|
+
|
|
7662
|
+
|
|
7663
|
+
const __vue_scope_id__$9 = "data-v-97f667a6";
|
|
7664
|
+
/* module identifier */
|
|
7665
|
+
|
|
7666
|
+
const __vue_module_identifier__$9 = undefined;
|
|
7667
|
+
/* functional template */
|
|
7668
|
+
|
|
7669
|
+
const __vue_is_functional_template__$9 = false;
|
|
7670
|
+
/* style inject SSR */
|
|
7671
|
+
|
|
7672
|
+
/* style inject shadow dom */
|
|
7673
|
+
|
|
7674
|
+
const __vue_component__$i = /*#__PURE__*/normalizeComponent({
|
|
7675
|
+
render: __vue_render__$9,
|
|
7676
|
+
staticRenderFns: __vue_staticRenderFns__$9
|
|
7677
|
+
}, __vue_inject_styles__$9, __vue_script__$3, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, createInjector, undefined, undefined);
|
|
7678
|
+
|
|
7679
|
+
var __vue_component__$j = __vue_component__$i;
|
|
7680
|
+
|
|
7681
|
+
var IconService = {
|
|
7682
|
+
name: "IconService",
|
|
7683
|
+
|
|
7684
|
+
data() {
|
|
7685
|
+
return {
|
|
7686
|
+
Close20,
|
|
7687
|
+
ArrowRight20,
|
|
7688
|
+
ArrowRight32,
|
|
7689
|
+
Notification20,
|
|
7690
|
+
UserAvatar20,
|
|
7691
|
+
AppSwitcher20,
|
|
7692
|
+
Search20,
|
|
7693
|
+
RowExpand20,
|
|
7694
|
+
RowCollapse20,
|
|
7695
|
+
Reset20,
|
|
7696
|
+
Download20,
|
|
7697
|
+
Launch20,
|
|
7698
|
+
Upgrade20,
|
|
7699
|
+
Settings20,
|
|
7700
|
+
ChevronDown20,
|
|
7701
|
+
ChevronUp20,
|
|
7702
|
+
ChevronLeft20,
|
|
7703
|
+
ChevronRight20,
|
|
7704
|
+
Information20,
|
|
7705
|
+
Application20,
|
|
7706
|
+
// used for apps, module instances and software center
|
|
7707
|
+
Application32,
|
|
7708
|
+
Add20,
|
|
7709
|
+
Rocket20,
|
|
7710
|
+
Rocket32,
|
|
7711
|
+
Chip20,
|
|
7712
|
+
// used for cluster nodes
|
|
7713
|
+
Chip32,
|
|
7714
|
+
Save20,
|
|
7715
|
+
// used for save buttons and backups
|
|
7716
|
+
Save32,
|
|
7717
|
+
Copy20,
|
|
7718
|
+
EdgeNode20,
|
|
7719
|
+
EdgeNode32,
|
|
7720
|
+
Cube32,
|
|
7721
|
+
// used for systemd services
|
|
7722
|
+
EdgeCluster20,
|
|
7723
|
+
// used for cluster
|
|
7724
|
+
EdgeCluster32,
|
|
7725
|
+
Connect32,
|
|
7726
|
+
// used for join cluster
|
|
7727
|
+
Connect20,
|
|
7728
|
+
Edit20,
|
|
7729
|
+
Password20,
|
|
7730
|
+
Star20,
|
|
7731
|
+
Checkmark20,
|
|
7732
|
+
ZoomIn20,
|
|
7733
|
+
// used to open details
|
|
7734
|
+
Events32,
|
|
7735
|
+
// used for domains
|
|
7736
|
+
Link20,
|
|
7737
|
+
// used for URLs and external domain providers
|
|
7738
|
+
Link32,
|
|
7739
|
+
WarningAlt20,
|
|
7740
|
+
WarningAlt32,
|
|
7741
|
+
Tools20,
|
|
7742
|
+
Tools32,
|
|
7743
|
+
Network_220,
|
|
7744
|
+
Network_232,
|
|
7745
|
+
DataBase20,
|
|
7746
|
+
// used for backup repositories
|
|
7747
|
+
DataBase32,
|
|
7748
|
+
DataBackup20,
|
|
7749
|
+
DataBackup32,
|
|
7750
|
+
ArrowDown20,
|
|
7751
|
+
ArrowDown32,
|
|
7752
|
+
Time20,
|
|
7753
|
+
Time32,
|
|
7754
|
+
Hourglass20,
|
|
7755
|
+
Hourglass32,
|
|
7756
|
+
CheckmarkFilled16,
|
|
7757
|
+
CheckmarkFilled20,
|
|
7758
|
+
CheckmarkFilled32,
|
|
7759
|
+
ErrorFilled16,
|
|
7760
|
+
ErrorFilled20,
|
|
7761
|
+
ErrorFilled32,
|
|
7762
|
+
Warning16,
|
|
7763
|
+
Warning20,
|
|
7764
|
+
Warning32
|
|
7765
|
+
};
|
|
7766
|
+
}
|
|
7767
|
+
|
|
7768
|
+
};
|
|
7769
|
+
|
|
7770
|
+
//
|
|
7771
|
+
var script$2 = {
|
|
7772
|
+
name: "NsDropdownAction",
|
|
7773
|
+
extends: CvOverflowMenu,
|
|
7774
|
+
components: {
|
|
7775
|
+
NsSvg
|
|
7776
|
+
},
|
|
7777
|
+
mixins: [IconService],
|
|
7778
|
+
props: {
|
|
7779
|
+
kind: {
|
|
7780
|
+
type: String,
|
|
7781
|
+
default: "secondary",
|
|
7782
|
+
validator: val => ["default", "primary", "secondary", "tertiary", "ghost", "danger", "danger--ghost", "danger--tertiary"].includes(val)
|
|
7783
|
+
},
|
|
7784
|
+
up: Boolean,
|
|
7785
|
+
offset: {
|
|
7786
|
+
type: Object,
|
|
7787
|
+
|
|
7788
|
+
validator(value) {
|
|
7789
|
+
return value && value.left !== undefined && value.top !== undefined;
|
|
7790
|
+
}
|
|
7791
|
+
|
|
7792
|
+
}
|
|
7793
|
+
},
|
|
7794
|
+
computed: {
|
|
7795
|
+
lowerCaseKind() {
|
|
7796
|
+
return this.kind.toLowerCase();
|
|
7797
|
+
}
|
|
7798
|
+
|
|
7799
|
+
}
|
|
7800
|
+
};
|
|
7801
|
+
|
|
7802
|
+
/* script */
|
|
7803
|
+
const __vue_script__$2 = script$2;
|
|
7804
|
+
/* template */
|
|
7805
|
+
|
|
7806
|
+
var __vue_render__$8 = function () {
|
|
7807
|
+
var _obj, _obj$1;
|
|
7808
|
+
|
|
7809
|
+
var _vm = this;
|
|
7810
|
+
|
|
7811
|
+
var _h = _vm.$createElement;
|
|
7812
|
+
|
|
7813
|
+
var _c = _vm._self._c || _h;
|
|
7814
|
+
|
|
7815
|
+
return _c('div', {
|
|
7816
|
+
class: ["cv-overflow-menu"],
|
|
7817
|
+
attrs: {
|
|
7818
|
+
"data-overflow-menu": "",
|
|
7819
|
+
"id": _vm.uid
|
|
7820
|
+
}
|
|
7821
|
+
}, [_c('button', {
|
|
7822
|
+
ref: "trigger",
|
|
7823
|
+
class: ["bx--btn--" + _vm.lowerCaseKind, 'bx--btn', 'bx--btn--field', (_obj = {}, _obj[_vm.carbonPrefix + "--overflow-menu--open"] = _vm.open, _obj)],
|
|
7824
|
+
attrs: {
|
|
7825
|
+
"aria-haspopup": "",
|
|
7826
|
+
"type": "button",
|
|
7827
|
+
"aria-expanded": _vm.open ? 'true' : 'false',
|
|
7828
|
+
"aria-controls": _vm.uid + "-menu",
|
|
7829
|
+
"id": _vm.uid + "-trigger"
|
|
7830
|
+
},
|
|
7831
|
+
on: {
|
|
7832
|
+
"click": _vm.doToggle,
|
|
7833
|
+
"keydown": [function ($event) {
|
|
7834
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "space", 32, $event.key, [" ", "Spacebar"])) {
|
|
7835
|
+
return null;
|
|
7836
|
+
}
|
|
7837
|
+
|
|
7838
|
+
$event.preventDefault();
|
|
7839
|
+
}, function ($event) {
|
|
7840
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
|
|
7841
|
+
return null;
|
|
7842
|
+
}
|
|
7843
|
+
|
|
7844
|
+
$event.preventDefault();
|
|
7845
|
+
return _vm.doToggle.apply(null, arguments);
|
|
7846
|
+
}, function ($event) {
|
|
7847
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
|
|
7848
|
+
return null;
|
|
7849
|
+
}
|
|
7850
|
+
|
|
7851
|
+
return _vm.onOverflowMenuTab.apply(null, arguments);
|
|
7852
|
+
}],
|
|
7853
|
+
"keyup": function ($event) {
|
|
7854
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "space", 32, $event.key, [" ", "Spacebar"])) {
|
|
7855
|
+
return null;
|
|
7856
|
+
}
|
|
7857
|
+
|
|
7858
|
+
$event.preventDefault();
|
|
7859
|
+
return _vm.doToggle.apply(null, arguments);
|
|
7860
|
+
}
|
|
7861
|
+
}
|
|
7862
|
+
}, [_vm._t("trigger"), _vm._v(" "), _c('NsSvg', {
|
|
7863
|
+
class: _vm.carbonPrefix + "--btn__icon",
|
|
7864
|
+
attrs: {
|
|
7865
|
+
"svg": _vm.ChevronDown20
|
|
7866
|
+
}
|
|
7867
|
+
})], 2), _vm._v(" "), _c('div', {
|
|
7868
|
+
ref: "popup",
|
|
7869
|
+
class: [_vm.carbonPrefix + "--overflow-menu-options", (_obj$1 = {}, _obj$1[_vm.carbonPrefix + "--overflow-menu-options--open"] = _vm.open, _obj$1)],
|
|
7870
|
+
style: {
|
|
7871
|
+
left: _vm.left + 'px',
|
|
7872
|
+
top: _vm.top + 'px'
|
|
7873
|
+
},
|
|
7874
|
+
attrs: {
|
|
7875
|
+
"tabindex": "-1",
|
|
7876
|
+
"aria-labelledby": _vm.uid + "-trigger",
|
|
7877
|
+
"id": _vm.uid + "-menu"
|
|
7878
|
+
},
|
|
7879
|
+
on: {
|
|
7880
|
+
"focusout": _vm.checkFocusOut,
|
|
7881
|
+
"mousedown": function ($event) {
|
|
7882
|
+
$event.preventDefault();
|
|
7883
|
+
return _vm.preventFocusOut.apply(null, arguments);
|
|
7884
|
+
}
|
|
7885
|
+
}
|
|
7886
|
+
}, [_c('ul', {
|
|
7887
|
+
class: _vm.carbonPrefix + "--overflow-menu-options__content"
|
|
7888
|
+
}, [_vm._t("default")], 2), _vm._v(" "), _c('div', {
|
|
7889
|
+
ref: "afterContent",
|
|
7890
|
+
staticClass: "cv-overflow-menu__after-content",
|
|
7891
|
+
staticStyle: {
|
|
7892
|
+
"position": "absolute",
|
|
7893
|
+
"height": "1px",
|
|
7894
|
+
"width": "1px",
|
|
7895
|
+
"left": "-9999px"
|
|
7896
|
+
},
|
|
7897
|
+
attrs: {
|
|
7898
|
+
"tabindex": "0"
|
|
7899
|
+
},
|
|
7900
|
+
on: {
|
|
7901
|
+
"focus": _vm.focusAfterContent
|
|
7902
|
+
}
|
|
7903
|
+
})])]);
|
|
7904
|
+
};
|
|
7905
|
+
|
|
7906
|
+
var __vue_staticRenderFns__$8 = [];
|
|
7907
|
+
/* style */
|
|
7908
|
+
|
|
7909
|
+
const __vue_inject_styles__$8 = undefined;
|
|
7910
|
+
/* scoped */
|
|
7911
|
+
|
|
7912
|
+
const __vue_scope_id__$8 = "data-v-31925b9d";
|
|
7913
|
+
/* module identifier */
|
|
7914
|
+
|
|
7915
|
+
const __vue_module_identifier__$8 = undefined;
|
|
7916
|
+
/* functional template */
|
|
7917
|
+
|
|
7918
|
+
const __vue_is_functional_template__$8 = false;
|
|
7919
|
+
/* style inject */
|
|
7920
|
+
|
|
7921
|
+
/* style inject SSR */
|
|
7922
|
+
|
|
7923
|
+
/* style inject shadow dom */
|
|
7924
|
+
|
|
7925
|
+
const __vue_component__$g = /*#__PURE__*/normalizeComponent({
|
|
7926
|
+
render: __vue_render__$8,
|
|
7927
|
+
staticRenderFns: __vue_staticRenderFns__$8
|
|
7928
|
+
}, __vue_inject_styles__$8, __vue_script__$2, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, undefined, undefined, undefined);
|
|
7929
|
+
|
|
7930
|
+
var __vue_component__$h = __vue_component__$g;
|
|
7931
|
+
|
|
7932
|
+
//
|
|
7933
|
+
var script$1 = {
|
|
7934
|
+
name: "NsTextInput",
|
|
7935
|
+
extends: CvTextInput,
|
|
7936
|
+
components: {
|
|
7937
|
+
WarningFilled16,
|
|
7938
|
+
WarningAltFilled16,
|
|
7939
|
+
View16,
|
|
7940
|
+
ViewOff16
|
|
7941
|
+
},
|
|
7942
|
+
props: {
|
|
7943
|
+
helperText: {
|
|
7944
|
+
type: String,
|
|
7945
|
+
default: undefined
|
|
7946
|
+
},
|
|
7947
|
+
invalidMessage: {
|
|
7948
|
+
type: String,
|
|
7949
|
+
default: undefined
|
|
7950
|
+
},
|
|
7951
|
+
label: String,
|
|
7952
|
+
passwordHideLabel: {
|
|
7953
|
+
type: String,
|
|
7954
|
+
default: "Hide password"
|
|
7955
|
+
},
|
|
7956
|
+
passwordShowLabel: {
|
|
7957
|
+
type: String,
|
|
7958
|
+
default: "Show password"
|
|
7959
|
+
},
|
|
7960
|
+
passwordVisible: Boolean,
|
|
7961
|
+
type: String,
|
|
7962
|
+
value: String,
|
|
7963
|
+
warnText: {
|
|
7964
|
+
type: String,
|
|
7965
|
+
default: undefined
|
|
7966
|
+
},
|
|
7967
|
+
tooltipAlignment: {
|
|
7968
|
+
type: String,
|
|
7969
|
+
default: "center",
|
|
7970
|
+
validator: val => ["start", "center", "end"].includes(val)
|
|
7971
|
+
},
|
|
7972
|
+
tooltipDirection: {
|
|
7973
|
+
type: String,
|
|
7974
|
+
default: "bottom",
|
|
7975
|
+
validator: val => ["top", "left", "bottom", "right".includes(val)]
|
|
7976
|
+
}
|
|
7977
|
+
},
|
|
7978
|
+
computed: {
|
|
7979
|
+
hasTooltipSlot() {
|
|
7980
|
+
return !!this.$slots.tooltip;
|
|
7981
|
+
}
|
|
7982
|
+
|
|
7983
|
+
}
|
|
7984
|
+
};
|
|
7985
|
+
|
|
7986
|
+
/* script */
|
|
7987
|
+
const __vue_script__$1 = script$1;
|
|
7988
|
+
/* template */
|
|
7989
|
+
|
|
7990
|
+
var __vue_render__$7 = function () {
|
|
7991
|
+
var _obj, _obj$1, _obj$2, _obj$3, _obj$4, _obj$5;
|
|
7992
|
+
|
|
7993
|
+
var _vm = this;
|
|
7994
|
+
|
|
7995
|
+
var _h = _vm.$createElement;
|
|
7996
|
+
|
|
7997
|
+
var _c = _vm._self._c || _h;
|
|
7998
|
+
|
|
7999
|
+
return _c('div', {
|
|
8000
|
+
class: ["cv-text-input", "ns-text-input", _vm.carbonPrefix + "--form-item", _vm.carbonPrefix + "--text-input-wrapper", (_obj = {}, _obj[_vm.carbonPrefix + "--password-input-wrapper"] = _vm.isPassword, _obj)]
|
|
8001
|
+
}, [_vm.hasTooltipSlot ? _c('div', [_c('label', {
|
|
8002
|
+
class: [_vm.carbonPrefix + "--label", (_obj$1 = {}, _obj$1[_vm.carbonPrefix + "--label--disabled"] = _vm.$attrs.disabled !== undefined && _vm.$attrs.disabled, _obj$1)],
|
|
8003
|
+
attrs: {
|
|
8004
|
+
"for": _vm.uid
|
|
8005
|
+
}
|
|
8006
|
+
}, [_vm._v(_vm._s(_vm.label))]), _vm._v(" "), _c('cv-interactive-tooltip', {
|
|
8007
|
+
staticClass: "tooltip",
|
|
8008
|
+
attrs: {
|
|
8009
|
+
"alignment": _vm.tooltipAlignment,
|
|
8010
|
+
"direction": _vm.tooltipDirection
|
|
8011
|
+
}
|
|
8012
|
+
}, [_c('template', {
|
|
8013
|
+
slot: "content"
|
|
8014
|
+
}, [_vm._t("tooltip")], 2)], 2)], 1) : _c('label', {
|
|
8015
|
+
class: [_vm.carbonPrefix + "--label", (_obj$2 = {}, _obj$2[_vm.carbonPrefix + "--label--disabled"] = _vm.$attrs.disabled !== undefined && _vm.$attrs.disabled, _obj$2)],
|
|
8016
|
+
attrs: {
|
|
8017
|
+
"for": _vm.uid
|
|
8018
|
+
}
|
|
8019
|
+
}, [_vm._v(_vm._s(_vm.label))]), _vm._v(" "), _c('div', {
|
|
8020
|
+
class: [_vm.carbonPrefix + "--text-input__field-wrapper", (_obj$3 = {}, _obj$3[_vm.carbonPrefix + "--text-input__field-wrapper--warning"] = !_vm.isInvalid && _vm.isWarn, _obj$3)],
|
|
8021
|
+
attrs: {
|
|
8022
|
+
"data-invalid": _vm.isInvalid
|
|
8023
|
+
}
|
|
8024
|
+
}, [_vm.isInvalid ? _c('WarningFilled16', {
|
|
8025
|
+
class: _vm.carbonPrefix + "--text-input__invalid-icon"
|
|
8026
|
+
}) : _vm._e(), _vm._v(" "), _vm.isWarn ? _c('WarningAltFilled16', {
|
|
8027
|
+
class: _vm.carbonPrefix + "--text-input__invalid-icon " + _vm.carbonPrefix + "--text-input__invalid-icon--warning"
|
|
8028
|
+
}) : _vm._e(), _vm._v(" "), _c('input', _vm._g(_vm._b({
|
|
8029
|
+
ref: "input",
|
|
8030
|
+
class: [_vm.carbonPrefix + "--text-input", (_obj$4 = {}, _obj$4[_vm.carbonPrefix + "--text-input--light"] = _vm.isLight, _obj$4[_vm.carbonPrefix + "--text-input--invalid"] = _vm.isInvalid, _obj$4[_vm.carbonPrefix + "--text-input--warning"] = _vm.isWarn, _obj$4[_vm.carbonPrefix + "--password-input"] = _vm.isPassword, _obj$4)],
|
|
8031
|
+
attrs: {
|
|
8032
|
+
"id": _vm.uid,
|
|
8033
|
+
"data-toggle-password-visibility": _vm.isPassword,
|
|
8034
|
+
"type": _vm.dataType
|
|
8035
|
+
},
|
|
8036
|
+
domProps: {
|
|
8037
|
+
"value": _vm.value
|
|
8038
|
+
}
|
|
8039
|
+
}, 'input', _vm.$attrs, false), _vm.inputListeners)), _vm._v(" "), _vm.isPassword ? _c('button', {
|
|
8040
|
+
class: [_vm.carbonPrefix + "--btn", _vm.carbonPrefix + "--text-input--password__visibility__toggle", _vm.carbonPrefix + "--tooltip__trigger", _vm.carbonPrefix + "--tooltip--a11y", _vm.carbonPrefix + "--tooltip--bottom", _vm.carbonPrefix + "--tooltip--align-center"],
|
|
8041
|
+
attrs: {
|
|
8042
|
+
"type": "button"
|
|
8043
|
+
},
|
|
8044
|
+
on: {
|
|
8045
|
+
"click": _vm.togglePasswordVisibility
|
|
8046
|
+
}
|
|
8047
|
+
}, [_c('span', {
|
|
8048
|
+
class: _vm.carbonPrefix + "--assistive-text"
|
|
8049
|
+
}, [_vm._v(_vm._s(_vm.passwordHideShowLabel))]), _vm._v(" "), _vm.isPasswordVisible ? _c('ViewOff16', {
|
|
8050
|
+
class: _vm.carbonPrefix + "--icon-visibility-off"
|
|
8051
|
+
}) : _c('View16', {
|
|
8052
|
+
class: _vm.carbonPrefix + "--icon-visibility-off"
|
|
8053
|
+
})], 1) : _vm._e()], 1), _vm._v(" "), _vm.isInvalid ? _c('div', {
|
|
8054
|
+
class: _vm.carbonPrefix + "--form-requirement"
|
|
8055
|
+
}, [_vm._t("invalid-message", function () {
|
|
8056
|
+
return [_vm._v(_vm._s(_vm.invalidMessage))];
|
|
8057
|
+
})], 2) : _vm._e(), _vm._v(" "), _vm.isWarn ? _c('div', {
|
|
8058
|
+
class: _vm.carbonPrefix + "--form__requirement"
|
|
8059
|
+
}, [_vm._t("warn-text", function () {
|
|
8060
|
+
return [_vm._v(_vm._s(_vm.warnText))];
|
|
8061
|
+
})], 2) : _vm._e(), _vm._v(" "), _vm.isHelper ? _c('div', {
|
|
8062
|
+
class: [_vm.carbonPrefix + "--form__helper-text", (_obj$5 = {}, _obj$5[_vm.carbonPrefix + "--form__helper-text--disabled"] = _vm.$attrs.disabled, _obj$5)]
|
|
8063
|
+
}, [_vm._t("helper-text", function () {
|
|
8064
|
+
return [_vm._v(_vm._s(_vm.helperText))];
|
|
8065
|
+
})], 2) : _vm._e()]);
|
|
8066
|
+
};
|
|
8067
|
+
|
|
8068
|
+
var __vue_staticRenderFns__$7 = [];
|
|
8069
|
+
/* style */
|
|
8070
|
+
|
|
8071
|
+
const __vue_inject_styles__$7 = function (inject) {
|
|
8072
|
+
if (!inject) return;
|
|
8073
|
+
inject("data-v-1a7ed132_0", {
|
|
8074
|
+
source: ".tooltip[data-v-1a7ed132]{display:inline-block;position:absolute}",
|
|
8075
|
+
map: undefined,
|
|
8076
|
+
media: undefined
|
|
8077
|
+
}), inject("data-v-1a7ed132_1", {
|
|
8078
|
+
source: ".ns-text-input .bx--tooltip__label .bx--tooltip__trigger{margin-left:.25rem}",
|
|
8079
|
+
map: undefined,
|
|
8080
|
+
media: undefined
|
|
8081
|
+
});
|
|
8082
|
+
};
|
|
7465
8083
|
/* scoped */
|
|
7466
8084
|
|
|
7467
|
-
|
|
8085
|
+
|
|
8086
|
+
const __vue_scope_id__$7 = "data-v-1a7ed132";
|
|
7468
8087
|
/* module identifier */
|
|
7469
8088
|
|
|
7470
8089
|
const __vue_module_identifier__$7 = undefined;
|
|
7471
8090
|
/* functional template */
|
|
7472
8091
|
|
|
7473
8092
|
const __vue_is_functional_template__$7 = false;
|
|
7474
|
-
/* style inject */
|
|
7475
|
-
|
|
7476
8093
|
/* style inject SSR */
|
|
7477
8094
|
|
|
7478
8095
|
/* style inject shadow dom */
|
|
@@ -7480,87 +8097,142 @@ const __vue_is_functional_template__$7 = false;
|
|
|
7480
8097
|
const __vue_component__$e = /*#__PURE__*/normalizeComponent({
|
|
7481
8098
|
render: __vue_render__$7,
|
|
7482
8099
|
staticRenderFns: __vue_staticRenderFns__$7
|
|
7483
|
-
}, __vue_inject_styles__$7, __vue_script__$1, __vue_scope_id__$7, __vue_is_functional_template__$7, __vue_module_identifier__$7, false,
|
|
8100
|
+
}, __vue_inject_styles__$7, __vue_script__$1, __vue_scope_id__$7, __vue_is_functional_template__$7, __vue_module_identifier__$7, false, createInjector, undefined, undefined);
|
|
7484
8101
|
|
|
7485
8102
|
var __vue_component__$f = __vue_component__$e;
|
|
7486
8103
|
|
|
7487
8104
|
//
|
|
7488
8105
|
var script = {
|
|
7489
|
-
name: "
|
|
7490
|
-
|
|
7491
|
-
components: {
|
|
7492
|
-
NsInlineNotification
|
|
7493
|
-
},
|
|
7494
|
-
mixins: [UtilService, UtilService],
|
|
8106
|
+
name: "NsBackupCard",
|
|
8107
|
+
mixins: [IconService],
|
|
7495
8108
|
props: {
|
|
7496
|
-
|
|
7497
|
-
type:
|
|
7498
|
-
default:
|
|
8109
|
+
title: {
|
|
8110
|
+
type: String,
|
|
8111
|
+
default: "Backup"
|
|
7499
8112
|
},
|
|
7500
|
-
|
|
8113
|
+
noBackupMessage: {
|
|
7501
8114
|
type: String,
|
|
7502
|
-
|
|
8115
|
+
default: "No backup configured"
|
|
7503
8116
|
},
|
|
7504
|
-
|
|
8117
|
+
scheduleBackupLabel: {
|
|
7505
8118
|
type: String,
|
|
7506
|
-
default: "
|
|
8119
|
+
default: "Configure"
|
|
7507
8120
|
},
|
|
7508
|
-
|
|
8121
|
+
goToBackupLabel: {
|
|
7509
8122
|
type: String,
|
|
7510
|
-
default: "
|
|
8123
|
+
default: "Go to Backup"
|
|
7511
8124
|
},
|
|
7512
|
-
|
|
8125
|
+
repositoryLabel: {
|
|
7513
8126
|
type: String,
|
|
7514
|
-
default: "
|
|
8127
|
+
default: "Repository"
|
|
7515
8128
|
},
|
|
7516
|
-
|
|
8129
|
+
statusLabel: {
|
|
7517
8130
|
type: String,
|
|
7518
|
-
default: ""
|
|
8131
|
+
default: "Status"
|
|
7519
8132
|
},
|
|
7520
|
-
|
|
8133
|
+
statusSuccessLabel: {
|
|
7521
8134
|
type: String,
|
|
7522
|
-
default: "
|
|
8135
|
+
default: "Success"
|
|
7523
8136
|
},
|
|
7524
|
-
|
|
8137
|
+
statusNotRunLabel: {
|
|
7525
8138
|
type: String,
|
|
7526
|
-
default: "
|
|
7527
|
-
}
|
|
8139
|
+
default: "Backup has not run yet"
|
|
8140
|
+
},
|
|
8141
|
+
statusErrorLabel: {
|
|
8142
|
+
type: String,
|
|
8143
|
+
default: "Error"
|
|
8144
|
+
},
|
|
8145
|
+
completedLabel: {
|
|
8146
|
+
type: String,
|
|
8147
|
+
default: "Completed"
|
|
8148
|
+
},
|
|
8149
|
+
durationLabel: {
|
|
8150
|
+
type: String,
|
|
8151
|
+
default: "Duration"
|
|
8152
|
+
},
|
|
8153
|
+
totalSizeLabel: {
|
|
8154
|
+
type: String,
|
|
8155
|
+
default: "Total size"
|
|
8156
|
+
},
|
|
8157
|
+
totalFileCountLabel: {
|
|
8158
|
+
type: String,
|
|
8159
|
+
default: "Total file count"
|
|
8160
|
+
},
|
|
8161
|
+
backupDisabledLabel: {
|
|
8162
|
+
type: String,
|
|
8163
|
+
default: "Disabled"
|
|
8164
|
+
},
|
|
8165
|
+
moduleId: {
|
|
8166
|
+
type: String,
|
|
8167
|
+
required: true
|
|
8168
|
+
},
|
|
8169
|
+
moduleUiName: {
|
|
8170
|
+
type: String,
|
|
8171
|
+
default: ""
|
|
8172
|
+
},
|
|
8173
|
+
repositories: {
|
|
8174
|
+
type: Array,
|
|
8175
|
+
required: true
|
|
8176
|
+
},
|
|
8177
|
+
backups: {
|
|
8178
|
+
type: Array,
|
|
8179
|
+
required: true
|
|
8180
|
+
},
|
|
8181
|
+
loading: {
|
|
8182
|
+
type: Boolean,
|
|
8183
|
+
default: false
|
|
8184
|
+
},
|
|
8185
|
+
coreContext: {
|
|
8186
|
+
type: Object,
|
|
8187
|
+
required: true
|
|
8188
|
+
},
|
|
8189
|
+
light: Boolean
|
|
7528
8190
|
},
|
|
7529
8191
|
|
|
7530
8192
|
data() {
|
|
7531
8193
|
return {
|
|
7532
|
-
|
|
8194
|
+
backupsContainingInstance: [],
|
|
8195
|
+
status: []
|
|
7533
8196
|
};
|
|
7534
8197
|
},
|
|
7535
8198
|
|
|
7536
|
-
computed: {
|
|
7537
|
-
typeToConfirmMessage() {
|
|
7538
|
-
if (this.typeToConfirm) {
|
|
7539
|
-
return this.typeToConfirm;
|
|
7540
|
-
} else {
|
|
7541
|
-
return `Type <strong>${this.name}</strong> to confirm deletion`;
|
|
7542
|
-
}
|
|
7543
|
-
}
|
|
7544
|
-
|
|
7545
|
-
},
|
|
7546
8199
|
watch: {
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
}, 300);
|
|
7553
|
-
}
|
|
8200
|
+
repositories: function () {
|
|
8201
|
+
this.updateData();
|
|
8202
|
+
},
|
|
8203
|
+
backups: function () {
|
|
8204
|
+
this.updateData();
|
|
7554
8205
|
}
|
|
7555
8206
|
},
|
|
8207
|
+
|
|
8208
|
+
created() {
|
|
8209
|
+
this.updateData();
|
|
8210
|
+
},
|
|
8211
|
+
|
|
7556
8212
|
methods: {
|
|
7557
|
-
|
|
7558
|
-
|
|
8213
|
+
updateData() {
|
|
8214
|
+
let backupsContainingInstance = [];
|
|
8215
|
+
|
|
8216
|
+
for (const backup of this.backups) {
|
|
8217
|
+
for (const instance of backup.instances) {
|
|
8218
|
+
if (instance.module_id == this.moduleId) {
|
|
8219
|
+
backupsContainingInstance.push(backup);
|
|
8220
|
+
}
|
|
8221
|
+
}
|
|
8222
|
+
}
|
|
8223
|
+
|
|
8224
|
+
this.backupsContainingInstance = backupsContainingInstance; // status
|
|
8225
|
+
|
|
8226
|
+
for (const backup of this.backupsContainingInstance) {
|
|
8227
|
+
const instance = backup.instances.find(i => i.module_id == this.moduleId);
|
|
8228
|
+
const status = instance.status;
|
|
8229
|
+
this.status[backup.id] = status;
|
|
8230
|
+
}
|
|
7559
8231
|
},
|
|
7560
8232
|
|
|
7561
|
-
|
|
7562
|
-
if (this.
|
|
7563
|
-
this.$
|
|
8233
|
+
goToBackup() {
|
|
8234
|
+
if (this.coreContext) {
|
|
8235
|
+
this.coreContext.$router.push("/backup");
|
|
7564
8236
|
}
|
|
7565
8237
|
}
|
|
7566
8238
|
|
|
@@ -7578,58 +8250,110 @@ var __vue_render__$6 = function () {
|
|
|
7578
8250
|
|
|
7579
8251
|
var _c = _vm._self._c || _h;
|
|
7580
8252
|
|
|
7581
|
-
return _c('cv-
|
|
8253
|
+
return _c('cv-tile', {
|
|
8254
|
+
staticClass: "ns-backup-card",
|
|
7582
8255
|
attrs: {
|
|
7583
|
-
"kind": "
|
|
7584
|
-
"
|
|
7585
|
-
"visible": _vm.isShown,
|
|
7586
|
-
"primary-button-disabled": _vm.name !== _vm.userInput
|
|
7587
|
-
},
|
|
7588
|
-
on: {
|
|
7589
|
-
"modal-hidden": _vm.onModalHidden,
|
|
7590
|
-
"primary-click": _vm.confirmDelete
|
|
8256
|
+
"kind": "standard",
|
|
8257
|
+
"light": _vm.light
|
|
7591
8258
|
}
|
|
7592
|
-
}, [_c('
|
|
7593
|
-
|
|
7594
|
-
}, [
|
|
7595
|
-
slot: "content"
|
|
7596
|
-
}, [_c('NsInlineNotification', {
|
|
8259
|
+
}, [_c('div', {
|
|
8260
|
+
staticClass: "row"
|
|
8261
|
+
}, [_c('NsSvg', {
|
|
7597
8262
|
attrs: {
|
|
7598
|
-
"
|
|
7599
|
-
"title": _vm.warning,
|
|
7600
|
-
"showCloseButton": false
|
|
7601
|
-
}
|
|
7602
|
-
}), _vm._v(" "), _c('div', {
|
|
7603
|
-
domProps: {
|
|
7604
|
-
"innerHTML": _vm._s(_vm.description)
|
|
8263
|
+
"svg": _vm.Save32
|
|
7605
8264
|
}
|
|
7606
|
-
}),
|
|
7607
|
-
staticClass: "
|
|
7608
|
-
|
|
7609
|
-
|
|
8265
|
+
})], 1), _vm._v(" "), _c('div', {
|
|
8266
|
+
staticClass: "row"
|
|
8267
|
+
}, [_c('h3', {
|
|
8268
|
+
staticClass: "title"
|
|
8269
|
+
}, [_vm._v(_vm._s(_vm.title))])]), _vm._v(" "), _vm.loading ? _c('div', {
|
|
8270
|
+
staticClass: "row"
|
|
8271
|
+
}, [_c('cv-skeleton-text', {
|
|
8272
|
+
staticClass: "mg-top-sm",
|
|
8273
|
+
attrs: {
|
|
8274
|
+
"paragraph": true,
|
|
8275
|
+
"line-count": 5
|
|
7610
8276
|
}
|
|
7611
|
-
}), _vm.
|
|
8277
|
+
})], 1) : !_vm.backupsContainingInstance.length ? [_c('div', {
|
|
8278
|
+
staticClass: "row"
|
|
8279
|
+
}, [_c('NsInlineNotification', {
|
|
8280
|
+
attrs: {
|
|
8281
|
+
"kind": "warning",
|
|
8282
|
+
"title": _vm.noBackupMessage,
|
|
8283
|
+
"showCloseButton": false,
|
|
8284
|
+
"actionLabel": _vm.scheduleBackupLabel
|
|
8285
|
+
},
|
|
7612
8286
|
on: {
|
|
7613
|
-
"
|
|
7614
|
-
|
|
7615
|
-
|
|
7616
|
-
|
|
7617
|
-
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
7623
|
-
|
|
7624
|
-
|
|
7625
|
-
|
|
7626
|
-
|
|
8287
|
+
"action": _vm.goToBackup
|
|
8288
|
+
}
|
|
8289
|
+
})], 1)] : _vm._l(_vm.backupsContainingInstance, function (backup) {
|
|
8290
|
+
return _c('div', {
|
|
8291
|
+
key: backup.id
|
|
8292
|
+
}, [_c('div', {
|
|
8293
|
+
staticClass: "row"
|
|
8294
|
+
}, [_vm.backupsContainingInstance.length > 1 ? _c('h5', {
|
|
8295
|
+
staticClass: "title mg-top-sm"
|
|
8296
|
+
}, [_vm._v("\n " + _vm._s(backup.name) + "\n ")]) : _vm._e()]), _vm._v(" "), _c('div', {
|
|
8297
|
+
staticClass: "table-wrapper"
|
|
8298
|
+
}, [_c('div', {
|
|
8299
|
+
staticClass: "table"
|
|
8300
|
+
}, [_c('div', {
|
|
8301
|
+
staticClass: "tr"
|
|
8302
|
+
}, [_c('div', {
|
|
8303
|
+
staticClass: "td label"
|
|
8304
|
+
}, [_vm._v(_vm._s(_vm.statusLabel))]), _vm._v(" "), _c('div', {
|
|
8305
|
+
staticClass: "td status"
|
|
8306
|
+
}, [!backup.enabled ? _c('span', {
|
|
8307
|
+
staticClass: "ns-warning"
|
|
8308
|
+
}, [_vm._v("\n " + _vm._s(_vm.backupDisabledLabel) + "\n ")]) : _vm.status[backup.id] && _vm.status[backup.id].success == true ? _c('span', {
|
|
8309
|
+
staticClass: "ns-success"
|
|
8310
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.statusSuccessLabel))])]) : _vm.status[backup.id] && _vm.status[backup.id].success == false ? _c('span', {
|
|
8311
|
+
staticClass: "ns-error"
|
|
8312
|
+
}, [_vm._v("\n " + _vm._s(_vm.statusErrorLabel) + "\n ")]) : _c('span', {
|
|
8313
|
+
staticClass: "ns-warning"
|
|
8314
|
+
}, [_vm._v("\n " + _vm._s(_vm.statusNotRunLabel) + "\n ")])])]), _vm._v(" "), _c('div', {
|
|
8315
|
+
staticClass: "tr"
|
|
8316
|
+
}, [_c('div', {
|
|
8317
|
+
staticClass: "td label"
|
|
8318
|
+
}, [_vm._v(_vm._s(_vm.repositoryLabel))]), _vm._v(" "), _c('div', {
|
|
8319
|
+
staticClass: "td"
|
|
8320
|
+
}, [_vm._v("\n " + _vm._s(backup.repoName) + "\n ")])]), _vm._v(" "), _c('div', {
|
|
8321
|
+
staticClass: "tr"
|
|
8322
|
+
}, [_c('div', {
|
|
8323
|
+
staticClass: "td label"
|
|
8324
|
+
}, [_vm._v(_vm._s(_vm.completedLabel))]), _vm._v(" "), _c('div', {
|
|
8325
|
+
staticClass: "td"
|
|
8326
|
+
}, [_vm.status[backup.id] && _vm.status[backup.id].end ? _c('span', [_vm._v("\n " + _vm._s(_vm._f("date")(_vm.status[backup.id].end * 1000, "yyyy-MM-dd HH:mm:ss")) + "\n ")]) : _c('span', [_vm._v("-")])])]), _vm._v(" "), _c('div', {
|
|
8327
|
+
staticClass: "tr"
|
|
8328
|
+
}, [_c('div', {
|
|
8329
|
+
staticClass: "td label"
|
|
8330
|
+
}, [_vm._v(_vm._s(_vm.durationLabel))]), _vm._v(" "), _c('div', {
|
|
8331
|
+
staticClass: "td"
|
|
8332
|
+
}, [_vm.status[backup.id] && _vm.status[backup.id].end && _vm.status[backup.id].start ? _c('span', [_vm._v("\n " + _vm._s(_vm._f("secondsFormat")(_vm.status[backup.id].end - _vm.status[backup.id].start)) + "\n ")]) : _c('span', [_vm._v("-")])])]), _vm._v(" "), _c('div', {
|
|
8333
|
+
staticClass: "tr"
|
|
8334
|
+
}, [_c('div', {
|
|
8335
|
+
staticClass: "td label"
|
|
8336
|
+
}, [_vm._v(_vm._s(_vm.totalSizeLabel))]), _vm._v(" "), _c('div', {
|
|
8337
|
+
staticClass: "td"
|
|
8338
|
+
}, [_vm.status[backup.id] && _vm.status[backup.id].total_size ? _c('span', [_vm._v("\n " + _vm._s(_vm._f("byteFormat")(_vm.status[backup.id].total_size)) + "\n ")]) : _c('span', [_vm._v("-")])])]), _vm._v(" "), _c('div', {
|
|
8339
|
+
staticClass: "tr"
|
|
8340
|
+
}, [_c('div', {
|
|
8341
|
+
staticClass: "td label"
|
|
8342
|
+
}, [_vm._v(_vm._s(_vm.totalFileCountLabel))]), _vm._v(" "), _c('div', {
|
|
8343
|
+
staticClass: "td"
|
|
8344
|
+
}, [_vm.status[backup.id] && _vm.status[backup.id].total_file_count ? _c('span', [_vm._v("\n " + _vm._s(_vm._f("humanFormat")(_vm.status[backup.id].total_file_count)) + "\n (" + _vm._s(_vm.status[backup.id].total_file_count) + ")\n ")]) : _c('span', [_vm._v("-")])])])])])]);
|
|
8345
|
+
}), _vm._v(" "), _c('div', [_c('div', {
|
|
8346
|
+
staticClass: "row mg-top-sm"
|
|
8347
|
+
}, [_c('NsButton', {
|
|
8348
|
+
attrs: {
|
|
8349
|
+
"kind": "ghost",
|
|
8350
|
+
"icon": _vm.ArrowRight20,
|
|
8351
|
+
"disabled": _vm.loading
|
|
8352
|
+
},
|
|
8353
|
+
on: {
|
|
8354
|
+
"click": _vm.goToBackup
|
|
7627
8355
|
}
|
|
7628
|
-
}
|
|
7629
|
-
slot: "secondary-button"
|
|
7630
|
-
}, [_vm._v(_vm._s(_vm.cancelLabel))]), _vm._v(" "), _c('template', {
|
|
7631
|
-
slot: "primary-button"
|
|
7632
|
-
}, [_vm._v(_vm._s(_vm.deleteLabel))])], 2);
|
|
8356
|
+
}, [_vm._v(_vm._s(_vm.goToBackupLabel) + "\n ")])], 1)])], 2);
|
|
7633
8357
|
};
|
|
7634
8358
|
|
|
7635
8359
|
var __vue_staticRenderFns__$6 = [];
|
|
@@ -7637,8 +8361,8 @@ var __vue_staticRenderFns__$6 = [];
|
|
|
7637
8361
|
|
|
7638
8362
|
const __vue_inject_styles__$6 = function (inject) {
|
|
7639
8363
|
if (!inject) return;
|
|
7640
|
-
inject("data-v-
|
|
7641
|
-
source: ".
|
|
8364
|
+
inject("data-v-121f4f43_0", {
|
|
8365
|
+
source: ".ns-backup-card[data-v-121f4f43]{display:flex;flex-direction:column;justify-content:center;min-height:7rem}.row[data-v-121f4f43]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.title[data-v-121f4f43]{margin-left:.25rem;margin-right:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-wrapper[data-v-121f4f43]{display:flex;justify-content:center;margin-top:.5rem}.table[data-v-121f4f43]{display:table}.tr[data-v-121f4f43]{display:table-row}.td[data-v-121f4f43]{display:table-cell}.label[data-v-121f4f43]{padding-right:.75rem;font-weight:700;text-align:right;padding-bottom:.5rem}.status[data-v-121f4f43]{font-weight:700}.backup-status-icon[data-v-121f4f43]{margin-right:.25rem}",
|
|
7642
8366
|
map: undefined,
|
|
7643
8367
|
media: undefined
|
|
7644
8368
|
});
|
|
@@ -7646,7 +8370,7 @@ const __vue_inject_styles__$6 = function (inject) {
|
|
|
7646
8370
|
/* scoped */
|
|
7647
8371
|
|
|
7648
8372
|
|
|
7649
|
-
const __vue_scope_id__$6 = "data-v-
|
|
8373
|
+
const __vue_scope_id__$6 = "data-v-121f4f43";
|
|
7650
8374
|
/* module identifier */
|
|
7651
8375
|
|
|
7652
8376
|
const __vue_module_identifier__$6 = undefined;
|
|
@@ -8198,7 +8922,7 @@ var task = {
|
|
|
8198
8922
|
return CheckmarkFilled16;
|
|
8199
8923
|
|
|
8200
8924
|
case "pending":
|
|
8201
|
-
return
|
|
8925
|
+
return Warning16;
|
|
8202
8926
|
|
|
8203
8927
|
default:
|
|
8204
8928
|
return InformationFilled16;
|
|
@@ -8248,88 +8972,6 @@ var task = {
|
|
|
8248
8972
|
}
|
|
8249
8973
|
};
|
|
8250
8974
|
|
|
8251
|
-
var icon = {
|
|
8252
|
-
name: "IconService",
|
|
8253
|
-
|
|
8254
|
-
data() {
|
|
8255
|
-
return {
|
|
8256
|
-
Close20,
|
|
8257
|
-
ArrowRight20,
|
|
8258
|
-
Notification20,
|
|
8259
|
-
UserAvatar20,
|
|
8260
|
-
AppSwitcher20,
|
|
8261
|
-
Search20,
|
|
8262
|
-
RowExpand20,
|
|
8263
|
-
RowCollapse20,
|
|
8264
|
-
Reset20,
|
|
8265
|
-
Download20,
|
|
8266
|
-
Launch20,
|
|
8267
|
-
Upgrade20,
|
|
8268
|
-
Settings20,
|
|
8269
|
-
ChevronDown20,
|
|
8270
|
-
ChevronUp20,
|
|
8271
|
-
ChevronLeft20,
|
|
8272
|
-
ChevronRight20,
|
|
8273
|
-
Information20,
|
|
8274
|
-
Application20,
|
|
8275
|
-
// used for apps, module instances and software center
|
|
8276
|
-
Add20,
|
|
8277
|
-
Rocket20,
|
|
8278
|
-
Rocket32,
|
|
8279
|
-
Chip20,
|
|
8280
|
-
// used for cluster nodes
|
|
8281
|
-
Chip32,
|
|
8282
|
-
// used for cluster nodes
|
|
8283
|
-
Save20,
|
|
8284
|
-
Save32,
|
|
8285
|
-
Copy20,
|
|
8286
|
-
Application32,
|
|
8287
|
-
// used for apps, module instances and software center
|
|
8288
|
-
EdgeNode20,
|
|
8289
|
-
EdgeNode32,
|
|
8290
|
-
Cube32,
|
|
8291
|
-
// used for systemd services
|
|
8292
|
-
EdgeCluster32,
|
|
8293
|
-
// used for cluster
|
|
8294
|
-
EdgeCluster20,
|
|
8295
|
-
// used for cluster
|
|
8296
|
-
Connect32,
|
|
8297
|
-
// used for join cluster
|
|
8298
|
-
Connect20,
|
|
8299
|
-
// used for join cluster
|
|
8300
|
-
Edit20,
|
|
8301
|
-
Password20,
|
|
8302
|
-
Star20,
|
|
8303
|
-
Checkmark20,
|
|
8304
|
-
ZoomIn20,
|
|
8305
|
-
// used to open details
|
|
8306
|
-
Events32,
|
|
8307
|
-
// used for domains
|
|
8308
|
-
Link32,
|
|
8309
|
-
// used for URLs and external domain providers
|
|
8310
|
-
Link20,
|
|
8311
|
-
// used for URLs and external domain providers
|
|
8312
|
-
WarningAlt32,
|
|
8313
|
-
WarningAlt20,
|
|
8314
|
-
Tools20,
|
|
8315
|
-
Tools32,
|
|
8316
|
-
Network_220,
|
|
8317
|
-
Network_232,
|
|
8318
|
-
DataBase20,
|
|
8319
|
-
DataBase32,
|
|
8320
|
-
DataBackup20,
|
|
8321
|
-
DataBackup32,
|
|
8322
|
-
ArrowDown20,
|
|
8323
|
-
ArrowDown32,
|
|
8324
|
-
Time20,
|
|
8325
|
-
Time32,
|
|
8326
|
-
Hourglass20,
|
|
8327
|
-
Hourglass32
|
|
8328
|
-
};
|
|
8329
|
-
}
|
|
8330
|
-
|
|
8331
|
-
};
|
|
8332
|
-
|
|
8333
8975
|
var dataTable = {
|
|
8334
8976
|
name: "DataTableService",
|
|
8335
8977
|
mixins: [UtilService],
|
|
@@ -15526,6 +16168,38 @@ var filters = {
|
|
|
15526
16168
|
return result;
|
|
15527
16169
|
},
|
|
15528
16170
|
secondsFormat: function (value) {
|
|
16171
|
+
if (value < 0) {
|
|
16172
|
+
return "-";
|
|
16173
|
+
}
|
|
16174
|
+
|
|
16175
|
+
let hours = parseInt(Math.floor(value / 3600));
|
|
16176
|
+
let minutes = parseInt(Math.floor((value - hours * 3600) / 60));
|
|
16177
|
+
let seconds = parseInt((value - (hours * 3600 + minutes * 60)) % 60);
|
|
16178
|
+
let duration = "";
|
|
16179
|
+
|
|
16180
|
+
if (hours > 0) {
|
|
16181
|
+
duration += hours + "h ";
|
|
16182
|
+
}
|
|
16183
|
+
|
|
16184
|
+
if (minutes > 0) {
|
|
16185
|
+
duration += minutes + "m ";
|
|
16186
|
+
}
|
|
16187
|
+
|
|
16188
|
+
if (seconds > 0) {
|
|
16189
|
+
duration += seconds + "s";
|
|
16190
|
+
}
|
|
16191
|
+
|
|
16192
|
+
if (!duration) {
|
|
16193
|
+
return "0s";
|
|
16194
|
+
}
|
|
16195
|
+
|
|
16196
|
+
return duration.trim();
|
|
16197
|
+
},
|
|
16198
|
+
secondsLongFormat: function (value) {
|
|
16199
|
+
if (value < 0) {
|
|
16200
|
+
return "-";
|
|
16201
|
+
}
|
|
16202
|
+
|
|
15529
16203
|
let hours = parseInt(Math.floor(value / 3600));
|
|
15530
16204
|
let minutes = parseInt(Math.floor((value - hours * 3600) / 60));
|
|
15531
16205
|
let seconds = parseInt((value - (hours * 3600 + minutes * 60)) % 60);
|
|
@@ -15540,25 +16214,28 @@ var filters = {
|
|
|
15540
16214
|
|
|
15541
16215
|
var components = /*#__PURE__*/Object.freeze({
|
|
15542
16216
|
__proto__: null,
|
|
15543
|
-
NsButton: __vue_component__$
|
|
15544
|
-
NsEmptyState: __vue_component__$
|
|
16217
|
+
NsButton: __vue_component__$O,
|
|
16218
|
+
NsEmptyState: __vue_component__$J,
|
|
15545
16219
|
NsPictogram: NsPictogram,
|
|
15546
|
-
NsCodeSnippet: __vue_component__$
|
|
16220
|
+
NsCodeSnippet: __vue_component__$H,
|
|
15547
16221
|
NsInlineNotification: NsInlineNotification,
|
|
15548
16222
|
NsProgressBar: NsProgressBar,
|
|
15549
16223
|
NsSvg: NsSvg,
|
|
15550
|
-
NsTile: __vue_component__$
|
|
15551
|
-
NsToastNotification: __vue_component__$
|
|
15552
|
-
NsInfoCard: __vue_component__$
|
|
15553
|
-
NsStatusCard: __vue_component__$
|
|
15554
|
-
NsSystemdServiceCard: __vue_component__$
|
|
15555
|
-
NsPasswordInput: __vue_component__$
|
|
15556
|
-
NsIconMenu: __vue_component__$
|
|
15557
|
-
NsMeterChart: __vue_component__$
|
|
15558
|
-
NsPieChart: __vue_component__$
|
|
16224
|
+
NsTile: __vue_component__$B,
|
|
16225
|
+
NsToastNotification: __vue_component__$z,
|
|
16226
|
+
NsInfoCard: __vue_component__$x,
|
|
16227
|
+
NsStatusCard: __vue_component__$v,
|
|
16228
|
+
NsSystemdServiceCard: __vue_component__$t,
|
|
16229
|
+
NsPasswordInput: __vue_component__$r,
|
|
16230
|
+
NsIconMenu: __vue_component__$p,
|
|
16231
|
+
NsMeterChart: __vue_component__$n,
|
|
16232
|
+
NsPieChart: __vue_component__$l,
|
|
15559
16233
|
NsLottieAnimation: NsLottieAnimation,
|
|
15560
|
-
NsDangerDeleteModal: __vue_component__$
|
|
16234
|
+
NsDangerDeleteModal: __vue_component__$j,
|
|
15561
16235
|
NsCircleTimer: NsCircleTimer,
|
|
16236
|
+
NsDropdownAction: __vue_component__$h,
|
|
16237
|
+
NsTextInput: __vue_component__$f,
|
|
16238
|
+
NsBackupCard: __vue_component__$d,
|
|
15562
16239
|
ExclamationMark: ExclamationMark,
|
|
15563
16240
|
Gear: __vue_component__$b,
|
|
15564
16241
|
Love: __vue_component__$9,
|
|
@@ -15570,7 +16247,7 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
15570
16247
|
QueryParamService: queryParam,
|
|
15571
16248
|
TaskService: task,
|
|
15572
16249
|
StorageService: StorageService,
|
|
15573
|
-
IconService:
|
|
16250
|
+
IconService: IconService,
|
|
15574
16251
|
DateTimeService: DateTimeService,
|
|
15575
16252
|
DataTableService: dataTable,
|
|
15576
16253
|
PageTitleService: pageTitle,
|
|
@@ -15586,4 +16263,4 @@ const install = function installNs8UiLib(Vue) {
|
|
|
15586
16263
|
});
|
|
15587
16264
|
}; // Create module definition for Vue.use()
|
|
15588
16265
|
|
|
15589
|
-
export { __vue_component__$5 as Bulldozer, dataTable as DataTableService, DateTimeService, ExclamationMark, filters as Filters, __vue_component__$b as Gear, __vue_component__$3 as Group, __vue_component__$1 as HardDrive,
|
|
16266
|
+
export { __vue_component__$5 as Bulldozer, dataTable as DataTableService, DateTimeService, ExclamationMark, filters as Filters, __vue_component__$b as Gear, __vue_component__$3 as Group, __vue_component__$1 as HardDrive, IconService, lottie as LottieService, __vue_component__$9 as Love, __vue_component__$d as NsBackupCard, __vue_component__$O as NsButton, NsCircleTimer, __vue_component__$H as NsCodeSnippet, __vue_component__$j as NsDangerDeleteModal, __vue_component__$h as NsDropdownAction, __vue_component__$J as NsEmptyState, __vue_component__$p as NsIconMenu, __vue_component__$x as NsInfoCard, NsInlineNotification, NsLottieAnimation, __vue_component__$n as NsMeterChart, __vue_component__$r as NsPasswordInput, NsPictogram, __vue_component__$l as NsPieChart, NsProgressBar, __vue_component__$v as NsStatusCard, NsSvg, __vue_component__$t as NsSystemdServiceCard, __vue_component__$f as NsTextInput, __vue_component__$B as NsTile, __vue_component__$z as NsToastNotification, pageTitle as PageTitleService, queryParam as QueryParamService, StorageService, task as TaskService, UtilService, __vue_component__$7 as Warning, install as default };
|