zmdms-webui 2.3.0 → 2.3.2

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 (283) hide show
  1. package/dist/es/canvastable/canvasTable.js +367 -0
  2. package/dist/es/canvastable/components/BadgePopover.js +27 -0
  3. package/dist/es/canvastable/components/CanvasTableMenu.js +74 -0
  4. package/dist/es/canvastable/components/CellOverlay.js +49 -0
  5. package/dist/es/canvastable/components/ColumnDynamic.js +12 -0
  6. package/dist/es/canvastable/components/EmptyPlaceholder.js +20 -0
  7. package/dist/es/canvastable/components/FilterPopover.js +274 -0
  8. package/dist/es/canvastable/components/HeaderOverlay.js +22 -0
  9. package/dist/es/canvastable/components/Tooltip.js +27 -0
  10. package/dist/es/canvastable/hooks/useClickOutside.js +30 -0
  11. package/dist/es/canvastable/hooks/useColumnResize.js +130 -0
  12. package/dist/es/canvastable/hooks/useContainerSize.js +40 -0
  13. package/dist/es/canvastable/hooks/useCopyToClipboard.js +150 -0
  14. package/dist/es/canvastable/hooks/useHeaderHeight.js +103 -0
  15. package/dist/es/canvastable/hooks/useMergeCells.js +111 -0
  16. package/dist/es/canvastable/hooks/useOverlays.js +364 -0
  17. package/dist/es/canvastable/hooks/usePopovers.js +93 -0
  18. package/dist/es/canvastable/hooks/useProcessedColumns.js +94 -0
  19. package/dist/es/canvastable/hooks/useScroll.js +251 -0
  20. package/dist/es/canvastable/hooks/useSummaryRow.js +81 -0
  21. package/dist/es/canvastable/hooks/useTableInteraction.js +804 -0
  22. package/dist/es/canvastable/hooks/useTableRender.js +1289 -0
  23. package/dist/es/canvastable/hooks/useTableSelection.js +57 -0
  24. package/dist/es/canvastable/hooks/useTableState.js +218 -0
  25. package/dist/es/canvastable/index.js +5 -0
  26. package/dist/es/canvastable/utils/canvasDrawHelpers.js +156 -0
  27. package/dist/es/canvastable/utils/cellHelpers.js +121 -0
  28. package/dist/es/canvastable/utils/columnHelpers.js +67 -0
  29. package/dist/es/canvastable/utils/constants.js +42 -0
  30. package/dist/es/canvastable/utils/formatHelpers.js +60 -0
  31. package/dist/es/canvastable/utils/interactionHelpers.js +176 -0
  32. package/dist/es/canvastable/utils/multiHeaderHelpers.js +82 -0
  33. package/dist/es/canvastable/utils/tableCalculations.js +100 -0
  34. package/dist/index.es.css +1 -1
  35. package/dist/index.es.js +1 -0
  36. package/package.json +1 -1
  37. package/dist/es/alert/alert.d.ts +0 -5
  38. package/dist/es/alert/index.css +0 -1
  39. package/dist/es/alert/index.d.ts +0 -5
  40. package/dist/es/alert/interface.d.ts +0 -14
  41. package/dist/es/applayout/appLayout.d.ts +0 -11
  42. package/dist/es/applayout/index.css +0 -1
  43. package/dist/es/applayout/index.d.ts +0 -5
  44. package/dist/es/applayoutheader/appLayoutHeader.d.ts +0 -16
  45. package/dist/es/applayoutheader/index.d.ts +0 -5
  46. package/dist/es/applayoutsider/appLayoutSider.d.ts +0 -57
  47. package/dist/es/applayoutsider/index.d.ts +0 -5
  48. package/dist/es/authloading/authLoading.d.ts +0 -5
  49. package/dist/es/authloading/index.css +0 -1
  50. package/dist/es/authloading/index.d.ts +0 -5
  51. package/dist/es/button/button.d.ts +0 -5
  52. package/dist/es/button/buttonDownload.d.ts +0 -25
  53. package/dist/es/button/buttonExport.d.ts +0 -15
  54. package/dist/es/button/buttonFullScreen.d.ts +0 -9
  55. package/dist/es/button/buttonPreview.d.ts +0 -26
  56. package/dist/es/button/index.css +0 -1
  57. package/dist/es/button/index.d.ts +0 -5
  58. package/dist/es/button/interface.d.ts +0 -34
  59. package/dist/es/calendar/index.d.ts +0 -7
  60. package/dist/es/cascader/index.css +0 -1
  61. package/dist/es/collapse/collapse.d.ts +0 -7
  62. package/dist/es/collapse/index.css +0 -1
  63. package/dist/es/collapse/index.d.ts +0 -5
  64. package/dist/es/collapse/interface.d.ts +0 -25
  65. package/dist/es/config/ZtxkContext.d.ts +0 -32
  66. package/dist/es/container/container.d.ts +0 -51
  67. package/dist/es/container/index.css +0 -1
  68. package/dist/es/container/index.d.ts +0 -5
  69. package/dist/es/datepicker/index.css +0 -1
  70. package/dist/es/datepicker/index.d.ts +0 -48
  71. package/dist/es/datepicker/interface.d.ts +0 -56
  72. package/dist/es/descriptions/descriptions.d.ts +0 -5
  73. package/dist/es/descriptions/index.css +0 -1
  74. package/dist/es/descriptions/index.d.ts +0 -5
  75. package/dist/es/descriptions/interface.d.ts +0 -12
  76. package/dist/es/detaillist/index.css +0 -1
  77. package/dist/es/detaillist/index.d.ts +0 -5
  78. package/dist/es/detaillist/item.d.ts +0 -35
  79. package/dist/es/detaillist/list.d.ts +0 -17
  80. package/dist/es/differences/differences.d.ts +0 -5
  81. package/dist/es/differences/index.css +0 -1
  82. package/dist/es/differences/index.d.ts +0 -5
  83. package/dist/es/differences/interface.d.ts +0 -17
  84. package/dist/es/dynamicsetting/dynamicSetting.d.ts +0 -6
  85. package/dist/es/dynamicsetting/index.css +0 -1
  86. package/dist/es/dynamicsetting/index.d.ts +0 -5
  87. package/dist/es/dynamicsetting/interface.d.ts +0 -43
  88. package/dist/es/electronsignatures/index.css +0 -1
  89. package/dist/es/electronsignatures/index.d.ts +0 -6
  90. package/dist/es/electronsignatures/interface.d.ts +0 -500
  91. package/dist/es/enhanceselect/enhance-select.d.ts +0 -6
  92. package/dist/es/enhanceselect/index.d.ts +0 -5
  93. package/dist/es/enhanceselect/interface.d.ts +0 -71
  94. package/dist/es/footer/footer.d.ts +0 -6
  95. package/dist/es/footer/index.css +0 -1
  96. package/dist/es/footer/index.d.ts +0 -5
  97. package/dist/es/footer/interface.d.ts +0 -34
  98. package/dist/es/form/form.d.ts +0 -18
  99. package/dist/es/form/index.css +0 -1
  100. package/dist/es/form/index.d.ts +0 -5
  101. package/dist/es/form/interface.d.ts +0 -91
  102. package/dist/es/formitem/formItem.d.ts +0 -115
  103. package/dist/es/formitem/index.css +0 -1
  104. package/dist/es/formitem/index.d.ts +0 -5
  105. package/dist/es/icon/icon-oss.d.ts +0 -6
  106. package/dist/es/icon/index.d.ts +0 -6
  107. package/dist/es/input/TextArea.d.ts +0 -13
  108. package/dist/es/input/index.css +0 -1
  109. package/dist/es/input/index.d.ts +0 -5
  110. package/dist/es/input/input.d.ts +0 -23
  111. package/dist/es/inputnumber/index.css +0 -1
  112. package/dist/es/inputnumber/index.d.ts +0 -5
  113. package/dist/es/inputnumber/inputNumber.d.ts +0 -28
  114. package/dist/es/inputnumber/interface.d.ts +0 -4
  115. package/dist/es/leftcontent/index.css +0 -1
  116. package/dist/es/leftcontent/index.d.ts +0 -5
  117. package/dist/es/leftcontent/leftContent.d.ts +0 -31
  118. package/dist/es/login/index.css +0 -1
  119. package/dist/es/login/index.d.ts +0 -37
  120. package/dist/es/message/index.css +0 -1
  121. package/dist/es/message/index.d.ts +0 -5
  122. package/dist/es/microloading/index.css +0 -1
  123. package/dist/es/microloading/index.d.ts +0 -5
  124. package/dist/es/microloading/micro-loading.d.ts +0 -8
  125. package/dist/es/modal/index.css +0 -1
  126. package/dist/es/modal/index.d.ts +0 -5
  127. package/dist/es/modal/interface.d.ts +0 -91
  128. package/dist/es/modal/modal.d.ts +0 -5
  129. package/dist/es/notauthpage/index.css +0 -0
  130. package/dist/es/notauthpage/index.d.ts +0 -5
  131. package/dist/es/notauthpage/notAuthPage.d.ts +0 -8
  132. package/dist/es/notroutepage/index.css +0 -0
  133. package/dist/es/notroutepage/index.d.ts +0 -5
  134. package/dist/es/notroutepage/notRoutePage.d.ts +0 -8
  135. package/dist/es/operationbtn/index.d.ts +0 -5
  136. package/dist/es/operationbtn/interface.d.ts +0 -34
  137. package/dist/es/operationbtn/operationBtn.d.ts +0 -6
  138. package/dist/es/pagination/index.css +0 -1
  139. package/dist/es/pagination/index.d.ts +0 -5
  140. package/dist/es/pagination/pagination.d.ts +0 -8
  141. package/dist/es/placeholder/index.css +0 -1
  142. package/dist/es/placeholder/index.d.ts +0 -5
  143. package/dist/es/placeholder/interface.d.ts +0 -12
  144. package/dist/es/placeholder/placeholder.d.ts +0 -5
  145. package/dist/es/print/index.css +0 -1
  146. package/dist/es/print/index.d.ts +0 -5
  147. package/dist/es/print/interface.d.ts +0 -69
  148. package/dist/es/print/print-page.d.ts +0 -6
  149. package/dist/es/print/print.d.ts +0 -5
  150. package/dist/es/protectedroute/index.d.ts +0 -24
  151. package/dist/es/select/hooks.d.ts +0 -16
  152. package/dist/es/select/index.css +0 -1
  153. package/dist/es/select/index.d.ts +0 -5
  154. package/dist/es/select/interface.d.ts +0 -82
  155. package/dist/es/select/select-render.d.ts +0 -31
  156. package/dist/es/select/select.d.ts +0 -5
  157. package/dist/es/sortable/index.d.ts +0 -5
  158. package/dist/es/sortable/sortable-item.d.ts +0 -14
  159. package/dist/es/sortable/sortable.d.ts +0 -13
  160. package/dist/es/suspensecomponent/index.d.ts +0 -10
  161. package/dist/es/table/components/Badge.d.ts +0 -24
  162. package/dist/es/table/components/TitleDirectionColumn.d.ts +0 -11
  163. package/dist/es/table/constant.d.ts +0 -3
  164. package/dist/es/table/index.css +0 -1
  165. package/dist/es/table/index.d.ts +0 -5
  166. package/dist/es/table/interface.d.ts +0 -613
  167. package/dist/es/table/table.d.ts +0 -11
  168. package/dist/es/tabs/index.css +0 -1
  169. package/dist/es/tabs/index.d.ts +0 -5
  170. package/dist/es/tabs/interface.d.ts +0 -52
  171. package/dist/es/tabs/tabs.d.ts +0 -5
  172. package/dist/es/tag/index.css +0 -1
  173. package/dist/es/tag/index.d.ts +0 -5
  174. package/dist/es/tag/interface.d.ts +0 -9
  175. package/dist/es/tag/tag.d.ts +0 -5
  176. package/dist/es/timepicker/index.d.ts +0 -19
  177. package/dist/es/title/index.css +0 -1
  178. package/dist/es/title/index.d.ts +0 -5
  179. package/dist/es/title/interface.d.ts +0 -35
  180. package/dist/es/title/title.d.ts +0 -5
  181. package/dist/es/tree/index.css +0 -1
  182. package/dist/es/tree/index.d.ts +0 -5
  183. package/dist/es/tree/interface.d.ts +0 -44
  184. package/dist/es/tree/tree.d.ts +0 -5
  185. package/dist/es/treeselect/index.css +0 -1
  186. package/dist/es/treeselect/index.d.ts +0 -5
  187. package/dist/es/treeselect/interface.d.ts +0 -32
  188. package/dist/es/treeselect/treeSelect.d.ts +0 -5
  189. package/dist/es/uploadlist/index.css +0 -1
  190. package/dist/es/uploadlist/index.d.ts +0 -5
  191. package/dist/es/uploadlist/interface.d.ts +0 -113
  192. package/dist/es/uploadlist/uploadList.d.ts +0 -5
  193. package/dist/es/watermark/index.css +0 -1
  194. package/dist/es/watermark/index.d.ts +0 -5
  195. package/dist/es/watermark/interface.d.ts +0 -23
  196. package/dist/es/watermark/watermark.d.ts +0 -5
  197. package/dist/es/zttransfer/index.css +0 -1
  198. package/dist/es/zttransfer/index.d.ts +0 -5
  199. package/dist/es/zttransfer/interface.d.ts +0 -38
  200. package/dist/es/zttransfer/zt-transfer.d.ts +0 -6
  201. package/dist/index.build.d.ts +0 -67
  202. package/dist/index.dark.css +0 -2
  203. package/dist/index.default.css +0 -2
  204. package/dist/less/components/Alert/style/index.less +0 -53
  205. package/dist/less/components/Alert/style/style.less +0 -4
  206. package/dist/less/components/AppLayout/style/index.less +0 -546
  207. package/dist/less/components/AppLayout/style/style.less +0 -2
  208. package/dist/less/components/AppLayout/style.less +0 -5
  209. package/dist/less/components/AuthLoading/style/index.less +0 -15
  210. package/dist/less/components/AuthLoading/style/style.less +0 -2
  211. package/dist/less/components/Button/style/index.less +0 -160
  212. package/dist/less/components/Button/style/style.less +0 -5
  213. package/dist/less/components/Cascader/style/index.less +0 -9
  214. package/dist/less/components/Cascader/style/style.less +0 -2
  215. package/dist/less/components/Collapse/style/index.less +0 -117
  216. package/dist/less/components/Collapse/style/style.less +0 -2
  217. package/dist/less/components/Container/style/index.less +0 -64
  218. package/dist/less/components/Container/style/style.less +0 -2
  219. package/dist/less/components/DatePicker/style/index.less +0 -7
  220. package/dist/less/components/DatePicker/style/style.less +0 -4
  221. package/dist/less/components/Descriptions/style/index.less +0 -32
  222. package/dist/less/components/Descriptions/style/style.less +0 -5
  223. package/dist/less/components/DetailList/style/index.less +0 -105
  224. package/dist/less/components/DetailList/style/style.less +0 -2
  225. package/dist/less/components/Differences/style/index.less +0 -5
  226. package/dist/less/components/Differences/style/style.less +0 -2
  227. package/dist/less/components/DynamicSetting/style/index.less +0 -96
  228. package/dist/less/components/DynamicSetting/style/style.less +0 -2
  229. package/dist/less/components/ElectronSignatures/style/index.less +0 -331
  230. package/dist/less/components/ElectronSignatures/style/style.less +0 -1
  231. package/dist/less/components/Footer/style/index.less +0 -28
  232. package/dist/less/components/Footer/style/style.less +0 -2
  233. package/dist/less/components/Form/style/index.less +0 -150
  234. package/dist/less/components/Form/style/style.less +0 -5
  235. package/dist/less/components/FormItem/style/index.less +0 -456
  236. package/dist/less/components/FormItem/style/style.less +0 -2
  237. package/dist/less/components/Input/style/index.less +0 -15
  238. package/dist/less/components/Input/style/style.less +0 -4
  239. package/dist/less/components/InputNumber/style/index.less +0 -30
  240. package/dist/less/components/InputNumber/style/style.less +0 -4
  241. package/dist/less/components/LeftContent/style/index.less +0 -62
  242. package/dist/less/components/LeftContent/style/style.less +0 -2
  243. package/dist/less/components/Login/style/index.less +0 -63
  244. package/dist/less/components/Login/style/style.less +0 -2
  245. package/dist/less/components/Message/style/index.less +0 -19
  246. package/dist/less/components/Message/style/style.less +0 -2
  247. package/dist/less/components/MicroLoading/style/index.less +0 -15
  248. package/dist/less/components/MicroLoading/style/style.less +0 -2
  249. package/dist/less/components/Modal/style/index.less +0 -43
  250. package/dist/less/components/Modal/style/style.less +0 -2
  251. package/dist/less/components/NotAuthPage/style/index.less +0 -0
  252. package/dist/less/components/NotAuthPage/style/style.less +0 -2
  253. package/dist/less/components/NotRoutePage/style/index.less +0 -0
  254. package/dist/less/components/NotRoutePage/style/style.less +0 -2
  255. package/dist/less/components/Pagination/style/index.less +0 -107
  256. package/dist/less/components/Pagination/style/style.less +0 -5
  257. package/dist/less/components/Placeholder/style/index.less +0 -3
  258. package/dist/less/components/Placeholder/style/style.less +0 -2
  259. package/dist/less/components/Print/style/index.less +0 -65
  260. package/dist/less/components/Print/style/style.less +0 -3
  261. package/dist/less/components/Select/style/index.less +0 -55
  262. package/dist/less/components/Select/style/style.less +0 -4
  263. package/dist/less/components/Table/style/index.less +0 -362
  264. package/dist/less/components/Table/style/style.less +0 -4
  265. package/dist/less/components/Tabs/style/index.less +0 -118
  266. package/dist/less/components/Tabs/style/style.less +0 -4
  267. package/dist/less/components/Tag/style/index.less +0 -3
  268. package/dist/less/components/Tag/style/style.less +0 -4
  269. package/dist/less/components/Title/style/index.less +0 -54
  270. package/dist/less/components/Title/style/style.less +0 -2
  271. package/dist/less/components/Tree/style/index.less +0 -58
  272. package/dist/less/components/Tree/style/style.less +0 -4
  273. package/dist/less/components/TreeSelect/style/index.less +0 -0
  274. package/dist/less/components/TreeSelect/style/style.less +0 -4
  275. package/dist/less/components/UploadList/style/index.less +0 -61
  276. package/dist/less/components/UploadList/style/style.less +0 -4
  277. package/dist/less/components/Watermark/style/index.less +0 -7
  278. package/dist/less/components/Watermark/style/style.less +0 -3
  279. package/dist/less/components/ZtTransfer/style/index.less +0 -136
  280. package/dist/less/components/ZtTransfer/style/style.less +0 -2
  281. package/dist/less/styles/default.less +0 -100
  282. package/dist/less/styles/index.less +0 -86
  283. package/dist/less/styles/reset.less +0 -189
@@ -1,5 +0,0 @@
1
- import MemoEnhanceSelect from './enhance-select.js';
2
-
3
-
4
-
5
- export { MemoEnhanceSelect as default };
@@ -1,71 +0,0 @@
1
- import { ISelectProps } from '../select/interface.js';
2
-
3
- interface IEnhanceSelectProps extends ISelectProps {
4
- /**
5
- * 发送请求的方法(同axios),通常业务那边会封装一个代理的request方法,可以通过context获取,不是必传
6
- */
7
- request?: any;
8
- /**
9
- * 接口请求地址。接口返回的数据,组件支持接口数据返回两种模式
10
- * 一种是 { ..., data: [] }
11
- * 另一种是分页的模式 { ..., records: [], total: xx, size: xx, current: xx }
12
- */
13
- url?: string;
14
- /**
15
- * 接口请求参数。
16
- */
17
- params?: any;
18
- /**
19
- * 请求类型
20
- */
21
- method?: string;
22
- /**
23
- * 超时时间 单位毫秒 默认2分钟
24
- * @default 120000
25
- */
26
- timeout?: number;
27
- /**
28
- * 数据是否缓存。对于那些不分页的接口,默认是缓存数据的。
29
- * 分页的接口,默认是不缓存数据的。
30
- */
31
- isCache?: boolean;
32
- /**
33
- * 转换数据的方法。
34
- * 接受接口返回的数据,返回一个数组。可以直接给下拉框使用的数组。
35
- * 组件有默认实现:分页接口、不分页接口的转换。
36
- * 如果接口返回的数据,跟默认有冲突,需要自定义转换方法。
37
- * 如果是不分页接口:返回的数据是一个数组即可
38
- * 如果是分页接口:返回的格式按照 { current: number, size: number, total: number, records: any[] }; 这种格式
39
- * 大多数情况下,是按中拓这边的分页接口处理数据的,所以不需要做其他处理。除非特殊情况
40
- */
41
- transformData?: (data: any) => any;
42
- /**
43
- * 对于那些分页接口,数据回显的时候会有一个问题。因为组件默认只会加载第一页数据,但是用户选择的时候,可能数据并不是第一页的。
44
- * 这就会导致回显的时候,数据比对不上,显示一个id。
45
- * 这里的做法是,通过当前选中的值,再首次加载的时候去根据id去请求数据。
46
- * 查询的key是什么?默认会去 dataKey,如果你的逐渐查询不是dataKey,可以自定义。
47
- * 有一个更好的方法,就是分页接口额外加一个参数,这个参数来传入主键的值。
48
- * 后端查询的时候,把这个参数和状态值一起查询,不额外添加参数。查询到后,直接追加到分页的数据中。
49
- * 这样做的一个好处就是,即使是第一次,也能查到应有的数据。
50
- * 但是,这个方法需要后端配合。
51
- */
52
- firstLoadDataKey?: string;
53
- /**
54
- * 接口是否分页
55
- */
56
- isPage?: boolean;
57
- /**
58
- * 每页多少条 默认每页50条
59
- */
60
- pageSize?: number;
61
- /**
62
- * 远程搜索的key值。默认会采用titleKey作为搜索的key值。也可以是指定的值
63
- */
64
- remoteSearchKey?: string;
65
- /**
66
- * 哪些查询参数有值,才进行查询
67
- */
68
- mustQueryKeys?: string | string[];
69
- }
70
-
71
- export { IEnhanceSelectProps };
@@ -1,6 +0,0 @@
1
- import React__default from 'react';
2
- import { IFooterProps } from './interface.js';
3
-
4
- declare const _default: React__default.NamedExoticComponent<IFooterProps>;
5
-
6
- export { _default as default };
@@ -1 +0,0 @@
1
- .ztxk-footer{background-color:#fff;height:40px;padding-left:10px;z-index:20}.ztxk-footer,.ztxk-footer .ztxk-footer--group{align-items:center;display:flex}.ztxk-footer .ztxk-footer--group .ztxk-pagination,.ztxk-footer .ztxk-footer--group>button{margin-right:10px}.ztxk-footer .ztxk-footer--group>button:last-child{margin-right:0}.ztxk-footer .footer-pagination{color:#000000a6}.ztxk-footer .footer-pagination>span{color:#4285f4;padding:0 2px}
@@ -1,5 +0,0 @@
1
- import _default from './footer.js';
2
-
3
-
4
-
5
- export { _default as default };
@@ -1,34 +0,0 @@
1
- import { ButtonType } from 'antd/lib/button';
2
-
3
- interface IPagination {
4
- total: number;
5
- pageSize: number;
6
- current: number;
7
- onChange: (page: number, pageSize: number | undefined) => void;
8
- onShowSizeChange?: (current: number, size: number) => void;
9
- pageSizeOptions?: any;
10
- }
11
- interface IBtn {
12
- type?: ButtonType;
13
- text: React.ReactNode;
14
- loading?: boolean;
15
- disabled?: boolean;
16
- onClick: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
17
- }
18
- interface IDropdown {
19
- text: string;
20
- overlay: any;
21
- }
22
- interface IFooterDom extends Partial<IPagination & IBtn & IDropdown> {
23
- DOMType?: "button" | "pagination" | "dropdown";
24
- render?: () => React.ReactElement;
25
- align?: "left" | "right";
26
- }
27
- interface IFooterProps {
28
- children?: React.ReactNode;
29
- className?: string;
30
- align?: "left" | "center" | "right";
31
- footerDom?: IFooterDom[] | null;
32
- }
33
-
34
- export { IFooterDom, IFooterProps };
@@ -1,18 +0,0 @@
1
- import React__default from 'react';
2
- import { Form } from 'antd';
3
- import { IProFormProps } from './interface.js';
4
-
5
- interface FormComponent extends React__default.ForwardRefExoticComponent<IProFormProps & React__default.RefAttributes<unknown>> {
6
- useForm: typeof Form.useForm;
7
- Item: typeof Form.Item;
8
- List: typeof Form.List;
9
- ErrorList: typeof Form.ErrorList;
10
- Provider: typeof Form.Provider;
11
- useFormInstance: typeof Form.useFormInstance;
12
- useWatch: typeof Form.useWatch;
13
- DefaultDom: any;
14
- ItemTipDom: any;
15
- }
16
- declare const MemoForm: FormComponent;
17
-
18
- export { MemoForm as default };
@@ -1 +0,0 @@
1
- .ant-form-item .ant-input-number+.ant-form-text{margin-left:8px}.ant-form-inline{display:flex;flex-wrap:wrap}.ant-form-inline .ant-form-item{flex:none;flex-wrap:nowrap;margin-bottom:0;margin-right:16px}.ant-form-inline .ant-form-item-with-help{margin-bottom:24px}.ant-form-inline .ant-form-item>.ant-form-item-control,.ant-form-inline .ant-form-item>.ant-form-item-label{display:inline-block;vertical-align:top}.ant-form-inline .ant-form-item>.ant-form-item-label{flex:none}.ant-form-inline .ant-form-item .ant-form-item-has-feedback,.ant-form-inline .ant-form-item .ant-form-text{display:inline-block}.ant-form-horizontal .ant-form-item-label{flex-grow:0}.ant-form-horizontal .ant-form-item-control{flex:1 1 0;min-width:0}.ant-form-horizontal .ant-form-item-label[class$="-24"]+.ant-form-item-control,.ant-form-horizontal .ant-form-item-label[class*="-24 "]+.ant-form-item-control{min-width:unset}.ant-form-vertical .ant-form-item-row{flex-direction:column}.ant-form-vertical .ant-form-item-label>label{height:auto}.ant-form-vertical .ant-form-item .ant-form-item-control{width:100%}.ant-col-24.ant-form-item-label,.ant-col-xl-24.ant-form-item-label,.ant-form-vertical .ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-24.ant-form-item-label>label,.ant-col-xl-24.ant-form-item-label>label,.ant-form-vertical .ant-form-item-label>label{margin:0}.ant-col-24.ant-form-item-label>label:after,.ant-col-xl-24.ant-form-item-label>label:after,.ant-form-vertical .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-24.ant-form-item-label,.ant-form-rtl.ant-col-xl-24.ant-form-item-label,.ant-form-rtl.ant-form-vertical .ant-form-item-label{text-align:right}@media (max-width:575px){.ant-form-item .ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-form-item .ant-form-item-label>label{margin:0}.ant-form-item .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-form-item .ant-form-item-label{text-align:right}.ant-form .ant-form-item{flex-wrap:wrap}.ant-form .ant-form-item .ant-form-item-control,.ant-form .ant-form-item .ant-form-item-label{flex:0 0 100%;max-width:100%}.ant-col-xs-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-xs-24.ant-form-item-label>label{margin:0}.ant-col-xs-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xs-24.ant-form-item-label{text-align:right}}@media (max-width:767px){.ant-col-sm-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-sm-24.ant-form-item-label>label{margin:0}.ant-col-sm-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-sm-24.ant-form-item-label{text-align:right}}@media (max-width:991px){.ant-col-md-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-md-24.ant-form-item-label>label{margin:0}.ant-col-md-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-md-24.ant-form-item-label{text-align:right}}@media (max-width:1199px){.ant-col-lg-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-lg-24.ant-form-item-label>label{margin:0}.ant-col-lg-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-lg-24.ant-form-item-label{text-align:right}}@media (max-width:1599px){.ant-col-xl-24.ant-form-item-label{line-height:1.5715;padding:0 0 8px;text-align:left;white-space:normal}.ant-col-xl-24.ant-form-item-label>label{margin:0}.ant-col-xl-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xl-24.ant-form-item-label{text-align:right}}.ant-form-item-explain-error{color:#ff4d4f}.ant-form-item-explain-warning{color:#faad14}.ant-form-item-has-feedback .ant-switch{margin:2px 0 4px}.ant-form-item-has-warning .ant-form-item-split{color:#faad14}.ant-form-item-has-error .ant-form-item-split{color:#ff4d4f}.ant-form{font-feature-settings:"tnum";box-sizing:border-box;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;padding:0}.ant-form legend{border:0;border-bottom:1px solid #d9d9d9;color:#00000073;display:block;font-size:16px;line-height:inherit;margin-bottom:20px;padding:0;width:100%}.ant-form label{font-size:14px}.ant-form input[type=search]{box-sizing:border-box}.ant-form input[type=checkbox],.ant-form input[type=radio]{line-height:normal}.ant-form input[type=file]{display:block}.ant-form input[type=range]{display:block;width:100%}.ant-form select[multiple],.ant-form select[size]{height:auto}.ant-form input[type=checkbox]:focus,.ant-form input[type=file]:focus,.ant-form input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ant-form output{color:#000000a6;display:block;font-size:14px;line-height:1.5715;padding-top:15px}.ant-form .ant-form-text{display:inline-block;padding-right:8px}.ant-form-small .ant-form-item-label>label{height:24px}.ant-form-small .ant-form-item-control-input{min-height:24px}.ant-form-large .ant-form-item-label>label{height:40px}.ant-form-large .ant-form-item-control-input{min-height:40px}.ant-form-item{font-feature-settings:"tnum";box-sizing:border-box;color:#000000a6;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0 0 24px;padding:0;vertical-align:top}.ant-form-item-with-help{transition:none}.ant-form-item-hidden,.ant-form-item-hidden.ant-row{display:none}.ant-form-item-label{display:inline-block;flex-grow:0;overflow:hidden;text-align:right;vertical-align:middle;white-space:nowrap}.ant-form-item-label-left{text-align:left}.ant-form-item-label-wrap{line-height:1.3215em;overflow:unset;white-space:unset}.ant-form-item-label>label{align-items:center;color:#000000d9;display:inline-flex;font-size:14px;height:32px;max-width:100%;position:relative}.ant-form-item-label>label>.anticon{font-size:14px;vertical-align:top}.ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{color:#ff4d4f;content:"*";display:inline-block;font-family:SimSun,sans-serif;font-size:14px;line-height:1;margin-right:4px}.ant-form-hide-required-mark .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:none}.ant-form-item-label>label .ant-form-item-optional{color:#00000073;display:inline-block;margin-left:4px}.ant-form-hide-required-mark .ant-form-item-label>label .ant-form-item-optional{display:none}.ant-form-item-label>label .ant-form-item-tooltip{color:#00000073;cursor:help;margin-inline-start:4px;writing-mode:horizontal-tb}.ant-form-item-label>label:after{content:":";margin:0 8px 0 2px;position:relative;top:-.5px}.ant-form-item-label>label.ant-form-item-no-colon:after{content:" "}.ant-form-item-control{display:flex;flex-direction:column;flex-grow:1}.ant-form-item-control:first-child:not([class^=ant-col-]):not([class*=" ant-col-"]){width:100%}.ant-form-item-control-input{align-items:center;display:flex;min-height:32px;position:relative}.ant-form-item-control-input-content{flex:auto;max-width:100%}.ant-form-item-explain,.ant-form-item-extra{clear:both;color:#00000073;font-size:14px;line-height:1.5715;transition:color .3s cubic-bezier(.215,.61,.355,1)}.ant-form-item-explain-connected{width:100%}.ant-form-item-extra{min-height:24px}.ant-form-item-with-help .ant-form-item-explain{height:auto;opacity:1}.ant-form-item-feedback-icon{animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);font-size:14px;pointer-events:none;text-align:center;visibility:visible}.ant-form-item-feedback-icon-success{color:#52c41a}.ant-form-item-feedback-icon-error{color:#ff4d4f}.ant-form-item-feedback-icon-warning{color:#faad14}.ant-form-item-feedback-icon-validating{color:#5b76f6}.ant-show-help{transition:opacity .3s cubic-bezier(.645,.045,.355,1)}.ant-show-help-appear,.ant-show-help-enter{opacity:0}.ant-show-help-appear-active,.ant-show-help-enter-active,.ant-show-help-leave{opacity:1}.ant-show-help-leave-active{opacity:0}.ant-show-help-item{overflow:hidden;transition:height .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1)!important}.ant-show-help-item-appear,.ant-show-help-item-enter{opacity:0;transform:translateY(-5px)}.ant-show-help-item-appear-active,.ant-show-help-item-enter-active{opacity:1;transform:translateY(0)}.ant-show-help-item-leave{transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1),transform .2s cubic-bezier(.645,.045,.355,1)!important}.ant-show-help-item-leave-active{transform:translateY(-5px)}@keyframes diffZoomIn1{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes diffZoomIn2{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes diffZoomIn3{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.ant-form-rtl{direction:rtl}.ant-form-rtl .ant-form-item-label{text-align:left}.ant-form-rtl .ant-form-item-label>label.ant-form-item-required:before{margin-left:4px;margin-right:0}.ant-form-rtl .ant-form-item-label>label:after{margin:0 2px 0 8px}.ant-form-rtl .ant-form-item-label>label .ant-form-item-optional{margin-left:0;margin-right:4px}.ant-col-rtl .ant-form-item-control:first-child{width:100%}.ant-form-rtl .ant-form-item-has-feedback .ant-input{padding-left:24px;padding-right:11px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-left:18px;padding-right:11px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input,.ant-form-rtl .ant-form-item-has-feedback .ant-input-number-affix-wrapper .ant-input-number{padding:0}.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix{left:28px;right:auto}.ant-form-rtl .ant-form-item-has-feedback .ant-input-number{padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-clear{left:32px;right:auto}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-selection-selected-value{padding-left:42px;padding-right:0}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow{margin-left:19px;margin-right:0}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear{left:32px;right:auto}.ant-form-rtl .ant-form-item-has-feedback .ant-picker,.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large{padding-left:29.2px;padding-right:11px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small{padding-left:25.2px;padding-right:7px}.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon{left:0;right:auto}.ant-form-rtl.ant-form-inline .ant-form-item{margin-left:16px;margin-right:0}.ztxk-form{background:#fff;display:flex;justify-content:space-between;padding:0}.ztxk-form .ztxk-form--detault-dom{border:1px solid #d9d9d9;border-left:none;border-radius:0 4px 4px 0}.ztxk-form .ztxk-form--detault-dom,.ztxk-form .ztxk-form--tip-dom{align-items:center;display:flex;min-height:32px;padding:4px 11px;transition:all .3s}.ztxk-form .ztxk-form--tip-dom{border-radius:0 4px 4px 0}.ztxk-form.ztxk-form--bottom-border{border-bottom:1px solid #ebf3fe}.ztxk-form .ztxk-form__left{flex:1;position:relative;transition:max-height .3s ease-out}.ztxk-form .ztxk-form__left.ztxk-form__left--toggle{overflow:hidden}.ztxk-form .ztxk-form__left.ztxk-form__left--flex{display:flex;flex-grow:1;flex-wrap:wrap}.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-checkbox-group,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-form-item-label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-form-item-label label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-input,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-input-affix-wrapper,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-picker,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-radio-group,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-select-selector,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .city-picker-span,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error.ztxk-form__item--direction-column,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-form-item-label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-form-item-label label,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-input,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-input-affix-wrapper,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-picker,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ant-select-selector,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .city-picker-span,.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error:hover .ztxk-form--detault-dom{border-color:#f88!important}.ztxk-form .ztxk-form__left.ztxk-form__left--flex .ant-form-item-has-error .ant-form-item-margin-offset{margin-bottom:0!important}.ztxk-form .ztxk-form__left.ztxk-form__left--flex-direction{flex-direction:column}.ztxk-form .ztxk-form__left.ztxk-form__left--flex-direction>div{flex:none}.ztxk-form .ztxk-form--operation{align-items:center;display:flex;flex-direction:column;margin-right:10px}.ztxk-form .ztxk-form--operation .ztxk-dynamic-setting{cursor:pointer;margin-top:6px;position:relative}.ztxk-form .ztxk-form--operation .ztxk-from--toggle{cursor:pointer;margin-top:4px}.ztxk-form .ztxk-form--operation .ztxk-from--toggle>span{transition:transform .4s ease 0s}.ztxk-form .ztxk-form__right{display:flex}.ztxk-form .ztxk-form__right>button.ant-btn{margin-left:10px;margin-right:0}.ztxk-form .ztxk-form__right>button.ant-btn:first-child{margin-left:0}
@@ -1,5 +0,0 @@
1
- import MemoForm from './form.js';
2
-
3
-
4
-
5
- export { MemoForm as default };
@@ -1,91 +0,0 @@
1
- import { FormProps } from 'antd/lib/form';
2
- import { IFormItem } from '../formitem/formItem.js';
3
-
4
- interface IFormPreferences {
5
- isRequired?: boolean | number;
6
- isChangeable?: boolean | number;
7
- isDisplay?: boolean | number;
8
- }
9
- interface IFormItemProps extends IFormItem {
10
- key?: string;
11
- }
12
- interface IProFormProps extends FormProps {
13
- /**
14
- * 是否需要下边框
15
- */
16
- bottomBorder?: boolean;
17
- /**
18
- * 选择样式模式
19
- */
20
- type?: "default" | "list";
21
- /**
22
- * 是否开启容器flex布局
23
- */
24
- isFlex?: boolean;
25
- /**
26
- * 是否toggle
27
- */
28
- isToggle?: boolean;
29
- toggleNum?: number;
30
- defaultToggle?: boolean;
31
- /**
32
- * 主容器类名
33
- */
34
- wrapClassName?: string;
35
- /**
36
- * 左容器类名
37
- */
38
- leftClassName?: string;
39
- /**
40
- * 子项类名
41
- */
42
- itemClassName?: string;
43
- /**
44
- * 是否显示右侧容器
45
- */
46
- rightWrapVisible?: boolean;
47
- /**
48
- * 右容器类名
49
- */
50
- rightClassName?: string;
51
- /**
52
- * 点击重置
53
- */
54
- onResetHandle?: any;
55
- isResetAndClear?: boolean;
56
- /**
57
- * 点击查询
58
- */
59
- onSearchHandle?: any;
60
- /**
61
- * 动态列配置
62
- */
63
- dynamicKey?: string;
64
- /**
65
- * 动态列配置版本。版本号高的可以覆盖用户本地配置。
66
- * 就按数字往上递增的规则就行 1 2 3 4 5这种
67
- */
68
- dynamicVersion?: number;
69
- /** 表单布局 默认是横向 设置为true后 为纵向布局 */
70
- directionColumn?: boolean;
71
- /**
72
- * 表单项配置 一定要是一个state 或者 memo,保证不可变
73
- * 这个配置项 一定是直接从服务器初始化来的 后续不要做变动
74
- * 如果需要单独控制某个属性的显示隐藏,一定是直接设置FormItem的isDisplay等信息
75
- * 因为这个对象发生改变的时候 表单会整个重新渲染,导致性能低下
76
- */
77
- formPreferences?: {
78
- [prop: string]: IFormPreferences;
79
- };
80
- /**
81
- * 使用配置化表单
82
- */
83
- items?: IFormItemProps[];
84
- children?: any;
85
- /**
86
- * 表单内部需要的外部参数
87
- */
88
- outsideState?: any;
89
- }
90
-
91
- export { IFormItemProps, IFormPreferences, IProFormProps };
@@ -1,115 +0,0 @@
1
- import React__default from 'react';
2
- import { FormItemProps, FormInstance } from 'antd/lib/form';
3
-
4
- type IWidth = "half" | "double" | "all" | "halfAll" | number;
5
- interface IFormItem extends FormItemProps {
6
- /**
7
- * 是否显示
8
- */
9
- isDisplay?: boolean | string | ((formInstance: FormInstance<any>) => boolean);
10
- /**
11
- * 是否必填
12
- */
13
- isRequired?: boolean | string | ((formInstance: FormInstance<any>) => boolean);
14
- /**
15
- * 是否可修改
16
- */
17
- isChangeable?: boolean | string | ((formInstance: FormInstance<any>) => boolean);
18
- /**
19
- * 强调
20
- */
21
- isStress?: boolean;
22
- /**
23
- * 前缀
24
- */
25
- preNode?: React__default.ReactNode;
26
- /**
27
- * 后缀
28
- */
29
- nextNode?: React__default.ReactNode;
30
- /**
31
- * 禁用动态列配置的取消功能
32
- */
33
- dynamicDisabled?: boolean;
34
- /**
35
- * 表单项取配置项的key,没有的化 取 name字段
36
- */
37
- configName?: string;
38
- /**
39
- * 隐藏边框
40
- */
41
- hiddenBorder?: boolean;
42
- /**
43
- * 单选择器显示边框
44
- */
45
- singleSelectShowBorder?: boolean;
46
- /**
47
- * 单item
48
- */
49
- singleSelect?: boolean;
50
- /**
51
- * 隐藏label
52
- */
53
- hiddenLabel?: boolean;
54
- /**
55
- * 边框宽度
56
- */
57
- width?: IWidth;
58
- /**
59
- * 占位元素(不占据高度,只提供一个隔离的作用)
60
- */
61
- divider?: boolean;
62
- /**
63
- * item样式
64
- */
65
- itemClassName?: string;
66
- index?: number;
67
- /**
68
- * 子元素渲染
69
- */
70
- render?: (itemProps: any, formInstance?: FormInstance<any>) => JSX.Element;
71
- /**
72
- * 控制依赖关系
73
- */
74
- shouldUpdateNames?: string[];
75
- /**
76
- * 依赖关系发生改变是否需要清空 当前item
77
- */
78
- shouldUpdateClear?: boolean | string[];
79
- /**
80
- * 是否需要外部参数判断是否渲染组件,编写高性能表单时,可能会用到这个配置
81
- * 什么场景下需要开启这个配置:
82
- * 当你的 items 配置需要依赖外部state时可开启
83
- * 即 你的items 可能因为某个state的改变而重新生成时,可选择开启
84
- */
85
- shouldUpdateBeOutsideState?: (prevOutsideState: any, nextOutsideState: any) => boolean;
86
- /**
87
- * @deprecated 此属性已经废弃,可以删除掉这个属性
88
- * item 类型
89
- * 当需要一些表单除外的样式时 使用
90
- */
91
- nonForm?: boolean;
92
- /**
93
- * 是否自定义表单项
94
- */
95
- isCustomItem?: boolean;
96
- /**
97
- * 自定义表单项样式
98
- * default 默认样式
99
- * fill 表示输入框还是同样的高度,只是去除上下边框
100
- */
101
- customStyle?: "default" | "fill";
102
- /**
103
- * 提示语
104
- */
105
- tipString?: string;
106
- /**
107
- * 布局
108
- */
109
- directionColumn?: boolean;
110
- }
111
- declare const _default: React__default.NamedExoticComponent<IFormItem & {
112
- outsideState: any;
113
- }>;
114
-
115
- export { IFormItem, IWidth, _default as default };
@@ -1 +0,0 @@
1
- .ztxk-form__item--wrap{align-items:center;display:flex;padding-bottom:10px;padding-right:10px;position:relative}.ztxk-form__item--wrap .ztxk-form__item--wrap--tips{color:#f88;position:absolute;right:10px;top:2px}.ztxk-form__item--wrap .ant-form-item{margin-bottom:0}.ztxk-form__item--wrap .ant-form-item .ant-form-item-explain{display:none}.ztxk-form__item--wrap .ant-form-item .ant-picker-focused{box-shadow:none}.ztxk-form__item--wrap .ant-form-item .ant-select{margin-left:0}.ztxk-form__item--wrap .ant-form-item .ant-input-affix-wrapper-focused,.ztxk-form__item--wrap .ant-form-item .ant-input-affix-wrapper:focus,.ztxk-form__item--wrap .ant-form-item .ant-input-focused,.ztxk-form__item--wrap .ant-form-item .ant-input-number-focused,.ztxk-form__item--wrap .ant-form-item .ant-input-number:focus,.ztxk-form__item--wrap .ant-form-item .ant-input:focus,.ztxk-form__item--wrap .ant-form-item .ant-select-focused.ant-select-single:not(.ant-select-customize-input) .ant-select-selector,.ztxk-form__item--wrap .ant-form-item .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{box-shadow:none}.ztxk-form__item--wrap .ant-form-item:focus-within .ant-checkbox-group,.ztxk-form__item--wrap .ant-form-item:focus-within .ant-form-item-label,.ztxk-form__item--wrap .ant-form-item:focus-within .ant-form-item-label label,.ztxk-form__item--wrap .ant-form-item:focus-within .ant-input,.ztxk-form__item--wrap .ant-form-item:focus-within .ant-input-number,.ztxk-form__item--wrap .ant-form-item:focus-within .ant-picker,.ztxk-form__item--wrap .ant-form-item:focus-within .ant-radio-group,.ztxk-form__item--wrap .ant-form-item:focus-within .ant-select-selector,.ztxk-form__item--wrap .ant-form-item:hover .ant-checkbox-group,.ztxk-form__item--wrap .ant-form-item:hover .ant-form-item-label,.ztxk-form__item--wrap .ant-form-item:hover .ant-form-item-label label,.ztxk-form__item--wrap .ant-form-item:hover .ant-input,.ztxk-form__item--wrap .ant-form-item:hover .ant-input-number,.ztxk-form__item--wrap .ant-form-item:hover .ant-picker,.ztxk-form__item--wrap .ant-form-item:hover .ant-radio-group,.ztxk-form__item--wrap .ant-form-item:hover .ant-select-selector{border-color:#1566d2}.ztxk-form__item--wrap .ant-form-item:focus-within .ant-input-disabled,.ztxk-form__item--wrap .ant-form-item:focus-within .ant-input-number-disabled,.ztxk-form__item--wrap .ant-form-item:hover .ant-input-disabled,.ztxk-form__item--wrap .ant-form-item:hover .ant-input-number-disabled{border-color:#cdd9e6!important}.ztxk-form__item--wrap .ant-form-item:focus-within .ztxk-form--detault-dom,.ztxk-form__item--wrap .ant-form-item:hover .ztxk-form--detault-dom{border-color:#1566d2}.ztxk-form__item--wrap .ant-form-item .ant-input-disabled,.ztxk-form__item--wrap .ant-form-item .ant-input-number-disabled{background-color:#f5f5f5}.ztxk-form__item--wrap .ant-form-item .ant-form-item-label{background-color:#fff;border:1px solid #cdd9e6;border-radius:4px 0 0 4px;border-right:0;color:#768696;font-size:12px;text-align:right;transition:border .3s}.ztxk-form__item--wrap .ant-form-item .ant-form-item-label label{font-size:12px;height:30px;line-height:30px;padding-left:6px}.ztxk-form__item--wrap .ant-form-item .ant-select-selector{border-left:none;border-radius:0 4px 4px 0}.ztxk-form__item--wrap .ant-form-item .ant-select-selector .ant-select-selection-item{width:100px}.ztxk-form__item--wrap .ant-form-item .ant-select-focused.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{border-color:#1566d2}.ztxk-form__item--wrap .ant-form-item .ant-input-affix-wrapper{border-left:none;border-radius:0 4px 4px 0}.ztxk-form__item--wrap .ant-form-item .ant-input-affix-wrapper .ant-input{font-size:13px;height:auto}.ztxk-form__item--wrap .ant-form-item .ant-input-affix-wrapper:hover,.ztxk-form__item--wrap .ant-form-item .ant-input-number:hover{border-color:#1566d2}.ztxk-form__item--wrap .ant-form-item .ant-input-number{border-left:none;border-radius:0 4px 4px 0;height:32px;width:100%}.ztxk-form__item--wrap .ant-form-item .ant-input-number:focus{border-color:#1566d2;border-left:1px solid #1566d2}.ztxk-form__item--wrap .ant-form-item .ant-picker{border-left:none;border-radius:0 4px 4px 0;width:100%}.ztxk-form__item--wrap .ant-form-item .ant-picker.ant-picker-focused{border-color:#1566d2}.ztxk-form__item--wrap .ant-form-item .ant-picker .ant-picker-input>input{text-align:left}.ztxk-form__item--wrap .ant-form-item .ant-input{border-left:none;border-radius:0 4px 4px 0;height:32px}.ztxk-form__item--wrap .ant-form-item .ant-input-textarea .ant-input{height:auto}.ztxk-form__item--wrap .ant-form-item .ant-input-textarea.ant-input-textarea-show-count.ant-input-textarea-in-form-item:after{margin-bottom:0}.ztxk-form__item--wrap .ant-form-item .ant-select{width:100%}.ztxk-form__item--wrap .ant-form-item textarea{resize:none}.ztxk-form__item--wrap .ant-form-item .ant-checkbox-group,.ztxk-form__item--wrap .ant-form-item .ant-radio-group{align-items:center;border:1px solid #d9d9d9;border-left:none;border-radius:0 4px 4px 0;display:flex;min-height:32px;transition:all .3s}.ztxk-form__item--wrap .ant-form-item .ant-form-item-control{font-size:13px;width:calc(100% - 130px)}.ztxk-form__item--wrap .ant-form-item .ant-form-item-label,.ztxk-form__item--wrap .ant-form-item .ant-form-item-label label{background-color:none}.ztxk-form__item--wrap .ant-form-item .ant-form-item-label label>*,.ztxk-form__item--wrap .ant-form-item .ant-form-item-label>*{cursor:default}.ztxk-form__item--wrap .ant-form-item .ant-form-item-control-input-content,.ztxk-form__item--wrap .ant-form-item .ant-input-affix-wrapper,.ztxk-form__item--wrap .ant-form-item .ant-picker{min-height:32px}.ztxk-form__item--wrap .ant-form-item .ant-select-selector,.ztxk-form__item--wrap .ant-form-item .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{min-height:32px;transition:all .3s}.ztxk-form__item--wrap .ant-form-item .ant-input-affix-wrapper-focused,.ztxk-form__item--wrap .ant-form-item .ant-input-affix-wrapper:focus,.ztxk-form__item--wrap .ant-form-item .ant-input-focused,.ztxk-form__item--wrap .ant-form-item .ant-input:focus{border-color:#1566d2!important}.ztxk-form__item--wrap .ant-form-item:hover .ant-form-item-label,.ztxk-form__item--wrap .ant-form-item:hover .ant-form-item-label label,.ztxk-form__item--wrap .ant-form-item:hover .ant-input,.ztxk-form__item--wrap .ant-form-item:hover .ant-input-affix-wrapper,.ztxk-form__item--wrap .ant-form-item:hover .ant-input-number,.ztxk-form__item--wrap .ant-form-item:hover .ant-picker,.ztxk-form__item--wrap .ant-form-item:hover .ant-select-selector{border-color:#1566d2}.ztxk-form__item--wrap .ztxk-form__item--direction-column{border:1px solid #cdd9e6;border-radius:4px;transition:border .3s}.ztxk-form__item--wrap .ztxk-form__item--direction-column:hover{border-color:#1566d2}.ztxk-form__item--wrap .ztxk-form__item--direction-column>.ant-form-item-row{flex-direction:column}.ztxk-form__item--wrap .ztxk-form__item--direction-column .ant-form-item-label{border:none;border-radius:4px;text-align:left}.ztxk-form__item--wrap .ztxk-form__item--direction-column .ant-form-item-control{padding-left:10px;width:100%}.ztxk-form__item--wrap .ztxk-form__item--direction-column .ant-checkbox-group,.ztxk-form__item--wrap .ztxk-form__item--direction-column .ant-input,.ztxk-form__item--wrap .ztxk-form__item--direction-column .ant-input-number,.ztxk-form__item--wrap .ztxk-form__item--direction-column .ant-picker,.ztxk-form__item--wrap .ztxk-form__item--direction-column .ant-select-selector{border:none}.ztxk-form__item--wrap .ztxk-form__item--direction-column .ant-input-number .ant-input-number-handler-wrap>span{border-top:1px solid #d9d9d9}.ztxk-form__item--wrap .ztxk-form__item--direction-column textarea.ant-input:focus{box-shadow:none!important}.ztxk-form__item--wrap .ztxk-form__item{flex:1}.ztxk-form__item--wrap .ztxk-form__item--disabled .ant-form-item-label,.ztxk-form__item--wrap .ztxk-form__item--disabled .ant-form-item-label label,.ztxk-form__item--wrap .ztxk-form__item--disabled .ztxk-form--detault-dom{background-color:#f5f5f5;cursor:not-allowed}.ztxk-form__item--wrap .ztxk-form__item--disabled .ant-form-item-label label>*,.ztxk-form__item--wrap .ztxk-form__item--disabled .ant-form-item-label>*,.ztxk-form__item--wrap .ztxk-form__item--disabled .ztxk-form--detault-dom>*{cursor:not-allowed}.ztxk-form__item--wrap .ztxk-form__item--disabled:hover .ant-form-item-label,.ztxk-form__item--wrap .ztxk-form__item--disabled:hover .ant-form-item-label label,.ztxk-form__item--wrap .ztxk-form__item--disabled:hover .ant-input,.ztxk-form__item--wrap .ztxk-form__item--disabled:hover .ant-input-affix-wrapper,.ztxk-form__item--wrap .ztxk-form__item--disabled:hover .ant-input-number,.ztxk-form__item--wrap .ztxk-form__item--disabled:hover .ant-picker,.ztxk-form__item--wrap .ztxk-form__item--disabled:hover .ant-select-selector,.ztxk-form__item--wrap .ztxk-form__item--disabled:hover .ztxk-form--detault-dom{border-color:#cdd9e6!important}.ztxk-form__item--wrap .ztxk-form__item--hidden-label .ant-checkbox-group,.ztxk-form__item--wrap .ztxk-form__item--hidden-label .ant-form-item-label,.ztxk-form__item--wrap .ztxk-form__item--hidden-label .ant-form-item-label label,.ztxk-form__item--wrap .ztxk-form__item--hidden-label .ant-input,.ztxk-form__item--wrap .ztxk-form__item--hidden-label .ant-input-affix-wrapper,.ztxk-form__item--wrap .ztxk-form__item--hidden-label .ant-input-number,.ztxk-form__item--wrap .ztxk-form__item--hidden-label .ant-picker,.ztxk-form__item--wrap .ztxk-form__item--hidden-label .ant-radio-group,.ztxk-form__item--wrap .ztxk-form__item--hidden-label .ant-select-selector{border-left:1px solid #d9d9d9;border-radius:4px}.ztxk-form__item--wrap .ztxk-form__item--hidden-label .ant-checkbox-group,.ztxk-form__item--wrap .ztxk-form__item--hidden-label .ant-radio-group{padding-left:11px}.ztxk-form__item--wrap .ztxk-form__item--hidden-border .ant-form-item-label,.ztxk-form__item--wrap .ztxk-form__item--hidden-border .ant-form-item-label label{border:none}.ztxk-form__item--wrap .ztxk-form__item--hidden-border .ant-checkbox-group,.ztxk-form__item--wrap .ztxk-form__item--hidden-border .ant-radio-group{border:none;min-height:32px}.ztxk-form__item--wrap .ztxk-form__item--hidden-border .ztxk-form--detault-dom{border:none}.ztxk-form__item--wrap .ztxk-form__item--single-select{color:red}.ztxk-form__item--wrap .ztxk-form__item--single-select .ant-form-item-control-input-content{background:#fff;border:none;line-height:32px;padding-left:11px;transition:border .3s}.ztxk-form__item--wrap .ztxk-form__item--single-show-border.pro-form__item--nolabel .ant-form-item-control-input-content{border-left:1px solid #d9d9d9;border-radius:4px}.ztxk-form__item--wrap .ztxk-form__item--single-show-border .ant-form-item-control-input-content{background:#fff;border:1px solid #d9d9d9;border-radius:4px;line-height:30px;padding-left:11px;transition:border .3s}.ztxk-form__item--wrap .ztxk-form__item--single-show-border .ant-form-item-control-input-content:hover{border-color:#1566d2}.ztxk-form__item--wrap .ztxk-form__item--stress .ant-form-item-label label{color:#f88}.ztxk-form__item--wrap .ztxk-form__item--custom .ztxk-form--detault-dom{padding:2px 11px}.ztxk-form__item--wrap .ztxk-form__item--custom .ant-input,.ztxk-form__item--wrap .ztxk-form__item--custom .ant-input-number{border:1px solid #d9d9d9;border-radius:4px;height:26px}.ztxk-form__item--wrap .ztxk-form__item--custom .ant-radio-group{border:none;min-height:26px}.ztxk-form__item--wrap .ztxk-form__item--custom .ant-input-number-input{height:23px}.ztxk-form__item--wrap .ztxk-form__item--custom .ant-select-selector{border:1px solid #d9d9d9;border-radius:4px;height:26px;min-height:26px!important}.ztxk-form__item--wrap .ztxk-form__item--custom .ant-select-selector .ant-select-selection-placeholder{line-height:24px}.ztxk-form__item--wrap .ztxk-form__item--custom .ant-select-selector .ant-select-selection-search-input{height:26px}.ztxk-form__item--wrap .ztxk-form__item--custom .ant-select-selector .ant-select-selection-item{line-height:23px}.ztxk-form__item--wrap .ztxk-form__item--custom-fill .ztxk-form--detault-dom{padding:0 11px}.ztxk-form__item--wrap .ztxk-form__item--custom-fill .ant-input,.ztxk-form__item--wrap .ztxk-form__item--custom-fill .ant-input-number{border-bottom:none;border-radius:4px;border-top:none;height:30px}.ztxk-form__item--wrap .ztxk-form__item--custom-fill .ant-input-number-input{height:30px}.ztxk-form__item--wrap .ztxk-form__item--custom-fill .ant-select-selector{border:1px solid #d9d9d9;border-bottom:none;border-radius:4px;border-top:none;height:30px;min-height:30px!important}.ztxk-form__item--wrap .ztxk-form__item--custom-fill .ant-select-selector .ant-select-selection-placeholder{line-height:30px}.ztxk-form__item--wrap .ztxk-form__item--custom-fill .ant-select-selector .ant-select-selection-search-input{height:30px}.ztxk-form__item--wrap .ztxk-form__item--custom-fill .ant-select-selector .ant-select-selection-item{line-height:30px}
@@ -1,5 +0,0 @@
1
- import _default from './formItem.js';
2
-
3
-
4
-
5
- export { _default as default };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import * as _ant_design_icons_lib_components_IconFont from '@ant-design/icons/lib/components/IconFont';
3
-
4
- declare const IconFont: React.FC<_ant_design_icons_lib_components_IconFont.IconFontProps<string>>;
5
-
6
- export { IconFont as default };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import * as _ant_design_icons_lib_components_IconFont from '@ant-design/icons/lib/components/IconFont';
3
-
4
- declare const IconFont: React.FC<_ant_design_icons_lib_components_IconFont.IconFontProps<string>>;
5
-
6
- export { IconFont as default };
@@ -1,13 +0,0 @@
1
- import React__default from 'react';
2
- import { TextAreaProps } from 'antd/es/input';
3
-
4
- interface ITextAreaProps extends TextAreaProps {
5
- /** 在表单中是否可以自行调整尺寸 */
6
- formResize?: boolean;
7
- }
8
- interface ITextAreaComponent extends React__default.ForwardRefExoticComponent<ITextAreaProps & React__default.RefAttributes<unknown>> {
9
- displayName: string;
10
- }
11
- declare const MemoTextArea: ITextAreaComponent;
12
-
13
- export { ITextAreaProps, MemoTextArea as default };
@@ -1 +0,0 @@
1
- .ant-input-affix-wrapper{background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;color:#000000a6;display:inline-block;display:inline-flex;font-size:14px;line-height:1.5715;min-width:0;padding:4px 11px;position:relative;transition:all .3s;width:100%}.ant-input-affix-wrapper::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-affix-wrapper:placeholder-shown{text-overflow:ellipsis}.ant-input-affix-wrapper:hover{border-color:#879fff;border-right-width:1px}.ant-input-rtl .ant-input-affix-wrapper:hover{border-left-width:1px!important;border-right-width:0}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{border-color:#879fff;border-right-width:1px;box-shadow:0 0 0 2px #5b76f633;outline:0}.ant-input-rtl .ant-input-affix-wrapper-focused,.ant-input-rtl .ant-input-affix-wrapper:focus{border-left-width:1px!important;border-right-width:0}.ant-input-affix-wrapper-disabled{background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;color:#00000040;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-affix-wrapper[disabled]{background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;color:#00000040;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-affix-wrapper-borderless,.ant-input-affix-wrapper-borderless-disabled,.ant-input-affix-wrapper-borderless-focused,.ant-input-affix-wrapper-borderless:focus,.ant-input-affix-wrapper-borderless:hover,.ant-input-affix-wrapper-borderless[disabled]{background-color:initial;border:none;box-shadow:none}textarea.ant-input-affix-wrapper{height:auto;line-height:1.5715;max-width:100%;min-height:32px;transition:all .3s,height 0s;vertical-align:bottom}.ant-input-affix-wrapper-lg{font-size:16px;padding:6.5px 11px}.ant-input-affix-wrapper-sm{padding:0 7px}.ant-input-affix-wrapper-rtl{direction:rtl}.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-color:#879fff;border-right-width:1px;z-index:1}.ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-left-width:1px!important;border-right-width:0}.ant-input-search-with-button .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{z-index:0}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{z-index:1}.ant-input-affix-wrapper-disabled .ant-input[disabled]{background:#fff0}.ant-input-affix-wrapper>.ant-input{border:none;font-size:inherit;outline:none}.ant-input-affix-wrapper>.ant-input:focus{box-shadow:none!important}.ant-input-affix-wrapper>.ant-input:not(textarea){padding:0}.ant-input-affix-wrapper:before{content:"\a0";display:inline-block;visibility:hidden;width:0}.ant-input-prefix,.ant-input-suffix{align-items:center;display:flex;flex:none}.ant-input-prefix>:not(:last-child),.ant-input-suffix>:not(:last-child){margin-right:8px}.ant-input-show-count-suffix{color:#00000073}.ant-input-show-count-has-suffix{margin-right:2px}.ant-input-prefix{margin-right:4px}.ant-input-suffix{margin-left:4px}.ant-input-clear-icon,.anticon.ant-input-clear-icon{color:#00000040;cursor:pointer;font-size:12px;margin:0;transition:color .3s;vertical-align:-1px}.ant-input-clear-icon:hover,.anticon.ant-input-clear-icon:hover{color:#00000073}.ant-input-clear-icon:active,.anticon.ant-input-clear-icon:active{color:#000000a6}.ant-input-clear-icon-hidden,.anticon.ant-input-clear-icon-hidden{visibility:hidden}.ant-input-clear-icon-has-suffix,.anticon.ant-input-clear-icon-has-suffix{margin:0 4px}.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn{padding:0}.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon{position:absolute;right:8px;top:8px;z-index:1}.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background:#fff;border-color:#ff4d4f}.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused,.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus{border-color:#ff7875;border-right-width:1px;box-shadow:0 0 0 2px #ff4d4f33;outline:0}.ant-input-status-error .ant-input-prefix{color:#ff4d4f}.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background:#fff;border-color:#faad14}.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused,.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus{border-color:#ffc53d;border-right-width:1px;box-shadow:0 0 0 2px #faad1433;outline:0}.ant-input-status-warning .ant-input-prefix{color:#faad14}.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover{background:#fff;border-color:#ff4d4f}.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused,.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus{border-color:#ff7875;border-right-width:1px;box-shadow:0 0 0 2px #ff4d4f33;outline:0}.ant-input-affix-wrapper-status-error .ant-input-prefix{color:#ff4d4f}.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover{background:#fff;border-color:#faad14}.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused,.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus{border-color:#ffc53d;border-right-width:1px;box-shadow:0 0 0 2px #faad1433;outline:0}.ant-input-affix-wrapper-status-warning .ant-input-prefix{color:#faad14}.ant-input-textarea-status-error.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-success.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-validating.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-warning.ant-input-textarea-has-feedback .ant-input{padding-right:24px}.ant-input-group-wrapper-status-error .ant-input-group-addon{border-color:#ff4d4f;color:#ff4d4f}.ant-input-group-wrapper-status-warning .ant-input-group-addon{border-color:#faad14;color:#faad14}.ant-input{font-feature-settings:"tnum";background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;box-sizing:border-box;color:#000000a6;display:inline-block;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;min-width:0;padding:4px 11px;position:relative;transition:all .3s;width:100%}.ant-input::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input:placeholder-shown{text-overflow:ellipsis}.ant-input:hover{border-color:#879fff;border-right-width:1px}.ant-input-rtl .ant-input:hover{border-left-width:1px!important;border-right-width:0}.ant-input-focused,.ant-input:focus{border-color:#879fff;border-right-width:1px;box-shadow:0 0 0 2px #5b76f633;outline:0}.ant-input-rtl .ant-input-focused,.ant-input-rtl .ant-input:focus{border-left-width:1px!important;border-right-width:0}.ant-input-disabled{background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;color:#00000040;cursor:not-allowed;opacity:1}.ant-input-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input[disabled]{background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;color:#00000040;cursor:not-allowed;opacity:1}.ant-input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-borderless,.ant-input-borderless-disabled,.ant-input-borderless-focused,.ant-input-borderless:focus,.ant-input-borderless:hover,.ant-input-borderless[disabled]{background-color:initial;border:none;box-shadow:none}textarea.ant-input{height:auto;line-height:1.5715;max-width:100%;min-height:32px;transition:all .3s,height 0s;vertical-align:bottom}.ant-input-lg{font-size:16px;padding:6.5px 11px}.ant-input-sm{padding:0 7px}.ant-input-rtl{direction:rtl}.ant-input-group{font-feature-settings:"tnum";border-collapse:initial;border-spacing:0;box-sizing:border-box;color:#000000a6;display:table;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;padding:0;position:relative;width:100%}.ant-input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.ant-input-group>[class*=col-]{padding-right:8px}.ant-input-group>[class*=col-]:last-child{padding-right:0}.ant-input-group-addon,.ant-input-group-wrap,.ant-input-group>.ant-input{display:table-cell}.ant-input-group-addon:not(:first-child):not(:last-child),.ant-input-group-wrap:not(:first-child):not(:last-child),.ant-input-group>.ant-input:not(:first-child):not(:last-child){border-radius:0}.ant-input-group-addon,.ant-input-group-wrap{vertical-align:middle;white-space:nowrap;width:1px}.ant-input-group-wrap>*{display:block!important}.ant-input-group .ant-input{float:left;margin-bottom:0;text-align:inherit;width:100%}.ant-input-group .ant-input:focus,.ant-input-group .ant-input:hover{border-right-width:1px;z-index:1}.ant-input-search-with-button .ant-input-group .ant-input:hover{z-index:0}.ant-input-group-addon{background-color:#fafafa;border:1px solid #d9d9d9;border-radius:2px;color:#000000a6;font-size:14px;font-weight:400;padding:0 11px;position:relative;text-align:center;transition:all .3s}.ant-input-group-addon .ant-select{margin:-5px -11px}.ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:1px solid #0000;box-shadow:none}.ant-input-group-addon .ant-select-focused .ant-select-selector,.ant-input-group-addon .ant-select-open .ant-select-selector{color:#5b76f6}.ant-input-group-addon .ant-cascader-picker{background-color:initial;margin:-9px -12px}.ant-input-group-addon .ant-cascader-picker .ant-cascader-input{border:0;box-shadow:none;text-align:left}.ant-input-group-addon:first-child,.ant-input-group-addon:first-child .ant-select .ant-select-selector,.ant-input-group>.ant-input:first-child,.ant-input-group>.ant-input:first-child .ant-select .ant-select-selector{border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:first-child) .ant-input{border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:last-child) .ant-input{border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-group-addon:first-child{border-right:0}.ant-input-group-addon:last-child{border-left:0}.ant-input-group-addon:last-child,.ant-input-group-addon:last-child .ant-select .ant-select-selector,.ant-input-group>.ant-input:last-child,.ant-input-group>.ant-input:last-child .ant-select .ant-select-selector{border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-group-lg .ant-input,.ant-input-group-lg>.ant-input-group-addon{font-size:16px;padding:6.5px 11px}.ant-input-group-sm .ant-input,.ant-input-group-sm>.ant-input-group-addon{padding:0 7px}.ant-input-group-lg .ant-select-single .ant-select-selector{height:40px}.ant-input-group-sm .ant-select-single .ant-select-selector{height:24px}.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:last-child){border-bottom-left-radius:2px;border-top-left-radius:2px}.ant-input-group .ant-input-affix-wrapper:not(:first-child),.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-group.ant-input-group-compact{display:block}.ant-input-group.ant-input-group-compact:before{content:"";display:table}.ant-input-group.ant-input-group-compact:after{clear:both;content:"";display:table}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child){border-right-width:1px}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):hover{z-index:1}.ant-input-group.ant-input-group-compact>*{border-radius:0;display:inline-block;float:none;vertical-align:top}.ant-input-group.ant-input-group-compact>.ant-input-affix-wrapper,.ant-input-group.ant-input-group-compact>.ant-input-number-affix-wrapper,.ant-input-group.ant-input-group-compact>.ant-picker-range{display:inline-flex}.ant-input-group.ant-input-group-compact>:not(:last-child){border-right-width:1px;margin-right:-1px}.ant-input-group.ant-input-group-compact .ant-input{float:none}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector{border-radius:0;border-right-width:1px}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select-focused,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-arrow,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:focus,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:hover{z-index:1}.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>:first-child{border-bottom-left-radius:2px;border-top-left-radius:2px}.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>:last-child{border-bottom-right-radius:2px;border-right-width:1px;border-top-right-radius:2px}.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input{vertical-align:top}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper{margin-left:-1px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper .ant-input-affix-wrapper,.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input-group-addon>.ant-input-search-button{border-radius:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:2px 0 0 2px}.ant-input-group-rtl .ant-input-group-addon:first-child,.ant-input-group>.ant-input-rtl:first-child{border-radius:0 2px 2px 0}.ant-input-group-rtl .ant-input-group-addon:first-child{border-left:0;border-right:1px solid #d9d9d9}.ant-input-group-rtl .ant-input-group-addon:last-child{border-left:1px solid #d9d9d9;border-radius:2px 0 0 2px;border-right:0}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:first-child),.ant-input-group-rtl.ant-input-group-addon:last-child,.ant-input-group-rtl.ant-input-group>.ant-input:last-child{border-radius:2px 0 0 2px}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-radius:0 2px 2px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:not(:last-child){border-left-width:1px;margin-left:-1px;margin-right:0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:first-child{border-radius:0 2px 2px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:last-child{border-left-width:1px;border-radius:2px 0 0 2px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl+.ant-input-group-wrapper-rtl{margin-left:0;margin-right:-1px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:0 2px 2px 0}.ant-input-group-wrapper{display:inline-block;text-align:start;vertical-align:top;width:100%}.ant-input-password-icon.anticon{color:#00000073;cursor:pointer;transition:all .3s}.ant-input-password-icon.anticon:hover{color:#000000d9}.ant-input[type=color]{height:32px}.ant-input[type=color].ant-input-lg{height:40px}.ant-input[type=color].ant-input-sm{height:24px;padding-bottom:3px;padding-top:3px}.ant-input-textarea-show-count>.ant-input{height:100%}.ant-input-textarea-show-count:after{color:#00000073;content:attr(data-count);float:right;pointer-events:none;white-space:nowrap}.ant-input-textarea-show-count.ant-input-textarea-in-form-item:after{margin-bottom:-22px}.ant-input-textarea-suffix{align-items:center;bottom:0;display:inline-flex;margin:auto;position:absolute;right:11px;top:0;z-index:1}.ant-input-compact-item:not(.ant-input-compact-last-item):not(.ant-input-compact-item-rtl){margin-right:-1px}.ant-input-compact-item:not(.ant-input-compact-last-item).ant-input-compact-item-rtl{margin-left:-1px}.ant-input-compact-item:active,.ant-input-compact-item:focus,.ant-input-compact-item:hover{z-index:2}.ant-input-compact-item[disabled]{z-index:0}.ant-input-compact-item:not(.ant-input-compact-first-item):not(.ant-input-compact-last-item).ant-input{border-radius:0}.ant-input-compact-item.ant-input.ant-input-compact-first-item:not(.ant-input-compact-last-item):not(.ant-input-compact-item-rtl){border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-compact-item.ant-input.ant-input-compact-item-rtl.ant-input-compact-first-item:not(.ant-input-compact-last-item),.ant-input-compact-item.ant-input.ant-input-compact-last-item:not(.ant-input-compact-first-item):not(.ant-input-compact-item-rtl){border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-compact-item.ant-input.ant-input-compact-item-rtl.ant-input-compact-last-item:not(.ant-input-compact-first-item){border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-search .ant-input:focus,.ant-input-search .ant-input:hover{border-color:#879fff}.ant-input-search .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-left-color:#879fff}.ant-input-search .ant-input-affix-wrapper{border-radius:0}.ant-input-search .ant-input-lg{line-height:1.5713}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child{border:0;left:-1px;padding:0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button{border-radius:0 2px 2px 0;padding-bottom:0;padding-top:0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary){color:#00000073}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary).ant-btn-loading:before{bottom:0;left:0;right:0;top:0}.ant-input-search-button{height:32px}.ant-input-search-button:focus,.ant-input-search-button:hover{z-index:1}.ant-input-search-large .ant-input-search-button{height:40px}.ant-input-search-small .ant-input-search-button{height:24px}.ant-input-search.ant-input-compact-item:not(.ant-input-compact-item-rtl):not(.ant-input-compact-last-item) .ant-input-group-addon .ant-input-search-button{border-radius:0;margin-right:-1px}.ant-input-search.ant-input-compact-item:not(.ant-input-compact-first-item) .ant-input,.ant-input-search.ant-input-compact-item:not(.ant-input-compact-first-item) .ant-input-affix-wrapper{border-radius:0}.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:active,.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:focus,.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:hover,.ant-input-search.ant-input-compact-item>.ant-input-affix-wrapper-focused,.ant-input-search.ant-input-compact-item>.ant-input-group-addon .ant-input-search-button:active,.ant-input-search.ant-input-compact-item>.ant-input-group-addon .ant-input-search-button:focus,.ant-input-search.ant-input-compact-item>.ant-input-group-addon .ant-input-search-button:hover,.ant-input-search.ant-input-compact-item>.ant-input:active,.ant-input-search.ant-input-compact-item>.ant-input:focus,.ant-input-search.ant-input-compact-item>.ant-input:hover{z-index:2}.ant-input-search.ant-input-compact-item-rtl:not(.ant-input-compact-last-item) .ant-input-group-addon:last-child .ant-input-search-button{border-radius:0;margin-left:-1px}.ant-input-group-rtl,.ant-input-group-wrapper-rtl{direction:rtl}.ant-input-affix-wrapper.ant-input-affix-wrapper-rtl>input.ant-input{border:none;outline:none}.ant-input-affix-wrapper-rtl .ant-input-prefix{margin:0 0 0 4px}.ant-input-affix-wrapper-rtl .ant-input-suffix{margin:0 4px 0 0}.ant-input-textarea-rtl{direction:rtl}.ant-input-textarea-rtl.ant-input-textarea-show-count:after{text-align:left}.ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix{margin-left:4px;margin-right:0}.ant-input-affix-wrapper-rtl .ant-input-clear-icon{left:8px;right:auto}.ant-input-search-rtl{direction:rtl}.ant-input-search-rtl .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search-rtl .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-left-color:#d9d9d9}.ant-input-search-rtl .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover,.ant-input-search-rtl .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover{border-left-color:#879fff}.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper-focused,.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper:hover{border-right-color:#879fff}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon:last-child{left:auto;right:-1px}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button{border-radius:2px 0 0 2px}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ant-input{height:32px}.ant-input-lg{height:40px}.ant-input-sm{height:24px}.ant-input-affix-wrapper>input.ant-input{height:auto}}.ant-input-textarea{position:relative}.ant-input-textarea:after{bottom:1px;position:absolute;right:10px}.ztxk-form__item--wrap .ant-form-item .ztxk-input-textArea--form-resize textarea{resize:vertical!important}
@@ -1,5 +0,0 @@
1
- import MemoInput from './input.js';
2
-
3
-
4
-
5
- export { MemoInput as default };
@@ -1,23 +0,0 @@
1
- import React__default from 'react';
2
- import { Input } from 'antd';
3
- import { InputProps } from 'antd/es/input';
4
- import MemoTextArea from './TextArea.js';
5
-
6
- interface IInputProps extends InputProps {
7
- /** 是否开启enter 搜索 */
8
- isEnterSearch?: boolean;
9
- }
10
- type IGroup = typeof Input.Group;
11
- type ISearch = typeof Input.Search;
12
- type ITextArea = typeof MemoTextArea;
13
- type IPassword = typeof Input.Password;
14
- interface IInputComponent extends React__default.ForwardRefExoticComponent<IInputProps & React__default.RefAttributes<unknown>> {
15
- Group: IGroup;
16
- Search: ISearch;
17
- TextArea: ITextArea;
18
- Password: IPassword;
19
- displayName: string;
20
- }
21
- declare const MemoInput: IInputComponent;
22
-
23
- export { IInputProps, MemoInput as default };
@@ -1 +0,0 @@
1
- .ant-input-number-affix-wrapper{background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;color:#000000a6;display:inline-block;display:inline-flex;font-size:14px;line-height:1.5715;min-width:0;padding:0;padding-inline-start:11px;position:relative;transition:all .3s;width:100%;width:90px}.ant-input-number-affix-wrapper::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-number-affix-wrapper:placeholder-shown{text-overflow:ellipsis}.ant-input-number-affix-wrapper:hover{border-color:#879fff;border-right-width:1px}.ant-input-number-affix-wrapper-focused,.ant-input-number-affix-wrapper:focus{border-color:#879fff;border-right-width:1px;box-shadow:0 0 0 2px #5b76f633;outline:0}.ant-input-number-affix-wrapper-disabled{background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;color:#00000040;cursor:not-allowed;opacity:1}.ant-input-number-affix-wrapper-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-number-affix-wrapper[disabled]{background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;color:#00000040;cursor:not-allowed;opacity:1}.ant-input-number-affix-wrapper[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-number-affix-wrapper-borderless,.ant-input-number-affix-wrapper-borderless-disabled,.ant-input-number-affix-wrapper-borderless-focused,.ant-input-number-affix-wrapper-borderless:focus,.ant-input-number-affix-wrapper-borderless:hover,.ant-input-number-affix-wrapper-borderless[disabled]{background-color:initial;border:none;box-shadow:none}textarea.ant-input-number-affix-wrapper{height:auto;line-height:1.5715;max-width:100%;min-height:32px;transition:all .3s,height 0s;vertical-align:bottom}.ant-input-number-affix-wrapper-lg{font-size:16px;padding:6.5px 11px}.ant-input-number-affix-wrapper-sm{padding:0 7px}.ant-input-number-affix-wrapper:not(.ant-input-number-affix-wrapper-disabled):hover{border-color:#879fff;border-right-width:1px;z-index:1}.ant-input-number-affix-wrapper-focused,.ant-input-number-affix-wrapper:focus{z-index:1}.ant-input-number-affix-wrapper-disabled .ant-input-number[disabled]{background:#0000}.ant-input-number-affix-wrapper>div.ant-input-number{border:none;outline:none;width:100%}.ant-input-number-affix-wrapper>div.ant-input-number.ant-input-number-focused{box-shadow:none!important}.ant-input-number-affix-wrapper input.ant-input-number-input{padding:0}.ant-input-number-affix-wrapper:before{content:"\a0";display:inline-block;visibility:hidden;width:0}.ant-input-number-affix-wrapper .ant-input-number-handler-wrap{z-index:2}.ant-input-number-prefix,.ant-input-number-suffix{align-items:center;display:flex;flex:none;pointer-events:none}.ant-input-number-prefix{margin-inline-end:4px}.ant-input-number-suffix{height:100%;margin-left:4px;margin-right:11px;position:absolute;right:0;top:0;z-index:1}.ant-input-number-group-wrapper .ant-input-number-affix-wrapper{width:100%}.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number,.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover{background:#fff;border-color:#ff4d4f}.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused,.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus{border-color:#ff7875;border-right-width:1px;box-shadow:0 0 0 2px #ff4d4f33;outline:0}.ant-input-number-status-error .ant-input-number-prefix{color:#ff4d4f}.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number,.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover{background:#fff;border-color:#faad14}.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused,.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus{border-color:#ffc53d;border-right-width:1px;box-shadow:0 0 0 2px #faad1433;outline:0}.ant-input-number-status-warning .ant-input-number-prefix{color:#faad14}.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper,.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover{background:#fff;border-color:#ff4d4f}.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused,.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus{border-color:#ff7875;border-right-width:1px;box-shadow:0 0 0 2px #ff4d4f33;outline:0}.ant-input-number-affix-wrapper-status-error .ant-input-number-prefix{color:#ff4d4f}.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper,.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover{background:#fff;border-color:#faad14}.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused,.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus{border-color:#ffc53d;border-right-width:1px;box-shadow:0 0 0 2px #faad1433;outline:0}.ant-input-number-affix-wrapper-status-warning .ant-input-number-prefix{color:#faad14}.ant-input-number-group-wrapper-status-error .ant-input-number-group-addon{border-color:#ff4d4f;color:#ff4d4f}.ant-input-number-group-wrapper-status-warning .ant-input-number-group-addon{border-color:#faad14;color:#faad14}.ant-input-number{font-feature-settings:"tnum";background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;box-sizing:border-box;color:#000000a6;display:inline-block;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;min-width:0;padding:0;position:relative;transition:all .3s;width:100%;width:90px}.ant-input-number::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-number:placeholder-shown{text-overflow:ellipsis}.ant-input-number-focused,.ant-input-number:focus{border-color:#879fff;border-right-width:1px;box-shadow:0 0 0 2px #5b76f633;outline:0}.ant-input-number[disabled]{background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;color:#00000040;cursor:not-allowed;opacity:1}.ant-input-number[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-number-borderless,.ant-input-number-borderless-disabled,.ant-input-number-borderless-focused,.ant-input-number-borderless:focus,.ant-input-number-borderless:hover,.ant-input-number-borderless[disabled]{background-color:initial;border:none;box-shadow:none}textarea.ant-input-number{height:auto;line-height:1.5715;max-width:100%;min-height:32px;transition:all .3s,height 0s;vertical-align:bottom}.ant-input-number-lg{padding:6.5px 11px}.ant-input-number-sm{padding:0 7px}.ant-input-number-group{font-feature-settings:"tnum";border-collapse:initial;border-spacing:0;box-sizing:border-box;color:#000000a6;display:table;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;padding:0;position:relative;width:100%}.ant-input-number-group[class*=col-]{float:none;padding-left:0;padding-right:0}.ant-input-number-group>[class*=col-]{padding-right:8px}.ant-input-number-group>[class*=col-]:last-child{padding-right:0}.ant-input-number-group-addon,.ant-input-number-group-wrap,.ant-input-number-group>.ant-input-number{display:table-cell}.ant-input-number-group-addon:not(:first-child):not(:last-child),.ant-input-number-group-wrap:not(:first-child):not(:last-child),.ant-input-number-group>.ant-input-number:not(:first-child):not(:last-child){border-radius:0}.ant-input-number-group-addon,.ant-input-number-group-wrap{vertical-align:middle;white-space:nowrap;width:1px}.ant-input-number-group-wrap>*{display:block!important}.ant-input-number-group .ant-input-number{float:left;margin-bottom:0;text-align:inherit;width:100%}.ant-input-number-group .ant-input-number:focus,.ant-input-number-group .ant-input-number:hover{border-right-width:1px;z-index:1}.ant-input-search-with-button .ant-input-number-group .ant-input-number:hover{z-index:0}.ant-input-number-group-addon{background-color:#fafafa;border:1px solid #d9d9d9;border-radius:2px;color:#000000a6;font-size:14px;font-weight:400;padding:0 11px;position:relative;text-align:center;transition:all .3s}.ant-input-number-group-addon .ant-select{margin:-5px -11px}.ant-input-number-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:1px solid #0000;box-shadow:none}.ant-input-number-group-addon .ant-select-focused .ant-select-selector,.ant-input-number-group-addon .ant-select-open .ant-select-selector{color:#5b76f6}.ant-input-number-group-addon .ant-cascader-picker{background-color:initial;margin:-9px -12px}.ant-input-number-group-addon .ant-cascader-picker .ant-cascader-input{border:0;box-shadow:none;text-align:left}.ant-input-number-group-addon:first-child,.ant-input-number-group-addon:first-child .ant-select .ant-select-selector,.ant-input-number-group>.ant-input-number:first-child,.ant-input-number-group>.ant-input-number:first-child .ant-select .ant-select-selector{border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-number-group>.ant-input-number-affix-wrapper:not(:first-child) .ant-input-number{border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-number-group>.ant-input-number-affix-wrapper:not(:last-child) .ant-input-number{border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-number-group-addon:first-child{border-right:0}.ant-input-number-group-addon:last-child{border-left:0}.ant-input-number-group-addon:last-child,.ant-input-number-group-addon:last-child .ant-select .ant-select-selector,.ant-input-number-group>.ant-input-number:last-child,.ant-input-number-group>.ant-input-number:last-child .ant-select .ant-select-selector{border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-number-group-lg .ant-input-number,.ant-input-number-group-lg>.ant-input-number-group-addon{font-size:16px;padding:6.5px 11px}.ant-input-number-group-sm .ant-input-number,.ant-input-number-group-sm>.ant-input-number-group-addon{padding:0 7px}.ant-input-number-group-lg .ant-select-single .ant-select-selector{height:40px}.ant-input-number-group-sm .ant-select-single .ant-select-selector{height:24px}.ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-search .ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child){border-bottom-left-radius:2px;border-top-left-radius:2px}.ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child),.ant-input-search .ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-number-group.ant-input-number-group-compact{display:block}.ant-input-number-group.ant-input-number-group-compact:before{content:"";display:table}.ant-input-number-group.ant-input-number-group-compact:after{clear:both;content:"";display:table}.ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child),.ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child),.ant-input-number-group.ant-input-number-group-compact>.ant-input-number:not(:first-child):not(:last-child){border-right-width:1px}.ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child):focus,.ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child):hover,.ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child):focus,.ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child):hover,.ant-input-number-group.ant-input-number-group-compact>.ant-input-number:not(:first-child):not(:last-child):focus,.ant-input-number-group.ant-input-number-group-compact>.ant-input-number:not(:first-child):not(:last-child):hover{z-index:1}.ant-input-number-group.ant-input-number-group-compact>*{border-radius:0;display:inline-block;float:none;vertical-align:top}.ant-input-number-group.ant-input-number-group-compact>.ant-input-number-affix-wrapper,.ant-input-number-group.ant-input-number-group-compact>.ant-input-number-number-affix-wrapper,.ant-input-number-group.ant-input-number-group-compact>.ant-picker-range{display:inline-flex}.ant-input-number-group.ant-input-number-group-compact>:not(:last-child){border-right-width:1px;margin-right:-1px}.ant-input-number-group.ant-input-number-group-compact .ant-input-number{float:none}.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-input-group-wrapper .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-select>.ant-select-selector{border-radius:0;border-right-width:1px}.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker .ant-input:focus,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker .ant-input:hover,.ant-input-number-group.ant-input-number-group-compact>.ant-input-group-wrapper .ant-input:focus,.ant-input-number-group.ant-input-number-group-compact>.ant-input-group-wrapper .ant-input:hover,.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete .ant-input:focus,.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete .ant-input:hover,.ant-input-number-group.ant-input-number-group-compact>.ant-select-focused,.ant-input-number-group.ant-input-number-group-compact>.ant-select>.ant-select-arrow,.ant-input-number-group.ant-input-number-group-compact>.ant-select>.ant-select-selector:focus,.ant-input-number-group.ant-input-number-group-compact>.ant-select>.ant-select-selector:hover{z-index:1}.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-number-group.ant-input-number-group-compact>:first-child{border-bottom-left-radius:2px;border-top-left-radius:2px}.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-number-group.ant-input-number-group-compact>:last-child{border-bottom-right-radius:2px;border-right-width:1px;border-top-right-radius:2px}.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete .ant-input{vertical-align:top}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper{margin-left:-1px}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper .ant-input-affix-wrapper,.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input-group-addon>.ant-input-search-button{border-radius:0}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:2px 0 0 2px}.ant-input-number-group>.ant-input-number-rtl:first-child{border-radius:0 2px 2px 0}.ant-input-number-group>.ant-input-number-rtl:last-child{border-radius:2px 0 0 2px}.ant-input-number-group-rtl .ant-input-number-group-addon:first-child{border-left:0;border-radius:0 2px 2px 0;border-right:1px solid #d9d9d9}.ant-input-number-group-rtl .ant-input-number-group-addon:last-child{border-left:1px solid #d9d9d9;border-radius:2px 0 0 2px;border-right:0}.ant-input-number-group-wrapper{display:inline-block;text-align:start;vertical-align:top}.ant-input-number-handler{border-left:1px solid #d9d9d9;color:#00000073;display:block;font-weight:700;height:50%;line-height:0;overflow:hidden;position:relative;text-align:center;transition:all .1s linear;width:100%}.ant-input-number-handler:active{background:#f4f4f4}.ant-input-number-handler:hover .ant-input-number-handler-down-inner,.ant-input-number-handler:hover .ant-input-number-handler-up-inner{color:#879fff}.ant-input-number-handler-down-inner,.ant-input-number-handler-up-inner{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;align-items:center;color:inherit;color:#00000073;display:inline-flex;font-style:normal;height:12px;line-height:0;line-height:12px;position:absolute;right:4px;text-align:center;text-rendering:optimizelegibility;text-transform:none;transition:all .1s linear;-webkit-user-select:none;user-select:none;vertical-align:-.125em;width:12px}.ant-input-number-handler-down-inner>*,.ant-input-number-handler-up-inner>*{line-height:1}.ant-input-number-handler-down-inner svg,.ant-input-number-handler-up-inner svg{display:inline-block}.ant-input-number-handler-down-inner:before,.ant-input-number-handler-up-inner:before{display:none}.ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon{display:block}.ant-input-number:hover{border-color:#879fff;border-right-width:1px}.ant-input-number:hover+.ant-form-item-children-icon{opacity:0;transition:opacity .24s linear .24s}.ant-input-number-focused{border-color:#879fff;border-right-width:1px;box-shadow:0 0 0 2px #5b76f633;outline:0}.ant-input-number-disabled{background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;color:#00000040;cursor:not-allowed;opacity:1}.ant-input-number-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-number-disabled .ant-input-number-input{cursor:not-allowed}.ant-input-number-disabled .ant-input-number-handler-wrap,.ant-input-number-readonly .ant-input-number-handler-wrap{display:none}.ant-input-number-input{appearance:textfield!important;background-color:initial;border:0;border-radius:2px;height:30px;outline:0;padding:0 11px;text-align:left;transition:all .3s linear;width:100%}.ant-input-number-input::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-number-input:placeholder-shown{text-overflow:ellipsis}.ant-input-number-input[type=number]::-webkit-inner-spin-button,.ant-input-number-input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.ant-input-number-lg{font-size:16px;padding:0}.ant-input-number-lg input{height:38px}.ant-input-number-sm{padding:0}.ant-input-number-sm input{height:22px;padding:0 7px}.ant-input-number-handler-wrap{background:#fff;border-radius:0 2px 2px 0;height:100%;opacity:0;position:absolute;right:0;top:0;transition:opacity .24s linear .1s;width:22px}.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner,.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner{align-items:center;display:flex;font-size:7px;justify-content:center;margin-right:0;min-width:auto}.ant-input-number-borderless .ant-input-number-handler-wrap{border-left-width:0}.ant-input-number-handler-wrap:hover .ant-input-number-handler{height:40%}.ant-input-number-focused .ant-input-number-handler-wrap,.ant-input-number:hover .ant-input-number-handler-wrap{opacity:1}.ant-input-number-handler-up{border-top-right-radius:2px;cursor:pointer}.ant-input-number-handler-up-inner{margin-top:-5px;text-align:center;top:50%}.ant-input-number-handler-up:hover{height:60%!important}.ant-input-number-handler-down{border-bottom-right-radius:2px;border-top:1px solid #d9d9d9;cursor:pointer;top:0}.ant-input-number-handler-down-inner{text-align:center;top:50%;transform:translateY(-50%)}.ant-input-number-handler-down:hover{height:60%!important}.ant-input-number-borderless .ant-input-number-handler-down{border-top-width:0}.ant-input-number-focused:not(.ant-input-number-borderless) .ant-input-number-handler-down,.ant-input-number:hover:not(.ant-input-number-borderless) .ant-input-number-handler-down{border-top:1px solid #d9d9d9}.ant-input-number-handler-down-disabled,.ant-input-number-handler-up-disabled{cursor:not-allowed}.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner,.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner{color:#00000040}.ant-input-number-borderless{box-shadow:none}.ant-input-number-out-of-range input{color:#ff4d4f}.ant-input-number-compact-item:not(.ant-input-number-compact-last-item):not(.ant-input-number-compact-item-rtl){margin-right:-1px}.ant-input-number-compact-item:not(.ant-input-number-compact-last-item).ant-input-number-compact-item-rtl{margin-left:-1px}.ant-input-number-compact-item.ant-input-number-focused,.ant-input-number-compact-item:active,.ant-input-number-compact-item:focus,.ant-input-number-compact-item:hover{z-index:2}.ant-input-number-compact-item[disabled]{z-index:0}.ant-input-number-compact-item:not(.ant-input-number-compact-first-item):not(.ant-input-number-compact-last-item).ant-input-number{border-radius:0}.ant-input-number-compact-item.ant-input-number.ant-input-number-compact-first-item:not(.ant-input-number-compact-last-item):not(.ant-input-number-compact-item-rtl){border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-number-compact-item.ant-input-number.ant-input-number-compact-item-rtl.ant-input-number-compact-first-item:not(.ant-input-number-compact-last-item),.ant-input-number-compact-item.ant-input-number.ant-input-number-compact-last-item:not(.ant-input-number-compact-first-item):not(.ant-input-number-compact-item-rtl){border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-number-compact-item.ant-input-number.ant-input-number-compact-item-rtl.ant-input-number-compact-last-item:not(.ant-input-number-compact-first-item){border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-number-rtl{direction:rtl}.ant-input-number-rtl .ant-input-number-handler{border-left:0;border-right:1px solid #d9d9d9}.ant-input-number-rtl .ant-input-number-handler-wrap{left:0;right:auto}.ant-input-number-rtl.ant-input-number-borderless .ant-input-number-handler-wrap{border-right-width:0}.ant-input-number-rtl .ant-input-number-handler-up{border-top-right-radius:0}.ant-input-number-rtl .ant-input-number-handler-down{border-bottom-right-radius:0}.ant-input-number-rtl .ant-input-number-input{direction:ltr;text-align:right}.ztxk-input-number-leftRight{position:relative}.ztxk-input-number-leftRight:hover:not(.ant-input-number-borderless) .ant-input-number-handler-down{border-top:none}.ztxk-input-number-leftRight .ant-input-number-input{padding:0 24px}.ztxk-input-number-leftRight .ant-input-number-handler-wrap{height:0;position:static}.ztxk-input-number-leftRight .ant-input-number-handler-wrap>span{height:100%!important;position:absolute;width:22px}.ztxk-input-number-leftRight .ant-input-number-handler-wrap>span:hover{height:100%!important}.ztxk-input-number-leftRight .ant-input-number-handler-wrap .ant-input-number-handler-up{border-top:none;right:0}.ztxk-input-number-leftRight .ant-input-number-handler-wrap .ant-input-number-handler-down{border-right:1px solid #d9d9d9;border-top:none;left:0}
@@ -1,5 +0,0 @@
1
- import _default from './inputNumber.js';
2
-
3
-
4
-
5
- export { _default as default };