@airpower/web 0.0.42 → 0.0.43
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/airpower.web.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { AirEntity, ClassConstructor } from '@airpower/core';
|
|
2
2
|
import { ITableFieldConfig } from '../decorator';
|
|
3
3
|
declare const _default: <E extends AirEntity>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
5
|
+
tableId: string;
|
|
6
|
+
}> & Omit<{
|
|
5
7
|
readonly data: E[];
|
|
6
8
|
readonly clazz: ClassConstructor<E>;
|
|
9
|
+
readonly tableId: string;
|
|
7
10
|
readonly columns?: ITableFieldConfig[] | undefined;
|
|
8
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
|
|
11
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "tableId">, "columns" | "data" | "clazz" | "tableId"> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
9
12
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
10
13
|
attrs: any;
|
|
11
14
|
slots: {};
|
|
@@ -5,7 +5,25 @@ import { TableAlign, TableFixed, TableSortable } from './TableType';
|
|
|
5
5
|
* @autho Hamm.cn
|
|
6
6
|
*/
|
|
7
7
|
export interface IElementTableColumn {
|
|
8
|
+
/**
|
|
9
|
+
* ### 滚动时固定位置
|
|
10
|
+
*/
|
|
8
11
|
fixed?: TableFixed;
|
|
12
|
+
/**
|
|
13
|
+
* ### 列对齐方式
|
|
14
|
+
*/
|
|
9
15
|
align?: TableAlign;
|
|
16
|
+
/**
|
|
17
|
+
* ### 是否字段允许排序 `默认不排序`
|
|
18
|
+
* `custom` 为自定义排序, `WebTable` 组件将触发 `onSortChange` 事件
|
|
19
|
+
*/
|
|
10
20
|
sortable?: TableSortable;
|
|
21
|
+
/**
|
|
22
|
+
* ### 列宽度
|
|
23
|
+
*/
|
|
24
|
+
width?: string;
|
|
25
|
+
/**
|
|
26
|
+
* ### 最小宽度
|
|
27
|
+
*/
|
|
28
|
+
minWidth?: string;
|
|
11
29
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@airpower/web",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.43",
|
|
5
5
|
"description": "AirPower-Web",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Hamm",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"vue": "^3.5.13"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@airpower/core": "^0.1.
|
|
47
|
+
"@airpower/core": "^0.1.17",
|
|
48
48
|
"axios": "^1.8.4",
|
|
49
49
|
"element-plus": "^2.9.7",
|
|
50
50
|
"vue": "^3.5.13"
|