vuesp-components 5.0.1 → 5.2.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/CHANGELOG.md +24 -0
- package/dist/{VDialog.vue_vue_type_script_setup_true_lang-hhdR9qNq.js → VDialog.vue_vue_type_script_setup_true_lang-BCnuVynB.js} +6 -4
- package/dist/components/dashboard/cards/CardBase.vue.d.ts.map +1 -1
- package/dist/components/index.es.js +774 -761
- package/dist/components/script/editor/suggestions.d.ts.map +1 -1
- package/dist/components/ui/list/VListObject.vue.d.ts.map +1 -1
- package/dist/components/ui/list/types.d.ts +1 -0
- package/dist/components/ui/list/types.d.ts.map +1 -1
- package/dist/components/ui/select/VSelect.vue.d.ts.map +1 -1
- package/dist/components/ui/select/types.d.ts +1 -0
- package/dist/components/ui/select/types.d.ts.map +1 -1
- package/dist/index.es.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
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
|
+
|
|
20
|
+
## 5.1.0 — 2026-11-22
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- Script editor suggestions for the common `fade()` and `http()` functions, so all devices get autocomplete and highlighting without duplicating them in every `suggestions.json`.
|
|
25
|
+
- TypeScript-like signatures in the suggestion `detail` line.
|
|
26
|
+
|
|
3
27
|
## 5.0.1 — 2026-11-21
|
|
4
28
|
|
|
5
29
|
### Fixed
|
|
@@ -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;
|
|
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;WAwMT,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"}
|