fan-standard-comp 3.2.1 → 4.0.1

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 (380) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +15 -0
  3. package/dist/fan-standard-comp.min.css +1 -0
  4. package/dist/fan-standard-comp.min.js +1 -0
  5. package/es/ButtonGroup/PopConfirmTitle.d.ts +1 -1
  6. package/es/ButtonGroup/PopConfirmTitle.js +2 -2
  7. package/es/ButtonGroup/index.d.ts +5 -3
  8. package/es/ButtonGroup/index.js +259 -189
  9. package/es/ButtonGroup/styles/index.d.ts +8 -0
  10. package/es/ButtonGroup/styles/index.js +61 -0
  11. package/es/ButtonGroup/testStyles/index(antd-style).d.ts +11 -0
  12. package/es/ButtonGroup/testStyles/index(antd-style).js +28 -0
  13. package/es/ButtonGroup/testStyles/index(cssinjs).js +133 -0
  14. package/es/ButtonGroup/testStyles/index.d.ts +11 -0
  15. package/es/ButtonGroup/testStyles/index.js +23 -0
  16. package/es/CalendarCoordPicker/CalendarMonthPicker.d.ts +5 -0
  17. package/es/CalendarCoordPicker/CalendarMonthPicker.js +32 -0
  18. package/es/CalendarCoordPicker/index.d.ts +7 -0
  19. package/es/CalendarCoordPicker/index.js +314 -0
  20. package/es/CalendarCoordPicker/styles/index.d.ts +6 -0
  21. package/es/CalendarCoordPicker/styles/index.js +28 -0
  22. package/es/CalendarCoordPicker/styles/index.less +37 -0
  23. package/es/ConfigContext/index.d.ts +7 -0
  24. package/es/ConfigContext/index.js +20 -0
  25. package/es/DragContent/DragBar.d.ts +3 -0
  26. package/es/DragContent/DragBar.js +0 -1
  27. package/es/DragContent/index.d.ts +1 -1
  28. package/es/DragContent/index.js +20 -6
  29. package/es/DragContent/styles/index.d.ts +6 -0
  30. package/es/DragContent/styles/index.js +52 -0
  31. package/es/FormComp/ChunkUploader/api.js +11 -11
  32. package/es/FormComp/ChunkUploader/index.js +125 -132
  33. package/es/FormComp/ChunkUploader/lib.js +19 -19
  34. package/es/FormComp/ChunkUploader/upload-queue.class.js +51 -51
  35. package/es/FormComp/EditButton/index.d.ts +1 -1
  36. package/es/FormComp/EditButton/index.js +18 -17
  37. package/es/FormComp/FieldComponent/ReUpload.d.ts +1 -1
  38. package/es/FormComp/FieldComponent/ReUpload.js +45 -37
  39. package/es/FormComp/FieldComponent/RefactorTreeSelect.js +28 -19
  40. package/es/FormComp/FieldComponent/TitleNode.d.ts +2 -1
  41. package/es/FormComp/FieldComponent/UploaderViewer.d.ts +2 -0
  42. package/es/FormComp/FieldComponent/UploaderViewer.js +92 -0
  43. package/es/FormComp/FieldComponent/index.d.ts +1 -1
  44. package/es/FormComp/FieldComponent/index.js +88 -109
  45. package/es/FormComp/FieldComponent/setReadonlyValues.js +21 -15
  46. package/es/FormComp/FieldComponent/style/TreeSelect.d.ts +6 -0
  47. package/es/FormComp/FieldComponent/style/TreeSelect.js +42 -0
  48. package/es/FormComp/FieldComponent/style/UploaderStyle.d.ts +6 -0
  49. package/es/FormComp/FieldComponent/style/UploaderStyle.js +25 -0
  50. package/es/FormComp/FieldComponent/style/index.less +26 -21
  51. package/es/FormComp/RenderItemGroup/index.d.ts +4 -0
  52. package/es/FormComp/RenderItemGroup/index.js +183 -66
  53. package/es/FormComp/RenderItemGroup/style/index.d.ts +6 -0
  54. package/es/FormComp/RenderItemGroup/style/index.js +40 -0
  55. package/es/FormComp/Uploader/index.js +94 -75
  56. package/es/FormComp/Uploader/style/index.less +14 -14
  57. package/es/FormComp/Uploader/util.d.ts +2 -2
  58. package/es/FormComp/VarTemplate/index.js +32 -40
  59. package/es/FormComp/index.js +1 -1
  60. package/es/NavLeafScroll/Main.js +443 -0
  61. package/es/NavLeafScroll/index.d.ts +2 -0
  62. package/es/NavLeafScroll/index.js +21 -395
  63. package/es/NavLeafScroll/style/index.d.ts +6 -0
  64. package/es/NavLeafScroll/style/index.js +56 -0
  65. package/es/NavLeafScroll/style/index.less +22 -22
  66. package/es/RefactorTree/index.d.ts +1 -1
  67. package/es/RefactorTree/index.js +21 -19
  68. package/es/RefactorTree/style/index.js +1 -1
  69. package/es/RefactorTree/style/index.less +22 -22
  70. package/es/RefactorTree/util.d.ts +2 -2
  71. package/es/RefactorTree/util.js +30 -15
  72. package/es/SpecIcon/fonts/demo_index.html +559 -5
  73. package/es/SpecIcon/fonts/iconfont.css +101 -3
  74. package/es/SpecIcon/fonts/iconfont.js +34 -27
  75. package/es/SpecIcon/fonts/iconfont.json +168 -0
  76. package/es/SpecIcon/fonts/iconfont.svg +163 -171
  77. package/es/SpecIcon/fonts/iconfont.ttf +0 -0
  78. package/es/SpecIcon/fonts/iconfont.woff +0 -0
  79. package/es/SpecIcon/fonts/iconfont.woff2 +0 -0
  80. package/es/SpecIcon/index.d.ts +0 -1
  81. package/es/SpecIcon/index.js +33 -12
  82. package/es/SpecIcon/styles/index(antd-style).d.ts +6 -0
  83. package/es/SpecIcon/styles/index(antd-style).js +13 -0
  84. package/es/SpecIcon/styles/index.d.ts +6 -0
  85. package/es/SpecIcon/styles/index.js +93 -0
  86. package/es/StandardContent/SplitterLayout/Pane.js +3 -3
  87. package/es/StandardContent/SplitterLayout/index.js +7 -6
  88. package/es/StandardContent/SplitterLayout/index.less +0 -1
  89. package/es/StandardContent/SubfieldContent.d.ts +3 -2
  90. package/es/StandardContent/SubfieldContent.js +24 -12
  91. package/es/StandardContent/WrapperContent.d.ts +2 -2
  92. package/es/StandardContent/WrapperContent.js +22 -11
  93. package/es/StandardContent/styles/Subfield.d.ts +6 -0
  94. package/es/StandardContent/styles/Subfield.js +30 -0
  95. package/es/StandardContent/styles/Wrapper.d.ts +6 -0
  96. package/es/StandardContent/styles/Wrapper.js +28 -0
  97. package/es/StandardContent/styles/index.less +67 -0
  98. package/es/StandardDragModal/ChangeStandardModal.d.ts +2 -2
  99. package/es/StandardDragModal/ChangeStandardModal.js +84 -71
  100. package/es/StandardDragModal/DraggableModal.js +7 -4
  101. package/es/StandardDragModal/DraggableModalContext.d.ts +1 -1
  102. package/es/StandardDragModal/DraggableModalInner.d.ts +2 -2
  103. package/es/StandardDragModal/DraggableModalInner.js +31 -21
  104. package/es/StandardDragModal/DraggableModalProvider.js +5 -5
  105. package/es/StandardDragModal/Modal.d.ts +1 -1
  106. package/es/StandardDragModal/Modal.js +8 -5
  107. package/es/StandardDragModal/ResizeHandle.js +2 -1
  108. package/es/StandardDragModal/draggableModalReducer.d.ts +4 -4
  109. package/es/StandardDragModal/draggableModalReducer.js +31 -22
  110. package/es/StandardDragModal/index.js +3 -3
  111. package/es/StandardDragModal/useDrag.js +2 -2
  112. package/es/StandardDragModal/useResize.js +2 -2
  113. package/es/StandardFilter/index.d.ts +8 -17
  114. package/es/StandardFilter/index.js +279 -206
  115. package/es/StandardFilter/style/FilterStyle.d.ts +6 -0
  116. package/es/StandardFilter/style/FilterStyle.js +50 -0
  117. package/es/StandardFilter/style/index.less +85 -36
  118. package/es/StandardForm/ActionList.d.ts +9 -0
  119. package/es/StandardForm/ActionList.js +5 -5
  120. package/es/StandardForm/StepForm.d.ts +1 -1
  121. package/es/StandardForm/StepForm.js +47 -40
  122. package/es/StandardForm/TabForm.d.ts +2 -1
  123. package/es/StandardForm/TabForm.js +50 -41
  124. package/es/StandardForm/index.d.ts +2 -1
  125. package/es/StandardForm/index.js +40 -22
  126. package/es/StandardForm/style/index.d.ts +6 -0
  127. package/es/StandardForm/style/index.js +49 -0
  128. package/es/StandardForm/style/index.less +23 -12
  129. package/es/StandardModal/UpdateFormRef.js +0 -1
  130. package/es/StandardModal/index.d.ts +4 -3
  131. package/es/StandardModal/index.js +153 -133
  132. package/es/StandardModal/style/index.d.ts +6 -0
  133. package/es/StandardModal/style/index.js +46 -0
  134. package/es/StandardModal/style/index.less +29 -29
  135. package/es/StandardPanel/index.d.ts +1 -1
  136. package/es/StandardPanel/index.js +28 -17
  137. package/es/StandardPanel/style/index.d.ts +6 -0
  138. package/es/StandardPanel/style/index.js +87 -0
  139. package/es/StandardPanel/style/index.less +30 -32
  140. package/es/StandardTable/index.d.ts +6 -1
  141. package/es/StandardTable/index.js +92 -40
  142. package/es/StandardTable/style/index.d.ts +6 -1
  143. package/es/StandardTable/style/index.js +113 -1
  144. package/es/StandardTable/style/index.less +89 -80
  145. package/es/components/IconNode/index.d.ts +1 -1
  146. package/es/components/IconNode/index.js +12 -1
  147. package/es/components/index.js +1 -1
  148. package/es/data/func.code.d.ts +16 -0
  149. package/es/data/general.config.d.ts +191 -0
  150. package/es/data/general.config.js +32 -1
  151. package/es/data/index.d.ts +3 -0
  152. package/es/data/index.js +2 -2
  153. package/es/index.d.ts +7 -6
  154. package/es/index.js +32 -26
  155. package/es/theme/index.d.ts +27 -0
  156. package/es/theme/index.js +29 -0
  157. package/es/theme/utils/genStyleHook.d.ts +1 -0
  158. package/es/theme/utils/genStyleHook.js +32 -0
  159. package/es/utils/ValueFormat.d.ts +3 -0
  160. package/es/utils/ValueFormat.js +17 -4
  161. package/es/utils/dictSelectUtil.d.ts +36 -0
  162. package/es/utils/dictSelectUtil.js +3 -3
  163. package/es/utils/filterPermission.d.ts +5 -0
  164. package/es/utils/filterPermission.js +4 -6
  165. package/es/utils/getParentNodes.d.ts +79 -0
  166. package/es/utils/getParentNodes.js +89 -13
  167. package/es/utils/index.d.ts +5 -0
  168. package/es/utils/index.js +5 -4
  169. package/es/utils/transferFile.d.ts +4 -0
  170. package/es/utils/transferFile.js +56 -0
  171. package/es/utils/urlUtils.d.ts +14 -0
  172. package/es/utils/urlUtils.js +77 -0
  173. package/lib/ButtonGroup/PopConfirmTitle.d.ts +1 -1
  174. package/lib/ButtonGroup/PopConfirmTitle.js +3 -4
  175. package/lib/ButtonGroup/index.d.ts +5 -3
  176. package/lib/ButtonGroup/index.js +261 -194
  177. package/lib/ButtonGroup/styles/index.d.ts +8 -0
  178. package/lib/ButtonGroup/styles/index.js +68 -0
  179. package/lib/ButtonGroup/testStyles/index(antd-style).d.ts +11 -0
  180. package/lib/ButtonGroup/testStyles/index(antd-style).js +34 -0
  181. package/lib/ButtonGroup/testStyles/index(cssinjs).js +134 -0
  182. package/lib/ButtonGroup/testStyles/index.d.ts +11 -0
  183. package/lib/ButtonGroup/testStyles/index.js +29 -0
  184. package/lib/CalendarCoordPicker/CalendarMonthPicker.d.ts +5 -0
  185. package/lib/CalendarCoordPicker/CalendarMonthPicker.js +41 -0
  186. package/lib/CalendarCoordPicker/index.d.ts +7 -0
  187. package/lib/CalendarCoordPicker/index.js +323 -0
  188. package/lib/CalendarCoordPicker/styles/index.d.ts +6 -0
  189. package/lib/CalendarCoordPicker/styles/index.js +34 -0
  190. package/lib/CalendarCoordPicker/styles/index.less +37 -0
  191. package/lib/ConfigContext/index.d.ts +7 -0
  192. package/lib/ConfigContext/index.js +25 -0
  193. package/lib/DragContent/DragBar.d.ts +3 -0
  194. package/lib/DragContent/DragBar.js +1 -3
  195. package/lib/DragContent/index.d.ts +1 -1
  196. package/lib/DragContent/index.js +22 -9
  197. package/lib/DragContent/styles/index.d.ts +6 -0
  198. package/lib/DragContent/styles/index.js +58 -0
  199. package/lib/FormComp/ChunkUploader/api.js +11 -11
  200. package/lib/FormComp/ChunkUploader/index.js +123 -130
  201. package/lib/FormComp/ChunkUploader/lib.js +19 -19
  202. package/lib/FormComp/ChunkUploader/upload-queue.class.js +52 -53
  203. package/lib/FormComp/EditButton/index.d.ts +1 -1
  204. package/lib/FormComp/EditButton/index.js +22 -22
  205. package/lib/FormComp/FieldComponent/ReUpload.d.ts +1 -1
  206. package/lib/FormComp/FieldComponent/ReUpload.js +47 -41
  207. package/lib/FormComp/FieldComponent/RefactorTreeSelect.js +29 -21
  208. package/lib/FormComp/FieldComponent/TitleNode.d.ts +2 -1
  209. package/lib/FormComp/FieldComponent/TitleNode.js +1 -2
  210. package/lib/FormComp/FieldComponent/UploaderViewer.d.ts +2 -0
  211. package/lib/FormComp/FieldComponent/UploaderViewer.js +102 -0
  212. package/lib/FormComp/FieldComponent/index.d.ts +1 -1
  213. package/lib/FormComp/FieldComponent/index.js +83 -107
  214. package/lib/FormComp/FieldComponent/setReadonlyValues.js +29 -28
  215. package/lib/FormComp/FieldComponent/style/TreeSelect.d.ts +6 -0
  216. package/lib/FormComp/FieldComponent/style/TreeSelect.js +48 -0
  217. package/lib/FormComp/FieldComponent/style/UploaderStyle.d.ts +6 -0
  218. package/lib/FormComp/FieldComponent/style/UploaderStyle.js +31 -0
  219. package/lib/FormComp/FieldComponent/style/index.less +26 -21
  220. package/lib/FormComp/RenderItemGroup/index.d.ts +4 -0
  221. package/lib/FormComp/RenderItemGroup/index.js +182 -65
  222. package/lib/FormComp/RenderItemGroup/style/index.d.ts +6 -0
  223. package/lib/FormComp/RenderItemGroup/style/index.js +46 -0
  224. package/lib/FormComp/Uploader/index.js +95 -80
  225. package/lib/FormComp/Uploader/style/index.less +14 -14
  226. package/lib/FormComp/Uploader/util.d.ts +2 -2
  227. package/lib/FormComp/VarTemplate/index.js +38 -48
  228. package/lib/NavLeafScroll/Main.js +451 -0
  229. package/lib/NavLeafScroll/index.d.ts +2 -0
  230. package/lib/NavLeafScroll/index.js +21 -398
  231. package/lib/NavLeafScroll/style/index.d.ts +6 -0
  232. package/lib/NavLeafScroll/style/index.js +62 -0
  233. package/lib/NavLeafScroll/style/index.less +22 -22
  234. package/lib/RefactorTree/index.d.ts +1 -1
  235. package/lib/RefactorTree/index.js +21 -21
  236. package/lib/RefactorTree/style/index.less +22 -22
  237. package/lib/RefactorTree/util.d.ts +2 -2
  238. package/lib/RefactorTree/util.js +30 -15
  239. package/lib/SpecIcon/fonts/demo_index.html +559 -5
  240. package/lib/SpecIcon/fonts/iconfont.css +101 -3
  241. package/lib/SpecIcon/fonts/iconfont.js +34 -27
  242. package/lib/SpecIcon/fonts/iconfont.json +168 -0
  243. package/lib/SpecIcon/fonts/iconfont.svg +163 -171
  244. package/lib/SpecIcon/fonts/iconfont.ttf +0 -0
  245. package/lib/SpecIcon/fonts/iconfont.woff +0 -0
  246. package/lib/SpecIcon/fonts/iconfont.woff2 +0 -0
  247. package/lib/SpecIcon/index.d.ts +0 -1
  248. package/lib/SpecIcon/index.js +34 -14
  249. package/lib/SpecIcon/styles/index(antd-style).d.ts +6 -0
  250. package/lib/SpecIcon/styles/index(antd-style).js +19 -0
  251. package/lib/SpecIcon/styles/index.d.ts +6 -0
  252. package/lib/SpecIcon/styles/index.js +100 -0
  253. package/lib/StandardContent/SplitterLayout/Pane.js +3 -4
  254. package/lib/StandardContent/SplitterLayout/index.js +6 -6
  255. package/lib/StandardContent/SplitterLayout/index.less +0 -1
  256. package/lib/StandardContent/SubfieldContent.d.ts +3 -2
  257. package/lib/StandardContent/SubfieldContent.js +24 -13
  258. package/lib/StandardContent/WrapperContent.d.ts +2 -2
  259. package/lib/StandardContent/WrapperContent.js +23 -13
  260. package/lib/StandardContent/styles/Subfield.d.ts +6 -0
  261. package/lib/StandardContent/styles/Subfield.js +36 -0
  262. package/lib/StandardContent/styles/Wrapper.d.ts +6 -0
  263. package/lib/StandardContent/styles/Wrapper.js +34 -0
  264. package/lib/StandardContent/styles/index.less +67 -0
  265. package/lib/StandardDragModal/ChangeStandardModal.d.ts +2 -2
  266. package/lib/StandardDragModal/ChangeStandardModal.js +85 -72
  267. package/lib/StandardDragModal/DraggableModal.js +11 -8
  268. package/lib/StandardDragModal/DraggableModalContext.d.ts +1 -1
  269. package/lib/StandardDragModal/DraggableModalContext.js +3 -4
  270. package/lib/StandardDragModal/DraggableModalInner.d.ts +2 -2
  271. package/lib/StandardDragModal/DraggableModalInner.js +38 -30
  272. package/lib/StandardDragModal/DraggableModalProvider.js +10 -10
  273. package/lib/StandardDragModal/Modal.d.ts +1 -1
  274. package/lib/StandardDragModal/Modal.js +7 -5
  275. package/lib/StandardDragModal/ResizeHandle.js +6 -6
  276. package/lib/StandardDragModal/clamp.js +2 -3
  277. package/lib/StandardDragModal/draggableModalReducer.d.ts +4 -4
  278. package/lib/StandardDragModal/draggableModalReducer.js +34 -29
  279. package/lib/StandardDragModal/getWindowSize.js +2 -3
  280. package/lib/StandardDragModal/useDrag.js +4 -5
  281. package/lib/StandardDragModal/usePrevious.js +2 -3
  282. package/lib/StandardDragModal/useResize.js +4 -5
  283. package/lib/StandardFilter/index.d.ts +8 -17
  284. package/lib/StandardFilter/index.js +281 -207
  285. package/lib/StandardFilter/style/FilterStyle.d.ts +6 -0
  286. package/lib/StandardFilter/style/FilterStyle.js +56 -0
  287. package/lib/StandardFilter/style/index.less +85 -36
  288. package/lib/StandardForm/ActionList.d.ts +9 -0
  289. package/lib/StandardForm/ActionList.js +6 -7
  290. package/lib/StandardForm/StepForm.d.ts +1 -1
  291. package/lib/StandardForm/StepForm.js +46 -41
  292. package/lib/StandardForm/TabForm.d.ts +2 -1
  293. package/lib/StandardForm/TabForm.js +48 -41
  294. package/lib/StandardForm/index.d.ts +2 -1
  295. package/lib/StandardForm/index.js +39 -23
  296. package/lib/StandardForm/style/index.d.ts +6 -0
  297. package/lib/StandardForm/style/index.js +55 -0
  298. package/lib/StandardForm/style/index.less +23 -12
  299. package/lib/StandardModal/UpdateFormRef.js +3 -4
  300. package/lib/StandardModal/index.d.ts +4 -3
  301. package/lib/StandardModal/index.js +152 -133
  302. package/lib/StandardModal/style/index.d.ts +6 -0
  303. package/lib/StandardModal/style/index.js +52 -0
  304. package/lib/StandardModal/style/index.less +29 -29
  305. package/lib/StandardPanel/index.d.ts +1 -1
  306. package/lib/StandardPanel/index.js +29 -20
  307. package/lib/StandardPanel/style/index.d.ts +6 -0
  308. package/lib/StandardPanel/style/index.js +93 -0
  309. package/lib/StandardPanel/style/index.less +30 -32
  310. package/lib/StandardTable/index.d.ts +6 -1
  311. package/lib/StandardTable/index.js +93 -40
  312. package/lib/StandardTable/style/index.d.ts +6 -1
  313. package/lib/StandardTable/style/index.js +117 -1
  314. package/lib/StandardTable/style/index.less +89 -80
  315. package/lib/components/IconNode/index.d.ts +1 -1
  316. package/lib/components/IconNode/index.js +13 -3
  317. package/lib/data/func.code.d.ts +16 -0
  318. package/lib/data/func.code.js +2 -3
  319. package/lib/data/general.config.d.ts +191 -0
  320. package/lib/data/general.config.js +34 -4
  321. package/lib/data/index.d.ts +3 -0
  322. package/lib/index.d.ts +7 -6
  323. package/lib/index.js +24 -12
  324. package/lib/theme/index.d.ts +27 -0
  325. package/lib/theme/index.js +35 -0
  326. package/lib/theme/utils/genStyleHook.d.ts +1 -0
  327. package/lib/theme/utils/genStyleHook.js +38 -0
  328. package/lib/utils/ValueFormat.d.ts +3 -0
  329. package/lib/utils/ValueFormat.js +20 -6
  330. package/lib/utils/dictSelectUtil.d.ts +36 -0
  331. package/lib/utils/dictSelectUtil.js +3 -3
  332. package/lib/utils/filterPermission.d.ts +5 -0
  333. package/lib/utils/filterPermission.js +9 -16
  334. package/lib/utils/getParentNodes.d.ts +79 -0
  335. package/lib/utils/getParentNodes.js +91 -16
  336. package/lib/utils/index.d.ts +5 -0
  337. package/lib/utils/index.js +42 -32
  338. package/lib/utils/transferFile.d.ts +4 -0
  339. package/lib/utils/transferFile.js +63 -0
  340. package/lib/utils/urlUtils.d.ts +14 -0
  341. package/lib/utils/urlUtils.js +84 -0
  342. package/package.json +80 -33
  343. package/Readme.md +0 -49
  344. package/dist/f26952c118ab6cdcd23dc0028ee98c11.svg +0 -173
  345. package/dist/fan-standard-comp.umd.js +0 -602
  346. package/dist/fonts/iconfont.eot +0 -0
  347. package/dist/fonts/iconfont.ttf +0 -0
  348. package/dist/fonts/iconfont.woff +0 -0
  349. package/es/ButtonGroup/ButtonList.d.ts +0 -2
  350. package/es/ButtonGroup/ButtonList.js +0 -34
  351. package/es/ButtonGroup/ButtonMenu.d.ts +0 -2
  352. package/es/ButtonGroup/ButtonMenu.js +0 -35
  353. package/es/ButtonGroup/style/index.less +0 -36
  354. package/es/RefactorTree/indexTreeNode.d.ts +0 -39
  355. package/es/RefactorTree/indexTreeNode.js +0 -204
  356. package/es/SpecIcon/style/iconfont.less +0 -213
  357. package/es/SpecIcon/style/index.less +0 -98
  358. package/es/SplitterLayout/Pane.d.ts +0 -13
  359. package/es/SplitterLayout/Pane.js +0 -33
  360. package/es/SplitterLayout/index.js +0 -325
  361. package/es/SplitterLayout/index.less +0 -58
  362. package/es/StandardContent/style/index.less +0 -80
  363. package/es/theme/spec-variable.less +0 -48
  364. package/lib/ButtonGroup/ButtonList.d.ts +0 -2
  365. package/lib/ButtonGroup/ButtonList.js +0 -43
  366. package/lib/ButtonGroup/ButtonMenu.d.ts +0 -2
  367. package/lib/ButtonGroup/ButtonMenu.js +0 -44
  368. package/lib/ButtonGroup/style/index.less +0 -36
  369. package/lib/RefactorTree/indexTreeNode.d.ts +0 -39
  370. package/lib/RefactorTree/indexTreeNode.js +0 -214
  371. package/lib/SpecIcon/style/iconfont.less +0 -213
  372. package/lib/SpecIcon/style/index.less +0 -98
  373. package/lib/SplitterLayout/Pane.d.ts +0 -13
  374. package/lib/SplitterLayout/Pane.js +0 -41
  375. package/lib/SplitterLayout/index.js +0 -332
  376. package/lib/SplitterLayout/index.less +0 -58
  377. package/lib/StandardContent/style/index.less +0 -80
  378. package/lib/theme/spec-variable.less +0 -48
  379. /package/es/{styles/index.less → ButtonGroup/testStyles/index(cssinjs).d.ts} +0 -0
  380. /package/lib/{styles/index.less → ButtonGroup/testStyles/index(cssinjs).d.ts} +0 -0
Binary file
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- declare const RenderButtonList: (item: any) => JSX.Element;
2
- export default RenderButtonList;
@@ -1,34 +0,0 @@
1
- import "antd/es/button/style";
2
- import _Button from "antd/es/button";
3
- import "antd/es/dropdown/style";
4
- import _Dropdown from "antd/es/dropdown";
5
- // 渲染按钮形式 (用于筛选)
6
- import React from "react";
7
- import SpecIcon from "@/SpecIcon";
8
- import buttonMenu from './ButtonMenu';
9
- import IconNode from "@/components/IconNode";
10
- import { btnIsDisabled } from "@/utils/filterPermission";
11
- var RenderButtonList = function RenderButtonList(item) {
12
- if (Array.isArray(item.children) && item.children.length > 0) {
13
- return /*#__PURE__*/React.createElement(_Dropdown, {
14
- overlay: buttonMenu(item.children),
15
- placement: "bottomRight"
16
- }, /*#__PURE__*/React.createElement(_Button, {
17
- type: "primary"
18
- }, item.exName || item.name, " ", /*#__PURE__*/React.createElement(SpecIcon, {
19
- name: "down"
20
- })));
21
- }
22
- return /*#__PURE__*/React.createElement(_Button, {
23
- type: item.type ? item.type : 'primary',
24
- danger: item.danger,
25
- icon: /*#__PURE__*/React.createElement(IconNode, {
26
- icon: item.icon
27
- }),
28
- disabled: btnIsDisabled(item.disabled, item.rowParams),
29
- onClick: item.fn ? function () {
30
- return item.fn(item);
31
- } : null
32
- }, item.exName || item.name);
33
- };
34
- export default RenderButtonList;
@@ -1,2 +0,0 @@
1
- declare const RenderButtonList: (group: any) => JSX.Element;
2
- export default RenderButtonList;
@@ -1,35 +0,0 @@
1
- import "antd/es/menu/style";
2
- import _Menu from "antd/es/menu";
3
- // 渲染按钮多层级形式 (用于筛选)
4
- import React from "react";
5
- import IconNode from "@/components/IconNode";
6
- var RenderButtonList = function RenderButtonList(group) {
7
- return /*#__PURE__*/React.createElement(_Menu, null, group.map(function (item, index) {
8
- if (item.children) {
9
- return /*#__PURE__*/React.createElement(_Menu.SubMenu, {
10
- title: item.exName || item.name,
11
- key: index
12
- }, item.children.map(function (child, childIndex) {
13
- return /*#__PURE__*/React.createElement(_Menu.Item, {
14
- key: childIndex
15
- }, /*#__PURE__*/React.createElement("a", {
16
- onClick: child.fn ? function () {
17
- return child.fn(child);
18
- } : null
19
- }, /*#__PURE__*/React.createElement(IconNode, {
20
- icon: child.icon
21
- }), " ", child.exName || child.name));
22
- }));
23
- }
24
- return /*#__PURE__*/React.createElement(_Menu.Item, {
25
- key: index
26
- }, /*#__PURE__*/React.createElement("a", {
27
- onClick: item.fn ? function () {
28
- return item.fn(item);
29
- } : null
30
- }, /*#__PURE__*/React.createElement(IconNode, {
31
- icon: item.icon
32
- }), " ", item.exName || item.name));
33
- }));
34
- };
35
- export default RenderButtonList;
@@ -1,36 +0,0 @@
1
- @root-entry-name: default;
2
- @import (reference) '~antd/es/style/themes/index';
3
-
4
-
5
- .spec-button-group {
6
- display: inline-block;
7
- vertical-align: middle;
8
- .ant-btn + .ant-btn {
9
- margin-left: @padding-sm;
10
- }
11
- .spec-button-group-text + .spec-button-group-text {
12
- position: relative;
13
- margin-left: @padding-sm;
14
- &:before {
15
- position: absolute;
16
- content: '';
17
- top: 50%;
18
- left: -(@padding-sm/2);
19
- transform: translate(0, -50%);
20
- display: inline-block;
21
- height: .9em;
22
- vertical-align: middle;
23
- border-left: 1px solid @border-color-base;
24
- }
25
- }
26
- //& when (@theme = dark) {
27
- // .ant-btn + .ant-btn {
28
- // background: #795da3 !important;
29
- // }
30
- //}
31
- //& when not (@theme = dark) {
32
- // .ant-btn + .ant-btn {
33
- // background: #c81313 !important;
34
- // }
35
- //}
36
- }
@@ -1,39 +0,0 @@
1
- import React from 'react';
2
- import './style/index.less';
3
- interface selectDataProps {
4
- currentData?: object;
5
- multiData?: object[];
6
- }
7
- interface nodeItemResetProps {
8
- icon?: any;
9
- disabled?: boolean;
10
- }
11
- interface optionNameProps {
12
- value?: string;
13
- title?: string;
14
- children?: string;
15
- disabled?: string;
16
- }
17
- interface RefactorTreeProps {
18
- treeData: any[];
19
- rootName?: string;
20
- rootKey?: string;
21
- rootIcon?: React.ReactNode;
22
- emptyDescription?: string;
23
- optionName?: optionNameProps;
24
- defaultSelectedKeys?: string[];
25
- nodeItemReset?: (data?: object) => nodeItemResetProps;
26
- onSelect?: (selectedKeys: string[], selectData: selectDataProps, e: any) => void;
27
- onCheck?: (checkedKeys: string[] | {
28
- checked: string[];
29
- halfChecked: string[];
30
- }, selectData: selectDataProps, e: any) => void;
31
- nodeExtra?: string | React.ReactNode;
32
- selectable?: boolean;
33
- nodeControl?: any;
34
- checkStrictly?: boolean;
35
- limitKey?: string;
36
- checkedKeys?: any;
37
- }
38
- declare const RefactorTree: (props: RefactorTreeProps) => JSX.Element;
39
- export default RefactorTree;
@@ -1,204 +0,0 @@
1
- import "antd/es/empty/style";
2
- import _Empty from "antd/es/empty";
3
- import "antd/es/popconfirm/style";
4
- import _Popconfirm from "antd/es/popconfirm";
5
- import "antd/es/tree/style";
6
- import _Tree from "antd/es/tree";
7
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
8
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
11
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
- import { __rest } from "tslib";
14
- // 重构树控件,可直接配置数据
15
- import React, { useEffect, useState } from 'react';
16
- import SpecIcon from '../SpecIcon/index';
17
- var TreeNode = _Tree.TreeNode;
18
- import './style/index.less';
19
- var RefactorTree = function RefactorTree(props) {
20
- var treeData = props.treeData,
21
- rootName = props.rootName,
22
- rootKey = props.rootKey,
23
- rootIcon = props.rootIcon,
24
- emptyDescription = props.emptyDescription,
25
- _props$optionName = props.optionName,
26
- optionName = _props$optionName === void 0 ? {
27
- value: 'value',
28
- title: 'title',
29
- children: 'children',
30
- disabled: 'disabled'
31
- } : _props$optionName,
32
- defaultSelectedKeys = props.defaultSelectedKeys,
33
- nodeItemReset = props.nodeItemReset,
34
- nodeExtra = props.nodeExtra,
35
- _props$selectable = props.selectable,
36
- selectable = _props$selectable === void 0 ? true : _props$selectable,
37
- nodeControl = props.nodeControl,
38
- limitKey = props.limitKey,
39
- checkedKeys = props.checkedKeys,
40
- checkStrictly = props.checkStrictly,
41
- onSelect = props.onSelect,
42
- onCheck = props.onCheck,
43
- otherProps = __rest(props, ["treeData", "rootName", "rootKey", "rootIcon", "emptyDescription", "optionName", "defaultSelectedKeys", "nodeItemReset", "nodeExtra", "selectable", "nodeControl", "limitKey", "checkedKeys", "checkStrictly", "onSelect", "onCheck"]); // 重新组合指定数据源字段 (limitKey:用于限制只能选择指定同一层级的数据)
44
- // const { title, value, children, disabled } = { value: 'value', title: 'title', children: 'children', disabled: 'disabled', ...optionName }
45
- var _useState = useState([]),
46
- _useState2 = _slicedToArray(_useState, 2),
47
- dataList = _useState2[0],
48
- setDataList = _useState2[1]; // 限制节点选中条件下更新列表数据
49
- var resetDataWithLimit = function resetDataWithLimit(hasKeys, list, resultList) {
50
- // 利用ID匹配对应选中的完整节点数据
51
- var filterCheckedNode = function filterCheckedNode(ids, preList, matchList) {
52
- if (Array.isArray(preList) && preList.length > 0) {
53
- preList.forEach(function (item, i) {
54
- if (ids.includes(item[optionName.value])) {
55
- matchList.push(Object.assign({}, item));
56
- }
57
- filterCheckedNode(ids, item[optionName.children || 'children'], matchList);
58
- });
59
- }
60
- };
61
- // 筛选同一层级可选择,其他层级数据不可选择(限制按指定字段名的层级数据)
62
- var filterResetSameLevel = function filterResetSameLevel(preList, resData, matchData) {
63
- if (Array.isArray(preList) && preList.length > 0) {
64
- preList.forEach(function (item, i) {
65
- resData[i] = Object.assign({}, item);
66
- resData[i].isLimit = item[limitKey] !== matchData; // [limitKey];
67
- var newDeepArr = [];
68
- filterResetSameLevel(item[optionName.children || 'children'], newDeepArr, matchData);
69
- resData[i][optionName.children || 'children'] = newDeepArr;
70
- });
71
- }
72
- };
73
- var matchItems = [];
74
- filterCheckedNode(hasKeys, list, matchItems); // 先筛选出来选中节点的数据,取其中的 level 层级的值(数据必须保证同级类型值一致)
75
- if (matchItems.length > 0) {
76
- filterResetSameLevel(list, resultList, matchItems[0][limitKey]);
77
- }
78
- };
79
- useEffect(function () {
80
- // 有配置limitKey指定限制同级节点时,添加判断节点选择限制(在父子节点不相关联条件下使用checkStrictly=true)
81
- if (checkStrictly && limitKey && checkedKeys) {
82
- if (Array.isArray(checkedKeys) && checkedKeys.length > 0 || checkedKeys && Array.isArray(checkedKeys.checked) && checkedKeys.checked.length > 0) {
83
- var resetList = [];
84
- resetDataWithLimit(Array.isArray(checkedKeys) ? checkedKeys : checkedKeys.checked, treeData, resetList);
85
- setDataList(resetList);
86
- } else {
87
- setDataList(treeData || []);
88
- }
89
- } else {
90
- setDataList(treeData || []); // 默认状态直接赋值传进来的数据
91
- }
92
- }, [treeData, checkedKeys]);
93
- var handleToSelectTreeNode = function handleToSelectTreeNode(key, e) {
94
- var currentData = e.node.dataRef;
95
- var multiSelectedData = [];
96
- e.selectedNodes.map(function (item) {
97
- return multiSelectedData.push(item.dataRef);
98
- }); // 多选条件下,当前选中所有节点数据
99
- onSelect && onSelect(key, {
100
- currentData: currentData,
101
- multiData: multiSelectedData
102
- }, e);
103
- };
104
- var handleToCheckTreeNode = function handleToCheckTreeNode(keys, e) {
105
- var currentData = e.node.dataRef;
106
- var multiCheckedData = [];
107
- e.checkedNodes.map(function (item) {
108
- return multiCheckedData.push(item.dataRef);
109
- }); // 多选条件下,当前选中所有节点数据
110
- onCheck && onCheck(keys, {
111
- currentData: currentData,
112
- multiData: multiCheckedData
113
- }, e);
114
- };
115
- var handleNodeControl = function handleNodeControl(e, type, nodeData) {
116
- e.stopPropagation();
117
- var onEdit = nodeControl.onEdit,
118
- onDelete = nodeControl.onDelete;
119
- if (type === 'edit') {
120
- onEdit && onEdit(nodeData);
121
- }
122
- if (type === 'delete') {
123
- onDelete && onDelete(nodeData);
124
- }
125
- };
126
- // const <Icon type={selected ? 'frown' : 'frown-o'} />
127
- var renderNodeTitle = function renderNodeTitle(item) {
128
- return /*#__PURE__*/React.createElement(React.Fragment, null, nodeItemReset && nodeItemReset(item).icon || (item.icon ? /*#__PURE__*/React.createElement(SpecIcon, {
129
- name: item.icon
130
- }) : null), " ", item[optionName.title || 'title'], nodeControl ? /*#__PURE__*/React.createElement("span", {
131
- className: "treeControl"
132
- }, /*#__PURE__*/React.createElement("a", {
133
- onClick: function onClick(e) {
134
- handleNodeControl(e, 'edit', item);
135
- }
136
- }, /*#__PURE__*/React.createElement(SpecIcon, {
137
- name: 'edit'
138
- })), /*#__PURE__*/React.createElement(_Popconfirm, {
139
- placement: 'top',
140
- title: "\u786E\u5B9A\u8981\u5220\u9664\uFF1A".concat(item[optionName.title || 'title'], "\u5417\uFF1F"),
141
- icon: /*#__PURE__*/React.createElement(SpecIcon, {
142
- name: "question"
143
- }),
144
- onConfirm: function onConfirm(e) {
145
- handleNodeControl(e, 'delete', item);
146
- }
147
- }, /*#__PURE__*/React.createElement("a", {
148
- onClick: function onClick(e) {
149
- return e.stopPropagation();
150
- }
151
- }, /*#__PURE__*/React.createElement(SpecIcon, {
152
- name: 'delete'
153
- })))) : null, nodeExtra && nodeExtra);
154
- };
155
- var renderTreeNodes = function renderTreeNodes(data) {
156
- return data.map(function (item) {
157
- if (item[optionName.children || 'children']) {
158
- return /*#__PURE__*/React.createElement(TreeNode, Object.assign({}, item, {
159
- title: renderNodeTitle(item),
160
- key: item[optionName.value || 'value'],
161
- className: selectable ? '' : "notPointer",
162
- disabled: item.isLimit || nodeItemReset && nodeItemReset(item).disabled || item[optionName.disabled || 'disabled'],
163
- dataRef: item
164
- }), renderTreeNodes(item[optionName.children || 'children']));
165
- }
166
- return /*#__PURE__*/React.createElement(TreeNode, Object.assign({}, item, {
167
- title: renderNodeTitle(item),
168
- key: item[optionName.value || 'value'],
169
- className: selectable ? '' : "notPointer",
170
- disabled: item.isLimit || nodeItemReset && nodeItemReset(item).disabled || item[optionName.disabled || 'disabled'],
171
- dataRef: item
172
- }));
173
- });
174
- };
175
- if (dataList.length == 0 && !rootName) return /*#__PURE__*/React.createElement(_Empty, {
176
- image: _Empty.PRESENTED_IMAGE_SIMPLE,
177
- description: emptyDescription
178
- });
179
- var defExpand = [];
180
- if (defaultSelectedKeys && defaultSelectedKeys.length > 0) {
181
- defExpand = defaultSelectedKeys;
182
- } else {
183
- defExpand = rootKey ? [rootKey] : ['0'];
184
- }
185
- return /*#__PURE__*/React.createElement(_Tree, Object.assign({}, otherProps, {
186
- onSelect: function onSelect(keys, e) {
187
- return handleToSelectTreeNode(keys, e);
188
- },
189
- onCheck: function onCheck(keys, e) {
190
- return handleToCheckTreeNode(keys, e);
191
- },
192
- defaultExpandedKeys: defExpand,
193
- defaultSelectedKeys: defaultSelectedKeys,
194
- selectable: selectable,
195
- checkedKeys: checkedKeys,
196
- checkStrictly: checkStrictly
197
- }), rootName ? /*#__PURE__*/React.createElement(TreeNode, {
198
- title: rootName,
199
- key: rootKey || '0',
200
- className: selectable ? '' : "notPointer",
201
- icon: rootIcon || null
202
- }, renderTreeNodes(dataList)) : renderTreeNodes(dataList));
203
- };
204
- export default RefactorTree;
@@ -1,213 +0,0 @@
1
- @font-face {font-family: "specifont";
2
- src: url('../fonts/iconfont.eot?t=1614592279718'); /* IE9 */
3
- src: url('../fonts/iconfont.eot?t=1614592279718#iefix') format('embedded-opentype'), /* IE6-IE8 */
4
- url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABZ4AAsAAAAALBQAABYpAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCJUAq/SLM2ATYC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B/JUT1wBpLY6xaYmxaYCjEOumCo3Fv8AAA==') format('woff2'),
5
- url('../fonts/iconfont.woff?t=1614592279718') format('woff'),
6
- url('../fonts/iconfont.ttf?t=1614592279718') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
7
- url('../fonts/iconfont.svg?t=1614592279718#specifont') format('svg'); /* iOS 4.1- */
8
- }
9
-
10
- .specifont {
11
- font-family: "specifont" !important;
12
- font-size: 16px;
13
- font-style: normal;
14
- -webkit-font-smoothing: antialiased;
15
- -moz-osx-font-smoothing: grayscale;
16
- }
17
-
18
- .speci-caretright:before {
19
- content: "\e608";
20
- }
21
-
22
- .speci-caretleft:before {
23
- content: "\e60a";
24
- }
25
-
26
- .speci-caretdown:before {
27
- content: "\e607";
28
- }
29
-
30
- .speci-caretup:before {
31
- content: "\e616";
32
- }
33
-
34
- .speci-edit:before {
35
- content: "\e66e";
36
- }
37
-
38
- .speci-issue:before {
39
- content: "\e6d0";
40
- }
41
-
42
- .speci-redo:before {
43
- content: "\e6e2";
44
- }
45
-
46
- .speci-revoke:before {
47
- content: "\e6f3";
48
- }
49
-
50
- .speci-clean:before {
51
- content: "\e946";
52
- }
53
-
54
- .speci-refresh:before {
55
- content: "\e605";
56
- }
57
-
58
- .speci-assign:before {
59
- content: "\e667";
60
- }
61
-
62
- .speci-detail:before {
63
- content: "\e611";
64
- }
65
-
66
- .speci-eye:before {
67
- content: "\e602";
68
- }
69
-
70
- .speci-user-o:before {
71
- content: "\e665";
72
- }
73
-
74
- .speci-exit:before {
75
- content: "\e673";
76
- }
77
-
78
- .speci-exchange:before {
79
- content: "\e606";
80
- }
81
-
82
- .speci-role-ex:before {
83
- content: "\e666";
84
- }
85
-
86
- .speci-menu:before {
87
- content: "\e609";
88
- }
89
-
90
- .speci-folder:before {
91
- content: "\e7eb";
92
- }
93
-
94
- .speci-upload:before {
95
- content: "\e63b";
96
- }
97
-
98
- .speci-download:before {
99
- content: "\e661";
100
- }
101
-
102
- .speci-minus-fill:before {
103
- content: "\e63a";
104
- }
105
-
106
- .speci-minus-o:before {
107
- content: "\e638";
108
- }
109
-
110
- .speci-warn-fill:before {
111
- content: "\e662";
112
- }
113
-
114
- .speci-warn:before {
115
- content: "\e664";
116
- }
117
-
118
- .speci-question-fill:before {
119
- content: "\e690";
120
- }
121
-
122
- .speci-question:before {
123
- content: "\e691";
124
- }
125
-
126
- .speci-setting-fill:before {
127
- content: "\e604";
128
- }
129
-
130
- .speci-delete:before {
131
- content: "\e74b";
132
- }
133
-
134
- .speci-setting:before {
135
- content: "\e74c";
136
- }
137
-
138
- .speci-search:before {
139
- content: "\e752";
140
- }
141
-
142
- .speci-close:before {
143
- content: "\e723";
144
- }
145
-
146
- .speci-close-fill:before {
147
- content: "\e724";
148
- }
149
-
150
- .speci-close-o:before {
151
- content: "\e725";
152
- }
153
-
154
- .speci-plus-o:before {
155
- content: "\e726";
156
- }
157
-
158
- .speci-plus:before {
159
- content: "\e727";
160
- }
161
-
162
- .speci-plus-fill:before {
163
- content: "\e728";
164
- }
165
-
166
- .speci-minus:before {
167
- content: "\e729";
168
- }
169
-
170
- .speci-info-fill:before {
171
- content: "\e72a";
172
- }
173
-
174
- .speci-info:before {
175
- content: "\e72b";
176
- }
177
-
178
- .speci-check-o:before {
179
- content: "\e72e";
180
- }
181
-
182
- .speci-check-fill:before {
183
- content: "\e730";
184
- }
185
-
186
- .speci-check:before {
187
- content: "\e731";
188
- }
189
-
190
- .speci-up:before {
191
- content: "\e76e";
192
- }
193
-
194
- .speci-down:before {
195
- content: "\e772";
196
- }
197
-
198
- .speci-right:before {
199
- content: "\e775";
200
- }
201
-
202
- .speci-left:before {
203
- content: "\e779";
204
- }
205
-
206
- .speci-user:before {
207
- content: "\e639";
208
- }
209
-
210
- .speci-password:before {
211
- content: "\e60f";
212
- }
213
-
@@ -1,98 +0,0 @@
1
- @root-entry-name: default;
2
- @import (reference) '~antd/es/style/themes/index';
3
- @import '../style/iconfont.less';
4
-
5
- .spec-icon {
6
- color: @text-color;
7
- }
8
-
9
- .specicon {
10
- color: @text-color;
11
- display: inline-block;
12
- color: inherit;
13
- font-size: 16px;
14
- font-style: normal;
15
- //line-height: 0;
16
- text-align: center;
17
- text-transform: none;
18
- vertical-align: -0.125em;
19
- text-rendering: optimizeLegibility;
20
- -webkit-font-smoothing: antialiased;
21
- -moz-osx-font-smoothing: grayscale;
22
- }
23
-
24
- .specicon.speci- * {
25
- &:before {
26
- content: none
27
- }
28
- }
29
-
30
- .specicon > svg {
31
- //display: inline-block;
32
- //vertical-align: inherit;
33
- /////* 通过设置 font-size 来改变图标大小 */
34
- //width: 1em;
35
- //vertical-align: -0.15em;
36
- //fill: currentColor;
37
- //overflow: hidden;
38
- }
39
-
40
- .specicon-font{
41
- &.anticon:before {
42
- display: inline-block;
43
- }
44
- }
45
-
46
- // 图形外部圆角样式
47
- .mixinSvgRound(@status; @status-color) {
48
- &.is-@{status} {
49
- border-color: @status-color;
50
-
51
- i {
52
- background: @status-color;
53
- }
54
- }
55
- }
56
-
57
- // 图形填充色
58
- .mixinSvgFill(@status; @status-color) {
59
- &.is-@{status} {
60
- color: @status-color;
61
- svg {
62
- fill: @status-color;
63
- }
64
- }
65
- }
66
-
67
- .specicon-round {
68
- display: inline-block;
69
- padding: 2px;
70
- vertical-align: middle;
71
- border: 1px solid transparent;
72
- border-radius: 50%;
73
- line-height: 0;
74
- .specicon {
75
- border-radius: 50%;
76
- //box-shadow: 0px 0px 3px 1px rgba(6, 36, 95, 0.46);
77
- svg {
78
- padding: .2em;
79
- fill: #fff;
80
- }
81
- }
82
- .mixinSvgRound(normal, @info-color);
83
- .mixinSvgRound(success, @success-color);
84
- .mixinSvgRound(error, @error-color);
85
- .mixinSvgRound(warning, @warning-color);
86
- .mixinSvgRound(offline, #6F8FC2);
87
- .mixinSvgRound(disabled, @disabled-color);
88
- }
89
-
90
- .spec-icon,
91
- .specicon {
92
- .mixinSvgFill(normal, @info-color);
93
- .mixinSvgFill(success, @success-color);
94
- .mixinSvgFill(error, @error-color);
95
- .mixinSvgFill(warning, @warning-color);
96
- .mixinSvgFill(offline, #6F8FC2);
97
- .mixinSvgFill(disabled, @disabled-color);
98
- }