@solar-taro/core 4.0.0 → 4.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 +24 -0
- package/package.json +1 -1
- package/ui.d.ts +2 -2
- package/ui.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## 4.0.1 (2026-10-14)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **core:** ensure correct type assertion for entity ID in entityToOption
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- HyperLife1119
|
|
10
|
+
|
|
11
|
+
# 4.0.0 (2026-10-14)
|
|
12
|
+
|
|
13
|
+
### 🚀 Features
|
|
14
|
+
|
|
15
|
+
- **core:** add entity to option conversion functions
|
|
16
|
+
|
|
17
|
+
### 🩹 Fixes
|
|
18
|
+
|
|
19
|
+
- **core:** make value parameter optional in fixed function
|
|
20
|
+
|
|
21
|
+
### ❤️ Thank You
|
|
22
|
+
|
|
23
|
+
- HyperLife1119
|
|
24
|
+
|
|
1
25
|
## 3.5.2 (2026-07-30)
|
|
2
26
|
|
|
3
27
|
This was a version bump only for core to align it with other projects, there were no code changes.
|
package/package.json
CHANGED
package/ui.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ export declare function entityToOption<T extends {
|
|
|
3
3
|
fullName: string;
|
|
4
4
|
}>(entity: T): {
|
|
5
5
|
label: string;
|
|
6
|
-
value:
|
|
6
|
+
value: T["id"];
|
|
7
7
|
} & T;
|
|
8
8
|
export declare function entitiesToOptions<T extends {
|
|
9
9
|
id: string | number;
|
|
10
10
|
fullName: string;
|
|
11
11
|
}>(entities: T[]): ({
|
|
12
12
|
label: string;
|
|
13
|
-
value:
|
|
13
|
+
value: T["id"];
|
|
14
14
|
} & T)[];
|
package/ui.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../../../packages/core/src/ui.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,cAAc,CAAsD,MAAS;IAC3F,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../../../packages/core/src/ui.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,cAAc,CAAsD,MAAS;IAC3F,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,EAAa,EAAE,GAAG,MAAM,EAAE,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAsD,QAAa;IAClG,OAAO,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;AACxD,CAAC"}
|