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/steps/index.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport CheckOutlined from \"@ant-design/icons/es/icons/CheckOutlined\";\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport RcSteps from '@rc-component/steps';\nimport { clsx } from 'clsx';\nimport { useMergeSemantic } from '../_util/hooks';\nimport { devUseWarning } from '../_util/warning';\nimport Wave from '../_util/wave';\nimport { TARGET_CLS } from '../_util/wave/interface';\nimport { useComponentConfig } from '../config-provider/context';\nimport useSize from '../config-provider/hooks/useSize';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport Tooltip from '../tooltip';\nimport { InternalContext } from './context';\nimport PanelArrow from './PanelArrow';\nimport ProgressIcon from './ProgressIcon';\nimport useStyle from './style';\nconst waveEffectClassNames = {\n itemIcon: TARGET_CLS\n};\nconst Steps = props => {\n const {\n // Style\n size,\n className,\n rootClassName,\n style,\n variant = 'filled',\n type,\n classNames,\n styles,\n // Layout\n direction,\n orientation,\n responsive = true,\n progressDot,\n labelPlacement,\n titlePlacement,\n ellipsis,\n offset = 0,\n // Data\n items,\n percent,\n current = 0,\n onChange,\n // Render\n iconRender,\n // MISC\n ...restProps\n } = props;\n const internalContent = React.useContext(InternalContext);\n const contextContent = useComponentConfig('steps');\n const {\n getPrefixCls,\n direction: rtlDirection,\n className: contextClassName,\n style: contextStyle\n } = contextContent;\n let contextClassNames;\n let contextStyles;\n let components = {};\n if (internalContent) {\n components = {\n root: internalContent.rootComponent,\n item: internalContent.itemComponent\n };\n } else {\n ({\n classNames: contextClassNames,\n styles: contextStyles\n } = contextContent);\n }\n const prefixCls = getPrefixCls('steps', props.prefixCls);\n const itemIconCls = `${prefixCls}-item-icon`;\n const [hashId, cssVarCls] = useStyle(prefixCls);\n // ============================= Size =============================\n const mergedSize = useSize(size);\n // ============================= Item =============================\n const mergedItems = React.useMemo(() => (items || []).filter(Boolean), [items]);\n // ============================ Layout ============================\n const {\n xs\n } = useBreakpoint(responsive);\n // Type\n const mergedType = React.useMemo(() => {\n if (type && type !== 'default') {\n return type;\n }\n if (progressDot) {\n return 'dot';\n }\n return type;\n }, [progressDot, type]);\n const isInline = mergedType === 'inline';\n const isDot = mergedType === 'dot' || mergedType === 'inline';\n // Progress Dot Render function\n const legacyProgressDotRender = React.useMemo(() => {\n return mergedType === 'dot' && typeof progressDot === 'function' ? progressDot : undefined;\n }, [mergedType, progressDot]);\n const mergedOrientation = React.useMemo(() => {\n const nextOrientation = orientation || direction;\n if (mergedType === 'panel') {\n return 'horizontal';\n }\n return responsive && xs || nextOrientation === 'vertical' ? 'vertical' : 'horizontal';\n }, [orientation, direction, mergedType, responsive, xs]);\n const mergedTitlePlacement = React.useMemo(() => {\n if (isDot || mergedOrientation === 'vertical') {\n return mergedOrientation === 'vertical' ? 'horizontal' : 'vertical';\n }\n if (type === 'navigation') {\n return 'horizontal';\n }\n return titlePlacement || labelPlacement || 'horizontal';\n }, [isDot, labelPlacement, mergedOrientation, titlePlacement, type]);\n // ========================== Percentage ==========================\n const mergedPercent = isInline ? undefined : percent;\n // =========== Merged Props for Semantic ===========\n const mergedProps = {\n ...props,\n variant,\n size: mergedSize,\n type: mergedType,\n orientation: mergedOrientation,\n titlePlacement: mergedTitlePlacement,\n current,\n percent: mergedPercent,\n responsive,\n offset\n };\n // ============================ Styles ============================\n const [mergedClassNames, mergedStyles] = useMergeSemantic([waveEffectClassNames, contextClassNames, classNames], [contextStyles, styles], {\n props: mergedProps\n });\n // ============================= Icon =============================\n const internalIconRender = (_, info) => {\n const {\n item,\n index,\n active,\n components: {\n Icon: StepIcon\n }\n } = info;\n const {\n status,\n icon\n } = item;\n let iconContent = null;\n if (isDot || icon) {\n iconContent = icon;\n } else {\n switch (status) {\n case 'finish':\n iconContent = /*#__PURE__*/React.createElement(CheckOutlined, {\n className: `${itemIconCls}-finish`\n });\n break;\n case 'error':\n iconContent = /*#__PURE__*/React.createElement(CloseOutlined, {\n className: `${itemIconCls}-error`\n });\n break;\n default:\n {\n let numNode = /*#__PURE__*/React.createElement(\"span\", {\n className: `${itemIconCls}-number`\n }, info.index + 1);\n if (status === 'process' && mergedPercent !== undefined) {\n numNode = /*#__PURE__*/React.createElement(ProgressIcon, {\n prefixCls: prefixCls,\n percent: mergedPercent\n }, numNode);\n }\n iconContent = numNode;\n }\n }\n }\n let iconNode = /*#__PURE__*/React.createElement(StepIcon, null, iconContent);\n // Custom Render Props\n if (iconRender) {\n iconNode = iconRender(iconNode, {\n index,\n active,\n item,\n components: {\n Icon: StepIcon\n }\n });\n } else if (typeof legacyProgressDotRender === 'function') {\n iconNode = legacyProgressDotRender(iconNode, {\n index,\n ...item\n });\n }\n return iconNode;\n };\n // ============================ Custom ============================\n const itemRender = (itemNode, itemInfo) => {\n let content = itemNode;\n if (isInline && itemInfo.item.content) {\n content = /*#__PURE__*/React.createElement(Tooltip, {\n destroyOnHidden: true,\n title: itemInfo.item.content\n }, itemNode);\n }\n return /*#__PURE__*/React.createElement(Wave, {\n component: \"Steps\",\n disabled: itemInfo.item.disabled || !onChange,\n colorSource: variant === 'filled' ? 'color' : null\n }, content);\n };\n const itemWrapperRender = mergedType === 'panel' ? itemNode => {\n return /*#__PURE__*/React.createElement(React.Fragment, null, itemNode, /*#__PURE__*/React.createElement(PanelArrow, {\n prefixCls: prefixCls\n }));\n } : undefined;\n // ============================ Styles ============================\n const mergedStyle = {\n '--steps-items-offset': `${offset}`,\n ...contextStyle,\n ...style\n };\n const stepsClassName = clsx(contextClassName, `${prefixCls}-${variant}`, {\n [`${prefixCls}-${mergedType}`]: mergedType !== 'dot' ? mergedType : false,\n [`${prefixCls}-rtl`]: rtlDirection === 'rtl',\n [`${prefixCls}-dot`]: isDot,\n [`${prefixCls}-ellipsis`]: ellipsis,\n [`${prefixCls}-with-progress`]: mergedPercent !== undefined,\n [`${prefixCls}-${mergedSize}`]: mergedSize\n }, className, rootClassName, hashId, cssVarCls);\n // =========================== Warning ============================\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Steps');\n warning.deprecated(!labelPlacement, 'labelPlacement', 'titlePlacement');\n warning.deprecated(!progressDot, 'progressDot', 'type=\"dot\"');\n warning.deprecated(!direction, 'direction', 'orientation');\n warning.deprecated(mergedItems.every(item => !item.description), 'items.description', 'items.content');\n }\n // ============================ Render ============================\n return /*#__PURE__*/React.createElement(RcSteps, {\n ...restProps,\n // Style\n prefixCls: prefixCls,\n className: stepsClassName,\n style: mergedStyle,\n classNames: mergedClassNames,\n styles: mergedStyles,\n // Layout\n orientation: mergedOrientation,\n titlePlacement: mergedTitlePlacement,\n components: components,\n // Data\n current: current,\n items: mergedItems,\n onChange: onChange,\n // Render\n iconRender: internalIconRender,\n itemRender: itemRender,\n itemWrapperRender: itemWrapperRender\n });\n};\nif (process.env.NODE_ENV !== 'production') {\n Steps.displayName = 'Steps';\n}\nexport default Steps;"],"names":["waveEffectClassNames","TARGET_CLS","Steps","props","size","className","rootClassName","style","variant","type","classNames","styles","direction","orientation","responsive","progressDot","labelPlacement","titlePlacement","ellipsis","offset","items","percent","current","onChange","iconRender","restProps","internalContent","React","InternalContext","contextContent","useComponentConfig","getPrefixCls","rtlDirection","contextClassName","contextStyle","contextClassNames","contextStyles","components","prefixCls","itemIconCls","hashId","cssVarCls","useStyle","mergedSize","useSize","mergedItems","xs","useBreakpoint","mergedType","isInline","isDot","legacyProgressDotRender","mergedOrientation","nextOrientation","mergedTitlePlacement","mergedPercent","mergedProps","mergedClassNames","mergedStyles","useMergeSemantic","internalIconRender","_","info","item","index","active","StepIcon","status","icon","iconContent","CheckOutlined","CloseOutlined","numNode","ProgressIcon","iconNode","itemRender","itemNode","itemInfo","content","Tooltip","Wave","itemWrapperRender","PanelArrow","mergedStyle","stepsClassName","clsx","process","warning","devUseWarning","RcSteps"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,MAAMA,KAAuB;AAAA,EAC3B,UAAUC;AACZ,GACMC,KAAQ,CAAAC,MAAS;AACrB,QAAM;AAAA;AAAA,IAEJ,MAAAC;AAAA,IACA,WAAAC;AAAA,IACA,eAAAC;AAAA,IACA,OAAAC;AAAA,IACA,SAAAC,IAAU;AAAA,IACV,MAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA;AAAA,IAEA,WAAAC;AAAA,IACA,aAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,IACb,aAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,UAAAC;AAAA,IACA,QAAAC,IAAS;AAAA;AAAA,IAET,OAAAC;AAAA,IACA,SAAAC;AAAA,IACA,SAAAC,IAAU;AAAA,IACV,UAAAC;AAAA;AAAA,IAEA,YAAAC;AAAA;AAAA,IAEA,GAAGC;AAAA,EACP,IAAMtB,GACEuB,IAAkBC,EAAM,WAAWC,EAAe,GAClDC,IAAiBC,GAAmB,OAAO,GAC3C;AAAA,IACJ,cAAAC;AAAA,IACA,WAAWC;AAAA,IACX,WAAWC;AAAA,IACX,OAAOC;AAAA,EACX,IAAML;AACJ,MAAIM,GACAC,GACAC,IAAa,CAAA;AACjB,EAAIX,IACFW,IAAa;AAAA,IACX,MAAMX,EAAgB;AAAA,IACtB,MAAMA,EAAgB;AAAA,EAC5B,IAEK;AAAA,IACC,YAAYS;AAAA,IACZ,QAAQC;AAAA,EACd,IAAQP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AWC,GAAekC,IAAQC,EAAS;AAE9C,MAAI6C,EAAQ,IAAI,aAAa,cAAc;AACzC,UAAMC,IAAUC,GAAc,OAAO;AACrC,IAAAD,EAAQ,WAAW,CAACvE,GAAgB,kBAAkB,gBAAgB,GACtEuE,EAAQ,WAAW,CAACxE,GAAa,eAAe,YAAY,GAC5DwE,EAAQ,WAAW,CAAC3E,GAAW,aAAa,aAAa,GACzD2E,EAAQ,WAAW1C,EAAY,MAAM,CAAAkB,MAAQ,CAACA,EAAK,WAAW,GAAG,qBAAqB,eAAe;AAAA,EACvG;AAEA,SAAoB,gBAAApC,EAAM,cAAc8D,IAAS;AAAA,IAC/C,GAAGhE;AAAA;AAAA,IAEH,WAAWa;AAAA,IACX,WAAW8C;AAAA,IACX,OAAOD;AAAA,IACP,YAAY1B;AAAA,IACZ,QAAQC;AAAA;AAAA,IAER,aAAaN;AAAA,IACb,gBAAgBE;AAAA,IAChB,YAAYjB;AAAA;AAAA,IAEZ,SAASf;AAAA,IACT,OAAOuB;AAAA,IACP,UAAUtB;AAAA;AAAA,IAEV,YAAYqC;AAAA,IACZ,YAAYe;AAAA,IACZ,mBAAmBM;AAAA,EACvB,CAAG;AACH;AACIK,EAAQ,IAAI,aAAa,iBAC3BpF,GAAM,cAAc;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/antd/es/steps/index.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport CheckOutlined from \"@ant-design/icons/es/icons/CheckOutlined\";\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport RcSteps from '@rc-component/steps';\nimport { clsx } from 'clsx';\nimport { useMergeSemantic } from '../_util/hooks';\nimport { devUseWarning } from '../_util/warning';\nimport Wave from '../_util/wave';\nimport { TARGET_CLS } from '../_util/wave/interface';\nimport { useComponentConfig } from '../config-provider/context';\nimport useSize from '../config-provider/hooks/useSize';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport { genCssVar } from '../theme/util/genStyleUtils';\nimport Tooltip from '../tooltip';\nimport { InternalContext } from './context';\nimport PanelArrow from './PanelArrow';\nimport ProgressIcon from './ProgressIcon';\nimport useStyle from './style';\nconst waveEffectClassNames = {\n itemIcon: TARGET_CLS\n};\nconst Steps = props => {\n const {\n // Style\n size,\n className,\n rootClassName,\n style,\n variant = 'filled',\n type,\n classNames,\n styles,\n // Layout\n direction,\n orientation,\n responsive = true,\n progressDot,\n labelPlacement,\n titlePlacement,\n ellipsis,\n offset = 0,\n // Data\n items,\n percent,\n current = 0,\n onChange,\n // Render\n iconRender,\n // MISC\n ...restProps\n } = props;\n const internalContent = React.useContext(InternalContext);\n const contextContent = useComponentConfig('steps');\n const {\n getPrefixCls,\n direction: rtlDirection,\n className: contextClassName,\n style: contextStyle\n } = contextContent;\n let contextClassNames;\n let contextStyles;\n let components = {};\n if (internalContent) {\n components = {\n root: internalContent.rootComponent,\n item: internalContent.itemComponent\n };\n } else {\n ({\n classNames: contextClassNames,\n styles: contextStyles\n } = contextContent);\n }\n const rootPrefixCls = getPrefixCls();\n const prefixCls = getPrefixCls('steps', props.prefixCls);\n const itemIconCls = `${prefixCls}-item-icon`;\n const [hashId, cssVarCls] = useStyle(prefixCls);\n const [varName] = genCssVar(rootPrefixCls, 'cmp-steps');\n // ============================= Size =============================\n const mergedSize = useSize(size);\n // ============================= Item =============================\n const mergedItems = React.useMemo(() => (items || []).filter(Boolean), [items]);\n // ============================ Layout ============================\n const {\n xs\n } = useBreakpoint(responsive);\n // Type\n const mergedType = React.useMemo(() => {\n if (type && type !== 'default') {\n return type;\n }\n if (progressDot) {\n return 'dot';\n }\n return type;\n }, [progressDot, type]);\n const isInline = mergedType === 'inline';\n const isDot = mergedType === 'dot' || mergedType === 'inline';\n // Progress Dot Render function\n const legacyProgressDotRender = React.useMemo(() => {\n return mergedType === 'dot' && typeof progressDot === 'function' ? progressDot : undefined;\n }, [mergedType, progressDot]);\n const mergedOrientation = React.useMemo(() => {\n const nextOrientation = orientation || direction;\n if (mergedType === 'panel') {\n return 'horizontal';\n }\n return responsive && xs || nextOrientation === 'vertical' ? 'vertical' : 'horizontal';\n }, [orientation, direction, mergedType, responsive, xs]);\n const mergedTitlePlacement = React.useMemo(() => {\n if (isDot || mergedOrientation === 'vertical') {\n return mergedOrientation === 'vertical' ? 'horizontal' : 'vertical';\n }\n if (type === 'navigation') {\n return 'horizontal';\n }\n return titlePlacement || labelPlacement || 'horizontal';\n }, [isDot, labelPlacement, mergedOrientation, titlePlacement, type]);\n // ========================== Percentage ==========================\n const mergedPercent = isInline ? undefined : percent;\n // =========== Merged Props for Semantic ===========\n const mergedProps = {\n ...props,\n variant,\n size: mergedSize,\n type: mergedType,\n orientation: mergedOrientation,\n titlePlacement: mergedTitlePlacement,\n current,\n percent: mergedPercent,\n responsive,\n offset\n };\n // ============================ Styles ============================\n const [mergedClassNames, mergedStyles] = useMergeSemantic([waveEffectClassNames, contextClassNames, classNames], [contextStyles, styles], {\n props: mergedProps\n });\n // ============================= Icon =============================\n const internalIconRender = (_, info) => {\n const {\n item,\n index,\n active,\n components: {\n Icon: StepIcon\n }\n } = info;\n const {\n status,\n icon\n } = item;\n let iconContent = null;\n if (isDot || icon) {\n iconContent = icon;\n } else {\n switch (status) {\n case 'finish':\n iconContent = /*#__PURE__*/React.createElement(CheckOutlined, {\n className: `${itemIconCls}-finish`\n });\n break;\n case 'error':\n iconContent = /*#__PURE__*/React.createElement(CloseOutlined, {\n className: `${itemIconCls}-error`\n });\n break;\n default:\n {\n let numNode = /*#__PURE__*/React.createElement(\"span\", {\n className: `${itemIconCls}-number`\n }, info.index + 1);\n if (status === 'process' && mergedPercent !== undefined) {\n numNode = /*#__PURE__*/React.createElement(ProgressIcon, {\n prefixCls: prefixCls,\n rootPrefixCls: rootPrefixCls,\n percent: mergedPercent\n }, numNode);\n }\n iconContent = numNode;\n }\n }\n }\n let iconNode = /*#__PURE__*/React.createElement(StepIcon, null, iconContent);\n // Custom Render Props\n if (iconRender) {\n iconNode = iconRender(iconNode, {\n index,\n active,\n item,\n components: {\n Icon: StepIcon\n }\n });\n } else if (typeof legacyProgressDotRender === 'function') {\n iconNode = legacyProgressDotRender(iconNode, {\n index,\n ...item\n });\n }\n return iconNode;\n };\n // ============================ Custom ============================\n const itemRender = (itemNode, itemInfo) => {\n let content = itemNode;\n if (isInline && itemInfo.item.content) {\n content = /*#__PURE__*/React.createElement(Tooltip, {\n destroyOnHidden: true,\n title: itemInfo.item.content\n }, itemNode);\n }\n return /*#__PURE__*/React.createElement(Wave, {\n component: \"Steps\",\n disabled: itemInfo.item.disabled || !onChange,\n colorSource: variant === 'filled' ? 'color' : null\n }, content);\n };\n const itemWrapperRender = mergedType === 'panel' ? itemNode => {\n return /*#__PURE__*/React.createElement(React.Fragment, null, itemNode, /*#__PURE__*/React.createElement(PanelArrow, {\n prefixCls: prefixCls\n }));\n } : undefined;\n // ============================ Styles ============================\n const mergedStyle = {\n [varName('items-offset')]: `${offset}`,\n ...contextStyle,\n ...style\n };\n const stepsClassName = clsx(contextClassName, `${prefixCls}-${variant}`, {\n [`${prefixCls}-${mergedType}`]: mergedType !== 'dot' ? mergedType : false,\n [`${prefixCls}-rtl`]: rtlDirection === 'rtl',\n [`${prefixCls}-dot`]: isDot,\n [`${prefixCls}-ellipsis`]: ellipsis,\n [`${prefixCls}-with-progress`]: mergedPercent !== undefined,\n [`${prefixCls}-${mergedSize}`]: mergedSize\n }, className, rootClassName, hashId, cssVarCls);\n // =========================== Warning ============================\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Steps');\n warning.deprecated(!labelPlacement, 'labelPlacement', 'titlePlacement');\n warning.deprecated(!progressDot, 'progressDot', 'type=\"dot\"');\n warning.deprecated(!direction, 'direction', 'orientation');\n warning.deprecated(mergedItems.every(item => !item.description), 'items.description', 'items.content');\n }\n // ============================ Render ============================\n return /*#__PURE__*/React.createElement(RcSteps, {\n ...restProps,\n // Style\n prefixCls: prefixCls,\n className: stepsClassName,\n style: mergedStyle,\n classNames: mergedClassNames,\n styles: mergedStyles,\n // Layout\n orientation: mergedOrientation,\n titlePlacement: mergedTitlePlacement,\n components: components,\n // Data\n current: current,\n items: mergedItems,\n onChange: onChange,\n // Render\n iconRender: internalIconRender,\n itemRender: itemRender,\n itemWrapperRender: itemWrapperRender\n });\n};\nif (process.env.NODE_ENV !== 'production') {\n Steps.displayName = 'Steps';\n}\nexport default Steps;"],"names":["waveEffectClassNames","TARGET_CLS","Steps","props","size","className","rootClassName","style","variant","type","classNames","styles","direction","orientation","responsive","progressDot","labelPlacement","titlePlacement","ellipsis","offset","items","percent","current","onChange","iconRender","restProps","internalContent","React","InternalContext","contextContent","useComponentConfig","getPrefixCls","rtlDirection","contextClassName","contextStyle","contextClassNames","contextStyles","components","rootPrefixCls","prefixCls","itemIconCls","hashId","cssVarCls","useStyle","varName","genCssVar","mergedSize","useSize","mergedItems","xs","useBreakpoint","mergedType","isInline","isDot","legacyProgressDotRender","mergedOrientation","nextOrientation","mergedTitlePlacement","mergedPercent","mergedProps","mergedClassNames","mergedStyles","useMergeSemantic","internalIconRender","_","info","item","index","active","StepIcon","status","icon","iconContent","CheckOutlined","CloseOutlined","numNode","ProgressIcon","iconNode","itemRender","itemNode","itemInfo","content","Tooltip","Wave","itemWrapperRender","PanelArrow","mergedStyle","stepsClassName","clsx","process","warning","devUseWarning","RcSteps"],"mappings":";;;;;;;;;;;;;;;;;;;AAoBA,MAAMA,KAAuB;AAAA,EAC3B,UAAUC;AACZ,GACMC,KAAQ,CAAAC,MAAS;AACrB,QAAM;AAAA;AAAA,IAEJ,MAAAC;AAAA,IACA,WAAAC;AAAA,IACA,eAAAC;AAAA,IACA,OAAAC;AAAA,IACA,SAAAC,IAAU;AAAA,IACV,MAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA;AAAA,IAEA,WAAAC;AAAA,IACA,aAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,IACb,aAAAC;AAAA,IACA,gBAAAC;AA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gBAAgBE;AAAA,IAChB,YAAYpB;AAAA;AAAA,IAEZ,SAASf;AAAA,IACT,OAAO0B;AAAA,IACP,UAAUzB;AAAA;AAAA,IAEV,YAAYwC;AAAA,IACZ,YAAYe;AAAA,IACZ,mBAAmBM;AAAA,EACvB,CAAG;AACH;AACIK,EAAQ,IAAI,aAAa,iBAC3BvF,GAAM,cAAc;","x_google_ignoreList":[0]}
@@ -1,18 +1,20 @@
1
- const r = (t) => {
1
+ import { genCssVar as e } from "../../theme/util/genStyleUtils.js";
2
+ const s = (a) => {
2
3
  const {
3
- componentCls: a
4
- } = t, i = `${a}-item`;
4
+ componentCls: i,
5
+ antCls: o
6
+ } = a, r = `${i}-item`, [n, t] = e(o, "cmp-steps");
5
7
  return {
6
- [`${a}-horizontal`]: {
7
- [`> ${i}`]: {
8
+ [`${i}-horizontal`]: {
9
+ [`> ${r}`]: {
8
10
  flex: "1 1 auto",
9
- minWidth: t.iconSize,
10
- [`${i}-rail`]: {
11
- "--steps-horizontal-rail-margin": "calc(var(--steps-icon-size-max) / 2 + var(--steps-item-wrapper-padding-top))",
11
+ minWidth: a.iconSize,
12
+ [`${r}-rail`]: {
13
+ [n("horizontal-rail-margin")]: `calc(${t("icon-size-max")} / 2 + ${t("item-wrapper-padding-top")})`,
12
14
  position: "static",
13
- marginTop: "var(--steps-horizontal-rail-margin)",
15
+ marginTop: t("horizontal-rail-margin"),
14
16
  width: "auto",
15
- borderBlockStartWidth: "var(--steps-rail-size)",
17
+ borderBlockStartWidth: t("rail-size"),
16
18
  flex: 1,
17
19
  minWidth: 0,
18
20
  alignSelf: "flex-start",
@@ -23,6 +25,6 @@ const r = (t) => {
23
25
  };
24
26
  };
25
27
  export {
26
- r as default
28
+ s as default
27
29
  };
28
30
  //# sourceMappingURL=horizontal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"horizontal.js","sources":["../../../../../../node_modules/antd/es/steps/style/horizontal.js"],"sourcesContent":["const genHorizontalStyle = token => {\n const {\n componentCls\n } = token;\n const itemCls = `${componentCls}-item`; // .ant-steps-item\n return {\n [`${componentCls}-horizontal`]: {\n [`> ${itemCls}`]: {\n flex: '1 1 auto',\n minWidth: token.iconSize,\n [`${itemCls}-rail`]: {\n '--steps-horizontal-rail-margin': 'calc(var(--steps-icon-size-max) / 2 + var(--steps-item-wrapper-padding-top))',\n position: 'static',\n marginTop: 'var(--steps-horizontal-rail-margin)',\n width: 'auto',\n borderBlockStartWidth: 'var(--steps-rail-size)',\n flex: 1,\n minWidth: 0,\n alignSelf: 'flex-start',\n transform: 'translateY(-50%)'\n }\n }\n }\n };\n};\nexport default genHorizontalStyle;"],"names":["genHorizontalStyle","token","componentCls","itemCls"],"mappings":"AAAK,MAACA,IAAqB,CAAAC,MAAS;AAClC,QAAM;AAAA,IACJ,cAAAC;AAAA,EACJ,IAAMD,GACEE,IAAU,GAAGD,CAAY;AAC/B,SAAO;AAAA,IACL,CAAC,GAAGA,CAAY,aAAa,GAAG;AAAA,MAC9B,CAAC,KAAKC,CAAO,EAAE,GAAG;AAAA,QAChB,MAAM;AAAA,QACN,UAAUF,EAAM;AAAA,QAChB,CAAC,GAAGE,CAAO,OAAO,GAAG;AAAA,UACnB,kCAAkC;AAAA,UAClC,UAAU;AAAA,UACV,WAAW;AAAA,UACX,OAAO;AAAA,UACP,uBAAuB;AAAA,UACvB,MAAM;AAAA,UACN,UAAU;AAAA,UACV,WAAW;AAAA,UACX,WAAW;AAAA,QACrB;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"horizontal.js","sources":["../../../../../../node_modules/antd/es/steps/style/horizontal.js"],"sourcesContent":["import { genCssVar } from '../../theme/util/genStyleUtils';\nconst genHorizontalStyle = token => {\n const {\n componentCls,\n antCls\n } = token;\n const itemCls = `${componentCls}-item`;\n const [varName, varRef] = genCssVar(antCls, 'cmp-steps');\n return {\n [`${componentCls}-horizontal`]: {\n [`> ${itemCls}`]: {\n flex: '1 1 auto',\n minWidth: token.iconSize,\n [`${itemCls}-rail`]: {\n [varName('horizontal-rail-margin')]: `calc(${varRef('icon-size-max')} / 2 + ${varRef('item-wrapper-padding-top')})`,\n position: 'static',\n marginTop: varRef('horizontal-rail-margin'),\n width: 'auto',\n borderBlockStartWidth: varRef('rail-size'),\n flex: 1,\n minWidth: 0,\n alignSelf: 'flex-start',\n transform: 'translateY(-50%)'\n }\n }\n }\n };\n};\nexport default genHorizontalStyle;"],"names":["genHorizontalStyle","token","componentCls","antCls","itemCls","varName","varRef","genCssVar"],"mappings":";AACK,MAACA,IAAqB,CAAAC,MAAS;AAClC,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMF,GACEG,IAAU,GAAGF,CAAY,SACzB,CAACG,GAASC,CAAM,IAAIC,EAAUJ,GAAQ,WAAW;AACvD,SAAO;AAAA,IACL,CAAC,GAAGD,CAAY,aAAa,GAAG;AAAA,MAC9B,CAAC,KAAKE,CAAO,EAAE,GAAG;AAAA,QAChB,MAAM;AAAA,QACN,UAAUH,EAAM;AAAA,QAChB,CAAC,GAAGG,CAAO,OAAO,GAAG;AAAA,UACnB,CAACC,EAAQ,wBAAwB,CAAC,GAAG,QAAQC,EAAO,eAAe,CAAC,UAAUA,EAAO,0BAA0B,CAAC;AAAA,UAChH,UAAU;AAAA,UACV,WAAWA,EAAO,wBAAwB;AAAA,UAC1C,OAAO;AAAA,UACP,uBAAuBA,EAAO,WAAW;AAAA,UACzC,MAAM;AAAA,UACN,UAAU;AAAA,UACV,WAAW;AAAA,UACX,WAAW;AAAA,QACrB;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;","x_google_ignoreList":[0]}
@@ -1,40 +1,45 @@
1
- const r = (e) => {
1
+ import { genCssVar as f } from "../../theme/util/genStyleUtils.js";
2
+ const g = (o) => {
2
3
  const {
3
4
  componentCls: i,
4
- customIconFontSize: t,
5
- motionDurationSlow: o
6
- } = e, n = `${i}-item`;
5
+ customIconFontSize: r,
6
+ motionDurationSlow: c,
7
+ iconSize: s,
8
+ lineWidth: a,
9
+ lineType: l,
10
+ antCls: d
11
+ } = o, e = `${i}-item`, [t, n] = f(d, "cmp-steps");
7
12
  return {
8
13
  [i]: {
9
- "--steps-icon-size": e.iconSize,
10
- "--steps-icon-border-width": e.lineWidth,
11
- [`${n}-icon`]: {
12
- width: "var(--steps-icon-size)",
13
- height: "var(--steps-icon-size)",
14
+ [t("icon-size")]: s,
15
+ [t("icon-border-width")]: a,
16
+ [`${e}-icon`]: {
17
+ width: n("icon-size"),
18
+ height: n("icon-size"),
14
19
  margin: 0,
15
20
  flex: "none",
16
21
  display: "flex",
17
22
  alignItems: "center",
18
23
  justifyContent: "center",
19
- fontSize: e.iconFontSize,
20
- fontFamily: e.fontFamily,
21
- lineHeight: "var(--steps-icon-size)",
24
+ fontSize: o.iconFontSize,
25
+ fontFamily: o.fontFamily,
26
+ lineHeight: n("icon-size"),
22
27
  textAlign: "center",
23
- borderRadius: "var(--steps-icon-size)",
24
- border: `var(--steps-icon-border-width) ${e.lineType} transparent`,
25
- transition: ["background", "border", "color", "inset", "transform"].map((s) => `${s} ${o}`).join(", "),
28
+ borderRadius: n("icon-size"),
29
+ border: `${n("icon-border-width")} ${l} transparent`,
30
+ transition: ["background-color", "border", "color", "inset", "transform"].map((m) => `${m} ${c}`).join(", "),
26
31
  zIndex: 1
27
32
  },
28
33
  // ==================== Custom ====================
29
- [`${n}-custom ${n}-icon`]: {
34
+ [`${e}-custom ${e}-icon`]: {
30
35
  background: "none",
31
36
  border: 0,
32
- fontSize: t
37
+ fontSize: r
33
38
  }
34
39
  }
35
40
  };
36
41
  };
37
42
  export {
38
- r as default
43
+ g as default
39
44
  };
40
45
  //# sourceMappingURL=icon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon.js","sources":["../../../../../../node_modules/antd/es/steps/style/icon.js"],"sourcesContent":["const genIconStyle = token => {\n const {\n componentCls,\n customIconFontSize,\n motionDurationSlow\n } = token;\n const itemCls = `${componentCls}-item`;\n return {\n [componentCls]: {\n '--steps-icon-size': token.iconSize,\n '--steps-icon-border-width': token.lineWidth,\n [`${itemCls}-icon`]: {\n width: 'var(--steps-icon-size)',\n height: 'var(--steps-icon-size)',\n margin: 0,\n flex: 'none',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n fontSize: token.iconFontSize,\n fontFamily: token.fontFamily,\n lineHeight: 'var(--steps-icon-size)',\n textAlign: 'center',\n borderRadius: 'var(--steps-icon-size)',\n border: `var(--steps-icon-border-width) ${token.lineType} transparent`,\n transition: ['background', 'border', 'color', 'inset', 'transform'].map(key => `${key} ${motionDurationSlow}`).join(', '),\n zIndex: 1\n },\n // ==================== Custom ====================\n [`${itemCls}-custom ${itemCls}-icon`]: {\n background: 'none',\n border: 0,\n fontSize: customIconFontSize\n }\n }\n };\n};\nexport default genIconStyle;"],"names":["genIconStyle","token","componentCls","customIconFontSize","motionDurationSlow","itemCls","key"],"mappings":"AAAK,MAACA,IAAe,CAAAC,MAAS;AAC5B,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,oBAAAC;AAAA,EACJ,IAAMH,GACEI,IAAU,GAAGH,CAAY;AAC/B,SAAO;AAAA,IACL,CAACA,CAAY,GAAG;AAAA,MACd,qBAAqBD,EAAM;AAAA,MAC3B,6BAA6BA,EAAM;AAAA,MACnC,CAAC,GAAGI,CAAO,OAAO,GAAG;AAAA,QACnB,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,QAAQ;AAAA,QACR,MAAM;AAAA,QACN,SAAS;AAAA,QACT,YAAY;AAAA,QACZ,gBAAgB;AAAA,QAChB,UAAUJ,EAAM;AAAA,QAChB,YAAYA,EAAM;AAAA,QAClB,YAAY;AAAA,QACZ,WAAW;AAAA,QACX,cAAc;AAAA,QACd,QAAQ,kCAAkCA,EAAM,QAAQ;AAAA,QACxD,YAAY,CAAC,cAAc,UAAU,SAAS,SAAS,WAAW,EAAE,IAAI,CAAAK,MAAO,GAAGA,CAAG,IAAIF,CAAkB,EAAE,EAAE,KAAK,IAAI;AAAA,QACxH,QAAQ;AAAA,MAChB;AAAA;AAAA,MAEM,CAAC,GAAGC,CAAO,WAAWA,CAAO,OAAO,GAAG;AAAA,QACrC,YAAY;AAAA,QACZ,QAAQ;AAAA,QACR,UAAUF;AAAA,MAClB;AAAA,IACA;AAAA,EACA;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"icon.js","sources":["../../../../../../node_modules/antd/es/steps/style/icon.js"],"sourcesContent":["import { genCssVar } from '../../theme/util/genStyleUtils';\nconst genIconStyle = token => {\n const {\n componentCls,\n customIconFontSize,\n motionDurationSlow,\n iconSize,\n lineWidth,\n lineType,\n antCls\n } = token;\n const itemCls = `${componentCls}-item`;\n const [varName, varRef] = genCssVar(antCls, 'cmp-steps');\n return {\n [componentCls]: {\n [varName('icon-size')]: iconSize,\n [varName('icon-border-width')]: lineWidth,\n [`${itemCls}-icon`]: {\n width: varRef('icon-size'),\n height: varRef('icon-size'),\n margin: 0,\n flex: 'none',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n fontSize: token.iconFontSize,\n fontFamily: token.fontFamily,\n lineHeight: varRef('icon-size'),\n textAlign: 'center',\n borderRadius: varRef('icon-size'),\n border: `${varRef('icon-border-width')} ${lineType} transparent`,\n transition: ['background-color', 'border', 'color', 'inset', 'transform'].map(key => `${key} ${motionDurationSlow}`).join(', '),\n zIndex: 1\n },\n // ==================== Custom ====================\n [`${itemCls}-custom ${itemCls}-icon`]: {\n background: 'none',\n border: 0,\n fontSize: customIconFontSize\n }\n }\n };\n};\nexport default genIconStyle;"],"names":["genIconStyle","token","componentCls","customIconFontSize","motionDurationSlow","iconSize","lineWidth","lineType","antCls","itemCls","varName","varRef","genCssVar","key"],"mappings":";AACK,MAACA,IAAe,CAAAC,MAAS;AAC5B,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMP,GACEQ,IAAU,GAAGP,CAAY,SACzB,CAACQ,GAASC,CAAM,IAAIC,EAAUJ,GAAQ,WAAW;AACvD,SAAO;AAAA,IACL,CAACN,CAAY,GAAG;AAAA,MACd,CAACQ,EAAQ,WAAW,CAAC,GAAGL;AAAA,MACxB,CAACK,EAAQ,mBAAmB,CAAC,GAAGJ;AAAA,MAChC,CAAC,GAAGG,CAAO,OAAO,GAAG;AAAA,QACnB,OAAOE,EAAO,WAAW;AAAA,QACzB,QAAQA,EAAO,WAAW;AAAA,QAC1B,QAAQ;AAAA,QACR,MAAM;AAAA,QACN,SAAS;AAAA,QACT,YAAY;AAAA,QACZ,gBAAgB;AAAA,QAChB,UAAUV,EAAM;AAAA,QAChB,YAAYA,EAAM;AAAA,QAClB,YAAYU,EAAO,WAAW;AAAA,QAC9B,WAAW;AAAA,QACX,cAAcA,EAAO,WAAW;AAAA,QAChC,QAAQ,GAAGA,EAAO,mBAAmB,CAAC,IAAIJ,CAAQ;AAAA,QAClD,YAAY,CAAC,oBAAoB,UAAU,SAAS,SAAS,WAAW,EAAE,IAAI,CAAAM,MAAO,GAAGA,CAAG,IAAIT,CAAkB,EAAE,EAAE,KAAK,IAAI;AAAA,QAC9H,QAAQ;AAAA,MAChB;AAAA;AAAA,MAEM,CAAC,GAAGK,CAAO,WAAWA,CAAO,OAAO,GAAG;AAAA,QACrC,YAAY;AAAA,QACZ,QAAQ;AAAA,QACR,UAAUN;AAAA,MAClB;AAAA,IACA;AAAA,EACA;AACA;","x_google_ignoreList":[0]}
@@ -1,33 +1,33 @@
1
- import { textEllipsis as r, resetComponent as o } from "../../style/index.js";
2
- import { genStyleHooks as l } from "../../theme/util/genStyleUtils.js";
3
- import n from "./horizontal.js";
4
- import s from "./icon.js";
5
- import a from "./inline.js";
6
- import p from "./label-placement.js";
7
- import c from "./nav.js";
8
- import m from "./panel.js";
9
- import g from "./progress.js";
10
- import f from "./progress-dot.js";
11
- import S from "./rtl.js";
12
- import d from "./small.js";
13
- import h from "./status.js";
14
- import y from "./vertical.js";
15
- import { merge as w } from "../../../../@ant-design/cssinjs-utils/es/util/statistic.js";
16
- const z = (e) => {
1
+ import { textEllipsis as n, resetComponent as a } from "../../style/index.js";
2
+ import { genStyleHooks as s, genCssVar as c } from "../../theme/util/genStyleUtils.js";
3
+ import m from "./horizontal.js";
4
+ import p from "./icon.js";
5
+ import g from "./inline.js";
6
+ import f from "./label-placement.js";
7
+ import S from "./nav.js";
8
+ import d from "./panel.js";
9
+ import h from "./progress.js";
10
+ import y from "./progress-dot.js";
11
+ import w from "./rtl.js";
12
+ import z from "./small.js";
13
+ import u from "./status.js";
14
+ import x from "./vertical.js";
15
+ import { merge as b } from "../../../../@ant-design/cssinjs-utils/es/util/statistic.js";
16
+ const $ = (e) => {
17
17
  const {
18
- componentCls: t
19
- } = e, i = `${t}-item`;
18
+ componentCls: t,
19
+ antCls: l
20
+ } = e, i = `${t}-item`, [o, r] = c(l, "cmp-steps");
20
21
  return {
21
22
  [t]: {
22
- // TODO: use `genCssVar` hook to generate css variables
23
- "--steps-title-font-size": e.fontSizeLG,
24
- "--steps-title-line-height": e.lineHeightLG,
25
- "--steps-subtitle-font-size": e.fontSize,
26
- "--steps-subtitle-line-height": e.lineHeight,
27
- "--steps-item-wrapper-padding-top": "0px",
28
- "--steps-rail-size": e.lineWidth,
29
- "--steps-rail-line-style": e.lineType,
30
- ...o(e),
23
+ [o("title-font-size")]: e.fontSizeLG,
24
+ [o("title-line-height")]: e.lineHeightLG,
25
+ [o("subtitle-font-size")]: e.fontSize,
26
+ [o("subtitle-line-height")]: e.lineHeight,
27
+ [o("item-wrapper-padding-top")]: "0px",
28
+ [o("rail-size")]: e.lineWidth,
29
+ [o("rail-line-style")]: e.lineType,
30
+ ...a(e),
31
31
  display: "flex",
32
32
  flexWrap: "nowrap",
33
33
  alignItems: "flex-start",
@@ -38,7 +38,7 @@ const z = (e) => {
38
38
  [`${i}-wrapper`]: {
39
39
  display: "flex",
40
40
  flexWrap: "nowrap",
41
- paddingTop: "var(--steps-item-wrapper-padding-top)"
41
+ paddingTop: r("item-wrapper-padding-top")
42
42
  },
43
43
  // Icon
44
44
  // Check `./icon.ts`
@@ -51,16 +51,16 @@ const z = (e) => {
51
51
  // >>> Title
52
52
  [`${i}-title`]: {
53
53
  color: e.colorText,
54
- fontSize: "var(--steps-title-font-size)",
55
- lineHeight: "var(--steps-title-line-height)",
54
+ fontSize: r("title-font-size"),
55
+ lineHeight: r("title-line-height"),
56
56
  wordBreak: "break-word"
57
57
  },
58
58
  // >>> Sub Title
59
59
  [`${i}-subtitle`]: {
60
60
  color: e.colorTextDescription,
61
61
  fontWeight: "normal",
62
- fontSize: "var(--steps-subtitle-font-size)",
63
- lineHeight: "var(--steps-subtitle-line-height)",
62
+ fontSize: r("subtitle-font-size"),
63
+ lineHeight: r("subtitle-line-height"),
64
64
  marginInlineStart: e.marginXS,
65
65
  wordBreak: "break-word"
66
66
  },
@@ -73,7 +73,7 @@ const z = (e) => {
73
73
  },
74
74
  // Rail
75
75
  [`${i}-rail`]: {
76
- borderStyle: "var(--steps-rail-line-style)",
76
+ borderStyle: r("rail-line-style"),
77
77
  borderWidth: 0
78
78
  },
79
79
  // Motion
@@ -82,7 +82,7 @@ const z = (e) => {
82
82
  },
83
83
  // ========================== Ellipsis ==========================
84
84
  [`&${t}-ellipsis`]: {
85
- [`${i}-title, ${i}-subtitle, ${i}-content`]: r
85
+ [`${i}-title, ${i}-subtitle, ${i}-content`]: n
86
86
  },
87
87
  // ========================= Clickable ==========================
88
88
  [`${i}[role='button']:not(${i}-active):hover`]: {
@@ -90,7 +90,7 @@ const z = (e) => {
90
90
  }
91
91
  }
92
92
  };
93
- }, u = (e) => ({
93
+ }, C = (e) => ({
94
94
  titleLineHeight: e.controlHeight,
95
95
  customIconSize: e.controlHeight,
96
96
  customIconTop: 0,
@@ -111,14 +111,14 @@ const z = (e) => {
111
111
  waitIconBorderColor: e.wireframe ? e.colorTextDisabled : "transparent",
112
112
  finishIconBgColor: e.wireframe ? e.colorBgContainer : e.controlItemBgActive,
113
113
  finishIconBorderColor: e.wireframe ? e.colorPrimary : e.controlItemBgActive
114
- }), F = l("Steps", (e) => {
115
- const t = w(e, {
114
+ }), V = s("Steps", (e) => {
115
+ const t = b(e, {
116
116
  inlineDotSize: 6
117
117
  });
118
- return [z(t), s(t), y(t), n(t), p(t), d(t), f(t), h(t), c(t), m(t), a(t), g(t), S(t)];
119
- }, u);
118
+ return [$(t), p(t), x(t), m(t), f(t), z(t), y(t), u(t), S(t), d(t), g(t), h(t), w(t)];
119
+ }, C);
120
120
  export {
121
- F as default,
122
- u as prepareComponentToken
121
+ V as default,
122
+ C as prepareComponentToken
123
123
  };
124
124
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/steps/style/index.js"],"sourcesContent":["import { resetComponent, textEllipsis } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport genHorizontalStyle from './horizontal';\nimport genIconStyle from './icon';\nimport genInlineStyle from './inline';\nimport genLabelPlacementStyle from './label-placement';\nimport genLegacyNavStyle from './nav';\nimport genPanelStyle from './panel';\nimport genStepsProgressStyle from './progress';\nimport genDotStyle from './progress-dot';\nimport genRTLStyle from './rtl';\nimport genSmallStyle from './small';\nimport genStatusStyle from './status';\nimport genVerticalStyle from './vertical';\nconst genBasicStyle = token => {\n const {\n componentCls\n } = token;\n const itemCls = `${componentCls}-item`;\n return {\n [componentCls]: {\n // TODO: use `genCssVar` hook to generate css variables\n '--steps-title-font-size': token.fontSizeLG,\n '--steps-title-line-height': token.lineHeightLG,\n '--steps-subtitle-font-size': token.fontSize,\n '--steps-subtitle-line-height': token.lineHeight,\n '--steps-item-wrapper-padding-top': '0px',\n '--steps-rail-size': token.lineWidth,\n '--steps-rail-line-style': token.lineType,\n ...resetComponent(token),\n display: 'flex',\n flexWrap: 'nowrap',\n alignItems: 'flex-start',\n [itemCls]: {\n flex: 'none',\n position: 'relative'\n },\n [`${itemCls}-wrapper`]: {\n display: 'flex',\n flexWrap: 'nowrap',\n paddingTop: `var(--steps-item-wrapper-padding-top)`\n },\n // Icon\n // Check `./icon.ts`\n // Header\n [`${itemCls}-header`]: {\n display: 'flex',\n flexWrap: 'nowrap',\n alignItems: 'center'\n },\n // >>> Title\n [`${itemCls}-title`]: {\n color: token.colorText,\n fontSize: `var(--steps-title-font-size)`,\n lineHeight: `var(--steps-title-line-height)`,\n wordBreak: 'break-word'\n },\n // >>> Sub Title\n [`${itemCls}-subtitle`]: {\n color: token.colorTextDescription,\n fontWeight: 'normal',\n fontSize: `var(--steps-subtitle-font-size)`,\n lineHeight: `var(--steps-subtitle-line-height)`,\n marginInlineStart: token.marginXS,\n wordBreak: 'break-word'\n },\n // Content\n [`${itemCls}-content`]: {\n color: token.colorTextDescription,\n fontSize: token.fontSize,\n lineHeight: token.lineHeight,\n wordBreak: 'break-word'\n },\n // Rail\n [`${itemCls}-rail`]: {\n borderStyle: 'var(--steps-rail-line-style)',\n borderWidth: 0\n },\n // Motion\n [`${itemCls}-title, ${itemCls}-subtitle, ${itemCls}-content, ${itemCls}-rail`]: {\n transition: `all ${token.motionDurationSlow}`\n },\n // ========================== Ellipsis ==========================\n [`&${componentCls}-ellipsis`]: {\n [`${itemCls}-title, ${itemCls}-subtitle, ${itemCls}-content`]: textEllipsis\n },\n // ========================= Clickable ==========================\n [`${itemCls}[role='button']:not(${itemCls}-active):hover`]: {\n cursor: 'pointer'\n }\n }\n };\n};\n// ============================== Export ==============================\nexport const prepareComponentToken = token => ({\n titleLineHeight: token.controlHeight,\n customIconSize: token.controlHeight,\n customIconTop: 0,\n customIconFontSize: token.controlHeightSM,\n iconSize: token.controlHeight,\n iconTop: -0.5,\n // magic for ui experience\n iconFontSize: token.fontSize,\n iconSizeSM: token.fontSizeHeading3,\n dotSize: token.controlHeight / 4,\n dotCurrentSize: token.controlHeightLG / 4,\n navArrowColor: token.colorTextDisabled,\n navContentMaxWidth: 'unset',\n descriptionMaxWidth: undefined,\n // should be `undefined` to create css var\n waitIconColor: token.wireframe ? token.colorTextDisabled : token.colorTextLabel,\n waitIconBgColor: token.wireframe ? token.colorBgContainer : token.colorFillContent,\n waitIconBorderColor: token.wireframe ? token.colorTextDisabled : 'transparent',\n finishIconBgColor: token.wireframe ? token.colorBgContainer : token.controlItemBgActive,\n finishIconBorderColor: token.wireframe ? token.colorPrimary : token.controlItemBgActive\n});\nexport default genStyleHooks('Steps', token => {\n const stepsToken = mergeToken(token, {\n inlineDotSize: 6\n });\n return [genBasicStyle(stepsToken), genIconStyle(stepsToken), genVerticalStyle(stepsToken), genHorizontalStyle(stepsToken), genLabelPlacementStyle(stepsToken), genSmallStyle(stepsToken), genDotStyle(stepsToken), genStatusStyle(stepsToken), genLegacyNavStyle(stepsToken), genPanelStyle(stepsToken), genInlineStyle(stepsToken), genStepsProgressStyle(stepsToken), genRTLStyle(stepsToken)];\n}, prepareComponentToken);"],"names":["genBasicStyle","token","componentCls","itemCls","resetComponent","textEllipsis","prepareComponentToken","useStyle","genStyleHooks","stepsToken","mergeToken","genIconStyle","genVerticalStyle","genHorizontalStyle","genLabelPlacementStyle","genSmallStyle","genDotStyle","genStatusStyle","genLegacyNavStyle","genPanelStyle","genInlineStyle","genStepsProgressStyle","genRTLStyle"],"mappings":";;;;;;;;;;;;;;;AAcA,MAAMA,IAAgB,CAAAC,MAAS;AAC7B,QAAM;AAAA,IACJ,cAAAC;AAAA,EACJ,IAAMD,GACEE,IAAU,GAAGD,CAAY;AAC/B,SAAO;AAAA,IACL,CAACA,CAAY,GAAG;AAAA;AAAA,MAEd,2BAA2BD,EAAM;AAAA,MACjC,6BAA6BA,EAAM;AAAA,MACnC,8BAA8BA,EAAM;AAAA,MACpC,gCAAgCA,EAAM;AAAA,MACtC,oCAAoC;AAAA,MACpC,qBAAqBA,E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AAqB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/steps/style/index.js"],"sourcesContent":["import { resetComponent, textEllipsis } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport { genCssVar } from '../../theme/util/genStyleUtils';\nimport genHorizontalStyle from './horizontal';\nimport genIconStyle from './icon';\nimport genInlineStyle from './inline';\nimport genLabelPlacementStyle from './label-placement';\nimport genLegacyNavStyle from './nav';\nimport genPanelStyle from './panel';\nimport genStepsProgressStyle from './progress';\nimport genDotStyle from './progress-dot';\nimport genRTLStyle from './rtl';\nimport genSmallStyle from './small';\nimport genStatusStyle from './status';\nimport genVerticalStyle from './vertical';\nconst genBasicStyle = token => {\n const {\n componentCls,\n antCls\n } = token;\n const itemCls = `${componentCls}-item`;\n const [varName, varRef] = genCssVar(antCls, 'cmp-steps');\n return {\n [componentCls]: {\n [varName('title-font-size')]: token.fontSizeLG,\n [varName('title-line-height')]: token.lineHeightLG,\n [varName('subtitle-font-size')]: token.fontSize,\n [varName('subtitle-line-height')]: token.lineHeight,\n [varName('item-wrapper-padding-top')]: '0px',\n [varName('rail-size')]: token.lineWidth,\n [varName('rail-line-style')]: token.lineType,\n ...resetComponent(token),\n display: 'flex',\n flexWrap: 'nowrap',\n alignItems: 'flex-start',\n [itemCls]: {\n flex: 'none',\n position: 'relative'\n },\n [`${itemCls}-wrapper`]: {\n display: 'flex',\n flexWrap: 'nowrap',\n paddingTop: varRef('item-wrapper-padding-top')\n },\n // Icon\n // Check `./icon.ts`\n // Header\n [`${itemCls}-header`]: {\n display: 'flex',\n flexWrap: 'nowrap',\n alignItems: 'center'\n },\n // >>> Title\n [`${itemCls}-title`]: {\n color: token.colorText,\n fontSize: varRef('title-font-size'),\n lineHeight: varRef('title-line-height'),\n wordBreak: 'break-word'\n },\n // >>> Sub Title\n [`${itemCls}-subtitle`]: {\n color: token.colorTextDescription,\n fontWeight: 'normal',\n fontSize: varRef('subtitle-font-size'),\n lineHeight: varRef('subtitle-line-height'),\n marginInlineStart: token.marginXS,\n wordBreak: 'break-word'\n },\n // Content\n [`${itemCls}-content`]: {\n color: token.colorTextDescription,\n fontSize: token.fontSize,\n lineHeight: token.lineHeight,\n wordBreak: 'break-word'\n },\n // Rail\n [`${itemCls}-rail`]: {\n borderStyle: varRef('rail-line-style'),\n borderWidth: 0\n },\n // Motion\n [`${itemCls}-title, ${itemCls}-subtitle, ${itemCls}-content, ${itemCls}-rail`]: {\n transition: `all ${token.motionDurationSlow}`\n },\n // ========================== Ellipsis ==========================\n [`&${componentCls}-ellipsis`]: {\n [`${itemCls}-title, ${itemCls}-subtitle, ${itemCls}-content`]: textEllipsis\n },\n // ========================= Clickable ==========================\n [`${itemCls}[role='button']:not(${itemCls}-active):hover`]: {\n cursor: 'pointer'\n }\n }\n };\n};\n// ============================== Export ==============================\nexport const prepareComponentToken = token => ({\n titleLineHeight: token.controlHeight,\n customIconSize: token.controlHeight,\n customIconTop: 0,\n customIconFontSize: token.controlHeightSM,\n iconSize: token.controlHeight,\n iconTop: -0.5,\n // magic for ui experience\n iconFontSize: token.fontSize,\n iconSizeSM: token.fontSizeHeading3,\n dotSize: token.controlHeight / 4,\n dotCurrentSize: token.controlHeightLG / 4,\n navArrowColor: token.colorTextDisabled,\n navContentMaxWidth: 'unset',\n descriptionMaxWidth: undefined,\n // should be `undefined` to create css var\n waitIconColor: token.wireframe ? token.colorTextDisabled : token.colorTextLabel,\n waitIconBgColor: token.wireframe ? token.colorBgContainer : token.colorFillContent,\n waitIconBorderColor: token.wireframe ? token.colorTextDisabled : 'transparent',\n finishIconBgColor: token.wireframe ? token.colorBgContainer : token.controlItemBgActive,\n finishIconBorderColor: token.wireframe ? token.colorPrimary : token.controlItemBgActive\n});\nexport default genStyleHooks('Steps', token => {\n const stepsToken = mergeToken(token, {\n inlineDotSize: 6\n });\n return [genBasicStyle(stepsToken), genIconStyle(stepsToken), genVerticalStyle(stepsToken), genHorizontalStyle(stepsToken), genLabelPlacementStyle(stepsToken), genSmallStyle(stepsToken), genDotStyle(stepsToken), genStatusStyle(stepsToken), genLegacyNavStyle(stepsToken), genPanelStyle(stepsToken), genInlineStyle(stepsToken), genStepsProgressStyle(stepsToken), genRTLStyle(stepsToken)];\n}, prepareComponentToken);"],"names":["genBasicStyle","token","componentCls","antCls","itemCls","varName","varRef","genCssVar","resetComponent","textEllipsis","prepareComponentToken","useStyle","genStyleHooks","stepsToken","mergeToken","genIconStyle","genVerticalStyle","genHorizontalStyle","genLabelPlacementStyle","genSmallStyle","genDotStyle","genStatusStyle","genLegacyNavStyle","genPanelStyle","genInlineStyle","genStepsProgressStyle","genRTLStyle"],"mappings":";;;;;;;;;;;;;;;AAeA,MAAMA,IAAgB,CAAAC,MAAS;AAC7B,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMF,GACEG,IAAU,GAAGF,CAAY,SACzB,CAACG,GAASC,CAAM,IAAIC,EAAUJ,GAAQ,WAAW;AACvD,SAAO;AAAA,IACL,CAACD,CAAY,GAAG;AAAA,MACd,CAACG,EAAQ,iBAAiB,CAAC,GAAGJ,EAAM;AAAA,MACpC,CAACI,EAAQ,mBAAmB,CAAC,GAAGJ,EAAM;AAAA,MACtC,CAACI,EAAQ,oBAAoB,CAAC,GAAGJ,EAAM;AAAA,MACvC,CAACI,EAAQ,sBAAsB,CAAC,GAAGJ,EAAM;AAAA,MACzC,CAACI,EAAQ,0BAA0B,CAAC,GAAG;AAAA,MACvC,CAACA,EAAQ,WAAW,CAAC,GAAGJ,EAAM;AAAA,MAC9B,CAACI,EAAQ,iBAAiB,CAAC,GAAGJ,EAAM;AAAA,MACpC,GAAGO,EAAeP,CAAK;AAAA,MACvB,SAAS;AAAA,MACT,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,CAACG,CAAO,GAAG;AAAA,QACT,MAAM;AAAA,QACN,UAAU;AAAA,MAClB;AAAA,MACM,CAAC,GAAGA,CAAO,UAAU,GAAG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AChB;AAAA,IACA;AAAA,EACA;AACA,GAEaM,IAAwB,CAAAT,OAAU;AAAA,EAC7C,iBAAiBA,EAAM;AAAA,EACvB,gBAAgBA,EAAM;AAAA,EACtB,eAAe;AAAA,EACf,oBAAoBA,EAAM;AAAA,EAC1B,UAAUA,EAAM;AAAA,EAChB,SAAS;AAAA;AAAA,EAET,cAAcA,EAAM;AAAA,EACpB,YAAYA,EAAM;AAAA,EAClB,SAASA,EAAM,gBAAgB;AAAA,EAC/B,gBAAgBA,EAAM,kBAAkB;AAAA,EACxC,eAAeA,EAAM;AAAA,EACrB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA;AAAA,EAErB,eAAeA,EAAM,YAAYA,EAAM,oBAAoBA,EAAM;AAAA,EACjE,iBAAiBA,EAAM,YAAYA,EAAM,mBAAmBA,EAAM;AAAA,EAClE,qBAAqBA,EAAM,YAAYA,EAAM,oBAAoB;AAAA,EACjE,mBAAmBA,EAAM,YAAYA,EAAM,mBAAmBA,EAAM;AAAA,EACpE,uBAAuBA,EAAM,YAAYA,EAAM,eAAeA,EAAM;AACtE,IACAU,IAAeC,EAAc,SAAS,CAAAX,MAAS;AAC7C,QAAMY,IAAaC,EAAWb,GAAO;AAAA,IACnC,eAAe;AAAA,EACnB,CAAG;AACD,SAAO,CAACD,EAAca,CAAU,GAAGE,EAAaF,CAAU,GAAGG,EAAiBH,CAAU,GAAGI,EAAmBJ,CAAU,GAAGK,EAAuBL,CAAU,GAAGM,EAAcN,CAAU,GAAGO,EAAYP,CAAU,GAAGQ,EAAeR,CAAU,GAAGS,EAAkBT,CAAU,GAAGU,EAAcV,CAAU,GAAGW,EAAeX,CAAU,GAAGY,EAAsBZ,CAAU,GAAGa,EAAYb,CAAU,CAAC;AACjY,GAAGH,CAAqB;","x_google_ignoreList":[0]}
@@ -1,34 +1,39 @@
1
- const l = (i) => {
1
+ import { genCssVar as p } from "../../theme/util/genStyleUtils.js";
2
+ const f = (i) => {
2
3
  const {
3
- componentCls: e,
4
- inlineDotSize: t
5
- } = i, n = i.calc(i.paddingXS).add(i.lineWidth).equal(), s = `${e}-item`;
4
+ componentCls: t,
5
+ inlineDotSize: n,
6
+ paddingXS: o,
7
+ lineWidth: r,
8
+ antCls: a,
9
+ calc: s
10
+ } = i, c = s(o).add(r).equal(), l = `${t}-item`, [e, d] = p(a, "cmp-steps");
6
11
  return {
7
- [`${e}-inline`]: {
8
- "--steps-items-offset": "0",
9
- "--steps-item-wrapper-padding-top": n,
12
+ [`${t}-inline`]: {
13
+ [e("items-offset")]: "0",
14
+ [e("item-wrapper-padding-top")]: c,
10
15
  display: "inline-flex",
11
16
  "&:before": {
12
17
  content: '""',
13
- flex: "var(--steps-items-offset)"
18
+ flex: d("items-offset")
14
19
  },
15
- [s]: {
20
+ [l]: {
16
21
  // ========================= Variable =========================
17
22
  // Item
18
- "--steps-title-vertical-row-gap": i.paddingXS,
23
+ [e("title-vertical-row-gap")]: o,
19
24
  // Icon
20
- "--steps-icon-size": t,
21
- "--steps-icon-size-active": t,
25
+ [e("icon-size")]: n,
26
+ [e("icon-size-active")]: n,
22
27
  // Title
23
- "--steps-title-font-size": i.fontSizeSM,
24
- "--steps-title-line-height": i.lineHeightSM,
25
- "--steps-item-title-color": i.colorTextSecondary,
26
- "--steps-subtitle-font-size": i.fontSizeSM,
27
- "--steps-subtitle-line-height": i.lineHeightSM,
28
- "--steps-item-subtitle-color": i.colorTextQuaternary,
28
+ [e("title-font-size")]: i.fontSizeSM,
29
+ [e("title-line-height")]: i.lineHeightSM,
30
+ [e("item-title-color")]: i.colorTextSecondary,
31
+ [e("subtitle-font-size")]: i.fontSizeSM,
32
+ [e("subtitle-line-height")]: i.lineHeightSM,
33
+ [e("item-subtitle-color")]: i.colorTextQuaternary,
29
34
  // Rail
30
- "--steps-rail-size": i.lineWidth,
31
- "--steps-title-horizontal-rail-gap": "0px",
35
+ [e("rail-size")]: i.lineWidth,
36
+ [e("title-horizontal-rail-gap")]: "0px",
32
37
  // ========================== Styles ==========================
33
38
  flex: 1,
34
39
  "&-wrapper": {
@@ -36,14 +41,14 @@ const l = (i) => {
36
41
  marginInline: i.calc(i.marginXXS).div(2).equal(),
37
42
  borderRadius: i.borderRadiusSM,
38
43
  cursor: "pointer",
39
- transition: `background ${i.motionDurationMid}`,
44
+ transition: `background-color ${i.motionDurationMid}`,
40
45
  "&:hover": {
41
46
  background: i.controlItemBgHover
42
47
  }
43
48
  },
44
49
  // Icon
45
50
  "&-icon": {
46
- [`${s}-icon-dot`]: {
51
+ [`${l}-icon-dot`]: {
47
52
  "&:after": {
48
53
  display: "none"
49
54
  }
@@ -62,6 +67,6 @@ const l = (i) => {
62
67
  };
63
68
  };
64
69
  export {
65
- l as default
70
+ f as default
66
71
  };
67
72
  //# sourceMappingURL=inline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"inline.js","sources":["../../../../../../node_modules/antd/es/steps/style/inline.js"],"sourcesContent":["const genInlineStyle = token => {\n const {\n componentCls,\n inlineDotSize\n } = token;\n const containerPaddingTop = token.calc(token.paddingXS).add(token.lineWidth).equal();\n const itemCls = `${componentCls}-item`;\n return {\n [`${componentCls}-inline`]: {\n '--steps-items-offset': '0',\n '--steps-item-wrapper-padding-top': containerPaddingTop,\n display: 'inline-flex',\n '&:before': {\n content: '\"\"',\n flex: 'var(--steps-items-offset)'\n },\n [itemCls]: {\n // ========================= Variable =========================\n // Item\n '--steps-title-vertical-row-gap': token.paddingXS,\n // Icon\n '--steps-icon-size': inlineDotSize,\n '--steps-icon-size-active': inlineDotSize,\n // Title\n '--steps-title-font-size': token.fontSizeSM,\n '--steps-title-line-height': token.lineHeightSM,\n '--steps-item-title-color': token.colorTextSecondary,\n '--steps-subtitle-font-size': token.fontSizeSM,\n '--steps-subtitle-line-height': token.lineHeightSM,\n '--steps-item-subtitle-color': token.colorTextQuaternary,\n // Rail\n '--steps-rail-size': token.lineWidth,\n '--steps-title-horizontal-rail-gap': '0px',\n // ========================== Styles ==========================\n flex: 1,\n '&-wrapper': {\n paddingInline: token.paddingXXS,\n marginInline: token.calc(token.marginXXS).div(2).equal(),\n borderRadius: token.borderRadiusSM,\n cursor: 'pointer',\n transition: `background ${token.motionDurationMid}`,\n '&:hover': {\n background: token.controlItemBgHover\n }\n },\n // Icon\n '&-icon': {\n [`${itemCls}-icon-dot`]: {\n '&:after': {\n display: 'none'\n }\n }\n },\n // Header\n '&-title': {\n fontWeight: 'normal',\n whiteSpace: 'nowrap'\n },\n '&-content': {\n display: 'none'\n }\n }\n }\n };\n};\nexport default genInlineStyle;"],"names":["genInlineStyle","token","componentCls","inlineDotSize","containerPaddingTop","itemCls"],"mappings":"AAAK,MAACA,IAAiB,CAAAC,MAAS;AAC9B,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,eAAAC;AAAA,EACJ,IAAMF,GACEG,IAAsBH,EAAM,KAAKA,EAAM,SAAS,EAAE,IAAIA,EAAM,SAAS,EAAE,MAAK,GAC5EI,IAAU,GAAGH,CAAY;AAC/B,SAAO;AAAA,IACL,CAAC,GAAGA,CAAY,SAAS,GAAG;AAAA,MAC1B,wBAAwB;AAAA,MACxB,oCAAoCE;AAAA,MACpC,SAAS;AAAA,MACT,YAAY;AAAA,QACV,SAAS;AAAA,QACT,MAAM;AAAA,MACd;AAAA,MACM,CAACC,CAAO,GAAG;AAAA;AAAA;AAAA,QAGT,kCAAkCJ,EAAM;AAAA;AAAA,QAExC,qBAAqBE;AAAA,QACrB,4BAA4BA;AAAA;AAAA,QAE5B,2BAA2BF,EAAM;AAAA,QACjC,6BAA6BA,EAAM;AAAA,QACnC,4BAA4BA,EAAM;AAAA,QAClC,8BAA8BA,EAAM;AAAA,QACpC,gCAAgCA,EAAM;AAAA,QACtC,+BAA+BA,EAAM;AAAA;AAAA,QAErC,qBAAqBA,EAAM;AAAA,QAC3B,qCAAqC;AAAA;AAAA,QAErC,MAAM;AAAA,QACN,aAAa;AAAA,UACX,eAAeA,EAAM;AAAA,UACrB,cAAcA,EAAM,KAAKA,EAAM,SAAS,EAAE,IAAI,CAAC,EAAE,MAAK;AAAA,UACtD,cAAcA,EAAM;AAAA,UACpB,QAAQ;AAAA,UACR,YAAY,cAAcA,EAAM,iBAAiB;AAAA,UACjD,WAAW;AAAA,YACT,YAAYA,EAAM;AAAA,UAC9B;AAAA,QACA;AAAA;AAAA,QAEQ,UAAU;AAAA,UACR,CAAC,GAAGI,CAAO,WAAW,GAAG;AAAA,YACvB,WAAW;AAAA,cACT,SAAS;AAAA,YACvB;AAAA,UACA;AAAA,QACA;AAAA;AAAA,QAEQ,WAAW;AAAA,UACT,YAAY;AAAA,UACZ,YAAY;AAAA,QACtB;AAAA,QACQ,aAAa;AAAA,UACX,SAAS;AAAA,QACnB;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"inline.js","sources":["../../../../../../node_modules/antd/es/steps/style/inline.js"],"sourcesContent":["import { genCssVar } from '../../theme/util/genStyleUtils';\nconst genInlineStyle = token => {\n const {\n componentCls,\n inlineDotSize,\n paddingXS,\n lineWidth,\n antCls,\n calc\n } = token;\n const containerPaddingTop = calc(paddingXS).add(lineWidth).equal();\n const itemCls = `${componentCls}-item`;\n const [varName, varRef] = genCssVar(antCls, 'cmp-steps');\n return {\n [`${componentCls}-inline`]: {\n [varName('items-offset')]: '0',\n [varName('item-wrapper-padding-top')]: containerPaddingTop,\n display: 'inline-flex',\n '&:before': {\n content: '\"\"',\n flex: varRef('items-offset')\n },\n [itemCls]: {\n // ========================= Variable =========================\n // Item\n [varName('title-vertical-row-gap')]: paddingXS,\n // Icon\n [varName('icon-size')]: inlineDotSize,\n [varName('icon-size-active')]: inlineDotSize,\n // Title\n [varName('title-font-size')]: token.fontSizeSM,\n [varName('title-line-height')]: token.lineHeightSM,\n [varName('item-title-color')]: token.colorTextSecondary,\n [varName('subtitle-font-size')]: token.fontSizeSM,\n [varName('subtitle-line-height')]: token.lineHeightSM,\n [varName('item-subtitle-color')]: token.colorTextQuaternary,\n // Rail\n [varName('rail-size')]: token.lineWidth,\n [varName('title-horizontal-rail-gap')]: '0px',\n // ========================== Styles ==========================\n flex: 1,\n '&-wrapper': {\n paddingInline: token.paddingXXS,\n marginInline: token.calc(token.marginXXS).div(2).equal(),\n borderRadius: token.borderRadiusSM,\n cursor: 'pointer',\n transition: `background-color ${token.motionDurationMid}`,\n '&:hover': {\n background: token.controlItemBgHover\n }\n },\n // Icon\n '&-icon': {\n [`${itemCls}-icon-dot`]: {\n '&:after': {\n display: 'none'\n }\n }\n },\n // Header\n '&-title': {\n fontWeight: 'normal',\n whiteSpace: 'nowrap'\n },\n '&-content': {\n display: 'none'\n }\n }\n }\n };\n};\nexport default genInlineStyle;"],"names":["genInlineStyle","token","componentCls","inlineDotSize","paddingXS","lineWidth","antCls","calc","containerPaddingTop","itemCls","varName","varRef","genCssVar"],"mappings":";AACK,MAACA,IAAiB,CAAAC,MAAS;AAC9B,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,eAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAAC;AAAA,EACJ,IAAMN,GACEO,IAAsBD,EAAKH,CAAS,EAAE,IAAIC,CAAS,EAAE,MAAK,GAC1DI,IAAU,GAAGP,CAAY,SACzB,CAACQ,GAASC,CAAM,IAAIC,EAAUN,GAAQ,WAAW;AACvD,SAAO;AAAA,IACL,CAAC,GAAGJ,CAAY,SAAS,GAAG;AAAA,MAC1B,CAACQ,EAAQ,cAAc,CAAC,GAAG;AAAA,MAC3B,CAACA,EAAQ,0BAA0B,CAAC,GAAGF;AAAA,MACvC,SAAS;AAAA,MACT,YAAY;AAAA,QACV,SAAS;AAAA,QACT,MAAMG,EAAO,cAAc;AAAA,MACnC;AAAA,MACM,CAACF,CAAO,GAAG;AAAA;AAAA;AAAA,QAGT,CAACC,EAAQ,wBAAwB,CAAC,GAAGN;AAAA;AAAA,QAErC,CAACM,EAAQ,WAAW,CAAC,GAAGP;AAAA,QAC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