ods-component-lib 1.21.2 → 1.21.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 (376) hide show
  1. package/dist/components/antd/currencyInput/CurrencySelect.js +16 -11
  2. package/dist/components/antd/currencyInput/CurrencySelect.js.map +1 -1
  3. package/dist/components/devextreme/OdsBasicDataGrid/OdsBasicDataGrid.js +32 -43
  4. package/dist/components/devextreme/OdsBasicDataGrid/OdsBasicDataGrid.js.map +1 -1
  5. package/dist/components/devextreme/OdsDataGrid.Legacy.js +4 -4
  6. package/dist/components/devextreme/OdsRemoteDataGrid.js +1 -1
  7. package/dist/index.js +10 -10
  8. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js +6 -6
  9. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js.map +1 -1
  10. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +20 -20
  11. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js.map +1 -1
  12. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js.map +1 -1
  13. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +101 -98
  14. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js.map +1 -1
  15. package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.js +1 -1
  16. package/dist/node_modules/@ant-design/cssinjs/es/util/index.js +29 -27
  17. package/dist/node_modules/@ant-design/cssinjs/es/util/index.js.map +1 -1
  18. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getComponentToken.js +1 -1
  19. package/dist/node_modules/@ant-design/fast-color/es/FastColor.js +66 -45
  20. package/dist/node_modules/@ant-design/fast-color/es/FastColor.js.map +1 -1
  21. package/dist/node_modules/@ant-design/icons/es/icons/FrownOutlined.js +5 -8
  22. package/dist/node_modules/@ant-design/icons/es/icons/HeartOutlined.js +3 -6
  23. package/dist/node_modules/@ant-design/icons/es/icons/MehOutlined.js +12 -15
  24. package/dist/node_modules/@ant-design/icons/es/icons/SmileOutlined.js +8 -11
  25. package/dist/node_modules/@ant-design/icons/es/utils.js +2 -9
  26. package/dist/node_modules/@ant-design/icons/es/utils.js.map +1 -1
  27. package/dist/node_modules/@emotion/stylis/dist/stylis.browser.esm.js +1 -9
  28. package/dist/node_modules/@emotion/stylis/dist/stylis.browser.esm.js.map +1 -1
  29. package/dist/node_modules/@rc-component/async-validator/es/index.js +20 -20
  30. package/dist/node_modules/@rc-component/async-validator/es/index.js.map +1 -1
  31. package/dist/node_modules/@rc-component/async-validator/es/messages.js +1 -0
  32. package/dist/node_modules/@rc-component/async-validator/es/messages.js.map +1 -1
  33. package/dist/node_modules/@rc-component/async-validator/es/rule/type.js +18 -8
  34. package/dist/node_modules/@rc-component/async-validator/es/rule/type.js.map +1 -1
  35. package/dist/node_modules/@rc-component/async-validator/es/util.js +1 -1
  36. package/dist/node_modules/@rc-component/async-validator/es/util.js.map +1 -1
  37. package/dist/node_modules/@rc-component/async-validator/es/validator/index.js +1 -0
  38. package/dist/node_modules/@rc-component/async-validator/es/validator/index.js.map +1 -1
  39. package/dist/node_modules/@rc-component/collapse/es/Collapse.js +1 -1
  40. package/dist/node_modules/@rc-component/collapse/es/hooks/useItems.js +88 -68
  41. package/dist/node_modules/@rc-component/collapse/es/hooks/useItems.js.map +1 -1
  42. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js +75 -96
  43. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js.map +1 -1
  44. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/index.js +22 -20
  45. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/index.js.map +1 -1
  46. package/dist/node_modules/@rc-component/dialog/es/Dialog/index.js +92 -100
  47. package/dist/node_modules/@rc-component/dialog/es/Dialog/index.js.map +1 -1
  48. package/dist/node_modules/@rc-component/dialog/es/DialogWrap.js +40 -29
  49. package/dist/node_modules/@rc-component/dialog/es/DialogWrap.js.map +1 -1
  50. package/dist/node_modules/@rc-component/dropdown/es/Dropdown.js +2 -2
  51. package/dist/node_modules/@rc-component/form/es/Field.js +9 -9
  52. package/dist/node_modules/@rc-component/form/es/FieldContext.js +2 -3
  53. package/dist/node_modules/@rc-component/form/es/FieldContext.js.map +1 -1
  54. package/dist/node_modules/@rc-component/form/es/Form.js +78 -92
  55. package/dist/node_modules/@rc-component/form/es/Form.js.map +1 -1
  56. package/dist/node_modules/@rc-component/form/es/List.js +1 -1
  57. package/dist/node_modules/@rc-component/form/es/{useForm.js → hooks/useForm.js} +136 -143
  58. package/dist/node_modules/@rc-component/form/es/hooks/useForm.js.map +1 -0
  59. package/dist/node_modules/@rc-component/form/es/hooks/useNotifyWatch.js +43 -0
  60. package/dist/node_modules/@rc-component/form/es/hooks/useNotifyWatch.js.map +1 -0
  61. package/dist/node_modules/@rc-component/form/es/{useWatch.js → hooks/useWatch.js} +7 -7
  62. package/dist/node_modules/@rc-component/form/es/hooks/useWatch.js.map +1 -0
  63. package/dist/node_modules/@rc-component/form/es/index.js +2 -2
  64. package/dist/node_modules/@rc-component/form/es/index.js.map +1 -1
  65. package/dist/node_modules/@rc-component/form/es/utils/NameMap.js +28 -22
  66. package/dist/node_modules/@rc-component/form/es/utils/NameMap.js.map +1 -1
  67. package/dist/node_modules/@rc-component/form/es/utils/messages.js +1 -0
  68. package/dist/node_modules/@rc-component/form/es/utils/messages.js.map +1 -1
  69. package/dist/node_modules/@rc-component/form/es/utils/validateUtil.js +1 -1
  70. package/dist/node_modules/@rc-component/form/es/utils/valueUtil.js.map +1 -1
  71. package/dist/node_modules/@rc-component/image/es/Preview/index.js +111 -105
  72. package/dist/node_modules/@rc-component/image/es/Preview/index.js.map +1 -1
  73. package/dist/node_modules/@rc-component/input-number/es/hooks/useCursor.js +1 -1
  74. package/dist/node_modules/@rc-component/menu/es/Menu.js +1 -1
  75. package/dist/node_modules/@rc-component/menu/es/MenuItem.js +1 -1
  76. package/dist/node_modules/@rc-component/menu/es/SubMenu/index.js +1 -1
  77. package/dist/node_modules/@rc-component/menu/es/hooks/useKeyRecords.js +1 -1
  78. package/dist/node_modules/@rc-component/menu/es/placements.js +0 -1
  79. package/dist/node_modules/@rc-component/menu/es/utils/warnUtil.js +1 -1
  80. package/dist/node_modules/@rc-component/pagination/es/Pagination.js +1 -1
  81. package/dist/node_modules/@rc-component/picker/es/PickerInput/RangePicker.js +1 -1
  82. package/dist/node_modules/@rc-component/picker/es/PickerInput/Selector/hooks/useClearIcon.js +1 -1
  83. package/dist/node_modules/@rc-component/picker/es/PickerInput/Selector/hooks/useInputProps.js +1 -1
  84. package/dist/node_modules/@rc-component/picker/es/PickerInput/hooks/useCellRender.js +1 -1
  85. package/dist/node_modules/@rc-component/picker/es/PickerInput/hooks/useFilledProps.js +1 -1
  86. package/dist/node_modules/@rc-component/picker/es/PickerInput/hooks/usePresets.js +1 -1
  87. package/dist/node_modules/@rc-component/picker/es/PickerPanel/index.js +1 -1
  88. package/dist/node_modules/@rc-component/picker/es/hooks/useTimeInfo.js +1 -1
  89. package/dist/node_modules/@rc-component/portal/es/Portal.js +41 -35
  90. package/dist/node_modules/@rc-component/portal/es/Portal.js.map +1 -1
  91. package/dist/node_modules/@rc-component/portal/es/useEscKeyDown.js +48 -0
  92. package/dist/node_modules/@rc-component/portal/es/useEscKeyDown.js.map +1 -0
  93. package/dist/node_modules/@rc-component/resize-observer/es/SingleObserver/index.js +18 -54
  94. package/dist/node_modules/@rc-component/resize-observer/es/SingleObserver/index.js.map +1 -1
  95. package/dist/node_modules/@rc-component/resize-observer/es/index.js.map +1 -1
  96. package/dist/node_modules/@rc-component/resize-observer/es/useResizeObserver.js +50 -0
  97. package/dist/node_modules/@rc-component/resize-observer/es/useResizeObserver.js.map +1 -0
  98. package/dist/node_modules/@rc-component/select/es/BaseSelect/index.js +141 -140
  99. package/dist/node_modules/@rc-component/select/es/BaseSelect/index.js.map +1 -1
  100. package/dist/node_modules/@rc-component/select/es/OptionList.js +92 -91
  101. package/dist/node_modules/@rc-component/select/es/OptionList.js.map +1 -1
  102. package/dist/node_modules/@rc-component/select/es/Select.js +5 -5
  103. package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js +50 -50
  104. package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js.map +1 -1
  105. package/dist/node_modules/@rc-component/select/es/SelectInput/Content/SingleContent.js +41 -47
  106. package/dist/node_modules/@rc-component/select/es/SelectInput/Content/SingleContent.js.map +1 -1
  107. package/dist/node_modules/@rc-component/select/es/SelectInput/index.js +85 -80
  108. package/dist/node_modules/@rc-component/select/es/SelectInput/index.js.map +1 -1
  109. package/dist/node_modules/@rc-component/select/es/hooks/useOpen.js +27 -26
  110. package/dist/node_modules/@rc-component/select/es/hooks/useOpen.js.map +1 -1
  111. package/dist/node_modules/@rc-component/select/es/utils/valueUtil.js +1 -1
  112. package/dist/node_modules/@rc-component/select/es/utils/warningPropsUtil.js +6 -6
  113. package/dist/node_modules/@rc-component/table/es/Cell/useCellRender.js +1 -1
  114. package/dist/node_modules/@rc-component/table/es/Table.js +1 -1
  115. package/dist/node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js +85 -80
  116. package/dist/node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js.map +1 -1
  117. package/dist/node_modules/@rc-component/table/es/VirtualTable/index.js +1 -1
  118. package/dist/node_modules/@rc-component/table/es/hooks/useColumns/index.js +1 -1
  119. package/dist/node_modules/@rc-component/table/es/hooks/useExpand.js +1 -1
  120. package/dist/node_modules/@rc-component/table/es/utils/legacyUtil.js +1 -1
  121. package/dist/node_modules/@rc-component/tabs/es/hooks/useAnimateConfig.js +1 -1
  122. package/dist/node_modules/@rc-component/tooltip/es/placements.js +0 -1
  123. package/dist/node_modules/@rc-component/tree/es/Tree.js +1 -1
  124. package/dist/node_modules/@rc-component/tree/es/util.js +1 -1
  125. package/dist/node_modules/@rc-component/tree/es/utils/conductUtil.js +1 -1
  126. package/dist/node_modules/@rc-component/tree/es/utils/treeUtil.js +1 -1
  127. package/dist/node_modules/@rc-component/tree-select/es/TreeSelect.js +1 -1
  128. package/dist/node_modules/@rc-component/tree-select/es/hooks/useDataEntities.js +1 -1
  129. package/dist/node_modules/@rc-component/tree-select/es/utils/legacyUtil.js +1 -1
  130. package/dist/node_modules/@rc-component/tree-select/es/utils/warningPropsUtil.js +1 -1
  131. package/dist/node_modules/@rc-component/trigger/es/Popup/index.js +74 -72
  132. package/dist/node_modules/@rc-component/trigger/es/Popup/index.js.map +1 -1
  133. package/dist/node_modules/@rc-component/trigger/es/UniqueProvider/index.js +10 -9
  134. package/dist/node_modules/@rc-component/trigger/es/UniqueProvider/index.js.map +1 -1
  135. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +126 -123
  136. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js.map +1 -1
  137. package/dist/node_modules/@rc-component/trigger/es/index.js +150 -140
  138. package/dist/node_modules/@rc-component/trigger/es/index.js.map +1 -1
  139. package/dist/node_modules/@rc-component/trigger/es/util.js +35 -34
  140. package/dist/node_modules/@rc-component/trigger/es/util.js.map +1 -1
  141. package/dist/node_modules/@rc-component/upload/es/attr-accept.js +1 -1
  142. package/dist/node_modules/@rc-component/util/es/Dom/focus.js +65 -20
  143. package/dist/node_modules/@rc-component/util/es/Dom/focus.js.map +1 -1
  144. package/dist/node_modules/@rc-component/util/es/KeyCode.js.map +1 -1
  145. package/dist/node_modules/@rc-component/util/es/hooks/useId.js.map +1 -1
  146. package/dist/node_modules/@rc-component/util/es/hooks/useState.js +6 -6
  147. package/dist/node_modules/@rc-component/util/es/hooks/useState.js.map +1 -1
  148. package/dist/node_modules/@rc-component/util/es/hooks/useSyncState.js.map +1 -1
  149. package/dist/node_modules/@rc-component/util/es/isEqual.js +1 -1
  150. package/dist/node_modules/@rc-component/util/es/utils/set.js +21 -21
  151. package/dist/node_modules/@rc-component/util/es/utils/set.js.map +1 -1
  152. package/dist/node_modules/@rc-component/virtual-list/es/hooks/useScrollTo.js +1 -1
  153. package/dist/node_modules/antd/es/_util/warning.js +1 -1
  154. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +53 -48
  155. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js.map +1 -1
  156. package/dist/node_modules/antd/es/_util/wave/index.js +1 -1
  157. package/dist/node_modules/antd/es/_util/wave/index.js.map +1 -1
  158. package/dist/node_modules/antd/es/_util/wave/style.js +8 -7
  159. package/dist/node_modules/antd/es/_util/wave/style.js.map +1 -1
  160. package/dist/node_modules/antd/es/alert/Alert.js +133 -128
  161. package/dist/node_modules/antd/es/alert/Alert.js.map +1 -1
  162. package/dist/node_modules/antd/es/badge/Badge.js +29 -28
  163. package/dist/node_modules/antd/es/badge/Badge.js.map +1 -1
  164. package/dist/node_modules/antd/es/badge/style/index.js +1 -1
  165. package/dist/node_modules/antd/es/badge/style/index.js.map +1 -1
  166. package/dist/node_modules/antd/es/button/buttonHelpers.js +47 -41
  167. package/dist/node_modules/antd/es/button/buttonHelpers.js.map +1 -1
  168. package/dist/node_modules/antd/es/button/style/compact.js +45 -36
  169. package/dist/node_modules/antd/es/button/style/compact.js.map +1 -1
  170. package/dist/node_modules/antd/es/button/style/variant.js +100 -90
  171. package/dist/node_modules/antd/es/button/style/variant.js.map +1 -1
  172. package/dist/node_modules/antd/es/calendar/generateCalendar.js +55 -57
  173. package/dist/node_modules/antd/es/calendar/generateCalendar.js.map +1 -1
  174. package/dist/node_modules/antd/es/calendar/style/index.js +18 -18
  175. package/dist/node_modules/antd/es/calendar/style/index.js.map +1 -1
  176. package/dist/node_modules/antd/es/card/CardGrid.js.map +1 -1
  177. package/dist/node_modules/antd/es/card/style/index.js +23 -11
  178. package/dist/node_modules/antd/es/card/style/index.js.map +1 -1
  179. package/dist/node_modules/antd/es/checkbox/Group.js +32 -30
  180. package/dist/node_modules/antd/es/checkbox/Group.js.map +1 -1
  181. package/dist/node_modules/antd/es/collapse/Collapse.js +61 -61
  182. package/dist/node_modules/antd/es/collapse/Collapse.js.map +1 -1
  183. package/dist/node_modules/antd/es/color-picker/color.js +9 -9
  184. package/dist/node_modules/antd/es/color-picker/color.js.map +1 -1
  185. package/dist/node_modules/antd/es/config-provider/index.js +76 -71
  186. package/dist/node_modules/antd/es/config-provider/index.js.map +1 -1
  187. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js +29 -31
  188. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js.map +1 -1
  189. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js +7 -9
  190. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js.map +1 -1
  191. package/dist/node_modules/antd/es/date-picker/generatePicker/{SuffixIcon.js → useSuffixIcon.js} +4 -4
  192. package/dist/node_modules/antd/es/date-picker/generatePicker/useSuffixIcon.js.map +1 -0
  193. package/dist/node_modules/antd/es/date-picker/style/panel.js +4 -4
  194. package/dist/node_modules/antd/es/date-picker/style/panel.js.map +1 -1
  195. package/dist/node_modules/antd/es/drawer/useFocusable.js +14 -0
  196. package/dist/node_modules/antd/es/drawer/useFocusable.js.map +1 -0
  197. package/dist/node_modules/antd/es/empty/empty.js +27 -32
  198. package/dist/node_modules/antd/es/empty/empty.js.map +1 -1
  199. package/dist/node_modules/antd/es/empty/simple.js +2 -2
  200. package/dist/node_modules/antd/es/empty/simple.js.map +1 -1
  201. package/dist/node_modules/antd/es/form/hooks/useForm.js +2 -2
  202. package/dist/node_modules/antd/es/form/index.js +1 -1
  203. package/dist/node_modules/antd/es/form/style/index.js +24 -24
  204. package/dist/node_modules/antd/es/form/style/index.js.map +1 -1
  205. package/dist/node_modules/antd/es/grid/col.js +56 -54
  206. package/dist/node_modules/antd/es/grid/col.js.map +1 -1
  207. package/dist/node_modules/antd/es/grid/style/index.js +50 -50
  208. package/dist/node_modules/antd/es/grid/style/index.js.map +1 -1
  209. package/dist/node_modules/antd/es/input/TextArea.js +16 -15
  210. package/dist/node_modules/antd/es/input/TextArea.js.map +1 -1
  211. package/dist/node_modules/antd/es/input/style/index.js +1 -0
  212. package/dist/node_modules/antd/es/input/style/index.js.map +1 -1
  213. package/dist/node_modules/antd/es/input-number/index.js +91 -91
  214. package/dist/node_modules/antd/es/input-number/index.js.map +1 -1
  215. package/dist/node_modules/antd/es/input-number/style/index.js +80 -79
  216. package/dist/node_modules/antd/es/input-number/style/index.js.map +1 -1
  217. package/dist/node_modules/antd/es/layout/Sider.js +1 -2
  218. package/dist/node_modules/antd/es/layout/style/sider.js +9 -9
  219. package/dist/node_modules/antd/es/layout/style/sider.js.map +1 -1
  220. package/dist/node_modules/antd/es/menu/MenuItem.js +6 -6
  221. package/dist/node_modules/antd/es/menu/MenuItem.js.map +1 -1
  222. package/dist/node_modules/antd/es/menu/SubMenu.js +8 -8
  223. package/dist/node_modules/antd/es/menu/SubMenu.js.map +1 -1
  224. package/dist/node_modules/antd/es/menu/style/horizontal.js +1 -1
  225. package/dist/node_modules/antd/es/menu/style/horizontal.js.map +1 -1
  226. package/dist/node_modules/antd/es/menu/style/index.js +58 -58
  227. package/dist/node_modules/antd/es/menu/style/index.js.map +1 -1
  228. package/dist/node_modules/antd/es/menu/style/vertical.js +1 -1
  229. package/dist/node_modules/antd/es/menu/style/vertical.js.map +1 -1
  230. package/dist/node_modules/antd/es/message/index.js +1 -1
  231. package/dist/node_modules/antd/es/modal/ConfirmDialog.js +117 -112
  232. package/dist/node_modules/antd/es/modal/ConfirmDialog.js.map +1 -1
  233. package/dist/node_modules/antd/es/modal/Modal.js +115 -109
  234. package/dist/node_modules/antd/es/modal/Modal.js.map +1 -1
  235. package/dist/node_modules/antd/es/modal/confirm.js +3 -3
  236. package/dist/node_modules/antd/es/modal/style/index.js +83 -80
  237. package/dist/node_modules/antd/es/modal/style/index.js.map +1 -1
  238. package/dist/node_modules/antd/es/pagination/Pagination.js +85 -81
  239. package/dist/node_modules/antd/es/pagination/Pagination.js.map +1 -1
  240. package/dist/node_modules/antd/es/pagination/style/bordered.js +2 -2
  241. package/dist/node_modules/antd/es/pagination/style/bordered.js.map +1 -1
  242. package/dist/node_modules/antd/es/pagination/style/index.js +100 -133
  243. package/dist/node_modules/antd/es/pagination/style/index.js.map +1 -1
  244. package/dist/node_modules/antd/es/popover/index.js +77 -82
  245. package/dist/node_modules/antd/es/popover/index.js.map +1 -1
  246. package/dist/node_modules/antd/es/popover/style/index.js +65 -63
  247. package/dist/node_modules/antd/es/popover/style/index.js.map +1 -1
  248. package/dist/node_modules/antd/es/progress/progress.js +4 -4
  249. package/dist/node_modules/antd/es/radio/context.js +3 -3
  250. package/dist/node_modules/antd/es/radio/context.js.map +1 -1
  251. package/dist/node_modules/antd/es/radio/group.js +31 -29
  252. package/dist/node_modules/antd/es/radio/group.js.map +1 -1
  253. package/dist/node_modules/antd/es/radio/style/index.js +1 -1
  254. package/dist/node_modules/antd/es/radio/style/index.js.map +1 -1
  255. package/dist/node_modules/antd/es/select/style/dropdown.js +1 -1
  256. package/dist/node_modules/antd/es/select/style/dropdown.js.map +1 -1
  257. package/dist/node_modules/antd/es/select/style/select-input-multiple.js +71 -69
  258. package/dist/node_modules/antd/es/select/style/select-input-multiple.js.map +1 -1
  259. package/dist/node_modules/antd/es/select/style/select-input.js +113 -98
  260. package/dist/node_modules/antd/es/select/style/select-input.js.map +1 -1
  261. package/dist/node_modules/antd/es/skeleton/Image.js +9 -9
  262. package/dist/node_modules/antd/es/skeleton/Image.js.map +1 -1
  263. package/dist/node_modules/antd/es/space/Item.js +2 -2
  264. package/dist/node_modules/antd/es/space/Item.js.map +1 -1
  265. package/dist/node_modules/antd/es/space/index.js +4 -4
  266. package/dist/node_modules/antd/es/space/index.js.map +1 -1
  267. package/dist/node_modules/antd/es/space/style/addon.js +47 -46
  268. package/dist/node_modules/antd/es/space/style/addon.js.map +1 -1
  269. package/dist/node_modules/antd/es/steps/PanelArrow.js +2 -2
  270. package/dist/node_modules/antd/es/steps/PanelArrow.js.map +1 -1
  271. package/dist/node_modules/antd/es/steps/ProgressIcon.js +12 -10
  272. package/dist/node_modules/antd/es/steps/ProgressIcon.js.map +1 -1
  273. package/dist/node_modules/antd/es/steps/index.js +108 -106
  274. package/dist/node_modules/antd/es/steps/index.js.map +1 -1
  275. package/dist/node_modules/antd/es/steps/style/horizontal.js +13 -11
  276. package/dist/node_modules/antd/es/steps/style/horizontal.js.map +1 -1
  277. package/dist/node_modules/antd/es/steps/style/icon.js +23 -18
  278. package/dist/node_modules/antd/es/steps/style/icon.js.map +1 -1
  279. package/dist/node_modules/antd/es/steps/style/index.js +41 -41
  280. package/dist/node_modules/antd/es/steps/style/index.js.map +1 -1
  281. package/dist/node_modules/antd/es/steps/style/inline.js +28 -23
  282. package/dist/node_modules/antd/es/steps/style/inline.js.map +1 -1
  283. package/dist/node_modules/antd/es/steps/style/label-placement.js +44 -39
  284. package/dist/node_modules/antd/es/steps/style/label-placement.js.map +1 -1
  285. package/dist/node_modules/antd/es/steps/style/nav.js +29 -27
  286. package/dist/node_modules/antd/es/steps/style/nav.js.map +1 -1
  287. package/dist/node_modules/antd/es/steps/style/panel.js +61 -56
  288. package/dist/node_modules/antd/es/steps/style/panel.js.map +1 -1
  289. package/dist/node_modules/antd/es/steps/style/progress-dot.js +28 -26
  290. package/dist/node_modules/antd/es/steps/style/progress-dot.js.map +1 -1
  291. package/dist/node_modules/antd/es/steps/style/progress.js +24 -57
  292. package/dist/node_modules/antd/es/steps/style/progress.js.map +1 -1
  293. package/dist/node_modules/antd/es/steps/style/rtl.js +10 -8
  294. package/dist/node_modules/antd/es/steps/style/rtl.js.map +1 -1
  295. package/dist/node_modules/antd/es/steps/style/small.js +21 -16
  296. package/dist/node_modules/antd/es/steps/style/small.js.map +1 -1
  297. package/dist/node_modules/antd/es/steps/style/status.js +187 -176
  298. package/dist/node_modules/antd/es/steps/style/status.js.map +1 -1
  299. package/dist/node_modules/antd/es/steps/style/util.js +18 -16
  300. package/dist/node_modules/antd/es/steps/style/util.js.map +1 -1
  301. package/dist/node_modules/antd/es/steps/style/vertical.js +21 -16
  302. package/dist/node_modules/antd/es/steps/style/vertical.js.map +1 -1
  303. package/dist/node_modules/antd/es/style/placementArrow.js +31 -29
  304. package/dist/node_modules/antd/es/style/placementArrow.js.map +1 -1
  305. package/dist/node_modules/antd/es/table/InternalTable.js +65 -62
  306. package/dist/node_modules/antd/es/table/InternalTable.js.map +1 -1
  307. package/dist/node_modules/antd/es/table/TableMeasureRowContext.js +6 -0
  308. package/dist/node_modules/antd/es/table/TableMeasureRowContext.js.map +1 -0
  309. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js +145 -137
  310. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js.map +1 -1
  311. package/dist/node_modules/antd/es/table/style/index.js +3 -3
  312. package/dist/node_modules/antd/es/table/style/index.js.map +1 -1
  313. package/dist/node_modules/antd/es/table/style/radius.js +10 -0
  314. package/dist/node_modules/antd/es/table/style/radius.js.map +1 -1
  315. package/dist/node_modules/antd/es/table/style/virtual.js +5 -5
  316. package/dist/node_modules/antd/es/table/style/virtual.js.map +1 -1
  317. package/dist/node_modules/antd/es/tag/style/index.js +5 -5
  318. package/dist/node_modules/antd/es/tag/style/index.js.map +1 -1
  319. package/dist/node_modules/antd/es/theme/util/genStyleUtils.js +29 -32
  320. package/dist/node_modules/antd/es/theme/util/genStyleUtils.js.map +1 -1
  321. package/dist/node_modules/antd/es/timeline/Timeline.js +76 -74
  322. package/dist/node_modules/antd/es/timeline/Timeline.js.map +1 -1
  323. package/dist/node_modules/antd/es/timeline/style/horizontal.js +21 -18
  324. package/dist/node_modules/antd/es/timeline/style/horizontal.js.map +1 -1
  325. package/dist/node_modules/antd/es/timeline/style/index.js +85 -70
  326. package/dist/node_modules/antd/es/timeline/style/index.js.map +1 -1
  327. package/dist/node_modules/antd/es/timeline/useItems.js +38 -37
  328. package/dist/node_modules/antd/es/timeline/useItems.js.map +1 -1
  329. package/dist/node_modules/antd/es/tooltip/PurePanel.js +27 -27
  330. package/dist/node_modules/antd/es/tooltip/PurePanel.js.map +1 -1
  331. package/dist/node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js +17 -22
  332. package/dist/node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js.map +1 -1
  333. package/dist/node_modules/antd/es/tooltip/UniqueProvider/index.js +27 -26
  334. package/dist/node_modules/antd/es/tooltip/UniqueProvider/index.js.map +1 -1
  335. package/dist/node_modules/antd/es/tooltip/index.js +52 -51
  336. package/dist/node_modules/antd/es/tooltip/index.js.map +1 -1
  337. package/dist/node_modules/antd/es/tooltip/style/index.js +55 -52
  338. package/dist/node_modules/antd/es/tooltip/style/index.js.map +1 -1
  339. package/dist/node_modules/antd/es/tooltip/util.js +13 -12
  340. package/dist/node_modules/antd/es/tooltip/util.js.map +1 -1
  341. package/dist/node_modules/antd/es/transfer/ListBody.js +16 -16
  342. package/dist/node_modules/antd/es/transfer/ListBody.js.map +1 -1
  343. package/dist/node_modules/antd/es/transfer/ListItem.js +43 -43
  344. package/dist/node_modules/antd/es/transfer/ListItem.js.map +1 -1
  345. package/dist/node_modules/antd/es/transfer/style/index.js +1 -1
  346. package/dist/node_modules/antd/es/tree/DirectoryTree.js +42 -41
  347. package/dist/node_modules/antd/es/tree/DirectoryTree.js.map +1 -1
  348. package/dist/node_modules/antd/es/typography/Base/index.js +43 -42
  349. package/dist/node_modules/antd/es/typography/Base/index.js.map +1 -1
  350. package/dist/node_modules/antd/es/typography/style/index.js +43 -43
  351. package/dist/node_modules/antd/es/typography/style/index.js.map +1 -1
  352. package/dist/node_modules/antd/es/typography/style/mixins.js +1 -1
  353. package/dist/node_modules/antd/es/typography/style/mixins.js.map +1 -1
  354. package/dist/node_modules/antd/es/version/version.js +1 -1
  355. package/dist/node_modules/antd/es/version/version.js.map +1 -1
  356. package/dist/node_modules/antd/es/watermark/context.js +5 -6
  357. package/dist/node_modules/antd/es/watermark/context.js.map +1 -1
  358. package/dist/node_modules/antd-style/node_modules/@ant-design/cssinjs/es/StyleContext.js +1 -2
  359. package/dist/node_modules/antd-style/node_modules/@ant-design/cssinjs/es/StyleContext.js.map +1 -1
  360. package/dist/node_modules/exceljs/dist/exceljs.min.js +91 -508
  361. package/dist/node_modules/exceljs/dist/exceljs.min.js.map +1 -1
  362. package/dist/node_modules/html2canvas/dist/html2canvas.esm.js +5 -55
  363. package/dist/node_modules/html2canvas/dist/html2canvas.esm.js.map +1 -1
  364. package/dist/node_modules/jspdf/dist/jspdf.es.min.js +8 -53
  365. package/dist/node_modules/jspdf/dist/jspdf.es.min.js.map +1 -1
  366. package/dist/node_modules/lodash/lodash.js +295 -278
  367. package/dist/node_modules/lodash/lodash.js.map +1 -1
  368. package/dist/node_modules/moment/dist/moment.js +2 -8
  369. package/dist/node_modules/moment/dist/moment.js.map +1 -1
  370. package/dist/node_modules/rc-util/es/isEqual.js +1 -1
  371. package/package.json +1 -1
  372. package/dist/node_modules/@rc-component/form/es/BatchUpdate.js +0 -21
  373. package/dist/node_modules/@rc-component/form/es/BatchUpdate.js.map +0 -1
  374. package/dist/node_modules/@rc-component/form/es/useForm.js.map +0 -1
  375. package/dist/node_modules/@rc-component/form/es/useWatch.js.map +0 -1
  376. package/dist/node_modules/antd/es/date-picker/generatePicker/SuffixIcon.js.map +0 -1
@@ -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,QA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eAAerF;AAAA,IACrB,GAAOmF,GAAiBL,GAAiBM,CAAc;AAAA,EACrD;AACA,SAAON;AACT,CAAC,GACKQ,IAAmB7B,GAEnB8B,KAAkB,CAAA1F,MAAuB,gBAAAD,EAAM,cAAc4F,IAAgB;AAAA,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,I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5F,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,57 +1,58 @@
1
1
  import { unit as e } from "../../../../@ant-design/cssinjs/es/util/index.js";
2
- import { genPlaceholderStyle as E, genBasicInputStyle as H } from "../../input/style/index.js";
3
- import { genBorderlessStyle as W, genUnderlinedStyle as T, genFilledStyle as A, genOutlinedStyle as F } from "../../input/style/variants.js";
4
- import { resetComponent as p, resetIcon as M } from "../../style/index.js";
5
- import { genCompactItemStyle as G } from "../../style/compact-item.js";
6
- import { genStyleHooks as L } from "../../theme/util/genStyleUtils.js";
7
- import { prepareComponentToken as R } from "./token.js";
8
- import { merge as D } from "../../../../@ant-design/cssinjs-utils/es/util/statistic.js";
9
- import { initInputToken as N } from "../../input/style/token.js";
10
- const O = (i) => {
2
+ import { genPlaceholderStyle as T, genBasicInputStyle as A } from "../../input/style/index.js";
3
+ import { genBorderlessStyle as F, genUnderlinedStyle as M, genFilledStyle as R, genOutlinedStyle as G } from "../../input/style/variants.js";
4
+ import { resetComponent as s, resetIcon as L } from "../../style/index.js";
5
+ import { genCompactItemStyle as N } from "../../style/compact-item.js";
6
+ import { genStyleHooks as D, genCssVar as O } from "../../theme/util/genStyleUtils.js";
7
+ import { prepareComponentToken as P } from "./token.js";
8
+ import { merge as V } from "../../../../@ant-design/cssinjs-utils/es/util/statistic.js";
9
+ import { initInputToken as j } from "../../input/style/token.js";
10
+ const U = (i) => {
11
11
  const {
12
12
  componentCls: n,
13
- lineWidth: r,
14
- lineType: c,
15
- borderRadius: l,
16
- inputFontSizeSM: u,
17
- inputFontSizeLG: s,
18
- colorError: g,
19
- paddingInlineSM: h,
20
- paddingBlockSM: m,
13
+ lineWidth: l,
14
+ lineType: u,
15
+ borderRadius: p,
16
+ inputFontSizeSM: g,
17
+ inputFontSizeLG: h,
18
+ colorError: m,
19
+ paddingInlineSM: f,
20
+ paddingBlockSM: $,
21
21
  paddingBlockLG: b,
22
- paddingInlineLG: f,
23
- colorIcon: $,
24
- motionDurationMid: o,
25
- handleHoverColor: S,
26
- handleOpacity: y,
27
- paddingInline: I,
28
- paddingBlock: w,
22
+ paddingInlineLG: S,
23
+ colorIcon: y,
24
+ motionDurationMid: r,
25
+ handleHoverColor: I,
26
+ handleOpacity: w,
27
+ paddingInline: x,
28
+ paddingBlock: B,
29
29
  handleBg: d,
30
- handleActiveBg: x,
31
- inputAffixPadding: a,
32
- borderRadiusSM: B,
33
- controlWidth: v,
34
- handleBorderColor: k,
35
- filledHandleBg: C,
36
- lineHeightLG: z
37
- } = i, t = `${e(r)} ${c} ${k}`;
30
+ handleActiveBg: v,
31
+ inputAffixPadding: c,
32
+ borderRadiusSM: C,
33
+ controlWidth: k,
34
+ handleBorderColor: z,
35
+ filledHandleBg: E,
36
+ lineHeightLG: H,
37
+ antCls: W
38
+ } = i, t = `${e(l)} ${u} ${z}`, [o, a] = O(W, "input-number");
38
39
  return [
39
40
  // ==========================================================
40
41
  // == Base ==
41
42
  // ==========================================================
42
43
  {
43
44
  [n]: {
44
- ...p(i),
45
- ...H(i),
46
- "--input-number-input-padding-block": e(w),
47
- "--input-number-input-padding-inline": e(I),
45
+ ...s(i),
46
+ ...A(i),
47
+ [o("input-padding-block")]: e(B),
48
+ [o("input-padding-inline")]: e(x),
48
49
  display: "inline-flex",
49
- width: v,
50
+ width: k,
50
51
  margin: 0,
51
52
  paddingBlock: 0,
52
- borderRadius: l,
53
+ borderRadius: p,
53
54
  // ======================= Variants =======================
54
- ...F(i, {
55
+ ...G(i, {
55
56
  [`${n}-actions`]: {
56
57
  background: d,
57
58
  [`${n}-action-down`]: {
@@ -59,9 +60,9 @@ const O = (i) => {
59
60
  }
60
61
  }
61
62
  }),
62
- ...A(i, {
63
+ ...R(i, {
63
64
  [`${n}-actions`]: {
64
- background: C,
65
+ background: E,
65
66
  [`${n}-action-down`]: {
66
67
  borderBlockStart: t
67
68
  }
@@ -72,7 +73,7 @@ const O = (i) => {
72
73
  }
73
74
  }
74
75
  }),
75
- ...T(i, {
76
+ ...M(i, {
76
77
  [`${n}-actions`]: {
77
78
  background: d,
78
79
  [`${n}-action-down`]: {
@@ -80,7 +81,7 @@ const O = (i) => {
80
81
  }
81
82
  }
82
83
  }),
83
- ...W(i),
84
+ ...F(i),
84
85
  // ========================= RTL ==========================
85
86
  "&-rtl": {
86
87
  direction: "rtl",
@@ -91,24 +92,24 @@ const O = (i) => {
91
92
  // ===================== Out Of Range =====================
92
93
  [`&${n}-out-of-range`]: {
93
94
  [`${n}-input`]: {
94
- color: g
95
+ color: m
95
96
  }
96
97
  },
97
98
  // ======================== Input =========================
98
99
  [`${n}-input`]: {
99
- ...p(i),
100
+ ...s(i),
100
101
  width: "100%",
101
- paddingBlock: "var(--input-number-input-padding-block)",
102
+ paddingBlock: a("input-padding-block"),
102
103
  textAlign: "start",
103
104
  backgroundColor: "transparent",
104
105
  border: 0,
105
- borderRadius: l,
106
+ borderRadius: p,
106
107
  outline: 0,
107
- transition: `all ${o} linear`,
108
+ transition: `all ${r} linear`,
108
109
  appearance: "textfield",
109
110
  fontSize: "inherit",
110
111
  lineHeight: "inherit",
111
- ...E(i.colorTextPlaceholder),
112
+ ...T(i.colorTextPlaceholder),
112
113
  '&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button': {
113
114
  margin: 0,
114
115
  appearance: "none"
@@ -138,20 +139,20 @@ const O = (i) => {
138
139
  cursor: "not-allowed"
139
140
  },
140
141
  [`${n}-action`]: {
141
- ...M(),
142
+ ...L(),
142
143
  userSelect: "none",
143
144
  overflow: "hidden",
144
145
  fontWeight: "bold",
145
146
  lineHeight: 0,
146
147
  textAlign: "center",
147
148
  cursor: "pointer",
148
- transition: `all ${o} linear`,
149
+ transition: `all ${r} linear`,
149
150
  "&:active": {
150
- background: x
151
+ background: v
151
152
  },
152
153
  // Hover
153
154
  "&:hover": {
154
- color: S
155
+ color: I
155
156
  }
156
157
  },
157
158
  // ===================== Input Mode =====================
@@ -162,13 +163,13 @@ const O = (i) => {
162
163
  insetBlockStart: 0,
163
164
  insetInlineEnd: 0,
164
165
  width: i.handleVisibleWidth,
165
- opacity: y,
166
+ opacity: w,
166
167
  height: "100%",
167
168
  borderRadius: 0,
168
169
  display: "flex",
169
170
  flexDirection: "column",
170
171
  alignItems: "stretch",
171
- transition: `all ${o}`,
172
+ transition: `all ${r}`,
172
173
  overflow: "hidden",
173
174
  // Fix input number inside Menu makes icon too large
174
175
  // We arise the selector priority by nest selector here
@@ -188,7 +189,7 @@ const O = (i) => {
188
189
  opacity: 1
189
190
  },
190
191
  [`${n}-action`]: {
191
- color: $,
192
+ color: y,
192
193
  height: "50%",
193
194
  borderInlineStart: t,
194
195
  // Hover
@@ -208,7 +209,7 @@ const O = (i) => {
208
209
  width: "auto",
209
210
  [`${n}-action`]: {
210
211
  flex: "none",
211
- paddingInline: "var(--input-number-input-padding-inline)",
212
+ paddingInline: a("input-padding-inline"),
212
213
  "&-up": {
213
214
  borderInlineStart: t
214
215
  },
@@ -218,7 +219,7 @@ const O = (i) => {
218
219
  },
219
220
  [`${n}-input`]: {
220
221
  textAlign: "center",
221
- paddingInline: "var(--input-number-input-padding-inline)"
222
+ paddingInline: a("input-padding-inline")
222
223
  }
223
224
  }
224
225
  }
@@ -229,18 +230,18 @@ const O = (i) => {
229
230
  {
230
231
  [n]: {
231
232
  "&-lg": {
232
- "--input-number-input-padding-block": e(b),
233
- "--input-number-input-padding-inline": e(f),
233
+ [o("input-padding-block")]: e(b),
234
+ [o("input-padding-inline")]: e(S),
234
235
  paddingBlock: 0,
235
- fontSize: s,
236
- lineHeight: z
236
+ fontSize: h,
237
+ lineHeight: H
237
238
  },
238
239
  "&-sm": {
239
- "--input-number-input-padding-block": e(m),
240
- "--input-number-input-padding-inline": e(h),
240
+ [o("input-padding-block")]: e($),
241
+ [o("input-padding-inline")]: e(f),
241
242
  paddingBlock: 0,
242
- fontSize: u,
243
- borderRadius: B
243
+ fontSize: g,
244
+ borderRadius: C
244
245
  }
245
246
  }
246
247
  },
@@ -257,12 +258,12 @@ const O = (i) => {
257
258
  pointerEvents: "none"
258
259
  },
259
260
  [`${n}-prefix`]: {
260
- marginInlineEnd: a
261
+ marginInlineEnd: c
261
262
  },
262
263
  [`${n}-suffix`]: {
263
264
  height: "100%",
264
- marginInlineStart: a,
265
- transition: `margin ${o}`
265
+ marginInlineStart: c,
266
+ transition: `margin ${r}`
266
267
  },
267
268
  [`&:hover:not(${n}-without-controls)`]: {
268
269
  [`${n}-suffix`]: {
@@ -272,36 +273,36 @@ const O = (i) => {
272
273
  }
273
274
  }
274
275
  ];
275
- }, P = (i) => {
276
+ }, q = (i) => {
276
277
  const {
277
278
  componentCls: n,
278
- antCls: r
279
+ antCls: l
279
280
  } = i;
280
281
  return {
281
282
  [`${n}-addon`]: {
282
- [`&:has(${r}-select)`]: {
283
+ [`&:has(${l}-select)`]: {
283
284
  border: 0,
284
285
  padding: 0
285
286
  }
286
287
  }
287
288
  };
288
- }, Z = L("InputNumber", (i) => {
289
- const n = D(i, N(i));
289
+ }, tn = D("InputNumber", (i) => {
290
+ const n = V(i, j(i));
290
291
  return [
291
- O(n),
292
- P(n),
292
+ U(n),
293
+ q(n),
293
294
  // =====================================================
294
295
  // == Space Compact ==
295
296
  // =====================================================
296
- G(n)
297
+ N(n)
297
298
  ];
298
- }, R, {
299
+ }, P, {
299
300
  unitless: {
300
301
  handleOpacity: !0
301
302
  },
302
303
  resetFont: !1
303
304
  });
304
305
  export {
305
- Z as default
306
+ tn as default
306
307
  };
307
308
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/input-number/style/index.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { genBasicInputStyle, genPlaceholderStyle, initInputToken } from '../../input/style';\nimport { genBorderlessStyle, genFilledStyle, genOutlinedStyle, genUnderlinedStyle } from '../../input/style/variants';\nimport { resetComponent, resetIcon } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport { prepareComponentToken } from './token';\nconst genInputNumberStyles = token => {\n const {\n componentCls,\n lineWidth,\n lineType,\n borderRadius,\n inputFontSizeSM,\n inputFontSizeLG,\n colorError,\n paddingInlineSM,\n paddingBlockSM,\n paddingBlockLG,\n paddingInlineLG,\n colorIcon,\n motionDurationMid,\n handleHoverColor,\n handleOpacity,\n paddingInline,\n paddingBlock,\n handleBg,\n handleActiveBg,\n inputAffixPadding,\n borderRadiusSM,\n controlWidth,\n handleBorderColor,\n filledHandleBg,\n lineHeightLG\n } = token;\n const borderStyle = `${unit(lineWidth)} ${lineType} ${handleBorderColor}`;\n return [\n // ==========================================================\n // == Base ==\n // ==========================================================\n {\n [componentCls]: {\n ...resetComponent(token),\n ...genBasicInputStyle(token),\n '--input-number-input-padding-block': unit(paddingBlock),\n '--input-number-input-padding-inline': unit(paddingInline),\n display: 'inline-flex',\n width: controlWidth,\n margin: 0,\n paddingBlock: 0,\n borderRadius,\n // ======================= Variants =======================\n ...genOutlinedStyle(token, {\n [`${componentCls}-actions`]: {\n background: handleBg,\n [`${componentCls}-action-down`]: {\n borderBlockStart: borderStyle\n }\n }\n }),\n ...genFilledStyle(token, {\n [`${componentCls}-actions`]: {\n background: filledHandleBg,\n [`${componentCls}-action-down`]: {\n borderBlockStart: borderStyle\n }\n },\n '&:focus-within': {\n [`${componentCls}-actions`]: {\n background: handleBg\n }\n }\n }),\n ...genUnderlinedStyle(token, {\n [`${componentCls}-actions`]: {\n background: handleBg,\n [`${componentCls}-action-down`]: {\n borderBlockStart: borderStyle\n }\n }\n }),\n ...genBorderlessStyle(token),\n // ========================= RTL ==========================\n '&-rtl': {\n direction: 'rtl',\n [`${componentCls}-input`]: {\n direction: 'rtl'\n }\n },\n // ===================== Out Of Range =====================\n [`&${componentCls}-out-of-range`]: {\n [`${componentCls}-input`]: {\n color: colorError\n }\n },\n // ======================== Input =========================\n [`${componentCls}-input`]: {\n ...resetComponent(token),\n width: '100%',\n paddingBlock: `var(--input-number-input-padding-block)`,\n textAlign: 'start',\n backgroundColor: 'transparent',\n border: 0,\n borderRadius,\n outline: 0,\n transition: `all ${motionDurationMid} linear`,\n appearance: 'textfield',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n ...genPlaceholderStyle(token.colorTextPlaceholder),\n '&[type=\"number\"]::-webkit-inner-spin-button, &[type=\"number\"]::-webkit-outer-spin-button': {\n margin: 0,\n appearance: 'none'\n }\n },\n [`&:hover ${componentCls}-handler-wrap, &-focused ${componentCls}-handler-wrap`]: {\n width: token.handleWidth,\n opacity: 1\n },\n // ======================= Disabled =======================\n [`&-disabled ${componentCls}-input`]: {\n cursor: 'not-allowed',\n color: token.colorTextDisabled\n }\n }\n },\n // ==========================================================\n // == Action ==\n // ==========================================================\n {\n [componentCls]: {\n // ======================= Shared =======================\n [`\n ${componentCls}-action-up-disabled,\n ${componentCls}-action-down-disabled\n `]: {\n cursor: 'not-allowed'\n },\n [`${componentCls}-action`]: {\n ...resetIcon(),\n userSelect: 'none',\n overflow: 'hidden',\n fontWeight: 'bold',\n lineHeight: 0,\n textAlign: 'center',\n cursor: 'pointer',\n transition: `all ${motionDurationMid} linear`,\n '&:active': {\n background: handleActiveBg\n },\n // Hover\n '&:hover': {\n color: handleHoverColor\n }\n },\n // ===================== Input Mode =====================\n '&-mode-input': {\n overflow: 'hidden',\n [`${componentCls}-actions`]: {\n position: 'absolute',\n insetBlockStart: 0,\n insetInlineEnd: 0,\n width: token.handleVisibleWidth,\n opacity: handleOpacity,\n height: '100%',\n borderRadius: 0,\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'stretch',\n transition: `all ${motionDurationMid}`,\n overflow: 'hidden',\n // Fix input number inside Menu makes icon too large\n // We arise the selector priority by nest selector here\n // https://github.com/ant-design/ant-design/issues/14367\n [`${componentCls}-action`]: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flex: 'auto',\n height: '40%',\n marginInlineEnd: 0,\n fontSize: token.handleFontSize\n }\n },\n [`&:hover ${componentCls}-actions, &-focused ${componentCls}-actions`]: {\n width: token.handleWidth,\n opacity: 1\n },\n [`${componentCls}-action`]: {\n color: colorIcon,\n height: '50%',\n borderInlineStart: borderStyle,\n // Hover\n '&:hover': {\n height: `60%`\n }\n },\n [`&${componentCls}-disabled, &${componentCls}-readonly`]: {\n [`${componentCls}-actions`]: {\n display: 'none'\n }\n }\n },\n // ==================== Spinner Mode ====================\n [`&${componentCls}-mode-spinner`]: {\n padding: 0,\n width: 'auto',\n [`${componentCls}-action`]: {\n flex: 'none',\n paddingInline: 'var(--input-number-input-padding-inline)',\n '&-up': {\n borderInlineStart: borderStyle\n },\n '&-down': {\n borderInlineEnd: borderStyle\n }\n },\n [`${componentCls}-input`]: {\n textAlign: 'center',\n paddingInline: 'var(--input-number-input-padding-inline)'\n }\n }\n }\n },\n // ==========================================================\n // == Size ==\n // ==========================================================\n {\n [componentCls]: {\n '&-lg': {\n '--input-number-input-padding-block': unit(paddingBlockLG),\n '--input-number-input-padding-inline': unit(paddingInlineLG),\n paddingBlock: 0,\n fontSize: inputFontSizeLG,\n lineHeight: lineHeightLG\n },\n '&-sm': {\n '--input-number-input-padding-block': unit(paddingBlockSM),\n '--input-number-input-padding-inline': unit(paddingInlineSM),\n paddingBlock: 0,\n fontSize: inputFontSizeSM,\n borderRadius: borderRadiusSM\n }\n }\n },\n // ==========================================================\n // == Pre/Suffix ==\n // ==========================================================\n {\n [componentCls]: {\n [`${componentCls}-prefix, ${componentCls}-suffix`]: {\n display: 'flex',\n flex: 'none',\n alignItems: 'center',\n alignSelf: 'center',\n pointerEvents: 'none'\n },\n [`${componentCls}-prefix`]: {\n marginInlineEnd: inputAffixPadding\n },\n [`${componentCls}-suffix`]: {\n height: '100%',\n marginInlineStart: inputAffixPadding,\n transition: `margin ${motionDurationMid}`\n },\n [`&:hover:not(${componentCls}-without-controls)`]: {\n [`${componentCls}-suffix`]: {\n marginInlineEnd: token.handleWidth\n }\n }\n }\n }];\n};\nconst genCompatibleStyles = token => {\n const {\n componentCls,\n antCls\n } = token;\n return {\n [`${componentCls}-addon`]: {\n [`&:has(${antCls}-select)`]: {\n border: 0,\n padding: 0\n }\n }\n };\n};\nexport default genStyleHooks('InputNumber', token => {\n const inputNumberToken = mergeToken(token, initInputToken(token));\n return [genInputNumberStyles(inputNumberToken), genCompatibleStyles(inputNumberToken),\n // =====================================================\n // == Space Compact ==\n // =====================================================\n genCompactItemStyle(inputNumberToken)];\n}, prepareComponentToken, {\n unitless: {\n handleOpacity: true\n },\n resetFont: false\n});"],"names":["genInputNumberStyles","token","componentCls","lineWidth","lineType","borderRadius","inputFontSizeSM","inputFontSizeLG","colorError","paddingInlineSM","paddingBlockSM","paddingBlockLG","paddingInlineLG","colorIcon","motionDurationMid","handleHoverColor","handleOpacity","paddingInline","paddingBlock","handleBg","handleActiveBg","inputAffixPadding","borderRadiusSM","controlWidth","handleBorderColor","filledHandleBg","lineHeightLG","borderStyle","unit","resetComponent","genBasicInputStyle","genOutlinedStyle","genFilledStyle","genUnderlinedStyle","genBorderlessStyle","genPlaceholderStyle","resetIcon","genCompatibleStyles","antCls","useStyle","genStyleHooks","inputNumberToken","mergeToken","initInputToken","genCompactItemStyle","prepareComponentToken"],"mappings":";;;;;;;;;AAOA,MAAMA,IAAuB,CAAAC,MAAS;AACpC,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,kBAAAC;A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UACR,mBAAmBmB;AAAA,UACnB,YAAY,UAAUP,CAAiB;AAAA,QAC/C;AAAA,QACM,CAAC,eAAeZ,CAAY,oBAAoB,GAAG;AAAA,UACjD,CAAC,GAAGA,CAAY,SAAS,GAAG;AAAA,YAC1B,iBAAiBD,EAAM;AAAA,UACjC;AAAA,QACA;AAAA,MACA;AAAA,IACA;AAAA,EAAG;AACH,GACMoC,IAAsB,CAAApC,MAAS;AACnC,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,QAAAoC;AAAA,EACJ,IAAMrC;AACJ,SAAO;AAAA,IACL,CAAC,GAAGC,CAAY,QAAQ,GAAG;AAAA,MACzB,CAAC,SAASoC,CAAM,UAAU,GAAG;AAAA,QAC3B,QAAQ;AAAA,QACR,SAAS;AAAA,MACjB;AAAA,IACA;AAAA,EACA;AACA,GACAC,IAAeC,EAAc,eAAe,CAAAvC,MAAS;AACnD,QAAMwC,IAAmBC,EAAWzC,GAAO0C,EAAe1C,CAAK,CAAC;AAChE,SAAO;AAAA,IAACD,EAAqByC,CAAgB;AAAA,IAAGJ,EAAoBI,CAAgB;AAAA;AAAA;AAAA;AAAA,IAIpFG,EAAoBH,CAAgB;AAAA,EAAC;AACvC,GAAGI,GAAuB;AAAA,EACxB,UAAU;AAAA,IACR,eAAe;AAAA,EACnB;AAAA,EACE,WAAW;AACb,CAAC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/input-number/style/index.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { genBasicInputStyle, genPlaceholderStyle, initInputToken } from '../../input/style';\nimport { genBorderlessStyle, genFilledStyle, genOutlinedStyle, genUnderlinedStyle } from '../../input/style/variants';\nimport { resetComponent, resetIcon } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport { genCssVar } from '../../theme/util/genStyleUtils';\nimport { prepareComponentToken } from './token';\nconst genInputNumberStyles = token => {\n const {\n componentCls,\n lineWidth,\n lineType,\n borderRadius,\n inputFontSizeSM,\n inputFontSizeLG,\n colorError,\n paddingInlineSM,\n paddingBlockSM,\n paddingBlockLG,\n paddingInlineLG,\n colorIcon,\n motionDurationMid,\n handleHoverColor,\n handleOpacity,\n paddingInline,\n paddingBlock,\n handleBg,\n handleActiveBg,\n inputAffixPadding,\n borderRadiusSM,\n controlWidth,\n handleBorderColor,\n filledHandleBg,\n lineHeightLG,\n antCls\n } = token;\n const borderStyle = `${unit(lineWidth)} ${lineType} ${handleBorderColor}`;\n const [varName, varRef] = genCssVar(antCls, 'input-number');\n return [\n // ==========================================================\n // == Base ==\n // ==========================================================\n {\n [componentCls]: {\n ...resetComponent(token),\n ...genBasicInputStyle(token),\n [varName('input-padding-block')]: unit(paddingBlock),\n [varName('input-padding-inline')]: unit(paddingInline),\n display: 'inline-flex',\n width: controlWidth,\n margin: 0,\n paddingBlock: 0,\n borderRadius,\n // ======================= Variants =======================\n ...genOutlinedStyle(token, {\n [`${componentCls}-actions`]: {\n background: handleBg,\n [`${componentCls}-action-down`]: {\n borderBlockStart: borderStyle\n }\n }\n }),\n ...genFilledStyle(token, {\n [`${componentCls}-actions`]: {\n background: filledHandleBg,\n [`${componentCls}-action-down`]: {\n borderBlockStart: borderStyle\n }\n },\n '&:focus-within': {\n [`${componentCls}-actions`]: {\n background: handleBg\n }\n }\n }),\n ...genUnderlinedStyle(token, {\n [`${componentCls}-actions`]: {\n background: handleBg,\n [`${componentCls}-action-down`]: {\n borderBlockStart: borderStyle\n }\n }\n }),\n ...genBorderlessStyle(token),\n // ========================= RTL ==========================\n '&-rtl': {\n direction: 'rtl',\n [`${componentCls}-input`]: {\n direction: 'rtl'\n }\n },\n // ===================== Out Of Range =====================\n [`&${componentCls}-out-of-range`]: {\n [`${componentCls}-input`]: {\n color: colorError\n }\n },\n // ======================== Input =========================\n [`${componentCls}-input`]: {\n ...resetComponent(token),\n width: '100%',\n paddingBlock: varRef('input-padding-block'),\n textAlign: 'start',\n backgroundColor: 'transparent',\n border: 0,\n borderRadius,\n outline: 0,\n transition: `all ${motionDurationMid} linear`,\n appearance: 'textfield',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n ...genPlaceholderStyle(token.colorTextPlaceholder),\n '&[type=\"number\"]::-webkit-inner-spin-button, &[type=\"number\"]::-webkit-outer-spin-button': {\n margin: 0,\n appearance: 'none'\n }\n },\n [`&:hover ${componentCls}-handler-wrap, &-focused ${componentCls}-handler-wrap`]: {\n width: token.handleWidth,\n opacity: 1\n },\n // ======================= Disabled =======================\n [`&-disabled ${componentCls}-input`]: {\n cursor: 'not-allowed',\n color: token.colorTextDisabled\n }\n }\n },\n // ==========================================================\n // == Action ==\n // ==========================================================\n {\n [componentCls]: {\n // ======================= Shared =======================\n [`\n ${componentCls}-action-up-disabled,\n ${componentCls}-action-down-disabled\n `]: {\n cursor: 'not-allowed'\n },\n [`${componentCls}-action`]: {\n ...resetIcon(),\n userSelect: 'none',\n overflow: 'hidden',\n fontWeight: 'bold',\n lineHeight: 0,\n textAlign: 'center',\n cursor: 'pointer',\n transition: `all ${motionDurationMid} linear`,\n '&:active': {\n background: handleActiveBg\n },\n // Hover\n '&:hover': {\n color: handleHoverColor\n }\n },\n // ===================== Input Mode =====================\n '&-mode-input': {\n overflow: 'hidden',\n [`${componentCls}-actions`]: {\n position: 'absolute',\n insetBlockStart: 0,\n insetInlineEnd: 0,\n width: token.handleVisibleWidth,\n opacity: handleOpacity,\n height: '100%',\n borderRadius: 0,\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'stretch',\n transition: `all ${motionDurationMid}`,\n overflow: 'hidden',\n // Fix input number inside Menu makes icon too large\n // We arise the selector priority by nest selector here\n // https://github.com/ant-design/ant-design/issues/14367\n [`${componentCls}-action`]: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flex: 'auto',\n height: '40%',\n marginInlineEnd: 0,\n fontSize: token.handleFontSize\n }\n },\n [`&:hover ${componentCls}-actions, &-focused ${componentCls}-actions`]: {\n width: token.handleWidth,\n opacity: 1\n },\n [`${componentCls}-action`]: {\n color: colorIcon,\n height: '50%',\n borderInlineStart: borderStyle,\n // Hover\n '&:hover': {\n height: `60%`\n }\n },\n [`&${componentCls}-disabled, &${componentCls}-readonly`]: {\n [`${componentCls}-actions`]: {\n display: 'none'\n }\n }\n },\n // ==================== Spinner Mode ====================\n [`&${componentCls}-mode-spinner`]: {\n padding: 0,\n width: 'auto',\n [`${componentCls}-action`]: {\n flex: 'none',\n paddingInline: varRef('input-padding-inline'),\n '&-up': {\n borderInlineStart: borderStyle\n },\n '&-down': {\n borderInlineEnd: borderStyle\n }\n },\n [`${componentCls}-input`]: {\n textAlign: 'center',\n paddingInline: varRef('input-padding-inline')\n }\n }\n }\n },\n // ==========================================================\n // == Size ==\n // ==========================================================\n {\n [componentCls]: {\n '&-lg': {\n [varName('input-padding-block')]: unit(paddingBlockLG),\n [varName('input-padding-inline')]: unit(paddingInlineLG),\n paddingBlock: 0,\n fontSize: inputFontSizeLG,\n lineHeight: lineHeightLG\n },\n '&-sm': {\n [varName('input-padding-block')]: unit(paddingBlockSM),\n [varName('input-padding-inline')]: unit(paddingInlineSM),\n paddingBlock: 0,\n fontSize: inputFontSizeSM,\n borderRadius: borderRadiusSM\n }\n }\n },\n // ==========================================================\n // == Pre/Suffix ==\n // ==========================================================\n {\n [componentCls]: {\n [`${componentCls}-prefix, ${componentCls}-suffix`]: {\n display: 'flex',\n flex: 'none',\n alignItems: 'center',\n alignSelf: 'center',\n pointerEvents: 'none'\n },\n [`${componentCls}-prefix`]: {\n marginInlineEnd: inputAffixPadding\n },\n [`${componentCls}-suffix`]: {\n height: '100%',\n marginInlineStart: inputAffixPadding,\n transition: `margin ${motionDurationMid}`\n },\n [`&:hover:not(${componentCls}-without-controls)`]: {\n [`${componentCls}-suffix`]: {\n marginInlineEnd: token.handleWidth\n }\n }\n }\n }];\n};\nconst genCompatibleStyles = token => {\n const {\n componentCls,\n antCls\n } = token;\n return {\n [`${componentCls}-addon`]: {\n [`&:has(${antCls}-select)`]: {\n border: 0,\n padding: 0\n }\n }\n };\n};\nexport default genStyleHooks('InputNumber', token => {\n const inputNumberToken = mergeToken(token, initInputToken(token));\n return [genInputNumberStyles(inputNumberToken), genCompatibleStyles(inputNumberToken),\n // =====================================================\n // == Space Compact ==\n // =====================================================\n genCompactItemStyle(inputNumberToken)];\n}, prepareComponentToken, {\n unitless: {\n handleOpacity: true\n },\n resetFont: false\n});"],"names":["genInputNumberStyles","token","componentCls","lineWidth","lineType","borderRadius","inputFontSizeSM","inputFontSizeLG","colorError","paddingInlineSM","paddingBlockSM","paddingBlockLG","paddingInlineLG","colorIcon","motionDurationMid","handleHoverColor","handleOpacity","paddingInline","paddingBlock","handleBg","handleActiveBg","inputAffixPadding","borderRadiusSM","controlWidth","handleBorderColor","filledHandleBg","lineHeightLG","antCls","borderStyle","unit","varName","varRef","genCssVar","resetComponent","genBasicInputStyle","genOutlinedStyle","genFilledStyle","genUnderlinedStyle","genBorderlessStyle","genPlaceholderStyle","resetIcon","genCompatibleStyles","useStyle","genStyleHooks","inputNumberToken","mergeToken","initInputToken","genCompactItemStyle","prepareComponentToken"],"mappings":";;;;;;;;;AAQA,MAAMA,IAAuB,CAAAC,MAAS;AACpC,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,WAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,eAAAC;AAAA,IACA,eAAAC;AAAA,IACA,cAAAC;AAAA,IACA,UAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC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Y,SAAS,GAAG;AAAA,UAC1B,iBAAiBmB;AAAA,QACzB;AAAA,QACM,CAAC,GAAGnB,CAAY,SAAS,GAAG;AAAA,UAC1B,QAAQ;AAAA,UACR,mBAAmBmB;AAAA,UACnB,YAAY,UAAUP,CAAiB;AAAA,QAC/C;AAAA,QACM,CAAC,eAAeZ,CAAY,oBAAoB,GAAG;AAAA,UACjD,CAAC,GAAGA,CAAY,SAAS,GAAG;AAAA,YAC1B,iBAAiBD,EAAM;AAAA,UACjC;AAAA,QACA;AAAA,MACA;AAAA,IACA;AAAA,EAAG;AACH,GACMwC,IAAsB,CAAAxC,MAAS;AACnC,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,QAAAyB;AAAA,EACJ,IAAM1B;AACJ,SAAO;AAAA,IACL,CAAC,GAAGC,CAAY,QAAQ,GAAG;AAAA,MACzB,CAAC,SAASyB,CAAM,UAAU,GAAG;AAAA,QAC3B,QAAQ;AAAA,QACR,SAAS;AAAA,MACjB;AAAA,IACA;AAAA,EACA;AACA,GACAe,KAAeC,EAAc,eAAe,CAAA1C,MAAS;AACnD,QAAM2C,IAAmBC,EAAW5C,GAAO6C,EAAe7C,CAAK,CAAC;AAChE,SAAO;AAAA,IAACD,EAAqB4C,CAAgB;AAAA,IAAGH,EAAoBG,CAAgB;AAAA;AAAA;AAAA;AAAA,IAIpFG,EAAoBH,CAAgB;AAAA,EAAC;AACvC,GAAGI,GAAuB;AAAA,EACxB,UAAU;AAAA,IACR,eAAe;AAAA,EACnB;AAAA,EACE,WAAW;AACb,CAAC;","x_google_ignoreList":[0]}
@@ -108,7 +108,6 @@ const I = {
108
108
  });
109
109
  Z.env.NODE_ENV !== "production" && (ae.displayName = "Sider");
110
110
  export {
111
- le as SiderContext,
112
- ae as default
111
+ le as SiderContext
113
112
  };
114
113
  //# sourceMappingURL=Sider.js.map
@@ -1,7 +1,7 @@
1
1
  import { unit as e } from "../../../../@ant-design/cssinjs/es/util/index.js";
2
2
  import { prepareComponentToken as f, DEPRECATED_TOKENS as S } from "./index.js";
3
3
  import { genStyleHooks as k } from "../../theme/util/genStyleUtils.js";
4
- const T = (t) => {
4
+ const T = (o) => {
5
5
  const {
6
6
  componentCls: r,
7
7
  siderBg: g,
@@ -14,12 +14,12 @@ const T = (t) => {
14
14
  headerHeight: p,
15
15
  zeroTriggerWidth: n,
16
16
  zeroTriggerHeight: b,
17
- borderRadiusLG: o,
17
+ borderRadiusLG: t,
18
18
  lightSiderBg: m,
19
19
  lightTriggerColor: c,
20
20
  lightTriggerBg: u,
21
21
  bodyBg: $
22
- } = t;
22
+ } = o;
23
23
  return {
24
24
  [r]: {
25
25
  position: "relative",
@@ -62,19 +62,19 @@ const T = (t) => {
62
62
  [`${r}-zero-width-trigger`]: {
63
63
  position: "absolute",
64
64
  top: p,
65
- insetInlineEnd: t.calc(n).mul(-1).equal(),
65
+ insetInlineEnd: o.calc(n).mul(-1).equal(),
66
66
  zIndex: 1,
67
67
  width: n,
68
68
  height: b,
69
69
  color: s,
70
- fontSize: t.fontSizeXL,
70
+ fontSize: o.fontSizeXL,
71
71
  display: "flex",
72
72
  alignItems: "center",
73
73
  justifyContent: "center",
74
74
  background: g,
75
- borderRadius: `0 ${e(o)} ${e(o)} 0`,
75
+ borderRadius: `0 ${e(t)} ${e(t)} 0`,
76
76
  cursor: "pointer",
77
- transition: `background ${d} ease`,
77
+ transition: `background-color ${d} ease`,
78
78
  "&::after": {
79
79
  position: "absolute",
80
80
  inset: 0,
@@ -86,8 +86,8 @@ const T = (t) => {
86
86
  background: "rgba(255, 255, 255, 0.2)"
87
87
  },
88
88
  "&-right": {
89
- insetInlineStart: t.calc(n).mul(-1).equal(),
90
- borderRadius: `${e(o)} 0 0 ${e(o)}`
89
+ insetInlineStart: o.calc(n).mul(-1).equal(),
90
+ borderRadius: `${e(t)} 0 0 ${e(t)}`
91
91
  }
92
92
  },
93
93
  // Light
@@ -1 +1 @@
1
- {"version":3,"file":"sider.js","sources":["../../../../../../node_modules/antd/es/layout/style/sider.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { DEPRECATED_TOKENS, prepareComponentToken } from '.';\nimport { genStyleHooks } from '../../theme/internal';\nconst genSiderStyle = token => {\n const {\n componentCls,\n siderBg,\n motionDurationMid,\n motionDurationSlow,\n antCls,\n triggerHeight,\n triggerColor,\n triggerBg,\n headerHeight,\n zeroTriggerWidth,\n zeroTriggerHeight,\n borderRadiusLG,\n lightSiderBg,\n lightTriggerColor,\n lightTriggerBg,\n bodyBg\n } = token;\n return {\n [componentCls]: {\n position: 'relative',\n // fix firefox can't set width smaller than content on flex item\n minWidth: 0,\n background: siderBg,\n transition: `all ${motionDurationMid}, background 0s`,\n '&-has-trigger': {\n paddingBottom: triggerHeight\n },\n '&-right': {\n order: 1\n },\n [`${componentCls}-children`]: {\n height: '100%',\n // Hack for fixing margin collapse bug\n // https://github.com/ant-design/ant-design/issues/7967\n // solution from https://stackoverflow.com/a/33132624/3040605\n marginTop: -0.1,\n paddingTop: 0.1,\n [`${antCls}-menu${antCls}-menu-inline-collapsed`]: {\n width: 'auto'\n }\n },\n [`&-zero-width ${componentCls}-children`]: {\n overflow: 'hidden'\n },\n [`${componentCls}-trigger`]: {\n position: 'fixed',\n bottom: 0,\n zIndex: 1,\n height: triggerHeight,\n color: triggerColor,\n lineHeight: unit(triggerHeight),\n textAlign: 'center',\n background: triggerBg,\n cursor: 'pointer',\n transition: `all ${motionDurationMid}`\n },\n [`${componentCls}-zero-width-trigger`]: {\n position: 'absolute',\n top: headerHeight,\n insetInlineEnd: token.calc(zeroTriggerWidth).mul(-1).equal(),\n zIndex: 1,\n width: zeroTriggerWidth,\n height: zeroTriggerHeight,\n color: triggerColor,\n fontSize: token.fontSizeXL,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n background: siderBg,\n borderRadius: `0 ${unit(borderRadiusLG)} ${unit(borderRadiusLG)} 0`,\n cursor: 'pointer',\n transition: `background ${motionDurationSlow} ease`,\n '&::after': {\n position: 'absolute',\n inset: 0,\n background: 'transparent',\n transition: `all ${motionDurationSlow}`,\n content: '\"\"'\n },\n '&:hover::after': {\n background: `rgba(255, 255, 255, 0.2)`\n },\n '&-right': {\n insetInlineStart: token.calc(zeroTriggerWidth).mul(-1).equal(),\n borderRadius: `${unit(borderRadiusLG)} 0 0 ${unit(borderRadiusLG)}`\n }\n },\n // Light\n '&-light': {\n background: lightSiderBg,\n [`${componentCls}-trigger`]: {\n color: lightTriggerColor,\n background: lightTriggerBg\n },\n [`${componentCls}-zero-width-trigger`]: {\n color: lightTriggerColor,\n background: lightTriggerBg,\n border: `1px solid ${bodyBg}`,\n // Safe to modify to any other color\n borderInlineStart: 0\n }\n }\n }\n };\n};\nexport default genStyleHooks(['Layout', 'Sider'], genSiderStyle, prepareComponentToken, {\n deprecatedTokens: DEPRECATED_TOKENS\n});"],"names":["genSiderStyle","token","componentCls","siderBg","motionDurationMid","motionDurationSlow","antCls","triggerHeight","triggerColor","triggerBg","headerHeight","zeroTriggerWidth","zeroTriggerHeight","borderRadiusLG","lightSiderBg","lightTriggerColor","lightTriggerBg","bodyBg","unit","useStyle","genStyleHooks","prepareComponentToken","DEPRECATED_TOKENS"],"mappings":";;;AAGA,MAAMA,IAAgB,CAAAC,MAAS;AAC7B,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,SAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,QAAAC;AAAA,IACA,eAAAC;AAAA,IACA,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,cAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMhB;AACJ,SAAO;AAAA,IACL,CAACC,CAAY,GAAG;AAAA,MACd,UAAU;AAAA;AAAA,MAEV,UAAU;AAAA,MACV,YAAYC;AAAA,MACZ,YAAY,OAAOC,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AA,QACnB;AAAA,QACQ,kBAAkB;AAAA,UAChB,YAAY;AAAA,QACtB;AAAA,QACQ,WAAW;AAAA,UACT,kBAAkBJ,EAAM,KAAKU,CAAgB,EAAE,IAAI,EAAE,EAAE,MAAK;AAAA,UAC5D,cAAc,GAAGO,EAAKL,CAAc,CAAC,QAAQK,EAAKL,CAAc,CAAC;AAAA,QAC3E;AAAA,MACA;AAAA;AAAA,MAEM,WAAW;AAAA,QACT,YAAYC;AAAA,QACZ,CAAC,GAAGZ,CAAY,UAAU,GAAG;AAAA,UAC3B,OAAOa;AAAA,UACP,YAAYC;AAAA,QACtB;AAAA,QACQ,CAAC,GAAGd,CAAY,qBAAqB,GAAG;AAAA,UACtC,OAAOa;AAAA,UACP,YAAYC;AAAA,UACZ,QAAQ,aAAaC,CAAM;AAAA;AAAA,UAE3B,mBAAmB;AAAA,QAC7B;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA,GACAE,IAAeC,EAAc,CAAC,UAAU,OAAO,GAAGpB,GAAeqB,GAAuB;AAAA,EACtF,kBAAkBC;AACpB,CAAC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sider.js","sources":["../../../../../../node_modules/antd/es/layout/style/sider.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { DEPRECATED_TOKENS, prepareComponentToken } from '.';\nimport { genStyleHooks } from '../../theme/internal';\nconst genSiderStyle = token => {\n const {\n componentCls,\n siderBg,\n motionDurationMid,\n motionDurationSlow,\n antCls,\n triggerHeight,\n triggerColor,\n triggerBg,\n headerHeight,\n zeroTriggerWidth,\n zeroTriggerHeight,\n borderRadiusLG,\n lightSiderBg,\n lightTriggerColor,\n lightTriggerBg,\n bodyBg\n } = token;\n return {\n [componentCls]: {\n position: 'relative',\n // fix firefox can't set width smaller than content on flex item\n minWidth: 0,\n background: siderBg,\n transition: `all ${motionDurationMid}, background 0s`,\n '&-has-trigger': {\n paddingBottom: triggerHeight\n },\n '&-right': {\n order: 1\n },\n [`${componentCls}-children`]: {\n height: '100%',\n // Hack for fixing margin collapse bug\n // https://github.com/ant-design/ant-design/issues/7967\n // solution from https://stackoverflow.com/a/33132624/3040605\n marginTop: -0.1,\n paddingTop: 0.1,\n [`${antCls}-menu${antCls}-menu-inline-collapsed`]: {\n width: 'auto'\n }\n },\n [`&-zero-width ${componentCls}-children`]: {\n overflow: 'hidden'\n },\n [`${componentCls}-trigger`]: {\n position: 'fixed',\n bottom: 0,\n zIndex: 1,\n height: triggerHeight,\n color: triggerColor,\n lineHeight: unit(triggerHeight),\n textAlign: 'center',\n background: triggerBg,\n cursor: 'pointer',\n transition: `all ${motionDurationMid}`\n },\n [`${componentCls}-zero-width-trigger`]: {\n position: 'absolute',\n top: headerHeight,\n insetInlineEnd: token.calc(zeroTriggerWidth).mul(-1).equal(),\n zIndex: 1,\n width: zeroTriggerWidth,\n height: zeroTriggerHeight,\n color: triggerColor,\n fontSize: token.fontSizeXL,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n background: siderBg,\n borderRadius: `0 ${unit(borderRadiusLG)} ${unit(borderRadiusLG)} 0`,\n cursor: 'pointer',\n transition: `background-color ${motionDurationSlow} ease`,\n '&::after': {\n position: 'absolute',\n inset: 0,\n background: 'transparent',\n transition: `all ${motionDurationSlow}`,\n content: '\"\"'\n },\n '&:hover::after': {\n background: `rgba(255, 255, 255, 0.2)`\n },\n '&-right': {\n insetInlineStart: token.calc(zeroTriggerWidth).mul(-1).equal(),\n borderRadius: `${unit(borderRadiusLG)} 0 0 ${unit(borderRadiusLG)}`\n }\n },\n // Light\n '&-light': {\n background: lightSiderBg,\n [`${componentCls}-trigger`]: {\n color: lightTriggerColor,\n background: lightTriggerBg\n },\n [`${componentCls}-zero-width-trigger`]: {\n color: lightTriggerColor,\n background: lightTriggerBg,\n border: `1px solid ${bodyBg}`,\n // Safe to modify to any other color\n borderInlineStart: 0\n }\n }\n }\n };\n};\nexport default genStyleHooks(['Layout', 'Sider'], genSiderStyle, prepareComponentToken, {\n deprecatedTokens: DEPRECATED_TOKENS\n});"],"names":["genSiderStyle","token","componentCls","siderBg","motionDurationMid","motionDurationSlow","antCls","triggerHeight","triggerColor","triggerBg","headerHeight","zeroTriggerWidth","zeroTriggerHeight","borderRadiusLG","lightSiderBg","lightTriggerColor","lightTriggerBg","bodyBg","unit","useStyle","genStyleHooks","prepareComponentToken","DEPRECATED_TOKENS"],"mappings":";;;AAGA,MAAMA,IAAgB,CAAAC,MAAS;AAC7B,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,SAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,QAAAC;AAAA,IACA,eAAAC;AAAA,IACA,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,cAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMhB;AACJ,SAAO;AAAA,IACL,CAACC,CAAY,GAAG;AAAA,MACd,UAAU;AAAA;AAAA,MAEV,UAAU;AAAA,MACV,YAAYC;AAAA,MACZ,YAAY,OAAOC,CAAiB;AAAA,MACpC,iBAAiB;AAAA,QACf,eAAeG;AAAA,MACvB;AAAA,MACM,WAAW;AAAA,QACT,OAAO;AAAA,MACf;AAAA,MACM,CAAC,GAAGL,CAAY,WAAW,GAAG;AAAA,QAC5B,QAAQ;AAAA;AAAA;AAAA;AAAA,QAIR,WAAW;AAAA,QACX,YAAY;AAAA,QACZ,CAAC,GAAGI,CAAM,QAAQA,CAAM,wBAAwB,GAAG;AAAA,UACjD,OAAO;AAAA,QACjB;AAAA,MACA;AAAA,MACM,CAAC,gBAAgBJ,CAAY,WAAW,GAAG;AAAA,QACzC,UAAU;AAAA,MAClB;AAAA,MACM,CAAC,GAAGA,CAAY,UAAU,GAAG;AAAA,QAC3B,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,QAA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aAAaC,CAAM;AAAA;AAAA,UAE3B,mBAAmB;AAAA,QAC7B;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA,GACAE,IAAeC,EAAc,CAAC,UAAU,OAAO,GAAGpB,GAAeqB,GAAuB;AAAA,EACtF,kBAAkBC;AACpB,CAAC;","x_google_ignoreList":[0]}
@@ -26,10 +26,10 @@ const G = (r) => {
26
26
  classNames: o
27
27
  } = i.useContext(w), b = (m) => {
28
28
  const M = t?.[0], $ = /* @__PURE__ */ i.createElement("span", {
29
- className: f(`${n}-title-content`, e ? o.itemContent : o.subMenu.itemContent, {
29
+ className: f(`${n}-title-content`, e ? o?.itemContent : o?.subMenu?.itemContent, {
30
30
  [`${n}-title-content-with-extra`]: !!u || u === 0
31
31
  }),
32
- style: e ? l.itemContent : l.subMenu.itemContent
32
+ style: e ? l?.itemContent : l?.subMenu?.itemContent
33
33
  }, t);
34
34
  return (!a || /* @__PURE__ */ i.isValidElement(t) && t.type === "span") && t && m && e && typeof M == "string" ? /* @__PURE__ */ i.createElement("div", {
35
35
  className: `${n}-inline-collapsed-noicon`
@@ -46,19 +46,19 @@ const G = (r) => {
46
46
  const y = A(t).length;
47
47
  let d = /* @__PURE__ */ i.createElement(L, {
48
48
  ...R(r, ["title", "icon", "danger"]),
49
- className: f(e ? o.item : o.subMenu.item, {
49
+ className: f(e ? o?.item : o?.subMenu?.item, {
50
50
  [`${n}-item-danger`]: h,
51
51
  [`${n}-item-only-child`]: (a ? y + 1 : y) === 1
52
52
  }, N),
53
53
  style: {
54
- ...e ? l.item : l.subMenu.item,
54
+ ...e ? l?.item : l?.subMenu?.item,
55
55
  ...r.style
56
56
  },
57
57
  title: typeof s == "string" ? s : void 0
58
58
  }, E(a, (m) => ({
59
- className: f(`${n}-item-icon`, e ? o.itemIcon : o.subMenu.itemIcon, m.className),
59
+ className: f(`${n}-item-icon`, e ? o?.itemIcon : o?.subMenu?.itemIcon, m.className),
60
60
  style: {
61
- ...e ? l.itemIcon : l.subMenu.itemIcon,
61
+ ...e ? l?.itemIcon : l?.subMenu?.itemIcon,
62
62
  ...m.style
63
63
  }
64
64
  })), b(C));