@rocketui/vue 0.2.62 → 0.2.64-beta

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.
@@ -10198,23 +10198,27 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10198
10198
  "r-radio--error": V.errorMsg
10199
10199
  }
10200
10200
  ]);
10201
- return G(() => V.modelValue, (i) => {
10202
- C.value = i;
10203
- }), (i, L) => (m(), r("div", {
10201
+ G(() => V.modelValue, (L) => {
10202
+ C.value = L;
10203
+ }, { immediate: !0, deep: !0 });
10204
+ function i() {
10205
+ C.value = !C.value, emit("update:modelValue", C.value);
10206
+ }
10207
+ return (L, A) => (m(), r("div", {
10204
10208
  class: p(M.value)
10205
10209
  }, [
10206
- u("input", N1(i.$attrs, {
10210
+ u("input", N1(L.$attrs, {
10207
10211
  id: V.id,
10208
10212
  checked: C.value,
10209
10213
  class: "r-radio__input",
10210
10214
  disabled: V.disabled,
10211
10215
  name: V.name,
10212
10216
  type: "radio",
10213
- onInput: L[0] || (L[0] = (A) => i.$emit("update:modelValue"))
10217
+ onInput: i
10214
10218
  }), null, 16, m0),
10215
10219
  u("span", {
10216
10220
  class: p(["r-radio__label", [V.errorMsg && "r-radio__label--error"]]),
10217
- onClick: L[1] || (L[1] = (A) => i.$emit("update:modelValue"))
10221
+ onClick: i
10218
10222
  }, [
10219
10223
  u("span", {
10220
10224
  class: p(["r-radio__custom", [V.errorMsg && "r-radio__custom--error", V.disabled && "r-radio__custom--disabled"]])