next-element-vue 0.8.3 → 0.8.5

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.
@@ -6,11 +6,18 @@ export declare interface Column {
6
6
  readonly prop: string;
7
7
  label: string;
8
8
  type?: string;
9
+ columnType?: string;
9
10
  placeholder?: string;
10
11
  rangeSeparator?: string;
11
12
  startPlaceholder?: string;
12
13
  endPlaceholder?: string;
13
14
  dicKey?: string;
15
+ dicLabel?: string;
16
+ treeSelectProps?: {
17
+ value?: string;
18
+ label?: string;
19
+ separator?: string;
20
+ };
14
21
  dicData?: DictData[];
15
22
  loadDicData?: Function;
16
23
  disabled?: boolean;
@@ -28,6 +35,7 @@ export declare interface Column {
28
35
  span?: number;
29
36
  tableSelect?: any;
30
37
  onChange?: Function;
38
+ onVisibleChange?: Function;
31
39
  }
32
40
  export interface SearchColumnProps extends Column {
33
41
  searchType?: string;
@@ -165,12 +173,15 @@ export interface TableColumnProps extends SearchColumnProps, FormColunmProps {
165
173
  fixed?: string | boolean;
166
174
  formatter?: Function;
167
175
  showOverflowTooltip?: boolean | object;
176
+ type?: string;
168
177
  headerAlign?: string;
169
178
  align?: string;
170
179
  sortable?: boolean;
180
+ sortMethod?: Function;
171
181
  cellUnit?: string;
172
182
  children?: TableColumnProps[];
173
183
  renderColumnCell?: Function;
184
+ renderHeader?: Function;
174
185
  }
175
186
  export declare const header_menu_slots_key: string[];
176
187
  export declare const operation_column_slots_key: string[];
@@ -1,14 +1,15 @@
1
+ import type { TableColumnProps } from '../config';
1
2
  declare const TableColumnDynamic: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
3
  columnOption: {
3
- type: ObjectConstructor;
4
+ type: () => TableColumnProps;
4
5
  default: () => {};
5
6
  };
6
7
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
8
  columnOption: {
8
- type: ObjectConstructor;
9
+ type: () => TableColumnProps;
9
10
  default: () => {};
10
11
  };
11
12
  }>> & Readonly<{}>, {
12
- columnOption: Record<string, any>;
13
+ columnOption: TableColumnProps;
13
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
15
  export default TableColumnDynamic;
@@ -69,6 +69,7 @@ export interface FormItemProps {
69
69
  renderDividerAfter?: Function;
70
70
  remark?: string;
71
71
  onChange?: Function;
72
+ onVisibleChange?: Function;
72
73
  onClear?: Function;
73
74
  onBlur?: Function;
74
75
  onFocus?: Function;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-element-vue",
3
- "version": "0.8.3",
3
+ "version": "0.8.5",
4
4
  "author": {
5
5
  "name": "huangteng",
6
6
  "email": "junehunter@163.com"