amis-rev-ui 6.13.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 (783) hide show
  1. package/LICENSE +201 -0
  2. package/esm/HTMLFilterContext.d.ts +3 -0
  3. package/esm/HTMLFilterContext.js +10 -0
  4. package/esm/components/404.js +35 -0
  5. package/esm/components/Alert.js +266 -0
  6. package/esm/components/Alert2.js +58 -0
  7. package/esm/components/AlphabetIndexer.d.ts +11 -0
  8. package/esm/components/AlphabetIndexer.js +48 -0
  9. package/esm/components/AnchorNav.js +153 -0
  10. package/esm/components/AnchorNavSection.d.ts +2 -0
  11. package/esm/components/AnchorNavSection.js +7 -0
  12. package/esm/components/ArrayInput.js +146 -0
  13. package/esm/components/AsideNav.js +133 -0
  14. package/esm/components/AssociatedSelection.js +107 -0
  15. package/esm/components/AutoFoldedList.js +124 -0
  16. package/esm/components/AutoSizer.d.ts +2 -0
  17. package/esm/components/AutoSizer.js +8 -0
  18. package/esm/components/Avatar.js +126 -0
  19. package/esm/components/Badge.d.ts +20 -0
  20. package/esm/components/Badge.js +154 -0
  21. package/esm/components/BaiduMapPicker.js +366 -0
  22. package/esm/components/BarCode.js +42 -0
  23. package/esm/components/Breadcrumb.js +160 -0
  24. package/esm/components/Button.js +64 -0
  25. package/esm/components/CalendarMobile.js +538 -0
  26. package/esm/components/Card.js +88 -0
  27. package/esm/components/Cascader.js +515 -0
  28. package/esm/components/ChainedDropdownSelection.js +104 -0
  29. package/esm/components/ChainedSelection.js +184 -0
  30. package/esm/components/Checkbox.js +87 -0
  31. package/esm/components/CityArea.js +190 -0
  32. package/esm/components/CityDB.d.ts +13 -0
  33. package/esm/components/CityDB.js +3942 -0
  34. package/esm/components/CodeMirror.d.ts +29 -0
  35. package/esm/components/CodeMirror.js +140 -0
  36. package/esm/components/Collapse.js +184 -0
  37. package/esm/components/CollapseGroup.js +117 -0
  38. package/esm/components/ColorPicker.js +259 -0
  39. package/esm/components/Combo.js +212 -0
  40. package/esm/components/ConditionBuilder.d.ts +2 -0
  41. package/esm/components/ConditionBuilder.js +7 -0
  42. package/esm/components/ConfirmBox.js +128 -0
  43. package/esm/components/ContextMenu.js +310 -0
  44. package/esm/components/DatePicker.js +716 -0
  45. package/esm/components/DateRangePicker.js +1385 -0
  46. package/esm/components/DiffEditor.d.ts +21 -0
  47. package/esm/components/DiffEditor.js +119 -0
  48. package/esm/components/DndContainer.js +25 -0
  49. package/esm/components/Drawer.js +272 -0
  50. package/esm/components/DropDownSelection.js +77 -0
  51. package/esm/components/DropdownContextMenus.js +93 -0
  52. package/esm/components/Editor.js +238 -0
  53. package/esm/components/Form.d.ts +31 -0
  54. package/esm/components/Form.js +84 -0
  55. package/esm/components/FormField.js +78 -0
  56. package/esm/components/FormulaPicker.d.ts +2 -0
  57. package/esm/components/FormulaPicker.js +7 -0
  58. package/esm/components/GaodeMapPicker.js +204 -0
  59. package/esm/components/GridNav.d.ts +53 -0
  60. package/esm/components/GridNav.js +125 -0
  61. package/esm/components/GridNavItem.d.ts +2 -0
  62. package/esm/components/GridNavItem.js +7 -0
  63. package/esm/components/GroupedSelection.js +138 -0
  64. package/esm/components/HeadCellDropDown.d.ts +2 -0
  65. package/esm/components/HeadCellDropDown.js +7 -0
  66. package/esm/components/HorizontalScroll.d.ts +74 -0
  67. package/esm/components/HorizontalScroll.js +271 -0
  68. package/esm/components/Html.js +55 -0
  69. package/esm/components/Icon.d.ts +2 -0
  70. package/esm/components/Icon.js +7 -0
  71. package/esm/components/ImageGallery.js +396 -0
  72. package/esm/components/Input.d.ts +18 -0
  73. package/esm/components/Input.js +75 -0
  74. package/esm/components/InputBox.js +99 -0
  75. package/esm/components/InputBoxWithSuggestion.js +70 -0
  76. package/esm/components/InputJSONSchema.d.ts +2 -0
  77. package/esm/components/InputJSONSchema.js +7 -0
  78. package/esm/components/InputTable.js +176 -0
  79. package/esm/components/JSONSchemaEditor.d.ts +2 -0
  80. package/esm/components/JSONSchemaEditor.js +7 -0
  81. package/esm/components/Layout.js +60 -0
  82. package/esm/components/Link.js +44 -0
  83. package/esm/components/ListGroup.js +31 -0
  84. package/esm/components/ListMenu.js +62 -0
  85. package/esm/components/LocationPicker.js +208 -0
  86. package/esm/components/Markdown.d.ts +25 -0
  87. package/esm/components/Markdown.js +70 -0
  88. package/esm/components/Menu.d.ts +2 -0
  89. package/esm/components/Menu.js +7 -0
  90. package/esm/components/MixedInput.js +88 -0
  91. package/esm/components/MobileDevTool.d.ts +12 -0
  92. package/esm/components/MobileDevTool.js +312 -0
  93. package/esm/components/Modal.js +261 -0
  94. package/esm/components/ModalManager.d.ts +16 -0
  95. package/esm/components/ModalManager.js +42 -0
  96. package/esm/components/MultilineText.js +90 -0
  97. package/esm/components/NumberInput.js +274 -0
  98. package/esm/components/OverflowTpl.js +100 -0
  99. package/esm/components/Pagination.js +377 -0
  100. package/esm/components/PdfViewer.js +83 -0
  101. package/esm/components/Picker.js +73 -0
  102. package/esm/components/PickerColumn.js +276 -0
  103. package/esm/components/PickerContainer.js +157 -0
  104. package/esm/components/PopOverContainer.d.ts +59 -0
  105. package/esm/components/PopOverContainer.js +148 -0
  106. package/esm/components/PopUp.js +85 -0
  107. package/esm/components/Progress.js +136 -0
  108. package/esm/components/PullRefresh.js +172 -0
  109. package/esm/components/Radios.js +129 -0
  110. package/esm/components/Range.js +516 -0
  111. package/esm/components/Rating.js +341 -0
  112. package/esm/components/ResultBox.js +195 -0
  113. package/esm/components/ResultList.js +253 -0
  114. package/esm/components/ResultTableList.js +152 -0
  115. package/esm/components/ResultTreeList.js +241 -0
  116. package/esm/components/RichText.d.ts +48 -0
  117. package/esm/components/RichText.js +271 -0
  118. package/esm/components/SearchBox.js +298 -0
  119. package/esm/components/Select.js +814 -0
  120. package/esm/components/SelectMobile.d.ts +38 -0
  121. package/esm/components/SelectMobile.js +369 -0
  122. package/esm/components/Selection.js +166 -0
  123. package/esm/components/Shape.js +429 -0
  124. package/esm/components/Signature.js +294 -0
  125. package/esm/components/Slider.js +140 -0
  126. package/esm/components/SparkLine.js +62 -0
  127. package/esm/components/Spinner.js +202 -0
  128. package/esm/components/Steps.js +76 -0
  129. package/esm/components/Switch.js +73 -0
  130. package/esm/components/Tab.d.ts +2 -0
  131. package/esm/components/Tab.js +7 -0
  132. package/esm/components/Table.d.ts +2 -0
  133. package/esm/components/Table.js +7 -0
  134. package/esm/components/TableSelection.js +169 -0
  135. package/esm/components/Tabs.js +607 -0
  136. package/esm/components/TabsTransfer.js +221 -0
  137. package/esm/components/TabsTransferPicker.js +81 -0
  138. package/esm/components/Tag.js +137 -0
  139. package/esm/components/Textarea.js +146 -0
  140. package/esm/components/Timeline.js +60 -0
  141. package/esm/components/TimelineItem.js +101 -0
  142. package/esm/components/Tinymce.d.ts +66 -0
  143. package/esm/components/Tinymce.js +634 -0
  144. package/esm/components/TitleBar.js +48 -0
  145. package/esm/components/Toast.js +247 -0
  146. package/esm/components/Tooltip.js +36 -0
  147. package/esm/components/TooltipWrapper.js +180 -0
  148. package/esm/components/Transfer.js +485 -0
  149. package/esm/components/TransferDropDown.js +98 -0
  150. package/esm/components/TransferPicker.js +98 -0
  151. package/esm/components/TransferSearch.js +100 -0
  152. package/esm/components/Tree.js +1256 -0
  153. package/esm/components/TreeSelection.js +201 -0
  154. package/esm/components/UserSelect.js +674 -0
  155. package/esm/components/UserTabSelect.js +227 -0
  156. package/esm/components/VerificationCode.js +172 -0
  157. package/esm/components/VirtualList.d.ts +2 -0
  158. package/esm/components/VirtualList.js +7 -0
  159. package/esm/components/WithRemoteConfig.d.ts +70 -0
  160. package/esm/components/WithRemoteConfig.js +301 -0
  161. package/esm/components/WithStore.d.ts +13 -0
  162. package/esm/components/WithStore.js +48 -0
  163. package/esm/components/calendar/Calendar.d.ts +83 -0
  164. package/esm/components/calendar/Calendar.js +529 -0
  165. package/esm/components/calendar/CalendarContainer.d.ts +10 -0
  166. package/esm/components/calendar/CalendarContainer.js +27 -0
  167. package/esm/components/calendar/DaysView.js +528 -0
  168. package/esm/components/calendar/MonthsView.js +175 -0
  169. package/esm/components/calendar/QuartersView.js +125 -0
  170. package/esm/components/calendar/TimeView.js +559 -0
  171. package/esm/components/calendar/YearsView.js +122 -0
  172. package/esm/components/condition-builder/Expression.js +121 -0
  173. package/esm/components/condition-builder/Field.js +32 -0
  174. package/esm/components/condition-builder/Func.js +75 -0
  175. package/esm/components/condition-builder/Group.js +196 -0
  176. package/esm/components/condition-builder/GroupOrItem.js +107 -0
  177. package/esm/components/condition-builder/InputSwitch.js +28 -0
  178. package/esm/components/condition-builder/Item.js +233 -0
  179. package/esm/components/condition-builder/Value.js +115 -0
  180. package/esm/components/condition-builder/config.d.ts +36 -0
  181. package/esm/components/condition-builder/config.js +120 -0
  182. package/esm/components/condition-builder/index.js +242 -0
  183. package/esm/components/condition-builder/types.d.ts +116 -0
  184. package/esm/components/formula/CodeEditor.js +99 -0
  185. package/esm/components/formula/Editor.js +446 -0
  186. package/esm/components/formula/FuncList.js +64 -0
  187. package/esm/components/formula/Input.js +141 -0
  188. package/esm/components/formula/Picker.js +454 -0
  189. package/esm/components/formula/VariableList.js +185 -0
  190. package/esm/components/formula/plugin.d.ts +51 -0
  191. package/esm/components/formula/plugin.js +445 -0
  192. package/esm/components/icons.d.ts +61 -0
  193. package/esm/components/icons.js +458 -0
  194. package/esm/components/index.d.ts +138 -0
  195. package/esm/components/json-schema/Array.d.ts +3 -0
  196. package/esm/components/json-schema/Array.js +129 -0
  197. package/esm/components/json-schema/Item.d.ts +5 -0
  198. package/esm/components/json-schema/Item.js +63 -0
  199. package/esm/components/json-schema/Object.d.ts +5 -0
  200. package/esm/components/json-schema/Object.js +272 -0
  201. package/esm/components/json-schema/index.js +29 -0
  202. package/esm/components/menu/MenuContext.d.ts +82 -0
  203. package/esm/components/menu/MenuContext.js +25 -0
  204. package/esm/components/menu/MenuItem.js +112 -0
  205. package/esm/components/menu/PanelMenu.js +68 -0
  206. package/esm/components/menu/SubMenu.js +137 -0
  207. package/esm/components/menu/index.js +368 -0
  208. package/esm/components/schema-editor/Array.d.ts +11 -0
  209. package/esm/components/schema-editor/Array.js +84 -0
  210. package/esm/components/schema-editor/Common.d.ts +61 -0
  211. package/esm/components/schema-editor/Common.js +162 -0
  212. package/esm/components/schema-editor/Item.d.ts +8 -0
  213. package/esm/components/schema-editor/Item.js +24 -0
  214. package/esm/components/schema-editor/Object.d.ts +51 -0
  215. package/esm/components/schema-editor/Object.js +294 -0
  216. package/esm/components/schema-editor/SchemaVariableList.js +74 -0
  217. package/esm/components/schema-editor/SchemaVariableListPicker.js +34 -0
  218. package/esm/components/schema-editor/index.js +122 -0
  219. package/esm/components/table/Cell.d.ts +36 -0
  220. package/esm/components/table/Cell.js +43 -0
  221. package/esm/components/table/ColGroup.d.ts +24 -0
  222. package/esm/components/table/ColGroup.js +77 -0
  223. package/esm/components/table/Head.d.ts +45 -0
  224. package/esm/components/table/Head.js +150 -0
  225. package/esm/components/table/HeadCellDropDown.js +54 -0
  226. package/esm/components/table/HeadCellFilter.js +130 -0
  227. package/esm/components/table/HeadCellSelect.js +51 -0
  228. package/esm/components/table/HeadCellSort.js +88 -0
  229. package/esm/components/table/ItemActionsWrapper.d.ts +10 -0
  230. package/esm/components/table/ItemActionsWrapper.js +29 -0
  231. package/esm/components/table/Row.d.ts +56 -0
  232. package/esm/components/table/Row.js +224 -0
  233. package/esm/components/table/SummaryRow.d.ts +28 -0
  234. package/esm/components/table/SummaryRow.js +73 -0
  235. package/esm/components/table/index.js +1095 -0
  236. package/esm/components/table/util.d.ts +25 -0
  237. package/esm/components/table/util.js +279 -0
  238. package/esm/components/virtual-list/AutoSizer.d.ts +19 -0
  239. package/esm/components/virtual-list/AutoSizer.js +48 -0
  240. package/esm/components/virtual-list/SizeAndPositionManager.d.ts +70 -0
  241. package/esm/components/virtual-list/SizeAndPositionManager.js +216 -0
  242. package/esm/components/virtual-list/constants.d.ts +34 -0
  243. package/esm/components/virtual-list/constants.js +45 -0
  244. package/esm/components/virtual-list/index.d.ts +98 -0
  245. package/esm/components/virtual-list/index.js +288 -0
  246. package/esm/components/withBadge.d.ts +2 -0
  247. package/esm/components/withBadge.js +7 -0
  248. package/esm/hooks/index.d.ts +8 -0
  249. package/esm/hooks/use-click-away.d.ts +12 -0
  250. package/esm/hooks/use-click-away.js +55 -0
  251. package/esm/hooks/use-on-screen.d.ts +2 -0
  252. package/esm/hooks/use-on-screen.js +28 -0
  253. package/esm/hooks/use-set-state.d.ts +2 -0
  254. package/esm/hooks/use-set-state.js +19 -0
  255. package/esm/hooks/use-sub-form.d.ts +4 -0
  256. package/esm/hooks/use-sub-form.js +39 -0
  257. package/esm/hooks/use-touch.d.ts +16 -0
  258. package/esm/hooks/use-touch.js +77 -0
  259. package/esm/hooks/use-update-effect.d.ts +3 -0
  260. package/esm/hooks/use-update-effect.js +21 -0
  261. package/esm/hooks/use-validation-resolver.d.ts +7 -0
  262. package/esm/hooks/use-validation-resolver.js +115 -0
  263. package/esm/icons/alert-danger.svg.js +22 -0
  264. package/esm/icons/alert-info.svg.js +22 -0
  265. package/esm/icons/alert-success.svg.js +22 -0
  266. package/esm/icons/alert-warning.svg.js +22 -0
  267. package/esm/icons/arrow-double-left.svg.js +24 -0
  268. package/esm/icons/arrow-double-right.svg.js +24 -0
  269. package/esm/icons/back.svg.js +21 -0
  270. package/esm/icons/calendar.svg.js +31 -0
  271. package/esm/icons/caret.svg.js +21 -0
  272. package/esm/icons/check.svg.js +21 -0
  273. package/esm/icons/clock.svg.js +29 -0
  274. package/esm/icons/close-small.svg.js +24 -0
  275. package/esm/icons/close.svg.js +21 -0
  276. package/esm/icons/cloud-upload.svg.js +22 -0
  277. package/esm/icons/column-filter.svg.js +22 -0
  278. package/esm/icons/columns.svg.js +21 -0
  279. package/esm/icons/compress-alt.svg.js +21 -0
  280. package/esm/icons/copy.svg.js +26 -0
  281. package/esm/icons/date.svg.js +26 -0
  282. package/esm/icons/department.svg.js +52 -0
  283. package/esm/icons/desk-empty.svg.js +73 -0
  284. package/esm/icons/dot.svg.js +36 -0
  285. package/esm/icons/down-arrow-bold.svg.js +22 -0
  286. package/esm/icons/down.svg.js +23 -0
  287. package/esm/icons/download.svg.js +24 -0
  288. package/esm/icons/drag-bar.svg.js +53 -0
  289. package/esm/icons/drag.svg.js +22 -0
  290. package/esm/icons/edit.svg.js +21 -0
  291. package/esm/icons/ellipsis-v.svg.js +21 -0
  292. package/esm/icons/enter.svg.js +20 -0
  293. package/esm/icons/exchange.svg.js +21 -0
  294. package/esm/icons/expand-alt.svg.js +21 -0
  295. package/esm/icons/fail.svg.js +31 -0
  296. package/esm/icons/file.svg.js +22 -0
  297. package/esm/icons/filter.svg.js +21 -0
  298. package/esm/icons/folder.svg.js +24 -0
  299. package/esm/icons/fullscreen.svg.js +21 -0
  300. package/esm/icons/function.svg.js +21 -0
  301. package/esm/icons/home.svg.js +21 -0
  302. package/esm/icons/if.svg.js +21 -0
  303. package/esm/icons/image.svg.js +20 -0
  304. package/esm/icons/info-circle.svg.js +21 -0
  305. package/esm/icons/info.svg.js +27 -0
  306. package/esm/icons/input-clear.svg.js +20 -0
  307. package/esm/icons/invisible.svg.js +22 -0
  308. package/esm/icons/left-arrow.svg.js +23 -0
  309. package/esm/icons/loading-outline.svg.js +21 -0
  310. package/esm/icons/location.svg.js +20 -0
  311. package/esm/icons/menu.svg.js +20 -0
  312. package/esm/icons/minus.svg.js +21 -0
  313. package/esm/icons/move.svg.js +22 -0
  314. package/esm/icons/mute.svg.js +21 -0
  315. package/esm/icons/new-edit.svg.js +22 -0
  316. package/esm/icons/pause.svg.js +21 -0
  317. package/esm/icons/pencil.svg.js +21 -0
  318. package/esm/icons/play.svg.js +20 -0
  319. package/esm/icons/plus-cicle.svg.js +20 -0
  320. package/esm/icons/plus-fine.svg.js +21 -0
  321. package/esm/icons/plus.svg.js +21 -0
  322. package/esm/icons/post.svg.js +48 -0
  323. package/esm/icons/question-mark.svg.js +26 -0
  324. package/esm/icons/question.svg.js +21 -0
  325. package/esm/icons/question2.svg.js +34 -0
  326. package/esm/icons/redo.svg.js +21 -0
  327. package/esm/icons/refresh.svg.js +21 -0
  328. package/esm/icons/reload.svg.js +21 -0
  329. package/esm/icons/remove.svg.js +21 -0
  330. package/esm/icons/retry.svg.js +24 -0
  331. package/esm/icons/right-arrow-bold.svg.js +21 -0
  332. package/esm/icons/right-arrow.svg.js +23 -0
  333. package/esm/icons/right-double-arrow.svg.js +22 -0
  334. package/esm/icons/role.svg.js +43 -0
  335. package/esm/icons/rotate-left.svg.js +22 -0
  336. package/esm/icons/rotate-right.svg.js +22 -0
  337. package/esm/icons/rotate-screen.svg.js +21 -0
  338. package/esm/icons/scale-origin.svg.js +24 -0
  339. package/esm/icons/schedule.svg.js +24 -0
  340. package/esm/icons/search.svg.js +21 -0
  341. package/esm/icons/setting.svg.js +21 -0
  342. package/esm/icons/slider-handle-icon.svg.js +22 -0
  343. package/esm/icons/sort-asc.svg.js +21 -0
  344. package/esm/icons/sort-default.svg.js +21 -0
  345. package/esm/icons/sort-desc.svg.js +21 -0
  346. package/esm/icons/star.svg.js +21 -0
  347. package/esm/icons/status-close.svg.js +23 -0
  348. package/esm/icons/steps-finsh.svg.js +22 -0
  349. package/esm/icons/sub-plus.svg.js +20 -0
  350. package/esm/icons/success.svg.js +29 -0
  351. package/esm/icons/transparent.svg.js +38 -0
  352. package/esm/icons/trash.svg.js +22 -0
  353. package/esm/icons/tree-down.svg.js +21 -0
  354. package/esm/icons/undo-normal.svg.js +25 -0
  355. package/esm/icons/undo.svg.js +21 -0
  356. package/esm/icons/unfullscreen.svg.js +21 -0
  357. package/esm/icons/upload.svg.js +21 -0
  358. package/esm/icons/user-remove.svg.js +33 -0
  359. package/esm/icons/view.svg.js +22 -0
  360. package/esm/icons/volume.svg.js +24 -0
  361. package/esm/icons/warning-mark.svg.js +22 -0
  362. package/esm/icons/warning.svg.js +21 -0
  363. package/esm/icons/window-restore.svg.js +21 -0
  364. package/esm/icons/zoom-in.svg.js +21 -0
  365. package/esm/icons/zoom-out.svg.js +21 -0
  366. package/esm/index.d.ts +16 -0
  367. package/esm/index.js +157 -0
  368. package/esm/locale/de-DE.d.ts +1 -0
  369. package/esm/locale/de-DE.js +423 -0
  370. package/esm/locale/en-US.d.ts +1 -0
  371. package/esm/locale/en-US.js +429 -0
  372. package/esm/locale/zh-CN.d.ts +1 -0
  373. package/esm/locale/zh-CN.js +438 -0
  374. package/esm/themes/ang.d.ts +3 -0
  375. package/esm/themes/ang.js +15 -0
  376. package/esm/themes/antd.d.ts +1 -0
  377. package/esm/themes/antd.js +42 -0
  378. package/esm/themes/cxd.d.ts +3 -0
  379. package/esm/themes/cxd.js +455 -0
  380. package/esm/themes/dark.d.ts +3 -0
  381. package/esm/themes/dark.js +23 -0
  382. package/esm/themes/default.d.ts +4 -0
  383. package/esm/utils/index.d.ts +2 -0
  384. package/esm/utils/smoothSignature.d.ts +86 -0
  385. package/esm/utils/vectorComputed.d.ts +20 -0
  386. package/esm/utils/vectorComputed.js +75 -0
  387. package/esm/withRemoteConfig.d.ts +2 -0
  388. package/esm/withRemoteConfig.js +7 -0
  389. package/esm/withStore.d.ts +2 -0
  390. package/esm/withStore.js +7 -0
  391. package/lib/HTMLFilterContext.d.ts +3 -0
  392. package/lib/components/AlphabetIndexer.d.ts +11 -0
  393. package/lib/components/AnchorNavSection.d.ts +2 -0
  394. package/lib/components/AutoSizer.d.ts +2 -0
  395. package/lib/components/Badge.d.ts +20 -0
  396. package/lib/components/BarCode.js +44 -0
  397. package/lib/components/CityDB.d.ts +13 -0
  398. package/lib/components/CityDB.js +3945 -0
  399. package/lib/components/CodeMirror.d.ts +29 -0
  400. package/lib/components/ColorPicker.js +267 -0
  401. package/lib/components/ConditionBuilder.d.ts +2 -0
  402. package/lib/components/DiffEditor.d.ts +21 -0
  403. package/lib/components/Form.d.ts +31 -0
  404. package/lib/components/FormulaPicker.d.ts +2 -0
  405. package/lib/components/GridNav.d.ts +53 -0
  406. package/lib/components/GridNavItem.d.ts +2 -0
  407. package/lib/components/HeadCellDropDown.d.ts +2 -0
  408. package/lib/components/HorizontalScroll.d.ts +74 -0
  409. package/lib/components/Icon.d.ts +2 -0
  410. package/lib/components/Input.d.ts +18 -0
  411. package/lib/components/InputJSONSchema.d.ts +2 -0
  412. package/lib/components/JSONSchemaEditor.d.ts +2 -0
  413. package/lib/components/Markdown.d.ts +25 -0
  414. package/lib/components/Markdown.js +76 -0
  415. package/lib/components/Menu.d.ts +2 -0
  416. package/lib/components/MobileDevTool.d.ts +12 -0
  417. package/lib/components/ModalManager.d.ts +16 -0
  418. package/lib/components/PdfViewer.js +83 -0
  419. package/lib/components/PopOverContainer.d.ts +59 -0
  420. package/lib/components/RichText.d.ts +48 -0
  421. package/lib/components/RichText.js +275 -0
  422. package/lib/components/SelectMobile.d.ts +38 -0
  423. package/lib/components/Tab.d.ts +2 -0
  424. package/lib/components/Table.d.ts +2 -0
  425. package/lib/components/Tinymce.d.ts +66 -0
  426. package/lib/components/Tinymce.js +641 -0
  427. package/lib/components/VirtualList.d.ts +2 -0
  428. package/lib/components/WithRemoteConfig.d.ts +70 -0
  429. package/lib/components/WithStore.d.ts +13 -0
  430. package/lib/components/calendar/Calendar.d.ts +83 -0
  431. package/lib/components/calendar/CalendarContainer.d.ts +10 -0
  432. package/lib/components/condition-builder/config.d.ts +36 -0
  433. package/lib/components/condition-builder/types.d.ts +116 -0
  434. package/lib/components/formula/plugin.d.ts +51 -0
  435. package/lib/components/icons.d.ts +61 -0
  436. package/lib/components/index.d.ts +138 -0
  437. package/lib/components/json-schema/Array.d.ts +3 -0
  438. package/lib/components/json-schema/Item.d.ts +5 -0
  439. package/lib/components/json-schema/Object.d.ts +5 -0
  440. package/lib/components/menu/MenuContext.d.ts +82 -0
  441. package/lib/components/schema-editor/Array.d.ts +11 -0
  442. package/lib/components/schema-editor/Common.d.ts +61 -0
  443. package/lib/components/schema-editor/Item.d.ts +8 -0
  444. package/lib/components/schema-editor/Object.d.ts +51 -0
  445. package/lib/components/table/Cell.d.ts +36 -0
  446. package/lib/components/table/ColGroup.d.ts +24 -0
  447. package/lib/components/table/Head.d.ts +45 -0
  448. package/lib/components/table/ItemActionsWrapper.d.ts +10 -0
  449. package/lib/components/table/Row.d.ts +56 -0
  450. package/lib/components/table/SummaryRow.d.ts +28 -0
  451. package/lib/components/table/util.d.ts +25 -0
  452. package/lib/components/virtual-list/AutoSizer.d.ts +19 -0
  453. package/lib/components/virtual-list/SizeAndPositionManager.d.ts +70 -0
  454. package/lib/components/virtual-list/constants.d.ts +34 -0
  455. package/lib/components/virtual-list/index.d.ts +98 -0
  456. package/lib/components/withBadge.d.ts +2 -0
  457. package/lib/helper.css +47762 -0
  458. package/lib/hooks/index.d.ts +8 -0
  459. package/lib/hooks/use-click-away.d.ts +12 -0
  460. package/lib/hooks/use-on-screen.d.ts +2 -0
  461. package/lib/hooks/use-set-state.d.ts +2 -0
  462. package/lib/hooks/use-sub-form.d.ts +4 -0
  463. package/lib/hooks/use-touch.d.ts +16 -0
  464. package/lib/hooks/use-update-effect.d.ts +3 -0
  465. package/lib/hooks/use-validation-resolver.d.ts +7 -0
  466. package/lib/index.d.ts +16 -0
  467. package/lib/index.js +28 -0
  468. package/lib/locale/de-DE.d.ts +1 -0
  469. package/lib/locale/en-US.d.ts +1 -0
  470. package/lib/locale/zh-CN.d.ts +1 -0
  471. package/lib/scss/helper.scss.js +12 -0
  472. package/lib/scss/themes/ang.scss.js +12 -0
  473. package/lib/scss/themes/antd.scss.js +12 -0
  474. package/lib/scss/themes/cxd.scss.js +12 -0
  475. package/lib/scss/themes/dark.scss.js +12 -0
  476. package/lib/scss/themes/default.scss.js +12 -0
  477. package/lib/themes/ang.css +45895 -0
  478. package/lib/themes/ang.d.ts +3 -0
  479. package/lib/themes/antd.css +45882 -0
  480. package/lib/themes/antd.d.ts +1 -0
  481. package/lib/themes/cxd.css +45871 -0
  482. package/lib/themes/cxd.d.ts +3 -0
  483. package/lib/themes/dark.css +45902 -0
  484. package/lib/themes/dark.d.ts +3 -0
  485. package/lib/themes/default.css +45871 -0
  486. package/lib/themes/default.d.ts +4 -0
  487. package/lib/utils/index.d.ts +2 -0
  488. package/lib/utils/smoothSignature.d.ts +86 -0
  489. package/lib/utils/vectorComputed.d.ts +20 -0
  490. package/lib/withRemoteConfig.d.ts +2 -0
  491. package/lib/withStore.d.ts +2 -0
  492. package/package.json +158 -0
  493. package/scss/README.md +9 -0
  494. package/scss/_components.scss +4346 -0
  495. package/scss/_functions.scss +137 -0
  496. package/scss/_mixins.scss +805 -0
  497. package/scss/_properties.scss +898 -0
  498. package/scss/_thirds.scss +12 -0
  499. package/scss/_utilities.scss +1757 -0
  500. package/scss/_variables.scss +439 -0
  501. package/scss/base/_animate.scss +84 -0
  502. package/scss/base/_common.scss +19 -0
  503. package/scss/base/_normalize.scss +376 -0
  504. package/scss/base/_reset.scss +18 -0
  505. package/scss/base/_typography.scss +79 -0
  506. package/scss/components/_alert.scss +123 -0
  507. package/scss/components/_anchor-nav.scss +158 -0
  508. package/scss/components/_app.scss +46 -0
  509. package/scss/components/_array-input.scss +107 -0
  510. package/scss/components/_audio.scss +146 -0
  511. package/scss/components/_auto-folder.scss +40 -0
  512. package/scss/components/_avatar.scss +55 -0
  513. package/scss/components/_badge.scss +145 -0
  514. package/scss/components/_barcode.scss +6 -0
  515. package/scss/components/_breadcrumb.scss +110 -0
  516. package/scss/components/_button-group.scss +165 -0
  517. package/scss/components/_button.scss +871 -0
  518. package/scss/components/_calendar.scss +442 -0
  519. package/scss/components/_card.scss +389 -0
  520. package/scss/components/_card2.scss +28 -0
  521. package/scss/components/_cards.scss +221 -0
  522. package/scss/components/_carousel.scss +292 -0
  523. package/scss/components/_cascader.scss +157 -0
  524. package/scss/components/_chart.scss +22 -0
  525. package/scss/components/_city-area.scss +37 -0
  526. package/scss/components/_code.scss +10 -0
  527. package/scss/components/_collapse-group.scss +83 -0
  528. package/scss/components/_collapse.scss +245 -0
  529. package/scss/components/_color.scss +17 -0
  530. package/scss/components/_column-toggler.scss +261 -0
  531. package/scss/components/_condition-builder.scss +521 -0
  532. package/scss/components/_context-menu.scss +204 -0
  533. package/scss/components/_copyable.scss +10 -0
  534. package/scss/components/_crud.scss +195 -0
  535. package/scss/components/_crud2.scss +345 -0
  536. package/scss/components/_debug.scss +259 -0
  537. package/scss/components/_divider.scss +81 -0
  538. package/scss/components/_drawer.scss +393 -0
  539. package/scss/components/_dropdown-context-menus.scss +27 -0
  540. package/scss/components/_dropdown.scss +159 -0
  541. package/scss/components/_each.scss +7 -0
  542. package/scss/components/_formula.scss +723 -0
  543. package/scss/components/_grid-nav.scss +128 -0
  544. package/scss/components/_horizontal-scroll.scss +51 -0
  545. package/scss/components/_icon.scss +4 -0
  546. package/scss/components/_image-gallery.scss +331 -0
  547. package/scss/components/_images.scss +650 -0
  548. package/scss/components/_input-box.scss +111 -0
  549. package/scss/components/_json-schema-editor.scss +149 -0
  550. package/scss/components/_json-schema.scss +166 -0
  551. package/scss/components/_json.scss +7 -0
  552. package/scss/components/_link.scss +22 -0
  553. package/scss/components/_list-menu.scss +114 -0
  554. package/scss/components/_list.scss +313 -0
  555. package/scss/components/_log.scss +169 -0
  556. package/scss/components/_mapping.scss +6 -0
  557. package/scss/components/_markdown.scss +266 -0
  558. package/scss/components/_menu.scss +795 -0
  559. package/scss/components/_mobile-dev-tool.scss +175 -0
  560. package/scss/components/_modal.scss +282 -0
  561. package/scss/components/_multiline-text.scss +20 -0
  562. package/scss/components/_nav.scss +45 -0
  563. package/scss/components/_overflow-tpl.scss +5 -0
  564. package/scss/components/_page.scss +198 -0
  565. package/scss/components/_pagination.scss +403 -0
  566. package/scss/components/_panel.scss +263 -0
  567. package/scss/components/_pdf_viewer.scss +47 -0
  568. package/scss/components/_picker-columns.scss +140 -0
  569. package/scss/components/_popover.scss +54 -0
  570. package/scss/components/_popoverable.scss +100 -0
  571. package/scss/components/_popup.scss +171 -0
  572. package/scss/components/_portlet.scss +51 -0
  573. package/scss/components/_print.scss +13 -0
  574. package/scss/components/_progress.scss +165 -0
  575. package/scss/components/_property.scss +47 -0
  576. package/scss/components/_pull-refresh.scss +30 -0
  577. package/scss/components/_quick-edit.scss +53 -0
  578. package/scss/components/_remark.scss +58 -0
  579. package/scss/components/_result-box.scss +380 -0
  580. package/scss/components/_search-box.scss +267 -0
  581. package/scss/components/_service.scss +3 -0
  582. package/scss/components/_shape.scss +19 -0
  583. package/scss/components/_signature.scss +98 -0
  584. package/scss/components/_slider.scss +27 -0
  585. package/scss/components/_sparkline.scss +18 -0
  586. package/scss/components/_spinner.scss +214 -0
  587. package/scss/components/_status.scss +118 -0
  588. package/scss/components/_steps.scss +481 -0
  589. package/scss/components/_table.scss +1234 -0
  590. package/scss/components/_table2.scss +1066 -0
  591. package/scss/components/_tabs.scss +1410 -0
  592. package/scss/components/_tag.scss +191 -0
  593. package/scss/components/_timeline.scss +572 -0
  594. package/scss/components/_toast.scss +342 -0
  595. package/scss/components/_tooltip.scss +340 -0
  596. package/scss/components/_tpl.scss +51 -0
  597. package/scss/components/_verificationCode.scss +33 -0
  598. package/scss/components/_video.scss +38 -0
  599. package/scss/components/_wizard.scss +287 -0
  600. package/scss/components/_wrapper.scss +26 -0
  601. package/scss/components/form/_chained-select.scss +10 -0
  602. package/scss/components/form/_checks.scss +433 -0
  603. package/scss/components/form/_city.scss +33 -0
  604. package/scss/components/form/_color.scss +148 -0
  605. package/scss/components/form/_combo.scss +360 -0
  606. package/scss/components/form/_date-range.scss +332 -0
  607. package/scss/components/form/_date.scss +807 -0
  608. package/scss/components/form/_editor.scss +139 -0
  609. package/scss/components/form/_excel.scss +150 -0
  610. package/scss/components/form/_fieldset.scss +202 -0
  611. package/scss/components/form/_file.scss +308 -0
  612. package/scss/components/form/_form.scss +936 -0
  613. package/scss/components/form/_group.scss +116 -0
  614. package/scss/components/form/_icon-picker.scss +113 -0
  615. package/scss/components/form/_icon-select.scss +245 -0
  616. package/scss/components/form/_image.scss +359 -0
  617. package/scss/components/form/_input-group.scss +213 -0
  618. package/scss/components/form/_input-table.scss +17 -0
  619. package/scss/components/form/_list.scss +225 -0
  620. package/scss/components/form/_location.scss +210 -0
  621. package/scss/components/form/_matrix.scss +7 -0
  622. package/scss/components/form/_nested-select.scss +149 -0
  623. package/scss/components/form/_number.scss +633 -0
  624. package/scss/components/form/_picker.scss +237 -0
  625. package/scss/components/form/_qr-code.scss +4 -0
  626. package/scss/components/form/_range.scss +438 -0
  627. package/scss/components/form/_rating.scss +94 -0
  628. package/scss/components/form/_repeat.scss +40 -0
  629. package/scss/components/form/_result-list.scss +98 -0
  630. package/scss/components/form/_rich-text.scss +163 -0
  631. package/scss/components/form/_select.scss +712 -0
  632. package/scss/components/form/_selection.scss +485 -0
  633. package/scss/components/form/_sub-form.scss +118 -0
  634. package/scss/components/form/_switch.scss +228 -0
  635. package/scss/components/form/_tag.scss +146 -0
  636. package/scss/components/form/_text.scss +508 -0
  637. package/scss/components/form/_textarea.scss +78 -0
  638. package/scss/components/form/_tinymce.scss +6 -0
  639. package/scss/components/form/_transfer.scss +624 -0
  640. package/scss/components/form/_tree-select.scss +47 -0
  641. package/scss/components/form/_tree.scss +458 -0
  642. package/scss/components/form/_user-select.scss +643 -0
  643. package/scss/components/react-datetime.scss +267 -0
  644. package/scss/helper/background/_background-color.md +131 -0
  645. package/scss/helper/background/_background-color.scss +214 -0
  646. package/scss/helper/border/_border-color.md +109 -0
  647. package/scss/helper/border/_border-color.scss +178 -0
  648. package/scss/helper/border/_border-radius.md +86 -0
  649. package/scss/helper/border/_border-radius.scss +152 -0
  650. package/scss/helper/border/_border-style.md +11 -0
  651. package/scss/helper/border/_border-style.scss +40 -0
  652. package/scss/helper/border/_border-width.md +31 -0
  653. package/scss/helper/border/_border-width.scss +72 -0
  654. package/scss/helper/box-alignment/_align-content.md +12 -0
  655. package/scss/helper/box-alignment/_align-content.scss +44 -0
  656. package/scss/helper/box-alignment/_align-items.md +11 -0
  657. package/scss/helper/box-alignment/_align-items.scss +41 -0
  658. package/scss/helper/box-alignment/_align-self.md +11 -0
  659. package/scss/helper/box-alignment/_align-self.scss +40 -0
  660. package/scss/helper/box-alignment/_justify-content.md +12 -0
  661. package/scss/helper/box-alignment/_justify-content.scss +44 -0
  662. package/scss/helper/box-alignment/_justify-items.md +11 -0
  663. package/scss/helper/box-alignment/_justify-items.scss +40 -0
  664. package/scss/helper/box-alignment/_justify-self.md +11 -0
  665. package/scss/helper/box-alignment/_justify-self.scss +40 -0
  666. package/scss/helper/box-alignment/_place-content.md +13 -0
  667. package/scss/helper/box-alignment/_place-content.scss +48 -0
  668. package/scss/helper/box-alignment/_place-items.md +11 -0
  669. package/scss/helper/box-alignment/_place-items.scss +40 -0
  670. package/scss/helper/box-alignment/_place-self.md +11 -0
  671. package/scss/helper/box-alignment/_place-self.scss +40 -0
  672. package/scss/helper/effect/_box-shadow.md +16 -0
  673. package/scss/helper/effect/_box-shadow.scss +74 -0
  674. package/scss/helper/effect/_opacity.md +21 -0
  675. package/scss/helper/effect/_opacity.scss +66 -0
  676. package/scss/helper/flex/_direction.md +10 -0
  677. package/scss/helper/flex/_direction.scss +41 -0
  678. package/scss/helper/flex/_flex.md +10 -0
  679. package/scss/helper/flex/_flex.scss +38 -0
  680. package/scss/helper/flex/_grow.md +8 -0
  681. package/scss/helper/flex/_grow.scss +28 -0
  682. package/scss/helper/flex/_order.md +20 -0
  683. package/scss/helper/flex/_order.scss +56 -0
  684. package/scss/helper/flex/_shrink.md +8 -0
  685. package/scss/helper/flex/_shrink.scss +27 -0
  686. package/scss/helper/flex/_wrap.md +9 -0
  687. package/scss/helper/flex/_wrap.scss +36 -0
  688. package/scss/helper/grid/_auto-columns.md +10 -0
  689. package/scss/helper/grid/_auto-columns.scss +38 -0
  690. package/scss/helper/grid/_auto-flow.md +10 -0
  691. package/scss/helper/grid/_auto-flow.scss +38 -0
  692. package/scss/helper/grid/_auto-rows.md +10 -0
  693. package/scss/helper/grid/_auto-rows.scss +38 -0
  694. package/scss/helper/grid/_column-start-end.md +48 -0
  695. package/scss/helper/grid/_column-start-end.scss +201 -0
  696. package/scss/helper/grid/_columns.md +19 -0
  697. package/scss/helper/grid/_columns.scss +74 -0
  698. package/scss/helper/grid/_gap.md +117 -0
  699. package/scss/helper/grid/_gap.scss +154 -0
  700. package/scss/helper/grid/_row-start-end.md +48 -0
  701. package/scss/helper/grid/_row-start-end.scss +201 -0
  702. package/scss/helper/grid/_rows.md +13 -0
  703. package/scss/helper/grid/_rows.scss +50 -0
  704. package/scss/helper/layout/_box-sizing.md +35 -0
  705. package/scss/helper/layout/_box-sizing.scss +51 -0
  706. package/scss/helper/layout/_clear.md +27 -0
  707. package/scss/helper/layout/_clear.scss +56 -0
  708. package/scss/helper/layout/_display.md +41 -0
  709. package/scss/helper/layout/_display.scss +82 -0
  710. package/scss/helper/layout/_float.md +47 -0
  711. package/scss/helper/layout/_float.scss +71 -0
  712. package/scss/helper/layout/_overflow.md +34 -0
  713. package/scss/helper/layout/_overflow.scss +85 -0
  714. package/scss/helper/layout/_position.md +27 -0
  715. package/scss/helper/layout/_position.scss +55 -0
  716. package/scss/helper/layout/_top-right-bottom-left.md +150 -0
  717. package/scss/helper/layout/_top-right-bottom-left.scss +292 -0
  718. package/scss/helper/layout/_visibility.md +21 -0
  719. package/scss/helper/layout/_visibility.scss +42 -0
  720. package/scss/helper/layout/_z-index.md +37 -0
  721. package/scss/helper/layout/_z-index.scss +67 -0
  722. package/scss/helper/sizing/_height.md +103 -0
  723. package/scss/helper/sizing/_height.scss +161 -0
  724. package/scss/helper/sizing/_width.md +109 -0
  725. package/scss/helper/sizing/_width.scss +174 -0
  726. package/scss/helper/spacing/_margin.md +527 -0
  727. package/scss/helper/spacing/_margin.scss +821 -0
  728. package/scss/helper/spacing/_padding.md +265 -0
  729. package/scss/helper/spacing/_padding.scss +394 -0
  730. package/scss/helper/spacing/_space-between.md +155 -0
  731. package/scss/helper/spacing/_space-between.scss +224 -0
  732. package/scss/helper/typography/_font-family.md +9 -0
  733. package/scss/helper/typography/_font-family.scss +28 -0
  734. package/scss/helper/typography/_font-size.md +19 -0
  735. package/scss/helper/typography/_font-size.scss +40 -0
  736. package/scss/helper/typography/_font-style.md +8 -0
  737. package/scss/helper/typography/_font-style.scss +31 -0
  738. package/scss/helper/typography/_font-weight.md +15 -0
  739. package/scss/helper/typography/_font-weight.scss +49 -0
  740. package/scss/helper/typography/_letter-spacing.md +12 -0
  741. package/scss/helper/typography/_letter-spacing.scss +43 -0
  742. package/scss/helper/typography/_line-height.md +20 -0
  743. package/scss/helper/typography/_line-height.scss +59 -0
  744. package/scss/helper/typography/_list-style-type.md +11 -0
  745. package/scss/helper/typography/_list-style-type.scss +43 -0
  746. package/scss/helper/typography/_text-align.md +10 -0
  747. package/scss/helper/typography/_text-align.scss +34 -0
  748. package/scss/helper/typography/_text-color.md +110 -0
  749. package/scss/helper/typography/_text-color.scss +184 -0
  750. package/scss/helper/typography/_text-decoration.md +9 -0
  751. package/scss/helper/typography/_text-decoration.scss +34 -0
  752. package/scss/helper/typography/_text-overflow.md +9 -0
  753. package/scss/helper/typography/_text-overflow.scss +40 -0
  754. package/scss/helper/typography/_text-transform.md +10 -0
  755. package/scss/helper/typography/_text-transform.scss +40 -0
  756. package/scss/helper/typography/_vertical-align.md +12 -0
  757. package/scss/helper/typography/_vertical-align.scss +44 -0
  758. package/scss/helper/typography/_whitespace.md +11 -0
  759. package/scss/helper/typography/_whitespace.scss +42 -0
  760. package/scss/helper/typography/_word-break.md +9 -0
  761. package/scss/helper/typography/_word-break.scss +36 -0
  762. package/scss/helper.scss +72 -0
  763. package/scss/layout/_aside.scss +361 -0
  764. package/scss/layout/_grid.scss +173 -0
  765. package/scss/layout/_hbox.scss +127 -0
  766. package/scss/layout/_header.scss +0 -0
  767. package/scss/layout/_layout.scss +492 -0
  768. package/scss/layout/_vbox.scss +38 -0
  769. package/scss/themes/_ang-variables.scss +224 -0
  770. package/scss/themes/_antd-variables.scss +238 -0
  771. package/scss/themes/_common.scss +157 -0
  772. package/scss/themes/_cxd-variables.scss +222 -0
  773. package/scss/themes/_dark-variables.scss +229 -0
  774. package/scss/themes/ang-ie11.scss +1 -0
  775. package/scss/themes/ang.scss +27 -0
  776. package/scss/themes/antd-ie11.scss +1 -0
  777. package/scss/themes/antd.scss +5 -0
  778. package/scss/themes/cxd-ie11.scss +1 -0
  779. package/scss/themes/cxd.scss +5 -0
  780. package/scss/themes/dark-ie11.scss +1 -0
  781. package/scss/themes/dark.scss +34 -0
  782. package/scss/themes/default.scss +2 -0
  783. package/scss/themes/extract-antd-color.py +27 -0
@@ -0,0 +1,1066 @@
1
+ .#{$ns}Table2 {
2
+ position: relative;
3
+ border-radius: var(--Table-borderRadius);
4
+
5
+ .#{$ns}Table-cell-wrapper .#{$ns}Table-badge {
6
+ width: 100%;
7
+ height: 100%;
8
+ }
9
+
10
+ &.#{$ns}Table-bordered {
11
+ border-width: var(--Table-borderWidth) var(--Table-borderWidth) 0
12
+ var(--Table-borderWidth);
13
+ border-style: solid;
14
+ border-color: var(--Table-borderColor);
15
+ border-collapse: inherit;
16
+
17
+ .#{$ns}Table-table {
18
+ > thead > tr > th,
19
+ > tbody > tr > td,
20
+ > tfoot > tr > td {
21
+ border-right: var(--Table-borderWidth) solid var(--Table-borderColor);
22
+
23
+ &:last-child {
24
+ border-right: none;
25
+ }
26
+ }
27
+ }
28
+
29
+ .#{$ns}Table-footer {
30
+ border-bottom: var(--Table-borderWidth) solid var(--Table-borderColor);
31
+ }
32
+
33
+ .#{$ns}Table-title {
34
+ border-bottom: var(--Table-borderWidth) solid var(--Table-borderColor);
35
+ }
36
+ }
37
+
38
+ &.#{$ns}Table-large {
39
+ .#{$ns}Table-table {
40
+ > thead > tr {
41
+ > th {
42
+ padding: var(--table-size-large-paddingTop)
43
+ var(--table-size-large-paddingRight)
44
+ var(--table-size-large-paddingBottom)
45
+ var(--table-size-large-paddingLeft);
46
+ }
47
+ }
48
+
49
+ > tbody > tr {
50
+ > td,
51
+ > th {
52
+ padding: var(--table-size-large-paddingTop)
53
+ var(--table-size-large-paddingRight)
54
+ var(--table-size-large-paddingBottom)
55
+ var(--table-size-large-paddingLeft);
56
+ }
57
+ }
58
+
59
+ > tfoot > tr {
60
+ > td {
61
+ padding: var(--table-size-large-paddingTop)
62
+ var(--table-size-large-paddingRight)
63
+ var(--table-size-large-paddingBottom)
64
+ var(--table-size-large-paddingLeft);
65
+ }
66
+ }
67
+ }
68
+
69
+ .#{$ns}TableCell-filterBtn {
70
+ right: calc(
71
+ var(--table-size-large-paddingRight) - var(--TableCell-filterBtn-width) /
72
+ 2
73
+ );
74
+ }
75
+ }
76
+
77
+ &.#{$ns}Table-small {
78
+ .#{$ns}Table-table {
79
+ > thead > tr {
80
+ > th {
81
+ padding: var(--table-size-small-paddingTop)
82
+ var(--table-size-small-paddingRight)
83
+ var(--table-size-small-paddingBottom)
84
+ var(--table-size-small-paddingLeft);
85
+ }
86
+ }
87
+
88
+ > tbody > tr {
89
+ > td,
90
+ > th {
91
+ padding: var(--table-size-small-paddingTop)
92
+ var(--table-size-small-paddingRight)
93
+ var(--table-size-small-paddingBottom)
94
+ var(--table-size-small-paddingLeft);
95
+ }
96
+ }
97
+
98
+ > tfoot > tr {
99
+ > td {
100
+ padding: var(--table-size-small-paddingTop)
101
+ var(--table-size-small-paddingRight)
102
+ var(--table-size-small-paddingBottom)
103
+ var(--table-size-small-paddingLeft);
104
+ }
105
+ }
106
+ }
107
+
108
+ .#{$ns}TableCell-filterBtn {
109
+ right: calc(
110
+ var(--table-size-small-paddingRight) - var(--TableCell-filterBtn-width) /
111
+ 2
112
+ );
113
+ }
114
+ }
115
+
116
+ .#{$ns}Table-title,
117
+ .#{$ns}Table-footer {
118
+ color: var(--table-title-color);
119
+ font-size: var(--table-title-fontSize);
120
+ font-weight: var(--table-title-fontWeight);
121
+ line-height: var(--table-title-lineHeight);
122
+ background: var(--Table-heading-bg);
123
+ padding: var(--table-title-paddingTop) var(--table-title-paddingRight)
124
+ var(--table-title-paddingBottom) var(--table-title-paddingLeft);
125
+ }
126
+
127
+ .#{$ns}Table-header {
128
+ padding: var(--Table-toolbar-marginY) var(--Table-toolbar-marginX);
129
+
130
+ &--affixed {
131
+ overflow: hidden;
132
+ background-color: var(--Table-thead-bg);
133
+ padding-right: var(--Table-scrollbar-width) !important;
134
+ }
135
+
136
+ &.#{$ns}Table-sticky-holder {
137
+ position: sticky;
138
+ z-index: 3;
139
+ background: var(--Table-bg);
140
+ }
141
+ }
142
+
143
+ .#{$ns}Table-toolbar {
144
+ @include clearfix();
145
+ display: flex;
146
+ margin: 0 var(--Table-toolbar-marginX) var(--Table-toolbar-marginY);
147
+ flex-wrap: wrap;
148
+
149
+ .#{$ns}DropDown {
150
+ &-menuItem {
151
+ height: auto;
152
+
153
+ .#{$ns}Checkbox {
154
+ display: flex;
155
+ align-items: center;
156
+ }
157
+ }
158
+ }
159
+ }
160
+
161
+ .#{$ns}Table-header + .#{$ns}Table-toolbar {
162
+ padding-top: 0;
163
+ }
164
+
165
+ .#{$ns}Table-content {
166
+ min-height: 0.01%;
167
+ overflow-x: auto;
168
+ transform: translateZ(0);
169
+
170
+ th {
171
+ position: relative;
172
+ }
173
+ }
174
+
175
+ .#{$ns}Table-table {
176
+ width: 100%;
177
+ min-width: 100%;
178
+ margin-bottom: 0;
179
+ font-size: var(--Table-fontSize);
180
+ color: var(--Table-color);
181
+ font-weight: var(--table-body-fontWeight);
182
+ line-height: var(--table-body-lineHeight);
183
+ background: var(--Table-bg);
184
+ border-spacing: 0;
185
+ // border-collapse: collapse;
186
+ border: none;
187
+
188
+ &--fixed {
189
+ table-layout: fixed;
190
+
191
+ > thead > tr > th,
192
+ > thead > tr > td,
193
+ > tbody > tr > td,
194
+ > tfoot > tr > td {
195
+ white-space: normal !important;
196
+ }
197
+ }
198
+
199
+ & th,
200
+ & td {
201
+ text-align: left;
202
+ }
203
+
204
+ & th.text-center,
205
+ & td.text-center,
206
+ & th[colspan],
207
+ & td[colspan] {
208
+ text-align: center;
209
+ }
210
+
211
+ & th.text-right,
212
+ & td.text-right {
213
+ text-align: right;
214
+ }
215
+
216
+ > thead > tr {
217
+ > th {
218
+ height: var(--table-body-line-height);
219
+ vertical-align: middle;
220
+ background: var(--Table-thead-bg);
221
+ padding: var(--table-paddingTop) var(--table-paddingRight)
222
+ var(--table-paddingBottom) var(--table-paddingLeft);
223
+
224
+ &:first-child {
225
+ padding-left: var(--TableCell--edge-paddingX-default);
226
+ }
227
+
228
+ &.#{$ns}Table-cell-last {
229
+ padding-right: var(--TableCell--edge-paddingX-default);
230
+ }
231
+
232
+ &:not(.#{$ns}Table-cell-last) {
233
+ border-right: var(--Table-thead-borderWidth) solid
234
+ var(--Table-thead-borderColor);
235
+ }
236
+
237
+ &.#{$ns}Table-row-expand-icon-cell {
238
+ border-right: 0;
239
+ }
240
+
241
+ font-size: var(--Table-thead-fontSize);
242
+ color: var(--Table-thead-color);
243
+ font-weight: var(--table-header-fontWeight);
244
+ line-height: var(--table-header-lineHeight);
245
+ white-space: nowrap;
246
+
247
+ .#{$ns}Remark {
248
+ margin-left: var(--gap-xs);
249
+ position: relative;
250
+ top: 2px;
251
+ }
252
+
253
+ .#{$ns}Table-head-cell-wrapper {
254
+ display: flex;
255
+ align-items: center;
256
+ }
257
+ }
258
+ }
259
+
260
+ > thead > tr:not(:last-child) {
261
+ border-bottom: var(--Table-borderWidth) solid var(--Table-borderColor);
262
+ }
263
+
264
+ > tbody > tr {
265
+ position: relative;
266
+ border-top: unset !important;
267
+
268
+ &.#{$ns}Table-summary-row {
269
+ > td {
270
+ background: var(--Table-thead-bg);
271
+ }
272
+ }
273
+
274
+ > th {
275
+ background: var(--Table-thead-bg);
276
+ color: var(--Table-thead-color);
277
+ font-weight: var(--table-header-fontWeight);
278
+ line-height: var(--table-header-lineHeight);
279
+ white-space: nowrap;
280
+ border-right: var(--Table-thead-borderWidth) solid
281
+ var(--Table-thead-borderColor);
282
+ }
283
+
284
+ > td {
285
+ border-top: var(--Table-borderWidth) solid var(--Table-borderColor);
286
+ border-bottom: unset;
287
+ }
288
+ &:last-child {
289
+ > td {
290
+ border-bottom: var(--Table-borderWidth) solid var(--Table-borderColor);
291
+ }
292
+ }
293
+
294
+ > td,
295
+ > th {
296
+ height: px2rem(40px);
297
+ vertical-align: middle;
298
+ padding: var(--table-paddingTop) var(--table-paddingRight)
299
+ var(--table-paddingBottom) var(--table-paddingLeft);
300
+
301
+ &:first-child {
302
+ padding-left: var(--TableCell--edge-paddingX-default);
303
+ }
304
+
305
+ &:last-child {
306
+ padding-right: var(--TableCell--edge-paddingX-default);
307
+ }
308
+
309
+ .#{$ns}Form-static {
310
+ min-height: auto;
311
+ }
312
+ }
313
+
314
+ .#{$ns}Table-cell-wrapper-prefix {
315
+ display: flex;
316
+
317
+ .#{$ns}Table-expandBtn {
318
+ margin-right: 5px;
319
+ }
320
+ }
321
+
322
+ .#{$ns}Form-static {
323
+ padding: 0;
324
+ margin: 0;
325
+ min-height: inherit;
326
+ line-height: inherit;
327
+ font-size: inherit;
328
+ color: inherit;
329
+ font-weight: inherit;
330
+ }
331
+
332
+ .#{$ns}Table-cell-height-large {
333
+ height: var(--TableCell-line-height-large);
334
+ line-height: var(--TableCell-line-height-large);
335
+ overflow: hidden;
336
+ }
337
+
338
+ .#{$ns}Table-cell-height-middle {
339
+ height: var(--TableCell-line-height-middle);
340
+ line-height: var(--TableCell-line-height-middle);
341
+ overflow: hidden;
342
+ }
343
+
344
+ @if var(--Table-strip-bg) !=transparent {
345
+ background: var(--table-body-bg-color);
346
+
347
+ &.#{$ns}Table-tr--odd {
348
+ background: var(--Table-strip-bg);
349
+ }
350
+ }
351
+
352
+ &.#{$ns}Table-tr--hasItemAction:hover {
353
+ cursor: pointer;
354
+ }
355
+
356
+ &:hover,
357
+ &.is-hovered {
358
+ background: var(--Table-onHover-bg);
359
+ border-color: var(--Table-onHover-borderColor);
360
+ color: var(--Table-onHover-color);
361
+
362
+ & + tr {
363
+ border-color: var(--Table-onHover-borderColor);
364
+ }
365
+ }
366
+
367
+ &.is-checked {
368
+ background: var(--Table-onChecked-bg);
369
+ border-color: var(--Table-onChecked-borderColor);
370
+ color: var(--Table-onChecked-color);
371
+
372
+ & + tr {
373
+ border-color: var(--Table-onChecked-borderColor);
374
+ }
375
+ }
376
+
377
+ &.is-moved,
378
+ &.is-modified {
379
+ background: var(--Table-onModified-bg);
380
+ border-color: var(--Table-onModified-borderColor);
381
+ color: var(--Table-onModified-color);
382
+
383
+ & + tr {
384
+ border-color: var(--Table-onModified-borderColor);
385
+ }
386
+ }
387
+
388
+ &.is-summary {
389
+ background: var(--Table-thead-bg);
390
+ color: var(--Table-thead-color);
391
+ font-weight: var(--table-header-fontWeight);
392
+ line-height: var(--table-header-lineHeight);
393
+ }
394
+
395
+ &.bg-light {
396
+ @include color-variant($light, 2%, 3%, 3%, 5%);
397
+ color: $text-color;
398
+ }
399
+
400
+ &.bg-dark {
401
+ @include color-variant($dark, 5%, 10%, 5%, 10%);
402
+ @include font-variant($dark);
403
+ }
404
+
405
+ &.bg-black {
406
+ @include color-variant($black, 5%, 10%, 5%, 10%);
407
+ @include font-variant($black);
408
+ }
409
+
410
+ &.bg-primary {
411
+ @include color-variant($primary, 5%, 10%, 5%, 10%);
412
+ @include font-variant($primary);
413
+ }
414
+
415
+ &.bg-success {
416
+ @include color-variant($success, 5%, 10%, 5%, 10%);
417
+ @include font-variant($success);
418
+ }
419
+
420
+ &.bg-info {
421
+ @include color-variant($info, 5%, 10%, 5%, 10%);
422
+ @include font-variant($info);
423
+ }
424
+
425
+ &.bg-warning {
426
+ @include color-variant($warning, 5%, 10%, 5%, 10%);
427
+ @include font-variant($warning);
428
+ }
429
+
430
+ &.bg-danger {
431
+ @include color-variant($danger, 5%, 10%, 5%, 10%);
432
+ @include font-variant($danger);
433
+ }
434
+
435
+ &.is-dragging {
436
+ opacity: var(--Table-onDragging-opacity);
437
+ background-color: var(--Table-onDragging-bg);
438
+ }
439
+ }
440
+
441
+ @for $i from 2 through 10 {
442
+ tr.#{$ns}Table-tr--#{$i}th.is-expanded {
443
+ .#{$ns}Table-expandCell:before {
444
+ right: px2rem(7px) + px2rem(-18px) * ($i - 1);
445
+ }
446
+ }
447
+
448
+ tr.#{$ns}Table-tr--#{$i}th {
449
+ .#{$ns}Table-expandBtn {
450
+ position: relative;
451
+ right: -(px2rem(18px)) * ($i - 1);
452
+ }
453
+
454
+ .#{$ns}Table-expandCell + td {
455
+ position: relative;
456
+
457
+ &::before {
458
+ content: '';
459
+ position: absolute;
460
+ width: px2rem(1px);
461
+ top: 0;
462
+ bottom: 0;
463
+ left: px2rem(-8px) + px2rem(18px) * ($i - 2);
464
+ height: auto;
465
+ background: var(--Table-tree-borderColor);
466
+ }
467
+
468
+ &::after {
469
+ content: '';
470
+ position: absolute;
471
+ height: px2rem(1px);
472
+ top: 50%;
473
+ left: px2rem(-8px) + px2rem(18px) * ($i - 2);
474
+ width: px2rem(10px);
475
+ background: var(--Table-tree-borderColor);
476
+ }
477
+
478
+ padding-left: px2rem(18px) * $i - px2rem(18px);
479
+ }
480
+ }
481
+
482
+ tr.#{$ns}Table-tr--#{$i}th.is-expandable {
483
+ .#{$ns}Table-expandCell + td {
484
+ padding-left: px2rem(18px) * ($i - 1);
485
+ }
486
+ }
487
+
488
+ tr.#{$ns}Table-tr--#{$i}th.is-last:not(.is-expanded) {
489
+ .#{$ns}Table-expandCell + td {
490
+ &::before {
491
+ height: 50%;
492
+ bottom: auto;
493
+ }
494
+ }
495
+ }
496
+ }
497
+
498
+ > thead > tr > th.#{$ns}Table-checkCell,
499
+ > tbody > tr > td.#{$ns}Table-checkCell {
500
+ border-right: 0;
501
+ white-space: nowrap;
502
+
503
+ .#{$ns}Checkbox {
504
+ margin: 0;
505
+ }
506
+ }
507
+
508
+ > thead > tr > th.#{$ns}Table-expandCell,
509
+ > tbody > tr > td.#{$ns}Table-expandCell {
510
+ border-right: 0;
511
+ width: px2rem(1px);
512
+ padding-right: 0;
513
+ }
514
+
515
+ > thead > tr > th.#{$ns}Table-dragCell,
516
+ > tbody > tr > td.#{$ns}Table-dragCell {
517
+ border-right: 0;
518
+ width: px2rem(1px);
519
+ padding-right: 0;
520
+ cursor: move;
521
+ > svg {
522
+ vertical-align: middle;
523
+ }
524
+ }
525
+
526
+ > tbody > tr > td.#{$ns}Table-expandCell {
527
+ position: relative;
528
+
529
+ @for $i from 1 through 7 {
530
+ .#{$ns}Table-divider-#{$i} {
531
+ position: absolute;
532
+ width: px2rem(1px);
533
+ top: 0;
534
+ bottom: 0;
535
+ height: 100%;
536
+ background: var(--Table-tree-borderColor);
537
+ right: px2rem(7px) + px2rem(-18px) * ($i - 1);
538
+ }
539
+ }
540
+ }
541
+
542
+ > tbody > tr.is-expanded > td.#{$ns}Table-expandCell {
543
+ &::before {
544
+ content: '';
545
+ position: absolute;
546
+ width: px2rem(1px);
547
+ top: 50%;
548
+ bottom: 0;
549
+ right: px2rem(7px);
550
+ height: auto;
551
+ background: var(--Table-tree-borderColor);
552
+ }
553
+ }
554
+
555
+ > thead > tr > th.#{$ns}TableCell--sortable {
556
+ padding-right: calc(
557
+ var(--TableCell-paddingX) + var(--TableCell-sortBtn-width)
558
+ );
559
+ position: relative;
560
+ }
561
+
562
+ > thead > tr > th.#{$ns}TableCell--searchable {
563
+ padding-right: calc(
564
+ var(--TableCell-paddingX) + var(--TableCell-searchBtn-width)
565
+ );
566
+ position: relative;
567
+ }
568
+
569
+ > thead > tr > th.#{$ns}TableCell--filterable {
570
+ padding-right: calc(
571
+ var(--TableCell-paddingX) + var(--TableCell-filterBtn-width)
572
+ );
573
+ position: relative;
574
+ }
575
+
576
+ > tbody > tr.#{$ns}Table-row-disabled {
577
+ background: var(--TableRow-onDisabled-bg);
578
+ color: var(--TableRow-onDisabled-color);
579
+ }
580
+
581
+ > tbody > tr > td.#{$ns}Table-cell-fix-left,
582
+ > tbody > tr > td.#{$ns}Table-cell-fix-right {
583
+ background: inherit;
584
+ }
585
+
586
+ > thead > tr > th.#{$ns}Table-cell-fix-left-last,
587
+ > tbody > tr > td.#{$ns}Table-cell-fix-left-last,
588
+ > tfoot > tr > td.#{$ns}Table-cell-fix-left-last {
589
+ &:after {
590
+ position: absolute;
591
+ top: 0;
592
+ right: 0;
593
+ bottom: -1px;
594
+ width: 30px;
595
+ transform: translate(100%);
596
+ transition: box-shadow 0.3s;
597
+ content: '';
598
+ pointer-events: none;
599
+ }
600
+ }
601
+
602
+ > thead > tr > th.#{$ns}Table-cell-fix-right-first,
603
+ > tbody > tr > td.#{$ns}Table-cell-fix-right-first,
604
+ > tfoot > tr > td.#{$ns}Table-cell-fix-right-first {
605
+ &:after {
606
+ position: absolute;
607
+ top: 0;
608
+ bottom: -1px;
609
+ left: 0;
610
+ width: 30px;
611
+ transform: translate(-100%);
612
+ transition: box-shadow 0.3s;
613
+ content: '';
614
+ pointer-events: none;
615
+ }
616
+ }
617
+
618
+ > tbody > tr > td.#{$ns}Table-cell-expand-icon-cell {
619
+ text-align: center;
620
+
621
+ .#{$ns}Table-row-indent {
622
+ height: 1px;
623
+ }
624
+ }
625
+
626
+ > tbody > tr.#{$ns}Table-expanded-row > td {
627
+ background: var(--Table-onHover-bg);
628
+ }
629
+
630
+ > tfoot > tr {
631
+ border-bottom: var(--Table-borderWidth) solid var(--Table-borderColor);
632
+
633
+ > td {
634
+ padding: var(--table-paddingTop) var(--table-paddingRight)
635
+ var(--table-paddingBottom) var(--table-paddingLeft);
636
+ background: var(--Table-thead-bg);
637
+ }
638
+ }
639
+ }
640
+
641
+ .#{$ns}Table-container {
642
+ .#{$ns}Table-header {
643
+ padding: 0;
644
+ }
645
+
646
+ &-self-sticky {
647
+ position: relative !important;
648
+
649
+ .#{$ns}Table-content {
650
+ overflow-x: unset !important;
651
+ }
652
+
653
+ .#{$ns}Table-table {
654
+ border-collapse: separate;
655
+
656
+ > tbody > tr > td {
657
+ border-top: none;
658
+ }
659
+ }
660
+
661
+ .#{$ns}Table-row {
662
+ z-index: 1;
663
+ }
664
+
665
+ .#{$ns}Table-cell-self-sticky {
666
+ z-index: 2 !important;
667
+ }
668
+
669
+ .#{$ns}Table-cell-fix-left {
670
+ z-index: 3 !important;
671
+ }
672
+ }
673
+
674
+ &.is-autoFillHeight {
675
+ overflow: auto;
676
+ & > .#{$ns}Table-content {
677
+ overflow: visible !important;
678
+ transform: unset !important;
679
+ }
680
+ & > .#{$ns}Table-content > table > thead > tr > th {
681
+ position: sticky;
682
+ top: 0;
683
+ z-index: 2 !important; // 添加z-index确保显示在最上层
684
+
685
+ &.#{$ns}Table-cell-fix-left,
686
+ &.#{$ns}Table-cell-fix-right {
687
+ z-index: 3 !important;
688
+ }
689
+ }
690
+ }
691
+ }
692
+
693
+ &.#{$ns}Table-ping-left {
694
+ .#{$ns}Table-table {
695
+ > thead > tr > th.#{$ns}Table-cell-fix-left-last,
696
+ > tbody > tr > td.#{$ns}Table-cell-fix-left-last,
697
+ > tfoot > tr > td.#{$ns}Table-cell-fix-left-last {
698
+ &:after {
699
+ box-shadow: var(--Table-fixedLeftLast-boxShadow);
700
+ }
701
+ }
702
+
703
+ // > tbody > tr:not(.#{$ns}Table-row-disabled) {
704
+ // > td.#{$ns}Table-cell-fix-left {
705
+ // border-right-color: var(--table-body-bg-color);
706
+ // }
707
+ // }
708
+
709
+ // > tfoot > tr > td:not(:last-child) {
710
+ // &.#{$ns}Table-cell-fix-left-last {
711
+ // border-right-color: var(--table-body-bg-color);
712
+ // }
713
+ // }
714
+
715
+ // > thead > tr > th:not(:last-child) {
716
+ // &.#{$ns}Table-cell-fix-left-last {
717
+ // border-right-color: var(--table-body-bg-color);
718
+ // }
719
+ // }
720
+ }
721
+ }
722
+
723
+ &.#{$ns}Table-ping-right {
724
+ .#{$ns}Table-table {
725
+ > thead > tr > th.#{$ns}Table-cell-fix-right-first,
726
+ > tbody > tr > td.#{$ns}Table-cell-fix-right-first,
727
+ > tfoot > tr > td.#{$ns}Table-cell-fix-right-first {
728
+ &:after {
729
+ box-shadow: var(--Table-fixedRightFirst-boxShadow);
730
+ }
731
+ }
732
+
733
+ > tbody > tr:not(.#{$ns}Table-row-disabled) {
734
+ > td.#{$ns}Table-cell-fix-right {
735
+ border-right: none;
736
+ }
737
+ }
738
+ }
739
+
740
+ &:not(.#{$ns}Table-bordered) {
741
+ .#{$ns}Table-table {
742
+ > thead > tr > th.#{$ns}Table-cell-fix-right-first-prev {
743
+ border-right: none;
744
+ }
745
+
746
+ > thead > tr > th:not(:last-child) {
747
+ &.#{$ns}Table-cell-fix-right-first {
748
+ border-right: none;
749
+ }
750
+ }
751
+ }
752
+ }
753
+ }
754
+
755
+ &.#{$ns}Table-resizable {
756
+ .#{$ns}Table-table {
757
+ > thead > tr > th {
758
+ position: relative;
759
+
760
+ .#{$ns}Table-thead-resizable {
761
+ position: absolute;
762
+ width: 7px;
763
+ right: -4px;
764
+ top: 0;
765
+ bottom: 0;
766
+ user-select: none;
767
+ cursor: col-resize;
768
+ z-index: 15;
769
+ opacity: 0.5;
770
+
771
+ &--disabled {
772
+ cursor: not-allowed;
773
+ }
774
+
775
+ &:hover,
776
+ &.is-resizing {
777
+ background: var(--primary);
778
+ }
779
+ }
780
+
781
+ &:last-child {
782
+ .#{$ns}Table-thead-resizable {
783
+ width: 4px;
784
+ right: 0;
785
+ }
786
+ }
787
+ }
788
+ }
789
+ }
790
+
791
+ .#{$ns}Table-loading {
792
+ padding: var(--Table-loading-padding);
793
+ }
794
+
795
+ .#{$ns}TableCell-sortBtn {
796
+ cursor: pointer;
797
+ width: var(--TableCell-sortBtn-width);
798
+ height: 14px;
799
+ vertical-align: middle;
800
+ position: static;
801
+ display: inline-block;
802
+ transform: none;
803
+ color: var(--icon-color);
804
+ margin-left: var(--TableCell-icon-gap);
805
+
806
+ &:hover {
807
+ color: var(--icon-onHover-color);
808
+ }
809
+
810
+ &--up svg,
811
+ &--down svg,
812
+ &--default svg {
813
+ color: inherit;
814
+ width: 13px;
815
+ height: 13px;
816
+ }
817
+
818
+ &--up,
819
+ &--down,
820
+ &--default {
821
+ display: none;
822
+ z-index: 2;
823
+ font-style: normal;
824
+
825
+ &.is-active {
826
+ display: inline-block;
827
+ }
828
+ }
829
+
830
+ &--default {
831
+ &.is-active {
832
+ color: var(--table-icon-color);
833
+ &:hover {
834
+ color: var(--table-icon-hover-color);
835
+ }
836
+ }
837
+ }
838
+ &--up,
839
+ &--down {
840
+ &.is-active {
841
+ color: var(--TableCell-sortBtn--onActive-color);
842
+ }
843
+ }
844
+ }
845
+
846
+ .#{$ns}TableCell-searchBtn {
847
+ cursor: pointer;
848
+ color: var(--table-icon-color);
849
+ margin-left: var(--TableCell-icon-gap);
850
+ height: 18px;
851
+
852
+ svg {
853
+ width: 12px;
854
+ height: 12px;
855
+ }
856
+
857
+ &:hover {
858
+ color: var(--table-icon-hover-color);
859
+ }
860
+ &.is-active {
861
+ color: var(--TableCell-searchBtn--onActive-color);
862
+ }
863
+ }
864
+
865
+ .#{$ns}TableCell-searchPopOver {
866
+ border: none;
867
+ min-width: px2rem(320px);
868
+ max-width: px2rem(640px);
869
+
870
+ .#{$ns}Panel {
871
+ margin: 0;
872
+ }
873
+ }
874
+
875
+ .#{$ns}TableCell-filterBtn {
876
+ cursor: pointer;
877
+ width: var(--TableCell-filterBtn-width);
878
+ height: 14px;
879
+ vertical-align: middle;
880
+ position: static;
881
+ display: inline-block;
882
+ transform: none;
883
+ color: var(--table-icon-color);
884
+ margin-left: var(--TableCell-icon-gap);
885
+
886
+ svg {
887
+ width: 13px;
888
+ height: 13px;
889
+ }
890
+
891
+ &:hover {
892
+ color: var(--table-icon-hover-color);
893
+ }
894
+
895
+ &.is-active {
896
+ color: var(--TableCell-filterBtn--onActive-color);
897
+ }
898
+
899
+ .#{$ns}Remark {
900
+ display: inline;
901
+ }
902
+ }
903
+
904
+ .#{$ns}TableCell-filterPopOver {
905
+ border: none;
906
+ width: px2rem(160px);
907
+
908
+ .#{$ns}DropDown-menu {
909
+ margin: 0;
910
+ padding: 0;
911
+
912
+ .#{$ns}DropDown-divider {
913
+ height: var(--TableCell-filterPopOver-dropDownItem-height);
914
+ line-height: var(--TableCell-filterPopOver-dropDownItem-height);
915
+ padding: var(--TableCell-filterPopOver-dropDownItem-padding);
916
+ background: var(--white);
917
+ margin: 0;
918
+
919
+ &:hover {
920
+ background: var(--light);
921
+ color: var(--primary);
922
+ }
923
+
924
+ &.is-selected {
925
+ background: var(--light);
926
+ color: var(--primary);
927
+ }
928
+
929
+ .#{$ns}Checkbox {
930
+ width: 100%;
931
+ margin: 0;
932
+ }
933
+ }
934
+ }
935
+
936
+ .#{$ns}DropDown-multiple-menu {
937
+ text-align: center;
938
+ border-top: 1px solid var(--Table-borderColor);
939
+
940
+ .#{$ns}Button {
941
+ margin: 0 5px;
942
+ padding: 0 10px;
943
+ }
944
+
945
+ &:hover {
946
+ background: none;
947
+ }
948
+ }
949
+ }
950
+
951
+ .#{$ns}TableCell-selectionBtn {
952
+ cursor: pointer;
953
+ margin-left: 4px;
954
+
955
+ svg.icon {
956
+ transform: rotate(270deg);
957
+ font-size: 12px;
958
+ }
959
+ }
960
+
961
+ .#{$ns}TableCell-selectionPopOver {
962
+ .#{$ns}DropDown-menu {
963
+ margin: 0;
964
+ padding: 0;
965
+ }
966
+ }
967
+
968
+ &.#{$ns}Table-expandBtn {
969
+ position: relative;
970
+ z-index: 1;
971
+ color: var(--Table-expandBtn-color);
972
+ display: inline-flex;
973
+ justify-content: center;
974
+ align-items: center;
975
+ width: px2rem(14px);
976
+ line-height: 1;
977
+ height: 16px;
978
+
979
+ > svg {
980
+ display: inline-block;
981
+ text-align: center;
982
+ cursor: pointer;
983
+ transition: transform ease-in-out var(--animation-duration),
984
+ top ease-in-out var(--animation-duration);
985
+ position: relative;
986
+ transform-origin: 50% 50%;
987
+ width: px2rem(10px);
988
+ height: px2rem(10px);
989
+ top: 0;
990
+ }
991
+
992
+ &.is-active > svg {
993
+ transform: rotate(90deg);
994
+ }
995
+
996
+ &:hover {
997
+ text-decoration: none;
998
+ }
999
+ }
1000
+
1001
+ .#{$ns}Table-table > tbody > tr:hover .#{$ns}Table-dragBtn,
1002
+ .#{$ns}Table-table > tbody > tr.is-dragging .#{$ns}Table-dragBtn,
1003
+ .#{$ns}Table-table > tbody > tr.is-drop-allowed .#{$ns}Table-dragBtn {
1004
+ visibility: visible;
1005
+ }
1006
+
1007
+ .fake-hide {
1008
+ visibility: hidden;
1009
+ position: absolute;
1010
+ }
1011
+
1012
+ .#{$ns}Table-badge {
1013
+ position: absolute;
1014
+ top: 0;
1015
+ left: 0;
1016
+ }
1017
+
1018
+ .table-sort-default {
1019
+ content: var(--table-sort-icon);
1020
+ }
1021
+
1022
+ .table-sort-up {
1023
+ content: var(--table-sort-up-icon);
1024
+ }
1025
+
1026
+ .table-sort-down {
1027
+ content: var(--table-sort-down-icon);
1028
+ }
1029
+
1030
+ .table-filter-icon {
1031
+ content: var(--table-filter-icon);
1032
+ }
1033
+
1034
+ .table-search-icon {
1035
+ content: var(--table-search-icon);
1036
+ }
1037
+ }
1038
+
1039
+ .#{$ns}InputTable-toolbar {
1040
+ display: flex;
1041
+ flex-direction: row;
1042
+ flex-wrap: wrap;
1043
+ justify-content: space-between;
1044
+ }
1045
+
1046
+ .#{$ns}InputTable-pager {
1047
+ margin-left: auto;
1048
+ }
1049
+
1050
+ .#{$ns}OperationField {
1051
+ margin: px2rem(-3px);
1052
+
1053
+ > .#{$ns}Button,
1054
+ > .#{$ns}Button--disabled-wrap > .#{$ns}Button {
1055
+ margin: px2rem(3px);
1056
+ }
1057
+
1058
+ > .#{$ns}Button--disabled-wrap > .#{$ns}Button--link {
1059
+ padding: 0;
1060
+ }
1061
+
1062
+ > .#{$ns}Button--link {
1063
+ padding: 0;
1064
+ margin-right: px2rem(10px);
1065
+ }
1066
+ }