vuesp-components 5.1.0 → 5.2.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.2.0 — 2026-11-22
4
+
5
+ ### Added
6
+
7
+ - `VListObject`: optional `canAdd(path)` callback. When it returns false, the add button is hidden for that value while the row stays visible.
8
+ - `VSelect`: optional `hideMessage` prop. By default a select now reserves the same message area as `VTextField`; pass `hide-message` for compact rows.
9
+
10
+ ### Changed
11
+
12
+ - `VListObject`: clicking a scalar row now selects it when the row is addable; object rows still expand/collapse.
13
+ - `VListObject`: row separators are positioned relative to their own row and no longer intercept pointer events.
14
+
15
+ ### Fixed
16
+
17
+ - `ItemEdit`: the `+` buttons for Set / Get / GetTo now open the expression editor. The component listened to `on-icon` while `VFunc` emits `icon`.
18
+ - `CardBase`: Edit and Copy buttons in the tile dialog now have `title` and `aria-label`; the decorative background icon no longer blocks clicks.
19
+
3
20
  ## 5.1.0 — 2026-11-22
4
21
 
5
22
  ### Added
@@ -321,7 +321,7 @@ const Ge = /* @__PURE__ */ Y(ge, [["render", fe]]), Je = ["bulb", "lamp", "lamp-
321
321
  _: 3
322
322
  }, 16, ["href", "to", "target", "type", "disabled", "aria-disabled", "title", "class"]));
323
323
  }
324
- }), Me = ["role", "aria-modal", "aria-label"], Le = { class: "flex items-center absolute right-3 top-5 z-10" }, ee = /* @__PURE__ */ C({
324
+ }), Me = ["role", "aria-modal", "aria-label"], Le = { class: "flex items-center absolute right-3 top-2 z-10" }, ee = /* @__PURE__ */ C({
325
325
  __name: "VPopup",
326
326
  props: {
327
327
  hiddenCloser: { type: Boolean },
@@ -384,7 +384,7 @@ const Ge = /* @__PURE__ */ Y(ge, [["render", fe]]), Je = ["bulb", "lamp", "lamp-
384
384
  h("div", {
385
385
  ref_key: "target",
386
386
  ref: u,
387
- class: "flex justify-center py-3 md:pb-6",
387
+ class: "flex justify-center py-4 pb-6",
388
388
  onWheel: M[3] || (M[3] = z(() => {
389
389
  }, ["prevent"])),
390
390
  onTouchmove: M[4] || (M[4] = z(() => {
@@ -677,6 +677,7 @@ const Ge = /* @__PURE__ */ Y(ge, [["render", fe]]), Je = ["bulb", "lamp", "lamp-
677
677
  modelValue: {},
678
678
  label: {},
679
679
  disabled: { type: Boolean },
680
+ hideMessage: { type: Boolean },
680
681
  items: {},
681
682
  title: {},
682
683
  top: {},
@@ -689,11 +690,12 @@ const Ge = /* @__PURE__ */ Y(ge, [["render", fe]]), Je = ["bulb", "lamp", "lamp-
689
690
  },
690
691
  emits: ["change"],
691
692
  setup(e, { emit: r }) {
692
- const t = ke(e, ["modelValue", "label", "items", "disabled"]), n = r;
693
+ const t = ke(e, ["modelValue", "label", "items", "hideMessage", "disabled"]), n = r;
693
694
  function l(o, i) {
694
695
  n("change", o), i == null || i.set(!1);
695
696
  }
696
697
  return (o, i) => (s(), j(Be, F(t, {
698
+ top: t.top || e.hideMessage ? "calc(100% + 8px)" : "calc(100% - 16px)",
697
699
  "hide-on-click": !1,
698
700
  class: "relative"
699
701
  }), {
@@ -704,7 +706,7 @@ const Ge = /* @__PURE__ */ Y(ge, [["render", fe]]), Je = ["bulb", "lamp", "lamp-
704
706
  disabled: e.disabled,
705
707
  label: e.label,
706
708
  readonly: "",
707
- hideMessage: "",
709
+ hideMessage: e.hideMessage,
708
710
  active: "",
709
711
  onClick: u.click,
710
712
  onOnIcon: u.click
@@ -716,7 +718,7 @@ const Ge = /* @__PURE__ */ Y(ge, [["render", fe]]), Je = ["bulb", "lamp", "lamp-
716
718
  }, null, 8, ["class"])
717
719
  ]),
718
720
  _: 2
719
- }, 1032, ["model-value", "disabled", "label", "onClick", "onOnIcon"])
721
+ }, 1032, ["model-value", "disabled", "label", "hideMessage", "onClick", "onOnIcon"])
720
722
  ])
721
723
  ]),
722
724
  default: L(({ on: u, isLgOrLarger: d }) => [
@@ -738,7 +740,7 @@ const Ge = /* @__PURE__ */ Y(ge, [["render", fe]]), Je = ["bulb", "lamp", "lamp-
738
740
  ])
739
741
  ]),
740
742
  _: 3
741
- }, 16));
743
+ }, 16, ["top"]));
742
744
  }
743
745
  }), Ie = ["aria-label"], De = { class: "text-title-md uppercase font-bold flex-auto" }, Ne = { class: "px-4 pb-4 md:px-6" }, Re = {
744
746
  key: 0,
@@ -1 +1 @@
1
- {"version":3,"file":"CardBase.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/cards/CardBase.vue"],"names":[],"mappings":"AA4DA;AA8FA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,oCAAoC,CAAC;AAgCzF,iBAAS,cAAc;WAgMT,OAAO,IAA6B;;;;;;;;;;;;;;;;;YAlBxB,GAAG;;;;;;;;;;;;;;;;YAKH,GAAG;;;;;;;;;;;;;;;;YAJD,GAAG;;;;;;;;;;;;;;;;YACL,GAAG;;;;;;;;;;;;;;;;YACH,GAAG;;;;;;;;;;;;;;;;YACF,GAAG;;;;;;;;;;;;;;;;YAEM,GAAG;;;;;;;;;;;;;;;;YACV,GAAG;;;;;;;;;;;;;;;;YACK,GAAG;;;;EAevC;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CardBase.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/cards/CardBase.vue"],"names":[],"mappings":"AA4DA;AA8FA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,oCAAoC,CAAC;AAgCzF,iBAA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