events.d.ts 634 B

1234567891011121314151617181920212223242526
  1. /**
  2. * @description 事件配置
  3. * @author wangfupeng
  4. */
  5. import { EMPTY_FN } from '../utils/const';
  6. export declare type TCatalog = {
  7. tag: string;
  8. id: string;
  9. text: string;
  10. };
  11. /**
  12. * 提示信息
  13. * @param alertInfo alert info
  14. * @param alertType 错误提示类型
  15. * @param debugInfo debug info
  16. */
  17. declare function customAlert(alertInfo: string, alertType: string, debugInfo?: string): void;
  18. declare const _default: {
  19. onchangeTimeout: number;
  20. onchange: null;
  21. onfocus: typeof EMPTY_FN;
  22. onblur: typeof EMPTY_FN;
  23. onCatalogChange: null;
  24. customAlert: typeof customAlert;
  25. };
  26. export default _default;