zhytech-ui-mobile 1.1.16 → 1.2.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.
@@ -1,4 +1,5 @@
1
1
  import { default as groupLayout } from './groupLayout';
2
2
  import { default as tabs } from './tabs';
3
+ import { default as gridLayout } from './gridLayout';
3
4
 
4
- export { groupLayout, tabs };
5
+ export { groupLayout, tabs, gridLayout };
@@ -12,5 +12,6 @@ import { gradeAttribute } from './application/gradeAttribute';
12
12
  import { departmentAttribute } from './application/departmentAttribute';
13
13
  import { groupLayoutAttribute } from './layout/groupLayoutAttribute';
14
14
  import { tabsLayoutAttribute } from './layout/tabsLayoutAttribute';
15
+ import { gridLayoutAttribute } from './layout/gridLayoutAttribute';
15
16
 
16
- export type { baseAttribute, editAttribute, checkboxAttribute, datetimeAttribute, inputAttribute, radioAttribute, inputNumberAttribute, employeeAttribute, postAttribute, gradeAttribute, departmentAttribute, uploadAttribute, groupLayoutAttribute, tabsLayoutAttribute };
17
+ export type { baseAttribute, editAttribute, checkboxAttribute, datetimeAttribute, inputAttribute, radioAttribute, inputNumberAttribute, employeeAttribute, postAttribute, gradeAttribute, departmentAttribute, uploadAttribute, groupLayoutAttribute, tabsLayoutAttribute, gridLayoutAttribute };
@@ -0,0 +1,50 @@
1
+ /**
2
+ * @description: 网格布局(gridLayout)组件属性
3
+ */
4
+ export interface gridLayoutAttribute {
5
+ /**
6
+ * 行数
7
+ */
8
+ rows: number;
9
+ /**
10
+ * 列数
11
+ */
12
+ columns: number;
13
+ /**
14
+ * 是否显示网格线
15
+ */
16
+ showGridLines: boolean;
17
+ /**
18
+ * 网格线颜色
19
+ */
20
+ gridLineColor: string;
21
+ /**
22
+ * 单元格内边距
23
+ */
24
+ cellPadding: number;
25
+ /**
26
+ * 行高配置
27
+ */
28
+ rowHeights: number[];
29
+ /**
30
+ * 列宽配置
31
+ */
32
+ columnWidths: number[];
33
+ /**
34
+ * 背景色
35
+ */
36
+ backgroundColor: string;
37
+ /**
38
+ * 单元格布局方式
39
+ */
40
+ layoutMode: "horizontal" | "vertical";
41
+ /**
42
+ * 合并单元格配置
43
+ */
44
+ mergedCells: {
45
+ startRow: number;
46
+ startCol: number;
47
+ rowSpan: number;
48
+ colSpan: number;
49
+ }[];
50
+ }