comand-component-library 4.0.4 → 4.0.5

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.
@@ -7675,7 +7675,7 @@ const Dc = {
7675
7675
  /**
7676
7676
  * for replacing native checkboxes/radio-buttons by custom ones (based on frontend-framework)
7677
7677
  *
7678
- * toggleSwitch-property must be set to 'false'
7678
+ * toggleSwitches-property must be set to 'false'
7679
7679
  *
7680
7680
  * @affectsStyling: true
7681
7681
  */
@@ -7690,7 +7690,7 @@ const Dc = {
7690
7690
  *
7691
7691
  * @affectsStyling: true
7692
7692
  */
7693
- toggleSwitch: {
7693
+ toggleSwitches: {
7694
7694
  type: Boolean,
7695
7695
  default: !1
7696
7696
  },
@@ -7812,7 +7812,7 @@ function zc(e, n, t, a, l, i) {
7812
7812
  inline: t.labelInline,
7813
7813
  "multiple-switch": t.multipleSwitch,
7814
7814
  disabled: t.disabled,
7815
- "toggle-switch": t.toggleSwitch,
7815
+ "toggle-switches": t.toggleSwitches,
7816
7816
  "has-state": e.validationStatus
7817
7817
  }
7818
7818
  ]),
@@ -7859,7 +7859,8 @@ function zc(e, n, t, a, l, i) {
7859
7859
  }, [
7860
7860
  (s(!0), o(_, null, B(t.inputElements, (c, f) => (s(), o("label", {
7861
7861
  key: f,
7862
- for: c.id
7862
+ for: c.id,
7863
+ class: C({ "toggle-switch": t.toggleSwitches })
7863
7864
  }, [
7864
7865
  ne(h("input", {
7865
7866
  type: t.inputTypes,
@@ -7868,7 +7869,7 @@ function zc(e, n, t, a, l, i) {
7868
7869
  value: c.value,
7869
7870
  "onUpdate:modelValue": n[1] || (n[1] = (g) => i.inputValue = g),
7870
7871
  disabled: t.disabled,
7871
- class: C({ "replace-input-type": t.replaceInputType, "toggle-switch": t.toggleSwitch })
7872
+ class: C({ "replace-input-type": t.replaceInputType })
7872
7873
  }, null, 10, Hc), [
7873
7874
  [xi, i.inputValue]
7874
7875
  ]),
@@ -7878,7 +7879,7 @@ function zc(e, n, t, a, l, i) {
7878
7879
  type: c.iconType
7879
7880
  }, null, 8, ["iconClass", "type"])) : u("", !0),
7880
7881
  c.labelText ? (s(), o("span", Ec, p(c.labelText), 1)) : u("", !0)
7881
- ], 8, Fc))), 128))
7882
+ ], 10, Fc))), 128))
7882
7883
  ], 2))
7883
7884
  ], 10, Nc);
7884
7885
  }