prlg-ui 1.8.347 → 1.8.348

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.
@@ -21185,19 +21185,21 @@ const pq = /* @__PURE__ */ g({
21185
21185
  return (a, t) => (p(), R("div", {
21186
21186
  class: De(["form-field", { "form-field--error": a.error }])
21187
21187
  }, [
21188
- a.label ? (p(), R("label", {
21188
+ a.label || a.$slots.label ? (p(), R("label", {
21189
21189
  key: 0,
21190
21190
  for: a.id,
21191
21191
  class: "form-field__label"
21192
21192
  }, [
21193
- de(oe(a.label) + " ", 1),
21194
- a.required ? (p(), R("sup", vw, "*")) : H("", !0)
21193
+ a.label ? (p(), R(ge, { key: 0 }, [
21194
+ de(oe(a.label) + " ", 1),
21195
+ a.required ? (p(), R("sup", vw, "*")) : H("", !0)
21196
+ ], 64)) : b(a.$slots, "label", { key: 1 }, void 0, !0)
21195
21197
  ], 8, fw)) : H("", !0),
21196
21198
  b(a.$slots, "default", {}, void 0, !0),
21197
21199
  a.error ? (p(), R("small", mw, oe(a.errorMessage), 1)) : H("", !0)
21198
21200
  ], 2));
21199
21201
  }
21200
- }), T1 = /* @__PURE__ */ N(yw, [["__scopeId", "data-v-cc410bfd"]]), gw = {
21202
+ }), T1 = /* @__PURE__ */ N(yw, [["__scopeId", "data-v-c539b9a3"]]), gw = {
21201
21203
  key: 1,
21202
21204
  class: "file__title"
21203
21205
  }, hw = {
@@ -21617,42 +21619,40 @@ const $w = { class: "input__wrapper" }, Ow = ["id", "placeholder", "name", "disa
21617
21619
  };
21618
21620
  } else
21619
21621
  n.value = e.file;
21620
- }), (u, c) => (p(), R(ge, null, [
21621
- K("div", {
21622
- class: De(["image", `image--${u.size}`, { "image--full-screen": u.fullScreen }])
21622
+ }), (u, c) => (p(), R("div", {
21623
+ class: De(["image", `image--${u.size}`, { "image--full-screen": u.fullScreen }])
21624
+ }, [
21625
+ K("button", {
21626
+ class: "image__delete",
21627
+ onClick: c[0] || (c[0] = (d) => t("delete"))
21623
21628
  }, [
21624
- K("button", {
21625
- class: "image__delete",
21626
- onClick: c[0] || (c[0] = (d) => t("delete"))
21629
+ F(r($t))
21630
+ ]),
21631
+ K("div", Nw, [
21632
+ u.fullScreen ? (p(), R("div", {
21633
+ key: 0,
21634
+ class: "image__overlay",
21635
+ onClick: c[1] || (c[1] = (d) => o.value?.open())
21627
21636
  }, [
21628
- F(r($t))
21629
- ]),
21630
- K("div", Nw, [
21631
- u.fullScreen ? (p(), R("div", {
21632
- key: 0,
21633
- class: "image__overlay",
21634
- onClick: c[1] || (c[1] = (d) => o.value?.open())
21635
- }, [
21636
- F(r(po))
21637
- ])) : H("", !0),
21638
- K("img", {
21639
- src: i.value,
21640
- alt: u.alt
21641
- }, null, 8, Lw)
21642
- ]),
21643
- u.viewInfo && n.value && (n.value.mime || n.value.size) && u.size === "large" ? (p(), R("div", zw, [
21644
- n.value.size ? (p(), R("div", Hw, oe(n.value ? r(uo)(n.value.size) : "0 Б"), 1)) : H("", !0)
21645
- ])) : H("", !0)
21646
- ], 2),
21637
+ F(r(po))
21638
+ ])) : H("", !0),
21639
+ K("img", {
21640
+ src: i.value,
21641
+ alt: u.alt
21642
+ }, null, 8, Lw)
21643
+ ]),
21644
+ u.viewInfo && n.value && (n.value.mime || n.value.size) && u.size === "large" ? (p(), R("div", zw, [
21645
+ n.value.size ? (p(), R("div", Hw, oe(n.value ? r(uo)(n.value.size) : "0 Б"), 1)) : H("", !0)
21646
+ ])) : H("", !0),
21647
21647
  u.fullScreen ? (p(), y(Fw, {
21648
- key: 0,
21648
+ key: 1,
21649
21649
  ref: "imageFullModal",
21650
21650
  src: i.value,
21651
21651
  alt: u.alt
21652
21652
  }, null, 8, ["src", "alt"])) : H("", !0)
21653
- ], 64));
21653
+ ], 2));
21654
21654
  }
21655
- }), F1 = /* @__PURE__ */ N(Ww, [["__scopeId", "data-v-ffb35456"]]), Kw = ["id", "onUpdate:modelValue", "disabled", "readonly", "onInput", "onKeydown", "onPaste", "onFocus", "onBlur"], N1 = /* @__PURE__ */ g({
21655
+ }), F1 = /* @__PURE__ */ N(Ww, [["__scopeId", "data-v-e8294114"]]), Kw = ["id", "onUpdate:modelValue", "disabled", "readonly", "onInput", "onKeydown", "onPaste", "onFocus", "onBlur"], N1 = /* @__PURE__ */ g({
21656
21656
  __name: "OTPCode",
21657
21657
  props: /* @__PURE__ */ Ve({
21658
21658
  length: { default: 5 },
package/dist/rekaUI.d.ts CHANGED
@@ -1705,6 +1705,7 @@ declare function __VLS_template_54(): {
1705
1705
  declare function __VLS_template_55(): {
1706
1706
  attrs: Partial<{}>;
1707
1707
  slots: {
1708
+ label?(_: {}): any;
1708
1709
  default?(_: {}): any;
1709
1710
  };
1710
1711
  refs: {};
@@ -3613,7 +3614,7 @@ alt?: string;
3613
3614
  open: () => void;
3614
3615
  close: () => void;
3615
3616
  }, {}, {}, {}, {}> | null;
3616
- }, any>;
3617
+ }, HTMLDivElement>;
3617
3618
  export { Image_2 as Image }
3618
3619
 
3619
3620
  export declare const InputNumber: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prlg-ui",
3
3
  "private": false,
4
- "version": "1.8.347",
4
+ "version": "1.8.348",
5
5
  "type": "module",
6
6
  "main": "dist/prlg-ui.umd.js",
7
7
  "module": "dist/prlg-ui.es.js",