@codemonster-ru/vueforge 0.79.0 → 0.80.0

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/index.ts.mjs CHANGED
@@ -359,8 +359,8 @@ const qt = /* @__PURE__ */ Wt(Kt, [["render", Ut]]), qu = /* @__PURE__ */ oe({
359
359
  item: { ...m, class: "vf-menu__link" }
360
360
  }) : m.separator ? (c(), b("hr", Zt)) : m.items && m.items.length ? (c(), b(ue, { key: 2 }, [
361
361
  L("button", {
362
- class: Z(["vf-menu__parent", { "vf-menu__parent_active": m.active }]),
363
362
  id: d(m, C),
363
+ class: Z(["vf-menu__parent", { "vf-menu__parent_active": m.active }]),
364
364
  type: "button",
365
365
  role: "menuitem",
366
366
  tabindex: "0",
@@ -1629,15 +1629,7 @@ const qt = /* @__PURE__ */ Wt(Kt, [["render", Ut]]), qu = /* @__PURE__ */ oe({
1629
1629
  ariaLabel: { default: void 0 },
1630
1630
  ariaLabelledby: { default: void 0 }
1631
1631
  },
1632
- emits: [
1633
- "update:modelValue",
1634
- "change",
1635
- "blur",
1636
- "validate",
1637
- "submit",
1638
- "invalidSubmit",
1639
- "reset"
1640
- ],
1632
+ emits: ["update:modelValue", "change", "blur", "validate", "submit", "invalidSubmit", "reset"],
1641
1633
  setup(n, { emit: o }) {
1642
1634
  const a = n, e = o, t = N(null), i = N(M(B(a.initialValues, a.modelValue))), s = N(M(i.value)), d = N({}), r = N({}), u = N(!1);
1643
1635
  ie(
@@ -1807,10 +1799,10 @@ const qt = /* @__PURE__ */ Wt(Kt, [["render", Ut]]), qu = /* @__PURE__ */ oe({
1807
1799
  return K == null ? void 0 : K.value;
1808
1800
  }
1809
1801
  return (y, O) => (c(), b("form", {
1802
+ id: y.id,
1810
1803
  ref_key: "formRef",
1811
1804
  ref: t,
1812
1805
  class: Z(z.value),
1813
- id: y.id,
1814
1806
  "aria-label": y.ariaLabel,
1815
1807
  "aria-labelledby": y.ariaLabelledby,
1816
1808
  novalidate: y.novalidate,
@@ -8896,9 +8888,9 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8896
8888
  return e.allowHalf ? R >= 1 ? "100%" : R >= 0.5 ? "50%" : "0%" : R >= 1 ? "100%" : "0%";
8897
8889
  }, P = (S) => S === f.value ? 0 : -1, $ = (S) => (e.modelValue ?? 0) === 0 ? !1 : S === f.value, V = (S) => e.ariaLabel ? `${e.ariaLabel} ${S}` : `${S}`;
8898
8890
  return (S, M) => (c(), b("div", {
8899
- class: Z(["vf-rating", g.value]),
8900
8891
  ref_key: "rootRef",
8901
8892
  ref: i,
8893
+ class: Z(["vf-rating", g.value]),
8902
8894
  role: "radiogroup",
8903
8895
  "aria-label": S.ariaLabel || void 0,
8904
8896
  "aria-readonly": S.readonly || void 0,
@@ -8908,11 +8900,11 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8908
8900
  }, [
8909
8901
  (c(!0), b(ue, null, me(u.value, (R) => (c(), b("button", {
8910
8902
  key: R,
8911
- type: "button",
8912
- class: "vf-rating__item",
8913
8903
  ref_for: !0,
8914
8904
  ref_key: "itemRefs",
8915
8905
  ref: s,
8906
+ type: "button",
8907
+ class: "vf-rating__item",
8916
8908
  role: "radio",
8917
8909
  "aria-checked": $(R),
8918
8910
  "aria-label": V(R),