@wx-design/components 0.1.10 → 0.2.1

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.
@@ -1,11 +1,8 @@
1
1
  /**
2
2
  * 单元格编辑-输入框
3
3
  */
4
+ import { InputProps } from "element-plus";
4
5
  import type { SabColumnProps } from "../../../../types/table";
5
- declare const SabCellEditInput: import("vue").DefineComponent<{
6
- modelValue?: string | undefined;
7
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
8
- modelValue?: string | undefined;
9
- }>, {}, {}>;
6
+ declare const SabCellEditInput: import("vue").DefineComponent<InputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<InputProps>, {}, {}>;
10
7
  export default SabCellEditInput;
11
8
  export declare const config: Partial<SabColumnProps>;
@@ -1,11 +1,10 @@
1
1
  /**
2
2
  * 单元格编辑-数值输入框
3
3
  */
4
+ import { InputNumberProps } from "element-plus";
4
5
  import type { SabColumnProps } from "../../../../types/table";
5
- declare const SabCellEditInputNumber: import("vue").DefineComponent<{
6
- modelValue?: number | undefined;
7
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
8
- modelValue?: number | undefined;
9
- }>, {}, {}>;
6
+ declare const SabCellEditInputNumber: import("vue").DefineComponent<InputNumberProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<InputNumberProps>, {
7
+ readonly valueOnClear: any;
8
+ }, {}>;
10
9
  export default SabCellEditInputNumber;
11
10
  export declare const config: Partial<SabColumnProps>;
@@ -1,3 +1,4 @@
1
1
  import type { SabColumnProps } from "../../../types/table";
2
- export declare const defaultColumnConfig: (column: SabColumnProps) => SabColumnProps;
2
+ export declare const defaultColumnConfig: Partial<SabColumnProps>;
3
+ export declare const modifyColumnConfig: (column: SabColumnProps) => SabColumnProps;
3
4
  export declare const setDefaultColumnConfigs: (columns: SabColumnProps[]) => SabColumnProps[];
@@ -585,12 +585,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
585
585
  fit: boolean;
586
586
  animat: boolean;
587
587
  delayHover: number;
588
+ popoverConfig: import("../../types/table").SabPopoverParams;
589
+ wrapClassName: any;
588
590
  withSeq: boolean;
589
591
  withCheckbox: boolean;
590
592
  showToolbar: boolean;
591
593
  autoClearSelected: boolean;
592
- }, {}>, Partial<Record<string, (_: {}) => any>> & {
593
- "sab-toolbar"?(_: {}): any;
594
+ }, {}>, Partial<Record<string, (_: any) => any>> & {
595
+ "table-toolbar"?(_: {}): any;
596
+ "table-footer"?(_: {}): any;
594
597
  }>;
595
598
  export default _default;
596
599
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;