ods-component-lib 1.22.2 → 1.22.3

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 (261) hide show
  1. package/dist/_virtual/index5.js +2 -3
  2. package/dist/_virtual/index5.js.map +1 -1
  3. package/dist/_virtual/index6.js +3 -2
  4. package/dist/_virtual/index6.js.map +1 -1
  5. package/dist/components/antd/currencyInput/CurrencySelect.js +15 -14
  6. package/dist/components/antd/currencyInput/CurrencySelect.js.map +1 -1
  7. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js +6 -6
  8. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js.map +1 -1
  9. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +20 -20
  10. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js.map +1 -1
  11. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js.map +1 -1
  12. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +101 -98
  13. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js.map +1 -1
  14. package/dist/node_modules/@ant-design/cssinjs/es/util/index.js +29 -27
  15. package/dist/node_modules/@ant-design/cssinjs/es/util/index.js.map +1 -1
  16. package/dist/node_modules/@rc-component/async-validator/es/index.js +20 -20
  17. package/dist/node_modules/@rc-component/async-validator/es/index.js.map +1 -1
  18. package/dist/node_modules/@rc-component/async-validator/es/messages.js +1 -0
  19. package/dist/node_modules/@rc-component/async-validator/es/messages.js.map +1 -1
  20. package/dist/node_modules/@rc-component/async-validator/es/rule/type.js +18 -8
  21. package/dist/node_modules/@rc-component/async-validator/es/rule/type.js.map +1 -1
  22. package/dist/node_modules/@rc-component/async-validator/es/util.js +1 -1
  23. package/dist/node_modules/@rc-component/async-validator/es/util.js.map +1 -1
  24. package/dist/node_modules/@rc-component/async-validator/es/validator/index.js +1 -0
  25. package/dist/node_modules/@rc-component/async-validator/es/validator/index.js.map +1 -1
  26. package/dist/node_modules/@rc-component/collapse/es/hooks/useItems.js +88 -68
  27. package/dist/node_modules/@rc-component/collapse/es/hooks/useItems.js.map +1 -1
  28. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js +75 -96
  29. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js.map +1 -1
  30. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/index.js +22 -20
  31. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/index.js.map +1 -1
  32. package/dist/node_modules/@rc-component/dialog/es/Dialog/index.js +92 -100
  33. package/dist/node_modules/@rc-component/dialog/es/Dialog/index.js.map +1 -1
  34. package/dist/node_modules/@rc-component/dialog/es/DialogWrap.js +40 -29
  35. package/dist/node_modules/@rc-component/dialog/es/DialogWrap.js.map +1 -1
  36. package/dist/node_modules/@rc-component/form/es/hooks/useForm.js +115 -100
  37. package/dist/node_modules/@rc-component/form/es/hooks/useForm.js.map +1 -1
  38. package/dist/node_modules/@rc-component/form/es/utils/NameMap.js +28 -22
  39. package/dist/node_modules/@rc-component/form/es/utils/NameMap.js.map +1 -1
  40. package/dist/node_modules/@rc-component/form/es/utils/messages.js +1 -0
  41. package/dist/node_modules/@rc-component/form/es/utils/messages.js.map +1 -1
  42. package/dist/node_modules/@rc-component/image/es/Preview/index.js +111 -105
  43. package/dist/node_modules/@rc-component/image/es/Preview/index.js.map +1 -1
  44. package/dist/node_modules/@rc-component/portal/es/useEscKeyDown.js +42 -22
  45. package/dist/node_modules/@rc-component/portal/es/useEscKeyDown.js.map +1 -1
  46. package/dist/node_modules/@rc-component/resize-observer/es/SingleObserver/index.js +18 -54
  47. package/dist/node_modules/@rc-component/resize-observer/es/SingleObserver/index.js.map +1 -1
  48. package/dist/node_modules/@rc-component/resize-observer/es/index.js.map +1 -1
  49. package/dist/node_modules/@rc-component/resize-observer/es/useResizeObserver.js +50 -0
  50. package/dist/node_modules/@rc-component/resize-observer/es/useResizeObserver.js.map +1 -0
  51. package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js +50 -50
  52. package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js.map +1 -1
  53. package/dist/node_modules/@rc-component/select/es/SelectInput/index.js +85 -80
  54. package/dist/node_modules/@rc-component/select/es/SelectInput/index.js.map +1 -1
  55. package/dist/node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js +85 -80
  56. package/dist/node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js.map +1 -1
  57. package/dist/node_modules/@rc-component/trigger/es/Popup/index.js +74 -72
  58. package/dist/node_modules/@rc-component/trigger/es/Popup/index.js.map +1 -1
  59. package/dist/node_modules/@rc-component/trigger/es/UniqueProvider/index.js +10 -9
  60. package/dist/node_modules/@rc-component/trigger/es/UniqueProvider/index.js.map +1 -1
  61. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +27 -27
  62. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js.map +1 -1
  63. package/dist/node_modules/@rc-component/trigger/es/index.js +150 -140
  64. package/dist/node_modules/@rc-component/trigger/es/index.js.map +1 -1
  65. package/dist/node_modules/@rc-component/util/es/Dom/focus.js +65 -20
  66. package/dist/node_modules/@rc-component/util/es/Dom/focus.js.map +1 -1
  67. package/dist/node_modules/@rc-component/util/es/ref.js +1 -1
  68. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +53 -48
  69. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js.map +1 -1
  70. package/dist/node_modules/antd/es/_util/wave/style.js +8 -7
  71. package/dist/node_modules/antd/es/_util/wave/style.js.map +1 -1
  72. package/dist/node_modules/antd/es/alert/Alert.js +133 -128
  73. package/dist/node_modules/antd/es/alert/Alert.js.map +1 -1
  74. package/dist/node_modules/antd/es/badge/Badge.js +29 -28
  75. package/dist/node_modules/antd/es/badge/Badge.js.map +1 -1
  76. package/dist/node_modules/antd/es/badge/style/index.js +1 -1
  77. package/dist/node_modules/antd/es/badge/style/index.js.map +1 -1
  78. package/dist/node_modules/antd/es/button/buttonHelpers.js +47 -41
  79. package/dist/node_modules/antd/es/button/buttonHelpers.js.map +1 -1
  80. package/dist/node_modules/antd/es/button/style/variant.js +132 -132
  81. package/dist/node_modules/antd/es/button/style/variant.js.map +1 -1
  82. package/dist/node_modules/antd/es/calendar/generateCalendar.js +55 -57
  83. package/dist/node_modules/antd/es/calendar/generateCalendar.js.map +1 -1
  84. package/dist/node_modules/antd/es/calendar/style/index.js +18 -18
  85. package/dist/node_modules/antd/es/calendar/style/index.js.map +1 -1
  86. package/dist/node_modules/antd/es/card/CardGrid.js.map +1 -1
  87. package/dist/node_modules/antd/es/card/style/index.js +15 -7
  88. package/dist/node_modules/antd/es/card/style/index.js.map +1 -1
  89. package/dist/node_modules/antd/es/checkbox/Group.js +32 -30
  90. package/dist/node_modules/antd/es/checkbox/Group.js.map +1 -1
  91. package/dist/node_modules/antd/es/collapse/Collapse.js +61 -61
  92. package/dist/node_modules/antd/es/collapse/Collapse.js.map +1 -1
  93. package/dist/node_modules/antd/es/config-provider/index.js +76 -71
  94. package/dist/node_modules/antd/es/config-provider/index.js.map +1 -1
  95. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js +29 -31
  96. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js.map +1 -1
  97. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js +7 -9
  98. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js.map +1 -1
  99. package/dist/node_modules/antd/es/date-picker/generatePicker/{SuffixIcon.js → useSuffixIcon.js} +4 -4
  100. package/dist/node_modules/antd/es/date-picker/generatePicker/useSuffixIcon.js.map +1 -0
  101. package/dist/node_modules/antd/es/date-picker/style/panel.js +4 -4
  102. package/dist/node_modules/antd/es/date-picker/style/panel.js.map +1 -1
  103. package/dist/node_modules/antd/es/drawer/useFocusable.js +14 -0
  104. package/dist/node_modules/antd/es/drawer/useFocusable.js.map +1 -0
  105. package/dist/node_modules/antd/es/form/style/index.js +24 -24
  106. package/dist/node_modules/antd/es/form/style/index.js.map +1 -1
  107. package/dist/node_modules/antd/es/grid/col.js +56 -54
  108. package/dist/node_modules/antd/es/grid/col.js.map +1 -1
  109. package/dist/node_modules/antd/es/grid/style/index.js +50 -50
  110. package/dist/node_modules/antd/es/grid/style/index.js.map +1 -1
  111. package/dist/node_modules/antd/es/input/style/index.js +1 -0
  112. package/dist/node_modules/antd/es/input/style/index.js.map +1 -1
  113. package/dist/node_modules/antd/es/input-number/index.js +91 -91
  114. package/dist/node_modules/antd/es/input-number/index.js.map +1 -1
  115. package/dist/node_modules/antd/es/input-number/style/index.js +80 -79
  116. package/dist/node_modules/antd/es/input-number/style/index.js.map +1 -1
  117. package/dist/node_modules/antd/es/layout/style/sider.js +9 -9
  118. package/dist/node_modules/antd/es/layout/style/sider.js.map +1 -1
  119. package/dist/node_modules/antd/es/menu/MenuItem.js +6 -6
  120. package/dist/node_modules/antd/es/menu/MenuItem.js.map +1 -1
  121. package/dist/node_modules/antd/es/menu/SubMenu.js +8 -8
  122. package/dist/node_modules/antd/es/menu/SubMenu.js.map +1 -1
  123. package/dist/node_modules/antd/es/menu/style/horizontal.js +1 -1
  124. package/dist/node_modules/antd/es/menu/style/horizontal.js.map +1 -1
  125. package/dist/node_modules/antd/es/menu/style/index.js +58 -58
  126. package/dist/node_modules/antd/es/menu/style/index.js.map +1 -1
  127. package/dist/node_modules/antd/es/menu/style/vertical.js +1 -1
  128. package/dist/node_modules/antd/es/menu/style/vertical.js.map +1 -1
  129. package/dist/node_modules/antd/es/modal/ConfirmDialog.js +117 -112
  130. package/dist/node_modules/antd/es/modal/ConfirmDialog.js.map +1 -1
  131. package/dist/node_modules/antd/es/modal/Modal.js +115 -109
  132. package/dist/node_modules/antd/es/modal/Modal.js.map +1 -1
  133. package/dist/node_modules/antd/es/modal/style/index.js +83 -80
  134. package/dist/node_modules/antd/es/modal/style/index.js.map +1 -1
  135. package/dist/node_modules/antd/es/pagination/Pagination.js +85 -81
  136. package/dist/node_modules/antd/es/pagination/Pagination.js.map +1 -1
  137. package/dist/node_modules/antd/es/pagination/style/bordered.js +2 -2
  138. package/dist/node_modules/antd/es/pagination/style/bordered.js.map +1 -1
  139. package/dist/node_modules/antd/es/pagination/style/index.js +98 -132
  140. package/dist/node_modules/antd/es/pagination/style/index.js.map +1 -1
  141. package/dist/node_modules/antd/es/popover/index.js +77 -82
  142. package/dist/node_modules/antd/es/popover/index.js.map +1 -1
  143. package/dist/node_modules/antd/es/popover/style/index.js +65 -63
  144. package/dist/node_modules/antd/es/popover/style/index.js.map +1 -1
  145. package/dist/node_modules/antd/es/radio/context.js +3 -3
  146. package/dist/node_modules/antd/es/radio/context.js.map +1 -1
  147. package/dist/node_modules/antd/es/radio/group.js +31 -29
  148. package/dist/node_modules/antd/es/radio/group.js.map +1 -1
  149. package/dist/node_modules/antd/es/radio/style/index.js +1 -1
  150. package/dist/node_modules/antd/es/radio/style/index.js.map +1 -1
  151. package/dist/node_modules/antd/es/select/style/dropdown.js +1 -1
  152. package/dist/node_modules/antd/es/select/style/dropdown.js.map +1 -1
  153. package/dist/node_modules/antd/es/select/style/select-input-multiple.js +71 -69
  154. package/dist/node_modules/antd/es/select/style/select-input-multiple.js.map +1 -1
  155. package/dist/node_modules/antd/es/select/style/select-input.js +104 -98
  156. package/dist/node_modules/antd/es/select/style/select-input.js.map +1 -1
  157. package/dist/node_modules/antd/es/space/Item.js +2 -2
  158. package/dist/node_modules/antd/es/space/Item.js.map +1 -1
  159. package/dist/node_modules/antd/es/space/index.js +4 -4
  160. package/dist/node_modules/antd/es/space/index.js.map +1 -1
  161. package/dist/node_modules/antd/es/space/style/addon.js +47 -46
  162. package/dist/node_modules/antd/es/space/style/addon.js.map +1 -1
  163. package/dist/node_modules/antd/es/steps/PanelArrow.js +2 -2
  164. package/dist/node_modules/antd/es/steps/PanelArrow.js.map +1 -1
  165. package/dist/node_modules/antd/es/steps/ProgressIcon.js +12 -10
  166. package/dist/node_modules/antd/es/steps/ProgressIcon.js.map +1 -1
  167. package/dist/node_modules/antd/es/steps/index.js +108 -106
  168. package/dist/node_modules/antd/es/steps/index.js.map +1 -1
  169. package/dist/node_modules/antd/es/steps/style/horizontal.js +13 -11
  170. package/dist/node_modules/antd/es/steps/style/horizontal.js.map +1 -1
  171. package/dist/node_modules/antd/es/steps/style/icon.js +23 -18
  172. package/dist/node_modules/antd/es/steps/style/icon.js.map +1 -1
  173. package/dist/node_modules/antd/es/steps/style/index.js +41 -41
  174. package/dist/node_modules/antd/es/steps/style/index.js.map +1 -1
  175. package/dist/node_modules/antd/es/steps/style/inline.js +28 -23
  176. package/dist/node_modules/antd/es/steps/style/inline.js.map +1 -1
  177. package/dist/node_modules/antd/es/steps/style/label-placement.js +44 -39
  178. package/dist/node_modules/antd/es/steps/style/label-placement.js.map +1 -1
  179. package/dist/node_modules/antd/es/steps/style/nav.js +29 -27
  180. package/dist/node_modules/antd/es/steps/style/nav.js.map +1 -1
  181. package/dist/node_modules/antd/es/steps/style/panel.js +61 -56
  182. package/dist/node_modules/antd/es/steps/style/panel.js.map +1 -1
  183. package/dist/node_modules/antd/es/steps/style/progress-dot.js +28 -26
  184. package/dist/node_modules/antd/es/steps/style/progress-dot.js.map +1 -1
  185. package/dist/node_modules/antd/es/steps/style/progress.js +24 -57
  186. package/dist/node_modules/antd/es/steps/style/progress.js.map +1 -1
  187. package/dist/node_modules/antd/es/steps/style/rtl.js +10 -8
  188. package/dist/node_modules/antd/es/steps/style/rtl.js.map +1 -1
  189. package/dist/node_modules/antd/es/steps/style/small.js +21 -16
  190. package/dist/node_modules/antd/es/steps/style/small.js.map +1 -1
  191. package/dist/node_modules/antd/es/steps/style/status.js +187 -176
  192. package/dist/node_modules/antd/es/steps/style/status.js.map +1 -1
  193. package/dist/node_modules/antd/es/steps/style/util.js +18 -16
  194. package/dist/node_modules/antd/es/steps/style/util.js.map +1 -1
  195. package/dist/node_modules/antd/es/steps/style/vertical.js +21 -16
  196. package/dist/node_modules/antd/es/steps/style/vertical.js.map +1 -1
  197. package/dist/node_modules/antd/es/style/placementArrow.js +31 -29
  198. package/dist/node_modules/antd/es/style/placementArrow.js.map +1 -1
  199. package/dist/node_modules/antd/es/table/InternalTable.js +65 -62
  200. package/dist/node_modules/antd/es/table/InternalTable.js.map +1 -1
  201. package/dist/node_modules/antd/es/table/TableMeasureRowContext.js +6 -0
  202. package/dist/node_modules/antd/es/table/TableMeasureRowContext.js.map +1 -0
  203. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js +145 -137
  204. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js.map +1 -1
  205. package/dist/node_modules/antd/es/table/style/index.js +3 -3
  206. package/dist/node_modules/antd/es/table/style/index.js.map +1 -1
  207. package/dist/node_modules/antd/es/table/style/radius.js +10 -0
  208. package/dist/node_modules/antd/es/table/style/radius.js.map +1 -1
  209. package/dist/node_modules/antd/es/table/style/virtual.js +5 -5
  210. package/dist/node_modules/antd/es/table/style/virtual.js.map +1 -1
  211. package/dist/node_modules/antd/es/theme/util/genStyleUtils.js +29 -32
  212. package/dist/node_modules/antd/es/theme/util/genStyleUtils.js.map +1 -1
  213. package/dist/node_modules/antd/es/timeline/Timeline.js +76 -74
  214. package/dist/node_modules/antd/es/timeline/Timeline.js.map +1 -1
  215. package/dist/node_modules/antd/es/timeline/style/horizontal.js +21 -18
  216. package/dist/node_modules/antd/es/timeline/style/horizontal.js.map +1 -1
  217. package/dist/node_modules/antd/es/timeline/style/index.js +85 -70
  218. package/dist/node_modules/antd/es/timeline/style/index.js.map +1 -1
  219. package/dist/node_modules/antd/es/timeline/useItems.js +38 -37
  220. package/dist/node_modules/antd/es/timeline/useItems.js.map +1 -1
  221. package/dist/node_modules/antd/es/tooltip/PurePanel.js +27 -27
  222. package/dist/node_modules/antd/es/tooltip/PurePanel.js.map +1 -1
  223. package/dist/node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js +17 -22
  224. package/dist/node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js.map +1 -1
  225. package/dist/node_modules/antd/es/tooltip/UniqueProvider/index.js +27 -26
  226. package/dist/node_modules/antd/es/tooltip/UniqueProvider/index.js.map +1 -1
  227. package/dist/node_modules/antd/es/tooltip/index.js +50 -50
  228. package/dist/node_modules/antd/es/tooltip/index.js.map +1 -1
  229. package/dist/node_modules/antd/es/tooltip/style/index.js +55 -52
  230. package/dist/node_modules/antd/es/tooltip/style/index.js.map +1 -1
  231. package/dist/node_modules/antd/es/tooltip/util.js +13 -12
  232. package/dist/node_modules/antd/es/tooltip/util.js.map +1 -1
  233. package/dist/node_modules/antd/es/tree/DirectoryTree.js +42 -41
  234. package/dist/node_modules/antd/es/tree/DirectoryTree.js.map +1 -1
  235. package/dist/node_modules/antd/es/version/version.js +1 -1
  236. package/dist/node_modules/antd/es/version/version.js.map +1 -1
  237. package/dist/node_modules/canvg/lib/index.es.js +84 -84
  238. package/dist/node_modules/canvg/lib/index.es.js.map +1 -1
  239. package/dist/node_modules/compute-scroll-into-view/dist/index.js +17 -17
  240. package/dist/node_modules/compute-scroll-into-view/dist/index.js.map +1 -1
  241. package/dist/node_modules/dompurify/dist/purify.es.js +217 -223
  242. package/dist/node_modules/dompurify/dist/purify.es.js.map +1 -1
  243. package/dist/node_modules/fflate/esm/browser.js +295 -335
  244. package/dist/node_modules/fflate/esm/browser.js.map +1 -1
  245. package/dist/node_modules/jspdf/dist/jspdf.es.min.js +1771 -1781
  246. package/dist/node_modules/jspdf/dist/jspdf.es.min.js.map +1 -1
  247. package/dist/node_modules/raf/index.js +1 -1
  248. package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
  249. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
  250. package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
  251. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  252. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
  253. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  254. package/dist/node_modules/uuid/dist/esm-browser/v4.js +6 -9
  255. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  256. package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
  257. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
  258. package/package.json +1 -1
  259. package/dist/node_modules/antd/es/date-picker/generatePicker/SuffixIcon.js.map +0 -1
  260. package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
  261. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/input/style/index.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { clearFix, resetComponent } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport { initComponentToken, initInputToken } from './token';\nimport { genBorderlessStyle, genFilledGroupStyle, genFilledStyle, genOutlinedGroupStyle, genOutlinedStyle, genUnderlinedStyle } from './variants';\nexport { initComponentToken, initInputToken };\nexport const genPlaceholderStyle = color => ({\n // Firefox\n '&::-moz-placeholder': {\n opacity: 1\n },\n '&::placeholder': {\n color,\n userSelect: 'none' // https://github.com/ant-design/ant-design/pull/32639\n },\n '&:placeholder-shown': {\n textOverflow: 'ellipsis'\n }\n});\nexport const genActiveStyle = token => ({\n borderColor: token.activeBorderColor,\n boxShadow: token.activeShadow,\n outline: 0,\n backgroundColor: token.activeBg\n});\nconst genInputLargeStyle = token => {\n const {\n paddingBlockLG,\n lineHeightLG,\n borderRadiusLG,\n paddingInlineLG\n } = token;\n return {\n padding: `${unit(paddingBlockLG)} ${unit(paddingInlineLG)}`,\n fontSize: token.inputFontSizeLG,\n lineHeight: lineHeightLG,\n borderRadius: borderRadiusLG\n };\n};\nexport const genInputSmallStyle = token => ({\n padding: `${unit(token.paddingBlockSM)} ${unit(token.paddingInlineSM)}`,\n fontSize: token.inputFontSizeSM,\n borderRadius: token.borderRadiusSM\n});\nexport const genBasicInputStyle = (token, option = {}) => ({\n position: 'relative',\n display: 'inline-block',\n width: '100%',\n minWidth: 0,\n padding: `${unit(token.paddingBlock)} ${unit(token.paddingInline)}`,\n color: token.colorText,\n fontSize: token.inputFontSize,\n lineHeight: token.lineHeight,\n borderRadius: token.borderRadius,\n transition: `all ${token.motionDurationMid}`,\n ...genPlaceholderStyle(token.colorTextPlaceholder),\n // Size\n '&-lg': {\n ...genInputLargeStyle(token),\n ...option.largeStyle\n },\n '&-sm': {\n ...genInputSmallStyle(token),\n ...option.smallStyle\n },\n // RTL\n '&-rtl, &-textarea-rtl': {\n direction: 'rtl'\n }\n});\nexport const genInputGroupStyle = token => {\n const {\n componentCls,\n antCls\n } = token;\n return {\n position: 'relative',\n display: 'table',\n width: '100%',\n borderCollapse: 'separate',\n borderSpacing: 0,\n // Undo padding and float of grid classes\n \"&[class*='col-']\": {\n paddingInlineEnd: token.paddingXS,\n '&:last-child': {\n paddingInlineEnd: 0\n }\n },\n // Sizing options\n [`&-lg ${componentCls}, &-lg > ${componentCls}-group-addon`]: {\n ...genInputLargeStyle(token)\n },\n [`&-sm ${componentCls}, &-sm > ${componentCls}-group-addon`]: {\n ...genInputSmallStyle(token)\n },\n // Fix https://github.com/ant-design/ant-design/issues/5754\n [`&-lg ${antCls}-select-single`]: {\n height: token.controlHeightLG\n },\n [`&-sm ${antCls}-select-single`]: {\n height: token.controlHeightSM\n },\n [`> ${componentCls}`]: {\n display: 'table-cell',\n '&:not(:first-child):not(:last-child)': {\n borderRadius: 0\n }\n },\n [`${componentCls}-group`]: {\n '&-addon, &-wrap': {\n display: 'table-cell',\n width: 1,\n whiteSpace: 'nowrap',\n verticalAlign: 'middle',\n '&:not(:first-child):not(:last-child)': {\n borderRadius: 0\n }\n },\n '&-wrap > *': {\n display: 'block !important'\n },\n '&-addon': {\n position: 'relative',\n padding: `0 ${unit(token.paddingInline)}`,\n color: token.colorText,\n fontWeight: 'normal',\n fontSize: token.inputFontSize,\n textAlign: 'center',\n borderRadius: token.borderRadius,\n transition: `all ${token.motionDurationSlow}`,\n lineHeight: 1,\n // Reset Select's style in addon\n [`${antCls}-select`]: {\n margin: `${unit(token.calc(token.paddingBlock).add(1).mul(-1).equal())} ${unit(token.calc(token.paddingInline).mul(-1).equal())}`,\n [`&${antCls}-select-single:not(${antCls}-select-customize-input):not(${antCls}-pagination-size-changer)`]: {\n backgroundColor: 'inherit',\n border: `${unit(token.lineWidth)} ${token.lineType} transparent`,\n boxShadow: 'none'\n }\n },\n // https://github.com/ant-design/ant-design/issues/31333\n [`${antCls}-cascader-picker`]: {\n margin: `-9px ${unit(token.calc(token.paddingInline).mul(-1).equal())}`,\n backgroundColor: 'transparent',\n [`${antCls}-cascader-input`]: {\n textAlign: 'start',\n border: 0,\n boxShadow: 'none'\n }\n }\n }\n },\n [componentCls]: {\n width: '100%',\n marginBottom: 0,\n textAlign: 'inherit',\n '&:focus': {\n zIndex: 1,\n // Fix https://gw.alipayobjects.com/zos/rmsportal/DHNpoqfMXSfrSnlZvhsJ.png\n borderInlineEndWidth: 1\n },\n '&:hover': {\n zIndex: 1,\n borderInlineEndWidth: 1\n }\n },\n // Reset rounded corners\n [`> ${componentCls}:first-child, ${componentCls}-group-addon:first-child`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0,\n // Reset Select's style in addon\n [`${antCls}-select`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n [`> ${componentCls}-affix-wrapper`]: {\n [`&:not(:first-child) ${componentCls}`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n },\n [`&:not(:last-child) ${componentCls}`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n [`> ${componentCls}:last-child, ${componentCls}-group-addon:last-child`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0,\n // Reset Select's style in addon\n [`${antCls}-select`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n },\n [`${componentCls}-affix-wrapper`]: {\n '&:not(:last-child)': {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n },\n '&:not(:first-child)': {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n },\n [`&${componentCls}-group-compact`]: {\n display: 'block',\n ...clearFix(),\n [`${componentCls}-group-addon, ${componentCls}-group-wrap, > ${componentCls}`]: {\n '&:not(:first-child):not(:last-child)': {\n borderInlineEndWidth: token.lineWidth,\n '&:hover, &:focus': {\n zIndex: 1\n }\n }\n },\n '& > *': {\n display: 'inline-flex',\n float: 'none',\n verticalAlign: 'top',\n // https://github.com/ant-design/ant-design-pro/issues/139\n borderRadius: 0\n },\n [`\n & > ${componentCls}-affix-wrapper,\n & > ${componentCls}-number-affix-wrapper,\n & > ${antCls}-picker-range\n `]: {\n display: 'inline-flex'\n },\n '& > *:not(:last-child)': {\n marginInlineEnd: token.calc(token.lineWidth).mul(-1).equal(),\n borderInlineEndWidth: token.lineWidth\n },\n // Undo float for .ant-input-group .ant-input\n [componentCls]: {\n float: 'none'\n },\n // reset border for Select, DatePicker, AutoComplete, Cascader, Mention, TimePicker, Input\n [`& > ${antCls}-select,\n & > ${antCls}-select-auto-complete ${componentCls},\n & > ${antCls}-cascader-picker ${componentCls},\n & > ${componentCls}-group-wrapper ${componentCls}`]: {\n borderInlineEndWidth: token.lineWidth,\n borderRadius: 0,\n '&:hover, &:focus': {\n zIndex: 1\n }\n },\n [`& > ${antCls}-select-focused`]: {\n zIndex: 1\n },\n // update z-index for arrow icon\n [`& > ${antCls}-select > ${antCls}-select-arrow`]: {\n zIndex: 1 // https://github.com/ant-design/ant-design/issues/20371\n },\n [`& > *:first-child,\n & > ${antCls}-select:first-child,\n & > ${antCls}-select-auto-complete:first-child ${componentCls},\n & > ${antCls}-cascader-picker:first-child ${componentCls}`]: {\n borderStartStartRadius: token.borderRadius,\n borderEndStartRadius: token.borderRadius\n },\n [`& > *:last-child,\n & > ${antCls}-select:last-child,\n & > ${antCls}-cascader-picker:last-child ${componentCls},\n & > ${antCls}-cascader-picker-focused:last-child ${componentCls}`]: {\n borderInlineEndWidth: token.lineWidth,\n borderStartEndRadius: token.borderRadius,\n borderEndEndRadius: token.borderRadius\n },\n // https://github.com/ant-design/ant-design/issues/12493\n [`& > ${antCls}-select-auto-complete ${componentCls}`]: {\n verticalAlign: 'top'\n },\n [`${componentCls}-group-wrapper + ${componentCls}-group-wrapper`]: {\n marginInlineStart: token.calc(token.lineWidth).mul(-1).equal(),\n [`${componentCls}-affix-wrapper`]: {\n // borderRadius: 0,\n }\n }\n }\n };\n};\nexport const genInputStyle = token => {\n const {\n componentCls,\n controlHeightSM,\n lineWidth,\n calc\n } = token;\n const FIXED_CHROME_COLOR_HEIGHT = 16;\n const colorSmallPadding = calc(controlHeightSM).sub(calc(lineWidth).mul(2)).sub(FIXED_CHROME_COLOR_HEIGHT).div(2).equal();\n return {\n [componentCls]: {\n ...resetComponent(token),\n ...genBasicInputStyle(token),\n // Variants\n ...genOutlinedStyle(token),\n ...genFilledStyle(token),\n ...genBorderlessStyle(token),\n ...genUnderlinedStyle(token),\n '&[type=\"color\"]': {\n height: token.controlHeight,\n [`&${componentCls}-lg`]: {\n height: token.controlHeightLG\n },\n [`&${componentCls}-sm`]: {\n height: controlHeightSM,\n paddingTop: colorSmallPadding,\n paddingBottom: colorSmallPadding\n }\n },\n '&[type=\"search\"]::-webkit-search-cancel-button, &[type=\"search\"]::-webkit-search-decoration': {\n appearance: 'none'\n }\n }\n };\n};\nconst genAllowClearStyle = token => {\n const {\n componentCls\n } = token;\n return {\n // ========================= Input =========================\n [`${componentCls}-clear-icon`]: {\n margin: 0,\n padding: 0,\n lineHeight: 0,\n color: token.colorTextQuaternary,\n fontSize: token.fontSizeIcon,\n verticalAlign: -1,\n // https://github.com/ant-design/ant-design/pull/18151\n // https://codesandbox.io/s/wizardly-sun-u10br\n cursor: 'pointer',\n transition: `color ${token.motionDurationSlow}`,\n border: 'none',\n outline: 'none',\n backgroundColor: 'transparent',\n '&:hover': {\n color: token.colorIcon\n },\n '&:active': {\n color: token.colorText\n },\n '&-hidden': {\n visibility: 'hidden'\n },\n '&-has-suffix': {\n margin: `0 ${unit(token.inputAffixPadding)}`\n }\n }\n };\n};\nexport const genAffixStyle = token => {\n const {\n componentCls,\n inputAffixPadding,\n colorTextDescription,\n motionDurationSlow,\n colorIcon,\n colorIconHover,\n iconCls\n } = token;\n const affixCls = `${componentCls}-affix-wrapper`;\n const affixClsDisabled = `${componentCls}-affix-wrapper-disabled`;\n return {\n [affixCls]: {\n ...genBasicInputStyle(token),\n display: 'inline-flex',\n '&-focused, &:focus': {\n zIndex: 1\n },\n [`> input${componentCls}`]: {\n padding: 0\n },\n [`> input${componentCls}, > textarea${componentCls}`]: {\n fontSize: 'inherit',\n border: 'none',\n borderRadius: 0,\n outline: 'none',\n background: 'transparent',\n color: 'inherit',\n '&::-ms-reveal': {\n display: 'none'\n },\n '&:focus': {\n boxShadow: 'none !important'\n }\n },\n '&::before': {\n display: 'inline-block',\n width: 0,\n visibility: 'hidden',\n content: '\"\\\\a0\"'\n },\n [componentCls]: {\n '&-prefix, &-suffix': {\n display: 'flex',\n flex: 'none',\n alignItems: 'center',\n '> *:not(:last-child)': {\n marginInlineEnd: token.paddingXS\n }\n },\n '&-show-count-suffix': {\n color: colorTextDescription,\n direction: 'ltr'\n },\n '&-show-count-has-suffix': {\n marginInlineEnd: token.paddingXXS\n },\n '&-prefix': {\n marginInlineEnd: inputAffixPadding\n },\n '&-suffix': {\n marginInlineStart: inputAffixPadding\n }\n },\n ...genAllowClearStyle(token),\n // password\n [`${iconCls}${componentCls}-password-icon`]: {\n color: colorIcon,\n cursor: 'pointer',\n transition: `all ${motionDurationSlow}`,\n '&:hover': {\n color: colorIconHover\n }\n }\n },\n // 覆盖 affix-wrapper borderRadius!\n [`${componentCls}-underlined`]: {\n borderRadius: 0\n },\n [affixClsDisabled]: {\n // password disabled\n [`${iconCls}${componentCls}-password-icon`]: {\n color: colorIcon,\n cursor: 'not-allowed',\n '&:hover': {\n color: colorIcon\n }\n }\n }\n };\n};\nconst genGroupStyle = token => {\n const {\n componentCls,\n borderRadiusLG,\n borderRadiusSM\n } = token;\n return {\n [`${componentCls}-group`]: {\n // Style for input-group: input with label, with button or dropdown...\n ...resetComponent(token),\n ...genInputGroupStyle(token),\n '&-rtl': {\n direction: 'rtl'\n },\n '&-wrapper': {\n display: 'inline-block',\n width: '100%',\n textAlign: 'start',\n verticalAlign: 'top',\n // https://github.com/ant-design/ant-design/issues/6403\n '&-rtl': {\n direction: 'rtl'\n },\n // Size\n '&-lg': {\n [`${componentCls}-group-addon`]: {\n borderRadius: borderRadiusLG,\n fontSize: token.inputFontSizeLG\n }\n },\n '&-sm': {\n [`${componentCls}-group-addon`]: {\n borderRadius: borderRadiusSM\n }\n },\n // Variants\n ...genOutlinedGroupStyle(token),\n ...genFilledGroupStyle(token),\n // '&-disabled': {\n // [`${componentCls}-group-addon`]: {\n // ...genDisabledStyle(token),\n // },\n // },\n // Fix the issue of using icons in Space Compact mode\n // https://github.com/ant-design/ant-design/issues/42122\n [`&:not(${componentCls}-compact-first-item):not(${componentCls}-compact-last-item)${componentCls}-compact-item`]: {\n [`${componentCls}, ${componentCls}-group-addon`]: {\n borderRadius: 0\n }\n },\n [`&:not(${componentCls}-compact-last-item)${componentCls}-compact-first-item`]: {\n [`${componentCls}, ${componentCls}-group-addon`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n [`&:not(${componentCls}-compact-first-item)${componentCls}-compact-last-item`]: {\n [`${componentCls}, ${componentCls}-group-addon`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n },\n // Fix the issue of input use show-count param in space compact mode\n // https://github.com/ant-design/ant-design/issues/46872\n [`&:not(${componentCls}-compact-last-item)${componentCls}-compact-item`]: {\n [`${componentCls}-affix-wrapper`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n // Fix the issue of input use `addonAfter` param in space compact mode\n // https://github.com/ant-design/ant-design/issues/52483\n [`&:not(${componentCls}-compact-first-item)${componentCls}-compact-item`]: {\n [`${componentCls}-affix-wrapper`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n }\n }\n }\n };\n};\n// ============================== Range ===============================\nconst genRangeStyle = token => {\n const {\n componentCls\n } = token;\n return {\n [`${componentCls}-out-of-range`]: {\n [`&, & input, & textarea, ${componentCls}-show-count-suffix, ${componentCls}-data-count`]: {\n color: token.colorError\n }\n }\n };\n};\n// ============================== Export ==============================\nexport const useSharedStyle = genStyleHooks(['Input', 'Shared'], token => {\n const inputToken = mergeToken(token, initInputToken(token));\n return [genInputStyle(inputToken), genAffixStyle(inputToken)];\n}, initComponentToken, {\n resetFont: false\n});\nexport default genStyleHooks(['Input', 'Component'], token => {\n const inputToken = mergeToken(token, initInputToken(token));\n return [genGroupStyle(inputToken), genRangeStyle(inputToken),\n // =====================================================\n // == Space Compact ==\n // =====================================================\n genCompactItemStyle(inputToken, {\n focus: true,\n focusElCls: `${inputToken.componentCls}-affix-wrapper-focused`\n })];\n}, initComponentToken, {\n resetFont: false\n});"],"names":["genPlaceholderStyle","color","genInputLargeStyle","token","paddingBlockLG","lineHeightLG","borderRadiusLG","paddingInlineLG","unit","genInputSmallStyle","genBasicInputStyle","option","genInputGroupStyle","componentCls","antCls","clearFix","genInputStyle","controlHeightSM","lineWidth","calc","colorSmallPadding","resetComponent","genOutlinedStyle","genFilledStyle","genBorderlessStyle","genUnderlinedStyle","genAllowClearStyle","genAffixStyle","inputAffixPadding","colorTextDescription","motionDurationSlow","colorIcon","colorIconHover","iconCls","affixCls","affixClsDisabled","genGroupStyle","borderRadiusSM","genOutlinedGroupStyle","genFilledGroupStyle","genRangeStyle","useSharedStyle","genStyleHooks","inputToken","mergeToken","initInputToken","initComponentToken","useStyle","genCompactItemStyle"],"mappings":";;;;;;;AAOY,MAACA,IAAsB,CAAAC,OAAU;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_modules/antd/es/input/style/index.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { clearFix, resetComponent } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport { initComponentToken, initInputToken } from './token';\nimport { genBorderlessStyle, genFilledGroupStyle, genFilledStyle, genOutlinedGroupStyle, genOutlinedStyle, genUnderlinedStyle } from './variants';\nexport { initComponentToken, initInputToken };\nexport const genPlaceholderStyle = color => ({\n // Firefox\n '&::-moz-placeholder': {\n opacity: 1\n },\n '&::placeholder': {\n color,\n userSelect: 'none' // https://github.com/ant-design/ant-design/pull/32639\n },\n '&:placeholder-shown': {\n textOverflow: 'ellipsis'\n }\n});\nexport const genActiveStyle = token => ({\n borderColor: token.activeBorderColor,\n boxShadow: token.activeShadow,\n outline: 0,\n backgroundColor: token.activeBg\n});\nexport const genInputLargeStyle = token => {\n const {\n paddingBlockLG,\n lineHeightLG,\n borderRadiusLG,\n paddingInlineLG\n } = token;\n return {\n padding: `${unit(paddingBlockLG)} ${unit(paddingInlineLG)}`,\n fontSize: token.inputFontSizeLG,\n lineHeight: lineHeightLG,\n borderRadius: borderRadiusLG\n };\n};\nexport const genInputSmallStyle = token => ({\n padding: `${unit(token.paddingBlockSM)} ${unit(token.paddingInlineSM)}`,\n fontSize: token.inputFontSizeSM,\n borderRadius: token.borderRadiusSM\n});\nexport const genBasicInputStyle = (token, option = {}) => ({\n position: 'relative',\n display: 'inline-block',\n width: '100%',\n minWidth: 0,\n padding: `${unit(token.paddingBlock)} ${unit(token.paddingInline)}`,\n color: token.colorText,\n fontSize: token.inputFontSize,\n lineHeight: token.lineHeight,\n borderRadius: token.borderRadius,\n transition: `all ${token.motionDurationMid}`,\n ...genPlaceholderStyle(token.colorTextPlaceholder),\n // Size\n '&-lg': {\n ...genInputLargeStyle(token),\n ...option.largeStyle\n },\n '&-sm': {\n ...genInputSmallStyle(token),\n ...option.smallStyle\n },\n // RTL\n '&-rtl, &-textarea-rtl': {\n direction: 'rtl'\n }\n});\nexport const genInputGroupStyle = token => {\n const {\n componentCls,\n antCls\n } = token;\n return {\n position: 'relative',\n display: 'table',\n width: '100%',\n borderCollapse: 'separate',\n borderSpacing: 0,\n // Undo padding and float of grid classes\n \"&[class*='col-']\": {\n paddingInlineEnd: token.paddingXS,\n '&:last-child': {\n paddingInlineEnd: 0\n }\n },\n // Sizing options\n [`&-lg ${componentCls}, &-lg > ${componentCls}-group-addon`]: {\n ...genInputLargeStyle(token)\n },\n [`&-sm ${componentCls}, &-sm > ${componentCls}-group-addon`]: {\n ...genInputSmallStyle(token)\n },\n // Fix https://github.com/ant-design/ant-design/issues/5754\n [`&-lg ${antCls}-select-single`]: {\n height: token.controlHeightLG\n },\n [`&-sm ${antCls}-select-single`]: {\n height: token.controlHeightSM\n },\n [`> ${componentCls}`]: {\n display: 'table-cell',\n '&:not(:first-child):not(:last-child)': {\n borderRadius: 0\n }\n },\n [`${componentCls}-group`]: {\n '&-addon, &-wrap': {\n display: 'table-cell',\n width: 1,\n whiteSpace: 'nowrap',\n verticalAlign: 'middle',\n '&:not(:first-child):not(:last-child)': {\n borderRadius: 0\n }\n },\n '&-wrap > *': {\n display: 'block !important'\n },\n '&-addon': {\n position: 'relative',\n padding: `0 ${unit(token.paddingInline)}`,\n color: token.colorText,\n fontWeight: 'normal',\n fontSize: token.inputFontSize,\n textAlign: 'center',\n borderRadius: token.borderRadius,\n transition: `all ${token.motionDurationSlow}`,\n lineHeight: 1,\n // Reset Select's style in addon\n [`${antCls}-select`]: {\n margin: `${unit(token.calc(token.paddingBlock).add(1).mul(-1).equal())} ${unit(token.calc(token.paddingInline).mul(-1).equal())}`,\n [`&${antCls}-select-single:not(${antCls}-select-customize-input):not(${antCls}-pagination-size-changer)`]: {\n backgroundColor: 'inherit',\n border: `${unit(token.lineWidth)} ${token.lineType} transparent`,\n boxShadow: 'none'\n }\n },\n // https://github.com/ant-design/ant-design/issues/31333\n [`${antCls}-cascader-picker`]: {\n margin: `-9px ${unit(token.calc(token.paddingInline).mul(-1).equal())}`,\n backgroundColor: 'transparent',\n [`${antCls}-cascader-input`]: {\n textAlign: 'start',\n border: 0,\n boxShadow: 'none'\n }\n }\n }\n },\n [componentCls]: {\n width: '100%',\n marginBottom: 0,\n textAlign: 'inherit',\n '&:focus': {\n zIndex: 1,\n // Fix https://gw.alipayobjects.com/zos/rmsportal/DHNpoqfMXSfrSnlZvhsJ.png\n borderInlineEndWidth: 1\n },\n '&:hover': {\n zIndex: 1,\n borderInlineEndWidth: 1\n }\n },\n // Reset rounded corners\n [`> ${componentCls}:first-child, ${componentCls}-group-addon:first-child`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0,\n // Reset Select's style in addon\n [`${antCls}-select`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n [`> ${componentCls}-affix-wrapper`]: {\n [`&:not(:first-child) ${componentCls}`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n },\n [`&:not(:last-child) ${componentCls}`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n [`> ${componentCls}:last-child, ${componentCls}-group-addon:last-child`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0,\n // Reset Select's style in addon\n [`${antCls}-select`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n },\n [`${componentCls}-affix-wrapper`]: {\n '&:not(:last-child)': {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n },\n '&:not(:first-child)': {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n },\n [`&${componentCls}-group-compact`]: {\n display: 'block',\n ...clearFix(),\n [`${componentCls}-group-addon, ${componentCls}-group-wrap, > ${componentCls}`]: {\n '&:not(:first-child):not(:last-child)': {\n borderInlineEndWidth: token.lineWidth,\n '&:hover, &:focus': {\n zIndex: 1\n }\n }\n },\n '& > *': {\n display: 'inline-flex',\n float: 'none',\n verticalAlign: 'top',\n // https://github.com/ant-design/ant-design-pro/issues/139\n borderRadius: 0\n },\n [`\n & > ${componentCls}-affix-wrapper,\n & > ${componentCls}-number-affix-wrapper,\n & > ${antCls}-picker-range\n `]: {\n display: 'inline-flex'\n },\n '& > *:not(:last-child)': {\n marginInlineEnd: token.calc(token.lineWidth).mul(-1).equal(),\n borderInlineEndWidth: token.lineWidth\n },\n // Undo float for .ant-input-group .ant-input\n [componentCls]: {\n float: 'none'\n },\n // reset border for Select, DatePicker, AutoComplete, Cascader, Mention, TimePicker, Input\n [`& > ${antCls}-select,\n & > ${antCls}-select-auto-complete ${componentCls},\n & > ${antCls}-cascader-picker ${componentCls},\n & > ${componentCls}-group-wrapper ${componentCls}`]: {\n borderInlineEndWidth: token.lineWidth,\n borderRadius: 0,\n '&:hover, &:focus': {\n zIndex: 1\n }\n },\n [`& > ${antCls}-select-focused`]: {\n zIndex: 1\n },\n // update z-index for arrow icon\n [`& > ${antCls}-select > ${antCls}-select-arrow`]: {\n zIndex: 1 // https://github.com/ant-design/ant-design/issues/20371\n },\n [`& > *:first-child,\n & > ${antCls}-select:first-child,\n & > ${antCls}-select-auto-complete:first-child ${componentCls},\n & > ${antCls}-cascader-picker:first-child ${componentCls}`]: {\n borderStartStartRadius: token.borderRadius,\n borderEndStartRadius: token.borderRadius\n },\n [`& > *:last-child,\n & > ${antCls}-select:last-child,\n & > ${antCls}-cascader-picker:last-child ${componentCls},\n & > ${antCls}-cascader-picker-focused:last-child ${componentCls}`]: {\n borderInlineEndWidth: token.lineWidth,\n borderStartEndRadius: token.borderRadius,\n borderEndEndRadius: token.borderRadius\n },\n // https://github.com/ant-design/ant-design/issues/12493\n [`& > ${antCls}-select-auto-complete ${componentCls}`]: {\n verticalAlign: 'top'\n },\n [`${componentCls}-group-wrapper + ${componentCls}-group-wrapper`]: {\n marginInlineStart: token.calc(token.lineWidth).mul(-1).equal(),\n [`${componentCls}-affix-wrapper`]: {\n // borderRadius: 0,\n }\n }\n }\n };\n};\nexport const genInputStyle = token => {\n const {\n componentCls,\n controlHeightSM,\n lineWidth,\n calc\n } = token;\n const FIXED_CHROME_COLOR_HEIGHT = 16;\n const colorSmallPadding = calc(controlHeightSM).sub(calc(lineWidth).mul(2)).sub(FIXED_CHROME_COLOR_HEIGHT).div(2).equal();\n return {\n [componentCls]: {\n ...resetComponent(token),\n ...genBasicInputStyle(token),\n // Variants\n ...genOutlinedStyle(token),\n ...genFilledStyle(token),\n ...genBorderlessStyle(token),\n ...genUnderlinedStyle(token),\n '&[type=\"color\"]': {\n height: token.controlHeight,\n [`&${componentCls}-lg`]: {\n height: token.controlHeightLG\n },\n [`&${componentCls}-sm`]: {\n height: controlHeightSM,\n paddingTop: colorSmallPadding,\n paddingBottom: colorSmallPadding\n }\n },\n '&[type=\"search\"]::-webkit-search-cancel-button, &[type=\"search\"]::-webkit-search-decoration': {\n appearance: 'none'\n }\n }\n };\n};\nconst genAllowClearStyle = token => {\n const {\n componentCls\n } = token;\n return {\n // ========================= Input =========================\n [`${componentCls}-clear-icon`]: {\n margin: 0,\n padding: 0,\n lineHeight: 0,\n color: token.colorTextQuaternary,\n fontSize: token.fontSizeIcon,\n verticalAlign: -1,\n // https://github.com/ant-design/ant-design/pull/18151\n // https://codesandbox.io/s/wizardly-sun-u10br\n cursor: 'pointer',\n transition: `color ${token.motionDurationSlow}`,\n border: 'none',\n outline: 'none',\n backgroundColor: 'transparent',\n '&:hover': {\n color: token.colorIcon\n },\n '&:active': {\n color: token.colorText\n },\n '&-hidden': {\n visibility: 'hidden'\n },\n '&-has-suffix': {\n margin: `0 ${unit(token.inputAffixPadding)}`\n }\n }\n };\n};\nexport const genAffixStyle = token => {\n const {\n componentCls,\n inputAffixPadding,\n colorTextDescription,\n motionDurationSlow,\n colorIcon,\n colorIconHover,\n iconCls\n } = token;\n const affixCls = `${componentCls}-affix-wrapper`;\n const affixClsDisabled = `${componentCls}-affix-wrapper-disabled`;\n return {\n [affixCls]: {\n ...genBasicInputStyle(token),\n display: 'inline-flex',\n '&-focused, &:focus': {\n zIndex: 1\n },\n [`> input${componentCls}`]: {\n padding: 0\n },\n [`> input${componentCls}, > textarea${componentCls}`]: {\n fontSize: 'inherit',\n border: 'none',\n borderRadius: 0,\n outline: 'none',\n background: 'transparent',\n color: 'inherit',\n '&::-ms-reveal': {\n display: 'none'\n },\n '&:focus': {\n boxShadow: 'none !important'\n }\n },\n '&::before': {\n display: 'inline-block',\n width: 0,\n visibility: 'hidden',\n content: '\"\\\\a0\"'\n },\n [componentCls]: {\n '&-prefix, &-suffix': {\n display: 'flex',\n flex: 'none',\n alignItems: 'center',\n '> *:not(:last-child)': {\n marginInlineEnd: token.paddingXS\n }\n },\n '&-show-count-suffix': {\n color: colorTextDescription,\n direction: 'ltr'\n },\n '&-show-count-has-suffix': {\n marginInlineEnd: token.paddingXXS\n },\n '&-prefix': {\n marginInlineEnd: inputAffixPadding\n },\n '&-suffix': {\n marginInlineStart: inputAffixPadding\n }\n },\n ...genAllowClearStyle(token),\n // password\n [`${iconCls}${componentCls}-password-icon`]: {\n color: colorIcon,\n cursor: 'pointer',\n transition: `all ${motionDurationSlow}`,\n '&:hover': {\n color: colorIconHover\n }\n }\n },\n // 覆盖 affix-wrapper borderRadius!\n [`${componentCls}-underlined`]: {\n borderRadius: 0\n },\n [affixClsDisabled]: {\n // password disabled\n [`${iconCls}${componentCls}-password-icon`]: {\n color: colorIcon,\n cursor: 'not-allowed',\n '&:hover': {\n color: colorIcon\n }\n }\n }\n };\n};\nconst genGroupStyle = token => {\n const {\n componentCls,\n borderRadiusLG,\n borderRadiusSM\n } = token;\n return {\n [`${componentCls}-group`]: {\n // Style for input-group: input with label, with button or dropdown...\n ...resetComponent(token),\n ...genInputGroupStyle(token),\n '&-rtl': {\n direction: 'rtl'\n },\n '&-wrapper': {\n display: 'inline-block',\n width: '100%',\n textAlign: 'start',\n verticalAlign: 'top',\n // https://github.com/ant-design/ant-design/issues/6403\n '&-rtl': {\n direction: 'rtl'\n },\n // Size\n '&-lg': {\n [`${componentCls}-group-addon`]: {\n borderRadius: borderRadiusLG,\n fontSize: token.inputFontSizeLG\n }\n },\n '&-sm': {\n [`${componentCls}-group-addon`]: {\n borderRadius: borderRadiusSM\n }\n },\n // Variants\n ...genOutlinedGroupStyle(token),\n ...genFilledGroupStyle(token),\n // '&-disabled': {\n // [`${componentCls}-group-addon`]: {\n // ...genDisabledStyle(token),\n // },\n // },\n // Fix the issue of using icons in Space Compact mode\n // https://github.com/ant-design/ant-design/issues/42122\n [`&:not(${componentCls}-compact-first-item):not(${componentCls}-compact-last-item)${componentCls}-compact-item`]: {\n [`${componentCls}, ${componentCls}-group-addon`]: {\n borderRadius: 0\n }\n },\n [`&:not(${componentCls}-compact-last-item)${componentCls}-compact-first-item`]: {\n [`${componentCls}, ${componentCls}-group-addon`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n [`&:not(${componentCls}-compact-first-item)${componentCls}-compact-last-item`]: {\n [`${componentCls}, ${componentCls}-group-addon`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n },\n // Fix the issue of input use show-count param in space compact mode\n // https://github.com/ant-design/ant-design/issues/46872\n [`&:not(${componentCls}-compact-last-item)${componentCls}-compact-item`]: {\n [`${componentCls}-affix-wrapper`]: {\n borderStartEndRadius: 0,\n borderEndEndRadius: 0\n }\n },\n // Fix the issue of input use `addonAfter` param in space compact mode\n // https://github.com/ant-design/ant-design/issues/52483\n [`&:not(${componentCls}-compact-first-item)${componentCls}-compact-item`]: {\n [`${componentCls}-affix-wrapper`]: {\n borderStartStartRadius: 0,\n borderEndStartRadius: 0\n }\n }\n }\n }\n };\n};\n// ============================== Range ===============================\nconst genRangeStyle = token => {\n const {\n componentCls\n } = token;\n return {\n [`${componentCls}-out-of-range`]: {\n [`&, & input, & textarea, ${componentCls}-show-count-suffix, ${componentCls}-data-count`]: {\n color: token.colorError\n }\n }\n };\n};\n// ============================== Export ==============================\nexport const useSharedStyle = genStyleHooks(['Input', 'Shared'], token => {\n const inputToken = mergeToken(token, initInputToken(token));\n return [genInputStyle(inputToken), genAffixStyle(inputToken)];\n}, initComponentToken, {\n resetFont: false\n});\nexport default genStyleHooks(['Input', 'Component'], token => {\n const inputToken = mergeToken(token, initInputToken(token));\n return [genGroupStyle(inputToken), genRangeStyle(inputToken),\n // =====================================================\n // == Space Compact ==\n // =====================================================\n genCompactItemStyle(inputToken, {\n focus: true,\n focusElCls: `${inputToken.componentCls}-affix-wrapper-focused`\n })];\n}, initComponentToken, {\n resetFont: false\n});"],"names":["genPlaceholderStyle","color","genInputLargeStyle","token","paddingBlockLG","lineHeightLG","borderRadiusLG","paddingInlineLG","unit","genInputSmallStyle","genBasicInputStyle","option","genInputGroupStyle","componentCls","antCls","clearFix","genInputStyle","controlHeightSM","lineWidth","calc","colorSmallPadding","resetComponent","genOutlinedStyle","genFilledStyle","genBorderlessStyle","genUnderlinedStyle","genAllowClearStyle","genAffixStyle","inputAffixPadding","colorTextDescription","motionDurationSlow","colorIcon","colorIconHover","iconCls","affixCls","affixClsDisabled","genGroupStyle","borderRadiusSM","genOutlinedGroupStyle","genFilledGroupStyle","genRangeStyle","useSharedStyle","genStyleHooks","inputToken","mergeToken","initInputToken","initComponentToken","useStyle","genCompactItemStyle"],"mappings":";;;;;;;AAOY,MAACA,IAAsB,CAAAC,OAAU;AAAA;AAAA,EAE3C,uBAAuB;AAAA,IACrB,SAAS;AAAA,EACb;AAAA,EACE,kBAAkB;AAAA,IAChB,OAAAA;AAAA,IACA,YAAY;AAAA;AAAA,EAChB;AAAA,EACE,uBAAuB;AAAA,IACrB,cAAc;AAAA,EAClB;AACA,IAOaC,IAAqB,CAAAC,MAAS;AACzC,QAAM;AAAA,IACJ,gBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,iBAAAC;AAAA,EACJ,IAAMJ;AACJ,SAAO;AAAA,IACL,SAAS,GAAGK,EAAKJ,CAAc,CAAC,IAAII,EAAKD,CAAe,CAAC;AAAA,IACzD,UAAUJ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CAAC,GAAGU,CAAY,eAAe,GAAG;AAAA,MAChC,CAAC,2BAA2BA,CAAY,uBAAuBA,CAAY,aAAa,GAAG;AAAA,QACzF,OAAOV,EAAM;AAAA,MACrB;AAAA,IACA;AAAA,EACA;AACA,GAEasC,IAAiBC,EAAc,CAAC,SAAS,QAAQ,GAAG,CAAAvC,MAAS;AACxE,QAAMwC,IAAaC,EAAWzC,GAAO0C,EAAe1C,CAAK,CAAC;AAC1D,SAAO,CAACa,EAAc2B,CAAU,GAAGhB,EAAcgB,CAAU,CAAC;AAC9D,GAAGG,GAAoB;AAAA,EACrB,WAAW;AACb,CAAC,GACDC,IAAeL,EAAc,CAAC,SAAS,WAAW,GAAG,CAAAvC,MAAS;AAC5D,QAAMwC,IAAaC,EAAWzC,GAAO0C,EAAe1C,CAAK,CAAC;AAC1D,SAAO;AAAA,IAACiC,EAAcO,CAAU;AAAA,IAAGH,EAAcG,CAAU;AAAA;AAAA;AAAA;AAAA,IAI3DK,EAAoBL,GAAY;AAAA,MAC9B,OAAO;AAAA,MACP,YAAY,GAAGA,EAAW,YAAY;AAAA,IAC1C,CAAG;AAAA,EAAC;AACJ,GAAGG,GAAoB;AAAA,EACrB,WAAW;AACb,CAAC;","x_google_ignoreList":[0]}
@@ -1,83 +1,83 @@
1
1
  import P from "../../../vite-plugin-node-polyfills/shims/process/dist/index.js";
2
2
  import * as e from "react";
3
- import ee from "../../../@ant-design/icons/es/icons/DownOutlined.js";
4
- import te from "../../../@ant-design/icons/es/icons/UpOutlined.js";
5
- import oe from "../../../@rc-component/input-number/es/InputNumber.js";
6
- import { clsx as v } from "../../../clsx/dist/clsx.js";
7
- import re from "../_util/ContextIsolator.js";
8
- import { getMergedStatus as ne, getStatusClassNames as se } from "../_util/statusUtils.js";
9
- import { devUseWarning as ae } from "../_util/warning.js";
10
- import me from "../config-provider/index.js";
3
+ import ee from "../../../@ant-design/icons/es/icons/MinusOutlined.js";
4
+ import te from "../../../@ant-design/icons/es/icons/PlusOutlined.js";
5
+ import oe from "../../../@ant-design/icons/es/icons/DownOutlined.js";
6
+ import re from "../../../@ant-design/icons/es/icons/UpOutlined.js";
7
+ import ne from "../../../@rc-component/input-number/es/InputNumber.js";
8
+ import { clsx as R } from "../../../clsx/dist/clsx.js";
9
+ import se from "../_util/ContextIsolator.js";
10
+ import { getMergedStatus as ae, getStatusClassNames as me } from "../_util/statusUtils.js";
11
+ import { devUseWarning as le } from "../_util/warning.js";
12
+ import ce from "../config-provider/index.js";
11
13
  import { useComponentConfig as W } from "../config-provider/context.js";
12
- import le from "../config-provider/DisabledContext.js";
13
- import ce from "../config-provider/hooks/useCSSVarCls.js";
14
- import ie from "../config-provider/hooks/useSize.js";
14
+ import ie from "../config-provider/DisabledContext.js";
15
+ import ue from "../config-provider/hooks/useCSSVarCls.js";
16
+ import de from "../config-provider/hooks/useSize.js";
15
17
  import { FormItemInputContext as B } from "../form/context.js";
16
- import de from "../form/hooks/useVariants.js";
17
- import ue from "../space/Addon.js";
18
- import fe, { useCompactItemContext as pe } from "../space/Compact.js";
19
- import Ne from "./style/index.js";
20
- import be from "../../../@ant-design/icons/es/icons/MinusOutlined.js";
21
- import Ce from "../../../@ant-design/icons/es/icons/PlusOutlined.js";
18
+ import fe from "../form/hooks/useVariants.js";
19
+ import pe from "../space/Addon.js";
20
+ import Ne, { useCompactItemContext as Ce } from "../space/Compact.js";
21
+ import be from "./style/index.js";
22
22
  import { useMergeSemantic as Ie } from "../_util/hooks/useMergeSemantic.js";
23
- const D = /* @__PURE__ */ e.forwardRef((t, C) => {
24
- const c = e.useRef(null);
25
- e.useImperativeHandle(C, () => c.current);
23
+ const D = /* @__PURE__ */ e.forwardRef((t, I) => {
24
+ const i = e.useRef(null);
25
+ e.useImperativeHandle(I, () => i.current);
26
26
  const {
27
- rootClassName: i,
28
- size: I,
29
- disabled: y,
27
+ rootClassName: u,
28
+ size: x,
29
+ disabled: g,
30
30
  prefixCls: o,
31
- addonBefore: x,
32
- addonAfter: O,
33
- prefix: g,
31
+ addonBefore: y,
32
+ addonAfter: w,
33
+ prefix: S,
34
34
  suffix: a,
35
- bordered: S,
36
- readOnly: d,
37
- status: u,
38
- controls: m = !0,
35
+ bordered: h,
36
+ readOnly: m,
37
+ status: d,
38
+ controls: l = !0,
39
39
  variant: f,
40
40
  className: p,
41
41
  style: N,
42
42
  classNames: r,
43
- styles: l,
43
+ styles: c,
44
44
  mode: n,
45
- ...b
45
+ ...C
46
46
  } = t, {
47
- direction: R,
47
+ direction: z,
48
48
  className: k,
49
49
  style: H,
50
50
  styles: M,
51
51
  classNames: T
52
- } = W("inputNumber"), s = e.useMemo(() => !m || t.disabled || t.readOnly ? !1 : m, [m, t.disabled, t.readOnly]), {
53
- compactSize: U,
54
- compactItemClassnames: j
55
- } = pe(o, R);
56
- let h = n === "spinner" ? /* @__PURE__ */ e.createElement(Ce, null) : /* @__PURE__ */ e.createElement(te, null), E = n === "spinner" ? /* @__PURE__ */ e.createElement(be, null) : /* @__PURE__ */ e.createElement(ee, null);
57
- const L = typeof s == "boolean" ? s : void 0;
58
- typeof s == "object" && (h = s.upIcon || h, E = s.downIcon || E);
52
+ } = W("inputNumber"), U = e.useContext(ie), b = g ?? U, s = e.useMemo(() => !l || b || m ? !1 : l, [l, b, m]), {
53
+ compactSize: j,
54
+ compactItemClassnames: L
55
+ } = Ce(o, z);
56
+ let E = n === "spinner" ? /* @__PURE__ */ e.createElement(te, null) : /* @__PURE__ */ e.createElement(re, null), $ = n === "spinner" ? /* @__PURE__ */ e.createElement(ee, null) : /* @__PURE__ */ e.createElement(oe, null);
57
+ const Y = typeof s == "boolean" ? s : void 0;
58
+ typeof s == "object" && (E = s.upIcon || E, $ = s.downIcon || $);
59
59
  const {
60
- hasFeedback: w,
61
- isFormItemInput: Y,
62
- feedbackIcon: q
63
- } = e.useContext(B), $ = ie((Z) => I ?? U ?? Z), G = e.useContext(le), z = y ?? G, [J, K] = de("inputNumber", f, S), Q = w && /* @__PURE__ */ e.createElement(e.Fragment, null, q), X = {
60
+ hasFeedback: A,
61
+ isFormItemInput: q,
62
+ feedbackIcon: G
63
+ } = e.useContext(B), v = de((Z) => x ?? j ?? Z), [J, K] = fe("inputNumber", f, h), Q = A && /* @__PURE__ */ e.createElement(e.Fragment, null, G), X = {
64
64
  ...t,
65
- size: $,
66
- disabled: z,
65
+ size: v,
66
+ disabled: b,
67
67
  controls: s
68
- }, [A, V] = Ie([T, r], [M, l], {
68
+ }, [O, V] = Ie([T, r], [M, c], {
69
69
  props: X
70
70
  });
71
- return /* @__PURE__ */ e.createElement(oe, {
72
- ref: c,
71
+ return /* @__PURE__ */ e.createElement(ne, {
72
+ ref: i,
73
73
  mode: n,
74
- disabled: z,
75
- className: v(p, i, A.root, k, j, se(o, u, w), {
74
+ disabled: b,
75
+ className: R(p, u, O.root, k, L, me(o, d, A), {
76
76
  [`${o}-${J}`]: K,
77
- [`${o}-lg`]: $ === "large",
78
- [`${o}-sm`]: $ === "small",
79
- [`${o}-rtl`]: R === "rtl",
80
- [`${o}-in-form-item`]: Y,
77
+ [`${o}-lg`]: v === "large",
78
+ [`${o}-sm`]: v === "small",
79
+ [`${o}-rtl`]: z === "rtl",
80
+ [`${o}-in-form-item`]: q,
81
81
  [`${o}-without-controls`]: !s
82
82
  }),
83
83
  style: {
@@ -85,60 +85,60 @@ const D = /* @__PURE__ */ e.forwardRef((t, C) => {
85
85
  ...H,
86
86
  ...N
87
87
  },
88
- upHandler: h,
89
- downHandler: E,
88
+ upHandler: E,
89
+ downHandler: $,
90
90
  prefixCls: o,
91
- readOnly: d,
92
- controls: L,
93
- prefix: g,
91
+ readOnly: m,
92
+ controls: Y,
93
+ prefix: S,
94
94
  suffix: Q || a,
95
- classNames: A,
95
+ classNames: O,
96
96
  styles: V,
97
- ...b
97
+ ...C
98
98
  });
99
- }), F = /* @__PURE__ */ e.forwardRef((t, C) => {
99
+ }), F = /* @__PURE__ */ e.forwardRef((t, I) => {
100
100
  const {
101
- addonBefore: c,
102
- addonAfter: i,
103
- prefixCls: I,
104
- className: y,
101
+ addonBefore: i,
102
+ addonAfter: u,
103
+ prefixCls: x,
104
+ className: g,
105
105
  status: o,
106
- rootClassName: x,
107
- ...O
106
+ rootClassName: y,
107
+ ...w
108
108
  } = t, {
109
- getPrefixCls: g
110
- } = W("inputNumber"), a = g("input-number", I), {
111
- status: S
112
- } = e.useContext(B), d = ne(S, o), u = ce(a), [m, f] = Ne(a, u), p = c || i;
109
+ getPrefixCls: S
110
+ } = W("inputNumber"), a = S("input-number", x), {
111
+ status: h
112
+ } = e.useContext(B), m = ae(h, o), d = ue(a), [l, f] = be(a, d), p = i || u;
113
113
  if (P.env.NODE_ENV !== "production") {
114
- const r = ae("InputNumber");
115
- [["bordered", "variant"], ["addonAfter", "Space.Compact"], ["addonBefore", "Space.Compact"]].forEach(([l, n]) => {
116
- r.deprecated(!(l in t), l, n);
114
+ const r = le("InputNumber");
115
+ [["bordered", "variant"], ["addonAfter", "Space.Compact"], ["addonBefore", "Space.Compact"]].forEach(([c, n]) => {
116
+ r.deprecated(!(c in t), c, n);
117
117
  }), r(!(t.type === "number" && t.changeOnWheel), "usage", "When `type=number` is used together with `changeOnWheel`, changeOnWheel may not work properly. Please delete `type=number` if it is not necessary.");
118
118
  }
119
119
  const N = /* @__PURE__ */ e.createElement(D, {
120
- ref: C,
121
- ...O,
120
+ ref: I,
121
+ ...w,
122
122
  prefixCls: a,
123
- status: d,
124
- className: v(f, u, m, y),
125
- rootClassName: p ? void 0 : x
123
+ status: m,
124
+ className: R(f, d, l, g),
125
+ rootClassName: p ? void 0 : y
126
126
  });
127
127
  if (p) {
128
- const r = (b) => b ? /* @__PURE__ */ e.createElement(ue, {
129
- className: v(`${a}-addon`, f, m),
128
+ const r = (C) => C ? /* @__PURE__ */ e.createElement(pe, {
129
+ className: R(`${a}-addon`, f, l),
130
130
  variant: t.variant,
131
131
  disabled: t.disabled,
132
- status: d
133
- }, /* @__PURE__ */ e.createElement(re, {
132
+ status: m
133
+ }, /* @__PURE__ */ e.createElement(se, {
134
134
  form: !0
135
- }, b)) : null, l = r(c), n = r(i);
136
- return /* @__PURE__ */ e.createElement(fe, {
137
- rootClassName: x
138
- }, l, N, n);
135
+ }, C)) : null, c = r(i), n = r(u);
136
+ return /* @__PURE__ */ e.createElement(Ne, {
137
+ rootClassName: y
138
+ }, c, N, n);
139
139
  }
140
140
  return N;
141
- }), _ = F, ye = (t) => /* @__PURE__ */ e.createElement(me, {
141
+ }), _ = F, xe = (t) => /* @__PURE__ */ e.createElement(ce, {
142
142
  theme: {
143
143
  components: {
144
144
  InputNumber: {
@@ -150,7 +150,7 @@ const D = /* @__PURE__ */ e.forwardRef((t, C) => {
150
150
  ...t
151
151
  }));
152
152
  P.env.NODE_ENV !== "production" && (D.displayName = "InternalInputNumber", _.displayName = "InputNumber");
153
- _._InternalPanelDoNotUseOrYouWillBeFired = ye;
153
+ _._InternalPanelDoNotUseOrYouWillBeFired = xe;
154
154
  export {
155
155
  _ as default
156
156
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../node_modules/antd/es/input-number/index.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { MinusOutlined, PlusOutlined } from '@ant-design/icons';\nimport DownOutlined from \"@ant-design/icons/es/icons/DownOutlined\";\nimport UpOutlined from \"@ant-design/icons/es/icons/UpOutlined\";\nimport RcInputNumber from '@rc-component/input-number';\nimport { clsx } from 'clsx';\nimport ContextIsolator from '../_util/ContextIsolator';\nimport { useMergeSemantic } from '../_util/hooks';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport { devUseWarning } from '../_util/warning';\nimport ConfigProvider from '../config-provider';\nimport { useComponentConfig } from '../config-provider/context';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport useSize from '../config-provider/hooks/useSize';\nimport { FormItemInputContext } from '../form/context';\nimport useVariant from '../form/hooks/useVariants';\nimport SpaceAddon from '../space/Addon';\nimport Compact, { useCompactItemContext } from '../space/Compact';\nimport useStyle from './style';\nconst InternalInputNumber = /*#__PURE__*/React.forwardRef((props, ref) => {\n const inputRef = React.useRef(null);\n React.useImperativeHandle(ref, () => inputRef.current);\n const {\n rootClassName,\n size: customizeSize,\n disabled: customDisabled,\n prefixCls,\n addonBefore: _addonBefore,\n addonAfter: _addonAfter,\n prefix,\n suffix,\n bordered,\n readOnly,\n status,\n controls = true,\n variant: customVariant,\n className,\n style,\n classNames,\n styles,\n mode,\n ...others\n } = props;\n const {\n direction,\n className: contextClassName,\n style: contextStyle,\n styles: contextStyles,\n classNames: contextClassNames\n } = useComponentConfig('inputNumber');\n //controls && !props.disabled && !props.readOnly;\n const mergedControls = React.useMemo(() => {\n if (!controls || props.disabled || props.readOnly) {\n return false;\n }\n return controls;\n }, [controls, props.disabled, props.readOnly]);\n const {\n compactSize,\n compactItemClassnames\n } = useCompactItemContext(prefixCls, direction);\n let upIcon = mode === 'spinner' ? /*#__PURE__*/React.createElement(PlusOutlined, null) : /*#__PURE__*/React.createElement(UpOutlined, null);\n let downIcon = mode === 'spinner' ? /*#__PURE__*/React.createElement(MinusOutlined, null) : /*#__PURE__*/React.createElement(DownOutlined, null);\n const controlsTemp = typeof mergedControls === 'boolean' ? mergedControls : undefined;\n if (typeof mergedControls === 'object') {\n upIcon = mergedControls.upIcon || upIcon;\n downIcon = mergedControls.downIcon || downIcon;\n }\n const {\n hasFeedback,\n isFormItemInput,\n feedbackIcon\n } = React.useContext(FormItemInputContext);\n const mergedSize = useSize(ctx => customizeSize ?? compactSize ?? ctx);\n // ===================== Disabled =====================\n const disabled = React.useContext(DisabledContext);\n const mergedDisabled = customDisabled ?? disabled;\n const [variant, enableVariantCls] = useVariant('inputNumber', customVariant, bordered);\n const suffixNode = hasFeedback && /*#__PURE__*/React.createElement(React.Fragment, null, feedbackIcon);\n // =========== Merged Props for Semantic ==========\n const mergedProps = {\n ...props,\n size: mergedSize,\n disabled: mergedDisabled,\n controls: mergedControls\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([contextClassNames, classNames], [contextStyles, styles], {\n props: mergedProps\n });\n return /*#__PURE__*/React.createElement(RcInputNumber, {\n ref: inputRef,\n mode: mode,\n disabled: mergedDisabled,\n className: clsx(className, rootClassName, mergedClassNames.root, contextClassName, compactItemClassnames, getStatusClassNames(prefixCls, status, hasFeedback), {\n [`${prefixCls}-${variant}`]: enableVariantCls,\n [`${prefixCls}-lg`]: mergedSize === 'large',\n [`${prefixCls}-sm`]: mergedSize === 'small',\n [`${prefixCls}-rtl`]: direction === 'rtl',\n [`${prefixCls}-in-form-item`]: isFormItemInput,\n [`${prefixCls}-without-controls`]: !mergedControls\n }),\n style: {\n ...mergedStyles.root,\n ...contextStyle,\n ...style\n },\n upHandler: upIcon,\n downHandler: downIcon,\n prefixCls: prefixCls,\n readOnly: readOnly,\n controls: controlsTemp,\n prefix: prefix,\n suffix: suffixNode || suffix,\n classNames: mergedClassNames,\n styles: mergedStyles,\n ...others\n });\n});\n// ===================================================================\n// == InputNumber ==\n// ===================================================================\nconst InputNumber = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n addonBefore,\n addonAfter,\n prefixCls: customizePrefixCls,\n className,\n status: customStatus,\n rootClassName,\n ...rest\n } = props;\n const {\n getPrefixCls\n } = useComponentConfig('inputNumber');\n const prefixCls = getPrefixCls('input-number', customizePrefixCls);\n const {\n status: contextStatus\n } = React.useContext(FormItemInputContext);\n const mergedStatus = getMergedStatus(contextStatus, customStatus);\n const rootCls = useCSSVarCls(prefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const hasLegacyAddon = addonBefore || addonAfter;\n // ======================= Warn =======================\n if (process.env.NODE_ENV !== 'production') {\n const typeWarning = devUseWarning('InputNumber');\n [['bordered', 'variant'], ['addonAfter', 'Space.Compact'], ['addonBefore', 'Space.Compact']].forEach(([prop, newProp]) => {\n typeWarning.deprecated(!(prop in props), prop, newProp);\n });\n typeWarning(!(props.type === 'number' && props.changeOnWheel), 'usage', 'When `type=number` is used together with `changeOnWheel`, changeOnWheel may not work properly. Please delete `type=number` if it is not necessary.');\n }\n // ====================== Render ======================\n const inputNumberNode = /*#__PURE__*/React.createElement(InternalInputNumber, {\n ref: ref,\n ...rest,\n prefixCls: prefixCls,\n status: mergedStatus,\n className: clsx(cssVarCls, rootCls, hashId, className),\n rootClassName: !hasLegacyAddon ? rootClassName : undefined\n });\n if (hasLegacyAddon) {\n const renderAddon = node => {\n if (!node) {\n return null;\n }\n return /*#__PURE__*/React.createElement(SpaceAddon, {\n className: clsx(`${prefixCls}-addon`, cssVarCls, hashId),\n variant: props.variant,\n disabled: props.disabled,\n status: mergedStatus\n }, /*#__PURE__*/React.createElement(ContextIsolator, {\n form: true\n }, node));\n };\n const addonBeforeNode = renderAddon(addonBefore);\n const addonAfterNode = renderAddon(addonAfter);\n return /*#__PURE__*/React.createElement(Compact, {\n rootClassName: rootClassName\n }, addonBeforeNode, inputNumberNode, addonAfterNode);\n }\n return inputNumberNode;\n});\nconst TypedInputNumber = InputNumber;\n/** @private Internal Component. Do not use in your production. */\nconst PureInputNumber = props => (/*#__PURE__*/React.createElement(ConfigProvider, {\n theme: {\n components: {\n InputNumber: {\n handleVisible: true\n }\n }\n }\n}, /*#__PURE__*/React.createElement(InputNumber, {\n ...props\n})));\nif (process.env.NODE_ENV !== 'production') {\n InternalInputNumber.displayName = 'InternalInputNumber';\n TypedInputNumber.displayName = 'InputNumber';\n}\nTypedInputNumber._InternalPanelDoNotUseOrYouWillBeFired = PureInputNumber;\nexport default TypedInputNumber;"],"names":["InternalInputNumber","React","props","ref","inputRef","rootClassName","customizeSize","customDisabled","prefixCls","_addonBefore","_addonAfter","prefix","suffix","bordered","readOnly","status","controls","customVariant","className","style","classNames","styles","mode","others","direction","contextClassName","contextStyle","contextStyles","contextClassNames","useComponentConfig","mergedControls","compactSize","compactItemClassnames","useCompactItemContext","upIcon","PlusOutlined","UpOutlined","downIcon","MinusOutlined","DownOutlined","controlsTemp","hasFeedback","isFormItemInput","feedbackIcon","FormItemInputContext","mergedSize","useSize","ctx","disabled","DisabledContext","mergedDisabled","variant","enableVariantCls","useVariant","suffixNode","mergedProps","mergedClassNames","mergedStyles","useMergeSemantic","RcInputNumber","clsx","getStatusClassNames","InputNumber","addonBefore","addonAfter","customizePrefixCls","customStatus","rest","getPrefixCls","contextStatus","mergedStatus","getMergedStatus","rootCls","useCSSVarCls","hashId","cssVarCls","useStyle","hasLegacyAddon","process","typeWarning","devUseWarning","prop","newProp","inputNumberNode","renderAddon","node","SpaceAddon","ContextIsolator","addonBeforeNode","addonAfterNode","Compact","TypedInputNumber","PureInputNumber","ConfigProvider"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAsBA,MAAMA,IAAmC,gBAAAC,EAAM,WAAW,CAACC,GAAOC,MAAQ;AACxE,QAAMC,IAAWH,EAAM,OAAO,IAAI;AAClC,EAAAA,EAAM,oBAAoBE,GAAK,MAAMC,EAAS,OAAO;AACrD,QAAM;AAAA,IACJ,eAAAC;AAAA,IACA,MAAMC;AAAA,IACN,UAAUC;AAAA,IACV,WAAAC;AAAA,IACA,aAAaC;AAAA,IACb,YAAYC;AAAA,IACZ,QAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,SAASC;AAAA,IACT,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAAC;AAAA,IACA,GAAGC;AAAA,EACP,IAAMrB,GACE;AAAA,IACJ,WAAAsB;AAAA,IACA,WAAWC;AAAA,IACX,OAAOC;AAAA,IACP,QAAQC;AAAA,IACR,YAAYC;AAAA,EAChB,IAAMC,EAAmB,aAAa,GAE9BC,IAAiB7B,EAAM,QAAQ,MAC/B,CAACe,KAAYd,EAAM,YAAYA,EAAM,WAChC,KAEFc,GACN,CAACA,GAAUd,EAAM,UAAU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,EACjF,OAAO;AAAA,IACL,YAAY;AAAA,MACV,aAAa;AAAA,QACX,eAAe;AAAA,MACvB;AAAA,IACA;AAAA,EACA;AACA,GAAgB,gBAAA5F,EAAM,cAAc6D,GAAa;AAAA,EAC/C,GAAG5D;AACL,CAAC,CAAC;AACE4E,EAAQ,IAAI,aAAa,iBAC3B9E,EAAoB,cAAc,uBAClC2F,EAAiB,cAAc;AAEjCA,EAAiB,yCAAyCC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/antd/es/input-number/index.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport MinusOutlined from \"@ant-design/icons/es/icons/MinusOutlined\";\nimport PlusOutlined from \"@ant-design/icons/es/icons/PlusOutlined\";\nimport DownOutlined from \"@ant-design/icons/es/icons/DownOutlined\";\nimport UpOutlined from \"@ant-design/icons/es/icons/UpOutlined\";\nimport RcInputNumber from '@rc-component/input-number';\nimport { clsx } from 'clsx';\nimport ContextIsolator from '../_util/ContextIsolator';\nimport { useMergeSemantic } from '../_util/hooks';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport { devUseWarning } from '../_util/warning';\nimport ConfigProvider from '../config-provider';\nimport { useComponentConfig } from '../config-provider/context';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport useSize from '../config-provider/hooks/useSize';\nimport { FormItemInputContext } from '../form/context';\nimport useVariant from '../form/hooks/useVariants';\nimport SpaceAddon from '../space/Addon';\nimport Compact, { useCompactItemContext } from '../space/Compact';\nimport useStyle from './style';\nconst InternalInputNumber = /*#__PURE__*/React.forwardRef((props, ref) => {\n const inputRef = React.useRef(null);\n React.useImperativeHandle(ref, () => inputRef.current);\n const {\n rootClassName,\n size: customizeSize,\n disabled: customDisabled,\n prefixCls,\n addonBefore: _addonBefore,\n addonAfter: _addonAfter,\n prefix,\n suffix,\n bordered,\n readOnly,\n status,\n controls = true,\n variant: customVariant,\n className,\n style,\n classNames,\n styles,\n mode,\n ...others\n } = props;\n const {\n direction,\n className: contextClassName,\n style: contextStyle,\n styles: contextStyles,\n classNames: contextClassNames\n } = useComponentConfig('inputNumber');\n // ===================== Disabled =====================\n const disabled = React.useContext(DisabledContext);\n const mergedDisabled = customDisabled ?? disabled;\n // controls && !mergedDisabled && !readOnly;\n const mergedControls = React.useMemo(() => {\n if (!controls || mergedDisabled || readOnly) {\n return false;\n }\n return controls;\n }, [controls, mergedDisabled, readOnly]);\n const {\n compactSize,\n compactItemClassnames\n } = useCompactItemContext(prefixCls, direction);\n let upIcon = mode === 'spinner' ? /*#__PURE__*/React.createElement(PlusOutlined, null) : /*#__PURE__*/React.createElement(UpOutlined, null);\n let downIcon = mode === 'spinner' ? /*#__PURE__*/React.createElement(MinusOutlined, null) : /*#__PURE__*/React.createElement(DownOutlined, null);\n const controlsTemp = typeof mergedControls === 'boolean' ? mergedControls : undefined;\n if (typeof mergedControls === 'object') {\n upIcon = mergedControls.upIcon || upIcon;\n downIcon = mergedControls.downIcon || downIcon;\n }\n const {\n hasFeedback,\n isFormItemInput,\n feedbackIcon\n } = React.useContext(FormItemInputContext);\n const mergedSize = useSize(ctx => customizeSize ?? compactSize ?? ctx);\n const [variant, enableVariantCls] = useVariant('inputNumber', customVariant, bordered);\n const suffixNode = hasFeedback && /*#__PURE__*/React.createElement(React.Fragment, null, feedbackIcon);\n // =========== Merged Props for Semantic ==========\n const mergedProps = {\n ...props,\n size: mergedSize,\n disabled: mergedDisabled,\n controls: mergedControls\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([contextClassNames, classNames], [contextStyles, styles], {\n props: mergedProps\n });\n return /*#__PURE__*/React.createElement(RcInputNumber, {\n ref: inputRef,\n mode: mode,\n disabled: mergedDisabled,\n className: clsx(className, rootClassName, mergedClassNames.root, contextClassName, compactItemClassnames, getStatusClassNames(prefixCls, status, hasFeedback), {\n [`${prefixCls}-${variant}`]: enableVariantCls,\n [`${prefixCls}-lg`]: mergedSize === 'large',\n [`${prefixCls}-sm`]: mergedSize === 'small',\n [`${prefixCls}-rtl`]: direction === 'rtl',\n [`${prefixCls}-in-form-item`]: isFormItemInput,\n [`${prefixCls}-without-controls`]: !mergedControls\n }),\n style: {\n ...mergedStyles.root,\n ...contextStyle,\n ...style\n },\n upHandler: upIcon,\n downHandler: downIcon,\n prefixCls: prefixCls,\n readOnly: readOnly,\n controls: controlsTemp,\n prefix: prefix,\n suffix: suffixNode || suffix,\n classNames: mergedClassNames,\n styles: mergedStyles,\n ...others\n });\n});\n// ===================================================================\n// == InputNumber ==\n// ===================================================================\nconst InputNumber = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n addonBefore,\n addonAfter,\n prefixCls: customizePrefixCls,\n className,\n status: customStatus,\n rootClassName,\n ...rest\n } = props;\n const {\n getPrefixCls\n } = useComponentConfig('inputNumber');\n const prefixCls = getPrefixCls('input-number', customizePrefixCls);\n const {\n status: contextStatus\n } = React.useContext(FormItemInputContext);\n const mergedStatus = getMergedStatus(contextStatus, customStatus);\n const rootCls = useCSSVarCls(prefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const hasLegacyAddon = addonBefore || addonAfter;\n // ======================= Warn =======================\n if (process.env.NODE_ENV !== 'production') {\n const typeWarning = devUseWarning('InputNumber');\n [['bordered', 'variant'], ['addonAfter', 'Space.Compact'], ['addonBefore', 'Space.Compact']].forEach(([prop, newProp]) => {\n typeWarning.deprecated(!(prop in props), prop, newProp);\n });\n typeWarning(!(props.type === 'number' && props.changeOnWheel), 'usage', 'When `type=number` is used together with `changeOnWheel`, changeOnWheel may not work properly. Please delete `type=number` if it is not necessary.');\n }\n // ====================== Render ======================\n const inputNumberNode = /*#__PURE__*/React.createElement(InternalInputNumber, {\n ref: ref,\n ...rest,\n prefixCls: prefixCls,\n status: mergedStatus,\n className: clsx(cssVarCls, rootCls, hashId, className),\n rootClassName: !hasLegacyAddon ? rootClassName : undefined\n });\n if (hasLegacyAddon) {\n const renderAddon = node => {\n if (!node) {\n return null;\n }\n return /*#__PURE__*/React.createElement(SpaceAddon, {\n className: clsx(`${prefixCls}-addon`, cssVarCls, hashId),\n variant: props.variant,\n disabled: props.disabled,\n status: mergedStatus\n }, /*#__PURE__*/React.createElement(ContextIsolator, {\n form: true\n }, node));\n };\n const addonBeforeNode = renderAddon(addonBefore);\n const addonAfterNode = renderAddon(addonAfter);\n return /*#__PURE__*/React.createElement(Compact, {\n rootClassName: rootClassName\n }, addonBeforeNode, inputNumberNode, addonAfterNode);\n }\n return inputNumberNode;\n});\nconst TypedInputNumber = InputNumber;\n/** @private Internal Component. Do not use in your production. */\nconst PureInputNumber = props => (/*#__PURE__*/React.createElement(ConfigProvider, {\n theme: {\n components: {\n InputNumber: {\n handleVisible: true\n }\n }\n }\n}, /*#__PURE__*/React.createElement(InputNumber, {\n ...props\n})));\nif (process.env.NODE_ENV !== 'production') {\n InternalInputNumber.displayName = 'InternalInputNumber';\n TypedInputNumber.displayName = 'InputNumber';\n}\nTypedInputNumber._InternalPanelDoNotUseOrYouWillBeFired = PureInputNumber;\nexport default TypedInputNumber;"],"names":["InternalInputNumber","React","props","ref","inputRef","rootClassName","customizeSize","customDisabled","prefixCls","_addonBefore","_addonAfter","prefix","suffix","bordered","readOnly","status","controls","customVariant","className","style","classNames","styles","mode","others","direction","contextClassName","contextStyle","contextStyles","contextClassNames","useComponentConfig","disabled","DisabledContext","mergedDisabled","mergedControls","compactSize","compactItemClassnames","useCompactItemContext","upIcon","PlusOutlined","UpOutlined","downIcon","MinusOutlined","DownOutlined","controlsTemp","hasFeedback","isFormItemInput","feedbackIcon","FormItemInputContext","mergedSize","useSize","ctx","variant","enableVariantCls","useVariant","suffixNode","mergedProps","mergedClassNames","mergedStyles","useMergeSemantic","RcInputNumber","clsx","getStatusClassNames","InputNumber","addonBefore","addonAfter","customizePrefixCls","customStatus","rest","getPrefixCls","contextStatus","mergedStatus","getMergedStatus","rootCls","useCSSVarCls","hashId","cssVarCls","useStyle","hasLegacyAddon","process","typeWarning","devUseWarning","prop","newProp","inputNumberNode","renderAddon","node","SpaceAddon","ContextIsolator","addonBeforeNode","addonAfterNode","Compact","TypedInputNumber","PureInputNumber","ConfigProvider"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAuBA,MAAMA,IAAmC,gBAAAC,EAAM,WAAW,CAACC,GAAOC,MAAQ;AACxE,QAAMC,IAAWH,EAAM,OAAO,IAAI;AAClC,EAAAA,EAAM,oBAAoBE,GAAK,MAAMC,EAAS,OAAO;AACrD,QAAM;AAAA,IACJ,eAAAC;AAAA,IACA,MAAMC;AAAA,IACN,UAAUC;AAAA,IACV,WAAAC;AAAA,IACA,aAAaC;AAAA,IACb,YAAYC;AAAA,IACZ,QAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,SAASC;AAAA,IACT,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAAC;AAAA,IACA,GAAGC;AAAA,EACP,IAAMrB,GACE;AAAA,IACJ,WAAAsB;AAAA,IACA,WAAWC;AAAA,IACX,OAAOC;AAAA,IACP,QAAQC;AAAA,IACR,YAAYC;AAAA,EAChB,IAAMC,EAAmB,aAAa,GAE9BC,IAAW7B,EAAM,WAAW8B,EAAe,GAC3CC,IAAiBzB,KAAkBuB,GAEnCG,IAAiBhC,EAAM,QAAQ,MAC/B,CAACe,KAAYgB,KAAkBlB,IAC1B,KAEFE,GACN,CAACA,GAAUgB,GAAgBlB,CAAQ,CAAC,GACjC;AAAA,IACJ,aAAAoB;AAAA,IACA,uBAAAC;AAAA,EACJ,IAAMC,GAAsB5B,GAAWgB,CAAS;AAC9C,MAAIa,IAASf,MAAS,YAAyB,gBAAArB,EAAM,cAAcqC,IAAc,IAAI,IAAiB,gBAAArC,EAAM,cAAcsC,IAAY,IAAI,GAC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