col.d.ts 2.4 KB

1234567891011121314151617181920212223
  1. import type { ExtractPropTypes } from 'vue';
  2. import type Col from './col.vue';
  3. export type ColSizeObject = {
  4. span?: number;
  5. offset?: number;
  6. pull?: number;
  7. push?: number;
  8. };
  9. export type ColSize = number | ColSizeObject;
  10. export declare const colProps: {
  11. readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
  12. readonly span: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 24, boolean>;
  13. readonly offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  14. readonly pull: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  15. readonly push: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  16. readonly xs: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number | ColSizeObject) | (() => ColSize) | ((new (...args: any[]) => number | ColSizeObject) | (() => ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
  17. readonly sm: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number | ColSizeObject) | (() => ColSize) | ((new (...args: any[]) => number | ColSizeObject) | (() => ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
  18. readonly md: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number | ColSizeObject) | (() => ColSize) | ((new (...args: any[]) => number | ColSizeObject) | (() => ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
  19. readonly lg: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number | ColSizeObject) | (() => ColSize) | ((new (...args: any[]) => number | ColSizeObject) | (() => ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
  20. readonly xl: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number | ColSizeObject) | (() => ColSize) | ((new (...args: any[]) => number | ColSizeObject) | (() => ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
  21. };
  22. export type ColProps = ExtractPropTypes<typeof colProps>;
  23. export type ColInstance = InstanceType<typeof Col> & unknown;