holyes-table 1.0.12 → 1.0.14
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/README.md +174 -62
- package/dist/index.mjs +205 -198
- package/dist/lib/pretextTable/hook/useCheckbox.d.ts +1 -1
- package/dist/lib/pretextTable/pretextTable.vue.d.ts +1 -1
- package/dist/lib/pretextTable/type.d.ts +2 -0
- package/dist/lib/pretextTable/useHolyesTable.d.ts +1 -1
- package/package.json +3 -2
- package//346/233/264/346/226/260/346/227/245/345/277/227.md +41 -0
|
@@ -25,7 +25,7 @@ export declare function useCheckbox(dataObj: {
|
|
|
25
25
|
/** 单元格选中 */
|
|
26
26
|
onCellChecked: (item: any, field?: string) => void;
|
|
27
27
|
/** 获取选中的数据 */
|
|
28
|
-
getCheckboxRecords: (isFull: boolean) => any[];
|
|
28
|
+
getCheckboxRecords: (isFull: boolean, field?: string) => any[];
|
|
29
29
|
/** 清空多选列选中状态,给内部初始化用的 */
|
|
30
30
|
clearCheckboxRowInit: () => void;
|
|
31
31
|
};
|
|
@@ -84,7 +84,7 @@ declare const _default: __VLS_WithSlots<import('vue').DefineComponent<import('vu
|
|
|
84
84
|
}>, {
|
|
85
85
|
loadData: (tempData: any[]) => Promise<void>;
|
|
86
86
|
reloadData: (tempData: any[]) => Promise<void>;
|
|
87
|
-
getCheckboxRecords: (isFull: boolean) => any[];
|
|
87
|
+
getCheckboxRecords: (isFull: boolean, field?: string) => any[];
|
|
88
88
|
clearCheckboxRow: (field?: string) => void;
|
|
89
89
|
updateFooter: (field?: string) => void;
|
|
90
90
|
updateFooterCellLabel: (field: string, rowIndex: number, label: string) => void;
|
|
@@ -17,7 +17,9 @@ export type HolyesTableColumnPropsTypeOption = {
|
|
|
17
17
|
style?: any;
|
|
18
18
|
/** 列是否可筛选 */
|
|
19
19
|
isFilter?: {
|
|
20
|
+
/** 筛选的类型 */
|
|
20
21
|
type: HolyesTableFilterType;
|
|
22
|
+
/** 筛选type是listFilter时,筛选选项数组 */
|
|
21
23
|
listOptions?: {
|
|
22
24
|
label: string;
|
|
23
25
|
value: HolyesTableFilterlistOptions;
|
|
@@ -67,7 +67,7 @@ export declare const useHolyesTable: (dataObj: {
|
|
|
67
67
|
headerCheckedIndeterminate: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
68
68
|
onHeaderChecked: (field: string) => void;
|
|
69
69
|
onCellChecked: (item: any, field?: string) => void;
|
|
70
|
-
getCheckboxRecords: (isFull: boolean) => any[];
|
|
70
|
+
getCheckboxRecords: (isFull: boolean, field?: string) => any[];
|
|
71
71
|
clearCheckboxRow: (field?: string) => void;
|
|
72
72
|
sortField: import('vue').Ref<string, string>;
|
|
73
73
|
sortOrder: import('vue').Ref<"asc" | "desc" | null, "asc" | "desc" | null>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "holyes-table",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "合力思虚拟滚动表格组件",
|
|
5
5
|
"main": "./dist/index.mjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"./style.css": "./dist/index.css"
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
|
-
"dist"
|
|
17
|
+
"dist",
|
|
18
|
+
"更新日志.md"
|
|
18
19
|
],
|
|
19
20
|
"scripts": {
|
|
20
21
|
"dev": "vite",
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# 更新日志
|
|
2
|
+
|
|
3
|
+
## v1.0.14 (2026-05-22)
|
|
4
|
+
|
|
5
|
+
- 调整README.md,增加说明
|
|
6
|
+
|
|
7
|
+
## v1.0.13 (2026-05-22)
|
|
8
|
+
|
|
9
|
+
- 修复getCheckboxRecords方法,返回选中的行数据,在树结构下也生效
|
|
10
|
+
|
|
11
|
+
## v1.0.12 (2026-05-21)
|
|
12
|
+
|
|
13
|
+
- 增加插槽多选框列
|
|
14
|
+
|
|
15
|
+
## v1.0.11 (2026-05-15)
|
|
16
|
+
|
|
17
|
+
- 树结构, 增加checkStrictly属性,严格选中/取消选中子节点
|
|
18
|
+
- 修复树结构, 多选列不对的问题
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## v1.0.10 (2026-05-15)
|
|
23
|
+
|
|
24
|
+
- 修复setAllTreeExpand,没有展开所有节点的问题
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## v1.0.9 (2026-05-15)
|
|
29
|
+
|
|
30
|
+
- 修复筛选搜索功能,重置所有相关问题
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## v1.0.0
|
|
35
|
+
|
|
36
|
+
### 新增
|
|
37
|
+
|
|
38
|
+
- 首次提交,项目初始化
|
|
39
|
+
- 基础表格组件
|
|
40
|
+
- 组件类型定义
|
|
41
|
+
- 项目说明文档
|