hy-virtual-tree 1.1.28 → 1.1.30

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
+ ### 1.1.30
4
+
5
+ _2025-09-17_
6
+
7
+ - 扩展[VirtualTree] 功能
8
+ (1)添加 emptyText 和 renderEmpty 属性
9
+ (2)修复调用 setData 方法更新数据时,多选勾选状态没同步更新问题
10
+
11
+ ### 1.1.29
12
+
13
+ _2025-09-17_
14
+
15
+ - 扩展[VirtualTree] 功能
16
+ (1)添加 businessConfig.sortByStatus,对设备在线和离线状态进行排序
17
+ (2)修复开启 businessConfig.showOnlineState 时,隐藏的节点仍可被选中
18
+ (3)修复开启 businessConfig.showOnlineState 时,设备上下线不会同步更新勾选状态
19
+
3
20
  ### 1.1.28
4
21
 
5
22
  _2025-09-16_
package/dist/index.css CHANGED
@@ -1,3 +1,24 @@
1
+ .hy-icon {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ }
6
+
7
+ .hy-empty-container {
8
+ position: absolute;
9
+ left: 50%;
10
+ top: 50%;
11
+ transform: translate(-50%, -50%);
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: center;
15
+ color: #5e9db4;
16
+ font-size: 14px;
17
+ }
18
+ .hy-empty-container .hy-empty-text {
19
+ margin-top: 14px;
20
+ }
21
+
1
22
  .hy-checkbox {
2
23
  --hy-checkbox-height: 26px;
3
24
  --hy-checkbox-font-size: 14px;