@whitesev/utils 2.7.7 → 2.8.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/dist/index.amd.js +3 -3
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +3 -3
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +3 -3
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/types/src/types/React.d.ts +7 -7
- package/package.json +1 -1
- package/src/Dictionary.ts +2 -2
- package/src/Utils.ts +1 -1
- package/src/types/React.d.ts +7 -7
package/dist/index.system.js
CHANGED
|
@@ -4286,13 +4286,13 @@ System.register('Utils', [], (function (exports) {
|
|
|
4286
4286
|
* 获取字典所有的键
|
|
4287
4287
|
*/
|
|
4288
4288
|
keys() {
|
|
4289
|
-
return this.items.keys()
|
|
4289
|
+
return Array.from(this.items.keys());
|
|
4290
4290
|
}
|
|
4291
4291
|
/**
|
|
4292
4292
|
* 返回字典中的所有值
|
|
4293
4293
|
*/
|
|
4294
4294
|
values() {
|
|
4295
|
-
return this.items.values()
|
|
4295
|
+
return Array.from(this.items.values());
|
|
4296
4296
|
}
|
|
4297
4297
|
/**
|
|
4298
4298
|
* 清空字典
|
|
@@ -5478,7 +5478,7 @@ System.register('Utils', [], (function (exports) {
|
|
|
5478
5478
|
this.windowApi = new WindowApi(option);
|
|
5479
5479
|
}
|
|
5480
5480
|
/** 版本号 */
|
|
5481
|
-
version = "2025.9.
|
|
5481
|
+
version = "2025.9.14";
|
|
5482
5482
|
addStyle(cssText) {
|
|
5483
5483
|
if (typeof cssText !== "string") {
|
|
5484
5484
|
throw new Error("Utils.addStyle 参数cssText 必须为String类型");
|