antd-management-fast-framework 1.12.103 → 2.1.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 (460) hide show
  1. package/es/components/ApplicationWrapper/index.d.ts +9 -0
  2. package/es/components/Bootstrap/index.d.ts +3 -0
  3. package/es/{customComponents → components}/DataPreviewDrawer/index.d.ts +5 -6
  4. package/es/{customComponents/Exception → components/LoadingOverlay}/index.d.ts +1 -3
  5. package/es/components/MobileContainor/MobileHtmlPreviewBox/index.d.ts +10 -0
  6. package/es/components/MobileContainor/MobilePreviewArea/index.d.ts +75 -0
  7. package/es/{customComponents → components}/MobileContainor/MobilePreviewDrawer/index.d.ts +8 -8
  8. package/es/components/MobileContainor/index.d.ts +8 -0
  9. package/es/components/index.d.ts +5 -0
  10. package/es/configs/index.d.ts +2 -0
  11. package/es/configs/themeCollection.d.ts +7 -0
  12. package/es/{configGroup → configs}/webpackPlugin.d.ts +0 -7
  13. package/es/framework/AuthorizationWrapper/index.d.ts +8 -5
  14. package/es/framework/ButtonExtension/SelectButton/Base/index.d.ts +5 -6
  15. package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.d.ts +6 -7
  16. package/es/framework/ButtonExtension/SelectButton/index.d.ts +6 -0
  17. package/es/framework/ButtonExtension/index.d.ts +1 -0
  18. package/es/framework/Common/InternalBuild/index.d.ts +26 -0
  19. package/es/framework/Common/InternalFlow/index.d.ts +149 -0
  20. package/es/framework/Common/InternalLayout/index.d.ts +9 -0
  21. package/es/framework/Common/InternalTabFlow/index.d.ts +12 -0
  22. package/es/framework/Common/index.d.ts +2 -205
  23. package/es/framework/Core/index.d.ts +17 -6
  24. package/es/framework/CustomWrapper/Supplement/index.d.ts +2 -3
  25. package/es/framework/CustomWrapper/SupplementCore/index.d.ts +2 -4
  26. package/es/framework/CustomWrapper/SupplementWrapper/index.d.ts +2 -3
  27. package/es/framework/CustomWrapper/index.d.ts +3 -0
  28. package/es/framework/DataDrawer/Base/index.d.ts +16 -18
  29. package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +3 -4
  30. package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +3 -4
  31. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +3 -4
  32. package/es/framework/DataDrawer/BaseSaveDrawer/index.d.ts +2 -3
  33. package/es/framework/DataDrawer/BaseUpdateDrawer/index.d.ts +2 -3
  34. package/es/framework/DataDrawer/index.d.ts +14 -0
  35. package/es/framework/DataForm/BaseAddForm/index.d.ts +7 -7
  36. package/es/framework/DataForm/BaseUpdateForm/index.d.ts +3 -4
  37. package/es/framework/DataForm/BaseUpdateFormContent/index.d.ts +2 -3
  38. package/es/framework/DataForm/BaseUpdateFormTab/index.d.ts +3 -3
  39. package/es/framework/DataForm/index.d.ts +10 -0
  40. package/es/framework/DataListView/Base/index.d.ts +38 -82
  41. package/es/framework/DataListView/BatchAction/index.d.ts +3 -3
  42. package/es/framework/DataListView/ColumnSetting/DndItem.d.ts +1 -2
  43. package/es/framework/DataListView/ColumnSetting/index.d.ts +1 -2
  44. package/es/framework/DataListView/DensityAction/index.d.ts +2 -3
  45. package/es/framework/DataListView/index.d.ts +10 -0
  46. package/es/framework/DataMenuContainer/index.d.ts +8 -10
  47. package/es/framework/DataModal/Base/index.d.ts +10 -12
  48. package/es/framework/DataModal/BaseAddModal/index.d.ts +2 -3
  49. package/es/framework/DataModal/BaseLoadModal/index.d.ts +3 -4
  50. package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +6 -6
  51. package/es/framework/DataModal/BaseSelectModal/index.d.ts +4 -4
  52. package/es/framework/DataModal/BaseUpdateModal/index.d.ts +2 -3
  53. package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +5 -5
  54. package/es/framework/DataModal/index.d.ts +16 -0
  55. package/es/framework/DataMultiPageView/InnerMultiPage/index.d.ts +3 -3
  56. package/es/framework/DataMultiPageView/MultiPage/index.d.ts +4 -3
  57. package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +19 -21
  58. package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +4 -5
  59. package/es/framework/DataMultiPageView/index.d.ts +10 -0
  60. package/es/framework/DataOperation/Base/index.d.ts +2 -3
  61. package/es/framework/DataOperation/BaseView/index.d.ts +2 -3
  62. package/es/framework/DataOperation/BaseWindow/index.d.ts +13 -14
  63. package/es/framework/DataOperation/index.d.ts +8 -0
  64. package/es/framework/DataSinglePageView/InnerSinglePage/index.d.ts +3 -3
  65. package/es/framework/DataSinglePageView/SinglePage/index.d.ts +9 -4
  66. package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +19 -21
  67. package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +4 -5
  68. package/es/framework/DataSinglePageView/index.d.ts +10 -0
  69. package/es/framework/DataSingleView/DataCore/index.d.ts +13 -40
  70. package/es/framework/DataSingleView/DataLoad/index.d.ts +5 -5
  71. package/es/framework/DataSingleView/index.d.ts +6 -0
  72. package/es/framework/DataTabContainer/index.d.ts +6 -29
  73. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.d.ts +6 -7
  74. package/es/framework/FieldExtension/SelectFieldDrawer/{SelectFieldDrawerBase → SelectFieldInteractiveBase}/index.d.ts +6 -7
  75. package/es/framework/FieldExtension/SelectFieldDrawer/index.d.ts +6 -0
  76. package/es/framework/FieldExtension/index.d.ts +4 -0
  77. package/es/framework/Wrapper/index.d.ts +2 -3
  78. package/es/framework/index.d.ts +17 -7
  79. package/es/index.css +12 -0
  80. package/es/index.d.ts +5 -1
  81. package/es/index.js +3 -8
  82. package/es/modelBuilders/index.d.ts +1 -0
  83. package/es/modelBuilders/schedulingControl.d.ts +68 -0
  84. package/es/services/schedulingControl.d.ts +4 -0
  85. package/es/utils/applicationListDataAssist.d.ts +4 -0
  86. package/es/utils/applicationListDataCacheAssist.d.ts +24 -0
  87. package/es/utils/bootstrap.d.ts +4 -0
  88. package/es/utils/configAssist.d.ts +1 -0
  89. package/es/utils/currentOperatorAssist.d.ts +5 -0
  90. package/es/utils/definition.d.ts +4 -0
  91. package/es/utils/index.d.ts +8 -0
  92. package/es/utils/layoutSettingAssist.d.ts +2 -0
  93. package/es/utils/metaDataAssist.d.ts +5 -0
  94. package/es/utils/schedulingControlAssist.d.ts +10 -0
  95. package/package.json +122 -195
  96. package/License.txt +0 -21
  97. package/README.md +0 -35
  98. package/es/configGroup/configGeneral.d.ts +0 -56
  99. package/es/configGroup/configGeneral.js +0 -143
  100. package/es/configGroup/themeCollection.d.ts +0 -29
  101. package/es/configGroup/themeCollection.js +0 -117
  102. package/es/configGroup/webpackPlugin.js +0 -166
  103. package/es/customComponents/AMap/UIPoiPicker.d.ts +0 -8
  104. package/es/customComponents/AMap/UIPoiPicker.js +0 -78
  105. package/es/customComponents/AMap/UIPositionPicker.d.ts +0 -8
  106. package/es/customComponents/AMap/UIPositionPicker.js +0 -87
  107. package/es/customComponents/ActiveChart/index.d.ts +0 -17
  108. package/es/customComponents/ActiveChart/index.js +0 -168
  109. package/es/customComponents/ActiveChart/index.less +0 -58
  110. package/es/customComponents/AnimalBox/FadeBox/index.d.ts +0 -14
  111. package/es/customComponents/AnimalBox/FadeBox/index.js +0 -82
  112. package/es/customComponents/AnimalBox/FadeBox/index.less +0 -61
  113. package/es/customComponents/AnimalBox/QueueBox/index.d.ts +0 -12
  114. package/es/customComponents/AnimalBox/QueueBox/index.js +0 -76
  115. package/es/customComponents/AnimalBox/QueueListBox/index.d.ts +0 -15
  116. package/es/customComponents/AnimalBox/QueueListBox/index.js +0 -117
  117. package/es/customComponents/AnimalBox/QueueListBox/index.less +0 -16
  118. package/es/customComponents/AnimalBox/RotateBox/index.d.ts +0 -14
  119. package/es/customComponents/AnimalBox/RotateBox/index.js +0 -85
  120. package/es/customComponents/ArticleListContent/index.d.ts +0 -10
  121. package/es/customComponents/ArticleListContent/index.js +0 -49
  122. package/es/customComponents/ArticleListContent/index.less +0 -41
  123. package/es/customComponents/AudioUpload/index.d.ts +0 -39
  124. package/es/customComponents/AudioUpload/index.js +0 -478
  125. package/es/customComponents/Authorized/Authorized.d.ts +0 -6
  126. package/es/customComponents/Authorized/Authorized.js +0 -33
  127. package/es/customComponents/Authorized/AuthorizedRoute.d.ts +0 -8
  128. package/es/customComponents/Authorized/AuthorizedRoute.js +0 -50
  129. package/es/customComponents/Authorized/CheckPermissions.d.ts +0 -11
  130. package/es/customComponents/Authorized/CheckPermissions.js +0 -106
  131. package/es/customComponents/Authorized/PromiseRender.d.ts +0 -13
  132. package/es/customComponents/Authorized/PromiseRender.js +0 -151
  133. package/es/customComponents/Authorized/Secured.d.ts +0 -18
  134. package/es/customComponents/Authorized/Secured.js +0 -95
  135. package/es/customComponents/Authorized/index.d.ts +0 -2
  136. package/es/customComponents/Authorized/index.js +0 -22
  137. package/es/customComponents/Authorized/renderAuthorize.d.ts +0 -3
  138. package/es/customComponents/Authorized/renderAuthorize.js +0 -37
  139. package/es/customComponents/AvatarList/index.d.ts +0 -17
  140. package/es/customComponents/AvatarList/index.js +0 -99
  141. package/es/customComponents/AvatarList/index.less +0 -53
  142. package/es/customComponents/AvatarList/index.test.d.ts +0 -1
  143. package/es/customComponents/Canvas/Bubbly/index.d.ts +0 -20
  144. package/es/customComponents/Canvas/Bubbly/index.js +0 -182
  145. package/es/customComponents/Canvas/Core/index.d.ts +0 -28
  146. package/es/customComponents/Canvas/Core/index.js +0 -163
  147. package/es/customComponents/Canvas/RadarScanning/index.d.ts +0 -20
  148. package/es/customComponents/Canvas/RadarScanning/index.js +0 -251
  149. package/es/customComponents/Canvas/Ribbon.7z +0 -0
  150. package/es/customComponents/Canvas/Spirit/index.d.ts +0 -23
  151. package/es/customComponents/Canvas/Spirit/index.js +0 -119
  152. package/es/customComponents/Canvas/index.d.ts +0 -12
  153. package/es/customComponents/Canvas/index.js +0 -27
  154. package/es/customComponents/CenterBox/index.d.ts +0 -7
  155. package/es/customComponents/CenterBox/index.js +0 -70
  156. package/es/customComponents/Charts/Bar/index.d.ts +0 -10
  157. package/es/customComponents/Charts/Bar/index.js +0 -129
  158. package/es/customComponents/Charts/ChartCard/index.d.ts +0 -8
  159. package/es/customComponents/Charts/ChartCard/index.js +0 -160
  160. package/es/customComponents/Charts/ChartCard/index.less +0 -90
  161. package/es/customComponents/Charts/Field/index.d.ts +0 -6
  162. package/es/customComponents/Charts/Field/index.js +0 -37
  163. package/es/customComponents/Charts/Field/index.less +0 -19
  164. package/es/customComponents/Charts/Gauge/index.d.ts +0 -2
  165. package/es/customComponents/Charts/Gauge/index.js +0 -185
  166. package/es/customComponents/Charts/MiniArea/index.d.ts +0 -2
  167. package/es/customComponents/Charts/MiniArea/index.js +0 -107
  168. package/es/customComponents/Charts/MiniBar/index.d.ts +0 -2
  169. package/es/customComponents/Charts/MiniBar/index.js +0 -62
  170. package/es/customComponents/Charts/MiniProgress/index.d.ts +0 -8
  171. package/es/customComponents/Charts/MiniProgress/index.js +0 -55
  172. package/es/customComponents/Charts/MiniProgress/index.less +0 -42
  173. package/es/customComponents/Charts/Pie/index.d.ts +0 -10
  174. package/es/customComponents/Charts/Pie/index.js +0 -195
  175. package/es/customComponents/Charts/Pie/index.less +0 -104
  176. package/es/customComponents/Charts/TagCloud/index.d.ts +0 -23
  177. package/es/customComponents/Charts/TagCloud/index.js +0 -276
  178. package/es/customComponents/Charts/TagCloud/index.less +0 -7
  179. package/es/customComponents/Charts/TimelineChart/index.d.ts +0 -2
  180. package/es/customComponents/Charts/TimelineChart/index.js +0 -173
  181. package/es/customComponents/Charts/TimelineChart/index.less +0 -5
  182. package/es/customComponents/Charts/WaterWave/index.d.ts +0 -18
  183. package/es/customComponents/Charts/WaterWave/index.js +0 -319
  184. package/es/customComponents/Charts/WaterWave/index.less +0 -32
  185. package/es/customComponents/Charts/autoHeight.d.ts +0 -13
  186. package/es/customComponents/Charts/autoHeight.js +0 -123
  187. package/es/customComponents/Charts/bizcharts.d.ts +0 -2
  188. package/es/customComponents/Charts/bizcharts.js +0 -17
  189. package/es/customComponents/Charts/index.d.ts +0 -27
  190. package/es/customComponents/Charts/index.js +0 -119
  191. package/es/customComponents/Charts/index.less +0 -26
  192. package/es/customComponents/ColorText/index.d.ts +0 -22
  193. package/es/customComponents/ColorText/index.js +0 -139
  194. package/es/customComponents/Countdown/index.d.ts +0 -22
  195. package/es/customComponents/Countdown/index.js +0 -158
  196. package/es/customComponents/Countdown/index.less +0 -5
  197. package/es/customComponents/DataPreviewDrawer/index.js +0 -178
  198. package/es/customComponents/DataPreviewDrawer/index.less +0 -10
  199. package/es/customComponents/DecorateAvatar/index.d.ts +0 -37
  200. package/es/customComponents/DecorateAvatar/index.js +0 -199
  201. package/es/customComponents/DisplayCopyData/index.d.ts +0 -10
  202. package/es/customComponents/DisplayCopyData/index.js +0 -86
  203. package/es/customComponents/EditableItem/index.d.ts +0 -12
  204. package/es/customComponents/EditableItem/index.js +0 -121
  205. package/es/customComponents/EditableItem/index.less +0 -25
  206. package/es/customComponents/EditableLinkGroup/index.d.ts +0 -23
  207. package/es/customComponents/EditableLinkGroup/index.js +0 -99
  208. package/es/customComponents/EditableLinkGroup/index.less +0 -18
  209. package/es/customComponents/Editor/TinymceWrapper/index.d.ts +0 -19
  210. package/es/customComponents/Editor/TinymceWrapper/index.js +0 -254
  211. package/es/customComponents/Ellipsis/index.d.ts +0 -26
  212. package/es/customComponents/Ellipsis/index.js +0 -389
  213. package/es/customComponents/Ellipsis/index.less +0 -28
  214. package/es/customComponents/Ellipsis/index.test.d.ts +0 -1
  215. package/es/customComponents/EllipsisCustom/index.d.ts +0 -26
  216. package/es/customComponents/EllipsisCustom/index.js +0 -355
  217. package/es/customComponents/EllipsisCustom/index.less +0 -27
  218. package/es/customComponents/EverySpace/index.d.ts +0 -16
  219. package/es/customComponents/EverySpace/index.js +0 -105
  220. package/es/customComponents/Exception/index.js +0 -121
  221. package/es/customComponents/Exception/index.less +0 -92
  222. package/es/customComponents/Exception/typeConfig.d.ts +0 -18
  223. package/es/customComponents/Exception/typeConfig.js +0 -25
  224. package/es/customComponents/FigureRange/index.d.ts +0 -133
  225. package/es/customComponents/FigureRange/index.js +0 -335
  226. package/es/customComponents/FigureRange/index.less +0 -73
  227. package/es/customComponents/FileBase64Upload/index.d.ts +0 -27
  228. package/es/customComponents/FileBase64Upload/index.js +0 -205
  229. package/es/customComponents/FileUpload/index.d.ts +0 -35
  230. package/es/customComponents/FileUpload/index.js +0 -402
  231. package/es/customComponents/FlexBox/index.d.ts +0 -24
  232. package/es/customComponents/FlexBox/index.js +0 -186
  233. package/es/customComponents/FlexText/index.d.ts +0 -21
  234. package/es/customComponents/FlexText/index.js +0 -109
  235. package/es/customComponents/FlexText/index.less +0 -3
  236. package/es/customComponents/FooterToolbar/index.d.ts +0 -16
  237. package/es/customComponents/FooterToolbar/index.js +0 -132
  238. package/es/customComponents/FooterToolbar/index.less +0 -33
  239. package/es/customComponents/FromDisplayItem/index.d.ts +0 -14
  240. package/es/customComponents/FromDisplayItem/index.js +0 -73
  241. package/es/customComponents/FromDisplayItem/index.less +0 -5
  242. package/es/customComponents/FunctionComponent/index.d.ts +0 -443
  243. package/es/customComponents/FunctionComponent/index.js +0 -3404
  244. package/es/customComponents/FunctionComponent/index.less +0 -63
  245. package/es/customComponents/FunctionSupplement/Whether/index.d.ts +0 -46
  246. package/es/customComponents/FunctionSupplement/Whether/index.js +0 -181
  247. package/es/customComponents/GlobalFooter/index.d.ts +0 -6
  248. package/es/customComponents/GlobalFooter/index.js +0 -39
  249. package/es/customComponents/GlobalFooter/index.less +0 -29
  250. package/es/customComponents/HelpBox/index.d.ts +0 -18
  251. package/es/customComponents/HelpBox/index.js +0 -192
  252. package/es/customComponents/HelpBox/index.less +0 -16
  253. package/es/customComponents/HelpCard/index.d.ts +0 -18
  254. package/es/customComponents/HelpCard/index.js +0 -91
  255. package/es/customComponents/HtmlBox/index.d.ts +0 -20
  256. package/es/customComponents/HtmlBox/index.js +0 -118
  257. package/es/customComponents/HtmlBox/index.less +0 -7
  258. package/es/customComponents/IconFont/index.d.ts +0 -2
  259. package/es/customComponents/IconFont/index.js +0 -14
  260. package/es/customComponents/IconInfo/index.d.ts +0 -32
  261. package/es/customComponents/IconInfo/index.js +0 -373
  262. package/es/customComponents/IconInfo/index.less +0 -5
  263. package/es/customComponents/ImageBox/index.d.ts +0 -60
  264. package/es/customComponents/ImageBox/index.js +0 -376
  265. package/es/customComponents/ImageBox/index.less +0 -114
  266. package/es/customComponents/ImageContentPreview/index.d.ts +0 -21
  267. package/es/customComponents/ImageContentPreview/index.js +0 -173
  268. package/es/customComponents/ImageContentPreview/index.less +0 -9
  269. package/es/customComponents/ImageUpload/index.d.ts +0 -45
  270. package/es/customComponents/ImageUpload/index.js +0 -413
  271. package/es/customComponents/ImageUpload/index.less +0 -81
  272. package/es/customComponents/MobileContainor/ContentView/index.d.ts +0 -20
  273. package/es/customComponents/MobileContainor/ContentView/index.js +0 -152
  274. package/es/customComponents/MobileContainor/ContentView/index.less +0 -30
  275. package/es/customComponents/MobileContainor/Devices/GalaxyNote8/index.d.ts +0 -19
  276. package/es/customComponents/MobileContainor/Devices/GalaxyNote8/index.js +0 -121
  277. package/es/customComponents/MobileContainor/Devices/IPhone5S/index.d.ts +0 -20
  278. package/es/customComponents/MobileContainor/Devices/IPhone5S/index.js +0 -124
  279. package/es/customComponents/MobileContainor/Devices/Iphone8/index.d.ts +0 -20
  280. package/es/customComponents/MobileContainor/Devices/Iphone8/index.js +0 -124
  281. package/es/customComponents/MobileContainor/Devices/Iphone8plus/index.d.ts +0 -20
  282. package/es/customComponents/MobileContainor/Devices/Iphone8plus/index.js +0 -124
  283. package/es/customComponents/MobileContainor/Devices/IphoneX/index.d.ts +0 -20
  284. package/es/customComponents/MobileContainor/Devices/IphoneX/index.js +0 -130
  285. package/es/customComponents/MobileContainor/Devices/RoughSketch/index.d.ts +0 -19
  286. package/es/customComponents/MobileContainor/Devices/RoughSketch/index.js +0 -97
  287. package/es/customComponents/MobileContainor/Devices/RoughSketch/index.less +0 -34
  288. package/es/customComponents/MobileContainor/Devices/devices.less +0 -2815
  289. package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.d.ts +0 -12
  290. package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.js +0 -80
  291. package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +0 -49
  292. package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +0 -220
  293. package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +0 -176
  294. package/es/customComponents/MobileContainor/MobileSimulation/index.d.ts +0 -23
  295. package/es/customComponents/MobileContainor/MobileSimulation/index.js +0 -243
  296. package/es/customComponents/NoticeIconCustom/NoticeList.d.ts +0 -10
  297. package/es/customComponents/NoticeIconCustom/NoticeList.js +0 -81
  298. package/es/customComponents/NoticeIconCustom/NoticeList.less +0 -90
  299. package/es/customComponents/NoticeIconCustom/index.d.ts +0 -25
  300. package/es/customComponents/NoticeIconCustom/index.js +0 -201
  301. package/es/customComponents/NoticeIconCustom/index.less +0 -31
  302. package/es/customComponents/NumberInfo/index.d.ts +0 -12
  303. package/es/customComponents/NumberInfo/index.js +0 -60
  304. package/es/customComponents/NumberInfo/index.less +0 -77
  305. package/es/customComponents/PageLoading/index.d.ts +0 -2
  306. package/es/customComponents/PageLoading/index.js +0 -13
  307. package/es/customComponents/PercentageBox/index.d.ts +0 -12
  308. package/es/customComponents/PercentageBox/index.js +0 -70
  309. package/es/customComponents/PriceBox/index.d.ts +0 -18
  310. package/es/customComponents/PriceBox/index.js +0 -115
  311. package/es/customComponents/Result/index.d.ts +0 -9
  312. package/es/customComponents/Result/index.js +0 -57
  313. package/es/customComponents/Result/index.less +0 -58
  314. package/es/customComponents/StandardFormRow/index.d.ts +0 -9
  315. package/es/customComponents/StandardFormRow/index.js +0 -47
  316. package/es/customComponents/StandardFormRow/index.less +0 -81
  317. package/es/customComponents/StandardTable/index.d.ts +0 -17
  318. package/es/customComponents/StandardTable/index.js +0 -217
  319. package/es/customComponents/StandardTable/index.less +0 -7
  320. package/es/customComponents/StandardTableCustom/index.d.ts +0 -22
  321. package/es/customComponents/StandardTableCustom/index.js +0 -234
  322. package/es/customComponents/StandardTableCustom/index.less +0 -21
  323. package/es/customComponents/StatusBar/index.d.ts +0 -13
  324. package/es/customComponents/StatusBar/index.js +0 -128
  325. package/es/customComponents/TagSelect/index.d.ts +0 -34
  326. package/es/customComponents/TagSelect/index.js +0 -226
  327. package/es/customComponents/TagSelect/index.less +0 -38
  328. package/es/customComponents/TimeLineCustom/index.d.ts +0 -37
  329. package/es/customComponents/TimeLineCustom/index.js +0 -273
  330. package/es/customComponents/TimeLineCustom/index.less +0 -180
  331. package/es/customComponents/Trend/index.d.ts +0 -10
  332. package/es/customComponents/Trend/index.js +0 -49
  333. package/es/customComponents/Trend/index.less +0 -41
  334. package/es/customComponents/VerticalBox/index.d.ts +0 -15
  335. package/es/customComponents/VerticalBox/index.js +0 -138
  336. package/es/customComponents/VerticalBox/index.less +0 -7
  337. package/es/customComponents/VideoUpload/index.d.ts +0 -39
  338. package/es/customComponents/VideoUpload/index.js +0 -472
  339. package/es/customComponents/_utils/pathTools.d.ts +0 -1
  340. package/es/customComponents/_utils/pathTools.js +0 -15
  341. package/es/customComponents/_utils/pathTools.test.d.ts +0 -1
  342. package/es/customComponents/index.d.ts +0 -7
  343. package/es/customComponents/index.js +0 -16
  344. package/es/framework/AuthorizationWrapper/index.js +0 -117
  345. package/es/framework/Base/index.d.ts +0 -68
  346. package/es/framework/Base/index.js +0 -338
  347. package/es/framework/ButtonExtension/SelectButton/Base/index.js +0 -116
  348. package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +0 -177
  349. package/es/framework/Common/index.js +0 -2481
  350. package/es/framework/Common/index.less +0 -13
  351. package/es/framework/Core/index.js +0 -79
  352. package/es/framework/CustomBase/index.d.ts +0 -8
  353. package/es/framework/CustomBase/index.js +0 -77
  354. package/es/framework/CustomWrapper/Supplement/index.js +0 -64
  355. package/es/framework/CustomWrapper/SupplementCore/index.js +0 -150
  356. package/es/framework/CustomWrapper/SupplementWrapper/index.js +0 -58
  357. package/es/framework/DataDrawer/Base/index.js +0 -447
  358. package/es/framework/DataDrawer/Base/index.less +0 -27
  359. package/es/framework/DataDrawer/BaseAddDrawer/index.js +0 -98
  360. package/es/framework/DataDrawer/BaseLoadDrawer/index.js +0 -75
  361. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +0 -100
  362. package/es/framework/DataDrawer/BaseSaveDrawer/index.js +0 -87
  363. package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +0 -83
  364. package/es/framework/DataForm/BaseAddForm/index.js +0 -328
  365. package/es/framework/DataForm/BaseAddForm/index.less +0 -51
  366. package/es/framework/DataForm/BaseUpdateForm/index.js +0 -202
  367. package/es/framework/DataForm/BaseUpdateFormContent/index.js +0 -62
  368. package/es/framework/DataForm/BaseUpdateFormTab/index.js +0 -49
  369. package/es/framework/DataListView/Base/index.js +0 -1578
  370. package/es/framework/DataListView/Base/index.less +0 -161
  371. package/es/framework/DataListView/BatchAction/index.js +0 -103
  372. package/es/framework/DataListView/BatchAction/index.less +0 -5
  373. package/es/framework/DataListView/ColumnSetting/DndItem.js +0 -139
  374. package/es/framework/DataListView/ColumnSetting/index.js +0 -368
  375. package/es/framework/DataListView/ColumnSetting/index.less +0 -60
  376. package/es/framework/DataListView/DensityAction/index.js +0 -118
  377. package/es/framework/DataMenuContainer/index.js +0 -341
  378. package/es/framework/DataMenuContainer/index.less +0 -100
  379. package/es/framework/DataModal/Base/index.js +0 -285
  380. package/es/framework/DataModal/Base/index.less +0 -6
  381. package/es/framework/DataModal/BaseAddModal/index.js +0 -70
  382. package/es/framework/DataModal/BaseLoadModal/index.js +0 -75
  383. package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +0 -113
  384. package/es/framework/DataModal/BaseSelectModal/index.js +0 -73
  385. package/es/framework/DataModal/BaseUpdateModal/index.js +0 -49
  386. package/es/framework/DataModal/BaseUpdateTransferModal/index.js +0 -162
  387. package/es/framework/DataMultiPageView/InnerMultiPage/index.js +0 -62
  388. package/es/framework/DataMultiPageView/InnerMultiPage/index.less +0 -125
  389. package/es/framework/DataMultiPageView/MultiPage/index.js +0 -333
  390. package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +0 -511
  391. package/es/framework/DataMultiPageView/MultiPageDrawer/index.less +0 -65
  392. package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +0 -117
  393. package/es/framework/DataOperation/Base/index.js +0 -380
  394. package/es/framework/DataOperation/BaseView/index.js +0 -78
  395. package/es/framework/DataOperation/BaseWindow/index.js +0 -378
  396. package/es/framework/DataSinglePageView/InnerSinglePage/index.js +0 -62
  397. package/es/framework/DataSinglePageView/InnerSinglePage/index.less +0 -50
  398. package/es/framework/DataSinglePageView/SinglePage/index.js +0 -278
  399. package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +0 -489
  400. package/es/framework/DataSinglePageView/SinglePageDrawer/index.less +0 -33
  401. package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +0 -120
  402. package/es/framework/DataSingleView/DataCore/index.js +0 -330
  403. package/es/framework/DataSingleView/DataCore/index.less +0 -7
  404. package/es/framework/DataSingleView/DataLoad/index.js +0 -169
  405. package/es/framework/DataTabContainer/index.js +0 -280
  406. package/es/framework/DataTabContainer/index.less +0 -51
  407. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +0 -185
  408. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +0 -191
  409. package/es/framework/Wrapper/index.js +0 -58
  410. package/es/framework/index.js +0 -60
  411. package/es/utils/Authorized.d.ts +0 -4
  412. package/es/utils/Authorized.js +0 -52
  413. package/es/utils/Yuan.d.ts +0 -13
  414. package/es/utils/Yuan.js +0 -92
  415. package/es/utils/actionAssist.d.ts +0 -44
  416. package/es/utils/actionAssist.js +0 -467
  417. package/es/utils/appConfiguration.d.ts +0 -70
  418. package/es/utils/appConfiguration.js +0 -403
  419. package/es/utils/authority.d.ts +0 -7
  420. package/es/utils/authority.js +0 -259
  421. package/es/utils/cacheAssist.d.ts +0 -85
  422. package/es/utils/cacheAssist.js +0 -317
  423. package/es/utils/constants.d.ts +0 -859
  424. package/es/utils/constants.js +0 -1540
  425. package/es/utils/core.d.ts +0 -25
  426. package/es/utils/core.js +0 -95
  427. package/es/utils/defaultSettingsSpecial.d.ts +0 -67
  428. package/es/utils/defaultSettingsSpecial.js +0 -53
  429. package/es/utils/developAssist.d.ts +0 -41
  430. package/es/utils/developAssist.js +0 -224
  431. package/es/utils/dva.d.ts +0 -31
  432. package/es/utils/dva.js +0 -54
  433. package/es/utils/globalModel.d.ts +0 -17
  434. package/es/utils/globalModel.js +0 -40
  435. package/es/utils/globalStorageAssist.d.ts +0 -78
  436. package/es/utils/globalStorageAssist.js +0 -239
  437. package/es/utils/localStorageAssist.d.ts +0 -47
  438. package/es/utils/localStorageAssist.js +0 -116
  439. package/es/utils/mediaDefault.d.ts +0 -11
  440. package/es/utils/mediaDefault.js +0 -24
  441. package/es/utils/proLayoutCollection.d.ts +0 -12
  442. package/es/utils/proLayoutCollection.js +0 -76
  443. package/es/utils/request.d.ts +0 -5
  444. package/es/utils/request.js +0 -243
  445. package/es/utils/requestAssistor.d.ts +0 -79
  446. package/es/utils/requestAssistor.js +0 -596
  447. package/es/utils/sessionStorageAssist.d.ts +0 -47
  448. package/es/utils/sessionStorageAssist.js +0 -116
  449. package/es/utils/tools.d.ts +0 -698
  450. package/es/utils/tools.js +0 -2205
  451. package/es/utils/typeCheck.d.ts +0 -21
  452. package/es/utils/typeCheck.js +0 -58
  453. package/es/utils/typeConvert.d.ts +0 -7
  454. package/es/utils/typeConvert.js +0 -16
  455. package/es/utils/utils.d.ts +0 -5
  456. package/es/utils/utils.js +0 -70
  457. package/es/utils/utils.less +0 -63
  458. package/es/utils/utils.test.d.ts +0 -1
  459. package/es/utils/virtualRequest.d.ts +0 -51
  460. package/es/utils/virtualRequest.js +0 -320
@@ -1,138 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- var _react = _interopRequireWildcard(require("react"));
11
-
12
- var _index = _interopRequireDefault(require("./index.less"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
-
18
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
-
20
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
21
-
22
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
23
-
24
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
25
-
26
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
27
-
28
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
29
-
30
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
31
-
32
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
33
-
34
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
35
-
36
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
37
-
38
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
39
-
40
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41
-
42
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
43
-
44
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
45
-
46
- var VerticalBox = /*#__PURE__*/function (_PureComponent) {
47
- _inherits(VerticalBox, _PureComponent);
48
-
49
- var _super = _createSuper(VerticalBox);
50
-
51
- function VerticalBox() {
52
- _classCallCheck(this, VerticalBox);
53
-
54
- return _super.apply(this, arguments);
55
- }
56
-
57
- _createClass(VerticalBox, [{
58
- key: "render",
59
- value: function render() {
60
- var _this$props = this.props,
61
- style = _this$props.style,
62
- align = _this$props.align,
63
- alignJustify = _this$props.alignJustify,
64
- children = _this$props.children;
65
- var alignStyle = 'center';
66
-
67
- switch (align) {
68
- case 'top':
69
- alignStyle = 'flex-start';
70
- break;
71
-
72
- case 'center':
73
- alignStyle = 'center';
74
- break;
75
-
76
- case 'bottom':
77
- alignStyle = 'flex-end';
78
- break;
79
-
80
- default:
81
- alignStyle = 'center';
82
- break;
83
- }
84
-
85
- var alignJustifyStyle = 'flex-start';
86
-
87
- switch (alignJustify) {
88
- case 'start':
89
- alignJustifyStyle = 'flex-start';
90
- break;
91
-
92
- case 'center':
93
- alignJustifyStyle = 'center';
94
- break;
95
-
96
- case 'end':
97
- alignJustifyStyle = 'flex-end';
98
- break;
99
-
100
- case 'between':
101
- alignJustifyStyle = 'space-between';
102
- break;
103
-
104
- case 'around':
105
- alignJustifyStyle = 'space-around';
106
- break;
107
-
108
- default:
109
- alignJustifyStyle = 'flex-start';
110
- break;
111
- }
112
-
113
- var flexStyle = _objectSpread(_objectSpread({}, style || {}), {
114
- alignItems: alignStyle,
115
- justifyContent: alignJustifyStyle
116
- });
117
-
118
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
119
- className: _index.default.centerBox,
120
- style: style
121
- }, /*#__PURE__*/_react.default.createElement("div", {
122
- className: _index.default.flexBox,
123
- style: flexStyle
124
- }, children)));
125
- }
126
- }]);
127
-
128
- return VerticalBox;
129
- }(_react.PureComponent);
130
-
131
- VerticalBox.defaultProps = {
132
- fitWidth: true,
133
- style: {},
134
- align: 'center',
135
- alignJustify: 'flex-start'
136
- };
137
- var _default = VerticalBox;
138
- exports.default = _default;
@@ -1,7 +0,0 @@
1
- .centerBox {
2
- .flexBox {
3
- display: flex;
4
- width: 100%;
5
- height: 100%;
6
- }
7
- }
@@ -1,39 +0,0 @@
1
- export default VideoUpload;
2
- declare class VideoUpload extends PureComponent<any, any, any> {
3
- static getDerivedStateFromProps(nextProps: any, prevState: any): {
4
- videoSource: any;
5
- videoUrl: any;
6
- } | null;
7
- constructor(props: any);
8
- state: {
9
- videoSource: string;
10
- videoUrl: string;
11
- videoUrlTemp: string;
12
- uploading: boolean;
13
- previewVisible: boolean;
14
- changeUrlVisible: boolean;
15
- };
16
- handleUploadCancel: () => void;
17
- showPreviewModal: () => void;
18
- showChangeUrlModal: () => void;
19
- handleUrlChange: (e: any) => void;
20
- handleChangeUrlOk: () => void;
21
- handleChangeUrlCancel: () => void;
22
- clearUrl: () => void;
23
- beforeUpload: (file: any) => boolean;
24
- handleUploadChange: (info: any) => void;
25
- handleMenuClick: (e: any) => void;
26
- render(): JSX.Element;
27
- }
28
- declare namespace VideoUpload {
29
- namespace defaultProps {
30
- const action: string;
31
- const disabled: boolean;
32
- const tokenSet: {};
33
- const video: string;
34
- const showPreview: boolean;
35
- function pretreatmentRemoteResponse(): void;
36
- function afterChangeSuccess(): void;
37
- }
38
- }
39
- import { PureComponent } from "react";
@@ -1,472 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- require("antd/es/modal/style");
11
-
12
- var _modal = _interopRequireDefault(require("antd/es/modal"));
13
-
14
- require("antd/es/space/style");
15
-
16
- var _space = _interopRequireDefault(require("antd/es/space"));
17
-
18
- require("antd/es/dropdown/style");
19
-
20
- var _dropdown = _interopRequireDefault(require("antd/es/dropdown"));
21
-
22
- require("antd/es/upload/style");
23
-
24
- var _upload = _interopRequireDefault(require("antd/es/upload"));
25
-
26
- require("antd/es/tooltip/style");
27
-
28
- var _tooltip = _interopRequireDefault(require("antd/es/tooltip"));
29
-
30
- require("antd/es/button/style");
31
-
32
- var _button = _interopRequireDefault(require("antd/es/button"));
33
-
34
- require("antd/es/divider/style");
35
-
36
- var _divider = _interopRequireDefault(require("antd/es/divider"));
37
-
38
- require("antd/es/menu/style");
39
-
40
- var _menu = _interopRequireDefault(require("antd/es/menu"));
41
-
42
- require("antd/es/input/style");
43
-
44
- var _input = _interopRequireDefault(require("antd/es/input"));
45
-
46
- var _react = _interopRequireWildcard(require("react"));
47
-
48
- var _icons = require("@ant-design/icons");
49
-
50
- var _FunctionComponent = require("../../customComponents/FunctionComponent");
51
-
52
- var _constants = require("../../utils/constants");
53
-
54
- var _defaultSettingsSpecial = require("../../utils/defaultSettingsSpecial");
55
-
56
- var _tools = require("../../utils/tools");
57
-
58
- var _IconInfo = _interopRequireDefault(require("../IconInfo"));
59
-
60
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
61
-
62
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
63
-
64
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
65
-
66
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
67
-
68
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
69
-
70
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
71
-
72
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
73
-
74
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
75
-
76
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
77
-
78
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
79
-
80
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
81
-
82
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
83
-
84
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
85
-
86
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
87
-
88
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
89
-
90
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
91
-
92
- var TextArea = _input.default.TextArea;
93
-
94
- var VideoUpload = /*#__PURE__*/function (_PureComponent) {
95
- _inherits(VideoUpload, _PureComponent);
96
-
97
- var _super = _createSuper(VideoUpload);
98
-
99
- function VideoUpload(props) {
100
- var _this;
101
-
102
- _classCallCheck(this, VideoUpload);
103
-
104
- _this = _super.call(this, props);
105
-
106
- _this.handleUploadCancel = function () {
107
- _this.setState({
108
- previewVisible: false
109
- });
110
- };
111
-
112
- _this.showPreviewModal = function () {
113
- var videoUrl = _this.state.videoUrl;
114
-
115
- if ((0, _tools.stringIsNullOrWhiteSpace)(videoUrl)) {
116
- var text = '无效的视频源';
117
- (0, _tools.showErrorMessage)({
118
- message: text
119
- });
120
- return;
121
- }
122
-
123
- _this.setState({
124
- previewVisible: true
125
- });
126
- };
127
-
128
- _this.showChangeUrlModal = function () {
129
- var videoUrl = _this.state.videoUrl;
130
-
131
- _this.setState({
132
- videoUrlTemp: videoUrl,
133
- changeUrlVisible: true
134
- });
135
- };
136
-
137
- _this.handleUrlChange = function (e) {
138
- var v = e.target.value;
139
-
140
- _this.setState({
141
- videoUrlTemp: v
142
- });
143
- };
144
-
145
- _this.handleChangeUrlOk = function () {
146
- var afterChangeSuccess = _this.props.afterChangeSuccess;
147
- var videoUrlTemp = _this.state.videoUrlTemp;
148
-
149
- _this.setState({
150
- videoUrl: videoUrlTemp,
151
- changeUrlVisible: false
152
- }, function () {
153
- if ((0, _tools.isFunction)(afterChangeSuccess)) {
154
- afterChangeSuccess(videoUrlTemp || '');
155
- } else {
156
- var text = 'afterChangeSuccess 配置无效';
157
- (0, _tools.showRuntimeError)({
158
- message: text
159
- });
160
- }
161
- });
162
- };
163
-
164
- _this.handleChangeUrlCancel = function () {
165
- _this.setState({
166
- changeUrlVisible: false
167
- });
168
- };
169
-
170
- _this.clearUrl = function () {
171
- var afterChangeSuccess = _this.props.afterChangeSuccess;
172
-
173
- _this.setState({
174
- videoUrl: '',
175
- changeUrlVisible: false
176
- }, function () {
177
- if ((0, _tools.isFunction)(afterChangeSuccess)) {
178
- afterChangeSuccess('');
179
- } else {
180
- var text = 'afterChangeSuccess 配置无效';
181
- (0, _tools.showRuntimeError)({
182
- message: text
183
- });
184
- }
185
- });
186
- };
187
-
188
- _this.beforeUpload = function (file) {
189
- var isVideo = file.type === 'video/mp4';
190
-
191
- if (!isVideo) {
192
- var text = '请上传视频文件(*.mp4)!';
193
- (0, _tools.showErrorMessage)({
194
- message: text
195
- });
196
- }
197
-
198
- var isLt3M = file.size / 1024 / 1024 < _defaultSettingsSpecial.defaultSettingsLayoutCustom.getVideoUploadMaxSize();
199
-
200
- if (!isLt3M) {
201
- var _text = '视频文件不能超过3MB!';
202
- (0, _tools.showErrorMessage)({
203
- message: _text
204
- });
205
- }
206
-
207
- return isVideo && isLt3M;
208
- };
209
-
210
- _this.handleUploadChange = function (info) {
211
- var _this$props = _this.props,
212
- pretreatmentRemoteResponse = _this$props.pretreatmentRemoteResponse,
213
- afterChangeSuccess = _this$props.afterChangeSuccess;
214
-
215
- if (info.file.status === 'uploading') {
216
- _this.setState({
217
- uploading: true
218
- });
219
-
220
- return;
221
- }
222
-
223
- if (info.file.status === 'done') {
224
- var response = info.file.response;
225
-
226
- if ((0, _tools.isFunction)(pretreatmentRemoteResponse)) {
227
- var data = pretreatmentRemoteResponse(response) || {
228
- video: ''
229
- };
230
- var video = data.video;
231
-
232
- _this.setState({
233
- videoUrl: video,
234
- uploading: false
235
- }, function () {
236
- if ((0, _tools.isFunction)(afterChangeSuccess)) {
237
- afterChangeSuccess(video || '');
238
- } else {
239
- var text = 'afterChangeSuccess 配置无效';
240
- (0, _tools.showRuntimeError)({
241
- message: text
242
- });
243
- }
244
- });
245
- } else {
246
- var text = 'pretreatmentRemoteResponse 配置无效';
247
- (0, _tools.showRuntimeError)({
248
- message: text
249
- });
250
- }
251
- }
252
- };
253
-
254
- _this.handleMenuClick = function (e) {
255
- var key = e.key;
256
- var videoUrl = _this.state.videoUrl;
257
-
258
- switch (key) {
259
- case 'changeUrl':
260
- _this.showChangeUrlModal();
261
-
262
- break;
263
-
264
- case 'showPreview':
265
- _this.showPreviewModal();
266
-
267
- break;
268
-
269
- case 'copyUrl':
270
- if ((0, _tools.stringIsNullOrWhiteSpace)(videoUrl)) {
271
- var text = '当前未设置视频地址';
272
- (0, _tools.showErrorMessage)({
273
- message: text
274
- });
275
- } else {
276
- (0, _tools.copyToClipboard)(videoUrl);
277
- }
278
-
279
- break;
280
-
281
- case 'clearUrl':
282
- _this.clearUrl();
283
-
284
- break;
285
-
286
- default:
287
- break;
288
- }
289
- };
290
-
291
- _this.state = _objectSpread(_objectSpread({}, _this.state), {
292
- videoSource: '',
293
- videoUrl: '',
294
- videoUrlTemp: '',
295
- uploading: false,
296
- previewVisible: false,
297
- changeUrlVisible: false
298
- });
299
- return _this;
300
- }
301
-
302
- _createClass(VideoUpload, [{
303
- key: "render",
304
- value: function render() {
305
- var _this2 = this;
306
-
307
- var _this$props2 = this.props,
308
- action = _this$props2.action,
309
- disabled = _this$props2.disabled,
310
- showPreview = _this$props2.showPreview,
311
- tokenSet = _this$props2.tokenSet;
312
- var _this$state = this.state,
313
- uploading = _this$state.uploading,
314
- previewVisible = _this$state.previewVisible,
315
- changeUrlVisible = _this$state.changeUrlVisible,
316
- videoUrlTemp = _this$state.videoUrlTemp,
317
- videoUrl = _this$state.videoUrl;
318
- var uploadProps = {
319
- disabled: disabled,
320
- action: action,
321
- listType: 'text',
322
- showUploadList: false,
323
- beforeUpload: this.beforeUpload,
324
- onChange: this.handleUploadChange,
325
- headers: _objectSpread({}, tokenSet)
326
- };
327
- var items = [{
328
- key: 'changeUrl',
329
- label: '更换地址',
330
- icon: _constants.iconCollection.swap
331
- }, {
332
- key: 'copyUrl',
333
- label: '复制地址',
334
- icon: _constants.iconCollection.copy,
335
- disabled: (0, _tools.stringIsNullOrWhiteSpace)(videoUrl)
336
- }, {
337
- key: 'clearUrl',
338
- label: '清空视频',
339
- icon: _constants.iconCollection.delete,
340
- disabled: (0, _tools.stringIsNullOrWhiteSpace)(videoUrl)
341
- }];
342
-
343
- var menu = /*#__PURE__*/_react.default.createElement(_menu.default, {
344
- items: items,
345
- onClick: this.handleMenuClick
346
- });
347
-
348
- var addonAfter = /*#__PURE__*/_react.default.createElement(_space.default, {
349
- split: /*#__PURE__*/_react.default.createElement(_divider.default, {
350
- type: "vertical"
351
- })
352
- }, showPreview ? /*#__PURE__*/_react.default.createElement(_tooltip.default, {
353
- key: "showVideoTip",
354
- placement: "top",
355
- title: "\u64AD\u653E\u89C6\u9891\u9884\u89C8"
356
- }, /*#__PURE__*/_react.default.createElement(_button.default, {
357
- style: {
358
- border: '0px solid #d9d9d9',
359
- backgroundColor: '#fafafa',
360
- height: '30px',
361
- paddingLeft: 0,
362
- paddingRight: 0
363
- },
364
- disabled: uploading || (0, _tools.stringIsNullOrWhiteSpace)(videoUrl),
365
- onClick: function onClick() {
366
- _this2.showPreviewModal();
367
- }
368
- }, _constants.iconCollection.playCircle, "\u64AD\u653E")) : null, /*#__PURE__*/_react.default.createElement(_tooltip.default, {
369
- key: "showChangeUrlTip",
370
- placement: "top",
371
- title: "\u4E0A\u4F20\u89C6\u9891"
372
- }, /*#__PURE__*/_react.default.createElement(_upload.default, uploadProps, /*#__PURE__*/_react.default.createElement(_button.default, {
373
- style: {
374
- border: '0px solid #d9d9d9',
375
- backgroundColor: '#fafafa',
376
- height: '30px',
377
- paddingLeft: 0,
378
- paddingRight: 0
379
- },
380
- disabled: uploading
381
- }, uploading ? _constants.iconCollection.loading : _constants.iconCollection.upload, uploading ? '稍后' : '上传'))), /*#__PURE__*/_react.default.createElement(_tooltip.default, {
382
- key: "showMoreTip",
383
- placement: "top",
384
- title: "\u66F4\u591A\u64CD\u4F5C"
385
- }, /*#__PURE__*/_react.default.createElement(_dropdown.default, {
386
- arrow: true,
387
- placement: "bottomRight",
388
- overlay: menu,
389
- style: {
390
- border: '0px solid #d9d9d9',
391
- backgroundColor: '#fafafa',
392
- height: '30px',
393
- paddingLeft: 0,
394
- paddingRight: 0
395
- }
396
- }, /*#__PURE__*/_react.default.createElement(_button.default, {
397
- style: {
398
- border: '0px solid #d9d9d9',
399
- backgroundColor: '#fafafa',
400
- height: '30px',
401
- paddingLeft: 0,
402
- paddingRight: 0
403
- }
404
- }, /*#__PURE__*/_react.default.createElement(_icons.EllipsisOutlined, {
405
- style: {
406
- fontSize: 20,
407
- verticalAlign: 'top'
408
- }
409
- })))));
410
-
411
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_input.default, {
412
- disabled: true,
413
- addonBefore: _constants.iconCollection.videoCamera,
414
- addonAfter: addonAfter,
415
- value: videoUrl,
416
- placeholder: "\u5F53\u524D\u672A\u8BBE\u7F6E\u89C6\u9891\u5730\u5740"
417
- }), /*#__PURE__*/_react.default.createElement(_modal.default, {
418
- title: /*#__PURE__*/_react.default.createElement(_IconInfo.default, {
419
- icon: _constants.iconCollection.videoCamera,
420
- text: "\u89C6\u9891\u9884\u89C8"
421
- }),
422
- visible: previewVisible,
423
- footer: null,
424
- onCancel: this.handleUploadCancel
425
- }, (0, _FunctionComponent.buildPlayer)({
426
- url: videoUrl
427
- })), /*#__PURE__*/_react.default.createElement(_modal.default, {
428
- title: /*#__PURE__*/_react.default.createElement(_IconInfo.default, {
429
- icon: _constants.iconCollection.swap,
430
- text: "\u8BF7\u8F93\u5165\u5C06\u66F4\u6362\u7684\u89C6\u9891\u5730\u5740"
431
- }),
432
- visible: changeUrlVisible,
433
- onOk: this.handleChangeUrlOk,
434
- onCancel: this.handleChangeUrlCancel
435
- }, /*#__PURE__*/_react.default.createElement(TextArea, {
436
- rows: 4,
437
- value: videoUrlTemp,
438
- onChange: this.handleUrlChange,
439
- placeholder: "\u76EE\u524D\u6CA1\u6709\u5C06\u8981\u66F4\u6362\u7684\u89C6\u9891\u5730\u5740"
440
- })));
441
- }
442
- }], [{
443
- key: "getDerivedStateFromProps",
444
- value: function getDerivedStateFromProps(nextProps, prevState) {
445
- var videoNext = nextProps.video;
446
- var videoPrev = prevState.videoSource;
447
-
448
- if ((videoNext || '') !== (videoPrev || '')) {
449
- return {
450
- videoSource: videoNext,
451
- videoUrl: videoNext
452
- };
453
- }
454
-
455
- return null;
456
- }
457
- }]);
458
-
459
- return VideoUpload;
460
- }(_react.PureComponent);
461
-
462
- VideoUpload.defaultProps = {
463
- action: '',
464
- disabled: false,
465
- tokenSet: {},
466
- video: '',
467
- showPreview: false,
468
- pretreatmentRemoteResponse: function pretreatmentRemoteResponse() {},
469
- afterChangeSuccess: function afterChangeSuccess() {}
470
- };
471
- var _default = VideoUpload;
472
- exports.default = _default;
@@ -1 +0,0 @@
1
- export function urlToList(url: any): any;
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.urlToList = urlToList;
7
-
8
- function urlToList(url) {
9
- var urlList = url.split('/').filter(function (i) {
10
- return i;
11
- });
12
- return urlList.map(function (urlItem, index) {
13
- return "/".concat(urlList.slice(0, index + 1).join('/'));
14
- });
15
- }
@@ -1 +0,0 @@
1
- export {};