@dinert/element-plus 1.1.32 → 1.1.33

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.
@@ -53,12 +53,13 @@ export interface RewriteTableProps<T = any> extends TableProps<T>, TableFnProps
53
53
  type PaginationPropsFn = Partial<Pick<InstanceType<typeof ElPagination>, 'onChange' | 'onUpdate:current-page' | 'onUpdate:page-size' | 'onSize-change' | 'onCurrent-change' | 'onPrev-click' | 'onNext-click'>>;
54
54
  export interface RewritePaginationProps extends PaginationPropsFn, Partial<Mutable<PaginationProps>> {
55
55
  }
56
- export interface HeaderListProps extends Partial<ButtonProps> {
56
+ export interface HeaderListProps extends Omit<Partial<ButtonProps>, 'disabled'> {
57
57
  message?: string;
58
58
  click?: (item: HeaderListProps) => void;
59
59
  sort?: number;
60
60
  show?: boolean | ((item: HeaderListProps) => boolean);
61
61
  key?: string;
62
+ disabled?: boolean | ((item: HeaderListProps) => boolean);
62
63
  }
63
64
  export interface TablePageProps<T = any> {
64
65
  header?: boolean | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dinert/element-plus",
3
- "version": "1.1.32",
3
+ "version": "1.1.33",
4
4
  "description": "基于vue3封装的element-plus包",
5
5
  "scripts": {
6
6
  "dev": "vite",