@kdcloudjs/table 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (572) hide show
  1. package/LICENSE +568 -0
  2. package/README.md +111 -0
  3. package/dist/@kdcloudjs/table.css +422 -0
  4. package/dist/@kdcloudjs/table.css.map +1 -0
  5. package/dist/@kdcloudjs/table.js +38578 -0
  6. package/dist/@kdcloudjs/table.js.map +1 -0
  7. package/dist/@kdcloudjs/table.min.css +9 -0
  8. package/dist/@kdcloudjs/table.min.js +208 -0
  9. package/dist/@kdcloudjs/table.min.js.map +1 -0
  10. package/dist/default-theme.js +344 -0
  11. package/dist/kd-table.css +422 -0
  12. package/dist/kd-table.css.map +1 -0
  13. package/dist/kd-table.js +38578 -0
  14. package/dist/kd-table.js.map +1 -0
  15. package/dist/kd-table.min.css +9 -0
  16. package/dist/kd-table.min.js +208 -0
  17. package/dist/kd-table.min.js.map +1 -0
  18. package/dist/kd-ui-complete.less +779 -0
  19. package/dist/kd-ui.less +2 -0
  20. package/dist/theme.js +13 -0
  21. package/es/_utils/arrayUtil.d.ts +5 -0
  22. package/es/_utils/arrayUtil.js +17 -0
  23. package/es/_utils/devwarning.d.ts +1 -0
  24. package/es/_utils/devwarning.js +10 -0
  25. package/es/_utils/formatUtil.d.ts +46 -0
  26. package/es/_utils/formatUtil.js +346 -0
  27. package/es/_utils/hooks.d.ts +51 -0
  28. package/es/_utils/hooks.js +165 -0
  29. package/es/_utils/index.d.ts +8 -0
  30. package/es/_utils/index.js +15 -0
  31. package/es/_utils/numberUtil.d.ts +34 -0
  32. package/es/_utils/numberUtil.js +181 -0
  33. package/es/_utils/omit.d.ts +1 -0
  34. package/es/_utils/omit.js +11 -0
  35. package/es/_utils/react-children.d.ts +2 -0
  36. package/es/_utils/react-children.js +8 -0
  37. package/es/_utils/type.d.ts +12 -0
  38. package/es/_utils/type.js +15 -0
  39. package/es/_utils/usePopper.d.ts +29 -0
  40. package/es/_utils/usePopper.js +546 -0
  41. package/es/config-provider/ConfigContext.d.ts +22 -0
  42. package/es/config-provider/ConfigContext.js +7 -0
  43. package/es/config-provider/compDefaultProps.d.ts +8 -0
  44. package/es/config-provider/compDefaultProps.js +10 -0
  45. package/es/config-provider/configProvider.d.ts +11 -0
  46. package/es/config-provider/configProvider.js +40 -0
  47. package/es/config-provider/defaultConfig.d.ts +10 -0
  48. package/es/config-provider/defaultConfig.js +18 -0
  49. package/es/config-provider/index.d.ts +6 -0
  50. package/es/config-provider/index.js +6 -0
  51. package/es/index.d.ts +2 -0
  52. package/es/index.js +4 -0
  53. package/es/locale/index.d.ts +3 -0
  54. package/es/locale/index.js +3 -0
  55. package/es/locale/locale.d.ts +50 -0
  56. package/es/locale/locale.js +251 -0
  57. package/es/locale/zh-CN.d.ts +8 -0
  58. package/es/locale/zh-CN.js +8 -0
  59. package/es/style/color/colors.less +2 -0
  60. package/es/style/core/index.less +2 -0
  61. package/es/style/core/motion/other.less +28 -0
  62. package/es/style/core/motion/slide.less +53 -0
  63. package/es/style/core/motion.less +2 -0
  64. package/es/style/core/reset.less +186 -0
  65. package/es/style/css.js +1 -0
  66. package/es/style/index.css +410 -0
  67. package/es/style/index.d.ts +1 -0
  68. package/es/style/index.js +1 -0
  69. package/es/style/index.less +2 -0
  70. package/es/style/mixins/index.less +19 -0
  71. package/es/style/mixins/overlay.less +22 -0
  72. package/es/style/mixins/reset.less +13 -0
  73. package/es/style/themes/default.less +445 -0
  74. package/es/style/themes/index.less +1 -0
  75. package/es/table/base/calculations.d.ts +5 -0
  76. package/es/table/base/calculations.js +364 -0
  77. package/es/table/base/colgroup.d.ts +5 -0
  78. package/es/table/base/colgroup.js +22 -0
  79. package/es/table/base/empty.d.ts +9 -0
  80. package/es/table/base/empty.js +38 -0
  81. package/es/table/base/header.d.ts +5 -0
  82. package/es/table/base/header.js +324 -0
  83. package/es/table/base/helpers/SpanManager.d.ts +9 -0
  84. package/es/table/base/helpers/SpanManager.js +50 -0
  85. package/es/table/base/helpers/TableDOMUtils.d.ts +18 -0
  86. package/es/table/base/helpers/TableDOMUtils.js +104 -0
  87. package/es/table/base/helpers/__test__/SpanManager.test.d.ts +1 -0
  88. package/es/table/base/helpers/__test__/SpanManager.test.js +18 -0
  89. package/es/table/base/helpers/__test__/TableDOMUtils.test.d.ts +1 -0
  90. package/es/table/base/helpers/__test__/TableDOMUtils.test.js +34 -0
  91. package/es/table/base/helpers/__test__/rowHeightManager.test.d.ts +1 -0
  92. package/es/table/base/helpers/__test__/rowHeightManager.test.js +30 -0
  93. package/es/table/base/helpers/__test__/visible-part.test.d.ts +1 -0
  94. package/es/table/base/helpers/__test__/visible-part.test.js +28 -0
  95. package/es/table/base/helpers/rowHeightManager.d.ts +7 -0
  96. package/es/table/base/helpers/rowHeightManager.js +157 -0
  97. package/es/table/base/helpers/visible-part.d.ts +23 -0
  98. package/es/table/base/helpers/visible-part.js +58 -0
  99. package/es/table/base/html-table.d.ts +15 -0
  100. package/es/table/base/html-table.js +132 -0
  101. package/es/table/base/index.d.ts +3 -0
  102. package/es/table/base/index.js +2 -0
  103. package/es/table/base/interfaces.d.ts +54 -0
  104. package/es/table/base/interfaces.js +0 -0
  105. package/es/table/base/loading.d.ts +13 -0
  106. package/es/table/base/loading.js +60 -0
  107. package/es/table/base/styles.d.ts +132 -0
  108. package/es/table/base/styles.js +112 -0
  109. package/es/table/base/table.d.ts +150 -0
  110. package/es/table/base/table.js +733 -0
  111. package/es/table/base/utils.d.ts +36 -0
  112. package/es/table/base/utils.js +193 -0
  113. package/es/table/common-views.d.ts +24 -0
  114. package/es/table/common-views.js +70 -0
  115. package/es/table/index.d.ts +6 -0
  116. package/es/table/index.js +6 -0
  117. package/es/table/interfaces.d.ts +98 -0
  118. package/es/table/interfaces.js +0 -0
  119. package/es/table/internals.d.ts +14 -0
  120. package/es/table/internals.js +56 -0
  121. package/es/table/pipeline/features/__test__/multiSelect.test.d.ts +1 -0
  122. package/es/table/pipeline/features/__test__/multiSelect.test.js +152 -0
  123. package/es/table/pipeline/features/__test__/rowDetail.test.d.ts +1 -0
  124. package/es/table/pipeline/features/__test__/rowDetail.test.js +223 -0
  125. package/es/table/pipeline/features/__test__/rowGrouping.test.d.ts +1 -0
  126. package/es/table/pipeline/features/__test__/rowGrouping.test.js +120 -0
  127. package/es/table/pipeline/features/__test__/singleSelect.test.d.ts +1 -0
  128. package/es/table/pipeline/features/__test__/singleSelect.test.js +191 -0
  129. package/es/table/pipeline/features/__test__/sort.test.d.ts +1 -0
  130. package/es/table/pipeline/features/__test__/sort.test.js +213 -0
  131. package/es/table/pipeline/features/__test__/tips.test.d.ts +1 -0
  132. package/es/table/pipeline/features/__test__/tips.test.js +123 -0
  133. package/es/table/pipeline/features/__test__/treeMode.test.d.ts +1 -0
  134. package/es/table/pipeline/features/__test__/treeMode.test.js +202 -0
  135. package/es/table/pipeline/features/autoFill.d.ts +4 -0
  136. package/es/table/pipeline/features/autoFill.js +63 -0
  137. package/es/table/pipeline/features/autoRowSpan.d.ts +2 -0
  138. package/es/table/pipeline/features/autoRowSpan.js +72 -0
  139. package/es/table/pipeline/features/buildTree.d.ts +2 -0
  140. package/es/table/pipeline/features/buildTree.js +8 -0
  141. package/es/table/pipeline/features/columnDrag.d.ts +6 -0
  142. package/es/table/pipeline/features/columnDrag.js +265 -0
  143. package/es/table/pipeline/features/columnFilter.d.ts +20 -0
  144. package/es/table/pipeline/features/columnFilter.js +173 -0
  145. package/es/table/pipeline/features/columnHover.d.ts +12 -0
  146. package/es/table/pipeline/features/columnHover.js +51 -0
  147. package/es/table/pipeline/features/columnRangeHover.d.ts +15 -0
  148. package/es/table/pipeline/features/columnRangeHover.js +83 -0
  149. package/es/table/pipeline/features/columnResizeWidth.d.ts +21 -0
  150. package/es/table/pipeline/features/columnResizeWidth.js +173 -0
  151. package/es/table/pipeline/features/contextMenu.d.ts +14 -0
  152. package/es/table/pipeline/features/contextMenu.js +370 -0
  153. package/es/table/pipeline/features/filter/DefaultFilterContent.d.ts +4 -0
  154. package/es/table/pipeline/features/filter/DefaultFilterContent.js +91 -0
  155. package/es/table/pipeline/features/filter/Filter.d.ts +17 -0
  156. package/es/table/pipeline/features/filter/Filter.js +111 -0
  157. package/es/table/pipeline/features/filter/FilterPanel.d.ts +20 -0
  158. package/es/table/pipeline/features/filter/FilterPanel.js +81 -0
  159. package/es/table/pipeline/features/filter/__test__/Filter.test.d.ts +1 -0
  160. package/es/table/pipeline/features/filter/__test__/Filter.test.js +29 -0
  161. package/es/table/pipeline/features/filter/index.d.ts +4 -0
  162. package/es/table/pipeline/features/filter/index.js +4 -0
  163. package/es/table/pipeline/features/filter/util.d.ts +10 -0
  164. package/es/table/pipeline/features/filter/util.js +67 -0
  165. package/es/table/pipeline/features/index.d.ts +16 -0
  166. package/es/table/pipeline/features/index.js +16 -0
  167. package/es/table/pipeline/features/multiSelect.d.ts +27 -0
  168. package/es/table/pipeline/features/multiSelect.js +208 -0
  169. package/es/table/pipeline/features/rowDetail.d.ts +35 -0
  170. package/es/table/pipeline/features/rowDetail.js +254 -0
  171. package/es/table/pipeline/features/rowGrouping.d.ts +14 -0
  172. package/es/table/pipeline/features/rowGrouping.js +200 -0
  173. package/es/table/pipeline/features/singleSelect.d.ts +23 -0
  174. package/es/table/pipeline/features/singleSelect.js +122 -0
  175. package/es/table/pipeline/features/sort.d.ts +40 -0
  176. package/es/table/pipeline/features/sort.js +332 -0
  177. package/es/table/pipeline/features/tips.d.ts +2 -0
  178. package/es/table/pipeline/features/tips.js +57 -0
  179. package/es/table/pipeline/features/treeMode.d.ts +37 -0
  180. package/es/table/pipeline/features/treeMode.js +234 -0
  181. package/es/table/pipeline/features/treeSelect.d.ts +38 -0
  182. package/es/table/pipeline/features/treeSelect.js +154 -0
  183. package/es/table/pipeline/index.d.ts +3 -0
  184. package/es/table/pipeline/index.js +3 -0
  185. package/es/table/pipeline/pipeline.d.ts +85 -0
  186. package/es/table/pipeline/pipeline.js +272 -0
  187. package/es/table/pivot/cross-table/buildCrossTable.d.ts +14 -0
  188. package/es/table/pivot/cross-table/buildCrossTable.js +294 -0
  189. package/es/table/pivot/cross-table/constants.d.ts +1 -0
  190. package/es/table/pivot/cross-table/constants.js +1 -0
  191. package/es/table/pivot/cross-table/cross-table.d.ts +18 -0
  192. package/es/table/pivot/cross-table/cross-table.js +55 -0
  193. package/es/table/pivot/cross-table/index.d.ts +4 -0
  194. package/es/table/pivot/cross-table/index.js +3 -0
  195. package/es/table/pivot/cross-table/interfaces.d.ts +29 -0
  196. package/es/table/pivot/cross-table/interfaces.js +0 -0
  197. package/es/table/pivot/cross-table/internals.d.ts +13 -0
  198. package/es/table/pivot/cross-table/internals.js +0 -0
  199. package/es/table/pivot/cross-tree-table/buildCrossTreeTable.d.ts +14 -0
  200. package/es/table/pivot/cross-tree-table/buildCrossTreeTable.js +219 -0
  201. package/es/table/pivot/cross-tree-table/cross-tree-table.d.ts +38 -0
  202. package/es/table/pivot/cross-tree-table/cross-tree-table.js +127 -0
  203. package/es/table/pivot/cross-tree-table/index.d.ts +2 -0
  204. package/es/table/pivot/cross-tree-table/index.js +2 -0
  205. package/es/table/pivot/pivot-utils/buildDrillTree.d.ts +16 -0
  206. package/es/table/pivot/pivot-utils/buildDrillTree.js +93 -0
  207. package/es/table/pivot/pivot-utils/builders.d.ts +26 -0
  208. package/es/table/pivot/pivot-utils/builders.js +252 -0
  209. package/es/table/pivot/pivot-utils/convert-utils.d.ts +31 -0
  210. package/es/table/pivot/pivot-utils/convert-utils.js +180 -0
  211. package/es/table/pivot/pivot-utils/index.d.ts +5 -0
  212. package/es/table/pivot/pivot-utils/index.js +4 -0
  213. package/es/table/pivot/pivot-utils/interfaces.d.ts +12 -0
  214. package/es/table/pivot/pivot-utils/interfaces.js +0 -0
  215. package/es/table/pivot/pivot-utils/simpleEncode.d.ts +1 -0
  216. package/es/table/pivot/pivot-utils/simpleEncode.js +7 -0
  217. package/es/table/style/css.js +2 -0
  218. package/es/table/style/index.css +0 -0
  219. package/es/table/style/index.d.ts +2 -0
  220. package/es/table/style/index.js +2 -0
  221. package/es/table/style/index.less +1 -0
  222. package/es/table/transforms/autoRowSpan.d.ts +3 -0
  223. package/es/table/transforms/autoRowSpan.js +73 -0
  224. package/es/table/transforms/autoWidth.d.ts +25 -0
  225. package/es/table/transforms/autoWidth.js +160 -0
  226. package/es/table/transforms/buildTree.d.ts +3 -0
  227. package/es/table/transforms/buildTree.js +15 -0
  228. package/es/table/transforms/columnHover.d.ts +17 -0
  229. package/es/table/transforms/columnHover.js +59 -0
  230. package/es/table/transforms/columnRangeHover.d.ts +17 -0
  231. package/es/table/transforms/columnRangeHover.js +94 -0
  232. package/es/table/transforms/columnResize.d.ts +27 -0
  233. package/es/table/transforms/columnResize.js +152 -0
  234. package/es/table/transforms/flatten.d.ts +3 -0
  235. package/es/table/transforms/flatten.js +16 -0
  236. package/es/table/transforms/index.d.ts +12 -0
  237. package/es/table/transforms/index.js +12 -0
  238. package/es/table/transforms/orderField.d.ts +3 -0
  239. package/es/table/transforms/orderField.js +22 -0
  240. package/es/table/transforms/sort.d.ts +43 -0
  241. package/es/table/transforms/sort.js +338 -0
  242. package/es/table/transforms/tips.d.ts +8 -0
  243. package/es/table/transforms/tips.js +54 -0
  244. package/es/table/transforms/treeMode.d.ts +30 -0
  245. package/es/table/transforms/treeMode.js +252 -0
  246. package/es/table/transforms/visible.d.ts +5 -0
  247. package/es/table/transforms/visible.js +19 -0
  248. package/es/table/transforms/warnTransformsDeprecated.d.ts +1 -0
  249. package/es/table/transforms/warnTransformsDeprecated.js +8 -0
  250. package/es/table/use/useResizeObserver.d.ts +2 -0
  251. package/es/table/use/useResizeObserver.js +20 -0
  252. package/es/table/utils/applyTransforms.d.ts +6 -0
  253. package/es/table/utils/applyTransforms.js +15 -0
  254. package/es/table/utils/buildTree.d.ts +36 -0
  255. package/es/table/utils/buildTree.js +119 -0
  256. package/es/table/utils/collectNodes.d.ts +8 -0
  257. package/es/table/utils/collectNodes.js +59 -0
  258. package/es/table/utils/console.d.ts +11 -0
  259. package/es/table/utils/console.js +58 -0
  260. package/es/table/utils/copyToClipboard.d.ts +3 -0
  261. package/es/table/utils/copyToClipboard.js +30 -0
  262. package/es/table/utils/element.d.ts +42 -0
  263. package/es/table/utils/element.js +228 -0
  264. package/es/table/utils/exportTableAsExcel.d.ts +4 -0
  265. package/es/table/utils/exportTableAsExcel.js +188 -0
  266. package/es/table/utils/getTreeDepth.d.ts +3 -0
  267. package/es/table/utils/getTreeDepth.js +41 -0
  268. package/es/table/utils/groupBy.d.ts +1 -0
  269. package/es/table/utils/groupBy.js +37 -0
  270. package/es/table/utils/index.d.ts +18 -0
  271. package/es/table/utils/index.js +18 -0
  272. package/es/table/utils/isGroupColumn.d.ts +2 -0
  273. package/es/table/utils/isGroupColumn.js +7 -0
  274. package/es/table/utils/isLeafNode.d.ts +2 -0
  275. package/es/table/utils/isLeafNode.js +4 -0
  276. package/es/table/utils/layeredFilter.d.ts +2 -0
  277. package/es/table/utils/layeredFilter.js +25 -0
  278. package/es/table/utils/layeredSort.d.ts +5 -0
  279. package/es/table/utils/layeredSort.js +26 -0
  280. package/es/table/utils/makeRecursiveMapper.d.ts +9 -0
  281. package/es/table/utils/makeRecursiveMapper.js +76 -0
  282. package/es/table/utils/mergeCellProps.d.ts +8 -0
  283. package/es/table/utils/mergeCellProps.js +67 -0
  284. package/es/table/utils/others.d.ts +16 -0
  285. package/es/table/utils/others.js +80 -0
  286. package/es/table/utils/proto.d.ts +21 -0
  287. package/es/table/utils/proto.js +106 -0
  288. package/es/table/utils/smartCompare.d.ts +9 -0
  289. package/es/table/utils/smartCompare.js +51 -0
  290. package/es/table/utils/traverseColumn.d.ts +11 -0
  291. package/es/table/utils/traverseColumn.js +88 -0
  292. package/es/table/utils/tree-data-helpers/StrictTreeDataHelper.d.ts +22 -0
  293. package/es/table/utils/tree-data-helpers/StrictTreeDataHelper.js +138 -0
  294. package/es/table/utils/tree-data-helpers/TreeDataHelper.d.ts +26 -0
  295. package/es/table/utils/tree-data-helpers/TreeDataHelper.js +337 -0
  296. package/lib/_utils/arrayUtil.d.ts +5 -0
  297. package/lib/_utils/arrayUtil.js +26 -0
  298. package/lib/_utils/devwarning.d.ts +1 -0
  299. package/lib/_utils/devwarning.js +21 -0
  300. package/lib/_utils/formatUtil.d.ts +46 -0
  301. package/lib/_utils/formatUtil.js +358 -0
  302. package/lib/_utils/hooks.d.ts +51 -0
  303. package/lib/_utils/hooks.js +187 -0
  304. package/lib/_utils/index.d.ts +8 -0
  305. package/lib/_utils/index.js +28 -0
  306. package/lib/_utils/numberUtil.d.ts +34 -0
  307. package/lib/_utils/numberUtil.js +202 -0
  308. package/lib/_utils/omit.d.ts +1 -0
  309. package/lib/_utils/omit.js +21 -0
  310. package/lib/_utils/react-children.d.ts +2 -0
  311. package/lib/_utils/react-children.js +20 -0
  312. package/lib/_utils/type.d.ts +12 -0
  313. package/lib/_utils/type.js +27 -0
  314. package/lib/_utils/usePopper.d.ts +29 -0
  315. package/lib/_utils/usePopper.js +574 -0
  316. package/lib/config-provider/ConfigContext.d.ts +22 -0
  317. package/lib/config-provider/ConfigContext.js +19 -0
  318. package/lib/config-provider/compDefaultProps.d.ts +8 -0
  319. package/lib/config-provider/compDefaultProps.js +17 -0
  320. package/lib/config-provider/configProvider.d.ts +11 -0
  321. package/lib/config-provider/configProvider.js +56 -0
  322. package/lib/config-provider/defaultConfig.d.ts +10 -0
  323. package/lib/config-provider/defaultConfig.js +30 -0
  324. package/lib/config-provider/index.d.ts +6 -0
  325. package/lib/config-provider/index.js +37 -0
  326. package/lib/index.d.ts +2 -0
  327. package/lib/index.js +45 -0
  328. package/lib/locale/index.d.ts +3 -0
  329. package/lib/locale/index.js +25 -0
  330. package/lib/locale/locale.d.ts +50 -0
  331. package/lib/locale/locale.js +277 -0
  332. package/lib/locale/zh-CN.d.ts +8 -0
  333. package/lib/locale/zh-CN.js +15 -0
  334. package/lib/style/color/colors.less +2 -0
  335. package/lib/style/components.less +1 -0
  336. package/lib/style/core/index.less +2 -0
  337. package/lib/style/core/motion/other.less +28 -0
  338. package/lib/style/core/motion/slide.less +53 -0
  339. package/lib/style/core/motion.less +2 -0
  340. package/lib/style/core/reset.less +186 -0
  341. package/lib/style/css.js +3 -0
  342. package/lib/style/index.css +410 -0
  343. package/lib/style/index.d.ts +1 -0
  344. package/lib/style/index.js +3 -0
  345. package/lib/style/index.less +2 -0
  346. package/lib/style/mixins/index.less +19 -0
  347. package/lib/style/mixins/overlay.less +22 -0
  348. package/lib/style/mixins/reset.less +13 -0
  349. package/lib/style/themes/default.less +445 -0
  350. package/lib/style/themes/index.less +1 -0
  351. package/lib/table/base/calculations.d.ts +5 -0
  352. package/lib/table/base/calculations.js +385 -0
  353. package/lib/table/base/colgroup.d.ts +5 -0
  354. package/lib/table/base/colgroup.js +33 -0
  355. package/lib/table/base/empty.d.ts +9 -0
  356. package/lib/table/base/empty.js +54 -0
  357. package/lib/table/base/header.d.ts +5 -0
  358. package/lib/table/base/header.js +340 -0
  359. package/lib/table/base/helpers/SpanManager.d.ts +9 -0
  360. package/lib/table/base/helpers/SpanManager.js +59 -0
  361. package/lib/table/base/helpers/TableDOMUtils.d.ts +18 -0
  362. package/lib/table/base/helpers/TableDOMUtils.js +113 -0
  363. package/lib/table/base/helpers/__test__/SpanManager.test.d.ts +1 -0
  364. package/lib/table/base/helpers/__test__/SpanManager.test.js +23 -0
  365. package/lib/table/base/helpers/__test__/TableDOMUtils.test.d.ts +1 -0
  366. package/lib/table/base/helpers/__test__/TableDOMUtils.test.js +41 -0
  367. package/lib/table/base/helpers/__test__/rowHeightManager.test.d.ts +1 -0
  368. package/lib/table/base/helpers/__test__/rowHeightManager.test.js +33 -0
  369. package/lib/table/base/helpers/__test__/visible-part.test.d.ts +1 -0
  370. package/lib/table/base/helpers/__test__/visible-part.test.js +31 -0
  371. package/lib/table/base/helpers/rowHeightManager.d.ts +7 -0
  372. package/lib/table/base/helpers/rowHeightManager.js +170 -0
  373. package/lib/table/base/helpers/visible-part.d.ts +23 -0
  374. package/lib/table/base/helpers/visible-part.js +72 -0
  375. package/lib/table/base/html-table.d.ts +15 -0
  376. package/lib/table/base/html-table.js +149 -0
  377. package/lib/table/base/index.d.ts +3 -0
  378. package/lib/table/base/index.js +21 -0
  379. package/lib/table/base/interfaces.d.ts +54 -0
  380. package/lib/table/base/interfaces.js +0 -0
  381. package/lib/table/base/loading.d.ts +13 -0
  382. package/lib/table/base/loading.js +71 -0
  383. package/lib/table/base/styles.d.ts +132 -0
  384. package/lib/table/base/styles.js +136 -0
  385. package/lib/table/base/table.d.ts +150 -0
  386. package/lib/table/base/table.js +773 -0
  387. package/lib/table/base/utils.d.ts +36 -0
  388. package/lib/table/base/utils.js +234 -0
  389. package/lib/table/common-views.d.ts +24 -0
  390. package/lib/table/common-views.js +90 -0
  391. package/lib/table/index.d.ts +6 -0
  392. package/lib/table/index.js +85 -0
  393. package/lib/table/interfaces.d.ts +98 -0
  394. package/lib/table/interfaces.js +0 -0
  395. package/lib/table/internals.d.ts +14 -0
  396. package/lib/table/internals.js +64 -0
  397. package/lib/table/pipeline/features/__test__/multiSelect.test.d.ts +1 -0
  398. package/lib/table/pipeline/features/__test__/multiSelect.test.js +163 -0
  399. package/lib/table/pipeline/features/__test__/rowDetail.test.d.ts +1 -0
  400. package/lib/table/pipeline/features/__test__/rowDetail.test.js +230 -0
  401. package/lib/table/pipeline/features/__test__/rowGrouping.test.d.ts +1 -0
  402. package/lib/table/pipeline/features/__test__/rowGrouping.test.js +129 -0
  403. package/lib/table/pipeline/features/__test__/singleSelect.test.d.ts +1 -0
  404. package/lib/table/pipeline/features/__test__/singleSelect.test.js +201 -0
  405. package/lib/table/pipeline/features/__test__/sort.test.d.ts +1 -0
  406. package/lib/table/pipeline/features/__test__/sort.test.js +218 -0
  407. package/lib/table/pipeline/features/__test__/tips.test.d.ts +1 -0
  408. package/lib/table/pipeline/features/__test__/tips.test.js +133 -0
  409. package/lib/table/pipeline/features/__test__/treeMode.test.d.ts +1 -0
  410. package/lib/table/pipeline/features/__test__/treeMode.test.js +206 -0
  411. package/lib/table/pipeline/features/autoFill.d.ts +4 -0
  412. package/lib/table/pipeline/features/autoFill.js +80 -0
  413. package/lib/table/pipeline/features/autoRowSpan.d.ts +2 -0
  414. package/lib/table/pipeline/features/autoRowSpan.js +84 -0
  415. package/lib/table/pipeline/features/buildTree.d.ts +2 -0
  416. package/lib/table/pipeline/features/buildTree.js +16 -0
  417. package/lib/table/pipeline/features/columnDrag.d.ts +6 -0
  418. package/lib/table/pipeline/features/columnDrag.js +278 -0
  419. package/lib/table/pipeline/features/columnFilter.d.ts +20 -0
  420. package/lib/table/pipeline/features/columnFilter.js +197 -0
  421. package/lib/table/pipeline/features/columnHover.d.ts +12 -0
  422. package/lib/table/pipeline/features/columnHover.js +62 -0
  423. package/lib/table/pipeline/features/columnRangeHover.d.ts +15 -0
  424. package/lib/table/pipeline/features/columnRangeHover.js +95 -0
  425. package/lib/table/pipeline/features/columnResizeWidth.d.ts +21 -0
  426. package/lib/table/pipeline/features/columnResizeWidth.js +192 -0
  427. package/lib/table/pipeline/features/contextMenu.d.ts +14 -0
  428. package/lib/table/pipeline/features/contextMenu.js +397 -0
  429. package/lib/table/pipeline/features/filter/DefaultFilterContent.d.ts +4 -0
  430. package/lib/table/pipeline/features/filter/DefaultFilterContent.js +112 -0
  431. package/lib/table/pipeline/features/filter/Filter.d.ts +17 -0
  432. package/lib/table/pipeline/features/filter/Filter.js +129 -0
  433. package/lib/table/pipeline/features/filter/FilterPanel.d.ts +20 -0
  434. package/lib/table/pipeline/features/filter/FilterPanel.js +98 -0
  435. package/lib/table/pipeline/features/filter/__test__/Filter.test.d.ts +1 -0
  436. package/lib/table/pipeline/features/filter/__test__/Filter.test.js +36 -0
  437. package/lib/table/pipeline/features/filter/index.d.ts +4 -0
  438. package/lib/table/pipeline/features/filter/index.js +39 -0
  439. package/lib/table/pipeline/features/filter/util.d.ts +10 -0
  440. package/lib/table/pipeline/features/filter/util.js +77 -0
  441. package/lib/table/pipeline/features/index.d.ts +16 -0
  442. package/lib/table/pipeline/features/index.js +141 -0
  443. package/lib/table/pipeline/features/multiSelect.d.ts +27 -0
  444. package/lib/table/pipeline/features/multiSelect.js +227 -0
  445. package/lib/table/pipeline/features/rowDetail.d.ts +35 -0
  446. package/lib/table/pipeline/features/rowDetail.js +283 -0
  447. package/lib/table/pipeline/features/rowGrouping.d.ts +14 -0
  448. package/lib/table/pipeline/features/rowGrouping.js +227 -0
  449. package/lib/table/pipeline/features/singleSelect.d.ts +23 -0
  450. package/lib/table/pipeline/features/singleSelect.js +138 -0
  451. package/lib/table/pipeline/features/sort.d.ts +40 -0
  452. package/lib/table/pipeline/features/sort.js +361 -0
  453. package/lib/table/pipeline/features/tips.d.ts +2 -0
  454. package/lib/table/pipeline/features/tips.js +73 -0
  455. package/lib/table/pipeline/features/treeMode.d.ts +37 -0
  456. package/lib/table/pipeline/features/treeMode.js +266 -0
  457. package/lib/table/pipeline/features/treeSelect.d.ts +38 -0
  458. package/lib/table/pipeline/features/treeSelect.js +169 -0
  459. package/lib/table/pipeline/index.d.ts +3 -0
  460. package/lib/table/pipeline/index.js +26 -0
  461. package/lib/table/pipeline/pipeline.d.ts +85 -0
  462. package/lib/table/pipeline/pipeline.js +291 -0
  463. package/lib/table/pivot/cross-table/buildCrossTable.d.ts +14 -0
  464. package/lib/table/pivot/cross-table/buildCrossTable.js +313 -0
  465. package/lib/table/pivot/cross-table/constants.d.ts +1 -0
  466. package/lib/table/pivot/cross-table/constants.js +8 -0
  467. package/lib/table/pivot/cross-table/cross-table.d.ts +18 -0
  468. package/lib/table/pivot/cross-table/cross-table.js +71 -0
  469. package/lib/table/pivot/cross-table/index.d.ts +4 -0
  470. package/lib/table/pivot/cross-table/index.js +31 -0
  471. package/lib/table/pivot/cross-table/interfaces.d.ts +29 -0
  472. package/lib/table/pivot/cross-table/interfaces.js +0 -0
  473. package/lib/table/pivot/cross-table/internals.d.ts +13 -0
  474. package/lib/table/pivot/cross-table/internals.js +0 -0
  475. package/lib/table/pivot/cross-tree-table/buildCrossTreeTable.d.ts +14 -0
  476. package/lib/table/pivot/cross-tree-table/buildCrossTreeTable.js +240 -0
  477. package/lib/table/pivot/cross-tree-table/cross-tree-table.d.ts +38 -0
  478. package/lib/table/pivot/cross-tree-table/cross-tree-table.js +144 -0
  479. package/lib/table/pivot/cross-tree-table/index.d.ts +2 -0
  480. package/lib/table/pivot/cross-tree-table/index.js +23 -0
  481. package/lib/table/pivot/pivot-utils/buildDrillTree.d.ts +16 -0
  482. package/lib/table/pivot/pivot-utils/buildDrillTree.js +106 -0
  483. package/lib/table/pivot/pivot-utils/builders.d.ts +26 -0
  484. package/lib/table/pivot/pivot-utils/builders.js +272 -0
  485. package/lib/table/pivot/pivot-utils/convert-utils.d.ts +31 -0
  486. package/lib/table/pivot/pivot-utils/convert-utils.js +204 -0
  487. package/lib/table/pivot/pivot-utils/index.d.ts +5 -0
  488. package/lib/table/pivot/pivot-utils/index.js +59 -0
  489. package/lib/table/pivot/pivot-utils/interfaces.d.ts +12 -0
  490. package/lib/table/pivot/pivot-utils/interfaces.js +0 -0
  491. package/lib/table/pivot/pivot-utils/simpleEncode.d.ts +1 -0
  492. package/lib/table/pivot/pivot-utils/simpleEncode.js +14 -0
  493. package/lib/table/style/css.js +5 -0
  494. package/lib/table/style/index.css +0 -0
  495. package/lib/table/style/index.d.ts +2 -0
  496. package/lib/table/style/index.js +5 -0
  497. package/lib/table/style/index.less +1 -0
  498. package/lib/table/transforms/autoRowSpan.d.ts +3 -0
  499. package/lib/table/transforms/autoRowSpan.js +86 -0
  500. package/lib/table/transforms/autoWidth.d.ts +25 -0
  501. package/lib/table/transforms/autoWidth.js +187 -0
  502. package/lib/table/transforms/buildTree.d.ts +3 -0
  503. package/lib/table/transforms/buildTree.js +23 -0
  504. package/lib/table/transforms/columnHover.d.ts +17 -0
  505. package/lib/table/transforms/columnHover.js +74 -0
  506. package/lib/table/transforms/columnRangeHover.d.ts +17 -0
  507. package/lib/table/transforms/columnRangeHover.js +110 -0
  508. package/lib/table/transforms/columnResize.d.ts +27 -0
  509. package/lib/table/transforms/columnResize.js +176 -0
  510. package/lib/table/transforms/flatten.d.ts +3 -0
  511. package/lib/table/transforms/flatten.js +24 -0
  512. package/lib/table/transforms/index.d.ts +12 -0
  513. package/lib/table/transforms/index.js +131 -0
  514. package/lib/table/transforms/orderField.d.ts +3 -0
  515. package/lib/table/transforms/orderField.js +33 -0
  516. package/lib/table/transforms/sort.d.ts +43 -0
  517. package/lib/table/transforms/sort.js +369 -0
  518. package/lib/table/transforms/tips.d.ts +8 -0
  519. package/lib/table/transforms/tips.js +71 -0
  520. package/lib/table/transforms/treeMode.d.ts +30 -0
  521. package/lib/table/transforms/treeMode.js +286 -0
  522. package/lib/table/transforms/visible.d.ts +5 -0
  523. package/lib/table/transforms/visible.js +31 -0
  524. package/lib/table/transforms/warnTransformsDeprecated.d.ts +1 -0
  525. package/lib/table/transforms/warnTransformsDeprecated.js +19 -0
  526. package/lib/table/use/useResizeObserver.d.ts +2 -0
  527. package/lib/table/use/useResizeObserver.js +32 -0
  528. package/lib/table/utils/applyTransforms.d.ts +6 -0
  529. package/lib/table/utils/applyTransforms.js +24 -0
  530. package/lib/table/utils/buildTree.d.ts +36 -0
  531. package/lib/table/utils/buildTree.js +140 -0
  532. package/lib/table/utils/collectNodes.d.ts +8 -0
  533. package/lib/table/utils/collectNodes.js +72 -0
  534. package/lib/table/utils/console.d.ts +11 -0
  535. package/lib/table/utils/console.js +68 -0
  536. package/lib/table/utils/copyToClipboard.d.ts +3 -0
  537. package/lib/table/utils/copyToClipboard.js +40 -0
  538. package/lib/table/utils/element.d.ts +42 -0
  539. package/lib/table/utils/element.js +243 -0
  540. package/lib/table/utils/exportTableAsExcel.d.ts +4 -0
  541. package/lib/table/utils/exportTableAsExcel.js +205 -0
  542. package/lib/table/utils/getTreeDepth.d.ts +3 -0
  543. package/lib/table/utils/getTreeDepth.js +54 -0
  544. package/lib/table/utils/groupBy.d.ts +1 -0
  545. package/lib/table/utils/groupBy.js +48 -0
  546. package/lib/table/utils/index.d.ts +18 -0
  547. package/lib/table/utils/index.js +187 -0
  548. package/lib/table/utils/isGroupColumn.d.ts +2 -0
  549. package/lib/table/utils/isGroupColumn.js +17 -0
  550. package/lib/table/utils/isLeafNode.d.ts +2 -0
  551. package/lib/table/utils/isLeafNode.js +11 -0
  552. package/lib/table/utils/layeredFilter.d.ts +2 -0
  553. package/lib/table/utils/layeredFilter.js +38 -0
  554. package/lib/table/utils/layeredSort.d.ts +5 -0
  555. package/lib/table/utils/layeredSort.js +37 -0
  556. package/lib/table/utils/makeRecursiveMapper.d.ts +9 -0
  557. package/lib/table/utils/makeRecursiveMapper.js +94 -0
  558. package/lib/table/utils/mergeCellProps.d.ts +8 -0
  559. package/lib/table/utils/mergeCellProps.js +78 -0
  560. package/lib/table/utils/others.d.ts +16 -0
  561. package/lib/table/utils/others.js +108 -0
  562. package/lib/table/utils/proto.d.ts +21 -0
  563. package/lib/table/utils/proto.js +117 -0
  564. package/lib/table/utils/smartCompare.d.ts +9 -0
  565. package/lib/table/utils/smartCompare.js +58 -0
  566. package/lib/table/utils/traverseColumn.d.ts +11 -0
  567. package/lib/table/utils/traverseColumn.js +103 -0
  568. package/lib/table/utils/tree-data-helpers/StrictTreeDataHelper.d.ts +22 -0
  569. package/lib/table/utils/tree-data-helpers/StrictTreeDataHelper.js +154 -0
  570. package/lib/table/utils/tree-data-helpers/TreeDataHelper.d.ts +26 -0
  571. package/lib/table/utils/tree-data-helpers/TreeDataHelper.js +358 -0
  572. package/package.json +213 -0
@@ -0,0 +1,422 @@
1
+ /*!
2
+ *
3
+ * kd-table v0.0.1-beta.17
4
+ *
5
+ * Copyright 2020-present, Kingdee, Inc.
6
+ * All rights reserved.
7
+ *
8
+ */
9
+ /* ----------- color ——————---- start */
10
+ /* ----------- color ——————---- end */
11
+ /* ----------- font ——————---- start */
12
+ /* ----------- font ——————---- end */
13
+ /* ----------- zIndex ——————---- start */
14
+ /*
15
+ 普通组件内部自身层级应设置在0-100间
16
+ */
17
+ /* ----------- zIndex ——————---- end */
18
+ /* ----------- transition ——————---- start */
19
+ /* ----------- transition ——————---- end */
20
+ /* ----------- Button ——————---- start */
21
+ /* ----------- Button ——————---- end */
22
+ /* ----------- Collapse ——————---- start */
23
+ /* ----------- Collapse ——————---- end */
24
+ /* ----------- Switch ——————---- start */
25
+ /* ----------- Switch ——————---- end */
26
+ /* ----------- Input ——————---- start */
27
+ /* ----------- Input ——————---- end */
28
+ /* ----------- InputNumber ——————---- start */
29
+ /* ----------- InputNumber ——————---- end */
30
+ /* ----------- checkbox ——————---- start */
31
+ /* ----------- checkbox ——————---- end */
32
+ /* ----------- Radio ——————---- start */
33
+ /* ----------- Radio ——————---- end */
34
+ /* ----------- icon ——————---- start */
35
+ /* ----------- icon ——————---- end */
36
+ /* ----------- Popconfirm ——————---- start */
37
+ /* ----------- Popconfirm ——————---- end */
38
+ /* ----------- Popover ——————---- start */
39
+ /* ----------- Popover ——————---- end */
40
+ /* ----------- Progress ——————---- start */
41
+ /* ----------- Progress ——————---- end */
42
+ /* ----------- Pagination ——————---- start */
43
+ /* ----------- Pagination ——————---- end */
44
+ /* ----------- Timeline ——————---- start */
45
+ /* ----------- Timeline ——————---- end */
46
+ /* ----------- Tabs ——————---- start */
47
+ /* ----------- Tabs ——————---- end */
48
+ /* ----------- Select ——————---- start */
49
+ /* ----------- Select ——————---- end */
50
+ /* ----------- Rate ——————---- start */
51
+ /* ----------- Rate ——————---- end */
52
+ /* ----------- Dropdown ——————---- start */
53
+ /* ----------- Dropdown ——————---- end */
54
+ /* ----------- Tooltip ——————---- start */
55
+ /* ----------- Tooltip ——————---- end */
56
+ /* ----------- Transfer ——————---- start */
57
+ /* ----------- Transfer ——————---- end */
58
+ /* ----------- Alert ——————---- start */
59
+ /* ----------- Alert ——————---- end */
60
+ /* ----------- Split-Panel ——————---- start */
61
+ /* ----------- Split-Panel ——————---- end */
62
+ /* ----------- Modal ——————---- start */
63
+ /* ----------- Modal ——————---- end */
64
+ /* ----------- Steps ——————---- start */
65
+ /* ----------- Steps ——————---- end */
66
+ /* ----------- Tag ——————---- start */
67
+ /* ----------- Tag ——————---- end */
68
+ @-webkit-keyframes loadingcircle {
69
+ 100% {
70
+ -webkit-transform: rotate(360deg);
71
+ transform: rotate(360deg);
72
+ }
73
+ }
74
+ @keyframes loadingcircle {
75
+ 100% {
76
+ -webkit-transform: rotate(360deg);
77
+ transform: rotate(360deg);
78
+ }
79
+ }
80
+ @-webkit-keyframes waveEffect {
81
+ 100% {
82
+ -webkit-box-shadow: 0 0 0 6px #5582f3;
83
+ box-shadow: 0 0 0 6px #5582f3;
84
+ }
85
+ }
86
+ @keyframes waveEffect {
87
+ 100% {
88
+ -webkit-box-shadow: 0 0 0 6px #5582f3;
89
+ box-shadow: 0 0 0 6px #5582f3;
90
+ }
91
+ }
92
+ @-webkit-keyframes fadeEffect {
93
+ 100% {
94
+ opacity: 0;
95
+ }
96
+ }
97
+ @keyframes fadeEffect {
98
+ 100% {
99
+ opacity: 0;
100
+ }
101
+ }
102
+ @-webkit-keyframes kdRadioEffect {
103
+ 0% {
104
+ -webkit-transform: translateY(-50%) scale(0.5);
105
+ transform: translateY(-50%) scale(0.5);
106
+ opacity: 0;
107
+ }
108
+ 100% {
109
+ -webkit-transform: translateY(-50%) scale(1);
110
+ transform: translateY(-50%) scale(1);
111
+ opacity: 1;
112
+ }
113
+ }
114
+ @keyframes kdRadioEffect {
115
+ 0% {
116
+ -webkit-transform: translateY(-50%) scale(0.5);
117
+ transform: translateY(-50%) scale(0.5);
118
+ opacity: 0;
119
+ }
120
+ 100% {
121
+ -webkit-transform: translateY(-50%) scale(1);
122
+ transform: translateY(-50%) scale(1);
123
+ opacity: 1;
124
+ }
125
+ }
126
+ @-webkit-keyframes kdSlideDownIn {
127
+ 0% {
128
+ -webkit-transform: scaleY(0.8);
129
+ transform: scaleY(0.8);
130
+ -webkit-transform-origin: 50% 0%;
131
+ transform-origin: 50% 0%;
132
+ opacity: 0;
133
+ }
134
+ 100% {
135
+ -webkit-transform: scaleY(1);
136
+ transform: scaleY(1);
137
+ -webkit-transform-origin: 50% 0%;
138
+ transform-origin: 50% 0%;
139
+ opacity: 1;
140
+ }
141
+ }
142
+ @keyframes kdSlideDownIn {
143
+ 0% {
144
+ -webkit-transform: scaleY(0.8);
145
+ transform: scaleY(0.8);
146
+ -webkit-transform-origin: 50% 0%;
147
+ transform-origin: 50% 0%;
148
+ opacity: 0;
149
+ }
150
+ 100% {
151
+ -webkit-transform: scaleY(1);
152
+ transform: scaleY(1);
153
+ -webkit-transform-origin: 50% 0%;
154
+ transform-origin: 50% 0%;
155
+ opacity: 1;
156
+ }
157
+ }
158
+ @-webkit-keyframes kdSlideDownOut {
159
+ 0% {
160
+ -webkit-transform: scaleY(1);
161
+ transform: scaleY(1);
162
+ -webkit-transform-origin: 50% 0%;
163
+ transform-origin: 50% 0%;
164
+ opacity: 1;
165
+ }
166
+ 100% {
167
+ -webkit-transform: scaleY(0.9);
168
+ transform: scaleY(0.9);
169
+ -webkit-transform-origin: 50% 0%;
170
+ transform-origin: 50% 0%;
171
+ opacity: 0;
172
+ }
173
+ }
174
+ @keyframes kdSlideDownOut {
175
+ 0% {
176
+ -webkit-transform: scaleY(1);
177
+ transform: scaleY(1);
178
+ -webkit-transform-origin: 50% 0%;
179
+ transform-origin: 50% 0%;
180
+ opacity: 1;
181
+ }
182
+ 100% {
183
+ -webkit-transform: scaleY(0.9);
184
+ transform: scaleY(0.9);
185
+ -webkit-transform-origin: 50% 0%;
186
+ transform-origin: 50% 0%;
187
+ opacity: 0;
188
+ }
189
+ }
190
+ @-webkit-keyframes kdSlideUpIn {
191
+ 0% {
192
+ -webkit-transform-origin: 50% 100%;
193
+ transform-origin: 50% 100%;
194
+ opacity: 0;
195
+ }
196
+ 5% {
197
+ -webkit-transform: scaleY(0.8);
198
+ transform: scaleY(0.8);
199
+ }
200
+ 100% {
201
+ -webkit-transform: scaleY(1);
202
+ transform: scaleY(1);
203
+ -webkit-transform-origin: 50% 100%;
204
+ transform-origin: 50% 100%;
205
+ opacity: 1;
206
+ }
207
+ }
208
+ @keyframes kdSlideUpIn {
209
+ 0% {
210
+ -webkit-transform-origin: 50% 100%;
211
+ transform-origin: 50% 100%;
212
+ opacity: 0;
213
+ }
214
+ 5% {
215
+ -webkit-transform: scaleY(0.8);
216
+ transform: scaleY(0.8);
217
+ }
218
+ 100% {
219
+ -webkit-transform: scaleY(1);
220
+ transform: scaleY(1);
221
+ -webkit-transform-origin: 50% 100%;
222
+ transform-origin: 50% 100%;
223
+ opacity: 1;
224
+ }
225
+ }
226
+ @-webkit-keyframes kdSlideUpOut {
227
+ 0% {
228
+ -webkit-transform: scaleY(1);
229
+ transform: scaleY(1);
230
+ -webkit-transform-origin: 50% 100%;
231
+ transform-origin: 50% 100%;
232
+ opacity: 1;
233
+ }
234
+ 100% {
235
+ -webkit-transform: scaleY(0.9);
236
+ transform: scaleY(0.9);
237
+ -webkit-transform-origin: 50% 100%;
238
+ transform-origin: 50% 100%;
239
+ opacity: 0;
240
+ }
241
+ }
242
+ @keyframes kdSlideUpOut {
243
+ 0% {
244
+ -webkit-transform: scaleY(1);
245
+ transform: scaleY(1);
246
+ -webkit-transform-origin: 50% 100%;
247
+ transform-origin: 50% 100%;
248
+ opacity: 1;
249
+ }
250
+ 100% {
251
+ -webkit-transform: scaleY(0.9);
252
+ transform: scaleY(0.9);
253
+ -webkit-transform-origin: 50% 100%;
254
+ transform-origin: 50% 100%;
255
+ opacity: 0;
256
+ }
257
+ }
258
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
259
+ /* normalize.css 和现有产品的结合版本, 根据兼容性进行了调整 */
260
+ /* Document
261
+ ========================================================================== */
262
+ /* Sections
263
+ ========================================================================== */
264
+ /**
265
+ * Remove the margin in all browsers.
266
+ */
267
+ html,
268
+ body {
269
+ height: 100%;
270
+ padding: 0;
271
+ margin: 0;
272
+ font-size: 12px;
273
+ }
274
+ html,
275
+ body,
276
+ input,
277
+ textarea,
278
+ select,
279
+ button {
280
+ font-family: "Microsoft YaHei", "PingFangSC-Regular", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
281
+ }
282
+ body {
283
+ -webkit-box-sizing: border-box;
284
+ box-sizing: border-box;
285
+ }
286
+ /**
287
+ * Remove the gray background on active links in IE 10.
288
+ */
289
+ a {
290
+ background-color: transparent;
291
+ }
292
+ /* Forms
293
+ ========================================================================== */
294
+ /**
295
+ */
296
+ input {
297
+ padding: 0;
298
+ margin: 0;
299
+ }
300
+ /**
301
+ * 1. Change the font styles in all browsers.
302
+ * 2. Remove the margin in Firefox and Safari.
303
+ */
304
+ button,
305
+ input,
306
+ optgroup,
307
+ select,
308
+ textarea {
309
+ margin: 0;
310
+ /* 2 */
311
+ }
312
+ /**
313
+ * Show the overflow in IE.
314
+ * 1. Show the overflow in Edge.
315
+ */
316
+ button,
317
+ input {
318
+ /* 1 */
319
+ overflow: visible;
320
+ }
321
+ /**
322
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
323
+ * 1. Remove the inheritance of text transform in Firefox.
324
+ */
325
+ button,
326
+ select {
327
+ /* 1 */
328
+ text-transform: none;
329
+ }
330
+ /**
331
+ * Correct the inability to style clickable types in iOS and Safari.
332
+ */
333
+ button,
334
+ [type="button"],
335
+ [type="reset"],
336
+ [type="submit"] {
337
+ -webkit-appearance: button;
338
+ }
339
+ /**
340
+ * Remove the inner border and padding in Firefox.
341
+ */
342
+ button::-moz-focus-inner,
343
+ [type="button"]::-moz-focus-inner,
344
+ [type="reset"]::-moz-focus-inner,
345
+ [type="submit"]::-moz-focus-inner {
346
+ border-style: none;
347
+ padding: 0;
348
+ }
349
+ /**
350
+ * Restore the focus styles unset by the previous rule.
351
+ */
352
+ button:-moz-focusring,
353
+ [type="button"]:-moz-focusring,
354
+ [type="reset"]:-moz-focusring,
355
+ [type="submit"]:-moz-focusring {
356
+ outline: 1px dotted ButtonText;
357
+ }
358
+ /**
359
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
360
+ */
361
+ progress {
362
+ vertical-align: baseline;
363
+ }
364
+ /**
365
+ * Remove the default vertical scrollbar in IE 10+.
366
+ */
367
+ textarea {
368
+ overflow: auto;
369
+ }
370
+ /**
371
+ * 1. Add the correct box sizing in IE 10.
372
+ * 2. Remove the padding in IE 10.
373
+ */
374
+ [type="checkbox"],
375
+ [type="radio"] {
376
+ -webkit-box-sizing: border-box;
377
+ box-sizing: border-box;
378
+ /* 1 */
379
+ padding: 0;
380
+ /* 2 */
381
+ }
382
+ /**
383
+ * Correct the cursor style of increment and decrement buttons in Chrome.
384
+ */
385
+ [type="number"]::-webkit-inner-spin-button,
386
+ [type="number"]::-webkit-outer-spin-button {
387
+ height: auto;
388
+ }
389
+ /**
390
+ * 1. Correct the odd appearance in Chrome and Safari.
391
+ * 2. Correct the outline style in Safari.
392
+ */
393
+ [type="search"] {
394
+ -webkit-appearance: textfield;
395
+ /* 1 */
396
+ outline-offset: -2px;
397
+ /* 2 */
398
+ }
399
+ /**
400
+ * Remove the inner padding in Chrome and Safari on macOS.
401
+ */
402
+ [type="search"]::-webkit-search-decoration {
403
+ -webkit-appearance: none;
404
+ }
405
+ /* Misc
406
+ ========================================================================== */
407
+ /**
408
+ * Add the correct display in IE 10+.
409
+ */
410
+ template {
411
+ display: none;
412
+ }
413
+ /**
414
+ * Add the correct display in IE 10.
415
+ */
416
+ [hidden] {
417
+ display: none;
418
+ }
419
+
420
+
421
+
422
+ /*# sourceMappingURL=kd-table.css.map*/
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack://kdui/components/style/index.less","webpack://kdui/./components/style/core/motion/other.less","webpack://kdui/./components/style/core/motion/slide.less","webpack://kdui/./components/style/core/reset.less"],"names":[],"mappings":"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","file":"kd-table.css","sourcesContent":["/* ----------- color ——————---- start */\n/* ----------- color ——————---- end */\n/* ----------- font ——————---- start */\n/* ----------- font ——————---- end */\n/* ----------- zIndex ——————---- start */\n/*\n 普通组件内部自身层级应设置在0-100间\n*/\n/* ----------- zIndex ——————---- end */\n/* ----------- transition ——————---- start */\n/* ----------- transition ——————---- end */\n/* ----------- Button ——————---- start */\n/* ----------- Button ——————---- end */\n/* ----------- Collapse ——————---- start */\n/* ----------- Collapse ——————---- end */\n/* ----------- Switch ——————---- start */\n/* ----------- Switch ——————---- end */\n/* ----------- Input ——————---- start */\n/* ----------- Input ——————---- end */\n/* ----------- InputNumber ——————---- start */\n/* ----------- InputNumber ——————---- end */\n/* ----------- checkbox ——————---- start */\n/* ----------- checkbox ——————---- end */\n/* ----------- Radio ——————---- start */\n/* ----------- Radio ——————---- end */\n/* ----------- icon ——————---- start */\n/* ----------- icon ——————---- end */\n/* ----------- Popconfirm ——————---- start */\n/* ----------- Popconfirm ——————---- end */\n/* ----------- Popover ——————---- start */\n/* ----------- Popover ——————---- end */\n/* ----------- Progress ——————---- start */\n/* ----------- Progress ——————---- end */\n/* ----------- Pagination ——————---- start */\n/* ----------- Pagination ——————---- end */\n/* ----------- Timeline ——————---- start */\n/* ----------- Timeline ——————---- end */\n/* ----------- Tabs ——————---- start */\n/* ----------- Tabs ——————---- end */\n/* ----------- Select ——————---- start */\n/* ----------- Select ——————---- end */\n/* ----------- Rate ——————---- start */\n/* ----------- Rate ——————---- end */\n/* ----------- Dropdown ——————---- start */\n/* ----------- Dropdown ——————---- end */\n/* ----------- Tooltip ——————---- start */\n/* ----------- Tooltip ——————---- end */\n/* ----------- Transfer ——————---- start */\n/* ----------- Transfer ——————---- end */\n/* ----------- Alert ——————---- start */\n/* ----------- Alert ——————---- end */\n/* ----------- Split-Panel ——————---- start */\n/* ----------- Split-Panel ——————---- end */\n/* ----------- Modal ——————---- start */\n/* ----------- Modal ——————---- end */\n/* ----------- Steps ——————---- start */\n/* ----------- Steps ——————---- end */\n/* ----------- Tag ——————---- start */\n/* ----------- Tag ——————---- end */\n@keyframes loadingcircle {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes waveEffect {\n 100% {\n box-shadow: 0 0 0 6px #5582f3;\n }\n}\n@keyframes fadeEffect {\n 100% {\n opacity: 0;\n }\n}\n@keyframes kdRadioEffect {\n 0% {\n transform: translateY(-50%) scale(0.5);\n opacity: 0;\n }\n 100% {\n transform: translateY(-50%) scale(1);\n opacity: 1;\n }\n}\n@keyframes kdSlideDownIn {\n 0% {\n transform: scaleY(0.8);\n transform-origin: 50% 0%;\n opacity: 0;\n }\n 100% {\n transform: scaleY(1);\n transform-origin: 50% 0%;\n opacity: 1;\n }\n}\n@keyframes kdSlideDownOut {\n 0% {\n transform: scaleY(1);\n transform-origin: 50% 0%;\n opacity: 1;\n }\n 100% {\n transform: scaleY(0.9);\n transform-origin: 50% 0%;\n opacity: 0;\n }\n}\n@keyframes kdSlideUpIn {\n 0% {\n transform-origin: 50% 100%;\n opacity: 0;\n }\n 5% {\n transform: scaleY(0.8);\n }\n 100% {\n transform: scaleY(1);\n transform-origin: 50% 100%;\n opacity: 1;\n }\n}\n@keyframes kdSlideUpOut {\n 0% {\n transform: scaleY(1);\n transform-origin: 50% 100%;\n opacity: 1;\n }\n 100% {\n transform: scaleY(0.9);\n transform-origin: 50% 100%;\n opacity: 0;\n }\n}\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n/* normalize.css 和现有产品的结合版本, 根据兼容性进行了调整 */\n/* Document\n ========================================================================== */\n/* Sections\n ========================================================================== */\n/**\n * Remove the margin in all browsers.\n */\nhtml,\nbody {\n height: 100%;\n padding: 0;\n margin: 0;\n font-size: 12px;\n}\nhtml,\nbody,\ninput,\ntextarea,\nselect,\nbutton {\n font-family: \"Microsoft YaHei\", \"PingFangSC-Regular\", \"Helvetica Neue\", Helvetica, Arial, \"Hiragino Sans GB\", \"WenQuanYi Micro Hei\", sans-serif;\n}\nbody {\n box-sizing: border-box;\n}\n/**\n * Remove the gray background on active links in IE 10.\n */\na {\n background-color: transparent;\n}\n/* Forms\n ========================================================================== */\n/**\n */\ninput {\n padding: 0;\n margin: 0;\n}\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n /* 2 */\n}\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n/**\n * Remove the inner border and padding in Firefox.\n */\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n/**\n * Restore the focus styles unset by the previous rule.\n */\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\nprogress {\n vertical-align: baseline;\n}\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\ntextarea {\n overflow: auto;\n}\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box;\n /* 1 */\n padding: 0;\n /* 2 */\n}\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n[type=\"search\"] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n}\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n/* Misc\n ========================================================================== */\n/**\n * Add the correct display in IE 10+.\n */\ntemplate {\n display: none;\n}\n/**\n * Add the correct display in IE 10.\n */\n[hidden] {\n display: none;\n}\n","@keyframes loadingcircle {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes waveEffect {\n 100% {\n box-shadow: 0 0 0 6px @theme-color;\n }\n}\n\n@keyframes fadeEffect {\n 100% {\n opacity: 0;\n }\n}\n\n@keyframes kdRadioEffect {\n 0% {\n transform: translateY(-50%) scale(0.5);\n opacity: 0;\n }\n 100% {\n transform: translateY(-50%) scale(1);\n opacity: 1;\n }\n}","@keyframes kdSlideDownIn {\n 0% {\n transform: scaleY(0.8);\n transform-origin: 50% 0%;\n opacity: 0;\n }\n 100% {\n transform: scaleY(1);\n transform-origin: 50% 0%;\n opacity: 1;\n }\n}\n\n@keyframes kdSlideDownOut {\n 0% {\n transform: scaleY(1);\n transform-origin: 50% 0%;\n opacity: 1;\n }\n 100% {\n transform: scaleY(0.9);\n transform-origin: 50% 0%;\n opacity: 0;\n }\n}\n\n@keyframes kdSlideUpIn {\n 0% {\n transform-origin: 50% 100%;\n opacity: 0;\n }\n 5% {\n transform: scaleY(0.8);\n }\n 100% {\n transform: scaleY(1);\n transform-origin: 50% 100%;\n opacity: 1;\n }\n}\n\n@keyframes kdSlideUpOut {\n 0% {\n transform: scaleY(1);\n transform-origin: 50% 100%;\n opacity: 1;\n }\n 100% {\n transform: scaleY(0.9);\n transform-origin: 50% 100%;\n opacity: 0;\n }\n}\n","/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* normalize.css 和现有产品的结合版本, 根据兼容性进行了调整 */\n/* Document\n ========================================================================== */\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n html,body {\n\theight: 100%;\n\tpadding: 0;\n\tmargin: 0;\n\tfont-size:12px;\n\n}\n\nhtml,body,input, textarea, select, button{\n\tfont-family:\"Microsoft YaHei\",\"PingFangSC-Regular\",\"Helvetica Neue\", Helvetica, Arial,\"Hiragino Sans GB\",\"WenQuanYi Micro Hei\", sans-serif;\n}\n\nbody {\n\tbox-sizing: border-box;\n}\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n\n/* Forms\n ========================================================================== */\n\n/**\n */\ninput {\n padding: 0;\n margin: 0;\n}\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}"],"sourceRoot":""}