@maltjoy/core-vue 5.7.0 → 5.7.2

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/core-vue.js CHANGED
@@ -2674,14 +2674,11 @@ const $l = /* @__PURE__ */ B({
2674
2674
  noHtmlErrorText: String
2675
2675
  },
2676
2676
  setup(e) {
2677
- const t = Y(), l = e, o = T(() => n.value || i.value || l.noHtmlErrorText !== void 0), n = T(() => l.errors && l.errors.length > 0), i = T(() => {
2678
- var a;
2679
- return !!((a = t.default) != null && a.call(t));
2680
- });
2681
- return (a, r) => (c(), v("div", {
2677
+ const t = Y();
2678
+ return (l, o) => (c(), v("div", {
2682
2679
  "data-joy-form-error": "",
2683
- "aria-hidden": o.value,
2684
- class: I(["joy-form-error", { "joy-has-error": o.value }]),
2680
+ "aria-hidden": e.visible,
2681
+ class: I(["joy-form-error", { "joy-has-error": e.visible }]),
2685
2682
  role: "alert"
2686
2683
  }, [
2687
2684
  R(q, {
@@ -2689,15 +2686,15 @@ const $l = /* @__PURE__ */ B({
2689
2686
  name: "warning-triangle"
2690
2687
  }),
2691
2688
  h("div", null, [
2692
- t.default ? _(a.$slots, "default", { key: 0 }, void 0, !0) : e.errors ? (c(), v("ul", Cl, [
2693
- (c(!0), v(H, null, U(e.errors, (s) => (c(), v("li", { key: s }, J(s), 1))), 128))
2689
+ t.default ? _(l.$slots, "default", { key: 0 }, void 0, !0) : e.errors ? (c(), v("ul", Cl, [
2690
+ (c(!0), v(H, null, U(e.errors, (n) => (c(), v("li", { key: n }, J(n), 1))), 128))
2694
2691
  ])) : (c(), v(H, { key: 2 }, [
2695
2692
  F(J(e.noHtmlErrorText), 1)
2696
2693
  ], 64))
2697
2694
  ])
2698
2695
  ], 10, Sl));
2699
2696
  }
2700
- }), yt = /* @__PURE__ */ x(Vl, [["__scopeId", "data-v-1aba4256"]]), Tl = { class: "joy-dropzone__icon-wrapper" }, Ll = /* @__PURE__ */ B({
2697
+ }), yt = /* @__PURE__ */ x(Vl, [["__scopeId", "data-v-ff064142"]]), Tl = { class: "joy-dropzone__icon-wrapper" }, Ll = /* @__PURE__ */ B({
2701
2698
  __name: "VJoyDropzoneIcon",
2702
2699
  props: {
2703
2700
  name: { type: String, required: !0 }