@nethserver/ns8-ui-lib 0.1.7 → 0.1.8

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.
@@ -22618,12 +22618,12 @@ var __vue_render__$8 = function () {
22618
22618
  "for": _vm.uid,
22619
22619
  "id": _vm.labelId
22620
22620
  }
22621
- }, [_vm._v("\n " + _vm._s(_vm.label) + "\n ")]), _vm._v(" "), _vm.showUnlimited ? _c('NsCheckbox', {
22622
- staticClass: "is-unlimited",
22621
+ }, [_vm._v("\n " + _vm._s(_vm.label) + "\n ")]), _vm._v(" "), _c('NsToggle', {
22622
+ class: ['toggle-without-label', 'is-unlimited'],
22623
22623
  attrs: {
22624
- "label": _vm.unlimitedLabel,
22625
- "disabled": _vm.disabled,
22626
- "value": "checkUnlimited"
22624
+ "value": "unlimitedValue",
22625
+ "form-item": true,
22626
+ "disabled": _vm.disabled
22627
22627
  },
22628
22628
  model: {
22629
22629
  value: _vm.internalUnlimited,
@@ -22632,7 +22632,18 @@ var __vue_render__$8 = function () {
22632
22632
  },
22633
22633
  expression: "internalUnlimited"
22634
22634
  }
22635
- }) : _vm._e(), _vm._v(" "), _c('div', {
22635
+ }, [_c('template', {
22636
+ slot: "text-left"
22637
+ }, [_vm._v(_vm._s(_vm.unlimitedLabel) + " ")]), _vm._v(" "), _c('template', {
22638
+ slot: "text-right"
22639
+ }, [_vm._v(_vm._s(_vm.unlimitedLabel) + " ")])], 2), _vm._v(" "), _c('div', {
22640
+ directives: [{
22641
+ name: "show",
22642
+ rawName: "v-show",
22643
+ value: !_vm.internalUnlimited,
22644
+ expression: "!internalUnlimited"
22645
+ }]
22646
+ }, [_c('div', {
22636
22647
  class: _vm.carbonPrefix + "--slider-container"
22637
22648
  }, [_vm.internalMinLabel ? _c('span', {
22638
22649
  class: _vm.carbonPrefix + "--slider__range-label"
@@ -22776,7 +22787,7 @@ var __vue_render__$8 = function () {
22776
22787
  "kind": _vm.tagKind,
22777
22788
  "disabled": _vm.disabled || _vm.internalUnlimited
22778
22789
  }
22779
- }) : _vm._e()], 1), _vm._v(" "), _vm.isInvalid ? _c('div', {
22790
+ }) : _vm._e()], 1)], 1), _vm._v(" "), _vm.isInvalid ? _c('div', {
22780
22791
  class: _vm.carbonPrefix + "--form-requirement"
22781
22792
  }, [_vm._t("invalid-message", function () {
22782
22793
  return [_vm._v(_vm._s(_vm.invalidMessage))];
@@ -22788,11 +22799,11 @@ var __vue_staticRenderFns__$8 = [];
22788
22799
 
22789
22800
  const __vue_inject_styles__$9 = function (inject) {
22790
22801
  if (!inject) return;
22791
- inject("data-v-af193c20_0", {
22792
- source: ".is-unlimited[data-v-af193c20]{margin-top:.5rem!important;margin-bottom:.5rem!important}.range-input[data-v-af193c20]{margin-top:.5rem!important}.mib-gib[data-v-af193c20]{margin-left:1rem;margin-top:.5rem!important;margin-bottom:0!important}.human-label[data-v-af193c20]{margin-top:1rem}",
22802
+ inject("data-v-837c803c_0", {
22803
+ source: ".is-unlimited[data-v-837c803c]{margin-top:.25rem!important;margin-bottom:.5rem!important}.range-input[data-v-837c803c]{margin-top:.5rem!important}.mib-gib[data-v-837c803c]{margin-left:1rem;margin-top:.5rem!important;margin-bottom:0!important}.human-label[data-v-837c803c]{margin-top:1rem}",
22793
22804
  map: undefined,
22794
22805
  media: undefined
22795
- }), inject("data-v-af193c20_1", {
22806
+ }), inject("data-v-837c803c_1", {
22796
22807
  source: ".ns-byte-slider .bx--slider-container{flex-wrap:wrap}.ns-byte-slider .bx--slider-text-input{width:5rem}.ns-byte-slider .wrapper[data-invalid]~.bx--form-requirement{display:block;overflow:visible;max-height:12.5rem;font-weight:400;color:#da1e28}",
22797
22808
  map: undefined,
22798
22809
  media: undefined
@@ -22801,7 +22812,7 @@ const __vue_inject_styles__$9 = function (inject) {
22801
22812
  /* scoped */
22802
22813
 
22803
22814
 
22804
- const __vue_scope_id__$9 = "data-v-af193c20";
22815
+ const __vue_scope_id__$9 = "data-v-837c803c";
22805
22816
  /* module identifier */
22806
22817
 
22807
22818
  const __vue_module_identifier__$9 = undefined;
@@ -23195,12 +23206,12 @@ var __vue_render__$7 = function () {
23195
23206
  "for": _vm.uid,
23196
23207
  "id": _vm.labelId
23197
23208
  }
23198
- }, [_vm._v("\n " + _vm._s(_vm.label) + "\n ")]), _vm._v(" "), _vm.showUnlimited ? _c('NsCheckbox', {
23199
- staticClass: "is-unlimited",
23209
+ }, [_vm._v("\n " + _vm._s(_vm.label) + "\n ")]), _vm._v(" "), _c('NsToggle', {
23210
+ class: ['toggle-without-label', 'is-unlimited'],
23200
23211
  attrs: {
23201
- "label": _vm.unlimitedLabel,
23202
- "disabled": _vm.disabled,
23203
- "value": "checkUnlimited"
23212
+ "value": "unlimitedValue",
23213
+ "form-item": true,
23214
+ "disabled": _vm.disabled
23204
23215
  },
23205
23216
  model: {
23206
23217
  value: _vm.internalUnlimited,
@@ -23209,7 +23220,18 @@ var __vue_render__$7 = function () {
23209
23220
  },
23210
23221
  expression: "internalUnlimited"
23211
23222
  }
23212
- }) : _vm._e(), _vm._v(" "), _c('div', {
23223
+ }, [_c('template', {
23224
+ slot: "text-left"
23225
+ }, [_vm._v(_vm._s(_vm.unlimitedLabel) + " ")]), _vm._v(" "), _c('template', {
23226
+ slot: "text-right"
23227
+ }, [_vm._v(_vm._s(_vm.unlimitedLabel) + " ")])], 2), _vm._v(" "), _c('div', {
23228
+ directives: [{
23229
+ name: "show",
23230
+ rawName: "v-show",
23231
+ value: !_vm.internalUnlimited,
23232
+ expression: "!internalUnlimited"
23233
+ }]
23234
+ }, [_c('div', {
23213
23235
  class: _vm.carbonPrefix + "--slider-container"
23214
23236
  }, [_vm.internalMinLabel ? _c('span', {
23215
23237
  class: _vm.carbonPrefix + "--slider__range-label"
@@ -23318,7 +23340,7 @@ var __vue_render__$7 = function () {
23318
23340
  }
23319
23341
  }), _vm._v(" "), _c('span', {
23320
23342
  class: ["unit-label", (_obj$4 = {}, _obj$4[_vm.carbonPrefix + "--label--disabled"] = _vm.disabled || _vm.internalUnlimited, _obj$4)]
23321
- }, [_vm._v(_vm._s(_vm.unitLabel))])])], 1), _vm._v(" "), _vm.isInvalid ? _c('div', {
23343
+ }, [_vm._v(_vm._s(_vm.unitLabel))])])])], 1), _vm._v(" "), _vm.isInvalid ? _c('div', {
23322
23344
  class: _vm.carbonPrefix + "--form-requirement"
23323
23345
  }, [_vm._t("invalid-message", function () {
23324
23346
  return [_vm._v(_vm._s(_vm.invalidMessage))];
@@ -23330,11 +23352,11 @@ var __vue_staticRenderFns__$7 = [];
23330
23352
 
23331
23353
  const __vue_inject_styles__$7 = function (inject) {
23332
23354
  if (!inject) return;
23333
- inject("data-v-89974358_0", {
23334
- source: ".is-unlimited[data-v-89974358]{margin-top:.5rem!important;margin-bottom:.5rem!important}.range-input[data-v-89974358]{margin-top:.5rem!important}.unit-label[data-v-89974358]{margin-top:.5rem!important;margin-left:1rem}",
23355
+ inject("data-v-8fe01ec0_0", {
23356
+ source: ".is-unlimited[data-v-8fe01ec0]{margin-top:.25rem!important;margin-bottom:.5rem!important}.range-input[data-v-8fe01ec0]{margin-top:.5rem!important}.unit-label[data-v-8fe01ec0]{margin-top:.5rem!important;margin-left:1rem}",
23335
23357
  map: undefined,
23336
23358
  media: undefined
23337
- }), inject("data-v-89974358_1", {
23359
+ }), inject("data-v-8fe01ec0_1", {
23338
23360
  source: ".ns-slider .bx--slider-container{flex-wrap:wrap}.ns-slider .bx--slider-text-input{width:5rem}.ns-slider .wrapper[data-invalid]~.bx--form-requirement{display:block;overflow:visible;max-height:12.5rem;font-weight:400;color:#da1e28}",
23339
23361
  map: undefined,
23340
23362
  media: undefined
@@ -23343,7 +23365,7 @@ const __vue_inject_styles__$7 = function (inject) {
23343
23365
  /* scoped */
23344
23366
 
23345
23367
 
23346
- const __vue_scope_id__$7 = "data-v-89974358";
23368
+ const __vue_scope_id__$7 = "data-v-8fe01ec0";
23347
23369
  /* module identifier */
23348
23370
 
23349
23371
  const __vue_module_identifier__$7 = undefined;