@oiij/naive-ui 0.0.43 → 0.0.44

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.
@@ -66,7 +66,7 @@ export type DataTablePlusProps<P extends RObject = RObject, D extends RObject =
66
66
  fields?: DataTablePlusFields;
67
67
  search?: SearchInputProps & ClassStyle | boolean;
68
68
  pagination?: Omit<PaginationProps, 'page' | 'pageSize'> & ClassStyle | boolean;
69
- clearable?: boolean;
69
+ clearable?: boolean | 'main' | 'modal';
70
70
  columnsFilterOptions?: (filters: DataTableFilterState) => Record<string, any>;
71
71
  columnsSorterOptions?: (sorters: Record<string, DataTableSortState>) => Record<string, any>;
72
72
  dataTableProps?: DataTableProps & ClassStyle;
@@ -4,12 +4,12 @@ declare const _default: <V extends PresetPickerValue, R extends RObject>(__VLS_p
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  readonly onClose?: (() => any) | undefined;
6
6
  readonly "onUpdate:value"?: ((val: V | null, raw: R | R[] | null) => any) | undefined;
7
+ readonly onNegativeClick?: (() => any) | undefined;
7
8
  readonly onPositiveClick?: (() => any) | undefined;
8
9
  readonly onAfterEnter?: (() => any) | undefined;
9
10
  readonly onAfterLeave?: (() => any) | undefined;
10
11
  readonly onEsc?: (() => any) | undefined;
11
12
  readonly onMaskClick?: (() => any) | undefined;
12
- readonly onNegativeClick?: (() => any) | undefined;
13
13
  readonly "onUpdate:show"?: ((value: boolean) => any) | undefined;
14
14
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:value" | "onUpdate:show" | "onClose" | "onEsc" | "onAfterEnter" | "onAfterLeave" | "onPositiveClick" | "onNegativeClick" | "onMaskClick"> & PresetPickerProps<V, R> & Partial<{}>> & import('vue').PublicProps;
15
15
  expose(exposed: import('vue').ShallowUnwrapRef<{