Browse Source

chore: remove useless tsx support (#39890)

* chore: remove useless tsx support

* add

* add

* style

* fix lint

* fix lint

* fix lint

* update locale entry

* update locale entry

* update locale entry

* delete useless style
pull/39901/head
lijianan 2 years ago
committed by GitHub
parent
commit
9aec72c395
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 0
      .dumi/loading.ts
  2. 0
      components/_util/getScroll.ts
  3. 0
      components/_util/motion.ts
  4. 0
      components/_util/placements.ts
  5. 0
      components/_util/statusUtils.ts
  6. 0
      components/_util/styleChecker.ts
  7. 0
      components/_util/throttleByAnimationFrame.ts
  8. 1
      components/_util/transKeys.ts
  9. 0
      components/affix/style/index.ts
  10. 0
      components/alert/style/index.ts
  11. 0
      components/anchor/index.ts
  12. 0
      components/anchor/style/index.ts
  13. 0
      components/app/style/index.ts
  14. 0
      components/avatar/index.ts
  15. 0
      components/avatar/style/index.ts
  16. 0
      components/back-top/style/index.ts
  17. 0
      components/badge/style/index.ts
  18. 0
      components/badge/utils.ts
  19. 0
      components/breadcrumb/index.ts
  20. 0
      components/breadcrumb/style/index.ts
  21. 0
      components/button/index.ts
  22. 0
      components/button/style/group.ts
  23. 0
      components/button/style/index.ts
  24. 0
      components/calendar/index.ts
  25. 0
      components/calendar/locale/ar_EG.ts
  26. 0
      components/calendar/locale/az_AZ.ts
  27. 0
      components/calendar/locale/bg_BG.ts
  28. 0
      components/calendar/locale/bn_BD.ts
  29. 0
      components/calendar/locale/by_BY.ts
  30. 0
      components/calendar/locale/ca_ES.ts
  31. 0
      components/calendar/locale/cs_CZ.ts
  32. 0
      components/calendar/locale/da_DK.ts
  33. 0
      components/calendar/locale/de_DE.ts
  34. 0
      components/calendar/locale/el_GR.ts
  35. 0
      components/calendar/locale/en_GB.ts
  36. 0
      components/calendar/locale/en_US.ts
  37. 0
      components/calendar/locale/es_ES.ts
  38. 0
      components/calendar/locale/et_EE.ts
  39. 0
      components/calendar/locale/eu_ES.ts
  40. 0
      components/calendar/locale/fa_IR.ts
  41. 0
      components/calendar/locale/fi_FI.ts
  42. 0
      components/calendar/locale/fr_BE.ts
  43. 0
      components/calendar/locale/fr_CA.ts
  44. 0
      components/calendar/locale/fr_FR.ts
  45. 0
      components/calendar/locale/ga_IE.ts
  46. 0
      components/calendar/locale/gl_ES.ts
  47. 0
      components/calendar/locale/he_IL.ts
  48. 0
      components/calendar/locale/hi_IN.ts
  49. 0
      components/calendar/locale/hr_HR.ts
  50. 0
      components/calendar/locale/hu_HU.ts
  51. 0
      components/calendar/locale/id_ID.ts
  52. 0
      components/calendar/locale/is_IS.ts
  53. 0
      components/calendar/locale/it_IT.ts
  54. 0
      components/calendar/locale/ja_JP.ts
  55. 0
      components/calendar/locale/ka_GE.ts
  56. 0
      components/calendar/locale/kk_KZ.ts
  57. 0
      components/calendar/locale/km_KH.ts
  58. 0
      components/calendar/locale/kmr_IQ.ts
  59. 0
      components/calendar/locale/kn_IN.ts
  60. 0
      components/calendar/locale/ko_KR.ts
  61. 0
      components/calendar/locale/lt_LT.ts
  62. 0
      components/calendar/locale/lv_LV.ts
  63. 0
      components/calendar/locale/mk_MK.ts
  64. 0
      components/calendar/locale/ml_IN.ts
  65. 0
      components/calendar/locale/mn_MN.ts
  66. 0
      components/calendar/locale/ms_MY.ts
  67. 0
      components/calendar/locale/nb_NO.ts
  68. 0
      components/calendar/locale/nl_BE.ts
  69. 0
      components/calendar/locale/nl_NL.ts
  70. 0
      components/calendar/locale/pl_PL.ts
  71. 0
      components/calendar/locale/pt_BR.ts
  72. 0
      components/calendar/locale/pt_PT.ts
  73. 0
      components/calendar/locale/ro_RO.ts
  74. 0
      components/calendar/locale/ru_RU.ts
  75. 0
      components/calendar/locale/si_LK.ts
  76. 0
      components/calendar/locale/sk_SK.ts
  77. 0
      components/calendar/locale/sl_SI.ts
  78. 0
      components/calendar/locale/sr_RS.ts
  79. 0
      components/calendar/locale/sv_SE.ts
  80. 0
      components/calendar/locale/ta_IN.ts
  81. 0
      components/calendar/locale/th_TH.ts
  82. 0
      components/calendar/locale/tk_TK.ts
  83. 0
      components/calendar/locale/tr_TR.ts
  84. 0
      components/calendar/locale/uk_UA.ts
  85. 0
      components/calendar/locale/ur_PK.ts
  86. 0
      components/calendar/locale/vi_VN.ts
  87. 0
      components/calendar/locale/zh_CN.ts
  88. 0
      components/calendar/locale/zh_TW.ts
  89. 0
      components/calendar/style/index.ts
  90. 0
      components/card/index.ts
  91. 0
      components/card/style/index.ts
  92. 6
      components/carousel/index.tsx
  93. 0
      components/carousel/style/index.ts
  94. 0
      components/cascader/style/index.ts
  95. 0
      components/checkbox/index.ts
  96. 0
      components/checkbox/style/index.ts
  97. 0
      components/col/index.ts
  98. 0
      components/col/style/index.ts
  99. 0
      components/collapse/index.ts
  100. 0
      components/collapse/style/index.ts

0
.dumi/loading.js → .dumi/loading.ts

0
components/_util/getScroll.tsx → components/_util/getScroll.ts

0
components/_util/motion.tsx → components/_util/motion.ts

0
components/_util/placements.tsx → components/_util/placements.ts

0
components/_util/statusUtils.tsx → components/_util/statusUtils.ts

0
components/_util/styleChecker.tsx → components/_util/styleChecker.ts

0
components/_util/throttleByAnimationFrame.tsx → components/_util/throttleByAnimationFrame.ts

1
components/_util/transKeys.ts

@ -5,6 +5,7 @@ export const groupKeysMap = (keys: string[]) => {
});
return map;
};
export const groupDisabledKeysMap = <RecordType extends any[]>(dataSource: RecordType) => {
const map = new Map<string, number>();
dataSource.forEach(({ disabled, key }, index) => {

0
components/affix/style/index.tsx → components/affix/style/index.ts

0
components/alert/style/index.tsx → components/alert/style/index.ts

0
components/anchor/index.tsx → components/anchor/index.ts

0
components/anchor/style/index.tsx → components/anchor/style/index.ts

0
components/app/style/index.tsx → components/app/style/index.ts

0
components/avatar/index.tsx → components/avatar/index.ts

0
components/avatar/style/index.tsx → components/avatar/style/index.ts

0
components/back-top/style/index.tsx → components/back-top/style/index.ts

0
components/badge/style/index.tsx → components/badge/style/index.ts

0
components/badge/utils.tsx → components/badge/utils.ts

0
components/breadcrumb/index.tsx → components/breadcrumb/index.ts

0
components/breadcrumb/style/index.tsx → components/breadcrumb/style/index.ts

0
components/button/index.tsx → components/button/index.ts

0
components/button/style/group.tsx → components/button/style/group.ts

0
components/button/style/index.tsx → components/button/style/index.ts

0
components/calendar/index.tsx → components/calendar/index.ts

0
components/calendar/locale/ar_EG.tsx → components/calendar/locale/ar_EG.ts

0
components/calendar/locale/az_AZ.tsx → components/calendar/locale/az_AZ.ts

0
components/calendar/locale/bg_BG.tsx → components/calendar/locale/bg_BG.ts

0
components/calendar/locale/bn_BD.tsx → components/calendar/locale/bn_BD.ts

0
components/calendar/locale/by_BY.tsx → components/calendar/locale/by_BY.ts

0
components/calendar/locale/ca_ES.tsx → components/calendar/locale/ca_ES.ts

0
components/calendar/locale/cs_CZ.tsx → components/calendar/locale/cs_CZ.ts

0
components/calendar/locale/da_DK.tsx → components/calendar/locale/da_DK.ts

0
components/calendar/locale/de_DE.tsx → components/calendar/locale/de_DE.ts

0
components/calendar/locale/el_GR.tsx → components/calendar/locale/el_GR.ts

0
components/calendar/locale/en_GB.tsx → components/calendar/locale/en_GB.ts

0
components/calendar/locale/en_US.tsx → components/calendar/locale/en_US.ts

0
components/calendar/locale/es_ES.tsx → components/calendar/locale/es_ES.ts

0
components/calendar/locale/et_EE.tsx → components/calendar/locale/et_EE.ts

0
components/calendar/locale/eu_ES.tsx → components/calendar/locale/eu_ES.ts

0
components/calendar/locale/fa_IR.tsx → components/calendar/locale/fa_IR.ts

0
components/calendar/locale/fi_FI.tsx → components/calendar/locale/fi_FI.ts

0
components/calendar/locale/fr_BE.tsx → components/calendar/locale/fr_BE.ts

0
components/calendar/locale/fr_CA.tsx → components/calendar/locale/fr_CA.ts

0
components/calendar/locale/fr_FR.tsx → components/calendar/locale/fr_FR.ts

0
components/calendar/locale/ga_IE.tsx → components/calendar/locale/ga_IE.ts

0
components/calendar/locale/gl_ES.tsx → components/calendar/locale/gl_ES.ts

0
components/calendar/locale/he_IL.tsx → components/calendar/locale/he_IL.ts

0
components/calendar/locale/hi_IN.tsx → components/calendar/locale/hi_IN.ts

0
components/calendar/locale/hr_HR.tsx → components/calendar/locale/hr_HR.ts

0
components/calendar/locale/hu_HU.tsx → components/calendar/locale/hu_HU.ts

0
components/calendar/locale/id_ID.tsx → components/calendar/locale/id_ID.ts

0
components/calendar/locale/is_IS.tsx → components/calendar/locale/is_IS.ts

0
components/calendar/locale/it_IT.tsx → components/calendar/locale/it_IT.ts

0
components/calendar/locale/ja_JP.tsx → components/calendar/locale/ja_JP.ts

0
components/calendar/locale/ka_GE.tsx → components/calendar/locale/ka_GE.ts

0
components/calendar/locale/kk_KZ.tsx → components/calendar/locale/kk_KZ.ts

0
components/calendar/locale/km_KH.tsx → components/calendar/locale/km_KH.ts

0
components/calendar/locale/kmr_IQ.tsx → components/calendar/locale/kmr_IQ.ts

0
components/calendar/locale/kn_IN.tsx → components/calendar/locale/kn_IN.ts

0
components/calendar/locale/ko_KR.tsx → components/calendar/locale/ko_KR.ts

0
components/calendar/locale/lt_LT.tsx → components/calendar/locale/lt_LT.ts

0
components/calendar/locale/lv_LV.tsx → components/calendar/locale/lv_LV.ts

0
components/calendar/locale/mk_MK.tsx → components/calendar/locale/mk_MK.ts

0
components/calendar/locale/ml_IN.tsx → components/calendar/locale/ml_IN.ts

0
components/calendar/locale/mn_MN.tsx → components/calendar/locale/mn_MN.ts

0
components/calendar/locale/ms_MY.tsx → components/calendar/locale/ms_MY.ts

0
components/calendar/locale/nb_NO.tsx → components/calendar/locale/nb_NO.ts

0
components/calendar/locale/nl_BE.tsx → components/calendar/locale/nl_BE.ts

0
components/calendar/locale/nl_NL.tsx → components/calendar/locale/nl_NL.ts

0
components/calendar/locale/pl_PL.tsx → components/calendar/locale/pl_PL.ts

0
components/calendar/locale/pt_BR.tsx → components/calendar/locale/pt_BR.ts

0
components/calendar/locale/pt_PT.tsx → components/calendar/locale/pt_PT.ts

0
components/calendar/locale/ro_RO.tsx → components/calendar/locale/ro_RO.ts

0
components/calendar/locale/ru_RU.tsx → components/calendar/locale/ru_RU.ts

0
components/calendar/locale/si_LK.tsx → components/calendar/locale/si_LK.ts

0
components/calendar/locale/sk_SK.tsx → components/calendar/locale/sk_SK.ts

0
components/calendar/locale/sl_SI.tsx → components/calendar/locale/sl_SI.ts

0
components/calendar/locale/sr_RS.tsx → components/calendar/locale/sr_RS.ts

0
components/calendar/locale/sv_SE.tsx → components/calendar/locale/sv_SE.ts

0
components/calendar/locale/ta_IN.tsx → components/calendar/locale/ta_IN.ts

0
components/calendar/locale/th_TH.tsx → components/calendar/locale/th_TH.ts

0
components/calendar/locale/tk_TK.tsx → components/calendar/locale/tk_TK.ts

0
components/calendar/locale/tr_TR.tsx → components/calendar/locale/tr_TR.ts

0
components/calendar/locale/uk_UA.tsx → components/calendar/locale/uk_UA.ts

0
components/calendar/locale/ur_PK.tsx → components/calendar/locale/ur_PK.ts

0
components/calendar/locale/vi_VN.tsx → components/calendar/locale/vi_VN.ts

0
components/calendar/locale/zh_CN.tsx → components/calendar/locale/zh_CN.ts

0
components/calendar/locale/zh_TW.tsx → components/calendar/locale/zh_TW.ts

0
components/calendar/style/index.tsx → components/calendar/style/index.ts

0
components/card/index.tsx → components/card/index.ts

0
components/card/style/index.tsx → components/card/style/index.ts

6
components/carousel/index.tsx

@ -16,11 +16,7 @@ export interface CarouselProps extends Omit<Settings, 'dots' | 'dotsClass'> {
slickGoTo?: number;
dotPosition?: DotPosition;
children?: React.ReactNode;
dots?:
| boolean
| {
className?: string;
};
dots?: boolean | { className?: string };
}
export interface CarouselRef {

0
components/carousel/style/index.tsx → components/carousel/style/index.ts

0
components/cascader/style/index.tsx → components/cascader/style/index.ts

0
components/checkbox/index.tsx → components/checkbox/index.ts

0
components/checkbox/style/index.tsx → components/checkbox/style/index.ts

0
components/col/index.tsx → components/col/index.ts

0
components/col/style/index.tsx → components/col/style/index.ts

0
components/collapse/index.tsx → components/collapse/index.ts

0
components/collapse/style/index.tsx → components/collapse/style/index.ts

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save