@dinert/element-plus 1.1.29 → 1.1.31

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.
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
12
12
  }, {
13
13
  options: import("vue").ComputedRef<any>;
14
14
  inputRef: import("vue").Ref<null>;
15
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "EnterSearch"[], "EnterSearch", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  form: {
17
17
  type: PropType<RewriteFormProps<any, any>>;
18
18
  default: () => {};
@@ -21,7 +21,9 @@ declare const _default: import("vue").DefineComponent<{
21
21
  type: PropType<CustomFormItemProps<any, any[], any>>;
22
22
  default: () => {};
23
23
  };
24
- }>>, {
24
+ }>> & {
25
+ onEnterSearch?: ((...args: any[]) => any) | undefined;
26
+ }, {
25
27
  form: RewriteFormProps<any, any>;
26
28
  formItem: CustomFormItemProps<any, any[], any>;
27
29
  }, {}>;
@@ -73,6 +73,7 @@ export interface RewriteFormProps<D = any, FI = any> extends Omit<Partial<FormPr
73
73
  resetButton?: Partial<ButtonProps & {
74
74
  message?: string;
75
75
  }>;
76
+ enterSearch?: boolean;
76
77
  }
77
78
  export interface DinertFormProps<D = any, FI = any> {
78
79
  form: RewriteFormProps<D, FI>;
@@ -12,3 +12,4 @@ export declare const treeProps: {
12
12
  label: string;
13
13
  class: (data: any) => "" | "hide";
14
14
  };
15
+ export declare const isAllChecked: (tableColumns: any) => any;
@@ -24,7 +24,7 @@ export interface RewriteTableColumnCtx<T = any> extends Omit<Partial<TableColumn
24
24
  type?: 'default' | 'selection' | 'index' | 'expand';
25
25
  checked?: boolean;
26
26
  show?: boolean | ((column: RewriteTableColumnCtx<T>) => boolean);
27
- formatter?: (scope: ScopeProps<T>, column: TableColumnCtx<T>, cellValue: any, index: number) => any;
27
+ formatter?: (scope: ScopeProps<T>, column: TableColumnCtx<T>, cellValue: any, index: number, errData?: string) => any;
28
28
  setting?: boolean;
29
29
  maxOperations?: number;
30
30
  operations?: Record<string, OperationsProps<T>>;
@@ -48,6 +48,7 @@ export interface RewriteTableProps<T = any> extends TableProps<T>, TableFnProps
48
48
  rowSelection?: RewriteTableColumnCtx<T>;
49
49
  class?: string;
50
50
  pagination: RewritePaginationProps;
51
+ autoHeight?: boolean;
51
52
  }
52
53
  type PaginationPropsFn = Partial<Pick<InstanceType<typeof ElPagination>, 'onChange' | 'onUpdate:current-page' | 'onUpdate:page-size' | 'onSize-change' | 'onCurrent-change' | 'onPrev-click' | 'onNext-click'>>;
53
54
  export interface RewritePaginationProps extends PaginationPropsFn, Partial<Mutable<PaginationProps>> {
@@ -1 +1,21 @@
1
- export declare const tableData: never[];
1
+ export declare const tableData: {
2
+ args: string;
3
+ costTime: number;
4
+ errorMsg: string;
5
+ id: string;
6
+ ip: string;
7
+ operationDescription: string;
8
+ operationObject: string;
9
+ operationResult: string;
10
+ operationType: {
11
+ code: string;
12
+ name: string;
13
+ };
14
+ overTime: number;
15
+ requestMethod: string;
16
+ requestUrl: string;
17
+ securityLevel: string;
18
+ startTime: string;
19
+ userId: string;
20
+ userName: string;
21
+ }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dinert/element-plus",
3
- "version": "1.1.29",
3
+ "version": "1.1.31",
4
4
  "description": "基于vue3封装的element-plus包",
5
5
  "scripts": {
6
6
  "dev": "vite",