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
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ ## 通用组件库 4.x
2
+
3
+ * 业务开发项目中使用的通用组件
4
+ * 基于 antd5.x ,进行再次封装的组件包
5
+ * 支持typescript
6
+ * 主题样式调整为'css-in-js'
7
+
8
+ ### 安装
9
+ ```
10
+ $ npm install fan-standard-comp --save
11
+ ```
12
+ 或
13
+ ```
14
+ $ yarn add fan-standard-comp
15
+ ```
@@ -0,0 +1 @@
1
+ .nav-leaf{height:100%;width:110px}.nav-leaf *{box-sizing:border-box}.nav-leaf.nav-leaf-horizontal{width:100%}.nav-leaf.nav-leaf-horizontal .nav-leaf-container.nav-leaf-container-scroll{padding:0 30px}.nav-leaf .nav-leaf-container{zoom:1;box-sizing:border-box;font-size:16px;height:100%;line-height:1.6;margin-bottom:-1px;overflow:hidden;position:relative;white-space:nowrap;width:100%}.nav-leaf .nav-leaf-container.nav-leaf-container-scroll{overflow:hidden;padding:32px 0;white-space:nowrap}.nav-leaf .nav-leaf-wrap{height:100%;overflow:hidden}.nav-leaf.nav-leaf-horizontal .nav-leaf-item{border-bottom-right-radius:20px;border-top-right-radius:20px;display:inline-block;text-align:center}.nav-leaf.nav-leaf-horizontal .nav-leaf-nav{width:inherit}.nav-leaf .nav-leaf-nav{box-sizing:border-box;display:inline-block;margin:0;padding-left:0;position:relative;width:100%}.nav-leaf .nav-leaf-arrow{cursor:pointer;height:32px;position:absolute;text-align:center;width:100%}.nav-leaf .nav-leaf-arrow.is-hide{display:none}.nav-leaf .nav-leaf-arrow.is-disabled{cursor:not-allowed!important}.nav-leaf .nav-leaf-arrow.nav-leaf-btn-left{height:auto;left:0;top:50%;transform:translateY(-50%);width:30px}.nav-leaf .nav-leaf-arrow.nav-leaf-btn-right{height:auto;right:0;top:50%;transform:translateY(-50%);width:30px}.nav-leaf .nav-leaf-arrow.nav-leaf-btn-prev{left:0;top:0}.nav-leaf .nav-leaf-arrow.nav-leaf-btn-next{bottom:0;left:0}.nav-leaf .nav-leaf-item{border-bottom-left-radius:20px;border-top-left-radius:20px;cursor:pointer;height:40px;line-height:30px;padding:5px 10px}.nav-leaf .nav-leaf-item .leaf-title{display:inline-block;min-width:30px}.nav-leaf .nav-leaf-item .leaf-extra{display:inline-block;margin-left:4px;position:relative;text-align:center;width:18px}.nav-leaf .nav-leaf-item .leaf-extra .warning-count{left:20px;position:absolute;top:-1px}.nav-leaf .nav-leaf-empty{left:-10px;position:absolute;top:-25px;width:100%}.themeTech .nav-leaf .nav-leaf-item.is-active{background:#10343a}.spec-wrapper-content{box-sizing:border-box;height:100%;overflow:auto;position:relative}.spec-wrapper-content *{box-sizing:border-box}.spec-wrapper-content .light-block{height:100%}.spec-grid-content{background:transparent;display:flex;height:100%;position:relative}.spec-grid-content,.spec-grid-content *{box-sizing:border-box}.spec-grid-content .spec-grid-left{height:100%;overflow-y:auto}.spec-grid-content .spec-grid-left .ant-tree,.spec-grid-content .spec-grid-left .ant-tree-list{max-height:100%}.spec-grid-content .spec-grid-right{flex:1 1;height:100%;overflow-y:auto}.splitter-layout{display:flex;flex-direction:row;height:100%;overflow:hidden;position:relative;width:100%}.spec-grid-content .splitter-layout .layout-pane,.splitter-layout .layout-pane{flex:0 0 auto;overflow:auto;position:relative}.spec-grid-content .splitter-layout .layout-pane.layout-pane-primary,.splitter-layout .layout-pane.layout-pane-primary{flex:1 1 auto}.splitter-layout>.layout-splitter{background-color:transparent;cursor:col-resize;flex:0 0 auto;height:100%;width:4px}.splitter-layout>.layout-splitter-horizontal{margin-bottom:-9999px;padding-bottom:9999px}.splitter-layout .layout-splitter:hover{background-color:rgba(0,0,0,.1)}.splitter-layout.layout-changing{cursor:col-resize}.splitter-layout.layout-changing>.layout-splitter{background-color:rgba(0,0,0,.1)}.splitter-layout.splitter-layout-vertical{flex-direction:column;height:150px}.splitter-layout.splitter-layout-vertical.layout-changing{cursor:row-resize}.splitter-layout.splitter-layout-vertical>.layout-splitter{cursor:row-resize;height:4px;width:100%}.spec-panel.spec-panel-border{box-shadow:none}.spec-panel.spec-panel-border .spec-panel-header{height:32px;line-height:32px;padding:0}.spec-panel.spec-panel-border .spec-panel-header .spec-panel-title{padding:0;width:100%}.spec-panel.spec-panel-reverse .spec-panel-header{border-top-left-radius:4px;border-top-right-radius:4px;height:32px;line-height:32px}.spec-panel .spec-panel-header{display:flex;line-height:32px}.spec-panel .spec-panel-header .spec-panel-inner{flex:1 1}.spec-panel .spec-panel-header .badges{display:inline-block;height:20px;line-height:20px;padding-left:80px;vertical-align:middle}.spec-panel .spec-panel-header .badges .badges-item{position:relative}.spec-panel .spec-panel-header .badges .badges-item i{border-radius:4px;display:inline-block;height:14px;left:0;position:absolute;top:50%;transform:translateY(-50%);width:14px}.spec-panel .spec-panel-header .spec-panel-cate .ant-radio-button-wrapper{border:0;border-bottom:2px solid transparent;border-radius:0;text-align:center}.spec-panel .spec-panel-header .spec-panel-cate .ant-radio-button-wrapper:before{display:none}.spec-panel .spec-panel-header .spec-panel-cate .ant-radio-button-wrapper:active,.spec-panel .spec-panel-header .spec-panel-cate .ant-radio-button-wrapper:focus,.spec-panel .spec-panel-header .spec-panel-cate .ant-radio-button-wrapper:visited{box-shadow:none}.spec-panel .spec-panel-header .spec-panel-cate .ant-radio-button-wrapper:focus-within{outline:none}.spec-panel .spec-panel-header .spec-panel-cate .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){background:none;box-shadow:none}.spec-panel .spec-panel-header .spec-panel-cate+.spec-panel-buttons{margin-left:80px}.spec-panel .spec-panel-header .spec-panel-buttons .ant-radio-button-wrapper{text-align:center}.spec-panel .spec-panel-header .spec-panel-buttons .ant-radio-button-wrapper:before{display:none}.spec-panel .spec-panel-header .spec-panel-buttons .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){box-shadow:none}.standard-table .ant-table-middle~.ant-table-pagination{margin-bottom:0;margin-top:8px}.standard-table .spec-pagination{border-radius:0;margin-bottom:0;margin-top:0;text-align:right;width:100%}.standard-table .spec-pagination .ant-pagination-total-text{float:left}.standard-table .spec-pagination .ant-pagination-options-size-changer.ant-select{margin-right:0}.standard-table.ant-card{box-shadow:none}.standard-table .ant-card-head{border-bottom:0;padding:0}.standard-table .ant-card-body{background:transparent;padding:0}.standard-table .ant-table-wrapper .ant-table-container table>thead>tr:first-child>:first-child,.standard-table .ant-table-wrapper .ant-table-container table>thead>tr:first-child>:last-child{border-radius:0}.standard-table .ant-table-tbody{background:transparent}.standard-table .ant-table-fixed-left .ant-table-thead>tr>th:first-child{padding:0}.standard-table .spec-table-dropdown li a[disabled]{cursor:not-allowed;pointer-events:none}.themeTech .standard-table .spec-pagination{background:transparent}.spec-pagination .ant-pagination-total-text{float:left}.ant-table table>.ant-table-thead>tr>th{border-bottom:0;font-weight:700}.ant-table table .ant-table-tbody>tr>td:first-child{border-left:1px solid transparent}.ant-table table .ant-table-tbody>tr>td:last-child{border-right:1px solid transparent}.ant-table table .ant-table-tbody>tr.ant-table-row-hover:not(.ant-table-expanded-row)>td,.ant-table table .ant-table-tbody>tr:hover:not(.ant-table-expanded-row)>td,.ant-table table .ant-table-thead>tr.ant-table-row-hover:not(.ant-table-expanded-row)>td,.ant-table table .ant-table-thead>tr:hover:not(.ant-table-expanded-row)>td{position:relative}.ant-table table .ant-table-tbody>tr.ant-table-row-hover:not(.ant-table-expanded-row)>td:before,.ant-table table .ant-table-tbody>tr:hover:not(.ant-table-expanded-row)>td:before,.ant-table table .ant-table-thead>tr.ant-table-row-hover:not(.ant-table-expanded-row)>td:before,.ant-table table .ant-table-thead>tr:hover:not(.ant-table-expanded-row)>td:before{content:"";display:inline-block;left:0;position:absolute;top:0;width:100%}.ant-table table .ant-table-expand-icon-th,.ant-table table .ant-table-row-expand-icon-cell{min-width:40px!important;text-align:center;width:40px}.ant-table.ant-table-small>.ant-table-content>.ant-table-body{margin:0}.ant-table.ant-table-small>.ant-table-content>.ant-table-body>table{font-size:14px}.ant-table.ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th{font-weight:700}.ant-table.ant-table-small .ant-empty-normal{margin:0}.standardForm.ant-form-inline .ant-form-item-explain,.standardForm.ant-form-inline .ant-form-item-extra{position:absolute}.standardForm.ant-form-inline .ant-slider{min-width:100px}.standardForm.ant-form-horizontal .ant-form-item-label{white-space:inherit}.standardForm.ant-form-horizontal .ant-form-item-label>label{height:auto}.standardForm.ant-form-horizontal .ant-form-item-label>label.ant-form-item-required{padding-left:8px}.standardForm.ant-form-horizontal .ant-form-item-label>label.ant-form-item-required:before{left:1px;margin-right:0;position:absolute}.standardForm .standardForm-actions .ant-btn+.ant-btn{margin-left:8px}.standardForm .stepForm-content-inline,.standardForm .tabForm-content-inline{display:flex;flex-wrap:wrap}.standardForm .stepForm-content-inline .ant-select,.standardForm .tabForm-content-inline .ant-select{min-width:100px}.standardModal .modalForm.ant-form-horizontal .ant-form-item-label{white-space:inherit}.standardModal .modalForm.ant-form-horizontal .ant-form-item-label>label{height:auto}.standardModal .modalForm.ant-form-horizontal .ant-form-item-label>label.ant-form-item-required:before{margin-right:2px}.modalPanelTitle{font-weight:700;height:32px;line-height:32px}.ant-form-item.form-item-view-only{margin-bottom:0}.ant-picker-range-separator{padding:0 2px}.modal-grid-title,.modalGridTitle{height:32px;line-height:32px;position:relative}.modal-grid-title.modalPanelTitle,.modalGridTitle.modalPanelTitle{border-bottom:0}.modal-grid-title:before,.modalGridTitle:before{content:"";display:inline-block;height:18px;left:0;position:absolute;top:50%;transform:translateY(-50%)}.refactor-tree-select{position:relative;width:100%}.refactor-tree-select *{box-sizing:border-box}.refactor-tree-select.refactor-tree-select-sm .refactor-tree-select-extra{height:22px;line-height:20px}.refactor-tree-select .ant-select{z-index:2}.refactor-tree-select .ant-select .ant-select-selector{background:transparent!important}.refactor-tree-select .ant-select .ant-select-selection-item{display:none}.refactor-tree-select .ant-select.ant-select-disabled.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background:transparent}.refactor-tree-select .refactor-tree-select-extra{bottom:0;left:0;line-height:30px;overflow:hidden;padding:1px 22px 1px 8px;position:absolute;text-overflow:ellipsis;top:0;white-space:nowrap;width:100%;z-index:1}.spec-uploader-viewonly{display:inline-block;width:100%}.spec-uploader-viewonly:after{clear:both;content:"";display:table}.spec-uploader-viewonly .spec-uploader-viewonly-item{background:transparent;float:left;height:100px;line-height:88px;text-align:center;width:100px}.spec-uploader-viewonly .spec-uploader-viewonly-item img{height:100%;width:100%}.spec-uploader-viewonly .ant-image+.ant-image{margin-left:5px}.tree-select-viewonly-list{position:relative;width:100%}.tree-select-viewonly-list.collapsed{padding-bottom:28px}.tree-select-viewonly-list .tree-select-viewonly-item b{font-size:18px}.tree-select-viewonly-list .toggle-icon{bottom:0;cursor:pointer;height:28px;left:0;line-height:28px;position:absolute;text-align:center;width:100%}.checkbox-viewonly-item{display:inline}.upload-viewonly .ant-upload-select.ant-upload-disabled{display:none}.form-item-view-only .ant-form-item-control-input-content{word-break:break-all}.filter-grid{display:flex;flex-wrap:wrap;width:100%}.filter-grid.filter-grid-horizontal .filter-form{width:100%}.filter-grid.filter-grid-horizontal .filter-form>.ant-row{width:100%}.filter-grid.filter-grid-horizontal .filter-btns{text-align:left;width:100%}.filter-grid.filter-grid-horizontal .filter-btns .spec-button-group{padding-left:0}.filter-grid.filter-grid-horizontal .filter-btns .spec-button-group .ant-btn:first-child{margin-left:0}.filter-grid .filter-form{display:flex;flex:1 1;flex-wrap:wrap;font-size:0}.filter-grid .filter-form.filter-form-vertical{display:block}.filter-grid .filter-form.filter-form-horizontal .ant-form-item,.filter-grid .filter-form.filter-form-vertical .ant-form-item{margin-right:0}.filter-grid .filter-form .ant-form-item .ant-form-item{margin-bottom:0}.filter-grid.filter-grid-inline .filter-form+.filter-btns .spec-button-group{padding-left:80px}.filter-grid .filter-btns{text-align:right}.ant-design-draggable-modal{overflow:hidden!important;pointer-events:none}.ant-design-draggable-modal .ant-modal{display:flex;max-width:none;transform-origin:50% 50%!important}.ant-design-draggable-modal .ant-modal-content{display:flex;flex:1 1;flex-direction:column}.ant-design-draggable-modal .ant-modal-header{flex:0 1;padding:0}.ant-design-draggable-modal .ant-modal-footer{flex:0 1;padding:16px}.ant-design-draggable-modal .ant-design-draggable-modal-title{cursor:move;padding:16px}.ant-design-draggable-modal .ant-design-draggable-modal-title:before{content:"\00a0"}.ant-design-draggable-modal .ant-modal-body{flex:1 1;overflow-y:auto;padding:16px}.ant-design-draggable-modal-resize-handle-inner{border:2px solid grey;border-left:0;border-top:0;bottom:14px;height:12px;position:absolute;right:14px;width:12px}.ant-design-draggable-modal-resize-handle{bottom:-10px;cursor:se-resize;height:44px;position:absolute;right:-10px;width:44px}