constant.d.ts 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /**
  2. * 尺寸配置
  3. */
  4. export declare const SIZE_STYLE: {
  5. small: {
  6. textFontSize: number;
  7. buttonWidth: number;
  8. buttonHeight: number;
  9. markerSize: number;
  10. };
  11. middle: {
  12. textFontSize: number;
  13. buttonWidth: number;
  14. buttonHeight: number;
  15. markerSize: number;
  16. };
  17. large: {
  18. textFontSize: number;
  19. buttonWidth: number;
  20. buttonHeight: number;
  21. markerSize: number;
  22. };
  23. };
  24. /**
  25. * 类型配置
  26. */
  27. export declare const TYPE_STYLE: {
  28. primary: {
  29. default: {
  30. textFill: string;
  31. buttonFill: string;
  32. buttonLineWidth: number;
  33. markerFill: string;
  34. };
  35. active: {
  36. buttonFill: string;
  37. markerFill: string;
  38. };
  39. disabled: {};
  40. };
  41. dashed: {
  42. default: {
  43. buttonFill: string;
  44. buttonStroke: string;
  45. buttonLineDash: number[];
  46. };
  47. active: {};
  48. disabled: {};
  49. };
  50. link: {
  51. default: {
  52. textFill: string;
  53. buttonFill: string;
  54. buttonLineWidth: number;
  55. markerFill: string;
  56. };
  57. active: {};
  58. disabled: {};
  59. };
  60. text: {
  61. default: {
  62. textFill: string;
  63. buttonFill: string;
  64. buttonLineWidth: number;
  65. markerFill: string;
  66. };
  67. active: {};
  68. disabled: {};
  69. };
  70. default: {
  71. default: {
  72. textFill: string;
  73. buttonFill: string;
  74. buttonStroke: string;
  75. markerFill: string;
  76. };
  77. active: {
  78. textFill: string;
  79. buttonStroke: string;
  80. markerStroke: string;
  81. };
  82. disabled: {};
  83. };
  84. };
  85. /**
  86. * disabled style
  87. */
  88. export declare const DISABLED_STYLE: {
  89. strict: {
  90. textFill: string;
  91. };
  92. buttonStroke: string;
  93. buttonFill: string;
  94. markerStroke: string;
  95. };