{"version":3,"file":"config-provider-props.mjs","sources":["../../../../../../../packages/components/config-provider/src/config-provider-props.ts"],"sourcesContent":["import { buildProps, definePropType } from '@m-eleplus-crud/utils'\r\nimport { useSizeProp } from '@m-eleplus-crud/hooks'\r\nimport type { ExtractPropTypes } from 'vue'\r\nimport type { Language } from '@m-eleplus-crud/locale'\r\n\r\n/**\r\n * @description 全局配置属性\r\n */\r\nexport const configProviderProps = buildProps({\r\n  /**\r\n   * @description 国际化配置\r\n   */\r\n  locale: {\r\n    type: definePropType<Language>(Object),\r\n  },\r\n  /**\r\n   * @description 组件尺寸\r\n   */\r\n  size: useSizeProp,\r\n  /**\r\n   * @description 表格高度调节(px)\r\n   */\r\n  calcHeight: {\r\n    type: Number,\r\n    required: false,\r\n  },\r\n  /**\r\n   * @description 外部传递的http get请求函数\r\n   */\r\n  httpGet: {\r\n    type: Function,\r\n    required: false,\r\n  },\r\n} as const)\r\n\r\nexport type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>\r\n"],"names":[],"mappings":";;;AAQO,MAAM,sBAAsB,UAAW,CAAA;AAAA,EAI5C,MAAQ,EAAA;AAAA,IACN,IAAA,EAAM,eAAyB,MAAM,CAAA;AAAA,GACvC;AAAA,EAIA,IAAM,EAAA,WAAA;AAAA,EAIN,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,QAAU,EAAA,KAAA;AAAA,GACZ;AAAA,EAIA,OAAS,EAAA;AAAA,IACP,IAAM,EAAA,QAAA;AAAA,IACN,QAAU,EAAA,KAAA;AAAA,GACZ;AACF,CAAU;;;;"}