vuesp-components 5.0.1 → 5.1.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
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.1.0 — 2026-11-22
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Script editor suggestions for the common `fade()` and `http()` functions, so all devices get autocomplete and highlighting without duplicating them in every `suggestions.json`.
|
|
8
|
+
- TypeScript-like signatures in the suggestion `detail` line.
|
|
9
|
+
|
|
3
10
|
## 5.0.1 — 2026-11-21
|
|
4
11
|
|
|
5
12
|
### Fixed
|
|
@@ -4492,6 +4492,8 @@ $v0=$v0+1;
|
|
|
4492
4492
|
wait(1s);
|
|
4493
4493
|
end;`, detail: "while:${$v0<2}; end;" },
|
|
4494
4494
|
{ label: "udp", type: "func", insert: "udp(${},'call(1)')", detail: "udp(id:number, text:string)" },
|
|
4495
|
+
{ label: "fade", type: "func", insert: "fade(${0}, ${1}, ${2})", detail: "fade(gpio:number, value:number, time:number) => boolean" },
|
|
4496
|
+
{ label: "http", type: "func", insert: "http('${0}', '${1}')", detail: "http(method:string, url:string, count?:number, num?:number, data?:number[]) => status:number" },
|
|
4495
4497
|
{ label: "on", type: "func", insert: `on('\${event}');
|
|
4496
4498
|
|
|
4497
4499
|
end;`, detail: "event(name: string)" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suggestions.d.ts","sourceRoot":"","sources":["../../../../src/components/script/editor/suggestions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,eAAO,MAAM,mBAAmB,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"suggestions.d.ts","sourceRoot":"","sources":["../../../../src/components/script/editor/suggestions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,eAAO,MAAM,mBAAmB,EAAE,WAAW,EA6B5C,CAAC"}
|
package/package.json
CHANGED